bok-reader 0.3.5 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/bok.es.js CHANGED
@@ -1,10 +1,10 @@
1
- import { jsxs as _t, jsx as rt, Fragment as Kt } from "react/jsx-runtime";
2
- import Vt, { forwardRef as $t, createElement as Wt, useState as bt, useRef as At, useCallback as re, useEffect as gt, useImperativeHandle as ne } from "react";
3
- import './main.css';var Ft = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
4
- function ie($) {
1
+ import { jsxs as _t, jsx as rt, Fragment as Gt } from "react/jsx-runtime";
2
+ import Qt, { forwardRef as Yt, createElement as $t, useState as vt, useRef as Ct, useCallback as se, useEffect as gt, useImperativeHandle as ae } from "react";
3
+ import './main.css';var Lt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
4
+ function oe($) {
5
5
  return $ && $.__esModule && Object.prototype.hasOwnProperty.call($, "default") ? $.default : $;
6
6
  }
7
- var Mt = { exports: {} }, Ut = {};
7
+ var Ht = { exports: {} }, Mt = {};
8
8
  /**
9
9
  * @license React
10
10
  * react-compiler-runtime.production.js
@@ -14,16 +14,16 @@ var Mt = { exports: {} }, Ut = {};
14
14
  * This source code is licensed under the MIT license found in the
15
15
  * LICENSE file in the root directory of this source tree.
16
16
  */
17
- var Ht;
18
- function se() {
19
- if (Ht) return Ut;
20
- Ht = 1;
21
- var $ = Vt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
22
- return Ut.c = function(t) {
17
+ var Kt;
18
+ function le() {
19
+ if (Kt) return Mt;
20
+ Kt = 1;
21
+ var $ = Qt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
22
+ return Mt.c = function(t) {
23
23
  return $.H.useMemoCache(t);
24
- }, Ut;
24
+ }, Mt;
25
25
  }
26
- var jt = {};
26
+ var Zt = {};
27
27
  /**
28
28
  * @license React
29
29
  * react-compiler-runtime.development.js
@@ -33,11 +33,11 @@ var jt = {};
33
33
  * This source code is licensed under the MIT license found in the
34
34
  * LICENSE file in the root directory of this source tree.
35
35
  */
36
- var qt;
37
- function ae() {
38
- return qt || (qt = 1, process.env.NODE_ENV !== "production" && function() {
39
- var $ = Vt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
40
- jt.c = function(t) {
36
+ var Vt;
37
+ function ce() {
38
+ return Vt || (Vt = 1, process.env.NODE_ENV !== "production" && function() {
39
+ var $ = Qt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
40
+ Zt.c = function(t) {
41
41
  var n = $.H;
42
42
  return n === null && console.error(
43
43
  `Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
@@ -47,23 +47,23 @@ function ae() {
47
47
  See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`
48
48
  ), n.useMemoCache(t);
49
49
  };
50
- }()), jt;
50
+ }()), Zt;
51
51
  }
52
- process.env.NODE_ENV === "production" ? Mt.exports = se() : Mt.exports = ae();
53
- var It = Mt.exports;
52
+ process.env.NODE_ENV === "production" ? Ht.exports = le() : Ht.exports = ce();
53
+ var zt = Ht.exports;
54
54
  /**
55
55
  * @license lucide-react v0.555.0 - ISC
56
56
  *
57
57
  * This source code is licensed under the ISC license.
58
58
  * See the LICENSE file in the root directory of this source tree.
59
59
  */
60
- const oe = ($) => $.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), le = ($) => $.replace(
60
+ const ue = ($) => $.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), fe = ($) => $.replace(
61
61
  /^([A-Z])|[\s-_]+(\w)/g,
62
62
  (t, n, I) => I ? I.toUpperCase() : n.toLowerCase()
63
- ), Gt = ($) => {
64
- const t = le($);
63
+ ), Xt = ($) => {
64
+ const t = fe($);
65
65
  return t.charAt(0).toUpperCase() + t.slice(1);
66
- }, Xt = (...$) => $.filter((t, n, I) => !!t && t.trim() !== "" && I.indexOf(t) === n).join(" ").trim(), ce = ($) => {
66
+ }, te = (...$) => $.filter((t, n, I) => !!t && t.trim() !== "" && I.indexOf(t) === n).join(" ").trim(), he = ($) => {
67
67
  for (const t in $)
68
68
  if (t.startsWith("aria-") || t === "role" || t === "title")
69
69
  return !0;
@@ -74,7 +74,7 @@ const oe = ($) => $.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), le = (
74
74
  * This source code is licensed under the ISC license.
75
75
  * See the LICENSE file in the root directory of this source tree.
76
76
  */
77
- var ue = {
77
+ var de = {
78
78
  xmlns: "http://www.w3.org/2000/svg",
79
79
  width: 24,
80
80
  height: 24,
@@ -91,7 +91,7 @@ var ue = {
91
91
  * This source code is licensed under the ISC license.
92
92
  * See the LICENSE file in the root directory of this source tree.
93
93
  */
94
- const fe = $t(
94
+ const pe = Yt(
95
95
  ({
96
96
  color: $ = "currentColor",
97
97
  size: t = 24,
@@ -101,21 +101,21 @@ const fe = $t(
101
101
  children: l,
102
102
  iconNode: f,
103
103
  ...s
104
- }, c) => Wt(
104
+ }, c) => $t(
105
105
  "svg",
106
106
  {
107
107
  ref: c,
108
- ...ue,
108
+ ...de,
109
109
  width: t,
110
110
  height: t,
111
111
  stroke: $,
112
112
  strokeWidth: I ? Number(n) * 24 / Number(t) : n,
113
- className: Xt("lucide", h),
114
- ...!l && !ce(s) && { "aria-hidden": "true" },
113
+ className: te("lucide", h),
114
+ ...!l && !he(s) && { "aria-hidden": "true" },
115
115
  ...s
116
116
  },
117
117
  [
118
- ...f.map(([y, v]) => Wt(y, v)),
118
+ ...f.map(([y, b]) => $t(y, b)),
119
119
  ...Array.isArray(l) ? l : [l]
120
120
  ]
121
121
  )
@@ -126,20 +126,20 @@ const fe = $t(
126
126
  * This source code is licensed under the ISC license.
127
127
  * See the LICENSE file in the root directory of this source tree.
128
128
  */
129
- const Jt = ($, t) => {
130
- const n = $t(
131
- ({ className: I, ...h }, l) => Wt(fe, {
129
+ const ee = ($, t) => {
130
+ const n = Yt(
131
+ ({ className: I, ...h }, l) => $t(pe, {
132
132
  ref: l,
133
133
  iconNode: t,
134
- className: Xt(
135
- `lucide-${oe(Gt($))}`,
134
+ className: te(
135
+ `lucide-${ue(Xt($))}`,
136
136
  `lucide-${$}`,
137
137
  I
138
138
  ),
139
139
  ...h
140
140
  })
141
141
  );
142
- return n.displayName = Gt($), n;
142
+ return n.displayName = Xt($), n;
143
143
  };
144
144
  /**
145
145
  * @license lucide-react v0.555.0 - ISC
@@ -147,18 +147,18 @@ const Jt = ($, t) => {
147
147
  * This source code is licensed under the ISC license.
148
148
  * See the LICENSE file in the root directory of this source tree.
149
149
  */
150
- const he = [
150
+ const me = [
151
151
  ["path", { d: "M4 5h16", key: "1tepv9" }],
152
152
  ["path", { d: "M4 12h16", key: "1lakjw" }],
153
153
  ["path", { d: "M4 19h16", key: "1djgab" }]
154
- ], de = Jt("menu", he);
154
+ ], _e = ee("menu", me);
155
155
  /**
156
156
  * @license lucide-react v0.555.0 - ISC
157
157
  *
158
158
  * This source code is licensed under the ISC license.
159
159
  * See the LICENSE file in the root directory of this source tree.
160
160
  */
161
- const pe = [
161
+ const ge = [
162
162
  [
163
163
  "path",
164
164
  {
@@ -167,11 +167,11 @@ const pe = [
167
167
  }
168
168
  ],
169
169
  ["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
170
- ], Qt = Jt("settings", pe);
171
- function Dt($) {
170
+ ], re = ee("settings", ge);
171
+ function Ut($) {
172
172
  throw new Error('Could not dynamically require "' + $ + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
173
173
  }
174
- var te = { exports: {} };
174
+ var ne = { exports: {} };
175
175
  /*!
176
176
 
177
177
  JSZip v3.10.1 - A JavaScript class for generating and reading zip files
@@ -188,14 +188,14 @@ https://github.com/nodeca/pako/blob/main/LICENSE
188
188
  $.exports = n();
189
189
  })(function() {
190
190
  return function n(I, h, l) {
191
- function f(y, v) {
191
+ function f(y, b) {
192
192
  if (!h[y]) {
193
193
  if (!I[y]) {
194
- var w = typeof Dt == "function" && Dt;
195
- if (!v && w) return w(y, !0);
194
+ var w = typeof Ut == "function" && Ut;
195
+ if (!b && w) return w(y, !0);
196
196
  if (s) return s(y, !0);
197
- var b = new Error("Cannot find module '" + y + "'");
198
- throw b.code = "MODULE_NOT_FOUND", b;
197
+ var v = new Error("Cannot find module '" + y + "'");
198
+ throw v.code = "MODULE_NOT_FOUND", v;
199
199
  }
200
200
  var o = h[y] = { exports: {} };
201
201
  I[y][0].call(o.exports, function(p) {
@@ -205,35 +205,35 @@ https://github.com/nodeca/pako/blob/main/LICENSE
205
205
  }
206
206
  return h[y].exports;
207
207
  }
208
- for (var s = typeof Dt == "function" && Dt, c = 0; c < l.length; c++) f(l[c]);
208
+ for (var s = typeof Ut == "function" && Ut, c = 0; c < l.length; c++) f(l[c]);
209
209
  return f;
210
210
  }({ 1: [function(n, I, h) {
211
211
  var l = n("./utils"), f = n("./support"), s = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
212
212
  h.encode = function(c) {
213
- for (var y, v, w, b, o, p, i, d = [], a = 0, m = c.length, k = m, E = l.getTypeOf(c) !== "string"; a < c.length; ) k = m - a, w = E ? (y = c[a++], v = a < m ? c[a++] : 0, a < m ? c[a++] : 0) : (y = c.charCodeAt(a++), v = a < m ? c.charCodeAt(a++) : 0, a < m ? c.charCodeAt(a++) : 0), b = y >> 2, o = (3 & y) << 4 | v >> 4, p = 1 < k ? (15 & v) << 2 | w >> 6 : 64, i = 2 < k ? 63 & w : 64, d.push(s.charAt(b) + s.charAt(o) + s.charAt(p) + s.charAt(i));
213
+ for (var y, b, w, v, o, p, i, d = [], a = 0, m = c.length, k = m, E = l.getTypeOf(c) !== "string"; a < c.length; ) k = m - a, w = E ? (y = c[a++], b = a < m ? c[a++] : 0, a < m ? c[a++] : 0) : (y = c.charCodeAt(a++), b = a < m ? c.charCodeAt(a++) : 0, a < m ? c.charCodeAt(a++) : 0), v = y >> 2, o = (3 & y) << 4 | b >> 4, p = 1 < k ? (15 & b) << 2 | w >> 6 : 64, i = 2 < k ? 63 & w : 64, d.push(s.charAt(v) + s.charAt(o) + s.charAt(p) + s.charAt(i));
214
214
  return d.join("");
215
215
  }, h.decode = function(c) {
216
- var y, v, w, b, o, p, i = 0, d = 0, a = "data:";
216
+ var y, b, w, v, o, p, i = 0, d = 0, a = "data:";
217
217
  if (c.substr(0, a.length) === a) throw new Error("Invalid base64 input, it looks like a data url.");
218
218
  var m, k = 3 * (c = c.replace(/[^A-Za-z0-9+/=]/g, "")).length / 4;
219
219
  if (c.charAt(c.length - 1) === s.charAt(64) && k--, c.charAt(c.length - 2) === s.charAt(64) && k--, k % 1 != 0) throw new Error("Invalid base64 input, bad content length.");
220
- for (m = f.uint8array ? new Uint8Array(0 | k) : new Array(0 | k); i < c.length; ) y = s.indexOf(c.charAt(i++)) << 2 | (b = s.indexOf(c.charAt(i++))) >> 4, v = (15 & b) << 4 | (o = s.indexOf(c.charAt(i++))) >> 2, w = (3 & o) << 6 | (p = s.indexOf(c.charAt(i++))), m[d++] = y, o !== 64 && (m[d++] = v), p !== 64 && (m[d++] = w);
220
+ for (m = f.uint8array ? new Uint8Array(0 | k) : new Array(0 | k); i < c.length; ) y = s.indexOf(c.charAt(i++)) << 2 | (v = s.indexOf(c.charAt(i++))) >> 4, b = (15 & v) << 4 | (o = s.indexOf(c.charAt(i++))) >> 2, w = (3 & o) << 6 | (p = s.indexOf(c.charAt(i++))), m[d++] = y, o !== 64 && (m[d++] = b), p !== 64 && (m[d++] = w);
221
221
  return m;
222
222
  };
223
223
  }, { "./support": 30, "./utils": 32 }], 2: [function(n, I, h) {
224
224
  var l = n("./external"), f = n("./stream/DataWorker"), s = n("./stream/Crc32Probe"), c = n("./stream/DataLengthProbe");
225
- function y(v, w, b, o, p) {
226
- this.compressedSize = v, this.uncompressedSize = w, this.crc32 = b, this.compression = o, this.compressedContent = p;
225
+ function y(b, w, v, o, p) {
226
+ this.compressedSize = b, this.uncompressedSize = w, this.crc32 = v, this.compression = o, this.compressedContent = p;
227
227
  }
228
228
  y.prototype = { getContentWorker: function() {
229
- var v = new f(l.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new c("data_length")), w = this;
230
- return v.on("end", function() {
229
+ var b = new f(l.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new c("data_length")), w = this;
230
+ return b.on("end", function() {
231
231
  if (this.streamInfo.data_length !== w.uncompressedSize) throw new Error("Bug : uncompressed data size mismatch");
232
- }), v;
232
+ }), b;
233
233
  }, getCompressedWorker: function() {
234
234
  return new f(l.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize", this.compressedSize).withStreamInfo("uncompressedSize", this.uncompressedSize).withStreamInfo("crc32", this.crc32).withStreamInfo("compression", this.compression);
235
- } }, y.createWorkerFrom = function(v, w, b) {
236
- return v.pipe(new s()).pipe(new c("uncompressedSize")).pipe(w.compressWorker(b)).pipe(new c("compressedSize")).withStreamInfo("compression", w);
235
+ } }, y.createWorkerFrom = function(b, w, v) {
236
+ return b.pipe(new s()).pipe(new c("uncompressedSize")).pipe(w.compressWorker(v)).pipe(new c("compressedSize")).withStreamInfo("compression", w);
237
237
  }, I.exports = y;
238
238
  }, { "./external": 6, "./stream/Crc32Probe": 25, "./stream/DataLengthProbe": 26, "./stream/DataWorker": 27 }], 3: [function(n, I, h) {
239
239
  var l = n("./stream/GenericWorker");
@@ -246,21 +246,21 @@ https://github.com/nodeca/pako/blob/main/LICENSE
246
246
  var l = n("./utils"), f = function() {
247
247
  for (var s, c = [], y = 0; y < 256; y++) {
248
248
  s = y;
249
- for (var v = 0; v < 8; v++) s = 1 & s ? 3988292384 ^ s >>> 1 : s >>> 1;
249
+ for (var b = 0; b < 8; b++) s = 1 & s ? 3988292384 ^ s >>> 1 : s >>> 1;
250
250
  c[y] = s;
251
251
  }
252
252
  return c;
253
253
  }();
254
254
  I.exports = function(s, c) {
255
- return s !== void 0 && s.length ? l.getTypeOf(s) !== "string" ? function(y, v, w, b) {
256
- var o = f, p = b + w;
255
+ return s !== void 0 && s.length ? l.getTypeOf(s) !== "string" ? function(y, b, w, v) {
256
+ var o = f, p = v + w;
257
257
  y ^= -1;
258
- for (var i = b; i < p; i++) y = y >>> 8 ^ o[255 & (y ^ v[i])];
258
+ for (var i = v; i < p; i++) y = y >>> 8 ^ o[255 & (y ^ b[i])];
259
259
  return -1 ^ y;
260
- }(0 | c, s, s.length, 0) : function(y, v, w, b) {
261
- var o = f, p = b + w;
260
+ }(0 | c, s, s.length, 0) : function(y, b, w, v) {
261
+ var o = f, p = v + w;
262
262
  y ^= -1;
263
- for (var i = b; i < p; i++) y = y >>> 8 ^ o[255 & (y ^ v.charCodeAt(i))];
263
+ for (var i = v; i < p; i++) y = y >>> 8 ^ o[255 & (y ^ b.charCodeAt(i))];
264
264
  return -1 ^ y;
265
265
  }(0 | c, s, s.length, 0) : 0;
266
266
  };
@@ -271,25 +271,25 @@ https://github.com/nodeca/pako/blob/main/LICENSE
271
271
  l = typeof Promise < "u" ? Promise : n("lie"), I.exports = { Promise: l };
272
272
  }, { lie: 37 }], 7: [function(n, I, h) {
273
273
  var l = typeof Uint8Array < "u" && typeof Uint16Array < "u" && typeof Uint32Array < "u", f = n("pako"), s = n("./utils"), c = n("./stream/GenericWorker"), y = l ? "uint8array" : "array";
274
- function v(w, b) {
275
- c.call(this, "FlateWorker/" + w), this._pako = null, this._pakoAction = w, this._pakoOptions = b, this.meta = {};
274
+ function b(w, v) {
275
+ c.call(this, "FlateWorker/" + w), this._pako = null, this._pakoAction = w, this._pakoOptions = v, this.meta = {};
276
276
  }
277
- h.magic = "\b\0", s.inherits(v, c), v.prototype.processChunk = function(w) {
277
+ h.magic = "\b\0", s.inherits(b, c), b.prototype.processChunk = function(w) {
278
278
  this.meta = w.meta, this._pako === null && this._createPako(), this._pako.push(s.transformTo(y, w.data), !1);
279
- }, v.prototype.flush = function() {
279
+ }, b.prototype.flush = function() {
280
280
  c.prototype.flush.call(this), this._pako === null && this._createPako(), this._pako.push([], !0);
281
- }, v.prototype.cleanUp = function() {
281
+ }, b.prototype.cleanUp = function() {
282
282
  c.prototype.cleanUp.call(this), this._pako = null;
283
- }, v.prototype._createPako = function() {
283
+ }, b.prototype._createPako = function() {
284
284
  this._pako = new f[this._pakoAction]({ raw: !0, level: this._pakoOptions.level || -1 });
285
285
  var w = this;
286
- this._pako.onData = function(b) {
287
- w.push({ data: b, meta: w.meta });
286
+ this._pako.onData = function(v) {
287
+ w.push({ data: v, meta: w.meta });
288
288
  };
289
289
  }, h.compressWorker = function(w) {
290
- return new v("Deflate", w);
290
+ return new b("Deflate", w);
291
291
  }, h.uncompressWorker = function() {
292
- return new v("Inflate", {});
292
+ return new b("Inflate", {});
293
293
  };
294
294
  }, { "./stream/GenericWorker": 28, "./utils": 32, pako: 38 }], 8: [function(n, I, h) {
295
295
  function l(o, p) {
@@ -298,36 +298,36 @@ https://github.com/nodeca/pako/blob/main/LICENSE
298
298
  return d;
299
299
  }
300
300
  function f(o, p, i, d, a, m) {
301
- var k, E, C = o.file, B = o.compression, P = m !== y.utf8encode, j = s.transformTo("string", m(C.name)), T = s.transformTo("string", y.utf8encode(C.name)), H = C.comment, Q = s.transformTo("string", m(H)), _ = s.transformTo("string", y.utf8encode(H)), x = T.length !== C.name.length, r = _.length !== H.length, R = "", V = "", F = "", Y = C.dir, D = C.date, J = { crc32: 0, compressedSize: 0, uncompressedSize: 0 };
302
- p && !i || (J.crc32 = o.crc32, J.compressedSize = o.compressedSize, J.uncompressedSize = o.uncompressedSize);
301
+ var k, E, C = o.file, B = o.compression, P = m !== y.utf8encode, j = s.transformTo("string", m(C.name)), N = s.transformTo("string", y.utf8encode(C.name)), H = C.comment, Q = s.transformTo("string", m(H)), _ = s.transformTo("string", y.utf8encode(H)), x = N.length !== C.name.length, r = _.length !== H.length, R = "", K = "", F = "", Y = C.dir, D = C.date, X = { crc32: 0, compressedSize: 0, uncompressedSize: 0 };
302
+ p && !i || (X.crc32 = o.crc32, X.compressedSize = o.compressedSize, X.uncompressedSize = o.uncompressedSize);
303
303
  var O = 0;
304
304
  p && (O |= 8), P || !x && !r || (O |= 2048);
305
- var A = 0, X = 0;
306
- Y && (A |= 16), a === "UNIX" ? (X = 798, A |= function(M, it) {
307
- var at = M;
308
- return M || (at = it ? 16893 : 33204), (65535 & at) << 16;
309
- }(C.unixPermissions, Y)) : (X = 20, A |= function(M) {
310
- return 63 & (M || 0);
311
- }(C.dosPermissions)), k = D.getUTCHours(), k <<= 6, k |= D.getUTCMinutes(), k <<= 5, k |= D.getUTCSeconds() / 2, E = D.getUTCFullYear() - 1980, E <<= 4, E |= D.getUTCMonth() + 1, E <<= 5, E |= D.getUTCDate(), x && (V = l(1, 1) + l(v(j), 4) + T, R += "up" + l(V.length, 2) + V), r && (F = l(1, 1) + l(v(Q), 4) + _, R += "uc" + l(F.length, 2) + F);
305
+ var z = 0, J = 0;
306
+ Y && (z |= 16), a === "UNIX" ? (J = 798, z |= function(W, st) {
307
+ var at = W;
308
+ return W || (at = st ? 16893 : 33204), (65535 & at) << 16;
309
+ }(C.unixPermissions, Y)) : (J = 20, z |= function(W) {
310
+ return 63 & (W || 0);
311
+ }(C.dosPermissions)), k = D.getUTCHours(), k <<= 6, k |= D.getUTCMinutes(), k <<= 5, k |= D.getUTCSeconds() / 2, E = D.getUTCFullYear() - 1980, E <<= 4, E |= D.getUTCMonth() + 1, E <<= 5, E |= D.getUTCDate(), x && (K = l(1, 1) + l(b(j), 4) + N, R += "up" + l(K.length, 2) + K), r && (F = l(1, 1) + l(b(Q), 4) + _, R += "uc" + l(F.length, 2) + F);
312
312
  var Z = "";
313
313
  return Z += `
314
- \0`, Z += l(O, 2), Z += B.magic, Z += l(k, 2), Z += l(E, 2), Z += l(J.crc32, 4), Z += l(J.compressedSize, 4), Z += l(J.uncompressedSize, 4), Z += l(j.length, 2), Z += l(R.length, 2), { fileRecord: w.LOCAL_FILE_HEADER + Z + j + R, dirRecord: w.CENTRAL_FILE_HEADER + l(X, 2) + Z + l(Q.length, 2) + "\0\0\0\0" + l(A, 4) + l(d, 4) + j + R + Q };
314
+ \0`, Z += l(O, 2), Z += B.magic, Z += l(k, 2), Z += l(E, 2), Z += l(X.crc32, 4), Z += l(X.compressedSize, 4), Z += l(X.uncompressedSize, 4), Z += l(j.length, 2), Z += l(R.length, 2), { fileRecord: w.LOCAL_FILE_HEADER + Z + j + R, dirRecord: w.CENTRAL_FILE_HEADER + l(J, 2) + Z + l(Q.length, 2) + "\0\0\0\0" + l(z, 4) + l(d, 4) + j + R + Q };
315
315
  }
316
- var s = n("../utils"), c = n("../stream/GenericWorker"), y = n("../utf8"), v = n("../crc32"), w = n("../signature");
317
- function b(o, p, i, d) {
316
+ var s = n("../utils"), c = n("../stream/GenericWorker"), y = n("../utf8"), b = n("../crc32"), w = n("../signature");
317
+ function v(o, p, i, d) {
318
318
  c.call(this, "ZipFileWorker"), this.bytesWritten = 0, this.zipComment = p, this.zipPlatform = i, this.encodeFileName = d, this.streamFiles = o, this.accumulate = !1, this.contentBuffer = [], this.dirRecords = [], this.currentSourceOffset = 0, this.entriesCount = 0, this.currentFile = null, this._sources = [];
319
319
  }
320
- s.inherits(b, c), b.prototype.push = function(o) {
320
+ s.inherits(v, c), v.prototype.push = function(o) {
321
321
  var p = o.meta.percent || 0, i = this.entriesCount, d = this._sources.length;
322
322
  this.accumulate ? this.contentBuffer.push(o) : (this.bytesWritten += o.data.length, c.prototype.push.call(this, { data: o.data, meta: { currentFile: this.currentFile, percent: i ? (p + 100 * (i - d - 1)) / i : 100 } }));
323
- }, b.prototype.openedSource = function(o) {
323
+ }, v.prototype.openedSource = function(o) {
324
324
  this.currentSourceOffset = this.bytesWritten, this.currentFile = o.file.name;
325
325
  var p = this.streamFiles && !o.file.dir;
326
326
  if (p) {
327
327
  var i = f(o, p, !1, this.currentSourceOffset, this.zipPlatform, this.encodeFileName);
328
328
  this.push({ data: i.fileRecord, meta: { percent: 0 } });
329
329
  } else this.accumulate = !0;
330
- }, b.prototype.closedSource = function(o) {
330
+ }, v.prototype.closedSource = function(o) {
331
331
  this.accumulate = !1;
332
332
  var p = this.streamFiles && !o.file.dir, i = f(o, p, !0, this.currentSourceOffset, this.zipPlatform, this.encodeFileName);
333
333
  if (this.dirRecords.push(i.dirRecord), p) this.push({ data: function(d) {
@@ -335,16 +335,16 @@ https://github.com/nodeca/pako/blob/main/LICENSE
335
335
  }(o), meta: { percent: 100 } });
336
336
  else for (this.push({ data: i.fileRecord, meta: { percent: 0 } }); this.contentBuffer.length; ) this.push(this.contentBuffer.shift());
337
337
  this.currentFile = null;
338
- }, b.prototype.flush = function() {
338
+ }, v.prototype.flush = function() {
339
339
  for (var o = this.bytesWritten, p = 0; p < this.dirRecords.length; p++) this.push({ data: this.dirRecords[p], meta: { percent: 100 } });
340
340
  var i = this.bytesWritten - o, d = function(a, m, k, E, C) {
341
341
  var B = s.transformTo("string", C(E));
342
342
  return w.CENTRAL_DIRECTORY_END + "\0\0\0\0" + l(a, 2) + l(a, 2) + l(m, 4) + l(k, 4) + l(B.length, 2) + B;
343
343
  }(this.dirRecords.length, i, o, this.zipComment, this.encodeFileName);
344
344
  this.push({ data: d, meta: { percent: 100 } });
345
- }, b.prototype.prepareNextSource = function() {
345
+ }, v.prototype.prepareNextSource = function() {
346
346
  this.previous = this._sources.shift(), this.openedSource(this.previous.streamInfo), this.isPaused ? this.previous.pause() : this.previous.resume();
347
- }, b.prototype.registerPrevious = function(o) {
347
+ }, v.prototype.registerPrevious = function(o) {
348
348
  this._sources.push(o);
349
349
  var p = this;
350
350
  return o.on("data", function(i) {
@@ -354,9 +354,9 @@ https://github.com/nodeca/pako/blob/main/LICENSE
354
354
  }), o.on("error", function(i) {
355
355
  p.error(i);
356
356
  }), this;
357
- }, b.prototype.resume = function() {
357
+ }, v.prototype.resume = function() {
358
358
  return !!c.prototype.resume.call(this) && (!this.previous && this._sources.length ? (this.prepareNextSource(), !0) : this.previous || this._sources.length || this.generatedError ? void 0 : (this.end(), !0));
359
- }, b.prototype.error = function(o) {
359
+ }, v.prototype.error = function(o) {
360
360
  var p = this._sources;
361
361
  if (!c.prototype.error.call(this, o)) return !1;
362
362
  for (var i = 0; i < p.length; i++) try {
@@ -364,28 +364,28 @@ https://github.com/nodeca/pako/blob/main/LICENSE
364
364
  } catch {
365
365
  }
366
366
  return !0;
367
- }, b.prototype.lock = function() {
367
+ }, v.prototype.lock = function() {
368
368
  c.prototype.lock.call(this);
369
369
  for (var o = this._sources, p = 0; p < o.length; p++) o[p].lock();
370
- }, I.exports = b;
370
+ }, I.exports = v;
371
371
  }, { "../crc32": 4, "../signature": 23, "../stream/GenericWorker": 28, "../utf8": 31, "../utils": 32 }], 9: [function(n, I, h) {
372
372
  var l = n("../compressions"), f = n("./ZipFileWorker");
373
373
  h.generateWorker = function(s, c, y) {
374
- var v = new f(c.streamFiles, y, c.platform, c.encodeFileName), w = 0;
374
+ var b = new f(c.streamFiles, y, c.platform, c.encodeFileName), w = 0;
375
375
  try {
376
- s.forEach(function(b, o) {
376
+ s.forEach(function(v, o) {
377
377
  w++;
378
378
  var p = function(m, k) {
379
379
  var E = m || k, C = l[E];
380
380
  if (!C) throw new Error(E + " is not a valid compression method !");
381
381
  return C;
382
382
  }(o.options.compression, c.compression), i = o.options.compressionOptions || c.compressionOptions || {}, d = o.dir, a = o.date;
383
- o._compressWorker(p, i).withStreamInfo("file", { name: b, dir: d, date: a, comment: o.comment || "", unixPermissions: o.unixPermissions, dosPermissions: o.dosPermissions }).pipe(v);
384
- }), v.entriesCount = w;
385
- } catch (b) {
386
- v.error(b);
383
+ o._compressWorker(p, i).withStreamInfo("file", { name: v, dir: d, date: a, comment: o.comment || "", unixPermissions: o.unixPermissions, dosPermissions: o.dosPermissions }).pipe(b);
384
+ }), b.entriesCount = w;
385
+ } catch (v) {
386
+ b.error(v);
387
387
  }
388
- return v;
388
+ return b;
389
389
  };
390
390
  }, { "../compressions": 3, "./ZipFileWorker": 8 }], 10: [function(n, I, h) {
391
391
  function l() {
@@ -401,20 +401,20 @@ https://github.com/nodeca/pako/blob/main/LICENSE
401
401
  return new l().loadAsync(f, s);
402
402
  }, l.external = n("./external"), I.exports = l;
403
403
  }, { "./defaults": 5, "./external": 6, "./load": 11, "./object": 15, "./support": 30 }], 11: [function(n, I, h) {
404
- var l = n("./utils"), f = n("./external"), s = n("./utf8"), c = n("./zipEntries"), y = n("./stream/Crc32Probe"), v = n("./nodejsUtils");
405
- function w(b) {
404
+ var l = n("./utils"), f = n("./external"), s = n("./utf8"), c = n("./zipEntries"), y = n("./stream/Crc32Probe"), b = n("./nodejsUtils");
405
+ function w(v) {
406
406
  return new f.Promise(function(o, p) {
407
- var i = b.decompressed.getContentWorker().pipe(new y());
407
+ var i = v.decompressed.getContentWorker().pipe(new y());
408
408
  i.on("error", function(d) {
409
409
  p(d);
410
410
  }).on("end", function() {
411
- i.streamInfo.crc32 !== b.decompressed.crc32 ? p(new Error("Corrupted zip : CRC32 mismatch")) : o();
411
+ i.streamInfo.crc32 !== v.decompressed.crc32 ? p(new Error("Corrupted zip : CRC32 mismatch")) : o();
412
412
  }).resume();
413
413
  });
414
414
  }
415
- I.exports = function(b, o) {
415
+ I.exports = function(v, o) {
416
416
  var p = this;
417
- return o = l.extend(o || {}, { base64: !1, checkCRC32: !1, optimizedBinaryString: !1, createFolders: !1, decodeFileName: s.utf8decode }), v.isNode && v.isStream(b) ? f.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")) : l.prepareContent("the loaded zip file", b, !0, o.optimizedBinaryString, o.base64).then(function(i) {
417
+ return o = l.extend(o || {}, { base64: !1, checkCRC32: !1, optimizedBinaryString: !1, createFolders: !1, decodeFileName: s.utf8decode }), b.isNode && b.isStream(v) ? f.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")) : l.prepareContent("the loaded zip file", v, !0, o.optimizedBinaryString, o.base64).then(function(i) {
418
418
  var d = new c(o);
419
419
  return d.load(i), d;
420
420
  }).then(function(i) {
@@ -436,10 +436,10 @@ https://github.com/nodeca/pako/blob/main/LICENSE
436
436
  }
437
437
  l.inherits(s, f), s.prototype._bindStream = function(c) {
438
438
  var y = this;
439
- (this._stream = c).pause(), c.on("data", function(v) {
440
- y.push({ data: v, meta: { percent: 0 } });
441
- }).on("error", function(v) {
442
- y.isPaused ? this.generatedError = v : y.error(v);
439
+ (this._stream = c).pause(), c.on("data", function(b) {
440
+ y.push({ data: b, meta: { percent: 0 } });
441
+ }).on("error", function(b) {
442
+ y.isPaused ? this.generatedError = b : y.error(b);
443
443
  }).on("end", function() {
444
444
  y.isPaused ? y._upstreamEnded = !0 : y.end();
445
445
  });
@@ -452,13 +452,13 @@ https://github.com/nodeca/pako/blob/main/LICENSE
452
452
  var l = n("readable-stream").Readable;
453
453
  function f(s, c, y) {
454
454
  l.call(this, c), this._helper = s;
455
- var v = this;
456
- s.on("data", function(w, b) {
457
- v.push(w) || v._helper.pause(), y && y(b);
455
+ var b = this;
456
+ s.on("data", function(w, v) {
457
+ b.push(w) || b._helper.pause(), y && y(v);
458
458
  }).on("error", function(w) {
459
- v.emit("error", w);
459
+ b.emit("error", w);
460
460
  }).on("end", function() {
461
- v.push(null);
461
+ b.push(null);
462
462
  });
463
463
  }
464
464
  n("../utils").inherits(f, l), f.prototype._read = function() {
@@ -480,23 +480,23 @@ https://github.com/nodeca/pako/blob/main/LICENSE
480
480
  } };
481
481
  }, {}], 15: [function(n, I, h) {
482
482
  function l(C, B, P) {
483
- var j, T = s.getTypeOf(B), H = s.extend(P || {}, v);
483
+ var j, N = s.getTypeOf(B), H = s.extend(P || {}, b);
484
484
  H.date = H.date || /* @__PURE__ */ new Date(), H.compression !== null && (H.compression = H.compression.toUpperCase()), typeof H.unixPermissions == "string" && (H.unixPermissions = parseInt(H.unixPermissions, 8)), H.unixPermissions && 16384 & H.unixPermissions && (H.dir = !0), H.dosPermissions && 16 & H.dosPermissions && (H.dir = !0), H.dir && (C = a(C)), H.createFolders && (j = d(C)) && m.call(this, j, !0);
485
- var Q = T === "string" && H.binary === !1 && H.base64 === !1;
486
- P && P.binary !== void 0 || (H.binary = !Q), (B instanceof w && B.uncompressedSize === 0 || H.dir || !B || B.length === 0) && (H.base64 = !1, H.binary = !0, B = "", H.compression = "STORE", T = "string");
485
+ var Q = N === "string" && H.binary === !1 && H.base64 === !1;
486
+ P && P.binary !== void 0 || (H.binary = !Q), (B instanceof w && B.uncompressedSize === 0 || H.dir || !B || B.length === 0) && (H.base64 = !1, H.binary = !0, B = "", H.compression = "STORE", N = "string");
487
487
  var _ = null;
488
488
  _ = B instanceof w || B instanceof c ? B : p.isNode && p.isStream(B) ? new i(C, B) : s.prepareContent(C, B, H.binary, H.optimizedBinaryString, H.base64);
489
- var x = new b(C, _, H);
489
+ var x = new v(C, _, H);
490
490
  this.files[C] = x;
491
491
  }
492
- var f = n("./utf8"), s = n("./utils"), c = n("./stream/GenericWorker"), y = n("./stream/StreamHelper"), v = n("./defaults"), w = n("./compressedObject"), b = n("./zipObject"), o = n("./generate"), p = n("./nodejsUtils"), i = n("./nodejs/NodejsStreamInputAdapter"), d = function(C) {
492
+ var f = n("./utf8"), s = n("./utils"), c = n("./stream/GenericWorker"), y = n("./stream/StreamHelper"), b = n("./defaults"), w = n("./compressedObject"), v = n("./zipObject"), o = n("./generate"), p = n("./nodejsUtils"), i = n("./nodejs/NodejsStreamInputAdapter"), d = function(C) {
493
493
  C.slice(-1) === "/" && (C = C.substring(0, C.length - 1));
494
494
  var B = C.lastIndexOf("/");
495
495
  return 0 < B ? C.substring(0, B) : "";
496
496
  }, a = function(C) {
497
497
  return C.slice(-1) !== "/" && (C += "/"), C;
498
498
  }, m = function(C, B) {
499
- return B = B !== void 0 ? B : v.createFolders, C = a(C), this.files[C] || l.call(this, C, null, { dir: !0, createFolders: B }), this.files[C];
499
+ return B = B !== void 0 ? B : b.createFolders, C = a(C), this.files[C] || l.call(this, C, null, { dir: !0, createFolders: B }), this.files[C];
500
500
  };
501
501
  function k(C) {
502
502
  return Object.prototype.toString.call(C) === "[object RegExp]";
@@ -519,12 +519,12 @@ https://github.com/nodeca/pako/blob/main/LICENSE
519
519
  return !Q.dir && j.test(H);
520
520
  });
521
521
  }
522
- var T = this.files[this.root + C];
523
- return T && !T.dir ? T : null;
522
+ var N = this.files[this.root + C];
523
+ return N && !N.dir ? N : null;
524
524
  }, folder: function(C) {
525
525
  if (!C) return this;
526
- if (k(C)) return this.filter(function(T, H) {
527
- return H.dir && C.test(T);
526
+ if (k(C)) return this.filter(function(N, H) {
527
+ return H.dir && C.test(N);
528
528
  });
529
529
  var B = this.root + C, P = m.call(this, B), j = this.clone();
530
530
  return j.root = P.name, j;
@@ -532,7 +532,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
532
532
  C = this.root + C;
533
533
  var B = this.files[C];
534
534
  if (B || (C.slice(-1) !== "/" && (C += "/"), B = this.files[C]), B && !B.dir) delete this.files[C];
535
- else for (var P = this.filter(function(T, H) {
535
+ else for (var P = this.filter(function(N, H) {
536
536
  return H.name.slice(0, C.length) === C;
537
537
  }), j = 0; j < P.length; j++) delete this.files[P[j].name];
538
538
  return this;
@@ -545,8 +545,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
545
545
  s.checkSupport(P.type), P.platform !== "darwin" && P.platform !== "freebsd" && P.platform !== "linux" && P.platform !== "sunos" || (P.platform = "UNIX"), P.platform === "win32" && (P.platform = "DOS");
546
546
  var j = P.comment || this.comment || "";
547
547
  B = o.generateWorker(this, P, j);
548
- } catch (T) {
549
- (B = new c("error")).error(T);
548
+ } catch (N) {
549
+ (B = new c("error")).error(N);
550
550
  }
551
551
  return new y(B, P.type || "string", P.mimeType);
552
552
  }, generateAsync: function(C, B) {
@@ -566,11 +566,11 @@ https://github.com/nodeca/pako/blob/main/LICENSE
566
566
  n("../utils").inherits(f, l), f.prototype.byteAt = function(s) {
567
567
  return this.data[this.zero + s];
568
568
  }, f.prototype.lastIndexOfSignature = function(s) {
569
- for (var c = s.charCodeAt(0), y = s.charCodeAt(1), v = s.charCodeAt(2), w = s.charCodeAt(3), b = this.length - 4; 0 <= b; --b) if (this.data[b] === c && this.data[b + 1] === y && this.data[b + 2] === v && this.data[b + 3] === w) return b - this.zero;
569
+ for (var c = s.charCodeAt(0), y = s.charCodeAt(1), b = s.charCodeAt(2), w = s.charCodeAt(3), v = this.length - 4; 0 <= v; --v) if (this.data[v] === c && this.data[v + 1] === y && this.data[v + 2] === b && this.data[v + 3] === w) return v - this.zero;
570
570
  return -1;
571
571
  }, f.prototype.readAndCheckSignature = function(s) {
572
- var c = s.charCodeAt(0), y = s.charCodeAt(1), v = s.charCodeAt(2), w = s.charCodeAt(3), b = this.readData(4);
573
- return c === b[0] && y === b[1] && v === b[2] && w === b[3];
572
+ var c = s.charCodeAt(0), y = s.charCodeAt(1), b = s.charCodeAt(2), w = s.charCodeAt(3), v = this.readData(4);
573
+ return c === v[0] && y === v[1] && b === v[2] && w === v[3];
574
574
  }, f.prototype.readData = function(s) {
575
575
  if (this.checkOffset(s), s === 0) return [];
576
576
  var c = this.data.slice(this.zero + this.index, this.zero + this.index + s);
@@ -640,10 +640,10 @@ https://github.com/nodeca/pako/blob/main/LICENSE
640
640
  return this.index += s, c;
641
641
  }, I.exports = f;
642
642
  }, { "../utils": 32, "./ArrayReader": 17 }], 22: [function(n, I, h) {
643
- var l = n("../utils"), f = n("../support"), s = n("./ArrayReader"), c = n("./StringReader"), y = n("./NodeBufferReader"), v = n("./Uint8ArrayReader");
643
+ var l = n("../utils"), f = n("../support"), s = n("./ArrayReader"), c = n("./StringReader"), y = n("./NodeBufferReader"), b = n("./Uint8ArrayReader");
644
644
  I.exports = function(w) {
645
- var b = l.getTypeOf(w);
646
- return l.checkSupport(b), b !== "string" || f.uint8array ? b === "nodebuffer" ? new y(w) : f.uint8array ? new v(l.transformTo("uint8array", w)) : new s(l.transformTo("array", w)) : new c(w);
645
+ var v = l.getTypeOf(w);
646
+ return l.checkSupport(v), v !== "string" || f.uint8array ? v === "nodebuffer" ? new y(w) : f.uint8array ? new b(l.transformTo("uint8array", w)) : new s(l.transformTo("array", w)) : new c(w);
647
647
  };
648
648
  }, { "../support": 30, "../utils": 32, "./ArrayReader": 17, "./NodeBufferReader": 19, "./StringReader": 20, "./Uint8ArrayReader": 21 }], 23: [function(n, I, h) {
649
649
  h.LOCAL_FILE_HEADER = "PK", h.CENTRAL_FILE_HEADER = "PK", h.CENTRAL_DIRECTORY_END = "PK", h.ZIP64_CENTRAL_DIRECTORY_LOCATOR = "PK\x07", h.ZIP64_CENTRAL_DIRECTORY_END = "PK", h.DATA_DESCRIPTOR = "PK\x07\b";
@@ -680,10 +680,10 @@ https://github.com/nodeca/pako/blob/main/LICENSE
680
680
  function s(c) {
681
681
  f.call(this, "DataWorker");
682
682
  var y = this;
683
- this.dataIsReady = !1, this.index = 0, this.max = 0, this.data = null, this.type = "", this._tickScheduled = !1, c.then(function(v) {
684
- y.dataIsReady = !0, y.data = v, y.max = v && v.length || 0, y.type = l.getTypeOf(v), y.isPaused || y._tickAndRepeat();
685
- }, function(v) {
686
- y.error(v);
683
+ this.dataIsReady = !1, this.index = 0, this.max = 0, this.data = null, this.type = "", this._tickScheduled = !1, c.then(function(b) {
684
+ y.dataIsReady = !0, y.data = b, y.max = b && b.length || 0, y.type = l.getTypeOf(b), y.isPaused || y._tickAndRepeat();
685
+ }, function(b) {
686
+ y.error(b);
687
687
  });
688
688
  }
689
689
  l.inherits(s, f), s.prototype.cleanUp = function() {
@@ -766,13 +766,13 @@ https://github.com/nodeca/pako/blob/main/LICENSE
766
766
  return this.previous ? this.previous + " -> " + f : f;
767
767
  } }, I.exports = l;
768
768
  }, {}], 29: [function(n, I, h) {
769
- var l = n("../utils"), f = n("./ConvertWorker"), s = n("./GenericWorker"), c = n("../base64"), y = n("../support"), v = n("../external"), w = null;
769
+ var l = n("../utils"), f = n("./ConvertWorker"), s = n("./GenericWorker"), c = n("../base64"), y = n("../support"), b = n("../external"), w = null;
770
770
  if (y.nodestream) try {
771
771
  w = n("../nodejs/NodejsStreamOutputAdapter");
772
772
  } catch {
773
773
  }
774
- function b(p, i) {
775
- return new v.Promise(function(d, a) {
774
+ function v(p, i) {
775
+ return new b.Promise(function(d, a) {
776
776
  var m = [], k = p._internalType, E = p._outputType, C = p._mimeType;
777
777
  p.on("data", function(B, P) {
778
778
  m.push(B), i && i(P);
@@ -780,25 +780,25 @@ https://github.com/nodeca/pako/blob/main/LICENSE
780
780
  m = [], a(B);
781
781
  }).on("end", function() {
782
782
  try {
783
- var B = function(P, j, T) {
783
+ var B = function(P, j, N) {
784
784
  switch (P) {
785
785
  case "blob":
786
- return l.newBlob(l.transformTo("arraybuffer", j), T);
786
+ return l.newBlob(l.transformTo("arraybuffer", j), N);
787
787
  case "base64":
788
788
  return c.encode(j);
789
789
  default:
790
790
  return l.transformTo(P, j);
791
791
  }
792
792
  }(E, function(P, j) {
793
- var T, H = 0, Q = null, _ = 0;
794
- for (T = 0; T < j.length; T++) _ += j[T].length;
793
+ var N, H = 0, Q = null, _ = 0;
794
+ for (N = 0; N < j.length; N++) _ += j[N].length;
795
795
  switch (P) {
796
796
  case "string":
797
797
  return j.join("");
798
798
  case "array":
799
799
  return Array.prototype.concat.apply([], j);
800
800
  case "uint8array":
801
- for (Q = new Uint8Array(_), T = 0; T < j.length; T++) Q.set(j[T], H), H += j[T].length;
801
+ for (Q = new Uint8Array(_), N = 0; N < j.length; N++) Q.set(j[N], H), H += j[N].length;
802
802
  return Q;
803
803
  case "nodebuffer":
804
804
  return Buffer.concat(j);
@@ -831,7 +831,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
831
831
  }
832
832
  }
833
833
  o.prototype = { accumulate: function(p) {
834
- return b(this, p);
834
+ return v(this, p);
835
835
  }, on: function(p, i) {
836
836
  var d = this;
837
837
  return p === "data" ? this._worker.on(p, function(a) {
@@ -868,12 +868,12 @@ https://github.com/nodeca/pako/blob/main/LICENSE
868
868
  h.nodestream = !1;
869
869
  }
870
870
  }, { "readable-stream": 16 }], 31: [function(n, I, h) {
871
- for (var l = n("./utils"), f = n("./support"), s = n("./nodejsUtils"), c = n("./stream/GenericWorker"), y = new Array(256), v = 0; v < 256; v++) y[v] = 252 <= v ? 6 : 248 <= v ? 5 : 240 <= v ? 4 : 224 <= v ? 3 : 192 <= v ? 2 : 1;
871
+ for (var l = n("./utils"), f = n("./support"), s = n("./nodejsUtils"), c = n("./stream/GenericWorker"), y = new Array(256), b = 0; b < 256; b++) y[b] = 252 <= b ? 6 : 248 <= b ? 5 : 240 <= b ? 4 : 224 <= b ? 3 : 192 <= b ? 2 : 1;
872
872
  y[254] = y[254] = 1;
873
873
  function w() {
874
874
  c.call(this, "utf-8 decode"), this.leftOver = null;
875
875
  }
876
- function b() {
876
+ function v() {
877
877
  c.call(this, "utf-8 encode");
878
878
  }
879
879
  h.utf8encode = function(o) {
@@ -911,15 +911,15 @@ https://github.com/nodeca/pako/blob/main/LICENSE
911
911
  d !== p.length && (f.uint8array ? (a = p.subarray(0, d), this.leftOver = p.subarray(d, p.length)) : (a = p.slice(0, d), this.leftOver = p.slice(d, p.length))), this.push({ data: h.utf8decode(a), meta: o.meta });
912
912
  }, w.prototype.flush = function() {
913
913
  this.leftOver && this.leftOver.length && (this.push({ data: h.utf8decode(this.leftOver), meta: {} }), this.leftOver = null);
914
- }, h.Utf8DecodeWorker = w, l.inherits(b, c), b.prototype.processChunk = function(o) {
914
+ }, h.Utf8DecodeWorker = w, l.inherits(v, c), v.prototype.processChunk = function(o) {
915
915
  this.push({ data: h.utf8encode(o.data), meta: o.meta });
916
- }, h.Utf8EncodeWorker = b;
916
+ }, h.Utf8EncodeWorker = v;
917
917
  }, { "./nodejsUtils": 14, "./stream/GenericWorker": 28, "./support": 30, "./utils": 32 }], 32: [function(n, I, h) {
918
918
  var l = n("./support"), f = n("./base64"), s = n("./nodejsUtils"), c = n("./external");
919
919
  function y(i) {
920
920
  return i;
921
921
  }
922
- function v(i, d) {
922
+ function b(i, d) {
923
923
  for (var a = 0; a < i.length; ++a) d[a] = 255 & i.charCodeAt(a);
924
924
  return d;
925
925
  }
@@ -957,7 +957,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
957
957
  return !1;
958
958
  }
959
959
  }() } };
960
- function b(i) {
960
+ function v(i) {
961
961
  var d = 65536, a = h.getTypeOf(i), m = !0;
962
962
  if (a === "uint8array" ? m = w.applyCanBeUsed.uint8array : a === "nodebuffer" && (m = w.applyCanBeUsed.nodebuffer), m) for (; 1 < d; ) try {
963
963
  return w.stringifyByChunk(i, a, d);
@@ -970,37 +970,37 @@ https://github.com/nodeca/pako/blob/main/LICENSE
970
970
  for (var a = 0; a < i.length; a++) d[a] = i[a];
971
971
  return d;
972
972
  }
973
- h.applyFromCharCode = b;
973
+ h.applyFromCharCode = v;
974
974
  var p = {};
975
975
  p.string = { string: y, array: function(i) {
976
- return v(i, new Array(i.length));
976
+ return b(i, new Array(i.length));
977
977
  }, arraybuffer: function(i) {
978
978
  return p.string.uint8array(i).buffer;
979
979
  }, uint8array: function(i) {
980
- return v(i, new Uint8Array(i.length));
980
+ return b(i, new Uint8Array(i.length));
981
981
  }, nodebuffer: function(i) {
982
- return v(i, s.allocBuffer(i.length));
983
- } }, p.array = { string: b, array: y, arraybuffer: function(i) {
982
+ return b(i, s.allocBuffer(i.length));
983
+ } }, p.array = { string: v, array: y, arraybuffer: function(i) {
984
984
  return new Uint8Array(i).buffer;
985
985
  }, uint8array: function(i) {
986
986
  return new Uint8Array(i);
987
987
  }, nodebuffer: function(i) {
988
988
  return s.newBufferFrom(i);
989
989
  } }, p.arraybuffer = { string: function(i) {
990
- return b(new Uint8Array(i));
990
+ return v(new Uint8Array(i));
991
991
  }, array: function(i) {
992
992
  return o(new Uint8Array(i), new Array(i.byteLength));
993
993
  }, arraybuffer: y, uint8array: function(i) {
994
994
  return new Uint8Array(i);
995
995
  }, nodebuffer: function(i) {
996
996
  return s.newBufferFrom(new Uint8Array(i));
997
- } }, p.uint8array = { string: b, array: function(i) {
997
+ } }, p.uint8array = { string: v, array: function(i) {
998
998
  return o(i, new Array(i.length));
999
999
  }, arraybuffer: function(i) {
1000
1000
  return i.buffer;
1001
1001
  }, uint8array: y, nodebuffer: function(i) {
1002
1002
  return s.newBufferFrom(i);
1003
- } }, p.nodebuffer = { string: b, array: function(i) {
1003
+ } }, p.nodebuffer = { string: v, array: function(i) {
1004
1004
  return o(i, new Array(i.length));
1005
1005
  }, arraybuffer: function(i) {
1006
1006
  return p.nodebuffer.uint8array(i).buffer;
@@ -1050,38 +1050,38 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1050
1050
  }).then(function(E) {
1051
1051
  var C = h.getTypeOf(E);
1052
1052
  return C ? (C === "arraybuffer" ? E = h.transformTo("uint8array", E) : C === "string" && (k ? E = f.decode(E) : a && m !== !0 && (E = function(B) {
1053
- return v(B, l.uint8array ? new Uint8Array(B.length) : new Array(B.length));
1053
+ return b(B, l.uint8array ? new Uint8Array(B.length) : new Array(B.length));
1054
1054
  }(E))), E) : c.Promise.reject(new Error("Can't read the data of '" + i + "'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"));
1055
1055
  });
1056
1056
  };
1057
1057
  }, { "./base64": 1, "./external": 6, "./nodejsUtils": 14, "./support": 30, setimmediate: 54 }], 33: [function(n, I, h) {
1058
1058
  var l = n("./reader/readerFor"), f = n("./utils"), s = n("./signature"), c = n("./zipEntry"), y = n("./support");
1059
- function v(w) {
1059
+ function b(w) {
1060
1060
  this.files = [], this.loadOptions = w;
1061
1061
  }
1062
- v.prototype = { checkSignature: function(w) {
1062
+ b.prototype = { checkSignature: function(w) {
1063
1063
  if (!this.reader.readAndCheckSignature(w)) {
1064
1064
  this.reader.index -= 4;
1065
- var b = this.reader.readString(4);
1066
- throw new Error("Corrupted zip or bug: unexpected signature (" + f.pretty(b) + ", expected " + f.pretty(w) + ")");
1065
+ var v = this.reader.readString(4);
1066
+ throw new Error("Corrupted zip or bug: unexpected signature (" + f.pretty(v) + ", expected " + f.pretty(w) + ")");
1067
1067
  }
1068
- }, isSignature: function(w, b) {
1068
+ }, isSignature: function(w, v) {
1069
1069
  var o = this.reader.index;
1070
1070
  this.reader.setIndex(w);
1071
- var p = this.reader.readString(4) === b;
1071
+ var p = this.reader.readString(4) === v;
1072
1072
  return this.reader.setIndex(o), p;
1073
1073
  }, readBlockEndOfCentral: function() {
1074
1074
  this.diskNumber = this.reader.readInt(2), this.diskWithCentralDirStart = this.reader.readInt(2), this.centralDirRecordsOnThisDisk = this.reader.readInt(2), this.centralDirRecords = this.reader.readInt(2), this.centralDirSize = this.reader.readInt(4), this.centralDirOffset = this.reader.readInt(4), this.zipCommentLength = this.reader.readInt(2);
1075
- var w = this.reader.readData(this.zipCommentLength), b = y.uint8array ? "uint8array" : "array", o = f.transformTo(b, w);
1075
+ var w = this.reader.readData(this.zipCommentLength), v = y.uint8array ? "uint8array" : "array", o = f.transformTo(v, w);
1076
1076
  this.zipComment = this.loadOptions.decodeFileName(o);
1077
1077
  }, readBlockZip64EndOfCentral: function() {
1078
1078
  this.zip64EndOfCentralSize = this.reader.readInt(8), this.reader.skip(4), this.diskNumber = this.reader.readInt(4), this.diskWithCentralDirStart = this.reader.readInt(4), this.centralDirRecordsOnThisDisk = this.reader.readInt(8), this.centralDirRecords = this.reader.readInt(8), this.centralDirSize = this.reader.readInt(8), this.centralDirOffset = this.reader.readInt(8), this.zip64ExtensibleData = {};
1079
- for (var w, b, o, p = this.zip64EndOfCentralSize - 44; 0 < p; ) w = this.reader.readInt(2), b = this.reader.readInt(4), o = this.reader.readData(b), this.zip64ExtensibleData[w] = { id: w, length: b, value: o };
1079
+ for (var w, v, o, p = this.zip64EndOfCentralSize - 44; 0 < p; ) w = this.reader.readInt(2), v = this.reader.readInt(4), o = this.reader.readData(v), this.zip64ExtensibleData[w] = { id: w, length: v, value: o };
1080
1080
  }, readBlockZip64EndOfCentralLocator: function() {
1081
1081
  if (this.diskWithZip64CentralDirStart = this.reader.readInt(4), this.relativeOffsetEndOfZip64CentralDir = this.reader.readInt(8), this.disksCount = this.reader.readInt(4), 1 < this.disksCount) throw new Error("Multi-volumes zip are not supported");
1082
1082
  }, readLocalFiles: function() {
1083
- var w, b;
1084
- for (w = 0; w < this.files.length; w++) b = this.files[w], this.reader.setIndex(b.localHeaderOffset), this.checkSignature(s.LOCAL_FILE_HEADER), b.readLocalPart(this.reader), b.handleUTF8(), b.processAttributes();
1083
+ var w, v;
1084
+ for (w = 0; w < this.files.length; w++) v = this.files[w], this.reader.setIndex(v.localHeaderOffset), this.checkSignature(s.LOCAL_FILE_HEADER), v.readLocalPart(this.reader), v.handleUTF8(), v.processAttributes();
1085
1085
  }, readCentralDir: function() {
1086
1086
  var w;
1087
1087
  for (this.reader.setIndex(this.centralDirOffset); this.reader.readAndCheckSignature(s.CENTRAL_FILE_HEADER); ) (w = new c({ zip64: this.zip64 }, this.loadOptions)).readCentralPart(this.reader), this.files.push(w);
@@ -1090,7 +1090,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1090
1090
  var w = this.reader.lastIndexOfSignature(s.CENTRAL_DIRECTORY_END);
1091
1091
  if (w < 0) throw this.isSignature(0, s.LOCAL_FILE_HEADER) ? new Error("Corrupted zip: can't find end of central directory") : new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");
1092
1092
  this.reader.setIndex(w);
1093
- var b = w;
1093
+ var v = w;
1094
1094
  if (this.checkSignature(s.CENTRAL_DIRECTORY_END), this.readBlockEndOfCentral(), this.diskNumber === f.MAX_VALUE_16BITS || this.diskWithCentralDirStart === f.MAX_VALUE_16BITS || this.centralDirRecordsOnThisDisk === f.MAX_VALUE_16BITS || this.centralDirRecords === f.MAX_VALUE_16BITS || this.centralDirSize === f.MAX_VALUE_32BITS || this.centralDirOffset === f.MAX_VALUE_32BITS) {
1095
1095
  if (this.zip64 = !0, (w = this.reader.lastIndexOfSignature(s.ZIP64_CENTRAL_DIRECTORY_LOCATOR)) < 0) throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");
1096
1096
  if (this.reader.setIndex(w), this.checkSignature(s.ZIP64_CENTRAL_DIRECTORY_LOCATOR), this.readBlockZip64EndOfCentralLocator(), !this.isSignature(this.relativeOffsetEndOfZip64CentralDir, s.ZIP64_CENTRAL_DIRECTORY_END) && (this.relativeOffsetEndOfZip64CentralDir = this.reader.lastIndexOfSignature(s.ZIP64_CENTRAL_DIRECTORY_END), this.relativeOffsetEndOfZip64CentralDir < 0)) throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");
@@ -1098,20 +1098,20 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1098
1098
  }
1099
1099
  var o = this.centralDirOffset + this.centralDirSize;
1100
1100
  this.zip64 && (o += 20, o += 12 + this.zip64EndOfCentralSize);
1101
- var p = b - o;
1102
- if (0 < p) this.isSignature(b, s.CENTRAL_FILE_HEADER) || (this.reader.zero = p);
1101
+ var p = v - o;
1102
+ if (0 < p) this.isSignature(v, s.CENTRAL_FILE_HEADER) || (this.reader.zero = p);
1103
1103
  else if (p < 0) throw new Error("Corrupted zip: missing " + Math.abs(p) + " bytes.");
1104
1104
  }, prepareReader: function(w) {
1105
1105
  this.reader = l(w);
1106
1106
  }, load: function(w) {
1107
1107
  this.prepareReader(w), this.readEndOfCentral(), this.readCentralDir(), this.readLocalFiles();
1108
- } }, I.exports = v;
1108
+ } }, I.exports = b;
1109
1109
  }, { "./reader/readerFor": 22, "./signature": 23, "./support": 30, "./utils": 32, "./zipEntry": 34 }], 34: [function(n, I, h) {
1110
- var l = n("./reader/readerFor"), f = n("./utils"), s = n("./compressedObject"), c = n("./crc32"), y = n("./utf8"), v = n("./compressions"), w = n("./support");
1111
- function b(o, p) {
1110
+ var l = n("./reader/readerFor"), f = n("./utils"), s = n("./compressedObject"), c = n("./crc32"), y = n("./utf8"), b = n("./compressions"), w = n("./support");
1111
+ function v(o, p) {
1112
1112
  this.options = o, this.loadOptions = p;
1113
1113
  }
1114
- b.prototype = { isEncrypted: function() {
1114
+ v.prototype = { isEncrypted: function() {
1115
1115
  return (1 & this.bitFlag) == 1;
1116
1116
  }, useUTF8: function() {
1117
1117
  return (2048 & this.bitFlag) == 2048;
@@ -1119,7 +1119,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1119
1119
  var p, i;
1120
1120
  if (o.skip(22), this.fileNameLength = o.readInt(2), i = o.readInt(2), this.fileName = o.readData(this.fileNameLength), o.skip(i), this.compressedSize === -1 || this.uncompressedSize === -1) throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");
1121
1121
  if ((p = function(d) {
1122
- for (var a in v) if (Object.prototype.hasOwnProperty.call(v, a) && v[a].magic === d) return v[a];
1122
+ for (var a in b) if (Object.prototype.hasOwnProperty.call(b, a) && b[a].magic === d) return b[a];
1123
1123
  return null;
1124
1124
  }(this.compressionMethod)) === null) throw new Error("Corrupted zip : compression " + f.pretty(this.compressionMethod) + " unknown (inner file : " + f.transformTo("string", this.fileName) + ")");
1125
1125
  this.decompressed = new s(this.compressedSize, this.uncompressedSize, this.crc32, p, o.readData(this.compressedSize));
@@ -1172,12 +1172,12 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1172
1172
  return p.readInt(1) !== 1 || c(this.fileComment) !== p.readInt(4) ? null : y.utf8decode(p.readData(o.length - 5));
1173
1173
  }
1174
1174
  return null;
1175
- } }, I.exports = b;
1175
+ } }, I.exports = v;
1176
1176
  }, { "./compressedObject": 2, "./compressions": 3, "./crc32": 4, "./reader/readerFor": 22, "./support": 30, "./utf8": 31, "./utils": 32 }], 35: [function(n, I, h) {
1177
1177
  function l(p, i, d) {
1178
1178
  this.name = p, this.dir = d.dir, this.date = d.date, this.comment = d.comment, this.unixPermissions = d.unixPermissions, this.dosPermissions = d.dosPermissions, this._data = i, this._dataBinary = d.binary, this.options = { compression: d.compression, compressionOptions: d.compressionOptions };
1179
1179
  }
1180
- var f = n("./stream/StreamHelper"), s = n("./stream/DataWorker"), c = n("./utf8"), y = n("./compressedObject"), v = n("./stream/GenericWorker");
1180
+ var f = n("./stream/StreamHelper"), s = n("./stream/DataWorker"), c = n("./utf8"), y = n("./compressedObject"), b = n("./stream/GenericWorker");
1181
1181
  l.prototype = { internalStream: function(p) {
1182
1182
  var i = null, d = "string";
1183
1183
  try {
@@ -1187,7 +1187,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1187
1187
  var m = !this._dataBinary;
1188
1188
  m && !a && (i = i.pipe(new c.Utf8EncodeWorker())), !m && a && (i = i.pipe(new c.Utf8DecodeWorker()));
1189
1189
  } catch (k) {
1190
- (i = new v("error")).error(k);
1190
+ (i = new b("error")).error(k);
1191
1191
  }
1192
1192
  return new f(i, d, "");
1193
1193
  }, async: function(p, i) {
@@ -1199,18 +1199,18 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1199
1199
  var d = this._decompressWorker();
1200
1200
  return this._dataBinary || (d = d.pipe(new c.Utf8EncodeWorker())), y.createWorkerFrom(d, p, i);
1201
1201
  }, _decompressWorker: function() {
1202
- return this._data instanceof y ? this._data.getContentWorker() : this._data instanceof v ? this._data : new s(this._data);
1202
+ return this._data instanceof y ? this._data.getContentWorker() : this._data instanceof b ? this._data : new s(this._data);
1203
1203
  } };
1204
- for (var w = ["asText", "asBinary", "asNodeBuffer", "asUint8Array", "asArrayBuffer"], b = function() {
1204
+ for (var w = ["asText", "asBinary", "asNodeBuffer", "asUint8Array", "asArrayBuffer"], v = function() {
1205
1205
  throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.");
1206
- }, o = 0; o < w.length; o++) l.prototype[w[o]] = b;
1206
+ }, o = 0; o < w.length; o++) l.prototype[w[o]] = v;
1207
1207
  I.exports = l;
1208
1208
  }, { "./compressedObject": 2, "./stream/DataWorker": 27, "./stream/GenericWorker": 28, "./stream/StreamHelper": 29, "./utf8": 31 }], 36: [function(n, I, h) {
1209
1209
  (function(l) {
1210
1210
  var f, s, c = l.MutationObserver || l.WebKitMutationObserver;
1211
1211
  if (c) {
1212
- var y = 0, v = new c(p), w = l.document.createTextNode("");
1213
- v.observe(w, { characterData: !0 }), f = function() {
1212
+ var y = 0, b = new c(p), w = l.document.createTextNode("");
1213
+ b.observe(w, { characterData: !0 }), f = function() {
1214
1214
  w.data = y = ++y % 2;
1215
1215
  };
1216
1216
  } else if (l.setImmediate || l.MessageChannel === void 0) f = "document" in l && "onreadystatechange" in l.document.createElement("script") ? function() {
@@ -1222,9 +1222,9 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1222
1222
  setTimeout(p, 0);
1223
1223
  };
1224
1224
  else {
1225
- var b = new l.MessageChannel();
1226
- b.port1.onmessage = p, f = function() {
1227
- b.port2.postMessage(0);
1225
+ var v = new l.MessageChannel();
1226
+ v.port1.onmessage = p, f = function() {
1227
+ v.port2.postMessage(0);
1228
1228
  };
1229
1229
  }
1230
1230
  var o = [];
@@ -1240,17 +1240,17 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1240
1240
  I.exports = function(i) {
1241
1241
  o.push(i) !== 1 || s || f();
1242
1242
  };
1243
- }).call(this, typeof Ft < "u" ? Ft : typeof self < "u" ? self : typeof window < "u" ? window : {});
1243
+ }).call(this, typeof Lt < "u" ? Lt : typeof self < "u" ? self : typeof window < "u" ? window : {});
1244
1244
  }, {}], 37: [function(n, I, h) {
1245
1245
  var l = n("immediate");
1246
1246
  function f() {
1247
1247
  }
1248
- var s = {}, c = ["REJECTED"], y = ["FULFILLED"], v = ["PENDING"];
1248
+ var s = {}, c = ["REJECTED"], y = ["FULFILLED"], b = ["PENDING"];
1249
1249
  function w(a) {
1250
1250
  if (typeof a != "function") throw new TypeError("resolver must be a function");
1251
- this.state = v, this.queue = [], this.outcome = void 0, a !== f && i(this, a);
1251
+ this.state = b, this.queue = [], this.outcome = void 0, a !== f && i(this, a);
1252
1252
  }
1253
- function b(a, m, k) {
1253
+ function v(a, m, k) {
1254
1254
  this.promise = a, typeof m == "function" && (this.onFulfilled = m, this.callFulfilled = this.otherCallFulfilled), typeof k == "function" && (this.onRejected = k, this.callRejected = this.otherCallRejected);
1255
1255
  }
1256
1256
  function o(a, m, k) {
@@ -1309,14 +1309,14 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1309
1309
  }, w.prototype.then = function(a, m) {
1310
1310
  if (typeof a != "function" && this.state === y || typeof m != "function" && this.state === c) return this;
1311
1311
  var k = new this.constructor(f);
1312
- return this.state !== v ? o(k, this.state === y ? a : m, this.outcome) : this.queue.push(new b(k, a, m)), k;
1313
- }, b.prototype.callFulfilled = function(a) {
1312
+ return this.state !== b ? o(k, this.state === y ? a : m, this.outcome) : this.queue.push(new v(k, a, m)), k;
1313
+ }, v.prototype.callFulfilled = function(a) {
1314
1314
  s.resolve(this.promise, a);
1315
- }, b.prototype.otherCallFulfilled = function(a) {
1315
+ }, v.prototype.otherCallFulfilled = function(a) {
1316
1316
  o(this.promise, this.onFulfilled, a);
1317
- }, b.prototype.callRejected = function(a) {
1317
+ }, v.prototype.callRejected = function(a) {
1318
1318
  s.reject(this.promise, a);
1319
- }, b.prototype.otherCallRejected = function(a) {
1319
+ }, v.prototype.otherCallRejected = function(a) {
1320
1320
  o(this.promise, this.onRejected, a);
1321
1321
  }, s.resolve = function(a, m) {
1322
1322
  var k = d(p, m);
@@ -1342,9 +1342,9 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1342
1342
  if (Object.prototype.toString.call(a) !== "[object Array]") return this.reject(new TypeError("must be an array"));
1343
1343
  var k = a.length, E = !1;
1344
1344
  if (!k) return this.resolve([]);
1345
- for (var C = new Array(k), B = 0, P = -1, j = new this(f); ++P < k; ) T(a[P], P);
1345
+ for (var C = new Array(k), B = 0, P = -1, j = new this(f); ++P < k; ) N(a[P], P);
1346
1346
  return j;
1347
- function T(H, Q) {
1347
+ function N(H, Q) {
1348
1348
  m.resolve(H).then(function(_) {
1349
1349
  C[Q] = _, ++B !== k || E || (E = !0, s.resolve(j, C));
1350
1350
  }, function(_) {
@@ -1368,17 +1368,17 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1368
1368
  var l = {};
1369
1369
  (0, n("./lib/utils/common").assign)(l, n("./lib/deflate"), n("./lib/inflate"), n("./lib/zlib/constants")), I.exports = l;
1370
1370
  }, { "./lib/deflate": 39, "./lib/inflate": 40, "./lib/utils/common": 41, "./lib/zlib/constants": 44 }], 39: [function(n, I, h) {
1371
- var l = n("./zlib/deflate"), f = n("./utils/common"), s = n("./utils/strings"), c = n("./zlib/messages"), y = n("./zlib/zstream"), v = Object.prototype.toString, w = 0, b = -1, o = 0, p = 8;
1371
+ var l = n("./zlib/deflate"), f = n("./utils/common"), s = n("./utils/strings"), c = n("./zlib/messages"), y = n("./zlib/zstream"), b = Object.prototype.toString, w = 0, v = -1, o = 0, p = 8;
1372
1372
  function i(a) {
1373
1373
  if (!(this instanceof i)) return new i(a);
1374
- this.options = f.assign({ level: b, method: p, chunkSize: 16384, windowBits: 15, memLevel: 8, strategy: o, to: "" }, a || {});
1374
+ this.options = f.assign({ level: v, method: p, chunkSize: 16384, windowBits: 15, memLevel: 8, strategy: o, to: "" }, a || {});
1375
1375
  var m = this.options;
1376
1376
  m.raw && 0 < m.windowBits ? m.windowBits = -m.windowBits : m.gzip && 0 < m.windowBits && m.windowBits < 16 && (m.windowBits += 16), this.err = 0, this.msg = "", this.ended = !1, this.chunks = [], this.strm = new y(), this.strm.avail_out = 0;
1377
1377
  var k = l.deflateInit2(this.strm, m.level, m.method, m.windowBits, m.memLevel, m.strategy);
1378
1378
  if (k !== w) throw new Error(c[k]);
1379
1379
  if (m.header && l.deflateSetHeader(this.strm, m.header), m.dictionary) {
1380
1380
  var E;
1381
- if (E = typeof m.dictionary == "string" ? s.string2buf(m.dictionary) : v.call(m.dictionary) === "[object ArrayBuffer]" ? new Uint8Array(m.dictionary) : m.dictionary, (k = l.deflateSetDictionary(this.strm, E)) !== w) throw new Error(c[k]);
1381
+ if (E = typeof m.dictionary == "string" ? s.string2buf(m.dictionary) : b.call(m.dictionary) === "[object ArrayBuffer]" ? new Uint8Array(m.dictionary) : m.dictionary, (k = l.deflateSetDictionary(this.strm, E)) !== w) throw new Error(c[k]);
1382
1382
  this._dict_set = !0;
1383
1383
  }
1384
1384
  }
@@ -1390,7 +1390,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1390
1390
  i.prototype.push = function(a, m) {
1391
1391
  var k, E, C = this.strm, B = this.options.chunkSize;
1392
1392
  if (this.ended) return !1;
1393
- E = m === ~~m ? m : m === !0 ? 4 : 0, typeof a == "string" ? C.input = s.string2buf(a) : v.call(a) === "[object ArrayBuffer]" ? C.input = new Uint8Array(a) : C.input = a, C.next_in = 0, C.avail_in = C.input.length;
1393
+ E = m === ~~m ? m : m === !0 ? 4 : 0, typeof a == "string" ? C.input = s.string2buf(a) : b.call(a) === "[object ArrayBuffer]" ? C.input = new Uint8Array(a) : C.input = a, C.next_in = 0, C.avail_in = C.input.length;
1394
1394
  do {
1395
1395
  if (C.avail_out === 0 && (C.output = new f.Buf8(B), C.next_out = 0, C.avail_out = B), (k = l.deflate(C, E)) !== 1 && k !== w) return this.onEnd(k), !(this.ended = !0);
1396
1396
  C.avail_out !== 0 && (C.avail_in !== 0 || E !== 4 && E !== 2) || (this.options.to === "string" ? this.onData(s.buf2binstring(f.shrinkBuf(C.output, C.next_out))) : this.onData(f.shrinkBuf(C.output, C.next_out)));
@@ -1406,12 +1406,12 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1406
1406
  return (m = m || {}).gzip = !0, d(a, m);
1407
1407
  };
1408
1408
  }, { "./utils/common": 41, "./utils/strings": 42, "./zlib/deflate": 46, "./zlib/messages": 51, "./zlib/zstream": 53 }], 40: [function(n, I, h) {
1409
- var l = n("./zlib/inflate"), f = n("./utils/common"), s = n("./utils/strings"), c = n("./zlib/constants"), y = n("./zlib/messages"), v = n("./zlib/zstream"), w = n("./zlib/gzheader"), b = Object.prototype.toString;
1409
+ var l = n("./zlib/inflate"), f = n("./utils/common"), s = n("./utils/strings"), c = n("./zlib/constants"), y = n("./zlib/messages"), b = n("./zlib/zstream"), w = n("./zlib/gzheader"), v = Object.prototype.toString;
1410
1410
  function o(i) {
1411
1411
  if (!(this instanceof o)) return new o(i);
1412
1412
  this.options = f.assign({ chunkSize: 16384, windowBits: 0, to: "" }, i || {});
1413
1413
  var d = this.options;
1414
- d.raw && 0 <= d.windowBits && d.windowBits < 16 && (d.windowBits = -d.windowBits, d.windowBits === 0 && (d.windowBits = -15)), !(0 <= d.windowBits && d.windowBits < 16) || i && i.windowBits || (d.windowBits += 32), 15 < d.windowBits && d.windowBits < 48 && !(15 & d.windowBits) && (d.windowBits |= 15), this.err = 0, this.msg = "", this.ended = !1, this.chunks = [], this.strm = new v(), this.strm.avail_out = 0;
1414
+ d.raw && 0 <= d.windowBits && d.windowBits < 16 && (d.windowBits = -d.windowBits, d.windowBits === 0 && (d.windowBits = -15)), !(0 <= d.windowBits && d.windowBits < 16) || i && i.windowBits || (d.windowBits += 32), 15 < d.windowBits && d.windowBits < 48 && !(15 & d.windowBits) && (d.windowBits |= 15), this.err = 0, this.msg = "", this.ended = !1, this.chunks = [], this.strm = new b(), this.strm.avail_out = 0;
1415
1415
  var a = l.inflateInit2(this.strm, d.windowBits);
1416
1416
  if (a !== c.Z_OK) throw new Error(y[a]);
1417
1417
  this.header = new w(), l.inflateGetHeader(this.strm, this.header);
@@ -1422,11 +1422,11 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1422
1422
  return a.result;
1423
1423
  }
1424
1424
  o.prototype.push = function(i, d) {
1425
- var a, m, k, E, C, B, P = this.strm, j = this.options.chunkSize, T = this.options.dictionary, H = !1;
1425
+ var a, m, k, E, C, B, P = this.strm, j = this.options.chunkSize, N = this.options.dictionary, H = !1;
1426
1426
  if (this.ended) return !1;
1427
- m = d === ~~d ? d : d === !0 ? c.Z_FINISH : c.Z_NO_FLUSH, typeof i == "string" ? P.input = s.binstring2buf(i) : b.call(i) === "[object ArrayBuffer]" ? P.input = new Uint8Array(i) : P.input = i, P.next_in = 0, P.avail_in = P.input.length;
1427
+ m = d === ~~d ? d : d === !0 ? c.Z_FINISH : c.Z_NO_FLUSH, typeof i == "string" ? P.input = s.binstring2buf(i) : v.call(i) === "[object ArrayBuffer]" ? P.input = new Uint8Array(i) : P.input = i, P.next_in = 0, P.avail_in = P.input.length;
1428
1428
  do {
1429
- if (P.avail_out === 0 && (P.output = new f.Buf8(j), P.next_out = 0, P.avail_out = j), (a = l.inflate(P, c.Z_NO_FLUSH)) === c.Z_NEED_DICT && T && (B = typeof T == "string" ? s.string2buf(T) : b.call(T) === "[object ArrayBuffer]" ? new Uint8Array(T) : T, a = l.inflateSetDictionary(this.strm, B)), a === c.Z_BUF_ERROR && H === !0 && (a = c.Z_OK, H = !1), a !== c.Z_STREAM_END && a !== c.Z_OK) return this.onEnd(a), !(this.ended = !0);
1429
+ if (P.avail_out === 0 && (P.output = new f.Buf8(j), P.next_out = 0, P.avail_out = j), (a = l.inflate(P, c.Z_NO_FLUSH)) === c.Z_NEED_DICT && N && (B = typeof N == "string" ? s.string2buf(N) : v.call(N) === "[object ArrayBuffer]" ? new Uint8Array(N) : N, a = l.inflateSetDictionary(this.strm, B)), a === c.Z_BUF_ERROR && H === !0 && (a = c.Z_OK, H = !1), a !== c.Z_STREAM_END && a !== c.Z_OK) return this.onEnd(a), !(this.ended = !0);
1430
1430
  P.next_out && (P.avail_out !== 0 && a !== c.Z_STREAM_END && (P.avail_in !== 0 || m !== c.Z_FINISH && m !== c.Z_SYNC_FLUSH) || (this.options.to === "string" ? (k = s.utf8border(P.output, P.next_out), E = P.next_out - k, C = s.buf2string(P.output, k), P.next_out = E, P.avail_out = j - E, E && f.arraySet(P.output, P.output, k, E, 0), this.onData(C)) : this.onData(f.shrinkBuf(P.output, P.next_out)))), P.avail_in === 0 && P.avail_out === 0 && (H = !0);
1431
1431
  } while ((0 < P.avail_in || P.avail_out === 0) && a !== c.Z_STREAM_END);
1432
1432
  return a === c.Z_STREAM_END && (m = c.Z_FINISH), m === c.Z_FINISH ? (a = l.inflateEnd(this.strm), this.onEnd(a), this.ended = !0, a === c.Z_OK) : m !== c.Z_SYNC_FLUSH || (this.onEnd(c.Z_OK), !(P.avail_out = 0));
@@ -1441,26 +1441,26 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1441
1441
  var l = typeof Uint8Array < "u" && typeof Uint16Array < "u" && typeof Int32Array < "u";
1442
1442
  h.assign = function(c) {
1443
1443
  for (var y = Array.prototype.slice.call(arguments, 1); y.length; ) {
1444
- var v = y.shift();
1445
- if (v) {
1446
- if (typeof v != "object") throw new TypeError(v + "must be non-object");
1447
- for (var w in v) v.hasOwnProperty(w) && (c[w] = v[w]);
1444
+ var b = y.shift();
1445
+ if (b) {
1446
+ if (typeof b != "object") throw new TypeError(b + "must be non-object");
1447
+ for (var w in b) b.hasOwnProperty(w) && (c[w] = b[w]);
1448
1448
  }
1449
1449
  }
1450
1450
  return c;
1451
1451
  }, h.shrinkBuf = function(c, y) {
1452
1452
  return c.length === y ? c : c.subarray ? c.subarray(0, y) : (c.length = y, c);
1453
1453
  };
1454
- var f = { arraySet: function(c, y, v, w, b) {
1455
- if (y.subarray && c.subarray) c.set(y.subarray(v, v + w), b);
1456
- else for (var o = 0; o < w; o++) c[b + o] = y[v + o];
1454
+ var f = { arraySet: function(c, y, b, w, v) {
1455
+ if (y.subarray && c.subarray) c.set(y.subarray(b, b + w), v);
1456
+ else for (var o = 0; o < w; o++) c[v + o] = y[b + o];
1457
1457
  }, flattenChunks: function(c) {
1458
- var y, v, w, b, o, p;
1459
- for (y = w = 0, v = c.length; y < v; y++) w += c[y].length;
1460
- for (p = new Uint8Array(w), y = b = 0, v = c.length; y < v; y++) o = c[y], p.set(o, b), b += o.length;
1458
+ var y, b, w, v, o, p;
1459
+ for (y = w = 0, b = c.length; y < b; y++) w += c[y].length;
1460
+ for (p = new Uint8Array(w), y = v = 0, b = c.length; y < b; y++) o = c[y], p.set(o, v), v += o.length;
1461
1461
  return p;
1462
- } }, s = { arraySet: function(c, y, v, w, b) {
1463
- for (var o = 0; o < w; o++) c[b + o] = y[v + o];
1462
+ } }, s = { arraySet: function(c, y, b, w, v) {
1463
+ for (var o = 0; o < w; o++) c[v + o] = y[b + o];
1464
1464
  }, flattenChunks: function(c) {
1465
1465
  return [].concat.apply([], c);
1466
1466
  } };
@@ -1480,42 +1480,42 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1480
1480
  s = !1;
1481
1481
  }
1482
1482
  for (var c = new l.Buf8(256), y = 0; y < 256; y++) c[y] = 252 <= y ? 6 : 248 <= y ? 5 : 240 <= y ? 4 : 224 <= y ? 3 : 192 <= y ? 2 : 1;
1483
- function v(w, b) {
1484
- if (b < 65537 && (w.subarray && s || !w.subarray && f)) return String.fromCharCode.apply(null, l.shrinkBuf(w, b));
1485
- for (var o = "", p = 0; p < b; p++) o += String.fromCharCode(w[p]);
1483
+ function b(w, v) {
1484
+ if (v < 65537 && (w.subarray && s || !w.subarray && f)) return String.fromCharCode.apply(null, l.shrinkBuf(w, v));
1485
+ for (var o = "", p = 0; p < v; p++) o += String.fromCharCode(w[p]);
1486
1486
  return o;
1487
1487
  }
1488
1488
  c[254] = c[254] = 1, h.string2buf = function(w) {
1489
- var b, o, p, i, d, a = w.length, m = 0;
1489
+ var v, o, p, i, d, a = w.length, m = 0;
1490
1490
  for (i = 0; i < a; i++) (64512 & (o = w.charCodeAt(i))) == 55296 && i + 1 < a && (64512 & (p = w.charCodeAt(i + 1))) == 56320 && (o = 65536 + (o - 55296 << 10) + (p - 56320), i++), m += o < 128 ? 1 : o < 2048 ? 2 : o < 65536 ? 3 : 4;
1491
- for (b = new l.Buf8(m), i = d = 0; d < m; i++) (64512 & (o = w.charCodeAt(i))) == 55296 && i + 1 < a && (64512 & (p = w.charCodeAt(i + 1))) == 56320 && (o = 65536 + (o - 55296 << 10) + (p - 56320), i++), o < 128 ? b[d++] = o : (o < 2048 ? b[d++] = 192 | o >>> 6 : (o < 65536 ? b[d++] = 224 | o >>> 12 : (b[d++] = 240 | o >>> 18, b[d++] = 128 | o >>> 12 & 63), b[d++] = 128 | o >>> 6 & 63), b[d++] = 128 | 63 & o);
1492
- return b;
1491
+ for (v = new l.Buf8(m), i = d = 0; d < m; i++) (64512 & (o = w.charCodeAt(i))) == 55296 && i + 1 < a && (64512 & (p = w.charCodeAt(i + 1))) == 56320 && (o = 65536 + (o - 55296 << 10) + (p - 56320), i++), o < 128 ? v[d++] = o : (o < 2048 ? v[d++] = 192 | o >>> 6 : (o < 65536 ? v[d++] = 224 | o >>> 12 : (v[d++] = 240 | o >>> 18, v[d++] = 128 | o >>> 12 & 63), v[d++] = 128 | o >>> 6 & 63), v[d++] = 128 | 63 & o);
1492
+ return v;
1493
1493
  }, h.buf2binstring = function(w) {
1494
- return v(w, w.length);
1494
+ return b(w, w.length);
1495
1495
  }, h.binstring2buf = function(w) {
1496
- for (var b = new l.Buf8(w.length), o = 0, p = b.length; o < p; o++) b[o] = w.charCodeAt(o);
1497
- return b;
1498
- }, h.buf2string = function(w, b) {
1499
- var o, p, i, d, a = b || w.length, m = new Array(2 * a);
1496
+ for (var v = new l.Buf8(w.length), o = 0, p = v.length; o < p; o++) v[o] = w.charCodeAt(o);
1497
+ return v;
1498
+ }, h.buf2string = function(w, v) {
1499
+ var o, p, i, d, a = v || w.length, m = new Array(2 * a);
1500
1500
  for (o = p = 0; o < a; ) if ((i = w[o++]) < 128) m[p++] = i;
1501
1501
  else if (4 < (d = c[i])) m[p++] = 65533, o += d - 1;
1502
1502
  else {
1503
1503
  for (i &= d === 2 ? 31 : d === 3 ? 15 : 7; 1 < d && o < a; ) i = i << 6 | 63 & w[o++], d--;
1504
1504
  1 < d ? m[p++] = 65533 : i < 65536 ? m[p++] = i : (i -= 65536, m[p++] = 55296 | i >> 10 & 1023, m[p++] = 56320 | 1023 & i);
1505
1505
  }
1506
- return v(m, p);
1507
- }, h.utf8border = function(w, b) {
1506
+ return b(m, p);
1507
+ }, h.utf8border = function(w, v) {
1508
1508
  var o;
1509
- for ((b = b || w.length) > w.length && (b = w.length), o = b - 1; 0 <= o && (192 & w[o]) == 128; ) o--;
1510
- return o < 0 || o === 0 ? b : o + c[w[o]] > b ? o : b;
1509
+ for ((v = v || w.length) > w.length && (v = w.length), o = v - 1; 0 <= o && (192 & w[o]) == 128; ) o--;
1510
+ return o < 0 || o === 0 ? v : o + c[w[o]] > v ? o : v;
1511
1511
  };
1512
1512
  }, { "./common": 41 }], 43: [function(n, I, h) {
1513
1513
  I.exports = function(l, f, s, c) {
1514
- for (var y = 65535 & l | 0, v = l >>> 16 & 65535 | 0, w = 0; s !== 0; ) {
1515
- for (s -= w = 2e3 < s ? 2e3 : s; v = v + (y = y + f[c++] | 0) | 0, --w; ) ;
1516
- y %= 65521, v %= 65521;
1514
+ for (var y = 65535 & l | 0, b = l >>> 16 & 65535 | 0, w = 0; s !== 0; ) {
1515
+ for (s -= w = 2e3 < s ? 2e3 : s; b = b + (y = y + f[c++] | 0) | 0, --w; ) ;
1516
+ y %= 65521, b %= 65521;
1517
1517
  }
1518
- return y | v << 16 | 0;
1518
+ return y | b << 16 | 0;
1519
1519
  };
1520
1520
  }, {}], 44: [function(n, I, h) {
1521
1521
  I.exports = { Z_NO_FLUSH: 0, Z_PARTIAL_FLUSH: 1, Z_SYNC_FLUSH: 2, Z_FULL_FLUSH: 3, Z_FINISH: 4, Z_BLOCK: 5, Z_TREES: 6, Z_OK: 0, Z_STREAM_END: 1, Z_NEED_DICT: 2, Z_ERRNO: -1, Z_STREAM_ERROR: -2, Z_DATA_ERROR: -3, Z_BUF_ERROR: -5, Z_NO_COMPRESSION: 0, Z_BEST_SPEED: 1, Z_BEST_COMPRESSION: 9, Z_DEFAULT_COMPRESSION: -1, Z_FILTERED: 1, Z_HUFFMAN_ONLY: 2, Z_RLE: 3, Z_FIXED: 4, Z_DEFAULT_STRATEGY: 0, Z_BINARY: 0, Z_TEXT: 1, Z_UNKNOWN: 2, Z_DEFLATED: 8 };
@@ -1529,145 +1529,145 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1529
1529
  return s;
1530
1530
  }();
1531
1531
  I.exports = function(f, s, c, y) {
1532
- var v = l, w = y + c;
1532
+ var b = l, w = y + c;
1533
1533
  f ^= -1;
1534
- for (var b = y; b < w; b++) f = f >>> 8 ^ v[255 & (f ^ s[b])];
1534
+ for (var v = y; v < w; v++) f = f >>> 8 ^ b[255 & (f ^ s[v])];
1535
1535
  return -1 ^ f;
1536
1536
  };
1537
1537
  }, {}], 46: [function(n, I, h) {
1538
- var l, f = n("../utils/common"), s = n("./trees"), c = n("./adler32"), y = n("./crc32"), v = n("./messages"), w = 0, b = 4, o = 0, p = -2, i = -1, d = 4, a = 2, m = 8, k = 9, E = 286, C = 30, B = 19, P = 2 * E + 1, j = 15, T = 3, H = 258, Q = H + T + 1, _ = 42, x = 113, r = 1, R = 2, V = 3, F = 4;
1538
+ var l, f = n("../utils/common"), s = n("./trees"), c = n("./adler32"), y = n("./crc32"), b = n("./messages"), w = 0, v = 4, o = 0, p = -2, i = -1, d = 4, a = 2, m = 8, k = 9, E = 286, C = 30, B = 19, P = 2 * E + 1, j = 15, N = 3, H = 258, Q = H + N + 1, _ = 42, x = 113, r = 1, R = 2, K = 3, F = 4;
1539
1539
  function Y(e, L) {
1540
- return e.msg = v[L], L;
1540
+ return e.msg = b[L], L;
1541
1541
  }
1542
1542
  function D(e) {
1543
1543
  return (e << 1) - (4 < e ? 9 : 0);
1544
1544
  }
1545
- function J(e) {
1545
+ function X(e) {
1546
1546
  for (var L = e.length; 0 <= --L; ) e[L] = 0;
1547
1547
  }
1548
1548
  function O(e) {
1549
- var L = e.state, N = L.pending;
1550
- N > e.avail_out && (N = e.avail_out), N !== 0 && (f.arraySet(e.output, L.pending_buf, L.pending_out, N, e.next_out), e.next_out += N, L.pending_out += N, e.total_out += N, e.avail_out -= N, L.pending -= N, L.pending === 0 && (L.pending_out = 0));
1549
+ var L = e.state, T = L.pending;
1550
+ T > e.avail_out && (T = e.avail_out), T !== 0 && (f.arraySet(e.output, L.pending_buf, L.pending_out, T, e.next_out), e.next_out += T, L.pending_out += T, e.total_out += T, e.avail_out -= T, L.pending -= T, L.pending === 0 && (L.pending_out = 0));
1551
1551
  }
1552
- function A(e, L) {
1552
+ function z(e, L) {
1553
1553
  s._tr_flush_block(e, 0 <= e.block_start ? e.block_start : -1, e.strstart - e.block_start, L), e.block_start = e.strstart, O(e.strm);
1554
1554
  }
1555
- function X(e, L) {
1555
+ function J(e, L) {
1556
1556
  e.pending_buf[e.pending++] = L;
1557
1557
  }
1558
1558
  function Z(e, L) {
1559
1559
  e.pending_buf[e.pending++] = L >>> 8 & 255, e.pending_buf[e.pending++] = 255 & L;
1560
1560
  }
1561
- function M(e, L) {
1562
- var N, g, u = e.max_chain_length, S = e.strstart, U = e.prev_length, W = e.nice_match, z = e.strstart > e.w_size - Q ? e.strstart - (e.w_size - Q) : 0, q = e.window, K = e.w_mask, G = e.prev, et = e.strstart + H, lt = q[S + U - 1], st = q[S + U];
1563
- e.prev_length >= e.good_match && (u >>= 2), W > e.lookahead && (W = e.lookahead);
1561
+ function W(e, L) {
1562
+ var T, g, u = e.max_chain_length, S = e.strstart, U = e.prev_length, M = e.nice_match, A = e.strstart > e.w_size - Q ? e.strstart - (e.w_size - Q) : 0, q = e.window, V = e.w_mask, G = e.prev, et = e.strstart + H, ct = q[S + U - 1], it = q[S + U];
1563
+ e.prev_length >= e.good_match && (u >>= 2), M > e.lookahead && (M = e.lookahead);
1564
1564
  do
1565
- if (q[(N = L) + U] === st && q[N + U - 1] === lt && q[N] === q[S] && q[++N] === q[S + 1]) {
1566
- S += 2, N++;
1565
+ if (q[(T = L) + U] === it && q[T + U - 1] === ct && q[T] === q[S] && q[++T] === q[S + 1]) {
1566
+ S += 2, T++;
1567
1567
  do
1568
1568
  ;
1569
- while (q[++S] === q[++N] && q[++S] === q[++N] && q[++S] === q[++N] && q[++S] === q[++N] && q[++S] === q[++N] && q[++S] === q[++N] && q[++S] === q[++N] && q[++S] === q[++N] && S < et);
1569
+ while (q[++S] === q[++T] && q[++S] === q[++T] && q[++S] === q[++T] && q[++S] === q[++T] && q[++S] === q[++T] && q[++S] === q[++T] && q[++S] === q[++T] && q[++S] === q[++T] && S < et);
1570
1570
  if (g = H - (et - S), S = et - H, U < g) {
1571
- if (e.match_start = L, W <= (U = g)) break;
1572
- lt = q[S + U - 1], st = q[S + U];
1571
+ if (e.match_start = L, M <= (U = g)) break;
1572
+ ct = q[S + U - 1], it = q[S + U];
1573
1573
  }
1574
1574
  }
1575
- while ((L = G[L & K]) > z && --u != 0);
1575
+ while ((L = G[L & V]) > A && --u != 0);
1576
1576
  return U <= e.lookahead ? U : e.lookahead;
1577
1577
  }
1578
- function it(e) {
1579
- var L, N, g, u, S, U, W, z, q, K, G = e.w_size;
1578
+ function st(e) {
1579
+ var L, T, g, u, S, U, M, A, q, V, G = e.w_size;
1580
1580
  do {
1581
1581
  if (u = e.window_size - e.lookahead - e.strstart, e.strstart >= G + (G - Q)) {
1582
- for (f.arraySet(e.window, e.window, G, G, 0), e.match_start -= G, e.strstart -= G, e.block_start -= G, L = N = e.hash_size; g = e.head[--L], e.head[L] = G <= g ? g - G : 0, --N; ) ;
1583
- for (L = N = G; g = e.prev[--L], e.prev[L] = G <= g ? g - G : 0, --N; ) ;
1582
+ for (f.arraySet(e.window, e.window, G, G, 0), e.match_start -= G, e.strstart -= G, e.block_start -= G, L = T = e.hash_size; g = e.head[--L], e.head[L] = G <= g ? g - G : 0, --T; ) ;
1583
+ for (L = T = G; g = e.prev[--L], e.prev[L] = G <= g ? g - G : 0, --T; ) ;
1584
1584
  u += G;
1585
1585
  }
1586
1586
  if (e.strm.avail_in === 0) break;
1587
- if (U = e.strm, W = e.window, z = e.strstart + e.lookahead, q = u, K = void 0, K = U.avail_in, q < K && (K = q), N = K === 0 ? 0 : (U.avail_in -= K, f.arraySet(W, U.input, U.next_in, K, z), U.state.wrap === 1 ? U.adler = c(U.adler, W, K, z) : U.state.wrap === 2 && (U.adler = y(U.adler, W, K, z)), U.next_in += K, U.total_in += K, K), e.lookahead += N, e.lookahead + e.insert >= T) for (S = e.strstart - e.insert, e.ins_h = e.window[S], e.ins_h = (e.ins_h << e.hash_shift ^ e.window[S + 1]) & e.hash_mask; e.insert && (e.ins_h = (e.ins_h << e.hash_shift ^ e.window[S + T - 1]) & e.hash_mask, e.prev[S & e.w_mask] = e.head[e.ins_h], e.head[e.ins_h] = S, S++, e.insert--, !(e.lookahead + e.insert < T)); ) ;
1587
+ if (U = e.strm, M = e.window, A = e.strstart + e.lookahead, q = u, V = void 0, V = U.avail_in, q < V && (V = q), T = V === 0 ? 0 : (U.avail_in -= V, f.arraySet(M, U.input, U.next_in, V, A), U.state.wrap === 1 ? U.adler = c(U.adler, M, V, A) : U.state.wrap === 2 && (U.adler = y(U.adler, M, V, A)), U.next_in += V, U.total_in += V, V), e.lookahead += T, e.lookahead + e.insert >= N) for (S = e.strstart - e.insert, e.ins_h = e.window[S], e.ins_h = (e.ins_h << e.hash_shift ^ e.window[S + 1]) & e.hash_mask; e.insert && (e.ins_h = (e.ins_h << e.hash_shift ^ e.window[S + N - 1]) & e.hash_mask, e.prev[S & e.w_mask] = e.head[e.ins_h], e.head[e.ins_h] = S, S++, e.insert--, !(e.lookahead + e.insert < N)); ) ;
1588
1588
  } while (e.lookahead < Q && e.strm.avail_in !== 0);
1589
1589
  }
1590
1590
  function at(e, L) {
1591
- for (var N, g; ; ) {
1591
+ for (var T, g; ; ) {
1592
1592
  if (e.lookahead < Q) {
1593
- if (it(e), e.lookahead < Q && L === w) return r;
1593
+ if (st(e), e.lookahead < Q && L === w) return r;
1594
1594
  if (e.lookahead === 0) break;
1595
1595
  }
1596
- if (N = 0, e.lookahead >= T && (e.ins_h = (e.ins_h << e.hash_shift ^ e.window[e.strstart + T - 1]) & e.hash_mask, N = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h], e.head[e.ins_h] = e.strstart), N !== 0 && e.strstart - N <= e.w_size - Q && (e.match_length = M(e, N)), e.match_length >= T) if (g = s._tr_tally(e, e.strstart - e.match_start, e.match_length - T), e.lookahead -= e.match_length, e.match_length <= e.max_lazy_match && e.lookahead >= T) {
1597
- for (e.match_length--; e.strstart++, e.ins_h = (e.ins_h << e.hash_shift ^ e.window[e.strstart + T - 1]) & e.hash_mask, N = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h], e.head[e.ins_h] = e.strstart, --e.match_length != 0; ) ;
1596
+ if (T = 0, e.lookahead >= N && (e.ins_h = (e.ins_h << e.hash_shift ^ e.window[e.strstart + N - 1]) & e.hash_mask, T = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h], e.head[e.ins_h] = e.strstart), T !== 0 && e.strstart - T <= e.w_size - Q && (e.match_length = W(e, T)), e.match_length >= N) if (g = s._tr_tally(e, e.strstart - e.match_start, e.match_length - N), e.lookahead -= e.match_length, e.match_length <= e.max_lazy_match && e.lookahead >= N) {
1597
+ for (e.match_length--; e.strstart++, e.ins_h = (e.ins_h << e.hash_shift ^ e.window[e.strstart + N - 1]) & e.hash_mask, T = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h], e.head[e.ins_h] = e.strstart, --e.match_length != 0; ) ;
1598
1598
  e.strstart++;
1599
1599
  } else e.strstart += e.match_length, e.match_length = 0, e.ins_h = e.window[e.strstart], e.ins_h = (e.ins_h << e.hash_shift ^ e.window[e.strstart + 1]) & e.hash_mask;
1600
1600
  else g = s._tr_tally(e, 0, e.window[e.strstart]), e.lookahead--, e.strstart++;
1601
- if (g && (A(e, !1), e.strm.avail_out === 0)) return r;
1601
+ if (g && (z(e, !1), e.strm.avail_out === 0)) return r;
1602
1602
  }
1603
- return e.insert = e.strstart < T - 1 ? e.strstart : T - 1, L === b ? (A(e, !0), e.strm.avail_out === 0 ? V : F) : e.last_lit && (A(e, !1), e.strm.avail_out === 0) ? r : R;
1603
+ return e.insert = e.strstart < N - 1 ? e.strstart : N - 1, L === v ? (z(e, !0), e.strm.avail_out === 0 ? K : F) : e.last_lit && (z(e, !1), e.strm.avail_out === 0) ? r : R;
1604
1604
  }
1605
1605
  function nt(e, L) {
1606
- for (var N, g, u; ; ) {
1606
+ for (var T, g, u; ; ) {
1607
1607
  if (e.lookahead < Q) {
1608
- if (it(e), e.lookahead < Q && L === w) return r;
1608
+ if (st(e), e.lookahead < Q && L === w) return r;
1609
1609
  if (e.lookahead === 0) break;
1610
1610
  }
1611
- if (N = 0, e.lookahead >= T && (e.ins_h = (e.ins_h << e.hash_shift ^ e.window[e.strstart + T - 1]) & e.hash_mask, N = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h], e.head[e.ins_h] = e.strstart), e.prev_length = e.match_length, e.prev_match = e.match_start, e.match_length = T - 1, N !== 0 && e.prev_length < e.max_lazy_match && e.strstart - N <= e.w_size - Q && (e.match_length = M(e, N), e.match_length <= 5 && (e.strategy === 1 || e.match_length === T && 4096 < e.strstart - e.match_start) && (e.match_length = T - 1)), e.prev_length >= T && e.match_length <= e.prev_length) {
1612
- for (u = e.strstart + e.lookahead - T, g = s._tr_tally(e, e.strstart - 1 - e.prev_match, e.prev_length - T), e.lookahead -= e.prev_length - 1, e.prev_length -= 2; ++e.strstart <= u && (e.ins_h = (e.ins_h << e.hash_shift ^ e.window[e.strstart + T - 1]) & e.hash_mask, N = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h], e.head[e.ins_h] = e.strstart), --e.prev_length != 0; ) ;
1613
- if (e.match_available = 0, e.match_length = T - 1, e.strstart++, g && (A(e, !1), e.strm.avail_out === 0)) return r;
1611
+ if (T = 0, e.lookahead >= N && (e.ins_h = (e.ins_h << e.hash_shift ^ e.window[e.strstart + N - 1]) & e.hash_mask, T = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h], e.head[e.ins_h] = e.strstart), e.prev_length = e.match_length, e.prev_match = e.match_start, e.match_length = N - 1, T !== 0 && e.prev_length < e.max_lazy_match && e.strstart - T <= e.w_size - Q && (e.match_length = W(e, T), e.match_length <= 5 && (e.strategy === 1 || e.match_length === N && 4096 < e.strstart - e.match_start) && (e.match_length = N - 1)), e.prev_length >= N && e.match_length <= e.prev_length) {
1612
+ for (u = e.strstart + e.lookahead - N, g = s._tr_tally(e, e.strstart - 1 - e.prev_match, e.prev_length - N), e.lookahead -= e.prev_length - 1, e.prev_length -= 2; ++e.strstart <= u && (e.ins_h = (e.ins_h << e.hash_shift ^ e.window[e.strstart + N - 1]) & e.hash_mask, T = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h], e.head[e.ins_h] = e.strstart), --e.prev_length != 0; ) ;
1613
+ if (e.match_available = 0, e.match_length = N - 1, e.strstart++, g && (z(e, !1), e.strm.avail_out === 0)) return r;
1614
1614
  } else if (e.match_available) {
1615
- if ((g = s._tr_tally(e, 0, e.window[e.strstart - 1])) && A(e, !1), e.strstart++, e.lookahead--, e.strm.avail_out === 0) return r;
1615
+ if ((g = s._tr_tally(e, 0, e.window[e.strstart - 1])) && z(e, !1), e.strstart++, e.lookahead--, e.strm.avail_out === 0) return r;
1616
1616
  } else e.match_available = 1, e.strstart++, e.lookahead--;
1617
1617
  }
1618
- return e.match_available && (g = s._tr_tally(e, 0, e.window[e.strstart - 1]), e.match_available = 0), e.insert = e.strstart < T - 1 ? e.strstart : T - 1, L === b ? (A(e, !0), e.strm.avail_out === 0 ? V : F) : e.last_lit && (A(e, !1), e.strm.avail_out === 0) ? r : R;
1618
+ return e.match_available && (g = s._tr_tally(e, 0, e.window[e.strstart - 1]), e.match_available = 0), e.insert = e.strstart < N - 1 ? e.strstart : N - 1, L === v ? (z(e, !0), e.strm.avail_out === 0 ? K : F) : e.last_lit && (z(e, !1), e.strm.avail_out === 0) ? r : R;
1619
1619
  }
1620
- function tt(e, L, N, g, u) {
1621
- this.good_length = e, this.max_lazy = L, this.nice_length = N, this.max_chain = g, this.func = u;
1620
+ function tt(e, L, T, g, u) {
1621
+ this.good_length = e, this.max_lazy = L, this.nice_length = T, this.max_chain = g, this.func = u;
1622
1622
  }
1623
- function ot() {
1624
- this.strm = null, this.status = 0, this.pending_buf = null, this.pending_buf_size = 0, this.pending_out = 0, this.pending = 0, this.wrap = 0, this.gzhead = null, this.gzindex = 0, this.method = m, this.last_flush = -1, this.w_size = 0, this.w_bits = 0, this.w_mask = 0, this.window = null, this.window_size = 0, this.prev = null, this.head = null, this.ins_h = 0, this.hash_size = 0, this.hash_bits = 0, this.hash_mask = 0, this.hash_shift = 0, this.block_start = 0, this.match_length = 0, this.prev_match = 0, this.match_available = 0, this.strstart = 0, this.match_start = 0, this.lookahead = 0, this.prev_length = 0, this.max_chain_length = 0, this.max_lazy_match = 0, this.level = 0, this.strategy = 0, this.good_match = 0, this.nice_match = 0, this.dyn_ltree = new f.Buf16(2 * P), this.dyn_dtree = new f.Buf16(2 * (2 * C + 1)), this.bl_tree = new f.Buf16(2 * (2 * B + 1)), J(this.dyn_ltree), J(this.dyn_dtree), J(this.bl_tree), this.l_desc = null, this.d_desc = null, this.bl_desc = null, this.bl_count = new f.Buf16(j + 1), this.heap = new f.Buf16(2 * E + 1), J(this.heap), this.heap_len = 0, this.heap_max = 0, this.depth = new f.Buf16(2 * E + 1), J(this.depth), this.l_buf = 0, this.lit_bufsize = 0, this.last_lit = 0, this.d_buf = 0, this.opt_len = 0, this.static_len = 0, this.matches = 0, this.insert = 0, this.bi_buf = 0, this.bi_valid = 0;
1623
+ function lt() {
1624
+ this.strm = null, this.status = 0, this.pending_buf = null, this.pending_buf_size = 0, this.pending_out = 0, this.pending = 0, this.wrap = 0, this.gzhead = null, this.gzindex = 0, this.method = m, this.last_flush = -1, this.w_size = 0, this.w_bits = 0, this.w_mask = 0, this.window = null, this.window_size = 0, this.prev = null, this.head = null, this.ins_h = 0, this.hash_size = 0, this.hash_bits = 0, this.hash_mask = 0, this.hash_shift = 0, this.block_start = 0, this.match_length = 0, this.prev_match = 0, this.match_available = 0, this.strstart = 0, this.match_start = 0, this.lookahead = 0, this.prev_length = 0, this.max_chain_length = 0, this.max_lazy_match = 0, this.level = 0, this.strategy = 0, this.good_match = 0, this.nice_match = 0, this.dyn_ltree = new f.Buf16(2 * P), this.dyn_dtree = new f.Buf16(2 * (2 * C + 1)), this.bl_tree = new f.Buf16(2 * (2 * B + 1)), X(this.dyn_ltree), X(this.dyn_dtree), X(this.bl_tree), this.l_desc = null, this.d_desc = null, this.bl_desc = null, this.bl_count = new f.Buf16(j + 1), this.heap = new f.Buf16(2 * E + 1), X(this.heap), this.heap_len = 0, this.heap_max = 0, this.depth = new f.Buf16(2 * E + 1), X(this.depth), this.l_buf = 0, this.lit_bufsize = 0, this.last_lit = 0, this.d_buf = 0, this.opt_len = 0, this.static_len = 0, this.matches = 0, this.insert = 0, this.bi_buf = 0, this.bi_valid = 0;
1625
1625
  }
1626
- function ct(e) {
1626
+ function ot(e) {
1627
1627
  var L;
1628
1628
  return e && e.state ? (e.total_in = e.total_out = 0, e.data_type = a, (L = e.state).pending = 0, L.pending_out = 0, L.wrap < 0 && (L.wrap = -L.wrap), L.status = L.wrap ? _ : x, e.adler = L.wrap === 2 ? 0 : 1, L.last_flush = w, s._tr_init(L), o) : Y(e, p);
1629
1629
  }
1630
- function ut(e) {
1631
- var L = ct(e);
1632
- return L === o && function(N) {
1633
- N.window_size = 2 * N.w_size, J(N.head), N.max_lazy_match = l[N.level].max_lazy, N.good_match = l[N.level].good_length, N.nice_match = l[N.level].nice_length, N.max_chain_length = l[N.level].max_chain, N.strstart = 0, N.block_start = 0, N.lookahead = 0, N.insert = 0, N.match_length = N.prev_length = T - 1, N.match_available = 0, N.ins_h = 0;
1630
+ function ft(e) {
1631
+ var L = ot(e);
1632
+ return L === o && function(T) {
1633
+ T.window_size = 2 * T.w_size, X(T.head), T.max_lazy_match = l[T.level].max_lazy, T.good_match = l[T.level].good_length, T.nice_match = l[T.level].nice_length, T.max_chain_length = l[T.level].max_chain, T.strstart = 0, T.block_start = 0, T.lookahead = 0, T.insert = 0, T.match_length = T.prev_length = N - 1, T.match_available = 0, T.ins_h = 0;
1634
1634
  }(e.state), L;
1635
1635
  }
1636
- function ft(e, L, N, g, u, S) {
1636
+ function ut(e, L, T, g, u, S) {
1637
1637
  if (!e) return p;
1638
1638
  var U = 1;
1639
- if (L === i && (L = 6), g < 0 ? (U = 0, g = -g) : 15 < g && (U = 2, g -= 16), u < 1 || k < u || N !== m || g < 8 || 15 < g || L < 0 || 9 < L || S < 0 || d < S) return Y(e, p);
1639
+ if (L === i && (L = 6), g < 0 ? (U = 0, g = -g) : 15 < g && (U = 2, g -= 16), u < 1 || k < u || T !== m || g < 8 || 15 < g || L < 0 || 9 < L || S < 0 || d < S) return Y(e, p);
1640
1640
  g === 8 && (g = 9);
1641
- var W = new ot();
1642
- return (e.state = W).strm = e, W.wrap = U, W.gzhead = null, W.w_bits = g, W.w_size = 1 << W.w_bits, W.w_mask = W.w_size - 1, W.hash_bits = u + 7, W.hash_size = 1 << W.hash_bits, W.hash_mask = W.hash_size - 1, W.hash_shift = ~~((W.hash_bits + T - 1) / T), W.window = new f.Buf8(2 * W.w_size), W.head = new f.Buf16(W.hash_size), W.prev = new f.Buf16(W.w_size), W.lit_bufsize = 1 << u + 6, W.pending_buf_size = 4 * W.lit_bufsize, W.pending_buf = new f.Buf8(W.pending_buf_size), W.d_buf = 1 * W.lit_bufsize, W.l_buf = 3 * W.lit_bufsize, W.level = L, W.strategy = S, W.method = N, ut(e);
1641
+ var M = new lt();
1642
+ return (e.state = M).strm = e, M.wrap = U, M.gzhead = null, M.w_bits = g, M.w_size = 1 << M.w_bits, M.w_mask = M.w_size - 1, M.hash_bits = u + 7, M.hash_size = 1 << M.hash_bits, M.hash_mask = M.hash_size - 1, M.hash_shift = ~~((M.hash_bits + N - 1) / N), M.window = new f.Buf8(2 * M.w_size), M.head = new f.Buf16(M.hash_size), M.prev = new f.Buf16(M.w_size), M.lit_bufsize = 1 << u + 6, M.pending_buf_size = 4 * M.lit_bufsize, M.pending_buf = new f.Buf8(M.pending_buf_size), M.d_buf = 1 * M.lit_bufsize, M.l_buf = 3 * M.lit_bufsize, M.level = L, M.strategy = S, M.method = T, ft(e);
1643
1643
  }
1644
1644
  l = [new tt(0, 0, 0, 0, function(e, L) {
1645
- var N = 65535;
1646
- for (N > e.pending_buf_size - 5 && (N = e.pending_buf_size - 5); ; ) {
1645
+ var T = 65535;
1646
+ for (T > e.pending_buf_size - 5 && (T = e.pending_buf_size - 5); ; ) {
1647
1647
  if (e.lookahead <= 1) {
1648
- if (it(e), e.lookahead === 0 && L === w) return r;
1648
+ if (st(e), e.lookahead === 0 && L === w) return r;
1649
1649
  if (e.lookahead === 0) break;
1650
1650
  }
1651
1651
  e.strstart += e.lookahead, e.lookahead = 0;
1652
- var g = e.block_start + N;
1653
- if ((e.strstart === 0 || e.strstart >= g) && (e.lookahead = e.strstart - g, e.strstart = g, A(e, !1), e.strm.avail_out === 0) || e.strstart - e.block_start >= e.w_size - Q && (A(e, !1), e.strm.avail_out === 0)) return r;
1652
+ var g = e.block_start + T;
1653
+ if ((e.strstart === 0 || e.strstart >= g) && (e.lookahead = e.strstart - g, e.strstart = g, z(e, !1), e.strm.avail_out === 0) || e.strstart - e.block_start >= e.w_size - Q && (z(e, !1), e.strm.avail_out === 0)) return r;
1654
1654
  }
1655
- return e.insert = 0, L === b ? (A(e, !0), e.strm.avail_out === 0 ? V : F) : (e.strstart > e.block_start && (A(e, !1), e.strm.avail_out), r);
1655
+ return e.insert = 0, L === v ? (z(e, !0), e.strm.avail_out === 0 ? K : F) : (e.strstart > e.block_start && (z(e, !1), e.strm.avail_out), r);
1656
1656
  }), new tt(4, 4, 8, 4, at), new tt(4, 5, 16, 8, at), new tt(4, 6, 32, 32, at), new tt(4, 4, 16, 16, nt), new tt(8, 16, 32, 32, nt), new tt(8, 16, 128, 128, nt), new tt(8, 32, 128, 256, nt), new tt(32, 128, 258, 1024, nt), new tt(32, 258, 258, 4096, nt)], h.deflateInit = function(e, L) {
1657
- return ft(e, L, m, 15, 8, 0);
1658
- }, h.deflateInit2 = ft, h.deflateReset = ut, h.deflateResetKeep = ct, h.deflateSetHeader = function(e, L) {
1657
+ return ut(e, L, m, 15, 8, 0);
1658
+ }, h.deflateInit2 = ut, h.deflateReset = ft, h.deflateResetKeep = ot, h.deflateSetHeader = function(e, L) {
1659
1659
  return e && e.state ? e.state.wrap !== 2 ? p : (e.state.gzhead = L, o) : p;
1660
1660
  }, h.deflate = function(e, L) {
1661
- var N, g, u, S;
1661
+ var T, g, u, S;
1662
1662
  if (!e || !e.state || 5 < L || L < 0) return e ? Y(e, p) : p;
1663
- if (g = e.state, !e.output || !e.input && e.avail_in !== 0 || g.status === 666 && L !== b) return Y(e, e.avail_out === 0 ? -5 : p);
1664
- if (g.strm = e, N = g.last_flush, g.last_flush = L, g.status === _) if (g.wrap === 2) e.adler = 0, X(g, 31), X(g, 139), X(g, 8), g.gzhead ? (X(g, (g.gzhead.text ? 1 : 0) + (g.gzhead.hcrc ? 2 : 0) + (g.gzhead.extra ? 4 : 0) + (g.gzhead.name ? 8 : 0) + (g.gzhead.comment ? 16 : 0)), X(g, 255 & g.gzhead.time), X(g, g.gzhead.time >> 8 & 255), X(g, g.gzhead.time >> 16 & 255), X(g, g.gzhead.time >> 24 & 255), X(g, g.level === 9 ? 2 : 2 <= g.strategy || g.level < 2 ? 4 : 0), X(g, 255 & g.gzhead.os), g.gzhead.extra && g.gzhead.extra.length && (X(g, 255 & g.gzhead.extra.length), X(g, g.gzhead.extra.length >> 8 & 255)), g.gzhead.hcrc && (e.adler = y(e.adler, g.pending_buf, g.pending, 0)), g.gzindex = 0, g.status = 69) : (X(g, 0), X(g, 0), X(g, 0), X(g, 0), X(g, 0), X(g, g.level === 9 ? 2 : 2 <= g.strategy || g.level < 2 ? 4 : 0), X(g, 3), g.status = x);
1663
+ if (g = e.state, !e.output || !e.input && e.avail_in !== 0 || g.status === 666 && L !== v) return Y(e, e.avail_out === 0 ? -5 : p);
1664
+ if (g.strm = e, T = g.last_flush, g.last_flush = L, g.status === _) if (g.wrap === 2) e.adler = 0, J(g, 31), J(g, 139), J(g, 8), g.gzhead ? (J(g, (g.gzhead.text ? 1 : 0) + (g.gzhead.hcrc ? 2 : 0) + (g.gzhead.extra ? 4 : 0) + (g.gzhead.name ? 8 : 0) + (g.gzhead.comment ? 16 : 0)), J(g, 255 & g.gzhead.time), J(g, g.gzhead.time >> 8 & 255), J(g, g.gzhead.time >> 16 & 255), J(g, g.gzhead.time >> 24 & 255), J(g, g.level === 9 ? 2 : 2 <= g.strategy || g.level < 2 ? 4 : 0), J(g, 255 & g.gzhead.os), g.gzhead.extra && g.gzhead.extra.length && (J(g, 255 & g.gzhead.extra.length), J(g, g.gzhead.extra.length >> 8 & 255)), g.gzhead.hcrc && (e.adler = y(e.adler, g.pending_buf, g.pending, 0)), g.gzindex = 0, g.status = 69) : (J(g, 0), J(g, 0), J(g, 0), J(g, 0), J(g, 0), J(g, g.level === 9 ? 2 : 2 <= g.strategy || g.level < 2 ? 4 : 0), J(g, 3), g.status = x);
1665
1665
  else {
1666
1666
  var U = m + (g.w_bits - 8 << 4) << 8;
1667
1667
  U |= (2 <= g.strategy || g.level < 2 ? 0 : g.level < 6 ? 1 : g.level === 6 ? 2 : 3) << 6, g.strstart !== 0 && (U |= 32), U += 31 - U % 31, g.status = x, Z(g, U), g.strstart !== 0 && (Z(g, e.adler >>> 16), Z(g, 65535 & e.adler)), e.adler = 1;
1668
1668
  }
1669
1669
  if (g.status === 69) if (g.gzhead.extra) {
1670
- for (u = g.pending; g.gzindex < (65535 & g.gzhead.extra.length) && (g.pending !== g.pending_buf_size || (g.gzhead.hcrc && g.pending > u && (e.adler = y(e.adler, g.pending_buf, g.pending - u, u)), O(e), u = g.pending, g.pending !== g.pending_buf_size)); ) X(g, 255 & g.gzhead.extra[g.gzindex]), g.gzindex++;
1670
+ for (u = g.pending; g.gzindex < (65535 & g.gzhead.extra.length) && (g.pending !== g.pending_buf_size || (g.gzhead.hcrc && g.pending > u && (e.adler = y(e.adler, g.pending_buf, g.pending - u, u)), O(e), u = g.pending, g.pending !== g.pending_buf_size)); ) J(g, 255 & g.gzhead.extra[g.gzindex]), g.gzindex++;
1671
1671
  g.gzhead.hcrc && g.pending > u && (e.adler = y(e.adler, g.pending_buf, g.pending - u, u)), g.gzindex === g.gzhead.extra.length && (g.gzindex = 0, g.status = 73);
1672
1672
  } else g.status = 73;
1673
1673
  if (g.status === 73) if (g.gzhead.name) {
@@ -1677,7 +1677,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1677
1677
  S = 1;
1678
1678
  break;
1679
1679
  }
1680
- S = g.gzindex < g.gzhead.name.length ? 255 & g.gzhead.name.charCodeAt(g.gzindex++) : 0, X(g, S);
1680
+ S = g.gzindex < g.gzhead.name.length ? 255 & g.gzhead.name.charCodeAt(g.gzindex++) : 0, J(g, S);
1681
1681
  } while (S !== 0);
1682
1682
  g.gzhead.hcrc && g.pending > u && (e.adler = y(e.adler, g.pending_buf, g.pending - u, u)), S === 0 && (g.gzindex = 0, g.status = 91);
1683
1683
  } else g.status = 91;
@@ -1688,56 +1688,56 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1688
1688
  S = 1;
1689
1689
  break;
1690
1690
  }
1691
- S = g.gzindex < g.gzhead.comment.length ? 255 & g.gzhead.comment.charCodeAt(g.gzindex++) : 0, X(g, S);
1691
+ S = g.gzindex < g.gzhead.comment.length ? 255 & g.gzhead.comment.charCodeAt(g.gzindex++) : 0, J(g, S);
1692
1692
  } while (S !== 0);
1693
1693
  g.gzhead.hcrc && g.pending > u && (e.adler = y(e.adler, g.pending_buf, g.pending - u, u)), S === 0 && (g.status = 103);
1694
1694
  } else g.status = 103;
1695
- if (g.status === 103 && (g.gzhead.hcrc ? (g.pending + 2 > g.pending_buf_size && O(e), g.pending + 2 <= g.pending_buf_size && (X(g, 255 & e.adler), X(g, e.adler >> 8 & 255), e.adler = 0, g.status = x)) : g.status = x), g.pending !== 0) {
1695
+ if (g.status === 103 && (g.gzhead.hcrc ? (g.pending + 2 > g.pending_buf_size && O(e), g.pending + 2 <= g.pending_buf_size && (J(g, 255 & e.adler), J(g, e.adler >> 8 & 255), e.adler = 0, g.status = x)) : g.status = x), g.pending !== 0) {
1696
1696
  if (O(e), e.avail_out === 0) return g.last_flush = -1, o;
1697
- } else if (e.avail_in === 0 && D(L) <= D(N) && L !== b) return Y(e, -5);
1697
+ } else if (e.avail_in === 0 && D(L) <= D(T) && L !== v) return Y(e, -5);
1698
1698
  if (g.status === 666 && e.avail_in !== 0) return Y(e, -5);
1699
1699
  if (e.avail_in !== 0 || g.lookahead !== 0 || L !== w && g.status !== 666) {
1700
- var W = g.strategy === 2 ? function(z, q) {
1701
- for (var K; ; ) {
1702
- if (z.lookahead === 0 && (it(z), z.lookahead === 0)) {
1700
+ var M = g.strategy === 2 ? function(A, q) {
1701
+ for (var V; ; ) {
1702
+ if (A.lookahead === 0 && (st(A), A.lookahead === 0)) {
1703
1703
  if (q === w) return r;
1704
1704
  break;
1705
1705
  }
1706
- if (z.match_length = 0, K = s._tr_tally(z, 0, z.window[z.strstart]), z.lookahead--, z.strstart++, K && (A(z, !1), z.strm.avail_out === 0)) return r;
1706
+ if (A.match_length = 0, V = s._tr_tally(A, 0, A.window[A.strstart]), A.lookahead--, A.strstart++, V && (z(A, !1), A.strm.avail_out === 0)) return r;
1707
1707
  }
1708
- return z.insert = 0, q === b ? (A(z, !0), z.strm.avail_out === 0 ? V : F) : z.last_lit && (A(z, !1), z.strm.avail_out === 0) ? r : R;
1709
- }(g, L) : g.strategy === 3 ? function(z, q) {
1710
- for (var K, G, et, lt, st = z.window; ; ) {
1711
- if (z.lookahead <= H) {
1712
- if (it(z), z.lookahead <= H && q === w) return r;
1713
- if (z.lookahead === 0) break;
1708
+ return A.insert = 0, q === v ? (z(A, !0), A.strm.avail_out === 0 ? K : F) : A.last_lit && (z(A, !1), A.strm.avail_out === 0) ? r : R;
1709
+ }(g, L) : g.strategy === 3 ? function(A, q) {
1710
+ for (var V, G, et, ct, it = A.window; ; ) {
1711
+ if (A.lookahead <= H) {
1712
+ if (st(A), A.lookahead <= H && q === w) return r;
1713
+ if (A.lookahead === 0) break;
1714
1714
  }
1715
- if (z.match_length = 0, z.lookahead >= T && 0 < z.strstart && (G = st[et = z.strstart - 1]) === st[++et] && G === st[++et] && G === st[++et]) {
1716
- lt = z.strstart + H;
1715
+ if (A.match_length = 0, A.lookahead >= N && 0 < A.strstart && (G = it[et = A.strstart - 1]) === it[++et] && G === it[++et] && G === it[++et]) {
1716
+ ct = A.strstart + H;
1717
1717
  do
1718
1718
  ;
1719
- while (G === st[++et] && G === st[++et] && G === st[++et] && G === st[++et] && G === st[++et] && G === st[++et] && G === st[++et] && G === st[++et] && et < lt);
1720
- z.match_length = H - (lt - et), z.match_length > z.lookahead && (z.match_length = z.lookahead);
1719
+ while (G === it[++et] && G === it[++et] && G === it[++et] && G === it[++et] && G === it[++et] && G === it[++et] && G === it[++et] && G === it[++et] && et < ct);
1720
+ A.match_length = H - (ct - et), A.match_length > A.lookahead && (A.match_length = A.lookahead);
1721
1721
  }
1722
- if (z.match_length >= T ? (K = s._tr_tally(z, 1, z.match_length - T), z.lookahead -= z.match_length, z.strstart += z.match_length, z.match_length = 0) : (K = s._tr_tally(z, 0, z.window[z.strstart]), z.lookahead--, z.strstart++), K && (A(z, !1), z.strm.avail_out === 0)) return r;
1722
+ if (A.match_length >= N ? (V = s._tr_tally(A, 1, A.match_length - N), A.lookahead -= A.match_length, A.strstart += A.match_length, A.match_length = 0) : (V = s._tr_tally(A, 0, A.window[A.strstart]), A.lookahead--, A.strstart++), V && (z(A, !1), A.strm.avail_out === 0)) return r;
1723
1723
  }
1724
- return z.insert = 0, q === b ? (A(z, !0), z.strm.avail_out === 0 ? V : F) : z.last_lit && (A(z, !1), z.strm.avail_out === 0) ? r : R;
1724
+ return A.insert = 0, q === v ? (z(A, !0), A.strm.avail_out === 0 ? K : F) : A.last_lit && (z(A, !1), A.strm.avail_out === 0) ? r : R;
1725
1725
  }(g, L) : l[g.level].func(g, L);
1726
- if (W !== V && W !== F || (g.status = 666), W === r || W === V) return e.avail_out === 0 && (g.last_flush = -1), o;
1727
- if (W === R && (L === 1 ? s._tr_align(g) : L !== 5 && (s._tr_stored_block(g, 0, 0, !1), L === 3 && (J(g.head), g.lookahead === 0 && (g.strstart = 0, g.block_start = 0, g.insert = 0))), O(e), e.avail_out === 0)) return g.last_flush = -1, o;
1726
+ if (M !== K && M !== F || (g.status = 666), M === r || M === K) return e.avail_out === 0 && (g.last_flush = -1), o;
1727
+ if (M === R && (L === 1 ? s._tr_align(g) : L !== 5 && (s._tr_stored_block(g, 0, 0, !1), L === 3 && (X(g.head), g.lookahead === 0 && (g.strstart = 0, g.block_start = 0, g.insert = 0))), O(e), e.avail_out === 0)) return g.last_flush = -1, o;
1728
1728
  }
1729
- return L !== b ? o : g.wrap <= 0 ? 1 : (g.wrap === 2 ? (X(g, 255 & e.adler), X(g, e.adler >> 8 & 255), X(g, e.adler >> 16 & 255), X(g, e.adler >> 24 & 255), X(g, 255 & e.total_in), X(g, e.total_in >> 8 & 255), X(g, e.total_in >> 16 & 255), X(g, e.total_in >> 24 & 255)) : (Z(g, e.adler >>> 16), Z(g, 65535 & e.adler)), O(e), 0 < g.wrap && (g.wrap = -g.wrap), g.pending !== 0 ? o : 1);
1729
+ return L !== v ? o : g.wrap <= 0 ? 1 : (g.wrap === 2 ? (J(g, 255 & e.adler), J(g, e.adler >> 8 & 255), J(g, e.adler >> 16 & 255), J(g, e.adler >> 24 & 255), J(g, 255 & e.total_in), J(g, e.total_in >> 8 & 255), J(g, e.total_in >> 16 & 255), J(g, e.total_in >> 24 & 255)) : (Z(g, e.adler >>> 16), Z(g, 65535 & e.adler)), O(e), 0 < g.wrap && (g.wrap = -g.wrap), g.pending !== 0 ? o : 1);
1730
1730
  }, h.deflateEnd = function(e) {
1731
1731
  var L;
1732
1732
  return e && e.state ? (L = e.state.status) !== _ && L !== 69 && L !== 73 && L !== 91 && L !== 103 && L !== x && L !== 666 ? Y(e, p) : (e.state = null, L === x ? Y(e, -3) : o) : p;
1733
1733
  }, h.deflateSetDictionary = function(e, L) {
1734
- var N, g, u, S, U, W, z, q, K = L.length;
1735
- if (!e || !e.state || (S = (N = e.state).wrap) === 2 || S === 1 && N.status !== _ || N.lookahead) return p;
1736
- for (S === 1 && (e.adler = c(e.adler, L, K, 0)), N.wrap = 0, K >= N.w_size && (S === 0 && (J(N.head), N.strstart = 0, N.block_start = 0, N.insert = 0), q = new f.Buf8(N.w_size), f.arraySet(q, L, K - N.w_size, N.w_size, 0), L = q, K = N.w_size), U = e.avail_in, W = e.next_in, z = e.input, e.avail_in = K, e.next_in = 0, e.input = L, it(N); N.lookahead >= T; ) {
1737
- for (g = N.strstart, u = N.lookahead - (T - 1); N.ins_h = (N.ins_h << N.hash_shift ^ N.window[g + T - 1]) & N.hash_mask, N.prev[g & N.w_mask] = N.head[N.ins_h], N.head[N.ins_h] = g, g++, --u; ) ;
1738
- N.strstart = g, N.lookahead = T - 1, it(N);
1734
+ var T, g, u, S, U, M, A, q, V = L.length;
1735
+ if (!e || !e.state || (S = (T = e.state).wrap) === 2 || S === 1 && T.status !== _ || T.lookahead) return p;
1736
+ for (S === 1 && (e.adler = c(e.adler, L, V, 0)), T.wrap = 0, V >= T.w_size && (S === 0 && (X(T.head), T.strstart = 0, T.block_start = 0, T.insert = 0), q = new f.Buf8(T.w_size), f.arraySet(q, L, V - T.w_size, T.w_size, 0), L = q, V = T.w_size), U = e.avail_in, M = e.next_in, A = e.input, e.avail_in = V, e.next_in = 0, e.input = L, st(T); T.lookahead >= N; ) {
1737
+ for (g = T.strstart, u = T.lookahead - (N - 1); T.ins_h = (T.ins_h << T.hash_shift ^ T.window[g + N - 1]) & T.hash_mask, T.prev[g & T.w_mask] = T.head[T.ins_h], T.head[T.ins_h] = g, g++, --u; ) ;
1738
+ T.strstart = g, T.lookahead = N - 1, st(T);
1739
1739
  }
1740
- return N.strstart += N.lookahead, N.block_start = N.strstart, N.insert = N.lookahead, N.lookahead = 0, N.match_length = N.prev_length = T - 1, N.match_available = 0, e.next_in = W, e.input = z, e.avail_in = U, N.wrap = S, o;
1740
+ return T.strstart += T.lookahead, T.block_start = T.strstart, T.insert = T.lookahead, T.lookahead = 0, T.match_length = T.prev_length = N - 1, T.match_available = 0, e.next_in = M, e.input = A, e.avail_in = U, T.wrap = S, o;
1741
1741
  }, h.deflateInfo = "pako deflate (from Nodeca project)";
1742
1742
  }, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./messages": 51, "./trees": 52 }], 47: [function(n, I, h) {
1743
1743
  I.exports = function() {
@@ -1745,77 +1745,77 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1745
1745
  };
1746
1746
  }, {}], 48: [function(n, I, h) {
1747
1747
  I.exports = function(l, f) {
1748
- var s, c, y, v, w, b, o, p, i, d, a, m, k, E, C, B, P, j, T, H, Q, _, x, r, R;
1749
- s = l.state, c = l.next_in, r = l.input, y = c + (l.avail_in - 5), v = l.next_out, R = l.output, w = v - (f - l.avail_out), b = v + (l.avail_out - 257), o = s.dmax, p = s.wsize, i = s.whave, d = s.wnext, a = s.window, m = s.hold, k = s.bits, E = s.lencode, C = s.distcode, B = (1 << s.lenbits) - 1, P = (1 << s.distbits) - 1;
1748
+ var s, c, y, b, w, v, o, p, i, d, a, m, k, E, C, B, P, j, N, H, Q, _, x, r, R;
1749
+ s = l.state, c = l.next_in, r = l.input, y = c + (l.avail_in - 5), b = l.next_out, R = l.output, w = b - (f - l.avail_out), v = b + (l.avail_out - 257), o = s.dmax, p = s.wsize, i = s.whave, d = s.wnext, a = s.window, m = s.hold, k = s.bits, E = s.lencode, C = s.distcode, B = (1 << s.lenbits) - 1, P = (1 << s.distbits) - 1;
1750
1750
  t: do {
1751
1751
  k < 15 && (m += r[c++] << k, k += 8, m += r[c++] << k, k += 8), j = E[m & B];
1752
1752
  e: for (; ; ) {
1753
- if (m >>>= T = j >>> 24, k -= T, (T = j >>> 16 & 255) === 0) R[v++] = 65535 & j;
1753
+ if (m >>>= N = j >>> 24, k -= N, (N = j >>> 16 & 255) === 0) R[b++] = 65535 & j;
1754
1754
  else {
1755
- if (!(16 & T)) {
1756
- if (!(64 & T)) {
1757
- j = E[(65535 & j) + (m & (1 << T) - 1)];
1755
+ if (!(16 & N)) {
1756
+ if (!(64 & N)) {
1757
+ j = E[(65535 & j) + (m & (1 << N) - 1)];
1758
1758
  continue e;
1759
1759
  }
1760
- if (32 & T) {
1760
+ if (32 & N) {
1761
1761
  s.mode = 12;
1762
1762
  break t;
1763
1763
  }
1764
1764
  l.msg = "invalid literal/length code", s.mode = 30;
1765
1765
  break t;
1766
1766
  }
1767
- H = 65535 & j, (T &= 15) && (k < T && (m += r[c++] << k, k += 8), H += m & (1 << T) - 1, m >>>= T, k -= T), k < 15 && (m += r[c++] << k, k += 8, m += r[c++] << k, k += 8), j = C[m & P];
1767
+ H = 65535 & j, (N &= 15) && (k < N && (m += r[c++] << k, k += 8), H += m & (1 << N) - 1, m >>>= N, k -= N), k < 15 && (m += r[c++] << k, k += 8, m += r[c++] << k, k += 8), j = C[m & P];
1768
1768
  r: for (; ; ) {
1769
- if (m >>>= T = j >>> 24, k -= T, !(16 & (T = j >>> 16 & 255))) {
1770
- if (!(64 & T)) {
1771
- j = C[(65535 & j) + (m & (1 << T) - 1)];
1769
+ if (m >>>= N = j >>> 24, k -= N, !(16 & (N = j >>> 16 & 255))) {
1770
+ if (!(64 & N)) {
1771
+ j = C[(65535 & j) + (m & (1 << N) - 1)];
1772
1772
  continue r;
1773
1773
  }
1774
1774
  l.msg = "invalid distance code", s.mode = 30;
1775
1775
  break t;
1776
1776
  }
1777
- if (Q = 65535 & j, k < (T &= 15) && (m += r[c++] << k, (k += 8) < T && (m += r[c++] << k, k += 8)), o < (Q += m & (1 << T) - 1)) {
1777
+ if (Q = 65535 & j, k < (N &= 15) && (m += r[c++] << k, (k += 8) < N && (m += r[c++] << k, k += 8)), o < (Q += m & (1 << N) - 1)) {
1778
1778
  l.msg = "invalid distance too far back", s.mode = 30;
1779
1779
  break t;
1780
1780
  }
1781
- if (m >>>= T, k -= T, (T = v - w) < Q) {
1782
- if (i < (T = Q - T) && s.sane) {
1781
+ if (m >>>= N, k -= N, (N = b - w) < Q) {
1782
+ if (i < (N = Q - N) && s.sane) {
1783
1783
  l.msg = "invalid distance too far back", s.mode = 30;
1784
1784
  break t;
1785
1785
  }
1786
1786
  if (x = a, (_ = 0) === d) {
1787
- if (_ += p - T, T < H) {
1788
- for (H -= T; R[v++] = a[_++], --T; ) ;
1789
- _ = v - Q, x = R;
1787
+ if (_ += p - N, N < H) {
1788
+ for (H -= N; R[b++] = a[_++], --N; ) ;
1789
+ _ = b - Q, x = R;
1790
1790
  }
1791
- } else if (d < T) {
1792
- if (_ += p + d - T, (T -= d) < H) {
1793
- for (H -= T; R[v++] = a[_++], --T; ) ;
1791
+ } else if (d < N) {
1792
+ if (_ += p + d - N, (N -= d) < H) {
1793
+ for (H -= N; R[b++] = a[_++], --N; ) ;
1794
1794
  if (_ = 0, d < H) {
1795
- for (H -= T = d; R[v++] = a[_++], --T; ) ;
1796
- _ = v - Q, x = R;
1795
+ for (H -= N = d; R[b++] = a[_++], --N; ) ;
1796
+ _ = b - Q, x = R;
1797
1797
  }
1798
1798
  }
1799
- } else if (_ += d - T, T < H) {
1800
- for (H -= T; R[v++] = a[_++], --T; ) ;
1801
- _ = v - Q, x = R;
1799
+ } else if (_ += d - N, N < H) {
1800
+ for (H -= N; R[b++] = a[_++], --N; ) ;
1801
+ _ = b - Q, x = R;
1802
1802
  }
1803
- for (; 2 < H; ) R[v++] = x[_++], R[v++] = x[_++], R[v++] = x[_++], H -= 3;
1804
- H && (R[v++] = x[_++], 1 < H && (R[v++] = x[_++]));
1803
+ for (; 2 < H; ) R[b++] = x[_++], R[b++] = x[_++], R[b++] = x[_++], H -= 3;
1804
+ H && (R[b++] = x[_++], 1 < H && (R[b++] = x[_++]));
1805
1805
  } else {
1806
- for (_ = v - Q; R[v++] = R[_++], R[v++] = R[_++], R[v++] = R[_++], 2 < (H -= 3); ) ;
1807
- H && (R[v++] = R[_++], 1 < H && (R[v++] = R[_++]));
1806
+ for (_ = b - Q; R[b++] = R[_++], R[b++] = R[_++], R[b++] = R[_++], 2 < (H -= 3); ) ;
1807
+ H && (R[b++] = R[_++], 1 < H && (R[b++] = R[_++]));
1808
1808
  }
1809
1809
  break;
1810
1810
  }
1811
1811
  }
1812
1812
  break;
1813
1813
  }
1814
- } while (c < y && v < b);
1815
- c -= H = k >> 3, m &= (1 << (k -= H << 3)) - 1, l.next_in = c, l.next_out = v, l.avail_in = c < y ? y - c + 5 : 5 - (c - y), l.avail_out = v < b ? b - v + 257 : 257 - (v - b), s.hold = m, s.bits = k;
1814
+ } while (c < y && b < v);
1815
+ c -= H = k >> 3, m &= (1 << (k -= H << 3)) - 1, l.next_in = c, l.next_out = b, l.avail_in = c < y ? y - c + 5 : 5 - (c - y), l.avail_out = b < v ? v - b + 257 : 257 - (b - v), s.hold = m, s.bits = k;
1816
1816
  };
1817
1817
  }, {}], 49: [function(n, I, h) {
1818
- var l = n("../utils/common"), f = n("./adler32"), s = n("./crc32"), c = n("./inffast"), y = n("./inftrees"), v = 1, w = 2, b = 0, o = -2, p = 1, i = 852, d = 592;
1818
+ var l = n("../utils/common"), f = n("./adler32"), s = n("./crc32"), c = n("./inffast"), y = n("./inftrees"), b = 1, w = 2, v = 0, o = -2, p = 1, i = 852, d = 592;
1819
1819
  function a(_) {
1820
1820
  return (_ >>> 24 & 255) + (_ >>> 8 & 65280) + ((65280 & _) << 8) + ((255 & _) << 24);
1821
1821
  }
@@ -1824,7 +1824,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1824
1824
  }
1825
1825
  function k(_) {
1826
1826
  var x;
1827
- return _ && _.state ? (x = _.state, _.total_in = _.total_out = x.total = 0, _.msg = "", x.wrap && (_.adler = 1 & x.wrap), x.mode = p, x.last = 0, x.havedict = 0, x.dmax = 32768, x.head = null, x.hold = 0, x.bits = 0, x.lencode = x.lendyn = new l.Buf32(i), x.distcode = x.distdyn = new l.Buf32(d), x.sane = 1, x.back = -1, b) : o;
1827
+ return _ && _.state ? (x = _.state, _.total_in = _.total_out = x.total = 0, _.msg = "", x.wrap && (_.adler = 1 & x.wrap), x.mode = p, x.last = 0, x.havedict = 0, x.dmax = 32768, x.head = null, x.hold = 0, x.bits = 0, x.lencode = x.lendyn = new l.Buf32(i), x.distcode = x.distdyn = new l.Buf32(d), x.sane = 1, x.back = -1, v) : o;
1828
1828
  }
1829
1829
  function E(_) {
1830
1830
  var x;
@@ -1836,43 +1836,43 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1836
1836
  }
1837
1837
  function B(_, x) {
1838
1838
  var r, R;
1839
- return _ ? (R = new m(), (_.state = R).window = null, (r = C(_, x)) !== b && (_.state = null), r) : o;
1839
+ return _ ? (R = new m(), (_.state = R).window = null, (r = C(_, x)) !== v && (_.state = null), r) : o;
1840
1840
  }
1841
- var P, j, T = !0;
1841
+ var P, j, N = !0;
1842
1842
  function H(_) {
1843
- if (T) {
1843
+ if (N) {
1844
1844
  var x;
1845
1845
  for (P = new l.Buf32(512), j = new l.Buf32(32), x = 0; x < 144; ) _.lens[x++] = 8;
1846
1846
  for (; x < 256; ) _.lens[x++] = 9;
1847
1847
  for (; x < 280; ) _.lens[x++] = 7;
1848
1848
  for (; x < 288; ) _.lens[x++] = 8;
1849
- for (y(v, _.lens, 0, 288, P, 0, _.work, { bits: 9 }), x = 0; x < 32; ) _.lens[x++] = 5;
1850
- y(w, _.lens, 0, 32, j, 0, _.work, { bits: 5 }), T = !1;
1849
+ for (y(b, _.lens, 0, 288, P, 0, _.work, { bits: 9 }), x = 0; x < 32; ) _.lens[x++] = 5;
1850
+ y(w, _.lens, 0, 32, j, 0, _.work, { bits: 5 }), N = !1;
1851
1851
  }
1852
1852
  _.lencode = P, _.lenbits = 9, _.distcode = j, _.distbits = 5;
1853
1853
  }
1854
1854
  function Q(_, x, r, R) {
1855
- var V, F = _.state;
1856
- return F.window === null && (F.wsize = 1 << F.wbits, F.wnext = 0, F.whave = 0, F.window = new l.Buf8(F.wsize)), R >= F.wsize ? (l.arraySet(F.window, x, r - F.wsize, F.wsize, 0), F.wnext = 0, F.whave = F.wsize) : (R < (V = F.wsize - F.wnext) && (V = R), l.arraySet(F.window, x, r - R, V, F.wnext), (R -= V) ? (l.arraySet(F.window, x, r - R, R, 0), F.wnext = R, F.whave = F.wsize) : (F.wnext += V, F.wnext === F.wsize && (F.wnext = 0), F.whave < F.wsize && (F.whave += V))), 0;
1855
+ var K, F = _.state;
1856
+ return F.window === null && (F.wsize = 1 << F.wbits, F.wnext = 0, F.whave = 0, F.window = new l.Buf8(F.wsize)), R >= F.wsize ? (l.arraySet(F.window, x, r - F.wsize, F.wsize, 0), F.wnext = 0, F.whave = F.wsize) : (R < (K = F.wsize - F.wnext) && (K = R), l.arraySet(F.window, x, r - R, K, F.wnext), (R -= K) ? (l.arraySet(F.window, x, r - R, R, 0), F.wnext = R, F.whave = F.wsize) : (F.wnext += K, F.wnext === F.wsize && (F.wnext = 0), F.whave < F.wsize && (F.whave += K))), 0;
1857
1857
  }
1858
1858
  h.inflateReset = E, h.inflateReset2 = C, h.inflateResetKeep = k, h.inflateInit = function(_) {
1859
1859
  return B(_, 15);
1860
1860
  }, h.inflateInit2 = B, h.inflate = function(_, x) {
1861
- var r, R, V, F, Y, D, J, O, A, X, Z, M, it, at, nt, tt, ot, ct, ut, ft, e, L, N, g, u = 0, S = new l.Buf8(4), U = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15];
1861
+ var r, R, K, F, Y, D, X, O, z, J, Z, W, st, at, nt, tt, lt, ot, ft, ut, e, L, T, g, u = 0, S = new l.Buf8(4), U = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15];
1862
1862
  if (!_ || !_.state || !_.output || !_.input && _.avail_in !== 0) return o;
1863
- (r = _.state).mode === 12 && (r.mode = 13), Y = _.next_out, V = _.output, J = _.avail_out, F = _.next_in, R = _.input, D = _.avail_in, O = r.hold, A = r.bits, X = D, Z = J, L = b;
1863
+ (r = _.state).mode === 12 && (r.mode = 13), Y = _.next_out, K = _.output, X = _.avail_out, F = _.next_in, R = _.input, D = _.avail_in, O = r.hold, z = r.bits, J = D, Z = X, L = v;
1864
1864
  t: for (; ; ) switch (r.mode) {
1865
1865
  case p:
1866
1866
  if (r.wrap === 0) {
1867
1867
  r.mode = 13;
1868
1868
  break;
1869
1869
  }
1870
- for (; A < 16; ) {
1870
+ for (; z < 16; ) {
1871
1871
  if (D === 0) break t;
1872
- D--, O += R[F++] << A, A += 8;
1872
+ D--, O += R[F++] << z, z += 8;
1873
1873
  }
1874
1874
  if (2 & r.wrap && O === 35615) {
1875
- S[r.check = 0] = 255 & O, S[1] = O >>> 8 & 255, r.check = s(r.check, S, 2, 0), A = O = 0, r.mode = 2;
1875
+ S[r.check = 0] = 255 & O, S[1] = O >>> 8 & 255, r.check = s(r.check, S, 2, 0), z = O = 0, r.mode = 2;
1876
1876
  break;
1877
1877
  }
1878
1878
  if (r.flags = 0, r.head && (r.head.done = !1), !(1 & r.wrap) || (((255 & O) << 8) + (O >> 8)) % 31) {
@@ -1883,17 +1883,17 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1883
1883
  _.msg = "unknown compression method", r.mode = 30;
1884
1884
  break;
1885
1885
  }
1886
- if (A -= 4, e = 8 + (15 & (O >>>= 4)), r.wbits === 0) r.wbits = e;
1886
+ if (z -= 4, e = 8 + (15 & (O >>>= 4)), r.wbits === 0) r.wbits = e;
1887
1887
  else if (e > r.wbits) {
1888
1888
  _.msg = "invalid window size", r.mode = 30;
1889
1889
  break;
1890
1890
  }
1891
- r.dmax = 1 << e, _.adler = r.check = 1, r.mode = 512 & O ? 10 : 12, A = O = 0;
1891
+ r.dmax = 1 << e, _.adler = r.check = 1, r.mode = 512 & O ? 10 : 12, z = O = 0;
1892
1892
  break;
1893
1893
  case 2:
1894
- for (; A < 16; ) {
1894
+ for (; z < 16; ) {
1895
1895
  if (D === 0) break t;
1896
- D--, O += R[F++] << A, A += 8;
1896
+ D--, O += R[F++] << z, z += 8;
1897
1897
  }
1898
1898
  if (r.flags = O, (255 & r.flags) != 8) {
1899
1899
  _.msg = "unknown compression method", r.mode = 30;
@@ -1903,86 +1903,86 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1903
1903
  _.msg = "unknown header flags set", r.mode = 30;
1904
1904
  break;
1905
1905
  }
1906
- r.head && (r.head.text = O >> 8 & 1), 512 & r.flags && (S[0] = 255 & O, S[1] = O >>> 8 & 255, r.check = s(r.check, S, 2, 0)), A = O = 0, r.mode = 3;
1906
+ r.head && (r.head.text = O >> 8 & 1), 512 & r.flags && (S[0] = 255 & O, S[1] = O >>> 8 & 255, r.check = s(r.check, S, 2, 0)), z = O = 0, r.mode = 3;
1907
1907
  case 3:
1908
- for (; A < 32; ) {
1908
+ for (; z < 32; ) {
1909
1909
  if (D === 0) break t;
1910
- D--, O += R[F++] << A, A += 8;
1910
+ D--, O += R[F++] << z, z += 8;
1911
1911
  }
1912
- r.head && (r.head.time = O), 512 & r.flags && (S[0] = 255 & O, S[1] = O >>> 8 & 255, S[2] = O >>> 16 & 255, S[3] = O >>> 24 & 255, r.check = s(r.check, S, 4, 0)), A = O = 0, r.mode = 4;
1912
+ r.head && (r.head.time = O), 512 & r.flags && (S[0] = 255 & O, S[1] = O >>> 8 & 255, S[2] = O >>> 16 & 255, S[3] = O >>> 24 & 255, r.check = s(r.check, S, 4, 0)), z = O = 0, r.mode = 4;
1913
1913
  case 4:
1914
- for (; A < 16; ) {
1914
+ for (; z < 16; ) {
1915
1915
  if (D === 0) break t;
1916
- D--, O += R[F++] << A, A += 8;
1916
+ D--, O += R[F++] << z, z += 8;
1917
1917
  }
1918
- r.head && (r.head.xflags = 255 & O, r.head.os = O >> 8), 512 & r.flags && (S[0] = 255 & O, S[1] = O >>> 8 & 255, r.check = s(r.check, S, 2, 0)), A = O = 0, r.mode = 5;
1918
+ r.head && (r.head.xflags = 255 & O, r.head.os = O >> 8), 512 & r.flags && (S[0] = 255 & O, S[1] = O >>> 8 & 255, r.check = s(r.check, S, 2, 0)), z = O = 0, r.mode = 5;
1919
1919
  case 5:
1920
1920
  if (1024 & r.flags) {
1921
- for (; A < 16; ) {
1921
+ for (; z < 16; ) {
1922
1922
  if (D === 0) break t;
1923
- D--, O += R[F++] << A, A += 8;
1923
+ D--, O += R[F++] << z, z += 8;
1924
1924
  }
1925
- r.length = O, r.head && (r.head.extra_len = O), 512 & r.flags && (S[0] = 255 & O, S[1] = O >>> 8 & 255, r.check = s(r.check, S, 2, 0)), A = O = 0;
1925
+ r.length = O, r.head && (r.head.extra_len = O), 512 & r.flags && (S[0] = 255 & O, S[1] = O >>> 8 & 255, r.check = s(r.check, S, 2, 0)), z = O = 0;
1926
1926
  } else r.head && (r.head.extra = null);
1927
1927
  r.mode = 6;
1928
1928
  case 6:
1929
- if (1024 & r.flags && (D < (M = r.length) && (M = D), M && (r.head && (e = r.head.extra_len - r.length, r.head.extra || (r.head.extra = new Array(r.head.extra_len)), l.arraySet(r.head.extra, R, F, M, e)), 512 & r.flags && (r.check = s(r.check, R, M, F)), D -= M, F += M, r.length -= M), r.length)) break t;
1929
+ if (1024 & r.flags && (D < (W = r.length) && (W = D), W && (r.head && (e = r.head.extra_len - r.length, r.head.extra || (r.head.extra = new Array(r.head.extra_len)), l.arraySet(r.head.extra, R, F, W, e)), 512 & r.flags && (r.check = s(r.check, R, W, F)), D -= W, F += W, r.length -= W), r.length)) break t;
1930
1930
  r.length = 0, r.mode = 7;
1931
1931
  case 7:
1932
1932
  if (2048 & r.flags) {
1933
1933
  if (D === 0) break t;
1934
- for (M = 0; e = R[F + M++], r.head && e && r.length < 65536 && (r.head.name += String.fromCharCode(e)), e && M < D; ) ;
1935
- if (512 & r.flags && (r.check = s(r.check, R, M, F)), D -= M, F += M, e) break t;
1934
+ for (W = 0; e = R[F + W++], r.head && e && r.length < 65536 && (r.head.name += String.fromCharCode(e)), e && W < D; ) ;
1935
+ if (512 & r.flags && (r.check = s(r.check, R, W, F)), D -= W, F += W, e) break t;
1936
1936
  } else r.head && (r.head.name = null);
1937
1937
  r.length = 0, r.mode = 8;
1938
1938
  case 8:
1939
1939
  if (4096 & r.flags) {
1940
1940
  if (D === 0) break t;
1941
- for (M = 0; e = R[F + M++], r.head && e && r.length < 65536 && (r.head.comment += String.fromCharCode(e)), e && M < D; ) ;
1942
- if (512 & r.flags && (r.check = s(r.check, R, M, F)), D -= M, F += M, e) break t;
1941
+ for (W = 0; e = R[F + W++], r.head && e && r.length < 65536 && (r.head.comment += String.fromCharCode(e)), e && W < D; ) ;
1942
+ if (512 & r.flags && (r.check = s(r.check, R, W, F)), D -= W, F += W, e) break t;
1943
1943
  } else r.head && (r.head.comment = null);
1944
1944
  r.mode = 9;
1945
1945
  case 9:
1946
1946
  if (512 & r.flags) {
1947
- for (; A < 16; ) {
1947
+ for (; z < 16; ) {
1948
1948
  if (D === 0) break t;
1949
- D--, O += R[F++] << A, A += 8;
1949
+ D--, O += R[F++] << z, z += 8;
1950
1950
  }
1951
1951
  if (O !== (65535 & r.check)) {
1952
1952
  _.msg = "header crc mismatch", r.mode = 30;
1953
1953
  break;
1954
1954
  }
1955
- A = O = 0;
1955
+ z = O = 0;
1956
1956
  }
1957
1957
  r.head && (r.head.hcrc = r.flags >> 9 & 1, r.head.done = !0), _.adler = r.check = 0, r.mode = 12;
1958
1958
  break;
1959
1959
  case 10:
1960
- for (; A < 32; ) {
1960
+ for (; z < 32; ) {
1961
1961
  if (D === 0) break t;
1962
- D--, O += R[F++] << A, A += 8;
1962
+ D--, O += R[F++] << z, z += 8;
1963
1963
  }
1964
- _.adler = r.check = a(O), A = O = 0, r.mode = 11;
1964
+ _.adler = r.check = a(O), z = O = 0, r.mode = 11;
1965
1965
  case 11:
1966
- if (r.havedict === 0) return _.next_out = Y, _.avail_out = J, _.next_in = F, _.avail_in = D, r.hold = O, r.bits = A, 2;
1966
+ if (r.havedict === 0) return _.next_out = Y, _.avail_out = X, _.next_in = F, _.avail_in = D, r.hold = O, r.bits = z, 2;
1967
1967
  _.adler = r.check = 1, r.mode = 12;
1968
1968
  case 12:
1969
1969
  if (x === 5 || x === 6) break t;
1970
1970
  case 13:
1971
1971
  if (r.last) {
1972
- O >>>= 7 & A, A -= 7 & A, r.mode = 27;
1972
+ O >>>= 7 & z, z -= 7 & z, r.mode = 27;
1973
1973
  break;
1974
1974
  }
1975
- for (; A < 3; ) {
1975
+ for (; z < 3; ) {
1976
1976
  if (D === 0) break t;
1977
- D--, O += R[F++] << A, A += 8;
1977
+ D--, O += R[F++] << z, z += 8;
1978
1978
  }
1979
- switch (r.last = 1 & O, A -= 1, 3 & (O >>>= 1)) {
1979
+ switch (r.last = 1 & O, z -= 1, 3 & (O >>>= 1)) {
1980
1980
  case 0:
1981
1981
  r.mode = 14;
1982
1982
  break;
1983
1983
  case 1:
1984
1984
  if (H(r), r.mode = 20, x !== 6) break;
1985
- O >>>= 2, A -= 2;
1985
+ O >>>= 2, z -= 2;
1986
1986
  break t;
1987
1987
  case 2:
1988
1988
  r.mode = 17;
@@ -1990,88 +1990,88 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1990
1990
  case 3:
1991
1991
  _.msg = "invalid block type", r.mode = 30;
1992
1992
  }
1993
- O >>>= 2, A -= 2;
1993
+ O >>>= 2, z -= 2;
1994
1994
  break;
1995
1995
  case 14:
1996
- for (O >>>= 7 & A, A -= 7 & A; A < 32; ) {
1996
+ for (O >>>= 7 & z, z -= 7 & z; z < 32; ) {
1997
1997
  if (D === 0) break t;
1998
- D--, O += R[F++] << A, A += 8;
1998
+ D--, O += R[F++] << z, z += 8;
1999
1999
  }
2000
2000
  if ((65535 & O) != (O >>> 16 ^ 65535)) {
2001
2001
  _.msg = "invalid stored block lengths", r.mode = 30;
2002
2002
  break;
2003
2003
  }
2004
- if (r.length = 65535 & O, A = O = 0, r.mode = 15, x === 6) break t;
2004
+ if (r.length = 65535 & O, z = O = 0, r.mode = 15, x === 6) break t;
2005
2005
  case 15:
2006
2006
  r.mode = 16;
2007
2007
  case 16:
2008
- if (M = r.length) {
2009
- if (D < M && (M = D), J < M && (M = J), M === 0) break t;
2010
- l.arraySet(V, R, F, M, Y), D -= M, F += M, J -= M, Y += M, r.length -= M;
2008
+ if (W = r.length) {
2009
+ if (D < W && (W = D), X < W && (W = X), W === 0) break t;
2010
+ l.arraySet(K, R, F, W, Y), D -= W, F += W, X -= W, Y += W, r.length -= W;
2011
2011
  break;
2012
2012
  }
2013
2013
  r.mode = 12;
2014
2014
  break;
2015
2015
  case 17:
2016
- for (; A < 14; ) {
2016
+ for (; z < 14; ) {
2017
2017
  if (D === 0) break t;
2018
- D--, O += R[F++] << A, A += 8;
2018
+ D--, O += R[F++] << z, z += 8;
2019
2019
  }
2020
- if (r.nlen = 257 + (31 & O), O >>>= 5, A -= 5, r.ndist = 1 + (31 & O), O >>>= 5, A -= 5, r.ncode = 4 + (15 & O), O >>>= 4, A -= 4, 286 < r.nlen || 30 < r.ndist) {
2020
+ if (r.nlen = 257 + (31 & O), O >>>= 5, z -= 5, r.ndist = 1 + (31 & O), O >>>= 5, z -= 5, r.ncode = 4 + (15 & O), O >>>= 4, z -= 4, 286 < r.nlen || 30 < r.ndist) {
2021
2021
  _.msg = "too many length or distance symbols", r.mode = 30;
2022
2022
  break;
2023
2023
  }
2024
2024
  r.have = 0, r.mode = 18;
2025
2025
  case 18:
2026
2026
  for (; r.have < r.ncode; ) {
2027
- for (; A < 3; ) {
2027
+ for (; z < 3; ) {
2028
2028
  if (D === 0) break t;
2029
- D--, O += R[F++] << A, A += 8;
2029
+ D--, O += R[F++] << z, z += 8;
2030
2030
  }
2031
- r.lens[U[r.have++]] = 7 & O, O >>>= 3, A -= 3;
2031
+ r.lens[U[r.have++]] = 7 & O, O >>>= 3, z -= 3;
2032
2032
  }
2033
2033
  for (; r.have < 19; ) r.lens[U[r.have++]] = 0;
2034
- if (r.lencode = r.lendyn, r.lenbits = 7, N = { bits: r.lenbits }, L = y(0, r.lens, 0, 19, r.lencode, 0, r.work, N), r.lenbits = N.bits, L) {
2034
+ if (r.lencode = r.lendyn, r.lenbits = 7, T = { bits: r.lenbits }, L = y(0, r.lens, 0, 19, r.lencode, 0, r.work, T), r.lenbits = T.bits, L) {
2035
2035
  _.msg = "invalid code lengths set", r.mode = 30;
2036
2036
  break;
2037
2037
  }
2038
2038
  r.have = 0, r.mode = 19;
2039
2039
  case 19:
2040
2040
  for (; r.have < r.nlen + r.ndist; ) {
2041
- for (; tt = (u = r.lencode[O & (1 << r.lenbits) - 1]) >>> 16 & 255, ot = 65535 & u, !((nt = u >>> 24) <= A); ) {
2041
+ for (; tt = (u = r.lencode[O & (1 << r.lenbits) - 1]) >>> 16 & 255, lt = 65535 & u, !((nt = u >>> 24) <= z); ) {
2042
2042
  if (D === 0) break t;
2043
- D--, O += R[F++] << A, A += 8;
2043
+ D--, O += R[F++] << z, z += 8;
2044
2044
  }
2045
- if (ot < 16) O >>>= nt, A -= nt, r.lens[r.have++] = ot;
2045
+ if (lt < 16) O >>>= nt, z -= nt, r.lens[r.have++] = lt;
2046
2046
  else {
2047
- if (ot === 16) {
2048
- for (g = nt + 2; A < g; ) {
2047
+ if (lt === 16) {
2048
+ for (g = nt + 2; z < g; ) {
2049
2049
  if (D === 0) break t;
2050
- D--, O += R[F++] << A, A += 8;
2050
+ D--, O += R[F++] << z, z += 8;
2051
2051
  }
2052
- if (O >>>= nt, A -= nt, r.have === 0) {
2052
+ if (O >>>= nt, z -= nt, r.have === 0) {
2053
2053
  _.msg = "invalid bit length repeat", r.mode = 30;
2054
2054
  break;
2055
2055
  }
2056
- e = r.lens[r.have - 1], M = 3 + (3 & O), O >>>= 2, A -= 2;
2057
- } else if (ot === 17) {
2058
- for (g = nt + 3; A < g; ) {
2056
+ e = r.lens[r.have - 1], W = 3 + (3 & O), O >>>= 2, z -= 2;
2057
+ } else if (lt === 17) {
2058
+ for (g = nt + 3; z < g; ) {
2059
2059
  if (D === 0) break t;
2060
- D--, O += R[F++] << A, A += 8;
2060
+ D--, O += R[F++] << z, z += 8;
2061
2061
  }
2062
- A -= nt, e = 0, M = 3 + (7 & (O >>>= nt)), O >>>= 3, A -= 3;
2062
+ z -= nt, e = 0, W = 3 + (7 & (O >>>= nt)), O >>>= 3, z -= 3;
2063
2063
  } else {
2064
- for (g = nt + 7; A < g; ) {
2064
+ for (g = nt + 7; z < g; ) {
2065
2065
  if (D === 0) break t;
2066
- D--, O += R[F++] << A, A += 8;
2066
+ D--, O += R[F++] << z, z += 8;
2067
2067
  }
2068
- A -= nt, e = 0, M = 11 + (127 & (O >>>= nt)), O >>>= 7, A -= 7;
2068
+ z -= nt, e = 0, W = 11 + (127 & (O >>>= nt)), O >>>= 7, z -= 7;
2069
2069
  }
2070
- if (r.have + M > r.nlen + r.ndist) {
2070
+ if (r.have + W > r.nlen + r.ndist) {
2071
2071
  _.msg = "invalid bit length repeat", r.mode = 30;
2072
2072
  break;
2073
2073
  }
2074
- for (; M--; ) r.lens[r.have++] = e;
2074
+ for (; W--; ) r.lens[r.have++] = e;
2075
2075
  }
2076
2076
  }
2077
2077
  if (r.mode === 30) break;
@@ -2079,11 +2079,11 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2079
2079
  _.msg = "invalid code -- missing end-of-block", r.mode = 30;
2080
2080
  break;
2081
2081
  }
2082
- if (r.lenbits = 9, N = { bits: r.lenbits }, L = y(v, r.lens, 0, r.nlen, r.lencode, 0, r.work, N), r.lenbits = N.bits, L) {
2082
+ if (r.lenbits = 9, T = { bits: r.lenbits }, L = y(b, r.lens, 0, r.nlen, r.lencode, 0, r.work, T), r.lenbits = T.bits, L) {
2083
2083
  _.msg = "invalid literal/lengths set", r.mode = 30;
2084
2084
  break;
2085
2085
  }
2086
- if (r.distbits = 6, r.distcode = r.distdyn, N = { bits: r.distbits }, L = y(w, r.lens, r.nlen, r.ndist, r.distcode, 0, r.work, N), r.distbits = N.bits, L) {
2086
+ if (r.distbits = 6, r.distcode = r.distdyn, T = { bits: r.distbits }, L = y(w, r.lens, r.nlen, r.ndist, r.distcode, 0, r.work, T), r.distbits = T.bits, L) {
2087
2087
  _.msg = "invalid distances set", r.mode = 30;
2088
2088
  break;
2089
2089
  }
@@ -2091,22 +2091,22 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2091
2091
  case 20:
2092
2092
  r.mode = 21;
2093
2093
  case 21:
2094
- if (6 <= D && 258 <= J) {
2095
- _.next_out = Y, _.avail_out = J, _.next_in = F, _.avail_in = D, r.hold = O, r.bits = A, c(_, Z), Y = _.next_out, V = _.output, J = _.avail_out, F = _.next_in, R = _.input, D = _.avail_in, O = r.hold, A = r.bits, r.mode === 12 && (r.back = -1);
2094
+ if (6 <= D && 258 <= X) {
2095
+ _.next_out = Y, _.avail_out = X, _.next_in = F, _.avail_in = D, r.hold = O, r.bits = z, c(_, Z), Y = _.next_out, K = _.output, X = _.avail_out, F = _.next_in, R = _.input, D = _.avail_in, O = r.hold, z = r.bits, r.mode === 12 && (r.back = -1);
2096
2096
  break;
2097
2097
  }
2098
- for (r.back = 0; tt = (u = r.lencode[O & (1 << r.lenbits) - 1]) >>> 16 & 255, ot = 65535 & u, !((nt = u >>> 24) <= A); ) {
2098
+ for (r.back = 0; tt = (u = r.lencode[O & (1 << r.lenbits) - 1]) >>> 16 & 255, lt = 65535 & u, !((nt = u >>> 24) <= z); ) {
2099
2099
  if (D === 0) break t;
2100
- D--, O += R[F++] << A, A += 8;
2100
+ D--, O += R[F++] << z, z += 8;
2101
2101
  }
2102
2102
  if (tt && !(240 & tt)) {
2103
- for (ct = nt, ut = tt, ft = ot; tt = (u = r.lencode[ft + ((O & (1 << ct + ut) - 1) >> ct)]) >>> 16 & 255, ot = 65535 & u, !(ct + (nt = u >>> 24) <= A); ) {
2103
+ for (ot = nt, ft = tt, ut = lt; tt = (u = r.lencode[ut + ((O & (1 << ot + ft) - 1) >> ot)]) >>> 16 & 255, lt = 65535 & u, !(ot + (nt = u >>> 24) <= z); ) {
2104
2104
  if (D === 0) break t;
2105
- D--, O += R[F++] << A, A += 8;
2105
+ D--, O += R[F++] << z, z += 8;
2106
2106
  }
2107
- O >>>= ct, A -= ct, r.back += ct;
2107
+ O >>>= ot, z -= ot, r.back += ot;
2108
2108
  }
2109
- if (O >>>= nt, A -= nt, r.back += nt, r.length = ot, tt === 0) {
2109
+ if (O >>>= nt, z -= nt, r.back += nt, r.length = lt, tt === 0) {
2110
2110
  r.mode = 26;
2111
2111
  break;
2112
2112
  }
@@ -2121,37 +2121,37 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2121
2121
  r.extra = 15 & tt, r.mode = 22;
2122
2122
  case 22:
2123
2123
  if (r.extra) {
2124
- for (g = r.extra; A < g; ) {
2124
+ for (g = r.extra; z < g; ) {
2125
2125
  if (D === 0) break t;
2126
- D--, O += R[F++] << A, A += 8;
2126
+ D--, O += R[F++] << z, z += 8;
2127
2127
  }
2128
- r.length += O & (1 << r.extra) - 1, O >>>= r.extra, A -= r.extra, r.back += r.extra;
2128
+ r.length += O & (1 << r.extra) - 1, O >>>= r.extra, z -= r.extra, r.back += r.extra;
2129
2129
  }
2130
2130
  r.was = r.length, r.mode = 23;
2131
2131
  case 23:
2132
- for (; tt = (u = r.distcode[O & (1 << r.distbits) - 1]) >>> 16 & 255, ot = 65535 & u, !((nt = u >>> 24) <= A); ) {
2132
+ for (; tt = (u = r.distcode[O & (1 << r.distbits) - 1]) >>> 16 & 255, lt = 65535 & u, !((nt = u >>> 24) <= z); ) {
2133
2133
  if (D === 0) break t;
2134
- D--, O += R[F++] << A, A += 8;
2134
+ D--, O += R[F++] << z, z += 8;
2135
2135
  }
2136
2136
  if (!(240 & tt)) {
2137
- for (ct = nt, ut = tt, ft = ot; tt = (u = r.distcode[ft + ((O & (1 << ct + ut) - 1) >> ct)]) >>> 16 & 255, ot = 65535 & u, !(ct + (nt = u >>> 24) <= A); ) {
2137
+ for (ot = nt, ft = tt, ut = lt; tt = (u = r.distcode[ut + ((O & (1 << ot + ft) - 1) >> ot)]) >>> 16 & 255, lt = 65535 & u, !(ot + (nt = u >>> 24) <= z); ) {
2138
2138
  if (D === 0) break t;
2139
- D--, O += R[F++] << A, A += 8;
2139
+ D--, O += R[F++] << z, z += 8;
2140
2140
  }
2141
- O >>>= ct, A -= ct, r.back += ct;
2141
+ O >>>= ot, z -= ot, r.back += ot;
2142
2142
  }
2143
- if (O >>>= nt, A -= nt, r.back += nt, 64 & tt) {
2143
+ if (O >>>= nt, z -= nt, r.back += nt, 64 & tt) {
2144
2144
  _.msg = "invalid distance code", r.mode = 30;
2145
2145
  break;
2146
2146
  }
2147
- r.offset = ot, r.extra = 15 & tt, r.mode = 24;
2147
+ r.offset = lt, r.extra = 15 & tt, r.mode = 24;
2148
2148
  case 24:
2149
2149
  if (r.extra) {
2150
- for (g = r.extra; A < g; ) {
2150
+ for (g = r.extra; z < g; ) {
2151
2151
  if (D === 0) break t;
2152
- D--, O += R[F++] << A, A += 8;
2152
+ D--, O += R[F++] << z, z += 8;
2153
2153
  }
2154
- r.offset += O & (1 << r.extra) - 1, O >>>= r.extra, A -= r.extra, r.back += r.extra;
2154
+ r.offset += O & (1 << r.extra) - 1, O >>>= r.extra, z -= r.extra, r.back += r.extra;
2155
2155
  }
2156
2156
  if (r.offset > r.dmax) {
2157
2157
  _.msg = "invalid distance too far back", r.mode = 30;
@@ -2159,45 +2159,45 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2159
2159
  }
2160
2160
  r.mode = 25;
2161
2161
  case 25:
2162
- if (J === 0) break t;
2163
- if (M = Z - J, r.offset > M) {
2164
- if ((M = r.offset - M) > r.whave && r.sane) {
2162
+ if (X === 0) break t;
2163
+ if (W = Z - X, r.offset > W) {
2164
+ if ((W = r.offset - W) > r.whave && r.sane) {
2165
2165
  _.msg = "invalid distance too far back", r.mode = 30;
2166
2166
  break;
2167
2167
  }
2168
- it = M > r.wnext ? (M -= r.wnext, r.wsize - M) : r.wnext - M, M > r.length && (M = r.length), at = r.window;
2169
- } else at = V, it = Y - r.offset, M = r.length;
2170
- for (J < M && (M = J), J -= M, r.length -= M; V[Y++] = at[it++], --M; ) ;
2168
+ st = W > r.wnext ? (W -= r.wnext, r.wsize - W) : r.wnext - W, W > r.length && (W = r.length), at = r.window;
2169
+ } else at = K, st = Y - r.offset, W = r.length;
2170
+ for (X < W && (W = X), X -= W, r.length -= W; K[Y++] = at[st++], --W; ) ;
2171
2171
  r.length === 0 && (r.mode = 21);
2172
2172
  break;
2173
2173
  case 26:
2174
- if (J === 0) break t;
2175
- V[Y++] = r.length, J--, r.mode = 21;
2174
+ if (X === 0) break t;
2175
+ K[Y++] = r.length, X--, r.mode = 21;
2176
2176
  break;
2177
2177
  case 27:
2178
2178
  if (r.wrap) {
2179
- for (; A < 32; ) {
2179
+ for (; z < 32; ) {
2180
2180
  if (D === 0) break t;
2181
- D--, O |= R[F++] << A, A += 8;
2181
+ D--, O |= R[F++] << z, z += 8;
2182
2182
  }
2183
- if (Z -= J, _.total_out += Z, r.total += Z, Z && (_.adler = r.check = r.flags ? s(r.check, V, Z, Y - Z) : f(r.check, V, Z, Y - Z)), Z = J, (r.flags ? O : a(O)) !== r.check) {
2183
+ if (Z -= X, _.total_out += Z, r.total += Z, Z && (_.adler = r.check = r.flags ? s(r.check, K, Z, Y - Z) : f(r.check, K, Z, Y - Z)), Z = X, (r.flags ? O : a(O)) !== r.check) {
2184
2184
  _.msg = "incorrect data check", r.mode = 30;
2185
2185
  break;
2186
2186
  }
2187
- A = O = 0;
2187
+ z = O = 0;
2188
2188
  }
2189
2189
  r.mode = 28;
2190
2190
  case 28:
2191
2191
  if (r.wrap && r.flags) {
2192
- for (; A < 32; ) {
2192
+ for (; z < 32; ) {
2193
2193
  if (D === 0) break t;
2194
- D--, O += R[F++] << A, A += 8;
2194
+ D--, O += R[F++] << z, z += 8;
2195
2195
  }
2196
2196
  if (O !== (4294967295 & r.total)) {
2197
2197
  _.msg = "incorrect length check", r.mode = 30;
2198
2198
  break;
2199
2199
  }
2200
- A = O = 0;
2200
+ z = O = 0;
2201
2201
  }
2202
2202
  r.mode = 29;
2203
2203
  case 29:
@@ -2212,46 +2212,46 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2212
2212
  default:
2213
2213
  return o;
2214
2214
  }
2215
- return _.next_out = Y, _.avail_out = J, _.next_in = F, _.avail_in = D, r.hold = O, r.bits = A, (r.wsize || Z !== _.avail_out && r.mode < 30 && (r.mode < 27 || x !== 4)) && Q(_, _.output, _.next_out, Z - _.avail_out) ? (r.mode = 31, -4) : (X -= _.avail_in, Z -= _.avail_out, _.total_in += X, _.total_out += Z, r.total += Z, r.wrap && Z && (_.adler = r.check = r.flags ? s(r.check, V, Z, _.next_out - Z) : f(r.check, V, Z, _.next_out - Z)), _.data_type = r.bits + (r.last ? 64 : 0) + (r.mode === 12 ? 128 : 0) + (r.mode === 20 || r.mode === 15 ? 256 : 0), (X == 0 && Z === 0 || x === 4) && L === b && (L = -5), L);
2215
+ return _.next_out = Y, _.avail_out = X, _.next_in = F, _.avail_in = D, r.hold = O, r.bits = z, (r.wsize || Z !== _.avail_out && r.mode < 30 && (r.mode < 27 || x !== 4)) && Q(_, _.output, _.next_out, Z - _.avail_out) ? (r.mode = 31, -4) : (J -= _.avail_in, Z -= _.avail_out, _.total_in += J, _.total_out += Z, r.total += Z, r.wrap && Z && (_.adler = r.check = r.flags ? s(r.check, K, Z, _.next_out - Z) : f(r.check, K, Z, _.next_out - Z)), _.data_type = r.bits + (r.last ? 64 : 0) + (r.mode === 12 ? 128 : 0) + (r.mode === 20 || r.mode === 15 ? 256 : 0), (J == 0 && Z === 0 || x === 4) && L === v && (L = -5), L);
2216
2216
  }, h.inflateEnd = function(_) {
2217
2217
  if (!_ || !_.state) return o;
2218
2218
  var x = _.state;
2219
- return x.window && (x.window = null), _.state = null, b;
2219
+ return x.window && (x.window = null), _.state = null, v;
2220
2220
  }, h.inflateGetHeader = function(_, x) {
2221
2221
  var r;
2222
- return _ && _.state && 2 & (r = _.state).wrap ? ((r.head = x).done = !1, b) : o;
2222
+ return _ && _.state && 2 & (r = _.state).wrap ? ((r.head = x).done = !1, v) : o;
2223
2223
  }, h.inflateSetDictionary = function(_, x) {
2224
2224
  var r, R = x.length;
2225
- return _ && _.state ? (r = _.state).wrap !== 0 && r.mode !== 11 ? o : r.mode === 11 && f(1, x, R, 0) !== r.check ? -3 : Q(_, x, R, R) ? (r.mode = 31, -4) : (r.havedict = 1, b) : o;
2225
+ return _ && _.state ? (r = _.state).wrap !== 0 && r.mode !== 11 ? o : r.mode === 11 && f(1, x, R, 0) !== r.check ? -3 : Q(_, x, R, R) ? (r.mode = 31, -4) : (r.havedict = 1, v) : o;
2226
2226
  }, h.inflateInfo = "pako inflate (from Nodeca project)";
2227
2227
  }, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./inffast": 48, "./inftrees": 50 }], 50: [function(n, I, h) {
2228
2228
  var l = n("../utils/common"), f = [3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0], s = [16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 72, 78], c = [1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577, 0, 0], y = [16, 16, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 24, 25, 25, 26, 26, 27, 27, 28, 28, 29, 29, 64, 64];
2229
- I.exports = function(v, w, b, o, p, i, d, a) {
2230
- var m, k, E, C, B, P, j, T, H, Q = a.bits, _ = 0, x = 0, r = 0, R = 0, V = 0, F = 0, Y = 0, D = 0, J = 0, O = 0, A = null, X = 0, Z = new l.Buf16(16), M = new l.Buf16(16), it = null, at = 0;
2229
+ I.exports = function(b, w, v, o, p, i, d, a) {
2230
+ var m, k, E, C, B, P, j, N, H, Q = a.bits, _ = 0, x = 0, r = 0, R = 0, K = 0, F = 0, Y = 0, D = 0, X = 0, O = 0, z = null, J = 0, Z = new l.Buf16(16), W = new l.Buf16(16), st = null, at = 0;
2231
2231
  for (_ = 0; _ <= 15; _++) Z[_] = 0;
2232
- for (x = 0; x < o; x++) Z[w[b + x]]++;
2233
- for (V = Q, R = 15; 1 <= R && Z[R] === 0; R--) ;
2234
- if (R < V && (V = R), R === 0) return p[i++] = 20971520, p[i++] = 20971520, a.bits = 1, 0;
2232
+ for (x = 0; x < o; x++) Z[w[v + x]]++;
2233
+ for (K = Q, R = 15; 1 <= R && Z[R] === 0; R--) ;
2234
+ if (R < K && (K = R), R === 0) return p[i++] = 20971520, p[i++] = 20971520, a.bits = 1, 0;
2235
2235
  for (r = 1; r < R && Z[r] === 0; r++) ;
2236
- for (V < r && (V = r), _ = D = 1; _ <= 15; _++) if (D <<= 1, (D -= Z[_]) < 0) return -1;
2237
- if (0 < D && (v === 0 || R !== 1)) return -1;
2238
- for (M[1] = 0, _ = 1; _ < 15; _++) M[_ + 1] = M[_] + Z[_];
2239
- for (x = 0; x < o; x++) w[b + x] !== 0 && (d[M[w[b + x]]++] = x);
2240
- if (P = v === 0 ? (A = it = d, 19) : v === 1 ? (A = f, X -= 257, it = s, at -= 257, 256) : (A = c, it = y, -1), _ = r, B = i, Y = x = O = 0, E = -1, C = (J = 1 << (F = V)) - 1, v === 1 && 852 < J || v === 2 && 592 < J) return 1;
2236
+ for (K < r && (K = r), _ = D = 1; _ <= 15; _++) if (D <<= 1, (D -= Z[_]) < 0) return -1;
2237
+ if (0 < D && (b === 0 || R !== 1)) return -1;
2238
+ for (W[1] = 0, _ = 1; _ < 15; _++) W[_ + 1] = W[_] + Z[_];
2239
+ for (x = 0; x < o; x++) w[v + x] !== 0 && (d[W[w[v + x]]++] = x);
2240
+ if (P = b === 0 ? (z = st = d, 19) : b === 1 ? (z = f, J -= 257, st = s, at -= 257, 256) : (z = c, st = y, -1), _ = r, B = i, Y = x = O = 0, E = -1, C = (X = 1 << (F = K)) - 1, b === 1 && 852 < X || b === 2 && 592 < X) return 1;
2241
2241
  for (; ; ) {
2242
- for (j = _ - Y, H = d[x] < P ? (T = 0, d[x]) : d[x] > P ? (T = it[at + d[x]], A[X + d[x]]) : (T = 96, 0), m = 1 << _ - Y, r = k = 1 << F; p[B + (O >> Y) + (k -= m)] = j << 24 | T << 16 | H | 0, k !== 0; ) ;
2242
+ for (j = _ - Y, H = d[x] < P ? (N = 0, d[x]) : d[x] > P ? (N = st[at + d[x]], z[J + d[x]]) : (N = 96, 0), m = 1 << _ - Y, r = k = 1 << F; p[B + (O >> Y) + (k -= m)] = j << 24 | N << 16 | H | 0, k !== 0; ) ;
2243
2243
  for (m = 1 << _ - 1; O & m; ) m >>= 1;
2244
2244
  if (m !== 0 ? (O &= m - 1, O += m) : O = 0, x++, --Z[_] == 0) {
2245
2245
  if (_ === R) break;
2246
- _ = w[b + d[x]];
2246
+ _ = w[v + d[x]];
2247
2247
  }
2248
- if (V < _ && (O & C) !== E) {
2249
- for (Y === 0 && (Y = V), B += r, D = 1 << (F = _ - Y); F + Y < R && !((D -= Z[F + Y]) <= 0); ) F++, D <<= 1;
2250
- if (J += 1 << F, v === 1 && 852 < J || v === 2 && 592 < J) return 1;
2251
- p[E = O & C] = V << 24 | F << 16 | B - i | 0;
2248
+ if (K < _ && (O & C) !== E) {
2249
+ for (Y === 0 && (Y = K), B += r, D = 1 << (F = _ - Y); F + Y < R && !((D -= Z[F + Y]) <= 0); ) F++, D <<= 1;
2250
+ if (X += 1 << F, b === 1 && 852 < X || b === 2 && 592 < X) return 1;
2251
+ p[E = O & C] = K << 24 | F << 16 | B - i | 0;
2252
2252
  }
2253
2253
  }
2254
- return O !== 0 && (p[B + O] = _ - Y << 24 | 64 << 16 | 0), a.bits = V, 0;
2254
+ return O !== 0 && (p[B + O] = _ - Y << 24 | 64 << 16 | 0), a.bits = K, 0;
2255
2255
  };
2256
2256
  }, { "../utils/common": 41 }], 51: [function(n, I, h) {
2257
2257
  I.exports = { 2: "need dictionary", 1: "stream end", 0: "", "-1": "file error", "-2": "stream error", "-3": "data error", "-4": "insufficient memory", "-5": "buffer error", "-6": "incompatible version" };
@@ -2260,7 +2260,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2260
2260
  function c(u) {
2261
2261
  for (var S = u.length; 0 <= --S; ) u[S] = 0;
2262
2262
  }
2263
- var y = 0, v = 29, w = 256, b = w + 1 + v, o = 30, p = 19, i = 2 * b + 1, d = 15, a = 16, m = 7, k = 256, E = 16, C = 17, B = 18, P = [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0], j = [0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13], T = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7], H = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], Q = new Array(2 * (b + 2));
2263
+ var y = 0, b = 29, w = 256, v = w + 1 + b, o = 30, p = 19, i = 2 * v + 1, d = 15, a = 16, m = 7, k = 256, E = 16, C = 17, B = 18, P = [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0], j = [0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13], N = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7], H = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], Q = new Array(2 * (v + 2));
2264
2264
  c(Q);
2265
2265
  var _ = new Array(2 * o);
2266
2266
  c(_);
@@ -2268,136 +2268,136 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2268
2268
  c(x);
2269
2269
  var r = new Array(256);
2270
2270
  c(r);
2271
- var R = new Array(v);
2271
+ var R = new Array(b);
2272
2272
  c(R);
2273
- var V, F, Y, D = new Array(o);
2274
- function J(u, S, U, W, z) {
2275
- this.static_tree = u, this.extra_bits = S, this.extra_base = U, this.elems = W, this.max_length = z, this.has_stree = u && u.length;
2273
+ var K, F, Y, D = new Array(o);
2274
+ function X(u, S, U, M, A) {
2275
+ this.static_tree = u, this.extra_bits = S, this.extra_base = U, this.elems = M, this.max_length = A, this.has_stree = u && u.length;
2276
2276
  }
2277
2277
  function O(u, S) {
2278
2278
  this.dyn_tree = u, this.max_code = 0, this.stat_desc = S;
2279
2279
  }
2280
- function A(u) {
2280
+ function z(u) {
2281
2281
  return u < 256 ? x[u] : x[256 + (u >>> 7)];
2282
2282
  }
2283
- function X(u, S) {
2283
+ function J(u, S) {
2284
2284
  u.pending_buf[u.pending++] = 255 & S, u.pending_buf[u.pending++] = S >>> 8 & 255;
2285
2285
  }
2286
2286
  function Z(u, S, U) {
2287
- u.bi_valid > a - U ? (u.bi_buf |= S << u.bi_valid & 65535, X(u, u.bi_buf), u.bi_buf = S >> a - u.bi_valid, u.bi_valid += U - a) : (u.bi_buf |= S << u.bi_valid & 65535, u.bi_valid += U);
2287
+ u.bi_valid > a - U ? (u.bi_buf |= S << u.bi_valid & 65535, J(u, u.bi_buf), u.bi_buf = S >> a - u.bi_valid, u.bi_valid += U - a) : (u.bi_buf |= S << u.bi_valid & 65535, u.bi_valid += U);
2288
2288
  }
2289
- function M(u, S, U) {
2289
+ function W(u, S, U) {
2290
2290
  Z(u, U[2 * S], U[2 * S + 1]);
2291
2291
  }
2292
- function it(u, S) {
2292
+ function st(u, S) {
2293
2293
  for (var U = 0; U |= 1 & u, u >>>= 1, U <<= 1, 0 < --S; ) ;
2294
2294
  return U >>> 1;
2295
2295
  }
2296
2296
  function at(u, S, U) {
2297
- var W, z, q = new Array(d + 1), K = 0;
2298
- for (W = 1; W <= d; W++) q[W] = K = K + U[W - 1] << 1;
2299
- for (z = 0; z <= S; z++) {
2300
- var G = u[2 * z + 1];
2301
- G !== 0 && (u[2 * z] = it(q[G]++, G));
2297
+ var M, A, q = new Array(d + 1), V = 0;
2298
+ for (M = 1; M <= d; M++) q[M] = V = V + U[M - 1] << 1;
2299
+ for (A = 0; A <= S; A++) {
2300
+ var G = u[2 * A + 1];
2301
+ G !== 0 && (u[2 * A] = st(q[G]++, G));
2302
2302
  }
2303
2303
  }
2304
2304
  function nt(u) {
2305
2305
  var S;
2306
- for (S = 0; S < b; S++) u.dyn_ltree[2 * S] = 0;
2306
+ for (S = 0; S < v; S++) u.dyn_ltree[2 * S] = 0;
2307
2307
  for (S = 0; S < o; S++) u.dyn_dtree[2 * S] = 0;
2308
2308
  for (S = 0; S < p; S++) u.bl_tree[2 * S] = 0;
2309
2309
  u.dyn_ltree[2 * k] = 1, u.opt_len = u.static_len = 0, u.last_lit = u.matches = 0;
2310
2310
  }
2311
2311
  function tt(u) {
2312
- 8 < u.bi_valid ? X(u, u.bi_buf) : 0 < u.bi_valid && (u.pending_buf[u.pending++] = u.bi_buf), u.bi_buf = 0, u.bi_valid = 0;
2313
- }
2314
- function ot(u, S, U, W) {
2315
- var z = 2 * S, q = 2 * U;
2316
- return u[z] < u[q] || u[z] === u[q] && W[S] <= W[U];
2317
- }
2318
- function ct(u, S, U) {
2319
- for (var W = u.heap[U], z = U << 1; z <= u.heap_len && (z < u.heap_len && ot(S, u.heap[z + 1], u.heap[z], u.depth) && z++, !ot(S, W, u.heap[z], u.depth)); ) u.heap[U] = u.heap[z], U = z, z <<= 1;
2320
- u.heap[U] = W;
2321
- }
2322
- function ut(u, S, U) {
2323
- var W, z, q, K, G = 0;
2324
- if (u.last_lit !== 0) for (; W = u.pending_buf[u.d_buf + 2 * G] << 8 | u.pending_buf[u.d_buf + 2 * G + 1], z = u.pending_buf[u.l_buf + G], G++, W === 0 ? M(u, z, S) : (M(u, (q = r[z]) + w + 1, S), (K = P[q]) !== 0 && Z(u, z -= R[q], K), M(u, q = A(--W), U), (K = j[q]) !== 0 && Z(u, W -= D[q], K)), G < u.last_lit; ) ;
2325
- M(u, k, S);
2326
- }
2327
- function ft(u, S) {
2328
- var U, W, z, q = S.dyn_tree, K = S.stat_desc.static_tree, G = S.stat_desc.has_stree, et = S.stat_desc.elems, lt = -1;
2329
- for (u.heap_len = 0, u.heap_max = i, U = 0; U < et; U++) q[2 * U] !== 0 ? (u.heap[++u.heap_len] = lt = U, u.depth[U] = 0) : q[2 * U + 1] = 0;
2330
- for (; u.heap_len < 2; ) q[2 * (z = u.heap[++u.heap_len] = lt < 2 ? ++lt : 0)] = 1, u.depth[z] = 0, u.opt_len--, G && (u.static_len -= K[2 * z + 1]);
2331
- for (S.max_code = lt, U = u.heap_len >> 1; 1 <= U; U--) ct(u, q, U);
2332
- for (z = et; U = u.heap[1], u.heap[1] = u.heap[u.heap_len--], ct(u, q, 1), W = u.heap[1], u.heap[--u.heap_max] = U, u.heap[--u.heap_max] = W, q[2 * z] = q[2 * U] + q[2 * W], u.depth[z] = (u.depth[U] >= u.depth[W] ? u.depth[U] : u.depth[W]) + 1, q[2 * U + 1] = q[2 * W + 1] = z, u.heap[1] = z++, ct(u, q, 1), 2 <= u.heap_len; ) ;
2333
- u.heap[--u.heap_max] = u.heap[1], function(st, ht) {
2334
- var vt, mt, xt, pt, Ct, zt, kt = ht.dyn_tree, Rt = ht.max_code, Ot = ht.stat_desc.static_tree, Nt = ht.stat_desc.has_stree, Bt = ht.stat_desc.extra_bits, St = ht.stat_desc.extra_base, Et = ht.stat_desc.max_length, Tt = 0;
2335
- for (pt = 0; pt <= d; pt++) st.bl_count[pt] = 0;
2336
- for (kt[2 * st.heap[st.heap_max] + 1] = 0, vt = st.heap_max + 1; vt < i; vt++) Et < (pt = kt[2 * kt[2 * (mt = st.heap[vt]) + 1] + 1] + 1) && (pt = Et, Tt++), kt[2 * mt + 1] = pt, Rt < mt || (st.bl_count[pt]++, Ct = 0, St <= mt && (Ct = Bt[mt - St]), zt = kt[2 * mt], st.opt_len += zt * (pt + Ct), Nt && (st.static_len += zt * (Ot[2 * mt + 1] + Ct)));
2312
+ 8 < u.bi_valid ? J(u, u.bi_buf) : 0 < u.bi_valid && (u.pending_buf[u.pending++] = u.bi_buf), u.bi_buf = 0, u.bi_valid = 0;
2313
+ }
2314
+ function lt(u, S, U, M) {
2315
+ var A = 2 * S, q = 2 * U;
2316
+ return u[A] < u[q] || u[A] === u[q] && M[S] <= M[U];
2317
+ }
2318
+ function ot(u, S, U) {
2319
+ for (var M = u.heap[U], A = U << 1; A <= u.heap_len && (A < u.heap_len && lt(S, u.heap[A + 1], u.heap[A], u.depth) && A++, !lt(S, M, u.heap[A], u.depth)); ) u.heap[U] = u.heap[A], U = A, A <<= 1;
2320
+ u.heap[U] = M;
2321
+ }
2322
+ function ft(u, S, U) {
2323
+ var M, A, q, V, G = 0;
2324
+ if (u.last_lit !== 0) for (; M = u.pending_buf[u.d_buf + 2 * G] << 8 | u.pending_buf[u.d_buf + 2 * G + 1], A = u.pending_buf[u.l_buf + G], G++, M === 0 ? W(u, A, S) : (W(u, (q = r[A]) + w + 1, S), (V = P[q]) !== 0 && Z(u, A -= R[q], V), W(u, q = z(--M), U), (V = j[q]) !== 0 && Z(u, M -= D[q], V)), G < u.last_lit; ) ;
2325
+ W(u, k, S);
2326
+ }
2327
+ function ut(u, S) {
2328
+ var U, M, A, q = S.dyn_tree, V = S.stat_desc.static_tree, G = S.stat_desc.has_stree, et = S.stat_desc.elems, ct = -1;
2329
+ for (u.heap_len = 0, u.heap_max = i, U = 0; U < et; U++) q[2 * U] !== 0 ? (u.heap[++u.heap_len] = ct = U, u.depth[U] = 0) : q[2 * U + 1] = 0;
2330
+ for (; u.heap_len < 2; ) q[2 * (A = u.heap[++u.heap_len] = ct < 2 ? ++ct : 0)] = 1, u.depth[A] = 0, u.opt_len--, G && (u.static_len -= V[2 * A + 1]);
2331
+ for (S.max_code = ct, U = u.heap_len >> 1; 1 <= U; U--) ot(u, q, U);
2332
+ for (A = et; U = u.heap[1], u.heap[1] = u.heap[u.heap_len--], ot(u, q, 1), M = u.heap[1], u.heap[--u.heap_max] = U, u.heap[--u.heap_max] = M, q[2 * A] = q[2 * U] + q[2 * M], u.depth[A] = (u.depth[U] >= u.depth[M] ? u.depth[U] : u.depth[M]) + 1, q[2 * U + 1] = q[2 * M + 1] = A, u.heap[1] = A++, ot(u, q, 1), 2 <= u.heap_len; ) ;
2333
+ u.heap[--u.heap_max] = u.heap[1], function(it, ht) {
2334
+ var bt, pt, St, mt, It, Et, kt = ht.dyn_tree, Ot = ht.max_code, Rt = ht.stat_desc.static_tree, Bt = ht.stat_desc.has_stree, Pt = ht.stat_desc.extra_bits, Nt = ht.stat_desc.extra_base, xt = ht.stat_desc.max_length, Tt = 0;
2335
+ for (mt = 0; mt <= d; mt++) it.bl_count[mt] = 0;
2336
+ for (kt[2 * it.heap[it.heap_max] + 1] = 0, bt = it.heap_max + 1; bt < i; bt++) xt < (mt = kt[2 * kt[2 * (pt = it.heap[bt]) + 1] + 1] + 1) && (mt = xt, Tt++), kt[2 * pt + 1] = mt, Ot < pt || (it.bl_count[mt]++, It = 0, Nt <= pt && (It = Pt[pt - Nt]), Et = kt[2 * pt], it.opt_len += Et * (mt + It), Bt && (it.static_len += Et * (Rt[2 * pt + 1] + It)));
2337
2337
  if (Tt !== 0) {
2338
2338
  do {
2339
- for (pt = Et - 1; st.bl_count[pt] === 0; ) pt--;
2340
- st.bl_count[pt]--, st.bl_count[pt + 1] += 2, st.bl_count[Et]--, Tt -= 2;
2339
+ for (mt = xt - 1; it.bl_count[mt] === 0; ) mt--;
2340
+ it.bl_count[mt]--, it.bl_count[mt + 1] += 2, it.bl_count[xt]--, Tt -= 2;
2341
2341
  } while (0 < Tt);
2342
- for (pt = Et; pt !== 0; pt--) for (mt = st.bl_count[pt]; mt !== 0; ) Rt < (xt = st.heap[--vt]) || (kt[2 * xt + 1] !== pt && (st.opt_len += (pt - kt[2 * xt + 1]) * kt[2 * xt], kt[2 * xt + 1] = pt), mt--);
2342
+ for (mt = xt; mt !== 0; mt--) for (pt = it.bl_count[mt]; pt !== 0; ) Ot < (St = it.heap[--bt]) || (kt[2 * St + 1] !== mt && (it.opt_len += (mt - kt[2 * St + 1]) * kt[2 * St], kt[2 * St + 1] = mt), pt--);
2343
2343
  }
2344
- }(u, S), at(q, lt, u.bl_count);
2344
+ }(u, S), at(q, ct, u.bl_count);
2345
2345
  }
2346
2346
  function e(u, S, U) {
2347
- var W, z, q = -1, K = S[1], G = 0, et = 7, lt = 4;
2348
- for (K === 0 && (et = 138, lt = 3), S[2 * (U + 1) + 1] = 65535, W = 0; W <= U; W++) z = K, K = S[2 * (W + 1) + 1], ++G < et && z === K || (G < lt ? u.bl_tree[2 * z] += G : z !== 0 ? (z !== q && u.bl_tree[2 * z]++, u.bl_tree[2 * E]++) : G <= 10 ? u.bl_tree[2 * C]++ : u.bl_tree[2 * B]++, q = z, lt = (G = 0) === K ? (et = 138, 3) : z === K ? (et = 6, 3) : (et = 7, 4));
2347
+ var M, A, q = -1, V = S[1], G = 0, et = 7, ct = 4;
2348
+ for (V === 0 && (et = 138, ct = 3), S[2 * (U + 1) + 1] = 65535, M = 0; M <= U; M++) A = V, V = S[2 * (M + 1) + 1], ++G < et && A === V || (G < ct ? u.bl_tree[2 * A] += G : A !== 0 ? (A !== q && u.bl_tree[2 * A]++, u.bl_tree[2 * E]++) : G <= 10 ? u.bl_tree[2 * C]++ : u.bl_tree[2 * B]++, q = A, ct = (G = 0) === V ? (et = 138, 3) : A === V ? (et = 6, 3) : (et = 7, 4));
2349
2349
  }
2350
2350
  function L(u, S, U) {
2351
- var W, z, q = -1, K = S[1], G = 0, et = 7, lt = 4;
2352
- for (K === 0 && (et = 138, lt = 3), W = 0; W <= U; W++) if (z = K, K = S[2 * (W + 1) + 1], !(++G < et && z === K)) {
2353
- if (G < lt) for (; M(u, z, u.bl_tree), --G != 0; ) ;
2354
- else z !== 0 ? (z !== q && (M(u, z, u.bl_tree), G--), M(u, E, u.bl_tree), Z(u, G - 3, 2)) : G <= 10 ? (M(u, C, u.bl_tree), Z(u, G - 3, 3)) : (M(u, B, u.bl_tree), Z(u, G - 11, 7));
2355
- q = z, lt = (G = 0) === K ? (et = 138, 3) : z === K ? (et = 6, 3) : (et = 7, 4);
2351
+ var M, A, q = -1, V = S[1], G = 0, et = 7, ct = 4;
2352
+ for (V === 0 && (et = 138, ct = 3), M = 0; M <= U; M++) if (A = V, V = S[2 * (M + 1) + 1], !(++G < et && A === V)) {
2353
+ if (G < ct) for (; W(u, A, u.bl_tree), --G != 0; ) ;
2354
+ else A !== 0 ? (A !== q && (W(u, A, u.bl_tree), G--), W(u, E, u.bl_tree), Z(u, G - 3, 2)) : G <= 10 ? (W(u, C, u.bl_tree), Z(u, G - 3, 3)) : (W(u, B, u.bl_tree), Z(u, G - 11, 7));
2355
+ q = A, ct = (G = 0) === V ? (et = 138, 3) : A === V ? (et = 6, 3) : (et = 7, 4);
2356
2356
  }
2357
2357
  }
2358
2358
  c(D);
2359
- var N = !1;
2360
- function g(u, S, U, W) {
2361
- Z(u, (y << 1) + (W ? 1 : 0), 3), function(z, q, K, G) {
2362
- tt(z), X(z, K), X(z, ~K), l.arraySet(z.pending_buf, z.window, q, K, z.pending), z.pending += K;
2359
+ var T = !1;
2360
+ function g(u, S, U, M) {
2361
+ Z(u, (y << 1) + (M ? 1 : 0), 3), function(A, q, V, G) {
2362
+ tt(A), J(A, V), J(A, ~V), l.arraySet(A.pending_buf, A.window, q, V, A.pending), A.pending += V;
2363
2363
  }(u, S, U);
2364
2364
  }
2365
2365
  h._tr_init = function(u) {
2366
- N || (function() {
2367
- var S, U, W, z, q, K = new Array(d + 1);
2368
- for (z = W = 0; z < v - 1; z++) for (R[z] = W, S = 0; S < 1 << P[z]; S++) r[W++] = z;
2369
- for (r[W - 1] = z, z = q = 0; z < 16; z++) for (D[z] = q, S = 0; S < 1 << j[z]; S++) x[q++] = z;
2370
- for (q >>= 7; z < o; z++) for (D[z] = q << 7, S = 0; S < 1 << j[z] - 7; S++) x[256 + q++] = z;
2371
- for (U = 0; U <= d; U++) K[U] = 0;
2372
- for (S = 0; S <= 143; ) Q[2 * S + 1] = 8, S++, K[8]++;
2373
- for (; S <= 255; ) Q[2 * S + 1] = 9, S++, K[9]++;
2374
- for (; S <= 279; ) Q[2 * S + 1] = 7, S++, K[7]++;
2375
- for (; S <= 287; ) Q[2 * S + 1] = 8, S++, K[8]++;
2376
- for (at(Q, b + 1, K), S = 0; S < o; S++) _[2 * S + 1] = 5, _[2 * S] = it(S, 5);
2377
- V = new J(Q, P, w + 1, b, d), F = new J(_, j, 0, o, d), Y = new J(new Array(0), T, 0, p, m);
2378
- }(), N = !0), u.l_desc = new O(u.dyn_ltree, V), u.d_desc = new O(u.dyn_dtree, F), u.bl_desc = new O(u.bl_tree, Y), u.bi_buf = 0, u.bi_valid = 0, nt(u);
2379
- }, h._tr_stored_block = g, h._tr_flush_block = function(u, S, U, W) {
2380
- var z, q, K = 0;
2366
+ T || (function() {
2367
+ var S, U, M, A, q, V = new Array(d + 1);
2368
+ for (A = M = 0; A < b - 1; A++) for (R[A] = M, S = 0; S < 1 << P[A]; S++) r[M++] = A;
2369
+ for (r[M - 1] = A, A = q = 0; A < 16; A++) for (D[A] = q, S = 0; S < 1 << j[A]; S++) x[q++] = A;
2370
+ for (q >>= 7; A < o; A++) for (D[A] = q << 7, S = 0; S < 1 << j[A] - 7; S++) x[256 + q++] = A;
2371
+ for (U = 0; U <= d; U++) V[U] = 0;
2372
+ for (S = 0; S <= 143; ) Q[2 * S + 1] = 8, S++, V[8]++;
2373
+ for (; S <= 255; ) Q[2 * S + 1] = 9, S++, V[9]++;
2374
+ for (; S <= 279; ) Q[2 * S + 1] = 7, S++, V[7]++;
2375
+ for (; S <= 287; ) Q[2 * S + 1] = 8, S++, V[8]++;
2376
+ for (at(Q, v + 1, V), S = 0; S < o; S++) _[2 * S + 1] = 5, _[2 * S] = st(S, 5);
2377
+ K = new X(Q, P, w + 1, v, d), F = new X(_, j, 0, o, d), Y = new X(new Array(0), N, 0, p, m);
2378
+ }(), T = !0), u.l_desc = new O(u.dyn_ltree, K), u.d_desc = new O(u.dyn_dtree, F), u.bl_desc = new O(u.bl_tree, Y), u.bi_buf = 0, u.bi_valid = 0, nt(u);
2379
+ }, h._tr_stored_block = g, h._tr_flush_block = function(u, S, U, M) {
2380
+ var A, q, V = 0;
2381
2381
  0 < u.level ? (u.strm.data_type === 2 && (u.strm.data_type = function(G) {
2382
- var et, lt = 4093624447;
2383
- for (et = 0; et <= 31; et++, lt >>>= 1) if (1 & lt && G.dyn_ltree[2 * et] !== 0) return f;
2382
+ var et, ct = 4093624447;
2383
+ for (et = 0; et <= 31; et++, ct >>>= 1) if (1 & ct && G.dyn_ltree[2 * et] !== 0) return f;
2384
2384
  if (G.dyn_ltree[18] !== 0 || G.dyn_ltree[20] !== 0 || G.dyn_ltree[26] !== 0) return s;
2385
2385
  for (et = 32; et < w; et++) if (G.dyn_ltree[2 * et] !== 0) return s;
2386
2386
  return f;
2387
- }(u)), ft(u, u.l_desc), ft(u, u.d_desc), K = function(G) {
2387
+ }(u)), ut(u, u.l_desc), ut(u, u.d_desc), V = function(G) {
2388
2388
  var et;
2389
- for (e(G, G.dyn_ltree, G.l_desc.max_code), e(G, G.dyn_dtree, G.d_desc.max_code), ft(G, G.bl_desc), et = p - 1; 3 <= et && G.bl_tree[2 * H[et] + 1] === 0; et--) ;
2389
+ for (e(G, G.dyn_ltree, G.l_desc.max_code), e(G, G.dyn_dtree, G.d_desc.max_code), ut(G, G.bl_desc), et = p - 1; 3 <= et && G.bl_tree[2 * H[et] + 1] === 0; et--) ;
2390
2390
  return G.opt_len += 3 * (et + 1) + 5 + 5 + 4, et;
2391
- }(u), z = u.opt_len + 3 + 7 >>> 3, (q = u.static_len + 3 + 7 >>> 3) <= z && (z = q)) : z = q = U + 5, U + 4 <= z && S !== -1 ? g(u, S, U, W) : u.strategy === 4 || q === z ? (Z(u, 2 + (W ? 1 : 0), 3), ut(u, Q, _)) : (Z(u, 4 + (W ? 1 : 0), 3), function(G, et, lt, st) {
2391
+ }(u), A = u.opt_len + 3 + 7 >>> 3, (q = u.static_len + 3 + 7 >>> 3) <= A && (A = q)) : A = q = U + 5, U + 4 <= A && S !== -1 ? g(u, S, U, M) : u.strategy === 4 || q === A ? (Z(u, 2 + (M ? 1 : 0), 3), ft(u, Q, _)) : (Z(u, 4 + (M ? 1 : 0), 3), function(G, et, ct, it) {
2392
2392
  var ht;
2393
- for (Z(G, et - 257, 5), Z(G, lt - 1, 5), Z(G, st - 4, 4), ht = 0; ht < st; ht++) Z(G, G.bl_tree[2 * H[ht] + 1], 3);
2394
- L(G, G.dyn_ltree, et - 1), L(G, G.dyn_dtree, lt - 1);
2395
- }(u, u.l_desc.max_code + 1, u.d_desc.max_code + 1, K + 1), ut(u, u.dyn_ltree, u.dyn_dtree)), nt(u), W && tt(u);
2393
+ for (Z(G, et - 257, 5), Z(G, ct - 1, 5), Z(G, it - 4, 4), ht = 0; ht < it; ht++) Z(G, G.bl_tree[2 * H[ht] + 1], 3);
2394
+ L(G, G.dyn_ltree, et - 1), L(G, G.dyn_dtree, ct - 1);
2395
+ }(u, u.l_desc.max_code + 1, u.d_desc.max_code + 1, V + 1), ft(u, u.dyn_ltree, u.dyn_dtree)), nt(u), M && tt(u);
2396
2396
  }, h._tr_tally = function(u, S, U) {
2397
- return u.pending_buf[u.d_buf + 2 * u.last_lit] = S >>> 8 & 255, u.pending_buf[u.d_buf + 2 * u.last_lit + 1] = 255 & S, u.pending_buf[u.l_buf + u.last_lit] = 255 & U, u.last_lit++, S === 0 ? u.dyn_ltree[2 * U]++ : (u.matches++, S--, u.dyn_ltree[2 * (r[U] + w + 1)]++, u.dyn_dtree[2 * A(S)]++), u.last_lit === u.lit_bufsize - 1;
2397
+ return u.pending_buf[u.d_buf + 2 * u.last_lit] = S >>> 8 & 255, u.pending_buf[u.d_buf + 2 * u.last_lit + 1] = 255 & S, u.pending_buf[u.l_buf + u.last_lit] = 255 & U, u.last_lit++, S === 0 ? u.dyn_ltree[2 * U]++ : (u.matches++, S--, u.dyn_ltree[2 * (r[U] + w + 1)]++, u.dyn_dtree[2 * z(S)]++), u.last_lit === u.lit_bufsize - 1;
2398
2398
  }, h._tr_align = function(u) {
2399
- Z(u, 2, 3), M(u, k, Q), function(S) {
2400
- S.bi_valid === 16 ? (X(S, S.bi_buf), S.bi_buf = 0, S.bi_valid = 0) : 8 <= S.bi_valid && (S.pending_buf[S.pending++] = 255 & S.bi_buf, S.bi_buf >>= 8, S.bi_valid -= 8);
2399
+ Z(u, 2, 3), W(u, k, Q), function(S) {
2400
+ S.bi_valid === 16 ? (J(S, S.bi_buf), S.bi_buf = 0, S.bi_valid = 0) : 8 <= S.bi_valid && (S.pending_buf[S.pending++] = 255 & S.bi_buf, S.bi_buf >>= 8, S.bi_valid -= 8);
2401
2401
  }(u);
2402
2402
  };
2403
2403
  }, { "../utils/common": 41 }], 53: [function(n, I, h) {
@@ -2408,7 +2408,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2408
2408
  (function(l) {
2409
2409
  (function(f, s) {
2410
2410
  if (!f.setImmediate) {
2411
- var c, y, v, w, b = 1, o = {}, p = !1, i = f.document, d = Object.getPrototypeOf && Object.getPrototypeOf(f);
2411
+ var c, y, b, w, v = 1, o = {}, p = !1, i = f.document, d = Object.getPrototypeOf && Object.getPrototypeOf(f);
2412
2412
  d = d && d.setTimeout ? d : f, c = {}.toString.call(f.process) === "[object process]" ? function(E) {
2413
2413
  process.nextTick(function() {
2414
2414
  m(E);
@@ -2422,10 +2422,10 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2422
2422
  }
2423
2423
  }() ? (w = "setImmediate$" + Math.random() + "$", f.addEventListener ? f.addEventListener("message", k, !1) : f.attachEvent("onmessage", k), function(E) {
2424
2424
  f.postMessage(w + E, "*");
2425
- }) : f.MessageChannel ? ((v = new MessageChannel()).port1.onmessage = function(E) {
2425
+ }) : f.MessageChannel ? ((b = new MessageChannel()).port1.onmessage = function(E) {
2426
2426
  m(E.data);
2427
2427
  }, function(E) {
2428
- v.port2.postMessage(E);
2428
+ b.port2.postMessage(E);
2429
2429
  }) : i && "onreadystatechange" in i.createElement("script") ? (y = i.documentElement, function(E) {
2430
2430
  var C = i.createElement("script");
2431
2431
  C.onreadystatechange = function() {
@@ -2437,7 +2437,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2437
2437
  typeof E != "function" && (E = new Function("" + E));
2438
2438
  for (var C = new Array(arguments.length - 1), B = 0; B < C.length; B++) C[B] = arguments[B + 1];
2439
2439
  var P = { callback: E, args: C };
2440
- return o[b] = P, c(b), b++;
2440
+ return o[v] = P, c(v), v++;
2441
2441
  }, d.clearImmediate = a;
2442
2442
  }
2443
2443
  function a(E) {
@@ -2479,13 +2479,13 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2479
2479
  E.source === f && typeof E.data == "string" && E.data.indexOf(w) === 0 && m(+E.data.slice(w.length));
2480
2480
  }
2481
2481
  })(typeof self > "u" ? l === void 0 ? this : l : self);
2482
- }).call(this, typeof Ft < "u" ? Ft : typeof self < "u" ? self : typeof window < "u" ? window : {});
2482
+ }).call(this, typeof Lt < "u" ? Lt : typeof self < "u" ? self : typeof window < "u" ? window : {});
2483
2483
  }, {}] }, {}, [10])(10);
2484
2484
  });
2485
- })(te);
2486
- var me = te.exports;
2487
- const _e = /* @__PURE__ */ ie(me);
2488
- function Yt($, t) {
2485
+ })(ne);
2486
+ var be = ne.exports;
2487
+ const ve = /* @__PURE__ */ oe(be);
2488
+ function Jt($, t) {
2489
2489
  const n = $.split("/");
2490
2490
  n.pop();
2491
2491
  const I = t.split("/");
@@ -2493,10 +2493,10 @@ function Yt($, t) {
2493
2493
  h !== "." && (h === ".." ? n.pop() : n.push(h));
2494
2494
  return n.join("/");
2495
2495
  }
2496
- function ge() {
2497
- const [$, t] = bt(""), [n, I] = bt(!1), [h, l] = bt(""), [f, s] = bt([]), [c, y] = bt(null);
2498
- let v = "", w = "";
2499
- const b = At(null), o = At(null), p = {}, i = re(async (_) => {
2496
+ function ye() {
2497
+ const [$, t] = vt(""), [n, I] = vt(!1), [h, l] = vt(""), [f, s] = vt([]), [c, y] = vt(null);
2498
+ let b = "", w = "";
2499
+ const v = Ct(null), o = Ct(null), p = {}, i = se(async (_) => {
2500
2500
  I(!0), t(""), s([]), l("Loading..."), y(null), o.current && (document.head.removeChild(o.current), URL.revokeObjectURL(o.current.href), o.current = null);
2501
2501
  try {
2502
2502
  let x;
@@ -2506,180 +2506,180 @@ function ge() {
2506
2506
  x = await r.arrayBuffer();
2507
2507
  } else _ instanceof File ? x = await _.arrayBuffer() : x = _;
2508
2508
  if (!x || x.byteLength === 0) throw new Error("EPUB source is empty.");
2509
- b.current = await _e.loadAsync(x), await d();
2509
+ v.current = await ve.loadAsync(x), await d();
2510
2510
  } catch (x) {
2511
2511
  console.error("Error processing EPUB source:", x), y(x instanceof Error ? x.message : "Unknown error"), I(!1);
2512
2512
  }
2513
2513
  }, []);
2514
2514
  async function d() {
2515
- if (!b.current) throw new Error("Zip not loaded");
2516
- const _ = b.current.file("META-INF/container.xml");
2515
+ if (!v.current) throw new Error("Zip not loaded");
2516
+ const _ = v.current.file("META-INF/container.xml");
2517
2517
  if (!_) throw new Error("META-INF/container.xml not found.");
2518
- const x = await _.async("text"), r = new DOMParser(), V = r.parseFromString(x, "application/xml").querySelector('rootfile[media-type="application/oebps-package+xml"]'), F = V == null ? void 0 : V.getAttribute("full-path");
2518
+ const x = await _.async("text"), r = new DOMParser(), K = r.parseFromString(x, "application/xml").querySelector('rootfile[media-type="application/oebps-package+xml"]'), F = K == null ? void 0 : K.getAttribute("full-path");
2519
2519
  if (!F) throw new Error("OPF file path not found.");
2520
- v = F.substring(0, F.lastIndexOf("/") + 1);
2521
- const Y = b.current.file(F);
2520
+ b = F.substring(0, F.lastIndexOf("/") + 1);
2521
+ const Y = v.current.file(F);
2522
2522
  if (!Y) throw new Error(`OPF file not found at path: ${F}`);
2523
- const D = await Y.async("text"), J = r.parseFromString(D, "application/xml");
2524
- if (J.querySelector("parsererror")) throw new Error("Error parsing OPF file.");
2525
- a(J), await m(J);
2523
+ const D = await Y.async("text"), X = r.parseFromString(D, "application/xml");
2524
+ if (X.querySelector("parsererror")) throw new Error("Error parsing OPF file.");
2525
+ a(X), await m(X);
2526
2526
  }
2527
2527
  function a(_) {
2528
2528
  const x = _.querySelector("metadata > dc\\:title") || _.querySelector("metadata > title");
2529
2529
  l((x == null ? void 0 : x.textContent) || "Untitled Book");
2530
2530
  }
2531
2531
  async function m(_) {
2532
- if (!b.current) return;
2532
+ if (!v.current) return;
2533
2533
  const x = {}, r = {};
2534
2534
  _.querySelectorAll("manifest > item").forEach((Y) => {
2535
- const D = Y.getAttribute("id"), J = Y.getAttribute("href"), O = Y.getAttribute("media-type"), A = Y.getAttribute("properties");
2536
- if (D && J && O) {
2537
- const X = decodeURIComponent(J);
2535
+ const D = Y.getAttribute("id"), X = Y.getAttribute("href"), O = Y.getAttribute("media-type"), z = Y.getAttribute("properties");
2536
+ if (D && X && O) {
2537
+ const J = decodeURIComponent(X);
2538
2538
  x[D] = {
2539
- href: X,
2539
+ href: J,
2540
2540
  type: O,
2541
- properties: A
2542
- }, r[X] = D;
2541
+ properties: z
2542
+ }, r[J] = D;
2543
2543
  }
2544
2544
  }), await k(_, x, r);
2545
2545
  const R = Array.from(_.querySelectorAll("spine > itemref")).map((Y) => Y.getAttribute("idref"));
2546
- let V = "";
2546
+ let K = "";
2547
2547
  const F = /* @__PURE__ */ new Set();
2548
2548
  for (const Y of R) {
2549
2549
  if (!Y) continue;
2550
2550
  const D = x[Y];
2551
2551
  if (D && (D.type.includes("html") || D.type.includes("xml")))
2552
2552
  try {
2553
- const J = v + D.href, O = b.current.file(J);
2553
+ const X = b + D.href, O = v.current.file(X);
2554
2554
  if (O) {
2555
- const A = await O.async("text"), X = await C(A, D.type, Y, D.href, r);
2556
- V += `<div class="bok-chapter" id="${Y}">${X}</div>`;
2555
+ const z = await O.async("text"), J = await C(z, D.type, Y, D.href, r);
2556
+ K += `<div class="bok-chapter" id="${Y}">${J}</div>`;
2557
2557
  }
2558
- } catch (J) {
2559
- console.warn(`Failed to process spine item ${D.href}:`, J);
2558
+ } catch (X) {
2559
+ console.warn(`Failed to process spine item ${D.href}:`, X);
2560
2560
  }
2561
2561
  }
2562
2562
  for (const Y in x) {
2563
2563
  const D = x[Y];
2564
2564
  if (D.type.includes("css")) {
2565
- const J = v + D.href;
2566
- if (!F.has(J)) {
2567
- const O = b.current.file(J);
2565
+ const X = b + D.href;
2566
+ if (!F.has(X)) {
2567
+ const O = v.current.file(X);
2568
2568
  if (O) {
2569
- const A = await O.async("text");
2570
- w += H(A) + `
2571
- `, F.add(J);
2569
+ const z = await O.async("text");
2570
+ w += H(z) + `
2571
+ `, F.add(X);
2572
2572
  }
2573
2573
  }
2574
2574
  }
2575
2575
  }
2576
- Q(), t(V), I(!1);
2576
+ Q(), t(K), I(!1);
2577
2577
  }
2578
2578
  async function k(_, x, r) {
2579
- let R = null, V = null;
2579
+ let R = null, K = null;
2580
2580
  const F = Object.keys(x).find((Z) => {
2581
- var M;
2582
- return x[Z].properties && ((M = x[Z].properties) == null ? void 0 : M.includes("nav"));
2581
+ var W;
2582
+ return x[Z].properties && ((W = x[Z].properties) == null ? void 0 : W.includes("nav"));
2583
2583
  });
2584
2584
  if (F)
2585
- V = x[F];
2585
+ K = x[F];
2586
2586
  else {
2587
2587
  const Z = _.querySelector("spine");
2588
- R = Z == null ? void 0 : Z.getAttribute("toc"), R && x[R] && (V = x[R]);
2588
+ R = Z == null ? void 0 : Z.getAttribute("toc"), R && x[R] && (K = x[R]);
2589
2589
  }
2590
- if (!V || !b.current) {
2590
+ if (!K || !v.current) {
2591
2591
  console.log("No TOC found.");
2592
2592
  return;
2593
2593
  }
2594
- const Y = v + V.href, D = b.current.file(Y);
2594
+ const Y = b + K.href, D = v.current.file(Y);
2595
2595
  if (!D) return;
2596
- const J = await D.async("text"), A = new DOMParser().parseFromString(J, "application/xml");
2597
- let X = [];
2598
- if (V.type.includes("ncx")) {
2599
- const Z = Array.from(A.querySelectorAll("navMap > navPoint")), M = (it) => it.map((at) => {
2600
- var ct, ut;
2601
- const nt = ((ct = at.querySelector("navLabel > text")) == null ? void 0 : ct.textContent) || "Unnamed", tt = ((ut = at.querySelector("content")) == null ? void 0 : ut.getAttribute("src")) || "", ot = Array.from(at.children).filter((ft) => ft.tagName.toLowerCase() === "navpoint");
2596
+ const X = await D.async("text"), z = new DOMParser().parseFromString(X, "application/xml");
2597
+ let J = [];
2598
+ if (K.type.includes("ncx")) {
2599
+ const Z = Array.from(z.querySelectorAll("navMap > navPoint")), W = (st) => st.map((at) => {
2600
+ var ot, ft;
2601
+ const nt = ((ot = at.querySelector("navLabel > text")) == null ? void 0 : ot.textContent) || "Unnamed", tt = ((ft = at.querySelector("content")) == null ? void 0 : ft.getAttribute("src")) || "", lt = Array.from(at.children).filter((ut) => ut.tagName.toLowerCase() === "navpoint");
2602
2602
  return {
2603
2603
  label: nt,
2604
- href: E(tt, V.href, r),
2605
- subitems: M(ot)
2604
+ href: E(tt, K.href, r),
2605
+ subitems: W(lt)
2606
2606
  };
2607
2607
  });
2608
- X = M(Z);
2608
+ J = W(Z);
2609
2609
  } else {
2610
- const Z = A.querySelector("nav[epub\\:type='toc']") || A.querySelector("nav"), M = Z == null ? void 0 : Z.querySelector("ol"), it = (at) => at ? Array.from(at.children).filter((nt) => nt.tagName.toLowerCase() === "li").map((nt) => {
2611
- var ft;
2612
- const tt = nt.querySelector(":scope > a") || nt.querySelector(":scope > span"), ot = ((ft = tt == null ? void 0 : tt.textContent) == null ? void 0 : ft.trim()) || "Unnamed", ct = (tt == null ? void 0 : tt.getAttribute("href")) || "", ut = nt.querySelector(":scope > ol");
2610
+ const Z = z.querySelector("nav[epub\\:type='toc']") || z.querySelector("nav"), W = Z == null ? void 0 : Z.querySelector("ol"), st = (at) => at ? Array.from(at.children).filter((nt) => nt.tagName.toLowerCase() === "li").map((nt) => {
2611
+ var ut;
2612
+ const tt = nt.querySelector(":scope > a") || nt.querySelector(":scope > span"), lt = ((ut = tt == null ? void 0 : tt.textContent) == null ? void 0 : ut.trim()) || "Unnamed", ot = (tt == null ? void 0 : tt.getAttribute("href")) || "", ft = nt.querySelector(":scope > ol");
2613
2613
  return {
2614
- label: ot,
2615
- href: E(ct, V.href, r),
2616
- subitems: it(ut)
2614
+ label: lt,
2615
+ href: E(ot, K.href, r),
2616
+ subitems: st(ft)
2617
2617
  };
2618
2618
  }) : [];
2619
- M && (X = it(M));
2619
+ W && (J = st(W));
2620
2620
  }
2621
- console.log("Parsed TOC:", X), s(X);
2621
+ console.log("Parsed TOC:", J), s(J);
2622
2622
  }
2623
2623
  function E(_, x, r) {
2624
2624
  if (!_) return "";
2625
- const [R, V] = _.split("#"), F = Yt(x, R), Y = r[F];
2626
- return Y ? V ? `#${Y}_${V}` : `#${Y}` : "";
2625
+ const [R, K] = _.split("#"), F = Jt(x, R), Y = r[F];
2626
+ return Y ? K ? `#${Y}_${K}` : `#${Y}` : "";
2627
2627
  }
2628
- async function C(_, x, r, R, V) {
2628
+ async function C(_, x, r, R, K) {
2629
2629
  let F = [..._.matchAll(/<style[^>]*>([\s\S]*?)<\/style>/gi)].map((D) => D[1]).join(`
2630
2630
  `);
2631
2631
  F = H(F), w += F;
2632
2632
  let Y = _.replace(/<style[^>]*>[\s\S]*?<\/style>/gi, "");
2633
- return Y = Y.replace(/<link[^>]*?>/gi, ""), Y = Y.replace(/<title[^>]*>[\s\S]*?<\/title>/gi, ""), Y = await B(Y, x, r, R, V), Y;
2633
+ return Y = Y.replace(/<link[^>]*?>/gi, ""), Y = Y.replace(/<title[^>]*>[\s\S]*?<\/title>/gi, ""), Y = await B(Y, x, r, R, K), Y;
2634
2634
  }
2635
- async function B(_, x, r, R, V) {
2635
+ async function B(_, x, r, R, K) {
2636
2636
  const Y = new DOMParser().parseFromString(_, x);
2637
2637
  if (Y.querySelector("parsererror"))
2638
2638
  return console.warn("Parser error in manipulateDom"), _;
2639
2639
  const D = Y.querySelectorAll("[id]");
2640
2640
  for (const Z of D) {
2641
- const M = Z.getAttribute("id");
2642
- Z.setAttribute("id", `${r}_${M}`);
2641
+ const W = Z.getAttribute("id");
2642
+ Z.setAttribute("id", `${r}_${W}`);
2643
2643
  }
2644
- const J = Y.querySelectorAll("a[href]");
2645
- for (const Z of J) {
2646
- const M = Z.getAttribute("href");
2647
- if (!(!M || M.startsWith("http") || M.startsWith("mailto")))
2648
- if (M.startsWith("#")) {
2649
- const it = M.substring(1);
2650
- Z.setAttribute("href", `#${r}_${it}`);
2644
+ const X = Y.querySelectorAll("a[href]");
2645
+ for (const Z of X) {
2646
+ const W = Z.getAttribute("href");
2647
+ if (!(!W || W.startsWith("http") || W.startsWith("mailto")))
2648
+ if (W.startsWith("#")) {
2649
+ const st = W.substring(1);
2650
+ Z.setAttribute("href", `#${r}_${st}`);
2651
2651
  } else {
2652
- const [it, at] = M.split("#"), nt = Yt(R, it), tt = V[nt];
2652
+ const [st, at] = W.split("#"), nt = Jt(R, st), tt = K[nt];
2653
2653
  tt && (at ? Z.setAttribute("href", `#${tt}_${at}`) : Z.setAttribute("href", `#${tt}`));
2654
2654
  }
2655
2655
  }
2656
2656
  const O = Y.querySelectorAll("img");
2657
2657
  for (const Z of O) await P(Z);
2658
- const A = Y.querySelectorAll("image");
2659
- for (const Z of A) await j(Z);
2658
+ const z = Y.querySelectorAll("image");
2659
+ for (const Z of z) await j(Z);
2660
2660
  return new XMLSerializer().serializeToString(Y.documentElement || Y);
2661
2661
  }
2662
2662
  async function P(_) {
2663
2663
  let x = _.getAttribute("src");
2664
2664
  if (x) {
2665
2665
  for (; x.startsWith(".") || x.startsWith("/"); ) x = x.slice(1);
2666
- x = v + x, await T(_, "src", x);
2666
+ x = b + x, await N(_, "src", x);
2667
2667
  }
2668
2668
  }
2669
2669
  async function j(_) {
2670
2670
  let x = _.getAttribute("xlink:href");
2671
2671
  if (x) {
2672
2672
  for (; x.startsWith(".") || x.startsWith("/"); ) x = x.slice(1);
2673
- x = v + x, await T(_, "xlink:href", x);
2673
+ x = b + x, await N(_, "xlink:href", x);
2674
2674
  }
2675
2675
  }
2676
- async function T(_, x, r) {
2676
+ async function N(_, x, r) {
2677
2677
  var R;
2678
2678
  if (p[r] === void 0) {
2679
- const V = (R = b.current) == null ? void 0 : R.file(r);
2680
- if (V)
2679
+ const K = (R = v.current) == null ? void 0 : R.file(r);
2680
+ if (K)
2681
2681
  try {
2682
- const F = await V.async("blob");
2682
+ const F = await K.async("blob");
2683
2683
  p[r] = URL.createObjectURL(F);
2684
2684
  } catch {
2685
2685
  p[r] = "";
@@ -2694,7 +2694,7 @@ function ge() {
2694
2694
  let r = _.replace(/\/\*[\s\S]*?\*\//g, "");
2695
2695
  r = r.replace(/(^|[^.#\w-])(html|body)(?![\w-])/gi, "butt-sex-masterr");
2696
2696
  for (const R of x) {
2697
- const V = R.replace(/[.*+?^${}()|[\]\\-]/g, "\\$&"), F = new RegExp(`${V}(?:-[\\w-]+)?\\s*:[^;{}]*;?`, "gi");
2697
+ const K = R.replace(/[.*+?^${}()|[\]\\-]/g, "\\$&"), F = new RegExp(`${K}(?:-[\\w-]+)?\\s*:[^;{}]*;?`, "gi");
2698
2698
  r = r.replace(F, "");
2699
2699
  }
2700
2700
  return r = r.replace(/[^{}@]+\{\s*\}/g, ""), r = r.replace(/@media[^{]*\{\s*\}/g, ""), r = r.replace(/\n\s*\n/g, `
@@ -2717,8 +2717,8 @@ function ge() {
2717
2717
  setIsLoading: I
2718
2718
  };
2719
2719
  }
2720
- function Pt($, t) {
2721
- const [n, I] = bt(() => {
2720
+ function Ft($, t) {
2721
+ const [n, I] = vt(() => {
2722
2722
  if (typeof window > "u") return t;
2723
2723
  try {
2724
2724
  const h = localStorage.getItem($);
@@ -2735,27 +2735,27 @@ function Pt($, t) {
2735
2735
  }
2736
2736
  }, [$, n]), [n, I];
2737
2737
  }
2738
- function ee($) {
2739
- const t = It.c(8);
2738
+ function ie($) {
2739
+ const t = zt.c(8);
2740
2740
  let n;
2741
2741
  t[0] === Symbol.for("react.memo_cache_sentinel") ? (n = {
2742
2742
  width: 0,
2743
2743
  height: 0,
2744
2744
  noOfPages: 1
2745
2745
  }, t[0] = n) : n = t[0];
2746
- const [I, h] = bt(n);
2746
+ const [I, h] = vt(n);
2747
2747
  let l, f;
2748
2748
  t[1] !== $ ? (l = () => {
2749
2749
  const c = $ == null ? void 0 : $.current, y = () => {
2750
2750
  if (c) {
2751
- const v = c.getBoundingClientRect(), w = v.height < v.width;
2752
- h((b) => {
2753
- const o = w ? v.width / 2 : v.width, p = v.height, i = w ? 2 : 1;
2754
- return b.width !== o || b.height !== p || b.noOfPages !== i ? {
2751
+ const b = c.getBoundingClientRect(), w = b.height < b.width;
2752
+ h((v) => {
2753
+ const o = w ? b.width / 2 : b.width, p = b.height, i = w ? 2 : 1;
2754
+ return v.width !== o || v.height !== p || v.noOfPages !== i ? {
2755
2755
  width: o,
2756
2756
  height: p,
2757
2757
  noOfPages: i
2758
- } : b;
2758
+ } : v;
2759
2759
  });
2760
2760
  } else
2761
2761
  h({
@@ -2766,21 +2766,21 @@ function ee($) {
2766
2766
  };
2767
2767
  if (c) {
2768
2768
  y();
2769
- const v = new ResizeObserver(y);
2770
- return v.observe(c), () => {
2771
- v.unobserve(c);
2769
+ const b = new ResizeObserver(y);
2770
+ return b.observe(c), () => {
2771
+ b.unobserve(c);
2772
2772
  };
2773
2773
  }
2774
2774
  }, f = [$], t[1] = $, t[2] = l, t[3] = f) : (l = t[2], f = t[3]), gt(l, f);
2775
2775
  let s;
2776
2776
  return t[4] !== I.height || t[5] !== I.noOfPages || t[6] !== I.width ? (s = [I.width, I.height, I.noOfPages], t[4] = I.height, t[5] = I.noOfPages, t[6] = I.width, t[7] = s) : s = t[7], s;
2777
2777
  }
2778
- function ve($) {
2779
- const t = It.c(8), [n, I] = bt(0);
2778
+ function we($) {
2779
+ const t = zt.c(8), [n, I] = vt(0);
2780
2780
  let h;
2781
2781
  t[0] !== $ ? (h = () => {
2782
2782
  if ($.current) {
2783
- const y = $.current.scrollWidth, v = $.current.scrollLeft, w = y > 0 ? v / y : 0;
2783
+ const y = $.current.scrollWidth, b = $.current.scrollLeft, w = y > 0 ? b / y : 0;
2784
2784
  I(w);
2785
2785
  }
2786
2786
  }, t[0] = $, t[1] = h) : h = t[1];
@@ -2790,27 +2790,27 @@ function ve($) {
2790
2790
  const y = $.current;
2791
2791
  if (!y)
2792
2792
  return;
2793
- let v = null;
2793
+ let b = null;
2794
2794
  const w = () => {
2795
- v && clearTimeout(v), v = setTimeout(() => {
2795
+ b && clearTimeout(b), b = setTimeout(() => {
2796
2796
  l();
2797
2797
  }, 100);
2798
2798
  };
2799
2799
  return y.addEventListener("scroll", w), l(), () => {
2800
- v && clearTimeout(v), y.removeEventListener("scroll", w);
2800
+ b && clearTimeout(b), y.removeEventListener("scroll", w);
2801
2801
  };
2802
2802
  }, s = [l, $], t[2] = $, t[3] = l, t[4] = f, t[5] = s) : (f = t[4], s = t[5]), gt(f, s);
2803
2803
  let c;
2804
2804
  return t[6] !== n ? (c = [n, I], t[6] = n, t[7] = c) : c = t[7], c;
2805
2805
  }
2806
- const be = ($, t, n, I) => {
2807
- const h = It.c(21), [l, f] = ee(n), s = At(null), c = At("");
2806
+ const ke = ($, t, n, I) => {
2807
+ const h = zt.c(21), [l, f] = ie(n), s = Ct(null), c = Ct("");
2808
2808
  let y;
2809
2809
  h[0] !== $ || h[1] !== t || h[2] !== f || h[3] !== l || h[4] !== I ? (y = (a, m) => {
2810
2810
  !t && !I && (a / l <= 0.4 && m / f < 0.8 && $(-1), a / l > 0.4 && m / f < 0.8 && $(1));
2811
2811
  }, h[0] = $, h[1] = t, h[2] = f, h[3] = l, h[4] = I, h[5] = y) : y = h[5];
2812
- const v = y;
2813
- let w, b;
2812
+ const b = y;
2813
+ let w, v;
2814
2814
  h[6] === Symbol.for("react.memo_cache_sentinel") ? (w = () => {
2815
2815
  const a = () => {
2816
2816
  var k;
@@ -2820,9 +2820,9 @@ const be = ($, t, n, I) => {
2820
2820
  return document.addEventListener("selectionchange", a), () => {
2821
2821
  document.removeEventListener("selectionchange", a);
2822
2822
  };
2823
- }, b = [], h[6] = w, h[7] = b) : (w = h[6], b = h[7]), gt(w, b);
2823
+ }, v = [], h[6] = w, h[7] = v) : (w = h[6], v = h[7]), gt(w, v);
2824
2824
  let o;
2825
- h[8] !== v ? (o = () => {
2825
+ h[8] !== b ? (o = () => {
2826
2826
  const a = () => {
2827
2827
  s.current = window.setTimeout(() => {
2828
2828
  s.current = null;
@@ -2834,33 +2834,33 @@ const be = ($, t, n, I) => {
2834
2834
  pageX: C,
2835
2835
  pageY: B
2836
2836
  } = k.touches[0];
2837
- v(C, B);
2837
+ b(C, B);
2838
2838
  }
2839
2839
  };
2840
2840
  return window.addEventListener("touchstart", a), window.addEventListener("touchend", m), () => {
2841
2841
  window.removeEventListener("touchstart", a), window.removeEventListener("touchend", m);
2842
2842
  };
2843
- }, h[8] = v, h[9] = o) : o = h[9];
2843
+ }, h[8] = b, h[9] = o) : o = h[9];
2844
2844
  let p;
2845
- h[10] !== v || h[11] !== l ? (p = [l, v], h[10] = v, h[11] = l, h[12] = p) : p = h[12], gt(o, p);
2845
+ h[10] !== b || h[11] !== l ? (p = [l, b], h[10] = b, h[11] = l, h[12] = p) : p = h[12], gt(o, p);
2846
2846
  let i;
2847
- h[13] !== n || h[14] !== v ? (i = () => {
2847
+ h[13] !== n || h[14] !== b ? (i = () => {
2848
2848
  const a = n.current, m = () => {
2849
- s.current = window.setTimeout(ye, 200);
2849
+ s.current = window.setTimeout(Se, 200);
2850
2850
  }, k = (E) => {
2851
- E.target.closest("a") || s.current && !c.current && (clearTimeout(s.current), s.current = null, v(E.clientX, E.clientY));
2851
+ E.target.closest("a") || s.current && !c.current && (clearTimeout(s.current), s.current = null, b(E.clientX, E.clientY));
2852
2852
  };
2853
2853
  return a == null || a.addEventListener("mousedown", m), a == null || a.addEventListener("mouseup", k), () => {
2854
2854
  a == null || a.removeEventListener("mousedown", m), a == null || a.removeEventListener("mouseup", k);
2855
2855
  };
2856
- }, h[13] = n, h[14] = v, h[15] = i) : i = h[15];
2856
+ }, h[13] = n, h[14] = b, h[15] = i) : i = h[15];
2857
2857
  let d;
2858
- h[16] !== n || h[17] !== v || h[18] !== t || h[19] !== l ? (d = [l, t, v, n], h[16] = n, h[17] = v, h[18] = t, h[19] = l, h[20] = d) : d = h[20], gt(i, d);
2858
+ h[16] !== n || h[17] !== b || h[18] !== t || h[19] !== l ? (d = [l, t, b, n], h[16] = n, h[17] = b, h[18] = t, h[19] = l, h[20] = d) : d = h[20], gt(i, d);
2859
2859
  };
2860
- function ye() {
2860
+ function Se() {
2861
2861
  }
2862
- function we($) {
2863
- const t = It.c(3), {
2862
+ function xe($) {
2863
+ const t = zt.c(3), {
2864
2864
  currentPage: n,
2865
2865
  pages: I
2866
2866
  } = $, h = n + 1;
@@ -2871,15 +2871,15 @@ function we($) {
2871
2871
  I
2872
2872
  ] }), t[0] = I, t[1] = h, t[2] = l) : l = t[2], l;
2873
2873
  }
2874
- function Zt($) {
2874
+ function qt($) {
2875
2875
  const t = document.getElementById("bok-main-element");
2876
2876
  if (t !== null) {
2877
2877
  const n = t.getBoundingClientRect().width, I = $.offsetLeft;
2878
2878
  return Math.floor(I / n);
2879
2879
  } else throw Error;
2880
2880
  }
2881
- const ke = ($) => 1 + 2.1 * Math.pow($ - 1, 3) + 1.1 * Math.pow($ - 1, 2), Se = $t(($, t) => {
2882
- const n = It.c(62), {
2881
+ const Ce = ($) => 1 + 2.1 * Math.pow($ - 1, 3) + 1.1 * Math.pow($ - 1, 2), Ee = Yt(($, t) => {
2882
+ const n = zt.c(62), {
2883
2883
  content: I,
2884
2884
  title: h,
2885
2885
  setIsLoading: l,
@@ -2887,100 +2887,100 @@ const ke = ($) => 1 + 2.1 * Math.pow($ - 1, 3) + 1.1 * Math.pow($ - 1, 2), Se =
2887
2887
  sidePadding: s,
2888
2888
  fontFamily: c,
2889
2889
  isOptionMenuVisible: y,
2890
- containerElementRef: v,
2890
+ containerElementRef: b,
2891
2891
  showTutorial: w,
2892
- onPageChange: b,
2892
+ onPageChange: v,
2893
2893
  onPageCountChange: o
2894
- } = $, p = At(null), [i, d, a] = ee(v), [m, k] = ve(p), [E, C] = bt(1), [B, P] = bt(0), [j, T] = Pt(`bok_progress_${h}`, 0), H = At(m), Q = At(null);
2894
+ } = $, p = Ct(null), [i, d, a] = ie(b), [m, k] = we(p), [E, C] = vt(1), [B, P] = vt(0), [j, N] = Ft(`bok_progress_${h}`, 0), H = Ct(m), Q = Ct(null);
2895
2895
  let _, x;
2896
2896
  n[0] !== o || n[1] !== B ? (_ = () => {
2897
2897
  o && o(B);
2898
2898
  }, x = [B, o], n[0] = o, n[1] = B, n[2] = _, n[3] = x) : (_ = n[2], x = n[3]), gt(_, x);
2899
2899
  let r, R;
2900
- n[4] !== E || n[5] !== b ? (r = () => {
2901
- b && b(E);
2902
- }, R = [E, b], n[4] = E, n[5] = b, n[6] = r, n[7] = R) : (r = n[6], R = n[7]), gt(r, R);
2903
- let V, F;
2904
- n[8] !== m ? (V = () => {
2900
+ n[4] !== E || n[5] !== v ? (r = () => {
2901
+ v && v(E);
2902
+ }, R = [E, v], n[4] = E, n[5] = v, n[6] = r, n[7] = R) : (r = n[6], R = n[7]), gt(r, R);
2903
+ let K, F;
2904
+ n[8] !== m ? (K = () => {
2905
2905
  H.current = m;
2906
- }, F = [m], n[8] = m, n[9] = V, n[10] = F) : (V = n[9], F = n[10]), gt(V, F);
2906
+ }, F = [m], n[8] = m, n[9] = K, n[10] = F) : (K = n[9], F = n[10]), gt(K, F);
2907
2907
  let Y, D;
2908
- n[11] !== m || n[12] !== T ? (Y = () => {
2909
- m > 0 && T(m);
2910
- }, D = [m, T], n[11] = m, n[12] = T, n[13] = Y, n[14] = D) : (Y = n[13], D = n[14]), gt(Y, D);
2911
- let J, O;
2908
+ n[11] !== m || n[12] !== N ? (Y = () => {
2909
+ m > 0 && N(m);
2910
+ }, D = [m, N], n[11] = m, n[12] = N, n[13] = Y, n[14] = D) : (Y = n[13], D = n[14]), gt(Y, D);
2911
+ let X, O;
2912
2912
  n[15] !== j || n[16] !== k ? (O = () => {
2913
2913
  j > 0 && k(j);
2914
- }, J = [j, k], n[15] = j, n[16] = k, n[17] = J, n[18] = O) : (J = n[17], O = n[18]), gt(O, J);
2915
- let A;
2916
- n[19] !== a || n[20] !== i ? (A = (u) => {
2914
+ }, X = [j, k], n[15] = j, n[16] = k, n[17] = X, n[18] = O) : (X = n[17], O = n[18]), gt(O, X);
2915
+ let z;
2916
+ n[19] !== a || n[20] !== i ? (z = (u) => {
2917
2917
  const S = p.current;
2918
2918
  if (!S)
2919
2919
  return;
2920
2920
  Q.current && cancelAnimationFrame(Q.current);
2921
- const U = S.scrollLeft, W = u * i * a, z = W - U, q = performance.now(), K = (G) => {
2921
+ const U = S.scrollLeft, M = u * i * a, A = M - U, q = performance.now(), V = (G) => {
2922
2922
  const et = G - q;
2923
2923
  if (et < 450) {
2924
- const lt = ke(et / 450);
2925
- S.scrollLeft = U + z * lt, Q.current = requestAnimationFrame(K);
2924
+ const ct = Ce(et / 450);
2925
+ S.scrollLeft = U + A * ct, Q.current = requestAnimationFrame(V);
2926
2926
  } else
2927
- S.scrollLeft = W, Q.current = null;
2927
+ S.scrollLeft = M, Q.current = null;
2928
2928
  };
2929
- Q.current = requestAnimationFrame(K);
2930
- }, n[19] = a, n[20] = i, n[21] = A) : A = n[21];
2931
- const X = A;
2929
+ Q.current = requestAnimationFrame(V);
2930
+ }, n[19] = a, n[20] = i, n[21] = z) : z = n[21];
2931
+ const J = z;
2932
2932
  let Z;
2933
- n[22] !== B || n[23] !== X ? (Z = (u) => {
2933
+ n[22] !== B || n[23] !== J ? (Z = (u) => {
2934
2934
  let S = u;
2935
- S < 0 && (S = 0), S >= B && (S = B - 1), C(S), X(S);
2936
- }, n[22] = B, n[23] = X, n[24] = Z) : Z = n[24];
2937
- const M = Z;
2938
- let it;
2939
- n[25] !== B || n[26] !== X ? (it = (u) => {
2935
+ S < 0 && (S = 0), S >= B && (S = B - 1), C(S), J(S);
2936
+ }, n[22] = B, n[23] = J, n[24] = Z) : Z = n[24];
2937
+ const W = Z;
2938
+ let st;
2939
+ n[25] !== B || n[26] !== J ? (st = (u) => {
2940
2940
  C((S) => {
2941
2941
  let U = S + u;
2942
- return U < 0 && (U = 0), U >= B && (U = B - 1), X(U), U;
2942
+ return U < 0 && (U = 0), U >= B && (U = B - 1), J(U), U;
2943
2943
  });
2944
- }, n[25] = B, n[26] = X, n[27] = it) : it = n[27];
2945
- const at = it;
2944
+ }, n[25] = B, n[26] = J, n[27] = st) : st = n[27];
2945
+ const at = st;
2946
2946
  let nt;
2947
- n[28] !== M ? (nt = () => ({
2948
- goToPage: M,
2947
+ n[28] !== W ? (nt = () => ({
2948
+ goToPage: W,
2949
2949
  findAndJumpToHref: (u) => {
2950
2950
  const S = u.startsWith("#") ? u.substring(1) : u, U = document.getElementById(S);
2951
2951
  if (U)
2952
2952
  try {
2953
- const W = Zt(U);
2954
- M(W);
2955
- } catch (W) {
2956
- console.warn("Could not calculate page for link", W);
2953
+ const M = qt(U);
2954
+ W(M);
2955
+ } catch (M) {
2956
+ console.warn("Could not calculate page for link", M);
2957
2957
  }
2958
2958
  }
2959
- }), n[28] = M, n[29] = nt) : nt = n[29], ne(t, nt), be(at, y, v, w);
2960
- let tt, ot;
2961
- n[30] !== M ? (tt = () => {
2959
+ }), n[28] = W, n[29] = nt) : nt = n[29], ae(t, nt), ke(at, y, b, w);
2960
+ let tt, lt;
2961
+ n[30] !== W ? (tt = () => {
2962
2962
  const u = p.current;
2963
2963
  if (!u)
2964
2964
  return;
2965
2965
  const S = (U) => {
2966
2966
  var q;
2967
- const z = U.target.closest("a");
2968
- if (z && ((q = z.getAttribute("href")) != null && q.startsWith("#"))) {
2967
+ const A = U.target.closest("a");
2968
+ if (A && ((q = A.getAttribute("href")) != null && q.startsWith("#"))) {
2969
2969
  U.preventDefault();
2970
- const K = z.getAttribute("href"), G = decodeURIComponent(K.substring(1)), et = document.getElementById(G);
2970
+ const V = A.getAttribute("href"), G = decodeURIComponent(V.substring(1)), et = document.getElementById(G);
2971
2971
  if (et)
2972
2972
  try {
2973
- const lt = Zt(et);
2974
- M(lt);
2975
- } catch (lt) {
2976
- console.warn("Could not calculate page for link", lt);
2973
+ const ct = qt(et);
2974
+ W(ct);
2975
+ } catch (ct) {
2976
+ console.warn("Could not calculate page for link", ct);
2977
2977
  }
2978
2978
  }
2979
2979
  };
2980
2980
  return u.addEventListener("click", S), () => u.removeEventListener("click", S);
2981
- }, ot = [M], n[30] = M, n[31] = tt, n[32] = ot) : (tt = n[31], ot = n[32]), gt(tt, ot);
2982
- let ct;
2983
- n[33] !== c || n[34] !== f || n[35] !== a || n[36] !== d || n[37] !== i || n[38] !== l || n[39] !== s ? (ct = () => {
2981
+ }, lt = [W], n[30] = W, n[31] = tt, n[32] = lt) : (tt = n[31], lt = n[32]), gt(tt, lt);
2982
+ let ot;
2983
+ n[33] !== c || n[34] !== f || n[35] !== a || n[36] !== d || n[37] !== i || n[38] !== l || n[39] !== s ? (ot = () => {
2984
2984
  const u = p.current;
2985
2985
  if (!u || i <= 0 || d <= 0)
2986
2986
  return;
@@ -2989,11 +2989,11 @@ const ke = ($) => 1 + 2.1 * Math.pow($ - 1, 3) + 1.1 * Math.pow($ - 1, 2), Se =
2989
2989
  u.style.setProperty("--side-padding", `${s}px`), u.style.setProperty("--font-size", `${f}em`), u.style.setProperty("--font-family", c), u.style.setProperty("--computed-width", `${i}px`), u.style.maxHeight = `${d}px`, requestAnimationFrame(() => {
2990
2990
  if (!u)
2991
2991
  return;
2992
- const U = u.scrollWidth, W = i > 0 && U > 0 ? Math.round(U / i) : 0, z = a === 1 ? W : Math.round(W / 2);
2993
- if (P(z), z > 0 && u.clientWidth > 0) {
2992
+ const U = u.scrollWidth, M = i > 0 && U > 0 ? Math.round(U / i) : 0, A = a === 1 ? M : Math.round(M / 2);
2993
+ if (P(A), A > 0 && u.clientWidth > 0) {
2994
2994
  const q = H.current;
2995
- let K = Math.round(z * q);
2996
- K = Math.max(0, Math.min(z - 1, K)), C(K), u.scrollLeft = K * i * a;
2995
+ let V = Math.round(A * q);
2996
+ V = Math.max(0, Math.min(A - 1, V)), C(V), u.scrollLeft = V * i * a;
2997
2997
  } else
2998
2998
  C(1);
2999
2999
  l(!1);
@@ -3002,35 +3002,35 @@ const ke = ($) => 1 + 2.1 * Math.pow($ - 1, 3) + 1.1 * Math.pow($ - 1, 2), Se =
3002
3002
  return () => {
3003
3003
  clearTimeout(S), Q.current && cancelAnimationFrame(Q.current);
3004
3004
  };
3005
- }, n[33] = c, n[34] = f, n[35] = a, n[36] = d, n[37] = i, n[38] = l, n[39] = s, n[40] = ct) : ct = n[40];
3006
- let ut;
3007
- n[41] !== I || n[42] !== c || n[43] !== f || n[44] !== a || n[45] !== d || n[46] !== i || n[47] !== l || n[48] !== s || n[49] !== h ? (ut = [i, d, s, f, c, a, I, h, l], n[41] = I, n[42] = c, n[43] = f, n[44] = a, n[45] = d, n[46] = i, n[47] = l, n[48] = s, n[49] = h, n[50] = ut) : ut = n[50], gt(ct, ut);
3008
- let ft, e;
3009
- n[51] !== at ? (ft = () => {
3005
+ }, n[33] = c, n[34] = f, n[35] = a, n[36] = d, n[37] = i, n[38] = l, n[39] = s, n[40] = ot) : ot = n[40];
3006
+ let ft;
3007
+ n[41] !== I || n[42] !== c || n[43] !== f || n[44] !== a || n[45] !== d || n[46] !== i || n[47] !== l || n[48] !== s || n[49] !== h ? (ft = [i, d, s, f, c, a, I, h, l], n[41] = I, n[42] = c, n[43] = f, n[44] = a, n[45] = d, n[46] = i, n[47] = l, n[48] = s, n[49] = h, n[50] = ft) : ft = n[50], gt(ot, ft);
3008
+ let ut, e;
3009
+ n[51] !== at ? (ut = () => {
3010
3010
  const u = (S) => {
3011
3011
  S.key === "ArrowLeft" ? (S.preventDefault(), at(-1)) : S.key === "ArrowRight" && (S.preventDefault(), at(1));
3012
3012
  };
3013
3013
  return document.addEventListener("keydown", u), () => document.removeEventListener("keydown", u);
3014
- }, e = [at], n[51] = at, n[52] = ft, n[53] = e) : (ft = n[52], e = n[53]), gt(ft, e);
3014
+ }, e = [at], n[51] = at, n[52] = ut, n[53] = e) : (ut = n[52], e = n[53]), gt(ut, e);
3015
3015
  let L;
3016
3016
  n[54] !== I ? (L = /* @__PURE__ */ rt("div", { ref: p, dangerouslySetInnerHTML: {
3017
3017
  __html: I
3018
3018
  }, className: "book-page", id: "bok-main-element" }), n[54] = I, n[55] = L) : L = n[55];
3019
- let N;
3020
- n[56] !== E || n[57] !== B ? (N = /* @__PURE__ */ rt(we, { pages: B, currentPage: E }), n[56] = E, n[57] = B, n[58] = N) : N = n[58];
3019
+ let T;
3020
+ n[56] !== E || n[57] !== B ? (T = /* @__PURE__ */ rt(xe, { pages: B, currentPage: E }), n[56] = E, n[57] = B, n[58] = T) : T = n[58];
3021
3021
  let g;
3022
- return n[59] !== L || n[60] !== N ? (g = /* @__PURE__ */ _t(Kt, { children: [
3022
+ return n[59] !== L || n[60] !== T ? (g = /* @__PURE__ */ _t(Gt, { children: [
3023
3023
  L,
3024
- N
3025
- ] }), n[59] = L, n[60] = N, n[61] = g) : g = n[61], g;
3026
- }), xe = "_spinner_13vxc_32", Ce = "_core_13vxc_82", Lt = {
3024
+ T
3025
+ ] }), n[59] = L, n[60] = T, n[61] = g) : g = n[61], g;
3026
+ }), Ae = "_spinner_13vxc_32", ze = "_core_13vxc_82", jt = {
3027
3027
  "loading-screen": "_loading-screen_13vxc_1",
3028
3028
  "loading-screen-gon": "_loading-screen-gon_13vxc_2",
3029
- spinner: xe,
3030
- core: Ce
3029
+ spinner: Ae,
3030
+ core: ze
3031
3031
  };
3032
- function Ee($) {
3033
- const t = It.c(8), {
3032
+ function Ie($) {
3033
+ const t = zt.c(8), {
3034
3034
  isLoading: n,
3035
3035
  color: I
3036
3036
  } = $, h = I || "red";
@@ -3038,24 +3038,24 @@ function Ee($) {
3038
3038
  t[0] !== h ? (l = {
3039
3039
  "--loader-color": h
3040
3040
  }, t[0] = h, t[1] = l) : l = t[1];
3041
- const f = l, s = n ? Lt["loading-screen"] : Lt["loading-screen-gon"];
3041
+ const f = l, s = n ? jt["loading-screen"] : jt["loading-screen-gon"];
3042
3042
  let c;
3043
- t[2] === Symbol.for("react.memo_cache_sentinel") ? (c = /* @__PURE__ */ rt("div", { className: Lt.core }), t[2] = c) : c = t[2];
3043
+ t[2] === Symbol.for("react.memo_cache_sentinel") ? (c = /* @__PURE__ */ rt("div", { className: jt.core }), t[2] = c) : c = t[2];
3044
3044
  let y;
3045
- t[3] !== f ? (y = /* @__PURE__ */ rt("div", { className: Lt.spinner, style: f, children: c }), t[3] = f, t[4] = y) : y = t[4];
3046
- let v;
3047
- return t[5] !== s || t[6] !== y ? (v = /* @__PURE__ */ rt("div", { className: s, children: y }), t[5] = s, t[6] = y, t[7] = v) : v = t[7], v;
3045
+ t[3] !== f ? (y = /* @__PURE__ */ rt("div", { className: jt.spinner, style: f, children: c }), t[3] = f, t[4] = y) : y = t[4];
3046
+ let b;
3047
+ return t[5] !== s || t[6] !== y ? (b = /* @__PURE__ */ rt("div", { className: s, children: y }), t[5] = s, t[6] = y, t[7] = b) : b = t[7], b;
3048
3048
  }
3049
- function Ae() {
3050
- document.fullscreenElement ? document.exitFullscreen && document.exitFullscreen() : document.documentElement.requestFullscreen();
3049
+ function Oe() {
3050
+ document.documentElement.requestFullscreen && (document.fullscreenElement ? document.exitFullscreen && document.exitFullscreen() : document.documentElement.requestFullscreen());
3051
3051
  }
3052
- const ze = "_visible_1guvy_63", Ie = "_title_1guvy_94", Oe = "_select_1guvy_214", dt = {
3052
+ const Ne = "_visible_1guvy_63", Te = "_title_1guvy_94", Re = "_select_1guvy_214", dt = {
3053
3053
  "options-menu-overlay": "_options-menu-overlay_1guvy_1",
3054
3054
  "fade-out": "_fade-out_1guvy_27",
3055
3055
  "options-menu": "_options-menu_1guvy_1",
3056
- visible: ze,
3056
+ visible: Ne,
3057
3057
  "slide-down": "_slide-down_1guvy_69",
3058
- title: Ie,
3058
+ title: Te,
3059
3059
  "close-button": "_close-button_1guvy_103",
3060
3060
  "options-buttons": "_options-buttons_1guvy_132",
3061
3061
  "option-row": "_option-row_1guvy_138",
@@ -3064,11 +3064,11 @@ const ze = "_visible_1guvy_63", Ie = "_title_1guvy_94", Oe = "_select_1guvy_214"
3064
3064
  "stepper-button": "_stepper-button_1guvy_164",
3065
3065
  "option-value": "_option-value_1guvy_192",
3066
3066
  "value-changed": "_value-changed_1guvy_209",
3067
- select: Oe,
3067
+ select: Re,
3068
3068
  "fullscreen-button": "_fullscreen-button_1guvy_243"
3069
3069
  };
3070
- function Ne($) {
3071
- const t = It.c(95), {
3070
+ function Be($) {
3071
+ const t = zt.c(98), {
3072
3072
  onClose: n,
3073
3073
  fontSize: I,
3074
3074
  padding: h,
@@ -3077,206 +3077,217 @@ function Ne($) {
3077
3077
  setFontSize: s,
3078
3078
  setPadding: c,
3079
3079
  setColorScheme: y,
3080
- setFontFamily: v,
3080
+ setFontFamily: b,
3081
3081
  supportedFonts: w,
3082
- supportedColorschemes: b
3082
+ supportedColorschemes: v
3083
3083
  } = $;
3084
3084
  let o;
3085
3085
  t[0] !== w ? (o = w === void 0 ? [] : w, t[0] = w, t[1] = o) : o = t[1];
3086
3086
  const p = o;
3087
3087
  let i;
3088
- t[2] !== b ? (i = b === void 0 ? [] : b, t[2] = b, t[3] = i) : i = t[3];
3089
- const d = i, [a, m] = bt(!1), [k, E] = bt(!1), C = At(null), B = At(null);
3090
- let P;
3088
+ t[2] !== v ? (i = v === void 0 ? [] : v, t[2] = v, t[3] = i) : i = t[3];
3089
+ const d = i, [a, m] = vt(!1), [k, E] = vt(!1), C = Ct(null), B = Ct(null);
3090
+ let P, j, N;
3091
3091
  t[4] === Symbol.for("react.memo_cache_sentinel") ? (P = {
3092
+ displayName: "Literata",
3093
+ name: "Literata"
3094
+ }, j = {
3095
+ displayName: "Cormorant",
3096
+ name: "Cormorant Garamond"
3097
+ }, N = {
3098
+ displayName: "Roboto",
3099
+ name: "Roboto Condensed"
3100
+ }, t[4] = P, t[5] = j, t[6] = N) : (P = t[4], j = t[5], N = t[6]);
3101
+ let H;
3102
+ t[7] === Symbol.for("react.memo_cache_sentinel") ? (H = {
3092
3103
  displayName: "System Default",
3093
3104
  name: "system-ui"
3094
- }, t[4] = P) : P = t[4];
3095
- let j;
3096
- t[5] !== p ? (j = [P, ...p], t[5] = p, t[6] = j) : j = t[6];
3097
- const T = j;
3098
- let H, Q;
3099
- t[7] === Symbol.for("react.memo_cache_sentinel") ? (H = {
3105
+ }, t[7] = H) : H = t[7];
3106
+ let Q;
3107
+ t[8] !== p ? (Q = [P, j, N, ...p, H], t[8] = p, t[9] = Q) : Q = t[9];
3108
+ const _ = Q;
3109
+ let x, r;
3110
+ t[10] === Symbol.for("react.memo_cache_sentinel") ? (x = {
3100
3111
  displayName: "Amoled Dark",
3101
3112
  name: "amoled"
3102
- }, Q = {
3113
+ }, r = {
3103
3114
  displayName: "Da Vinci",
3104
3115
  name: "davinci"
3105
- }, t[7] = H, t[8] = Q) : (H = t[7], Q = t[8]);
3106
- let _;
3107
- t[9] !== d ? (_ = [H, Q, ...d], t[9] = d, t[10] = _) : _ = t[10];
3108
- const x = _;
3109
- let r, R;
3110
- t[11] === Symbol.for("react.memo_cache_sentinel") ? (r = () => {
3116
+ }, t[10] = x, t[11] = r) : (x = t[10], r = t[11]);
3117
+ let R;
3118
+ t[12] !== d ? (R = [x, r, ...d], t[12] = d, t[13] = R) : R = t[13];
3119
+ const K = R;
3120
+ let F, Y;
3121
+ t[14] === Symbol.for("react.memo_cache_sentinel") ? (F = () => {
3111
3122
  requestAnimationFrame(() => {
3112
3123
  requestAnimationFrame(() => {
3113
3124
  E(!0);
3114
3125
  });
3115
3126
  });
3116
- }, R = [], t[11] = r, t[12] = R) : (r = t[11], R = t[12]), gt(r, R);
3117
- let V;
3118
- t[13] !== n ? (V = () => {
3127
+ }, Y = [], t[14] = F, t[15] = Y) : (F = t[14], Y = t[15]), gt(F, Y);
3128
+ let D;
3129
+ t[16] !== n ? (D = () => {
3119
3130
  requestAnimationFrame(() => {
3120
3131
  E(!1), m(!0);
3121
3132
  }), setTimeout(n, 350);
3122
- }, t[13] = n, t[14] = V) : V = t[14];
3123
- const F = V;
3124
- let Y;
3125
- t[15] !== F ? (Y = () => {
3126
- F();
3127
- }, t[15] = F, t[16] = Y) : Y = t[16];
3128
- const D = Y, J = Ue, O = Le;
3129
- let A;
3130
- t[17] !== h || t[18] !== c ? (A = () => {
3131
- h <= 70 && (c(De), O(B));
3132
- }, t[17] = h, t[18] = c, t[19] = A) : A = t[19];
3133
- const X = A;
3134
- let Z;
3135
- t[20] !== h || t[21] !== c ? (Z = () => {
3136
- h - 5 > 0 && (c(Fe), O(B));
3137
- }, t[20] = h, t[21] = c, t[22] = Z) : Z = t[22];
3138
- const M = Z;
3139
- let it;
3140
- t[23] !== I || t[24] !== s ? (it = () => {
3141
- I < 3 && (s(Pe), O(C));
3142
- }, t[23] = I, t[24] = s, t[25] = it) : it = t[25];
3143
- const at = it;
3144
- let nt;
3145
- t[26] !== I || t[27] !== s ? (nt = () => {
3146
- I - 0.2 > 0.6 && (s(Be), O(C));
3147
- }, t[26] = I, t[27] = s, t[28] = nt) : nt = t[28];
3148
- const tt = nt;
3133
+ }, t[16] = n, t[17] = D) : D = t[17];
3134
+ const X = D;
3135
+ let O;
3136
+ t[18] !== X ? (O = () => {
3137
+ X();
3138
+ }, t[18] = X, t[19] = O) : O = t[19];
3139
+ const z = O, J = Me, Z = We;
3140
+ let W;
3141
+ t[20] !== h || t[21] !== c ? (W = () => {
3142
+ h <= 70 && (c(je), Z(B));
3143
+ }, t[20] = h, t[21] = c, t[22] = W) : W = t[22];
3144
+ const st = W;
3145
+ let at;
3146
+ t[23] !== h || t[24] !== c ? (at = () => {
3147
+ h - 5 > 0 && (c(Ue), Z(B));
3148
+ }, t[23] = h, t[24] = c, t[25] = at) : at = t[25];
3149
+ const nt = at;
3150
+ let tt;
3151
+ t[26] !== I || t[27] !== s ? (tt = () => {
3152
+ I < 3 && (s(Le), Z(C));
3153
+ }, t[26] = I, t[27] = s, t[28] = tt) : tt = t[28];
3154
+ const lt = tt;
3149
3155
  let ot;
3150
- t[29] !== a || t[30] !== k ? (ot = () => {
3151
- const St = [dt["options-menu"]];
3152
- return k && St.push(dt.visible), a && St.push(dt["slide-down"]), St.join(" ");
3153
- }, t[29] = a, t[30] = k, t[31] = ot) : ot = t[31];
3154
- const ct = ot;
3156
+ t[29] !== I || t[30] !== s ? (ot = () => {
3157
+ I - 0.2 > 0.6 && (s(De), Z(C));
3158
+ }, t[29] = I, t[30] = s, t[31] = ot) : ot = t[31];
3159
+ const ft = ot;
3155
3160
  let ut;
3156
- t[32] !== a ? (ut = () => {
3157
- const St = [dt["options-menu-overlay"]];
3158
- return a && St.push(dt["fade-out"]), St.join(" ");
3159
- }, t[32] = a, t[33] = ut) : ut = t[33];
3160
- const e = ut(), L = ct();
3161
- let N;
3162
- t[34] !== F ? (N = /* @__PURE__ */ rt("button", { onClick: F, className: dt["close-button"], "aria-label": "Close menu", children: "✕" }), t[34] = F, t[35] = N) : N = t[35];
3163
- let g;
3164
- t[36] === Symbol.for("react.memo_cache_sentinel") ? (g = /* @__PURE__ */ rt("h2", { className: dt.title, children: "Reader Options" }), t[36] = g) : g = t[36];
3165
- let u;
3166
- t[37] === Symbol.for("react.memo_cache_sentinel") ? (u = /* @__PURE__ */ rt("div", { className: dt["option-label"], children: "Font family" }), t[37] = u) : u = t[37];
3161
+ t[32] !== a || t[33] !== k ? (ut = () => {
3162
+ const At = [dt["options-menu"]];
3163
+ return k && At.push(dt.visible), a && At.push(dt["slide-down"]), At.join(" ");
3164
+ }, t[32] = a, t[33] = k, t[34] = ut) : ut = t[34];
3165
+ const e = ut;
3166
+ let L;
3167
+ t[35] !== a ? (L = () => {
3168
+ const At = [dt["options-menu-overlay"]];
3169
+ return a && At.push(dt["fade-out"]), At.join(" ");
3170
+ }, t[35] = a, t[36] = L) : L = t[36];
3171
+ const g = L(), u = e();
3167
3172
  let S;
3168
- t[38] !== T || t[39] !== v ? (S = (St) => {
3169
- const Et = T.find((Tt) => Tt.name === St.target.value);
3170
- Et && v(Et.name);
3171
- }, t[38] = T, t[39] = v, t[40] = S) : S = t[40];
3173
+ t[37] !== X ? (S = /* @__PURE__ */ rt("button", { onClick: X, className: dt["close-button"], "aria-label": "Close menu", children: "✕" }), t[37] = X, t[38] = S) : S = t[38];
3172
3174
  let U;
3173
- t[41] !== T ? (U = T.map(Re), t[41] = T, t[42] = U) : U = t[42];
3174
- let W;
3175
- t[43] !== l || t[44] !== S || t[45] !== U ? (W = /* @__PURE__ */ _t("div", { className: dt["option-row"], children: [
3176
- u,
3177
- /* @__PURE__ */ rt("select", { className: dt.select, value: l, onChange: S, children: U })
3178
- ] }), t[43] = l, t[44] = S, t[45] = U, t[46] = W) : W = t[46];
3179
- let z;
3180
- t[47] === Symbol.for("react.memo_cache_sentinel") ? (z = /* @__PURE__ */ rt("div", { className: dt["option-label"], children: "Color Scheme" }), t[47] = z) : z = t[47];
3175
+ t[39] === Symbol.for("react.memo_cache_sentinel") ? (U = /* @__PURE__ */ rt("h2", { className: dt.title, children: "Reader Options" }), t[39] = U) : U = t[39];
3176
+ let M;
3177
+ t[40] === Symbol.for("react.memo_cache_sentinel") ? (M = /* @__PURE__ */ rt("div", { className: dt["option-label"], children: "Font family" }), t[40] = M) : M = t[40];
3178
+ let A;
3179
+ t[41] !== _ || t[42] !== b ? (A = (At) => {
3180
+ const Dt = _.find((Wt) => Wt.name === At.target.value);
3181
+ Dt && b(Dt.name);
3182
+ }, t[41] = _, t[42] = b, t[43] = A) : A = t[43];
3181
3183
  let q;
3182
- t[48] !== x || t[49] !== y ? (q = (St) => {
3183
- const Et = x.find((Tt) => Tt.name === St.target.value);
3184
- Et && y(Et.name);
3185
- }, t[48] = x, t[49] = y, t[50] = q) : q = t[50];
3186
- let K;
3187
- t[51] !== x ? (K = x.map(Te), t[51] = x, t[52] = K) : K = t[52];
3184
+ t[44] !== _ ? (q = _.map(Fe), t[44] = _, t[45] = q) : q = t[45];
3185
+ let V;
3186
+ t[46] !== l || t[47] !== A || t[48] !== q ? (V = /* @__PURE__ */ _t("div", { className: dt["option-row"], children: [
3187
+ M,
3188
+ /* @__PURE__ */ rt("select", { className: dt.select, value: l, onChange: A, children: q })
3189
+ ] }), t[46] = l, t[47] = A, t[48] = q, t[49] = V) : V = t[49];
3188
3190
  let G;
3189
- t[53] !== f || t[54] !== q || t[55] !== K ? (G = /* @__PURE__ */ _t("div", { className: dt["option-row"], children: [
3190
- z,
3191
- /* @__PURE__ */ rt("select", { className: dt.select, value: f, onChange: q, children: K })
3192
- ] }), t[53] = f, t[54] = q, t[55] = K, t[56] = G) : G = t[56];
3191
+ t[50] === Symbol.for("react.memo_cache_sentinel") ? (G = /* @__PURE__ */ rt("div", { className: dt["option-label"], children: "Color Scheme" }), t[50] = G) : G = t[50];
3193
3192
  let et;
3194
- t[57] === Symbol.for("react.memo_cache_sentinel") ? (et = /* @__PURE__ */ rt("div", { className: dt["option-label"], children: "Side padding" }), t[57] = et) : et = t[57];
3195
- let lt;
3196
- t[58] !== M ? (lt = /* @__PURE__ */ rt("button", { className: dt["stepper-button"], onClick: M, children: "-" }), t[58] = M, t[59] = lt) : lt = t[59];
3197
- let st;
3198
- t[60] !== h ? (st = /* @__PURE__ */ rt("span", { ref: B, className: dt["option-value"], children: h }), t[60] = h, t[61] = st) : st = t[61];
3193
+ t[51] !== K || t[52] !== y ? (et = (At) => {
3194
+ const Dt = K.find((Wt) => Wt.name === At.target.value);
3195
+ Dt && y(Dt.name);
3196
+ }, t[51] = K, t[52] = y, t[53] = et) : et = t[53];
3197
+ let ct;
3198
+ t[54] !== K ? (ct = K.map(Pe), t[54] = K, t[55] = ct) : ct = t[55];
3199
+ let it;
3200
+ t[56] !== f || t[57] !== et || t[58] !== ct ? (it = /* @__PURE__ */ _t("div", { className: dt["option-row"], children: [
3201
+ G,
3202
+ /* @__PURE__ */ rt("select", { className: dt.select, value: f, onChange: et, children: ct })
3203
+ ] }), t[56] = f, t[57] = et, t[58] = ct, t[59] = it) : it = t[59];
3199
3204
  let ht;
3200
- t[62] !== X ? (ht = /* @__PURE__ */ rt("button", { className: dt["stepper-button"], onClick: X, children: "+" }), t[62] = X, t[63] = ht) : ht = t[63];
3201
- let vt;
3202
- t[64] !== lt || t[65] !== st || t[66] !== ht ? (vt = /* @__PURE__ */ _t("div", { className: dt["option-row"], children: [
3203
- et,
3205
+ t[60] === Symbol.for("react.memo_cache_sentinel") ? (ht = /* @__PURE__ */ rt("div", { className: dt["option-label"], children: "Side padding" }), t[60] = ht) : ht = t[60];
3206
+ let bt;
3207
+ t[61] !== nt ? (bt = /* @__PURE__ */ rt("button", { className: dt["stepper-button"], onClick: nt, children: "-" }), t[61] = nt, t[62] = bt) : bt = t[62];
3208
+ let pt;
3209
+ t[63] !== h ? (pt = /* @__PURE__ */ rt("span", { ref: B, className: dt["option-value"], children: h }), t[63] = h, t[64] = pt) : pt = t[64];
3210
+ let St;
3211
+ t[65] !== st ? (St = /* @__PURE__ */ rt("button", { className: dt["stepper-button"], onClick: st, children: "+" }), t[65] = st, t[66] = St) : St = t[66];
3212
+ let mt;
3213
+ t[67] !== bt || t[68] !== pt || t[69] !== St ? (mt = /* @__PURE__ */ _t("div", { className: dt["option-row"], children: [
3214
+ ht,
3204
3215
  /* @__PURE__ */ _t("div", { className: dt["option-controls"], children: [
3205
- lt,
3206
- st,
3207
- ht
3216
+ bt,
3217
+ pt,
3218
+ St
3208
3219
  ] })
3209
- ] }), t[64] = lt, t[65] = st, t[66] = ht, t[67] = vt) : vt = t[67];
3210
- let mt;
3211
- t[68] === Symbol.for("react.memo_cache_sentinel") ? (mt = /* @__PURE__ */ rt("div", { className: dt["option-label"], children: "Font size" }), t[68] = mt) : mt = t[68];
3212
- let xt;
3213
- t[69] !== tt ? (xt = /* @__PURE__ */ rt("button", { className: dt["stepper-button"], onClick: tt, children: "-" }), t[69] = tt, t[70] = xt) : xt = t[70];
3214
- let pt;
3215
- t[71] !== I ? (pt = Math.round(I * 10), t[71] = I, t[72] = pt) : pt = t[72];
3216
- let Ct;
3217
- t[73] !== pt ? (Ct = /* @__PURE__ */ rt("span", { ref: C, className: dt["option-value"], children: pt }), t[73] = pt, t[74] = Ct) : Ct = t[74];
3218
- let zt;
3219
- t[75] !== at ? (zt = /* @__PURE__ */ rt("button", { className: dt["stepper-button"], onClick: at, children: "+" }), t[75] = at, t[76] = zt) : zt = t[76];
3220
+ ] }), t[67] = bt, t[68] = pt, t[69] = St, t[70] = mt) : mt = t[70];
3221
+ let It;
3222
+ t[71] === Symbol.for("react.memo_cache_sentinel") ? (It = /* @__PURE__ */ rt("div", { className: dt["option-label"], children: "Font size" }), t[71] = It) : It = t[71];
3223
+ let Et;
3224
+ t[72] !== ft ? (Et = /* @__PURE__ */ rt("button", { className: dt["stepper-button"], onClick: ft, children: "-" }), t[72] = ft, t[73] = Et) : Et = t[73];
3220
3225
  let kt;
3221
- t[77] !== xt || t[78] !== Ct || t[79] !== zt ? (kt = /* @__PURE__ */ _t("div", { className: dt["option-row"], children: [
3222
- mt,
3226
+ t[74] !== I ? (kt = Math.round(I * 10), t[74] = I, t[75] = kt) : kt = t[75];
3227
+ let Ot;
3228
+ t[76] !== kt ? (Ot = /* @__PURE__ */ rt("span", { ref: C, className: dt["option-value"], children: kt }), t[76] = kt, t[77] = Ot) : Ot = t[77];
3229
+ let Rt;
3230
+ t[78] !== lt ? (Rt = /* @__PURE__ */ rt("button", { className: dt["stepper-button"], onClick: lt, children: "+" }), t[78] = lt, t[79] = Rt) : Rt = t[79];
3231
+ let Bt;
3232
+ t[80] !== Et || t[81] !== Ot || t[82] !== Rt ? (Bt = /* @__PURE__ */ _t("div", { className: dt["option-row"], children: [
3233
+ It,
3223
3234
  /* @__PURE__ */ _t("div", { className: dt["option-controls"], children: [
3224
- xt,
3225
- Ct,
3226
- zt
3235
+ Et,
3236
+ Ot,
3237
+ Rt
3227
3238
  ] })
3228
- ] }), t[77] = xt, t[78] = Ct, t[79] = zt, t[80] = kt) : kt = t[80];
3229
- let Rt;
3230
- t[81] === Symbol.for("react.memo_cache_sentinel") ? (Rt = /* @__PURE__ */ rt("button", { className: dt["fullscreen-button"], onClick: Ae, children: "Toggle fullscreen" }), t[81] = Rt) : Rt = t[81];
3231
- let Ot;
3232
- t[82] !== W || t[83] !== G || t[84] !== vt || t[85] !== kt ? (Ot = /* @__PURE__ */ _t("div", { className: dt["options-buttons"], children: [
3233
- W,
3234
- G,
3235
- vt,
3236
- kt,
3237
- Rt
3238
- ] }), t[82] = W, t[83] = G, t[84] = vt, t[85] = kt, t[86] = Ot) : Ot = t[86];
3239
+ ] }), t[80] = Et, t[81] = Ot, t[82] = Rt, t[83] = Bt) : Bt = t[83];
3240
+ let Pt;
3241
+ t[84] === Symbol.for("react.memo_cache_sentinel") ? (Pt = "requestFullscreen" in document.documentElement ? /* @__PURE__ */ rt("button", { className: dt["fullscreen-button"], onClick: Oe, children: "Toggle fullscreen" }) : /* @__PURE__ */ rt(Gt, {}), t[84] = Pt) : Pt = t[84];
3239
3242
  let Nt;
3240
- t[87] !== L || t[88] !== N || t[89] !== Ot ? (Nt = /* @__PURE__ */ _t("div", { className: L, onClick: J, children: [
3241
- N,
3242
- g,
3243
- Ot
3244
- ] }), t[87] = L, t[88] = N, t[89] = Ot, t[90] = Nt) : Nt = t[90];
3245
- let Bt;
3246
- return t[91] !== D || t[92] !== e || t[93] !== Nt ? (Bt = /* @__PURE__ */ rt("div", { className: e, onClick: D, children: Nt }), t[91] = D, t[92] = e, t[93] = Nt, t[94] = Bt) : Bt = t[94], Bt;
3243
+ t[85] !== V || t[86] !== it || t[87] !== mt || t[88] !== Bt ? (Nt = /* @__PURE__ */ _t("div", { className: dt["options-buttons"], children: [
3244
+ V,
3245
+ it,
3246
+ mt,
3247
+ Bt,
3248
+ Pt
3249
+ ] }), t[85] = V, t[86] = it, t[87] = mt, t[88] = Bt, t[89] = Nt) : Nt = t[89];
3250
+ let xt;
3251
+ t[90] !== u || t[91] !== S || t[92] !== Nt ? (xt = /* @__PURE__ */ _t("div", { className: u, onClick: J, children: [
3252
+ S,
3253
+ U,
3254
+ Nt
3255
+ ] }), t[90] = u, t[91] = S, t[92] = Nt, t[93] = xt) : xt = t[93];
3256
+ let Tt;
3257
+ return t[94] !== z || t[95] !== g || t[96] !== xt ? (Tt = /* @__PURE__ */ rt("div", { className: g, onClick: z, children: xt }), t[94] = z, t[95] = g, t[96] = xt, t[97] = Tt) : Tt = t[97], Tt;
3247
3258
  }
3248
- function Te($) {
3259
+ function Pe($) {
3249
3260
  return /* @__PURE__ */ rt("option", { value: $.name, children: $.displayName }, $.displayName);
3250
3261
  }
3251
- function Re($) {
3262
+ function Fe($) {
3252
3263
  return /* @__PURE__ */ rt("option", { value: $.name, children: $.displayName }, $.displayName);
3253
3264
  }
3254
- function Be($) {
3265
+ function De($) {
3255
3266
  return $ - 0.2;
3256
3267
  }
3257
- function Pe($) {
3268
+ function Le($) {
3258
3269
  return $ + 0.2;
3259
3270
  }
3260
- function Fe($) {
3271
+ function Ue($) {
3261
3272
  return $ - 5;
3262
3273
  }
3263
- function De($) {
3274
+ function je($) {
3264
3275
  return $ + 5;
3265
3276
  }
3266
- function Le($) {
3277
+ function We($) {
3267
3278
  $.current && ($.current.classList.add(dt["value-changed"]), setTimeout(() => {
3268
3279
  var t;
3269
3280
  (t = $.current) == null || t.classList.remove(dt["value-changed"]);
3270
3281
  }, 200));
3271
3282
  }
3272
- function Ue($) {
3283
+ function Me($) {
3273
3284
  $.stopPropagation();
3274
3285
  }
3275
- const je = "_visible_1oftk_66", yt = {
3286
+ const Ze = "_visible_1oftk_66", yt = {
3276
3287
  "nav-menu-overlay": "_nav-menu-overlay_1oftk_1",
3277
3288
  "fade-out": "_fade-out_1oftk_25",
3278
3289
  "nav-menu": "_nav-menu_1oftk_1",
3279
- visible: je,
3290
+ visible: Ze,
3280
3291
  "slide-down": "_slide-down_1oftk_72",
3281
3292
  "nav-header": "_nav-header_1oftk_81",
3282
3293
  "close-btn": "_close-btn_1oftk_96",
@@ -3290,18 +3301,18 @@ const je = "_visible_1oftk_66", yt = {
3290
3301
  "jumper-input": "_jumper-input_1oftk_175",
3291
3302
  "total-pages": "_total-pages_1oftk_198",
3292
3303
  "go-btn": "_go-btn_1oftk_204"
3293
- }, We = ($) => {
3294
- const t = It.c(61), {
3304
+ }, $e = ($) => {
3305
+ const t = zt.c(61), {
3295
3306
  toc: n,
3296
3307
  currentPage: I,
3297
3308
  totalPages: h,
3298
3309
  onClose: l,
3299
3310
  onGoToPage: f,
3300
3311
  onChapterClick: s
3301
- } = $, [c, y] = bt(!1), [v, w] = bt(!1), [b, o] = bt(I + 1);
3312
+ } = $, [c, y] = vt(!1), [b, w] = vt(!1), [v, o] = vt(I + 1);
3302
3313
  let p;
3303
3314
  t[0] === Symbol.for("react.memo_cache_sentinel") ? (p = {}, t[0] = p) : p = t[0];
3304
- const [i, d] = bt(p);
3315
+ const [i, d] = vt(p);
3305
3316
  let a, m;
3306
3317
  t[1] === Symbol.for("react.memo_cache_sentinel") ? (a = () => {
3307
3318
  requestAnimationFrame(() => {
@@ -3312,22 +3323,22 @@ const je = "_visible_1oftk_66", yt = {
3312
3323
  }, m = [], t[1] = a, t[2] = m) : (a = t[1], m = t[2]), gt(a, m);
3313
3324
  let k, E;
3314
3325
  t[3] !== n ? (k = () => {
3315
- const tt = {}, ot = (ut) => {
3316
- ut.forEach((ft) => {
3326
+ const tt = {}, lt = (ft) => {
3327
+ ft.forEach((ut) => {
3317
3328
  try {
3318
- const e = ft.href.replace("#", ""), L = document.getElementById(e);
3329
+ const e = ut.href.replace("#", ""), L = document.getElementById(e);
3319
3330
  if (L) {
3320
- const N = Zt(L) + 1;
3321
- tt[ft.href] = N;
3331
+ const T = qt(L) + 1;
3332
+ tt[ut.href] = T;
3322
3333
  }
3323
3334
  } catch {
3324
3335
  }
3325
- ft.subitems && ot(ft.subitems);
3336
+ ut.subitems && lt(ut.subitems);
3326
3337
  });
3327
- }, ct = setTimeout(() => {
3328
- ot(n), d(tt);
3338
+ }, ot = setTimeout(() => {
3339
+ lt(n), d(tt);
3329
3340
  }, 100);
3330
- return () => clearTimeout(ct);
3341
+ return () => clearTimeout(ot);
3331
3342
  }, E = [n], t[3] = n, t[4] = k, t[5] = E) : (k = t[4], E = t[5]), gt(k, E);
3332
3343
  let C, B;
3333
3344
  t[6] !== I ? (C = () => {
@@ -3340,122 +3351,122 @@ const je = "_visible_1oftk_66", yt = {
3340
3351
  }), setTimeout(l, 350);
3341
3352
  }, t[9] = l, t[10] = P) : P = t[10];
3342
3353
  const j = P;
3343
- let T;
3344
- t[11] !== b || t[12] !== f || t[13] !== h ? (T = () => {
3345
- const tt = Math.max(1, Math.min(h, b));
3354
+ let N;
3355
+ t[11] !== v || t[12] !== f || t[13] !== h ? (N = () => {
3356
+ const tt = Math.max(1, Math.min(h, v));
3346
3357
  f(tt - 1);
3347
- }, t[11] = b, t[12] = f, t[13] = h, t[14] = T) : T = t[14];
3348
- const H = T;
3358
+ }, t[11] = v, t[12] = f, t[13] = h, t[14] = N) : N = t[14];
3359
+ const H = N;
3349
3360
  let Q;
3350
3361
  t[15] !== j || t[16] !== s ? (Q = (tt) => {
3351
3362
  s(tt), j();
3352
3363
  }, t[15] = j, t[16] = s, t[17] = Q) : Q = t[17];
3353
3364
  const _ = Q;
3354
- let x, r, R, V, F, Y, D;
3355
- if (t[18] !== _ || t[19] !== j || t[20] !== v || t[21] !== c || t[22] !== i || t[23] !== n) {
3356
- const tt = (ct, ut) => {
3357
- const ft = ut === void 0 ? 0 : ut;
3358
- return /* @__PURE__ */ rt("ul", { className: ft === 0 ? yt["toc-list"] : yt["toc-sublist"], children: ct.map((e, L) => {
3359
- const N = i[e.href];
3365
+ let x, r, R, K, F, Y, D;
3366
+ if (t[18] !== _ || t[19] !== j || t[20] !== b || t[21] !== c || t[22] !== i || t[23] !== n) {
3367
+ const tt = (ot, ft) => {
3368
+ const ut = ft === void 0 ? 0 : ft;
3369
+ return /* @__PURE__ */ rt("ul", { className: ut === 0 ? yt["toc-list"] : yt["toc-sublist"], children: ot.map((e, L) => {
3370
+ const T = i[e.href];
3360
3371
  return /* @__PURE__ */ _t("li", { children: [
3361
3372
  /* @__PURE__ */ _t("div", { className: yt["toc-item"], onClick: () => _(e.href), children: [
3362
3373
  /* @__PURE__ */ rt("span", { className: yt["toc-label"], children: e.label }),
3363
- N !== void 0 && /* @__PURE__ */ rt("span", { className: yt["toc-page-num"], children: N })
3374
+ T !== void 0 && /* @__PURE__ */ rt("span", { className: yt["toc-page-num"], children: T })
3364
3375
  ] }),
3365
- e.subitems && e.subitems.length > 0 && tt(e.subitems, ft + 1)
3376
+ e.subitems && e.subitems.length > 0 && tt(e.subitems, ut + 1)
3366
3377
  ] }, L);
3367
3378
  }) });
3368
3379
  };
3369
- Y = `${yt["nav-menu-overlay"]} ${v ? yt["fade-out"] : ""}`, D = j, R = `
3380
+ Y = `${yt["nav-menu-overlay"]} ${b ? yt["fade-out"] : ""}`, D = j, R = `
3370
3381
  ${yt["nav-menu"]}
3371
3382
  ${c ? yt.visible : ""}
3372
- ${v ? yt["slide-down"] : ""}
3373
- `, V = Me;
3374
- let ot;
3375
- t[31] === Symbol.for("react.memo_cache_sentinel") ? (ot = /* @__PURE__ */ rt("h2", { children: "Table of Contents" }), t[31] = ot) : ot = t[31], t[32] !== j ? (F = /* @__PURE__ */ _t("div", { className: yt["nav-header"], children: [
3376
- ot,
3383
+ ${b ? yt["slide-down"] : ""}
3384
+ `, K = He;
3385
+ let lt;
3386
+ t[31] === Symbol.for("react.memo_cache_sentinel") ? (lt = /* @__PURE__ */ rt("h2", { children: "Table of Contents" }), t[31] = lt) : lt = t[31], t[32] !== j ? (F = /* @__PURE__ */ _t("div", { className: yt["nav-header"], children: [
3387
+ lt,
3377
3388
  /* @__PURE__ */ rt("button", { className: yt["close-btn"], onClick: j, children: "×" })
3378
3389
  ] }), t[32] = j, t[33] = F) : F = t[33], x = yt["toc-container"], r = n.length > 0 ? tt(n) : /* @__PURE__ */ rt("div", { style: {
3379
3390
  padding: "20px",
3380
3391
  textAlign: "center",
3381
3392
  opacity: 0.5
3382
- }, children: "No chapters found" }), t[18] = _, t[19] = j, t[20] = v, t[21] = c, t[22] = i, t[23] = n, t[24] = x, t[25] = r, t[26] = R, t[27] = V, t[28] = F, t[29] = Y, t[30] = D;
3393
+ }, children: "No chapters found" }), t[18] = _, t[19] = j, t[20] = b, t[21] = c, t[22] = i, t[23] = n, t[24] = x, t[25] = r, t[26] = R, t[27] = K, t[28] = F, t[29] = Y, t[30] = D;
3383
3394
  } else
3384
- x = t[24], r = t[25], R = t[26], V = t[27], F = t[28], Y = t[29], D = t[30];
3385
- let J;
3386
- t[34] !== x || t[35] !== r ? (J = /* @__PURE__ */ rt("div", { className: x, children: r }), t[34] = x, t[35] = r, t[36] = J) : J = t[36];
3395
+ x = t[24], r = t[25], R = t[26], K = t[27], F = t[28], Y = t[29], D = t[30];
3396
+ let X;
3397
+ t[34] !== x || t[35] !== r ? (X = /* @__PURE__ */ rt("div", { className: x, children: r }), t[34] = x, t[35] = r, t[36] = X) : X = t[36];
3387
3398
  let O;
3388
3399
  t[37] === Symbol.for("react.memo_cache_sentinel") ? (O = (tt) => o(parseInt(tt.target.value) || 1), t[37] = O) : O = t[37];
3389
- let A;
3390
- t[38] !== H ? (A = (tt) => tt.key === "Enter" && H(), t[38] = H, t[39] = A) : A = t[39];
3391
- let X;
3392
- t[40] !== b || t[41] !== A ? (X = /* @__PURE__ */ rt("input", { className: yt["jumper-input"], type: "number", value: b, onChange: O, onKeyDown: A, onClick: Ze }), t[40] = b, t[41] = A, t[42] = X) : X = t[42];
3400
+ let z;
3401
+ t[38] !== H ? (z = (tt) => tt.key === "Enter" && H(), t[38] = H, t[39] = z) : z = t[39];
3402
+ let J;
3403
+ t[40] !== v || t[41] !== z ? (J = /* @__PURE__ */ rt("input", { className: yt["jumper-input"], type: "number", value: v, onChange: O, onKeyDown: z, onClick: qe }), t[40] = v, t[41] = z, t[42] = J) : J = t[42];
3393
3404
  let Z;
3394
3405
  t[43] !== h ? (Z = /* @__PURE__ */ _t("span", { className: yt["total-pages"], children: [
3395
3406
  "of ",
3396
3407
  h
3397
3408
  ] }), t[43] = h, t[44] = Z) : Z = t[44];
3398
- let M;
3399
- t[45] !== H ? (M = /* @__PURE__ */ rt("button", { className: yt["go-btn"], onClick: H, children: "Go" }), t[45] = H, t[46] = M) : M = t[46];
3400
- let it;
3401
- t[47] !== X || t[48] !== Z || t[49] !== M ? (it = /* @__PURE__ */ rt("div", { className: yt["page-jumper"], children: /* @__PURE__ */ _t("div", { className: yt["jumper-controls"], children: [
3402
- X,
3409
+ let W;
3410
+ t[45] !== H ? (W = /* @__PURE__ */ rt("button", { className: yt["go-btn"], onClick: H, children: "Go" }), t[45] = H, t[46] = W) : W = t[46];
3411
+ let st;
3412
+ t[47] !== J || t[48] !== Z || t[49] !== W ? (st = /* @__PURE__ */ rt("div", { className: yt["page-jumper"], children: /* @__PURE__ */ _t("div", { className: yt["jumper-controls"], children: [
3413
+ J,
3403
3414
  Z,
3404
- M
3405
- ] }) }), t[47] = X, t[48] = Z, t[49] = M, t[50] = it) : it = t[50];
3415
+ W
3416
+ ] }) }), t[47] = J, t[48] = Z, t[49] = W, t[50] = st) : st = t[50];
3406
3417
  let at;
3407
- t[51] !== R || t[52] !== V || t[53] !== F || t[54] !== J || t[55] !== it ? (at = /* @__PURE__ */ _t("div", { className: R, onClick: V, children: [
3418
+ t[51] !== R || t[52] !== K || t[53] !== F || t[54] !== X || t[55] !== st ? (at = /* @__PURE__ */ _t("div", { className: R, onClick: K, children: [
3408
3419
  F,
3409
- J,
3410
- it
3411
- ] }), t[51] = R, t[52] = V, t[53] = F, t[54] = J, t[55] = it, t[56] = at) : at = t[56];
3420
+ X,
3421
+ st
3422
+ ] }), t[51] = R, t[52] = K, t[53] = F, t[54] = X, t[55] = st, t[56] = at) : at = t[56];
3412
3423
  let nt;
3413
3424
  return t[57] !== Y || t[58] !== D || t[59] !== at ? (nt = /* @__PURE__ */ rt("div", { className: Y, onClick: D, children: at }), t[57] = Y, t[58] = D, t[59] = at, t[60] = nt) : nt = t[60], nt;
3414
3425
  };
3415
- function Me($) {
3426
+ function He($) {
3416
3427
  return $.stopPropagation();
3417
3428
  }
3418
- function Ze($) {
3429
+ function qe($) {
3419
3430
  return $.currentTarget.select();
3420
3431
  }
3421
- const $e = "_overlay_18kzg_53", He = "_fadeOut_18kzg_80", qe = "_interactionZone_18kzg_86", Ge = "_centerZone_18kzg_96", Ye = "_iconWrapper_18kzg_107", Ke = "_label_18kzg_131", Ve = "_bottomIconGroup_18kzg_143", Xe = "_bottomIconWrapper_18kzg_150", Je = "_bounceArrow_18kzg_173", Qe = "_dismissButton_18kzg_183", wt = {
3422
- overlay: $e,
3423
- fadeOut: He,
3424
- interactionZone: qe,
3425
- centerZone: Ge,
3426
- iconWrapper: Ye,
3427
- label: Ke,
3428
- bottomIconGroup: Ve,
3429
- bottomIconWrapper: Xe,
3430
- bounceArrow: Je,
3431
- dismissButton: Qe
3432
- }, tr = ($) => {
3433
- const t = It.c(29), {
3432
+ const Ge = "_overlay_18kzg_53", Ye = "_fadeOut_18kzg_80", Ke = "_interactionZone_18kzg_86", Ve = "_centerZone_18kzg_96", Xe = "_iconWrapper_18kzg_107", Je = "_label_18kzg_131", Qe = "_bottomIconGroup_18kzg_143", tr = "_bottomIconWrapper_18kzg_150", er = "_bounceArrow_18kzg_173", rr = "_dismissButton_18kzg_183", wt = {
3433
+ overlay: Ge,
3434
+ fadeOut: Ye,
3435
+ interactionZone: Ke,
3436
+ centerZone: Ve,
3437
+ iconWrapper: Xe,
3438
+ label: Je,
3439
+ bottomIconGroup: Qe,
3440
+ bottomIconWrapper: tr,
3441
+ bounceArrow: er,
3442
+ dismissButton: rr
3443
+ }, nr = ($) => {
3444
+ const t = zt.c(29), {
3434
3445
  color: n,
3435
3446
  onDismiss: I
3436
- } = $, h = n === void 0 ? "#4fc3f7" : n, [l, f] = bt(!1);
3447
+ } = $, h = n === void 0 ? "#4fc3f7" : n, [l, f] = vt(!1);
3437
3448
  let s;
3438
3449
  t[0] !== I ? (s = () => {
3439
3450
  f(!0), setTimeout(I, 400);
3440
3451
  }, t[0] = I, t[1] = s) : s = t[1];
3441
3452
  const c = s, y = `${wt.overlay} ${l ? wt.fadeOut : ""}`;
3442
- let v;
3443
- t[2] !== h ? (v = {
3444
- "--accent-color": h
3445
- }, t[2] = h, t[3] = v) : v = t[3];
3446
- const w = v;
3447
3453
  let b;
3448
- t[4] === Symbol.for("react.memo_cache_sentinel") ? (b = /* @__PURE__ */ _t("div", { className: wt.interactionZone, children: [
3454
+ t[2] !== h ? (b = {
3455
+ "--accent-color": h
3456
+ }, t[2] = h, t[3] = b) : b = t[3];
3457
+ const w = b;
3458
+ let v;
3459
+ t[4] === Symbol.for("react.memo_cache_sentinel") ? (v = /* @__PURE__ */ _t("div", { className: wt.interactionZone, children: [
3449
3460
  /* @__PURE__ */ rt("div", { className: wt.iconWrapper, children: /* @__PURE__ */ rt("svg", { viewBox: "0 0 24 24", children: /* @__PURE__ */ rt("path", { d: "M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z" }) }) }),
3450
3461
  /* @__PURE__ */ rt("div", { className: wt.label, children: "Previous" })
3451
- ] }), t[4] = b) : b = t[4];
3462
+ ] }), t[4] = v) : v = t[4];
3452
3463
  let o;
3453
3464
  t[5] === Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ _t("div", { className: wt.interactionZone, children: [
3454
3465
  /* @__PURE__ */ rt("div", { className: wt.iconWrapper, children: /* @__PURE__ */ rt("svg", { viewBox: "0 0 24 24", children: /* @__PURE__ */ rt("path", { d: "M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" }) }) }),
3455
3466
  /* @__PURE__ */ rt("div", { className: wt.label, children: "Next" })
3456
3467
  ] }), t[5] = o) : o = t[5];
3457
3468
  let p;
3458
- t[6] !== h ? (p = /* @__PURE__ */ rt("div", { className: wt.bottomIconWrapper, children: /* @__PURE__ */ rt(de, { size: 24, color: h }) }), t[6] = h, t[7] = p) : p = t[7];
3469
+ t[6] !== h ? (p = /* @__PURE__ */ rt("div", { className: wt.bottomIconWrapper, children: /* @__PURE__ */ rt(_e, { size: 24, color: h }) }), t[6] = h, t[7] = p) : p = t[7];
3459
3470
  let i;
3460
3471
  t[8] === Symbol.for("react.memo_cache_sentinel") ? (i = /* @__PURE__ */ rt("div", { className: wt.label, style: {
3461
3472
  fontSize: "0.9rem"
@@ -3475,7 +3486,7 @@ const $e = "_overlay_18kzg_53", He = "_fadeOut_18kzg_80", qe = "_interactionZone
3475
3486
  bottom: "80px"
3476
3487
  }, t[12] = m) : m = t[12];
3477
3488
  let k;
3478
- t[13] !== h ? (k = /* @__PURE__ */ rt("div", { className: wt.bottomIconWrapper, children: /* @__PURE__ */ rt(Qt, { size: 20, color: h }) }), t[13] = h, t[14] = k) : k = t[14];
3489
+ t[13] !== h ? (k = /* @__PURE__ */ rt("div", { className: wt.bottomIconWrapper, children: /* @__PURE__ */ rt(re, { size: 20, color: h }) }), t[13] = h, t[14] = k) : k = t[14];
3479
3490
  let E;
3480
3491
  t[15] === Symbol.for("react.memo_cache_sentinel") ? (E = /* @__PURE__ */ rt("div", { className: wt.label, style: {
3481
3492
  fontSize: "0.8rem"
@@ -3486,8 +3497,8 @@ const $e = "_overlay_18kzg_53", He = "_fadeOut_18kzg_80", qe = "_interactionZone
3486
3497
  E
3487
3498
  ] }), t[16] = k, t[17] = C) : C = t[17];
3488
3499
  let B;
3489
- t[18] !== c ? (B = /* @__PURE__ */ rt("button", { className: wt.dismissButton, onClick: (T) => {
3490
- T.stopPropagation(), c();
3500
+ t[18] !== c ? (B = /* @__PURE__ */ rt("button", { className: wt.dismissButton, onClick: (N) => {
3501
+ N.stopPropagation(), c();
3491
3502
  }, children: "Start Reading" }), t[18] = c, t[19] = B) : B = t[19];
3492
3503
  let P;
3493
3504
  t[20] !== a || t[21] !== C || t[22] !== B ? (P = /* @__PURE__ */ _t("div", { className: wt.centerZone, children: [
@@ -3497,12 +3508,12 @@ const $e = "_overlay_18kzg_53", He = "_fadeOut_18kzg_80", qe = "_interactionZone
3497
3508
  ] }), t[20] = a, t[21] = C, t[22] = B, t[23] = P) : P = t[23];
3498
3509
  let j;
3499
3510
  return t[24] !== c || t[25] !== P || t[26] !== y || t[27] !== w ? (j = /* @__PURE__ */ _t("div", { className: y, onClick: c, style: w, children: [
3500
- b,
3511
+ v,
3501
3512
  o,
3502
3513
  P
3503
3514
  ] }), t[24] = c, t[25] = P, t[26] = y, t[27] = w, t[28] = j) : j = t[28], j;
3504
- }, ir = ($) => {
3505
- const t = It.c(75), {
3515
+ }, or = ($) => {
3516
+ const t = zt.c(75), {
3506
3517
  epubDataSource: n,
3507
3518
  onTitleChange: I,
3508
3519
  onLoadingChange: h,
@@ -3512,124 +3523,124 @@ const $e = "_overlay_18kzg_53", He = "_fadeOut_18kzg_80", qe = "_interactionZone
3512
3523
  color: c,
3513
3524
  supportedFonts: y
3514
3525
  } = $;
3515
- let v;
3516
- t[0] !== y ? (v = y === void 0 ? [] : y, t[0] = y, t[1] = v) : v = t[1];
3517
- const w = v, {
3518
- title: b,
3526
+ let b;
3527
+ t[0] !== y ? (b = y === void 0 ? [] : y, t[0] = y, t[1] = b) : b = t[1];
3528
+ const w = b, {
3529
+ title: v,
3519
3530
  rawContent: o,
3520
3531
  toc: p,
3521
3532
  isLoading: i,
3522
3533
  error: d,
3523
3534
  loadEpub: a,
3524
3535
  setIsLoading: m
3525
- } = ge(), [k, E] = bt("none"), [C, B] = Pt("bok_global_side_padding", 30), [P, j] = Pt("bok_global_fontsize", 1.2), [T, H] = Pt("bok_global_font_family", "Inter"), [Q, _] = Pt("bok_global_theme", "Amoled Dark"), x = At(null), r = At(null), [R, V] = bt(0), [F, Y] = bt(0), [D, J] = Pt("bok_tutorial_shown", !1), [O, A] = bt(!D);
3526
- let X, Z;
3527
- t[2] !== D ? (X = () => {
3528
- D && A(!1);
3529
- }, Z = [D], t[2] = D, t[3] = X, t[4] = Z) : (X = t[3], Z = t[4]), gt(X, Z);
3530
- let M;
3531
- t[5] === Symbol.for("react.memo_cache_sentinel") ? (M = () => {
3532
- const st = setTimeout(() => {
3536
+ } = ye(), [k, E] = vt("none"), [C, B] = Ft("bok_global_side_padding", 20), [P, j] = Ft("bok_global_fontsize", 1.4), [N, H] = Ft("bok_global_font_family", "Literata"), [Q, _] = Ft("bok_global_theme", "Amoled Dark"), x = Ct(null), r = Ct(null), [R, K] = vt(0), [F, Y] = vt(0), [D, X] = Ft("bok_tutorial_shown", !1), [O, z] = vt(!D);
3537
+ let J, Z;
3538
+ t[2] !== D ? (J = () => {
3539
+ D && z(!1);
3540
+ }, Z = [D], t[2] = D, t[3] = J, t[4] = Z) : (J = t[3], Z = t[4]), gt(J, Z);
3541
+ let W;
3542
+ t[5] === Symbol.for("react.memo_cache_sentinel") ? (W = () => {
3543
+ const it = setTimeout(() => {
3533
3544
  if (x.current) {
3534
- const vt = getComputedStyle(x.current).getPropertyValue("--bg-color").trim();
3535
- let mt = document.querySelector("meta[name='theme-color']");
3536
- mt || (mt = document.createElement("meta"), mt.setAttribute("name", "theme-color"), document.head.appendChild(mt)), vt && (mt.setAttribute("content", vt), document.body.style.backgroundColor = vt);
3545
+ const bt = getComputedStyle(x.current).getPropertyValue("--bg-color").trim();
3546
+ let pt = document.querySelector("meta[name='theme-color']");
3547
+ pt || (pt = document.createElement("meta"), pt.setAttribute("name", "theme-color"), document.head.appendChild(pt)), bt && (pt.setAttribute("content", bt), document.body.style.backgroundColor = bt);
3537
3548
  }
3538
3549
  }, 50);
3539
- return () => clearTimeout(st);
3540
- }, t[5] = M) : M = t[5];
3541
- let it;
3542
- t[6] !== Q ? (it = [Q], t[6] = Q, t[7] = it) : it = t[7], gt(M, it);
3550
+ return () => clearTimeout(it);
3551
+ }, t[5] = W) : W = t[5];
3552
+ let st;
3553
+ t[6] !== Q ? (st = [Q], t[6] = Q, t[7] = st) : st = t[7], gt(W, st);
3543
3554
  let at;
3544
- t[8] !== J ? (at = () => {
3545
- A(!1), J(!0);
3546
- }, t[8] = J, t[9] = at) : at = t[9];
3555
+ t[8] !== X ? (at = () => {
3556
+ z(!1), X(!0);
3557
+ }, t[8] = X, t[9] = at) : at = t[9];
3547
3558
  const nt = at;
3548
- let tt, ot;
3559
+ let tt, lt;
3549
3560
  t[10] !== n || t[11] !== a ? (tt = () => {
3550
3561
  n && a(n);
3551
- }, ot = [n, a], t[10] = n, t[11] = a, t[12] = tt, t[13] = ot) : (tt = t[12], ot = t[13]), gt(tt, ot);
3552
- let ct, ut;
3553
- t[14] !== I || t[15] !== b ? (ct = () => {
3554
- I && I(b);
3555
- }, ut = [b, I], t[14] = I, t[15] = b, t[16] = ct, t[17] = ut) : (ct = t[16], ut = t[17]), gt(ct, ut);
3556
- let ft, e;
3557
- t[18] !== i || t[19] !== h ? (ft = () => {
3562
+ }, lt = [n, a], t[10] = n, t[11] = a, t[12] = tt, t[13] = lt) : (tt = t[12], lt = t[13]), gt(tt, lt);
3563
+ let ot, ft;
3564
+ t[14] !== I || t[15] !== v ? (ot = () => {
3565
+ I && I(v);
3566
+ }, ft = [v, I], t[14] = I, t[15] = v, t[16] = ot, t[17] = ft) : (ot = t[16], ft = t[17]), gt(ot, ft);
3567
+ let ut, e;
3568
+ t[18] !== i || t[19] !== h ? (ut = () => {
3558
3569
  h && h(i);
3559
- }, e = [i, h], t[18] = i, t[19] = h, t[20] = ft, t[21] = e) : (ft = t[20], e = t[21]), gt(ft, e);
3560
- let L, N;
3570
+ }, e = [i, h], t[18] = i, t[19] = h, t[20] = ut, t[21] = e) : (ut = t[20], e = t[21]), gt(ut, e);
3571
+ let L, T;
3561
3572
  t[22] !== d || t[23] !== l ? (L = () => {
3562
3573
  d && l && l(d);
3563
- }, N = [d, l], t[22] = d, t[23] = l, t[24] = L, t[25] = N) : (L = t[24], N = t[25]), gt(L, N);
3574
+ }, T = [d, l], t[22] = d, t[23] = l, t[24] = L, t[25] = T) : (L = t[24], T = t[25]), gt(L, T);
3564
3575
  const g = `${C}px`, u = `${P}em`;
3565
3576
  let S;
3566
- t[26] !== c || t[27] !== T || t[28] !== g || t[29] !== u ? (S = {
3577
+ t[26] !== c || t[27] !== N || t[28] !== g || t[29] !== u ? (S = {
3567
3578
  "--color-tint": c,
3568
3579
  "--side-padding": g,
3569
3580
  "--top-padding": "30px",
3570
3581
  "--bottom-padding": "70px",
3571
3582
  "--font-size": u,
3572
- "--font-family": T
3573
- }, t[26] = c, t[27] = T, t[28] = g, t[29] = u, t[30] = S) : S = t[30];
3583
+ "--font-family": N
3584
+ }, t[26] = c, t[27] = N, t[28] = g, t[29] = u, t[30] = S) : S = t[30];
3574
3585
  const U = S;
3575
3586
  if (d && !i && !o) {
3576
- const st = `bok-reader-container ${f || ""}`;
3587
+ const it = `bok-reader-container ${f || ""}`;
3577
3588
  let ht;
3578
3589
  t[31] === Symbol.for("react.memo_cache_sentinel") ? (ht = {
3579
3590
  padding: "20px",
3580
3591
  color: "red"
3581
3592
  }, t[31] = ht) : ht = t[31];
3582
- let vt;
3583
- t[32] !== d ? (vt = /* @__PURE__ */ _t("div", { style: ht, children: [
3593
+ let bt;
3594
+ t[32] !== d ? (bt = /* @__PURE__ */ _t("div", { style: ht, children: [
3584
3595
  "Error loading EPUB: ",
3585
3596
  d
3586
- ] }), t[32] = d, t[33] = vt) : vt = t[33];
3587
- let mt;
3588
- return t[34] !== s || t[35] !== st || t[36] !== vt ? (mt = /* @__PURE__ */ rt("div", { className: st, style: s, children: vt }), t[34] = s, t[35] = st, t[36] = vt, t[37] = mt) : mt = t[37], mt;
3597
+ ] }), t[32] = d, t[33] = bt) : bt = t[33];
3598
+ let pt;
3599
+ return t[34] !== s || t[35] !== it || t[36] !== bt ? (pt = /* @__PURE__ */ rt("div", { className: it, style: s, children: bt }), t[34] = s, t[35] = it, t[36] = bt, t[37] = pt) : pt = t[37], pt;
3589
3600
  }
3590
- const W = `bok-reader-container ${Q === "davinci" ? "davinci" : ""}`;
3591
- let z;
3592
- t[38] !== U || t[39] !== s ? (z = {
3601
+ const M = `bok-reader-container ${Q === "davinci" ? "davinci" : ""}`;
3602
+ let A;
3603
+ t[38] !== U || t[39] !== s ? (A = {
3593
3604
  ...s,
3594
3605
  ...U
3595
- }, t[38] = U, t[39] = s, t[40] = z) : z = t[40];
3596
- const q = z;
3597
- let K;
3598
- t[41] !== c || t[42] !== i ? (K = /* @__PURE__ */ rt(Ee, { isLoading: i, color: c }), t[41] = c, t[42] = i, t[43] = K) : K = t[43];
3606
+ }, t[38] = U, t[39] = s, t[40] = A) : A = t[40];
3607
+ const q = A;
3608
+ let V;
3609
+ t[41] !== c || t[42] !== i ? (V = /* @__PURE__ */ rt(Ie, { isLoading: i, color: c }), t[41] = c, t[42] = i, t[43] = V) : V = t[43];
3599
3610
  let G;
3600
- t[44] !== k || t[45] !== c || t[46] !== Q || t[47] !== R || t[48] !== nt || t[49] !== T || t[50] !== P || t[51] !== i || t[52] !== o || t[53] !== _ || t[54] !== H || t[55] !== j || t[56] !== m || t[57] !== B || t[58] !== O || t[59] !== C || t[60] !== w || t[61] !== b || t[62] !== p || t[63] !== F ? (G = o && /* @__PURE__ */ _t(Kt, { children: [
3601
- O && !i && /* @__PURE__ */ rt(tr, { color: c, onDismiss: nt }),
3602
- /* @__PURE__ */ rt(Se, { ref: r, content: o, title: b, setIsLoading: m, fontSize: P, sidePadding: C, fontFamily: T, isOptionMenuVisible: k !== "none", containerElementRef: x, showTutorial: O, onPageChange: V, onPageCountChange: Y }),
3603
- k === "options" && /* @__PURE__ */ rt(Ne, { onClose: () => E("none"), fontSize: P, padding: C, fontFamily: T, colorScheme: Q, setPadding: B, setFontSize: j, setFontFamily: H, setColorScheme: _, supportedFonts: w, supportedColorschemes: [] }),
3604
- k === "navigation" && !i && /* @__PURE__ */ rt(We, { toc: p, currentPage: R, totalPages: F, onClose: () => E("none"), onGoToPage: (st) => {
3611
+ t[44] !== k || t[45] !== c || t[46] !== Q || t[47] !== R || t[48] !== nt || t[49] !== N || t[50] !== P || t[51] !== i || t[52] !== o || t[53] !== _ || t[54] !== H || t[55] !== j || t[56] !== m || t[57] !== B || t[58] !== O || t[59] !== C || t[60] !== w || t[61] !== v || t[62] !== p || t[63] !== F ? (G = o && /* @__PURE__ */ _t(Gt, { children: [
3612
+ O && !i && /* @__PURE__ */ rt(nr, { color: c, onDismiss: nt }),
3613
+ /* @__PURE__ */ rt(Ee, { ref: r, content: o, title: v, setIsLoading: m, fontSize: P, sidePadding: C, fontFamily: N, isOptionMenuVisible: k !== "none", containerElementRef: x, showTutorial: O, onPageChange: K, onPageCountChange: Y }),
3614
+ k === "options" && /* @__PURE__ */ rt(Be, { onClose: () => E("none"), fontSize: P, padding: C, fontFamily: N, colorScheme: Q, setPadding: B, setFontSize: j, setFontFamily: H, setColorScheme: _, supportedFonts: w, supportedColorschemes: [] }),
3615
+ k === "navigation" && !i && /* @__PURE__ */ rt($e, { toc: p, currentPage: R, totalPages: F, onClose: () => E("none"), onGoToPage: (it) => {
3605
3616
  var ht;
3606
- return (ht = r.current) == null ? void 0 : ht.goToPage(st);
3607
- }, onChapterClick: (st) => {
3617
+ return (ht = r.current) == null ? void 0 : ht.goToPage(it);
3618
+ }, onChapterClick: (it) => {
3608
3619
  var ht;
3609
- return (ht = r.current) == null ? void 0 : ht.findAndJumpToHref(st);
3620
+ return (ht = r.current) == null ? void 0 : ht.findAndJumpToHref(it);
3610
3621
  } }),
3611
3622
  k === "none" && !O && !i && /* @__PURE__ */ _t("div", { className: "bottom-interaction-layer", children: [
3612
- /* @__PURE__ */ rt("div", { className: "trigger-zone", onClick: er }),
3623
+ /* @__PURE__ */ rt("div", { className: "trigger-zone", onClick: ir }),
3613
3624
  /* @__PURE__ */ rt("div", { className: "trigger-zone", onClick: () => E("navigation"), "aria-label": "Open Navigation" }),
3614
3625
  /* @__PURE__ */ rt("div", { className: "trigger-zone", onClick: () => E("options"), "aria-label": "Open Settings" }),
3615
- /* @__PURE__ */ rt("div", { className: "settings-icon", onClick: () => E("options"), "aria-label": "Open Settings", children: /* @__PURE__ */ rt(Qt, { size: 16 }) })
3626
+ /* @__PURE__ */ rt("div", { className: "settings-icon", onClick: () => E("options"), "aria-label": "Open Settings", children: /* @__PURE__ */ rt(re, { size: 16 }) })
3616
3627
  ] })
3617
- ] }), t[44] = k, t[45] = c, t[46] = Q, t[47] = R, t[48] = nt, t[49] = T, t[50] = P, t[51] = i, t[52] = o, t[53] = _, t[54] = H, t[55] = j, t[56] = m, t[57] = B, t[58] = O, t[59] = C, t[60] = w, t[61] = b, t[62] = p, t[63] = F, t[64] = G) : G = t[64];
3628
+ ] }), t[44] = k, t[45] = c, t[46] = Q, t[47] = R, t[48] = nt, t[49] = N, t[50] = P, t[51] = i, t[52] = o, t[53] = _, t[54] = H, t[55] = j, t[56] = m, t[57] = B, t[58] = O, t[59] = C, t[60] = w, t[61] = v, t[62] = p, t[63] = F, t[64] = G) : G = t[64];
3618
3629
  let et;
3619
3630
  t[65] !== n || t[66] !== d || t[67] !== i ? (et = !n && !i && !d && /* @__PURE__ */ rt("div", { style: {
3620
3631
  padding: "20px",
3621
3632
  textAlign: "center"
3622
3633
  }, children: "No EPUB loaded." }), t[65] = n, t[66] = d, t[67] = i, t[68] = et) : et = t[68];
3623
- let lt;
3624
- return t[69] !== W || t[70] !== q || t[71] !== K || t[72] !== G || t[73] !== et ? (lt = /* @__PURE__ */ _t("div", { className: W, style: q, ref: x, children: [
3625
- K,
3634
+ let ct;
3635
+ return t[69] !== M || t[70] !== q || t[71] !== V || t[72] !== G || t[73] !== et ? (ct = /* @__PURE__ */ _t("div", { className: M, style: q, ref: x, children: [
3636
+ V,
3626
3637
  G,
3627
3638
  et
3628
- ] }), t[69] = W, t[70] = q, t[71] = K, t[72] = G, t[73] = et, t[74] = lt) : lt = t[74], lt;
3639
+ ] }), t[69] = M, t[70] = q, t[71] = V, t[72] = G, t[73] = et, t[74] = ct) : ct = t[74], ct;
3629
3640
  };
3630
- function er() {
3641
+ function ir() {
3631
3642
  console.log("Left Click - Reserved");
3632
3643
  }
3633
3644
  export {
3634
- ir as BokReader
3645
+ or as BokReader
3635
3646
  };