diff --git a/12911.f94aa754.async.js b/12911.ffbabc43.async.js similarity index 99% rename from 12911.f94aa754.async.js rename to 12911.ffbabc43.async.js index 521c360c17..edce011430 100644 --- a/12911.f94aa754.async.js +++ b/12911.ffbabc43.async.js @@ -914,7 +914,7 @@ exports.removeClassName = removeClassName; exports.removeEvent = removeEvent; exports.removeUserSelectStyles = removeUserSelectStyles; var _shims = __webpack_require__(/*! ./shims */ 36641); -var _getPrefix = _interopRequireWildcard(__webpack_require__(/*! ./getPrefix */ 32092)); +var _getPrefix = _interopRequireWildcard(__webpack_require__(/*! ./getPrefix */ 1750)); function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } /*:: import type {ControlPosition, PositionOffsetControlPosition, MouseTouchEvent} from './types';*/ @@ -1115,7 +1115,7 @@ function removeClassName(el /*: HTMLElement*/, className /*: string*/) { /***/ }), -/***/ 32092: +/***/ 1750: /*!******************************************************************************************!*\ !*** ./node_modules/_react-draggable@4.4.6@react-draggable/build/cjs/utils/getPrefix.js ***! \******************************************************************************************/ diff --git a/40509.41d62d7f.async.js b/40509.4d862cf6.async.js similarity index 99% rename from 40509.41d62d7f.async.js rename to 40509.4d862cf6.async.js index 827d647cf9..f351d1da55 100644 --- a/40509.41d62d7f.async.js +++ b/40509.4d862cf6.async.js @@ -1227,39 +1227,39 @@ var SendToClassModal = function SendToClassModal(_ref) { dropKey = info.node.props.eventKey; dragKey = info.dragNode.props.eventKey; dropPos = info.node.props.pos.split('-'); - dropPosition = info.dropPosition - Number(dropPos[dropPos.length - 1]); - if (!(dropPos.length > 2 && !info.node.dragOverGapBottom && !info.node.dragOverGapTop)) { + dropPosition = info.dropPosition - Number(dropPos[dropPos.length - 1]); // if ( + // dropPos.length > 2 && + // !info.node.dragOverGapBottom && + // !info.node.dragOverGapTop + // ) { + // return false; + // } + if (!(info.node.dragOver && info.dragNodesKeys.length > 1)) { _context4.next = 7; break; } return _context4.abrupt("return", false); case 7: - if (!(info.node.dragOver && info.dragNodesKeys.length > 1)) { + if (!(dropPos.length > 2 && info.dragNodesKeys.length > 1)) { _context4.next = 9; break; } return _context4.abrupt("return", false); case 9: - if (!(dropPos.length > 2 && info.dragNodesKeys.length > 1)) { - _context4.next = 11; - break; - } - return _context4.abrupt("return", false); - case 11: // 所以内容只能拖入文件夹StageCatalog 不能拖入其余类型 且 datas = ['Attachment', 'Hack', 'Shixun', 'SubjectHomework', 'Videoltem']; //文件层集合数组datas if (!(datas.includes((_info$dragNode = info.dragNode) === null || _info$dragNode === void 0 ? void 0 : _info$dragNode.item_type) && ((_info$node = info.node) === null || _info$node === void 0 ? void 0 : _info$node.item_type) != 'StageCatalog' && dropPosition === 0)) { - _context4.next = 14; + _context4.next = 12; break; } return _context4.abrupt("return", false); - case 14: + case 12: if (!(((_info$dragNode2 = info.dragNode) === null || _info$dragNode2 === void 0 ? void 0 : _info$dragNode2.item_type) === 'StageCatalog' && datas.includes((_info$node2 = info.node) === null || _info$node2 === void 0 ? void 0 : _info$node2.item_type) && dropPosition === 0)) { - _context4.next = 16; + _context4.next = 14; break; } return _context4.abrupt("return", false); - case 16: + case 14: loop = function loop(data, key, callback) { for (var i = 0; i < data.length; i++) { if (data[i].key === key) { @@ -1306,17 +1306,17 @@ var SendToClassModal = function SendToClassModal(_ref) { ar.splice(i + 1, 0, dragObj); } } - _context4.next = 22; + _context4.next = 20; return updateSort({ stage_id: props.stage_id, list: data }); - case 22: + case 20: loopIndex(data, 0, 0, true); console.log('data:', data); setGdata(toConsumableArray_default()(data)); setOpenkeys([].concat(toConsumableArray_default()(openkeys), [info.node.key])); - case 26: + case 24: case "end": return _context4.stop(); } diff --git a/65022.b176082e.async.js b/65022.71033022.async.js similarity index 84% rename from 65022.b176082e.async.js rename to 65022.71033022.async.js index 019cff183f..96af486d91 100644 --- a/65022.b176082e.async.js +++ b/65022.71033022.async.js @@ -7853,7 +7853,7 @@ */ (function webpackUniversalModuleDefinition(root, factory) { if(true) - module.exports = factory(__webpack_require__(/*! jspdf */ 82149), __webpack_require__(/*! html2canvas */ 64270)); + module.exports = factory(__webpack_require__(/*! jspdf */ 32092), __webpack_require__(/*! html2canvas */ 64270)); else {} })(self, function(__WEBPACK_EXTERNAL_MODULE_jspdf__, __WEBPACK_EXTERNAL_MODULE_html2canvas__) { return /******/ (function() { // webpackBootstrap @@ -13716,9 +13716,9 @@ __nested_webpack_exports__ = __nested_webpack_exports__.default; /***/ }), -/***/ 82149: +/***/ 32092: /*!**************************************************************************!*\ - !*** ./node_modules/_jspdf@2.5.1@jspdf/dist/jspdf.es.min.js + 1 modules ***! + !*** ./node_modules/_jspdf@2.5.2@jspdf/dist/jspdf.es.min.js + 1 modules ***! \**************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { @@ -13730,7 +13730,7 @@ __webpack_require__.r(__webpack_exports__); __webpack_require__.d(__webpack_exports__, { AcroForm: function() { return /* binding */ St; }, AcroFormAppearance: function() { return /* binding */ At; }, - AcroFormButton: function() { return /* binding */ mt; }, + AcroFormButton: function() { return /* binding */ jspdf_es_min_mt; }, AcroFormCheckBox: function() { return /* binding */ wt; }, AcroFormChoiceField: function() { return /* binding */ ft; }, AcroFormComboBox: function() { return /* binding */ pt; }, @@ -13749,32 +13749,41 @@ __webpack_require__.d(__webpack_exports__, { // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.25.6@@babel/runtime/helpers/esm/typeof.js var esm_typeof = __webpack_require__(80017); -;// CONCATENATED MODULE: ./node_modules/_fflate@0.4.8@fflate/esm/browser.js +;// CONCATENATED MODULE: ./node_modules/_fflate@0.8.2@fflate/esm/browser.js // DEFLATE is a complex format; to read this code, you should probably check the RFC first: // https://tools.ietf.org/html/rfc1951 // You may also wish to take a look at the guide I made about this program: // https://gist.github.com/101arrowz/253f31eb5abc3d9275ab943003ffecad -// Much of the following code is similar to that of UZIP.js: +// Some of the following code is similar to that of UZIP.js: // https://github.com/photopea/UZIP.js -// Many optimizations have been made, so the bundle size is ultimately smaller but performance is similar. +// However, the vast majority of the codebase has diverged from UZIP.js to increase performance and reduce bundle size. // Sometimes 0 will appear where -1 would be more appropriate. This is because using a uint // is better for memory in most engines (I *think*). var ch2 = {}; var wk = (function (c, id, msg, transfer, cb) { - var u = ch2[id] || (ch2[id] = URL.createObjectURL(new Blob([c], { type: 'text/javascript' }))); - var w = new Worker(u); - w.onerror = function (e) { return cb(e.error, null); }; - w.onmessage = function (e) { return cb(null, e.data); }; + var w = new Worker(ch2[id] || (ch2[id] = URL.createObjectURL(new Blob([ + c + ';addEventListener("error",function(e){e=e.error;postMessage({$e$:[e.message,e.code,e.stack]})})' + ], { type: 'text/javascript' })))); + w.onmessage = function (e) { + var d = e.data, ed = d.$e$; + if (ed) { + var err = new Error(ed[0]); + err['code'] = ed[1]; + err.stack = ed[2]; + cb(err, null); + } + else + cb(null, d); + }; w.postMessage(msg, transfer); return w; }); // aliases for shorter compressed code (most minifers don't do this) -var u8 = Uint8Array, u16 = Uint16Array, u32 = Uint32Array; +var u8 = Uint8Array, u16 = Uint16Array, i32 = Int32Array; // fixed length extra bits var fleb = new u8([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, /* unused */ 0, 0, /* impossible */ 0]); // fixed distance extra bits -// see fleb note var fdeb = new u8([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, /* unused */ 0, 0]); // code length index map var clim = new u8([16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15]); @@ -13785,26 +13794,26 @@ var freb = function (eb, start) { b[i] = start += 1 << eb[i - 1]; } // numbers here are at max 18 bits - var r = new u32(b[30]); + var r = new i32(b[30]); for (var i = 1; i < 30; ++i) { for (var j = b[i]; j < b[i + 1]; ++j) { r[j] = ((j - b[i]) << 5) | i; } } - return [b, r]; + return { b: b, r: r }; }; -var _a = freb(fleb, 2), fl = _a[0], revfl = _a[1]; +var _a = freb(fleb, 2), fl = _a.b, revfl = _a.r; // we can ignore the fact that the other numbers are wrong; they never happen anyway fl[28] = 258, revfl[258] = 28; -var _b = freb(fdeb, 0), fd = _b[0], revfd = _b[1]; +var _b = freb(fdeb, 0), fd = _b.b, revfd = _b.r; // map of value to reverse (assuming 16 bits) var rev = new u16(32768); for (var i = 0; i < 32768; ++i) { // reverse table algorithm from SO - var x = ((i & 0xAAAA) >>> 1) | ((i & 0x5555) << 1); - x = ((x & 0xCCCC) >>> 2) | ((x & 0x3333) << 2); - x = ((x & 0xF0F0) >>> 4) | ((x & 0x0F0F) << 4); - rev[i] = (((x & 0xFF00) >>> 8) | ((x & 0x00FF) << 8)) >>> 1; + var x = ((i & 0xAAAA) >> 1) | ((i & 0x5555) << 1); + x = ((x & 0xCCCC) >> 2) | ((x & 0x3333) << 2); + x = ((x & 0xF0F0) >> 4) | ((x & 0x0F0F) << 4); + rev[i] = (((x & 0xFF00) >> 8) | ((x & 0x00FF) << 8)) >> 1; } // create huffman tree from u8 "map": index -> code length for code index // mb (max bits) must be at most 15 @@ -13816,11 +13825,13 @@ var hMap = (function (cd, mb, r) { // u16 "map": index -> # of codes with bit length = index var l = new u16(mb); // length of cd must be 288 (total # of codes) - for (; i < s; ++i) - ++l[cd[i] - 1]; + for (; i < s; ++i) { + if (cd[i]) + ++l[cd[i] - 1]; + } // u16 "map": index -> minimum code for bit length = index var le = new u16(mb); - for (i = 0; i < mb; ++i) { + for (i = 1; i < mb; ++i) { le[i] = (le[i - 1] + l[i - 1]) << 1; } var co; @@ -13841,15 +13852,18 @@ var hMap = (function (cd, mb, r) { // m is end value for (var m = v | ((1 << r_1) - 1); v <= m; ++v) { // every 16 bit value starting with the code yields the same result - co[rev[v] >>> rvb] = sv; + co[rev[v] >> rvb] = sv; } } } } else { co = new u16(s); - for (i = 0; i < s; ++i) - co[i] = rev[le[cd[i] - 1]++] >>> (15 - cd[i]); + for (i = 0; i < s; ++i) { + if (cd[i]) { + co[i] = rev[le[cd[i] - 1]++] >> (15 - cd[i]); + } + } } return co; }); @@ -13882,16 +13896,16 @@ var max = function (a) { }; // read d, starting at bit p and mask with m var bits = function (d, p, m) { - var o = (p / 8) >> 0; - return ((d[o] | (d[o + 1] << 8)) >>> (p & 7)) & m; + var o = (p / 8) | 0; + return ((d[o] | (d[o + 1] << 8)) >> (p & 7)) & m; }; // read d, starting at bit p continuing for at least 16 bits var bits16 = function (d, p) { - var o = (p / 8) >> 0; - return ((d[o] | (d[o + 1] << 8) | (d[o + 2] << 16)) >>> (p & 7)); + var o = (p / 8) | 0; + return ((d[o] | (d[o + 1] << 8) | (d[o + 2] << 16)) >> (p & 7)); }; // get end of byte -var shft = function (p) { return ((p / 8) >> 0) + (p & 7 && 1); }; +var shft = function (p) { return ((p + 7) / 8) | 0; }; // typed array slice - allows garbage collector to free original reference, // while being more compatible than .slice var slc = function (v, s, e) { @@ -13900,22 +13914,69 @@ var slc = function (v, s, e) { if (e == null || e > v.length) e = v.length; // can't use .constructor in case user-supplied - var n = new (v instanceof u16 ? u16 : v instanceof u32 ? u32 : u8)(e - s); - n.set(v.subarray(s, e)); - return n; + return new u8(v.subarray(s, e)); +}; +/** + * Codes for errors generated within this library + */ +var FlateErrorCode = { + UnexpectedEOF: 0, + InvalidBlockType: 1, + InvalidLengthLiteral: 2, + InvalidDistance: 3, + StreamFinished: 4, + NoStreamHandler: 5, + InvalidHeader: 6, + NoCallback: 7, + InvalidUTF8: 8, + ExtraFieldTooLong: 9, + InvalidDate: 10, + FilenameTooLong: 11, + StreamFinishing: 12, + InvalidZipData: 13, + UnknownCompressionMethod: 14 +}; +// error codes +var ec = [ + 'unexpected EOF', + 'invalid block type', + 'invalid length/literal', + 'invalid distance', + 'stream finished', + 'no stream handler', + , + 'no callback', + 'invalid UTF-8 data', + 'extra field too long', + 'date not in range 1980-2099', + 'filename too long', + 'stream finishing', + 'invalid zip data' + // determined by unknown compression method +]; +; +var err = function (ind, msg, nt) { + var e = new Error(msg || ec[ind]); + e.code = ind; + if (Error.captureStackTrace) + Error.captureStackTrace(e, err); + if (!nt) + throw e; + return e; }; // expands raw DEFLATE data -var inflt = function (dat, buf, st) { - // source length - var sl = dat.length; +var inflt = function (dat, st, buf, dict) { + // source length dict length + var sl = dat.length, dl = dict ? dict.length : 0; + if (!sl || st.f && !st.l) + return buf || new u8(0); + var noBuf = !buf; // have to estimate size - var noBuf = !buf || st; + var resize = noBuf || st.i != 2; // no state - var noSt = !st || st.i; - if (!st) - st = {}; + var noSt = st.i; // Assumes roughly 33% compression ratio average - if (!buf) + if (noBuf) buf = new u8(sl * 3); // ensure buffer can fit at least l elements var cbuf = function (l) { @@ -13935,7 +13996,7 @@ var inflt = function (dat, buf, st) { do { if (!lm) { // BFINAL - this is only 1 when last chunk is next - st.f = final = bits(dat, pos, 1); + final = bits(dat, pos, 1); // type: 0 = no compression, 1 = fixed huffman, 2 = dynamic huffman var type = bits(dat, pos + 1, 3); pos += 3; @@ -13944,16 +14005,16 @@ var inflt = function (dat, buf, st) { var s = shft(pos) + 4, l = dat[s - 4] | (dat[s - 3] << 8), t = s + l; if (t > sl) { if (noSt) - throw 'unexpected EOF'; + err(0); break; } // ensure size - if (noBuf) + if (resize) cbuf(bt + l); // Copy over uncompressed data buf.set(dat.subarray(s, t), bt); // Get new bitpos, update byte count - st.b = bt += l, st.p = pos = t * 8; + st.b = bt += l, st.p = pos = t * 8, st.f = final; continue; } else if (type == 1) @@ -13974,8 +14035,6 @@ var inflt = function (dat, buf, st) { pos += hcLen * 3; // code lengths bits var clb = max(clt), clbmsk = (1 << clb) - 1; - if (!noSt && pos + tl * (clb + 7) > tbts) - break; // code lengths map var clm = hMap(clt, clb, 1); for (var i = 0; i < tl;) { @@ -13983,7 +14042,7 @@ var inflt = function (dat, buf, st) { // bits read pos += r & 15; // symbol - var s = r >>> 4; + var s = r >> 4; // code length to copy if (s < 16) { ldt[i++] = s; @@ -14011,28 +14070,34 @@ var inflt = function (dat, buf, st) { dm = hMap(dt, dbt, 1); } else - throw 'invalid block type'; - if (pos > tbts) - throw 'unexpected EOF'; + err(1); + if (pos > tbts) { + if (noSt) + err(0); + break; + } } // Make sure the buffer can hold this + the largest possible addition - // Maximum chunk size (practically, theoretically infinite) is 2^17; - if (noBuf) + // Maximum chunk size (practically, theoretically infinite) is 2^17 + if (resize) cbuf(bt + 131072); var lms = (1 << lbt) - 1, dms = (1 << dbt) - 1; - var mxa = lbt + dbt + 18; - while (noSt || pos + mxa < tbts) { + var lpos = pos; + for (;; lpos = pos) { // bits read, code - var c = lm[bits16(dat, pos) & lms], sym = c >>> 4; + var c = lm[bits16(dat, pos) & lms], sym = c >> 4; pos += c & 15; - if (pos > tbts) - throw 'unexpected EOF'; + if (pos > tbts) { + if (noSt) + err(0); + break; + } if (!c) - throw 'invalid length/literal'; + err(2); if (sym < 256) buf[bt++] = sym; else if (sym == 256) { - lm = null; + lpos = pos, lm = null; break; } else { @@ -14045,49 +14110,55 @@ var inflt = function (dat, buf, st) { pos += b; } // dist - var d = dm[bits16(dat, pos) & dms], dsym = d >>> 4; + var d = dm[bits16(dat, pos) & dms], dsym = d >> 4; if (!d) - throw 'invalid distance'; + err(3); pos += d & 15; var dt = fd[dsym]; if (dsym > 3) { var b = fdeb[dsym]; - dt += bits16(dat, pos) & ((1 << b) - 1), pos += b; + dt += bits16(dat, pos) & (1 << b) - 1, pos += b; + } + if (pos > tbts) { + if (noSt) + err(0); + break; } - if (pos > tbts) - throw 'unexpected EOF'; - if (noBuf) + if (resize) cbuf(bt + 131072); var end = bt + add; - for (; bt < end; bt += 4) { - buf[bt] = buf[bt - dt]; - buf[bt + 1] = buf[bt + 1 - dt]; - buf[bt + 2] = buf[bt + 2 - dt]; - buf[bt + 3] = buf[bt + 3 - dt]; + if (bt < dt) { + var shift = dl - dt, dend = Math.min(dt, end); + if (shift + bt < 0) + err(3); + for (; bt < dend; ++bt) + buf[bt] = dict[shift + bt]; } - bt = end; + for (; bt < end; ++bt) + buf[bt] = buf[bt - dt]; } } - st.l = lm, st.p = pos, st.b = bt; + st.l = lm, st.p = lpos, st.b = bt, st.f = final; if (lm) final = 1, st.m = lbt, st.d = dm, st.n = dbt; } while (!final); - return bt == buf.length ? buf : slc(buf, 0, bt); + // don't reallocate for streams or user buffers + return bt != buf.length && noBuf ? slc(buf, 0, bt) : buf.subarray(0, bt); }; // starting at p, write the minimum number of bits that can hold v to d var wbits = function (d, p, v) { v <<= p & 7; - var o = (p / 8) >> 0; + var o = (p / 8) | 0; d[o] |= v; - d[o + 1] |= v >>> 8; + d[o + 1] |= v >> 8; }; // starting at p, write the minimum number of bits (>8) that can hold v to d var wbits16 = function (d, p, v) { v <<= p & 7; - var o = (p / 8) >> 0; + var o = (p / 8) | 0; d[o] |= v; - d[o + 1] |= v >>> 8; - d[o + 2] |= v >>> 16; + d[o + 1] |= v >> 8; + d[o + 2] |= v >> 16; }; // creates code lengths from a frequency table var hTree = function (d, mb) { @@ -14100,11 +14171,11 @@ var hTree = function (d, mb) { var s = t.length; var t2 = t.slice(); if (!s) - return [new u8(0), 0]; + return { t: et, l: 0 }; if (s == 1) { var v = new u8(t[0].s + 1); v[t[0].s] = 1; - return [v, 1]; + return { t: v, l: 1 }; } t.sort(function (a, b) { return a.f - b.f; }); // after i2 reaches last ind, will be stopped @@ -14148,7 +14219,7 @@ var hTree = function (d, mb) { else break; } - dt >>>= lft; + dt >>= lft; while (dt > 0) { var i2_2 = t2[i].s; if (tr[i2_2] < mb) @@ -14165,7 +14236,7 @@ var hTree = function (d, mb) { } mbt = mb; } - return [new u8(tr), mbt]; + return { t: new u8(tr), l: mbt }; }; // get the max length and assign length codes var ln = function (n, l, d) { @@ -14208,7 +14279,7 @@ var lc = function (c) { cln = c[i]; } } - return [cl.subarray(0, cli), s]; + return { c: cl.subarray(0, cli), n: s }; }; // calculate the length of output from tree, code lengths var clen = function (cf, cl) { @@ -14224,7 +14295,7 @@ var wfblk = function (out, pos, dat) { var s = dat.length; var o = shft(pos + 2); out[o] = s & 255; - out[o + 1] = s >>> 8; + out[o + 1] = s >> 8; out[o + 2] = out[o] ^ 255; out[o + 3] = out[o + 1] ^ 255; for (var i = 0; i < s; ++i) @@ -14235,23 +14306,23 @@ var wfblk = function (out, pos, dat) { var wblk = function (dat, out, final, syms, lf, df, eb, li, bs, bl, p) { wbits(out, p++, final); ++lf[256]; - var _a = hTree(lf, 15), dlt = _a[0], mlb = _a[1]; - var _b = hTree(df, 15), ddt = _b[0], mdb = _b[1]; - var _c = lc(dlt), lclt = _c[0], nlc = _c[1]; - var _d = lc(ddt), lcdt = _d[0], ndc = _d[1]; + var _a = hTree(lf, 15), dlt = _a.t, mlb = _a.l; + var _b = hTree(df, 15), ddt = _b.t, mdb = _b.l; + var _c = lc(dlt), lclt = _c.c, nlc = _c.n; + var _d = lc(ddt), lcdt = _d.c, ndc = _d.n; var lcfreq = new u16(19); for (var i = 0; i < lclt.length; ++i) - lcfreq[lclt[i] & 31]++; + ++lcfreq[lclt[i] & 31]; for (var i = 0; i < lcdt.length; ++i) - lcfreq[lcdt[i] & 31]++; - var _e = hTree(lcfreq, 7), lct = _e[0], mlcb = _e[1]; + ++lcfreq[lcdt[i] & 31]; + var _e = hTree(lcfreq, 7), lct = _e.t, mlcb = _e.l; var nlcc = 19; for (; nlcc > 4 && !lct[clim[nlcc - 1]]; --nlcc) ; var flen = (bl + 5) << 3; var ftlen = clen(lf, flt) + clen(df, fdt) + eb; - var dtlen = clen(lf, dlt) + clen(df, ddt) + eb + 14 + 3 * nlcc + clen(lcfreq, lct) + (2 * lcfreq[16] + 3 * lcfreq[17] + 7 * lcfreq[18]); - if (flen <= ftlen && flen <= dtlen) + var dtlen = clen(lf, dlt) + clen(df, ddt) + eb + 14 + 3 * nlcc + clen(lcfreq, lct) + 2 * lcfreq[16] + 3 * lcfreq[17] + 7 * lcfreq[18]; + if (bs >= 0 && flen <= ftlen && flen <= dtlen) return wfblk(out, p, dat.subarray(bs, bs + bl)); var lm, ll, dm, dl; wbits(out, p, 1 + (dtlen < ftlen)), p += 2; @@ -14272,7 +14343,7 @@ var wblk = function (dat, out, final, syms, lf, df, eb, li, bs, bl, p) { var len = clct[i] & 31; wbits(out, p, llm[len]), p += lct[len]; if (len > 15) - wbits(out, p, (clct[i] >>> 5) & 127), p += clct[i] >>> 12; + wbits(out, p, (clct[i] >> 5) & 127), p += clct[i] >> 12; } } } @@ -14280,71 +14351,58 @@ var wblk = function (dat, out, final, syms, lf, df, eb, li, bs, bl, p) { lm = flm, ll = flt, dm = fdm, dl = fdt; } for (var i = 0; i < li; ++i) { - if (syms[i] > 255) { - var len = (syms[i] >>> 18) & 31; + var sym = syms[i]; + if (sym > 255) { + var len = (sym >> 18) & 31; wbits16(out, p, lm[len + 257]), p += ll[len + 257]; if (len > 7) - wbits(out, p, (syms[i] >>> 23) & 31), p += fleb[len]; - var dst = syms[i] & 31; + wbits(out, p, (sym >> 23) & 31), p += fleb[len]; + var dst = sym & 31; wbits16(out, p, dm[dst]), p += dl[dst]; if (dst > 3) - wbits16(out, p, (syms[i] >>> 5) & 8191), p += fdeb[dst]; + wbits16(out, p, (sym >> 5) & 8191), p += fdeb[dst]; } else { - wbits16(out, p, lm[syms[i]]), p += ll[syms[i]]; + wbits16(out, p, lm[sym]), p += ll[sym]; } } wbits16(out, p, lm[256]); return p + ll[256]; }; // deflate options (nice << 13) | chain -var deo = /*#__PURE__*/ new u32([65540, 131080, 131088, 131104, 262176, 1048704, 1048832, 2114560, 2117632]); +var deo = /*#__PURE__*/ new i32([65540, 131080, 131088, 131104, 262176, 1048704, 1048832, 2114560, 2117632]); // empty var et = /*#__PURE__*/ new u8(0); // compresses data into a raw DEFLATE buffer -var dflt = function (dat, lvl, plvl, pre, post, lst) { - var s = dat.length; - var o = new u8(pre + s + 5 * (1 + Math.floor(s / 7000)) + post); +var dflt = function (dat, lvl, plvl, pre, post, st) { + var s = st.z || dat.length; + var o = new u8(pre + s + 5 * (1 + Math.ceil(s / 7000)) + post); // writing to this writes to the output buffer var w = o.subarray(pre, o.length - post); - var pos = 0; - if (!lvl || s < 8) { - for (var i = 0; i <= s; i += 65535) { - // end - var e = i + 65535; - if (e < s) { - // write full block - pos = wfblk(w, pos, dat.subarray(i, e)); - } - else { - // write final block - w[i] = lst; - pos = wfblk(w, pos, dat.subarray(i, s)); - } - } - } - else { + var lst = st.l; + var pos = (st.r || 0) & 7; + if (lvl) { + if (pos) + w[0] = st.r >> 3; var opt = deo[lvl - 1]; - var n = opt >>> 13, c = opt & 8191; + var n = opt >> 13, c = opt & 8191; var msk_1 = (1 << plvl) - 1; // prev 2-byte val map curr 2-byte val map - var prev = new u16(32768), head = new u16(msk_1 + 1); + var prev = st.p || new u16(32768), head = st.h || new u16(msk_1 + 1); var bs1_1 = Math.ceil(plvl / 3), bs2_1 = 2 * bs1_1; var hsh = function (i) { return (dat[i] ^ (dat[i + 1] << bs1_1) ^ (dat[i + 2] << bs2_1)) & msk_1; }; // 24576 is an arbitrary number of maximum symbols per block // 424 buffer for last block - var syms = new u32(25000); + var syms = new i32(25000); // length/literal freq distance freq var lf = new u16(288), df = new u16(32); - // l/lcnt exbits index l/lind waitdx bitpos - var lc_1 = 0, eb = 0, i = 0, li = 0, wi = 0, bs = 0; - for (; i < s; ++i) { + // l/lcnt exbits index l/lind waitdx blkpos + var lc_1 = 0, eb = 0, i = st.i || 0, li = 0, wi = st.w || 0, bs = 0; + for (; i + 2 < s; ++i) { // hash value var hv = hsh(i); - // index mod 32768 - var imod = i & 32767; - // previous index with this value - var pimod = head[hv]; + // index mod 32768 previous index mod + var imod = i & 32767, pimod = head[hv]; prev[imod] = pimod; head[hv] = imod; // We always should modify head and prev, but only add symbols if @@ -14352,7 +14410,7 @@ var dflt = function (dat, lvl, plvl, pre, post, lst) { if (wi <= i) { // bytes remaining var rem = s - i; - if ((lc_1 > 7000 || li > 24576) && rem > 423) { + if ((lc_1 > 7000 || li > 24576) && (rem > 423 || !lst)) { pos = wblk(dat, w, 0, syms, lf, df, eb, li, bs, i - bs, pos); li = lc_1 = eb = 0, bs = i; for (var j = 0; j < 286; ++j) @@ -14361,7 +14419,7 @@ var dflt = function (dat, lvl, plvl, pre, post, lst) { df[j] = 0; } // len dist chain - var l = 2, d = 0, ch_1 = c, dif = (imod - pimod) & 32767; + var l = 2, d = 0, ch_1 = c, dif = imod - pimod & 32767; if (rem > 2 && hv == hsh(i - dif)) { var maxn = Math.min(n, rem) - 1; var maxd = Math.min(32767, i); @@ -14384,9 +14442,9 @@ var dflt = function (dat, lvl, plvl, pre, post, lst) { var mmd = Math.min(dif, nl - 2); var md = 0; for (var j = 0; j < mmd; ++j) { - var ti = (i - dif + j + 32768) & 32767; + var ti = i - dif + j & 32767; var pti = prev[ti]; - var cd = (ti - pti + 32768) & 32767; + var cd = ti - pti & 32767; if (cd > md) md = cd, pimod = ti; } @@ -14394,12 +14452,12 @@ var dflt = function (dat, lvl, plvl, pre, post, lst) { } // check the previous match imod = pimod, pimod = prev[imod]; - dif += (imod - pimod + 32768) & 32767; + dif += imod - pimod & 32767; } } // d will be nonzero only when a match was found if (d) { - // store both dist and len data in one Uint32 + // store both dist and len data in one int32 // Make sure this is recognized as a len/dist with 28th bit (2^28) syms[li++] = 268435456 | (revfl[l] << 18) | revfd[d]; var lin = revfl[l] & 31, din = revfd[d] & 31; @@ -14415,27 +14473,47 @@ var dflt = function (dat, lvl, plvl, pre, post, lst) { } } } + for (i = Math.max(i, wi); i < s; ++i) { + syms[li++] = dat[i]; + ++lf[dat[i]]; + } pos = wblk(dat, w, lst, syms, lf, df, eb, li, bs, i - bs, pos); - // this is the easiest way to avoid needing to maintain state - if (!lst) - pos = wfblk(w, pos, et); + if (!lst) { + st.r = (pos & 7) | w[(pos / 8) | 0] << 3; + // shft(pos) now 1 less if pos & 7 != 0 + pos -= 7; + st.h = head, st.p = prev, st.i = i, st.w = wi; + } + } + else { + for (var i = st.w || 0; i < s + lst; i += 65535) { + // end + var e = i + 65535; + if (e >= s) { + // write final block + w[(pos / 8) | 0] = lst; + e = s; + } + pos = wfblk(w, pos + 1, dat.subarray(i, e)); + } + st.i = s; } return slc(o, 0, pre + shft(pos) + post); }; // CRC32 table var crct = /*#__PURE__*/ (/* unused pure expression or super */ null && ((function () { - var t = new u32(256); + var t = new Int32Array(256); for (var i = 0; i < 256; ++i) { var c = i, k = 9; while (--k) - c = ((c & 1) && 0xEDB88320) ^ (c >>> 1); + c = ((c & 1) && -306674912) ^ (c >>> 1); t[i] = c; } return t; })())); // CRC32 var crc = function () { - var c = 0xFFFFFFFF; + var c = -1; return { p: function (d) { // closures have awful performance @@ -14444,32 +14522,46 @@ var crc = function () { cr = crct[(cr & 255) ^ d[i]] ^ (cr >>> 8); c = cr; }, - d: function () { return c ^ 0xFFFFFFFF; } + d: function () { return ~c; } }; }; -// Alder32 +// Adler32 var adler = function () { var a = 1, b = 0; return { p: function (d) { // closures have awful performance var n = a, m = b; - var l = d.length; + var l = d.length | 0; for (var i = 0; i != l;) { - var e = Math.min(i + 5552, l); + var e = Math.min(i + 2655, l); for (; i < e; ++i) - n += d[i], m += n; - n %= 65521, m %= 65521; + m += n += d[i]; + n = (n & 65535) + 15 * (n >> 16), m = (m & 65535) + 15 * (m >> 16); } a = n, b = m; }, - d: function () { return ((a >>> 8) << 16 | (b & 255) << 8 | (b >>> 8)) + ((a & 255) << 23) * 2; } + d: function () { + a %= 65521, b %= 65521; + return (a & 255) << 24 | (a & 0xFF00) << 8 | (b & 255) << 8 | (b >> 8); + } }; }; ; // deflate with opts var dopt = function (dat, opt, pre, post, st) { - return dflt(dat, opt.level == null ? 6 : opt.level, opt.mem == null ? Math.ceil(Math.max(8, Math.min(13, Math.log(dat.length))) * 1.5) : (12 + opt.mem), pre, post, !st); + if (!st) { + st = { l: 1 }; + if (opt.dictionary) { + var dict = opt.dictionary.subarray(-32768); + var newDat = new u8(dict.length + dat.length); + newDat.set(dict); + newDat.set(dat, dict.length); + dat = newDat; + st.w = dict.length; + } + } + return dflt(dat, opt.level == null ? 6 : opt.level, opt.mem == null ? (st.l ? Math.ceil(Math.max(8, Math.min(13, Math.log(dat.length))) * 1.5) : 20) : (12 + opt.mem), pre, post, st); }; // Walmart object spread var mrg = function (a, b) { @@ -14490,7 +14582,7 @@ var mrg = function (a, b) { var wcln = function (fn, fnStr, td) { var dt = fn(); var st = fn.toString(); - var ks = st.slice(st.indexOf('[') + 1, st.lastIndexOf(']')).replace(/ /g, '').split(','); + var ks = st.slice(st.indexOf('[') + 1, st.lastIndexOf(']')).replace(/\s+/g, '').split(','); for (var i = 0; i < dt.length; ++i) { var v = dt[i], k = ks[i]; if (typeof v == 'function') { @@ -14514,33 +14606,33 @@ var wcln = function (fn, fnStr, td) { else td[k] = v; } - return [fnStr, td]; + return fnStr; }; var ch = (/* unused pure expression or super */ null && ([])); // clone bufs var cbfs = function (v) { var tl = []; for (var k in v) { - if (v[k] instanceof u8 || v[k] instanceof u16 || v[k] instanceof u32) + if (v[k].buffer) { tl.push((v[k] = new v[k].constructor(v[k])).buffer); + } } return tl; }; // use a worker to execute code var wrkr = function (fns, init, id, cb) { - var _a; if (!ch[id]) { var fnStr = '', td_1 = {}, m = fns.length - 1; for (var i = 0; i < m; ++i) - _a = wcln(fns[i], fnStr, td_1), fnStr = _a[0], td_1 = _a[1]; - ch[id] = wcln(fns[m], fnStr, td_1); + fnStr = wcln(fns[i], fnStr, td_1); + ch[id] = { c: wcln(fns[m], fnStr, td_1), e: td_1 }; } - var td = mrg({}, ch[id][1]); - return wk(ch[id][0] + ';onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage=' + init.toString() + '}', id, td, cbfs(td), cb); + var td = mrg({}, ch[id].e); + return wk(ch[id].c + ';onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage=' + init.toString() + '}', id, td, cbfs(td), cb); }; // base async inflate fn -var bInflt = function () { return [u8, u16, u32, fleb, fdeb, clim, fl, fd, flrm, fdrm, rev, hMap, max, bits, bits16, shft, slc, inflt, inflateSync, pbf, gu8]; }; -var bDflt = function () { return [u8, u16, u32, fleb, fdeb, clim, revfl, revfd, flm, flt, fdm, fdt, rev, deo, et, hMap, wbits, wbits16, hTree, ln, lc, clen, wfblk, wblk, shft, slc, dflt, dopt, deflateSync, pbf]; }; +var bInflt = function () { return [u8, u16, i32, fleb, fdeb, clim, fl, fd, flrm, fdrm, rev, ec, hMap, max, bits, bits16, shft, slc, err, inflt, inflateSync, pbf, gopt]; }; +var bDflt = function () { return [u8, u16, i32, fleb, fdeb, clim, revfl, revfd, flm, flt, fdm, fdt, rev, deo, et, hMap, wbits, wbits16, hTree, ln, lc, clen, wfblk, wblk, shft, slc, dflt, dopt, deflateSync, pbf]; }; // gzip extra var gze = function () { return [gzh, gzhl, wbytes, crc, crct]; }; // gunzip extra @@ -14548,33 +14640,48 @@ var guze = function () { return [gzs, gzl]; }; // zlib extra var zle = function () { return [zlh, wbytes, adler]; }; // unzlib extra -var zule = function () { return [zlv]; }; +var zule = function () { return [zls]; }; // post buf var pbf = function (msg) { return postMessage(msg, [msg.buffer]); }; -// get u8 -var gu8 = function (o) { return o && o.size && new u8(o.size); }; +// get opts +var gopt = function (o) { return o && { + out: o.size && new u8(o.size), + dictionary: o.dictionary +}; }; // async helper var cbify = function (dat, opts, fns, init, id, cb) { var w = wrkr(fns, init, id, function (err, dat) { w.terminate(); cb(err, dat); }); - if (!opts.consume) - dat = new u8(dat); - w.postMessage([dat, opts], [dat.buffer]); + w.postMessage([dat, opts], opts.consume ? [dat.buffer] : []); return function () { w.terminate(); }; }; // auto stream var astrm = function (strm) { strm.ondata = function (dat, final) { return postMessage([dat, final], [dat.buffer]); }; - return function (ev) { return strm.push(ev.data[0], ev.data[1]); }; + return function (ev) { + if (ev.data.length) { + strm.push(ev.data[0], ev.data[1]); + postMessage([ev.data[0].length]); + } + else + strm.flush(); + }; }; // async stream attach -var astrmify = function (fns, strm, opts, init, id) { +var astrmify = function (fns, strm, opts, init, id, flush, ext) { var t; var w = wrkr(fns, init, id, function (err, dat) { if (err) w.terminate(), strm.ondata.call(strm, err); + else if (!Array.isArray(dat)) + ext(dat); + else if (dat.length == 1) { + strm.queuedSize -= dat[0]; + if (strm.ondrain) + strm.ondrain(dat[0]); + } else { if (dat[1]) w.terminate(); @@ -14582,19 +14689,25 @@ var astrmify = function (fns, strm, opts, init, id) { } }); w.postMessage(opts); + strm.queuedSize = 0; strm.push = function (d, f) { - if (t) - throw 'stream finished'; if (!strm.ondata) - throw 'no stream handler'; + err(5); + if (t) + strm.ondata(err(4, 0, 1), null, !!f); + strm.queuedSize += d.length; w.postMessage([d, t = f], [d.buffer]); }; strm.terminate = function () { w.terminate(); }; + if (flush) { + strm.flush = function () { w.postMessage([]); }; + } }; // read 2 bytes var b2 = function (d, b) { return d[b] | (d[b + 1] << 8); }; // read 4 bytes -var b4 = function (d, b) { return (d[b] | (d[b + 1] << 8) | (d[b + 2] << 16)) + (d[b + 3] << 23) * 2; }; +var b4 = function (d, b) { return (d[b] | (d[b + 1] << 8) | (d[b + 2] << 16) | (d[b + 3] << 24)) >>> 0; }; +var b8 = function (d, b) { return b4(d, b) + (b4(d, b + 4) * 4294967296); }; // write bytes var wbytes = function (d, b, v) { for (; v; ++b) @@ -14616,11 +14729,11 @@ var gzh = function (c, o) { // gzip start var gzs = function (d) { if (d[0] != 31 || d[1] != 139 || d[2] != 8) - throw 'invalid gzip data'; + err(6, 'invalid gzip data'); var flg = d[3]; var st = 10; if (flg & 4) - st += d[10] | (d[11] << 8) + 2; + st += (d[10] | d[11] << 8) + 2; for (var zs = (flg >> 3 & 1) + (flg >> 4 & 1); zs > 0; zs -= !d[st++]) ; return st + (flg & 2); @@ -14628,41 +14741,56 @@ var gzs = function (d) { // gzip length var gzl = function (d) { var l = d.length; - return (d[l - 4] | d[l - 3] << 8 | d[l - 2] << 16) + (2 * (d[l - 1] << 23)); + return (d[l - 4] | d[l - 3] << 8 | d[l - 2] << 16 | d[l - 1] << 24) >>> 0; }; // gzip header length -var gzhl = function (o) { return 10 + ((o.filename && (o.filename.length + 1)) || 0); }; +var gzhl = function (o) { return 10 + (o.filename ? o.filename.length + 1 : 0); }; // zlib header var zlh = function (c, o) { var lv = o.level, fl = lv == 0 ? 0 : lv < 6 ? 1 : lv == 9 ? 3 : 2; - c[0] = 120, c[1] = (fl << 6) | (fl ? (32 - 2 * fl) : 1); + c[0] = 120, c[1] = (fl << 6) | (o.dictionary && 32); + c[1] |= 31 - ((c[0] << 8) | c[1]) % 31; + if (o.dictionary) { + var h = adler(); + h.p(o.dictionary); + wbytes(c, 2, h.d()); + } }; -// zlib valid -var zlv = function (d) { - if ((d[0] & 15) != 8 || (d[0] >>> 4) > 7 || ((d[0] << 8 | d[1]) % 31)) - throw 'invalid zlib data'; - if (d[1] & 32) - throw 'invalid zlib data: preset dictionaries not supported'; +// zlib start +var zls = function (d, dict) { + if ((d[0] & 15) != 8 || (d[0] >> 4) > 7 || ((d[0] << 8 | d[1]) % 31)) + err(6, 'invalid zlib data'); + if ((d[1] >> 5 & 1) == +!dict) + err(6, 'invalid zlib data: ' + (d[1] & 32 ? 'need' : 'unexpected') + ' dictionary'); + return (d[1] >> 3 & 4) + 2; }; -function AsyncCmpStrm(opts, cb) { - if (!cb && typeof opts == 'function') +function StrmOpt(opts, cb) { + if (typeof opts == 'function') cb = opts, opts = {}; this.ondata = cb; return opts; } -// zlib footer: -4 to -0 is Adler32 /** * Streaming DEFLATE compression */ var Deflate = /*#__PURE__*/ ((/* unused pure expression or super */ null && (function () { function Deflate(opts, cb) { - if (!cb && typeof opts == 'function') + if (typeof opts == 'function') cb = opts, opts = {}; this.ondata = cb; this.o = opts || {}; + this.s = { l: 0, i: 32768, w: 32768, z: 32768 }; + // Buffer length must always be 0 mod 32768 for index calculations to be correct when modifying head and prev + // 98304 = 32768 (lookback) + 65536 (common chunk size) + this.b = new u8(98304); + if (this.o.dictionary) { + var dict = this.o.dictionary.subarray(-32768); + this.b.set(dict, 32768 - dict.length); + this.s.i = 32768 - dict.length; + } } Deflate.prototype.p = function (c, f) { - this.ondata(dopt(c, this.o, 0, 0, !f), f); + this.ondata(dopt(c, this.o, 0, 0, this.s), f); }; /** * Pushes a chunk to be deflated @@ -14670,12 +14798,47 @@ var Deflate = /*#__PURE__*/ ((/* unused pure expression or super */ null && (fun * @param final Whether this is the last chunk */ Deflate.prototype.push = function (chunk, final) { - if (this.d) - throw 'stream finished'; if (!this.ondata) - throw 'no stream handler'; - this.d = final; - this.p(chunk, final || false); + err(5); + if (this.s.l) + err(4); + var endLen = chunk.length + this.s.z; + if (endLen > this.b.length) { + if (endLen > 2 * this.b.length - 32768) { + var newBuf = new u8(endLen & -32768); + newBuf.set(this.b.subarray(0, this.s.z)); + this.b = newBuf; + } + var split = this.b.length - this.s.z; + this.b.set(chunk.subarray(0, split), this.s.z); + this.s.z = this.b.length; + this.p(this.b, false); + this.b.set(this.b.subarray(-32768)); + this.b.set(chunk.subarray(split), 32768); + this.s.z = chunk.length - split + 32768; + this.s.i = 32766, this.s.w = 32768; + } + else { + this.b.set(chunk, this.s.z); + this.s.z += chunk.length; + } + this.s.l = final & 1; + if (this.s.z > this.s.w + 8191 || final) { + this.p(this.b, final || false); + this.s.w = this.s.i, this.s.i -= 2; + } + }; + /** + * Flushes buffered uncompressed data. Useful to immediately retrieve the + * deflated output for small inputs. + */ + Deflate.prototype.flush = function () { + if (!this.ondata) + err(5); + if (this.s.l) + err(4); + this.p(this.b, false); + this.s.w = this.s.i, this.s.i -= 2; }; return Deflate; }()))); @@ -14688,10 +14851,10 @@ var AsyncDeflate = /*#__PURE__*/ ((/* unused pure expression or super */ null && astrmify([ bDflt, function () { return [astrm, Deflate]; } - ], this, AsyncCmpStrm.call(this, opts, cb), function (ev) { + ], this, StrmOpt.call(this, opts, cb), function (ev) { var strm = new Deflate(ev.data); onmessage = astrm(strm); - }, 6); + }, 6, 1); } return AsyncDeflate; }()))); @@ -14700,7 +14863,7 @@ function deflate(data, opts, cb) { if (!cb) cb = opts, opts = {}; if (typeof cb != 'function') - throw 'no callback'; + err(7); return cbify(data, opts, [ bDflt, ], function (ev) { return pbf(deflateSync(ev.data[0], ev.data[1])); }, 0, cb); @@ -14712,38 +14875,43 @@ function deflate(data, opts, cb) { * @returns The deflated version of the data */ function deflateSync(data, opts) { - if (opts === void 0) { opts = {}; } - return dopt(data, opts, 0, 0); + return dopt(data, opts || {}, 0, 0); } /** * Streaming DEFLATE decompression */ var Inflate = /*#__PURE__*/ ((/* unused pure expression or super */ null && (function () { - /** - * Creates an inflation stream - * @param cb The callback to call whenever data is inflated - */ - function Inflate(cb) { - this.s = {}; - this.p = new u8(0); + function Inflate(opts, cb) { + // no StrmOpt here to avoid adding to workerizer + if (typeof opts == 'function') + cb = opts, opts = {}; this.ondata = cb; + var dict = opts && opts.dictionary && opts.dictionary.subarray(-32768); + this.s = { i: 0, b: dict ? dict.length : 0 }; + this.o = new u8(32768); + this.p = new u8(0); + if (dict) + this.o.set(dict); } Inflate.prototype.e = function (c) { - if (this.d) - throw 'stream finished'; if (!this.ondata) - throw 'no stream handler'; - var l = this.p.length; - var n = new u8(l + c.length); - n.set(this.p), n.set(c, l), this.p = n; + err(5); + if (this.d) + err(4); + if (!this.p.length) + this.p = c; + else if (c.length) { + var n = new u8(this.p.length + c.length); + n.set(this.p), n.set(c, this.p.length), this.p = n; + } }; Inflate.prototype.c = function (final) { - this.d = this.s.i = final || false; + this.s.i = +(this.d = final || false); var bts = this.s.b; - var dt = inflt(this.p, this.o, this.s); + var dt = inflt(this.p, this.s, this.o); this.ondata(slc(dt, bts, this.s.b), this.d); this.o = slc(dt, this.s.b - 32768), this.s.b = this.o.length; - this.p = slc(this.p, (this.s.p / 8) >> 0), this.s.p &= 7; + this.p = slc(this.p, (this.s.p / 8) | 0), this.s.p &= 7; }; /** * Pushes a chunk to be inflated @@ -14760,19 +14928,14 @@ var Inflate = /*#__PURE__*/ ((/* unused pure expression or super */ null && (fun * Asynchronous streaming DEFLATE decompression */ var AsyncInflate = /*#__PURE__*/ ((/* unused pure expression or super */ null && (function () { - /** - * Creates an asynchronous inflation stream - * @param cb The callback to call whenever data is deflated - */ - function AsyncInflate(cb) { - this.ondata = cb; + function AsyncInflate(opts, cb) { astrmify([ bInflt, function () { return [astrm, Inflate]; } - ], this, 0, function () { - var strm = new Inflate(); + ], this, StrmOpt.call(this, opts, cb), function (ev) { + var strm = new Inflate(ev.data); onmessage = astrm(strm); - }, 7); + }, 7, 0); } return AsyncInflate; }()))); @@ -14781,19 +14944,19 @@ function inflate(data, opts, cb) { if (!cb) cb = opts, opts = {}; if (typeof cb != 'function') - throw 'no callback'; + err(7); return cbify(data, opts, [ bInflt - ], function (ev) { return pbf(inflateSync(ev.data[0], gu8(ev.data[1]))); }, 1, cb); + ], function (ev) { return pbf(inflateSync(ev.data[0], gopt(ev.data[1]))); }, 1, cb); } /** * Expands DEFLATE data with no wrapper * @param data The data to decompress - * @param out Where to write the data. Saves memory if you know the decompressed size and provide an output buffer of that length. + * @param opts The decompression options * @returns The decompressed version of the data */ -function inflateSync(data, out) { - return inflt(data, out); +function inflateSync(data, opts) { + return inflt(data, { i: 2 }, opts && opts.out, opts && opts.dictionary); } // before you yell at me for not just using extends, my reason is that TS inheritance is hard to workerize. /** @@ -14812,18 +14975,25 @@ var Gzip = /*#__PURE__*/ ((/* unused pure expression or super */ null && (functi * @param final Whether this is the last chunk */ Gzip.prototype.push = function (chunk, final) { + this.c.p(chunk); + this.l += chunk.length; Deflate.prototype.push.call(this, chunk, final); }; Gzip.prototype.p = function (c, f) { - this.c.p(c); - this.l += c.length; - var raw = dopt(c, this.o, this.v && gzhl(this.o), f && 8, !f); + var raw = dopt(c, this.o, this.v && gzhl(this.o), f && 8, this.s); if (this.v) gzh(raw, this.o), this.v = 0; if (f) wbytes(raw, raw.length - 8, this.c.d()), wbytes(raw, raw.length - 4, this.l); this.ondata(raw, f); }; + /** + * Flushes buffered uncompressed data. Useful to immediately retrieve the + * GZIPped output for small inputs. + */ + Gzip.prototype.flush = function () { + Deflate.prototype.flush.call(this); + }; return Gzip; }()))); @@ -14836,10 +15006,10 @@ var AsyncGzip = /*#__PURE__*/ ((/* unused pure expression or super */ null && (f bDflt, gze, function () { return [astrm, Deflate, Gzip]; } - ], this, AsyncCmpStrm.call(this, opts, cb), function (ev) { + ], this, StrmOpt.call(this, opts, cb), function (ev) { var strm = new Gzip(ev.data); onmessage = astrm(strm); - }, 8); + }, 8, 1); } return AsyncGzip; }()))); @@ -14848,7 +15018,7 @@ function gzip(data, opts, cb) { if (!cb) cb = opts, opts = {}; if (typeof cb != 'function') - throw 'no callback'; + err(7); return cbify(data, opts, [ bDflt, gze, @@ -14862,23 +15032,21 @@ function gzip(data, opts, cb) { * @returns The gzipped version of the data */ function gzipSync(data, opts) { - if (opts === void 0) { opts = {}; } + if (!opts) + opts = {}; var c = crc(), l = data.length; c.p(data); var d = dopt(data, opts, gzhl(opts), 8), s = d.length; return gzh(d, opts), wbytes(d, s - 8, c.d()), wbytes(d, s - 4, l), d; } /** - * Streaming GZIP decompression + * Streaming single or multi-member GZIP decompression */ var Gunzip = /*#__PURE__*/ ((/* unused pure expression or super */ null && (function () { - /** - * Creates a GUNZIP stream - * @param cb The callback to call whenever data is inflated - */ - function Gunzip(cb) { + function Gunzip(opts, cb) { this.v = 1; - Inflate.call(this, cb); + this.r = 0; + Inflate.call(this, opts, cb); } /** * Pushes a chunk to be GUNZIPped @@ -14887,42 +15055,48 @@ var Gunzip = /*#__PURE__*/ ((/* unused pure expression or super */ null && (func */ Gunzip.prototype.push = function (chunk, final) { Inflate.prototype.e.call(this, chunk); + this.r += chunk.length; if (this.v) { - var s = gzs(this.p); - if (s >= this.p.length && !final) - return; - this.p = this.p.subarray(s), this.v = 0; - } - if (final) { - if (this.p.length < 8) - throw 'invalid gzip stream'; - this.p = this.p.subarray(0, -8); + var p = this.p.subarray(this.v - 1); + var s = p.length > 3 ? gzs(p) : 4; + if (s > p.length) { + if (!final) + return; + } + else if (this.v > 1 && this.onmember) { + this.onmember(this.r - p.length); + } + this.p = p.subarray(s), this.v = 0; } // necessary to prevent TS from using the closure value // This allows for workerization to function correctly Inflate.prototype.c.call(this, final); + // process concatenated GZIP + if (this.s.f && !this.s.l && !final) { + this.v = shft(this.s.p) + 9; + this.s = { i: 0 }; + this.o = new u8(0); + this.push(new u8(0), final); + } }; return Gunzip; }()))); /** - * Asynchronous streaming GZIP decompression + * Asynchronous streaming single or multi-member GZIP decompression */ var AsyncGunzip = /*#__PURE__*/ ((/* unused pure expression or super */ null && (function () { - /** - * Creates an asynchronous GUNZIP stream - * @param cb The callback to call whenever data is deflated - */ - function AsyncGunzip(cb) { - this.ondata = cb; + function AsyncGunzip(opts, cb) { + var _this = this; astrmify([ bInflt, guze, function () { return [astrm, Inflate, Gunzip]; } - ], this, 0, function () { - var strm = new Gunzip(); + ], this, StrmOpt.call(this, opts, cb), function (ev) { + var strm = new Gunzip(ev.data); + strm.onmember = function (offset) { return postMessage(offset); }; onmessage = astrm(strm); - }, 9); + }, 9, 0, function (offset) { return _this.onmember && _this.onmember(offset); }); } return AsyncGunzip; }()))); @@ -14931,21 +15105,24 @@ function gunzip(data, opts, cb) { if (!cb) cb = opts, opts = {}; if (typeof cb != 'function') - throw 'no callback'; + err(7); return cbify(data, opts, [ bInflt, guze, function () { return [gunzipSync]; } - ], function (ev) { return pbf(gunzipSync(ev.data[0])); }, 3, cb); + ], function (ev) { return pbf(gunzipSync(ev.data[0], ev.data[1])); }, 3, cb); } /** * Expands GZIP data * @param data The data to decompress - * @param out Where to write the data. GZIP already encodes the output size, so providing this doesn't save memory. + * @param opts The decompression options * @returns The decompressed version of the data */ -function gunzipSync(data, out) { - return inflt(data.subarray(gzs(data), -8), out || new u8(gzl(data))); +function gunzipSync(data, opts) { + var st = gzs(data); + if (st + 8 > data.length) + err(6, 'invalid gzip data'); + return inflt(data.subarray(st, -8), { i: 2 }, opts && opts.out || new u8(gzl(data)), opts && opts.dictionary); } /** * Streaming Zlib compression @@ -14962,17 +15139,24 @@ var Zlib = /*#__PURE__*/ ((/* unused pure expression or super */ null && (functi * @param final Whether this is the last chunk */ Zlib.prototype.push = function (chunk, final) { + this.c.p(chunk); Deflate.prototype.push.call(this, chunk, final); }; Zlib.prototype.p = function (c, f) { - this.c.p(c); - var raw = dopt(c, this.o, this.v && 2, f && 4, !f); + var raw = dopt(c, this.o, this.v && (this.o.dictionary ? 6 : 2), f && 4, this.s); if (this.v) zlh(raw, this.o), this.v = 0; if (f) wbytes(raw, raw.length - 4, this.c.d()); this.ondata(raw, f); }; + /** + * Flushes buffered uncompressed data. Useful to immediately retrieve the + * zlibbed output for small inputs. + */ + Zlib.prototype.flush = function () { + Deflate.prototype.flush.call(this); + }; return Zlib; }()))); @@ -14985,10 +15169,10 @@ var AsyncZlib = /*#__PURE__*/ ((/* unused pure expression or super */ null && (f bDflt, zle, function () { return [astrm, Deflate, Zlib]; } - ], this, AsyncCmpStrm.call(this, opts, cb), function (ev) { + ], this, StrmOpt.call(this, opts, cb), function (ev) { var strm = new Zlib(ev.data); onmessage = astrm(strm); - }, 10); + }, 10, 1); } return AsyncZlib; }()))); @@ -14997,7 +15181,7 @@ function zlib(data, opts, cb) { if (!cb) cb = opts, opts = {}; if (typeof cb != 'function') - throw 'no callback'; + err(7); return cbify(data, opts, [ bDflt, zle, @@ -15011,23 +15195,20 @@ function zlib(data, opts, cb) { * @returns The zlib-compressed version of the data */ function zlibSync(data, opts) { - if (opts === void 0) { opts = {}; } + if (!opts) + opts = {}; var a = adler(); a.p(data); - var d = dopt(data, opts, 2, 4); + var d = dopt(data, opts, opts.dictionary ? 6 : 2, 4); return zlh(d, opts), wbytes(d, d.length - 4, a.d()), d; } /** * Streaming Zlib decompression */ var Unzlib = /*#__PURE__*/ ((/* unused pure expression or super */ null && (function () { - /** - * Creates a Zlib decompression stream - * @param cb The callback to call whenever data is inflated - */ - function Unzlib(cb) { - this.v = 1; - Inflate.call(this, cb); + function Unzlib(opts, cb) { + Inflate.call(this, opts, cb); + this.v = opts && opts.dictionary ? 2 : 1; } /** * Pushes a chunk to be unzlibbed @@ -15037,13 +15218,13 @@ var Unzlib = /*#__PURE__*/ ((/* unused pure expression or super */ null && (func Unzlib.prototype.push = function (chunk, final) { Inflate.prototype.e.call(this, chunk); if (this.v) { - if (this.p.length < 2 && !final) + if (this.p.length < 6 && !final) return; - this.p = this.p.subarray(2), this.v = 0; + this.p = this.p.subarray(zls(this.p, this.v - 1)), this.v = 0; } if (final) { if (this.p.length < 4) - throw 'invalid zlib stream'; + err(6, 'invalid zlib data'); this.p = this.p.subarray(0, -4); } // necessary to prevent TS from using the closure value @@ -15057,20 +15238,15 @@ var Unzlib = /*#__PURE__*/ ((/* unused pure expression or super */ null && (func * Asynchronous streaming Zlib decompression */ var AsyncUnzlib = /*#__PURE__*/ ((/* unused pure expression or super */ null && (function () { - /** - * Creates an asynchronous Zlib decompression stream - * @param cb The callback to call whenever data is deflated - */ - function AsyncUnzlib(cb) { - this.ondata = cb; + function AsyncUnzlib(opts, cb) { astrmify([ bInflt, zule, function () { return [astrm, Inflate, Unzlib]; } - ], this, 0, function () { - var strm = new Unzlib(); + ], this, StrmOpt.call(this, opts, cb), function (ev) { + var strm = new Unzlib(ev.data); onmessage = astrm(strm); - }, 11); + }, 11, 0); } return AsyncUnzlib; }()))); @@ -15079,40 +15255,43 @@ function unzlib(data, opts, cb) { if (!cb) cb = opts, opts = {}; if (typeof cb != 'function') - throw 'no callback'; + err(7); return cbify(data, opts, [ bInflt, zule, function () { return [unzlibSync]; } - ], function (ev) { return pbf(unzlibSync(ev.data[0], gu8(ev.data[1]))); }, 5, cb); + ], function (ev) { return pbf(unzlibSync(ev.data[0], gopt(ev.data[1]))); }, 5, cb); } /** * Expands Zlib data * @param data The data to decompress - * @param out Where to write the data. Saves memory if you know the decompressed size and provide an output buffer of that length. + * @param opts The decompression options * @returns The decompressed version of the data */ -function unzlibSync(data, out) { - return inflt((zlv(data), data.subarray(2, -4)), out); +function unzlibSync(data, opts) { + return inflt(data.subarray(zls(data, opts && opts.dictionary), -4), { i: 2 }, opts && opts.out, opts && opts.dictionary); } // Default algorithm for compression (used because having a known output size allows faster decompression) -// Default algorithm for compression (used because having a known output size allows faster decompression) /** * Streaming GZIP, Zlib, or raw DEFLATE decompression */ var Decompress = /*#__PURE__*/ ((/* unused pure expression or super */ null && (function () { - /** - * Creates a decompression stream - * @param cb The callback to call whenever data is decompressed - */ - function Decompress(cb) { + function Decompress(opts, cb) { + this.o = StrmOpt.call(this, opts, cb) || {}; this.G = Gunzip; this.I = Inflate; this.Z = Unzlib; - this.ondata = cb; } + // init substream + // overriden by AsyncDecompress + Decompress.prototype.i = function () { + var _this = this; + this.s.ondata = function (dat, final) { + _this.ondata(dat, final); + }; + }; /** * Pushes a chunk to be decompressed * @param chunk The chunk to push @@ -15120,7 +15299,7 @@ var Decompress = /*#__PURE__*/ ((/* unused pure expression or super */ null && ( */ Decompress.prototype.push = function (chunk, final) { if (!this.ondata) - throw 'no stream handler'; + err(5); if (!this.s) { if (this.p && this.p.length) { var n = new u8(this.p.length + chunk.length); @@ -15129,13 +15308,12 @@ var Decompress = /*#__PURE__*/ ((/* unused pure expression or super */ null && ( else this.p = chunk; if (this.p.length > 2) { - var _this_1 = this; - var cb = function () { _this_1.ondata.apply(_this_1, arguments); }; this.s = (this.p[0] == 31 && this.p[1] == 139 && this.p[2] == 8) - ? new this.G(cb) + ? new this.G(this.o) : ((this.p[0] & 15) != 8 || (this.p[0] >> 4) > 7 || ((this.p[0] << 8 | this.p[1]) % 31)) - ? new this.I(cb) - : new this.Z(cb); + ? new this.I(this.o) + : new this.Z(this.o); + this.i(); this.s.push(this.p, final); this.p = null; } @@ -15150,22 +15328,31 @@ var Decompress = /*#__PURE__*/ ((/* unused pure expression or super */ null && ( * Asynchronous streaming GZIP, Zlib, or raw DEFLATE decompression */ var AsyncDecompress = /*#__PURE__*/ ((/* unused pure expression or super */ null && (function () { - /** - * Creates an asynchronous decompression stream - * @param cb The callback to call whenever data is decompressed - */ - function AsyncDecompress(cb) { + function AsyncDecompress(opts, cb) { + Decompress.call(this, opts, cb); + this.queuedSize = 0; this.G = AsyncGunzip; this.I = AsyncInflate; this.Z = AsyncUnzlib; - this.ondata = cb; } + AsyncDecompress.prototype.i = function () { + var _this = this; + this.s.ondata = function (err, dat, final) { + _this.ondata(err, dat, final); + }; + this.s.ondrain = function (size) { + _this.queuedSize -= size; + if (_this.ondrain) + _this.ondrain(size); + }; + }; /** * Pushes a chunk to be decompressed * @param chunk The chunk to push * @param final Whether this is the last chunk */ AsyncDecompress.prototype.push = function (chunk, final) { + this.queuedSize += chunk.length; Decompress.prototype.push.call(this, chunk, final); }; return AsyncDecompress; @@ -15175,7 +15362,7 @@ function decompress(data, opts, cb) { if (!cb) cb = opts, opts = {}; if (typeof cb != 'function') - throw 'no callback'; + err(7); return (data[0] == 31 && data[1] == 139 && data[2] == 8) ? gunzip(data, opts, cb) : ((data[0] & 15) != 8 || (data[0] >> 4) > 7 || ((data[0] << 8 | data[1]) % 31)) @@ -15185,28 +15372,137 @@ function decompress(data, opts, cb) { /** * Expands compressed GZIP, Zlib, or raw DEFLATE data, automatically detecting the format * @param data The data to decompress - * @param out Where to write the data. Saves memory if you know the decompressed size and provide an output buffer of that length. + * @param opts The decompression options * @returns The decompressed version of the data */ -function decompressSync(data, out) { +function decompressSync(data, opts) { return (data[0] == 31 && data[1] == 139 && data[2] == 8) - ? gunzipSync(data, out) + ? gunzipSync(data, opts) : ((data[0] & 15) != 8 || (data[0] >> 4) > 7 || ((data[0] << 8 | data[1]) % 31)) - ? inflateSync(data, out) - : unzlibSync(data, out); + ? inflateSync(data, opts) + : unzlibSync(data, opts); } // flatten a directory structure var fltn = function (d, p, t, o) { for (var k in d) { - var val = d[k], n = p + k; + var val = d[k], n = p + k, op = o; + if (Array.isArray(val)) + op = mrg(o, val[1]), val = val[0]; if (val instanceof u8) - t[n] = [val, o]; - else if (Array.isArray(val)) - t[n] = [val[0], mrg(o, val[1])]; + t[n] = [val, op]; + else { + t[n += '/'] = [new u8(0), op]; + fltn(val, n, t, o); + } + } +}; +// text encoder +var te = typeof TextEncoder != 'undefined' && /*#__PURE__*/ new TextEncoder(); +// text decoder +var td = typeof TextDecoder != 'undefined' && /*#__PURE__*/ new TextDecoder(); +// text decoder stream +var tds = 0; +try { + td.decode(et, { stream: true }); + tds = 1; +} +catch (e) { } +// decode UTF8 +var dutf8 = function (d) { + for (var r = '', i = 0;;) { + var c = d[i++]; + var eb = (c > 127) + (c > 223) + (c > 239); + if (i + eb > d.length) + return { s: r, r: slc(d, i - 1) }; + if (!eb) + r += String.fromCharCode(c); + else if (eb == 3) { + c = ((c & 15) << 18 | (d[i++] & 63) << 12 | (d[i++] & 63) << 6 | (d[i++] & 63)) - 65536, + r += String.fromCharCode(55296 | (c >> 10), 56320 | (c & 1023)); + } + else if (eb & 1) + r += String.fromCharCode((c & 31) << 6 | (d[i++] & 63)); else - fltn(val, n + '/', t, o); + r += String.fromCharCode((c & 15) << 12 | (d[i++] & 63) << 6 | (d[i++] & 63)); } }; +/** + * Streaming UTF-8 decoding + */ +var DecodeUTF8 = /*#__PURE__*/ ((/* unused pure expression or super */ null && (function () { + /** + * Creates a UTF-8 decoding stream + * @param cb The callback to call whenever data is decoded + */ + function DecodeUTF8(cb) { + this.ondata = cb; + if (tds) + this.t = new TextDecoder(); + else + this.p = et; + } + /** + * Pushes a chunk to be decoded from UTF-8 binary + * @param chunk The chunk to push + * @param final Whether this is the last chunk + */ + DecodeUTF8.prototype.push = function (chunk, final) { + if (!this.ondata) + err(5); + final = !!final; + if (this.t) { + this.ondata(this.t.decode(chunk, { stream: true }), final); + if (final) { + if (this.t.decode().length) + err(8); + this.t = null; + } + return; + } + if (!this.p) + err(4); + var dat = new u8(this.p.length + chunk.length); + dat.set(this.p); + dat.set(chunk, this.p.length); + var _a = dutf8(dat), s = _a.s, r = _a.r; + if (final) { + if (r.length) + err(8); + this.p = null; + } + else + this.p = r; + this.ondata(s, final); + }; + return DecodeUTF8; +}()))); + +/** + * Streaming UTF-8 encoding + */ +var EncodeUTF8 = /*#__PURE__*/ ((/* unused pure expression or super */ null && (function () { + /** + * Creates a UTF-8 decoding stream + * @param cb The callback to call whenever data is encoded + */ + function EncodeUTF8(cb) { + this.ondata = cb; + } + /** + * Pushes a chunk to be encoded to UTF-8 + * @param chunk The string data to push + * @param final Whether this is the last chunk + */ + EncodeUTF8.prototype.push = function (chunk, final) { + if (!this.ondata) + err(5); + if (this.d) + err(4); + this.ondata(strToU8(chunk), this.d = final || false); + }; + return EncodeUTF8; +}()))); + /** * Converts a string into a Uint8Array for use with compression/decompression methods * @param str The string to encode @@ -15215,10 +15511,16 @@ var fltn = function (d, p, t, o) { * @returns The string encoded in UTF-8/Latin-1 binary */ function strToU8(str, latin1) { + if (latin1) { + var ar_1 = new u8(str.length); + for (var i = 0; i < str.length; ++i) + ar_1[i] = str.charCodeAt(i); + return ar_1; + } + if (te) + return te.encode(str); var l = str.length; - if (!latin1 && typeof TextEncoder != 'undefined') - return new TextEncoder().encode(str); - var ar = new u8(str.length + (str.length >>> 1)); + var ar = new u8(str.length + (str.length >> 1)); var ai = 0; var w = function (v) { ar[ai++] = v; }; for (var i = 0; i < l; ++i) { @@ -15231,12 +15533,12 @@ function strToU8(str, latin1) { if (c < 128 || latin1) w(c); else if (c < 2048) - w(192 | (c >>> 6)), w(128 | (c & 63)); + w(192 | (c >> 6)), w(128 | (c & 63)); else if (c > 55295 && c < 57344) c = 65536 + (c & 1023 << 10) | (str.charCodeAt(++i) & 1023), - w(240 | (c >>> 18)), w(128 | ((c >>> 12) & 63)), w(128 | ((c >>> 6) & 63)), w(128 | (c & 63)); + w(240 | (c >> 18)), w(128 | ((c >> 12) & 63)), w(128 | ((c >> 6) & 63)), w(128 | (c & 63)); else - w(224 | (c >>> 12)), w(128 | ((c >>> 6) & 63)), w(128 | (c & 63)); + w(224 | (c >> 12)), w(128 | ((c >> 6) & 63)), w(128 | (c & 63)); } return slc(ar, 0, ai); } @@ -15248,62 +15550,91 @@ function strToU8(str, latin1) { * @returns The original UTF-8/Latin-1 string */ function strFromU8(dat, latin1) { - var r = ''; - if (!latin1 && typeof TextDecoder != 'undefined') - return new TextDecoder().decode(dat); - for (var i = 0; i < dat.length;) { - var c = dat[i++]; - if (c < 128 || latin1) - r += String.fromCharCode(c); - else if (c < 224) - r += String.fromCharCode((c & 31) << 6 | (dat[i++] & 63)); - else if (c < 240) - r += String.fromCharCode((c & 15) << 12 | (dat[i++] & 63) << 6 | (dat[i++] & 63)); - else - c = ((c & 15) << 18 | (dat[i++] & 63) << 12 | (dat[i++] & 63) << 6 | (dat[i++] & 63)) - 65536, - r += String.fromCharCode(55296 | (c >> 10), 56320 | (c & 1023)); + if (latin1) { + var r = ''; + for (var i = 0; i < dat.length; i += 16384) + r += String.fromCharCode.apply(null, dat.subarray(i, i + 16384)); + return r; + } + else if (td) { + return td.decode(dat); + } + else { + var _a = dutf8(dat), s = _a.s, r = _a.r; + if (r.length) + err(8); + return s; } - return r; } ; +// deflate bit flag +var dbf = function (l) { return l == 1 ? 3 : l < 6 ? 2 : l == 9 ? 1 : 0; }; // skip local zip header var slzh = function (d, b) { return b + 30 + b2(d, b + 26) + b2(d, b + 28); }; // read zip header var zh = function (d, b, z) { - var fnl = b2(d, b + 28), fn = strFromU8(d.subarray(b + 46, b + 46 + fnl), !(b2(d, b + 8) & 2048)), es = b + 46 + fnl; - var _a = z ? z64e(d, es) : [b4(d, b + 20), b4(d, b + 24), b4(d, b + 42)], sc = _a[0], su = _a[1], off = _a[2]; + var fnl = b2(d, b + 28), fn = strFromU8(d.subarray(b + 46, b + 46 + fnl), !(b2(d, b + 8) & 2048)), es = b + 46 + fnl, bs = b4(d, b + 20); + var _a = z && bs == 4294967295 ? z64e(d, es) : [bs, b4(d, b + 24), b4(d, b + 42)], sc = _a[0], su = _a[1], off = _a[2]; return [b2(d, b + 10), sc, su, fn, es + b2(d, b + 30) + b2(d, b + 32), off]; }; // read zip64 extra field var z64e = function (d, b) { for (; b2(d, b) != 1; b += 4 + b2(d, b + 2)) ; - return [b4(d, b + 12), b4(d, b + 4), b4(d, b + 20)]; + return [b8(d, b + 12), b8(d, b + 4), b8(d, b + 20)]; +}; +// extra field length +var exfl = function (ex) { + var le = 0; + if (ex) { + for (var k in ex) { + var l = ex[k].length; + if (l > 65535) + err(9); + le += l + 4; + } + } + return le; }; // write zip header -var wzh = function (d, b, c, cmp, su, fn, u, o, ce, t) { - var fl = fn.length, l = cmp.length; +var wzh = function (d, b, f, fn, u, c, ce, co) { + var fl = fn.length, ex = f.extra, col = co && co.length; + var exl = exfl(ex); wbytes(d, b, ce != null ? 0x2014B50 : 0x4034B50), b += 4; if (ce != null) - d[b] = 20, b += 2; + d[b++] = 20, d[b++] = f.os; d[b] = 20, b += 2; // spec compliance? what's that? - d[b++] = (t == 8 && (o.level == 1 ? 6 : o.level < 6 ? 4 : o.level == 9 ? 2 : 0)), d[b++] = u && 8; - d[b] = t, b += 2; - var dt = new Date(o.mtime || Date.now()), y = dt.getFullYear() - 1980; + d[b++] = (f.flag << 1) | (c < 0 && 8), d[b++] = u && 8; + d[b++] = f.compression & 255, d[b++] = f.compression >> 8; + var dt = new Date(f.mtime == null ? Date.now() : f.mtime), y = dt.getFullYear() - 1980; if (y < 0 || y > 119) - throw 'date not in range 1980-2099'; - wbytes(d, b, ((y << 24) * 2) | ((dt.getMonth() + 1) << 21) | (dt.getDate() << 16) | (dt.getHours() << 11) | (dt.getMinutes() << 5) | (dt.getSeconds() >>> 1)); - b += 4; - wbytes(d, b, c); - wbytes(d, b + 4, l); - wbytes(d, b + 8, su); - wbytes(d, b + 12, fl), b += 16; // skip extra field, comment - if (ce != null) - wbytes(d, b += 10, ce), b += 4; + err(10); + wbytes(d, b, (y << 25) | ((dt.getMonth() + 1) << 21) | (dt.getDate() << 16) | (dt.getHours() << 11) | (dt.getMinutes() << 5) | (dt.getSeconds() >> 1)), b += 4; + if (c != -1) { + wbytes(d, b, f.crc); + wbytes(d, b + 4, c < 0 ? -c - 2 : c); + wbytes(d, b + 8, f.size); + } + wbytes(d, b + 12, fl); + wbytes(d, b + 14, exl), b += 16; + if (ce != null) { + wbytes(d, b, col); + wbytes(d, b + 6, f.attrs); + wbytes(d, b + 10, ce), b += 14; + } d.set(fn, b); b += fl; - if (ce == null) - d.set(cmp, b); + if (exl) { + for (var k in ex) { + var exf = ex[k], l = exf.length; + wbytes(d, b, +k); + wbytes(d, b + 2, l); + d.set(exf, b + 4), b += 4 + l; + } + } + if (col) + d.set(co, b), b += col; + return b; }; // write zip footer (end of central directory) var wzf = function (o, b, c, d, e) { @@ -15313,11 +15644,280 @@ var wzf = function (o, b, c, d, e) { wbytes(o, b + 12, d); wbytes(o, b + 16, e); }; +/** + * A pass-through stream to keep data uncompressed in a ZIP archive. + */ +var ZipPassThrough = /*#__PURE__*/ ((/* unused pure expression or super */ null && (function () { + /** + * Creates a pass-through stream that can be added to ZIP archives + * @param filename The filename to associate with this data stream + */ + function ZipPassThrough(filename) { + this.filename = filename; + this.c = crc(); + this.size = 0; + this.compression = 0; + } + /** + * Processes a chunk and pushes to the output stream. You can override this + * method in a subclass for custom behavior, but by default this passes + * the data through. You must call this.ondata(err, chunk, final) at some + * point in this method. + * @param chunk The chunk to process + * @param final Whether this is the last chunk + */ + ZipPassThrough.prototype.process = function (chunk, final) { + this.ondata(null, chunk, final); + }; + /** + * Pushes a chunk to be added. If you are subclassing this with a custom + * compression algorithm, note that you must push data from the source + * file only, pre-compression. + * @param chunk The chunk to push + * @param final Whether this is the last chunk + */ + ZipPassThrough.prototype.push = function (chunk, final) { + if (!this.ondata) + err(5); + this.c.p(chunk); + this.size += chunk.length; + if (final) + this.crc = this.c.d(); + this.process(chunk, final || false); + }; + return ZipPassThrough; +}()))); + +// I don't extend because TypeScript extension adds 1kB of runtime bloat +/** + * Streaming DEFLATE compression for ZIP archives. Prefer using AsyncZipDeflate + * for better performance + */ +var ZipDeflate = /*#__PURE__*/ ((/* unused pure expression or super */ null && (function () { + /** + * Creates a DEFLATE stream that can be added to ZIP archives + * @param filename The filename to associate with this data stream + * @param opts The compression options + */ + function ZipDeflate(filename, opts) { + var _this = this; + if (!opts) + opts = {}; + ZipPassThrough.call(this, filename); + this.d = new Deflate(opts, function (dat, final) { + _this.ondata(null, dat, final); + }); + this.compression = 8; + this.flag = dbf(opts.level); + } + ZipDeflate.prototype.process = function (chunk, final) { + try { + this.d.push(chunk, final); + } + catch (e) { + this.ondata(e, null, final); + } + }; + /** + * Pushes a chunk to be deflated + * @param chunk The chunk to push + * @param final Whether this is the last chunk + */ + ZipDeflate.prototype.push = function (chunk, final) { + ZipPassThrough.prototype.push.call(this, chunk, final); + }; + return ZipDeflate; +}()))); + +/** + * Asynchronous streaming DEFLATE compression for ZIP archives + */ +var AsyncZipDeflate = /*#__PURE__*/ ((/* unused pure expression or super */ null && (function () { + /** + * Creates an asynchronous DEFLATE stream that can be added to ZIP archives + * @param filename The filename to associate with this data stream + * @param opts The compression options + */ + function AsyncZipDeflate(filename, opts) { + var _this = this; + if (!opts) + opts = {}; + ZipPassThrough.call(this, filename); + this.d = new AsyncDeflate(opts, function (err, dat, final) { + _this.ondata(err, dat, final); + }); + this.compression = 8; + this.flag = dbf(opts.level); + this.terminate = this.d.terminate; + } + AsyncZipDeflate.prototype.process = function (chunk, final) { + this.d.push(chunk, final); + }; + /** + * Pushes a chunk to be deflated + * @param chunk The chunk to push + * @param final Whether this is the last chunk + */ + AsyncZipDeflate.prototype.push = function (chunk, final) { + ZipPassThrough.prototype.push.call(this, chunk, final); + }; + return AsyncZipDeflate; +}()))); + +// TODO: Better tree shaking +/** + * A zippable archive to which files can incrementally be added + */ +var Zip = /*#__PURE__*/ ((/* unused pure expression or super */ null && (function () { + /** + * Creates an empty ZIP archive to which files can be added + * @param cb The callback to call whenever data for the generated ZIP archive + * is available + */ + function Zip(cb) { + this.ondata = cb; + this.u = []; + this.d = 1; + } + /** + * Adds a file to the ZIP archive + * @param file The file stream to add + */ + Zip.prototype.add = function (file) { + var _this = this; + if (!this.ondata) + err(5); + // finishing or finished + if (this.d & 2) + this.ondata(err(4 + (this.d & 1) * 8, 0, 1), null, false); + else { + var f = strToU8(file.filename), fl_1 = f.length; + var com = file.comment, o = com && strToU8(com); + var u = fl_1 != file.filename.length || (o && (com.length != o.length)); + var hl_1 = fl_1 + exfl(file.extra) + 30; + if (fl_1 > 65535) + this.ondata(err(11, 0, 1), null, false); + var header = new u8(hl_1); + wzh(header, 0, file, f, u, -1); + var chks_1 = [header]; + var pAll_1 = function () { + for (var _i = 0, chks_2 = chks_1; _i < chks_2.length; _i++) { + var chk = chks_2[_i]; + _this.ondata(null, chk, false); + } + chks_1 = []; + }; + var tr_1 = this.d; + this.d = 0; + var ind_1 = this.u.length; + var uf_1 = mrg(file, { + f: f, + u: u, + o: o, + t: function () { + if (file.terminate) + file.terminate(); + }, + r: function () { + pAll_1(); + if (tr_1) { + var nxt = _this.u[ind_1 + 1]; + if (nxt) + nxt.r(); + else + _this.d = 1; + } + tr_1 = 1; + } + }); + var cl_1 = 0; + file.ondata = function (err, dat, final) { + if (err) { + _this.ondata(err, dat, final); + _this.terminate(); + } + else { + cl_1 += dat.length; + chks_1.push(dat); + if (final) { + var dd = new u8(16); + wbytes(dd, 0, 0x8074B50); + wbytes(dd, 4, file.crc); + wbytes(dd, 8, cl_1); + wbytes(dd, 12, file.size); + chks_1.push(dd); + uf_1.c = cl_1, uf_1.b = hl_1 + cl_1 + 16, uf_1.crc = file.crc, uf_1.size = file.size; + if (tr_1) + uf_1.r(); + tr_1 = 1; + } + else if (tr_1) + pAll_1(); + } + }; + this.u.push(uf_1); + } + }; + /** + * Ends the process of adding files and prepares to emit the final chunks. + * This *must* be called after adding all desired files for the resulting + * ZIP file to work properly. + */ + Zip.prototype.end = function () { + var _this = this; + if (this.d & 2) { + this.ondata(err(4 + (this.d & 1) * 8, 0, 1), null, true); + return; + } + if (this.d) + this.e(); + else + this.u.push({ + r: function () { + if (!(_this.d & 1)) + return; + _this.u.splice(-1, 1); + _this.e(); + }, + t: function () { } + }); + this.d = 3; + }; + Zip.prototype.e = function () { + var bt = 0, l = 0, tl = 0; + for (var _i = 0, _a = this.u; _i < _a.length; _i++) { + var f = _a[_i]; + tl += 46 + f.f.length + exfl(f.extra) + (f.o ? f.o.length : 0); + } + var out = new u8(tl + 22); + for (var _b = 0, _c = this.u; _b < _c.length; _b++) { + var f = _c[_b]; + wzh(out, bt, f, f.f, f.u, -f.c - 2, l, f.o); + bt += 46 + f.f.length + exfl(f.extra) + (f.o ? f.o.length : 0), l += f.b; + } + wzf(out, bt, this.u.length, tl, l); + this.ondata(null, out, true); + this.d = 2; + }; + /** + * A method to terminate any internal workers used by the stream. Subsequent + * calls to add() will fail. + */ + Zip.prototype.terminate = function () { + for (var _i = 0, _a = this.u; _i < _a.length; _i++) { + var f = _a[_i]; + f.t(); + } + this.d = 2; + }; + return Zip; +}()))); + function zip(data, opts, cb) { if (!cb) cb = opts, opts = {}; if (typeof cb != 'function') - throw 'no callback'; + err(7); var r = {}; fltn(data, '', r, opts); var k = Object.keys(r); @@ -15328,58 +15928,68 @@ function zip(data, opts, cb) { for (var i = 0; i < term.length; ++i) term[i](); }; + var cbd = function (a, b) { + mt(function () { cb(a, b); }); + }; + mt(function () { cbd = cb; }); var cbf = function () { var out = new u8(tot + 22), oe = o, cdl = tot - o; tot = 0; for (var i = 0; i < slft; ++i) { var f = files[i]; try { - wzh(out, tot, f.c, f.d, f.m, f.n, f.u, f.p, null, f.t); - wzh(out, o, f.c, f.d, f.m, f.n, f.u, f.p, tot, f.t), o += 46 + f.n.length, tot += 30 + f.n.length + f.d.length; + var l = f.c.length; + wzh(out, tot, f, f.f, f.u, l); + var badd = 30 + f.f.length + exfl(f.extra); + var loc = tot + badd; + out.set(f.c, loc); + wzh(out, o, f, f.f, f.u, l, tot, f.m), o += 16 + badd + (f.m ? f.m.length : 0), tot = loc + l; } catch (e) { - return cb(e, null); + return cbd(e, null); } } wzf(out, o, files.length, cdl, oe); - cb(null, out); + cbd(null, out); }; if (!lft) cbf(); var _loop_1 = function (i) { var fn = k[i]; var _a = r[fn], file = _a[0], p = _a[1]; - var c = crc(), m = file.length; + var c = crc(), size = file.length; c.p(file); - var n = strToU8(fn), s = n.length; - var t = p.level == 0 ? 0 : 8; + var f = strToU8(fn), s = f.length; + var com = p.comment, m = com && strToU8(com), ms = m && m.length; + var exl = exfl(p.extra); + var compression = p.level == 0 ? 0 : 8; var cbl = function (e, d) { if (e) { tAll(); - cb(e, null); + cbd(e, null); } else { var l = d.length; - files[i] = { - t: t, - d: d, + files[i] = mrg(p, { + size: size, + crc: c.d(), + c: d, + f: f, m: m, - c: c.d(), - u: fn.length != l, - n: n, - p: p - }; - o += 30 + s + l; - tot += 76 + 2 * s + l; + u: s != fn.length || (m && (com.length != ms)), + compression: compression + }); + o += 30 + s + exl + l; + tot += 76 + 2 * (s + exl) + (ms || 0) + l; if (!--lft) cbf(); } }; - if (n.length > 65535) - cbl('filename too long', null); - if (!t) + if (s > 65535) + cbl(err(11, 0, 1), null); + if (!compression) cbl(null, file); - else if (m < 160000) { + else if (size < 160000) { try { cbl(null, deflateSync(file, p)); } @@ -15404,7 +16014,8 @@ function zip(data, opts, cb) { * @returns The generated ZIP archive */ function zipSync(data, opts) { - if (opts === void 0) { opts = {}; } + if (!opts) + opts = {}; var r = {}; var files = []; fltn(data, '', r, opts); @@ -15412,152 +16023,404 @@ function zipSync(data, opts) { var tot = 0; for (var fn in r) { var _a = r[fn], file = _a[0], p = _a[1]; - var t = p.level == 0 ? 0 : 8; - var n = strToU8(fn), s = n.length; - if (n.length > 65535) - throw 'filename too long'; - var d = t ? deflateSync(file, p) : file, l = d.length; + var compression = p.level == 0 ? 0 : 8; + var f = strToU8(fn), s = f.length; + var com = p.comment, m = com && strToU8(com), ms = m && m.length; + var exl = exfl(p.extra); + if (s > 65535) + err(11); + var d = compression ? deflateSync(file, p) : file, l = d.length; var c = crc(); c.p(file); - files.push({ - t: t, - d: d, - m: file.length, - c: c.d(), - u: fn.length != s, - n: n, + files.push(mrg(p, { + size: file.length, + crc: c.d(), + c: d, + f: f, + m: m, + u: s != fn.length || (m && (com.length != ms)), o: o, - p: p - }); - o += 30 + s + l; - tot += 76 + 2 * s + l; + compression: compression + })); + o += 30 + s + exl + l; + tot += 76 + 2 * (s + exl) + (ms || 0) + l; } var out = new u8(tot + 22), oe = o, cdl = tot - o; for (var i = 0; i < files.length; ++i) { var f = files[i]; - wzh(out, f.o, f.c, f.d, f.m, f.n, f.u, f.p, null, f.t); - wzh(out, o, f.c, f.d, f.m, f.n, f.u, f.p, f.o, f.t), o += 46 + f.n.length; + wzh(out, f.o, f, f.f, f.u, f.c.length); + var badd = 30 + f.f.length + exfl(f.extra); + out.set(f.c, f.o + badd); + wzh(out, o, f, f.f, f.u, f.c.length, f.o, f.m), o += 16 + badd + (f.m ? f.m.length : 0); } wzf(out, o, files.length, cdl, oe); return out; } /** - * Asynchronously decompresses a ZIP archive - * @param data The raw compressed ZIP file - * @param cb The callback to call with the decompressed files - * @returns A function that can be used to immediately terminate the unzipping + * Streaming pass-through decompression for ZIP archives + */ +var UnzipPassThrough = /*#__PURE__*/ ((/* unused pure expression or super */ null && (function () { + function UnzipPassThrough() { + } + UnzipPassThrough.prototype.push = function (data, final) { + this.ondata(null, data, final); + }; + UnzipPassThrough.compression = 0; + return UnzipPassThrough; +}()))); + +/** + * Streaming DEFLATE decompression for ZIP archives. Prefer AsyncZipInflate for + * better performance. + */ +var UnzipInflate = /*#__PURE__*/ ((/* unused pure expression or super */ null && (function () { + /** + * Creates a DEFLATE decompression that can be used in ZIP archives + */ + function UnzipInflate() { + var _this = this; + this.i = new Inflate(function (dat, final) { + _this.ondata(null, dat, final); + }); + } + UnzipInflate.prototype.push = function (data, final) { + try { + this.i.push(data, final); + } + catch (e) { + this.ondata(e, null, final); + } + }; + UnzipInflate.compression = 8; + return UnzipInflate; +}()))); + +/** + * Asynchronous streaming DEFLATE decompression for ZIP archives + */ +var AsyncUnzipInflate = /*#__PURE__*/ ((/* unused pure expression or super */ null && (function () { + /** + * Creates a DEFLATE decompression that can be used in ZIP archives + */ + function AsyncUnzipInflate(_, sz) { + var _this = this; + if (sz < 320000) { + this.i = new Inflate(function (dat, final) { + _this.ondata(null, dat, final); + }); + } + else { + this.i = new AsyncInflate(function (err, dat, final) { + _this.ondata(err, dat, final); + }); + this.terminate = this.i.terminate; + } + } + AsyncUnzipInflate.prototype.push = function (data, final) { + if (this.i.terminate) + data = slc(data, 0); + this.i.push(data, final); + }; + AsyncUnzipInflate.compression = 8; + return AsyncUnzipInflate; +}()))); + +/** + * A ZIP archive decompression stream that emits files as they are discovered */ -function unzip(data, cb) { +var Unzip = /*#__PURE__*/ ((/* unused pure expression or super */ null && (function () { + /** + * Creates a ZIP decompression stream + * @param cb The callback to call whenever a file in the ZIP archive is found + */ + function Unzip(cb) { + this.onfile = cb; + this.k = []; + this.o = { + 0: UnzipPassThrough + }; + this.p = et; + } + /** + * Pushes a chunk to be unzipped + * @param chunk The chunk to push + * @param final Whether this is the last chunk + */ + Unzip.prototype.push = function (chunk, final) { + var _this = this; + if (!this.onfile) + err(5); + if (!this.p) + err(4); + if (this.c > 0) { + var len = Math.min(this.c, chunk.length); + var toAdd = chunk.subarray(0, len); + this.c -= len; + if (this.d) + this.d.push(toAdd, !this.c); + else + this.k[0].push(toAdd); + chunk = chunk.subarray(len); + if (chunk.length) + return this.push(chunk, final); + } + else { + var f = 0, i = 0, is = void 0, buf = void 0; + if (!this.p.length) + buf = chunk; + else if (!chunk.length) + buf = this.p; + else { + buf = new u8(this.p.length + chunk.length); + buf.set(this.p), buf.set(chunk, this.p.length); + } + var l = buf.length, oc = this.c, add = oc && this.d; + var _loop_2 = function () { + var _a; + var sig = b4(buf, i); + if (sig == 0x4034B50) { + f = 1, is = i; + this_1.d = null; + this_1.c = 0; + var bf = b2(buf, i + 6), cmp_1 = b2(buf, i + 8), u = bf & 2048, dd = bf & 8, fnl = b2(buf, i + 26), es = b2(buf, i + 28); + if (l > i + 30 + fnl + es) { + var chks_3 = []; + this_1.k.unshift(chks_3); + f = 2; + var sc_1 = b4(buf, i + 18), su_1 = b4(buf, i + 22); + var fn_1 = strFromU8(buf.subarray(i + 30, i += 30 + fnl), !u); + if (sc_1 == 4294967295) { + _a = dd ? [-2] : z64e(buf, i), sc_1 = _a[0], su_1 = _a[1]; + } + else if (dd) + sc_1 = -1; + i += es; + this_1.c = sc_1; + var d_1; + var file_1 = { + name: fn_1, + compression: cmp_1, + start: function () { + if (!file_1.ondata) + err(5); + if (!sc_1) + file_1.ondata(null, et, true); + else { + var ctr = _this.o[cmp_1]; + if (!ctr) + file_1.ondata(err(14, 'unknown compression type ' + cmp_1, 1), null, false); + d_1 = sc_1 < 0 ? new ctr(fn_1) : new ctr(fn_1, sc_1, su_1); + d_1.ondata = function (err, dat, final) { file_1.ondata(err, dat, final); }; + for (var _i = 0, chks_4 = chks_3; _i < chks_4.length; _i++) { + var dat = chks_4[_i]; + d_1.push(dat, false); + } + if (_this.k[0] == chks_3 && _this.c) + _this.d = d_1; + else + d_1.push(et, true); + } + }, + terminate: function () { + if (d_1 && d_1.terminate) + d_1.terminate(); + } + }; + if (sc_1 >= 0) + file_1.size = sc_1, file_1.originalSize = su_1; + this_1.onfile(file_1); + } + return "break"; + } + else if (oc) { + if (sig == 0x8074B50) { + is = i += 12 + (oc == -2 && 8), f = 3, this_1.c = 0; + return "break"; + } + else if (sig == 0x2014B50) { + is = i -= 4, f = 3, this_1.c = 0; + return "break"; + } + } + }; + var this_1 = this; + for (; i < l - 4; ++i) { + var state_1 = _loop_2(); + if (state_1 === "break") + break; + } + this.p = et; + if (oc < 0) { + var dat = f ? buf.subarray(0, is - 12 - (oc == -2 && 8) - (b4(buf, is - 16) == 0x8074B50 && 4)) : buf.subarray(0, i); + if (add) + add.push(dat, !!f); + else + this.k[+(f == 2)].push(dat); + } + if (f & 2) + return this.push(buf.subarray(i), final); + this.p = buf.subarray(i); + } + if (final) { + if (this.c) + err(13); + this.p = null; + } + }; + /** + * Registers a decoder with the stream, allowing for files compressed with + * the compression type provided to be expanded correctly + * @param decoder The decoder constructor + */ + Unzip.prototype.register = function (decoder) { + this.o[decoder.compression] = decoder; + }; + return Unzip; +}()))); + +var mt = typeof queueMicrotask == 'function' ? queueMicrotask : typeof setTimeout == 'function' ? setTimeout : function (fn) { fn(); }; +function unzip(data, opts, cb) { + if (!cb) + cb = opts, opts = {}; if (typeof cb != 'function') - throw 'no callback'; + err(7); var term = []; var tAll = function () { for (var i = 0; i < term.length; ++i) term[i](); }; var files = {}; + var cbd = function (a, b) { + mt(function () { cb(a, b); }); + }; + mt(function () { cbd = cb; }); var e = data.length - 22; for (; b4(data, e) != 0x6054B50; --e) { if (!e || data.length - e > 65558) { - cb('invalid zip file', null); - return; + cbd(err(13, 0, 1), null); + return tAll; } } ; var lft = b2(data, e + 8); - if (!lft) - cb(null, {}); - var c = lft; - var o = b4(data, e + 16); - var z = o == 4294967295; - if (z) { - e = b4(data, e - 12); - if (b4(data, e) != 0x6064B50) - throw 'invalid zip file'; - c = lft = b4(data, e + 32); - o = b4(data, e + 48); - } - var _loop_2 = function (i) { - var _a = zh(data, o, z), c_1 = _a[0], sc = _a[1], su = _a[2], fn = _a[3], no = _a[4], off = _a[5], b = slzh(data, off); - o = no; - var cbl = function (e, d) { - if (e) { - tAll(); - cb(e, null); - } - else { - files[fn] = d; - if (!--lft) - cb(null, files); - } - }; - if (!c_1) - cbl(null, slc(data, b, b + sc)); - else if (c_1 == 8) { - var infl = data.subarray(b, b + sc); - if (sc < 320000) { - try { - cbl(null, inflateSync(infl, new u8(su))); + if (lft) { + var c = lft; + var o = b4(data, e + 16); + var z = o == 4294967295 || c == 65535; + if (z) { + var ze = b4(data, e - 12); + z = b4(data, ze) == 0x6064B50; + if (z) { + c = lft = b4(data, ze + 32); + o = b4(data, ze + 48); + } + } + var fltr = opts && opts.filter; + var _loop_3 = function (i) { + var _a = zh(data, o, z), c_1 = _a[0], sc = _a[1], su = _a[2], fn = _a[3], no = _a[4], off = _a[5], b = slzh(data, off); + o = no; + var cbl = function (e, d) { + if (e) { + tAll(); + cbd(e, null); } - catch (e) { - cbl(e, null); + else { + if (d) + files[fn] = d; + if (!--lft) + cbd(null, files); + } + }; + if (!fltr || fltr({ + name: fn, + size: sc, + originalSize: su, + compression: c_1 + })) { + if (!c_1) + cbl(null, slc(data, b, b + sc)); + else if (c_1 == 8) { + var infl = data.subarray(b, b + sc); + // Synchronously decompress under 512KB, or barely-compressed data + if (su < 524288 || sc > 0.8 * su) { + try { + cbl(null, inflateSync(infl, { out: new u8(su) })); + } + catch (e) { + cbl(e, null); + } + } + else + term.push(inflate(infl, { size: su }, cbl)); } + else + cbl(err(14, 'unknown compression type ' + c_1, 1), null); } else - term.push(inflate(infl, { size: su }, cbl)); + cbl(null, null); + }; + for (var i = 0; i < c; ++i) { + _loop_3(i); } - else - cbl('unknown compression type ' + c_1, null); - }; - for (var i = 0; i < c; ++i) { - _loop_2(i); } + else + cbd(null, {}); return tAll; } /** * Synchronously decompresses a ZIP archive. Prefer using `unzip` for better * performance with more than one file. * @param data The raw compressed ZIP file + * @param opts The ZIP extraction options * @returns The decompressed files */ -function unzipSync(data) { +function unzipSync(data, opts) { var files = {}; var e = data.length - 22; for (; b4(data, e) != 0x6054B50; --e) { if (!e || data.length - e > 65558) - throw 'invalid zip file'; + err(13); } ; var c = b2(data, e + 8); if (!c) return {}; var o = b4(data, e + 16); - var z = o == 4294967295; + var z = o == 4294967295 || c == 65535; if (z) { - e = b4(data, e - 12); - if (b4(data, e) != 0x6064B50) - throw 'invalid zip file'; - c = b4(data, e + 32); - o = b4(data, e + 48); + var ze = b4(data, e - 12); + z = b4(data, ze) == 0x6064B50; + if (z) { + c = b4(data, ze + 32); + o = b4(data, ze + 48); + } } + var fltr = opts && opts.filter; for (var i = 0; i < c; ++i) { var _a = zh(data, o, z), c_2 = _a[0], sc = _a[1], su = _a[2], fn = _a[3], no = _a[4], off = _a[5], b = slzh(data, off); o = no; - if (!c_2) - files[fn] = slc(data, b, b + sc); - else if (c_2 == 8) - files[fn] = inflateSync(data.subarray(b, b + sc), new u8(su)); - else - throw 'unknown compression type ' + c_2; + if (!fltr || fltr({ + name: fn, + size: sc, + originalSize: su, + compression: c_2 + })) { + if (!c_2) + files[fn] = slc(data, b, b + sc); + else if (c_2 == 8) + files[fn] = inflateSync(data.subarray(b, b + sc), { out: new u8(su) }); + else + err(14, 'unknown compression type ' + c_2); + } } return files; } -;// CONCATENATED MODULE: ./node_modules/_jspdf@2.5.1@jspdf/dist/jspdf.es.min.js +;// CONCATENATED MODULE: ./node_modules/_jspdf@2.5.2@jspdf/dist/jspdf.es.min.js /** @license * * jsPDF - PDF Document creation from JavaScript - * Version 2.5.1 Built on 2022-01-28T15:37:57.791Z + * Version 2.5.2 Built on 2024-09-17T13:29:57.859Z * CommitID 00000000 * * Copyright (c) 2010-2021 James Hall , https://github.com/MrRio/jsPDF @@ -15639,7 +16502,7 @@ function d(t,e){var r=t[0],n=t[1],i=t[2],a=t[3];r=g(r,n,i,a,e[0],7,-680876936),a * https://www.cs.cmu.edu/~dst/Adobe/Gallery/anon21jul01-pdf-encryption.txt * https://github.com/foliojs/pdfkit/blob/master/lib/security.js * http://www.fpdf.org/en/script/script37.php - */var k={print:4,modify:8,copy:16,"annot-forms":32};function I(t,e,r,n){this.v=1,this.r=2;var i=192;t.forEach((function(t){if(void 0!==k.perm)throw new Error("Invalid permission: "+t);i+=k[t]})),this.padding="(¿N^NuŠAd\0NVÿú\b..\0¶Ðh>€/\f©þdSiz";var a=(e+this.padding).substr(0,32),o=(r+this.padding).substr(0,32);this.O=this.processOwnerPassword(a,o),this.P=-(1+(255^i)),this.encryptionKey=jspdf_es_min_x(a+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(n)).substr(0,5),this.U=P(this.encryptionKey,this.padding)}function F(t){if(/[^\u0000-\u00ff]/.test(t))throw new Error("Invalid PDF Name Object: "+t+", Only accept ASCII characters.");for(var e="",r=t.length,n=0;n126)e+="#"+("0"+i.toString(16)).slice(-2);else e+=t[n]}return e}function C(e){if("object"!==(0,esm_typeof/* default */.Z)(e))throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var r={};this.subscribe=function(t,e,n){if(n=n||!1,"string"!=typeof t||"function"!=typeof e||"boolean"!=typeof n)throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");r.hasOwnProperty(t)||(r[t]={});var i=Math.random().toString(35);return r[t][i]=[e,!!n],i},this.unsubscribe=function(t){for(var e in r)if(r[e][t])return delete r[e][t],0===Object.keys(r[e]).length&&delete r[e],!0;return!1},this.publish=function(t){if(r.hasOwnProperty(t)){var i=Array.prototype.slice.call(arguments,1),o=[];for(var s in r[t]){var c=r[t][s];try{c[0].apply(e,i)}catch(t){n.console&&a.error("jsPDF PubSub Error",t.message,t)}c[1]&&o.push(s)}o.length&&o.forEach(this.unsubscribe)}},this.getTopics=function(){return r}}function j(t){if(!(this instanceof j))return new j(t);var e="opacity,stroke-opacity".split(",");for(var r in t)t.hasOwnProperty(r)&&e.indexOf(r)>=0&&(this[r]=t[r]);this.id="",this.objectNumber=-1}function O(t,e){this.gState=t,this.matrix=e,this.id="",this.objectNumber=-1}function B(t,e,r,n,i){if(!(this instanceof B))return new B(t,e,r,n,i);this.type="axial"===t?2:3,this.coords=e,this.colors=r,O.call(this,n,i)}function M(t,e,r,n,i){if(!(this instanceof M))return new M(t,e,r,n,i);this.boundingBox=t,this.xStep=e,this.yStep=r,this.stream="",this.cloneIndex=0,O.call(this,n,i)}function E(e){var r,i="string"==typeof arguments[0]?arguments[0]:"p",o=arguments[1],s=arguments[2],c=arguments[3],u=[],d=1,p=16,g="S",m=null;"object"===(0,esm_typeof/* default */.Z)(e=e||{})&&(i=e.orientation,o=e.unit||o,s=e.format||s,c=e.compress||e.compressPdf||c,null!==(m=e.encryption||null)&&(m.userPassword=m.userPassword||"",m.ownerPassword=m.ownerPassword||"",m.userPermissions=m.userPermissions||[]),d="number"==typeof e.userUnit?Math.abs(e.userUnit):1,void 0!==e.precision&&(r=e.precision),void 0!==e.floatPrecision&&(p=e.floatPrecision),g=e.defaultPathOperation||"S"),u=e.filters||(!0===c?["FlateEncode"]:u),o=o||"mm",i=(""+(i||"P")).toLowerCase();var v=e.putOnlyUsedFonts||!1,b={},y={internal:{},__private__:{}};y.__private__.PubSub=C;var w="1.3",N=y.__private__.getPdfVersion=function(){return w};y.__private__.setPdfVersion=function(t){w=t};var L={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};y.__private__.getPageFormats=function(){return L};var A=y.__private__.getPageFormat=function(t){return L[t]};s=s||"a4";var x={COMPAT:"compat",ADVANCED:"advanced"},S=x.COMPAT;function _(){this.saveGraphicsState(),lt(new Vt(_t,0,0,-_t,0,Rr()*_t).toString()+" cm"),this.setFontSize(this.getFontSize()/_t),g="n",S=x.ADVANCED}function P(){this.restoreGraphicsState(),g="S",S=x.COMPAT}var k=y.__private__.combineFontStyleAndFontWeight=function(t,e){if("bold"==t&&"normal"==e||"bold"==t&&400==e||"normal"==t&&"italic"==e||"bold"==t&&"italic"==e)throw new Error("Invalid Combination of fontweight and fontstyle");return e&&(t=400==e||"normal"===e?"italic"===t?"italic":"normal":700!=e&&"bold"!==e||"normal"!==t?(700==e?"bold":e)+""+t:"bold"),t};y.advancedAPI=function(t){var e=S===x.COMPAT;return e&&_.call(this),"function"!=typeof t||(t(this),e&&P.call(this)),this},y.compatAPI=function(t){var e=S===x.ADVANCED;return e&&P.call(this),"function"!=typeof t||(t(this),e&&_.call(this)),this},y.isAdvancedAPI=function(){return S===x.ADVANCED};var O,q=function(t){if(S!==x.ADVANCED)throw new Error(t+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},D=y.roundToPrecision=y.__private__.roundToPrecision=function(t,e){var n=r||e;if(isNaN(t)||isNaN(n))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return t.toFixed(n).replace(/0+$/,"")};O=y.hpf=y.__private__.hpf="number"==typeof p?function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.hpf");return D(t,p)}:"smart"===p?function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.hpf");return D(t,t>-1&&t<1?16:5)}:function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.hpf");return D(t,16)};var R=y.f2=y.__private__.f2=function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.f2");return D(t,2)},T=y.__private__.f3=function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.f3");return D(t,3)},U=y.scale=y.__private__.scale=function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.scale");return S===x.COMPAT?t*_t:S===x.ADVANCED?t:void 0},z=function(t){return S===x.COMPAT?Rr()-t:S===x.ADVANCED?t:void 0},H=function(t){return U(z(t))};y.__private__.setPrecision=y.setPrecision=function(t){"number"==typeof parseInt(t,10)&&(r=parseInt(t,10))};var W,V="00000000000000000000000000000000",G=y.__private__.getFileId=function(){return V},Y=y.__private__.setFileId=function(t){return V=void 0!==t&&/^[a-fA-F0-9]{32}$/.test(t)?t.toUpperCase():V.split("").map((function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))})).join(""),null!==m&&(Ye=new I(m.userPermissions,m.userPassword,m.ownerPassword,V)),V};y.setFileId=function(t){return Y(t),this},y.getFileId=function(){return G()};var J=y.__private__.convertDateToPDFDate=function(t){var e=t.getTimezoneOffset(),r=e<0?"+":"-",n=Math.floor(Math.abs(e/60)),i=Math.abs(e%60),a=[r,Q(n),"'",Q(i),"'"].join("");return["D:",t.getFullYear(),Q(t.getMonth()+1),Q(t.getDate()),Q(t.getHours()),Q(t.getMinutes()),Q(t.getSeconds()),a].join("")},X=y.__private__.convertPDFDateToDate=function(t){var e=parseInt(t.substr(2,4),10),r=parseInt(t.substr(6,2),10)-1,n=parseInt(t.substr(8,2),10),i=parseInt(t.substr(10,2),10),a=parseInt(t.substr(12,2),10),o=parseInt(t.substr(14,2),10);return new Date(e,r,n,i,a,o,0)},K=y.__private__.setCreationDate=function(t){var e;if(void 0===t&&(t=new Date),t instanceof Date)e=J(t);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(t))throw new Error("Invalid argument passed to jsPDF.setCreationDate");e=t}return W=e},Z=y.__private__.getCreationDate=function(t){var e=W;return"jsDate"===t&&(e=X(W)),e};y.setCreationDate=function(t){return K(t),this},y.getCreationDate=function(t){return Z(t)};var $,Q=y.__private__.padd2=function(t){return("0"+parseInt(t)).slice(-2)},tt=y.__private__.padd2Hex=function(t){return("00"+(t=t.toString())).substr(t.length)},et=0,rt=[],nt=[],it=0,at=[],ot=[],st=!1,ct=nt,ut=function(){et=0,it=0,nt=[],rt=[],at=[],Qt=Kt(),te=Kt()};y.__private__.setCustomOutputDestination=function(t){st=!0,ct=t};var ht=function(t){st||(ct=t)};y.__private__.resetCustomOutputDestination=function(){st=!1,ct=nt};var lt=y.__private__.out=function(t){return t=t.toString(),it+=t.length+1,ct.push(t),ct},ft=y.__private__.write=function(t){return lt(1===arguments.length?t.toString():Array.prototype.join.call(arguments," "))},dt=y.__private__.getArrayBuffer=function(t){for(var e=t.length,r=new ArrayBuffer(e),n=new Uint8Array(r);e--;)n[e]=t.charCodeAt(e);return r},pt=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];y.__private__.getStandardFonts=function(){return pt};var gt=e.fontSize||16;y.__private__.setFontSize=y.setFontSize=function(t){return gt=S===x.ADVANCED?t/_t:t,this};var mt,vt=y.__private__.getFontSize=y.getFontSize=function(){return S===x.COMPAT?gt:gt*_t},bt=e.R2L||!1;y.__private__.setR2L=y.setR2L=function(t){return bt=t,this},y.__private__.getR2L=y.getR2L=function(){return bt};var yt,wt=y.__private__.setZoomMode=function(t){var e=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(t))mt=t;else if(isNaN(t)){if(-1===e.indexOf(t))throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+t+'" is not recognized.');mt=t}else mt=parseInt(t,10)};y.__private__.getZoomMode=function(){return mt};var Nt,Lt=y.__private__.setPageMode=function(t){if(-1==[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(t))throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+t+'" is not recognized.');yt=t};y.__private__.getPageMode=function(){return yt};var At=y.__private__.setLayoutMode=function(t){if(-1==[void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(t))throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+t+'" is not recognized.');Nt=t};y.__private__.getLayoutMode=function(){return Nt},y.__private__.setDisplayMode=y.setDisplayMode=function(t,e,r){return wt(t),At(e),Lt(r),this};var xt={title:"",subject:"",author:"",keywords:"",creator:""};y.__private__.getDocumentProperty=function(t){if(-1===Object.keys(xt).indexOf(t))throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return xt[t]},y.__private__.getDocumentProperties=function(){return xt},y.__private__.setDocumentProperties=y.setProperties=y.setDocumentProperties=function(t){for(var e in xt)xt.hasOwnProperty(e)&&t[e]&&(xt[e]=t[e]);return this},y.__private__.setDocumentProperty=function(t,e){if(-1===Object.keys(xt).indexOf(t))throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return xt[t]=e};var St,_t,Pt,kt,It,Ft={},Ct={},jt=[],Ot={},Bt={},Mt={},Et={},qt=null,Dt=0,Rt=[],Tt=new C(y),Ut=e.hotfixes||[],zt={},Ht={},Wt=[],Vt=function t(e,r,n,i,a,o){if(!(this instanceof t))return new t(e,r,n,i,a,o);isNaN(e)&&(e=1),isNaN(r)&&(r=0),isNaN(n)&&(n=0),isNaN(i)&&(i=1),isNaN(a)&&(a=0),isNaN(o)&&(o=0),this._matrix=[e,r,n,i,a,o]};Object.defineProperty(Vt.prototype,"sx",{get:function(){return this._matrix[0]},set:function(t){this._matrix[0]=t}}),Object.defineProperty(Vt.prototype,"shy",{get:function(){return this._matrix[1]},set:function(t){this._matrix[1]=t}}),Object.defineProperty(Vt.prototype,"shx",{get:function(){return this._matrix[2]},set:function(t){this._matrix[2]=t}}),Object.defineProperty(Vt.prototype,"sy",{get:function(){return this._matrix[3]},set:function(t){this._matrix[3]=t}}),Object.defineProperty(Vt.prototype,"tx",{get:function(){return this._matrix[4]},set:function(t){this._matrix[4]=t}}),Object.defineProperty(Vt.prototype,"ty",{get:function(){return this._matrix[5]},set:function(t){this._matrix[5]=t}}),Object.defineProperty(Vt.prototype,"a",{get:function(){return this._matrix[0]},set:function(t){this._matrix[0]=t}}),Object.defineProperty(Vt.prototype,"b",{get:function(){return this._matrix[1]},set:function(t){this._matrix[1]=t}}),Object.defineProperty(Vt.prototype,"c",{get:function(){return this._matrix[2]},set:function(t){this._matrix[2]=t}}),Object.defineProperty(Vt.prototype,"d",{get:function(){return this._matrix[3]},set:function(t){this._matrix[3]=t}}),Object.defineProperty(Vt.prototype,"e",{get:function(){return this._matrix[4]},set:function(t){this._matrix[4]=t}}),Object.defineProperty(Vt.prototype,"f",{get:function(){return this._matrix[5]},set:function(t){this._matrix[5]=t}}),Object.defineProperty(Vt.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Vt.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Vt.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Vt.prototype,"isIdentity",{get:function(){return 1===this.sx&&(0===this.shy&&(0===this.shx&&(1===this.sy&&(0===this.tx&&0===this.ty))))}}),Vt.prototype.join=function(t){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(O).join(t)},Vt.prototype.multiply=function(t){var e=t.sx*this.sx+t.shy*this.shx,r=t.sx*this.shy+t.shy*this.sy,n=t.shx*this.sx+t.sy*this.shx,i=t.shx*this.shy+t.sy*this.sy,a=t.tx*this.sx+t.ty*this.shx+this.tx,o=t.tx*this.shy+t.ty*this.sy+this.ty;return new Vt(e,r,n,i,a,o)},Vt.prototype.decompose=function(){var t=this.sx,e=this.shy,r=this.shx,n=this.sy,i=this.tx,a=this.ty,o=Math.sqrt(t*t+e*e),s=(t/=o)*r+(e/=o)*n;r-=t*s,n-=e*s;var c=Math.sqrt(r*r+n*n);return s/=c,t*(n/=c)>16&255,i=u>>8&255,a=255&u}if(void 0===i||void 0===o&&n===i&&i===a)if("string"==typeof n)r=n+" "+s[0];else switch(e.precision){case 2:r=R(n/255)+" "+s[0];break;case 3:default:r=T(n/255)+" "+s[0]}else if(void 0===o||"object"===(0,esm_typeof/* default */.Z)(o)){if(o&&!isNaN(o.a)&&0===o.a)return r=["1.","1.","1.",s[1]].join(" ");if("string"==typeof n)r=[n,i,a,s[1]].join(" ");else switch(e.precision){case 2:r=[R(n/255),R(i/255),R(a/255),s[1]].join(" ");break;default:case 3:r=[T(n/255),T(i/255),T(a/255),s[1]].join(" ")}}else if("string"==typeof n)r=[n,i,a,o,s[2]].join(" ");else switch(e.precision){case 2:r=[R(n),R(i),R(a),R(o),s[2]].join(" ");break;case 3:default:r=[T(n),T(i),T(a),T(o),s[2]].join(" ")}return r},ne=y.__private__.getFilters=function(){return u},ie=y.__private__.putStream=function(t){var e=(t=t||{}).data||"",r=t.filters||ne(),n=t.alreadyAppliedFilters||[],i=t.addLength1||!1,a=e.length,o=t.objectId,s=function(t){return t};if(null!==m&&void 0===o)throw new Error("ObjectId must be passed to putStream for file encryption");null!==m&&(s=Ye.encryptor(o,0));var c={};!0===r&&(r=["FlateEncode"]);var u=t.additionalKeyValues||[],h=(c=void 0!==E.API.processDataByFilters?E.API.processDataByFilters(e,r):{data:e,reverseChain:[]}).reverseChain+(Array.isArray(n)?n.join(" "):n.toString());if(0!==c.data.length&&(u.push({key:"Length",value:c.data.length}),!0===i&&u.push({key:"Length1",value:a})),0!=h.length)if(h.split("/").length-1==1)u.push({key:"Filter",value:h});else{u.push({key:"Filter",value:"["+h+"]"});for(var l=0;l>"),0!==c.data.length&&(lt("stream"),lt(s(c.data)),lt("endstream"))},ae=y.__private__.putPage=function(t){var e=t.number,r=t.data,n=t.objId,i=t.contentsObjId;Zt(n,!0),lt("<>"),lt("endobj");var a=r.join("\n");return S===x.ADVANCED&&(a+="\nQ"),Zt(i,!0),ie({data:a,filters:ne(),objectId:i}),lt("endobj"),n},oe=y.__private__.putPages=function(){var t,e,r=[];for(t=1;t<=Dt;t++)Rt[t].objId=Kt(),Rt[t].contentsObjId=Kt();for(t=1;t<=Dt;t++)r.push(ae({number:t,data:ot[t],objId:Rt[t].objId,contentsObjId:Rt[t].contentsObjId,mediaBox:Rt[t].mediaBox,cropBox:Rt[t].cropBox,bleedBox:Rt[t].bleedBox,trimBox:Rt[t].trimBox,artBox:Rt[t].artBox,userUnit:Rt[t].userUnit,rootDictionaryObjId:Qt,resourceDictionaryObjId:te}));Zt(Qt,!0),lt("<>"),lt("endobj"),Tt.publish("postPutPages")},se=function(t){Tt.publish("putFont",{font:t,out:lt,newObject:Xt,putStream:ie}),!0!==t.isAlreadyPutted&&(t.objectNumber=Xt(),lt("<<"),lt("/Type /Font"),lt("/BaseFont /"+F(t.postScriptName)),lt("/Subtype /Type1"),"string"==typeof t.encoding&<("/Encoding /"+t.encoding),lt("/FirstChar 32"),lt("/LastChar 255"),lt(">>"),lt("endobj"))},ce=function(){for(var t in Ft)Ft.hasOwnProperty(t)&&(!1===v||!0===v&&b.hasOwnProperty(t))&&se(Ft[t])},ue=function(t){t.objectNumber=Xt();var e=[];e.push({key:"Type",value:"/XObject"}),e.push({key:"Subtype",value:"/Form"}),e.push({key:"BBox",value:"["+[O(t.x),O(t.y),O(t.x+t.width),O(t.y+t.height)].join(" ")+"]"}),e.push({key:"Matrix",value:"["+t.matrix.toString()+"]"});var r=t.pages[1].join("\n");ie({data:r,additionalKeyValues:e,objectId:t.objectNumber}),lt("endobj")},he=function(){for(var t in zt)zt.hasOwnProperty(t)&&ue(zt[t])},le=function(t,e){var r,n=[],i=1/(e-1);for(r=0;r<1;r+=i)n.push(r);if(n.push(1),0!=t[0].offset){var a={offset:0,color:t[0].color};t.unshift(a)}if(1!=t[t.length-1].offset){var o={offset:1,color:t[t.length-1].color};t.push(o)}for(var s="",c=0,u=0;ut[c+1].offset;)c++;var h=t[c].offset,l=(r-h)/(t[c+1].offset-h),f=t[c].color,d=t[c+1].color;s+=tt(Math.round((1-l)*f[0]+l*d[0]).toString(16))+tt(Math.round((1-l)*f[1]+l*d[1]).toString(16))+tt(Math.round((1-l)*f[2]+l*d[2]).toString(16))}return s.trim()},fe=function(t,e){e||(e=21);var r=Xt(),n=le(t.colors,e),i=[];i.push({key:"FunctionType",value:"0"}),i.push({key:"Domain",value:"[0.0 1.0]"}),i.push({key:"Size",value:"["+e+"]"}),i.push({key:"BitsPerSample",value:"8"}),i.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),i.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),ie({data:n,additionalKeyValues:i,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:r}),lt("endobj"),t.objectNumber=Xt(),lt("<< /ShadingType "+t.type),lt("/ColorSpace /DeviceRGB");var a="/Coords ["+O(parseFloat(t.coords[0]))+" "+O(parseFloat(t.coords[1]))+" ";2===t.type?a+=O(parseFloat(t.coords[2]))+" "+O(parseFloat(t.coords[3])):a+=O(parseFloat(t.coords[2]))+" "+O(parseFloat(t.coords[3]))+" "+O(parseFloat(t.coords[4]))+" "+O(parseFloat(t.coords[5])),lt(a+="]"),t.matrix&<("/Matrix ["+t.matrix.toString()+"]"),lt("/Function "+r+" 0 R"),lt("/Extend [true true]"),lt(">>"),lt("endobj")},de=function(t,e){var r=Kt(),n=Xt();e.push({resourcesOid:r,objectOid:n}),t.objectNumber=n;var i=[];i.push({key:"Type",value:"/Pattern"}),i.push({key:"PatternType",value:"1"}),i.push({key:"PaintType",value:"1"}),i.push({key:"TilingType",value:"1"}),i.push({key:"BBox",value:"["+t.boundingBox.map(O).join(" ")+"]"}),i.push({key:"XStep",value:O(t.xStep)}),i.push({key:"YStep",value:O(t.yStep)}),i.push({key:"Resources",value:r+" 0 R"}),t.matrix&&i.push({key:"Matrix",value:"["+t.matrix.toString()+"]"}),ie({data:t.stream,additionalKeyValues:i,objectId:t.objectNumber}),lt("endobj")},pe=function(t){var e;for(e in Ot)Ot.hasOwnProperty(e)&&(Ot[e]instanceof B?fe(Ot[e]):Ot[e]instanceof M&&de(Ot[e],t))},ge=function(t){for(var e in t.objectNumber=Xt(),lt("<<"),t)switch(e){case"opacity":lt("/ca "+R(t[e]));break;case"stroke-opacity":lt("/CA "+R(t[e]))}lt(">>"),lt("endobj")},me=function(){var t;for(t in Mt)Mt.hasOwnProperty(t)&&ge(Mt[t])},ve=function(){for(var t in lt("/XObject <<"),zt)zt.hasOwnProperty(t)&&zt[t].objectNumber>=0&<("/"+t+" "+zt[t].objectNumber+" 0 R");Tt.publish("putXobjectDict"),lt(">>")},be=function(){Ye.oid=Xt(),lt("<<"),lt("/Filter /Standard"),lt("/V "+Ye.v),lt("/R "+Ye.r),lt("/U <"+Ye.toHexString(Ye.U)+">"),lt("/O <"+Ye.toHexString(Ye.O)+">"),lt("/P "+Ye.P),lt(">>"),lt("endobj")},ye=function(){for(var t in lt("/Font <<"),Ft)Ft.hasOwnProperty(t)&&(!1===v||!0===v&&b.hasOwnProperty(t))&<("/"+t+" "+Ft[t].objectNumber+" 0 R");lt(">>")},we=function(){if(Object.keys(Ot).length>0){for(var t in lt("/Shading <<"),Ot)Ot.hasOwnProperty(t)&&Ot[t]instanceof B&&Ot[t].objectNumber>=0&<("/"+t+" "+Ot[t].objectNumber+" 0 R");Tt.publish("putShadingPatternDict"),lt(">>")}},Ne=function(t){if(Object.keys(Ot).length>0){for(var e in lt("/Pattern <<"),Ot)Ot.hasOwnProperty(e)&&Ot[e]instanceof y.TilingPattern&&Ot[e].objectNumber>=0&&Ot[e].objectNumber>")}},Le=function(){if(Object.keys(Mt).length>0){var t;for(t in lt("/ExtGState <<"),Mt)Mt.hasOwnProperty(t)&&Mt[t].objectNumber>=0&<("/"+t+" "+Mt[t].objectNumber+" 0 R");Tt.publish("putGStateDict"),lt(">>")}},Ae=function(t){Zt(t.resourcesOid,!0),lt("<<"),lt("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),ye(),we(),Ne(t.objectOid),Le(),ve(),lt(">>"),lt("endobj")},xe=function(){var t=[];ce(),me(),he(),pe(t),Tt.publish("putResources"),t.forEach(Ae),Ae({resourcesOid:te,objectOid:Number.MAX_SAFE_INTEGER}),Tt.publish("postPutResources")},Se=function(){Tt.publish("putAdditionalObjects");for(var t=0;t>8&&(c=!0);t=s.join("")}for(r=t.length;void 0===c&&0!==r;)t.charCodeAt(r-1)>>8&&(c=!0),r--;if(!c)return t;for(s=e.noBOM?[]:[254,255],r=0,n=t.length;r>8)>>8)throw new Error("Character at position "+r+" of string '"+t+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");s.push(h),s.push(u-(h<<8))}return String.fromCharCode.apply(void 0,s)},Ce=y.__private__.pdfEscape=y.pdfEscape=function(t,e){return Fe(t,e).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},je=y.__private__.beginPage=function(t){ot[++Dt]=[],Rt[Dt]={objId:0,contentsObjId:0,userUnit:Number(d),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(t[0]),topRightY:Number(t[1])}},Me(Dt),ht(ot[$])},Oe=function(t,e){var r,n,o;switch(i=e||i,"string"==typeof t&&(r=A(t.toLowerCase()),Array.isArray(r)&&(n=r[0],o=r[1])),Array.isArray(t)&&(n=t[0]*_t,o=t[1]*_t),isNaN(n)&&(n=s[0],o=s[1]),(n>14400||o>14400)&&(a.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),n=Math.min(14400,n),o=Math.min(14400,o)),s=[n,o],i.substr(0,1)){case"l":o>n&&(s=[o,n]);break;case"p":n>o&&(s=[o,n])}je(s),pr(fr),lt(Lr),0!==kr&<(kr+" J"),0!==Ir&<(Ir+" j"),Tt.publish("addPage",{pageNumber:Dt})},Be=function(t){t>0&&t<=Dt&&(ot.splice(t,1),Rt.splice(t,1),Dt--,$>Dt&&($=Dt),this.setPage($))},Me=function(t){t>0&&t<=Dt&&($=t)},Ee=y.__private__.getNumberOfPages=y.getNumberOfPages=function(){return ot.length-1},qe=function(t,e,r){var n,i=void 0;return r=r||{},t=void 0!==t?t:Ft[St].fontName,e=void 0!==e?e:Ft[St].fontStyle,n=t.toLowerCase(),void 0!==Ct[n]&&void 0!==Ct[n][e]?i=Ct[n][e]:void 0!==Ct[t]&&void 0!==Ct[t][e]?i=Ct[t][e]:!1===r.disableWarning&&a.warn("Unable to look up font label for font '"+t+"', '"+e+"'. Refer to getFontList() for available fonts."),i||r.noFallback||null==(i=Ct.times[e])&&(i=Ct.times.normal),i},De=y.__private__.putInfo=function(){var t=Xt(),e=function(t){return t};for(var r in null!==m&&(e=Ye.encryptor(t,0)),lt("<<"),lt("/Producer ("+Ce(e("jsPDF "+E.version))+")"),xt)xt.hasOwnProperty(r)&&xt[r]&<("/"+r.substr(0,1).toUpperCase()+r.substr(1)+" ("+Ce(e(xt[r]))+")");lt("/CreationDate ("+Ce(e(W))+")"),lt(">>"),lt("endobj")},Re=y.__private__.putCatalog=function(t){var e=(t=t||{}).rootDictionaryObjId||Qt;switch(Xt(),lt("<<"),lt("/Type /Catalog"),lt("/Pages "+e+" 0 R"),mt||(mt="fullwidth"),mt){case"fullwidth":lt("/OpenAction [3 0 R /FitH null]");break;case"fullheight":lt("/OpenAction [3 0 R /FitV null]");break;case"fullpage":lt("/OpenAction [3 0 R /Fit]");break;case"original":lt("/OpenAction [3 0 R /XYZ null null 1]");break;default:var r=""+mt;"%"===r.substr(r.length-1)&&(mt=parseInt(mt)/100),"number"==typeof mt&<("/OpenAction [3 0 R /XYZ null null "+R(mt)+"]")}switch(Nt||(Nt="continuous"),Nt){case"continuous":lt("/PageLayout /OneColumn");break;case"single":lt("/PageLayout /SinglePage");break;case"two":case"twoleft":lt("/PageLayout /TwoColumnLeft");break;case"tworight":lt("/PageLayout /TwoColumnRight")}yt&<("/PageMode /"+yt),Tt.publish("putCatalog"),lt(">>"),lt("endobj")},Te=y.__private__.putTrailer=function(){lt("trailer"),lt("<<"),lt("/Size "+(et+1)),lt("/Root "+et+" 0 R"),lt("/Info "+(et-1)+" 0 R"),null!==m&<("/Encrypt "+Ye.oid+" 0 R"),lt("/ID [ <"+V+"> <"+V+"> ]"),lt(">>")},Ue=y.__private__.putHeader=function(){lt("%PDF-"+w),lt("%ºß¬à")},ze=y.__private__.putXRef=function(){var t="0000000000";lt("xref"),lt("0 "+(et+1)),lt("0000000000 65535 f ");for(var e=1;e<=et;e++){"function"==typeof rt[e]?lt((t+rt[e]()).slice(-10)+" 00000 n "):void 0!==rt[e]?lt((t+rt[e]).slice(-10)+" 00000 n "):lt("0000000000 00000 n ")}},He=y.__private__.buildDocument=function(){ut(),ht(nt),Tt.publish("buildDocument"),Ue(),oe(),Se(),xe(),null!==m&&be(),De(),Re();var t=it;return ze(),Te(),lt("startxref"),lt(""+t),lt("%%EOF"),ht(ot[$]),nt.join("\n")},We=y.__private__.getBlob=function(t){return new Blob([dt(t)],{type:"application/pdf"})},Ve=y.output=y.__private__.output=Ie((function(t,e){switch("string"==typeof(e=e||{})?e={filename:e}:e.filename=e.filename||"generated.pdf",t){case void 0:return He();case"save":y.save(e.filename);break;case"arraybuffer":return dt(He());case"blob":return We(He());case"bloburi":case"bloburl":if(void 0!==n.URL&&"function"==typeof n.URL.createObjectURL)return n.URL&&n.URL.createObjectURL(We(He()))||void 0;a.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var r="",i=He();try{r=h(i)}catch(t){r=h(unescape(encodeURIComponent(i)))}return"data:application/pdf;filename="+e.filename+";base64,"+r;case"pdfobjectnewwindow":if("[object Window]"===Object.prototype.toString.call(n)){var o="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",s=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';e.pdfObjectUrl&&(o=e.pdfObjectUrl,s="");var c=' - + \ No newline at end of file diff --git a/umi.4a4c2198.js b/umi.fbc21c50.js similarity index 99% rename from umi.4a4c2198.js rename to umi.fbc21c50.js index 56b008cfe7..af13145530 100644 --- a/umi.4a4c2198.js +++ b/umi.fbc21c50.js @@ -205271,7 +205271,7 @@ function debounce (delay, callback, options) { /******/ // This function allow to reference async chunks /******/ __webpack_require__.u = function(chunkId) { /******/ // return url for filenames based on template -/******/ return "" + ({"292":"p__Classrooms__Lists__Exercise__Add__index","310":"p__User__Detail__ExperImentImg__Detail__index","556":"p__User__Detail__Order__pages__invoice__index","1482":"p__Classrooms__Lists__Graduation__Topics__Edit__index","1660":"p__User__QQLogin__index","1702":"p__Classrooms__New__index","2659":"p__User__Detail__UserPortrait__index","2819":"p__Classrooms__Lists__Template__detail__index","3317":"p__Classrooms__Lists__Graduation__Topics__Add__index","3391":"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index","3451":"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index","3509":"p__HttpStatus__SixActivities","3585":"p__Classrooms__Lists__Statistics__StudentSituation__index","3951":"p__Classrooms__Lists__ProgramHomework__Detail__index","4736":"p__User__Detail__Projects__index","4766":"p__Administration__index","4884":"p__Shixuns__Detail__Repository__Commit__index","4973":"p__Engineering__Evaluate__List__index","5572":"p__Paths__HigherVocationalEducation__index","6127":"p__Classrooms__Lists__ProgramHomework__Ranking__index","6685":"p__Shixuns__Detail__RankingList__index","6758":"p__Classrooms__Lists__Attachment__index","6788":"p__Classrooms__Lists__ProgramHomework__index","7043":"p__User__Detail__Topics__Exercise__Edit__index","7852":"p__Classrooms__Lists__ShixunHomeworks__index","7884":"p__Shixuns__Exports__index","8787":"p__Competitions__Entered__index","8999":"p__Three__index","9416":"p__Graduations__Lists__Tasks__index","10195":"p__Classrooms__Lists__GroupHomework__Detail__index","10485":"p__Question__AddOrEdit__BatchAdd__index","10737":"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index","10799":"p__User__Detail__Topics__Poll__Detail__index","10921":"p__Classrooms__Lists__Exercise__CodeDetails__index","11070":"p__Innovation__PublicMirror__index","11253":"p__Graduations__Lists__Gradingsummary__index","11512":"p__Classrooms__Lists__Exercise__AnswerCheck__index","11520":"p__Engineering__Lists__StudentList__index","11545":"p__Paperlibrary__Random__ExchangeFromProblemSet__index","11581":"p__Problemset__Preview__index","12076":"p__User__Detail__Competitions__index","12102":"p__Classrooms__Lists__Board__Edit__index","12216":"p__DataSet__Index__index","12303":"p__Classrooms__Lists__CommonHomework__Comment__index","12412":"p__User__Detail__Videos__index","12476":"p__Colleges__index","12865":"p__Innovation__MyMirror__index","12884":"p__Classrooms__Lists__ProgramHomework__Comment__index","13006":"p__Engineering__index","13355":"p__Classrooms__Lists__Polls__index","13581":"p__Classrooms__Lists__ShixunHomeworks__Detail__index","14058":"p__Demo__index","14105":"p__Classrooms__Lists__Exercise__Answer__index","14227":"p__Paths__Overview__index","14514":"p__Account__Results__index","14599":"p__Problemset__index","14610":"p__User__Detail__LearningPath__index","14662":"p__Classrooms__Lists__GroupHomework__Review__index","14889":"p__Classrooms__Lists__Exercise__ImitateAnswer__index","15148":"p__Classrooms__Lists__Template__index","15186":"p__Classrooms__Overview__index","15319":"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index","15382":"p__DataSet__Detail__index","15402":"p__User__Detail__Topics__Detail__index","16328":"p__Shixuns__Edit__body__Warehouse__index","16434":"p__User__Detail__Order__pages__records__index","16729":"p__Classrooms__Lists__GroupHomework__Edit__index","16845":"p__Shixuns__Detail__Settings__index","17482":"p__Classrooms__Lists__Exercise__Notice__index","17527":"p__MyProblem__RecordDetail__index","17622":"p__Classrooms__Lists__Polls__Detail__index","17806":"p__Classrooms__Lists__Statistics__StatisticsQuality__index","18241":"p__virtualSpaces__Lists__Plan__index","18302":"p__Classrooms__Lists__Board__index","18307":"p__User__Detail__Shixuns__index","19215":"p__Shixuns__Detail__ForkList__index","19360":"p__User__Detail__virtualSpaces__index","19519":"p__User__Detail__ClassManagement__Item__index","19715":"p__Classrooms__Lists__CommonHomework__Edit__index","19891":"p__User__Detail__Videos__Success__index","20026":"p__Classrooms__Lists__Graduation__Tasks__Edit__index","20576":"p__Account__Profile__Edit__index","20680":"p__Innovation__index","20700":"p__tasks__Jupyter__index","21265":"p__Classrooms__Lists__Announcement__index","21423":"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index","21578":"p__Classrooms__Lists__Graduation__Topics__Detail__index","21939":"p__User__Detail__Order__index","22254":"p__Shixuns__Detail__Discuss__index","22307":"p__Report__index","22707":"p__Innovation__MyDataSet__index","23332":"p__Paths__Detail__id","24504":"p__virtualSpaces__Lists__Survey__index","25022":"p__Graduations__Lists__Settings__index","25470":"p__Shixuns__Detail__Collaborators__index","25705":"p__virtualSpaces__Lists__Construction__index","25972":"layouts__user__index","26366":"p__Innovation__PublicProject__index","26685":"p__Classrooms__Index__index","26741":"p__Engineering__Norm__List__index","26788":"p__Home__Detail__ShixunContext__Detail__index","26883":"p__Competitions__Index__index","27178":"p__User__BindAccount__index","27182":"p__User__ResetPassword__index","27333":"p__User__WechatLogin__index","27395":"p__Classrooms__Lists__Statistics__StudentDetail__index","28072":"p__Classrooms__Lists__GroupHomework__SubmitWork__index","28237":"p__User__Detail__Order__pages__view__index","28435":"p__Classrooms__Lists__Attendance__index","28639":"p__Forums__Index__redirect","28723":"p__Classrooms__Lists__Polls__Edit__index","28782":"p__Shixuns__Index__index","28982":"p__Paths__New__index","29647":"p__Question__Index__index","30067":"p__Message__index","30264":"p__User__Detail__Order__pages__orderPay__index","30342":"p__Classrooms__Lists__ShixunHomeworks__Comment__index","31006":"p__RestFul__index","31211":"p__Classrooms__Lists__CommonHomework__EditWork__index","31427":"p__Classrooms__Lists__Statistics__index","31674":"p__Classrooms__ClassicCases__index","31962":"p__Classrooms__Lists__Engineering__index","33356":"p__Classrooms__Lists__Assistant__index","33747":"p__virtualSpaces__Lists__Homepage__index","33784":"p__Paperlibrary__Random__Detail__index","34093":"p__Classrooms__Lists__Attendance__Detail__index","34601":"p__Paths__Detail__Statistics__index","34741":"p__Problems__OjForm__NewEdit__index","34800":"p__Engineering__Lists__GraduatedMatrix__index","34994":"p__Problems__OjForm__index","35238":"p__virtualSpaces__Lists__Material__index","35729":"p__Help__Index","36029":"p__Administration__Student__index","36270":"p__MyProblem__index","36784":"p__Innovation__Edit__index","37062":"layouts__SimpleLayouts","37948":"p__User__Detail__ClassManagement__index","38143":"layouts__GraduationsDetail__index","38447":"p__virtualSpaces__Lists__Knowledge__index","38634":"p__Classrooms__Lists__CourseGroup__List__index","38797":"p__Competitions__Edit__index","39332":"p__Classrooms__Lists__Video__index","39391":"p__Engineering__Lists__CurseSetting__index","39404":"monaco-editor","39695":"p__Classrooms__Lists__Polls__Add__index","40559":"layouts__virtualDetail__index","41048":"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index","41657":"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index","41717":"layouts__index","41953":"p__Problemset__NewItem__index","42240":"p__User__Detail__Videos__Upload__index","42826":"p__User__Detail__DataSet__index","43442":"p__Classrooms__Lists__Board__Add__index","43862":"p__HttpStatus__403","44216":"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index","44259":"p__User__Detail__Order__pages__result__index","44449":"p__Competitions__Exports__index","44565":"p__HttpStatus__500","45096":"p__Shixuns__Detail__AuditSituation__index","45179":"p__Administration__Student__Edit__index","45359":"p__Messages__Detail__index","45650":"p__Competitions__Update__index","45775":"p__Engineering__Lists__Document__index","45825":"p__Classrooms__Lists__Exercise__index","45992":"p__Classrooms__Lists__Exercise__ReviewGroup__index","46796":"p__virtualSpaces__Lists__Announcement__Detail__index","46963":"p__Classrooms__Lists__Engineering__Detail__index","47545":"p__Graduations__Lists__Archives__index","48077":"p__Classrooms__Lists__Students__index","48365":"p__Home__Detail__ShixunContext__index","48431":"p__Classrooms__Lists__Exercise__Export__index","48689":"p__Classrooms__Lists__Statistics__VideoStatistics__index","49205":"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index","49366":"p__User__Login__index","49716":"p__Question__OjProblem__RecordDetail__index","49890":"p__Classrooms__Lists__CommonHomework__index","50570":"p__Home__Detail__OnlineNum__index","50869":"p__Guidance__index","51276":"p__MoopCases__Success__index","51461":"p__Graduations__Lists__Topics__index","51582":"p__Classrooms__Lists__GroupHomework__Add__index","51855":"p__MoopCases__InfoPanel__index","52338":"p__Classrooms__Lists__CommonHomework__Review__index","52404":"p__Classrooms__Lists__Template__teacher__index","52806":"p__User__Detail__Topics__Exercise__Detail__index","52829":"p__Messages__Private__index","52875":"p__Shixuns__Detail__id","53247":"p__Paperlibrary__See__index","53910":"p__HttpStatus__introduction","54056":"p__IntrainCourse__index","54164":"p__Classrooms__Lists__Exercise__Detail__index","54492":"p__Graduations__Lists__StudentSelection__index","54572":"p__Classrooms__Lists__ExportList__index","54770":"p__Classrooms__Lists__ProgramHomework__Detail__answer__index","54862":"p__Paperlibrary__index","55573":"p__Shixuns__Detail__Merge__index","55624":"p__Graduations__Lists__Index__index","56277":"p__Shixuns__Edit__index","57045":"p__Classrooms__Lists__CommonHomework__SubmitWork__index","57560":"p__Administration__College__index","57614":"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index","59133":"p__Shixuns__Detail__Challenges__index","59649":"p__Engineering__Lists__TrainingProgram__index","59788":"p__Account__Profile__index","60479":"p__Classrooms__Lists__GroupHomework__EditWork__index","60533":"p__Classrooms__Lists__Video__Statistics__Detail__index","60547":"p__Account__index","61043":"p__Classrooms__Lists__Graduation__Tasks__index","61713":"p__virtualSpaces__Lists__Settings__index","61727":"p__Classrooms__Lists__CourseGroup__NotList__index","61880":"p__User__Detail__Order__pages__apply__index","62300":"p__Api__index","62548":"p__Engineering__Norm__Detail__index","63157":"p__User__Detail__ExperImentImg__Add__index","64017":"p__Classrooms__Lists__PlaceholderPage__index","64144":"p__Problemset__Preview__New__index","64217":"p__Classrooms__Lists__Video__Statistics__index","64496":"p__HttpStatus__HpcCourse","64520":"p__Account__Secure__index","65111":"p__Terminal__index","65148":"p__Classrooms__Lists__Polls__Answer__index","65191":"p__User__Detail__Certificate__index","65549":"p__Shixuns__New__CreateImg__index","65816":"p__virtualSpaces__Lists__Announcement__index","66034":"p__HttpStatus__UserAgents","66063":"p__Graduations__Lists__Personmanage__index","66531":"p__HttpStatus__404","66583":"p__User__Detail__Classrooms__index","66651":"p__Engineering__Evaluate__Detail__index","67242":"p__Innovation__MyProject__index","67878":"p__Classrooms__Lists__LiveVideo__index","68014":"p__Classrooms__Lists__Teachers__index","68665":"p__Engineering__Lists__TrainingObjectives__index","68827":"p__Classrooms__Lists__OnlineLearning__index","68882":"p__Classrooms__Lists__Graduation__Tasks__Detail__index","69922":"p__Classrooms__Lists__Statistics__StudentVideo__index","69944":"p__Classrooms__Lists__Video__Statistics__StudentDetail__index","70928":"p__RestFul__Edit__index","71450":"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index","71475":"p__Shixuns__Detail__Dataset__JupyterData__index","71783":"p__virtualSpaces__Lists__Experiment__index","72529":"p__User__Detail__id","72539":"p__Graduations__Review__index","72570":"p__Competitions__Detail__index","73183":"p__Engineering__Lists__GraduationIndex__index","73220":"p__Classrooms__Lists__Video__Upload__index","74264":"p__Forums__New__index","74795":"p__Classrooms__Lists__Graduation__Tasks__Add__index","75043":"p__User__Detail__Topics__Poll__Edit__index","75357":"p__Engineering__Lists__TrainingProgram__Edit__index","75786":"layouts__LoginAndRegister__index","75816":"p__Paperlibrary__Random__Edit__index","76904":"p__MoopCases__FormPanel__index","77460":"p__Question__OjProblem__index","77857":"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index","78085":"p__Classrooms__Lists__Exercise__Review__index","79489":"p__Engineering__Lists__CourseList__index","79590":"p__User__Detail__TeachGroup__index","79921":"p__Classrooms__ExamList__index","80508":"p__Forums__Detail__id","81148":"p__Shixuns__Detail__Repository__UploadFile__index","81799":"p__Competitions__Entered__Assembly__TeamDateil","82339":"p__virtualSpaces__Lists__Plan__Detail__index","82425":"p__Classrooms__Lists__Board__Detail__index","82443":"p__Graduations__Lists__StageModule__index","83141":"p__Innovation__Detail__index","83212":"p__MoopCases__index","83935":"p__Classrooms__Lists__GroupHomework__index","84546":"p__Engineering__Lists__TrainingProgram__Add__index","85048":"p__Classrooms__Lists__Graduation__Topics__index","85111":"p__User__Detail__Order__pages__orderInformation__index","85297":"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index","85888":"p__Classrooms__Lists__CommonHomework__Add__index","85891":"p__virtualSpaces__Lists__Resources__index","86052":"p__Paths__Index__index","86452":"p__Innovation__PublicDataSet__index","86541":"p__Shixuns__Detail__Dataset__index","86634":"p__Innovation__Tasks__index","86820":"p__User__Detail__Topics__Normal__index","86913":"p__Question__AddOrEdit__index","87058":"p__virtualSpaces__Lists__Survey__Detail__index","87260":"p__Account__Certification__index","87922":"p__Classrooms__Lists__CourseGroup__Detail__index","88155":"p__Shixuns__Overview__index","88517":"p__User__Detail__Topics__Group__index","88866":"p__index","89076":"p__Account__Binding__index","89677":"p__virtualSpaces__Lists__Announcement__AddAndEdit__index","89785":"p__Classrooms__Lists__Template__student__index","90109":"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index","90265":"p__User__Detail__Topics__index","90337":"p__Paperlibrary__Random__PreviewEdit__index","91045":"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index","91470":"p__User__Register__index","91831":"p__Graduations__Index__index","92045":"p__Engineering__Lists__TeacherList__index","92501":"p__Search__index","92603":"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index","92823":"p__Engineering__Navigation__Home__index","92983":"p__Forums__Index__index","93260":"p__Paperlibrary__Add__index","93282":"layouts__ShixunDetail__index","93496":"p__User__Detail__OtherResources__index","93665":"p__tasks__index","93668":"p__Classrooms__Lists__CommonHomework__Detail__index","94078":"p__Messages__Tidings__index","94498":"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index","94662":"p__User__Detail__Paths__index","94715":"p__virtualSpaces__Lists__Material__Detail__index","94849":"p__User__Detail__ExperImentImg__index","95125":"p__Classrooms__Lists__Exercise__DetailedAnalysis__index","95176":"p__User__Detail__Videos__Protocol__index","95335":"p__Engineering__Lists__CourseMatrix__index","96444":"p__Video__Detail__id","96882":"p__Classrooms__New__StartClass__index","97008":"p__Shixuns__New__index","97046":"p__Shixuns__Detail__Repository__AddFile__index","98062":"p__User__Detail__Topicbank__index","98398":"p__virtualSpaces__Lists__Resources__Detail__index","98688":"p__Shixuns__Detail__Repository__index","98885":"p__Classrooms__Lists__Statistics__StudentStatistics__index","99674":"p__Shixuns__New__ImagePreview__index"}[chunkId] || chunkId) + "." + {"119":"591f90e8","292":"65fa8371","310":"fda5ca05","556":"633f0759","588":"a17f03a1","1082":"f03dc360","1482":"e9101ec4","1660":"950efe2c","1702":"d411e194","1911":"d3f8863e","1942":"d851e19c","2021":"5ce80c7a","2199":"efcb9028","2249":"90399667","2360":"2f3cadfa","2494":"5e069ec9","2555":"2bf4b956","2659":"c66098bb","2805":"575b30e3","2819":"84941410","2837":"b3a05bc1","3133":"6a9f7113","3317":"741c4e3b","3391":"db689d91","3451":"b946331a","3509":"d1037881","3585":"405957c0","3808":"3025ca74","3885":"e66b03f8","3951":"4374d991","4318":"79b51845","4685":"21279a05","4736":"791bd15f","4766":"575091ef","4847":"760c7bc1","4884":"0213c293","4973":"c7cda887","5112":"aa01d7d1","5434":"361b868d","5572":"9cae9ce8","6127":"06f05206","6146":"9eea3311","6177":"511862d0","6378":"27c8142f","6540":"4e8894a3","6685":"a1e38f8e","6758":"df40e344","6788":"2caa6f6d","7043":"eaf0b53a","7436":"bc190ab7","7655":"185ccd1a","7852":"baf73cdf","7884":"1d16caad","8331":"a4a47ed6","8484":"3493db05","8787":"fce2663e","8976":"cd7f9d63","8999":"4fffc3f5","9007":"9e03e549","9357":"f8bd716a","9416":"b7ae4743","9526":"83abf8e2","9928":"5856e32a","9951":"5be14d92","10195":"95a9c7f2","10237":"89d25f5e","10354":"5c063e6f","10485":"9a878e90","10737":"0fe857d4","10799":"4f978aae","10921":"784a49c3","11070":"fb3cd815","11253":"5481506c","11512":"73176882","11520":"9771e672","11525":"662de3bc","11545":"f8ec0d59","11581":"3a8292fa","11947":"4e4a0987","12076":"2104a38e","12102":"2bf2c216","12116":"99d2e3ea","12154":"17f68437","12216":"50df7f65","12303":"3d6a5a42","12386":"289c62c7","12409":"6535568c","12412":"e4793445","12476":"9ee52d20","12550":"c8b078af","12865":"5093c79d","12884":"7dfdbf6f","12911":"f94aa754","13006":"6ca8e265","13355":"1b53ad56","13395":"e1e0da77","13397":"0b706c31","13488":"c078cd10","13581":"4eaec625","13715":"86fc1964","14058":"9b12f057","14088":"c639825c","14105":"4b3e98bb","14227":"008ec0a9","14514":"3d0c6e10","14599":"126d15b6","14610":"9ecf05b1","14642":"d8d9787e","14662":"c3a68645","14682":"34867496","14692":"6b578caf","14738":"f5239208","14889":"393ff258","15148":"ff60864d","15186":"5a3bd2d4","15290":"7b3f25d8","15319":"9a5348d0","15382":"ae467618","15402":"b0aae798","15631":"d790a1bf","15845":"fb5ef03f","15989":"72ac87cc","16328":"35f65bf5","16365":"4b792f4a","16434":"8458e7bc","16703":"67c41079","16729":"6e3b0a99","16845":"aaada47a","17482":"3c0f2699","17486":"c5224c29","17496":"4c2f6de5","17527":"bfdc581a","17622":"32a4567c","17806":"24b4566b","18241":"3b0fa439","18302":"fd988cca","18307":"1fbd3368","18350":"0ed0f7c3","18515":"9fd20d0c","18898":"25ad586a","18963":"33e3df18","19124":"bdd630d6","19208":"85e01132","19215":"14ddd465","19360":"891a36ab","19519":"f2ccde23","19715":"be647b5d","19842":"bad972d4","19891":"6321cb3a","20026":"a0b31ddb","20125":"9190a88f","20357":"3e7f55c8","20459":"3c8c696a","20511":"561110b6","20576":"c90e7824","20680":"64def813","20700":"4ebd1b83","20834":"49c334ce","21257":"6832bbe5","21265":"1d1e1267","21361":"345c1c55","21423":"47e04510","21560":"23316432","21578":"0dc2e640","21770":"054baee4","21939":"ee10c111","21949":"0e405584","22134":"95180deb","22254":"314d9223","22307":"19157dcb","22527":"2829b059","22707":"61484e35","22761":"f2a8fe21","22814":"a9ac81ba","22818":"f500249b","23332":"12b2aea8","23418":"2e49d0a3","24175":"6aa5765d","24504":"0d92ec2e","24508":"340139b9","24612":"976d3a2d","24628":"b863dad4","24665":"31570ecc","24797":"eb563316","24821":"b454116c","25022":"62e315c7","25209":"f2d9e809","25294":"31e7b561","25470":"932771f9","25510":"082f0085","25624":"4a6219df","25705":"a954b064","25925":"14ee0db6","25972":"0af6cf56","26126":"400f4fd5","26366":"4c6efef3","26685":"6dd89faf","26741":"df4a4fa9","26788":"91c27aba","26883":"ca3f08b9","27178":"3e80d844","27182":"c32f5fb5","27301":"681e219e","27333":"03b2c73c","27395":"f822f15a","27706":"c0d5e1ef","27739":"54d27078","28042":"f05a8cfb","28072":"b755f3fc","28089":"aaa88c03","28161":"00a22aad","28209":"134fb3fb","28237":"7447494e","28435":"d90b2c15","28561":"ec76d55e","28639":"4807a423","28723":"e27ec039","28782":"570c0f4a","28920":"842a9870","28982":"10110cf4","29559":"cdc05f60","29647":"28b6c0db","29747":"ccc8807d","29895":"1fa85db5","29968":"5c930f27","30067":"9eacd414","30264":"e9e38e5f","30342":"3cf2887d","30518":"328e06fb","30713":"62a016c6","30741":"0afd7032","31006":"437d34a1","31154":"abb4690e","31211":"1ef74bf6","31427":"0bf6d52e","31674":"fbba2a20","31962":"9bae4db2","32029":"c07e95ba","32076":"ffebc380","32311":"1fb11b3c","33086":"8ea5ffa3","33356":"f0af072b","33553":"3b8f8d90","33727":"7102a6b0","33747":"6c76646d","33784":"070e64af","33805":"a93fd24f","34093":"7dbbcdd2","34419":"61bf0f74","34601":"3528a412","34741":"2c72a113","34790":"6eb90335","34800":"6edaaf59","34850":"daf624f2","34994":"3fde35aa","35060":"7530a2b3","35238":"03695274","35354":"c0640e01","35416":"b4018e87","35729":"356faeac","36029":"792358a2","36270":"ee75db3e","36381":"eb3c6a9e","36634":"03daa006","36784":"8cbf25d1","37013":"4bf8f446","37041":"8e2621a6","37062":"6b8ca72a","37264":"b01edbd4","37514":"628f46dd","37530":"a7fc7779","37637":"7f49e9fb","37775":"c475382d","37948":"8afa64ee","38007":"08b1da3e","38119":"86cd2a4a","38143":"799d6402","38399":"f6011d11","38447":"9226bb4d","38601":"c7244dcf","38634":"1eb9a9a0","38797":"49411af8","39252":"01ffe0b6","39332":"206d260a","39391":"59136af5","39404":"aff95d8a","39421":"cc9c5a3e","39695":"1bb3c64f","39797":"9c59d569","39950":"57e939c0","40410":"b1e73ace","40509":"41d62d7f","40559":"f20bb59e","40660":"7a8184a2","41048":"790a3f7c","41315":"400cecdf","41442":"4a924ef3","41657":"22e2109c","41672":"eb2c224a","41717":"151bc098","41920":"f20bc285","41953":"53eb11dd","42144":"38e854f4","42240":"270fdbda","42441":"5117f4f9","42783":"faa447f3","42826":"7bb724a3","43110":"6abf25af","43316":"076fa126","43428":"9b3702d0","43442":"de8f3991","43681":"f73fd23c","43862":"2e4b3980","44216":"6f9d9f13","44259":"3a38bb41","44354":"4d10aca1","44360":"2fe17938","44449":"80a1530a","44565":"d2560ca2","45096":"820ce45a","45179":"db4c25e9","45359":"4c490ca3","45413":"bc3ad2c6","45504":"9783c421","45650":"1cb94bcf","45775":"abf78105","45825":"a3ecc537","45992":"72339c98","46022":"de7e0ad5","46029":"bab0f45e","46305":"3ddb128d","46573":"db7fbeee","46675":"c2213355","46796":"3a25bd0c","46949":"2d54e227","46963":"255da3d4","47545":"fa498ff4","47686":"f38a5fc1","48077":"6067b850","48365":"d6e60861","48431":"15639d7c","48444":"2442c51d","48474":"1b884aef","48689":"9170aeb4","48776":"3ca5830e","49127":"f28f637e","49166":"d4431dd8","49205":"24e589e0","49260":"d82ab47f","49366":"78e5967e","49716":"cd836404","49890":"71974370","50546":"57ffe130","50566":"2e4ec4e1","50570":"a5d704fc","50812":"89a1a478","50869":"e939a77a","50928":"8021f7ae","51144":"88d767c5","51271":"d6911091","51276":"666a7892","51461":"63aac465","51582":"aeb2d79a","51646":"a1e61a3a","51855":"028eee2d","51945":"b675ebe6","52338":"b6785a36","52404":"2932f865","52485":"187fc151","52687":"2315e1ad","52720":"3cb1e974","52806":"5aafcfd4","52829":"38c4505b","52875":"b6ce82e7","53114":"685610c8","53247":"5868ff54","53326":"8143d233","53550":"d1343c48","53697":"344fc05c","53777":"630cd89c","53910":"5a325c3b","54056":"12f5aacf","54133":"b1e9eaff","54146":"e1d88df3","54164":"cd2f25b5","54222":"bcca2a64","54492":"77cc914e","54572":"cc81937c","54636":"a9316331","54770":"531ec02a","54862":"b3d4b420","55351":"b1b9a06c","55573":"e210975c","55624":"7be5fd35","55693":"4b714ff1","56047":"88939be0","56116":"179f71f9","56156":"c61ad60b","56277":"d65e7bf1","57045":"167aa216","57365":"7e7804c5","57560":"87889a41","57614":"5b4729e5","57750":"1db7b068","57845":"bbaa0f5e","57973":"07a993b0","58271":"04f27f83","59133":"2f939a05","59649":"85bdb2b7","59735":"1fec7a8f","59788":"659a4050","60479":"0f1de735","60533":"d378fbbc","60547":"168148b3","60908":"aec462e1","61043":"9fc2c168","61713":"0b682966","61727":"6e1ff829","61880":"e5a6cb60","62162":"35b0354e","62300":"f28c95a1","62548":"836213db","62779":"d6c9223a","62945":"927b34c0","62982":"0ef99425","63157":"1327a1df","63198":"f92793e1","63409":"814f56c7","64017":"2d7d2ab9","64144":"067d2b50","64217":"b6915eab","64422":"af67ab8d","64496":"d2b60907","64520":"dd453521","64853":"8f78e803","65022":"b176082e","65111":"2d3804be","65148":"8a44a6bb","65191":"7e780de0","65549":"e7464117","65789":"a96c9468","65816":"5367e9b1","65876":"a2754c64","66034":"761d9cad","66063":"fedeef65","66531":"88de2639","66583":"3c8d6cda","66651":"0bc6d9d0","66999":"74bd25e7","67156":"918b4bca","67242":"ca3bc9b3","67440":"027e4480","67878":"4fefc977","68014":"9cbe5220","68665":"0ea5ad0a","68827":"07cf87b6","68842":"19057860","68882":"5b6d40e6","68992":"817ba71a","69922":"521d64fe","69944":"1fe26f1e","70130":"38a18efd","70199":"20c44f0e","70671":"749b4875","70911":"b93b3d00","70928":"5c6eb41c","70981":"157d0b6b","71448":"260c8a8c","71450":"ce96da65","71475":"7b48cfe5","71783":"50157887","72011":"7efe6dda","72032":"9049b075","72529":"70b3cafd","72539":"85f0963a","72570":"e3b21ef1","72969":"53256e8c","73183":"e4ed9403","73220":"810377d7","73462":"1f5d6412","73755":"300ce04b","73813":"d757ea3f","74014":"5339ac81","74264":"09424842","74347":"a722ba6c","74795":"00aa3fe5","74862":"e6716c54","75043":"12d733b2","75264":"f03ff03f","75321":"9b9a5dc1","75357":"d5f5ca92","75786":"474a4f4f","75816":"0d4ae1d3","76153":"dac2d4b9","76626":"adbee402","76683":"3b5b366a","76894":"a3aee65d","76904":"a9c67da4","77084":"5fe882f0","77351":"87343884","77460":"aa75bff8","77857":"ebd72ab4","78085":"0e6f5eb6","78241":"b78f0802","78302":"2f657c59","78565":"64ad1456","78737":"fa31da0e","78782":"63bf2ae5","79372":"e7ae1bbb","79489":"d0d9c5e3","79503":"bf8be5da","79590":"bdb827cf","79635":"7c5606e3","79693":"7eb151db","79817":"959aa5d5","79921":"43cba63b","80182":"a398c78e","80347":"824a9d17","80508":"87163c57","80629":"ca49ee59","80807":"ab4d1587","81148":"46009112","81326":"32e6a0e9","81799":"a24f68b8","82096":"3f419e70","82339":"5a98cdbe","82425":"03fc0ca6","82443":"53fdf695","82626":"a508b473","82709":"1bda5e08","83076":"d200985a","83141":"2ab8d768","83212":"648ab8db","83552":"03cab0cc","83935":"94ac1751","84314":"5d121b24","84483":"8b885818","84546":"e0fe1096","84567":"c3791f8d","84712":"aec3a1b2","84742":"ee874009","85027":"f6471c18","85048":"ca7d3e51","85080":"3b6a7bc9","85111":"30fb60ac","85297":"466feecc","85494":"da5840b1","85764":"5c1c73b5","85888":"1b766349","85891":"919c574f","86045":"0a358cbb","86052":"2fd3b5ef","86129":"801a9880","86411":"ee2e78b9","86452":"060d7b42","86541":"e00f34fd","86634":"9e51431b","86731":"db8b1a8c","86774":"2db1d78d","86820":"619bca1a","86859":"45c5ad0b","86913":"c0557ca4","87058":"0b226faa","87099":"d7c01f24","87260":"a36ea770","87599":"3105cea6","87922":"9e9b0d4e","87964":"83911fb5","88148":"690abe69","88155":"f0e1df22","88299":"1dcc9a47","88517":"73a85648","88699":"bd237d9d","88720":"3d9004e8","88866":"5dd601ba","89076":"797ed763","89554":"3bd5f2ea","89677":"ab023b7d","89785":"80e03b00","90109":"c420d19b","90142":"c14b3c7e","90265":"8604363a","90316":"c34a4fc4","90337":"7a539a03","91045":"6c22553e","91090":"208ddee6","91195":"ce915b55","91274":"c142e23b","91462":"2cbc46cd","91470":"8dd6f0e7","91831":"7eb591c5","91857":"53349e28","92045":"f926cfde","92309":"58ed7894","92501":"f5b7e8a3","92538":"a4db897b","92594":"0f02017f","92603":"057a774b","92823":"eea2da12","92983":"6be425c5","93260":"1640d744","93282":"dcdd2451","93496":"5aacf49f","93665":"14810ecd","93668":"9aaf747e","93948":"4840e8cc","94001":"2a929a06","94051":"cf321efe","94078":"1c925190","94498":"13c8dca2","94608":"7b8e36d1","94662":"34ca92a9","94715":"44123755","94849":"c5786fa1","95125":"102c98aa","95176":"6e593231","95335":"c29f9291","95507":"50534db1","95679":"33378d80","95942":"40d0da22","96444":"6d238a9f","96495":"40e0cd30","96713":"07173570","96795":"ec3d628e","96882":"db34fa74","97008":"fcdc03bf","97041":"4959e602","97046":"c33a97ce","97120":"0eb88e7b","97591":"4868bb6b","97746":"b40d0b76","97986":"b7dff870","98062":"e0553c3a","98228":"b0216450","98337":"091475ac","98398":"391d29ca","98688":"1c872784","98885":"277f99bd","99104":"d4f63539","99252":"13396c29","99313":"baae9749","99674":"e09732be"}[chunkId] + ".async.js"; +/******/ return "" + ({"292":"p__Classrooms__Lists__Exercise__Add__index","310":"p__User__Detail__ExperImentImg__Detail__index","556":"p__User__Detail__Order__pages__invoice__index","1482":"p__Classrooms__Lists__Graduation__Topics__Edit__index","1660":"p__User__QQLogin__index","1702":"p__Classrooms__New__index","2659":"p__User__Detail__UserPortrait__index","2819":"p__Classrooms__Lists__Template__detail__index","3317":"p__Classrooms__Lists__Graduation__Topics__Add__index","3391":"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index","3451":"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index","3509":"p__HttpStatus__SixActivities","3585":"p__Classrooms__Lists__Statistics__StudentSituation__index","3951":"p__Classrooms__Lists__ProgramHomework__Detail__index","4736":"p__User__Detail__Projects__index","4766":"p__Administration__index","4884":"p__Shixuns__Detail__Repository__Commit__index","4973":"p__Engineering__Evaluate__List__index","5572":"p__Paths__HigherVocationalEducation__index","6127":"p__Classrooms__Lists__ProgramHomework__Ranking__index","6685":"p__Shixuns__Detail__RankingList__index","6758":"p__Classrooms__Lists__Attachment__index","6788":"p__Classrooms__Lists__ProgramHomework__index","7043":"p__User__Detail__Topics__Exercise__Edit__index","7852":"p__Classrooms__Lists__ShixunHomeworks__index","7884":"p__Shixuns__Exports__index","8787":"p__Competitions__Entered__index","8999":"p__Three__index","9416":"p__Graduations__Lists__Tasks__index","10195":"p__Classrooms__Lists__GroupHomework__Detail__index","10485":"p__Question__AddOrEdit__BatchAdd__index","10737":"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index","10799":"p__User__Detail__Topics__Poll__Detail__index","10921":"p__Classrooms__Lists__Exercise__CodeDetails__index","11070":"p__Innovation__PublicMirror__index","11253":"p__Graduations__Lists__Gradingsummary__index","11512":"p__Classrooms__Lists__Exercise__AnswerCheck__index","11520":"p__Engineering__Lists__StudentList__index","11545":"p__Paperlibrary__Random__ExchangeFromProblemSet__index","11581":"p__Problemset__Preview__index","12076":"p__User__Detail__Competitions__index","12102":"p__Classrooms__Lists__Board__Edit__index","12216":"p__DataSet__Index__index","12303":"p__Classrooms__Lists__CommonHomework__Comment__index","12412":"p__User__Detail__Videos__index","12476":"p__Colleges__index","12865":"p__Innovation__MyMirror__index","12884":"p__Classrooms__Lists__ProgramHomework__Comment__index","13006":"p__Engineering__index","13355":"p__Classrooms__Lists__Polls__index","13581":"p__Classrooms__Lists__ShixunHomeworks__Detail__index","14058":"p__Demo__index","14105":"p__Classrooms__Lists__Exercise__Answer__index","14227":"p__Paths__Overview__index","14514":"p__Account__Results__index","14599":"p__Problemset__index","14610":"p__User__Detail__LearningPath__index","14662":"p__Classrooms__Lists__GroupHomework__Review__index","14889":"p__Classrooms__Lists__Exercise__ImitateAnswer__index","15148":"p__Classrooms__Lists__Template__index","15186":"p__Classrooms__Overview__index","15319":"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index","15382":"p__DataSet__Detail__index","15402":"p__User__Detail__Topics__Detail__index","16328":"p__Shixuns__Edit__body__Warehouse__index","16434":"p__User__Detail__Order__pages__records__index","16729":"p__Classrooms__Lists__GroupHomework__Edit__index","16845":"p__Shixuns__Detail__Settings__index","17482":"p__Classrooms__Lists__Exercise__Notice__index","17527":"p__MyProblem__RecordDetail__index","17622":"p__Classrooms__Lists__Polls__Detail__index","17806":"p__Classrooms__Lists__Statistics__StatisticsQuality__index","18241":"p__virtualSpaces__Lists__Plan__index","18302":"p__Classrooms__Lists__Board__index","18307":"p__User__Detail__Shixuns__index","19215":"p__Shixuns__Detail__ForkList__index","19360":"p__User__Detail__virtualSpaces__index","19519":"p__User__Detail__ClassManagement__Item__index","19715":"p__Classrooms__Lists__CommonHomework__Edit__index","19891":"p__User__Detail__Videos__Success__index","20026":"p__Classrooms__Lists__Graduation__Tasks__Edit__index","20576":"p__Account__Profile__Edit__index","20680":"p__Innovation__index","20700":"p__tasks__Jupyter__index","21265":"p__Classrooms__Lists__Announcement__index","21423":"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index","21578":"p__Classrooms__Lists__Graduation__Topics__Detail__index","21939":"p__User__Detail__Order__index","22254":"p__Shixuns__Detail__Discuss__index","22307":"p__Report__index","22707":"p__Innovation__MyDataSet__index","23332":"p__Paths__Detail__id","24504":"p__virtualSpaces__Lists__Survey__index","25022":"p__Graduations__Lists__Settings__index","25470":"p__Shixuns__Detail__Collaborators__index","25705":"p__virtualSpaces__Lists__Construction__index","25972":"layouts__user__index","26366":"p__Innovation__PublicProject__index","26685":"p__Classrooms__Index__index","26741":"p__Engineering__Norm__List__index","26788":"p__Home__Detail__ShixunContext__Detail__index","26883":"p__Competitions__Index__index","27178":"p__User__BindAccount__index","27182":"p__User__ResetPassword__index","27333":"p__User__WechatLogin__index","27395":"p__Classrooms__Lists__Statistics__StudentDetail__index","28072":"p__Classrooms__Lists__GroupHomework__SubmitWork__index","28237":"p__User__Detail__Order__pages__view__index","28435":"p__Classrooms__Lists__Attendance__index","28639":"p__Forums__Index__redirect","28723":"p__Classrooms__Lists__Polls__Edit__index","28782":"p__Shixuns__Index__index","28982":"p__Paths__New__index","29647":"p__Question__Index__index","30067":"p__Message__index","30264":"p__User__Detail__Order__pages__orderPay__index","30342":"p__Classrooms__Lists__ShixunHomeworks__Comment__index","31006":"p__RestFul__index","31211":"p__Classrooms__Lists__CommonHomework__EditWork__index","31427":"p__Classrooms__Lists__Statistics__index","31674":"p__Classrooms__ClassicCases__index","31962":"p__Classrooms__Lists__Engineering__index","33356":"p__Classrooms__Lists__Assistant__index","33747":"p__virtualSpaces__Lists__Homepage__index","33784":"p__Paperlibrary__Random__Detail__index","34093":"p__Classrooms__Lists__Attendance__Detail__index","34601":"p__Paths__Detail__Statistics__index","34741":"p__Problems__OjForm__NewEdit__index","34800":"p__Engineering__Lists__GraduatedMatrix__index","34994":"p__Problems__OjForm__index","35238":"p__virtualSpaces__Lists__Material__index","35729":"p__Help__Index","36029":"p__Administration__Student__index","36270":"p__MyProblem__index","36784":"p__Innovation__Edit__index","37062":"layouts__SimpleLayouts","37948":"p__User__Detail__ClassManagement__index","38143":"layouts__GraduationsDetail__index","38447":"p__virtualSpaces__Lists__Knowledge__index","38634":"p__Classrooms__Lists__CourseGroup__List__index","38797":"p__Competitions__Edit__index","39332":"p__Classrooms__Lists__Video__index","39391":"p__Engineering__Lists__CurseSetting__index","39404":"monaco-editor","39695":"p__Classrooms__Lists__Polls__Add__index","40559":"layouts__virtualDetail__index","41048":"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index","41657":"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index","41717":"layouts__index","41953":"p__Problemset__NewItem__index","42240":"p__User__Detail__Videos__Upload__index","42826":"p__User__Detail__DataSet__index","43442":"p__Classrooms__Lists__Board__Add__index","43862":"p__HttpStatus__403","44216":"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index","44259":"p__User__Detail__Order__pages__result__index","44449":"p__Competitions__Exports__index","44565":"p__HttpStatus__500","45096":"p__Shixuns__Detail__AuditSituation__index","45179":"p__Administration__Student__Edit__index","45359":"p__Messages__Detail__index","45650":"p__Competitions__Update__index","45775":"p__Engineering__Lists__Document__index","45825":"p__Classrooms__Lists__Exercise__index","45992":"p__Classrooms__Lists__Exercise__ReviewGroup__index","46796":"p__virtualSpaces__Lists__Announcement__Detail__index","46963":"p__Classrooms__Lists__Engineering__Detail__index","47545":"p__Graduations__Lists__Archives__index","48077":"p__Classrooms__Lists__Students__index","48365":"p__Home__Detail__ShixunContext__index","48431":"p__Classrooms__Lists__Exercise__Export__index","48689":"p__Classrooms__Lists__Statistics__VideoStatistics__index","49205":"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index","49366":"p__User__Login__index","49716":"p__Question__OjProblem__RecordDetail__index","49890":"p__Classrooms__Lists__CommonHomework__index","50570":"p__Home__Detail__OnlineNum__index","50869":"p__Guidance__index","51276":"p__MoopCases__Success__index","51461":"p__Graduations__Lists__Topics__index","51582":"p__Classrooms__Lists__GroupHomework__Add__index","51855":"p__MoopCases__InfoPanel__index","52338":"p__Classrooms__Lists__CommonHomework__Review__index","52404":"p__Classrooms__Lists__Template__teacher__index","52806":"p__User__Detail__Topics__Exercise__Detail__index","52829":"p__Messages__Private__index","52875":"p__Shixuns__Detail__id","53247":"p__Paperlibrary__See__index","53910":"p__HttpStatus__introduction","54056":"p__IntrainCourse__index","54164":"p__Classrooms__Lists__Exercise__Detail__index","54492":"p__Graduations__Lists__StudentSelection__index","54572":"p__Classrooms__Lists__ExportList__index","54770":"p__Classrooms__Lists__ProgramHomework__Detail__answer__index","54862":"p__Paperlibrary__index","55573":"p__Shixuns__Detail__Merge__index","55624":"p__Graduations__Lists__Index__index","56277":"p__Shixuns__Edit__index","57045":"p__Classrooms__Lists__CommonHomework__SubmitWork__index","57560":"p__Administration__College__index","57614":"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index","59133":"p__Shixuns__Detail__Challenges__index","59649":"p__Engineering__Lists__TrainingProgram__index","59788":"p__Account__Profile__index","60479":"p__Classrooms__Lists__GroupHomework__EditWork__index","60533":"p__Classrooms__Lists__Video__Statistics__Detail__index","60547":"p__Account__index","61043":"p__Classrooms__Lists__Graduation__Tasks__index","61713":"p__virtualSpaces__Lists__Settings__index","61727":"p__Classrooms__Lists__CourseGroup__NotList__index","61880":"p__User__Detail__Order__pages__apply__index","62300":"p__Api__index","62548":"p__Engineering__Norm__Detail__index","63157":"p__User__Detail__ExperImentImg__Add__index","64017":"p__Classrooms__Lists__PlaceholderPage__index","64144":"p__Problemset__Preview__New__index","64217":"p__Classrooms__Lists__Video__Statistics__index","64496":"p__HttpStatus__HpcCourse","64520":"p__Account__Secure__index","65111":"p__Terminal__index","65148":"p__Classrooms__Lists__Polls__Answer__index","65191":"p__User__Detail__Certificate__index","65549":"p__Shixuns__New__CreateImg__index","65816":"p__virtualSpaces__Lists__Announcement__index","66034":"p__HttpStatus__UserAgents","66063":"p__Graduations__Lists__Personmanage__index","66531":"p__HttpStatus__404","66583":"p__User__Detail__Classrooms__index","66651":"p__Engineering__Evaluate__Detail__index","67242":"p__Innovation__MyProject__index","67878":"p__Classrooms__Lists__LiveVideo__index","68014":"p__Classrooms__Lists__Teachers__index","68665":"p__Engineering__Lists__TrainingObjectives__index","68827":"p__Classrooms__Lists__OnlineLearning__index","68882":"p__Classrooms__Lists__Graduation__Tasks__Detail__index","69922":"p__Classrooms__Lists__Statistics__StudentVideo__index","69944":"p__Classrooms__Lists__Video__Statistics__StudentDetail__index","70928":"p__RestFul__Edit__index","71450":"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index","71475":"p__Shixuns__Detail__Dataset__JupyterData__index","71783":"p__virtualSpaces__Lists__Experiment__index","72529":"p__User__Detail__id","72539":"p__Graduations__Review__index","72570":"p__Competitions__Detail__index","73183":"p__Engineering__Lists__GraduationIndex__index","73220":"p__Classrooms__Lists__Video__Upload__index","74264":"p__Forums__New__index","74795":"p__Classrooms__Lists__Graduation__Tasks__Add__index","75043":"p__User__Detail__Topics__Poll__Edit__index","75357":"p__Engineering__Lists__TrainingProgram__Edit__index","75786":"layouts__LoginAndRegister__index","75816":"p__Paperlibrary__Random__Edit__index","76904":"p__MoopCases__FormPanel__index","77460":"p__Question__OjProblem__index","77857":"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index","78085":"p__Classrooms__Lists__Exercise__Review__index","79489":"p__Engineering__Lists__CourseList__index","79590":"p__User__Detail__TeachGroup__index","79921":"p__Classrooms__ExamList__index","80508":"p__Forums__Detail__id","81148":"p__Shixuns__Detail__Repository__UploadFile__index","81799":"p__Competitions__Entered__Assembly__TeamDateil","82339":"p__virtualSpaces__Lists__Plan__Detail__index","82425":"p__Classrooms__Lists__Board__Detail__index","82443":"p__Graduations__Lists__StageModule__index","83141":"p__Innovation__Detail__index","83212":"p__MoopCases__index","83935":"p__Classrooms__Lists__GroupHomework__index","84546":"p__Engineering__Lists__TrainingProgram__Add__index","85048":"p__Classrooms__Lists__Graduation__Topics__index","85111":"p__User__Detail__Order__pages__orderInformation__index","85297":"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index","85888":"p__Classrooms__Lists__CommonHomework__Add__index","85891":"p__virtualSpaces__Lists__Resources__index","86052":"p__Paths__Index__index","86452":"p__Innovation__PublicDataSet__index","86541":"p__Shixuns__Detail__Dataset__index","86634":"p__Innovation__Tasks__index","86820":"p__User__Detail__Topics__Normal__index","86913":"p__Question__AddOrEdit__index","87058":"p__virtualSpaces__Lists__Survey__Detail__index","87260":"p__Account__Certification__index","87922":"p__Classrooms__Lists__CourseGroup__Detail__index","88155":"p__Shixuns__Overview__index","88517":"p__User__Detail__Topics__Group__index","88866":"p__index","89076":"p__Account__Binding__index","89677":"p__virtualSpaces__Lists__Announcement__AddAndEdit__index","89785":"p__Classrooms__Lists__Template__student__index","90109":"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index","90265":"p__User__Detail__Topics__index","90337":"p__Paperlibrary__Random__PreviewEdit__index","91045":"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index","91470":"p__User__Register__index","91831":"p__Graduations__Index__index","92045":"p__Engineering__Lists__TeacherList__index","92501":"p__Search__index","92603":"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index","92823":"p__Engineering__Navigation__Home__index","92983":"p__Forums__Index__index","93260":"p__Paperlibrary__Add__index","93282":"layouts__ShixunDetail__index","93496":"p__User__Detail__OtherResources__index","93665":"p__tasks__index","93668":"p__Classrooms__Lists__CommonHomework__Detail__index","94078":"p__Messages__Tidings__index","94498":"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index","94662":"p__User__Detail__Paths__index","94715":"p__virtualSpaces__Lists__Material__Detail__index","94849":"p__User__Detail__ExperImentImg__index","95125":"p__Classrooms__Lists__Exercise__DetailedAnalysis__index","95176":"p__User__Detail__Videos__Protocol__index","95335":"p__Engineering__Lists__CourseMatrix__index","96444":"p__Video__Detail__id","96882":"p__Classrooms__New__StartClass__index","97008":"p__Shixuns__New__index","97046":"p__Shixuns__Detail__Repository__AddFile__index","98062":"p__User__Detail__Topicbank__index","98398":"p__virtualSpaces__Lists__Resources__Detail__index","98688":"p__Shixuns__Detail__Repository__index","98885":"p__Classrooms__Lists__Statistics__StudentStatistics__index","99674":"p__Shixuns__New__ImagePreview__index"}[chunkId] || chunkId) + "." + {"119":"591f90e8","292":"65fa8371","310":"fda5ca05","556":"633f0759","588":"a17f03a1","1082":"f03dc360","1482":"e9101ec4","1660":"950efe2c","1702":"d411e194","1911":"d3f8863e","1942":"d851e19c","2021":"5ce80c7a","2199":"efcb9028","2249":"90399667","2360":"2f3cadfa","2494":"5e069ec9","2555":"2bf4b956","2659":"c66098bb","2805":"575b30e3","2819":"84941410","2837":"b3a05bc1","3133":"6a9f7113","3317":"741c4e3b","3391":"db689d91","3451":"b946331a","3509":"d1037881","3585":"405957c0","3808":"3025ca74","3885":"e66b03f8","3951":"4374d991","4318":"79b51845","4685":"21279a05","4736":"791bd15f","4766":"575091ef","4847":"760c7bc1","4884":"0213c293","4973":"c7cda887","5112":"aa01d7d1","5434":"361b868d","5572":"9cae9ce8","6127":"06f05206","6146":"9eea3311","6177":"511862d0","6378":"27c8142f","6540":"4e8894a3","6685":"a1e38f8e","6758":"df40e344","6788":"2caa6f6d","7043":"eaf0b53a","7436":"bc190ab7","7655":"185ccd1a","7852":"baf73cdf","7884":"1d16caad","8331":"a4a47ed6","8484":"3493db05","8787":"fce2663e","8976":"cd7f9d63","8999":"4fffc3f5","9007":"9e03e549","9357":"f8bd716a","9416":"b7ae4743","9526":"83abf8e2","9928":"5856e32a","9951":"5be14d92","10195":"95a9c7f2","10237":"89d25f5e","10354":"5c063e6f","10485":"9a878e90","10737":"0fe857d4","10799":"4f978aae","10921":"784a49c3","11070":"fb3cd815","11253":"5481506c","11512":"73176882","11520":"9771e672","11525":"662de3bc","11545":"f8ec0d59","11581":"3a8292fa","11947":"4e4a0987","12076":"2104a38e","12102":"2bf2c216","12116":"99d2e3ea","12154":"17f68437","12216":"50df7f65","12303":"3d6a5a42","12386":"289c62c7","12409":"6535568c","12412":"e4793445","12476":"9ee52d20","12550":"c8b078af","12865":"5093c79d","12884":"7dfdbf6f","12911":"ffbabc43","13006":"6ca8e265","13355":"1b53ad56","13395":"e1e0da77","13397":"0b706c31","13488":"c078cd10","13581":"4eaec625","13715":"86fc1964","14058":"9b12f057","14088":"c639825c","14105":"4b3e98bb","14227":"008ec0a9","14514":"3d0c6e10","14599":"126d15b6","14610":"9ecf05b1","14642":"d8d9787e","14662":"c3a68645","14682":"34867496","14692":"6b578caf","14738":"f5239208","14889":"393ff258","15148":"ff60864d","15186":"5a3bd2d4","15290":"7b3f25d8","15319":"9a5348d0","15382":"ae467618","15402":"b0aae798","15631":"d790a1bf","15845":"fb5ef03f","15989":"72ac87cc","16328":"35f65bf5","16365":"4b792f4a","16434":"8458e7bc","16703":"67c41079","16729":"6e3b0a99","16845":"aaada47a","17482":"3c0f2699","17486":"c5224c29","17496":"4c2f6de5","17527":"bfdc581a","17622":"32a4567c","17806":"24b4566b","18241":"3b0fa439","18302":"fd988cca","18307":"1fbd3368","18350":"0ed0f7c3","18515":"9fd20d0c","18898":"25ad586a","18963":"33e3df18","19124":"bdd630d6","19208":"85e01132","19215":"14ddd465","19360":"891a36ab","19519":"f2ccde23","19715":"be647b5d","19842":"bad972d4","19891":"6321cb3a","20026":"a0b31ddb","20125":"9190a88f","20357":"3e7f55c8","20459":"3c8c696a","20511":"561110b6","20576":"c90e7824","20680":"64def813","20700":"4ebd1b83","20834":"49c334ce","21257":"6832bbe5","21265":"1d1e1267","21361":"345c1c55","21423":"47e04510","21560":"23316432","21578":"0dc2e640","21770":"054baee4","21939":"ee10c111","21949":"0e405584","22134":"95180deb","22254":"314d9223","22307":"19157dcb","22527":"2829b059","22707":"61484e35","22761":"f2a8fe21","22814":"a9ac81ba","22818":"f500249b","23332":"12b2aea8","23418":"2e49d0a3","24175":"6aa5765d","24504":"0d92ec2e","24508":"340139b9","24612":"976d3a2d","24628":"b863dad4","24665":"31570ecc","24797":"eb563316","24821":"b454116c","25022":"62e315c7","25209":"f2d9e809","25294":"31e7b561","25470":"932771f9","25510":"082f0085","25624":"4a6219df","25705":"a954b064","25925":"14ee0db6","25972":"0af6cf56","26126":"400f4fd5","26366":"4c6efef3","26685":"6dd89faf","26741":"df4a4fa9","26788":"91c27aba","26883":"ca3f08b9","27178":"3e80d844","27182":"c32f5fb5","27301":"681e219e","27333":"03b2c73c","27395":"f822f15a","27706":"c0d5e1ef","27739":"54d27078","28042":"f05a8cfb","28072":"b755f3fc","28089":"aaa88c03","28161":"00a22aad","28209":"134fb3fb","28237":"7447494e","28435":"d90b2c15","28561":"ec76d55e","28639":"4807a423","28723":"e27ec039","28782":"570c0f4a","28920":"842a9870","28982":"10110cf4","29559":"cdc05f60","29647":"28b6c0db","29747":"ccc8807d","29895":"1fa85db5","29968":"5c930f27","30067":"9eacd414","30264":"e9e38e5f","30342":"3cf2887d","30518":"328e06fb","30713":"62a016c6","30741":"0afd7032","31006":"437d34a1","31154":"abb4690e","31211":"1ef74bf6","31427":"0bf6d52e","31674":"fbba2a20","31962":"9bae4db2","32029":"c07e95ba","32076":"ffebc380","32311":"1fb11b3c","33086":"8ea5ffa3","33356":"f0af072b","33553":"3b8f8d90","33727":"7102a6b0","33747":"6c76646d","33784":"070e64af","33805":"a93fd24f","34093":"7dbbcdd2","34419":"61bf0f74","34601":"3528a412","34741":"2c72a113","34790":"6eb90335","34800":"6edaaf59","34850":"daf624f2","34994":"3fde35aa","35060":"7530a2b3","35238":"03695274","35354":"c0640e01","35416":"b4018e87","35729":"356faeac","36029":"792358a2","36270":"ee75db3e","36381":"eb3c6a9e","36634":"03daa006","36784":"8cbf25d1","37013":"4bf8f446","37041":"8e2621a6","37062":"6b8ca72a","37264":"b01edbd4","37514":"628f46dd","37530":"a7fc7779","37637":"7f49e9fb","37775":"c475382d","37948":"8afa64ee","38007":"08b1da3e","38119":"86cd2a4a","38143":"799d6402","38399":"f6011d11","38447":"9226bb4d","38601":"c7244dcf","38634":"1eb9a9a0","38797":"49411af8","39252":"01ffe0b6","39332":"206d260a","39391":"59136af5","39404":"aff95d8a","39421":"cc9c5a3e","39695":"1bb3c64f","39797":"9c59d569","39950":"57e939c0","40410":"b1e73ace","40509":"4d862cf6","40559":"f20bb59e","40660":"7a8184a2","41048":"790a3f7c","41315":"400cecdf","41442":"4a924ef3","41657":"22e2109c","41672":"eb2c224a","41717":"151bc098","41920":"f20bc285","41953":"53eb11dd","42144":"38e854f4","42240":"270fdbda","42441":"5117f4f9","42783":"faa447f3","42826":"7bb724a3","43110":"6abf25af","43316":"076fa126","43428":"9b3702d0","43442":"de8f3991","43681":"f73fd23c","43862":"2e4b3980","44216":"6f9d9f13","44259":"3a38bb41","44354":"4d10aca1","44360":"2fe17938","44449":"80a1530a","44565":"d2560ca2","45096":"820ce45a","45179":"db4c25e9","45359":"4c490ca3","45413":"bc3ad2c6","45504":"9783c421","45650":"1cb94bcf","45775":"abf78105","45825":"a3ecc537","45992":"72339c98","46022":"de7e0ad5","46029":"bab0f45e","46305":"3ddb128d","46573":"db7fbeee","46675":"c2213355","46796":"3a25bd0c","46949":"2d54e227","46963":"255da3d4","47545":"fa498ff4","47686":"f38a5fc1","48077":"6067b850","48365":"d6e60861","48431":"15639d7c","48444":"2442c51d","48474":"1b884aef","48689":"9170aeb4","48776":"3ca5830e","49127":"f28f637e","49166":"d4431dd8","49205":"24e589e0","49260":"d82ab47f","49366":"78e5967e","49716":"cd836404","49890":"71974370","50546":"57ffe130","50566":"2e4ec4e1","50570":"a5d704fc","50812":"89a1a478","50869":"e939a77a","50928":"8021f7ae","51144":"88d767c5","51271":"d6911091","51276":"666a7892","51461":"63aac465","51582":"aeb2d79a","51646":"a1e61a3a","51855":"028eee2d","51945":"b675ebe6","52338":"b6785a36","52404":"2932f865","52485":"187fc151","52687":"2315e1ad","52720":"3cb1e974","52806":"5aafcfd4","52829":"38c4505b","52875":"b6ce82e7","53114":"685610c8","53247":"5868ff54","53326":"8143d233","53550":"d1343c48","53697":"344fc05c","53777":"630cd89c","53910":"5a325c3b","54056":"12f5aacf","54133":"b1e9eaff","54146":"e1d88df3","54164":"cd2f25b5","54222":"bcca2a64","54492":"77cc914e","54572":"cc81937c","54636":"a9316331","54770":"531ec02a","54862":"b3d4b420","55351":"b1b9a06c","55573":"e210975c","55624":"7be5fd35","55693":"4b714ff1","56047":"88939be0","56116":"179f71f9","56156":"c61ad60b","56277":"d65e7bf1","57045":"167aa216","57365":"7e7804c5","57560":"87889a41","57614":"5b4729e5","57750":"1db7b068","57845":"bbaa0f5e","57973":"07a993b0","58271":"04f27f83","59133":"2f939a05","59649":"85bdb2b7","59735":"1fec7a8f","59788":"659a4050","60479":"0f1de735","60533":"d378fbbc","60547":"168148b3","60908":"aec462e1","61043":"9fc2c168","61713":"0b682966","61727":"6e1ff829","61880":"e5a6cb60","62162":"35b0354e","62300":"f28c95a1","62548":"836213db","62779":"d6c9223a","62945":"927b34c0","62982":"0ef99425","63157":"1327a1df","63198":"f92793e1","63409":"814f56c7","64017":"2d7d2ab9","64144":"067d2b50","64217":"b6915eab","64422":"af67ab8d","64496":"d2b60907","64520":"dd453521","64853":"8f78e803","65022":"71033022","65111":"2d3804be","65148":"8a44a6bb","65191":"7e780de0","65549":"e7464117","65789":"a96c9468","65816":"5367e9b1","65876":"a2754c64","66034":"761d9cad","66063":"fedeef65","66531":"88de2639","66583":"3c8d6cda","66651":"0bc6d9d0","66999":"74bd25e7","67156":"918b4bca","67242":"ca3bc9b3","67440":"027e4480","67878":"4fefc977","68014":"9cbe5220","68665":"0ea5ad0a","68827":"07cf87b6","68842":"19057860","68882":"5b6d40e6","68992":"817ba71a","69922":"521d64fe","69944":"1fe26f1e","70130":"38a18efd","70199":"20c44f0e","70671":"749b4875","70911":"b93b3d00","70928":"5c6eb41c","70981":"157d0b6b","71448":"260c8a8c","71450":"ce96da65","71475":"7b48cfe5","71783":"50157887","72011":"7efe6dda","72032":"9049b075","72529":"70b3cafd","72539":"85f0963a","72570":"e3b21ef1","72969":"53256e8c","73183":"e4ed9403","73220":"810377d7","73462":"1f5d6412","73755":"300ce04b","73813":"d757ea3f","74014":"5339ac81","74264":"09424842","74347":"a722ba6c","74795":"00aa3fe5","74862":"e6716c54","75043":"12d733b2","75264":"f03ff03f","75321":"9b9a5dc1","75357":"d5f5ca92","75786":"474a4f4f","75816":"0d4ae1d3","76153":"dac2d4b9","76626":"adbee402","76683":"3b5b366a","76894":"a3aee65d","76904":"a9c67da4","77084":"5fe882f0","77351":"87343884","77460":"aa75bff8","77857":"ebd72ab4","78085":"0e6f5eb6","78241":"b78f0802","78302":"2f657c59","78565":"64ad1456","78737":"fa31da0e","78782":"63bf2ae5","79372":"e7ae1bbb","79489":"d0d9c5e3","79503":"bf8be5da","79590":"bdb827cf","79635":"7c5606e3","79693":"7eb151db","79817":"959aa5d5","79921":"43cba63b","80182":"a398c78e","80347":"824a9d17","80508":"87163c57","80629":"ca49ee59","80807":"ab4d1587","81148":"46009112","81326":"32e6a0e9","81799":"a24f68b8","82096":"3f419e70","82339":"5a98cdbe","82425":"03fc0ca6","82443":"53fdf695","82626":"a508b473","82709":"1bda5e08","83076":"d200985a","83141":"2ab8d768","83212":"648ab8db","83552":"03cab0cc","83935":"94ac1751","84314":"5d121b24","84483":"8b885818","84546":"e0fe1096","84567":"c3791f8d","84712":"aec3a1b2","84742":"ee874009","85027":"f6471c18","85048":"ca7d3e51","85080":"3b6a7bc9","85111":"30fb60ac","85297":"466feecc","85494":"da5840b1","85764":"5c1c73b5","85888":"1b766349","85891":"919c574f","86045":"0a358cbb","86052":"2fd3b5ef","86129":"801a9880","86411":"ee2e78b9","86452":"060d7b42","86541":"e00f34fd","86634":"9e51431b","86731":"db8b1a8c","86774":"2db1d78d","86820":"619bca1a","86859":"45c5ad0b","86913":"c0557ca4","87058":"0b226faa","87099":"d7c01f24","87260":"a36ea770","87599":"3105cea6","87922":"9e9b0d4e","87964":"83911fb5","88148":"690abe69","88155":"f0e1df22","88299":"1dcc9a47","88517":"73a85648","88699":"bd237d9d","88720":"3d9004e8","88866":"5dd601ba","89076":"797ed763","89554":"3bd5f2ea","89677":"ab023b7d","89785":"80e03b00","90109":"c420d19b","90142":"c14b3c7e","90265":"8604363a","90316":"c34a4fc4","90337":"7a539a03","91045":"6c22553e","91090":"208ddee6","91195":"ce915b55","91274":"c142e23b","91462":"2cbc46cd","91470":"8dd6f0e7","91831":"7eb591c5","91857":"53349e28","92045":"f926cfde","92309":"58ed7894","92501":"f5b7e8a3","92538":"a4db897b","92594":"0f02017f","92603":"057a774b","92823":"eea2da12","92983":"6be425c5","93260":"1640d744","93282":"dcdd2451","93496":"5aacf49f","93665":"14810ecd","93668":"9aaf747e","93948":"4840e8cc","94001":"2a929a06","94051":"cf321efe","94078":"1c925190","94498":"13c8dca2","94608":"7b8e36d1","94662":"34ca92a9","94715":"44123755","94849":"c5786fa1","95125":"102c98aa","95176":"6e593231","95335":"c29f9291","95507":"50534db1","95679":"33378d80","95942":"40d0da22","96444":"6d238a9f","96495":"40e0cd30","96713":"07173570","96795":"ec3d628e","96882":"db34fa74","97008":"fcdc03bf","97041":"4959e602","97046":"c33a97ce","97120":"0eb88e7b","97591":"4868bb6b","97746":"b40d0b76","97986":"b7dff870","98062":"e0553c3a","98228":"b0216450","98337":"091475ac","98398":"391d29ca","98688":"1c872784","98885":"277f99bd","99104":"d4f63539","99252":"13396c29","99313":"baae9749","99674":"e09732be"}[chunkId] + ".async.js"; /******/ }; /******/ }(); /******/