diff --git a/.fossaignore b/.fossaignore index 89e8142..fc7a5d1 100644 --- a/.fossaignore +++ b/.fossaignore @@ -1,5 +1,6 @@ bits/ demos/ +dist/ docbits/ misc/ node_modules/ diff --git a/Makefile b/Makefile index 73dac61..93db99d 100644 --- a/Makefile +++ b/Makefile @@ -50,17 +50,17 @@ init: ## Initial setup for development git submodule foreach make mkdir -p tmp +DISTHDR=misc/suppress_export.js .PHONY: dist dist: dist-deps $(TARGET) bower.json ## Prepare JS files for distribution - <$(TARGET) sed "s/require('stream')/{}/g;s/require('.*')/null/g" > dist/$(TARGET) + <$(TARGET) sed "s/require('stream')/{}/g;s/require('....*')/undefined/g" > dist/$(TARGET) cp LICENSE dist/ - uglifyjs dist/$(TARGET) $(UGLIFYOPTS) -o dist/$(LIB).min.js --source-map dist/$(LIB).min.map --preamble "$$(head -n 1 bits/00_header.js)" + uglifyjs $(DISTHDR) dist/$(TARGET) $(UGLIFYOPTS) -o dist/$(LIB).min.js --source-map dist/$(LIB).min.map --preamble "$$(head -n 1 bits/00_header.js)" misc/strip_sourcemap.sh dist/$(LIB).min.js - uglifyjs $(REQS) dist/$(TARGET) $(UGLIFYOPTS) -o dist/$(LIB).core.min.js --source-map dist/$(LIB).core.min.map --preamble "$$(head -n 1 bits/00_header.js)" + uglifyjs $(DISTHDR) $(REQS) dist/$(TARGET) $(UGLIFYOPTS) -o dist/$(LIB).core.min.js --source-map dist/$(LIB).core.min.map --preamble "$$(head -n 1 bits/00_header.js)" misc/strip_sourcemap.sh dist/$(LIB).core.min.js - uglifyjs $(REQS) $(ADDONS) dist/$(TARGET) $(AUXTARGETS) $(UGLIFYOPTS) -o dist/$(LIB).full.min.js --source-map dist/$(LIB).full.min.map --preamble "$$(head -n 1 bits/00_header.js)" + uglifyjs $(DISTHDR) $(REQS) $(ADDONS) dist/$(TARGET) $(AUXTARGETS) $(UGLIFYOPTS) -o dist/$(LIB).full.min.js --source-map dist/$(LIB).full.min.map --preamble "$$(head -n 1 bits/00_header.js)" misc/strip_sourcemap.sh dist/$(LIB).full.min.js - cat <(head -n 1 bits/00_header.js) $(REQS) $(ADDONS) $(TARGET) $(AUXTARGETS) > demos/requirejs/$(LIB).full.js .PHONY: dist-deps dist-deps: ## Copy dependencies for distribution diff --git a/bits/01_version.js b/bits/01_version.js index a57a7a9..18e0a56 100644 --- a/bits/01_version.js +++ b/bits/01_version.js @@ -1 +1 @@ -XLSX.version = '0.11.0'; +XLSX.version = '0.11.1'; diff --git a/bits/20_jsutils.js b/bits/20_jsutils.js index 92c8156..aa406d9 100644 --- a/bits/20_jsutils.js +++ b/bits/20_jsutils.js @@ -33,7 +33,7 @@ var basedate = new Date(1899, 11, 30, 0, 0, 0); // 2209161600000 var dnthresh = basedate.getTime() + (new Date().getTimezoneOffset() - basedate.getTimezoneOffset()) * 60000; function datenum(v/*:Date*/, date1904/*:?boolean*/)/*:number*/ { var epoch = v.getTime(); - if(date1904) epoch += 1462*24*60*60*1000; + if(date1904) epoch -= 1462*24*60*60*1000; return (epoch - dnthresh) / (24 * 60 * 60 * 1000); } function numdate(v/*:number*/)/*:Date*/ { diff --git a/bits/21_ziputils.js b/bits/21_ziputils.js index 14aa2d3..4b91a07 100644 --- a/bits/21_ziputils.js +++ b/bits/21_ziputils.js @@ -58,7 +58,7 @@ if(typeof JSZip !== 'undefined') jszip = JSZip; if (typeof exports !== 'undefined') { if (typeof module !== 'undefined' && module.exports) { if(typeof jszip === 'undefined') jszip = require('./jszip.js'); - _fs = require('fs'); + try { _fs = require('fs'); } catch(e) { } } } diff --git a/bits/38_xlstypes.js b/bits/38_xlstypes.js index dac9b41..d17dc9d 100644 --- a/bits/38_xlstypes.js +++ b/bits/38_xlstypes.js @@ -28,8 +28,8 @@ function parse_VtStringBase(blob, stringType, pad) { return parse_lpstr(blob, stringType, pad); } -function parse_VtString(blob, t/*:number*/, pad/*:number*/) { return parse_VtStringBase(blob, t, pad === false ? 0: 4); } -function parse_VtUnalignedString(blob, t/*:number*/) { if(!t) throw new Error("dafuq?"); return parse_VtStringBase(blob, t, 0); } +function parse_VtString(blob, t/*:number*/, pad/*:?boolean*/) { return parse_VtStringBase(blob, t, pad === false ? 0: 4); } +function parse_VtUnalignedString(blob, t/*:number*/) { if(!t) throw new Error("VtUnalignedString must have positive length"); return parse_VtStringBase(blob, t, 0); } /* [MS-OSHARED] 2.3.3.1.9 VtVecUnalignedLpstrValue */ function parse_VtVecUnalignedLpstrValue(blob) { @@ -123,7 +123,7 @@ function parse_TypedPropertyValue(blob, type/*:number*/, _opts) { case 0x40 /*VT_FILETIME*/: return parse_FILETIME(blob); case 0x41 /*VT_BLOB*/: return parse_BLOB(blob); case 0x47 /*VT_CF*/: return parse_ClipboardData(blob); - case 0x50 /*VT_STRING*/: return parse_VtString(blob, t, !opts.raw && 4).replace(chr0,''); + case 0x50 /*VT_STRING*/: return parse_VtString(blob, t, !opts.raw).replace(chr0,''); case 0x51 /*VT_USTR*/: return parse_VtUnalignedString(blob, t/*, 4*/).replace(chr0,''); case 0x100C /*VT_VECTOR|VT_VARIANT*/: return parse_VtVecHeadingPair(blob); case 0x101E /*VT_LPSTR*/: return parse_VtVecUnalignedLpstr(blob); diff --git a/bits/44_offcrypto.js b/bits/44_offcrypto.js index 74855d4..bd27b20 100644 --- a/bits/44_offcrypto.js +++ b/bits/44_offcrypto.js @@ -294,7 +294,7 @@ function parse_FilePassHeader(blob, length/*:number*/, oo) { return o; } function parse_FilePass(blob, length/*:number*/, opts) { - var o = { Type: opts.biff >= 8 ? blob.read_shift(2) : 0 }; /* wEncryptionType */ + var o = ({ Type: opts.biff >= 8 ? blob.read_shift(2) : 0 }/*:any*/); /* wEncryptionType */ if(o.Type) parse_FilePassHeader(blob, length-2, o); else parse_XORObfuscation(blob, length-2, opts, o); return o; diff --git a/bits/45_rtf.js b/bits/45_rtf.js new file mode 100644 index 0000000..2cdd2af --- /dev/null +++ b/bits/45_rtf.js @@ -0,0 +1,24 @@ +var RTF = (function() { + function rtf_to_sheet(d/*:RawData*/, opts)/*:Worksheet*/ { + switch(opts.type) { + case 'base64': return rtf_to_sheet_str(Base64.decode(d), opts); + case 'binary': return rtf_to_sheet_str(d, opts); + case 'buffer': return rtf_to_sheet_str(d.toString('binary'), opts); + case 'array': return rtf_to_sheet_str(cc2str(d), opts); + } + throw new Error("Unrecognized type " + opts.type); + } + + function rtf_to_sheet_str(str/*:string*/, opts)/*:Worksheet*/ { + throw new Error("Unsupported RTF"); + } + + function rtf_to_workbook(d/*:RawData*/, opts)/*:Workbook*/ { return sheet_to_workbook(rtf_to_sheet(d, opts), opts); } + function sheet_to_rtf() { throw new Error("Unsupported"); } + + return { + to_workbook: rtf_to_workbook, + to_sheet: rtf_to_sheet, + from_sheet: sheet_to_rtf + }; +})(); diff --git a/bits/47_styxml.js b/bits/47_styxml.js index 2b49e2e..95ad262 100644 --- a/bits/47_styxml.js +++ b/bits/47_styxml.js @@ -75,8 +75,9 @@ function parse_fills(t, styles, themes, opts) { case '': case '': break; /* 18.8.20 fill CT_Fill */ - case '': case '': styles.Fills.push(fill); fill = {}; break; + case '': case '': + fill = {}; styles.Fills.push(fill); break; + case '': break; /* 18.8.24 gradientFill CT_GradientFill */ case '': break; diff --git a/bits/48_stybin.js b/bits/48_stybin.js index 312508f..01c5f15 100644 --- a/bits/48_stybin.js +++ b/bits/48_stybin.js @@ -102,6 +102,7 @@ var XLSBFillPTNames = [ ]; var rev_XLSBFillPTNames/*:EvertNumType*/ = (evert(XLSBFillPTNames)/*:any*/); /* TODO: gradient fill representation */ +var parse_BrtFill = parsenoop; function write_BrtFill(fill, o) { if(!o) o = new_buf(4*3 + 8*7 + 16*1); var fls/*:number*/ = rev_XLSBFillPTNames[fill.patternType]; @@ -164,6 +165,7 @@ function write_Blxf(data, o) { return o; } /* [MS-XLSB] 2.4.299 BrtBorder TODO */ +var parse_BrtBorder = parsenoop; function write_BrtBorder(border, o) { if(!o) o = new_buf(51); o.write_shift(1, 0); /* diagonal */ diff --git a/bits/62_fxls.js b/bits/62_fxls.js index 95619c0..112b301 100644 --- a/bits/62_fxls.js +++ b/bits/62_fxls.js @@ -690,9 +690,17 @@ var PtgBinOp = { PtgPower: "^", PtgSub: "-" }; -function get_ixti(supbooks, ixti/*:number*/, opts)/*:string*/ { +function formula_quote_sheet_name(sname/*:string*/)/*:string*/ { + if(!sname) return ""; + if(sname.indexOf(" ") > -1) return "'" + sname + "'"; + return sname; +} +function get_ixti_raw(supbooks, ixti/*:number*/, opts)/*:string*/ { return supbooks.SheetNames[ixti]; } +function get_ixti(supbooks, ixti/*:number*/, opts)/*:string*/ { + return formula_quote_sheet_name(get_ixti_raw(supbooks, ixti, opts)); +} function stringify_formula(formula/*Array*/, range, cell/*:any*/, supbooks, opts) { //console.log(formula); var _range = /*range != null ? range :*/ {s:{c:0, r:0},e:{c:0, r:0}}; diff --git a/bits/66_wscommon.js b/bits/66_wscommon.js index 5f0fa78..d70cd70 100644 --- a/bits/66_wscommon.js +++ b/bits/66_wscommon.js @@ -60,7 +60,7 @@ function get_cell_style(styles, cell, opts) { return len; } -function safe_format(p, fmtid/*:number*/, fillid/*:number*/, opts, themes, styles) { +function safe_format(p, fmtid/*:number*/, fillid/*:?number*/, opts, themes, styles) { if(p.t === 'z') return; if(p.t === 'd' && typeof p.v === 'string') p.v = parseDate(p.v); try { @@ -84,7 +84,8 @@ function safe_format(p, fmtid/*:number*/, fillid/*:number*/, opts, themes, style else if(p.t === 'd') p.w = SSF.format(fmtid,datenum(p.v),_ssfopts); else p.w = SSF.format(fmtid,p.v,_ssfopts); } catch(e) { if(opts.WTF) throw e; } - if(fillid) try { + if(!opts.cellStyles) return; + if(fillid != null) try { p.s = styles.Fills[fillid]; if (p.s.fgColor && p.s.fgColor.theme && !p.s.fgColor.rgb) { p.s.fgColor.rgb = rgb_tint(themes.themeElements.clrScheme[p.s.fgColor.theme].rgb, p.s.fgColor.tint || 0); @@ -94,5 +95,5 @@ function safe_format(p, fmtid/*:number*/, fillid/*:number*/, opts, themes, style p.s.bgColor.rgb = rgb_tint(themes.themeElements.clrScheme[p.s.bgColor.theme].rgb, p.s.bgColor.tint || 0); if(opts.WTF) p.s.bgColor.raw_rgb = themes.themeElements.clrScheme[p.s.bgColor.theme].rgb; } - } catch(e) { if(opts.WTF) throw e; } + } catch(e) { if(opts.WTF && styles.Fills) throw e; } } diff --git a/bits/75_xlml.js b/bits/75_xlml.js index 559e4fa..f17378b 100644 --- a/bits/75_xlml.js +++ b/bits/75_xlml.js @@ -817,12 +817,14 @@ function parse_xlml_xml(d, _opts)/*:Workbook*/ { return out; } -function parse_xlml(data/*:RawBytes*/, opts)/*:Workbook*/ { +function arr2str(data/*:any*/)/*:string*/ { return data.map(_chr).join(""); } + +function parse_xlml(data/*:RawBytes|string*/, opts)/*:Workbook*/ { fix_read_opts(opts=opts||{}); switch(opts.type||"base64") { case "base64": return parse_xlml_xml(Base64.decode(data), opts); case "binary": case "buffer": case "file": return parse_xlml_xml(data, opts); - case "array": return parse_xlml_xml(data.map(_chr).join(""), opts); + case "array": return parse_xlml_xml(arr2str(data), opts); } /*:: throw new Error("unsupported type " + opts.type); */ } diff --git a/bits/77_parsetab.js b/bits/77_parsetab.js index 5422327..db4349f 100644 --- a/bits/77_parsetab.js +++ b/bits/77_parsetab.js @@ -38,8 +38,8 @@ var XLSBRecordEnum = { /*::[*/0x002A/*::]*/: { n:"BrtIndexBlock", f:parsenoop }, /*::[*/0x002B/*::]*/: { n:"BrtFont", f:parse_BrtFont }, /*::[*/0x002C/*::]*/: { n:"BrtFmt", f:parse_BrtFmt }, - /*::[*/0x002D/*::]*/: { n:"BrtFill", f:parsenoop }, - /*::[*/0x002E/*::]*/: { n:"BrtBorder", f:parsenoop }, + /*::[*/0x002D/*::]*/: { n:"BrtFill", f:parse_BrtFill }, + /*::[*/0x002E/*::]*/: { n:"BrtBorder", f:parse_BrtBorder }, /*::[*/0x002F/*::]*/: { n:"BrtXF", f:parse_BrtXF }, /*::[*/0x0030/*::]*/: { n:"BrtStyle", f:parsenoop }, /*::[*/0x0031/*::]*/: { n:"BrtCellMeta", f:parsenoop }, diff --git a/bits/79_html.js b/bits/79_html.js index 9237582..b4ad23f 100644 --- a/bits/79_html.js +++ b/bits/79_html.js @@ -4,10 +4,10 @@ var HTML_ = (function() { var opts = _opts || {}; if(DENSE != null && opts.dense == null) opts.dense = DENSE; var ws/*:Worksheet*/ = opts.dense ? ([]/*:any*/) : ({}/*:any*/); - var mtch = str.match(/"); - var mtch2 = str.match(/<\/table/i); - var i = mtch.index, j = mtch2 && mtch2.index || str.length; + var mtch2/*:any*/ = str.match(/<\/table/i); + var i/*:number*/ = mtch.index, j/*:number*/ = mtch2 && mtch2.index || str.length; var rows = str.slice(i, j).split(/(:?]*>)/i); var R = -1, C = 0, RS = 0, CS = 0; var range = {s:{r:10000000, c:10000000},e:{r:0,c:0}}; diff --git a/bits/82_sheeter.js b/bits/82_sheeter.js index 91f8898..12e3a9b 100644 --- a/bits/82_sheeter.js +++ b/bits/82_sheeter.js @@ -13,4 +13,5 @@ var write_csv_str = write_obj_str({from_sheet:sheet_to_csv}); var write_slk_str = write_obj_str(SYLK); var write_dif_str = write_obj_str(DIF); var write_prn_str = write_obj_str(PRN); +var write_rtf_str = write_obj_str(RTF); var write_txt_str = write_obj_str({from_sheet:sheet_to_txt}); diff --git a/bits/87_read.js b/bits/87_read.js index e9eee10..25f9a41 100644 --- a/bits/87_read.js +++ b/bits/87_read.js @@ -78,7 +78,7 @@ function readSync(data/*:RawData*/, opts/*:?ParseOpts*/)/*:Workbook*/ { case 0xFF: if(n[1] == 0xFE){ return read_utf16(d, o); } break; case 0x00: if(n[1] == 0x00 && n[2] >= 0x02 && n[3] == 0x00) return WK_.to_workbook(d, o); break; case 0x03: case 0x83: case 0x8B: return DBF.to_workbook(d, o); - case 0x7B: if(n[1] == 0x5C && n[2] == 0x72 && n[3] == 0x74) throw new Error("Unsupported RTF"); break; + case 0x7B: if(n[1] == 0x5C && n[2] == 0x72 && n[3] == 0x74) return RTF.to_workbook(d, o); break; case 0x0A: case 0x0D: case 0x20: return read_plaintext_raw(d, o); } if(n[2] <= 12 && n[3] <= 31) return DBF.to_workbook(d, o); diff --git a/bits/88_write.js b/bits/88_write.js index 534db22..7e85975 100644 --- a/bits/88_write.js +++ b/bits/88_write.js @@ -69,6 +69,7 @@ function writeSync(wb/*:Workbook*/, opts/*:?WriteOpts*/) { case 'csv': return write_string_type(write_csv_str(wb, o), o); case 'dif': return write_string_type(write_dif_str(wb, o), o); case 'prn': return write_string_type(write_prn_str(wb, o), o); + case 'rtf': return write_string_type(write_rtf_str(wb, o), o); case 'fods': return write_string_type(write_ods(wb, o), o); case 'biff2': return write_binary_type(write_biff_buf(wb, o), o); case 'xlsx': @@ -95,6 +96,7 @@ function resolve_book_type(o/*?WriteFileOpts*/) { case '.txt': o.bookType = 'txt'; break; case '.dif': o.bookType = 'dif'; break; case '.prn': o.bookType = 'prn'; break; + case '.rtf': o.bookType = 'rtf'; break; case '.slk': o.bookType = 'sylk'; break; case '.htm': o.bookType = 'html'; break; } diff --git a/bits/90_utils.js b/bits/90_utils.js index 0e773be..bfe6de1 100644 --- a/bits/90_utils.js +++ b/bits/90_utils.js @@ -112,11 +112,11 @@ function sheet_to_csv(sheet/*:Worksheet*/, opts/*:?Sheet2CSVOpts*/)/*:string*/ { var endregex = new RegExp((FS=="|" ? "\\|" : FS)+"+$"); var row = "", cols = []; o.dense = Array.isArray(sheet); - var colInfos = o.skipHidden ? sheet["!cols"] : undefined; - var rowInfos = o.skipHidden ? sheet["!rows"] : undefined; - for(var C = r.s.c; C <= r.e.c; ++C) if (!colInfos || !colInfos[C] || !colInfos[C].hidden) cols[C] = encode_col(C); + var colInfos = o.skipHidden && sheet["!cols"] || []; + var rowInfos = o.skipHidden && sheet["!rows"] || []; + for(var C = r.s.c; C <= r.e.c; ++C) if (!((colInfos[C]||{}).hidden)) cols[C] = encode_col(C); for(var R = r.s.r; R <= r.e.r; ++R) { - if (rowInfos && rowInfos[R] && rowInfos[R].hidden) continue; + if ((rowInfos[R]||{}).hidden) continue; row = make_csv_row(sheet, r, R, cols, fs, rs, FS, o); if(row == null) { continue; } if(o.strip) row = row.replace(endregex,""); diff --git a/bits/97_node.js b/bits/97_node.js index b0cb6d8..b7c668d 100644 --- a/bits/97_node.js +++ b/bits/97_node.js @@ -12,13 +12,16 @@ if(has_buf && typeof require != 'undefined') (function() { var endregex = new RegExp((FS=="|" ? "\\|" : FS)+"+$"); var row/*:?string*/ = "", cols = []; o.dense = Array.isArray(sheet); - for(var C = r.s.c; C <= r.e.c; ++C) cols[C] = encode_col(C); + var colInfos = o.skipHidden && sheet["!cols"] || []; + var rowInfos = o.skipHidden && sheet["!rows"] || []; + for(var C = r.s.c; C <= r.e.c; ++C) if (!((colInfos[C]||{}).hidden)) cols[C] = encode_col(C); var R = r.s.r; stream._read = function() { if(R > r.e.r) return stream.push(null); while(R <= r.e.r) { - row = make_csv_row(sheet, r, R, cols, fs, rs, FS, o); ++R; + if ((rowInfos[R-1]||{}).hidden) continue; + row = make_csv_row(sheet, r, R-1, cols, fs, rs, FS, o); if(row != null) { if(o.strip) row = row.replace(endregex,""); stream.push(row + RS); diff --git a/demos/requirejs/Makefile b/demos/requirejs/Makefile index e608a58..03bafed 100644 --- a/demos/requirejs/Makefile +++ b/demos/requirejs/Makefile @@ -6,4 +6,5 @@ all: $(TOOL).js $(TOOL).js: if [ ! -e require.js ]; then curl -O http://requirejs.org/docs/release/2.3.3/comments/require.js; fi if [ ! -e r.js ]; then curl -O http://requirejs.org/docs/release/2.3.3/r.js; fi + rm -f xlsx.full.min.js; ln -s ../../dist/xlsx.full.min.js node r.js -o build.js diff --git a/demos/requirejs/README.md b/demos/requirejs/README.md new file mode 100644 index 0000000..afb6a86 --- /dev/null +++ b/demos/requirejs/README.md @@ -0,0 +1,11 @@ +# RequireJS + +The minified dist files trip up the RequireJS mechanism. To bypass, the scripts +automatically expose an `XLSX` variable that can be used if the require callback +argument is `_XLSX` rather than `XLSX`: + +```js +require(["xlsx.full.min"], function(_XLSX) { /* ... */ }); +``` + +This demo uses the `r.js` optimizer to build a source file. diff --git a/demos/requirejs/requirejs.html b/demos/requirejs/requirejs.html new file mode 100644 index 0000000..63118ad --- /dev/null +++ b/demos/requirejs/requirejs.html @@ -0,0 +1,55 @@ + + + + + + +JS-XLSX Live Demo + + + +JS-XLSX Live Demo
+Output Format: +
+ +
Drop a spreadsheet file here to see sheet data
+

... or click here to select a file

+ +
+Advanced Demo Options:
+Use Web Workers: (when available)
+Use Transferrables: (when available)
+Use readAsBinaryString: (when available)
+

+
+ + + + + diff --git a/demos/requirejs/requirejs.js b/demos/requirejs/requirejs.js index 32918e1..3ffde2f 100644 --- a/demos/requirejs/requirejs.js +++ b/demos/requirejs/requirejs.js @@ -1,4 +1,4 @@ -require(["xlsx.full"], function(_XLSX) { +require(["xlsx.full.min"], function(_XLSX) { var X = XLSX; var rABS = typeof FileReader !== "undefined" && typeof FileReader.prototype !== "undefined" && typeof FileReader.prototype.readAsBinaryString !== "undefined"; diff --git a/demos/webpack/.gitignore b/demos/webpack/.gitignore index 3620fff..e47b5c1 100644 --- a/demos/webpack/.gitignore +++ b/demos/webpack/.gitignore @@ -1,2 +1,3 @@ webpack.js webpack.min.js +*.out.js diff --git a/demos/webpack/Makefile b/demos/webpack/Makefile index 2ab7c07..f2b1c2f 100644 --- a/demos/webpack/Makefile +++ b/demos/webpack/Makefile @@ -1,10 +1,15 @@ TOOL=webpack +WPOPTS=--display-modules --display-reasons --profile .PHONY: all -all: $(TOOL).min.js +all: $(TOOL).min.js core.out.js full.out.js $(TOOL).min.js: $(TOOL).js uglifyjs $< > $@ .PHONY: $(TOOL).js $(TOOL).js: - webpack main.js --output-filename $@ --display-modules --profile + webpack main.js --output-filename $@ $(WPOPTS) + +.PHONY: core.out.js full.out.js +core.out.js full.out.js: %.out.js: %.js + webpack $< --output-filename $@ $(WPOPTS) diff --git a/demos/webpack/README.md b/demos/webpack/README.md index f33eefb..11de320 100644 --- a/demos/webpack/README.md +++ b/demos/webpack/README.md @@ -40,3 +40,16 @@ the module can be omitted by aliasing the dependency: alias: { "./dist/cpexcel.js": "" } }, ``` + +## Bower and minified versions + +The minified versions, used in Bower, require `module.noParse` configuration: + +```js + module: { + noParse: [ + /xlsx.core.min.js/, + /xlsx.full.min.js/ + ] + } +``` diff --git a/demos/webpack/app.js b/demos/webpack/app.js new file mode 100644 index 0000000..a47ca30 --- /dev/null +++ b/demos/webpack/app.js @@ -0,0 +1,227 @@ +/*jshint browser:true */ +/*global XLSX */ +var X = XLSX; + +var rABS = typeof FileReader !== "undefined" && typeof FileReader.prototype !== "undefined" && typeof FileReader.prototype.readAsBinaryString !== "undefined"; +if(!rABS) { + document.getElementsByName("userabs")[0].disabled = true; + document.getElementsByName("userabs")[0].checked = false; +} + +var use_worker = typeof Worker !== 'undefined'; +if(!use_worker) { + document.getElementsByName("useworker")[0].disabled = true; + document.getElementsByName("useworker")[0].checked = false; +} + +var transferable = use_worker; +if(!transferable) { + document.getElementsByName("xferable")[0].disabled = true; + document.getElementsByName("xferable")[0].checked = false; +} + +var wtf_mode = false; + +function fixdata(data) { + var o = "", l = 0, w = 10240; + for(; l 0){ + result[sheetName] = roa; + } + }); + return result; +} + +function to_csv(workbook) { + var result = []; + workbook.SheetNames.forEach(function(sheetName) { + var csv = X.utils.sheet_to_csv(workbook.Sheets[sheetName]); + if(csv.length > 0){ + result.push("SHEET: " + sheetName); + result.push(""); + result.push(csv); + } + }); + return result.join("\n"); +} + +function to_formulae(workbook) { + var result = []; + workbook.SheetNames.forEach(function(sheetName) { + var formulae = X.utils.get_formulae(workbook.Sheets[sheetName]); + if(formulae.length > 0){ + result.push("SHEET: " + sheetName); + result.push(""); + result.push(formulae.join("\n")); + } + }); + return result.join("\n"); +} + +var tarea = document.getElementById('b64data'); +function b64it() { + if(typeof console !== 'undefined') console.log("onload", new Date()); + var wb = X.read(tarea.value, {type: 'base64',WTF:wtf_mode}); + process_wb(wb); +} + +function process_wb(wb) { + var output = ""; + switch(get_radio_value("format")) { + case "json": + output = JSON.stringify(to_json(wb), 2, 2); + break; + case "form": + output = to_formulae(wb); + break; + default: + output = to_csv(wb); + } + if(out.innerText === undefined) out.textContent = output; + else out.innerText = output; + if(typeof console !== 'undefined') console.log("output", new Date()); +} + +var drop = document.getElementById('drop'); +function handleDrop(e) { + e.stopPropagation(); + e.preventDefault(); + rABS = document.getElementsByName("userabs")[0].checked; + use_worker = document.getElementsByName("useworker")[0].checked; + var files = e.dataTransfer.files; + var f = files[0]; + { + var reader = new FileReader(); + var name = f.name; + reader.onload = function(e) { + if(typeof console !== 'undefined') console.log("onload", new Date(), rABS, use_worker); + var data = e.target.result; + if(use_worker) { + xw(data, process_wb); + } else { + var wb; + if(rABS) { + wb = X.read(data, {type: 'binary'}); + } else { + var arr = fixdata(data); + wb = X.read(btoa(arr), {type: 'base64'}); + } + process_wb(wb); + } + }; + if(rABS) reader.readAsBinaryString(f); + else reader.readAsArrayBuffer(f); + } +} + +function handleDragover(e) { + e.stopPropagation(); + e.preventDefault(); + e.dataTransfer.dropEffect = 'copy'; +} + +if(drop.addEventListener) { + drop.addEventListener('dragenter', handleDragover, false); + drop.addEventListener('dragover', handleDragover, false); + drop.addEventListener('drop', handleDrop, false); +} + + +var xlf = document.getElementById('xlf'); +function handleFile(e) { + rABS = document.getElementsByName("userabs")[0].checked; + use_worker = document.getElementsByName("useworker")[0].checked; + var files = e.target.files; + var f = files[0]; + { + var reader = new FileReader(); + var name = f.name; + reader.onload = function(e) { + if(typeof console !== 'undefined') console.log("onload", new Date(), rABS, use_worker); + var data = e.target.result; + if(use_worker) { + xw(data, process_wb); + } else { + var wb; + if(rABS) { + wb = X.read(data, {type: 'binary'}); + } else { + var arr = fixdata(data); + wb = X.read(btoa(arr), {type: 'base64'}); + } + process_wb(wb); + } + }; + if(rABS) reader.readAsBinaryString(f); + else reader.readAsArrayBuffer(f); + } +} + +if(xlf.addEventListener) xlf.addEventListener('change', handleFile, false); + diff --git a/demos/webpack/core.js b/demos/webpack/core.js new file mode 100644 index 0000000..2a702bc --- /dev/null +++ b/demos/webpack/core.js @@ -0,0 +1,3 @@ +var XLSX = require('./xlsx.core.min'); +console.log("it works!"); +module.exports = XLSX; diff --git a/demos/webpack/coreworker.js b/demos/webpack/coreworker.js new file mode 100644 index 0000000..4c97468 --- /dev/null +++ b/demos/webpack/coreworker.js @@ -0,0 +1,11 @@ +/* xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */ +importScripts('core.out.js'); +postMessage({t:"ready"}); + +onmessage = function (oEvent) { + var v; + try { + v = XLSX.read(oEvent.data.d, {type: oEvent.data.b ? 'binary' : 'base64'}); + } catch(e) { postMessage({t:"e",d:e.stack||e}); } +postMessage({t:"xlsx", d:JSON.stringify(v)}); +}; diff --git a/demos/webpack/coreworker1.js b/demos/webpack/coreworker1.js new file mode 100644 index 0000000..34a36a5 --- /dev/null +++ b/demos/webpack/coreworker1.js @@ -0,0 +1,26 @@ +/* xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */ +importScripts('core.out.js'); +postMessage({t:"ready"}); + +function ab2str(data) { + var o = "", l = 0, w = 10240; + for(; l + diff --git a/demos/webpack/xlsx.core.min.js b/demos/webpack/xlsx.core.min.js new file mode 120000 index 0000000..383ccb8 --- /dev/null +++ b/demos/webpack/xlsx.core.min.js @@ -0,0 +1 @@ +../../dist/xlsx.core.min.js \ No newline at end of file diff --git a/demos/webpack/xlsx.full.min.js b/demos/webpack/xlsx.full.min.js new file mode 120000 index 0000000..dbca48d --- /dev/null +++ b/demos/webpack/xlsx.full.min.js @@ -0,0 +1 @@ +../../dist/xlsx.full.min.js \ No newline at end of file diff --git a/dist/cpexcel.js b/dist/cpexcel.js index 51a8f77..254af00 100644 --- a/dist/cpexcel.js +++ b/dist/cpexcel.js @@ -1,6 +1,6 @@ /* cpexcel.js (C) 2013-present SheetJS -- http://sheetjs.com */ /*jshint -W100 */ -var cptable = {version:"1.10.0"}; +var cptable = {version:"1.11.0"}; cptable[437] = (function(){ var d = "\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ ", D = [], e = {}; for(var i=0;i!=d.length;++i) { if(d.charCodeAt(i) !== 0xFFFD) e[d.charAt(i)] = i; D[i] = d.charAt(i); } return {"enc": e, "dec": D }; })(); cptable[620] = (function(){ var d = "\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäàąçêëèïîćÄĄĘęłôöĆûùŚÖÜ¢Ł¥śƒŹŻóÓńŃźż¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ ", D = [], e = {}; for(var i=0;i!=d.length;++i) { if(d.charCodeAt(i) !== 0xFFFD) e[d.charAt(i)] = i; D[i] = d.charAt(i); } return {"enc": e, "dec": D }; })(); cptable[737] = (function(){ var d = "\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρσςτυφχψ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ωάέήϊίόύϋώΆΈΉΊΌΎΏ±≥≤ΪΫ÷≈°∙·√ⁿ²■ ", D = [], e = {}; for(var i=0;i!=d.length;++i) { if(d.charCodeAt(i) !== 0xFFFD) e[d.charAt(i)] = i; D[i] = d.charAt(i); } return {"enc": e, "dec": D }; })(); @@ -973,7 +973,7 @@ return {"enc": e, "dec": d }; })(); cptable[10029] = (function(){ var d = "\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÄĀāÉĄÖÜáąČäčĆć鏟ĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņѬ√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ", D = [], e = {}; for(var i=0;i!=d.length;++i) { if(d.charCodeAt(i) !== 0xFFFD) e[d.charAt(i)] = i; D[i] = d.charAt(i); } return {"enc": e, "dec": D }; })(); cptable[10079] = (function(){ var d = "\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûüÝ°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤ÐðÞþý·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ", D = [], e = {}; for(var i=0;i!=d.length;++i) { if(d.charCodeAt(i) !== 0xFFFD) e[d.charAt(i)] = i; D[i] = d.charAt(i); } return {"enc": e, "dec": D }; })(); cptable[10081] = (function(){ var d = "\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙ�ˆ˜¯˘˙˚¸˝˛ˇ", D = [], e = {}; for(var i=0;i!=d.length;++i) { if(d.charCodeAt(i) !== 0xFFFD) e[d.charAt(i)] = i; D[i] = d.charAt(i); } return {"enc": e, "dec": D }; })(); -if (typeof module !== 'undefined' && module.exports) module.exports = cptable; +if (typeof module !== 'undefined' && module.exports && typeof DO_NOT_EXPORT_CODEPAGE === 'undefined') module.exports = cptable; /* cputils.js (C) 2013-present SheetJS -- http://sheetjs.com */ /* vim: set ft=javascript: */ /*jshint newcap: false */ @@ -982,7 +982,7 @@ if (typeof module !== 'undefined' && module.exports) module.exports = cptable; if(typeof cptable === "undefined") { if(typeof require !== "undefined"){ var cpt = cptable; - if (typeof module !== 'undefined' && module.exports) module.exports = factory(cpt); + if (typeof module !== 'undefined' && module.exports && typeof DO_NOT_EXPORT_CODEPAGE === 'undefined') module.exports = factory(cpt); else root.cptable = factory(cpt); } else throw new Error("cptable not found"); } else cptable = factory(cptable); diff --git a/dist/jszip.js b/dist/jszip.js index 1af2062..21da89f 100644 --- a/dist/jszip.js +++ b/dist/jszip.js @@ -10,7 +10,7 @@ JSZip uses the library pako released under the MIT license : https://github.com/nodeca/pako/blob/master/LICENSE */ (function(e){ - if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e(); + if("object"==typeof exports&&"undefined"!=typeof module&&"undefined"==typeof DO_NOT_EXPORT_JSZIP)module.exports=e(); else if("function"==typeof define&&define.amd){JSZip=e();define([],e);} else{ var f; diff --git a/dist/xlsx.core.min.js b/dist/xlsx.core.min.js index 3700a2e..b39f232 100644 --- a/dist/xlsx.core.min.js +++ b/dist/xlsx.core.min.js @@ -1,15 +1,15 @@ /* xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */ -(function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd){JSZip=e();define([],e)}else{var r;"undefined"!=typeof window?r=window:"undefined"!=typeof global?r=global:"undefined"!=typeof $&&$.global?r=$.global:"undefined"!=typeof self&&(r=self),r.JSZip=e()}})(function(){var e,r,t;return function a(e,r,t){function n(s,f){if(!r[s]){if(!e[s]){var o=typeof require=="function"&&require;if(!f&&o)return o(s,!0);if(i)return i(s,!0);throw new Error("Cannot find module '"+s+"'")}var l=r[s]={exports:{}};e[s][0].call(l.exports,function(r){var t=e[s][1][r];return n(t?t:r)},l,l.exports,a,e,r,t)}return r[s].exports}var i=typeof require=="function"&&require;for(var s=0;s>2;o=(n&3)<<4|i>>4;l=(i&15)<<2|s>>6;c=s&63;if(isNaN(i)){l=c=64}else if(isNaN(s)){c=64}t=t+a.charAt(f)+a.charAt(o)+a.charAt(l)+a.charAt(c)}return t};t.decode=function(e,r){var t="";var n,i,s;var f,o,l,c;var u=0;e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(u>4;i=(o&15)<<4|l>>2;s=(l&3)<<6|c;t=t+String.fromCharCode(n);if(l!=64){t=t+String.fromCharCode(i)}if(c!=64){t=t+String.fromCharCode(s)}}return t}},{}],2:[function(e,r,t){"use strict";function a(){this.compressedSize=0;this.uncompressedSize=0;this.crc32=0;this.compressionMethod=null;this.compressedContent=null}a.prototype={getContent:function(){return null},getCompressedContent:function(){return null}};r.exports=a},{}],3:[function(e,r,t){"use strict";t.STORE={magic:"\0\0",compress:function(e){return e},uncompress:function(e){return e},compressInputType:null,uncompressInputType:null};t.DEFLATE=e("./flate")},{"./flate":8}],4:[function(e,r,t){"use strict";var a=e("./utils");var n=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];r.exports=function i(e,r){if(typeof e==="undefined"||!e.length){return 0}var t=a.getTypeOf(e)!=="string";if(typeof r=="undefined"){r=0}var i=0;var s=0;var f=0;r=r^-1;for(var o=0,l=e.length;o>>8^i}return r^-1}},{"./utils":21}],5:[function(e,r,t){"use strict";var a=e("./utils");function n(e){this.data=null;this.length=0;this.index=0}n.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length=this.index;t--){r=(r<<8)+this.byteAt(t)}this.index+=e;return r},readString:function(e){return a.transformTo("string",this.readData(e))},readData:function(e){},lastIndexOfSignature:function(e){},readDate:function(){var e=this.readInt(4);return new Date((e>>25&127)+1980,(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(e&31)<<1)}};r.exports=n},{"./utils":21}],6:[function(e,r,t){"use strict";t.base64=false;t.binary=false;t.dir=false;t.createFolders=false;t.date=null;t.compression=null;t.comment=null},{}],7:[function(e,r,t){"use strict";var a=e("./utils");t.string2binary=function(e){return a.string2binary(e)};t.string2Uint8Array=function(e){return a.transformTo("uint8array",e)};t.uint8Array2String=function(e){return a.transformTo("string",e)};t.string2Blob=function(e){var r=a.transformTo("arraybuffer",e);return a.arrayBuffer2Blob(r)};t.arrayBuffer2Blob=function(e){return a.arrayBuffer2Blob(e)};t.transformTo=function(e,r){return a.transformTo(e,r)};t.getTypeOf=function(e){return a.getTypeOf(e)};t.checkSupport=function(e){return a.checkSupport(e)};t.MAX_VALUE_16BITS=a.MAX_VALUE_16BITS;t.MAX_VALUE_32BITS=a.MAX_VALUE_32BITS;t.pretty=function(e){return a.pretty(e)};t.findCompression=function(e){return a.findCompression(e)};t.isRegExp=function(e){return a.isRegExp(e)}},{"./utils":21}],8:[function(e,r,t){"use strict";var a=typeof Uint8Array!=="undefined"&&typeof Uint16Array!=="undefined"&&typeof Uint32Array!=="undefined";var n=e("pako");t.uncompressInputType=a?"uint8array":"array";t.compressInputType=a?"uint8array":"array";t.magic="\b\0";t.compress=function(e){return n.deflateRaw(e)};t.uncompress=function(e){return n.inflateRaw(e)}},{pako:24}],9:[function(e,r,t){"use strict";var a=e("./base64");function n(e,r){if(!(this instanceof n))return new n(e,r);this.files={};this.comment=null;this.root="";if(e){this.load(e,r)}this.clone=function(){var e=new n;for(var r in this){if(typeof this[r]!=="function"){e[r]=this[r]}}return e}}n.prototype=e("./object");n.prototype.load=e("./load");n.support=e("./support");n.defaults=e("./defaults");n.utils=e("./deprecatedPublicUtils");n.base64={encode:function(e){return a.encode(e)},decode:function(e){return a.decode(e)}};n.compressions=e("./compressions");r.exports=n},{"./base64":1,"./compressions":3,"./defaults":6,"./deprecatedPublicUtils":7,"./load":10,"./object":13,"./support":17}],10:[function(e,r,t){"use strict";var a=e("./base64");var n=e("./zipEntries");r.exports=function(e,r){var t,i,s,f;r=r||{};if(r.base64){e=a.decode(e)}i=new n(e,r);t=i.files;for(s=0;s>>8}return t};var k=function(){var e={},r,t;for(r=0;r0?e.substring(0,r):""};var C=function(e,r){if(e.slice(-1)!="/"){e+="/"}r=typeof r!=="undefined"?r:false;if(!this.files[e]){w.call(this,e,null,{dir:true,createFolders:r})}return this.files[e]};var _=function(e,r){var t=new c,a;if(e._data instanceof c){t.uncompressedSize=e._data.uncompressedSize;t.crc32=e._data.crc32;if(t.uncompressedSize===0||e.dir){r=l["STORE"];t.compressedContent="";t.crc32=0}else if(e._data.compressionMethod===r.magic){t.compressedContent=e._data.getCompressedContent()}else{a=e._data.getContent();t.compressedContent=r.compress(n.transformTo(r.compressInputType,a))}}else{a=m(e);if(!a||a.length===0||e.dir){r=l["STORE"];a=""}t.uncompressedSize=a.length;t.crc32=i(a);t.compressedContent=r.compress(n.transformTo(r.compressInputType,a))}t.compressedSize=t.compressedContent.length;t.compressionMethod=r.magic;return t};var T=function(e,r,t,a){var f=t.compressedContent,o=n.transformTo("string",h.utf8encode(r.name)),l=r.comment||"",c=n.transformTo("string",h.utf8encode(l)),u=o.length!==r.name.length,d=c.length!==l.length,v=r.options,p,m,b="",g="",k="",S,w;if(r._initialMetadata.dir!==r.dir){S=r.dir}else{S=v.dir}if(r._initialMetadata.date!==r.date){w=r.date}else{w=v.date}p=w.getHours();p=p<<6;p=p|w.getMinutes();p=p<<5;p=p|w.getSeconds()/2;m=w.getFullYear()-1980;m=m<<4;m=m|w.getMonth()+1;m=m<<5;m=m|w.getDate();if(u){g=E(1,1)+E(i(o),4)+o;b+="up"+E(g.length,2)+g}if(d){k=E(1,1)+E(this.crc32(c),4)+c;b+="uc"+E(k.length,2)+k}var B="";B+="\n\0";B+=u||d?"\0\b":"\0\0";B+=t.compressionMethod;B+=E(p,2);B+=E(m,2);B+=E(t.crc32,4);B+=E(t.compressedSize,4);B+=E(t.uncompressedSize,4);B+=E(o.length,2);B+=E(b.length,2);var C=s.LOCAL_FILE_HEADER+B+o+b;var _=s.CENTRAL_FILE_HEADER+"\0"+B+E(c.length,2)+"\0\0"+"\0\0"+(S===true?"\0\0\0":"\0\0\0\0")+E(a,4)+o+b+c;return{fileRecord:C,dirRecord:_,compressedObject:t}};var x={load:function(e,r){throw new Error("Load method is not defined. Is the file jszip-load.js included ?")},filter:function(e){var r=[],t,a,n,i;for(t in this.files){if(!this.files.hasOwnProperty(t)){continue}n=this.files[t];i=new g(n.name,n._data,k(n.options));a=t.slice(this.root.length,t.length);if(t.slice(0,this.root.length)===this.root&&e(a,i)){r.push(i)}}return r},file:function(e,r,t){if(arguments.length===1){if(n.isRegExp(e)){var a=e;return this.filter(function(e,r){return!r.dir&&a.test(e)})}else{return this.filter(function(r,t){return!t.dir&&r===e})[0]||null}}else{e=this.root+e;w.call(this,e,r,t)}return this},folder:function(e){if(!e){return this}if(n.isRegExp(e)){return this.filter(function(r,t){return t.dir&&e.test(r)})}var r=this.root+e;var t=C.call(this,r);var a=this.clone();a.root=t.name;return a},remove:function(e){e=this.root+e;var r=this.files[e];if(!r){if(e.slice(-1)!="/"){e+="/"}r=this.files[e]}if(r&&!r.dir){delete this.files[e]}else{var t=this.filter(function(r,t){return t.name.slice(0,e.length)===e});for(var a=0;a=0;--i){if(this.data[i]===r&&this.data[i+1]===t&&this.data[i+2]===a&&this.data[i+3]===n){return i}}return-1};n.prototype.readData=function(e){this.checkOffset(e);if(e===0){return new Uint8Array(0)}var r=this.data.subarray(this.index,this.index+e);this.index+=e;return r};r.exports=n},{"./dataReader":5}],19:[function(e,r,t){"use strict";var a=e("./utils");var n=function(e){this.data=new Uint8Array(e);this.index=0};n.prototype={append:function(e){if(e.length!==0){e=a.transformTo("uint8array",e);this.data.set(e,this.index);this.index+=e.length}},finalize:function(){return this.data}};r.exports=n},{"./utils":21}],20:[function(e,r,t){"use strict";var a=e("./utils");var n=e("./support");var i=e("./nodeBuffer");var s=new Array(256);for(var f=0;f<256;f++){s[f]=f>=252?6:f>=248?5:f>=240?4:f>=224?3:f>=192?2:1}s[254]=s[254]=1;var o=function(e){var r,t,a,i,s,f=e.length,o=0;for(i=0;i>>6;r[s++]=128|t&63}else if(t<65536){r[s++]=224|t>>>12;r[s++]=128|t>>>6&63;r[s++]=128|t&63}else{r[s++]=240|t>>>18;r[s++]=128|t>>>12&63;r[s++]=128|t>>>6&63;r[s++]=128|t&63}}return r};var l=function(e,r){var t;r=r||e.length;if(r>e.length){r=e.length}t=r-1;while(t>=0&&(e[t]&192)===128){t--}if(t<0){return r}if(t===0){return r}return t+s[e[t]]>r?t:r};var c=function(e){var r,t,n,i,f;var o=e.length;var l=new Array(o*2);for(n=0,t=0;t4){l[n++]=65533;t+=f-1;continue}i&=f===2?31:f===3?15:7;while(f>1&&t1){l[n++]=65533;continue}if(i<65536){l[n++]=i}else{i-=65536;l[n++]=55296|i>>10&1023;l[n++]=56320|i&1023}}if(l.length!==n){if(l.subarray){l=l.subarray(0,n)}else{l.length=n}}return a.applyFromCharCode(l)};t.utf8encode=function u(e){if(n.nodebuffer){return i(e,"utf-8")}return o(e)};t.utf8decode=function h(e){if(n.nodebuffer){return a.transformTo("nodebuffer",e).toString("utf-8")}e=a.transformTo(n.uint8array?"uint8array":"array",e);var r=[],t=0,i=e.length,s=65536;while(t1){try{if(s==="array"||s==="nodebuffer"){a.push(String.fromCharCode.apply(null,e.slice(f,Math.min(f+r,n))))}else{a.push(String.fromCharCode.apply(null,e.subarray(f,Math.min(f+r,n))))}f+=r}catch(l){r=Math.floor(r/2)}}return a.join("")}t.applyFromCharCode=o;function l(e,r){for(var t=0;t1){throw new Error("Multi-volumes zip are not supported")}},readLocalFiles:function(){var e,r;for(e=0;e0){r.windowBits=-r.windowBits}else if(r.gzip&&r.windowBits>0&&r.windowBits<16){r.windowBits+=16}this.err=0;this.msg="";this.ended=false;this.chunks=[];this.strm=new f;this.strm.avail_out=0;var t=a.deflateInit2(this.strm,r.level,r.method,r.windowBits,r.memLevel,r.strategy);if(t!==c){throw new Error(s[t])}if(r.header){a.deflateSetHeader(this.strm,r.header)}};p.prototype.push=function(e,r){var t=this.strm;var s=this.options.chunkSize;var f,h;if(this.ended){return false}h=r===~~r?r:r===true?l:o;if(typeof e==="string"){t.input=i.string2buf(e)}else{t.input=e}t.next_in=0;t.avail_in=t.input.length;do{if(t.avail_out===0){t.output=new n.Buf8(s);t.next_out=0;t.avail_out=s}f=a.deflate(t,h);if(f!==u&&f!==c){this.onEnd(f);this.ended=true;return false}if(t.avail_out===0||t.avail_in===0&&h===l){if(this.options.to==="string"){this.onData(i.buf2binstring(n.shrinkBuf(t.output,t.next_out)))}else{this.onData(n.shrinkBuf(t.output,t.next_out))}}}while((t.avail_in>0||t.avail_out===0)&&f!==u);if(h===l){f=a.deflateEnd(this.strm);this.onEnd(f);this.ended=true;return f===c}return true};p.prototype.onData=function(e){this.chunks.push(e)};p.prototype.onEnd=function(e){if(e===c){if(this.options.to==="string"){this.result=this.chunks.join("")}else{this.result=n.flattenChunks(this.chunks)}}this.chunks=[];this.err=e;this.msg=this.strm.msg};function m(e,r){var t=new p(r);t.push(e,true);if(t.err){throw t.msg}return t.result}function b(e,r){r=r||{};r.raw=true;return m(e,r)}function g(e,r){r=r||{};r.gzip=true;return m(e,r)}t.Deflate=p;t.deflate=m;t.deflateRaw=b;t.gzip=g},{"./utils/common":27,"./utils/strings":28,"./zlib/deflate.js":32,"./zlib/messages":37,"./zlib/zstream":39}],26:[function(e,r,t){"use strict";var a=e("./zlib/inflate.js");var n=e("./utils/common");var i=e("./utils/strings");var s=e("./zlib/constants");var f=e("./zlib/messages");var o=e("./zlib/zstream");var l=e("./zlib/gzheader");var c=function(e){this.options=n.assign({chunkSize:16384,windowBits:0,to:""},e||{});var r=this.options;if(r.raw&&r.windowBits>=0&&r.windowBits<16){r.windowBits=-r.windowBits;if(r.windowBits===0){r.windowBits=-15}}if(r.windowBits>=0&&r.windowBits<16&&!(e&&e.windowBits)){r.windowBits+=32}if(r.windowBits>15&&r.windowBits<48){if((r.windowBits&15)===0){r.windowBits|=15}}this.err=0;this.msg="";this.ended=false;this.chunks=[];this.strm=new o;this.strm.avail_out=0;var t=a.inflateInit2(this.strm,r.windowBits);if(t!==s.Z_OK){throw new Error(f[t])}this.header=new l;a.inflateGetHeader(this.strm,this.header)};c.prototype.push=function(e,r){var t=this.strm;var f=this.options.chunkSize;var o,l;var c,u,h;if(this.ended){return false}l=r===~~r?r:r===true?s.Z_FINISH:s.Z_NO_FLUSH;if(typeof e==="string"){t.input=i.binstring2buf(e)}else{t.input=e}t.next_in=0;t.avail_in=t.input.length;do{if(t.avail_out===0){t.output=new n.Buf8(f);t.next_out=0;t.avail_out=f}o=a.inflate(t,s.Z_NO_FLUSH);if(o!==s.Z_STREAM_END&&o!==s.Z_OK){this.onEnd(o);this.ended=true;return false}if(t.next_out){if(t.avail_out===0||o===s.Z_STREAM_END||t.avail_in===0&&l===s.Z_FINISH){if(this.options.to==="string"){c=i.utf8border(t.output,t.next_out);u=t.next_out-c;h=i.buf2string(t.output,c);t.next_out=u;t.avail_out=f-u;if(u){n.arraySet(t.output,t.output,c,u,0)}this.onData(h)}else{this.onData(n.shrinkBuf(t.output,t.next_out))}}}}while(t.avail_in>0&&o!==s.Z_STREAM_END);if(o===s.Z_STREAM_END){l=s.Z_FINISH}if(l===s.Z_FINISH){o=a.inflateEnd(this.strm);this.onEnd(o);this.ended=true;return o===s.Z_OK}return true};c.prototype.onData=function(e){this.chunks.push(e)};c.prototype.onEnd=function(e){if(e===s.Z_OK){if(this.options.to==="string"){this.result=this.chunks.join("")}else{this.result=n.flattenChunks(this.chunks)}}this.chunks=[];this.err=e;this.msg=this.strm.msg};function u(e,r){var t=new c(r);t.push(e,true);if(t.err){throw t.msg}return t.result}function h(e,r){r=r||{};r.raw=true;return u(e,r)}t.Inflate=c;t.inflate=u;t.inflateRaw=h;t.ungzip=u},{"./utils/common":27,"./utils/strings":28,"./zlib/constants":30,"./zlib/gzheader":33,"./zlib/inflate.js":35,"./zlib/messages":37,"./zlib/zstream":39}],27:[function(e,r,t){"use strict";var a=typeof Uint8Array!=="undefined"&&typeof Uint16Array!=="undefined"&&typeof Int32Array!=="undefined";t.assign=function(e){var r=Array.prototype.slice.call(arguments,1);while(r.length){var t=r.shift();if(!t){continue}if(typeof t!=="object"){throw new TypeError(t+"must be non-object")}for(var a in t){if(t.hasOwnProperty(a)){e[a]=t[a]}}}return e};t.shrinkBuf=function(e,r){if(e.length===r){return e}if(e.subarray){return e.subarray(0,r)}e.length=r;return e};var n={arraySet:function(e,r,t,a,n){if(r.subarray&&e.subarray){e.set(r.subarray(t,t+a),n);return}for(var i=0;i=252?6:o>=248?5:o>=240?4:o>=224?3:o>=192?2:1}f[254]=f[254]=1;t.string2buf=function(e){var r,t,n,i,s,f=e.length,o=0;for(i=0;i>>6;r[s++]=128|t&63}else if(t<65536){r[s++]=224|t>>>12;r[s++]=128|t>>>6&63;r[s++]=128|t&63}else{r[s++]=240|t>>>18;r[s++]=128|t>>>12&63;r[s++]=128|t>>>6&63;r[s++]=128|t&63}}return r};function l(e,r){if(r<65537){if(e.subarray&&i||!e.subarray&&n){return String.fromCharCode.apply(null,a.shrinkBuf(e,r))}}var t="";for(var s=0;s4){o[a++]=65533;t+=i-1;continue}n&=i===2?31:i===3?15:7;while(i>1&&t1){o[a++]=65533;continue}if(n<65536){o[a++]=n}else{n-=65536;o[a++]=55296|n>>10&1023;o[a++]=56320|n&1023}}return l(o,a)};t.utf8border=function(e,r){var t;r=r||e.length;if(r>e.length){r=e.length}t=r-1;while(t>=0&&(e[t]&192)===128){t--}if(t<0){return r}if(t===0){return r}return t+f[e[t]]>r?t:r}},{"./common":27}],29:[function(e,r,t){"use strict";function a(e,r,t,a){var n=e&65535|0,i=e>>>16&65535|0,s=0;while(t!==0){s=t>2e3?2e3:t;t-=s;do{n=n+r[a++]|0;i=i+n|0}while(--s);n%=65521;i%=65521}return n|i<<16|0}r.exports=a},{}],30:[function(e,r,t){r.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],31:[function(e,r,t){"use strict";function a(){var e,r=[];for(var t=0;t<256;t++){e=t;for(var a=0;a<8;a++){e=e&1?3988292384^e>>>1:e>>>1}r[t]=e}return r}var n=a();function i(e,r,t,a){var i=n,s=a+t;e=e^-1;for(var f=a;f>>8^i[(e^r[f])&255]}return e^-1}r.exports=i},{}],32:[function(e,r,t){"use strict";var a=e("../utils/common");var n=e("./trees");var i=e("./adler32");var s=e("./crc32");var f=e("./messages");var o=0;var l=1;var c=3;var u=4;var h=5;var d=0;var v=1;var p=-2;var m=-3;var b=-5;var g=-1;var E=1;var k=2;var S=3;var w=4;var B=0;var C=2;var _=8;var T=9;var x=15;var I=8;var A=29;var y=256;var R=y+1+A;var D=30;var O=19;var F=2*R+1;var P=15;var N=3;var L=258;var M=L+N+1;var U=32;var H=42;var W=69;var V=73;var z=91;var X=103;var G=113;var j=666;var K=1;var Y=2;var $=3;var Z=4;var Q=3;function J(e,r){e.msg=f[r];return r}function q(e){return(e<<1)-(e>4?9:0)}function ee(e){var r=e.length;while(--r>=0){e[r]=0}}function re(e){var r=e.state;var t=r.pending;if(t>e.avail_out){t=e.avail_out}if(t===0){return}a.arraySet(e.output,r.pending_buf,r.pending_out,t,e.next_out);e.next_out+=t;r.pending_out+=t;e.total_out+=t;e.avail_out-=t;r.pending-=t;if(r.pending===0){r.pending_out=0}}function te(e,r){n._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,r);e.block_start=e.strstart;re(e.strm)}function ae(e,r){e.pending_buf[e.pending++]=r}function ne(e,r){e.pending_buf[e.pending++]=r>>>8&255;e.pending_buf[e.pending++]=r&255}function ie(e,r,t,n){var f=e.avail_in;if(f>n){f=n}if(f===0){return 0}e.avail_in-=f;a.arraySet(r,e.input,e.next_in,f,t);if(e.state.wrap===1){e.adler=i(e.adler,r,f,t)}else if(e.state.wrap===2){e.adler=s(e.adler,r,f,t)}e.next_in+=f;e.total_in+=f;return f}function se(e,r){var t=e.max_chain_length;var a=e.strstart;var n;var i;var s=e.prev_length;var f=e.nice_match;var o=e.strstart>e.w_size-M?e.strstart-(e.w_size-M):0;var l=e.window;var c=e.w_mask;var u=e.prev;var h=e.strstart+L;var d=l[a+s-1];var v=l[a+s];if(e.prev_length>=e.good_match){t>>=2}if(f>e.lookahead){f=e.lookahead}do{n=r;if(l[n+s]!==v||l[n+s-1]!==d||l[n]!==l[a]||l[++n]!==l[a+1]){continue}a+=2;n++;do{}while(l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&as){e.match_start=r;s=i;if(i>=f){break}d=l[a+s-1];v=l[a+s]}}while((r=u[r&c])>o&&--t!==0);if(s<=e.lookahead){return s}return e.lookahead}function fe(e){var r=e.w_size;var t,n,i,s,f;do{s=e.window_size-e.lookahead-e.strstart;if(e.strstart>=r+(r-M)){a.arraySet(e.window,e.window,r,r,0);e.match_start-=r;e.strstart-=r;e.block_start-=r;n=e.hash_size;t=n;do{i=e.head[--t];e.head[t]=i>=r?i-r:0}while(--n);n=r;t=n;do{i=e.prev[--t];e.prev[t]=i>=r?i-r:0}while(--n);s+=r}if(e.strm.avail_in===0){break}n=ie(e.strm,e.window,e.strstart+e.lookahead,s);e.lookahead+=n;if(e.lookahead+e.insert>=N){f=e.strstart-e.insert;e.ins_h=e.window[f];e.ins_h=(e.ins_h<e.pending_buf_size-5){t=e.pending_buf_size-5}for(;;){if(e.lookahead<=1){fe(e);if(e.lookahead===0&&r===o){return K}if(e.lookahead===0){break}}e.strstart+=e.lookahead;e.lookahead=0;var a=e.block_start+t;if(e.strstart===0||e.strstart>=a){e.lookahead=e.strstart-a;e.strstart=a;te(e,false);if(e.strm.avail_out===0){return K}}if(e.strstart-e.block_start>=e.w_size-M){te(e,false);if(e.strm.avail_out===0){return K}}}e.insert=0;if(r===u){te(e,true);if(e.strm.avail_out===0){return $}return Z}if(e.strstart>e.block_start){te(e,false);if(e.strm.avail_out===0){return K}}return K}function le(e,r){var t;var a;for(;;){if(e.lookahead=N){e.ins_h=(e.ins_h<=N){a=n._tr_tally(e,e.strstart-e.match_start,e.match_length-N);e.lookahead-=e.match_length;if(e.match_length<=e.max_lazy_match&&e.lookahead>=N){e.match_length--;do{e.strstart++;e.ins_h=(e.ins_h<=N){e.ins_h=(e.ins_h<4096)){e.match_length=N-1}}if(e.prev_length>=N&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-N;a=n._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-N);e.lookahead-=e.prev_length-1;e.prev_length-=2;do{if(++e.strstart<=i){e.ins_h=(e.ins_h<=N&&e.strstart>0){i=e.strstart-1;a=f[i];if(a===f[++i]&&a===f[++i]&&a===f[++i]){s=e.strstart+L;do{}while(a===f[++i]&&a===f[++i]&&a===f[++i]&&a===f[++i]&&a===f[++i]&&a===f[++i]&&a===f[++i]&&a===f[++i]&&ie.lookahead){e.match_length=e.lookahead}}}if(e.match_length>=N){t=n._tr_tally(e,1,e.match_length-N);e.lookahead-=e.match_length;e.strstart+=e.match_length;e.match_length=0}else{t=n._tr_tally(e,0,e.window[e.strstart]);e.lookahead--;e.strstart++}if(t){te(e,false);if(e.strm.avail_out===0){return K}}}e.insert=0;if(r===u){te(e,true);if(e.strm.avail_out===0){return $}return Z}if(e.last_lit){te(e,false);if(e.strm.avail_out===0){return K}}return Y}function he(e,r){var t;for(;;){if(e.lookahead===0){fe(e);if(e.lookahead===0){if(r===o){return K}break}}e.match_length=0;t=n._tr_tally(e,0,e.window[e.strstart]);e.lookahead--;e.strstart++;if(t){te(e,false);if(e.strm.avail_out===0){return K}}}e.insert=0;if(r===u){te(e,true);if(e.strm.avail_out===0){return $}return Z}if(e.last_lit){te(e,false);if(e.strm.avail_out===0){return K}}return Y}var de=function(e,r,t,a,n){this.good_length=e;this.max_lazy=r;this.nice_length=t;this.max_chain=a;this.func=n};var ve;ve=[new de(0,0,0,0,oe),new de(4,4,8,4,le),new de(4,5,16,8,le),new de(4,6,32,32,le),new de(4,4,16,16,ce),new de(8,16,32,32,ce),new de(8,16,128,128,ce),new de(8,32,128,256,ce),new de(32,128,258,1024,ce),new de(32,258,258,4096,ce)];function pe(e){e.window_size=2*e.w_size;ee(e.head);e.max_lazy_match=ve[e.level].max_lazy;e.good_match=ve[e.level].good_length;e.nice_match=ve[e.level].nice_length;e.max_chain_length=ve[e.level].max_chain;e.strstart=0;e.block_start=0;e.lookahead=0;e.insert=0;e.match_length=e.prev_length=N-1;e.match_available=0;e.ins_h=0}function me(){this.strm=null;this.status=0;this.pending_buf=null;this.pending_buf_size=0;this.pending_out=0;this.pending=0;this.wrap=0;this.gzhead=null;this.gzindex=0;this.method=_;this.last_flush=-1;this.w_size=0;this.w_bits=0;this.w_mask=0;this.window=null;this.window_size=0;this.prev=null;this.head=null;this.ins_h=0;this.hash_size=0;this.hash_bits=0;this.hash_mask=0;this.hash_shift=0;this.block_start=0;this.match_length=0;this.prev_match=0;this.match_available=0;this.strstart=0;this.match_start=0;this.lookahead=0;this.prev_length=0;this.max_chain_length=0;this.max_lazy_match=0;this.level=0;this.strategy=0;this.good_match=0;this.nice_match=0;this.dyn_ltree=new a.Buf16(F*2);this.dyn_dtree=new a.Buf16((2*D+1)*2);this.bl_tree=new a.Buf16((2*O+1)*2);ee(this.dyn_ltree);ee(this.dyn_dtree);ee(this.bl_tree);this.l_desc=null;this.d_desc=null;this.bl_desc=null;this.bl_count=new a.Buf16(P+1);this.heap=new a.Buf16(2*R+1);ee(this.heap);this.heap_len=0;this.heap_max=0;this.depth=new a.Buf16(2*R+1);ee(this.depth);this.l_buf=0;this.lit_bufsize=0;this.last_lit=0;this.d_buf=0;this.opt_len=0;this.static_len=0;this.matches=0;this.insert=0;this.bi_buf=0;this.bi_valid=0}function be(e){var r;if(!e||!e.state){return J(e,p)}e.total_in=e.total_out=0;e.data_type=C;r=e.state;r.pending=0;r.pending_out=0;if(r.wrap<0){r.wrap=-r.wrap}r.status=r.wrap?H:G;e.adler=r.wrap===2?0:1;r.last_flush=o;n._tr_init(r);return d}function ge(e){var r=be(e);if(r===d){pe(e.state)}return r}function Ee(e,r){if(!e||!e.state){return p}if(e.state.wrap!==2){return p}e.state.gzhead=r;return d}function ke(e,r,t,n,i,s){if(!e){return p}var f=1;if(r===g){r=6}if(n<0){f=0;n=-n}else if(n>15){f=2;n-=16}if(i<1||i>T||t!==_||n<8||n>15||r<0||r>9||s<0||s>w){return J(e,p)}if(n===8){n=9}var o=new me;e.state=o;o.strm=e;o.wrap=f;o.gzhead=null;o.w_bits=n;o.w_size=1<>1;o.l_buf=(1+2)*o.lit_bufsize;o.level=r;o.strategy=s;o.method=t;return ge(e)}function Se(e,r){return ke(e,r,_,x,I,B)}function we(e,r){var t,a;var i,f;if(!e||!e.state||r>h||r<0){return e?J(e,p):p}a=e.state;if(!e.output||!e.input&&e.avail_in!==0||a.status===j&&r!==u){return J(e,e.avail_out===0?b:p)}a.strm=e;t=a.last_flush;a.last_flush=r;if(a.status===H){if(a.wrap===2){e.adler=0;ae(a,31);ae(a,139);ae(a,8);if(!a.gzhead){ae(a,0);ae(a,0);ae(a,0);ae(a,0);ae(a,0);ae(a,a.level===9?2:a.strategy>=k||a.level<2?4:0);ae(a,Q);a.status=G}else{ae(a,(a.gzhead.text?1:0)+(a.gzhead.hcrc?2:0)+(!a.gzhead.extra?0:4)+(!a.gzhead.name?0:8)+(!a.gzhead.comment?0:16));ae(a,a.gzhead.time&255);ae(a,a.gzhead.time>>8&255);ae(a,a.gzhead.time>>16&255);ae(a,a.gzhead.time>>24&255);ae(a,a.level===9?2:a.strategy>=k||a.level<2?4:0);ae(a,a.gzhead.os&255);if(a.gzhead.extra&&a.gzhead.extra.length){ae(a,a.gzhead.extra.length&255);ae(a,a.gzhead.extra.length>>8&255)}if(a.gzhead.hcrc){e.adler=s(e.adler,a.pending_buf,a.pending,0)}a.gzindex=0;a.status=W}}else{var m=_+(a.w_bits-8<<4)<<8;var g=-1;if(a.strategy>=k||a.level<2){g=0}else if(a.level<6){g=1}else if(a.level===6){g=2}else{g=3}m|=g<<6;if(a.strstart!==0){m|=U}m+=31-m%31;a.status=G;ne(a,m);if(a.strstart!==0){ne(a,e.adler>>>16);ne(a,e.adler&65535)}e.adler=1}}if(a.status===W){if(a.gzhead.extra){i=a.pending;while(a.gzindex<(a.gzhead.extra.length&65535)){if(a.pending===a.pending_buf_size){if(a.gzhead.hcrc&&a.pending>i){e.adler=s(e.adler,a.pending_buf,a.pending-i,i)}re(e);i=a.pending;if(a.pending===a.pending_buf_size){break}}ae(a,a.gzhead.extra[a.gzindex]&255);a.gzindex++}if(a.gzhead.hcrc&&a.pending>i){e.adler=s(e.adler,a.pending_buf,a.pending-i,i)}if(a.gzindex===a.gzhead.extra.length){a.gzindex=0;a.status=V}}else{a.status=V}}if(a.status===V){if(a.gzhead.name){i=a.pending;do{if(a.pending===a.pending_buf_size){if(a.gzhead.hcrc&&a.pending>i){e.adler=s(e.adler,a.pending_buf,a.pending-i,i)}re(e);i=a.pending;if(a.pending===a.pending_buf_size){f=1;break}}if(a.gzindexi){e.adler=s(e.adler,a.pending_buf,a.pending-i,i)}if(f===0){a.gzindex=0;a.status=z}}else{a.status=z}}if(a.status===z){if(a.gzhead.comment){i=a.pending;do{if(a.pending===a.pending_buf_size){if(a.gzhead.hcrc&&a.pending>i){e.adler=s(e.adler,a.pending_buf,a.pending-i,i)}re(e);i=a.pending;if(a.pending===a.pending_buf_size){f=1;break}}if(a.gzindexi){e.adler=s(e.adler,a.pending_buf,a.pending-i,i)}if(f===0){a.status=X}}else{a.status=X}}if(a.status===X){if(a.gzhead.hcrc){if(a.pending+2>a.pending_buf_size){re(e)}if(a.pending+2<=a.pending_buf_size){ae(a,e.adler&255);ae(a,e.adler>>8&255);e.adler=0;a.status=G}}else{a.status=G}}if(a.pending!==0){re(e);if(e.avail_out===0){a.last_flush=-1;return d}}else if(e.avail_in===0&&q(r)<=q(t)&&r!==u){return J(e,b)}if(a.status===j&&e.avail_in!==0){return J(e,b)}if(e.avail_in!==0||a.lookahead!==0||r!==o&&a.status!==j){var E=a.strategy===k?he(a,r):a.strategy===S?ue(a,r):ve[a.level].func(a,r);if(E===$||E===Z){a.status=j}if(E===K||E===$){if(e.avail_out===0){a.last_flush=-1}return d}if(E===Y){if(r===l){n._tr_align(a)}else if(r!==h){n._tr_stored_block(a,0,0,false);if(r===c){ee(a.head);if(a.lookahead===0){a.strstart=0;a.block_start=0;a.insert=0}}}re(e);if(e.avail_out===0){a.last_flush=-1;return d}}}if(r!==u){return d}if(a.wrap<=0){return v}if(a.wrap===2){ae(a,e.adler&255);ae(a,e.adler>>8&255);ae(a,e.adler>>16&255);ae(a,e.adler>>24&255);ae(a,e.total_in&255);ae(a,e.total_in>>8&255);ae(a,e.total_in>>16&255);ae(a,e.total_in>>24&255)}else{ne(a,e.adler>>>16);ne(a,e.adler&65535)}re(e);if(a.wrap>0){a.wrap=-a.wrap}return a.pending!==0?d:v}function Be(e){var r;if(!e||!e.state){return p}r=e.state.status;if(r!==H&&r!==W&&r!==V&&r!==z&&r!==X&&r!==G&&r!==j){return J(e,p)}e.state=null;return r===G?J(e,m):d}t.deflateInit=Se;t.deflateInit2=ke;t.deflateReset=ge;t.deflateResetKeep=be;t.deflateSetHeader=Ee;t.deflate=we;t.deflateEnd=Be;t.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":27,"./adler32":29,"./crc32":31,"./messages":37,"./trees":38}],33:[function(e,r,t){"use strict";function a(){this.text=0;this.time=0;this.xflags=0;this.os=0;this.extra=null;this.extra_len=0;this.name="";this.comment="";this.hcrc=0;this.done=false}r.exports=a},{}],34:[function(e,r,t){"use strict";var a=30;var n=12;r.exports=function i(e,r){var t;var i;var s;var f;var o;var l;var c;var u;var h;var d;var v;var p;var m;var b;var g;var E;var k;var S;var w;var B;var C;var _;var T;var x,I;t=e.state;i=e.next_in;x=e.input;s=i+(e.avail_in-5);f=e.next_out;I=e.output;o=f-(r-e.avail_out);l=f+(e.avail_out-257);c=t.dmax;u=t.wsize;h=t.whave;d=t.wnext;v=t.window;p=t.hold;m=t.bits;b=t.lencode;g=t.distcode;E=(1<>>24;p>>>=w;m-=w;w=S>>>16&255;if(w===0){I[f++]=S&65535}else if(w&16){B=S&65535;w&=15;if(w){if(m>>=w;m-=w}if(m<15){p+=x[i++]<>>24;p>>>=w;m-=w;w=S>>>16&255;if(w&16){C=S&65535;w&=15;if(mc){e.msg="invalid distance too far back";t.mode=a;break e}p>>>=w;m-=w;w=f-o;if(C>w){w=C-w;if(w>h){if(t.sane){e.msg="invalid distance too far back";t.mode=a;break e}}_=0;T=v;if(d===0){_+=u-w;if(w2){I[f++]=T[_++];I[f++]=T[_++];I[f++]=T[_++];B-=3}if(B){I[f++]=T[_++];if(B>1){I[f++]=T[_++]}}}else{_=f-C;do{I[f++]=I[_++];I[f++]=I[_++];I[f++]=I[_++];B-=3}while(B>2);if(B){I[f++]=I[_++];if(B>1){I[f++]=I[_++]}}}}else if((w&64)===0){S=g[(S&65535)+(p&(1<>3;i-=B;m-=B<<3;p&=(1<>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24)}function ie(){this.mode=0;this.last=false;this.wrap=0;this.havedict=false;this.flags=0;this.dmax=0;this.check=0;this.total=0;this.head=null;this.wbits=0;this.wsize=0;this.whave=0;this.wnext=0;this.window=null;this.hold=0;this.bits=0;this.length=0;this.offset=0;this.extra=0;this.lencode=null;this.distcode=null;this.lenbits=0;this.distbits=0;this.ncode=0;this.nlen=0;this.ndist=0;this.have=0;this.next=null;this.lens=new a.Buf16(320);this.work=new a.Buf16(288);this.lendyn=null;this.distdyn=null;this.sane=0;this.back=0;this.was=0}function se(e){var r;if(!e||!e.state){return b}r=e.state;e.total_in=e.total_out=r.total=0;e.msg="";if(r.wrap){e.adler=r.wrap&1}r.mode=w;r.last=0;r.havedict=0;r.dmax=32768;r.head=null;r.hold=0;r.bits=0;r.lencode=r.lendyn=new a.Buf32(ee);r.distcode=r.distdyn=new a.Buf32(re);r.sane=1;r.back=-1;return v}function fe(e){var r;if(!e||!e.state){return b}r=e.state;r.wsize=0;r.whave=0;r.wnext=0;return se(e)}function oe(e,r){var t;var a;if(!e||!e.state){return b}a=e.state;if(r<0){t=0;r=-r}else{t=(r>>4)+1;if(r<48){r&=15}}if(r&&(r<8||r>15)){return b}if(a.window!==null&&a.wbits!==r){a.window=null}a.wrap=t;a.wbits=r;return fe(e)}function le(e,r){var t;var a;if(!e){return b}a=new ie;e.state=a;a.window=null;t=oe(e,r);if(t!==v){e.state=null}return t}function ce(e){return le(e,ae)}var ue=true;var he,de;function ve(e){if(ue){var r;he=new a.Buf32(512);de=new a.Buf32(32);r=0;while(r<144){e.lens[r++]=8}while(r<256){e.lens[r++]=9}while(r<280){e.lens[r++]=7}while(r<288){e.lens[r++]=8}f(l,e.lens,0,288,he,0,e.work,{bits:9});r=0;while(r<32){e.lens[r++]=5}f(c,e.lens,0,32,de,0,e.work,{bits:5});ue=false}e.lencode=he;e.lenbits=9;e.distcode=de;e.distbits=5}function pe(e,r,t,n){var i;var s=e.state;if(s.window===null){s.wsize=1<=s.wsize){a.arraySet(s.window,r,t-s.wsize,s.wsize,0);s.wnext=0;s.whave=s.wsize}else{i=s.wsize-s.wnext;if(i>n){i=n}a.arraySet(s.window,r,t-n,i,s.wnext);n-=i;if(n){a.arraySet(s.window,r,t-n,n,0);s.wnext=n;s.whave=s.wsize}else{s.wnext+=i;if(s.wnext===s.wsize){s.wnext=0}if(s.whave>>8&255;t.check=i(t.check,_e,2,0);fe=0;oe=0;t.mode=B;break}t.flags=0;if(t.head){t.head.done=false}if(!(t.wrap&1)||(((fe&255)<<8)+(fe>>8))%31){e.msg="incorrect header check";t.mode=Q;break}if((fe&15)!==S){e.msg="unknown compression method";t.mode=Q;break}fe>>>=4;oe-=4;Be=(fe&15)+8;if(t.wbits===0){t.wbits=Be}else if(Be>t.wbits){e.msg="invalid window size";t.mode=Q;break}t.dmax=1<>8&1}if(t.flags&512){_e[0]=fe&255;_e[1]=fe>>>8&255;t.check=i(t.check,_e,2,0)}fe=0;oe=0;t.mode=C;case C:while(oe<32){if(ie===0){break e}ie--;fe+=ee[te++]<>>8&255;_e[2]=fe>>>16&255;_e[3]=fe>>>24&255;t.check=i(t.check,_e,4,0)}fe=0;oe=0;t.mode=_;case _:while(oe<16){if(ie===0){break e}ie--;fe+=ee[te++]<>8}if(t.flags&512){_e[0]=fe&255;_e[1]=fe>>>8&255;t.check=i(t.check,_e,2,0)}fe=0;oe=0;t.mode=T;case T:if(t.flags&1024){while(oe<16){if(ie===0){break e}ie--;fe+=ee[te++]<>>8&255;t.check=i(t.check,_e,2,0)}fe=0;oe=0}else if(t.head){t.head.extra=null}t.mode=x;case x:if(t.flags&1024){ue=t.length;if(ue>ie){ue=ie}if(ue){if(t.head){Be=t.head.extra_len-t.length;if(!t.head.extra){t.head.extra=new Array(t.head.extra_len)}a.arraySet(t.head.extra,ee,te,ue,Be)}if(t.flags&512){t.check=i(t.check,ee,ue,te)}ie-=ue;te+=ue;t.length-=ue}if(t.length){break e}}t.length=0;t.mode=I;case I:if(t.flags&2048){if(ie===0){break e}ue=0;do{Be=ee[te+ue++];if(t.head&&Be&&t.length<65536){t.head.name+=String.fromCharCode(Be)}}while(Be&&ue>9&1;t.head.done=true}e.adler=t.check=0;t.mode=O;break;case R:while(oe<32){if(ie===0){break e}ie--;fe+=ee[te++]<>>=oe&7;oe-=oe&7;t.mode=Y;break}while(oe<3){if(ie===0){break e}ie--;fe+=ee[te++]<>>=1;oe-=1;switch(fe&3){case 0:t.mode=P;break;case 1:ve(t);t.mode=W;if(r===d){fe>>>=2;oe-=2;break e}break;case 2:t.mode=M;break;case 3:e.msg="invalid block type";t.mode=Q;}fe>>>=2;oe-=2;break;case P:fe>>>=oe&7;oe-=oe&7;while(oe<32){if(ie===0){break e}ie--;fe+=ee[te++]<>>16^65535)){ -e.msg="invalid stored block lengths";t.mode=Q;break}t.length=fe&65535;fe=0;oe=0;t.mode=N;if(r===d){break e};case N:t.mode=L;case L:ue=t.length;if(ue){if(ue>ie){ue=ie}if(ue>se){ue=se}if(ue===0){break e}a.arraySet(re,ee,te,ue,ae);ie-=ue;te+=ue;se-=ue;ae+=ue;t.length-=ue;break}t.mode=O;break;case M:while(oe<14){if(ie===0){break e}ie--;fe+=ee[te++]<>>=5;oe-=5;t.ndist=(fe&31)+1;fe>>>=5;oe-=5;t.ncode=(fe&15)+4;fe>>>=4;oe-=4;if(t.nlen>286||t.ndist>30){e.msg="too many length or distance symbols";t.mode=Q;break}t.have=0;t.mode=U;case U:while(t.have>>=3;oe-=3}while(t.have<19){t.lens[Ie[t.have++]]=0}t.lencode=t.lendyn;t.lenbits=7;Te={bits:t.lenbits};Ce=f(o,t.lens,0,19,t.lencode,0,t.work,Te);t.lenbits=Te.bits;if(Ce){e.msg="invalid code lengths set";t.mode=Q;break}t.have=0;t.mode=H;case H:while(t.have>>24;ge=me>>>16&255;Ee=me&65535;if(be<=oe){break}if(ie===0){break e}ie--;fe+=ee[te++]<>>=be;oe-=be;t.lens[t.have++]=Ee}else{if(Ee===16){xe=be+2;while(oe>>=be;oe-=be;if(t.have===0){e.msg="invalid bit length repeat";t.mode=Q;break}Be=t.lens[t.have-1];ue=3+(fe&3);fe>>>=2;oe-=2}else if(Ee===17){xe=be+3;while(oe>>=be;oe-=be;Be=0;ue=3+(fe&7);fe>>>=3;oe-=3}else{xe=be+7;while(oe>>=be;oe-=be;Be=0;ue=11+(fe&127);fe>>>=7;oe-=7}if(t.have+ue>t.nlen+t.ndist){e.msg="invalid bit length repeat";t.mode=Q;break}while(ue--){t.lens[t.have++]=Be}}}if(t.mode===Q){break}if(t.lens[256]===0){e.msg="invalid code -- missing end-of-block";t.mode=Q;break}t.lenbits=9;Te={bits:t.lenbits};Ce=f(l,t.lens,0,t.nlen,t.lencode,0,t.work,Te);t.lenbits=Te.bits;if(Ce){e.msg="invalid literal/lengths set";t.mode=Q;break}t.distbits=6;t.distcode=t.distdyn;Te={bits:t.distbits};Ce=f(c,t.lens,t.nlen,t.ndist,t.distcode,0,t.work,Te);t.distbits=Te.bits;if(Ce){e.msg="invalid distances set";t.mode=Q;break}t.mode=W;if(r===d){break e};case W:t.mode=V;case V:if(ie>=6&&se>=258){e.next_out=ae;e.avail_out=se;e.next_in=te;e.avail_in=ie;t.hold=fe;t.bits=oe;s(e,ce);ae=e.next_out;re=e.output;se=e.avail_out;te=e.next_in;ee=e.input;ie=e.avail_in;fe=t.hold;oe=t.bits;if(t.mode===O){t.back=-1}break}t.back=0;for(;;){me=t.lencode[fe&(1<>>24;ge=me>>>16&255;Ee=me&65535;if(be<=oe){break}if(ie===0){break e}ie--;fe+=ee[te++]<>ke)];be=me>>>24;ge=me>>>16&255;Ee=me&65535;if(ke+be<=oe){break}if(ie===0){break e}ie--;fe+=ee[te++]<>>=ke;oe-=ke;t.back+=ke}fe>>>=be;oe-=be;t.back+=be;t.length=Ee;if(ge===0){t.mode=K;break}if(ge&32){t.back=-1;t.mode=O;break}if(ge&64){e.msg="invalid literal/length code";t.mode=Q;break}t.extra=ge&15;t.mode=z;case z:if(t.extra){xe=t.extra;while(oe>>=t.extra;oe-=t.extra;t.back+=t.extra}t.was=t.length;t.mode=X;case X:for(;;){me=t.distcode[fe&(1<>>24;ge=me>>>16&255;Ee=me&65535;if(be<=oe){break}if(ie===0){break e}ie--;fe+=ee[te++]<>ke)];be=me>>>24;ge=me>>>16&255;Ee=me&65535;if(ke+be<=oe){break}if(ie===0){break e}ie--;fe+=ee[te++]<>>=ke;oe-=ke;t.back+=ke}fe>>>=be;oe-=be;t.back+=be;if(ge&64){e.msg="invalid distance code";t.mode=Q;break}t.offset=Ee;t.extra=ge&15;t.mode=G;case G:if(t.extra){xe=t.extra;while(oe>>=t.extra;oe-=t.extra;t.back+=t.extra}if(t.offset>t.dmax){e.msg="invalid distance too far back";t.mode=Q;break}t.mode=j;case j:if(se===0){break e}ue=ce-se;if(t.offset>ue){ue=t.offset-ue;if(ue>t.whave){if(t.sane){e.msg="invalid distance too far back";t.mode=Q;break}}if(ue>t.wnext){ue-=t.wnext;he=t.wsize-ue}else{he=t.wnext-ue}if(ue>t.length){ue=t.length}de=t.window}else{de=re;he=ae-t.offset;ue=t.length}if(ue>se){ue=se}se-=ue;t.length-=ue;do{re[ae++]=de[he++]}while(--ue);if(t.length===0){t.mode=V}break;case K:if(se===0){break e}re[ae++]=t.length;se--;t.mode=V;break;case Y:if(t.wrap){while(oe<32){if(ie===0){break e}ie--;fe|=ee[te++]<=1;C--){if(U[C]!==0){break}}if(_>C){_=C}if(C===0){m[b++]=1<<24|64<<16|0;m[b++]=1<<24|64<<16|0;E.bits=1;return 0}for(B=1;B0&&(e===f||C!==1)){return-1}H[1]=0;for(S=1;Si||e===l&&A>s){return 1}var j=0;for(;;){j++;z=S-x;if(g[w]M){X=W[V+g[w]];G=N[L+g[w]]}else{X=32+64;G=0}R=1<>x)+D]=z<<24|X<<16|G|0}while(D!==0);R=1<>=1}if(R!==0){y&=R-1;y+=R}else{y=0}w++;if(--U[S]===0){if(S===C){break}S=r[t+g[w]]}if(S>_&&(y&F)!==O){if(x===0){x=_}P+=B;T=S-x;I=1<i||e===l&&A>s){return 1}O=y&F;m[O]=_<<24|T<<16|P-b|0}}if(y!==0){m[P+y]=S-x<<24|64<<16|0}E.bits=_;return 0}},{"../utils/common":27}],37:[function(e,r,t){"use strict";r.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],38:[function(e,r,t){"use strict";var a=e("../utils/common");var n=4;var i=0;var s=1;var f=2;function o(e){var r=e.length;while(--r>=0){e[r]=0}}var l=0;var c=1;var u=2;var h=3;var d=258;var v=29;var p=256;var m=p+1+v;var b=30;var g=19;var E=2*m+1;var k=15;var S=16;var w=7;var B=256;var C=16;var _=17;var T=18;var x=[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];var I=[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];var A=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7];var y=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];var R=512;var D=new Array((m+2)*2);o(D);var O=new Array(b*2);o(O);var F=new Array(R);o(F);var P=new Array(d-h+1);o(P);var N=new Array(v);o(N);var L=new Array(b);o(L);var M=function(e,r,t,a,n){this.static_tree=e;this.extra_bits=r;this.extra_base=t;this.elems=a;this.max_length=n;this.has_stree=e&&e.length};var U;var H;var W;var V=function(e,r){this.dyn_tree=e;this.max_code=0;this.stat_desc=r};function z(e){return e<256?F[e]:F[256+(e>>>7)]}function X(e,r){e.pending_buf[e.pending++]=r&255;e.pending_buf[e.pending++]=r>>>8&255}function G(e,r,t){if(e.bi_valid>S-t){e.bi_buf|=r<>S-e.bi_valid;e.bi_valid+=t-S}else{e.bi_buf|=r<>>=1;t<<=1}while(--r>0);return t>>>1}function Y(e){if(e.bi_valid===16){X(e,e.bi_buf);e.bi_buf=0;e.bi_valid=0}else if(e.bi_valid>=8){e.pending_buf[e.pending++]=e.bi_buf&255;e.bi_buf>>=8;e.bi_valid-=8}}function $(e,r){var t=r.dyn_tree;var a=r.max_code;var n=r.stat_desc.static_tree;var i=r.stat_desc.has_stree;var s=r.stat_desc.extra_bits;var f=r.stat_desc.extra_base;var o=r.stat_desc.max_length;var l;var c,u;var h;var d;var v;var p=0;for(h=0;h<=k;h++){e.bl_count[h]=0}t[e.heap[e.heap_max]*2+1]=0;for(l=e.heap_max+1;lo){h=o;p++}t[c*2+1]=h;if(c>a){continue}e.bl_count[h]++;d=0;if(c>=f){d=s[c-f]}v=t[c*2];e.opt_len+=v*(h+d);if(i){e.static_len+=v*(n[c*2+1]+d)}}if(p===0){return}do{h=o-1;while(e.bl_count[h]===0){h--}e.bl_count[h]--;e.bl_count[h+1]+=2;e.bl_count[o]--;p-=2}while(p>0);for(h=o;h!==0;h--){c=e.bl_count[h];while(c!==0){u=e.heap[--l];if(u>a){continue}if(t[u*2+1]!==h){e.opt_len+=(h-t[u*2+1])*t[u*2];t[u*2+1]=h}c--}}}function Z(e,r,t){var a=new Array(k+1);var n=0;var i;var s;for(i=1;i<=k;i++){a[i]=n=n+t[i-1]<<1}for(s=0;s<=r;s++){var f=e[s*2+1];if(f===0){continue}e[s*2]=K(a[f]++,f)}}function Q(){var e;var r;var t;var a;var n;var i=new Array(k+1);t=0;for(a=0;a>=7;for(;a8){X(e,e.bi_buf)}else if(e.bi_valid>0){e.pending_buf[e.pending++]=e.bi_buf}e.bi_buf=0;e.bi_valid=0}function ee(e,r,t,n){q(e);if(n){X(e,t);X(e,~t)}a.arraySet(e.pending_buf,e.window,r,t,e.pending);e.pending+=t}function re(e,r,t,a){var n=r*2;var i=t*2;return e[n]>1;s>=1;s--){te(e,t,s)}l=i;do{s=e.heap[1];e.heap[1]=e.heap[e.heap_len--];te(e,t,1);f=e.heap[1];e.heap[--e.heap_max]=s;e.heap[--e.heap_max]=f;t[l*2]=t[s*2]+t[f*2];e.depth[l]=(e.depth[s]>=e.depth[f]?e.depth[s]:e.depth[f])+1;t[s*2+1]=t[f*2+1]=l;e.heap[1]=l++;te(e,t,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1];$(e,r);Z(t,o,e.bl_count)}function ie(e,r,t){var a;var n=-1;var i;var s=r[0*2+1];var f=0;var o=7;var l=4;if(s===0){o=138;l=3}r[(t+1)*2+1]=65535;for(a=0;a<=t;a++){i=s;s=r[(a+1)*2+1];if(++f=3;r--){if(e.bl_tree[y[r]*2+1]!==0){break}}e.opt_len+=3*(r+1)+5+5+4;return r}function oe(e,r,t,a){var n;G(e,r-257,5);G(e,t-1,5);G(e,a-4,4);for(n=0;n>>=1){if(r&1&&e.dyn_ltree[t*2]!==0){return i}}if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0){return s}for(t=32;t0){if(e.strm.data_type===f){e.strm.data_type=le(e)}ne(e,e.l_desc);ne(e,e.d_desc);o=fe(e);i=e.opt_len+3+7>>>3;s=e.static_len+3+7>>>3;if(s<=i){i=s}}else{i=s=t+5}if(t+4<=i&&r!==-1){he(e,r,t,a)}else if(e.strategy===n||s===i){G(e,(c<<1)+(a?1:0),3);ae(e,D,O)}else{G(e,(u<<1)+(a?1:0),3);oe(e,e.l_desc.max_code+1,e.d_desc.max_code+1,o+1);ae(e,e.dyn_ltree,e.dyn_dtree)}J(e);if(a){q(e)}}function pe(e,r,t){e.pending_buf[e.d_buf+e.last_lit*2]=r>>>8&255;e.pending_buf[e.d_buf+e.last_lit*2+1]=r&255;e.pending_buf[e.l_buf+e.last_lit]=t&255;e.last_lit++;if(r===0){e.dyn_ltree[t*2]++}else{e.matches++;r--;e.dyn_ltree[(P[t]+p+1)*2]++;e.dyn_dtree[z(r)*2]++}return e.last_lit===e.lit_bufsize-1}t._tr_init=ue;t._tr_stored_block=he;t._tr_flush_block=ve;t._tr_tally=pe;t._tr_align=de},{"../utils/common":27}],39:[function(e,r,t){"use strict";function a(){this.input=null;this.next_in=0;this.avail_in=0;this.total_in=0;this.output=null;this.next_out=0;this.avail_out=0;this.total_out=0;this.msg="";this.state=null;this.data_type=2;this.adler=0}r.exports=a},{}]},{},[9])(9)});var XLSX={};(function e(r){r.version="0.11.0";var t=1200;if(typeof module!=="undefined"&&typeof require!=="undefined"){if(typeof cptable==="undefined")global.cptable=null}function a(){n(1200)}var n=function(e){t=e};function i(e){var r=[];for(var t=0,a=e.length;t>1;++t)r[t]=String.fromCharCode(e.charCodeAt(2*t)+(e.charCodeAt(2*t+1)<<8));return r.join("")}function f(e){var r=[];for(var t=0;t>1;++t)r[t]=String.fromCharCode(e.charCodeAt(2*t+1)+(e.charCodeAt(2*t)<<8));return r.join("")}var o=function(e){var r=e.charCodeAt(0),t=e.charCodeAt(1);if(r==255&&t==254)return s(e.substr(2));if(r==254&&t==255)return f(e.substr(2));if(r==65279)return e.substr(1);return e};var l=function Tk(e){return String.fromCharCode(e)};if(typeof cptable!=="undefined"){n=function(e){t=e};o=function(e){if(e.charCodeAt(0)===255&&e.charCodeAt(1)===254){return cptable.utils.decode(1200,i(e.substr(2)))}return e};l=function xk(e){if(t===1200)return String.fromCharCode(e);return cptable.utils.decode(t,[e&255,e>>8])[0]}}var c=null;var u=true;var h=function Ik(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return{encode:function(r){var t="";var a,n,i,s,f,o,l;for(var c=0;c>2;f=(a&3)<<4|n>>4;o=(n&15)<<2|i>>6;l=i&63;if(isNaN(n)){o=l=64}else if(isNaN(i)){l=64}t+=e.charAt(s)+e.charAt(f)+e.charAt(o)+e.charAt(l)}return t},decode:function r(t){var a="";var n,i,s;var f,o,l,c;t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"");for(var u=0;u>4;i=(o&15)<<4|l>>2;s=(l&3)<<6|c;a+=String.fromCharCode(n);if(l!=64){a+=String.fromCharCode(i)}if(c!=64){a+=String.fromCharCode(s)}}return a}}}();var d=typeof Buffer!=="undefined"&&typeof process!=="undefined"&&typeof process.versions!=="undefined"&&process.versions.node;function v(e){return new(d?Buffer:Array)(e)}function p(e){if(d)return new Buffer(e,"binary");return e.split("").map(function(e){return e.charCodeAt(0)&255})}var m=function(e){return[].concat.apply([],e)};var b=/\u0000/g,g=/[\u0001-\u0006]/;var E={};var k=function Ak(e){e.version="0.10.0";function r(e){var r="",t=e.length-1;while(t>=0)r+=e.charAt(t--);return r}function t(e,r){var t="";while(t.length=r?a:t("0",r-a.length)+a}function n(e,r){var a=""+e;return a.length>=r?a:t(" ",r-a.length)+a}function i(e,r){var a=""+e;return a.length>=r?a:a+t(" ",r-a.length)}function s(e,r){var a=""+Math.round(e);return a.length>=r?a:t("0",r-a.length)+a}function f(e,r){var a=""+e;return a.length>=r?a:t("0",r-a.length)+a}var o=Math.pow(2,32);function l(e,r){if(e>o||e<-o)return s(e,r);var t=Math.round(e);return f(t,r)}function c(e,r){r=r||0;return e.length>=7+r&&(e.charCodeAt(r)|32)===103&&(e.charCodeAt(r+1)|32)===101&&(e.charCodeAt(r+2)|32)===110&&(e.charCodeAt(r+3)|32)===101&&(e.charCodeAt(r+4)|32)===114&&(e.charCodeAt(r+5)|32)===97&&(e.charCodeAt(r+6)|32)===108}var u=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]];var h=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]];function d(e){e[0]="General";e[1]="0";e[2]="0.00";e[3]="#,##0";e[4]="#,##0.00";e[9]="0%";e[10]="0.00%";e[11]="0.00E+00";e[12]="# ?/?";e[13]="# ??/??";e[14]="m/d/yy";e[15]="d-mmm-yy";e[16]="d-mmm";e[17]="mmm-yy";e[18]="h:mm AM/PM";e[19]="h:mm:ss AM/PM";e[20]="h:mm";e[21]="h:mm:ss";e[22]="m/d/yy h:mm";e[37]="#,##0 ;(#,##0)";e[38]="#,##0 ;[Red](#,##0)";e[39]="#,##0.00;(#,##0.00)";e[40]="#,##0.00;[Red](#,##0.00)";e[45]="mm:ss";e[46]="[h]:mm:ss";e[47]="mmss.0";e[48]="##0.0E+0";e[49]="@";e[56]='"上午/下午 "hh"時"mm"分"ss"秒 "';e[65535]="General"}var v={};d(v);function p(e,r,t){var a=e<0?-1:1;var n=e*a;var i=0,s=1,f=0;var o=1,l=0,c=0;var u=Math.floor(n);while(lr){if(l>r){c=o;f=i}else{c=l;f=s}}if(!t)return[0,a*f,c];var h=Math.floor(a*f/c);return[h,a*f-h*c,c]}function m(e,r,t){if(e>2958465||e<0)return null;var a=e|0,n=Math.floor(86400*(e-a)),i=0;var s=[];var f={D:a,T:n,u:86400*(e-a)-n,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(f.u)<1e-6)f.u=0;if(r&&r.date1904)a+=1462;if(f.u>.9999){f.u=0;if(++n==86400){f.T=n=0;++a;++f.D}}if(a===60){s=t?[1317,10,29]:[1900,2,29];i=3}else if(a===0){s=t?[1317,8,29]:[1900,1,0];i=6}else{if(a>60)--a;var o=new Date(1900,0,1);o.setDate(o.getDate()+a-1);s=[o.getFullYear(),o.getMonth()+1,o.getDate()];i=o.getDay();if(a<60)i=(i+6)%7;if(t)i=C(o,s)}f.y=s[0];f.m=s[1];f.d=s[2];f.S=n%60;n=Math.floor(n/60);f.M=n%60;n=Math.floor(n/60);f.H=n;f.q=i;return f}e.parse_date_code=m;var b=new Date(1899,11,31,0,0,0);var g=b.getTime();var E=new Date(1900,2,1,0,0,0);function k(e,r){var t=e.getTime();if(r)t-=1461*24*60*60*1e3;else if(e>=E)t+=24*60*60*1e3;return(t-(g+(e.getTimezoneOffset()-b.getTimezoneOffset())*6e4))/(24*60*60*1e3)}function S(e){return e.toString(10)}e._general_int=S;var w=function M(){var e=/\.(\d*[1-9])0+$/,r=/\.0*$/,t=/\.(\d*[1-9])0+/,a=/\.0*[Ee]/,n=/(E[+-])(\d)$/;function i(e){var r=e<0?12:11;var t=o(e.toFixed(12));if(t.length<=r)return t;t=e.toPrecision(10);if(t.length<=r)return t;return e.toExponential(5)}function s(r){var t=r.toFixed(11).replace(e,".$1");if(t.length>(r<0?12:11))t=r.toPrecision(6);return t}function f(e){for(var r=0;r!=e.length;++r)if((e.charCodeAt(r)|32)===101)return e.replace(t,".$1").replace(a,"E").replace("e","E").replace(n,"$10$2");return e}function o(t){return t.indexOf(".")>-1?t.replace(r,"").replace(e,".$1"):t}return function l(e){var r=Math.floor(Math.log(Math.abs(e))*Math.LOG10E),t;if(r>=-4&&r<=-1)t=e.toPrecision(10+r);else if(Math.abs(r)<=9)t=i(e);else if(r===10)t=e.toFixed(10).substr(0,12);else t=s(e);return o(f(t))}}();e._general_num=w;function B(e,r){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(e|0)===e?S(e):w(e);case"undefined":return"";case"object":if(e==null)return"";if(e instanceof Date)return N(14,k(e,r&&r.date1904),r);}throw new Error("unsupported value in General format: "+e)}e._general=B;function C(){return 0}function _(e,r,t,n){var i="",s=0,f=0,o=t.y,l,c=0;switch(e){case 98:o=t.y+543;case 121:switch(r.length){case 1:;case 2:l=o%100;c=2;break;default:l=o%1e4;c=4;break;}break;case 109:switch(r.length){case 1:;case 2:l=t.m;c=r.length;break;case 3:return h[t.m-1][1];case 5:return h[t.m-1][0];default:return h[t.m-1][2];}break;case 100:switch(r.length){case 1:;case 2:l=t.d;c=r.length;break;case 3:return u[t.q][0];default:return u[t.q][1];}break;case 104:switch(r.length){case 1:;case 2:l=1+(t.H+11)%12;c=r.length;break;default:throw"bad hour format: "+r;}break;case 72:switch(r.length){case 1:;case 2:l=t.H;c=r.length;break;default:throw"bad hour format: "+r;}break;case 77:switch(r.length){case 1:;case 2:l=t.M;c=r.length;break;default:throw"bad minute format: "+r;}break;case 115:if(r!="s"&&r!="ss"&&r!=".0"&&r!=".00"&&r!=".000")throw"bad second format: "+r;if(t.u===0&&(r=="s"||r=="ss"))return a(t.S,r.length);if(n>=2)f=n===3?1e3:100;else f=n===1?10:1;s=Math.round(f*(t.S+t.u));if(s>=60*f)s=0;if(r==="s")return s===0?"0":""+s/f;i=a(s,2+n);if(r==="ss")return i.substr(0,2);return"."+i.substr(2,r.length-1);case 90:switch(r){case"[h]":;case"[hh]":l=t.D*24+t.H;break;case"[m]":;case"[mm]":l=(t.D*24+t.H)*60+t.M;break;case"[s]":;case"[ss]":l=((t.D*24+t.H)*60+t.M)*60+Math.round(t.S+t.u);break;default:throw"bad abstime format: "+r;}c=r.length===3?1:2;break;case 101:l=o;c=1;}if(c>0)return a(l,c);else return""}function T(e){var r=3;if(e.length<=r)return e;var t=e.length%r,a=e.substr(0,t);for(;t!=e.length;t+=r)a+=(a.length>0?",":"")+e.substr(t,r);return a}var x=function U(){var e=/%/g;function s(r,a,n){var i=a.replace(e,""),s=a.length-i.length;return x(r,i,n*Math.pow(10,2*s))+t("%",s)}function f(e,r,t){var a=r.length-1;while(r.charCodeAt(a-1)===44)--a;return x(e,r.substr(0,a),t/Math.pow(10,3*(r.length-a)))}function o(e,r){var t;var a=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(r==0)return"0.0E+0";else if(r<0)return"-"+o(e,-r);var n=e.indexOf(".");if(n===-1)n=e.indexOf("E");var i=Math.floor(Math.log(r)*Math.LOG10E)%n;if(i<0)i+=n;t=(r/Math.pow(10,i)).toPrecision(a+1+(n+i)%n);if(t.indexOf("e")===-1){var s=Math.floor(Math.log(r)*Math.LOG10E);if(t.indexOf(".")===-1)t=t.charAt(0)+"."+t.substr(1)+"E+"+(s-t.length+i);else t+="E+"+(s-i);while(t.substr(0,2)==="0."){t=t.charAt(0)+t.substr(2,n)+"."+t.substr(2+n);t=t.replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.")}t=t.replace(/\+-/,"-")}t=t.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(e,r,t,a){return r+t+a.substr(0,(n+i)%n)+"."+a.substr(i)+"E"})}else t=r.toExponential(a);if(e.match(/E\+00$/)&&t.match(/e[+-]\d$/))t=t.substr(0,t.length-1)+"0"+t.charAt(t.length-1);if(e.match(/E\-/)&&t.match(/e\+/))t=t.replace(/e\+/,"e");return t.replace("e","E")}var c=/# (\?+)( ?)\/( ?)(\d+)/;function u(e,r,i){var s=parseInt(e[4],10),f=Math.round(r*s),o=Math.floor(f/s);var l=f-o*s,c=s;return i+(o===0?"":""+o)+" "+(l===0?t(" ",e[1].length+1+e[4].length):n(l,e[1].length)+e[2]+"/"+e[3]+a(c,e[4].length))}function h(e,r,a){return a+(r===0?"":""+r)+t(" ",e[1].length+2+e[4].length)}var d=/^#*0*\.([0#]+)/;var v=/\).*[0#]/;var m=/\(###\) ###\\?-####/;function b(e){var r="",t;for(var a=0;a!=e.length;++a)switch(t=e.charCodeAt(a)){case 35:break;case 63:r+=" ";break;case 48:r+="0";break;default:r+=String.fromCharCode(t);}return r}function g(e,r){var t=Math.pow(10,r);return""+Math.round(e*t)/t}function E(e,r){if(r<(""+Math.round((e-Math.floor(e))*Math.pow(10,r))).length){return 0}return Math.round((e-Math.floor(e))*Math.pow(10,r))}function k(e,r){if(r<(""+Math.round((e-Math.floor(e))*Math.pow(10,r))).length){return 1}return 0}function S(e){if(e<2147483647&&e>-2147483648)return""+(e>=0?e|0:e-1|0);return""+Math.floor(e)}function w(e,h,B){if(e.charCodeAt(0)===40&&!h.match(v)){var C=h.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");if(B>=0)return w("n",C,B);return"("+w("n",C,-B)+")"}if(h.charCodeAt(h.length-1)===44)return f(e,h,B);if(h.indexOf("%")!==-1)return s(e,h,B);if(h.indexOf("E")!==-1)return o(h,B);if(h.charCodeAt(0)===36)return"$"+w(e,h.substr(h.charAt(1)==" "?2:1),B);var _;var I,A,y,R=Math.abs(B),D=B<0?"-":"";if(h.match(/^00+$/))return D+l(R,h.length);if(h.match(/^[#?]+$/)){_=l(B,0);if(_==="0")_="";return _.length>h.length?_:b(h.substr(0,h.length-_.length))+_}if(I=h.match(c))return u(I,R,D);if(h.match(/^#+0+$/))return D+l(R,h.length-h.indexOf("0"));if(I=h.match(d)){_=g(B,I[1].length).replace(/^([^\.]+)$/,"$1."+b(I[1])).replace(/\.$/,"."+b(I[1])).replace(/\.(\d*)$/,function(e,r){return"."+r+t("0",b(I[1]).length-r.length)});return h.indexOf("0.")!==-1?_:_.replace(/^0\./,".")}h=h.replace(/^#+([0.])/,"$1");if(I=h.match(/^(0*)\.(#*)$/)){return D+g(R,I[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,I[1].length?"0.":".")}if(I=h.match(/^#{1,3},##0(\.?)$/))return D+T(l(R,0));if(I=h.match(/^#,##0\.([#0]*0)$/)){return B<0?"-"+w(e,h,-B):T(""+(Math.floor(B)+k(B,I[1].length)))+"."+a(E(B,I[1].length),I[1].length)}if(I=h.match(/^#,#*,#0/))return w(e,h.replace(/^#,#*,/,""),B);if(I=h.match(/^([0#]+)(\\?-([0#]+))+$/)){_=r(w(e,h.replace(/[\\-]/g,""),B));A=0;return r(r(h.replace(/\\/g,"")).replace(/[0#]/g,function(e){return A<_.length?_.charAt(A++):e==="0"?"0":""}))}if(h.match(m)){_=w(e,"##########",B);return"("+_.substr(0,3)+") "+_.substr(3,3)+"-"+_.substr(6)}var O="";if(I=h.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/)){A=Math.min(I[4].length,7);y=p(R,Math.pow(10,A)-1,false);_=""+D;O=x("n",I[1],y[1]);if(O.charAt(O.length-1)==" ")O=O.substr(0,O.length-1)+"0";_+=O+I[2]+"/"+I[3];O=i(y[2],A);if(O.length=0)return I("n",o,f);return"("+I("n",o,-f)+")"}if(s.charCodeAt(s.length-1)===44)return B(e,s,f);if(s.indexOf("%")!==-1)return C(e,s,f);if(s.indexOf("E")!==-1)return _(s,f);if(s.charCodeAt(0)===36)return"$"+I(e,s.substr(s.charAt(1)==" "?2:1),f);var l;var u,g,E,k=Math.abs(f),S=f<0?"-":"";if(s.match(/^00+$/))return S+a(k,s.length);if(s.match(/^[#?]+$/)){l=""+f;if(f===0)l="";return l.length>s.length?l:b(s.substr(0,s.length-l.length))+l}if(u=s.match(c))return h(u,k,S);if(s.match(/^#+0+$/))return S+a(k,s.length-s.indexOf("0"));if(u=s.match(d)){l=(""+f).replace(/^([^\.]+)$/,"$1."+b(u[1])).replace(/\.$/,"."+b(u[1]));l=l.replace(/\.(\d*)$/,function(e,r){return"."+r+t("0",b(u[1]).length-r.length)});return s.indexOf("0.")!==-1?l:l.replace(/^0\./,".")}s=s.replace(/^#+([0.])/,"$1");if(u=s.match(/^(0*)\.(#*)$/)){return S+(""+k).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,u[1].length?"0.":".")}if(u=s.match(/^#{1,3},##0(\.?)$/))return S+T(""+k);if(u=s.match(/^#,##0\.([#0]*0)$/)){return f<0?"-"+I(e,s,-f):T(""+f)+"."+t("0",u[1].length)}if(u=s.match(/^#,#*,#0/))return I(e,s.replace(/^#,#*,/,""),f);if(u=s.match(/^([0#]+)(\\?-([0#]+))+$/)){l=r(I(e,s.replace(/[\\-]/g,""),f));g=0;return r(r(s.replace(/\\/g,"")).replace(/[0#]/g,function(e){return g-1||t=="\\"&&e.charAt(r+1)=="-"&&"0#".indexOf(e.charAt(r+2))>-1)){}break;case"?":while(e.charAt(++r)===t){}break;case"*":++r;if(e.charAt(r)==" "||e.charAt(r)=="*")++r;break;case"(":;case")":++r;break;case"1":;case"2":;case"3":;case"4":;case"5":;case"6":;case"7":;case"8":;case"9":while(r-1){}break;case" ":++r;break;default:++r;break;}}return false}e.is_date=y;function R(e,r,t,a){var n=[],i="",s=0,f="",o="t",l,u,h;var d="H";while(s=12?"P":"A";b.t="T";d="h";s+=3}else if(e.substr(s,5).toUpperCase()==="AM/PM"){if(l!=null)b.v=l.H>=12?"PM":"AM";b.t="T";s+=5;d="h"}else{b.t="t";++s}if(l==null&&b.t==="T")return"";n[n.length]=b;o=f;break;case"[":i=f;while(e.charAt(s++)!=="]"&&s-1){i=(i.match(/\$([^-\[\]]*)/)||[])[1]||"$";if(!y(e))n[n.length]={t:"t",v:i}}break;case".":if(l!=null){i=f;while(++s-1||f=="\\"&&e.charAt(s+1)=="-"&&s-1)i+=f;n[n.length]={t:"n",v:i};break;case"?":i=f;while(e.charAt(++s)===f)i+=f;n[n.length]={t:f,v:i};o=f;break;case"*":++s;if(e.charAt(s)==" "||e.charAt(s)=="*")++s;break;case"(":;case")":n[n.length]={t:a===1?"t":f,v:f};++s;break;case"1":;case"2":;case"3":;case"4":;case"5":;case"6":;case"7":;case"8":;case"9":i=f;while(s-1)i+=e.charAt(s);n[n.length]={t:"D",v:i};break;case" ":n[n.length]={t:f,v:f};++s;break;default:if(",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP".indexOf(f)===-1)throw new Error("unrecognized character "+f+" in "+e);n[n.length]={t:"t",v:f};++s;break;}}var g=0,E=0,k;for(s=n.length-1,o="t";s>=0;--s){switch(n[s].t){case"h":;case"H":n[s].t=d;o="h";if(g<1)g=1;break;case"s":if(k=n[s].v.match(/\.0+$/))E=Math.max(E,k[0].length-1);if(g<3)g=3;case"d":;case"y":;case"M":;case"e":o=n[s].t;break;case"m":if(o==="s"){n[s].t="M";if(g<2)g=2}break;case"X":break;case"Z":if(g<1&&n[s].v.match(/[Hh]/))g=1;if(g<2&&n[s].v.match(/[Mm]/))g=2;if(g<3&&n[s].v.match(/[Ss]/))g=3;}}switch(g){case 0:break;case 1:if(l.u>=.5){l.u=0;++l.S}if(l.S>=60){l.S=0;++l.M}if(l.M>=60){l.M=0;++l.H}break;case 2:if(l.u>=.5){l.u=0;++l.S}if(l.S>=60){l.S=0;++l.M}break;}var S="",w;for(s=0;s0){if(S.charCodeAt(0)==40){T=r<0&&S.charCodeAt(0)===45?-r:r;I=x("(",S,T)}else{T=r<0&&a>1?-r:r;I=x("n",S,T);if(T<0&&n[0]&&n[0].t=="t"){I=I.substr(1);n[0].v="-"+n[0].v}}w=I.length-1;var R=n.length;for(s=0;s-1){R=s;break}var D=n.length;if(R===n.length&&I.indexOf("E")===-1){for(s=n.length-1;s>=0;--s){if(n[s]==null||"n?(".indexOf(n[s].t)===-1)continue;if(w>=n[s].v.length-1){w-=n[s].v.length;n[s].v=I.substr(w+1,n[s].v.length)}else if(w<0)n[s].v="";else{n[s].v=I.substr(0,w+1);w=-1}n[s].t="t";D=s}if(w>=0&&D=0;--s){if(n[s]==null||"n?(".indexOf(n[s].t)===-1)continue;u=n[s].v.indexOf(".")>-1&&s===R?n[s].v.indexOf(".")-1:n[s].v.length-1;C=n[s].v.substr(u+1);for(;u>=0;--u){if(w>=0&&(n[s].v.charAt(u)==="0"||n[s].v.charAt(u)==="#"))C=I.charAt(w--)+C}n[s].v=C;n[s].t="t";D=s}if(w>=0&&D-1&&s===R?n[s].v.indexOf(".")+1:0;C=n[s].v.substr(0,u);for(;u-1){T=a>1&&r<0&&s>0&&n[s-1].v==="-"?-r:r;n[s].v=x(n[s].t,n[s].v,T);n[s].t="t"}var O="";for(s=0;s!==n.length;++s)if(n[s]!=null)O+=n[s].v;return O}e._eval=R;var D=/\[[=<>]/;var O=/\[([=<>]*)(-?\d+\.?\d*)\]/;function F(e,r){if(r==null)return false;var t=parseFloat(r[2]);switch(r[1]){case"=":if(e==t)return true;break;case">":if(e>t)return true;break;case"<":if(e":if(e!=t)return true;break;case">=":if(e>=t)return true;break;case"<=":if(e<=t)return true;break;}return false}function P(e,r){var t=I(e);var a=t.length,n=t[a-1].indexOf("@");if(a<4&&n>-1)--a;if(t.length>4)throw new Error("cannot find right format for |"+t.join("|")+"|");if(typeof r!=="number")return[4,t.length===4||n>-1?t[t.length-1]:"@"];switch(t.length){case 1:t=n>-1?["General","General","General",t[0]]:[t[0],t[0],t[0],"@"];break;case 2:t=n>-1?[t[0],t[0],t[0],t[1]]:[t[0],t[1],t[0],"@"];break;case 3:t=n>-1?[t[0],t[1],t[0],t[2]]:[t[0],t[1],t[2],"@"];break;case 4:break;}var i=r>0?t[0]:r<0?t[1]:t[2];if(t[0].indexOf("[")===-1&&t[1].indexOf("[")===-1)return[a,i];if(t[0].match(D)!=null||t[1].match(D)!=null){var s=t[0].match(O);var f=t[1].match(O);return F(r,s)?[a,t[0]]:F(r,f)?[a,t[1]]:[a,t[s!=null&&f!=null?2:1]]}return[a,i]}function N(e,r,t){if(t==null)t={};var a="";switch(typeof e){case"string":if(e=="m/d/yy"&&t.dateNF)a=t.dateNF;else a=e;break;case"number":if(e==14&&t.dateNF)a=t.dateNF;else a=(t.table!=null?t.table:v)[e];break;}if(c(a,0))return B(r,t);if(r instanceof Date)r=k(r,t.date1904);var n=P(a,r);if(c(n[1]))return B(r,t);if(r===true)r="TRUE";else if(r===false)r="FALSE";else if(r===""||r==null)return"";return R(n[1],r,t,n[0])}function L(e,r){if(typeof r!="number"){r=+r||-1;for(var t=0;t<392;++t){if(v[t]==undefined){if(r<0)r=t;continue}if(v[t]==e){r=t;break}}if(r<0)r=391}v[r]=e;return r}e.load=L;e._table=v;e.get_table=function H(){return v};e.load_table=function W(e){for(var r=0;r!=392;++r)if(e[r]!==undefined)L(e[r],r)};e.init_table=d;e.format=N};k(E);var S={"General Number":"General","General Date":E._table[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":E._table[15],"Short Date":E._table[14],"Long Time":E._table[19],"Medium Time":E._table[18],"Short Time":E._table[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:E._table[2],Standard:E._table[4],Percent:E._table[10],Scientific:E._table[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'};var w=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;function B(e){var r=typeof e=="number"?E._table[e]:e;r=r.replace(w,"(\\d+)");return new RegExp("^"+r+"$")}function C(e,r,t){var a=-1,n=-1,i=-1,s=-1,f=-1,o=-1;(r.match(w)||[]).forEach(function(e,r){var l=parseInt(t[r+1],10);switch(e.toLowerCase().charAt(0)){case"y":a=l;break;case"d":i=l;break;case"h":s=l;break;case"s":o=l;break;case"m":if(s>=0)f=l;else n=l;break;}});if(o>=0&&f==-1&&n>=0){f=n;n=-1}var l=(""+(a>=0?a:(new Date).getFullYear())).slice(-4)+"-"+("00"+(n>=1?n:1)).slice(-2)+"-"+("00"+(i>=1?i:1)).slice(-2);if(l.length==7)l="0"+l;if(l.length==8)l="20"+l;var c=("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(f>=0?f:0)).slice(-2)+":"+("00"+(o>=0?o:0)).slice(-2);if(s==-1&&f==-1&&o==-1)return l;if(a==-1&&n==-1&&i==-1)return c;return l+"T"+c}var _=true;var T=function yk(){var e={};e.version="0.12.0";function r(e,r){var o=3;var u=512;var h=0;var d=0;var v=0;var p=0;var m=0;var b=[];var g=e.slice(0,512);gr(g,0);var E=t(g);o=E[0];switch(o){case 3:u=512;break;case 4:u=4096;break;default:throw new Error("Major Version: Expected 3 or 4 saw "+o);}if(u!==512){g=e.slice(0,u);gr(g,28)}var k=e.slice(0,u);a(g,o);var w=g.read_shift(4,"i");if(o===3&&w!==0)throw new Error("# Directory Sectors: Expected 0 saw "+w);g.l+=4;v=g.read_shift(4,"i");g.l+=4;g.chk("00100000","Mini Stream Cutoff Size: ");p=g.read_shift(4,"i");h=g.read_shift(4,"i");m=g.read_shift(4,"i");d=g.read_shift(4,"i");for(var B=-1,C=0;C<109;++C){B=g.read_shift(4,"i");if(B<0)break;b[C]=B}var _=n(e,u);f(m,d,_,u,b);var T=l(_,v,b,u);T[v].name="!Directory";if(h>0&&p!==S)T[p].name="!MiniFAT";T[b[0]].name="!FAT";T.fat_addrs=b;T.ssz=u;var x={},I=[],A=[],y=[],R={};c(v,T,_,I,h,x,A);i(A,R,y,I);var D=I.shift();var O=s(y,I,A,x,D);return{raw:{header:k,sectors:_},FileIndex:A,FullPaths:y,FullPathDir:R,find:O}}function t(e){e.chk(w,"Header Signature: ");e.chk(B,"CLSID: ");var r=e.read_shift(2,"u");return[e.read_shift(2,"u"),r]}function a(e,r){var t=9;e.l+=2;switch(t=e.read_shift(2)){case 9:if(r!=3)throw new Error("Sector Shift: Expected 9 saw "+t);break;case 12:if(r!=4)throw new Error("Sector Shift: Expected 12 saw "+t);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+t);}e.chk("0600","Mini Sector Shift: ");e.chk("000000000000","Reserved: ")}function n(e,r){var t=Math.ceil(e.length/r)-1;var a=[];for(var n=1;n>>2)-1;if(!s)return;for(var l=0;l=0;){n[l]=true;s[s.length]=l;f.push(e[l]);var u=t[Math.floor(l*4/a)];c=l*4&o;if(a<4+c)throw new Error("FAT boundary crossed: "+l+" 4 "+a);if(!e[u])break;l=lr(e[u],c)}return{nodes:s,data:He([f])}}function l(e,r,t,a){var n=e.length,i=[];var s=[],f=[],o=[];var l=a-1,c=0,u=0,h=0,d=0;for(c=0;c=n)h-=n;if(s[h])continue;o=[];for(u=h;u>=0;){s[u]=true;f[f.length]=u;o.push(e[u]);var v=t[Math.floor(u*4/a)];d=u*4&l;if(a<4+d)throw new Error("FAT boundary crossed: "+u+" 4 "+a);if(!e[v])break;u=lr(e[v],d)}i[h]={nodes:f,data:He([o])}}return i}function c(e,r,t,a,n,i,s){var f=0,l=a.length?2:0;var c=r[e].data;var h=0,d=0,v;for(;h0&&f!==S)r[f].name="!StreamData"}else if(m.size>=4096){m.storage="fat";if(r[m.start]===undefined)r[m.start]=o(t,m.start,r.fat_addrs,r.ssz);r[m.start].name=m.name;m.content=r[m.start].data.slice(0,m.size);gr(m.content,0)}else{m.storage="minifat";if(f!==S&&m.start!==S){m.content=r[f].data.slice(m.start*k,m.start*k+m.size);gr(m.content,0)}}i[v]=m;s.push(m)}}function u(e,r){return new Date((or(e,r+4)/1e7*Math.pow(2,32)+or(e,r)/1e7-11644473600)*1e3)}var d;function v(e,t){if(d==null)d=null;return r(d.readFileSync(e),t)}function E(e,t){switch(t&&t.type||"base64"){case"file":return v(e,t);case"base64":return r(p(h.decode(e)),t);case"binary":return r(p(e),t);}return r(e,t)}var k=64;var S=-2;var w="d0cf11e0a1b11ae1";var B="00000000000000000000000000000000";var C={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:S,FREESECT:-1,HEADER_SIGNATURE:w,HEADER_MINOR_VERSION:"3e00",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:B,EntryTypes:["unknown","storage","stream","lockbytes","property","root"]};e.read=E;e.parse=r;e.utils={ReadShift:hr,CheckField:br,prep_blob:gr,bconcat:m,consts:C};return e}();if(typeof require!=="undefined"&&typeof module!=="undefined"&&typeof _==="undefined"){module.exports=T}function x(e){return e!==undefined&&e!==null}function I(e){return Object.keys(e)}function A(e,r){var t=[],a=I(e);for(var n=0;n!==a.length;++n)t[e[a[n]][r]]=a[n];return t}function y(e){var r=[],t=I(e);for(var a=0;a!==t.length;++a)r[e[t[a]]]=t[a];return r}function R(e){var r=[],t=I(e);for(var a=0;a!==t.length;++a)r[e[t[a]]]=parseInt(t[a],10);return r}function D(e){var r=[],t=I(e);for(var a=0;a!==t.length;++a){if(r[e[t[a]]]==null)r[e[t[a]]]=[];r[e[t[a]]].push(t[a])}return r}var O=new Date(1899,11,30,0,0,0);var F=O.getTime()+((new Date).getTimezoneOffset()-O.getTimezoneOffset())*6e4;function P(e,r){var t=e.getTime();if(r)t+=1462*24*60*60*1e3;return(t-F)/(24*60*60*1e3)}function N(e){var r=new Date;r.setTime(e*24*60*60*1e3+F);return r}function L(e){var r=0,t=0,a=false;var n=e.match(/P([0-9\.]+Y)?([0-9\.]+M)?([0-9\.]+D)?T([0-9\.]+H)?([0-9\.]+M)?([0-9\.]+S)?/);if(!n)throw new Error("|"+e+"| is not an ISO8601 Duration");for(var i=1;i!=n.length;++i){if(!n[i])continue;t=1;if(i>3)a=true;switch(n[i].substr(n[i].length-1)){case"Y":throw new Error("Unsupported ISO Duration Field: "+n[i].substr(n[i].length-1));case"D":t*=24;case"H":t*=60;case"M":if(!a)throw new Error("Unsupported ISO Duration Field: M");else t*=60;case"S":break;}r+=t*parseInt(n[i],10)}return r}var M=new Date("2017-02-19T19:06:09.000Z");if(isNaN(M.getFullYear()))M=new Date("2/19/17");var U=M.getFullYear()==2017;function H(e,r){var t=new Date(e);if(U){if(r>0)t.setTime(t.getTime()+t.getTimezoneOffset()*60*1e3);else if(r<0)t.setTime(t.getTime()-t.getTimezoneOffset()*60*1e3);return t}if(e instanceof Date)return e;if(M.getFullYear()==1917&&!isNaN(t.getFullYear())){var a=t.getFullYear();if(e.indexOf(""+a)>-1)return t;t.setFullYear(t.getFullYear()+100);return t}var n=e.match(/\d+/g)||["2017","2","19","0","0","0"];return new Date(+n[0],+n[1]-1,+n[2],+n[3]||0,+n[4]||0,+n[5]||0)}function W(e){var r="";for(var t=0;t!=e.length;++t)r+=String.fromCharCode(e[t]);return r}function V(e){var r=[];for(var t=0;t!=e.length;++t)r.push(e.charCodeAt(t));return r}function z(e){if(typeof JSON!="undefined"&&!Array.isArray(e))return JSON.parse(JSON.stringify(e));if(typeof e!="object"||e==null)return e;var r={};for(var t in e)if(e.hasOwnProperty(t))r[t]=z(e[t]);return r}function X(e,r){var t="";while(t.length8099)return t;if((n>0||i>1)&&a!=101)return r;if(e.toLowerCase().match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/))return r;if(!e.match(/[a-zA-Z]/))return r;return t}function j(e){if(!e)return null;if(e.data)return o(e.data);if(e.asNodeBuffer&&d)return o(e.asNodeBuffer().toString("binary"));if(e.asBinary)return o(e.asBinary());if(e._data&&e._data.getContent)return o(W(Array.prototype.slice.call(e._data.getContent(),0)));return null}function K(e){if(!e)return null;if(e.data)return i(e.data);if(e.asNodeBuffer&&d)return e.asNodeBuffer();if(e._data&&e._data.getContent){var r=e._data.getContent();if(typeof r=="string")return V(r);return Array.prototype.slice.call(r)}return null}function Y(e){return e&&e.name.slice(-4)===".bin"?K(e):j(e)}function $(e,r){var t=I(e.files);var a=r.toLowerCase(),n=a.replace(/\//g,"\\");for(var i=0;i\/]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g;var ae=/<[^>]*>/g;var ne=/<\w*:/,ie=/<(\/?)\w+:/;function se(e,r){var t={};var a=0,n=0;for(;a!==e.length;++a)if((n=e.charCodeAt(a))===32||n===10||n===13)break;if(!r)t[0]=e.substr(0,a);if(a===e.length)return t;var i=e.match(te),s=0,f="",o=0,l="",c="",u=1;if(i)for(o=0;o!=i.length;++o){c=i[o];for(n=0;n!=c.length;++n)if(c.charCodeAt(n)===61)break;l=c.substr(0,n);u=(a=c.charCodeAt(n+1))==34||a==39?1:0;f=c.substring(n+1+u,c.length-u);for(s=0;s!=l.length;++s)if(l.charCodeAt(s)===58)break;if(s===l.length){if(l.indexOf("_")>0)l=l.substr(0,l.indexOf("_"));t[l]=f}else{var h=(s===5&&l.substr(0,5)==="xmlns"?"xmlns":"")+l.substr(s+1);if(t[h]&&l.substr(s-3,3)=="ext")continue;t[h]=f}}return t}function fe(e){return e.replace(ie,"<$1")}var oe={""":'"',"'":"'",">":">","<":"<","&":"&"};var le=y(oe);var ce=function(){var e=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/g,r=/_x([\da-fA-F]{4})_/g;return function t(a){var n=a+"";return n.replace(e,function(e,r){return oe[e]||String.fromCharCode(parseInt(r,e.indexOf("x")>-1?16:10))||e}).replace(r,function(e,r){return String.fromCharCode(parseInt(r,16))})}}();var ue=/[&<>'"]/g,he=/[\u0000-\u0008\u000b-\u001f]/g;function de(e,r){var t=e+"";return t.replace(ue,function(e){return le[e]}).replace(he,function(e){return"_x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+"_"})}function ve(e){return de(e).replace(/ /g,"_x0020_")}var pe=/[\u0000-\u001f]/g;function me(e){var r=e+"";return r.replace(ue,function(e){return le[e]}).replace(pe,function(e){return"&#x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+";"})}var be=function(){var e=/&#(\d+);/g;function r(e,r){return String.fromCharCode(parseInt(r,10))}return function t(a){return a.replace(e,r)}}();var ge=function(){return function e(r){return r.replace(/(\r\n|[\r\n])/g," ")}}();function Ee(e,r){switch(e){case 1:;case true:;case"1":;case"true":;case"TRUE":return true;default:return false;}}var ke=function Rk(e){var r="",t=0,a=0,n=0,i=0,s=0,f=0;while(t191&&a<224){s=(a&31)<<6;s|=n&63;r+=String.fromCharCode(s);continue}i=e.charCodeAt(t++);if(a<240){r+=String.fromCharCode((a&15)<<12|(n&63)<<6|i&63);continue}s=e.charCodeAt(t++);f=((a&7)<<18|(n&63)<<12|(i&63)<<6|s&63)-65536;r+=String.fromCharCode(55296+(f>>>10&1023));r+=String.fromCharCode(56320+(f&1023))}return r};if(d){var Se=function Dk(e){var r=new Buffer(2*e.length),t,a,n=1,i=0,s=0,f;for(a=0;a>>10&1023);t=56320+(t&1023)}if(s!==0){r[i++]=s&255;r[i++]=s>>>8;s=0}r[i++]=t%256;r[i++]=t>>>8}return r.slice(0,i).toString("ucs2")};var we="foo bar baz☃🍣";if(ke(we)==Se(we))ke=Se;var Be=function Ok(e){return Buffer(e,"binary").toString("utf8")};if(ke(we)==Be(we))ke=Be}var Ce=function(){var e={};return function r(t,a){var n=t+"|"+(a||"");if(e[n])return e[n];return e[n]=new RegExp("<(?:\\w+:)?"+t+'(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)",a||"")}}();var _e=function(){var e={};return function r(t){if(e[t]!==undefined)return e[t];return e[t]=new RegExp("<(?:vt:)?"+t+">([\\s\\S]*?)","g")}}();var Te=/<\/?(?:vt:)?variant>/g,xe=/<(?:vt:)([^>]*)>([\s\S]*)"+r+""}function Re(e){return I(e).map(function(r){return" "+r+'="'+e[r]+'"'}).join("")}function De(e,r,t){return"<"+e+(x(t)?Re(t):"")+(x(r)?(r.match(Ae)?' xml:space="preserve"':"")+">"+r+""}function Oe(e,r){try{return e.toISOString().replace(/\.\d*/,"")}catch(t){if(r)throw t}return""}function Fe(e){switch(typeof e){case"string":return De("vt:lpwstr",e);case"number":return De((e|0)==e?"vt:i4":"vt:r8",String(e));case"boolean":return De("vt:bool",e?"true":"false");}if(e instanceof Date)return De("vt:filetime",Oe(e));throw new Error("Unable to serialize "+e)}var Pe='\r\n';var Ne={dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",mx:"http://schemas.microsoft.com/office/mac/excel/2008/main",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",sjs:"http://schemas.openxmlformats.org/package/2006/sheetjs/core-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",xsd:"http://www.w3.org/2001/XMLSchema"};Ne.main=["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"];var Le={o:"urn:schemas-microsoft-com:office:office",x:"urn:schemas-microsoft-com:office:excel",ss:"urn:schemas-microsoft-com:office:spreadsheet",dt:"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882",mv:"http://macVmlSchemaUri",v:"urn:schemas-microsoft-com:vml",html:"http://www.w3.org/TR/REC-html40"};function Me(e,r){var t=1-2*(e[r+7]>>>7);var a=((e[r+7]&127)<<4)+(e[r+6]>>>4&15);var n=e[r+6]&15;for(var i=5;i>=0;--i)n=n*256+e[r+i];if(a==2047)return n==0?t*Infinity:NaN;if(a==0)a=-1022;else{a-=1023;n+=Math.pow(2,52)}return t*Math.pow(2,a-52)*n}function Ue(e,r,t){var a=(r<0||1/r==-Infinity?1:0)<<7,n=0,i=0;var s=a?-r:r;if(!isFinite(s)){n=2047;i=isNaN(r)?26985:0}else{n=Math.floor(Math.log(s)*Math.LOG2E);i=r*Math.pow(2,52-n);if(n<=-1023&&(!isFinite(i)||i>4|a}var He,We;He=We=function Fk(e){var r=[];for(var t=0;t0?je(e,r+4,r+4+t-1):""};var Ze,Qe;Ze=Qe=function Mk(e,r){var t=2*or(e,r);return t>0?je(e,r+4,r+4+t-1):""};var Je,qe;Je=qe=function Uk(e,r){var t=or(e,r);return t>0?Ve(e,r+4,r+4+t):""};var er,rr;er=rr=function Hk(e,r){var t=or(e,r);return t>0?je(e,r+4,r+4+t):""};var tr,ar;tr=ar=function(e,r){return Me(e,r)};var nr=function Wk(e){return Array.isArray(e)};if(d){Ve=function Vk(e,r,t){if(!Buffer.isBuffer(e))return ze(e,r,t);return e.toString("utf16le",r,t)};Xe=function(e,r,t){return Buffer.isBuffer(e)?e.toString("hex",r,r+t):Ge(e,r,t)};Ye=function zk(e,r){if(!Buffer.isBuffer(e))return $e(e,r);var t=e.readUInt32LE(r);return t>0?e.toString("utf8",r+4,r+4+t-1):""};Ze=function Xk(e,r){if(!Buffer.isBuffer(e))return Qe(e,r);var t=2*e.readUInt32LE(r);return e.toString("utf16le",r+4,r+4+t-1)};Je=function Gk(e,r){if(!Buffer.isBuffer(e))return qe(e,r);var t=e.readUInt32LE(r);return e.toString("utf16le",r+4,r+4+t)};er=function jk(e,r){if(!Buffer.isBuffer(e))return rr(e,r);var t=e.readUInt32LE(r);return e.toString("utf8",r+4,r+4+t)};je=function Kk(e,r,t){return e.toString("utf8",r,t)};He=function(e){return e[0].length>0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0]):We(e)};m=function(e){return Buffer.isBuffer(e[0])?Buffer.concat(e):[].concat.apply([],e)};tr=function Yk(e,r){if(Buffer.isBuffer(e))return e.readDoubleLE(r);return ar(e,r)};nr=function $k(e){return Buffer.isBuffer(e)||Array.isArray(e)}}if(typeof cptable!=="undefined"){Ve=function(e,r,t){return cptable.utils.decode(1200,e.slice(r,t))};je=function(e,r,t){return cptable.utils.decode(65001,e.slice(r,t))};Ye=function(e,r){var a=or(e,r);return a>0?cptable.utils.decode(t,e.slice(r+4,r+4+a-1)):""};Ze=function(e,r){var t=2*or(e,r);return t>0?cptable.utils.decode(1200,e.slice(r+4,r+4+t-1)):""};Je=function(e,r){var t=or(e,r);return t>0?cptable.utils.decode(1200,e.slice(r+4,r+4+t)):""};er=function(e,r){var t=or(e,r);return t>0?cptable.utils.decode(65001,e.slice(r+4,r+4+t)):""}}var ir=function(e,r){return e[r]};var sr=function(e,r){return e[r+1]*(1<<8)+e[r]};var fr=function(e,r){var t=e[r+1]*(1<<8)+e[r];return t<32768?t:(65535-t+1)*-1};var or=function(e,r){return e[r+3]*(1<<24)+(e[r+2]<<16)+(e[r+1]<<8)+e[r]};var lr=function(e,r){return e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]};var cr=function(e){return e.match(/../g).map(function(e){return parseInt(e,16)})};var ur=typeof Buffer!=="undefined"?function(e){return Buffer.isBuffer(e)?new Buffer(e,"hex"):cr(e)}:cr;function hr(e,r){var a="",n,i,s=[],f,o,c,u;switch(r){case"dbcs":u=this.l;if(d&&Buffer.isBuffer(this))a=this.slice(this.l,this.l+2*e).toString("utf16le");else for(c=0;c!=e;++c){a+=String.fromCharCode(sr(this,u));u+=2}e*=2;break;case"utf8":a=je(this,this.l,this.l+e);break;case"utf16le":e*=2;a=Ve(this,this.l,this.l+e);break;case"wstr":if(typeof cptable!=="undefined")a=cptable.utils.decode(t,this.slice(this.l,this.l+2*e));else return hr.call(this,e,"dbcs");e=2*e;break;case"lpstr":a=Ye(this,this.l);e=5+a.length;break;case"lpwstr":a=Ze(this,this.l);e=5+a.length;if(a[a.length-1]=="\0")e+=2;break;case"lpp4":e=4+or(this,this.l);a=Je(this,this.l);if(e&2)e+=2;break;case"8lpp4":e=4+or(this,this.l);a=er(this,this.l);if(e&3)e+=4-(e&3);break;case"cstr":e=0;a="";while((f=ir(this,this.l+e++))!==0)s.push(l(f));a=s.join("");break;case"_wstr":e=0;a="";while((f=sr(this,this.l+e))!==0){s.push(l(f));e+=2}e+=2;a=s.join("");break;case"dbcs-cont":a="";u=this.l;for(c=0;c!=e;++c){if(this.lens&&this.lens.indexOf(u)!==-1){f=ir(this,u);this.l=u+1;o=hr.call(this,e-c,f?"dbcs-cont":"sbcs-cont");return s.join("")+o}s.push(l(sr(this,u)));u+=2}a=s.join("");e*=2;break;case"sbcs-cont":a="";u=this.l;for(c=0;c!=e;++c){if(this.lens&&this.lens.indexOf(u)!==-1){f=ir(this,u);this.l=u+1;o=hr.call(this,e-c,f?"dbcs-cont":"sbcs-cont");return s.join("")+o}s.push(l(ir(this,u)));u+=1}a=s.join("");break;default:switch(e){case 1:n=ir(this,this.l);this.l++;return n;case 2:n=(r==="i"?fr:sr)(this,this.l);this.l+=2;return n;case 4:if(r==="i"||(this[this.l+3]&128)===0){n=lr(this,this.l);this.l+=4;return n}else{i=or(this,this.l);this.l+=4}return i;case 8:if(r==="f"){i=tr(this,this.l);this.l+=8;return i};case 16:a=Xe(this,this.l,e);break;};}this.l+=e;return a}var dr=function(e,r,t){e[t]=r&255;e[t+1]=r>>>8&255};var vr=function(e,r,t){e[t]=r&255;e[t+1]=r>>>8&255;e[t+2]=r>>>16&255;e[t+3]=r>>>24&255};var pr=function(e,r,t){e[t]=r&255;e[t+1]=r>>8&255;e[t+2]=r>>16&255;e[t+3]=r>>24&255};function mr(e,r,t){var a=0,n=0;if(t==="dbcs"){for(n=0;n!=r.length;++n)dr(this,r.charCodeAt(n),this.l+2*n);a=2*r.length}else if(t==="sbcs"){for(n=0;n!=r.length;++n)this[this.l+n]=r.charCodeAt(n)&255;a=r.length}else switch(e){case 1:a=1;this[this.l]=r&255;break;case 2:a=2;this[this.l]=r&255;r>>>=8;this[this.l+1]=r&255;break;case 3:a=3;this[this.l]=r&255;r>>>=8;this[this.l+1]=r&255;r>>>=8;this[this.l+2]=r&255;break;case 4:a=4;vr(this,r,this.l);break;case 8:a=8;if(t==="f"){Ue(this,r,this.l);break};case 16:break;case-4:a=4;pr(this,r,this.l);break;}this.l+=a;return this}function br(e,r){var t=Xe(this,this.l,e.length>>1);if(t!==e)throw r+"Expected "+e+" saw "+t;this.l+=e.length>>1}function gr(e,r){e.l=r;e.read_shift=hr;e.chk=br;e.write_shift=mr}function Er(e,r){e.l+=r}function kr(e,r){if(typeof console!="undefined")console.log(e.slice(e.l,e.l+r));e.l+=r}function Sr(e,r){e.l+=r}function wr(e){var r=v(e);gr(r,0);return r}function Br(e,r,t){if(!e)return;var a,n,i;gr(e,e.l||0);var s=e.length,f=0,o=0;while(e.la.l)a=a.slice(0,a.l);if(a.length>0)e.push(a);a=null};var i=function c(e){if(a&&e=128?1:0)+1+a;if(a>=128)++i;if(a>=16384)++i;if(a>=2097152)++i;var s=e.next(i);if(n<=127)s.write_shift(1,n);else{s.write_shift(1,(n&127)+128);s.write_shift(1,n>>7)}for(var f=0;f!=4;++f){if(a>=128){s.write_shift(1,(a&127)+128);a>>=7}else{s.write_shift(1,a);break}}if(a>0&&nr(t))e.push(t)}function Tr(e,r,t){var a=z(e);if(r.s){if(a.cRel)a.c+=r.s.c;if(a.rRel)a.r+=r.s.r}else{a.c+=r.c;a.r+=r.r}if(!t||t.biff<12){while(a.c>=256)a.c-=256;while(a.r>=65536)a.r-=65536}return a}function xr(e,r,t){var a=z(e);a.s=Tr(a.s,r.s,t);a.e=Tr(a.e,r.s,t);return a}function Ir(e){var r=Vr(e);if(e.cRel===0)r=Mr(r);if(e.rRel===0)r=Fr(r);return r}function Ar(e,r){if(e.s.r==0&&!e.s.rRel){if(e.e.r==(r.biff>=12?1048575:65535)&&!e.e.rRel){return(e.s.cRel?"":"$")+Lr(e.s.c)+":"+(e.e.cRel?"":"$")+Lr(e.e.c)}}if(e.s.c==0&&!e.s.cRel){if(e.e.c==(r.biff>=12?65535:255)&&!e.e.cRel){return(e.s.rRel?"":"$")+Or(e.s.r)+":"+(e.e.rRel?"":"$")+Or(e.e.r)}}return Ir(e.s)+":"+Ir(e.e)}var yr={};var Rr=function(e,r){var t;if(typeof r!=="undefined")t=r;else if(typeof require!=="undefined"){try{t=null}catch(a){t=null}}e.rc4=function(e,r){var t=new Array(256);var a=0,n=0,i=0,s=0;for(n=0;n!=256;++n)t[n]=n;for(n=0;n!=256;++n){i=i+t[n]+e[n%e.length].charCodeAt(0)&255;s=t[n];t[n]=t[i];t[i]=s}n=i=0;var f=Buffer(r.length);for(a=0;a!=r.length;++a){n=n+1&255;i=(i+t[n])%256;s=t[n];t[n]=t[i];t[i]=s;f[a]=r[a]^t[t[n]+t[i]&255]}return f};e.md5=function(e){if(!t)throw new Error("Unsupported crypto");return t.createHash("md5").update(e).digest("hex")}};Rr(yr,typeof crypto!=="undefined"?crypto:undefined);function Dr(e){return parseInt(Pr(e),10)-1}function Or(e){return""+(e+1)}function Fr(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}function Pr(e){return e.replace(/\$(\d+)$/,"$1")}function Nr(e){var r=Ur(e),t=0,a=0;for(;a!==r.length;++a)t=26*t+r.charCodeAt(a)-64;return t-1}function Lr(e){var r="";for(++e;e;e=Math.floor((e-1)/26))r=String.fromCharCode((e-1)%26+65)+r;return r}function Mr(e){return e.replace(/^([A-Z])/,"$$$1")}function Ur(e){return e.replace(/^\$([A-Z])/,"$1")}function Hr(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function Wr(e){var r=Hr(e);return{c:Nr(r[0]),r:Dr(r[1])}}function Vr(e){return Lr(e.c)+Or(e.r)}function zr(e){return Mr(Fr(e))}function Xr(e){return Ur(Pr(e))}function Gr(e){var r=e.split(":").map(Wr);return{s:r[0],e:r[r.length-1]}}function jr(e,r){if(typeof r==="undefined"||typeof r==="number"){return jr(e.s,e.e)}if(typeof e!=="string")e=Vr(e);if(typeof r!=="string")r=Vr(r);return e==r?e:e+":"+r}function Kr(e){var r={s:{c:0,r:0},e:{c:0,r:0}};var t=0,a=0,n=0;var i=e.length;for(t=0;a26)break;t=26*t+n}r.s.c=--t;for(t=0;a9)break;t=10*t+n}r.s.r=--t;if(a===i||e.charCodeAt(++a)===58){r.e.c=r.s.c;r.e.r=r.s.r;return r}for(t=0;a!=i;++a){if((n=e.charCodeAt(a)-64)<1||n>26)break;t=26*t+n}r.e.c=--t;for(t=0;a!=i;++a){if((n=e.charCodeAt(a)-48)<0||n>9)break;t=10*t+n}r.e.r=--t;return r}function Yr(e,r){var t=e.t=="d"&&r instanceof Date;if(e.z!=null)try{return e.w=E.format(e.z,t?P(r):r)}catch(a){}try{return e.w=E.format((e.XF||{}).numFmtId||(t?14:0),t?P(r):r)}catch(a){return""+r}}function $r(e,r,t){if(e==null||e.t==null||e.t=="z")return"";if(e.w!==undefined)return e.w;if(e.t=="d"&&!e.z&&t&&t.dateNF)e.z=t.dateNF;if(r==undefined)return Yr(e,e.v);return Yr(e,r)}function Zr(e,r){var t=r&&r.sheet?r.sheet:"Sheet1";var a={};a[t]=e;return{SheetNames:[t],Sheets:a}}function Qr(e,r){var t=r||{};if(c!=null&&t.dense==null)t.dense=c;var a=t.dense?[]:{};var n={s:{c:1e7,r:1e7},e:{c:0,r:0}};for(var i=0;i!=e.length;++i){for(var s=0;s!=e[i].length;++s){if(typeof e[i][s]==="undefined")continue;var f={v:e[i][s]};if(Array.isArray(f.v)){f.f=e[i][s][1];f.v=f.v[0]}if(n.s.r>i)n.s.r=i;if(n.s.c>s)n.s.c=s;if(n.e.r0)r.write_shift(0,e,"dbcs");return t?r.slice(0,r.l):r}function rt(e,r){return{ich:e.read_shift(2),ifnt:e.read_shift(2)}}function tt(e,r){if(!r)r=wr(4);r.write_shift(2,e.ich||0);r.write_shift(2,e.ifnt||0);return r}function at(e,r){var t=e.l;var a=e.read_shift(1);var n=qr(e);var i=[];var s={t:n,h:n};if((a&1)!==0){var f=e.read_shift(4);for(var o=0;o!=f;++o)i.push(rt(e));s.r=i}else s.r=[{ich:0,ifnt:0}];e.l=t+r;return s}function nt(e,r){var t=false;if(r==null){t=true;r=wr(15+4*e.t.length)}r.write_shift(1,0);et(e.t,r);return t?r.slice(0,r.l):r}var it=at;function st(e,r){var t=false;if(r==null){t=true;r=wr(23+4*e.t.length)}r.write_shift(1,1);et(e.t,r);r.write_shift(4,1);tt({ich:0,ifnt:0},r);return t?r.slice(0,r.l):r}function ft(e){var r=e.read_shift(4);var t=e.read_shift(2);t+=e.read_shift(1)<<16;var a=e.read_shift(1);return{c:r,iStyleRef:t}}function ot(e,r){if(r==null)r=wr(8);r.write_shift(-4,e.c);r.write_shift(3,e.iStyleRef||e.s);r.write_shift(1,0);return r}var lt=qr;var ct=et;function ut(e){var r=e.read_shift(4);return r===0||r===4294967295?"":e.read_shift(r,"dbcs")}function ht(e,r){var t=false;if(r==null){t=true;r=wr(127)}r.write_shift(4,e.length>0?e.length:4294967295);if(e.length>0)r.write_shift(0,e,"dbcs");return t?r.slice(0,r.l):r}var dt=qr;var vt=et;var pt=ut;var mt=ht;function bt(e){var r=e.slice(e.l,e.l+4);var t=r[0]&1,a=r[0]&2;e.l+=4;r[0]&=252;var n=a===0?tr([0,0,0,0,r[0],r[1],r[2],r[3]],0):lr(r,0)>>2;return t?n/100:n}function gt(e,r){if(r==null)r=wr(4);var t=0,a=0,n=e*100;if(e==(e|0)&&e>=-(1<<29)&&e<1<<29){a=1}else if(n==(n|0)&&n>=-(1<<29)&&n<1<<29){a=1;t=1}if(a)r.write_shift(-4,((t?n:e)<<2)+(t+2));else throw new Error("unsupported RkNumber "+e)}function Et(e){var r={s:{},e:{}};r.s.r=e.read_shift(4);r.e.r=e.read_shift(4);r.s.c=e.read_shift(4);r.e.c=e.read_shift(4);return r}function kt(e,r){if(!r)r=wr(16);r.write_shift(4,e.s.r);r.write_shift(4,e.e.r);r.write_shift(4,e.s.c);r.write_shift(4,e.e.c);return r}var St=Et;var wt=kt;function Bt(e,r){return e.read_shift(8,"f")}function Ct(e,r){return(r||wr(8)).write_shift(8,e,"f")}var _t={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"};var Tt=R(_t);function xt(e,r){var t={};var a=e.read_shift(1);var n=a&1;var i=a>>>1;var s=e.read_shift(1);var f=e.read_shift(2,"i");var o=e.read_shift(1);var l=e.read_shift(1);var c=e.read_shift(1);var u=e.read_shift(1);switch(i){case 0:t.auto=1;break;case 1:t.index=s;var h=Zt[s];if(h)t.rgb=Ch(h);break;case 2:t.rgb=Ch([o,l,c]);break;case 3:t.theme=s;break;}if(f!=0)t.tint=f>0?f/32767:f/32768;return t}function It(e,r){if(!r)r=wr(8);if(!e||e.auto){r.write_shift(4,0);r.write_shift(4,0);return r}if(e.index){r.write_shift(1,2);r.write_shift(1,e.index)}else if(e.theme){r.write_shift(1,6);r.write_shift(1,e.theme)}else{r.write_shift(1,5);r.write_shift(1,0)}var t=e.tint||0;if(t>0)t*=32767;else if(t<0)t*=32768;r.write_shift(2,t);if(!e.rgb){r.write_shift(2,0);r.write_shift(1,0);r.write_shift(1,0)}else{var a=e.rgb||"FFFFFF";r.write_shift(1,parseInt(a.substr(0,2),16));r.write_shift(1,parseInt(a.substr(2,2),16));r.write_shift(1,parseInt(a.substr(4,2),16));r.write_shift(1,255)}return r}function At(e,r,t){var a=e.read_shift(1);e.l++;var n={fItalic:a&2,fStrikeout:a&8,fOutline:a&16,fShadow:a&32,fCondense:a&64,fExtend:a&128};return n}function yt(e,r){if(!r)r=wr(2);var t=(e.italic?2:0)|(e.strike?8:0)|(e.outline?16:0)|(e.shadow?32:0)|(e.condense?64:0)|(e.extend?128:0);r.write_shift(1,t);r.write_shift(1,0);return r}{var Rt=2;var Dt=3;var Ot=11;var Ft=12;var Pt=19;var Nt=21;var Lt=30;var Mt=64;var Ut=71;var Ht=4096;var Wt=80;var Vt=81;var zt=[Wt,Vt]}var Xt={1:{n:"CodePage",t:Rt},2:{n:"Category",t:Wt},3:{n:"PresentationFormat",t:Wt},4:{n:"ByteCount",t:Dt},5:{n:"LineCount",t:Dt},6:{n:"ParagraphCount",t:Dt},7:{n:"SlideCount",t:Dt},8:{n:"NoteCount",t:Dt},9:{n:"HiddenCount",t:Dt},10:{n:"MultimediaClipCount",t:Dt},11:{n:"Scale",t:Ot},12:{n:"HeadingPair",t:Ht|Ft},13:{n:"DocParts",t:Ht|Lt},14:{n:"Manager",t:Wt},15:{n:"Company",t:Wt},16:{n:"LinksDirty",t:Ot},17:{n:"CharacterCount",t:Dt},19:{n:"SharedDoc",t:Ot},22:{n:"HLinksChanged",t:Ot},23:{n:"AppVersion",t:Dt,p:"version"},26:{n:"ContentType",t:Wt},27:{n:"ContentStatus",t:Wt},28:{n:"Language",t:Wt},29:{n:"Version",t:Wt},255:{}};var Gt={1:{n:"CodePage",t:Rt},2:{n:"Title",t:Wt},3:{n:"Subject",t:Wt},4:{n:"Author",t:Wt},5:{n:"Keywords",t:Wt},6:{n:"Comments",t:Wt},7:{n:"Template",t:Wt},8:{n:"LastAuthor",t:Wt},9:{n:"RevNumber",t:Wt},10:{n:"EditTime",t:Mt},11:{n:"LastPrinted",t:Mt},12:{n:"CreatedDate",t:Mt},13:{n:"ModifiedDate",t:Mt},14:{n:"PageCount",t:Dt},15:{n:"WordCount",t:Dt},16:{n:"CharCount",t:Dt},17:{n:"Thumbnail",t:Ut},18:{n:"ApplicationName",t:Lt},19:{n:"DocumentSecurity",t:Dt},255:{}};var jt={2147483648:{n:"Locale",t:Pt},2147483651:{n:"Behavior",t:Pt},1919054434:{}};(function(){for(var e in jt)if(jt.hasOwnProperty(e))Xt[e]=Gt[e]=jt[e]})();var Kt={1:"US",2:"CA",3:"",7:"RU",20:"EG",30:"GR",31:"NL",32:"BE",33:"FR",34:"ES",36:"HU",39:"IT",41:"CH",43:"AT",44:"GB",45:"DK",46:"SE",47:"NO",48:"PL",49:"DE",52:"MX",55:"BR",61:"AU",64:"NZ",66:"TH",81:"JP",82:"KR",84:"VN",86:"CN",90:"TR",105:"JS",213:"DZ",216:"MA",218:"LY",351:"PT",354:"IS",358:"FI",420:"CZ",886:"TW",961:"LB",962:"JO",963:"SY",964:"IQ",965:"KW",966:"SA",971:"AE",972:"IL",974:"QA",981:"IR",65535:"US"};var Yt=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];function $t(e){return e.map(function(e){return[e>>16&255,e>>8&255,e&255]})}var Zt=$t([0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);var Qt={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links","application/vnd.ms-excel.sheetMetadata":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"TODO","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"vba","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO","image/png":"TODO",sheet:"js"};var Jt=function(){var e={workbooks:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",xlsm:"application/vnd.ms-excel.sheet.macroEnabled.main+xml",xlsb:"application/vnd.ms-excel.sheet.binary.macroEnabled.main",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml"},strs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",xlsb:"application/vnd.ms-excel.sharedStrings"},comments:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml",xlsb:"application/vnd.ms-excel.comments"},sheets:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",xlsb:"application/vnd.ms-excel.worksheet"},charts:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml",xlsb:"application/vnd.ms-excel.chartsheet"},dialogs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml",xlsb:"application/vnd.ms-excel.dialogsheet"},macros:{xlsx:"application/vnd.ms-excel.macrosheet+xml",xlsb:"application/vnd.ms-excel.macrosheet"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};I(e).forEach(function(r){if(!e[r].xlsm)e[r].xlsm=e[r].xlsx});I(e).forEach(function(r){I(e[r]).forEach(function(t){Qt[e[r][t]]=r})});return e}();var qt=D(Qt);Ne.CT="http://schemas.openxmlformats.org/package/2006/content-types";function ea(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],TODO:[],xmlns:""}}function ra(e,r){var t=ea();if(!e||!e.match)return t;var a={};(e.match(ae)||[]).forEach(function(e){var r=se(e);switch(r[0].replace(ne,"<")){case"0?t.calcchains[0]:"";t.sst=t.strs.length>0?t.strs[0]:"";t.style=t.styles.length>0?t.styles[0]:"";t.defaults=a;delete t.calcchains;return t}var ta=De("Types",null,{xmlns:Ne.CT,"xmlns:xsd":Ne.xsd,"xmlns:xsi":Ne.xsi});var aa=[["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["bmp","image/bmp"],["png","image/png"],["gif","image/gif"],["emf","image/x-emf"],["wmf","image/x-wmf"],["jpg","image/jpeg"],["jpeg","image/jpeg"],["tif","image/tiff"],["tiff","image/tiff"],["pdf","application/pdf"],["rels",qt.rels[0]]].map(function(e){return De("Default",null,{Extension:e[0],ContentType:e[1]})});function na(e,r){var t=[],a;t[t.length]=Pe;t[t.length]=ta;t=t.concat(aa);var n=function(n){if(e[n]&&e[n].length>0){a=e[n][0];t[t.length]=De("Override",null,{PartName:(a[0]=="/"?"":"/")+a,ContentType:Jt[n][r.bookType||"xlsx"]})}};var i=function(a){(e[a]||[]).forEach(function(e){t[t.length]=De("Override",null,{PartName:(e[0]=="/"?"":"/")+e,ContentType:Jt[a][r.bookType||"xlsx"]})})};var s=function(r){(e[r]||[]).forEach(function(e){t[t.length]=De("Override",null,{PartName:(e[0]=="/"?"":"/")+e,ContentType:qt[r][0]})})};n("workbooks");i("sheets");i("charts");s("themes");["strs","styles"].forEach(n);["coreprops","extprops","custprops"].forEach(s);s("vba");s("comments");s("drawings");if(t.length>2){t[t.length]="";t[1]=t[1].replace("/>",">")}return t.join("")}var ia={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",SHEET:"http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument",HLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",VML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function sa(e){var r=e.lastIndexOf("/");return e.substr(0,r+1)+"_rels/"+e.substr(r+1)+".rels"}function fa(e,r){if(!e)return e;if(r.charAt(0)!=="/"){r="/"+r}var t={};var a={};(e.match(ae)||[]).forEach(function(e){var n=se(e);if(n[0]==="2){r[r.length]="";r[1]=r[1].replace("/>",">")}return r.join("")}function ca(e,r,t,a,n){if(!n)n={};if(!e["!id"])e["!id"]={};if(r<0)for(r=1;e["!id"]["rId"+r];++r){}n.Id="rId"+r;n.Type=a;n.Target=t;if(n.Type==ia.HLINK)n.TargetMode="External";if(e["!id"][n.Id])throw new Error("Cannot rewrite rId "+r);e["!id"][n.Id]=n;e[("/"+n.Target).replace("//","/")]=n;return r}var ua="application/vnd.oasis.opendocument.spreadsheet";function ha(e,r){var t=Zg(e);var a;var n;while(a=Qg.exec(t))switch(a[3]){case"manifest":break;case"file-entry":n=se(a[0],false);if(n.path=="/"&&n.type!==ua)throw new Error("This OpenDocument is not a spreadsheet");break;case"encryption-data":;case"algorithm":;case"start-key-generation":;case"key-derivation":throw new Error("Unsupported ODS Encryption");default:if(r&&r.WTF)throw a;}}function da(e,r){var t=[Pe];t.push('\n');t.push(' \n');for(var a=0;a\n');t.push("");return t.join("")}function va(e,r,t){return[' \n',' \n'," \n"].join("")}function pa(e,r){return[' \n',' \n'," \n"].join("")}function ma(e,r){var t=[Pe];t.push('\n');for(var a=0;a!=e.length;++a){t.push(va(e[a][0],e[a][1]));t.push(pa("",e[a][0]))}t.push(va("","Document","pkg"));t.push("");return t.join("")}var ba=function(){var e='Sheet'+"JS "+r.version+"";return function t(r,a){return e}}();var ga=[["cp:category","Category"],["cp:contentStatus","ContentStatus"],["cp:keywords","Keywords"],["cp:lastModifiedBy","LastAuthor"],["cp:lastPrinted","LastPrinted"],["cp:revision","RevNumber"],["cp:version","Version"],["dc:creator","Author"],["dc:description","Comments"],["dc:identifier","Identifier"],["dc:language","Language"],["dc:subject","Subject"],["dc:title","Title"],["dcterms:created","CreatedDate","date"],["dcterms:modified","ModifiedDate","date"]];Ne.CORE_PROPS="http://schemas.openxmlformats.org/package/2006/metadata/core-properties";ia.CORE_PROPS="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties";var Ea=function(){var e=new Array(ga.length);for(var r=0;r]*>([\\s\\S]*?)")}return e}();function ka(e){var r={};for(var t=0;t0)r[a[1]]=n[1];if(a[2]==="date"&&r[a[1]])r[a[1]]=H(r[a[1]])}return r}var Sa=De("cp:coreProperties",null,{"xmlns:cp":Ne.CORE_PROPS,"xmlns:dc":Ne.dc,"xmlns:dcterms":Ne.dcterms,"xmlns:dcmitype":Ne.dcmitype,"xmlns:xsi":Ne.xsi});function wa(e,r,t,a,n){if(n[e]!=null||r==null||r==="")return;n[e]=r;a[a.length]=t?De(e,r,t):ye(e,r)}function Ba(e,r){var t=r||{};var a=[Pe,Sa],n={};if(!e&&!t.Props)return a.join("");if(e){if(e.CreatedDate!=null)wa("dcterms:created",typeof e.CreatedDate==="string"?e.CreatedDate:Oe(e.CreatedDate,t.WTF),{"xsi:type":"dcterms:W3CDTF"},a,n);if(e.ModifiedDate!=null)wa("dcterms:modified",typeof e.ModifiedDate==="string"?e.ModifiedDate:Oe(e.ModifiedDate,t.WTF),{"xsi:type":"dcterms:W3CDTF"},a,n)}for(var i=0;i!=ga.length;++i){var s=ga[i];var f=t.Props&&t.Props[s[1]]!=null?t.Props[s[1]]:e?e[s[1]]:null;if(f===true)f="1";else if(f===false)f="0";else if(typeof f=="number")f=String(f);if(f!=null)wa(s[0],f,null,a,n)}if(a.length>2){a[a.length]="";a[1]=a[1].replace("/>",">")}return a.join("")}var Ca=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]];Ne.EXT_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties";ia.EXT_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties";function _a(e,r){var t={};if(!r)r={};Ca.forEach(function(a){switch(a[2]){case"string":r[a[1]]=(e.match(Ce(a[0]))||[])[1];break;case"bool":r[a[1]]=(e.match(Ce(a[0]))||[])[1]==="true";break;case"raw":var n=e.match(new RegExp("<"+a[0]+"[^>]*>([\\s\\S]*?)"));if(n&&n.length>0)t[a[1]]=n[1];break;}});if(t.HeadingPairs&&t.TitlesOfParts){var a=Ie(t.HeadingPairs);var n=Ie(t.TitlesOfParts).map(function(e){return e.v});var i=0,s=0;for(var f=0;f!==a.length;f+=2){s=+a[f+1].v;switch(a[f].v){case"Worksheets":;case"工作表":;case"Листы":;case"أوراق العمل":;case"ワークシート":;case"גליונות עבודה":;case"Arbeitsblätter":;case"Çalışma Sayfaları":;case"Feuilles de calcul":;case"Fogli di lavoro":;case"Folhas de cálculo":;case"Planilhas":;case"Regneark":;case"Werkbladen":r.Worksheets=s;r.SheetNames=n.slice(i,i+s);break;case"Named Ranges":;case"名前付き一覧":;case"Benannte Bereiche":;case"Navngivne områder":r.NamedRanges=s;r.DefinedNames=n.slice(i,i+s);break;case"Charts":;case"Diagramme":r.Chartsheets=s;r.ChartNames=n.slice(i,i+s);break;}i+=s}}return r}var Ta=De("Properties",null,{xmlns:Ne.EXT_PROPS,"xmlns:vt":Ne.vt});function xa(e,r){var t=[],a={},n=De;if(!e)e={};e.Application="SheetJS";t[t.length]=Pe;t[t.length]=Ta;Ca.forEach(function(r){if(e[r[1]]===undefined)return;var a;switch(r[2]){case"string":a=String(e[r[1]]);break;case"bool":a=e[r[1]]?"true":"false";break;}if(a!==undefined)t[t.length]=n(r[0],a)});t[t.length]=n("HeadingPairs",n("vt:vector",n("vt:variant","Worksheets")+n("vt:variant",n("vt:i4",String(e.Worksheets))),{size:2,baseType:"variant"}));t[t.length]=n("TitlesOfParts",n("vt:vector",e.SheetNames.map(function(e){return""+de(e)+""}).join(""),{size:e.Worksheets,baseType:"lpstr"}));if(t.length>2){t[t.length]="";t[1]=t[1].replace("/>",">")}return t.join("")}Ne.CUST_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/custom-properties";ia.CUST_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties";var Ia=/<[^>]+>[^<]*/g;function Aa(e,r){var t={},a="";var n=e.match(Ia);if(n)for(var i=0;i!=n.length;++i){var s=n[i],f=se(s);switch(f[0]){case"":a=null;break;default:if(s.indexOf("");var l=o[0].substring(4),c=o[1];switch(l){case"lpstr":;case"bstr":;case"lpwstr":t[a]=ce(c);break;case"bool":t[a]=Ee(c,"");break;case"i1":;case"i2":;case"i4":;case"i8":;case"int":;case"uint":t[a]=parseInt(c,10);break;case"r4":;case"r8":;case"decimal":t[a]=parseFloat(c);break;case"filetime":;case"date":t[a]=H(c);break;case"cy":;case"error":t[a]=ce(c);break;default:if(l.slice(-1)=="/")break;if(r.WTF&&typeof console!=="undefined")console.warn("Unexpected",s,l,o);}}else if(s.substr(0,2)==="2){t[t.length]="";t[1]=t[1].replace("/>",">")}return t.join("")}var Da={Title:"Title",Subject:"Subject",Author:"Author",Keywords:"Keywords",Comments:"Description",LastAuthor:"LastAuthor",RevNumber:"Revision",Application:"AppName",LastPrinted:"LastPrinted",CreatedDate:"Created",ModifiedDate:"LastSaved",Category:"Category",Manager:"Manager",Company:"Company",AppVersion:"Version",ContentStatus:"ContentStatus",Identifier:"Identifier",Language:"Language"};var Oa=y(Da);function Fa(e,r,t){r=Oa[r]||r;e[r]=t}function Pa(e,r){var t=[];I(Da).map(function(e){for(var r=0;r'+i.join("")+""}function La(e){var r=e.read_shift(4),t=e.read_shift(4);return new Date((t/1e7*Math.pow(2,32)+r/1e7-11644473600)*1e3).toISOString().replace(/\.000/,"")}function Ma(e,r,t){var a=e.read_shift(0,"lpstr");if(t)e.l+=4-(a.length+1&3)&3;return a}function Ua(e,r,t){var a=e.read_shift(0,"lpwstr");if(t)e.l+=4-(a.length+1&3)&3;return a}function Ha(e,r,t){if(r===31)return Ua(e);return Ma(e,r,t)}function Wa(e,r,t){return Ha(e,r,t===false?0:4)}function Va(e,r){if(!r)throw new Error("dafuq?");return Ha(e,r,0)}function za(e){var r=e.read_shift(4);var t=[];for(var a=0;a!=r;++a)t[a]=e.read_shift(0,"lpstr");return t}function Xa(e){return za(e)}function Ga(e){var r=Ja(e,Vt);var t=Ja(e,Dt);return[r,t]}function ja(e){var r=e.read_shift(4);var t=[];for(var a=0;a!=r/2;++a)t.push(Ga(e));return t}function Ka(e){return ja(e)}function Ya(e,r){var t=e.read_shift(4);var a={};for(var n=0;n!=t;++n){var i=e.read_shift(4);var s=e.read_shift(4);a[i]=e.read_shift(s,r===1200?"utf16le":"utf8").replace(b,"").replace(g,"!")}if(e.l&3)e.l=e.l>>2+1<<2;return a}function $a(e){var r=e.read_shift(4);var t=e.slice(e.l,e.l+r);if((r&3)>0)e.l+=4-(r&3)&3;return t}function Za(e){var r={};r.Size=e.read_shift(4);e.l+=r.Size;return r}function Qa(e,r){}function Ja(e,r,t){var a=e.read_shift(2),n,i=t||{};e.l+=2;if(r!==Ft)if(a!==r&&zt.indexOf(r)===-1)throw new Error("Expected type "+r+" saw "+a);switch(r===Ft?a:r){case 2:n=e.read_shift(2,"i");if(!i.raw)e.l+=2;return n;case 3:n=e.read_shift(4,"i");return n;case 11:return e.read_shift(4)!==0;case 19:n=e.read_shift(4);return n;case 30:return Ma(e,a,4).replace(b,"");case 31: -return Ua(e);case 64:return La(e);case 65:return $a(e);case 71:return Za(e);case 80:return Wa(e,a,!i.raw&&4).replace(b,"");case 81:return Va(e,a).replace(b,"");case 4108:return Ka(e);case 4126:return Xa(e);default:throw new Error("TypedPropertyValue unrecognized type "+r+" "+a);}}function qa(e,r){var t=e.l;var a=e.read_shift(4);var i=e.read_shift(4);var s=[],f=0;var o=0;var l=-1,c={};for(f=0;f!=i;++f){var u=e.read_shift(4);var h=e.read_shift(4);s[f]=[u,h+t]}var d={};for(f=0;f!=i;++f){if(e.l!==s[f][1]){var v=true;if(f>0&&r)switch(r[s[f-1][0]].t){case 2:if(e.l+2===s[f][1]){e.l+=2;v=false}break;case 80:if(e.l<=s[f][1]){e.l=s[f][1];v=false}break;case 4108:if(e.l<=s[f][1]){e.l=s[f][1];v=false}break;}if(!r&&e.l<=s[f][1]){v=false;e.l=s[f][1]}if(v)throw new Error("Read Error: Expected address "+s[f][1]+" at "+e.l+" :"+f)}if(r){var p=r[s[f][0]];d[p.n]=Ja(e,p.t,{raw:true});if(p.p==="version")d[p.n]=String(d[p.n]>>16)+"."+String(d[p.n]&65535);if(p.n=="CodePage")switch(d[p.n]){case 0:d[p.n]=1252;case 874:;case 932:;case 936:;case 949:;case 950:;case 1250:;case 1251:;case 1253:;case 1254:;case 1255:;case 1256:;case 1257:;case 1258:;case 1e4:;case 1200:;case 1201:;case 1252:;case 65e3:;case-536:;case 65001:;case-535:n(o=d[p.n]);break;default:throw new Error("Unsupported CodePage: "+d[p.n]);}}else{if(s[f][0]===1){o=d.CodePage=Ja(e,Rt);n(o);if(l!==-1){var m=e.l;e.l=s[l][1];c=Ya(e,o);e.l=m}}else if(s[f][0]===0){if(o===0){l=f;e.l=s[f+1][1];continue}c=Ya(e,o)}else{var b=c[s[f][0]];var g;switch(e[e.l]){case 65:e.l+=4;g=$a(e);break;case 30:e.l+=4;g=Wa(e,e[e.l-4]);break;case 31:e.l+=4;g=Wa(e,e[e.l-4]);break;case 3:e.l+=4;g=e.read_shift(4,"i");break;case 19:e.l+=4;g=e.read_shift(4);break;case 5:e.l+=4;g=e.read_shift(8,"f");break;case 11:e.l+=4;g=an(e,4);break;case 64:e.l+=4;g=H(La(e));break;default:throw new Error("unparsed value: "+e[e.l]);}d[b]=g}}}e.l=t+a;return d}function en(e,r){var t=e.content;gr(t,0);var a,n,i,s,f=0;t.chk("feff","Byte Order: ");var o=t.read_shift(2);var l=t.read_shift(4);t.chk(T.utils.consts.HEADER_CLSID,"CLSID: ");a=t.read_shift(4);if(a!==1&&a!==2)throw new Error("Unrecognized #Sets: "+a);n=t.read_shift(16);s=t.read_shift(4);if(a===1&&s!==t.l)throw new Error("Length mismatch: "+s+" !== "+t.l);else if(a===2){i=t.read_shift(16);f=t.read_shift(4)}var c=qa(t,r);var u={SystemIdentifier:l};for(var h in c)u[h]=c[h];u.FMTID=n;if(a===1)return u;if(t.l!==f)throw new Error("Length mismatch 2: "+t.l+" !== "+f);var d;try{d=qa(t,null)}catch(v){}for(h in d)u[h]=d[h];u.FMTID=[n,i];return u}function rn(e,r){e.read_shift(r);return null}function tn(e,r,t){var a=[],n=e.l+r;while(e.l=12?2:1);var i=1,s="sbcs-cont";var f=t;if(a&&a.biff>=8)t=1200;if(!a||a.biff==8){var o=e.read_shift(1);if(o){i=2;s="dbcs-cont"}}else if(a.biff==12){i=2;s="wstr"}var l=n?e.read_shift(n,s):"";t=f;return l}function cn(e){var r=t;t=1200;var a=e.read_shift(2),n=e.read_shift(1);var i=n&1,s=n&4,f=n&8;var o=1+(n&1);var l=0,c;var u={};if(f)l=e.read_shift(2);if(s)c=e.read_shift(4);var h=n&1?"dbcs-cont":"sbcs-cont";var d=a===0?"":e.read_shift(a,h);if(f)e.l+=4*l;if(s)e.l+=c;u.t=d;if(!f){u.raw=""+u.t+"";u.r=u.t}t=r;return u}function un(e,r,t){var a;if(t){if(t.biff>=2&&t.biff<=5)return e.read_shift(r,"sbcs-cont");if(t.biff>=12)return e.read_shift(r,"dbcs-cont")}var n=e.read_shift(1);if(n===0){a=e.read_shift(r,"sbcs-cont")}else{a=e.read_shift(r,"dbcs-cont")}return a}function hn(e,r,t){var a=e.read_shift(t&&t.biff==2?1:2);if(a===0){e.l++;return""}return un(e,a,t)}function dn(e,r,t){if(t.biff>5)return hn(e,r,t);var a=e.read_shift(1);if(a===0){e.l++;return""}return e.read_shift(a,"sbcs-cont")}function vn(e,r,t){var a=e.read_shift(1);e.l++;var n=e.read_shift(2);e.l+=2;return[a,n]}var pn=function(e){var r=e.read_shift(4),t=e.l;var a=false;if(r>24){e.l+=r-24;if(e.read_shift(16)==="795881f43b1d7f48af2c825dc4852763")a=true;e.l=t}var n=e.read_shift((a?r-24:r)>>1,"utf16le").replace(b,"");if(a)e.l+=24;return n};var mn=function(e,r){var t=e.read_shift(2);var a=e.read_shift(4);var n=e.read_shift(a,"cstr");var i=e.read_shift(2);var s=e.read_shift(2);var f=e.read_shift(4);if(f===0)return n.replace(/\\/g,"/");var o=e.read_shift(4);var l=e.read_shift(2);var c=e.read_shift(o>>1,"utf16le").replace(b,"");return c};var bn=function(e,r){var t=e.read_shift(16);r-=16;switch(t){case"e0c9ea79f9bace118c8200aa004ba90b":return pn(e,r);case"0303000000000000c000000000000046":return mn(e,r);default:throw new Error("Unsupported Moniker "+t);}};var gn=function(e,r){var t=e.read_shift(4);var a=e.read_shift(t,"utf16le").replace(b,"");return a};var En=function(e,r){var t=e.l+r;var a=e.read_shift(4);if(a!==2)throw new Error("Unrecognized streamVersion: "+a);var n=e.read_shift(2);e.l+=2;var i,s,f,o,l,c,u;if(n&16)i=gn(e,t-e.l);if(n&128)s=gn(e,t-e.l);if((n&257)===257)f=gn(e,t-e.l);if((n&257)===1)o=bn(e,t-e.l);if(n&8)l=gn(e,t-e.l);if(n&32)c=e.read_shift(16);if(n&64)u=La(e);e.l=t;var h=s||f||o;if(l)h+="#"+l;return{Target:h}};function kn(e,r){var t=e.read_shift(1),a=e.read_shift(1),n=e.read_shift(1),i=e.read_shift(1);return[t,a,n,i]}function Sn(e,r){var t=kn(e,r);t[3]=0;return t}function wn(e,r){var t=e.read_shift(2);var a=e.read_shift(2);var n=e.read_shift(2);return{r:t,c:a,ixfe:n}}function Bn(e){var r=e.read_shift(2);var t=e.read_shift(2);e.l+=8;return{type:r,flags:t}}function Cn(e,r,t){return r===0?"":dn(e,r,t)}var _n=nn;function Tn(e,r,t){var a=t.biff>8?4:2;var n=e.read_shift(a),i=e.read_shift(a,"i"),s=e.read_shift(a,"i");return[n,i,s]}function xn(e,r){var t=e.read_shift(2);var a=bt(e);return[t,a]}function In(e,r,t){e.l+=4;r-=4;var a=e.l+r;var n=ln(e,r,t);var i=e.read_shift(2);a-=e.l;if(i!==a)throw new Error("Malformed AddinUdf: padding = "+a+" != "+i);e.l+=i;return n}function An(e,r){var t=e.read_shift(2);var a=e.read_shift(2);var n=e.read_shift(2);var i=e.read_shift(2);return{s:{c:n,r:t},e:{c:i,r:a}}}function yn(e,r){var t=e.read_shift(2);var a=e.read_shift(2);var n=e.read_shift(1);var i=e.read_shift(1);return{s:{c:n,r:t},e:{c:i,r:a}}}var Rn=yn;function Dn(e,r){e.l+=4;var t=e.read_shift(2);var a=e.read_shift(2);var n=e.read_shift(2);e.l+=12;return[a,t,n]}function On(e,r){var t={};e.l+=4;e.l+=16;t.fSharedNote=e.read_shift(2);e.l+=4;return t}function Fn(e,r){var t={};e.l+=4;e.cf=e.read_shift(2);return t}function Pn(e,r){e.l+=2;e.l+=e.read_shift(2)}var Nn={0:Pn,4:Pn,5:Pn,6:Pn,7:Fn,8:Pn,9:Pn,10:Pn,11:Pn,12:Pn,13:On,14:Pn,15:Pn,16:Pn,17:Pn,18:Pn,19:Pn,20:Pn,21:Dn};function Ln(e,r,t){var a=e.l+r;var n=[];while(e.l=2){t.dt=e.read_shift(2);e.l-=2}switch(t.BIFFVer){case 1536:;case 1280:;case 2:;case 7:break;default:if(r>6)throw new Error("Unexpected BIFF Ver "+t.BIFFVer);}e.read_shift(r);return t}function Hn(e,r){if(r===0)return 1200;var t;if((t=e.read_shift(2))!==1200){}return 1200}function Wn(e,r,t){if(t.enc){e.l+=r;return""}var a=e.l;var n=hn(e,0,t);e.read_shift(r+a-e.l);return n}function Vn(e,r,t){var a=e.read_shift(4);var n=e.read_shift(1)&3;var i=e.read_shift(1);switch(i){case 0:i="Worksheet";break;case 1:i="Macrosheet";break;case 2:i="Chartsheet";break;case 6:i="VBAModule";break;}var s=ln(e,0,t);if(s.length===0)s="Sheet1";return{pos:a,hs:n,dt:i,name:s}}function zn(e,r){var t=e.l+r;var a=e.read_shift(4);var n=e.read_shift(4);var i=[];for(var s=0;s!=n&&e.l>15);n&=32767}var i={Unsynced:a&1,DyZero:(a&2)>>1,ExAsc:(a&4)>>2,ExDsc:(a&8)>>3};return[i,n]}function Zn(e,r){var t=e.read_shift(2),a=e.read_shift(2),n=e.read_shift(2),i=e.read_shift(2);var s=e.read_shift(2),f=e.read_shift(2),o=e.read_shift(2);var l=e.read_shift(2),c=e.read_shift(2);return{Pos:[t,a],Dim:[n,i],Flags:s,CurTab:f,FirstTab:o,Selected:l,TabRatio:c}}function Qn(e,r,t){var a={dyHeight:e.read_shift(2),fl:e.read_shift(2)};switch(t&&t.biff||8){case 2:break;case 3:;case 4:e.l+=2;break;default:e.l+=10;break;}a.name=ln(e,0,t);return a}function Jn(e,r){var t=wn(e);t.isst=e.read_shift(4);return t}function qn(e,r,t){var a=e.l+r;var n=wn(e,6);if(t.biff==2)e.l++;var i=hn(e,a-e.l,t);n.val=i;return n}function ei(e,r,t){var a=e.read_shift(2);var n=dn(e,0,t);return[a,n]}var ri=dn;function ti(e,r,t){var a=e.l+r;var n=t.biff==8||!t.biff?4:2;var i=e.read_shift(n),s=e.read_shift(n);var f=e.read_shift(2),o=e.read_shift(2);e.l=a;return{s:{r:i,c:f},e:{r:s,c:o}}}function ai(e,r){var t=e.read_shift(2),a=e.read_shift(2);var n=xn(e);return{r:t,c:a,ixfe:n[0],rknum:n[1]}}function ni(e,r){var t=e.l+r-2;var a=e.read_shift(2),n=e.read_shift(2);var i=[];while(e.l>26];if(!a.cellStyles)return n;n.alc=i&7;n.fWrap=i>>3&1;n.alcV=i>>4&7;n.fJustLast=i>>7&1;n.trot=i>>8&255;n.cIndent=i>>16&15;n.fShrinkToFit=i>>20&1;n.iReadOrder=i>>22&2;n.fAtrNum=i>>26&1;n.fAtrFnt=i>>27&1;n.fAtrAlc=i>>28&1;n.fAtrBdr=i>>29&1;n.fAtrPat=i>>30&1;n.fAtrProt=i>>31&1;n.dgLeft=s&15;n.dgRight=s>>4&15;n.dgTop=s>>8&15;n.dgBottom=s>>12&15;n.icvLeft=s>>16&127;n.icvRight=s>>23&127;n.grbitDiag=s>>30&3;n.icvTop=f&127;n.icvBottom=f>>7&127;n.icvDiag=f>>14&127;n.dgDiag=f>>21&15;n.icvFore=o&127;n.icvBack=o>>7&127;n.fsxButton=o>>14&1;return n}function fi(e,r,t){return si(e,r,0,t)}function oi(e,r,t){return si(e,r,1,t)}function li(e,r,t){var a={};a.ifnt=e.read_shift(2);a.numFmtId=e.read_shift(2);a.flags=e.read_shift(2);a.fStyle=a.flags>>2&1;r-=6;a.data=si(e,r,a.fStyle,t);return a}function ci(e,r){e.l+=4;var t=[e.read_shift(2),e.read_shift(2)];if(t[0]!==0)t[0]--;if(t[1]!==0)t[1]--;if(t[0]>7||t[1]>7)throw new Error("Bad Gutters: "+t.join("|"));return t}function ui(e,r,t){var a=wn(e,6);if(t.biff==2)++e.l;var n=on(e,2);a.val=n;a.t=n===true||n===false?"b":"e";return a}function hi(e,r){var t=wn(e,6);var a=Bt(e,8);t.val=a;return t}var di=Cn;function vi(e,r,t){var a=e.l+r;var n=e.read_shift(2);var i=e.read_shift(2);t.sbcch=i;if(i==1025||i==14849)return[i,n];if(i<1||i>255)throw new Error("Unexpected SupBook type: "+i);var s=un(e,i);var f=[];while(a>e.l)f.push(hn(e));return[i,n,s,f]}function pi(e,r,t){var a=e.read_shift(2);var n;var i={fBuiltIn:a&1,fWantAdvise:a>>>1&1,fWantPict:a>>>2&1,fOle:a>>>3&1,fOleLink:a>>>4&1,cf:a>>>5&1023,fIcon:a>>>15&1};if(t.sbcch===14849)n=In(e,r-2,t);i.body=n||e.read_shift(r-2);if(typeof n==="string")i.Name=n;return i}var mi=["_xlnm.Consolidate_Area","_xlnm.Auto_Open","_xlnm.Auto_Close","_xlnm.Extract","_xlnm.Database","_xlnm.Criteria","_xlnm.Print_Area","_xlnm.Print_Titles","_xlnm.Recorder","_xlnm.Data_Form","_xlnm.Auto_Activate","_xlnm.Auto_Deactivate","_xlnm.Sheet_Title","_xlnm._FilterDatabase"];function bi(e,r,t){var a=e.l+r;var n=e.read_shift(2);var i=e.read_shift(1);var s=e.read_shift(1);var f=e.read_shift(t&&t.biff==2?1:2);var o=0;if(!t||t.biff>=5){e.l+=2;o=e.read_shift(2);e.l+=4}var l=un(e,s,t);if(n&32)l=mi[l.charCodeAt(0)];var c=a-e.l;if(t&&t.biff==2)--c;var u=a==e.l||f==0?[]:Gp(e,c,t,f);return{chKey:i,Name:l,itab:o,rgce:u}}function gi(e,r,t){if(t.biff<8)return Ei(e,r,t);var a=[],n=e.l+r,i=e.read_shift(t.biff>8?4:2);while(i--!==0)a.push(Tn(e,t.biff>8?12:6,t));var s=[];return a}function Ei(e,r,t){if(e[e.l+1]==3)e[e.l]++;var a=ln(e,r,t);return a.charCodeAt(0)==3?a.slice(1):a}var ki=nn;function Si(e,r,t){if(t.biff<8){e.l+=r;return}var a=e.read_shift(2);var n=e.read_shift(2);var i=un(e,a,t);var s=un(e,n,t);return[i,s]}function wi(e,r,t){var a=yn(e,6);e.l++;var n=e.read_shift(1);r-=8;return[Kp(e,r,t),n]}function Bi(e,r,t){var a=Rn(e,6);switch(t.biff){case 2:e.l++;r-=7;break;case 3:;case 4:e.l+=2;r-=8;break;default:e.l+=6;r-=12;}return[a,Yp(e,r,t,a)]}function Ci(e,r){var t=e.read_shift(4)!==0;var a=e.read_shift(4)!==0;var n=e.read_shift(4);return[t,a,n]}function _i(e,r,t){if(t.biff<8)return;var a=e.read_shift(2),n=e.read_shift(2);var i=e.read_shift(2),s=e.read_shift(2);var f=dn(e,0,t);if(t.biff<8)e.read_shift(1);return[{r:a,c:n},f,s,i]}function Ti(e,r,t){return _i(e,r,t)}function xi(e,r){var t=[];var a=e.read_shift(2);while(a--)t.push(An(e,r));return t}function Ii(e,r,t){if(t&&t.biff<8)return yi(e,r,t);var a=Dn(e,22);var n=Ln(e,r-22,a[1]);return{cmo:a,ft:n}}var Ai=[];Ai[8]=function(e,r,t){var a=e.l+r;e.l+=10;var n=e.read_shift(2);e.l+=4;var i=e.read_shift(2);e.l+=2;var s=e.read_shift(2);e.l+=4;var f=e.read_shift(1);e.l+=f;e.l=a;return{fmt:n}};function yi(e,r,t){var a=e.read_shift(4);var n=e.read_shift(2);var i=e.read_shift(2);var s=e.read_shift(2);var f=e.read_shift(2);var o=e.read_shift(2);var l=e.read_shift(2);var c=e.read_shift(2);var u=e.read_shift(2);var h=e.read_shift(2);var d=e.read_shift(2);var v=e.read_shift(2);var p=e.read_shift(2);e.l+=6;r-=36;var m=[];m.push((Ai[n]||Er)(e,r,t));return{cmo:[i,n,s],ft:m}}function Ri(e,r,t){var a=e.l;var n="";try{e.l+=4;var i=(t.lastobj||{cmo:[0,0]}).cmo[1];var s;if([0,5,7,11,12,14].indexOf(i)==-1)e.l+=6;else s=vn(e,6,t);var f=e.read_shift(2);var o=e.read_shift(2);var l=Mn(e,2);var c=e.read_shift(2);e.l+=c;for(var u=1;u=(h?f:2*f))break}if(n.length!==f&&n.length!==f*2){throw new Error("cchText: "+f+" != "+n.length)}e.l=a+r;return{t:n}}catch(v){e.l=a+r;return{t:n}}}var Di=function(e,r){var t=An(e,8);e.l+=16;var a=En(e,r-24);return[t,a]};var Oi=function(e,r){var t=e.l+r;e.read_shift(2);var a=An(e,8);var n=e.read_shift((r-10)/2,"dbcs-cont");n=n.replace(b,"");return[a,n]};function Fi(e,r){var t=[],a;a=e.read_shift(2);t[0]=Kt[a]||a;a=e.read_shift(2);t[1]=Kt[a]||a;return t}function Pi(e,r){var t=e.read_shift(2);var a=[];while(t-- >0)a.push(Sn(e,8));return a}function Ni(e,r){var t=e.read_shift(2);var a=[];while(t-- >0)a.push(Sn(e,8));return a}function Li(e,r){e.l+=2;var t={cxfs:0,crc:0};t.cxfs=e.read_shift(2);t.crc=e.read_shift(4);return t}function Mi(e,r,t){if(!t.cellStyles)return Er(e,r);var a=t&&t.biff>=12?4:2;var n=e.read_shift(a);var i=e.read_shift(a);var s=e.read_shift(a);var f=e.read_shift(a);var o=e.read_shift(2);if(a==2)e.l+=2;return{s:n,e:i,w:s,ixfe:f,flags:o}}function Ui(e,r,t){var a={};e.l+=16;a.header=Bt(e,8);a.footer=Bt(e,8);e.l+=2;return a}function Hi(e,r,t){var a={area:false};if(t.biff!=5){e.l+=r;return a}var n=e.read_shift(1);e.l+=3;if(n&16)a.area=true;return a}var Wi=Er;var Vi=Er;var zi=Er;var Xi=an;var Gi=wn;var ji=Bt;var Ki=nn;var Yi=nn;var $i=Bt;var Zi=an;var Qi=nn;var Ji=an;var qi=rn;var es=an;var rs=nn;var ts=an;var as=an;var ns=nn;var is=rn;var ss=rn;var fs=rn;var os=rn;var ls=rn;var cs=nn;var us=di;var hs=nn;var ds=an;var vs=di;var ps=_n;var ms=rn;var bs=Bt;var gs=rn;var Es=an;var ks=nn;var Ss=an;var ws=an;var Bs=nn;var Cs=an;var _s=nn;var Ts=an;var xs=an;var Is=Bt;var As=sn;var ys=an;var Rs=sn;var Ds=hn;var Os=an;var Fs=Bt;var Ps=an;var Ns=an;var Ls=an;var Ms=Er;var Us=Er;var Hs=Er;var Ws=Er;var Vs=Er;var zs=Er;var Xs=Er;var Gs=Er;var js=Er;var Ks=Er;var Ys=Er;var $s=Er;var Zs=Er;var Qs=Er;var Js=Er;var qs=Er;var ef=Er;var rf=Er;var tf=Er;var af=Er;var nf=Er;var sf=Er;var ff=Er;var of=Er;var lf=Er;var cf=Er;var uf=Er;var hf=Er;var df=Er;var vf=Er;var pf=Er;var mf=Er;var bf=Er;var gf=Er;var Ef=Er;var kf=Er;var Sf=Er;var wf=Er;var Bf=Er;var Cf=Er;var _f=Er;var Tf=Er;var xf=Er;var If=Er;var Af=Er;var yf=Er;var Rf=Er;var Df=Er;var Of=Er;var Ff=Er;var Pf=Er;var Nf=Er;var Lf=Er;var Mf=Er;var Uf=Er;var Hf=Er;var Wf=Er;var Vf=Er;var zf=Er;var Xf=Er;var Gf=Er;var jf=Er;var Kf=Er;var Yf=Er;var $f=Er;var Zf=Er;var Qf=Er;var Jf=Er;var qf=Er;var eo=Er;var ro=Er;var to=Er;var ao=Er;var no=Er;var io=Er;var so=Er;var fo=Er;var oo=Er;var lo=Er;var co=Er;var uo=Er;var ho=Er;var vo=Er;var po=Er;var mo=Er;var bo=Er;var go=Er;var Eo=Er;var ko=Er;var So=Er;var wo=Er;var Bo=Er;var Co=Er;var _o=Er;var To=Er;var xo=Er;var Io=Er;var Ao=Er;var yo=Er;var Ro=Er;var Do=Er;var Oo=Er;var Fo=Er;var Po=Er;var No=Er;var Lo=Er;var Mo=Er;var Uo=Er;var Ho=Er;var Wo=Er;var Vo=hn;var zo=Er;var Xo=Er;var Go=Er;var jo=Er;var Ko=Er;var Yo=Er;var $o=Er;var Zo=Er;var Qo=Er;var Jo=Er;var qo=Er;var el=Er;var rl=Er;var tl=Er;var al=Er;var nl=Er;var il=Er;var sl=Er;var fl=Er;var ol=Er;var ll=Er;var cl=Er;var ul=Er;var hl=Er;var dl=Er;var vl=Er;var pl=Er;var ml=Er;var bl=Er;var gl=Er;var El=Er;var kl=Er;var Sl=Er;var wl=Er;var Bl=Er;var Cl=Er;var _l=Er;var Tl=Er;var xl=Er;var Il=Er;var Al=Er;var yl=Er;var Rl=Er;var Dl=Er;var Ol=Er;var Fl=Er;var Pl=Er;var Nl=Er;var Ll=Er;var Ml=Er;var Ul=Er;var Hl=Er;var Wl=Er;var Vl=Er;var zl=Er;var Xl=Er;var Gl=Er;var jl=Er;var Kl=Er;var Yl=Er;var $l=Er;var Zl=Er;var Ql=Er;var Jl=Er;var ql=Er;var ec=Er;var rc=Er;var tc=Er;var ac=Er;var nc=Er;var ic=Er;var sc=Er;var fc=Er;var oc=Er;var lc=Er;var cc=Er;var uc=Er;var hc=Er;var dc=Er;var vc=Er;var pc=Er;var mc=Er;var bc=Er;var gc=Er;var Ec=Er;var kc=Er;var Sc=Er;var wc=Er;var Bc=Er;var Cc=Er;var _c=Er;var Tc=Er;var xc=Er;var Ic=Er;var Ac=Er;var yc=Er;var Rc=Er;var Dc=Er;var Oc=Er;var Fc=Er;var Pc=Er;var Nc=Er;var Lc=Er;var Mc=Er;var Uc=Er;var Hc=Er;var Wc=Er;var Vc=Er;var zc=Er;var Xc=Er;var Gc=Er;var jc=Er;var Kc=Er;var Yc=Er;var $c=Er;var Zc=Er;var Qc=Er;var Jc=Er;var qc=Er;var eu=Er;var ru=Er;var tu=Er;var au=Er;var nu=Er;var iu=Er;var su=Er;var fu=Er;var ou=Er;var lu=Er;var cu=Er;var uu=Er;var hu=Er;var du=Er;var vu=Er;var pu=Er;var mu=Er;var bu=Er;var gu=Er;var Eu=Er;var ku=Er;var Su=Er;var wu=Er;function Bu(e,r,t){var a=e.l+r;var n=e.read_shift(2);var i=e.read_shift(2);var s=e.read_shift(4);var f={fmt:n,env:i,len:s,data:e.slice(e.l,e.l+s)};e.l+=s;return f}function Cu(e){var r=e.read_shift(1);return e.read_shift(r,"sbcs-cont")}function _u(e,r,t){var a=wn(e,6);++e.l;var n=dn(e,r-7,t);a.t="str";a.val=n;return a}function Tu(e,r,t){var a=wn(e,6);++e.l;var n=Bt(e,8);a.t="n";a.val=n;return a}function xu(e,r){var t=wn(e,6);++e.l;var a=e.read_shift(2);t.t="n";t.val=a;return t}function Iu(e,r){var t=e.read_shift(1);if(t===0){e.l++;return""}return e.read_shift(t,"sbcs-cont")}function Au(e,r){e.l+=6;e.l+=2;e.l+=1;e.l+=3;e.l+=1;e.l+=r-13}function yu(e,r,t){var a=e.l+r;var n=wn(e,6);var i=e.read_shift(2);var s=un(e,i,t);e.l=a;n.t="str";n.val=s;return n}var Ru=function(){var e={1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127,8:865,9:437,10:850,11:437,13:437,14:850,15:437,16:850,17:437,18:850,19:932,20:850,21:437,22:850,23:865,24:437,25:437,26:850,27:437,28:863,29:850,31:852,34:852,35:852,36:860,37:850,38:866,55:850,64:852,77:936,78:949,79:950,80:874,87:1252,88:1252,89:1252,255:16969};function r(r,t){var a=[];var n=v(1);switch(t.type){case"base64":n=p(h.decode(r));break;case"binary":n=p(r);break;case"buffer":;case"array":n=r;break;}gr(n,0);var i=n.read_shift(1);var s=false;var f=false;switch(i){case 2:;case 3:break;case 48:f=true;s=true;break;case 49:f=true;break;case 131:s=true;break;case 139:s=true;break;case 245:s=true;break;default:throw new Error("DBF Unsupported Version: "+i.toString(16));}var o=new Date,l=0,c=0;if(i==2)l=n.read_shift(2);o=new Date(n.read_shift(1)+1900,n.read_shift(1)-1,n.read_shift(1));if(i!=2)l=n.read_shift(4);if(i!=2)c=n.read_shift(2);var u=n.read_shift(2);var d=0,m=1252;if(i!=2){n.l+=16;d=n.read_shift(1);if(n[n.l]!==0)m=e[n[n.l]];n.l+=1;n.l+=2}var b=[],g={};var E=c-10-(f?264:0);while(i==2?n.l0){if(n[n.l]===42){n.l+=u;continue}++n.l;a[++k]=[];S=0;for(S=0;S!=b.length;++S){var w=n.slice(n.l,n.l+b[S].len);n.l+=b[S].len;gr(w,0);var B=cptable.utils.decode(m,w);switch(b[S].type){case"C":a[k][S]=cptable.utils.decode(m,w);a[k][S]=a[k][S].trim();break;case"D":if(B.length===8)a[k][S]=new Date(+B.substr(0,4),+B.substr(4,2)-1,+B.substr(6,2));else a[k][S]=B;break;case"F":a[k][S]=parseFloat(B.trim());break;case"I":a[k][S]=w.read_shift(4,"i");break;case"L":switch(B.toUpperCase()){case"Y":;case"T":a[k][S]=true;break;case"N":;case"F":a[k][S]=false;break;case" ":;case"?":a[k][S]=false;break;default:throw new Error("DBF Unrecognized L:|"+B+"|");}break;case"M":if(!s)throw new Error("DBF Unexpected MEMO for type "+i.toString(16));a[k][S]="##MEMO##"+w.read_shift(4);break;case"N":a[k][S]=+B.replace(/\u0000/g,"").trim();break;case"T":var C=w.read_shift(4),_=w.read_shift(4);throw new Error(C+" | "+_);case"Y":a[k][S]=w.read(4,"i")/1e4;break;case"0":if(b[S].name==="_NullFlags")break;default:throw new Error("DBF Unsupported data type "+b[S].type);}}}if(i!=2)if(n.l0)switch(g){case"ID":break;case"E":break;case"B":break;case"O":break;case"P":if(b[1].charAt(0)=="P")o.push(m.substr(3).replace(/;;/g,";"));break;case"C":for(s=1;s0){u[a].hpt=v;u[a].hpx=Xh(v)}else if(v==0)u[a].hidden=true;break;default:if(r&&r.WTF)throw new Error("SYLK bad record "+m);}if(w<1)l=null;break;default:if(r&&r.WTF)throw new Error("SYLK bad record "+m);}}if(u.length>0)c["!rows"]=u;if(h.length>0)c["!cols"]=h;return[f,c]}function t(r,t){var a=e(r,t);var n=a[0],i=a[1];var s=Qr(n,t);I(i).forEach(function(e){s[e]=i[e]});return s}function a(e,r){return Zr(t(e,r),r)}function n(e,r,t,a,n){var i="C;Y"+(t+1)+";X"+(a+1)+";K";switch(e.t){case"n":i+=e.v||0;if(e.f&&!e.F)i+=";E"+gv(e.f,{r:t,c:a});break;case"b":i+=e.v?"TRUE":"FALSE";break;case"e":i+=e.w||e.v;break;case"d":i+='"'+(e.w||e.v)+'"';break;case"s":i+='"'+e.v.replace(/"/g,"")+'"';break;}return i}function i(e,r){r.forEach(function(r,t){var a="F;W"+(t+1)+" "+(t+1)+" ";if(r.hidden)a+="0";else{if(typeof r.width=="number")r.wpx=Dh(r.width);if(typeof r.wpx=="number")r.wch=Oh(r.wpx);if(typeof r.wch=="number")a+=Math.round(r.wch)}if(a.charAt(a.length-1)!=" ")e.push(a)})}function s(e,r){r.forEach(function(r,t){var a="F;";if(r.hidden)a+="M0;";else if(r.hpt)a+="M"+20*r.hpt+";";else if(r.hpx)a+="M"+20*zh(r.hpx)+";";if(a.length>2)e.push(a+"R"+(t+1))})}function f(e,r){var t=["ID;PWXL;N;E"],a=[];var f=Gr(e["!ref"]),o;var l=Array.isArray(e);var c="\r\n";t.push("P;PGeneral");t.push("F;P0;DG0G8;M255");if(e["!cols"])i(t,e["!cols"]);if(e["!rows"])s(t,e["!rows"]);t.push("B;Y"+(f.e.r-f.s.r+1)+";X"+(f.e.c-f.s.c+1)+";D"+[f.s.c,f.s.r,f.e.c,f.e.r].join(" "));for(var u=f.s.r;u<=f.e.r;++u){for(var h=f.s.c;h<=f.e.c;++h){var d=Vr({r:u,c:h});o=l?(e[u]||[])[h]:e[d];if(!o||o.v==null&&(!o.f||o.F))continue;a.push(n(o,e,u,h,r))}}return t.join(c)+c+a.join(c)+c+"E"+c}return{to_workbook:a,to_sheet:t,from_sheet:f}}();var Ou=function(){function e(e,t){switch(t.type){case"base64":return r(h.decode(e),t);case"binary":return r(e,t);case"buffer":return r(e.toString("binary"),t);case"array":return r(W(e),t);}throw new Error("Unrecognized type "+t.type)}function r(e,r){var t=e.split("\n"),a=-1,n=-1,i=0,s=[];for(;i!==t.length;++i){if(t[i].trim()==="BOT"){s[++a]=[];n=0;continue}if(a<0)continue;var f=t[i].trim().split(",");var o=f[0],l=f[1];++i;var c=t[i].trim();switch(+o){case-1:if(c==="BOT"){s[++a]=[];n=0;continue}else if(c!=="EOD")throw new Error("Unrecognized DIF special command "+c);break;case 0:if(c==="TRUE")s[a][n]=true;else if(c==="FALSE")s[a][n]=false;else if(+l==+l)s[a][n]=+l;else if(!isNaN(G(l).getDate()))s[a][n]=H(l);else s[a][n]=l;++n;break;case 1:c=c.substr(1,c.length-2);s[a][n++]=c!==""?c:null;break;}if(c==="EOD")break}return s}function t(r,t){return Qr(e(r,t),t)}function a(e,r){return Zr(t(e,r),r)}var n=function(){var e=function t(e,r,a,n,i){e.push(r);e.push(a+","+n);e.push('"'+i.replace(/"/g,'""')+'"')};var r=function a(e,r,t,n){e.push(r+","+t);e.push(r==1?'"'+n.replace(/"/g,'""')+'"':n)};return function n(t,a){var n=[];var i=Gr(t["!ref"]),s;var f=Array.isArray(t);e(n,"TABLE",0,1,"sheetjs");e(n,"VECTORS",0,i.e.r-i.s.r+1,"");e(n,"TUPLES",0,i.e.c-i.s.c+1,"");e(n,"DATA",0,0,"");for(var o=i.s.r;o<=i.e.r;++o){r(n,-1,0,"BOT");for(var l=i.s.c;l<=i.e.c;++l){var c=Vr({r:o,c:l});s=f?(t[o]||[])[l]:t[c];if(!s){r(n,1,0,"");continue}switch(s.t){case"n":var h=u?s.w:s.v;if(!h&&s.v!=null)h=s.v;if(h==null){if(u&&s.f&&!s.F)r(n,1,0,"="+s.f);else r(n,1,0,"")}else r(n,0,h,"V");break;case"b":r(n,0,s.v?1:0,s.v?"TRUE":"FALSE");break;case"s":r(n,1,0,!u||isNaN(s.v)?s.v:'="'+s.v+'"');break;case"d":if(!s.w)s.w=E.format(s.z||E._table[14],P(H(s.v)));if(u)r(n,0,s.w,"V");else r(n,1,0,s.w);break;default:r(n,1,0,"");}}}r(n,-1,0,"EOD");var d="\r\n";var v=n.join(d);return v}}();return{to_workbook:a,to_sheet:t,from_sheet:n}}();var Fu=function(){function e(e,r,t,a,n){if(n.raw)r[t][a]=e;else if(e==="TRUE")r[t][a]=true;else if(e==="FALSE")r[t][a]=false;else if(e===""){}else if(+e==+e)r[t][a]=+e;else if(!isNaN(G(e).getDate()))r[t][a]=H(e);else r[t][a]=e}function r(r,t){var a=t||{};var n=[];if(!r||r.length===0)return n;var i=r.split(/[\r\n]/);var s=i.length-1;while(s>=0&&i[s].length===0)--s;var f=10,o=0;var l=0;for(;l<=s;++l){o=i[l].indexOf(" ");if(o==-1)o=i[l].length;else o++;f=Math.max(f,o)}for(l=0;l<=s;++l){n[l]=[];var c=0;e(i[l].slice(0,f).trim(),n,l,c,a);for(c=1;c<=(i[l].length-f)/10+1;++c)e(i[l].slice(f+(c-1)*10,f+c*10).trim(),n,l,c,a)}return n}function t(e,r){var t=r||{};var a="";if(c!=null&&t.dense==null)t.dense=c;var n=t.dense?[]:{};var i={s:{c:0,r:0},e:{c:0,r:0}};if(e.substr(0,4)=="sep="&&e.charCodeAt(5)==10){a=e.charAt(4);e=e.substr(6)}else if(e.substr(0,1024).indexOf("\t")==-1)a=",";else a="\t";var s=0,f=0,o=0;var l=0,u=0,h=a.charCodeAt(0),d=false,v=0;e=e.replace(/\r\n/gm,"\n");var p=t.dateNF!=null?B(t.dateNF):null;function m(){var r=e.slice(l,u);var a={};if(t.raw){a.t="s";a.v=r}else if(r.charCodeAt(0)==61){a.t="n";a.f=r.substr(1)}else if(r=="TRUE"){a.t="b";a.v=true}else if(r=="FALSE"){a.t="b";a.v=false}else if(!isNaN(o=+r)){a.t="n";a.w=r;a.v=o}else if(!isNaN(G(r).getDate())||p&&r.match(p)){a.z=t.dateNF||E._table[14];var c=0;if(p&&r.match(p)){r=C(r,t.dateNF,r.match(p)||[]);c=1}if(t.cellDates){a.t="d";a.v=H(r,c)}else{a.t="n";a.v=P(H(r,c))}a.w=E.format(a.z,a.v instanceof Date?P(a.v):a.v)}else{a.t="s";if(r.charAt(0)=='"'&&r.charAt(r.length-1)=='"')r=r.slice(1,-1).replace(/""/g,'"');a.v=r}if(t.dense){if(!n[s])n[s]=[];n[s][f]=a}else n[Vr({c:f,r:s})]=a;l=u+1;if(i.e.c0)m();n["!ref"]=jr(i);return n}function a(e,a){if(e.substr(0,4)=="sep=")return t(e,a);if(e.indexOf("\t")>=0||e.indexOf(",")>=0)return t(e,a);return Qr(r(e,a),a)}function n(e,r){var t="",n=tk(e,r);switch(r.type){case"base64":t=h.decode(e);break;case"binary":t=e;break;case"buffer":t=e.toString("binary");break;case"array":t=W(e);break;default:throw new Error("Unrecognized type "+r.type);}if(n[0]==239&&n[1]==187&&n[2]==191)t=ke(t);return a(t,r)}function i(e,r){return Zr(n(e,r),r)}function s(e,r){var t=[];var a=Gr(e["!ref"]),n;var i=Array.isArray(e);for(var s=a.s.r;s<=a.e.r;++s){var f=[];for(var o=a.s.c;o<=a.e.c;++o){var l=Vr({r:s,c:o});n=i?(e[s]||[])[o]:e[l];if(!n||n.v==null){f.push(" ");continue}var c=(n.w||($r(n),n.w)||"").substr(0,10);while(c.length<10)c+=" ";f.push(c+(o==0?" ":""))}t.push(f.join(""))}return t.join("\n")}return{to_workbook:i,to_sheet:n,from_sheet:s}}();function Pu(e,r){var t=r||{},a=!!t.WTF;t.WTF=true;try{var n=Du.to_workbook(e,t);t.WTF=a;return n}catch(i){t.WTF=a;if(!i.message.match(/SYLK bad record ID/)&&a)throw i;return Fu.to_workbook(e,r)}}var Nu=function(){function e(e,r,t){if(!e)return;gr(e,e.l||0);var a=t.Enum||S;while(e.l=4096)a.qpro=true;break;case 6:l=e;break;case 15:if(!a.qpro)e[1].v=e[1].v.substr(1);case 13:;case 14:;case 16:;case 51:if(c==14&&(e[2]&112)==112&&(e[2]&15)>1&&(e[2]&15)<15){e[1].z=a.dateNF||E._table[14];if(a.cellDates){e[1].t="d";e[1].v=N(e[1].v)}}if(a.dense){if(!n[e[0].r])n[e[0].r]=[];n[e[0].r][e[0].c]=e[1]}else n[Vr(e[0])]=e[1];break;}else switch(c){case 22:e[1].v=e[1].v.substr(1);case 23:;case 24:;case 25:;case 37:;case 39:;case 40:if(e[3]>s){n["!ref"]=jr(l);f[i]=n;n=a.dense?[]:{};l={s:{r:0,c:0},e:{r:0,c:0}};s=e[3];i="Sheet"+(s+1);o.push(i)}n[Vr(e[0])]=e[1];if(l.e.c>1;if(t[1].v&1){switch(a&7){case 1:a=(a>>3)*500;break;case 2:a=(a>>3)/20;break;case 4:a=(a>>3)/2e3;break;case 6:a=(a>>3)/16;break;case 7:a=(a>>3)/64;break;default:throw"unknown NUMBER_18 encoding "+(a&7);}}t[1].v=a;return t}function v(e,r){var t=l(e,r);var a=e.read_shift(4);var n=e.read_shift(4);var i=e.read_shift(2);if(i==65535){t[1].v=0;return t}var s=i&32768;i=(i&32767)-16446;t[1].v=(i>0?n<>>-i)+(i>-32?a<>>-(i+32));return t}function m(e,r){var t=v(e,14);e.l+=r-14;return t}function b(e,r){var t=l(e,r);var a=e.read_shift(4);t[1].v=a>>6;return t}function g(e,r){var t=l(e,r);var a=e.read_shift(8,"f");t[1].v=a;return t}function k(e,r){var t=g(e,14);e.l+=r-10;return t}var S={0:{n:"BOF",f:nn},1:{n:"EOF",f:Er},2:{n:"CALCMODE",f:Er},3:{n:"CALCORDER",f:Er},4:{n:"SPLIT",f:Er},5:{n:"SYNC",f:Er},6:{n:"RANGE",f:a},7:{n:"WINDOW1",f:Er},8:{n:"COLW1",f:Er},9:{n:"WINTWO",f:Er},10:{n:"COLW2",f:Er},11:{n:"NAME",f:Er},12:{n:"BLANK",f:Er},13:{n:"INTEGER",f:s},14:{n:"NUMBER",f:f},15:{n:"LABEL",f:i},16:{n:"FORMULA",f:o},24:{n:"TABLE",f:Er},25:{n:"ORANGE",f:Er},26:{n:"PRANGE",f:Er},27:{n:"SRANGE",f:Er},28:{n:"FRANGE",f:Er},29:{n:"KRANGE1",f:Er},32:{n:"HRANGE",f:Er},35:{n:"KRANGE2",f:Er},36:{n:"PROTEC",f:Er},37:{n:"FOOTER",f:Er},38:{n:"HEADER",f:Er},39:{n:"SETUP",f:Er},40:{n:"MARGINS",f:Er},41:{n:"LABELFMT",f:Er},42:{n:"TITLES",f:Er},43:{n:"SHEETJS",f:Er},45:{n:"GRAPH",f:Er},46:{n:"NGRAPH",f:Er},47:{n:"CALCCOUNT",f:Er},48:{n:"UNFORMATTED",f:Er},49:{n:"CURSORW12",f:Er},50:{n:"WINDOW",f:Er},51:{n:"STRING",f:i},55:{n:"PASSWORD",f:Er},56:{n:"LOCKED",f:Er},60:{n:"QUERY",f:Er},61:{n:"QUERYNAME",f:Er},62:{n:"PRINT",f:Er},63:{n:"PRINTNAME",f:Er},64:{n:"GRAPH2",f:Er},65:{n:"GRAPHNAME",f:Er},66:{n:"ZOOM",f:Er},67:{n:"SYMSPLIT",f:Er},68:{n:"NSROWS",f:Er},69:{n:"NSCOLS",f:Er},70:{n:"RULER",f:Er},71:{n:"NNAME",f:Er},72:{n:"ACOMM",f:Er},73:{n:"AMACRO",f:Er},74:{n:"PARSE",f:Er},255:{n:"",f:Er}};var w={0:{n:"BOF",f:Er},1:{n:"EOF",f:Er},3:{n:"??",f:Er},4:{n:"??",f:Er},5:{n:"??",f:Er},6:{n:"??",f:Er},7:{n:"??",f:Er},9:{n:"??",f:Er},10:{n:"??",f:Er},11:{n:"??",f:Er},12:{n:"??",f:Er},14:{n:"??",f:Er},15:{n:"??",f:Er},16:{n:"??",f:Er},17:{n:"??",f:Er},18:{n:"??",f:Er},19:{n:"??",f:Er},21:{n:"??",f:Er},22:{n:"LABEL16",f:u},23:{n:"NUMBER17",f:v},24:{n:"NUMBER18",f:d},25:{n:"FORMULA19",f:m},26:{n:"??",f:Er},27:{n:"??",f:Er},28:{n:"??",f:Er},29:{n:"??",f:Er},30:{n:"??",f:Er},31:{n:"??",f:Er},33:{n:"??",f:Er},37:{n:"NUMBER25",f:b},39:{n:"NUMBER27",f:g},40:{n:"FORMULA28",f:k},255:{n:"",f:Er}};return{to_workbook:r}}();var Lu={0:1252,1:65001,2:65001,77:1e4,128:932,129:949,130:1361,134:936,136:950,161:1253,162:1254,163:1258,177:1255,178:1256,186:1257,204:1251,222:874,238:1250,255:1252,69:6969};var Mu=function Zk(){var e=Ce("t"),r=Ce("rPr"),t=/<(?:\w+:)?r>/g,a=/<\/(?:\w+:)?r>/,n=/\r\n/g;var i=function f(e,r,t){var a={},n=65001,i="";var s=e.match(ae),f=0;if(s)for(;f!=s.length;++f){var o=se(s[f]);switch(o[0].replace(/\w*:/g,"")){case"":;case"":a.shadow=1;break;case"":break;case"":;case"":a.outline=1;break;case"":break;case"":;case"":a.strike=1;break;case"":break;case"":;case"":a.u=1;break;case"":break;case"":;case"":a.b=1;break;case"":break;case"":;case"":a.i=1;break;case"":break;case"');if(a.b){r.push("");t.push("")}if(a.i){r.push("");t.push("")}if(a.strike){r.push("");t.push("")}if(i=="superscript")i="sup";else if(i=="subscript")i="sub";if(i!=""){r.push("<"+i+">");t.push("")}t.push("");return n};function s(t){var a=[[],"",[]];var s=t.match(e),f=65001;if(!x(s))return"";a[1]=s[1];var o=t.match(r);if(x(o))f=i(o[1],a[0],a[2]);return a[0].join("")+a[1].replace(n,"
")+a[2].join("")}return function o(e){return e.replace(t,"").split(a).map(s).join("")}}();var Uu=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,Hu=/<(?:\w+:)?r>/;var Wu=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g;function Vu(e,r){var t=r?r.cellHTML:true;var a={};if(!e)return null;var n;if(e.match(/^\s*<(?:\w+:)?t[^>]*>/)){a.t=ke(ce(e.substr(e.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]));a.r=ke(e);if(t)a.h=me(a.t)}else if(n=e.match(Hu)){a.r=ke(e);a.t=ke(ce((e.replace(Wu,"").match(Uu)||[]).join("").replace(ae,"")));if(t)a.h=Mu(a.r)}return a}var zu=/<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/;var Xu=/<(?:\w+:)?(?:si|sstItem)>/g;var Gu=/<\/(?:\w+:)?(?:si|sstItem)>/;function ju(e,r){var t=[],a="";if(!e)return t;var n=e.match(zu);if(x(n)){a=n[2].replace(Xu,"").split(Gu);for(var i=0;i!=a.length;++i){var s=Vu(a[i].trim(),r);if(s!=null)t[t.length]=s}n=se(n[1]);t.Count=n.count;t.Unique=n.uniqueCount}return t}ia.SST="http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings";var Ku=/^\s|\s$|[\t\n\r]/;function Yu(e,r){if(!r.bookSST)return"";var t=[Pe];t[t.length]=De("sst",null,{xmlns:Ne.main[0],count:e.Count,uniqueCount:e.Unique});for(var a=0;a!=e.length;++a){if(e[a]==null)continue;var n=e[a];var i="";if(n.r)i+=n.r;else{i+=""}i+="";t[t.length]=i}if(t.length>2){t[t.length]="";t[1]=t[1].replace("/>",">")}return t.join("")}function $u(e,r){return[e.read_shift(4),e.read_shift(4)]}function Zu(e,r){var t=[];var a=false;Br(e,function n(e,i,s){switch(s){case 159:t.Count=e[0];t.Unique=e[1];break;case 19:t.push(e);break;case 160:return true;case 35:a=true;break;case 36:a=false;break;default:if(i.indexOf("Begin")>0){}else if(i.indexOf("End")>0){}if(!a||r.WTF)throw new Error("Unexpected record "+s+" "+i);}});return t}function Qu(e,r){if(!r)r=wr(8);r.write_shift(4,e.Count);r.write_shift(4,e.Unique);return r}var Ju=nt;function qu(e,r){var t=Cr();_r(t,"BrtBeginSst",Qu(e));for(var a=0;a=4)e.l+=r-4;return t}function th(e,r){var t={};t.id=e.read_shift(0,"lpp4");t.R=rh(e,4);t.U=rh(e,4);t.W=rh(e,4);return t}function ah(e){var r=e.read_shift(4);var t=e.l+r-4;var a={};var n=e.read_shift(4);var i=[];while(n-- >0){var s={};s.t=e.read_shift(4);s.v=e.read_shift(0,"lpp4");i.push(s)}a.name=e.read_shift(0,"lpp4");a.comps=i;return a}function nh(e,r){var t=[];e.l+=4;var a=e.read_shift(4);while(a-- >0)t.push(ah(e));return t}function ih(e,r){var t=[];e.l+=4;var a=e.read_shift(4);while(a-- >0)t.push(e.read_shift(0,"lpp4"));return t}function sh(e,r){var t={};var a=e.read_shift(4);var n=e.l+a-4;e.l+=4;t.id=e.read_shift(0,"lpp4");t.name=e.read_shift(0,"lpp4");t.R=rh(e,4);t.U=rh(e,4);t.W=rh(e,4);return t}function fh(e,r){var t=sh(e);t.ename=e.read_shift(0,"8lpp4");t.blksz=e.read_shift(4);t.cmode=e.read_shift(4);if(e.read_shift(4)!=4)throw new Error("Bad !Primary record");return t}function oh(e,r){var t=e.l+r;var a={};a.Flags=e.read_shift(4)&63;e.l+=4;a.AlgID=e.read_shift(4);var n=false;switch(a.AlgID){case 26126:;case 26127:;case 26128:n=a.Flags==36;break;case 26625:n=a.Flags==4;break;case 0:n=a.Flags==16||a.Flags==4||a.Flags==36;break;default:throw"Unrecognized encryption algorithm: "+a.AlgID;}if(!n)throw new Error("Encryption Flags/AlgID mismatch");a.AlgIDHash=e.read_shift(4);a.KeySize=e.read_shift(4);a.ProviderType=e.read_shift(4);e.l+=8;a.CSPName=e.read_shift(t-e.l>>1,"utf16le").slice(0,-1);e.l=t;return a}function lh(e,r){var t={};e.l+=4;t.Salt=e.slice(e.l,e.l+16);e.l+=16;t.Verifier=e.slice(e.l,e.l+16);e.l+=16;var a=e.read_shift(4);t.VerifierHash=e.slice(e.l,e.l+a);e.l+=a;return t}function ch(e,r){var t=rh(e);switch(t.Minor){case 2:return uh(e,t);case 3:return hh(e,t);case 4:return dh(e,t);}throw new Error("ECMA-376 Encryped file unrecognized Version: "+t.Minor)}function uh(e,r){var t=e.read_shift(4);if((t&63)!=36)throw new Error("EncryptionInfo mismatch");var a=e.read_shift(4);var n=e.l+a;var i=oh(e,a);var s=lh(e,e.length-e.l);return{t:"Std",h:i,v:s}}function hh(e,r){throw new Error("File is password-protected: ECMA-376 Extensible")}function dh(e,r){throw new Error("File is password-protected: ECMA-376 Agile")}function vh(e,r){var t={};var a=t.EncryptionVersionInfo=rh(e,4);r-=4;if(a.Minor!=2)throw new Error("unrecognized minor version code: "+a.Minor);if(a.Major>4||a.Major<2)throw new Error("unrecognized major version code: "+a.Major);t.Flags=e.read_shift(4);r-=4;var n=e.read_shift(4);r-=4;t.EncryptionHeader=oh(e,n);r-=n;t.EncryptionVerifier=lh(e,r);return t}function ph(e,r){var t={};var a=t.EncryptionVersionInfo=rh(e,4);r-=4;if(a.Major!=1||a.Minor!=1)throw"unrecognized version code "+a.Major+" : "+a.Minor;t.Salt=e.read_shift(16);t.EncryptedVerifier=e.read_shift(16);t.EncryptedVerifierHash=e.read_shift(16);return t}function mh(e){var r=0,t;var a=eh(e);var n=a.length+1,i,s;var f,o,l;t=v(n);t[0]=a.length;for(i=1;i!=n;++i)t[i]=a[i-1];for(i=n-1;i>=0;--i){s=t[i];f=(r&16384)===0?0:1;o=r<<1&32767;l=f|o;r=l^s}return r^52811}var bh=function(){var e=[187,255,255,186,255,255,185,128,0,190,15,0,191,15,0];var r=[57840,7439,52380,33984,4364,3600,61902,12606,6258,57657,54287,34041,10252,43370,20163];var t=[44796,19929,39858,10053,20106,40212,10761,31585,63170,64933,60267,50935,40399,11199,17763,35526,1453,2906,5812,11624,23248,885,1770,3540,7080,14160,28320,56640,55369,41139,20807,41614,21821,43642,17621,28485,56970,44341,19019,38038,14605,29210,60195,50791,40175,10751,21502,43004,24537,18387,36774,3949,7898,15796,31592,63184,47201,24803,49606,37805,14203,28406,56812,17824,35648,1697,3394,6788,13576,27152,43601,17539,35078,557,1114,2228,4456,30388,60776,51953,34243,7079,14158,28316,14128,28256,56512,43425,17251,34502,7597,13105,26210,52420,35241,883,1766,3532,4129,8258,16516,33032,4657,9314,18628];var a=function(e){return(e/2|e*128)&255};var n=function(e,r){return a(e^r)};var i=function(e){var a=r[e.length-1];var n=104;for(var i=e.length-1;i>=0;--i){var s=e[i];for(var f=0;f!=7;++f){if(s&64)a^=t[n];s*=2;--n}}return a};return function(r){var t=eh(r);var a=i(t);var s=t.length;var f=v(16);for(var o=0;o!=16;++o)f[o]=0;var l,c,u;if((s&1)===1){l=a>>8;f[s]=n(e[0],l);--s;l=a&255;c=t[t.length-1];f[s]=n(c,l)}while(s>0){--s;l=a>>8;f[s]=n(t[s],l);--s;l=a&255;f[s]=n(t[s],l)}s=15;u=15-t.length;while(u>0){l=a>>8;f[s]=n(e[u],l);--s;--u;l=a&255;f[s]=n(t[s],l);--s;--u}return f}}();var gh=function(e,r,t,a,n){if(!n)n=r;if(!a)a=bh(e);var i,s;for(i=0;i!=r.length;++i){s=r[i];s^=a[t];s=(s>>5|s<<3)&255;n[i]=s;++t}return[n,t,a]};var Eh=function(e){var r=0,t=bh(e);return function(e){var a=gh("",e,r,t);r=a[1];return a[0]}};function kh(e,r,t,a){var n={key:nn(e),verificationBytes:nn(e)};if(t.password)n.verifier=mh(t.password);a.valid=n.verificationBytes===n.verifier;if(a.valid)a.insitu_decrypt=Eh(t.password);return n}function Sh(e,r,t){var a=t||{};a.Info=e.read_shift(2);e.l-=2;if(a.Info===1)a.Data=ph(e,r);else a.Data=vh(e,r);return a}function wh(e,r,t){var a={Type:t.biff>=8?e.read_shift(2):0};if(a.Type)Sh(e,r-2,a);else kh(e,r-2,t,a);return a}function Bh(e){var r=e.substr(e[0]==="#"?1:0,6);return[parseInt(r.substr(0,2),16),parseInt(r.substr(2,2),16),parseInt(r.substr(4,2),16)]}function Ch(e){for(var r=0,t=1;r!=3;++r)t=t*256+(e[r]>255?255:e[r]<0?0:e[r]);return t.toString(16).toUpperCase().substr(1)}function _h(e){var r=e[0]/255,t=e[1]/255,a=e[2]/255;var n=Math.max(r,t,a),i=Math.min(r,t,a),s=n-i;if(s===0)return[0,0,r];var f=0,o=0,l=n+i;o=s/(l>1?2-l:l);switch(n){case r:f=((t-a)/s+6)%6;break;case t:f=(a-r)/s+2;break;case a:f=(r-t)/s+4;break;}return[f/6,o,l/2]}function Th(e){var r=e[0],t=e[1],a=e[2];var n=t*2*(a<.5?a:1-a),i=a-n/2;var s=[i,i,i],f=6*r;var o;if(t!==0)switch(f|0){case 0:;case 6:o=n*f;s[0]+=n;s[1]+=o;break;case 1:o=n*(2-f);s[0]+=o;s[1]+=n;break;case 2:o=n*(f-2);s[1]+=n;s[2]+=o;break;case 3:o=n*(4-f);s[1]+=o;s[2]+=n;break;case 4:o=n*(f-4);s[2]+=n;s[0]+=o;break;case 5:o=n*(6-f);s[2]+=o;s[0]+=n;break;}for(var l=0;l!=3;++l)s[l]=Math.round(s[l]*255);return s}function xh(e,r){if(r===0)return e;var t=_h(Bh(e));if(r<0)t[2]=t[2]*(1+r);else t[2]=1-(1-t[2])*(1-r);return Ch(Th(t))}var Ih=6,Ah=15,yh=1,Rh=Ih;function Dh(e){return Math.floor((e+Math.round(128/Rh)/256)*Rh)}function Oh(e){return Math.floor((e-5)/Rh*100+.5)/100}function Fh(e){return Math.round((e*Rh+5)/Rh*256)/256}function Ph(e){return((e-5)/Rh*100+.5)/100}function Nh(e){return(e*Rh+5)/Rh*256/256}function Lh(e){return Fh(Oh(Dh(e)))}function Mh(e){var r=Math.abs(e-Lh(e)),t=Rh;if(r>.005)for(Rh=yh;Rh.5)t--;if(Math.abs(t)":;case"":break;case"":;case"":n={};if(t.diagonalUp){n.diagonalUp=t.diagonalUp}if(t.diagonalDown){n.diagonalDown=t.diagonalDown}r.Borders.push(n);break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":;case"":break;case"":break;case"":;case"":break;case"":break;case"":;case"":break;case"":break;case"":;case"":break;case"":break;case"":;case"":break;case"":break;case"":break;case"":;case"":break;default:if(a&&a.WTF)throw new Error("unrecognized "+t[0]+" in borders");}})}function Kh(e,r,t,a){r.Fills=[];var n={};e[0].match(ae).forEach(function(e){var t=se(e);switch(t[0]){case"":;case"":break;case"":;case"":r.Fills.push(n);n={};break;case"":break;case"":r.Fills.push(n);n={};break;case"":if(t.patternType)n.patternType=t.patternType;break;case"":;case"":break;case"":;case"":break;case"":;case"":break;case"":break;case"":break;case"":break;case"":break;default:if(a&&a.WTF)throw new Error("unrecognized "+t[0]+" in fills");}})}function Yh(e,r,t,a){r.Fonts=[];var n={};e[0].match(ae).forEach(function(e){var i=se(e);switch(i[0]){case"":;case"":break;case"":break;case"":;case"":r.Fonts.push(n);n={};break;case"":;case"":break;case"":n.bold=1;break;case"":n.italic=1;break;case"":n.underline=1;break;case"":n.strike=1;break;case"":n.outline=1;break;case"":n.shadow=1;break;case"":n.condense=1;break;case"":n.extend=1;break;case"":;case"":break;case"":;case"":break;case"":;case"":break;case"":;case"":break;case"":;case"":break;default:if(a&&a.WTF)throw new Error("unrecognized "+i[0]+" in fonts");}})}function $h(e,r,t){r.NumberFmt=[];var a=I(E._table);for(var n=0;n":;case"":;case"":break;case"0){if(o>392){for(o=392;o>60;--o)if(r.NumberFmt[o]==null)break;r.NumberFmt[o]=f}E.load(f,o)}}break;case"":break;default:if(t.WTF)throw new Error("unrecognized "+s[0]+" in numFmts");}}}function Zh(e,r){var t=[""];[[5,8],[23,26],[41,44],[50,392]].forEach(function(r){for(var a=r[0];a<=r[1];++a)if(e[a]!=null)t[t.length]=De("numFmt",null,{numFmtId:a,formatCode:de(e[a])})});if(t.length===1)return"";t[t.length]="";t[0]=De("numFmts",null,{count:t.length-2}).replace("/>",">");return t.join("")}var Qh=["numFmtId","fillId","fontId","borderId","xfId"];var Jh=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"];function qh(e,r,t){r.CellXf=[];var a;e[0].match(ae).forEach(function(e){var n=se(e),i=0;switch(n[0]){case"":;case"":;case"":break;case"":a=n;delete a[0];for(i=0;i392){for(i=392;i>60;--i)if(r.NumberFmt[a.numFmtId]==r.NumberFmt[i]){a.numFmtId=i;break}}r.CellXf.push(a);break;case"":break;case"":var s={};if(n.vertical)s.vertical=n.vertical;if(n.horizontal)s.horizontal=n.horizontal;if(n.textRotation!=null)s.textRotation=n.textRotation;if(n.indent)s.indent=n.indent;if(n.wrapText)s.wrapText=n.wrapText;a.alignment=s;break;case"":break;case"":;case"":break;case"":break;case"";if(r.length===2)return"";r[0]=De("cellXfs",null,{count:r.length-2}).replace("/>",">");return r.join("")}var rd=function Qk(){var e=/]*)>[\S\s]*?<\/numFmts>/;var r=/]*)>[\S\s]*?<\/cellXfs>/;var t=/]*)>[\S\s]*?<\/fills>/;var a=/]*)>[\S\s]*?<\/fonts>/;var n=/]*)>[\S\s]*?<\/borders>/;return function i(s,f,o){var l={};if(!s)return l;s=s.replace(//gm,"").replace(//gm,"");var c;if(c=s.match(e))$h(c,l,o);if(c=s.match(a))Yh(c,l,f,o);if(c=s.match(t))Kh(c,l,f,o);if(c=s.match(n))jh(c,l,f,o);if(c=s.match(r))qh(c,l,o);return l}}();var td=De("styleSheet",null,{xmlns:Ne.main[0],"xmlns:vt":Ne.vt});ia.STY="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles";function ad(e,r){var t=[Pe,td],a;if(e.SSF&&(a=Zh(e.SSF))!=null)t[t.length]=a;t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';if(a=ed(r.cellXfs))t[t.length]=a;t[t.length]='';t[t.length]='';t[t.length]='';if(t.length>2){t[t.length]="";t[1]=t[1].replace("/>",">")}return t.join("")}function nd(e,r){var t=e.read_shift(2);var a=qr(e,r-2);return[t,a]}function id(e,r,t){if(!t)t=wr(6+4*r.length);t.write_shift(2,e);et(r,t);return t.length>t.l?t.slice(0,t.l):t}function sd(e,r,t){var a={};a.sz=e.read_shift(2)/20;var n=At(e,2,t);if(n.fCondense)a.condense=1;if(n.fExtend)a.extend=1;if(n.fShadow)a.shadow=1;if(n.fOutline)a.outline=1;if(n.fStrikeout)a.strike=1;if(n.fItalic)a.italic=1;var i=e.read_shift(2);if(i===700)a.bold=1;switch(e.read_shift(2)){case 1:a.vertAlign="superscript";break;case 2:a.vertAlign="subscript";break;}var s=e.read_shift(1);if(s!=0)a.underline=s;var f=e.read_shift(1);if(f>0)a.family=f;var o=e.read_shift(1);if(o>0)a.charset=o;e.l++;a.color=xt(e,8);switch(e.read_shift(1)){case 1:a.scheme="major";break;case 2:a.scheme="minor";break;}a.name=qr(e,r-21);return a}function fd(e,r){if(!r)r=wr(25+4*32);r.write_shift(2,e.sz*20);yt(e,r);r.write_shift(2,e.bold?700:400);var t=0;if(e.vertAlign=="superscript")t=1;else if(e.vertAlign=="subscript")t=2;r.write_shift(2,t);r.write_shift(1,e.underline||0);r.write_shift(1,e.family||0);r.write_shift(1,e.charset||0);r.write_shift(1,0);It(e.color,r);var a=0;if(e.scheme=="major")a=1;if(e.scheme=="minor")a=2;r.write_shift(1,a);et(e.name,r);return r.length>r.l?r.slice(0,r.l):r}var od=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];var ld=y(od);function cd(e,r){if(!r)r=wr(4*3+8*7+16*1);var t=ld[e.patternType];if(t==null)t=40;r.write_shift(4,t);var a=0;if(t!=40){It({auto:1},r);It({auto:1},r);for(;a<12;++a)r.write_shift(4,0)}else{for(;a<4;++a)r.write_shift(4,0);for(;a<12;++a)r.write_shift(4,0)}return r.length>r.l?r.slice(0,r.l):r}function ud(e,r){var t=e.read_shift(2);var a=e.read_shift(2);Er(e,r-4);return{ixfe:t,numFmtId:a}}function hd(e,r,t){if(!t)t=wr(16);t.write_shift(2,r||0);t.write_shift(2,e.numFmtId||0);t.write_shift(2,0);t.write_shift(2,0);t.write_shift(2,0);t.write_shift(1,0);t.write_shift(1,0);t.write_shift(1,0);t.write_shift(1,0);t.write_shift(1,0);t.write_shift(1,0);return t}function dd(e,r){if(!r)r=wr(10);r.write_shift(1,0);r.write_shift(1,0);r.write_shift(4,0);r.write_shift(4,0);return r}function vd(e,r){if(!r)r=wr(51);r.write_shift(1,0);dd(null,r);dd(null,r);dd(null,r);dd(null,r);dd(null,r);return r.length>r.l?r.slice(0,r.l):r}function pd(e,r){if(!r)r=wr(12+4*10);r.write_shift(4,e.xfId);r.write_shift(2,1);r.write_shift(1,+e.builtinId);r.write_shift(1,0);ht(e.name||"",r);return r.length>r.l?r.slice(0,r.l):r}function md(e,r,t){var a=wr(4+256*2*4);a.write_shift(4,e);ht(r,a);ht(t,a);return a.length>a.l?a.slice(0,a.l):a}function bd(e,r,t){var a={};a.NumberFmt=[];for(var n in E._table)a.NumberFmt[n]=E._table[n];a.CellXf=[];a.Fonts=[];var i=[];var s=false;Br(e,function f(e,n,o){switch(o){case 44:a.NumberFmt[e[0]]=e[1];E.load(e[1],e[0]);break;case 43:a.Fonts.push(e);if(e.color.theme!=null&&r&&r.themeElements&&r.themeElements.clrScheme){e.color.rgb=xh(r.themeElements.clrScheme[e.color.theme].rgb,e.color.tint||0)}break;case 1025:break;case 45:break;case 46:break;case 47:if(i[i.length-1]=="BrtBeginCellXFs"){a.CellXf.push(e)}break;case 48:;case 507:;case 572:;case 475:break;case 1171:;case 2102:;case 1130:;case 512:;case 2095:break;case 35:s=true;break;case 36:s=false;break;case 37:i.push(n);break;case 38:i.pop();break;default:if((n||"").indexOf("Begin")>0)i.push(n);else if((n||"").indexOf("End")>0)i.pop();else if(!s||t.WTF)throw new Error("Unexpected record "+o+" "+n);}});return a}function gd(e,r){if(!r)return;var t=0;[[5,8],[23,26],[41,44],[50,392]].forEach(function(e){for(var a=e[0];a<=e[1];++a)if(r[a]!=null)++t});if(t==0)return;_r(e,"BrtBeginFmts",Jr(t));[[5,8],[23,26],[41,44],[50,392]].forEach(function(t){for(var a=t[0];a<=t[1];++a)if(r[a]!=null)_r(e,"BrtFmt",id(a,r[a]))});_r(e,"BrtEndFmts")}function Ed(e,r){var t=1;if(t==0)return;_r(e,"BrtBeginFonts",Jr(t));_r(e,"BrtFont",fd({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}));_r(e,"BrtEndFonts")}function kd(e,r){var t=2;if(t==0)return;_r(e,"BrtBeginFills",Jr(t));_r(e,"BrtFill",cd({patternType:"none"}));_r(e,"BrtFill",cd({patternType:"gray125"}));_r(e,"BrtEndFills")}function Sd(e,r){var t=1;if(t==0)return;_r(e,"BrtBeginBorders",Jr(t));_r(e,"BrtBorder",vd({}));_r(e,"BrtEndBorders")}function wd(e,r){var t=1;_r(e,"BrtBeginCellStyleXFs",Jr(t));_r(e,"BrtXF",hd({numFmtId:0,fontId:0,fillId:0,borderId:0},65535));_r(e,"BrtEndCellStyleXFs")}function Bd(e,r){_r(e,"BrtBeginCellXFs",Jr(r.length));r.forEach(function(r){_r(e,"BrtXF",hd(r,0))});_r(e,"BrtEndCellXFs")}function Cd(e,r){var t=1;_r(e,"BrtBeginStyles",Jr(1));_r(e,"BrtStyle",pd({xfId:0,builtinId:0,name:"Normal"}));_r(e,"BrtEndStyles")}function _d(e,r){var t=0;_r(e,"BrtBeginDXFs",Jr(t));_r(e,"BrtEndDXFs")}function Td(e,r){var t=0;_r(e,"BrtBeginTableStyles",md(t,"TableStyleMedium9","PivotStyleMedium4"));_r(e,"BrtEndTableStyles")}function xd(e,r){return}function Id(e,r){var t=Cr();_r(t,"BrtBeginStyleSheet");gd(t,e.SSF);Ed(t,e);kd(t,e);Sd(t,e);wd(t,e);Bd(t,r.cellXfs);Cd(t,e);_d(t,e);Td(t,e);xd(t,e);_r(t,"BrtEndStyleSheet");return t.end()}ia.THEME="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme";function Ad(e,r,t){r.themeElements.clrScheme=[];var a={};(e[0].match(ae)||[]).forEach(function(e){var n=se(e);switch(n[0]){case"":break;case"":;case"":;case"":;case"":;case"":;case"":;case"":;case"":;case"":;case"":;case"":;case"":;case"":;case"":;case"":;case"":;case"":;case"":;case"":;case"":;case"":;case"":;case"":;case"":if(n[0].charAt(1)==="/"){r.themeElements.clrScheme.push(a);a={}}else{a.name=n[0].substring(3,n[0].length-1)}break;default:if(t&&t.WTF)throw new Error("Unrecognized "+n[0]+" in clrScheme");}})}function yd(e,r,t){}function Rd(e,r,t){}var Dd=/]*)>[\s\S]*<\/a:clrScheme>/;var Od=/]*)>[\s\S]*<\/a:fontScheme>/;var Fd=/]*)>[\s\S]*<\/a:fmtScheme>/;function Pd(e,r,t){r.themeElements={};var a;[["clrScheme",Dd,Ad],["fontScheme",Od,yd],["fmtScheme",Fd,Rd]].forEach(function(n){if(!(a=e.match(n[1])))throw new Error(n[0]+" not found in themeElements");n[2](a,r,t)})}var Nd=/]*)>[\s\S]*<\/a:themeElements>/;function Ld(e,r){if(!e||e.length===0)return Ld(Md());var t;var a={};if(!(t=e.match(Nd)))throw new Error("themeElements not found in theme");Pd(t[0],a,r);return a}function Md(e,r){if(r&&r.themeXLSX)return r.themeXLSX;var t=[Pe];t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]=''; -t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]="";return t.join("")}function Ud(e,r,t){var a=e.read_shift(4);if(a===124226)return;e.l+=r-4}function Hd(e,r){return e.read_shift(4)}function Wd(e,r){var t={};t.xclrType=e.read_shift(2);t.nTintShade=e.read_shift(2);switch(t.xclrType){case 0:e.l+=4;break;case 1:t.xclrValue=Vd(e,4);break;case 2:t.xclrValue=kn(e,4);break;case 3:t.xclrValue=Hd(e,4);break;case 4:e.l+=4;break;}e.l+=8;return t}function Vd(e,r){return Er(e,r)}function zd(e,r){return Er(e,r)}function Xd(e,r){var t=e.read_shift(2);var a=e.read_shift(2);var n=[t];switch(t){case 4:;case 5:;case 7:;case 8:;case 9:;case 10:;case 11:;case 13:n[1]=Wd(e,a);break;case 6:n[1]=zd(e,a);break;case 14:;case 15:n[1]=e.read_shift(a===5?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+t+" "+a);}return n}function Gd(e,r){var t=e.l+r;e.l+=2;var a=e.read_shift(2);e.l+=2;var n=e.read_shift(2);var i=[];while(n-- >0)i.push(Xd(e,t-e.l));return{ixfe:a,ext:i}}function jd(e,r){r.forEach(function(e){switch(e[0]){case 4:break;case 5:break;case 6:break;case 7:break;case 8:break;case 9:break;case 10:break;case 11:break;case 13:break;case 14:break;case 15:break;}})}function Kd(e,r){var t=[];if(!e)return t;var a=0,n=1;(e.match(ae)||[]).forEach(function(e){var r=se(e);switch(r[0]){case"":;case"":break;case"0){}else if((i||"").indexOf("End")>0){}else if(!a||r.WTF)throw new Error("Unexpected record "+s+" "+i);}});return t}function Qd(e,r){}ia.IMG="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image";ia.DRAW="http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing";function Jd(e,r){if(!e)return"??";var t=(e.match(/]*r:id="([^"]*)"/)||["",""])[1];return r["!id"][t].Target}var qd=1024;function ev(e,r){var t=[21600,21600];var a=["m0,0l0",t[1],t[0],t[1],t[0],"0xe"].join(",");var n=[De("xml",null,{"xmlns:v":Le.v,"xmlns:o":Le.o,"xmlns:x":Le.x,"xmlns:mv":Le.mv}).replace(/\/>/,">"),De("o:shapelayout",De("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"}),De("v:shapetype",[De("v:stroke",null,{joinstyle:"miter"}),De("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:t.join(","),path:a})];while(qd",De("v:fill",De("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}),{color2:"#BEFF82",angle:"-180",type:"gradient"}),De("v:shadow",null,{on:"t",obscured:"t"}),De("v:path",null,{"o:connecttype":"none"}),'
','',"","",ye("x:Anchor",[e.c,0,e.r,0,e.c+3,100,e.r+5,100].join(",")),ye("x:AutoFill","False"),ye("x:Row",String(e.r)),ye("x:Column",String(e.c)),"","",""])});n.push("");return n.join("")}ia.CMNT="http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments";function rv(e,r,t,a,n){for(var i=0;i!=r.length;++i){var s=r[i];var f=Rg(Q(e,s.replace(/^\//,""),true),s,n);if(!f||!f.length)continue;var o=I(t);for(var l=0;l!=o.length;++l){var c=o[l];var u=a[c];if(u){var h=u[s];if(h)tv(c,t[c],f)}}}}function tv(e,r,t){var a=Array.isArray(r);var n,i;t.forEach(function(e){if(a){i=Wr(e.ref);if(!r[i.r])r[i.r]=[];n=r[i.r][i.c]}else n=r[e.ref];if(!n){n={};if(a)r[i.r][i.c]=n;else r[e.ref]=n;var t=Kr(r["!ref"]||"BDWGO1000001:A1");var s=Wr(e.ref);if(t.s.r>s.r)t.s.r=s.r;if(t.e.rs.c)t.s.c=s.c;if(t.e.c/))return[];var t=[];var a=[];var n=e.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/);if(n&&n[1])n[1].split(/<\/\w*:?author>/).forEach(function(e){if(e===""||e.trim()==="")return;var r=e.match(/<(?:\w+:)?author[^>]*>(.*)/);if(r)t.push(r[1])});var i=e.match(/<(?:\w+:)?commentList>([\s\S]*)<\/(?:\w+:)?commentList>/);if(i&&i[1])i[1].split(/<\/\w*:?comment>/).forEach(function(e,n){if(e===""||e.trim()==="")return;var i=e.match(/<(?:\w+:)?comment[^>]*>/);if(!i)return;var s=se(i[0]);var f={author:s.authorId&&t[s.authorId]?t[s.authorId]:"sheetjsghost",ref:s.ref,guid:s.guid};var o=Wr(s.ref);if(r.sheetRows&&r.sheetRows<=o.r)return;var l=e.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/);var c=!!l&&!!l[1]&&Vu(l[1])||{r:"",t:"",h:""};f.r=c.r;if(c.r=="")c.t=c.h="";f.t=c.t.replace(/\r\n/g,"\n").replace(/\r/g,"\n");if(r.cellHTML)f.h=c.h;a.push(f)});return a}var nv=De("comments",null,{xmlns:Ne.main[0]});function iv(e,r){var t=[Pe,nv];var a=[];t.push("");e.map(function(e){return e[1]}).forEach(function(e){e.map(function(e){return de(e.a)}).forEach(function(e){if(a.indexOf(e)>-1)return;a.push(e);t.push(""+e+"")})});t.push("");t.push("");e.forEach(function(e){e[1].forEach(function(r){t.push('');t.push(ye("t",r.t==null?"":r.t));t.push("")})});t.push("");if(t.length>2){t[t.length]="";t[1]=t[1].replace("/>",">")}return t.join("")}function sv(e,r){var t={};t.iauthor=e.read_shift(4);var a=St(e,16);t.rfx=a.s;t.ref=Vr(a.s);e.l+=16;return t}function fv(e,r){if(r==null)r=wr(36);r.write_shift(4,e[1].iauthor);wt(e[0],r);r.write_shift(4,0);r.write_shift(4,0);r.write_shift(4,0);r.write_shift(4,0);return r}var ov=qr;function lv(e){return et(e.substr(0,54))}function cv(e,r){var t=[];var a=[];var n={};var i=false;Br(e,function s(e,f,o){switch(o){case 632:a.push(e);break;case 635:n=e;break;case 637:n.t=e.t;n.h=e.h;n.r=e.r;break;case 636:n.author=a[n.iauthor];delete n.iauthor;if(r.sheetRows&&r.sheetRows<=n.rfx.r)break;if(!n.t)n.t="";delete n.rfx;t.push(n);break;case 35:i=true;break;case 36:i=false;break;case 37:break;case 38:break;default:if((f||"").indexOf("Begin")>0){}else if((f||"").indexOf("End")>0){}else if(!i||r.WTF)throw new Error("Unexpected record "+o+" "+f);}});return t}function uv(e,r){var t=Cr();var a=[];_r(t,"BrtBeginComments");{_r(t,"BrtBeginCommentAuthors");e.forEach(function(e){e[1].forEach(function(e){if(a.indexOf(e.a)>-1)return;a.push(e.a.substr(0,54));_r(t,"BrtCommentAuthor",lv(e.a))})});_r(t,"BrtEndCommentAuthors")}{_r(t,"BrtBeginCommentList");e.forEach(function(e){e[1].forEach(function(r){r.iauthor=a.indexOf(r.a);var n={s:Wr(e[0]),e:Wr(e[0])};_r(t,"BrtBeginComment",fv([n,r]));if(r.t&&r.t.length>0)_r(t,"BrtCommentText",st(r));_r(t,"BrtEndComment");delete r.iauthor})});_r(t,"BrtEndCommentList")}_r(t,"BrtEndComments");return t.end()}ia.DS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet";ia.MS="http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet";function hv(e,r,t,a,n,i){return{"!type":"dialog"}}function dv(e,r,t,a,n,i){return{"!type":"dialog"}}function vv(e,r,t,a,n,i){return{"!type":"macro"}}function pv(e,r,t,a,n,i){return{"!type":"macro"}}var mv=function(){var e=/(^|[^A-Za-z])R(\[?)(-?\d+|)\]?C(\[?)(-?\d+|)\]?/g;var r={r:0,c:0};function t(e,t,a,n,i,s){var f=n.length>0?parseInt(n,10)|0:0,o=s.length>0?parseInt(s,10)|0:0;if(o<0&&i.length===0)o=0;var l=false,c=false;if(i.length>0||s.length==0)l=true;if(l)o+=r.c;else--o;if(a.length>0||n.length==0)c=true;if(c)f+=r.r;else--f;return t+(l?"":"$")+Lr(o)+(c?"":"$")+Or(f)}return function a(n,i){r=i;return n.replace(e,t)}}();var bv=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)([1-9]\d{0,5}|10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6])(?![_.\(A-Za-z0-9])/g;var gv=function(){return function e(r,t){return r.replace(bv,function(e,r,a,n,i,s,f,o){var l=Nr(n)-t.c;var c=Dr(s)-t.r;return r+"R"+(c==0?"":"["+c+"]")+"C"+(l==0?"":"["+l+"]")})}}();function Ev(e,r){return e.replace(bv,function(e,t,a,n,i,s,f,o){return t+(a=="$"?a+n:Lr(Nr(n)+r.c))+(i=="$"?i+s:Or(Dr(s)+r.r))})}function kv(e,r,t){var a=Gr(r),n=a.s,i=Wr(t);var s={r:i.r-n.r,c:i.c-n.c};return Ev(e,s)}function Sv(e){return function(r,t){r.l+=e;return}}function wv(e){e.l+=1;return}function Bv(e,r){var t=e.read_shift(r==1?1:2);return[t&16383,t>>14&1,t>>15&1]}function Cv(e,r,t){var a=2;if(t){if(t.biff>=2&&t.biff<=5)return _v(e,r,t);else if(t.biff==12)a=4}var n=e.read_shift(a),i=e.read_shift(a);var s=Bv(e,2);var f=Bv(e,2);return{s:{r:n,c:s[0],cRel:s[1],rRel:s[2]},e:{r:i,c:f[0],cRel:f[1],rRel:f[2]}}}function _v(e){var r=Bv(e,2),t=Bv(e,2);var a=e.read_shift(1);var n=e.read_shift(1);return{s:{r:r[0],c:a,cRel:r[1],rRel:r[2]},e:{r:t[0],c:n,cRel:t[1],rRel:t[2]}}}function Tv(e,r){var t=e.read_shift(r==12?4:2),a=e.read_shift(r==12?4:2);var n=Bv(e,2);var i=Bv(e,2);return{s:{r:t,c:n[0],cRel:n[1],rRel:n[2]},e:{r:a,c:i[0],cRel:i[1],rRel:i[2]}}}function xv(e,r,t){if(t&&t.biff>=2&&t.biff<=5)return Iv(e,r,t);var a=e.read_shift(t&&t.biff==12?4:2);var n=Bv(e,2);return{r:a,c:n[0],cRel:n[1],rRel:n[2]}}function Iv(e,r,t){var a=Bv(e,2);var n=e.read_shift(1);return{r:a[0],c:n,cRel:a[1],rRel:a[2]}}function Av(e,r,t){var a=t&&t.biff?t.biff:8;if(a>=2&&a<=5)return yv(e,r,t);var n=e.read_shift(a>=12?4:2);var i=e.read_shift(2);var s=(i&32768)>>15,f=(i&16384)>>14;i&=16383;if(f==1)while(n>524287)n-=1048576;if(s==1)while(i>8191)i=i-16384;return{r:n,c:i,cRel:s,rRel:f}}function yv(e,r){var t=e.read_shift(2);var a=e.read_shift(1);var n=(t&32768)>>15,i=(t&16384)>>14;t&=16383;if(n==1&&t>=8192)t=t-16384;if(i==1&&a>=128)a=a-256;return{r:t,c:a,cRel:i,rRel:n}}function Rv(e,r,t){var a=(e[e.l++]&96)>>5;var n=Cv(e,t.biff>=2&&t.biff<=5?6:8,t);return[a,n]}function Dv(e,r,t){var a=(e[e.l++]&96)>>5;var n=e.read_shift(2,"i");var i=8;if(t)switch(t.biff){case 5:e.l+=12;i=6;break;case 12:i=12;break;}var s=Cv(e,i,t);return[a,n,s]}function Ov(e,r,t){var a=(e[e.l++]&96)>>5;e.l+=t&&t.biff>8?12:8;return[a]}function Fv(e,r,t){var a=(e[e.l++]&96)>>5;var n=e.read_shift(2);var i=8;if(t)switch(t.biff){case 5:e.l+=12;i=6;break;case 12:i=12;break;}e.l+=i;return[a,n]}function Pv(e,r,t){var a=(e[e.l++]&96)>>5;var n=Tv(e,t&&t.biff>8?12:8,t);return[a,n]}function Nv(e,r,t){var a=(e[e.l++]&96)>>5;e.l+=t.biff==2?6:t.biff==12?14:7;return[a]}function Lv(e,r){var t=e[e.l+1]&1;var a=1;e.l+=4;return[t,a]}function Mv(e,r,t){e.l+=2;var a=e.read_shift(t&&t.biff==2?1:2);var n=[];for(var i=0;i<=a;++i)n.push(e.read_shift(t&&t.biff==2?1:2));return n}function Uv(e,r,t){var a=e[e.l+1]&255?1:0;e.l+=2;return[a,e.read_shift(t&&t.biff==2?1:2)]}function Hv(e,r,t){var a=e[e.l+1]&255?1:0;e.l+=2;return[a,e.read_shift(t&&t.biff==2?1:2)]}function Wv(e,r){var t=e[e.l+1]&255?1:0;e.l+=2;return[t,e.read_shift(2)]}function Vv(e,r,t){var a=e[e.l+1]&255?1:0;e.l+=t&&t.biff==2?3:4;return[a]}function zv(e,r){var t=e.read_shift(1),a=e.read_shift(1);return[t,a]}function Xv(e,r){e.read_shift(2);return zv(e,2)}function Gv(e,r){e.read_shift(2);return zv(e,2)}function jv(e,r,t){var a=e[e.l]&31;var n=(e[e.l]&96)>>5;e.l+=1;var i=xv(e,0,t);return[n,i]}function Kv(e,r,t){var a=(e[e.l]&96)>>5;e.l+=1;var n=Av(e,0,t);return[a,n]}function Yv(e,r,t){var a=(e[e.l]&96)>>5;e.l+=1;var n=e.read_shift(2);var i=xv(e,0,t);return[a,n,i]}function $v(e,r,t){var a=e[e.l]&31;var n=(e[e.l]&96)>>5;e.l+=1;var i=e.read_shift(t&&t.biff<=3?1:2);return[om[i],fm[i],n]}function Zv(e,r,t){e.l++;var a=e.read_shift(1),n=t&&t.biff<=3?[0,e.read_shift(1)]:Qv(e);return[a,(n[0]===0?fm:sm)[n[1]]]}function Qv(e,r){return[e[e.l+1]>>7,e.read_shift(2)&32767]}function Jv(e,r,t){e.l+=t&&t.biff==2?3:4;return}var qv=wv;function ep(e,r,t){e.l++;if(t&&t.biff==12)return[e.read_shift(4,"i"),0];var a=e.read_shift(2);var n=e.read_shift(t&&t.biff==2?1:2);return[a,n]}function rp(e,r){e.l++;return _t[e.read_shift(1)]}function tp(e,r){e.l++;return e.read_shift(2)}function ap(e,r){e.l++;return e.read_shift(1)!==0}function np(e,r){e.l++;return Bt(e,8)}function ip(e,r,t){e.l++;return ln(e,r-1,t)}function sp(e,r){var t=[e.read_shift(1)];if(r==12)switch(t[0]){case 2:t[0]=4;break;case 4:t[0]=16;break;case 0:t[0]=1;break;case 1:t[0]=2;break;}switch(t[0]){case 4:t[1]=an(e,1)?"TRUE":"FALSE";e.l+=7;break;case 16:t[1]=_t[e[e.l]];e.l+=8;break;case 0:e.l+=8;break;case 1:t[1]=Bt(e,8);break;case 2:t[1]=dn(e,0,{biff:r>0&&r<8?2:r});break;}return t}function fp(e,r){var t=e.read_shift(2);var a=[];for(var n=0;n!=t;++n)a.push(An(e,8));return a}function op(e,r,t){var a=0,n=0;if(t.biff==12){a=e.read_shift(4);n=e.read_shift(4)}else{n=1+e.read_shift(1);a=1+e.read_shift(2)}if(t.biff>=2&&t.biff<8){--a;if(--n==0)n=256}for(var i=0,s=[];i!=a&&(s[i]=[]);++i)for(var f=0;f!=n;++f)s[i][f]=sp(e,t.biff);return s}function lp(e,r,t){var a=e.read_shift(1)>>>5&3;var n=!t||t.biff>=8?4:2;var i=e.read_shift(n);switch(t.biff){case 2:e.l+=5;break;case 3:;case 4:e.l+=8;break;case 5:e.l+=12;break;}return[a,0,i]}function cp(e,r,t){if(t.biff==5)return up(e,r,t);var a=e.read_shift(1)>>>5&3;var n=e.read_shift(2);var i=e.read_shift(4);return[a,n,i]}function up(e,r,t){var a=e.read_shift(1)>>>5&3;var n=e.read_shift(2,"i");e.l+=8;var i=e.read_shift(2);e.l+=12;return[a,n,i]}function hp(e,r,t){var a=e.read_shift(1)>>>5&3;e.l+=t&&t.biff==2?3:4;var n=e.read_shift(t&&t.biff==2?1:2);return[a,n]}function dp(e,r,t){var a=e.read_shift(1)>>>5&3;var n=e.read_shift(t&&t.biff==2?1:2);return[a,n]}function vp(e,r,t){var a=e.read_shift(1)>>>5&3;e.l+=4;if(t.biff==12)e.l+=2;return[a]}function pp(e,r,t){var a=(e[e.l++]&96)>>5;var n=e.read_shift(2);var i=4;if(t)switch(t.biff){case 5:throw new Error("PtgRefErr3d -- 5");case 12:i=6;break;}e.l+=i;return[a,n]}var mp=wv;var bp=wv;var gp=wv;var Ep=wv;var kp=wv;var Sp=wv;var wp=wv;var Bp=wv;var Cp=wv;var _p=wv;var Tp=wv;var xp=wv;var Ip=wv;var Ap=wv;var yp=wv;var Rp=wv;var Dp=wv;var Op=wv;var Fp=wv;var Pp=Er;var Np=Er;var Lp=Er;var Mp={1:{n:"PtgExp",f:ep},2:{n:"PtgTbl",f:Lp},3:{n:"PtgAdd",f:mp},4:{n:"PtgSub",f:Rp},5:{n:"PtgMul",f:_p},6:{n:"PtgDiv",f:bp},7:{n:"PtgPower",f:Ap},8:{n:"PtgConcat",f:qv},9:{n:"PtgLt",f:Bp},10:{n:"PtgLe",f:wp},11:{n:"PtgEq",f:gp},12:{n:"PtgGe",f:Ep},13:{n:"PtgGt",f:kp},14:{n:"PtgNe",f:Tp},15:{n:"PtgIsect",f:Sp},16:{n:"PtgUnion",f:Op},17:{n:"PtgRange",f:yp},18:{n:"PtgUplus",f:Fp},19:{n:"PtgUminus",f:Dp},20:{n:"PtgPercent",f:Ip},21:{n:"PtgParen",f:xp},22:{n:"PtgMissArg",f:Cp},23:{n:"PtgStr",f:ip},28:{n:"PtgErr",f:rp},29:{n:"PtgBool",f:ap},30:{n:"PtgInt",f:tp},31:{n:"PtgNum",f:np},32:{n:"PtgArray",f:Nv},33:{n:"PtgFunc",f:$v},34:{n:"PtgFuncVar",f:Zv},35:{n:"PtgName",f:lp},36:{n:"PtgRef",f:jv},37:{n:"PtgArea",f:Rv},38:{n:"PtgMemArea",f:hp},39:{n:"PtgMemErr",f:Pp},40:{n:"PtgMemNoMem",f:Np},41:{n:"PtgMemFunc",f:dp},42:{n:"PtgRefErr",f:vp},43:{n:"PtgAreaErr",f:Ov},44:{n:"PtgRefN",f:Kv},45:{n:"PtgAreaN",f:Pv},57:{n:"PtgNameX",f:cp},58:{n:"PtgRef3d",f:Yv},59:{n:"PtgArea3d",f:Dv},60:{n:"PtgRefErr3d",f:pp},61:{n:"PtgAreaErr3d",f:Fv},255:{}};var Up={64:32,96:32,65:33,97:33,66:34,98:34,67:35,99:35,68:36,100:36,69:37,101:37,70:38,102:38,71:39,103:39,72:40,104:40,73:41,105:41,74:42,106:42,75:43,107:43,76:44,108:44,77:45,109:45,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61};(function(){for(var e in Up)Mp[e]=Mp[Up[e]]})();var Hp={};var Wp={1:{n:"PtgAttrSemi",f:Vv},2:{n:"PtgAttrIf",f:Hv},4:{n:"PtgAttrChoose",f:Mv},8:{n:"PtgAttrGoto",f:Uv},16:{n:"PtgAttrSum",f:Jv},32:{n:"PtgAttrBaxcel",f:Lv},64:{n:"PtgAttrSpace",f:Xv},65:{n:"PtgAttrSpaceSemi",f:Gv},128:{n:"PtgAttrIfError",f:Wv},255:{}};function Vp(e,r,t){var a=e.l+r;var n=wn(e,6);if(t.biff==2)++e.l;var i=zp(e,8);var s=e.read_shift(1);if(t.biff!=2){e.read_shift(1);if(t.biff>=5){var f=e.read_shift(4)}}var o=jp(e,a-e.l,t);return{cell:n,val:i[0],formula:o,shared:s>>3&1,tt:i[1]}}function zp(e){var r;if(sr(e,e.l+6)!==65535)return[Bt(e),"n"];switch(e[e.l]){case 0:e.l+=8;return["String","s"];case 1:r=e[e.l+2]===1;e.l+=8;return[r,"b"];case 2:r=e[e.l+2];e.l+=8;return[r,"e"];case 3:e.l+=8;return["","s"];}return[]}function Xp(e,r,t,a){if(a.biff<8)return Er(e,r);var n=e.l+r;var i=[];for(var s=0;s!==t.length;++s){switch(t[s][0]){case"PtgArray":t[s][1]=op(e,0,a);i.push(t[s][1]);break;case"PtgMemArea":t[s][2]=fp(e,t[s][1]);i.push(t[s][2]);break;case"PtgExp":if(a&&a.biff==12){t[s][1][1]=e.read_shift(4);i.push(t[s][1])}break;default:break;}}r=n-e.l;if(r!==0)i.push(Er(e,r));return i}function Gp(e,r,t,a){var n=e.l+r;var i=$p(e,a,t);var s;if(n!==e.l)s=Xp(e,n-e.l,i,t);return[i,s]}function jp(e,r,t){var a=e.l+r,n=t.biff==2?1:2;var i,s=e.read_shift(n);if(s==65535)return[[],Er(e,r-2)];var f=$p(e,s,t);if(r!==s+n)i=Xp(e,r-s-n,f,t);return[f,i]}function Kp(e,r,t){var a=e.l+r;var n,i=e.read_shift(2);var s=$p(e,i,t);if(i==65535)return[[],Er(e,r-2)];if(r!==i+2)n=Xp(e,a-i-2,s,t);return[s,n]}function Yp(e,r,t,a){var n=e.l+r,i=t.biff==2?1:2;var s,f=e.read_shift(i);if(f==65535)return[[],Er(e,r-2)];var o=$p(e,f,t);if(r!==f+i)s=Xp(e,r-f-i,o,t);return[o,s]}function $p(e,r,t){var a=e.l+r;var n,i,s=[];while(a!=e.l){r=a-e.l;i=e[e.l];n=Mp[i];if(i===24||i===25){i=e[e.l+1];n=(i===24?Hp:Wp)[i]}if(!n||!n.f){Er(e,r)}else{s.push([n.n,n.f(e,r,t)])}}return s}function Zp(e){var r=[];for(var t=0;t=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function Jp(e,r,t){return e.SheetNames[r]}function qp(e,r,t,a,n){var i={s:{c:0,r:0},e:{c:0,r:0}};var s=[],f,o,l,c,u=0,h=0,d,v="";if(!e[0]||!e[0][0])return"";var p=-1,m="";for(var b=0,g=e[0].length;b=0){switch(e[0][p][1][0]){case 0:m=X(" ",e[0][p][1][1]);break;case 1:m=X("\r",e[0][p][1][1]);break;default:m="";if(n.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][p][1][0]);}o=o+m;p=-1}s.push(o+Qp[E[0]]+f);break;case"PtgIsect":f=s.pop();o=s.pop();s.push(o+" "+f);break;case"PtgUnion":f=s.pop();o=s.pop();s.push(o+","+f);break;case"PtgRange":f=s.pop();o=s.pop();s.push(o+":"+f);break;case"PtgAttrChoose":break;case"PtgAttrGoto":break;case"PtgAttrIf":break;case"PtgAttrIfError":break;case"PtgRef":l=E[1][0];c=Tr(E[1][1],i,n);s.push(Ir(c));break;case"PtgRefN":l=E[1][0];c=t?Tr(E[1][1],t,n):E[1][1];s.push(Ir(c));break;case"PtgRef3d":l=E[1][0];u=E[1][1];c=Tr(E[1][2],i,n);v=Jp(a,u,n);var k=v;s.push(v+"!"+Ir(c));break;case"PtgFunc":;case"PtgFuncVar":var S=E[1][0],w=E[1][1];if(!S)S=0;var B=S==0?[]:s.slice(-S);s.length-=S;if(w==="User")w=B.shift();s.push(w+"("+B.join(",")+")");break;case"PtgBool":s.push(E[1]?"TRUE":"FALSE");break;case"PtgInt":s.push(E[1]);break;case"PtgNum":s.push(String(E[1]));break;case"PtgStr":s.push('"'+E[1]+'"');break;case"PtgErr":s.push(E[1]);break;case"PtgAreaN":l=E[1][0];d=xr(E[1][1],i,n);s.push(Ar(d,n));break;case"PtgArea":l=E[1][0];d=xr(E[1][1],i,n);s.push(Ar(d,n));break;case"PtgArea3d":l=E[1][0];u=E[1][1];d=E[1][2];v=a&&a[1]?a[1][u+1]:"**MISSING**";s.push(v+"!"+jr(d));break;case"PtgAttrSum":s.push("SUM("+s.pop()+")");break;case"PtgAttrSemi":break;case"PtgName":h=E[1][2];var C=(a.names||[])[h-1]||(a[0]||[])[h];var _=C?C.Name:"SH33TJSERR7"+String(h);if(_ in lm)_=lm[_];s.push(_);break;case"PtgNameX":var T=E[1][1];h=E[1][2];var x;if(n.biff<=5){if(T<0)T=-T;if(a[T])x=a[T][h]}else{var I=a.SheetNames[T];var A="";if(((a[T]||[])[0]||[])[0]==14849){}else if(((a[T]||[])[0]||[])[0]==1025){if(a[T][h]&&a[T][h].itab>0){A=a.SheetNames[a[T][h].itab-1]+"!"}}else A=a.SheetNames[h-1]+"!";if(a[T]&&a[T][h])A+=a[T][h].Name;else if(a[0]&&a[0][h])A+=a[0][h].Name;else A+="SH33TJSERRX";s.push(A);break}if(!x)x={Name:"SH33TJSERRY"};s.push(x.Name);break;case"PtgParen":var y="(",R=")";if(p>=0){m="";switch(e[0][p][1][0]){case 2:y=X(" ",e[0][p][1][1])+y;break;case 3:y=X("\r",e[0][p][1][1])+y;break;case 4:R=X(" ",e[0][p][1][1])+R;break;case 5:R=X("\r",e[0][p][1][1])+R;break;default:if(n.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][p][1][0]);}p=-1}s.push(y+s.pop()+R);break;case"PtgRefErr":s.push("#REF!");break;case"PtgRefErr3d":s.push("#REF!");break;case"PtgExp":c={c:E[1][1],r:E[1][0]};var D={c:t.c,r:t.r};if(a.sharedf[Vr(c)]){var O=a.sharedf[Vr(c)];s.push(qp(O,i,D,a,n))}else{var F=false;for(f=0;f!=a.arrayf.length;++f){o=a.arrayf[f];if(c.co[0].e.c)continue;if(c.ro[0].e.r)continue;s.push(qp(o[1],i,D,a,n));F=true;break}if(!F)s.push(E[1])}break;case"PtgArray":s.push("{"+Zp(E[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":;case"PtgAttrSpaceSemi":p=b;break;case"PtgTbl":break;case"PtgMemErr":break;case"PtgMissArg":s.push("");break;case"PtgAreaErr":s.push("#REF!");break;case"PtgAreaErr3d":s.push("#REF!");break;case"PtgMemFunc":break;default:throw new Error("Unrecognized Formula Token: "+String(E));}var P=["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"];if(p>=0&&P.indexOf(e[0][b][0])==-1){E=e[0][p];var N=true;switch(E[1][0]){case 4:N=false;case 0:m=X(" ",E[1][1]);break;case 5:N=false;case 1:m=X("\r",E[1][1]);break;default:m="";if(n.WTF)throw new Error("Unexpected PtgAttrSpaceType "+E[1][0]);}s.push((N?m:"")+s.pop()+(N?"":m));p=-1}}if(s.length>1&&n.WTF)throw new Error("bad formula stack");return s[0]}function em(e,r,t){var a=e.l+r;var n=e.read_shift(4);var i=$p(e,n,t);var s=e.read_shift(4);var f=s>0?Xp(e,s,i,t):null;return[i,f]}var rm=em;var tm=em;var am=em;var nm=em;var im={1:"REFERENCE",2:"VALUE",3:"ARRAY"};var sm={0:"BEEP",1:"OPEN",2:"OPEN.LINKS",3:"CLOSE.ALL",4:"SAVE",5:"SAVE.AS",6:"FILE.DELETE",7:"PAGE.SETUP",8:"PRINT",9:"PRINTER.SETUP",10:"QUIT",11:"NEW.WINDOW",12:"ARRANGE.ALL",13:"WINDOW.SIZE",14:"WINDOW.MOVE",15:"FULL",16:"CLOSE",17:"RUN",22:"SET.PRINT.AREA",23:"SET.PRINT.TITLES",24:"SET.PAGE.BREAK",25:"REMOVE.PAGE.BREAK",26:"FONT",27:"DISPLAY",28:"PROTECT.DOCUMENT",29:"PRECISION",30:"A1.R1C1",31:"CALCULATE.NOW",32:"CALCULATION",34:"DATA.FIND",35:"EXTRACT",36:"DATA.DELETE",37:"SET.DATABASE",38:"SET.CRITERIA", -39:"SORT",40:"DATA.SERIES",41:"TABLE",42:"FORMAT.NUMBER",43:"ALIGNMENT",44:"STYLE",45:"BORDER",46:"CELL.PROTECTION",47:"COLUMN.WIDTH",48:"UNDO",49:"CUT",50:"COPY",51:"PASTE",52:"CLEAR",53:"PASTE.SPECIAL",54:"EDIT.DELETE",55:"INSERT",56:"FILL.RIGHT",57:"FILL.DOWN",61:"DEFINE.NAME",62:"CREATE.NAMES",63:"FORMULA.GOTO",64:"FORMULA.FIND",65:"SELECT.LAST.CELL",66:"SHOW.ACTIVE.CELL",67:"GALLERY.AREA",68:"GALLERY.BAR",69:"GALLERY.COLUMN",70:"GALLERY.LINE",71:"GALLERY.PIE",72:"GALLERY.SCATTER",73:"COMBINATION",74:"PREFERRED",75:"ADD.OVERLAY",76:"GRIDLINES",77:"SET.PREFERRED",78:"AXES",79:"LEGEND",80:"ATTACH.TEXT",81:"ADD.ARROW",82:"SELECT.CHART",83:"SELECT.PLOT.AREA",84:"PATTERNS",85:"MAIN.CHART",86:"OVERLAY",87:"SCALE",88:"FORMAT.LEGEND",89:"FORMAT.TEXT",90:"EDIT.REPEAT",91:"PARSE",92:"JUSTIFY",93:"HIDE",94:"UNHIDE",95:"WORKSPACE",96:"FORMULA",97:"FORMULA.FILL",98:"FORMULA.ARRAY",99:"DATA.FIND.NEXT",100:"DATA.FIND.PREV",101:"FORMULA.FIND.NEXT",102:"FORMULA.FIND.PREV",103:"ACTIVATE",104:"ACTIVATE.NEXT",105:"ACTIVATE.PREV",106:"UNLOCKED.NEXT",107:"UNLOCKED.PREV",108:"COPY.PICTURE",109:"SELECT",110:"DELETE.NAME",111:"DELETE.FORMAT",112:"VLINE",113:"HLINE",114:"VPAGE",115:"HPAGE",116:"VSCROLL",117:"HSCROLL",118:"ALERT",119:"NEW",120:"CANCEL.COPY",121:"SHOW.CLIPBOARD",122:"MESSAGE",124:"PASTE.LINK",125:"APP.ACTIVATE",126:"DELETE.ARROW",127:"ROW.HEIGHT",128:"FORMAT.MOVE",129:"FORMAT.SIZE",130:"FORMULA.REPLACE",131:"SEND.KEYS",132:"SELECT.SPECIAL",133:"APPLY.NAMES",134:"REPLACE.FONT",135:"FREEZE.PANES",136:"SHOW.INFO",137:"SPLIT",138:"ON.WINDOW",139:"ON.DATA",140:"DISABLE.INPUT",142:"OUTLINE",143:"LIST.NAMES",144:"FILE.CLOSE",145:"SAVE.WORKBOOK",146:"DATA.FORM",147:"COPY.CHART",148:"ON.TIME",149:"WAIT",150:"FORMAT.FONT",151:"FILL.UP",152:"FILL.LEFT",153:"DELETE.OVERLAY",155:"SHORT.MENUS",159:"SET.UPDATE.STATUS",161:"COLOR.PALETTE",162:"DELETE.STYLE",163:"WINDOW.RESTORE",164:"WINDOW.MAXIMIZE",166:"CHANGE.LINK",167:"CALCULATE.DOCUMENT",168:"ON.KEY",169:"APP.RESTORE",170:"APP.MOVE",171:"APP.SIZE",172:"APP.MINIMIZE",173:"APP.MAXIMIZE",174:"BRING.TO.FRONT",175:"SEND.TO.BACK",185:"MAIN.CHART.TYPE",186:"OVERLAY.CHART.TYPE",187:"SELECT.END",188:"OPEN.MAIL",189:"SEND.MAIL",190:"STANDARD.FONT",191:"CONSOLIDATE",192:"SORT.SPECIAL",193:"GALLERY.3D.AREA",194:"GALLERY.3D.COLUMN",195:"GALLERY.3D.LINE",196:"GALLERY.3D.PIE",197:"VIEW.3D",198:"GOAL.SEEK",199:"WORKGROUP",200:"FILL.GROUP",201:"UPDATE.LINK",202:"PROMOTE",203:"DEMOTE",204:"SHOW.DETAIL",206:"UNGROUP",207:"OBJECT.PROPERTIES",208:"SAVE.NEW.OBJECT",209:"SHARE",210:"SHARE.NAME",211:"DUPLICATE",212:"APPLY.STYLE",213:"ASSIGN.TO.OBJECT",214:"OBJECT.PROTECTION",215:"HIDE.OBJECT",216:"SET.EXTRACT",217:"CREATE.PUBLISHER",218:"SUBSCRIBE.TO",219:"ATTRIBUTES",220:"SHOW.TOOLBAR",222:"PRINT.PREVIEW",223:"EDIT.COLOR",224:"SHOW.LEVELS",225:"FORMAT.MAIN",226:"FORMAT.OVERLAY",227:"ON.RECALC",228:"EDIT.SERIES",229:"DEFINE.STYLE",240:"LINE.PRINT",243:"ENTER.DATA",249:"GALLERY.RADAR",250:"MERGE.STYLES",251:"EDITION.OPTIONS",252:"PASTE.PICTURE",253:"PASTE.PICTURE.LINK",254:"SPELLING",256:"ZOOM",259:"INSERT.OBJECT",260:"WINDOW.MINIMIZE",265:"SOUND.NOTE",266:"SOUND.PLAY",267:"FORMAT.SHAPE",268:"EXTEND.POLYGON",269:"FORMAT.AUTO",272:"GALLERY.3D.BAR",273:"GALLERY.3D.SURFACE",274:"FILL.AUTO",276:"CUSTOMIZE.TOOLBAR",277:"ADD.TOOL",278:"EDIT.OBJECT",279:"ON.DOUBLECLICK",280:"ON.ENTRY",281:"WORKBOOK.ADD",282:"WORKBOOK.MOVE",283:"WORKBOOK.COPY",284:"WORKBOOK.OPTIONS",285:"SAVE.WORKSPACE",288:"CHART.WIZARD",289:"DELETE.TOOL",290:"MOVE.TOOL",291:"WORKBOOK.SELECT",292:"WORKBOOK.ACTIVATE",293:"ASSIGN.TO.TOOL",295:"COPY.TOOL",296:"RESET.TOOL",297:"CONSTRAIN.NUMERIC",298:"PASTE.TOOL",302:"WORKBOOK.NEW",305:"SCENARIO.CELLS",306:"SCENARIO.DELETE",307:"SCENARIO.ADD",308:"SCENARIO.EDIT",309:"SCENARIO.SHOW",310:"SCENARIO.SHOW.NEXT",311:"SCENARIO.SUMMARY",312:"PIVOT.TABLE.WIZARD",313:"PIVOT.FIELD.PROPERTIES",314:"PIVOT.FIELD",315:"PIVOT.ITEM",316:"PIVOT.ADD.FIELDS",318:"OPTIONS.CALCULATION",319:"OPTIONS.EDIT",320:"OPTIONS.VIEW",321:"ADDIN.MANAGER",322:"MENU.EDITOR",323:"ATTACH.TOOLBARS",324:"VBAActivate",325:"OPTIONS.CHART",328:"VBA.INSERT.FILE",330:"VBA.PROCEDURE.DEFINITION",336:"ROUTING.SLIP",338:"ROUTE.DOCUMENT",339:"MAIL.LOGON",342:"INSERT.PICTURE",343:"EDIT.TOOL",344:"GALLERY.DOUGHNUT",350:"CHART.TREND",352:"PIVOT.ITEM.PROPERTIES",354:"WORKBOOK.INSERT",355:"OPTIONS.TRANSITION",356:"OPTIONS.GENERAL",370:"FILTER.ADVANCED",373:"MAIL.ADD.MAILER",374:"MAIL.DELETE.MAILER",375:"MAIL.REPLY",376:"MAIL.REPLY.ALL",377:"MAIL.FORWARD",378:"MAIL.NEXT.LETTER",379:"DATA.LABEL",380:"INSERT.TITLE",381:"FONT.PROPERTIES",382:"MACRO.OPTIONS",383:"WORKBOOK.HIDE",384:"WORKBOOK.UNHIDE",385:"WORKBOOK.DELETE",386:"WORKBOOK.NAME",388:"GALLERY.CUSTOM",390:"ADD.CHART.AUTOFORMAT",391:"DELETE.CHART.AUTOFORMAT",392:"CHART.ADD.DATA",393:"AUTO.OUTLINE",394:"TAB.ORDER",395:"SHOW.DIALOG",396:"SELECT.ALL",397:"UNGROUP.SHEETS",398:"SUBTOTAL.CREATE",399:"SUBTOTAL.REMOVE",400:"RENAME.OBJECT",412:"WORKBOOK.SCROLL",413:"WORKBOOK.NEXT",414:"WORKBOOK.PREV",415:"WORKBOOK.TAB.SPLIT",416:"FULL.SCREEN",417:"WORKBOOK.PROTECT",420:"SCROLLBAR.PROPERTIES",421:"PIVOT.SHOW.PAGES",422:"TEXT.TO.COLUMNS",423:"FORMAT.CHARTTYPE",424:"LINK.FORMAT",425:"TRACER.DISPLAY",430:"TRACER.NAVIGATE",431:"TRACER.CLEAR",432:"TRACER.ERROR",433:"PIVOT.FIELD.GROUP",434:"PIVOT.FIELD.UNGROUP",435:"CHECKBOX.PROPERTIES",436:"LABEL.PROPERTIES",437:"LISTBOX.PROPERTIES",438:"EDITBOX.PROPERTIES",439:"PIVOT.REFRESH",440:"LINK.COMBO",441:"OPEN.TEXT",442:"HIDE.DIALOG",443:"SET.DIALOG.FOCUS",444:"ENABLE.OBJECT",445:"PUSHBUTTON.PROPERTIES",446:"SET.DIALOG.DEFAULT",447:"FILTER",448:"FILTER.SHOW.ALL",449:"CLEAR.OUTLINE",450:"FUNCTION.WIZARD",451:"ADD.LIST.ITEM",452:"SET.LIST.ITEM",453:"REMOVE.LIST.ITEM",454:"SELECT.LIST.ITEM",455:"SET.CONTROL.VALUE",456:"SAVE.COPY.AS",458:"OPTIONS.LISTS.ADD",459:"OPTIONS.LISTS.DELETE",460:"SERIES.AXES",461:"SERIES.X",462:"SERIES.Y",463:"ERRORBAR.X",464:"ERRORBAR.Y",465:"FORMAT.CHART",466:"SERIES.ORDER",467:"MAIL.LOGOFF",468:"CLEAR.ROUTING.SLIP",469:"APP.ACTIVATE.MICROSOFT",470:"MAIL.EDIT.MAILER",471:"ON.SHEET",472:"STANDARD.WIDTH",473:"SCENARIO.MERGE",474:"SUMMARY.INFO",475:"FIND.FILE",476:"ACTIVE.CELL.FONT",477:"ENABLE.TIPWIZARD",478:"VBA.MAKE.ADDIN",480:"INSERTDATATABLE",481:"WORKGROUP.OPTIONS",482:"MAIL.SEND.MAILER",485:"AUTOCORRECT",489:"POST.DOCUMENT",491:"PICKLIST",493:"VIEW.SHOW",494:"VIEW.DEFINE",495:"VIEW.DELETE",509:"SHEET.BACKGROUND",510:"INSERT.MAP.OBJECT",511:"OPTIONS.MENONO",517:"MSOCHECKS",518:"NORMAL",519:"LAYOUT",520:"RM.PRINT.AREA",521:"CLEAR.PRINT.AREA",522:"ADD.PRINT.AREA",523:"MOVE.BRK",545:"HIDECURR.NOTE",546:"HIDEALL.NOTES",547:"DELETE.NOTE",548:"TRAVERSE.NOTES",549:"ACTIVATE.NOTES",620:"PROTECT.REVISIONS",621:"UNPROTECT.REVISIONS",647:"OPTIONS.ME",653:"WEB.PUBLISH",667:"NEWWEBQUERY",673:"PIVOT.TABLE.CHART",753:"OPTIONS.SAVE",755:"OPTIONS.SPELL",808:"HIDEALL.INKANNOTS"};var fm={0:"COUNT",1:"IF",2:"ISNA",3:"ISERROR",4:"SUM",5:"AVERAGE",6:"MIN",7:"MAX",8:"ROW",9:"COLUMN",10:"NA",11:"NPV",12:"STDEV",13:"DOLLAR",14:"FIXED",15:"SIN",16:"COS",17:"TAN",18:"ATAN",19:"PI",20:"SQRT",21:"EXP",22:"LN",23:"LOG10",24:"ABS",25:"INT",26:"SIGN",27:"ROUND",28:"LOOKUP",29:"INDEX",30:"REPT",31:"MID",32:"LEN",33:"VALUE",34:"TRUE",35:"FALSE",36:"AND",37:"OR",38:"NOT",39:"MOD",40:"DCOUNT",41:"DSUM",42:"DAVERAGE",43:"DMIN",44:"DMAX",45:"DSTDEV",46:"VAR",47:"DVAR",48:"TEXT",49:"LINEST",50:"TREND",51:"LOGEST",52:"GROWTH",53:"GOTO",54:"HALT",55:"RETURN",56:"PV",57:"FV",58:"NPER",59:"PMT",60:"RATE",61:"MIRR",62:"IRR",63:"RAND",64:"MATCH",65:"DATE",66:"TIME",67:"DAY",68:"MONTH",69:"YEAR",70:"WEEKDAY",71:"HOUR",72:"MINUTE",73:"SECOND",74:"NOW",75:"AREAS",76:"ROWS",77:"COLUMNS",78:"OFFSET",79:"ABSREF",80:"RELREF",81:"ARGUMENT",82:"SEARCH",83:"TRANSPOSE",84:"ERROR",85:"STEP",86:"TYPE",87:"ECHO",88:"SET.NAME",89:"CALLER",90:"DEREF",91:"WINDOWS",92:"SERIES",93:"DOCUMENTS",94:"ACTIVE.CELL",95:"SELECTION",96:"RESULT",97:"ATAN2",98:"ASIN",99:"ACOS",100:"CHOOSE",101:"HLOOKUP",102:"VLOOKUP",103:"LINKS",104:"INPUT",105:"ISREF",106:"GET.FORMULA",107:"GET.NAME",108:"SET.VALUE",109:"LOG",110:"EXEC",111:"CHAR",112:"LOWER",113:"UPPER",114:"PROPER",115:"LEFT",116:"RIGHT",117:"EXACT",118:"TRIM",119:"REPLACE",120:"SUBSTITUTE",121:"CODE",122:"NAMES",123:"DIRECTORY",124:"FIND",125:"CELL",126:"ISERR",127:"ISTEXT",128:"ISNUMBER",129:"ISBLANK",130:"T",131:"N",132:"FOPEN",133:"FCLOSE",134:"FSIZE",135:"FREADLN",136:"FREAD",137:"FWRITELN",138:"FWRITE",139:"FPOS",140:"DATEVALUE",141:"TIMEVALUE",142:"SLN",143:"SYD",144:"DDB",145:"GET.DEF",146:"REFTEXT",147:"TEXTREF",148:"INDIRECT",149:"REGISTER",150:"CALL",151:"ADD.BAR",152:"ADD.MENU",153:"ADD.COMMAND",154:"ENABLE.COMMAND",155:"CHECK.COMMAND",156:"RENAME.COMMAND",157:"SHOW.BAR",158:"DELETE.MENU",159:"DELETE.COMMAND",160:"GET.CHART.ITEM",161:"DIALOG.BOX",162:"CLEAN",163:"MDETERM",164:"MINVERSE",165:"MMULT",166:"FILES",167:"IPMT",168:"PPMT",169:"COUNTA",170:"CANCEL.KEY",171:"FOR",172:"WHILE",173:"BREAK",174:"NEXT",175:"INITIATE",176:"REQUEST",177:"POKE",178:"EXECUTE",179:"TERMINATE",180:"RESTART",181:"HELP",182:"GET.BAR",183:"PRODUCT",184:"FACT",185:"GET.CELL",186:"GET.WORKSPACE",187:"GET.WINDOW",188:"GET.DOCUMENT",189:"DPRODUCT",190:"ISNONTEXT",191:"GET.NOTE",192:"NOTE",193:"STDEVP",194:"VARP",195:"DSTDEVP",196:"DVARP",197:"TRUNC",198:"ISLOGICAL",199:"DCOUNTA",200:"DELETE.BAR",201:"UNREGISTER",204:"USDOLLAR",205:"FINDB",206:"SEARCHB",207:"REPLACEB",208:"LEFTB",209:"RIGHTB",210:"MIDB",211:"LENB",212:"ROUNDUP",213:"ROUNDDOWN",214:"ASC",215:"DBCS",216:"RANK",219:"ADDRESS",220:"DAYS360",221:"TODAY",222:"VDB",223:"ELSE",224:"ELSE.IF",225:"END.IF",226:"FOR.CELL",227:"MEDIAN",228:"SUMPRODUCT",229:"SINH",230:"COSH",231:"TANH",232:"ASINH",233:"ACOSH",234:"ATANH",235:"DGET",236:"CREATE.OBJECT",237:"VOLATILE",238:"LAST.ERROR",239:"CUSTOM.UNDO",240:"CUSTOM.REPEAT",241:"FORMULA.CONVERT",242:"GET.LINK.INFO",243:"TEXT.BOX",244:"INFO",245:"GROUP",246:"GET.OBJECT",247:"DB",248:"PAUSE",251:"RESUME",252:"FREQUENCY",253:"ADD.TOOLBAR",254:"DELETE.TOOLBAR",255:"User",256:"RESET.TOOLBAR",257:"EVALUATE",258:"GET.TOOLBAR",259:"GET.TOOL",260:"SPELLING.CHECK",261:"ERROR.TYPE",262:"APP.TITLE",263:"WINDOW.TITLE",264:"SAVE.TOOLBAR",265:"ENABLE.TOOL",266:"PRESS.TOOL",267:"REGISTER.ID",268:"GET.WORKBOOK",269:"AVEDEV",270:"BETADIST",271:"GAMMALN",272:"BETAINV",273:"BINOMDIST",274:"CHIDIST",275:"CHIINV",276:"COMBIN",277:"CONFIDENCE",278:"CRITBINOM",279:"EVEN",280:"EXPONDIST",281:"FDIST",282:"FINV",283:"FISHER",284:"FISHERINV",285:"FLOOR",286:"GAMMADIST",287:"GAMMAINV",288:"CEILING",289:"HYPGEOMDIST",290:"LOGNORMDIST",291:"LOGINV",292:"NEGBINOMDIST",293:"NORMDIST",294:"NORMSDIST",295:"NORMINV",296:"NORMSINV",297:"STANDARDIZE",298:"ODD",299:"PERMUT",300:"POISSON",301:"TDIST",302:"WEIBULL",303:"SUMXMY2",304:"SUMX2MY2",305:"SUMX2PY2",306:"CHITEST",307:"CORREL",308:"COVAR",309:"FORECAST",310:"FTEST",311:"INTERCEPT",312:"PEARSON",313:"RSQ",314:"STEYX",315:"SLOPE",316:"TTEST",317:"PROB",318:"DEVSQ",319:"GEOMEAN",320:"HARMEAN",321:"SUMSQ",322:"KURT",323:"SKEW",324:"ZTEST",325:"LARGE",326:"SMALL",327:"QUARTILE",328:"PERCENTILE",329:"PERCENTRANK",330:"MODE",331:"TRIMMEAN",332:"TINV",334:"MOVIE.COMMAND",335:"GET.MOVIE",336:"CONCATENATE",337:"POWER",338:"PIVOT.ADD.DATA",339:"GET.PIVOT.TABLE",340:"GET.PIVOT.FIELD",341:"GET.PIVOT.ITEM",342:"RADIANS",343:"DEGREES",344:"SUBTOTAL",345:"SUMIF",346:"COUNTIF",347:"COUNTBLANK",348:"SCENARIO.GET",349:"OPTIONS.LISTS.GET",350:"ISPMT",351:"DATEDIF",352:"DATESTRING",353:"NUMBERSTRING",354:"ROMAN",355:"OPEN.DIALOG",356:"SAVE.DIALOG",357:"VIEW.GET",358:"GETPIVOTDATA",359:"HYPERLINK",360:"PHONETIC",361:"AVERAGEA",362:"MAXA",363:"MINA",364:"STDEVPA",365:"VARPA",366:"STDEVA",367:"VARA",368:"BAHTTEXT",369:"THAIDAYOFWEEK",370:"THAIDIGIT",371:"THAIMONTHOFYEAR",372:"THAINUMSOUND",373:"THAINUMSTRING",374:"THAISTRINGLENGTH",375:"ISTHAIDIGIT",376:"ROUNDBAHTDOWN",377:"ROUNDBAHTUP",378:"THAIYEAR",379:"RTD",380:"CUBEVALUE",381:"CUBEMEMBER",382:"CUBEMEMBERPROPERTY",383:"CUBERANKEDMEMBER",384:"HEX2BIN",385:"HEX2DEC",386:"HEX2OCT",387:"DEC2BIN",388:"DEC2HEX",389:"DEC2OCT",390:"OCT2BIN",391:"OCT2HEX",392:"OCT2DEC",393:"BIN2DEC",394:"BIN2OCT",395:"BIN2HEX",396:"IMSUB",397:"IMDIV",398:"IMPOWER",399:"IMABS",400:"IMSQRT",401:"IMLN",402:"IMLOG2",403:"IMLOG10",404:"IMSIN",405:"IMCOS",406:"IMEXP",407:"IMARGUMENT",408:"IMCONJUGATE",409:"IMAGINARY",410:"IMREAL",411:"COMPLEX",412:"IMSUM",413:"IMPRODUCT",414:"SERIESSUM",415:"FACTDOUBLE",416:"SQRTPI",417:"QUOTIENT",418:"DELTA",419:"GESTEP",420:"ISEVEN",421:"ISODD",422:"MROUND",423:"ERF",424:"ERFC",425:"BESSELJ",426:"BESSELK",427:"BESSELY",428:"BESSELI",429:"XIRR",430:"XNPV",431:"PRICEMAT",432:"YIELDMAT",433:"INTRATE",434:"RECEIVED",435:"DISC",436:"PRICEDISC",437:"YIELDDISC",438:"TBILLEQ",439:"TBILLPRICE",440:"TBILLYIELD",441:"PRICE",442:"YIELD",443:"DOLLARDE",444:"DOLLARFR",445:"NOMINAL",446:"EFFECT",447:"CUMPRINC",448:"CUMIPMT",449:"EDATE",450:"EOMONTH",451:"YEARFRAC",452:"COUPDAYBS",453:"COUPDAYS",454:"COUPDAYSNC",455:"COUPNCD",456:"COUPNUM",457:"COUPPCD",458:"DURATION",459:"MDURATION",460:"ODDLPRICE",461:"ODDLYIELD",462:"ODDFPRICE",463:"ODDFYIELD",464:"RANDBETWEEN",465:"WEEKNUM",466:"AMORDEGRC",467:"AMORLINC",468:"CONVERT",724:"SHEETJS",469:"ACCRINT",470:"ACCRINTM",471:"WORKDAY",472:"NETWORKDAYS",473:"GCD",474:"MULTINOMIAL",475:"LCM",476:"FVSCHEDULE",477:"CUBEKPIMEMBER",478:"CUBESET",479:"CUBESETCOUNT",480:"IFERROR",481:"COUNTIFS",482:"SUMIFS",483:"AVERAGEIF",484:"AVERAGEIFS"};var om={2:1,3:1,15:1,16:1,17:1,18:1,19:0,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,90:1,97:2,98:1,99:1,101:3,102:3,105:1,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,144:4,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,189:3,190:1,195:3,196:3,197:1,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,247:4,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,382:3,385:1,392:1,393:1,396:2,397:2,398:2,399:1,400:1,401:1,402:1,403:1,404:1,405:1,406:1,407:1,408:1,409:1,410:1,414:4,415:1,416:1,417:2,420:1,421:1,422:2,424:1,425:2,426:2,427:2,428:2,430:3,438:3,439:3,440:3,443:2,444:2,445:2,446:2,447:6,448:6,449:2,450:2,464:2,468:3,476:2,479:1,480:2,65535:0};var lm={"_xlfn.ACOT":"ACOT","_xlfn.ACOTH":"ACOTH","_xlfn.AGGREGATE":"AGGREGATE","_xlfn.ARABIC":"ARABIC","_xlfn.AVERAGEIF":"AVERAGEIF","_xlfn.AVERAGEIFS":"AVERAGEIFS","_xlfn.BASE":"BASE","_xlfn.BETA.DIST":"BETA.DIST","_xlfn.BETA.INV":"BETA.INV","_xlfn.BINOM.DIST":"BINOM.DIST","_xlfn.BINOM.DIST.RANGE":"BINOM.DIST.RANGE","_xlfn.BINOM.INV":"BINOM.INV","_xlfn.BITAND":"BITAND","_xlfn.BITLSHIFT":"BITLSHIFT","_xlfn.BITOR":"BITOR","_xlfn.BITRSHIFT":"BITRSHIFT","_xlfn.BITXOR":"BITXOR","_xlfn.CEILING.MATH":"CEILING.MATH","_xlfn.CEILING.PRECISE":"CEILING.PRECISE","_xlfn.CHISQ.DIST":"CHISQ.DIST","_xlfn.CHISQ.DIST.RT":"CHISQ.DIST.RT","_xlfn.CHISQ.INV":"CHISQ.INV","_xlfn.CHISQ.INV.RT":"CHISQ.INV.RT","_xlfn.CHISQ.TEST":"CHISQ.TEST","_xlfn.COMBINA":"COMBINA","_xlfn.CONFIDENCE.NORM":"CONFIDENCE.NORM","_xlfn.CONFIDENCE.T":"CONFIDENCE.T","_xlfn.COT":"COT","_xlfn.COTH":"COTH","_xlfn.COUNTIFS":"COUNTIFS","_xlfn.COVARIANCE.P":"COVARIANCE.P","_xlfn.COVARIANCE.S":"COVARIANCE.S","_xlfn.CSC":"CSC","_xlfn.CSCH":"CSCH","_xlfn.DAYS":"DAYS","_xlfn.DECIMAL":"DECIMAL","_xlfn.ECMA.CEILING":"ECMA.CEILING","_xlfn.ERF.PRECISE":"ERF.PRECISE","_xlfn.ERFC.PRECISE":"ERFC.PRECISE","_xlfn.EXPON.DIST":"EXPON.DIST","_xlfn.F.DIST":"F.DIST","_xlfn.F.DIST.RT":"F.DIST.RT","_xlfn.F.INV":"F.INV","_xlfn.F.INV.RT":"F.INV.RT","_xlfn.F.TEST":"F.TEST","_xlfn.FILTERXML":"FILTERXML","_xlfn.FLOOR.MATH":"FLOOR.MATH","_xlfn.FLOOR.PRECISE":"FLOOR.PRECISE","_xlfn.FORMULATEXT":"FORMULATEXT","_xlfn.GAMMA":"GAMMA","_xlfn.GAMMA.DIST":"GAMMA.DIST","_xlfn.GAMMA.INV":"GAMMA.INV","_xlfn.GAMMALN.PRECISE":"GAMMALN.PRECISE","_xlfn.GAUSS":"GAUSS","_xlfn.HYPGEOM.DIST":"HYPGEOM.DIST","_xlfn.IFNA":"IFNA","_xlfn.IFERROR":"IFERROR","_xlfn.IMCOSH":"IMCOSH","_xlfn.IMCOT":"IMCOT","_xlfn.IMCSC":"IMCSC","_xlfn.IMCSCH":"IMCSCH","_xlfn.IMSEC":"IMSEC","_xlfn.IMSECH":"IMSECH","_xlfn.IMSINH":"IMSINH","_xlfn.IMTAN":"IMTAN","_xlfn.ISFORMULA":"ISFORMULA","_xlfn.ISO.CEILING":"ISO.CEILING","_xlfn.ISOWEEKNUM":"ISOWEEKNUM","_xlfn.LOGNORM.DIST":"LOGNORM.DIST","_xlfn.LOGNORM.INV":"LOGNORM.INV","_xlfn.MODE.MULT":"MODE.MULT","_xlfn.MODE.SNGL":"MODE.SNGL","_xlfn.MUNIT":"MUNIT","_xlfn.NEGBINOM.DIST":"NEGBINOM.DIST","_xlfn.NETWORKDAYS.INTL":"NETWORKDAYS.INTL","_xlfn.NIGBINOM":"NIGBINOM","_xlfn.NORM.DIST":"NORM.DIST","_xlfn.NORM.INV":"NORM.INV","_xlfn.NORM.S.DIST":"NORM.S.DIST","_xlfn.NORM.S.INV":"NORM.S.INV","_xlfn.NUMBERVALUE":"NUMBERVALUE","_xlfn.PDURATION":"PDURATION","_xlfn.PERCENTILE.EXC":"PERCENTILE.EXC","_xlfn.PERCENTILE.INC":"PERCENTILE.INC","_xlfn.PERCENTRANK.EXC":"PERCENTRANK.EXC","_xlfn.PERCENTRANK.INC":"PERCENTRANK.INC","_xlfn.PERMUTATIONA":"PERMUTATIONA","_xlfn.PHI":"PHI","_xlfn.POISSON.DIST":"POISSON.DIST","_xlfn.QUARTILE.EXC":"QUARTILE.EXC","_xlfn.QUARTILE.INC":"QUARTILE.INC","_xlfn.QUERYSTRING":"QUERYSTRING","_xlfn.RANK.AVG":"RANK.AVG","_xlfn.RANK.EQ":"RANK.EQ","_xlfn.RRI":"RRI","_xlfn.SEC":"SEC","_xlfn.SECH":"SECH","_xlfn.SHEET":"SHEET","_xlfn.SHEETS":"SHEETS","_xlfn.SKEW.P":"SKEW.P","_xlfn.STDEV.P":"STDEV.P","_xlfn.STDEV.S":"STDEV.S","_xlfn.SUMIFS":"SUMIFS","_xlfn.T.DIST":"T.DIST","_xlfn.T.DIST.2T":"T.DIST.2T","_xlfn.T.DIST.RT":"T.DIST.RT","_xlfn.T.INV":"T.INV","_xlfn.T.INV.2T":"T.INV.2T","_xlfn.T.TEST":"T.TEST","_xlfn.UNICHAR":"UNICHAR","_xlfn.UNICODE":"UNICODE","_xlfn.VAR.P":"VAR.P","_xlfn.VAR.S":"VAR.S","_xlfn.WEBSERVICE":"WEBSERVICE","_xlfn.WEIBULL.DIST":"WEIBULL.DIST","_xlfn.WORKDAY.INTL":"WORKDAY.INTL","_xlfn.XOR":"XOR","_xlfn.Z.TEST":"Z.TEST"};function cm(e){if(e.substr(0,3)=="of:")e=e.substr(3);if(e.charCodeAt(0)==61){e=e.substr(1);if(e.charCodeAt(0)==61)e=e.substr(1)}e=e.replace(/COM\.MICROSOFT\./g,"");e=e.replace(/\[((?:\.[A-Z]+[0-9]+)(?::\.[A-Z]+[0-9]+)?)\]/g,function(e,r){return r.replace(/\./g,"")});e=e.replace(/\[.(#[A-Z]*[?!])\]/g,"$1");return e.replace(/[;~]/g,",").replace(/\|/g,";")}function um(e){var r="of:="+e.replace(bv,"$1[.$2$3$4$5]").replace(/\]:\[/g,":");return r.replace(/;/g,"|").replace(/,/g,";")}function hm(e){var r=e.split(":");var t=r[0].split(".")[0];return[t,r[0].split(".")[1]+":"+r[1].split(".")[1]]}var dm={};var vm={};ia.WS=["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"];function pm(e,r){for(var t=0,a=e.length;t-1){t.width=Fh(a);t.customWidth=1}else if(r.width!=null)t.width=r.width;if(r.hidden)t.hidden=true;return t}function bm(e,r){if(!e)return;var t=[.7,.7,.75,.75,.3,.3];if(r=="xlml")t=[1,1,1,1,.5,.5];if(e.left==null)e.left=t[0];if(e.right==null)e.right=t[1];if(e.top==null)e.top=t[2];if(e.bottom==null)e.bottom=t[3];if(e.header==null)e.header=t[4];if(e.footer==null)e.footer=t[5]}function gm(e,r,t){var a=t.revssf[r.z!=null?r.z:"General"];var n=60,i=e.length;if(a==null&&t.ssf){for(;n<392;++n)if(t.ssf[n]==null){E.load(r.z,n);t.ssf[n]=r.z;t.revssf[r.z]=a=n;break}}for(n=0;n!=i;++n)if(e[n].numFmtId===a)return n;e[i]={numFmtId:a,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1};return i}function Em(e,r,t,a,n,i){if(e.t==="z")return;if(e.t==="d"&&typeof e.v==="string")e.v=H(e.v);try{if(a.cellNF)e.z=E._table[r]}catch(s){if(a.WTF)throw s}if(!a||a.cellText!==false)try{if(e.t==="e")e.w=e.w||_t[e.v];else if(r===0){if(e.t==="n"){if((e.v|0)===e.v)e.w=E._general_int(e.v);else e.w=E._general_num(e.v)}else if(e.t==="d"){var f=P(e.v);if((f|0)===f)e.w=E._general_int(f);else e.w=E._general_num(f)}else if(e.v===undefined)return"";else e.w=E._general(e.v,vm)}else if(e.t==="d")e.w=E.format(r,P(e.v),vm);else e.w=E.format(r,e.v,vm)}catch(s){if(a.WTF)throw s}if(t)try{e.s=i.Fills[t];if(e.s.fgColor&&e.s.fgColor.theme&&!e.s.fgColor.rgb){e.s.fgColor.rgb=xh(n.themeElements.clrScheme[e.s.fgColor.theme].rgb,e.s.fgColor.tint||0);if(a.WTF)e.s.fgColor.raw_rgb=n.themeElements.clrScheme[e.s.fgColor.theme].rgb}if(e.s.bgColor&&e.s.bgColor.theme){e.s.bgColor.rgb=xh(n.themeElements.clrScheme[e.s.bgColor.theme].rgb,e.s.bgColor.tint||0);if(a.WTF)e.s.bgColor.raw_rgb=n.themeElements.clrScheme[e.s.bgColor.theme].rgb}}catch(s){if(a.WTF)throw s}}function km(e,r){var t=Kr(r);if(t.s.r<=t.e.r&&t.s.c<=t.e.c&&t.s.r>=0&&t.s.c>=0)e["!ref"]=jr(t)}var Sm=/<(?:\w:)?mergeCell ref="[A-Z0-9:]+"\s*[\/]?>/g;var wm=/<(?:\w+:)?sheetData>([\s\S]*)<\/(?:\w+:)?sheetData>/;var Bm=/<(?:\w:)?hyperlink [^>]*>/gm;var Cm=/"(\w*:\w*)"/;var _m=/<(?:\w:)?col[^>]*[\/]?>/g;var Tm=/<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g;var xm=/<(?:\w:)?pageMargins[^>]*\/>/g;function Im(e,r,t,a,n,i){if(!e)return e;if(c!=null&&r.dense==null)r.dense=c;var s=r.dense?[]:{};var f={s:{r:2e6,c:2e6},e:{r:0,c:0}};var o="",l="";var u=e.match(wm);if(u){o=e.substr(0,u.index);l=e.substr(u.index+u[0].length)}else o=l=e;var h=(o.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(h>0){var d=o.substr(h,50).match(Cm);if(d)km(s,d[1])}var v=[];if(r.cellStyles){var p=o.match(_m);if(p)Fm(v,p)}if(u)Hm(u[1],s,r,f,n,i);var m=l.match(Tm);if(m)s["!autofilter"]=Nm(m[0]);var b=[];var g=l.match(Sm);if(g)for(h=0;h!=g.length;++h)b[h]=Kr(g[h].substr(g[h].indexOf('"')+1));var E=l.match(Bm);if(E)Rm(s,E,t);var k=l.match(xm);if(k)s["!margins"]=Dm(se(k[0]));if(!s["!ref"]&&f.e.c>=f.s.c&&f.e.r>=f.s.r)s["!ref"]=jr(f);if(r.sheetRows>0&&s["!ref"]){var S=Kr(s["!ref"]);if(r.sheetRows<+S.e.r){S.e.r=r.sheetRows-1;if(S.e.r>f.e.r)S.e.r=f.e.r;if(S.e.rf.e.c)S.e.c=f.e.c;if(S.e.c0)s["!cols"]=v;if(b.length>0)s["!merges"]=b;return s}function Am(e){if(e.length==0)return"";var r='';for(var t=0;t!=e.length;++t)r+='';return r+""}function ym(e){var r={sheet:1};var t=["objects","scenarios","selectLockedCells","selectUnlockedCells"];var a=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];t.forEach(function(t){if(e[t]!=null&&e[t])r[t]="1"});a.forEach(function(t){if(e[t]!=null&&!e[t])r[t]="0"});if(e.password)r.password=mh(e.password).toString(16).toUpperCase();return De("sheetProtection",null,r)}function Rm(e,r,t){var a=Array.isArray(e);for(var n=0;n!=r.length;++n){var i=se(ke(r[n]),true);if(!i.ref)return;var s=t?t["!id"][i.id]:null;if(s){i.Target=s.Target;if(i.location)i.Target+="#"+i.location;i.Rel=s}else{i.Target=i.location;s={Target:i.location,TargetMode:"Internal"};i.Rel=s}if(i.tooltip){i.Tooltip=i.tooltip;delete i.tooltip}var f=Kr(i.ref);for(var o=f.s.r;o<=f.e.r;++o)for(var l=f.s.c;l<=f.e.c;++l){var c=Vr({c:l,r:o});if(a){if(!e[o])e[o]=[];if(!e[o][l])e[o][l]={t:"z",v:undefined};e[o][l].l=i}else{if(!e[c])e[c]={t:"z",v:undefined};e[c].l=i}}}}function Dm(e){var r={};["left","right","top","bottom","header","footer"].forEach(function(t){if(e[t])r[t]=parseFloat(e[t])});return r}function Om(e){bm(e);return De("pageMargins",null,e)}function Fm(e,r){var t=false;for(var a=0;a!=r.length;++a){var n=se(r[a],true);if(n.hidden)n.hidden=Ee(n.hidden);var i=parseInt(n.min,10)-1,s=parseInt(n.max,10)-1;delete n.min;delete n.max;n.width=+n.width;if(!t&&n.width){t=true;Mh(n.width)}Hh(n);while(i<=s)e[i++]=z(n)}}function Pm(e,r){var t=[""],a,n;for(var i=0;i!=r.length;++i){if(!(a=r[i]))continue;t[t.length]=De("col",null,mm(i,a))}t[t.length]="";return t.join("")}function Nm(e){var r={ref:(e.match(/ref="([^"]*)"/)||[])[1]};return r}function Lm(e){return De("autoFilter",null,{ref:e.ref})}function Mm(e,r,t,a){return De("sheetViews",De("sheetView",null,{workbookViewId:"0"}),{})}function Um(e,r,t,a,n,i){if(e.v===undefined&&e.f===undefined||e.t==="z")return"";var s="";var f=e.t,o=e.v;switch(e.t){case"b":s=e.v?"1":"0";break;case"n":s=""+e.v;break;case"e":s=_t[e.v];break;case"d":if(a.cellDates)s=H(e.v,-1).toISOString();else{e.t="n";s=""+(e.v=P(H(e.v)))}if(typeof e.z==="undefined")e.z=E._table[14];break;default:s=e.v;break;}var l=ye("v",de(s)),c={r:r};var u=gm(a.cellXfs,e,a);if(u!==0)c.s=u;switch(e.t){case"n":break;case"d":c.t="d";break;case"b":c.t="b";break;case"e":c.t="e";break;default:if(e.v==null){delete e.t;break}if(a.bookSST){l=ye("v",""+pm(a.Strings,e.v));c.t="s";break}c.t="str";break;}if(e.t!=f){e.t=f;e.v=o}if(e.f){var h=e.F&&e.F.substr(0,r.length)==r?{t:"array",ref:e.F}:null;l=De("f",de(e.f),h)+(e.v!=null?l:"")}if(e.l)t["!links"].push([r,e.l]);if(e.c)t["!comments"].push([r,e.c]);return De("c",l,c)}var Hm=function Jk(){var e=/<(?:\w+:)?c[ >]/,r=/<\/(?:\w+:)?row>/;var t=/r=["']([^"']*)["']/,a=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/;var n=/ref=["']([^"']*)["']/;var i=Ce("v"),s=Ce("f");return function f(o,l,c,u,h,d){var v=0,p="",m=[],b=[],g=0,k=0,S=0,w="",B;var C,_=0,T=0;var x,I;var A=0,y=0;var R=Array.isArray(d.CellXf),D;var O=[];var F=[];var L=Array.isArray(l);var M=[],U={},W=false;for(var V=o.split(r),z=0,X=V.length;z!=X;++z){p=V[z].trim();var G=p.length;if(G===0)continue;for(v=0;v_-1)u.s.r=_-1;if(u.e.r<_-1)u.e.r=_-1;if(c&&c.cellStyles){U={};W=false;if(C.ht){W=true;U.hpt=parseFloat(C.ht);U.hpx=Xh(U.hpt)}if(C.hidden=="1"){W=true;U.hidden=true}if(C.outlineLevel!=null){W=true;U.level=+C.outlineLevel}if(W)M[_-1]=U}m=p.substr(v).split(e);for(v=0;v!=m.length;++v){p=m[v].trim();if(p.length===0)continue;b=p.match(t);g=v;k=0;S=0;p="":"")+p;if(b!=null&&b.length===2){g=0;w=b[1];for(k=0;k!=w.length;++k){if((S=w.charCodeAt(k)-64)<1||S>26)break;g=26*g+S}--g;T=g}else++T;for(k=0;k!=p.length;++k)if(p.charCodeAt(k)===62)break;++k;C=se(p.substr(0,k),true);if(!C.r)C.r=Vr({r:_-1,c:T});w=p.substr(k);B={t:""};if((b=w.match(i))!=null&&b[1]!=="")B.v=ce(b[1]);if(c.cellFormula){if((b=w.match(s))!=null&&b[1]!==""){B.f=ce(ke(b[1])).replace(/_xlfn\./,"");if(b[0].indexOf('t="array"')>-1){B.F=(w.match(n)||[])[1];if(B.F.indexOf(":")>-1)O.push([Kr(B.F),B.F])}else if(b[0].indexOf('t="shared"')>-1){I=se(b[0]);F[parseInt(I.si,10)]=[I,ce(ke(b[1]))]}}else if(b=w.match(/]*\/>/)){I=se(b[0]);if(F[I.si])B.f=kv(F[I.si][1],F[I.si][0].ref,C.r)}var j=Wr(C.r);for(k=0;k=O[k][0].s.r&&j.r<=O[k][0].e.r)if(j.c>=O[k][0].s.c&&j.c<=O[k][0].e.c)B.F=O[k][1]}if(C.t==null&&B.v===undefined){if(B.f||B.F){B.v=0;B.t="n"}else if(!c.sheetStubs)continue;else B.t="z"}else B.t=C.t||"n";if(u.s.c>g)u.s.c=g;if(u.e.c0)l["!rows"]=M}}();function Wm(e,r,t,a,n){var i=[],s=[],f=Kr(e["!ref"]),o,l,c="",u=[],h=0,d=0,v=e["!rows"];var p=Array.isArray(e);for(d=f.s.c;d<=f.e.c;++d)u[d]=Lr(d);for(h=f.s.r;h<=f.e.r;++h){s=[];c=Or(h);for(d=f.s.c;d<=f.e.c;++d){l=u[d]+c;var m=p?(e[h]||[])[d]:e[l];if(m===undefined)continue;if((o=Um(m,l,e,r,t,a))!=null)s.push(o)}if(s.length>0||v&&v[h]){var b={r:c};if(v&&v[h]){var g=v[h];if(g.hidden)b.hidden=1;var E=-1;if(g.hpx)E=zh(g.hpx);else if(g.hpt)E=g.hpt;if(E>-1){b.ht=E;b.customHeight=1}if(g.level){b.outlineLevel=g.level}}i[i.length]=De("row",s.join(""),b)}}if(v)for(;h-1){b.ht=E;b.customHeight=1}if(g.level){b.outlineLevel=g.level}i[i.length]=De("row","",b)}}return i.join("")}var Vm=De("worksheet",null,{xmlns:Ne.main[0],"xmlns:r":Ne.r});function zm(e,r,t,a){var n=[Pe,Vm];var i=t.SheetNames[e],s=0,f="";var o=t.Sheets[i];if(o==null)o={};var l=o["!ref"];if(l==null)l="A1";if(!a)a={};o["!comments"]=[];o["!drawing"]=[];n[n.length]=De("sheetPr",null,{codeName:de(t.SheetNames[e])});n[n.length]=De("dimension",null,{ref:l});n[n.length]=Mm(o,r,e,t);if(r.sheetFormat)n[n.length]=De("sheetFormatPr",null,{defaultRowHeight:r.sheetFormat.defaultRowHeight||"16",baseColWidth:r.sheetFormat.baseColWidth||"10",outlineLevelRow:r.sheetFormat.outlineLevelRow||"7"});if(o["!cols"]!=null&&o["!cols"].length>0)n[n.length]=Pm(o,o["!cols"]);n[s=n.length]="";o["!links"]=[];if(o["!ref"]!=null){f=Wm(o,r,e,t,a);if(f.length>0)n[n.length]=f}if(n.length>s+1){n[n.length]="";n[s]=n[s].replace("/>",">")}if(o["!protect"]!=null)n[n.length]=ym(o["!protect"]);if(o["!autofilter"]!=null)n[n.length]=Lm(o["!autofilter"]);if(o["!merges"]!=null&&o["!merges"].length>0)n[n.length]=Am(o["!merges"]);var c=-1,u,h=-1;if(o["!links"].length>0){n[n.length]="";o["!links"].forEach(function(e){if(!e[1].Target)return;h=ca(a,-1,de(e[1].Target).replace(/#.*$/,""),ia.HLINK);u={ref:e[0],"r:id":"rId"+h};if((c=e[1].Target.indexOf("#"))>-1)u.location=de(e[1].Target.substr(c+1));if(e[1].Tooltip)u.tooltip=de(e[1].Tooltip);n[n.length]=De("hyperlink",null,u)});n[n.length]=""}delete o["!links"];if(o["!margins"]!=null)n[n.length]=Om(o["!margins"]);var d=n.length;n[n.length]="";if(o["!drawing"].length>0){h=ca(a,-1,"../drawings/drawing"+(e+1)+".xml",ia.DRAW);n[n.length]=De("drawing",null,{"r:id":"rId"+h})}else delete o["!drawing"];if(o["!comments"].length>0){h=ca(a,-1,"../drawings/vmlDrawing"+(e+1)+".vml",ia.VML);n[n.length]=De("legacyDrawing",null,{"r:id":"rId"+h});o["!legacy"]=h}if(n.length>2){n[n.length]="";n[1]=n[1].replace("/>",">")}return n.join("")}function Xm(e,r){var t={};var a=e.l+r;t.r=e.read_shift(4);e.l+=4;var n=e.read_shift(2);e.l+=1;var i=e.read_shift(1);e.l=a;if(i&7)t.level=i&7;if(i&16)t.hidden=true;if(i&32)t.hpt=n/20;return t}function Gm(e,r,t){var a=wr(17+8*16);var n=(t["!rows"]||[])[e]||{};a.write_shift(4,e);a.write_shift(4,0);var i=320;if(n.hpx)i=zh(n.hpx)*20;else if(n.hpt)i=n.hpt*20;a.write_shift(2,i);a.write_shift(1,0);var s=0;if(n.level)s|=n.level;if(n.hidden)s|=16;if(n.hpx||n.hpt)s|=32;a.write_shift(1,s);a.write_shift(1,0);var f=0,o=a.l;a.l+=4;var l={r:e,c:0};for(var c=0;c<16;++c){if(r.s.c>c+1<<10||r.e.ca.l?a.slice(0,a.l):a}function jm(e,r,t,a){var n=Gm(a,t,r);if(n.length>17||(r["!rows"]||[])[a])_r(e,"BrtRowHdr",n)}var Km=St;var Ym=wt;function $m(e,r){}function Zm(e,r){var t={};e.l+=19;t.name=lt(e,r-19);return t}function Qm(e,r){if(r==null)r=wr(84+4*e.length);for(var t=0;t<3;++t)r.write_shift(1,0);It({auto:1},r);r.write_shift(-4,-1); -r.write_shift(-4,-1);ct(e,r);return r.slice(0,r.l)}function Jm(e,r){var t=ft(e);return[t]}function qm(e,r,t){if(t==null)t=wr(8);return ot(r,t)}function eb(e,r){var t=ft(e);var a=e.read_shift(1);return[t,a,"b"]}function rb(e,r,t){if(t==null)t=wr(9);ot(r,t);t.write_shift(1,e.v?1:0);return t}function tb(e,r){var t=ft(e);var a=e.read_shift(1);return[t,a,"e"]}function ab(e,r){var t=ft(e);var a=e.read_shift(4);return[t,a,"s"]}function nb(e,r,t){if(t==null)t=wr(12);ot(r,t);t.write_shift(4,r.v);return t}function ib(e,r){var t=ft(e);var a=Bt(e);return[t,a,"n"]}function sb(e,r,t){if(t==null)t=wr(16);ot(r,t);Ct(e.v,t);return t}function fb(e,r){var t=ft(e);var a=bt(e);return[t,a,"n"]}function ob(e,r,t){if(t==null)t=wr(12);ot(r,t);gt(e.v,t);return t}function lb(e,r){var t=ft(e);var a=qr(e);return[t,a,"str"]}function cb(e,r,t){if(t==null)t=wr(12+4*e.v.length);ot(r,t);et(e.v,t);return t.length>t.l?t.slice(0,t.l):t}function ub(e,r,t){var a=e.l+r;var n=ft(e);n.r=t["!row"];var i=e.read_shift(1);var s=[n,i,"b"];if(t.cellFormula){e.l+=2;var f=tm(e,a-e.l,t);s[3]=qp(f,null,n,t.supbooks,t)}else e.l=a;return s}function hb(e,r,t){var a=e.l+r;var n=ft(e);n.r=t["!row"];var i=e.read_shift(1);var s=[n,i,"e"];if(t.cellFormula){e.l+=2;var f=tm(e,a-e.l,t);s[3]=qp(f,null,n,t.supbooks,t)}else e.l=a;return s}function db(e,r,t){var a=e.l+r;var n=ft(e);n.r=t["!row"];var i=Bt(e);var s=[n,i,"n"];if(t.cellFormula){e.l+=2;var f=tm(e,a-e.l,t);s[3]=qp(f,null,n,t.supbooks,t)}else e.l=a;return s}function vb(e,r,t){var a=e.l+r;var n=ft(e);n.r=t["!row"];var i=qr(e);var s=[n,i,"str"];if(t.cellFormula){e.l+=2;var f=tm(e,a-e.l,t);s[3]=qp(f,null,n,t.supbooks,t)}else e.l=a;return s}var pb=St;var mb=wt;function bb(e,r){if(r==null)r=wr(4);r.write_shift(4,e);return r}function gb(e,r,t){var a=e.l+r;var n=St(e,16);var i=ut(e);var s=qr(e);var f=qr(e);var o=qr(e);e.l=a;return{rfx:n,relId:i,loc:s,Tooltip:f,display:o}}function Eb(e,r,t){if(t==null)t=wr(50+4*e[1].Target.length);wt({s:Wr(e[0]),e:Wr(e[0])},t);mt("rId"+r,t);var a=e[1].Target.indexOf("#");var n=a==-1?"":e[1].Target.substr(a+1);et(n||"",t);et(e[1].Tooltip||"",t);et("",t);return t.slice(0,t.l)}function kb(e,r,t){var a=e.l+r;var n=Et(e,16);var i=e.read_shift(1);var s=[n];s[2]=i;if(t.cellFormula){var f=rm(e,a-e.l,t);s[1]=f}else e.l=a;return s}function Sb(e,r,t){var a=e.l+r;var n=St(e,16);var i=[n];if(t.cellFormula){var s=nm(e,a-e.l,t);i[1]=s;e.l=a}else e.l=a;return i}function wb(e,r,t){if(t==null)t=wr(18);var a=mm(e,r);t.write_shift(-4,e);t.write_shift(-4,e);t.write_shift(4,(a.width||10)*256);t.write_shift(4,0);var n=0;if(r.hidden)n|=1;if(typeof a.width=="number")n|=2;t.write_shift(1,n);t.write_shift(1,0);return t}function Bb(e,r,t){return{left:Bt(e,8),right:Bt(e,8),top:Bt(e,8),bottom:Bt(e,8),header:Bt(e,8),footer:Bt(e,8)}}function Cb(e,r){if(r==null)r=wr(6*8);bm(e);Ct(e.left,r);Ct(e.right,r);Ct(e.top,r);Ct(e.bottom,r);Ct(e.header,r);Ct(e.footer,r);return r}function _b(e,r){if(r==null)r=wr(30);r.write_shift(2,924);r.write_shift(4,0);r.write_shift(4,0);r.write_shift(4,0);r.write_shift(1,0);r.write_shift(1,0);r.write_shift(2,0);r.write_shift(2,100);r.write_shift(2,0);r.write_shift(2,0);r.write_shift(2,0);r.write_shift(4,0);return r}function Tb(e,r){if(r==null)r=wr(16*4+2);r.write_shift(2,e.password?mh(e.password):0);r.write_shift(4,1);[["objects",false],["scenarios",false],["formatCells",true],["formatColumns",true],["formatRows",true],["insertColumns",true],["insertRows",true],["insertHyperlinks",true],["deleteColumns",true],["deleteRows",true],["selectLockedCells",false],["sort",true],["autoFilter",true],["pivotTables",true],["selectUnlockedCells",false]].forEach(function(t){if(t[1])r.write_shift(4,e[t[0]]!=null&&!e[t[0]]?1:0);else r.write_shift(4,e[t[0]]!=null&&e[t[0]]?0:1)});return r}function xb(e,r,t,a,n,i){if(!e)return e;var s=r||{};if(!t)t={"!id":{}};if(c!=null&&s.dense==null)s.dense=c;var f=s.dense?[]:{};var o;var l={s:{r:2e6,c:2e6},e:{r:0,c:0}};var u=false,h=false;var d,v,p,m,b,g,k,S,w;var B=[];s.biff=12;s["!row"]=0;var C=0,_=false;var T=[];var x={};var I=[[]];I.sharedf=x;I.arrayf=T;I.SheetNames=a.SheetNames||a.Sheets.map(function(e){return e.name});s.supbooks=I;for(var A=0;A=c[0].s.r&&d.r<=c[0].e.r)if(b>=c[0].s.c&&b<=c[0].e.c){v.F=jr(c[0]);_=true}}if(!_&&e.length>3)v.f=e[3]}if(l.s.r>d.r)l.s.r=d.r;if(l.s.c>b)l.s.c=b;if(l.e.rd.r)l.s.r=d.r;if(l.s.c>b)l.s.c=b;if(l.e.r=e.s){y[e.e--]={width:e.w/256,hidden:!!(e.flags&1)};if(!F){F=true;Mh(e.w/256)}Hh(y[e.e+1])}break;case 161:f["!autofilter"]={ref:jr(e)};break;case 476:f["!margins"]=e;break;case 485:;case 175:;case 644:;case 625:;case 562:;case 396:;case 1112:;case 1146:;case 471:;case 1050:;case 649:;case 1105:;case 49:;case 589:;case 607:;case 564:;case 1055:;case 168:;case 174:;case 1180:;case 499:;case 64:;case 1053:;case 550:;case 171:;case 167:;case 1177:;case 169:;case 1181:;case 551:;case 552:;case 661:;case 639:;case 478:;case 151:;case 537:;case 477:;case 536:;case 1103:;case 680:;case 1104:;case 1024:;case 152:;case 663:;case 535:;case 678:;case 504:;case 1043:;case 428:;case 170:;case 50:;case 2070:;case 1045:;case 147:break;case 35:u=true;break;case 36:u=false;break;case 37:break;case 38:break;default:if((r||"").indexOf("Begin")>0){}else if((r||"").indexOf("End")>0){}else if(!u||s.WTF)throw new Error("Unexpected record "+a+" "+r);}},s);delete s.supbooks;delete s["!row"];if(!f["!ref"]&&(l.s.r<2e6||o&&(o.e.r>0||o.e.c>0||o.s.r>0||o.s.c>0)))f["!ref"]=jr(o||l);if(s.sheetRows&&f["!ref"]){var P=Kr(f["!ref"]);if(s.sheetRows<+P.e.r){P.e.r=s.sheetRows-1;if(P.e.r>l.e.r)P.e.r=l.e.r;if(P.e.rl.e.c)P.e.c=l.e.c;if(P.e.c0)f["!merges"]=B;if(y.length>0)f["!cols"]=y;if(R.length>0)f["!rows"]=R;return f}function Ib(e,r,t,a,n,i){if(r.v===undefined)return"";var s="";var f=null;switch(r.t){case"b":s=r.v?"1":"0";break;case"d":r.z=r.z||E._table[14];f=r.v;r.v=P(r.v);r.t="n";break;case"n":;case"e":s=""+r.v;break;default:s=r.v;break;}var o={r:t,c:a};o.s=gm(n.cellXfs,r,n);if(r.l)i["!links"].push([Vr(o),r.l]);if(r.c)i["!comments"].push([Vr(o),r.c]);switch(r.t){case"s":;case"str":if(n.bookSST){s=pm(n.Strings,r.v);o.t="s";o.v=s;_r(e,"BrtCellIsst",nb(r,o))}else{o.t="str";_r(e,"BrtCellSt",cb(r,o))}return;case"n":if(r.v==(r.v|0)&&r.v>-1e3&&r.v<1e3)_r(e,"BrtCellRk",ob(r,o));else _r(e,"BrtCellReal",sb(r,o));if(f){r.t="d";r.v=f}return;case"b":o.t="b";_r(e,"BrtCellBool",rb(r,o));return;case"e":o.t="e";break;}_r(e,"BrtCellBlank",qm(r,o))}function Ab(e,r,t,a,n){var i=Kr(r["!ref"]||"A1"),s,f="",o=[];_r(e,"BrtBeginSheetData");var l=Array.isArray(r);var c=i.e.r;if(r["!rows"])c=Math.max(i.e.r,r["!rows"].length-1);for(var u=i.s.r;u<=c;++u){f=Or(u);jm(e,r,i,u);if(u<=i.e.r)for(var h=i.s.c;h<=i.e.c;++h){if(u===i.s.r)o[h]=Lr(h);s=o[h]+f;var d=l?(r[u]||[])[h]:r[s];if(!d)continue;Ib(e,d,u,h,a,r)}}_r(e,"BrtEndSheetData")}function yb(e,r){if(!r||!r["!merges"])return;_r(e,"BrtBeginMergeCells",bb(r["!merges"].length));r["!merges"].forEach(function(r){_r(e,"BrtMergeCell",mb(r))});_r(e,"BrtEndMergeCells")}function Rb(e,r,t,a,n){if(!r||!r["!cols"])return;_r(e,"BrtBeginColInfos");r["!cols"].forEach(function(r,t){if(r)_r(e,"BrtColInfo",wb(t,r))});_r(e,"BrtEndColInfos")}function Db(e,r,t){r["!links"].forEach(function(r){if(!r[1].Target)return;var a=ca(t,-1,r[1].Target.replace(/#.*$/,""),ia.HLINK);_r(e,"BrtHLink",Eb(r,a))});delete r["!links"]}function Ob(e,r,t,a){if(r["!comments"].length>0){var n=ca(a,-1,"../drawings/vmlDrawing"+(t+1)+".vml",ia.VML);_r(e,"BrtLegacyDrawing",mt("rId"+n));r["!legacy"]=n}}function Fb(e,r){if(!r["!autofilter"])return;_r(e,"BrtBeginAFilter",wt(Gr(r["!autofilter"].ref)));_r(e,"BrtEndAFilter")}function Pb(e,r){_r(e,"BrtBeginWsViews");{_r(e,"BrtBeginWsView",_b(r));_r(e,"BrtEndWsView")}_r(e,"BrtEndWsViews")}function Nb(e,r){}function Lb(e,r){if(!r["!protect"])return;_r(e,"BrtSheetProtection",Tb(r["!protect"]))}function Mb(e,r,t,a){var n=Cr();var i=t.SheetNames[e],s=t.Sheets[i]||{};var f=Kr(s["!ref"]||"A1");s["!links"]=[];s["!comments"]=[];_r(n,"BrtBeginSheet");_r(n,"BrtWsProp",Qm(i));_r(n,"BrtWsDim",Ym(f));Pb(n,s);Nb(n,s);Rb(n,s,e,r,t);Ab(n,s,e,r,t);Lb(n,s);Fb(n,s);yb(n,s);Db(n,s,a);if(s["!margins"])_r(n,"BrtMargins",Cb(s["!margins"]));Ob(n,s,e,a);_r(n,"BrtEndSheet");return n.end()}function Ub(e){var r=[];(e.match(/(.*?)<\/c:pt>/gm)||[]).forEach(function(e){var t=e.match(/(.*)<\/c:v><\/c:pt>/);if(!t)return;r[+t[1]]=+t[2]});var t=ce((e.match(/([\s\S]*?)<\/c:formatCode>/)||["","General"])[1]);return[r,t]}function Hb(e,r,t,a,n,i){var s=i||{"!type":"chart"};if(!e)return i;var f=0,o=0,l="A";var c={s:{r:2e6,c:2e6},e:{r:0,c:0}};(e.match(/[\s\S]*?<\/c:numCache>/gm)||[]).forEach(function(e){var r=Ub(e);c.s.r=c.s.c=0;c.e.c=f;l=Lr(f);r[0].forEach(function(e,t){s[l+Or(t)]={t:"n",v:e,z:r[1]};o=t});if(c.e.r0)s["!ref"]=jr(c);return s}ia.CS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet";var Wb=De("chartsheet",null,{xmlns:Ne.main[0],"xmlns:r":Ne.r});function Vb(e,r,t,a,n,i){if(!e)return e;if(!t)t={"!id":{}};var s={"!type":"chart","!chart":null,"!rel":""};var f;if(f=e.match(/drawing r:id="(.*?)"/))s["!rel"]=f[1];if(t["!id"][s["!rel"]])s["!chart"]=t["!id"][s["!rel"]];return s}function zb(e,r,t,a){var n=[Pe,Wb];n[n.length]=De("drawing",null,{"r:id":"rId1"});ca(a,-1,"../drawings/drawing"+(e+1)+".xml",ia.DRAW);if(n.length>2){n[n.length]="";n[1]=n[1].replace("/>",">")}return n.join("")}function Xb(e,r,t,a,n,i){if(!e)return e;if(!t)t={"!id":{}};var s={"!type":"chart","!chart":null,"!rel":""};var f=[];var o=false;Br(e,function l(e,t,a){switch(a){case 550:s["!rel"]=e;break;case 562:;case 652:;case 651:;case 669:;case 679:;case 551:;case 552:;case 476:break;case 35:o=true;break;case 36:o=false;break;case 37:f.push(t);break;case 38:f.pop();break;default:if((t||"").indexOf("Begin")>0)f.push(t);else if((t||"").indexOf("End")>0)f.pop();else if(!o||r.WTF)throw new Error("Unexpected record "+a+" "+t);}},r);if(t["!id"][s["!rel"]])s["!chart"]=t["!id"][s["!rel"]];return s}function Gb(e,r,t,a){var n=Cr();_r(n,"BrtBeginSheet");_r(n,"BrtEndSheet");return n.end()}var jb=[["allowRefreshQuery",false,"bool"],["autoCompressPictures",true,"bool"],["backupFile",false,"bool"],["checkCompatibility",false,"bool"],["codeName",""],["date1904",false,"bool"],["defaultThemeVersion",0,"int"],["filterPrivacy",false,"bool"],["hidePivotFieldList",false,"bool"],["promptedSolutions",false,"bool"],["publishItems",false,"bool"],["refreshAllConnections",false,"bool"],["saveExternalLinkValues",true,"bool"],["showBorderUnselectedTables",true,"bool"],["showInkAnnotation",true,"bool"],["showObjects","all"],["showPivotChartFilter",false,"bool"],["updateLinks","userSet"]];var Kb=[["activeTab",0,"int"],["autoFilterDateGrouping",true,"bool"],["firstSheet",0,"int"],["minimized",false,"bool"],["showHorizontalScroll",true,"bool"],["showSheetTabs",true,"bool"],["showVerticalScroll",true,"bool"],["tabRatio",600,"int"],["visibility","visible"]];var Yb=[];var $b=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];var Zb=[["autoUpdate","false"],["changesSavedWin","false"],["includeHiddenRowCol","true"],["includePrintSettings","true"],["maximized","false"],["minimized","false"],["onlySync","false"],["personalView","false"],["showComments","commIndicator"],["showFormulaBar","true"],["showHorizontalScroll","true"],["showObjects","all"],["showSheetTabs","true"],["showStatusbar","true"],["showVerticalScroll","true"],["tabRatio","600"],["xWindow","0"],["yWindow","0"]];function Qb(e,r){for(var t=0;t!=e.length;++t){var a=e[t];for(var n=0;n!=r.length;++n){var i=r[n];if(a[i[0]]==null)a[i[0]]=i[1];else switch(i[2]){case"bool":if(typeof a[i[0]]=="string")a[i[0]]=Ee(a[i[0]],i[0]);break;case"int":if(typeof a[i[0]]=="string")a[i[0]]=parseInt(a[i[0]],10);break;}}}}function Jb(e,r){for(var t=0;t!=r.length;++t){var a=r[t];if(e[a[0]]==null)e[a[0]]=a[1];else switch(a[2]){case"bool":if(typeof e[a[0]]=="string")e[a[0]]=Ee(e[a[0]],a[0]);break;case"int":if(typeof e[a[0]]=="string")e[a[0]]=parseInt(e[a[0]],10);break;}}}function qb(e){Jb(e.WBProps,jb);Jb(e.CalcPr,$b);Qb(e.WBView,Kb);Qb(e.Sheets,Yb);vm.date1904=Ee(e.WBProps.date1904,"date1904")}function eg(e){if(!e.Workbook)return"false";if(!e.Workbook.WBProps)return"false";return Ee(e.Workbook.WBProps.date1904)?"true":"false"}var rg="][*?/\\".split("");function tg(e,r){if(e.length>31){if(r)return false;throw new Error("Sheet names cannot exceed 31 chars")}var t=true;rg.forEach(function(a){if(e.indexOf(a)==-1)return;if(!r)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");t=false});return t}function ag(e){e.forEach(function(r,t){tg(r);for(var a=0;a":break;case"":;case"":break;case"":break;case"":jb.forEach(function(e){if(c[e[0]]==null)return;switch(e[2]){case"bool":t.WBProps[e[0]]=Ee(c[e[0]],e[0]);break;case"int":t.WBProps[e[0]]=parseInt(c[e[0]],10);break;default:t.WBProps[e[0]]=c[e[0]];}});break;case"":break;case"":break;case"":;case"":break;case"":break;case"":;case"":break;case"":break;case"":break;case"":;case"":break;case"":break;case"":;case"":a=false;break;case"":{i.Ref=e.slice(s,l);t.Names.push(i)}break;case"":break;case"":delete c[0];t.CalcPr=c;break;case"":break;case"":;case"":;case"":break;case"":;case"":;case"":break;case"":;case"":break;case"":break;case"":break;case"":;case"":break;case"":;case"":;case"":break;case"":a=false;break;case"":a=false;break;case"0;var n={codeName:"ThisWorkbook"};if(e.Workbook&&e.Workbook.WBProps){if(e.Workbook.WBProps.codeName)n.codeName=e.Workbook.WBProps.codeName;jb.forEach(function(r){if(e.Workbook.WBProps[r[0]]==null)return;if(e.Workbook.WBProps[r[0]]==r[1])return;n[r[0]]=e.Workbook.WBProps[r[0]]})}t[t.length]=De("workbookPr",null,n);t[t.length]="";var i=e.Workbook&&e.Workbook.Sheets||[];for(var s=0;s!=e.SheetNames.length;++s){var f={name:de(e.SheetNames[s].substr(0,31))};f.sheetId=""+(s+1);f["r:id"]="rId"+(s+1);if(i[s])switch(i[s].Hidden){case 1:f.state="hidden";break;case 2:f.state="veryHidden";break;}t[t.length]=De("sheet",null,f)}t[t.length]="";if(a){t[t.length]="";if(e.Workbook&&e.Workbook.Names)e.Workbook.Names.forEach(function(e){var r={name:e.Name};if(e.Comment)r.comment=e.Comment;if(e.Sheet!=null)r.localSheetId=""+e.Sheet;if(!e.Ref)return;t[t.length]=De("definedName",String(e.Ref),r)});t[t.length]=""}if(t.length>2){t[t.length]="";t[1]=t[1].replace("/>",">")}return t.join("")}function lg(e,r){var t={};t.Hidden=e.read_shift(4);t.iTabID=e.read_shift(4);t.strRelID=pt(e,r-8);t.name=qr(e);return t}function cg(e,r){if(!r)r=wr(127);r.write_shift(4,e.Hidden);r.write_shift(4,e.iTabID);mt(e.strRelID,r);et(e.name.substr(0,31),r);return r.length>r.l?r.slice(0,r.l):r}function ug(e,r){var t={};var a=e.read_shift(4);t.defaultThemeVersion=e.read_shift(4);var n=r>8?qr(e):"";if(n.length>0)t.codeName=n;t.autoCompressPictures=!!(a&65536);t.backupFile=!!(a&64);t.checkCompatibility=!!(a&4096);t.date1904=!!(a&1);t.filterPrivacy=!!(a&8);t.hidePivotFieldList=!!(a&1024);t.promptedSolutions=!!(a&16);t.publishItems=!!(a&2048);t.refreshAllConnections=!!(a&262144);t.saveExternalLinkValues=!!(a&128);t.showBorderUnselectedTables=!!(a&4);t.showInkAnnotation=!!(a&32);t.showObjects=["all","placeholders","none"][a>>13&3];t.showPivotChartFilter=!!(a&32768);t.updateLinks=["userSet","never","always"][a>>8&3];return t}function hg(e,r){if(!r)r=wr(72);var t=0;if(e){if(e.filterPrivacy)t|=8}r.write_shift(4,t);r.write_shift(4,0);ct("ThisWorkbook",r);return r.slice(0,r.l)}function dg(e,r){var t={};e.read_shift(4);t.ArchID=e.read_shift(4);e.l+=r-8;return t}function vg(e,r,t){var a=e.l+r;var n=e.read_shift(4);var i=e.read_shift(1);var s=e.read_shift(4);var f=dt(e);var o=am(e,0,t);var l=ut(e);e.l=a;var c={Name:f,Ptg:o,Comment:l};if(s<268435455)c.Sheet=s;return c}function pg(e,r){var t={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""};var a=false,n;if(!r)r={};r.biff=12;var i=[];var s=[];s.SheetNames=[];Br(e,function f(e,n,o){switch(o){case 156:s.SheetNames.push(e.name);t.Sheets.push(e);break;case 153:t.WBProps=e;break;case 39:e.Ref=qp(e.Ptg,null,null,s,r);delete e.Ptg;i.push(e);break;case 1036:break;case 357:;case 358:;case 355:;case 667:;case 362:;case 361:break;case 2071:;case 534:;case 677:;case 158:;case 157:;case 610:;case 2050:;case 155:;case 548:;case 676:;case 128:;case 665:;case 2128:;case 2125:;case 549:;case 2053:;case 596:;case 2076:;case 2075:;case 2082:;case 397:;case 154:;case 1117:;case 553:;case 2091:break;case 35:a=true;break;case 36:a=false;break;case 37:break;case 38:break;case 16:break;default:if((n||"").indexOf("Begin")>0){}else if((n||"").indexOf("End")>0){}else if(!a||r.WTF)throw new Error("Unexpected record "+o+" "+n);}},r);qb(t);t.Names=i;return t}function mg(e,r,t){_r(e,"BrtBeginBundleShs");for(var a=0;a!=r.SheetNames.length;++a){var n=r.Workbook&&r.Workbook.Sheets&&r.Workbook.Sheets[a]&&r.Workbook.Sheets[a].Hidden||0;var i={Hidden:n,iTabID:a+1,strRelID:"rId"+(a+1),name:r.SheetNames[a]};_r(e,"BrtBundleSh",cg(i))}_r(e,"BrtEndBundleShs")}function bg(e,t){if(!t)t=wr(127);for(var a=0;a!=4;++a)t.write_shift(4,0);et("SheetJS",t);et(r.version,t);et(r.version,t);et("7262",t);t.length=t.l;return t.length>t.l?t.slice(0,t.l):t}function gg(e,r){if(!r)r=wr(29);r.write_shift(-4,0);r.write_shift(-4,460);r.write_shift(4,28800);r.write_shift(4,17600);r.write_shift(4,500);r.write_shift(4,e);r.write_shift(4,e);var t=120;r.write_shift(1,t);return r.length>r.l?r.slice(0,r.l):r}function Eg(e,r,t){if(!r.Workbook||!r.Workbook.Sheets)return;var a=r.Workbook.Sheets;var n=0,i=-1,s=-1;for(;ni)return;_r(e,"BrtBeginBookViews");_r(e,"BrtBookView",gg(i));_r(e,"BrtEndBookViews")}function kg(e,r){if(!r)r=wr(26);r.write_shift(4,0);r.write_shift(4,1);r.write_shift(4,0);Ct(0,r);r.write_shift(-4,1023);r.write_shift(1,51);r.write_shift(1,0);return r}function Sg(e,r){if(!r)r=wr(1);r.write_shift(1,0);return r}function wg(e,r){var t=Cr();_r(t,"BrtBeginBook");_r(t,"BrtFileVersion",bg());_r(t,"BrtWbProp",hg(e.Workbook&&e.Workbook.WBProps||null));Eg(t,e,r);mg(t,e,r);_r(t,"BrtEndBook");return t.end()}function Bg(e,r,t){if(r.slice(-4)===".bin")return pg(e,t);return sg(e,t)}function Cg(e,r,t,a,n,i,s){if(r.slice(-4)===".bin")return xb(e,t,a,n,i,s);return Im(e,t,a,n,i,s)}function _g(e,r,t,a,n,i,s){if(r.slice(-4)===".bin")return Xb(e,t,a,n,i,s);return Vb(e,t,a,n,i,s)}function Tg(e,r,t,a,n,i,s){if(r.slice(-4)===".bin")return vv(e,t,a,n,i,s);return pv(e,t,a,n,i,s)}function xg(e,r,t,a,n,i,s){if(r.slice(-4)===".bin")return hv(e,t,a,n,i,s);return dv(e,t,a,n,i,s)}function Ig(e,r,t,a){if(r.slice(-4)===".bin")return bd(e,t,a);return rd(e,t,a)}function Ag(e,r,t){return Ld(e,t)}function yg(e,r,t){if(r.slice(-4)===".bin")return Zu(e,t);return ju(e,t)}function Rg(e,r,t){if(r.slice(-4)===".bin")return cv(e,t);return av(e,t)}function Dg(e,r,t){if(r.slice(-4)===".bin")return Zd(e,t);return Kd(e,t)}function Og(e,r,t){return(r.slice(-4)===".bin"?wg:og)(e,t)}function Fg(e,r,t,a,n){return(r.slice(-4)===".bin"?Mb:zm)(e,t,a,n)}function Pg(e,r,t,a,n){return(r.slice(-4)===".bin"?Gb:zb)(e,t,a,n)}function Ng(e,r,t){return(r.slice(-4)===".bin"?Id:ad)(e,t)}function Lg(e,r,t){return(r.slice(-4)===".bin"?qu:Yu)(e,t)}function Mg(e,r,t){return(r.slice(-4)===".bin"?uv:iv)(e,t)}var Ug=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g;var Hg=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;var Wg=function(e){return String.fromCharCode(e)};function Vg(e,r){var t=e.split(/\s+/);var a=[];if(!r)a[0]=t[0];if(t.length===1)return a;var n=e.match(Ug),i,s,f,o;if(n)for(o=0;o!=n.length;++o){i=n[o].match(Hg);if((s=i[1].indexOf(":"))===-1)a[i[1]]=i[2].substr(1,i[2].length-2);else{if(i[1].substr(0,6)==="xmlns:")f="xmlns"+i[1].substr(6);else f=i[1].substr(s+1);a[f]=i[2].substr(1,i[2].length-2)}}return a}function zg(e){var r=e.split(/\s+/);var t={};if(r.length===1)return t;var a=e.match(Ug),n,i,s,f;if(a)for(f=0;f!=a.length;++f){n=a[f].match(Hg);if((i=n[1].indexOf(":"))===-1)t[n[1]]=n[2].substr(1,n[2].length-2);else{if(n[1].substr(0,6)==="xmlns:")s="xmlns"+n[1].substr(6);else s=n[1].substr(i+1);t[s]=n[2].substr(1,n[2].length-2)}}return t}function Xg(e,r){var t=S[e]||ce(e);if(t==="General")return E._general(r);return E.format(t,r)}function Gg(e,r,t,a){var n=a;switch((t[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":n=Ee(a);break;case"i2":;case"int":n=parseInt(a,10);break;case"r4":;case"float":n=parseFloat(a);break;case"date":;case"dateTime.tz":n=H(a);break;case"i8":;case"string":;case"fixed":;case"uuid":;case"bin.base64":break;default:throw new Error("bad custprop:"+t[0]);}e[ce(r[3])]=n}function jg(e,r,t){if(e.t==="z")return;if(!t||t.cellText!==false)try{if(e.t==="e"){e.w=e.w||_t[e.v]}else if(r==="General"){if(e.t==="n"){if((e.v|0)===e.v)e.w=E._general_int(e.v);else e.w=E._general_num(e.v)}else e.w=E._general(e.v)}else e.w=Xg(r||"General",e.v)}catch(a){if(t.WTF)throw a}try{var n=S[r]||r||"General";if(t.cellNF)e.z=n;if(t.cellDates&&e.t=="n"&&E.is_date(n)){var i=E.parse_date_code(e.v);if(i){e.t="d";e.v=new Date(i.y,i.m-1,i.d,i.H,i.M,i.S,i.u)}}}catch(a){if(t.WTF)throw a}}function Kg(e,r,t){if(t.cellStyles){if(r.Interior){var a=r.Interior;if(a.Pattern)a.patternType=Gh[a.Pattern]||a.Pattern}}e[r.ID]=r}function Yg(e,r,t,a,n,i,s,f,o,l){var c="General",u=a.StyleID,h={};l=l||{};var d=[];var v=0;if(u===undefined&&f)u=f.StyleID;if(u===undefined&&s)u=s.StyleID;while(i[u]!==undefined){if(i[u].nf)c=i[u].nf;if(i[u].Interior)d.push(i[u].Interior);if(!i[u].Parent)break;u=i[u].Parent}switch(t.Type){case"Boolean":a.t="b";a.v=Ee(e);break;case"String":a.t="s";a.r=be(ce(e));a.v=e.indexOf("<")>-1?ce(r):a.r;break;case"DateTime":if(e.slice(-1)!="Z")e+="Z";a.v=(H(e)-new Date(Date.UTC(1899,11,30)))/(24*60*60*1e3);if(a.v!==a.v)a.v=ce(e);else if(a.v<60)a.v=a.v-1;if(!c||c=="General")c="yyyy-mm-dd";case"Number":if(a.v===undefined)a.v=+e;if(!a.t)a.t="n";break;case"Error":a.t="e";a.v=Tt[e];if(l.cellText!==false)a.w=e;break;default:a.t="s";a.v=be(r||e);break;}jg(a,c,l);if(l.cellFormula!==false){if(a.Formula){var p=ce(a.Formula);if(p.charCodeAt(0)==61)p=p.substr(1);a.f=mv(p,n);delete a.Formula;if(a.ArrayRange=="RC")a.F=mv("RC:RC",n);else if(a.ArrayRange){a.F=mv(a.ArrayRange,n);o.push([Kr(a.F),a.F])}}else{for(v=0;v=o[v][0].s.r&&n.r<=o[v][0].e.r)if(n.c>=o[v][0].s.c&&n.c<=o[v][0].e.c)a.F=o[v][1]}}if(l.cellStyles){d.forEach(function(e){if(!h.patternType&&e.patternType)h.patternType=e.patternType});a.s=h}a.ixfe=a.StyleID!==undefined?a.StyleID:"Default"}function $g(e){e.t=e.v||"";e.t=e.t.replace(/\r\n/g,"\n").replace(/\r/g,"\n");e.v=e.w=e.ixfe=undefined}function Zg(e){if(d&&Buffer.isBuffer(e))return e.toString("utf8");if(typeof e==="string")return e;throw new Error("Bad input format: expected Buffer or string")}var Qg=/<(\/?)([^\s?>!\/:]*:|)([^\s?>]*[^\s?>\/])[^>]*>/gm;function Jg(e,r){var t=r||{};k(E);var a=o(Zg(e));if(t&&t.type=="binary"&&typeof cptable!=="undefined")a=cptable.utils.decode(65001,i(a));var n=a.slice(0,1024).toLowerCase(),s=false;if(n.indexOf("=0)s=true});if(s)return yE.to_workbook(a,t);var f;var l=[],u;if(c!=null&&t.dense==null)t.dense=c;var h={},d=[],v=t.dense?[]:{},p="";var m={},b={},g={};var w=Vg(''),B=0;var C=0,_=0;var T={s:{r:2e6,c:2e6},e:{r:0,c:0}};var x={},I={};var A="",y=0;var R=[];var D={},O={},F=0,P={};var N=[],L={};var M=[],U,H=false;var W=[];var V=[],X={};var G={Sheets:[],WBProps:{date1904:false}},j={};Qg.lastIndex=0;a=a.replace(//gm,"");while(f=Qg.exec(a))switch(f[3]){case"Data":if(l[l.length-1][1])break;if(f[1]==="/")Yg(a.slice(B,f.index),A,w,l[l.length-1][0]=="Comment"?L:b,{c:C,r:_},x,M[C],g,W,t);else{A="";w=Vg(f[0]);B=f.index+f[0].length}break;case"Cell":if(f[1]==="/"){if(N.length>0)b.c=N;if((!t.sheetRows||t.sheetRows>_)&&b.v!==undefined){if(t.dense){if(!v[_])v[_]=[];v[_][C]=b}else v[Lr(C)+Or(_)]=b}if(b.HRef){b.l={Target:b.HRef,Tooltip:b.HRefScreenTip};delete b.HRef;delete b.HRefScreenTip}if(b.MergeAcross||b.MergeDown){var K=C+(parseInt(b.MergeAcross,10)|0);var Y=_+(parseInt(b.MergeDown,10)|0);R.push({s:{c:C,r:_},e:{c:K,r:Y}})}if(!t.sheetStubs){if(b.MergeAcross)C=K+1;else++C}else if(b.MergeAcross||b.MergeDown){for(var $=C;$<=K;++$){for(var Z=_;Z<=Y;++Z){if($>C||Z>_){if(t.dense){if(!v[Z])v[Z]=[];v[Z][$]={t:"z"}}else v[Lr($)+Or(Z)]={t:"z"}}}}C=K+1}else++C}else{b=zg(f[0]);if(b.Index)C=+b.Index-1;if(CT.e.c)T.e.c=C;if(f[0].slice(-2)==="/>")++C;N=[]}break;case"Row":if(f[1]==="/"||f[0].slice(-2)==="/>"){if(_T.e.r)T.e.r=_;if(f[0].slice(-2)==="/>"){g=Vg(f[0]);if(g.Index)_=+g.Index-1}C=0;++_}else{g=Vg(f[0]);if(g.Index)_=+g.Index-1;X={};if(g.AutoFitHeight=="0"||g.Height){X.hpx=parseInt(g.Height,10);X.hpt=zh(X.hpx);V[_]=X}if(g.Hidden=="1"){X.hidden=true;V[_]=X}}break;case"Worksheet":if(f[1]==="/"){if((u=l.pop())[0]!==f[3])throw new Error("Bad state: "+u.join("|"));d.push(p);if(T.s.r<=T.e.r&&T.s.c<=T.e.c)v["!ref"]=jr(T);if(R.length)v["!merges"]=R;if(M.length>0)v["!cols"]=M;if(V.length>0)v["!rows"]=V;h[p]=v}else{T={s:{r:2e6,c:2e6},e:{r:0,c:0}};_=C=0;l.push([f[3],false]);u=Vg(f[0]);p=ce(u.Name);v=t.dense?[]:{};R=[];W=[];V=[];j={name:p,Hidden:0};G.Sheets.push(j)}break;case"Table":if(f[1]==="/"){if((u=l.pop())[0]!==f[3])throw new Error("Bad state: "+u.join("|"))}else if(f[0].slice(-2)=="/>")break;else{m=Vg(f[0]);l.push([f[3],false]);M=[];H=false}break;case"Style":if(f[1]==="/")Kg(x,I,t);else I=Vg(f[0]);break;case"NumberFormat":I.nf=ce(Vg(f[0]).Format||"General");if(S[I.nf])I.nf=S[I.nf];for(var Q=0;Q!=392;++Q)if(E._table[Q]==I.nf)break;if(Q==392)for(Q=57;Q!=392;++Q)if(E._table[Q]==null){E.load(I.nf,Q);break}break;case"Column":if(l[l.length-1][0]!=="Table")break;U=Vg(f[0]);if(U.Hidden){U.hidden=true;delete U.Hidden}if(U.Width)U.wpx=parseInt(U.Width,10);if(!H&&U.wpx>10){H=true;Rh=Ih;for(var J=0;J0)re.Sheet=G.Sheets.length-1;G.Names.push(re);break;case"NamedCell":break;case"B":break;case"I":break;case"U":break;case"S":break;case"Sub":break;case"Sup":break;case"Span":break;case"Border":break;case"Alignment":break;case"Borders":break;case"Font":if(f[0].slice(-2)==="/>")break;else if(f[1]==="/")A+=a.slice(y,f.index);else y=f.index+f[0].length;break;case"Interior":if(!t.cellStyles)break;I.Interior=Vg(f[0]);break;case"Protection":break;case"Author":;case"Title":;case"Description":;case"Created":;case"Keywords":;case"Subject":;case"Category":;case"Company":;case"LastAuthor":;case"LastSaved":;case"LastPrinted":;case"Version":;case"Revision":;case"TotalTime":;case"HyperlinkBase":;case"Manager":;case"ContentStatus":;case"Identifier":;case"Language":if(f[0].slice(-2)==="/>")break;else if(f[1]==="/")Fa(D,f[3],a.slice(F,f.index));else F=f.index+f[0].length;break;case"Paragraphs":break;case"Styles":;case"Workbook":if(f[1]==="/"){if((u=l.pop())[0]!==f[3])throw new Error("Bad state: "+u.join("|"))}else l.push([f[3],false]);break;case"Comment":if(f[1]==="/"){if((u=l.pop())[0]!==f[3])throw new Error("Bad state: "+u.join("|"));$g(L);N.push(L)}else{l.push([f[3],false]);u=Vg(f[0]);L={a:u.Author}}break;case"AutoFilter":if(f[1]==="/"){if((u=l.pop())[0]!==f[3])throw new Error("Bad state: "+u.join("|")); -}else if(f[0].charAt(f[0].length-2)!=="/"){var te=Vg(f[0]);v["!autofilter"]={ref:mv(te.Range).replace(/\$/g,"")};l.push([f[3],true])}break;case"Name":break;case"ComponentOptions":;case"DocumentProperties":;case"CustomDocumentProperties":;case"OfficeDocumentSettings":;case"PivotTable":;case"PivotCache":;case"Names":;case"MapInfo":;case"PageBreaks":;case"QueryTable":;case"DataValidation":;case"Sorting":;case"Schema":;case"data":;case"ConditionalFormatting":;case"SmartTagType":;case"SmartTags":;case"ExcelWorkbook":;case"WorkbookOptions":;case"WorksheetOptions":if(f[1]==="/"){if((u=l.pop())[0]!==f[3])throw new Error("Bad state: "+u.join("|"))}else if(f[0].charAt(f[0].length-2)!=="/")l.push([f[3],true]);break;default:if(l.length==0&&f[3]=="document")return PE(a,t);if(l.length==0&&f[3]=="UOF")return PE(a,t);var ae=true;switch(l[l.length-1][0]){case"OfficeDocumentSettings":switch(f[3]){case"AllowPNG":break;case"RemovePersonalInformation":break;case"DownloadComponents":break;case"LocationOfComponents":break;case"Colors":break;case"Color":break;case"Index":break;case"RGB":break;case"PixelsPerInch":break;case"TargetScreenSize":break;case"ReadOnlyRecommended":break;default:ae=false;}break;case"ComponentOptions":switch(f[3]){case"Toolbar":break;case"HideOfficeLogo":break;case"SpreadsheetAutoFit":break;case"Label":break;case"Caption":break;case"MaxHeight":break;case"MaxWidth":break;case"NextSheetNumber":break;default:ae=false;}break;case"ExcelWorkbook":switch(f[3]){case"Date1904":G.WBProps.date1904=true;break;case"WindowHeight":break;case"WindowWidth":break;case"WindowTopX":break;case"WindowTopY":break;case"TabRatio":break;case"ProtectStructure":break;case"ProtectWindows":break;case"ActiveSheet":break;case"DisplayInkNotes":break;case"FirstVisibleSheet":break;case"SupBook":break;case"SheetName":break;case"SheetIndex":break;case"SheetIndexFirst":break;case"SheetIndexLast":break;case"Dll":break;case"AcceptLabelsInFormulas":break;case"DoNotSaveLinkValues":break;case"Iteration":break;case"MaxIterations":break;case"MaxChange":break;case"Path":break;case"Xct":break;case"Count":break;case"SelectedSheets":break;case"Calculation":break;case"Uncalced":break;case"StartupPrompt":break;case"Crn":break;case"ExternName":break;case"Formula":break;case"ColFirst":break;case"ColLast":break;case"WantAdvise":break;case"Boolean":break;case"Error":break;case"Text":break;case"OLE":break;case"NoAutoRecover":break;case"PublishObjects":break;case"DoNotCalculateBeforeSave":break;case"Number":break;case"RefModeR1C1":break;case"EmbedSaveSmartTags":break;default:ae=false;}break;case"WorkbookOptions":switch(f[3]){case"OWCVersion":break;case"Height":break;case"Width":break;default:ae=false;}break;case"WorksheetOptions":switch(f[3]){case"Visible":if(f[0].slice(-2)==="/>"){}else if(f[1]==="/")switch(a.slice(F,f.index)){case"SheetHidden":j.Hidden=1;break;case"SheetVeryHidden":j.Hidden=2;break;}else F=f.index+f[0].length;break;case"Header":if(!v["!margins"])bm(v["!margins"]={},"xlml");v["!margins"].header=se(f[0]).Margin;break;case"Footer":if(!v["!margins"])bm(v["!margins"]={},"xlml");v["!margins"].footer=se(f[0]).Margin;break;case"PageMargins":var ne=se(f[0]);if(!v["!margins"])bm(v["!margins"]={},"xlml");if(ne.Top)v["!margins"].top=ne.Top;if(ne.Left)v["!margins"].left=ne.Left;if(ne.Right)v["!margins"].right=ne.Right;if(ne.Bottom)v["!margins"].bottom=ne.Bottom;break;case"Unsynced":break;case"Print":break;case"Panes":break;case"Scale":break;case"Pane":break;case"Number":break;case"Layout":break;case"PageSetup":break;case"Selected":break;case"ProtectObjects":break;case"EnableSelection":break;case"ProtectScenarios":break;case"ValidPrinterInfo":break;case"HorizontalResolution":break;case"VerticalResolution":break;case"NumberofCopies":break;case"ActiveRow":break;case"ActiveCol":break;case"ActivePane":break;case"TopRowVisible":break;case"TopRowBottomPane":break;case"LeftColumnVisible":break;case"LeftColumnRightPane":break;case"FitToPage":break;case"RangeSelection":break;case"PaperSizeIndex":break;case"PageLayoutZoom":break;case"PageBreakZoom":break;case"FilterOn":break;case"DoNotDisplayGridlines":break;case"SplitHorizontal":break;case"SplitVertical":break;case"FreezePanes":break;case"FrozenNoSplit":break;case"FitWidth":break;case"FitHeight":break;case"CommentsLayout":break;case"Zoom":break;case"LeftToRight":break;case"Gridlines":break;case"AllowSort":break;case"AllowFilter":break;case"AllowInsertRows":break;case"AllowDeleteRows":break;case"AllowInsertCols":break;case"AllowDeleteCols":break;case"AllowInsertHyperlinks":break;case"AllowFormatCells":break;case"AllowSizeCols":break;case"AllowSizeRows":break;case"NoSummaryRowsBelowDetail":break;case"TabColorIndex":break;case"DoNotDisplayHeadings":break;case"ShowPageLayoutZoom":break;case"NoSummaryColumnsRightDetail":break;case"BlackAndWhite":break;case"DoNotDisplayZeros":break;case"DisplayPageBreak":break;case"RowColHeadings":break;case"DoNotDisplayOutline":break;case"NoOrientation":break;case"AllowUsePivotTables":break;case"ZeroHeight":break;case"ViewableRange":break;case"Selection":break;case"ProtectContents":break;default:ae=false;}break;case"PivotTable":;case"PivotCache":switch(f[3]){case"ImmediateItemsOnDrop":break;case"ShowPageMultipleItemLabel":break;case"CompactRowIndent":break;case"Location":break;case"PivotField":break;case"Orientation":break;case"LayoutForm":break;case"LayoutSubtotalLocation":break;case"LayoutCompactRow":break;case"Position":break;case"PivotItem":break;case"DataType":break;case"DataField":break;case"SourceName":break;case"ParentField":break;case"PTLineItems":break;case"PTLineItem":break;case"CountOfSameItems":break;case"Item":break;case"ItemType":break;case"PTSource":break;case"CacheIndex":break;case"ConsolidationReference":break;case"FileName":break;case"Reference":break;case"NoColumnGrand":break;case"NoRowGrand":break;case"BlankLineAfterItems":break;case"Hidden":break;case"Subtotal":break;case"BaseField":break;case"MapChildItems":break;case"Function":break;case"RefreshOnFileOpen":break;case"PrintSetTitles":break;case"MergeLabels":break;case"DefaultVersion":break;case"RefreshName":break;case"RefreshDate":break;case"RefreshDateCopy":break;case"VersionLastRefresh":break;case"VersionLastUpdate":break;case"VersionUpdateableMin":break;case"VersionRefreshableMin":break;case"Calculation":break;default:ae=false;}break;case"PageBreaks":switch(f[3]){case"ColBreaks":break;case"ColBreak":break;case"RowBreaks":break;case"RowBreak":break;case"ColStart":break;case"ColEnd":break;case"RowEnd":break;default:ae=false;}break;case"AutoFilter":switch(f[3]){case"AutoFilterColumn":break;case"AutoFilterCondition":break;case"AutoFilterAnd":break;case"AutoFilterOr":break;default:ae=false;}break;case"QueryTable":switch(f[3]){case"Id":break;case"AutoFormatFont":break;case"AutoFormatPattern":break;case"QuerySource":break;case"QueryType":break;case"EnableRedirections":break;case"RefreshedInXl9":break;case"URLString":break;case"HTMLTables":break;case"Connection":break;case"CommandText":break;case"RefreshInfo":break;case"NoTitles":break;case"NextId":break;case"ColumnInfo":break;case"OverwriteCells":break;case"DoNotPromptForFile":break;case"TextWizardSettings":break;case"Source":break;case"Number":break;case"Decimal":break;case"ThousandSeparator":break;case"TrailingMinusNumbers":break;case"FormatSettings":break;case"FieldType":break;case"Delimiters":break;case"Tab":break;case"Comma":break;case"AutoFormatName":break;case"VersionLastEdit":break;case"VersionLastRefresh":break;default:ae=false;}break;case"Sorting":;case"ConditionalFormatting":;case"DataValidation":switch(f[3]){case"Range":break;case"Type":break;case"Min":break;case"Max":break;case"Sort":break;case"Descending":break;case"Order":break;case"CaseSensitive":break;case"Value":break;case"ErrorStyle":break;case"ErrorMessage":break;case"ErrorTitle":break;case"CellRangeList":break;case"InputMessage":break;case"InputTitle":break;case"ComboHide":break;case"InputHide":break;case"Condition":break;case"Qualifier":break;case"UseBlank":break;case"Value1":break;case"Value2":break;case"Format":break;default:ae=false;}break;case"MapInfo":;case"Schema":;case"data":switch(f[3]){case"Map":break;case"Entry":break;case"Range":break;case"XPath":break;case"Field":break;case"XSDType":break;case"FilterOn":break;case"Aggregate":break;case"ElementType":break;case"AttributeType":break;case"schema":;case"element":;case"complexType":;case"datatype":;case"all":;case"attribute":;case"extends":break;case"row":break;default:ae=false;}break;case"SmartTags":break;default:ae=false;break;}if(ae)break;if(!l[l.length-1][1])throw"Unrecognized tag: "+f[3]+"|"+l.join("|");if(l[l.length-1][0]==="CustomDocumentProperties"){if(f[0].slice(-2)==="/>")break;else if(f[1]==="/")Gg(O,f,P,a.slice(F,f.index));else{P=f;F=f.index+f[0].length}break}if(t.WTF)throw"Unrecognized tag: "+f[3]+"|"+l.join("|");}var ie={};if(!t.bookSheets&&!t.bookProps)ie.Sheets=h;ie.SheetNames=d;ie.Workbook=G;ie.SSF=E.get_table();ie.Props=D;ie.Custprops=O;return ie}function qg(e,r){KE(r=r||{});switch(r.type||"base64"){case"base64":return Jg(h.decode(e),r);case"binary":;case"buffer":;case"file":return Jg(e,r);case"array":return Jg(e.map(Wg).join(""),r);}}function eE(e,r){var t=[];if(e.Props)t.push(Pa(e.Props,r));if(e.Custprops)t.push(Na(e.Props,e.Custprops,r));return t.join("")}function rE(e,r){return""}function tE(e,r){return""}function aE(e,r,t,a){if(!e)return"";var n=[];if(e["!margins"]){n.push("");if(e["!margins"].header)n.push(De("Header",null,{"x:Margin":e["!margins"].header}));if(e["!margins"].footer)n.push(De("Footer",null,{"x:Margin":e["!margins"].footer}));n.push(De("PageMargins",null,{"x:Bottom":e["!margins"].bottom||"0.75","x:Left":e["!margins"].left||"0.7","x:Right":e["!margins"].right||"0.7","x:Top":e["!margins"].top||"0.75"}));n.push("")}if(a&&a.Workbook&&a.Workbook.Sheets&&a.Workbook.Sheets[t]){if(a.Workbook.Sheets[t].Hidden)n.push(De("Visible",a.Workbook.Sheets[t].Hidden==1?"SheetHidden":"SheetVeryHidden",{}));else{for(var i=0;i")}}if(e["!protect"]){n.push(ye("ProtectContents","True"));if(e["!protect"].objects)n.push(ye("ProtectObjects","True"));if(e["!protect"].scenarios)n.push(ye("ProtectScenarios","True"));if(e["!protect"].selectLockedCells!=null&&!e["!protect"].selectLockedCells)n.push(ye("EnableSelection","NoSelection"));else if(e["!protect"].selectUnlockedCells!=null&&!e["!protect"].selectUnlockedCells)n.push(ye("EnableSelection","UnlockedCells"));[["formatColumns","AllowFormatCells"],["formatRows","AllowSizeCols"],["formatCells","AllowSizeRows"],["insertColumns","AllowInsertCols"],["insertRows","AllowInsertRows"],["insertHyperlinks","AllowInsertHyperlinks"],["deleteColumns","AllowDeleteCols"],["deleteRows","AllowDeleteRows"],["sort","AllowSort"],["autoFilter","AllowFilter"],["pivotTables","AllowUsePivotTables"]].forEach(function(r){if(e["!protect"][r[0]])n.push("<"+r[1]+"/>")})}if(n.length==0)return"";return De("WorksheetOptions",n.join(""),{xmlns:Le.x})}function nE(e){return e.map(function(e){var r=ge(e.t||"");var t=De("ss:Data",r,{xmlns:"http://www.w3.org/TR/REC-html40"});return De("Comment",t,{"ss:Author":e.a})}).join("")}function iE(e,r,t,a,n,i,s){if(!e||e.v==undefined&&e.f==undefined)return"";var f={};if(e.f)f["ss:Formula"]="="+de(gv(e.f,s));if(e.F&&e.F.substr(0,r.length)==r){var o=Wr(e.F.substr(r.length+1));f["ss:ArrayRange"]="RC:R"+(o.r==s.r?"":"["+(o.r-s.r)+"]")+"C"+(o.c==s.c?"":"["+(o.c-s.c)+"]")}if(e.l&&e.l.Target){f["ss:HRef"]=de(e.l.Target);if(e.l.Tooltip)f["x:HRefScreenTip"]=de(e.l.Tooltip)}if(t["!merges"]){var l=t["!merges"];for(var c=0;c!=l.length;++c){if(l[c].s.c!=s.c||l[c].s.r!=s.r)continue;if(l[c].e.c>l[c].s.c)f["ss:MergeAcross"]=l[c].e.c-l[c].s.c;if(l[c].e.r>l[c].s.r)f["ss:MergeDown"]=l[c].e.r-l[c].s.r}}var u="",h="";switch(e.t){case"z":return"";case"n":u="Number";h=String(e.v);break;case"b":u="Boolean";h=e.v?"1":"0";break;case"e":u="Error";h=_t[e.v];break;case"d":u="DateTime";h=new Date(e.v).toISOString();break;case"s":u="String";h=de(e.v||"");break;}var d=e.v!=null?h:"";if(a&&a.type=="binary"&&typeof cptable!=="undefined"&&e.t=="s"){d=cptable.utils.encode(65001,d);var v="";for(var p=0;p'+d+"";if((e.c||[]).length>0)m+=nE(e.c);return De("Cell",m,f)}function sE(e,r){var t='"}function fE(e,r,t,a){if(!e["!ref"])return"";var n=Kr(e["!ref"]);var i=e["!merges"]||[],s=0;var f=[];if(e["!cols"])e["!cols"].forEach(function(e,r){Hh(e);var t=!!e.width;var a=mm(r,e);var n={"ss:Index":r+1};if(t)n["ss:Width"]=Dh(a.width);if(e.hidden)n["ss:Hidden"]="1";f.push(De("Column",null,n))});var o=Array.isArray(e);for(var l=n.s.r;l<=n.e.r;++l){var c=[sE(l,(e["!rows"]||[])[l])];for(var u=n.s.c;u<=n.e.c;++u){var h=false;for(s=0;s!=i.length;++s){if(i[s].s.c>u)continue;if(i[s].s.r>l)continue;if(i[s].e.c");if(c.length>2)f.push(c.join(""))}return f.join("")}function oE(e,r,t){var a=[];var n=t.SheetNames[e];var i=t.Sheets[n];var s=i?fE(i,r,e,t):"";if(s.length>0)a.push("
"+s+"
");a.push(aE(i,r,e,t));return a.join("")}function lE(e,r){var t=[];t.push(eE(e,r));t.push(rE(e,r));t.push(tE(e,r));for(var a=0;a400)throw new Error("Unsupported Clipboard: "+n.toString(16));a+=n;}n=Ye(t,a);a+=n.length===0?0:5+n.length;r.Reserved1=n;if((n=or(t,a))!==1907550708)return r;throw new Error("Unsupported Unicode Extension")}function uE(e,r,t,a){var n=t;var i=[];var s=r.slice(r.l,r.l+n);if(a&&a.enc&&a.enc.insitu_decrypt)switch(e.n){case"BOF":;case"FilePass":;case"FileLock":;case"InterfaceHdr":;case"RRDInfo":;case"RRDHead":;case"UsrExcl":break;default:if(s.length===0)break;a.enc.insitu_decrypt(s);}i.push(s);r.l+=n;var f=EE[sr(r,r.l)];var o=0;while(f!=null&&f.n.slice(0,8)==="Continue"){n=sr(r,r.l+2);o=r.l+4;if(f.n=="ContinueFrt")o+=4;else if(f.n.slice(0,11)=="ContinueFrt")o+=12;i.push(r.slice(o,r.l+4+n));r.l+=4+n;f=EE[sr(r,r.l)]}var l=m(i);gr(l,0);var c=0;l.lens=[];for(var u=0;u1)return;if(!T)return;if(t.cellStyles&&r.XF&&r.XF.data)D(e,r,t);v=e;p=Vr(e);if(o.s){if(e.ro.e.r)o.e.r=e.r+1;if(e.c+1>o.e.c)o.e.c=e.c+1}if(t.cellFormula&&r.f){for(var a=0;ae.c)continue;if(B[a][0].s.r>e.r)continue;if(B[a][0].e.c=t.sheetRows)T=false;else{if(t.dense){if(!i[e.r])i[e.r]=[];i[e.r][e.c]=r}else i[p]=r}};var F={enc:false,sbcch:0,snames:[],sharedf:w,arrayf:B,rrtabid:[],lastuser:"",biff:8,codepage:0,winlocked:0,cellStyles:!!r&&!!r.cellStyles,WTF:!!r&&!!r.wtf};if(r.password)F.password=r.password;var P=[];var N=[];var L=[],M=[];var U=0,H=0;var W=false;var V=[];V.SheetNames=F.snames;V.sharedf=F.sharedf;V.arrayf=F.arrayf;V.names=[];V.XTI=[];var z="";var X=0;var G=0;var j=[];var K=[];var Y;F.codepage=1200;n(1200);while(e.l0)Y.Sheet=re.itab-1;V.names.push(Y);if(!V[0])V[0]=[];V[V.length-1].push(re);if(re.Name=="_xlnm._FilterDatabase"&&re.itab>0)if(re.rgce&&re.rgce[0]&&re.rgce[0][0]&&re.rgce[0][0][0]=="PtgArea3d")K[re.itab-1]={ref:jr(re.rgce[0][0][1][2])};break;case"ExternCount":F.ExternCount=re;break;case"ExternSheet":if(V.length==0){V[0]=[];V[0].XTI=[]}V[V.length-1].XTI=V[V.length-1].XTI.concat(re);V.XTI=V.XTI.concat(re);break;case"NameCmt":if(F.biff<8)break;if(Y!=null)Y.Comment=re[1];break;case"Protect":i["!protect"]=re;break;case"Password":if(re!==0&&F.WTF)console.error("Password verifier: "+re);break;case"Prot4Rev":;case"Prot4RevPass":break;case"BoundSheet8":{s[re.pos]=re;F.snames.push(re.name)}break;case"EOF":{if(--X)break;if(o.e){if(o.e.r>0&&o.e.c>0){o.e.r--;o.e.c--;i["!ref"]=jr(o);o.e.r++;o.e.c++}if(P.length>0)i["!merges"]=P;if(N.length>0)i["!objects"]=N;if(L.length>0)i["!cols"]=L;if(M.length>0)i["!rows"]=M;A.Sheets.push(y)}if(h==="")d=i;else a[h]=i;i=r.dense?[]:{}}break;case"BOF":{if(F.biff!==8){}else if(Z===9)F.biff=2;else if(Z===521)F.biff=3;else if(Z===1033)F.biff=4;else if(re.BIFFVer===1280)F.biff=5;else if(re.BIFFVer===1536)F.biff=8;else if(re.BIFFVer===2)F.biff=2;else if(re.BIFFVer===7)F.biff=2;if(X++)break;T=true;i=r.dense?[]:{};if(F.biff<5){if(h==="")h="Sheet1";o={s:{r:0,c:0},e:{r:0,c:0}};var ae={pos:e.l-Q,name:h};s[ae.pos]=ae;F.snames.push(h)}else h=(s[$]||{name:""}).name;if(re.dt==32)i["!type"]="chart";P=[];N=[];B=[];F.arrayf=B;L=[];M=[];U=H=0;W=false;y={Hidden:(s[$]||{hs:0}).hs,name:h}}break;case"Number":;case"BIFF2NUM":;case"BIFF2INT":{if(i["!type"]=="chart")if(r.dense?(i[re.r]||[])[re.c]:i[Vr({c:re.c,r:re.r})])++re.c;C={ixfe:re.ixfe,XF:x[re.ixfe]||{},v:re.val,t:"n"};if(G>0)C.z=j[C.ixfe>>8&31];hE(C,r,t.opts.Date1904);O({c:re.c,r:re.r},C,r)}break;case"BoolErr":{C={ixfe:re.ixfe,XF:x[re.ixfe],v:re.val,t:re.t};if(G>0)C.z=j[C.ixfe>>8&31];hE(C,r,t.opts.Date1904);O({c:re.c,r:re.r},C,r)}break;case"RK":{C={ixfe:re.ixfe,XF:x[re.ixfe],v:re.rknum,t:"n"};if(G>0)C.z=j[C.ixfe>>8&31];hE(C,r,t.opts.Date1904);O({c:re.c,r:re.r},C,r)}break;case"MulRk":{for(var ne=re.c;ne<=re.C;++ne){var ie=re.rkrec[ne-re.c][0];C={ixfe:ie,XF:x[ie],v:re.rkrec[ne-re.c][1],t:"n"};if(G>0)C.z=j[C.ixfe>>8&31];hE(C,r,t.opts.Date1904);O({c:ne,r:re.r},C,r)}}break;case"Formula":{if(re.val=="String"){l=re;break}C=dE(re.val,re.cell.ixfe,re.tt);C.XF=x[C.ixfe];if(r.cellFormula){var se=re.formula;if(se&&se[0]&&se[0][0]&&se[0][0][0]=="PtgExp"){var fe=se[0][0][1][0],oe=se[0][0][1][1];var le=Vr({r:fe,c:oe});if(w[le])C.f=""+qp(re.formula,o,re.cell,V,F);else C.F=((r.dense?(i[fe]||[])[oe]:i[le])||{}).F}else C.f=""+qp(re.formula,o,re.cell,V,F)}if(G>0)C.z=j[C.ixfe>>8&31];hE(C,r,t.opts.Date1904);O(re.cell,C,r);l=re}break;case"String":{if(l){l.val=re;C=dE(re,l.cell.ixfe,"s");C.XF=x[C.ixfe];if(r.cellFormula){C.f=""+qp(l.formula,o,l.cell,V,F)}if(G>0)C.z=j[C.ixfe>>8&31];hE(C,r,t.opts.Date1904);O(l.cell,C,r);l=null}else throw new Error("String record expects Formula")}break;case"Array":{B.push(re);var ce=Vr(re[0].s);m=r.dense?(i[re[0].s.r]||[])[re[0].s.c]:i[ce];if(r.cellFormula&&m){if(!l)break;if(!ce||!m)break;m.f=""+qp(re[1],o,re[0],V,F);m.F=jr(re[0])}}break;case"ShrFmla":{if(!T)break;if(!r.cellFormula)break;if(p){if(!l)break;w[Vr(l.cell)]=re[0];m=r.dense?(i[l.cell.r]||[])[l.cell.c]:i[Vr(l.cell)];(m||{}).f=""+qp(re[0],o,v,V,F)}}break;case"LabelSst":C=dE(u[re.isst].t,re.ixfe,"s");C.XF=x[C.ixfe];if(G>0)C.z=j[C.ixfe>>8&31];hE(C,r,t.opts.Date1904);O({c:re.c,r:re.r},C,r);break;case"Blank":if(r.sheetStubs){C={ixfe:re.ixfe,XF:x[re.ixfe],t:"z"};if(G>0)C.z=j[C.ixfe>>8&31];hE(C,r,t.opts.Date1904);O({c:re.c,r:re.r},C,r)}break;case"MulBlank":if(r.sheetStubs){for(var ue=re.c;ue<=re.C;++ue){var he=re.ixfe[ue-re.c];C={ixfe:he,XF:x[he],t:"z"};if(G>0)C.z=j[C.ixfe>>8&31];hE(C,r,t.opts.Date1904);O({c:ue,r:re.r},C,r)}}break;case"RString":;case"Label":;case"BIFF2STR":C=dE(re.val,re.ixfe,"s");C.XF=x[C.ixfe];if(G>0)C.z=j[C.ixfe>>8&31];hE(C,r,t.opts.Date1904);O({c:re.c,r:re.r},C,r);break;case"Dimensions":{if(X===1)o=re}break;case"SST":{u=re}break;case"Format":{E.load(re[1],re[0])}break;case"BIFF2FORMAT":{j[G++]=re;for(var de=0;de=163)E.load(re,G+163)}break;case"MergeCells":P=P.concat(re);break;case"Obj":N[re.cmo[0]]=F.lastobj=re;break;case"TxO":F.lastobj.TxO=re;break;case"ImData":F.lastobj.ImData=re;break;case"HLink":{for(S=re[0].s.r;S<=re[0].e.r;++S)for(k=re[0].s.c;k<=re[0].e.c;++k){m=r.dense?(i[S]||[])[k]:i[Vr({c:k,r:S})];if(m)m.l=re[1]}}break;case"HLinkTooltip":{for(S=re[0].s.r;S<=re[0].e.r;++S)for(k=re[0].s.c;k<=re[0].e.c;++k){m=r.dense?(i[S]||[])[k]:i[Vr({c:k,r:S})];if(m)m.l.Tooltip=re[1]}}break;case"Note":{if(F.biff<=5&&F.biff>=2)break;m=r.dense?(i[re[0].r]||[])[re[0].c]:i[Vr(re[0])];var ve=N[re[2]];if(!m)break;if(!m.c)m.c=[];b={a:re[1],t:ve.TxO.t};m.c.push(b)}break;default:switch(q.n){case"ClrtClient":break;case"XFExt":jd(x[re.ixfe],re.ext);break;case"DefColWidth":U=re;break;case"DefaultRowHeight":H=re[1];break;case"ColInfo":{if(!F.cellStyles)break;while(re.e>=re.s){L[re.e--]={width:re.w/256};if(!W){W=true;Mh(re.w/256)}Hh(L[re.e+1])}}break;case"Row":{var pe={};if(re.level!=null){M[re.r]=pe;pe.level=re.level}if(re.hidden){M[re.r]=pe;pe.hidden=true}if(re.hpt){M[re.r]=pe;pe.hpt=re.hpt;pe.hpx=Xh(re.hpt)}}break;case"LeftMargin":;case"RightMargin":;case"TopMargin":;case"BottomMargin":if(!i["!margins"])bm(i["!margins"]={});i["!margins"][te.slice(0,-6).toLowerCase()]=re;break;case"Setup":if(!i["!margins"])bm(i["!margins"]={});i["!margins"].header=re.header;i["!margins"].footer=re.footer;break;case"Header":break;case"Footer":break;case"HCenter":break;case"VCenter":break;case"Pls":break;case"GCW":break;case"LHRecord":break;case"DBCell":break;case"EntExU2":break;case"SxView":break;case"Sxvd":break;case"SXVI":break;case"SXVDEx":break;case"SxIvd":break;case"SXString":break;case"Sync":break;case"Addin":break;case"SXDI":break;case"SXLI":break;case"SXEx":break;case"QsiSXTag":break;case"Selection":break;case"Feat":break;case"FeatHdr":;case"FeatHdr11":break;case"Feature11":;case"Feature12":;case"List12":break;case"Country":_=re;break;case"RecalcId":break;case"DxGCol":break;case"Fbi":;case"Fbi2":;case"GelFrame":break;case"Font":break;case"XFCRC":break;case"Style":break;case"StyleExt":break;case"Palette":I=re;break;case"Theme":break;case"ScenarioProtect":break;case"ObjProtect":break;case"CondFmt12":break;case"Table":break;case"TableStyles":break;case"TableStyle":break;case"TableStyleElement":break;case"SXStreamID":break;case"SXVS":break;case"DConRef":break;case"SXAddl":break;case"DConBin":break;case"DConName":break;case"SXPI":break;case"SxFormat":break;case"SxSelect":break;case"SxRule":break;case"SxFilt":break;case"SxItm":break;case"SxDXF":break;case"ScenMan":break;case"DCon":break;case"CellWatch":break;case"PrintRowCol":break;case"PrintGrid":break;case"PrintSize":break;case"XCT":break;case"CRN":break;case"Scl":{}break;case"SheetExt":{}break;case"SheetExtOptional":{}break;case"ObNoMacros":{}break;case"ObProj":{}break;case"CodeName":{}break;case"GUIDTypeLib":{}break;case"WOpt":break;case"PhoneticInfo":break;case"OleObjectSize":break;case"DXF":;case"DXFN":;case"DXFN12":;case"DXFN12List":;case"DXFN12NoCB":break;case"Dv":;case"DVal":break;case"BRAI":;case"Series":;case"SeriesText":break;case"DConn":break;case"DbOrParamQry":break;case"DBQueryExt":break;case"OleDbConn":break;case"ExtString":break;case"IFmtRecord":break;case"CondFmt":;case"CF":;case"CF12":;case"CFEx":break;case"Excel9File":break;case"Units":break;case"InterfaceHdr":;case"Mms":;case"InterfaceEnd":;case"DSF":;case"BuiltInFnGroupCount":break;case"Window1":;case"Window2":;case"HideObj":;case"GridSet":;case"Guts":;case"UserBView":;case"UserSViewBegin":;case"UserSViewEnd":;case"Pane":break;default:switch(q.n){case"Dat":;case"Begin":;case"End":;case"StartBlock":;case"EndBlock":;case"Frame":;case"Area":;case"Axis":;case"AxisLine":;case"Tick":break;case"AxesUsed":;case"CrtLayout12":;case"CrtLayout12A":;case"CrtLink":;case"CrtLine":;case"CrtMlFrt":;case"CrtMlFrtContinue":break;case"LineFormat":;case"AreaFormat":;case"Chart":;case"Chart3d":;case"Chart3DBarShape":;case"ChartFormat":;case"ChartFrtInfo":break;case"PlotArea":;case"PlotGrowth":break;case"SeriesList":;case"SerParent":;case"SerAuxTrend":break;case"DataFormat":;case"SerToCrt":;case"FontX":break;case"CatSerRange":;case"AxcExt":;case"SerFmt":break;case"ShtProps":break;case"DefaultText":;case"Text":;case"CatLab":break;case"DataLabExtContents":break;case"Legend":;case"LegendException":break;case"Pie":;case"Scatter":break;case"PieFormat":;case"MarkerFormat":break;case"StartObject":;case"EndObject":break;case"AlRuns":;case"ObjectLink":break;case"SIIndex":break;case"AttachedLabel":;case"YMult":break;case"Line":;case"Bar":break;case"Surf":break;case"AxisParent":break;case"Pos":break;case"ValueRange":break;case"SXViewEx9":break;case"SXViewLink":break;case"PivotChartBits":break;case"SBaseRef":break;case"TextPropsStream":break;case"LnExt":break;case"MkrExt":break;case"CrtCoopt":break;case"Qsi":;case"Qsif":;case"Qsir":;case"QsiSXTag":break;case"TxtQry":break;case"FilterMode":break;case"AutoFilter":;case"AutoFilterInfo":break;case"AutoFilter12":break;case"DropDownObjIds":break;case"Sort":break;case"SortData":break;case"ShapePropsStream":break;case"MsoDrawing":;case"MsoDrawingGroup":;case"MsoDrawingSelection":break;case"WebPub":;case"AutoWebPub":break;case"HeaderFooter":;case"HFPicture":;case"PLV":;case"HorizontalPageBreaks":;case"VerticalPageBreaks":break;case"Backup":;case"CompressPictures":;case"Compat12":break;case"Continue":;case"ContinueFrt12":break;case"FrtFontList":;case"FrtWrapper":break;default:switch(q.n){case"TabIdConf":;case"Radar":;case"RadarArea":;case"DropBar":;case"Intl":;case"CoordList":;case"SerAuxErrBar":break;case"BIFF2FONTCLR":;case"BIFF2FMTCNT":;case"BIFF2FONTXTRA":break;case"BIFF2XF":;case"BIFF3XF":;case"BIFF4XF":break;case"BIFF4FMTCNT":;case"BIFF2ROW":;case"BIFF2WINDOW2":break;case"SCENARIO":;case"DConBin":;case"PicF":;case"DataLabExt":;case"Lel":;case"BopPop":;case"BopPopCustom":;case"RealTimeData":;case"Name":break;case"LHNGraph":;case"FnGroupName":;case"AddMenu":;case"LPr":break;case"ListObj":;case"ListField":break;case"RRSort":break;case"BigName":break;default:if(r.WTF)throw"Unrecognized Record "+q.n;};};};}}else e.l+=Q}var me=Object.keys(s).sort(function(e,r){return Number(e)-Number(r)}).map(function(e){return s[e].name});var be=me.slice();t.Directory=me;t.SheetNames=me;if(!r.bookSheets)t.Sheets=a;if(t.Sheets)K.forEach(function(e,r){t.Sheets[t.SheetNames[r]]["!autofilter"]=e});t.Preamble=d;t.Strings=u;t.SSF=E.get_table();if(F.enc)t.Encryption=F.enc;t.Metadata={};if(_!==undefined)t.Metadata.Country=_;if(V.names.length>0)A.Names=V.names;t.Workbook=A;return t}function pE(e){var r=e.find("!DocumentSummaryInformation");if(r)try{e.DocSummary=en(r,Xt)}catch(t){}var a=e.find("!SummaryInformation");if(a)try{e.Summary=en(a,Gt)}catch(t){}}function mE(e,r){if(!r)r={};KE(r);a();var t,n,i;if(e.FullPaths){t=e.find("!CompObj");n=e.find("!SummaryInformation");i=e.find("/Workbook")}else{gr(e,0);i={content:e}}if(!i)i=e.find("/Book");var s,f,o;if(t)s=cE(t);if(r.bookProps&&!r.bookSheets)o={};else{if(i)o=vE(i.content,r);else if(e.find("PerfectOffice_MAIN"))o=Nu.to_workbook(e.find("PerfectOffice_MAIN").content,r);else if(e.find("NativeContent_MAIN"))o=Nu.to_workbook(e.find("NativeContent_MAIN").content,r);else throw new Error("Cannot find Workbook stream")}if(e.FullPaths)pE(e);var l={};for(var c in e.Summary)l[c]=e.Summary[c];for(c in e.DocSummary)l[c]=e.DocSummary[c];o.Props=o.Custprops=l;if(r.bookFiles)o.cfb=e;return o}var bE={0:{n:"BrtRowHdr",f:Xm},1:{n:"BrtCellBlank",f:Jm},2:{n:"BrtCellRk",f:fb},3:{n:"BrtCellError",f:tb},4:{n:"BrtCellBool",f:eb},5:{n:"BrtCellReal",f:ib},6:{n:"BrtCellSt",f:lb},7:{n:"BrtCellIsst",f:ab},8:{n:"BrtFmlaString",f:vb},9:{n:"BrtFmlaNum",f:db},10:{n:"BrtFmlaBool",f:ub},11:{n:"BrtFmlaError",f:hb},16:{n:"BrtFRTArchID$",f:dg},19:{n:"BrtSSTItem",f:at},20:{n:"BrtPCDIMissing",f:Er},21:{n:"BrtPCDINumber",f:Er},22:{n:"BrtPCDIBoolean",f:Er},23:{n:"BrtPCDIError",f:Er},24:{n:"BrtPCDIString",f:Er},25:{n:"BrtPCDIDatetime",f:Er},26:{n:"BrtPCDIIndex",f:Er},27:{n:"BrtPCDIAMissing",f:Er},28:{n:"BrtPCDIANumber",f:Er},29:{n:"BrtPCDIABoolean",f:Er},30:{n:"BrtPCDIAError",f:Er},31:{n:"BrtPCDIAString",f:Er},32:{n:"BrtPCDIADatetime",f:Er},33:{n:"BrtPCRRecord",f:Er},34:{n:"BrtPCRRecordDt",f:Er},35:{n:"BrtFRTBegin",f:Er},36:{n:"BrtFRTEnd",f:Er},37:{n:"BrtACBegin",f:Er},38:{n:"BrtACEnd",f:Er},39:{n:"BrtName",f:vg},40:{n:"BrtIndexRowBlock",f:Er},42:{n:"BrtIndexBlock",f:Er},43:{n:"BrtFont",f:sd},44:{n:"BrtFmt",f:nd},45:{n:"BrtFill",f:Er},46:{n:"BrtBorder",f:Er},47:{n:"BrtXF",f:ud},48:{n:"BrtStyle",f:Er},49:{n:"BrtCellMeta",f:Er},50:{n:"BrtValueMeta",f:Er},51:{n:"BrtMdb",f:Er},52:{n:"BrtBeginFmd",f:Er},53:{n:"BrtEndFmd",f:Er},54:{n:"BrtBeginMdx",f:Er},55:{n:"BrtEndMdx",f:Er},56:{n:"BrtBeginMdxTuple",f:Er},57:{n:"BrtEndMdxTuple",f:Er},58:{n:"BrtMdxMbrIstr",f:Er},59:{n:"BrtStr",f:Er},60:{n:"BrtColInfo",f:Mi},62:{n:"BrtCellRString",f:Er},63:{n:"BrtCalcChainItem$",f:$d},64:{n:"BrtDVal",f:Er},65:{n:"BrtSxvcellNum", -f:Er},66:{n:"BrtSxvcellStr",f:Er},67:{n:"BrtSxvcellBool",f:Er},68:{n:"BrtSxvcellErr",f:Er},69:{n:"BrtSxvcellDate",f:Er},70:{n:"BrtSxvcellNil",f:Er},128:{n:"BrtFileVersion",f:Er},129:{n:"BrtBeginSheet",f:Er},130:{n:"BrtEndSheet",f:Er},131:{n:"BrtBeginBook",f:Er,p:0},132:{n:"BrtEndBook",f:Er},133:{n:"BrtBeginWsViews",f:Er},134:{n:"BrtEndWsViews",f:Er},135:{n:"BrtBeginBookViews",f:Er},136:{n:"BrtEndBookViews",f:Er},137:{n:"BrtBeginWsView",f:Er},138:{n:"BrtEndWsView",f:Er},139:{n:"BrtBeginCsViews",f:Er},140:{n:"BrtEndCsViews",f:Er},141:{n:"BrtBeginCsView",f:Er},142:{n:"BrtEndCsView",f:Er},143:{n:"BrtBeginBundleShs",f:Er},144:{n:"BrtEndBundleShs",f:Er},145:{n:"BrtBeginSheetData",f:Er},146:{n:"BrtEndSheetData",f:Er},147:{n:"BrtWsProp",f:Zm},148:{n:"BrtWsDim",f:Km,p:16},151:{n:"BrtPane",f:Er},152:{n:"BrtSel",f:Er},153:{n:"BrtWbProp",f:ug},154:{n:"BrtWbFactoid",f:Er},155:{n:"BrtFileRecover",f:Er},156:{n:"BrtBundleSh",f:lg},157:{n:"BrtCalcProp",f:Er},158:{n:"BrtBookView",f:Er},159:{n:"BrtBeginSst",f:$u},160:{n:"BrtEndSst",f:Er},161:{n:"BrtBeginAFilter",f:St},162:{n:"BrtEndAFilter",f:Er},163:{n:"BrtBeginFilterColumn",f:Er},164:{n:"BrtEndFilterColumn",f:Er},165:{n:"BrtBeginFilters",f:Er},166:{n:"BrtEndFilters",f:Er},167:{n:"BrtFilter",f:Er},168:{n:"BrtColorFilter",f:Er},169:{n:"BrtIconFilter",f:Er},170:{n:"BrtTop10Filter",f:Er},171:{n:"BrtDynamicFilter",f:Er},172:{n:"BrtBeginCustomFilters",f:Er},173:{n:"BrtEndCustomFilters",f:Er},174:{n:"BrtCustomFilter",f:Er},175:{n:"BrtAFilterDateGroupItem",f:Er},176:{n:"BrtMergeCell",f:pb},177:{n:"BrtBeginMergeCells",f:Er},178:{n:"BrtEndMergeCells",f:Er},179:{n:"BrtBeginPivotCacheDef",f:Er},180:{n:"BrtEndPivotCacheDef",f:Er},181:{n:"BrtBeginPCDFields",f:Er},182:{n:"BrtEndPCDFields",f:Er},183:{n:"BrtBeginPCDField",f:Er},184:{n:"BrtEndPCDField",f:Er},185:{n:"BrtBeginPCDSource",f:Er},186:{n:"BrtEndPCDSource",f:Er},187:{n:"BrtBeginPCDSRange",f:Er},188:{n:"BrtEndPCDSRange",f:Er},189:{n:"BrtBeginPCDFAtbl",f:Er},190:{n:"BrtEndPCDFAtbl",f:Er},191:{n:"BrtBeginPCDIRun",f:Er},192:{n:"BrtEndPCDIRun",f:Er},193:{n:"BrtBeginPivotCacheRecords",f:Er},194:{n:"BrtEndPivotCacheRecords",f:Er},195:{n:"BrtBeginPCDHierarchies",f:Er},196:{n:"BrtEndPCDHierarchies",f:Er},197:{n:"BrtBeginPCDHierarchy",f:Er},198:{n:"BrtEndPCDHierarchy",f:Er},199:{n:"BrtBeginPCDHFieldsUsage",f:Er},200:{n:"BrtEndPCDHFieldsUsage",f:Er},201:{n:"BrtBeginExtConnection",f:Er},202:{n:"BrtEndExtConnection",f:Er},203:{n:"BrtBeginECDbProps",f:Er},204:{n:"BrtEndECDbProps",f:Er},205:{n:"BrtBeginECOlapProps",f:Er},206:{n:"BrtEndECOlapProps",f:Er},207:{n:"BrtBeginPCDSConsol",f:Er},208:{n:"BrtEndPCDSConsol",f:Er},209:{n:"BrtBeginPCDSCPages",f:Er},210:{n:"BrtEndPCDSCPages",f:Er},211:{n:"BrtBeginPCDSCPage",f:Er},212:{n:"BrtEndPCDSCPage",f:Er},213:{n:"BrtBeginPCDSCPItem",f:Er},214:{n:"BrtEndPCDSCPItem",f:Er},215:{n:"BrtBeginPCDSCSets",f:Er},216:{n:"BrtEndPCDSCSets",f:Er},217:{n:"BrtBeginPCDSCSet",f:Er},218:{n:"BrtEndPCDSCSet",f:Er},219:{n:"BrtBeginPCDFGroup",f:Er},220:{n:"BrtEndPCDFGroup",f:Er},221:{n:"BrtBeginPCDFGItems",f:Er},222:{n:"BrtEndPCDFGItems",f:Er},223:{n:"BrtBeginPCDFGRange",f:Er},224:{n:"BrtEndPCDFGRange",f:Er},225:{n:"BrtBeginPCDFGDiscrete",f:Er},226:{n:"BrtEndPCDFGDiscrete",f:Er},227:{n:"BrtBeginPCDSDTupleCache",f:Er},228:{n:"BrtEndPCDSDTupleCache",f:Er},229:{n:"BrtBeginPCDSDTCEntries",f:Er},230:{n:"BrtEndPCDSDTCEntries",f:Er},231:{n:"BrtBeginPCDSDTCEMembers",f:Er},232:{n:"BrtEndPCDSDTCEMembers",f:Er},233:{n:"BrtBeginPCDSDTCEMember",f:Er},234:{n:"BrtEndPCDSDTCEMember",f:Er},235:{n:"BrtBeginPCDSDTCQueries",f:Er},236:{n:"BrtEndPCDSDTCQueries",f:Er},237:{n:"BrtBeginPCDSDTCQuery",f:Er},238:{n:"BrtEndPCDSDTCQuery",f:Er},239:{n:"BrtBeginPCDSDTCSets",f:Er},240:{n:"BrtEndPCDSDTCSets",f:Er},241:{n:"BrtBeginPCDSDTCSet",f:Er},242:{n:"BrtEndPCDSDTCSet",f:Er},243:{n:"BrtBeginPCDCalcItems",f:Er},244:{n:"BrtEndPCDCalcItems",f:Er},245:{n:"BrtBeginPCDCalcItem",f:Er},246:{n:"BrtEndPCDCalcItem",f:Er},247:{n:"BrtBeginPRule",f:Er},248:{n:"BrtEndPRule",f:Er},249:{n:"BrtBeginPRFilters",f:Er},250:{n:"BrtEndPRFilters",f:Er},251:{n:"BrtBeginPRFilter",f:Er},252:{n:"BrtEndPRFilter",f:Er},253:{n:"BrtBeginPNames",f:Er},254:{n:"BrtEndPNames",f:Er},255:{n:"BrtBeginPName",f:Er},256:{n:"BrtEndPName",f:Er},257:{n:"BrtBeginPNPairs",f:Er},258:{n:"BrtEndPNPairs",f:Er},259:{n:"BrtBeginPNPair",f:Er},260:{n:"BrtEndPNPair",f:Er},261:{n:"BrtBeginECWebProps",f:Er},262:{n:"BrtEndECWebProps",f:Er},263:{n:"BrtBeginEcWpTables",f:Er},264:{n:"BrtEndECWPTables",f:Er},265:{n:"BrtBeginECParams",f:Er},266:{n:"BrtEndECParams",f:Er},267:{n:"BrtBeginECParam",f:Er},268:{n:"BrtEndECParam",f:Er},269:{n:"BrtBeginPCDKPIs",f:Er},270:{n:"BrtEndPCDKPIs",f:Er},271:{n:"BrtBeginPCDKPI",f:Er},272:{n:"BrtEndPCDKPI",f:Er},273:{n:"BrtBeginDims",f:Er},274:{n:"BrtEndDims",f:Er},275:{n:"BrtBeginDim",f:Er},276:{n:"BrtEndDim",f:Er},277:{n:"BrtIndexPartEnd",f:Er},278:{n:"BrtBeginStyleSheet",f:Er},279:{n:"BrtEndStyleSheet",f:Er},280:{n:"BrtBeginSXView",f:Er},281:{n:"BrtEndSXVI",f:Er},282:{n:"BrtBeginSXVI",f:Er},283:{n:"BrtBeginSXVIs",f:Er},284:{n:"BrtEndSXVIs",f:Er},285:{n:"BrtBeginSXVD",f:Er},286:{n:"BrtEndSXVD",f:Er},287:{n:"BrtBeginSXVDs",f:Er},288:{n:"BrtEndSXVDs",f:Er},289:{n:"BrtBeginSXPI",f:Er},290:{n:"BrtEndSXPI",f:Er},291:{n:"BrtBeginSXPIs",f:Er},292:{n:"BrtEndSXPIs",f:Er},293:{n:"BrtBeginSXDI",f:Er},294:{n:"BrtEndSXDI",f:Er},295:{n:"BrtBeginSXDIs",f:Er},296:{n:"BrtEndSXDIs",f:Er},297:{n:"BrtBeginSXLI",f:Er},298:{n:"BrtEndSXLI",f:Er},299:{n:"BrtBeginSXLIRws",f:Er},300:{n:"BrtEndSXLIRws",f:Er},301:{n:"BrtBeginSXLICols",f:Er},302:{n:"BrtEndSXLICols",f:Er},303:{n:"BrtBeginSXFormat",f:Er},304:{n:"BrtEndSXFormat",f:Er},305:{n:"BrtBeginSXFormats",f:Er},306:{n:"BrtEndSxFormats",f:Er},307:{n:"BrtBeginSxSelect",f:Er},308:{n:"BrtEndSxSelect",f:Er},309:{n:"BrtBeginISXVDRws",f:Er},310:{n:"BrtEndISXVDRws",f:Er},311:{n:"BrtBeginISXVDCols",f:Er},312:{n:"BrtEndISXVDCols",f:Er},313:{n:"BrtEndSXLocation",f:Er},314:{n:"BrtBeginSXLocation",f:Er},315:{n:"BrtEndSXView",f:Er},316:{n:"BrtBeginSXTHs",f:Er},317:{n:"BrtEndSXTHs",f:Er},318:{n:"BrtBeginSXTH",f:Er},319:{n:"BrtEndSXTH",f:Er},320:{n:"BrtBeginISXTHRws",f:Er},321:{n:"BrtEndISXTHRws",f:Er},322:{n:"BrtBeginISXTHCols",f:Er},323:{n:"BrtEndISXTHCols",f:Er},324:{n:"BrtBeginSXTDMPS",f:Er},325:{n:"BrtEndSXTDMPs",f:Er},326:{n:"BrtBeginSXTDMP",f:Er},327:{n:"BrtEndSXTDMP",f:Er},328:{n:"BrtBeginSXTHItems",f:Er},329:{n:"BrtEndSXTHItems",f:Er},330:{n:"BrtBeginSXTHItem",f:Er},331:{n:"BrtEndSXTHItem",f:Er},332:{n:"BrtBeginMetadata",f:Er},333:{n:"BrtEndMetadata",f:Er},334:{n:"BrtBeginEsmdtinfo",f:Er},335:{n:"BrtMdtinfo",f:Er},336:{n:"BrtEndEsmdtinfo",f:Er},337:{n:"BrtBeginEsmdb",f:Er},338:{n:"BrtEndEsmdb",f:Er},339:{n:"BrtBeginEsfmd",f:Er},340:{n:"BrtEndEsfmd",f:Er},341:{n:"BrtBeginSingleCells",f:Er},342:{n:"BrtEndSingleCells",f:Er},343:{n:"BrtBeginList",f:Er},344:{n:"BrtEndList",f:Er},345:{n:"BrtBeginListCols",f:Er},346:{n:"BrtEndListCols",f:Er},347:{n:"BrtBeginListCol",f:Er},348:{n:"BrtEndListCol",f:Er},349:{n:"BrtBeginListXmlCPr",f:Er},350:{n:"BrtEndListXmlCPr",f:Er},351:{n:"BrtListCCFmla",f:Er},352:{n:"BrtListTrFmla",f:Er},353:{n:"BrtBeginExternals",f:Er},354:{n:"BrtEndExternals",f:Er},355:{n:"BrtSupBookSrc",f:pt},357:{n:"BrtSupSelf",f:Er},358:{n:"BrtSupSame",f:Er},359:{n:"BrtSupTabs",f:Er},360:{n:"BrtBeginSupBook",f:Er},361:{n:"BrtPlaceholderName",f:Er},362:{n:"BrtExternSheet",f:gi},363:{n:"BrtExternTableStart",f:Er},364:{n:"BrtExternTableEnd",f:Er},366:{n:"BrtExternRowHdr",f:Er},367:{n:"BrtExternCellBlank",f:Er},368:{n:"BrtExternCellReal",f:Er},369:{n:"BrtExternCellBool",f:Er},370:{n:"BrtExternCellError",f:Er},371:{n:"BrtExternCellString",f:Er},372:{n:"BrtBeginEsmdx",f:Er},373:{n:"BrtEndEsmdx",f:Er},374:{n:"BrtBeginMdxSet",f:Er},375:{n:"BrtEndMdxSet",f:Er},376:{n:"BrtBeginMdxMbrProp",f:Er},377:{n:"BrtEndMdxMbrProp",f:Er},378:{n:"BrtBeginMdxKPI",f:Er},379:{n:"BrtEndMdxKPI",f:Er},380:{n:"BrtBeginEsstr",f:Er},381:{n:"BrtEndEsstr",f:Er},382:{n:"BrtBeginPRFItem",f:Er},383:{n:"BrtEndPRFItem",f:Er},384:{n:"BrtBeginPivotCacheIDs",f:Er},385:{n:"BrtEndPivotCacheIDs",f:Er},386:{n:"BrtBeginPivotCacheID",f:Er},387:{n:"BrtEndPivotCacheID",f:Er},388:{n:"BrtBeginISXVIs",f:Er},389:{n:"BrtEndISXVIs",f:Er},390:{n:"BrtBeginColInfos",f:Er},391:{n:"BrtEndColInfos",f:Er},392:{n:"BrtBeginRwBrk",f:Er},393:{n:"BrtEndRwBrk",f:Er},394:{n:"BrtBeginColBrk",f:Er},395:{n:"BrtEndColBrk",f:Er},396:{n:"BrtBrk",f:Er},397:{n:"BrtUserBookView",f:Er},398:{n:"BrtInfo",f:Er},399:{n:"BrtCUsr",f:Er},400:{n:"BrtUsr",f:Er},401:{n:"BrtBeginUsers",f:Er},403:{n:"BrtEOF",f:Er},404:{n:"BrtUCR",f:Er},405:{n:"BrtRRInsDel",f:Er},406:{n:"BrtRREndInsDel",f:Er},407:{n:"BrtRRMove",f:Er},408:{n:"BrtRREndMove",f:Er},409:{n:"BrtRRChgCell",f:Er},410:{n:"BrtRREndChgCell",f:Er},411:{n:"BrtRRHeader",f:Er},412:{n:"BrtRRUserView",f:Er},413:{n:"BrtRRRenSheet",f:Er},414:{n:"BrtRRInsertSh",f:Er},415:{n:"BrtRRDefName",f:Er},416:{n:"BrtRRNote",f:Er},417:{n:"BrtRRConflict",f:Er},418:{n:"BrtRRTQSIF",f:Er},419:{n:"BrtRRFormat",f:Er},420:{n:"BrtRREndFormat",f:Er},421:{n:"BrtRRAutoFmt",f:Er},422:{n:"BrtBeginUserShViews",f:Er},423:{n:"BrtBeginUserShView",f:Er},424:{n:"BrtEndUserShView",f:Er},425:{n:"BrtEndUserShViews",f:Er},426:{n:"BrtArrFmla",f:kb},427:{n:"BrtShrFmla",f:Sb},428:{n:"BrtTable",f:Er},429:{n:"BrtBeginExtConnections",f:Er},430:{n:"BrtEndExtConnections",f:Er},431:{n:"BrtBeginPCDCalcMems",f:Er},432:{n:"BrtEndPCDCalcMems",f:Er},433:{n:"BrtBeginPCDCalcMem",f:Er},434:{n:"BrtEndPCDCalcMem",f:Er},435:{n:"BrtBeginPCDHGLevels",f:Er},436:{n:"BrtEndPCDHGLevels",f:Er},437:{n:"BrtBeginPCDHGLevel",f:Er},438:{n:"BrtEndPCDHGLevel",f:Er},439:{n:"BrtBeginPCDHGLGroups",f:Er},440:{n:"BrtEndPCDHGLGroups",f:Er},441:{n:"BrtBeginPCDHGLGroup",f:Er},442:{n:"BrtEndPCDHGLGroup",f:Er},443:{n:"BrtBeginPCDHGLGMembers",f:Er},444:{n:"BrtEndPCDHGLGMembers",f:Er},445:{n:"BrtBeginPCDHGLGMember",f:Er},446:{n:"BrtEndPCDHGLGMember",f:Er},447:{n:"BrtBeginQSI",f:Er},448:{n:"BrtEndQSI",f:Er},449:{n:"BrtBeginQSIR",f:Er},450:{n:"BrtEndQSIR",f:Er},451:{n:"BrtBeginDeletedNames",f:Er},452:{n:"BrtEndDeletedNames",f:Er},453:{n:"BrtBeginDeletedName",f:Er},454:{n:"BrtEndDeletedName",f:Er},455:{n:"BrtBeginQSIFs",f:Er},456:{n:"BrtEndQSIFs",f:Er},457:{n:"BrtBeginQSIF",f:Er},458:{n:"BrtEndQSIF",f:Er},459:{n:"BrtBeginAutoSortScope",f:Er},460:{n:"BrtEndAutoSortScope",f:Er},461:{n:"BrtBeginConditionalFormatting",f:Er},462:{n:"BrtEndConditionalFormatting",f:Er},463:{n:"BrtBeginCFRule",f:Er},464:{n:"BrtEndCFRule",f:Er},465:{n:"BrtBeginIconSet",f:Er},466:{n:"BrtEndIconSet",f:Er},467:{n:"BrtBeginDatabar",f:Er},468:{n:"BrtEndDatabar",f:Er},469:{n:"BrtBeginColorScale",f:Er},470:{n:"BrtEndColorScale",f:Er},471:{n:"BrtCFVO",f:Er},472:{n:"BrtExternValueMeta",f:Er},473:{n:"BrtBeginColorPalette",f:Er},474:{n:"BrtEndColorPalette",f:Er},475:{n:"BrtIndexedColor",f:Er},476:{n:"BrtMargins",f:Bb},477:{n:"BrtPrintOptions",f:Er},478:{n:"BrtPageSetup",f:Er},479:{n:"BrtBeginHeaderFooter",f:Er},480:{n:"BrtEndHeaderFooter",f:Er},481:{n:"BrtBeginSXCrtFormat",f:Er},482:{n:"BrtEndSXCrtFormat",f:Er},483:{n:"BrtBeginSXCrtFormats",f:Er},484:{n:"BrtEndSXCrtFormats",f:Er},485:{n:"BrtWsFmtInfo",f:$m},486:{n:"BrtBeginMgs",f:Er},487:{n:"BrtEndMGs",f:Er},488:{n:"BrtBeginMGMaps",f:Er},489:{n:"BrtEndMGMaps",f:Er},490:{n:"BrtBeginMG",f:Er},491:{n:"BrtEndMG",f:Er},492:{n:"BrtBeginMap",f:Er},493:{n:"BrtEndMap",f:Er},494:{n:"BrtHLink",f:gb},495:{n:"BrtBeginDCon",f:Er},496:{n:"BrtEndDCon",f:Er},497:{n:"BrtBeginDRefs",f:Er},498:{n:"BrtEndDRefs",f:Er},499:{n:"BrtDRef",f:Er},500:{n:"BrtBeginScenMan",f:Er},501:{n:"BrtEndScenMan",f:Er},502:{n:"BrtBeginSct",f:Er},503:{n:"BrtEndSct",f:Er},504:{n:"BrtSlc",f:Er},505:{n:"BrtBeginDXFs",f:Er},506:{n:"BrtEndDXFs",f:Er},507:{n:"BrtDXF",f:Er},508:{n:"BrtBeginTableStyles",f:Er},509:{n:"BrtEndTableStyles",f:Er},510:{n:"BrtBeginTableStyle",f:Er},511:{n:"BrtEndTableStyle",f:Er},512:{n:"BrtTableStyleElement",f:Er},513:{n:"BrtTableStyleClient",f:Er},514:{n:"BrtBeginVolDeps",f:Er},515:{n:"BrtEndVolDeps",f:Er},516:{n:"BrtBeginVolType",f:Er},517:{n:"BrtEndVolType",f:Er},518:{n:"BrtBeginVolMain",f:Er},519:{n:"BrtEndVolMain",f:Er},520:{n:"BrtBeginVolTopic",f:Er},521:{n:"BrtEndVolTopic",f:Er},522:{n:"BrtVolSubtopic",f:Er},523:{n:"BrtVolRef",f:Er},524:{n:"BrtVolNum",f:Er},525:{n:"BrtVolErr",f:Er},526:{n:"BrtVolStr",f:Er},527:{n:"BrtVolBool",f:Er},528:{n:"BrtBeginCalcChain$",f:Er},529:{n:"BrtEndCalcChain$",f:Er},530:{n:"BrtBeginSortState",f:Er},531:{n:"BrtEndSortState",f:Er},532:{n:"BrtBeginSortCond",f:Er},533:{n:"BrtEndSortCond",f:Er},534:{n:"BrtBookProtection",f:Er},535:{n:"BrtSheetProtection",f:Er},536:{n:"BrtRangeProtection",f:Er},537:{n:"BrtPhoneticInfo",f:Er},538:{n:"BrtBeginECTxtWiz",f:Er},539:{n:"BrtEndECTxtWiz",f:Er},540:{n:"BrtBeginECTWFldInfoLst",f:Er},541:{n:"BrtEndECTWFldInfoLst",f:Er},542:{n:"BrtBeginECTwFldInfo",f:Er},548:{n:"BrtFileSharing",f:Er},549:{n:"BrtOleSize",f:Er},550:{n:"BrtDrawing",f:pt},551:{n:"BrtLegacyDrawing",f:Er},552:{n:"BrtLegacyDrawingHF",f:Er},553:{n:"BrtWebOpt",f:Er},554:{n:"BrtBeginWebPubItems",f:Er},555:{n:"BrtEndWebPubItems",f:Er},556:{n:"BrtBeginWebPubItem",f:Er},557:{n:"BrtEndWebPubItem",f:Er},558:{n:"BrtBeginSXCondFmt",f:Er},559:{n:"BrtEndSXCondFmt",f:Er},560:{n:"BrtBeginSXCondFmts",f:Er},561:{n:"BrtEndSXCondFmts",f:Er},562:{n:"BrtBkHim",f:Er},564:{n:"BrtColor",f:Er},565:{n:"BrtBeginIndexedColors",f:Er},566:{n:"BrtEndIndexedColors",f:Er},569:{n:"BrtBeginMRUColors",f:Er},570:{n:"BrtEndMRUColors",f:Er},572:{n:"BrtMRUColor",f:Er},573:{n:"BrtBeginDVals",f:Er},574:{n:"BrtEndDVals",f:Er},577:{n:"BrtSupNameStart",f:Er},578:{n:"BrtSupNameValueStart",f:Er},579:{n:"BrtSupNameValueEnd",f:Er},580:{n:"BrtSupNameNum",f:Er},581:{n:"BrtSupNameErr",f:Er},582:{n:"BrtSupNameSt",f:Er},583:{n:"BrtSupNameNil",f:Er},584:{n:"BrtSupNameBool",f:Er},585:{n:"BrtSupNameFmla",f:Er},586:{n:"BrtSupNameBits",f:Er},587:{n:"BrtSupNameEnd",f:Er},588:{n:"BrtEndSupBook",f:Er},589:{n:"BrtCellSmartTagProperty",f:Er},590:{n:"BrtBeginCellSmartTag",f:Er},591:{n:"BrtEndCellSmartTag",f:Er},592:{n:"BrtBeginCellSmartTags",f:Er},593:{n:"BrtEndCellSmartTags",f:Er},594:{n:"BrtBeginSmartTags",f:Er},595:{n:"BrtEndSmartTags",f:Er},596:{n:"BrtSmartTagType",f:Er},597:{n:"BrtBeginSmartTagTypes",f:Er},598:{n:"BrtEndSmartTagTypes",f:Er},599:{n:"BrtBeginSXFilters",f:Er},600:{n:"BrtEndSXFilters",f:Er},601:{n:"BrtBeginSXFILTER",f:Er},602:{n:"BrtEndSXFilter",f:Er},603:{n:"BrtBeginFills",f:Er},604:{n:"BrtEndFills",f:Er},605:{n:"BrtBeginCellWatches",f:Er},606:{n:"BrtEndCellWatches",f:Er},607:{n:"BrtCellWatch",f:Er},608:{n:"BrtBeginCRErrs",f:Er},609:{n:"BrtEndCRErrs",f:Er},610:{n:"BrtCrashRecErr",f:Er},611:{n:"BrtBeginFonts",f:Er},612:{n:"BrtEndFonts",f:Er},613:{n:"BrtBeginBorders",f:Er},614:{n:"BrtEndBorders",f:Er},615:{n:"BrtBeginFmts",f:Er},616:{n:"BrtEndFmts",f:Er},617:{n:"BrtBeginCellXFs",f:Er},618:{n:"BrtEndCellXFs",f:Er},619:{n:"BrtBeginStyles",f:Er},620:{n:"BrtEndStyles",f:Er},625:{n:"BrtBigName",f:Er},626:{n:"BrtBeginCellStyleXFs",f:Er},627:{n:"BrtEndCellStyleXFs",f:Er},628:{n:"BrtBeginComments",f:Er},629:{n:"BrtEndComments",f:Er},630:{n:"BrtBeginCommentAuthors",f:Er},631:{n:"BrtEndCommentAuthors",f:Er},632:{n:"BrtCommentAuthor",f:ov},633:{n:"BrtBeginCommentList",f:Er},634:{n:"BrtEndCommentList",f:Er},635:{n:"BrtBeginComment",f:sv},636:{n:"BrtEndComment",f:Er},637:{n:"BrtCommentText",f:it},638:{n:"BrtBeginOleObjects",f:Er},639:{n:"BrtOleObject",f:Er},640:{n:"BrtEndOleObjects",f:Er},641:{n:"BrtBeginSxrules",f:Er},642:{n:"BrtEndSxRules",f:Er},643:{n:"BrtBeginActiveXControls",f:Er},644:{n:"BrtActiveX",f:Er},645:{n:"BrtEndActiveXControls",f:Er},646:{n:"BrtBeginPCDSDTCEMembersSortBy",f:Er},648:{n:"BrtBeginCellIgnoreECs",f:Er},649:{n:"BrtCellIgnoreEC",f:Er},650:{n:"BrtEndCellIgnoreECs",f:Er},651:{n:"BrtCsProp",f:Er},652:{n:"BrtCsPageSetup",f:Er},653:{n:"BrtBeginUserCsViews",f:Er},654:{n:"BrtEndUserCsViews",f:Er},655:{n:"BrtBeginUserCsView",f:Er},656:{n:"BrtEndUserCsView",f:Er},657:{n:"BrtBeginPcdSFCIEntries",f:Er},658:{n:"BrtEndPCDSFCIEntries",f:Er},659:{n:"BrtPCDSFCIEntry",f:Er},660:{n:"BrtBeginListParts",f:Er},661:{n:"BrtListPart",f:Er},662:{n:"BrtEndListParts",f:Er},663:{n:"BrtSheetCalcProp",f:Er},664:{n:"BrtBeginFnGroup",f:Er},665:{n:"BrtFnGroup",f:Er},666:{n:"BrtEndFnGroup",f:Er},667:{n:"BrtSupAddin",f:Er},668:{n:"BrtSXTDMPOrder",f:Er},669:{n:"BrtCsProtection",f:Er},671:{n:"BrtBeginWsSortMap",f:Er},672:{n:"BrtEndWsSortMap",f:Er},673:{n:"BrtBeginRRSort",f:Er},674:{n:"BrtEndRRSort",f:Er},675:{n:"BrtRRSortItem",f:Er},676:{n:"BrtFileSharingIso",f:Er},677:{n:"BrtBookProtectionIso",f:Er},678:{n:"BrtSheetProtectionIso",f:Er},679:{n:"BrtCsProtectionIso",f:Er},680:{n:"BrtRangeProtectionIso",f:Er},1024:{n:"BrtRwDescent",f:Er},1025:{n:"BrtKnownFonts",f:Er},1026:{n:"BrtBeginSXTupleSet",f:Er},1027:{n:"BrtEndSXTupleSet",f:Er},1028:{n:"BrtBeginSXTupleSetHeader",f:Er},1029:{n:"BrtEndSXTupleSetHeader",f:Er},1030:{n:"BrtSXTupleSetHeaderItem",f:Er},1031:{n:"BrtBeginSXTupleSetData",f:Er},1032:{n:"BrtEndSXTupleSetData",f:Er},1033:{n:"BrtBeginSXTupleSetRow",f:Er},1034:{n:"BrtEndSXTupleSetRow",f:Er},1035:{n:"BrtSXTupleSetRowItem",f:Er},1036:{n:"BrtNameExt",f:Er},1037:{n:"BrtPCDH14",f:Er},1038:{n:"BrtBeginPCDCalcMem14",f:Er},1039:{n:"BrtEndPCDCalcMem14",f:Er},1040:{n:"BrtSXTH14",f:Er},1041:{n:"BrtBeginSparklineGroup",f:Er},1042:{n:"BrtEndSparklineGroup",f:Er},1043:{n:"BrtSparkline",f:Er},1044:{n:"BrtSXDI14",f:Er},1045:{n:"BrtWsFmtInfoEx14",f:Er},1046:{n:"BrtBeginConditionalFormatting14",f:Er},1047:{n:"BrtEndConditionalFormatting14",f:Er},1048:{n:"BrtBeginCFRule14",f:Er},1049:{n:"BrtEndCFRule14",f:Er},1050:{n:"BrtCFVO14",f:Er},1051:{n:"BrtBeginDatabar14",f:Er},1052:{n:"BrtBeginIconSet14",f:Er},1053:{n:"BrtDVal14",f:Er},1054:{n:"BrtBeginDVals14",f:Er},1055:{n:"BrtColor14",f:Er},1056:{n:"BrtBeginSparklines",f:Er},1057:{n:"BrtEndSparklines",f:Er},1058:{n:"BrtBeginSparklineGroups",f:Er},1059:{n:"BrtEndSparklineGroups",f:Er},1061:{n:"BrtSXVD14",f:Er},1062:{n:"BrtBeginSxview14",f:Er},1063:{n:"BrtEndSxview14",f:Er},1066:{n:"BrtBeginPCD14",f:Er},1067:{n:"BrtEndPCD14",f:Er},1068:{n:"BrtBeginExtConn14",f:Er},1069:{n:"BrtEndExtConn14",f:Er},1070:{n:"BrtBeginSlicerCacheIDs",f:Er},1071:{n:"BrtEndSlicerCacheIDs",f:Er},1072:{n:"BrtBeginSlicerCacheID",f:Er},1073:{n:"BrtEndSlicerCacheID",f:Er},1075:{n:"BrtBeginSlicerCache",f:Er},1076:{n:"BrtEndSlicerCache",f:Er},1077:{n:"BrtBeginSlicerCacheDef",f:Er},1078:{n:"BrtEndSlicerCacheDef",f:Er},1079:{n:"BrtBeginSlicersEx",f:Er},1080:{n:"BrtEndSlicersEx",f:Er},1081:{n:"BrtBeginSlicerEx",f:Er},1082:{n:"BrtEndSlicerEx",f:Er},1083:{n:"BrtBeginSlicer",f:Er},1084:{n:"BrtEndSlicer",f:Er},1085:{n:"BrtSlicerCachePivotTables",f:Er},1086:{n:"BrtBeginSlicerCacheOlapImpl",f:Er},1087:{n:"BrtEndSlicerCacheOlapImpl",f:Er},1088:{n:"BrtBeginSlicerCacheLevelsData",f:Er},1089:{n:"BrtEndSlicerCacheLevelsData",f:Er},1090:{n:"BrtBeginSlicerCacheLevelData",f:Er},1091:{n:"BrtEndSlicerCacheLevelData",f:Er},1092:{n:"BrtBeginSlicerCacheSiRanges",f:Er},1093:{n:"BrtEndSlicerCacheSiRanges",f:Er},1094:{n:"BrtBeginSlicerCacheSiRange",f:Er},1095:{n:"BrtEndSlicerCacheSiRange",f:Er},1096:{n:"BrtSlicerCacheOlapItem",f:Er},1097:{n:"BrtBeginSlicerCacheSelections",f:Er},1098:{n:"BrtSlicerCacheSelection",f:Er},1099:{n:"BrtEndSlicerCacheSelections",f:Er},1100:{n:"BrtBeginSlicerCacheNative",f:Er},1101:{n:"BrtEndSlicerCacheNative",f:Er},1102:{n:"BrtSlicerCacheNativeItem",f:Er},1103:{n:"BrtRangeProtection14",f:Er},1104:{n:"BrtRangeProtectionIso14",f:Er},1105:{n:"BrtCellIgnoreEC14",f:Er},1111:{n:"BrtList14",f:Er},1112:{n:"BrtCFIcon",f:Er},1113:{n:"BrtBeginSlicerCachesPivotCacheIDs",f:Er},1114:{n:"BrtEndSlicerCachesPivotCacheIDs",f:Er},1115:{n:"BrtBeginSlicers",f:Er},1116:{n:"BrtEndSlicers",f:Er},1117:{n:"BrtWbProp14",f:Er},1118:{n:"BrtBeginSXEdit",f:Er},1119:{n:"BrtEndSXEdit",f:Er},1120:{n:"BrtBeginSXEdits",f:Er},1121:{n:"BrtEndSXEdits",f:Er},1122:{n:"BrtBeginSXChange",f:Er},1123:{n:"BrtEndSXChange",f:Er},1124:{n:"BrtBeginSXChanges",f:Er},1125:{n:"BrtEndSXChanges",f:Er},1126:{n:"BrtSXTupleItems",f:Er},1128:{n:"BrtBeginSlicerStyle",f:Er},1129:{n:"BrtEndSlicerStyle",f:Er},1130:{n:"BrtSlicerStyleElement",f:Er},1131:{n:"BrtBeginStyleSheetExt14",f:Er},1132:{n:"BrtEndStyleSheetExt14",f:Er},1133:{n:"BrtBeginSlicerCachesPivotCacheID",f:Er},1134:{n:"BrtEndSlicerCachesPivotCacheID",f:Er},1135:{n:"BrtBeginConditionalFormattings",f:Er},1136:{n:"BrtEndConditionalFormattings",f:Er},1137:{n:"BrtBeginPCDCalcMemExt",f:Er},1138:{n:"BrtEndPCDCalcMemExt",f:Er},1139:{n:"BrtBeginPCDCalcMemsExt",f:Er},1140:{n:"BrtEndPCDCalcMemsExt",f:Er},1141:{n:"BrtPCDField14",f:Er},1142:{n:"BrtBeginSlicerStyles",f:Er},1143:{n:"BrtEndSlicerStyles",f:Er},1144:{n:"BrtBeginSlicerStyleElements",f:Er},1145:{n:"BrtEndSlicerStyleElements",f:Er},1146:{n:"BrtCFRuleExt",f:Er},1147:{n:"BrtBeginSXCondFmt14",f:Er},1148:{n:"BrtEndSXCondFmt14",f:Er},1149:{n:"BrtBeginSXCondFmts14",f:Er},1150:{n:"BrtEndSXCondFmts14",f:Er},1152:{n:"BrtBeginSortCond14",f:Er},1153:{n:"BrtEndSortCond14",f:Er},1154:{n:"BrtEndDVals14",f:Er},1155:{n:"BrtEndIconSet14",f:Er},1156:{n:"BrtEndDatabar14",f:Er},1157:{n:"BrtBeginColorScale14",f:Er},1158:{n:"BrtEndColorScale14",f:Er},1159:{n:"BrtBeginSxrules14",f:Er},1160:{n:"BrtEndSxrules14",f:Er},1161:{n:"BrtBeginPRule14",f:Er},1162:{n:"BrtEndPRule14",f:Er},1163:{n:"BrtBeginPRFilters14",f:Er},1164:{n:"BrtEndPRFilters14",f:Er},1165:{n:"BrtBeginPRFilter14",f:Er},1166:{n:"BrtEndPRFilter14",f:Er},1167:{n:"BrtBeginPRFItem14",f:Er},1168:{n:"BrtEndPRFItem14",f:Er},1169:{n:"BrtBeginCellIgnoreECs14",f:Er},1170:{n:"BrtEndCellIgnoreECs14",f:Er},1171:{n:"BrtDxf14",f:Er},1172:{n:"BrtBeginDxF14s",f:Er},1173:{n:"BrtEndDxf14s",f:Er},1177:{n:"BrtFilter14",f:Er},1178:{n:"BrtBeginCustomFilters14",f:Er},1180:{n:"BrtCustomFilter14",f:Er},1181:{n:"BrtIconFilter14",f:Er},1182:{n:"BrtPivotCacheConnectionName",f:Er},2048:{n:"BrtBeginDecoupledPivotCacheIDs",f:Er},2049:{n:"BrtEndDecoupledPivotCacheIDs",f:Er},2050:{n:"BrtDecoupledPivotCacheID",f:Er},2051:{n:"BrtBeginPivotTableRefs",f:Er},2052:{n:"BrtEndPivotTableRefs",f:Er},2053:{n:"BrtPivotTableRef",f:Er},2054:{n:"BrtSlicerCacheBookPivotTables",f:Er},2055:{n:"BrtBeginSxvcells",f:Er},2056:{n:"BrtEndSxvcells",f:Er},2057:{n:"BrtBeginSxRow",f:Er},2058:{n:"BrtEndSxRow",f:Er},2060:{n:"BrtPcdCalcMem15",f:Er},2067:{n:"BrtQsi15",f:Er},2068:{n:"BrtBeginWebExtensions",f:Er},2069:{n:"BrtEndWebExtensions",f:Er},2070:{n:"BrtWebExtension",f:Er},2071:{n:"BrtAbsPath15",f:Er},2072:{n:"BrtBeginPivotTableUISettings",f:Er},2073:{n:"BrtEndPivotTableUISettings",f:Er},2075:{n:"BrtTableSlicerCacheIDs",f:Er},2076:{n:"BrtTableSlicerCacheID",f:Er},2077:{n:"BrtBeginTableSlicerCache",f:Er},2078:{n:"BrtEndTableSlicerCache",f:Er},2079:{n:"BrtSxFilter15",f:Er},2080:{n:"BrtBeginTimelineCachePivotCacheIDs",f:Er},2081:{n:"BrtEndTimelineCachePivotCacheIDs",f:Er},2082:{n:"BrtTimelineCachePivotCacheID",f:Er},2083:{n:"BrtBeginTimelineCacheIDs",f:Er},2084:{n:"BrtEndTimelineCacheIDs",f:Er},2085:{n:"BrtBeginTimelineCacheID",f:Er},2086:{n:"BrtEndTimelineCacheID",f:Er},2087:{n:"BrtBeginTimelinesEx",f:Er},2088:{n:"BrtEndTimelinesEx",f:Er},2089:{n:"BrtBeginTimelineEx",f:Er},2090:{n:"BrtEndTimelineEx",f:Er},2091:{n:"BrtWorkBookPr15",f:Er},2092:{n:"BrtPCDH15",f:Er},2093:{n:"BrtBeginTimelineStyle",f:Er},2094:{n:"BrtEndTimelineStyle",f:Er},2095:{n:"BrtTimelineStyleElement",f:Er},2096:{n:"BrtBeginTimelineStylesheetExt15",f:Er},2097:{n:"BrtEndTimelineStylesheetExt15",f:Er},2098:{n:"BrtBeginTimelineStyles",f:Er},2099:{n:"BrtEndTimelineStyles",f:Er},2100:{n:"BrtBeginTimelineStyleElements",f:Er},2101:{n:"BrtEndTimelineStyleElements",f:Er},2102:{n:"BrtDxf15",f:Er},2103:{n:"BrtBeginDxfs15",f:Er},2104:{n:"brtEndDxfs15",f:Er},2105:{n:"BrtSlicerCacheHideItemsWithNoData",f:Er},2106:{n:"BrtBeginItemUniqueNames",f:Er},2107:{n:"BrtEndItemUniqueNames",f:Er},2108:{n:"BrtItemUniqueName",f:Er},2109:{n:"BrtBeginExtConn15",f:Er},2110:{n:"BrtEndExtConn15",f:Er},2111:{n:"BrtBeginOledbPr15",f:Er},2112:{n:"BrtEndOledbPr15",f:Er},2113:{n:"BrtBeginDataFeedPr15",f:Er},2114:{n:"BrtEndDataFeedPr15",f:Er},2115:{n:"BrtTextPr15",f:Er},2116:{n:"BrtRangePr15",f:Er},2117:{n:"BrtDbCommand15",f:Er},2118:{n:"BrtBeginDbTables15",f:Er},2119:{n:"BrtEndDbTables15",f:Er},2120:{n:"BrtDbTable15",f:Er},2121:{n:"BrtBeginDataModel",f:Er},2122:{n:"BrtEndDataModel",f:Er},2123:{n:"BrtBeginModelTables",f:Er},2124:{n:"BrtEndModelTables",f:Er},2125:{n:"BrtModelTable",f:Er},2126:{n:"BrtBeginModelRelationships",f:Er},2127:{n:"BrtEndModelRelationships",f:Er},2128:{n:"BrtModelRelationship",f:Er},2129:{n:"BrtBeginECTxtWiz15",f:Er},2130:{n:"BrtEndECTxtWiz15",f:Er},2131:{n:"BrtBeginECTWFldInfoLst15",f:Er},2132:{n:"BrtEndECTWFldInfoLst15",f:Er},2133:{n:"BrtBeginECTWFldInfo15",f:Er},2134:{n:"BrtFieldListActiveItem",f:Er},2135:{n:"BrtPivotCacheIdVersion",f:Er},2136:{n:"BrtSXDI15",f:Er},65535:{n:"",f:Er}};var gE=A(bE,"n");var EE={3:{n:"BIFF2NUM",f:Tu},4:{n:"BIFF2STR",f:_u},6:{n:"Formula",f:Vp},9:{n:"BOF",f:Un},10:{n:"EOF",f:fs},12:{n:"CalcCount",f:Yi},13:{n:"CalcMode",f:Qi},14:{n:"CalcPrecision",f:Ji},15:{n:"CalcRefMode",f:qi},16:{n:"CalcDelta",f:$i},17:{n:"CalcIter",f:Zi},18:{n:"Protect",f:Ts},19:{n:"Password",f:ks},20:{n:"Header",f:vs},21:{n:"Footer",f:us},23:{n:"ExternSheet",f:gi},24:{n:"Lbl",f:bi},25:{n:"WinProtect",f:Ls},26:{n:"VerticalPageBreaks",f:Us},27:{n:"HorizontalPageBreaks",f:Hs},28:{n:"Note",f:Ti},29:{n:"Selection",f:Ws},34:{n:"Date1904",f:as},35:{n:"ExternName",f:pi},38:{n:"LeftMargin",f:bs},39:{n:"RightMargin",f:Is},40:{n:"TopMargin",f:Fs},41:{n:"BottomMargin",f:ji},42:{n:"PrintRowCol",f:ws},43:{n:"PrintGrid",f:Ss},47:{n:"FilePass",f:wh},49:{n:"Font",f:Qn},51:{n:"PrintSize",f:Bs},60:{n:"Continue",f:Vs},61:{n:"Window1",f:Zn},64:{n:"Backup",f:Xi},65:{n:"Pane",f:zs},66:{n:"CodePage",f:rs},77:{n:"Pls",f:Xs},80:{n:"DCon",f:Gs},81:{n:"DConRef",f:js},82:{n:"DConName",f:Ks},85:{n:"DefColWidth",f:ns},89:{n:"XCT",f:Ys},90:{n:"CRN",f:$s},91:{n:"FileSharing",f:Zs},92:{n:"WriteAccess",f:Wn},93:{n:"Obj",f:Ii},94:{n:"Uncalced",f:Qs},95:{n:"CalcSaveRecalc",f:es},96:{n:"Template",f:Js},97:{n:"Intl",f:qs},99:{n:"ObjProtect",f:Es},125:{n:"ColInfo",f:Mi},128:{n:"Guts",f:ci},129:{n:"WsBool",f:ef},130:{n:"GridSet",f:hs},131:{n:"HCenter",f:ds},132:{n:"VCenter",f:Ns},133:{n:"BoundSheet8",f:Vn},134:{n:"WriteProtect",f:Ms},140:{n:"Country",f:Fi},141:{n:"HideObj",f:ps},144:{n:"Sort",f:rf},146:{n:"Palette",f:Ni},151:{n:"Sync",f:tf},152:{n:"LPr",f:af},153:{n:"DxGCol",f:nf},154:{n:"FnGroupName",f:sf},155:{n:"FilterMode",f:ff},156:{n:"BuiltInFnGroupCount",f:Ki},157:{n:"AutoFilterInfo",f:of},158:{n:"AutoFilter",f:lf},160:{n:"Scl",f:Rs},161:{n:"Setup",f:Ui},174:{n:"ScenMan",f:cf},175:{n:"SCENARIO",f:uf},176:{n:"SxView",f:hf},177:{n:"Sxvd",f:df},178:{n:"SXVI",f:vf},180:{n:"SxIvd",f:pf},181:{n:"SXLI",f:mf},182:{n:"SXPI",f:bf},184:{n:"DocRoute",f:gf},185:{n:"RecipName",f:Ef},189:{n:"MulRk",f:ni},190:{n:"MulBlank",f:ii},193:{n:"Mms",f:gs},197:{n:"SXDI",f:kf},198:{n:"SXDB",f:Sf},199:{n:"SXFDB",f:wf},200:{n:"SXDBB",f:Bf},201:{n:"SXNum",f:Cf},202:{n:"SxBool",f:Os},203:{n:"SxErr",f:_f},204:{n:"SXInt",f:Tf},205:{n:"SXString",f:xf},206:{n:"SXDtr",f:If},207:{n:"SxNil",f:Af},208:{n:"SXTbl",f:yf},209:{n:"SXTBRGIITM",f:Rf},210:{n:"SxTbpg",f:Df},211:{n:"ObProj",f:Of},213:{n:"SXStreamID",f:Ff},215:{n:"DBCell",f:Pf},216:{n:"SXRng",f:Nf},217:{n:"SxIsxoper",f:Lf},218:{n:"BookBool",f:Mf},220:{n:"DbOrParamQry",f:Uf},221:{n:"ScenarioProtect",f:ys},222:{n:"OleObjectSize",f:Hf},224:{n:"XF",f:li},225:{n:"InterfaceHdr",f:Hn},226:{n:"InterfaceEnd",f:ms},227:{n:"SXVS",f:Wf},229:{n:"MergeCells",f:xi},233:{n:"BkHim",f:Vf},235:{n:"MsoDrawingGroup",f:zf},236:{n:"MsoDrawing",f:Xf},237:{n:"MsoDrawingSelection",f:Gf},239:{n:"PhoneticInfo",f:jf},240:{n:"SxRule",f:Kf},241:{n:"SXEx",f:Yf},242:{n:"SxFilt",f:$f},244:{n:"SxDXF",f:Zf},245:{n:"SxItm",f:Qf},246:{n:"SxName",f:Jf},247:{n:"SxSelect",f:qf},248:{n:"SXPair",f:eo},249:{n:"SxFmla",f:ro},251:{n:"SxFormat",f:to},252:{n:"SST",f:zn},253:{n:"LabelSst",f:Jn},255:{n:"ExtSST",f:Xn},256:{n:"SXVDEx",f:ao},259:{n:"SXFormula",f:no},290:{n:"SXDBEx",f:io},311:{n:"RRDInsDel",f:so},312:{n:"RRDHead",f:fo},315:{n:"RRDChgCell",f:oo},317:{n:"RRTabId",f:As},318:{n:"RRDRenSheet",f:lo},319:{n:"RRSort",f:co},320:{n:"RRDMove",f:uo},330:{n:"RRFormat",f:ho},331:{n:"RRAutoFmt",f:vo},333:{n:"RRInsertSh",f:po},334:{n:"RRDMoveBegin",f:mo},335:{n:"RRDMoveEnd",f:bo},336:{n:"RRDInsDelBegin",f:go},337:{n:"RRDInsDelEnd",f:Eo},338:{n:"RRDConflict",f:ko},339:{n:"RRDDefName",f:So},340:{n:"RRDRstEtxp",f:wo},351:{n:"LRng",f:Bo},352:{n:"UsesELFs",f:Ps},353:{n:"DSF",f:is},401:{n:"CUsr",f:Co},402:{n:"CbUsr",f:_o},403:{n:"UsrInfo",f:To},404:{n:"UsrExcl",f:xo},405:{n:"FileLock",f:Io},406:{n:"RRDInfo",f:Ao},407:{n:"BCUsrs",f:yo},408:{n:"UsrChk",f:Ro},425:{n:"UserBView",f:Do},426:{n:"UserSViewBegin",f:Oo},427:{n:"UserSViewEnd",f:Fo},428:{n:"RRDUserView",f:Po},429:{n:"Qsi",f:No},430:{n:"SupBook",f:vi},431:{n:"Prot4Rev",f:Cs},432:{n:"CondFmt",f:Lo},433:{n:"CF",f:Mo},434:{n:"DVal",f:Uo},437:{n:"DConBin",f:Ho},438:{n:"TxO",f:Ri},439:{n:"RefreshAll",f:xs},440:{n:"HLink",f:Di},441:{n:"Lel",f:Wo},442:{n:"CodeName",f:Vo},443:{n:"SXFDBType",f:zo},444:{n:"Prot4RevPass",f:_s},445:{n:"ObNoMacros",f:Xo},446:{n:"Dv",f:Go},448:{n:"Excel9File",f:os},449:{n:"RecalcId",f:Yn,r:2},450:{n:"EntExU2",f:ss},512:{n:"Dimensions",f:ti},513:{n:"Blank",f:Gi},515:{n:"Number",f:hi},516:{n:"Label",f:qn},517:{n:"BoolErr",f:ui},518:{n:"Formula",f:Vp},519:{n:"String",f:Ds},520:{n:"Row",f:Gn},523:{n:"Index",f:jo},545:{n:"Array",f:Bi},549:{n:"DefaultRowHeight",f:$n},566:{n:"Table",f:Ko},574:{n:"Window2",f:zi},638:{n:"RK",f:ai},659:{n:"Style",f:Wi},1030:{n:"Formula",f:Vp},1048:{n:"BigName",f:Yo},1054:{n:"Format",f:ei},1084:{n:"ContinueBigName",f:$o},1212:{n:"ShrFmla",f:wi},2048:{n:"HLinkTooltip",f:Oi},2049:{n:"WebPub",f:Zo},2050:{n:"QsiSXTag",f:Qo},2051:{n:"DBQueryExt",f:Jo},2052:{n:"ExtString",f:qo},2053:{n:"TxtQry",f:el},2054:{n:"Qsir",f:rl},2055:{n:"Qsif",f:tl},2056:{n:"RRDTQSIF",f:al},2057:{n:"BOF",f:Un},2058:{n:"OleDbConn",f:nl},2059:{n:"WOpt",f:il},2060:{n:"SXViewEx",f:sl},2061:{n:"SXTH",f:fl},2062:{n:"SXPIEx",f:ol},2063:{n:"SXVDTEx",f:ll},2064:{n:"SXViewEx9",f:cl},2066:{n:"ContinueFrt",f:ul},2067:{n:"RealTimeData",f:hl},2128:{n:"ChartFrtInfo",f:dl},2129:{n:"FrtWrapper",f:vl},2130:{n:"StartBlock",f:pl},2131:{n:"EndBlock",f:ml},2132:{n:"StartObject",f:bl},2133:{n:"EndObject",f:gl},2134:{n:"CatLab",f:El},2135:{n:"YMult",f:kl},2136:{n:"SXViewLink",f:Sl},2137:{n:"PivotChartBits",f:wl},2138:{n:"FrtFontList",f:Bl},2146:{n:"SheetExt",f:Cl},2147:{n:"BookExt",f:_l,r:12},2148:{n:"SXAddl",f:Tl},2149:{n:"CrErr",f:xl},2150:{n:"HFPicture",f:Il},2151:{n:"FeatHdr",f:ls},2152:{n:"Feat",f:Al},2154:{n:"DataLabExt",f:yl},2155:{n:"DataLabExtContents",f:Rl},2156:{n:"CellWatch",f:Dl},2161:{n:"FeatHdr11",f:Ol},2162:{n:"Feature11",f:Fl},2164:{n:"DropDownObjIds",f:Pl},2165:{n:"ContinueFrt11",f:Nl},2166:{n:"DConn",f:Ll},2167:{n:"List12",f:Ml},2168:{n:"Feature12",f:Ul},2169:{n:"CondFmt12",f:Hl},2170:{n:"CF12",f:Wl},2171:{n:"CFEx",f:Vl},2172:{n:"XFCRC",f:Li,r:12},2173:{n:"XFExt",f:Gd,r:12},2174:{n:"AutoFilter12",f:zl},2175:{n:"ContinueFrt12",f:Xl},2180:{n:"MDTInfo",f:Gl},2181:{n:"MDXStr",f:jl},2182:{n:"MDXTuple",f:Kl},2183:{n:"MDXSet",f:Yl},2184:{n:"MDXProp",f:$l},2185:{n:"MDXKPI",f:Zl},2186:{n:"MDB",f:Ql},2187:{n:"PLV",f:Jl},2188:{n:"Compat12",f:ts,r:12},2189:{n:"DXF",f:ql},2190:{n:"TableStyles",f:ec,r:12},2191:{n:"TableStyle",f:rc},2192:{n:"TableStyleElement",f:tc},2194:{n:"StyleExt",f:Vi},2195:{n:"NamePublish",f:ac},2196:{n:"NameCmt",f:Si,r:12},2197:{n:"SortData",f:nc},2198:{n:"Theme",f:Ud,r:12},2199:{n:"GUIDTypeLib",f:ic},2200:{n:"FnGrp12",f:sc},2201:{n:"NameFnGrp12",f:fc},2202:{n:"MTRSettings",f:Ci,r:12},2203:{n:"CompressPictures",f:Kn},2204:{n:"HeaderFooter",f:oc},2205:{n:"CrtLayout12",f:lc},2206:{n:"CrtMlFrt",f:cc},2207:{n:"CrtMlFrtContinue",f:uc},2211:{n:"ForceFullCalculation",f:jn},2212:{n:"ShapePropsStream",f:hc},2213:{n:"TextPropsStream",f:dc},2214:{n:"RichTextStream",f:vc},2215:{n:"CrtLayout12A",f:pc},4097:{n:"Units",f:mc},4098:{n:"Chart",f:bc},4099:{n:"Series",f:gc},4102:{n:"DataFormat",f:Ec},4103:{n:"LineFormat",f:kc},4105:{n:"MarkerFormat",f:Sc},4106:{n:"AreaFormat", -f:wc},4107:{n:"PieFormat",f:Bc},4108:{n:"AttachedLabel",f:Cc},4109:{n:"SeriesText",f:_c},4116:{n:"ChartFormat",f:Tc},4117:{n:"Legend",f:xc},4118:{n:"SeriesList",f:Ic},4119:{n:"Bar",f:Ac},4120:{n:"Line",f:yc},4121:{n:"Pie",f:Rc},4122:{n:"Area",f:Dc},4123:{n:"Scatter",f:Oc},4124:{n:"CrtLine",f:Fc},4125:{n:"Axis",f:Pc},4126:{n:"Tick",f:Nc},4127:{n:"ValueRange",f:Lc},4128:{n:"CatSerRange",f:Mc},4129:{n:"AxisLine",f:Uc},4130:{n:"CrtLink",f:Hc},4132:{n:"DefaultText",f:Wc},4133:{n:"Text",f:Vc},4134:{n:"FontX",f:cs},4135:{n:"ObjectLink",f:zc},4146:{n:"Frame",f:Xc},4147:{n:"Begin",f:Gc},4148:{n:"End",f:jc},4149:{n:"PlotArea",f:Kc},4154:{n:"Chart3d",f:Yc},4156:{n:"PicF",f:$c},4157:{n:"DropBar",f:Zc},4158:{n:"Radar",f:Qc},4159:{n:"Surf",f:Jc},4160:{n:"RadarArea",f:qc},4161:{n:"AxisParent",f:eu},4163:{n:"LegendException",f:ru},4164:{n:"ShtProps",f:Hi},4165:{n:"SerToCrt",f:tu},4166:{n:"AxesUsed",f:au},4168:{n:"SBaseRef",f:nu},4170:{n:"SerParent",f:iu},4171:{n:"SerAuxTrend",f:su},4174:{n:"IFmtRecord",f:fu},4175:{n:"Pos",f:ou},4176:{n:"AlRuns",f:lu},4177:{n:"BRAI",f:cu},4187:{n:"SerAuxErrBar",f:uu},4188:{n:"ClrtClient",f:Pi},4189:{n:"SerFmt",f:hu},4191:{n:"Chart3DBarShape",f:du},4192:{n:"Fbi",f:vu},4193:{n:"BopPop",f:pu},4194:{n:"AxcExt",f:mu},4195:{n:"Dat",f:bu},4196:{n:"PlotGrowth",f:gu},4197:{n:"SIIndex",f:Eu},4198:{n:"GelFrame",f:ku},4199:{n:"BopPopCustom",f:Su},4200:{n:"Fbi2",f:wu},0:{n:"Dimensions",f:ti},2:{n:"BIFF2INT",f:xu},5:{n:"BoolErr",f:ui},7:{n:"String",f:Iu},8:{n:"BIFF2ROW",f:Er},11:{n:"Index",f:jo},22:{n:"ExternCount",f:ki},30:{n:"BIFF2FORMAT",f:ri},31:{n:"BIFF2FMTCNT",f:Er},32:{n:"BIFF2COLINFO",f:Er},33:{n:"Array",f:Bi},37:{n:"DefaultRowHeight",f:$n},50:{n:"BIFF2FONTXTRA",f:Au},62:{n:"BIFF2WINDOW2",f:Er},69:{n:"BIFF2FONTCLR",f:Er},86:{n:"BIFF4FMTCNT",f:Er},126:{n:"RK",f:Er},127:{n:"ImData",f:Bu},135:{n:"Addin",f:Er},136:{n:"Edg",f:Er},137:{n:"Pub",f:Er},145:{n:"Sub",f:Er},148:{n:"LHRecord",f:Er},149:{n:"LHNGraph",f:Er},150:{n:"Sound",f:Er},169:{n:"CoordList",f:Er},171:{n:"GCW",f:Er},188:{n:"ShrFmla",f:Er},194:{n:"AddMenu",f:Er},195:{n:"DelMenu",f:Er},214:{n:"RString",f:yu},223:{n:"UDDesc",f:Er},234:{n:"TabIdConf",f:Er},354:{n:"XL5Modify",f:Er},421:{n:"FileSharing2",f:Er},521:{n:"BOF",f:Un},536:{n:"Lbl",f:bi},547:{n:"ExternName",f:pi},561:{n:"Font",f:Er},1033:{n:"BOF",f:Un},2157:{n:"FeatInfo",f:Er},2163:{n:"FeatInfo11",f:Er},2177:{n:"SXAddl12",f:Er},2240:{n:"AutoWebPub",f:Er},2241:{n:"ListObj",f:Er},2242:{n:"ListField",f:Er},2243:{n:"ListDV",f:Er},2244:{n:"ListCondFmt",f:Er},2245:{n:"ListCF",f:Er},2246:{n:"FMQry",f:Er},2247:{n:"FMSQry",f:Er},2248:{n:"PLV",f:Er},2249:{n:"LnExt",f:Er},2250:{n:"MkrExt",f:Er},2251:{n:"CrtCoopt",f:Er},67:{n:"BIFF2XF",f:Er},579:{n:"BIFF3XF",f:Er},1091:{n:"BIFF4XF",f:Er},29282:{}};function kE(e,r,t,a){var n=a||(t||[]).length;var i=e.next(4+n);i.write_shift(2,r);i.write_shift(2,n);if(n>0&&nr(t))e.push(t)}function SE(e,r){if(r.bookType!="biff2")throw"unsupported BIFF version";var t=wr(4);t.write_shift(2,2);t.write_shift(2,16);return t}function wE(e,r,t){if(!e)e=wr(7);e.write_shift(2,r);e.write_shift(2,t);e.write_shift(1,0);e.write_shift(1,0);e.write_shift(1,0);return e}function BE(e,r,t){var a=wr(9);wE(a,e,r);a.write_shift(2,t);return a}function CE(e,r,t){var a=wr(15);wE(a,e,r);a.write_shift(8,t,"f");return a}function _E(e,r,t,a){var n=wr(9);wE(n,e,r);if(a=="e"){n.write_shift(1,t);n.write_shift(1,1)}else{n.write_shift(1,t?1:0);n.write_shift(1,0)}return n}function TE(e,r,t){var a=wr(8+2*t.length);wE(a,e,r);a.write_shift(1,t.length);a.write_shift(t.length,t,"sbcs");return a.l=0&&i<65536)kE(e,2,BE(t,a,i));else kE(e,3,CE(t,a,i));return;case"b":;case"e":kE(e,5,_E(t,a,r.v,r.t));return;case"s":;case"str":kE(e,4,TE(t,a,r.v));return;}kE(e,1,wE(null,t,a))}function IE(e,r,t,a,n){var i=Array.isArray(r);var s=Kr(r["!ref"]||"A1"),f,o="",l=[];for(var c=s.s.r;c<=s.e.r;++c){o=Or(c);for(var u=s.s.c;u<=s.e.c;++u){if(c===s.s.r)l[u]=Lr(u);f=l[u]+o;var h=i?(r[c]||[])[u]:r[f];if(!h)continue;xE(e,h,c,u,a)}}}function AE(e,r){var t=r||{};if(c!=null&&t.dense==null)t.dense=c;var a=Cr();var n=0;for(var i=0;i");var i=e.match(/<\/table/i);var s=n.index,f=i&&i.index||e.length;var o=e.slice(s,f).split(/(:?]*>)/i);var l=-1,u=0,h=0,d=0;var v={s:{r:1e7,c:1e7},e:{r:0,c:0}};var p=[],m=0;for(s=0;s/i);for(f=0;f"))>-1)S=S.slice(w+1);while(S.indexOf(">")>-1)S=S.slice(0,S.lastIndexOf("<"));var B=se(k.slice(0,k.indexOf(">")));d=B.colspan?+B.colspan:1;if((h=+B.rowspan)>0||d>1)p.push({s:{r:l,c:u},e:{r:l+(h||1)-1,c:u+d-1}});if(!S.length){u+=d;continue}S=ce(S).replace(/[\r\n]/g,"");if(v.s.r>l)v.s.r=l;if(v.e.ru)v.s.c=u;if(v.e.c";for(var f=r.s.c;f<=r.e.c;++f){var o=0,l=0;for(var c=0;ct||n[c].s.c>f)continue;if(n[c].e.r1)v.rowspan=o;if(l>1)v.colspan=l;if(a.editable)v.contenteditable="true";v.id="sjs-"+u;i.push(De("td",d,v))}var p="";return p+i.join("")+""}function a(e,r,t){var a=[];return a.join("")+""}var n='SheetJS Table Export';var i="";function s(e,r,s){var f=r||{};var o=f.header!=null?f.header:n;var l=f.footer!=null?f.footer:i;var c=[o];var u=Gr(e["!ref"]);f.dense=Array.isArray(e);c.push(a(e,u,f));for(var h=u.s.r;h<=u.e.r;++h)c.push(t(e,u,h,f));c.push("
"+l);return c.join("")}return{to_workbook:r,to_sheet:e,_row:t,BEGIN:n,END:i,_preamble:a,from_sheet:s}}();function RE(e,r){var t=r||{};if(c!=null)t.dense=c;var a=t.dense?[]:{};var n=e.getElementsByTagName("tr");var i={s:{r:0,c:0},e:{r:n.length-1,c:0}};var s=[],f=0;var o=0,l=0,u=0,h=0,d=0;for(;o0||d>1)s.push({s:{r:o,c:u},e:{r:o+(h||1)-1,c:u+d-1}});var k={t:"s",v:b};if(b!=null&&b.length){if(!isNaN(Number(b)))k={t:"n",v:Number(b)};else if(!isNaN(G(b).getDate())){k={t:"d",v:H(b)};if(!t.cellDates)k={t:"n",v:P(k.v)};k.z=t.dateNF||E._table[14]}}if(t.dense){if(!a[o])a[o]=[];a[o][u]=k}else a[Vr({c:u,r:o})]=k;if(i.e.c/g," ").replace(/<[^>]*>/g,""))};var r={day:["d","dd"],month:["m","mm"],year:["y","yy"],hours:["h","hh"],minutes:["m","mm"],seconds:["s","ss"],"am-pm":["A/P","AM/PM"],"day-of-week":["ddd","dddd"]};return function t(a,n){var i=n||{};if(c!=null&&i.dense==null)i.dense=c;var s=Zg(a);var f=[],o;var l;var u={name:""},h="",d=0;var v;var p;var m={},b=[];var g=i.dense?[]:{};var E,k;var S={value:""};var w="",B=0,C;var _=-1,T=-1,x={s:{r:1e6,c:1e7},e:{r:0,c:0}};var I={};var A=[],y={},R=0,D=0;var O=[];var F=[],N={};var M="",U=0;var W=1,V=false;var X=0;Qg.lastIndex=0;s=s.replace(//gm,"").replace(//gm,"");while(E=Qg.exec(s))switch(E[3]=E[3].replace(/_.*$/,"")){case"table":;case"工作表":if(E[1]==="/"){if(x.e.c>=x.s.c&&x.e.r>=x.s.r)g["!ref"]=jr(x);if(A.length)g["!merges"]=A;v.name=ke(v["名称"]||v.name);b.push(v.name);m[v.name]=g}else if(E[0].charAt(E[0].length-2)!=="/"){v=se(E[0],false);_=T=-1;x.s.r=x.s.c=1e7;x.e.r=x.e.c=0;g=i.dense?[]:{};A=[]}break;case"table-row":;case"行":if(E[1]==="/")break;p=se(E[0],false);if(p["行号"])_=p["行号"]-1;else++_;T=-1;break;case"covered-table-cell":++T;if(i.sheetStubs){if(i.dense){if(!g[_])g[_]=[];g[_][T]={t:"z"}}else g[Vr({r:_,c:T})]={t:"z"}}break;case"table-cell":;case"数据":if(E[0].charAt(E[0].length-2)==="/"){S=se(E[0],false);if(S["number-columns-repeated"])T+=parseInt(S["number-columns-repeated"],10);else++T}else if(E[1]!=="/"){++T;W=1;if(T>x.e.c)x.e.c=T;if(_>x.e.r)x.e.r=_;if(T=O[X][0].s.r&&_<=O[X][0].e.r)if(T>=O[X][0].s.c&&T<=O[X][0].e.c)k.F=O[X][1]}if(S["number-columns-spanned"]||S["number-rows-spanned"]){R=parseInt(S["number-rows-spanned"],10)||0;D=parseInt(S["number-columns-spanned"],10)||0;y={s:{r:_,c:T},e:{r:_+R-1,c:T+D-1}};A.push(y)}if(S["number-columns-repeated"])W=parseInt(S["number-columns-repeated"],10);switch(k.t){case"boolean":k.t="b";k.v=Ee(S["boolean-value"]);break;case"float":k.t="n";k.v=parseFloat(S.value);break;case"percentage":k.t="n";k.v=parseFloat(S.value);break;case"currency":k.t="n";k.v=parseFloat(S.value);break;case"date":k.t="d";k.v=H(S["date-value"]);if(!i.cellDates){k.t="n";k.v=P(k.v)}k.z="m/d/yy";break;case"time":k.t="n";k.v=L(S["time-value"])/86400;break;case"number":k.t="n";k.v=parseFloat(S["数据数值"]);break;default:if(k.t==="string"||k.t==="text"||!k.t){k.t="s";if(S["string-value"]!=null)w=ce(S["string-value"])}else throw new Error("Unsupported value type "+k.t);}}else{V=false;if(k.t==="s"){k.v=w||"";V=B==0}if(F.length>0){k.c=F;F=[]}if(w&&i.cellText!==false)k.w=w;if(!V||i.sheetStubs){if(!(i.sheetRows&&i.sheetRows<_)){if(i.dense){if(!g[_])g[_]=[];g[_][T]=k;while(--W>0)g[_][++T]=z(k)}else{g[Vr({r:_,c:T})]=k;while(--W>0)g[Vr({r:_,c:++T})]=z(k)}if(x.e.c<=T)x.e.c=T}}else{T+=W;W=0}k={};w=""}break;case"document":;case"document-content":;case"电子表格文档":;case"spreadsheet":;case"主体":;case"scripts":;case"styles":;case"font-face-decls":if(E[1]==="/"){if((o=f.pop())[0]!==E[3])throw"Bad state: "+o}else if(E[0].charAt(E[0].length-2)!=="/")f.push([E[3],true]);break;case"annotation":if(E[1]==="/"){if((o=f.pop())[0]!==E[3])throw"Bad state: "+o;N.t=w;N.a=M;F.push(N)}else if(E[0].charAt(E[0].length-2)!=="/"){f.push([E[3],false])}M="";U=0;w="";B=0;break;case"creator":if(E[1]==="/"){M=s.slice(U,E.index)}else U=E.index+E[0].length;break;case"meta":;case"元数据":;case"settings":;case"config-item-set":;case"config-item-map-indexed":;case"config-item-map-entry":;case"config-item-map-named":;case"shapes":;case"frame":;case"text-box":;case"image":;case"data-pilot-tables":;case"list-style":;case"form":;case"dde-links":;case"event-listeners":if(E[1]==="/"){if((o=f.pop())[0]!==E[3])throw"Bad state: "+o}else if(E[0].charAt(E[0].length-2)!=="/")f.push([E[3],false]);w="";B=0;break;case"scientific-number":break;case"currency-symbol":break;case"currency-style":break;case"number-style":;case"percentage-style":;case"date-style":;case"time-style":if(E[1]==="/"){I[u.name]=h;if((o=f.pop())[0]!==E[3])throw"Bad state: "+o}else if(E[0].charAt(E[0].length-2)!=="/"){h="";u=se(E[0],false);f.push([E[3],true])}break;case"script":break;case"libraries":break;case"automatic-styles":break;case"master-styles":break;case"default-style":;case"page-layout":break;case"style":break;case"map":break;case"font-face":break;case"paragraph-properties":break;case"table-properties":break;case"table-column-properties":break;case"table-row-properties":break;case"table-cell-properties":break;case"number":switch(f[f.length-1][0]){case"time-style":;case"date-style":l=se(E[0],false);h+=r[E[3]][l.style==="long"?1:0];break;}break;case"fraction":break;case"day":;case"month":;case"year":;case"era":;case"day-of-week":;case"week-of-year":;case"quarter":;case"hours":;case"minutes":;case"seconds":;case"am-pm":switch(f[f.length-1][0]){case"time-style":;case"date-style":l=se(E[0],false);h+=r[E[3]][l.style==="long"?1:0];break;}break;case"boolean-style":break;case"boolean":break;case"text-style":break;case"text":if(E[0].slice(-2)==="/>")break;else if(E[1]==="/")switch(f[f.length-1][0]){case"number-style":;case"date-style":;case"time-style":h+=s.slice(d,E.index);break;}else d=E.index+E[0].length;break;case"text-content":break;case"text-properties":break;case"body":;case"电子表格":break;case"forms":break;case"table-column":break;case"table-header-rows":break;case"table-row-group":break;case"table-column-group":break;case"table-header-columns":break;case"null-date":break;case"graphic-properties":break;case"calculation-settings":break;case"named-expressions":break;case"named-range":break;case"label-range":break;case"label-ranges":break;case"named-expression":break;case"sort":break;case"sort-by":break;case"sort-groups":break;case"tab":break;case"line-break":break;case"span":break;case"p":;case"文本串":if(E[1]==="/")w=(w.length>0?w+"\n":"")+e(s.slice(B,E.index),C);else{C=se(E[0],false);B=E.index+E[0].length}break;case"database-range":if(E[1]==="/")break;try{var G=hm(se(E[0])["target-range-address"]);m[G[0]]["!autofilter"]={ref:G[1]}}catch(j){}break;case"s":break;case"date":break;case"object":break;case"title":;case"标题":break;case"desc":break;case"table-source":break;case"scenario":break;case"iteration":break;case"content-validations":break;case"content-validation":break;case"help-message":break;case"error-message":break;case"database-ranges":break;case"filter":break;case"filter-and":break;case"filter-or":break;case"filter-condition":break;case"list-level-style-bullet":break;case"list-level-style-number":break;case"list-level-properties":break;case"sender-firstname":;case"sender-lastname":;case"sender-initials":;case"sender-title":;case"sender-position":;case"sender-email":;case"sender-phone-private":;case"sender-fax":;case"sender-company":;case"sender-phone-work":;case"sender-street":;case"sender-city":;case"sender-postal-code":;case"sender-country":;case"sender-state-or-province":;case"author-name":;case"author-initials":;case"chapter":;case"file-name":;case"template-name":;case"sheet-name":break;case"event-listener":break;case"initial-creator":;case"creation-date":;case"generator":;case"document-statistic":;case"user-defined":break;case"config-item":break;case"page-number":break;case"page-count":break;case"time":break;case"cell-range-source":break;case"detective":break;case"operation":break;case"highlighted-range":break;case"data-pilot-table":;case"source-cell-range":;case"source-service":;case"data-pilot-field":;case"data-pilot-level":;case"data-pilot-subtotals":;case"data-pilot-subtotal":;case"data-pilot-members":;case"data-pilot-member":;case"data-pilot-display-info":;case"data-pilot-sort-info":;case"data-pilot-layout-info":;case"data-pilot-field-reference":;case"data-pilot-groups":;case"data-pilot-group":;case"data-pilot-group-member":break;case"rect":break;case"dde-connection-decls":;case"dde-connection-decl":;case"dde-link":;case"dde-source":break;case"properties":break;case"property":break;case"a":break;case"table-protection":break;case"data-pilot-grand-total":break;case"office-document-common-attrs":break;default:if(E[2]==="dc:")break;if(E[2]==="draw:")break;if(E[2]==="style:")break;if(E[2]==="form:")break;if(E[2]==="calcext:")break;if(E[2]==="loext:")break;if(E[2]==="uof:")break;if(E[2]==="表:")break;if(E[2]==="字:")break;if(i.WTF)throw new Error(E);}var K={Sheets:m,SheetNames:b};return K}}();function FE(e,r){r=r||{};var t=!!$(e,"objectdata");if(t)var a=ha(Q(e,"META-INF/manifest.xml"),r);var n=J(e,"content.xml");if(!n)throw new Error("Missing content.xml in "+(t?"ODS":"UOF")+" file");return OE(t?n:ke(n),r)}function PE(e,r){return OE(e,r)}var NE=function(){var e='';return function r(t,a){return e}}();var LE=function(){var e=" \n";var r=" \n";var t=function(t,a,n,i){var s=[];s.push(' \n');var f=0,o=0,l=Gr(t["!ref"]);var c=t["!merges"]||[],u=0;var h=Array.isArray(t);for(f=0;f\n");for(;f<=l.e.r;++f){s.push(" \n");for(o=0;oo)continue;if(c[u].s.r>f)continue;if(c[u].e.c\n")}s.push(" \n");return s.join("")};var a=function(e){e.push(" \n");e.push(' \n');e.push(' \n');e.push(" /\n");e.push(' \n');e.push(" /\n");e.push(" \n");e.push(" \n");e.push(' \n');e.push(" \n")};return function n(e,r){var n=[Pe];var i=Re({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:meta":"urn:oasis:names:tc:opendocument:xmlns:meta:1.0","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:presentation":"urn:oasis:names:tc:opendocument:xmlns:presentation:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:chart":"urn:oasis:names:tc:opendocument:xmlns:chart:1.0","xmlns:dr3d":"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0","xmlns:math":"http://www.w3.org/1998/Math/MathML","xmlns:form":"urn:oasis:names:tc:opendocument:xmlns:form:1.0","xmlns:script":"urn:oasis:names:tc:opendocument:xmlns:script:1.0","xmlns:ooo":"http://openoffice.org/2004/office","xmlns:ooow":"http://openoffice.org/2004/writer","xmlns:oooc":"http://openoffice.org/2004/calc","xmlns:dom":"http://www.w3.org/2001/xml-events","xmlns:xforms":"http://www.w3.org/2002/xforms","xmlns:xsd":"http://www.w3.org/2001/XMLSchema","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","xmlns:sheet":"urn:oasis:names:tc:opendocument:sh33tjs:1.0","xmlns:rpt":"http://openoffice.org/2005/report","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","xmlns:xhtml":"http://www.w3.org/1999/xhtml","xmlns:grddl":"http://www.w3.org/2003/g/data-view#","xmlns:tableooo":"http://openoffice.org/2009/table","xmlns:drawooo":"http://openoffice.org/2010/draw","xmlns:calcext":"urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0","xmlns:loext":"urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0","xmlns:field":"urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0","xmlns:formx":"urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0","xmlns:css3t":"http://www.w3.org/TR/css3-text/","office:version":"1.2"});var s=Re({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});if(r.bookType=="fods")n.push("\n");else n.push("\n");a(n);n.push(" \n");n.push(" \n");for(var f=0;f!=e.SheetNames.length;++f)n.push(t(e.Sheets[e.SheetNames[f]],e,f,r));n.push(" \n");n.push(" \n");if(r.bookType=="fods")n.push("");else n.push("");return n.join("")}}();function ME(e,r){if(r.bookType=="fods")return LE(e,r);var t=new ee;var a="";var n=[];var i=[];a="mimetype";t.file(a,"application/vnd.oasis.opendocument.spreadsheet");a="content.xml";t.file(a,LE(e,r));n.push([a,"text/xml"]);i.push([a,"ContentFile"]);a="styles.xml";t.file(a,NE(e,r));n.push([a,"text/xml"]);i.push([a,"StylesFile"]);a="manifest.rdf";t.file(a,ma(i,r));n.push([a,"application/rdf+xml"]);a="meta.xml";t.file(a,ba(e,r));n.push([a,"text/xml"]);i.push([a,"MetadataFile"]);a="META-INF/manifest.xml";t.file(a,da(n,r));return t}function UE(e){return function r(t,a){var n=0;for(var i=0;i-1)return"sheet";if(ia.CS&&e==ia.CS)return"chart";if(ia.DS&&e==ia.DS)return"dialog";if(ia.MS&&e==ia.MS)return"macro";if(!e||!e.length)return"sheet";return e}function ZE(e,r){if(!e)return 0;try{e=r.map(function a(r){if(!r.id)r.id=r.strRelID;return[r.name,e["!id"][r.id].Target,$E(e["!id"][r.id].Type)]})}catch(t){return null}return!e||e.length===0?null:e}function QE(e,r,t,a,n,i,s,f,o,l,c){try{n[a]=fa(J(e,t,true),r);var u=Q(e,r);switch(s){case"sheet":i[a]=Cg(u,r,f,n[a],o,l,c);break;case"chart":var h=_g(u,r,f,n[a],o,l,c);i[a]=h;if(!h||!h["!chart"])break;var d=re(h["!chart"].Target,r);var v=sa(d);var p=Jd(J(e,d,true),fa(J(e,v,true),d));var m=re(p,d);var b=sa(m);h=Hb(J(e,m,true),m,f,fa(J(e,b,true),m),o,h);break;case"macro":i[a]=Tg(u,r,f,n[a],o,l,c);break;case"dialog":i[a]=xg(u,r,f,n[a],o,l,c);break;}}catch(g){if(f.WTF)throw g}}var JE=function qk(e){return e.slice(-1)!="/"};function qE(e,r){k(E);r=r||{};KE(r);a();if($(e,"META-INF/manifest.xml"))return FE(e,r);if($(e,"objectdata.xml"))return FE(e,r);var t=I(e.files).filter(JE).sort();var i=ra(J(e,"[Content_Types].xml"),r);var s=false;var f,o;if(i.workbooks.length===0){o="xl/workbook.xml";if(Q(e,o,true))i.workbooks.push(o)}if(i.workbooks.length===0){o="xl/workbook.bin";if(!Q(e,o,true))throw new Error("Could not find workbook");i.workbooks.push(o);s=true}if(i.workbooks[0].slice(-3)=="bin")s=true;if(s)n(1200);var l={};var c={};if(!r.bookSheets&&!r.bookProps){dm=[];if(i.sst)dm=yg(Q(e,i.sst.replace(/^\//,"")),i.sst,r);if(r.cellStyles&&i.themes.length)l=Ag(J(e,i.themes[0].replace(/^\//,""),true)||"",i.themes[0],r);if(i.style)c=Ig(Q(e,i.style.replace(/^\//,"")),i.style,l,r)}var u=Bg(Q(e,i.workbooks[0].replace(/^\//,"")),i.workbooks[0],r);var h={},d="";if(i.coreprops.length!==0){d=J(e,i.coreprops[0].replace(/^\//,""),true);if(d)h=ka(d);if(i.extprops.length!==0){d=J(e,i.extprops[0].replace(/^\//,""),true);if(d)_a(d,h)}}var v={};if(!r.bookSheets||r.bookProps){if(i.custprops.length!==0){d=J(e,i.custprops[0].replace(/^\//,""),true);if(d)v=Aa(d,r)}}var p={};if(r.bookSheets||r.bookProps){if(u.Sheets)f=u.Sheets.map(function R(e){return e.name});else if(h.Worksheets&&h.SheetNames.length>0)f=h.SheetNames;if(r.bookProps){p.Props=h;p.Custprops=v}if(r.bookSheets&&typeof f!=="undefined")p.SheetNames=f;if(r.bookSheets?p.SheetNames:r.bookProps)return p}f={};var m={};if(r.bookDeps&&i.calcchain)m=Dg(Q(e,i.calcchain.replace(/^\//,"")),i.calcchain,r);var b=0;var g={};var S,w;{var B=u.Sheets;h.Worksheets=B.length;h.SheetNames=[];for(var C=0;C!=B.length;++C){h.SheetNames[C]=B[C].name}}var _=s?"bin":"xml";var T="xl/_rels/workbook."+_+".rels";var x=fa(J(e,T,true),T);if(x)x=ZE(x,u.Sheets);var A=Q(e,"xl/worksheets/sheet.xml",true)?1:0;for(b=0;b!=h.Worksheets;++b){var y="sheet";if(x&&x[b]){S="xl/"+x[b][1].replace(/[\/]?xl\//,"");y=x[b][2]}else{S="xl/worksheets/sheet"+(b+1-A)+"."+_;S=S.replace(/sheet0\./,"sheet.")}w=S.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels");QE(e,S,w,h.SheetNames[b],g,f,y,r,u,l,c)}if(i.comments)rv(e,i.comments,f,g,r);p={Directory:i,Workbook:u,Props:h,Custprops:v,Deps:m,Sheets:f,SheetNames:h.SheetNames,Strings:dm,Styles:c,Themes:l,SSF:E.get_table()};if(r.bookFiles){p.keys=t;p.files=e.files}if(r.bookVBA){if(i.vba.length>0)p.vbaraw=Q(e,i.vba[0].replace(/^\//,""),true);else if(i.defaults&&i.defaults.bin==="application/vnd.ms-office.vbaProject")p.vbaraw=Q(e,"xl/vbaProject.bin",true)}return p}function ek(e,r){var t="Version";var a=e.find(t);if(!a||!a.content)throw new Error("ECMA-376 Encrypted file missing "+t);var n=th(a.content);t="DataSpaceMap";a=e.find(t);if(!a||!a.content)throw new Error("ECMA-376 Encrypted file missing "+t);var i=nh(a.content);if(i.length!=1||i[0].comps.length!=1||i[0].comps[0].t!=0||i[0].name!="StrongEncryptionDataSpace"||i[0].comps[0].v!="EncryptedPackage")throw new Error("ECMA-376 Encrypted file bad "+t);t="StrongEncryptionDataSpace";a=e.find(t);if(!a||!a.content)throw new Error("ECMA-376 Encrypted file missing "+t);var s=ih(a.content);if(s.length!=1||s[0]!="StrongEncryptionTransform")throw new Error("ECMA-376 Encrypted file bad "+t);t="!Primary";a=e.find(t);if(!a||!a.content)throw new Error("ECMA-376 Encrypted file missing "+t);var f=fh(a.content);t="EncryptionInfo";a=e.find(t);if(!a||!a.content)throw new Error("ECMA-376 Encrypted file missing "+t);var o=ch(a.content);throw new Error("File is password-protected")}function rk(e,r){qd=1024;if(r.bookType=="ods")return ME(e,r);if(e&&!e.SSF){e.SSF=E.get_table()}if(e&&e.SSF){k(E);E.load_table(e.SSF);r.revssf=R(e.SSF);r.revssf[e.SSF[65535]]=0;r.ssf=e.SSF}r.rels={};r.wbrels={};r.Strings=[];r.Strings.Count=0;r.Strings.Unique=0;var t=r.bookType=="xlsb"?"bin":"xml";var a=r.bookType=="xlsb"||r.bookType=="xlsm";var n=ea();YE(r=r||{});var i=new ee;var s="",f=0;r.cellXfs=[];gm(r.cellXfs,{},{revssf:{General:0}});if(!e.Props)e.Props={};s="docProps/core.xml";i.file(s,Ba(e.Props,r));n.coreprops.push(s);ca(r.rels,2,s,ia.CORE_PROPS);s="docProps/app.xml";if(e.Props&&e.Props.SheetNames){}else if(!e.Workbook||!e.Workbook.Sheets)e.Props.SheetNames=e.SheetNames;else e.Props.SheetNames=e.SheetNames.map(function(r,t){return[(e.Workbook.Sheets[t]||{}).Hidden!=2,r]}).filter(function(e){return e[0]}).map(function(e){return e[1]});e.Props.Worksheets=e.Props.SheetNames.length;i.file(s,xa(e.Props,r));n.extprops.push(s);ca(r.rels,3,s,ia.EXT_PROPS);if(e.Custprops!==e.Props&&I(e.Custprops||{}).length>0){s="docProps/custom.xml";i.file(s,Ra(e.Custprops,r));n.custprops.push(s);ca(r.rels,4,s,ia.CUST_PROPS)}s="xl/workbook."+t;i.file(s,Og(e,s,r));n.workbooks.push(s);ca(r.rels,1,s,ia.WB);for(f=1;f<=e.SheetNames.length;++f){var o={"!id":{}};var l=e.Sheets[e.SheetNames[f-1]];var c=(l||{})["!type"]||"sheet";switch(c){case"chart":;default:s="xl/worksheets/sheet"+f+"."+t;i.file(s,Fg(f-1,s,r,e,o));n.sheets.push(s);ca(r.wbrels,-1,"worksheets/sheet"+f+"."+t,ia.WS[0]);}if(l){var u=l["!comments"];if(u&&u.length>0){var h="xl/comments"+f+"."+t;i.file(h,Mg(u,h,r));n.comments.push(h);ca(o,-1,"../comments"+f+"."+t,ia.CMNT)}if(l["!legacy"]){i.file("xl/drawings/vmlDrawing"+f+".vml",ev(f,l["!comments"]))}delete l["!comments"];delete l["!legacy"]}if(o["!id"].rId1)i.file(sa(s),la(o))}if(r.Strings!=null&&r.Strings.length>0){s="xl/sharedStrings."+t;i.file(s,Lg(r.Strings,s,r));n.strs.push(s);ca(r.wbrels,-1,"sharedStrings."+t,ia.SST)}s="xl/theme/theme1.xml";i.file(s,Md(e.Themes,r));n.themes.push(s);ca(r.wbrels,-1,"theme/theme1.xml",ia.THEME);s="xl/styles."+t;i.file(s,Ng(e,s,r));n.styles.push(s);ca(r.wbrels,-1,"styles."+t,ia.STY);if(e.vbaraw&&a){s="xl/vbaProject.bin";i.file(s,e.vbaraw);n.vba.push(s);ca(r.wbrels,-1,"vbaProject.bin",ia.VBA)}i.file("[Content_Types].xml",na(n,r));i.file("_rels/.rels",la(r.rels));i.file("xl/_rels/workbook."+t+".rels",la(r.wbrels));delete r.revssf;delete r.ssf;return i}function tk(e,r){var t="";switch((r||{}).type||"base64"){case"buffer":return[e[0],e[1],e[2],e[3]];case"base64":t=h.decode(e.substr(0,24));break;case"binary":t=e;break;case"array":return[e[0],e[1],e[2],e[3]];default:throw new Error("Unrecognized type "+(r&&r.type||"undefined"));}return[t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3)]}function ak(e,r){if(e.find("EncryptedPackage"))return ek(e,r);return mE(e,r)}function nk(e,r){var t,a=e;var n=r||{};if(!n.type)n.type=d&&Buffer.isBuffer(e)?"buffer":"base64";switch(n.type){case"base64":t=new ee(a,{base64:true});break;case"binary":;case"array":t=new ee(a,{base64:false});break;case"buffer":t=new ee(a);break;default:throw new Error("Unrecognized type "+n.type);}return qE(t,n)}function ik(e,r){var t=0;e:while(t=2&&n[3]==0)return Nu.to_workbook(a,i);break;case 3:;case 131:;case 139:return Ru.to_workbook(a,i);case 123:if(n[1]==92&&n[2]==114&&n[3]==116)throw new Error("Unsupported RTF");break;case 10:;case 13:;case 32:return sk(a,i);}if(n[2]<=12&&n[3]<=31)return Ru.to_workbook(a,i);if(32>n[0]||n[0]>127)throw new Error("Unsupported file "+n.join("|"));return Fu.to_workbook(a,i)}function lk(e,r){var t=r||{};t.type="file";return ok(e,t)}function ck(e,r){var t=r||{};var a=rk(e,t);var n={};if(t.compression)n.compression="DEFLATE";switch(t.type){case"base64":n.type="base64";break;case"binary":n.type="string";break;case"buffer":;case"file":n.type="nodebuffer";break;default:throw new Error("Unrecognized type "+t.type);}if(t.type==="file")return q.writeFileSync(t.file,a.generate(n));return a.generate(n)}function uk(e,r){switch(r.type){case"base64":return h.encode(e);case"binary":return e;case"file":return q.writeFileSync(r.file,e,"binary");case"buffer":{if(d)return new Buffer(e,"binary");else return e.split("").map(function(e){return e.charCodeAt(0)})};}throw new Error("Unrecognized type "+r.type)}function hk(e,r){switch(r.type){case"base64":return h.encode(e);case"binary":return e;case"file":return q.writeFileSync(r.file,e,"utf8");case"buffer":{if(d)return new Buffer(e,"utf8");else return e.split("").map(function(e){return e.charCodeAt(0)})};}throw new Error("Unrecognized type "+r.type)}function dk(e,r){switch(r.type){case"base64":;case"binary":var t="";for(var a=0;a0)n=0;var v=Or(l.s.r);var p=new Array(l.e.c-l.s.c+1);var m=new Array(l.e.r-l.s.r-n+1);var b=0,g=0;var E=Array.isArray(e);var k=l.s.r,S=0,w=0;if(E&&!e[k])e[k]=[];for(S=l.s.c;S<=l.e.c;++S){p[S]=Lr(S);t=E?e[k][S]:e[p[S]+v];switch(a){case 1:i[S]=S-l.s.c;break;case 2:i[S]=p[S];break;case 3:i[S]=c.header[S-l.s.c];break;default:if(t==null)continue;o=f=$r(t,null,c);g=0;for(w=0;w=0)c='"'+c.replace(Ek,'""')+'"'}else c="";l+=(h===r.s.c?"":s)+c}if(f.blankrows===false&&o)return null;return l}function Sk(e,r){var t=[];var a=r==null?{}:r;if(e==null||e["!ref"]==null)return"";var n=Kr(e["!ref"]);var i=a.FS!==undefined?a.FS:",",s=i.charCodeAt(0);var f=a.RS!==undefined?a.RS:"\n",o=f.charCodeAt(0);var l=new RegExp((i=="|"?"\\|":i)+"+$");var c="",u=[];a.dense=Array.isArray(e);for(var h=n.s.c;h<=n.e.c;++h)u[h]=Lr(h);for(var d=n.s.r;d<=n.e.r;++d){c=kk(e,n,d,u,s,o,i,a);if(c==null){continue}if(a.strip)c=c.replace(l,"");t.push(c+f)}delete a.dense;return t.join("")}function wk(e,r){if(!r)r={};r.FS="\t";r.RS="\n";var t=Sk(e,r);if(typeof cptable=="undefined")return t;var a=cptable.utils.encode(1200,t);return"ÿþ"+a}function Bk(e){var r="",t,a="";if(e==null||e["!ref"]==null)return[];var n=Kr(e["!ref"]),i="",s=[],f;var o=[];var l=Array.isArray(e);for(f=n.s.c;f<=n.e.c;++f)s[f]=Lr(f);for(var c=n.s.r;c<=n.e.r;++c){i=Or(c);for(f=n.s.c;f<=n.e.c;++f){r=s[f]+i;t=l?(e[c]||[])[f]:e[r];a="";if(t===undefined)continue;else if(t.F!=null){r=t.F;if(!t.f)continue;a=t.f;if(r.indexOf(":")==-1)r=r+":"+r}if(t.f!=null)a=t.f;else if(t.t=="z")continue;else if(t.t=="n"&&t.v!=null)a=""+t.v;else if(t.t=="b")a=t.v?"TRUE":"FALSE";else if(t.w!==undefined)a="'"+t.w;else if(t.v===undefined)continue;else if(t.t=="s")a="'"+t.v;else a=""+t.v;o[o.length]=r+"="+a}}return o}function Ck(e,r){var t=r||{};var a={};var n;var i={s:{c:0,r:0},e:{c:0,r:e.length}};var s=t.header||[],f=0;for(var o=0;o!=e.length;++o){Object.keys(e[o]).filter(function(r){return e[o].hasOwnProperty(r)}).forEach(function(r){if((f=s.indexOf(r))==-1)s[f=s.length]=r;var i=e[o][r];var l="z";var c="";if(typeof i=="number")l="n";else if(typeof i=="boolean")l="b";else if(typeof i=="string")l="s";else if(i instanceof Date){l="d";if(!t.cellDates){l="n";i=P(i)}c=t.dateNF||E._table[14]}a[Vr({c:f,r:o+1})]=n={t:l,v:i};if(c)n.z=c})}i.e.c=s.length-1;for(f=0;f=0&&e.SheetNames.length>r)return r;throw new Error("Cannot find sheet # "+r)}else if(typeof r=="string"){var t=e.SheetNames.indexOf(r);if(t>-1)return t;throw new Error("Cannot find sheet name |"+r+"|")}else throw new Error("Cannot find sheet |"+r+"|")}e.book_new=function(){return{SheetNames:[],Sheets:{}}};e.book_append_sheet=function(e,r,t){if(!t)for(var a=1;a<=65535;++a)if(e.SheetNames.indexOf(t="Sheet"+a)==-1)break;if(!t)throw new Error("Too many worksheets");tg(t);if(e.SheetNames.indexOf(t)>=0)throw new Error("Worksheet with name |"+t+"| already exists!");e.SheetNames.push(t);e.Sheets[t]=r};e.book_set_sheet_visibility=function(e,r,a){t(e,"Workbook",{});t(e.Workbook,"Sheets",[]);var i=n(e,r);t(e.Workbook.Sheets,i,{});switch(a){case 0:;case 1:;case 2:break;default:throw new Error("Bad sheet visibility setting "+a);}e.Workbook.Sheets[i].Hidden=a};r([["SHEET_VISIBLE",0],["SHEET_HIDDEN",1],["SHEET_VERY_HIDDEN",2]]);e.cell_set_number_format=function(e,r){e.z=r;return e};e.cell_set_hyperlink=function(e,r,t){if(!r){delete e.l}else{e.l={Target:r};if(t)e.l.Tooltip=t}return e};e.cell_add_comment=function(e,r,t){if(!e.c)e.c=[];e.c.push({t:r,a:t||"SheetJS"})};e.sheet_set_array_formula=function(e,r,t){var n=typeof r!="string"?r:Kr(r);var i=typeof r=="string"?r:jr(r);for(var s=n.s.r;s<=n.e.r;++s)for(var f=n.s.c;f<=n.e.c;++f){var o=a(e,s,f);o.t="n";o.F=i;delete o.v;if(s==n.s.r&&f==n.s.c)o.f=t}return e};return e})(_k);if(d&&typeof require!="undefined")(function(){var e={}.Readable;var t=function(r,t){var a=e();var n="";var i=t==null?{}:t;if(r==null||r["!ref"]==null){a.push(null);return a}var s=Kr(r["!ref"]);var f=i.FS!==undefined?i.FS:",",o=f.charCodeAt(0);var l=i.RS!==undefined?i.RS:"\n",c=l.charCodeAt(0);var u=new RegExp((f=="|"?"\\|":f)+"+$");var h="",d=[];i.dense=Array.isArray(r);for(var v=s.s.c;v<=s.e.c;++v)d[v]=Lr(v);var p=s.s.r;a._read=function(){if(p>s.e.r)return a.push(null);while(p<=s.e.r){h=kk(r,s,p,d,o,c,f,i);++p;if(h!=null){if(i.strip)h=h.replace(u,"");a.push(h+l);break}}};return a};var a=function(r,t){var a=e();var n=t||{};var i=n.header!=null?n.header:yE.BEGIN;var s=n.footer!=null?n.footer:yE.END;a.push(i);var f=Gr(r["!ref"]);n.dense=Array.isArray(r);a.push(yE._preamble(r,f,n));var o=f.s.r;var l=false;a._read=function(){if(o>f.e.r){if(!l){l=true;a.push(""+s)}return a.push(null)}while(o<=f.e.r){a.push(yE._row(r,f,o,n));++o;break}};return a};r.stream={to_html:a,to_csv:t}})();r.parse_xlscfb=mE;r.parse_ods=FE;r.parse_fods=PE;r.write_ods=ME;r.parse_zip=qE;r.read=ok;r.readFile=lk;r.readFileSync=lk;r.write=vk;r.writeFile=mk;r.writeFileSync=mk;r.writeFileAsync=bk;r.utils=_k;r.SSF=E})(typeof exports!=="undefined"?exports:XLSX);var XLS=XLSX;var ODS=XLSX; +var DO_NOT_EXPORT_CODEPAGE=true;var DO_NOT_EXPORT_JSZIP=true;(function(e){if("object"==typeof exports&&"undefined"!=typeof module&&"undefined"==typeof DO_NOT_EXPORT_JSZIP)module.exports=e();else if("function"==typeof define&&define.amd){JSZip=e();define([],e)}else{var r;"undefined"!=typeof window?r=window:"undefined"!=typeof global?r=global:"undefined"!=typeof $&&$.global?r=$.global:"undefined"!=typeof self&&(r=self),r.JSZip=e()}})(function(){var e,r,t;return function a(e,r,t){function n(s,f){if(!r[s]){if(!e[s]){var o=typeof require=="function"&&require;if(!f&&o)return o(s,!0);if(i)return i(s,!0);throw new Error("Cannot find module '"+s+"'")}var l=r[s]={exports:{}};e[s][0].call(l.exports,function(r){var t=e[s][1][r];return n(t?t:r)},l,l.exports,a,e,r,t)}return r[s].exports}var i=typeof require=="function"&&require;for(var s=0;s>2;o=(n&3)<<4|i>>4;l=(i&15)<<2|s>>6;c=s&63;if(isNaN(i)){l=c=64}else if(isNaN(s)){c=64}t=t+a.charAt(f)+a.charAt(o)+a.charAt(l)+a.charAt(c)}return t};t.decode=function(e,r){var t="";var n,i,s;var f,o,l,c;var u=0;e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(u>4;i=(o&15)<<4|l>>2;s=(l&3)<<6|c;t=t+String.fromCharCode(n);if(l!=64){t=t+String.fromCharCode(i)}if(c!=64){t=t+String.fromCharCode(s)}}return t}},{}],2:[function(e,r,t){"use strict";function a(){this.compressedSize=0;this.uncompressedSize=0;this.crc32=0;this.compressionMethod=null;this.compressedContent=null}a.prototype={getContent:function(){return null},getCompressedContent:function(){return null}};r.exports=a},{}],3:[function(e,r,t){"use strict";t.STORE={magic:"\0\0",compress:function(e){return e},uncompress:function(e){return e},compressInputType:null,uncompressInputType:null};t.DEFLATE=e("./flate")},{"./flate":8}],4:[function(e,r,t){"use strict";var a=e("./utils");var n=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];r.exports=function i(e,r){if(typeof e==="undefined"||!e.length){return 0}var t=a.getTypeOf(e)!=="string";if(typeof r=="undefined"){r=0}var i=0;var s=0;var f=0;r=r^-1;for(var o=0,l=e.length;o>>8^i}return r^-1}},{"./utils":21}],5:[function(e,r,t){"use strict";var a=e("./utils");function n(e){this.data=null;this.length=0;this.index=0}n.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length=this.index;t--){r=(r<<8)+this.byteAt(t)}this.index+=e;return r},readString:function(e){return a.transformTo("string",this.readData(e))},readData:function(e){},lastIndexOfSignature:function(e){},readDate:function(){var e=this.readInt(4);return new Date((e>>25&127)+1980,(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(e&31)<<1)}};r.exports=n},{"./utils":21}],6:[function(e,r,t){"use strict";t.base64=false;t.binary=false;t.dir=false;t.createFolders=false;t.date=null;t.compression=null;t.comment=null},{}],7:[function(e,r,t){"use strict";var a=e("./utils");t.string2binary=function(e){return a.string2binary(e)};t.string2Uint8Array=function(e){return a.transformTo("uint8array",e)};t.uint8Array2String=function(e){return a.transformTo("string",e)};t.string2Blob=function(e){var r=a.transformTo("arraybuffer",e);return a.arrayBuffer2Blob(r)};t.arrayBuffer2Blob=function(e){return a.arrayBuffer2Blob(e)};t.transformTo=function(e,r){return a.transformTo(e,r)};t.getTypeOf=function(e){return a.getTypeOf(e)};t.checkSupport=function(e){return a.checkSupport(e)};t.MAX_VALUE_16BITS=a.MAX_VALUE_16BITS;t.MAX_VALUE_32BITS=a.MAX_VALUE_32BITS;t.pretty=function(e){return a.pretty(e)};t.findCompression=function(e){return a.findCompression(e)};t.isRegExp=function(e){return a.isRegExp(e)}},{"./utils":21}],8:[function(e,r,t){"use strict";var a=typeof Uint8Array!=="undefined"&&typeof Uint16Array!=="undefined"&&typeof Uint32Array!=="undefined";var n=e("pako");t.uncompressInputType=a?"uint8array":"array";t.compressInputType=a?"uint8array":"array";t.magic="\b\0";t.compress=function(e){return n.deflateRaw(e)};t.uncompress=function(e){return n.inflateRaw(e)}},{pako:24}],9:[function(e,r,t){"use strict";var a=e("./base64");function n(e,r){if(!(this instanceof n))return new n(e,r);this.files={};this.comment=null;this.root="";if(e){this.load(e,r)}this.clone=function(){var e=new n;for(var r in this){if(typeof this[r]!=="function"){e[r]=this[r]}}return e}}n.prototype=e("./object");n.prototype.load=e("./load");n.support=e("./support");n.defaults=e("./defaults");n.utils=e("./deprecatedPublicUtils");n.base64={encode:function(e){return a.encode(e)},decode:function(e){return a.decode(e)}};n.compressions=e("./compressions");r.exports=n},{"./base64":1,"./compressions":3,"./defaults":6,"./deprecatedPublicUtils":7,"./load":10,"./object":13,"./support":17}],10:[function(e,r,t){"use strict";var a=e("./base64");var n=e("./zipEntries");r.exports=function(e,r){var t,i,s,f;r=r||{};if(r.base64){e=a.decode(e)}i=new n(e,r);t=i.files;for(s=0;s>>8}return t};var k=function(){var e={},r,t;for(r=0;r0?e.substring(0,r):""};var C=function(e,r){if(e.slice(-1)!="/"){e+="/"}r=typeof r!=="undefined"?r:false;if(!this.files[e]){w.call(this,e,null,{dir:true,createFolders:r})}return this.files[e]};var _=function(e,r){var t=new c,a;if(e._data instanceof c){t.uncompressedSize=e._data.uncompressedSize;t.crc32=e._data.crc32;if(t.uncompressedSize===0||e.dir){r=l["STORE"];t.compressedContent="";t.crc32=0}else if(e._data.compressionMethod===r.magic){t.compressedContent=e._data.getCompressedContent()}else{a=e._data.getContent();t.compressedContent=r.compress(n.transformTo(r.compressInputType,a))}}else{a=b(e);if(!a||a.length===0||e.dir){r=l["STORE"];a=""}t.uncompressedSize=a.length;t.crc32=i(a);t.compressedContent=r.compress(n.transformTo(r.compressInputType,a))}t.compressedSize=t.compressedContent.length;t.compressionMethod=r.magic;return t};var T=function(e,r,t,a){var f=t.compressedContent,o=n.transformTo("string",h.utf8encode(r.name)),l=r.comment||"",c=n.transformTo("string",h.utf8encode(l)),u=o.length!==r.name.length,d=c.length!==l.length,v=r.options,p,b,m="",g="",k="",S,w;if(r._initialMetadata.dir!==r.dir){S=r.dir}else{S=v.dir}if(r._initialMetadata.date!==r.date){w=r.date}else{w=v.date}p=w.getHours();p=p<<6;p=p|w.getMinutes();p=p<<5;p=p|w.getSeconds()/2;b=w.getFullYear()-1980;b=b<<4;b=b|w.getMonth()+1;b=b<<5;b=b|w.getDate();if(u){g=E(1,1)+E(i(o),4)+o;m+="up"+E(g.length,2)+g}if(d){k=E(1,1)+E(this.crc32(c),4)+c;m+="uc"+E(k.length,2)+k}var B="";B+="\n\0";B+=u||d?"\0\b":"\0\0";B+=t.compressionMethod;B+=E(p,2);B+=E(b,2);B+=E(t.crc32,4);B+=E(t.compressedSize,4);B+=E(t.uncompressedSize,4);B+=E(o.length,2);B+=E(m.length,2);var C=s.LOCAL_FILE_HEADER+B+o+m;var _=s.CENTRAL_FILE_HEADER+"\0"+B+E(c.length,2)+"\0\0"+"\0\0"+(S===true?"\0\0\0":"\0\0\0\0")+E(a,4)+o+m+c;return{fileRecord:C,dirRecord:_,compressedObject:t}};var x={load:function(e,r){throw new Error("Load method is not defined. Is the file jszip-load.js included ?")},filter:function(e){var r=[],t,a,n,i;for(t in this.files){if(!this.files.hasOwnProperty(t)){continue}n=this.files[t];i=new g(n.name,n._data,k(n.options));a=t.slice(this.root.length,t.length);if(t.slice(0,this.root.length)===this.root&&e(a,i)){r.push(i)}}return r},file:function(e,r,t){if(arguments.length===1){if(n.isRegExp(e)){var a=e;return this.filter(function(e,r){return!r.dir&&a.test(e)})}else{return this.filter(function(r,t){return!t.dir&&r===e})[0]||null}}else{e=this.root+e;w.call(this,e,r,t)}return this},folder:function(e){if(!e){return this}if(n.isRegExp(e)){return this.filter(function(r,t){return t.dir&&e.test(r)})}var r=this.root+e;var t=C.call(this,r);var a=this.clone();a.root=t.name;return a},remove:function(e){e=this.root+e;var r=this.files[e];if(!r){if(e.slice(-1)!="/"){e+="/"}r=this.files[e]}if(r&&!r.dir){delete this.files[e]}else{var t=this.filter(function(r,t){return t.name.slice(0,e.length)===e});for(var a=0;a=0;--i){if(this.data[i]===r&&this.data[i+1]===t&&this.data[i+2]===a&&this.data[i+3]===n){return i}}return-1};n.prototype.readData=function(e){this.checkOffset(e);if(e===0){return new Uint8Array(0)}var r=this.data.subarray(this.index,this.index+e);this.index+=e;return r};r.exports=n},{"./dataReader":5}],19:[function(e,r,t){"use strict";var a=e("./utils");var n=function(e){this.data=new Uint8Array(e);this.index=0};n.prototype={append:function(e){if(e.length!==0){e=a.transformTo("uint8array",e);this.data.set(e,this.index);this.index+=e.length}},finalize:function(){return this.data}};r.exports=n},{"./utils":21}],20:[function(e,r,t){"use strict";var a=e("./utils");var n=e("./support");var i=e("./nodeBuffer");var s=new Array(256);for(var f=0;f<256;f++){s[f]=f>=252?6:f>=248?5:f>=240?4:f>=224?3:f>=192?2:1}s[254]=s[254]=1;var o=function(e){var r,t,a,i,s,f=e.length,o=0;for(i=0;i>>6;r[s++]=128|t&63}else if(t<65536){r[s++]=224|t>>>12;r[s++]=128|t>>>6&63;r[s++]=128|t&63}else{r[s++]=240|t>>>18;r[s++]=128|t>>>12&63;r[s++]=128|t>>>6&63;r[s++]=128|t&63}}return r};var l=function(e,r){var t;r=r||e.length;if(r>e.length){r=e.length}t=r-1;while(t>=0&&(e[t]&192)===128){t--}if(t<0){return r}if(t===0){return r}return t+s[e[t]]>r?t:r};var c=function(e){var r,t,n,i,f;var o=e.length;var l=new Array(o*2);for(n=0,t=0;t4){l[n++]=65533;t+=f-1;continue}i&=f===2?31:f===3?15:7;while(f>1&&t1){l[n++]=65533;continue}if(i<65536){l[n++]=i}else{i-=65536;l[n++]=55296|i>>10&1023;l[n++]=56320|i&1023}}if(l.length!==n){if(l.subarray){l=l.subarray(0,n)}else{l.length=n}}return a.applyFromCharCode(l)};t.utf8encode=function u(e){if(n.nodebuffer){return i(e,"utf-8")}return o(e)};t.utf8decode=function h(e){if(n.nodebuffer){return a.transformTo("nodebuffer",e).toString("utf-8")}e=a.transformTo(n.uint8array?"uint8array":"array",e);var r=[],t=0,i=e.length,s=65536;while(t1){try{if(s==="array"||s==="nodebuffer"){a.push(String.fromCharCode.apply(null,e.slice(f,Math.min(f+r,n))))}else{a.push(String.fromCharCode.apply(null,e.subarray(f,Math.min(f+r,n))))}f+=r}catch(l){r=Math.floor(r/2)}}return a.join("")}t.applyFromCharCode=o;function l(e,r){for(var t=0;t1){throw new Error("Multi-volumes zip are not supported")}},readLocalFiles:function(){var e,r;for(e=0;e0){r.windowBits=-r.windowBits}else if(r.gzip&&r.windowBits>0&&r.windowBits<16){r.windowBits+=16}this.err=0;this.msg="";this.ended=false;this.chunks=[];this.strm=new f;this.strm.avail_out=0;var t=a.deflateInit2(this.strm,r.level,r.method,r.windowBits,r.memLevel,r.strategy);if(t!==c){throw new Error(s[t])}if(r.header){a.deflateSetHeader(this.strm,r.header)}};p.prototype.push=function(e,r){var t=this.strm;var s=this.options.chunkSize;var f,h;if(this.ended){return false}h=r===~~r?r:r===true?l:o;if(typeof e==="string"){t.input=i.string2buf(e)}else{t.input=e}t.next_in=0;t.avail_in=t.input.length;do{if(t.avail_out===0){t.output=new n.Buf8(s);t.next_out=0;t.avail_out=s}f=a.deflate(t,h);if(f!==u&&f!==c){this.onEnd(f);this.ended=true;return false}if(t.avail_out===0||t.avail_in===0&&h===l){if(this.options.to==="string"){this.onData(i.buf2binstring(n.shrinkBuf(t.output,t.next_out)))}else{this.onData(n.shrinkBuf(t.output,t.next_out))}}}while((t.avail_in>0||t.avail_out===0)&&f!==u);if(h===l){f=a.deflateEnd(this.strm);this.onEnd(f);this.ended=true;return f===c}return true};p.prototype.onData=function(e){this.chunks.push(e)};p.prototype.onEnd=function(e){if(e===c){if(this.options.to==="string"){this.result=this.chunks.join("")}else{this.result=n.flattenChunks(this.chunks)}}this.chunks=[];this.err=e;this.msg=this.strm.msg};function b(e,r){var t=new p(r);t.push(e,true);if(t.err){throw t.msg}return t.result}function m(e,r){r=r||{};r.raw=true;return b(e,r)}function g(e,r){r=r||{};r.gzip=true;return b(e,r)}t.Deflate=p;t.deflate=b;t.deflateRaw=m;t.gzip=g},{"./utils/common":27,"./utils/strings":28,"./zlib/deflate.js":32,"./zlib/messages":37,"./zlib/zstream":39}],26:[function(e,r,t){"use strict";var a=e("./zlib/inflate.js");var n=e("./utils/common");var i=e("./utils/strings");var s=e("./zlib/constants");var f=e("./zlib/messages");var o=e("./zlib/zstream");var l=e("./zlib/gzheader");var c=function(e){this.options=n.assign({chunkSize:16384,windowBits:0,to:""},e||{});var r=this.options;if(r.raw&&r.windowBits>=0&&r.windowBits<16){r.windowBits=-r.windowBits;if(r.windowBits===0){r.windowBits=-15}}if(r.windowBits>=0&&r.windowBits<16&&!(e&&e.windowBits)){r.windowBits+=32}if(r.windowBits>15&&r.windowBits<48){if((r.windowBits&15)===0){r.windowBits|=15}}this.err=0;this.msg="";this.ended=false;this.chunks=[];this.strm=new o;this.strm.avail_out=0;var t=a.inflateInit2(this.strm,r.windowBits);if(t!==s.Z_OK){throw new Error(f[t])}this.header=new l;a.inflateGetHeader(this.strm,this.header)};c.prototype.push=function(e,r){var t=this.strm;var f=this.options.chunkSize;var o,l;var c,u,h;if(this.ended){return false}l=r===~~r?r:r===true?s.Z_FINISH:s.Z_NO_FLUSH;if(typeof e==="string"){t.input=i.binstring2buf(e)}else{t.input=e}t.next_in=0;t.avail_in=t.input.length;do{if(t.avail_out===0){t.output=new n.Buf8(f);t.next_out=0;t.avail_out=f}o=a.inflate(t,s.Z_NO_FLUSH);if(o!==s.Z_STREAM_END&&o!==s.Z_OK){this.onEnd(o);this.ended=true;return false}if(t.next_out){if(t.avail_out===0||o===s.Z_STREAM_END||t.avail_in===0&&l===s.Z_FINISH){if(this.options.to==="string"){c=i.utf8border(t.output,t.next_out);u=t.next_out-c;h=i.buf2string(t.output,c);t.next_out=u;t.avail_out=f-u;if(u){n.arraySet(t.output,t.output,c,u,0)}this.onData(h)}else{this.onData(n.shrinkBuf(t.output,t.next_out))}}}}while(t.avail_in>0&&o!==s.Z_STREAM_END);if(o===s.Z_STREAM_END){l=s.Z_FINISH}if(l===s.Z_FINISH){o=a.inflateEnd(this.strm);this.onEnd(o);this.ended=true;return o===s.Z_OK}return true};c.prototype.onData=function(e){this.chunks.push(e)};c.prototype.onEnd=function(e){if(e===s.Z_OK){if(this.options.to==="string"){this.result=this.chunks.join("")}else{this.result=n.flattenChunks(this.chunks)}}this.chunks=[];this.err=e;this.msg=this.strm.msg};function u(e,r){var t=new c(r);t.push(e,true);if(t.err){throw t.msg}return t.result}function h(e,r){r=r||{};r.raw=true;return u(e,r)}t.Inflate=c;t.inflate=u;t.inflateRaw=h;t.ungzip=u},{"./utils/common":27,"./utils/strings":28,"./zlib/constants":30,"./zlib/gzheader":33,"./zlib/inflate.js":35,"./zlib/messages":37,"./zlib/zstream":39}],27:[function(e,r,t){"use strict";var a=typeof Uint8Array!=="undefined"&&typeof Uint16Array!=="undefined"&&typeof Int32Array!=="undefined";t.assign=function(e){var r=Array.prototype.slice.call(arguments,1);while(r.length){var t=r.shift();if(!t){continue}if(typeof t!=="object"){throw new TypeError(t+"must be non-object")}for(var a in t){if(t.hasOwnProperty(a)){e[a]=t[a]}}}return e};t.shrinkBuf=function(e,r){if(e.length===r){return e}if(e.subarray){return e.subarray(0,r)}e.length=r;return e};var n={arraySet:function(e,r,t,a,n){if(r.subarray&&e.subarray){e.set(r.subarray(t,t+a),n);return}for(var i=0;i=252?6:o>=248?5:o>=240?4:o>=224?3:o>=192?2:1}f[254]=f[254]=1;t.string2buf=function(e){var r,t,n,i,s,f=e.length,o=0;for(i=0;i>>6;r[s++]=128|t&63}else if(t<65536){r[s++]=224|t>>>12;r[s++]=128|t>>>6&63;r[s++]=128|t&63}else{r[s++]=240|t>>>18;r[s++]=128|t>>>12&63;r[s++]=128|t>>>6&63;r[s++]=128|t&63}}return r};function l(e,r){if(r<65537){if(e.subarray&&i||!e.subarray&&n){return String.fromCharCode.apply(null,a.shrinkBuf(e,r))}}var t="";for(var s=0;s4){o[a++]=65533;t+=i-1;continue}n&=i===2?31:i===3?15:7;while(i>1&&t1){o[a++]=65533;continue}if(n<65536){o[a++]=n}else{n-=65536;o[a++]=55296|n>>10&1023;o[a++]=56320|n&1023}}return l(o,a)};t.utf8border=function(e,r){var t;r=r||e.length;if(r>e.length){r=e.length}t=r-1;while(t>=0&&(e[t]&192)===128){t--}if(t<0){return r}if(t===0){return r}return t+f[e[t]]>r?t:r}},{"./common":27}],29:[function(e,r,t){"use strict";function a(e,r,t,a){var n=e&65535|0,i=e>>>16&65535|0,s=0;while(t!==0){s=t>2e3?2e3:t;t-=s;do{n=n+r[a++]|0;i=i+n|0}while(--s);n%=65521;i%=65521}return n|i<<16|0}r.exports=a},{}],30:[function(e,r,t){r.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],31:[function(e,r,t){"use strict";function a(){var e,r=[];for(var t=0;t<256;t++){e=t;for(var a=0;a<8;a++){e=e&1?3988292384^e>>>1:e>>>1}r[t]=e}return r}var n=a();function i(e,r,t,a){var i=n,s=a+t;e=e^-1;for(var f=a;f>>8^i[(e^r[f])&255]}return e^-1}r.exports=i},{}],32:[function(e,r,t){"use strict";var a=e("../utils/common");var n=e("./trees");var i=e("./adler32");var s=e("./crc32");var f=e("./messages");var o=0;var l=1;var c=3;var u=4;var h=5;var d=0;var v=1;var p=-2;var b=-3;var m=-5;var g=-1;var E=1;var k=2;var S=3;var w=4;var B=0;var C=2;var _=8;var T=9;var x=15;var I=8;var A=29;var y=256;var R=y+1+A;var D=30;var O=19;var F=2*R+1;var P=15;var N=3;var L=258;var M=L+N+1;var U=32;var H=42;var W=69;var V=73;var z=91;var X=103;var G=113;var j=666;var K=1;var Y=2;var $=3;var Z=4;var Q=3;function J(e,r){e.msg=f[r];return r}function q(e){return(e<<1)-(e>4?9:0)}function ee(e){var r=e.length;while(--r>=0){e[r]=0}}function re(e){var r=e.state;var t=r.pending;if(t>e.avail_out){t=e.avail_out}if(t===0){return}a.arraySet(e.output,r.pending_buf,r.pending_out,t,e.next_out);e.next_out+=t;r.pending_out+=t;e.total_out+=t;e.avail_out-=t;r.pending-=t;if(r.pending===0){r.pending_out=0}}function te(e,r){n._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,r);e.block_start=e.strstart;re(e.strm)}function ae(e,r){e.pending_buf[e.pending++]=r}function ne(e,r){e.pending_buf[e.pending++]=r>>>8&255;e.pending_buf[e.pending++]=r&255}function ie(e,r,t,n){var f=e.avail_in;if(f>n){f=n}if(f===0){return 0}e.avail_in-=f;a.arraySet(r,e.input,e.next_in,f,t);if(e.state.wrap===1){e.adler=i(e.adler,r,f,t)}else if(e.state.wrap===2){e.adler=s(e.adler,r,f,t)}e.next_in+=f;e.total_in+=f;return f}function se(e,r){var t=e.max_chain_length;var a=e.strstart;var n;var i;var s=e.prev_length;var f=e.nice_match;var o=e.strstart>e.w_size-M?e.strstart-(e.w_size-M):0;var l=e.window;var c=e.w_mask;var u=e.prev;var h=e.strstart+L;var d=l[a+s-1];var v=l[a+s];if(e.prev_length>=e.good_match){t>>=2}if(f>e.lookahead){f=e.lookahead}do{n=r;if(l[n+s]!==v||l[n+s-1]!==d||l[n]!==l[a]||l[++n]!==l[a+1]){continue}a+=2;n++;do{}while(l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&as){e.match_start=r;s=i;if(i>=f){break}d=l[a+s-1];v=l[a+s]}}while((r=u[r&c])>o&&--t!==0);if(s<=e.lookahead){return s}return e.lookahead}function fe(e){var r=e.w_size;var t,n,i,s,f;do{s=e.window_size-e.lookahead-e.strstart;if(e.strstart>=r+(r-M)){a.arraySet(e.window,e.window,r,r,0);e.match_start-=r;e.strstart-=r;e.block_start-=r;n=e.hash_size;t=n;do{i=e.head[--t];e.head[t]=i>=r?i-r:0}while(--n);n=r;t=n;do{i=e.prev[--t];e.prev[t]=i>=r?i-r:0}while(--n);s+=r}if(e.strm.avail_in===0){break}n=ie(e.strm,e.window,e.strstart+e.lookahead,s);e.lookahead+=n;if(e.lookahead+e.insert>=N){f=e.strstart-e.insert;e.ins_h=e.window[f];e.ins_h=(e.ins_h<e.pending_buf_size-5){t=e.pending_buf_size-5}for(;;){if(e.lookahead<=1){fe(e);if(e.lookahead===0&&r===o){return K}if(e.lookahead===0){break}}e.strstart+=e.lookahead;e.lookahead=0;var a=e.block_start+t;if(e.strstart===0||e.strstart>=a){e.lookahead=e.strstart-a;e.strstart=a;te(e,false);if(e.strm.avail_out===0){return K}}if(e.strstart-e.block_start>=e.w_size-M){te(e,false);if(e.strm.avail_out===0){return K}}}e.insert=0;if(r===u){te(e,true);if(e.strm.avail_out===0){return $}return Z}if(e.strstart>e.block_start){te(e,false);if(e.strm.avail_out===0){return K}}return K}function le(e,r){var t;var a;for(;;){if(e.lookahead=N){e.ins_h=(e.ins_h<=N){a=n._tr_tally(e,e.strstart-e.match_start,e.match_length-N);e.lookahead-=e.match_length;if(e.match_length<=e.max_lazy_match&&e.lookahead>=N){e.match_length--;do{e.strstart++;e.ins_h=(e.ins_h<=N){e.ins_h=(e.ins_h<4096)){e.match_length=N-1}}if(e.prev_length>=N&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-N;a=n._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-N);e.lookahead-=e.prev_length-1;e.prev_length-=2;do{if(++e.strstart<=i){e.ins_h=(e.ins_h<=N&&e.strstart>0){i=e.strstart-1;a=f[i];if(a===f[++i]&&a===f[++i]&&a===f[++i]){s=e.strstart+L;do{}while(a===f[++i]&&a===f[++i]&&a===f[++i]&&a===f[++i]&&a===f[++i]&&a===f[++i]&&a===f[++i]&&a===f[++i]&&ie.lookahead){e.match_length=e.lookahead}}}if(e.match_length>=N){t=n._tr_tally(e,1,e.match_length-N);e.lookahead-=e.match_length;e.strstart+=e.match_length;e.match_length=0}else{t=n._tr_tally(e,0,e.window[e.strstart]);e.lookahead--;e.strstart++}if(t){te(e,false);if(e.strm.avail_out===0){return K}}}e.insert=0;if(r===u){te(e,true);if(e.strm.avail_out===0){return $}return Z}if(e.last_lit){te(e,false);if(e.strm.avail_out===0){return K}}return Y}function he(e,r){var t;for(;;){if(e.lookahead===0){fe(e);if(e.lookahead===0){if(r===o){return K}break}}e.match_length=0;t=n._tr_tally(e,0,e.window[e.strstart]);e.lookahead--;e.strstart++;if(t){te(e,false);if(e.strm.avail_out===0){return K}}}e.insert=0;if(r===u){te(e,true);if(e.strm.avail_out===0){return $}return Z}if(e.last_lit){te(e,false);if(e.strm.avail_out===0){return K}}return Y}var de=function(e,r,t,a,n){this.good_length=e;this.max_lazy=r;this.nice_length=t;this.max_chain=a;this.func=n};var ve;ve=[new de(0,0,0,0,oe),new de(4,4,8,4,le),new de(4,5,16,8,le),new de(4,6,32,32,le),new de(4,4,16,16,ce),new de(8,16,32,32,ce),new de(8,16,128,128,ce),new de(8,32,128,256,ce),new de(32,128,258,1024,ce),new de(32,258,258,4096,ce)];function pe(e){e.window_size=2*e.w_size;ee(e.head);e.max_lazy_match=ve[e.level].max_lazy;e.good_match=ve[e.level].good_length;e.nice_match=ve[e.level].nice_length;e.max_chain_length=ve[e.level].max_chain;e.strstart=0;e.block_start=0;e.lookahead=0;e.insert=0;e.match_length=e.prev_length=N-1;e.match_available=0;e.ins_h=0}function be(){this.strm=null;this.status=0;this.pending_buf=null;this.pending_buf_size=0;this.pending_out=0;this.pending=0;this.wrap=0;this.gzhead=null;this.gzindex=0;this.method=_;this.last_flush=-1;this.w_size=0;this.w_bits=0;this.w_mask=0;this.window=null;this.window_size=0;this.prev=null;this.head=null;this.ins_h=0;this.hash_size=0;this.hash_bits=0;this.hash_mask=0;this.hash_shift=0;this.block_start=0;this.match_length=0;this.prev_match=0;this.match_available=0;this.strstart=0;this.match_start=0;this.lookahead=0;this.prev_length=0;this.max_chain_length=0;this.max_lazy_match=0;this.level=0;this.strategy=0;this.good_match=0;this.nice_match=0;this.dyn_ltree=new a.Buf16(F*2);this.dyn_dtree=new a.Buf16((2*D+1)*2);this.bl_tree=new a.Buf16((2*O+1)*2);ee(this.dyn_ltree);ee(this.dyn_dtree);ee(this.bl_tree);this.l_desc=null;this.d_desc=null;this.bl_desc=null;this.bl_count=new a.Buf16(P+1);this.heap=new a.Buf16(2*R+1);ee(this.heap);this.heap_len=0;this.heap_max=0;this.depth=new a.Buf16(2*R+1);ee(this.depth);this.l_buf=0;this.lit_bufsize=0;this.last_lit=0;this.d_buf=0;this.opt_len=0;this.static_len=0;this.matches=0;this.insert=0;this.bi_buf=0;this.bi_valid=0}function me(e){var r;if(!e||!e.state){return J(e,p)}e.total_in=e.total_out=0;e.data_type=C;r=e.state;r.pending=0;r.pending_out=0;if(r.wrap<0){r.wrap=-r.wrap}r.status=r.wrap?H:G;e.adler=r.wrap===2?0:1;r.last_flush=o;n._tr_init(r);return d}function ge(e){var r=me(e);if(r===d){pe(e.state)}return r}function Ee(e,r){if(!e||!e.state){return p}if(e.state.wrap!==2){return p}e.state.gzhead=r;return d}function ke(e,r,t,n,i,s){if(!e){return p}var f=1;if(r===g){r=6}if(n<0){f=0;n=-n}else if(n>15){f=2;n-=16}if(i<1||i>T||t!==_||n<8||n>15||r<0||r>9||s<0||s>w){return J(e,p)}if(n===8){n=9}var o=new be;e.state=o;o.strm=e;o.wrap=f;o.gzhead=null;o.w_bits=n;o.w_size=1<>1;o.l_buf=(1+2)*o.lit_bufsize;o.level=r;o.strategy=s;o.method=t;return ge(e)}function Se(e,r){return ke(e,r,_,x,I,B)}function we(e,r){var t,a;var i,f;if(!e||!e.state||r>h||r<0){return e?J(e,p):p}a=e.state;if(!e.output||!e.input&&e.avail_in!==0||a.status===j&&r!==u){return J(e,e.avail_out===0?m:p)}a.strm=e;t=a.last_flush;a.last_flush=r;if(a.status===H){if(a.wrap===2){e.adler=0;ae(a,31);ae(a,139);ae(a,8);if(!a.gzhead){ae(a,0);ae(a,0);ae(a,0);ae(a,0);ae(a,0);ae(a,a.level===9?2:a.strategy>=k||a.level<2?4:0);ae(a,Q);a.status=G}else{ae(a,(a.gzhead.text?1:0)+(a.gzhead.hcrc?2:0)+(!a.gzhead.extra?0:4)+(!a.gzhead.name?0:8)+(!a.gzhead.comment?0:16));ae(a,a.gzhead.time&255);ae(a,a.gzhead.time>>8&255);ae(a,a.gzhead.time>>16&255);ae(a,a.gzhead.time>>24&255);ae(a,a.level===9?2:a.strategy>=k||a.level<2?4:0);ae(a,a.gzhead.os&255);if(a.gzhead.extra&&a.gzhead.extra.length){ae(a,a.gzhead.extra.length&255);ae(a,a.gzhead.extra.length>>8&255)}if(a.gzhead.hcrc){e.adler=s(e.adler,a.pending_buf,a.pending,0)}a.gzindex=0;a.status=W}}else{var b=_+(a.w_bits-8<<4)<<8;var g=-1;if(a.strategy>=k||a.level<2){g=0}else if(a.level<6){g=1}else if(a.level===6){g=2}else{g=3}b|=g<<6;if(a.strstart!==0){b|=U}b+=31-b%31;a.status=G;ne(a,b);if(a.strstart!==0){ne(a,e.adler>>>16);ne(a,e.adler&65535)}e.adler=1}}if(a.status===W){if(a.gzhead.extra){i=a.pending;while(a.gzindex<(a.gzhead.extra.length&65535)){if(a.pending===a.pending_buf_size){if(a.gzhead.hcrc&&a.pending>i){e.adler=s(e.adler,a.pending_buf,a.pending-i,i)}re(e);i=a.pending;if(a.pending===a.pending_buf_size){break}}ae(a,a.gzhead.extra[a.gzindex]&255);a.gzindex++}if(a.gzhead.hcrc&&a.pending>i){e.adler=s(e.adler,a.pending_buf,a.pending-i,i)}if(a.gzindex===a.gzhead.extra.length){a.gzindex=0;a.status=V}}else{a.status=V}}if(a.status===V){if(a.gzhead.name){i=a.pending;do{if(a.pending===a.pending_buf_size){if(a.gzhead.hcrc&&a.pending>i){e.adler=s(e.adler,a.pending_buf,a.pending-i,i)}re(e);i=a.pending;if(a.pending===a.pending_buf_size){f=1;break}}if(a.gzindexi){e.adler=s(e.adler,a.pending_buf,a.pending-i,i)}if(f===0){a.gzindex=0;a.status=z}}else{a.status=z}}if(a.status===z){if(a.gzhead.comment){i=a.pending;do{if(a.pending===a.pending_buf_size){if(a.gzhead.hcrc&&a.pending>i){e.adler=s(e.adler,a.pending_buf,a.pending-i,i)}re(e);i=a.pending;if(a.pending===a.pending_buf_size){f=1;break}}if(a.gzindexi){e.adler=s(e.adler,a.pending_buf,a.pending-i,i)}if(f===0){a.status=X}}else{a.status=X}}if(a.status===X){if(a.gzhead.hcrc){if(a.pending+2>a.pending_buf_size){re(e)}if(a.pending+2<=a.pending_buf_size){ae(a,e.adler&255);ae(a,e.adler>>8&255);e.adler=0;a.status=G}}else{a.status=G}}if(a.pending!==0){re(e);if(e.avail_out===0){a.last_flush=-1;return d}}else if(e.avail_in===0&&q(r)<=q(t)&&r!==u){return J(e,m)}if(a.status===j&&e.avail_in!==0){return J(e,m)}if(e.avail_in!==0||a.lookahead!==0||r!==o&&a.status!==j){var E=a.strategy===k?he(a,r):a.strategy===S?ue(a,r):ve[a.level].func(a,r);if(E===$||E===Z){a.status=j}if(E===K||E===$){if(e.avail_out===0){a.last_flush=-1}return d}if(E===Y){if(r===l){n._tr_align(a)}else if(r!==h){n._tr_stored_block(a,0,0,false);if(r===c){ee(a.head);if(a.lookahead===0){a.strstart=0;a.block_start=0;a.insert=0}}}re(e);if(e.avail_out===0){a.last_flush=-1;return d}}}if(r!==u){return d}if(a.wrap<=0){return v}if(a.wrap===2){ae(a,e.adler&255);ae(a,e.adler>>8&255);ae(a,e.adler>>16&255);ae(a,e.adler>>24&255);ae(a,e.total_in&255);ae(a,e.total_in>>8&255);ae(a,e.total_in>>16&255);ae(a,e.total_in>>24&255)}else{ne(a,e.adler>>>16);ne(a,e.adler&65535)}re(e);if(a.wrap>0){a.wrap=-a.wrap}return a.pending!==0?d:v}function Be(e){var r;if(!e||!e.state){return p}r=e.state.status;if(r!==H&&r!==W&&r!==V&&r!==z&&r!==X&&r!==G&&r!==j){return J(e,p)}e.state=null;return r===G?J(e,b):d}t.deflateInit=Se;t.deflateInit2=ke;t.deflateReset=ge;t.deflateResetKeep=me;t.deflateSetHeader=Ee;t.deflate=we;t.deflateEnd=Be;t.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":27,"./adler32":29,"./crc32":31,"./messages":37,"./trees":38}],33:[function(e,r,t){"use strict";function a(){this.text=0;this.time=0;this.xflags=0;this.os=0;this.extra=null;this.extra_len=0;this.name="";this.comment="";this.hcrc=0;this.done=false}r.exports=a},{}],34:[function(e,r,t){"use strict";var a=30;var n=12;r.exports=function i(e,r){var t;var i;var s;var f;var o;var l;var c;var u;var h;var d;var v;var p;var b;var m;var g;var E;var k;var S;var w;var B;var C;var _;var T;var x,I;t=e.state;i=e.next_in;x=e.input;s=i+(e.avail_in-5);f=e.next_out;I=e.output;o=f-(r-e.avail_out);l=f+(e.avail_out-257);c=t.dmax;u=t.wsize;h=t.whave;d=t.wnext;v=t.window;p=t.hold;b=t.bits;m=t.lencode;g=t.distcode;E=(1<>>24;p>>>=w;b-=w;w=S>>>16&255;if(w===0){I[f++]=S&65535}else if(w&16){B=S&65535;w&=15;if(w){if(b>>=w;b-=w}if(b<15){p+=x[i++]<>>24;p>>>=w;b-=w;w=S>>>16&255;if(w&16){C=S&65535;w&=15;if(bc){e.msg="invalid distance too far back";t.mode=a;break e}p>>>=w;b-=w;w=f-o;if(C>w){w=C-w;if(w>h){if(t.sane){e.msg="invalid distance too far back";t.mode=a;break e}}_=0;T=v;if(d===0){_+=u-w;if(w2){I[f++]=T[_++];I[f++]=T[_++];I[f++]=T[_++];B-=3}if(B){I[f++]=T[_++];if(B>1){I[f++]=T[_++]}}}else{_=f-C;do{I[f++]=I[_++];I[f++]=I[_++];I[f++]=I[_++];B-=3}while(B>2);if(B){I[f++]=I[_++];if(B>1){I[f++]=I[_++]}}}}else if((w&64)===0){S=g[(S&65535)+(p&(1<>3;i-=B;b-=B<<3;p&=(1<>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24)}function ie(){this.mode=0;this.last=false;this.wrap=0;this.havedict=false;this.flags=0;this.dmax=0;this.check=0;this.total=0;this.head=null;this.wbits=0;this.wsize=0;this.whave=0;this.wnext=0;this.window=null;this.hold=0;this.bits=0;this.length=0;this.offset=0;this.extra=0;this.lencode=null;this.distcode=null;this.lenbits=0;this.distbits=0;this.ncode=0;this.nlen=0;this.ndist=0;this.have=0;this.next=null;this.lens=new a.Buf16(320);this.work=new a.Buf16(288);this.lendyn=null;this.distdyn=null;this.sane=0;this.back=0;this.was=0}function se(e){var r;if(!e||!e.state){return m}r=e.state;e.total_in=e.total_out=r.total=0;e.msg="";if(r.wrap){e.adler=r.wrap&1}r.mode=w;r.last=0;r.havedict=0;r.dmax=32768;r.head=null;r.hold=0;r.bits=0;r.lencode=r.lendyn=new a.Buf32(ee);r.distcode=r.distdyn=new a.Buf32(re);r.sane=1;r.back=-1;return v}function fe(e){var r;if(!e||!e.state){return m}r=e.state;r.wsize=0;r.whave=0;r.wnext=0;return se(e)}function oe(e,r){var t;var a;if(!e||!e.state){return m}a=e.state;if(r<0){t=0;r=-r}else{t=(r>>4)+1;if(r<48){r&=15}}if(r&&(r<8||r>15)){return m}if(a.window!==null&&a.wbits!==r){a.window=null}a.wrap=t;a.wbits=r;return fe(e)}function le(e,r){var t;var a;if(!e){return m}a=new ie;e.state=a;a.window=null;t=oe(e,r);if(t!==v){e.state=null}return t}function ce(e){return le(e,ae)}var ue=true;var he,de;function ve(e){if(ue){var r;he=new a.Buf32(512);de=new a.Buf32(32);r=0;while(r<144){e.lens[r++]=8}while(r<256){e.lens[r++]=9}while(r<280){e.lens[r++]=7}while(r<288){e.lens[r++]=8}f(l,e.lens,0,288,he,0,e.work,{bits:9});r=0;while(r<32){e.lens[r++]=5}f(c,e.lens,0,32,de,0,e.work,{bits:5});ue=false}e.lencode=he;e.lenbits=9;e.distcode=de;e.distbits=5}function pe(e,r,t,n){var i;var s=e.state;if(s.window===null){s.wsize=1<=s.wsize){a.arraySet(s.window,r,t-s.wsize,s.wsize,0);s.wnext=0;s.whave=s.wsize}else{i=s.wsize-s.wnext;if(i>n){i=n}a.arraySet(s.window,r,t-n,i,s.wnext);n-=i;if(n){a.arraySet(s.window,r,t-n,n,0);s.wnext=n;s.whave=s.wsize}else{s.wnext+=i;if(s.wnext===s.wsize){s.wnext=0}if(s.whave>>8&255;t.check=i(t.check,_e,2,0);fe=0;oe=0;t.mode=B;break}t.flags=0;if(t.head){t.head.done=false}if(!(t.wrap&1)||(((fe&255)<<8)+(fe>>8))%31){e.msg="incorrect header check";t.mode=Q;break}if((fe&15)!==S){e.msg="unknown compression method";t.mode=Q;break}fe>>>=4;oe-=4;Be=(fe&15)+8;if(t.wbits===0){t.wbits=Be}else if(Be>t.wbits){e.msg="invalid window size";t.mode=Q;break}t.dmax=1<>8&1}if(t.flags&512){_e[0]=fe&255;_e[1]=fe>>>8&255;t.check=i(t.check,_e,2,0)}fe=0;oe=0;t.mode=C;case C:while(oe<32){if(ie===0){break e}ie--;fe+=ee[te++]<>>8&255;_e[2]=fe>>>16&255;_e[3]=fe>>>24&255;t.check=i(t.check,_e,4,0)}fe=0;oe=0;t.mode=_;case _:while(oe<16){if(ie===0){break e}ie--;fe+=ee[te++]<>8}if(t.flags&512){_e[0]=fe&255;_e[1]=fe>>>8&255;t.check=i(t.check,_e,2,0)}fe=0;oe=0;t.mode=T;case T:if(t.flags&1024){while(oe<16){if(ie===0){break e}ie--;fe+=ee[te++]<>>8&255;t.check=i(t.check,_e,2,0)}fe=0;oe=0}else if(t.head){t.head.extra=null}t.mode=x;case x:if(t.flags&1024){ue=t.length;if(ue>ie){ue=ie}if(ue){if(t.head){Be=t.head.extra_len-t.length;if(!t.head.extra){t.head.extra=new Array(t.head.extra_len)}a.arraySet(t.head.extra,ee,te,ue,Be)}if(t.flags&512){t.check=i(t.check,ee,ue,te)}ie-=ue;te+=ue;t.length-=ue}if(t.length){break e}}t.length=0;t.mode=I;case I:if(t.flags&2048){if(ie===0){break e}ue=0;do{Be=ee[te+ue++];if(t.head&&Be&&t.length<65536){t.head.name+=String.fromCharCode(Be)}}while(Be&&ue>9&1;t.head.done=true}e.adler=t.check=0;t.mode=O;break;case R:while(oe<32){if(ie===0){break e}ie--;fe+=ee[te++]<>>=oe&7;oe-=oe&7;t.mode=Y;break}while(oe<3){if(ie===0){break e}ie--;fe+=ee[te++]<>>=1;oe-=1;switch(fe&3){case 0:t.mode=P;break;case 1:ve(t);t.mode=W;if(r===d){fe>>>=2;oe-=2;break e}break;case 2:t.mode=M;break;case 3:e.msg="invalid block type";t.mode=Q;}fe>>>=2;oe-=2;break;case P: +fe>>>=oe&7;oe-=oe&7;while(oe<32){if(ie===0){break e}ie--;fe+=ee[te++]<>>16^65535)){e.msg="invalid stored block lengths";t.mode=Q;break}t.length=fe&65535;fe=0;oe=0;t.mode=N;if(r===d){break e};case N:t.mode=L;case L:ue=t.length;if(ue){if(ue>ie){ue=ie}if(ue>se){ue=se}if(ue===0){break e}a.arraySet(re,ee,te,ue,ae);ie-=ue;te+=ue;se-=ue;ae+=ue;t.length-=ue;break}t.mode=O;break;case M:while(oe<14){if(ie===0){break e}ie--;fe+=ee[te++]<>>=5;oe-=5;t.ndist=(fe&31)+1;fe>>>=5;oe-=5;t.ncode=(fe&15)+4;fe>>>=4;oe-=4;if(t.nlen>286||t.ndist>30){e.msg="too many length or distance symbols";t.mode=Q;break}t.have=0;t.mode=U;case U:while(t.have>>=3;oe-=3}while(t.have<19){t.lens[Ie[t.have++]]=0}t.lencode=t.lendyn;t.lenbits=7;Te={bits:t.lenbits};Ce=f(o,t.lens,0,19,t.lencode,0,t.work,Te);t.lenbits=Te.bits;if(Ce){e.msg="invalid code lengths set";t.mode=Q;break}t.have=0;t.mode=H;case H:while(t.have>>24;ge=be>>>16&255;Ee=be&65535;if(me<=oe){break}if(ie===0){break e}ie--;fe+=ee[te++]<>>=me;oe-=me;t.lens[t.have++]=Ee}else{if(Ee===16){xe=me+2;while(oe>>=me;oe-=me;if(t.have===0){e.msg="invalid bit length repeat";t.mode=Q;break}Be=t.lens[t.have-1];ue=3+(fe&3);fe>>>=2;oe-=2}else if(Ee===17){xe=me+3;while(oe>>=me;oe-=me;Be=0;ue=3+(fe&7);fe>>>=3;oe-=3}else{xe=me+7;while(oe>>=me;oe-=me;Be=0;ue=11+(fe&127);fe>>>=7;oe-=7}if(t.have+ue>t.nlen+t.ndist){e.msg="invalid bit length repeat";t.mode=Q;break}while(ue--){t.lens[t.have++]=Be}}}if(t.mode===Q){break}if(t.lens[256]===0){e.msg="invalid code -- missing end-of-block";t.mode=Q;break}t.lenbits=9;Te={bits:t.lenbits};Ce=f(l,t.lens,0,t.nlen,t.lencode,0,t.work,Te);t.lenbits=Te.bits;if(Ce){e.msg="invalid literal/lengths set";t.mode=Q;break}t.distbits=6;t.distcode=t.distdyn;Te={bits:t.distbits};Ce=f(c,t.lens,t.nlen,t.ndist,t.distcode,0,t.work,Te);t.distbits=Te.bits;if(Ce){e.msg="invalid distances set";t.mode=Q;break}t.mode=W;if(r===d){break e};case W:t.mode=V;case V:if(ie>=6&&se>=258){e.next_out=ae;e.avail_out=se;e.next_in=te;e.avail_in=ie;t.hold=fe;t.bits=oe;s(e,ce);ae=e.next_out;re=e.output;se=e.avail_out;te=e.next_in;ee=e.input;ie=e.avail_in;fe=t.hold;oe=t.bits;if(t.mode===O){t.back=-1}break}t.back=0;for(;;){be=t.lencode[fe&(1<>>24;ge=be>>>16&255;Ee=be&65535;if(me<=oe){break}if(ie===0){break e}ie--;fe+=ee[te++]<>ke)];me=be>>>24;ge=be>>>16&255;Ee=be&65535;if(ke+me<=oe){break}if(ie===0){break e}ie--;fe+=ee[te++]<>>=ke;oe-=ke;t.back+=ke}fe>>>=me;oe-=me;t.back+=me;t.length=Ee;if(ge===0){t.mode=K;break}if(ge&32){t.back=-1;t.mode=O;break}if(ge&64){e.msg="invalid literal/length code";t.mode=Q;break}t.extra=ge&15;t.mode=z;case z:if(t.extra){xe=t.extra;while(oe>>=t.extra;oe-=t.extra;t.back+=t.extra}t.was=t.length;t.mode=X;case X:for(;;){be=t.distcode[fe&(1<>>24;ge=be>>>16&255;Ee=be&65535;if(me<=oe){break}if(ie===0){break e}ie--;fe+=ee[te++]<>ke)];me=be>>>24;ge=be>>>16&255;Ee=be&65535;if(ke+me<=oe){break}if(ie===0){break e}ie--;fe+=ee[te++]<>>=ke;oe-=ke;t.back+=ke}fe>>>=me;oe-=me;t.back+=me;if(ge&64){e.msg="invalid distance code";t.mode=Q;break}t.offset=Ee;t.extra=ge&15;t.mode=G;case G:if(t.extra){xe=t.extra;while(oe>>=t.extra;oe-=t.extra;t.back+=t.extra}if(t.offset>t.dmax){e.msg="invalid distance too far back";t.mode=Q;break}t.mode=j;case j:if(se===0){break e}ue=ce-se;if(t.offset>ue){ue=t.offset-ue;if(ue>t.whave){if(t.sane){e.msg="invalid distance too far back";t.mode=Q;break}}if(ue>t.wnext){ue-=t.wnext;he=t.wsize-ue}else{he=t.wnext-ue}if(ue>t.length){ue=t.length}de=t.window}else{de=re;he=ae-t.offset;ue=t.length}if(ue>se){ue=se}se-=ue;t.length-=ue;do{re[ae++]=de[he++]}while(--ue);if(t.length===0){t.mode=V}break;case K:if(se===0){break e}re[ae++]=t.length;se--;t.mode=V;break;case Y:if(t.wrap){while(oe<32){if(ie===0){break e}ie--;fe|=ee[te++]<=1;C--){if(U[C]!==0){break}}if(_>C){_=C}if(C===0){b[m++]=1<<24|64<<16|0;b[m++]=1<<24|64<<16|0;E.bits=1;return 0}for(B=1;B0&&(e===f||C!==1)){return-1}H[1]=0;for(S=1;Si||e===l&&A>s){return 1}var j=0;for(;;){j++;z=S-x;if(g[w]M){X=W[V+g[w]];G=N[L+g[w]]}else{X=32+64;G=0}R=1<>x)+D]=z<<24|X<<16|G|0}while(D!==0);R=1<>=1}if(R!==0){y&=R-1;y+=R}else{y=0}w++;if(--U[S]===0){if(S===C){break}S=r[t+g[w]]}if(S>_&&(y&F)!==O){if(x===0){x=_}P+=B;T=S-x;I=1<i||e===l&&A>s){return 1}O=y&F;b[O]=_<<24|T<<16|P-m|0}}if(y!==0){b[P+y]=S-x<<24|64<<16|0}E.bits=_;return 0}},{"../utils/common":27}],37:[function(e,r,t){"use strict";r.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],38:[function(e,r,t){"use strict";var a=e("../utils/common");var n=4;var i=0;var s=1;var f=2;function o(e){var r=e.length;while(--r>=0){e[r]=0}}var l=0;var c=1;var u=2;var h=3;var d=258;var v=29;var p=256;var b=p+1+v;var m=30;var g=19;var E=2*b+1;var k=15;var S=16;var w=7;var B=256;var C=16;var _=17;var T=18;var x=[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];var I=[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];var A=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7];var y=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];var R=512;var D=new Array((b+2)*2);o(D);var O=new Array(m*2);o(O);var F=new Array(R);o(F);var P=new Array(d-h+1);o(P);var N=new Array(v);o(N);var L=new Array(m);o(L);var M=function(e,r,t,a,n){this.static_tree=e;this.extra_bits=r;this.extra_base=t;this.elems=a;this.max_length=n;this.has_stree=e&&e.length};var U;var H;var W;var V=function(e,r){this.dyn_tree=e;this.max_code=0;this.stat_desc=r};function z(e){return e<256?F[e]:F[256+(e>>>7)]}function X(e,r){e.pending_buf[e.pending++]=r&255;e.pending_buf[e.pending++]=r>>>8&255}function G(e,r,t){if(e.bi_valid>S-t){e.bi_buf|=r<>S-e.bi_valid;e.bi_valid+=t-S}else{e.bi_buf|=r<>>=1;t<<=1}while(--r>0);return t>>>1}function Y(e){if(e.bi_valid===16){X(e,e.bi_buf);e.bi_buf=0;e.bi_valid=0}else if(e.bi_valid>=8){e.pending_buf[e.pending++]=e.bi_buf&255;e.bi_buf>>=8;e.bi_valid-=8}}function $(e,r){var t=r.dyn_tree;var a=r.max_code;var n=r.stat_desc.static_tree;var i=r.stat_desc.has_stree;var s=r.stat_desc.extra_bits;var f=r.stat_desc.extra_base;var o=r.stat_desc.max_length;var l;var c,u;var h;var d;var v;var p=0;for(h=0;h<=k;h++){e.bl_count[h]=0}t[e.heap[e.heap_max]*2+1]=0;for(l=e.heap_max+1;lo){h=o;p++}t[c*2+1]=h;if(c>a){continue}e.bl_count[h]++;d=0;if(c>=f){d=s[c-f]}v=t[c*2];e.opt_len+=v*(h+d);if(i){e.static_len+=v*(n[c*2+1]+d)}}if(p===0){return}do{h=o-1;while(e.bl_count[h]===0){h--}e.bl_count[h]--;e.bl_count[h+1]+=2;e.bl_count[o]--;p-=2}while(p>0);for(h=o;h!==0;h--){c=e.bl_count[h];while(c!==0){u=e.heap[--l];if(u>a){continue}if(t[u*2+1]!==h){e.opt_len+=(h-t[u*2+1])*t[u*2];t[u*2+1]=h}c--}}}function Z(e,r,t){var a=new Array(k+1);var n=0;var i;var s;for(i=1;i<=k;i++){a[i]=n=n+t[i-1]<<1}for(s=0;s<=r;s++){var f=e[s*2+1];if(f===0){continue}e[s*2]=K(a[f]++,f)}}function Q(){var e;var r;var t;var a;var n;var i=new Array(k+1);t=0;for(a=0;a>=7;for(;a8){X(e,e.bi_buf)}else if(e.bi_valid>0){e.pending_buf[e.pending++]=e.bi_buf}e.bi_buf=0;e.bi_valid=0}function ee(e,r,t,n){q(e);if(n){X(e,t);X(e,~t)}a.arraySet(e.pending_buf,e.window,r,t,e.pending);e.pending+=t}function re(e,r,t,a){var n=r*2;var i=t*2;return e[n]>1;s>=1;s--){te(e,t,s)}l=i;do{s=e.heap[1];e.heap[1]=e.heap[e.heap_len--];te(e,t,1);f=e.heap[1];e.heap[--e.heap_max]=s;e.heap[--e.heap_max]=f;t[l*2]=t[s*2]+t[f*2];e.depth[l]=(e.depth[s]>=e.depth[f]?e.depth[s]:e.depth[f])+1;t[s*2+1]=t[f*2+1]=l;e.heap[1]=l++;te(e,t,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1];$(e,r);Z(t,o,e.bl_count)}function ie(e,r,t){var a;var n=-1;var i;var s=r[0*2+1];var f=0;var o=7;var l=4;if(s===0){o=138;l=3}r[(t+1)*2+1]=65535;for(a=0;a<=t;a++){i=s;s=r[(a+1)*2+1];if(++f=3;r--){if(e.bl_tree[y[r]*2+1]!==0){break}}e.opt_len+=3*(r+1)+5+5+4;return r}function oe(e,r,t,a){var n;G(e,r-257,5);G(e,t-1,5);G(e,a-4,4);for(n=0;n>>=1){if(r&1&&e.dyn_ltree[t*2]!==0){return i}}if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0){return s}for(t=32;t0){if(e.strm.data_type===f){e.strm.data_type=le(e)}ne(e,e.l_desc);ne(e,e.d_desc);o=fe(e);i=e.opt_len+3+7>>>3;s=e.static_len+3+7>>>3;if(s<=i){i=s}}else{i=s=t+5}if(t+4<=i&&r!==-1){he(e,r,t,a)}else if(e.strategy===n||s===i){G(e,(c<<1)+(a?1:0),3);ae(e,D,O)}else{G(e,(u<<1)+(a?1:0),3);oe(e,e.l_desc.max_code+1,e.d_desc.max_code+1,o+1);ae(e,e.dyn_ltree,e.dyn_dtree)}J(e);if(a){q(e)}}function pe(e,r,t){e.pending_buf[e.d_buf+e.last_lit*2]=r>>>8&255;e.pending_buf[e.d_buf+e.last_lit*2+1]=r&255;e.pending_buf[e.l_buf+e.last_lit]=t&255;e.last_lit++;if(r===0){e.dyn_ltree[t*2]++}else{e.matches++;r--;e.dyn_ltree[(P[t]+p+1)*2]++;e.dyn_dtree[z(r)*2]++}return e.last_lit===e.lit_bufsize-1}t._tr_init=ue;t._tr_stored_block=he;t._tr_flush_block=ve;t._tr_tally=pe;t._tr_align=de},{"../utils/common":27}],39:[function(e,r,t){"use strict";function a(){this.input=null;this.next_in=0;this.avail_in=0;this.total_in=0;this.output=null;this.next_out=0;this.avail_out=0;this.total_out=0;this.msg="";this.state=null;this.data_type=2;this.adler=0}r.exports=a},{}]},{},[9])(9)});var XLSX={};(function e(r){r.version="0.11.1";var t=1200;if(typeof module!=="undefined"&&typeof require!=="undefined"){if(typeof cptable==="undefined")global.cptable=undefined}function a(){n(1200)}var n=function(e){t=e};function i(e){var r=[];for(var t=0,a=e.length;t>1;++t)r[t]=String.fromCharCode(e.charCodeAt(2*t)+(e.charCodeAt(2*t+1)<<8));return r.join("")}function f(e){var r=[];for(var t=0;t>1;++t)r[t]=String.fromCharCode(e.charCodeAt(2*t+1)+(e.charCodeAt(2*t)<<8));return r.join("")}var o=function(e){var r=e.charCodeAt(0),t=e.charCodeAt(1);if(r==255&&t==254)return s(e.substr(2));if(r==254&&t==255)return f(e.substr(2));if(r==65279)return e.substr(1);return e};var l=function Fk(e){return String.fromCharCode(e)};if(typeof cptable!=="undefined"){n=function(e){t=e};o=function(e){if(e.charCodeAt(0)===255&&e.charCodeAt(1)===254){return cptable.utils.decode(1200,i(e.substr(2)))}return e};l=function Pk(e){if(t===1200)return String.fromCharCode(e);return cptable.utils.decode(t,[e&255,e>>8])[0]}}var c=null;var u=true;var h=function Nk(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return{encode:function(r){var t="";var a,n,i,s,f,o,l;for(var c=0;c>2;f=(a&3)<<4|n>>4;o=(n&15)<<2|i>>6;l=i&63;if(isNaN(n)){o=l=64}else if(isNaN(i)){l=64}t+=e.charAt(s)+e.charAt(f)+e.charAt(o)+e.charAt(l)}return t},decode:function r(t){var a="";var n,i,s;var f,o,l,c;t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"");for(var u=0;u>4;i=(o&15)<<4|l>>2;s=(l&3)<<6|c;a+=String.fromCharCode(n);if(l!=64){a+=String.fromCharCode(i)}if(c!=64){a+=String.fromCharCode(s)}}return a}}}();var d=typeof Buffer!=="undefined"&&typeof process!=="undefined"&&typeof process.versions!=="undefined"&&process.versions.node;function v(e){return new(d?Buffer:Array)(e)}function p(e){if(d)return new Buffer(e,"binary");return e.split("").map(function(e){return e.charCodeAt(0)&255})}var b=function(e){return[].concat.apply([],e)};var m=/\u0000/g,g=/[\u0001-\u0006]/;var E={};var k=function Lk(e){e.version="0.10.0";function r(e){var r="",t=e.length-1;while(t>=0)r+=e.charAt(t--);return r}function t(e,r){var t="";while(t.length=r?a:t("0",r-a.length)+a}function n(e,r){var a=""+e;return a.length>=r?a:t(" ",r-a.length)+a}function i(e,r){var a=""+e;return a.length>=r?a:a+t(" ",r-a.length)}function s(e,r){var a=""+Math.round(e);return a.length>=r?a:t("0",r-a.length)+a}function f(e,r){var a=""+e;return a.length>=r?a:t("0",r-a.length)+a}var o=Math.pow(2,32);function l(e,r){if(e>o||e<-o)return s(e,r);var t=Math.round(e);return f(t,r)}function c(e,r){r=r||0;return e.length>=7+r&&(e.charCodeAt(r)|32)===103&&(e.charCodeAt(r+1)|32)===101&&(e.charCodeAt(r+2)|32)===110&&(e.charCodeAt(r+3)|32)===101&&(e.charCodeAt(r+4)|32)===114&&(e.charCodeAt(r+5)|32)===97&&(e.charCodeAt(r+6)|32)===108}var u=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]];var h=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]];function d(e){e[0]="General";e[1]="0";e[2]="0.00";e[3]="#,##0";e[4]="#,##0.00";e[9]="0%";e[10]="0.00%";e[11]="0.00E+00";e[12]="# ?/?";e[13]="# ??/??";e[14]="m/d/yy";e[15]="d-mmm-yy";e[16]="d-mmm";e[17]="mmm-yy";e[18]="h:mm AM/PM";e[19]="h:mm:ss AM/PM";e[20]="h:mm";e[21]="h:mm:ss";e[22]="m/d/yy h:mm";e[37]="#,##0 ;(#,##0)";e[38]="#,##0 ;[Red](#,##0)";e[39]="#,##0.00;(#,##0.00)";e[40]="#,##0.00;[Red](#,##0.00)";e[45]="mm:ss";e[46]="[h]:mm:ss";e[47]="mmss.0";e[48]="##0.0E+0";e[49]="@";e[56]='"上午/下午 "hh"時"mm"分"ss"秒 "';e[65535]="General"}var v={};d(v);function p(e,r,t){var a=e<0?-1:1;var n=e*a;var i=0,s=1,f=0;var o=1,l=0,c=0;var u=Math.floor(n);while(lr){if(l>r){c=o;f=i}else{c=l;f=s}}if(!t)return[0,a*f,c];var h=Math.floor(a*f/c);return[h,a*f-h*c,c]}function b(e,r,t){if(e>2958465||e<0)return null;var a=e|0,n=Math.floor(86400*(e-a)),i=0;var s=[];var f={D:a,T:n,u:86400*(e-a)-n,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(f.u)<1e-6)f.u=0;if(r&&r.date1904)a+=1462;if(f.u>.9999){f.u=0;if(++n==86400){f.T=n=0;++a;++f.D}}if(a===60){s=t?[1317,10,29]:[1900,2,29];i=3}else if(a===0){s=t?[1317,8,29]:[1900,1,0];i=6}else{if(a>60)--a;var o=new Date(1900,0,1);o.setDate(o.getDate()+a-1);s=[o.getFullYear(),o.getMonth()+1,o.getDate()];i=o.getDay();if(a<60)i=(i+6)%7;if(t)i=C(o,s)}f.y=s[0];f.m=s[1];f.d=s[2];f.S=n%60;n=Math.floor(n/60);f.M=n%60;n=Math.floor(n/60);f.H=n;f.q=i;return f}e.parse_date_code=b;var m=new Date(1899,11,31,0,0,0);var g=m.getTime();var E=new Date(1900,2,1,0,0,0);function k(e,r){var t=e.getTime();if(r)t-=1461*24*60*60*1e3;else if(e>=E)t+=24*60*60*1e3;return(t-(g+(e.getTimezoneOffset()-m.getTimezoneOffset())*6e4))/(24*60*60*1e3)}function S(e){return e.toString(10)}e._general_int=S;var w=function M(){var e=/\.(\d*[1-9])0+$/,r=/\.0*$/,t=/\.(\d*[1-9])0+/,a=/\.0*[Ee]/,n=/(E[+-])(\d)$/;function i(e){var r=e<0?12:11;var t=o(e.toFixed(12));if(t.length<=r)return t;t=e.toPrecision(10);if(t.length<=r)return t;return e.toExponential(5)}function s(r){var t=r.toFixed(11).replace(e,".$1");if(t.length>(r<0?12:11))t=r.toPrecision(6);return t}function f(e){for(var r=0;r!=e.length;++r)if((e.charCodeAt(r)|32)===101)return e.replace(t,".$1").replace(a,"E").replace("e","E").replace(n,"$10$2");return e}function o(t){return t.indexOf(".")>-1?t.replace(r,"").replace(e,".$1"):t}return function l(e){var r=Math.floor(Math.log(Math.abs(e))*Math.LOG10E),t;if(r>=-4&&r<=-1)t=e.toPrecision(10+r);else if(Math.abs(r)<=9)t=i(e);else if(r===10)t=e.toFixed(10).substr(0,12);else t=s(e);return o(f(t))}}();e._general_num=w;function B(e,r){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(e|0)===e?S(e):w(e);case"undefined":return"";case"object":if(e==null)return"";if(e instanceof Date)return N(14,k(e,r&&r.date1904),r);}throw new Error("unsupported value in General format: "+e)}e._general=B;function C(){return 0}function _(e,r,t,n){var i="",s=0,f=0,o=t.y,l,c=0;switch(e){case 98:o=t.y+543;case 121:switch(r.length){case 1:;case 2:l=o%100;c=2;break;default:l=o%1e4;c=4;break;}break;case 109:switch(r.length){case 1:;case 2:l=t.m;c=r.length;break;case 3:return h[t.m-1][1];case 5:return h[t.m-1][0];default:return h[t.m-1][2];}break;case 100:switch(r.length){case 1:;case 2:l=t.d;c=r.length;break;case 3:return u[t.q][0];default:return u[t.q][1];}break;case 104:switch(r.length){case 1:;case 2:l=1+(t.H+11)%12;c=r.length;break;default:throw"bad hour format: "+r;}break;case 72:switch(r.length){case 1:;case 2:l=t.H;c=r.length;break;default:throw"bad hour format: "+r;}break;case 77:switch(r.length){case 1:;case 2:l=t.M;c=r.length;break;default:throw"bad minute format: "+r;}break;case 115:if(r!="s"&&r!="ss"&&r!=".0"&&r!=".00"&&r!=".000")throw"bad second format: "+r;if(t.u===0&&(r=="s"||r=="ss"))return a(t.S,r.length);if(n>=2)f=n===3?1e3:100;else f=n===1?10:1;s=Math.round(f*(t.S+t.u));if(s>=60*f)s=0;if(r==="s")return s===0?"0":""+s/f;i=a(s,2+n);if(r==="ss")return i.substr(0,2);return"."+i.substr(2,r.length-1);case 90:switch(r){case"[h]":;case"[hh]":l=t.D*24+t.H;break;case"[m]":;case"[mm]":l=(t.D*24+t.H)*60+t.M;break;case"[s]":;case"[ss]":l=((t.D*24+t.H)*60+t.M)*60+Math.round(t.S+t.u);break;default:throw"bad abstime format: "+r;}c=r.length===3?1:2;break;case 101:l=o;c=1;}if(c>0)return a(l,c);else return""}function T(e){var r=3;if(e.length<=r)return e;var t=e.length%r,a=e.substr(0,t);for(;t!=e.length;t+=r)a+=(a.length>0?",":"")+e.substr(t,r);return a}var x=function U(){var e=/%/g;function s(r,a,n){var i=a.replace(e,""),s=a.length-i.length;return x(r,i,n*Math.pow(10,2*s))+t("%",s)}function f(e,r,t){var a=r.length-1;while(r.charCodeAt(a-1)===44)--a;return x(e,r.substr(0,a),t/Math.pow(10,3*(r.length-a)))}function o(e,r){var t;var a=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(r==0)return"0.0E+0";else if(r<0)return"-"+o(e,-r);var n=e.indexOf(".");if(n===-1)n=e.indexOf("E");var i=Math.floor(Math.log(r)*Math.LOG10E)%n;if(i<0)i+=n;t=(r/Math.pow(10,i)).toPrecision(a+1+(n+i)%n);if(t.indexOf("e")===-1){var s=Math.floor(Math.log(r)*Math.LOG10E);if(t.indexOf(".")===-1)t=t.charAt(0)+"."+t.substr(1)+"E+"+(s-t.length+i);else t+="E+"+(s-i);while(t.substr(0,2)==="0."){t=t.charAt(0)+t.substr(2,n)+"."+t.substr(2+n);t=t.replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.")}t=t.replace(/\+-/,"-")}t=t.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(e,r,t,a){return r+t+a.substr(0,(n+i)%n)+"."+a.substr(i)+"E"})}else t=r.toExponential(a);if(e.match(/E\+00$/)&&t.match(/e[+-]\d$/))t=t.substr(0,t.length-1)+"0"+t.charAt(t.length-1);if(e.match(/E\-/)&&t.match(/e\+/))t=t.replace(/e\+/,"e");return t.replace("e","E")}var c=/# (\?+)( ?)\/( ?)(\d+)/;function u(e,r,i){var s=parseInt(e[4],10),f=Math.round(r*s),o=Math.floor(f/s);var l=f-o*s,c=s;return i+(o===0?"":""+o)+" "+(l===0?t(" ",e[1].length+1+e[4].length):n(l,e[1].length)+e[2]+"/"+e[3]+a(c,e[4].length))}function h(e,r,a){return a+(r===0?"":""+r)+t(" ",e[1].length+2+e[4].length)}var d=/^#*0*\.([0#]+)/;var v=/\).*[0#]/;var b=/\(###\) ###\\?-####/;function m(e){var r="",t;for(var a=0;a!=e.length;++a)switch(t=e.charCodeAt(a)){case 35:break;case 63:r+=" ";break;case 48:r+="0";break;default:r+=String.fromCharCode(t);}return r}function g(e,r){var t=Math.pow(10,r);return""+Math.round(e*t)/t}function E(e,r){if(r<(""+Math.round((e-Math.floor(e))*Math.pow(10,r))).length){return 0}return Math.round((e-Math.floor(e))*Math.pow(10,r))}function k(e,r){if(r<(""+Math.round((e-Math.floor(e))*Math.pow(10,r))).length){return 1}return 0}function S(e){if(e<2147483647&&e>-2147483648)return""+(e>=0?e|0:e-1|0);return""+Math.floor(e)}function w(e,h,B){if(e.charCodeAt(0)===40&&!h.match(v)){var C=h.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");if(B>=0)return w("n",C,B);return"("+w("n",C,-B)+")"}if(h.charCodeAt(h.length-1)===44)return f(e,h,B);if(h.indexOf("%")!==-1)return s(e,h,B);if(h.indexOf("E")!==-1)return o(h,B);if(h.charCodeAt(0)===36)return"$"+w(e,h.substr(h.charAt(1)==" "?2:1),B);var _;var I,A,y,R=Math.abs(B),D=B<0?"-":"";if(h.match(/^00+$/))return D+l(R,h.length);if(h.match(/^[#?]+$/)){_=l(B,0);if(_==="0")_="";return _.length>h.length?_:m(h.substr(0,h.length-_.length))+_}if(I=h.match(c))return u(I,R,D);if(h.match(/^#+0+$/))return D+l(R,h.length-h.indexOf("0"));if(I=h.match(d)){_=g(B,I[1].length).replace(/^([^\.]+)$/,"$1."+m(I[1])).replace(/\.$/,"."+m(I[1])).replace(/\.(\d*)$/,function(e,r){return"."+r+t("0",m(I[1]).length-r.length)});return h.indexOf("0.")!==-1?_:_.replace(/^0\./,".")}h=h.replace(/^#+([0.])/,"$1");if(I=h.match(/^(0*)\.(#*)$/)){return D+g(R,I[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,I[1].length?"0.":".")}if(I=h.match(/^#{1,3},##0(\.?)$/))return D+T(l(R,0));if(I=h.match(/^#,##0\.([#0]*0)$/)){return B<0?"-"+w(e,h,-B):T(""+(Math.floor(B)+k(B,I[1].length)))+"."+a(E(B,I[1].length),I[1].length)}if(I=h.match(/^#,#*,#0/))return w(e,h.replace(/^#,#*,/,""),B);if(I=h.match(/^([0#]+)(\\?-([0#]+))+$/)){_=r(w(e,h.replace(/[\\-]/g,""),B));A=0;return r(r(h.replace(/\\/g,"")).replace(/[0#]/g,function(e){return A<_.length?_.charAt(A++):e==="0"?"0":""}))}if(h.match(b)){_=w(e,"##########",B);return"("+_.substr(0,3)+") "+_.substr(3,3)+"-"+_.substr(6)}var O="";if(I=h.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/)){A=Math.min(I[4].length,7);y=p(R,Math.pow(10,A)-1,false);_=""+D;O=x("n",I[1],y[1]);if(O.charAt(O.length-1)==" ")O=O.substr(0,O.length-1)+"0";_+=O+I[2]+"/"+I[3];O=i(y[2],A);if(O.length=0)return I("n",o,f);return"("+I("n",o,-f)+")"}if(s.charCodeAt(s.length-1)===44)return B(e,s,f);if(s.indexOf("%")!==-1)return C(e,s,f);if(s.indexOf("E")!==-1)return _(s,f);if(s.charCodeAt(0)===36)return"$"+I(e,s.substr(s.charAt(1)==" "?2:1),f);var l;var u,g,E,k=Math.abs(f),S=f<0?"-":"";if(s.match(/^00+$/))return S+a(k,s.length);if(s.match(/^[#?]+$/)){l=""+f;if(f===0)l="";return l.length>s.length?l:m(s.substr(0,s.length-l.length))+l}if(u=s.match(c))return h(u,k,S);if(s.match(/^#+0+$/))return S+a(k,s.length-s.indexOf("0"));if(u=s.match(d)){l=(""+f).replace(/^([^\.]+)$/,"$1."+m(u[1])).replace(/\.$/,"."+m(u[1]));l=l.replace(/\.(\d*)$/,function(e,r){return"."+r+t("0",m(u[1]).length-r.length)});return s.indexOf("0.")!==-1?l:l.replace(/^0\./,".")}s=s.replace(/^#+([0.])/,"$1");if(u=s.match(/^(0*)\.(#*)$/)){return S+(""+k).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,u[1].length?"0.":".")}if(u=s.match(/^#{1,3},##0(\.?)$/))return S+T(""+k);if(u=s.match(/^#,##0\.([#0]*0)$/)){return f<0?"-"+I(e,s,-f):T(""+f)+"."+t("0",u[1].length)}if(u=s.match(/^#,#*,#0/))return I(e,s.replace(/^#,#*,/,""),f);if(u=s.match(/^([0#]+)(\\?-([0#]+))+$/)){l=r(I(e,s.replace(/[\\-]/g,""),f));g=0;return r(r(s.replace(/\\/g,"")).replace(/[0#]/g,function(e){return g-1||t=="\\"&&e.charAt(r+1)=="-"&&"0#".indexOf(e.charAt(r+2))>-1)){}break;case"?":while(e.charAt(++r)===t){}break;case"*":++r;if(e.charAt(r)==" "||e.charAt(r)=="*")++r;break;case"(":;case")":++r;break;case"1":;case"2":;case"3":;case"4":;case"5":;case"6":;case"7":;case"8":;case"9":while(r-1){}break;case" ":++r;break;default:++r;break;}}return false}e.is_date=y;function R(e,r,t,a){var n=[],i="",s=0,f="",o="t",l,u,h;var d="H";while(s=12?"P":"A";m.t="T";d="h";s+=3}else if(e.substr(s,5).toUpperCase()==="AM/PM"){if(l!=null)m.v=l.H>=12?"PM":"AM";m.t="T";s+=5;d="h"}else{m.t="t";++s}if(l==null&&m.t==="T")return"";n[n.length]=m;o=f;break;case"[":i=f;while(e.charAt(s++)!=="]"&&s-1){i=(i.match(/\$([^-\[\]]*)/)||[])[1]||"$";if(!y(e))n[n.length]={t:"t",v:i}}break;case".":if(l!=null){i=f;while(++s-1||f=="\\"&&e.charAt(s+1)=="-"&&s-1)i+=f;n[n.length]={t:"n",v:i};break;case"?":i=f;while(e.charAt(++s)===f)i+=f;n[n.length]={t:f,v:i};o=f;break;case"*":++s;if(e.charAt(s)==" "||e.charAt(s)=="*")++s;break;case"(":;case")":n[n.length]={t:a===1?"t":f,v:f};++s;break;case"1":;case"2":;case"3":;case"4":;case"5":;case"6":;case"7":;case"8":;case"9":i=f;while(s-1)i+=e.charAt(s);n[n.length]={t:"D",v:i};break;case" ":n[n.length]={t:f,v:f};++s;break;default:if(",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP".indexOf(f)===-1)throw new Error("unrecognized character "+f+" in "+e);n[n.length]={t:"t",v:f};++s;break;}}var g=0,E=0,k;for(s=n.length-1,o="t";s>=0;--s){switch(n[s].t){case"h":;case"H":n[s].t=d;o="h";if(g<1)g=1;break;case"s":if(k=n[s].v.match(/\.0+$/))E=Math.max(E,k[0].length-1);if(g<3)g=3;case"d":;case"y":;case"M":;case"e":o=n[s].t;break;case"m":if(o==="s"){n[s].t="M";if(g<2)g=2}break;case"X":break;case"Z":if(g<1&&n[s].v.match(/[Hh]/))g=1;if(g<2&&n[s].v.match(/[Mm]/))g=2;if(g<3&&n[s].v.match(/[Ss]/))g=3;}}switch(g){case 0:break;case 1:if(l.u>=.5){l.u=0;++l.S}if(l.S>=60){l.S=0;++l.M}if(l.M>=60){l.M=0;++l.H}break;case 2:if(l.u>=.5){l.u=0;++l.S}if(l.S>=60){l.S=0;++l.M}break;}var S="",w;for(s=0;s0){if(S.charCodeAt(0)==40){T=r<0&&S.charCodeAt(0)===45?-r:r;I=x("(",S,T)}else{T=r<0&&a>1?-r:r;I=x("n",S,T);if(T<0&&n[0]&&n[0].t=="t"){I=I.substr(1);n[0].v="-"+n[0].v}}w=I.length-1;var R=n.length;for(s=0;s-1){R=s;break}var D=n.length;if(R===n.length&&I.indexOf("E")===-1){for(s=n.length-1;s>=0;--s){if(n[s]==null||"n?(".indexOf(n[s].t)===-1)continue;if(w>=n[s].v.length-1){w-=n[s].v.length;n[s].v=I.substr(w+1,n[s].v.length)}else if(w<0)n[s].v="";else{n[s].v=I.substr(0,w+1);w=-1}n[s].t="t";D=s}if(w>=0&&D=0;--s){if(n[s]==null||"n?(".indexOf(n[s].t)===-1)continue;u=n[s].v.indexOf(".")>-1&&s===R?n[s].v.indexOf(".")-1:n[s].v.length-1;C=n[s].v.substr(u+1);for(;u>=0;--u){if(w>=0&&(n[s].v.charAt(u)==="0"||n[s].v.charAt(u)==="#"))C=I.charAt(w--)+C}n[s].v=C;n[s].t="t";D=s}if(w>=0&&D-1&&s===R?n[s].v.indexOf(".")+1:0;C=n[s].v.substr(0,u);for(;u-1){T=a>1&&r<0&&s>0&&n[s-1].v==="-"?-r:r;n[s].v=x(n[s].t,n[s].v,T);n[s].t="t"}var O="";for(s=0;s!==n.length;++s)if(n[s]!=null)O+=n[s].v;return O}e._eval=R;var D=/\[[=<>]/;var O=/\[([=<>]*)(-?\d+\.?\d*)\]/;function F(e,r){if(r==null)return false;var t=parseFloat(r[2]);switch(r[1]){case"=":if(e==t)return true;break;case">":if(e>t)return true;break;case"<":if(e":if(e!=t)return true;break;case">=":if(e>=t)return true;break;case"<=":if(e<=t)return true;break;}return false}function P(e,r){var t=I(e);var a=t.length,n=t[a-1].indexOf("@");if(a<4&&n>-1)--a;if(t.length>4)throw new Error("cannot find right format for |"+t.join("|")+"|");if(typeof r!=="number")return[4,t.length===4||n>-1?t[t.length-1]:"@"];switch(t.length){case 1:t=n>-1?["General","General","General",t[0]]:[t[0],t[0],t[0],"@"];break;case 2:t=n>-1?[t[0],t[0],t[0],t[1]]:[t[0],t[1],t[0],"@"];break;case 3:t=n>-1?[t[0],t[1],t[0],t[2]]:[t[0],t[1],t[2],"@"];break;case 4:break;}var i=r>0?t[0]:r<0?t[1]:t[2];if(t[0].indexOf("[")===-1&&t[1].indexOf("[")===-1)return[a,i];if(t[0].match(D)!=null||t[1].match(D)!=null){var s=t[0].match(O);var f=t[1].match(O);return F(r,s)?[a,t[0]]:F(r,f)?[a,t[1]]:[a,t[s!=null&&f!=null?2:1]]}return[a,i]}function N(e,r,t){if(t==null)t={};var a="";switch(typeof e){case"string":if(e=="m/d/yy"&&t.dateNF)a=t.dateNF;else a=e;break;case"number":if(e==14&&t.dateNF)a=t.dateNF;else a=(t.table!=null?t.table:v)[e];break;}if(c(a,0))return B(r,t);if(r instanceof Date)r=k(r,t.date1904);var n=P(a,r);if(c(n[1]))return B(r,t);if(r===true)r="TRUE";else if(r===false)r="FALSE";else if(r===""||r==null)return"";return R(n[1],r,t,n[0])}function L(e,r){if(typeof r!="number"){r=+r||-1;for(var t=0;t<392;++t){if(v[t]==undefined){if(r<0)r=t;continue}if(v[t]==e){r=t;break}}if(r<0)r=391}v[r]=e;return r}e.load=L;e._table=v;e.get_table=function H(){return v};e.load_table=function W(e){for(var r=0;r!=392;++r)if(e[r]!==undefined)L(e[r],r)};e.init_table=d;e.format=N};k(E);var S={"General Number":"General","General Date":E._table[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":E._table[15],"Short Date":E._table[14],"Long Time":E._table[19],"Medium Time":E._table[18],"Short Time":E._table[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:E._table[2],Standard:E._table[4],Percent:E._table[10],Scientific:E._table[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'};var w=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;function B(e){var r=typeof e=="number"?E._table[e]:e;r=r.replace(w,"(\\d+)");return new RegExp("^"+r+"$")}function C(e,r,t){var a=-1,n=-1,i=-1,s=-1,f=-1,o=-1;(r.match(w)||[]).forEach(function(e,r){var l=parseInt(t[r+1],10);switch(e.toLowerCase().charAt(0)){case"y":a=l;break;case"d":i=l;break;case"h":s=l;break;case"s":o=l;break;case"m":if(s>=0)f=l;else n=l;break;}});if(o>=0&&f==-1&&n>=0){f=n;n=-1}var l=(""+(a>=0?a:(new Date).getFullYear())).slice(-4)+"-"+("00"+(n>=1?n:1)).slice(-2)+"-"+("00"+(i>=1?i:1)).slice(-2);if(l.length==7)l="0"+l;if(l.length==8)l="20"+l;var c=("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(f>=0?f:0)).slice(-2)+":"+("00"+(o>=0?o:0)).slice(-2);if(s==-1&&f==-1&&o==-1)return l;if(a==-1&&n==-1&&i==-1)return c;return l+"T"+c}var _=true;var T=function Mk(){var e={};e.version="0.12.0";function r(e,r){var o=3;var u=512;var h=0;var d=0;var v=0;var p=0;var b=0;var m=[];var g=e.slice(0,512);Er(g,0);var E=t(g);o=E[0];switch(o){case 3:u=512;break;case 4:u=4096;break;default:throw new Error("Major Version: Expected 3 or 4 saw "+o);}if(u!==512){g=e.slice(0,u);Er(g,28)}var k=e.slice(0,u);a(g,o);var w=g.read_shift(4,"i");if(o===3&&w!==0)throw new Error("# Directory Sectors: Expected 0 saw "+w);g.l+=4;v=g.read_shift(4,"i");g.l+=4;g.chk("00100000","Mini Stream Cutoff Size: ");p=g.read_shift(4,"i");h=g.read_shift(4,"i");b=g.read_shift(4,"i");d=g.read_shift(4,"i");for(var B=-1,C=0;C<109;++C){B=g.read_shift(4,"i");if(B<0)break;m[C]=B}var _=n(e,u);f(b,d,_,u,m);var T=l(_,v,m,u);T[v].name="!Directory";if(h>0&&p!==S)T[p].name="!MiniFAT";T[m[0]].name="!FAT";T.fat_addrs=m;T.ssz=u;var x={},I=[],A=[],y=[],R={};c(v,T,_,I,h,x,A);i(A,R,y,I);var D=I.shift();var O=s(y,I,A,x,D);return{raw:{header:k,sectors:_},FileIndex:A,FullPaths:y,FullPathDir:R,find:O}}function t(e){e.chk(w,"Header Signature: ");e.chk(B,"CLSID: ");var r=e.read_shift(2,"u");return[e.read_shift(2,"u"),r]}function a(e,r){var t=9;e.l+=2;switch(t=e.read_shift(2)){case 9:if(r!=3)throw new Error("Sector Shift: Expected 9 saw "+t);break;case 12:if(r!=4)throw new Error("Sector Shift: Expected 12 saw "+t);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+t);}e.chk("0600","Mini Sector Shift: ");e.chk("000000000000","Reserved: ")}function n(e,r){var t=Math.ceil(e.length/r)-1;var a=[];for(var n=1;n>>2)-1;if(!s)return;for(var l=0;l=0;){n[l]=true;s[s.length]=l;f.push(e[l]);var u=t[Math.floor(l*4/a)];c=l*4&o;if(a<4+c)throw new Error("FAT boundary crossed: "+l+" 4 "+a);if(!e[u])break;l=cr(e[u],c)}return{nodes:s,data:We([f])}}function l(e,r,t,a){var n=e.length,i=[];var s=[],f=[],o=[];var l=a-1,c=0,u=0,h=0,d=0;for(c=0;c=n)h-=n;if(s[h])continue;o=[];for(u=h;u>=0;){s[u]=true;f[f.length]=u;o.push(e[u]);var v=t[Math.floor(u*4/a)];d=u*4&l;if(a<4+d)throw new Error("FAT boundary crossed: "+u+" 4 "+a);if(!e[v])break;u=cr(e[v],d)}i[h]={nodes:f,data:We([o])}}return i}function c(e,r,t,a,n,i,s){var f=0,l=a.length?2:0;var c=r[e].data;var h=0,d=0,v;for(;h0&&f!==S)r[f].name="!StreamData"}else if(b.size>=4096){b.storage="fat";if(r[b.start]===undefined)r[b.start]=o(t,b.start,r.fat_addrs,r.ssz);r[b.start].name=b.name;b.content=r[b.start].data.slice(0,b.size);Er(b.content,0)}else{b.storage="minifat";if(f!==S&&b.start!==S){b.content=r[f].data.slice(b.start*k,b.start*k+b.size);Er(b.content,0)}}i[v]=b;s.push(b)}}function u(e,r){return new Date((lr(e,r+4)/1e7*Math.pow(2,32)+lr(e,r)/1e7-11644473600)*1e3)}var d;function v(e,t){if(d==null)d=require("fs");return r(d.readFileSync(e),t)}function E(e,t){switch(t&&t.type||"base64"){case"file":return v(e,t);case"base64":return r(p(h.decode(e)),t);case"binary":return r(p(e),t);}return r(e,t)}var k=64;var S=-2;var w="d0cf11e0a1b11ae1";var B="00000000000000000000000000000000";var C={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:S,FREESECT:-1,HEADER_SIGNATURE:w,HEADER_MINOR_VERSION:"3e00",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:B,EntryTypes:["unknown","storage","stream","lockbytes","property","root"]};e.read=E;e.parse=r;e.utils={ReadShift:dr,CheckField:gr,prep_blob:Er,bconcat:b,consts:C};return e}();if(typeof require!=="undefined"&&typeof module!=="undefined"&&typeof _==="undefined"){module.exports=T}function x(e){return e!==undefined&&e!==null}function I(e){return Object.keys(e)}function A(e,r){var t=[],a=I(e);for(var n=0;n!==a.length;++n)t[e[a[n]][r]]=a[n];return t}function y(e){var r=[],t=I(e);for(var a=0;a!==t.length;++a)r[e[t[a]]]=t[a];return r}function R(e){var r=[],t=I(e);for(var a=0;a!==t.length;++a)r[e[t[a]]]=parseInt(t[a],10);return r}function D(e){var r=[],t=I(e);for(var a=0;a!==t.length;++a){if(r[e[t[a]]]==null)r[e[t[a]]]=[];r[e[t[a]]].push(t[a])}return r}var O=new Date(1899,11,30,0,0,0);var F=O.getTime()+((new Date).getTimezoneOffset()-O.getTimezoneOffset())*6e4;function P(e,r){var t=e.getTime();if(r)t-=1462*24*60*60*1e3;return(t-F)/(24*60*60*1e3)}function N(e){var r=new Date;r.setTime(e*24*60*60*1e3+F);return r}function L(e){var r=0,t=0,a=false;var n=e.match(/P([0-9\.]+Y)?([0-9\.]+M)?([0-9\.]+D)?T([0-9\.]+H)?([0-9\.]+M)?([0-9\.]+S)?/);if(!n)throw new Error("|"+e+"| is not an ISO8601 Duration");for(var i=1;i!=n.length;++i){if(!n[i])continue;t=1;if(i>3)a=true;switch(n[i].substr(n[i].length-1)){case"Y":throw new Error("Unsupported ISO Duration Field: "+n[i].substr(n[i].length-1));case"D":t*=24;case"H":t*=60;case"M":if(!a)throw new Error("Unsupported ISO Duration Field: M");else t*=60;case"S":break;}r+=t*parseInt(n[i],10)}return r}var M=new Date("2017-02-19T19:06:09.000Z");if(isNaN(M.getFullYear()))M=new Date("2/19/17");var U=M.getFullYear()==2017;function H(e,r){var t=new Date(e);if(U){if(r>0)t.setTime(t.getTime()+t.getTimezoneOffset()*60*1e3);else if(r<0)t.setTime(t.getTime()-t.getTimezoneOffset()*60*1e3);return t}if(e instanceof Date)return e;if(M.getFullYear()==1917&&!isNaN(t.getFullYear())){var a=t.getFullYear();if(e.indexOf(""+a)>-1)return t;t.setFullYear(t.getFullYear()+100);return t}var n=e.match(/\d+/g)||["2017","2","19","0","0","0"];return new Date(+n[0],+n[1]-1,+n[2],+n[3]||0,+n[4]||0,+n[5]||0)}function W(e){var r="";for(var t=0;t!=e.length;++t)r+=String.fromCharCode(e[t]);return r}function V(e){var r=[];for(var t=0;t!=e.length;++t)r.push(e.charCodeAt(t));return r}function z(e){if(typeof JSON!="undefined"&&!Array.isArray(e))return JSON.parse(JSON.stringify(e));if(typeof e!="object"||e==null)return e;var r={};for(var t in e)if(e.hasOwnProperty(t))r[t]=z(e[t]);return r}function X(e,r){var t="";while(t.length8099)return t;if((n>0||i>1)&&a!=101)return r;if(e.toLowerCase().match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/))return r;if(!e.match(/[a-zA-Z]/))return r;return t}function j(e){if(!e)return null;if(e.data)return o(e.data);if(e.asNodeBuffer&&d)return o(e.asNodeBuffer().toString("binary"));if(e.asBinary)return o(e.asBinary());if(e._data&&e._data.getContent)return o(W(Array.prototype.slice.call(e._data.getContent(),0)));return null}function K(e){if(!e)return null;if(e.data)return i(e.data);if(e.asNodeBuffer&&d)return e.asNodeBuffer();if(e._data&&e._data.getContent){var r=e._data.getContent();if(typeof r=="string")return V(r);return Array.prototype.slice.call(r)}return null}function Y(e){return e&&e.name.slice(-4)===".bin"?K(e):j(e)}function $(e,r){var t=I(e.files);var a=r.toLowerCase(),n=a.replace(/\//g,"\\");for(var i=0;i\/]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g;var ne=/<[^>]*>/g;var ie=/<\w*:/,se=/<(\/?)\w+:/;function fe(e,r){var t={};var a=0,n=0;for(;a!==e.length;++a)if((n=e.charCodeAt(a))===32||n===10||n===13)break;if(!r)t[0]=e.substr(0,a);if(a===e.length)return t;var i=e.match(ae),s=0,f="",o=0,l="",c="",u=1;if(i)for(o=0;o!=i.length;++o){c=i[o];for(n=0;n!=c.length;++n)if(c.charCodeAt(n)===61)break;l=c.substr(0,n);u=(a=c.charCodeAt(n+1))==34||a==39?1:0;f=c.substring(n+1+u,c.length-u);for(s=0;s!=l.length;++s)if(l.charCodeAt(s)===58)break;if(s===l.length){if(l.indexOf("_")>0)l=l.substr(0,l.indexOf("_"));t[l]=f}else{var h=(s===5&&l.substr(0,5)==="xmlns"?"xmlns":"")+l.substr(s+1);if(t[h]&&l.substr(s-3,3)=="ext")continue;t[h]=f}}return t}function oe(e){return e.replace(se,"<$1")}var le={""":'"',"'":"'",">":">","<":"<","&":"&"};var ce=y(le);var ue=function(){var e=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/g,r=/_x([\da-fA-F]{4})_/g;return function t(a){var n=a+"";return n.replace(e,function(e,r){return le[e]||String.fromCharCode(parseInt(r,e.indexOf("x")>-1?16:10))||e}).replace(r,function(e,r){return String.fromCharCode(parseInt(r,16))})}}();var he=/[&<>'"]/g,de=/[\u0000-\u0008\u000b-\u001f]/g;function ve(e,r){var t=e+"";return t.replace(he,function(e){return ce[e]}).replace(de,function(e){return"_x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+"_"})}function pe(e){return ve(e).replace(/ /g,"_x0020_")}var be=/[\u0000-\u001f]/g;function me(e){var r=e+"";return r.replace(he,function(e){return ce[e]}).replace(be,function(e){return"&#x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+";"})}var ge=function(){var e=/&#(\d+);/g;function r(e,r){return String.fromCharCode(parseInt(r,10))}return function t(a){return a.replace(e,r)}}();var Ee=function(){return function e(r){return r.replace(/(\r\n|[\r\n])/g," ")}}();function ke(e,r){switch(e){case 1:;case true:;case"1":;case"true":;case"TRUE":return true;default:return false;}}var Se=function Uk(e){var r="",t=0,a=0,n=0,i=0,s=0,f=0;while(t191&&a<224){s=(a&31)<<6;s|=n&63;r+=String.fromCharCode(s);continue}i=e.charCodeAt(t++);if(a<240){r+=String.fromCharCode((a&15)<<12|(n&63)<<6|i&63);continue}s=e.charCodeAt(t++);f=((a&7)<<18|(n&63)<<12|(i&63)<<6|s&63)-65536;r+=String.fromCharCode(55296+(f>>>10&1023));r+=String.fromCharCode(56320+(f&1023))}return r};if(d){var we=function Hk(e){var r=new Buffer(2*e.length),t,a,n=1,i=0,s=0,f;for(a=0;a>>10&1023);t=56320+(t&1023)}if(s!==0){r[i++]=s&255;r[i++]=s>>>8;s=0}r[i++]=t%256;r[i++]=t>>>8}return r.slice(0,i).toString("ucs2")};var Be="foo bar baz☃🍣";if(Se(Be)==we(Be))Se=we;var Ce=function Wk(e){return Buffer(e,"binary").toString("utf8")};if(Se(Be)==Ce(Be))Se=Ce}var _e=function(){var e={};return function r(t,a){var n=t+"|"+(a||"");if(e[n])return e[n];return e[n]=new RegExp("<(?:\\w+:)?"+t+'(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)",a||"")}}();var Te=function(){var e={};return function r(t){if(e[t]!==undefined)return e[t];return e[t]=new RegExp("<(?:vt:)?"+t+">([\\s\\S]*?)","g")}}();var xe=/<\/?(?:vt:)?variant>/g,Ie=/<(?:vt:)([^>]*)>([\s\S]*)"+r+""}function De(e){return I(e).map(function(r){return" "+r+'="'+e[r]+'"'}).join("")}function Oe(e,r,t){return"<"+e+(x(t)?De(t):"")+(x(r)?(r.match(ye)?' xml:space="preserve"':"")+">"+r+""}function Fe(e,r){try{return e.toISOString().replace(/\.\d*/,"")}catch(t){if(r)throw t}return""}function Pe(e){switch(typeof e){case"string":return Oe("vt:lpwstr",e);case"number":return Oe((e|0)==e?"vt:i4":"vt:r8",String(e));case"boolean":return Oe("vt:bool",e?"true":"false");}if(e instanceof Date)return Oe("vt:filetime",Fe(e));throw new Error("Unable to serialize "+e)}var Ne='\r\n';var Le={dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",mx:"http://schemas.microsoft.com/office/mac/excel/2008/main",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",sjs:"http://schemas.openxmlformats.org/package/2006/sheetjs/core-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",xsd:"http://www.w3.org/2001/XMLSchema"};Le.main=["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"];var Me={o:"urn:schemas-microsoft-com:office:office",x:"urn:schemas-microsoft-com:office:excel",ss:"urn:schemas-microsoft-com:office:spreadsheet",dt:"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882",mv:"http://macVmlSchemaUri",v:"urn:schemas-microsoft-com:vml",html:"http://www.w3.org/TR/REC-html40"};function Ue(e,r){var t=1-2*(e[r+7]>>>7);var a=((e[r+7]&127)<<4)+(e[r+6]>>>4&15);var n=e[r+6]&15;for(var i=5;i>=0;--i)n=n*256+e[r+i];if(a==2047)return n==0?t*Infinity:NaN;if(a==0)a=-1022;else{a-=1023;n+=Math.pow(2,52)}return t*Math.pow(2,a-52)*n}function He(e,r,t){var a=(r<0||1/r==-Infinity?1:0)<<7,n=0,i=0;var s=a?-r:r;if(!isFinite(s)){n=2047;i=isNaN(r)?26985:0}else{n=Math.floor(Math.log(s)*Math.LOG2E);i=r*Math.pow(2,52-n);if(n<=-1023&&(!isFinite(i)||i>4|a}var We,Ve;We=Ve=function Vk(e){var r=[];for(var t=0;t0?Ke(e,r+4,r+4+t-1):""};var Qe,Je;Qe=Je=function jk(e,r){var t=2*lr(e,r);return t>0?Ke(e,r+4,r+4+t-1):""};var qe,er;qe=er=function Kk(e,r){var t=lr(e,r);return t>0?ze(e,r+4,r+4+t):""};var rr,tr;rr=tr=function Yk(e,r){var t=lr(e,r);return t>0?Ke(e,r+4,r+4+t):""};var ar,nr;ar=nr=function(e,r){return Ue(e,r)};var ir=function $k(e){return Array.isArray(e)};if(d){ze=function Zk(e,r,t){if(!Buffer.isBuffer(e))return Xe(e,r,t);return e.toString("utf16le",r,t)};Ge=function(e,r,t){return Buffer.isBuffer(e)?e.toString("hex",r,r+t):je(e,r,t)};$e=function Qk(e,r){if(!Buffer.isBuffer(e))return Ze(e,r);var t=e.readUInt32LE(r);return t>0?e.toString("utf8",r+4,r+4+t-1):""};Qe=function Jk(e,r){if(!Buffer.isBuffer(e))return Je(e,r);var t=2*e.readUInt32LE(r);return e.toString("utf16le",r+4,r+4+t-1)};qe=function qk(e,r){if(!Buffer.isBuffer(e))return er(e,r);var t=e.readUInt32LE(r);return e.toString("utf16le",r+4,r+4+t)};rr=function eS(e,r){if(!Buffer.isBuffer(e))return tr(e,r);var t=e.readUInt32LE(r);return e.toString("utf8",r+4,r+4+t)};Ke=function rS(e,r,t){return e.toString("utf8",r,t)};We=function(e){return e[0].length>0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0]):Ve(e)};b=function(e){return Buffer.isBuffer(e[0])?Buffer.concat(e):[].concat.apply([],e)};ar=function tS(e,r){if(Buffer.isBuffer(e))return e.readDoubleLE(r);return nr(e,r)};ir=function aS(e){return Buffer.isBuffer(e)||Array.isArray(e)}}if(typeof cptable!=="undefined"){ze=function(e,r,t){return cptable.utils.decode(1200,e.slice(r,t))};Ke=function(e,r,t){return cptable.utils.decode(65001,e.slice(r,t))};$e=function(e,r){var a=lr(e,r);return a>0?cptable.utils.decode(t,e.slice(r+4,r+4+a-1)):""};Qe=function(e,r){var t=2*lr(e,r);return t>0?cptable.utils.decode(1200,e.slice(r+4,r+4+t-1)):""};qe=function(e,r){var t=lr(e,r);return t>0?cptable.utils.decode(1200,e.slice(r+4,r+4+t)):""};rr=function(e,r){var t=lr(e,r);return t>0?cptable.utils.decode(65001,e.slice(r+4,r+4+t)):""}}var sr=function(e,r){return e[r]};var fr=function(e,r){return e[r+1]*(1<<8)+e[r]};var or=function(e,r){var t=e[r+1]*(1<<8)+e[r];return t<32768?t:(65535-t+1)*-1};var lr=function(e,r){return e[r+3]*(1<<24)+(e[r+2]<<16)+(e[r+1]<<8)+e[r]};var cr=function(e,r){return e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]};var ur=function(e){return e.match(/../g).map(function(e){return parseInt(e,16)})};var hr=typeof Buffer!=="undefined"?function(e){return Buffer.isBuffer(e)?new Buffer(e,"hex"):ur(e)}:ur;function dr(e,r){var a="",n,i,s=[],f,o,c,u;switch(r){case"dbcs":u=this.l;if(d&&Buffer.isBuffer(this))a=this.slice(this.l,this.l+2*e).toString("utf16le");else for(c=0;c!=e;++c){a+=String.fromCharCode(fr(this,u));u+=2}e*=2;break;case"utf8":a=Ke(this,this.l,this.l+e);break;case"utf16le":e*=2;a=ze(this,this.l,this.l+e);break;case"wstr":if(typeof cptable!=="undefined")a=cptable.utils.decode(t,this.slice(this.l,this.l+2*e));else return dr.call(this,e,"dbcs");e=2*e;break;case"lpstr":a=$e(this,this.l);e=5+a.length;break;case"lpwstr":a=Qe(this,this.l);e=5+a.length;if(a[a.length-1]=="\0")e+=2;break;case"lpp4":e=4+lr(this,this.l);a=qe(this,this.l);if(e&2)e+=2;break;case"8lpp4":e=4+lr(this,this.l);a=rr(this,this.l);if(e&3)e+=4-(e&3);break;case"cstr":e=0;a="";while((f=sr(this,this.l+e++))!==0)s.push(l(f));a=s.join("");break;case"_wstr":e=0;a="";while((f=fr(this,this.l+e))!==0){s.push(l(f));e+=2}e+=2;a=s.join("");break;case"dbcs-cont":a="";u=this.l;for(c=0;c!=e;++c){if(this.lens&&this.lens.indexOf(u)!==-1){f=sr(this,u);this.l=u+1;o=dr.call(this,e-c,f?"dbcs-cont":"sbcs-cont");return s.join("")+o}s.push(l(fr(this,u)));u+=2}a=s.join("");e*=2;break;case"sbcs-cont":a="";u=this.l;for(c=0;c!=e;++c){if(this.lens&&this.lens.indexOf(u)!==-1){f=sr(this,u);this.l=u+1;o=dr.call(this,e-c,f?"dbcs-cont":"sbcs-cont");return s.join("")+o}s.push(l(sr(this,u)));u+=1}a=s.join("");break;default:switch(e){case 1:n=sr(this,this.l);this.l++;return n;case 2:n=(r==="i"?or:fr)(this,this.l);this.l+=2;return n;case 4:if(r==="i"||(this[this.l+3]&128)===0){n=cr(this,this.l);this.l+=4;return n}else{i=lr(this,this.l);this.l+=4}return i;case 8:if(r==="f"){i=ar(this,this.l);this.l+=8;return i};case 16:a=Ge(this,this.l,e);break;};}this.l+=e;return a}var vr=function(e,r,t){e[t]=r&255;e[t+1]=r>>>8&255};var pr=function(e,r,t){e[t]=r&255;e[t+1]=r>>>8&255;e[t+2]=r>>>16&255;e[t+3]=r>>>24&255};var br=function(e,r,t){e[t]=r&255;e[t+1]=r>>8&255;e[t+2]=r>>16&255;e[t+3]=r>>24&255};function mr(e,r,t){var a=0,n=0;if(t==="dbcs"){for(n=0;n!=r.length;++n)vr(this,r.charCodeAt(n),this.l+2*n);a=2*r.length}else if(t==="sbcs"){for(n=0;n!=r.length;++n)this[this.l+n]=r.charCodeAt(n)&255;a=r.length}else switch(e){case 1:a=1;this[this.l]=r&255;break;case 2:a=2;this[this.l]=r&255;r>>>=8;this[this.l+1]=r&255;break;case 3:a=3;this[this.l]=r&255;r>>>=8;this[this.l+1]=r&255;r>>>=8;this[this.l+2]=r&255;break;case 4:a=4;pr(this,r,this.l);break;case 8:a=8;if(t==="f"){He(this,r,this.l);break};case 16:break;case-4:a=4;br(this,r,this.l);break;}this.l+=a;return this}function gr(e,r){var t=Ge(this,this.l,e.length>>1);if(t!==e)throw r+"Expected "+e+" saw "+t;this.l+=e.length>>1}function Er(e,r){e.l=r;e.read_shift=dr;e.chk=gr;e.write_shift=mr}function kr(e,r){e.l+=r}function Sr(e,r){if(typeof console!="undefined")console.log(e.slice(e.l,e.l+r));e.l+=r}function wr(e,r){e.l+=r}function Br(e){var r=v(e);Er(r,0);return r}function Cr(e,r,t){if(!e)return;var a,n,i;Er(e,e.l||0); +var s=e.length,f=0,o=0;while(e.la.l)a=a.slice(0,a.l);if(a.length>0)e.push(a);a=null};var i=function c(e){if(a&&e=128?1:0)+1+a;if(a>=128)++i;if(a>=16384)++i;if(a>=2097152)++i;var s=e.next(i);if(n<=127)s.write_shift(1,n);else{s.write_shift(1,(n&127)+128);s.write_shift(1,n>>7)}for(var f=0;f!=4;++f){if(a>=128){s.write_shift(1,(a&127)+128);a>>=7}else{s.write_shift(1,a);break}}if(a>0&&ir(t))e.push(t)}function xr(e,r,t){var a=z(e);if(r.s){if(a.cRel)a.c+=r.s.c;if(a.rRel)a.r+=r.s.r}else{a.c+=r.c;a.r+=r.r}if(!t||t.biff<12){while(a.c>=256)a.c-=256;while(a.r>=65536)a.r-=65536}return a}function Ir(e,r,t){var a=z(e);a.s=xr(a.s,r.s,t);a.e=xr(a.e,r.s,t);return a}function Ar(e){var r=zr(e);if(e.cRel===0)r=Ur(r);if(e.rRel===0)r=Pr(r);return r}function yr(e,r){if(e.s.r==0&&!e.s.rRel){if(e.e.r==(r.biff>=12?1048575:65535)&&!e.e.rRel){return(e.s.cRel?"":"$")+Mr(e.s.c)+":"+(e.e.cRel?"":"$")+Mr(e.e.c)}}if(e.s.c==0&&!e.s.cRel){if(e.e.c==(r.biff>=12?65535:255)&&!e.e.cRel){return(e.s.rRel?"":"$")+Fr(e.s.r)+":"+(e.e.rRel?"":"$")+Fr(e.e.r)}}return Ar(e.s)+":"+Ar(e.e)}var Rr={};var Dr=function(e,r){var t;if(typeof r!=="undefined")t=r;else if(typeof require!=="undefined"){try{t=undefined}catch(a){t=null}}e.rc4=function(e,r){var t=new Array(256);var a=0,n=0,i=0,s=0;for(n=0;n!=256;++n)t[n]=n;for(n=0;n!=256;++n){i=i+t[n]+e[n%e.length].charCodeAt(0)&255;s=t[n];t[n]=t[i];t[i]=s}n=i=0;var f=Buffer(r.length);for(a=0;a!=r.length;++a){n=n+1&255;i=(i+t[n])%256;s=t[n];t[n]=t[i];t[i]=s;f[a]=r[a]^t[t[n]+t[i]&255]}return f};e.md5=function(e){if(!t)throw new Error("Unsupported crypto");return t.createHash("md5").update(e).digest("hex")}};Dr(Rr,typeof crypto!=="undefined"?crypto:undefined);function Or(e){return parseInt(Nr(e),10)-1}function Fr(e){return""+(e+1)}function Pr(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}function Nr(e){return e.replace(/\$(\d+)$/,"$1")}function Lr(e){var r=Hr(e),t=0,a=0;for(;a!==r.length;++a)t=26*t+r.charCodeAt(a)-64;return t-1}function Mr(e){var r="";for(++e;e;e=Math.floor((e-1)/26))r=String.fromCharCode((e-1)%26+65)+r;return r}function Ur(e){return e.replace(/^([A-Z])/,"$$$1")}function Hr(e){return e.replace(/^\$([A-Z])/,"$1")}function Wr(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function Vr(e){var r=Wr(e);return{c:Lr(r[0]),r:Or(r[1])}}function zr(e){return Mr(e.c)+Fr(e.r)}function Xr(e){return Ur(Pr(e))}function Gr(e){return Hr(Nr(e))}function jr(e){var r=e.split(":").map(Vr);return{s:r[0],e:r[r.length-1]}}function Kr(e,r){if(typeof r==="undefined"||typeof r==="number"){return Kr(e.s,e.e)}if(typeof e!=="string")e=zr(e);if(typeof r!=="string")r=zr(r);return e==r?e:e+":"+r}function Yr(e){var r={s:{c:0,r:0},e:{c:0,r:0}};var t=0,a=0,n=0;var i=e.length;for(t=0;a26)break;t=26*t+n}r.s.c=--t;for(t=0;a9)break;t=10*t+n}r.s.r=--t;if(a===i||e.charCodeAt(++a)===58){r.e.c=r.s.c;r.e.r=r.s.r;return r}for(t=0;a!=i;++a){if((n=e.charCodeAt(a)-64)<1||n>26)break;t=26*t+n}r.e.c=--t;for(t=0;a!=i;++a){if((n=e.charCodeAt(a)-48)<0||n>9)break;t=10*t+n}r.e.r=--t;return r}function $r(e,r){var t=e.t=="d"&&r instanceof Date;if(e.z!=null)try{return e.w=E.format(e.z,t?P(r):r)}catch(a){}try{return e.w=E.format((e.XF||{}).numFmtId||(t?14:0),t?P(r):r)}catch(a){return""+r}}function Zr(e,r,t){if(e==null||e.t==null||e.t=="z")return"";if(e.w!==undefined)return e.w;if(e.t=="d"&&!e.z&&t&&t.dateNF)e.z=t.dateNF;if(r==undefined)return $r(e,e.v);return $r(e,r)}function Qr(e,r){var t=r&&r.sheet?r.sheet:"Sheet1";var a={};a[t]=e;return{SheetNames:[t],Sheets:a}}function Jr(e,r){var t=r||{};if(c!=null&&t.dense==null)t.dense=c;var a=t.dense?[]:{};var n={s:{c:1e7,r:1e7},e:{c:0,r:0}};for(var i=0;i!=e.length;++i){for(var s=0;s!=e[i].length;++s){if(typeof e[i][s]==="undefined")continue;var f={v:e[i][s]};if(Array.isArray(f.v)){f.f=e[i][s][1];f.v=f.v[0]}if(n.s.r>i)n.s.r=i;if(n.s.c>s)n.s.c=s;if(n.e.r0)r.write_shift(0,e,"dbcs");return t?r.slice(0,r.l):r}function tt(e,r){return{ich:e.read_shift(2),ifnt:e.read_shift(2)}}function at(e,r){if(!r)r=Br(4);r.write_shift(2,e.ich||0);r.write_shift(2,e.ifnt||0);return r}function nt(e,r){var t=e.l;var a=e.read_shift(1);var n=et(e);var i=[];var s={t:n,h:n};if((a&1)!==0){var f=e.read_shift(4);for(var o=0;o!=f;++o)i.push(tt(e));s.r=i}else s.r=[{ich:0,ifnt:0}];e.l=t+r;return s}function it(e,r){var t=false;if(r==null){t=true;r=Br(15+4*e.t.length)}r.write_shift(1,0);rt(e.t,r);return t?r.slice(0,r.l):r}var st=nt;function ft(e,r){var t=false;if(r==null){t=true;r=Br(23+4*e.t.length)}r.write_shift(1,1);rt(e.t,r);r.write_shift(4,1);at({ich:0,ifnt:0},r);return t?r.slice(0,r.l):r}function ot(e){var r=e.read_shift(4);var t=e.read_shift(2);t+=e.read_shift(1)<<16;var a=e.read_shift(1);return{c:r,iStyleRef:t}}function lt(e,r){if(r==null)r=Br(8);r.write_shift(-4,e.c);r.write_shift(3,e.iStyleRef||e.s);r.write_shift(1,0);return r}var ct=et;var ut=rt;function ht(e){var r=e.read_shift(4);return r===0||r===4294967295?"":e.read_shift(r,"dbcs")}function dt(e,r){var t=false;if(r==null){t=true;r=Br(127)}r.write_shift(4,e.length>0?e.length:4294967295);if(e.length>0)r.write_shift(0,e,"dbcs");return t?r.slice(0,r.l):r}var vt=et;var pt=rt;var bt=ht;var mt=dt;function gt(e){var r=e.slice(e.l,e.l+4);var t=r[0]&1,a=r[0]&2;e.l+=4;r[0]&=252;var n=a===0?ar([0,0,0,0,r[0],r[1],r[2],r[3]],0):cr(r,0)>>2;return t?n/100:n}function Et(e,r){if(r==null)r=Br(4);var t=0,a=0,n=e*100;if(e==(e|0)&&e>=-(1<<29)&&e<1<<29){a=1}else if(n==(n|0)&&n>=-(1<<29)&&n<1<<29){a=1;t=1}if(a)r.write_shift(-4,((t?n:e)<<2)+(t+2));else throw new Error("unsupported RkNumber "+e)}function kt(e){var r={s:{},e:{}};r.s.r=e.read_shift(4);r.e.r=e.read_shift(4);r.s.c=e.read_shift(4);r.e.c=e.read_shift(4);return r}function St(e,r){if(!r)r=Br(16);r.write_shift(4,e.s.r);r.write_shift(4,e.e.r);r.write_shift(4,e.s.c);r.write_shift(4,e.e.c);return r}var wt=kt;var Bt=St;function Ct(e,r){return e.read_shift(8,"f")}function _t(e,r){return(r||Br(8)).write_shift(8,e,"f")}var Tt={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"};var xt=R(Tt);function It(e,r){var t={};var a=e.read_shift(1);var n=a&1;var i=a>>>1;var s=e.read_shift(1);var f=e.read_shift(2,"i");var o=e.read_shift(1);var l=e.read_shift(1);var c=e.read_shift(1);var u=e.read_shift(1);switch(i){case 0:t.auto=1;break;case 1:t.index=s;var h=Qt[s];if(h)t.rgb=Th(h);break;case 2:t.rgb=Th([o,l,c]);break;case 3:t.theme=s;break;}if(f!=0)t.tint=f>0?f/32767:f/32768;return t}function At(e,r){if(!r)r=Br(8);if(!e||e.auto){r.write_shift(4,0);r.write_shift(4,0);return r}if(e.index){r.write_shift(1,2);r.write_shift(1,e.index)}else if(e.theme){r.write_shift(1,6);r.write_shift(1,e.theme)}else{r.write_shift(1,5);r.write_shift(1,0)}var t=e.tint||0;if(t>0)t*=32767;else if(t<0)t*=32768;r.write_shift(2,t);if(!e.rgb){r.write_shift(2,0);r.write_shift(1,0);r.write_shift(1,0)}else{var a=e.rgb||"FFFFFF";r.write_shift(1,parseInt(a.substr(0,2),16));r.write_shift(1,parseInt(a.substr(2,2),16));r.write_shift(1,parseInt(a.substr(4,2),16));r.write_shift(1,255)}return r}function yt(e,r,t){var a=e.read_shift(1);e.l++;var n={fItalic:a&2,fStrikeout:a&8,fOutline:a&16,fShadow:a&32,fCondense:a&64,fExtend:a&128};return n}function Rt(e,r){if(!r)r=Br(2);var t=(e.italic?2:0)|(e.strike?8:0)|(e.outline?16:0)|(e.shadow?32:0)|(e.condense?64:0)|(e.extend?128:0);r.write_shift(1,t);r.write_shift(1,0);return r}{var Dt=2;var Ot=3;var Ft=11;var Pt=12;var Nt=19;var Lt=21;var Mt=30;var Ut=64;var Ht=71;var Wt=4096;var Vt=80;var zt=81;var Xt=[Vt,zt]}var Gt={1:{n:"CodePage",t:Dt},2:{n:"Category",t:Vt},3:{n:"PresentationFormat",t:Vt},4:{n:"ByteCount",t:Ot},5:{n:"LineCount",t:Ot},6:{n:"ParagraphCount",t:Ot},7:{n:"SlideCount",t:Ot},8:{n:"NoteCount",t:Ot},9:{n:"HiddenCount",t:Ot},10:{n:"MultimediaClipCount",t:Ot},11:{n:"Scale",t:Ft},12:{n:"HeadingPair",t:Wt|Pt},13:{n:"DocParts",t:Wt|Mt},14:{n:"Manager",t:Vt},15:{n:"Company",t:Vt},16:{n:"LinksDirty",t:Ft},17:{n:"CharacterCount",t:Ot},19:{n:"SharedDoc",t:Ft},22:{n:"HLinksChanged",t:Ft},23:{n:"AppVersion",t:Ot,p:"version"},26:{n:"ContentType",t:Vt},27:{n:"ContentStatus",t:Vt},28:{n:"Language",t:Vt},29:{n:"Version",t:Vt},255:{}};var jt={1:{n:"CodePage",t:Dt},2:{n:"Title",t:Vt},3:{n:"Subject",t:Vt},4:{n:"Author",t:Vt},5:{n:"Keywords",t:Vt},6:{n:"Comments",t:Vt},7:{n:"Template",t:Vt},8:{n:"LastAuthor",t:Vt},9:{n:"RevNumber",t:Vt},10:{n:"EditTime",t:Ut},11:{n:"LastPrinted",t:Ut},12:{n:"CreatedDate",t:Ut},13:{n:"ModifiedDate",t:Ut},14:{n:"PageCount",t:Ot},15:{n:"WordCount",t:Ot},16:{n:"CharCount",t:Ot},17:{n:"Thumbnail",t:Ht},18:{n:"ApplicationName",t:Mt},19:{n:"DocumentSecurity",t:Ot},255:{}};var Kt={2147483648:{n:"Locale",t:Nt},2147483651:{n:"Behavior",t:Nt},1919054434:{}};(function(){for(var e in Kt)if(Kt.hasOwnProperty(e))Gt[e]=jt[e]=Kt[e]})();var Yt={1:"US",2:"CA",3:"",7:"RU",20:"EG",30:"GR",31:"NL",32:"BE",33:"FR",34:"ES",36:"HU",39:"IT",41:"CH",43:"AT",44:"GB",45:"DK",46:"SE",47:"NO",48:"PL",49:"DE",52:"MX",55:"BR",61:"AU",64:"NZ",66:"TH",81:"JP",82:"KR",84:"VN",86:"CN",90:"TR",105:"JS",213:"DZ",216:"MA",218:"LY",351:"PT",354:"IS",358:"FI",420:"CZ",886:"TW",961:"LB",962:"JO",963:"SY",964:"IQ",965:"KW",966:"SA",971:"AE",972:"IL",974:"QA",981:"IR",65535:"US"};var $t=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];function Zt(e){return e.map(function(e){return[e>>16&255,e>>8&255,e&255]})}var Qt=Zt([0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);var Jt={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links","application/vnd.ms-excel.sheetMetadata":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"TODO","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"vba","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO","image/png":"TODO",sheet:"js"};var qt=function(){var e={workbooks:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",xlsm:"application/vnd.ms-excel.sheet.macroEnabled.main+xml",xlsb:"application/vnd.ms-excel.sheet.binary.macroEnabled.main",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml"},strs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",xlsb:"application/vnd.ms-excel.sharedStrings"},comments:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml",xlsb:"application/vnd.ms-excel.comments"},sheets:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",xlsb:"application/vnd.ms-excel.worksheet"},charts:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml",xlsb:"application/vnd.ms-excel.chartsheet"},dialogs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml",xlsb:"application/vnd.ms-excel.dialogsheet"},macros:{xlsx:"application/vnd.ms-excel.macrosheet+xml",xlsb:"application/vnd.ms-excel.macrosheet"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};I(e).forEach(function(r){if(!e[r].xlsm)e[r].xlsm=e[r].xlsx});I(e).forEach(function(r){I(e[r]).forEach(function(t){Jt[e[r][t]]=r})});return e}();var ea=D(Jt);Le.CT="http://schemas.openxmlformats.org/package/2006/content-types";function ra(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],TODO:[],xmlns:""}}function ta(e,r){var t=ra();if(!e||!e.match)return t;var a={};(e.match(ne)||[]).forEach(function(e){var r=fe(e);switch(r[0].replace(ie,"<")){case"0?t.calcchains[0]:"";t.sst=t.strs.length>0?t.strs[0]:"";t.style=t.styles.length>0?t.styles[0]:"";t.defaults=a;delete t.calcchains;return t}var aa=Oe("Types",null,{xmlns:Le.CT,"xmlns:xsd":Le.xsd,"xmlns:xsi":Le.xsi});var na=[["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["bmp","image/bmp"],["png","image/png"],["gif","image/gif"],["emf","image/x-emf"],["wmf","image/x-wmf"],["jpg","image/jpeg"],["jpeg","image/jpeg"],["tif","image/tiff"],["tiff","image/tiff"],["pdf","application/pdf"],["rels",ea.rels[0]]].map(function(e){return Oe("Default",null,{Extension:e[0],ContentType:e[1]})});function ia(e,r){var t=[],a;t[t.length]=Ne;t[t.length]=aa;t=t.concat(na);var n=function(n){if(e[n]&&e[n].length>0){a=e[n][0];t[t.length]=Oe("Override",null,{PartName:(a[0]=="/"?"":"/")+a,ContentType:qt[n][r.bookType||"xlsx"]})}};var i=function(a){(e[a]||[]).forEach(function(e){t[t.length]=Oe("Override",null,{PartName:(e[0]=="/"?"":"/")+e,ContentType:qt[a][r.bookType||"xlsx"]})})};var s=function(r){(e[r]||[]).forEach(function(e){t[t.length]=Oe("Override",null,{PartName:(e[0]=="/"?"":"/")+e,ContentType:ea[r][0]})})};n("workbooks");i("sheets");i("charts");s("themes");["strs","styles"].forEach(n);["coreprops","extprops","custprops"].forEach(s);s("vba");s("comments");s("drawings");if(t.length>2){t[t.length]="";t[1]=t[1].replace("/>",">")}return t.join("")}var sa={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",SHEET:"http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument",HLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",VML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function fa(e){var r=e.lastIndexOf("/");return e.substr(0,r+1)+"_rels/"+e.substr(r+1)+".rels"}function oa(e,r){if(!e)return e;if(r.charAt(0)!=="/"){r="/"+r}var t={};var a={};(e.match(ne)||[]).forEach(function(e){var n=fe(e);if(n[0]==="2){r[r.length]="";r[1]=r[1].replace("/>",">")}return r.join("")}function ua(e,r,t,a,n){if(!n)n={};if(!e["!id"])e["!id"]={};if(r<0)for(r=1;e["!id"]["rId"+r];++r){}n.Id="rId"+r;n.Type=a;n.Target=t;if(n.Type==sa.HLINK)n.TargetMode="External";if(e["!id"][n.Id])throw new Error("Cannot rewrite rId "+r);e["!id"][n.Id]=n;e[("/"+n.Target).replace("//","/")]=n;return r}var ha="application/vnd.oasis.opendocument.spreadsheet";function da(e,r){var t=tE(e);var a;var n;while(a=aE.exec(t))switch(a[3]){case"manifest":break;case"file-entry":n=fe(a[0],false);if(n.path=="/"&&n.type!==ha)throw new Error("This OpenDocument is not a spreadsheet");break;case"encryption-data":;case"algorithm":;case"start-key-generation":;case"key-derivation":throw new Error("Unsupported ODS Encryption");default:if(r&&r.WTF)throw a;}}function va(e,r){var t=[Ne];t.push('\n');t.push(' \n');for(var a=0;a\n');t.push("");return t.join("")}function pa(e,r,t){return[' \n',' \n'," \n"].join("")}function ba(e,r){return[' \n',' \n'," \n"].join("")}function ma(e,r){var t=[Ne];t.push('\n');for(var a=0;a!=e.length;++a){t.push(pa(e[a][0],e[a][1]));t.push(ba("",e[a][0]))}t.push(pa("","Document","pkg"));t.push("");return t.join("")}var ga=function(){var e='Sheet'+"JS "+r.version+"";return function t(r,a){return e}}();var Ea=[["cp:category","Category"],["cp:contentStatus","ContentStatus"],["cp:keywords","Keywords"],["cp:lastModifiedBy","LastAuthor"],["cp:lastPrinted","LastPrinted"],["cp:revision","RevNumber"],["cp:version","Version"],["dc:creator","Author"],["dc:description","Comments"],["dc:identifier","Identifier"],["dc:language","Language"],["dc:subject","Subject"],["dc:title","Title"],["dcterms:created","CreatedDate","date"],["dcterms:modified","ModifiedDate","date"]];Le.CORE_PROPS="http://schemas.openxmlformats.org/package/2006/metadata/core-properties";sa.CORE_PROPS="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties";var ka=function(){var e=new Array(Ea.length);for(var r=0;r]*>([\\s\\S]*?)")}return e}();function Sa(e){var r={};for(var t=0;t0)r[a[1]]=n[1];if(a[2]==="date"&&r[a[1]])r[a[1]]=H(r[a[1]])}return r}var wa=Oe("cp:coreProperties",null,{"xmlns:cp":Le.CORE_PROPS,"xmlns:dc":Le.dc,"xmlns:dcterms":Le.dcterms,"xmlns:dcmitype":Le.dcmitype,"xmlns:xsi":Le.xsi});function Ba(e,r,t,a,n){if(n[e]!=null||r==null||r==="")return;n[e]=r;a[a.length]=t?Oe(e,r,t):Re(e,r)}function Ca(e,r){var t=r||{};var a=[Ne,wa],n={};if(!e&&!t.Props)return a.join("");if(e){if(e.CreatedDate!=null)Ba("dcterms:created",typeof e.CreatedDate==="string"?e.CreatedDate:Fe(e.CreatedDate,t.WTF),{"xsi:type":"dcterms:W3CDTF"},a,n);if(e.ModifiedDate!=null)Ba("dcterms:modified",typeof e.ModifiedDate==="string"?e.ModifiedDate:Fe(e.ModifiedDate,t.WTF),{"xsi:type":"dcterms:W3CDTF"},a,n)}for(var i=0;i!=Ea.length;++i){var s=Ea[i];var f=t.Props&&t.Props[s[1]]!=null?t.Props[s[1]]:e?e[s[1]]:null;if(f===true)f="1";else if(f===false)f="0";else if(typeof f=="number")f=String(f);if(f!=null)Ba(s[0],f,null,a,n)}if(a.length>2){a[a.length]="";a[1]=a[1].replace("/>",">")}return a.join("")}var _a=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]];Le.EXT_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties";sa.EXT_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties";function Ta(e,r,t){var a={};if(!r)r={};_a.forEach(function(t){switch(t[2]){case"string":r[t[1]]=(e.match(_e(t[0]))||[])[1];break;case"bool":r[t[1]]=(e.match(_e(t[0]))||[])[1]==="true";break;case"raw":var n=e.match(new RegExp("<"+t[0]+"[^>]*>([\\s\\S]*?)"));if(n&&n.length>0)a[t[1]]=n[1];break;}});if(a.HeadingPairs&&a.TitlesOfParts){var n=Ae(a.HeadingPairs,t);var i=Ae(a.TitlesOfParts,t).map(function(e){return e.v});var s=0,f=0;if(i.length>0)for(var o=0;o!==n.length;o+=2){f=+n[o+1].v;switch(n[o].v){case"Worksheets":;case"工作表":;case"Листы":;case"أوراق العمل":;case"ワークシート":;case"גליונות עבודה":;case"Arbeitsblätter":;case"Çalışma Sayfaları":;case"Feuilles de calcul":;case"Fogli di lavoro":;case"Folhas de cálculo":;case"Planilhas":;case"Regneark":;case"Werkbladen":r.Worksheets=f;r.SheetNames=i.slice(s,s+f);break;case"Named Ranges":;case"名前付き一覧":;case"Benannte Bereiche":;case"Navngivne områder":r.NamedRanges=f;r.DefinedNames=i.slice(s,s+f);break;case"Charts":;case"Diagramme":r.Chartsheets=f;r.ChartNames=i.slice(s,s+f);break;}s+=f}}return r}var xa=Oe("Properties",null,{xmlns:Le.EXT_PROPS,"xmlns:vt":Le.vt});function Ia(e,r){var t=[],a={},n=Oe;if(!e)e={};e.Application="SheetJS";t[t.length]=Ne;t[t.length]=xa;_a.forEach(function(r){if(e[r[1]]===undefined)return;var a;switch(r[2]){case"string":a=String(e[r[1]]);break;case"bool":a=e[r[1]]?"true":"false";break;}if(a!==undefined)t[t.length]=n(r[0],a)});t[t.length]=n("HeadingPairs",n("vt:vector",n("vt:variant","Worksheets")+n("vt:variant",n("vt:i4",String(e.Worksheets))),{size:2,baseType:"variant"}));t[t.length]=n("TitlesOfParts",n("vt:vector",e.SheetNames.map(function(e){return""+ve(e)+""}).join(""),{size:e.Worksheets,baseType:"lpstr"}));if(t.length>2){t[t.length]="";t[1]=t[1].replace("/>",">")}return t.join("")}Le.CUST_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/custom-properties";sa.CUST_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties";var Aa=/<[^>]+>[^<]*/g;function ya(e,r){var t={},a="";var n=e.match(Aa);if(n)for(var i=0;i!=n.length;++i){var s=n[i],f=fe(s);switch(f[0]){case"":a=null;break;default:if(s.indexOf("");var l=o[0].substring(4),c=o[1];switch(l){case"lpstr":;case"bstr":;case"lpwstr":t[a]=ue(c);break;case"bool":t[a]=ke(c,"");break;case"i1":;case"i2":;case"i4":;case"i8":;case"int":;case"uint":t[a]=parseInt(c,10);break;case"r4":;case"r8":;case"decimal":t[a]=parseFloat(c);break;case"filetime":;case"date":t[a]=H(c);break;case"cy":;case"error":t[a]=ue(c);break;default:if(l.slice(-1)=="/")break;if(r.WTF&&typeof console!=="undefined")console.warn("Unexpected",s,l,o);}}else if(s.substr(0,2)==="2){t[t.length]="";t[1]=t[1].replace("/>",">")}return t.join("")}var Oa={Title:"Title",Subject:"Subject",Author:"Author",Keywords:"Keywords",Comments:"Description",LastAuthor:"LastAuthor",RevNumber:"Revision",Application:"AppName",LastPrinted:"LastPrinted",CreatedDate:"Created",ModifiedDate:"LastSaved",Category:"Category",Manager:"Manager",Company:"Company",AppVersion:"Version",ContentStatus:"ContentStatus",Identifier:"Identifier",Language:"Language"};var Fa=y(Oa);function Pa(e,r,t){r=Fa[r]||r;e[r]=t}function Na(e,r){var t=[];I(Oa).map(function(e){for(var r=0;r'+i.join("")+""}function Ma(e){var r=e.read_shift(4),t=e.read_shift(4);return new Date((t/1e7*Math.pow(2,32)+r/1e7-11644473600)*1e3).toISOString().replace(/\.000/,"")}function Ua(e,r,t){var a=e.read_shift(0,"lpstr");if(t)e.l+=4-(a.length+1&3)&3;return a}function Ha(e,r,t){var a=e.read_shift(0,"lpwstr");if(t)e.l+=4-(a.length+1&3)&3;return a}function Wa(e,r,t){if(r===31)return Ha(e);return Ua(e,r,t)}function Va(e,r,t){return Wa(e,r,t===false?0:4)}function za(e,r){if(!r)throw new Error("VtUnalignedString must have positive length");return Wa(e,r,0)}function Xa(e){var r=e.read_shift(4);var t=[];for(var a=0;a!=r;++a)t[a]=e.read_shift(0,"lpstr");return t}function Ga(e){return Xa(e)}function ja(e){var r=qa(e,zt);var t=qa(e,Ot);return[r,t]}function Ka(e){var r=e.read_shift(4);var t=[];for(var a=0;a!=r/2;++a)t.push(ja(e));return t}function Ya(e){return Ka(e)}function $a(e,r){var t=e.read_shift(4);var a={};for(var n=0;n!=t;++n){var i=e.read_shift(4);var s=e.read_shift(4);a[i]=e.read_shift(s,r===1200?"utf16le":"utf8").replace(m,"").replace(g,"!")}if(e.l&3)e.l=e.l>>2+1<<2;return a}function Za(e){var r=e.read_shift(4);var t=e.slice(e.l,e.l+r);if((r&3)>0)e.l+=4-(r&3)&3;return t}function Qa(e){var r={};r.Size=e.read_shift(4);e.l+=r.Size;return r}function Ja(e,r){}function qa(e,r,t){var a=e.read_shift(2),n,i=t||{};e.l+=2;if(r!==Pt)if(a!==r&&Xt.indexOf(r)===-1)throw new Error("Expected type "+r+" saw "+a); +switch(r===Pt?a:r){case 2:n=e.read_shift(2,"i");if(!i.raw)e.l+=2;return n;case 3:n=e.read_shift(4,"i");return n;case 11:return e.read_shift(4)!==0;case 19:n=e.read_shift(4);return n;case 30:return Ua(e,a,4).replace(m,"");case 31:return Ha(e);case 64:return Ma(e);case 65:return Za(e);case 71:return Qa(e);case 80:return Va(e,a,!i.raw).replace(m,"");case 81:return za(e,a).replace(m,"");case 4108:return Ya(e);case 4126:return Ga(e);default:throw new Error("TypedPropertyValue unrecognized type "+r+" "+a);}}function en(e,r){var t=e.l;var a=e.read_shift(4);var i=e.read_shift(4);var s=[],f=0;var o=0;var l=-1,c={};for(f=0;f!=i;++f){var u=e.read_shift(4);var h=e.read_shift(4);s[f]=[u,h+t]}var d={};for(f=0;f!=i;++f){if(e.l!==s[f][1]){var v=true;if(f>0&&r)switch(r[s[f-1][0]].t){case 2:if(e.l+2===s[f][1]){e.l+=2;v=false}break;case 80:if(e.l<=s[f][1]){e.l=s[f][1];v=false}break;case 4108:if(e.l<=s[f][1]){e.l=s[f][1];v=false}break;}if(!r&&e.l<=s[f][1]){v=false;e.l=s[f][1]}if(v)throw new Error("Read Error: Expected address "+s[f][1]+" at "+e.l+" :"+f)}if(r){var p=r[s[f][0]];d[p.n]=qa(e,p.t,{raw:true});if(p.p==="version")d[p.n]=String(d[p.n]>>16)+"."+String(d[p.n]&65535);if(p.n=="CodePage")switch(d[p.n]){case 0:d[p.n]=1252;case 874:;case 932:;case 936:;case 949:;case 950:;case 1250:;case 1251:;case 1253:;case 1254:;case 1255:;case 1256:;case 1257:;case 1258:;case 1e4:;case 1200:;case 1201:;case 1252:;case 65e3:;case-536:;case 65001:;case-535:n(o=d[p.n]);break;default:throw new Error("Unsupported CodePage: "+d[p.n]);}}else{if(s[f][0]===1){o=d.CodePage=qa(e,Dt);n(o);if(l!==-1){var b=e.l;e.l=s[l][1];c=$a(e,o);e.l=b}}else if(s[f][0]===0){if(o===0){l=f;e.l=s[f+1][1];continue}c=$a(e,o)}else{var m=c[s[f][0]];var g;switch(e[e.l]){case 65:e.l+=4;g=Za(e);break;case 30:e.l+=4;g=Va(e,e[e.l-4]);break;case 31:e.l+=4;g=Va(e,e[e.l-4]);break;case 3:e.l+=4;g=e.read_shift(4,"i");break;case 19:e.l+=4;g=e.read_shift(4);break;case 5:e.l+=4;g=e.read_shift(8,"f");break;case 11:e.l+=4;g=nn(e,4);break;case 64:e.l+=4;g=H(Ma(e));break;default:throw new Error("unparsed value: "+e[e.l]);}d[m]=g}}}e.l=t+a;return d}function rn(e,r){var t=e.content;Er(t,0);var a,n,i,s,f=0;t.chk("feff","Byte Order: ");var o=t.read_shift(2);var l=t.read_shift(4);t.chk(T.utils.consts.HEADER_CLSID,"CLSID: ");a=t.read_shift(4);if(a!==1&&a!==2)throw new Error("Unrecognized #Sets: "+a);n=t.read_shift(16);s=t.read_shift(4);if(a===1&&s!==t.l)throw new Error("Length mismatch: "+s+" !== "+t.l);else if(a===2){i=t.read_shift(16);f=t.read_shift(4)}var c=en(t,r);var u={SystemIdentifier:l};for(var h in c)u[h]=c[h];u.FMTID=n;if(a===1)return u;if(t.l!==f)throw new Error("Length mismatch 2: "+t.l+" !== "+f);var d;try{d=en(t,null)}catch(v){}for(h in d)u[h]=d[h];u.FMTID=[n,i];return u}function tn(e,r){e.read_shift(r);return null}function an(e,r,t){var a=[],n=e.l+r;while(e.l=12?2:1);var i=1,s="sbcs-cont";var f=t;if(a&&a.biff>=8)t=1200;if(!a||a.biff==8){var o=e.read_shift(1);if(o){i=2;s="dbcs-cont"}}else if(a.biff==12){i=2;s="wstr"}var l=n?e.read_shift(n,s):"";t=f;return l}function un(e){var r=t;t=1200;var a=e.read_shift(2),n=e.read_shift(1);var i=n&1,s=n&4,f=n&8;var o=1+(n&1);var l=0,c;var u={};if(f)l=e.read_shift(2);if(s)c=e.read_shift(4);var h=n&1?"dbcs-cont":"sbcs-cont";var d=a===0?"":e.read_shift(a,h);if(f)e.l+=4*l;if(s)e.l+=c;u.t=d;if(!f){u.raw=""+u.t+"";u.r=u.t}t=r;return u}function hn(e,r,t){var a;if(t){if(t.biff>=2&&t.biff<=5)return e.read_shift(r,"sbcs-cont");if(t.biff>=12)return e.read_shift(r,"dbcs-cont")}var n=e.read_shift(1);if(n===0){a=e.read_shift(r,"sbcs-cont")}else{a=e.read_shift(r,"dbcs-cont")}return a}function dn(e,r,t){var a=e.read_shift(t&&t.biff==2?1:2);if(a===0){e.l++;return""}return hn(e,a,t)}function vn(e,r,t){if(t.biff>5)return dn(e,r,t);var a=e.read_shift(1);if(a===0){e.l++;return""}return e.read_shift(a,"sbcs-cont")}function pn(e,r,t){var a=e.read_shift(1);e.l++;var n=e.read_shift(2);e.l+=2;return[a,n]}var bn=function(e){var r=e.read_shift(4),t=e.l;var a=false;if(r>24){e.l+=r-24;if(e.read_shift(16)==="795881f43b1d7f48af2c825dc4852763")a=true;e.l=t}var n=e.read_shift((a?r-24:r)>>1,"utf16le").replace(m,"");if(a)e.l+=24;return n};var mn=function(e,r){var t=e.read_shift(2);var a=e.read_shift(4);var n=e.read_shift(a,"cstr");var i=e.read_shift(2);var s=e.read_shift(2);var f=e.read_shift(4);if(f===0)return n.replace(/\\/g,"/");var o=e.read_shift(4);var l=e.read_shift(2);var c=e.read_shift(o>>1,"utf16le").replace(m,"");return c};var gn=function(e,r){var t=e.read_shift(16);r-=16;switch(t){case"e0c9ea79f9bace118c8200aa004ba90b":return bn(e,r);case"0303000000000000c000000000000046":return mn(e,r);default:throw new Error("Unsupported Moniker "+t);}};var En=function(e,r){var t=e.read_shift(4);var a=e.read_shift(t,"utf16le").replace(m,"");return a};var kn=function(e,r){var t=e.l+r;var a=e.read_shift(4);if(a!==2)throw new Error("Unrecognized streamVersion: "+a);var n=e.read_shift(2);e.l+=2;var i,s,f,o,l,c,u;if(n&16)i=En(e,t-e.l);if(n&128)s=En(e,t-e.l);if((n&257)===257)f=En(e,t-e.l);if((n&257)===1)o=gn(e,t-e.l);if(n&8)l=En(e,t-e.l);if(n&32)c=e.read_shift(16);if(n&64)u=Ma(e);e.l=t;var h=s||f||o;if(l)h+="#"+l;return{Target:h}};function Sn(e,r){var t=e.read_shift(1),a=e.read_shift(1),n=e.read_shift(1),i=e.read_shift(1);return[t,a,n,i]}function wn(e,r){var t=Sn(e,r);t[3]=0;return t}function Bn(e,r){var t=e.read_shift(2);var a=e.read_shift(2);var n=e.read_shift(2);return{r:t,c:a,ixfe:n}}function Cn(e){var r=e.read_shift(2);var t=e.read_shift(2);e.l+=8;return{type:r,flags:t}}function _n(e,r,t){return r===0?"":vn(e,r,t)}var Tn=sn;function xn(e,r,t){var a=t.biff>8?4:2;var n=e.read_shift(a),i=e.read_shift(a,"i"),s=e.read_shift(a,"i");return[n,i,s]}function In(e,r){var t=e.read_shift(2);var a=gt(e);return[t,a]}function An(e,r,t){e.l+=4;r-=4;var a=e.l+r;var n=cn(e,r,t);var i=e.read_shift(2);a-=e.l;if(i!==a)throw new Error("Malformed AddinUdf: padding = "+a+" != "+i);e.l+=i;return n}function yn(e,r){var t=e.read_shift(2);var a=e.read_shift(2);var n=e.read_shift(2);var i=e.read_shift(2);return{s:{c:n,r:t},e:{c:i,r:a}}}function Rn(e,r){var t=e.read_shift(2);var a=e.read_shift(2);var n=e.read_shift(1);var i=e.read_shift(1);return{s:{c:n,r:t},e:{c:i,r:a}}}var Dn=Rn;function On(e,r){e.l+=4;var t=e.read_shift(2);var a=e.read_shift(2);var n=e.read_shift(2);e.l+=12;return[a,t,n]}function Fn(e,r){var t={};e.l+=4;e.l+=16;t.fSharedNote=e.read_shift(2);e.l+=4;return t}function Pn(e,r){var t={};e.l+=4;e.cf=e.read_shift(2);return t}function Nn(e,r){e.l+=2;e.l+=e.read_shift(2)}var Ln={0:Nn,4:Nn,5:Nn,6:Nn,7:Pn,8:Nn,9:Nn,10:Nn,11:Nn,12:Nn,13:Fn,14:Nn,15:Nn,16:Nn,17:Nn,18:Nn,19:Nn,20:Nn,21:On};function Mn(e,r,t){var a=e.l+r;var n=[];while(e.l=2){t.dt=e.read_shift(2);e.l-=2}switch(t.BIFFVer){case 1536:;case 1280:;case 2:;case 7:break;default:if(r>6)throw new Error("Unexpected BIFF Ver "+t.BIFFVer);}e.read_shift(r);return t}function Wn(e,r){if(r===0)return 1200;var t;if((t=e.read_shift(2))!==1200){}return 1200}function Vn(e,r,t){if(t.enc){e.l+=r;return""}var a=e.l;var n=dn(e,0,t);e.read_shift(r+a-e.l);return n}function zn(e,r,t){var a=e.read_shift(4);var n=e.read_shift(1)&3;var i=e.read_shift(1);switch(i){case 0:i="Worksheet";break;case 1:i="Macrosheet";break;case 2:i="Chartsheet";break;case 6:i="VBAModule";break;}var s=cn(e,0,t);if(s.length===0)s="Sheet1";return{pos:a,hs:n,dt:i,name:s}}function Xn(e,r){var t=e.l+r;var a=e.read_shift(4);var n=e.read_shift(4);var i=[];for(var s=0;s!=n&&e.l>15);n&=32767}var i={Unsynced:a&1,DyZero:(a&2)>>1,ExAsc:(a&4)>>2,ExDsc:(a&8)>>3};return[i,n]}function Qn(e,r){var t=e.read_shift(2),a=e.read_shift(2),n=e.read_shift(2),i=e.read_shift(2);var s=e.read_shift(2),f=e.read_shift(2),o=e.read_shift(2);var l=e.read_shift(2),c=e.read_shift(2);return{Pos:[t,a],Dim:[n,i],Flags:s,CurTab:f,FirstTab:o,Selected:l,TabRatio:c}}function Jn(e,r,t){var a={dyHeight:e.read_shift(2),fl:e.read_shift(2)};switch(t&&t.biff||8){case 2:break;case 3:;case 4:e.l+=2;break;default:e.l+=10;break;}a.name=cn(e,0,t);return a}function qn(e,r){var t=Bn(e);t.isst=e.read_shift(4);return t}function ei(e,r,t){var a=e.l+r;var n=Bn(e,6);if(t.biff==2)e.l++;var i=dn(e,a-e.l,t);n.val=i;return n}function ri(e,r,t){var a=e.read_shift(2);var n=vn(e,0,t);return[a,n]}var ti=vn;function ai(e,r,t){var a=e.l+r;var n=t.biff==8||!t.biff?4:2;var i=e.read_shift(n),s=e.read_shift(n);var f=e.read_shift(2),o=e.read_shift(2);e.l=a;return{s:{r:i,c:f},e:{r:s,c:o}}}function ni(e,r){var t=e.read_shift(2),a=e.read_shift(2);var n=In(e);return{r:t,c:a,ixfe:n[0],rknum:n[1]}}function ii(e,r){var t=e.l+r-2;var a=e.read_shift(2),n=e.read_shift(2);var i=[];while(e.l>26];if(!a.cellStyles)return n;n.alc=i&7;n.fWrap=i>>3&1;n.alcV=i>>4&7;n.fJustLast=i>>7&1;n.trot=i>>8&255;n.cIndent=i>>16&15;n.fShrinkToFit=i>>20&1;n.iReadOrder=i>>22&2;n.fAtrNum=i>>26&1;n.fAtrFnt=i>>27&1;n.fAtrAlc=i>>28&1;n.fAtrBdr=i>>29&1;n.fAtrPat=i>>30&1;n.fAtrProt=i>>31&1;n.dgLeft=s&15;n.dgRight=s>>4&15;n.dgTop=s>>8&15;n.dgBottom=s>>12&15;n.icvLeft=s>>16&127;n.icvRight=s>>23&127;n.grbitDiag=s>>30&3;n.icvTop=f&127;n.icvBottom=f>>7&127;n.icvDiag=f>>14&127;n.dgDiag=f>>21&15;n.icvFore=o&127;n.icvBack=o>>7&127;n.fsxButton=o>>14&1;return n}function oi(e,r,t){return fi(e,r,0,t)}function li(e,r,t){return fi(e,r,1,t)}function ci(e,r,t){var a={};a.ifnt=e.read_shift(2);a.numFmtId=e.read_shift(2);a.flags=e.read_shift(2);a.fStyle=a.flags>>2&1;r-=6;a.data=fi(e,r,a.fStyle,t);return a}function ui(e,r){e.l+=4;var t=[e.read_shift(2),e.read_shift(2)];if(t[0]!==0)t[0]--;if(t[1]!==0)t[1]--;if(t[0]>7||t[1]>7)throw new Error("Bad Gutters: "+t.join("|"));return t}function hi(e,r,t){var a=Bn(e,6);if(t.biff==2)++e.l;var n=ln(e,2);a.val=n;a.t=n===true||n===false?"b":"e";return a}function di(e,r){var t=Bn(e,6);var a=Ct(e,8);t.val=a;return t}var vi=_n;function pi(e,r,t){var a=e.l+r;var n=e.read_shift(2);var i=e.read_shift(2);t.sbcch=i;if(i==1025||i==14849)return[i,n];if(i<1||i>255)throw new Error("Unexpected SupBook type: "+i);var s=hn(e,i);var f=[];while(a>e.l)f.push(dn(e));return[i,n,s,f]}function bi(e,r,t){var a=e.read_shift(2);var n;var i={fBuiltIn:a&1,fWantAdvise:a>>>1&1,fWantPict:a>>>2&1,fOle:a>>>3&1,fOleLink:a>>>4&1,cf:a>>>5&1023,fIcon:a>>>15&1};if(t.sbcch===14849)n=An(e,r-2,t);i.body=n||e.read_shift(r-2);if(typeof n==="string")i.Name=n;return i}var mi=["_xlnm.Consolidate_Area","_xlnm.Auto_Open","_xlnm.Auto_Close","_xlnm.Extract","_xlnm.Database","_xlnm.Criteria","_xlnm.Print_Area","_xlnm.Print_Titles","_xlnm.Recorder","_xlnm.Data_Form","_xlnm.Auto_Activate","_xlnm.Auto_Deactivate","_xlnm.Sheet_Title","_xlnm._FilterDatabase"];function gi(e,r,t){var a=e.l+r;var n=e.read_shift(2);var i=e.read_shift(1);var s=e.read_shift(1);var f=e.read_shift(t&&t.biff==2?1:2);var o=0;if(!t||t.biff>=5){e.l+=2;o=e.read_shift(2);e.l+=4}var l=hn(e,s,t);if(n&32)l=mi[l.charCodeAt(0)];var c=a-e.l;if(t&&t.biff==2)--c;var u=a==e.l||f==0?[]:$p(e,c,t,f);return{chKey:i,Name:l,itab:o,rgce:u}}function Ei(e,r,t){if(t.biff<8)return ki(e,r,t);var a=[],n=e.l+r,i=e.read_shift(t.biff>8?4:2);while(i--!==0)a.push(xn(e,t.biff>8?12:6,t));var s=[];return a}function ki(e,r,t){if(e[e.l+1]==3)e[e.l]++;var a=cn(e,r,t);return a.charCodeAt(0)==3?a.slice(1):a}var Si=sn;function wi(e,r,t){if(t.biff<8){e.l+=r;return}var a=e.read_shift(2);var n=e.read_shift(2);var i=hn(e,a,t);var s=hn(e,n,t);return[i,s]}function Bi(e,r,t){var a=Rn(e,6);e.l++;var n=e.read_shift(1);r-=8;return[Qp(e,r,t),n]}function Ci(e,r,t){var a=Dn(e,6);switch(t.biff){case 2:e.l++;r-=7;break;case 3:;case 4:e.l+=2;r-=8;break;default:e.l+=6;r-=12;}return[a,Jp(e,r,t,a)]}function _i(e,r){var t=e.read_shift(4)!==0;var a=e.read_shift(4)!==0;var n=e.read_shift(4);return[t,a,n]}function Ti(e,r,t){if(t.biff<8)return;var a=e.read_shift(2),n=e.read_shift(2);var i=e.read_shift(2),s=e.read_shift(2);var f=vn(e,0,t);if(t.biff<8)e.read_shift(1);return[{r:a,c:n},f,s,i]}function xi(e,r,t){return Ti(e,r,t)}function Ii(e,r){var t=[];var a=e.read_shift(2);while(a--)t.push(yn(e,r));return t}function Ai(e,r,t){if(t&&t.biff<8)return Ri(e,r,t);var a=On(e,22);var n=Mn(e,r-22,a[1]);return{cmo:a,ft:n}}var yi=[];yi[8]=function(e,r,t){var a=e.l+r;e.l+=10;var n=e.read_shift(2);e.l+=4;var i=e.read_shift(2);e.l+=2;var s=e.read_shift(2);e.l+=4;var f=e.read_shift(1);e.l+=f;e.l=a;return{fmt:n}};function Ri(e,r,t){var a=e.read_shift(4);var n=e.read_shift(2);var i=e.read_shift(2);var s=e.read_shift(2);var f=e.read_shift(2);var o=e.read_shift(2);var l=e.read_shift(2);var c=e.read_shift(2);var u=e.read_shift(2);var h=e.read_shift(2);var d=e.read_shift(2);var v=e.read_shift(2);var p=e.read_shift(2);e.l+=6;r-=36;var b=[];b.push((yi[n]||kr)(e,r,t));return{cmo:[i,n,s],ft:b}}function Di(e,r,t){var a=e.l;var n="";try{e.l+=4;var i=(t.lastobj||{cmo:[0,0]}).cmo[1];var s;if([0,5,7,11,12,14].indexOf(i)==-1)e.l+=6;else s=pn(e,6,t);var f=e.read_shift(2);var o=e.read_shift(2);var l=Un(e,2);var c=e.read_shift(2);e.l+=c;for(var u=1;u=(h?f:2*f))break}if(n.length!==f&&n.length!==f*2){throw new Error("cchText: "+f+" != "+n.length)}e.l=a+r;return{t:n}}catch(v){e.l=a+r;return{t:n}}}var Oi=function(e,r){var t=yn(e,8);e.l+=16;var a=kn(e,r-24);return[t,a]};var Fi=function(e,r){var t=e.l+r;e.read_shift(2);var a=yn(e,8);var n=e.read_shift((r-10)/2,"dbcs-cont");n=n.replace(m,"");return[a,n]};function Pi(e,r){var t=[],a;a=e.read_shift(2);t[0]=Yt[a]||a;a=e.read_shift(2);t[1]=Yt[a]||a;return t}function Ni(e,r){var t=e.read_shift(2);var a=[];while(t-- >0)a.push(wn(e,8));return a}function Li(e,r){var t=e.read_shift(2);var a=[];while(t-- >0)a.push(wn(e,8));return a}function Mi(e,r){e.l+=2;var t={cxfs:0,crc:0};t.cxfs=e.read_shift(2);t.crc=e.read_shift(4);return t}function Ui(e,r,t){if(!t.cellStyles)return kr(e,r);var a=t&&t.biff>=12?4:2;var n=e.read_shift(a);var i=e.read_shift(a);var s=e.read_shift(a);var f=e.read_shift(a);var o=e.read_shift(2);if(a==2)e.l+=2;return{s:n,e:i,w:s,ixfe:f,flags:o}}function Hi(e,r,t){var a={};e.l+=16;a.header=Ct(e,8);a.footer=Ct(e,8);e.l+=2;return a}function Wi(e,r,t){var a={area:false};if(t.biff!=5){e.l+=r;return a}var n=e.read_shift(1);e.l+=3;if(n&16)a.area=true;return a}var Vi=kr;var zi=kr;var Xi=kr;var Gi=nn;var ji=Bn;var Ki=Ct;var Yi=sn;var $i=sn;var Zi=Ct;var Qi=nn;var Ji=sn;var qi=nn;var es=tn;var rs=nn;var ts=sn;var as=nn;var ns=nn;var is=sn;var ss=tn;var fs=tn;var os=tn;var ls=tn;var cs=tn;var us=sn;var hs=vi;var ds=sn;var vs=nn;var ps=vi;var bs=Tn;var ms=tn;var gs=Ct;var Es=tn;var ks=nn;var Ss=sn;var ws=nn;var Bs=nn;var Cs=sn;var _s=nn;var Ts=sn;var xs=nn;var Is=nn;var As=Ct;var ys=fn;var Rs=nn;var Ds=fn;var Os=dn;var Fs=nn;var Ps=Ct;var Ns=nn;var Ls=nn;var Ms=nn;var Us=kr;var Hs=kr;var Ws=kr;var Vs=kr;var zs=kr;var Xs=kr;var Gs=kr;var js=kr;var Ks=kr;var Ys=kr;var $s=kr;var Zs=kr;var Qs=kr;var Js=kr;var qs=kr;var ef=kr;var rf=kr;var tf=kr;var af=kr;var nf=kr;var sf=kr;var ff=kr;var of=kr;var lf=kr;var cf=kr;var uf=kr;var hf=kr;var df=kr;var vf=kr;var pf=kr;var bf=kr;var mf=kr;var gf=kr;var Ef=kr;var kf=kr;var Sf=kr;var wf=kr;var Bf=kr;var Cf=kr;var _f=kr;var Tf=kr;var xf=kr;var If=kr;var Af=kr;var yf=kr;var Rf=kr;var Df=kr;var Of=kr;var Ff=kr;var Pf=kr;var Nf=kr;var Lf=kr;var Mf=kr;var Uf=kr;var Hf=kr;var Wf=kr;var Vf=kr;var zf=kr;var Xf=kr;var Gf=kr;var jf=kr;var Kf=kr;var Yf=kr;var $f=kr;var Zf=kr;var Qf=kr;var Jf=kr;var qf=kr;var eo=kr;var ro=kr;var to=kr;var ao=kr;var no=kr;var io=kr;var so=kr;var fo=kr;var oo=kr;var lo=kr;var co=kr;var uo=kr;var ho=kr;var vo=kr;var po=kr;var bo=kr;var mo=kr;var go=kr;var Eo=kr;var ko=kr;var So=kr;var wo=kr;var Bo=kr;var Co=kr;var _o=kr;var To=kr;var xo=kr;var Io=kr;var Ao=kr;var yo=kr;var Ro=kr;var Do=kr;var Oo=kr;var Fo=kr;var Po=kr;var No=kr;var Lo=kr;var Mo=kr;var Uo=kr;var Ho=kr;var Wo=kr;var Vo=kr;var zo=dn;var Xo=kr;var Go=kr;var jo=kr;var Ko=kr;var Yo=kr;var $o=kr;var Zo=kr;var Qo=kr;var Jo=kr;var qo=kr;var el=kr;var rl=kr;var tl=kr;var al=kr;var nl=kr;var il=kr;var sl=kr;var fl=kr;var ol=kr;var ll=kr;var cl=kr;var ul=kr;var hl=kr;var dl=kr;var vl=kr;var pl=kr;var bl=kr;var ml=kr;var gl=kr;var El=kr;var kl=kr;var Sl=kr;var wl=kr;var Bl=kr;var Cl=kr;var _l=kr;var Tl=kr;var xl=kr;var Il=kr;var Al=kr;var yl=kr;var Rl=kr;var Dl=kr;var Ol=kr;var Fl=kr;var Pl=kr;var Nl=kr;var Ll=kr;var Ml=kr;var Ul=kr;var Hl=kr;var Wl=kr;var Vl=kr;var zl=kr;var Xl=kr;var Gl=kr;var jl=kr;var Kl=kr;var Yl=kr;var $l=kr;var Zl=kr;var Ql=kr;var Jl=kr;var ql=kr;var ec=kr;var rc=kr;var tc=kr;var ac=kr;var nc=kr;var ic=kr;var sc=kr;var fc=kr;var oc=kr;var lc=kr;var cc=kr;var uc=kr;var hc=kr;var dc=kr;var vc=kr;var pc=kr;var bc=kr;var mc=kr;var gc=kr;var Ec=kr;var kc=kr;var Sc=kr;var wc=kr;var Bc=kr;var Cc=kr;var _c=kr;var Tc=kr;var xc=kr;var Ic=kr;var Ac=kr;var yc=kr;var Rc=kr;var Dc=kr;var Oc=kr;var Fc=kr;var Pc=kr;var Nc=kr;var Lc=kr;var Mc=kr;var Uc=kr;var Hc=kr;var Wc=kr;var Vc=kr;var zc=kr;var Xc=kr;var Gc=kr;var jc=kr;var Kc=kr;var Yc=kr;var $c=kr;var Zc=kr;var Qc=kr;var Jc=kr;var qc=kr;var eu=kr;var ru=kr;var tu=kr;var au=kr;var nu=kr;var iu=kr;var su=kr;var fu=kr;var ou=kr;var lu=kr;var cu=kr;var uu=kr;var hu=kr;var du=kr;var vu=kr;var pu=kr;var bu=kr;var mu=kr;var gu=kr;var Eu=kr;var ku=kr;var Su=kr;var wu=kr;var Bu=kr;function Cu(e,r,t){var a=e.l+r;var n=e.read_shift(2);var i=e.read_shift(2);var s=e.read_shift(4);var f={fmt:n,env:i,len:s,data:e.slice(e.l,e.l+s)};e.l+=s;return f}function _u(e){var r=e.read_shift(1);return e.read_shift(r,"sbcs-cont")}function Tu(e,r,t){var a=Bn(e,6);++e.l;var n=vn(e,r-7,t);a.t="str";a.val=n;return a}function xu(e,r,t){var a=Bn(e,6);++e.l;var n=Ct(e,8);a.t="n";a.val=n;return a}function Iu(e,r){var t=Bn(e,6);++e.l;var a=e.read_shift(2);t.t="n";t.val=a;return t}function Au(e,r){var t=e.read_shift(1);if(t===0){e.l++;return""}return e.read_shift(t,"sbcs-cont")}function yu(e,r){e.l+=6;e.l+=2;e.l+=1;e.l+=3;e.l+=1;e.l+=r-13}function Ru(e,r,t){var a=e.l+r;var n=Bn(e,6);var i=e.read_shift(2);var s=hn(e,i,t);e.l=a;n.t="str";n.val=s;return n}var Du=function(){var e={1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127,8:865,9:437,10:850,11:437,13:437,14:850,15:437,16:850,17:437,18:850,19:932,20:850,21:437,22:850,23:865,24:437,25:437,26:850,27:437,28:863,29:850,31:852,34:852,35:852,36:860,37:850,38:866,55:850,64:852,77:936,78:949,79:950,80:874,87:1252,88:1252,89:1252,255:16969};function r(r,t){var a=[];var n=v(1);switch(t.type){case"base64":n=p(h.decode(r));break;case"binary":n=p(r);break;case"buffer":;case"array":n=r;break;}Er(n,0);var i=n.read_shift(1);var s=false;var f=false;switch(i){case 2:;case 3:break;case 48:f=true;s=true;break;case 49:f=true;break;case 131:s=true;break;case 139:s=true;break;case 245:s=true;break;default:throw new Error("DBF Unsupported Version: "+i.toString(16));}var o=new Date,l=0,c=0;if(i==2)l=n.read_shift(2);o=new Date(n.read_shift(1)+1900,n.read_shift(1)-1,n.read_shift(1));if(i!=2)l=n.read_shift(4);if(i!=2)c=n.read_shift(2);var u=n.read_shift(2);var d=0,b=1252;if(i!=2){n.l+=16;d=n.read_shift(1);if(n[n.l]!==0)b=e[n[n.l]];n.l+=1;n.l+=2}var m=[],g={};var E=c-10-(f?264:0);while(i==2?n.l0){if(n[n.l]===42){n.l+=u;continue}++n.l;a[++k]=[];S=0;for(S=0;S!=m.length;++S){var w=n.slice(n.l,n.l+m[S].len);n.l+=m[S].len;Er(w,0);var B=cptable.utils.decode(b,w);switch(m[S].type){case"C":a[k][S]=cptable.utils.decode(b,w);a[k][S]=a[k][S].trim();break;case"D":if(B.length===8)a[k][S]=new Date(+B.substr(0,4),+B.substr(4,2)-1,+B.substr(6,2));else a[k][S]=B;break;case"F":a[k][S]=parseFloat(B.trim());break;case"I":a[k][S]=w.read_shift(4,"i");break;case"L":switch(B.toUpperCase()){case"Y":;case"T":a[k][S]=true;break;case"N":;case"F":a[k][S]=false;break;case" ":;case"?":a[k][S]=false;break;default:throw new Error("DBF Unrecognized L:|"+B+"|");}break;case"M":if(!s)throw new Error("DBF Unexpected MEMO for type "+i.toString(16));a[k][S]="##MEMO##"+w.read_shift(4);break;case"N":a[k][S]=+B.replace(/\u0000/g,"").trim();break;case"T":var C=w.read_shift(4),_=w.read_shift(4);throw new Error(C+" | "+_);case"Y":a[k][S]=w.read(4,"i")/1e4;break;case"0":if(m[S].name==="_NullFlags")break;default:throw new Error("DBF Unsupported data type "+m[S].type);}}}if(i!=2)if(n.l0)switch(g){case"ID":break;case"E":break;case"B":break;case"O":break;case"P":if(m[1].charAt(0)=="P")o.push(b.substr(3).replace(/;;/g,";"));break;case"C":for(s=1;s0){u[a].hpt=v;u[a].hpx=jh(v)}else if(v==0)u[a].hidden=true;break;default:if(r&&r.WTF)throw new Error("SYLK bad record "+b);}if(w<1)l=null;break;default:if(r&&r.WTF)throw new Error("SYLK bad record "+b);}}if(u.length>0)c["!rows"]=u;if(h.length>0)c["!cols"]=h;return[f,c]}function t(r,t){var a=e(r,t);var n=a[0],i=a[1];var s=Jr(n,t);I(i).forEach(function(e){s[e]=i[e]});return s}function a(e,r){return Qr(t(e,r),r)}function n(e,r,t,a,n){var i="C;Y"+(t+1)+";X"+(a+1)+";K";switch(e.t){case"n":i+=e.v||0;if(e.f&&!e.F)i+=";E"+wv(e.f,{r:t,c:a});break;case"b":i+=e.v?"TRUE":"FALSE";break;case"e":i+=e.w||e.v;break;case"d":i+='"'+(e.w||e.v)+'"';break;case"s":i+='"'+e.v.replace(/"/g,"")+'"';break;}return i}function i(e,r){r.forEach(function(r,t){var a="F;W"+(t+1)+" "+(t+1)+" ";if(r.hidden)a+="0";else{if(typeof r.width=="number")r.wpx=Fh(r.width);if(typeof r.wpx=="number")r.wch=Ph(r.wpx);if(typeof r.wch=="number")a+=Math.round(r.wch)}if(a.charAt(a.length-1)!=" ")e.push(a)})}function s(e,r){r.forEach(function(r,t){var a="F;";if(r.hidden)a+="M0;";else if(r.hpt)a+="M"+20*r.hpt+";";else if(r.hpx)a+="M"+20*Gh(r.hpx)+";";if(a.length>2)e.push(a+"R"+(t+1))})}function f(e,r){var t=["ID;PWXL;N;E"],a=[];var f=jr(e["!ref"]),o;var l=Array.isArray(e);var c="\r\n";t.push("P;PGeneral");t.push("F;P0;DG0G8;M255");if(e["!cols"])i(t,e["!cols"]);if(e["!rows"])s(t,e["!rows"]);t.push("B;Y"+(f.e.r-f.s.r+1)+";X"+(f.e.c-f.s.c+1)+";D"+[f.s.c,f.s.r,f.e.c,f.e.r].join(" "));for(var u=f.s.r;u<=f.e.r;++u){for(var h=f.s.c;h<=f.e.c;++h){var d=zr({r:u,c:h});o=l?(e[u]||[])[h]:e[d];if(!o||o.v==null&&(!o.f||o.F))continue;a.push(n(o,e,u,h,r))}}return t.join(c)+c+a.join(c)+c+"E"+c}return{to_workbook:a,to_sheet:t,from_sheet:f}}();var Fu=function(){function e(e,t){switch(t.type){case"base64":return r(h.decode(e),t);case"binary":return r(e,t);case"buffer":return r(e.toString("binary"),t);case"array":return r(W(e),t);}throw new Error("Unrecognized type "+t.type)}function r(e,r){var t=e.split("\n"),a=-1,n=-1,i=0,s=[];for(;i!==t.length;++i){if(t[i].trim()==="BOT"){s[++a]=[];n=0;continue}if(a<0)continue;var f=t[i].trim().split(",");var o=f[0],l=f[1];++i;var c=t[i].trim();switch(+o){case-1:if(c==="BOT"){s[++a]=[];n=0;continue}else if(c!=="EOD")throw new Error("Unrecognized DIF special command "+c);break;case 0:if(c==="TRUE")s[a][n]=true;else if(c==="FALSE")s[a][n]=false;else if(+l==+l)s[a][n]=+l;else if(!isNaN(G(l).getDate()))s[a][n]=H(l);else s[a][n]=l;++n;break;case 1:c=c.substr(1,c.length-2);s[a][n++]=c!==""?c:null;break;}if(c==="EOD")break}return s}function t(r,t){return Jr(e(r,t),t)}function a(e,r){return Qr(t(e,r),r)}var n=function(){var e=function t(e,r,a,n,i){e.push(r);e.push(a+","+n);e.push('"'+i.replace(/"/g,'""')+'"')};var r=function a(e,r,t,n){e.push(r+","+t);e.push(r==1?'"'+n.replace(/"/g,'""')+'"':n)};return function n(t,a){var n=[];var i=jr(t["!ref"]),s;var f=Array.isArray(t);e(n,"TABLE",0,1,"sheetjs");e(n,"VECTORS",0,i.e.r-i.s.r+1,"");e(n,"TUPLES",0,i.e.c-i.s.c+1,"");e(n,"DATA",0,0,"");for(var o=i.s.r;o<=i.e.r;++o){r(n,-1,0,"BOT");for(var l=i.s.c;l<=i.e.c;++l){var c=zr({r:o,c:l});s=f?(t[o]||[])[l]:t[c];if(!s){r(n,1,0,"");continue}switch(s.t){case"n":var h=u?s.w:s.v;if(!h&&s.v!=null)h=s.v;if(h==null){if(u&&s.f&&!s.F)r(n,1,0,"="+s.f);else r(n,1,0,"")}else r(n,0,h,"V");break;case"b":r(n,0,s.v?1:0,s.v?"TRUE":"FALSE");break;case"s":r(n,1,0,!u||isNaN(s.v)?s.v:'="'+s.v+'"');break;case"d":if(!s.w)s.w=E.format(s.z||E._table[14],P(H(s.v)));if(u)r(n,0,s.w,"V");else r(n,1,0,s.w);break;default:r(n,1,0,"");}}}r(n,-1,0,"EOD");var d="\r\n";var v=n.join(d);return v}}();return{to_workbook:a,to_sheet:t,from_sheet:n}}();var Pu=function(){function e(e,r,t,a,n){if(n.raw)r[t][a]=e;else if(e==="TRUE")r[t][a]=true;else if(e==="FALSE")r[t][a]=false;else if(e===""){}else if(+e==+e)r[t][a]=+e;else if(!isNaN(G(e).getDate()))r[t][a]=H(e);else r[t][a]=e}function r(r,t){var a=t||{};var n=[];if(!r||r.length===0)return n;var i=r.split(/[\r\n]/);var s=i.length-1;while(s>=0&&i[s].length===0)--s;var f=10,o=0;var l=0;for(;l<=s;++l){o=i[l].indexOf(" ");if(o==-1)o=i[l].length;else o++;f=Math.max(f,o)}for(l=0;l<=s;++l){n[l]=[];var c=0;e(i[l].slice(0,f).trim(),n,l,c,a);for(c=1;c<=(i[l].length-f)/10+1;++c)e(i[l].slice(f+(c-1)*10,f+c*10).trim(),n,l,c,a)}return n}function t(e,r){var t=r||{};var a="";if(c!=null&&t.dense==null)t.dense=c;var n=t.dense?[]:{};var i={s:{c:0,r:0},e:{c:0,r:0}};if(e.substr(0,4)=="sep="&&e.charCodeAt(5)==10){a=e.charAt(4);e=e.substr(6)}else if(e.substr(0,1024).indexOf("\t")==-1)a=",";else a="\t";var s=0,f=0,o=0;var l=0,u=0,h=a.charCodeAt(0),d=false,v=0;e=e.replace(/\r\n/gm,"\n");var p=t.dateNF!=null?B(t.dateNF):null;function b(){var r=e.slice(l,u);var a={};if(t.raw){a.t="s";a.v=r}else if(r.charCodeAt(0)==61){a.t="n";a.f=r.substr(1)}else if(r=="TRUE"){a.t="b";a.v=true}else if(r=="FALSE"){a.t="b";a.v=false}else if(!isNaN(o=+r)){a.t="n";a.w=r;a.v=o}else if(!isNaN(G(r).getDate())||p&&r.match(p)){a.z=t.dateNF||E._table[14];var c=0;if(p&&r.match(p)){r=C(r,t.dateNF,r.match(p)||[]);c=1}if(t.cellDates){a.t="d";a.v=H(r,c)}else{a.t="n";a.v=P(H(r,c))}a.w=E.format(a.z,a.v instanceof Date?P(a.v):a.v)}else{a.t="s";if(r.charAt(0)=='"'&&r.charAt(r.length-1)=='"')r=r.slice(1,-1).replace(/""/g,'"');a.v=r}if(t.dense){if(!n[s])n[s]=[];n[s][f]=a}else n[zr({c:f,r:s})]=a;l=u+1;if(i.e.c0)b();n["!ref"]=Kr(i);return n}function a(e,a){if(e.substr(0,4)=="sep=")return t(e,a);if(e.indexOf("\t")>=0||e.indexOf(",")>=0)return t(e,a);return Jr(r(e,a),a)}function n(e,r){var t="",n=ck(e,r);switch(r.type){case"base64":t=h.decode(e);break;case"binary":t=e;break;case"buffer":t=e.toString("binary");break;case"array":t=W(e);break;default:throw new Error("Unrecognized type "+r.type);}if(n[0]==239&&n[1]==187&&n[2]==191)t=Se(t);return a(t,r)}function i(e,r){return Qr(n(e,r),r)}function s(e,r){var t=[];var a=jr(e["!ref"]),n;var i=Array.isArray(e);for(var s=a.s.r;s<=a.e.r;++s){var f=[];for(var o=a.s.c;o<=a.e.c;++o){var l=zr({r:s,c:o});n=i?(e[s]||[])[o]:e[l];if(!n||n.v==null){f.push(" ");continue}var c=(n.w||(Zr(n),n.w)||"").substr(0,10);while(c.length<10)c+=" ";f.push(c+(o==0?" ":""))}t.push(f.join(""))}return t.join("\n")}return{to_workbook:i,to_sheet:n,from_sheet:s}}();function Nu(e,r){var t=r||{},a=!!t.WTF;t.WTF=true;try{var n=Ou.to_workbook(e,t);t.WTF=a;return n}catch(i){t.WTF=a;if(!i.message.match(/SYLK bad record ID/)&&a)throw i;return Pu.to_workbook(e,r)}}var Lu=function(){function e(e,r,t){if(!e)return;Er(e,e.l||0);var a=t.Enum||S;while(e.l=4096)a.qpro=true;break;case 6:l=e;break;case 15:if(!a.qpro)e[1].v=e[1].v.substr(1);case 13:;case 14:;case 16:;case 51:if(c==14&&(e[2]&112)==112&&(e[2]&15)>1&&(e[2]&15)<15){e[1].z=a.dateNF||E._table[14];if(a.cellDates){e[1].t="d";e[1].v=N(e[1].v)}}if(a.dense){if(!n[e[0].r])n[e[0].r]=[];n[e[0].r][e[0].c]=e[1]}else n[zr(e[0])]=e[1];break;}else switch(c){case 22:e[1].v=e[1].v.substr(1);case 23:;case 24:;case 25:;case 37:;case 39:;case 40:if(e[3]>s){n["!ref"]=Kr(l);f[i]=n;n=a.dense?[]:{};l={s:{r:0,c:0},e:{r:0,c:0}};s=e[3];i="Sheet"+(s+1);o.push(i)}n[zr(e[0])]=e[1];if(l.e.c>1;if(t[1].v&1){switch(a&7){case 1:a=(a>>3)*500;break;case 2:a=(a>>3)/20;break;case 4:a=(a>>3)/2e3;break;case 6:a=(a>>3)/16;break;case 7:a=(a>>3)/64;break;default:throw"unknown NUMBER_18 encoding "+(a&7);}}t[1].v=a;return t}function v(e,r){var t=l(e,r);var a=e.read_shift(4);var n=e.read_shift(4);var i=e.read_shift(2);if(i==65535){t[1].v=0;return t}var s=i&32768;i=(i&32767)-16446;t[1].v=(i>0?n<>>-i)+(i>-32?a<>>-(i+32));return t}function b(e,r){var t=v(e,14);e.l+=r-14;return t}function m(e,r){var t=l(e,r);var a=e.read_shift(4);t[1].v=a>>6;return t}function g(e,r){var t=l(e,r);var a=e.read_shift(8,"f");t[1].v=a;return t}function k(e,r){var t=g(e,14);e.l+=r-10;return t}var S={0:{n:"BOF",f:sn},1:{n:"EOF",f:kr},2:{n:"CALCMODE",f:kr},3:{n:"CALCORDER",f:kr},4:{n:"SPLIT",f:kr},5:{n:"SYNC",f:kr},6:{n:"RANGE",f:a},7:{n:"WINDOW1",f:kr},8:{n:"COLW1",f:kr},9:{n:"WINTWO",f:kr},10:{n:"COLW2",f:kr},11:{n:"NAME",f:kr},12:{n:"BLANK",f:kr},13:{n:"INTEGER",f:s},14:{n:"NUMBER",f:f},15:{n:"LABEL",f:i},16:{n:"FORMULA",f:o},24:{n:"TABLE",f:kr},25:{n:"ORANGE",f:kr},26:{n:"PRANGE",f:kr},27:{n:"SRANGE",f:kr},28:{n:"FRANGE",f:kr},29:{n:"KRANGE1",f:kr},32:{n:"HRANGE",f:kr},35:{n:"KRANGE2",f:kr},36:{n:"PROTEC",f:kr},37:{n:"FOOTER",f:kr},38:{n:"HEADER",f:kr},39:{n:"SETUP",f:kr},40:{n:"MARGINS",f:kr},41:{n:"LABELFMT",f:kr},42:{n:"TITLES",f:kr},43:{n:"SHEETJS",f:kr},45:{n:"GRAPH",f:kr},46:{n:"NGRAPH",f:kr},47:{n:"CALCCOUNT",f:kr},48:{n:"UNFORMATTED",f:kr},49:{n:"CURSORW12",f:kr},50:{n:"WINDOW",f:kr},51:{n:"STRING",f:i},55:{n:"PASSWORD",f:kr},56:{n:"LOCKED",f:kr},60:{n:"QUERY",f:kr},61:{n:"QUERYNAME",f:kr},62:{n:"PRINT",f:kr},63:{n:"PRINTNAME",f:kr},64:{n:"GRAPH2",f:kr},65:{n:"GRAPHNAME",f:kr},66:{n:"ZOOM",f:kr},67:{n:"SYMSPLIT",f:kr},68:{n:"NSROWS",f:kr},69:{n:"NSCOLS",f:kr},70:{n:"RULER",f:kr},71:{n:"NNAME",f:kr},72:{n:"ACOMM",f:kr},73:{n:"AMACRO",f:kr},74:{n:"PARSE",f:kr},255:{n:"",f:kr}};var w={0:{n:"BOF",f:kr},1:{n:"EOF",f:kr},3:{n:"??",f:kr},4:{n:"??",f:kr},5:{n:"??",f:kr},6:{n:"??",f:kr},7:{n:"??",f:kr},9:{n:"??",f:kr},10:{n:"??",f:kr},11:{n:"??",f:kr},12:{n:"??",f:kr},14:{n:"??",f:kr},15:{n:"??",f:kr},16:{n:"??",f:kr},17:{n:"??",f:kr},18:{n:"??",f:kr},19:{n:"??",f:kr},21:{n:"??",f:kr},22:{n:"LABEL16",f:u},23:{n:"NUMBER17",f:v},24:{n:"NUMBER18",f:d},25:{n:"FORMULA19",f:b},26:{n:"??",f:kr},27:{n:"??",f:kr},28:{n:"??",f:kr},29:{n:"??",f:kr},30:{n:"??",f:kr},31:{n:"??",f:kr},33:{n:"??",f:kr},37:{n:"NUMBER25",f:m},39:{n:"NUMBER27",f:g},40:{n:"FORMULA28",f:k},255:{n:"",f:kr}};return{to_workbook:r}}();var Mu={0:1252,1:65001,2:65001,77:1e4,128:932,129:949,130:1361,134:936,136:950,161:1253,162:1254,163:1258,177:1255,178:1256,186:1257,204:1251,222:874,238:1250,255:1252,69:6969};var Uu=function nS(){var e=_e("t"),r=_e("rPr"),t=/<(?:\w+:)?r>/g,a=/<\/(?:\w+:)?r>/,n=/\r\n/g;var i=function f(e,r,t){var a={},n=65001,i="";var s=e.match(ne),f=0;if(s)for(;f!=s.length;++f){var o=fe(s[f]);switch(o[0].replace(/\w*:/g,"")){case"":;case"":a.shadow=1;break;case"":break;case"":;case"":a.outline=1;break;case"":break;case"":;case"":a.strike=1;break;case"":break;case"":;case"":a.u=1;break;case"":break;case"":;case"":a.b=1;break;case"":break;case"":;case"":a.i=1;break;case"":break;case"');if(a.b){r.push("");t.push("")}if(a.i){r.push("");t.push("")}if(a.strike){r.push("");t.push("")}if(i=="superscript")i="sup";else if(i=="subscript")i="sub";if(i!=""){r.push("<"+i+">");t.push("")}t.push("");return n};function s(t){var a=[[],"",[]];var s=t.match(e),f=65001;if(!x(s))return"";a[1]=s[1];var o=t.match(r);if(x(o))f=i(o[1],a[0],a[2]);return a[0].join("")+a[1].replace(n,"
")+a[2].join("")}return function o(e){return e.replace(t,"").split(a).map(s).join("")}}();var Hu=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,Wu=/<(?:\w+:)?r>/;var Vu=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g;function zu(e,r){var t=r?r.cellHTML:true;var a={};if(!e)return null;var n;if(e.match(/^\s*<(?:\w+:)?t[^>]*>/)){a.t=Se(ue(e.substr(e.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]));a.r=Se(e);if(t)a.h=me(a.t)}else if(n=e.match(Wu)){a.r=Se(e);a.t=Se(ue((e.replace(Vu,"").match(Hu)||[]).join("").replace(ne,"")));if(t)a.h=Uu(a.r)}return a}var Xu=/<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/;var Gu=/<(?:\w+:)?(?:si|sstItem)>/g;var ju=/<\/(?:\w+:)?(?:si|sstItem)>/;function Ku(e,r){var t=[],a="";if(!e)return t;var n=e.match(Xu);if(x(n)){a=n[2].replace(Gu,"").split(ju);for(var i=0;i!=a.length;++i){var s=zu(a[i].trim(),r);if(s!=null)t[t.length]=s}n=fe(n[1]);t.Count=n.count;t.Unique=n.uniqueCount}return t}sa.SST="http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings";var Yu=/^\s|\s$|[\t\n\r]/;function $u(e,r){if(!r.bookSST)return"";var t=[Ne];t[t.length]=Oe("sst",null,{xmlns:Le.main[0],count:e.Count,uniqueCount:e.Unique});for(var a=0;a!=e.length;++a){if(e[a]==null)continue;var n=e[a];var i="";if(n.r)i+=n.r;else{i+=""}i+="";t[t.length]=i}if(t.length>2){t[t.length]="";t[1]=t[1].replace("/>",">")}return t.join("")}function Zu(e,r){return[e.read_shift(4),e.read_shift(4)]}function Qu(e,r){var t=[];var a=false;Cr(e,function n(e,i,s){switch(s){case 159:t.Count=e[0];t.Unique=e[1];break;case 19:t.push(e);break;case 160:return true;case 35:a=true;break;case 36:a=false;break;default:if(i.indexOf("Begin")>0){}else if(i.indexOf("End")>0){}if(!a||r.WTF)throw new Error("Unexpected record "+s+" "+i);}});return t}function Ju(e,r){if(!r)r=Br(8);r.write_shift(4,e.Count);r.write_shift(4,e.Unique);return r}var qu=it;function eh(e,r){var t=_r();Tr(t,"BrtBeginSst",Ju(e));for(var a=0;a=4)e.l+=r-4;return t}function ah(e,r){var t={};t.id=e.read_shift(0,"lpp4");t.R=th(e,4);t.U=th(e,4);t.W=th(e,4);return t}function nh(e){var r=e.read_shift(4);var t=e.l+r-4;var a={};var n=e.read_shift(4);var i=[];while(n-- >0){var s={};s.t=e.read_shift(4);s.v=e.read_shift(0,"lpp4");i.push(s)}a.name=e.read_shift(0,"lpp4");a.comps=i;return a}function ih(e,r){var t=[];e.l+=4;var a=e.read_shift(4);while(a-- >0)t.push(nh(e));return t}function sh(e,r){var t=[];e.l+=4;var a=e.read_shift(4);while(a-- >0)t.push(e.read_shift(0,"lpp4"));return t}function fh(e,r){var t={};var a=e.read_shift(4);var n=e.l+a-4;e.l+=4;t.id=e.read_shift(0,"lpp4");t.name=e.read_shift(0,"lpp4");t.R=th(e,4);t.U=th(e,4);t.W=th(e,4);return t}function oh(e,r){var t=fh(e);t.ename=e.read_shift(0,"8lpp4");t.blksz=e.read_shift(4);t.cmode=e.read_shift(4);if(e.read_shift(4)!=4)throw new Error("Bad !Primary record");return t}function lh(e,r){var t=e.l+r;var a={};a.Flags=e.read_shift(4)&63;e.l+=4;a.AlgID=e.read_shift(4);var n=false;switch(a.AlgID){case 26126:;case 26127:;case 26128:n=a.Flags==36;break;case 26625:n=a.Flags==4;break;case 0:n=a.Flags==16||a.Flags==4||a.Flags==36;break;default:throw"Unrecognized encryption algorithm: "+a.AlgID;}if(!n)throw new Error("Encryption Flags/AlgID mismatch");a.AlgIDHash=e.read_shift(4);a.KeySize=e.read_shift(4);a.ProviderType=e.read_shift(4);e.l+=8;a.CSPName=e.read_shift(t-e.l>>1,"utf16le").slice(0,-1);e.l=t;return a}function ch(e,r){var t={};e.l+=4;t.Salt=e.slice(e.l,e.l+16);e.l+=16;t.Verifier=e.slice(e.l,e.l+16);e.l+=16;var a=e.read_shift(4);t.VerifierHash=e.slice(e.l,e.l+a);e.l+=a;return t}function uh(e,r){var t=th(e);switch(t.Minor){case 2:return hh(e,t);case 3:return dh(e,t);case 4:return vh(e,t);}throw new Error("ECMA-376 Encryped file unrecognized Version: "+t.Minor)}function hh(e,r){var t=e.read_shift(4);if((t&63)!=36)throw new Error("EncryptionInfo mismatch");var a=e.read_shift(4);var n=e.l+a;var i=lh(e,a);var s=ch(e,e.length-e.l);return{t:"Std",h:i,v:s}}function dh(e,r){throw new Error("File is password-protected: ECMA-376 Extensible")}function vh(e,r){throw new Error("File is password-protected: ECMA-376 Agile")}function ph(e,r){var t={};var a=t.EncryptionVersionInfo=th(e,4);r-=4;if(a.Minor!=2)throw new Error("unrecognized minor version code: "+a.Minor);if(a.Major>4||a.Major<2)throw new Error("unrecognized major version code: "+a.Major);t.Flags=e.read_shift(4);r-=4;var n=e.read_shift(4);r-=4;t.EncryptionHeader=lh(e,n);r-=n;t.EncryptionVerifier=ch(e,r);return t}function bh(e,r){var t={};var a=t.EncryptionVersionInfo=th(e,4);r-=4;if(a.Major!=1||a.Minor!=1)throw"unrecognized version code "+a.Major+" : "+a.Minor;t.Salt=e.read_shift(16);t.EncryptedVerifier=e.read_shift(16);t.EncryptedVerifierHash=e.read_shift(16);return t}function mh(e){var r=0,t;var a=rh(e);var n=a.length+1,i,s;var f,o,l;t=v(n);t[0]=a.length;for(i=1;i!=n;++i)t[i]=a[i-1];for(i=n-1;i>=0;--i){s=t[i];f=(r&16384)===0?0:1;o=r<<1&32767;l=f|o;r=l^s}return r^52811}var gh=function(){var e=[187,255,255,186,255,255,185,128,0,190,15,0,191,15,0];var r=[57840,7439,52380,33984,4364,3600,61902,12606,6258,57657,54287,34041,10252,43370,20163];var t=[44796,19929,39858,10053,20106,40212,10761,31585,63170,64933,60267,50935,40399,11199,17763,35526,1453,2906,5812,11624,23248,885,1770,3540,7080,14160,28320,56640,55369,41139,20807,41614,21821,43642,17621,28485,56970,44341,19019,38038,14605,29210,60195,50791,40175,10751,21502,43004,24537,18387,36774,3949,7898,15796,31592,63184,47201,24803,49606,37805,14203,28406,56812,17824,35648,1697,3394,6788,13576,27152,43601,17539,35078,557,1114,2228,4456,30388,60776,51953,34243,7079,14158,28316,14128,28256,56512,43425,17251,34502,7597,13105,26210,52420,35241,883,1766,3532,4129,8258,16516,33032,4657,9314,18628];var a=function(e){return(e/2|e*128)&255};var n=function(e,r){return a(e^r)};var i=function(e){var a=r[e.length-1];var n=104;for(var i=e.length-1;i>=0;--i){var s=e[i];for(var f=0;f!=7;++f){if(s&64)a^=t[n];s*=2;--n}}return a};return function(r){var t=rh(r);var a=i(t);var s=t.length;var f=v(16);for(var o=0;o!=16;++o)f[o]=0;var l,c,u;if((s&1)===1){l=a>>8;f[s]=n(e[0],l);--s;l=a&255;c=t[t.length-1];f[s]=n(c,l)}while(s>0){--s;l=a>>8;f[s]=n(t[s],l);--s;l=a&255;f[s]=n(t[s],l)}s=15;u=15-t.length;while(u>0){l=a>>8;f[s]=n(e[u],l);--s;--u;l=a&255;f[s]=n(t[s],l);--s;--u}return f}}();var Eh=function(e,r,t,a,n){if(!n)n=r;if(!a)a=gh(e);var i,s;for(i=0;i!=r.length;++i){s=r[i];s^=a[t];s=(s>>5|s<<3)&255;n[i]=s;++t}return[n,t,a]};var kh=function(e){var r=0,t=gh(e);return function(e){var a=Eh("",e,r,t);r=a[1];return a[0]}};function Sh(e,r,t,a){var n={key:sn(e),verificationBytes:sn(e)};if(t.password)n.verifier=mh(t.password);a.valid=n.verificationBytes===n.verifier;if(a.valid)a.insitu_decrypt=kh(t.password);return n}function wh(e,r,t){var a=t||{};a.Info=e.read_shift(2);e.l-=2;if(a.Info===1)a.Data=bh(e,r);else a.Data=ph(e,r);return a}function Bh(e,r,t){var a={Type:t.biff>=8?e.read_shift(2):0};if(a.Type)wh(e,r-2,a);else Sh(e,r-2,t,a);return a}var Ch=function(){function e(e,t){switch(t.type){case"base64":return r(h.decode(e),t);case"binary":return r(e,t);case"buffer":return r(e.toString("binary"),t);case"array":return r(W(e),t);}throw new Error("Unrecognized type "+t.type)}function r(e,r){throw new Error("Unsupported RTF")}function t(r,t){return Qr(e(r,t),t)}function a(){throw new Error("Unsupported")}return{to_workbook:t,to_sheet:e,from_sheet:a}}();function _h(e){var r=e.substr(e[0]==="#"?1:0,6);return[parseInt(r.substr(0,2),16),parseInt(r.substr(2,2),16),parseInt(r.substr(4,2),16)]}function Th(e){for(var r=0,t=1;r!=3;++r)t=t*256+(e[r]>255?255:e[r]<0?0:e[r]);return t.toString(16).toUpperCase().substr(1)}function xh(e){var r=e[0]/255,t=e[1]/255,a=e[2]/255;var n=Math.max(r,t,a),i=Math.min(r,t,a),s=n-i;if(s===0)return[0,0,r];var f=0,o=0,l=n+i;o=s/(l>1?2-l:l);switch(n){case r:f=((t-a)/s+6)%6;break;case t:f=(a-r)/s+2;break;case a:f=(r-t)/s+4;break;}return[f/6,o,l/2]}function Ih(e){var r=e[0],t=e[1],a=e[2];var n=t*2*(a<.5?a:1-a),i=a-n/2;var s=[i,i,i],f=6*r;var o;if(t!==0)switch(f|0){case 0:;case 6:o=n*f;s[0]+=n;s[1]+=o;break;case 1:o=n*(2-f);s[0]+=o;s[1]+=n;break;case 2:o=n*(f-2);s[1]+=n;s[2]+=o;break;case 3:o=n*(4-f);s[1]+=o;s[2]+=n;break;case 4:o=n*(f-4);s[2]+=n;s[0]+=o;break;case 5:o=n*(6-f);s[2]+=o;s[0]+=n;break;}for(var l=0;l!=3;++l)s[l]=Math.round(s[l]*255);return s}function Ah(e,r){if(r===0)return e;var t=xh(_h(e));if(r<0)t[2]=t[2]*(1+r);else t[2]=1-(1-t[2])*(1-r);return Th(Ih(t))}var yh=6,Rh=15,Dh=1,Oh=yh;function Fh(e){return Math.floor((e+Math.round(128/Oh)/256)*Oh)}function Ph(e){return Math.floor((e-5)/Oh*100+.5)/100}function Nh(e){return Math.round((e*Oh+5)/Oh*256)/256}function Lh(e){return((e-5)/Oh*100+.5)/100}function Mh(e){return(e*Oh+5)/Oh*256/256}function Uh(e){return Nh(Ph(Fh(e)))}function Hh(e){var r=Math.abs(e-Uh(e)),t=Oh;if(r>.005)for(Oh=Dh;Oh.5)t--;if(Math.abs(t)":;case"":break;case"":;case"":n={};if(t.diagonalUp){n.diagonalUp=t.diagonalUp}if(t.diagonalDown){n.diagonalDown=t.diagonalDown}r.Borders.push(n);break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":;case"":break;case"":break;case"":;case"":break;case"":break;case"":;case"":break;case"":break;case"":;case"":break;case"":break;case"":;case"":break;case"":break;case"":break;case"":;case"":break;default:if(a&&a.WTF)throw new Error("unrecognized "+t[0]+" in borders");}})}function $h(e,r,t,a){r.Fills=[];var n={};e[0].match(ne).forEach(function(e){var t=fe(e);switch(t[0]){case"":;case"":break;case"":;case"":n={};r.Fills.push(n);break;case"":break;case"":break;case"":r.Fills.push(n);n={};break;case"":if(t.patternType)n.patternType=t.patternType;break;case"":;case"":break;case"":;case"":break;case"":;case"":break;case"":break;case"":break;case"":break;case"":break;default:if(a&&a.WTF)throw new Error("unrecognized "+t[0]+" in fills");}})}function Zh(e,r,t,a){r.Fonts=[];var n={};e[0].match(ne).forEach(function(e){var i=fe(e);switch(i[0]){case"":;case"":break;case"":break;case"
":;case"":r.Fonts.push(n);n={};break;case"":;case"":break;case"":n.bold=1;break;case"":n.italic=1;break;case"":n.underline=1;break;case"":n.strike=1;break;case"":n.outline=1;break;case"":n.shadow=1;break;case"":n.condense=1;break;case"":n.extend=1;break;case"":;case"":break;case"":;case"":break;case"":;case"":break;case"":;case"":break;case"":;case"":break;default:if(a&&a.WTF)throw new Error("unrecognized "+i[0]+" in fonts");}})}function Qh(e,r,t){r.NumberFmt=[];var a=I(E._table);for(var n=0;n":;case"":;case"":break;case"0){if(o>392){for(o=392;o>60;--o)if(r.NumberFmt[o]==null)break;r.NumberFmt[o]=f}E.load(f,o)}}break;case"":break;default:if(t.WTF)throw new Error("unrecognized "+s[0]+" in numFmts");}}}function Jh(e,r){var t=[""];[[5,8],[23,26],[41,44],[50,392]].forEach(function(r){for(var a=r[0];a<=r[1];++a)if(e[a]!=null)t[t.length]=Oe("numFmt",null,{numFmtId:a,formatCode:ve(e[a])})});if(t.length===1)return"";t[t.length]="";t[0]=Oe("numFmts",null,{count:t.length-2}).replace("/>",">");return t.join("")}var qh=["numFmtId","fillId","fontId","borderId","xfId"];var ed=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"];function rd(e,r,t){r.CellXf=[];var a;e[0].match(ne).forEach(function(e){var n=fe(e),i=0;switch(n[0]){case"":;case"":;case"":break;case"":a=n;delete a[0];for(i=0;i392){for(i=392;i>60;--i)if(r.NumberFmt[a.numFmtId]==r.NumberFmt[i]){a.numFmtId=i;break}}r.CellXf.push(a);break;case"":break;case"":var s={};if(n.vertical)s.vertical=n.vertical;if(n.horizontal)s.horizontal=n.horizontal;if(n.textRotation!=null)s.textRotation=n.textRotation;if(n.indent)s.indent=n.indent;if(n.wrapText)s.wrapText=n.wrapText;a.alignment=s;break;case"":break;case"":;case"":break;case"":break;case"";if(r.length===2)return"";r[0]=Oe("cellXfs",null,{count:r.length-2}).replace("/>",">");return r.join("")}var ad=function iS(){var e=/]*)>[\S\s]*?<\/numFmts>/;var r=/]*)>[\S\s]*?<\/cellXfs>/;var t=/]*)>[\S\s]*?<\/fills>/;var a=/]*)>[\S\s]*?<\/fonts>/;var n=/]*)>[\S\s]*?<\/borders>/;return function i(s,f,o){var l={};if(!s)return l;s=s.replace(//gm,"").replace(//gm,"");var c;if(c=s.match(e))Qh(c,l,o);if(c=s.match(a))Zh(c,l,f,o);if(c=s.match(t))$h(c,l,f,o);if(c=s.match(n))Yh(c,l,f,o);if(c=s.match(r))rd(c,l,o);return l}}();var nd=Oe("styleSheet",null,{xmlns:Le.main[0],"xmlns:vt":Le.vt});sa.STY="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles";function id(e,r){var t=[Ne,nd],a;if(e.SSF&&(a=Jh(e.SSF))!=null)t[t.length]=a;t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';if(a=td(r.cellXfs))t[t.length]=a;t[t.length]='';t[t.length]='';t[t.length]='';if(t.length>2){t[t.length]="";t[1]=t[1].replace("/>",">")}return t.join("")}function sd(e,r){var t=e.read_shift(2);var a=et(e,r-2);return[t,a]}function fd(e,r,t){if(!t)t=Br(6+4*r.length);t.write_shift(2,e);rt(r,t);return t.length>t.l?t.slice(0,t.l):t}function od(e,r,t){var a={};a.sz=e.read_shift(2)/20;var n=yt(e,2,t);if(n.fCondense)a.condense=1;if(n.fExtend)a.extend=1;if(n.fShadow)a.shadow=1;if(n.fOutline)a.outline=1;if(n.fStrikeout)a.strike=1;if(n.fItalic)a.italic=1;var i=e.read_shift(2);if(i===700)a.bold=1;switch(e.read_shift(2)){case 1:a.vertAlign="superscript";break;case 2:a.vertAlign="subscript";break;}var s=e.read_shift(1);if(s!=0)a.underline=s;var f=e.read_shift(1);if(f>0)a.family=f;var o=e.read_shift(1);if(o>0)a.charset=o;e.l++;a.color=It(e,8);switch(e.read_shift(1)){case 1:a.scheme="major";break;case 2:a.scheme="minor";break;}a.name=et(e,r-21);return a}function ld(e,r){if(!r)r=Br(25+4*32);r.write_shift(2,e.sz*20);Rt(e,r);r.write_shift(2,e.bold?700:400);var t=0;if(e.vertAlign=="superscript")t=1;else if(e.vertAlign=="subscript")t=2;r.write_shift(2,t);r.write_shift(1,e.underline||0);r.write_shift(1,e.family||0);r.write_shift(1,e.charset||0);r.write_shift(1,0);At(e.color,r);var a=0;if(e.scheme=="major")a=1;if(e.scheme=="minor")a=2;r.write_shift(1,a);rt(e.name,r);return r.length>r.l?r.slice(0,r.l):r}var cd=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];var ud=y(cd);var hd=kr;function dd(e,r){if(!r)r=Br(4*3+8*7+16*1);var t=ud[e.patternType];if(t==null)t=40;r.write_shift(4,t);var a=0;if(t!=40){At({auto:1},r);At({auto:1},r);for(;a<12;++a)r.write_shift(4,0)}else{for(;a<4;++a)r.write_shift(4,0);for(;a<12;++a)r.write_shift(4,0)}return r.length>r.l?r.slice(0,r.l):r}function vd(e,r){var t=e.read_shift(2);var a=e.read_shift(2);kr(e,r-4);return{ixfe:t,numFmtId:a}}function pd(e,r,t){if(!t)t=Br(16);t.write_shift(2,r||0);t.write_shift(2,e.numFmtId||0);t.write_shift(2,0);t.write_shift(2,0);t.write_shift(2,0);t.write_shift(1,0);t.write_shift(1,0);t.write_shift(1,0);t.write_shift(1,0);t.write_shift(1,0);t.write_shift(1,0);return t}function bd(e,r){if(!r)r=Br(10);r.write_shift(1,0);r.write_shift(1,0);r.write_shift(4,0);r.write_shift(4,0);return r}var md=kr;function gd(e,r){if(!r)r=Br(51);r.write_shift(1,0);bd(null,r);bd(null,r);bd(null,r);bd(null,r);bd(null,r);return r.length>r.l?r.slice(0,r.l):r}function Ed(e,r){if(!r)r=Br(12+4*10);r.write_shift(4,e.xfId);r.write_shift(2,1);r.write_shift(1,+e.builtinId);r.write_shift(1,0);dt(e.name||"",r);return r.length>r.l?r.slice(0,r.l):r}function kd(e,r,t){var a=Br(4+256*2*4);a.write_shift(4,e);dt(r,a);dt(t,a);return a.length>a.l?a.slice(0,a.l):a}function Sd(e,r,t){var a={};a.NumberFmt=[];for(var n in E._table)a.NumberFmt[n]=E._table[n];a.CellXf=[];a.Fonts=[];var i=[];var s=false;Cr(e,function f(e,n,o){switch(o){case 44:a.NumberFmt[e[0]]=e[1];E.load(e[1],e[0]);break;case 43:a.Fonts.push(e);if(e.color.theme!=null&&r&&r.themeElements&&r.themeElements.clrScheme){e.color.rgb=Ah(r.themeElements.clrScheme[e.color.theme].rgb,e.color.tint||0)}break;case 1025:break;case 45:break;case 46:break;case 47:if(i[i.length-1]=="BrtBeginCellXFs"){a.CellXf.push(e)}break;case 48:;case 507:;case 572:;case 475:break;case 1171:;case 2102:;case 1130:;case 512:;case 2095:break;case 35:s=true;break;case 36:s=false;break;case 37:i.push(n);break;case 38:i.pop();break;default:if((n||"").indexOf("Begin")>0)i.push(n);else if((n||"").indexOf("End")>0)i.pop();else if(!s||t.WTF)throw new Error("Unexpected record "+o+" "+n);}});return a}function wd(e,r){if(!r)return;var t=0;[[5,8],[23,26],[41,44],[50,392]].forEach(function(e){for(var a=e[0];a<=e[1];++a)if(r[a]!=null)++t});if(t==0)return;Tr(e,"BrtBeginFmts",qr(t));[[5,8],[23,26],[41,44],[50,392]].forEach(function(t){for(var a=t[0];a<=t[1];++a)if(r[a]!=null)Tr(e,"BrtFmt",fd(a,r[a]))});Tr(e,"BrtEndFmts")}function Bd(e,r){var t=1;if(t==0)return;Tr(e,"BrtBeginFonts",qr(t));Tr(e,"BrtFont",ld({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}));Tr(e,"BrtEndFonts")}function Cd(e,r){var t=2;if(t==0)return;Tr(e,"BrtBeginFills",qr(t));Tr(e,"BrtFill",dd({patternType:"none"}));Tr(e,"BrtFill",dd({patternType:"gray125"}));Tr(e,"BrtEndFills")}function _d(e,r){var t=1;if(t==0)return;Tr(e,"BrtBeginBorders",qr(t));Tr(e,"BrtBorder",gd({}));Tr(e,"BrtEndBorders")}function Td(e,r){var t=1;Tr(e,"BrtBeginCellStyleXFs",qr(t));Tr(e,"BrtXF",pd({numFmtId:0,fontId:0,fillId:0,borderId:0},65535));Tr(e,"BrtEndCellStyleXFs")}function xd(e,r){Tr(e,"BrtBeginCellXFs",qr(r.length));r.forEach(function(r){Tr(e,"BrtXF",pd(r,0))});Tr(e,"BrtEndCellXFs")}function Id(e,r){var t=1;Tr(e,"BrtBeginStyles",qr(1));Tr(e,"BrtStyle",Ed({xfId:0,builtinId:0,name:"Normal"}));Tr(e,"BrtEndStyles")}function Ad(e,r){var t=0;Tr(e,"BrtBeginDXFs",qr(t));Tr(e,"BrtEndDXFs")}function yd(e,r){var t=0;Tr(e,"BrtBeginTableStyles",kd(t,"TableStyleMedium9","PivotStyleMedium4"));Tr(e,"BrtEndTableStyles")}function Rd(e,r){return}function Dd(e,r){var t=_r();Tr(t,"BrtBeginStyleSheet");wd(t,e.SSF);Bd(t,e);Cd(t,e);_d(t,e);Td(t,e);xd(t,r.cellXfs);Id(t,e);Ad(t,e);yd(t,e);Rd(t,e);Tr(t,"BrtEndStyleSheet");return t.end()}sa.THEME="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme";function Od(e,r,t){r.themeElements.clrScheme=[];var a={};(e[0].match(ne)||[]).forEach(function(e){var n=fe(e);switch(n[0]){case"":break;case"":;case"":;case"":;case"":;case"":;case"":;case"":;case"":;case"":;case"":;case"":;case"":;case"":;case"":;case"":;case"":;case"":;case"":;case"":;case"":;case"":;case"":;case"":;case"":if(n[0].charAt(1)==="/"){r.themeElements.clrScheme.push(a);a={}}else{a.name=n[0].substring(3,n[0].length-1)}break;default:if(t&&t.WTF)throw new Error("Unrecognized "+n[0]+" in clrScheme");}})}function Fd(e,r,t){}function Pd(e,r,t){}var Nd=/]*)>[\s\S]*<\/a:clrScheme>/;var Ld=/]*)>[\s\S]*<\/a:fontScheme>/;var Md=/]*)>[\s\S]*<\/a:fmtScheme>/;function Ud(e,r,t){r.themeElements={};var a;[["clrScheme",Nd,Od],["fontScheme",Ld,Fd],["fmtScheme",Md,Pd]].forEach(function(n){if(!(a=e.match(n[1])))throw new Error(n[0]+" not found in themeElements");n[2](a,r,t)})}var Hd=/]*)>[\s\S]*<\/a:themeElements>/;function Wd(e,r){if(!e||e.length===0)return Wd(Vd());var t;var a={};if(!(t=e.match(Hd)))throw new Error("themeElements not found in theme"); +Ud(t[0],a,r);return a}function Vd(e,r){if(r&&r.themeXLSX)return r.themeXLSX;var t=[Ne];t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]="";return t.join("")}function zd(e,r,t){var a=e.read_shift(4);if(a===124226)return;e.l+=r-4}function Xd(e,r){return e.read_shift(4)}function Gd(e,r){var t={};t.xclrType=e.read_shift(2);t.nTintShade=e.read_shift(2);switch(t.xclrType){case 0:e.l+=4;break;case 1:t.xclrValue=jd(e,4);break;case 2:t.xclrValue=Sn(e,4);break;case 3:t.xclrValue=Xd(e,4);break;case 4:e.l+=4;break;}e.l+=8;return t}function jd(e,r){return kr(e,r)}function Kd(e,r){return kr(e,r)}function Yd(e,r){var t=e.read_shift(2);var a=e.read_shift(2);var n=[t];switch(t){case 4:;case 5:;case 7:;case 8:;case 9:;case 10:;case 11:;case 13:n[1]=Gd(e,a);break;case 6:n[1]=Kd(e,a);break;case 14:;case 15:n[1]=e.read_shift(a===5?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+t+" "+a);}return n}function $d(e,r){var t=e.l+r;e.l+=2;var a=e.read_shift(2);e.l+=2;var n=e.read_shift(2);var i=[];while(n-- >0)i.push(Yd(e,t-e.l));return{ixfe:a,ext:i}}function Zd(e,r){r.forEach(function(e){switch(e[0]){case 4:break;case 5:break;case 6:break;case 7:break;case 8:break;case 9:break;case 10:break;case 11:break;case 13:break;case 14:break;case 15:break;}})}function Qd(e,r){var t=[];if(!e)return t;var a=0,n=1;(e.match(ne)||[]).forEach(function(e){var r=fe(e);switch(r[0]){case"":;case"":break;case"0){}else if((i||"").indexOf("End")>0){}else if(!a||r.WTF)throw new Error("Unexpected record "+s+" "+i);}});return t}function rv(e,r){}sa.IMG="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image";sa.DRAW="http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing";function tv(e,r){if(!e)return"??";var t=(e.match(/]*r:id="([^"]*)"/)||["",""])[1];return r["!id"][t].Target}var av=1024;function nv(e,r){var t=[21600,21600];var a=["m0,0l0",t[1],t[0],t[1],t[0],"0xe"].join(",");var n=[Oe("xml",null,{"xmlns:v":Me.v,"xmlns:o":Me.o,"xmlns:x":Me.x,"xmlns:mv":Me.mv}).replace(/\/>/,">"),Oe("o:shapelayout",Oe("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"}),Oe("v:shapetype",[Oe("v:stroke",null,{joinstyle:"miter"}),Oe("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:t.join(","),path:a})];while(av",Oe("v:fill",Oe("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}),{color2:"#BEFF82",angle:"-180",type:"gradient"}),Oe("v:shadow",null,{on:"t",obscured:"t"}),Oe("v:path",null,{"o:connecttype":"none"}),'
','',"","",Re("x:Anchor",[e.c,0,e.r,0,e.c+3,100,e.r+5,100].join(",")),Re("x:AutoFill","False"),Re("x:Row",String(e.r)),Re("x:Column",String(e.c)),"","",""])});n.push("");return n.join("")}sa.CMNT="http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments";function iv(e,r,t,a,n){for(var i=0;i!=r.length;++i){var s=r[i];var f=Lg(Q(e,s.replace(/^\//,""),true),s,n);if(!f||!f.length)continue;var o=I(t);for(var l=0;l!=o.length;++l){var c=o[l];var u=a[c];if(u){var h=u[s];if(h)sv(c,t[c],f)}}}}function sv(e,r,t){var a=Array.isArray(r);var n,i;t.forEach(function(e){if(a){i=Vr(e.ref);if(!r[i.r])r[i.r]=[];n=r[i.r][i.c]}else n=r[e.ref];if(!n){n={};if(a)r[i.r][i.c]=n;else r[e.ref]=n;var t=Yr(r["!ref"]||"BDWGO1000001:A1");var s=Vr(e.ref);if(t.s.r>s.r)t.s.r=s.r;if(t.e.rs.c)t.s.c=s.c;if(t.e.c/))return[];var t=[];var a=[];var n=e.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/);if(n&&n[1])n[1].split(/<\/\w*:?author>/).forEach(function(e){if(e===""||e.trim()==="")return;var r=e.match(/<(?:\w+:)?author[^>]*>(.*)/);if(r)t.push(r[1])});var i=e.match(/<(?:\w+:)?commentList>([\s\S]*)<\/(?:\w+:)?commentList>/);if(i&&i[1])i[1].split(/<\/\w*:?comment>/).forEach(function(e,n){if(e===""||e.trim()==="")return;var i=e.match(/<(?:\w+:)?comment[^>]*>/);if(!i)return;var s=fe(i[0]);var f={author:s.authorId&&t[s.authorId]?t[s.authorId]:"sheetjsghost",ref:s.ref,guid:s.guid};var o=Vr(s.ref);if(r.sheetRows&&r.sheetRows<=o.r)return;var l=e.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/);var c=!!l&&!!l[1]&&zu(l[1])||{r:"",t:"",h:""};f.r=c.r;if(c.r=="")c.t=c.h="";f.t=c.t.replace(/\r\n/g,"\n").replace(/\r/g,"\n");if(r.cellHTML)f.h=c.h;a.push(f)});return a}var ov=Oe("comments",null,{xmlns:Le.main[0]});function lv(e,r){var t=[Ne,ov];var a=[];t.push("");e.map(function(e){return e[1]}).forEach(function(e){e.map(function(e){return ve(e.a)}).forEach(function(e){if(a.indexOf(e)>-1)return;a.push(e);t.push(""+e+"")})});t.push("");t.push("");e.forEach(function(e){e[1].forEach(function(r){t.push('');t.push(Re("t",r.t==null?"":r.t));t.push("")})});t.push("");if(t.length>2){t[t.length]="";t[1]=t[1].replace("/>",">")}return t.join("")}function cv(e,r){var t={};t.iauthor=e.read_shift(4);var a=wt(e,16);t.rfx=a.s;t.ref=zr(a.s);e.l+=16;return t}function uv(e,r){if(r==null)r=Br(36);r.write_shift(4,e[1].iauthor);Bt(e[0],r);r.write_shift(4,0);r.write_shift(4,0);r.write_shift(4,0);r.write_shift(4,0);return r}var hv=et;function dv(e){return rt(e.substr(0,54))}function vv(e,r){var t=[];var a=[];var n={};var i=false;Cr(e,function s(e,f,o){switch(o){case 632:a.push(e);break;case 635:n=e;break;case 637:n.t=e.t;n.h=e.h;n.r=e.r;break;case 636:n.author=a[n.iauthor];delete n.iauthor;if(r.sheetRows&&r.sheetRows<=n.rfx.r)break;if(!n.t)n.t="";delete n.rfx;t.push(n);break;case 35:i=true;break;case 36:i=false;break;case 37:break;case 38:break;default:if((f||"").indexOf("Begin")>0){}else if((f||"").indexOf("End")>0){}else if(!i||r.WTF)throw new Error("Unexpected record "+o+" "+f);}});return t}function pv(e,r){var t=_r();var a=[];Tr(t,"BrtBeginComments");{Tr(t,"BrtBeginCommentAuthors");e.forEach(function(e){e[1].forEach(function(e){if(a.indexOf(e.a)>-1)return;a.push(e.a.substr(0,54));Tr(t,"BrtCommentAuthor",dv(e.a))})});Tr(t,"BrtEndCommentAuthors")}{Tr(t,"BrtBeginCommentList");e.forEach(function(e){e[1].forEach(function(r){r.iauthor=a.indexOf(r.a);var n={s:Vr(e[0]),e:Vr(e[0])};Tr(t,"BrtBeginComment",uv([n,r]));if(r.t&&r.t.length>0)Tr(t,"BrtCommentText",ft(r));Tr(t,"BrtEndComment");delete r.iauthor})});Tr(t,"BrtEndCommentList")}Tr(t,"BrtEndComments");return t.end()}sa.DS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet";sa.MS="http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet";function bv(e,r,t,a,n,i){return{"!type":"dialog"}}function mv(e,r,t,a,n,i){return{"!type":"dialog"}}function gv(e,r,t,a,n,i){return{"!type":"macro"}}function Ev(e,r,t,a,n,i){return{"!type":"macro"}}var kv=function(){var e=/(^|[^A-Za-z])R(\[?)(-?\d+|)\]?C(\[?)(-?\d+|)\]?/g;var r={r:0,c:0};function t(e,t,a,n,i,s){var f=n.length>0?parseInt(n,10)|0:0,o=s.length>0?parseInt(s,10)|0:0;if(o<0&&i.length===0)o=0;var l=false,c=false;if(i.length>0||s.length==0)l=true;if(l)o+=r.c;else--o;if(a.length>0||n.length==0)c=true;if(c)f+=r.r;else--f;return t+(l?"":"$")+Mr(o)+(c?"":"$")+Fr(f)}return function a(n,i){r=i;return n.replace(e,t)}}();var Sv=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)([1-9]\d{0,5}|10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6])(?![_.\(A-Za-z0-9])/g;var wv=function(){return function e(r,t){return r.replace(Sv,function(e,r,a,n,i,s,f,o){var l=Lr(n)-t.c;var c=Or(s)-t.r;return r+"R"+(c==0?"":"["+c+"]")+"C"+(l==0?"":"["+l+"]")})}}();function Bv(e,r){return e.replace(Sv,function(e,t,a,n,i,s,f,o){return t+(a=="$"?a+n:Mr(Lr(n)+r.c))+(i=="$"?i+s:Fr(Or(s)+r.r))})}function Cv(e,r,t){var a=jr(r),n=a.s,i=Vr(t);var s={r:i.r-n.r,c:i.c-n.c};return Bv(e,s)}function _v(e){return function(r,t){r.l+=e;return}}function Tv(e){e.l+=1;return}function xv(e,r){var t=e.read_shift(r==1?1:2);return[t&16383,t>>14&1,t>>15&1]}function Iv(e,r,t){var a=2;if(t){if(t.biff>=2&&t.biff<=5)return Av(e,r,t);else if(t.biff==12)a=4}var n=e.read_shift(a),i=e.read_shift(a);var s=xv(e,2);var f=xv(e,2);return{s:{r:n,c:s[0],cRel:s[1],rRel:s[2]},e:{r:i,c:f[0],cRel:f[1],rRel:f[2]}}}function Av(e){var r=xv(e,2),t=xv(e,2);var a=e.read_shift(1);var n=e.read_shift(1);return{s:{r:r[0],c:a,cRel:r[1],rRel:r[2]},e:{r:t[0],c:n,cRel:t[1],rRel:t[2]}}}function yv(e,r){var t=e.read_shift(r==12?4:2),a=e.read_shift(r==12?4:2);var n=xv(e,2);var i=xv(e,2);return{s:{r:t,c:n[0],cRel:n[1],rRel:n[2]},e:{r:a,c:i[0],cRel:i[1],rRel:i[2]}}}function Rv(e,r,t){if(t&&t.biff>=2&&t.biff<=5)return Dv(e,r,t);var a=e.read_shift(t&&t.biff==12?4:2);var n=xv(e,2);return{r:a,c:n[0],cRel:n[1],rRel:n[2]}}function Dv(e,r,t){var a=xv(e,2);var n=e.read_shift(1);return{r:a[0],c:n,cRel:a[1],rRel:a[2]}}function Ov(e,r,t){var a=t&&t.biff?t.biff:8;if(a>=2&&a<=5)return Fv(e,r,t);var n=e.read_shift(a>=12?4:2);var i=e.read_shift(2);var s=(i&32768)>>15,f=(i&16384)>>14;i&=16383;if(f==1)while(n>524287)n-=1048576;if(s==1)while(i>8191)i=i-16384;return{r:n,c:i,cRel:s,rRel:f}}function Fv(e,r){var t=e.read_shift(2);var a=e.read_shift(1);var n=(t&32768)>>15,i=(t&16384)>>14;t&=16383;if(n==1&&t>=8192)t=t-16384;if(i==1&&a>=128)a=a-256;return{r:t,c:a,cRel:i,rRel:n}}function Pv(e,r,t){var a=(e[e.l++]&96)>>5;var n=Iv(e,t.biff>=2&&t.biff<=5?6:8,t);return[a,n]}function Nv(e,r,t){var a=(e[e.l++]&96)>>5;var n=e.read_shift(2,"i");var i=8;if(t)switch(t.biff){case 5:e.l+=12;i=6;break;case 12:i=12;break;}var s=Iv(e,i,t);return[a,n,s]}function Lv(e,r,t){var a=(e[e.l++]&96)>>5;e.l+=t&&t.biff>8?12:8;return[a]}function Mv(e,r,t){var a=(e[e.l++]&96)>>5;var n=e.read_shift(2);var i=8;if(t)switch(t.biff){case 5:e.l+=12;i=6;break;case 12:i=12;break;}e.l+=i;return[a,n]}function Uv(e,r,t){var a=(e[e.l++]&96)>>5;var n=yv(e,t&&t.biff>8?12:8,t);return[a,n]}function Hv(e,r,t){var a=(e[e.l++]&96)>>5;e.l+=t.biff==2?6:t.biff==12?14:7;return[a]}function Wv(e,r){var t=e[e.l+1]&1;var a=1;e.l+=4;return[t,a]}function Vv(e,r,t){e.l+=2;var a=e.read_shift(t&&t.biff==2?1:2);var n=[];for(var i=0;i<=a;++i)n.push(e.read_shift(t&&t.biff==2?1:2));return n}function zv(e,r,t){var a=e[e.l+1]&255?1:0;e.l+=2;return[a,e.read_shift(t&&t.biff==2?1:2)]}function Xv(e,r,t){var a=e[e.l+1]&255?1:0;e.l+=2;return[a,e.read_shift(t&&t.biff==2?1:2)]}function Gv(e,r){var t=e[e.l+1]&255?1:0;e.l+=2;return[t,e.read_shift(2)]}function jv(e,r,t){var a=e[e.l+1]&255?1:0;e.l+=t&&t.biff==2?3:4;return[a]}function Kv(e,r){var t=e.read_shift(1),a=e.read_shift(1);return[t,a]}function Yv(e,r){e.read_shift(2);return Kv(e,2)}function $v(e,r){e.read_shift(2);return Kv(e,2)}function Zv(e,r,t){var a=e[e.l]&31;var n=(e[e.l]&96)>>5;e.l+=1;var i=Rv(e,0,t);return[n,i]}function Qv(e,r,t){var a=(e[e.l]&96)>>5;e.l+=1;var n=Ov(e,0,t);return[a,n]}function Jv(e,r,t){var a=(e[e.l]&96)>>5;e.l+=1;var n=e.read_shift(2);var i=Rv(e,0,t);return[a,n,i]}function qv(e,r,t){var a=e[e.l]&31;var n=(e[e.l]&96)>>5;e.l+=1;var i=e.read_shift(t&&t.biff<=3?1:2);return[vb[i],db[i],n]}function ep(e,r,t){e.l++;var a=e.read_shift(1),n=t&&t.biff<=3?[0,e.read_shift(1)]:rp(e);return[a,(n[0]===0?db:hb)[n[1]]]}function rp(e,r){return[e[e.l+1]>>7,e.read_shift(2)&32767]}function tp(e,r,t){e.l+=t&&t.biff==2?3:4;return}var ap=Tv;function np(e,r,t){e.l++;if(t&&t.biff==12)return[e.read_shift(4,"i"),0];var a=e.read_shift(2);var n=e.read_shift(t&&t.biff==2?1:2);return[a,n]}function ip(e,r){e.l++;return Tt[e.read_shift(1)]}function sp(e,r){e.l++;return e.read_shift(2)}function fp(e,r){e.l++;return e.read_shift(1)!==0}function op(e,r){e.l++;return Ct(e,8)}function lp(e,r,t){e.l++;return cn(e,r-1,t)}function cp(e,r){var t=[e.read_shift(1)];if(r==12)switch(t[0]){case 2:t[0]=4;break;case 4:t[0]=16;break;case 0:t[0]=1;break;case 1:t[0]=2;break;}switch(t[0]){case 4:t[1]=nn(e,1)?"TRUE":"FALSE";e.l+=7;break;case 16:t[1]=Tt[e[e.l]];e.l+=8;break;case 0:e.l+=8;break;case 1:t[1]=Ct(e,8);break;case 2:t[1]=vn(e,0,{biff:r>0&&r<8?2:r});break;}return t}function up(e,r){var t=e.read_shift(2);var a=[];for(var n=0;n!=t;++n)a.push(yn(e,8));return a}function hp(e,r,t){var a=0,n=0;if(t.biff==12){a=e.read_shift(4);n=e.read_shift(4)}else{n=1+e.read_shift(1);a=1+e.read_shift(2)}if(t.biff>=2&&t.biff<8){--a;if(--n==0)n=256}for(var i=0,s=[];i!=a&&(s[i]=[]);++i)for(var f=0;f!=n;++f)s[i][f]=cp(e,t.biff);return s}function dp(e,r,t){var a=e.read_shift(1)>>>5&3;var n=!t||t.biff>=8?4:2;var i=e.read_shift(n);switch(t.biff){case 2:e.l+=5;break;case 3:;case 4:e.l+=8;break;case 5:e.l+=12;break;}return[a,0,i]}function vp(e,r,t){if(t.biff==5)return pp(e,r,t);var a=e.read_shift(1)>>>5&3;var n=e.read_shift(2);var i=e.read_shift(4);return[a,n,i]}function pp(e,r,t){var a=e.read_shift(1)>>>5&3;var n=e.read_shift(2,"i");e.l+=8;var i=e.read_shift(2);e.l+=12;return[a,n,i]}function bp(e,r,t){var a=e.read_shift(1)>>>5&3;e.l+=t&&t.biff==2?3:4;var n=e.read_shift(t&&t.biff==2?1:2);return[a,n]}function mp(e,r,t){var a=e.read_shift(1)>>>5&3;var n=e.read_shift(t&&t.biff==2?1:2);return[a,n]}function gp(e,r,t){var a=e.read_shift(1)>>>5&3;e.l+=4;if(t.biff==12)e.l+=2;return[a]}function Ep(e,r,t){var a=(e[e.l++]&96)>>5;var n=e.read_shift(2);var i=4;if(t)switch(t.biff){case 5:throw new Error("PtgRefErr3d -- 5");case 12:i=6;break;}e.l+=i;return[a,n]}var kp=Tv;var Sp=Tv;var wp=Tv;var Bp=Tv;var Cp=Tv;var _p=Tv;var Tp=Tv;var xp=Tv;var Ip=Tv;var Ap=Tv;var yp=Tv;var Rp=Tv;var Dp=Tv;var Op=Tv;var Fp=Tv;var Pp=Tv;var Np=Tv;var Lp=Tv;var Mp=Tv;var Up=kr;var Hp=kr;var Wp=kr;var Vp={1:{n:"PtgExp",f:np},2:{n:"PtgTbl",f:Wp},3:{n:"PtgAdd",f:kp},4:{n:"PtgSub",f:Pp},5:{n:"PtgMul",f:Ap},6:{n:"PtgDiv",f:Sp},7:{n:"PtgPower",f:Op},8:{n:"PtgConcat",f:ap},9:{n:"PtgLt",f:xp},10:{n:"PtgLe",f:Tp},11:{n:"PtgEq",f:wp},12:{n:"PtgGe",f:Bp},13:{n:"PtgGt",f:Cp},14:{n:"PtgNe",f:yp},15:{n:"PtgIsect",f:_p},16:{n:"PtgUnion",f:Lp},17:{n:"PtgRange",f:Fp},18:{n:"PtgUplus",f:Mp},19:{n:"PtgUminus",f:Np},20:{n:"PtgPercent",f:Dp},21:{n:"PtgParen",f:Rp},22:{n:"PtgMissArg",f:Ip},23:{n:"PtgStr",f:lp},28:{n:"PtgErr",f:ip},29:{n:"PtgBool",f:fp},30:{n:"PtgInt",f:sp},31:{n:"PtgNum",f:op},32:{n:"PtgArray",f:Hv},33:{n:"PtgFunc",f:qv},34:{n:"PtgFuncVar",f:ep},35:{n:"PtgName",f:dp},36:{n:"PtgRef",f:Zv},37:{n:"PtgArea",f:Pv},38:{n:"PtgMemArea",f:bp},39:{n:"PtgMemErr",f:Up},40:{n:"PtgMemNoMem",f:Hp},41:{n:"PtgMemFunc",f:mp},42:{n:"PtgRefErr",f:gp},43:{n:"PtgAreaErr",f:Lv},44:{n:"PtgRefN",f:Qv},45:{n:"PtgAreaN",f:Uv},57:{n:"PtgNameX",f:vp},58:{n:"PtgRef3d",f:Jv},59:{n:"PtgArea3d",f:Nv},60:{n:"PtgRefErr3d",f:Ep},61:{n:"PtgAreaErr3d",f:Mv},255:{}};var zp={64:32,96:32,65:33,97:33,66:34,98:34,67:35,99:35,68:36,100:36,69:37,101:37,70:38,102:38,71:39,103:39,72:40,104:40,73:41,105:41,74:42,106:42,75:43,107:43,76:44,108:44,77:45,109:45,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61};(function(){for(var e in zp)Vp[e]=Vp[zp[e]]})();var Xp={};var Gp={1:{n:"PtgAttrSemi",f:jv},2:{n:"PtgAttrIf",f:Xv},4:{n:"PtgAttrChoose",f:Vv},8:{n:"PtgAttrGoto",f:zv},16:{n:"PtgAttrSum",f:tp},32:{n:"PtgAttrBaxcel",f:Wv},64:{n:"PtgAttrSpace",f:Yv},65:{n:"PtgAttrSpaceSemi",f:$v},128:{n:"PtgAttrIfError",f:Gv},255:{}};function jp(e,r,t){var a=e.l+r;var n=Bn(e,6);if(t.biff==2)++e.l;var i=Kp(e,8);var s=e.read_shift(1);if(t.biff!=2){e.read_shift(1);if(t.biff>=5){var f=e.read_shift(4)}}var o=Zp(e,a-e.l,t);return{cell:n,val:i[0],formula:o,shared:s>>3&1,tt:i[1]}}function Kp(e){var r;if(fr(e,e.l+6)!==65535)return[Ct(e),"n"];switch(e[e.l]){case 0:e.l+=8;return["String","s"];case 1:r=e[e.l+2]===1;e.l+=8;return[r,"b"];case 2:r=e[e.l+2];e.l+=8;return[r,"e"];case 3:e.l+=8;return["","s"];}return[]}function Yp(e,r,t,a){if(a.biff<8)return kr(e,r);var n=e.l+r;var i=[];for(var s=0;s!==t.length;++s){switch(t[s][0]){case"PtgArray":t[s][1]=hp(e,0,a);i.push(t[s][1]);break;case"PtgMemArea":t[s][2]=up(e,t[s][1]);i.push(t[s][2]);break;case"PtgExp":if(a&&a.biff==12){t[s][1][1]=e.read_shift(4);i.push(t[s][1])}break;default:break;}}r=n-e.l;if(r!==0)i.push(kr(e,r));return i}function $p(e,r,t,a){var n=e.l+r;var i=qp(e,a,t);var s;if(n!==e.l)s=Yp(e,n-e.l,i,t);return[i,s]}function Zp(e,r,t){var a=e.l+r,n=t.biff==2?1:2;var i,s=e.read_shift(n);if(s==65535)return[[],kr(e,r-2)];var f=qp(e,s,t);if(r!==s+n)i=Yp(e,r-s-n,f,t);return[f,i]}function Qp(e,r,t){var a=e.l+r;var n,i=e.read_shift(2);var s=qp(e,i,t);if(i==65535)return[[],kr(e,r-2)];if(r!==i+2)n=Yp(e,a-i-2,s,t);return[s,n]}function Jp(e,r,t,a){var n=e.l+r,i=t.biff==2?1:2;var s,f=e.read_shift(i);if(f==65535)return[[],kr(e,r-2)];var o=qp(e,f,t);if(r!==f+i)s=Yp(e,r-f-i,o,t);return[o,s]}function qp(e,r,t){var a=e.l+r;var n,i,s=[];while(a!=e.l){r=a-e.l;i=e[e.l];n=Vp[i];if(i===24||i===25){i=e[e.l+1];n=(i===24?Xp:Gp)[i]}if(!n||!n.f){kr(e,r)}else{s.push([n.n,n.f(e,r,t)])}}return s}function eb(e){var r=[];for(var t=0;t=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function tb(e){if(!e)return"";if(e.indexOf(" ")>-1)return"'"+e+"'";return e}function ab(e,r,t){return e.SheetNames[r]}function nb(e,r,t){return tb(ab(e,r,t))}function ib(e,r,t,a,n){var i={s:{c:0,r:0},e:{c:0,r:0}};var s=[],f,o,l,c,u=0,h=0,d,v="";if(!e[0]||!e[0][0])return"";var p=-1,b="";for(var m=0,g=e[0].length;m=0){switch(e[0][p][1][0]){case 0:b=X(" ",e[0][p][1][1]);break;case 1:b=X("\r",e[0][p][1][1]);break;default:b="";if(n.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][p][1][0]);}o=o+b;p=-1}s.push(o+rb[E[0]]+f);break;case"PtgIsect":f=s.pop();o=s.pop();s.push(o+" "+f);break;case"PtgUnion":f=s.pop();o=s.pop();s.push(o+","+f);break;case"PtgRange":f=s.pop();o=s.pop();s.push(o+":"+f);break;case"PtgAttrChoose":break;case"PtgAttrGoto":break;case"PtgAttrIf":break;case"PtgAttrIfError":break;case"PtgRef":l=E[1][0];c=xr(E[1][1],i,n);s.push(Ar(c));break;case"PtgRefN":l=E[1][0];c=t?xr(E[1][1],t,n):E[1][1];s.push(Ar(c));break;case"PtgRef3d":l=E[1][0];u=E[1][1];c=xr(E[1][2],i,n);v=nb(a,u,n);var k=v;s.push(v+"!"+Ar(c));break;case"PtgFunc":;case"PtgFuncVar":var S=E[1][0],w=E[1][1];if(!S)S=0;var B=S==0?[]:s.slice(-S);s.length-=S;if(w==="User")w=B.shift();s.push(w+"("+B.join(",")+")");break;case"PtgBool":s.push(E[1]?"TRUE":"FALSE");break;case"PtgInt":s.push(E[1]);break;case"PtgNum":s.push(String(E[1]));break;case"PtgStr":s.push('"'+E[1]+'"');break;case"PtgErr":s.push(E[1]);break;case"PtgAreaN":l=E[1][0];d=Ir(E[1][1],i,n);s.push(yr(d,n));break;case"PtgArea":l=E[1][0];d=Ir(E[1][1],i,n);s.push(yr(d,n));break;case"PtgArea3d":l=E[1][0];u=E[1][1];d=E[1][2];v=a&&a[1]?a[1][u+1]:"**MISSING**";s.push(v+"!"+Kr(d));break;case"PtgAttrSum":s.push("SUM("+s.pop()+")");break;case"PtgAttrSemi":break;case"PtgName":h=E[1][2];var C=(a.names||[])[h-1]||(a[0]||[])[h];var _=C?C.Name:"SH33TJSERR7"+String(h);if(_ in pb)_=pb[_];s.push(_);break;case"PtgNameX":var T=E[1][1];h=E[1][2];var x;if(n.biff<=5){if(T<0)T=-T;if(a[T])x=a[T][h]}else{var I=a.SheetNames[T];var A="";if(((a[T]||[])[0]||[])[0]==14849){}else if(((a[T]||[])[0]||[])[0]==1025){if(a[T][h]&&a[T][h].itab>0){A=a.SheetNames[a[T][h].itab-1]+"!"}}else A=a.SheetNames[h-1]+"!";if(a[T]&&a[T][h])A+=a[T][h].Name;else if(a[0]&&a[0][h])A+=a[0][h].Name;else A+="SH33TJSERRX";s.push(A);break}if(!x)x={Name:"SH33TJSERRY"};s.push(x.Name);break;case"PtgParen":var y="(",R=")";if(p>=0){b="";switch(e[0][p][1][0]){case 2:y=X(" ",e[0][p][1][1])+y;break;case 3:y=X("\r",e[0][p][1][1])+y;break;case 4:R=X(" ",e[0][p][1][1])+R;break;case 5:R=X("\r",e[0][p][1][1])+R;break;default:if(n.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][p][1][0]);}p=-1}s.push(y+s.pop()+R);break;case"PtgRefErr":s.push("#REF!");break;case"PtgRefErr3d":s.push("#REF!");break;case"PtgExp":c={c:E[1][1],r:E[1][0]};var D={c:t.c,r:t.r};if(a.sharedf[zr(c)]){var O=a.sharedf[zr(c)];s.push(ib(O,i,D,a,n))}else{var F=false;for(f=0;f!=a.arrayf.length;++f){o=a.arrayf[f];if(c.co[0].e.c)continue;if(c.ro[0].e.r)continue;s.push(ib(o[1],i,D,a,n));F=true;break}if(!F)s.push(E[1])}break;case"PtgArray":s.push("{"+eb(E[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":;case"PtgAttrSpaceSemi":p=m;break;case"PtgTbl":break;case"PtgMemErr":break;case"PtgMissArg":s.push("");break;case"PtgAreaErr":s.push("#REF!");break;case"PtgAreaErr3d":s.push("#REF!");break;case"PtgMemFunc":break;default:throw new Error("Unrecognized Formula Token: "+String(E));}var P=["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"];if(p>=0&&P.indexOf(e[0][m][0])==-1){E=e[0][p];var N=true;switch(E[1][0]){case 4:N=false;case 0:b=X(" ",E[1][1]);break;case 5:N=false;case 1:b=X("\r",E[1][1]);break;default:b="";if(n.WTF)throw new Error("Unexpected PtgAttrSpaceType "+E[1][0]);}s.push((N?b:"")+s.pop()+(N?"":b));p=-1}}if(s.length>1&&n.WTF)throw new Error("bad formula stack"); +return s[0]}function sb(e,r,t){var a=e.l+r;var n=e.read_shift(4);var i=qp(e,n,t);var s=e.read_shift(4);var f=s>0?Yp(e,s,i,t):null;return[i,f]}var fb=sb;var ob=sb;var lb=sb;var cb=sb;var ub={1:"REFERENCE",2:"VALUE",3:"ARRAY"};var hb={0:"BEEP",1:"OPEN",2:"OPEN.LINKS",3:"CLOSE.ALL",4:"SAVE",5:"SAVE.AS",6:"FILE.DELETE",7:"PAGE.SETUP",8:"PRINT",9:"PRINTER.SETUP",10:"QUIT",11:"NEW.WINDOW",12:"ARRANGE.ALL",13:"WINDOW.SIZE",14:"WINDOW.MOVE",15:"FULL",16:"CLOSE",17:"RUN",22:"SET.PRINT.AREA",23:"SET.PRINT.TITLES",24:"SET.PAGE.BREAK",25:"REMOVE.PAGE.BREAK",26:"FONT",27:"DISPLAY",28:"PROTECT.DOCUMENT",29:"PRECISION",30:"A1.R1C1",31:"CALCULATE.NOW",32:"CALCULATION",34:"DATA.FIND",35:"EXTRACT",36:"DATA.DELETE",37:"SET.DATABASE",38:"SET.CRITERIA",39:"SORT",40:"DATA.SERIES",41:"TABLE",42:"FORMAT.NUMBER",43:"ALIGNMENT",44:"STYLE",45:"BORDER",46:"CELL.PROTECTION",47:"COLUMN.WIDTH",48:"UNDO",49:"CUT",50:"COPY",51:"PASTE",52:"CLEAR",53:"PASTE.SPECIAL",54:"EDIT.DELETE",55:"INSERT",56:"FILL.RIGHT",57:"FILL.DOWN",61:"DEFINE.NAME",62:"CREATE.NAMES",63:"FORMULA.GOTO",64:"FORMULA.FIND",65:"SELECT.LAST.CELL",66:"SHOW.ACTIVE.CELL",67:"GALLERY.AREA",68:"GALLERY.BAR",69:"GALLERY.COLUMN",70:"GALLERY.LINE",71:"GALLERY.PIE",72:"GALLERY.SCATTER",73:"COMBINATION",74:"PREFERRED",75:"ADD.OVERLAY",76:"GRIDLINES",77:"SET.PREFERRED",78:"AXES",79:"LEGEND",80:"ATTACH.TEXT",81:"ADD.ARROW",82:"SELECT.CHART",83:"SELECT.PLOT.AREA",84:"PATTERNS",85:"MAIN.CHART",86:"OVERLAY",87:"SCALE",88:"FORMAT.LEGEND",89:"FORMAT.TEXT",90:"EDIT.REPEAT",91:"PARSE",92:"JUSTIFY",93:"HIDE",94:"UNHIDE",95:"WORKSPACE",96:"FORMULA",97:"FORMULA.FILL",98:"FORMULA.ARRAY",99:"DATA.FIND.NEXT",100:"DATA.FIND.PREV",101:"FORMULA.FIND.NEXT",102:"FORMULA.FIND.PREV",103:"ACTIVATE",104:"ACTIVATE.NEXT",105:"ACTIVATE.PREV",106:"UNLOCKED.NEXT",107:"UNLOCKED.PREV",108:"COPY.PICTURE",109:"SELECT",110:"DELETE.NAME",111:"DELETE.FORMAT",112:"VLINE",113:"HLINE",114:"VPAGE",115:"HPAGE",116:"VSCROLL",117:"HSCROLL",118:"ALERT",119:"NEW",120:"CANCEL.COPY",121:"SHOW.CLIPBOARD",122:"MESSAGE",124:"PASTE.LINK",125:"APP.ACTIVATE",126:"DELETE.ARROW",127:"ROW.HEIGHT",128:"FORMAT.MOVE",129:"FORMAT.SIZE",130:"FORMULA.REPLACE",131:"SEND.KEYS",132:"SELECT.SPECIAL",133:"APPLY.NAMES",134:"REPLACE.FONT",135:"FREEZE.PANES",136:"SHOW.INFO",137:"SPLIT",138:"ON.WINDOW",139:"ON.DATA",140:"DISABLE.INPUT",142:"OUTLINE",143:"LIST.NAMES",144:"FILE.CLOSE",145:"SAVE.WORKBOOK",146:"DATA.FORM",147:"COPY.CHART",148:"ON.TIME",149:"WAIT",150:"FORMAT.FONT",151:"FILL.UP",152:"FILL.LEFT",153:"DELETE.OVERLAY",155:"SHORT.MENUS",159:"SET.UPDATE.STATUS",161:"COLOR.PALETTE",162:"DELETE.STYLE",163:"WINDOW.RESTORE",164:"WINDOW.MAXIMIZE",166:"CHANGE.LINK",167:"CALCULATE.DOCUMENT",168:"ON.KEY",169:"APP.RESTORE",170:"APP.MOVE",171:"APP.SIZE",172:"APP.MINIMIZE",173:"APP.MAXIMIZE",174:"BRING.TO.FRONT",175:"SEND.TO.BACK",185:"MAIN.CHART.TYPE",186:"OVERLAY.CHART.TYPE",187:"SELECT.END",188:"OPEN.MAIL",189:"SEND.MAIL",190:"STANDARD.FONT",191:"CONSOLIDATE",192:"SORT.SPECIAL",193:"GALLERY.3D.AREA",194:"GALLERY.3D.COLUMN",195:"GALLERY.3D.LINE",196:"GALLERY.3D.PIE",197:"VIEW.3D",198:"GOAL.SEEK",199:"WORKGROUP",200:"FILL.GROUP",201:"UPDATE.LINK",202:"PROMOTE",203:"DEMOTE",204:"SHOW.DETAIL",206:"UNGROUP",207:"OBJECT.PROPERTIES",208:"SAVE.NEW.OBJECT",209:"SHARE",210:"SHARE.NAME",211:"DUPLICATE",212:"APPLY.STYLE",213:"ASSIGN.TO.OBJECT",214:"OBJECT.PROTECTION",215:"HIDE.OBJECT",216:"SET.EXTRACT",217:"CREATE.PUBLISHER",218:"SUBSCRIBE.TO",219:"ATTRIBUTES",220:"SHOW.TOOLBAR",222:"PRINT.PREVIEW",223:"EDIT.COLOR",224:"SHOW.LEVELS",225:"FORMAT.MAIN",226:"FORMAT.OVERLAY",227:"ON.RECALC",228:"EDIT.SERIES",229:"DEFINE.STYLE",240:"LINE.PRINT",243:"ENTER.DATA",249:"GALLERY.RADAR",250:"MERGE.STYLES",251:"EDITION.OPTIONS",252:"PASTE.PICTURE",253:"PASTE.PICTURE.LINK",254:"SPELLING",256:"ZOOM",259:"INSERT.OBJECT",260:"WINDOW.MINIMIZE",265:"SOUND.NOTE",266:"SOUND.PLAY",267:"FORMAT.SHAPE",268:"EXTEND.POLYGON",269:"FORMAT.AUTO",272:"GALLERY.3D.BAR",273:"GALLERY.3D.SURFACE",274:"FILL.AUTO",276:"CUSTOMIZE.TOOLBAR",277:"ADD.TOOL",278:"EDIT.OBJECT",279:"ON.DOUBLECLICK",280:"ON.ENTRY",281:"WORKBOOK.ADD",282:"WORKBOOK.MOVE",283:"WORKBOOK.COPY",284:"WORKBOOK.OPTIONS",285:"SAVE.WORKSPACE",288:"CHART.WIZARD",289:"DELETE.TOOL",290:"MOVE.TOOL",291:"WORKBOOK.SELECT",292:"WORKBOOK.ACTIVATE",293:"ASSIGN.TO.TOOL",295:"COPY.TOOL",296:"RESET.TOOL",297:"CONSTRAIN.NUMERIC",298:"PASTE.TOOL",302:"WORKBOOK.NEW",305:"SCENARIO.CELLS",306:"SCENARIO.DELETE",307:"SCENARIO.ADD",308:"SCENARIO.EDIT",309:"SCENARIO.SHOW",310:"SCENARIO.SHOW.NEXT",311:"SCENARIO.SUMMARY",312:"PIVOT.TABLE.WIZARD",313:"PIVOT.FIELD.PROPERTIES",314:"PIVOT.FIELD",315:"PIVOT.ITEM",316:"PIVOT.ADD.FIELDS",318:"OPTIONS.CALCULATION",319:"OPTIONS.EDIT",320:"OPTIONS.VIEW",321:"ADDIN.MANAGER",322:"MENU.EDITOR",323:"ATTACH.TOOLBARS",324:"VBAActivate",325:"OPTIONS.CHART",328:"VBA.INSERT.FILE",330:"VBA.PROCEDURE.DEFINITION",336:"ROUTING.SLIP",338:"ROUTE.DOCUMENT",339:"MAIL.LOGON",342:"INSERT.PICTURE",343:"EDIT.TOOL",344:"GALLERY.DOUGHNUT",350:"CHART.TREND",352:"PIVOT.ITEM.PROPERTIES",354:"WORKBOOK.INSERT",355:"OPTIONS.TRANSITION",356:"OPTIONS.GENERAL",370:"FILTER.ADVANCED",373:"MAIL.ADD.MAILER",374:"MAIL.DELETE.MAILER",375:"MAIL.REPLY",376:"MAIL.REPLY.ALL",377:"MAIL.FORWARD",378:"MAIL.NEXT.LETTER",379:"DATA.LABEL",380:"INSERT.TITLE",381:"FONT.PROPERTIES",382:"MACRO.OPTIONS",383:"WORKBOOK.HIDE",384:"WORKBOOK.UNHIDE",385:"WORKBOOK.DELETE",386:"WORKBOOK.NAME",388:"GALLERY.CUSTOM",390:"ADD.CHART.AUTOFORMAT",391:"DELETE.CHART.AUTOFORMAT",392:"CHART.ADD.DATA",393:"AUTO.OUTLINE",394:"TAB.ORDER",395:"SHOW.DIALOG",396:"SELECT.ALL",397:"UNGROUP.SHEETS",398:"SUBTOTAL.CREATE",399:"SUBTOTAL.REMOVE",400:"RENAME.OBJECT",412:"WORKBOOK.SCROLL",413:"WORKBOOK.NEXT",414:"WORKBOOK.PREV",415:"WORKBOOK.TAB.SPLIT",416:"FULL.SCREEN",417:"WORKBOOK.PROTECT",420:"SCROLLBAR.PROPERTIES",421:"PIVOT.SHOW.PAGES",422:"TEXT.TO.COLUMNS",423:"FORMAT.CHARTTYPE",424:"LINK.FORMAT",425:"TRACER.DISPLAY",430:"TRACER.NAVIGATE",431:"TRACER.CLEAR",432:"TRACER.ERROR",433:"PIVOT.FIELD.GROUP",434:"PIVOT.FIELD.UNGROUP",435:"CHECKBOX.PROPERTIES",436:"LABEL.PROPERTIES",437:"LISTBOX.PROPERTIES",438:"EDITBOX.PROPERTIES",439:"PIVOT.REFRESH",440:"LINK.COMBO",441:"OPEN.TEXT",442:"HIDE.DIALOG",443:"SET.DIALOG.FOCUS",444:"ENABLE.OBJECT",445:"PUSHBUTTON.PROPERTIES",446:"SET.DIALOG.DEFAULT",447:"FILTER",448:"FILTER.SHOW.ALL",449:"CLEAR.OUTLINE",450:"FUNCTION.WIZARD",451:"ADD.LIST.ITEM",452:"SET.LIST.ITEM",453:"REMOVE.LIST.ITEM",454:"SELECT.LIST.ITEM",455:"SET.CONTROL.VALUE",456:"SAVE.COPY.AS",458:"OPTIONS.LISTS.ADD",459:"OPTIONS.LISTS.DELETE",460:"SERIES.AXES",461:"SERIES.X",462:"SERIES.Y",463:"ERRORBAR.X",464:"ERRORBAR.Y",465:"FORMAT.CHART",466:"SERIES.ORDER",467:"MAIL.LOGOFF",468:"CLEAR.ROUTING.SLIP",469:"APP.ACTIVATE.MICROSOFT",470:"MAIL.EDIT.MAILER",471:"ON.SHEET",472:"STANDARD.WIDTH",473:"SCENARIO.MERGE",474:"SUMMARY.INFO",475:"FIND.FILE",476:"ACTIVE.CELL.FONT",477:"ENABLE.TIPWIZARD",478:"VBA.MAKE.ADDIN",480:"INSERTDATATABLE",481:"WORKGROUP.OPTIONS",482:"MAIL.SEND.MAILER",485:"AUTOCORRECT",489:"POST.DOCUMENT",491:"PICKLIST",493:"VIEW.SHOW",494:"VIEW.DEFINE",495:"VIEW.DELETE",509:"SHEET.BACKGROUND",510:"INSERT.MAP.OBJECT",511:"OPTIONS.MENONO",517:"MSOCHECKS",518:"NORMAL",519:"LAYOUT",520:"RM.PRINT.AREA",521:"CLEAR.PRINT.AREA",522:"ADD.PRINT.AREA",523:"MOVE.BRK",545:"HIDECURR.NOTE",546:"HIDEALL.NOTES",547:"DELETE.NOTE",548:"TRAVERSE.NOTES",549:"ACTIVATE.NOTES",620:"PROTECT.REVISIONS",621:"UNPROTECT.REVISIONS",647:"OPTIONS.ME",653:"WEB.PUBLISH",667:"NEWWEBQUERY",673:"PIVOT.TABLE.CHART",753:"OPTIONS.SAVE",755:"OPTIONS.SPELL",808:"HIDEALL.INKANNOTS"};var db={0:"COUNT",1:"IF",2:"ISNA",3:"ISERROR",4:"SUM",5:"AVERAGE",6:"MIN",7:"MAX",8:"ROW",9:"COLUMN",10:"NA",11:"NPV",12:"STDEV",13:"DOLLAR",14:"FIXED",15:"SIN",16:"COS",17:"TAN",18:"ATAN",19:"PI",20:"SQRT",21:"EXP",22:"LN",23:"LOG10",24:"ABS",25:"INT",26:"SIGN",27:"ROUND",28:"LOOKUP",29:"INDEX",30:"REPT",31:"MID",32:"LEN",33:"VALUE",34:"TRUE",35:"FALSE",36:"AND",37:"OR",38:"NOT",39:"MOD",40:"DCOUNT",41:"DSUM",42:"DAVERAGE",43:"DMIN",44:"DMAX",45:"DSTDEV",46:"VAR",47:"DVAR",48:"TEXT",49:"LINEST",50:"TREND",51:"LOGEST",52:"GROWTH",53:"GOTO",54:"HALT",55:"RETURN",56:"PV",57:"FV",58:"NPER",59:"PMT",60:"RATE",61:"MIRR",62:"IRR",63:"RAND",64:"MATCH",65:"DATE",66:"TIME",67:"DAY",68:"MONTH",69:"YEAR",70:"WEEKDAY",71:"HOUR",72:"MINUTE",73:"SECOND",74:"NOW",75:"AREAS",76:"ROWS",77:"COLUMNS",78:"OFFSET",79:"ABSREF",80:"RELREF",81:"ARGUMENT",82:"SEARCH",83:"TRANSPOSE",84:"ERROR",85:"STEP",86:"TYPE",87:"ECHO",88:"SET.NAME",89:"CALLER",90:"DEREF",91:"WINDOWS",92:"SERIES",93:"DOCUMENTS",94:"ACTIVE.CELL",95:"SELECTION",96:"RESULT",97:"ATAN2",98:"ASIN",99:"ACOS",100:"CHOOSE",101:"HLOOKUP",102:"VLOOKUP",103:"LINKS",104:"INPUT",105:"ISREF",106:"GET.FORMULA",107:"GET.NAME",108:"SET.VALUE",109:"LOG",110:"EXEC",111:"CHAR",112:"LOWER",113:"UPPER",114:"PROPER",115:"LEFT",116:"RIGHT",117:"EXACT",118:"TRIM",119:"REPLACE",120:"SUBSTITUTE",121:"CODE",122:"NAMES",123:"DIRECTORY",124:"FIND",125:"CELL",126:"ISERR",127:"ISTEXT",128:"ISNUMBER",129:"ISBLANK",130:"T",131:"N",132:"FOPEN",133:"FCLOSE",134:"FSIZE",135:"FREADLN",136:"FREAD",137:"FWRITELN",138:"FWRITE",139:"FPOS",140:"DATEVALUE",141:"TIMEVALUE",142:"SLN",143:"SYD",144:"DDB",145:"GET.DEF",146:"REFTEXT",147:"TEXTREF",148:"INDIRECT",149:"REGISTER",150:"CALL",151:"ADD.BAR",152:"ADD.MENU",153:"ADD.COMMAND",154:"ENABLE.COMMAND",155:"CHECK.COMMAND",156:"RENAME.COMMAND",157:"SHOW.BAR",158:"DELETE.MENU",159:"DELETE.COMMAND",160:"GET.CHART.ITEM",161:"DIALOG.BOX",162:"CLEAN",163:"MDETERM",164:"MINVERSE",165:"MMULT",166:"FILES",167:"IPMT",168:"PPMT",169:"COUNTA",170:"CANCEL.KEY",171:"FOR",172:"WHILE",173:"BREAK",174:"NEXT",175:"INITIATE",176:"REQUEST",177:"POKE",178:"EXECUTE",179:"TERMINATE",180:"RESTART",181:"HELP",182:"GET.BAR",183:"PRODUCT",184:"FACT",185:"GET.CELL",186:"GET.WORKSPACE",187:"GET.WINDOW",188:"GET.DOCUMENT",189:"DPRODUCT",190:"ISNONTEXT",191:"GET.NOTE",192:"NOTE",193:"STDEVP",194:"VARP",195:"DSTDEVP",196:"DVARP",197:"TRUNC",198:"ISLOGICAL",199:"DCOUNTA",200:"DELETE.BAR",201:"UNREGISTER",204:"USDOLLAR",205:"FINDB",206:"SEARCHB",207:"REPLACEB",208:"LEFTB",209:"RIGHTB",210:"MIDB",211:"LENB",212:"ROUNDUP",213:"ROUNDDOWN",214:"ASC",215:"DBCS",216:"RANK",219:"ADDRESS",220:"DAYS360",221:"TODAY",222:"VDB",223:"ELSE",224:"ELSE.IF",225:"END.IF",226:"FOR.CELL",227:"MEDIAN",228:"SUMPRODUCT",229:"SINH",230:"COSH",231:"TANH",232:"ASINH",233:"ACOSH",234:"ATANH",235:"DGET",236:"CREATE.OBJECT",237:"VOLATILE",238:"LAST.ERROR",239:"CUSTOM.UNDO",240:"CUSTOM.REPEAT",241:"FORMULA.CONVERT",242:"GET.LINK.INFO",243:"TEXT.BOX",244:"INFO",245:"GROUP",246:"GET.OBJECT",247:"DB",248:"PAUSE",251:"RESUME",252:"FREQUENCY",253:"ADD.TOOLBAR",254:"DELETE.TOOLBAR",255:"User",256:"RESET.TOOLBAR",257:"EVALUATE",258:"GET.TOOLBAR",259:"GET.TOOL",260:"SPELLING.CHECK",261:"ERROR.TYPE",262:"APP.TITLE",263:"WINDOW.TITLE",264:"SAVE.TOOLBAR",265:"ENABLE.TOOL",266:"PRESS.TOOL",267:"REGISTER.ID",268:"GET.WORKBOOK",269:"AVEDEV",270:"BETADIST",271:"GAMMALN",272:"BETAINV",273:"BINOMDIST",274:"CHIDIST",275:"CHIINV",276:"COMBIN",277:"CONFIDENCE",278:"CRITBINOM",279:"EVEN",280:"EXPONDIST",281:"FDIST",282:"FINV",283:"FISHER",284:"FISHERINV",285:"FLOOR",286:"GAMMADIST",287:"GAMMAINV",288:"CEILING",289:"HYPGEOMDIST",290:"LOGNORMDIST",291:"LOGINV",292:"NEGBINOMDIST",293:"NORMDIST",294:"NORMSDIST",295:"NORMINV",296:"NORMSINV",297:"STANDARDIZE",298:"ODD",299:"PERMUT",300:"POISSON",301:"TDIST",302:"WEIBULL",303:"SUMXMY2",304:"SUMX2MY2",305:"SUMX2PY2",306:"CHITEST",307:"CORREL",308:"COVAR",309:"FORECAST",310:"FTEST",311:"INTERCEPT",312:"PEARSON",313:"RSQ",314:"STEYX",315:"SLOPE",316:"TTEST",317:"PROB",318:"DEVSQ",319:"GEOMEAN",320:"HARMEAN",321:"SUMSQ",322:"KURT",323:"SKEW",324:"ZTEST",325:"LARGE",326:"SMALL",327:"QUARTILE",328:"PERCENTILE",329:"PERCENTRANK",330:"MODE",331:"TRIMMEAN",332:"TINV",334:"MOVIE.COMMAND",335:"GET.MOVIE",336:"CONCATENATE",337:"POWER",338:"PIVOT.ADD.DATA",339:"GET.PIVOT.TABLE",340:"GET.PIVOT.FIELD",341:"GET.PIVOT.ITEM",342:"RADIANS",343:"DEGREES",344:"SUBTOTAL",345:"SUMIF",346:"COUNTIF",347:"COUNTBLANK",348:"SCENARIO.GET",349:"OPTIONS.LISTS.GET",350:"ISPMT",351:"DATEDIF",352:"DATESTRING",353:"NUMBERSTRING",354:"ROMAN",355:"OPEN.DIALOG",356:"SAVE.DIALOG",357:"VIEW.GET",358:"GETPIVOTDATA",359:"HYPERLINK",360:"PHONETIC",361:"AVERAGEA",362:"MAXA",363:"MINA",364:"STDEVPA",365:"VARPA",366:"STDEVA",367:"VARA",368:"BAHTTEXT",369:"THAIDAYOFWEEK",370:"THAIDIGIT",371:"THAIMONTHOFYEAR",372:"THAINUMSOUND",373:"THAINUMSTRING",374:"THAISTRINGLENGTH",375:"ISTHAIDIGIT",376:"ROUNDBAHTDOWN",377:"ROUNDBAHTUP",378:"THAIYEAR",379:"RTD",380:"CUBEVALUE",381:"CUBEMEMBER",382:"CUBEMEMBERPROPERTY",383:"CUBERANKEDMEMBER",384:"HEX2BIN",385:"HEX2DEC",386:"HEX2OCT",387:"DEC2BIN",388:"DEC2HEX",389:"DEC2OCT",390:"OCT2BIN",391:"OCT2HEX",392:"OCT2DEC",393:"BIN2DEC",394:"BIN2OCT",395:"BIN2HEX",396:"IMSUB",397:"IMDIV",398:"IMPOWER",399:"IMABS",400:"IMSQRT",401:"IMLN",402:"IMLOG2",403:"IMLOG10",404:"IMSIN",405:"IMCOS",406:"IMEXP",407:"IMARGUMENT",408:"IMCONJUGATE",409:"IMAGINARY",410:"IMREAL",411:"COMPLEX",412:"IMSUM",413:"IMPRODUCT",414:"SERIESSUM",415:"FACTDOUBLE",416:"SQRTPI",417:"QUOTIENT",418:"DELTA",419:"GESTEP",420:"ISEVEN",421:"ISODD",422:"MROUND",423:"ERF",424:"ERFC",425:"BESSELJ",426:"BESSELK",427:"BESSELY",428:"BESSELI",429:"XIRR",430:"XNPV",431:"PRICEMAT",432:"YIELDMAT",433:"INTRATE",434:"RECEIVED",435:"DISC",436:"PRICEDISC",437:"YIELDDISC",438:"TBILLEQ",439:"TBILLPRICE",440:"TBILLYIELD",441:"PRICE",442:"YIELD",443:"DOLLARDE",444:"DOLLARFR",445:"NOMINAL",446:"EFFECT",447:"CUMPRINC",448:"CUMIPMT",449:"EDATE",450:"EOMONTH",451:"YEARFRAC",452:"COUPDAYBS",453:"COUPDAYS",454:"COUPDAYSNC",455:"COUPNCD",456:"COUPNUM",457:"COUPPCD",458:"DURATION",459:"MDURATION",460:"ODDLPRICE",461:"ODDLYIELD",462:"ODDFPRICE",463:"ODDFYIELD",464:"RANDBETWEEN",465:"WEEKNUM",466:"AMORDEGRC",467:"AMORLINC",468:"CONVERT",724:"SHEETJS",469:"ACCRINT",470:"ACCRINTM",471:"WORKDAY",472:"NETWORKDAYS",473:"GCD",474:"MULTINOMIAL",475:"LCM",476:"FVSCHEDULE",477:"CUBEKPIMEMBER",478:"CUBESET",479:"CUBESETCOUNT",480:"IFERROR",481:"COUNTIFS",482:"SUMIFS",483:"AVERAGEIF",484:"AVERAGEIFS"};var vb={2:1,3:1,15:1,16:1,17:1,18:1,19:0,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,90:1,97:2,98:1,99:1,101:3,102:3,105:1,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,144:4,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,189:3,190:1,195:3,196:3,197:1,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,247:4,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,382:3,385:1,392:1,393:1,396:2,397:2,398:2,399:1,400:1,401:1,402:1,403:1,404:1,405:1,406:1,407:1,408:1,409:1,410:1,414:4,415:1,416:1,417:2,420:1,421:1,422:2,424:1,425:2,426:2,427:2,428:2,430:3,438:3,439:3,440:3,443:2,444:2,445:2,446:2,447:6,448:6,449:2,450:2,464:2,468:3,476:2,479:1,480:2,65535:0};var pb={"_xlfn.ACOT":"ACOT","_xlfn.ACOTH":"ACOTH","_xlfn.AGGREGATE":"AGGREGATE","_xlfn.ARABIC":"ARABIC","_xlfn.AVERAGEIF":"AVERAGEIF","_xlfn.AVERAGEIFS":"AVERAGEIFS","_xlfn.BASE":"BASE","_xlfn.BETA.DIST":"BETA.DIST","_xlfn.BETA.INV":"BETA.INV","_xlfn.BINOM.DIST":"BINOM.DIST","_xlfn.BINOM.DIST.RANGE":"BINOM.DIST.RANGE","_xlfn.BINOM.INV":"BINOM.INV","_xlfn.BITAND":"BITAND","_xlfn.BITLSHIFT":"BITLSHIFT","_xlfn.BITOR":"BITOR","_xlfn.BITRSHIFT":"BITRSHIFT","_xlfn.BITXOR":"BITXOR","_xlfn.CEILING.MATH":"CEILING.MATH","_xlfn.CEILING.PRECISE":"CEILING.PRECISE","_xlfn.CHISQ.DIST":"CHISQ.DIST","_xlfn.CHISQ.DIST.RT":"CHISQ.DIST.RT","_xlfn.CHISQ.INV":"CHISQ.INV","_xlfn.CHISQ.INV.RT":"CHISQ.INV.RT","_xlfn.CHISQ.TEST":"CHISQ.TEST","_xlfn.COMBINA":"COMBINA","_xlfn.CONFIDENCE.NORM":"CONFIDENCE.NORM","_xlfn.CONFIDENCE.T":"CONFIDENCE.T","_xlfn.COT":"COT","_xlfn.COTH":"COTH","_xlfn.COUNTIFS":"COUNTIFS","_xlfn.COVARIANCE.P":"COVARIANCE.P","_xlfn.COVARIANCE.S":"COVARIANCE.S","_xlfn.CSC":"CSC","_xlfn.CSCH":"CSCH","_xlfn.DAYS":"DAYS","_xlfn.DECIMAL":"DECIMAL","_xlfn.ECMA.CEILING":"ECMA.CEILING","_xlfn.ERF.PRECISE":"ERF.PRECISE","_xlfn.ERFC.PRECISE":"ERFC.PRECISE","_xlfn.EXPON.DIST":"EXPON.DIST","_xlfn.F.DIST":"F.DIST","_xlfn.F.DIST.RT":"F.DIST.RT","_xlfn.F.INV":"F.INV","_xlfn.F.INV.RT":"F.INV.RT","_xlfn.F.TEST":"F.TEST","_xlfn.FILTERXML":"FILTERXML","_xlfn.FLOOR.MATH":"FLOOR.MATH","_xlfn.FLOOR.PRECISE":"FLOOR.PRECISE","_xlfn.FORMULATEXT":"FORMULATEXT","_xlfn.GAMMA":"GAMMA","_xlfn.GAMMA.DIST":"GAMMA.DIST","_xlfn.GAMMA.INV":"GAMMA.INV","_xlfn.GAMMALN.PRECISE":"GAMMALN.PRECISE","_xlfn.GAUSS":"GAUSS","_xlfn.HYPGEOM.DIST":"HYPGEOM.DIST","_xlfn.IFNA":"IFNA","_xlfn.IFERROR":"IFERROR","_xlfn.IMCOSH":"IMCOSH","_xlfn.IMCOT":"IMCOT","_xlfn.IMCSC":"IMCSC","_xlfn.IMCSCH":"IMCSCH","_xlfn.IMSEC":"IMSEC","_xlfn.IMSECH":"IMSECH","_xlfn.IMSINH":"IMSINH","_xlfn.IMTAN":"IMTAN","_xlfn.ISFORMULA":"ISFORMULA","_xlfn.ISO.CEILING":"ISO.CEILING","_xlfn.ISOWEEKNUM":"ISOWEEKNUM","_xlfn.LOGNORM.DIST":"LOGNORM.DIST","_xlfn.LOGNORM.INV":"LOGNORM.INV","_xlfn.MODE.MULT":"MODE.MULT","_xlfn.MODE.SNGL":"MODE.SNGL","_xlfn.MUNIT":"MUNIT","_xlfn.NEGBINOM.DIST":"NEGBINOM.DIST","_xlfn.NETWORKDAYS.INTL":"NETWORKDAYS.INTL","_xlfn.NIGBINOM":"NIGBINOM","_xlfn.NORM.DIST":"NORM.DIST","_xlfn.NORM.INV":"NORM.INV","_xlfn.NORM.S.DIST":"NORM.S.DIST","_xlfn.NORM.S.INV":"NORM.S.INV","_xlfn.NUMBERVALUE":"NUMBERVALUE","_xlfn.PDURATION":"PDURATION","_xlfn.PERCENTILE.EXC":"PERCENTILE.EXC","_xlfn.PERCENTILE.INC":"PERCENTILE.INC","_xlfn.PERCENTRANK.EXC":"PERCENTRANK.EXC","_xlfn.PERCENTRANK.INC":"PERCENTRANK.INC","_xlfn.PERMUTATIONA":"PERMUTATIONA","_xlfn.PHI":"PHI","_xlfn.POISSON.DIST":"POISSON.DIST","_xlfn.QUARTILE.EXC":"QUARTILE.EXC","_xlfn.QUARTILE.INC":"QUARTILE.INC","_xlfn.QUERYSTRING":"QUERYSTRING","_xlfn.RANK.AVG":"RANK.AVG","_xlfn.RANK.EQ":"RANK.EQ","_xlfn.RRI":"RRI","_xlfn.SEC":"SEC","_xlfn.SECH":"SECH","_xlfn.SHEET":"SHEET","_xlfn.SHEETS":"SHEETS","_xlfn.SKEW.P":"SKEW.P","_xlfn.STDEV.P":"STDEV.P","_xlfn.STDEV.S":"STDEV.S","_xlfn.SUMIFS":"SUMIFS","_xlfn.T.DIST":"T.DIST","_xlfn.T.DIST.2T":"T.DIST.2T","_xlfn.T.DIST.RT":"T.DIST.RT","_xlfn.T.INV":"T.INV","_xlfn.T.INV.2T":"T.INV.2T","_xlfn.T.TEST":"T.TEST","_xlfn.UNICHAR":"UNICHAR","_xlfn.UNICODE":"UNICODE","_xlfn.VAR.P":"VAR.P","_xlfn.VAR.S":"VAR.S","_xlfn.WEBSERVICE":"WEBSERVICE","_xlfn.WEIBULL.DIST":"WEIBULL.DIST","_xlfn.WORKDAY.INTL":"WORKDAY.INTL","_xlfn.XOR":"XOR","_xlfn.Z.TEST":"Z.TEST"};function bb(e){if(e.substr(0,3)=="of:")e=e.substr(3);if(e.charCodeAt(0)==61){e=e.substr(1);if(e.charCodeAt(0)==61)e=e.substr(1)}e=e.replace(/COM\.MICROSOFT\./g,"");e=e.replace(/\[((?:\.[A-Z]+[0-9]+)(?::\.[A-Z]+[0-9]+)?)\]/g,function(e,r){return r.replace(/\./g,"")});e=e.replace(/\[.(#[A-Z]*[?!])\]/g,"$1");return e.replace(/[;~]/g,",").replace(/\|/g,";")}function mb(e){var r="of:="+e.replace(Sv,"$1[.$2$3$4$5]").replace(/\]:\[/g,":");return r.replace(/;/g,"|").replace(/,/g,";")}function gb(e){var r=e.split(":");var t=r[0].split(".")[0];return[t,r[0].split(".")[1]+":"+r[1].split(".")[1]]}var Eb={};var kb={};sa.WS=["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"];function Sb(e,r){for(var t=0,a=e.length;t-1){t.width=Nh(a);t.customWidth=1}else if(r.width!=null)t.width=r.width;if(r.hidden)t.hidden=true;return t}function Bb(e,r){if(!e)return;var t=[.7,.7,.75,.75,.3,.3];if(r=="xlml")t=[1,1,1,1,.5,.5];if(e.left==null)e.left=t[0];if(e.right==null)e.right=t[1];if(e.top==null)e.top=t[2];if(e.bottom==null)e.bottom=t[3];if(e.header==null)e.header=t[4];if(e.footer==null)e.footer=t[5]}function Cb(e,r,t){var a=t.revssf[r.z!=null?r.z:"General"];var n=60,i=e.length;if(a==null&&t.ssf){for(;n<392;++n)if(t.ssf[n]==null){E.load(r.z,n);t.ssf[n]=r.z;t.revssf[r.z]=a=n;break}}for(n=0;n!=i;++n)if(e[n].numFmtId===a)return n;e[i]={numFmtId:a,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1};return i}function _b(e,r,t,a,n,i){if(e.t==="z")return;if(e.t==="d"&&typeof e.v==="string")e.v=H(e.v);try{if(a.cellNF)e.z=E._table[r]}catch(s){if(a.WTF)throw s}if(!a||a.cellText!==false)try{if(e.t==="e")e.w=e.w||Tt[e.v];else if(r===0){if(e.t==="n"){if((e.v|0)===e.v)e.w=E._general_int(e.v);else e.w=E._general_num(e.v)}else if(e.t==="d"){var f=P(e.v);if((f|0)===f)e.w=E._general_int(f);else e.w=E._general_num(f)}else if(e.v===undefined)return"";else e.w=E._general(e.v,kb)}else if(e.t==="d")e.w=E.format(r,P(e.v),kb);else e.w=E.format(r,e.v,kb)}catch(s){if(a.WTF)throw s}if(!a.cellStyles)return;if(t!=null)try{e.s=i.Fills[t];if(e.s.fgColor&&e.s.fgColor.theme&&!e.s.fgColor.rgb){e.s.fgColor.rgb=Ah(n.themeElements.clrScheme[e.s.fgColor.theme].rgb,e.s.fgColor.tint||0);if(a.WTF)e.s.fgColor.raw_rgb=n.themeElements.clrScheme[e.s.fgColor.theme].rgb}if(e.s.bgColor&&e.s.bgColor.theme){e.s.bgColor.rgb=Ah(n.themeElements.clrScheme[e.s.bgColor.theme].rgb,e.s.bgColor.tint||0);if(a.WTF)e.s.bgColor.raw_rgb=n.themeElements.clrScheme[e.s.bgColor.theme].rgb}}catch(s){if(a.WTF&&i.Fills)throw s}}function Tb(e,r){var t=Yr(r);if(t.s.r<=t.e.r&&t.s.c<=t.e.c&&t.s.r>=0&&t.s.c>=0)e["!ref"]=Kr(t)}var xb=/<(?:\w:)?mergeCell ref="[A-Z0-9:]+"\s*[\/]?>/g;var Ib=/<(?:\w+:)?sheetData>([\s\S]*)<\/(?:\w+:)?sheetData>/;var Ab=/<(?:\w:)?hyperlink [^>]*>/gm;var yb=/"(\w*:\w*)"/;var Rb=/<(?:\w:)?col[^>]*[\/]?>/g;var Db=/<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g;var Ob=/<(?:\w:)?pageMargins[^>]*\/>/g;function Fb(e,r,t,a,n,i){if(!e)return e;if(c!=null&&r.dense==null)r.dense=c;var s=r.dense?[]:{};var f={s:{r:2e6,c:2e6},e:{r:0,c:0}};var o="",l="";var u=e.match(Ib);if(u){o=e.substr(0,u.index);l=e.substr(u.index+u[0].length)}else o=l=e;var h=(o.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(h>0){var d=o.substr(h,50).match(yb);if(d)Tb(s,d[1])}var v=[];if(r.cellStyles){var p=o.match(Rb);if(p)Hb(v,p)}if(u)jb(u[1],s,r,f,n,i);var b=l.match(Db);if(b)s["!autofilter"]=Vb(b[0]);var m=[];var g=l.match(xb);if(g)for(h=0;h!=g.length;++h)m[h]=Yr(g[h].substr(g[h].indexOf('"')+1));var E=l.match(Ab);if(E)Lb(s,E,t);var k=l.match(Ob);if(k)s["!margins"]=Mb(fe(k[0]));if(!s["!ref"]&&f.e.c>=f.s.c&&f.e.r>=f.s.r)s["!ref"]=Kr(f);if(r.sheetRows>0&&s["!ref"]){var S=Yr(s["!ref"]);if(r.sheetRows<+S.e.r){S.e.r=r.sheetRows-1;if(S.e.r>f.e.r)S.e.r=f.e.r;if(S.e.rf.e.c)S.e.c=f.e.c;if(S.e.c0)s["!cols"]=v;if(m.length>0)s["!merges"]=m;return s}function Pb(e){if(e.length==0)return"";var r='';for(var t=0;t!=e.length;++t)r+='';return r+""}function Nb(e){var r={sheet:1};var t=["objects","scenarios","selectLockedCells","selectUnlockedCells"];var a=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];t.forEach(function(t){if(e[t]!=null&&e[t])r[t]="1"});a.forEach(function(t){if(e[t]!=null&&!e[t])r[t]="0"});if(e.password)r.password=mh(e.password).toString(16).toUpperCase();return Oe("sheetProtection",null,r)}function Lb(e,r,t){var a=Array.isArray(e);for(var n=0;n!=r.length;++n){var i=fe(Se(r[n]),true);if(!i.ref)return;var s=t?t["!id"][i.id]:null;if(s){i.Target=s.Target;if(i.location)i.Target+="#"+i.location;i.Rel=s}else{i.Target=i.location;s={Target:i.location,TargetMode:"Internal"};i.Rel=s}if(i.tooltip){i.Tooltip=i.tooltip;delete i.tooltip}var f=Yr(i.ref);for(var o=f.s.r;o<=f.e.r;++o)for(var l=f.s.c;l<=f.e.c;++l){var c=zr({c:l,r:o});if(a){if(!e[o])e[o]=[];if(!e[o][l])e[o][l]={t:"z",v:undefined};e[o][l].l=i}else{if(!e[c])e[c]={t:"z",v:undefined};e[c].l=i}}}}function Mb(e){var r={};["left","right","top","bottom","header","footer"].forEach(function(t){if(e[t])r[t]=parseFloat(e[t])});return r}function Ub(e){Bb(e);return Oe("pageMargins",null,e)}function Hb(e,r){var t=false;for(var a=0;a!=r.length;++a){var n=fe(r[a],true);if(n.hidden)n.hidden=ke(n.hidden);var i=parseInt(n.min,10)-1,s=parseInt(n.max,10)-1;delete n.min;delete n.max;n.width=+n.width;if(!t&&n.width){t=true;Hh(n.width)}Vh(n);while(i<=s)e[i++]=z(n)}}function Wb(e,r){var t=[""],a,n;for(var i=0;i!=r.length;++i){if(!(a=r[i]))continue;t[t.length]=Oe("col",null,wb(i,a))}t[t.length]="";return t.join("")}function Vb(e){var r={ref:(e.match(/ref="([^"]*)"/)||[])[1]};return r}function zb(e){return Oe("autoFilter",null,{ref:e.ref})}function Xb(e,r,t,a){return Oe("sheetViews",Oe("sheetView",null,{workbookViewId:"0"}),{})}function Gb(e,r,t,a,n,i){if(e.v===undefined&&e.f===undefined||e.t==="z")return"";var s="";var f=e.t,o=e.v;switch(e.t){case"b":s=e.v?"1":"0";break;case"n":s=""+e.v;break;case"e":s=Tt[e.v];break;case"d":if(a.cellDates)s=H(e.v,-1).toISOString();else{e.t="n";s=""+(e.v=P(H(e.v)))}if(typeof e.z==="undefined")e.z=E._table[14];break;default:s=e.v;break;}var l=Re("v",ve(s)),c={r:r};var u=Cb(a.cellXfs,e,a);if(u!==0)c.s=u;switch(e.t){case"n":break;case"d":c.t="d";break;case"b":c.t="b";break;case"e":c.t="e";break;default:if(e.v==null){delete e.t;break}if(a.bookSST){l=Re("v",""+Sb(a.Strings,e.v));c.t="s";break}c.t="str";break;}if(e.t!=f){e.t=f;e.v=o}if(e.f){var h=e.F&&e.F.substr(0,r.length)==r?{t:"array",ref:e.F}:null;l=Oe("f",ve(e.f),h)+(e.v!=null?l:"")}if(e.l)t["!links"].push([r,e.l]);if(e.c)t["!comments"].push([r,e.c]);return Oe("c",l,c)}var jb=function sS(){var e=/<(?:\w+:)?c[ >]/,r=/<\/(?:\w+:)?row>/;var t=/r=["']([^"']*)["']/,a=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/;var n=/ref=["']([^"']*)["']/;var i=_e("v"),s=_e("f");return function f(o,l,c,u,h,d){var v=0,p="",b=[],m=[],g=0,k=0,S=0,w="",B;var C,_=0,T=0;var x,I;var A=0,y=0;var R=Array.isArray(d.CellXf),D;var O=[];var F=[];var L=Array.isArray(l);var M=[],U={},W=false;for(var V=o.split(r),z=0,X=V.length;z!=X;++z){p=V[z].trim();var G=p.length;if(G===0)continue;for(v=0;v_-1)u.s.r=_-1;if(u.e.r<_-1)u.e.r=_-1;if(c&&c.cellStyles){U={};W=false;if(C.ht){W=true;U.hpt=parseFloat(C.ht);U.hpx=jh(U.hpt)}if(C.hidden=="1"){W=true;U.hidden=true}if(C.outlineLevel!=null){W=true;U.level=+C.outlineLevel}if(W)M[_-1]=U}b=p.substr(v).split(e);for(v=0;v!=b.length;++v){p=b[v].trim();if(p.length===0)continue;m=p.match(t);g=v;k=0;S=0;p="":"")+p;if(m!=null&&m.length===2){g=0;w=m[1];for(k=0;k!=w.length;++k){if((S=w.charCodeAt(k)-64)<1||S>26)break;g=26*g+S}--g;T=g}else++T;for(k=0;k!=p.length;++k)if(p.charCodeAt(k)===62)break;++k;C=fe(p.substr(0,k),true);if(!C.r)C.r=zr({r:_-1,c:T});w=p.substr(k);B={t:""};if((m=w.match(i))!=null&&m[1]!=="")B.v=ue(m[1]);if(c.cellFormula){if((m=w.match(s))!=null&&m[1]!==""){B.f=ue(Se(m[1])).replace(/_xlfn\./,"");if(m[0].indexOf('t="array"')>-1){B.F=(w.match(n)||[])[1];if(B.F.indexOf(":")>-1)O.push([Yr(B.F),B.F])}else if(m[0].indexOf('t="shared"')>-1){I=fe(m[0]);F[parseInt(I.si,10)]=[I,ue(Se(m[1]))]}}else if(m=w.match(/]*\/>/)){I=fe(m[0]);if(F[I.si])B.f=Cv(F[I.si][1],F[I.si][0].ref,C.r)}var j=Vr(C.r);for(k=0;k=O[k][0].s.r&&j.r<=O[k][0].e.r)if(j.c>=O[k][0].s.c&&j.c<=O[k][0].e.c)B.F=O[k][1]}if(C.t==null&&B.v===undefined){if(B.f||B.F){B.v=0;B.t="n"}else if(!c.sheetStubs)continue;else B.t="z"}else B.t=C.t||"n";if(u.s.c>g)u.s.c=g;if(u.e.c0)l["!rows"]=M}}();function Kb(e,r,t,a,n){var i=[],s=[],f=Yr(e["!ref"]),o,l,c="",u=[],h=0,d=0,v=e["!rows"];var p=Array.isArray(e);for(d=f.s.c;d<=f.e.c;++d)u[d]=Mr(d);for(h=f.s.r;h<=f.e.r;++h){s=[];c=Fr(h);for(d=f.s.c;d<=f.e.c;++d){l=u[d]+c;var b=p?(e[h]||[])[d]:e[l];if(b===undefined)continue;if((o=Gb(b,l,e,r,t,a))!=null)s.push(o)}if(s.length>0||v&&v[h]){var m={r:c};if(v&&v[h]){var g=v[h];if(g.hidden)m.hidden=1;var E=-1;if(g.hpx)E=Gh(g.hpx);else if(g.hpt)E=g.hpt;if(E>-1){m.ht=E;m.customHeight=1}if(g.level){m.outlineLevel=g.level}}i[i.length]=Oe("row",s.join(""),m)}}if(v)for(;h-1){m.ht=E;m.customHeight=1}if(g.level){m.outlineLevel=g.level}i[i.length]=Oe("row","",m)}}return i.join("")}var Yb=Oe("worksheet",null,{xmlns:Le.main[0],"xmlns:r":Le.r});function $b(e,r,t,a){var n=[Ne,Yb];var i=t.SheetNames[e],s=0,f="";var o=t.Sheets[i];if(o==null)o={};var l=o["!ref"];if(l==null)l="A1";if(!a)a={};o["!comments"]=[];o["!drawing"]=[];n[n.length]=Oe("sheetPr",null,{codeName:ve(t.SheetNames[e])});n[n.length]=Oe("dimension",null,{ref:l});n[n.length]=Xb(o,r,e,t);if(r.sheetFormat)n[n.length]=Oe("sheetFormatPr",null,{defaultRowHeight:r.sheetFormat.defaultRowHeight||"16",baseColWidth:r.sheetFormat.baseColWidth||"10",outlineLevelRow:r.sheetFormat.outlineLevelRow||"7"});if(o["!cols"]!=null&&o["!cols"].length>0)n[n.length]=Wb(o,o["!cols"]);n[s=n.length]="";o["!links"]=[];if(o["!ref"]!=null){f=Kb(o,r,e,t,a);if(f.length>0)n[n.length]=f}if(n.length>s+1){n[n.length]="";n[s]=n[s].replace("/>",">")}if(o["!protect"]!=null)n[n.length]=Nb(o["!protect"]);if(o["!autofilter"]!=null)n[n.length]=zb(o["!autofilter"]);if(o["!merges"]!=null&&o["!merges"].length>0)n[n.length]=Pb(o["!merges"]);var c=-1,u,h=-1;if(o["!links"].length>0){n[n.length]="";o["!links"].forEach(function(e){if(!e[1].Target)return;h=ua(a,-1,ve(e[1].Target).replace(/#.*$/,""),sa.HLINK);u={ref:e[0],"r:id":"rId"+h};if((c=e[1].Target.indexOf("#"))>-1)u.location=ve(e[1].Target.substr(c+1));if(e[1].Tooltip)u.tooltip=ve(e[1].Tooltip);n[n.length]=Oe("hyperlink",null,u)});n[n.length]=""}delete o["!links"];if(o["!margins"]!=null)n[n.length]=Ub(o["!margins"]);var d=n.length;n[n.length]="";if(o["!drawing"].length>0){h=ua(a,-1,"../drawings/drawing"+(e+1)+".xml",sa.DRAW);n[n.length]=Oe("drawing",null,{"r:id":"rId"+h})}else delete o["!drawing"];if(o["!comments"].length>0){h=ua(a,-1,"../drawings/vmlDrawing"+(e+1)+".vml",sa.VML);n[n.length]=Oe("legacyDrawing",null,{"r:id":"rId"+h});o["!legacy"]=h}if(n.length>2){n[n.length]="";n[1]=n[1].replace("/>",">")}return n.join("")}function Zb(e,r){var t={};var a=e.l+r;t.r=e.read_shift(4);e.l+=4;var n=e.read_shift(2);e.l+=1;var i=e.read_shift(1);e.l=a;if(i&7)t.level=i&7;if(i&16)t.hidden=true;if(i&32)t.hpt=n/20;return t}function Qb(e,r,t){var a=Br(17+8*16);var n=(t["!rows"]||[])[e]||{};a.write_shift(4,e);a.write_shift(4,0);var i=320;if(n.hpx)i=Gh(n.hpx)*20;else if(n.hpt)i=n.hpt*20;a.write_shift(2,i); +a.write_shift(1,0);var s=0;if(n.level)s|=n.level;if(n.hidden)s|=16;if(n.hpx||n.hpt)s|=32;a.write_shift(1,s);a.write_shift(1,0);var f=0,o=a.l;a.l+=4;var l={r:e,c:0};for(var c=0;c<16;++c){if(r.s.c>c+1<<10||r.e.ca.l?a.slice(0,a.l):a}function Jb(e,r,t,a){var n=Qb(a,t,r);if(n.length>17||(r["!rows"]||[])[a])Tr(e,"BrtRowHdr",n)}var qb=wt;var em=Bt;function rm(e,r){}function tm(e,r){var t={};e.l+=19;t.name=ct(e,r-19);return t}function am(e,r){if(r==null)r=Br(84+4*e.length);for(var t=0;t<3;++t)r.write_shift(1,0);At({auto:1},r);r.write_shift(-4,-1);r.write_shift(-4,-1);ut(e,r);return r.slice(0,r.l)}function nm(e,r){var t=ot(e);return[t]}function im(e,r,t){if(t==null)t=Br(8);return lt(r,t)}function sm(e,r){var t=ot(e);var a=e.read_shift(1);return[t,a,"b"]}function fm(e,r,t){if(t==null)t=Br(9);lt(r,t);t.write_shift(1,e.v?1:0);return t}function om(e,r){var t=ot(e);var a=e.read_shift(1);return[t,a,"e"]}function lm(e,r){var t=ot(e);var a=e.read_shift(4);return[t,a,"s"]}function cm(e,r,t){if(t==null)t=Br(12);lt(r,t);t.write_shift(4,r.v);return t}function um(e,r){var t=ot(e);var a=Ct(e);return[t,a,"n"]}function hm(e,r,t){if(t==null)t=Br(16);lt(r,t);_t(e.v,t);return t}function dm(e,r){var t=ot(e);var a=gt(e);return[t,a,"n"]}function vm(e,r,t){if(t==null)t=Br(12);lt(r,t);Et(e.v,t);return t}function pm(e,r){var t=ot(e);var a=et(e);return[t,a,"str"]}function bm(e,r,t){if(t==null)t=Br(12+4*e.v.length);lt(r,t);rt(e.v,t);return t.length>t.l?t.slice(0,t.l):t}function mm(e,r,t){var a=e.l+r;var n=ot(e);n.r=t["!row"];var i=e.read_shift(1);var s=[n,i,"b"];if(t.cellFormula){e.l+=2;var f=ob(e,a-e.l,t);s[3]=ib(f,null,n,t.supbooks,t)}else e.l=a;return s}function gm(e,r,t){var a=e.l+r;var n=ot(e);n.r=t["!row"];var i=e.read_shift(1);var s=[n,i,"e"];if(t.cellFormula){e.l+=2;var f=ob(e,a-e.l,t);s[3]=ib(f,null,n,t.supbooks,t)}else e.l=a;return s}function Em(e,r,t){var a=e.l+r;var n=ot(e);n.r=t["!row"];var i=Ct(e);var s=[n,i,"n"];if(t.cellFormula){e.l+=2;var f=ob(e,a-e.l,t);s[3]=ib(f,null,n,t.supbooks,t)}else e.l=a;return s}function km(e,r,t){var a=e.l+r;var n=ot(e);n.r=t["!row"];var i=et(e);var s=[n,i,"str"];if(t.cellFormula){e.l+=2;var f=ob(e,a-e.l,t);s[3]=ib(f,null,n,t.supbooks,t)}else e.l=a;return s}var Sm=wt;var wm=Bt;function Bm(e,r){if(r==null)r=Br(4);r.write_shift(4,e);return r}function Cm(e,r,t){var a=e.l+r;var n=wt(e,16);var i=ht(e);var s=et(e);var f=et(e);var o=et(e);e.l=a;return{rfx:n,relId:i,loc:s,Tooltip:f,display:o}}function _m(e,r,t){if(t==null)t=Br(50+4*e[1].Target.length);Bt({s:Vr(e[0]),e:Vr(e[0])},t);mt("rId"+r,t);var a=e[1].Target.indexOf("#");var n=a==-1?"":e[1].Target.substr(a+1);rt(n||"",t);rt(e[1].Tooltip||"",t);rt("",t);return t.slice(0,t.l)}function Tm(e,r,t){var a=e.l+r;var n=kt(e,16);var i=e.read_shift(1);var s=[n];s[2]=i;if(t.cellFormula){var f=fb(e,a-e.l,t);s[1]=f}else e.l=a;return s}function xm(e,r,t){var a=e.l+r;var n=wt(e,16);var i=[n];if(t.cellFormula){var s=cb(e,a-e.l,t);i[1]=s;e.l=a}else e.l=a;return i}function Im(e,r,t){if(t==null)t=Br(18);var a=wb(e,r);t.write_shift(-4,e);t.write_shift(-4,e);t.write_shift(4,(a.width||10)*256);t.write_shift(4,0);var n=0;if(r.hidden)n|=1;if(typeof a.width=="number")n|=2;t.write_shift(1,n);t.write_shift(1,0);return t}function Am(e,r,t){return{left:Ct(e,8),right:Ct(e,8),top:Ct(e,8),bottom:Ct(e,8),header:Ct(e,8),footer:Ct(e,8)}}function ym(e,r){if(r==null)r=Br(6*8);Bb(e);_t(e.left,r);_t(e.right,r);_t(e.top,r);_t(e.bottom,r);_t(e.header,r);_t(e.footer,r);return r}function Rm(e,r){if(r==null)r=Br(30);r.write_shift(2,924);r.write_shift(4,0);r.write_shift(4,0);r.write_shift(4,0);r.write_shift(1,0);r.write_shift(1,0);r.write_shift(2,0);r.write_shift(2,100);r.write_shift(2,0);r.write_shift(2,0);r.write_shift(2,0);r.write_shift(4,0);return r}function Dm(e,r){if(r==null)r=Br(16*4+2);r.write_shift(2,e.password?mh(e.password):0);r.write_shift(4,1);[["objects",false],["scenarios",false],["formatCells",true],["formatColumns",true],["formatRows",true],["insertColumns",true],["insertRows",true],["insertHyperlinks",true],["deleteColumns",true],["deleteRows",true],["selectLockedCells",false],["sort",true],["autoFilter",true],["pivotTables",true],["selectUnlockedCells",false]].forEach(function(t){if(t[1])r.write_shift(4,e[t[0]]!=null&&!e[t[0]]?1:0);else r.write_shift(4,e[t[0]]!=null&&e[t[0]]?0:1)});return r}function Om(e,r,t,a,n,i){if(!e)return e;var s=r||{};if(!t)t={"!id":{}};if(c!=null&&s.dense==null)s.dense=c;var f=s.dense?[]:{};var o;var l={s:{r:2e6,c:2e6},e:{r:0,c:0}};var u=false,h=false;var d,v,p,b,m,g,k,S,w;var B=[];s.biff=12;s["!row"]=0;var C=0,_=false;var T=[];var x={};var I=[[]];I.sharedf=x;I.arrayf=T;I.SheetNames=a.SheetNames||a.Sheets.map(function(e){return e.name});s.supbooks=I;for(var A=0;A=c[0].s.r&&d.r<=c[0].e.r)if(m>=c[0].s.c&&m<=c[0].e.c){v.F=Kr(c[0]);_=true}}if(!_&&e.length>3)v.f=e[3]}if(l.s.r>d.r)l.s.r=d.r;if(l.s.c>m)l.s.c=m;if(l.e.rd.r)l.s.r=d.r;if(l.s.c>m)l.s.c=m;if(l.e.r=e.s){y[e.e--]={width:e.w/256,hidden:!!(e.flags&1)};if(!F){F=true;Hh(e.w/256)}Vh(y[e.e+1])}break;case 161:f["!autofilter"]={ref:Kr(e)};break;case 476:f["!margins"]=e;break;case 485:;case 175:;case 644:;case 625:;case 562:;case 396:;case 1112:;case 1146:;case 471:;case 1050:;case 649:;case 1105:;case 49:;case 589:;case 607:;case 564:;case 1055:;case 168:;case 174:;case 1180:;case 499:;case 64:;case 1053:;case 550:;case 171:;case 167:;case 1177:;case 169:;case 1181:;case 551:;case 552:;case 661:;case 639:;case 478:;case 151:;case 537:;case 477:;case 536:;case 1103:;case 680:;case 1104:;case 1024:;case 152:;case 663:;case 535:;case 678:;case 504:;case 1043:;case 428:;case 170:;case 50:;case 2070:;case 1045:;case 147:break;case 35:u=true;break;case 36:u=false;break;case 37:break;case 38:break;default:if((r||"").indexOf("Begin")>0){}else if((r||"").indexOf("End")>0){}else if(!u||s.WTF)throw new Error("Unexpected record "+a+" "+r);}},s);delete s.supbooks;delete s["!row"];if(!f["!ref"]&&(l.s.r<2e6||o&&(o.e.r>0||o.e.c>0||o.s.r>0||o.s.c>0)))f["!ref"]=Kr(o||l);if(s.sheetRows&&f["!ref"]){var P=Yr(f["!ref"]);if(s.sheetRows<+P.e.r){P.e.r=s.sheetRows-1;if(P.e.r>l.e.r)P.e.r=l.e.r;if(P.e.rl.e.c)P.e.c=l.e.c;if(P.e.c0)f["!merges"]=B;if(y.length>0)f["!cols"]=y;if(R.length>0)f["!rows"]=R;return f}function Fm(e,r,t,a,n,i){if(r.v===undefined)return"";var s="";var f=null;switch(r.t){case"b":s=r.v?"1":"0";break;case"d":r.z=r.z||E._table[14];f=r.v;r.v=P(r.v);r.t="n";break;case"n":;case"e":s=""+r.v;break;default:s=r.v;break;}var o={r:t,c:a};o.s=Cb(n.cellXfs,r,n);if(r.l)i["!links"].push([zr(o),r.l]);if(r.c)i["!comments"].push([zr(o),r.c]);switch(r.t){case"s":;case"str":if(n.bookSST){s=Sb(n.Strings,r.v);o.t="s";o.v=s;Tr(e,"BrtCellIsst",cm(r,o))}else{o.t="str";Tr(e,"BrtCellSt",bm(r,o))}return;case"n":if(r.v==(r.v|0)&&r.v>-1e3&&r.v<1e3)Tr(e,"BrtCellRk",vm(r,o));else Tr(e,"BrtCellReal",hm(r,o));if(f){r.t="d";r.v=f}return;case"b":o.t="b";Tr(e,"BrtCellBool",fm(r,o));return;case"e":o.t="e";break;}Tr(e,"BrtCellBlank",im(r,o))}function Pm(e,r,t,a,n){var i=Yr(r["!ref"]||"A1"),s,f="",o=[];Tr(e,"BrtBeginSheetData");var l=Array.isArray(r);var c=i.e.r;if(r["!rows"])c=Math.max(i.e.r,r["!rows"].length-1);for(var u=i.s.r;u<=c;++u){f=Fr(u);Jb(e,r,i,u);if(u<=i.e.r)for(var h=i.s.c;h<=i.e.c;++h){if(u===i.s.r)o[h]=Mr(h);s=o[h]+f;var d=l?(r[u]||[])[h]:r[s];if(!d)continue;Fm(e,d,u,h,a,r)}}Tr(e,"BrtEndSheetData")}function Nm(e,r){if(!r||!r["!merges"])return;Tr(e,"BrtBeginMergeCells",Bm(r["!merges"].length));r["!merges"].forEach(function(r){Tr(e,"BrtMergeCell",wm(r))});Tr(e,"BrtEndMergeCells")}function Lm(e,r,t,a,n){if(!r||!r["!cols"])return;Tr(e,"BrtBeginColInfos");r["!cols"].forEach(function(r,t){if(r)Tr(e,"BrtColInfo",Im(t,r))});Tr(e,"BrtEndColInfos")}function Mm(e,r,t){r["!links"].forEach(function(r){if(!r[1].Target)return;var a=ua(t,-1,r[1].Target.replace(/#.*$/,""),sa.HLINK);Tr(e,"BrtHLink",_m(r,a))});delete r["!links"]}function Um(e,r,t,a){if(r["!comments"].length>0){var n=ua(a,-1,"../drawings/vmlDrawing"+(t+1)+".vml",sa.VML);Tr(e,"BrtLegacyDrawing",mt("rId"+n));r["!legacy"]=n}}function Hm(e,r){if(!r["!autofilter"])return;Tr(e,"BrtBeginAFilter",Bt(jr(r["!autofilter"].ref)));Tr(e,"BrtEndAFilter")}function Wm(e,r){Tr(e,"BrtBeginWsViews");{Tr(e,"BrtBeginWsView",Rm(r));Tr(e,"BrtEndWsView")}Tr(e,"BrtEndWsViews")}function Vm(e,r){}function zm(e,r){if(!r["!protect"])return;Tr(e,"BrtSheetProtection",Dm(r["!protect"]))}function Xm(e,r,t,a){var n=_r();var i=t.SheetNames[e],s=t.Sheets[i]||{};var f=Yr(s["!ref"]||"A1");s["!links"]=[];s["!comments"]=[];Tr(n,"BrtBeginSheet");Tr(n,"BrtWsProp",am(i));Tr(n,"BrtWsDim",em(f));Wm(n,s);Vm(n,s);Lm(n,s,e,r,t);Pm(n,s,e,r,t);zm(n,s);Hm(n,s);Nm(n,s);Mm(n,s,a);if(s["!margins"])Tr(n,"BrtMargins",ym(s["!margins"]));Um(n,s,e,a);Tr(n,"BrtEndSheet");return n.end()}function Gm(e){var r=[];(e.match(/(.*?)<\/c:pt>/gm)||[]).forEach(function(e){var t=e.match(/(.*)<\/c:v><\/c:pt>/);if(!t)return;r[+t[1]]=+t[2]});var t=ue((e.match(/([\s\S]*?)<\/c:formatCode>/)||["","General"])[1]);return[r,t]}function jm(e,r,t,a,n,i){var s=i||{"!type":"chart"};if(!e)return i;var f=0,o=0,l="A";var c={s:{r:2e6,c:2e6},e:{r:0,c:0}};(e.match(/[\s\S]*?<\/c:numCache>/gm)||[]).forEach(function(e){var r=Gm(e);c.s.r=c.s.c=0;c.e.c=f;l=Mr(f);r[0].forEach(function(e,t){s[l+Fr(t)]={t:"n",v:e,z:r[1]};o=t});if(c.e.r0)s["!ref"]=Kr(c);return s}sa.CS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet";var Km=Oe("chartsheet",null,{xmlns:Le.main[0],"xmlns:r":Le.r});function Ym(e,r,t,a,n,i){if(!e)return e;if(!t)t={"!id":{}};var s={"!type":"chart","!chart":null,"!rel":""};var f;if(f=e.match(/drawing r:id="(.*?)"/))s["!rel"]=f[1];if(t["!id"][s["!rel"]])s["!chart"]=t["!id"][s["!rel"]];return s}function $m(e,r,t,a){var n=[Ne,Km];n[n.length]=Oe("drawing",null,{"r:id":"rId1"});ua(a,-1,"../drawings/drawing"+(e+1)+".xml",sa.DRAW);if(n.length>2){n[n.length]="";n[1]=n[1].replace("/>",">")}return n.join("")}function Zm(e,r,t,a,n,i){if(!e)return e;if(!t)t={"!id":{}};var s={"!type":"chart","!chart":null,"!rel":""};var f=[];var o=false;Cr(e,function l(e,t,a){switch(a){case 550:s["!rel"]=e;break;case 562:;case 652:;case 651:;case 669:;case 679:;case 551:;case 552:;case 476:break;case 35:o=true;break;case 36:o=false;break;case 37:f.push(t);break;case 38:f.pop();break;default:if((t||"").indexOf("Begin")>0)f.push(t);else if((t||"").indexOf("End")>0)f.pop();else if(!o||r.WTF)throw new Error("Unexpected record "+a+" "+t);}},r);if(t["!id"][s["!rel"]])s["!chart"]=t["!id"][s["!rel"]];return s}function Qm(e,r,t,a){var n=_r();Tr(n,"BrtBeginSheet");Tr(n,"BrtEndSheet");return n.end()}var Jm=[["allowRefreshQuery",false,"bool"],["autoCompressPictures",true,"bool"],["backupFile",false,"bool"],["checkCompatibility",false,"bool"],["codeName",""],["date1904",false,"bool"],["defaultThemeVersion",0,"int"],["filterPrivacy",false,"bool"],["hidePivotFieldList",false,"bool"],["promptedSolutions",false,"bool"],["publishItems",false,"bool"],["refreshAllConnections",false,"bool"],["saveExternalLinkValues",true,"bool"],["showBorderUnselectedTables",true,"bool"],["showInkAnnotation",true,"bool"],["showObjects","all"],["showPivotChartFilter",false,"bool"],["updateLinks","userSet"]];var qm=[["activeTab",0,"int"],["autoFilterDateGrouping",true,"bool"],["firstSheet",0,"int"],["minimized",false,"bool"],["showHorizontalScroll",true,"bool"],["showSheetTabs",true,"bool"],["showVerticalScroll",true,"bool"],["tabRatio",600,"int"],["visibility","visible"]];var eg=[];var rg=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];var tg=[["autoUpdate","false"],["changesSavedWin","false"],["includeHiddenRowCol","true"],["includePrintSettings","true"],["maximized","false"],["minimized","false"],["onlySync","false"],["personalView","false"],["showComments","commIndicator"],["showFormulaBar","true"],["showHorizontalScroll","true"],["showObjects","all"],["showSheetTabs","true"],["showStatusbar","true"],["showVerticalScroll","true"],["tabRatio","600"],["xWindow","0"],["yWindow","0"]];function ag(e,r){for(var t=0;t!=e.length;++t){var a=e[t];for(var n=0;n!=r.length;++n){var i=r[n];if(a[i[0]]==null)a[i[0]]=i[1];else switch(i[2]){case"bool":if(typeof a[i[0]]=="string")a[i[0]]=ke(a[i[0]],i[0]);break;case"int":if(typeof a[i[0]]=="string")a[i[0]]=parseInt(a[i[0]],10);break;}}}}function ng(e,r){for(var t=0;t!=r.length;++t){var a=r[t];if(e[a[0]]==null)e[a[0]]=a[1];else switch(a[2]){case"bool":if(typeof e[a[0]]=="string")e[a[0]]=ke(e[a[0]],a[0]);break;case"int":if(typeof e[a[0]]=="string")e[a[0]]=parseInt(e[a[0]],10);break;}}}function ig(e){ng(e.WBProps,Jm);ng(e.CalcPr,rg);ag(e.WBView,qm);ag(e.Sheets,eg);kb.date1904=ke(e.WBProps.date1904,"date1904")}function sg(e){if(!e.Workbook)return"false";if(!e.Workbook.WBProps)return"false";return ke(e.Workbook.WBProps.date1904)?"true":"false"}var fg="][*?/\\".split("");function og(e,r){if(e.length>31){if(r)return false;throw new Error("Sheet names cannot exceed 31 chars")}var t=true;fg.forEach(function(a){if(e.indexOf(a)==-1)return;if(!r)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");t=false});return t}function lg(e){e.forEach(function(r,t){og(r);for(var a=0;a":break;case"":;case"":break;case"":break;case"":Jm.forEach(function(e){if(c[e[0]]==null)return;switch(e[2]){case"bool":t.WBProps[e[0]]=ke(c[e[0]],e[0]);break;case"int":t.WBProps[e[0]]=parseInt(c[e[0]],10);break;default:t.WBProps[e[0]]=c[e[0]];}});break;case"":break;case"":break;case"":;case"":break;case"":break;case"":;case"":break;case"":break;case"":break;case"":;case"":break;case"":break;case"":;case"":a=false;break;case"":{i.Ref=e.slice(s,l);t.Names.push(i)}break;case"":break;case"":delete c[0];t.CalcPr=c;break;case"":break;case"":;case"":;case"":break;case"":;case"":;case"":break;case"":;case"":break;case"":break;case"":break;case"":;case"":break;case"":;case"":;case"":break;case"":a=false;break;case"":a=false;break;case"0;var n={codeName:"ThisWorkbook"};if(e.Workbook&&e.Workbook.WBProps){if(e.Workbook.WBProps.codeName)n.codeName=e.Workbook.WBProps.codeName;Jm.forEach(function(r){if(e.Workbook.WBProps[r[0]]==null)return;if(e.Workbook.WBProps[r[0]]==r[1])return;n[r[0]]=e.Workbook.WBProps[r[0]]})}t[t.length]=Oe("workbookPr",null,n);t[t.length]="";var i=e.Workbook&&e.Workbook.Sheets||[];for(var s=0;s!=e.SheetNames.length;++s){var f={name:ve(e.SheetNames[s].substr(0,31))};f.sheetId=""+(s+1);f["r:id"]="rId"+(s+1);if(i[s])switch(i[s].Hidden){case 1:f.state="hidden";break;case 2:f.state="veryHidden";break;}t[t.length]=Oe("sheet",null,f)}t[t.length]="";if(a){t[t.length]="";if(e.Workbook&&e.Workbook.Names)e.Workbook.Names.forEach(function(e){var r={name:e.Name};if(e.Comment)r.comment=e.Comment;if(e.Sheet!=null)r.localSheetId=""+e.Sheet;if(!e.Ref)return;t[t.length]=Oe("definedName",String(e.Ref),r)});t[t.length]=""}if(t.length>2){t[t.length]="";t[1]=t[1].replace("/>",">")}return t.join("")}function pg(e,r){var t={};t.Hidden=e.read_shift(4);t.iTabID=e.read_shift(4);t.strRelID=bt(e,r-8);t.name=et(e);return t}function bg(e,r){if(!r)r=Br(127);r.write_shift(4,e.Hidden);r.write_shift(4,e.iTabID);mt(e.strRelID,r);rt(e.name.substr(0,31),r);return r.length>r.l?r.slice(0,r.l):r}function mg(e,r){var t={};var a=e.read_shift(4);t.defaultThemeVersion=e.read_shift(4);var n=r>8?et(e):"";if(n.length>0)t.codeName=n;t.autoCompressPictures=!!(a&65536);t.backupFile=!!(a&64);t.checkCompatibility=!!(a&4096);t.date1904=!!(a&1);t.filterPrivacy=!!(a&8);t.hidePivotFieldList=!!(a&1024);t.promptedSolutions=!!(a&16);t.publishItems=!!(a&2048);t.refreshAllConnections=!!(a&262144);t.saveExternalLinkValues=!!(a&128);t.showBorderUnselectedTables=!!(a&4);t.showInkAnnotation=!!(a&32);t.showObjects=["all","placeholders","none"][a>>13&3];t.showPivotChartFilter=!!(a&32768);t.updateLinks=["userSet","never","always"][a>>8&3];return t}function gg(e,r){if(!r)r=Br(72);var t=0;if(e){if(e.filterPrivacy)t|=8}r.write_shift(4,t);r.write_shift(4,0);ut("ThisWorkbook",r);return r.slice(0,r.l)}function Eg(e,r){var t={};e.read_shift(4);t.ArchID=e.read_shift(4);e.l+=r-8;return t}function kg(e,r,t){var a=e.l+r;var n=e.read_shift(4);var i=e.read_shift(1);var s=e.read_shift(4);var f=vt(e);var o=lb(e,0,t);var l=ht(e);e.l=a;var c={Name:f,Ptg:o,Comment:l};if(s<268435455)c.Sheet=s;return c}function Sg(e,r){var t={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""};var a=false,n;if(!r)r={};r.biff=12;var i=[];var s=[];s.SheetNames=[];Cr(e,function f(e,n,o){switch(o){case 156:s.SheetNames.push(e.name);t.Sheets.push(e);break;case 153:t.WBProps=e;break;case 39:e.Ref=ib(e.Ptg,null,null,s,r);delete e.Ptg;i.push(e);break;case 1036:break;case 357:;case 358:;case 355:;case 667:;case 362:;case 361:break;case 2071:;case 534:;case 677:;case 158:;case 157:;case 610:;case 2050:;case 155:;case 548:;case 676:;case 128:;case 665:;case 2128:;case 2125:;case 549:;case 2053:;case 596:;case 2076:;case 2075:;case 2082:;case 397:;case 154:;case 1117:;case 553:;case 2091:break;case 35:a=true;break;case 36:a=false;break;case 37:break;case 38:break;case 16:break;default:if((n||"").indexOf("Begin")>0){}else if((n||"").indexOf("End")>0){}else if(!a||r.WTF)throw new Error("Unexpected record "+o+" "+n);}},r);ig(t);t.Names=i;return t}function wg(e,r,t){Tr(e,"BrtBeginBundleShs");for(var a=0;a!=r.SheetNames.length;++a){var n=r.Workbook&&r.Workbook.Sheets&&r.Workbook.Sheets[a]&&r.Workbook.Sheets[a].Hidden||0;var i={Hidden:n,iTabID:a+1,strRelID:"rId"+(a+1),name:r.SheetNames[a]};Tr(e,"BrtBundleSh",bg(i))}Tr(e,"BrtEndBundleShs")}function Bg(e,t){if(!t)t=Br(127);for(var a=0;a!=4;++a)t.write_shift(4,0);rt("SheetJS",t);rt(r.version,t);rt(r.version,t);rt("7262",t);t.length=t.l;return t.length>t.l?t.slice(0,t.l):t}function Cg(e,r){if(!r)r=Br(29);r.write_shift(-4,0);r.write_shift(-4,460);r.write_shift(4,28800);r.write_shift(4,17600);r.write_shift(4,500);r.write_shift(4,e);r.write_shift(4,e);var t=120;r.write_shift(1,t);return r.length>r.l?r.slice(0,r.l):r}function _g(e,r,t){if(!r.Workbook||!r.Workbook.Sheets)return;var a=r.Workbook.Sheets;var n=0,i=-1,s=-1;for(;ni)return;Tr(e,"BrtBeginBookViews");Tr(e,"BrtBookView",Cg(i));Tr(e,"BrtEndBookViews")}function Tg(e,r){if(!r)r=Br(26);r.write_shift(4,0);r.write_shift(4,1);r.write_shift(4,0);_t(0,r);r.write_shift(-4,1023);r.write_shift(1,51);r.write_shift(1,0);return r}function xg(e,r){if(!r)r=Br(1);r.write_shift(1,0);return r}function Ig(e,r){var t=_r();Tr(t,"BrtBeginBook");Tr(t,"BrtFileVersion",Bg());Tr(t,"BrtWbProp",gg(e.Workbook&&e.Workbook.WBProps||null));_g(t,e,r);wg(t,e,r);Tr(t,"BrtEndBook");return t.end()}function Ag(e,r,t){if(r.slice(-4)===".bin")return Sg(e,t);return hg(e,t)}function yg(e,r,t,a,n,i,s){if(r.slice(-4)===".bin")return Om(e,t,a,n,i,s);return Fb(e,t,a,n,i,s)}function Rg(e,r,t,a,n,i,s){if(r.slice(-4)===".bin")return Zm(e,t,a,n,i,s);return Ym(e,t,a,n,i,s)}function Dg(e,r,t,a,n,i,s){if(r.slice(-4)===".bin")return gv(e,t,a,n,i,s);return Ev(e,t,a,n,i,s)}function Og(e,r,t,a,n,i,s){if(r.slice(-4)===".bin")return bv(e,t,a,n,i,s);return mv(e,t,a,n,i,s)}function Fg(e,r,t,a){if(r.slice(-4)===".bin")return Sd(e,t,a);return ad(e,t,a)}function Pg(e,r,t){return Wd(e,t)}function Ng(e,r,t){if(r.slice(-4)===".bin")return Qu(e,t);return Ku(e,t)}function Lg(e,r,t){if(r.slice(-4)===".bin")return vv(e,t);return fv(e,t)}function Mg(e,r,t){if(r.slice(-4)===".bin")return ev(e,t);return Qd(e,t)}function Ug(e,r,t){return(r.slice(-4)===".bin"?Ig:vg)(e,t)}function Hg(e,r,t,a,n){return(r.slice(-4)===".bin"?Xm:$b)(e,t,a,n)}function Wg(e,r,t,a,n){return(r.slice(-4)===".bin"?Qm:$m)(e,t,a,n)}function Vg(e,r,t){return(r.slice(-4)===".bin"?Dd:id)(e,t)}function zg(e,r,t){return(r.slice(-4)===".bin"?eh:$u)(e,t)}function Xg(e,r,t){return(r.slice(-4)===".bin"?pv:lv)(e,t)}var Gg=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g;var jg=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;var Kg=function(e){return String.fromCharCode(e)};function Yg(e,r){var t=e.split(/\s+/);var a=[];if(!r)a[0]=t[0];if(t.length===1)return a;var n=e.match(Gg),i,s,f,o;if(n)for(o=0;o!=n.length;++o){i=n[o].match(jg);if((s=i[1].indexOf(":"))===-1)a[i[1]]=i[2].substr(1,i[2].length-2);else{if(i[1].substr(0,6)==="xmlns:")f="xmlns"+i[1].substr(6);else f=i[1].substr(s+1);a[f]=i[2].substr(1,i[2].length-2)}}return a}function $g(e){var r=e.split(/\s+/);var t={};if(r.length===1)return t;var a=e.match(Gg),n,i,s,f;if(a)for(f=0;f!=a.length;++f){n=a[f].match(jg);if((i=n[1].indexOf(":"))===-1)t[n[1]]=n[2].substr(1,n[2].length-2);else{if(n[1].substr(0,6)==="xmlns:")s="xmlns"+n[1].substr(6);else s=n[1].substr(i+1);t[s]=n[2].substr(1,n[2].length-2)}}return t}function Zg(e,r){var t=S[e]||ue(e);if(t==="General")return E._general(r);return E.format(t,r)}function Qg(e,r,t,a){var n=a;switch((t[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":n=ke(a);break;case"i2":;case"int":n=parseInt(a,10);break;case"r4":;case"float":n=parseFloat(a);break;case"date":;case"dateTime.tz":n=H(a);break;case"i8":;case"string":;case"fixed":;case"uuid":;case"bin.base64":break;default:throw new Error("bad custprop:"+t[0]);}e[ue(r[3])]=n}function Jg(e,r,t){if(e.t==="z")return;if(!t||t.cellText!==false)try{if(e.t==="e"){e.w=e.w||Tt[e.v]}else if(r==="General"){if(e.t==="n"){if((e.v|0)===e.v)e.w=E._general_int(e.v);else e.w=E._general_num(e.v)}else e.w=E._general(e.v)}else e.w=Zg(r||"General",e.v)}catch(a){if(t.WTF)throw a}try{var n=S[r]||r||"General";if(t.cellNF)e.z=n;if(t.cellDates&&e.t=="n"&&E.is_date(n)){var i=E.parse_date_code(e.v);if(i){e.t="d";e.v=new Date(i.y,i.m-1,i.d,i.H,i.M,i.S,i.u)}}}catch(a){if(t.WTF)throw a}}function qg(e,r,t){if(t.cellStyles){if(r.Interior){var a=r.Interior;if(a.Pattern)a.patternType=Kh[a.Pattern]||a.Pattern}}e[r.ID]=r}function eE(e,r,t,a,n,i,s,f,o,l){var c="General",u=a.StyleID,h={};l=l||{};var d=[];var v=0;if(u===undefined&&f)u=f.StyleID;if(u===undefined&&s)u=s.StyleID;while(i[u]!==undefined){if(i[u].nf)c=i[u].nf;if(i[u].Interior)d.push(i[u].Interior);if(!i[u].Parent)break;u=i[u].Parent}switch(t.Type){case"Boolean":a.t="b";a.v=ke(e);break;case"String":a.t="s";a.r=ge(ue(e));a.v=e.indexOf("<")>-1?ue(r):a.r;break;case"DateTime":if(e.slice(-1)!="Z")e+="Z";a.v=(H(e)-new Date(Date.UTC(1899,11,30)))/(24*60*60*1e3);if(a.v!==a.v)a.v=ue(e);else if(a.v<60)a.v=a.v-1;if(!c||c=="General")c="yyyy-mm-dd";case"Number":if(a.v===undefined)a.v=+e;if(!a.t)a.t="n";break;case"Error":a.t="e";a.v=xt[e];if(l.cellText!==false)a.w=e;break;default:a.t="s";a.v=ge(r||e);break;}Jg(a,c,l);if(l.cellFormula!==false){if(a.Formula){var p=ue(a.Formula);if(p.charCodeAt(0)==61)p=p.substr(1);a.f=kv(p,n);delete a.Formula;if(a.ArrayRange=="RC")a.F=kv("RC:RC",n);else if(a.ArrayRange){a.F=kv(a.ArrayRange,n);o.push([Yr(a.F),a.F])}}else{for(v=0;v=o[v][0].s.r&&n.r<=o[v][0].e.r)if(n.c>=o[v][0].s.c&&n.c<=o[v][0].e.c)a.F=o[v][1]}}if(l.cellStyles){d.forEach(function(e){if(!h.patternType&&e.patternType)h.patternType=e.patternType});a.s=h}a.ixfe=a.StyleID!==undefined?a.StyleID:"Default"}function rE(e){e.t=e.v||"";e.t=e.t.replace(/\r\n/g,"\n").replace(/\r/g,"\n");e.v=e.w=e.ixfe=undefined}function tE(e){if(d&&Buffer.isBuffer(e))return e.toString("utf8");if(typeof e==="string")return e;throw new Error("Bad input format: expected Buffer or string")}var aE=/<(\/?)([^\s?>!\/:]*:|)([^\s?>]*[^\s?>\/])[^>]*>/gm;function nE(e,r){var t=r||{};k(E);var a=o(tE(e));if(t&&t.type=="binary"&&typeof cptable!=="undefined")a=cptable.utils.decode(65001,i(a));var n=a.slice(0,1024).toLowerCase(),s=false;if(n.indexOf("=0)s=true});if(s)return LE.to_workbook(a,t);var f;var l=[],u;if(c!=null&&t.dense==null)t.dense=c;var h={},d=[],v=t.dense?[]:{},p="";var b={},m={},g={};var w=Yg(''),B=0;var C=0,_=0;var T={s:{r:2e6,c:2e6},e:{r:0,c:0}};var x={},I={};var A="",y=0;var R=[];var D={},O={},F=0,P={};var N=[],L={};var M=[],U,H=false;var W=[];var V=[],X={};var G={Sheets:[],WBProps:{date1904:false}},j={};aE.lastIndex=0;a=a.replace(//gm,"");while(f=aE.exec(a))switch(f[3]){case"Data":if(l[l.length-1][1])break;if(f[1]==="/")eE(a.slice(B,f.index),A,w,l[l.length-1][0]=="Comment"?L:m,{c:C,r:_},x,M[C],g,W,t);else{A="";w=Yg(f[0]);B=f.index+f[0].length}break;case"Cell":if(f[1]==="/"){if(N.length>0)m.c=N;if((!t.sheetRows||t.sheetRows>_)&&m.v!==undefined){if(t.dense){if(!v[_])v[_]=[];v[_][C]=m}else v[Mr(C)+Fr(_)]=m}if(m.HRef){m.l={Target:m.HRef,Tooltip:m.HRefScreenTip};delete m.HRef;delete m.HRefScreenTip}if(m.MergeAcross||m.MergeDown){var K=C+(parseInt(m.MergeAcross,10)|0);var Y=_+(parseInt(m.MergeDown,10)|0);R.push({s:{c:C,r:_},e:{c:K,r:Y}})}if(!t.sheetStubs){if(m.MergeAcross)C=K+1;else++C}else if(m.MergeAcross||m.MergeDown){for(var $=C;$<=K;++$){for(var Z=_;Z<=Y;++Z){if($>C||Z>_){if(t.dense){if(!v[Z])v[Z]=[];v[Z][$]={t:"z"}}else v[Mr($)+Fr(Z)]={t:"z"}}}}C=K+1}else++C}else{m=$g(f[0]);if(m.Index)C=+m.Index-1;if(CT.e.c)T.e.c=C;if(f[0].slice(-2)==="/>")++C;N=[]}break;case"Row":if(f[1]==="/"||f[0].slice(-2)==="/>"){if(_T.e.r)T.e.r=_;if(f[0].slice(-2)==="/>"){g=Yg(f[0]);if(g.Index)_=+g.Index-1}C=0;++_}else{g=Yg(f[0]);if(g.Index)_=+g.Index-1;X={};if(g.AutoFitHeight=="0"||g.Height){X.hpx=parseInt(g.Height,10);X.hpt=Gh(X.hpx);V[_]=X}if(g.Hidden=="1"){X.hidden=true;V[_]=X}}break;case"Worksheet":if(f[1]==="/"){if((u=l.pop())[0]!==f[3])throw new Error("Bad state: "+u.join("|"));d.push(p);if(T.s.r<=T.e.r&&T.s.c<=T.e.c)v["!ref"]=Kr(T);if(R.length)v["!merges"]=R;if(M.length>0)v["!cols"]=M;if(V.length>0)v["!rows"]=V;h[p]=v}else{T={s:{r:2e6,c:2e6},e:{r:0,c:0}};_=C=0;l.push([f[3],false]);u=Yg(f[0]);p=ue(u.Name);v=t.dense?[]:{};R=[];W=[];V=[];j={name:p,Hidden:0};G.Sheets.push(j)}break;case"Table":if(f[1]==="/"){if((u=l.pop())[0]!==f[3])throw new Error("Bad state: "+u.join("|"))}else if(f[0].slice(-2)=="/>")break;else{b=Yg(f[0]);l.push([f[3],false]);M=[];H=false}break;case"Style":if(f[1]==="/")qg(x,I,t);else I=Yg(f[0]);break;case"NumberFormat":I.nf=ue(Yg(f[0]).Format||"General");if(S[I.nf])I.nf=S[I.nf];for(var Q=0;Q!=392;++Q)if(E._table[Q]==I.nf)break;if(Q==392)for(Q=57;Q!=392;++Q)if(E._table[Q]==null){E.load(I.nf,Q);break}break;case"Column":if(l[l.length-1][0]!=="Table")break;U=Yg(f[0]);if(U.Hidden){U.hidden=true;delete U.Hidden}if(U.Width)U.wpx=parseInt(U.Width,10);if(!H&&U.wpx>10){H=true;Oh=yh;for(var J=0;J0)re.Sheet=G.Sheets.length-1;G.Names.push(re);break;case"NamedCell":break;case"B":break;case"I":break;case"U":break;case"S":break;case"Sub":break;case"Sup":break;case"Span":break;case"Border":break;case"Alignment":break;case"Borders":break;case"Font":if(f[0].slice(-2)==="/>")break;else if(f[1]==="/")A+=a.slice(y,f.index);else y=f.index+f[0].length;break;case"Interior":if(!t.cellStyles)break;I.Interior=Yg(f[0]);break;case"Protection":break;case"Author":;case"Title":;case"Description":;case"Created":;case"Keywords":;case"Subject":;case"Category":;case"Company":;case"LastAuthor":;case"LastSaved":;case"LastPrinted":;case"Version":;case"Revision":;case"TotalTime":;case"HyperlinkBase":;case"Manager":;case"ContentStatus":;case"Identifier":;case"Language": +if(f[0].slice(-2)==="/>")break;else if(f[1]==="/")Pa(D,f[3],a.slice(F,f.index));else F=f.index+f[0].length;break;case"Paragraphs":break;case"Styles":;case"Workbook":if(f[1]==="/"){if((u=l.pop())[0]!==f[3])throw new Error("Bad state: "+u.join("|"))}else l.push([f[3],false]);break;case"Comment":if(f[1]==="/"){if((u=l.pop())[0]!==f[3])throw new Error("Bad state: "+u.join("|"));rE(L);N.push(L)}else{l.push([f[3],false]);u=Yg(f[0]);L={a:u.Author}}break;case"AutoFilter":if(f[1]==="/"){if((u=l.pop())[0]!==f[3])throw new Error("Bad state: "+u.join("|"))}else if(f[0].charAt(f[0].length-2)!=="/"){var te=Yg(f[0]);v["!autofilter"]={ref:kv(te.Range).replace(/\$/g,"")};l.push([f[3],true])}break;case"Name":break;case"ComponentOptions":;case"DocumentProperties":;case"CustomDocumentProperties":;case"OfficeDocumentSettings":;case"PivotTable":;case"PivotCache":;case"Names":;case"MapInfo":;case"PageBreaks":;case"QueryTable":;case"DataValidation":;case"Sorting":;case"Schema":;case"data":;case"ConditionalFormatting":;case"SmartTagType":;case"SmartTags":;case"ExcelWorkbook":;case"WorkbookOptions":;case"WorksheetOptions":if(f[1]==="/"){if((u=l.pop())[0]!==f[3])throw new Error("Bad state: "+u.join("|"))}else if(f[0].charAt(f[0].length-2)!=="/")l.push([f[3],true]);break;default:if(l.length==0&&f[3]=="document")return VE(a,t);if(l.length==0&&f[3]=="UOF")return VE(a,t);var ae=true;switch(l[l.length-1][0]){case"OfficeDocumentSettings":switch(f[3]){case"AllowPNG":break;case"RemovePersonalInformation":break;case"DownloadComponents":break;case"LocationOfComponents":break;case"Colors":break;case"Color":break;case"Index":break;case"RGB":break;case"PixelsPerInch":break;case"TargetScreenSize":break;case"ReadOnlyRecommended":break;default:ae=false;}break;case"ComponentOptions":switch(f[3]){case"Toolbar":break;case"HideOfficeLogo":break;case"SpreadsheetAutoFit":break;case"Label":break;case"Caption":break;case"MaxHeight":break;case"MaxWidth":break;case"NextSheetNumber":break;default:ae=false;}break;case"ExcelWorkbook":switch(f[3]){case"Date1904":G.WBProps.date1904=true;break;case"WindowHeight":break;case"WindowWidth":break;case"WindowTopX":break;case"WindowTopY":break;case"TabRatio":break;case"ProtectStructure":break;case"ProtectWindows":break;case"ActiveSheet":break;case"DisplayInkNotes":break;case"FirstVisibleSheet":break;case"SupBook":break;case"SheetName":break;case"SheetIndex":break;case"SheetIndexFirst":break;case"SheetIndexLast":break;case"Dll":break;case"AcceptLabelsInFormulas":break;case"DoNotSaveLinkValues":break;case"Iteration":break;case"MaxIterations":break;case"MaxChange":break;case"Path":break;case"Xct":break;case"Count":break;case"SelectedSheets":break;case"Calculation":break;case"Uncalced":break;case"StartupPrompt":break;case"Crn":break;case"ExternName":break;case"Formula":break;case"ColFirst":break;case"ColLast":break;case"WantAdvise":break;case"Boolean":break;case"Error":break;case"Text":break;case"OLE":break;case"NoAutoRecover":break;case"PublishObjects":break;case"DoNotCalculateBeforeSave":break;case"Number":break;case"RefModeR1C1":break;case"EmbedSaveSmartTags":break;default:ae=false;}break;case"WorkbookOptions":switch(f[3]){case"OWCVersion":break;case"Height":break;case"Width":break;default:ae=false;}break;case"WorksheetOptions":switch(f[3]){case"Visible":if(f[0].slice(-2)==="/>"){}else if(f[1]==="/")switch(a.slice(F,f.index)){case"SheetHidden":j.Hidden=1;break;case"SheetVeryHidden":j.Hidden=2;break;}else F=f.index+f[0].length;break;case"Header":if(!v["!margins"])Bb(v["!margins"]={},"xlml");v["!margins"].header=fe(f[0]).Margin;break;case"Footer":if(!v["!margins"])Bb(v["!margins"]={},"xlml");v["!margins"].footer=fe(f[0]).Margin;break;case"PageMargins":var ne=fe(f[0]);if(!v["!margins"])Bb(v["!margins"]={},"xlml");if(ne.Top)v["!margins"].top=ne.Top;if(ne.Left)v["!margins"].left=ne.Left;if(ne.Right)v["!margins"].right=ne.Right;if(ne.Bottom)v["!margins"].bottom=ne.Bottom;break;case"Unsynced":break;case"Print":break;case"Panes":break;case"Scale":break;case"Pane":break;case"Number":break;case"Layout":break;case"PageSetup":break;case"Selected":break;case"ProtectObjects":break;case"EnableSelection":break;case"ProtectScenarios":break;case"ValidPrinterInfo":break;case"HorizontalResolution":break;case"VerticalResolution":break;case"NumberofCopies":break;case"ActiveRow":break;case"ActiveCol":break;case"ActivePane":break;case"TopRowVisible":break;case"TopRowBottomPane":break;case"LeftColumnVisible":break;case"LeftColumnRightPane":break;case"FitToPage":break;case"RangeSelection":break;case"PaperSizeIndex":break;case"PageLayoutZoom":break;case"PageBreakZoom":break;case"FilterOn":break;case"DoNotDisplayGridlines":break;case"SplitHorizontal":break;case"SplitVertical":break;case"FreezePanes":break;case"FrozenNoSplit":break;case"FitWidth":break;case"FitHeight":break;case"CommentsLayout":break;case"Zoom":break;case"LeftToRight":break;case"Gridlines":break;case"AllowSort":break;case"AllowFilter":break;case"AllowInsertRows":break;case"AllowDeleteRows":break;case"AllowInsertCols":break;case"AllowDeleteCols":break;case"AllowInsertHyperlinks":break;case"AllowFormatCells":break;case"AllowSizeCols":break;case"AllowSizeRows":break;case"NoSummaryRowsBelowDetail":break;case"TabColorIndex":break;case"DoNotDisplayHeadings":break;case"ShowPageLayoutZoom":break;case"NoSummaryColumnsRightDetail":break;case"BlackAndWhite":break;case"DoNotDisplayZeros":break;case"DisplayPageBreak":break;case"RowColHeadings":break;case"DoNotDisplayOutline":break;case"NoOrientation":break;case"AllowUsePivotTables":break;case"ZeroHeight":break;case"ViewableRange":break;case"Selection":break;case"ProtectContents":break;default:ae=false;}break;case"PivotTable":;case"PivotCache":switch(f[3]){case"ImmediateItemsOnDrop":break;case"ShowPageMultipleItemLabel":break;case"CompactRowIndent":break;case"Location":break;case"PivotField":break;case"Orientation":break;case"LayoutForm":break;case"LayoutSubtotalLocation":break;case"LayoutCompactRow":break;case"Position":break;case"PivotItem":break;case"DataType":break;case"DataField":break;case"SourceName":break;case"ParentField":break;case"PTLineItems":break;case"PTLineItem":break;case"CountOfSameItems":break;case"Item":break;case"ItemType":break;case"PTSource":break;case"CacheIndex":break;case"ConsolidationReference":break;case"FileName":break;case"Reference":break;case"NoColumnGrand":break;case"NoRowGrand":break;case"BlankLineAfterItems":break;case"Hidden":break;case"Subtotal":break;case"BaseField":break;case"MapChildItems":break;case"Function":break;case"RefreshOnFileOpen":break;case"PrintSetTitles":break;case"MergeLabels":break;case"DefaultVersion":break;case"RefreshName":break;case"RefreshDate":break;case"RefreshDateCopy":break;case"VersionLastRefresh":break;case"VersionLastUpdate":break;case"VersionUpdateableMin":break;case"VersionRefreshableMin":break;case"Calculation":break;default:ae=false;}break;case"PageBreaks":switch(f[3]){case"ColBreaks":break;case"ColBreak":break;case"RowBreaks":break;case"RowBreak":break;case"ColStart":break;case"ColEnd":break;case"RowEnd":break;default:ae=false;}break;case"AutoFilter":switch(f[3]){case"AutoFilterColumn":break;case"AutoFilterCondition":break;case"AutoFilterAnd":break;case"AutoFilterOr":break;default:ae=false;}break;case"QueryTable":switch(f[3]){case"Id":break;case"AutoFormatFont":break;case"AutoFormatPattern":break;case"QuerySource":break;case"QueryType":break;case"EnableRedirections":break;case"RefreshedInXl9":break;case"URLString":break;case"HTMLTables":break;case"Connection":break;case"CommandText":break;case"RefreshInfo":break;case"NoTitles":break;case"NextId":break;case"ColumnInfo":break;case"OverwriteCells":break;case"DoNotPromptForFile":break;case"TextWizardSettings":break;case"Source":break;case"Number":break;case"Decimal":break;case"ThousandSeparator":break;case"TrailingMinusNumbers":break;case"FormatSettings":break;case"FieldType":break;case"Delimiters":break;case"Tab":break;case"Comma":break;case"AutoFormatName":break;case"VersionLastEdit":break;case"VersionLastRefresh":break;default:ae=false;}break;case"Sorting":;case"ConditionalFormatting":;case"DataValidation":switch(f[3]){case"Range":break;case"Type":break;case"Min":break;case"Max":break;case"Sort":break;case"Descending":break;case"Order":break;case"CaseSensitive":break;case"Value":break;case"ErrorStyle":break;case"ErrorMessage":break;case"ErrorTitle":break;case"CellRangeList":break;case"InputMessage":break;case"InputTitle":break;case"ComboHide":break;case"InputHide":break;case"Condition":break;case"Qualifier":break;case"UseBlank":break;case"Value1":break;case"Value2":break;case"Format":break;default:ae=false;}break;case"MapInfo":;case"Schema":;case"data":switch(f[3]){case"Map":break;case"Entry":break;case"Range":break;case"XPath":break;case"Field":break;case"XSDType":break;case"FilterOn":break;case"Aggregate":break;case"ElementType":break;case"AttributeType":break;case"schema":;case"element":;case"complexType":;case"datatype":;case"all":;case"attribute":;case"extends":break;case"row":break;default:ae=false;}break;case"SmartTags":break;default:ae=false;break;}if(ae)break;if(!l[l.length-1][1])throw"Unrecognized tag: "+f[3]+"|"+l.join("|");if(l[l.length-1][0]==="CustomDocumentProperties"){if(f[0].slice(-2)==="/>")break;else if(f[1]==="/")Qg(O,f,P,a.slice(F,f.index));else{P=f;F=f.index+f[0].length}break}if(t.WTF)throw"Unrecognized tag: "+f[3]+"|"+l.join("|");}var ie={};if(!t.bookSheets&&!t.bookProps)ie.Sheets=h;ie.SheetNames=d;ie.Workbook=G;ie.SSF=E.get_table();ie.Props=D;ie.Custprops=O;return ie}function iE(e){return e.map(Kg).join("")}function sE(e,r){rk(r=r||{});switch(r.type||"base64"){case"base64":return nE(h.decode(e),r);case"binary":;case"buffer":;case"file":return nE(e,r);case"array":return nE(iE(e),r);}}function fE(e,r){var t=[];if(e.Props)t.push(Na(e.Props,r));if(e.Custprops)t.push(La(e.Props,e.Custprops,r));return t.join("")}function oE(e,r){return""}function lE(e,r){return""}function cE(e,r,t,a){if(!e)return"";var n=[];if(e["!margins"]){n.push("");if(e["!margins"].header)n.push(Oe("Header",null,{"x:Margin":e["!margins"].header}));if(e["!margins"].footer)n.push(Oe("Footer",null,{"x:Margin":e["!margins"].footer}));n.push(Oe("PageMargins",null,{"x:Bottom":e["!margins"].bottom||"0.75","x:Left":e["!margins"].left||"0.7","x:Right":e["!margins"].right||"0.7","x:Top":e["!margins"].top||"0.75"}));n.push("")}if(a&&a.Workbook&&a.Workbook.Sheets&&a.Workbook.Sheets[t]){if(a.Workbook.Sheets[t].Hidden)n.push(Oe("Visible",a.Workbook.Sheets[t].Hidden==1?"SheetHidden":"SheetVeryHidden",{}));else{for(var i=0;i")}}if(e["!protect"]){n.push(Re("ProtectContents","True"));if(e["!protect"].objects)n.push(Re("ProtectObjects","True"));if(e["!protect"].scenarios)n.push(Re("ProtectScenarios","True"));if(e["!protect"].selectLockedCells!=null&&!e["!protect"].selectLockedCells)n.push(Re("EnableSelection","NoSelection"));else if(e["!protect"].selectUnlockedCells!=null&&!e["!protect"].selectUnlockedCells)n.push(Re("EnableSelection","UnlockedCells"));[["formatColumns","AllowFormatCells"],["formatRows","AllowSizeCols"],["formatCells","AllowSizeRows"],["insertColumns","AllowInsertCols"],["insertRows","AllowInsertRows"],["insertHyperlinks","AllowInsertHyperlinks"],["deleteColumns","AllowDeleteCols"],["deleteRows","AllowDeleteRows"],["sort","AllowSort"],["autoFilter","AllowFilter"],["pivotTables","AllowUsePivotTables"]].forEach(function(r){if(e["!protect"][r[0]])n.push("<"+r[1]+"/>")})}if(n.length==0)return"";return Oe("WorksheetOptions",n.join(""),{xmlns:Me.x})}function uE(e){return e.map(function(e){var r=Ee(e.t||"");var t=Oe("ss:Data",r,{xmlns:"http://www.w3.org/TR/REC-html40"});return Oe("Comment",t,{"ss:Author":e.a})}).join("")}function hE(e,r,t,a,n,i,s){if(!e||e.v==undefined&&e.f==undefined)return"";var f={};if(e.f)f["ss:Formula"]="="+ve(wv(e.f,s));if(e.F&&e.F.substr(0,r.length)==r){var o=Vr(e.F.substr(r.length+1));f["ss:ArrayRange"]="RC:R"+(o.r==s.r?"":"["+(o.r-s.r)+"]")+"C"+(o.c==s.c?"":"["+(o.c-s.c)+"]")}if(e.l&&e.l.Target){f["ss:HRef"]=ve(e.l.Target);if(e.l.Tooltip)f["x:HRefScreenTip"]=ve(e.l.Tooltip)}if(t["!merges"]){var l=t["!merges"];for(var c=0;c!=l.length;++c){if(l[c].s.c!=s.c||l[c].s.r!=s.r)continue;if(l[c].e.c>l[c].s.c)f["ss:MergeAcross"]=l[c].e.c-l[c].s.c;if(l[c].e.r>l[c].s.r)f["ss:MergeDown"]=l[c].e.r-l[c].s.r}}var u="",h="";switch(e.t){case"z":return"";case"n":u="Number";h=String(e.v);break;case"b":u="Boolean";h=e.v?"1":"0";break;case"e":u="Error";h=Tt[e.v];break;case"d":u="DateTime";h=new Date(e.v).toISOString();break;case"s":u="String";h=ve(e.v||"");break;}var d=e.v!=null?h:"";if(a&&a.type=="binary"&&typeof cptable!=="undefined"&&e.t=="s"){d=cptable.utils.encode(65001,d);var v="";for(var p=0;p'+d+"";if((e.c||[]).length>0)b+=uE(e.c);return Oe("Cell",b,f)}function dE(e,r){var t='"}function vE(e,r,t,a){if(!e["!ref"])return"";var n=Yr(e["!ref"]);var i=e["!merges"]||[],s=0;var f=[];if(e["!cols"])e["!cols"].forEach(function(e,r){Vh(e);var t=!!e.width;var a=wb(r,e);var n={"ss:Index":r+1};if(t)n["ss:Width"]=Fh(a.width);if(e.hidden)n["ss:Hidden"]="1";f.push(Oe("Column",null,n))});var o=Array.isArray(e);for(var l=n.s.r;l<=n.e.r;++l){var c=[dE(l,(e["!rows"]||[])[l])];for(var u=n.s.c;u<=n.e.c;++u){var h=false;for(s=0;s!=i.length;++s){if(i[s].s.c>u)continue;if(i[s].s.r>l)continue;if(i[s].e.c");if(c.length>2)f.push(c.join(""))}return f.join("")}function pE(e,r,t){var a=[];var n=t.SheetNames[e];var i=t.Sheets[n];var s=i?vE(i,r,e,t):"";if(s.length>0)a.push(""+s+"
");a.push(cE(i,r,e,t));return a.join("")}function bE(e,r){var t=[];t.push(fE(e,r));t.push(oE(e,r));t.push(lE(e,r));for(var a=0;a400)throw new Error("Unsupported Clipboard: "+n.toString(16));a+=n;}n=$e(t,a);a+=n.length===0?0:5+n.length;r.Reserved1=n;if((n=lr(t,a))!==1907550708)return r;throw new Error("Unsupported Unicode Extension")}function gE(e,r,t,a){var n=t;var i=[];var s=r.slice(r.l,r.l+n);if(a&&a.enc&&a.enc.insitu_decrypt)switch(e.n){case"BOF":;case"FilePass":;case"FileLock":;case"InterfaceHdr":;case"RRDInfo":;case"RRDHead":;case"UsrExcl":break;default:if(s.length===0)break;a.enc.insitu_decrypt(s);}i.push(s);r.l+=n;var f=TE[fr(r,r.l)];var o=0;while(f!=null&&f.n.slice(0,8)==="Continue"){n=fr(r,r.l+2);o=r.l+4;if(f.n=="ContinueFrt")o+=4;else if(f.n.slice(0,11)=="ContinueFrt")o+=12;i.push(r.slice(o,r.l+4+n));r.l+=4+n;f=TE[fr(r,r.l)]}var l=b(i);Er(l,0);var c=0;l.lens=[];for(var u=0;u1)return;if(!T)return;if(t.cellStyles&&r.XF&&r.XF.data)D(e,r,t);v=e;p=zr(e);if(o.s){if(e.ro.e.r)o.e.r=e.r+1;if(e.c+1>o.e.c)o.e.c=e.c+1}if(t.cellFormula&&r.f){for(var a=0;ae.c)continue;if(B[a][0].s.r>e.r)continue;if(B[a][0].e.c=t.sheetRows)T=false;else{if(t.dense){if(!i[e.r])i[e.r]=[];i[e.r][e.c]=r}else i[p]=r}};var F={enc:false,sbcch:0,snames:[],sharedf:w,arrayf:B,rrtabid:[],lastuser:"",biff:8,codepage:0,winlocked:0,cellStyles:!!r&&!!r.cellStyles,WTF:!!r&&!!r.wtf};if(r.password)F.password=r.password;var P=[];var N=[];var L=[],M=[];var U=0,H=0;var W=false;var V=[];V.SheetNames=F.snames;V.sharedf=F.sharedf;V.arrayf=F.arrayf;V.names=[];V.XTI=[];var z="";var X=0;var G=0;var j=[];var K=[];var Y;F.codepage=1200;n(1200);while(e.l0)Y.Sheet=re.itab-1;V.names.push(Y);if(!V[0])V[0]=[];V[V.length-1].push(re);if(re.Name=="_xlnm._FilterDatabase"&&re.itab>0)if(re.rgce&&re.rgce[0]&&re.rgce[0][0]&&re.rgce[0][0][0]=="PtgArea3d")K[re.itab-1]={ref:Kr(re.rgce[0][0][1][2])};break;case"ExternCount":F.ExternCount=re;break;case"ExternSheet":if(V.length==0){V[0]=[];V[0].XTI=[]}V[V.length-1].XTI=V[V.length-1].XTI.concat(re);V.XTI=V.XTI.concat(re);break;case"NameCmt":if(F.biff<8)break;if(Y!=null)Y.Comment=re[1];break;case"Protect":i["!protect"]=re;break;case"Password":if(re!==0&&F.WTF)console.error("Password verifier: "+re);break;case"Prot4Rev":;case"Prot4RevPass":break;case"BoundSheet8":{s[re.pos]=re;F.snames.push(re.name)}break;case"EOF":{if(--X)break;if(o.e){if(o.e.r>0&&o.e.c>0){o.e.r--;o.e.c--;i["!ref"]=Kr(o);o.e.r++;o.e.c++}if(P.length>0)i["!merges"]=P;if(N.length>0)i["!objects"]=N;if(L.length>0)i["!cols"]=L;if(M.length>0)i["!rows"]=M;A.Sheets.push(y)}if(h==="")d=i;else a[h]=i;i=r.dense?[]:{}}break;case"BOF":{if(F.biff!==8){}else if(Z===9)F.biff=2;else if(Z===521)F.biff=3;else if(Z===1033)F.biff=4;else if(re.BIFFVer===1280)F.biff=5;else if(re.BIFFVer===1536)F.biff=8;else if(re.BIFFVer===2)F.biff=2;else if(re.BIFFVer===7)F.biff=2;if(X++)break;T=true;i=r.dense?[]:{};if(F.biff<5){if(h==="")h="Sheet1";o={s:{r:0,c:0},e:{r:0,c:0}};var ae={pos:e.l-Q,name:h};s[ae.pos]=ae;F.snames.push(h)}else h=(s[$]||{name:""}).name;if(re.dt==32)i["!type"]="chart";P=[];N=[];B=[];F.arrayf=B;L=[];M=[];U=H=0;W=false;y={Hidden:(s[$]||{hs:0}).hs,name:h}}break;case"Number":;case"BIFF2NUM":;case"BIFF2INT":{if(i["!type"]=="chart")if(r.dense?(i[re.r]||[])[re.c]:i[zr({c:re.c,r:re.r})])++re.c;C={ixfe:re.ixfe,XF:x[re.ixfe]||{},v:re.val,t:"n"};if(G>0)C.z=j[C.ixfe>>8&31];EE(C,r,t.opts.Date1904);O({c:re.c,r:re.r},C,r)}break;case"BoolErr":{C={ixfe:re.ixfe,XF:x[re.ixfe],v:re.val,t:re.t};if(G>0)C.z=j[C.ixfe>>8&31];EE(C,r,t.opts.Date1904);O({c:re.c,r:re.r},C,r)}break;case"RK":{C={ixfe:re.ixfe,XF:x[re.ixfe],v:re.rknum,t:"n"};if(G>0)C.z=j[C.ixfe>>8&31];EE(C,r,t.opts.Date1904);O({c:re.c,r:re.r},C,r)}break;case"MulRk":{for(var ne=re.c;ne<=re.C;++ne){var ie=re.rkrec[ne-re.c][0];C={ixfe:ie,XF:x[ie],v:re.rkrec[ne-re.c][1],t:"n"};if(G>0)C.z=j[C.ixfe>>8&31];EE(C,r,t.opts.Date1904);O({c:ne,r:re.r},C,r)}}break;case"Formula":{if(re.val=="String"){l=re;break}C=kE(re.val,re.cell.ixfe,re.tt);C.XF=x[C.ixfe];if(r.cellFormula){var se=re.formula;if(se&&se[0]&&se[0][0]&&se[0][0][0]=="PtgExp"){var fe=se[0][0][1][0],oe=se[0][0][1][1];var le=zr({r:fe,c:oe});if(w[le])C.f=""+ib(re.formula,o,re.cell,V,F);else C.F=((r.dense?(i[fe]||[])[oe]:i[le])||{}).F}else C.f=""+ib(re.formula,o,re.cell,V,F)}if(G>0)C.z=j[C.ixfe>>8&31];EE(C,r,t.opts.Date1904);O(re.cell,C,r);l=re}break;case"String":{if(l){l.val=re;C=kE(re,l.cell.ixfe,"s");C.XF=x[C.ixfe];if(r.cellFormula){C.f=""+ib(l.formula,o,l.cell,V,F)}if(G>0)C.z=j[C.ixfe>>8&31];EE(C,r,t.opts.Date1904);O(l.cell,C,r);l=null}else throw new Error("String record expects Formula")}break;case"Array":{B.push(re);var ce=zr(re[0].s);b=r.dense?(i[re[0].s.r]||[])[re[0].s.c]:i[ce];if(r.cellFormula&&b){if(!l)break;if(!ce||!b)break;b.f=""+ib(re[1],o,re[0],V,F);b.F=Kr(re[0])}}break;case"ShrFmla":{if(!T)break;if(!r.cellFormula)break;if(p){if(!l)break;w[zr(l.cell)]=re[0];b=r.dense?(i[l.cell.r]||[])[l.cell.c]:i[zr(l.cell)];(b||{}).f=""+ib(re[0],o,v,V,F)}}break;case"LabelSst":C=kE(u[re.isst].t,re.ixfe,"s");C.XF=x[C.ixfe];if(G>0)C.z=j[C.ixfe>>8&31];EE(C,r,t.opts.Date1904);O({c:re.c,r:re.r},C,r);break;case"Blank":if(r.sheetStubs){C={ixfe:re.ixfe,XF:x[re.ixfe],t:"z"};if(G>0)C.z=j[C.ixfe>>8&31];EE(C,r,t.opts.Date1904);O({c:re.c,r:re.r},C,r)}break;case"MulBlank":if(r.sheetStubs){for(var ue=re.c;ue<=re.C;++ue){var he=re.ixfe[ue-re.c];C={ixfe:he,XF:x[he],t:"z"};if(G>0)C.z=j[C.ixfe>>8&31];EE(C,r,t.opts.Date1904);O({c:ue,r:re.r},C,r)}}break;case"RString":;case"Label":;case"BIFF2STR":C=kE(re.val,re.ixfe,"s");C.XF=x[C.ixfe];if(G>0)C.z=j[C.ixfe>>8&31];EE(C,r,t.opts.Date1904);O({c:re.c,r:re.r},C,r);break;case"Dimensions":{if(X===1)o=re}break;case"SST":{u=re}break;case"Format":{E.load(re[1],re[0])}break;case"BIFF2FORMAT":{j[G++]=re;for(var de=0;de=163)E.load(re,G+163)}break;case"MergeCells":P=P.concat(re);break;case"Obj":N[re.cmo[0]]=F.lastobj=re;break;case"TxO":F.lastobj.TxO=re;break;case"ImData":F.lastobj.ImData=re;break;case"HLink":{for(S=re[0].s.r;S<=re[0].e.r;++S)for(k=re[0].s.c;k<=re[0].e.c;++k){b=r.dense?(i[S]||[])[k]:i[zr({c:k,r:S})];if(b)b.l=re[1]}}break;case"HLinkTooltip":{for(S=re[0].s.r;S<=re[0].e.r;++S)for(k=re[0].s.c;k<=re[0].e.c;++k){b=r.dense?(i[S]||[])[k]:i[zr({c:k,r:S})];if(b)b.l.Tooltip=re[1]}}break;case"Note":{if(F.biff<=5&&F.biff>=2)break;b=r.dense?(i[re[0].r]||[])[re[0].c]:i[zr(re[0])];var ve=N[re[2]];if(!b)break;if(!b.c)b.c=[];m={a:re[1],t:ve.TxO.t};b.c.push(m)}break;default:switch(q.n){case"ClrtClient":break;case"XFExt":Zd(x[re.ixfe],re.ext);break;case"DefColWidth":U=re;break;case"DefaultRowHeight":H=re[1];break;case"ColInfo":{if(!F.cellStyles)break;while(re.e>=re.s){L[re.e--]={width:re.w/256};if(!W){W=true;Hh(re.w/256)}Vh(L[re.e+1])}}break;case"Row":{var pe={};if(re.level!=null){M[re.r]=pe;pe.level=re.level}if(re.hidden){M[re.r]=pe;pe.hidden=true}if(re.hpt){M[re.r]=pe;pe.hpt=re.hpt;pe.hpx=jh(re.hpt)}}break;case"LeftMargin":;case"RightMargin":;case"TopMargin":;case"BottomMargin":if(!i["!margins"])Bb(i["!margins"]={});i["!margins"][te.slice(0,-6).toLowerCase()]=re;break;case"Setup":if(!i["!margins"])Bb(i["!margins"]={});i["!margins"].header=re.header;i["!margins"].footer=re.footer;break;case"Header":break;case"Footer":break;case"HCenter":break;case"VCenter":break;case"Pls":break;case"GCW":break;case"LHRecord":break;case"DBCell":break;case"EntExU2":break;case"SxView":break;case"Sxvd":break;case"SXVI":break;case"SXVDEx":break;case"SxIvd":break;case"SXString":break;case"Sync":break;case"Addin":break;case"SXDI":break;case"SXLI":break;case"SXEx":break;case"QsiSXTag":break;case"Selection":break;case"Feat":break;case"FeatHdr":;case"FeatHdr11":break;case"Feature11":;case"Feature12":;case"List12":break;case"Country":_=re;break;case"RecalcId":break;case"DxGCol":break;case"Fbi":;case"Fbi2":;case"GelFrame":break;case"Font":break;case"XFCRC":break;case"Style":break;case"StyleExt":break;case"Palette":I=re;break;case"Theme":break;case"ScenarioProtect":break;case"ObjProtect":break;case"CondFmt12":break;case"Table":break;case"TableStyles":break;case"TableStyle":break;case"TableStyleElement":break;case"SXStreamID":break;case"SXVS":break;case"DConRef":break;case"SXAddl":break;case"DConBin":break;case"DConName":break;case"SXPI":break;case"SxFormat":break;case"SxSelect":break;case"SxRule":break;case"SxFilt":break;case"SxItm":break;case"SxDXF":break;case"ScenMan":break;case"DCon":break;case"CellWatch":break;case"PrintRowCol":break;case"PrintGrid":break;case"PrintSize":break;case"XCT":break;case"CRN":break;case"Scl":{}break;case"SheetExt":{}break;case"SheetExtOptional":{}break;case"ObNoMacros":{}break;case"ObProj":{}break;case"CodeName":{}break;case"GUIDTypeLib":{}break;case"WOpt":break;case"PhoneticInfo":break;case"OleObjectSize":break;case"DXF":;case"DXFN":;case"DXFN12":;case"DXFN12List":;case"DXFN12NoCB":break;case"Dv":;case"DVal":break;case"BRAI":;case"Series":;case"SeriesText":break;case"DConn":break;case"DbOrParamQry":break;case"DBQueryExt":break;case"OleDbConn":break;case"ExtString":break;case"IFmtRecord":break;case"CondFmt":;case"CF":;case"CF12":;case"CFEx":break;case"Excel9File":break;case"Units":break;case"InterfaceHdr":;case"Mms":;case"InterfaceEnd":;case"DSF":;case"BuiltInFnGroupCount":break;case"Window1":;case"Window2":;case"HideObj":;case"GridSet":;case"Guts":;case"UserBView":;case"UserSViewBegin":;case"UserSViewEnd":;case"Pane":break;default:switch(q.n){case"Dat":;case"Begin":;case"End":;case"StartBlock":;case"EndBlock":;case"Frame":;case"Area":;case"Axis":;case"AxisLine":;case"Tick":break;case"AxesUsed":;case"CrtLayout12":;case"CrtLayout12A":;case"CrtLink":;case"CrtLine":;case"CrtMlFrt":;case"CrtMlFrtContinue":break;case"LineFormat":;case"AreaFormat":;case"Chart":;case"Chart3d":;case"Chart3DBarShape":;case"ChartFormat":;case"ChartFrtInfo":break;case"PlotArea":;case"PlotGrowth":break;case"SeriesList":;case"SerParent":;case"SerAuxTrend":break;case"DataFormat":;case"SerToCrt":;case"FontX":break;case"CatSerRange":;case"AxcExt":;case"SerFmt":break;case"ShtProps":break;case"DefaultText":;case"Text":;case"CatLab":break;case"DataLabExtContents":break;case"Legend":;case"LegendException":break;case"Pie":;case"Scatter":break;case"PieFormat":;case"MarkerFormat":break;case"StartObject":;case"EndObject":break;case"AlRuns":;case"ObjectLink":break;case"SIIndex":break;case"AttachedLabel":;case"YMult":break;case"Line":;case"Bar":break;case"Surf":break;case"AxisParent":break;case"Pos":break;case"ValueRange":break;case"SXViewEx9":break;case"SXViewLink":break;case"PivotChartBits":break;case"SBaseRef":break;case"TextPropsStream":break;case"LnExt":break;case"MkrExt":break;case"CrtCoopt":break;case"Qsi":;case"Qsif":;case"Qsir":;case"QsiSXTag":break;case"TxtQry":break;case"FilterMode":break;case"AutoFilter":;case"AutoFilterInfo":break;case"AutoFilter12":break;case"DropDownObjIds":break;case"Sort":break;case"SortData":break;case"ShapePropsStream":break;case"MsoDrawing":;case"MsoDrawingGroup":;case"MsoDrawingSelection":break;case"WebPub":;case"AutoWebPub":break;case"HeaderFooter":;case"HFPicture":;case"PLV":;case"HorizontalPageBreaks":;case"VerticalPageBreaks":break;case"Backup":;case"CompressPictures":;case"Compat12":break;case"Continue":;case"ContinueFrt12":break;case"FrtFontList":;case"FrtWrapper":break;default:switch(q.n){case"TabIdConf":;case"Radar":;case"RadarArea":;case"DropBar":;case"Intl":;case"CoordList":;case"SerAuxErrBar":break;case"BIFF2FONTCLR":;case"BIFF2FMTCNT":;case"BIFF2FONTXTRA":break;case"BIFF2XF":;case"BIFF3XF":;case"BIFF4XF":break;case"BIFF4FMTCNT":;case"BIFF2ROW":;case"BIFF2WINDOW2":break;case"SCENARIO":;case"DConBin":;case"PicF":;case"DataLabExt":;case"Lel":;case"BopPop":;case"BopPopCustom":;case"RealTimeData":;case"Name":break;case"LHNGraph":;case"FnGroupName":;case"AddMenu":;case"LPr":break;case"ListObj":;case"ListField":break;case"RRSort":break;case"BigName":break;default:if(r.WTF)throw"Unrecognized Record "+q.n;};};};}}else e.l+=Q}var be=Object.keys(s).sort(function(e,r){return Number(e)-Number(r)}).map(function(e){return s[e].name});var me=be.slice();t.Directory=be;t.SheetNames=be;if(!r.bookSheets)t.Sheets=a;if(t.Sheets)K.forEach(function(e,r){t.Sheets[t.SheetNames[r]]["!autofilter"]=e});t.Preamble=d;t.Strings=u;t.SSF=E.get_table();if(F.enc)t.Encryption=F.enc;t.Metadata={};if(_!==undefined)t.Metadata.Country=_;if(V.names.length>0)A.Names=V.names;t.Workbook=A;return t}function wE(e){var r=e.find("!DocumentSummaryInformation");if(r)try{e.DocSummary=rn(r,Gt)}catch(t){}var a=e.find("!SummaryInformation");if(a)try{e.Summary=rn(a,jt)}catch(t){}}function BE(e,r){if(!r)r={};rk(r);a();var t,n,i;if(e.FullPaths){t=e.find("!CompObj");n=e.find("!SummaryInformation");i=e.find("/Workbook")}else{Er(e,0);i={content:e}}if(!i)i=e.find("/Book");var s,f,o;if(t)s=mE(t);if(r.bookProps&&!r.bookSheets)o={};else{if(i)o=SE(i.content,r);else if(e.find("PerfectOffice_MAIN"))o=Lu.to_workbook(e.find("PerfectOffice_MAIN").content,r);else if(e.find("NativeContent_MAIN"))o=Lu.to_workbook(e.find("NativeContent_MAIN").content,r);else throw new Error("Cannot find Workbook stream")}if(e.FullPaths)wE(e);var l={};for(var c in e.Summary)l[c]=e.Summary[c];for(c in e.DocSummary)l[c]=e.DocSummary[c];o.Props=o.Custprops=l;if(r.bookFiles)o.cfb=e;return o}var CE={0:{n:"BrtRowHdr",f:Zb},1:{n:"BrtCellBlank",f:nm},2:{n:"BrtCellRk",f:dm},3:{n:"BrtCellError",f:om},4:{n:"BrtCellBool",f:sm},5:{n:"BrtCellReal",f:um},6:{n:"BrtCellSt",f:pm},7:{n:"BrtCellIsst",f:lm},8:{n:"BrtFmlaString",f:km},9:{n:"BrtFmlaNum",f:Em},10:{n:"BrtFmlaBool",f:mm},11:{n:"BrtFmlaError",f:gm},16:{n:"BrtFRTArchID$",f:Eg},19:{n:"BrtSSTItem",f:nt},20:{n:"BrtPCDIMissing",f:kr},21:{n:"BrtPCDINumber",f:kr},22:{n:"BrtPCDIBoolean",f:kr},23:{n:"BrtPCDIError",f:kr},24:{n:"BrtPCDIString",f:kr},25:{n:"BrtPCDIDatetime",f:kr},26:{n:"BrtPCDIIndex",f:kr},27:{n:"BrtPCDIAMissing",f:kr},28:{n:"BrtPCDIANumber",f:kr},29:{n:"BrtPCDIABoolean",f:kr},30:{n:"BrtPCDIAError",f:kr},31:{n:"BrtPCDIAString",f:kr},32:{n:"BrtPCDIADatetime",f:kr},33:{n:"BrtPCRRecord",f:kr},34:{n:"BrtPCRRecordDt",f:kr},35:{n:"BrtFRTBegin",f:kr},36:{n:"BrtFRTEnd",f:kr},37:{n:"BrtACBegin",f:kr},38:{n:"BrtACEnd",f:kr},39:{n:"BrtName",f:kg},40:{n:"BrtIndexRowBlock", +f:kr},42:{n:"BrtIndexBlock",f:kr},43:{n:"BrtFont",f:od},44:{n:"BrtFmt",f:sd},45:{n:"BrtFill",f:hd},46:{n:"BrtBorder",f:md},47:{n:"BrtXF",f:vd},48:{n:"BrtStyle",f:kr},49:{n:"BrtCellMeta",f:kr},50:{n:"BrtValueMeta",f:kr},51:{n:"BrtMdb",f:kr},52:{n:"BrtBeginFmd",f:kr},53:{n:"BrtEndFmd",f:kr},54:{n:"BrtBeginMdx",f:kr},55:{n:"BrtEndMdx",f:kr},56:{n:"BrtBeginMdxTuple",f:kr},57:{n:"BrtEndMdxTuple",f:kr},58:{n:"BrtMdxMbrIstr",f:kr},59:{n:"BrtStr",f:kr},60:{n:"BrtColInfo",f:Ui},62:{n:"BrtCellRString",f:kr},63:{n:"BrtCalcChainItem$",f:qd},64:{n:"BrtDVal",f:kr},65:{n:"BrtSxvcellNum",f:kr},66:{n:"BrtSxvcellStr",f:kr},67:{n:"BrtSxvcellBool",f:kr},68:{n:"BrtSxvcellErr",f:kr},69:{n:"BrtSxvcellDate",f:kr},70:{n:"BrtSxvcellNil",f:kr},128:{n:"BrtFileVersion",f:kr},129:{n:"BrtBeginSheet",f:kr},130:{n:"BrtEndSheet",f:kr},131:{n:"BrtBeginBook",f:kr,p:0},132:{n:"BrtEndBook",f:kr},133:{n:"BrtBeginWsViews",f:kr},134:{n:"BrtEndWsViews",f:kr},135:{n:"BrtBeginBookViews",f:kr},136:{n:"BrtEndBookViews",f:kr},137:{n:"BrtBeginWsView",f:kr},138:{n:"BrtEndWsView",f:kr},139:{n:"BrtBeginCsViews",f:kr},140:{n:"BrtEndCsViews",f:kr},141:{n:"BrtBeginCsView",f:kr},142:{n:"BrtEndCsView",f:kr},143:{n:"BrtBeginBundleShs",f:kr},144:{n:"BrtEndBundleShs",f:kr},145:{n:"BrtBeginSheetData",f:kr},146:{n:"BrtEndSheetData",f:kr},147:{n:"BrtWsProp",f:tm},148:{n:"BrtWsDim",f:qb,p:16},151:{n:"BrtPane",f:kr},152:{n:"BrtSel",f:kr},153:{n:"BrtWbProp",f:mg},154:{n:"BrtWbFactoid",f:kr},155:{n:"BrtFileRecover",f:kr},156:{n:"BrtBundleSh",f:pg},157:{n:"BrtCalcProp",f:kr},158:{n:"BrtBookView",f:kr},159:{n:"BrtBeginSst",f:Zu},160:{n:"BrtEndSst",f:kr},161:{n:"BrtBeginAFilter",f:wt},162:{n:"BrtEndAFilter",f:kr},163:{n:"BrtBeginFilterColumn",f:kr},164:{n:"BrtEndFilterColumn",f:kr},165:{n:"BrtBeginFilters",f:kr},166:{n:"BrtEndFilters",f:kr},167:{n:"BrtFilter",f:kr},168:{n:"BrtColorFilter",f:kr},169:{n:"BrtIconFilter",f:kr},170:{n:"BrtTop10Filter",f:kr},171:{n:"BrtDynamicFilter",f:kr},172:{n:"BrtBeginCustomFilters",f:kr},173:{n:"BrtEndCustomFilters",f:kr},174:{n:"BrtCustomFilter",f:kr},175:{n:"BrtAFilterDateGroupItem",f:kr},176:{n:"BrtMergeCell",f:Sm},177:{n:"BrtBeginMergeCells",f:kr},178:{n:"BrtEndMergeCells",f:kr},179:{n:"BrtBeginPivotCacheDef",f:kr},180:{n:"BrtEndPivotCacheDef",f:kr},181:{n:"BrtBeginPCDFields",f:kr},182:{n:"BrtEndPCDFields",f:kr},183:{n:"BrtBeginPCDField",f:kr},184:{n:"BrtEndPCDField",f:kr},185:{n:"BrtBeginPCDSource",f:kr},186:{n:"BrtEndPCDSource",f:kr},187:{n:"BrtBeginPCDSRange",f:kr},188:{n:"BrtEndPCDSRange",f:kr},189:{n:"BrtBeginPCDFAtbl",f:kr},190:{n:"BrtEndPCDFAtbl",f:kr},191:{n:"BrtBeginPCDIRun",f:kr},192:{n:"BrtEndPCDIRun",f:kr},193:{n:"BrtBeginPivotCacheRecords",f:kr},194:{n:"BrtEndPivotCacheRecords",f:kr},195:{n:"BrtBeginPCDHierarchies",f:kr},196:{n:"BrtEndPCDHierarchies",f:kr},197:{n:"BrtBeginPCDHierarchy",f:kr},198:{n:"BrtEndPCDHierarchy",f:kr},199:{n:"BrtBeginPCDHFieldsUsage",f:kr},200:{n:"BrtEndPCDHFieldsUsage",f:kr},201:{n:"BrtBeginExtConnection",f:kr},202:{n:"BrtEndExtConnection",f:kr},203:{n:"BrtBeginECDbProps",f:kr},204:{n:"BrtEndECDbProps",f:kr},205:{n:"BrtBeginECOlapProps",f:kr},206:{n:"BrtEndECOlapProps",f:kr},207:{n:"BrtBeginPCDSConsol",f:kr},208:{n:"BrtEndPCDSConsol",f:kr},209:{n:"BrtBeginPCDSCPages",f:kr},210:{n:"BrtEndPCDSCPages",f:kr},211:{n:"BrtBeginPCDSCPage",f:kr},212:{n:"BrtEndPCDSCPage",f:kr},213:{n:"BrtBeginPCDSCPItem",f:kr},214:{n:"BrtEndPCDSCPItem",f:kr},215:{n:"BrtBeginPCDSCSets",f:kr},216:{n:"BrtEndPCDSCSets",f:kr},217:{n:"BrtBeginPCDSCSet",f:kr},218:{n:"BrtEndPCDSCSet",f:kr},219:{n:"BrtBeginPCDFGroup",f:kr},220:{n:"BrtEndPCDFGroup",f:kr},221:{n:"BrtBeginPCDFGItems",f:kr},222:{n:"BrtEndPCDFGItems",f:kr},223:{n:"BrtBeginPCDFGRange",f:kr},224:{n:"BrtEndPCDFGRange",f:kr},225:{n:"BrtBeginPCDFGDiscrete",f:kr},226:{n:"BrtEndPCDFGDiscrete",f:kr},227:{n:"BrtBeginPCDSDTupleCache",f:kr},228:{n:"BrtEndPCDSDTupleCache",f:kr},229:{n:"BrtBeginPCDSDTCEntries",f:kr},230:{n:"BrtEndPCDSDTCEntries",f:kr},231:{n:"BrtBeginPCDSDTCEMembers",f:kr},232:{n:"BrtEndPCDSDTCEMembers",f:kr},233:{n:"BrtBeginPCDSDTCEMember",f:kr},234:{n:"BrtEndPCDSDTCEMember",f:kr},235:{n:"BrtBeginPCDSDTCQueries",f:kr},236:{n:"BrtEndPCDSDTCQueries",f:kr},237:{n:"BrtBeginPCDSDTCQuery",f:kr},238:{n:"BrtEndPCDSDTCQuery",f:kr},239:{n:"BrtBeginPCDSDTCSets",f:kr},240:{n:"BrtEndPCDSDTCSets",f:kr},241:{n:"BrtBeginPCDSDTCSet",f:kr},242:{n:"BrtEndPCDSDTCSet",f:kr},243:{n:"BrtBeginPCDCalcItems",f:kr},244:{n:"BrtEndPCDCalcItems",f:kr},245:{n:"BrtBeginPCDCalcItem",f:kr},246:{n:"BrtEndPCDCalcItem",f:kr},247:{n:"BrtBeginPRule",f:kr},248:{n:"BrtEndPRule",f:kr},249:{n:"BrtBeginPRFilters",f:kr},250:{n:"BrtEndPRFilters",f:kr},251:{n:"BrtBeginPRFilter",f:kr},252:{n:"BrtEndPRFilter",f:kr},253:{n:"BrtBeginPNames",f:kr},254:{n:"BrtEndPNames",f:kr},255:{n:"BrtBeginPName",f:kr},256:{n:"BrtEndPName",f:kr},257:{n:"BrtBeginPNPairs",f:kr},258:{n:"BrtEndPNPairs",f:kr},259:{n:"BrtBeginPNPair",f:kr},260:{n:"BrtEndPNPair",f:kr},261:{n:"BrtBeginECWebProps",f:kr},262:{n:"BrtEndECWebProps",f:kr},263:{n:"BrtBeginEcWpTables",f:kr},264:{n:"BrtEndECWPTables",f:kr},265:{n:"BrtBeginECParams",f:kr},266:{n:"BrtEndECParams",f:kr},267:{n:"BrtBeginECParam",f:kr},268:{n:"BrtEndECParam",f:kr},269:{n:"BrtBeginPCDKPIs",f:kr},270:{n:"BrtEndPCDKPIs",f:kr},271:{n:"BrtBeginPCDKPI",f:kr},272:{n:"BrtEndPCDKPI",f:kr},273:{n:"BrtBeginDims",f:kr},274:{n:"BrtEndDims",f:kr},275:{n:"BrtBeginDim",f:kr},276:{n:"BrtEndDim",f:kr},277:{n:"BrtIndexPartEnd",f:kr},278:{n:"BrtBeginStyleSheet",f:kr},279:{n:"BrtEndStyleSheet",f:kr},280:{n:"BrtBeginSXView",f:kr},281:{n:"BrtEndSXVI",f:kr},282:{n:"BrtBeginSXVI",f:kr},283:{n:"BrtBeginSXVIs",f:kr},284:{n:"BrtEndSXVIs",f:kr},285:{n:"BrtBeginSXVD",f:kr},286:{n:"BrtEndSXVD",f:kr},287:{n:"BrtBeginSXVDs",f:kr},288:{n:"BrtEndSXVDs",f:kr},289:{n:"BrtBeginSXPI",f:kr},290:{n:"BrtEndSXPI",f:kr},291:{n:"BrtBeginSXPIs",f:kr},292:{n:"BrtEndSXPIs",f:kr},293:{n:"BrtBeginSXDI",f:kr},294:{n:"BrtEndSXDI",f:kr},295:{n:"BrtBeginSXDIs",f:kr},296:{n:"BrtEndSXDIs",f:kr},297:{n:"BrtBeginSXLI",f:kr},298:{n:"BrtEndSXLI",f:kr},299:{n:"BrtBeginSXLIRws",f:kr},300:{n:"BrtEndSXLIRws",f:kr},301:{n:"BrtBeginSXLICols",f:kr},302:{n:"BrtEndSXLICols",f:kr},303:{n:"BrtBeginSXFormat",f:kr},304:{n:"BrtEndSXFormat",f:kr},305:{n:"BrtBeginSXFormats",f:kr},306:{n:"BrtEndSxFormats",f:kr},307:{n:"BrtBeginSxSelect",f:kr},308:{n:"BrtEndSxSelect",f:kr},309:{n:"BrtBeginISXVDRws",f:kr},310:{n:"BrtEndISXVDRws",f:kr},311:{n:"BrtBeginISXVDCols",f:kr},312:{n:"BrtEndISXVDCols",f:kr},313:{n:"BrtEndSXLocation",f:kr},314:{n:"BrtBeginSXLocation",f:kr},315:{n:"BrtEndSXView",f:kr},316:{n:"BrtBeginSXTHs",f:kr},317:{n:"BrtEndSXTHs",f:kr},318:{n:"BrtBeginSXTH",f:kr},319:{n:"BrtEndSXTH",f:kr},320:{n:"BrtBeginISXTHRws",f:kr},321:{n:"BrtEndISXTHRws",f:kr},322:{n:"BrtBeginISXTHCols",f:kr},323:{n:"BrtEndISXTHCols",f:kr},324:{n:"BrtBeginSXTDMPS",f:kr},325:{n:"BrtEndSXTDMPs",f:kr},326:{n:"BrtBeginSXTDMP",f:kr},327:{n:"BrtEndSXTDMP",f:kr},328:{n:"BrtBeginSXTHItems",f:kr},329:{n:"BrtEndSXTHItems",f:kr},330:{n:"BrtBeginSXTHItem",f:kr},331:{n:"BrtEndSXTHItem",f:kr},332:{n:"BrtBeginMetadata",f:kr},333:{n:"BrtEndMetadata",f:kr},334:{n:"BrtBeginEsmdtinfo",f:kr},335:{n:"BrtMdtinfo",f:kr},336:{n:"BrtEndEsmdtinfo",f:kr},337:{n:"BrtBeginEsmdb",f:kr},338:{n:"BrtEndEsmdb",f:kr},339:{n:"BrtBeginEsfmd",f:kr},340:{n:"BrtEndEsfmd",f:kr},341:{n:"BrtBeginSingleCells",f:kr},342:{n:"BrtEndSingleCells",f:kr},343:{n:"BrtBeginList",f:kr},344:{n:"BrtEndList",f:kr},345:{n:"BrtBeginListCols",f:kr},346:{n:"BrtEndListCols",f:kr},347:{n:"BrtBeginListCol",f:kr},348:{n:"BrtEndListCol",f:kr},349:{n:"BrtBeginListXmlCPr",f:kr},350:{n:"BrtEndListXmlCPr",f:kr},351:{n:"BrtListCCFmla",f:kr},352:{n:"BrtListTrFmla",f:kr},353:{n:"BrtBeginExternals",f:kr},354:{n:"BrtEndExternals",f:kr},355:{n:"BrtSupBookSrc",f:bt},357:{n:"BrtSupSelf",f:kr},358:{n:"BrtSupSame",f:kr},359:{n:"BrtSupTabs",f:kr},360:{n:"BrtBeginSupBook",f:kr},361:{n:"BrtPlaceholderName",f:kr},362:{n:"BrtExternSheet",f:Ei},363:{n:"BrtExternTableStart",f:kr},364:{n:"BrtExternTableEnd",f:kr},366:{n:"BrtExternRowHdr",f:kr},367:{n:"BrtExternCellBlank",f:kr},368:{n:"BrtExternCellReal",f:kr},369:{n:"BrtExternCellBool",f:kr},370:{n:"BrtExternCellError",f:kr},371:{n:"BrtExternCellString",f:kr},372:{n:"BrtBeginEsmdx",f:kr},373:{n:"BrtEndEsmdx",f:kr},374:{n:"BrtBeginMdxSet",f:kr},375:{n:"BrtEndMdxSet",f:kr},376:{n:"BrtBeginMdxMbrProp",f:kr},377:{n:"BrtEndMdxMbrProp",f:kr},378:{n:"BrtBeginMdxKPI",f:kr},379:{n:"BrtEndMdxKPI",f:kr},380:{n:"BrtBeginEsstr",f:kr},381:{n:"BrtEndEsstr",f:kr},382:{n:"BrtBeginPRFItem",f:kr},383:{n:"BrtEndPRFItem",f:kr},384:{n:"BrtBeginPivotCacheIDs",f:kr},385:{n:"BrtEndPivotCacheIDs",f:kr},386:{n:"BrtBeginPivotCacheID",f:kr},387:{n:"BrtEndPivotCacheID",f:kr},388:{n:"BrtBeginISXVIs",f:kr},389:{n:"BrtEndISXVIs",f:kr},390:{n:"BrtBeginColInfos",f:kr},391:{n:"BrtEndColInfos",f:kr},392:{n:"BrtBeginRwBrk",f:kr},393:{n:"BrtEndRwBrk",f:kr},394:{n:"BrtBeginColBrk",f:kr},395:{n:"BrtEndColBrk",f:kr},396:{n:"BrtBrk",f:kr},397:{n:"BrtUserBookView",f:kr},398:{n:"BrtInfo",f:kr},399:{n:"BrtCUsr",f:kr},400:{n:"BrtUsr",f:kr},401:{n:"BrtBeginUsers",f:kr},403:{n:"BrtEOF",f:kr},404:{n:"BrtUCR",f:kr},405:{n:"BrtRRInsDel",f:kr},406:{n:"BrtRREndInsDel",f:kr},407:{n:"BrtRRMove",f:kr},408:{n:"BrtRREndMove",f:kr},409:{n:"BrtRRChgCell",f:kr},410:{n:"BrtRREndChgCell",f:kr},411:{n:"BrtRRHeader",f:kr},412:{n:"BrtRRUserView",f:kr},413:{n:"BrtRRRenSheet",f:kr},414:{n:"BrtRRInsertSh",f:kr},415:{n:"BrtRRDefName",f:kr},416:{n:"BrtRRNote",f:kr},417:{n:"BrtRRConflict",f:kr},418:{n:"BrtRRTQSIF",f:kr},419:{n:"BrtRRFormat",f:kr},420:{n:"BrtRREndFormat",f:kr},421:{n:"BrtRRAutoFmt",f:kr},422:{n:"BrtBeginUserShViews",f:kr},423:{n:"BrtBeginUserShView",f:kr},424:{n:"BrtEndUserShView",f:kr},425:{n:"BrtEndUserShViews",f:kr},426:{n:"BrtArrFmla",f:Tm},427:{n:"BrtShrFmla",f:xm},428:{n:"BrtTable",f:kr},429:{n:"BrtBeginExtConnections",f:kr},430:{n:"BrtEndExtConnections",f:kr},431:{n:"BrtBeginPCDCalcMems",f:kr},432:{n:"BrtEndPCDCalcMems",f:kr},433:{n:"BrtBeginPCDCalcMem",f:kr},434:{n:"BrtEndPCDCalcMem",f:kr},435:{n:"BrtBeginPCDHGLevels",f:kr},436:{n:"BrtEndPCDHGLevels",f:kr},437:{n:"BrtBeginPCDHGLevel",f:kr},438:{n:"BrtEndPCDHGLevel",f:kr},439:{n:"BrtBeginPCDHGLGroups",f:kr},440:{n:"BrtEndPCDHGLGroups",f:kr},441:{n:"BrtBeginPCDHGLGroup",f:kr},442:{n:"BrtEndPCDHGLGroup",f:kr},443:{n:"BrtBeginPCDHGLGMembers",f:kr},444:{n:"BrtEndPCDHGLGMembers",f:kr},445:{n:"BrtBeginPCDHGLGMember",f:kr},446:{n:"BrtEndPCDHGLGMember",f:kr},447:{n:"BrtBeginQSI",f:kr},448:{n:"BrtEndQSI",f:kr},449:{n:"BrtBeginQSIR",f:kr},450:{n:"BrtEndQSIR",f:kr},451:{n:"BrtBeginDeletedNames",f:kr},452:{n:"BrtEndDeletedNames",f:kr},453:{n:"BrtBeginDeletedName",f:kr},454:{n:"BrtEndDeletedName",f:kr},455:{n:"BrtBeginQSIFs",f:kr},456:{n:"BrtEndQSIFs",f:kr},457:{n:"BrtBeginQSIF",f:kr},458:{n:"BrtEndQSIF",f:kr},459:{n:"BrtBeginAutoSortScope",f:kr},460:{n:"BrtEndAutoSortScope",f:kr},461:{n:"BrtBeginConditionalFormatting",f:kr},462:{n:"BrtEndConditionalFormatting",f:kr},463:{n:"BrtBeginCFRule",f:kr},464:{n:"BrtEndCFRule",f:kr},465:{n:"BrtBeginIconSet",f:kr},466:{n:"BrtEndIconSet",f:kr},467:{n:"BrtBeginDatabar",f:kr},468:{n:"BrtEndDatabar",f:kr},469:{n:"BrtBeginColorScale",f:kr},470:{n:"BrtEndColorScale",f:kr},471:{n:"BrtCFVO",f:kr},472:{n:"BrtExternValueMeta",f:kr},473:{n:"BrtBeginColorPalette",f:kr},474:{n:"BrtEndColorPalette",f:kr},475:{n:"BrtIndexedColor",f:kr},476:{n:"BrtMargins",f:Am},477:{n:"BrtPrintOptions",f:kr},478:{n:"BrtPageSetup",f:kr},479:{n:"BrtBeginHeaderFooter",f:kr},480:{n:"BrtEndHeaderFooter",f:kr},481:{n:"BrtBeginSXCrtFormat",f:kr},482:{n:"BrtEndSXCrtFormat",f:kr},483:{n:"BrtBeginSXCrtFormats",f:kr},484:{n:"BrtEndSXCrtFormats",f:kr},485:{n:"BrtWsFmtInfo",f:rm},486:{n:"BrtBeginMgs",f:kr},487:{n:"BrtEndMGs",f:kr},488:{n:"BrtBeginMGMaps",f:kr},489:{n:"BrtEndMGMaps",f:kr},490:{n:"BrtBeginMG",f:kr},491:{n:"BrtEndMG",f:kr},492:{n:"BrtBeginMap",f:kr},493:{n:"BrtEndMap",f:kr},494:{n:"BrtHLink",f:Cm},495:{n:"BrtBeginDCon",f:kr},496:{n:"BrtEndDCon",f:kr},497:{n:"BrtBeginDRefs",f:kr},498:{n:"BrtEndDRefs",f:kr},499:{n:"BrtDRef",f:kr},500:{n:"BrtBeginScenMan",f:kr},501:{n:"BrtEndScenMan",f:kr},502:{n:"BrtBeginSct",f:kr},503:{n:"BrtEndSct",f:kr},504:{n:"BrtSlc",f:kr},505:{n:"BrtBeginDXFs",f:kr},506:{n:"BrtEndDXFs",f:kr},507:{n:"BrtDXF",f:kr},508:{n:"BrtBeginTableStyles",f:kr},509:{n:"BrtEndTableStyles",f:kr},510:{n:"BrtBeginTableStyle",f:kr},511:{n:"BrtEndTableStyle",f:kr},512:{n:"BrtTableStyleElement",f:kr},513:{n:"BrtTableStyleClient",f:kr},514:{n:"BrtBeginVolDeps",f:kr},515:{n:"BrtEndVolDeps",f:kr},516:{n:"BrtBeginVolType",f:kr},517:{n:"BrtEndVolType",f:kr},518:{n:"BrtBeginVolMain",f:kr},519:{n:"BrtEndVolMain",f:kr},520:{n:"BrtBeginVolTopic",f:kr},521:{n:"BrtEndVolTopic",f:kr},522:{n:"BrtVolSubtopic",f:kr},523:{n:"BrtVolRef",f:kr},524:{n:"BrtVolNum",f:kr},525:{n:"BrtVolErr",f:kr},526:{n:"BrtVolStr",f:kr},527:{n:"BrtVolBool",f:kr},528:{n:"BrtBeginCalcChain$",f:kr},529:{n:"BrtEndCalcChain$",f:kr},530:{n:"BrtBeginSortState",f:kr},531:{n:"BrtEndSortState",f:kr},532:{n:"BrtBeginSortCond",f:kr},533:{n:"BrtEndSortCond",f:kr},534:{n:"BrtBookProtection",f:kr},535:{n:"BrtSheetProtection",f:kr},536:{n:"BrtRangeProtection",f:kr},537:{n:"BrtPhoneticInfo",f:kr},538:{n:"BrtBeginECTxtWiz",f:kr},539:{n:"BrtEndECTxtWiz",f:kr},540:{n:"BrtBeginECTWFldInfoLst",f:kr},541:{n:"BrtEndECTWFldInfoLst",f:kr},542:{n:"BrtBeginECTwFldInfo",f:kr},548:{n:"BrtFileSharing",f:kr},549:{n:"BrtOleSize",f:kr},550:{n:"BrtDrawing",f:bt},551:{n:"BrtLegacyDrawing",f:kr},552:{n:"BrtLegacyDrawingHF",f:kr},553:{n:"BrtWebOpt",f:kr},554:{n:"BrtBeginWebPubItems",f:kr},555:{n:"BrtEndWebPubItems",f:kr},556:{n:"BrtBeginWebPubItem",f:kr},557:{n:"BrtEndWebPubItem",f:kr},558:{n:"BrtBeginSXCondFmt",f:kr},559:{n:"BrtEndSXCondFmt",f:kr},560:{n:"BrtBeginSXCondFmts",f:kr},561:{n:"BrtEndSXCondFmts",f:kr},562:{n:"BrtBkHim",f:kr},564:{n:"BrtColor",f:kr},565:{n:"BrtBeginIndexedColors",f:kr},566:{n:"BrtEndIndexedColors",f:kr},569:{n:"BrtBeginMRUColors",f:kr},570:{n:"BrtEndMRUColors",f:kr},572:{n:"BrtMRUColor",f:kr},573:{n:"BrtBeginDVals",f:kr},574:{n:"BrtEndDVals",f:kr},577:{n:"BrtSupNameStart",f:kr},578:{n:"BrtSupNameValueStart",f:kr},579:{n:"BrtSupNameValueEnd",f:kr},580:{n:"BrtSupNameNum",f:kr},581:{n:"BrtSupNameErr",f:kr},582:{n:"BrtSupNameSt",f:kr},583:{n:"BrtSupNameNil",f:kr},584:{n:"BrtSupNameBool",f:kr},585:{n:"BrtSupNameFmla",f:kr},586:{n:"BrtSupNameBits",f:kr},587:{n:"BrtSupNameEnd",f:kr},588:{n:"BrtEndSupBook",f:kr},589:{n:"BrtCellSmartTagProperty",f:kr},590:{n:"BrtBeginCellSmartTag",f:kr},591:{n:"BrtEndCellSmartTag",f:kr},592:{n:"BrtBeginCellSmartTags",f:kr},593:{n:"BrtEndCellSmartTags",f:kr},594:{n:"BrtBeginSmartTags",f:kr},595:{n:"BrtEndSmartTags",f:kr},596:{n:"BrtSmartTagType",f:kr},597:{n:"BrtBeginSmartTagTypes",f:kr},598:{n:"BrtEndSmartTagTypes",f:kr},599:{n:"BrtBeginSXFilters",f:kr},600:{n:"BrtEndSXFilters",f:kr},601:{n:"BrtBeginSXFILTER",f:kr},602:{n:"BrtEndSXFilter",f:kr},603:{n:"BrtBeginFills",f:kr},604:{n:"BrtEndFills",f:kr},605:{n:"BrtBeginCellWatches",f:kr},606:{n:"BrtEndCellWatches",f:kr},607:{n:"BrtCellWatch",f:kr},608:{n:"BrtBeginCRErrs",f:kr},609:{n:"BrtEndCRErrs",f:kr},610:{n:"BrtCrashRecErr",f:kr},611:{n:"BrtBeginFonts",f:kr},612:{n:"BrtEndFonts",f:kr},613:{n:"BrtBeginBorders",f:kr},614:{n:"BrtEndBorders",f:kr},615:{n:"BrtBeginFmts",f:kr},616:{n:"BrtEndFmts",f:kr},617:{n:"BrtBeginCellXFs",f:kr},618:{n:"BrtEndCellXFs",f:kr},619:{n:"BrtBeginStyles",f:kr},620:{n:"BrtEndStyles",f:kr},625:{n:"BrtBigName",f:kr},626:{n:"BrtBeginCellStyleXFs",f:kr},627:{n:"BrtEndCellStyleXFs",f:kr},628:{n:"BrtBeginComments",f:kr},629:{n:"BrtEndComments",f:kr},630:{n:"BrtBeginCommentAuthors",f:kr},631:{n:"BrtEndCommentAuthors",f:kr},632:{n:"BrtCommentAuthor",f:hv},633:{n:"BrtBeginCommentList",f:kr},634:{n:"BrtEndCommentList",f:kr},635:{n:"BrtBeginComment",f:cv},636:{n:"BrtEndComment",f:kr},637:{n:"BrtCommentText",f:st},638:{n:"BrtBeginOleObjects",f:kr},639:{n:"BrtOleObject",f:kr},640:{n:"BrtEndOleObjects",f:kr},641:{n:"BrtBeginSxrules",f:kr},642:{n:"BrtEndSxRules",f:kr},643:{n:"BrtBeginActiveXControls",f:kr},644:{n:"BrtActiveX",f:kr},645:{n:"BrtEndActiveXControls",f:kr},646:{n:"BrtBeginPCDSDTCEMembersSortBy",f:kr},648:{n:"BrtBeginCellIgnoreECs",f:kr},649:{n:"BrtCellIgnoreEC",f:kr},650:{n:"BrtEndCellIgnoreECs",f:kr},651:{n:"BrtCsProp",f:kr},652:{n:"BrtCsPageSetup",f:kr},653:{n:"BrtBeginUserCsViews",f:kr},654:{n:"BrtEndUserCsViews",f:kr},655:{n:"BrtBeginUserCsView",f:kr},656:{n:"BrtEndUserCsView",f:kr},657:{n:"BrtBeginPcdSFCIEntries",f:kr},658:{n:"BrtEndPCDSFCIEntries",f:kr},659:{n:"BrtPCDSFCIEntry",f:kr},660:{n:"BrtBeginListParts",f:kr},661:{n:"BrtListPart",f:kr},662:{n:"BrtEndListParts",f:kr},663:{n:"BrtSheetCalcProp",f:kr},664:{n:"BrtBeginFnGroup",f:kr},665:{n:"BrtFnGroup",f:kr},666:{n:"BrtEndFnGroup",f:kr},667:{n:"BrtSupAddin",f:kr},668:{n:"BrtSXTDMPOrder",f:kr},669:{n:"BrtCsProtection",f:kr},671:{n:"BrtBeginWsSortMap",f:kr},672:{n:"BrtEndWsSortMap",f:kr},673:{n:"BrtBeginRRSort",f:kr},674:{n:"BrtEndRRSort",f:kr},675:{n:"BrtRRSortItem",f:kr},676:{n:"BrtFileSharingIso",f:kr},677:{n:"BrtBookProtectionIso",f:kr},678:{n:"BrtSheetProtectionIso",f:kr},679:{n:"BrtCsProtectionIso",f:kr},680:{n:"BrtRangeProtectionIso",f:kr},1024:{n:"BrtRwDescent",f:kr},1025:{n:"BrtKnownFonts",f:kr},1026:{n:"BrtBeginSXTupleSet",f:kr},1027:{n:"BrtEndSXTupleSet",f:kr},1028:{n:"BrtBeginSXTupleSetHeader",f:kr},1029:{n:"BrtEndSXTupleSetHeader",f:kr},1030:{n:"BrtSXTupleSetHeaderItem",f:kr},1031:{n:"BrtBeginSXTupleSetData",f:kr},1032:{n:"BrtEndSXTupleSetData",f:kr},1033:{n:"BrtBeginSXTupleSetRow",f:kr},1034:{n:"BrtEndSXTupleSetRow",f:kr},1035:{n:"BrtSXTupleSetRowItem",f:kr},1036:{n:"BrtNameExt",f:kr},1037:{n:"BrtPCDH14",f:kr},1038:{n:"BrtBeginPCDCalcMem14",f:kr},1039:{n:"BrtEndPCDCalcMem14",f:kr},1040:{n:"BrtSXTH14",f:kr},1041:{n:"BrtBeginSparklineGroup",f:kr},1042:{n:"BrtEndSparklineGroup",f:kr},1043:{n:"BrtSparkline",f:kr},1044:{n:"BrtSXDI14",f:kr},1045:{n:"BrtWsFmtInfoEx14",f:kr},1046:{n:"BrtBeginConditionalFormatting14",f:kr},1047:{n:"BrtEndConditionalFormatting14",f:kr},1048:{n:"BrtBeginCFRule14",f:kr},1049:{n:"BrtEndCFRule14",f:kr},1050:{n:"BrtCFVO14",f:kr},1051:{n:"BrtBeginDatabar14",f:kr},1052:{n:"BrtBeginIconSet14",f:kr},1053:{n:"BrtDVal14",f:kr},1054:{n:"BrtBeginDVals14",f:kr},1055:{n:"BrtColor14",f:kr},1056:{n:"BrtBeginSparklines",f:kr},1057:{n:"BrtEndSparklines",f:kr},1058:{n:"BrtBeginSparklineGroups",f:kr},1059:{n:"BrtEndSparklineGroups",f:kr},1061:{n:"BrtSXVD14",f:kr},1062:{n:"BrtBeginSxview14",f:kr},1063:{n:"BrtEndSxview14",f:kr},1066:{n:"BrtBeginPCD14",f:kr},1067:{n:"BrtEndPCD14",f:kr},1068:{n:"BrtBeginExtConn14",f:kr},1069:{n:"BrtEndExtConn14",f:kr},1070:{n:"BrtBeginSlicerCacheIDs",f:kr},1071:{n:"BrtEndSlicerCacheIDs",f:kr},1072:{n:"BrtBeginSlicerCacheID",f:kr},1073:{n:"BrtEndSlicerCacheID",f:kr},1075:{n:"BrtBeginSlicerCache",f:kr},1076:{n:"BrtEndSlicerCache",f:kr},1077:{n:"BrtBeginSlicerCacheDef",f:kr},1078:{n:"BrtEndSlicerCacheDef",f:kr},1079:{n:"BrtBeginSlicersEx",f:kr},1080:{n:"BrtEndSlicersEx",f:kr},1081:{n:"BrtBeginSlicerEx",f:kr},1082:{n:"BrtEndSlicerEx",f:kr},1083:{n:"BrtBeginSlicer",f:kr},1084:{n:"BrtEndSlicer",f:kr},1085:{n:"BrtSlicerCachePivotTables",f:kr},1086:{n:"BrtBeginSlicerCacheOlapImpl",f:kr},1087:{n:"BrtEndSlicerCacheOlapImpl",f:kr},1088:{n:"BrtBeginSlicerCacheLevelsData",f:kr},1089:{n:"BrtEndSlicerCacheLevelsData",f:kr},1090:{n:"BrtBeginSlicerCacheLevelData",f:kr},1091:{n:"BrtEndSlicerCacheLevelData",f:kr},1092:{n:"BrtBeginSlicerCacheSiRanges",f:kr},1093:{n:"BrtEndSlicerCacheSiRanges",f:kr},1094:{n:"BrtBeginSlicerCacheSiRange",f:kr},1095:{n:"BrtEndSlicerCacheSiRange",f:kr},1096:{n:"BrtSlicerCacheOlapItem",f:kr},1097:{n:"BrtBeginSlicerCacheSelections",f:kr},1098:{n:"BrtSlicerCacheSelection",f:kr},1099:{n:"BrtEndSlicerCacheSelections",f:kr},1100:{n:"BrtBeginSlicerCacheNative",f:kr},1101:{n:"BrtEndSlicerCacheNative",f:kr},1102:{n:"BrtSlicerCacheNativeItem",f:kr},1103:{n:"BrtRangeProtection14",f:kr},1104:{n:"BrtRangeProtectionIso14",f:kr},1105:{n:"BrtCellIgnoreEC14",f:kr},1111:{n:"BrtList14",f:kr},1112:{n:"BrtCFIcon",f:kr},1113:{n:"BrtBeginSlicerCachesPivotCacheIDs",f:kr},1114:{n:"BrtEndSlicerCachesPivotCacheIDs",f:kr},1115:{n:"BrtBeginSlicers",f:kr},1116:{n:"BrtEndSlicers",f:kr},1117:{n:"BrtWbProp14",f:kr},1118:{n:"BrtBeginSXEdit",f:kr},1119:{n:"BrtEndSXEdit",f:kr},1120:{n:"BrtBeginSXEdits",f:kr},1121:{n:"BrtEndSXEdits",f:kr},1122:{n:"BrtBeginSXChange",f:kr},1123:{n:"BrtEndSXChange",f:kr},1124:{n:"BrtBeginSXChanges",f:kr},1125:{n:"BrtEndSXChanges",f:kr},1126:{n:"BrtSXTupleItems",f:kr},1128:{n:"BrtBeginSlicerStyle",f:kr},1129:{n:"BrtEndSlicerStyle",f:kr},1130:{n:"BrtSlicerStyleElement",f:kr},1131:{n:"BrtBeginStyleSheetExt14",f:kr},1132:{n:"BrtEndStyleSheetExt14",f:kr},1133:{n:"BrtBeginSlicerCachesPivotCacheID",f:kr},1134:{n:"BrtEndSlicerCachesPivotCacheID",f:kr},1135:{n:"BrtBeginConditionalFormattings",f:kr},1136:{n:"BrtEndConditionalFormattings",f:kr},1137:{n:"BrtBeginPCDCalcMemExt",f:kr},1138:{n:"BrtEndPCDCalcMemExt",f:kr},1139:{n:"BrtBeginPCDCalcMemsExt",f:kr},1140:{n:"BrtEndPCDCalcMemsExt",f:kr},1141:{n:"BrtPCDField14",f:kr},1142:{n:"BrtBeginSlicerStyles",f:kr},1143:{n:"BrtEndSlicerStyles",f:kr},1144:{n:"BrtBeginSlicerStyleElements",f:kr},1145:{n:"BrtEndSlicerStyleElements",f:kr},1146:{n:"BrtCFRuleExt",f:kr},1147:{n:"BrtBeginSXCondFmt14",f:kr},1148:{n:"BrtEndSXCondFmt14",f:kr},1149:{n:"BrtBeginSXCondFmts14",f:kr},1150:{n:"BrtEndSXCondFmts14",f:kr},1152:{n:"BrtBeginSortCond14",f:kr},1153:{n:"BrtEndSortCond14",f:kr},1154:{n:"BrtEndDVals14",f:kr},1155:{n:"BrtEndIconSet14",f:kr},1156:{n:"BrtEndDatabar14",f:kr},1157:{n:"BrtBeginColorScale14",f:kr},1158:{n:"BrtEndColorScale14",f:kr},1159:{n:"BrtBeginSxrules14",f:kr},1160:{n:"BrtEndSxrules14",f:kr},1161:{n:"BrtBeginPRule14",f:kr},1162:{n:"BrtEndPRule14",f:kr},1163:{n:"BrtBeginPRFilters14",f:kr},1164:{n:"BrtEndPRFilters14",f:kr},1165:{n:"BrtBeginPRFilter14",f:kr},1166:{n:"BrtEndPRFilter14",f:kr},1167:{n:"BrtBeginPRFItem14",f:kr},1168:{n:"BrtEndPRFItem14",f:kr},1169:{n:"BrtBeginCellIgnoreECs14",f:kr},1170:{n:"BrtEndCellIgnoreECs14",f:kr},1171:{n:"BrtDxf14",f:kr},1172:{n:"BrtBeginDxF14s",f:kr},1173:{n:"BrtEndDxf14s",f:kr},1177:{n:"BrtFilter14",f:kr},1178:{n:"BrtBeginCustomFilters14",f:kr},1180:{n:"BrtCustomFilter14",f:kr},1181:{n:"BrtIconFilter14",f:kr},1182:{n:"BrtPivotCacheConnectionName",f:kr},2048:{n:"BrtBeginDecoupledPivotCacheIDs",f:kr},2049:{n:"BrtEndDecoupledPivotCacheIDs",f:kr},2050:{n:"BrtDecoupledPivotCacheID",f:kr},2051:{n:"BrtBeginPivotTableRefs",f:kr},2052:{n:"BrtEndPivotTableRefs",f:kr},2053:{n:"BrtPivotTableRef",f:kr},2054:{n:"BrtSlicerCacheBookPivotTables",f:kr},2055:{n:"BrtBeginSxvcells",f:kr},2056:{n:"BrtEndSxvcells",f:kr},2057:{n:"BrtBeginSxRow",f:kr},2058:{n:"BrtEndSxRow",f:kr},2060:{n:"BrtPcdCalcMem15",f:kr},2067:{n:"BrtQsi15",f:kr},2068:{n:"BrtBeginWebExtensions",f:kr},2069:{n:"BrtEndWebExtensions",f:kr},2070:{n:"BrtWebExtension",f:kr},2071:{n:"BrtAbsPath15",f:kr},2072:{n:"BrtBeginPivotTableUISettings",f:kr},2073:{n:"BrtEndPivotTableUISettings",f:kr},2075:{n:"BrtTableSlicerCacheIDs",f:kr},2076:{n:"BrtTableSlicerCacheID",f:kr},2077:{n:"BrtBeginTableSlicerCache",f:kr},2078:{n:"BrtEndTableSlicerCache",f:kr},2079:{n:"BrtSxFilter15",f:kr},2080:{n:"BrtBeginTimelineCachePivotCacheIDs",f:kr},2081:{n:"BrtEndTimelineCachePivotCacheIDs",f:kr},2082:{n:"BrtTimelineCachePivotCacheID",f:kr},2083:{n:"BrtBeginTimelineCacheIDs",f:kr},2084:{n:"BrtEndTimelineCacheIDs",f:kr},2085:{n:"BrtBeginTimelineCacheID",f:kr},2086:{n:"BrtEndTimelineCacheID",f:kr},2087:{n:"BrtBeginTimelinesEx",f:kr},2088:{n:"BrtEndTimelinesEx",f:kr},2089:{n:"BrtBeginTimelineEx",f:kr},2090:{n:"BrtEndTimelineEx",f:kr},2091:{n:"BrtWorkBookPr15",f:kr},2092:{n:"BrtPCDH15",f:kr},2093:{n:"BrtBeginTimelineStyle",f:kr},2094:{n:"BrtEndTimelineStyle",f:kr},2095:{n:"BrtTimelineStyleElement",f:kr},2096:{n:"BrtBeginTimelineStylesheetExt15",f:kr},2097:{n:"BrtEndTimelineStylesheetExt15",f:kr},2098:{n:"BrtBeginTimelineStyles",f:kr},2099:{n:"BrtEndTimelineStyles",f:kr},2100:{n:"BrtBeginTimelineStyleElements",f:kr},2101:{n:"BrtEndTimelineStyleElements",f:kr},2102:{n:"BrtDxf15",f:kr},2103:{n:"BrtBeginDxfs15",f:kr},2104:{n:"brtEndDxfs15",f:kr},2105:{n:"BrtSlicerCacheHideItemsWithNoData",f:kr},2106:{n:"BrtBeginItemUniqueNames",f:kr},2107:{n:"BrtEndItemUniqueNames",f:kr},2108:{n:"BrtItemUniqueName",f:kr},2109:{n:"BrtBeginExtConn15",f:kr},2110:{n:"BrtEndExtConn15",f:kr},2111:{n:"BrtBeginOledbPr15",f:kr},2112:{n:"BrtEndOledbPr15",f:kr},2113:{n:"BrtBeginDataFeedPr15",f:kr},2114:{n:"BrtEndDataFeedPr15",f:kr},2115:{n:"BrtTextPr15",f:kr},2116:{n:"BrtRangePr15",f:kr},2117:{n:"BrtDbCommand15",f:kr},2118:{n:"BrtBeginDbTables15",f:kr},2119:{n:"BrtEndDbTables15",f:kr},2120:{n:"BrtDbTable15",f:kr},2121:{n:"BrtBeginDataModel",f:kr},2122:{n:"BrtEndDataModel",f:kr},2123:{n:"BrtBeginModelTables",f:kr},2124:{n:"BrtEndModelTables",f:kr},2125:{n:"BrtModelTable",f:kr},2126:{n:"BrtBeginModelRelationships",f:kr},2127:{n:"BrtEndModelRelationships",f:kr},2128:{n:"BrtModelRelationship",f:kr},2129:{n:"BrtBeginECTxtWiz15",f:kr},2130:{n:"BrtEndECTxtWiz15",f:kr},2131:{n:"BrtBeginECTWFldInfoLst15",f:kr},2132:{n:"BrtEndECTWFldInfoLst15",f:kr},2133:{n:"BrtBeginECTWFldInfo15",f:kr},2134:{n:"BrtFieldListActiveItem",f:kr},2135:{n:"BrtPivotCacheIdVersion",f:kr},2136:{n:"BrtSXDI15",f:kr},65535:{n:"",f:kr}};var _E=A(CE,"n");var TE={3:{n:"BIFF2NUM",f:xu},4:{n:"BIFF2STR",f:Tu},6:{n:"Formula",f:jp},9:{n:"BOF",f:Hn},10:{n:"EOF",f:os},12:{n:"CalcCount",f:$i},13:{n:"CalcMode",f:Ji},14:{n:"CalcPrecision",f:qi},15:{n:"CalcRefMode",f:es},16:{n:"CalcDelta",f:Zi},17:{n:"CalcIter",f:Qi},18:{n:"Protect",f:xs},19:{n:"Password",f:Ss},20:{n:"Header",f:ps},21:{n:"Footer",f:hs},23:{n:"ExternSheet",f:Ei},24:{n:"Lbl",f:gi},25:{n:"WinProtect",f:Ms},26:{n:"VerticalPageBreaks",f:Hs},27:{n:"HorizontalPageBreaks",f:Ws},28:{n:"Note",f:xi},29:{n:"Selection",f:Vs},34:{n:"Date1904",f:ns},35:{n:"ExternName",f:bi},38:{n:"LeftMargin",f:gs},39:{n:"RightMargin",f:As},40:{n:"TopMargin",f:Ps},41:{n:"BottomMargin",f:Ki},42:{n:"PrintRowCol",f:Bs},43:{n:"PrintGrid",f:ws},47:{n:"FilePass",f:Bh},49:{n:"Font",f:Jn},51:{n:"PrintSize",f:Cs},60:{n:"Continue",f:zs},61:{n:"Window1",f:Qn},64:{n:"Backup",f:Gi},65:{n:"Pane",f:Xs},66:{n:"CodePage",f:ts},77:{n:"Pls",f:Gs},80:{n:"DCon",f:js},81:{n:"DConRef",f:Ks},82:{n:"DConName",f:Ys},85:{n:"DefColWidth",f:is},89:{n:"XCT",f:$s},90:{n:"CRN",f:Zs},91:{n:"FileSharing",f:Qs},92:{n:"WriteAccess",f:Vn},93:{n:"Obj",f:Ai},94:{n:"Uncalced",f:Js},95:{n:"CalcSaveRecalc",f:rs},96:{n:"Template",f:qs},97:{n:"Intl",f:ef},99:{n:"ObjProtect",f:ks},125:{n:"ColInfo",f:Ui},128:{n:"Guts",f:ui},129:{n:"WsBool",f:rf},130:{n:"GridSet",f:ds},131:{n:"HCenter",f:vs},132:{n:"VCenter",f:Ls},133:{n:"BoundSheet8",f:zn},134:{n:"WriteProtect",f:Us},140:{n:"Country",f:Pi},141:{n:"HideObj",f:bs},144:{n:"Sort",f:tf},146:{n:"Palette",f:Li},151:{n:"Sync",f:af},152:{n:"LPr",f:nf},153:{n:"DxGCol",f:sf},154:{n:"FnGroupName",f:ff},155:{n:"FilterMode",f:of},156:{n:"BuiltInFnGroupCount",f:Yi},157:{n:"AutoFilterInfo",f:lf},158:{n:"AutoFilter",f:cf},160:{n:"Scl",f:Ds},161:{n:"Setup",f:Hi},174:{n:"ScenMan",f:uf},175:{n:"SCENARIO",f:hf},176:{n:"SxView",f:df},177:{n:"Sxvd",f:vf},178:{n:"SXVI",f:pf},180:{n:"SxIvd",f:bf},181:{n:"SXLI",f:mf},182:{n:"SXPI",f:gf},184:{n:"DocRoute",f:Ef},185:{n:"RecipName",f:kf},189:{n:"MulRk",f:ii},190:{n:"MulBlank",f:si},193:{n:"Mms",f:Es},197:{n:"SXDI",f:Sf},198:{n:"SXDB",f:wf},199:{n:"SXFDB",f:Bf},200:{n:"SXDBB",f:Cf},201:{n:"SXNum",f:_f},202:{n:"SxBool",f:Fs},203:{n:"SxErr",f:Tf},204:{n:"SXInt",f:xf},205:{n:"SXString",f:If},206:{n:"SXDtr",f:Af},207:{n:"SxNil",f:yf},208:{n:"SXTbl",f:Rf},209:{n:"SXTBRGIITM",f:Df},210:{n:"SxTbpg",f:Of},211:{n:"ObProj",f:Ff},213:{n:"SXStreamID",f:Pf},215:{n:"DBCell",f:Nf},216:{n:"SXRng",f:Lf},217:{n:"SxIsxoper",f:Mf},218:{n:"BookBool",f:Uf},220:{n:"DbOrParamQry",f:Hf},221:{n:"ScenarioProtect",f:Rs},222:{n:"OleObjectSize",f:Wf},224:{n:"XF",f:ci},225:{n:"InterfaceHdr",f:Wn},226:{n:"InterfaceEnd",f:ms},227:{n:"SXVS",f:Vf},229:{n:"MergeCells",f:Ii},233:{n:"BkHim",f:zf},235:{n:"MsoDrawingGroup",f:Xf},236:{n:"MsoDrawing",f:Gf},237:{n:"MsoDrawingSelection",f:jf},239:{n:"PhoneticInfo",f:Kf},240:{n:"SxRule",f:Yf},241:{n:"SXEx",f:$f},242:{n:"SxFilt",f:Zf},244:{n:"SxDXF",f:Qf},245:{n:"SxItm",f:Jf},246:{n:"SxName",f:qf},247:{n:"SxSelect",f:eo},248:{n:"SXPair",f:ro},249:{n:"SxFmla",f:to},251:{n:"SxFormat",f:ao},252:{n:"SST",f:Xn},253:{n:"LabelSst",f:qn},255:{n:"ExtSST",f:Gn},256:{n:"SXVDEx",f:no},259:{n:"SXFormula",f:io},290:{n:"SXDBEx",f:so},311:{n:"RRDInsDel",f:fo},312:{n:"RRDHead",f:oo},315:{n:"RRDChgCell",f:lo},317:{n:"RRTabId",f:ys},318:{n:"RRDRenSheet",f:co},319:{n:"RRSort",f:uo},320:{n:"RRDMove",f:ho},330:{n:"RRFormat",f:vo},331:{n:"RRAutoFmt",f:po},333:{n:"RRInsertSh",f:bo},334:{n:"RRDMoveBegin",f:mo},335:{n:"RRDMoveEnd",f:go},336:{n:"RRDInsDelBegin",f:Eo},337:{n:"RRDInsDelEnd",f:ko},338:{n:"RRDConflict",f:So},339:{n:"RRDDefName",f:wo},340:{n:"RRDRstEtxp",f:Bo},351:{n:"LRng",f:Co},352:{n:"UsesELFs",f:Ns},353:{n:"DSF",f:ss},401:{n:"CUsr",f:_o},402:{n:"CbUsr",f:To},403:{n:"UsrInfo",f:xo},404:{n:"UsrExcl",f:Io},405:{n:"FileLock",f:Ao},406:{n:"RRDInfo",f:yo},407:{n:"BCUsrs",f:Ro},408:{n:"UsrChk",f:Do},425:{n:"UserBView",f:Oo},426:{n:"UserSViewBegin",f:Fo},427:{n:"UserSViewEnd",f:Po},428:{n:"RRDUserView",f:No},429:{n:"Qsi",f:Lo},430:{n:"SupBook",f:pi},431:{n:"Prot4Rev",f:_s},432:{n:"CondFmt",f:Mo},433:{n:"CF",f:Uo},434:{n:"DVal",f:Ho},437:{n:"DConBin",f:Wo},438:{n:"TxO",f:Di},439:{n:"RefreshAll",f:Is},440:{n:"HLink",f:Oi},441:{n:"Lel",f:Vo},442:{n:"CodeName",f:zo},443:{n:"SXFDBType",f:Xo},444:{n:"Prot4RevPass",f:Ts},445:{n:"ObNoMacros",f:Go},446:{n:"Dv",f:jo},448:{n:"Excel9File",f:ls},449:{n:"RecalcId",f:$n,r:2},450:{n:"EntExU2",f:fs},512:{n:"Dimensions",f:ai},513:{n:"Blank",f:ji},515:{n:"Number",f:di},516:{n:"Label",f:ei},517:{n:"BoolErr",f:hi},518:{n:"Formula",f:jp},519:{n:"String",f:Os},520:{n:"Row",f:jn},523:{n:"Index",f:Ko},545:{n:"Array",f:Ci},549:{n:"DefaultRowHeight",f:Zn},566:{n:"Table",f:Yo},574:{n:"Window2",f:Xi},638:{n:"RK",f:ni},659:{n:"Style",f:Vi},1030:{n:"Formula",f:jp},1048:{n:"BigName",f:$o},1054:{n:"Format",f:ri},1084:{n:"ContinueBigName",f:Zo},1212:{n:"ShrFmla",f:Bi},2048:{n:"HLinkTooltip",f:Fi},2049:{n:"WebPub",f:Qo},2050:{n:"QsiSXTag",f:Jo},2051:{n:"DBQueryExt",f:qo},2052:{n:"ExtString",f:el},2053:{n:"TxtQry",f:rl},2054:{n:"Qsir",f:tl},2055:{n:"Qsif",f:al},2056:{n:"RRDTQSIF",f:nl},2057:{n:"BOF",f:Hn},2058:{n:"OleDbConn",f:il},2059:{n:"WOpt",f:sl},2060:{n:"SXViewEx",f:fl},2061:{n:"SXTH",f:ol},2062:{n:"SXPIEx",f:ll},2063:{n:"SXVDTEx",f:cl},2064:{n:"SXViewEx9",f:ul},2066:{n:"ContinueFrt",f:hl},2067:{n:"RealTimeData",f:dl},2128:{n:"ChartFrtInfo",f:vl},2129:{n:"FrtWrapper",f:pl},2130:{n:"StartBlock",f:bl},2131:{n:"EndBlock",f:ml},2132:{n:"StartObject",f:gl},2133:{n:"EndObject",f:El},2134:{n:"CatLab",f:kl},2135:{n:"YMult",f:Sl},2136:{n:"SXViewLink",f:wl},2137:{n:"PivotChartBits",f:Bl},2138:{n:"FrtFontList",f:Cl},2146:{n:"SheetExt",f:_l},2147:{n:"BookExt",f:Tl,r:12},2148:{n:"SXAddl",f:xl},2149:{n:"CrErr",f:Il},2150:{n:"HFPicture",f:Al},2151:{n:"FeatHdr",f:cs},2152:{n:"Feat",f:yl},2154:{n:"DataLabExt",f:Rl},2155:{n:"DataLabExtContents",f:Dl},2156:{n:"CellWatch",f:Ol},2161:{n:"FeatHdr11",f:Fl},2162:{n:"Feature11",f:Pl},2164:{n:"DropDownObjIds",f:Nl},2165:{n:"ContinueFrt11",f:Ll},2166:{n:"DConn",f:Ml},2167:{n:"List12",f:Ul},2168:{n:"Feature12",f:Hl},2169:{n:"CondFmt12",f:Wl},2170:{n:"CF12",f:Vl},2171:{n:"CFEx",f:zl},2172:{n:"XFCRC",f:Mi,r:12},2173:{n:"XFExt",f:$d,r:12},2174:{n:"AutoFilter12",f:Xl},2175:{n:"ContinueFrt12",f:Gl},2180:{n:"MDTInfo",f:jl},2181:{n:"MDXStr",f:Kl},2182:{n:"MDXTuple",f:Yl},2183:{n:"MDXSet",f:$l},2184:{n:"MDXProp",f:Zl},2185:{n:"MDXKPI",f:Ql},2186:{n:"MDB",f:Jl},2187:{n:"PLV",f:ql},2188:{n:"Compat12",f:as,r:12},2189:{n:"DXF",f:ec},2190:{n:"TableStyles",f:rc,r:12},2191:{n:"TableStyle",f:tc},2192:{n:"TableStyleElement",f:ac},2194:{n:"StyleExt",f:zi},2195:{n:"NamePublish",f:nc},2196:{n:"NameCmt",f:wi,r:12},2197:{n:"SortData",f:ic},2198:{n:"Theme",f:zd,r:12},2199:{n:"GUIDTypeLib", +f:sc},2200:{n:"FnGrp12",f:fc},2201:{n:"NameFnGrp12",f:oc},2202:{n:"MTRSettings",f:_i,r:12},2203:{n:"CompressPictures",f:Yn},2204:{n:"HeaderFooter",f:lc},2205:{n:"CrtLayout12",f:cc},2206:{n:"CrtMlFrt",f:uc},2207:{n:"CrtMlFrtContinue",f:hc},2211:{n:"ForceFullCalculation",f:Kn},2212:{n:"ShapePropsStream",f:dc},2213:{n:"TextPropsStream",f:vc},2214:{n:"RichTextStream",f:pc},2215:{n:"CrtLayout12A",f:bc},4097:{n:"Units",f:mc},4098:{n:"Chart",f:gc},4099:{n:"Series",f:Ec},4102:{n:"DataFormat",f:kc},4103:{n:"LineFormat",f:Sc},4105:{n:"MarkerFormat",f:wc},4106:{n:"AreaFormat",f:Bc},4107:{n:"PieFormat",f:Cc},4108:{n:"AttachedLabel",f:_c},4109:{n:"SeriesText",f:Tc},4116:{n:"ChartFormat",f:xc},4117:{n:"Legend",f:Ic},4118:{n:"SeriesList",f:Ac},4119:{n:"Bar",f:yc},4120:{n:"Line",f:Rc},4121:{n:"Pie",f:Dc},4122:{n:"Area",f:Oc},4123:{n:"Scatter",f:Fc},4124:{n:"CrtLine",f:Pc},4125:{n:"Axis",f:Nc},4126:{n:"Tick",f:Lc},4127:{n:"ValueRange",f:Mc},4128:{n:"CatSerRange",f:Uc},4129:{n:"AxisLine",f:Hc},4130:{n:"CrtLink",f:Wc},4132:{n:"DefaultText",f:Vc},4133:{n:"Text",f:zc},4134:{n:"FontX",f:us},4135:{n:"ObjectLink",f:Xc},4146:{n:"Frame",f:Gc},4147:{n:"Begin",f:jc},4148:{n:"End",f:Kc},4149:{n:"PlotArea",f:Yc},4154:{n:"Chart3d",f:$c},4156:{n:"PicF",f:Zc},4157:{n:"DropBar",f:Qc},4158:{n:"Radar",f:Jc},4159:{n:"Surf",f:qc},4160:{n:"RadarArea",f:eu},4161:{n:"AxisParent",f:ru},4163:{n:"LegendException",f:tu},4164:{n:"ShtProps",f:Wi},4165:{n:"SerToCrt",f:au},4166:{n:"AxesUsed",f:nu},4168:{n:"SBaseRef",f:iu},4170:{n:"SerParent",f:su},4171:{n:"SerAuxTrend",f:fu},4174:{n:"IFmtRecord",f:ou},4175:{n:"Pos",f:lu},4176:{n:"AlRuns",f:cu},4177:{n:"BRAI",f:uu},4187:{n:"SerAuxErrBar",f:hu},4188:{n:"ClrtClient",f:Ni},4189:{n:"SerFmt",f:du},4191:{n:"Chart3DBarShape",f:vu},4192:{n:"Fbi",f:pu},4193:{n:"BopPop",f:bu},4194:{n:"AxcExt",f:mu},4195:{n:"Dat",f:gu},4196:{n:"PlotGrowth",f:Eu},4197:{n:"SIIndex",f:ku},4198:{n:"GelFrame",f:Su},4199:{n:"BopPopCustom",f:wu},4200:{n:"Fbi2",f:Bu},0:{n:"Dimensions",f:ai},2:{n:"BIFF2INT",f:Iu},5:{n:"BoolErr",f:hi},7:{n:"String",f:Au},8:{n:"BIFF2ROW",f:kr},11:{n:"Index",f:Ko},22:{n:"ExternCount",f:Si},30:{n:"BIFF2FORMAT",f:ti},31:{n:"BIFF2FMTCNT",f:kr},32:{n:"BIFF2COLINFO",f:kr},33:{n:"Array",f:Ci},37:{n:"DefaultRowHeight",f:Zn},50:{n:"BIFF2FONTXTRA",f:yu},62:{n:"BIFF2WINDOW2",f:kr},69:{n:"BIFF2FONTCLR",f:kr},86:{n:"BIFF4FMTCNT",f:kr},126:{n:"RK",f:kr},127:{n:"ImData",f:Cu},135:{n:"Addin",f:kr},136:{n:"Edg",f:kr},137:{n:"Pub",f:kr},145:{n:"Sub",f:kr},148:{n:"LHRecord",f:kr},149:{n:"LHNGraph",f:kr},150:{n:"Sound",f:kr},169:{n:"CoordList",f:kr},171:{n:"GCW",f:kr},188:{n:"ShrFmla",f:kr},194:{n:"AddMenu",f:kr},195:{n:"DelMenu",f:kr},214:{n:"RString",f:Ru},223:{n:"UDDesc",f:kr},234:{n:"TabIdConf",f:kr},354:{n:"XL5Modify",f:kr},421:{n:"FileSharing2",f:kr},521:{n:"BOF",f:Hn},536:{n:"Lbl",f:gi},547:{n:"ExternName",f:bi},561:{n:"Font",f:kr},1033:{n:"BOF",f:Hn},2157:{n:"FeatInfo",f:kr},2163:{n:"FeatInfo11",f:kr},2177:{n:"SXAddl12",f:kr},2240:{n:"AutoWebPub",f:kr},2241:{n:"ListObj",f:kr},2242:{n:"ListField",f:kr},2243:{n:"ListDV",f:kr},2244:{n:"ListCondFmt",f:kr},2245:{n:"ListCF",f:kr},2246:{n:"FMQry",f:kr},2247:{n:"FMSQry",f:kr},2248:{n:"PLV",f:kr},2249:{n:"LnExt",f:kr},2250:{n:"MkrExt",f:kr},2251:{n:"CrtCoopt",f:kr},67:{n:"BIFF2XF",f:kr},579:{n:"BIFF3XF",f:kr},1091:{n:"BIFF4XF",f:kr},29282:{}};function xE(e,r,t,a){var n=a||(t||[]).length;var i=e.next(4+n);i.write_shift(2,r);i.write_shift(2,n);if(n>0&&ir(t))e.push(t)}function IE(e,r){if(r.bookType!="biff2")throw"unsupported BIFF version";var t=Br(4);t.write_shift(2,2);t.write_shift(2,16);return t}function AE(e,r,t){if(!e)e=Br(7);e.write_shift(2,r);e.write_shift(2,t);e.write_shift(1,0);e.write_shift(1,0);e.write_shift(1,0);return e}function yE(e,r,t){var a=Br(9);AE(a,e,r);a.write_shift(2,t);return a}function RE(e,r,t){var a=Br(15);AE(a,e,r);a.write_shift(8,t,"f");return a}function DE(e,r,t,a){var n=Br(9);AE(n,e,r);if(a=="e"){n.write_shift(1,t);n.write_shift(1,1)}else{n.write_shift(1,t?1:0);n.write_shift(1,0)}return n}function OE(e,r,t){var a=Br(8+2*t.length);AE(a,e,r);a.write_shift(1,t.length);a.write_shift(t.length,t,"sbcs");return a.l=0&&i<65536)xE(e,2,yE(t,a,i));else xE(e,3,RE(t,a,i));return;case"b":;case"e":xE(e,5,DE(t,a,r.v,r.t));return;case"s":;case"str":xE(e,4,OE(t,a,r.v));return;}xE(e,1,AE(null,t,a))}function PE(e,r,t,a,n){var i=Array.isArray(r);var s=Yr(r["!ref"]||"A1"),f,o="",l=[];for(var c=s.s.r;c<=s.e.r;++c){o=Fr(c);for(var u=s.s.c;u<=s.e.c;++u){if(c===s.s.r)l[u]=Mr(u);f=l[u]+o;var h=i?(r[c]||[])[u]:r[f];if(!h)continue;FE(e,h,c,u,a)}}}function NE(e,r){var t=r||{};if(c!=null&&t.dense==null)t.dense=c;var a=_r();var n=0;for(var i=0;i");var i=e.match(/<\/table/i);var s=n.index,f=i&&i.index||e.length;var o=e.slice(s,f).split(/(:?]*>)/i);var l=-1,u=0,h=0,d=0;var v={s:{r:1e7,c:1e7},e:{r:0,c:0}};var p=[],b=0;for(s=0;s/i);for(f=0;f"))>-1)S=S.slice(w+1);while(S.indexOf(">")>-1)S=S.slice(0,S.lastIndexOf("<"));var B=fe(k.slice(0,k.indexOf(">")));d=B.colspan?+B.colspan:1;if((h=+B.rowspan)>0||d>1)p.push({s:{r:l,c:u},e:{r:l+(h||1)-1,c:u+d-1}});if(!S.length){u+=d;continue}S=ue(S).replace(/[\r\n]/g,"");if(v.s.r>l)v.s.r=l;if(v.e.ru)v.s.c=u;if(v.e.c";for(var f=r.s.c;f<=r.e.c;++f){var o=0,l=0;for(var c=0;ct||n[c].s.c>f)continue;if(n[c].e.r1)v.rowspan=o;if(l>1)v.colspan=l;if(a.editable)v.contenteditable="true";v.id="sjs-"+u;i.push(Oe("td",d,v))}var p="";return p+i.join("")+""}function a(e,r,t){var a=[];return a.join("")+""}var n='SheetJS Table Export';var i="";function s(e,r,s){var f=r||{};var o=f.header!=null?f.header:n;var l=f.footer!=null?f.footer:i;var c=[o];var u=jr(e["!ref"]);f.dense=Array.isArray(e);c.push(a(e,u,f));for(var h=u.s.r;h<=u.e.r;++h)c.push(t(e,u,h,f));c.push("
"+l);return c.join("")}return{to_workbook:r,to_sheet:e,_row:t,BEGIN:n,END:i,_preamble:a,from_sheet:s}}();function ME(e,r){var t=r||{};if(c!=null)t.dense=c;var a=t.dense?[]:{};var n=e.getElementsByTagName("tr");var i={s:{r:0,c:0},e:{r:n.length-1,c:0}};var s=[],f=0;var o=0,l=0,u=0,h=0,d=0;for(;o0||d>1)s.push({s:{r:o,c:u},e:{r:o+(h||1)-1,c:u+d-1}});var k={t:"s",v:m};if(m!=null&&m.length){if(!isNaN(Number(m)))k={t:"n",v:Number(m)};else if(!isNaN(G(m).getDate())){k={t:"d",v:H(m)};if(!t.cellDates)k={t:"n",v:P(k.v)};k.z=t.dateNF||E._table[14]}}if(t.dense){if(!a[o])a[o]=[];a[o][u]=k}else a[zr({c:u,r:o})]=k;if(i.e.c/g," ").replace(/<[^>]*>/g,""))};var r={day:["d","dd"],month:["m","mm"],year:["y","yy"],hours:["h","hh"],minutes:["m","mm"],seconds:["s","ss"],"am-pm":["A/P","AM/PM"],"day-of-week":["ddd","dddd"]};return function t(a,n){var i=n||{};if(c!=null&&i.dense==null)i.dense=c;var s=tE(a);var f=[],o;var l;var u={name:""},h="",d=0;var v;var p;var b={},m=[];var g=i.dense?[]:{};var E,k;var S={value:""};var w="",B=0,C;var _=-1,T=-1,x={s:{r:1e6,c:1e7},e:{r:0,c:0}};var I={};var A=[],y={},R=0,D=0;var O=[];var F=[],N={};var M="",U=0;var W=1,V=false;var X=0;aE.lastIndex=0;s=s.replace(//gm,"").replace(//gm,"");while(E=aE.exec(s))switch(E[3]=E[3].replace(/_.*$/,"")){case"table":;case"工作表":if(E[1]==="/"){if(x.e.c>=x.s.c&&x.e.r>=x.s.r)g["!ref"]=Kr(x);if(A.length)g["!merges"]=A;v.name=Se(v["名称"]||v.name);m.push(v.name);b[v.name]=g}else if(E[0].charAt(E[0].length-2)!=="/"){v=fe(E[0],false);_=T=-1;x.s.r=x.s.c=1e7;x.e.r=x.e.c=0;g=i.dense?[]:{};A=[]}break;case"table-row":;case"行":if(E[1]==="/")break;p=fe(E[0],false);if(p["行号"])_=p["行号"]-1;else++_;T=-1;break;case"covered-table-cell":++T;if(i.sheetStubs){if(i.dense){if(!g[_])g[_]=[];g[_][T]={t:"z"}}else g[zr({r:_,c:T})]={t:"z"}}break;case"table-cell":;case"数据":if(E[0].charAt(E[0].length-2)==="/"){S=fe(E[0],false);if(S["number-columns-repeated"])T+=parseInt(S["number-columns-repeated"],10);else++T}else if(E[1]!=="/"){++T;W=1;if(T>x.e.c)x.e.c=T;if(_>x.e.r)x.e.r=_;if(T=O[X][0].s.r&&_<=O[X][0].e.r)if(T>=O[X][0].s.c&&T<=O[X][0].e.c)k.F=O[X][1]}if(S["number-columns-spanned"]||S["number-rows-spanned"]){R=parseInt(S["number-rows-spanned"],10)||0;D=parseInt(S["number-columns-spanned"],10)||0;y={s:{r:_,c:T},e:{r:_+R-1,c:T+D-1}};A.push(y)}if(S["number-columns-repeated"])W=parseInt(S["number-columns-repeated"],10);switch(k.t){case"boolean":k.t="b";k.v=ke(S["boolean-value"]);break;case"float":k.t="n";k.v=parseFloat(S.value);break;case"percentage":k.t="n";k.v=parseFloat(S.value);break;case"currency":k.t="n";k.v=parseFloat(S.value);break;case"date":k.t="d";k.v=H(S["date-value"]);if(!i.cellDates){k.t="n";k.v=P(k.v)}k.z="m/d/yy";break;case"time":k.t="n";k.v=L(S["time-value"])/86400;break;case"number":k.t="n";k.v=parseFloat(S["数据数值"]);break;default:if(k.t==="string"||k.t==="text"||!k.t){k.t="s";if(S["string-value"]!=null)w=ue(S["string-value"])}else throw new Error("Unsupported value type "+k.t);}}else{V=false;if(k.t==="s"){k.v=w||"";V=B==0}if(F.length>0){k.c=F;F=[]}if(w&&i.cellText!==false)k.w=w;if(!V||i.sheetStubs){if(!(i.sheetRows&&i.sheetRows<_)){if(i.dense){if(!g[_])g[_]=[];g[_][T]=k;while(--W>0)g[_][++T]=z(k)}else{g[zr({r:_,c:T})]=k;while(--W>0)g[zr({r:_,c:++T})]=z(k)}if(x.e.c<=T)x.e.c=T}}else{T+=W;W=0}k={};w=""}break;case"document":;case"document-content":;case"电子表格文档":;case"spreadsheet":;case"主体":;case"scripts":;case"styles":;case"font-face-decls":if(E[1]==="/"){if((o=f.pop())[0]!==E[3])throw"Bad state: "+o}else if(E[0].charAt(E[0].length-2)!=="/")f.push([E[3],true]);break;case"annotation":if(E[1]==="/"){if((o=f.pop())[0]!==E[3])throw"Bad state: "+o;N.t=w;N.a=M;F.push(N)}else if(E[0].charAt(E[0].length-2)!=="/"){f.push([E[3],false])}M="";U=0;w="";B=0;break;case"creator":if(E[1]==="/"){M=s.slice(U,E.index)}else U=E.index+E[0].length;break;case"meta":;case"元数据":;case"settings":;case"config-item-set":;case"config-item-map-indexed":;case"config-item-map-entry":;case"config-item-map-named":;case"shapes":;case"frame":;case"text-box":;case"image":;case"data-pilot-tables":;case"list-style":;case"form":;case"dde-links":;case"event-listeners":if(E[1]==="/"){if((o=f.pop())[0]!==E[3])throw"Bad state: "+o}else if(E[0].charAt(E[0].length-2)!=="/")f.push([E[3],false]);w="";B=0;break;case"scientific-number":break;case"currency-symbol":break;case"currency-style":break;case"number-style":;case"percentage-style":;case"date-style":;case"time-style":if(E[1]==="/"){I[u.name]=h;if((o=f.pop())[0]!==E[3])throw"Bad state: "+o}else if(E[0].charAt(E[0].length-2)!=="/"){h="";u=fe(E[0],false);f.push([E[3],true])}break;case"script":break;case"libraries":break;case"automatic-styles":break;case"master-styles":break;case"default-style":;case"page-layout":break;case"style":break;case"map":break;case"font-face":break;case"paragraph-properties":break;case"table-properties":break;case"table-column-properties":break;case"table-row-properties":break;case"table-cell-properties":break;case"number":switch(f[f.length-1][0]){case"time-style":;case"date-style":l=fe(E[0],false);h+=r[E[3]][l.style==="long"?1:0];break;}break;case"fraction":break;case"day":;case"month":;case"year":;case"era":;case"day-of-week":;case"week-of-year":;case"quarter":;case"hours":;case"minutes":;case"seconds":;case"am-pm":switch(f[f.length-1][0]){case"time-style":;case"date-style":l=fe(E[0],false);h+=r[E[3]][l.style==="long"?1:0];break;}break;case"boolean-style":break;case"boolean":break;case"text-style":break;case"text":if(E[0].slice(-2)==="/>")break;else if(E[1]==="/")switch(f[f.length-1][0]){case"number-style":;case"date-style":;case"time-style":h+=s.slice(d,E.index);break;}else d=E.index+E[0].length;break;case"text-content":break;case"text-properties":break;case"body":;case"电子表格":break;case"forms":break;case"table-column":break;case"table-header-rows":break;case"table-row-group":break;case"table-column-group":break;case"table-header-columns":break;case"null-date":break;case"graphic-properties":break;case"calculation-settings":break;case"named-expressions":break;case"named-range":break;case"label-range":break;case"label-ranges":break;case"named-expression":break;case"sort":break;case"sort-by":break;case"sort-groups":break;case"tab":break;case"line-break":break;case"span":break;case"p":;case"文本串":if(E[1]==="/")w=(w.length>0?w+"\n":"")+e(s.slice(B,E.index),C);else{C=fe(E[0],false);B=E.index+E[0].length}break;case"database-range":if(E[1]==="/")break;try{var G=gb(fe(E[0])["target-range-address"]);b[G[0]]["!autofilter"]={ref:G[1]}}catch(j){}break;case"s":break;case"date":break;case"object":break;case"title":;case"标题":break;case"desc":break;case"table-source":break;case"scenario":break;case"iteration":break;case"content-validations":break;case"content-validation":break;case"help-message":break;case"error-message":break;case"database-ranges":break;case"filter":break;case"filter-and":break;case"filter-or":break;case"filter-condition":break;case"list-level-style-bullet":break;case"list-level-style-number":break;case"list-level-properties":break;case"sender-firstname":;case"sender-lastname":;case"sender-initials":;case"sender-title":;case"sender-position":;case"sender-email":;case"sender-phone-private":;case"sender-fax":;case"sender-company":;case"sender-phone-work":;case"sender-street":;case"sender-city":;case"sender-postal-code":;case"sender-country":;case"sender-state-or-province":;case"author-name":;case"author-initials":;case"chapter":;case"file-name":;case"template-name":;case"sheet-name":break;case"event-listener":break;case"initial-creator":;case"creation-date":;case"generator":;case"document-statistic":;case"user-defined":break;case"config-item":break;case"page-number":break;case"page-count":break;case"time":break;case"cell-range-source":break;case"detective":break;case"operation":break;case"highlighted-range":break;case"data-pilot-table":;case"source-cell-range":;case"source-service":;case"data-pilot-field":;case"data-pilot-level":;case"data-pilot-subtotals":;case"data-pilot-subtotal":;case"data-pilot-members":;case"data-pilot-member":;case"data-pilot-display-info":;case"data-pilot-sort-info":;case"data-pilot-layout-info":;case"data-pilot-field-reference":;case"data-pilot-groups":;case"data-pilot-group":;case"data-pilot-group-member":break;case"rect":break;case"dde-connection-decls":;case"dde-connection-decl":;case"dde-link":;case"dde-source":break;case"properties":break;case"property":break;case"a":break;case"table-protection":break;case"data-pilot-grand-total":break;case"office-document-common-attrs":break;default:if(E[2]==="dc:")break;if(E[2]==="draw:")break;if(E[2]==="style:")break;if(E[2]==="form:")break;if(E[2]==="calcext:")break;if(E[2]==="loext:")break;if(E[2]==="uof:")break;if(E[2]==="表:")break;if(E[2]==="字:")break;if(i.WTF)throw new Error(E);}var K={Sheets:b,SheetNames:m};return K}}();function WE(e,r){r=r||{};var t=!!$(e,"objectdata");if(t)var a=da(Q(e,"META-INF/manifest.xml"),r);var n=J(e,"content.xml");if(!n)throw new Error("Missing content.xml in "+(t?"ODS":"UOF")+" file");return HE(t?n:Se(n),r)}function VE(e,r){return HE(e,r)}var zE=function(){var e='';return function r(t,a){return e}}();var XE=function(){var e=" \n";var r=" \n";var t=function(t,a,n,i){var s=[];s.push(' \n');var f=0,o=0,l=jr(t["!ref"]);var c=t["!merges"]||[],u=0;var h=Array.isArray(t);for(f=0;f\n");for(;f<=l.e.r;++f){s.push(" \n");for(o=0;oo)continue;if(c[u].s.r>f)continue;if(c[u].e.c\n")}s.push(" \n");return s.join("")};var a=function(e){e.push(" \n");e.push(' \n');e.push(' \n');e.push(" /\n");e.push(' \n');e.push(" /\n");e.push(" \n");e.push(" \n");e.push(' \n');e.push(" \n")};return function n(e,r){var n=[Ne];var i=De({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:meta":"urn:oasis:names:tc:opendocument:xmlns:meta:1.0","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:presentation":"urn:oasis:names:tc:opendocument:xmlns:presentation:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:chart":"urn:oasis:names:tc:opendocument:xmlns:chart:1.0","xmlns:dr3d":"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0","xmlns:math":"http://www.w3.org/1998/Math/MathML","xmlns:form":"urn:oasis:names:tc:opendocument:xmlns:form:1.0","xmlns:script":"urn:oasis:names:tc:opendocument:xmlns:script:1.0","xmlns:ooo":"http://openoffice.org/2004/office","xmlns:ooow":"http://openoffice.org/2004/writer","xmlns:oooc":"http://openoffice.org/2004/calc","xmlns:dom":"http://www.w3.org/2001/xml-events","xmlns:xforms":"http://www.w3.org/2002/xforms","xmlns:xsd":"http://www.w3.org/2001/XMLSchema","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","xmlns:sheet":"urn:oasis:names:tc:opendocument:sh33tjs:1.0","xmlns:rpt":"http://openoffice.org/2005/report","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","xmlns:xhtml":"http://www.w3.org/1999/xhtml","xmlns:grddl":"http://www.w3.org/2003/g/data-view#","xmlns:tableooo":"http://openoffice.org/2009/table","xmlns:drawooo":"http://openoffice.org/2010/draw","xmlns:calcext":"urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0","xmlns:loext":"urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0","xmlns:field":"urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0","xmlns:formx":"urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0","xmlns:css3t":"http://www.w3.org/TR/css3-text/","office:version":"1.2"});var s=De({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});if(r.bookType=="fods")n.push("\n");else n.push("\n");a(n);n.push(" \n");n.push(" \n");for(var f=0;f!=e.SheetNames.length;++f)n.push(t(e.Sheets[e.SheetNames[f]],e,f,r));n.push(" \n");n.push(" \n");if(r.bookType=="fods")n.push("");else n.push("");return n.join("")}}();function GE(e,r){if(r.bookType=="fods")return XE(e,r);var t=new ee;var a="";var n=[];var i=[];a="mimetype";t.file(a,"application/vnd.oasis.opendocument.spreadsheet");a="content.xml";t.file(a,XE(e,r));n.push([a,"text/xml"]);i.push([a,"ContentFile"]);a="styles.xml";t.file(a,zE(e,r));n.push([a,"text/xml"]);i.push([a,"StylesFile"]);a="manifest.rdf";t.file(a,ma(i,r));n.push([a,"application/rdf+xml"]);a="meta.xml";t.file(a,ga(e,r));n.push([a,"text/xml"]);i.push([a,"MetadataFile"]);a="META-INF/manifest.xml";t.file(a,va(n,r));return t}function jE(e){return function r(t,a){var n=0;for(var i=0;i-1)return"sheet";if(sa.CS&&e==sa.CS)return"chart";if(sa.DS&&e==sa.DS)return"dialog";if(sa.MS&&e==sa.MS)return"macro";if(!e||!e.length)return"sheet";return e}function nk(e,r){if(!e)return 0;try{e=r.map(function a(r){if(!r.id)r.id=r.strRelID;return[r.name,e["!id"][r.id].Target,ak(e["!id"][r.id].Type)]})}catch(t){return null}return!e||e.length===0?null:e}function ik(e,r,t,a,n,i,s,f,o,l,c){try{n[a]=oa(J(e,t,true),r);var u=Q(e,r);switch(s){case"sheet":i[a]=yg(u,r,f,n[a],o,l,c);break;case"chart":var h=Rg(u,r,f,n[a],o,l,c);i[a]=h;if(!h||!h["!chart"])break;var d=te(h["!chart"].Target,r);var v=fa(d);var p=tv(J(e,d,true),oa(J(e,v,true),d));var b=te(p,d);var m=fa(b);h=jm(J(e,b,true),b,f,oa(J(e,m,true),b),o,h);break;case"macro":i[a]=Dg(u,r,f,n[a],o,l,c);break;case"dialog":i[a]=Og(u,r,f,n[a],o,l,c);break;}}catch(g){if(f.WTF)throw g}}var sk=function fS(e){return e.slice(-1)!="/"};function fk(e,r){k(E);r=r||{};rk(r);a();if($(e,"META-INF/manifest.xml"))return WE(e,r);if($(e,"objectdata.xml"))return WE(e,r);var t=I(e.files).filter(sk).sort();var i=ta(J(e,"[Content_Types].xml"),r);var s=false;var f,o;if(i.workbooks.length===0){o="xl/workbook.xml";if(Q(e,o,true))i.workbooks.push(o)}if(i.workbooks.length===0){o="xl/workbook.bin";if(!Q(e,o,true))throw new Error("Could not find workbook");i.workbooks.push(o);s=true}if(i.workbooks[0].slice(-3)=="bin")s=true;if(s)n(1200);var l={};var c={};if(!r.bookSheets&&!r.bookProps){Eb=[];if(i.sst)Eb=Ng(Q(e,i.sst.replace(/^\//,"")),i.sst,r);if(r.cellStyles&&i.themes.length)l=Pg(J(e,i.themes[0].replace(/^\//,""),true)||"",i.themes[0],r);if(i.style)c=Fg(Q(e,i.style.replace(/^\//,"")),i.style,l,r)}var u=Ag(Q(e,i.workbooks[0].replace(/^\//,"")),i.workbooks[0],r);var h={},d="";if(i.coreprops.length!==0){d=J(e,i.coreprops[0].replace(/^\//,""),true);if(d)h=Sa(d);if(i.extprops.length!==0){d=J(e,i.extprops[0].replace(/^\//,""),true);if(d)Ta(d,h,r)}}var v={};if(!r.bookSheets||r.bookProps){if(i.custprops.length!==0){d=J(e,i.custprops[0].replace(/^\//,""),true);if(d)v=ya(d,r)}}var p={};if(r.bookSheets||r.bookProps){if(u.Sheets)f=u.Sheets.map(function R(e){return e.name});else if(h.Worksheets&&h.SheetNames.length>0)f=h.SheetNames;if(r.bookProps){p.Props=h;p.Custprops=v}if(r.bookSheets&&typeof f!=="undefined")p.SheetNames=f;if(r.bookSheets?p.SheetNames:r.bookProps)return p}f={};var b={};if(r.bookDeps&&i.calcchain)b=Mg(Q(e,i.calcchain.replace(/^\//,"")),i.calcchain,r);var m=0;var g={};var S,w;{var B=u.Sheets;h.Worksheets=B.length;h.SheetNames=[];for(var C=0;C!=B.length;++C){h.SheetNames[C]=B[C].name}}var _=s?"bin":"xml";var T="xl/_rels/workbook."+_+".rels";var x=oa(J(e,T,true),T);if(x)x=nk(x,u.Sheets);var A=Q(e,"xl/worksheets/sheet.xml",true)?1:0;for(m=0;m!=h.Worksheets;++m){var y="sheet";if(x&&x[m]){S="xl/"+x[m][1].replace(/[\/]?xl\//,"");y=x[m][2]}else{S="xl/worksheets/sheet"+(m+1-A)+"."+_;S=S.replace(/sheet0\./,"sheet.")}w=S.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels");ik(e,S,w,h.SheetNames[m],g,f,y,r,u,l,c)}if(i.comments)iv(e,i.comments,f,g,r);p={Directory:i,Workbook:u,Props:h,Custprops:v,Deps:b,Sheets:f,SheetNames:h.SheetNames,Strings:Eb,Styles:c,Themes:l,SSF:E.get_table()};if(r.bookFiles){p.keys=t;p.files=e.files}if(r.bookVBA){if(i.vba.length>0)p.vbaraw=Q(e,i.vba[0].replace(/^\//,""),true);else if(i.defaults&&i.defaults.bin==="application/vnd.ms-office.vbaProject")p.vbaraw=Q(e,"xl/vbaProject.bin",true)}return p}function ok(e,r){var t="Version";var a=e.find(t);if(!a||!a.content)throw new Error("ECMA-376 Encrypted file missing "+t);var n=ah(a.content);t="DataSpaceMap";a=e.find(t);if(!a||!a.content)throw new Error("ECMA-376 Encrypted file missing "+t);var i=ih(a.content);if(i.length!=1||i[0].comps.length!=1||i[0].comps[0].t!=0||i[0].name!="StrongEncryptionDataSpace"||i[0].comps[0].v!="EncryptedPackage")throw new Error("ECMA-376 Encrypted file bad "+t);t="StrongEncryptionDataSpace";a=e.find(t);if(!a||!a.content)throw new Error("ECMA-376 Encrypted file missing "+t);var s=sh(a.content);if(s.length!=1||s[0]!="StrongEncryptionTransform")throw new Error("ECMA-376 Encrypted file bad "+t);t="!Primary";a=e.find(t);if(!a||!a.content)throw new Error("ECMA-376 Encrypted file missing "+t);var f=oh(a.content);t="EncryptionInfo";a=e.find(t);if(!a||!a.content)throw new Error("ECMA-376 Encrypted file missing "+t);var o=uh(a.content);throw new Error("File is password-protected")}function lk(e,r){av=1024;if(r.bookType=="ods")return GE(e,r);if(e&&!e.SSF){e.SSF=E.get_table()}if(e&&e.SSF){k(E);E.load_table(e.SSF);r.revssf=R(e.SSF);r.revssf[e.SSF[65535]]=0;r.ssf=e.SSF}r.rels={};r.wbrels={};r.Strings=[];r.Strings.Count=0;r.Strings.Unique=0;var t=r.bookType=="xlsb"?"bin":"xml";var a=r.bookType=="xlsb"||r.bookType=="xlsm";var n=ra();tk(r=r||{});var i=new ee;var s="",f=0;r.cellXfs=[];Cb(r.cellXfs,{},{revssf:{General:0}});if(!e.Props)e.Props={};s="docProps/core.xml";i.file(s,Ca(e.Props,r));n.coreprops.push(s);ua(r.rels,2,s,sa.CORE_PROPS);s="docProps/app.xml";if(e.Props&&e.Props.SheetNames){}else if(!e.Workbook||!e.Workbook.Sheets)e.Props.SheetNames=e.SheetNames;else e.Props.SheetNames=e.SheetNames.map(function(r,t){return[(e.Workbook.Sheets[t]||{}).Hidden!=2,r]}).filter(function(e){return e[0]}).map(function(e){return e[1]});e.Props.Worksheets=e.Props.SheetNames.length;i.file(s,Ia(e.Props,r));n.extprops.push(s);ua(r.rels,3,s,sa.EXT_PROPS);if(e.Custprops!==e.Props&&I(e.Custprops||{}).length>0){s="docProps/custom.xml";i.file(s,Da(e.Custprops,r));n.custprops.push(s);ua(r.rels,4,s,sa.CUST_PROPS)}s="xl/workbook."+t;i.file(s,Ug(e,s,r));n.workbooks.push(s);ua(r.rels,1,s,sa.WB);for(f=1;f<=e.SheetNames.length;++f){var o={"!id":{}};var l=e.Sheets[e.SheetNames[f-1]];var c=(l||{})["!type"]||"sheet";switch(c){case"chart":;default:s="xl/worksheets/sheet"+f+"."+t;i.file(s,Hg(f-1,s,r,e,o));n.sheets.push(s);ua(r.wbrels,-1,"worksheets/sheet"+f+"."+t,sa.WS[0]);}if(l){var u=l["!comments"];if(u&&u.length>0){var h="xl/comments"+f+"."+t;i.file(h,Xg(u,h,r));n.comments.push(h);ua(o,-1,"../comments"+f+"."+t,sa.CMNT)}if(l["!legacy"]){i.file("xl/drawings/vmlDrawing"+f+".vml",nv(f,l["!comments"]))}delete l["!comments"];delete l["!legacy"]}if(o["!id"].rId1)i.file(fa(s),ca(o))}if(r.Strings!=null&&r.Strings.length>0){s="xl/sharedStrings."+t;i.file(s,zg(r.Strings,s,r));n.strs.push(s);ua(r.wbrels,-1,"sharedStrings."+t,sa.SST)}s="xl/theme/theme1.xml";i.file(s,Vd(e.Themes,r));n.themes.push(s);ua(r.wbrels,-1,"theme/theme1.xml",sa.THEME);s="xl/styles."+t;i.file(s,Vg(e,s,r));n.styles.push(s);ua(r.wbrels,-1,"styles."+t,sa.STY);if(e.vbaraw&&a){s="xl/vbaProject.bin";i.file(s,e.vbaraw);n.vba.push(s);ua(r.wbrels,-1,"vbaProject.bin",sa.VBA)}i.file("[Content_Types].xml",ia(n,r));i.file("_rels/.rels",ca(r.rels));i.file("xl/_rels/workbook."+t+".rels",ca(r.wbrels));delete r.revssf;delete r.ssf;return i}function ck(e,r){var t="";switch((r||{}).type||"base64"){case"buffer":return[e[0],e[1],e[2],e[3]];case"base64":t=h.decode(e.substr(0,24));break;case"binary":t=e;break;case"array":return[e[0],e[1],e[2],e[3]];default:throw new Error("Unrecognized type "+(r&&r.type||"undefined"));}return[t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3)]}function uk(e,r){if(e.find("EncryptedPackage"))return ok(e,r);return BE(e,r)}function hk(e,r){var t,a=e;var n=r||{};if(!n.type)n.type=d&&Buffer.isBuffer(e)?"buffer":"base64";switch(n.type){ +case"base64":t=new ee(a,{base64:true});break;case"binary":;case"array":t=new ee(a,{base64:false});break;case"buffer":t=new ee(a);break;default:throw new Error("Unrecognized type "+n.type);}return fk(t,n)}function dk(e,r){var t=0;e:while(t=2&&n[3]==0)return Lu.to_workbook(a,i);break;case 3:;case 131:;case 139:return Du.to_workbook(a,i);case 123:if(n[1]==92&&n[2]==114&&n[3]==116)return Ch.to_workbook(a,i);break;case 10:;case 13:;case 32:return vk(a,i);}if(n[2]<=12&&n[3]<=31)return Du.to_workbook(a,i);if(32>n[0]||n[0]>127)throw new Error("Unsupported file "+n.join("|"));return Pu.to_workbook(a,i)}function mk(e,r){var t=r||{};t.type="file";return bk(e,t)}function gk(e,r){var t=r||{};var a=lk(e,t);var n={};if(t.compression)n.compression="DEFLATE";switch(t.type){case"base64":n.type="base64";break;case"binary":n.type="string";break;case"buffer":;case"file":n.type="nodebuffer";break;default:throw new Error("Unrecognized type "+t.type);}if(t.type==="file")return q.writeFileSync(t.file,a.generate(n));return a.generate(n)}function Ek(e,r){switch(r.type){case"base64":return h.encode(e);case"binary":return e;case"file":return q.writeFileSync(r.file,e,"binary");case"buffer":{if(d)return new Buffer(e,"binary");else return e.split("").map(function(e){return e.charCodeAt(0)})};}throw new Error("Unrecognized type "+r.type)}function kk(e,r){switch(r.type){case"base64":return h.encode(e);case"binary":return e;case"file":return q.writeFileSync(r.file,e,"utf8");case"buffer":{if(d)return new Buffer(e,"utf8");else return e.split("").map(function(e){return e.charCodeAt(0)})};}throw new Error("Unrecognized type "+r.type)}function Sk(e,r){switch(r.type){case"base64":;case"binary":var t="";for(var a=0;a0)n=0;var v=Fr(l.s.r);var p=new Array(l.e.c-l.s.c+1);var b=new Array(l.e.r-l.s.r-n+1);var m=0,g=0;var E=Array.isArray(e);var k=l.s.r,S=0,w=0;if(E&&!e[k])e[k]=[];for(S=l.s.c;S<=l.e.c;++S){p[S]=Mr(S);t=E?e[k][S]:e[p[S]+v];switch(a){case 1:i[S]=S-l.s.c;break;case 2:i[S]=p[S];break;case 3:i[S]=c.header[S-l.s.c];break;default:if(t==null)continue;o=f=Zr(t,null,c);g=0;for(w=0;w=0)c='"'+c.replace(xk,'""')+'"'}else c="";l.push(c)}if(f.blankrows===false&&o)return null;return l.join(s)}function Ak(e,r){var t=[];var a=r==null?{}:r;if(e==null||e["!ref"]==null)return"";var n=Yr(e["!ref"]);var i=a.FS!==undefined?a.FS:",",s=i.charCodeAt(0);var f=a.RS!==undefined?a.RS:"\n",o=f.charCodeAt(0);var l=new RegExp((i=="|"?"\\|":i)+"+$");var c="",u=[];a.dense=Array.isArray(e);var h=a.skipHidden&&e["!cols"]||[];var d=a.skipHidden&&e["!rows"]||[];for(var v=n.s.c;v<=n.e.c;++v)if(!(h[v]||{}).hidden)u[v]=Mr(v);for(var p=n.s.r;p<=n.e.r;++p){if((d[p]||{}).hidden)continue;c=Ik(e,n,p,u,s,o,i,a);if(c==null){continue}if(a.strip)c=c.replace(l,"");t.push(c+f)}delete a.dense;return t.join("")}function yk(e,r){if(!r)r={};r.FS="\t";r.RS="\n";var t=Ak(e,r);if(typeof cptable=="undefined")return t;var a=cptable.utils.encode(1200,t);return"ÿþ"+a}function Rk(e){var r="",t,a="";if(e==null||e["!ref"]==null)return[];var n=Yr(e["!ref"]),i="",s=[],f;var o=[];var l=Array.isArray(e);for(f=n.s.c;f<=n.e.c;++f)s[f]=Mr(f);for(var c=n.s.r;c<=n.e.r;++c){i=Fr(c);for(f=n.s.c;f<=n.e.c;++f){r=s[f]+i;t=l?(e[c]||[])[f]:e[r];a="";if(t===undefined)continue;else if(t.F!=null){r=t.F;if(!t.f)continue;a=t.f;if(r.indexOf(":")==-1)r=r+":"+r}if(t.f!=null)a=t.f;else if(t.t=="z")continue;else if(t.t=="n"&&t.v!=null)a=""+t.v;else if(t.t=="b")a=t.v?"TRUE":"FALSE";else if(t.w!==undefined)a="'"+t.w;else if(t.v===undefined)continue;else if(t.t=="s")a="'"+t.v;else a=""+t.v;o[o.length]=r+"="+a}}return o}function Dk(e,r){var t=r||{};var a={};var n;var i={s:{c:0,r:0},e:{c:0,r:e.length}};var s=t.header||[],f=0;for(var o=0;o!=e.length;++o){Object.keys(e[o]).filter(function(r){return e[o].hasOwnProperty(r)}).forEach(function(r){if((f=s.indexOf(r))==-1)s[f=s.length]=r;var i=e[o][r];var l="z";var c="";if(typeof i=="number")l="n";else if(typeof i=="boolean")l="b";else if(typeof i=="string")l="s";else if(i instanceof Date){l="d";if(!t.cellDates){l="n";i=P(i)}c=t.dateNF||E._table[14]}a[zr({c:f,r:o+1})]=n={t:l,v:i};if(c)n.z=c})}i.e.c=s.length-1;for(f=0;f=0&&e.SheetNames.length>r)return r;throw new Error("Cannot find sheet # "+r)}else if(typeof r=="string"){var t=e.SheetNames.indexOf(r);if(t>-1)return t;throw new Error("Cannot find sheet name |"+r+"|")}else throw new Error("Cannot find sheet |"+r+"|")}e.book_new=function(){return{SheetNames:[],Sheets:{}}};e.book_append_sheet=function(e,r,t){if(!t)for(var a=1;a<=65535;++a)if(e.SheetNames.indexOf(t="Sheet"+a)==-1)break;if(!t)throw new Error("Too many worksheets");og(t);if(e.SheetNames.indexOf(t)>=0)throw new Error("Worksheet with name |"+t+"| already exists!");e.SheetNames.push(t);e.Sheets[t]=r};e.book_set_sheet_visibility=function(e,r,a){t(e,"Workbook",{});t(e.Workbook,"Sheets",[]);var i=n(e,r);t(e.Workbook.Sheets,i,{});switch(a){case 0:;case 1:;case 2:break;default:throw new Error("Bad sheet visibility setting "+a);}e.Workbook.Sheets[i].Hidden=a};r([["SHEET_VISIBLE",0],["SHEET_HIDDEN",1],["SHEET_VERY_HIDDEN",2]]);e.cell_set_number_format=function(e,r){e.z=r;return e};e.cell_set_hyperlink=function(e,r,t){if(!r){delete e.l}else{e.l={Target:r};if(t)e.l.Tooltip=t}return e};e.cell_add_comment=function(e,r,t){if(!e.c)e.c=[];e.c.push({t:r,a:t||"SheetJS"})};e.sheet_set_array_formula=function(e,r,t){var n=typeof r!="string"?r:Yr(r);var i=typeof r=="string"?r:Kr(r);for(var s=n.s.r;s<=n.e.r;++s)for(var f=n.s.c;f<=n.e.c;++f){var o=a(e,s,f);o.t="n";o.F=i;delete o.v;if(s==n.s.r&&f==n.s.c)o.f=t}return e};return e})(Ok);if(d&&typeof require!="undefined")(function(){var e={}.Readable;var t=function(r,t){var a=e();var n="";var i=t==null?{}:t;if(r==null||r["!ref"]==null){a.push(null);return a}var s=Yr(r["!ref"]);var f=i.FS!==undefined?i.FS:",",o=f.charCodeAt(0);var l=i.RS!==undefined?i.RS:"\n",c=l.charCodeAt(0);var u=new RegExp((f=="|"?"\\|":f)+"+$");var h="",d=[];i.dense=Array.isArray(r);var v=i.skipHidden&&r["!cols"]||[];var p=i.skipHidden&&r["!rows"]||[];for(var b=s.s.c;b<=s.e.c;++b)if(!(v[b]||{}).hidden)d[b]=Mr(b);var m=s.s.r;a._read=function(){if(m>s.e.r)return a.push(null);while(m<=s.e.r){++m;if((p[m-1]||{}).hidden)continue;h=Ik(r,s,m-1,d,o,c,f,i);if(h!=null){if(i.strip)h=h.replace(u,"");a.push(h+l);break}}};return a};var a=function(r,t){var a=e();var n=t||{};var i=n.header!=null?n.header:LE.BEGIN;var s=n.footer!=null?n.footer:LE.END;a.push(i);var f=jr(r["!ref"]);n.dense=Array.isArray(r);a.push(LE._preamble(r,f,n));var o=f.s.r;var l=false;a._read=function(){if(o>f.e.r){if(!l){l=true;a.push(""+s)}return a.push(null)}while(o<=f.e.r){a.push(LE._row(r,f,o,n));++o;break}};return a};r.stream={to_html:a,to_csv:t}})();r.parse_xlscfb=BE;r.parse_ods=WE;r.parse_fods=VE;r.write_ods=GE;r.parse_zip=fk;r.read=bk;r.readFile=mk;r.readFileSync=mk;r.write=wk;r.writeFile=Ck;r.writeFileSync=Ck;r.writeFileAsync=_k;r.utils=Ok;r.SSF=E})(typeof exports!=="undefined"?exports:XLSX);var XLS=XLSX;var ODS=XLSX; diff --git a/dist/xlsx.core.min.map b/dist/xlsx.core.min.map index 1f4f805..74b09fa 100644 --- a/dist/xlsx.core.min.map +++ b/dist/xlsx.core.min.map @@ -1 +1 @@ -{"version":3,"sources":["jszip.js","dist/xlsx.js"],"names":["e","exports","module","define","amd","JSZip","f","window","global","$","self","t","n","r","s","o","u","a","require","i","Error","call","length","1","_dereq_","_keyStr","encode","input","utf8","output","chr1","chr2","chr3","enc1","enc2","enc3","enc4","charCodeAt","isNaN","charAt","decode","replace","indexOf","String","fromCharCode","2","CompressedObject","this","compressedSize","uncompressedSize","crc32","compressionMethod","compressedContent","prototype","getContent","getCompressedContent","3","STORE","magic","compress","content","uncompress","compressInputType","uncompressInputType","DEFLATE","./flate","4","utils","table","crc","isArray","getTypeOf","x","y","b","iTop","./utils","5","DataReader","data","index","checkOffset","offset","checkIndex","newIndex","setIndex","skip","byteAt","readInt","size","result","readString","transformTo","readData","lastIndexOfSignature","sig","readDate","dostime","Date","6","base64","binary","dir","createFolders","date","compression","comment","7","string2binary","str","string2Uint8Array","uint8Array2String","array","string2Blob","buffer","arrayBuffer2Blob","outputType","checkSupport","type","MAX_VALUE_16BITS","MAX_VALUE_32BITS","pretty","findCompression","isRegExp","object","8","USE_TYPEDARRAY","Uint8Array","Uint16Array","Uint32Array","pako","deflateRaw","inflateRaw","9","options","files","root","load","clone","newObj","support","defaults","compressions","./base64","./compressions","./defaults","./deprecatedPublicUtils","./load","./object","./support","10","ZipEntries","zipEntries","file","fileName","decompressed","optimizedBinaryString","fileComment","zipComment","./zipEntries","11","Buffer","encoding","test","isBuffer","undefined","12","Uint8ArrayReader","NodeBufferReader","slice","./uint8ArrayReader","13","signature","nodeBuffer","StringWriter","Uint8ArrayWriter","getRawData","_data","copy","set","getBinaryData","nodebuffer","asBinary","dataToString","asUTF8","out","utf8decode","utf8encode","ZipObject","name","_initialMetadata","asText","asNodeBuffer","asUint8Array","asArrayBuffer","decToHex","dec","bytes","hex","extend","attr","arguments","hasOwnProperty","prepareFileAttrs","toUpperCase","fileAdd","dataType","parent","parentFolder","folderAdd","path","substring","lastSlash","lastIndexOf","generateCompressedObjectFrom","generateZipParts","compressedObject","utfEncodedFileName","utfEncodedComment","useUTF8ForFileName","useUTF8ForComment","dosTime","dosDate","extraFields","unicodePathExtraField","unicodeCommentExtraField","getHours","getMinutes","getSeconds","getFullYear","getMonth","getDate","header","fileRecord","LOCAL_FILE_HEADER","dirRecord","CENTRAL_FILE_HEADER","stream","filter","search","filename","relativePath","fileClone","push","regexp","folder","arg","newFolder","ret","remove","kids","generate","zipData","localDirLength","centralDirLength","writer","compressionName","zipPart","dirEnd","CENTRAL_DIRECTORY_END","typeName","toLowerCase","append","zip","finalize","string","./compressedObject","./crc32","./nodeBuffer","./signature","./stringWriter","./uint8ArrayWriter","./utf8","14","ZIP64_CENTRAL_DIRECTORY_LOCATOR","ZIP64_CENTRAL_DIRECTORY_END","DATA_DESCRIPTOR","15","StringReader","./dataReader","16","join","17","arraybuffer","ArrayBuffer","uint8array","blob","Blob","Builder","BlobBuilder","WebKitBlobBuilder","MozBlobBuilder","MSBlobBuilder","builder","getBlob","18","sig0","sig1","sig2","sig3","subarray","19","20","_utf8len","Array","string2buf","buf","c","c2","m_pos","str_len","buf_len","utf8border","max","pos","buf2string","c_len","len","utf16buf","applyFromCharCode","toString","k","chunk","nextBoundary","Math","min","21","identity","stringToArrayLike","arrayLikeToString","canUseApply","apply","resultStr","floor","arrayLikeToArrayLike","arrayFrom","arrayTo","transform","byteLength","inputType","Object","supported","res","code","method","22","ZipEntry","jszipProto","loadOptions","checkSignature","expectedSignature","reader","readBlockEndOfCentral","diskNumber","diskWithCentralDirStart","centralDirRecordsOnThisDisk","centralDirRecords","centralDirSize","centralDirOffset","zipCommentLength","readBlockZip64EndOfCentral","zip64EndOfCentralSize","versionMadeBy","versionNeeded","zip64ExtensibleData","extraDataSize","extraFieldId","extraFieldLength","extraFieldValue","id","value","readBlockZip64EndOfCentralLocator","diskWithZip64CentralDirStart","relativeOffsetEndOfZip64CentralDir","disksCount","readLocalFiles","localHeaderOffset","readLocalPart","handleUTF8","readCentralDir","zip64","readCentralPart","readEndOfCentral","prepareReader","./nodeBufferReader","./stringReader","./zipEntry","23","isEncrypted","bitFlag","useUTF8","prepareCompressedContent","from","previousIndex","compressedFileData","prepareContent","uncompressedFileData","localExtraFieldsLength","fileNameLength","checkCRC32","extraFieldsLength","fileCommentLength","diskNumberStart","internalFileAttributes","externalFileAttributes","readExtraFields","parseZIP64ExtraField","extraReader","start","upath","findExtraFieldUnicodePath","ucomment","findExtraFieldUnicodeComment","upathField","ucommentField","24","assign","deflate","inflate","constants","./lib/deflate","./lib/inflate","./lib/utils/common","./lib/zlib/constants","25","zlib_deflate","strings","msg","zstream","Z_NO_FLUSH","Z_FINISH","Z_OK","Z_STREAM_END","Z_DEFAULT_COMPRESSION","Z_DEFAULT_STRATEGY","Z_DEFLATED","Deflate","level","chunkSize","windowBits","memLevel","strategy","to","opt","raw","gzip","err","ended","chunks","strm","avail_out","status","deflateInit2","deflateSetHeader","mode","_mode","next_in","avail_in","Buf8","next_out","onEnd","onData","buf2binstring","shrinkBuf","deflateEnd","flattenChunks","deflator","./utils/common","./utils/strings","./zlib/deflate.js","./zlib/messages","./zlib/zstream","26","zlib_inflate","gzheader","Inflate","inflateInit2","inflateGetHeader","next_out_utf8","tail","utf8str","binstring2buf","arraySet","inflateEnd","inflator","ungzip","./zlib/constants","./zlib/gzheader","./zlib/inflate.js","27","TYPED_OK","Int32Array","obj","sources","source","shift","TypeError","p","fnTyped","dest","src","src_offs","dest_offs","l","fnUntyped","concat","setTyped","on","Buf16","Buf32","28","STR_APPLY_OK","STR_APPLY_UIA_OK","__","./common","29","adler32","adler","s1","s2","30","Z_PARTIAL_FLUSH","Z_SYNC_FLUSH","Z_FULL_FLUSH","Z_BLOCK","Z_TREES","Z_NEED_DICT","Z_ERRNO","Z_STREAM_ERROR","Z_DATA_ERROR","Z_BUF_ERROR","Z_NO_COMPRESSION","Z_BEST_SPEED","Z_BEST_COMPRESSION","Z_FILTERED","Z_HUFFMAN_ONLY","Z_RLE","Z_FIXED","Z_BINARY","Z_TEXT","Z_UNKNOWN","31","makeTable","crcTable","end","32","trees","MAX_MEM_LEVEL","MAX_WBITS","DEF_MEM_LEVEL","LENGTH_CODES","LITERALS","L_CODES","D_CODES","BL_CODES","HEAP_SIZE","MAX_BITS","MIN_MATCH","MAX_MATCH","MIN_LOOKAHEAD","PRESET_DICT","INIT_STATE","EXTRA_STATE","NAME_STATE","COMMENT_STATE","HCRC_STATE","BUSY_STATE","FINISH_STATE","BS_NEED_MORE","BS_BLOCK_DONE","BS_FINISH_STARTED","BS_FINISH_DONE","OS_CODE","errorCode","rank","zero","flush_pending","state","pending","pending_buf","pending_out","total_out","flush_block_only","last","_tr_flush_block","block_start","strstart","put_byte","putShortMSB","read_buf","wrap","total_in","longest_match","cur_match","chain_length","max_chain_length","scan","match","best_len","prev_length","nice_match","limit","w_size","_win","wmask","w_mask","prev","strend","scan_end1","scan_end","good_match","lookahead","match_start","fill_window","_w_size","m","more","window_size","hash_size","head","insert","ins_h","hash_shift","hash_mask","deflate_stored","flush","max_block_size","pending_buf_size","max_start","deflate_fast","hash_head","bflush","match_length","_tr_tally","max_lazy_match","last_lit","deflate_slow","max_insert","prev_match","match_available","deflate_rle","deflate_huff","Config","good_length","max_lazy","nice_length","max_chain","func","configuration_table","lm_init","DeflateState","gzhead","gzindex","last_flush","w_bits","hash_bits","dyn_ltree","dyn_dtree","bl_tree","l_desc","d_desc","bl_desc","bl_count","heap","heap_len","heap_max","depth","l_buf","lit_bufsize","d_buf","opt_len","static_len","matches","bi_buf","bi_valid","deflateResetKeep","data_type","_tr_init","deflateReset","deflateInit","old_flush","beg","val","text","hcrc","extra","time","os","level_flags","bstate","_tr_align","_tr_stored_block","deflateInfo","../utils/common","./adler32","./messages","./trees","33","GZheader","xflags","extra_len","done","34","BAD","TYPE","inflate_fast","_in","_out","dmax","wsize","whave","wnext","hold","bits","lcode","dcode","lmask","dmask","here","op","dist","from_source","lencode","distcode","lenbits","distbits","top","dolen","dodist","sane","35","inflate_table","CODES","LENS","DISTS","Z_MEM_ERROR","HEAD","FLAGS","TIME","OS","EXLEN","EXTRA","NAME","COMMENT","HCRC","DICTID","DICT","TYPEDO","STORED","COPY_","COPY","TABLE","LENLENS","CODELENS","LEN_","LEN","LENEXT","DIST","DISTEXT","MATCH","LIT","CHECK","LENGTH","DONE","MEM","SYNC","ENOUGH_LENS","ENOUGH_DISTS","DEF_WBITS","ZSWAP32","q","InflateState","havedict","flags","check","total","wbits","ncode","nlen","ndist","have","next","lens","work","lendyn","distdyn","back","was","inflateResetKeep","inflateReset","inflateReset2","inflateInit","virgin","lenfix","distfix","fixedtables","sym","updatewindow","put","left","here_bits","here_op","here_val","last_bits","last_op","last_val","hbuf","opts","order","inf_leave","inflateInfo","./inffast","./inftrees","36","MAXBITS","lbase","lext","dbase","dext","lens_index","codes","table_index","curr","drop","used","huff","incr","fill","low","mask","base","base_index","count","offs","extra_index","37","0","-1","-2","-3","-4","-5","-6","38","STORED_BLOCK","STATIC_TREES","DYN_TREES","Buf_size","MAX_BL_BITS","END_BLOCK","REP_3_6","REPZ_3_10","REPZ_11_138","extra_lbits","extra_dbits","extra_blbits","bl_order","DIST_CODE_LEN","static_ltree","static_dtree","_dist_code","_length_code","base_length","base_dist","StaticTreeDesc","static_tree","extra_bits","extra_base","elems","max_length","has_stree","static_l_desc","static_d_desc","static_bl_desc","TreeDesc","dyn_tree","stat_desc","max_code","d_code","put_short","w","send_bits","send_code","tree","bi_reverse","bi_flush","gen_bitlen","desc","stree","h","xbits","overflow","gen_codes","next_code","tr_static_init","init_block","bi_windup","copy_block","smaller","_n2","_m2","pqdownheap","v","j","compress_block","ltree","dtree","lc","lx","build_tree","node","scan_tree","prevlen","curlen","nextlen","max_count","min_count","send_tree","build_bl_tree","max_blindex","send_all_trees","lcodes","dcodes","blcodes","detect_data_type","black_mask","static_init_done","stored_len","opt_lenb","static_lenb","39","ZStream","XLSX","make_xlsx","version","current_codepage","cptable","reset_cp","set_cp","cp","char_codes","utf16leread","utf16beread","debom","c1","substr","_getchar","_gc1","_gc2","DENSE","DIF_XL","Base64","make_b64","map","c3","e1","e2","e3","e4","b64_decode","has_buf","process","versions","new_raw_buf","s2a","split","bconcat","bufs","chr0","SSF","make_ssf","_strrev","pad0","d","pad_","rpad_","pad0r1","round","pad0r2","p2_32","pow","pad0r","isgeneral","days","months","init_table","table_fmt","frac","D","mixed","sgn","B","P_2","P_1","P","Q_2","Q_1","Q","A","parse_date_code","b2","dow","dout","T","H","M","S","abs","date1904","setDate","getDay","fix_hijri","basedate","dnthresh","getTime","base1904","datenum_local","epoch","getTimezoneOffset","general_fmt_int","_general_int","general_fmt_num","make_general_fmt_num","gnr1","gnr2","gnr4","gnr5","gnr6","gfn2","gfn5","toFixed","toPrecision","toExponential","gfn3","gfn4","V","log","LOG10E","_general_num","general_fmt","format","_general","write_date","fmt","ss0","ss","tt","outl","commaify","write_num","make_write_num","pct1","write_num_pct","sfmt","mul","write_num_cm","idx","write_num_exp","period","ee","fakee","$$","$1","$2","$3","frac1","write_num_f1","aval","sign","den","parseInt","rr","myn","myd","write_num_f2","dec1","closeparen","phone","hashq","cc","rnd","dd","carry","flr","write_num_flt","ffmt","ri","ff","oa","lres","rres","write_num_cm2","write_num_pct2","write_num_exp2","write_num_int","split_fmt","in_str","_split","abstime","fmt_is_date","is_date","eval_fmt","flen","lst","dt","hr","bt","ssm","nstr","jj","vv","myv","ostr","decpt","lasti","retval","_eval","cfregex","cfregex2","chkcond","thresh","parseFloat","choose_fmt","lat","m1","m2","dateNF","load_entry","_table","get_table","load_table","tbl","XLMLFormatMap","General Number","General Date","Long Date","Medium Date","Short Date","Long Time","Medium Time","Short Time","Currency","Fixed","Standard","Percent","Scientific","Yes/No","True/False","On/Off","dateNFregex","dateNF_regex","RegExp","dateNF_fix","Y","forEach","datestr","timestr","DO_NOT_EXPORT_CFB","CFB","_CFB","parse","mver","ssz","nmfs","ndfs","dir_start","minifat_start","difat_start","fat_addrs","prep_blob","mv","check_get_mver","check_shifts","nds","read_shift","chk","sectors","sectorify","sleuth_fat","sector_list","make_sector_list","ENDOFCHAIN","Paths","FileIndex","FullPaths","FullPathDir","read_directory","build_full_paths","root_name","find_path","make_find_path","find","HEADER_SIGNATURE","HEADER_CLSID","nsectors","ceil","FI","FPD","FP","L","R","C","pl","dad","UCFullPaths","UCPaths","UCPath","cnt","sector","__readInt32LE","get_sector_list","chkd","sl","buf_chain","modulus","addr","nodes","__toBuffer","minifat_store","namelen","__utf16le","color","clsid","ctime","ct","read_date","mtime","mt","storage","MSSZ","__readUInt32LE","fs","readFileSync","readSync","consts","MAXREGSECT","DIFSECT","FATSECT","FREESECT","HEADER_MINOR_VERSION","MAXREGSID","NOSTREAM","EntryTypes","read","ReadShift","CheckField","isval","keys","evert_key","key","K","evert","evert_num","evert_arr","datenum","numdate","setTime","parse_isodur","sec","good_pd_date","good_pd","parseDate","fixdate","setFullYear","cc2str","arr","str2cc","dup","JSON","stringify","fuzzydate","NaN","getYear","getdatastr","getdatabin","getdata","safegetzipfile","g","getzipfile","getzipdata","safe","getzipstr","_fs","jszip","resolve_path","pop","target","step","attregexg","tagregex","nsregex","nsregex2","parsexmltag","tag","skip_root","z","eq","quot","strip_ns","encodings",""","'",">","<","&","rencoding","unescapexml","encregex","coderegex","decregex","charegex","escapexml","xml","escapexmltag","htmlcharegex","escapehtml","xlml_fixstr","entregex","entrepl","xlml_unfixstr","parsexmlbool","utf8read","utf8reada","orig","utf8readb","ww","corpus","utf8readc","matchtag","mtcache","vtregex","vt_cache","vt_regex","vtvregex","vtmregex","parseVector","baseType","wtregex","writetag","wxt_helper","writextag","write_w3cdtf","toISOString","write_vt","XML_HEADER","XMLNS","dc","dcterms","dcmitype","mx","sjs","vt","xsi","xsd","main","XLMLNS","html","read_double_le","Infinity","write_double_le","bs","av","isFinite","LOG2E","___toBuffer","toBuffer_","___utf16le","utf16le_","__readUInt16LE","__hexlify","___hexlify","hexlify_","__utf8","___utf8","__readUInt8","__lpstr","___lpstr","lpstr_","__lpwstr","___lpwstr","lpwstr_","__lpp4","___lpp4","lpp4_","__8lpp4","___8lpp4","lpp4_8","__double","___double","is_buf","is_buf_a","utf16le_b","lpstr_b","readUInt32LE","lpwstr_b","lpp4_b","lpp4_8b","utf8_b","double_","readDoubleLE","is_buf_b","__readInt16LE","___unhexlify","__unhexlify","oI","oR","oo","loc","__writeUInt16LE","__writeUInt32LE","__writeInt32LE","WriteShift","hexstr","fld","write_shift","parsenoop","parsenooplog","console","writenoop","new_buf","sz","recordhopper","cb","tmpbyte","cntbyte","RT","tgt","XLSBRecordEnum","buf_array","blksz","newblk","ba_newblk","curbuf","endbuf","ba_endbuf","ba_next","ba_end","ba_push","_bufs","write_record","ba","payload","Number","evert_RE","shift_cell_xls","cell","cRel","rRel","biff","shift_range_xls","range","encode_cell_xls","encode_cell","fix_col","fix_row","encode_range_xls","encode_col","encode_row","OFFCRYPTO","make_offcrypto","O","_crypto","crypto","rc4","md5","createHash","update","digest","decode_row","rowstr","unfix_row","row","cstr","decode_col","colstr","unfix_col","col","split_cell","decode_cell","splt","fix_cell","unfix_cell","decode_range","encode_range","cs","ce","safe_decode_range","safe_format_cell","XF","numFmtId","format_cell","sheet_to_workbook","sheet","sheets","SheetNames","Sheets","aoa_to_sheet","dense","ws","cellStubs","cellDates","cell_ref","write_UInt32LE","parse_XLWideString","cchCharacters","write_XLWideString","_null","parse_StrRun","ich","ifnt","write_StrRun","run","parse_RichStr","rgsStrRun","dwSizeStrRun","write_RichStr","parse_BrtCommentText","write_BrtCommentText","parse_XLSBCell","iStyleRef","fPhShow","write_XLSBCell","parse_XLSBCodeName","write_XLSBCodeName","parse_XLNullableWideString","write_XLNullableWideString","parse_XLNameWideString","write_XLNameWideString","parse_RelID","write_RelID","parse_RkNumber","fX100","fInt","RK","write_RkNumber","d100","parse_RfX","write_RfX","parse_UncheckedRfX","write_UncheckedRfX","parse_Xnum","write_Xnum","BErr","42","43","255","RBErr","parse_BrtColor","fValidRGB","xColorType","nTS","bR","bG","bB","bAlpha","auto","icv","XLSIcv","rgb","rgb2Hex","theme","tint","write_BrtColor","parse_FontFlags","fItalic","fStrikeout","fOutline","fShadow","fCondense","fExtend","write_FontFlags","font","grbit","italic","strike","outline","shadow","condense","VT_I2","VT_I4","VT_BOOL","VT_VARIANT","VT_UI4","VT_UI8","VT_LPSTR","VT_FILETIME","VT_CF","VT_VECTOR","VT_STRING","VT_USTR","VT_CUSTOM","DocSummaryPIDDSI","SummaryPIDSI","SpecialProperties","2147483648","2147483651","1919054434","CountryEnum","41","44","45","46","47","48","49","52","55","61","64","66","81","82","84","86","90","105","213","216","218","351","354","358","420","886","961","962","963","964","965","966","971","972","974","981","65535","XLSFillPattern","rgbify","ct2type","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml","application/vnd.ms-excel.binIndexWs","application/vnd.ms-excel.intlmacrosheet","application/vnd.ms-excel.binIndexMs","application/vnd.openxmlformats-package.core-properties+xml","application/vnd.openxmlformats-officedocument.custom-properties+xml","application/vnd.openxmlformats-officedocument.extended-properties+xml","application/vnd.openxmlformats-officedocument.customXmlProperties+xml","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty","application/vnd.ms-excel.pivotTable","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml","application/vnd.ms-office.chartcolorstyle+xml","application/vnd.ms-office.chartstyle+xml","application/vnd.ms-excel.calcChain","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings","application/vnd.ms-office.activeX","application/vnd.ms-office.activeX+xml","application/vnd.ms-excel.attachedToolbars","application/vnd.ms-excel.connections","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml","application/vnd.ms-excel.externalLink","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml","application/vnd.ms-excel.sheetMetadata","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml","application/vnd.ms-excel.pivotCacheDefinition","application/vnd.ms-excel.pivotCacheRecords","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml","application/vnd.ms-excel.queryTable","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml","application/vnd.ms-excel.userNames","application/vnd.ms-excel.revisionHeaders","application/vnd.ms-excel.revisionLog","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml","application/vnd.ms-excel.tableSingleCells","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml","application/vnd.ms-excel.slicer","application/vnd.ms-excel.slicerCache","application/vnd.ms-excel.slicer+xml","application/vnd.ms-excel.slicerCache+xml","application/vnd.ms-excel.wsSortMap","application/vnd.ms-excel.table","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml","application/vnd.openxmlformats-officedocument.theme+xml","application/vnd.openxmlformats-officedocument.themeOverride+xml","application/vnd.ms-excel.Timeline+xml","application/vnd.ms-excel.TimelineCache+xml","application/vnd.ms-office.vbaProject","application/vnd.ms-office.vbaProjectSignature","application/vnd.ms-office.volatileDependencies","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml","application/vnd.ms-excel.controlproperties+xml","application/vnd.openxmlformats-officedocument.model+data","application/vnd.ms-excel.Survey+xml","application/vnd.openxmlformats-officedocument.drawing+xml","application/vnd.openxmlformats-officedocument.drawingml.chart+xml","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml","application/vnd.openxmlformats-officedocument.vmlDrawing","application/vnd.openxmlformats-package.relationships+xml","application/vnd.openxmlformats-officedocument.oleObject","image/png","CT_LIST","workbooks","xlsx","xlsm","xlsb","xltx","strs","comments","charts","dialogs","macros","styles","type2ct","CT","new_ct","rels","links","coreprops","extprops","custprops","themes","calcchains","vba","drawings","TODO","xmlns","parse_ct","ctext","Extension","ContentType","PartName","calcchain","sst","style","CTYPE_XML_ROOT","xmlns:xsd","xmlns:xsi","CTYPE_DEFAULTS","write_ct","f1","bookType","f2","f3","RELS","WB","SHEET","HLINK","VML","VBA","get_rels_path","parse_rels","currentFilePath","hash","rel","Type","Target","Id","TargetMode","canonictarget","RELS_ROOT","write_rels","rid","add_rels","rId","relobj","CT_ODS","parse_manifest","xlml_normalize","Rn","FEtag","xlmlregex","exec","WTF","write_manifest","manifest","write_rdf_type","write_rdf_has","write_rdf","rdf","write_meta_ods","wmo","wb","CORE_PROPS","CORE_PROPS_REGEX","parse_core_props","cur","CORE_PROPS_XML_ROOT","xmlns:cp","xmlns:dc","xmlns:dcterms","xmlns:dcmitype","cp_doit","write_core_props","_opts","Props","CreatedDate","xsi:type","ModifiedDate","EXT_PROPS","parse_ext_props","HeadingPairs","TitlesOfParts","parts","Worksheets","NamedRanges","DefinedNames","Chartsheets","ChartNames","EXT_PROPS_XML_ROOT","xmlns:vt","write_ext_props","W","Application","CUST_PROPS","custregex","parse_cust_props","toks","warn","CUST_PROPS_XML_ROOT","write_cust_props","pid","custprop","fmtid","XLMLDocPropsMap","Title","Subject","Author","Keywords","Comments","LastAuthor","RevNumber","LastPrinted","Category","Manager","Company","AppVersion","ContentStatus","Identifier","Language","evert_XLMLDPM","xlml_set_prop","xlml_write_docprops","xlml_write_custprops","Custprops","BLACKLIST","dt:dt","parse_FILETIME","dwLowDateTime","dwHighDateTime","parse_lpstr","pad","parse_lpwstr","parse_VtStringBase","stringType","parse_VtString","parse_VtUnalignedString","parse_VtVecUnalignedLpstrValue","parse_VtVecUnalignedLpstr","parse_VtHeadingPair","headingString","parse_TypedPropertyValue","headerParts","parse_VtVecHeadingPairValue","cElements","parse_VtVecHeadingPair","parse_dictionary","CodePage","dict","parse_BLOB","parse_ClipboardData","Size","parse_VtVector","parse_PropertySet","PIDSI","start_addr","NumProps","Dictionary","DictObj","PropID","Offset","PropH","fail","piddsi","oldpos","parsebool","parse_PropertySetStream","NumSets","FMTID0","FMTID1","Offset0","Offset1","vers","SystemIdentifier","PSet0","rval","FMTID","PSet1","parsenoop2","parslurp","parseuint16","parseuint16a","parse_Boolean","parse_Bes","parse_ShortXLUnicodeString","cch","width","fHighByte","parse_XLUnicodeRichExtendedString","fExtSt","fRichSt","cRun","cbExtRst","parse_XLUnicodeStringNoCch","parse_XLUnicodeString","parse_XLUnicodeString2","parse_ControlInfo","accel","parse_URLMoniker","url","parse_FileMoniker","cAnti","ansiLength","ansiPath","endServer","versionNumber","cbUnicodePathSize","cbUnicodePathBytes","usKeyValue","unicodePath","parse_HyperlinkMoniker","parse_HyperlinkString","parse_Hyperlink","sVer","displayName","targetFrameName","moniker","oleMoniker","location","guid","fileTime","parse_LongRGBA","parse_LongRGB","parse_XLSCell","rw","ixfe","parse_frtHeader","rt","parse_OptXLUnicodeString","parse_HideObjEnum","parse_XTI","iSupBook","itabFirst","itabLast","parse_RkRec","parse_AddinUdf","udfName","parse_Ref8U","rwFirst","rwLast","colFirst","colLast","parse_RefU","parse_Ref","parse_FtCmo","ot","parse_FtNts","fSharedNote","parse_FtCf","cf","parse_FtSkip","FtTab","parse_FtArray","fts","ft","parse_FontIndex","parse_BOF","BIFFVer","parse_InterfaceHdr","parse_WriteAccess","enc","UserName","parse_BoundSheet8","hidden","hs","parse_SST","ucnt","Count","Unique","parse_ExtSST","extsst","dsst","parse_Row","miyRw","hpt","parse_ForceFullCalculation","fullcalc","parse_CompressPictures","parse_RecalcId","parse_DefaultRowHeight","fl","Unsynced","DyZero","ExAsc","ExDsc","parse_Window1","xWn","yWn","dxWn","dyWn","iTabCur","iTabFirst","ctabSel","wTabRatio","Pos","Dim","Flags","CurTab","FirstTab","Selected","TabRatio","parse_Font","dyHeight","parse_LabelSst","isst","parse_Label","parse_Format","fmtstr","parse_BIFF2Format","parse_Dimensions","parse_RK","rkrec","rknum","parse_MulRk","rkrecs","lastcol","parse_MulBlank","ixfes","parse_CellStyleXF","patternType","cellStyles","alc","fWrap","alcV","fJustLast","trot","cIndent","fShrinkToFit","iReadOrder","fAtrNum","fAtrFnt","fAtrAlc","fAtrBdr","fAtrPat","fAtrProt","dgLeft","dgRight","dgTop","dgBottom","icvLeft","icvRight","grbitDiag","icvTop","icvBottom","icvDiag","dgDiag","icvFore","icvBack","fsxButton","parse_CellXF","parse_StyleXF","parse_XF","fStyle","parse_Guts","parse_BoolErr","parse_Number","xnum","parse_XLHeaderFooter","parse_SupBook","ctab","sbcch","virtPath","rgst","parse_ExternName","body","fBuiltIn","fWantAdvise","fWantPict","fOle","fOleLink","fIcon","Name","XLSLblBuiltIn","parse_Lbl","chKey","cce","itab","npflen","rgce","parse_NameParsedFormula","parse_ExternSheet","parse_BIFF5ExternSheet","parse_ExternCount","parse_NameCmt","cchName","cchComment","parse_ShrFmla","ref","cUse","parse_SharedParsedFormula","parse_Array","parse_ArrayParsedFormula","parse_MTRSettings","fMTREnabled","fUserSetThreadCount","cUserThreadCount","parse_NoteSh","idObj","stAuthor","parse_Note","parse_MergeCells","merges","cmcs","parse_Obj","parse_BIFF5Obj","cmo","parse_BIFF5OT","cbPictFmla","colL","dxL","rwT","dyT","colR","dxR","rwB","dyB","cbMacro","parse_TxO","texts","lastobj","controlInfo","cchText","cbRuns","ifntEmpty","hdr","parse_HLink","hlink","parse_HLinkTooltip","wzTooltip","parse_Country","parse_ClrtClient","ccv","parse_Palette","parse_XFCRC","cxfs","parse_ColInfo","coldx","parse_Setup","footer","parse_ShtProps","def","area","parse_Style","parse_StyleExt","parse_Window2","parse_Backup","parse_Blank","parse_BottomMargin","parse_BuiltInFnGroupCount","parse_CalcCount","parse_CalcDelta","parse_CalcIter","parse_CalcMode","parse_CalcPrecision","parse_CalcRefMode","parse_CalcSaveRecalc","parse_CodePage","parse_Compat12","parse_Date1904","parse_DefColWidth","parse_DSF","parse_EntExU2","parse_EOF","parse_Excel9File","parse_FeatHdr","parse_FontX","parse_Footer","parse_GridSet","parse_HCenter","parse_Header","parse_HideObj","parse_InterfaceEnd","parse_LeftMargin","parse_Mms","parse_ObjProtect","parse_Password","parse_PrintGrid","parse_PrintRowCol","parse_PrintSize","parse_Prot4Rev","parse_Prot4RevPass","parse_Protect","parse_RefreshAll","parse_RightMargin","parse_RRTabId","parse_ScenarioProtect","parse_Scl","parse_String","parse_SxBool","parse_TopMargin","parse_UsesELFs","parse_VCenter","parse_WinProtect","parse_WriteProtect","parse_VerticalPageBreaks","parse_HorizontalPageBreaks","parse_Selection","parse_Continue","parse_Pane","parse_Pls","parse_DCon","parse_DConRef","parse_DConName","parse_XCT","parse_CRN","parse_FileSharing","parse_Uncalced","parse_Template","parse_Intl","parse_WsBool","parse_Sort","parse_Sync","parse_LPr","parse_DxGCol","parse_FnGroupName","parse_FilterMode","parse_AutoFilterInfo","parse_AutoFilter","parse_ScenMan","parse_SCENARIO","parse_SxView","parse_Sxvd","parse_SXVI","parse_SxIvd","parse_SXLI","parse_SXPI","parse_DocRoute","parse_RecipName","parse_SXDI","parse_SXDB","parse_SXFDB","parse_SXDBB","parse_SXNum","parse_SxErr","parse_SXInt","parse_SXString","parse_SXDtr","parse_SxNil","parse_SXTbl","parse_SXTBRGIITM","parse_SxTbpg","parse_ObProj","parse_SXStreamID","parse_DBCell","parse_SXRng","parse_SxIsxoper","parse_BookBool","parse_DbOrParamQry","parse_OleObjectSize","parse_SXVS","parse_BkHim","parse_MsoDrawingGroup","parse_MsoDrawing","parse_MsoDrawingSelection","parse_PhoneticInfo","parse_SxRule","parse_SXEx","parse_SxFilt","parse_SxDXF","parse_SxItm","parse_SxName","parse_SxSelect","parse_SXPair","parse_SxFmla","parse_SxFormat","parse_SXVDEx","parse_SXFormula","parse_SXDBEx","parse_RRDInsDel","parse_RRDHead","parse_RRDChgCell","parse_RRDRenSheet","parse_RRSort","parse_RRDMove","parse_RRFormat","parse_RRAutoFmt","parse_RRInsertSh","parse_RRDMoveBegin","parse_RRDMoveEnd","parse_RRDInsDelBegin","parse_RRDInsDelEnd","parse_RRDConflict","parse_RRDDefName","parse_RRDRstEtxp","parse_LRng","parse_CUsr","parse_CbUsr","parse_UsrInfo","parse_UsrExcl","parse_FileLock","parse_RRDInfo","parse_BCUsrs","parse_UsrChk","parse_UserBView","parse_UserSViewBegin","parse_UserSViewEnd","parse_RRDUserView","parse_Qsi","parse_CondFmt","parse_CF","parse_DVal","parse_DConBin","parse_Lel","parse_XLSCodeName","parse_SXFDBType","parse_ObNoMacros","parse_Dv","parse_Index","parse_Table","parse_BigName","parse_ContinueBigName","parse_WebPub","parse_QsiSXTag","parse_DBQueryExt","parse_ExtString","parse_TxtQry","parse_Qsir","parse_Qsif","parse_RRDTQSIF","parse_OleDbConn","parse_WOpt","parse_SXViewEx","parse_SXTH","parse_SXPIEx","parse_SXVDTEx","parse_SXViewEx9","parse_ContinueFrt","parse_RealTimeData","parse_ChartFrtInfo","parse_FrtWrapper","parse_StartBlock","parse_EndBlock","parse_StartObject","parse_EndObject","parse_CatLab","parse_YMult","parse_SXViewLink","parse_PivotChartBits","parse_FrtFontList","parse_SheetExt","parse_BookExt","parse_SXAddl","parse_CrErr","parse_HFPicture","parse_Feat","parse_DataLabExt","parse_DataLabExtContents","parse_CellWatch","parse_FeatHdr11","parse_Feature11","parse_DropDownObjIds","parse_ContinueFrt11","parse_DConn","parse_List12","parse_Feature12","parse_CondFmt12","parse_CF12","parse_CFEx","parse_AutoFilter12","parse_ContinueFrt12","parse_MDTInfo","parse_MDXStr","parse_MDXTuple","parse_MDXSet","parse_MDXProp","parse_MDXKPI","parse_MDB","parse_PLV","parse_DXF","parse_TableStyles","parse_TableStyle","parse_TableStyleElement","parse_NamePublish","parse_SortData","parse_GUIDTypeLib","parse_FnGrp12","parse_NameFnGrp12","parse_HeaderFooter","parse_CrtLayout12","parse_CrtMlFrt","parse_CrtMlFrtContinue","parse_ShapePropsStream","parse_TextPropsStream","parse_RichTextStream","parse_CrtLayout12A","parse_Units","parse_Chart","parse_Series","parse_DataFormat","parse_LineFormat","parse_MarkerFormat","parse_AreaFormat","parse_PieFormat","parse_AttachedLabel","parse_SeriesText","parse_ChartFormat","parse_Legend","parse_SeriesList","parse_Bar","parse_Line","parse_Pie","parse_Area","parse_Scatter","parse_CrtLine","parse_Axis","parse_Tick","parse_ValueRange","parse_CatSerRange","parse_AxisLine","parse_CrtLink","parse_DefaultText","parse_Text","parse_ObjectLink","parse_Frame","parse_Begin","parse_End","parse_PlotArea","parse_Chart3d","parse_PicF","parse_DropBar","parse_Radar","parse_Surf","parse_RadarArea","parse_AxisParent","parse_LegendException","parse_SerToCrt","parse_AxesUsed","parse_SBaseRef","parse_SerParent","parse_SerAuxTrend","parse_IFmtRecord","parse_Pos","parse_AlRuns","parse_BRAI","parse_SerAuxErrBar","parse_SerFmt","parse_Chart3DBarShape","parse_Fbi","parse_BopPop","parse_AxcExt","parse_Dat","parse_PlotGrowth","parse_SIIndex","parse_GelFrame","parse_BopPopCustom","parse_Fbi2","parse_ImData","env","lcb","parse_BIFF5String","parse_BIFF2STR","parse_BIFF2NUM","num","parse_BIFF2INT","parse_BIFF2STRING","parse_BIFF2FONTXTRA","parse_RString","DBF","dbf_codepage_map","100","101","102","103","104","106","107","120","121","122","123","124","125","126","150","151","152","200","201","202","203","77","78","79","80","87","88","89","dbf_to_aoa","memo","vfp","filedate","nrow","fpos","rlen","current_cp","fields","field","hend","trim","day","ms","dbf_to_sheet","dbf_to_workbook","to_workbook","to_sheet","SYLK","sylk_to_aoa","sylk_to_aoa_str","records","rj","formats","next_cell_format","sht","rowinfo","colinfo","cw","Mval","rstr","record","formula","rc_to_a1","F_seen","wch","process_col","hpx","pt2px","sylk_to_sheet","aoasht","aoa","sylk_to_workbook","write_ws_cell_sylk","F","a1_to_rc","write_ws_cols_sylk","cols","rec","wpx","width2px","px2char","write_ws_rows_sylk","rows","px2pt","sheet_to_sylk","preamble","RS","coord","from_sheet","DIF","dif_to_aoa","dif_to_aoa_str","metadata","dif_to_sheet","dif_to_workbook","sheet_to_dif","push_field","pf","topic","push_value","po","PRN","set_text_arr","prn_to_aoa_str","lines","dsv_to_sheet_str","sep","sepcc","instr","_re","finish_cell","prn_to_sheet_str","prn_to_sheet","firstbyte","prn_to_workbook","sheet_to_prn","read_wb_ID","OLD_WTF","message","WK_","lotushopper","Enum","WK1Enum","lotus_to_workbook","lotus_to_workbook_buf","sidx","snames","refguess","WK3Enum","qpro","parse_RANGE","parse_cell","parse_LABEL","parse_INTEGER","parse_NUMBER","parse_FORMULA","parse_cell_3","parse_LABEL_16","parse_NUMBER_18","parse_NUMBER_17","v1","v2","parse_FORMULA_19","parse_NUMBER_25","parse_NUMBER_27","parse_FORMULA_28","40","50","51","56","60","62","63","65","67","68","69","70","71","72","73","74","CS2CP","128","129","130","134","136","161","162","163","177","178","186","204","222","238","parse_rs","parse_rs_factory","tregex","rpregex","rregex","rend","nlregex","parse_rpr","rpr","intro","outro","align","uval","family","parse_r","terms","rs","sitregex","sirregex","sirphregex","parse_si","cellHTML","sstr0","sstr1","sstr2","parse_sst_xml","uniqueCount","SST","straywsregex","write_sst_xml","bookSST","sitag","parse_BrtBeginSst","parse_sst_bin","pass","hopper_sst","R_n","write_BrtBeginSst","write_BrtSSTItem","write_sst_bin","_JS2ANSI","parse_CRYPTOVersion","Major","Minor","parse_DataSpaceVersionInfo","U","parse_DataSpaceMapEntry","comps","rc","parse_DataSpaceMap","parse_DataSpaceDefinition","parse_TransformInfoHeader","parse_Primary","ename","cmode","parse_EncryptionHeader","AlgID","valid","AlgIDHash","KeySize","ProviderType","CSPName","parse_EncryptionVerifier","Salt","Verifier","VerifierHash","parse_EncryptionInfo","parse_EncInfoStd","parse_EncInfoExt","parse_EncInfoAgl","verifier","parse_RC4CryptoHeader","EncryptionVersionInfo","EncryptionHeader","EncryptionVerifier","parse_RC4Header","EncryptedVerifier","EncryptedVerifierHash","crypto_CreatePasswordVerifier_Method1","Password","PasswordArray","PasswordDecoded","PasswordByte","Intermediate1","Intermediate2","Intermediate3","crypto_CreateXorArray_Method1","PadArray","InitialCode","XorMatrix","Ror","Byte","XorRor","byte1","byte2","CreateXorKey_Method1","XorKey","CurrentElement","Char","password","Index","ObfuscationArray","Temp","PasswordLastChar","PadIndex","crypto_DecryptData_Method1","Data","XorArrayIndex","XorArray","Value","crypto_MakeXorDecryptor","parse_XORObfuscation","verificationBytes","insitu_decrypt","parse_FilePassHeader","Info","parse_FilePass","hex2RGB","rgb2HSL","G","H6","L2","hsl2RGB","hsl","h6","X","rgb_tint","DEF_MDW","MAX_MDW","MIN_MDW","MDW","px","char2width","chr","px2char_","char2width_","cycle_width","collw","find_mdw_colw","delta","_MDW","find_mdw_wpx","guess","coll","customWidth","DEF_PPI","PPI","pt","XLMLPatternTypeMap","None","Solid","Gray50","Gray75","Gray25","HorzStripe","VertStripe","ReverseDiagStripe","DiagStripe","DiagCross","ThickDiagCross","ThinHorzStripe","ThinVertStripe","ThinReverseDiagStripe","ThinHorzCross","parse_borders","Borders","border","sub_border","diagonalUp","diagonalDown","parse_fills","Fills","bgColor","indexed","fgColor","parse_fonts","Fonts","bold","underline","vertAlign","scheme","codepage","themeElements","clrScheme","parse_numFmts","NumberFmt","formatCode","write_numFmts","NF","cellXF_uint","cellXF_bool","parse_cellXfs","CellXf","xf","alignment","vertical","horizontal","textRotation","indent","wrapText","write_cellXfs","cellXfs","parse_sty_xml","make_pstyx","numFmtRegex","cellXfRegex","fillsRegex","fontsRegex","bordersRegex","STYLES_XML_ROOT","STY","write_sty_xml","parse_BrtFmt","stFmtCode","write_BrtFmt","parse_BrtFont","bls","bCharSet","charset","write_BrtFont","sss","XLSBFillPTNames","rev_XLSBFillPTNames","write_BrtFill","fls","parse_BrtXF","ixfeParent","ifmt","write_BrtXF","ixfeP","write_Blxf","write_BrtBorder","write_BrtStyle","xfId","builtinId","write_BrtBeginTableStyles","defTableStyle","defPivotStyle","parse_sty_bin","hopper_sty","write_FMTS_bin","write_FONTS_bin","write_FILLS_bin","write_BORDERS_bin","write_CELLSTYLEXFS_bin","fontId","fillId","borderId","write_CELLXFS_bin","write_STYLES_bin","write_DXFS_bin","write_TABLESTYLES_bin","write_COLORPALETTE_bin","write_sty_bin","THEME","parse_clrScheme","lastClr","parse_fontScheme","parse_fmtScheme","clrsregex","fntsregex","fmtsregex","parse_themeElements","themeltregex","parse_theme_xml","write_theme","Themes","themeXLSX","parse_Theme","dwThemeVersion","parse_ColorTheme","parse_FullColorExt","xclrType","nTintShade","xclrValue","parse_IcvXF","parse_XFExtGradient","parse_ExtProp","extType","parse_XFExt","cexts","ext","update_xfext","xfext","xfe","parse_cc_xml","write_cc_xml","parse_BrtCalcChainItem$","parse_cc_bin","hopper_cc","write_cc_bin","IMG","DRAW","parse_drawing","_shapeid","write_comments_vml","csize","bbox","xmlns:v","xmlns:o","xmlns:x","xmlns:mv","v:ext","joinstyle","gradientshapeok","o:connecttype","o:spt","coordsize","fillcolor","strokecolor","color2","angle","obscured","CMNT","parse_comments","dirComments","sheetRels","canonicalpath","parse_cmnt","sheetNames","sheetName","insertCommentsIntoSheet","thisCell","encoded","author","parse_comments_xml","authors","commentList","authtag","cmnttag","cm","authorId","sheetRows","textMatch","CMNT_XML_ROOT","write_comments_xml","iauthor","parse_BrtBeginComment","rfx","write_BrtBeginComment","parse_BrtCommentAuthor","write_BrtCommentAuthor","parse_comments_bin","hopper_cmnt","write_comments_bin","DS","MS","parse_ds_bin","!type","parse_ds_xml","parse_ms_bin","parse_ms_xml","rcregex","rcbase","rcfunc","$4","$5","fstr","crefregex","$0","off","shift_formula_str","shift_formula_xlsx","parseread","parseread1","parse_ColRelU","parse_RgceArea","parse_RgceArea_BIFF2","parse_RgceAreaRel","parse_RgceLoc","parse_RgceLoc_BIFF2","parse_RgceLocRel","parse_RgceLocRel_BIFF2","cl","rl","parse_PtgArea","parse_PtgArea3d","ixti","parse_PtgAreaErr","parse_PtgAreaErr3d","parse_PtgAreaN","parse_PtgArray","parse_PtgAttrBaxcel","bitSemi","bitBaxcel","parse_PtgAttrChoose","parse_PtgAttrGoto","bitGoto","parse_PtgAttrIf","bitIf","parse_PtgAttrIfError","parse_PtgAttrSemi","parse_PtgAttrSpaceType","parse_PtgAttrSpace","parse_PtgAttrSpaceSemi","parse_PtgRef","ptg","parse_PtgRefN","parse_PtgRef3d","parse_PtgFunc","iftab","FtabArgc","Ftab","parse_PtgFuncVar","cparams","tab","parsetab","Cetab","parse_PtgAttrSum","parse_PtgConcat","parse_PtgExp","parse_PtgErr","parse_PtgInt","parse_PtgBool","parse_PtgNum","parse_PtgStr","parse_SerAr","parse_PtgExtraMem","parse_PtgExtraArray","parse_PtgName","nameindex","parse_PtgNameX","parse_PtgNameX_BIFF5","parse_PtgMemArea","parse_PtgMemFunc","parse_PtgRefErr","parse_PtgRefErr3d","parse_PtgAdd","parse_PtgDiv","parse_PtgEq","parse_PtgGe","parse_PtgGt","parse_PtgIsect","parse_PtgLe","parse_PtgLt","parse_PtgMissArg","parse_PtgMul","parse_PtgNe","parse_PtgParen","parse_PtgPercent","parse_PtgPower","parse_PtgRange","parse_PtgSub","parse_PtgUminus","parse_PtgUnion","parse_PtgUplus","parse_PtgMemErr","parse_PtgMemNoMem","parse_PtgTbl","PtgTypes","57","58","59","PtgDupes","96","97","98","99","75","76","108","109","91","92","93","Ptg18","Ptg19","parse_Formula","parse_FormulaValue","chn","cbf","parse_XLSCellParsedFormula","shared","parse_RgbExtra","parse_Rgce","rgcb","ptgs","stringify_array","PtgBinOp","PtgAdd","PtgConcat","PtgDiv","PtgEq","PtgGe","PtgGt","PtgLe","PtgLt","PtgMul","PtgNe","PtgPower","PtgSub","get_ixti","supbooks","stringify_formula","_range","stack","nameidx","sname","last_sp","sp","fflen","argc","args","lbl","names","XLSXFutureFunctions","bookidx","externbook","pnxname","lp","rp","sharedf","parsedf","fnd","arrayf","PtgNonDisp","_left","parse_XLSBParsedFormula","parse_XLSBArrayParsedFormula","parse_XLSBCellParsedFormula","parse_XLSBNameParsedFormula","parse_XLSBSharedParsedFormula","PtgDataType","53","54","83","85","94","95","110","111","112","113","114","115","116","117","118","119","127","131","132","133","135","137","138","139","140","142","143","144","145","146","147","148","149","153","155","159","164","166","167","168","169","170","171","172","173","174","175","185","187","188","189","190","191","192","193","194","195","196","197","198","199","206","207","208","209","210","211","212","214","215","217","219","220","223","224","225","226","227","228","229","240","243","249","250","251","252","253","254","256","259","260","265","266","267","268","269","272","273","274","276","277","278","279","280","281","282","283","284","285","288","289","290","291","292","293","295","296","297","298","302","305","306","307","308","309","310","311","312","313","314","315","316","318","319","320","321","322","323","324","325","328","330","336","338","339","342","343","344","350","352","355","356","370","373","374","375","376","377","378","379","380","381","382","383","384","385","386","388","390","391","392","393","394","395","396","397","398","399","400","412","413","414","415","416","417","421","422","423","424","425","430","431","432","433","434","435","436","437","438","439","440","441","442","443","444","445","446","447","448","449","450","451","452","453","454","455","456","458","459","460","461","462","463","464","465","466","467","468","469","470","471","472","473","474","475","476","477","478","480","481","482","485","489","491","493","494","495","509","510","511","517","518","519","520","521","522","523","545","546","547","548","549","620","621","647","653","667","673","753","755","808","141","154","156","157","158","160","165","176","179","180","181","182","183","184","205","221","230","231","232","233","234","235","236","237","239","241","242","244","245","246","247","248","257","258","261","262","263","264","270","271","275","286","287","294","299","300","301","303","304","317","326","327","329","331","332","334","335","337","340","341","345","346","347","348","349","353","357","359","360","361","362","363","364","365","366","367","368","369","371","372","387","389","401","402","403","404","405","406","407","408","409","410","411","418","419","426","427","428","429","457","724","479","483","484","_xlfn.ACOT","_xlfn.ACOTH","_xlfn.AGGREGATE","_xlfn.ARABIC","_xlfn.AVERAGEIF","_xlfn.AVERAGEIFS","_xlfn.BASE","_xlfn.BETA.DIST","_xlfn.BETA.INV","_xlfn.BINOM.DIST","_xlfn.BINOM.DIST.RANGE","_xlfn.BINOM.INV","_xlfn.BITAND","_xlfn.BITLSHIFT","_xlfn.BITOR","_xlfn.BITRSHIFT","_xlfn.BITXOR","_xlfn.CEILING.MATH","_xlfn.CEILING.PRECISE","_xlfn.CHISQ.DIST","_xlfn.CHISQ.DIST.RT","_xlfn.CHISQ.INV","_xlfn.CHISQ.INV.RT","_xlfn.CHISQ.TEST","_xlfn.COMBINA","_xlfn.CONFIDENCE.NORM","_xlfn.CONFIDENCE.T","_xlfn.COT","_xlfn.COTH","_xlfn.COUNTIFS","_xlfn.COVARIANCE.P","_xlfn.COVARIANCE.S","_xlfn.CSC","_xlfn.CSCH","_xlfn.DAYS","_xlfn.DECIMAL","_xlfn.ECMA.CEILING","_xlfn.ERF.PRECISE","_xlfn.ERFC.PRECISE","_xlfn.EXPON.DIST","_xlfn.F.DIST","_xlfn.F.DIST.RT","_xlfn.F.INV","_xlfn.F.INV.RT","_xlfn.F.TEST","_xlfn.FILTERXML","_xlfn.FLOOR.MATH","_xlfn.FLOOR.PRECISE","_xlfn.FORMULATEXT","_xlfn.GAMMA","_xlfn.GAMMA.DIST","_xlfn.GAMMA.INV","_xlfn.GAMMALN.PRECISE","_xlfn.GAUSS","_xlfn.HYPGEOM.DIST","_xlfn.IFNA","_xlfn.IFERROR","_xlfn.IMCOSH","_xlfn.IMCOT","_xlfn.IMCSC","_xlfn.IMCSCH","_xlfn.IMSEC","_xlfn.IMSECH","_xlfn.IMSINH","_xlfn.IMTAN","_xlfn.ISFORMULA","_xlfn.ISO.CEILING","_xlfn.ISOWEEKNUM","_xlfn.LOGNORM.DIST","_xlfn.LOGNORM.INV","_xlfn.MODE.MULT","_xlfn.MODE.SNGL","_xlfn.MUNIT","_xlfn.NEGBINOM.DIST","_xlfn.NETWORKDAYS.INTL","_xlfn.NIGBINOM","_xlfn.NORM.DIST","_xlfn.NORM.INV","_xlfn.NORM.S.DIST","_xlfn.NORM.S.INV","_xlfn.NUMBERVALUE","_xlfn.PDURATION","_xlfn.PERCENTILE.EXC","_xlfn.PERCENTILE.INC","_xlfn.PERCENTRANK.EXC","_xlfn.PERCENTRANK.INC","_xlfn.PERMUTATIONA","_xlfn.PHI","_xlfn.POISSON.DIST","_xlfn.QUARTILE.EXC","_xlfn.QUARTILE.INC","_xlfn.QUERYSTRING","_xlfn.RANK.AVG","_xlfn.RANK.EQ","_xlfn.RRI","_xlfn.SEC","_xlfn.SECH","_xlfn.SHEET","_xlfn.SHEETS","_xlfn.SKEW.P","_xlfn.STDEV.P","_xlfn.STDEV.S","_xlfn.SUMIFS","_xlfn.T.DIST","_xlfn.T.DIST.2T","_xlfn.T.DIST.RT","_xlfn.T.INV","_xlfn.T.INV.2T","_xlfn.T.TEST","_xlfn.UNICHAR","_xlfn.UNICODE","_xlfn.VAR.P","_xlfn.VAR.S","_xlfn.WEBSERVICE","_xlfn.WEIBULL.DIST","_xlfn.WORKDAY.INTL","_xlfn.XOR","_xlfn.Z.TEST","ods_to_csf_formula","csf_to_ods_formula","ods_to_csf_range_3D","_ssfopts","WS","get_sst_id","col_obj_w","default_margins","margins","defs","right","bottom","get_cell_style","revssf","ssf","applyNumberFormat","safe_format","fillid","cellNF","cellText","raw_rgb","parse_ws_xml_dim","mergecregex","sheetdataregex","hlinkregex","dimregex","colregex","afregex","marginregex","parse_ws_xml","data1","data2","mtch","ridx","columns","parse_ws_xml_cols","parse_ws_xml_data","afilter","parse_ws_xml_autofilter","mergecells","parse_ws_xml_hlinks","parse_ws_xml_margins","tmpref","write_ws_xml_merges","write_ws_xml_protection","deffalse","deftrue","Rel","tooltip","Tooltip","rng","margin","write_ws_xml_margins","seencol","coli","colm","colM","write_ws_xml_cols","write_ws_xml_autofilter","write_ws_xml_sheetviews","workbookViewId","write_ws_xml_cell","oldt","oldv","Strings","parse_ws_xml_data_factory","cellregex","rowregex","isregex","refregex","match_v","match_f","sdata","cells","cref","tagr","tagc","sstr","ftag","do_format","rowobj","rowrite","marr","marrlen","xlen","ht","outlineLevel","cellFormula","si","_tag","sheetStubs","_r","write_ws_xml_data","_cell","params","height","customHeight","WS_XML_ROOT","xmlns:r","write_ws_xml","rdata","codeName","sheetFormat","defaultRowHeight","baseColWidth","outlineLevelRow","relc","r:id","hfidx","parse_BrtRowHdr","write_BrtRowHdr","ncolspan","lcs","caddr","first","write_row_header","parse_BrtWsDim","write_BrtWsDim","parse_BrtWsFmtInfo","parse_BrtWsProp","write_BrtWsProp","parse_BrtCellBlank","write_BrtCellBlank","ncell","parse_BrtCellBool","fBool","write_BrtCellBool","parse_BrtCellError","bError","parse_BrtCellIsst","write_BrtCellIsst","parse_BrtCellReal","write_BrtCellReal","parse_BrtCellRk","write_BrtCellRk","parse_BrtCellSt","write_BrtCellSt","parse_BrtFmlaBool","parse_BrtFmlaError","parse_BrtFmlaNum","parse_BrtFmlaString","parse_BrtMergeCell","write_BrtMergeCell","write_BrtBeginMergeCells","parse_BrtHLink","relId","display","write_BrtHLink","locidx","parse_BrtArrFmla","fAlwaysCalc","parse_BrtShrFmla","write_BrtColInfo","parse_BrtMargins","write_BrtMargins","write_BrtBeginWsView","write_BrtSheetProtection","parse_ws_bin","!id","ai","af","array_formulae","shared_formulae","Names","defwidth","defheight","ws_parse","aii","_d","write_ws_bin_cell","olddate","write_CELLTABLE","cap","write_MERGECELLS","write_COLINFOS","write_HLINKS","write_LEGACYDRAWING","write_AUTOFILTER","write_WSVIEWS2","write_WSFMTINFO","write_SHEETPROTECT","write_ws_bin","parse_numCache","nf","parse_chart","csheet","nc","cache","CS","CS_XML_ROOT","parse_cs_xml","!chart","!rel","write_cs_xml","parse_cs_bin","cs_parse","write_cs_bin","WBPropsDef","WBViewDef","SheetDef","CalcPrDef","CustomWBViewDef","push_defaults_array","push_defaults","parse_wb_defaults","WBProps","CalcPr","WBView","safe1904","Workbook","badchars","check_ws_name","_good","check_wb_names","N","check_wb","wbnsregex","parse_wb_xml","dname","dnstart","xml_wb","Hidden","Comment","localSheetId","Sheet","Ref","WB_XML_ROOT","write_wb_xml","write_names","workbookPr","sheetId","parse_BrtBundleSh","iTabID","strRelID","write_BrtBundleSh","parse_BrtWbProp","defaultThemeVersion","strName","autoCompressPictures","backupFile","checkCompatibility","filterPrivacy","hidePivotFieldList","promptedSolutions","publishItems","refreshAllConnections","saveExternalLinkValues","showBorderUnselectedTables","showInkAnnotation","showObjects","showPivotChartFilter","updateLinks","write_BrtWbProp","parse_BrtFRTArchID$","ArchID","parse_BrtName","Ptg","parse_wb_bin","hopper_wb","write_BUNDLESHS","viz","write_BrtFileVersion","write_BrtBookView","write_BOOKVIEWS","vistab","write_BrtCalcProp","write_BrtFileRecover","write_wb_bin","parse_wb","parse_ws","parse_cs","parse_ms","parse_ds","parse_sty","parse_theme","parse_sst","parse_cc","write_wb","write_ws","write_cs","write_sty","write_sst","write_cmnt","attregexg2","attregex2","_chr","xlml_parsexmltag","words","xlml_parsexmltagobj","xlml_format","xlml_set_custprop","oval","safe_format_xlml","process_style_xlml","stag","Interior","I","Pattern","ID","parse_xlml_data","csty","sid","StyleID","interiors","Parent","UTC","Formula","ArrayRange","xlml_clean_comment","parse_xlml_xml","opening","ishtml","HTML_","tmp","sheetnames","cursheet","sheetname","dtag","didx","fidx","pidx","cstys","wsprops","lastIndex","HRef","HRefScreenTip","MergeAcross","MergeDown","cma","cmd","AutoFitHeight","Height","Format","ssfidx","Width","_col","Span","_NamedRange","_DefinedName","RefersTo","AutoFilter","Range","parse_fods","seen","Margin","pagemargins","Top","Left","Right","Bottom","bookSheets","bookProps","parse_xlml","fix_read_opts","write_props_xlml","write_wb_xlml","write_sty_xlml","write_ws_xlml_wsopts","x:Margin","x:Bottom","x:Left","x:Right","x:Top","objects","scenarios","selectLockedCells","selectUnlockedCells","write_ws_xlml_comment","ss:Author","write_ws_xlml_cell","mi","_v","__v","__i","write_ws_xlml_row","write_ws_xlml_table","ss:Index","write_ws_xlml","write_xlml","ss:Name","xmlns:ss","xmlns:dt","xmlns:html","parse_compobj","UserType","Reserved1","slurp","XLSRecordEnum","ll","safe_format_xf","make_cell","parse_workbook","Directory","found_sheet","last_formula","cur_sheet","Preamble","lastcell","last_cell","cmnt","rngC","rngR","temp_val","country","cell_valid","XFs","palette","get_rgb","getrgb","process_cell_style","pcs","line","xfd","addcell","file_depth","afi","rrtabid","lastuser","winlocked","wtf","XTI","last_Rn","BIFF2Fmt","BIFF2FmtTable","FilterDatabases","last_lbl","RecordType","Date1904","WriteProtect","error","RefreshAll","CalcCount","CalcDelta","CalcIter","CalcMode","CalcPrecision","CalcSaveRecalc","CalcRefMode","FullCalc","ExternCount","fakebs8","_f","_fr","_fc","_fe","_arraystart","_j","_ixfe","b2idx","TxO","ImData","noteobj","sheetnamesraw","sort","Encryption","Metadata","Country","parse_props","cfb","DSI","DocSummary","SI","Summary","parse_xlscfb","CompObj","CompObjP","SummaryP","WorkbookP","props","bookFiles","333","486","487","488","490","492","496","497","498","499","500","501","502","503","504","505","506","507","508","512","513","514","515","516","524","525","526","527","528","529","530","531","532","533","534","535","536","537","538","539","540","541","542","550","551","552","553","554","555","556","557","558","559","560","561","562","564","565","566","569","570","572","573","574","577","578","579","580","581","582","583","584","585","586","587","588","589","590","591","592","593","594","595","596","597","598","599","600","601","602","603","604","605","606","607","608","609","610","611","612","613","614","615","616","617","618","619","625","626","627","628","629","630","631","632","633","634","635","636","637","638","639","640","641","642","643","644","645","646","648","649","650","651","652","654","655","656","657","658","659","660","661","662","663","664","665","666","668","669","671","672","674","675","676","677","678","679","680","1024","1025","1026","1027","1028","1029","1030","1031","1032","1033","1034","1035","1036","1037","1038","1039","1040","1041","1042","1043","1044","1045","1046","1047","1048","1049","1050","1051","1052","1053","1054","1055","1056","1057","1058","1059","1061","1062","1063","1066","1067","1068","1069","1070","1071","1072","1073","1075","1076","1077","1078","1079","1080","1081","1082","1083","1084","1085","1086","1087","1088","1089","1090","1091","1092","1093","1094","1095","1096","1097","1098","1099","1100","1101","1102","1103","1104","1105","1111","1112","1113","1114","1115","1116","1117","1118","1119","1120","1121","1122","1123","1124","1125","1126","1128","1129","1130","1131","1132","1133","1134","1135","1136","1137","1138","1139","1140","1141","1142","1143","1144","1145","1146","1147","1148","1149","1150","1152","1153","1154","1155","1156","1157","1158","1159","1160","1161","1162","1163","1164","1165","1166","1167","1168","1169","1170","1171","1172","1173","1177","1178","1180","1181","1182","2048","2049","2050","2051","2052","2053","2054","2055","2056","2057","2058","2060","2067","2068","2069","2070","2071","2072","2073","2075","2076","2077","2078","2079","2080","2081","2082","2083","2084","2085","2086","2087","2088","2089","2090","2091","2092","2093","2094","2095","2096","2097","2098","2099","2100","2101","2102","2103","2104","2105","2106","2107","2108","2109","2110","2111","2112","2113","2114","2115","2116","2117","2118","2119","2120","2121","2122","2123","2124","2125","2126","2127","2128","2129","2130","2131","2132","2133","2134","2135","2136","1212","2059","2061","2062","2063","2064","2066","2137","2138","2146","2147","2148","2149","2150","2151","2152","2154","2155","2156","2161","2162","2164","2165","2166","2167","2168","2169","2170","2171","2172","2173","2174","2175","2180","2181","2182","2183","2184","2185","2186","2187","2188","2189","2190","2191","2192","2194","2195","2196","2197","2198","2199","2200","2201","2202","2203","2204","2205","2206","2207","2211","2212","2213","2214","2215","4097","4098","4099","4102","4103","4105","4106","4107","4108","4109","4116","4117","4118","4119","4120","4121","4122","4123","4124","4125","4126","4127","4128","4129","4130","4132","4133","4134","4135","4146","4147","4148","4149","4154","4156","4157","4158","4159","4160","4161","4163","4164","4165","4166","4168","4170","4171","4174","4175","4176","4177","4187","4188","4189","4191","4192","4193","4194","4195","4196","4197","4198","4199","4200","2157","2163","2177","2240","2241","2242","2243","2244","2245","2246","2247","2248","2249","2250","2251","29282","write_biff_rec","write_BOF","write_BIFF2Cell","write_BIFF2INT","write_BIFF2NUMBER","write_BIFF2BERR","write_BIFF2LABEL","write_ws_biff_cell","write_biff_ws","write_biff_buf","html_to_sheet","mtch2","midx","hd","colspan","rowspan","html_to_book","make_html_row","nullcell","editable","contenteditable","make_html_preamble","_BEGIN","_END","sheet_to_html","_row","BEGIN","END","_preamble","parse_dom_table","getElementsByTagName","_C","elts","children","elt","innerText","textContent","getAttribute","table_to_book","parse_content_xml","parse_text_p","number_formats","month","year","hours","minutes","seconds","am-pm","day-of-week","pcx","NFtag","sheetag","rowtag","ctag","textp","textpidx","textptag","number_format_map","mrange","mR","mC","creator","creatoridx","rept","isstub","parse_ods","ods","write_styles_ods","wso","write_content_ods","null_cell_xml","covered_cell_xml","_Fref","write_automatic_styles_ods","wcx","xmlns:office","xmlns:table","xmlns:style","xmlns:text","xmlns:draw","xmlns:fo","xmlns:xlink","xmlns:meta","xmlns:number","xmlns:presentation","xmlns:svg","xmlns:chart","xmlns:dr3d","xmlns:math","xmlns:form","xmlns:script","xmlns:ooo","xmlns:ooow","xmlns:oooc","xmlns:dom","xmlns:xforms","xmlns:sheet","xmlns:rpt","xmlns:of","xmlns:xhtml","xmlns:grddl","xmlns:tableooo","xmlns:drawooo","xmlns:calcext","xmlns:loext","xmlns:field","xmlns:formx","xmlns:css3t","office:version","fods","xmlns:config","office:mimetype","write_ods","write_obj_str","factory","write_str","write_htm_str","write_csv_str","sheet_to_csv","write_slk_str","write_dif_str","write_prn_str","write_txt_str","sheet_to_txt","fix_opts_func","fix_opts","fix_write_opts","get_sheet_type","safe_parse_wbrels","wbrels","pwbr","safe_parse_sheet","relsPath","stype","dfile","drelsp","draw","chartp","crelsp","nodirs","parse_zip","entries","binname","propdata","pluck","deps","bookDeps","wbsheets","wbext","wbrelsfile","nmode","Deps","Styles","bookVBA","vbaraw","bin","parse_xlsxcfb","dsm","seds","einfo","write_zip","vbafmt","General","wsrels","_type","rId1","read_cfb","read_zip","read_plaintext","read_plaintext_raw","read_utf16","write_zip_type","oopts","writeFileSync","write_bstr_type","write_string_type","write_binary_type","bstr","writeSync","resolve_book_type","writeFileAsync","_cb","Function","writeFile","sheet_to_json","isempty","defval","outi","counter","CC","defineProperty","enumerable","__rowNum__","blankrows","qreg","make_csv_row","FS","txt","endregex","strip","sheet_to_formulae","cmds","json_to_sheet","js","get_formulae","make_csv","make_json","make_formulae","table_to_sheet","sheet_to_row_object_array","add_consts","get_default","ws_get_cell_stub","wb_sheet_idx","sh","book_new","book_append_sheet","book_set_sheet_visibility","vis","cell_set_number_format","cell_set_hyperlink","cell_add_comment","sheet_set_array_formula","rngstr","Readable","write_csv_stream","_read","write_html_stream","to_html","to_csv","readFile","write","XLS","ODS"],"mappings":";CAWC,SAASA,GACT,GAAG,gBAAiBC,UAAS,mBAAoBC,QAAOA,OAAOD,QAAQD,QAClE,IAAG,kBAAmBG,SAAQA,OAAOC,IAAI,CAACC,MAAML,GAAIG,WAAUH,OAC/D,CACH,GAAIM,EACJ,oBAAoBC,QAAOD,EAAEC,OAC7B,mBAAoBC,QAAOF,EAAEE,OAC7B,mBAAoBC,IAAKA,EAAED,OAAOF,EAAEG,EAAED,OACtC,mBAAoBE,QAAOJ,EAAEI,MAAMJ,EAAED,MAAML,OAE3C,WAAW,GAAIG,GAAOD,EAAOD,CAAQ,OAAO,SAAUD,GAAEW,EAAEC,EAAEC,GAAG,QAASC,GAAEC,EAAEC,GAAG,IAAIJ,EAAEG,GAAG,CAAC,IAAIJ,EAAEI,GAAG,CAAC,GAAIE,SAASC,UAAS,YAAYA,OAAQ,KAAIF,GAAGC,EAAE,MAAOA,GAAEF,GAAG,EAAG,IAAGI,EAAE,MAAOA,GAAEJ,GAAG,EAAG,MAAM,IAAIK,OAAM,uBAAuBL,EAAE,KAAK,GAAIT,GAAEM,EAAEG,IAAId,WAAYU,GAAEI,GAAG,GAAGM,KAAKf,EAAEL,QAAQ,SAASD,GAAG,GAAIY,GAAED,EAAEI,GAAG,GAAGf,EAAG,OAAOc,GAAEF,EAAEA,EAAEZ,IAAIM,EAAEA,EAAEL,QAAQD,EAAEW,EAAEC,EAAEC,GAAG,MAAOD,GAAEG,GAAGd,QAAQ,GAAIkB,SAASD,UAAS,YAAYA,OAAQ,KAAI,GAAIH,GAA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