From a0bed2a97dcb1e3b76049be91abf3747f333c975 Mon Sep 17 00:00:00 2001 From: SheetJS Date: Thu, 4 Apr 2024 21:20:28 -0400 Subject: [PATCH] version bump 0.20.2 see https://regexide.com for more details --- CHANGELOG.md | 1 + bits/01_version.js | 2 +- bits/10_ssf.js | 2 +- bits/18_cfb.js | 2 +- bits/20_jsutils.js | 80 +- bits/22_xmlutils.js | 19 +- bits/27_csfutils.js | 13 +- bits/35_custprops.js | 2 +- bits/38_xlstypes.js | 4 +- bits/40_harb.js | 6 +- bits/42_sstxml.js | 14 +- bits/47_styxml.js | 27 +- bits/49_theme.js | 30 +- bits/55_vml.js | 3 +- bits/57_cmntxml.js | 10 +- bits/59_vba.js | 2 +- bits/67_wsxml.js | 31 +- bits/68_wsbin.js | 2 +- bits/69_chartxml.js | 10 +- bits/75_xlml.js | 6 +- bits/79_html.js | 4 +- bits/80_parseods.js | 12 +- bits/81_writeods.js | 6 +- bits/83_numbers.js | 2 +- bits/85_parsezip.js | 2 +- bits/90_utils.js | 6 +- dist/xlsx.core.min.js | 32 +- dist/xlsx.core.min.map | 2 +- dist/xlsx.extendscript.js | 4129 ++++++++++++++++++------------------ dist/xlsx.full.min.js | 34 +- dist/xlsx.full.min.map | 2 +- dist/xlsx.mini.min.js | 18 +- dist/xlsx.mini.min.map | 2 +- modules/04_base64.ts | 6 +- modules/59_vba.js | 2 +- modules/59_vba.ts | 2 +- modules/83_numbers.js | 2 +- modules/83_numbers.ts | 2 +- xlsx.flow.js | 4131 +++++++++++++++++++------------------ xlsx.full.min.js | 24 + xlsx.js | 4129 ++++++++++++++++++------------------ xlsx.mini.flow.js | 836 ++++---- xlsx.mini.js | 836 ++++---- xlsx.mjs | 4129 ++++++++++++++++++------------------ 44 files changed, 9720 insertions(+), 8896 deletions(-) create mode 100644 xlsx.full.min.js diff --git a/CHANGELOG.md b/CHANGELOG.md index 076c449..f855c18 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ changes may not be included if they are not expected to break existing code. ## v0.20.2 +* Reworked parsing methods to avoid slow regexes (CVE-2024-22363) * HTML properly encode data-v attribute * SYLK read and write error cells diff --git a/bits/01_version.js b/bits/01_version.js index af18d77..a5d1b87 100644 --- a/bits/01_version.js +++ b/bits/01_version.js @@ -1 +1 @@ -XLSX.version = '0.20.1'; +XLSX.version = '0.20.2'; diff --git a/bits/10_ssf.js b/bits/10_ssf.js index c3f1784..8b47f1c 100644 --- a/bits/10_ssf.js +++ b/bits/10_ssf.js @@ -408,7 +408,7 @@ function write_num_f2(r/*:Array*/, aval/*:number*/, sign/*:string*/)/*:s return sign + (aval === 0 ? "" : ""+aval) + fill(" ", r[1].length + 2 + r[4].length); } var dec1 = /^#*0*\.([0#]+)/; -var closeparen = /\).*[0#]/; +var closeparen = /\)[^)]*[0#]/; var phone = /\(###\) ###\\?-####/; function hashq(str/*:string*/)/*:string*/ { var o = "", cc; diff --git a/bits/18_cfb.js b/bits/18_cfb.js index a19f00d..48f4a82 100644 --- a/bits/18_cfb.js +++ b/bits/18_cfb.js @@ -1683,7 +1683,7 @@ function parse_mime(cfb/*:CFBContainer*/, data/*:Array*/, root/*:string* for(;di < 10; ++di) { var line = data[di]; if(!line || line.match(/^\s*$/)) break; - var m = line.match(/^(.*?):\s*([^\s].*)$/); + var m = line.match(/^([^:]*?):\s*([^\s].*)$/); if(m) switch(m[1].toLowerCase()) { case "content-location": fname = m[2].trim(); break; case "content-type": ctype = m[2].trim(); break; diff --git a/bits/20_jsutils.js b/bits/20_jsutils.js index 158031b..b14cc7f 100644 --- a/bits/20_jsutils.js +++ b/bits/20_jsutils.js @@ -87,7 +87,7 @@ function parseDate(str/*:string*/, date1904/*:boolean*/)/*:Date*/ { if(m) return new Date(Date.UTC(+m[1], +m[2]-1, +m[3], 0, 0, 0, 0)); /* TODO: 1900-02-29T00:00:00.000 should return a flag to treat as a date code (affects xlml) */ m = str.match(pdre3); - if(m) return new Date(Date.UTC(+m[1], +m[2]-1, +m[3], +m[4], +m[5], ((m[6] && parseInt(m[6].slice(1), 10))|| 0), ((m[7] && parseInt(m[7].slice(1), 10))||0))); + if(m) return new Date(Date.UTC(+m[1], +m[2]-1, +m[3], +m[4], +m[5], ((m[6] && parseInt(m[6].slice(1), 10))|| 0), ((m[7] && parseInt((m[7] + "0000").slice(1,4), 10))||0))); var d = new Date(str); return d; } @@ -154,7 +154,7 @@ function fuzzynum(s/*:string*/)/*:number*/ { var wt = 1; var ss = s.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g, function() { wt *= 100; return "";}); if(!isNaN(v = Number(ss))) return v / wt; - ss = ss.replace(/[(](.*)[)]/,function($$, $1) { wt = -wt; return $1;}); + ss = ss.replace(/[(]([^()]*)[)]/,function($$, $1) { wt = -wt; return $1;}); if(!isNaN(v = Number(ss))) return v / wt; return v; } @@ -224,6 +224,15 @@ function local_to_utc(local) { return new Date(Date.UTC(local.getFullYear(), local.getMonth(), local.getDate(), local.getHours(), local.getMinutes(), local.getSeconds(), local.getMilliseconds())); } +function remove_doctype(str) { + var preamble = str.slice(0, 1024); + var si = preamble.indexOf("/g) --> str_match_ng(str, "") */ function str_match_ng(str, s, e) { var out = []; @@ -257,11 +266,13 @@ function str_remove_ng(str, s, e) { return out.join(""); } -/* str.match(/]*?>([\s\S]*?)/) --> str_match_xml(str, "tag") */ +/* str.match(/]*?>([\s\S]*?)/) --> str_match_xml(str, "tag") */ +var xml_boundary = { " ": 1, "\t": 1, "\r": 1, "\n": 1, ">": 1 }; function str_match_xml(str, tag) { - var si = str.indexOf('<' + tag); + var si = str.indexOf('<' + tag), w = tag.length + 1, L = str.length; + while(si >= 0 && si <= L - w && !xml_boundary[str.charAt(si + w)]) si = str.indexOf('<' + tag, si+1); if(si === -1) return null; - var sf = str.indexOf(">", si); + var sf = str.indexOf(">", si + tag.length); if(sf === -1) return null; var et = ""; var ei = str.indexOf(et, sf); @@ -269,12 +280,13 @@ function str_match_xml(str, tag) { return [str.slice(si, ei + et.length), str.slice(sf + 1, ei)]; } +/* str.match(/<(?:\w+:)?tag\b[^<>]*?>([\s\S]*?)<\/(?:\w+:)?tag>/) --> str_match_xml(str, "tag") */ var str_match_xml_ns = /*#__PURE__*/(function() { var str_match_xml_ns_cache = {}; return function str_match_xml_ns(str, tag) { var res = str_match_xml_ns_cache[tag]; if(!res) str_match_xml_ns_cache[tag] = res = [ - new RegExp('<(?:\\w+:)?'+tag+'[^>]*>', "g"), + new RegExp('<(?:\\w+:)?'+tag+'\\b[^<>]*>', "g"), new RegExp('', "g") ]; res[0].lastIndex = res[1].lastIndex = 0; @@ -291,24 +303,74 @@ var str_match_xml_ns = /*#__PURE__*/(function() { }; })(); +/* str.match(/<(?:\w+:)?tag\b[^<>]*?>([\s\S]*?)<\/(?:\w+:)?tag>/g) --> str_match_xml_ns_g(str, "tag") */ var str_match_xml_ns_g = /*#__PURE__*/(function() { var str_match_xml_ns_cache = {}; return function str_match_xml_ns(str, tag) { var out = []; var res = str_match_xml_ns_cache[tag]; if(!res) str_match_xml_ns_cache[tag] = res = [ - new RegExp('<(?:\\w+:)?'+tag+'[^>]*>', "g"), + new RegExp('<(?:\\w+:)?'+tag+'\\b[^<>]*>', "g"), new RegExp('', "g") ]; res[0].lastIndex = res[1].lastIndex = 0; var m; while((m = res[0].exec(str))) { var si = m.index; - var sf = res[0].lastIndex; res[1].lastIndex = res[0].lastIndex; m = res[1].exec(str); if(!m) return null; - var ei = m.index; + var ef = res[1].lastIndex; + out.push(str.slice(si, ef)); + res[0].lastIndex = res[1].lastIndex; + } + return out.length == 0 ? null : out; + }; +})(); +var str_remove_xml_ns_g = /*#__PURE__*/(function() { + var str_remove_xml_ns_cache = {}; + return function str_remove_xml_ns_g(str, tag) { + var out = []; + var res = str_remove_xml_ns_cache[tag]; + if(!res) str_remove_xml_ns_cache[tag] = res = [ + new RegExp('<(?:\\w+:)?'+tag+'\\b[^<>]*>', "g"), + new RegExp('', "g") + ]; + res[0].lastIndex = res[1].lastIndex = 0; + var m; + var si = 0, ef = 0; + while((m = res[0].exec(str))) { + si = m.index; + out.push(str.slice(ef, si)); + ef = si; + res[1].lastIndex = res[0].lastIndex; + m = res[1].exec(str); + if(!m) return null; + ef = res[1].lastIndex; + res[0].lastIndex = res[1].lastIndex; + } + out.push(str.slice(ef)); + return out.length == 0 ? "" : out.join(""); + }; +})(); + +/* str.match(/<(?:\w+:)?tag\b[^>]*?>([\s\S]*?)<\/(?:\w+:)?tag>/gi) --> str_match_xml_ns_ig(str, "tag") */ +var str_match_xml_ig = /*#__PURE__*/(function() { + var str_match_xml_ns_cache = {}; + return function str_match_xml_ns(str, tag) { + var out = []; + var res = str_match_xml_ns_cache[tag]; + if(!res) str_match_xml_ns_cache[tag] = res = [ + new RegExp('<'+tag+'\\b[^<>]*>', "ig"), + new RegExp('', "ig") + ]; + res[0].lastIndex = res[1].lastIndex = 0; + var m; + while((m = res[0].exec(str))) { + var si = m.index; + res[1].lastIndex = res[0].lastIndex; + m = res[1].exec(str); + if(!m) return null; var ef = res[1].lastIndex; out.push(str.slice(si, ef)); res[0].lastIndex = res[1].lastIndex; diff --git a/bits/22_xmlutils.js b/bits/22_xmlutils.js index 030060a..eb79f3f 100644 --- a/bits/22_xmlutils.js +++ b/bits/22_xmlutils.js @@ -1,6 +1,6 @@ var XML_HEADER = '\r\n'; -var attregexg=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g; -var tagregex1=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/mg, tagregex2 = /<[^>]*>/g; +var attregexg=/\s([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g; +var tagregex1=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?<>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'"<>\s=]+))*\s*[\/\?]?>/mg, tagregex2 = /<[^<>]*>/g; var tagregex = /*#__PURE__*/XML_HEADER.match(tagregex1) ? tagregex1 : tagregex2; var nsregex=/<\w*:/, nsregex2 = /<(\/?)\w+:/; function parsexmltag(tag/*:string*/, skip_root/*:?boolean*/, skip_LC/*:?boolean*/)/*:any*/ { @@ -11,7 +11,7 @@ function parsexmltag(tag/*:string*/, skip_root/*:?boolean*/, skip_LC/*:?boolean* if(eq === tag.length) return z; var m = tag.match(attregexg), j=0, v="", i=0, q="", cc="", quot = 1; if(m) for(i = 0; i != m.length; ++i) { - cc = m[i]; + cc = m[i].slice(1); for(c=0; c != cc.length; ++c) if(cc.charCodeAt(c) === 61) break; q = cc.slice(0,c).trim(); while(cc.charCodeAt(c+1) == 32) ++c; @@ -171,21 +171,21 @@ var htmldecode/*:{(s:string):string}*/ = /*#__PURE__*/(function() { // Remove new lines and spaces from start of content .replace(/^[\t\n\r ]+/, "") // Remove new lines and spaces from end of content - .replace(/[\t\n\r ]+$/,"") + .replace(/(^|[^\t\n\r ])[\t\n\r ]+$/,"$1") // Added line which removes any white space characters after and before html tags - .replace(/>\s+/g,">").replace(/\s+\s+/g,">").replace(/\b\s+ tags with new lines .replace(/<\s*[bB][rR]\s*\/?>/g,"\n") // Strip HTML elements - .replace(/<[^>]*>/g,""); + .replace(/<[^<>]*>/g,""); for(var i = 0; i < entities.length; ++i) o = o.replace(entities[i][0], entities[i][1]); return o; }; })(); -var vtvregex = /<\/?(?:vt:)?variant>/g, vtmregex = /<(?:vt:)([^>]*)>([\s\S]*)/g, vtmregex = /<(?:vt:)([^<"'>]*)>([\s\S]*)*/ { var h = parsexmltag(data); @@ -230,9 +230,8 @@ function xlml_normalize(d)/*:string*/ { if(typeof Uint8Array !== 'undefined' && d instanceof Uint8Array) return utf8read(a2s(ab2a(d))); throw new Error("Bad input format: expected Buffer or string"); } -/* UOS uses CJK in tags */ -var xlmlregex = /<(\/?)([^\s?>:\/]+)(?:[\s?:\/](?:[^>=]|="[^"]*?")*)?>/mg; -//var xlmlregex = /<(\/?)([a-z0-9]*:|)(\w+)[^>]*>/mg; +/* UOS uses CJK in tags, ODS uses invalid XML */ +var xlmlregex = /<([\/]?)([^\s?>:\/"]+)(?:\s+[^<>=?"'\s]+="[^"]*?")*\s*[\/]?>/mg; var XMLNS = ({ CORE_PROPS: 'http://schemas.openxmlformats.org/package/2006/metadata/core-properties', diff --git a/bits/27_csfutils.js b/bits/27_csfutils.js index 885f109..8f58af2 100644 --- a/bits/27_csfutils.js +++ b/bits/27_csfutils.js @@ -128,22 +128,24 @@ function sheet_add_aoa(_ws/*:?Worksheet*/, data/*:AOA*/, opts/*:?any*/)/*:Worksh var _origin/*:CellAddress*/ = typeof o.origin == "string" ? decode_cell(o.origin) : o.origin; _R = _origin.r; _C = _origin.c; } - if(!ws["!ref"]) ws["!ref"] = "A1:A1"; } var range/*:Range*/ = ({s: {c:10000000, r:10000000}, e: {c:0, r:0}}/*:any*/); - if(ws['!ref']) { + if(ws["!ref"]){ var _range = safe_decode_range(ws['!ref']); range.s.c = _range.s.c; range.s.r = _range.s.r; range.e.c = Math.max(range.e.c, _range.e.c); range.e.r = Math.max(range.e.r, _range.e.r); - if(_R == -1) range.e.r = _R = _range.e.r + 1; + if(_R == -1) range.e.r = _R = (ws["!ref"] ? _range.e.r + 1 : 0); + } else { + range.s.c = range.e.c = range.s.r = range.e.r = 0; } - var row = []; + var row = [], seen = false; for(var R = 0; R != data.length; ++R) { if(!data[R]) continue; if(!Array.isArray(data[R])) throw new Error("aoa_to_sheet expects an array of arrays"); var __R = _R + R, __Rstr = "" + (__R + 1); + //console.log("!!", R, _R, __R); if(dense) { if(!ws["!data"][__R]) ws["!data"][__R] = []; row = ws["!data"][__R]; @@ -156,6 +158,7 @@ function sheet_add_aoa(_ws/*:?Worksheet*/, data/*:AOA*/, opts/*:?any*/)/*:Worksh if(range.s.c > __C) range.s.c = __C; if(range.e.r < __R) range.e.r = __R; if(range.e.c < __C) range.e.c = __C; + seen = true; if(data[R][C] && typeof data[R][C] === 'object' && !Array.isArray(data[R][C]) && !(data[R][C] instanceof Date)) cell = data[R][C]; else { if(Array.isArray(cell.v)) { cell.f = data[R][C][1]; cell.v = cell.v[0]; } @@ -185,7 +188,7 @@ function sheet_add_aoa(_ws/*:?Worksheet*/, data/*:AOA*/, opts/*:?any*/)/*:Worksh } } } - if(range.s.c < 10000000) ws['!ref'] = encode_range(range); + if(seen && range.s.c < 10400000) ws['!ref'] = encode_range(range); return ws; } function aoa_to_sheet(data/*:AOA*/, opts/*:?any*/)/*:Worksheet*/ { return sheet_add_aoa(null, data, opts); } diff --git a/bits/35_custprops.js b/bits/35_custprops.js index 3b22fc2..3fde25d 100644 --- a/bits/35_custprops.js +++ b/bits/35_custprops.js @@ -1,5 +1,5 @@ /* 15.2.12.2 Custom File Properties Part */ -var custregex = /<[^>]+>[^<]*/g; +var custregex = /<[^<>]+>[^<]*/g; function parse_cust_props(data/*:string*/, opts) { var p = {}, name = ""; var m = data.match(custregex); diff --git a/bits/38_xlstypes.js b/bits/38_xlstypes.js index 301e04b..4b9a685 100644 --- a/bits/38_xlstypes.js +++ b/bits/38_xlstypes.js @@ -233,8 +233,8 @@ function parse_PropertySet(blob, PIDSI) { /* [MS-OSHARED] 2.3.3.2.3.1.2 + PROPVARIANT */ switch(blob[blob.l]) { case 0x41 /*VT_BLOB*/: blob.l += 4; val = parse_BLOB(blob); break; - case 0x1E /*VT_LPSTR*/: blob.l += 4; val = parse_VtString(blob, blob[blob.l-4]).replace(/\u0000+$/,""); break; - case 0x1F /*VT_LPWSTR*/: blob.l += 4; val = parse_VtString(blob, blob[blob.l-4]).replace(/\u0000+$/,""); break; + case 0x1E /*VT_LPSTR*/: blob.l += 4; val = parse_VtString(blob, blob[blob.l-4]).replace(/(^|[^\u0000])\u0000+$/,"$1"); break; + case 0x1F /*VT_LPWSTR*/: blob.l += 4; val = parse_VtString(blob, blob[blob.l-4]).replace(/(^|[^\u0000])\u0000+$/,"$1"); break; case 0x03 /*VT_I4*/: blob.l += 4; val = blob.read_shift(4, 'i'); break; case 0x13 /*VT_UI4*/: blob.l += 4; val = blob.read_shift(4); break; case 0x05 /*VT_R8*/: blob.l += 4; val = blob.read_shift(8, 'f'); break; diff --git a/bits/40_harb.js b/bits/40_harb.js index cea58cb..9b0c5e0 100644 --- a/bits/40_harb.js +++ b/bits/40_harb.js @@ -118,7 +118,7 @@ function dbf_to_aoa(buf, opts)/*:AOA*/ { var ww = l7 ? 32 : 11; while(d.l < hend && d[d.l] != 0x0d) { field = ({}/*:any*/); - field.name = (typeof $cptable !== "undefined" ? $cptable.utils.decode(current_cp, d.slice(d.l, d.l+ww)) : a2s(d.slice(d.l, d.l + ww))).replace(/[\u0000\r\n].*$/g,""); + field.name = (typeof $cptable !== "undefined" ? $cptable.utils.decode(current_cp, d.slice(d.l, d.l+ww)) : a2s(d.slice(d.l, d.l + ww))).replace(/[\u0000\r\n][\S\s]*$/g,""); d.l += ww; field.type = String.fromCharCode(d.read_shift(1)); if(ft != 0x02 && !l7) field.offset = d.read_shift(4); @@ -176,7 +176,7 @@ function dbf_to_aoa(buf, opts)/*:AOA*/ { switch(fields[C].type) { case 'C': // NOTE: it is conventional to write ' / / ' for empty dates - if(s.trim().length) out[R][C] = s.replace(/\s+$/,""); + if(s.trim().length) out[R][C] = s.replace(/([^\s])\s+$/,"$1"); break; case 'D': if(s.length === 8) { @@ -1121,7 +1121,7 @@ function read_wb_ID(d, opts) { return out; } catch(e) { o.WTF = OLD_WTF; - if(!e.message.match(/SYLK bad record ID/) && OLD_WTF) throw e; + if((e.message.indexOf("SYLK bad record ID") == -1) && OLD_WTF) throw e; return PRN.to_workbook(d, opts); } } diff --git a/bits/42_sstxml.js b/bits/42_sstxml.js index 377f791..565e28f 100644 --- a/bits/42_sstxml.js +++ b/bits/42_sstxml.js @@ -4,7 +4,7 @@ function parse_rpr(rpr) { var pass = false; if(m) for(;i!=m.length; ++i) { var y = parsexmltag(m[i]); - switch(y[0].replace(/\w*:/g,"")) { + switch(y[0].replace(/<\w*:/g,"<")) { /* 18.8.12 condense CT_BooleanProperty */ /* ** not required . */ case ']*>([^<]*)<\/(?:\w+:)?t>/g, sirregex = /<(?:\w+:)?r\b[^>]*>/; -var sirphregex = /<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g; +var sitregex = /<(?:\w+:)?t\b[^<>]*>([^<]*)<\/(?:\w+:)?t>/g, sirregex = /<(?:\w+:)?r\b[^<>]*>/; function parse_si(x, opts) { var html = opts ? opts.cellHTML : true; var z = {}; @@ -184,7 +183,7 @@ function parse_si(x, opts) { /* 18.4.4 r CT_RElt (Rich Text Run) */ else if((/*y = */x.match(sirregex))) { z.r = utf8read(x); - z.t = unescapexml(utf8read((x.replace(sirphregex, '').match(sitregex)||[]).join("").replace(tagregex,"")), true); + z.t = unescapexml(utf8read((str_remove_xml_ns_g(x, "rPh").match(sitregex)||[]).join("").replace(tagregex,"")), true); if(html) z.h = rs_to_html(parse_rs(z.r)); } /* 18.4.3 phoneticPr CT_PhoneticPr (TODO: needed for Asian support) */ @@ -193,21 +192,20 @@ function parse_si(x, opts) { } /* 18.4 Shared String Table */ -var sstr0 = /<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/; var sstr1 = /<(?:\w+:)?(?:si|sstItem)>/g; var sstr2 = /<\/(?:\w+:)?(?:si|sstItem)>/; function parse_sst_xml(data/*:string*/, opts)/*:SST*/ { var s/*:SST*/ = ([]/*:any*/), ss = ""; if(!data) return s; /* 18.4.9 sst CT_Sst */ - var sst = data.match(sstr0); + var sst = str_match_xml_ns(data, "sst"); if(sst) { - ss = sst[2].replace(sstr1,"").split(sstr2); + ss = sst[1].replace(sstr1,"").split(sstr2); for(var i = 0; i != ss.length; ++i) { var o = parse_si(ss[i].trim(), opts); if(o != null) s[s.length] = o; } - sst = parsexmltag(sst[1]); s.Count = sst.count; s.Unique = sst.uniqueCount; + sst = parsexmltag(sst[0].slice(0, sst[0].indexOf(">"))); s.Count = sst.count; s.Unique = sst.uniqueCount; } return s; } diff --git a/bits/47_styxml.js b/bits/47_styxml.js index 41c0146..d08c86e 100644 --- a/bits/47_styxml.js +++ b/bits/47_styxml.js @@ -3,7 +3,7 @@ function parse_borders(t, styles, themes, opts) { styles.Borders = []; var border = {}; var pass = false; - (t[0].match(tagregex)||[]).forEach(function(x) { + (t.match(tagregex)||[]).forEach(function(x) { var y = parsexmltag(x); switch(strip_ns(y[0])) { case '': case '': break; @@ -78,7 +78,7 @@ function parse_fills(t, styles, themes, opts) { styles.Fills = []; var fill = {}; var pass = false; - (t[0].match(tagregex)||[]).forEach(function(x) { + (t.match(tagregex)||[]).forEach(function(x) { var y = parsexmltag(x); switch(strip_ns(y[0])) { case '': case '': break; @@ -144,7 +144,7 @@ function parse_fonts(t, styles, themes, opts) { styles.Fonts = []; var font = {}; var pass = false; - (t[0].match(tagregex)||[]).forEach(function(x) { + (t.match(tagregex)||[]).forEach(function(x) { var y = parsexmltag(x); switch(strip_ns(y[0])) { case '': case '': break; @@ -264,7 +264,7 @@ function parse_numFmts(t, styles, opts) { styles.NumberFmt = []; var k/*Array*/ = (keys(table_fmt)/*:any*/); for(var i=0; i < k.length; ++i) styles.NumberFmt[k[i]] = table_fmt[k[i]]; - var m = t[0].match(tagregex); + var m = t.match(tagregex); if(!m) return; for(i=0; i < m.length; ++i) { var y = parsexmltag(m[i]); @@ -305,7 +305,7 @@ function parse_cellXfs(t, styles, opts) { styles.CellXf = []; var xf; var pass = false; - (t[0].match(tagregex)||[]).forEach(function(x) { + (t.match(tagregex)||[]).forEach(function(x) { var y = parsexmltag(x), i = 0; switch(strip_ns(y[0])) { case '': case '': case '': break; @@ -370,36 +370,31 @@ function write_cellXfs(cellXfs)/*:string*/ { /* 18.8 Styles CT_Stylesheet*/ var parse_sty_xml= /*#__PURE__*/(function make_pstyx() { -var numFmtRegex = /<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/; -var cellXfRegex = /<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/; -var fillsRegex = /<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/; -var fontsRegex = /<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/; -var bordersRegex = /<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/; return function parse_sty_xml(data, themes, opts) { var styles = {}; if(!data) return styles; - data = str_remove_ng(data, "").replace(//gm,""); + data = remove_doctype(str_remove_ng(data, "")); /* 18.8.39 styleSheet CT_Stylesheet */ var t; /* 18.8.31 numFmts CT_NumFmts ? */ - if((t=data.match(numFmtRegex))) parse_numFmts(t, styles, opts); + if((t=str_match_xml_ns(data, "numFmts"))) parse_numFmts(t[0], styles, opts); /* 18.8.23 fonts CT_Fonts ? */ - if((t=data.match(fontsRegex))) parse_fonts(t, styles, themes, opts); + if((t=str_match_xml_ns(data, "fonts"))) parse_fonts(t[0], styles, themes, opts); /* 18.8.21 fills CT_Fills ? */ - if((t=data.match(fillsRegex))) parse_fills(t, styles, themes, opts); + if((t=str_match_xml_ns(data, "fills"))) parse_fills(t[0], styles, themes, opts); /* 18.8.5 borders CT_Borders ? */ - if((t=data.match(bordersRegex))) parse_borders(t, styles, themes, opts); + if((t=str_match_xml_ns(data, "borders"))) parse_borders(t[0], styles, themes, opts); /* 18.8.9 cellStyleXfs CT_CellStyleXfs ? */ /* 18.8.8 cellStyles CT_CellStyles ? */ /* 18.8.10 cellXfs CT_CellXfs ? */ - if((t=data.match(cellXfRegex))) parse_cellXfs(t, styles, opts); + if((t=str_match_xml_ns(data, "cellXfs"))) parse_cellXfs(t[0], styles, opts); /* 18.8.15 dxfs CT_Dxfs ? */ /* 18.8.42 tableStyles CT_TableStyles ? */ diff --git a/bits/49_theme.js b/bits/49_theme.js index 05fcfbf..1525bfe 100644 --- a/bits/49_theme.js +++ b/bits/49_theme.js @@ -70,30 +70,24 @@ function parse_fontScheme(/*::t, themes, opts*/) { } /* 20.1.4.1.15 fmtScheme CT_StyleMatrix */ function parse_fmtScheme(/*::t, themes, opts*/) { } -var clrsregex = /]*)>[\s\S]*<\/a:clrScheme>/; -var fntsregex = /]*)>[\s\S]*<\/a:fontScheme>/; -var fmtsregex = /]*)>[\s\S]*<\/a:fmtScheme>/; - /* 20.1.6.10 themeElements CT_BaseStyles */ function parse_themeElements(data, themes, opts) { themes.themeElements = {}; var t; - [ - /* clrScheme CT_ColorScheme */ - ['clrScheme', clrsregex, parse_clrScheme], - /* fontScheme CT_FontScheme */ - ['fontScheme', fntsregex, parse_fontScheme], - /* fmtScheme CT_StyleMatrix */ - ['fmtScheme', fmtsregex, parse_fmtScheme] - ].forEach(function(m) { - if(!(t=data.match(m[1]))) throw new Error(m[0] + ' not found in themeElements'); - m[2](t, themes, opts); - }); -} + /* clrScheme CT_ColorScheme */ + if(!(t=str_match_xml(data, "a:clrScheme"))) throw new Error('clrScheme not found in themeElements'); + parse_clrScheme(t, themes, opts); -var themeltregex = /]*)>[\s\S]*<\/a:themeElements>/; + /* fontScheme CT_FontScheme */ + if(!(t=str_match_xml(data, "a:fontScheme"))) throw new Error('fontScheme not found in themeElements'); + parse_fontScheme(t, themes, opts); + + /* fmtScheme CT_StyleMatrix */ + if(!(t=str_match_xml(data, "a:fmtScheme"))) throw new Error('fmtScheme not found in themeElements'); + parse_fmtScheme(t, themes, opts); +} /* 14.2.7 Theme Part */ function parse_theme_xml(data/*:string*/, opts) { @@ -104,7 +98,7 @@ function parse_theme_xml(data/*:string*/, opts) { var themes = {}; /* themeElements CT_BaseStyles */ - if(!(t=data.match(themeltregex))) throw new Error('themeElements not found in theme'); + if(!(t=str_match_xml(data, "a:themeElements"))) throw new Error('themeElements not found in theme'); parse_themeElements(t[0], themes, opts); themes.raw = data; return themes; diff --git a/bits/55_vml.js b/bits/55_vml.js index f4e9085..2f815c7 100644 --- a/bits/55_vml.js +++ b/bits/55_vml.js @@ -1,8 +1,7 @@ /* L.5.5.2 SpreadsheetML Comments + VML Schema */ -var shapevmlregex = /<(?:\w+:)?shape(?:[^\w][^>]*)?>([\s\S]*?)<\/(?:\w+:)?shape>/g; function parse_vml(data/*:string*/, sheet, comments) { var cidx = 0; - (data.match(shapevmlregex)||[]).forEach(function(m) { + (str_match_xml_ns_g(data, "shape")||[]).forEach(function(m) { var type = ""; var hidden = true; var aidx = -1; diff --git a/bits/57_cmntxml.js b/bits/57_cmntxml.js index 132a827..987b874 100644 --- a/bits/57_cmntxml.js +++ b/bits/57_cmntxml.js @@ -4,22 +4,22 @@ function parse_comments_xml(data/*:string*/, opts)/*:Array*/ { if(data.match(/<(?:\w+:)?comments *\/>/)) return []; var authors/*:Array*/ = []; var commentList/*:Array*/ = []; - var authtag = data.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/); + var authtag = str_match_xml_ns(data, "authors"); if(authtag && authtag[1]) authtag[1].split(/<\/\w*:?author>/).forEach(function(x) { if(x === "" || x.trim() === "") return; - var a = x.match(/<(?:\w+:)?author[^>]*>(.*)/); + var a = x.match(/<(?:\w+:)?author[^<>]*>(.*)/); if(a) authors.push(a[1]); }); - var cmnttag = data.match(/<(?:\w+:)?commentList>([\s\S]*)<\/(?:\w+:)?commentList>/); + var cmnttag = str_match_xml_ns(data, "commentList"); if(cmnttag && cmnttag[1]) cmnttag[1].split(/<\/\w*:?comment>/).forEach(function(x) { if(x === "" || x.trim() === "") return; - var cm = x.match(/<(?:\w+:)?comment[^>]*>/); + var cm = x.match(/<(?:\w+:)?comment[^<>]*>/); if(!cm) return; var y = parsexmltag(cm[0]); var comment/*:RawComment*/ = ({ author: y.authorId && authors[y.authorId] || "sheetjsghost", ref: y.ref, guid: y.guid }/*:any*/); var cell = decode_cell(y.ref); if(opts.sheetRows && opts.sheetRows <= cell.r) return; - var textMatch = x.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/); + var textMatch = str_match_xml_ns(x, "text"); var rt = !!textMatch && !!textMatch[1] && parse_si(textMatch[1]) || {r:"",t:"",h:""}; comment.r = rt.r; if(rt.r == "") rt.t = rt.h = ""; diff --git a/bits/59_vba.js b/bits/59_vba.js index 5102ba5..5c07562 100644 --- a/bits/59_vba.js +++ b/bits/59_vba.js @@ -13,7 +13,7 @@ function fill_vba_xls(cfb, vba) { vba.FullPaths.forEach(function(p, i) { if (i == 0) return; - var newpath = p.replace(/[^\/]*[\/]/, "/_VBA_PROJECT_CUR/"); + var newpath = p.replace(/^[\/]*[^\/]*[\/]/, "/_VBA_PROJECT_CUR/"); if (newpath.slice(-1) !== "/") CFB.utils.cfb_add(cfb, newpath, vba.FileIndex[i].content); }); diff --git a/bits/67_wsxml.js b/bits/67_wsxml.js index e9ee9b4..62025d4 100644 --- a/bits/67_wsxml.js +++ b/bits/67_wsxml.js @@ -2,16 +2,13 @@ function parse_ws_xml_dim(ws/*:Worksheet*/, s/*:string*/) { var d = safe_decode_range(s); if(d.s.r<=d.e.r && d.s.c<=d.e.c && d.s.r>=0 && d.s.c>=0) ws["!ref"] = encode_range(d); } -var mergecregex = /<(?:\w:)?mergeCell ref=["'][A-Z0-9:]+['"]\s*[\/]?>/g; -var sheetdataregex = /<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/; -var hlinkregex = /<(?:\w:)?hyperlink [^>]*>/mg; +var mergecregex = /<(?:\w+:)?mergeCell ref=["'][A-Z0-9:]+['"]\s*[\/]?>/g; +var hlinkregex = /<(?:\w+:)?hyperlink [^<>]*>/mg; var dimregex = /"(\w*:\w*)"/; -var colregex = /<(?:\w:)?col\b[^>]*[\/]?>/g; -var afregex = /<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g; -var marginregex= /<(?:\w:)?pageMargins[^>]*\/>/g; -var sheetprregex = /<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/; -var sheetprregex2= /<(?:\w:)?sheetPr[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetPr)>/; -var svsregex = /<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/; +var colregex = /<(?:\w+:)?col\b[^<>]*[\/]?>/g; +var afregex = /<(?:\w+:)?autoFilter[^>]*/g; +var marginregex= /<(?:\w+:)?pageMargins[^<>]*\/>/g; +var sheetprregex = /<(?:\w+:)?sheetPr\b[^<>]*?\/>/; /* 18.3 Worksheets */ function parse_ws_xml(data/*:?string*/, opts, idx/*:number*/, rels, wb/*:WBWBProps*/, themes, styles)/*:Worksheet*/ { @@ -24,7 +21,7 @@ function parse_ws_xml(data/*:?string*/, opts, idx/*:number*/, rels, wb/*:WBWBPro var refguess/*:Range*/ = ({s: {r:2000000, c:2000000}, e: {r:0, c:0} }/*:any*/); var data1 = "", data2 = ""; - var mtch/*:?any*/ = data.match(sheetdataregex); + var mtch/*:?any*/ = str_match_xml_ns(data, "sheetData"); if(mtch) { data1 = data.slice(0, mtch.index); data2 = data.slice(mtch.index + mtch[0].length); @@ -33,7 +30,7 @@ function parse_ws_xml(data/*:?string*/, opts, idx/*:number*/, rels, wb/*:WBWBPro /* 18.3.1.82 sheetPr CT_SheetPr */ var sheetPr = data1.match(sheetprregex); if(sheetPr) parse_ws_xml_sheetpr(sheetPr[0], s, wb, idx); - else if((sheetPr = data1.match(sheetprregex2))) parse_ws_xml_sheetpr2(sheetPr[0], sheetPr[1]||"", s, wb, idx, styles, themes); + else if((sheetPr = str_match_xml_ns(data1, "sheetPr"))) parse_ws_xml_sheetpr2(sheetPr[0], sheetPr[1]||"", s, wb, idx, styles, themes); /* 18.3.1.35 dimension CT_SheetDimension */ var ridx = (data1.match(/<(?:\w*:)?dimension/)||{index:-1}).index; @@ -43,7 +40,7 @@ function parse_ws_xml(data/*:?string*/, opts, idx/*:number*/, rels, wb/*:WBWBPro } /* 18.3.1.88 sheetViews CT_SheetViews */ - var svs = data1.match(svsregex); + var svs = str_match_xml_ns(data1, "sheetViews"); if(svs && svs[1]) parse_ws_xml_sheetviews(svs[1], wb); /* 18.3.1.17 cols CT_Cols */ @@ -242,7 +239,7 @@ function write_ws_xml_autofilter(data, ws, wb, idx)/*:string*/ { /* 18.3.1.88 sheetViews CT_SheetViews */ /* 18.3.1.87 sheetView CT_SheetView */ -var sviewregex = /<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/?>/g; +var sviewregex = /<(?:\w:)?sheetView(?:[^<>a-z][^<>]*)?\/?>/g; function parse_ws_xml_sheetviews(data, wb/*:WBWBProps*/) { if(!wb.Views) wb.Views = [{}]; (data.match(sviewregex)||[]).forEach(function(r/*:string*/, i/*:number*/) { @@ -321,7 +318,7 @@ function write_ws_xml_cell(cell/*:Cell*/, ref, ws, opts, idx, wb, date1904)/*:st var parse_ws_xml_data = /*#__PURE__*/(function() { var cellregex = /<(?:\w+:)?c[ \/>]/, rowregex = /<\/(?:\w+:)?row>/; - var rregex = /r=["']([^"']*)["']/, isregex = /<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/; + var rregex = /r=["']([^"']*)["']/; var refregex = /ref=["']([^"']*)["']/; return function parse_ws_xml_data(sdata/*:string*/, s, opts, guess/*:Range*/, themes, styles, wb) { @@ -425,7 +422,7 @@ return function parse_ws_xml_data(sdata/*:string*/, s, opts, guess/*:Range*/, th sharedf[parseInt(ftag.si, 10)] = [ftag, ___f, tag.r]; } } - } else if((cref=d.match(/]*\/>/))) { + } else if((cref=d.match(/]*\/>/))) { ftag = parsexmltag(cref[0]); if(sharedf[ftag.si]) p.f = shift_formula_xlsx(sharedf[ftag.si][1], sharedf[ftag.si][2]/*[0].ref*/, tag.r); } @@ -471,7 +468,7 @@ return function parse_ws_xml_data(sdata/*:string*/, s, opts, guess/*:Range*/, th if(opts.cellHTML) p.h = escapehtml(p.v); break; case 'inlineStr': - cref = d.match(isregex); + cref = str_match_xml_ns(d, "is"); p.t = 's'; if(cref != null && (sstr = parse_si(cref[1]))) { p.v = sstr.t; @@ -636,7 +633,7 @@ function write_ws_xml(idx/*:number*/, opts, wb/*:Workbook*/, rels)/*:string*/ { if(!l[1].Target) return; rel = ({"ref":l[0]}/*:any*/); if(l[1].Target.charAt(0) != "#") { - rId = add_rels(rels, -1, escapexml(l[1].Target).replace(/#.*$/, ""), RELS.HLINK); + rId = add_rels(rels, -1, escapexml(l[1].Target).replace(/#[\s\S]*$/, ""), RELS.HLINK); rel["r:id"] = "rId"+rId; } if((relc = l[1].Target.indexOf("#")) > -1) rel.location = escapexml(l[1].Target.slice(relc+1)); diff --git a/bits/68_wsbin.js b/bits/68_wsbin.js index 35e919e..1b1836a 100644 --- a/bits/68_wsbin.js +++ b/bits/68_wsbin.js @@ -924,7 +924,7 @@ function write_HLINKS(ba, ws/*:Worksheet*/, rels) { /* *BrtHLink */ ws['!links'].forEach(function(l) { if(!l[1].Target) return; - var rId = add_rels(rels, -1, l[1].Target.replace(/#.*$/, ""), RELS.HLINK); + var rId = add_rels(rels, -1, l[1].Target.replace(/#[\s\S]*$/, ""), RELS.HLINK); write_record(ba, 0x01EE /* BrtHLink */, write_BrtHLink(l, rId)); }); delete ws['!links']; diff --git a/bits/69_chartxml.js b/bits/69_chartxml.js index 603622a..0f8dbc1 100644 --- a/bits/69_chartxml.js +++ b/bits/69_chartxml.js @@ -4,16 +4,16 @@ function parse_Cache(data/*:string*/)/*:[Array, string, ?string]* var f; /* 21.2.2.150 pt CT_NumVal */ - (data.match(/(.*?)<\/c:pt>/mg)||[]).forEach(function(pt) { - var q = pt.match(/(.*)<\/c:v><\/c:pt>/); + (data.match(/\/]*>([^<])<\/c:v><\/c:pt>/mg)||[]).forEach(function(pt) { + var q = pt.match(/\/]*>([^<]*)<\/c:v><\/c:pt>/); if(!q) return; col[+q[1]] = num ? +q[2] : q[2]; }); /* 21.2.2.71 formatCode CT_Xstring */ - var nf = unescapexml((data.match(/([\s\S]*?)<\/c:formatCode>/) || ["","General"])[1]); + var nf = unescapexml((str_match_xml(data, "c:formatCode") || ["","General"])[1]); - (data.match(/(.*?)<\/c:f>/mg)||[]).forEach(function(F) { f = F.replace(/<.*?>/g,""); }); + (str_match_ng(data, "", "")||[]).forEach(function(F) { f = F.replace(/<[^<>]*>/g,""); }); return [col, nf, f]; } @@ -28,7 +28,7 @@ function parse_chart(data/*:?string*/, name/*:string*/, opts, rels, wb, csheet) var refguess = {s: {r:2000000, c:2000000}, e: {r:0, c:0} }; /* 21.2.2.120 numCache CT_NumData */ - (data.match(/[\s\S]*?<\/c:numCache>/gm)||[]).forEach(function(nc) { + (str_match_ng(data, "", "")||[]).forEach(function(nc) { var cache = parse_Cache(nc); refguess.s.r = refguess.s.c = 0; refguess.e.c = C; diff --git a/bits/75_xlml.js b/bits/75_xlml.js index 484ce85..32d2e08 100644 --- a/bits/75_xlml.js +++ b/bits/75_xlml.js @@ -1,5 +1,5 @@ -var attregexg2=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g; -var attregex2=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/; +var attregexg2=/\b((?:\w+:)?[\w]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g; +var attregex2=/\b((?:\w+:)?[\w]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/; function xlml_parsexmltag(tag/*:string*/, skip_root/*:?boolean*/) { var words = tag.split(/\s+/); var z/*:any*/ = ([]/*:any*/); if(!skip_root) z[0] = words[0]; @@ -112,7 +112,7 @@ function parse_xlml_data(xml, ss, data, cell/*:any*/, base, styles, csty, row, a break; case 'String': cell.t = 's'; cell.r = xlml_fixstr(unescapexml(xml)); - cell.v = (xml.indexOf("<") > -1 ? unescapexml(ss||xml).replace(/<.*?>/g, "") : cell.r); // todo: BR etc + cell.v = (xml.indexOf("<") > -1 ? unescapexml(ss||xml).replace(/<[^<>]*>/g, "") : cell.r); // todo: BR etc break; case 'DateTime': if(xml.slice(-1) != "Z") xml += "Z"; diff --git a/bits/79_html.js b/bits/79_html.js index cd42016..302d05a 100644 --- a/bits/79_html.js +++ b/bits/79_html.js @@ -8,7 +8,7 @@ function html_to_sheet(str/*:string*/, _opts)/*:Workbook*/ { if(!mtch) throw new Error("Invalid HTML: could not find "); var mtch2/*:any*/ = str.match(/<\/table/i); var i/*:number*/ = mtch.index, j/*:number*/ = mtch2 && mtch2.index || str.length; - var rows = split_regex(str.slice(i, j), /(:?]*>)/i, ""); + var rows = split_regex(str.slice(i, j), /(:?]*>)/i, ""); var R = -1, C = 0, RS = 0, CS = 0; var range/*:Range*/ = {s:{r:10000000, c:10000000},e:{r:0,c:0}}; var merges/*:Array*/ = []; @@ -99,7 +99,7 @@ var HTML_BEGIN = 'SheetJS Table Export var HTML_END = '</body></html>'; function html_to_workbook(str/*:string*/, opts)/*:Workbook*/ { - var mtch = str.match(/<table[\s\S]*?>[\s\S]*?<\/table>/gi); + var mtch = str_match_xml_ig(str, "table"); if(!mtch || mtch.length == 0) throw new Error("Invalid HTML: could not find <table>"); if(mtch.length == 1) { var w = sheet_to_workbook(html_to_sheet(mtch[0], opts), opts); diff --git a/bits/80_parseods.js b/bits/80_parseods.js index 57410fd..b491a8a 100644 --- a/bits/80_parseods.js +++ b/bits/80_parseods.js @@ -5,9 +5,9 @@ function parse_text_p(text/*:string*//*::, tag*/)/*:Array<any>*/ { .replace(/[\t\r\n]/g, " ").trim().replace(/ +/g, " ") .replace(/<text:s\/>/g," ") .replace(/<text:s text:c="(\d+)"\/>/g, function($$,$1) { return Array(parseInt($1,10)+1).join(" "); }) - .replace(/<text:tab[^>]*\/>/g,"\t") + .replace(/<text:tab[^<>]*\/>/g,"\t") .replace(/<text:line-break\/>/g,"\n"); - var v = unescapexml(fixed.replace(/<[^>]*>/g,"")); + var v = unescapexml(fixed.replace(/<[^<>]*>/g,"")); return [v]; } @@ -17,10 +17,10 @@ function parse_ods_styles(d/*:string*/, _opts, _nfm) { var number_format_map = _nfm || {}; var str = xlml_normalize(d); xlmlregex.lastIndex = 0; - str = str_remove_ng(str, "<!--", "-->").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,""); + str = remove_doctype(str_remove_ng(str, "<!--", "-->")); var Rn, NFtag, NF = "", tNF = "", y, etpos = 0, tidx = -1, infmt = false, payload = ""; while((Rn = xlmlregex.exec(str))) { - switch((Rn[3]=Rn[3].replace(/_.*$/,""))) { + switch((Rn[3]=Rn[3].replace(/_[\s\S]*$/,""))) { /* Number Format Definitions */ case 'number-style': // <number:number-style> 16.29.2 case 'currency-style': // <number:currency-style> 16.29.8 @@ -264,8 +264,8 @@ function parse_content_xml(d/*:string*/, _opts, _nfm)/*:Workbook*/ { var isstub = false, intable = false; var i = 0; xlmlregex.lastIndex = 0; - str = str_remove_ng(str, "<!--", "-->").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,""); - while((Rn = xlmlregex.exec(str))) switch((Rn[3]=Rn[3].replace(/_.*$/,""))) { + str = remove_doctype(str_remove_ng(str, "<!--", "-->")); + while((Rn = xlmlregex.exec(str))) switch((Rn[3]=Rn[3].replace(/_[\s\S]*$/,""))) { case 'table': case '工作表': // 9.1.2 <table:table> if(Rn[1]==='/') { diff --git a/bits/81_writeods.js b/bits/81_writeods.js index 9dabdd6..98d0475 100644 --- a/bits/81_writeods.js +++ b/bits/81_writeods.js @@ -67,7 +67,7 @@ function write_number_format_ods(nf/*:string*/, nfidx/*:string*/)/*:string*/ { if((t=nf.match(/# (\?+)\/(\d+)/))) { payload += writextag("number:fraction", null, {"number:min-integer-digits":0, "number:min-numerator-digits": t[1].length, "number:denominator-value": +t[2]}); break j; } /* percentages */ - if((t=nf.match(/(\d+)(|\.\d+)%/))) { type = "percentage"; payload += writextag("number:number", null, {"number:decimal-places": t[2] && t.length - 1 || 0, "number:min-decimal-places": t[2] && t.length - 1 || 0, "number:min-integer-digits": t[1].length }) + "<number:text>%</number:text>"; break j; } + if((t=nf.match(/\b(\d+)(|\.\d+)%/))) { type = "percentage"; payload += writextag("number:number", null, {"number:decimal-places": t[2] && t.length - 1 || 0, "number:min-decimal-places": t[2] && t.length - 1 || 0, "number:min-integer-digits": t[1].length }) + "<number:text>%</number:text>"; break j; } /* datetime */ var has_time = false; @@ -196,7 +196,7 @@ function write_names_ods(Names, SheetNames, idx) { return " " + writextag("table:named-range", null, { "table:name": name.Name, "table:cell-range-address": odsref, - "table:base-cell-address": odsref.replace(/[\.]?[^\.]*$/, ".$A$1") + "table:base-cell-address": odsref.replace(/[\.][^\.]*$/, ".$A$1") }); }).join("\n") + "\n </table:named-expressions>\n"; } @@ -436,7 +436,7 @@ var write_content_ods/*:{(wb:any, opts:any):string}*/ = /* @__PURE__ */(function if(opts.bookType == "fods") { o.push('<office:document' + attr + fods + '>\n'); - o.push(write_meta_ods().replace(/<office:document-meta.*?>/, "").replace(/<\/office:document-meta>/, "") + "\n"); + o.push(write_meta_ods().replace(/<office:document-meta[^<>]*?>/, "").replace(/<\/office:document-meta>/, "") + "\n"); // TODO: settings (equiv of settings.xml for ODS) } else o.push('<office:document-content' + attr + '>\n'); // o.push(' <office:scripts/>\n'); diff --git a/bits/83_numbers.js b/bits/83_numbers.js index b6a5a8f..fc7b32c 100644 --- a/bits/83_numbers.js +++ b/bits/83_numbers.js @@ -1512,7 +1512,7 @@ function numbers_add_meta(mlist, newid, newloc) { mlist[3].push({ type: 2, data: write_shallow([ [], [{ type: 0, data: write_varint49(newid) }], - [{ type: 2, data: stru8(newloc.replace(/-.*$/, "")) }], + [{ type: 2, data: stru8(newloc.replace(/-[\s\S]*$/, "")) }], [{ type: 2, data: stru8(newloc) }], [{ type: 2, data: new Uint8Array([2, 0, 0]) }], [{ type: 2, data: new Uint8Array([2, 0, 0]) }], diff --git a/bits/85_parsezip.js b/bits/85_parsezip.js index eb62436..265c5c4 100644 --- a/bits/85_parsezip.js +++ b/bits/85_parsezip.js @@ -204,7 +204,7 @@ function parse_zip(zip/*:ZIP*/, opts/*:?ParseOpts*/)/*:Workbook*/ { if(wbrels && wbrels[i]) { path = 'xl/' + (wbrels[i][1]).replace(/[\/]?xl\//, ""); if(!safegetzipfile(zip, path)) path = wbrels[i][1]; - if(!safegetzipfile(zip, path)) path = wbrelsfile.replace(/_rels\/.*$/,"") + wbrels[i][1]; + if(!safegetzipfile(zip, path)) path = wbrelsfile.replace(/_rels\/[\S\s]*$/,"") + wbrels[i][1]; stype = wbrels[i][2]; } else { path = 'xl/worksheets/sheet'+(i+1-nmode)+"." + wbext; diff --git a/bits/90_utils.js b/bits/90_utils.js index 36fded9..3429131 100644 --- a/bits/90_utils.js +++ b/bits/90_utils.js @@ -309,9 +309,9 @@ function book_append_sheet(wb/*:Workbook*/, ws/*:Worksheet*/, name/*:?string*/, if(!name) for(; i <= 0xFFFF; ++i, name = undefined) if(wb.SheetNames.indexOf(name = "Sheet" + i) == -1) break; if(!name || wb.SheetNames.length >= 0xFFFF) throw new Error("Too many worksheets"); if(roll && wb.SheetNames.indexOf(name) >= 0 && name.length < 32) { - var m = name.match(/(^.*?)(\d+)$/); - i = m && +m[2] || 0; - var root = m && m[1] || name; + var m = name.match(/\d+$/); // at this point, name length is capped at 32 + i = m && +m[0] || 0; + var root = m && name.slice(0, m.index) || name; for(++i; i <= 0xFFFF; ++i) if(wb.SheetNames.indexOf(name = root + i) == -1) break; } check_ws_name(name); diff --git a/dist/xlsx.core.min.js b/dist/xlsx.core.min.js index 6db20e6..3ad0654 100644 --- a/dist/xlsx.core.min.js +++ b/dist/xlsx.core.min.js @@ -1,17 +1,17 @@ /*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */ -var XLSX={};function make_xlsx_lib(e){e.version="0.20.1";var r=1200,t=1252;var a;var n=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4];var i={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 s=function(e){if(n.indexOf(e)==-1)return;t=i[0]=e};function f(){s(1252)}var l=function(e){r=e;s(e)};function o(){l(1200);f()}function c(e){var r=[];for(var t=0,a=e.length;t<a;++t)r[t]=e.charCodeAt(t);return r}function u(e){var r=[];for(var t=0;t<e.length>>1;++t)r[t]=String.fromCharCode(e.charCodeAt(2*t)+(e.charCodeAt(2*t+1)<<8));return r.join("")}function h(e){var r=[];for(var t=0;t<e.length>>1;++t)r[t]=String.fromCharCode(e[2*t]+(e[2*t+1]<<8));return r.join("")}function d(e){var r=[];for(var t=0;t<e.length>>1;++t)r[t]=String.fromCharCode(e.charCodeAt(2*t+1)+(e.charCodeAt(2*t)<<8));return r.join("")}var v=function(e){var r=e.charCodeAt(0),t=e.charCodeAt(1);if(r==255&&t==254)return u(e.slice(2));if(r==254&&t==255)return d(e.slice(2));if(r==65279)return e.slice(1);return e};var p=function oT(e){return String.fromCharCode(e)};var m=function cT(e){return String.fromCharCode(e)};function b(e){a=e;l=function(e){r=e;s(e)};v=function(e){if(e.charCodeAt(0)===255&&e.charCodeAt(1)===254){return a.utils.decode(1200,c(e.slice(2)))}return e};p=function n(e){if(r===1200)return String.fromCharCode(e);return a.utils.decode(r,[e&255,e>>8])[0]};m=function i(e){return a.utils.decode(t,[e])[0]};la()}var g=null;var w=true;var k="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function T(e){var r="";var t=0,a=0,n=0,i=0,s=0,f=0,l=0;for(var o=0;o<e.length;){t=e.charCodeAt(o++);i=t>>2;a=e.charCodeAt(o++);s=(t&3)<<4|a>>4;n=e.charCodeAt(o++);f=(a&15)<<2|n>>6;l=n&63;if(isNaN(a)){f=l=64}else if(isNaN(n)){l=64}r+=k.charAt(i)+k.charAt(s)+k.charAt(f)+k.charAt(l)}return r}function y(e){var r="";var t=0,a=0,n=0,i=0,s=0,f=0,l=0;for(var o=0;o<e.length;){t=e.charCodeAt(o++);if(t>255)t=95;i=t>>2;a=e.charCodeAt(o++);if(a>255)a=95;s=(t&3)<<4|a>>4;n=e.charCodeAt(o++);if(n>255)n=95;f=(a&15)<<2|n>>6;l=n&63;if(isNaN(a)){f=l=64}else if(isNaN(n)){l=64}r+=k.charAt(i)+k.charAt(s)+k.charAt(f)+k.charAt(l)}return r}function E(e){var r="";var t=0,a=0,n=0,i=0,s=0,f=0,l=0;for(var o=0;o<e.length;){t=e[o++];i=t>>2;a=e[o++];s=(t&3)<<4|a>>4;n=e[o++];f=(a&15)<<2|n>>6;l=n&63;if(isNaN(a)){f=l=64}else if(isNaN(n)){l=64}r+=k.charAt(i)+k.charAt(s)+k.charAt(f)+k.charAt(l)}return r}function _(e){var r="";var t=0,a=0,n=0,i=0,s=0,f=0,l=0;e=e.replace(/^data:([^\/]+\/[^\/]+)?;base64\,/,"").replace(/[^\w\+\/\=]/g,"");for(var o=0;o<e.length;){i=k.indexOf(e.charAt(o++));s=k.indexOf(e.charAt(o++));t=i<<2|s>>4;r+=String.fromCharCode(t);f=k.indexOf(e.charAt(o++));a=(s&15)<<4|f>>2;if(f!==64){r+=String.fromCharCode(a)}l=k.indexOf(e.charAt(o++));n=(f&3)<<6|l;if(l!==64){r+=String.fromCharCode(n)}}return r}var S=function(){return typeof Buffer!=="undefined"&&typeof undefined!=="undefined"&&typeof{}!=="undefined"&&!!{}.node}();var x=function(){if(typeof Buffer!=="undefined"){var e=!Buffer.from;if(!e)try{Buffer.from("foo","utf8")}catch(r){e=true}return e?function(e,r){return r?new Buffer(e,r):new Buffer(e)}:Buffer.from.bind(Buffer)}return function(){}}();var A=function(){if(typeof Buffer==="undefined")return false;var e=x([65,0]);if(!e)return false;var r=e.toString("utf16le");return r.length==1}();function C(e){if(S)return Buffer.alloc?Buffer.alloc(e):new Buffer(e);return typeof Uint8Array!="undefined"?new Uint8Array(e):new Array(e)}function R(e){if(S)return Buffer.allocUnsafe?Buffer.allocUnsafe(e):new Buffer(e);return typeof Uint8Array!="undefined"?new Uint8Array(e):new Array(e)}var O=function uT(e){if(S)return x(e,"binary");return e.split("").map(function(e){return e.charCodeAt(0)&255})};function I(e){if(typeof ArrayBuffer==="undefined")return O(e);var r=new ArrayBuffer(e.length),t=new Uint8Array(r);for(var a=0;a!=e.length;++a)t[a]=e.charCodeAt(a)&255;return r}function N(e){if(Array.isArray(e))return e.map(function(e){return String.fromCharCode(e)}).join("");var r=[];for(var t=0;t<e.length;++t)r[t]=String.fromCharCode(e[t]);return r.join("")}function F(e){if(typeof Uint8Array==="undefined")throw new Error("Unsupported");return new Uint8Array(e)}function D(e){if(typeof ArrayBuffer=="undefined")throw new Error("Unsupported");if(e instanceof ArrayBuffer)return D(new Uint8Array(e));var r=new Array(e.length);for(var t=0;t<e.length;++t)r[t]=e[t];return r}var P=S?function(e){return Buffer.concat(e.map(function(e){return Buffer.isBuffer(e)?e:x(e)}))}:function(e){if(typeof Uint8Array!=="undefined"){var r=0,t=0;for(r=0;r<e.length;++r)t+=e[r].length;var a=new Uint8Array(t);var n=0;for(r=0,t=0;r<e.length;t+=n,++r){n=e[r].length;if(e[r]instanceof Uint8Array)a.set(e[r],t);else if(typeof e[r]=="string")a.set(new Uint8Array(O(e[r])),t);else a.set(new Uint8Array(e[r]),t)}return a}return[].concat.apply([],e.map(function(e){return Array.isArray(e)?e:[].slice.call(e)}))};function L(e){var r=[],t=0,a=e.length+250;var n=C(e.length+255);for(var i=0;i<e.length;++i){var s=e.charCodeAt(i);if(s<128)n[t++]=s;else if(s<2048){n[t++]=192|s>>6&31;n[t++]=128|s&63}else if(s>=55296&&s<57344){s=(s&1023)+64;var f=e.charCodeAt(++i)&1023;n[t++]=240|s>>8&7;n[t++]=128|s>>2&63;n[t++]=128|f>>6&15|(s&3)<<4;n[t++]=128|f&63}else{n[t++]=224|s>>12&15;n[t++]=128|s>>6&63;n[t++]=128|s&63}if(t>a){r.push(n.slice(0,t));t=0;n=C(65535);a=65530}}r.push(n.slice(0,t));return P(r)}var M=/\u0000/g,U=/[\u0001-\u0006]/g;function B(e){var r="",t=e.length-1;while(t>=0)r+=e.charAt(t--);return r}function W(e,r){var t=""+e;return t.length>=r?t:yr("0",r-t.length)+t}function z(e,r){var t=""+e;return t.length>=r?t:yr(" ",r-t.length)+t}function H(e,r){var t=""+e;return t.length>=r?t:t+yr(" ",r-t.length)}function V(e,r){var t=""+Math.round(e);return t.length>=r?t:yr("0",r-t.length)+t}function X(e,r){var t=""+e;return t.length>=r?t:yr("0",r-t.length)+t}var G=Math.pow(2,32);function j(e,r){if(e>G||e<-G)return V(e,r);var t=Math.round(e);return X(t,r)}function K(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 Y=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]];var Z=[["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 J(e){if(!e)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"秒 "';return e}var q={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"上午/下午 "hh"時"mm"分"ss"秒 "'};var Q={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0};var ee={5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',41:'_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function re(e,r,t){var a=e<0?-1:1;var n=e*a;var i=0,s=1,f=0;var l=1,o=0,c=0;var u=Math.floor(n);while(o<r){u=Math.floor(n);f=u*s+i;c=u*o+l;if(n-u<5e-8)break;n=1/(n-u);i=s;s=f;l=o;o=c}if(c>r){if(o>r){c=l;f=i}else{c=o;f=s}}if(!t)return[0,a*f,c];var h=Math.floor(a*f/c);return[h,a*f-h*c,c]}function te(e){var r=e.toPrecision(16);if(r.indexOf("e")>-1){var t=r.slice(0,r.indexOf("e"));t=t.indexOf(".")>-1?t.slice(0,t.slice(0,2)=="0."?17:16):t.slice(0,15)+yr("0",t.length-15);return t+r.slice(r.indexOf("e"))}var a=r.indexOf(".")>-1?r.slice(0,r.slice(0,2)=="0."?17:16):r.slice(0,15)+yr("0",r.length-15);return Number(a)}function ae(e,r,t){if(e>2958465||e<0)return null;e=te(e);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 l=new Date(1900,0,1);l.setDate(l.getDate()+a-1);s=[l.getFullYear(),l.getMonth()+1,l.getDate()];i=l.getDay();if(a<60)i=(i+6)%7;if(t)i=ce(l,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}function ne(e){return e.indexOf(".")==-1?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function ie(e){if(e.indexOf("E")==-1)return e;return e.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}function se(e){var r=e<0?12:11;var t=ne(e.toFixed(12));if(t.length<=r)return t;t=e.toPrecision(10);if(t.length<=r)return t;return e.toExponential(5)}function fe(e){var r=ne(e.toFixed(11));return r.length>(e<0?12:11)||r==="0"||r==="-0"?e.toPrecision(6):r}function le(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=se(e);else if(r===10)t=e.toFixed(10).substr(0,12);else t=fe(e);return ne(ie(t.toUpperCase()))}function oe(e,r){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(e|0)===e?e.toString(10):le(e);case"undefined":return"";case"object":if(e==null)return"";if(e instanceof Date)return ze(14,dr(e,r&&r.date1904),r);}throw new Error("unsupported value in General format: "+e)}function ce(e,r){r[0]-=581;var t=e.getDay();if(e<60)t=(t+6)%7;return t}function ue(e,r,t,a){var n="",i=0,s=0,f=t.y,l,o=0;switch(e){case 98:f=t.y+543;case 121:switch(r.length){case 1:;case 2:l=f%100;o=2;break;default:l=f%1e4;o=4;break;}break;case 109:switch(r.length){case 1:;case 2:l=t.m;o=r.length;break;case 3:return Z[t.m-1][1];case 5:return Z[t.m-1][0];default:return Z[t.m-1][2];}break;case 100:switch(r.length){case 1:;case 2:l=t.d;o=r.length;break;case 3:return Y[t.q][0];default:return Y[t.q][1];}break;case 104:switch(r.length){case 1:;case 2:l=1+(t.H+11)%12;o=r.length;break;default:throw"bad hour format: "+r;}break;case 72:switch(r.length){case 1:;case 2:l=t.H;o=r.length;break;default:throw"bad hour format: "+r;}break;case 77:switch(r.length){case 1:;case 2:l=t.M;o=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 W(t.S,r.length);if(a>=2)s=a===3?1e3:100;else s=a===1?10:1;i=Math.round(s*(t.S+t.u));if(i>=60*s)i=0;if(r==="s")return i===0?"0":""+i/s;n=W(i,2+a);if(r==="ss")return n.substr(0,2);return"."+n.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+(a==0?Math.round(t.S+t.u):t.S);break;default:throw"bad abstime format: "+r;}o=r.length===3?1:2;break;case 101:l=f;o=1;break;}var c=o>0?W(l,o):"";return c}function he(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 de=/%/g;function ve(e,r,t){var a=r.replace(de,""),n=r.length-a.length;return Fe(e,a,t*Math.pow(10,2*n))+yr("%",n)}function pe(e,r,t){var a=r.length-1;while(r.charCodeAt(a-1)===44)--a;return Fe(e,r.substr(0,a),t/Math.pow(10,3*(r.length-a)))}function me(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"-"+me(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 be=/# (\?+)( ?)\/( ?)(\d+)/;function ge(e,r,t){var a=parseInt(e[4],10),n=Math.round(r*a),i=Math.floor(n/a);var s=n-i*a,f=a;return t+(i===0?"":""+i)+" "+(s===0?yr(" ",e[1].length+1+e[4].length):z(s,e[1].length)+e[2]+"/"+e[3]+W(f,e[4].length))}function we(e,r,t){return t+(r===0?"":""+r)+yr(" ",e[1].length+2+e[4].length)}var ke=/^#*0*\.([0#]+)/;var Te=/\).*[0#]/;var ye=/\(###\) ###\\?-####/;function Ee(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 _e(e,r){var t=Math.pow(10,r);return""+Math.round(e*t)/t}function Se(e,r){var t=e-Math.floor(e),a=Math.pow(10,r);if(r<(""+Math.round(t*a)).length)return 0;return Math.round(t*a)}function xe(e,r){if(r<(""+Math.round((e-Math.floor(e))*Math.pow(10,r))).length){return 1}return 0}function Ae(e){if(e<2147483647&&e>-2147483648)return""+(e>=0?e|0:e-1|0);return""+Math.floor(e)}function Ce(e,r,t){if(e.charCodeAt(0)===40&&!r.match(Te)){var a=r.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");if(t>=0)return Ce("n",a,t);return"("+Ce("n",a,-t)+")"}if(r.charCodeAt(r.length-1)===44)return pe(e,r,t);if(r.indexOf("%")!==-1)return ve(e,r,t);if(r.indexOf("E")!==-1)return me(r,t);if(r.charCodeAt(0)===36)return"$"+Ce(e,r.substr(r.charAt(1)==" "?2:1),t);var n;var i,s,f,l=Math.abs(t),o=t<0?"-":"";if(r.match(/^00+$/))return o+j(l,r.length);if(r.match(/^[#?]+$/)){n=j(t,0);if(n==="0")n="";return n.length>r.length?n:Ee(r.substr(0,r.length-n.length))+n}if(i=r.match(be))return ge(i,l,o);if(r.match(/^#+0+$/))return o+j(l,r.length-r.indexOf("0"));if(i=r.match(ke)){n=_e(t,i[1].length).replace(/^([^\.]+)$/,"$1."+Ee(i[1])).replace(/\.$/,"."+Ee(i[1])).replace(/\.(\d*)$/,function(e,r){return"."+r+yr("0",Ee(i[1]).length-r.length)});return r.indexOf("0.")!==-1?n:n.replace(/^0\./,".")}r=r.replace(/^#+([0.])/,"$1");if(i=r.match(/^(0*)\.(#*)$/)){return o+_e(l,i[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,i[1].length?"0.":".")}if(i=r.match(/^#{1,3},##0(\.?)$/))return o+he(j(l,0));if(i=r.match(/^#,##0\.([#0]*0)$/)){return t<0?"-"+Ce(e,r,-t):he(""+(Math.floor(t)+xe(t,i[1].length)))+"."+W(Se(t,i[1].length),i[1].length)}if(i=r.match(/^#,#*,#0/))return Ce(e,r.replace(/^#,#*,/,""),t);if(i=r.match(/^([0#]+)(\\?-([0#]+))+$/)){n=B(Ce(e,r.replace(/[\\-]/g,""),t));s=0;return B(B(r.replace(/\\/g,"")).replace(/[0#]/g,function(e){return s<n.length?n.charAt(s++):e==="0"?"0":""}))}if(r.match(ye)){n=Ce(e,"##########",t);return"("+n.substr(0,3)+") "+n.substr(3,3)+"-"+n.substr(6)}var c="";if(i=r.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/)){s=Math.min(i[4].length,7);f=re(l,Math.pow(10,s)-1,false);n=""+o;c=Fe("n",i[1],f[1]);if(c.charAt(c.length-1)==" ")c=c.substr(0,c.length-1)+"0";n+=c+i[2]+"/"+i[3];c=H(f[2],s);if(c.length<i[4].length)c=Ee(i[4].substr(i[4].length-c.length))+c;n+=c;return n}if(i=r.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/)){s=Math.min(Math.max(i[1].length,i[4].length),7);f=re(l,Math.pow(10,s)-1,true);return o+(f[0]||(f[1]?"":"0"))+" "+(f[1]?z(f[1],s)+i[2]+"/"+i[3]+H(f[2],s):yr(" ",2*s+1+i[2].length+i[3].length))}if(i=r.match(/^[#0?]+$/)){n=j(t,0);if(r.length<=n.length)return n;return Ee(r.substr(0,r.length-n.length))+n}if(i=r.match(/^([#0?]+)\.([#0]+)$/)){n=""+t.toFixed(Math.min(i[2].length,10)).replace(/([^0])0+$/,"$1");s=n.indexOf(".");var u=r.indexOf(".")-s,h=r.length-n.length-u;return Ee(r.substr(0,u)+n+r.substr(r.length-h))}if(i=r.match(/^00,000\.([#0]*0)$/)){s=Se(t,i[1].length);return t<0?"-"+Ce(e,r,-t):he(Ae(t)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(e){return"00,"+(e.length<3?W(0,3-e.length):"")+e})+"."+W(s,i[1].length)}switch(r){case"###,##0.00":return Ce(e,"#,##0.00",t);case"###,###":;case"##,###":;case"#,###":var d=he(j(l,0));return d!=="0"?o+d:"";case"###,###.00":return Ce(e,"###,##0.00",t).replace(/^0\./,".");case"#,###.00":return Ce(e,"#,##0.00",t).replace(/^0\./,".");default:;}throw new Error("unsupported format |"+r+"|")}function Re(e,r,t){var a=r.length-1;while(r.charCodeAt(a-1)===44)--a;return Fe(e,r.substr(0,a),t/Math.pow(10,3*(r.length-a)))}function Oe(e,r,t){var a=r.replace(de,""),n=r.length-a.length;return Fe(e,a,t*Math.pow(10,2*n))+yr("%",n)}function Ie(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"-"+Ie(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.match(/[Ee]/)){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);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")}function Ne(e,r,t){if(e.charCodeAt(0)===40&&!r.match(Te)){var a=r.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");if(t>=0)return Ne("n",a,t);return"("+Ne("n",a,-t)+")"}if(r.charCodeAt(r.length-1)===44)return Re(e,r,t);if(r.indexOf("%")!==-1)return Oe(e,r,t);if(r.indexOf("E")!==-1)return Ie(r,t);if(r.charCodeAt(0)===36)return"$"+Ne(e,r.substr(r.charAt(1)==" "?2:1),t);var n;var i,s,f,l=Math.abs(t),o=t<0?"-":"";if(r.match(/^00+$/))return o+W(l,r.length);if(r.match(/^[#?]+$/)){n=""+t;if(t===0)n="";return n.length>r.length?n:Ee(r.substr(0,r.length-n.length))+n}if(i=r.match(be))return we(i,l,o);if(r.match(/^#+0+$/))return o+W(l,r.length-r.indexOf("0"));if(i=r.match(ke)){n=(""+t).replace(/^([^\.]+)$/,"$1."+Ee(i[1])).replace(/\.$/,"."+Ee(i[1]));n=n.replace(/\.(\d*)$/,function(e,r){return"."+r+yr("0",Ee(i[1]).length-r.length)});return r.indexOf("0.")!==-1?n:n.replace(/^0\./,".")}r=r.replace(/^#+([0.])/,"$1");if(i=r.match(/^(0*)\.(#*)$/)){return o+(""+l).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,i[1].length?"0.":".")}if(i=r.match(/^#{1,3},##0(\.?)$/))return o+he(""+l);if(i=r.match(/^#,##0\.([#0]*0)$/)){return t<0?"-"+Ne(e,r,-t):he(""+t)+"."+yr("0",i[1].length)}if(i=r.match(/^#,#*,#0/))return Ne(e,r.replace(/^#,#*,/,""),t);if(i=r.match(/^([0#]+)(\\?-([0#]+))+$/)){n=B(Ne(e,r.replace(/[\\-]/g,""),t));s=0;return B(B(r.replace(/\\/g,"")).replace(/[0#]/g,function(e){return s<n.length?n.charAt(s++):e==="0"?"0":""}))}if(r.match(ye)){n=Ne(e,"##########",t);return"("+n.substr(0,3)+") "+n.substr(3,3)+"-"+n.substr(6)}var c="";if(i=r.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/)){s=Math.min(i[4].length,7);f=re(l,Math.pow(10,s)-1,false);n=""+o;c=Fe("n",i[1],f[1]);if(c.charAt(c.length-1)==" ")c=c.substr(0,c.length-1)+"0";n+=c+i[2]+"/"+i[3];c=H(f[2],s);if(c.length<i[4].length)c=Ee(i[4].substr(i[4].length-c.length))+c;n+=c;return n}if(i=r.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/)){s=Math.min(Math.max(i[1].length,i[4].length),7);f=re(l,Math.pow(10,s)-1,true);return o+(f[0]||(f[1]?"":"0"))+" "+(f[1]?z(f[1],s)+i[2]+"/"+i[3]+H(f[2],s):yr(" ",2*s+1+i[2].length+i[3].length))}if(i=r.match(/^[#0?]+$/)){n=""+t;if(r.length<=n.length)return n;return Ee(r.substr(0,r.length-n.length))+n}if(i=r.match(/^([#0]+)\.([#0]+)$/)){n=""+t.toFixed(Math.min(i[2].length,10)).replace(/([^0])0+$/,"$1");s=n.indexOf(".");var u=r.indexOf(".")-s,h=r.length-n.length-u;return Ee(r.substr(0,u)+n+r.substr(r.length-h))}if(i=r.match(/^00,000\.([#0]*0)$/)){return t<0?"-"+Ne(e,r,-t):he(""+t).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(e){return"00,"+(e.length<3?W(0,3-e.length):"")+e})+"."+W(0,i[1].length)}switch(r){case"###,###":;case"##,###":;case"#,###":var d=he(""+l);return d!=="0"?o+d:"";default:if(r.match(/\.[0#?]*$/))return Ne(e,r.slice(0,r.lastIndexOf(".")),t)+Ee(r.slice(r.lastIndexOf(".")));}throw new Error("unsupported format |"+r+"|")}function Fe(e,r,t){return(t|0)===t?Ne(e,r,t):Ce(e,r,t)}function De(e){var r=[];var t=false;for(var a=0,n=0;a<e.length;++a)switch(e.charCodeAt(a)){case 34:t=!t;break;case 95:;case 42:;case 92:++a;break;case 59:r[r.length]=e.substr(n,a-n);n=a+1;}r[r.length]=e.substr(n);if(t===true)throw new Error("Format |"+e+"| unterminated string ");return r}var Pe=/\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;function Le(e){var r=0,t="",a="";while(r<e.length){switch(t=e.charAt(r)){case"G":if(K(e,r))r+=6;r++;break;case'"':for(;e.charCodeAt(++r)!==34&&r<e.length;){}++r;break;case"\\":r+=2;break;case"_":r+=2;break;case"@":++r;break;case"B":;case"b":if(e.charAt(r+1)==="1"||e.charAt(r+1)==="2")return true;case"M":;case"D":;case"Y":;case"H":;case"S":;case"E":;case"m":;case"d":;case"y":;case"h":;case"s":;case"e":;case"g":return true;case"A":;case"a":;case"上":if(e.substr(r,3).toUpperCase()==="A/P")return true;if(e.substr(r,5).toUpperCase()==="AM/PM")return true;if(e.substr(r,5).toUpperCase()==="上午/下午")return true;++r;break;case"[":a=t;while(e.charAt(r++)!=="]"&&r<e.length)a+=e.charAt(r);if(a.match(Pe))return true;break;case".":;case"0":;case"#":while(r<e.length&&("0#?.,E+-%".indexOf(t=e.charAt(++r))>-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<e.length&&"0123456789".indexOf(e.charAt(++r))>-1){}break;case" ":++r;break;default:++r;break;}}return false}function Me(e,r,t,a){var n=[],i="",s=0,f="",l="t",o,c,u;var h="H";while(s<e.length){switch(f=e.charAt(s)){case"G":if(!K(e,s))throw new Error("unrecognized character "+f+" in "+e);n[n.length]={t:"G",v:"General"};s+=7;break;case'"':for(i="";(u=e.charCodeAt(++s))!==34&&s<e.length;)i+=String.fromCharCode(u);n[n.length]={t:"t",v:i};++s;break;case"\\":var d=e.charAt(++s),v=d==="("||d===")"?d:"t";n[n.length]={t:v,v:d};++s;break;case"_":n[n.length]={t:"t",v:" "};s+=2;break;case"@":n[n.length]={t:"T",v:r};++s;break;case"B":;case"b":if(e.charAt(s+1)==="1"||e.charAt(s+1)==="2"){if(o==null){o=ae(r,t,e.charAt(s+1)==="2");if(o==null)return""}n[n.length]={t:"X",v:e.substr(s,2)};l=f;s+=2;break};case"M":;case"D":;case"Y":;case"H":;case"S":;case"E":f=f.toLowerCase();case"m":;case"d":;case"y":;case"h":;case"s":;case"e":;case"g":if(r<0)return"";if(o==null){o=ae(r,t);if(o==null)return""}i=f;while(++s<e.length&&e.charAt(s).toLowerCase()===f)i+=f;if(f==="m"&&l.toLowerCase()==="h")f="M";if(f==="h")f=h;n[n.length]={t:f,v:i};l=f;break;case"A":;case"a":;case"上":var p={t:f,v:f};if(o==null)o=ae(r,t);if(e.substr(s,3).toUpperCase()==="A/P"){if(o!=null)p.v=o.H>=12?e.charAt(s+2):f;p.t="T";h="h";s+=3}else if(e.substr(s,5).toUpperCase()==="AM/PM"){if(o!=null)p.v=o.H>=12?"PM":"AM";p.t="T";s+=5;h="h"}else if(e.substr(s,5).toUpperCase()==="上午/下午"){if(o!=null)p.v=o.H>=12?"下午":"上午";p.t="T";s+=5;h="h"}else{p.t="t";++s}if(o==null&&p.t==="T")return"";n[n.length]=p;l=f;break;case"[":i=f;while(e.charAt(s++)!=="]"&&s<e.length)i+=e.charAt(s);if(i.slice(-1)!=="]")throw'unterminated "[" block: |'+i+"|";if(i.match(Pe)){if(o==null){o=ae(r,t);if(o==null)return""}n[n.length]={t:"Z",v:i.toLowerCase()};l=i.charAt(1)}else if(i.indexOf("$")>-1){i=(i.match(/\$([^-\[\]]*)/)||[])[1]||"$";if(!Le(e))n[n.length]={t:"t",v:i}}break;case".":if(o!=null){i=f;while(++s<e.length&&(f=e.charAt(s))==="0")i+=f;n[n.length]={t:"s",v:i};break};case"0":;case"#":i=f;while(++s<e.length&&"0#?.,E+-%".indexOf(f=e.charAt(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};l=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<e.length&&"0123456789".indexOf(e.charAt(++s))>-1)i+=e.charAt(s);n[n.length]={t:"D",v:i};break;case" ":n[n.length]={t:f,v:f};++s;break;case"$":n[n.length]={t:"t",v:"$"};++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 m=0,b=0,g;for(s=n.length-1,l="t";s>=0;--s){switch(n[s].t){case"h":;case"H":n[s].t=h;l="h";if(m<1)m=1;break;case"s":if(g=n[s].v.match(/\.0+$/)){b=Math.max(b,g[0].length-1);m=4}if(m<3)m=3;case"d":;case"y":;case"e":l=n[s].t;break;case"M":l=n[s].t;if(m<2)m=2;break;case"m":if(l==="s"){n[s].t="M";if(m<2)m=2}break;case"X":break;case"Z":if(m<1&&n[s].v.match(/[Hh]/))m=1;if(m<2&&n[s].v.match(/[Mm]/))m=2;if(m<3&&n[s].v.match(/[Ss]/))m=3;}}var w;switch(m){case 0:break;case 1:;case 2:;case 3:if(o.u>=.5){o.u=0;++o.S}if(o.S>=60){o.S=0;++o.M}if(o.M>=60){o.M=0;++o.H}if(o.H>=24){o.H=0;++o.D;w=ae(o.D);w.u=o.u;w.S=o.S;w.M=o.M;w.H=o.H;o=w}break;case 4:switch(b){case 1:o.u=Math.round(o.u*10)/10;break;case 2:o.u=Math.round(o.u*100)/100;break;case 3:o.u=Math.round(o.u*1e3)/1e3;break;}if(o.u>=1){o.u=0;++o.S}if(o.S>=60){o.S=0;++o.M}if(o.M>=60){o.M=0;++o.H}if(o.H>=24){o.H=0;++o.D;w=ae(o.D);w.u=o.u;w.S=o.S;w.M=o.M;w.H=o.H;o=w}break;}var k="",T;for(s=0;s<n.length;++s){switch(n[s].t){case"t":;case"T":;case" ":;case"D":break;case"X":n[s].v="";n[s].t=";";break;case"d":;case"m":;case"y":;case"h":;case"H":;case"M":;case"s":;case"e":;case"b":;case"Z":n[s].v=ue(n[s].t.charCodeAt(0),n[s].v,o,b);n[s].t="t";break;case"n":;case"?":T=s+1;while(n[T]!=null&&((f=n[T].t)==="?"||f==="D"||(f===" "||f==="t")&&n[T+1]!=null&&(n[T+1].t==="?"||n[T+1].t==="t"&&n[T+1].v==="/")||n[s].t==="("&&(f===" "||f==="n"||f===")")||f==="t"&&(n[T].v==="/"||n[T].v===" "&&n[T+1]!=null&&n[T+1].t=="?"))){n[s].v+=n[T].v;n[T]={v:"",t:";"};++T}k+=n[s].v;s=T-1;break;case"G":n[s].t="t";n[s].v=oe(r,t);break;}}var y="",E,_;if(k.length>0){if(k.charCodeAt(0)==40){E=r<0&&k.charCodeAt(0)===45?-r:r;_=Fe("n",k,E)}else{E=r<0&&a>1?-r:r;_=Fe("n",k,E);if(E<0&&n[0]&&n[0].t=="t"){_=_.substr(1);n[0].v="-"+n[0].v}}T=_.length-1;var S=n.length;for(s=0;s<n.length;++s)if(n[s]!=null&&n[s].t!="t"&&n[s].v.indexOf(".")>-1){S=s;break}var x=n.length;if(S===n.length&&_.indexOf("E")===-1){for(s=n.length-1;s>=0;--s){if(n[s]==null||"n?".indexOf(n[s].t)===-1)continue;if(T>=n[s].v.length-1){T-=n[s].v.length;n[s].v=_.substr(T+1,n[s].v.length)}else if(T<0)n[s].v="";else{n[s].v=_.substr(0,T+1);T=-1}n[s].t="t";x=s}if(T>=0&&x<n.length)n[x].v=_.substr(0,T+1)+n[x].v}else if(S!==n.length&&_.indexOf("E")===-1){T=_.indexOf(".")-1;for(s=S;s>=0;--s){if(n[s]==null||"n?".indexOf(n[s].t)===-1)continue;c=n[s].v.indexOf(".")>-1&&s===S?n[s].v.indexOf(".")-1:n[s].v.length-1;y=n[s].v.substr(c+1);for(;c>=0;--c){if(T>=0&&(n[s].v.charAt(c)==="0"||n[s].v.charAt(c)==="#"))y=_.charAt(T--)+y}n[s].v=y;n[s].t="t";x=s}if(T>=0&&x<n.length)n[x].v=_.substr(0,T+1)+n[x].v;T=_.indexOf(".")+1;for(s=S;s<n.length;++s){if(n[s]==null||"n?(".indexOf(n[s].t)===-1&&s!==S)continue;c=n[s].v.indexOf(".")>-1&&s===S?n[s].v.indexOf(".")+1:0;y=n[s].v.substr(0,c);for(;c<n[s].v.length;++c){if(T<_.length)y+=_.charAt(T++)}n[s].v=y;n[s].t="t";x=s}}}for(s=0;s<n.length;++s)if(n[s]!=null&&"n?".indexOf(n[s].t)>-1){E=a>1&&r<0&&s>0&&n[s-1].v==="-"?-r:r;n[s].v=Fe(n[s].t,n[s].v,E);n[s].t="t"}var A="";for(s=0;s!==n.length;++s)if(n[s]!=null)A+=n[s].v;return A}var Ue=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function Be(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<t)return true;break;case"<>":if(e!=t)return true;break;case">=":if(e>=t)return true;break;case"<=":if(e<=t)return true;break;}return false}function We(e,r){var t=De(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(/\[[=<>]/)!=null||t[1].match(/\[[=<>]/)!=null){var s=t[0].match(Ue);var f=t[1].match(Ue);return Be(r,s)?[a,t[0]]:Be(r,f)?[a,t[1]]:[a,t[s!=null&&f!=null?2:1]]}return[a,i]}function ze(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:q)[e];if(a==null)a=t.table&&t.table[Q[e]]||q[Q[e]];if(a==null)a=ee[e]||"General";break;}if(K(a,0))return oe(r,t);if(r instanceof Date)r=dr(r,t.date1904);var n=We(a,r);if(K(n[1]))return oe(r,t);if(r===true)r="TRUE";else if(r===false)r="FALSE";else if(r===""||r==null)return"";return Me(n[1],r,t,n[0])}function He(e,r){if(typeof r!="number"){r=+r||-1;for(var t=0;t<392;++t){if(q[t]==undefined){if(r<0)r=t;continue}if(q[t]==e){r=t;break}}if(r<0)r=391}q[r]=e;return r}function Ve(e){for(var r=0;r!=392;++r)if(e[r]!==undefined)He(e[r],r)}function $e(){q=J()}var Xe={format:ze,load:He,_table:q,load_table:Ve,parse_date_code:ae,is_date:Le,get_table:function hT(){return Xe._table=q}};var Ge={5:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',23:"General",24:"General",25:"General",26:"General",27:"m/d/yy",28:"m/d/yy",29:"m/d/yy",30:"m/d/yy",31:"m/d/yy",32:"h:mm:ss",33:"h:mm:ss",34:"h:mm:ss",35:"h:mm:ss",36:"m/d/yy",41:'_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* (#,##0);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)',50:"m/d/yy",51:"m/d/yy",52:"m/d/yy",53:"m/d/yy",54:"m/d/yy",55:"m/d/yy",56:"m/d/yy",57:"m/d/yy",58:"m/d/yy",59:"0",60:"0.00",61:"#,##0",62:"#,##0.00",63:'"$"#,##0_);\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',67:"0%",68:"0.00%",69:"# ?/?",70:"# ??/??",71:"m/d/yy",72:"m/d/yy",73:"d-mmm-yy",74:"d-mmm",75:"mmm-yy",76:"h:mm",77:"h:mm:ss",78:"m/d/yy h:mm",79:"mm:ss",80:"[h]:mm:ss",81:"mmss.0"};var je=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;function Ke(e){var r=typeof e=="number"?q[e]:e;r=r.replace(je,"(\\d+)");je.lastIndex=0;return new RegExp("^"+r+"$")}function Ye(e,r,t){var a=-1,n=-1,i=-1,s=-1,f=-1,l=-1;(r.match(je)||[]).forEach(function(e,r){var o=parseInt(t[r+1],10);switch(e.toLowerCase().charAt(0)){case"y":a=o;break;case"d":i=o;break;case"h":s=o;break;case"s":l=o;break;case"m":if(s>=0)f=o;else n=o; -break;}});je.lastIndex=0;if(l>=0&&f==-1&&n>=0){f=n;n=-1}var o=(""+(a>=0?a:(new Date).getFullYear())).slice(-4)+"-"+("00"+(n>=1?n:1)).slice(-2)+"-"+("00"+(i>=1?i:1)).slice(-2);if(o.length==7)o="0"+o;if(o.length==8)o="20"+o;var c=("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(f>=0?f:0)).slice(-2)+":"+("00"+(l>=0?l:0)).slice(-2);if(s==-1&&f==-1&&l==-1)return o;if(a==-1&&n==-1&&i==-1)return c;return o+"T"+c}var Ze={"d.m":"d\\.m"};function Je(e,r){return He(Ze[e]||e,r)}var qe=function(){var e={};e.version="1.2.0";function r(){var e=0,r=new Array(256);for(var t=0;t!=256;++t){e=t;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;r[t]=e}return typeof Int32Array!=="undefined"?new Int32Array(r):r}var t=r();function a(e){var r=0,t=0,a=0,n=typeof Int32Array!=="undefined"?new Int32Array(4096):new Array(4096);for(a=0;a!=256;++a)n[a]=e[a];for(a=0;a!=256;++a){t=e[a];for(r=256+a;r<4096;r+=256)t=n[r]=t>>>8^e[t&255]}var i=[];for(a=1;a!=16;++a)i[a-1]=typeof Int32Array!=="undefined"&&typeof n.subarray=="function"?n.subarray(a*256,a*256+256):n.slice(a*256,a*256+256);return i}var n=a(t);var i=n[0],s=n[1],f=n[2],l=n[3],o=n[4];var c=n[5],u=n[6],h=n[7],d=n[8],v=n[9];var p=n[10],m=n[11],b=n[12],g=n[13],w=n[14];function k(e,r){var a=r^-1;for(var n=0,i=e.length;n<i;)a=a>>>8^t[(a^e.charCodeAt(n++))&255];return~a}function T(e,r){var a=r^-1,n=e.length-15,k=0;for(;k<n;)a=w[e[k++]^a&255]^g[e[k++]^a>>8&255]^b[e[k++]^a>>16&255]^m[e[k++]^a>>>24]^p[e[k++]]^v[e[k++]]^d[e[k++]]^h[e[k++]]^u[e[k++]]^c[e[k++]]^o[e[k++]]^l[e[k++]]^f[e[k++]]^s[e[k++]]^i[e[k++]]^t[e[k++]];n+=15;while(k<n)a=a>>>8^t[(a^e[k++])&255];return~a}function y(e,r){var a=r^-1;for(var n=0,i=e.length,s=0,f=0;n<i;){s=e.charCodeAt(n++);if(s<128){a=a>>>8^t[(a^s)&255]}else if(s<2048){a=a>>>8^t[(a^(192|s>>6&31))&255];a=a>>>8^t[(a^(128|s&63))&255]}else if(s>=55296&&s<57344){s=(s&1023)+64;f=e.charCodeAt(n++)&1023;a=a>>>8^t[(a^(240|s>>8&7))&255];a=a>>>8^t[(a^(128|s>>2&63))&255];a=a>>>8^t[(a^(128|f>>6&15|(s&3)<<4))&255];a=a>>>8^t[(a^(128|f&63))&255]}else{a=a>>>8^t[(a^(224|s>>12&15))&255];a=a>>>8^t[(a^(128|s>>6&63))&255];a=a>>>8^t[(a^(128|s&63))&255]}}return~a}e.table=t;e.bstr=k;e.buf=T;e.str=y;return e}();var Qe=function dT(){var e={};e.version="1.2.2";function r(e,r){var t=e.split("/"),a=r.split("/");for(var n=0,i=0,s=Math.min(t.length,a.length);n<s;++n){if(i=t[n].length-a[n].length)return i;if(t[n]!=a[n])return t[n]<a[n]?-1:1}return t.length-a.length}function t(e){if(e.charAt(e.length-1)=="/")return e.slice(0,-1).indexOf("/")===-1?e:t(e.slice(0,-1));var r=e.lastIndexOf("/");return r===-1?e:e.slice(0,r+1)}function a(e){if(e.charAt(e.length-1)=="/")return a(e.slice(0,-1));var r=e.lastIndexOf("/");return r===-1?e:e.slice(r+1)}function n(e,r){if(typeof r==="string")r=new Date(r);var t=r.getHours();t=t<<6|r.getMinutes();t=t<<5|r.getSeconds()>>>1;e._W(2,t);var a=r.getFullYear()-1980;a=a<<4|r.getMonth()+1;a=a<<5|r.getDate();e._W(2,a)}function i(e){var r=e._R(2)&65535;var t=e._R(2)&65535;var a=new Date;var n=t&31;t>>>=5;var i=t&15;t>>>=4;a.setMilliseconds(0);a.setFullYear(t+1980);a.setMonth(i-1);a.setDate(n);var s=r&31;r>>>=5;var f=r&63;r>>>=6;a.setHours(r);a.setMinutes(f);a.setSeconds(s<<1);return a}function s(e){Ta(e,0);var r={};var t=0;while(e.l<=e.length-4){var a=e._R(2);var n=e._R(2),i=e.l+n;var s={};switch(a){case 21589:{t=e._R(1);if(t&1)s.mtime=e._R(4);if(n>5){if(t&2)s.atime=e._R(4);if(t&4)s.ctime=e._R(4)}if(s.mtime)s.mt=new Date(s.mtime*1e3)}break;case 1:{var f=e._R(4),l=e._R(4);s.usz=l*Math.pow(2,32)+f;f=e._R(4);l=e._R(4);s.csz=l*Math.pow(2,32)+f}break;}e.l=i;r[a]=s}return r}var f;function l(){return f||(f=er)}function o(e,r){if(e[0]==80&&e[1]==75)return Ie(e,r);if((e[0]|32)==109&&(e[1]|32)==105)return We(e,r);if(e.length<512)throw new Error("CFB file size "+e.length+" < 512");var t=3;var a=512;var n=0;var i=0;var s=0;var f=0;var l=0;var o=[];var v=e.slice(0,512);Ta(v,0);var m=c(v);t=m[0];switch(t){case 3:a=512;break;case 4:a=4096;break;case 0:if(m[1]==0)return Ie(e,r);default:throw new Error("Major Version: Expected 3 or 4 saw "+t);}if(a!==512){v=e.slice(0,a);Ta(v,28)}var w=e.slice(0,a);u(v,t);var k=v._R(4,"i");if(t===3&&k!==0)throw new Error("# Directory Sectors: Expected 0 saw "+k);v.l+=4;s=v._R(4,"i");v.l+=4;v.chk("00100000","Mini Stream Cutoff Size: ");f=v._R(4,"i");n=v._R(4,"i");l=v._R(4,"i");i=v._R(4,"i");for(var T=-1,y=0;y<109;++y){T=v._R(4,"i");if(T<0)break;o[y]=T}var E=h(e,a);p(l,i,E,a,o);var _=b(E,s,o,a);if(s<_.length)_[s].name="!Directory";if(n>0&&f!==L)_[f].name="!MiniFAT";_[o[0]].name="!FAT";_.fat_addrs=o;_.ssz=a;var S={},x=[],A=[],C=[];g(s,_,E,x,n,S,A,f);d(A,C,x);x.shift();var R={FileIndex:A,FullPaths:C};if(r&&r.raw)R.raw={header:w,sectors:E};return R}function c(e){if(e[e.l]==80&&e[e.l+1]==75)return[0,0];e.chk(B,"Header Signature: ");e.l+=16;var r=e._R(2,"u");return[e._R(2,"u"),r]}function u(e,r){var t=9;e.l+=2;switch(t=e._R(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 h(e,r){var t=Math.ceil(e.length/r)-1;var a=[];for(var n=1;n<t;++n)a[n-1]=e.slice(n*r,(n+1)*r);a[t-1]=e.slice(t*r);return a}function d(e,r,t){var a=0,n=0,i=0,s=0,f=0,l=t.length;var o=[],c=[];for(;a<l;++a){o[a]=c[a]=a;r[a]=t[a]}for(;f<c.length;++f){a=c[f];n=e[a].L;i=e[a].R;s=e[a].C;if(o[a]===a){if(n!==-1&&o[n]!==n)o[a]=o[n];if(i!==-1&&o[i]!==i)o[a]=o[i]}if(s!==-1)o[s]=a;if(n!==-1&&a!=o[a]){o[n]=o[a];if(c.lastIndexOf(n)<f)c.push(n)}if(i!==-1&&a!=o[a]){o[i]=o[a];if(c.lastIndexOf(i)<f)c.push(i)}}for(a=1;a<l;++a)if(o[a]===a){if(i!==-1&&o[i]!==i)o[a]=o[i];else if(n!==-1&&o[n]!==n)o[a]=o[n]}for(a=1;a<l;++a){if(e[a].type===0)continue;f=a;if(f!=o[f])do{f=o[f];r[a]=r[f]+"/"+r[a]}while(f!==0&&-1!==o[f]&&f!=o[f]);o[a]=-1}r[0]+="/";for(a=1;a<l;++a){if(e[a].type!==2)r[a]+="/"}}function v(e,r,t){var a=e.start,n=e.size;var i=[];var s=a;while(t&&n>0&&s>=0){i.push(r.slice(s*D,s*D+D));n-=D;s=da(t,s*4)}if(i.length===0)return Ea(0);return P(i).slice(0,e.size)}function p(e,r,t,a,n){var i=L;if(e===L){if(r!==0)throw new Error("DIFAT chain shorter than expected")}else if(e!==-1){var s=t[e],f=(a>>>2)-1;if(!s)return;for(var l=0;l<f;++l){if((i=da(s,l*4))===L)break;n.push(i)}if(r>=1)p(da(s,a-4),r-1,t,a,n)}}function m(e,r,t,a,n){var i=[],s=[];if(!n)n=[];var f=a-1,l=0,o=0;for(l=r;l>=0;){n[l]=true;i[i.length]=l;s.push(e[l]);var c=t[Math.floor(l*4/a)];o=l*4&f;if(a<4+o)throw new Error("FAT boundary crossed: "+l+" 4 "+a);if(!e[c])break;l=da(e[c],o)}return{nodes:i,data:Ht([s])}}function b(e,r,t,a){var n=e.length,i=[];var s=[],f=[],l=[];var o=a-1,c=0,u=0,h=0,d=0;for(c=0;c<n;++c){f=[];h=c+r;if(h>=n)h-=n;if(s[h])continue;l=[];var v=[];for(u=h;u>=0;){v[u]=true;s[u]=true;f[f.length]=u;l.push(e[u]);var p=t[Math.floor(u*4/a)];d=u*4&o;if(a<4+d)throw new Error("FAT boundary crossed: "+u+" 4 "+a);if(!e[p])break;u=da(e[p],d);if(v[u])break}i[h]={nodes:f,data:Ht([l])}}return i}function g(e,r,t,a,n,i,s,f){var l=0,o=a.length?2:0;var c=r[e].data;var u=0,h=0,d;for(;u<c.length;u+=128){var p=c.slice(u,u+128);Ta(p,64);h=p._R(2);d=$t(p,0,h-o);a.push(d);var b={name:d,type:p._R(1),color:p._R(1),L:p._R(4,"i"),R:p._R(4,"i"),C:p._R(4,"i"),clsid:p._R(16),state:p._R(4,"i"),start:0,size:0};var g=p._R(2)+p._R(2)+p._R(2)+p._R(2);if(g!==0)b.ct=w(p,p.l-8);var k=p._R(2)+p._R(2)+p._R(2)+p._R(2);if(k!==0)b.mt=w(p,p.l-8);b.start=p._R(4,"i");b.size=p._R(4,"i");if(b.size<0&&b.start<0){b.size=b.type=0;b.start=L;b.name=""}if(b.type===5){l=b.start;if(n>0&&l!==L)r[l].name="!StreamData"}else if(b.size>=4096){b.storage="fat";if(r[b.start]===undefined)r[b.start]=m(t,b.start,r.fat_addrs,r.ssz);r[b.start].name=b.name;b.content=r[b.start].data.slice(0,b.size)}else{b.storage="minifat";if(b.size<0)b.size=0;else if(l!==L&&b.start!==L&&r[l]){b.content=v(b,r[l].data,(r[f]||{}).data)}}if(b.content)Ta(b.content,0);i[d]=b;s.push(b)}}function w(e,r){return new Date((ha(e,r+4)/1e7*Math.pow(2,32)+ha(e,r)/1e7-11644473600)*1e3)}function k(e,r){l();return o(f.readFileSync(e),r)}function y(e,r){var t=r&&r.type;if(!t){if(S&&Buffer.isBuffer(e))t="buffer"}switch(t||"base64"){case"file":return k(e,r);case"base64":return o(O(_(e)),r);case"binary":return o(O(e),r);}return o(e,r)}function E(e,r){var t=r||{},a=t.root||"Root Entry";if(!e.FullPaths)e.FullPaths=[];if(!e.FileIndex)e.FileIndex=[];if(e.FullPaths.length!==e.FileIndex.length)throw new Error("inconsistent CFB structure");if(e.FullPaths.length===0){e.FullPaths[0]=a+"/";e.FileIndex[0]={name:a,type:5}}if(t.CLSID)e.FileIndex[0].clsid=t.CLSID;A(e)}function A(e){var r="Sh33tJ5";if(Qe.find(e,"/"+r))return;var t=Ea(4);t[0]=55;t[1]=t[3]=50;t[2]=54;e.FileIndex.push({name:r,type:2,content:t,size:4,L:69,R:69,C:69});e.FullPaths.push(e.FullPaths[0]+r);I(e)}function I(e,n){E(e);var i=false,s=false;for(var f=e.FullPaths.length-1;f>=0;--f){var l=e.FileIndex[f];switch(l.type){case 0:if(s)i=true;else{e.FileIndex.pop();e.FullPaths.pop()}break;case 1:;case 2:;case 5:s=true;if(isNaN(l.R*l.L*l.C))i=true;if(l.R>-1&&l.L>-1&&l.R==l.L)i=true;break;default:i=true;break;}}if(!i&&!n)return;var o=new Date(1987,1,19),c=0;var u=Object.create?Object.create(null):{};var h=[];for(f=0;f<e.FullPaths.length;++f){u[e.FullPaths[f]]=true;if(e.FileIndex[f].type===0)continue;h.push([e.FullPaths[f],e.FileIndex[f]])}for(f=0;f<h.length;++f){var d=t(h[f][0]);s=u[d];while(!s){while(t(d)&&!u[t(d)])d=t(d);h.push([d,{name:a(d).replace("/",""),type:1,clsid:z,ct:o,mt:o,content:null}]);u[d]=true;d=t(h[f][0]);s=u[d]}}h.sort(function(e,t){return r(e[0],t[0])});e.FullPaths=[];e.FileIndex=[];for(f=0;f<h.length;++f){e.FullPaths[f]=h[f][0];e.FileIndex[f]=h[f][1]}for(f=0;f<h.length;++f){var v=e.FileIndex[f];var p=e.FullPaths[f];v.name=a(p).replace("/","");v.L=v.R=v.C=-(v.color=1);v.size=v.content?v.content.length:0;v.start=0;v.clsid=v.clsid||z;if(f===0){v.C=h.length>1?1:-1;v.size=0;v.type=5}else if(p.slice(-1)=="/"){for(c=f+1;c<h.length;++c)if(t(e.FullPaths[c])==p)break;v.C=c>=h.length?-1:c;for(c=f+1;c<h.length;++c)if(t(e.FullPaths[c])==t(p))break;v.R=c>=h.length?-1:c;v.type=1}else{if(t(e.FullPaths[f+1]||"")==t(p))v.R=f+1;v.type=2}}}function N(e,r){var t=r||{};if(t.fileType=="mad")return ze(e,t);I(e);switch(t.fileType){case"zip":return Fe(e,t);}var a=function(e){var r=0,t=0;for(var a=0;a<e.FileIndex.length;++a){var n=e.FileIndex[a];if(!n.content)continue;var i=n.content.length;if(i>0){if(i<4096)r+=i+63>>6;else t+=i+511>>9}}var s=e.FullPaths.length+3>>2;var f=r+7>>3;var l=r+127>>7;var o=f+t+s+l;var c=o+127>>7;var u=c<=109?0:Math.ceil((c-109)/127);while(o+c+u+127>>7>c)u=++c<=109?0:Math.ceil((c-109)/127);var h=[1,u,c,l,s,t,r,0];e.FileIndex[0].size=r<<6;h[7]=(e.FileIndex[0].start=h[0]+h[1]+h[2]+h[3]+h[4]+h[5])+(h[6]+7>>3);return h}(e);var n=Ea(a[7]<<9);var i=0,s=0;{for(i=0;i<8;++i)n._W(1,W[i]);for(i=0;i<8;++i)n._W(2,0);n._W(2,62);n._W(2,3);n._W(2,65534);n._W(2,9);n._W(2,6);for(i=0;i<3;++i)n._W(2,0);n._W(4,0);n._W(4,a[2]);n._W(4,a[0]+a[1]+a[2]+a[3]-1);n._W(4,0);n._W(4,1<<12);n._W(4,a[3]?a[0]+a[1]+a[2]-1:L);n._W(4,a[3]);n._W(-4,a[1]?a[0]-1:L);n._W(4,a[1]);for(i=0;i<109;++i)n._W(-4,i<a[2]?a[1]+i:-1)}if(a[1]){for(s=0;s<a[1];++s){for(;i<236+s*127;++i)n._W(-4,i<a[2]?a[1]+i:-1);n._W(-4,s===a[1]-1?L:s+1)}}var f=function(e){for(s+=e;i<s-1;++i)n._W(-4,i+1);if(e){++i;n._W(-4,L)}};s=i=0;for(s+=a[1];i<s;++i)n._W(-4,H.DIFSECT);for(s+=a[2];i<s;++i)n._W(-4,H.FATSECT);f(a[3]);f(a[4]);var l=0,o=0;var c=e.FileIndex[0];for(;l<e.FileIndex.length;++l){c=e.FileIndex[l];if(!c.content)continue;o=c.content.length;if(o<4096)continue;c.start=s;f(o+511>>9)}f(a[6]+7>>3);while(n.l&511)n._W(-4,H.ENDOFCHAIN);s=i=0;for(l=0;l<e.FileIndex.length;++l){c=e.FileIndex[l];if(!c.content)continue;o=c.content.length;if(!o||o>=4096)continue;c.start=s;f(o+63>>6)}while(n.l&511)n._W(-4,H.ENDOFCHAIN);for(i=0;i<a[4]<<2;++i){var u=e.FullPaths[i];if(!u||u.length===0){for(l=0;l<17;++l)n._W(4,0);for(l=0;l<3;++l)n._W(4,-1);for(l=0;l<12;++l)n._W(4,0);continue}c=e.FileIndex[i];if(i===0)c.start=c.size?c.start-1:L;var h=i===0&&t.root||c.name;if(h.length>32){console.error("Name "+h+" will be truncated to "+h.slice(0,32));h=h.slice(0,32)}o=2*(h.length+1);n._W(64,h,"utf16le");n._W(2,o);n._W(1,c.type);n._W(1,c.color);n._W(-4,c.L);n._W(-4,c.R);n._W(-4,c.C);if(!c.clsid)for(l=0;l<4;++l)n._W(4,0);else n._W(16,c.clsid,"hex");n._W(4,c.state||0);n._W(4,0);n._W(4,0);n._W(4,0);n._W(4,0);n._W(4,c.start);n._W(4,c.size);n._W(4,0)}for(i=1;i<e.FileIndex.length;++i){c=e.FileIndex[i];if(c.size>=4096){n.l=c.start+1<<9;if(S&&Buffer.isBuffer(c.content)){c.content.copy(n,n.l,0,c.size);n.l+=c.size+511&-512}else{for(l=0;l<c.size;++l)n._W(1,c.content[l]);for(;l&511;++l)n._W(1,0)}}}for(i=1;i<e.FileIndex.length;++i){c=e.FileIndex[i];if(c.size>0&&c.size<4096){if(S&&Buffer.isBuffer(c.content)){c.content.copy(n,n.l,0,c.size);n.l+=c.size+63&-64}else{for(l=0;l<c.size;++l)n._W(1,c.content[l]);for(;l&63;++l)n._W(1,0)}}}if(S){n.l=n.length}else{while(n.l<n.length)n._W(1,0)}return n}function F(e,r){var t=e.FullPaths.map(function(e){return e.toUpperCase()});var a=t.map(function(e){var r=e.split("/");return r[r.length-(e.slice(-1)=="/"?2:1)]});var n=false;if(r.charCodeAt(0)===47){n=true;r=t[0].slice(0,-1)+r}else n=r.indexOf("/")!==-1;var i=r.toUpperCase();var s=n===true?t.indexOf(i):a.indexOf(i);if(s!==-1)return e.FileIndex[s];var f=!i.match(U);i=i.replace(M,"");if(f)i=i.replace(U,"!");for(s=0;s<t.length;++s){if((f?t[s].replace(U,"!"):t[s]).replace(M,"")==i)return e.FileIndex[s];if((f?a[s].replace(U,"!"):a[s]).replace(M,"")==i)return e.FileIndex[s]}return null}var D=64;var L=-2;var B="d0cf11e0a1b11ae1";var W=[208,207,17,224,161,177,26,225];var z="00000000000000000000000000000000";var H={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:L,FREESECT:-1,HEADER_SIGNATURE:B,HEADER_MINOR_VERSION:"3e00",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:z,EntryTypes:["unknown","storage","stream","lockbytes","property","root"]};function V(e,r,t){l();var a=N(e,t);f.writeFileSync(r,a)}function $(e){var r=new Array(e.length);for(var t=0;t<e.length;++t)r[t]=String.fromCharCode(e[t]);return r.join("")}function X(e,r){var t=N(e,r);switch(r&&r.type||"buffer"){case"file":l();f.writeFileSync(r.filename,t);return t;case"binary":return typeof t=="string"?t:$(t);case"base64":return T(typeof t=="string"?t:$(t));case"buffer":if(S)return Buffer.isBuffer(t)?t:x(t);case"array":return typeof t=="string"?O(t):t;}return t}var G;function j(e){try{var r=e.InflateRaw;var t=new r;t._processChunk(new Uint8Array([3,0]),t._finishFlushFlag);if(t.bytesRead)G=e;else throw new Error("zlib does not expose bytesRead")}catch(a){console.error("cannot use native zlib: "+(a.message||a))}}function K(e,r){if(!G)return Re(e,r);var t=G.InflateRaw;var a=new t;var n=a._processChunk(e.slice(e.l),a._finishFlushFlag);e.l+=a.bytesRead;return n}function Y(e){return G?G.deflateRawSync(e):Te(e)}var Z=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];var J=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258];var q=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577];function Q(e){var r=(e<<1|e<<11)&139536|(e<<5|e<<15)&558144;return(r>>16|r>>8|r)&255}var ee=typeof Uint8Array!=="undefined";var re=ee?new Uint8Array(1<<8):[];for(var te=0;te<1<<8;++te)re[te]=Q(te);function ae(e,r){var t=re[e&255];if(r<=8)return t>>>8-r;t=t<<8|re[e>>8&255];if(r<=16)return t>>>16-r;t=t<<8|re[e>>16&255];return t>>>24-r}function ne(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=6?0:e[a+1]<<8))>>>t&3}function ie(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=5?0:e[a+1]<<8))>>>t&7}function se(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=4?0:e[a+1]<<8))>>>t&15}function fe(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=3?0:e[a+1]<<8))>>>t&31}function le(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=1?0:e[a+1]<<8))>>>t&127}function oe(e,r,t){var a=r&7,n=r>>>3,i=(1<<t)-1;var s=e[n]>>>a;if(t<8-a)return s&i;s|=e[n+1]<<8-a;if(t<16-a)return s&i;s|=e[n+2]<<16-a;if(t<24-a)return s&i;s|=e[n+3]<<24-a;return s&i}function ce(e,r,t){var a=r&7,n=r>>>3;if(a<=5)e[n]|=(t&7)<<a;else{e[n]|=t<<a&255;e[n+1]=(t&7)>>8-a}return r+3}function ue(e,r,t){var a=r&7,n=r>>>3;t=(t&1)<<a;e[n]|=t;return r+1}function he(e,r,t){var a=r&7,n=r>>>3;t<<=a;e[n]|=t&255;t>>>=8;e[n+1]=t;return r+8}function de(e,r,t){var a=r&7,n=r>>>3;t<<=a;e[n]|=t&255;t>>>=8;e[n+1]=t&255;e[n+2]=t>>>8;return r+16}function ve(e,r){var t=e.length,a=2*t>r?2*t:r+5,n=0;if(t>=r)return e;if(S){var i=R(a);if(e.copy)e.copy(i);else for(;n<e.length;++n)i[n]=e[n];return i}else if(ee){var s=new Uint8Array(a);if(s.set)s.set(e);else for(;n<t;++n)s[n]=e[n];return s}e.length=a;return e}function pe(e){var r=new Array(e);for(var t=0;t<e;++t)r[t]=0;return r}function me(e,r,t){var a=1,n=0,i=0,s=0,f=0,l=e.length;var o=ee?new Uint16Array(32):pe(32);for(i=0;i<32;++i)o[i]=0;for(i=l;i<t;++i)e[i]=0;l=e.length;var c=ee?new Uint16Array(l):pe(l);for(i=0;i<l;++i){o[n=e[i]]++;if(a<n)a=n;c[i]=0}o[0]=0;for(i=1;i<=a;++i)o[i+16]=f=f+o[i-1]<<1;for(i=0;i<l;++i){f=e[i];if(f!=0)c[i]=o[f+16]++}var u=0;for(i=0;i<l;++i){u=e[i];if(u!=0){f=ae(c[i],a)>>a-u;for(s=(1<<a+4-u)-1;s>=0;--s)r[f|s<<u]=u&15|i<<4}}return a}var be=ee?new Uint16Array(512):pe(512);var ge=ee?new Uint16Array(32):pe(32);if(!ee){for(var we=0;we<512;++we)be[we]=0;for(we=0;we<32;++we)ge[we]=0}(function(){var e=[];var r=0;for(;r<32;r++)e.push(5);me(e,ge,32);var t=[];r=0;for(;r<=143;r++)t.push(8);for(;r<=255;r++)t.push(9);for(;r<=279;r++)t.push(7);for(;r<=287;r++)t.push(8);me(t,be,288)})();var ke=function je(){var e=ee?new Uint8Array(32768):[];var r=0,t=0;for(;r<q.length-1;++r){for(;t<q[r+1];++t)e[t]=r}for(;t<32768;++t)e[t]=29;var a=ee?new Uint8Array(259):[];for(r=0,t=0;r<J.length-1;++r){for(;t<J[r+1];++t)a[t]=r}function n(e,r){var t=0;while(t<e.length){var a=Math.min(65535,e.length-t);var n=t+a==e.length;r._W(1,+n);r._W(2,a);r._W(2,~a&65535);while(a-- >0)r[r.l++]=e[t++]}return r.l}function i(r,t){var n=0;var i=0;var s=ee?new Uint16Array(32768):[];while(i<r.length){var f=Math.min(65535,r.length-i);if(f<10){n=ce(t,n,+!!(i+f==r.length));if(n&7)n+=8-(n&7);t.l=n/8|0;t._W(2,f);t._W(2,~f&65535);while(f-- >0)t[t.l++]=r[i++];n=t.l*8;continue}n=ce(t,n,+!!(i+f==r.length)+2);var l=0;while(f-- >0){var o=r[i];l=(l<<5^o)&32767;var c=-1,u=0;if(c=s[l]){c|=i&~32767;if(c>i)c-=32768;if(c<i)while(r[c+u]==r[i+u]&&u<250)++u}if(u>2){o=a[u];if(o<=22)n=he(t,n,re[o+1]>>1)-1;else{he(t,n,3);n+=5;he(t,n,re[o-23]>>5);n+=3}var h=o<8?0:o-4>>2;if(h>0){de(t,n,u-J[o]);n+=h}o=e[i-c];n=he(t,n,re[o]>>3);n-=3;var d=o<4?0:o-2>>1;if(d>0){de(t,n,i-c-q[o]);n+=d}for(var v=0;v<u;++v){s[l]=i&32767;l=(l<<5^r[i])&32767;++i}f-=u-1}else{if(o<=143)o=o+48;else n=ue(t,n,1);n=he(t,n,re[o]);s[l]=i&32767;++i}}n=he(t,n,0)-1}t.l=(n+7)/8|0;return t.l}return function s(e,r){if(e.length<8)return n(e,r);return i(e,r)}}();function Te(e){var r=Ea(50+Math.floor(e.length*1.1));var t=ke(e,r);return r.slice(0,t)}var ye=ee?new Uint16Array(32768):pe(32768);var Ee=ee?new Uint16Array(32768):pe(32768);var _e=ee?new Uint16Array(128):pe(128);var Se=1,xe=1;function Ae(e,r){var t=fe(e,r)+257;r+=5;var a=fe(e,r)+1;r+=5;var n=se(e,r)+4;r+=4;var i=0;var s=ee?new Uint8Array(19):pe(19);var f=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];var l=1;var o=ee?new Uint8Array(8):pe(8);var c=ee?new Uint8Array(8):pe(8);var u=s.length;for(var h=0;h<n;++h){s[Z[h]]=i=ie(e,r);if(l<i)l=i;o[i]++;r+=3}var d=0;o[0]=0;for(h=1;h<=l;++h)c[h]=d=d+o[h-1]<<1;for(h=0;h<u;++h)if((d=s[h])!=0)f[h]=c[d]++;var v=0;for(h=0;h<u;++h){v=s[h];if(v!=0){d=re[f[h]]>>8-v;for(var p=(1<<7-v)-1;p>=0;--p)_e[d|p<<v]=v&7|h<<3}}var m=[];l=1;for(;m.length<t+a;){d=_e[le(e,r)];r+=d&7;switch(d>>>=3){case 16:i=3+ne(e,r);r+=2;d=m[m.length-1];while(i-- >0)m.push(d);break;case 17:i=3+ie(e,r);r+=3;while(i-- >0)m.push(0);break;case 18:i=11+le(e,r);r+=7;while(i-- >0)m.push(0);break;default:m.push(d);if(l<d)l=d;break;}}var b=m.slice(0,t),g=m.slice(t);for(h=t;h<286;++h)b[h]=0;for(h=a;h<30;++h)g[h]=0;Se=me(b,ye,286);xe=me(g,Ee,30);return r}function Ce(e,r){if(e[0]==3&&!(e[1]&3)){return[C(r),2]}var t=0;var a=0;var n=R(r?r:1<<18);var i=0;var s=n.length>>>0;var f=0,l=0;while((a&1)==0){a=ie(e,t);t+=3;if(a>>>1==0){if(t&7)t+=8-(t&7);var o=e[t>>>3]|e[(t>>>3)+1]<<8;t+=32;if(o>0){if(!r&&s<i+o){n=ve(n,i+o);s=n.length}while(o-- >0){n[i++]=e[t>>>3];t+=8}}continue}else if(a>>1==1){f=9;l=5}else{t=Ae(e,t);f=Se;l=xe}for(;;){if(!r&&s<i+32767){n=ve(n,i+32767);s=n.length}var c=oe(e,t,f);var u=a>>>1==1?be[c]:ye[c];t+=u&15;u>>>=4;if((u>>>8&255)===0)n[i++]=u;else if(u==256)break;else{u-=257;var h=u<8?0:u-4>>2;if(h>5)h=0;var d=i+J[u];if(h>0){d+=oe(e,t,h);t+=h}c=oe(e,t,l);u=a>>>1==1?ge[c]:Ee[c];t+=u&15;u>>>=4;var v=u<4?0:u-2>>1;var p=q[u];if(v>0){p+=oe(e,t,v);t+=v}if(!r&&s<d){n=ve(n,d+100);s=n.length}while(i<d){n[i]=n[i-p];++i}}}}if(r)return[n,t+7>>>3];return[n.slice(0,i),t+7>>>3]}function Re(e,r){var t=e.slice(e.l||0);var a=Ce(t,r);e.l+=a[1];return a[0]}function Oe(e,r){if(e){if(typeof console!=="undefined")console.error(r)}else throw new Error(r)}function Ie(e,r){var t=e;Ta(t,0);var a=[],n=[];var i={FileIndex:a,FullPaths:n};E(i,{root:r.root});var f=t.length-4;while((t[f]!=80||t[f+1]!=75||t[f+2]!=5||t[f+3]!=6)&&f>=0)--f;t.l=f+4;t.l+=4;var l=t._R(2);t.l+=6;var o=t._R(4);t.l=o;for(f=0;f<l;++f){t.l+=20;var c=t._R(4);var u=t._R(4);var h=t._R(2);var d=t._R(2);var v=t._R(2);t.l+=8;var p=t._R(4);var m=s(t.slice(t.l+h,t.l+h+d));t.l+=h+d+v;var b=t.l;t.l=p+4;if(m&&m[1]){if((m[1]||{}).usz)u=m[1].usz;if((m[1]||{}).csz)c=m[1].csz}Ne(t,c,u,i,m);t.l=b}return i}function Ne(e,r,t,a,n){e.l+=2;var f=e._R(2);var l=e._R(2);var o=i(e);if(f&8257)throw new Error("Unsupported ZIP encryption");var c=e._R(4);var u=e._R(4);var h=e._R(4);var d=e._R(2);var v=e._R(2);var p="";for(var m=0;m<d;++m)p+=String.fromCharCode(e[e.l++]);if(v){var b=s(e.slice(e.l,e.l+v));if((b[21589]||{}).mt)o=b[21589].mt;if((b[1]||{}).usz)h=b[1].usz;if((b[1]||{}).csz)u=b[1].csz;if(n){if((n[21589]||{}).mt)o=n[21589].mt;if((n[1]||{}).usz)h=b[1].usz;if((n[1]||{}).csz)u=b[1].csz}}e.l+=v;var g=e.slice(e.l,e.l+u);switch(l){case 8:g=K(e,h);break;case 0:break;default:throw new Error("Unsupported ZIP Compression method "+l);}var w=false;if(f&8){c=e._R(4);if(c==134695760){c=e._R(4);w=true}u=e._R(4);h=e._R(4)}if(u!=r)Oe(w,"Bad compressed size: "+r+" != "+u);if(h!=t)Oe(w,"Bad uncompressed size: "+t+" != "+h);Ve(a,p,g,{unsafe:true,mt:o})}function Fe(e,r){var t=r||{};var a=[],i=[];var s=Ea(1);var f=t.compression?8:0,l=0;var o=false;if(o)l|=8;var c=0,u=0;var h=0,d=0;var v=e.FullPaths[0],p=v,m=e.FileIndex[0];var b=[];var g=0;for(c=1;c<e.FullPaths.length;++c){p=e.FullPaths[c].slice(v.length);m=e.FileIndex[c];if(!m.size||!m.content||p=="Sh33tJ5")continue;var w=h;var k=Ea(p.length);for(u=0;u<p.length;++u)k._W(1,p.charCodeAt(u)&127);k=k.slice(0,k.l);b[d]=typeof m.content=="string"?qe.bstr(m.content,0):qe.buf(m.content,0);var T=typeof m.content=="string"?O(m.content):m.content;if(f==8)T=Y(T);s=Ea(30);s._W(4,67324752);s._W(2,20);s._W(2,l);s._W(2,f);if(m.mt)n(s,m.mt);else s._W(4,0);s._W(-4,l&8?0:b[d]);s._W(4,l&8?0:T.length);s._W(4,l&8?0:m.content.length);s._W(2,k.length);s._W(2,0);h+=s.length;a.push(s);h+=k.length;a.push(k);h+=T.length;a.push(T);if(l&8){s=Ea(12);s._W(-4,b[d]);s._W(4,T.length);s._W(4,m.content.length);h+=s.l;a.push(s)}s=Ea(46);s._W(4,33639248);s._W(2,0);s._W(2,20);s._W(2,l);s._W(2,f);s._W(4,0);s._W(-4,b[d]);s._W(4,T.length);s._W(4,m.content.length);s._W(2,k.length);s._W(2,0);s._W(2,0);s._W(2,0);s._W(2,0);s._W(4,0);s._W(4,w);g+=s.l;i.push(s);g+=k.length;i.push(k);++d}s=Ea(22);s._W(4,101010256);s._W(2,0);s._W(2,0);s._W(2,d);s._W(2,d);s._W(4,g);s._W(4,h);s._W(2,0);return P([P(a),P(i),s])}var De={htm:"text/html",xml:"text/xml",gif:"image/gif",jpg:"image/jpeg",png:"image/png",mso:"application/x-mso",thmx:"application/vnd.ms-officetheme",sh33tj5:"application/octet-stream"};function Pe(e,r){if(e.ctype)return e.ctype;var t=e.name||"",a=t.match(/\.([^\.]+)$/);if(a&&De[a[1]])return De[a[1]];if(r){a=(t=r).match(/[\.\\]([^\.\\])+$/);if(a&&De[a[1]])return De[a[1]]}return"application/octet-stream"}function Le(e){var r=T(e);var t=[];for(var a=0;a<r.length;a+=76)t.push(r.slice(a,a+76));return t.join("\r\n")+"\r\n"}function Me(e){var r=e.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF=]/g,function(e){var r=e.charCodeAt(0).toString(16).toUpperCase();return"="+(r.length==1?"0"+r:r)});r=r.replace(/ $/gm,"=20").replace(/\t$/gm,"=09");if(r.charAt(0)=="\n")r="=0D"+r.slice(1);r=r.replace(/\r(?!\n)/gm,"=0D").replace(/\n\n/gm,"\n=0A").replace(/([^\r\n])\n/gm,"$1=0A");var t=[],a=r.split("\r\n");for(var n=0;n<a.length;++n){var i=a[n];if(i.length==0){t.push("");continue}for(var s=0;s<i.length;){var f=76;var l=i.slice(s,s+f);if(l.charAt(f-1)=="=")f--;else if(l.charAt(f-2)=="=")f-=2;else if(l.charAt(f-3)=="=")f-=3;l=i.slice(s,s+f);s+=f;if(s<i.length)l+="=";t.push(l)}}return t.join("\r\n")}function Ue(e){var r=[];for(var t=0;t<e.length;++t){var a=e[t];while(t<=e.length&&a.charAt(a.length-1)=="=")a=a.slice(0,a.length-1)+e[++t];r.push(a)}for(var n=0;n<r.length;++n)r[n]=r[n].replace(/[=][0-9A-Fa-f]{2}/g,function(e){return String.fromCharCode(parseInt(e.slice(1),16))});return O(r.join("\r\n"))}function Be(e,r,t){var a="",n="",i="",s;var f=0;for(;f<10;++f){var l=r[f];if(!l||l.match(/^\s*$/))break;var o=l.match(/^(.*?):\s*([^\s].*)$/);if(o)switch(o[1].toLowerCase()){case"content-location":a=o[2].trim();break;case"content-type":i=o[2].trim();break;case"content-transfer-encoding":n=o[2].trim();break;}}++f;switch(n.toLowerCase()){case"base64":s=O(_(r.slice(f).join("")));break;case"quoted-printable":s=Ue(r.slice(f));break;default:throw new Error("Unsupported Content-Transfer-Encoding "+n);}var c=Ve(e,a.slice(t.length),s,{unsafe:true});if(i)c.ctype=i}function We(e,r){if($(e.slice(0,13)).toLowerCase()!="mime-version:")throw new Error("Unsupported MAD header");var t=r&&r.root||"";var a=(S&&Buffer.isBuffer(e)?e.toString("binary"):$(e)).split("\r\n");var n=0,i="";for(n=0;n<a.length;++n){i=a[n];if(!/^Content-Location:/i.test(i))continue;i=i.slice(i.indexOf("file"));if(!t)t=i.slice(0,i.lastIndexOf("/")+1);if(i.slice(0,t.length)==t)continue;while(t.length>0){t=t.slice(0,t.length-1);t=t.slice(0,t.lastIndexOf("/")+1);if(i.slice(0,t.length)==t)break}}var s=(a[1]||"").match(/boundary="(.*?)"/);if(!s)throw new Error("MAD cannot find boundary");var f="--"+(s[1]||"");var l=[],o=[];var c={FileIndex:l,FullPaths:o};E(c);var u,h=0;for(n=0;n<a.length;++n){var d=a[n];if(d!==f&&d!==f+"--")continue;if(h++)Be(c,a.slice(u,n),t);u=n}return c}function ze(e,r){var t=r||{};var a=t.boundary||"SheetJS";a="------="+a;var n=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+a.slice(2)+'"',"","",""];var i=e.FullPaths[0],s=i,f=e.FileIndex[0];for(var l=1;l<e.FullPaths.length;++l){s=e.FullPaths[l].slice(i.length);f=e.FileIndex[l];if(!f.size||!f.content||s=="Sh33tJ5")continue;s=s.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF]/g,function(e){return"_x"+e.charCodeAt(0).toString(16)+"_"}).replace(/[\u0080-\uFFFF]/g,function(e){return"_u"+e.charCodeAt(0).toString(16)+"_"});var o=f.content;var c=S&&Buffer.isBuffer(o)?o.toString("binary"):$(o);var u=0,h=Math.min(1024,c.length),d=0;for(var v=0;v<=h;++v)if((d=c.charCodeAt(v))>=32&&d<128)++u;var p=u>=h*4/5;n.push(a);n.push("Content-Location: "+(t.root||"file:///C:/SheetJS/")+s);n.push("Content-Transfer-Encoding: "+(p?"quoted-printable":"base64"));n.push("Content-Type: "+Pe(f,s));n.push("");n.push(p?Me(c):Le(c))}n.push(a+"--\r\n");return n.join("\r\n")}function He(e){var r={};E(r,e);return r}function Ve(e,r,t,n){var i=n&&n.unsafe;if(!i)E(e);var s=!i&&Qe.find(e,r);if(!s){var f=e.FullPaths[0];if(r.slice(0,f.length)==f)f=r;else{if(f.slice(-1)!="/")f+="/";f=(f+r).replace("//","/")}s={name:a(r),type:2};e.FileIndex.push(s);e.FullPaths.push(f);if(!i)Qe.utils.cfb_gc(e)}s.content=t;s.size=t?t.length:0;if(n){if(n.CLSID)s.clsid=n.CLSID;if(n.mt)s.mt=n.mt;if(n.ct)s.ct=n.ct}return s}function $e(e,r){E(e);var t=Qe.find(e,r);if(t)for(var a=0;a<e.FileIndex.length;++a)if(e.FileIndex[a]==t){e.FileIndex.splice(a,1);e.FullPaths.splice(a,1);return true}return false}function Xe(e,r,t){E(e);var n=Qe.find(e,r);if(n)for(var i=0;i<e.FileIndex.length;++i)if(e.FileIndex[i]==n){e.FileIndex[i].name=a(t);e.FullPaths[i]=t;return true}return false}function Ge(e){I(e,true)}e.find=F;e.read=y;e.parse=o;e.write=X;e.writeFile=V;e.utils={cfb_new:He,cfb_add:Ve,cfb_del:$e,cfb_mov:Xe,cfb_gc:Ge,ReadShift:pa,CheckField:ka,prep_blob:Ta,bconcat:P,use_zlib:j,_deflateRaw:Te,_inflateRaw:Re,consts:H};return e}();var er;function rr(e){er=e}function tr(e){if(typeof e==="string")return I(e);if(Array.isArray(e))return F(e);return e}function ar(e,r,t){if(typeof er!=="undefined"&&er.writeFileSync)return t?er.writeFileSync(e,r,t):er.writeFileSync(e,r);if(typeof Deno!=="undefined"){if(t&&typeof r=="string")switch(t){case"utf8":r=new TextEncoder(t).encode(r);break;case"binary":r=I(r);break;default:throw new Error("Unsupported encoding "+t);}return Deno.writeFileSync(e,r)}var a=t=="utf8"?Tt(r):r;if(typeof IE_SaveFile!=="undefined")return IE_SaveFile(a,e);if(typeof Blob!=="undefined"){var n=new Blob([tr(a)],{type:"application/octet-stream"});if(typeof navigator!=="undefined"&&navigator.msSaveBlob)return navigator.msSaveBlob(n,e);if(typeof saveAs!=="undefined")return saveAs(n,e);if(typeof URL!=="undefined"&&typeof document!=="undefined"&&document.createElement&&URL.createObjectURL){var i=URL.createObjectURL(n);if(typeof chrome==="object"&&typeof(chrome.downloads||{}).download=="function"){if(URL.revokeObjectURL&&typeof setTimeout!=="undefined")setTimeout(function(){URL.revokeObjectURL(i)},6e4);return chrome.downloads.download({url:i,filename:e,saveAs:true})}var s=document.createElement("a");if(s.download!=null){s.download=e;s.href=i;document.body.appendChild(s);s.click();document.body.removeChild(s);if(URL.revokeObjectURL&&typeof setTimeout!=="undefined")setTimeout(function(){URL.revokeObjectURL(i)},6e4);return i}}else if(typeof URL!=="undefined"&&!URL.createObjectURL&&typeof chrome==="object"){var f="data:application/octet-stream;base64,"+E(new Uint8Array(tr(a)));return chrome.downloads.download({url:f,filename:e,saveAs:true})}}if(typeof $!=="undefined"&&typeof File!=="undefined"&&typeof Folder!=="undefined")try{var l=File(e);l.open("w");l.encoding="binary";if(Array.isArray(r))r=N(r);l.write(r);l.close();return r}catch(o){if(!o.message||!o.message.match(/onstruct/))throw o}throw new Error("cannot save file "+e)}function nr(e){if(typeof er!=="undefined")return er.readFileSync(e);if(typeof Deno!=="undefined")return Deno.readFileSync(e);if(typeof $!=="undefined"&&typeof File!=="undefined"&&typeof Folder!=="undefined")try{ -var r=File(e);r.open("r");r.encoding="binary";var t=r.read();r.close();return t}catch(a){if(!a.message||!a.message.match(/onstruct/))throw a}throw new Error("Cannot access file "+e)}function ir(e){var r=Object.keys(e),t=[];for(var a=0;a<r.length;++a)if(Object.prototype.hasOwnProperty.call(e,r[a]))t.push(r[a]);return t}function sr(e,r){var t=[],a=ir(e);for(var n=0;n!==a.length;++n)if(t[e[a[n]][r]]==null)t[e[a[n]][r]]=a[n];return t}function fr(e){var r=[],t=ir(e);for(var a=0;a!==t.length;++a)r[e[t[a]]]=t[a];return r}function lr(e){var r=[],t=ir(e);for(var a=0;a!==t.length;++a)r[e[t[a]]]=parseInt(t[a],10);return r}function or(e){var r=[],t=ir(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 cr=Date.UTC(1899,11,30,0,0,0);var ur=Date.UTC(1899,11,31,0,0,0);var hr=Date.UTC(1904,0,1,0,0,0);function dr(e,r){var t=e.getTime();var a=(t-cr)/(24*60*60*1e3);if(r){a-=1462;return a<-1402?a-1:a}return a<60?a-1:a}function vr(e){if(e>=60&&e<61)return e;var r=new Date;r.setTime((e>60?e:e+1)*24*60*60*1e3+cr);return r}function pr(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].slice(n[i].length-1)){case"Y":throw new Error("Unsupported ISO Duration Field: "+n[i].slice(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 mr=/^(\d+):(\d+)(:\d+)?(\.\d+)?$/;var br=/^(\d+)-(\d+)-(\d+)$/;var gr=/^(\d+)-(\d+)-(\d+)[T ](\d+):(\d+)(:\d+)?(\.\d+)?$/;function wr(e,r){if(e instanceof Date)return e;var t=e.match(mr);if(t)return new Date((r?hr:ur)+((parseInt(t[1],10)*60+parseInt(t[2],10))*60+(t[3]?parseInt(t[3].slice(1),10):0))*1e3+(t[4]?parseInt((t[4]+"000").slice(1,4),10):0));t=e.match(br);if(t)return new Date(Date.UTC(+t[1],+t[2]-1,+t[3],0,0,0,0));t=e.match(gr);if(t)return new Date(Date.UTC(+t[1],+t[2]-1,+t[3],+t[4],+t[5],t[6]&&parseInt(t[6].slice(1),10)||0,t[7]&&parseInt(t[7].slice(1),10)||0));var a=new Date(e);return a}function kr(e,r){if(S&&Buffer.isBuffer(e)){if(r&&A){if(e[0]==255&&e[1]==254)return Tt(e.slice(2).toString("utf16le"));if(e[1]==254&&e[2]==255)return Tt(d(e.slice(2).toString("binary")))}return e.toString("binary")}if(typeof TextDecoder!=="undefined")try{if(r){if(e[0]==255&&e[1]==254)return Tt(new TextDecoder("utf-16le").decode(e.slice(2)));if(e[0]==254&&e[1]==255)return Tt(new TextDecoder("utf-16be").decode(e.slice(2)))}var t={"€":"€","‚":"‚","ƒ":"ƒ","„":"„","…":"…","†":"†","‡":"‡","ˆ":"ˆ","‰":"‰","Š":"Š","‹":"‹","Œ":"Œ","Ž":"Ž","‘":"‘","’":"’","“":"“","”":"”","•":"•","–":"–","—":"—","˜":"˜","™":"™","š":"š","›":"›","œ":"œ","ž":"ž","Ÿ":"Ÿ"};if(Array.isArray(e))e=new Uint8Array(e);return new TextDecoder("latin1").decode(e).replace(/[€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ]/g,function(e){return t[e]||e})}catch(a){}var n=[],i=0;try{for(i=0;i<e.length-65536;i+=65536)n.push(String.fromCharCode.apply(0,e.slice(i,i+65536)));n.push(String.fromCharCode.apply(0,e.slice(i)))}catch(a){try{for(;i<e.length-16384;i+=16384)n.push(String.fromCharCode.apply(0,e.slice(i,i+16384)));n.push(String.fromCharCode.apply(0,e.slice(i)))}catch(a){for(;i!=e.length;++i)n.push(String.fromCharCode(e[i]))}}return n.join("")}function Tr(e){if(typeof JSON!="undefined"&&!Array.isArray(e))return JSON.parse(JSON.stringify(e));if(typeof e!="object"||e==null)return e;if(e instanceof Date)return new Date(e.getTime());var r={};for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))r[t]=Tr(e[t]);return r}function yr(e,r){var t="";while(t.length<r)t+=e;return t}function Er(e){var r=Number(e);if(!isNaN(r))return isFinite(r)?r:NaN;if(!/\d/.test(e))return r;var t=1;var a=e.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g,function(){t*=100;return""});if(!isNaN(r=Number(a)))return r/t;a=a.replace(/[(](.*)[)]/,function(e,r){t=-t;return r});if(!isNaN(r=Number(a)))return r/t;return r}var _r=/^(0?\d|1[0-2])(?:|:([0-5]?\d)(?:|(\.\d+)(?:|:([0-5]?\d))|:([0-5]?\d)(|\.\d+)))\s+([ap])m?$/;var Sr=/^([01]?\d|2[0-3])(?:|:([0-5]?\d)(?:|(\.\d+)(?:|:([0-5]?\d))|:([0-5]?\d)(|\.\d+)))$/;var xr=/^(\d+)-(\d+)-(\d+)[T ](\d+):(\d+)(:\d+)(\.\d+)?[Z]?$/;var Ar=new Date("6/9/69 00:00 UTC").valueOf()==-177984e5;function Cr(e){if(!e[2])return new Date(Date.UTC(1899,11,31,+e[1]%12+(e[7]=="p"?12:0),0,0,0));if(e[3]){if(e[4])return new Date(Date.UTC(1899,11,31,+e[1]%12+(e[7]=="p"?12:0),+e[2],+e[4],parseFloat(e[3])*1e3));else return new Date(Date.UTC(1899,11,31,e[7]=="p"?12:0,+e[1],+e[2],parseFloat(e[3])*1e3))}else if(e[5])return new Date(Date.UTC(1899,11,31,+e[1]%12+(e[7]=="p"?12:0),+e[2],+e[5],e[6]?parseFloat(e[6])*1e3:0));else return new Date(Date.UTC(1899,11,31,+e[1]%12+(e[7]=="p"?12:0),+e[2],0,0))}function Rr(e){if(!e[2])return new Date(Date.UTC(1899,11,31,+e[1],0,0,0));if(e[3]){if(e[4])return new Date(Date.UTC(1899,11,31,+e[1],+e[2],+e[4],parseFloat(e[3])*1e3));else return new Date(Date.UTC(1899,11,31,0,+e[1],+e[2],parseFloat(e[3])*1e3))}else if(e[5])return new Date(Date.UTC(1899,11,31,+e[1],+e[2],+e[5],e[6]?parseFloat(e[6])*1e3:0));else return new Date(Date.UTC(1899,11,31,+e[1],+e[2],0,0))}var Or=["january","february","march","april","may","june","july","august","september","october","november","december"];function Ir(e){if(xr.test(e))return e.indexOf("Z")==-1?Dr(new Date(e)):new Date(e);var r=e.toLowerCase();var t=r.replace(/\s+/g," ").trim();var a=t.match(_r);if(a)return Cr(a);a=t.match(Sr);if(a)return Rr(a);a=t.match(gr);if(a)return new Date(Date.UTC(+a[1],+a[2]-1,+a[3],+a[4],+a[5],a[6]&&parseInt(a[6].slice(1),10)||0,a[7]&&parseInt(a[7].slice(1),10)||0));var n=new Date(Ar&&e.indexOf("UTC")==-1?e+" UTC":e),i=new Date(NaN);var s=n.getYear(),f=n.getMonth(),l=n.getDate();if(isNaN(l))return i;if(r.match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/)){r=r.replace(/[^a-z]/g,"").replace(/([^a-z]|^)[ap]m?([^a-z]|$)/,"");if(r.length>3&&Or.indexOf(r)==-1)return i}else if(r.replace(/[ap]m?/,"").match(/[a-z]/))return i;if(s<0||s>8099||e.match(/[^-0-9:,\/\\\ ]/))return i;return n}var Nr=function(){var e="abacaba".split(/(:?b)/i).length==5;return function r(t,a,n){if(e||typeof a=="string")return t.split(a);var i=t.split(a),s=[i[0]];for(var f=1;f<i.length;++f){s.push(n);s.push(i[f])}return s}}();function Fr(e){return new Date(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds())}function Dr(e){return new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()))}function Pr(e){if(!e)return null;if(e.content&&e.type)return kr(e.content,true);if(e.data)return v(e.data);if(e.asNodeBuffer&&S)return v(e.asNodeBuffer().toString("binary"));if(e.asBinary)return v(e.asBinary());if(e._data&&e._data.getContent)return v(kr(Array.prototype.slice.call(e._data.getContent(),0)));return null}function Lr(e){if(!e)return null;if(e.data)return c(e.data);if(e.asNodeBuffer&&S)return e.asNodeBuffer();if(e._data&&e._data.getContent){var r=e._data.getContent();if(typeof r=="string")return c(r);return Array.prototype.slice.call(r)}if(e.content&&e.type)return e.content;return null}function Mr(e){return e&&e.name.slice(-4)===".bin"?Lr(e):Pr(e)}function Ur(e,r){var t=e.FullPaths||ir(e.files);var a=r.toLowerCase().replace(/[\/]/g,"\\"),n=a.replace(/\\/g,"/");for(var i=0;i<t.length;++i){var s=t[i].replace(/^Root Entry[\/]/,"").toLowerCase();if(a==s||n==s)return e.files?e.files[t[i]]:e.FileIndex[i]}return null}function Br(e,r){var t=Ur(e,r);if(t==null)throw new Error("Cannot find file "+r+" in zip");return t}function Wr(e,r,t){if(!t)return Mr(Br(e,r));if(!r)return null;try{return Wr(e,r)}catch(a){return null}}function zr(e,r,t){if(!t)return Pr(Br(e,r));if(!r)return null;try{return zr(e,r)}catch(a){return null}}function Hr(e,r,t){if(!t)return Lr(Br(e,r));if(!r)return null;try{return Hr(e,r)}catch(a){return null}}function Vr(e){var r=e.FullPaths||ir(e.files),t=[];for(var a=0;a<r.length;++a)if(r[a].slice(-1)!="/")t.push(r[a].replace(/^Root Entry[\/]/,""));return t.sort()}function $r(e,r,t){if(e.FullPaths){if(typeof t=="string"){var a;if(S)a=x(t);else a=L(t);return Qe.utils.cfb_add(e,r,a)}Qe.utils.cfb_add(e,r,t)}else e.file(r,t)}function Xr(){return Qe.utils.cfb_new()}function Gr(e,r){switch(r.type){case"base64":return Qe.read(e,{type:"base64"});case"binary":return Qe.read(e,{type:"binary"});case"buffer":;case"array":return Qe.read(e,{type:"buffer"});}throw new Error("Unrecognized type "+r.type)}function jr(e,r){if(e.charAt(0)=="/")return e.slice(1);var t=r.split("/");if(r.slice(-1)!="/")t.pop();var a=e.split("/");while(a.length!==0){var n=a.shift();if(n==="..")t.pop();else if(n!==".")t.push(n)}return t.join("/")}var Kr='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r\n';var Yr=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g;var Zr=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/gm,Jr=/<[^>]*>/g;var qr=Kr.match(Zr)?Zr:Jr;var Qr=/<\w*:/,et=/<(\/?)\w+:/;function rt(e,r,t){var a={};var n=0,i=0;for(;n!==e.length;++n)if((i=e.charCodeAt(n))===32||i===10||i===13)break;if(!r)a[0]=e.slice(0,n);if(n===e.length)return a;var s=e.match(Yr),f=0,l="",o=0,c="",u="",h=1;if(s)for(o=0;o!=s.length;++o){u=s[o];for(i=0;i!=u.length;++i)if(u.charCodeAt(i)===61)break;c=u.slice(0,i).trim();while(u.charCodeAt(i+1)==32)++i;h=(n=u.charCodeAt(i+1))==34||n==39?1:0;l=u.slice(i+1+h,u.length-h);for(f=0;f!=c.length;++f)if(c.charCodeAt(f)===58)break;if(f===c.length){if(c.indexOf("_")>0)c=c.slice(0,c.indexOf("_"));a[c]=l;if(!t)a[c.toLowerCase()]=l}else{var d=(f===5&&c.slice(0,5)==="xmlns"?"xmlns":"")+c.slice(f+1);if(a[d]&&c.slice(f-3,f)=="ext")continue;a[d]=l;if(!t)a[d.toLowerCase()]=l}}return a}function tt(e){return e.replace(et,"<$1")}var at={""":'"',"'":"'",">":">","<":"<","&":"&"};var nt=fr(at);var it=function(){var e=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/gi,r=/_x([\da-fA-F]{4})_/gi;function t(a){var n=a+"",i=n.indexOf("<![CDATA[");if(i==-1)return n.replace(e,function(e,r){return at[e]||String.fromCharCode(parseInt(r,e.indexOf("x")>-1?16:10))||e}).replace(r,function(e,r){return String.fromCharCode(parseInt(r,16))});var s=n.indexOf("]]>");return t(n.slice(0,i))+n.slice(i+9,s)+t(n.slice(s+3))}return function a(e,r){var a=t(e);return r?a.replace(/\r\n/g,"\n"):a}}();var st=/[&<>'"]/g,ft=/[\u0000-\u0008\u000b-\u001f\uFFFE-\uFFFF]/g;function lt(e){var r=e+"";return r.replace(st,function(e){return nt[e]}).replace(ft,function(e){return"_x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+"_"})}function ot(e){return lt(e).replace(/ /g,"_x0020_")}var ct=/[\u0000-\u001f]/g;function ut(e){var r=e+"";return r.replace(st,function(e){return nt[e]}).replace(/\n/g,"<br/>").replace(ct,function(e){return"&#x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+";"})}function ht(e){var r=e+"";return r.replace(st,function(e){return nt[e]}).replace(ct,function(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"})}var dt=function(){var e=/&#(\d+);/g;function r(e,r){return String.fromCharCode(parseInt(r,10))}return function t(a){return a.replace(e,r)}}();function vt(e){return e.replace(/(\r\n|[\r\n])/g," ")}function pt(e){switch(e){case 1:;case true:;case"1":;case"true":return true;case 0:;case false:;case"0":;case"false":return false;}return false}function mt(e){var r="",t=0,a=0,n=0,i=0,s=0,f=0;while(t<e.length){a=e.charCodeAt(t++);if(a<128){r+=String.fromCharCode(a);continue}n=e.charCodeAt(t++);if(a>191&&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}function bt(e){var r=C(2*e.length),t,a,n=1,i=0,s=0,f;for(a=0;a<e.length;a+=n){n=1;if((f=e.charCodeAt(a))<128)t=f;else if(f<224){t=(f&31)*64+(e.charCodeAt(a+1)&63);n=2}else if(f<240){t=(f&15)*4096+(e.charCodeAt(a+1)&63)*64+(e.charCodeAt(a+2)&63);n=3}else{n=4;t=(f&7)*262144+(e.charCodeAt(a+1)&63)*4096+(e.charCodeAt(a+2)&63)*64+(e.charCodeAt(a+3)&63);t-=65536;s=55296+(t>>>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")}function gt(e){return x(e,"binary").toString("utf8")}var wt="foo bar baz☃🍣";var kt=S&&(gt(wt)==mt(wt)&>||bt(wt)==mt(wt)&&bt)||mt;var Tt=S?function(e){return x(e,"utf8").toString("binary")}:function(e){var r=[],t=0,a=0,n=0;while(t<e.length){a=e.charCodeAt(t++);switch(true){case a<128:r.push(String.fromCharCode(a));break;case a<2048:r.push(String.fromCharCode(192+(a>>6)));r.push(String.fromCharCode(128+(a&63)));break;case a>=55296&&a<57344:a-=55296;n=e.charCodeAt(t++)-56320+(a<<10);r.push(String.fromCharCode(240+(n>>18&7)));r.push(String.fromCharCode(144+(n>>12&63)));r.push(String.fromCharCode(128+(n>>6&63)));r.push(String.fromCharCode(128+(n&63)));break;default:r.push(String.fromCharCode(224+(a>>12)));r.push(String.fromCharCode(128+(a>>6&63)));r.push(String.fromCharCode(128+(a&63)));}}return r.join("")};var yt=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]*?)</(?:\\w+:)?'+t+">",a||"")}}();var Et=function(){var e=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map(function(e){return[new RegExp("&"+e[0]+";","ig"),e[1]]});return function r(t){var a=t.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+</g,"<").replace(/[\t\n\r ]+/g," ").replace(/<\s*[bB][rR]\s*\/?>/g,"\n").replace(/<[^>]*>/g,"");for(var n=0;n<e.length;++n)a=a.replace(e[n][0],e[n][1]);return a}}();var _t=function(){var e={};return function r(t){if(e[t]!==undefined)return e[t];return e[t]=new RegExp("<(?:vt:)?"+t+">([\\s\\S]*?)</(?:vt:)?"+t+">","g")}}();var St=/<\/?(?:vt:)?variant>/g,xt=/<(?:vt:)([^>]*)>([\s\S]*)</;function At(e,r){var t=rt(e);var a=e.match(_t(t.baseType))||[];var n=[];if(a.length!=t.size){if(r.WTF)throw new Error("unexpected vector length "+a.length+" != "+t.size);return n}a.forEach(function(e){var r=e.replace(St,"").match(xt);if(r)n.push({v:kt(r[2]),t:r[1]})});return n}var Ct=/(^\s|\s$|\n)/;function Rt(e,r){return"<"+e+(r.match(Ct)?' xml:space="preserve"':"")+">"+r+"</"+e+">"}function Ot(e){return ir(e).map(function(r){return" "+r+'="'+e[r]+'"'}).join("")}function It(e,r,t){return"<"+e+(t!=null?Ot(t):"")+(r!=null?(r.match(Ct)?' xml:space="preserve"':"")+">"+r+"</"+e:"/")+">"}function Nt(e,r){try{return e.toISOString().replace(/\.\d*/,"")}catch(t){if(r)throw t}return""}function Ft(e,r){switch(typeof e){case"string":var t=It("vt:lpwstr",lt(e));if(r)t=t.replace(/"/g,"_x0022_");return t;case"number":return It((e|0)==e?"vt:i4":"vt:r8",lt(String(e)));case"boolean":return It("vt:bool",e?"true":"false");}if(e instanceof Date)return It("vt:filetime",Nt(e));throw new Error("Unable to serialize "+e)}function Dt(e){if(S&&Buffer.isBuffer(e))return e.toString("utf8");if(typeof e==="string")return e;if(typeof Uint8Array!=="undefined"&&e instanceof Uint8Array)return kt(N(D(e)));throw new Error("Bad input format: expected Buffer or string")}var Pt=/<(\/?)([^\s?><!\/:]*:|)([^\s?<>:\/]+)(?:[\s?:\/](?:[^>=]|="[^"]*?")*)?>/gm;var Lt={CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",CT:"http://schemas.openxmlformats.org/package/2006/content-types",RELS:"http://schemas.openxmlformats.org/package/2006/relationships",TCMNT:"http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments",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"};var Mt=["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 Ut={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 Bt(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 Wt(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 if(s==0)n=i=0;else{n=Math.floor(Math.log(s)/Math.LN2);i=s*Math.pow(2,52-n);if(n<=-1023&&(!isFinite(i)||i<Math.pow(2,52))){n=-1022}else{i-=Math.pow(2,52);n+=1023}}for(var f=0;f<=5;++f,i/=256)e[t+f]=i&255;e[t+6]=(n&15)<<4|i&15;e[t+7]=n>>4|a}var zt=function(e){var r=[],t=10240;for(var a=0;a<e[0].length;++a)if(e[0][a])for(var n=0,i=e[0][a].length;n<i;n+=t)r.push.apply(r,e[0][a].slice(n,n+t));return r};var Ht=S?function(e){return e[0].length>0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0].map(function(e){return Buffer.isBuffer(e)?e:x(e)})):zt(e)}:zt;var Vt=function(e,r,t){var a=[];for(var n=r;n<t;n+=2)a.push(String.fromCharCode(ca(e,n)));return a.join("").replace(M,"")};var $t=S?function(e,r,t){if(!Buffer.isBuffer(e)||!A)return Vt(e,r,t);return e.toString("utf16le",r,t).replace(M,"")}:Vt;var Xt=function(e,r,t){var a=[];for(var n=r;n<r+t;++n)a.push(("0"+e[n].toString(16)).slice(-2));return a.join("")};var Gt=S?function(e,r,t){return Buffer.isBuffer(e)?e.toString("hex",r,r+t):Xt(e,r,t)}:Xt;var jt=function(e,r,t){var a=[];for(var n=r;n<t;n++)a.push(String.fromCharCode(oa(e,n)));return a.join("")};var Kt=S?function vT(e,r,t){return Buffer.isBuffer(e)?e.toString("utf8",r,t):jt(e,r,t)}:jt;var Yt=function(e,r){var t=ha(e,r);return t>0?Kt(e,r+4,r+4+t-1):""};var Zt=Yt;var Jt=function(e,r){var t=ha(e,r);return t>0?Kt(e,r+4,r+4+t-1):""};var qt=Jt;var Qt=function(e,r){var t=2*ha(e,r);return t>0?Kt(e,r+4,r+4+t-1):""};var ea=Qt;var ra=function pT(e,r){var t=ha(e,r);return t>0?$t(e,r+4,r+4+t):""};var ta=ra;var aa=function(e,r){var t=ha(e,r);return t>0?Kt(e,r+4,r+4+t):""};var na=aa;var ia=function(e,r){return Bt(e,r)};var sa=ia;var fa=function mT(e){return Array.isArray(e)||typeof Uint8Array!=="undefined"&&e instanceof Uint8Array};if(S){Zt=function bT(e,r){if(!Buffer.isBuffer(e))return Yt(e,r);var t=e.readUInt32LE(r);return t>0?e.toString("utf8",r+4,r+4+t-1):""};qt=function gT(e,r){if(!Buffer.isBuffer(e))return Jt(e,r);var t=e.readUInt32LE(r);return t>0?e.toString("utf8",r+4,r+4+t-1):""};ea=function wT(e,r){if(!Buffer.isBuffer(e)||!A)return Qt(e,r);var t=2*e.readUInt32LE(r);return e.toString("utf16le",r+4,r+4+t-1)};ta=function kT(e,r){if(!Buffer.isBuffer(e)||!A)return ra(e,r);var t=e.readUInt32LE(r);return e.toString("utf16le",r+4,r+4+t)};na=function TT(e,r){if(!Buffer.isBuffer(e))return aa(e,r);var t=e.readUInt32LE(r);return e.toString("utf8",r+4,r+4+t)};sa=function yT(e,r){if(Buffer.isBuffer(e))return e.readDoubleLE(r);return ia(e,r)};fa=function ET(e){return Buffer.isBuffer(e)||Array.isArray(e)||typeof Uint8Array!=="undefined"&&e instanceof Uint8Array}}function la(){$t=function(e,r,t){return a.utils.decode(1200,e.slice(r,t)).replace(M,"")};Kt=function(e,r,t){return a.utils.decode(65001,e.slice(r,t))};Zt=function(e,r){var n=ha(e,r);return n>0?a.utils.decode(t,e.slice(r+4,r+4+n-1)):""};qt=function(e,t){var n=ha(e,t);return n>0?a.utils.decode(r,e.slice(t+4,t+4+n-1)):""};ea=function(e,r){var t=2*ha(e,r);return t>0?a.utils.decode(1200,e.slice(r+4,r+4+t-1)):""};ta=function(e,r){var t=ha(e,r);return t>0?a.utils.decode(1200,e.slice(r+4,r+4+t)):""};na=function(e,r){var t=ha(e,r);return t>0?a.utils.decode(65001,e.slice(r+4,r+4+t)):""}}if(typeof a!=="undefined")la();var oa=function(e,r){return e[r]};var ca=function(e,r){return e[r+1]*(1<<8)+e[r]};var ua=function(e,r){var t=e[r+1]*(1<<8)+e[r];return t<32768?t:(65535-t+1)*-1};var ha=function(e,r){return e[r+3]*(1<<24)+(e[r+2]<<16)+(e[r+1]<<8)+e[r]};var da=function(e,r){return e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]};var va=function(e,r){return e[r]<<24|e[r+1]<<16|e[r+2]<<8|e[r+3]};function pa(e,t){var n="",i,s,f=[],l,o,c,u;switch(t){case"dbcs":u=this.l;if(S&&Buffer.isBuffer(this)&&A)n=this.slice(this.l,this.l+2*e).toString("utf16le");else for(c=0;c<e;++c){n+=String.fromCharCode(ca(this,u));u+=2}e*=2;break;case"utf8":n=Kt(this,this.l,this.l+e);break;case"utf16le":e*=2;n=$t(this,this.l,this.l+e);break;case"wstr":if(typeof a!=="undefined")n=a.utils.decode(r,this.slice(this.l,this.l+2*e));else return pa.call(this,e,"dbcs");e=2*e;break;case"lpstr-ansi":n=Zt(this,this.l);e=4+ha(this,this.l);break;case"lpstr-cp":n=qt(this,this.l);e=4+ha(this,this.l);break;case"lpwstr":n=ea(this,this.l);e=4+2*ha(this,this.l);break;case"lpp4":e=4+ha(this,this.l);n=ta(this,this.l);if(e&2)e+=2;break;case"8lpp4":e=4+ha(this,this.l);n=na(this,this.l);if(e&3)e+=4-(e&3);break;case"cstr":e=0;n="";while((l=oa(this,this.l+e++))!==0)f.push(p(l));n=f.join("");break;case"_wstr":e=0;n="";while((l=ca(this,this.l+e))!==0){f.push(p(l));e+=2}e+=2;n=f.join("");break;case"dbcs-cont":n="";u=this.l;for(c=0;c<e;++c){if(this.lens&&this.lens.indexOf(u)!==-1){l=oa(this,u);this.l=u+1;o=pa.call(this,e-c,l?"dbcs-cont":"sbcs-cont");return f.join("")+o}f.push(p(ca(this,u)));u+=2}n=f.join("");e*=2;break;case"cpstr":if(typeof a!=="undefined"){n=a.utils.decode(r,this.slice(this.l,this.l+e));break};case"sbcs-cont":n="";u=this.l;for(c=0;c!=e;++c){if(this.lens&&this.lens.indexOf(u)!==-1){l=oa(this,u);this.l=u+1;o=pa.call(this,e-c,l?"dbcs-cont":"sbcs-cont");return f.join("")+o}f.push(p(oa(this,u)));u+=1}n=f.join("");break;default:switch(e){case 1:i=oa(this,this.l);this.l++;return i;case 2:i=(t==="i"?ua:ca)(this,this.l);this.l+=2;return i;case 4:;case-4:if(t==="i"||(this[this.l+3]&128)===0){i=(e>0?da:va)(this,this.l);this.l+=4;return i}else{s=ha(this,this.l);this.l+=4}return s;case 8:;case-8:if(t==="f"){if(e==8)s=sa(this,this.l);else s=sa([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0);this.l+=8;return s}else e=8;case 16:n=Gt(this,this.l,e);break;};}this.l+=e;return n}var ma=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 ba=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 ga=function(e,r,t){e[t]=r&255;e[t+1]=r>>>8&255};function wa(e,n,i){var s=0,f=0;if(i==="dbcs"){for(f=0;f!=n.length;++f)ga(this,n.charCodeAt(f),this.l+2*f);s=2*n.length}else if(i==="sbcs"||i=="cpstr"){if(typeof a!=="undefined"&&t==874){for(f=0;f!=n.length;++f){var l=a.utils.encode(t,n.charAt(f));this[this.l+f]=l[0]}s=n.length}else if(typeof a!=="undefined"&&i=="cpstr"){l=a.utils.encode(r,n);if(l.length==n.length)for(f=0;f<n.length;++f)if(l[f]==0&&n.charCodeAt(f)!=0)l[f]=95;if(l.length==2*n.length)for(f=0;f<n.length;++f)if(l[2*f]==0&&l[2*f+1]==0&&n.charCodeAt(f)!=0)l[2*f]=95;for(f=0;f<l.length;++f)this[this.l+f]=l[f];s=l.length}else{n=n.replace(/[^\x00-\x7F]/g,"_");for(f=0;f!=n.length;++f)this[this.l+f]=n.charCodeAt(f)&255;s=n.length}}else if(i==="hex"){for(;f<e;++f){this[this.l++]=parseInt(n.slice(2*f,2*f+2),16)||0}return this}else if(i==="utf16le"){var o=Math.min(this.l+e,this.length);for(f=0;f<Math.min(n.length,e);++f){var c=n.charCodeAt(f);this[this.l++]=c&255;this[this.l++]=c>>8}while(this.l<o)this[this.l++]=0;return this}else switch(e){case 1:s=1;this[this.l]=n&255;break;case 2:s=2;this[this.l]=n&255;n>>>=8;this[this.l+1]=n&255;break;case 3:s=3;this[this.l]=n&255;n>>>=8;this[this.l+1]=n&255;n>>>=8;this[this.l+2]=n&255;break;case 4:s=4;ma(this,n,this.l);break;case 8:s=8;if(i==="f"){Wt(this,n,this.l);break};case 16:break;case-4:s=4;ba(this,n,this.l);break;}this.l+=s;return this}function ka(e,r){var t=Gt(this,this.l,e.length>>1);if(t!==e)throw new Error(r+"Expected "+e+" saw "+t);this.l+=e.length>>1}function Ta(e,r){e.l=r;e._R=pa;e.chk=ka;e._W=wa}function ya(e,r){e.l+=r}function Ea(e){var r=C(e);Ta(r,0);return r}function _a(e,r,t){if(!e)return;var a,n,i;Ta(e,e.l||0);var s=e.length,f=0,l=0;while(e.l<s){f=e._R(1);if(f&128)f=(f&127)+((e._R(1)&127)<<7);var o=Qb[f]||Qb[65535];a=e._R(1);i=a&127;for(n=1;n<4&&a&128;++n)i+=((a=e._R(1))&127)<<7*n;l=e.l+i;var c=o.f&&o.f(e,i,t);e.l=l;if(r(c,o,f))return}}function Sa(){var e=[],r=S?256:2048;var t=function l(e){var r=Ea(e);Ta(r,0);return r};var a=t(r);var n=function o(){if(!a)return;if(a.l){if(a.length>a.l){a=a.slice(0,a.l);a.l=a.length}if(a.length>0)e.push(a)}a=null};var i=function c(e){if(a&&e<a.length-a.l)return a;n();return a=t(Math.max(e+1,r))};var s=function u(){n();return P(e)};var f=function h(e){n();a=e;if(a.l==null)a.l=a.length;i(r)};return{next:i,push:f,end:s,_bufs:e}}function xa(e,r,t,a){var n=+r,i;if(isNaN(n))return;if(!a)a=Qb[n].p||(t||[]).length||0;i=1+(n>=128?1:0)+1;if(a>=128)++i;if(a>=16384)++i;if(a>=2097152)++i;var s=e.next(i);if(n<=127)s._W(1,n);else{s._W(1,(n&127)+128);s._W(1,n>>7)}for(var f=0;f!=4;++f){if(a>=128){s._W(1,(a&127)+128);a>>=7}else{s._W(1,a);break}}if(a>0&&fa(t))e.push(t)}function Aa(e,r,t){var a=Tr(e);if(r.s){if(a.cRel)a.c+=r.s.c;if(a.rRel)a.r+=r.s.r}else{if(a.cRel)a.c+=r.c;if(a.rRel)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 Ca(e,r,t){var a=Tr(e);a.s=Aa(a.s,r.s,t);a.e=Aa(a.e,r.s,t);return a}function Ra(e,r){if(e.cRel&&e.c<0){e=Tr(e);while(e.c<0)e.c+=r>8?16384:256}if(e.rRel&&e.r<0){e=Tr(e);while(e.r<0)e.r+=r>8?1048576:r>5?65536:16384}var t=za(e);if(!e.cRel&&e.cRel!=null)t=Ma(t);if(!e.rRel&&e.rRel!=null)t=Fa(t);return t}function Oa(e,r){if(e.s.r==0&&!e.s.rRel){if(e.e.r==(r.biff>=12?1048575:r.biff>=8?65536:16384)&&!e.e.rRel){return(e.s.cRel?"":"$")+La(e.s.c)+":"+(e.e.cRel?"":"$")+La(e.e.c)}}if(e.s.c==0&&!e.s.cRel){if(e.e.c==(r.biff>=12?16383:255)&&!e.e.cRel){return(e.s.rRel?"":"$")+Na(e.s.r)+":"+(e.e.rRel?"":"$")+Na(e.e.r)}}return Ra(e.s,r.biff)+":"+Ra(e.e,r.biff)}if(typeof cptable!=="undefined")b(cptable);else if(typeof module!=="undefined"&&typeof require!=="undefined"){b(undefined)}function Ia(e){return parseInt(Da(e),10)-1}function Na(e){return""+(e+1)}function Fa(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}function Da(e){return e.replace(/\$(\d+)$/,"$1")}function Pa(e){var r=Ua(e),t=0,a=0;for(;a!==r.length;++a)t=26*t+r.charCodeAt(a)-64;return t-1}function La(e){if(e<0)throw new Error("invalid column "+e);var r="";for(++e;e;e=Math.floor((e-1)/26))r=String.fromCharCode((e-1)%26+65)+r;return r}function Ma(e){return e.replace(/^([A-Z])/,"$$$1")}function Ua(e){return e.replace(/^\$([A-Z])/,"$1")}function Ba(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function Wa(e){var r=0,t=0;for(var a=0;a<e.length;++a){var n=e.charCodeAt(a);if(n>=48&&n<=57)r=10*r+(n-48);else if(n>=65&&n<=90)t=26*t+(n-64)}return{c:t-1,r:r-1}}function za(e){var r=e.c+1;var t="";for(;r;r=(r-1)/26|0)t=String.fromCharCode((r-1)%26+65)+t;return t+(e.r+1)}function Ha(e){var r=e.indexOf(":");if(r==-1)return{s:Wa(e),e:Wa(e)};return{s:Wa(e.slice(0,r)),e:Wa(e.slice(r+1))}}function Va(e,r){if(typeof r==="undefined"||typeof r==="number"){return Va(e.s,e.e)}if(typeof e!=="string")e=za(e);if(typeof r!=="string")r=za(r);return e==r?e:e+":"+r}function $a(e){var r=Ha(e);return"$"+La(r.s.c)+"$"+Na(r.s.r)+":$"+La(r.e.c)+"$"+Na(r.e.r)}function Xa(e,r){if(!e&&!(r&&r.biff<=5&&r.biff>=2))throw new Error("empty sheet name");if(/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(e))return"'"+e.replace(/'/g,"''")+"'";return e}function Ga(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;a<i;++a){if((n=e.charCodeAt(a)-64)<1||n>26)break;t=26*t+n}r.s.c=--t;for(t=0;a<i;++a){if((n=e.charCodeAt(a)-48)<0||n>9)break;t=10*t+n}r.s.r=--t;if(a===i||n!=10){r.e.c=r.s.c;r.e.r=r.s.r;return r}++a;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 ja(e,r){var t=e.t=="d"&&r instanceof Date;if(e.z!=null)try{return e.w=ze(e.z,t?dr(r):r)}catch(a){}try{return e.w=ze((e.XF||{}).numFmtId||(t?14:0),t?dr(r):r)}catch(a){return""+r}}function Ka(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(e.t=="e")return ti[e.v]||e.v;if(r==undefined)return ja(e,e.v);return ja(e,r)}function Ya(e,r){var t=r&&r.sheet?r.sheet:"Sheet1";var a={};a[t]=e;return{SheetNames:[t],Sheets:a}}function Za(e){var r={};var t=e||{};if(t.dense)r["!data"]=[];return r}function Ja(e,r,t){var a=t||{};var n=e?e["!data"]!=null:a.dense;if(g!=null&&n==null)n=g;var i=e||{};if(n&&!i["!data"])i["!data"]=[];var s=0,f=0;if(i&&a.origin!=null){if(typeof a.origin=="number")s=a.origin;else{var l=typeof a.origin=="string"?Wa(a.origin):a.origin;s=l.r;f=l.c}if(!i["!ref"])i["!ref"]="A1:A1"}var o={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(i["!ref"]){var c=Ga(i["!ref"]);o.s.c=c.s.c;o.s.r=c.s.r;o.e.c=Math.max(o.e.c,c.e.c);o.e.r=Math.max(o.e.r,c.e.r);if(s==-1)o.e.r=s=c.e.r+1}var u=[];for(var h=0;h!=r.length;++h){if(!r[h])continue;if(!Array.isArray(r[h]))throw new Error("aoa_to_sheet expects an array of arrays");var d=s+h,v=""+(d+1);if(n){if(!i["!data"][d])i["!data"][d]=[];u=i["!data"][d]}for(var p=0;p!=r[h].length;++p){if(typeof r[h][p]==="undefined")continue;var m={v:r[h][p]};var b=f+p;if(o.s.r>d)o.s.r=d;if(o.s.c>b)o.s.c=b;if(o.e.r<d)o.e.r=d;if(o.e.c<b)o.e.c=b;if(r[h][p]&&typeof r[h][p]==="object"&&!Array.isArray(r[h][p])&&!(r[h][p]instanceof Date))m=r[h][p];else{if(Array.isArray(m.v)){m.f=r[h][p][1];m.v=m.v[0]}if(m.v===null){if(m.f)m.t="n";else if(a.nullError){m.t="e";m.v=0}else if(!a.sheetStubs)continue;else m.t="z"}else if(typeof m.v==="number")m.t="n";else if(typeof m.v==="boolean")m.t="b";else if(m.v instanceof Date){m.z=a.dateNF||q[14];if(!a.UTC)m.v=Dr(m.v);if(a.cellDates){m.t="d";m.w=ze(m.z,dr(m.v,a.date1904))}else{m.t="n";m.v=dr(m.v,a.date1904);m.w=ze(m.z,m.v)}}else m.t="s"}if(n){if(u[b]&&u[b].z)m.z=u[b].z;u[b]=m}else{var w=La(b)+v;if(i[w]&&i[w].z)m.z=i[w].z;i[w]=m}}}if(o.s.c<1e7)i["!ref"]=Va(o);return i}function qa(e,r){return Ja(null,e,r)}function Qa(e){return e._R(4,"i")}function en(e,r){if(!r)r=Ea(4);r._W(4,e);return r}function rn(e){var r=e._R(4);return r===0?"":e._R(r,"dbcs")}function tn(e,r){var t=false;if(r==null){t=true;r=Ea(4+2*e.length)}r._W(4,e.length);if(e.length>0)r._W(0,e,"dbcs");return t?r.slice(0,r.l):r}function an(e){return{ich:e._R(2),ifnt:e._R(2)}}function nn(e,r){if(!r)r=Ea(4);r._W(2,e.ich||0);r._W(2,e.ifnt||0);return r}function sn(e,r){var t=e.l;var a=e._R(1);var n=rn(e);var i=[];var s={t:n,h:n};if((a&1)!==0){var f=e._R(4);for(var l=0;l!=f;++l)i.push(an(e));s.r=i}else s.r=[{ich:0,ifnt:0}];e.l=t+r;return s}function fn(e,r){var t=false;if(r==null){t=true;r=Ea(15+4*e.t.length)}r._W(1,0);tn(e.t,r);return t?r.slice(0,r.l):r}var ln=sn;function on(e,r){var t=false;if(r==null){t=true;r=Ea(23+4*e.t.length)}r._W(1,1);tn(e.t,r);r._W(4,1);nn({ich:0,ifnt:0},r);return t?r.slice(0,r.l):r}function cn(e){var r=e._R(4);var t=e._R(2);t+=e._R(1)<<16; -e.l++;return{c:r,iStyleRef:t}}function un(e,r){if(r==null)r=Ea(8);r._W(-4,e.c);r._W(3,e.iStyleRef||e.s);r._W(1,0);return r}function hn(e){var r=e._R(2);r+=e._R(1)<<16;e.l++;return{c:-1,iStyleRef:r}}function dn(e,r){if(r==null)r=Ea(4);r._W(3,e.iStyleRef||e.s);r._W(1,0);return r}var vn=rn;var pn=tn;function mn(e){var r=e._R(4);return r===0||r===4294967295?"":e._R(r,"dbcs")}function bn(e,r){var t=false;if(r==null){t=true;r=Ea(127)}r._W(4,e.length>0?e.length:4294967295);if(e.length>0)r._W(0,e,"dbcs");return t?r.slice(0,r.l):r}var gn=rn;var wn=mn;var kn=bn;function Tn(e){var r=e.slice(e.l,e.l+4);var t=r[0]&1,a=r[0]&2;e.l+=4;var n=a===0?sa([0,0,0,0,r[0]&252,r[1],r[2],r[3]],0):da(r,0)>>2;return t?n/100:n}function yn(e,r){if(r==null)r=Ea(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._W(-4,((t?n:e)<<2)+(t+2));else throw new Error("unsupported RkNumber "+e)}function En(e){var r={s:{},e:{}};r.s.r=e._R(4);r.e.r=e._R(4);r.s.c=e._R(4);r.e.c=e._R(4);return r}function _n(e,r){if(!r)r=Ea(16);r._W(4,e.s.r);r._W(4,e.e.r);r._W(4,e.s.c);r._W(4,e.e.c);return r}var Sn=En;var xn=_n;function An(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e._R(8,"f")}function Cn(e,r){return(r||Ea(8))._W(8,e,"f")}function Rn(e){var r={};var t=e._R(1);var a=t>>>1;var n=e._R(1);var i=e._R(2,"i");var s=e._R(1);var f=e._R(1);var l=e._R(1);e.l++;switch(a){case 0:r.auto=1;break;case 1:r.index=n;var o=ri[n];if(o)r.rgb=Xo(o);break;case 2:r.rgb=Xo([s,f,l]);break;case 3:r.theme=n;break;}if(i!=0)r.tint=i>0?i/32767:i/32768;return r}function On(e,r){if(!r)r=Ea(8);if(!e||e.auto){r._W(4,0);r._W(4,0);return r}if(e.index!=null){r._W(1,2);r._W(1,e.index)}else if(e.theme!=null){r._W(1,6);r._W(1,e.theme)}else{r._W(1,5);r._W(1,0)}var t=e.tint||0;if(t>0)t*=32767;else if(t<0)t*=32768;r._W(2,t);if(!e.rgb||e.theme!=null){r._W(2,0);r._W(1,0);r._W(1,0)}else{var a=e.rgb||"FFFFFF";if(typeof a=="number")a=("000000"+a.toString(16)).slice(-6);r._W(1,parseInt(a.slice(0,2),16));r._W(1,parseInt(a.slice(2,4),16));r._W(1,parseInt(a.slice(4,6),16));r._W(1,255)}return r}function In(e){var r=e._R(1);e.l++;var t={fBold:r&1,fItalic:r&2,fUnderline:r&4,fStrikeout:r&8,fOutline:r&16,fShadow:r&32,fCondense:r&64,fExtend:r&128};return t}function Nn(e,r){if(!r)r=Ea(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._W(1,t);r._W(1,0);return r}function Fn(e,r){var t={2:"BITMAP",3:"METAFILEPICT",8:"DIB",14:"ENHMETAFILE"};var a=e._R(4);switch(a){case 0:return"";case 4294967295:;case 4294967294:return t[e._R(4)]||"";}if(a>400)throw new Error("Unsupported Clipboard: "+a.toString(16));e.l-=4;return e._R(0,r==1?"lpstr":"lpwstr")}function Dn(e){return Fn(e,1)}function Pn(e){return Fn(e,2)}var Ln=2;var Mn=3;var Un=11;var Bn=12;var Wn=19;var zn=64;var Hn=65;var Vn=71;var $n=4108;var Xn=4126;var Gn=80;var jn=81;var Kn=[Gn,jn];var Yn={1:{n:"CodePage",t:Ln},2:{n:"Category",t:Gn},3:{n:"PresentationFormat",t:Gn},4:{n:"ByteCount",t:Mn},5:{n:"LineCount",t:Mn},6:{n:"ParagraphCount",t:Mn},7:{n:"SlideCount",t:Mn},8:{n:"NoteCount",t:Mn},9:{n:"HiddenCount",t:Mn},10:{n:"MultimediaClipCount",t:Mn},11:{n:"ScaleCrop",t:Un},12:{n:"HeadingPairs",t:$n},13:{n:"TitlesOfParts",t:Xn},14:{n:"Manager",t:Gn},15:{n:"Company",t:Gn},16:{n:"LinksUpToDate",t:Un},17:{n:"CharacterCount",t:Mn},19:{n:"SharedDoc",t:Un},22:{n:"HyperlinksChanged",t:Un},23:{n:"AppVersion",t:Mn,p:"version"},24:{n:"DigSig",t:Hn},26:{n:"ContentType",t:Gn},27:{n:"ContentStatus",t:Gn},28:{n:"Language",t:Gn},29:{n:"Version",t:Gn},255:{},2147483648:{n:"Locale",t:Wn},2147483651:{n:"Behavior",t:Wn},1919054434:{}};var Zn={1:{n:"CodePage",t:Ln},2:{n:"Title",t:Gn},3:{n:"Subject",t:Gn},4:{n:"Author",t:Gn},5:{n:"Keywords",t:Gn},6:{n:"Comments",t:Gn},7:{n:"Template",t:Gn},8:{n:"LastAuthor",t:Gn},9:{n:"RevNumber",t:Gn},10:{n:"EditTime",t:zn},11:{n:"LastPrinted",t:zn},12:{n:"CreatedDate",t:zn},13:{n:"ModifiedDate",t:zn},14:{n:"PageCount",t:Mn},15:{n:"WordCount",t:Mn},16:{n:"CharCount",t:Mn},17:{n:"Thumbnail",t:Vn},18:{n:"Application",t:Gn},19:{n:"DocSecurity",t:Mn},255:{},2147483648:{n:"Locale",t:Wn},2147483651:{n:"Behavior",t:Wn},1919054434:{}};var Jn={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 qn=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];function Qn(e){return e.map(function(e){return[e>>16&255,e>>8&255,e&255]})}var ei=Qn([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,0,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);var ri=Tr(ei);var ti={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"};var ai={"#NULL!":0,"#DIV/0!":7,"#VALUE!":15,"#REF!":23,"#NAME?":29,"#NUM!":36,"#N/A":42,"#GETTING_DATA":43,"#WTF?":255};var ni=["_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"];var ii={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.sheet.macroEnabled.main+xml":"workbooks","application/vnd.ms-excel.sheet.binary.macroEnabled.main":"workbooks","application/vnd.ms-excel.addin.macroEnabled.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":"sheets","application/vnd.ms-excel.worksheet":"sheets","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"charts","application/vnd.ms-excel.chartsheet":"charts","application/vnd.ms-excel.macrosheet+xml":"macros","application/vnd.ms-excel.macrosheet":"macros","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"dialogs","application/vnd.ms-excel.dialogsheet":"dialogs","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":"strs","application/vnd.ms-excel.sharedStrings":"strs","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":"styles","application/vnd.ms-excel.styles":"styles","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.openxmlformats-officedocument.spreadsheetml.comments+xml":"comments","application/vnd.ms-excel.comments":"comments","application/vnd.ms-excel.threadedcomments+xml":"threadedcomments","application/vnd.ms-excel.person+xml":"people","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"metadata","application/vnd.ms-excel.sheetMetadata":"metadata","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+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.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":"TODO","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.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 si={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",xlam:"application/vnd.ms-excel.addin.macroEnabled.main+xml",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"},metadata:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml",xlsb:"application/vnd.ms-excel.sheetMetadata"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};function fi(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""}}function li(e){var r=fi();if(!e||!e.match)return r;var t={};(e.match(qr)||[]).forEach(function(e){var a=rt(e);switch(a[0].replace(Qr,"<")){case"<?xml":break;case"<Types":r.xmlns=a["xmlns"+(a[0].match(/<(\w+):/)||["",""])[1]];break;case"<Default":t[a.Extension.toLowerCase()]=a.ContentType;break;case"<Override":if(r[ii[a.ContentType]]!==undefined)r[ii[a.ContentType]].push(a.PartName);break;}});if(r.xmlns!==Lt.CT)throw new Error("Unknown Namespace: "+r.xmlns);r.calcchain=r.calcchains.length>0?r.calcchains[0]:"";r.sst=r.strs.length>0?r.strs[0]:"";r.style=r.styles.length>0?r.styles[0]:"";r.defaults=t;delete r.calcchains;return r}function oi(e,r,t){var a=or(ii);var n=[],i;if(!t){n[n.length]=Kr;n[n.length]=It("Types",null,{xmlns:Lt.CT,"xmlns:xsd":Lt.xsd,"xmlns:xsi":Lt.xsi});n=n.concat([["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["data","application/vnd.openxmlformats-officedocument.model+data"],["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","application/vnd.openxmlformats-package.relationships+xml"]].map(function(e){return It("Default",null,{Extension:e[0],ContentType:e[1]})}))}var s=function(t){if(e[t]&&e[t].length>0){i=e[t][0];n[n.length]=It("Override",null,{PartName:(i[0]=="/"?"":"/")+i,ContentType:si[t][r.bookType]||si[t]["xlsx"]})}};var f=function(t){(e[t]||[]).forEach(function(e){n[n.length]=It("Override",null,{PartName:(e[0]=="/"?"":"/")+e,ContentType:si[t][r.bookType]||si[t]["xlsx"]})})};var l=function(r){(e[r]||[]).forEach(function(e){n[n.length]=It("Override",null,{PartName:(e[0]=="/"?"":"/")+e,ContentType:a[r][0]})})};s("workbooks");f("sheets");f("charts");l("themes");["strs","styles"].forEach(s);["coreprops","extprops","custprops"].forEach(l);l("vba");l("comments");l("threadedcomments");l("drawings");f("metadata");l("people");if(!t&&n.length>2){n[n.length]="</Types>";n[1]=n[1].replace("/>",">")}return n.join("")}var ci={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",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",CMNT:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",SST:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",STY:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",THEME:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",CHART:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",CHARTEX:"http://schemas.microsoft.com/office/2014/relationships/chartEx",CS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet",WS:["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"],DS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",MS:"http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet",IMG:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",DRAW:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",XLMETA:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata",TCMNT:"http://schemas.microsoft.com/office/2017/10/relationships/threadedComment",PEOPLE:"http://schemas.microsoft.com/office/2017/10/relationships/person",CONN:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/connections",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function ui(e){var r=e.lastIndexOf("/");return e.slice(0,r+1)+"_rels/"+e.slice(r+1)+".rels"}function hi(e,r){var t={"!id":{}};if(!e)return t;if(r.charAt(0)!=="/"){r="/"+r}var a={};(e.match(qr)||[]).forEach(function(e){var n=rt(e);if(n[0]==="<Relationship"){var i={};i.Type=n.Type;i.Target=it(n.Target);i.Id=n.Id;if(n.TargetMode)i.TargetMode=n.TargetMode;var s=n.TargetMode==="External"?n.Target:jr(n.Target,r);t[s]=i;a[n.Id]=i}});t["!id"]=a;return t}function di(e){var r=[Kr,It("Relationships",null,{xmlns:Lt.RELS})];ir(e["!id"]).forEach(function(t){r[r.length]=It("Relationship",null,e["!id"][t])});if(r.length>2){r[r.length]="</Relationships>";r[1]=r[1].replace("/>",">")}return r.join("")}function vi(e,r,t,a,n,i){if(!n)n={};if(!e["!id"])e["!id"]={};if(!e["!idx"])e["!idx"]=1;if(r<0)for(r=e["!idx"];e["!id"]["rId"+r];++r){}e["!idx"]=r+1;n.Id="rId"+r;n.Type=a;n.Target=t;if(i)n.TargetMode=i;else if([ci.HLINK,ci.XPATH,ci.XMISS].indexOf(n.Type)>-1)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 pi="application/vnd.oasis.opendocument.spreadsheet";function mi(e,r){var t=Dt(e);var a;var n;while(a=Pt.exec(t))switch(a[3]){case"manifest":break;case"file-entry":n=rt(a[0],false);if(n.path=="/"&&n.type!==pi)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 bi(e){var r=[Kr];r.push('<manifest:manifest xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0" manifest:version="1.2">\n');r.push(' <manifest:file-entry manifest:full-path="/" manifest:version="1.2" manifest:media-type="application/vnd.oasis.opendocument.spreadsheet"/>\n');for(var t=0;t<e.length;++t)r.push(' <manifest:file-entry manifest:full-path="'+e[t][0]+'" manifest:media-type="'+e[t][1]+'"/>\n');r.push("</manifest:manifest>");return r.join("")}function gi(e,r,t){return[' <rdf:Description rdf:about="'+e+'">\n',' <rdf:type rdf:resource="http://docs.oasis-open.org/ns/office/1.2/meta/'+(t||"odf")+"#"+r+'"/>\n'," </rdf:Description>\n"].join("")}function wi(e,r){return[' <rdf:Description rdf:about="'+e+'">\n',' <ns0:hasPart xmlns:ns0="http://docs.oasis-open.org/ns/office/1.2/meta/pkg#" rdf:resource="'+r+'"/>\n'," </rdf:Description>\n"].join("")}function ki(e){var r=[Kr];r.push('<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">\n');for(var t=0;t!=e.length;++t){r.push(gi(e[t][0],e[t][1]));r.push(wi("",e[t][0]))}r.push(gi("","Document","pkg"));r.push("</rdf:RDF>");return r.join("")}function Ti(r,t){return'<office:document-meta xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xlink="http://www.w3.org/1999/xlink" office:version="1.2"><office:meta><meta:generator>SheetJS '+e.version+"</meta:generator></office:meta></office:document-meta>"}var yi=[["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"]];var Ei=function(){var e=new Array(yi.length);for(var r=0;r<yi.length;++r){var t=yi[r];var a="(?:"+t[0].slice(0,t[0].indexOf(":"))+":)"+t[0].slice(t[0].indexOf(":")+1);e[r]=new RegExp("<"+a+"[^>]*>([\\s\\S]*?)</"+a+">")}return e}();function _i(e){var r={};e=kt(e);for(var t=0;t<yi.length;++t){var a=yi[t],n=e.match(Ei[t]);if(n!=null&&n.length>0)r[a[1]]=it(n[1]);if(a[2]==="date"&&r[a[1]])r[a[1]]=wr(r[a[1]])}return r}function Si(e,r,t,a,n){if(n[e]!=null||r==null||r==="")return;n[e]=r;r=lt(r);a[a.length]=t?It(e,r,t):Rt(e,r)}function xi(e,r){var t=r||{};var a=[Kr,It("cp:coreProperties",null,{"xmlns:cp":Lt.CORE_PROPS,"xmlns:dc":Lt.dc,"xmlns:dcterms":Lt.dcterms,"xmlns:dcmitype":Lt.dcmitype,"xmlns:xsi":Lt.xsi})],n={};if(!e&&!t.Props)return a.join("");if(e){if(e.CreatedDate!=null)Si("dcterms:created",typeof e.CreatedDate==="string"?e.CreatedDate:Nt(e.CreatedDate,t.WTF),{"xsi:type":"dcterms:W3CDTF"},a,n);if(e.ModifiedDate!=null)Si("dcterms:modified",typeof e.ModifiedDate==="string"?e.ModifiedDate:Nt(e.ModifiedDate,t.WTF),{"xsi:type":"dcterms:W3CDTF"},a,n)}for(var i=0;i!=yi.length;++i){var s=yi[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)Si(s[0],f,null,a,n)}if(a.length>2){a[a.length]="</cp:coreProperties>";a[1]=a[1].replace("/>",">")}return a.join("")}var Ai=[["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"]];var Ci=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function Ri(e,r,t,a){var n=[];if(typeof e=="string")n=At(e,a);else for(var i=0;i<e.length;++i)n=n.concat(e[i].map(function(e){return{v:e}}));var s=typeof r=="string"?At(r,a).map(function(e){return e.v}):r;var f=0,l=0;if(s.length>0)for(var o=0;o!==n.length;o+=2){l=+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"Hojas de cálculo":;case"Werkbladen":t.Worksheets=l;t.SheetNames=s.slice(f,f+l);break;case"Named Ranges":;case"Rangos con nombre":;case"名前付き一覧":;case"Benannte Bereiche":;case"Navngivne områder":t.NamedRanges=l;t.DefinedNames=s.slice(f,f+l);break;case"Charts":;case"Diagramme":t.Chartsheets=l;t.ChartNames=s.slice(f,f+l);break;}f+=l}}function Oi(e,r,t){var a={};if(!r)r={};e=kt(e);Ai.forEach(function(t){var n=(e.match(yt(t[0]))||[])[1];switch(t[2]){case"string":if(n)r[t[1]]=it(n);break;case"bool":r[t[1]]=n==="true";break;case"raw":var i=e.match(new RegExp("<"+t[0]+"[^>]*>([\\s\\S]*?)</"+t[0]+">"));if(i&&i.length>0)a[t[1]]=i[1];break;}});if(a.HeadingPairs&&a.TitlesOfParts)Ri(a.HeadingPairs,a.TitlesOfParts,r,t);return r}function Ii(e){var r=[],t=It;if(!e)e={};e.Application="SheetJS";r[r.length]=Kr;r[r.length]=It("Properties",null,{xmlns:Lt.EXT_PROPS,"xmlns:vt":Lt.vt});Ai.forEach(function(a){if(e[a[1]]===undefined)return;var n;switch(a[2]){case"string":n=lt(String(e[a[1]]));break;case"bool":n=e[a[1]]?"true":"false";break;}if(n!==undefined)r[r.length]=t(a[0],n)});r[r.length]=t("HeadingPairs",t("vt:vector",t("vt:variant","<vt:lpstr>Worksheets</vt:lpstr>")+t("vt:variant",t("vt:i4",String(e.Worksheets))),{size:2,baseType:"variant"}));r[r.length]=t("TitlesOfParts",t("vt:vector",e.SheetNames.map(function(e){return"<vt:lpstr>"+lt(e)+"</vt:lpstr>"}).join(""),{size:e.Worksheets,baseType:"lpstr"}));if(r.length>2){r[r.length]="</Properties>";r[1]=r[1].replace("/>",">")}return r.join("")}var Ni=/<[^>]+>[^<]*/g;function Fi(e,r){var t={},a="";var n=e.match(Ni);if(n)for(var i=0;i!=n.length;++i){var s=n[i],f=rt(s);switch(tt(f[0])){case"<?xml":break;case"<Properties":break;case"<property":a=it(f.name);break;case"</property>":a=null;break;default:if(s.indexOf("<vt:")===0){var l=s.split(">");var o=l[0].slice(4),c=l[1];switch(o){case"lpstr":;case"bstr":;case"lpwstr":t[a]=it(c);break;case"bool":t[a]=pt(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]=wr(c);break;case"cy":;case"error":t[a]=it(c);break;default:if(o.slice(-1)=="/")break;if(r.WTF&&typeof console!=="undefined")console.warn("Unexpected",s,o,l);}}else if(s.slice(0,2)==="</"){}else if(r.WTF)throw new Error(s);}}return t}function Di(e){var r=[Kr,It("Properties",null,{xmlns:Lt.CUST_PROPS,"xmlns:vt":Lt.vt})];if(!e)return r.join("");var t=1;ir(e).forEach(function a(n){++t;r[r.length]=It("property",Ft(e[n],true),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:t,name:lt(n)})});if(r.length>2){r[r.length]="</Properties>";r[1]=r[1].replace("/>",">")}return r.join("")}var Pi={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 Li;function Mi(e,r,t){if(!Li)Li=fr(Pi);r=Li[r]||r;e[r]=t}function Ui(e,r){var t=[];ir(Pi).map(function(e){for(var r=0;r<yi.length;++r)if(yi[r][1]==e)return yi[r];for(r=0;r<Ai.length;++r)if(Ai[r][1]==e)return Ai[r];throw e}).forEach(function(a){if(e[a[1]]==null)return;var n=r&&r.Props&&r.Props[a[1]]!=null?r.Props[a[1]]:e[a[1]];switch(a[2]){case"date":n=new Date(n).toISOString().replace(/\.\d*Z/,"Z");break;}if(typeof n=="number")n=String(n);else if(n===true||n===false){n=n?"1":"0"}else if(n instanceof Date)n=new Date(n).toISOString().replace(/\.\d*Z/,"");t.push(Rt(Pi[a[1]]||a[1],n))});return It("DocumentProperties",t.join(""),{xmlns:Ut.o})}function Bi(e,r){var t=["Worksheets","SheetNames"];var a="CustomDocumentProperties";var n=[];if(e)ir(e).forEach(function(r){if(!Object.prototype.hasOwnProperty.call(e,r))return;for(var a=0;a<yi.length;++a)if(r==yi[a][1])return;for(a=0;a<Ai.length;++a)if(r==Ai[a][1])return;for(a=0;a<t.length;++a)if(r==t[a])return;var i=e[r];var s="string";if(typeof i=="number"){s="float";i=String(i)}else if(i===true||i===false){s="boolean";i=i?"1":"0"}else i=String(i);n.push(It(ot(r),i,{"dt:dt":s}))});if(r)ir(r).forEach(function(t){if(!Object.prototype.hasOwnProperty.call(r,t))return;if(e&&Object.prototype.hasOwnProperty.call(e,t))return;var a=r[t];var i="string";if(typeof a=="number"){i="float";a=String(a)}else if(a===true||a===false){i="boolean";a=a?"1":"0"}else if(a instanceof Date){i="dateTime.tz";a=a.toISOString()}else a=String(a);n.push(It(ot(t),a,{"dt:dt":i}))});return"<"+a+' xmlns="'+Ut.o+'">'+n.join("")+"</"+a+">"}function Wi(e){var r=e._R(4),t=e._R(4);return new Date((t/1e7*Math.pow(2,32)+r/1e7-11644473600)*1e3).toISOString().replace(/\.000/,"")}function zi(e){var r=typeof e=="string"?new Date(Date.parse(e)):e;var t=r.getTime()/1e3+11644473600;var a=t%Math.pow(2,32),n=(t-a)/Math.pow(2,32);a*=1e7;n*=1e7;var i=a/Math.pow(2,32)|0;if(i>0){a=a%Math.pow(2,32);n+=i}var s=Ea(8);s._W(4,a);s._W(4,n);return s}function Hi(e,r,t){var a=e.l;var n=e._R(0,"lpstr-cp");if(t)while(e.l-a&3)++e.l;return n}function Vi(e,r,t){var a=e._R(0,"lpwstr");if(t)e.l+=4-(a.length+1&3)&3;return a}function $i(e,r,t){if(r===31)return Vi(e);return Hi(e,r,t)}function Xi(e,r,t){return $i(e,r,t===false?0:4)}function Gi(e,r){if(!r)throw new Error("VtUnalignedString must have positive length");return $i(e,r,0)}function ji(e){var r=e._R(4);var t=[];for(var a=0;a!=r;++a){var n=e.l;t[a]=e._R(0,"lpwstr").replace(M,"");if(e.l-n&2)e.l+=2}return t}function Ki(e){var r=e._R(4);var t=[];for(var a=0;a!=r;++a)t[a]=e._R(0,"lpstr-cp").replace(M,"");return t}function Yi(e){var r=e.l;var t=es(e,jn);if(e[e.l]==0&&e[e.l+1]==0&&e.l-r&2)e.l+=2;var a=es(e,Mn);return[t,a]}function Zi(e){var r=e._R(4);var t=[];for(var a=0;a<r/2;++a)t.push(Yi(e));return t}function Ji(e,r){var t=e._R(4);var a={};for(var n=0;n!=t;++n){var i=e._R(4);var s=e._R(4);a[i]=e._R(s,r===1200?"utf16le":"utf8").replace(M,"").replace(U,"!");if(r===1200&&s%2)e.l+=2}if(e.l&3)e.l=e.l>>2+1<<2;return a}function qi(e){var r=e._R(4);var t=e.slice(e.l,e.l+r);e.l+=r;if((r&3)>0)e.l+=4-(r&3)&3;return t}function Qi(e){var r={};r.Size=e._R(4);e.l+=r.Size+3-(r.Size-1)%4;return r}function es(e,r,t){var a=e._R(2),n,i=t||{};e.l+=2;if(r!==Bn)if(a!==r&&Kn.indexOf(r)===-1&&!((r&65534)==4126&&(a&65534)==4126))throw new Error("Expected type "+r+" saw "+a);switch(r===Bn?a:r){case 2:n=e._R(2,"i");if(!i.raw)e.l+=2;return n;case 3:n=e._R(4,"i");return n;case 11:return e._R(4)!==0;case 19:n=e._R(4);return n;case 30:return Hi(e,a,4).replace(M,"");case 31:return Vi(e);case 64:return Wi(e);case 65:return qi(e);case 71:return Qi(e);case 80:return Xi(e,a,!i.raw).replace(M,"");case 81:return Gi(e,a).replace(M,"");case 4108:return Zi(e);case 4126:;case 4127:return a==4127?ji(e):Ki(e);default:throw new Error("TypedPropertyValue unrecognized type "+r+" "+a);}}function rs(e,r){var t=Ea(4),a=Ea(4);t._W(4,e==80?31:e);switch(e){case 3:a._W(-4,r);break;case 5:a=Ea(8);a._W(8,r,"f");break;case 11:a._W(4,r?1:0);break;case 64:a=zi(r);break;case 31:;case 80:a=Ea(4+2*(r.length+1)+(r.length%2?0:2));a._W(4,r.length+1);a._W(0,r,"dbcs");while(a.l!=a.length)a._W(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+r); -;}return P([t,a])}function ts(e,r){var t=e.l;var a=e._R(4);var n=e._R(4);var i=[],s=0;var f=0;var o=-1,c={};for(s=0;s!=n;++s){var u=e._R(4);var h=e._R(4);i[s]=[u,h+t]}i.sort(function(e,r){return e[1]-r[1]});var d={};for(s=0;s!=n;++s){if(e.l!==i[s][1]){var v=true;if(s>0&&r)switch(r[i[s-1][0]].t){case 2:if(e.l+2===i[s][1]){e.l+=2;v=false}break;case 80:if(e.l<=i[s][1]){e.l=i[s][1];v=false}break;case 4108:if(e.l<=i[s][1]){e.l=i[s][1];v=false}break;}if((!r||s==0)&&e.l<=i[s][1]){v=false;e.l=i[s][1]}if(v)throw new Error("Read Error: Expected address "+i[s][1]+" at "+e.l+" :"+s)}if(r){if(i[s][0]==0&&i.length>s+1&&i[s][1]==i[s+1][1])continue;var p=r[i[s][0]];d[p.n]=es(e,p.t,{raw:true});if(p.p==="version")d[p.n]=String(d[p.n]>>16)+"."+("0000"+String(d[p.n]&65535)).slice(-4);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:l(f=d[p.n]>>>0&65535);break;default:throw new Error("Unsupported CodePage: "+d[p.n]);}}else{if(i[s][0]===1){f=d.CodePage=es(e,Ln);l(f);if(o!==-1){var m=e.l;e.l=i[o][1];c=Ji(e,f);e.l=m}}else if(i[s][0]===0){if(f===0){o=s;e.l=i[s+1][1];continue}c=Ji(e,f)}else{var b=c[i[s][0]];var g;switch(e[e.l]){case 65:e.l+=4;g=qi(e);break;case 30:e.l+=4;g=Xi(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 31:e.l+=4;g=Xi(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 3:e.l+=4;g=e._R(4,"i");break;case 19:e.l+=4;g=e._R(4);break;case 5:e.l+=4;g=e._R(8,"f");break;case 11:e.l+=4;g=us(e,4);break;case 64:e.l+=4;g=wr(Wi(e));break;default:throw new Error("unparsed value: "+e[e.l]);}d[b]=g}}}e.l=t+a;return d}var as=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"];function ns(e){switch(typeof e){case"boolean":return 11;case"number":return(e|0)==e?3:5;case"string":return 31;case"object":if(e instanceof Date)return 64;break;}return-1}function is(e,r,t){var a=Ea(8),n=[],i=[];var s=8,f=0;var l=Ea(8),o=Ea(8);l._W(4,2);l._W(4,1200);o._W(4,1);i.push(l);n.push(o);s+=8+l.length;if(!r){o=Ea(8);o._W(4,0);n.unshift(o);var c=[Ea(4)];c[0]._W(4,e.length);for(f=0;f<e.length;++f){var u=e[f][0];l=Ea(4+4+2*(u.length+1)+(u.length%2?0:2));l._W(4,f+2);l._W(4,u.length+1);l._W(0,u,"dbcs");while(l.l!=l.length)l._W(1,0);c.push(l)}l=P(c);i.unshift(l);s+=8+l.length}for(f=0;f<e.length;++f){if(r&&!r[e[f][0]])continue;if(as.indexOf(e[f][0])>-1||Ci.indexOf(e[f][0])>-1)continue;if(e[f][1]==null)continue;var h=e[f][1],d=0;if(r){d=+r[e[f][0]];var v=t[d];if(v.p=="version"&&typeof h=="string"){var p=h.split(".");h=(+p[0]<<16)+(+p[1]||0)}l=rs(v.t,h)}else{var m=ns(h);if(m==-1){m=31;h=String(h)}l=rs(m,h)}i.push(l);o=Ea(8);o._W(4,!r?2+f:d);n.push(o);s+=8+l.length}var b=8*(i.length+1);for(f=0;f<i.length;++f){n[f]._W(4,b);b+=i[f].length}a._W(4,s);a._W(4,i.length);return P([a].concat(n).concat(i))}function ss(e,r,t){var a=e.content;if(!a)return{};Ta(a,0);var n,i,s,f,l=0;a.chk("feff","Byte Order: ");a._R(2);var o=a._R(4);var c=a._R(16);if(c!==Qe.utils.consts.HEADER_CLSID&&c!==t)throw new Error("Bad PropertySet CLSID "+c);n=a._R(4);if(n!==1&&n!==2)throw new Error("Unrecognized #Sets: "+n);i=a._R(16);f=a._R(4);if(n===1&&f!==a.l)throw new Error("Length mismatch: "+f+" !== "+a.l);else if(n===2){s=a._R(16);l=a._R(4)}var u=ts(a,r);var h={SystemIdentifier:o};for(var d in u)h[d]=u[d];h.FMTID=i;if(n===1)return h;if(l-a.l==2)a.l+=2;if(a.l!==l)throw new Error("Length mismatch 2: "+a.l+" !== "+l);var v;try{v=ts(a,null)}catch(p){}for(d in v)h[d]=v[d];h.FMTID=[i,s];return h}function fs(e,r,t,a,n,i){var s=Ea(n?68:48);var f=[s];s._W(2,65534);s._W(2,0);s._W(4,842412599);s._W(16,Qe.utils.consts.HEADER_CLSID,"hex");s._W(4,n?2:1);s._W(16,r,"hex");s._W(4,n?68:48);var l=is(e,t,a);f.push(l);if(n){var o=is(n,null,null);s._W(16,i,"hex");s._W(4,68+l.length);f.push(o)}return P(f)}function ls(e,r){e._R(r);return null}function os(e,r){if(!r)r=Ea(e);for(var t=0;t<e;++t)r._W(1,0);return r}function cs(e,r,t){var a=[],n=e.l+r;while(e.l<n)a.push(t(e,n-e.l));if(n!==e.l)throw new Error("Slurp error");return a}function us(e,r){return e._R(r)===1}function hs(e,r){if(!r)r=Ea(2);r._W(2,+!!e);return r}function ds(e){return e._R(2,"u")}function vs(e,r){if(!r)r=Ea(2);r._W(2,e);return r}function ps(e,r){return cs(e,r,ds)}function ms(e){var r=e._R(1),t=e._R(1);return t===1?r:r===1}function bs(e,r,t){if(!t)t=Ea(2);t._W(1,r=="e"?+e:+!!e);t._W(1,r=="e"?1:0);return t}function gs(e,t,a){var n=e._R(a&&a.biff>=12?2:1);var i="sbcs-cont";var s=r;if(a&&a.biff>=8)r=1200;if(!a||a.biff==8){var f=e._R(1);if(f){i="dbcs-cont"}}else if(a.biff==12){i="wstr"}if(a.biff>=2&&a.biff<=5)i="cpstr";var l=n?e._R(n,i):"";r=s;return l}function ws(e){var t=r;r=1200;var a=e._R(2),n=e._R(1);var i=n&4,s=n&8;var f=1+(n&1);var l=0,o;var c={};if(s)l=e._R(2);if(i)o=e._R(4);var u=f==2?"dbcs-cont":"sbcs-cont";var h=a===0?"":e._R(a,u);if(s)e.l+=4*l;if(i)e.l+=o;c.t=h;if(!s){c.raw="<t>"+c.t+"</t>";c.r=c.t}r=t;return c}function ks(e){var r=e.t||"",t=1;var a=Ea(3+(t>1?2:0));a._W(2,r.length);a._W(1,(t>1?8:0)|1);if(t>1)a._W(2,t);var n=Ea(2*r.length);n._W(2*r.length,r,"utf16le");var i=[a,n];return P(i)}function Ts(e,r,t){var a;if(t){if(t.biff>=2&&t.biff<=5)return e._R(r,"cpstr");if(t.biff>=12)return e._R(r,"dbcs-cont")}var n=e._R(1);if(n===0){a=e._R(r,"sbcs-cont")}else{a=e._R(r,"dbcs-cont")}return a}function ys(e,r,t){var a=e._R(t&&t.biff==2?1:2);if(a===0){e.l++;return""}return Ts(e,a,t)}function Es(e,r,t){if(t.biff>5)return ys(e,r,t);var a=e._R(1);if(a===0){e.l++;return""}return e._R(a,t.biff<=4||!e.lens?"cpstr":"sbcs-cont")}function _s(e,r,t){if(!t)t=Ea(3+2*e.length);t._W(2,e.length);t._W(1,1);t._W(31,e,"utf16le");return t}function Ss(e){var r=e._R(1);e.l++;var t=e._R(2);e.l+=2;return[r,t]}function xs(e){var r=e._R(4),t=e.l;var a=false;if(r>24){e.l+=r-24;if(e._R(16)==="795881f43b1d7f48af2c825dc4852763")a=true;e.l=t}var n=e._R((a?r-24:r)>>1,"utf16le").replace(M,"");if(a)e.l+=24;return n}function As(e){var r=e._R(2);var t="";while(r-- >0)t+="../";var a=e._R(0,"lpstr-ansi");e.l+=2;if(e._R(2)!=57005)throw new Error("Bad FileMoniker");var n=e._R(4);if(n===0)return t+a.replace(/\\/g,"/");var i=e._R(4);if(e._R(2)!=3)throw new Error("Bad FileMoniker");var s=e._R(i>>1,"utf16le").replace(M,"");return t+s}function Cs(e,r){var t=e._R(16);r-=16;switch(t){case"e0c9ea79f9bace118c8200aa004ba90b":return xs(e,r);case"0303000000000000c000000000000046":return As(e,r);default:throw new Error("Unsupported Moniker "+t);}}function Rs(e){var r=e._R(4);var t=r>0?e._R(r,"utf16le").replace(M,""):"";return t}function Os(e,r){if(!r)r=Ea(6+e.length*2);r._W(4,1+e.length);for(var t=0;t<e.length;++t)r._W(2,e.charCodeAt(t));r._W(2,0);return r}function Is(e,r){var t=e.l+r;var a=e._R(4);if(a!==2)throw new Error("Unrecognized streamVersion: "+a);var n=e._R(2);e.l+=2;var i,s,f,l,o="",c,u;if(n&16)i=Rs(e,t-e.l);if(n&128)s=Rs(e,t-e.l);if((n&257)===257)f=Rs(e,t-e.l);if((n&257)===1)l=Cs(e,t-e.l);if(n&8)o=Rs(e,t-e.l);if(n&32)c=e._R(16);if(n&64)u=Wi(e);e.l=t;var h=s||f||l||"";if(h&&o)h+="#"+o;if(!h)h="#"+o;if(n&2&&h.charAt(0)=="/"&&h.charAt(1)!="/")h="file://"+h;var d={Target:h};if(c)d.guid=c;if(u)d.time=u;if(i)d.Tooltip=i;return d}function Ns(e){var r=Ea(512),t=0;var a=e.Target;if(a.slice(0,7)=="file://")a=a.slice(7);var n=a.indexOf("#");var i=n>-1?31:23;switch(a.charAt(0)){case"#":i=28;break;case".":i&=~2;break;}r._W(4,2);r._W(4,i);var s=[8,6815827,6619237,4849780,83];for(t=0;t<s.length;++t)r._W(4,s[t]);if(i==28){a=a.slice(1);Os(a,r)}else if(i&2){s="e0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" ");for(t=0;t<s.length;++t)r._W(1,parseInt(s[t],16));var f=n>-1?a.slice(0,n):a;r._W(4,2*(f.length+1));for(t=0;t<f.length;++t)r._W(2,f.charCodeAt(t));r._W(2,0);if(i&8)Os(n>-1?a.slice(n+1):"",r)}else{s="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" ");for(t=0;t<s.length;++t)r._W(1,parseInt(s[t],16));var l=0;while(a.slice(l*3,l*3+3)=="../"||a.slice(l*3,l*3+3)=="..\\")++l;r._W(2,l);r._W(4,a.length-3*l+1);for(t=0;t<a.length-3*l;++t)r._W(1,a.charCodeAt(t+3*l)&255);r._W(1,0);r._W(2,65535);r._W(2,57005);for(t=0;t<6;++t)r._W(4,0)}return r.slice(0,r.l)}function Fs(e){var r=e._R(1),t=e._R(1),a=e._R(1),n=e._R(1);return[r,t,a,n]}function Ds(e,r){var t=Fs(e,r);t[3]=0;return t}function Ps(e,r,t){var a=e._R(2);var n=e._R(2);var i={r:a,c:n,ixfe:0};if(t&&t.biff==2||r==7){var s=e._R(1);i.ixfe=s&63;e.l+=2}else i.ixfe=e._R(2);return i}function Ls(e,r,t,a){if(!a)a=Ea(6);a._W(2,e);a._W(2,r);a._W(2,t||0);return a}function Ms(e){var r=e._R(2);var t=e._R(2);e.l+=8;return{type:r,flags:t}}function Us(e,r,t){return r===0?"":Es(e,r,t)}function Bs(e,r,t){var a=t.biff>8?4:2;var n=e._R(a),i=e._R(a,"i"),s=e._R(a,"i");return[n,i,s]}function Ws(e){var r=e._R(2);var t=Tn(e);return[r,t]}function zs(e,r,t){e.l+=4;r-=4;var a=e.l+r;var n=gs(e,r,t);var i=e._R(2);a-=e.l;if(i!==a)throw new Error("Malformed AddinUdf: padding = "+a+" != "+i);e.l+=i;return n}function Hs(e){var r=e._R(2);var t=e._R(2);var a=e._R(2);var n=e._R(2);return{s:{c:a,r:r},e:{c:n,r:t}}}function Vs(e,r){if(!r)r=Ea(8);r._W(2,e.s.r);r._W(2,e.e.r);r._W(2,e.s.c);r._W(2,e.e.c);return r}function $s(e){var r=e._R(2);var t=e._R(2);var a=e._R(1);var n=e._R(1);return{s:{c:a,r:r},e:{c:n,r:t}}}var Xs=$s;function Gs(e){e.l+=4;var r=e._R(2);var t=e._R(2);var a=e._R(2);e.l+=12;return[t,r,a]}function js(e){var r={};e.l+=4;e.l+=16;r.fSharedNote=e._R(2);e.l+=4;return r}function Ks(e){var r={};e.l+=4;e.cf=e._R(2);return r}function Ys(e){e.l+=2;e.l+=e._R(2)}var Zs={0:Ys,4:Ys,5:Ys,6:Ys,7:Ks,8:Ys,9:Ys,10:Ys,11:Ys,12:Ys,13:js,14:Ys,15:Ys,16:Ys,17:Ys,18:Ys,19:Ys,20:Ys,21:Gs};function Js(e,r){var t=e.l+r;var a=[];while(e.l<t){var n=e._R(2);e.l-=2;try{a[n]=Zs[n](e,t-e.l)}catch(i){e.l=t;return a}}if(e.l!=t)e.l=t;return a}function qs(e,r){var t={BIFFVer:0,dt:0};t.BIFFVer=e._R(2);r-=2;if(r>=2){t.dt=e._R(2);e.l-=2}switch(t.BIFFVer){case 1536:;case 1280:;case 1024:;case 768:;case 512:;case 2:;case 7:break;default:if(r>6)throw new Error("Unexpected BIFF Ver "+t.BIFFVer);}e._R(r);return t}function Qs(e,r,t){var a=1536,n=16;switch(t.bookType){case"biff8":break;case"biff5":a=1280;n=8;break;case"biff4":a=4;n=6;break;case"biff3":a=3;n=6;break;case"biff2":a=2;n=4;break;case"xla":break;default:throw new Error("unsupported BIFF version");}var i=Ea(n);i._W(2,a);i._W(2,r);if(n>4)i._W(2,29282);if(n>6)i._W(2,1997);if(n>8){i._W(2,49161);i._W(2,1);i._W(2,1798);i._W(2,0)}return i}function ef(e,r){if(r===0)return 1200;if(e._R(2)!==1200){}return 1200}function rf(e,r,t){if(t.enc){e.l+=r;return""}var a=e.l;var n=Es(e,0,t);e._R(r+a-e.l);return n}function tf(e,r){var t=!r||r.biff==8;var a=Ea(t?112:54);a._W(r.biff==8?2:1,7);if(t)a._W(1,0);a._W(4,859007059);a._W(4,5458548|(t?0:536870912));while(a.l<a.length)a._W(1,t?0:32);return a}function af(e,r,t){var a=t&&t.biff==8||r==2?e._R(2):(e.l+=r,0);return{fDialog:a&16,fBelow:a&64,fRight:a&128}}function nf(e,r,t){var a="";if(t.biff==4){a=gs(e,0,t);if(a.length===0)a="Sheet1";return{name:a}}var n=e._R(4);var i=e._R(1)&3;var s=e._R(1);switch(s){case 0:s="Worksheet";break;case 1:s="Macrosheet";break;case 2:s="Chartsheet";break;case 6:s="VBAModule";break;}a=gs(e,0,t);if(a.length===0)a="Sheet1";return{pos:n,hs:i,dt:s,name:a}}function sf(e,r){var t=!r||r.biff>=8?2:1;var a=Ea(8+t*e.name.length);a._W(4,e.pos);a._W(1,e.hs||0);a._W(1,e.dt);a._W(1,e.name.length);if(r.biff>=8)a._W(1,1);a._W(t*e.name.length,e.name,r.biff<8?"sbcs":"utf16le");var n=a.slice(0,a.l);n.l=a.l;return n}function ff(e,r){var t=e.l+r;var a=e._R(4);var n=e._R(4);var i=[];for(var s=0;s!=n&&e.l<t;++s){i.push(ws(e))}i.Count=a;i.Unique=n;return i}function lf(e,r){var t=Ea(8);t._W(4,e.Count);t._W(4,e.Unique);var a=[];for(var n=0;n<e.length;++n)a[n]=ks(e[n],r);var i=P([t].concat(a));i.parts=[t.length].concat(a.map(function(e){return e.length}));return i}function of(e,r){var t={};t.dsst=e._R(2);e.l+=r-2;return t}function cf(e){var r={};r.r=e._R(2);r.c=e._R(2);r.cnt=e._R(2)-r.c;var t=e._R(2);e.l+=4;var a=e._R(1);e.l+=3;if(a&7)r.level=a&7;if(a&32)r.hidden=true;if(a&64)r.hpt=t/20;return r}function uf(e){var r=Ms(e);if(r.type!=2211)throw new Error("Invalid Future Record "+r.type);var t=e._R(4);return t!==0}function hf(e){e._R(2);return e._R(4)}function df(e,r,t){var a=0;if(!(t&&t.biff==2)){a=e._R(2)}var n=e._R(2);if(t&&t.biff==2){a=1-(n>>15);n&=32767}var i={Unsynced:a&1,DyZero:(a&2)>>1,ExAsc:(a&4)>>2,ExDsc:(a&8)>>3};return[i,n]}function vf(e){var r=e._R(2),t=e._R(2),a=e._R(2),n=e._R(2);var i=e._R(2),s=e._R(2),f=e._R(2);var l=e._R(2),o=e._R(2);return{Pos:[r,t],Dim:[a,n],Flags:i,CurTab:s,FirstTab:f,Selected:l,TabRatio:o}}function pf(){var e=Ea(18);e._W(2,0);e._W(2,0);e._W(2,29280);e._W(2,17600);e._W(2,56);e._W(2,0);e._W(2,0);e._W(2,1);e._W(2,500);return e}function mf(e,r,t){if(t&&t.biff>=2&&t.biff<5)return{};var a=e._R(2);return{RTL:a&64}}function bf(e){var r=Ea(18),t=1718;if(e&&e.RTL)t|=64;r._W(2,t);r._W(4,0);r._W(4,64);r._W(4,0);r._W(4,0);return r}function gf(){}function wf(e,r,t){var a={dyHeight:e._R(2),fl:e._R(2)};switch(t&&t.biff||8){case 2:break;case 3:;case 4:e.l+=2;break;default:e.l+=10;break;}a.name=gs(e,0,t);return a}function kf(e,r){var t=e.name||"Arial";var a=r&&r.biff==5,n=a?15+t.length:16+2*t.length;var i=Ea(n);i._W(2,(e.sz||12)*20);i._W(4,0);i._W(2,400);i._W(4,0);i._W(2,0);i._W(1,t.length);if(!a)i._W(1,1);i._W((a?1:2)*t.length,t,a?"sbcs":"utf16le");return i}function Tf(e,r,t){var a=Ps(e,r,t);a.isst=e._R(4);return a}function yf(e,r,t,a){var n=Ea(10);Ls(e,r,a,n);n._W(4,t);return n}function Ef(e,r,t){if(t.biffguess&&t.biff==2)t.biff=5;var a=e.l+r;var n=Ps(e,r,t);var i=ys(e,a-e.l,t);n.val=i;return n}function _f(e,r,t,a,n){var i=!n||n.biff==8;var s=Ea(6+2+ +i+(1+i)*t.length);Ls(e,r,a,s);s._W(2,t.length);if(i)s._W(1,1);s._W((1+i)*t.length,t,i?"utf16le":"sbcs");return s}function Sf(e,r,t){var a=e._R(2);var n=Es(e,0,t);return[a,n]}function xf(e,r,t,a){var n=t&&t.biff==5;if(!a)a=Ea(n?3+r.length:5+2*r.length);a._W(2,e);a._W(n?1:2,r.length);if(!n)a._W(1,1);a._W((n?1:2)*r.length,r,n?"sbcs":"utf16le");var i=a.length>a.l?a.slice(0,a.l):a;if(i.l==null)i.l=i.length;return i}var Af=Es;function Cf(e){var r=Ea(1+e.length);r._W(1,e.length);r._W(e.length,e,"sbcs");return r}function Rf(e){var r=Ea(3+e.length);r.l+=2;r._W(1,e.length);r._W(e.length,e,"sbcs");return r}function Of(e,r,t){var a=e.l+r;var n=t.biff==8||!t.biff?4:2;var i=e._R(n),s=e._R(n);var f=e._R(2),l=e._R(2);e.l=a;return{s:{r:i,c:f},e:{r:s,c:l}}}function If(e,r){var t=r.biff==8||!r.biff?4:2;var a=Ea(2*t+6);a._W(t,e.s.r);a._W(t,e.e.r+1);a._W(2,e.s.c);a._W(2,e.e.c+1);a._W(2,0);return a}function Nf(e){var r=e._R(2),t=e._R(2);var a=Ws(e);return{r:r,c:t,ixfe:a[0],rknum:a[1]}}function Ff(e,r){var t=e.l+r-2;var a=e._R(2),n=e._R(2);var i=[];while(e.l<t)i.push(Ws(e));if(e.l!==t)throw new Error("MulRK read error");var s=e._R(2);if(i.length!=s-n+1)throw new Error("MulRK length mismatch");return{r:a,c:n,C:s,rkrec:i}}function Df(e,r){var t=e.l+r-2;var a=e._R(2),n=e._R(2);var i=[];while(e.l<t)i.push(e._R(2));if(e.l!==t)throw new Error("MulBlank read error");var s=e._R(2);if(i.length!=s-n+1)throw new Error("MulBlank length mismatch");return{r:a,c:n,C:s,ixfe:i}}function Pf(e,r,t,a){var n={};var i=e._R(4),s=e._R(4);var f=e._R(4),l=e._R(2);n.patternType=qn[f>>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=l&127;n.icvBack=l>>7&127;n.fsxButton=l>>14&1;return n}function Lf(e,r,t){var a={};a.ifnt=e._R(2);a.numFmtId=e._R(2);a.flags=e._R(2);a.fStyle=a.flags>>2&1;r-=6;a.data=Pf(e,r,a.fStyle,t);return a}function Mf(e,r,t,a){var n=t&&t.biff==5;if(!a)a=Ea(n?16:20);a._W(2,0);if(e.style){a._W(2,e.numFmtId||0);a._W(2,65524)}else{a._W(2,e.numFmtId||0);a._W(2,r<<4)}var i=0;if(e.numFmtId>0&&n)i|=1024;a._W(4,i);a._W(4,0);if(!n)a._W(4,0);a._W(2,0);return a}function Uf(e){var r={};r.ifnt=e._R(1);e.l++;r.flags=e._R(1);r.numFmtId=r.flags&63;r.flags>>=6;r.fStyle=0;r.data={};return r}function Bf(e){var r=Ea(4);r.l+=2;r._W(1,e.numFmtId);r.l++;return r}function Wf(e){var r=Ea(12);r.l++;r._W(1,e.numFmtId);r.l+=10;return r}var zf=Wf;function Hf(e){var r={};r.ifnt=e._R(1);r.numFmtId=e._R(1);r.flags=e._R(2);r.fStyle=r.flags>>2&1;r.data={};return r}function Vf(e){var r={};r.ifnt=e._R(1);r.numFmtId=e._R(1);r.flags=e._R(2);r.fStyle=r.flags>>2&1;r.data={};return r}function $f(e){e.l+=4;var r=[e._R(2),e._R(2)];if(r[0]!==0)r[0]--;if(r[1]!==0)r[1]--;if(r[0]>7||r[1]>7)throw new Error("Bad Gutters: "+r.join("|"));return r}function Xf(e){var r=Ea(8);r._W(4,0);r._W(2,e[0]?e[0]+1:0);r._W(2,e[1]?e[1]+1:0);return r}function Gf(e,r,t){var a=Ps(e,6,t);var n=ms(e,2);a.val=n;a.t=n===true||n===false?"b":"e";return a}function jf(e,r,t,a,n,i){var s=Ea(8);Ls(e,r,a,s);bs(t,i,s);return s}function Kf(e,r,t){if(t.biffguess&&t.biff==2)t.biff=5;var a=Ps(e,6,t);var n=An(e,8);a.val=n;return a}function Yf(e,r,t,a){var n=Ea(14);Ls(e,r,a,n);Cn(t,n);return n}var Zf=Us;function Jf(e,r,t){var a=e.l+r;var n=e._R(2);var i=e._R(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=Ts(e,i);var f=[];while(a>e.l)f.push(ys(e));return[i,n,s,f]}function qf(e,r,t){var a=e._R(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=zs(e,r-2,t);i.body=n||e._R(r-2);if(typeof n==="string")i.Name=n;return i}function Qf(e,r,t){var a=e.l+r;var n=e._R(2);var i=e._R(1);var s=e._R(1);var f=e._R(t&&t.biff==2?1:2);var l=0;if(!t||t.biff>=5){if(t.biff!=5)e.l+=2;l=e._R(2);if(t.biff==5)e.l+=2;e.l+=4}var o=Ts(e,s,t);if(n&32)o=ni[o.charCodeAt(0)];var c=a-e.l;if(t&&t.biff==2)--c;var u=a==e.l||f===0||!(c>0)?[]:Wd(e,c,t,f);return{chKey:i,Name:o,itab:l,rgce:u}}function el(e,r,t){if(t.biff<8)return rl(e,r,t);if(!(t.biff>8)&&r==e[e.l]+(e[e.l+1]==3?1:0)+1)return rl(e,r,t);var a=[],n=e.l+r,i=e._R(t.biff>8?4:2);while(i--!==0)a.push(Bs(e,t.biff>8?12:6,t));if(e.l!=n)throw new Error("Bad ExternSheet: "+e.l+" != "+n);return a}function rl(e,r,t){if(e[e.l+1]==3)e[e.l]++;var a=gs(e,r,t);return a.charCodeAt(0)==3?a.slice(1):a}function tl(e,r,t){if(t.biff<8){e.l+=r;return}var a=e._R(2);var n=e._R(2);var i=Ts(e,a,t);var s=Ts(e,n,t);return[i,s]}function al(e,r,t){var a=$s(e,6);e.l++;var n=e._R(1);r-=8;return[zd(e,r,t),n,a]}function nl(e,r,t){var a=Xs(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,Ud(e,r,t,a)]}function il(e){var r=e._R(4)!==0;var t=e._R(4)!==0;var a=e._R(4);return[r,t,a]}function sl(e,r,t){var a=e._R(2),n=e._R(2);var i=e._R(2),s=e._R(2);var f=Es(e,0,t);return[{r:a,c:n},f,s,i]}function fl(e,r,t){if(t&&t.biff<8){var a=e._R(2),n=e._R(2);if(a==65535||a==-1)return;var i=e._R(2);var s=e._R(Math.min(i,2048),"cpstr");return[{r:a,c:n},s]}return sl(e,r,t)}function ll(e,r,t,a){var n=Ea(6+(a||e.length));n._W(2,r);n._W(2,t);n._W(2,a||e.length);n._W(e.length,e,"sbcs");return n}function ol(e,r){var t=[];var a=e._R(2);while(a--)t.push(Hs(e,r));return t}function cl(e){var r=Ea(2+e.length*8);r._W(2,e.length);for(var t=0;t<e.length;++t)Vs(e[t],r);return r}function ul(e,r,t){if(t&&t.biff<8)return dl(e,r,t);var a=Gs(e,22);var n=Js(e,r-22,a[1]);return{cmo:a,ft:n}}var hl={8:function(e,r){var t=e.l+r;e.l+=10;var a=e._R(2);e.l+=4;e.l+=2;e.l+=2;e.l+=2;e.l+=4;var n=e._R(1);e.l+=n;e.l=t;return{fmt:a}}};function dl(e,r,t){e.l+=4;var a=e._R(2);var n=e._R(2);var i=e._R(2);e.l+=2;e.l+=2;e.l+=2;e.l+=2;e.l+=2;e.l+=2;e.l+=2;e.l+=2;e.l+=2;e.l+=6;r-=36;var s=[];s.push((hl[a]||ya)(e,r,t));return{cmo:[n,a,i],ft:s}}function vl(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=Ss(e,6,t);var f=e._R(2);e._R(2);ds(e,2);var l=e._R(2);e.l+=l;for(var o=1;o<e.lens.length-1;++o){if(e.l-a!=e.lens[o])throw new Error("TxO: bad continue record");var c=e[e.l];var u=Ts(e,e.lens[o+1]-e.lens[o]-1);n+=u;if(n.length>=(c?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(h){e.l=a+r;return{t:n}}}function pl(e,r){var t=Hs(e,8);e.l+=16;var a=Is(e,r-24);return[t,a]}function ml(e){var r=Ea(24);var t=Wa(e[0]);r._W(2,t.r);r._W(2,t.r);r._W(2,t.c);r._W(2,t.c);var a="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" ");for(var n=0;n<16;++n)r._W(1,parseInt(a[n],16));return P([r,Ns(e[1])])}function bl(e,r){e._R(2);var t=Hs(e,8);var a=e._R((r-10)/2,"dbcs-cont");a=a.replace(M,"");return[t,a]}function gl(e){var r=e[1].Tooltip;var t=Ea(10+2*(r.length+1));t._W(2,2048);var a=Wa(e[0]);t._W(2,a.r);t._W(2,a.r);t._W(2,a.c);t._W(2,a.c);for(var n=0;n<r.length;++n)t._W(2,r.charCodeAt(n));t._W(2,0);return t}function wl(e){var r=[0,0],t;t=e._R(2);r[0]=Jn[t]||t;t=e._R(2);r[1]=Jn[t]||t;return r}function kl(e){if(!e)e=Ea(4);e._W(2,1);e._W(2,1);return e}function Tl(e){var r=e._R(2);var t=[];while(r-- >0)t.push(Ds(e,8));return t}function yl(e){var r=e._R(2);var t=[];while(r-- >0)t.push(Ds(e,8));return t}function El(e){e.l+=2;var r={cxfs:0,crc:0};r.cxfs=e._R(2);r.crc=e._R(4);return r}function _l(e,r,t){if(!t.cellStyles)return ya(e,r);var a=t&&t.biff>=12?4:2;var n=e._R(a);var i=e._R(a);var s=e._R(a);var f=e._R(a);var l=e._R(2);if(a==2)e.l+=2;var o={s:n,e:i,w:s,ixfe:f,flags:l};if(t.biff>=5||!t.biff)o.level=l>>8&7;return o}function Sl(e,r){var t=Ea(12);t._W(2,r);t._W(2,r);t._W(2,e.width*256);t._W(2,0);var a=0;if(e.hidden)a|=1;t._W(1,a);a=e.level||0;t._W(1,a);t._W(2,0);return t}function xl(e,r){var t={};if(r<32)return t;e.l+=16;t.header=An(e,8);t.footer=An(e,8);e.l+=2;return t}function Al(e,r,t){var a={area:false};if(t.biff!=5){e.l+=r;return a}var n=e._R(1);e.l+=3;if(n&16)a.area=true;return a}function Cl(e){var r=Ea(2*e);for(var t=0;t<e;++t)r._W(2,t+1);return r}var Rl=Ps;var Ol=ps;var Il=ys;function Nl(e){var r=e._R(2);var t=e._R(2);var a=e._R(4);var n={fmt:r,env:t,len:a,data:e.slice(e.l,e.l+a)};e.l+=a;return n}function Fl(e,r,t,a,n){if(!e)e=Ea(7);e._W(2,r);e._W(2,t);e._W(1,a||0);e._W(1,n||0);e._W(1,0);return e}function Dl(e,r,t){if(t.biffguess&&t.biff==5)t.biff=2;var a=Ps(e,7,t);var n=Es(e,r-7,t);a.t="str";a.val=n;return a}function Pl(e,r,t){var a=Ps(e,7,t);var n=An(e,8);a.t="n";a.val=n;return a}function Ll(e,r,t,a,n){var i=Ea(15);Fl(i,e,r,a||0,n||0);i._W(8,t,"f");return i}function Ml(e,r,t){var a=Ps(e,7,t);var n=e._R(2);a.t="n";a.val=n;return a}function Ul(e,r,t,a,n){var i=Ea(9);Fl(i,e,r,a||0,n||0);i._W(2,t);return i}function Bl(e){var r=e._R(1);if(r===0){e.l++;return""}return e._R(r,"sbcs-cont")}function Wl(e,r,t){var a=e.l+7;var n=Ps(e,6,t);e.l=a;var i=ms(e,2);n.val=i;n.t=i===true||i===false?"b":"e";return n}function zl(e,r){e.l+=6;e.l+=2;e.l+=1;e.l+=3;e.l+=1;e.l+=r-13}function Hl(e,r,t){var a=e.l+r;var n=Ps(e,6,t);var i=e._R(2);var s=Ts(e,i,t);e.l=a;n.t="str";n.val=s;return n}function Vl(e){var r=e._R(4);var t=e._R(1),a=e._R(t,"sbcs");if(a.length===0)a="Sheet1";return{flags:r,name:a}}var $l=[2,3,48,49,131,139,140,245];var Xl=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,108:863,134:737,135:852,136:857,204:1257,255:16969};var n=fr({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});function i(r,t){var n=[];var i=C(1);switch(t.type){case"base64":i=O(_(r));break;case"binary":i=O(r);break;case"buffer":;case"array":i=r;break;}Ta(i,0);var s=i._R(1);var f=!!(s&136);var l=false,o=false;switch(s){case 2:break;case 3:break;case 48:l=true;f=true;break;case 49:l=true;f=true;break;case 131:break;case 139:break;case 140:o=true;break;case 245:break;default:throw new Error("DBF Unsupported Version: "+s.toString(16));}var c=0,u=521;if(s==2)c=i._R(2);i.l+=3;if(s!=2)c=i._R(4);if(c>1048576)c=1e6;if(s!=2)u=i._R(2);var h=i._R(2);var d=t.codepage||1252;if(s!=2){i.l+=16;i._R(1);if(i[i.l]!==0)d=e[i[i.l]];i.l+=1;i.l+=2}if(o)i.l+=36;var v=[],p={};var m=Math.min(i.length,s==2?521:u-10-(l?264:0));var b=o?32:11;while(i.l<m&&i[i.l]!=13){p={};p.name=(typeof a!=="undefined"?a.utils.decode(d,i.slice(i.l,i.l+b)):N(i.slice(i.l,i.l+b))).replace(/[\u0000\r\n].*$/g,"");i.l+=b;p.type=String.fromCharCode(i._R(1));if(s!=2&&!o)p.offset=i._R(4);p.len=i._R(1);if(s==2)p.offset=i._R(2);p.dec=i._R(1);if(p.name.length)v.push(p);if(s!=2)i.l+=o?13:14;switch(p.type){case"B":if((!l||p.len!=8)&&t.WTF)console.log("Skipping "+p.name+":"+p.type);break;case"G":;case"P":if(t.WTF)console.log("Skipping "+p.name+":"+p.type);break;case"+":;case"0":;case"@":;case"C":;case"D":;case"F":;case"I":;case"L":;case"M":;case"N":;case"O":;case"T":;case"Y":break;default:throw new Error("Unknown Field Type: "+p.type);}}if(i[i.l]!==13)i.l=u-1;if(i._R(1)!==13)throw new Error("DBF Terminator not found "+i.l+" "+i[i.l]);i.l=u;var g=0,w=0;n[0]=[];for(w=0;w!=v.length;++w)n[0][w]=v[w].name;while(c-- >0){if(i[i.l]===42){i.l+=h;continue}++i.l;n[++g]=[];w=0;for(w=0;w!=v.length;++w){var k=i.slice(i.l,i.l+v[w].len);i.l+=v[w].len;Ta(k,0);var T=typeof a!=="undefined"?a.utils.decode(d,k):N(k);switch(v[w].type){case"C":if(T.trim().length)n[g][w]=T.replace(/\s+$/,"");break;case"D":if(T.length===8){n[g][w]=new Date(Date.UTC(+T.slice(0,4),+T.slice(4,6)-1,+T.slice(6,8),0,0,0,0));if(!(t&&t.UTC)){n[g][w]=Fr(n[g][w])}}else n[g][w]=T;break;case"F":n[g][w]=parseFloat(T.trim());break;case"+":;case"I":n[g][w]=o?k._R(-4,"i")^2147483648:k._R(4,"i");break;case"L":switch(T.trim().toUpperCase()){case"Y":;case"T":n[g][w]=true;break;case"N":;case"F":n[g][w]=false;break;case"":;case"\0":;case"?":break;default:throw new Error("DBF Unrecognized L:|"+T+"|");}break;case"M":if(!f)throw new Error("DBF Unexpected MEMO for type "+s.toString(16));n[g][w]="##MEMO##"+(o?parseInt(T.trim(),10):k._R(4));break;case"N":T=T.replace(/\u0000/g,"").trim();if(T&&T!=".")n[g][w]=+T||0;break;case"@":n[g][w]=new Date(k._R(-8,"f")-621356832e5);break;case"T":{var y=k._R(4),E=k._R(4);if(y==0&&E==0)break;n[g][w]=new Date((y-2440588)*864e5+E);if(!(t&&t.UTC))n[g][w]=Fr(n[g][w])}break;case"Y":n[g][w]=k._R(4,"i")/1e4+k._R(4,"i")/1e4*Math.pow(2,32);break;case"O":n[g][w]=-k._R(-8,"f");break;case"B":if(l&&v[w].len==8){n[g][w]=k._R(8,"f");break};case"G":;case"P":k.l+=v[w].len;break;case"0":if(v[w].name==="_NullFlags")break;default:throw new Error("DBF Unsupported data type "+v[w].type);}}}if(s!=2)if(i.l<i.length&&i[i.l++]!=26)throw new Error("DBF EOF Marker missing "+(i.l-1)+" of "+i.length+" "+i[i.l-1].toString(16));if(t&&t.sheetRows)n=n.slice(0,t.sheetRows);t.DBF=v;return n}function s(e,r){var t=r||{};if(!t.dateNF)t.dateNF="yyyymmdd";var a=qa(i(e,t),t);a["!cols"]=t.DBF.map(function(e){return{wch:e.len,DBF:e}});delete t.DBF;return a}function f(e,r){try{var t=Ya(s(e,r),r);t.bookType="dbf";return t}catch(a){if(r&&r.WTF)throw a}return{SheetNames:[],Sheets:{}}}var o={B:8,C:250,L:1,D:8,"?":0,"":0};function c(i,s){if(!i["!ref"])throw new Error("Cannot export empty sheet to DBF");var f=s||{};var c=r;if(+f.codepage>=0)l(+f.codepage);if(f.type=="string")throw new Error("Cannot write DBF to JS string");var u=Sa();var h=Mk(i,{header:1,raw:true,cellDates:true});var d=h[0],v=h.slice(1),p=i["!cols"]||[];var m=0,b=0,g=0,w=1;for(m=0;m<d.length;++m){if(((p[m]||{}).DBF||{}).name){d[m]=p[m].DBF.name;++g;continue}if(d[m]==null)continue;++g;if(typeof d[m]==="number")d[m]=d[m].toString(10);if(typeof d[m]!=="string")throw new Error("DBF Invalid column name "+d[m]+" |"+typeof d[m]+"|");if(d.indexOf(d[m])!==m)for(b=0;b<1024;++b)if(d.indexOf(d[m]+"_"+b)==-1){d[m]+="_"+b;break}}var k=Ga(i["!ref"]);var T=[];var y=[];var E=[];for(m=0;m<=k.e.c-k.s.c;++m){var _="",S="",x=0;var A=[];for(b=0;b<v.length;++b){if(v[b][m]!=null)A.push(v[b][m])}if(A.length==0||d[m]==null){T[m]="?";continue}for(b=0;b<A.length;++b){switch(typeof A[b]){case"number":S="B";break;case"string":S="C";break;case"boolean":S="L";break;case"object":S=A[b]instanceof Date?"D":"C";break;default:S="C";}x=Math.max(x,(typeof a!=="undefined"&&typeof A[b]=="string"?a.utils.encode(t,A[b]):String(A[b])).length); -_=_&&_!=S?"C":S}if(x>250)x=250;S=((p[m]||{}).DBF||{}).type;if(S=="C"){if(p[m].DBF.len>x)x=p[m].DBF.len}if(_=="B"&&S=="N"){_="N";E[m]=p[m].DBF.dec;x=p[m].DBF.len}y[m]=_=="C"||S=="N"?x:o[_]||0;w+=y[m];T[m]=_}var C=u.next(32);C._W(4,318902576);C._W(4,v.length);C._W(2,296+32*g);C._W(2,w);for(m=0;m<4;++m)C._W(4,0);var R=+n[r]||3;C._W(4,0|R<<8);if(e[R]!=+f.codepage){if(f.codepage)console.error("DBF Unsupported codepage "+r+", using 1252");r=1252}for(m=0,b=0;m<d.length;++m){if(d[m]==null)continue;var O=u.next(32);var I=(d[m].slice(-10)+"\0\0\0\0\0\0\0\0\0\0\0").slice(0,11);O._W(1,I,"sbcs");O._W(1,T[m]=="?"?"C":T[m],"sbcs");O._W(4,b);O._W(1,y[m]||o[T[m]]||0);O._W(1,E[m]||0);O._W(1,2);O._W(4,0);O._W(1,0);O._W(4,0);O._W(4,0);b+=y[m]||o[T[m]]||0}var N=u.next(264);N._W(4,13);for(m=0;m<65;++m)N._W(4,0);for(m=0;m<v.length;++m){var F=u.next(w);F._W(1,0);for(b=0;b<d.length;++b){if(d[b]==null)continue;switch(T[b]){case"L":F._W(1,v[m][b]==null?63:v[m][b]?84:70);break;case"B":F._W(8,v[m][b]||0,"f");break;case"N":var D="0";if(typeof v[m][b]=="number")D=v[m][b].toFixed(E[b]||0);if(D.length>y[b])D=D.slice(0,y[b]);for(g=0;g<y[b]-D.length;++g)F._W(1,32);F._W(1,D,"sbcs");break;case"D":if(!v[m][b])F._W(8,"00000000","sbcs");else{F._W(4,("0000"+v[m][b].getFullYear()).slice(-4),"sbcs");F._W(2,("00"+(v[m][b].getMonth()+1)).slice(-2),"sbcs");F._W(2,("00"+v[m][b].getDate()).slice(-2),"sbcs")}break;case"C":var P=F.l;var L=String(v[m][b]!=null?v[m][b]:"").slice(0,y[b]);F._W(1,L,"cpstr");P+=y[b]-F.l;for(g=0;g<P;++g)F._W(1,32);break;}}}r=c;u.next(1)._W(1,26);return u.end()}return{to_workbook:f,to_sheet:s,from_sheet:c}}();var Gl=function(){var e={AA:"À",BA:"Á",CA:"Â",DA:195,HA:"Ä",JA:197,AE:"È",BE:"É",CE:"Ê",HE:"Ë",AI:"Ì",BI:"Í",CI:"Î",HI:"Ï",AO:"Ò",BO:"Ó",CO:"Ô",DO:213,HO:"Ö",AU:"Ù",BU:"Ú",CU:"Û",HU:"Ü",Aa:"à",Ba:"á",Ca:"â",Da:227,Ha:"ä",Ja:229,Ae:"è",Be:"é",Ce:"ê",He:"ë",Ai:"ì",Bi:"í",Ci:"î",Hi:"ï",Ao:"ò",Bo:"ó",Co:"ô",Do:245,Ho:"ö",Au:"ù",Bu:"ú",Cu:"û",Hu:"ü",KC:"Ç",Kc:"ç",q:"æ",z:"œ",a:"Æ",j:"Œ",DN:209,Dn:241,Hy:255,S:169,c:170,R:174,"B ":180,0:176,1:177,2:178,3:179,5:181,6:182,7:183,Q:185,k:186,b:208,i:216,l:222,s:240,y:248,"!":161,'"':162,"#":163,"(":164,"%":165,"'":167,"H ":168,"+":171,";":187,"<":188,"=":189,">":190,"?":191,"{":223};var r=new RegExp("N("+ir(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1").replace("{","\\{")+"|\\|)","gm");try{r=new RegExp("N("+ir(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm")}catch(t){}var n=function(r,t){var a=e[t];return typeof a=="number"?m(a):a};var i=function(e,r,t){var a=r.charCodeAt(0)-32<<4|t.charCodeAt(0)-48;return a==59?e:m(a)};e["|"]=254;var s=function(e){return e.replace(/\n/g," :").replace(/\r/g," =")};function f(e,r){switch(r.type){case"base64":return o(_(e),r);case"binary":return o(e,r);case"buffer":return o(S&&Buffer.isBuffer(e)?e.toString("binary"):N(e),r);case"array":return o(kr(e),r);}throw new Error("Unrecognized type "+r.type)}function o(e,t){var s=e.split(/[\n\r]+/),f=-1,o=-1,c=0,u=0,h=[];var d=[];var v=null;var p={},m=[],b=[],g=[];var w=0,k;var T={Workbook:{WBProps:{},Names:[]}};if(+t.codepage>=0)l(+t.codepage);for(;c!==s.length;++c){w=0;var y=s[c].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,i).replace(r,n);var E=y.replace(/;;/g,"\0").split(";").map(function(e){return e.replace(/\u0000/g,";")});var _=E[0],S;if(y.length>0)switch(_){case"ID":break;case"E":break;case"B":break;case"O":for(u=1;u<E.length;++u)switch(E[u].charAt(0)){case"V":{var x=parseInt(E[u].slice(1),10);if(x>=1&&x<=4)T.Workbook.WBProps.date1904=true}break;}break;case"W":break;case"P":switch(E[1].charAt(0)){case"P":d.push(y.slice(3).replace(/;;/g,";"));break;}break;case"NN":{var A={Sheet:0};for(u=1;u<E.length;++u)switch(E[u].charAt(0)){case"N":A.Name=E[u].slice(1);break;case"E":A.Ref=(t&&t.sheet||"Sheet1")+"!"+rh(E[u].slice(1));break;}T.Workbook.Names.push(A)}break;case"C":var C=false,R=false,O=false,I=false,N=-1,F=-1,D="",P="z";var L="";for(u=1;u<E.length;++u)switch(E[u].charAt(0)){case"A":L=E[u].slice(1);break;case"X":o=parseInt(E[u].slice(1),10)-1;R=true;break;case"Y":f=parseInt(E[u].slice(1),10)-1;if(!R)o=0;for(k=h.length;k<=f;++k)h[k]=[];break;case"K":S=E[u].slice(1);if(S.charAt(0)==='"'){S=S.slice(1,S.length-1);P="s"}else if(S==="TRUE"||S==="FALSE"){S=S==="TRUE";P="b"}else if(!isNaN(Er(S))){S=Er(S);P="n";if(v!==null&&Le(v)&&t.cellDates){S=vr(T.Workbook.WBProps.date1904?S+1462:S);P=typeof S=="number"?"n":"d"}}if(typeof a!=="undefined"&&typeof S=="string"&&(t||{}).type!="string"&&(t||{}).codepage)S=a.utils.decode(t.codepage,S);C=true;break;case"E":I=true;D=rh(E[u].slice(1),{r:f,c:o});break;case"S":O=true;break;case"G":break;case"R":N=parseInt(E[u].slice(1),10)-1;break;case"C":F=parseInt(E[u].slice(1),10)-1;break;default:if(t&&t.WTF)throw new Error("SYLK bad record "+y);}if(C){if(!h[f][o])h[f][o]={t:P,v:S};else{h[f][o].t=P;h[f][o].v=S}if(v)h[f][o].z=v;if(t.cellText!==false&&v)h[f][o].w=ze(h[f][o].z,h[f][o].v,{date1904:T.Workbook.WBProps.date1904});v=null}if(O){if(I)throw new Error("SYLK shared formula cannot have own formula");var M=N>-1&&h[N][F];if(!M||!M[1])throw new Error("SYLK shared formula cannot find base");D=ih(M[1],{r:f-N,c:o-F})}if(D){if(!h[f][o])h[f][o]={t:"n",f:D};else h[f][o].f=D}if(L){if(!h[f][o])h[f][o]={t:"z"};h[f][o].c=[{a:"SheetJSYLK",t:L}]}break;case"F":var U=0;for(u=1;u<E.length;++u)switch(E[u].charAt(0)){case"X":o=parseInt(E[u].slice(1),10)-1;++U;break;case"Y":f=parseInt(E[u].slice(1),10)-1;for(k=h.length;k<=f;++k)h[k]=[];break;case"M":w=parseInt(E[u].slice(1),10)/20;break;case"F":break;case"G":break;case"P":v=d[parseInt(E[u].slice(1),10)];break;case"S":break;case"D":break;case"N":break;case"W":g=E[u].slice(1).split(" ");for(k=parseInt(g[0],10);k<=parseInt(g[1],10);++k){w=parseInt(g[2],10);b[k-1]=w===0?{hidden:true}:{wch:w}}break;case"C":o=parseInt(E[u].slice(1),10)-1;if(!b[o])b[o]={};break;case"R":f=parseInt(E[u].slice(1),10)-1;if(!m[f])m[f]={};if(w>0){m[f].hpt=w;m[f].hpx=lc(w)}else if(w===0)m[f].hidden=true;break;default:if(t&&t.WTF)throw new Error("SYLK bad record "+y);}if(U<1)v=null;break;default:if(t&&t.WTF)throw new Error("SYLK bad record "+y);}}if(m.length>0)p["!rows"]=m;if(b.length>0)p["!cols"]=b;b.forEach(function(e){nc(e)});if(t&&t.sheetRows)h=h.slice(0,t.sheetRows);return[h,p,T]}function c(e,r){var t=f(e,r);var a=t[0],n=t[1],i=t[2];var s=Tr(r);s.date1904=(((i||{}).Workbook||{}).WBProps||{}).date1904;var l=qa(a,s);ir(n).forEach(function(e){l[e]=n[e]});var o=Ya(l,r);ir(i).forEach(function(e){o[e]=i[e]});o.bookType="sylk";return o}function u(e,r,t,a,n,i){var s="C;Y"+(t+1)+";X"+(a+1)+";K";switch(e.t){case"n":s+=e.v||0;if(e.f&&!e.F)s+=";E"+nh(e.f,{r:t,c:a});break;case"b":s+=e.v?"TRUE":"FALSE";break;case"e":s+=e.w||e.v;break;case"d":s+=dr(wr(e.v,i),i);break;case"s":s+='"'+(e.v==null?"":String(e.v)).replace(/"/g,"").replace(/;/g,";;")+'"';break;}return s}function h(e,r,t){var a="C;Y"+(r+1)+";X"+(t+1)+";A";a+=s(e.map(function(e){return e.t}).join(""));return a}function d(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)r.wpx=Qo(r.width);if(typeof r.wpx=="number"&&!r.wch)r.wch=ec(r.wpx);if(typeof r.wch=="number")a+=Math.round(r.wch)}if(a.charAt(a.length-1)!=" ")e.push(a)})}function v(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*fc(r.hpx)+";";if(a.length>2)e.push(a+"R"+(t+1))})}function p(e,r,t){if(!r)r={};r._formats=["General"];var a=["ID;PSheetJS;N;E"],n=[];var i=Ga(e["!ref"]||"A1"),s;var f=e["!data"]!=null;var l="\r\n";var o=(((t||{}).Workbook||{}).WBProps||{}).date1904;var c="General";a.push("P;PGeneral");var p=i.s.r,m=i.s.c,b=[];if(e["!ref"])for(p=i.s.r;p<=i.e.r;++p){if(f&&!e["!data"][p])continue;b=[];for(m=i.s.c;m<=i.e.c;++m){s=f?e["!data"][p][m]:e[La(m)+Na(p)];if(!s||!s.c)continue;b.push(h(s.c,p,m))}if(b.length)n.push(b.join(l))}if(e["!ref"])for(p=i.s.r;p<=i.e.r;++p){if(f&&!e["!data"][p])continue;b=[];for(m=i.s.c;m<=i.e.c;++m){s=f?e["!data"][p][m]:e[La(m)+Na(p)];if(!s||s.v==null&&(!s.f||s.F))continue;if((s.z||(s.t=="d"?q[14]:"General"))!=c){var g=r._formats.indexOf(s.z);if(g==-1){r._formats.push(s.z);g=r._formats.length-1;a.push("P;P"+s.z.replace(/;/g,";;"))}b.push("F;P"+g+";Y"+(p+1)+";X"+(m+1))}b.push(u(s,e,p,m,r,o))}n.push(b.join(l))}a.push("F;P0;DG0G8;M255");if(e["!cols"])d(a,e["!cols"]);if(e["!rows"])v(a,e["!rows"]);if(e["!ref"])a.push("B;Y"+(i.e.r-i.s.r+1)+";X"+(i.e.c-i.s.c+1)+";D"+[i.s.c,i.s.r,i.e.c,i.e.r].join(" "));a.push("O;L;D;B"+(o?";V4":"")+";K47;G100 0.001");delete r._formats;return a.join(l)+l+n.join(l)+l+"E"+l}return{to_workbook:c,from_sheet:p}}();var jl=function(){function e(e,t){switch(t.type){case"base64":return r(_(e),t);case"binary":return r(e,t);case"buffer":return r(S&&Buffer.isBuffer(e)?e.toString("binary"):N(e),t);case"array":return r(kr(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 l=f[0],o=f[1];++i;var c=t[i]||"";while((c.match(/["]/g)||[]).length&1&&i<t.length-1)c+="\n"+t[++i];c=c.trim();switch(+l){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(!isNaN(Er(o)))s[a][n]=Er(o);else if(!isNaN(Ir(o).getDate())){s[a][n]=wr(o);if(!(r&&r.UTC)){s[a][n]=Fr(s[a][n])}}else s[a][n]=o;++n;break;case 1:c=c.slice(1,c.length-1);c=c.replace(/""/g,'"');if(w&&c&&c.match(/^=".*"$/))c=c.slice(2,-1);s[a][n++]=c!==""?c:null;break;}if(c==="EOD")break}if(r&&r.sheetRows)s=s.slice(0,r.sheetRows);return s}function t(r,t){return qa(e(r,t),t)}function a(e,r){var a=Ya(t(e,r),r);a.bookType="dif";return a}function n(e,r){return"0,"+String(e)+"\r\n"+r}function i(e){return'1,0\r\n"'+e.replace(/"/g,'""')+'"'}function s(e){var r=w;if(!e["!ref"])throw new Error("Cannot export empty sheet to DIF");var t=Ga(e["!ref"]);var a=e["!data"]!=null;var s=['TABLE\r\n0,1\r\n"sheetjs"\r\n',"VECTORS\r\n0,"+(t.e.r-t.s.r+1)+'\r\n""\r\n',"TUPLES\r\n0,"+(t.e.c-t.s.c+1)+'\r\n""\r\n','DATA\r\n0,0\r\n""\r\n'];for(var f=t.s.r;f<=t.e.r;++f){var l=a?e["!data"][f]:[];var o="-1,0\r\nBOT\r\n";for(var c=t.s.c;c<=t.e.c;++c){var u=a?l&&l[c]:e[za({r:f,c:c})];if(u==null){o+='1,0\r\n""\r\n';continue}switch(u.t){case"n":if(r){if(u.w!=null)o+="0,"+u.w+"\r\nV";else if(u.v!=null)o+=n(u.v,"V");else if(u.f!=null&&!u.F)o+=i("="+u.f);else o+='1,0\r\n""'}else{if(u.v==null)o+='1,0\r\n""';else o+=n(u.v,"V")}break;case"b":o+=u.v?n(1,"TRUE"):n(0,"FALSE");break;case"s":o+=i(!r||isNaN(+u.v)?u.v:'="'+u.v+'"');break;case"d":if(!u.w)u.w=ze(u.z||q[14],dr(wr(u.v)));if(r)o+=n(u.w,"V");else o+=i(u.w);break;default:o+='1,0\r\n""';}o+="\r\n"}s.push(o)}return s.join("")+"-1,0\r\nEOD"}return{to_workbook:a,to_sheet:t,from_sheet:s}}();var Kl=function(){function e(e){return e.replace(/\\b/g,"\\").replace(/\\c/g,":").replace(/\\n/g,"\n")}function r(e){return e.replace(/\\/g,"\\b").replace(/:/g,"\\c").replace(/\n/g,"\\n")}function t(r,t){var a=r.split("\n"),n=-1,i=-1,s=0,f=[];for(;s!==a.length;++s){var l=a[s].trim().split(":");if(l[0]!=="cell")continue;var o=Wa(l[1]);if(f.length<=o.r)for(n=f.length;n<=o.r;++n)if(!f[n])f[n]=[];n=o.r;i=o.c;switch(l[2]){case"t":f[n][i]=e(l[3]);break;case"v":f[n][i]=+l[3];break;case"vtf":var c=l[l.length-1];case"vtc":switch(l[3]){case"nl":f[n][i]=+l[4]?true:false;break;default:f[n][i]=+l[4];break;}if(l[2]=="vtf")f[n][i]=[f[n][i],c];}}if(t&&t.sheetRows)f=f.slice(0,t.sheetRows);return f}function a(e,r){return qa(t(e,r),r)}function n(e,r){return Ya(a(e,r),r)}var i=["socialcalc:version:1.5","MIME-Version: 1.0","Content-Type: multipart/mixed; boundary=SocialCalcSpreadsheetControlSave"].join("\n");var s=["--SocialCalcSpreadsheetControlSave","Content-type: text/plain; charset=UTF-8"].join("\n")+"\n";var f=["# SocialCalc Spreadsheet Control Save","part:sheet"].join("\n");var l="--SocialCalcSpreadsheetControlSave--";function o(e){if(!e||!e["!ref"])return"";var t=[],a=[],n,i="";var s=Ha(e["!ref"]);var f=e["!data"]!=null;for(var l=s.s.r;l<=s.e.r;++l){for(var o=s.s.c;o<=s.e.c;++o){i=za({r:l,c:o});n=f?(e["!data"][l]||[])[o]:e[i];if(!n||n.v==null||n.t==="z")continue;a=["cell",i,"t"];switch(n.t){case"s":;case"str":a.push(r(n.v));break;case"n":if(!n.f){a[2]="v";a[3]=n.v}else{a[2]="vtf";a[3]="n";a[4]=n.v;a[5]=r(n.f)}break;case"b":a[2]="vt"+(n.f?"f":"c");a[3]="nl";a[4]=n.v?"1":"0";a[5]=r(n.f||(n.v?"TRUE":"FALSE"));break;case"d":var c=dr(wr(n.v));a[2]="vtc";a[3]="nd";a[4]=""+c;a[5]=n.w||ze(n.z||q[14],c);break;case"e":continue;}t.push(a.join(":"))}}t.push("sheet:c:"+(s.e.c-s.s.c+1)+":r:"+(s.e.r-s.s.r+1)+":tvf:1");t.push("valueformat:1:text-wiki");return t.join("\n")}function c(e){return[i,s,f,s,o(e),l].join("\n")}return{to_workbook:n,to_sheet:a,from_sheet:c}}();var Yl=function(){function e(e,r,t,a,n){if(n.raw)r[t][a]=e;else if(e===""){}else if(e==="TRUE")r[t][a]=true;else if(e==="FALSE")r[t][a]=false;else if(!isNaN(Er(e)))r[t][a]=Er(e);else if(!isNaN(Ir(e).getDate()))r[t][a]=wr(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,l=0;var o=0;for(;o<=s;++o){l=i[o].indexOf(" ");if(l==-1)l=i[o].length;else l++;f=Math.max(f,l)}for(o=0;o<=s;++o){n[o]=[];var c=0;e(i[o].slice(0,f).trim(),n,o,c,a);for(c=1;c<=(i[o].length-f)/10+1;++c)e(i[o].slice(f+(c-1)*10,f+c*10).trim(),n,o,c,a)}if(a.sheetRows)n=n.slice(0,a.sheetRows);return n}var t={44:",",9:"\t",59:";",124:"|"};var n={44:3,9:2,59:1,124:0};function i(e){var r={},a=false,i=0,s=0;for(;i<e.length;++i){if((s=e.charCodeAt(i))==34)a=!a;else if(!a&&s in t)r[s]=(r[s]||0)+1}s=[];for(i in r)if(Object.prototype.hasOwnProperty.call(r,i)){s.push([r[i],i])}if(!s.length){r=n;for(i in r)if(Object.prototype.hasOwnProperty.call(r,i)){s.push([r[i],i])}}s.sort(function(e,r){return e[0]-r[0]||n[e[1]]-n[r[1]]});return t[s.pop()[1]]||44}function s(e,r){var t=r||{};var a="";if(g!=null&&t.dense==null)t.dense=g;var n={};if(t.dense)n["!data"]=[];var s={s:{c:0,r:0},e:{c:0,r:0}};if(e.slice(0,4)=="sep="){if(e.charCodeAt(5)==13&&e.charCodeAt(6)==10){a=e.charAt(4);e=e.slice(7)}else if(e.charCodeAt(5)==13||e.charCodeAt(5)==10){a=e.charAt(4);e=e.slice(6)}else a=i(e.slice(0,1024))}else if(t&&t.FS)a=t.FS;else a=i(e.slice(0,1024));var f=0,l=0,o=0;var c=0,u=0,h=a.charCodeAt(0),d=false,v=0,p=e.charCodeAt(0);var m=t.dateNF!=null?Ke(t.dateNF):null;function b(){var r=e.slice(c,u);if(r.slice(-1)=="\r")r=r.slice(0,-1);var a={};if(r.charAt(0)=='"'&&r.charAt(r.length-1)=='"')r=r.slice(1,-1).replace(/""/g,'"');if(t.cellText!==false)a.w=r;if(r.length===0)a.t="z";else if(t.raw){a.t="s";a.v=r}else if(r.trim().length===0){a.t="s";a.v=r}else if(r.charCodeAt(0)==61){if(r.charCodeAt(1)==34&&r.charCodeAt(r.length-1)==34){a.t="s";a.v=r.slice(2,-1).replace(/""/g,'"')}else if(fh(r)){a.t="s";a.f=r.slice(1);a.v=r}else{a.t="s";a.v=r}}else if(r=="TRUE"){a.t="b";a.v=true}else if(r=="FALSE"){a.t="b";a.v=false}else if(!isNaN(o=Er(r))){a.t="n";a.v=o}else if(!isNaN((o=Ir(r)).getDate())||m&&r.match(m)){a.z=t.dateNF||q[14];if(m&&r.match(m)){var i=Ye(r,t.dateNF,r.match(m)||[]);o=wr(i);if(t&&t.UTC===false)o=Fr(o)}else if(t&&t.UTC===false)o=Fr(o);else if(t.cellText!==false&&t.dateNF)a.w=ze(a.z,o);if(t.cellDates){a.t="d";a.v=o}else{a.t="n";a.v=dr(o)}if(!t.cellNF)delete a.z}else{a.t="s";a.v=r}if(a.t=="z"){}else if(t.dense){if(!n["!data"][f])n["!data"][f]=[];n["!data"][f][l]=a}else n[za({c:l,r:f})]=a;c=u+1;p=e.charCodeAt(c);if(s.e.c<l)s.e.c=l;if(s.e.r<f)s.e.r=f;if(v==h)++l;else{l=0;++f;if(t.sheetRows&&t.sheetRows<=f)return true}}e:for(;u<e.length;++u)switch(v=e.charCodeAt(u)){case 34:if(p===34)d=!d;break;case 13:if(d)break;if(e.charCodeAt(u+1)==10)++u;case h:;case 10:if(!d&&b())break e;break;default:break;}if(u-c>0)b();n["!ref"]=Va(s);return n}function f(e,t){if(!(t&&t.PRN))return s(e,t);if(t.FS)return s(e,t);if(e.slice(0,4)=="sep=")return s(e,t);if(e.indexOf("\t")>=0||e.indexOf(",")>=0||e.indexOf(";")>=0)return s(e,t);return qa(r(e,t),t)}function l(e,r){var t="",n=r.type=="string"?[0,0,0,0]:uk(e,r);switch(r.type){case"base64":t=_(e);break;case"binary":t=e;break;case"buffer":if(r.codepage==65001)t=e.toString("utf8");else if(r.codepage&&typeof a!=="undefined")t=a.utils.decode(r.codepage,e);else t=S&&Buffer.isBuffer(e)?e.toString("binary"):N(e);break;case"array":t=kr(e);break;case"string":t=e;break;default:throw new Error("Unrecognized type "+r.type);}if(n[0]==239&&n[1]==187&&n[2]==191)t=kt(t.slice(3));else if(r.type!="string"&&r.type!="buffer"&&r.codepage==65001)t=kt(t);else if(r.type=="binary"&&typeof a!=="undefined"&&r.codepage)t=a.utils.decode(r.codepage,a.utils.encode(28591,t));if(t.slice(0,19)=="socialcalc:version:")return Kl.to_sheet(r.type=="string"?t:kt(t),r);return f(t,r)}function o(e,r){return Ya(l(e,r),r)}function c(e){var r=[];if(!e["!ref"])return"";var t=Ga(e["!ref"]),a;var n=e["!data"]!=null;for(var i=t.s.r;i<=t.e.r;++i){var s=[];for(var f=t.s.c;f<=t.e.c;++f){var l=za({r:i,c:f});a=n?(e["!data"][i]||[])[f]:e[l];if(!a||a.v==null){s.push(" ");continue}var o=(a.w||(Ka(a),a.w)||"").slice(0,10);while(o.length<10)o+=" ";s.push(o+(f===0?" ":""))}r.push(s.join(""))}return r.join("\n")}return{to_workbook:o,to_sheet:l,from_sheet:c}}();function Zl(e,r){var t=r||{},a=!!t.WTF;t.WTF=true;try{var n=Gl.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 Yl.to_workbook(e,r)}}var Jl=function(){function e(e,r,t){if(!e)return;Ta(e,e.l||0);var a=t.Enum||V;while(e.l<e.length){var n=e._R(2);var i=a[n]||a[65535];var s=e._R(2);var f=e.l+s;var l=i.f&&i.f(e,s,t);e.l=f;if(r(l,i,n))return}}function r(e,r){switch(r.type){case"base64":return a(O(_(e)),r);case"binary":return a(O(e),r);case"buffer":;case"array":return a(e,r);}throw"Unsupported type "+r.type}var t=["mmmm","dd-mmm-yyyy","dd-mmm","mmm-yyyy","@","mm/dd","hh:mm:ss AM/PM","hh:mm AM/PM","mm/dd/yyyy","mm/dd","hh:mm:ss","hh:mm"];function a(r,a){if(!r)return r;var n=a||{};if(g!=null&&n.dense==null)n.dense=g;var i={},s="Sheet1",f="",l=0;var o={},c=[],u=[],h=[];if(n.dense)h=i["!data"]=[];var d={s:{r:0,c:0},e:{r:0,c:0}};var v=n.sheetRows||0;var p={};if(r[4]==81&&r[5]==80&&r[6]==87)return j(r,a);if(r[2]==0){if(r[3]==8||r[3]==9){if(r.length>=16&&r[14]==5&&r[15]===108)throw new Error("Unsupported Works 3 for Mac file")}}if(r[2]==2){n.Enum=V;e(r,function(e,r,a){switch(a){case 0:n.vers=e;if(e>=4096)n.qpro=true;break;case 255:n.vers=e;n.works=true;break;case 6:d=e;break;case 204:if(e)f=e;break;case 222:f=e;break;case 15:;case 51:if((!n.qpro&&!n.works||a==51)&&e[1].v.charCodeAt(0)<48)e[1].v=e[1].v.slice(1);if(n.works||n.works2)e[1].v=e[1].v.replace(/\r\n/g,"\n");case 13:;case 14:;case 16:if((e[2]&112)==112&&(e[2]&15)>1&&(e[2]&15)<15){e[1].z=n.dateNF||t[(e[2]&15)-1]||q[14];if(n.cellDates){e[1].v=vr(e[1].v);e[1].t=typeof e[1].v=="number"?"n":"d"}}if(n.qpro){if(e[3]>l){i["!ref"]=Va(d);o[s]=i;c.push(s);i={};if(n.dense)h=i["!data"]=[];d={s:{r:0,c:0},e:{r:0,c:0}};l=e[3];s=f||"Sheet"+(l+1);f=""}}var u=n.dense?(h[e[0].r]||[])[e[0].c]:i[za(e[0])];if(u){u.t=e[1].t;u.v=e[1].v;if(e[1].z!=null)u.z=e[1].z;if(e[1].f!=null)u.f=e[1].f;p=u;break}if(n.dense){if(!h[e[0].r])h[e[0].r]=[];h[e[0].r][e[0].c]=e[1]}else i[za(e[0])]=e[1];p=e[1];break;case 21509:n.works2=true;break;case 21506:{if(e==5281){p.z="hh:mm:ss";if(n.cellDates&&p.t=="n"){p.v=vr(p.v);p.t=typeof p.v=="number"?"n":"d"}}}break;}},n)}else if(r[2]==26||r[2]==14){n.Enum=$;if(r[2]==14){n.qpro=true;r.l=0}e(r,function(e,r,t){switch(t){case 204:s=e;break;case 22:if(e[1].v.charCodeAt(0)<48)e[1].v=e[1].v.slice(1);e[1].v=e[1].v.replace(/\x0F./g,function(e){return String.fromCharCode(e.charCodeAt(1)-32)}).replace(/\r\n/g,"\n");case 23:;case 24:;case 25:;case 37:;case 39:;case 40:if(e[3]>l){i["!ref"]=Va(d);o[s]=i;c.push(s);i={};if(n.dense)h=i["!data"]=[];d={s:{r:0,c:0},e:{r:0,c:0}};l=e[3];s="Sheet"+(l+1)}if(v>0&&e[0].r>=v)break;if(n.dense){if(!h[e[0].r])h[e[0].r]=[];h[e[0].r][e[0].c]=e[1]}else i[za(e[0])]=e[1];if(d.e.c<e[0].c)d.e.c=e[0].c;if(d.e.r<e[0].r)d.e.r=e[0].r;break;case 27:if(e[14e3])u[e[14e3][0]]=e[14e3][1];break;case 1537:u[e[0]]=e[1];if(e[0]==l)s=e[1];break;default:break;}},n)}else throw new Error("Unrecognized LOTUS BOF "+r[2]);i["!ref"]=Va(d);o[f||s]=i;c.push(f||s);if(!u.length)return{SheetNames:c,Sheets:o};var m={},b=[];for(var w=0;w<u.length;++w)if(o[c[w]]){b.push(u[w]||c[w]);m[u[w]]=o[u[w]]||o[c[w]]}else{b.push(u[w]);m[u[w]]={"!ref":"A1"}}return{SheetNames:b,Sheets:m}}function n(e,r){var t=r||{};if(+t.codepage>=0)l(+t.codepage);if(t.type=="string")throw new Error("Cannot write WK1 to JS string");var a=Sa();if(!e["!ref"])throw new Error("Cannot export empty sheet to WK1");var n=Ga(e["!ref"]);var i=e["!data"]!=null;var f=[];rg(a,0,s(1030));rg(a,6,c(n));var o=Math.min(n.e.r,8191);for(var u=n.s.c;u<=n.e.c;++u)f[u]=La(u);for(var h=n.s.r;h<=o;++h){var d=Na(h);for(u=n.s.c;u<=n.e.c;++u){var p=i?(e["!data"][h]||[])[u]:e[f[u]+d];if(!p||p.t=="z")continue;switch(p.t){case"n":if((p.v|0)==p.v&&p.v>=-32768&&p.v<=32767)rg(a,13,b(h,u,p));else rg(a,14,k(h,u,p));break;case"d":var m=dr(p.v);if((m|0)==m&&m>=-32768&&m<=32767)rg(a,13,b(h,u,{t:"n",v:m,z:p.z||q[14]}));else rg(a,14,k(h,u,{t:"n",v:m,z:p.z||q[14]}));break;default:var g=Ka(p);rg(a,15,v(h,u,g.slice(0,239)));}}}rg(a,1);return a.end()}function i(e,r){var t=r||{};if(+t.codepage>=0)l(+t.codepage);if(t.type=="string")throw new Error("Cannot write WK3 to JS string");var a=Sa();rg(a,0,f(e));for(var n=0,i=0;n<e.SheetNames.length;++n)if((e.Sheets[e.SheetNames[n]]||{})["!ref"])rg(a,27,H(e.SheetNames[n],i++));var s=0;for(n=0;n<e.SheetNames.length;++n){var o=e.Sheets[e.SheetNames[n]];if(!o||!o["!ref"])continue;var c=Ga(o["!ref"]);var u=o["!data"]!=null;var h=[];var d=Math.min(c.e.r,8191);for(var v=c.s.r;v<=d;++v){var p=Na(v);for(var m=c.s.c;m<=c.e.c;++m){if(v===c.s.r)h[m]=La(m);var b=h[m]+p;var g=u?(o["!data"][v]||[])[m]:o[b];if(!g||g.t=="z")continue;if(g.t=="n"){rg(a,23,F(v,m,s,g.v))}else{var w=Ka(g);rg(a,22,R(v,m,s,w.slice(0,239)))}}}++s}rg(a,1);return a.end()}function s(e){var r=Ea(2);r._W(2,e);return r}function f(e){var r=Ea(26);r._W(2,4096);r._W(2,4);r._W(4,0);var t=0,a=0,n=0;for(var i=0;i<e.SheetNames.length;++i){var s=e.SheetNames[i];var f=e.Sheets[s];if(!f||!f["!ref"])continue;++n;var l=Ha(f["!ref"]);if(t<l.e.r)t=l.e.r;if(a<l.e.c)a=l.e.c}if(t>8191)t=8191;r._W(2,t);r._W(1,n);r._W(1,a);r._W(2,0);r._W(2,0);r._W(1,1);r._W(1,2);r._W(4,0);r._W(4,0);return r}function o(e,r,t){var a={s:{c:0,r:0},e:{c:0,r:0}};if(r==8&&t.qpro){a.s.c=e._R(1);e.l++;a.s.r=e._R(2);a.e.c=e._R(1);e.l++;a.e.r=e._R(2);return a}a.s.c=e._R(2);a.s.r=e._R(2);if(r==12&&t.qpro)e.l+=2;a.e.c=e._R(2);a.e.r=e._R(2);if(r==12&&t.qpro)e.l+=2;if(a.s.c==65535)a.s.c=a.e.c=a.s.r=a.e.r=0;return a}function c(e){var r=Ea(8);r._W(2,e.s.c);r._W(2,e.s.r);r._W(2,e.e.c);r._W(2,e.e.r);return r}function u(e,r,t){var a=[{c:0,r:0},{t:"n",v:0},0,0];if(t.qpro&&t.vers!=20768){a[0].c=e._R(1);a[3]=e._R(1);a[0].r=e._R(2);e.l+=2}else if(t.works){a[0].c=e._R(2);a[0].r=e._R(2);a[2]=e._R(2)}else{a[2]=e._R(1);a[0].c=e._R(2);a[0].r=e._R(2)}return a}function h(e){if(e.z&&Le(e.z)){return 240|(t.indexOf(e.z)+1||2)}return 255}function d(e,r,t){var a=e.l+r;var n=u(e,r,t);n[1].t="s";if((t.vers&65534)==20768){e.l++;var i=e._R(1);n[1].v=e._R(i,"utf8");return n}if(t.qpro)e.l++;n[1].v=e._R(a-e.l,"cstr");return n}function v(e,r,t){var a=Ea(7+t.length);a._W(1,255);a._W(2,r);a._W(2,e);a._W(1,39);for(var n=0;n<a.length;++n){var i=t.charCodeAt(n);a._W(1,i>=128?95:i)}a._W(1,0);return a}function p(e,r,t){var a=e.l+r;var n=u(e,r,t);n[1].t="s";if(t.vers==20768){var i=e._R(1);n[1].v=e._R(i,"utf8");return n}n[1].v=e._R(a-e.l,"cstr");return n}function m(e,r,t){var a=u(e,r,t);a[1].v=e._R(2,"i");return a}function b(e,r,t){var a=Ea(7);a._W(1,h(t));a._W(2,r);a._W(2,e);a._W(2,t.v,"i");return a}function w(e,r,t){var a=u(e,r,t);a[1].v=e._R(8,"f");return a}function k(e,r,t){var a=Ea(13);a._W(1,h(t));a._W(2,r);a._W(2,e);a._W(8,t.v,"f");return a}function T(e,r,t){var a=e.l+r;var n=u(e,r,t);n[1].v=e._R(8,"f");if(t.qpro)e.l=a;else{var i=e._R(2);x(e.slice(e.l,e.l+i),n);e.l+=i}return n}function y(e,r,t){var a=r&32768;r&=~32768;r=(a?e:0)+(r>=8192?r-16384:r);return(a?"":"$")+(t?La(r):Na(r))}var E={31:["NA",0],33:["ABS",1],34:["TRUNC",1],35:["SQRT",1],36:["LOG",1],37:["LN",1],38:["PI",0],39:["SIN",1],40:["COS",1],41:["TAN",1],42:["ATAN2",2],43:["ATAN",1],44:["ASIN",1],45:["ACOS",1],46:["EXP",1],47:["MOD",2],49:["ISNA",1],50:["ISERR",1],51:["FALSE",0],52:["TRUE",0],53:["RAND",0],54:["DATE",3],63:["ROUND",2],64:["TIME",3],68:["ISNUMBER",1],69:["ISTEXT",1],70:["LEN",1],71:["VALUE",1],73:["MID",3],74:["CHAR",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],102:["UPPER",1],103:["LOWER",1],107:["PROPER",1],109:["TRIM",1],111:["T",1]};var S=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function x(e,r){Ta(e,0);var t=[],a=0,n="",i="",s="",f="";while(e.l<e.length){var l=e[e.l++];switch(l){case 0:t.push(e._R(8,"f"));break;case 1:{i=y(r[0].c,e._R(2),true);n=y(r[0].r,e._R(2),false);t.push(i+n)}break;case 2:{var o=y(r[0].c,e._R(2),true);var c=y(r[0].r,e._R(2),false);i=y(r[0].c,e._R(2),true);n=y(r[0].r,e._R(2),false);t.push(o+c+":"+i+n)}break;case 3:if(e.l<e.length){console.error("WK1 premature formula end");return}break;case 4:t.push("("+t.pop()+")");break;case 5:t.push(e._R(2));break;case 6:{var u="";while(l=e[e.l++])u+=String.fromCharCode(l);t.push('"'+u.replace(/"/g,'""')+'"')}break;case 8:t.push("-"+t.pop());break;case 23:t.push("+"+t.pop());break;case 22:t.push("NOT("+t.pop()+")");break;case 20:;case 21:{f=t.pop();s=t.pop();t.push(["AND","OR"][l-20]+"("+s+","+f+")")}break;default:if(l<32&&S[l]){f=t.pop();s=t.pop();t.push(s+S[l]+f)}else if(E[l]){a=E[l][1];if(a==69)a=e[e.l++];if(a>t.length){console.error("WK1 bad formula parse 0x"+l.toString(16)+":|"+t.join("|")+"|");return}var h=t.slice(-a);t.length-=a;t.push(E[l][0]+"("+h.join(",")+")")}else if(l<=7)return console.error("WK1 invalid opcode "+l.toString(16));else if(l<=24)return console.error("WK1 unsupported op "+l.toString(16));else if(l<=30)return console.error("WK1 invalid opcode "+l.toString(16));else if(l<=115)return console.error("WK1 unsupported function opcode "+l.toString(16));else return console.error("WK1 unrecognized opcode "+l.toString(16));}}if(t.length==1)r[1].f=""+t[0];else console.error("WK1 bad formula parse |"+t.join("|")+"|")}function A(e){var r=[{c:0,r:0},{t:"n",v:0},0];r[0].r=e._R(2);r[3]=e[e.l++];r[0].c=e[e.l++];return r}function C(e,r){var t=A(e,r);t[1].t="s";t[1].v=e._R(r-4,"cstr");return t}function R(e,r,t,a){var n=Ea(6+a.length);n._W(2,e);n._W(1,t);n._W(1,r);n._W(1,39);for(var i=0;i<a.length;++i){var s=a.charCodeAt(i);n._W(1,s>=128?95:s)}n._W(1,0);return n}function I(e,r){var t=A(e,r);t[1].v=e._R(2);var a=t[1].v>>1;if(t[1].v&1){switch(a&7){case 0:a=(a>>3)*5e3;break;case 1:a=(a>>3)*500;break;case 2:a=(a>>3)/20;break;case 3:a=(a>>3)/200;break;case 4:a=(a>>3)/2e3;break;case 5:a=(a>>3)/2e4;break;case 6:a=(a>>3)/16;break;case 7:a=(a>>3)/64;break;}}t[1].v=a;return t}function N(e,r){var t=A(e,r);var a=e._R(4);var n=e._R(4);var i=e._R(2);if(i==65535){if(a===0&&n===3221225472){t[1].t="e";t[1].v=15}else if(a===0&&n===3489660928){t[1].t="e";t[1].v=42}else t[1].v=0;return t}var s=i&32768;i=(i&32767)-16446;t[1].v=(1-s*2)*(n*Math.pow(2,i+32)+a*Math.pow(2,i));return t}function F(e,r,t,a){var n=Ea(14);n._W(2,e);n._W(1,t);n._W(1,r);if(a==0){n._W(4,0);n._W(4,0);n._W(2,65535);return n}var i=0,s=0,f=0,l=0;if(a<0){i=1;a=-a}s=Math.log2(a)|0;a/=Math.pow(2,s-31);l=a>>>0;if((l&2147483648)==0){a/=2;++s;l=a>>>0}a-=l;l|=2147483648;l>>>=0;a*=Math.pow(2,32);f=a>>>0;n._W(4,f);n._W(4,l);s+=16383+(i?32768:0);n._W(2,s);return n}function D(e,r){var t=N(e,14);e.l+=r-14;return t}function P(e,r){var t=A(e,r);var a=e._R(4);t[1].v=a>>6;return t}function L(e,r){var t=A(e,r);var a=e._R(8,"f");t[1].v=a;return t}function M(e,r){var t=L(e,12);e.l+=r-12;return t}function U(e,r){return e[e.l+r-1]==0?e._R(r,"cstr"):""}function B(e,r){var t=e[e.l++];if(t>r-1)t=r-1;var a="";while(a.length<t)a+=String.fromCharCode(e[e.l++]);return a}function W(e,r,t){if(!t.qpro||r<21)return;var a=e._R(1);e.l+=17;e.l+=1;e.l+=2;var n=e._R(r-21,"cstr");return[a,n]}function z(e,r){var t={},a=e.l+r;while(e.l<a){var n=e._R(2);if(n==14e3){t[n]=[0,""];t[n][0]=e._R(2);while(e[e.l]){t[n][1]+=String.fromCharCode(e[e.l]);e.l++}e.l++}}return t}function H(e,r){var t=Ea(5+e.length);t._W(2,14e3);t._W(2,r);for(var a=0;a<e.length;++a){var n=e.charCodeAt(a);t[t.l++]=n>127?95:n}t[t.l++]=0;return t}var V={0:{n:"BOF",f:ds},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:o},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:m},14:{n:"NUMBER",f:w},15:{n:"LABEL",f:d},16:{n:"FORMULA",f:T},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:p},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},102:{n:"PRANGES??"},103:{n:"RRANGES??"},104:{n:"FNAME??"},105:{n:"MRANGES??"},204:{n:"SHEETNAMECS",f:U},222:{n:"SHEETNAMELP",f:B},255:{n:"BOF",f:ds},21506:{n:"WKSNF",f:ds},65535:{n:""}};var $={0:{n:"BOF"},1:{n:"EOF"},2:{n:"PASSWORD"},3:{n:"CALCSET"},4:{n:"WINDOWSET"},5:{n:"SHEETCELLPTR"},6:{n:"SHEETLAYOUT"},7:{n:"COLUMNWIDTH"},8:{n:"HIDDENCOLUMN"},9:{n:"USERRANGE"},10:{n:"SYSTEMRANGE"},11:{n:"ZEROFORCE"},12:{n:"SORTKEYDIR"},13:{n:"FILESEAL"},14:{n:"DATAFILLNUMS"},15:{n:"PRINTMAIN"},16:{n:"PRINTSTRING"},17:{n:"GRAPHMAIN"},18:{n:"GRAPHSTRING"},19:{n:"??"},20:{n:"ERRCELL"},21:{n:"NACELL"},22:{n:"LABEL16",f:C},23:{n:"NUMBER17",f:N},24:{n:"NUMBER18",f:I},25:{n:"FORMULA19",f:D},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:z},28:{n:"DTLABELMISC"},29:{n:"DTLABELCELL"},30:{n:"GRAPHWINDOW"},31:{n:"CPA"},32:{n:"LPLAUTO"},33:{n:"QUERY"},34:{n:"HIDDENSHEET"},35:{n:"??"},37:{n:"NUMBER25",f:P},38:{n:"??"},39:{n:"NUMBER27",f:L},40:{n:"FORMULA28",f:M},142:{n:"??"},147:{n:"??"},150:{n:"??"},151:{n:"??"},152:{n:"??"},153:{n:"??"},154:{n:"??"},155:{n:"??"},156:{n:"??"},163:{n:"??"},174:{n:"??"},175:{n:"??"},176:{n:"??"},177:{n:"??"},184:{n:"??"},185:{n:"??"},186:{n:"??"},187:{n:"??"},188:{n:"??"},195:{n:"??"},201:{n:"??"},204:{n:"SHEETNAMECS",f:U},205:{n:"??"},206:{n:"??"},207:{n:"??"},208:{n:"??"}, -256:{n:"??"},259:{n:"??"},260:{n:"??"},261:{n:"??"},262:{n:"??"},263:{n:"??"},265:{n:"??"},266:{n:"??"},267:{n:"??"},268:{n:"??"},270:{n:"??"},271:{n:"??"},384:{n:"??"},389:{n:"??"},390:{n:"??"},393:{n:"??"},396:{n:"??"},512:{n:"??"},514:{n:"??"},513:{n:"??"},516:{n:"??"},517:{n:"??"},640:{n:"??"},641:{n:"??"},642:{n:"??"},643:{n:"??"},644:{n:"??"},645:{n:"??"},646:{n:"??"},647:{n:"??"},648:{n:"??"},658:{n:"??"},659:{n:"??"},660:{n:"??"},661:{n:"??"},662:{n:"??"},665:{n:"??"},666:{n:"??"},768:{n:"??"},772:{n:"??"},1537:{n:"SHEETINFOQP",f:W},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}};var X={5:"dd-mmm-yy",6:"dd-mmm",7:"mmm-yy",8:"mm/dd/yy",10:"hh:mm:ss AM/PM",11:"hh:mm AM/PM",14:"dd-mmm-yyyy",15:"mmm-yyyy",34:"0.00",50:"0.00;[Red]0.00",66:"0.00;(0.00)",82:"0.00;[Red](0.00)",162:'"$"#,##0.00;\\("$"#,##0.00\\)',288:"0%",304:"0E+00",320:"# ?/?"};function G(e){var r=e._R(2);var t=e._R(1);if(t!=0)throw"unsupported QPW string type "+t.toString(16);return e._R(r,"sbcs-cont")}function j(e,r){Ta(e,0);var t=r||{};if(g!=null&&t.dense==null)t.dense=g;var a={};if(t.dense)a["!data"]=[];var n=[],i="",s=[];var f={s:{r:-1,c:-1},e:{r:-1,c:-1}};var l=0,o=0,c=0,u=0;var h={SheetNames:[],Sheets:{}};var d=[];e:while(e.l<e.length){var v=e._R(2),p=e._R(2);var m=e.slice(e.l,e.l+p);Ta(m,0);switch(v){case 1:if(m._R(4)!=962023505)throw"Bad QPW9 BOF!";break;case 2:break e;case 8:break;case 10:{var b=m._R(4);var w=(m.length-m.l)/b|0;for(var k=0;k<b;++k){var T=m.l+w;var y={};m.l+=2;y.numFmtId=m._R(2);if(X[y.numFmtId])y.z=X[y.numFmtId];m.l=T;d.push(y)}}break;case 1025:break;case 1026:break;case 1031:{m.l+=12;while(m.l<m.length){l=m._R(2);o=m._R(1);n.push(m._R(l,"cstr"))}}break;case 1032:{}break;case 1537:{var E=m._R(2);a={};if(t.dense)a["!data"]=[];f.s.c=m._R(2);f.e.c=m._R(2);f.s.r=m._R(4);f.e.r=m._R(4);m.l+=4;if(m.l+2<m.length){l=m._R(2);o=m._R(1);i=l==0?"":m._R(l,"cstr")}if(!i)i=La(E)}break;case 1538:{if(f.s.c>255||f.s.r>999999)break;if(f.e.c<f.s.c)f.e.c=f.s.c;if(f.e.r<f.s.r)f.e.r=f.s.r;a["!ref"]=Va(f);Kk(h,a,i)}break;case 2561:{c=m._R(2);if(f.e.c<c)f.e.c=c;if(f.s.c>c)f.s.c=c;u=m._R(4);if(f.s.r>u)f.s.r=u;u=m._R(4);if(f.e.r<u)f.e.r=u}break;case 3073:{u=m._R(4),l=m._R(4);if(f.s.r>u)f.s.r=u;if(f.e.r<u+l-1)f.e.r=u+l-1;var _=La(c);while(m.l<m.length){var S={t:"z"};var x=m._R(1),A=-1;if(x&128)A=m._R(2);var C=x&64?m._R(2)-1:0;switch(x&31){case 0:break;case 1:break;case 2:S={t:"n",v:m._R(2)};break;case 3:S={t:"n",v:m._R(2,"i")};break;case 4:S={t:"n",v:Tn(m)};break;case 5:S={t:"n",v:m._R(8,"f")};break;case 7:S={t:"s",v:n[o=m._R(4)-1]};break;case 8:S={t:"n",v:m._R(8,"f")};m.l+=2;m.l+=4;if(isNaN(S.v))S={t:"e",v:15};break;default:throw"Unrecognized QPW cell type "+(x&31);}if(A!=-1&&(d[A-1]||{}).z)S.z=d[A-1].z;var R=0;if(x&32)switch(x&31){case 2:R=m._R(2);break;case 3:R=m._R(2,"i");break;case 7:R=m._R(2);break;default:throw"Unsupported delta for QPW cell type "+(x&31);}if(!(!t.sheetStubs&&S.t=="z")){var O=Tr(S);if(S.t=="n"&&S.z&&Le(S.z)&&t.cellDates){O.v=vr(S.v);O.t=typeof O.v=="number"?"n":"d"}if(a["!data"]!=null){if(!a["!data"][u])a["!data"][u]=[];a["!data"][u][c]=O}else a[_+Na(u)]=O}++u;--l;while(C-- >0&&l>=0){if(x&32)switch(x&31){case 2:S={t:"n",v:S.v+R&65535};break;case 3:S={t:"n",v:S.v+R&65535};if(S.v>32767)S.v-=65536;break;case 7:S={t:"s",v:n[o=o+R>>>0]};break;default:throw"Cannot apply delta for QPW cell type "+(x&31);}else switch(x&31){case 1:S={t:"z"};break;case 2:S={t:"n",v:m._R(2)};break;case 7:S={t:"s",v:n[o=m._R(4)-1]};break;default:throw"Cannot apply repeat for QPW cell type "+(x&31);}if(A!=-1);if(!(!t.sheetStubs&&S.t=="z")){if(a["!data"]!=null){if(!a["!data"][u])a["!data"][u]=[];a["!data"][u][c]=S}else a[_+Na(u)]=S}++u;--l}}}break;case 3074:{c=m._R(2);u=m._R(4);var I=G(m);if(a["!data"]!=null){if(!a["!data"][u])a["!data"][u]=[];a["!data"][u][c]={t:"s",v:I}}else a[La(c)+Na(u)]={t:"s",v:I}}break;default:break;}e.l+=p}return h}return{sheet_to_wk1:n,book_to_wk3:i,to_workbook:r}}();function ql(e){var r={},t=e.match(qr),a=0;var n=false;if(t)for(;a!=t.length;++a){var s=rt(t[a]);switch(s[0].replace(/\w*:/g,"")){case"<condense":break;case"<extend":break;case"<shadow":if(!s.val)break;case"<shadow>":;case"<shadow/>":r.shadow=1;break;case"</shadow>":break;case"<charset":if(s.val=="1")break;r.cp=i[parseInt(s.val,10)];break;case"<outline":if(!s.val)break;case"<outline>":;case"<outline/>":r.outline=1;break;case"</outline>":break;case"<rFont":r.name=s.val;break;case"<sz":r.sz=s.val;break;case"<strike":if(!s.val)break;case"<strike>":;case"<strike/>":r.strike=1;break;case"</strike>":break;case"<u":if(!s.val)break;switch(s.val){case"double":r.uval="double";break;case"singleAccounting":r.uval="single-accounting";break;case"doubleAccounting":r.uval="double-accounting";break;};case"<u>":;case"<u/>":r.u=1;break;case"</u>":break;case"<b":if(s.val=="0")break;case"<b>":;case"<b/>":r.b=1;break;case"</b>":break;case"<i":if(s.val=="0")break;case"<i>":;case"<i/>":r.i=1;break;case"</i>":break;case"<color":if(s.rgb)r.color=s.rgb.slice(2,8);break;case"<color>":;case"<color/>":;case"</color>":break;case"<family":r.family=s.val;break;case"<family>":;case"<family/>":;case"</family>":break;case"<vertAlign":r.valign=s.val;break;case"<vertAlign>":;case"<vertAlign/>":;case"</vertAlign>":break;case"<scheme":break;case"<scheme>":;case"<scheme/>":;case"</scheme>":break;case"<extLst":;case"<extLst>":;case"</extLst>":break;case"<ext":n=true;break;case"</ext>":n=false;break;default:if(s[0].charCodeAt(1)!==47&&!n)throw new Error("Unrecognized rich format "+s[0]);}}return r}var Ql=function(){var e=yt("t"),r=yt("rPr");function t(t){var a=t.match(e);if(!a)return{t:"s",v:""};var n={t:"s",v:it(a[1])};var i=t.match(r);if(i)n.s=ql(i[1]);return n}var a=/<(?:\w+:)?r>/g,n=/<\/(?:\w+:)?r>/;return function i(e){return e.replace(a,"").split(n).map(t).filter(function(e){return e.v})}}();var eo=function _T(){var e=/(\r\n|\n)/g;function r(e,r,t){var a=[];if(e.u)a.push("text-decoration: underline;");if(e.uval)a.push("text-underline-style:"+e.uval+";");if(e.sz)a.push("font-size:"+e.sz+"pt;");if(e.outline)a.push("text-effect: outline;");if(e.shadow)a.push("text-shadow: auto;");r.push('<span style="'+a.join("")+'">');if(e.b){r.push("<b>");t.push("</b>")}if(e.i){r.push("<i>");t.push("</i>")}if(e.strike){r.push("<s>");t.push("</s>")}var n=e.valign||"";if(n=="superscript"||n=="super")n="sup";else if(n=="subscript")n="sub";if(n!=""){r.push("<"+n+">");t.push("</"+n+">")}t.push("</span>");return e}function t(t){var a=[[],t.v,[]];if(!t.v)return"";if(t.s)r(t.s,a[0],a[2]);return a[0].join("")+a[1].replace(e,"<br/>")+a[2].join("")}return function a(e){return e.map(t).join("")}}();var ro=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,to=/<(?:\w+:)?r\b[^>]*>/;var ao=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g;function no(e,r){var t=r?r.cellHTML:true;var a={};if(!e)return{t:""};if(e.match(/^\s*<(?:\w+:)?t[^>]*>/)){a.t=it(kt(e.slice(e.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||""),true);a.r=kt(e);if(t)a.h=ut(a.t)}else if(e.match(to)){a.r=kt(e);a.t=it(kt((e.replace(ao,"").match(ro)||[]).join("").replace(qr,"")),true);if(t)a.h=eo(Ql(a.r))}return a}var io=/<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/;var so=/<(?:\w+:)?(?:si|sstItem)>/g;var fo=/<\/(?:\w+:)?(?:si|sstItem)>/;function lo(e,r){var t=[],a="";if(!e)return t;var n=e.match(io);if(n){a=n[2].replace(so,"").split(fo);for(var i=0;i!=a.length;++i){var s=no(a[i].trim(),r);if(s!=null)t[t.length]=s}n=rt(n[1]);t.Count=n.count;t.Unique=n.uniqueCount}return t}var oo=/^\s|\s$|[\t\n\r]/;function co(e,r){if(!r.bookSST)return"";var t=[Kr];t[t.length]=It("sst",null,{xmlns:Mt[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="<si>";if(n.r)i+=n.r;else{i+="<t";if(!n.t)n.t="";if(typeof n.t!=="string")n.t=String(n.t);if(n.t.match(oo))i+=' xml:space="preserve"';i+=">"+lt(n.t)+"</t>"}i+="</si>";t[t.length]=i}if(t.length>2){t[t.length]="</sst>";t[1]=t[1].replace("/>",">")}return t.join("")}function uo(e){return[e._R(4),e._R(4)]}function ho(e,r){var t=[];var a=false;_a(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.T){}if(!a||r.WTF)throw new Error("Unexpected record 0x"+s.toString(16));}});return t}function vo(e,r){if(!r)r=Ea(8);r._W(4,e.Count);r._W(4,e.Unique);return r}var po=fn;function mo(e){var r=Sa();xa(r,159,vo(e));for(var t=0;t<e.length;++t)xa(r,19,po(e[t]));xa(r,160);return r.end()}function bo(e){if(typeof a!=="undefined")return a.utils.encode(t,e);var r=[],n=e.split("");for(var i=0;i<n.length;++i)r[i]=n[i].charCodeAt(0);return r}function go(e,r){var t={};t.Major=e._R(2);t.Minor=e._R(2);if(r>=4)e.l+=r-4;return t}function wo(e){var r={};r.id=e._R(0,"lpp4");r.R=go(e,4);r.U=go(e,4);r.W=go(e,4);return r}function ko(e){var r=e._R(4);var t=e.l+r-4;var a={};var n=e._R(4);var i=[];while(n-- >0)i.push({t:e._R(4),v:e._R(0,"lpp4")});a.name=e._R(0,"lpp4");a.comps=i;if(e.l!=t)throw new Error("Bad DataSpaceMapEntry: "+e.l+" != "+t);return a}function To(e){var r=[];e.l+=4;var t=e._R(4);while(t-- >0)r.push(ko(e));return r}function yo(e){var r=[];e.l+=4;var t=e._R(4);while(t-- >0)r.push(e._R(0,"lpp4"));return r}function Eo(e){var r={};e._R(4);e.l+=4;r.id=e._R(0,"lpp4");r.name=e._R(0,"lpp4");r.R=go(e,4);r.U=go(e,4);r.W=go(e,4);return r}function _o(e){var r=Eo(e);r.ename=e._R(0,"8lpp4");r.blksz=e._R(4);r.cmode=e._R(4);if(e._R(4)!=4)throw new Error("Bad !Primary record");return r}function So(e,r){var t=e.l+r;var a={};a.Flags=e._R(4)&63;e.l+=4;a.AlgID=e._R(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._R(4);a.KeySize=e._R(4);a.ProviderType=e._R(4);e.l+=8;a.CSPName=e._R(t-e.l>>1,"utf16le");e.l=t;return a}function xo(e,r){var t={},a=e.l+r;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;e._R(4);t.VerifierHash=e.slice(e.l,a);e.l=a;return t}function Ao(e){var r=go(e);switch(r.Minor){case 2:return[r.Minor,Co(e,r)];case 3:return[r.Minor,Ro(e,r)];case 4:return[r.Minor,Oo(e,r)];}throw new Error("ECMA-376 Encrypted file unrecognized Version: "+r.Minor)}function Co(e){var r=e._R(4);if((r&63)!=36)throw new Error("EncryptionInfo mismatch");var t=e._R(4);var a=So(e,t);var n=xo(e,e.length-e.l);return{t:"Std",h:a,v:n}}function Ro(){throw new Error("File is password-protected: ECMA-376 Extensible")}function Oo(e){var r=["saltSize","blockSize","keyBits","hashSize","cipherAlgorithm","cipherChaining","hashAlgorithm","saltValue"];e.l+=4;var t=e._R(e.length-e.l,"utf8");var a={};t.replace(qr,function n(e){var t=rt(e);switch(tt(t[0])){case"<?xml":break;case"<encryption":;case"</encryption>":break;case"<keyData":r.forEach(function(e){a[e]=t[e]});break;case"<dataIntegrity":a.encryptedHmacKey=t.encryptedHmacKey;a.encryptedHmacValue=t.encryptedHmacValue;break;case"<keyEncryptors>":;case"<keyEncryptors":a.encs=[];break;case"</keyEncryptors>":break;case"<keyEncryptor":a.uri=t.uri;break;case"</keyEncryptor>":break;case"<encryptedKey":a.encs.push(t);break;default:throw t[0];}});return a}function Io(e,r){var t={};var a=t.EncryptionVersionInfo=go(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._R(4);r-=4;var n=e._R(4);r-=4;t.EncryptionHeader=So(e,n);r-=n;t.EncryptionVerifier=xo(e,r);return t}function No(e){var r={};var t=r.EncryptionVersionInfo=go(e,4);if(t.Major!=1||t.Minor!=1)throw"unrecognized version code "+t.Major+" : "+t.Minor;r.Salt=e._R(16);r.EncryptedVerifier=e._R(16);r.EncryptedVerifierHash=e._R(16);return r}function Fo(e){var r=0,t;var a=bo(e);var n=a.length+1,i,s;var f,l,o;t=C(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;l=r<<1&32767;o=f|l;r=o^s}return r^52811}var Do=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=bo(r);var a=i(t);var s=t.length;var f=C(16);for(var l=0;l!=16;++l)f[l]=0;var o,c,u;if((s&1)===1){o=a>>8;f[s]=n(e[0],o);--s;o=a&255;c=t[t.length-1];f[s]=n(c,o)}while(s>0){--s;o=a>>8;f[s]=n(t[s],o);--s;o=a&255;f[s]=n(t[s],o)}s=15;u=15-t.length;while(u>0){o=a>>8;f[s]=n(e[u],o);--s;--u;o=a&255;f[s]=n(t[s],o);--s;--u}return f}}();var Po=function(e,r,t,a,n){if(!n)n=r;if(!a)a=Do(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 Lo=function(e){var r=0,t=Do(e);return function(e){var a=Po("",e,r,t);r=a[1];return a[0]}};function Mo(e,r,t,a){var n={key:ds(e),verificationBytes:ds(e)};if(t.password)n.verifier=Fo(t.password);a.valid=n.verificationBytes===n.verifier;if(a.valid)a.insitu=Lo(t.password);return n}function Uo(e,r,t){var a=t||{};a.Info=e._R(2);e.l-=2;if(a.Info===1)a.Data=No(e,r);else a.Data=Io(e,r);return a}function Bo(e,r,t){var a={Type:t.biff>=8?e._R(2):0};if(a.Type)Uo(e,r-2,a);else Mo(e,t.biff>=8?r:r-2,t,a);return a}function Wo(e,r){switch(r.type){case"base64":return zo(_(e),r);case"binary":return zo(e,r);case"buffer":return zo(S&&Buffer.isBuffer(e)?e.toString("binary"):N(e),r);case"array":return zo(kr(e),r);}throw new Error("Unrecognized type "+r.type)}function zo(e,r){var t=r||{};var a={};var n=t.dense;if(n)a["!data"]=[];var i=e.match(/\\trowd[\s\S]*?\\row\b/g);if(!i)throw new Error("RTF missing table");var s={s:{c:0,r:0},e:{c:0,r:i.length-1}};var f=[];i.forEach(function(e,r){if(n)f=a["!data"][r]=[];var i=/\\[\w\-]+\b/g;var l=0;var o;var c=-1;var u=[];while((o=i.exec(e))!=null){var h=e.slice(l,i.lastIndex-o[0].length);if(h.charCodeAt(0)==32)h=h.slice(1);if(h.length)u.push(h);switch(o[0]){case"\\cell":++c;if(u.length){var d={v:u.join(""),t:"s"};if(d.v=="TRUE"||d.v=="FALSE"){d.v=d.v=="TRUE";d.t="b"}else if(!isNaN(Er(d.v))){d.t="n";if(t.cellText!==false)d.w=d.v;d.v=Er(d.v)}if(n)f[c]=d;else a[za({r:r,c:c})]=d}u=[];break;case"\\par":u.push("\n");break;}l=i.lastIndex}if(c>s.e.c)s.e.c=c});a["!ref"]=Va(s);return a}function Ho(e,r){var t=Ya(Wo(e,r),r);t.bookType="rtf";return t}function Vo(e,r){var t=["{\\rtf1\\ansi"];if(!e["!ref"])return t[0]+"}";var a=Ga(e["!ref"]),n;var i=e["!data"]!=null,s=[];for(var f=a.s.r;f<=a.e.r;++f){t.push("\\trowd\\trautofit1");for(var l=a.s.c;l<=a.e.c;++l)t.push("\\cellx"+(l+1));t.push("\\pard\\intbl");if(i)s=e["!data"][f]||[];for(l=a.s.c;l<=a.e.c;++l){var o=za({r:f,c:l});n=i?s[l]:e[o];if(!n||n.v==null&&(!n.f||n.F)){t.push(" \\cell");continue}t.push(" "+(n.w||(Ka(n),n.w)||"").replace(/[\r\n]/g,"\\par "));t.push("\\cell")}t.push("\\pard\\intbl\\row")}return t.join("")+"}"}function $o(e){var r=e.slice(e[0]==="#"?1:0).slice(0,6);return[parseInt(r.slice(0,2),16),parseInt(r.slice(2,4),16),parseInt(r.slice(4,6),16)]}function Xo(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().slice(1)}function Go(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,l=0,o=n+i;l=s/(o>1?2-o:o);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,l,o/2]}function jo(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 l;if(t!==0)switch(f|0){case 0:;case 6:l=n*f;s[0]+=n;s[1]+=l;break;case 1:l=n*(2-f);s[0]+=l;s[1]+=n;break;case 2:l=n*(f-2);s[1]+=n;s[2]+=l;break;case 3:l=n*(4-f);s[1]+=l;s[2]+=n;break;case 4:l=n*(f-4);s[2]+=n;s[0]+=l;break;case 5:l=n*(6-f);s[2]+=l;s[0]+=n;break;}for(var o=0;o!=3;++o)s[o]=Math.round(s[o]*255);return s}function Ko(e,r){if(r===0)return e;var t=Go($o(e));if(r<0)t[2]=t[2]*(1+r);else t[2]=1-(1-t[2])*(1-r);return Xo(jo(t))}var Yo=6,Zo=15,Jo=1,qo=Yo;function Qo(e){return Math.floor((e+Math.round(128/qo)/256)*qo)}function ec(e){return Math.floor((e-5)/qo*100+.5)/100}function rc(e){return Math.round((e*qo+5)/qo*256)/256}function tc(e){return rc(ec(Qo(e)))}function ac(e){var r=Math.abs(e-tc(e)),t=qo;if(r>.005)for(qo=Jo;qo<Zo;++qo)if(Math.abs(e-tc(e))<=r){r=Math.abs(e-tc(e));t=qo}qo=t}function nc(e){if(e.width){e.wpx=Qo(e.width);e.wch=ec(e.wpx);e.MDW=qo}else if(e.wpx){e.wch=ec(e.wpx);e.width=rc(e.wch);e.MDW=qo}else if(typeof e.wch=="number"){e.width=rc(e.wch);e.wpx=Qo(e.width);e.MDW=qo}if(e.customWidth)delete e.customWidth}var ic=96,sc=ic;function fc(e){return e*96/sc}function lc(e){return e*sc/96}var oc={None:"none",Solid:"solid",Gray50:"mediumGray",Gray75:"darkGray",Gray25:"lightGray",HorzStripe:"darkHorizontal",VertStripe:"darkVertical",ReverseDiagStripe:"darkDown",DiagStripe:"darkUp",DiagCross:"darkGrid",ThickDiagCross:"darkTrellis",ThinHorzStripe:"lightHorizontal",ThinVertStripe:"lightVertical",ThinReverseDiagStripe:"lightDown",ThinHorzCross:"lightGrid"};function cc(e,r,t,a){r.Borders=[];var n={};var i=false;(e[0].match(qr)||[]).forEach(function(e){var t=rt(e);switch(tt(t[0])){case"<borders":;case"<borders>":;case"</borders>":break;case"<border":;case"<border>":;case"<border/>":n={};if(t.diagonalUp)n.diagonalUp=pt(t.diagonalUp);if(t.diagonalDown)n.diagonalDown=pt(t.diagonalDown);r.Borders.push(n);break;case"</border>":break;case"<left/>":break;case"<left":;case"<left>":break;case"</left>":break;case"<right/>":break;case"<right":;case"<right>":break;case"</right>":break;case"<top/>":break;case"<top":;case"<top>":break;case"</top>":break;case"<bottom/>":break;case"<bottom":;case"<bottom>":break;case"</bottom>":break;case"<diagonal":;case"<diagonal>":;case"<diagonal/>":break;case"</diagonal>":break;case"<horizontal":;case"<horizontal>":;case"<horizontal/>":break;case"</horizontal>":break;case"<vertical":;case"<vertical>":;case"<vertical/>":break;case"</vertical>":break;case"<start":;case"<start>":;case"<start/>":break;case"</start>":break;case"<end":;case"<end>":;case"<end/>":break;case"</end>":break;case"<color":;case"<color>":break;case"<color/>":;case"</color>":break;case"<extLst":;case"<extLst>":;case"</extLst>":break;case"<ext":i=true;break;case"</ext>":i=false;break;default:if(a&&a.WTF){if(!i)throw new Error("unrecognized "+t[0]+" in borders")};}})}function uc(e,r,t,a){r.Fills=[];var n={};var i=false;(e[0].match(qr)||[]).forEach(function(e){var t=rt(e);switch(tt(t[0])){case"<fills":;case"<fills>":;case"</fills>":break;case"<fill>":;case"<fill":;case"<fill/>":n={};r.Fills.push(n);break;case"</fill>":break;case"<gradientFill>":break;case"<gradientFill":;case"</gradientFill>":r.Fills.push(n);n={};break;case"<patternFill":;case"<patternFill>":if(t.patternType)n.patternType=t.patternType;break;case"<patternFill/>":;case"</patternFill>":break;case"<bgColor":if(!n.bgColor)n.bgColor={};if(t.indexed)n.bgColor.indexed=parseInt(t.indexed,10);if(t.theme)n.bgColor.theme=parseInt(t.theme,10);if(t.tint)n.bgColor.tint=parseFloat(t.tint);if(t.rgb)n.bgColor.rgb=t.rgb.slice(-6);break;case"<bgColor/>":;case"</bgColor>":break;case"<fgColor":if(!n.fgColor)n.fgColor={};if(t.theme)n.fgColor.theme=parseInt(t.theme,10);if(t.tint)n.fgColor.tint=parseFloat(t.tint);if(t.rgb!=null)n.fgColor.rgb=t.rgb.slice(-6);break;case"<fgColor/>":;case"</fgColor>":break;case"<stop":;case"<stop/>":break;case"</stop>":break;case"<color":;case"<color/>":break;case"</color>":break;case"<extLst":;case"<extLst>":;case"</extLst>":break;case"<ext":i=true;break;case"</ext>":i=false;break;default:if(a&&a.WTF){if(!i)throw new Error("unrecognized "+t[0]+" in fills")};}})}function hc(e,r,t,a){r.Fonts=[];var n={};var s=false;(e[0].match(qr)||[]).forEach(function(e){var f=rt(e);switch(tt(f[0])){case"<fonts":;case"<fonts>":;case"</fonts>":break;case"<font":;case"<font>":break;case"</font>":;case"<font/>":r.Fonts.push(n);n={};break;case"<name":if(f.val)n.name=kt(f.val);break;case"<name/>":;case"</name>":break;case"<b":n.bold=f.val?pt(f.val):1;break;case"<b/>":n.bold=1;break;case"<i":n.italic=f.val?pt(f.val):1;break;case"<i/>":n.italic=1;break;case"<u":switch(f.val){case"none":n.underline=0;break;case"single":n.underline=1;break;case"double":n.underline=2;break;case"singleAccounting":n.underline=33;break;case"doubleAccounting":n.underline=34;break;}break;case"<u/>":n.underline=1;break;case"<strike":n.strike=f.val?pt(f.val):1;break;case"<strike/>":n.strike=1;break;case"<outline":n.outline=f.val?pt(f.val):1;break;case"<outline/>":n.outline=1;break;case"<shadow":n.shadow=f.val?pt(f.val):1;break;case"<shadow/>":n.shadow=1;break;case"<condense":n.condense=f.val?pt(f.val):1;break;case"<condense/>":n.condense=1;break;case"<extend":n.extend=f.val?pt(f.val):1;break;case"<extend/>":n.extend=1;break;case"<sz":if(f.val)n.sz=+f.val;break;case"<sz/>":;case"</sz>":break;case"<vertAlign":if(f.val)n.vertAlign=f.val;break;case"<vertAlign/>":;case"</vertAlign>":break;case"<family":if(f.val)n.family=parseInt(f.val,10);break;case"<family/>":;case"</family>":break;case"<scheme":if(f.val)n.scheme=f.val;break;case"<scheme/>":;case"</scheme>":break;case"<charset":if(f.val=="1")break;f.codepage=i[parseInt(f.val,10)];break;case"<color":if(!n.color)n.color={};if(f.auto)n.color.auto=pt(f.auto);if(f.rgb)n.color.rgb=f.rgb.slice(-6);else if(f.indexed){n.color.index=parseInt(f.indexed,10);var l=ri[n.color.index];if(n.color.index==81)l=ri[1];if(!l)l=ri[1];n.color.rgb=l[0].toString(16)+l[1].toString(16)+l[2].toString(16)}else if(f.theme){n.color.theme=parseInt(f.theme,10);if(f.tint)n.color.tint=parseFloat(f.tint);if(f.theme&&t.themeElements&&t.themeElements.clrScheme){n.color.rgb=Ko(t.themeElements.clrScheme[n.color.theme].rgb,n.color.tint||0)}}break;case"<color/>":;case"</color>":break;case"<AlternateContent":s=true;break;case"</AlternateContent>":s=false;break;case"<extLst":;case"<extLst>":;case"</extLst>":break;case"<ext":s=true;break;case"</ext>":s=false;break;default:if(a&&a.WTF){if(!s)throw new Error("unrecognized "+f[0]+" in fonts")};}})}function dc(e,r,t){r.NumberFmt=[];var a=ir(q);for(var n=0;n<a.length;++n)r.NumberFmt[a[n]]=q[a[n]];var i=e[0].match(qr);if(!i)return;for(n=0;n<i.length;++n){var s=rt(i[n]);switch(tt(s[0])){case"<numFmts":;case"</numFmts>":;case"<numFmts/>":;case"<numFmts>":break;case"<numFmt":{var f=it(kt(s.formatCode)),l=parseInt(s.numFmtId,10);r.NumberFmt[l]=f;if(l>0){if(l>392){for(l=392;l>60;--l)if(r.NumberFmt[l]==null)break;r.NumberFmt[l]=f}Je(f,l)}}break;case"</numFmt>":break;default:if(t.WTF)throw new Error("unrecognized "+s[0]+" in numFmts");}}}function vc(e){var r=["<numFmts>"];[[5,8],[23,26],[41,44],[50,392]].forEach(function(t){for(var a=t[0];a<=t[1];++a)if(e[a]!=null)r[r.length]=It("numFmt",null,{numFmtId:a,formatCode:lt(e[a])})});if(r.length===1)return"";r[r.length]="</numFmts>";r[0]=It("numFmts",null,{count:r.length-2}).replace("/>",">");return r.join("")}var pc=["numFmtId","fillId","fontId","borderId","xfId"];var mc=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"];function bc(e,r,t){r.CellXf=[];var a;var n=false;(e[0].match(qr)||[]).forEach(function(e){var i=rt(e),s=0;switch(tt(i[0])){case"<cellXfs":;case"<cellXfs>":;case"<cellXfs/>":;case"</cellXfs>":break;case"<xf":;case"<xf/>":;case"<xf>":a=i;delete a[0];for(s=0;s<pc.length;++s)if(a[pc[s]])a[pc[s]]=parseInt(a[pc[s]],10);for(s=0;s<mc.length;++s)if(a[mc[s]])a[mc[s]]=pt(a[mc[s]]);if(r.NumberFmt&&a.numFmtId>392){for(s=392;s>60;--s)if(r.NumberFmt[a.numFmtId]==r.NumberFmt[s]){a.numFmtId=s;break}}r.CellXf.push(a);break;case"</xf>":break;case"<alignment":;case"<alignment/>":;case"<alignment>":var f={};if(i.vertical)f.vertical=i.vertical;if(i.horizontal)f.horizontal=i.horizontal;if(i.textRotation!=null)f.textRotation=i.textRotation;if(i.indent)f.indent=i.indent;if(i.wrapText)f.wrapText=pt(i.wrapText);a.alignment=f;break;case"</alignment>":break;case"<protection":;case"<protection>":break;case"</protection>":;case"<protection/>":break;case"<AlternateContent":;case"<AlternateContent>":n=true;break;case"</AlternateContent>":n=false;break;case"<extLst":;case"<extLst>":;case"</extLst>":break;case"<ext":n=true;break;case"</ext>":n=false;break;default:if(t&&t.WTF){if(!n)throw new Error("unrecognized "+i[0]+" in cellXfs")};}})}function gc(e){var r=[];r[r.length]=It("cellXfs",null);e.forEach(function(e){r[r.length]=It("xf",null,e)});r[r.length]="</cellXfs>";if(r.length===2)return"";r[0]=It("cellXfs",null,{count:r.length-2}).replace("/>",">");return r.join("")}var wc=function ST(){var e=/<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/;var r=/<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/;var t=/<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/;var a=/<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/;var n=/<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/;return function i(s,f,l){var o={};if(!s)return o;s=s.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"");var c;if(c=s.match(e))dc(c,o,l);if(c=s.match(a))hc(c,o,f,l);if(c=s.match(t))uc(c,o,f,l);if(c=s.match(n))cc(c,o,f,l);if(c=s.match(r))bc(c,o,l);return o}}();function kc(e,r){var t=[Kr,It("styleSheet",null,{xmlns:Mt[0],"xmlns:vt":Lt.vt})],a;if(e.SSF&&(a=vc(e.SSF))!=null)t[t.length]=a;t[t.length]='<fonts count="1"><font><sz val="12"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font></fonts>';t[t.length]='<fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills>';t[t.length]='<borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders>';t[t.length]='<cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs>';if(a=gc(r.cellXfs))t[t.length]=a;t[t.length]='<cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0"/></cellStyles>';t[t.length]='<dxfs count="0"/>';t[t.length]='<tableStyles count="0" defaultTableStyle="TableStyleMedium9" defaultPivotStyle="PivotStyleMedium4"/>';if(t.length>2){t[t.length]="</styleSheet>";t[1]=t[1].replace("/>",">")}return t.join("")}function Tc(e,r){var t=e._R(2);var a=rn(e,r-2);return[t,a]}function yc(e,r,t){if(!t)t=Ea(6+4*r.length);t._W(2,e);tn(r,t);var a=t.length>t.l?t.slice(0,t.l):t;if(t.l==null)t.l=t.length;return a}function Ec(e,r,t){var a={};a.sz=e._R(2)/20;var n=In(e,2,t);if(n.fItalic)a.italic=1;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;var i=e._R(2);if(i===700)a.bold=1;switch(e._R(2)){case 1:a.vertAlign="superscript";break;case 2:a.vertAlign="subscript";break;}var s=e._R(1);if(s!=0)a.underline=s;var f=e._R(1);if(f>0)a.family=f;var l=e._R(1);if(l>0)a.charset=l;e.l++;a.color=Rn(e,8);switch(e._R(1)){case 1:a.scheme="major";break;case 2:a.scheme="minor";break;}a.name=rn(e,r-21);return a}function _c(e,r){if(!r)r=Ea(25+4*32);r._W(2,e.sz*20);Nn(e,r);r._W(2,e.bold?700:400);var t=0;if(e.vertAlign=="superscript")t=1;else if(e.vertAlign=="subscript")t=2;r._W(2,t);r._W(1,e.underline||0);r._W(1,e.family||0);r._W(1,e.charset||0);r._W(1,0);On(e.color,r);var a=0;if(e.scheme=="major")a=1;if(e.scheme=="minor")a=2;r._W(1,a);tn(e.name,r);return r.length>r.l?r.slice(0,r.l):r}var Sc=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];var xc;var Ac=ya;function Cc(e,r){if(!r)r=Ea(4*3+8*7+16*1);if(!xc)xc=fr(Sc);var t=xc[e.patternType];if(t==null)t=40;r._W(4,t);var a=0;if(t!=40){On({auto:1},r);On({auto:1},r);for(;a<12;++a)r._W(4,0)}else{for(;a<4;++a)r._W(4,0);for(;a<12;++a)r._W(4,0)}return r.length>r.l?r.slice(0,r.l):r}function Rc(e,r){var t=e.l+r;var a=e._R(2);var n=e._R(2);e.l=t;return{ixfe:a,numFmtId:n}}function Oc(e,r,t){if(!t)t=Ea(16);t._W(2,r||0);t._W(2,e.numFmtId||0);t._W(2,0);t._W(2,0);t._W(2,0);t._W(1,0);t._W(1,0);var a=0;t._W(1,a);t._W(1,0);t._W(1,0);t._W(1,0);return t}function Ic(e,r){if(!r)r=Ea(10);r._W(1,0);r._W(1,0);r._W(4,0);r._W(4,0);return r}var Nc=ya;function Fc(e,r){if(!r)r=Ea(51);r._W(1,0);Ic(null,r);Ic(null,r);Ic(null,r);Ic(null,r);Ic(null,r);return r.length>r.l?r.slice(0,r.l):r}function Dc(e,r){if(!r)r=Ea(12+4*10);r._W(4,e.xfId);r._W(2,1);r._W(1,+e.builtinId);r._W(1,0);bn(e.name||"",r);return r.length>r.l?r.slice(0,r.l):r}function Pc(e,r,t){var a=Ea(4+256*2*4);a._W(4,e);bn(r,a);bn(t,a);return a.length>a.l?a.slice(0,a.l):a}function Lc(e,r,t){var a={};a.NumberFmt=[];for(var n in q)a.NumberFmt[n]=q[n];a.CellXf=[];a.Fonts=[];var i=[];var s=false;_a(e,function f(e,n,l){switch(l){case 44:a.NumberFmt[e[0]]=e[1];Je(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=Ko(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]==617){a.CellXf.push(e)}break;case 48:;case 507:;case 572:;case 475:break;case 1171:;case 2102:;case 1130:;case 512:;case 2095:;case 3072:break;case 35:s=true;break;case 36:s=false;break;case 37:i.push(l);s=true;break;case 38:i.pop();s=false;break;default:if(n.T>0)i.push(l);else if(n.T<0)i.pop();else if(!s||t.WTF&&i[i.length-1]!=37)throw new Error("Unexpected record 0x"+l.toString(16));}});return a}function Mc(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;xa(e,615,en(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)xa(e,44,yc(a,r[a]))});xa(e,616)}function Uc(e){var r=1;if(r==0)return;xa(e,611,en(r));xa(e,43,_c({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}));xa(e,612)}function Bc(e){var r=2;if(r==0)return;xa(e,603,en(r));xa(e,45,Cc({patternType:"none"}));xa(e,45,Cc({patternType:"gray125"}));xa(e,604)}function Wc(e){var r=1;if(r==0)return;xa(e,613,en(r));xa(e,46,Fc({}));xa(e,614)}function zc(e){var r=1;xa(e,626,en(r));xa(e,47,Oc({numFmtId:0, -fontId:0,fillId:0,borderId:0},65535));xa(e,627)}function Hc(e,r){xa(e,617,en(r.length));r.forEach(function(r){xa(e,47,Oc(r,0))});xa(e,618)}function Vc(e){var r=1;xa(e,619,en(r));xa(e,48,Dc({xfId:0,builtinId:0,name:"Normal"}));xa(e,620)}function $c(e){var r=0;xa(e,505,en(r));xa(e,506)}function Xc(e){var r=0;xa(e,508,Pc(r,"TableStyleMedium9","PivotStyleMedium4"));xa(e,509)}function Gc(){return}function jc(e,r){var t=Sa();xa(t,278);Mc(t,e.SSF);Uc(t,e);Bc(t,e);Wc(t,e);zc(t,e);Hc(t,r.cellXfs);Vc(t,e);$c(t,e);Xc(t,e);Gc(t,e);xa(t,279);return t.end()}var Kc=["</a:lt1>","</a:dk1>","</a:lt2>","</a:dk2>","</a:accent1>","</a:accent2>","</a:accent3>","</a:accent4>","</a:accent5>","</a:accent6>","</a:hlink>","</a:folHlink>"];function Yc(e,r,t){r.themeElements.clrScheme=[];var a={};(e[0].match(qr)||[]).forEach(function(e){var n=rt(e);switch(n[0]){case"<a:clrScheme":;case"</a:clrScheme>":break;case"<a:srgbClr":a.rgb=n.val;break;case"<a:sysClr":a.rgb=n.lastClr;break;case"<a:dk1>":;case"</a:dk1>":;case"<a:lt1>":;case"</a:lt1>":;case"<a:dk2>":;case"</a:dk2>":;case"<a:lt2>":;case"</a:lt2>":;case"<a:accent1>":;case"</a:accent1>":;case"<a:accent2>":;case"</a:accent2>":;case"<a:accent3>":;case"</a:accent3>":;case"<a:accent4>":;case"</a:accent4>":;case"<a:accent5>":;case"</a:accent5>":;case"<a:accent6>":;case"</a:accent6>":;case"<a:hlink>":;case"</a:hlink>":;case"<a:folHlink>":;case"</a:folHlink>":if(n[0].charAt(1)==="/"){r.themeElements.clrScheme[Kc.indexOf(n[0])]=a;a={}}else{a.name=n[0].slice(3,n[0].length-1)}break;default:if(t&&t.WTF)throw new Error("Unrecognized "+n[0]+" in clrScheme");}})}function Zc(){}function Jc(){}var qc=/<a:clrScheme([^>]*)>[\s\S]*<\/a:clrScheme>/;var Qc=/<a:fontScheme([^>]*)>[\s\S]*<\/a:fontScheme>/;var eu=/<a:fmtScheme([^>]*)>[\s\S]*<\/a:fmtScheme>/;function ru(e,r,t){r.themeElements={};var a;[["clrScheme",qc,Yc],["fontScheme",Qc,Zc],["fmtScheme",eu,Jc]].forEach(function(n){if(!(a=e.match(n[1])))throw new Error(n[0]+" not found in themeElements");n[2](a,r,t)})}var tu=/<a:themeElements([^>]*)>[\s\S]*<\/a:themeElements>/;function au(e,r){if(!e||e.length===0)e=nu();var t;var a={};if(!(t=e.match(tu)))throw new Error("themeElements not found in theme");ru(t[0],a,r);a.raw=e;return a}function nu(e,r){if(r&&r.themeXLSX)return r.themeXLSX;if(e&&typeof e.raw=="string")return e.raw;var t=[Kr];t[t.length]='<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">';t[t.length]="<a:themeElements>";t[t.length]='<a:clrScheme name="Office">';t[t.length]='<a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1>';t[t.length]='<a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1>';t[t.length]='<a:dk2><a:srgbClr val="1F497D"/></a:dk2>';t[t.length]='<a:lt2><a:srgbClr val="EEECE1"/></a:lt2>';t[t.length]='<a:accent1><a:srgbClr val="4F81BD"/></a:accent1>';t[t.length]='<a:accent2><a:srgbClr val="C0504D"/></a:accent2>';t[t.length]='<a:accent3><a:srgbClr val="9BBB59"/></a:accent3>';t[t.length]='<a:accent4><a:srgbClr val="8064A2"/></a:accent4>';t[t.length]='<a:accent5><a:srgbClr val="4BACC6"/></a:accent5>';t[t.length]='<a:accent6><a:srgbClr val="F79646"/></a:accent6>';t[t.length]='<a:hlink><a:srgbClr val="0000FF"/></a:hlink>';t[t.length]='<a:folHlink><a:srgbClr val="800080"/></a:folHlink>';t[t.length]="</a:clrScheme>";t[t.length]='<a:fontScheme name="Office">';t[t.length]="<a:majorFont>";t[t.length]='<a:latin typeface="Cambria"/>';t[t.length]='<a:ea typeface=""/>';t[t.length]='<a:cs typeface=""/>';t[t.length]='<a:font script="Jpan" typeface="MS Pゴシック"/>';t[t.length]='<a:font script="Hang" typeface="맑은 고딕"/>';t[t.length]='<a:font script="Hans" typeface="宋体"/>';t[t.length]='<a:font script="Hant" typeface="新細明體"/>';t[t.length]='<a:font script="Arab" typeface="Times New Roman"/>';t[t.length]='<a:font script="Hebr" typeface="Times New Roman"/>';t[t.length]='<a:font script="Thai" typeface="Tahoma"/>';t[t.length]='<a:font script="Ethi" typeface="Nyala"/>';t[t.length]='<a:font script="Beng" typeface="Vrinda"/>';t[t.length]='<a:font script="Gujr" typeface="Shruti"/>';t[t.length]='<a:font script="Khmr" typeface="MoolBoran"/>';t[t.length]='<a:font script="Knda" typeface="Tunga"/>';t[t.length]='<a:font script="Guru" typeface="Raavi"/>';t[t.length]='<a:font script="Cans" typeface="Euphemia"/>';t[t.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>';t[t.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>';t[t.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>';t[t.length]='<a:font script="Thaa" typeface="MV Boli"/>';t[t.length]='<a:font script="Deva" typeface="Mangal"/>';t[t.length]='<a:font script="Telu" typeface="Gautami"/>';t[t.length]='<a:font script="Taml" typeface="Latha"/>';t[t.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>';t[t.length]='<a:font script="Orya" typeface="Kalinga"/>';t[t.length]='<a:font script="Mlym" typeface="Kartika"/>';t[t.length]='<a:font script="Laoo" typeface="DokChampa"/>';t[t.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>';t[t.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>';t[t.length]='<a:font script="Viet" typeface="Times New Roman"/>';t[t.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>';t[t.length]='<a:font script="Geor" typeface="Sylfaen"/>';t[t.length]="</a:majorFont>";t[t.length]="<a:minorFont>";t[t.length]='<a:latin typeface="Calibri"/>';t[t.length]='<a:ea typeface=""/>';t[t.length]='<a:cs typeface=""/>';t[t.length]='<a:font script="Jpan" typeface="MS Pゴシック"/>';t[t.length]='<a:font script="Hang" typeface="맑은 고딕"/>';t[t.length]='<a:font script="Hans" typeface="宋体"/>';t[t.length]='<a:font script="Hant" typeface="新細明體"/>';t[t.length]='<a:font script="Arab" typeface="Arial"/>';t[t.length]='<a:font script="Hebr" typeface="Arial"/>';t[t.length]='<a:font script="Thai" typeface="Tahoma"/>';t[t.length]='<a:font script="Ethi" typeface="Nyala"/>';t[t.length]='<a:font script="Beng" typeface="Vrinda"/>';t[t.length]='<a:font script="Gujr" typeface="Shruti"/>';t[t.length]='<a:font script="Khmr" typeface="DaunPenh"/>';t[t.length]='<a:font script="Knda" typeface="Tunga"/>';t[t.length]='<a:font script="Guru" typeface="Raavi"/>';t[t.length]='<a:font script="Cans" typeface="Euphemia"/>';t[t.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>';t[t.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>';t[t.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>';t[t.length]='<a:font script="Thaa" typeface="MV Boli"/>';t[t.length]='<a:font script="Deva" typeface="Mangal"/>';t[t.length]='<a:font script="Telu" typeface="Gautami"/>';t[t.length]='<a:font script="Taml" typeface="Latha"/>';t[t.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>';t[t.length]='<a:font script="Orya" typeface="Kalinga"/>';t[t.length]='<a:font script="Mlym" typeface="Kartika"/>';t[t.length]='<a:font script="Laoo" typeface="DokChampa"/>';t[t.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>';t[t.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>';t[t.length]='<a:font script="Viet" typeface="Arial"/>';t[t.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>';t[t.length]='<a:font script="Geor" typeface="Sylfaen"/>';t[t.length]="</a:minorFont>";t[t.length]="</a:fontScheme>";t[t.length]='<a:fmtScheme name="Office">';t[t.length]="<a:fillStyleLst>";t[t.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>';t[t.length]='<a:gradFill rotWithShape="1">';t[t.length]="<a:gsLst>";t[t.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="50000"/><a:satMod val="300000"/></a:schemeClr></a:gs>';t[t.length]='<a:gs pos="35000"><a:schemeClr val="phClr"><a:tint val="37000"/><a:satMod val="300000"/></a:schemeClr></a:gs>';t[t.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="15000"/><a:satMod val="350000"/></a:schemeClr></a:gs>';t[t.length]="</a:gsLst>";t[t.length]='<a:lin ang="16200000" scaled="1"/>';t[t.length]="</a:gradFill>";t[t.length]='<a:gradFill rotWithShape="1">';t[t.length]="<a:gsLst>";t[t.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="100000"/><a:shade val="100000"/><a:satMod val="130000"/></a:schemeClr></a:gs>';t[t.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="50000"/><a:shade val="100000"/><a:satMod val="350000"/></a:schemeClr></a:gs>';t[t.length]="</a:gsLst>";t[t.length]='<a:lin ang="16200000" scaled="0"/>';t[t.length]="</a:gradFill>";t[t.length]="</a:fillStyleLst>";t[t.length]="<a:lnStyleLst>";t[t.length]='<a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"><a:shade val="95000"/><a:satMod val="105000"/></a:schemeClr></a:solidFill><a:prstDash val="solid"/></a:ln>';t[t.length]='<a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>';t[t.length]='<a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>';t[t.length]="</a:lnStyleLst>";t[t.length]="<a:effectStyleLst>";t[t.length]="<a:effectStyle>";t[t.length]="<a:effectLst>";t[t.length]='<a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="38000"/></a:srgbClr></a:outerShdw>';t[t.length]="</a:effectLst>";t[t.length]="</a:effectStyle>";t[t.length]="<a:effectStyle>";t[t.length]="<a:effectLst>";t[t.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>';t[t.length]="</a:effectLst>";t[t.length]="</a:effectStyle>";t[t.length]="<a:effectStyle>";t[t.length]="<a:effectLst>";t[t.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>';t[t.length]="</a:effectLst>";t[t.length]='<a:scene3d><a:camera prst="orthographicFront"><a:rot lat="0" lon="0" rev="0"/></a:camera><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="1200000"/></a:lightRig></a:scene3d>';t[t.length]='<a:sp3d><a:bevelT w="63500" h="25400"/></a:sp3d>';t[t.length]="</a:effectStyle>";t[t.length]="</a:effectStyleLst>";t[t.length]="<a:bgFillStyleLst>";t[t.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>';t[t.length]='<a:gradFill rotWithShape="1">';t[t.length]="<a:gsLst>";t[t.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="40000"/><a:satMod val="350000"/></a:schemeClr></a:gs>';t[t.length]='<a:gs pos="40000"><a:schemeClr val="phClr"><a:tint val="45000"/><a:shade val="99000"/><a:satMod val="350000"/></a:schemeClr></a:gs>';t[t.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="20000"/><a:satMod val="255000"/></a:schemeClr></a:gs>';t[t.length]="</a:gsLst>";t[t.length]='<a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000"/></a:path>';t[t.length]="</a:gradFill>";t[t.length]='<a:gradFill rotWithShape="1">';t[t.length]="<a:gsLst>";t[t.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="80000"/><a:satMod val="300000"/></a:schemeClr></a:gs>';t[t.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="30000"/><a:satMod val="200000"/></a:schemeClr></a:gs>';t[t.length]="</a:gsLst>";t[t.length]='<a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000"/></a:path>';t[t.length]="</a:gradFill>";t[t.length]="</a:bgFillStyleLst>";t[t.length]="</a:fmtScheme>";t[t.length]="</a:themeElements>";t[t.length]="<a:objectDefaults>";t[t.length]="<a:spDef>";t[t.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="1"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="3"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="2"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="lt1"/></a:fontRef></a:style>';t[t.length]="</a:spDef>";t[t.length]="<a:lnDef>";t[t.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="2"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="0"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="1"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="tx1"/></a:fontRef></a:style>';t[t.length]="</a:lnDef>";t[t.length]="</a:objectDefaults>";t[t.length]="<a:extraClrSchemeLst/>";t[t.length]="</a:theme>";return t.join("")}function iu(e,r,t){var a=e.l+r;var n=e._R(4);if(n===124226)return;if(!t.cellStyles){e.l=a;return}var i=e.slice(e.l);e.l=a;var s;try{s=Gr(i,{type:"array"})}catch(f){return}var l=zr(s,"theme/theme/theme1.xml",true);if(!l)return;return au(l,t)}function su(e){return e._R(4)}function fu(e){var r={};r.xclrType=e._R(2);r.nTintShade=e._R(2);switch(r.xclrType){case 0:e.l+=4;break;case 1:r.xclrValue=lu(e,4);break;case 2:r.xclrValue=Fs(e,4);break;case 3:r.xclrValue=su(e,4);break;case 4:e.l+=4;break;}e.l+=8;return r}function lu(e,r){return ya(e,r)}function ou(e,r){return ya(e,r)}function cu(e){var r=e._R(2);var t=e._R(2)-4;var a=[r];switch(r){case 4:;case 5:;case 7:;case 8:;case 9:;case 10:;case 11:;case 13:a[1]=fu(e,t);break;case 6:a[1]=ou(e,t);break;case 14:;case 15:a[1]=e._R(t===1?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+r+" "+t);}return a}function uu(e,r){var t=e.l+r;e.l+=2;var a=e._R(2);e.l+=2;var n=e._R(2);var i=[];while(n-- >0)i.push(cu(e,t-e.l));return{ixfe:a,ext:i}}function hu(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 du(e,r){return{flags:e._R(4),version:e._R(4),name:rn(e,r-8)}}function vu(e){var r=Ea(12+2*e.name.length);r._W(4,e.flags);r._W(4,e.version);tn(e.name,r);return r.slice(0,r.l)}function pu(e){var r=[];var t=e._R(4);while(t-- >0)r.push([e._R(4),e._R(4)]);return r}function mu(e){var r=Ea(4+8*e.length);r._W(4,e.length);for(var t=0;t<e.length;++t){r._W(4,e[t][0]);r._W(4,e[t][1])}return r}function bu(e,r){var t=Ea(8+2*r.length);t._W(4,e);tn(r,t);return t.slice(0,t.l)}function gu(e){e.l+=4;return e._R(4)!=0}function wu(e,r){var t=Ea(8);t._W(4,e);t._W(4,r?1:0);return t}function ku(e,r,t){var a={Types:[],Cell:[],Value:[]};var n=t||{};var i=[];var s=false;var f=2;_a(e,function(e,r,t){switch(t){case 335:a.Types.push({name:e.name});break;case 51:e.forEach(function(e){if(f==1)a.Cell.push({type:a.Types[e[0]-1].name,index:e[1]});else if(f==0)a.Value.push({type:a.Types[e[0]-1].name,index:e[1]})});break;case 337:f=e?1:0;break;case 338:f=2;break;case 35:i.push(t);s=true;break;case 36:i.pop();s=false;break;default:if(r.T){}else if(!s||n.WTF&&i[i.length-1]!=35)throw new Error("Unexpected record 0x"+t.toString(16));}});return a}function Tu(){var e=Sa();xa(e,332);xa(e,334,en(1));xa(e,335,vu({name:"XLDAPR",version:12e4,flags:3496657072}));xa(e,336);xa(e,339,bu(1,"XLDAPR"));xa(e,52);xa(e,35,en(514));xa(e,4096,en(0));xa(e,4097,vs(1));xa(e,36);xa(e,53);xa(e,340);xa(e,337,wu(1,true));xa(e,51,mu([[1,0]]));xa(e,338);xa(e,333);return e.end()}function yu(e,r,t){var a={Types:[],Cell:[],Value:[]};if(!e)return a;var n=false;var i=2;var s;e.replace(qr,function(e){var r=rt(e);switch(tt(r[0])){case"<?xml":break;case"<metadata":;case"</metadata>":break;case"<metadataTypes":;case"</metadataTypes>":break;case"<metadataType":a.Types.push({name:r.name});break;case"</metadataType>":break;case"<futureMetadata":for(var f=0;f<a.Types.length;++f)if(a.Types[f].name==r.name)s=a.Types[f];break;case"</futureMetadata>":break;case"<bk>":break;case"</bk>":break;case"<rc":if(i==1)a.Cell.push({type:a.Types[r.t-1].name,index:+r.v});else if(i==0)a.Value.push({type:a.Types[r.t-1].name,index:+r.v});break;case"</rc>":break;case"<cellMetadata":i=1;break;case"</cellMetadata>":i=2;break;case"<valueMetadata":i=0;break;case"</valueMetadata>":i=2;break;case"<extLst":;case"<extLst>":;case"</extLst>":;case"<extLst/>":break;case"<ext":n=true;break;case"</ext>":n=false;break;case"<rvb":if(!s)break;if(!s.offsets)s.offsets=[];s.offsets.push(+r.i);break;default:if(!n&&(t==null?void 0:t.WTF))throw new Error("unrecognized "+r[0]+" in metadata");}return e});return a}function Eu(){var e=[Kr];e.push('<metadata xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:xlrd="http://schemas.microsoft.com/office/spreadsheetml/2017/richdata" xmlns:xda="http://schemas.microsoft.com/office/spreadsheetml/2017/dynamicarray">\n <metadataTypes count="1">\n <metadataType name="XLDAPR" minSupportedVersion="120000" copy="1" pasteAll="1" pasteValues="1" merge="1" splitFirst="1" rowColShift="1" clearFormats="1" clearComments="1" assign="1" coerce="1" cellMeta="1"/>\n </metadataTypes>\n <futureMetadata name="XLDAPR" count="1">\n <bk>\n <extLst>\n <ext uri="{bdbb8cdc-fa1e-496e-a857-3c3f30c029c3}">\n <xda:dynamicArrayProperties fDynamic="1" fCollapsed="0"/>\n </ext>\n </extLst>\n </bk>\n </futureMetadata>\n <cellMetadata count="1">\n <bk>\n <rc t="1" v="0"/>\n </bk>\n </cellMetadata>\n</metadata>');return e.join("")}function _u(e){var r=[];if(!e)return r;var t=1;(e.match(qr)||[]).forEach(function(e){var a=rt(e);switch(a[0]){case"<?xml":break;case"<calcChain":;case"<calcChain>":;case"</calcChain>":break;case"<c":delete a[0];if(a.i)t=a.i;else a.i=t;r.push(a);break;}});return r}function Su(e){var r={};r.i=e._R(4);var t={};t.r=e._R(4);t.c=e._R(4);r.r=za(t);var a=e._R(1);if(a&2)r.l="1";if(a&8)r.a="1";return r}function xu(e,r,t){var a=[];var n=false;_a(e,function i(e,r,s){switch(s){case 63:a.push(e);break;default:if(r.T){}else if(!n||t.WTF)throw new Error("Unexpected record 0x"+s.toString(16));}});return a}function Au(){}function Cu(e,r,t,a){if(!e)return e;var n=a||{};var i=false,s=false;_a(e,function f(e,r,t){if(s)return;switch(t){case 359:;case 363:;case 364:;case 366:;case 367:;case 368:;case 369:;case 370:;case 371:;case 472:;case 577:;case 578:;case 579:;case 580:;case 581:;case 582:;case 583:;case 584:;case 585:;case 586:;case 587:break;case 35:i=true;break;case 36:i=false;break;default:if(r.T){}else if(!i||n.WTF)throw new Error("Unexpected record 0x"+t.toString(16));}},n)}function Ru(e,r){if(!e)return"??";var t=(e.match(/<c:chart [^>]*r:id="([^"]*)"/)||["",""])[1];return r["!id"][t].Target}var Ou=/<(?:\w+:)?shape(?:[^\w][^>]*)?>([\s\S]*?)<\/(?:\w+:)?shape>/g;function Iu(e,r,t){var a=0;(e.match(Ou)||[]).forEach(function(e){var n="";var i=true;var s=-1;var f=-1,l=-1;e.replace(qr,function(r,t){var a=rt(r);switch(tt(a[0])){case"<ClientData":if(a.ObjectType)n=a.ObjectType;break;case"<Visible":;case"<Visible/>":i=false;break;case"<Row":;case"<Row>":s=t+r.length;break;case"</Row>":f=+e.slice(s,t).trim();break;case"<Column":;case"<Column>":s=t+r.length;break;case"</Column>":l=+e.slice(s,t).trim();break;}return""});switch(n){case"Note":var o=Xk(r,f>=0&&l>=0?za({r:f,c:l}):t[a].ref);if(o.c){o.c.hidden=i}++a;break;}})}function Nu(e,r,t){var a=[21600,21600];var n=["m0,0l0",a[1],a[0],a[1],a[0],"0xe"].join(",");var i=[It("xml",null,{"xmlns:v":Ut.v,"xmlns:o":Ut.o,"xmlns:x":Ut.x,"xmlns:mv":Ut.mv}).replace(/\/>/,">"),It("o:shapelayout",It("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"})];var s=65536*e;var f=r||[];if(f.length>0)i.push(It("v:shapetype",[It("v:stroke",null,{joinstyle:"miter"}),It("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202",coordsize:a.join(","),"o:spt":202,path:n}));f.forEach(function(e){++s;i.push(Fu(e,s))});i.push("</xml>");return i.join("")}function Fu(e,r,t){var a=Wa(e[0]);var n={color2:"#BEFF82",type:"gradient"};if(n.type=="gradient")n.angle="-180";var i=n.type=="gradient"?It("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null;var s=It("v:fill",i,n);var f={on:"t",obscured:"t"};return["<v:shape"+Ot({id:"_x0000_s"+r,type:"#_x0000_t202",style:"position:absolute; margin-left:80pt;margin-top:5pt;width:104pt;height:64pt;z-index:10"+(e[1].hidden?";visibility:hidden":""),fillcolor:"#ECFAD4",strokecolor:"#edeaa1"})+">",s,It("v:shadow",null,f),It("v:path",null,{"o:connecttype":"none"}),'<v:textbox><div style="text-align:left"></div></v:textbox>','<x:ClientData ObjectType="Note">',"<x:MoveWithCells/>","<x:SizeWithCells/>",Rt("x:Anchor",[a.c+1,0,a.r+1,0,a.c+3,20,a.r+5,20].join(",")),Rt("x:AutoFill","False"),Rt("x:Row",String(a.r)),Rt("x:Column",String(a.c)),e[1].hidden?"":"<x:Visible/>","</x:ClientData>","</v:shape>"].join("")}function Du(e,r,t,a){var n=e["!data"]!=null;var i;r.forEach(function(r){var s=Wa(r.ref);if(s.r<0||s.c<0)return;if(n){if(!e["!data"][s.r])e["!data"][s.r]=[];i=e["!data"][s.r][s.c]}else i=e[r.ref];if(!i){i={t:"z"};if(n)e["!data"][s.r][s.c]=i;else e[r.ref]=i;var f=Ga(e["!ref"]||"BDWGO1000001:A1");if(f.s.r>s.r)f.s.r=s.r;if(f.e.r<s.r)f.e.r=s.r;if(f.s.c>s.c)f.s.c=s.c;if(f.e.c<s.c)f.e.c=s.c;var l=Va(f);e["!ref"]=l}if(!i.c)i.c=[];var o={a:r.author,t:r.t,r:r.r,T:t};if(r.h)o.h=r.h;for(var c=i.c.length-1;c>=0;--c){if(!t&&i.c[c].T)return;if(t&&!i.c[c].T)i.c.splice(c,1)}if(t&&a)for(c=0;c<a.length;++c){if(o.a==a[c].id){o.a=a[c].name||o.a;break}}i.c.push(o)})}function Pu(e,r){if(e.match(/<(?:\w+:)?comments *\/>/))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){if(e===""||e.trim()==="")return;var n=e.match(/<(?:\w+:)?comment[^>]*>/);if(!n)return;var i=rt(n[0]);var s={author:i.authorId&&t[i.authorId]||"sheetjsghost",ref:i.ref,guid:i.guid};var f=Wa(i.ref);if(r.sheetRows&&r.sheetRows<=f.r)return;var l=e.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/);var o=!!l&&!!l[1]&&no(l[1])||{r:"",t:"",h:""};s.r=o.r;if(o.r=="<t></t>")o.t=o.h="";s.t=(o.t||"").replace(/\r\n/g,"\n").replace(/\r/g,"\n");if(r.cellHTML)s.h=o.h;a.push(s)});return a}function Lu(e){var r=[Kr,It("comments",null,{xmlns:Mt[0]})];var t=[];r.push("<authors>");e.forEach(function(e){e[1].forEach(function(e){var a=lt(e.a);if(t.indexOf(a)==-1){t.push(a);r.push("<author>"+a+"</author>")}if(e.T&&e.ID&&t.indexOf("tc="+e.ID)==-1){t.push("tc="+e.ID);r.push("<author>"+"tc="+e.ID+"</author>")}})});if(t.length==0){t.push("SheetJ5");r.push("<author>SheetJ5</author>")}r.push("</authors>");r.push("<commentList>");e.forEach(function(e){var a=0,n=[],i=0;if(e[1][0]&&e[1][0].T&&e[1][0].ID)a=t.indexOf("tc="+e[1][0].ID);e[1].forEach(function(e){if(e.a)a=t.indexOf(lt(e.a));if(e.T)++i;n.push(e.t==null?"":lt(e.t))});if(i===0){e[1].forEach(function(a){r.push('<comment ref="'+e[0]+'" authorId="'+t.indexOf(lt(a.a))+'"><text>');r.push(Rt("t",a.t==null?"":lt(a.t)));r.push("</text></comment>")})}else{if(e[1][0]&&e[1][0].T&&e[1][0].ID)a=t.indexOf("tc="+e[1][0].ID);r.push('<comment ref="'+e[0]+'" authorId="'+a+'"><text>');var s="Comment:\n "+n[0]+"\n";for(var f=1;f<n.length;++f)s+="Reply:\n "+n[f]+"\n";r.push(Rt("t",lt(s)));r.push("</text></comment>")}});r.push("</commentList>");if(r.length>2){r[r.length]="</comments>";r[1]=r[1].replace("/>",">")}return r.join("")}function Mu(e,r){var t=[];var a=false,n={},i=0;e.replace(qr,function s(f,l){var o=rt(f);switch(tt(o[0])){case"<?xml":break;case"<ThreadedComments":break;case"</ThreadedComments>":break;case"<threadedComment":n={author:o.personId,guid:o.id,ref:o.ref,T:1};break;case"</threadedComment>":if(n.t!=null)t.push(n);break;case"<text>":;case"<text":i=l+f.length;break;case"</text>":n.t=e.slice(i,l).replace(/\r\n/g,"\n").replace(/\r/g,"\n");break;case"<mentions":;case"<mentions>":a=true;break;case"</mentions>":a=false;break;case"<extLst":;case"<extLst>":;case"</extLst>":;case"<extLst/>":break;case"<ext":a=true;break;case"</ext>":a=false;break;default:if(!a&&r.WTF)throw new Error("unrecognized "+o[0]+" in threaded comments");}return f});return t}function Uu(e,r,t){var a=[Kr,It("ThreadedComments",null,{xmlns:Lt.TCMNT}).replace(/[\/]>/,">")];e.forEach(function(e){var n="";(e[1]||[]).forEach(function(i,s){if(!i.T){delete i.ID;return}if(i.a&&r.indexOf(i.a)==-1)r.push(i.a);var f={ref:e[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+t.tcid++).slice(-12)+"}"};if(s==0)n=f.id;else f.parentId=n;i.ID=f.id;if(i.a)f.personId="{54EE7950-7262-4200-6969-"+("000000000000"+r.indexOf(i.a)).slice(-12)+"}";a.push(It("threadedComment",Rt("text",i.t||""),f))})});a.push("</ThreadedComments>");return a.join("")}function Bu(e,r){var t=[];var a=false;e.replace(qr,function n(e){var n=rt(e);switch(tt(n[0])){case"<?xml":break;case"<personList":break;case"</personList>":break;case"<person":t.push({name:n.displayname,id:n.id});break;case"</person>":break;case"<extLst":;case"<extLst>":;case"</extLst>":;case"<extLst/>":break;case"<ext":a=true;break;case"</ext>":a=false;break;default:if(!a&&r.WTF)throw new Error("unrecognized "+n[0]+" in threaded comments");}return e});return t}function Wu(e){var r=[Kr,It("personList",null,{xmlns:Lt.TCMNT,"xmlns:x":Mt[0]}).replace(/[\/]>/,">")];e.forEach(function(e,t){r.push(It("person",null,{displayName:e,id:"{54EE7950-7262-4200-6969-"+("000000000000"+t).slice(-12)+"}",userId:e,providerId:"None"}))});r.push("</personList>");return r.join("")}function zu(e){var r={};r.iauthor=e._R(4);var t=Sn(e,16);r.rfx=t.s;r.ref=za(t.s);e.l+=16;return r}function Hu(e,r){if(r==null)r=Ea(36);r._W(4,e[1].iauthor);xn(e[0],r);r._W(4,0);r._W(4,0);r._W(4,0);r._W(4,0);return r}var Vu=rn;function $u(e){return tn(e.slice(0,54))}function Xu(e,r){var t=[];var a=[];var n={};var i=false;_a(e,function s(e,f,l){switch(l){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&&n.rfx&&r.sheetRows<=n.rfx.r)break;if(!n.t)n.t="";delete n.rfx;t.push(n);break;case 3072:break;case 35:i=true;break;case 36:i=false;break;case 37:break;case 38:break;default:if(f.T){}else if(!i||r.WTF)throw new Error("Unexpected record 0x"+l.toString(16));}});return t}function Gu(e){var r=Sa();var t=[];xa(r,628);xa(r,630);e.forEach(function(e){e[1].forEach(function(e){if(t.indexOf(e.a)>-1)return;t.push(e.a.slice(0,54));xa(r,632,$u(e.a));if(e.T&&e.ID&&t.indexOf("tc="+e.ID)==-1){t.push("tc="+e.ID);xa(r,632,$u("tc="+e.ID))}})});xa(r,631);xa(r,633);e.forEach(function(e){e[1].forEach(function(a){var n=-1;if(a.ID)n=t.indexOf("tc="+a.ID);if(n==-1&&e[1][0].T&&e[1][0].ID)n=t.indexOf("tc="+e[1][0].ID);if(n==-1)n=t.indexOf(a.a);a.iauthor=n;var i={s:Wa(e[0]),e:Wa(e[0])};xa(r,635,Hu([i,a]));if(a.t&&a.t.length>0)xa(r,637,on(a));xa(r,636);delete a.iauthor})});xa(r,634);xa(r,629);return r.end()}var ju="application/vnd.ms-office.vbaProject";function Ku(e){var r=Qe.utils.cfb_new({root:"R"});e.FullPaths.forEach(function(t,a){if(t.slice(-1)==="/"||!t.match(/_VBA_PROJECT_CUR/))return;var n=t.replace(/^[^\/]*/,"R").replace(/\/_VBA_PROJECT_CUR\u0000*/,"");Qe.utils.cfb_add(r,n,e.FileIndex[a].content)});return Qe.write(r)}function Yu(e,r){r.FullPaths.forEach(function(t,a){if(a==0)return;var n=t.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");if(n.slice(-1)!=="/")Qe.utils.cfb_add(e,n,r.FileIndex[a].content)})}var Zu=["xlsb","xlsm","xlam","biff8","xla"];function Ju(){return{"!type":"dialog"}}function qu(){return{"!type":"dialog"}}function Qu(){return{"!type":"macro"}}function eh(){return{"!type":"macro"}}var rh=function(){var e=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g;var r={r:0,c:0};function t(e,t,a,n){var i=false,s=false;if(a.length==0)s=true;else if(a.charAt(0)=="["){s=true;a=a.slice(1,-1)}if(n.length==0)i=true;else if(n.charAt(0)=="["){i=true;n=n.slice(1,-1)}var f=a.length>0?parseInt(a,10)|0:0,l=n.length>0?parseInt(n,10)|0:0;if(i)l+=r.c;else--l;if(s)f+=r.r;else--f;return t+(i?"":"$")+La(l)+(s?"":"$")+Na(f)}return function a(n,i){r=i;return n.replace(e,t)}}();var th=/(^|[^._A-Z0-9])(\$?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])(\$?)(\d{1,7})(?![_.\(A-Za-z0-9])/g;try{th=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g}catch(ah){}var nh=function(){return function e(r,t){return r.replace(th,function(e,r,a,n,i,s){var f=Pa(n)-(a?0:t.c);var l=Ia(s)-(i?0:t.r);var o=i=="$"?l+1:l==0?"":"["+l+"]";var c=a=="$"?f+1:f==0?"":"["+f+"]";return r+"R"+o+"C"+c})}}();function ih(e,r){return e.replace(th,function(e,t,a,n,i,s){return t+(a=="$"?a+n:La(Pa(n)+r.c))+(i=="$"?i+s:Na(Ia(s)+r.r))})}function sh(e,r,t){var a=Ha(r),n=a.s,i=Wa(t);var s={r:i.r-n.r,c:i.c-n.c};return ih(e,s)}function fh(e){if(e.length==1)return false;return true}function lh(e){return e.replace(/_xlfn\./g,"")}function oh(e){e.l+=1;return}function ch(e,r){var t=e._R(r==1?1:2);return[t&16383,t>>14&1,t>>15&1]}function uh(e,r,t){var a=2;if(t){if(t.biff>=2&&t.biff<=5)return hh(e,r,t);else if(t.biff==12)a=4}var n=e._R(a),i=e._R(a);var s=ch(e,2);var f=ch(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 hh(e){var r=ch(e,2),t=ch(e,2);var a=e._R(1);var n=e._R(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 dh(e,r,t){if(t.biff<8)return hh(e,r,t);var a=e._R(t.biff==12?4:2),n=e._R(t.biff==12?4:2);var i=ch(e,2);var s=ch(e,2);return{s:{r:a,c:i[0],cRel:i[1],rRel:i[2]},e:{r:n,c:s[0],cRel:s[1],rRel:s[2]}}}function vh(e,r,t){if(t&&t.biff>=2&&t.biff<=5)return ph(e,r,t);var a=e._R(t&&t.biff==12?4:2);var n=ch(e,2);return{r:a,c:n[0],cRel:n[1],rRel:n[2]}}function ph(e){var r=ch(e,2);var t=e._R(1);return{r:r[0],c:t,cRel:r[1],rRel:r[2]}}function mh(e){var r=e._R(2);var t=e._R(2);return{r:r,c:t&255,fQuoted:!!(t&16384),cRel:t>>15,rRel:t>>15}}function bh(e,r,t){var a=t&&t.biff?t.biff:8;if(a>=2&&a<=5)return gh(e,r,t);var n=e._R(a>=12?4:2);var i=e._R(2);var s=(i&16384)>>14,f=(i&32768)>>15;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 gh(e){var r=e._R(2);var t=e._R(1);var a=(r&32768)>>15,n=(r&16384)>>14;r&=16383;if(a==1&&r>=8192)r=r-16384;if(n==1&&t>=128)t=t-256;return{r:r,c:t,cRel:n,rRel:a}}function wh(e,r,t){var a=(e[e.l++]&96)>>5;var n=uh(e,t.biff>=2&&t.biff<=5?6:8,t);return[a,n]}function kh(e,r,t){var a=(e[e.l++]&96)>>5;var n=e._R(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=uh(e,i,t);return[a,n,s]}function Th(e,r,t){var a=(e[e.l++]&96)>>5;e.l+=t&&t.biff>8?12:t.biff<8?6:8;return[a]}function yh(e,r,t){var a=(e[e.l++]&96)>>5;var n=e._R(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 Eh(e,r,t){var a=(e[e.l++]&96)>>5;var n=dh(e,r-1,t);return[a,n]}function _h(e,r,t){var a=(e[e.l++]&96)>>5;e.l+=t.biff==2?6:t.biff==12?14:7;return[a]}function Sh(e){var r=e[e.l+1]&1;var t=1;e.l+=4;return[r,t]}function xh(e,r,t){e.l+=2;var a=e._R(t&&t.biff==2?1:2);var n=[];for(var i=0;i<=a;++i)n.push(e._R(t&&t.biff==2?1:2));return n}function Ah(e,r,t){var a=e[e.l+1]&255?1:0;e.l+=2;return[a,e._R(t&&t.biff==2?1:2)]}function Ch(e,r,t){var a=e[e.l+1]&255?1:0;e.l+=2;return[a,e._R(t&&t.biff==2?1:2)]}function Rh(e){var r=e[e.l+1]&255?1:0;e.l+=2;return[r,e._R(2)]}function Oh(e,r,t){var a=e[e.l+1]&255?1:0;e.l+=t&&t.biff==2?3:4;return[a]}function Ih(e){var r=e._R(1),t=e._R(1);return[r,t]}function Nh(e){e._R(2);return Ih(e,2)}function Fh(e){e._R(2);return Ih(e,2)}function Dh(e,r,t){var a=(e[e.l]&96)>>5;e.l+=1;var n=vh(e,0,t);return[a,n]}function Ph(e,r,t){var a=(e[e.l]&96)>>5;e.l+=1;var n=bh(e,0,t);return[a,n]}function Lh(e,r,t){var a=(e[e.l]&96)>>5;e.l+=1;var n=e._R(2);if(t&&t.biff==5)e.l+=12;var i=vh(e,0,t);return[a,n,i]}function Mh(e,r,t){ -var a=(e[e.l]&96)>>5;e.l+=1;var n=e._R(t&&t.biff<=3?1:2);return[uv[n],cv[n],a]}function Uh(e,r,t){var a=e[e.l++];var n=e._R(1),i=t&&t.biff<=3?[a==88?-1:0,e._R(1)]:Bh(e);return[n,(i[0]===0?cv:ov)[i[1]]]}function Bh(e){return[e[e.l+1]>>7,e._R(2)&32767]}function Wh(e,r,t){e.l+=t&&t.biff==2?3:4;return}function zh(e,r,t){e.l++;if(t&&t.biff==12)return[e._R(4,"i"),0];var a=e._R(2);var n=e._R(t&&t.biff==2?1:2);return[a,n]}function Hh(e){e.l++;return ti[e._R(1)]}function Vh(e){e.l++;return e._R(2)}function $h(e){e.l++;return e._R(1)!==0}function Xh(e){e.l++;return An(e,8)}function Gh(e,r,t){e.l++;return gs(e,r-1,t)}function jh(e,r){var t=[e._R(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]=us(e,1)?"TRUE":"FALSE";if(r!=12)e.l+=7;break;case 37:;case 16:t[1]=ti[e[e.l]];e.l+=r==12?4:8;break;case 0:e.l+=8;break;case 1:t[1]=An(e,8);break;case 2:t[1]=Es(e,0,{biff:r>0&&r<8?2:r});break;default:throw new Error("Bad SerAr: "+t[0]);}return t}function Kh(e,r,t){var a=e._R(t.biff==12?4:2);var n=[];for(var i=0;i!=a;++i)n.push((t.biff==12?Sn:Hs)(e,8));return n}function Yh(e,r,t){var a=0,n=0;if(t.biff==12){a=e._R(4);n=e._R(4)}else{n=1+e._R(1);a=1+e._R(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]=jh(e,t.biff);return s}function Zh(e,r,t){var a=e._R(1)>>>5&3;var n=!t||t.biff>=8?4:2;var i=e._R(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 Jh(e,r,t){if(t.biff==5)return qh(e,r,t);var a=e._R(1)>>>5&3;var n=e._R(2);var i=e._R(4);return[a,n,i]}function qh(e){var r=e._R(1)>>>5&3;var t=e._R(2,"i");e.l+=8;var a=e._R(2);e.l+=12;return[r,t,a]}function Qh(e,r,t){var a=e._R(1)>>>5&3;e.l+=t&&t.biff==2?3:4;var n=e._R(t&&t.biff==2?1:2);return[a,n]}function ed(e,r,t){var a=e._R(1)>>>5&3;var n=e._R(t&&t.biff==2?1:2);return[a,n]}function rd(e,r,t){var a=e._R(1)>>>5&3;e.l+=4;if(t.biff<8)e.l--;if(t.biff==12)e.l+=2;return[a]}function td(e,r,t){var a=(e[e.l++]&96)>>5;var n=e._R(2);var i=4;if(t)switch(t.biff){case 5:i=15;break;case 12:i=6;break;}e.l+=i;return[a,n]}var ad=ya;var nd=ya;var id=ya;function sd(e,r,t){e.l+=2;return[mh(e,4,t)]}function fd(e){e.l+=6;return[]}var ld=sd;var od=fd;var cd=fd;var ud=sd;function hd(e){e.l+=2;return[ds(e),e._R(2)&1]}var dd=sd;var vd=hd;var pd=fd;var md=sd;var bd=sd;var gd=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];function wd(e){e.l+=2;var r=e._R(2);var t=e._R(2);var a=e._R(4);var n=e._R(2);var i=e._R(2);var s=gd[t>>2&31];return{ixti:r,coltype:t&3,rt:s,idx:a,c:n,C:i}}function kd(e){e.l+=2;return[e._R(4)]}function Td(e,r,t){e.l+=5;e.l+=2;e.l+=t.biff==2?1:4;return["PTGSHEET"]}function yd(e,r,t){e.l+=t.biff==2?4:5;return["PTGENDSHEET"]}function Ed(e){var r=e._R(1)>>>5&3;var t=e._R(2);return[r,t]}function _d(e){var r=e._R(1)>>>5&3;var t=e._R(2);return[r,t]}function Sd(e){e.l+=4;return[0,0]}var xd={1:{n:"PtgExp",f:zh},2:{n:"PtgTbl",f:id},3:{n:"PtgAdd",f:oh},4:{n:"PtgSub",f:oh},5:{n:"PtgMul",f:oh},6:{n:"PtgDiv",f:oh},7:{n:"PtgPower",f:oh},8:{n:"PtgConcat",f:oh},9:{n:"PtgLt",f:oh},10:{n:"PtgLe",f:oh},11:{n:"PtgEq",f:oh},12:{n:"PtgGe",f:oh},13:{n:"PtgGt",f:oh},14:{n:"PtgNe",f:oh},15:{n:"PtgIsect",f:oh},16:{n:"PtgUnion",f:oh},17:{n:"PtgRange",f:oh},18:{n:"PtgUplus",f:oh},19:{n:"PtgUminus",f:oh},20:{n:"PtgPercent",f:oh},21:{n:"PtgParen",f:oh},22:{n:"PtgMissArg",f:oh},23:{n:"PtgStr",f:Gh},26:{n:"PtgSheet",f:Td},27:{n:"PtgEndSheet",f:yd},28:{n:"PtgErr",f:Hh},29:{n:"PtgBool",f:$h},30:{n:"PtgInt",f:Vh},31:{n:"PtgNum",f:Xh},32:{n:"PtgArray",f:_h},33:{n:"PtgFunc",f:Mh},34:{n:"PtgFuncVar",f:Uh},35:{n:"PtgName",f:Zh},36:{n:"PtgRef",f:Dh},37:{n:"PtgArea",f:wh},38:{n:"PtgMemArea",f:Qh},39:{n:"PtgMemErr",f:ad},40:{n:"PtgMemNoMem",f:nd},41:{n:"PtgMemFunc",f:ed},42:{n:"PtgRefErr",f:rd},43:{n:"PtgAreaErr",f:Th},44:{n:"PtgRefN",f:Ph},45:{n:"PtgAreaN",f:Eh},46:{n:"PtgMemAreaN",f:Ed},47:{n:"PtgMemNoMemN",f:_d},57:{n:"PtgNameX",f:Jh},58:{n:"PtgRef3d",f:Lh},59:{n:"PtgArea3d",f:kh},60:{n:"PtgRefErr3d",f:td},61:{n:"PtgAreaErr3d",f:yh},255:{}};var Ad={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,78:46,110:46,79:47,111:47,88:34,120:34,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61};var Cd={1:{n:"PtgElfLel",f:hd},2:{n:"PtgElfRw",f:md},3:{n:"PtgElfCol",f:ld},6:{n:"PtgElfRwV",f:bd},7:{n:"PtgElfColV",f:ud},10:{n:"PtgElfRadical",f:dd},11:{n:"PtgElfRadicalS",f:pd},13:{n:"PtgElfColS",f:od},15:{n:"PtgElfColSV",f:cd},16:{n:"PtgElfRadicalLel",f:vd},25:{n:"PtgList",f:wd},29:{n:"PtgSxName",f:kd},255:{}};var Rd={0:{n:"PtgAttrNoop",f:Sd},1:{n:"PtgAttrSemi",f:Oh},2:{n:"PtgAttrIf",f:Ch},4:{n:"PtgAttrChoose",f:xh},8:{n:"PtgAttrGoto",f:Ah},16:{n:"PtgAttrSum",f:Wh},32:{n:"PtgAttrBaxcel",f:Sh},33:{n:"PtgAttrBaxcel",f:Sh},64:{n:"PtgAttrSpace",f:Nh},65:{n:"PtgAttrSpaceSemi",f:Fh},128:{n:"PtgAttrIfError",f:Rh},255:{}};function Od(e,r,t,a){if(a.biff<8)return ya(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]=Yh(e,0,a);i.push(t[s][1]);break;case"PtgMemArea":t[s][2]=Kh(e,t[s][1],a);i.push(t[s][2]);break;case"PtgExp":if(a&&a.biff==12){t[s][1][1]=e._R(4);i.push(t[s][1])}break;case"PtgList":;case"PtgElfRadicalS":;case"PtgElfColS":;case"PtgElfColSV":throw"Unsupported "+t[s][0];default:break;}}r=n-e.l;if(r!==0)i.push(ya(e,r));return i}function Id(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=xd[i]||xd[Ad[i]];if(i===24||i===25)n=(i===24?Cd:Rd)[e[e.l+1]];if(!n||!n.f){ya(e,r)}else{s.push([n.n,n.f(e,r,t)])}}return s}function Nd(e){var r=[];for(var t=0;t<e.length;++t){var a=e[t],n=[];for(var i=0;i<a.length;++i){var s=a[i];if(s)switch(s[0]){case 2:n.push('"'+s[1].replace(/"/g,'""')+'"');break;default:n.push(s[1]);}else n.push("")}r.push(n.join(","))}return r.join(";")}var Fd={PtgAdd:"+",PtgConcat:"&",PtgDiv:"/",PtgEq:"=",PtgGe:">=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function Dd(e,r){var t=e.lastIndexOf("!"),a=r.lastIndexOf("!");if(t==-1&&a==-1)return e+":"+r;if(t>0&&a>0&&e.slice(0,t).toLowerCase()==r.slice(0,a).toLowerCase())return e+":"+r.slice(a+1);console.error("Cannot hydrate range",e,r);return e+":"+r}function Pd(e,r,t){if(!e)return"SH33TJSERR0";if(t.biff>8&&(!e.XTI||!e.XTI[r]))return e.SheetNames[r];if(!e.XTI)return"SH33TJSERR6";var a=e.XTI[r];if(t.biff<8){if(r>1e4)r-=65536;if(r<0)r=-r;return r==0?"":e.XTI[r-1]}if(!a)return"SH33TJSERR1";var n="";if(t.biff>8)switch(e[a[0]][0]){case 357:n=a[1]==-1?"#REF":e.SheetNames[a[1]];return a[1]==a[2]?n:n+":"+e.SheetNames[a[2]];case 358:if(t.SID!=null)return e.SheetNames[t.SID];return"SH33TJSSAME"+e[a[0]][0];case 355:;default:return"SH33TJSSRC"+e[a[0]][0];}switch(e[a[0]][0][0]){case 1025:n=a[1]==-1?"#REF":e.SheetNames[a[1]]||"SH33TJSERR3";return a[1]==a[2]?n:n+":"+e.SheetNames[a[2]];case 14849:return e[a[0]].slice(1).map(function(e){return e.Name}).join(";;");default:if(!e[a[0]][0][3])return"SH33TJSERR2";n=a[1]==-1?"#REF":e[a[0]][0][3][a[1]]||"SH33TJSERR4";return a[1]==a[2]?n:n+":"+e[a[0]][0][3][a[2]];}}function Ld(e,r,t){var a=Pd(e,r,t);return a=="#REF"?a:Xa(a,t)}function Md(e,r,t,a,n){var i=n&&n.biff||8;var s={s:{c:0,r:0},e:{c:0,r:0}};var f=[],l,o,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<g;++b){var w=e[0][b];switch(w[0]){case"PtgUminus":f.push("-"+f.pop());break;case"PtgUplus":f.push("+"+f.pop());break;case"PtgPercent":f.push(f.pop()+"%");break;case"PtgAdd":;case"PtgConcat":;case"PtgDiv":;case"PtgEq":;case"PtgGe":;case"PtgGt":;case"PtgLe":;case"PtgLt":;case"PtgMul":;case"PtgNe":;case"PtgPower":;case"PtgSub":l=f.pop();o=f.pop();if(p>=0){switch(e[0][p][1][0]){case 0:m=yr(" ",e[0][p][1][1]);break;case 1:m=yr("\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}f.push(o+Fd[w[0]]+l);break;case"PtgIsect":l=f.pop();o=f.pop();f.push(o+" "+l);break;case"PtgUnion":l=f.pop();o=f.pop();f.push(o+","+l);break;case"PtgRange":l=f.pop();o=f.pop();f.push(Dd(o,l));break;case"PtgAttrChoose":break;case"PtgAttrGoto":break;case"PtgAttrIf":break;case"PtgAttrIfError":break;case"PtgRef":c=Aa(w[1][1],s,n);f.push(Ra(c,i));break;case"PtgRefN":c=t?Aa(w[1][1],t,n):w[1][1];f.push(Ra(c,i));break;case"PtgRef3d":u=w[1][1];c=Aa(w[1][2],s,n);v=Ld(a,u,n);var k=v;f.push(v+"!"+Ra(c,i));break;case"PtgFunc":;case"PtgFuncVar":var T=w[1][0],y=w[1][1];if(!T)T=0;T&=127;var E=T==0?[]:f.slice(-T);f.length-=T;if(y==="User")y=E.shift();f.push(y+"("+E.join(",")+")");break;case"PtgBool":f.push(w[1]?"TRUE":"FALSE");break;case"PtgInt":f.push(w[1]);break;case"PtgNum":f.push(String(w[1]));break;case"PtgStr":f.push('"'+w[1].replace(/"/g,'""')+'"');break;case"PtgErr":f.push(w[1]);break;case"PtgAreaN":d=Ca(w[1][1],t?{s:t}:s,n);f.push(Oa(d,n));break;case"PtgArea":d=Ca(w[1][1],s,n);f.push(Oa(d,n));break;case"PtgArea3d":u=w[1][1];d=w[1][2];v=Ld(a,u,n);f.push(v+"!"+Oa(d,n));break;case"PtgAttrSum":f.push("SUM("+f.pop()+")");break;case"PtgAttrBaxcel":;case"PtgAttrSemi":break;case"PtgName":h=w[1][2];var _=(a.names||[])[h-1]||(a[0]||[])[h];var S=_?_.Name:"SH33TJSNAME"+String(h);if(S&&S.slice(0,6)=="_xlfn."&&!n.xlfn)S=S.slice(6);f.push(S);break;case"PtgNameX":var x=w[1][1];h=w[1][2];var A;if(n.biff<=5){if(x<0)x=-x;if(a[x])A=a[x][h]}else{var C="";if(((a[x]||[])[0]||[])[0]==14849){}else if(((a[x]||[])[0]||[])[0]==1025){if(a[x][h]&&a[x][h].itab>0){C=a.SheetNames[a[x][h].itab-1]+"!"}}else C=a.SheetNames[h-1]+"!";if(a[x]&&a[x][h])C+=a[x][h].Name;else if(a[0]&&a[0][h])C+=a[0][h].Name;else{var R=(Pd(a,x,n)||"").split(";;");if(R[h-1])C=R[h-1];else C+="SH33TJSERRX"}f.push(C);break}if(!A)A={Name:"SH33TJSERRY"};f.push(A.Name);break;case"PtgParen":var O="(",I=")";if(p>=0){m="";switch(e[0][p][1][0]){case 2:O=yr(" ",e[0][p][1][1])+O;break;case 3:O=yr("\r",e[0][p][1][1])+O;break;case 4:I=yr(" ",e[0][p][1][1])+I;break;case 5:I=yr("\r",e[0][p][1][1])+I;break;default:if(n.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][p][1][0]);}p=-1}f.push(O+f.pop()+I);break;case"PtgRefErr":f.push("#REF!");break;case"PtgRefErr3d":f.push("#REF!");break;case"PtgExp":c={c:w[1][1],r:w[1][0]};var N={c:t.c,r:t.r};if(a.sharedf[za(c)]){var F=a.sharedf[za(c)];f.push(Md(F,s,N,a,n))}else{var D=false;for(l=0;l!=a.arrayf.length;++l){o=a.arrayf[l];if(c.c<o[0].s.c||c.c>o[0].e.c)continue;if(c.r<o[0].s.r||c.r>o[0].e.r)continue;f.push(Md(o[1],s,N,a,n));D=true;break}if(!D)f.push(w[1])}break;case"PtgArray":f.push("{"+Nd(w[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":;case"PtgAttrSpaceSemi":p=b;break;case"PtgTbl":break;case"PtgMemErr":break;case"PtgMissArg":f.push("");break;case"PtgAreaErr":f.push("#REF!");break;case"PtgAreaErr3d":f.push("#REF!");break;case"PtgList":f.push("Table"+w[1].idx+"[#"+w[1].rt+"]");break;case"PtgMemAreaN":;case"PtgMemNoMemN":;case"PtgAttrNoop":;case"PtgSheet":;case"PtgEndSheet":break;case"PtgMemFunc":break;case"PtgMemNoMem":break;case"PtgElfCol":;case"PtgElfColS":;case"PtgElfColSV":;case"PtgElfColV":;case"PtgElfLel":;case"PtgElfRadical":;case"PtgElfRadicalLel":;case"PtgElfRadicalS":;case"PtgElfRw":;case"PtgElfRwV":throw new Error("Unsupported ELFs");case"PtgSxName":throw new Error("Unrecognized Formula Token: "+String(w));default:throw new Error("Unrecognized Formula Token: "+String(w));}var P=["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"];if(n.biff!=3)if(p>=0&&P.indexOf(e[0][b][0])==-1){w=e[0][p];var L=true;switch(w[1][0]){case 4:L=false;case 0:m=yr(" ",w[1][1]);break;case 5:L=false;case 1:m=yr("\r",w[1][1]);break;default:m="";if(n.WTF)throw new Error("Unexpected PtgAttrSpaceType "+w[1][0]);}f.push((L?m:"")+f.pop()+(L?"":m));p=-1}}if(f.length>1&&n.WTF)throw new Error("bad formula stack");if(f[0]=="TRUE")return true;if(f[0]=="FALSE")return false;return f[0]}function Ud(e,r,t){var a=e.l+r,n=t.biff==2?1:2;var i,s=e._R(n);if(s==65535)return[[],ya(e,r-2)];var f=Id(e,s,t);if(r!==s+n)i=Od(e,r-s-n,f,t);e.l=a;return[f,i]}function Bd(e,r,t){var a=e.l+r,n=t.biff==2?1:2;var i,s=e._R(n);if(s==65535)return[[],ya(e,r-2)];var f=Id(e,s,t);if(r!==s+n)i=Od(e,r-s-n,f,t);e.l=a;return[f,i]}function Wd(e,r,t,a){var n=e.l+r;var i=Id(e,a,t);var s;if(n!==e.l)s=Od(e,n-e.l,i,t);return[i,s]}function zd(e,r,t){var a=e.l+r;var n,i=e._R(2);var s=Id(e,i,t);if(i==65535)return[[],ya(e,r-2)];if(r!==i+2)n=Od(e,a-i-2,s,t);return[s,n]}function Hd(e){var r;if(ca(e,e.l+6)!==65535)return[An(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 Vd(e){if(e==null){var r=Ea(8);r._W(1,3);r._W(1,0);r._W(2,0);r._W(2,0);r._W(2,65535);return r}else if(typeof e=="number")return Cn(e);return Cn(0)}function $d(e,r,t){var a=e.l+r;var n=Ps(e,6,t);var i=Hd(e,8);var s=e._R(1);if(t.biff!=2){e._R(1);if(t.biff>=5){e._R(4)}}var f=Bd(e,a-e.l,t);return{cell:n,val:i[0],formula:f,shared:s>>3&1,tt:i[1]}}function Xd(e,r,t,a,n){var i=Ls(r,t,n);var s=Vd(e.v);var f=Ea(6);var l=1|32;f._W(2,l);f._W(4,0);var o=Ea(e.bf.length);for(var c=0;c<e.bf.length;++c)o[c]=e.bf[c];var u=P([i,s,f,o]);return u}function Gd(e,r,t){var a=e._R(4);var n=Id(e,a,t);var i=e._R(4);var s=i>0?Od(e,i,n,t):null;return[n,s]}var jd=Gd;var Kd=Gd;var Yd=Gd;var Zd=Gd;function Jd(e){if((e|0)==e&&e<Math.pow(2,16)&&e>=0){var r=Ea(11);r._W(4,3);r._W(1,30);r._W(2,e);r._W(4,0);return r}var t=Ea(17);t._W(4,11);t._W(1,31);t._W(8,e);t._W(4,0);return t}function qd(e){var r=Ea(10);r._W(4,2);r._W(1,28);r._W(1,e);r._W(4,0);return r}function Qd(e){var r=Ea(10);r._W(4,2);r._W(1,29);r._W(1,e?1:0);r._W(4,0);return r}function ev(e){var r=Ea(7);r._W(4,3+2*e.length);r._W(1,23);r._W(2,e.length);var t=Ea(2*e.length);t._W(2*e.length,e,"utf16le");var a=Ea(4);a._W(4,0);return P([r,t,a])}function rv(e){var r=Wa(e);var t=Ea(15);t._W(4,7);t._W(1,4|1<<5);t._W(4,r.r);t._W(2,r.c|(e.charAt(0)=="$"?0:1)<<14|(e.match(/\$\d/)?0:1)<<15);t._W(4,0);return t}function tv(e,r){var t=e.lastIndexOf("!");var a=e.slice(0,t);e=e.slice(t+1);var n=Wa(e);if(a.charAt(0)=="'")a=a.slice(1,-1).replace(/''/g,"'");var i=Ea(17);i._W(4,9);i._W(1,26|1<<5);i._W(2,2+r.SheetNames.map(function(e){return e.toLowerCase()}).indexOf(a.toLowerCase()));i._W(4,n.r);i._W(2,n.c|(e.charAt(0)=="$"?0:1)<<14|(e.match(/\$\d/)?0:1)<<15);i._W(4,0);return i}function av(e,r){var t=e.lastIndexOf("!");var a=e.slice(0,t);e=e.slice(t+1);if(a.charAt(0)=="'")a=a.slice(1,-1).replace(/''/g,"'");var n=Ea(17);n._W(4,9);n._W(1,28|1<<5);n._W(2,2+r.SheetNames.map(function(e){return e.toLowerCase()}).indexOf(a.toLowerCase()));n._W(4,0);n._W(2,0);n._W(4,0);return n}function nv(e){var r=e.split(":"),t=r[0];var a=Ea(23);a._W(4,15);t=r[0];var n=Wa(t);a._W(1,4|1<<5);a._W(4,n.r);a._W(2,n.c|(t.charAt(0)=="$"?0:1)<<14|(t.match(/\$\d/)?0:1)<<15);a._W(4,0);t=r[1];n=Wa(t);a._W(1,4|1<<5);a._W(4,n.r);a._W(2,n.c|(t.charAt(0)=="$"?0:1)<<14|(t.match(/\$\d/)?0:1)<<15);a._W(4,0);a._W(1,17);a._W(4,0);return a}function iv(e,r){var t=e.lastIndexOf("!");var a=e.slice(0,t);e=e.slice(t+1);if(a.charAt(0)=="'")a=a.slice(1,-1).replace(/''/g,"'");var n=e.split(":");var i=Ea(27);i._W(4,19);var s=n[0],f=Wa(s);i._W(1,26|1<<5);i._W(2,2+r.SheetNames.map(function(e){return e.toLowerCase()}).indexOf(a.toLowerCase()));i._W(4,f.r);i._W(2,f.c|(s.charAt(0)=="$"?0:1)<<14|(s.match(/\$\d/)?0:1)<<15);s=n[1];f=Wa(s);i._W(1,26|1<<5);i._W(2,2+r.SheetNames.map(function(e){return e.toLowerCase()}).indexOf(a.toLowerCase()));i._W(4,f.r);i._W(2,f.c|(s.charAt(0)=="$"?0:1)<<14|(s.match(/\$\d/)?0:1)<<15);i._W(1,17);i._W(4,0);return i}function sv(e,r){var t=e.lastIndexOf("!");var a=e.slice(0,t);e=e.slice(t+1);if(a.charAt(0)=="'")a=a.slice(1,-1).replace(/''/g,"'");var n=Ha(e);var i=Ea(23);i._W(4,15);i._W(1,27|1<<5);i._W(2,2+r.SheetNames.map(function(e){return e.toLowerCase()}).indexOf(a.toLowerCase()));i._W(4,n.s.r);i._W(4,n.e.r);i._W(2,n.s.c);i._W(2,n.e.c);i._W(4,0);return i}function fv(e,r){if(typeof e=="number")return Jd(e);if(typeof e=="boolean")return Qd(e);if(/^#(DIV\/0!|GETTING_DATA|N\/A|NAME\?|NULL!|NUM!|REF!|VALUE!)$/.test(e))return qd(+ai[e]);if(e.match(/^\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?:10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})$/))return rv(e);if(e.match(/^\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?:10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5}):\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?:10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})$/))return nv(e);if(e.match(/^#REF!\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?:10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5}):\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?:10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})$/))return sv(e,r);if(e.match(/^(?:'[^\\\/?*\[\]:]*'|[^'][^\\\/?*\[\]:'`~!@#$%^()\-=+{}|;,<.>]*)!\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?:10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})$/))return tv(e,r);if(e.match(/^(?:'[^\\\/?*\[\]:]*'|[^'][^\\\/?*\[\]:'`~!@#$%^()\-=+{}|;,<.>]*)!\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?:10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5}):\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?:10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})$/))return iv(e,r);if(/^(?:'[^\\\/?*\[\]:]*'|[^'][^\\\/?*\[\]:'`~!@#$%^()\-=+{}|;,<.>]*)!#REF!$/.test(e))return av(e,r);if(/^".*"$/.test(e))return ev(e);if(/^[+-]\d+$/.test(e))return Jd(parseInt(e,10));throw"Formula |"+e+"| not supported for XLSB"}var lv=fv;var ov={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 cv={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 uv={2:1,3:1,10:0,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,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,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,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186: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,225:0,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};function hv(e){if(e.slice(0,3)=="of:")e=e.slice(3);if(e.charCodeAt(0)==61){e=e.slice(1);if(e.charCodeAt(0)==61)e=e.slice(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(/\$'([^']|'')+'/g,function(e){return e.slice(1)});e=e.replace(/\$([^\]\. #$]+)/g,function(e,r){return r.match(/^([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])?(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})?$/)?e:r});e=e.replace(/\[.(#[A-Z]*[?!])\]/g,"$1");return e.replace(/[;~]/g,",").replace(/\|/g,";")}function dv(e){var r="of:="+e.replace(th,"$1[.$2$3$4$5]").replace(/\]:\[/g,":");return r.replace(/;/g,"|").replace(/,/g,";")}function vv(e){e=e.replace(/\$'([^']|'')+'/g,function(e){return e.slice(1)});e=e.replace(/\$([^\]\. #$]+)/g,function(e,r){return r.match(/^([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])?(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})?$/)?e:r});var r=e.split(":");var t=r[0].split(".")[0];return[t,r[0].split(".")[1]+(r.length>1?":"+(r[1].split(".")[1]||r[1].split(".")[0]):"")]}function pv(e){return e.replace(/!/,".").replace(/:/,":.")}var mv={};var bv={};var gv=typeof Map!=="undefined";function wv(e,r,t){var a=0,n=e.length;if(t){if(gv?t.has(r):Object.prototype.hasOwnProperty.call(t,r)){var i=gv?t.get(r):t[r];for(;a<i.length;++a){if(e[i[a]].t===r){e.Count++;return i[a]}}}}else for(;a<n;++a){if(e[a].t===r){e.Count++;return a}}e[n]={t:r};e.Count++;e.Unique++;if(t){if(gv){if(!t.has(r))t.set(r,[]);t.get(r).push(n)}else{if(!Object.prototype.hasOwnProperty.call(t,r))t[r]=[];t[r].push(n)}}return n}function kv(e,r){var t={min:e+1,max:e+1};var a=-1;if(r.MDW)qo=r.MDW;if(r.width!=null)t.customWidth=1;else if(r.wpx!=null)a=ec(r.wpx);else if(r.wch!=null)a=r.wch;if(a>-1){t.width=rc(a);t.customWidth=1}else if(r.width!=null)t.width=r.width;if(r.hidden)t.hidden=true;if(r.level!=null){t.outlineLevel=t.level=r.level}return t}function Tv(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 yv(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){Je(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 Ev(e,r,t,a,n,i,s){try{if(a.cellNF)e.z=q[r]}catch(f){if(a.WTF)throw f}if(e.t==="z"&&!a.cellStyles)return;if(e.t==="d"&&typeof e.v==="string")e.v=wr(e.v);if((!a||a.cellText!==false)&&e.t!=="z")try{if(q[r]==null)Je(Ge[r]||"General",r);if(e.t==="e")e.w=e.w||ti[e.v];else if(r===0){if(e.t==="n"){if((e.v|0)===e.v)e.w=e.v.toString(10);else e.w=le(e.v)}else if(e.t==="d"){var l=dr(e.v,!!s);if((l|0)===l)e.w=l.toString(10);else e.w=le(l)}else if(e.v===undefined)return"";else e.w=oe(e.v,bv)}else if(e.t==="d")e.w=ze(r,dr(e.v,!!s),bv);else e.w=ze(r,e.v,bv)}catch(f){if(a.WTF)throw f}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=Ko(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=Ko(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(f){if(a.WTF&&i.Fills)throw f}}function _v(e,r,t){if(e&&e["!ref"]){var a=Ga(e["!ref"]);if(a.e.c<a.s.c||a.e.r<a.s.r)throw new Error("Bad range ("+t+"): "+e["!ref"])}}function Sv(e,r){var t=Ga(r);if(t.s.r<=t.e.r&&t.s.c<=t.e.c&&t.s.r>=0&&t.s.c>=0)e["!ref"]=Va(t)}var xv=/<(?:\w:)?mergeCell ref=["'][A-Z0-9:]+['"]\s*[\/]?>/g;var Av=/<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/;var Cv=/<(?:\w:)?hyperlink [^>]*>/gm;var Rv=/"(\w*:\w*)"/;var Ov=/<(?:\w:)?col\b[^>]*[\/]?>/g;var Iv=/<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g;var Nv=/<(?:\w:)?pageMargins[^>]*\/>/g;var Fv=/<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/;var Dv=/<(?:\w:)?sheetPr[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetPr)>/;var Pv=/<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/;function Lv(e,r,t,a,n,i,s){if(!e)return e;if(!a)a={"!id":{}};if(g!=null&&r.dense==null)r.dense=g;var f={};if(r.dense)f["!data"]=[];var l={s:{r:2e6,c:2e6},e:{r:0,c:0}};var o="",c="";var u=e.match(Av);if(u){o=e.slice(0,u.index);c=e.slice(u.index+u[0].length)}else o=c=e;var h=o.match(Fv);if(h)Uv(h[0],f,n,t);else if(h=o.match(Dv))Bv(h[0],h[1]||"",f,n,t,s,i);var d=(o.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(d>0){var v=o.slice(d,d+50).match(Rv);if(v&&!(r&&r.nodim))Sv(f,v[1])}var p=o.match(Pv);if(p&&p[1])qv(p[1],n);var m=[];if(r.cellStyles){var b=o.match(Ov);if(b)jv(m,b)}if(u)rp(u[1],f,r,l,i,s,n);var w=c.match(Iv);if(w)f["!autofilter"]=Yv(w[0]);var k=[];var T=c.match(xv);if(T)for(d=0;d!=T.length;++d)k[d]=Ga(T[d].slice(T[d].indexOf('"')+1));var y=c.match(Cv);if(y)$v(f,y,a);var E=c.match(Nv);if(E)f["!margins"]=Xv(rt(E[0]));var _;if(_=c.match(/legacyDrawing r:id="(.*?)"/))f["!legrel"]=_[1];if(r&&r.nodim)l.s.c=l.s.r=0;if(!f["!ref"]&&l.e.c>=l.s.c&&l.e.r>=l.s.r)f["!ref"]=Va(l);if(r.sheetRows>0&&f["!ref"]){var S=Ga(f["!ref"]);if(r.sheetRows<=+S.e.r){S.e.r=r.sheetRows-1;if(S.e.r>l.e.r)S.e.r=l.e.r;if(S.e.r<S.s.r)S.s.r=S.e.r;if(S.e.c>l.e.c)S.e.c=l.e.c;if(S.e.c<S.s.c)S.s.c=S.e.c;f["!fullref"]=f["!ref"];f["!ref"]=Va(S)}}if(m.length>0)f["!cols"]=m;if(k.length>0)f["!merges"]=k;if(a["!id"][f["!legrel"]])f["!legdrawel"]=a["!id"][f["!legrel"]];return f}function Mv(e){if(e.length===0)return"";var r='<mergeCells count="'+e.length+'">';for(var t=0;t!=e.length;++t)r+='<mergeCell ref="'+Va(e[t])+'"/>';return r+"</mergeCells>"}function Uv(e,r,t,a){var n=rt(e);if(!t.Sheets[a])t.Sheets[a]={};if(n.codeName)t.Sheets[a].CodeName=it(kt(n.codeName))}function Bv(e,r,t,a,n){Uv(e.slice(0,e.indexOf(">")),t,a,n)}function Wv(e,r,t,a,n){var i=false;var s={},f=null;if(a.bookType!=="xlsx"&&r.vbaraw){var l=r.SheetNames[t];try{if(r.Workbook)l=r.Workbook.Sheets[t].CodeName||l}catch(o){}i=true;s.codeName=Tt(lt(l))}if(e&&e["!outline"]){var c={summaryBelow:1,summaryRight:1};if(e["!outline"].above)c.summaryBelow=0;if(e["!outline"].left)c.summaryRight=0;f=(f||"")+It("outlinePr",null,c)}if(!i&&!f)return;n[n.length]=It("sheetPr",f,s)}var zv=["objects","scenarios","selectLockedCells","selectUnlockedCells"];var Hv=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];function Vv(e){var r={sheet:1};zv.forEach(function(t){if(e[t]!=null&&e[t])r[t]="1"});Hv.forEach(function(t){if(e[t]!=null&&!e[t])r[t]="0"});if(e.password)r.password=Fo(e.password).toString(16).toUpperCase();return It("sheetProtection",null,r)}function $v(e,r,t){var a=e["!data"]!=null;for(var n=0;n!=r.length;++n){var i=rt(kt(r[n]),true);if(!i.ref)return;var s=((t||{})["!id"]||[])[i.id];if(s){i.Target=s.Target;if(i.location)i.Target+="#"+it(i.location)}else{i.Target="#"+it(i.location);s={Target:i.Target,TargetMode:"Internal"}}i.Rel=s;if(i.tooltip){i.Tooltip=i.tooltip;delete i.tooltip}var f=Ga(i.ref);for(var l=f.s.r;l<=f.e.r;++l)for(var o=f.s.c;o<=f.e.c;++o){var c=La(o)+Na(l);if(a){if(!e["!data"][l])e["!data"][l]=[];if(!e["!data"][l][o])e["!data"][l][o]={t:"z",v:undefined};e["!data"][l][o].l=i}else{if(!e[c])e[c]={t:"z",v:undefined};e[c].l=i}}}}function Xv(e){var r={};["left","right","top","bottom","header","footer"].forEach(function(t){if(e[t])r[t]=parseFloat(e[t])});return r}function Gv(e){Tv(e);return It("pageMargins",null,e)}function jv(e,r){var t=false;for(var a=0;a!=r.length;++a){var n=rt(r[a],true);if(n.hidden)n.hidden=pt(n.hidden);var i=parseInt(n.min,10)-1,s=parseInt(n.max,10)-1;if(n.outlineLevel)n.level=+n.outlineLevel||0;delete n.min;delete n.max;n.width=+n.width;if(!t&&n.width){t=true;ac(n.width)}nc(n);while(i<=s)e[i++]=Tr(n)}}function Kv(e,r){var t=["<cols>"],a;for(var n=0;n!=r.length;++n){if(!(a=r[n]))continue;t[t.length]=It("col",null,kv(n,a))}t[t.length]="</cols>";return t.join("")}function Yv(e){var r={ref:(e.match(/ref="([^"]*)"/)||[])[1]};return r}function Zv(e,r,t,a){var n=typeof e.ref=="string"?e.ref:Va(e.ref);if(!t.Workbook)t.Workbook={Sheets:[]};if(!t.Workbook.Names)t.Workbook.Names=[];var i=t.Workbook.Names;var s=Ha(n);if(s.s.r==s.e.r){s.e.r=Ha(r["!ref"]).e.r;n=Va(s)}for(var f=0;f<i.length;++f){var l=i[f];if(l.Name!="_xlnm._FilterDatabase")continue;if(l.Sheet!=a)continue;l.Ref=Xa(t.SheetNames[a])+"!"+$a(n);break}if(f==i.length)i.push({Name:"_xlnm._FilterDatabase",Sheet:a,Ref:"'"+t.SheetNames[a]+"'!"+n});return It("autoFilter",null,{ref:n})}var Jv=/<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/?>/g;function qv(e,r){if(!r.Views)r.Views=[{}];(e.match(Jv)||[]).forEach(function(e,t){var a=rt(e);if(!r.Views[t])r.Views[t]={};if(+a.zoomScale)r.Views[t].zoom=+a.zoomScale;if(a.rightToLeft&&pt(a.rightToLeft))r.Views[t].RTL=true})}function Qv(e,r,t,a){var n={workbookViewId:"0"};if((((a||{}).Workbook||{}).Views||[])[0])n.rightToLeft=a.Workbook.Views[0].RTL?"1":"0";return It("sheetViews",It("sheetView",null,n),{})}function ep(e,r,t,a,n,i,s){if(e.c)t["!comments"].push([r,e.c]);if((e.v===undefined||e.t==="z"&&!(a||{}).sheetStubs)&&typeof e.f!=="string"&&typeof e.z=="undefined")return"";var f="";var l=e.t,o=e.v;if(e.t!=="z")switch(e.t){case"b":f=e.v?"1":"0";break;case"n":if(isNaN(e.v)){e.t="e";f=ti[e.v=36]}else if(!isFinite(e.v)){e.t="e";f=ti[e.v=7]}else f=""+e.v;break;case"e":f=ti[e.v];break;case"d":if(a&&a.cellDates){var c=wr(e.v,s);f=c.toISOString();if(c.getUTCFullYear()<1900)f=f.slice(f.indexOf("T")+1).replace("Z","")}else{e=Tr(e);e.t="n";f=""+(e.v=dr(wr(e.v,s),s))}if(typeof e.z==="undefined")e.z=q[14];break;default:f=e.v;break;}var u=e.t=="z"||e.v==null?"":Rt("v",lt(f)),h={r:r};var d=yv(a.cellXfs,e,a);if(d!==0)h.s=d;switch(e.t){case"n":break;case"d":h.t="d";break;case"b":h.t="b";break;case"e":h.t="e";break;case"z":break;default:if(e.v==null){delete e.t;break}if(e.v.length>32767)throw new Error("Text length must not exceed 32767 characters");if(a&&a.bookSST){u=Rt("v",""+wv(a.Strings,e.v,a.revStrings));h.t="s";break}else h.t="str";break;}if(e.t!=l){e.t=l;e.v=o}if(typeof e.f=="string"&&e.f){var v=e.F&&e.F.slice(0,r.length)==r?{t:"array",ref:e.F}:null;u=It("f",lt(e.f),v)+(e.v!=null?u:"")}if(e.l){e.l.display=lt(f);t["!links"].push([r,e.l])}if(e.D)h.cm=1;return It("c",u,h)}var rp=function(){var e=/<(?:\w+:)?c[ \/>]/,r=/<\/(?:\w+:)?row>/;var t=/r=["']([^"']*)["']/,a=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/;var n=/ref=["']([^"']*)["']/;var i=yt("v"),s=yt("f");return function f(l,o,c,u,h,d,v){var p=0,m="",b=[],g=[],w=0,k=0,T=0,y="",E;var _,S=0,x=0;var A,C;var R=0,O=0;var I=Array.isArray(d.CellXf),N;var F=[];var D=[];var P=o["!data"]!=null;var L=[],M={},U=false;var B=!!c.sheetStubs;var W=!!((v||{}).WBProps||{}).date1904;for(var z=l.split(r),H=0,V=z.length;H!=V;++H){m=z[H].trim();var $=m.length;if($===0)continue;var X=0;e:for(p=0;p<$;++p)switch(m[p]){case">":if(m[p-1]!="/"){++p;break e}if(c&&c.cellStyles){_=rt(m.slice(X,p),true);S=_.r!=null?parseInt(_.r,10):S+1;x=-1;if(c.sheetRows&&c.sheetRows<S)continue;M={};U=false;if(_.ht){U=true;M.hpt=parseFloat(_.ht);M.hpx=lc(M.hpt)}if(_.hidden&&pt(_.hidden)){U=true;M.hidden=true}if(_.outlineLevel!=null){U=true;M.level=+_.outlineLevel}if(U)L[S-1]=M}break;case"<":X=p;break;}if(X>=p)break;_=rt(m.slice(X,p),true);S=_.r!=null?parseInt(_.r,10):S+1;x=-1;if(c.sheetRows&&c.sheetRows<S)continue;if(!c.nodim){if(u.s.r>S-1)u.s.r=S-1;if(u.e.r<S-1)u.e.r=S-1}if(c&&c.cellStyles){M={};U=false;if(_.ht){U=true;M.hpt=parseFloat(_.ht);M.hpx=lc(M.hpt)}if(_.hidden&&pt(_.hidden)){U=true;M.hidden=true}if(_.outlineLevel!=null){U=true;M.level=+_.outlineLevel}if(U)L[S-1]=M}b=m.slice(p).split(e);for(var G=0;G!=b.length;++G)if(b[G].trim().charAt(0)!="<")break;b=b.slice(G);for(p=0;p!=b.length;++p){m=b[p].trim();if(m.length===0)continue;g=m.match(t);w=p;k=0;T=0;m="<c "+(m.slice(0,1)=="<"?">":"")+m;if(g!=null&&g.length===2){w=0;y=g[1];for(k=0;k!=y.length;++k){if((T=y.charCodeAt(k)-64)<1||T>26)break;w=26*w+T}--w;x=w}else++x;for(k=0;k!=m.length;++k)if(m.charCodeAt(k)===62)break;++k;_=rt(m.slice(0,k),true);if(!_.r)_.r=za({r:S-1,c:x});y=m.slice(k);E={t:""};if((g=y.match(i))!=null&&g[1]!=="")E.v=it(g[1]);if(c.cellFormula){if((g=y.match(s))!=null){if(g[1]==""){if(g[0].indexOf('t="shared"')>-1){C=rt(g[0]);if(D[C.si])E.f=sh(D[C.si][1],D[C.si][2],_.r)}}else{E.f=it(kt(g[1]),true);if(!c.xlfn)E.f=lh(E.f);if(g[0].indexOf('t="array"')>-1){E.F=(y.match(n)||[])[1];if(E.F.indexOf(":")>-1)F.push([Ga(E.F),E.F])}else if(g[0].indexOf('t="shared"')>-1){C=rt(g[0]);var j=it(kt(g[1]));if(!c.xlfn)j=lh(j);D[parseInt(C.si,10)]=[C,j,_.r]}}}else if(g=y.match(/<f[^>]*\/>/)){C=rt(g[0]);if(D[C.si])E.f=sh(D[C.si][1],D[C.si][2],_.r)}var K=Wa(_.r);for(k=0;k<F.length;++k)if(K.r>=F[k][0].s.r&&K.r<=F[k][0].e.r)if(K.c>=F[k][0].s.c&&K.c<=F[k][0].e.c)E.F=F[k][1]}if(_.t==null&&E.v===undefined){if(E.f||E.F){E.v=0;E.t="n"}else if(!B)continue;else E.t="z"}else E.t=_.t||"n";if(u.s.c>x)u.s.c=x;if(u.e.c<x)u.e.c=x;switch(E.t){case"n":if(E.v==""||E.v==null){if(!B)continue;E.t="z"}else E.v=parseFloat(E.v);break;case"s":if(typeof E.v=="undefined"){if(!B)continue;E.t="z"}else{A=mv[parseInt(E.v,10)];E.v=A.t;E.r=A.r;if(c.cellHTML)E.h=A.h}break;case"str":E.t="s";E.v=E.v!=null?it(kt(E.v),true):"";if(c.cellHTML)E.h=ut(E.v);break;case"inlineStr":g=y.match(a);E.t="s";if(g!=null&&(A=no(g[1]))){E.v=A.t;if(c.cellHTML)E.h=A.h}else E.v="";break;case"b":E.v=pt(E.v);break;case"d":if(c.cellDates)E.v=wr(E.v,W);else{E.v=dr(wr(E.v,W),W);E.t="n"}break;case"e":if(!c||c.cellText!==false)E.w=E.v;E.v=ai[E.v];break;}R=O=0;N=null;if(I&&_.s!==undefined){N=d.CellXf[_.s];if(N!=null){if(N.numFmtId!=null)R=N.numFmtId;if(c.cellStyles){if(N.fillId!=null)O=N.fillId}}}Ev(E,R,O,c,h,d,W);if(c.cellDates&&I&&E.t=="n"&&Le(q[R])){E.v=vr(E.v+(W?1462:0));E.t=typeof E.v=="number"?"n":"d"}if(_.cm&&c.xlmeta){var Y=(c.xlmeta.Cell||[])[+_.cm-1];if(Y&&Y.type=="XLDAPR")E.D=true}var Z;if(c.nodim){Z=Wa(_.r);if(u.s.r>Z.r)u.s.r=Z.r;if(u.e.r<Z.r)u.e.r=Z.r}if(P){Z=Wa(_.r);if(!o["!data"][Z.r])o["!data"][Z.r]=[];o["!data"][Z.r][Z.c]=E}else o[_.r]=E}}if(L.length>0)o["!rows"]=L}}();function tp(e,r,t,a){var n=[],i=[],s=Ga(e["!ref"]),f="",l,o="",c=[],u=0,h=0,d=e["!rows"];var v=e["!data"]!=null;var p={r:o},m,b=-1;var g=(((a||{}).Workbook||{}).WBProps||{}).date1904;for(h=s.s.c;h<=s.e.c;++h)c[h]=La(h);for(u=s.s.r;u<=s.e.r;++u){i=[];o=Na(u);for(h=s.s.c;h<=s.e.c;++h){l=c[h]+o;var w=v?(e["!data"][u]||[])[h]:e[l];if(w===undefined)continue;if((f=ep(w,l,e,r,t,a,g))!=null)i.push(f)}if(i.length>0||d&&d[u]){p={r:o};if(d&&d[u]){m=d[u];if(m.hidden)p.hidden=1;b=-1;if(m.hpx)b=fc(m.hpx);else if(m.hpt)b=m.hpt;if(b>-1){p.ht=b;p.customHeight=1}if(m.level){p.outlineLevel=m.level}}n[n.length]=It("row",i.join(""),p)}}if(d)for(;u<d.length;++u){if(d&&d[u]){p={r:u+1};m=d[u];if(m.hidden)p.hidden=1;b=-1;if(m.hpx)b=fc(m.hpx);else if(m.hpt)b=m.hpt;if(b>-1){p.ht=b;p.customHeight=1}if(m.level){p.outlineLevel=m.level}n[n.length]=It("row","",p)}}return n.join("")}function ap(e,r,t,a){var n=[Kr,It("worksheet",null,{xmlns:Mt[0],"xmlns:r":Lt.r})];var i=t.SheetNames[e],s=0,f="";var l=t.Sheets[i];if(l==null)l={};var o=l["!ref"]||"A1";var c=Ga(o);if(c.e.c>16383||c.e.r>1048575){if(r.WTF)throw new Error("Range "+o+" exceeds format limit A1:XFD1048576");c.e.c=Math.min(c.e.c,16383);c.e.r=Math.min(c.e.c,1048575);o=Va(c)}if(!a)a={};l["!comments"]=[];var u=[];Wv(l,t,e,r,n);n[n.length]=It("dimension",null,{ref:o});n[n.length]=Qv(l,r,e,t);if(r.sheetFormat)n[n.length]=It("sheetFormatPr",null,{defaultRowHeight:r.sheetFormat.defaultRowHeight||"16",baseColWidth:r.sheetFormat.baseColWidth||"10",outlineLevelRow:r.sheetFormat.outlineLevelRow||"7"});if(l["!cols"]!=null&&l["!cols"].length>0)n[n.length]=Kv(l,l["!cols"]);n[s=n.length]="<sheetData/>";l["!links"]=[];if(l["!ref"]!=null){f=tp(l,r,e,t,a);if(f.length>0)n[n.length]=f}if(n.length>s+1){n[n.length]="</sheetData>";n[s]=n[s].replace("/>",">")}if(l["!protect"])n[n.length]=Vv(l["!protect"]);if(l["!autofilter"]!=null)n[n.length]=Zv(l["!autofilter"],l,t,e);if(l["!merges"]!=null&&l["!merges"].length>0)n[n.length]=Mv(l["!merges"]);var h=-1,d,v=-1;if(l["!links"].length>0){n[n.length]="<hyperlinks>";l["!links"].forEach(function(e){if(!e[1].Target)return;d={ref:e[0]};if(e[1].Target.charAt(0)!="#"){v=vi(a,-1,lt(e[1].Target).replace(/#.*$/,""),ci.HLINK);d["r:id"]="rId"+v}if((h=e[1].Target.indexOf("#"))>-1)d.location=lt(e[1].Target.slice(h+1));if(e[1].Tooltip)d.tooltip=lt(e[1].Tooltip);d.display=e[1].display;n[n.length]=It("hyperlink",null,d)});n[n.length]="</hyperlinks>"}delete l["!links"];if(l["!margins"]!=null)n[n.length]=Gv(l["!margins"]);if(!r||r.ignoreEC||r.ignoreEC==void 0)n[n.length]=Rt("ignoredErrors",It("ignoredError",null,{numberStoredAsText:1,sqref:o}));if(u.length>0){v=vi(a,-1,"../drawings/drawing"+(e+1)+".xml",ci.DRAW);n[n.length]=It("drawing",null,{"r:id":"rId"+v});l["!drawing"]=u}if(l["!comments"].length>0){v=vi(a,-1,"../drawings/vmlDrawing"+(e+1)+".vml",ci.VML);n[n.length]=It("legacyDrawing",null,{"r:id":"rId"+v});l["!legacy"]=v}if(n.length>1){n[n.length]="</worksheet>";n[1]=n[1].replace("/>",">")}return n.join("")}function np(e,r){var t={};var a=e.l+r;t.r=e._R(4);e.l+=4;var n=e._R(2);e.l+=1;var i=e._R(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 ip(e,r,t){var a=Ea(17+8*16);var n=(t["!rows"]||[])[e]||{};a._W(4,e);a._W(4,0);var i=320;if(n.hpx)i=fc(n.hpx)*20;else if(n.hpt)i=n.hpt*20;a._W(2,i);a._W(1,0);var s=0;if(n.level)s|=n.level;if(n.hidden)s|=16;if(n.hpx||n.hpt)s|=32;a._W(1,s);a._W(1,0);var f=0,l=a.l;a.l+=4;var o={r:e,c:0};var c=t["!data"]!=null;for(var u=0;u<16;++u){if(r.s.c>u+1<<10||r.e.c<u<<10)continue;var h=-1,d=-1;for(var v=u<<10;v<u+1<<10;++v){o.c=v;var p=c?(t["!data"][o.r]||[])[o.c]:t[za(o)];if(p){if(h<0)h=v;d=v}}if(h<0)continue;++f;a._W(4,h);a._W(4,d)}var m=a.l;a.l=l;a._W(4,f);a.l=m;return a.length>a.l?a.slice(0,a.l):a}function sp(e,r,t,a){var n=ip(a,t,r);if(n.length>17||(r["!rows"]||[])[a])xa(e,0,n)}var fp=Sn;var lp=xn;function op(){}function cp(e,r){var t={};var a=e[e.l];++e.l;t.above=!(a&64);t.left=!(a&128);e.l+=18;t.name=vn(e,r-19);return t}function up(e,r,t){if(t==null)t=Ea(84+4*e.length);var a=192;if(r){if(r.above)a&=~64;if(r.left)a&=~128}t._W(1,a);for(var n=1;n<3;++n)t._W(1,0);On({auto:1},t);t._W(-4,-1);t._W(-4,-1);pn(e,t);return t.slice(0,t.l)}function hp(e){var r=cn(e);return[r]}function dp(e,r,t){if(t==null)t=Ea(8);return un(r,t)}function vp(e){var r=hn(e);return[r]}function pp(e,r,t){if(t==null)t=Ea(4);return dn(r,t)}function mp(e){var r=cn(e);var t=e._R(1);return[r,t,"b"]}function bp(e,r,t){if(t==null)t=Ea(9);un(r,t);t._W(1,e.v?1:0);return t}function gp(e){var r=hn(e);var t=e._R(1);return[r,t,"b"]}function wp(e,r,t){if(t==null)t=Ea(5);dn(r,t);t._W(1,e.v?1:0);return t}function kp(e){var r=cn(e);var t=e._R(1);return[r,t,"e"]}function Tp(e,r,t){if(t==null)t=Ea(9);un(r,t);t._W(1,e.v);return t}function yp(e){var r=hn(e);var t=e._R(1);return[r,t,"e"]}function Ep(e,r,t){if(t==null)t=Ea(8);dn(r,t);t._W(1,e.v);t._W(2,0);t._W(1,0);return t}function _p(e){var r=cn(e);var t=e._R(4);return[r,t,"s"]}function Sp(e,r,t){if(t==null)t=Ea(12);un(r,t);t._W(4,r.v);return t}function xp(e){var r=hn(e);var t=e._R(4);return[r,t,"s"]}function Ap(e,r,t){if(t==null)t=Ea(8);dn(r,t);t._W(4,r.v);return t}function Cp(e){var r=cn(e);var t=An(e);return[r,t,"n"]}function Rp(e,r,t){if(t==null)t=Ea(16);un(r,t);Cn(e.v,t);return t}function Op(e){var r=hn(e);var t=An(e);return[r,t,"n"]}function Ip(e,r,t){if(t==null)t=Ea(12);dn(r,t);Cn(e.v,t);return t}function Np(e){var r=cn(e);var t=Tn(e);return[r,t,"n"]}function Fp(e,r,t){if(t==null)t=Ea(12);un(r,t);yn(e.v,t);return t}function Dp(e){var r=hn(e);var t=Tn(e);return[r,t,"n"]}function Pp(e,r,t){if(t==null)t=Ea(8);dn(r,t);yn(e.v,t);return t}function Lp(e){var r=cn(e);var t=sn(e);return[r,t,"is"]}function Mp(e){var r=cn(e);var t=rn(e);return[r,t,"str"]}function Up(e,r,t){var a=e.v==null?"":String(e.v);if(t==null)t=Ea(12+4*e.v.length);un(r,t);tn(a,t);return t.length>t.l?t.slice(0,t.l):t}function Bp(e){var r=hn(e);var t=rn(e);return[r,t,"str"]}function Wp(e,r,t){var a=e.v==null?"":String(e.v);if(t==null)t=Ea(8+4*a.length);dn(r,t);tn(a,t);return t.length>t.l?t.slice(0,t.l):t}function zp(e,r,t){var a=e.l+r;var n=cn(e);n.r=t["!row"];var i=e._R(1);var s=[n,i,"b"];if(t.cellFormula){e.l+=2;var f=Kd(e,a-e.l,t);s[3]=Md(f,null,n,t.supbooks,t)}else e.l=a;return s}function Hp(e,r,t){var a=e.l+r;var n=cn(e);n.r=t["!row"];var i=e._R(1);var s=[n,i,"e"];if(t.cellFormula){e.l+=2;var f=Kd(e,a-e.l,t);s[3]=Md(f,null,n,t.supbooks,t)}else e.l=a;return s}function Vp(e,r,t){var a=e.l+r;var n=cn(e);n.r=t["!row"];var i=An(e);var s=[n,i,"n"];if(t.cellFormula){e.l+=2;var f=Kd(e,a-e.l,t);s[3]=Md(f,null,n,t.supbooks,t)}else e.l=a;return s}function $p(e,r,t){var a=e.l+r;var n=cn(e);n.r=t["!row"];var i=rn(e);var s=[n,i,"str"];if(t.cellFormula){e.l+=2;var f=Kd(e,a-e.l,t);s[3]=Md(f,null,n,t.supbooks,t)}else e.l=a;return s}var Xp=Sn;var Gp=xn;function jp(e,r){if(r==null)r=Ea(4);r._W(4,e);return r}function Kp(e,r){var t=e.l+r;var a=Sn(e,16);var n=mn(e);var i=rn(e);var s=rn(e);var f=rn(e);e.l=t;var l={rfx:a,relId:n,loc:i,display:f};if(s)l.Tooltip=s;return l}function Yp(e,r){var t=Ea(50+4*(e[1].Target.length+(e[1].Tooltip||"").length));xn({s:Wa(e[0]),e:Wa(e[0])},t);kn("rId"+r,t);var a=e[1].Target.indexOf("#");var n=a==-1?"":e[1].Target.slice(a+1);tn(n||"",t);tn(e[1].Tooltip||"",t);tn("",t);return t.slice(0,t.l)}function Zp(){}function Jp(e,r,t){var a=e.l+r;var n=En(e,16);var i=e._R(1);var s=[n];s[2]=i;if(t.cellFormula){var f=jd(e,a-e.l,t);s[1]=f}else e.l=a;return s}function qp(e,r,t){var a=e.l+r;var n=Sn(e,16);var i=[n];if(t.cellFormula){var s=Zd(e,a-e.l,t);i[1]=s;e.l=a}else e.l=a;return i}function Qp(e,r,t){if(t==null)t=Ea(18);var a=kv(e,r);t._W(-4,e);t._W(-4,e);t._W(4,(a.width||10)*256);t._W(4,0);var n=0;if(r.hidden)n|=1;if(typeof a.width=="number")n|=2;if(r.level)n|=r.level<<8;t._W(2,n);return t}var em=["left","right","top","bottom","header","footer"];function rm(e){var r={};em.forEach(function(t){r[t]=An(e,8)});return r}function tm(e,r){if(r==null)r=Ea(6*8);Tv(e);em.forEach(function(t){Cn(e[t],r)});return r}function am(e){var r=e._R(2);e.l+=28;return{RTL:r&32}}function nm(e,r,t){if(t==null)t=Ea(30);var a=924;if((((r||{}).Views||[])[0]||{}).RTL)a|=32;t._W(2,a);t._W(4,0);t._W(4,0);t._W(4,0);t._W(1,0);t._W(1,0);t._W(2,0);t._W(2,100);t._W(2,0);t._W(2,0);t._W(2,0);t._W(4,0);return t}function im(e){var r=Ea(24);r._W(4,4);r._W(4,1);xn(e,r);return r}function sm(e,r){if(r==null)r=Ea(16*4+2);r._W(2,e.password?Fo(e.password):0);r._W(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._W(4,e[t[0]]!=null&&!e[t[0]]?1:0);else r._W(4,e[t[0]]!=null&&e[t[0]]?0:1)});return r}function fm(){}function lm(){}function om(e,r,t,a,n,i,s){if(!e)return e;var f=r||{};if(!a)a={"!id":{}};if(g!=null&&f.dense==null)f.dense=g;var l={};if(f.dense)l["!data"]=[];var o;var c={s:{r:2e6,c:2e6},e:{r:0,c:0}};var u=[];var h=false,d=false;var v,p,m,b,w,k,T,y,E;var _=[];f.biff=12;f["!row"]=0;var S=0,x=false;var A=[];var C={};var R=f.supbooks||n.supbooks||[[]];R.sharedf=C;R.arrayf=A;R.SheetNames=n.SheetNames||n.Sheets.map(function(e){return e.name});if(!f.supbooks){f.supbooks=R;if(n.Names)for(var O=0;O<n.Names.length;++O)R[0][O+1]=n.Names[O]}var I=[],N=[];var F=false;Qb[16]={n:"BrtShortReal",f:Op};var D,P;var L=1462*+!!((n||{}).WBProps||{}).date1904;_a(e,function U(e,r,g){if(d)return;switch(g){case 148:o=e;break;case 0:v=e;if(f.sheetRows&&f.sheetRows<=v.r)d=true;y=Na(b=v.r);f["!row"]=v.r;if(e.hidden||e.hpt||e.level!=null){if(e.hpt)e.hpx=lc(e.hpt);N[e.r]=e}break;case 2:;case 3:;case 4:;case 5:;case 6:;case 7:;case 8:;case 9:;case 10:;case 11:;case 13:;case 14:;case 15:;case 16:;case 17:;case 18:;case 62:p={t:e[2]};switch(e[2]){case"n":p.v=e[1];break;case"s":T=mv[e[1]];p.v=T.t;p.r=T.r;break;case"b":p.v=e[1]?true:false;break;case"e":p.v=e[1];if(f.cellText!==false)p.w=ti[p.v];break;case"str":p.t="s";p.v=e[1];break;case"is":p.t="s";p.v=e[1].t;break;}if(m=s.CellXf[e[0].iStyleRef])Ev(p,m.numFmtId,null,f,i,s,L>0);w=e[0].c==-1?w+1:e[0].c;if(f.dense){if(!l["!data"][b])l["!data"][b]=[];l["!data"][b][w]=p}else l[La(w)+y]=p;if(f.cellFormula){x=false;for(S=0;S<A.length;++S){var O=A[S];if(v.r>=O[0].s.r&&v.r<=O[0].e.r)if(w>=O[0].s.c&&w<=O[0].e.c){p.F=Va(O[0]);x=true}}if(!x&&e.length>3)p.f=e[3]}if(c.s.r>v.r)c.s.r=v.r;if(c.s.c>w)c.s.c=w;if(c.e.r<v.r)c.e.r=v.r;if(c.e.c<w)c.e.c=w;if(f.cellDates&&m&&p.t=="n"&&Le(q[m.numFmtId])){var M=ae(p.v+L);if(M){p.t="d";p.v=new Date(Date.UTC(M.y,M.m-1,M.d,M.H,M.M,M.S,M.u))}}if(D){if(D.type=="XLDAPR")p.D=true;D=void 0}if(P)P=void 0;break;case 1:;case 12:if(!f.sheetStubs||h)break;p={t:"z",v:void 0};w=e[0].c==-1?w+1:e[0].c;if(f.dense){if(!l["!data"][b])l["!data"][b]=[];l["!data"][b][w]=p}else l[La(w)+y]=p;if(c.s.r>v.r)c.s.r=v.r;if(c.s.c>w)c.s.c=w;if(c.e.r<v.r)c.e.r=v.r;if(c.e.c<w)c.e.c=w;if(D){if(D.type=="XLDAPR")p.D=true;D=void 0}if(P)P=void 0;break;case 176:_.push(e);break;case 49:{D=((f.xlmeta||{}).Cell||[])[e-1]}break;case 494:var U=a["!id"][e.relId];if(U){e.Target=U.Target;if(e.loc)e.Target+="#"+e.loc;e.Rel=U}else if(e.relId==""){e.Target="#"+e.loc}for(b=e.rfx.s.r;b<=e.rfx.e.r;++b)for(w=e.rfx.s.c;w<=e.rfx.e.c;++w){if(f.dense){if(!l["!data"][b])l["!data"][b]=[];if(!l["!data"][b][w])l["!data"][b][w]={t:"z",v:undefined};l["!data"][b][w].l=e}else{k=La(w)+Na(b);if(!l[k])l[k]={t:"z",v:undefined};l[k].l=e}}break;case 426:if(!f.cellFormula)break;A.push(e);E=f.dense?l["!data"][b][w]:l[La(w)+y];E.f=Md(e[1],c,{r:v.r,c:w},R,f);E.F=Va(e[0]);break;case 427:if(!f.cellFormula)break;C[za(e[0].s)]=e[1];E=f.dense?l["!data"][b][w]:l[La(w)+y];E.f=Md(e[1],c,{r:v.r,c:w},R,f);break;case 60:if(!f.cellStyles)break;while(e.e>=e.s){I[e.e--]={width:e.w/256,hidden:!!(e.flags&1),level:e.level};if(!F){F=true;ac(e.w/256)}nc(I[e.e+1])}break;case 551:if(e)l["!legrel"]=e;break;case 161:l["!autofilter"]={ref:Va(e)};break;case 476:l["!margins"]=e;break;case 147:if(!n.Sheets[t])n.Sheets[t]={};if(e.name)n.Sheets[t].CodeName=e.name;if(e.above||e.left)l["!outline"]={above:e.above,left:e.left};break;case 137:if(!n.Views)n.Views=[{}];if(!n.Views[0])n.Views[0]={};if(e.RTL)n.Views[0].RTL=true;break;case 485:break;case 64:;case 1053:break;case 151:break;case 152:;case 175:;case 644:;case 625:;case 562:;case 396:;case 1112:;case 1146:;case 471:;case 1050:;case 649:;case 1105:;case 589:;case 607:;case 564:;case 1055:;case 168:;case 174:;case 1180:;case 499:;case 507:;case 550:;case 171:;case 167:;case 1177:;case 169:;case 1181:;case 552:;case 661:;case 639:;case 478:;case 537:;case 477:;case 536:;case 1103:;case 680:;case 1104:;case 1024:;case 663:;case 535:;case 678:;case 504:;case 1043:;case 428:;case 170:;case 3072:;case 50:;case 2070:;case 1045:break;case 35:h=true;break;case 36:h=false;break;case 37:u.push(g);h=true;break;case 38:u.pop();h=false;break;default:if(r.T){}else if(!h||f.WTF)throw new Error("Unexpected record 0x"+g.toString(16));}},f);delete f.supbooks;delete f["!row"];if(!l["!ref"]&&(c.s.r<2e6||o&&(o.e.r>0||o.e.c>0||o.s.r>0||o.s.c>0)))l["!ref"]=Va(o||c);if(f.sheetRows&&l["!ref"]){var M=Ga(l["!ref"]);if(f.sheetRows<=+M.e.r){M.e.r=f.sheetRows-1;if(M.e.r>c.e.r)M.e.r=c.e.r;if(M.e.r<M.s.r)M.s.r=M.e.r;if(M.e.c>c.e.c)M.e.c=c.e.c;if(M.e.c<M.s.c)M.s.c=M.e.c;l["!fullref"]=l["!ref"];l["!ref"]=Va(M)}}if(_.length>0)l["!merges"]=_;if(I.length>0)l["!cols"]=I;if(N.length>0)l["!rows"]=N;if(a["!id"][l["!legrel"]])l["!legdrawel"]=a["!id"][l["!legrel"]];return l}function cm(e,r,t,a,n,i,s,f){var l={r:t,c:a};if(r.c)i["!comments"].push([za(l),r.c]);if(r.v===undefined)return false;var o="";switch(r.t){case"b":o=r.v?"1":"0";break;case"d":r=Tr(r);r.z=r.z||q[14];r.v=dr(wr(r.v,f),f);r.t="n";break;case"n":;case"e":o=""+r.v;break;default:o=r.v;break;}l.s=yv(n.cellXfs,r,n);if(r.l)i["!links"].push([za(l),r.l]);switch(r.t){case"s":;case"str":if(n.bookSST){o=wv(n.Strings,r.v==null?"":String(r.v),n.revStrings);l.t="s";l.v=o;if(s)xa(e,18,Ap(r,l));else xa(e,7,Sp(r,l))}else{l.t="str";if(s)xa(e,17,Wp(r,l));else xa(e,6,Up(r,l))}return true;case"n":if(r.v==(r.v|0)&&r.v>-1e3&&r.v<1e3){if(s)xa(e,13,Pp(r,l));else xa(e,2,Fp(r,l))}else if(isNaN(r.v)){if(s)xa(e,14,Ep({t:"e",v:36},l));else xa(e,3,Tp({t:"e",v:36},l))}else if(!isFinite(r.v)){if(s)xa(e,14,Ep({t:"e",v:7},l));else xa(e,3,Tp({t:"e",v:7},l))}else{if(s)xa(e,16,Ip(r,l));else xa(e,5,Rp(r,l))}return true;case"b":l.t="b";if(s)xa(e,15,wp(r,l));else xa(e,4,bp(r,l));return true;case"e":l.t="e";if(s)xa(e,14,Ep(r,l));else xa(e,3,Tp(r,l));return true;}if(s)xa(e,12,pp(r,l));else xa(e,1,dp(r,l));return true}function um(e,r,t,a,n){var i=Ga(r["!ref"]||"A1"),s,f="",l=[];var o=(((n||{}).Workbook||{}).WBProps||{}).date1904;xa(e,145);var c=r["!data"]!=null; -var u=i.e.r;if(r["!rows"])u=Math.max(i.e.r,r["!rows"].length-1);for(var h=i.s.r;h<=u;++h){f=Na(h);sp(e,r,i,h);var d=false;if(h<=i.e.r)for(var v=i.s.c;v<=i.e.c;++v){if(h===i.s.r)l[v]=La(v);s=l[v]+f;var p=c?(r["!data"][h]||[])[v]:r[s];if(!p){d=false;continue}d=cm(e,p,h,v,a,r,d,o)}}xa(e,146)}function hm(e,r){if(!r||!r["!merges"])return;xa(e,177,jp(r["!merges"].length));r["!merges"].forEach(function(r){xa(e,176,Gp(r))});xa(e,178)}function dm(e,r){if(!r||!r["!cols"])return;xa(e,390);r["!cols"].forEach(function(r,t){if(r)xa(e,60,Qp(t,r))});xa(e,391)}function vm(e,r){if(!r||!r["!ref"])return;xa(e,648);xa(e,649,im(Ga(r["!ref"])));xa(e,650)}function pm(e,r,t){r["!links"].forEach(function(r){if(!r[1].Target)return;var a=vi(t,-1,r[1].Target.replace(/#.*$/,""),ci.HLINK);xa(e,494,Yp(r,a))});delete r["!links"]}function mm(e,r,t,a){if(r["!comments"].length>0){var n=vi(a,-1,"../drawings/vmlDrawing"+(t+1)+".vml",ci.VML);xa(e,551,kn("rId"+n));r["!legacy"]=n}}function bm(e,r,t,a){if(!r["!autofilter"])return;var n=r["!autofilter"];var i=typeof n.ref==="string"?n.ref:Va(n.ref);if(!t.Workbook)t.Workbook={Sheets:[]};if(!t.Workbook.Names)t.Workbook.Names=[];var s=t.Workbook.Names;var f=Ha(i);if(f.s.r==f.e.r){f.e.r=Ha(r["!ref"]).e.r;i=Va(f)}for(var l=0;l<s.length;++l){var o=s[l];if(o.Name!="_xlnm._FilterDatabase")continue;if(o.Sheet!=a)continue;o.Ref=Xa(t.SheetNames[a])+"!"+$a(i);break}if(l==s.length)s.push({Name:"_xlnm._FilterDatabase",Sheet:a,Ref:Xa(t.SheetNames[a])+"!"+$a(i)});xa(e,161,xn(Ga(i)));xa(e,162)}function gm(e,r,t){xa(e,133);{xa(e,137,nm(r,t));xa(e,138)}xa(e,134)}function wm(){}function km(e,r){if(!r["!protect"])return;xa(e,535,sm(r["!protect"]))}function Tm(e,r,t,a){var n=Sa();var i=t.SheetNames[e],s=t.Sheets[i]||{};var f=i;try{if(t&&t.Workbook)f=t.Workbook.Sheets[e].CodeName||f}catch(l){}var o=Ga(s["!ref"]||"A1");if(o.e.c>16383||o.e.r>1048575){if(r.WTF)throw new Error("Range "+(s["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");o.e.c=Math.min(o.e.c,16383);o.e.r=Math.min(o.e.c,1048575)}s["!links"]=[];s["!comments"]=[];xa(n,129);if(t.vbaraw||s["!outline"])xa(n,147,up(f,s["!outline"]));xa(n,148,lp(o));gm(n,s,t.Workbook);wm(n,s);dm(n,s,e,r,t);um(n,s,e,r,t);km(n,s);bm(n,s,t,e);hm(n,s);pm(n,s,a);if(s["!margins"])xa(n,476,tm(s["!margins"]));if(!r||r.ignoreEC||r.ignoreEC==void 0)vm(n,s);mm(n,s,e,a);xa(n,130);return n.end()}function ym(e){var r=[];var t=e.match(/^<c:numCache>/);var a;(e.match(/<c:pt idx="(\d*)">(.*?)<\/c:pt>/gm)||[]).forEach(function(e){var a=e.match(/<c:pt idx="(\d*?)"><c:v>(.*)<\/c:v><\/c:pt>/);if(!a)return;r[+a[1]]=t?+a[2]:a[2]});var n=it((e.match(/<c:formatCode>([\s\S]*?)<\/c:formatCode>/)||["","General"])[1]);(e.match(/<c:f>(.*?)<\/c:f>/gm)||[]).forEach(function(e){a=e.replace(/<.*?>/g,"")});return[r,n,a]}function Em(e,r,t,a,n,i){var s=i||{"!type":"chart"};if(!e)return i;var f=0,l=0,o="A";var c={s:{r:2e6,c:2e6},e:{r:0,c:0}};(e.match(/<c:numCache>[\s\S]*?<\/c:numCache>/gm)||[]).forEach(function(e){var r=ym(e);c.s.r=c.s.c=0;c.e.c=f;o=La(f);r[0].forEach(function(e,t){if(s["!data"]){if(!s["!data"][t])s["!data"][t]=[];s["!data"][t][f]={t:"n",v:e,z:r[1]}}else s[o+Na(t)]={t:"n",v:e,z:r[1]};l=t});if(c.e.r<l)c.e.r=l;++f});if(f>0)s["!ref"]=Va(c);return s}function _m(e,r,t,a,n){if(!e)return e;if(!a)a={"!id":{}};var i={"!type":"chart","!drawel":null,"!rel":""};var s;var f=e.match(Fv);if(f)Uv(f[0],i,n,t);if(s=e.match(/drawing r:id="(.*?)"/))i["!rel"]=s[1];if(a["!id"][i["!rel"]])i["!drawel"]=a["!id"][i["!rel"]];return i}function Sm(e,r){e.l+=10;var t=rn(e,r-10);return{name:t}}function xm(e,r,t,a,n){if(!e)return e;if(!a)a={"!id":{}};var i={"!type":"chart","!drawel":null,"!rel":""};var s=[];var f=false;_a(e,function l(e,a,o){switch(o){case 550:i["!rel"]=e;break;case 651:if(!n.Sheets[t])n.Sheets[t]={};if(e.name)n.Sheets[t].CodeName=e.name;break;case 562:;case 652:;case 669:;case 679:;case 551:;case 552:;case 476:;case 3072:break;case 35:f=true;break;case 36:f=false;break;case 37:s.push(o);break;case 38:s.pop();break;default:if(a.T>0)s.push(o);else if(a.T<0)s.pop();else if(!f||r.WTF)throw new Error("Unexpected record 0x"+o.toString(16));}},r);if(a["!id"][i["!rel"]])i["!drawel"]=a["!id"][i["!rel"]];return i}var Am=[["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 Cm=[["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 Rm=[];var Om=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function Im(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]]=pt(a[i[0]]);break;case"int":if(typeof a[i[0]]=="string")a[i[0]]=parseInt(a[i[0]],10);break;}}}}function Nm(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]]=pt(e[a[0]]);break;case"int":if(typeof e[a[0]]=="string")e[a[0]]=parseInt(e[a[0]],10);break;}}}function Fm(e){Nm(e.WBProps,Am);Nm(e.CalcPr,Om);Im(e.WBView,Cm);Im(e.Sheets,Rm);bv.date1904=pt(e.WBProps.date1904)}function Dm(e){if(!e.Workbook)return"false";if(!e.Workbook.WBProps)return"false";return pt(e.Workbook.WBProps.date1904)?"true":"false"}var Pm=":][*?/\\".split("");function Lm(e,r){try{if(e=="")throw new Error("Sheet name cannot be blank");if(e.length>31)throw new Error("Sheet name cannot exceed 31 chars");if(e.charCodeAt(0)==39||e.charCodeAt(e.length-1)==39)throw new Error("Sheet name cannot start or end with apostrophe (')");if(e.toLowerCase()=="history")throw new Error("Sheet name cannot be 'History'");Pm.forEach(function(r){if(e.indexOf(r)==-1)return;throw new Error("Sheet name cannot contain : \\ / ? * [ ]")})}catch(t){if(r)return false;throw t}return true}function Mm(e,r,t){e.forEach(function(a,n){Lm(a);for(var i=0;i<n;++i)if(a==e[i])throw new Error("Duplicate Sheet Name: "+a);if(t){var s=r&&r[n]&&r[n].CodeName||a;if(s.charCodeAt(0)==95&&s.length>22)throw new Error("Bad Code Name: Worksheet"+s)}})}function Um(e){if(!e||!e.SheetNames||!e.Sheets)throw new Error("Invalid Workbook");if(!e.SheetNames.length)throw new Error("Workbook is empty");var r=e.Workbook&&e.Workbook.Sheets||[];Mm(e.SheetNames,r,!!e.vbaraw);for(var t=0;t<e.SheetNames.length;++t)_v(e.Sheets[e.SheetNames[t]],e.SheetNames[t],t);e.SheetNames.forEach(function(r,t){var a=e.Sheets[r];if(!a||!a["!autofilter"])return;var n;if(!e.Workbook)e.Workbook={};if(!e.Workbook.Names)e.Workbook.Names=[];e.Workbook.Names.forEach(function(e){if(e.Name=="_xlnm._FilterDatabase"&&e.Sheet==t)n=e});var i=Xa(r)+"!"+$a(a["!autofilter"].ref);if(n)n.Ref=i;else e.Workbook.Names.push({Name:"_xlnm._FilterDatabase",Sheet:t,Ref:i})})}var Bm=/<\w+:workbook/;function Wm(e,r){if(!e)throw new Error("Could not find file");var t={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},Names:[],xmlns:""};var a=false,n="xmlns";var i={},s=0;e.replace(qr,function f(l,o){var c=rt(l);switch(tt(c[0])){case"<?xml":break;case"<workbook":if(l.match(Bm))n="xmlns"+l.match(/<(\w+):/)[1];t.xmlns=c[n];break;case"</workbook>":break;case"<fileVersion":delete c[0];t.AppVersion=c;break;case"<fileVersion/>":;case"</fileVersion>":break;case"<fileSharing":break;case"<fileSharing/>":break;case"<workbookPr":;case"<workbookPr/>":Am.forEach(function(e){if(c[e[0]]==null)return;switch(e[2]){case"bool":t.WBProps[e[0]]=pt(c[e[0]]);break;case"int":t.WBProps[e[0]]=parseInt(c[e[0]],10);break;default:t.WBProps[e[0]]=c[e[0]];}});if(c.codeName)t.WBProps.CodeName=kt(c.codeName);break;case"</workbookPr>":break;case"<workbookProtection":break;case"<workbookProtection/>":break;case"<bookViews":;case"<bookViews>":;case"</bookViews>":break;case"<workbookView":;case"<workbookView/>":delete c[0];t.WBView.push(c);break;case"</workbookView>":break;case"<sheets":;case"<sheets>":;case"</sheets>":break;case"<sheet":switch(c.state){case"hidden":c.Hidden=1;break;case"veryHidden":c.Hidden=2;break;default:c.Hidden=0;}delete c.state;c.name=it(kt(c.name));delete c[0];t.Sheets.push(c);break;case"</sheet>":break;case"<functionGroups":;case"<functionGroups/>":break;case"<functionGroup":break;case"<externalReferences":;case"</externalReferences>":;case"<externalReferences>":break;case"<externalReference":break;case"<definedNames/>":break;case"<definedNames>":;case"<definedNames":a=true;break;case"</definedNames>":a=false;break;case"<definedName":{i={};i.Name=kt(c.name);if(c.comment)i.Comment=c.comment;if(c.localSheetId)i.Sheet=+c.localSheetId;if(pt(c.hidden||"0"))i.Hidden=true;s=o+l.length}break;case"</definedName>":{i.Ref=it(kt(e.slice(s,o)));t.Names.push(i)}break;case"<definedName/>":break;case"<calcPr":delete c[0];t.CalcPr=c;break;case"<calcPr/>":delete c[0];t.CalcPr=c;break;case"</calcPr>":break;case"<oleSize":break;case"<customWorkbookViews>":;case"</customWorkbookViews>":;case"<customWorkbookViews":break;case"<customWorkbookView":;case"</customWorkbookView>":break;case"<pivotCaches>":;case"</pivotCaches>":;case"<pivotCaches":break;case"<pivotCache":break;case"<smartTagPr":;case"<smartTagPr/>":break;case"<smartTagTypes":;case"<smartTagTypes>":;case"</smartTagTypes>":break;case"<smartTagType":break;case"<webPublishing":;case"<webPublishing/>":break;case"<fileRecoveryPr":;case"<fileRecoveryPr/>":break;case"<webPublishObjects>":;case"<webPublishObjects":;case"</webPublishObjects>":break;case"<webPublishObject":break;case"<extLst":;case"<extLst>":;case"</extLst>":;case"<extLst/>":break;case"<ext":a=true;break;case"</ext>":a=false;break;case"<ArchID":break;case"<AlternateContent":;case"<AlternateContent>":a=true;break;case"</AlternateContent>":a=false;break;case"<revisionPtr":break;default:if(!a&&r.WTF)throw new Error("unrecognized "+c[0]+" in workbook");}return l});if(Mt.indexOf(t.xmlns)===-1)throw new Error("Unknown Namespace: "+t.xmlns);Fm(t);return t}function zm(e){var r=[Kr];r[r.length]=It("workbook",null,{xmlns:Mt[0],"xmlns:r":Lt.r});var t=e.Workbook&&(e.Workbook.Names||[]).length>0;var a={codeName:"ThisWorkbook"};if(e.Workbook&&e.Workbook.WBProps){Am.forEach(function(r){if(e.Workbook.WBProps[r[0]]==null)return;if(e.Workbook.WBProps[r[0]]==r[1])return;a[r[0]]=e.Workbook.WBProps[r[0]]});if(e.Workbook.WBProps.CodeName){a.codeName=e.Workbook.WBProps.CodeName;delete a.CodeName}}r[r.length]=It("workbookPr",null,a);var n=e.Workbook&&e.Workbook.Sheets||[];var i=0;if(n&&n[0]&&!!n[0].Hidden){r[r.length]="<bookViews>";for(i=0;i!=e.SheetNames.length;++i){if(!n[i])break;if(!n[i].Hidden)break}if(i==e.SheetNames.length)i=0;r[r.length]='<workbookView firstSheet="'+i+'" activeTab="'+i+'"/>';r[r.length]="</bookViews>"}r[r.length]="<sheets>";for(i=0;i!=e.SheetNames.length;++i){var s={name:lt(e.SheetNames[i].slice(0,31))};s.sheetId=""+(i+1);s["r:id"]="rId"+(i+1);if(n[i])switch(n[i].Hidden){case 1:s.state="hidden";break;case 2:s.state="veryHidden";break;}r[r.length]=It("sheet",null,s)}r[r.length]="</sheets>";if(t){r[r.length]="<definedNames>";if(e.Workbook&&e.Workbook.Names)e.Workbook.Names.forEach(function(e){var t={name:e.Name};if(e.Comment)t.comment=e.Comment;if(e.Sheet!=null)t.localSheetId=""+e.Sheet;if(e.Hidden)t.hidden="1";if(!e.Ref)return;r[r.length]=It("definedName",lt(e.Ref),t)});r[r.length]="</definedNames>"}if(r.length>2){r[r.length]="</workbook>";r[1]=r[1].replace("/>",">")}return r.join("")}function Hm(e,r){var t={};t.Hidden=e._R(4);t.iTabID=e._R(4);t.strRelID=wn(e,r-8);t.name=rn(e);return t}function Vm(e,r){if(!r)r=Ea(127);r._W(4,e.Hidden);r._W(4,e.iTabID);kn(e.strRelID,r);tn(e.name.slice(0,31),r);return r.length>r.l?r.slice(0,r.l):r}function $m(e,r){var t={};var a=e._R(4);t.defaultThemeVersion=e._R(4);var n=r>8?rn(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 Xm(e,r){if(!r)r=Ea(72);var t=0;if(e){if(e.date1904)t|=1;if(e.filterPrivacy)t|=8}r._W(4,t);r._W(4,0);pn(e&&e.CodeName||"ThisWorkbook",r);return r.slice(0,r.l)}function Gm(e,r){var t={};e._R(4);t.ArchID=e._R(4);e.l+=r-8;return t}function jm(e,r,t){var a=e.l+r;var n=e._R(4);e.l+=1;var i=e._R(4);var s=gn(e);var f=Yd(e,0,t);var l=mn(e);if(n&32)s="_xlnm."+s;e.l=a;var o={Name:s,Ptg:f,Flags:n};if(i<268435455)o.Sheet=i;if(l)o.Comment=l;return o}function Km(e,r){var t=Ea(9);var a=0;var n=e.Name;if(ni.indexOf(n)>-1){a|=32;n=n.slice(6)}t._W(4,a);t._W(1,0);t._W(4,e.Sheet==null?4294967295:e.Sheet);var i=[t,tn(n),lv(e.Ref,r)];if(e.Comment)i.push(bn(e.Comment));else{var s=Ea(4);s._W(4,4294967295);i.push(s)}return P(i)}function Ym(e,r){var t={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""};var a=[];var n=false;if(!r)r={};r.biff=12;var i=[];var s=[[]];s.SheetNames=[];s.XTI=[];Qb[16]={n:"BrtFRTArchID$",f:Gm};_a(e,function f(e,l,o){switch(o){case 156:s.SheetNames.push(e.name);t.Sheets.push(e);break;case 153:t.WBProps=e;break;case 39:if(e.Sheet!=null)r.SID=e.Sheet;e.Ref=Md(e.Ptg,null,null,s,r);delete r.SID;delete e.Ptg;i.push(e);break;case 1036:break;case 357:;case 358:;case 355:;case 667:if(!s[0].length)s[0]=[o,e];else s.push([o,e]);s[s.length-1].XTI=[];break;case 362:if(s.length===0){s[0]=[];s[0].XTI=[]}s[s.length-1].XTI=s[s.length-1].XTI.concat(e);s.XTI=s.XTI.concat(e);break;case 361:break;case 2071:;case 158:;case 143:;case 664:;case 353:break;case 3072:;case 3073:;case 534:;case 677:;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.push(o);n=true;break;case 36:a.pop();n=false;break;case 37:a.push(o);n=true;break;case 38:a.pop();n=false;break;case 16:break;default:if(l.T){}else if(!n||r.WTF&&a[a.length-1]!=37&&a[a.length-1]!=35)throw new Error("Unexpected record 0x"+o.toString(16));}},r);Fm(t);t.Names=i;t.supbooks=s;return t}function Zm(e,r){xa(e,143);for(var t=0;t!=r.SheetNames.length;++t){var a=r.Workbook&&r.Workbook.Sheets&&r.Workbook.Sheets[t]&&r.Workbook.Sheets[t].Hidden||0;var n={Hidden:a,iTabID:t+1,strRelID:"rId"+(t+1),name:r.SheetNames[t]};xa(e,156,Vm(n))}xa(e,144)}function Jm(r,t){if(!t)t=Ea(127);for(var a=0;a!=4;++a)t._W(4,0);tn("SheetJS",t);tn(e.version,t);tn(e.version,t);tn("7262",t);return t.length>t.l?t.slice(0,t.l):t}function qm(e,r){if(!r)r=Ea(29);r._W(-4,0);r._W(-4,460);r._W(4,28800);r._W(4,17600);r._W(4,500);r._W(4,e);r._W(4,e);var t=120;r._W(1,t);return r.length>r.l?r.slice(0,r.l):r}function Qm(e,r){if(!r.Workbook||!r.Workbook.Sheets)return;var t=r.Workbook.Sheets;var a=0,n=-1,i=-1;for(;a<t.length;++a){if(!t[a]||!t[a].Hidden&&n==-1)n=a;else if(t[a].Hidden==1&&i==-1)i=a}if(i>n)return;xa(e,135);xa(e,158,qm(n));xa(e,136)}function eb(e,r){if(!r.Workbook||!r.Workbook.Names)return;r.Workbook.Names.forEach(function(t){try{if(t.Flags&14)return;xa(e,39,Km(t,r))}catch(a){console.error("Could not serialize defined name "+JSON.stringify(t))}})}function rb(e){var r=e.SheetNames.length;var t=Ea(12*r+28);t._W(4,r+2);t._W(4,0);t._W(4,-2);t._W(4,-2);t._W(4,0);t._W(4,-1);t._W(4,-1);for(var a=0;a<r;++a){t._W(4,0);t._W(4,a);t._W(4,a)}return t}function tb(e,r){xa(e,353);xa(e,357);xa(e,362,rb(r,0));xa(e,354)}function ab(e,r){var t=Sa();xa(t,131);xa(t,128,Jm());xa(t,153,Xm(e.Workbook&&e.Workbook.WBProps||null));Qm(t,e,r);Zm(t,e,r);tb(t,e);if((e.Workbook||{}).Names)eb(t,e);xa(t,132);return t.end()}function nb(e,r,t){if(r.slice(-4)===".bin")return Ym(e,t);return Wm(e,t)}function ib(e,r,t,a,n,i,s,f){if(r.slice(-4)===".bin")return om(e,a,t,n,i,s,f);return Lv(e,a,t,n,i,s,f)}function sb(e,r,t,a,n,i,s,f){if(r.slice(-4)===".bin")return xm(e,a,t,n,i,s,f);return _m(e,a,t,n,i,s,f)}function fb(e,r,t,a,n,i,s,f){if(r.slice(-4)===".bin")return Qu(e,a,t,n,i,s,f);return eh(e,a,t,n,i,s,f)}function lb(e,r,t,a,n,i,s,f){if(r.slice(-4)===".bin")return Ju(e,a,t,n,i,s,f);return qu(e,a,t,n,i,s,f)}function ob(e,r,t,a){if(r.slice(-4)===".bin")return Lc(e,t,a);return wc(e,t,a)}function cb(e,r,t){if(r.slice(-4)===".bin")return ho(e,t);return lo(e,t)}function ub(e,r,t){if(r.slice(-4)===".bin")return Xu(e,t);return Pu(e,t)}function hb(e,r,t){if(r.slice(-4)===".bin")return xu(e,r,t);return _u(e,r,t)}function db(e,r,t,a){if(t.slice(-4)===".bin")return Cu(e,r,t,a);return Au(e,r,t,a)}function vb(e,r,t){if(r.slice(-4)===".bin")return ku(e,r,t);return yu(e,r,t)}var pb=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g;var mb=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;function bb(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(pb),i,s,f,l;if(n)for(l=0;l!=n.length;++l){i=n[l].match(mb);if((s=i[1].indexOf(":"))===-1)a[i[1]]=i[2].slice(1,i[2].length-1);else{if(i[1].slice(0,6)==="xmlns:")f="xmlns"+i[1].slice(6);else f=i[1].slice(s+1);a[f]=i[2].slice(1,i[2].length-1)}}return a}function gb(e){var r=e.split(/\s+/);var t={};if(r.length===1)return t;var a=e.match(pb),n,i,s,f;if(a)for(f=0;f!=a.length;++f){n=a[f].match(mb);if((i=n[1].indexOf(":"))===-1)t[n[1]]=n[2].slice(1,n[2].length-1);else{if(n[1].slice(0,6)==="xmlns:")s="xmlns"+n[1].slice(6);else s=n[1].slice(i+1);t[s]=n[2].slice(1,n[2].length-1)}}return t}var wb;function kb(e,r,t){var a=wb[e]||it(e);if(a==="General")return oe(r);return ze(a,r,{date1904:!!t})}function Tb(e,r,t,a){var n=a;switch((t[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":n=pt(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=wr(a);break;case"i8":;case"string":;case"fixed":;case"uuid":;case"bin.base64":break;default:throw new Error("bad custprop:"+t[0]);}e[it(r)]=n}function yb(e,r,t,a){if(e.t==="z")return;if(!t||t.cellText!==false)try{if(e.t==="e"){e.w=e.w||ti[e.v]}else if(r==="General"){if(e.t==="n"){if((e.v|0)===e.v)e.w=e.v.toString(10);else e.w=le(e.v)}else e.w=oe(e.v)}else e.w=kb(r||"General",e.v,a)}catch(n){if(t.WTF)throw n}try{var i=wb[r]||r||"General";if(t.cellNF)e.z=i;if(t.cellDates&&e.t=="n"&&Le(i)){var s=ae(e.v+(a?1462:0));if(s){e.t="d";e.v=new Date(Date.UTC(s.y,s.m-1,s.d,s.H,s.M,s.S,s.u))}}}catch(n){if(t.WTF)throw n}}function Eb(e,r,t){if(t.cellStyles){if(r.Interior){var a=r.Interior;if(a.Pattern)a.patternType=oc[a.Pattern]||a.Pattern}}e[r.ID]=r}function _b(e,r,t,a,n,i,s,f,l,o,c){var u="General",h=a.StyleID,d={};o=o||{};var v=[];var p=0;if(h===undefined&&f)h=f.StyleID;if(h===undefined&&s)h=s.StyleID;while(i[h]!==undefined){if(i[h].nf)u=i[h].nf;if(i[h].Interior)v.push(i[h].Interior);if(!i[h].Parent)break;h=i[h].Parent}switch(t.Type){case"Boolean":a.t="b";a.v=pt(e);break;case"String":a.t="s";a.r=dt(it(e));a.v=e.indexOf("<")>-1?it(r||e).replace(/<.*?>/g,""):a.r;break;case"DateTime":if(e.slice(-1)!="Z")e+="Z";a.v=dr(wr(e,c),c);if(a.v!==a.v)a.v=it(e);if(!u||u=="General")u="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=ai[e];if(o.cellText!==false)a.w=e;break;default:if(e==""&&r==""){a.t="z"}else{a.t="s";a.v=dt(r||e)}break;}yb(a,u,o,c);if(o.cellFormula!==false){if(a.Formula){var m=it(a.Formula);if(m.charCodeAt(0)==61)m=m.slice(1);a.f=rh(m,n);delete a.Formula;if(a.ArrayRange=="RC")a.F=rh("RC:RC",n);else if(a.ArrayRange){a.F=rh(a.ArrayRange,n);l.push([Ga(a.F),a.F])}}else{for(p=0;p<l.length;++p)if(n.r>=l[p][0].s.r&&n.r<=l[p][0].e.r)if(n.c>=l[p][0].s.c&&n.c<=l[p][0].e.c)a.F=l[p][1]}}if(o.cellStyles){v.forEach(function(e){if(!d.patternType&&e.patternType)d.patternType=e.patternType});a.s=d}if(a.StyleID!==undefined)a.ixfe=a.StyleID}function Sb(e){return ni.indexOf("_xlnm."+e)>-1?"_xlnm."+e:e}function xb(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 Ab(e,r){var t=r||{};$e();var n=v(Dt(e));if(t.type=="binary"||t.type=="array"||t.type=="base64"){if(typeof a!=="undefined")n=a.utils.decode(65001,c(n));else n=kt(n)}var i=n.slice(0,1024).toLowerCase(),s=false;i=i.replace(/".*?"/g,"");if((i.indexOf(">")&1023)>Math.min(i.indexOf(",")&1023,i.indexOf(";")&1023)){var f=Tr(t);f.type="string";return Yl.to_workbook(n,f)}if(i.indexOf("<?xml")==-1)["html","table","head","meta","script","style","div"].forEach(function(e){if(i.indexOf("<"+e)>=0)s=true});if(s)return Cg(n,t);wb={"General Number":"General","General Date":q[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":q[15],"Short Date":q[14],"Long Time":q[19],"Medium Time":q[18],"Short Time":q[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:q[2],Standard:q[4],Percent:q[10],Scientific:q[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'};var l;var o=[],u;if(g!=null&&t.dense==null)t.dense=g;var h={},d=[],p={},m="";if(t.dense)p["!data"]=[];var b={},w={};var k=bb('<Data ss:Type="String">'),T=0;var y=0,E=0;var _={s:{r:2e6,c:2e6},e:{r:0,c:0}};var S={},x={};var A="",C=0;var R=[];var O={},I={},N=0,F=[];var D=[],P={};var L=[],M,U=false;var B=[];var W=[],z={},H=0,V=0;var $={Sheets:[],WBProps:{date1904:false}},X={};Pt.lastIndex=0;n=n.replace(/<!--([\s\S]*?)-->/gm,"");var G="";while(l=Pt.exec(n))switch(l[3]=(G=l[3]).toLowerCase()){case"data":if(G=="data"){if(l[1]==="/"){if((u=o.pop())[0]!==l[3])throw new Error("Bad state: "+u.join("|"))}else if(l[0].charAt(l[0].length-2)!=="/")o.push([l[3],true]);break}if(o[o.length-1][1])break;if(l[1]==="/")_b(n.slice(T,l.index),A,k,o[o.length-1][0]=="comment"?P:b,{c:y,r:E},S,L[y],w,B,t,$.WBProps.date1904);else{A="";k=bb(l[0]);T=l.index+l[0].length}break;case"cell":if(l[1]==="/"){if(D.length>0)b.c=D;if((!t.sheetRows||t.sheetRows>E)&&b.v!==void 0){if(t.dense){if(!p["!data"][E])p["!data"][E]=[];p["!data"][E][y]=b}else p[La(y)+Na(E)]=b}if(b.HRef){b.l={Target:it(b.HRef)};if(b.HRefScreenTip)b.l.Tooltip=b.HRefScreenTip;delete b.HRef;delete b.HRefScreenTip}if(b.MergeAcross||b.MergeDown){H=y+(parseInt(b.MergeAcross,10)|0);V=E+(parseInt(b.MergeDown,10)|0);if(H>y||V>E)R.push({s:{c:y,r:E},e:{c:H,r:V}})}if(!t.sheetStubs){if(b.MergeAcross)y=H+1;else++y}else if(b.MergeAcross||b.MergeDown){for(var j=y;j<=H;++j){for(var K=E;K<=V;++K){if(j>y||K>E){if(t.dense){if(!p["!data"][K])p["!data"][K]=[];p["!data"][K][j]={t:"z"}}else p[La(j)+Na(K)]={t:"z"}}}}y=H+1}else++y}else{b=gb(l[0]);if(b.Index)y=+b.Index-1;if(y<_.s.c)_.s.c=y;if(y>_.e.c)_.e.c=y;if(l[0].slice(-2)==="/>")++y;D=[]}break;case"row":if(l[1]==="/"||l[0].slice(-2)==="/>"){if(E<_.s.r)_.s.r=E;if(E>_.e.r)_.e.r=E;if(l[0].slice(-2)==="/>"){w=bb(l[0]);if(w.Index)E=+w.Index-1}y=0;++E}else{w=bb(l[0]);if(w.Index)E=+w.Index-1;z={};if(w.AutoFitHeight=="0"||w.Height){z.hpx=parseInt(w.Height,10);z.hpt=fc(z.hpx);W[E]=z}if(w.Hidden=="1"){z.hidden=true;W[E]=z}}break;case"worksheet":if(l[1]==="/"){if((u=o.pop())[0]!==l[3])throw new Error("Bad state: "+u.join("|"));d.push(m);if(_.s.r<=_.e.r&&_.s.c<=_.e.c){p["!ref"]=Va(_);if(t.sheetRows&&t.sheetRows<=_.e.r){p["!fullref"]=p["!ref"];_.e.r=t.sheetRows-1;p["!ref"]=Va(_)}}if(R.length)p["!merges"]=R;if(L.length>0)p["!cols"]=L;if(W.length>0)p["!rows"]=W;h[m]=p}else{_={s:{r:2e6,c:2e6},e:{r:0,c:0}};E=y=0;o.push([l[3],false]);u=bb(l[0]);m=it(u.Name);p={};if(t.dense)p["!data"]=[];R=[];B=[];W=[];X={name:m,Hidden:0};$.Sheets.push(X)}break;case"table":if(l[1]==="/"){if((u=o.pop())[0]!==l[3])throw new Error("Bad state: "+u.join("|"))}else if(l[0].slice(-2)=="/>")break;else{o.push([l[3],false]);L=[];U=false}break;case"style":if(l[1]==="/")Eb(S,x,t);else x=bb(l[0]);break;case"numberformat":x.nf=it(bb(l[0]).Format||"General");if(wb[x.nf])x.nf=wb[x.nf];for(var Y=0;Y!=392;++Y)if(q[Y]==x.nf)break;if(Y==392)for(Y=57;Y!=392;++Y)if(q[Y]==null){Je(x.nf,Y);break}break;case"column":if(o[o.length-1][0]!=="table")break;if(l[1]==="/")break;M=bb(l[0]);if(M.Hidden){M.hidden=true;delete M.Hidden}if(M.Width)M.wpx=parseInt(M.Width,10);if(!U&&M.wpx>10){U=true;qo=Yo;for(var Z=0;Z<L.length;++Z)if(L[Z])nc(L[Z])}if(U)nc(M);L[M.Index-1||L.length]=M;for(var J=0;J<+M.Span;++J)L[L.length]=Tr(M);break;case"namedrange":if(l[1]==="/")break;if(!$.Names)$.Names=[];var Q=rt(l[0]);var ee={Name:Sb(Q.Name),Ref:rh(Q.RefersTo.slice(1),{r:0,c:0})};if($.Sheets.length>0)ee.Sheet=$.Sheets.length-1;$.Names.push(ee);break;case"namedcell":break;case"b":break;case"i":break;case"u":break;case"s":break;case"em":break;case"h2":break;case"h3":break;case"sub":break;case"sup":break;case"span":break;case"alignment":break;case"borders":break;case"border":break;case"font":if(l[0].slice(-2)==="/>")break;else if(l[1]==="/")A+=n.slice(C,l.index);else C=l.index+l[0].length;break;case"interior":if(!t.cellStyles)break;x.Interior=bb(l[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":;case"appname":if(l[0].slice(-2)==="/>")break;else if(l[1]==="/")Mi(O,G,n.slice(N,l.index));else N=l.index+l[0].length;break;case"paragraphs":break;case"styles":;case"workbook":if(l[1]==="/"){if((u=o.pop())[0]!==l[3])throw new Error("Bad state: "+u.join("|"))}else o.push([l[3],false]);break;case"comment":if(l[1]==="/"){if((u=o.pop())[0]!==l[3])throw new Error("Bad state: "+u.join("|"));xb(P);D.push(P)}else{o.push([l[3],false]);u=bb(l[0]);if(!pt(u["ShowAlways"]||"0"))D.hidden=true;P={a:u.Author}}break;case"autofilter":if(l[1]==="/"){if((u=o.pop())[0]!==l[3])throw new Error("Bad state: "+u.join("|"))}else if(l[0].charAt(l[0].length-2)!=="/"){var re=bb(l[0]);p["!autofilter"]={ref:rh(re.Range).replace(/\$/g,"")};o.push([l[3],true])}break;case"name":break;case"datavalidation":if(l[1]==="/"){if((u=o.pop())[0]!==l[3])throw new Error("Bad state: "+u.join("|"))}else{if(l[0].charAt(l[0].length-2)!=="/")o.push([l[3],true])}break;case"pixelsperinch":break;case"componentoptions":;case"documentproperties":;case"customdocumentproperties":;case"officedocumentsettings":;case"pivottable":;case"pivotcache":;case"names":;case"mapinfo":;case"pagebreaks":;case"querytable":;case"sorting":;case"schema":;case"conditionalformatting":;case"smarttagtype":;case"smarttags":;case"excelworkbook":;case"workbookoptions":;case"worksheetoptions":if(l[1]==="/"){if((u=o.pop())[0]!==l[3])throw new Error("Bad state: "+u.join("|"))}else if(l[0].charAt(l[0].length-2)!=="/")o.push([l[3],true]);break;case"null":break;default:if(o.length==0&&l[3]=="document")return Wg(n,t);if(o.length==0&&l[3]=="uof")return Wg(n,t);var te=true;switch(o[o.length-1][0]){case"officedocumentsettings":switch(l[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"targetscreensize":break;case"readonlyrecommended":break;default:te=false;}break;case"componentoptions":switch(l[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:te=false;}break;case"excelworkbook":switch(l[3]){case"date1904":$.WBProps.date1904=true;break;case"hidehorizontalscrollbar":break;case"hideverticalscrollbar":break;case"hideworkbooktabs":break;case"windowheight":break;case"windowwidth":break;case"windowtopx":break;case"windowtopy":break;case"tabratio":break;case"protectstructure":break;case"protectwindow":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:te=false;}break;case"workbookoptions":switch(l[3]){case"owcversion":break;case"height":break;case"width":break;default:te=false;}break;case"worksheetoptions":switch(l[3]){case"visible":if(l[0].slice(-2)==="/>"){}else if(l[1]==="/")switch(n.slice(N,l.index)){case"SheetHidden":X.Hidden=1;break;case"SheetVeryHidden":X.Hidden=2;break;}else N=l.index+l[0].length;break;case"header":if(!p["!margins"])Tv(p["!margins"]={},"xlml");if(!isNaN(+rt(l[0]).Margin))p["!margins"].header=+rt(l[0]).Margin;break;case"footer":if(!p["!margins"])Tv(p["!margins"]={},"xlml");if(!isNaN(+rt(l[0]).Margin))p["!margins"].footer=+rt(l[0]).Margin;break;case"pagemargins":var ae=rt(l[0]);if(!p["!margins"])Tv(p["!margins"]={},"xlml");if(!isNaN(+ae.Top))p["!margins"].top=+ae.Top;if(!isNaN(+ae.Left))p["!margins"].left=+ae.Left;if(!isNaN(+ae.Right))p["!margins"].right=+ae.Right;if(!isNaN(+ae.Bottom))p["!margins"].bottom=+ae.Bottom;break;case"displayrighttoleft":if(!$.Views)$.Views=[];if(!$.Views[0])$.Views[0]={};$.Views[0].RTL=true;break;case"freezepanes":break;case"frozennosplit":break;case"splithorizontal":;case"splitvertical":break;case"donotdisplaygridlines":break;case"activerow":break;case"activecol":break;case"toprowbottompane":break;case"leftcolumnrightpane":break;case"unsynced":break;case"print":break;case"printerrors":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"activepane":break;case"toprowvisible":break;case"leftcolumnvisible":break;case"fittopage":break;case"rangeselection":break;case"papersizeindex":break;case"pagelayoutzoom":break;case"pagebreakzoom":break;case"filteron":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":if(!p["!outline"])p["!outline"]={}; -p["!outline"].above=true;break;case"tabcolorindex":break;case"donotdisplayheadings":break;case"showpagelayoutzoom":break;case"nosummarycolumnsrightdetail":if(!p["!outline"])p["!outline"]={};p["!outline"].left=true;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:te=false;}break;case"pivottable":;case"pivotcache":switch(l[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:te=false;}break;case"pagebreaks":switch(l[3]){case"colbreaks":break;case"colbreak":break;case"rowbreaks":break;case"rowbreak":break;case"colstart":break;case"colend":break;case"rowend":break;default:te=false;}break;case"autofilter":switch(l[3]){case"autofiltercolumn":break;case"autofiltercondition":break;case"autofilterand":break;case"autofilteror":break;default:te=false;}break;case"querytable":switch(l[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:te=false;}break;case"datavalidation":switch(l[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"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;case"cellrangelist":break;default:te=false;}break;case"sorting":;case"conditionalformatting":switch(l[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:te=false;}break;case"mapinfo":;case"schema":;case"data":switch(l[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:te=false;}break;case"smarttags":break;default:te=false;break;}if(te)break;if(l[3].match(/!\[CDATA/))break;if(!o[o.length-1][1])throw"Unrecognized tag: "+l[3]+"|"+o.join("|");if(o[o.length-1][0]==="customdocumentproperties"){if(l[0].slice(-2)==="/>")break;else if(l[1]==="/")Tb(I,G,F,n.slice(N,l.index));else{F=l;N=l.index+l[0].length}break}if(t.WTF)throw"Unrecognized tag: "+l[3]+"|"+o.join("|");}var ne={};if(!t.bookSheets&&!t.bookProps)ne.Sheets=h;ne.SheetNames=d;ne.Workbook=$;ne.SSF=Tr(q);ne.Props=O;ne.Custprops=I;ne.bookType="xlml";return ne}function Cb(e,r){ek(r=r||{});switch(r.type||"base64"){case"base64":return Ab(_(e),r);case"binary":;case"buffer":;case"file":return Ab(e,r);case"array":return Ab(N(e),r);}}function Rb(e,r){var t=[];if(e.Props)t.push(Ui(e.Props,r));if(e.Custprops)t.push(Bi(e.Props,e.Custprops,r));return t.join("")}function Ob(e){if((((e||{}).Workbook||{}).WBProps||{}).date1904)return'<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel"><Date1904/></ExcelWorkbook>';return""}function Ib(e,r){var t=['<Style ss:ID="Default" ss:Name="Normal"><NumberFormat/></Style>'];r.cellXfs.forEach(function(e,r){var a=[];a.push(It("NumberFormat",null,{"ss:Format":lt(q[e.numFmtId])}));var n={"ss:ID":"s"+(21+r)};t.push(It("Style",a.join(""),n))});return It("Styles",t.join(""))}function Nb(e){return It("NamedRange",null,{"ss:Name":e.Name.slice(0,6)=="_xlnm."?e.Name.slice(6):e.Name,"ss:RefersTo":"="+nh(e.Ref,{r:0,c:0})})}function Fb(e){if(!((e||{}).Workbook||{}).Names)return"";var r=e.Workbook.Names;var t=[];for(var a=0;a<r.length;++a){var n=r[a];if(n.Sheet!=null)continue;if(n.Name.match(/^_xlfn\./))continue;t.push(Nb(n))}return It("Names",t.join(""))}function Db(e,r,t,a){if(!e)return"";if(!((a||{}).Workbook||{}).Names)return"";var n=a.Workbook.Names;var i=[];for(var s=0;s<n.length;++s){var f=n[s];if(f.Sheet!=t)continue;if(f.Name.match(/^_xlfn\./))continue;i.push(Nb(f))}return i.join("")}function Pb(e,r,t,a){if(!e)return"";var n=[];if(e["!margins"]){n.push("<PageSetup>");if(e["!margins"].header)n.push(It("Header",null,{"x:Margin":e["!margins"].header}));if(e["!margins"].footer)n.push(It("Footer",null,{"x:Margin":e["!margins"].footer}));n.push(It("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("</PageSetup>")}if(a&&a.Workbook&&a.Workbook.Sheets&&a.Workbook.Sheets[t]){if(a.Workbook.Sheets[t].Hidden)n.push(It("Visible",a.Workbook.Sheets[t].Hidden==1?"SheetHidden":"SheetVeryHidden",{}));else{for(var i=0;i<t;++i)if(a.Workbook.Sheets[i]&&!a.Workbook.Sheets[i].Hidden)break;if(i==t)n.push("<Selected/>")}}if(((((a||{}).Workbook||{}).Views||[])[0]||{}).RTL)n.push("<DisplayRightToLeft/>");if(e["!protect"]){n.push(Rt("ProtectContents","True"));if(e["!protect"].objects)n.push(Rt("ProtectObjects","True"));if(e["!protect"].scenarios)n.push(Rt("ProtectScenarios","True"));if(e["!protect"].selectLockedCells!=null&&!e["!protect"].selectLockedCells)n.push(Rt("EnableSelection","NoSelection"));else if(e["!protect"].selectUnlockedCells!=null&&!e["!protect"].selectUnlockedCells)n.push(Rt("EnableSelection","UnlockedCells"));[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","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 It("WorksheetOptions",n.join(""),{xmlns:Ut.x})}function Lb(e){return e.map(function(r){var t=vt(r.t||"");var a=It("ss:Data",t,{xmlns:"http://www.w3.org/TR/REC-html40"});var n={};if(r.a)n["ss:Author"]=r.a;if(!e.hidden)n["ss:ShowAlways"]="1";return It("Comment",a,n)}).join("")}function Mb(e,r,t,a,n,i,s){if(!e||e.v==undefined&&e.f==undefined)return"";var f={};if(e.f)f["ss:Formula"]="="+lt(nh(e.f,s));if(e.F&&e.F.slice(0,r.length)==r){var l=Wa(e.F.slice(r.length+1));f["ss:ArrayRange"]="RC:R"+(l.r==s.r?"":"["+(l.r-s.r)+"]")+"C"+(l.c==s.c?"":"["+(l.c-s.c)+"]")}if(e.l&&e.l.Target){f["ss:HRef"]=lt(e.l.Target);if(e.l.Tooltip)f["x:HRefScreenTip"]=lt(e.l.Tooltip)}if(t["!merges"]){var o=t["!merges"];for(var c=0;c!=o.length;++c){if(o[c].s.c!=s.c||o[c].s.r!=s.r)continue;if(o[c].e.c>o[c].s.c)f["ss:MergeAcross"]=o[c].e.c-o[c].s.c;if(o[c].e.r>o[c].s.r)f["ss:MergeDown"]=o[c].e.r-o[c].s.r}}var u="",h="";switch(e.t){case"z":if(!a.sheetStubs)return"";break;case"n":u="Number";h=String(e.v);break;case"b":u="Boolean";h=e.v?"1":"0";break;case"e":u="Error";h=ti[e.v];break;case"d":u="DateTime";h=new Date(e.v).toISOString();if(e.z==null)e.z=e.z||q[14];break;case"s":u="String";h=ht(e.v||"");break;}var d=yv(a.cellXfs,e,a);f["ss:StyleID"]="s"+(21+d);f["ss:Index"]=s.c+1;var v=e.v!=null?h:"";var p=e.t=="z"?"":'<Data ss:Type="'+u+'">'+v+"</Data>";if((e.c||[]).length>0)p+=Lb(e.c);return It("Cell",p,f)}function Ub(e,r){var t='<Row ss:Index="'+(e+1)+'"';if(r){if(r.hpt&&!r.hpx)r.hpx=lc(r.hpt);if(r.hpx)t+=' ss:AutoFitHeight="0" ss:Height="'+r.hpx+'"';if(r.hidden)t+=' ss:Hidden="1"'}return t+">"}function Bb(e,r,t,a){if(!e["!ref"])return"";var n=Ga(e["!ref"]);var i=e["!merges"]||[],s=0;var f=[];if(e["!cols"])e["!cols"].forEach(function(e,r){nc(e);var t=!!e.width;var a=kv(r,e);var n={"ss:Index":r+1};if(t)n["ss:Width"]=Qo(a.width);if(e.hidden)n["ss:Hidden"]="1";f.push(It("Column",null,n))});var l=e["!data"]!=null;for(var o=n.s.r;o<=n.e.r;++o){var c=[Ub(o,(e["!rows"]||[])[o])];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>o)continue;if(i[s].e.c<u)continue;if(i[s].e.r<o)continue;if(i[s].s.c!=u||i[s].s.r!=o)h=true;break}if(h)continue;var d={r:o,c:u};var v=La(u)+Na(o),p=l?(e["!data"][o]||[])[u]:e[v];c.push(Mb(p,v,e,r,t,a,d))}c.push("</Row>");if(c.length>2)f.push(c.join(""))}return f.join("")}function Wb(e,r,t){var a=[];var n=t.SheetNames[e];var i=t.Sheets[n];var s=i?Db(i,r,e,t):"";if(s.length>0)a.push("<Names>"+s+"</Names>");s=i?Bb(i,r,e,t):"";if(s.length>0)a.push("<Table>"+s+"</Table>");a.push(Pb(i,r,e,t));if(i["!autofilter"])a.push('<AutoFilter x:Range="'+nh($a(i["!autofilter"].ref),{r:0,c:0})+'" xmlns="urn:schemas-microsoft-com:office:excel"></AutoFilter>');return a.join("")}function zb(e,r){if(!r)r={};if(!e.SSF)e.SSF=Tr(q);if(e.SSF){$e();Ve(e.SSF);r.revssf=lr(e.SSF);r.revssf[e.SSF[65535]]=0;r.ssf=e.SSF;r.cellXfs=[];yv(r.cellXfs,{},{revssf:{General:0}})}var t=[];t.push(Rb(e,r));t.push(Ob(e,r));t.push("");t.push("");for(var a=0;a<e.SheetNames.length;++a)t.push(It("Worksheet",Wb(a,r,e),{"ss:Name":lt(e.SheetNames[a])}));t[2]=Ib(e,r);t[3]=Fb(e,r);return Kr+It("Workbook",t.join(""),{xmlns:Ut.ss,"xmlns:o":Ut.o,"xmlns:x":Ut.x,"xmlns:ss":Ut.ss,"xmlns:dt":Ut.dt,"xmlns:html":Ut.html})}function Hb(e){var r={};var t=e.content;t.l=28;r.AnsiUserType=t._R(0,"lpstr-ansi");r.AnsiClipboardFormat=Dn(t);if(t.length-t.l<=4)return r;var a=t._R(4);if(a==0||a>40)return r;t.l-=4;r.Reserved1=t._R(0,"lpstr-ansi");if(t.length-t.l<=4)return r;a=t._R(4);if(a!==1907505652)return r;r.UnicodeClipboardFormat=Pn(t);a=t._R(4);if(a==0||a>40)return r;t.l-=4;r.Reserved2=t._R(0,"lpwstr")}var Vb=[60,1084,2066,2165,2175];function $b(e,r,t,a,n){var i=a;var s=[];var f=t.slice(t.l,t.l+i);if(n&&n.enc&&n.enc.insitu&&f.length>0)switch(e){case 9:;case 521:;case 1033:;case 2057:;case 47:;case 405:;case 225:;case 406:;case 312:;case 404:;case 10:break;case 133:break;default:n.enc.insitu(f);}s.push(f);t.l+=i;var l=ca(t,t.l),o=eg[l];var c=0;while(o!=null&&Vb.indexOf(l)>-1){i=ca(t,t.l+2);c=t.l+4;if(l==2066)c+=4;else if(l==2165||l==2175){c+=12}f=t.slice(c,t.l+4+i);s.push(f);t.l+=4+i;o=eg[l=ca(t,t.l)]}var u=P(s);Ta(u,0);var h=0;u.lens=[];for(var d=0;d<s.length;++d){u.lens.push(h);h+=s[d].length}if(u.length<a)throw"XLS Record 0x"+e.toString(16)+" Truncated: "+u.length+" < "+a;return r.f(u,u.length,n)}function Xb(e,r,t){if(e.t==="z")return;if(!e.XF)return;var a=0;try{a=e.z||e.XF.numFmtId||0;if(r.cellNF&&e.z==null)e.z=q[a]}catch(n){if(r.WTF)throw n}if(!r||r.cellText!==false)try{if(e.t==="e"){e.w=e.w||ti[e.v]}else if(a===0||a=="General"){if(e.t==="n"){if((e.v|0)===e.v)e.w=e.v.toString(10);else e.w=le(e.v)}else e.w=oe(e.v)}else e.w=ze(a,e.v,{date1904:!!t,dateNF:r&&r.dateNF})}catch(n){if(r.WTF)throw n}if(r.cellDates&&a&&e.t=="n"&&Le(q[a]||String(a))){var i=ae(e.v+(t?1462:0));if(i){e.t="d";e.v=new Date(Date.UTC(i.y,i.m-1,i.d,i.H,i.M,i.S,i.u))}}}function Gb(e,r,t){return{v:e,ixfe:r,t:t}}function jb(e,r){var t={opts:{}};var a={};if(g!=null&&r.dense==null)r.dense=g;var n={};if(r.dense)n["!data"]=[];var i={};var s={};var f=null;var o=[];var c="";var u={};var h,d="",v,p,m,b;var w={};var k=[];var T;var y;var E=[];var _=[];var S={Sheets:[],WBProps:{date1904:false},Views:[{}]},x={};var A=false;var C=function pe(e){if(e<8)return ri[e];if(e<64)return _[e-8]||ri[e];return ri[e]};var R=function me(e,r,t){var a=r.XF.data;if(!a||!a.patternType||!t||!t.cellStyles)return;r.s={};r.s.patternType=a.patternType;var n;if(n=Xo(C(a.icvFore))){r.s.fgColor={rgb:n}}if(n=Xo(C(a.icvBack))){r.s.bgColor={rgb:n}}};var O=function be(e,r,t){if(!A&&W>1)return;if(t.sheetRows&&e.r>=t.sheetRows)return;if(t.cellStyles&&r.XF&&r.XF.data)R(e,r,t);delete r.ixfe;delete r.XF;h=e;d=za(e);if(!s||!s.s||!s.e)s={s:{r:0,c:0},e:{r:0,c:0}};if(e.r<s.s.r)s.s.r=e.r;if(e.c<s.s.c)s.s.c=e.c;if(e.r+1>s.e.r)s.e.r=e.r+1;if(e.c+1>s.e.c)s.e.c=e.c+1;if(t.cellFormula&&r.f){for(var a=0;a<k.length;++a){if(k[a][0].s.c>e.c||k[a][0].s.r>e.r)continue;if(k[a][0].e.c<e.c||k[a][0].e.r<e.r)continue;r.F=Va(k[a][0]);if(k[a][0].s.c!=e.c||k[a][0].s.r!=e.r)delete r.f;if(r.f)r.f=""+Md(k[a][1],s,e,U,I);break}}{if(t.dense){if(!n["!data"][e.r])n["!data"][e.r]=[];n["!data"][e.r][e.c]=r}else n[d]=r}};var I={enc:false,sbcch:0,snames:[],sharedf:w,arrayf:k,rrtabid:[],lastuser:"",biff:8,codepage:0,winlocked:0,cellStyles:!!r&&!!r.cellStyles,WTF:!!r&&!!r.wtf};if(r.password)I.password=r.password;var N;var F=[];var D=[];var P=[],L=[];var M=false;var U=[];U.SheetNames=I.snames;U.sharedf=I.sharedf;U.arrayf=I.arrayf;U.names=[];U.XTI=[];var B=0;var W=0;var z=0,H=[];var V=[];var $;I.codepage=1200;l(1200);var X=false;while(e.l<e.length-1){var G=e.l;var j=e._R(2);if(j===0&&B===10)break;var K=e.l===e.length?0:e._R(2);var Y=eg[j];if(W==0&&[9,521,1033,2057].indexOf(j)==-1)break;if(Y&&Y.f){if(r.bookSheets){if(B===133&&j!==133)break}B=j;if(Y.r===2||Y.r==12){var Z=e._R(2);K-=2;if(!I.enc&&Z!==j&&((Z&255)<<8|Z>>8)!==j)throw new Error("rt mismatch: "+Z+"!="+j);if(Y.r==12){e.l+=10;K-=10}}var J={};if(j===10)J=Y.f(e,K,I);else J=$b(j,Y,e,K,I);if(W==0&&[9,521,1033,2057].indexOf(B)===-1)continue;switch(j){case 34:t.opts.Date1904=S.WBProps.date1904=J;break;case 134:t.opts.WriteProtect=true;break;case 47:if(!I.enc)e.l=0;I.enc=J;if(!r.password)throw new Error("File is password-protected");if(J.valid==null)throw new Error("Encryption scheme unsupported");if(!J.valid)throw new Error("Password is incorrect");break;case 92:I.lastuser=J;break;case 66:var Q=Number(J);switch(Q){case 21010:Q=1200;break;case 32768:Q=1e4;break;case 32769:Q=1252;break;}l(I.codepage=Q);X=true;break;case 317:I.rrtabid=J;break;case 25:I.winlocked=J;break;case 439:t.opts["RefreshAll"]=J;break;case 12:t.opts["CalcCount"]=J;break;case 16:t.opts["CalcDelta"]=J;break;case 17:t.opts["CalcIter"]=J;break;case 13:t.opts["CalcMode"]=J;break;case 14:t.opts["CalcPrecision"]=J;break;case 95:t.opts["CalcSaveRecalc"]=J;break;case 15:I.CalcRefMode=J;break;case 2211:t.opts.FullCalc=J;break;case 129:if(J.fDialog)n["!type"]="dialog";if(!J.fBelow)(n["!outline"]||(n["!outline"]={})).above=true;if(!J.fRight)(n["!outline"]||(n["!outline"]={})).left=true;break;case 67:;case 579:;case 1091:;case 224:E.push(J);break;case 430:U.push([J]);U[U.length-1].XTI=[];break;case 35:;case 547:U[U.length-1].push(J);break;case 24:;case 536:$={Name:J.Name,Ref:Md(J.rgce,s,null,U,I)};if(J.itab>0)$.Sheet=J.itab-1;U.names.push($);if(!U[0]){U[0]=[];U[0].XTI=[]}U[U.length-1].push(J);if(J.Name=="_xlnm._FilterDatabase"&&J.itab>0)if(J.rgce&&J.rgce[0]&&J.rgce[0][0]&&J.rgce[0][0][0]=="PtgArea3d")V[J.itab-1]={ref:Va(J.rgce[0][0][1][2])};break;case 22:I.ExternCount=J;break;case 23:if(U.length==0){U[0]=[];U[0].XTI=[]}U[U.length-1].XTI=U[U.length-1].XTI.concat(J);U.XTI=U.XTI.concat(J);break;case 2196:if(I.biff<8)break;if($!=null)$.Comment=J[1];break;case 18:n["!protect"]=J;break;case 19:if(J!==0&&I.WTF)console.error("Password verifier: "+J);break;case 133:{i[I.biff==4?I.snames.length:J.pos]=J;I.snames.push(J.name)}break;case 10:{if(--W?!A:A)break;if(s.e){if(s.e.r>0&&s.e.c>0){s.e.r--;s.e.c--;n["!ref"]=Va(s);if(r.sheetRows&&r.sheetRows<=s.e.r){var ee=s.e.r;s.e.r=r.sheetRows-1;n["!fullref"]=n["!ref"];n["!ref"]=Va(s);s.e.r=ee}s.e.r++;s.e.c++}if(F.length>0)n["!merges"]=F;if(D.length>0)n["!objects"]=D;if(P.length>0)n["!cols"]=P;if(L.length>0)n["!rows"]=L;S.Sheets.push(x)}if(c==="")u=n;else a[c]=n;n={};if(r.dense)n["!data"]=[]}break;case 9:;case 521:;case 1033:;case 2057:{if(I.biff===8)I.biff={9:2,521:3,1033:4}[j]||{512:2,768:3,1024:4,1280:5,1536:8,2:2,7:2}[J.BIFFVer]||8;I.biffguess=J.BIFFVer==0;if(J.BIFFVer==0&&J.dt==4096){I.biff=5;X=true;l(I.codepage=28591)}if(I.biff==4&&J.dt&256)A=true;if(I.biff==8&&J.BIFFVer==0&&J.dt==16)I.biff=2;if(W++&&!A)break;n={};if(r.dense)n["!data"]=[];if(I.biff<8&&!X){X=true;l(I.codepage=r.codepage||1252)}if(I.biff==4&&A){c=(i[I.snames.indexOf(c)+1]||{name:""}).name}else if(I.biff<5||J.BIFFVer==0&&J.dt==4096){if(c==="")c="Sheet1";s={s:{r:0,c:0},e:{r:0,c:0}};var re={pos:e.l-K,name:c};i[re.pos]=re;I.snames.push(c)}else c=(i[G]||{name:""}).name;if(J.dt==32)n["!type"]="chart";if(J.dt==64)n["!type"]="macro";F=[];D=[];I.arrayf=k=[];P=[];L=[];M=false;x={Hidden:(i[G]||{hs:0}).hs,name:c}}break;case 515:;case 3:;case 2:{if(n["!type"]=="chart")if(r.dense?(n["!data"][J.r]||[])[J.c]:n[La(J.c)+Na(J.r)])++J.c;T={ixfe:J.ixfe,XF:E[J.ixfe]||{},v:J.val,t:"n"};if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63];Xb(T,r,t.opts.Date1904);O({c:J.c,r:J.r},T,r)}break;case 5:;case 517:{T={ixfe:J.ixfe,XF:E[J.ixfe],v:J.val,t:J.t};if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63];Xb(T,r,t.opts.Date1904);O({c:J.c,r:J.r},T,r)}break;case 638:{T={ixfe:J.ixfe,XF:E[J.ixfe],v:J.rknum,t:"n"};if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63];Xb(T,r,t.opts.Date1904);O({c:J.c,r:J.r},T,r)}break;case 189:{for(var te=J.c;te<=J.C;++te){var ae=J.rkrec[te-J.c][0];T={ixfe:ae,XF:E[ae],v:J.rkrec[te-J.c][1],t:"n"};if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63];Xb(T,r,t.opts.Date1904);O({c:te,r:J.r},T,r)}}break;case 6:;case 518:;case 1030:{if(J.val=="String"){f=J;break}T=Gb(J.val,J.cell.ixfe,J.tt);T.XF=E[T.ixfe];if(r.cellFormula){var ne=J.formula;if(ne&&ne[0]&&ne[0][0]&&ne[0][0][0]=="PtgExp"){var ie=ne[0][0][1][0],se=ne[0][0][1][1];var fe=za({r:ie,c:se});if(w[fe])T.f=""+Md(J.formula,s,J.cell,U,I);else T.F=((r.dense?(n["!data"][ie]||[])[se]:n[fe])||{}).F}else T.f=""+Md(J.formula,s,J.cell,U,I)}if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63];Xb(T,r,t.opts.Date1904);O(J.cell,T,r);f=J}break;case 7:;case 519:{if(f){f.val=J;T=Gb(J,f.cell.ixfe,"s");T.XF=E[T.ixfe];if(r.cellFormula){T.f=""+Md(f.formula,s,f.cell,U,I)}if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63];Xb(T,r,t.opts.Date1904);O(f.cell,T,r);f=null}else throw new Error("String record expects Formula")}break;case 33:;case 545:{k.push(J);var le=za(J[0].s);v=r.dense?(n["!data"][J[0].s.r]||[])[J[0].s.c]:n[le];if(r.cellFormula&&v){if(!f)break;if(!le||!v)break;v.f=""+Md(J[1],s,J[0],U,I);v.F=Va(J[0])}}break;case 1212:{if(!r.cellFormula)break;if(d){if(!f)break;w[za(f.cell)]=J[0];v=r.dense?(n["!data"][f.cell.r]||[])[f.cell.c]:n[za(f.cell)];(v||{}).f=""+Md(J[0],s,h,U,I)}}break;case 253:T=Gb(o[J.isst].t,J.ixfe,"s");if(o[J.isst].h)T.h=o[J.isst].h;T.XF=E[T.ixfe];if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63];Xb(T,r,t.opts.Date1904);O({c:J.c,r:J.r},T,r);break;case 513:if(r.sheetStubs){T={ixfe:J.ixfe,XF:E[J.ixfe],t:"z"};if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63];Xb(T,r,t.opts.Date1904);O({c:J.c,r:J.r},T,r)}break;case 190:if(r.sheetStubs){for(var oe=J.c;oe<=J.C;++oe){var ce=J.ixfe[oe-J.c];T={ixfe:ce,XF:E[ce],t:"z"};if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63];Xb(T,r,t.opts.Date1904);O({c:oe,r:J.r},T,r)}}break;case 214:;case 516:;case 4:T=Gb(J.val,J.ixfe,"s");T.XF=E[T.ixfe];if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63];Xb(T,r,t.opts.Date1904);O({c:J.c,r:J.r},T,r);break;case 0:;case 512:{if(W===1)s=J}break;case 252:{o=J}break;case 1054:{if(I.biff>=3&&I.biff<=4){H[z++]=J[1];for(var ue=0;ue<z+163;++ue)if(q[ue]==J[1])break;if(ue>=163)Je(J[1],z+163)}else Je(J[1],J[0])}break;case 30:{H[z++]=J;for(var he=0;he<z+163;++he)if(q[he]==J)break;if(he>=163)Je(J,z+163)}break;case 229:F=F.concat(J);break;case 93:D[J.cmo[0]]=I.lastobj=J;break;case 438:I.lastobj.TxO=J;break;case 127:I.lastobj.ImData=J;break;case 440:{for(b=J[0].s.r;b<=J[0].e.r;++b)for(m=J[0].s.c;m<=J[0].e.c;++m){v=r.dense?(n["!data"][b]||[])[m]:n[za({c:m,r:b})];if(v)v.l=J[1]}}break;case 2048:{for(b=J[0].s.r;b<=J[0].e.r;++b)for(m=J[0].s.c;m<=J[0].e.c;++m){v=r.dense?(n["!data"][b]||[])[m]:n[za({c:m,r:b})];if(v&&v.l)v.l.Tooltip=J[1]}}break;case 28:{v=r.dense?(n["!data"][J[0].r]||[])[J[0].c]:n[za(J[0])];if(!v){if(r.dense){if(!n["!data"][J[0].r])n["!data"][J[0].r]=[];v=n["!data"][J[0].r][J[0].c]={t:"z"}}else{v=n[za(J[0])]={t:"z"}}s.e.r=Math.max(s.e.r,J[0].r);s.s.r=Math.min(s.s.r,J[0].r);s.e.c=Math.max(s.e.c,J[0].c);s.s.c=Math.min(s.s.c,J[0].c)}if(!v.c)v.c=[];if(I.biff<=5&&I.biff>=2)p={a:"SheetJ5",t:J[1]};else{var de=D[J[2]];p={a:J[1],t:de.TxO.t};if(J[3]!=null&&!(J[3]&2))v.c.hidden=true}v.c.push(p)}break;case 2173:hu(E[J.ixfe],J.ext);break;case 125:{if(!I.cellStyles)break;while(J.e>=J.s){P[J.e--]={width:J.w/256,level:J.level||0,hidden:!!(J.flags&1)};if(!M){M=true;ac(J.w/256)}nc(P[J.e+1])}}break;case 520:{var ve={};if(J.level!=null){L[J.r]=ve;ve.level=J.level}if(J.hidden){L[J.r]=ve;ve.hidden=true}if(J.hpt){L[J.r]=ve;ve.hpt=J.hpt;ve.hpx=lc(J.hpt)}}break;case 38:;case 39:;case 40:;case 41:if(!n["!margins"])Tv(n["!margins"]={});n["!margins"][{38:"left",39:"right",40:"top",41:"bottom"}[j]]=J;break;case 161:if(!n["!margins"])Tv(n["!margins"]={});n["!margins"].header=J.header;n["!margins"].footer=J.footer;break;case 574:if(J.RTL)S.Views[0].RTL=true;break;case 146:_=J;break;case 2198:N=J;break;case 140:y=J;break;case 442:{if(!c)S.WBProps.CodeName=J||"ThisWorkbook";else x.CodeName=J||x.name}break;}}else{if(!Y)console.error("Missing Info for XLS Record 0x"+j.toString(16));e.l+=K}}t.SheetNames=ir(i).sort(function(e,r){return Number(e)-Number(r)}).map(function(e){return i[e].name});if(!r.bookSheets)t.Sheets=a;if(!t.SheetNames.length&&u["!ref"]){t.SheetNames.push("Sheet1");if(t.Sheets)t.Sheets["Sheet1"]=u}else t.Preamble=u;if(t.Sheets)V.forEach(function(e,r){t.Sheets[t.SheetNames[r]]["!autofilter"]=e});t.Strings=o;t.SSF=Tr(q);if(I.enc)t.Encryption=I.enc;if(N)t.Themes=N;t.Metadata={};if(y!==undefined)t.Metadata.Country=y;if(U.names.length>0)S.Names=U.names;t.Workbook=S;return t}var Kb={SI:"e0859ff2f94f6810ab9108002b27b3d9",DSI:"02d5cdd59c2e1b10939708002b2cf9ae",UDI:"05d5cdd59c2e1b10939708002b2cf9ae"};function Yb(e,r,t){var a=Qe.find(e,"/!DocumentSummaryInformation");if(a&&a.size>0)try{var n=ss(a,Yn,Kb.DSI);for(var i in n)r[i]=n[i]}catch(s){if(t.WTF)throw s}var f=Qe.find(e,"/!SummaryInformation");if(f&&f.size>0)try{var l=ss(f,Zn,Kb.SI);for(var o in l)if(r[o]==null)r[o]=l[o]}catch(s){if(t.WTF)throw s}if(r.HeadingPairs&&r.TitlesOfParts){Ri(r.HeadingPairs,r.TitlesOfParts,r,t);delete r.HeadingPairs;delete r.TitlesOfParts}}function Zb(e,r){var t=[],a=[],n=[];var i=0,s;var f=sr(Yn,"n");var l=sr(Zn,"n");if(e.Props){s=ir(e.Props);for(i=0;i<s.length;++i)(Object.prototype.hasOwnProperty.call(f,s[i])?t:Object.prototype.hasOwnProperty.call(l,s[i])?a:n).push([s[i],e.Props[s[i]]])}if(e.Custprops){s=ir(e.Custprops);for(i=0;i<s.length;++i)if(!Object.prototype.hasOwnProperty.call(e.Props||{},s[i]))(Object.prototype.hasOwnProperty.call(f,s[i])?t:Object.prototype.hasOwnProperty.call(l,s[i])?a:n).push([s[i],e.Custprops[s[i]]])}var o=[];for(i=0;i<n.length;++i){if(as.indexOf(n[i][0])>-1||Ci.indexOf(n[i][0])>-1)continue;if(n[i][1]==null)continue;o.push(n[i])}if(a.length)Qe.utils.cfb_add(r,"/SummaryInformation",fs(a,Kb.SI,l,Zn));if(t.length||o.length)Qe.utils.cfb_add(r,"/DocumentSummaryInformation",fs(t,Kb.DSI,f,Yn,o.length?o:null,Kb.UDI))}function Jb(e,r){if(!r)r={};ek(r);o();if(r.codepage)s(r.codepage);var t,a;if(e.FullPaths){if(Qe.find(e,"/encryption"))throw new Error("File is password-protected");t=Qe.find(e,"!CompObj");a=Qe.find(e,"/Workbook")||Qe.find(e,"/Book")}else{switch(r.type){case"base64":e=O(_(e));break;case"binary":e=O(e);break;case"buffer":break;case"array":if(!Array.isArray(e))e=Array.prototype.slice.call(e);break;}Ta(e,0);a={content:e}}var n;var i;if(t)Hb(t);if(r.bookProps&&!r.bookSheets)n={};else{var f=S?"buffer":"array";if(a&&a.content)n=jb(a.content,r);else if((i=Qe.find(e,"PerfectOffice_MAIN"))&&i.content)n=Jl.to_workbook(i.content,(r.type=f,r));else if((i=Qe.find(e,"NativeContent_MAIN"))&&i.content)n=Jl.to_workbook(i.content,(r.type=f,r));else if((i=Qe.find(e,"MN0"))&&i.content)throw new Error("Unsupported Works 4 for Mac file");else throw new Error("Cannot find Workbook stream");if(r.bookVBA&&e.FullPaths&&Qe.find(e,"/_VBA_PROJECT_CUR/VBA/dir"))n.vbaraw=Ku(e)}var l={};if(e.FullPaths)Yb(e,l,r);n.Props=n.Custprops=l;if(r.bookFiles)n.cfb=e;return n}function qb(e,r){var t=r||{};var a=Qe.utils.cfb_new({root:"R"});var n="/Workbook";switch(t.bookType||"xls"){case"xls":t.bookType="biff8";case"xla":if(!t.bookType)t.bookType="xla";case"biff8":n="/Workbook";t.biff=8;break;case"biff5":n="/Book";t.biff=5;break;default:throw new Error("invalid type "+t.bookType+" for XLS CFB");}Qe.utils.cfb_add(a,n,Eg(e,t));if(t.biff==8&&(e.Props||e.Custprops))Zb(e,a);if(t.biff==8&&e.vbaraw)Yu(a,Qe.read(e.vbaraw,{type:typeof e.vbaraw=="string"?"binary":"buffer"}));return a}var Qb={0:{f:np},1:{f:hp},2:{f:Np},3:{f:kp},4:{f:mp},5:{f:Cp},6:{f:Mp},7:{f:_p},8:{f:$p},9:{f:Vp},10:{f:zp},11:{f:Hp},12:{f:vp},13:{f:Dp},14:{f:yp},15:{f:gp},16:{f:Op},17:{f:Bp},18:{f:xp},19:{f:sn},20:{},21:{},22:{},23:{},24:{},25:{},26:{},27:{},28:{},29:{},30:{},31:{},32:{},33:{},34:{},35:{T:1},36:{T:-1},37:{T:1},38:{T:-1},39:{f:jm},40:{},42:{},43:{f:Ec},44:{f:Tc},45:{f:Ac},46:{f:Nc},47:{f:Rc},48:{},49:{f:Qa},50:{},51:{f:pu},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:_l},62:{f:Lp},63:{f:Su},64:{f:fm},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:ya,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:am},138:{T:-1},139:{T:1},140:{T:-1},141:{T:1},142:{T:-1},143:{T:1},144:{T:-1},145:{T:1},146:{T:-1},147:{f:cp},148:{f:fp,p:16},151:{f:Zp},152:{},153:{f:$m},154:{},155:{},156:{f:Hm},157:{},158:{},159:{T:1,f:uo},160:{T:-1},161:{T:1,f:Sn},162:{T:-1},163:{T:1},164:{T:-1},165:{T:1},166:{T:-1},167:{},168:{},169:{},170:{},171:{},172:{T:1},173:{T:-1},174:{},175:{},176:{f:Xp},177:{T:1},178:{T:-1},179:{T:1},180:{T:-1},181:{T:1},182:{T:-1},183:{T:1},184:{T:-1},185:{T:1},186:{T:-1},187:{T:1},188:{T:-1},189:{T:1},190:{T:-1},191:{T:1},192:{T:-1},193:{T:1},194:{T:-1},195:{T:1},196:{T:-1},197:{T:1},198:{T:-1},199:{T:1},200:{T:-1},201:{T:1},202:{T:-1},203:{T:1},204:{T:-1},205:{T:1},206:{T:-1},207:{T:1},208:{T:-1},209:{T:1},210:{T:-1},211:{T:1},212:{T:-1},213:{T:1},214:{T:-1},215:{T:1},216:{T:-1},217:{T:1},218:{T:-1},219:{T:1},220:{T:-1},221:{T:1},222:{T:-1},223:{T:1},224:{T:-1},225:{T:1},226:{T:-1},227:{T:1},228:{T:-1},229:{T:1},230:{T:-1},231:{T:1},232:{T:-1},233:{T:1},234:{T:-1},235:{T:1},236:{T:-1},237:{T:1},238:{T:-1},239:{T:1},240:{T:-1},241:{T:1},242:{T:-1},243:{T:1},244:{T:-1},245:{T:1},246:{T:-1},247:{T:1},248:{T:-1},249:{T:1},250:{T:-1},251:{T:1},252:{T:-1},253:{T:1},254:{T:-1},255:{T:1},256:{T:-1},257:{T:1},258:{T:-1},259:{T:1},260:{T:-1},261:{T:1},262:{T:-1},263:{T:1},264:{T:-1},265:{T:1},266:{T:-1},267:{T:1},268:{T:-1},269:{T:1},270:{T:-1},271:{T:1},272:{T:-1},273:{T:1},274:{T:-1},275:{T:1},276:{T:-1},277:{},278:{T:1},279:{T:-1},280:{T:1},281:{T:-1},282:{T:1},283:{T:1},284:{T:-1},285:{T:1},286:{T:-1},287:{T:1},288:{T:-1},289:{T:1},290:{T:-1},291:{T:1},292:{T:-1},293:{T:1},294:{T:-1},295:{T:1},296:{T:-1},297:{T:1},298:{T:-1},299:{T:1},300:{T:-1},301:{T:1},302:{T:-1},303:{T:1},304:{T:-1},305:{T:1},306:{T:-1},307:{T:1},308:{T:-1},309:{T:1},310:{T:-1},311:{T:1},312:{T:-1},313:{T:-1},314:{T:1},315:{T:-1},316:{T:1},317:{T:-1},318:{T:1},319:{T:-1},320:{T:1},321:{T:-1},322:{T:1},323:{T:-1},324:{T:1},325:{T:-1},326:{T:1},327:{T:-1},328:{T:1},329:{T:-1},330:{T:1},331:{T:-1},332:{T:1},333:{T:-1},334:{T:1},335:{f:du},336:{T:-1},337:{f:gu,T:1},338:{T:-1},339:{T:1},340:{T:-1},341:{T:1},342:{T:-1},343:{T:1},344:{T:-1},345:{T:1},346:{T:-1},347:{T:1},348:{T:-1},349:{T:1},350:{T:-1},351:{},352:{},353:{T:1},354:{T:-1},355:{f:wn},357:{},358:{},359:{},360:{T:1},361:{},362:{f:el},363:{},364:{},366:{},367:{},368:{},369:{},370:{},371:{},372:{T:1},373:{T:-1},374:{T:1},375:{T:-1},376:{T:1},377:{T:-1},378:{T:1},379:{T:-1},380:{T:1},381:{T:-1},382:{T:1},383:{T:-1},384:{T:1},385:{T:-1},386:{T:1},387:{T:-1},388:{T:1},389:{T:-1},390:{T:1},391:{T:-1},392:{T:1},393:{T:-1},394:{T:1},395:{T:-1},396:{},397:{},398:{},399:{},400:{},401:{T:1},403:{},404:{},405:{},406:{},407:{},408:{},409:{},410:{},411:{},412:{},413:{},414:{},415:{},416:{},417:{},418:{},419:{},420:{},421:{},422:{T:1},423:{T:1},424:{T:-1},425:{T:-1},426:{f:Jp},427:{f:qp},428:{},429:{T:1},430:{T:-1},431:{T:1},432:{T:-1},433:{T:1},434:{T:-1},435:{T:1},436:{T:-1},437:{T:1},438:{T:-1},439:{T:1},440:{T:-1},441:{T:1},442:{T:-1},443:{T:1},444:{T:-1},445:{T:1},446:{T:-1},447:{T:1},448:{T:-1},449:{T:1},450:{T:-1},451:{T:1},452:{T:-1},453:{T:1},454:{T:-1},455:{T:1},456:{T:-1},457:{T:1},458:{T:-1},459:{T:1},460:{T:-1},461:{T:1},462:{T:-1},463:{T:1},464:{T:-1},465:{T:1},466:{T:-1},467:{T:1},468:{T:-1},469:{T:1},470:{T:-1},471:{},472:{},473:{T:1},474:{T:-1},475:{},476:{f:rm},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:op},486:{T:1},487:{T:-1},488:{T:1},489:{T:-1},490:{T:1},491:{T:-1},492:{T:1},493:{T:-1},494:{f:Kp},495:{T:1},496:{T:-1},497:{T:1},498:{T:-1},499:{},500:{T:1},501:{T:-1},502:{T:1},503:{T:-1},504:{},505:{T:1},506:{T:-1},507:{},508:{T:1},509:{T:-1},510:{T:1},511:{T:-1},512:{},513:{},514:{T:1},515:{T:-1},516:{T:1},517:{T:-1},518:{T:1},519:{T:-1},520:{T:1},521:{T:-1},522:{},523:{},524:{},525:{},526:{},527:{},528:{T:1},529:{T:-1},530:{T:1},531:{T:-1},532:{T:1},533:{T:-1},534:{},535:{},536:{},537:{},538:{T:1},539:{T:-1},540:{T:1},541:{T:-1},542:{T:1},548:{},549:{},550:{f:wn},551:{f:mn},552:{},553:{},554:{T:1},555:{T:-1},556:{T:1},557:{T:-1},558:{T:1},559:{T:-1},560:{T:1},561:{T:-1},562:{},564:{},565:{T:1},566:{T:-1},569:{T:1},570:{T:-1},572:{},573:{T:1},574:{T:-1},577:{},578:{},579:{},580:{},581:{},582:{},583:{},584:{},585:{},586:{},587:{},588:{T:-1},589:{},590:{T:1},591:{T:-1},592:{T:1},593:{T:-1},594:{T:1},595:{T:-1},596:{},597:{T:1},598:{T:-1},599:{T:1},600:{T:-1},601:{T:1},602:{T:-1},603:{T:1},604:{T:-1},605:{T:1},606:{T:-1},607:{},608:{T:1},609:{T:-1},610:{},611:{T:1},612:{T:-1},613:{T:1},614:{T:-1},615:{T:1},616:{T:-1},617:{T:1},618:{T:-1},619:{T:1},620:{T:-1},625:{},626:{T:1},627:{T:-1},628:{T:1},629:{T:-1},630:{T:1},631:{T:-1},632:{f:Vu},633:{T:1 -},634:{T:-1},635:{T:1,f:zu},636:{T:-1},637:{f:ln},638:{T:1},639:{},640:{T:-1},641:{T:1},642:{T:-1},643:{T:1},644:{},645:{T:-1},646:{T:1},648:{T:1},649:{},650:{T:-1},651:{f:Sm},652:{},653:{T:1},654:{T:-1},655:{T:1},656:{T:-1},657:{T:1},658:{T:-1},659:{},660:{T:1},661:{},662:{T:-1},663:{},664:{T:1},665:{},666:{T:-1},667:{},668:{},669:{},671:{T:1},672:{T:-1},673:{T:1},674:{T:-1},675:{},676:{},677:{},678:{},679:{},680:{},681:{},1024:{},1025:{},1026:{T:1},1027:{T:-1},1028:{T:1},1029:{T:-1},1030:{},1031:{T:1},1032:{T:-1},1033:{T:1},1034:{T:-1},1035:{},1036:{},1037:{},1038:{T:1},1039:{T:-1},1040:{},1041:{T:1},1042:{T:-1},1043:{},1044:{},1045:{},1046:{T:1},1047:{T:-1},1048:{T:1},1049:{T:-1},1050:{},1051:{T:1},1052:{T:1},1053:{f:lm},1054:{T:1},1055:{},1056:{T:1},1057:{T:-1},1058:{T:1},1059:{T:-1},1061:{},1062:{T:1},1063:{T:-1},1064:{T:1},1065:{T:-1},1066:{T:1},1067:{T:-1},1068:{T:1},1069:{T:-1},1070:{T:1},1071:{T:-1},1072:{T:1},1073:{T:-1},1075:{T:1},1076:{T:-1},1077:{T:1},1078:{T:-1},1079:{T:1},1080:{T:-1},1081:{T:1},1082:{T:-1},1083:{T:1},1084:{T:-1},1085:{},1086:{T:1},1087:{T:-1},1088:{T:1},1089:{T:-1},1090:{T:1},1091:{T:-1},1092:{T:1},1093:{T:-1},1094:{T:1},1095:{T:-1},1096:{},1097:{T:1},1098:{},1099:{T:-1},1100:{T:1},1101:{T:-1},1102:{},1103:{},1104:{},1105:{},1111:{},1112:{},1113:{T:1},1114:{T:-1},1115:{T:1},1116:{T:-1},1117:{},1118:{T:1},1119:{T:-1},1120:{T:1},1121:{T:-1},1122:{T:1},1123:{T:-1},1124:{T:1},1125:{T:-1},1126:{},1128:{T:1},1129:{T:-1},1130:{},1131:{T:1},1132:{T:-1},1133:{T:1},1134:{T:-1},1135:{T:1},1136:{T:-1},1137:{T:1},1138:{T:-1},1139:{T:1},1140:{T:-1},1141:{},1142:{T:1},1143:{T:-1},1144:{T:1},1145:{T:-1},1146:{},1147:{T:1},1148:{T:-1},1149:{T:1},1150:{T:-1},1152:{T:1},1153:{T:-1},1154:{T:-1},1155:{T:-1},1156:{T:-1},1157:{T:1},1158:{T:-1},1159:{T:1},1160:{T:-1},1161:{T:1},1162:{T:-1},1163:{T:1},1164:{T:-1},1165:{T:1},1166:{T:-1},1167:{T:1},1168:{T:-1},1169:{T:1},1170:{T:-1},1171:{},1172:{T:1},1173:{T:-1},1177:{},1178:{T:1},1180:{},1181:{},1182:{},2048:{T:1},2049:{T:-1},2050:{},2051:{T:1},2052:{T:-1},2053:{},2054:{},2055:{T:1},2056:{T:-1},2057:{T:1},2058:{T:-1},2060:{},2067:{},2068:{T:1},2069:{T:-1},2070:{},2071:{},2072:{T:1},2073:{T:-1},2075:{},2076:{},2077:{T:1},2078:{T:-1},2079:{},2080:{T:1},2081:{T:-1},2082:{},2083:{T:1},2084:{T:-1},2085:{T:1},2086:{T:-1},2087:{T:1},2088:{T:-1},2089:{T:1},2090:{T:-1},2091:{},2092:{},2093:{T:1},2094:{T:-1},2095:{},2096:{T:1},2097:{T:-1},2098:{T:1},2099:{T:-1},2100:{T:1},2101:{T:-1},2102:{},2103:{T:1},2104:{T:-1},2105:{},2106:{T:1},2107:{T:-1},2108:{},2109:{T:1},2110:{T:-1},2111:{T:1},2112:{T:-1},2113:{T:1},2114:{T:-1},2115:{},2116:{},2117:{},2118:{T:1},2119:{T:-1},2120:{},2121:{T:1},2122:{T:-1},2123:{T:1},2124:{T:-1},2125:{},2126:{T:1},2127:{T:-1},2128:{},2129:{T:1},2130:{T:-1},2131:{T:1},2132:{T:-1},2133:{T:1},2134:{},2135:{},2136:{},2137:{T:1},2138:{T:-1},2139:{T:1},2140:{T:-1},2141:{},3072:{},3073:{},4096:{T:1},4097:{T:-1},5002:{T:1},5003:{T:-1},5081:{T:1},5082:{T:-1},5083:{},5084:{T:1},5085:{T:-1},5086:{T:1},5087:{T:-1},5088:{},5089:{},5090:{},5092:{T:1},5093:{T:-1},5094:{},5095:{T:1},5096:{T:-1},5097:{},5099:{},65535:{n:""}};var eg={6:{f:$d},10:{f:ls},12:{f:ds},13:{f:ds},14:{f:us},15:{f:us},16:{f:An},17:{f:us},18:{f:us},19:{f:ds},20:{f:Zf},21:{f:Zf},23:{f:el},24:{f:Qf},25:{f:us},26:{},27:{},28:{f:fl},29:{},34:{f:us},35:{f:qf},38:{f:An},39:{f:An},40:{f:An},41:{f:An},42:{f:us},43:{f:us},47:{f:Bo},49:{f:wf},51:{f:ds},60:{},61:{f:vf},64:{f:us},65:{f:gf},66:{f:ds},77:{},80:{},81:{},82:{},85:{f:ds},89:{},90:{},91:{},92:{f:rf},93:{f:ul},94:{},95:{f:us},96:{},97:{},99:{f:us},125:{f:_l},128:{f:$f},129:{f:af},130:{f:ds},131:{f:us},132:{f:us},133:{f:nf},134:{},140:{f:wl},141:{f:ds},144:{},146:{f:yl},151:{},152:{},153:{},154:{},155:{},156:{f:ds},157:{},158:{},160:{f:Ol},161:{f:xl},174:{},175:{},176:{},177:{},178:{},180:{},181:{},182:{},184:{},185:{},189:{f:Ff},190:{f:Df},193:{f:ls},197:{},198:{},199:{},200:{},201:{},202:{f:us},203:{},204:{},205:{},206:{},207:{},208:{},209:{},210:{},211:{},213:{},215:{},216:{},217:{},218:{f:ds},220:{},221:{f:us},222:{},224:{f:Lf},225:{f:ef},226:{f:ls},227:{},229:{f:ol},233:{},235:{},236:{},237:{},239:{},240:{},241:{},242:{},244:{},245:{},246:{},247:{},248:{},249:{},251:{},252:{f:ff},253:{f:Tf},255:{f:of},256:{},259:{},290:{},311:{},312:{},315:{},317:{f:ps},318:{},319:{},320:{},330:{},331:{},333:{},334:{},335:{},336:{},337:{},338:{},339:{},340:{},351:{},352:{f:us},353:{f:ls},401:{},402:{},403:{},404:{},405:{},406:{},407:{},408:{},425:{},426:{},427:{},428:{},429:{},430:{f:Jf},431:{f:us},432:{},433:{},434:{},437:{},438:{f:vl},439:{f:us},440:{f:pl},441:{},442:{f:ys},443:{},444:{f:ds},445:{},446:{},448:{f:ls},449:{f:hf,r:2},450:{f:ls},512:{f:Of},513:{f:Rl},515:{f:Kf},516:{f:Ef},517:{f:Gf},519:{f:Il},520:{f:cf},523:{},545:{f:nl},549:{f:df},566:{},574:{f:mf},638:{f:Nf},659:{},1048:{},1054:{f:Sf},1084:{},1212:{f:al},2048:{f:bl},2049:{},2050:{},2051:{},2052:{},2053:{},2054:{},2055:{},2056:{},2057:{f:qs},2058:{},2059:{},2060:{},2061:{},2062:{},2063:{},2064:{},2066:{},2067:{},2128:{},2129:{},2130:{},2131:{},2132:{},2133:{},2134:{},2135:{},2136:{},2137:{},2138:{},2146:{},2147:{r:12},2148:{},2149:{},2150:{},2151:{f:ls},2152:{},2154:{},2155:{},2156:{},2161:{},2162:{},2164:{},2165:{},2166:{},2167:{},2168:{},2169:{},2170:{},2171:{},2172:{f:El,r:12},2173:{f:uu,r:12},2174:{},2175:{},2180:{},2181:{},2182:{},2183:{},2184:{},2185:{},2186:{},2187:{},2188:{f:us,r:12},2189:{},2190:{r:12},2191:{},2192:{},2194:{},2195:{},2196:{f:tl,r:12},2197:{},2198:{f:iu,r:12},2199:{},2200:{},2201:{},2202:{f:il,r:12},2203:{f:ls},2204:{},2205:{},2206:{},2207:{},2211:{f:uf},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:{f:ds},4135:{},4146:{},4147:{},4148:{},4149:{},4154:{},4156:{},4157:{},4158:{},4159:{},4160:{},4161:{},4163:{},4164:{f:Al},4165:{},4166:{},4168:{},4170:{},4171:{},4174:{},4175:{},4176:{},4177:{},4187:{},4188:{f:Tl},4189:{},4191:{},4192:{},4193:{},4194:{},4195:{},4196:{},4197:{},4198:{},4199:{},4200:{},0:{f:Of},1:{},2:{f:Ml},3:{f:Pl},4:{f:Dl},5:{f:Wl},7:{f:Bl},8:{},9:{f:qs},11:{},22:{f:ds},30:{f:Af},31:{},32:{},33:{f:nl},36:{},37:{f:df},50:{f:zl},62:{},52:{},67:{f:Uf},68:{f:ds},69:{},86:{},126:{},127:{f:Nl},135:{},136:{},137:{},143:{f:Vl},145:{},148:{},149:{},150:{},169:{},171:{},188:{},191:{},192:{},194:{},195:{},214:{f:Hl},223:{},234:{},354:{},421:{},518:{f:$d},521:{f:qs},536:{f:Qf},547:{f:qf},561:{},579:{f:Hf},1030:{f:$d},1033:{f:qs},1091:{f:Vf},2157:{},2163:{},2177:{},2240:{},2241:{},2242:{},2243:{},2244:{},2245:{},2246:{},2247:{},2248:{},2249:{},2250:{},2251:{},2262:{r:12},101:{},102:{},105:{},106:{},107:{},109:{},112:{},114:{},29282:{}};function rg(e,r,t,a){var n=r;if(isNaN(n))return;var i=a||(t||[]).length||0;var s=e.next(4);s._W(2,n);s._W(2,i);if(i>0&&fa(t))e.push(t)}function tg(e,r,t,a){var n=a||(t||[]).length||0;if(n<=8224)return rg(e,r,t,n);var i=r;if(isNaN(i))return;var s=t.parts||[],f=0;var l=0,o=0;while(o+(s[f]||8224)<=8224){o+=s[f]||8224;f++}var c=e.next(4);c._W(2,i);c._W(2,o);e.push(t.slice(l,l+o));l+=o;while(l<n){c=e.next(4);c._W(2,60);o=0;while(o+(s[f]||8224)<=8224){o+=s[f]||8224;f++}c._W(2,o);e.push(t.slice(l,l+o));l+=o}}function ag(e,r,t,a){var n=Ea(9);Fl(n,e,r);bs(t,a||"b",n);return n}function ng(e,r,t){var a=Ea(8+2*t.length);Fl(a,e,r);a._W(1,t.length);a._W(t.length,t,"sbcs");return a.l<a.length?a.slice(0,a.l):a}function ig(e,r){r.forEach(function(r){var t=r[0].map(function(e){return e.t}).join("");if(t.length<=2048)return rg(e,28,ll(t,r[1],r[2]));rg(e,28,ll(t.slice(0,2048),r[1],r[2],t.length));for(var a=2048;a<t.length;a+=2048)rg(e,28,ll(t.slice(a,Math.min(a+2048,t.length)),-1,-1,Math.min(2048,t.length-a)))})}function sg(e,r,t,a,n,i){var s=0;if(r.z!=null){s=n._BIFF2FmtTable.indexOf(r.z);if(s==-1){n._BIFF2FmtTable.push(r.z);s=n._BIFF2FmtTable.length-1}}var f=0;if(r.z!=null){for(;f<n.cellXfs.length;++f)if(n.cellXfs[f].numFmtId==s)break;if(f==n.cellXfs.length)n.cellXfs.push({numFmtId:s})}if(r.v!=null)switch(r.t){case"d":;case"n":var l=r.t=="d"?dr(wr(r.v,i),i):r.v;if(n.biff==2&&l==(l|0)&&l>=0&&l<65536)rg(e,2,Ul(t,a,l,f,s));else if(isNaN(l))rg(e,5,ag(t,a,36,"e"));else if(!isFinite(l))rg(e,5,ag(t,a,7,"e"));else rg(e,3,Ll(t,a,l,f,s));return;case"b":;case"e":rg(e,5,ag(t,a,r.v,r.t));return;case"s":;case"str":rg(e,4,ng(t,a,r.v==null?"":String(r.v).slice(0,255)));return;}rg(e,1,Fl(null,t,a))}function fg(e,r,t,a,n){var i=r["!data"]!=null;var s=Ga(r["!ref"]||"A1"),f,l="",o=[];if(s.e.c>255||s.e.r>16383){if(a.WTF)throw new Error("Range "+(r["!ref"]||"A1")+" exceeds format limit A1:IV16384");s.e.c=Math.min(s.e.c,255);s.e.r=Math.min(s.e.c,16383)}var c=(((n||{}).Workbook||{}).WBProps||{}).date1904;var u=[],h=[];for(var d=s.s.c;d<=s.e.c;++d)o[d]=La(d);for(var v=s.s.r;v<=s.e.r;++v){if(i)u=r["!data"][v]||[];l=Na(v);for(d=s.s.c;d<=s.e.c;++d){var p=i?u[d]:r[o[d]+l];if(!p)continue;sg(e,p,v,d,a,c);if(p.c)h.push([p.c,v,d])}}ig(e,h)}function lg(e,r){var t=r||{};var a=Sa();var n=0;for(var i=0;i<e.SheetNames.length;++i)if(e.SheetNames[i]==t.sheet)n=i;if(n==0&&!!t.sheet&&e.SheetNames[0]!=t.sheet)throw new Error("Sheet not found: "+t.sheet);rg(a,t.biff==4?1033:t.biff==3?521:9,Qs(e,16,t));if(((e.Workbook||{}).WBProps||{}).date1904)rg(a,34,hs(true));t.cellXfs=[{numFmtId:0}];t._BIFF2FmtTable=["General"];t._Fonts=[];var s=Sa();fg(s,e.Sheets[e.SheetNames[n]],n,t,e);t._BIFF2FmtTable.forEach(function(e){if(t.biff<=3)rg(a,30,Cf(e));else rg(a,1054,Rf(e))});t.cellXfs.forEach(function(e){switch(t.biff){case 2:rg(a,67,Bf(e));break;case 3:rg(a,579,Wf(e));break;case 4:rg(a,1091,zf(e));break;}});delete t._BIFF2FmtTable;delete t.cellXfs;delete t._Fonts;a.push(s.end());rg(a,10);return a.end()}var og=1,cg=[];function ug(){var e=Ea(82+8*cg.length);e._W(2,15);e._W(2,61440);e._W(4,74+8*cg.length);{e._W(2,0);e._W(2,61446);e._W(4,16+8*cg.length);{e._W(4,og);e._W(4,cg.length+1);var r=0;for(var t=0;t<cg.length;++t)r+=cg[t]&&cg[t][1]||0;e._W(4,r);e._W(4,cg.length)}cg.forEach(function(r){e._W(4,r[0]);e._W(4,r[2])})}{e._W(2,51);e._W(2,61451);e._W(4,18);e._W(2,191);e._W(4,524296);e._W(2,385);e._W(4,134217793);e._W(2,448);e._W(4,134217792)}{e._W(2,64);e._W(2,61726);e._W(4,16);e._W(4,134217741);e._W(4,134217740);e._W(4,134217751);e._W(4,268435703)}return e}function hg(e,r){var t=[],a=0,n=Sa(),i=og;var s;r.forEach(function(e,r){var i="";var f=e[0].map(function(e){if(e.a&&!i)i=e.a;return e.t}).join("");++og;{var l=Ea(150);l._W(2,15);l._W(2,61444);l._W(4,150);{l._W(2,3234);l._W(2,61450);l._W(4,8);l._W(4,og);l._W(4,2560)}{l._W(2,227);l._W(2,61451);l._W(4,84);l._W(2,128);l._W(4,0);l._W(2,139);l._W(4,2);l._W(2,191);l._W(4,524296);l._W(2,344);l.l+=4;l._W(2,385);l._W(4,134217808);l._W(2,387);l._W(4,134217808);l._W(2,389);l._W(4,268435700);l._W(2,447);l._W(4,1048592);l._W(2,448);l._W(4,134217809);l._W(2,451);l._W(4,268435700);l._W(2,513);l._W(4,134217809);l._W(2,515);l._W(4,268435700);l._W(2,575);l._W(4,196609);l._W(2,959);l._W(4,131072|(e[0].hidden?2:0))}{l.l+=2;l._W(2,61456);l._W(4,18);l._W(2,3);l._W(2,e[2]+2);l.l+=2;l._W(2,e[1]+1);l.l+=2;l._W(2,e[2]+4);l.l+=2;l._W(2,e[1]+5);l.l+=2}{l.l+=2;l._W(2,61457);l.l+=4}l.l=150;if(r==0)s=l;else rg(n,236,l)}a+=150;{var o=Ea(52);o._W(2,21);o._W(2,18);o._W(2,25);o._W(2,og);o._W(2,0);o.l=22;o._W(2,13);o._W(2,22);o._W(4,1651663474);o._W(4,2503426821);o._W(4,2150634280);o._W(4,1768515844+og*256);o._W(2,0);o._W(4,0);o.l+=4;rg(n,93,o)}{var c=Ea(8);c.l+=2;c._W(2,61453);c.l+=4;rg(n,236,c)}a+=8;{var u=Ea(18);u._W(2,18);u.l+=8;u._W(2,f.length);u._W(2,16);u.l+=4;rg(n,438,u);{var h=Ea(1+f.length);h._W(1,0);h._W(f.length,f,"sbcs");rg(n,60,h)}{var d=Ea(16);d.l+=8;d._W(2,f.length);d.l+=6;rg(n,60,d)}}{var v=Ea(12+i.length);v._W(2,e[1]);v._W(2,e[2]);v._W(2,0|(e[0].hidden?0:2));v._W(2,og);v._W(2,i.length);v._W(1,0);v._W(i.length,i,"sbcs");v.l++;t.push(v)}});{var f=Ea(80);f._W(2,15);f._W(2,61442);f._W(4,a+f.length-8);{f._W(2,16);f._W(2,61448);f._W(4,8);f._W(4,r.length+1);f._W(4,og)}{f._W(2,15);f._W(2,61443);f._W(4,a+48);{f._W(2,15);f._W(2,61444);f._W(4,40);{f._W(2,1);f._W(2,61449);f._W(4,16);f.l+=16}{f._W(2,2);f._W(2,61450);f._W(4,8);f._W(4,i);f._W(4,5)}}}rg(e,236,s?P([f,s]):f)}e.push(n.end());t.forEach(function(r){rg(e,28,r)});cg.push([i,r.length+1,og]);++og}function dg(e,r,t){rg(e,49,kf({sz:12,color:{theme:1},name:"Arial",family:2,scheme:"minor"},t))}function vg(e,r,t){if(!r)return;[[5,8],[23,26],[41,44],[50,392]].forEach(function(a){for(var n=a[0];n<=a[1];++n)if(r[n]!=null)rg(e,1054,xf(n,r[n],t))})}function pg(e,r){var t=Ea(19);t._W(4,2151);t._W(4,0);t._W(4,0);t._W(2,3);t._W(1,1);t._W(4,0);rg(e,2151,t);t=Ea(39);t._W(4,2152);t._W(4,0);t._W(4,0);t._W(2,3);t._W(1,0);t._W(4,0);t._W(2,1);t._W(4,4);t._W(2,0);Vs(Ga(r["!ref"]||"A1"),t);t._W(4,4);rg(e,2152,t)}function mg(e,r){for(var t=0;t<16;++t)rg(e,224,Mf({numFmtId:0,style:true},0,r));r.cellXfs.forEach(function(t){rg(e,224,Mf(t,0,r))})}function bg(e,r){for(var t=0;t<r["!links"].length;++t){var a=r["!links"][t];rg(e,440,ml(a));if(a[1].Tooltip)rg(e,2048,gl(a))}delete r["!links"]}function gg(e,r){if(!r)return;var t=0;r.forEach(function(r,a){if(++t<=256&&r){rg(e,125,Sl(kv(a,r),a))}})}function wg(e,r,t,a,n,i){var s=16+yv(n.cellXfs,r,n);if(r.v==null&&!r.bf){rg(e,513,Ls(t,a,s));return}if(r.bf)rg(e,6,Xd(r,t,a,n,s));else switch(r.t){case"d":;case"n":var f=r.t=="d"?dr(wr(r.v,i),i):r.v;if(isNaN(f))rg(e,517,jf(t,a,36,s,n,"e"));else if(!isFinite(f))rg(e,517,jf(t,a,7,s,n,"e"));else rg(e,515,Yf(t,a,f,s,n));break;case"b":;case"e":rg(e,517,jf(t,a,r.v,s,n,r.t));break;case"s":;case"str":if(n.bookSST){var l=wv(n.Strings,r.v==null?"":String(r.v),n.revStrings);rg(e,253,yf(t,a,l,s,n))}else rg(e,516,_f(t,a,(r.v==null?"":String(r.v)).slice(0,255),s,n));break;default:rg(e,513,Ls(t,a,s));}}function kg(e,r,t){var a=Sa();var n=t.SheetNames[e],i=t.Sheets[n]||{};var s=(t||{}).Workbook||{};var f=(s.Sheets||[])[e]||{};var l=i["!data"]!=null;var o=r.biff==8;var c,u="",h=[];var d=Ga(i["!ref"]||"A1");var v=o?65536:16384;if(d.e.c>255||d.e.r>=v){if(r.WTF)throw new Error("Range "+(i["!ref"]||"A1")+" exceeds format limit A1:IV16384");d.e.c=Math.min(d.e.c,255);d.e.r=Math.min(d.e.c,v-1)}rg(a,2057,Qs(t,16,r));rg(a,13,vs(1));rg(a,12,vs(100));rg(a,15,hs(true));rg(a,17,hs(false));rg(a,16,Cn(.001));rg(a,95,hs(true));rg(a,42,hs(false));rg(a,43,hs(false));rg(a,130,vs(1));rg(a,128,Xf([0,0]));rg(a,131,hs(false));rg(a,132,hs(false));if(o)gg(a,i["!cols"]);rg(a,512,If(d,r));var p=(((t||{}).Workbook||{}).WBProps||{}).date1904;if(o)i["!links"]=[];var m=[];var b=[];for(var g=d.s.c;g<=d.e.c;++g)h[g]=La(g);for(var w=d.s.r;w<=d.e.r;++w){if(l)b=i["!data"][w]||[];u=Na(w);for(g=d.s.c;g<=d.e.c;++g){c=h[g]+u;var k=l?b[g]:i[c];if(!k)continue;wg(a,k,w,g,r,p);if(o&&k.l)i["!links"].push([c,k.l]);if(k.c)m.push([k.c,w,g])}}var T=f.CodeName||f.name||n;if(o)hg(a,m);else ig(a,m);if(o)rg(a,574,bf((s.Views||[])[0]));if(o&&(i["!merges"]||[]).length)rg(a,229,cl(i["!merges"]));if(o)bg(a,i);rg(a,442,_s(T,r));if(o)pg(a,i);rg(a,10);return a.end()}function Tg(e,r,t){var a=Sa();var n=(e||{}).Workbook||{};var i=n.Sheets||[];var s=n.WBProps||{};var f=t.biff==8,l=t.biff==5;rg(a,2057,Qs(e,5,t));if(t.bookType=="xla")rg(a,135);rg(a,225,f?vs(1200):null);rg(a,193,os(2));if(l)rg(a,191);if(l)rg(a,192);rg(a,226);rg(a,92,tf("SheetJS",t));rg(a,66,vs(f?1200:1252));if(f)rg(a,353,vs(0));if(f)rg(a,448);rg(a,317,Cl(e.SheetNames.length));if(f&&e.vbaraw)rg(a,211);if(f&&e.vbaraw){var o=s.CodeName||"ThisWorkbook";rg(a,442,_s(o,t))}rg(a,156,vs(17));rg(a,25,hs(false));rg(a,18,hs(false));rg(a,19,vs(0));if(f)rg(a,431,hs(false));if(f)rg(a,444,vs(0));rg(a,61,pf(t));rg(a,64,hs(false));rg(a,141,vs(0));rg(a,34,hs(Dm(e)=="true"));rg(a,14,hs(true));if(f)rg(a,439,hs(false));rg(a,218,vs(0));dg(a,e,t);vg(a,e.SSF,t);mg(a,t);if(f)rg(a,352,hs(false));var c=a.end();var u=Sa();if(f)rg(u,140,kl());if(f&&cg.length)rg(u,235,ug());if(f&&t.Strings)tg(u,252,lf(t.Strings,t));rg(u,10);var h=u.end();var d=Sa();var v=0,p=0;for(p=0;p<e.SheetNames.length;++p)v+=(f?12:11)+(f?2:1)*e.SheetNames[p].length;var m=c.length+v+h.length;for(p=0;p<e.SheetNames.length;++p){var b=i[p]||{};rg(d,133,sf({pos:m,hs:b.Hidden||0,dt:0,name:e.SheetNames[p]},t));m+=r[p].length}var g=d.end();if(v!=g.length)throw new Error("BS8 "+v+" != "+g.length);var w=[];if(c.length)w.push(c);if(g.length)w.push(g);if(h.length)w.push(h);return P(w)}function yg(e,r){var t=r||{};var a=[];if(e&&!e.SSF){e.SSF=Tr(q)}if(e&&e.SSF){$e();Ve(e.SSF);t.revssf=lr(e.SSF);t.revssf[e.SSF[65535]]=0;t.ssf=e.SSF}og=1;cg=[];t.Strings=[];t.Strings.Count=0;t.Strings.Unique=0;rk(t);t.cellXfs=[];yv(t.cellXfs,{},{revssf:{General:0}});if(!e.Props)e.Props={};for(var n=0;n<e.SheetNames.length;++n)a[a.length]=kg(n,t,e);a.unshift(Tg(e,a,t));return P(a)}function Eg(e,r){for(var t=0;t<=e.SheetNames.length;++t){var a=e.Sheets[e.SheetNames[t]];if(!a||!a["!ref"])continue;var n=Ha(a["!ref"]);if(n.e.c>255){if(typeof console!="undefined"&&console.error)console.error("Worksheet '"+e.SheetNames[t]+"' extends beyond column IV (255). Data may be lost.")}}var i=r||{};switch(i.biff||2){case 8:;case 5:return yg(e,r);case 4:;case 3:;case 2:return lg(e,r);}throw new Error("invalid type "+i.bookType+" for BIFF")}function _g(e,r){var t=r||{};var a=t.dense!=null?t.dense:g;var n={};if(a)n["!data"]=[];e=e.replace(/<!--.*?-->/g,"");var i=e.match(/<table/i);if(!i)throw new Error("Invalid HTML: could not find <table>");var s=e.match(/<\/table/i);var f=i.index,l=s&&s.index||e.length;var o=Nr(e.slice(f,l),/(:?<tr[^>]*>)/i,"<tr>");var c=-1,u=0,h=0,d=0;var v={s:{r:1e7,c:1e7},e:{r:0,c:0}};var p=[];for(f=0;f<o.length;++f){var m=o[f].trim();var b=m.slice(0,3).toLowerCase();if(b=="<tr"){++c;if(t.sheetRows&&t.sheetRows<=c){--c;break}u=0;continue}if(b!="<td"&&b!="<th")continue;var w=m.split(/<\/t[dh]>/i);for(l=0;l<w.length;++l){var k=w[l].trim();if(!k.match(/<t[dh]/i))continue;var T=k,y=0;while(T.charAt(0)=="<"&&(y=T.indexOf(">"))>-1)T=T.slice(y+1);for(var E=0;E<p.length;++E){var _=p[E];if(_.s.c==u&&_.s.r<c&&c<=_.e.r){u=_.e.c+1;E=-1}}var S=rt(k.slice(0,k.indexOf(">")));d=S.colspan?+S.colspan:1;if((h=+S.rowspan)>1||d>1)p.push({s:{r:c,c:u},e:{r:c+(h||1)-1,c:u+d-1}});var x=S.t||S["data-t"]||"";if(!T.length){u+=d;continue}T=Et(T);if(v.s.r>c)v.s.r=c;if(v.e.r<c)v.e.r=c;if(v.s.c>u)v.s.c=u;if(v.e.c<u)v.e.c=u;if(!T.length){u+=d;continue}var A={t:"s",v:T};if(t.raw||!T.trim().length||x=="s"){}else if(T==="TRUE")A={t:"b",v:true};else if(T==="FALSE")A={t:"b",v:false};else if(!isNaN(Er(T)))A={t:"n",v:Er(T)};else if(!isNaN(Ir(T).getDate())){A={t:"d",v:wr(T)};if(t.UTC===false)A.v=Fr(A.v);if(!t.cellDates)A={t:"n",v:dr(A.v)};A.z=t.dateNF||q[14]}if(A.cellText!==false)A.w=T;if(a){if(!n["!data"][c])n["!data"][c]=[];n["!data"][c][u]=A}else n[za({r:c,c:u})]=A;u+=d}}n["!ref"]=Va(v);if(p.length)n["!merges"]=p;return n}function Sg(e,r,t,a){var n=e["!merges"]||[];var i=[];var s={};var f=e["!data"]!=null;for(var l=r.s.c;l<=r.e.c;++l){var o=0,c=0;for(var u=0;u<n.length;++u){if(n[u].s.r>t||n[u].s.c>l)continue;if(n[u].e.r<t||n[u].e.c<l)continue;if(n[u].s.r<t||n[u].s.c<l){o=-1;break}o=n[u].e.r-n[u].s.r+1;c=n[u].e.c-n[u].s.c+1;break}if(o<0)continue;var h=La(l)+Na(t);var d=f?(e["!data"][t]||[])[l]:e[h];var v=d&&d.v!=null&&(d.h||ut(d.w||(Ka(d),d.w)||""))||"";s={};if(o>1)s.rowspan=o;if(c>1)s.colspan=c;if(a.editable)v='<span contenteditable="true">'+v+"</span>";else if(d){s["data-t"]=d&&d.t||"z";if(d.v!=null)s["data-v"]=d.v instanceof Date?d.v.toISOString():d.v;if(d.z!=null)s["data-z"]=d.z;if(d.l&&(d.l.Target||"#").charAt(0)!="#")v='<a href="'+ut(d.l.Target)+'">'+v+"</a>"}s.id=(a.id||"sjs")+"-"+h;i.push(It("td",v,s))}var p="<tr>";return p+i.join("")+"</tr>"}var xg='<html><head><meta charset="utf-8"/><title>SheetJS Table Export';var Ag="";function Cg(e,r){var t=e.match(/[\s\S]*?<\/table>/gi);if(!t||t.length==0)throw new Error("Invalid HTML: could not find
");if(t.length==1){var a=Ya(_g(t[0],r),r);a.bookType="html";return a}var n=jk();t.forEach(function(e,t){Kk(n,_g(e,r),"Sheet"+(t+1))});n.bookType="html";return n}function Rg(e,r,t){var a=[];return a.join("")+""}function Og(e,r){var t=r||{};var a=t.header!=null?t.header:xg;var n=t.footer!=null?t.footer:Ag;var i=[a];var s=Ha(e["!ref"]||"A1");i.push(Rg(e,s,t));if(e["!ref"])for(var f=s.s.r;f<=s.e.r;++f)i.push(Sg(e,s,f,t));i.push("
"+n);return i.join("")}function Ig(e,r,t){var a=r.rows;if(!a){throw"Unsupported origin when "+r.tagName+" is not a TABLE"}var n=t||{};var i=e["!data"]!=null;var s=0,f=0;if(n.origin!=null){if(typeof n.origin=="number")s=n.origin;else{var l=typeof n.origin=="string"?Wa(n.origin):n.origin;s=l.r;f=l.c}}var o=Math.min(n.sheetRows||1e7,a.length);var c={s:{r:0,c:0},e:{r:s,c:f}};if(e["!ref"]){var u=Ha(e["!ref"]);c.s.r=Math.min(c.s.r,u.s.r);c.s.c=Math.min(c.s.c,u.s.c);c.e.r=Math.max(c.e.r,u.e.r);c.e.c=Math.max(c.e.c,u.e.c);if(s==-1)c.e.r=s=u.e.r+1}var h=[],d=0;var v=e["!rows"]||(e["!rows"]=[]);var p=0,m=0,b=0,g=0,w=0,k=0;if(!e["!cols"])e["!cols"]=[];for(;p1||k>1)h.push({s:{r:m+s,c:g+f},e:{r:m+s+(w||1)-1,c:g+f+(k||1)-1}});var A={t:"s",v:_};var C=E.getAttribute("data-t")||E.getAttribute("t")||"";if(_!=null){if(_.length==0)A.t=C||"z";else if(n.raw||_.trim().length==0||C=="s"){}else if(_==="TRUE")A={t:"b",v:true};else if(_==="FALSE")A={t:"b",v:false};else if(!isNaN(Er(_)))A={t:"n",v:Er(_)};else if(!isNaN(Ir(_).getDate())){A={t:"d",v:wr(_)};if(n.UTC)A.v=Dr(A.v);if(!n.cellDates)A={t:"n",v:dr(A.v)};A.z=n.dateNF||q[14]}}if(A.z===undefined&&S!=null)A.z=S;var R="",O=E.getElementsByTagName("A");if(O&&O.length)for(var I=0;I=o)e["!fullref"]=Va((c.e.r=a.length-p+m-1+s,c));return e}function Ng(e,r){var t=r||{};var a={};if(t.dense)a["!data"]=[];return Ig(a,e,r)}function Fg(e,r){var t=Ya(Ng(e,r),r);return t}function Dg(e){var r="";var t=Pg(e);if(t)r=t(e).getPropertyValue("display");if(!r)r=e.style&&e.style.display;return r==="none"}function Pg(e){if(e.ownerDocument.defaultView&&typeof e.ownerDocument.defaultView.getComputedStyle==="function")return e.ownerDocument.defaultView.getComputedStyle;if(typeof getComputedStyle==="function")return getComputedStyle;return null}function Lg(e){var r=e.replace(/[\t\r\n]/g," ").trim().replace(/ +/g," ").replace(//g," ").replace(//g,function(e,r){return Array(parseInt(r,10)+1).join(" ")}).replace(/]*\/>/g,"\t").replace(//g,"\n");var t=it(r.replace(/<[^>]*>/g,""));return[t]}function Mg(e,r,t){var a=t||{};var n=Dt(e);Pt.lastIndex=0;n=n.replace(//gm,"").replace(//gm,"");var i,s,f="",l="",o,c=0,u=-1,h=false,d="";while(i=Pt.exec(n)){switch(i[3]=i[3].replace(/_.*$/,"")){case"number-style":;case"currency-style":;case"percentage-style":;case"date-style":;case"time-style":;case"text-style":if(i[1]==="/"){h=false;if(s["truncate-on-overflow"]=="false"){if(f.match(/h/))f=f.replace(/h+/,"[$&]");else if(f.match(/m/))f=f.replace(/m+/,"[$&]");else if(f.match(/s/))f=f.replace(/s+/,"[$&]")}a[s.name]=f;f=""}else if(i[0].charAt(i[0].length-2)!=="/"){h=true;f="";s=rt(i[0],false)}break;case"boolean-style":if(i[1]==="/"){h=false;a[s.name]="General";f=""}else if(i[0].charAt(i[0].length-2)!=="/"){h=true;f="";s=rt(i[0],false)}break;case"boolean":f+="General";break;case"text":if(i[1]==="/"){d=n.slice(u,Pt.lastIndex-i[0].length);if(d=="%"&&s[0]=="=0")f=a[o["apply-style-name"]]+";"+f;else console.error("ODS number format may be incorrect: "+o["condition"]);break;case"number":if(i[1]==="/")break;o=rt(i[0],false);l="";l+=yr("0",+o["min-integer-digits"]||1);if(pt(o["grouping"]))l=he(yr("#",Math.max(0,4-l.length))+l);if(+o["min-decimal-places"]||+o["decimal-places"])l+=".";if(+o["min-decimal-places"])l+=yr("0",+o["min-decimal-places"]||1);if(+o["decimal-places"]-(+o["min-decimal-places"]||0))l+=yr("0",+o["decimal-places"]-(+o["min-decimal-places"]||0));f+=l;break;case"embedded-text":if(i[1]==="/"){if(c==0)f+='"'+n.slice(u,Pt.lastIndex-i[0].length).replace(/"/g,'""')+'"';else f=f.slice(0,c)+'"'+n.slice(u,Pt.lastIndex-i[0].length).replace(/"/g,'""')+'"'+f.slice(c)}else if(i[0].charAt(i[0].length-2)!=="/"){u=Pt.lastIndex;c=-+rt(i[0],false)["position"]||0}break;}}return a}function Ug(e,r,t){var a=r||{};if(g!=null&&a.dense==null)a.dense=g;var n=Dt(e);var i=[],s;var f;var l,o="",c=0;var u;var h;var d={},v=[];var p={};if(a.dense)p["!data"]=[];var m,b;var w={value:""};var k="",T=0,y,E="",_=0;var S=[],x=[];var A=-1,C=-1,R={s:{r:1e6,c:1e7},e:{r:0,c:0}};var O=0;var I=t||{},N={};var F=[],D={},P=0,L=0;var M=[],U=1,B=1;var W=[];var z={Names:[],WBProps:{}};var H={};var V=["",""];var $=[],X={};var G="",j=0;var K=false,Y=false;var Z=0;Pt.lastIndex=0;n=n.replace(//gm,"").replace(//gm,"");while(m=Pt.exec(n))switch(m[3]=m[3].replace(/_.*$/,"")){case"table":;case"工作表":if(m[1]==="/"){if(R.e.c>=R.s.c&&R.e.r>=R.s.r)p["!ref"]=Va(R);else p["!ref"]="A1:A1";if(a.sheetRows>0&&a.sheetRows<=R.e.r){p["!fullref"]=p["!ref"];R.e.r=a.sheetRows-1;p["!ref"]=Va(R)}if(F.length)p["!merges"]=F;if(M.length)p["!rows"]=M;u.name=u["名称"]||u.name;if(typeof JSON!=="undefined")JSON.stringify(u);v.push(u.name);d[u.name]=p;Y=false}else if(m[0].charAt(m[0].length-2)!=="/"){u=rt(m[0],false);A=C=-1;R.s.r=R.s.c=1e7;R.e.r=R.e.c=0;p={};if(a.dense)p["!data"]=[];F=[];M=[];Y=true}break;case"table-row-group":if(m[1]==="/")--O;else++O;break;case"table-row":;case"行":if(m[1]==="/"){A+=U;U=1;break}h=rt(m[0],false);if(h["行号"])A=h["行号"]-1;else if(A==-1)A=0;U=+h["number-rows-repeated"]||1;if(U<10)for(Z=0;Z0)M[A+Z]={level:O};C=-1;break;case"covered-table-cell":if(m[1]!=="/")++C;if(a.sheetStubs){if(a.dense){if(!p["!data"][A])p["!data"][A]=[];p["!data"][A][C]={t:"z"}}else p[za({r:A,c:C})]={t:"z"}}k="";S=[];break;case"table-cell":;case"数据":if(m[0].charAt(m[0].length-2)==="/"){++C;w=rt(m[0],false);B=parseInt(w["number-columns-repeated"]||"1",10);b={t:"z",v:null};if(w.formula&&a.cellFormula!=false)b.f=hv(it(w.formula));if(w["style-name"]&&N[w["style-name"]])b.z=N[w["style-name"]];if((w["数据类型"]||w["value-type"])=="string"){b.t="s";b.v=it(w["string-value"]||"");if(a.dense){if(!p["!data"][A])p["!data"][A]=[];p["!data"][A][C]=b}else{p[La(C)+Na(A)]=b}}C+=B-1}else if(m[1]!=="/"){++C;k=E="";T=_=0;S=[];x=[];B=1;var J=U?A+U-1:A;if(C>R.e.c)R.e.c=C;if(CR.e.r)R.e.r=J;w=rt(m[0],false);$=[];X={};b={t:w["数据类型"]||w["value-type"],v:null};if(w["style-name"]&&N[w["style-name"]])b.z=N[w["style-name"]];if(a.cellFormula){if(w.formula)w.formula=it(w.formula);if(w["number-matrix-columns-spanned"]&&w["number-matrix-rows-spanned"]){P=parseInt(w["number-matrix-rows-spanned"],10)||0;L=parseInt(w["number-matrix-columns-spanned"],10)||0;D={s:{r:A,c:C},e:{r:A+P-1,c:C+L-1}};b.F=Va(D);W.push([D,b.F])}if(w.formula)b.f=hv(w.formula);else for(Z=0;Z=W[Z][0].s.r&&A<=W[Z][0].e.r)if(C>=W[Z][0].s.c&&C<=W[Z][0].e.c)b.F=W[Z][1]}if(w["number-columns-spanned"]||w["number-rows-spanned"]){P=parseInt(w["number-rows-spanned"],10)||0;L=parseInt(w["number-columns-spanned"],10)||0;D={s:{r:A,c:C},e:{r:A+P-1,c:C+L-1}};F.push(D)}if(w["number-columns-repeated"])B=parseInt(w["number-columns-repeated"],10);switch(b.t){case"boolean":b.t="b";b.v=pt(w["boolean-value"])||+w["boolean-value"]>=1;break;case"float":b.t="n";b.v=parseFloat(w.value); -if(a.cellDates&&b.z&&Le(b.z)){b.v=vr(b.v+(z.WBProps.date1904?1462:0));b.t=typeof b.v=="number"?"n":"d"}break;case"percentage":b.t="n";b.v=parseFloat(w.value);break;case"currency":b.t="n";b.v=parseFloat(w.value);break;case"date":b.t="d";b.v=wr(w["date-value"],z.WBProps.date1904);if(!a.cellDates){b.t="n";b.v=dr(b.v,z.WBProps.date1904)}if(!b.z)b.z="m/d/yy";break;case"time":b.t="n";b.v=pr(w["time-value"])/86400;if(a.cellDates){b.v=vr(b.v);b.t=typeof b.v=="number"?"n":"d"}if(!b.z)b.z="HH:MM:SS";break;case"number":b.t="n";b.v=parseFloat(w["数据数值"]);break;default:if(b.t==="string"||b.t==="text"||!b.t){b.t="s";if(w["string-value"]!=null){k=it(w["string-value"]);S=[]}}else throw new Error("Unsupported value type "+b.t);}}else{K=false;if(b.t==="s"){b.v=k||"";if(S.length)b.R=S;K=T==0}if(H.Target)b.l=H;if($.length>0){b.c=$;$=[]}if(k&&a.cellText!==false)b.w=k;if(K){b.t="z";delete b.v}if(!K||a.sheetStubs){if(!(a.sheetRows&&a.sheetRows<=A)){for(var q=0;q0)p["!data"][A+q][C+B]=Tr(b)}else{p[za({r:A+q,c:C})]=b;while(--B>0)p[za({r:A+q,c:C+B})]=Tr(b)}if(R.e.c<=C)R.e.c=C}}}B=parseInt(w["number-columns-repeated"]||"1",10);C+=B-1;B=0;b={};k="";S=[]}H={};break;case"document":;case"document-content":;case"电子表格文档":;case"spreadsheet":;case"主体":;case"scripts":;case"styles":;case"font-face-decls":;case"master-styles":if(m[1]==="/"){if((s=i.pop())[0]!==m[3])throw"Bad state: "+s}else if(m[0].charAt(m[0].length-2)!=="/")i.push([m[3],true]);break;case"annotation":if(m[1]==="/"){if((s=i.pop())[0]!==m[3])throw"Bad state: "+s;X.t=k;if(S.length)X.R=S;X.a=G;$.push(X);k=E;T=_;S=x}else if(m[0].charAt(m[0].length-2)!=="/"){i.push([m[3],false]);var Q=rt(m[0],true);if(!(Q["display"]&&pt(Q["display"])))$.hidden=true;E=k;_=T;x=S;k="";T=0;S=[]}G="";j=0;break;case"creator":if(m[1]==="/"){G=n.slice(j,m.index)}else j=m.index+m[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":;case"chart":if(m[1]==="/"){if((s=i.pop())[0]!==m[3])throw"Bad state: "+s}else if(m[0].charAt(m[0].length-2)!=="/")i.push([m[3],false]);k="";T=0;S=[];break;case"scientific-number":;case"currency-symbol":;case"fill-character":break;case"text-style":;case"boolean-style":;case"number-style":;case"currency-style":;case"percentage-style":;case"date-style":;case"time-style":if(m[1]==="/"){var ee=Pt.lastIndex;Mg(n.slice(l,Pt.lastIndex),r,I);Pt.lastIndex=ee}else if(m[0].charAt(m[0].length-2)!=="/"){l=Pt.lastIndex-m[0].length}break;case"script":break;case"libraries":break;case"automatic-styles":break;case"default-style":;case"page-layout":break;case"style":{var re=rt(m[0],false);if(re["family"]=="table-cell"&&I[re["data-style-name"]])N[re["name"]]=I[re["data-style-name"]]}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":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":break;case"boolean":break;case"text":if(m[0].slice(-2)==="/>")break;else if(m[1]==="/")switch(i[i.length-1][0]){case"number-style":;case"date-style":;case"time-style":o+=n.slice(c,m.index);break;}else c=m.index+m[0].length;break;case"named-range":f=rt(m[0],false);V=vv(f["cell-range-address"]);var te={Name:f.name,Ref:V[0]+"!"+V[1]};if(Y)te.Sheet=v.length;z.Names.push(te);break;case"text-content":break;case"text-properties":break;case"embedded-text":break;case"body":;case"电子表格":break;case"forms":break;case"table-column":break;case"table-header-rows":break;case"table-rows":break;case"table-column-group":break;case"table-header-columns":break;case"table-columns":break;case"null-date":f=rt(m[0],false);switch(f["date-value"]){case"1904-01-01":z.WBProps.date1904=true;break;}break;case"graphic-properties":break;case"calculation-settings":break;case"named-expressions":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(["master-styles"].indexOf(i[i.length-1][0])>-1)break;if(m[1]==="/"&&(!w||!w["string-value"])){var ae=Lg(n.slice(T,m.index),y);k=(k.length>0?k+"\n":"")+ae[0]}else if(m[0].slice(-2)=="/>"){k+="\n"}else{y=rt(m[0],false);T=m.index+m[0].length}break;case"s":break;case"database-range":if(m[1]==="/")break;try{V=vv(rt(m[0])["target-range-address"]);d[V[0]]["!autofilter"]={ref:V[1]}}catch(ne){}break;case"date":break;case"object":break;case"title":;case"标题":break;case"desc":break;case"binary-data":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"filter-set-item":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"print-date":;case"generator":;case"document-statistic":;case"user-defined":;case"editing-duration":;case"editing-cycles":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":if(m[1]!=="/"){H=rt(m[0],false);if(!H.href)break;H.Target=it(H.href);delete H.href;if(H.Target.charAt(0)=="#"&&H.Target.indexOf(".")>-1){V=vv(H.Target.slice(1));H.Target="#"+V[0]+"!"+V[1]}else if(H.Target.match(/^\.\.[\\\/]/))H.Target=H.Target.slice(3)}break;case"table-protection":break;case"data-pilot-grand-total":break;case"office-document-common-attrs":break;default:switch(m[2]){case"dc:":;case"calcext:":;case"loext:":;case"ooo:":;case"chartooo:":;case"draw:":;case"style:":;case"chart:":;case"form:":;case"uof:":;case"表:":;case"字:":break;default:if(a.WTF)throw new Error(m);};}var ie={Sheets:d,SheetNames:v,Workbook:z};if(a.bookSheets)delete ie.Sheets;return ie}function Bg(e,r){r=r||{};if(Ur(e,"META-INF/manifest.xml"))mi(Wr(e,"META-INF/manifest.xml"),r);var t=zr(e,"styles.xml");var a=t&&Mg(kt(t),r);var n=zr(e,"content.xml");if(!n)throw new Error("Missing content.xml in ODS / UOF file");var i=Ug(kt(n),r,a);if(Ur(e,"meta.xml"))i.Props=_i(Wr(e,"meta.xml"));i.bookType="ods";return i}function Wg(e,r){var t=Ug(e,r);t.bookType="fods";return t}var zg=function(){var e=["",'',"",'',"",'',"",""].join("");var r=""+e+"";return function t(){return Kr+r}}();function Hg(e,r){var t="number",a="",n={"style:name":r},i="",s=0;e=e.replace(/"[$]"/g,"$");e:{if(e.indexOf(";")>-1){console.error("Unsupported ODS Style Map exported. Using first branch of "+e);e=e.slice(0,e.indexOf(";"))}if(e=="@"){t="text";a="";break e}if(e.indexOf(/\$/)>-1){t="currency"}if(e[s]=='"'){i="";while(e[++s]!='"'||e[++s]=='"')i+=e[s];--s;if(e[s+1]=="*"){s++;a+=""+lt(i.replace(/""/g,'"'))+""}else{a+=""+lt(i.replace(/""/g,'"'))+""}e=e.slice(s+1);s=0}var f=e.match(/# (\?+)\/(\?+)/);if(f){a+=It("number:fraction",null,{"number:min-integer-digits":0,"number:min-numerator-digits":f[1].length,"number:max-denominator-value":Math.max(+f[1].replace(/./g,"9"),+f[2].replace(/./g,"9"))});break e}if(f=e.match(/# (\?+)\/(\d+)/)){a+=It("number:fraction",null,{"number:min-integer-digits":0,"number:min-numerator-digits":f[1].length,"number:denominator-value":+f[2]});break e}if(f=e.match(/(\d+)(|\.\d+)%/)){t="percentage";a+=It("number:number",null,{"number:decimal-places":f[2]&&f.length-1||0,"number:min-decimal-places":f[2]&&f.length-1||0,"number:min-integer-digits":f[1].length})+"%";break e}var l=false;if(["y","m","d"].indexOf(e[0])>-1){t="date";r:for(;s";break;case"yyy":;case"yyyy":a+='';break;case"mmmmm":console.error("ODS has no equivalent of format |mmmmm|");case"m":;case"mm":;case"mmm":;case"mmmm":a+='';break;case"d":;case"dd":a+='';break;case"ddd":;case"dddd":a+='';break;}break;case'"':while(e[++s]!='"'||e[++s]=='"')i+=e[s];--s;a+=""+lt(i.slice(1).replace(/""/g,'"'))+"";break;case"\\":i=e[++s];a+=""+lt(i)+"";break;case"/":;case":":a+=""+lt(i)+"";break;default:console.error("unrecognized character "+i+" in ODF format "+e);}if(!l)break e;e=e.slice(s+1);s=0}if(e.match(/^\[?[hms]/)){if(t=="number")t="time";if(e.match(/\[/)){e=e.replace(/[\[\]]/g,"");n["number:truncate-on-overflow"]="false"}for(;s';break;case"m":;case"mm":a+='';break;case"s":;case"ss":if(e[s+1]==".")do{i+=e[s+1];++s}while(e[s+1]=="0");a+='";break;}break;case'"':while(e[++s]!='"'||e[++s]=='"')i+=e[s];--s;a+=""+lt(i.slice(1).replace(/""/g,'"'))+"";break;case"/":;case":":a+=""+lt(i)+"";break;case"a":if(e.slice(s,s+3).toLowerCase()=="a/p"){a+="";s+=2;break}if(e.slice(s,s+5).toLowerCase()=="am/pm"){a+="";s+=4;break};default:console.error("unrecognized character "+i+" in ODF format "+e);}break e}if(e.indexOf(/\$/)>-1){t="currency"}if(e[0]=="$"){a+='$';e=e.slice(1);s=0}s=0;if(e[s]=='"'){while(e[++s]!='"'||e[++s]=='"')i+=e[s];--s;if(e[s+1]=="*"){s++;a+=""+lt(i.replace(/""/g,'"'))+""}else{a+=""+lt(i.replace(/""/g,'"'))+""}e=e.slice(s+1);s=0}var c=e.match(/([#0][0#,]*)(\.[0#]*|)(E[+]?0*|)/i);if(!c||!c[0])console.error("Could not find numeric part of "+e);else{var u=c[1].replace(/,/g,"");a+="-1?' number:grouping="true"':"")+(c[2]&&' number:decimal-places="'+(c[2].length-1)+'"'||' number:decimal-places="0"')+(c[3]&&c[3].indexOf("+")>-1?' number:forced-exponent-sign="true"':"")+(c[3]?' number:min-exponent-digits="'+c[3].match(/0+/)[0].length+'"':"")+">"+"";s=c.index+c[0].length}if(e[s]=='"'){i="";while(e[++s]!='"'||e[++s]=='"')i+=e[s];--s;a+=""+lt(i.replace(/""/g,'"'))+""}}if(!a){console.error("Could not generate ODS number format for |"+e+"|");return""}return It("number:"+t+"-style",a,n)}function Vg(e,r,t){var a=[];for(var n=0;n\n"+a.map(function(e){var r=(t==-1?"$":"")+pv(e.Ref);return" "+It("table:named-range",null,{"table:name":e.Name,"table:cell-range-address":r,"table:base-cell-address":r.replace(/[\.]?[^\.]*$/,".$A$1")})}).join("\n")+"\n \n"}var $g=function(){var e=function(e){return lt(e).replace(/ +/g,function(e){return''}).replace(/\t/g,"").replace(/\n/g,"").replace(/^ /,"").replace(/ $/,"")};var r=" \n";var t=function(t,a,n,i,s,f){var l=[];l.push(' \n');var o=0,c=0,u=Ha(t["!ref"]||"A1");var h=t["!merges"]||[],d=0;var v=t["!data"]!=null;if(t["!cols"]){for(c=0;c<=u.e.c;++c)l.push(" \n")}var p="",m=t["!rows"]||[];for(o=0;o\n")}for(;o<=u.e.r;++o){p=m[o]?' table:style-name="ro'+m[o].ods+'"':"";l.push(" \n");for(c=0;cc)continue;if(h[d].s.r>o)continue;if(h[d].e.c\n");continue}var k=za({r:o,c:c}),T=v?(t["!data"][o]||[])[c]:t[k];if(T&&T.f){g["table:formula"]=lt(dv(T.f));if(T.F){if(T.F.slice(0,k.length)==k){var y=Ha(T.F);g["table:number-matrix-columns-spanned"]=y.e.c-y.s.c+1;g["table:number-matrix-rows-spanned"]=y.e.r-y.s.r+1}}}if(!T){l.push(r);continue}switch(T.t){case"b":w=T.v?"TRUE":"FALSE";g["office:value-type"]="boolean";g["office:boolean-value"]=T.v?"true":"false";break;case"n":w=T.w||String(T.v||0);g["office:value-type"]="float";g["office:value"]=T.v||0;break;case"s":;case"str":w=T.v==null?"":T.v;g["office:value-type"]="string";break;case"d":w=T.w||wr(T.v,f).toISOString();g["office:value-type"]="date";g["office:date-value"]=wr(T.v,f).toISOString();g["table:style-name"]="ce1";break;default:l.push(r);continue;}var E=e(w);if(T.l&&T.l.Target){var _=T.l.Target;_=_.charAt(0)=="#"?"#"+pv(_.slice(1)):_;if(_.charAt(0)!="#"&&!_.match(/^\w+:/))_="../"+_;E=It("text:a",E,{"xlink:href":_.replace(/&/g,"&")})}if(s[T.z])g["table:style-name"]="ce"+s[T.z].slice(1);var S=It("text:p",E,{});if(T.c){var x="",A="",C={};for(var R=0;R"+e(T.c[R].t)+""}if(!T.c.hidden)C["office:display"]=true;S=It("office:annotation",A,C)+S}l.push(" "+It("table:table-cell",S,g)+"\n")}l.push(" \n")}if((a.Workbook||{}).Names)l.push(Vg(a.Workbook.Names,a.SheetNames,n));l.push(" \n");return l.join("")};var a=function(e,r){e.push(" \n");var t=0;r.SheetNames.map(function(e){return r.Sheets[e]}).forEach(function(r){if(!r)return;if(r["!cols"]){for(var a=0;a\n');e.push(' \n');e.push(" \n");++t}}});var a=0;r.SheetNames.map(function(e){return r.Sheets[e]}).forEach(function(r){if(!r)return;if(r["!rows"]){for(var t=0;t\n');e.push(' \n');e.push(" \n");++a}}});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");var n={};var i=69;r.SheetNames.map(function(e){return r.Sheets[e]}).forEach(function(r){if(!r)return;var t=r["!data"]!=null;if(!r["!ref"])return;var a=Ha(r["!ref"]);for(var s=0;s<=a.e.r;++s)for(var f=0;f<=a.e.c;++f){var l=t?(r["!data"][s]||[])[f]:r[za({r:s,c:f})];if(!l||!l.z||l.z.toLowerCase()=="general")continue;if(!n[l.z]){var o=Hg(l.z,"N"+i);if(o){n[l.z]="N"+i;++i;e.push(o+"\n")}}}});e.push(' \n');ir(n).forEach(function(r){e.push('\n')});e.push(" \n");return n};return function n(e,r){var n=[Kr];var i=Ot({"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=Ot({"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");n.push(Ti().replace(//,"").replace(/<\/office:document-meta>/,"")+"\n")}else n.push("\n");var f=a(n,e);n.push(" \n");n.push(" \n");if(((e.Workbook||{}).WBProps||{}).date1904)n.push(' \n \n \n');for(var l=0;l!=e.SheetNames.length;++l)n.push(t(e.Sheets[e.SheetNames[l]],e,l,r,f,((e.Workbook||{}).WBProps||{}).date1904));if((e.Workbook||{}).Names)n.push(Vg(e.Workbook.Names,e.SheetNames,-1));n.push(" \n");n.push(" \n");if(r.bookType=="fods")n.push("");else n.push("");return n.join("")}}();function Xg(e,r){if(r.bookType=="fods")return $g(e,r);var t=Xr();var a="";var n=[];var i=[];a="mimetype";$r(t,a,"application/vnd.oasis.opendocument.spreadsheet");a="content.xml";$r(t,a,$g(e,r));n.push([a,"text/xml"]);i.push([a,"ContentFile"]);a="styles.xml";$r(t,a,zg(e,r));n.push([a,"text/xml"]);i.push([a,"StylesFile"]);a="meta.xml";$r(t,a,Kr+Ti());n.push([a,"text/xml"]);i.push([a,"MetadataFile"]);a="manifest.rdf";$r(t,a,ki(i));n.push([a,"application/rdf+xml"]);a="META-INF/manifest.xml";$r(t,a,bi(n));return t}var Gg=function(){try{if(typeof Uint8Array=="undefined")return"slice";if(typeof Uint8Array.prototype.subarray=="undefined")return"slice";if(typeof Buffer!=="undefined"){if(typeof Buffer.prototype.subarray=="undefined")return"slice";if((typeof Buffer.from=="function"?Buffer.from([72,62]):new Buffer([72,62]))instanceof Uint8Array)return"subarray";return"slice"}return"subarray"}catch(e){return"slice"}}();function jg(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function Kg(e){return typeof TextDecoder!="undefined"?(new TextDecoder).decode(e):kt(N(e))}function Yg(e){return typeof TextEncoder!="undefined"?(new TextEncoder).encode(e):O(Tt(e))}function Zg(e){var r=0;for(var t=0;t>1&1431655765;e=(e&858993459)+(e>>2&858993459);return(e+(e>>4)&252645135)*16843009>>>24}function qg(e,r){var t=(e[r+15]&127)<<7|e[r+14]>>1;var a=e[r+14]&1;for(var n=r+13;n>=r;--n)a=a*256+e[n];return(e[r+15]&128?-a:a)*Math.pow(10,t-6176)}function Qg(e,r,t){var a=Math.floor(t==0?0:Math.LOG10E*Math.log(Math.abs(t)))+6176-16;var n=t/Math.pow(10,a-6176);e[r+15]|=a>>7;e[r+14]|=(a&127)<<1;for(var i=0;n>=1;++i,n/=256)e[r+i]=n&255;e[r+15]|=t>=0?0:128}function ew(e,r){var t=r.l;var a=e[t]&127;e:if(e[t++]>=128){a|=(e[t]&127)<<7;if(e[t++]<128)break e;a|=(e[t]&127)<<14;if(e[t++]<128)break e;a|=(e[t]&127)<<21;if(e[t++]<128)break e;a+=(e[t]&127)*Math.pow(2,28);++t;if(e[t++]<128)break e;a+=(e[t]&127)*Math.pow(2,35);++t;if(e[t++]<128)break e;a+=(e[t]&127)*Math.pow(2,42);++t;if(e[t++]<128)break e}r.l=t;return a}function rw(e){var r=new Uint8Array(7);r[0]=e&127;var t=1;e:if(e>127){r[t-1]|=128;r[t]=e>>7&127;++t;if(e<=16383)break e;r[t-1]|=128;r[t]=e>>14&127;++t;if(e<=2097151)break e;r[t-1]|=128;r[t]=e>>21&127;++t;if(e<=268435455)break e;r[t-1]|=128;r[t]=e/256>>>21&127;++t;if(e<=34359738367)break e;r[t-1]|=128;r[t]=e/65536>>>21&127;++t;if(e<=4398046511103)break e;r[t-1]|=128;r[t]=e/16777216>>>21&127;++t}return r[Gg](0,t)}function tw(e){var r={l:0};var t=[];while(r.l=128){t|=(e[r]&127)<<7;if(e[r++]<128)break e;t|=(e[r]&127)<<14;if(e[r++]<128)break e;t|=(e[r]&127)<<21;if(e[r++]<128)break e;t|=(e[r]&127)<<28;a=e[r]>>4&7;if(e[r++]<128)break e;a|=(e[r]&127)<<3;if(e[r++]<128)break e;a|=(e[r]&127)<<10;if(e[r++]<128)break e;a|=(e[r]&127)<<17;if(e[r++]<128)break e;a|=(e[r]&127)<<24;if(e[r++]<128)break e;a|=(e[r]&127)<<31}return[t>>>0,a>>>0]}function sw(e){var r=[],t={l:0};while(t.l=128);s=e[Gg](t.l,f);t.l=f}break;case 1:{s=e[Gg](f,f+8);t.l=f+8}break;case 2:{var l=ew(e,t);s=e[Gg](t.l,t.l+l);t.l+=l}break;case 5:{s=e[Gg](f,f+4);t.l=f+4}break;default:throw new Error("PB Type ".concat(i," for Field ").concat(n," at offset ").concat(a));}var o={data:s,type:i};if(r[n]==null)r[n]=[];r[n].push(o)}return r}function fw(e){var r=[];e.forEach(function(e,t){if(t==0)return;e.forEach(function(e){if(!e.data)return;r.push(rw(t*8+e.type));if(e.type==2)r.push(rw(e.data.length));r.push(e.data)})});return Zg(r)}function lw(e,r){return(e==null?void 0:e.map(function(e){return r(e.data)}))||[]}function ow(e){var r;var t=[],a={l:0};while(a.l>>0>0;t.push(s)}return t}function cw(e){var r=[];e.forEach(function(e){var t=[[],[{data:rw(e.id),type:0}],[]];if(e.merge!=null)t[3]=[{data:rw(+!!e.merge),type:0}];var a=[];e.messages.forEach(function(e){a.push(e.data);e.meta[3]=[{type:0,data:rw(e.data.length)}];t[2].push({data:fw(e.meta),type:2})});var n=fw(t);r.push(rw(n.length));r.push(n);a.forEach(function(e){return r.push(e)})});return Zg(r)}function uw(e,r){if(e!=0)throw new Error("Unexpected Snappy chunk type ".concat(e));var t={l:0};var a=ew(r,t);var n=[];var i=t.l;while(i>2;if(f<60)++f;else{var l=f-59;f=r[i];if(l>1)f|=r[i+1]<<8;if(l>2)f|=r[i+2]<<16;if(l>3)f|=r[i+3]<<24;f>>>=0;f++;i+=l}n.push(r[Gg](i,i+f));i+=f;continue}else{var o=0,c=0;if(s==1){c=(r[i]>>2&7)+4;o=(r[i++]&224)<<3;o|=r[i++]}else{c=(r[i++]>>2)+1;if(s==2){o=r[i]|r[i+1]<<8;i+=2}else{o=(r[i]|r[i+1]<<8|r[i+2]<<16|r[i+3]<<24)>>>0;i+=4}}if(o==0)throw new Error("Invalid offset 0");var u=n.length-1,h=o;while(u>=0&&h>=n[u].length){h-=n[u].length;--u}if(u<0){if(h==0)h=n[u=0].length;else throw new Error("Invalid offset beyond length")}if(c0){n.push(n[u][Gg](n[u].length-h));c-=h}++u;while(c>=n[u].length){n.push(n[u]);c-=n[u].length;++u}if(c)n.push(n[u][Gg](0,c))}if(n.length>25)n=[Zg(n)]}}var d=0;for(var v=0;v>8&255]))}else if(a<=16777216){s+=4;r.push(new Uint8Array([248,a-1&255,a-1>>8&255,a-1>>16&255]))}else if(a<=4294967296){s+=5;r.push(new Uint8Array([252,a-1&255,a-1>>8&255,a-1>>16&255,a-1>>>24&255]))}r.push(e[Gg](t,t+a));s+=a;n[0]=0;n[1]=s&255;n[2]=s>>8&255;n[3]=s>>16&255;t+=a}return Zg(r)}var vw=function(){return{sst:[],rsst:[],ofmt:[],nfmt:[],fmla:[],ferr:[],cmnt:[]}};function pw(e,r,t,a,n){var i,s,f,l;var o=r&255,c=r>>8;var u=c>=5?n:a;e:if(t&(c>4?8:4)&&e.t=="n"&&o==7){var h=((i=u[7])==null?void 0:i[0])?nw(u[7][0].data):-1;if(h==-1)break e;var d=((s=u[15])==null?void 0:s[0])?nw(u[15][0].data):-1;var v=((f=u[16])==null?void 0:f[0])?nw(u[16][0].data):-1;var p=((l=u[40])==null?void 0:l[0])?nw(u[40][0].data):-1;var m=e.v,b=m;r:if(p){if(m==0){d=v=2;break r}if(m>=604800)d=1;else if(m>=86400)d=2;else if(m>=3600)d=4;else if(m>=60)d=8;else if(m>=1)d=16;else d=32;if(Math.floor(m)!=m)v=32;else if(m%60)v=16;else if(m%3600)v=8;else if(m%86400)v=4;else if(m%604800)v=2;if(v=2){b=m/86400;if(v>2){b|=0;m-=86400*b}w.push('d"d"');g.push(b+(h==2?" day"+(b==1?"":"s"):h==1?"d":""))}if(d<=4&&v>=4){b=m/3600;if(v>4){b|=0;m-=3600*b}w.push((d>=4?"[h]":"h")+'"h"');g.push(b+(h==2?" hour"+(b==1?"":"s"):h==1?"h":""))}if(d<=8&&v>=8){b=m/60;if(v>8){b|=0;m-=60*b}w.push((d>=8?"[m]":"m")+'"m"');if(h==0)g.push((d==8&&v==8||b>=10?"":"0")+b);else g.push(b+(h==2?" minute"+(b==1?"":"s"):h==1?"m":""))}if(d<=16&&v>=16){b=m;if(v>16){b|=0;m-=b}w.push((d>=16?"[s]":"s")+'"s"');if(h==0)g.push((v==16&&d==16||b>=10?"":"0")+b);else g.push(b+(h==2?" second"+(b==1?"":"s"):h==1?"s":""))}if(v>=32){b=Math.round(1e3*m);if(d<32)w.push('.000"ms"');if(h==0)g.push((b>=100?"":b>=10?"0":"00")+b);else g.push(b+(h==2?" millisecond"+(b==1?"":"s"):h==1?"ms":""))}e.w=g.join(h==0?":":" ");e.z=w.join(h==0?'":"':" ");if(h==0)e.w=e.w.replace(/:(\d\d\d)$/,".$1")}}function mw(e,r,t,a){var n=jg(e);var i=n.getUint32(4,true);var s=-1,f=-1,l=-1,o=NaN,c=0,u=new Date(Date.UTC(2001,0,1));var h=t>1?12:8;if(i&2){l=n.getUint32(h,true);h+=4}h+=Jg(i&(t>1?3468:396))*4;if(i&512){s=n.getUint32(h,true);h+=4}h+=Jg(i&(t>1?12288:4096))*4;if(i&16){f=n.getUint32(h,true);h+=4}if(i&32){o=n.getFloat64(h,true);h+=8}if(i&64){u.setTime(u.getTime()+(c=n.getFloat64(h,true))*1e3);h+=8}if(t>1){i=n.getUint32(8,true)>>>16;if(i&255){if(l==-1)l=n.getUint32(h,true);h+=4}}var d;var v=e[t>=4?1:2];switch(v){case 0:return void 0;case 2:d={t:"n",v:o};break;case 3:d={t:"s",v:r.sst[f]};break;case 5:{if(a==null?void 0:a.cellDates)d={t:"d", -v:u};else d={t:"n",v:c/86400+35430,z:q[14]}}break;case 6:d={t:"b",v:o>0};break;case 7:d={t:"n",v:o};break;case 8:d={t:"e",v:0};break;case 9:{if(s>-1){var p=r.rsst[s];d={t:"s",v:p.v};if(p.l)d.l={Target:p.l}}else throw new Error("Unsupported cell type ".concat(e[Gg](0,4)))}break;default:throw new Error("Unsupported cell type ".concat(e[Gg](0,4)));}if(l>-1)pw(d,v|t<<8,i,r.ofmt[l],r.nfmt[l]);if(v==7)d.v/=86400;return d}function bw(e,r,t){var a=jg(e);var n=a.getUint32(4,true);var i=a.getUint32(8,true);var s=12;var f=-1,l=-1,o=-1,c=NaN,u=NaN,h=0,d=new Date(Date.UTC(2001,0,1)),v=-1,p=-1;if(i&1){c=qg(e,s);s+=16}if(i&2){u=a.getFloat64(s,true);s+=8}if(i&4){d.setTime(d.getTime()+(h=a.getFloat64(s,true))*1e3);s+=8}if(i&8){l=a.getUint32(s,true);s+=4}if(i&16){f=a.getUint32(s,true);s+=4}s+=Jg(i&480)*4;if(i&512){p=a.getUint32(s,true);s+=4}s+=Jg(i&1024)*4;if(i&2048){v=a.getUint32(s,true);s+=4}var m;var b=e[1];switch(b){case 0:m={t:"z"};break;case 2:m={t:"n",v:c};break;case 3:m={t:"s",v:r.sst[l]};break;case 5:{if(t==null?void 0:t.cellDates)m={t:"d",v:d};else m={t:"n",v:h/86400+35430,z:q[14]}}break;case 6:m={t:"b",v:u>0};break;case 7:m={t:"n",v:u};break;case 8:m={t:"e",v:0};break;case 9:{if(f>-1){var g=r.rsst[f];m={t:"s",v:g.v};if(g.l)m.l={Target:g.l}}else throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(i&31," : ").concat(e[Gg](0,4)))}break;case 10:m={t:"n",v:c};break;default:throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(i&31," : ").concat(e[Gg](0,4)));}s+=Jg(i&4096)*4;if(i&516096){if(o==-1)o=a.getUint32(s,true);s+=4}if(i&524288){var w=a.getUint32(s,true);s+=4;if(r.cmnt[w])m.c=Rw(r.cmnt[w])}if(o>-1)pw(m,b|5<<8,i>>13,r.ofmt[o],r.nfmt[o]);if(b==7)m.v/=86400;return m}function gw(e,r){var t=new Uint8Array(32),a=jg(t),n=12,i=0;t[0]=5;switch(e.t){case"n":if(e.z&&Le(e.z)){t[1]=5;a.setFloat64(n,(vr(e.v+1462).getTime()-Date.UTC(2001,0,1))/1e3,true);i|=4;n+=8;break}else{t[1]=2;Qg(t,n,e.v);i|=1;n+=16}break;case"b":t[1]=6;a.setFloat64(n,e.v?1:0,true);i|=2;n+=8;break;case"s":{var s=e.v==null?"":String(e.v);if(e.l){var f=r.rsst.findIndex(function(r){var t;return r.v==s&&r.l==((t=e.l)==null?void 0:t.Target)});if(f==-1)r.rsst[f=r.rsst.length]={v:s,l:e.l.Target};t[1]=9;a.setUint32(n,f,true);i|=16;n+=4}else{var l=r.sst.indexOf(s);if(l==-1)r.sst[l=r.sst.length]=s;t[1]=3;a.setUint32(n,l,true);i|=8;n+=4}}break;case"d":t[1]=5;a.setFloat64(n,(e.v.getTime()-Date.UTC(2001,0,1))/1e3,true);i|=4;n+=8;break;case"z":t[1]=0;break;default:throw"unsupported cell type "+e.t;}if(e.c){r.cmnt.push(Ow(e.c));a.setUint32(n,r.cmnt.length-1,true);i|=524288;n+=4}a.setUint32(8,i,true);return t[Gg](0,n)}function ww(e,r){var t=new Uint8Array(32),a=jg(t),n=12,i=0,s="";t[0]=4;switch(e.t){case"n":break;case"b":break;case"s":{s=e.v==null?"":String(e.v);if(e.l){var f=r.rsst.findIndex(function(r){var t;return r.v==s&&r.l==((t=e.l)==null?void 0:t.Target)});if(f==-1)r.rsst[f=r.rsst.length]={v:s,l:e.l.Target};t[1]=9;a.setUint32(n,f,true);i|=512;n+=4}else{}}break;case"d":break;case"e":break;case"z":break;default:throw"unsupported cell type "+e.t;}if(e.c){a.setUint32(n,r.cmnt.length-1,true);i|=4096;n+=4}switch(e.t){case"n":t[1]=2;a.setFloat64(n,e.v,true);i|=32;n+=8;break;case"b":t[1]=6;a.setFloat64(n,e.v?1:0,true);i|=32;n+=8;break;case"s":{s=e.v==null?"":String(e.v);if(e.l){}else{var l=r.sst.indexOf(s);if(l==-1)r.sst[l=r.sst.length]=s;t[1]=3;a.setUint32(n,l,true);i|=16;n+=4}}break;case"d":t[1]=5;a.setFloat64(n,(e.v.getTime()-Date.UTC(2001,0,1))/1e3,true);i|=64;n+=8;break;case"z":t[1]=0;break;default:throw"unsupported cell type "+e.t;}a.setUint32(8,i,true);return t[Gg](0,n)}function kw(e,r,t){switch(e[0]){case 0:;case 1:;case 2:;case 3:;case 4:return mw(e,r,e[0],t);case 5:return bw(e,r,t);default:throw new Error("Unsupported payload version ".concat(e[0]));}}function Tw(e){var r=sw(e);return nw(r[1][0].data)}function yw(e){return fw([[],[{type:0,data:rw(e)}]])}function Ew(e,r){var t;var a=((t=e.messages[0].meta[5])==null?void 0:t[0])?tw(e.messages[0].meta[5][0].data):[];var n=a.indexOf(r);if(n==-1){a.push(r);e.messages[0].meta[5]=[{type:2,data:aw(a)}]}}function _w(e,r){var t;var a=((t=e.messages[0].meta[5])==null?void 0:t[0])?tw(e.messages[0].meta[5][0].data):[];e.messages[0].meta[5]=[{type:2,data:aw(a.filter(function(e){return e!=r}))}]}function Sw(e,r){var t=sw(r.data);var a=nw(t[1][0].data);var n=t[3];var i=[];(n||[]).forEach(function(r){var t,n;var s=sw(r.data);if(!s[1])return;var f=nw(s[1][0].data)>>>0;switch(a){case 1:i[f]=Kg(s[3][0].data);break;case 8:{var l=e[Tw(s[9][0].data)][0];var o=sw(l.data);var c=e[Tw(o[1][0].data)][0];var u=nw(c.meta[1][0].data);if(u!=2001)throw new Error("2000 unexpected reference to ".concat(u));var h=sw(c.data);var d={v:h[3].map(function(e){return Kg(e.data)}).join("")};i[f]=d;e:if((t=h==null?void 0:h[11])==null?void 0:t[0]){var v=(n=sw(h[11][0].data))==null?void 0:n[1];if(!v)break e;v.forEach(function(r){var t,a,n;var i=sw(r.data);if((t=i[2])==null?void 0:t[0]){var s=e[Tw((a=i[2])==null?void 0:a[0].data)][0];var f=nw(s.meta[1][0].data);switch(f){case 2032:var l=sw(s.data);if(((n=l==null?void 0:l[2])==null?void 0:n[0])&&!d.l)d.l=Kg(l[2][0].data);break;case 2039:break;default:console.log("unrecognized ObjectAttribute type ".concat(f));}}})}}break;case 2:i[f]=sw(s[6][0].data);break;case 3:i[f]=sw(s[5][0].data);break;case 10:{var p=e[Tw(s[10][0].data)][0];i[f]=Cw(e,p.data)}break;default:throw a;}});return i}function xw(e,r){var t,a,n,i,s,f,l,o,c,u,h,d,v,p;var m=sw(e);var b=nw(m[1][0].data)>>>0;var g=nw(m[2][0].data)>>>0;var w=((a=(t=m[8])==null?void 0:t[0])==null?void 0:a.data)&&nw(m[8][0].data)>0||false;var k,T;if(((i=(n=m[7])==null?void 0:n[0])==null?void 0:i.data)&&r!=0){k=(f=(s=m[7])==null?void 0:s[0])==null?void 0:f.data;T=(o=(l=m[6])==null?void 0:l[0])==null?void 0:o.data}else if(((u=(c=m[4])==null?void 0:c[0])==null?void 0:u.data)&&r!=1){k=(d=(h=m[4])==null?void 0:h[0])==null?void 0:d.data;T=(p=(v=m[3])==null?void 0:v[0])==null?void 0:p.data}else throw"NUMBERS Tile missing ".concat(r," cell storage");var y=w?4:1;var E=jg(k);var _=[];for(var S=0;S=1)A[_[_.length-1][0]]=T[Gg](_[_.length-1][1]*y);return{R:b,cells:A}}function Aw(e,r){var t;var a=sw(r.data);var n=-1;if((t=a==null?void 0:a[7])==null?void 0:t[0]){if(nw(a[7][0].data)>>>0)n=1;else n=0}var i=lw(a[5],function(e){return xw(e,n)});return{nrows:nw(a[4][0].data)>>>0,data:i.reduce(function(e,r){if(!e[r.R])e[r.R]=[];r.cells.forEach(function(t,a){if(e[r.R][a])throw new Error("Duplicate cell r=".concat(r.R," c=").concat(a));e[r.R][a]=t});return e},[])}}function Cw(e,r){var t,a,n,i,s,f,l,o,c,u;var h={t:"",a:""};var d=sw(r);if((a=(t=d==null?void 0:d[1])==null?void 0:t[0])==null?void 0:a.data)h.t=Kg((i=(n=d==null?void 0:d[1])==null?void 0:n[0])==null?void 0:i.data)||"";if((f=(s=d==null?void 0:d[3])==null?void 0:s[0])==null?void 0:f.data){var v=e[Tw((o=(l=d==null?void 0:d[3])==null?void 0:l[0])==null?void 0:o.data)][0];var p=sw(v.data);if((u=(c=p[1])==null?void 0:c[0])==null?void 0:u.data)h.a=Kg(p[1][0].data)}if(d==null?void 0:d[4]){h.replies=[];d[4].forEach(function(r){var t=e[Tw(r.data)][0];h.replies.push(Cw(e,t.data))})}return h}function Rw(e){var r=[];r.push({t:e.t||"",a:e.a,T:e.replies&&e.replies.length>0});if(e.replies)e.replies.forEach(function(e){r.push({t:e.t||"",a:e.a,T:true})});return r}function Ow(e){var r={a:"",t:"",replies:[]};for(var t=0;t>>0)-1;if(p.e.r<0)throw new Error("Invalid row varint ".concat(v[6][0].data));p.e.c=(nw(v[7][0].data)>>>0)-1;if(p.e.c<0)throw new Error("Invalid col varint ".concat(v[7][0].data));t["!ref"]=Va(p);var m=t["!data"]!=null,b=t;var g=sw(v[4][0].data);var w=vw();if((n=g[4])==null?void 0:n[0])w.sst=Sw(e,e[Tw(g[4][0].data)][0]);if((i=g[6])==null?void 0:i[0])w.fmla=Sw(e,e[Tw(g[6][0].data)][0]);if((s=g[11])==null?void 0:s[0])w.ofmt=Sw(e,e[Tw(g[11][0].data)][0]);if((f=g[12])==null?void 0:f[0])w.ferr=Sw(e,e[Tw(g[12][0].data)][0]);if((l=g[17])==null?void 0:l[0])w.rsst=Sw(e,e[Tw(g[17][0].data)][0]);if((o=g[19])==null?void 0:o[0])w.cmnt=Sw(e,e[Tw(g[19][0].data)][0]);if((c=g[22])==null?void 0:c[0])w.nfmt=Sw(e,e[Tw(g[22][0].data)][0]);var k=sw(g[3][0].data);var T=0;if(!((u=g[9])==null?void 0:u[0]))throw"NUMBERS file missing row tree";var y=sw(g[9][0].data)[1].map(function(e){return sw(e.data)});y.forEach(function(r){T=nw(r[1][0].data);var n=nw(r[2][0].data);var i=k[1][n];if(!i)throw"NUMBERS missing tile "+n;var s=sw(i.data);var f=e[Tw(s[2][0].data)][0];var l=nw(f.meta[1][0].data);if(l!=6002)throw new Error("6001 unexpected reference to ".concat(l));var o=Aw(e,f);o.data.forEach(function(e,r){e.forEach(function(e,n){var i=kw(e,w,a);if(i){if(m){if(!b["!data"][T+r])b["!data"][T+r]=[];b["!data"][T+r][n]=i}else{t[La(n)+Na(T+r)]=i}}})});T+=o.nrows});if((h=g[13])==null?void 0:h[0]){var E=e[Tw(g[13][0].data)][0];var _=nw(E.meta[1][0].data);if(_!=6144)throw new Error("Expected merge type 6144, found ".concat(_));t["!merges"]=(d=sw(E.data))==null?void 0:d[1].map(function(e){var r=sw(e.data);var t=jg(sw(r[1][0].data)[1][0].data),a=jg(sw(r[2][0].data)[1][0].data);return{s:{r:t.getUint16(0,true),c:t.getUint16(2,true)},e:{r:t.getUint16(0,true)+a.getUint16(0,true)-1,c:t.getUint16(2,true)+a.getUint16(2,true)-1}}})}}function Nw(e,r,t){var a=sw(r.data);var n={"!ref":"A1"};if(t==null?void 0:t.dense)n["!data"]=[];var i=e[Tw(a[2][0].data)];var s=nw(i[0].meta[1][0].data);if(s!=6001)throw new Error("6000 unexpected reference to ".concat(s));Iw(e,i[0],n,t);return n}function Fw(e,r,t){var a;var n=sw(r.data);var i={name:((a=n[1])==null?void 0:a[0])?Kg(n[1][0].data):"",sheets:[]};var s=lw(n[2],Tw);s.forEach(function(r){e[r].forEach(function(r){var a=nw(r.meta[1][0].data);if(a==6e3)i.sheets.push(Nw(e,r,t))})});return i}function Dw(e,r,t){var a;var n=jk();n.Workbook={WBProps:{date1904:true}};var i=sw(r.data);if((a=i[2])==null?void 0:a[0])throw new Error("Keynote presentations are not supported");var s=lw(i[1],Tw);s.forEach(function(r){e[r].forEach(function(r){var a=nw(r.meta[1][0].data);if(a==2){var i=Fw(e,r,t);i.sheets.forEach(function(e,r){Kk(n,e,r==0?i.name:i.name+"_"+r,true)})}})});if(n.SheetNames.length==0)throw new Error("Empty NUMBERS file");n.bookType="numbers";return n}function Pw(e,r){var t,a,n,i,s,f,l;var o={},c=[];e.FullPaths.forEach(function(e){if(e.match(/\.iwpv2/))throw new Error("Unsupported password protection")});e.FileIndex.forEach(function(e){if(!e.name.match(/\.iwa$/))return;if(e.content[0]!=0)return;var r;try{r=hw(e.content)}catch(t){return console.log("?? "+e.content.length+" "+(t.message||t))}var a;try{a=ow(r)}catch(t){return console.log("## "+(t.message||t))}a.forEach(function(e){o[e.id]=e.messages;c.push(e.id)})});if(!c.length)throw new Error("File has no messages");if(((n=(a=(t=o==null?void 0:o[1])==null?void 0:t[0].meta)==null?void 0:a[1])==null?void 0:n[0].data)&&nw(o[1][0].meta[1][0].data)==1e4)throw new Error("Pages documents are not supported");var u=((l=(f=(s=(i=o==null?void 0:o[1])==null?void 0:i[0])==null?void 0:s.meta)==null?void 0:f[1])==null?void 0:l[0].data)&&nw(o[1][0].meta[1][0].data)==1&&o[1][0];if(!u)c.forEach(function(e){o[e].forEach(function(e){var r=nw(e.meta[1][0].data)>>>0;if(r==1){if(!u)u=e;else throw new Error("Document has multiple roots")}})});if(!u)throw new Error("Cannot find Document root");return Dw(o,u,r)}function Lw(e,r,t){var a,n,i;var s=[[],[{type:0,data:rw(0)}],[{type:0,data:rw(0)}],[{type:2,data:new Uint8Array([])}],[{type:2,data:new Uint8Array(Array.from({length:510},function(){return 255}))}],[{type:0,data:rw(5)}],[{type:2,data:new Uint8Array([])}],[{type:2,data:new Uint8Array(Array.from({length:510},function(){return 255}))}],[{type:0,data:rw(1)}]];if(!((a=s[6])==null?void 0:a[0])||!((n=s[7])==null?void 0:n[0]))throw"Mutation only works on post-BNC storages!";var f=0;if(s[7][0].data.length<2*e.length){var l=new Uint8Array(2*e.length);l.set(s[7][0].data);s[7][0].data=l}if(s[4][0].data.length<2*e.length){var o=new Uint8Array(2*e.length);o.set(s[4][0].data);s[4][0].data=o}var c=jg(s[7][0].data),u=0,h=[];var d=jg(s[4][0].data),v=0,p=[];var m=t?4:1;for(var b=0;b1)throw new Error("Template NUMBERS file must have exactly one sheet");e.SheetNames.forEach(function(r,s){if(s>=1){Yw(t,a,s+1);n=$w(t,a,1);i=lw(sw(n.messages[0].data)[1],Tw)}Zw(t,a,e.Sheets[r],r,s,i[s])});return t}function Vw(e,r,t,a){var n=Qe.find(e,r[t].location);if(!n)throw"Could not find ".concat(r[t].location," in Numbers template");var i=ow(hw(n.content));var s=i.find(function(e){return e.id==t});a(s,i);n.content=dw(cw(i));n.size=n.content.length}function $w(e,r,t){var a=Qe.find(e,r[t].location);if(!a)throw"Could not find ".concat(r[t].location," in Numbers template");var n=ow(hw(a.content));var i=n.find(function(e){return e.id==t});return i}function Xw(e,r,t){e[3].push({type:2,data:fw([[],[{type:0,data:rw(r)}],[{type:2,data:Yg(t.replace(/-.*$/,""))}],[{type:2,data:Yg(t)}],[{type:2,data:new Uint8Array([2,0,0])}],[{type:2,data:new Uint8Array([2,0,0])}],[],[],[],[],[{type:0,data:rw(0)}],[],[{type:0,data:rw(0)}]])});e[1]=[{type:0,data:rw(Math.max(r+1,nw(e[1][0].data)))}]}function Gw(e,r,t,a,n,i){if(!i)i=Uw({deps:[],location:"",type:r},n);var s="".concat(a,"-").concat(i,".iwa");n[i].location="Root Entry"+s;Qe.utils.cfb_add(e,s,dw(cw([{id:i,messages:[Mw(r,fw(t))]}])));var f=s.replace(/^[\/]/,"").replace(/^Index\//,"").replace(/\.iwa$/,"");Vw(e,n,2,function(e){var r=sw(e.messages[0].data);Xw(r,i||0,f);e.messages[0].data=fw(r)});return i}function jw(e,r,t,a){var n=r[t].location.replace(/^Root Entry\//,"").replace(/^Index\//,"").replace(/\.iwa$/,"");var i=e[3].findIndex(function(e){var r,t;var a=sw(e.data);if((r=a[3])==null?void 0:r[0])return Kg(a[3][0].data)==n;if(((t=a[2])==null?void 0:t[0])&&Kg(a[2][0].data)==n)return true;return false});var s=sw(e[3][i].data);if(!s[6])s[6]=[];(Array.isArray(a)?a:[a]).forEach(function(e){s[6].push({type:2,data:fw([[],[{type:0,data:rw(e)}]])})});e[3][i].data=fw(s)}function Kw(e,r,t,a){var n=r[t].location.replace(/^Root Entry\//,"").replace(/^Index\//,"").replace(/\.iwa$/,"");var i=e[3].findIndex(function(e){var r,t;var a=sw(e.data);if((r=a[3])==null?void 0:r[0])return Kg(a[3][0].data)==n;if(((t=a[2])==null?void 0:t[0])&&Kg(a[2][0].data)==n)return true;return false});var s=sw(e[3][i].data);if(!s[6])s[6]=[];s[6]=s[6].filter(function(e){return nw(sw(e.data)[1][0].data)!=a});e[3][i].data=fw(s)}function Yw(e,r,t){var a=-1,n=-1;var i={};Vw(e,r,1,function(t,s){var f=sw(t.messages[0].data);a=Tw(sw(t.messages[0].data)[1][0].data);n=Uw({deps:[1],location:r[a].location,type:2},r);i[a]=n;Ew(t,n);f[1].push({type:2,data:yw(n)});var l=$w(e,r,a);l.id=n;if(r[1].location==r[n].location)s.push(l);else Vw(e,r,n,function(e,r){return r.push(l)});t.messages[0].data=fw(f)});var s=-1;Vw(e,r,n,function(t,a){var f=sw(t.messages[0].data);for(var l=3;l<=69;++l)delete f[l];var o=lw(f[2],Tw);o.forEach(function(e){return _w(t,e)});s=Uw({deps:[n],location:r[o[0]].location,type:r[o[0]].type},r);Ew(t,s);i[o[0]]=s;f[2]=[{type:2,data:yw(s)}];var c=$w(e,r,o[0]);c.id=s;if(r[o[0]].location==r[n].location)a.push(c);else{Vw(e,r,2,function(e){var t=sw(e.messages[0].data);jw(t,r,n,s);e.messages[0].data=fw(t)});Vw(e,r,s,function(e,r){return r.push(c)})}t.messages[0].data=fw(f)});var f=-1;Vw(e,r,s,function(t,a){var n=sw(t.messages[0].data);var l=sw(n[1][0].data);for(var o=3;o<=69;++o)delete l[o];var c=Tw(l[2][0].data);l[2][0].data=yw(i[c]);n[1][0].data=fw(l);var u=Tw(n[2][0].data);_w(t,u);f=Uw({deps:[s],location:r[u].location,type:r[u].type},r);Ew(t,f);i[u]=f;n[2][0].data=yw(f);var h=$w(e,r,u);h.id=f;if(r[s].location==r[f].location)a.push(h);else Vw(e,r,f,function(e,r){return r.push(h)});t.messages[0].data=fw(n)});Vw(e,r,f,function(a,n){var s,l;var o=sw(a.messages[0].data);var c=Kg(o[1][0].data),u=c.replace(/-[A-Z0-9]*/,"-".concat(("0000"+t.toString(16)).slice(-4)));o[1][0].data=Yg(u);[12,13,29,31,32,33,39,44,47,81,82,84].forEach(function(e){return delete o[e]});if(o[45]){var h=sw(o[45][0].data);var d=Tw(h[1][0].data);_w(a,d);delete o[45]}if(o[70]){var v=sw(o[70][0].data);(s=v[2])==null?void 0:s.forEach(function(e){var r=sw(e.data);[2,3].map(function(e){return r[e][0]}).forEach(function(e){var r=sw(e.data);if(!r[8])return;var t=Tw(r[8][0].data);_w(a,t)})});delete o[70]}[46,30,34,35,36,38,48,49,60,61,62,63,64,71,72,73,74,75,85,86,87,88,89].forEach(function(e){if(!o[e])return;var r=Tw(o[e][0].data);delete o[e];_w(a,r)});var p=sw(o[4][0].data);{[2,4,5,6,11,12,13,15,16,17,18,19,20,21,22].forEach(function(t){var s;if(!((s=p[t])==null?void 0:s[0]))return;var l=Tw(p[t][0].data);var o=Uw({deps:[f],location:r[l].location,type:r[l].type},r);_w(a,l);Ew(a,o);i[l]=o;var c=$w(e,r,l);c.id=o;if(r[l].location==r[f].location)n.push(c);else{r[o].location=r[l].location.replace(l.toString(),o.toString());if(r[o].location==r[l].location)r[o].location=r[o].location.replace(/\.iwa/,"-".concat(o,".iwa"));Qe.utils.cfb_add(e,r[o].location,dw(cw([c])));var u=r[o].location.replace(/^Root Entry\//,"").replace(/^Index\//,"").replace(/\.iwa$/,"");Vw(e,r,2,function(e){var t=sw(e.messages[0].data);Xw(t,o,u);jw(t,r,f,o);e.messages[0].data=fw(t)})}p[t][0].data=yw(o)});var m=sw(p[1][0].data);{(l=m[2])==null?void 0:l.forEach(function(t){var s=Tw(t.data);var l=Uw({deps:[f],location:r[s].location,type:r[s].type},r);_w(a,s);Ew(a,l);i[s]=l;var o=$w(e,r,s);o.id=l;if(r[s].location==r[f].location){n.push(o)}else{r[l].location=r[s].location.replace(s.toString(),l.toString());if(r[l].location==r[s].location)r[l].location=r[l].location.replace(/\.iwa/,"-".concat(l,".iwa"));Qe.utils.cfb_add(e,r[l].location,dw(cw([o])));var c=r[l].location.replace(/^Root Entry\//,"").replace(/^Index\//,"").replace(/\.iwa$/,"");Vw(e,r,2,function(e){var t=sw(e.messages[0].data);Xw(t,l,c);jw(t,r,f,l);e.messages[0].data=fw(t)})}t.data=yw(l)})}p[1][0].data=fw(m);var b=sw(p[3][0].data);{b[1].forEach(function(t){var n=sw(t.data);var s=Tw(n[2][0].data);var l=i[s];if(!i[s]){l=Uw({deps:[f],location:"",type:r[s].type},r);r[l].location="Root Entry/Index/Tables/Tile-".concat(l,".iwa");i[s]=l;var o=$w(e,r,s);o.id=l;_w(a,s);Ew(a,l);Qe.utils.cfb_add(e,"/Index/Tables/Tile-".concat(l,".iwa"),dw(cw([o])));Vw(e,r,2,function(e){var t=sw(e.messages[0].data);t[3].push({type:2,data:fw([[],[{type:0,data:rw(l)}],[{type:2,data:Yg("Tables/Tile")}],[{type:2,data:Yg("Tables/Tile-".concat(l))}],[{type:2,data:new Uint8Array([2,0,0])}],[{type:2,data:new Uint8Array([2,0,0])}],[],[],[],[],[{type:0,data:rw(0)}],[],[{type:0,data:rw(0)}]])});t[1]=[{type:0,data:rw(Math.max(l+1,nw(t[1][0].data)))}];jw(t,r,f,l);e.messages[0].data=fw(t)})}n[2][0].data=yw(l);t.data=fw(n)})}p[3][0].data=fw(b)}o[4][0].data=fw(p);a.messages[0].data=fw(o)})}function Zw(e,r,t,a,n,i){var s=[];Vw(e,r,i,function(e){var r=sw(e.messages[0].data);{r[1]=[{type:2,data:Yg(a)}];s=lw(r[2],Tw)}e.messages[0].data=fw(r)});var f=$w(e,r,s[0]);var l=Tw(sw(f.messages[0].data)[2][0].data);Vw(e,r,l,function(a,n){return qw(e,r,t,a,n,l)})}var Jw=true;function qw(e,r,t,a,n,i){if(!t["!ref"])throw new Error("Cannot export empty sheet to NUMBERS");var s=Ha(t["!ref"]);s.s.r=s.s.c=0;var f=false;if(s.e.c>999){f=true;s.e.c=999}if(s.e.r>999999){f=true;s.e.r=999999}if(f)console.error("Truncating to ".concat(Va(s)));var l=[];if(t["!data"])l=t["!data"];else{var o=[];for(var c=0;c<=s.e.c;++c)o[c]=La(c);for(var u=0;u<=s.e.r;++u){l[u]=[];var h=""+(u+1);for(c=0;c<=s.e.c;++c){var d=t[o[c]+h];if(!d)continue;l[u][c]=d}}}var v={cmnt:[{a:"~54ee77S~",t:"... the people who are crazy enough to think they can change the world, are the ones who do."}],ferr:[],fmla:[],nfmt:[],ofmt:[],rsst:[{v:"~54ee77S~",l:"https://sheetjs.com/"}],sst:["~Sh33tJ5~"]};var p=sw(a.messages[0].data);{p[6][0].data=rw(s.e.r+1);p[7][0].data=rw(s.e.c+1);delete p[46];var m=sw(p[4][0].data);{var b=Tw(sw(m[1][0].data)[2][0].data);Vw(e,r,b,function(e,r){var t;var a=sw(e.messages[0].data);if((t=a==null?void 0:a[2])==null?void 0:t[0])for(var n=0;n1){var P=Tw(m[19][0].data);var L={},M=0;Vw(e,r,P,function(t){var a=sw(t.messages[0].data);{a[3]=[];v.cmnt.forEach(function(n,i){if(i==0)return;var s=[];if(n.replies)n.replies.forEach(function(t){if(!L[t.a||""])L[t.a||""]=Gw(e,212,[[],[{type:2,data:Yg(t.a||"")}],[{type:2,data:zw(++M)}],[],[{type:0,data:rw(0)}]],"/Index/Tables/DataList",r);var a=L[t.a||""];var n=Gw(e,3056,[[],[{type:2,data:Yg(t.t||"")}],[{type:2,data:fw([[],[{type:1,data:new Uint8Array([0,0,0,128,116,109,182,65])}]])}],[{type:2,data:yw(a)}]],"/Index/Tables/DataList",r);Vw(e,r,n,function(e){return Ew(e,a)});s.push(n);Vw(e,r,2,function(e){var t=sw(e.messages[0].data);jw(t,r,n,a);e.messages[0].data=fw(t)})});if(!L[n.a||""])L[n.a||""]=Gw(e,212,[[],[{type:2,data:Yg(n.a||"")}],[{type:2,data:zw(++M)}],[],[{type:0,data:rw(0)}]],"/Index/Tables/DataList",r);var f=L[n.a||""];var l=Gw(e,3056,[[],[{type:2,data:Yg(n.t||"")}],[{type:2,data:fw([[],[{type:1,data:new Uint8Array([0,0,0,128,116,109,182,65])}]])}],[{type:2,data:yw(f)}],s.map(function(e){return{type:2,data:yw(e)}}),[{type:2,data:fw([[],[{type:0,data:rw(i)}],[{type:0,data:rw(0)}]])}]],"/Index/Tables/DataList",r);Vw(e,r,l,function(e){Ew(e,f);s.forEach(function(r){return Ew(e,r)})});a[3].push({type:2,data:fw([[],[{type:0,data:rw(i)}],[{type:0,data:rw(1)}],[],[],[],[],[],[],[],[{type:2,data:yw(l)}]])});Ew(t,l);Vw(e,r,2,function(e){var t=sw(e.messages[0].data);jw(t,r,P,l);jw(t,r,l,f);if(s.length)jw(t,r,l,s);e.messages[0].data=fw(t)})})}a[2][0].data=rw(v.cmnt.length+1);t.messages[0].data=fw(a)})}}p[4][0].data=fw(m)}a.messages[0].data=fw(p)}function Qw(e){return function r(t){for(var a=0;a!=e.length;++a){var n=e[a];if(t[n[0]]===undefined)t[n[0]]=n[1];if(n[2]==="n")t[n[0]]=Number(t[n[0]])}}}function ek(e){Qw([["cellNF",false],["cellHTML",true],["cellFormula",true],["cellStyles",false],["cellText",true],["cellDates",false],["sheetStubs",false],["sheetRows",0,"n"],["bookDeps",false],["bookSheets",false],["bookProps",false],["bookFiles",false],["bookVBA",false],["password",""],["WTF",false]])(e)}function rk(e){Qw([["cellDates",false],["bookSST",false],["bookType","xlsx"],["compression",false],["WTF",false]])(e)}function tk(e){if(ci.WS.indexOf(e)>-1)return"sheet";if(ci.CS&&e==ci.CS)return"chart";if(ci.DS&&e==ci.DS)return"dialog";if(ci.MS&&e==ci.MS)return"macro";return e&&e.length?e:"sheet"}function ak(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,tk(e["!id"][r.id].Type)]})}catch(t){return null}return!e||e.length===0?null:e}function nk(e,r,t,a,n,i,s,f){if(!e||!e["!legdrawel"])return;var l=jr(e["!legdrawel"].Target,a);var o=zr(t,l,true);if(o)Iu(kt(o),e,f||[])}function ik(e,r,t,a,n,i,s,f,l,o,c,u){try{i[a]=hi(zr(e,t,true),r);var h=Wr(e,r);var d;switch(f){case"sheet":d=ib(h,r,n,l,i[a],o,c,u);break;case"chart":d=sb(h,r,n,l,i[a],o,c,u);if(!d||!d["!drawel"])break;var v=jr(d["!drawel"].Target,r);var p=ui(v);var m=Ru(zr(e,v,true),hi(zr(e,p,true),v));var b=jr(m,v);var g=ui(b);d=Em(zr(e,b,true),b,l,hi(zr(e,g,true),b),o,d);break;case"macro":d=fb(h,r,n,l,i[a],o,c,u);break;case"dialog":d=lb(h,r,n,l,i[a],o,c,u);break;default:throw new Error("Unrecognized sheet type "+f);}s[a]=d;var w=[],k=[];if(i&&i[a])ir(i[a]).forEach(function(t){var n="";if(i[a][t].Type==ci.CMNT){n=jr(i[a][t].Target,r);w=ub(Wr(e,n,true),n,l);if(!w||!w.length)return;Du(d,w,false)}if(i[a][t].Type==ci.TCMNT){n=jr(i[a][t].Target,r);k=k.concat(Mu(Wr(e,n,true),l))}});if(k&&k.length)Du(d,k,true,l.people||[]);nk(d,f,e,r,n,l,o,w)}catch(T){if(l.WTF)throw T}}function sk(e){return e.charAt(0)=="/"?e.slice(1):e}function fk(e,r){$e();r=r||{};ek(r);if(Ur(e,"META-INF/manifest.xml"))return Bg(e,r);if(Ur(e,"objectdata.xml"))return Bg(e,r);if(Ur(e,"Index/Document.iwa")){if(typeof Uint8Array=="undefined")throw new Error("NUMBERS file parsing requires Uint8Array support");if(typeof Pw!="undefined"){if(e.FileIndex)return Pw(e,r);var t=Qe.utils.cfb_new();Vr(e).forEach(function(r){$r(t,r,Hr(e,r))});return Pw(t,r)}throw new Error("Unsupported NUMBERS file")}if(!Ur(e,"[Content_Types].xml")){if(Ur(e,"index.xml.gz"))throw new Error("Unsupported NUMBERS 08 file");if(Ur(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");var a=Qe.find(e,"Index.zip");if(a){r=Tr(r);delete r.type;if(typeof a.content=="string")r.type="binary";if(typeof Bun!=="undefined"&&Buffer.isBuffer(a.content))return wk(new Uint8Array(a.content),r);return wk(a.content,r)}throw new Error("Unsupported ZIP file")}var n=Vr(e);var i=li(zr(e,"[Content_Types].xml"));var s=false;var f,l;if(i.workbooks.length===0){l="xl/workbook.xml";if(Wr(e,l,true))i.workbooks.push(l)}if(i.workbooks.length===0){l="xl/workbook.bin";if(!Wr(e,l,true))throw new Error("Could not find workbook");i.workbooks.push(l);s=true; -}if(i.workbooks[0].slice(-3)=="bin")s=true;var o={};var c={};if(!r.bookSheets&&!r.bookProps){mv=[];if(i.sst)try{mv=cb(Wr(e,sk(i.sst)),i.sst,r)}catch(u){if(r.WTF)throw u}if(r.cellStyles&&i.themes.length)o=au(zr(e,i.themes[0].replace(/^\//,""),true)||"",r);if(i.style)c=ob(Wr(e,sk(i.style)),i.style,o,r)}i.links.map(function(t){try{var a=hi(zr(e,ui(sk(t))),t);return db(Wr(e,sk(t)),a,t,r)}catch(n){}});var h=nb(Wr(e,sk(i.workbooks[0])),i.workbooks[0],r);var d={},v="";if(i.coreprops.length){v=Wr(e,sk(i.coreprops[0]),true);if(v)d=_i(v);if(i.extprops.length!==0){v=Wr(e,sk(i.extprops[0]),true);if(v)Oi(v,d,r)}}var p={};if(!r.bookSheets||r.bookProps){if(i.custprops.length!==0){v=zr(e,sk(i.custprops[0]),true);if(v)p=Fi(v,r)}}var m={};if(r.bookSheets||r.bookProps){if(h.Sheets)f=h.Sheets.map(function N(e){return e.name});else if(d.Worksheets&&d.SheetNames.length>0)f=d.SheetNames;if(r.bookProps){m.Props=d;m.Custprops=p}if(r.bookSheets&&typeof f!=="undefined")m.SheetNames=f;if(r.bookSheets?m.SheetNames:r.bookProps)return m}f={};var b={};if(r.bookDeps&&i.calcchain)b=hb(Wr(e,sk(i.calcchain)),i.calcchain,r);var g=0;var w={};var k,T;{var y=h.Sheets;d.Worksheets=y.length;d.SheetNames=[];for(var E=0;E!=y.length;++E){d.SheetNames[E]=y[E].name}}var _=s?"bin":"xml";var S=i.workbooks[0].lastIndexOf("/");var x=(i.workbooks[0].slice(0,S+1)+"_rels/"+i.workbooks[0].slice(S+1)+".rels").replace(/^\//,"");if(!Ur(e,x))x="xl/_rels/workbook."+_+".rels";var A=hi(zr(e,x,true),x.replace(/_rels.*/,"s5s"));if((i.metadata||[]).length>=1){r.xlmeta=vb(Wr(e,sk(i.metadata[0])),i.metadata[0],r)}if((i.people||[]).length>=1){r.people=Bu(Wr(e,sk(i.people[0])),r)}if(A)A=ak(A,h.Sheets);var C=Wr(e,"xl/worksheets/sheet.xml",true)?1:0;e:for(g=0;g!=d.Worksheets;++g){var R="sheet";if(A&&A[g]){k="xl/"+A[g][1].replace(/[\/]?xl\//,"");if(!Ur(e,k))k=A[g][1];if(!Ur(e,k))k=x.replace(/_rels\/.*$/,"")+A[g][1];R=A[g][2]}else{k="xl/worksheets/sheet"+(g+1-C)+"."+_;k=k.replace(/sheet0\./,"sheet.")}T=k.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels");if(r&&r.sheets!=null)switch(typeof r.sheets){case"number":if(g!=r.sheets)continue e;break;case"string":if(d.SheetNames[g].toLowerCase()!=r.sheets.toLowerCase())continue e;break;default:if(Array.isArray&&Array.isArray(r.sheets)){var O=false;for(var I=0;I!=r.sheets.length;++I){if(typeof r.sheets[I]=="number"&&r.sheets[I]==g)O=1;if(typeof r.sheets[I]=="string"&&r.sheets[I].toLowerCase()==d.SheetNames[g].toLowerCase())O=1}if(!O)continue e};}ik(e,k,T,d.SheetNames[g],g,w,f,R,r,h,o,c)}m={Directory:i,Workbook:h,Props:d,Custprops:p,Deps:b,Sheets:f,SheetNames:d.SheetNames,Strings:mv,Styles:c,Themes:o,SSF:Tr(q)};if(r&&r.bookFiles){if(e.files){m.keys=n;m.files=e.files}else{m.keys=[];m.files={};e.FullPaths.forEach(function(r,t){r=r.replace(/^Root Entry[\/]/,"");m.keys.push(r);m.files[r]=e.FileIndex[t]})}}if(r&&r.bookVBA){if(i.vba.length>0)m.vbaraw=Wr(e,sk(i.vba[0]),true);else if(i.defaults&&i.defaults.bin===ju)m.vbaraw=Wr(e,"xl/vbaProject.bin",true)}m.bookType=s?"xlsb":"xlsx";return m}function lk(e,r){var t=r||{};var a="Workbook",n=Qe.find(e,a);try{a="/!DataSpaces/Version";n=Qe.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);wo(n.content);a="/!DataSpaces/DataSpaceMap";n=Qe.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var i=To(n.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 "+a);a="/!DataSpaces/DataSpaceInfo/StrongEncryptionDataSpace";n=Qe.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var s=yo(n.content);if(s.length!=1||s[0]!="StrongEncryptionTransform")throw new Error("ECMA-376 Encrypted file bad "+a);a="/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary";n=Qe.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);_o(n.content)}catch(f){}a="/EncryptionInfo";n=Qe.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var l=Ao(n.content);a="/EncryptedPackage";n=Qe.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);if(l[0]==4&&typeof decrypt_agile!=="undefined")return decrypt_agile(l[1],n.content,t.password||"",t);if(l[0]==2&&typeof decrypt_std76!=="undefined")return decrypt_std76(l[1],n.content,t.password||"",t);throw new Error("File is password-protected")}function ok(e,r){if(e&&!e.SSF){e.SSF=Tr(q)}if(e&&e.SSF){$e();Ve(e.SSF);r.revssf=lr(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;if(gv)r.revStrings=new Map;else{r.revStrings={};r.revStrings.foo=[];delete r.revStrings.foo}var t="bin";var a=true;var n=fi();rk(r=r||{});var i=Xr();var s="",f=0;r.cellXfs=[];yv(r.cellXfs,{},{revssf:{General:0}});if(!e.Props)e.Props={};s="docProps/core.xml";$r(i,s,xi(e.Props,r));n.coreprops.push(s);vi(r.rels,2,s,ci.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{var l=[];for(var o=0;o0){s="docProps/custom.xml";$r(i,s,Di(e.Custprops,r));n.custprops.push(s);vi(r.rels,4,s,ci.CUST_PROPS)}var c=["SheetJ5"];r.tcid=0;for(f=1;f<=e.SheetNames.length;++f){var u={"!id":{}};var h=e.Sheets[e.SheetNames[f-1]];var d=(h||{})["!type"]||"sheet";switch(d){case"chart":;default:s="xl/worksheets/sheet"+f+"."+t;$r(i,s,Tm(f-1,r,e,u));n.sheets.push(s);vi(r.wbrels,-1,"worksheets/sheet"+f+"."+t,ci.WS[0]);}if(h){var v=h["!comments"];var p=false;var m="";if(v&&v.length>0){var b=false;v.forEach(function(e){e[1].forEach(function(e){if(e.T==true)b=true})});if(b){m="xl/threadedComments/threadedComment"+f+".xml";$r(i,m,Uu(v,c,r));n.threadedcomments.push(m);vi(u,-1,"../threadedComments/threadedComment"+f+".xml",ci.TCMNT)}m="xl/comments"+f+"."+t;$r(i,m,Gu(v,r));n.comments.push(m);vi(u,-1,"../comments"+f+"."+t,ci.CMNT);p=true}if(h["!legacy"]){if(p)$r(i,"xl/drawings/vmlDrawing"+f+".vml",Nu(f,h["!comments"]))}delete h["!comments"];delete h["!legacy"]}if(u["!id"].rId1)$r(i,ui(s),di(u))}if(r.Strings!=null&&r.Strings.length>0){s="xl/sharedStrings."+t;$r(i,s,mo(r.Strings,r));n.strs.push(s);vi(r.wbrels,-1,"sharedStrings."+t,ci.SST)}s="xl/workbook."+t;$r(i,s,ab(e,r));n.workbooks.push(s);vi(r.rels,1,s,ci.WB);s="xl/theme/theme1.xml";var g=nu(e.Themes,r);$r(i,s,g);n.themes.push(s);vi(r.wbrels,-1,"theme/theme1.xml",ci.THEME);s="xl/styles."+t;$r(i,s,jc(e,r));n.styles.push(s);vi(r.wbrels,-1,"styles."+t,ci.STY);if(e.vbaraw&&a){s="xl/vbaProject.bin";$r(i,s,e.vbaraw);n.vba.push(s);vi(r.wbrels,-1,"vbaProject.bin",ci.VBA)}s="xl/metadata."+t;$r(i,s,Tu());n.metadata.push(s);vi(r.wbrels,-1,"metadata."+t,ci.XLMETA);if(c.length>1){s="xl/persons/person.xml";$r(i,s,Wu(c,r));n.people.push(s);vi(r.wbrels,-1,"persons/person.xml",ci.PEOPLE)}$r(i,"[Content_Types].xml",oi(n,r));$r(i,"_rels/.rels",di(r.rels));$r(i,"xl/_rels/workbook."+t+".rels",di(r.wbrels));delete r.revssf;delete r.ssf;return i}function ck(e,r){if(e&&!e.SSF){e.SSF=Tr(q)}if(e&&e.SSF){$e();Ve(e.SSF);r.revssf=lr(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;if(gv)r.revStrings=new Map;else{r.revStrings={};r.revStrings.foo=[];delete r.revStrings.foo}var t="xml";var a=Zu.indexOf(r.bookType)>-1;var n=fi();rk(r=r||{});var i=Xr();var s="",f=0;r.cellXfs=[];yv(r.cellXfs,{},{revssf:{General:0}});if(!e.Props)e.Props={};s="docProps/core.xml";$r(i,s,xi(e.Props,r));n.coreprops.push(s);vi(r.rels,2,s,ci.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{var l=[];for(var o=0;o0){s="docProps/custom.xml";$r(i,s,Di(e.Custprops,r));n.custprops.push(s);vi(r.rels,4,s,ci.CUST_PROPS)}var c=["SheetJ5"];r.tcid=0;for(f=1;f<=e.SheetNames.length;++f){var u={"!id":{}};var h=e.Sheets[e.SheetNames[f-1]];var d=(h||{})["!type"]||"sheet";switch(d){case"chart":;default:s="xl/worksheets/sheet"+f+"."+t;$r(i,s,ap(f-1,r,e,u));n.sheets.push(s);vi(r.wbrels,-1,"worksheets/sheet"+f+"."+t,ci.WS[0]);}if(h){var v=h["!comments"];var p=false;var m="";if(v&&v.length>0){var b=false;v.forEach(function(e){e[1].forEach(function(e){if(e.T==true)b=true})});if(b){m="xl/threadedComments/threadedComment"+f+".xml";$r(i,m,Uu(v,c,r));n.threadedcomments.push(m);vi(u,-1,"../threadedComments/threadedComment"+f+".xml",ci.TCMNT)}m="xl/comments"+f+"."+t;$r(i,m,Lu(v,r));n.comments.push(m);vi(u,-1,"../comments"+f+"."+t,ci.CMNT);p=true}if(h["!legacy"]){if(p)$r(i,"xl/drawings/vmlDrawing"+f+".vml",Nu(f,h["!comments"]))}delete h["!comments"];delete h["!legacy"]}if(u["!id"].rId1)$r(i,ui(s),di(u))}if(r.Strings!=null&&r.Strings.length>0){s="xl/sharedStrings."+t;$r(i,s,co(r.Strings,r));n.strs.push(s);vi(r.wbrels,-1,"sharedStrings."+t,ci.SST)}s="xl/workbook."+t;$r(i,s,zm(e,r));n.workbooks.push(s);vi(r.rels,1,s,ci.WB);s="xl/theme/theme1.xml";$r(i,s,nu(e.Themes,r));n.themes.push(s);vi(r.wbrels,-1,"theme/theme1.xml",ci.THEME);s="xl/styles."+t;$r(i,s,kc(e,r));n.styles.push(s);vi(r.wbrels,-1,"styles."+t,ci.STY);if(e.vbaraw&&a){s="xl/vbaProject.bin";$r(i,s,e.vbaraw);n.vba.push(s);vi(r.wbrels,-1,"vbaProject.bin",ci.VBA)}s="xl/metadata."+t;$r(i,s,Eu());n.metadata.push(s);vi(r.wbrels,-1,"metadata."+t,ci.XLMETA);if(c.length>1){s="xl/persons/person.xml";$r(i,s,Wu(c,r));n.people.push(s);vi(r.wbrels,-1,"persons/person.xml",ci.PEOPLE)}$r(i,"[Content_Types].xml",oi(n,r));$r(i,"_rels/.rels",di(r.rels));$r(i,"xl/_rels/workbook."+t+".rels",di(r.wbrels));delete r.revssf;delete r.ssf;return i}function uk(e,r){var t="";switch((r||{}).type||"base64"){case"buffer":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":t=_(e.slice(0,12));break;case"binary":t=e;break;case"array":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];default:throw new Error("Unrecognized type "+(r&&r.type||"undefined"));}return[t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3),t.charCodeAt(4),t.charCodeAt(5),t.charCodeAt(6),t.charCodeAt(7)]}function hk(e,r){if(Qe.find(e,"EncryptedPackage"))return lk(e,r);return Jb(e,r)}function dk(e,r){var t,a=e;var n=r||{};if(!n.type)n.type=S&&Buffer.isBuffer(e)?"buffer":"base64";t=Gr(a,n);return fk(t,n)}function vk(e,r){var t=0;e:while(t=2&&i[3]===0)return Jl.to_workbook(n,t);if(i[2]===0&&(i[3]===8||i[3]===9))return Jl.to_workbook(n,t)}break;case 3:;case 131:;case 139:;case 140:return Xl.to_workbook(n,t);case 123:if(i[1]===92&&i[2]===114&&i[3]===116)return Ho(n,t);break;case 10:;case 13:;case 32:return pk(n,t);case 137:if(i[1]===80&&i[2]===78&&i[3]===71)throw new Error("PNG Image File is not a spreadsheet");break;case 8:if(i[1]===231)throw new Error("Unsupported Multiplan 1.x file!");break;case 12:if(i[1]===236)throw new Error("Unsupported Multiplan 2.x file!");if(i[1]===237)throw new Error("Unsupported Multiplan 3.x file!");break;}if($l.indexOf(i[0])>-1&&i[2]<=12&&i[3]<=31)return Xl.to_workbook(n,t);return gk(e,n,t,s)}function kk(e,r){var t=r||{};t.type="file";return wk(e,t)}function Tk(e,r){switch(r.type){case"base64":;case"binary":break;case"buffer":;case"array":r.type="";break;case"file":return ar(r.file,Qe.write(e,{type:S?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+r.bookType+"' files");default:throw new Error("Unrecognized type "+r.type);}return Qe.write(e,r)}function yk(e,r){switch(r.bookType){case"ods":return Xg(e,r);case"numbers":return Hw(e,r);case"xlsb":return ok(e,r);default:return ck(e,r);}}function Ek(e,r){var t=Tr(r||{});var a=yk(e,t);return Sk(a,t)}function _k(e,r){var t=Tr(r||{});var a=ck(e,t);return Sk(a,t)}function Sk(e,r){var t={};var a=S?"nodebuffer":typeof Uint8Array!=="undefined"?"array":"string";if(r.compression)t.compression="DEFLATE";if(r.password)t.type=a;else switch(r.type){case"base64":t.type="base64";break;case"binary":t.type="string";break;case"string":throw new Error("'string' output type invalid for '"+r.bookType+"' files");case"buffer":;case"file":t.type=a;break;default:throw new Error("Unrecognized type "+r.type);}var n=e.FullPaths?Qe.write(e,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[t.type]||t.type,compression:!!r.compression}):e.generate(t);if(typeof Deno!=="undefined"){if(typeof n=="string"){if(r.type=="binary"||r.type=="base64")return n;n=new Uint8Array(I(n))}}if(r.password&&typeof encrypt_agile!=="undefined")return Tk(encrypt_agile(n,r.password),r);if(r.type==="file")return ar(r.file,n);return r.type=="string"?kt(n):n}function xk(e,r){var t=r||{};var a=qb(e,t);return Tk(a,t)}function Ak(e,r,t){if(!t)t="";var a=t+e;switch(r.type){case"base64":return T(Tt(a));case"binary":return Tt(a);case"string":return e;case"file":return ar(r.file,a,"utf8");case"buffer":{if(S)return x(a,"utf8");else if(typeof TextEncoder!=="undefined")return(new TextEncoder).encode(a);else return Ak(a,{type:"binary"}).split("").map(function(e){return e.charCodeAt(0)})};}throw new Error("Unrecognized type "+r.type)}function Ck(e,r){switch(r.type){case"base64":return y(e);case"binary":return e;case"string":return e;case"file":return ar(r.file,e,"binary");case"buffer":{if(S)return x(e,"binary");else return e.split("").map(function(e){return e.charCodeAt(0)})};}throw new Error("Unrecognized type "+r.type)}function Rk(e,r){switch(r.type){case"string":;case"base64":;case"binary":var t="";for(var a=0;a0)n=0;var u=Na(l.s.r);var h=[];var d=[];var v=0,p=0;var m=e["!data"]!=null;var b=l.s.r,g=0;var w={};if(m&&!e["!data"][b])e["!data"][b]=[];var k=o.skipHidden&&e["!cols"]||[];var T=o.skipHidden&&e["!rows"]||[];for(g=l.s.c;g<=l.e.c;++g){if((k[g]||{}).hidden)continue;h[g]=La(g);t=m?e["!data"][b][g]:e[h[g]+u];switch(a){case 1:i[g]=g-l.s.c;break;case 2:i[g]=h[g];break;case 3:i[g]=o.header[g-l.s.c];break;default:if(t==null)t={w:"__EMPTY",t:"s"};f=s=Ka(t,null,o);p=w[s]||0;if(!p)w[s]=1;else{do{f=s+"_"+p++}while(w[f]);w[s]=p;w[f]=1}i[g]=f;}}for(b=l.s.r+n;b<=l.e.r;++b){if((T[b]||{}).hidden)continue;var y=Lk(e,l,b,h,a,i,o);if(y.isempty===false||(a===1?o.blankrows!==false:!!o.blankrows))d[v++]=y.row}d.length=v;return d}var Uk=/"/g;function Bk(e,r,t,a,n,i,s,f){var l=true;var o=[],c="",u=Na(t);var h=e["!data"]!=null;var d=h&&e["!data"][t]||[];for(var v=r.s.c;v<=r.e.c;++v){if(!a[v])continue;var p=h?d[v]:e[a[v]+u];if(p==null)c="";else if(p.v!=null){l=false;c=""+(f.rawNumbers&&p.t=="n"?p.v:Ka(p,null,f));for(var m=0,b=0;m!==c.length;++m)if((b=c.charCodeAt(m))===n||b===i||b===34||f.forceQuotes){c='"'+c.replace(Uk,'""')+'"';break}if(c=="ID")c='"ID"'}else if(p.f!=null&&!p.F){l=false;c="="+p.f;if(c.indexOf(",")>=0)c='"'+c.replace(Uk,'""')+'"'}else c="";o.push(c)}if(f.blankrows===false&&l)return null;return o.join(s)}function Wk(e,r){var t=[];var a=r==null?{}:r;if(e==null||e["!ref"]==null)return"";var n=Ga(e["!ref"]);var i=a.FS!==undefined?a.FS:",",s=i.charCodeAt(0);var f=a.RS!==undefined?a.RS:"\n",l=f.charCodeAt(0);var o=new RegExp((i=="|"?"\\|":i)+"+$");var c="",u=[];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]=La(v);var p=0;for(var m=n.s.r;m<=n.e.r;++m){if((d[m]||{}).hidden)continue;c=Bk(e,n,m,u,s,l,i,a);if(c==null){continue}if(a.strip)c=c.replace(o,"");if(c||a.blankrows!==false)t.push((p++?f:"")+c)}return t.join("")}function zk(e,r){if(!r)r={};r.FS="\t";r.RS="\n";var t=Wk(e,r);if(typeof a=="undefined"||r.type=="string")return t;var n=a.utils.encode(1200,t,"str");return String.fromCharCode(255)+String.fromCharCode(254)+n}function Hk(e){var r="",t,a="";if(e==null||e["!ref"]==null)return[];var n=Ga(e["!ref"]),i="",s=[],f;var l=[];var o=e["!data"]!=null;for(f=n.s.c;f<=n.e.c;++f)s[f]=La(f);for(var c=n.s.r;c<=n.e.r;++c){i=Na(c);for(f=n.s.c;f<=n.e.c;++f){r=s[f]+i;t=o?(e["!data"][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;l[l.length]=r+"="+a}}return l}function Vk(e,r,t){var a=t||{};var n=e?e["!data"]!=null:a.dense;if(g!=null&&n==null)n=g;var i=+!a.skipHeader;var s=e||{};if(!e&&n)s["!data"]=[];var f=0,l=0;if(s&&a.origin!=null){if(typeof a.origin=="number")f=a.origin;else{var o=typeof a.origin=="string"?Wa(a.origin):a.origin;f=o.r;l=o.c}}var c={s:{c:0,r:0},e:{c:l,r:f+r.length-1+i}};if(s["!ref"]){var u=Ga(s["!ref"]);c.e.c=Math.max(c.e.c,u.e.c);c.e.r=Math.max(c.e.r,u.e.r);if(f==-1){f=u.e.r+1;c.e.r=f+r.length-1+i}}else{if(f==-1){f=0;c.e.r=r.length-1+i}}var h=a.header||[],d=0;var v=[];r.forEach(function(e,r){if(n&&!s["!data"][f+r+i])s["!data"][f+r+i]=[];if(n)v=s["!data"][f+r+i];ir(e).forEach(function(t){if((d=h.indexOf(t))==-1)h[d=h.length]=t;var o=e[t];var c="z";var u="";var p=n?"":La(l+d)+Na(f+r+i);var m=n?v[l+d]:s[p];if(o&&typeof o==="object"&&!(o instanceof Date)){if(n)v[l+d]=o;else s[p]=o}else{if(typeof o=="number")c="n";else if(typeof o=="boolean")c="b";else if(typeof o=="string")c="s";else if(o instanceof Date){c="d";if(!a.UTC)o=Dr(o);if(!a.cellDates){c="n";o=dr(o)}u=m!=null&&m.z&&Le(m.z)?m.z:a.dateNF||q[14]}else if(o===null&&a.nullError){c="e";o=0}if(!m){if(!n)s[p]=m={t:c,v:o};else v[l+d]=m={t:c,v:o}}else{m.t=c;m.v=o;delete m.w;delete m.R;if(u)m.z=u}if(u)m.z=u}})});c.e.c=Math.max(c.e.c,l+h.length-1);var p=Na(f);if(n&&!s["!data"][f])s["!data"][f]=[];if(i)for(d=0;d=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+"|")}function jk(e,r){var t={SheetNames:[],Sheets:{}};if(e)Kk(t,e,r||"Sheet1");return t}function Kk(e,r,t,a){var n=1;if(!t)for(;n<=65535;++n,t=undefined)if(e.SheetNames.indexOf(t="Sheet"+n)==-1)break;if(!t||e.SheetNames.length>=65535)throw new Error("Too many worksheets");if(a&&e.SheetNames.indexOf(t)>=0){var i=t.match(/(^.*?)(\d+)$/);n=i&&+i[2]||0;var s=i&&i[1]||t;for(++n;n<=65535;++n)if(e.SheetNames.indexOf(t=s+n)==-1)break}Lm(t);if(e.SheetNames.indexOf(t)>=0)throw new Error("Worksheet with name |"+t+"| already exists!");e.SheetNames.push(t);e.Sheets[t]=r;return t}function Yk(e,r,t){if(!e.Workbook)e.Workbook={};if(!e.Workbook.Sheets)e.Workbook.Sheets=[];var a=Gk(e,r);if(!e.Workbook.Sheets[a])e.Workbook.Sheets[a]={};switch(t){case 0:;case 1:;case 2:break;default:throw new Error("Bad sheet visibility setting "+t);}e.Workbook.Sheets[a].Hidden=t}function Zk(e,r){e.z=r;return e}function Jk(e,r,t){if(!r){delete e.l}else{e.l={Target:r};if(t)e.l.Tooltip=t}return e}function qk(e,r,t){return Jk(e,"#"+r,t)}function Qk(e,r,t){if(!e.c)e.c=[];e.c.push({t:r,a:t||"SheetJS"})}function eT(e,r,t,a){var n=typeof r!="string"?r:Ga(r);var i=typeof r=="string"?r:Va(r);for(var s=n.s.r;s<=n.e.r;++s)for(var f=n.s.c;f<=n.e.c;++f){var l=Xk(e,s,f);l.t="n";l.F=i;delete l.v;if(s==n.s.r&&f==n.s.c){l.f=t;if(a)l.D=true}}var o=Ha(e["!ref"]);if(o.s.r>n.s.r)o.s.r=n.s.r;if(o.s.c>n.s.c)o.s.c=n.s.c;if(o.e.rs.e.r){if(!l){l=true;t.push(""+i)}return t.push(null)}while(f<=s.e.r){t.push(Sg(e,s,f,a));++f;break}};return t}function sT(e,r){var t=tT({objectMode:true});if(e==null||e["!ref"]==null){t.push(null);return t}var a={t:"n",v:0},n=0,i=1,s=[],f=0,l="";var o={s:{r:0,c:0},e:{r:0,c:0}};var c=r||{};var u=c.range!=null?c.range:e["!ref"];if(c.header===1)n=1;else if(c.header==="A")n=2;else if(Array.isArray(c.header))n=3;switch(typeof u){case"string":o=Ga(u);break;case"number":o=Ga(e["!ref"]);o.s.r=u;break;default:o=u;}if(n>0)i=0;var h=Na(o.s.r);var d=[];var v=0;var p=e["!data"]!=null;var m=o.s.r,b=0;var g={};if(p&&!e["!data"][m])e["!data"][m]=[];var w=c.skipHidden&&e["!cols"]||[];var k=c.skipHidden&&e["!rows"]||[];for(b=o.s.c;b<=o.e.c;++b){if((w[b]||{}).hidden)continue;d[b]=La(b);a=p?e["!data"][m][b]:e[d[b]+h];switch(n){case 1:s[b]=b-o.s.c;break;case 2:s[b]=d[b];break;case 3:s[b]=c.header[b-o.s.c];break;default:if(a==null)a={w:"__EMPTY",t:"s"};l=f=Ka(a,null,c);v=g[f]||0;if(!v)g[f]=1;else{do{l=f+"_"+v++}while(g[l]);g[f]=v;g[l]=1}s[b]=l;}}m=o.s.r+i;t._read=function(){while(m<=o.e.r){if((k[m-1]||{}).hidden)continue;var r=Lk(e,o,m,d,n,s,c);++m;if(r.isempty===false||(n===1?c.blankrows!==false:!!c.blankrows)){t.push(r.row);return}}return t.push(null)};return t}var fT={to_json:sT,to_html:iT,to_csv:nT,set_readable:aT};if(typeof Jb!=="undefined")e.parse_xlscfb=Jb;e.parse_zip=fk;e.read=wk;e.readFile=kk;e.readFileSync=kk;e.write=Ik;e.writeFile=Fk;e.writeFileSync=Fk;e.writeFileAsync=Pk;e.utils=rT;e.writeXLSX=Ok;e.writeFileXLSX=Dk;e.set_fs=rr;e.set_cptable=b;e.SSF=Xe;if(typeof fT!=="undefined")e.stream=fT;if(typeof Qe!=="undefined")e.CFB=Qe;if(typeof require!=="undefined"){var lT=undefined;if((lT||{}).Readable)aT(lT.Readable);try{er=undefined}catch(ah){}}}if(typeof exports!=="undefined")make_xlsx_lib(exports);else if(typeof module!=="undefined"&&module.exports)make_xlsx_lib(module.exports);else if(typeof define==="function"&&define.amd)define("xlsx",function(){if(!XLSX.version)make_xlsx_lib(XLSX);return XLSX});else make_xlsx_lib(XLSX);if(typeof window!=="undefined"&&!window.XLSX)try{window.XLSX=XLSX}catch(e){} +var XLSX={};function make_xlsx_lib(e){e.version="0.20.2";var r=1200,t=1252;var a;var n=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4];var i={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 s=function(e){if(n.indexOf(e)==-1)return;t=i[0]=e};function f(){s(1252)}var l=function(e){r=e;s(e)};function o(){l(1200);f()}function c(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 h(e){var r=[];for(var t=0;t>1;++t)r[t]=String.fromCharCode(e[2*t]+(e[2*t+1]<<8));return r.join("")}function d(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 v=function(e){var r=e.charCodeAt(0),t=e.charCodeAt(1);if(r==255&&t==254)return u(e.slice(2));if(r==254&&t==255)return d(e.slice(2));if(r==65279)return e.slice(1);return e};var p=function iT(e){return String.fromCharCode(e)};var m=function sT(e){return String.fromCharCode(e)};function b(e){a=e;l=function(e){r=e;s(e)};v=function(e){if(e.charCodeAt(0)===255&&e.charCodeAt(1)===254){return a.utils.decode(1200,c(e.slice(2)))}return e};p=function n(e){if(r===1200)return String.fromCharCode(e);return a.utils.decode(r,[e&255,e>>8])[0]};m=function i(e){return a.utils.decode(t,[e])[0]};pa()}var g=null;var w=true;var k="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function T(e){var r="";var t=0,a=0,n=0,i=0,s=0,f=0,l=0;for(var o=0;o>2;a=e.charCodeAt(o++);s=(t&3)<<4|a>>4;n=e.charCodeAt(o++);f=(a&15)<<2|n>>6;l=n&63;if(isNaN(a)){f=l=64}else if(isNaN(n)){l=64}r+=k.charAt(i)+k.charAt(s)+k.charAt(f)+k.charAt(l)}return r}function y(e){var r="";var t=0,a=0,n=0,i=0,s=0,f=0,l=0;for(var o=0;o255)t=95;i=t>>2;a=e.charCodeAt(o++);if(a>255)a=95;s=(t&3)<<4|a>>4;n=e.charCodeAt(o++);if(n>255)n=95;f=(a&15)<<2|n>>6;l=n&63;if(isNaN(a)){f=l=64}else if(isNaN(n)){l=64}r+=k.charAt(i)+k.charAt(s)+k.charAt(f)+k.charAt(l)}return r}function E(e){var r="";var t=0,a=0,n=0,i=0,s=0,f=0,l=0;for(var o=0;o>2;a=e[o++];s=(t&3)<<4|a>>4;n=e[o++];f=(a&15)<<2|n>>6;l=n&63;if(isNaN(a)){f=l=64}else if(isNaN(n)){l=64}r+=k.charAt(i)+k.charAt(s)+k.charAt(f)+k.charAt(l)}return r}function _(e){var r="";var t=0,a=0,n=0,i=0,s=0,f=0,l=0;if(e.slice(0,5)=="data:"){var o=e.slice(0,1024).indexOf(";base64,");if(o>-1)e=e.slice(o+8)}e=e.replace(/[^\w\+\/\=]/g,"");for(var o=0;o>4;r+=String.fromCharCode(t);f=k.indexOf(e.charAt(o++));a=(s&15)<<4|f>>2;if(f!==64){r+=String.fromCharCode(a)}l=k.indexOf(e.charAt(o++));n=(f&3)<<6|l;if(l!==64){r+=String.fromCharCode(n)}}return r}var S=function(){return typeof Buffer!=="undefined"&&typeof undefined!=="undefined"&&typeof{}!=="undefined"&&!!{}.node}();var x=function(){if(typeof Buffer!=="undefined"){var e=!Buffer.from;if(!e)try{Buffer.from("foo","utf8")}catch(r){e=true}return e?function(e,r){return r?new Buffer(e,r):new Buffer(e)}:Buffer.from.bind(Buffer)}return function(){}}();var A=function(){if(typeof Buffer==="undefined")return false;var e=x([65,0]);if(!e)return false;var r=e.toString("utf16le");return r.length==1}();function C(e){if(S)return Buffer.alloc?Buffer.alloc(e):new Buffer(e);return typeof Uint8Array!="undefined"?new Uint8Array(e):new Array(e)}function I(e){if(S)return Buffer.allocUnsafe?Buffer.allocUnsafe(e):new Buffer(e);return typeof Uint8Array!="undefined"?new Uint8Array(e):new Array(e)}var O=function fT(e){if(S)return x(e,"binary");return e.split("").map(function(e){return e.charCodeAt(0)&255})};function R(e){if(typeof ArrayBuffer==="undefined")return O(e);var r=new ArrayBuffer(e.length),t=new Uint8Array(r);for(var a=0;a!=e.length;++a)t[a]=e.charCodeAt(a)&255;return r}function N(e){if(Array.isArray(e))return e.map(function(e){return String.fromCharCode(e)}).join("");var r=[];for(var t=0;t>6&31;n[t++]=128|s&63}else if(s>=55296&&s<57344){s=(s&1023)+64;var f=e.charCodeAt(++i)&1023;n[t++]=240|s>>8&7;n[t++]=128|s>>2&63;n[t++]=128|f>>6&15|(s&3)<<4;n[t++]=128|f&63}else{n[t++]=224|s>>12&15;n[t++]=128|s>>6&63;n[t++]=128|s&63}if(t>a){r.push(n.slice(0,t));t=0;n=C(65535);a=65530}}r.push(n.slice(0,t));return P(r)}var M=/\u0000/g,U=/[\u0001-\u0006]/g;function B(e){var r="",t=e.length-1;while(t>=0)r+=e.charAt(t--);return r}function W(e,r){var t=""+e;return t.length>=r?t:yr("0",r-t.length)+t}function z(e,r){var t=""+e;return t.length>=r?t:yr(" ",r-t.length)+t}function H(e,r){var t=""+e;return t.length>=r?t:t+yr(" ",r-t.length)}function V(e,r){var t=""+Math.round(e);return t.length>=r?t:yr("0",r-t.length)+t}function X(e,r){var t=""+e;return t.length>=r?t:yr("0",r-t.length)+t}var G=Math.pow(2,32);function j(e,r){if(e>G||e<-G)return V(e,r);var t=Math.round(e);return X(t,r)}function K(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 Y=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]];var Z=[["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 J(e){if(!e)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"秒 "';return e}var q={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"上午/下午 "hh"時"mm"分"ss"秒 "'};var Q={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0};var ee={5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',41:'_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function re(e,r,t){var a=e<0?-1:1;var n=e*a;var i=0,s=1,f=0;var l=1,o=0,c=0;var u=Math.floor(n);while(or){if(o>r){c=l;f=i}else{c=o;f=s}}if(!t)return[0,a*f,c];var h=Math.floor(a*f/c);return[h,a*f-h*c,c]}function te(e){var r=e.toPrecision(16);if(r.indexOf("e")>-1){var t=r.slice(0,r.indexOf("e"));t=t.indexOf(".")>-1?t.slice(0,t.slice(0,2)=="0."?17:16):t.slice(0,15)+yr("0",t.length-15);return t+r.slice(r.indexOf("e"))}var a=r.indexOf(".")>-1?r.slice(0,r.slice(0,2)=="0."?17:16):r.slice(0,15)+yr("0",r.length-15);return Number(a)}function ae(e,r,t){if(e>2958465||e<0)return null;e=te(e);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 l=new Date(1900,0,1);l.setDate(l.getDate()+a-1);s=[l.getFullYear(),l.getMonth()+1,l.getDate()];i=l.getDay();if(a<60)i=(i+6)%7;if(t)i=ce(l,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}function ne(e){return e.indexOf(".")==-1?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function ie(e){if(e.indexOf("E")==-1)return e;return e.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}function se(e){var r=e<0?12:11;var t=ne(e.toFixed(12));if(t.length<=r)return t;t=e.toPrecision(10);if(t.length<=r)return t;return e.toExponential(5)}function fe(e){var r=ne(e.toFixed(11));return r.length>(e<0?12:11)||r==="0"||r==="-0"?e.toPrecision(6):r}function le(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=se(e);else if(r===10)t=e.toFixed(10).substr(0,12);else t=fe(e);return ne(ie(t.toUpperCase()))}function oe(e,r){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(e|0)===e?e.toString(10):le(e);case"undefined":return"";case"object":if(e==null)return"";if(e instanceof Date)return ze(14,dr(e,r&&r.date1904),r);}throw new Error("unsupported value in General format: "+e)}function ce(e,r){r[0]-=581;var t=e.getDay();if(e<60)t=(t+6)%7;return t}function ue(e,r,t,a){var n="",i=0,s=0,f=t.y,l,o=0;switch(e){case 98:f=t.y+543;case 121:switch(r.length){case 1:;case 2:l=f%100;o=2;break;default:l=f%1e4;o=4;break;}break;case 109:switch(r.length){case 1:;case 2:l=t.m;o=r.length;break;case 3:return Z[t.m-1][1];case 5:return Z[t.m-1][0];default:return Z[t.m-1][2];}break;case 100:switch(r.length){case 1:;case 2:l=t.d;o=r.length;break;case 3:return Y[t.q][0];default:return Y[t.q][1];}break;case 104:switch(r.length){case 1:;case 2:l=1+(t.H+11)%12;o=r.length;break;default:throw"bad hour format: "+r;}break;case 72:switch(r.length){case 1:;case 2:l=t.H;o=r.length;break;default:throw"bad hour format: "+r;}break;case 77:switch(r.length){case 1:;case 2:l=t.M;o=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 W(t.S,r.length);if(a>=2)s=a===3?1e3:100;else s=a===1?10:1;i=Math.round(s*(t.S+t.u));if(i>=60*s)i=0;if(r==="s")return i===0?"0":""+i/s;n=W(i,2+a);if(r==="ss")return n.substr(0,2);return"."+n.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+(a==0?Math.round(t.S+t.u):t.S);break;default:throw"bad abstime format: "+r;}o=r.length===3?1:2;break;case 101:l=f;o=1;break;}var c=o>0?W(l,o):"";return c}function he(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 de=/%/g;function ve(e,r,t){var a=r.replace(de,""),n=r.length-a.length;return Fe(e,a,t*Math.pow(10,2*n))+yr("%",n)}function pe(e,r,t){var a=r.length-1;while(r.charCodeAt(a-1)===44)--a;return Fe(e,r.substr(0,a),t/Math.pow(10,3*(r.length-a)))}function me(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"-"+me(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 be=/# (\?+)( ?)\/( ?)(\d+)/;function ge(e,r,t){var a=parseInt(e[4],10),n=Math.round(r*a),i=Math.floor(n/a);var s=n-i*a,f=a;return t+(i===0?"":""+i)+" "+(s===0?yr(" ",e[1].length+1+e[4].length):z(s,e[1].length)+e[2]+"/"+e[3]+W(f,e[4].length))}function we(e,r,t){return t+(r===0?"":""+r)+yr(" ",e[1].length+2+e[4].length)}var ke=/^#*0*\.([0#]+)/;var Te=/\)[^)]*[0#]/;var ye=/\(###\) ###\\?-####/;function Ee(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 _e(e,r){var t=Math.pow(10,r);return""+Math.round(e*t)/t}function Se(e,r){var t=e-Math.floor(e),a=Math.pow(10,r);if(r<(""+Math.round(t*a)).length)return 0;return Math.round(t*a)}function xe(e,r){if(r<(""+Math.round((e-Math.floor(e))*Math.pow(10,r))).length){return 1}return 0}function Ae(e){if(e<2147483647&&e>-2147483648)return""+(e>=0?e|0:e-1|0);return""+Math.floor(e)}function Ce(e,r,t){if(e.charCodeAt(0)===40&&!r.match(Te)){var a=r.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");if(t>=0)return Ce("n",a,t);return"("+Ce("n",a,-t)+")"}if(r.charCodeAt(r.length-1)===44)return pe(e,r,t);if(r.indexOf("%")!==-1)return ve(e,r,t);if(r.indexOf("E")!==-1)return me(r,t);if(r.charCodeAt(0)===36)return"$"+Ce(e,r.substr(r.charAt(1)==" "?2:1),t);var n;var i,s,f,l=Math.abs(t),o=t<0?"-":"";if(r.match(/^00+$/))return o+j(l,r.length);if(r.match(/^[#?]+$/)){n=j(t,0);if(n==="0")n="";return n.length>r.length?n:Ee(r.substr(0,r.length-n.length))+n}if(i=r.match(be))return ge(i,l,o);if(r.match(/^#+0+$/))return o+j(l,r.length-r.indexOf("0"));if(i=r.match(ke)){n=_e(t,i[1].length).replace(/^([^\.]+)$/,"$1."+Ee(i[1])).replace(/\.$/,"."+Ee(i[1])).replace(/\.(\d*)$/,function(e,r){return"."+r+yr("0",Ee(i[1]).length-r.length)});return r.indexOf("0.")!==-1?n:n.replace(/^0\./,".")}r=r.replace(/^#+([0.])/,"$1");if(i=r.match(/^(0*)\.(#*)$/)){return o+_e(l,i[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,i[1].length?"0.":".")}if(i=r.match(/^#{1,3},##0(\.?)$/))return o+he(j(l,0));if(i=r.match(/^#,##0\.([#0]*0)$/)){return t<0?"-"+Ce(e,r,-t):he(""+(Math.floor(t)+xe(t,i[1].length)))+"."+W(Se(t,i[1].length),i[1].length)}if(i=r.match(/^#,#*,#0/))return Ce(e,r.replace(/^#,#*,/,""),t);if(i=r.match(/^([0#]+)(\\?-([0#]+))+$/)){n=B(Ce(e,r.replace(/[\\-]/g,""),t));s=0;return B(B(r.replace(/\\/g,"")).replace(/[0#]/g,function(e){return s=0)return Ne("n",a,t);return"("+Ne("n",a,-t)+")"}if(r.charCodeAt(r.length-1)===44)return Ie(e,r,t);if(r.indexOf("%")!==-1)return Oe(e,r,t);if(r.indexOf("E")!==-1)return Re(r,t);if(r.charCodeAt(0)===36)return"$"+Ne(e,r.substr(r.charAt(1)==" "?2:1),t);var n;var i,s,f,l=Math.abs(t),o=t<0?"-":"";if(r.match(/^00+$/))return o+W(l,r.length);if(r.match(/^[#?]+$/)){n=""+t;if(t===0)n="";return n.length>r.length?n:Ee(r.substr(0,r.length-n.length))+n}if(i=r.match(be))return we(i,l,o);if(r.match(/^#+0+$/))return o+W(l,r.length-r.indexOf("0"));if(i=r.match(ke)){n=(""+t).replace(/^([^\.]+)$/,"$1."+Ee(i[1])).replace(/\.$/,"."+Ee(i[1]));n=n.replace(/\.(\d*)$/,function(e,r){return"."+r+yr("0",Ee(i[1]).length-r.length)});return r.indexOf("0.")!==-1?n:n.replace(/^0\./,".")}r=r.replace(/^#+([0.])/,"$1");if(i=r.match(/^(0*)\.(#*)$/)){return o+(""+l).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,i[1].length?"0.":".")}if(i=r.match(/^#{1,3},##0(\.?)$/))return o+he(""+l);if(i=r.match(/^#,##0\.([#0]*0)$/)){return t<0?"-"+Ne(e,r,-t):he(""+t)+"."+yr("0",i[1].length)}if(i=r.match(/^#,#*,#0/))return Ne(e,r.replace(/^#,#*,/,""),t);if(i=r.match(/^([0#]+)(\\?-([0#]+))+$/)){n=B(Ne(e,r.replace(/[\\-]/g,""),t));s=0;return B(B(r.replace(/\\/g,"")).replace(/[0#]/g,function(e){return s-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}function Me(e,r,t,a){var n=[],i="",s=0,f="",l="t",o,c,u;var h="H";while(s=12?e.charAt(s+2):f;p.t="T";h="h";s+=3}else if(e.substr(s,5).toUpperCase()==="AM/PM"){if(o!=null)p.v=o.H>=12?"PM":"AM";p.t="T";s+=5;h="h"}else if(e.substr(s,5).toUpperCase()==="上午/下午"){if(o!=null)p.v=o.H>=12?"下午":"上午";p.t="T";s+=5;h="h"}else{p.t="t";++s}if(o==null&&p.t==="T")return"";n[n.length]=p;l=f;break;case"[":i=f;while(e.charAt(s++)!=="]"&&s-1){i=(i.match(/\$([^-\[\]]*)/)||[])[1]||"$";if(!Le(e))n[n.length]={t:"t",v:i}}break;case".":if(o!=null){i=f;while(++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};l=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;case"$":n[n.length]={t:"t",v:"$"};++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 m=0,b=0,g;for(s=n.length-1,l="t";s>=0;--s){switch(n[s].t){case"h":;case"H":n[s].t=h;l="h";if(m<1)m=1;break;case"s":if(g=n[s].v.match(/\.0+$/)){b=Math.max(b,g[0].length-1);m=4}if(m<3)m=3;case"d":;case"y":;case"e":l=n[s].t;break;case"M":l=n[s].t;if(m<2)m=2;break;case"m":if(l==="s"){n[s].t="M";if(m<2)m=2}break;case"X":break;case"Z":if(m<1&&n[s].v.match(/[Hh]/))m=1;if(m<2&&n[s].v.match(/[Mm]/))m=2;if(m<3&&n[s].v.match(/[Ss]/))m=3;}}var w;switch(m){case 0:break;case 1:;case 2:;case 3:if(o.u>=.5){o.u=0;++o.S}if(o.S>=60){o.S=0;++o.M}if(o.M>=60){o.M=0;++o.H}if(o.H>=24){o.H=0;++o.D;w=ae(o.D);w.u=o.u;w.S=o.S;w.M=o.M;w.H=o.H;o=w}break;case 4:switch(b){case 1:o.u=Math.round(o.u*10)/10;break;case 2:o.u=Math.round(o.u*100)/100;break;case 3:o.u=Math.round(o.u*1e3)/1e3;break;}if(o.u>=1){o.u=0;++o.S}if(o.S>=60){o.S=0;++o.M}if(o.M>=60){o.M=0;++o.H}if(o.H>=24){o.H=0;++o.D;w=ae(o.D);w.u=o.u;w.S=o.S;w.M=o.M;w.H=o.H;o=w}break;}var k="",T;for(s=0;s0){if(k.charCodeAt(0)==40){E=r<0&&k.charCodeAt(0)===45?-r:r;_=Fe("n",k,E)}else{E=r<0&&a>1?-r:r;_=Fe("n",k,E);if(E<0&&n[0]&&n[0].t=="t"){_=_.substr(1);n[0].v="-"+n[0].v}}T=_.length-1;var S=n.length;for(s=0;s-1){S=s;break}var x=n.length;if(S===n.length&&_.indexOf("E")===-1){for(s=n.length-1;s>=0;--s){if(n[s]==null||"n?".indexOf(n[s].t)===-1)continue;if(T>=n[s].v.length-1){T-=n[s].v.length;n[s].v=_.substr(T+1,n[s].v.length)}else if(T<0)n[s].v="";else{n[s].v=_.substr(0,T+1);T=-1}n[s].t="t";x=s}if(T>=0&&x=0;--s){if(n[s]==null||"n?".indexOf(n[s].t)===-1)continue;c=n[s].v.indexOf(".")>-1&&s===S?n[s].v.indexOf(".")-1:n[s].v.length-1;y=n[s].v.substr(c+1);for(;c>=0;--c){if(T>=0&&(n[s].v.charAt(c)==="0"||n[s].v.charAt(c)==="#"))y=_.charAt(T--)+y}n[s].v=y;n[s].t="t";x=s}if(T>=0&&x-1&&s===S?n[s].v.indexOf(".")+1:0;y=n[s].v.substr(0,c);for(;c-1){E=a>1&&r<0&&s>0&&n[s-1].v==="-"?-r:r;n[s].v=Fe(n[s].t,n[s].v,E);n[s].t="t"}var A="";for(s=0;s!==n.length;++s)if(n[s]!=null)A+=n[s].v;return A}var Ue=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function Be(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 We(e,r){var t=De(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(/\[[=<>]/)!=null||t[1].match(/\[[=<>]/)!=null){var s=t[0].match(Ue);var f=t[1].match(Ue);return Be(r,s)?[a,t[0]]:Be(r,f)?[a,t[1]]:[a,t[s!=null&&f!=null?2:1]]}return[a,i]}function ze(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:q)[e];if(a==null)a=t.table&&t.table[Q[e]]||q[Q[e]];if(a==null)a=ee[e]||"General";break;}if(K(a,0))return oe(r,t);if(r instanceof Date)r=dr(r,t.date1904);var n=We(a,r);if(K(n[1]))return oe(r,t);if(r===true)r="TRUE";else if(r===false)r="FALSE";else if(r===""||r==null)return"";return Me(n[1],r,t,n[0])}function He(e,r){if(typeof r!="number"){r=+r||-1;for(var t=0;t<392;++t){if(q[t]==undefined){if(r<0)r=t;continue}if(q[t]==e){r=t;break}}if(r<0)r=391}q[r]=e;return r}function Ve(e){for(var r=0;r!=392;++r)if(e[r]!==undefined)He(e[r],r)}function $e(){q=J()}var Xe={format:ze,load:He,_table:q,load_table:Ve,parse_date_code:ae,is_date:Le,get_table:function lT(){return Xe._table=q}};var Ge={5:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',23:"General",24:"General",25:"General",26:"General",27:"m/d/yy",28:"m/d/yy",29:"m/d/yy",30:"m/d/yy",31:"m/d/yy",32:"h:mm:ss",33:"h:mm:ss",34:"h:mm:ss",35:"h:mm:ss",36:"m/d/yy",41:'_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* (#,##0);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)',50:"m/d/yy",51:"m/d/yy",52:"m/d/yy",53:"m/d/yy",54:"m/d/yy",55:"m/d/yy",56:"m/d/yy",57:"m/d/yy",58:"m/d/yy",59:"0",60:"0.00",61:"#,##0",62:"#,##0.00",63:'"$"#,##0_);\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',67:"0%",68:"0.00%",69:"# ?/?",70:"# ??/??",71:"m/d/yy",72:"m/d/yy",73:"d-mmm-yy",74:"d-mmm",75:"mmm-yy",76:"h:mm",77:"h:mm:ss",78:"m/d/yy h:mm",79:"mm:ss",80:"[h]:mm:ss",81:"mmss.0"};var je=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;function Ke(e){var r=typeof e=="number"?q[e]:e;r=r.replace(je,"(\\d+)");je.lastIndex=0;return new RegExp("^"+r+"$")}function Ye(e,r,t){var a=-1,n=-1,i=-1,s=-1,f=-1,l=-1;(r.match(je)||[]).forEach(function(e,r){var o=parseInt(t[r+1],10);switch(e.toLowerCase().charAt(0)){case"y":a=o;break;case"d":i=o;break;case"h": +s=o;break;case"s":l=o;break;case"m":if(s>=0)f=o;else n=o;break;}});je.lastIndex=0;if(l>=0&&f==-1&&n>=0){f=n;n=-1}var o=(""+(a>=0?a:(new Date).getFullYear())).slice(-4)+"-"+("00"+(n>=1?n:1)).slice(-2)+"-"+("00"+(i>=1?i:1)).slice(-2);if(o.length==7)o="0"+o;if(o.length==8)o="20"+o;var c=("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(f>=0?f:0)).slice(-2)+":"+("00"+(l>=0?l:0)).slice(-2);if(s==-1&&f==-1&&l==-1)return o;if(a==-1&&n==-1&&i==-1)return c;return o+"T"+c}var Ze={"d.m":"d\\.m"};function Je(e,r){return He(Ze[e]||e,r)}var qe=function(){var e={};e.version="1.2.0";function r(){var e=0,r=new Array(256);for(var t=0;t!=256;++t){e=t;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;r[t]=e}return typeof Int32Array!=="undefined"?new Int32Array(r):r}var t=r();function a(e){var r=0,t=0,a=0,n=typeof Int32Array!=="undefined"?new Int32Array(4096):new Array(4096);for(a=0;a!=256;++a)n[a]=e[a];for(a=0;a!=256;++a){t=e[a];for(r=256+a;r<4096;r+=256)t=n[r]=t>>>8^e[t&255]}var i=[];for(a=1;a!=16;++a)i[a-1]=typeof Int32Array!=="undefined"&&typeof n.subarray=="function"?n.subarray(a*256,a*256+256):n.slice(a*256,a*256+256);return i}var n=a(t);var i=n[0],s=n[1],f=n[2],l=n[3],o=n[4];var c=n[5],u=n[6],h=n[7],d=n[8],v=n[9];var p=n[10],m=n[11],b=n[12],g=n[13],w=n[14];function k(e,r){var a=r^-1;for(var n=0,i=e.length;n>>8^t[(a^e.charCodeAt(n++))&255];return~a}function T(e,r){var a=r^-1,n=e.length-15,k=0;for(;k>8&255]^b[e[k++]^a>>16&255]^m[e[k++]^a>>>24]^p[e[k++]]^v[e[k++]]^d[e[k++]]^h[e[k++]]^u[e[k++]]^c[e[k++]]^o[e[k++]]^l[e[k++]]^f[e[k++]]^s[e[k++]]^i[e[k++]]^t[e[k++]];n+=15;while(k>>8^t[(a^e[k++])&255];return~a}function y(e,r){var a=r^-1;for(var n=0,i=e.length,s=0,f=0;n>>8^t[(a^s)&255]}else if(s<2048){a=a>>>8^t[(a^(192|s>>6&31))&255];a=a>>>8^t[(a^(128|s&63))&255]}else if(s>=55296&&s<57344){s=(s&1023)+64;f=e.charCodeAt(n++)&1023;a=a>>>8^t[(a^(240|s>>8&7))&255];a=a>>>8^t[(a^(128|s>>2&63))&255];a=a>>>8^t[(a^(128|f>>6&15|(s&3)<<4))&255];a=a>>>8^t[(a^(128|f&63))&255]}else{a=a>>>8^t[(a^(224|s>>12&15))&255];a=a>>>8^t[(a^(128|s>>6&63))&255];a=a>>>8^t[(a^(128|s&63))&255]}}return~a}e.table=t;e.bstr=k;e.buf=T;e.str=y;return e}();var Qe=function oT(){var e={};e.version="1.2.2";function r(e,r){var t=e.split("/"),a=r.split("/");for(var n=0,i=0,s=Math.min(t.length,a.length);n>>1;e._W(2,t);var a=r.getFullYear()-1980;a=a<<4|r.getMonth()+1;a=a<<5|r.getDate();e._W(2,a)}function i(e){var r=e._R(2)&65535;var t=e._R(2)&65535;var a=new Date;var n=t&31;t>>>=5;var i=t&15;t>>>=4;a.setMilliseconds(0);a.setFullYear(t+1980);a.setMonth(i-1);a.setDate(n);var s=r&31;r>>>=5;var f=r&63;r>>>=6;a.setHours(r);a.setMinutes(f);a.setSeconds(s<<1);return a}function s(e){Ca(e,0);var r={};var t=0;while(e.l<=e.length-4){var a=e._R(2);var n=e._R(2),i=e.l+n;var s={};switch(a){case 21589:{t=e._R(1);if(t&1)s.mtime=e._R(4);if(n>5){if(t&2)s.atime=e._R(4);if(t&4)s.ctime=e._R(4)}if(s.mtime)s.mt=new Date(s.mtime*1e3)}break;case 1:{var f=e._R(4),l=e._R(4);s.usz=l*Math.pow(2,32)+f;f=e._R(4);l=e._R(4);s.csz=l*Math.pow(2,32)+f}break;}e.l=i;r[a]=s}return r}var f;function l(){return f||(f=er)}function o(e,r){if(e[0]==80&&e[1]==75)return Re(e,r);if((e[0]|32)==109&&(e[1]|32)==105)return We(e,r);if(e.length<512)throw new Error("CFB file size "+e.length+" < 512");var t=3;var a=512;var n=0;var i=0;var s=0;var f=0;var l=0;var o=[];var v=e.slice(0,512);Ca(v,0);var m=c(v);t=m[0];switch(t){case 3:a=512;break;case 4:a=4096;break;case 0:if(m[1]==0)return Re(e,r);default:throw new Error("Major Version: Expected 3 or 4 saw "+t);}if(a!==512){v=e.slice(0,a);Ca(v,28)}var w=e.slice(0,a);u(v,t);var k=v._R(4,"i");if(t===3&&k!==0)throw new Error("# Directory Sectors: Expected 0 saw "+k);v.l+=4;s=v._R(4,"i");v.l+=4;v.chk("00100000","Mini Stream Cutoff Size: ");f=v._R(4,"i");n=v._R(4,"i");l=v._R(4,"i");i=v._R(4,"i");for(var T=-1,y=0;y<109;++y){T=v._R(4,"i");if(T<0)break;o[y]=T}var E=h(e,a);p(l,i,E,a,o);var _=b(E,s,o,a);if(s<_.length)_[s].name="!Directory";if(n>0&&f!==L)_[f].name="!MiniFAT";_[o[0]].name="!FAT";_.fat_addrs=o;_.ssz=a;var S={},x=[],A=[],C=[];g(s,_,E,x,n,S,A,f);d(A,C,x);x.shift();var I={FileIndex:A,FullPaths:C};if(r&&r.raw)I.raw={header:w,sectors:E};return I}function c(e){if(e[e.l]==80&&e[e.l+1]==75)return[0,0];e.chk(B,"Header Signature: ");e.l+=16;var r=e._R(2,"u");return[e._R(2,"u"),r]}function u(e,r){var t=9;e.l+=2;switch(t=e._R(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 h(e,r){var t=Math.ceil(e.length/r)-1;var a=[];for(var n=1;n0&&s>=0){i.push(r.slice(s*D,s*D+D));n-=D;s=ka(t,s*4)}if(i.length===0)return Oa(0);return P(i).slice(0,e.size)}function p(e,r,t,a,n){var i=L;if(e===L){if(r!==0)throw new Error("DIFAT chain shorter than expected")}else if(e!==-1){var s=t[e],f=(a>>>2)-1;if(!s)return;for(var l=0;l=1)p(ka(s,a-4),r-1,t,a,n)}}function m(e,r,t,a,n){var i=[],s=[];if(!n)n=[];var f=a-1,l=0,o=0;for(l=r;l>=0;){n[l]=true;i[i.length]=l;s.push(e[l]);var c=t[Math.floor(l*4/a)];o=l*4&f;if(a<4+o)throw new Error("FAT boundary crossed: "+l+" 4 "+a);if(!e[c])break;l=ka(e[c],o)}return{nodes:i,data:Yt([s])}}function b(e,r,t,a){var n=e.length,i=[];var s=[],f=[],l=[];var o=a-1,c=0,u=0,h=0,d=0;for(c=0;c=n)h-=n;if(s[h])continue;l=[];var v=[];for(u=h;u>=0;){v[u]=true;s[u]=true;f[f.length]=u;l.push(e[u]);var p=t[Math.floor(u*4/a)];d=u*4&o;if(a<4+d)throw new Error("FAT boundary crossed: "+u+" 4 "+a);if(!e[p])break;u=ka(e[p],d);if(v[u])break}i[h]={nodes:f,data:Yt([l])}}return i}function g(e,r,t,a,n,i,s,f){var l=0,o=a.length?2:0;var c=r[e].data;var u=0,h=0,d;for(;u0&&l!==L)r[l].name="!StreamData"}else if(b.size>=4096){b.storage="fat";if(r[b.start]===undefined)r[b.start]=m(t,b.start,r.fat_addrs,r.ssz);r[b.start].name=b.name;b.content=r[b.start].data.slice(0,b.size)}else{b.storage="minifat";if(b.size<0)b.size=0;else if(l!==L&&b.start!==L&&r[l]){b.content=v(b,r[l].data,(r[f]||{}).data)}}if(b.content)Ca(b.content,0);i[d]=b;s.push(b)}}function w(e,r){return new Date((wa(e,r+4)/1e7*Math.pow(2,32)+wa(e,r)/1e7-11644473600)*1e3)}function k(e,r){l();return o(f.readFileSync(e),r)}function y(e,r){var t=r&&r.type;if(!t){if(S&&Buffer.isBuffer(e))t="buffer"}switch(t||"base64"){case"file":return k(e,r);case"base64":return o(O(_(e)),r);case"binary":return o(O(e),r);}return o(e,r)}function E(e,r){var t=r||{},a=t.root||"Root Entry";if(!e.FullPaths)e.FullPaths=[];if(!e.FileIndex)e.FileIndex=[];if(e.FullPaths.length!==e.FileIndex.length)throw new Error("inconsistent CFB structure");if(e.FullPaths.length===0){e.FullPaths[0]=a+"/";e.FileIndex[0]={name:a,type:5}}if(t.CLSID)e.FileIndex[0].clsid=t.CLSID;A(e)}function A(e){var r="Sh33tJ5";if(Qe.find(e,"/"+r))return;var t=Oa(4);t[0]=55;t[1]=t[3]=50;t[2]=54;e.FileIndex.push({name:r,type:2,content:t,size:4,L:69,R:69,C:69});e.FullPaths.push(e.FullPaths[0]+r);R(e)}function R(e,n){E(e);var i=false,s=false;for(var f=e.FullPaths.length-1;f>=0;--f){var l=e.FileIndex[f];switch(l.type){case 0:if(s)i=true;else{e.FileIndex.pop();e.FullPaths.pop()}break;case 1:;case 2:;case 5:s=true;if(isNaN(l.R*l.L*l.C))i=true;if(l.R>-1&&l.L>-1&&l.R==l.L)i=true;break;default:i=true;break;}}if(!i&&!n)return;var o=new Date(1987,1,19),c=0;var u=Object.create?Object.create(null):{};var h=[];for(f=0;f1?1:-1;v.size=0;v.type=5}else if(p.slice(-1)=="/"){for(c=f+1;c=h.length?-1:c;for(c=f+1;c=h.length?-1:c;v.type=1}else{if(t(e.FullPaths[f+1]||"")==t(p))v.R=f+1;v.type=2}}}function N(e,r){var t=r||{};if(t.fileType=="mad")return ze(e,t);R(e);switch(t.fileType){case"zip":return Fe(e,t);}var a=function(e){var r=0,t=0;for(var a=0;a0){if(i<4096)r+=i+63>>6;else t+=i+511>>9}}var s=e.FullPaths.length+3>>2;var f=r+7>>3;var l=r+127>>7;var o=f+t+s+l;var c=o+127>>7;var u=c<=109?0:Math.ceil((c-109)/127);while(o+c+u+127>>7>c)u=++c<=109?0:Math.ceil((c-109)/127);var h=[1,u,c,l,s,t,r,0];e.FileIndex[0].size=r<<6;h[7]=(e.FileIndex[0].start=h[0]+h[1]+h[2]+h[3]+h[4]+h[5])+(h[6]+7>>3);return h}(e);var n=Oa(a[7]<<9);var i=0,s=0;{for(i=0;i<8;++i)n._W(1,W[i]);for(i=0;i<8;++i)n._W(2,0);n._W(2,62);n._W(2,3);n._W(2,65534);n._W(2,9);n._W(2,6);for(i=0;i<3;++i)n._W(2,0);n._W(4,0);n._W(4,a[2]);n._W(4,a[0]+a[1]+a[2]+a[3]-1);n._W(4,0);n._W(4,1<<12);n._W(4,a[3]?a[0]+a[1]+a[2]-1:L);n._W(4,a[3]);n._W(-4,a[1]?a[0]-1:L);n._W(4,a[1]);for(i=0;i<109;++i)n._W(-4,i>9)}f(a[6]+7>>3);while(n.l&511)n._W(-4,H.ENDOFCHAIN);s=i=0;for(l=0;l=4096)continue;c.start=s;f(o+63>>6)}while(n.l&511)n._W(-4,H.ENDOFCHAIN);for(i=0;i31){console.error("Name "+h+" will be truncated to "+h.slice(0,31));h=h.slice(0,31)}o=2*(h.length+1);n._W(64,h,"utf16le");n._W(2,o);n._W(1,c.type);n._W(1,c.color);n._W(-4,c.L);n._W(-4,c.R);n._W(-4,c.C);if(!c.clsid)for(l=0;l<4;++l)n._W(4,0);else n._W(16,c.clsid,"hex");n._W(4,c.state||0);n._W(4,0);n._W(4,0);n._W(4,0);n._W(4,0);n._W(4,c.start);n._W(4,c.size);n._W(4,0)}for(i=1;i=4096){n.l=c.start+1<<9;if(S&&Buffer.isBuffer(c.content)){c.content.copy(n,n.l,0,c.size);n.l+=c.size+511&-512}else{for(l=0;l0&&c.size<4096){if(S&&Buffer.isBuffer(c.content)){c.content.copy(n,n.l,0,c.size);n.l+=c.size+63&-64}else{for(l=0;l>16|r>>8|r)&255}var ee=typeof Uint8Array!=="undefined";var re=ee?new Uint8Array(1<<8):[];for(var te=0;te<1<<8;++te)re[te]=Q(te);function ae(e,r){var t=re[e&255];if(r<=8)return t>>>8-r;t=t<<8|re[e>>8&255];if(r<=16)return t>>>16-r;t=t<<8|re[e>>16&255];return t>>>24-r}function ne(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=6?0:e[a+1]<<8))>>>t&3}function ie(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=5?0:e[a+1]<<8))>>>t&7}function se(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=4?0:e[a+1]<<8))>>>t&15}function fe(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=3?0:e[a+1]<<8))>>>t&31}function le(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=1?0:e[a+1]<<8))>>>t&127}function oe(e,r,t){var a=r&7,n=r>>>3,i=(1<>>a;if(t<8-a)return s&i;s|=e[n+1]<<8-a;if(t<16-a)return s&i;s|=e[n+2]<<16-a;if(t<24-a)return s&i;s|=e[n+3]<<24-a;return s&i}function ce(e,r,t){var a=r&7,n=r>>>3;if(a<=5)e[n]|=(t&7)<>8-a}return r+3}function ue(e,r,t){var a=r&7,n=r>>>3;t=(t&1)<>>3;t<<=a;e[n]|=t&255;t>>>=8;e[n+1]=t;return r+8}function de(e,r,t){var a=r&7,n=r>>>3;t<<=a;e[n]|=t&255;t>>>=8;e[n+1]=t&255;e[n+2]=t>>>8;return r+16}function ve(e,r){var t=e.length,a=2*t>r?2*t:r+5,n=0;if(t>=r)return e;if(S){var i=I(a);if(e.copy)e.copy(i);else for(;n>a-u;for(s=(1<=0;--s)r[f|s<0)r[r.l++]=e[t++]}return r.l}function i(r,t){var n=0;var i=0;var s=ee?new Uint16Array(32768):[];while(i0)t[t.l++]=r[i++];n=t.l*8;continue}n=ce(t,n,+!!(i+f==r.length)+2);var l=0;while(f-- >0){var o=r[i];l=(l<<5^o)&32767;var c=-1,u=0;if(c=s[l]){c|=i&~32767;if(c>i)c-=32768;if(c2){o=a[u];if(o<=22)n=he(t,n,re[o+1]>>1)-1;else{he(t,n,3);n+=5;he(t,n,re[o-23]>>5);n+=3}var h=o<8?0:o-4>>2;if(h>0){de(t,n,u-J[o]);n+=h}o=e[i-c];n=he(t,n,re[o]>>3);n-=3;var d=o<4?0:o-2>>1;if(d>0){de(t,n,i-c-q[o]);n+=d}for(var v=0;v>8-v;for(var p=(1<<7-v)-1;p>=0;--p)_e[d|p<>>=3){case 16:i=3+ne(e,r);r+=2;d=m[m.length-1];while(i-- >0)m.push(d);break;case 17:i=3+ie(e,r);r+=3;while(i-- >0)m.push(0);break;case 18:i=11+le(e,r);r+=7;while(i-- >0)m.push(0);break;default:m.push(d);if(l>>0;var f=0,l=0;while((a&1)==0){a=ie(e,t);t+=3;if(a>>>1==0){if(t&7)t+=8-(t&7);var o=e[t>>>3]|e[(t>>>3)+1]<<8;t+=32;if(o>0){if(!r&&s0){n[i++]=e[t>>>3];t+=8}}continue}else if(a>>1==1){f=9;l=5}else{t=Ae(e,t);f=Se;l=xe}for(;;){if(!r&&s>>1==1?be[c]:ye[c];t+=u&15;u>>>=4;if((u>>>8&255)===0)n[i++]=u;else if(u==256)break;else{u-=257;var h=u<8?0:u-4>>2;if(h>5)h=0;var d=i+J[u];if(h>0){d+=oe(e,t,h);t+=h}c=oe(e,t,l);u=a>>>1==1?ge[c]:Ee[c];t+=u&15;u>>>=4;var v=u<4?0:u-2>>1;var p=q[u];if(v>0){p+=oe(e,t,v);t+=v}if(!r&&s>>3];return[n.slice(0,i),t+7>>>3]}function Ie(e,r){var t=e.slice(e.l||0);var a=Ce(t,r);e.l+=a[1];return a[0]}function Oe(e,r){if(e){if(typeof console!=="undefined")console.error(r)}else throw new Error(r)}function Re(e,r){var t=e;Ca(t,0);var a=[],n=[];var i={FileIndex:a,FullPaths:n};E(i,{root:r.root});var f=t.length-4;while((t[f]!=80||t[f+1]!=75||t[f+2]!=5||t[f+3]!=6)&&f>=0)--f;t.l=f+4;t.l+=4;var l=t._R(2);t.l+=6;var o=t._R(4);t.l=o;for(f=0;f0){t=t.slice(0,t.length-1);t=t.slice(0,t.lastIndexOf("/")+1);if(i.slice(0,t.length)==t)break}}var s=(a[1]||"").match(/boundary="(.*?)"/);if(!s)throw new Error("MAD cannot find boundary");var f="--"+(s[1]||"");var l=[],o=[];var c={FileIndex:l,FullPaths:o};E(c);var u,h=0;for(n=0;n=32&&d<128)++u;var p=u>=h*4/5;n.push(a);n.push("Content-Location: "+(t.root||"file:///C:/SheetJS/")+s);n.push("Content-Transfer-Encoding: "+(p?"quoted-printable":"base64"));n.push("Content-Type: "+Pe(f,s));n.push("");n.push(p?Me(c):Le(c))}n.push(a+"--\r\n");return n.join("\r\n")}function He(e){var r={};E(r,e);return r}function Ve(e,r,t,n){var i=n&&n.unsafe;if(!i)E(e);var s=!i&&Qe.find(e,r);if(!s){var f=e.FullPaths[0];if(r.slice(0,f.length)==f)f=r;else{if(f.slice(-1)!="/")f+="/";f=(f+r).replace("//","/")}s={name:a(r),type:2};e.FileIndex.push(s);e.FullPaths.push(f);if(!i)Qe.utils.cfb_gc(e)}s.content=t;s.size=t?t.length:0;if(n){if(n.CLSID)s.clsid=n.CLSID;if(n.mt)s.mt=n.mt;if(n.ct)s.ct=n.ct}return s}function $e(e,r){E(e);var t=Qe.find(e,r);if(t)for(var a=0;a=60&&e<61)return e;var r=new Date;r.setTime((e>60?e:e+1)*24*60*60*1e3+cr);return r}function pr(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].slice(n[i].length-1)){case"Y":throw new Error("Unsupported ISO Duration Field: "+n[i].slice(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 mr=/^(\d+):(\d+)(:\d+)?(\.\d+)?$/;var br=/^(\d+)-(\d+)-(\d+)$/;var gr=/^(\d+)-(\d+)-(\d+)[T ](\d+):(\d+)(:\d+)?(\.\d+)?$/;function wr(e,r){if(e instanceof Date)return e;var t=e.match(mr);if(t)return new Date((r?hr:ur)+((parseInt(t[1],10)*60+parseInt(t[2],10))*60+(t[3]?parseInt(t[3].slice(1),10):0))*1e3+(t[4]?parseInt((t[4]+"000").slice(1,4),10):0));t=e.match(br);if(t)return new Date(Date.UTC(+t[1],+t[2]-1,+t[3],0,0,0,0));t=e.match(gr);if(t)return new Date(Date.UTC(+t[1],+t[2]-1,+t[3],+t[4],+t[5],t[6]&&parseInt(t[6].slice(1),10)||0,t[7]&&parseInt((t[7]+"0000").slice(1,4),10)||0));var a=new Date(e);return a}function kr(e,r){if(S&&Buffer.isBuffer(e)){if(r&&A){if(e[0]==255&&e[1]==254)return Ot(e.slice(2).toString("utf16le"));if(e[1]==254&&e[2]==255)return Ot(d(e.slice(2).toString("binary")))}return e.toString("binary")}if(typeof TextDecoder!=="undefined")try{if(r){if(e[0]==255&&e[1]==254)return Ot(new TextDecoder("utf-16le").decode(e.slice(2)));if(e[0]==254&&e[1]==255)return Ot(new TextDecoder("utf-16be").decode(e.slice(2)))}var t={"€":"€","‚":"‚","ƒ":"ƒ","„":"„","…":"…","†":"†","‡":"‡","ˆ":"ˆ","‰":"‰","Š":"Š","‹":"‹","Œ":"Œ","Ž":"Ž","‘":"‘","’":"’","“":"“","”":"”","•":"•","–":"–","—":"—","˜":"˜","™":"™","š":"š","›":"›","œ":"œ","ž":"ž","Ÿ":"Ÿ"};if(Array.isArray(e))e=new Uint8Array(e);return new TextDecoder("latin1").decode(e).replace(/[€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ]/g,function(e){return t[e]||e})}catch(a){}var n=[],i=0;try{for(i=0;i3&&Or.indexOf(r)==-1)return i}else if(r.replace(/[ap]m?/,"").match(/[a-z]/))return i;if(s<0||s>8099||e.match(/[^-0-9:,\/\\\ ]/))return i;return n}var Nr=function(){var e="abacaba".split(/(:?b)/i).length==5;return function r(t,a,n){if(e||typeof a=="string")return t.split(a);var i=t.split(a),s=[i[0]];for(var f=1;f-1){var i=e.indexOf(t,n+r.length);if(i==-1)break;a.push(e.slice(n,i+t.length));n=e.indexOf(r,i+t.length)}return a.length>0?a:null}function Mr(e,r,t){var a=[],n=0;var i=e.indexOf(r);if(i==-1)return e;while(i>-1){a.push(e.slice(n,i));var s=e.indexOf(t,i+r.length);if(s==-1)break;if((i=e.indexOf(r,n=s+t.length))==-1)a.push(e.slice(n))}return a.join("")}var Ur={" ":1,"\t":1,"\r":1,"\n":1,">":1};function Br(e,r){var t=e.indexOf("<"+r),a=r.length+1,n=e.length;while(t>=0&&t<=n-a&&!Ur[e.charAt(t+a)])t=e.indexOf("<"+r,t+1);if(t===-1)return null;var i=e.indexOf(">",t+r.length);if(i===-1)return null;var s="";var f=e.indexOf(s,i);if(f==-1)return null;return[e.slice(t,f+s.length),e.slice(i+1,f)]}var Wr=function(){var e={};return function r(t,a){var n=e[a];if(!n)e[a]=n=[new RegExp("<(?:\\w+:)?"+a+"\\b[^<>]*>","g"),new RegExp("","g")];n[0].lastIndex=n[1].lastIndex=0;var i=n[0].exec(t);if(!i)return null;var s=i.index;var f=n[0].lastIndex;n[1].lastIndex=n[0].lastIndex;i=n[1].exec(t);if(!i)return null;var l=i.index;var o=n[1].lastIndex;return[t.slice(s,o),t.slice(f,l)]}}();var zr=function(){var e={};return function r(t,a){var n=[];var i=e[a];if(!i)e[a]=i=[new RegExp("<(?:\\w+:)?"+a+"\\b[^<>]*>","g"),new RegExp("","g")];i[0].lastIndex=i[1].lastIndex=0;var s;while(s=i[0].exec(t)){var f=s.index;i[1].lastIndex=i[0].lastIndex;s=i[1].exec(t);if(!s)return null;var l=i[1].lastIndex;n.push(t.slice(f,l));i[0].lastIndex=i[1].lastIndex}return n.length==0?null:n}}();var Hr=function(){var e={};return function r(t,a){var n=[];var i=e[a];if(!i)e[a]=i=[new RegExp("<(?:\\w+:)?"+a+"\\b[^<>]*>","g"),new RegExp("","g")];i[0].lastIndex=i[1].lastIndex=0;var s;var f=0,l=0;while(s=i[0].exec(t)){f=s.index;n.push(t.slice(l,f));l=f;i[1].lastIndex=i[0].lastIndex;s=i[1].exec(t);if(!s)return null;l=i[1].lastIndex;i[0].lastIndex=i[1].lastIndex}n.push(t.slice(l));return n.length==0?"":n.join("")}}();var Vr=function(){var e={};return function r(t,a){var n=[];var i=e[a];if(!i)e[a]=i=[new RegExp("<"+a+"\\b[^<>]*>","ig"),new RegExp("","ig")];i[0].lastIndex=i[1].lastIndex=0;var s;while(s=i[0].exec(t)){var f=s.index;i[1].lastIndex=i[0].lastIndex;s=i[1].exec(t);if(!s)return null;var l=i[1].lastIndex;n.push(t.slice(f,l));i[0].lastIndex=i[1].lastIndex}return n.length==0?null:n}}();function $r(e){if(!e)return null;if(e.content&&e.type)return kr(e.content,true);if(e.data)return v(e.data);if(e.asNodeBuffer&&S)return v(e.asNodeBuffer().toString("binary"));if(e.asBinary)return v(e.asBinary());if(e._data&&e._data.getContent)return v(kr(Array.prototype.slice.call(e._data.getContent(),0)));return null}function Xr(e){if(!e)return null;if(e.data)return c(e.data);if(e.asNodeBuffer&&S)return e.asNodeBuffer();if(e._data&&e._data.getContent){var r=e._data.getContent();if(typeof r=="string")return c(r);return Array.prototype.slice.call(r)}if(e.content&&e.type)return e.content;return null}function Gr(e){return e&&e.name.slice(-4)===".bin"?Xr(e):$r(e)}function jr(e,r){var t=e.FullPaths||ir(e.files);var a=r.toLowerCase().replace(/[\/]/g,"\\"),n=a.replace(/\\/g,"/");for(var i=0;i\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g;var it=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?<>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'"<>\s=]+))*\s*[\/\?]?>/gm,st=/<[^<>]*>/g;var ft=at.match(it)?it:st;var lt=/<\w*:/,ot=/<(\/?)\w+:/;function ct(e,r,t){var a={};var n=0,i=0;for(;n!==e.length;++n)if((i=e.charCodeAt(n))===32||i===10||i===13)break;if(!r)a[0]=e.slice(0,n);if(n===e.length)return a;var s=e.match(nt),f=0,l="",o=0,c="",u="",h=1;if(s)for(o=0;o!=s.length;++o){u=s[o].slice(1);for(i=0;i!=u.length;++i)if(u.charCodeAt(i)===61)break;c=u.slice(0,i).trim();while(u.charCodeAt(i+1)==32)++i;h=(n=u.charCodeAt(i+1))==34||n==39?1:0;l=u.slice(i+1+h,u.length-h);for(f=0;f!=c.length;++f)if(c.charCodeAt(f)===58)break;if(f===c.length){if(c.indexOf("_")>0)c=c.slice(0,c.indexOf("_"));a[c]=l;if(!t)a[c.toLowerCase()]=l}else{var d=(f===5&&c.slice(0,5)==="xmlns"?"xmlns":"")+c.slice(f+1);if(a[d]&&c.slice(f-3,f)=="ext")continue;a[d]=l;if(!t)a[d.toLowerCase()]=l}}return a}function ut(e){return e.replace(ot,"<$1")}var ht={""":'"',"'":"'",">":">","<":"<","&":"&"};var dt=fr(ht);var vt=function(){var e=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/gi,r=/_x([\da-fA-F]{4})_/gi;function t(a){var n=a+"",i=n.indexOf("-1?16:10))||e}).replace(r,function(e,r){return String.fromCharCode(parseInt(r,16))});var s=n.indexOf("]]>");return t(n.slice(0,i))+n.slice(i+9,s)+t(n.slice(s+3))}return function a(e,r){var a=t(e);return r?a.replace(/\r\n/g,"\n"):a}}();var pt=/[&<>'"]/g,mt=/[\u0000-\u0008\u000b-\u001f\uFFFE-\uFFFF]/g;function bt(e){var r=e+"";return r.replace(pt,function(e){return dt[e]}).replace(mt,function(e){return"_x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+"_"})}function gt(e){return bt(e).replace(/ /g,"_x0020_")}var wt=/[\u0000-\u001f]/g;function kt(e){var r=e+"";return r.replace(pt,function(e){return dt[e]}).replace(/\n/g,"
").replace(wt,function(e){return"&#x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+";"})}function Tt(e){var r=e+"";return r.replace(pt,function(e){return dt[e]}).replace(wt,function(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"})}var yt=function(){var e=/&#(\d+);/g;function r(e,r){return String.fromCharCode(parseInt(r,10))}return function t(a){return a.replace(e,r)}}();function Et(e){return e.replace(/(\r\n|[\r\n])/g," ")}function _t(e){switch(e){case 1:;case true:;case"1":;case"true":return true;case 0:;case false:;case"0":;case"false":return false;}return false}function St(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}function xt(e){var r=C(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")}function At(e){return x(e,"binary").toString("utf8")}var Ct="foo bar baz☃🍣";var It=S&&(At(Ct)==St(Ct)&&At||xt(Ct)==St(Ct)&&xt)||St;var Ot=S?function(e){return x(e,"utf8").toString("binary")}:function(e){var r=[],t=0,a=0,n=0;while(t>6)));r.push(String.fromCharCode(128+(a&63)));break;case a>=55296&&a<57344:a-=55296;n=e.charCodeAt(t++)-56320+(a<<10);r.push(String.fromCharCode(240+(n>>18&7)));r.push(String.fromCharCode(144+(n>>12&63)));r.push(String.fromCharCode(128+(n>>6&63)));r.push(String.fromCharCode(128+(n&63)));break;default:r.push(String.fromCharCode(224+(a>>12)));r.push(String.fromCharCode(128+(a>>6&63)));r.push(String.fromCharCode(128+(a&63)));}}return r.join("")};var Rt=function(){var e=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map(function(e){return[new RegExp("&"+e[0]+";","ig"),e[1]]});return function r(t){var a=t.replace(/^[\t\n\r ]+/,"").replace(/(^|[^\t\n\r ])[\t\n\r ]+$/,"$1").replace(/>\s+/g,">").replace(/\b\s+/g,"\n").replace(/<[^<>]*>/g,"");for(var n=0;n/g,Ft=/<(?:vt:)([^<"'>]*)>([\s\S]*)"+r+""}function Mt(e){return ir(e).map(function(r){return" "+r+'="'+e[r]+'"'}).join("")}function Ut(e,r,t){return"<"+e+(t!=null?Mt(t):"")+(r!=null?(r.match(Pt)?' xml:space="preserve"':"")+">"+r+""}function Bt(e,r){try{return e.toISOString().replace(/\.\d*/,"")}catch(t){if(r)throw t}return""}function Wt(e,r){switch(typeof e){case"string":var t=Ut("vt:lpwstr",bt(e));if(r)t=t.replace(/"/g,"_x0022_");return t;case"number":return Ut((e|0)==e?"vt:i4":"vt:r8",bt(String(e)));case"boolean":return Ut("vt:bool",e?"true":"false");}if(e instanceof Date)return Ut("vt:filetime",Bt(e));throw new Error("Unable to serialize "+e)}function zt(e){if(S&&Buffer.isBuffer(e))return e.toString("utf8");if(typeof e==="string")return e;if(typeof Uint8Array!=="undefined"&&e instanceof Uint8Array)return It(N(D(e)));throw new Error("Bad input format: expected Buffer or string")}var Ht=/<([\/]?)([^\s?>:\/"]+)(?:\s+[^<>=?"'\s]+="[^"]*?")*\s*[\/]?>/gm;var Vt={CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",CT:"http://schemas.openxmlformats.org/package/2006/content-types",RELS:"http://schemas.openxmlformats.org/package/2006/relationships",TCMNT:"http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments",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"};var $t=["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 Xt={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 Gt(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 jt(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 if(s==0)n=i=0;else{n=Math.floor(Math.log(s)/Math.LN2);i=s*Math.pow(2,52-n);if(n<=-1023&&(!isFinite(i)||i>4|a}var Kt=function(e){var r=[],t=10240;for(var a=0;a0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0].map(function(e){return Buffer.isBuffer(e)?e:x(e)})):Kt(e)}:Kt;var Zt=function(e,r,t){var a=[];for(var n=r;n0?ra(e,r+4,r+4+t-1):""};var aa=ta;var na=function(e,r){var t=wa(e,r);return t>0?ra(e,r+4,r+4+t-1):""};var ia=na;var sa=function(e,r){var t=2*wa(e,r);return t>0?ra(e,r+4,r+4+t-1):""};var fa=sa;var la=function uT(e,r){var t=wa(e,r);return t>0?Jt(e,r+4,r+4+t):""};var oa=la;var ca=function(e,r){var t=wa(e,r);return t>0?ra(e,r+4,r+4+t):""};var ua=ca;var ha=function(e,r){return Gt(e,r)};var da=ha;var va=function hT(e){return Array.isArray(e)||typeof Uint8Array!=="undefined"&&e instanceof Uint8Array};if(S){aa=function dT(e,r){if(!Buffer.isBuffer(e))return ta(e,r);var t=e.readUInt32LE(r);return t>0?e.toString("utf8",r+4,r+4+t-1):""};ia=function vT(e,r){if(!Buffer.isBuffer(e))return na(e,r);var t=e.readUInt32LE(r);return t>0?e.toString("utf8",r+4,r+4+t-1):""};fa=function pT(e,r){if(!Buffer.isBuffer(e)||!A)return sa(e,r);var t=2*e.readUInt32LE(r);return e.toString("utf16le",r+4,r+4+t-1)};oa=function mT(e,r){if(!Buffer.isBuffer(e)||!A)return la(e,r);var t=e.readUInt32LE(r);return e.toString("utf16le",r+4,r+4+t)};ua=function bT(e,r){if(!Buffer.isBuffer(e))return ca(e,r);var t=e.readUInt32LE(r);return e.toString("utf8",r+4,r+4+t)};da=function gT(e,r){if(Buffer.isBuffer(e))return e.readDoubleLE(r);return ha(e,r)};va=function wT(e){return Buffer.isBuffer(e)||Array.isArray(e)||typeof Uint8Array!=="undefined"&&e instanceof Uint8Array}}function pa(){Jt=function(e,r,t){return a.utils.decode(1200,e.slice(r,t)).replace(M,"")};ra=function(e,r,t){return a.utils.decode(65001,e.slice(r,t))};aa=function(e,r){var n=wa(e,r);return n>0?a.utils.decode(t,e.slice(r+4,r+4+n-1)):""};ia=function(e,t){var n=wa(e,t);return n>0?a.utils.decode(r,e.slice(t+4,t+4+n-1)):""};fa=function(e,r){var t=2*wa(e,r);return t>0?a.utils.decode(1200,e.slice(r+4,r+4+t-1)):""};oa=function(e,r){var t=wa(e,r);return t>0?a.utils.decode(1200,e.slice(r+4,r+4+t)):""};ua=function(e,r){var t=wa(e,r);return t>0?a.utils.decode(65001,e.slice(r+4,r+4+t)):""}}if(typeof a!=="undefined")pa();var ma=function(e,r){return e[r]};var ba=function(e,r){return e[r+1]*(1<<8)+e[r]};var ga=function(e,r){var t=e[r+1]*(1<<8)+e[r];return t<32768?t:(65535-t+1)*-1};var wa=function(e,r){return e[r+3]*(1<<24)+(e[r+2]<<16)+(e[r+1]<<8)+e[r]};var ka=function(e,r){return e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]};var Ta=function(e,r){return e[r]<<24|e[r+1]<<16|e[r+2]<<8|e[r+3]};function ya(e,t){var n="",i,s,f=[],l,o,c,u;switch(t){case"dbcs":u=this.l;if(S&&Buffer.isBuffer(this)&&A)n=this.slice(this.l,this.l+2*e).toString("utf16le");else for(c=0;c0?ka:Ta)(this,this.l);this.l+=4;return i}else{s=wa(this,this.l);this.l+=4}return s;case 8:;case-8:if(t==="f"){if(e==8)s=da(this,this.l);else s=da([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0);this.l+=8;return s}else e=8;case 16:n=Qt(this,this.l,e);break;};}this.l+=e;return n}var Ea=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 _a=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 Sa=function(e,r,t){e[t]=r&255;e[t+1]=r>>>8&255};function xa(e,n,i){var s=0,f=0;if(i==="dbcs"){for(f=0;f!=n.length;++f)Sa(this,n.charCodeAt(f),this.l+2*f);s=2*n.length}else if(i==="sbcs"||i=="cpstr"){if(typeof a!=="undefined"&&t==874){for(f=0;f!=n.length;++f){var l=a.utils.encode(t,n.charAt(f));this[this.l+f]=l[0]}s=n.length}else if(typeof a!=="undefined"&&i=="cpstr"){l=a.utils.encode(r,n);if(l.length==n.length)for(f=0;f>8}while(this.l>>=8;this[this.l+1]=n&255;break;case 3:s=3;this[this.l]=n&255;n>>>=8;this[this.l+1]=n&255;n>>>=8;this[this.l+2]=n&255;break;case 4:s=4;Ea(this,n,this.l);break;case 8:s=8;if(i==="f"){jt(this,n,this.l);break};case 16:break;case-4:s=4;_a(this,n,this.l);break;}this.l+=s;return this}function Aa(e,r){var t=Qt(this,this.l,e.length>>1);if(t!==e)throw new Error(r+"Expected "+e+" saw "+t);this.l+=e.length>>1}function Ca(e,r){e.l=r;e._R=ya;e.chk=Aa;e._W=xa}function Ia(e,r){e.l+=r}function Oa(e){var r=C(e);Ca(r,0);return r}function Ra(e,r,t){if(!e)return;var a,n,i;Ca(e,e.l||0);var s=e.length,f=0,l=0;while(e.la.l){a=a.slice(0,a.l);a.l=a.length}if(a.length>0)e.push(a)}a=null};var i=function c(e){if(a&&e=128?1:0)+1;if(a>=128)++i;if(a>=16384)++i;if(a>=2097152)++i;var s=e.next(i);if(n<=127)s._W(1,n);else{s._W(1,(n&127)+128);s._W(1,n>>7)}for(var f=0;f!=4;++f){if(a>=128){s._W(1,(a&127)+128);a>>=7}else{s._W(1,a);break}}if(a>0&&va(t))e.push(t)}function Da(e,r,t){var a=Tr(e);if(r.s){if(a.cRel)a.c+=r.s.c;if(a.rRel)a.r+=r.s.r}else{if(a.cRel)a.c+=r.c;if(a.rRel)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 Pa(e,r,t){var a=Tr(e);a.s=Da(a.s,r.s,t);a.e=Da(a.e,r.s,t);return a}function La(e,r){if(e.cRel&&e.c<0){e=Tr(e);while(e.c<0)e.c+=r>8?16384:256}if(e.rRel&&e.r<0){e=Tr(e);while(e.r<0)e.r+=r>8?1048576:r>5?65536:16384}var t=Ka(e);if(!e.cRel&&e.cRel!=null)t=$a(t);if(!e.rRel&&e.rRel!=null)t=Wa(t);return t}function Ma(e,r){if(e.s.r==0&&!e.s.rRel){if(e.e.r==(r.biff>=12?1048575:r.biff>=8?65536:16384)&&!e.e.rRel){return(e.s.cRel?"":"$")+Va(e.s.c)+":"+(e.e.cRel?"":"$")+Va(e.e.c)}}if(e.s.c==0&&!e.s.cRel){if(e.e.c==(r.biff>=12?16383:255)&&!e.e.cRel){return(e.s.rRel?"":"$")+Ba(e.s.r)+":"+(e.e.rRel?"":"$")+Ba(e.e.r)}}return La(e.s,r.biff)+":"+La(e.e,r.biff)}if(typeof cptable!=="undefined")b(cptable);else if(typeof module!=="undefined"&&typeof require!=="undefined"){b(undefined)}function Ua(e){return parseInt(za(e),10)-1}function Ba(e){return""+(e+1)}function Wa(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}function za(e){return e.replace(/\$(\d+)$/,"$1")}function Ha(e){var r=Xa(e),t=0,a=0;for(;a!==r.length;++a)t=26*t+r.charCodeAt(a)-64;return t-1}function Va(e){if(e<0)throw new Error("invalid column "+e);var r="";for(++e;e;e=Math.floor((e-1)/26))r=String.fromCharCode((e-1)%26+65)+r;return r}function $a(e){return e.replace(/^([A-Z])/,"$$$1")}function Xa(e){return e.replace(/^\$([A-Z])/,"$1")}function Ga(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function ja(e){var r=0,t=0;for(var a=0;a=48&&n<=57)r=10*r+(n-48);else if(n>=65&&n<=90)t=26*t+(n-64)}return{c:t-1,r:r-1}}function Ka(e){var r=e.c+1;var t="";for(;r;r=(r-1)/26|0)t=String.fromCharCode((r-1)%26+65)+t;return t+(e.r+1)}function Ya(e){var r=e.indexOf(":");if(r==-1)return{s:ja(e),e:ja(e)};return{s:ja(e.slice(0,r)),e:ja(e.slice(r+1))}}function Za(e,r){if(typeof r==="undefined"||typeof r==="number"){return Za(e.s,e.e)}if(typeof e!=="string")e=Ka(e);if(typeof r!=="string")r=Ka(r);return e==r?e:e+":"+r}function Ja(e){var r=Ya(e);return"$"+Va(r.s.c)+"$"+Ba(r.s.r)+":$"+Va(r.e.c)+"$"+Ba(r.e.r)}function qa(e,r){if(!e&&!(r&&r.biff<=5&&r.biff>=2))throw new Error("empty sheet name");if(/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(e))return"'"+e.replace(/'/g,"''")+"'";return e}function Qa(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||n!=10){r.e.c=r.s.c;r.e.r=r.s.r;return r}++a;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 en(e,r){var t=e.t=="d"&&r instanceof Date;if(e.z!=null)try{return e.w=ze(e.z,t?dr(r):r)}catch(a){}try{return e.w=ze((e.XF||{}).numFmtId||(t?14:0),t?dr(r):r)}catch(a){return""+r}}function rn(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(e.t=="e")return oi[e.v]||e.v;if(r==undefined)return en(e,e.v);return en(e,r)}function tn(e,r){var t=r&&r.sheet?r.sheet:"Sheet1";var a={};a[t]=e;return{SheetNames:[t],Sheets:a}}function an(e){var r={};var t=e||{};if(t.dense)r["!data"]=[];return r}function nn(e,r,t){var a=t||{};var n=e?e["!data"]!=null:a.dense;if(g!=null&&n==null)n=g;var i=e||{};if(n&&!i["!data"])i["!data"]=[];var s=0,f=0;if(i&&a.origin!=null){if(typeof a.origin=="number")s=a.origin;else{var l=typeof a.origin=="string"?ja(a.origin):a.origin;s=l.r;f=l.c}}var o={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(i["!ref"]){ +var c=Qa(i["!ref"]);o.s.c=c.s.c;o.s.r=c.s.r;o.e.c=Math.max(o.e.c,c.e.c);o.e.r=Math.max(o.e.r,c.e.r);if(s==-1)o.e.r=s=i["!ref"]?c.e.r+1:0}else{o.s.c=o.e.c=o.s.r=o.e.r=0}var u=[],h=false;for(var d=0;d!=r.length;++d){if(!r[d])continue;if(!Array.isArray(r[d]))throw new Error("aoa_to_sheet expects an array of arrays");var v=s+d,p=""+(v+1);if(n){if(!i["!data"][v])i["!data"][v]=[];u=i["!data"][v]}for(var m=0;m!=r[d].length;++m){if(typeof r[d][m]==="undefined")continue;var b={v:r[d][m]};var w=f+m;if(o.s.r>v)o.s.r=v;if(o.s.c>w)o.s.c=w;if(o.e.r0)r._W(0,e,"dbcs");return t?r.slice(0,r.l):r}function un(e){return{ich:e._R(2),ifnt:e._R(2)}}function hn(e,r){if(!r)r=Oa(4);r._W(2,e.ich||0);r._W(2,e.ifnt||0);return r}function dn(e,r){var t=e.l;var a=e._R(1);var n=on(e);var i=[];var s={t:n,h:n};if((a&1)!==0){var f=e._R(4);for(var l=0;l!=f;++l)i.push(un(e));s.r=i}else s.r=[{ich:0,ifnt:0}];e.l=t+r;return s}function vn(e,r){var t=false;if(r==null){t=true;r=Oa(15+4*e.t.length)}r._W(1,0);cn(e.t,r);return t?r.slice(0,r.l):r}var pn=dn;function mn(e,r){var t=false;if(r==null){t=true;r=Oa(23+4*e.t.length)}r._W(1,1);cn(e.t,r);r._W(4,1);hn({ich:0,ifnt:0},r);return t?r.slice(0,r.l):r}function bn(e){var r=e._R(4);var t=e._R(2);t+=e._R(1)<<16;e.l++;return{c:r,iStyleRef:t}}function gn(e,r){if(r==null)r=Oa(8);r._W(-4,e.c);r._W(3,e.iStyleRef||e.s);r._W(1,0);return r}function wn(e){var r=e._R(2);r+=e._R(1)<<16;e.l++;return{c:-1,iStyleRef:r}}function kn(e,r){if(r==null)r=Oa(4);r._W(3,e.iStyleRef||e.s);r._W(1,0);return r}var Tn=on;var yn=cn;function En(e){var r=e._R(4);return r===0||r===4294967295?"":e._R(r,"dbcs")}function _n(e,r){var t=false;if(r==null){t=true;r=Oa(127)}r._W(4,e.length>0?e.length:4294967295);if(e.length>0)r._W(0,e,"dbcs");return t?r.slice(0,r.l):r}var Sn=on;var xn=En;var An=_n;function Cn(e){var r=e.slice(e.l,e.l+4);var t=r[0]&1,a=r[0]&2;e.l+=4;var n=a===0?da([0,0,0,0,r[0]&252,r[1],r[2],r[3]],0):ka(r,0)>>2;return t?n/100:n}function In(e,r){if(r==null)r=Oa(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._W(-4,((t?n:e)<<2)+(t+2));else throw new Error("unsupported RkNumber "+e)}function On(e){var r={s:{},e:{}};r.s.r=e._R(4);r.e.r=e._R(4);r.s.c=e._R(4);r.e.c=e._R(4);return r}function Rn(e,r){if(!r)r=Oa(16);r._W(4,e.s.r);r._W(4,e.e.r);r._W(4,e.s.c);r._W(4,e.e.c);return r}var Nn=On;var Fn=Rn;function Dn(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e._R(8,"f")}function Pn(e,r){return(r||Oa(8))._W(8,e,"f")}function Ln(e){var r={};var t=e._R(1);var a=t>>>1;var n=e._R(1);var i=e._R(2,"i");var s=e._R(1);var f=e._R(1);var l=e._R(1);e.l++;switch(a){case 0:r.auto=1;break;case 1:r.index=n;var o=li[n];if(o)r.rgb=Yo(o);break;case 2:r.rgb=Yo([s,f,l]);break;case 3:r.theme=n;break;}if(i!=0)r.tint=i>0?i/32767:i/32768;return r}function Mn(e,r){if(!r)r=Oa(8);if(!e||e.auto){r._W(4,0);r._W(4,0);return r}if(e.index!=null){r._W(1,2);r._W(1,e.index)}else if(e.theme!=null){r._W(1,6);r._W(1,e.theme)}else{r._W(1,5);r._W(1,0)}var t=e.tint||0;if(t>0)t*=32767;else if(t<0)t*=32768;r._W(2,t);if(!e.rgb||e.theme!=null){r._W(2,0);r._W(1,0);r._W(1,0)}else{var a=e.rgb||"FFFFFF";if(typeof a=="number")a=("000000"+a.toString(16)).slice(-6);r._W(1,parseInt(a.slice(0,2),16));r._W(1,parseInt(a.slice(2,4),16));r._W(1,parseInt(a.slice(4,6),16));r._W(1,255)}return r}function Un(e){var r=e._R(1);e.l++;var t={fBold:r&1,fItalic:r&2,fUnderline:r&4,fStrikeout:r&8,fOutline:r&16,fShadow:r&32,fCondense:r&64,fExtend:r&128};return t}function Bn(e,r){if(!r)r=Oa(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._W(1,t);r._W(1,0);return r}function Wn(e,r){var t={2:"BITMAP",3:"METAFILEPICT",8:"DIB",14:"ENHMETAFILE"};var a=e._R(4);switch(a){case 0:return"";case 4294967295:;case 4294967294:return t[e._R(4)]||"";}if(a>400)throw new Error("Unsupported Clipboard: "+a.toString(16));e.l-=4;return e._R(0,r==1?"lpstr":"lpwstr")}function zn(e){return Wn(e,1)}function Hn(e){return Wn(e,2)}var Vn=2;var $n=3;var Xn=11;var Gn=12;var jn=19;var Kn=64;var Yn=65;var Zn=71;var Jn=4108;var qn=4126;var Qn=80;var ei=81;var ri=[Qn,ei];var ti={1:{n:"CodePage",t:Vn},2:{n:"Category",t:Qn},3:{n:"PresentationFormat",t:Qn},4:{n:"ByteCount",t:$n},5:{n:"LineCount",t:$n},6:{n:"ParagraphCount",t:$n},7:{n:"SlideCount",t:$n},8:{n:"NoteCount",t:$n},9:{n:"HiddenCount",t:$n},10:{n:"MultimediaClipCount",t:$n},11:{n:"ScaleCrop",t:Xn},12:{n:"HeadingPairs",t:Jn},13:{n:"TitlesOfParts",t:qn},14:{n:"Manager",t:Qn},15:{n:"Company",t:Qn},16:{n:"LinksUpToDate",t:Xn},17:{n:"CharacterCount",t:$n},19:{n:"SharedDoc",t:Xn},22:{n:"HyperlinksChanged",t:Xn},23:{n:"AppVersion",t:$n,p:"version"},24:{n:"DigSig",t:Yn},26:{n:"ContentType",t:Qn},27:{n:"ContentStatus",t:Qn},28:{n:"Language",t:Qn},29:{n:"Version",t:Qn},255:{},2147483648:{n:"Locale",t:jn},2147483651:{n:"Behavior",t:jn},1919054434:{}};var ai={1:{n:"CodePage",t:Vn},2:{n:"Title",t:Qn},3:{n:"Subject",t:Qn},4:{n:"Author",t:Qn},5:{n:"Keywords",t:Qn},6:{n:"Comments",t:Qn},7:{n:"Template",t:Qn},8:{n:"LastAuthor",t:Qn},9:{n:"RevNumber",t:Qn},10:{n:"EditTime",t:Kn},11:{n:"LastPrinted",t:Kn},12:{n:"CreatedDate",t:Kn},13:{n:"ModifiedDate",t:Kn},14:{n:"PageCount",t:$n},15:{n:"WordCount",t:$n},16:{n:"CharCount",t:$n},17:{n:"Thumbnail",t:Zn},18:{n:"Application",t:Qn},19:{n:"DocSecurity",t:$n},255:{},2147483648:{n:"Locale",t:jn},2147483651:{n:"Behavior",t:jn},1919054434:{}};var ni={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 ii=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];function si(e){return e.map(function(e){return[e>>16&255,e>>8&255,e&255]})}var fi=si([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,0,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);var li=Tr(fi);var oi={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"};var ci={"#NULL!":0,"#DIV/0!":7,"#VALUE!":15,"#REF!":23,"#NAME?":29,"#NUM!":36,"#N/A":42,"#GETTING_DATA":43,"#WTF?":255};var ui=["_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"];var hi={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.sheet.macroEnabled.main+xml":"workbooks","application/vnd.ms-excel.sheet.binary.macroEnabled.main":"workbooks","application/vnd.ms-excel.addin.macroEnabled.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":"sheets","application/vnd.ms-excel.worksheet":"sheets","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"charts","application/vnd.ms-excel.chartsheet":"charts","application/vnd.ms-excel.macrosheet+xml":"macros","application/vnd.ms-excel.macrosheet":"macros","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"dialogs","application/vnd.ms-excel.dialogsheet":"dialogs","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":"strs","application/vnd.ms-excel.sharedStrings":"strs","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":"styles","application/vnd.ms-excel.styles":"styles","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.openxmlformats-officedocument.spreadsheetml.comments+xml":"comments","application/vnd.ms-excel.comments":"comments","application/vnd.ms-excel.threadedcomments+xml":"threadedcomments","application/vnd.ms-excel.person+xml":"people","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"metadata","application/vnd.ms-excel.sheetMetadata":"metadata","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+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.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":"TODO","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.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 di={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",xlam:"application/vnd.ms-excel.addin.macroEnabled.main+xml",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"},metadata:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml",xlsb:"application/vnd.ms-excel.sheetMetadata"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};function vi(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""}}function pi(e){var r=vi();if(!e||!e.match)return r;var t={};(e.match(ft)||[]).forEach(function(e){var a=ct(e);switch(a[0].replace(lt,"<")){case"0?r.calcchains[0]:"";r.sst=r.strs.length>0?r.strs[0]:"";r.style=r.styles.length>0?r.styles[0]:"";r.defaults=t;delete r.calcchains;return r}function mi(e,r,t){var a=or(hi);var n=[],i;if(!t){n[n.length]=at;n[n.length]=Ut("Types",null,{xmlns:Vt.CT,"xmlns:xsd":Vt.xsd,"xmlns:xsi":Vt.xsi});n=n.concat([["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["data","application/vnd.openxmlformats-officedocument.model+data"],["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","application/vnd.openxmlformats-package.relationships+xml"]].map(function(e){return Ut("Default",null,{Extension:e[0],ContentType:e[1]})}))}var s=function(t){if(e[t]&&e[t].length>0){i=e[t][0];n[n.length]=Ut("Override",null,{PartName:(i[0]=="/"?"":"/")+i,ContentType:di[t][r.bookType]||di[t]["xlsx"]})}};var f=function(t){(e[t]||[]).forEach(function(e){n[n.length]=Ut("Override",null,{PartName:(e[0]=="/"?"":"/")+e,ContentType:di[t][r.bookType]||di[t]["xlsx"]})})};var l=function(r){(e[r]||[]).forEach(function(e){n[n.length]=Ut("Override",null,{PartName:(e[0]=="/"?"":"/")+e,ContentType:a[r][0]})})};s("workbooks");f("sheets");f("charts");l("themes");["strs","styles"].forEach(s);["coreprops","extprops","custprops"].forEach(l);l("vba");l("comments");l("threadedcomments");l("drawings");f("metadata");l("people");if(!t&&n.length>2){n[n.length]="";n[1]=n[1].replace("/>",">")}return n.join("")}var bi={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",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",CMNT:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",SST:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",STY:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",THEME:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",CHART:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",CHARTEX:"http://schemas.microsoft.com/office/2014/relationships/chartEx",CS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet",WS:["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"],DS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",MS:"http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet",IMG:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",DRAW:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",XLMETA:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata",TCMNT:"http://schemas.microsoft.com/office/2017/10/relationships/threadedComment",PEOPLE:"http://schemas.microsoft.com/office/2017/10/relationships/person",CONN:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/connections",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function gi(e){var r=e.lastIndexOf("/");return e.slice(0,r+1)+"_rels/"+e.slice(r+1)+".rels"}function wi(e,r){var t={"!id":{}};if(!e)return t;if(r.charAt(0)!=="/"){r="/"+r}var a={};(e.match(ft)||[]).forEach(function(e){var n=ct(e);if(n[0]==="2){r[r.length]="";r[1]=r[1].replace("/>",">")}return r.join("")}function Ti(e,r,t,a,n,i){if(!n)n={};if(!e["!id"])e["!id"]={};if(!e["!idx"])e["!idx"]=1;if(r<0)for(r=e["!idx"];e["!id"]["rId"+r];++r){}e["!idx"]=r+1;n.Id="rId"+r;n.Type=a;n.Target=t;if(i)n.TargetMode=i;else if([bi.HLINK,bi.XPATH,bi.XMISS].indexOf(n.Type)>-1)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 yi="application/vnd.oasis.opendocument.spreadsheet";function Ei(e,r){var t=zt(e);var a;var n;while(a=Ht.exec(t))switch(a[3]){case"manifest":break;case"file-entry":n=ct(a[0],false);if(n.path=="/"&&n.type!==yi)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 _i(e){var r=[at];r.push('\n');r.push(' \n');for(var t=0;t\n');r.push("");return r.join("")}function Si(e,r,t){return[' \n',' \n'," \n"].join("")}function xi(e,r){return[' \n',' \n'," \n"].join("")}function Ai(e){var r=[at];r.push('\n');for(var t=0;t!=e.length;++t){r.push(Si(e[t][0],e[t][1]));r.push(xi("",e[t][0]))}r.push(Si("","Document","pkg"));r.push("");return r.join("")}function Ci(r,t){return'SheetJS '+e.version+""}var Ii=[["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"]];function Oi(e){var r={};e=It(e);for(var t=0;t0)r[a[1]]=vt(n[1]);if(a[2]==="date"&&r[a[1]])r[a[1]]=wr(r[a[1]])}return r}function Ri(e,r,t,a,n){if(n[e]!=null||r==null||r==="")return;n[e]=r;r=bt(r);a[a.length]=t?Ut(e,r,t):Lt(e,r)}function Ni(e,r){var t=r||{};var a=[at,Ut("cp:coreProperties",null,{"xmlns:cp":Vt.CORE_PROPS,"xmlns:dc":Vt.dc,"xmlns:dcterms":Vt.dcterms,"xmlns:dcmitype":Vt.dcmitype,"xmlns:xsi":Vt.xsi})],n={};if(!e&&!t.Props)return a.join("");if(e){if(e.CreatedDate!=null)Ri("dcterms:created",typeof e.CreatedDate==="string"?e.CreatedDate:Bt(e.CreatedDate,t.WTF),{"xsi:type":"dcterms:W3CDTF"},a,n);if(e.ModifiedDate!=null)Ri("dcterms:modified",typeof e.ModifiedDate==="string"?e.ModifiedDate:Bt(e.ModifiedDate,t.WTF),{"xsi:type":"dcterms:W3CDTF"},a,n)}for(var i=0;i!=Ii.length;++i){var s=Ii[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)Ri(s[0],f,null,a,n)}if(a.length>2){a[a.length]="";a[1]=a[1].replace("/>",">")}return a.join("")}var Fi=[["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"]];var Di=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function Pi(e,r,t,a){var n=[];if(typeof e=="string")n=Dt(e,a);else for(var i=0;i0)for(var o=0;o!==n.length;o+=2){l=+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"Hojas de cálculo":;case"Werkbladen":t.Worksheets=l;t.SheetNames=s.slice(f,f+l);break;case"Named Ranges":;case"Rangos con nombre":;case"名前付き一覧":;case"Benannte Bereiche":;case"Navngivne områder":t.NamedRanges=l;t.DefinedNames=s.slice(f,f+l);break;case"Charts":;case"Diagramme":t.Chartsheets=l;t.ChartNames=s.slice(f,f+l);break;}f+=l}}function Li(e,r,t){var a={};if(!r)r={};e=It(e);Fi.forEach(function(t){var n=(Wr(e,t[0])||[])[1];switch(t[2]){case"string":if(n)r[t[1]]=vt(n);break;case"bool":r[t[1]]=n==="true";break;case"raw":var i=Br(e,t[0]);if(i&&i.length>0)a[t[1]]=i[1];break;}});if(a.HeadingPairs&&a.TitlesOfParts)Pi(a.HeadingPairs,a.TitlesOfParts,r,t);return r}function Mi(e){var r=[],t=Ut;if(!e)e={};e.Application="SheetJS";r[r.length]=at;r[r.length]=Ut("Properties",null,{xmlns:Vt.EXT_PROPS,"xmlns:vt":Vt.vt});Fi.forEach(function(a){if(e[a[1]]===undefined)return;var n;switch(a[2]){case"string":n=bt(String(e[a[1]]));break;case"bool":n=e[a[1]]?"true":"false";break;}if(n!==undefined)r[r.length]=t(a[0],n)});r[r.length]=t("HeadingPairs",t("vt:vector",t("vt:variant","Worksheets")+t("vt:variant",t("vt:i4",String(e.Worksheets))),{size:2,baseType:"variant"}));r[r.length]=t("TitlesOfParts",t("vt:vector",e.SheetNames.map(function(e){return""+bt(e)+""}).join(""),{size:e.Worksheets,baseType:"lpstr"}));if(r.length>2){r[r.length]="";r[1]=r[1].replace("/>",">")}return r.join("")}var Ui=/<[^<>]+>[^<]*/g;function Bi(e,r){var t={},a="";var n=e.match(Ui);if(n)for(var i=0;i!=n.length;++i){var s=n[i],f=ct(s);switch(ut(f[0])){case"":a=null;break;default:if(s.indexOf("");var o=l[0].slice(4),c=l[1];switch(o){case"lpstr":;case"bstr":;case"lpwstr":t[a]=vt(c);break;case"bool":t[a]=_t(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]=wr(c);break;case"cy":;case"error":t[a]=vt(c);break;default:if(o.slice(-1)=="/")break;if(r.WTF&&typeof console!=="undefined")console.warn("Unexpected",s,o,l);}}else if(s.slice(0,2)==="2){r[r.length]="";r[1]=r[1].replace("/>",">")}return r.join("")}var zi={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 Hi;function Vi(e,r,t){if(!Hi)Hi=fr(zi);r=Hi[r]||r;e[r]=t}function $i(e,r){var t=[];ir(zi).map(function(e){for(var r=0;r'+n.join("")+""}function Gi(e){var r=e._R(4),t=e._R(4);return new Date((t/1e7*Math.pow(2,32)+r/1e7-11644473600)*1e3).toISOString().replace(/\.000/,"")}function ji(e){var r=typeof e=="string"?new Date(Date.parse(e)):e;var t=r.getTime()/1e3+11644473600;var a=t%Math.pow(2,32),n=(t-a)/Math.pow(2,32);a*=1e7;n*=1e7;var i=a/Math.pow(2,32)|0;if(i>0){a=a%Math.pow(2,32);n+=i}var s=Oa(8);s._W(4,a);s._W(4,n);return s}function Ki(e,r,t){var a=e.l;var n=e._R(0,"lpstr-cp");if(t)while(e.l-a&3)++e.l;return n}function Yi(e,r,t){var a=e._R(0,"lpwstr");if(t)e.l+=4-(a.length+1&3)&3;return a}function Zi(e,r,t){if(r===31)return Yi(e);return Ki(e,r,t)}function Ji(e,r,t){return Zi(e,r,t===false?0:4)}function qi(e,r){if(!r)throw new Error("VtUnalignedString must have positive length"); +return Zi(e,r,0)}function Qi(e){var r=e._R(4);var t=[];for(var a=0;a!=r;++a){var n=e.l;t[a]=e._R(0,"lpwstr").replace(M,"");if(e.l-n&2)e.l+=2}return t}function es(e){var r=e._R(4);var t=[];for(var a=0;a!=r;++a)t[a]=e._R(0,"lpstr-cp").replace(M,"");return t}function rs(e){var r=e.l;var t=ss(e,ei);if(e[e.l]==0&&e[e.l+1]==0&&e.l-r&2)e.l+=2;var a=ss(e,$n);return[t,a]}function ts(e){var r=e._R(4);var t=[];for(var a=0;a>2+1<<2;return a}function ns(e){var r=e._R(4);var t=e.slice(e.l,e.l+r);e.l+=r;if((r&3)>0)e.l+=4-(r&3)&3;return t}function is(e){var r={};r.Size=e._R(4);e.l+=r.Size+3-(r.Size-1)%4;return r}function ss(e,r,t){var a=e._R(2),n,i=t||{};e.l+=2;if(r!==Gn)if(a!==r&&ri.indexOf(r)===-1&&!((r&65534)==4126&&(a&65534)==4126))throw new Error("Expected type "+r+" saw "+a);switch(r===Gn?a:r){case 2:n=e._R(2,"i");if(!i.raw)e.l+=2;return n;case 3:n=e._R(4,"i");return n;case 11:return e._R(4)!==0;case 19:n=e._R(4);return n;case 30:return Ki(e,a,4).replace(M,"");case 31:return Yi(e);case 64:return Gi(e);case 65:return ns(e);case 71:return is(e);case 80:return Ji(e,a,!i.raw).replace(M,"");case 81:return qi(e,a).replace(M,"");case 4108:return ts(e);case 4126:;case 4127:return a==4127?Qi(e):es(e);default:throw new Error("TypedPropertyValue unrecognized type "+r+" "+a);}}function fs(e,r){var t=Oa(4),a=Oa(4);t._W(4,e==80?31:e);switch(e){case 3:a._W(-4,r);break;case 5:a=Oa(8);a._W(8,r,"f");break;case 11:a._W(4,r?1:0);break;case 64:a=ji(r);break;case 31:;case 80:a=Oa(4+2*(r.length+1)+(r.length%2?0:2));a._W(4,r.length+1);a._W(0,r,"dbcs");while(a.l!=a.length)a._W(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+r);}return P([t,a])}function ls(e,r){var t=e.l;var a=e._R(4);var n=e._R(4);var i=[],s=0;var f=0;var o=-1,c={};for(s=0;s!=n;++s){var u=e._R(4);var h=e._R(4);i[s]=[u,h+t]}i.sort(function(e,r){return e[1]-r[1]});var d={};for(s=0;s!=n;++s){if(e.l!==i[s][1]){var v=true;if(s>0&&r)switch(r[i[s-1][0]].t){case 2:if(e.l+2===i[s][1]){e.l+=2;v=false}break;case 80:if(e.l<=i[s][1]){e.l=i[s][1];v=false}break;case 4108:if(e.l<=i[s][1]){e.l=i[s][1];v=false}break;}if((!r||s==0)&&e.l<=i[s][1]){v=false;e.l=i[s][1]}if(v)throw new Error("Read Error: Expected address "+i[s][1]+" at "+e.l+" :"+s)}if(r){if(i[s][0]==0&&i.length>s+1&&i[s][1]==i[s+1][1])continue;var p=r[i[s][0]];d[p.n]=ss(e,p.t,{raw:true});if(p.p==="version")d[p.n]=String(d[p.n]>>16)+"."+("0000"+String(d[p.n]&65535)).slice(-4);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:l(f=d[p.n]>>>0&65535);break;default:throw new Error("Unsupported CodePage: "+d[p.n]);}}else{if(i[s][0]===1){f=d.CodePage=ss(e,Vn);l(f);if(o!==-1){var m=e.l;e.l=i[o][1];c=as(e,f);e.l=m}}else if(i[s][0]===0){if(f===0){o=s;e.l=i[s+1][1];continue}c=as(e,f)}else{var b=c[i[s][0]];var g;switch(e[e.l]){case 65:e.l+=4;g=ns(e);break;case 30:e.l+=4;g=Ji(e,e[e.l-4]).replace(/(^|[^\u0000])\u0000+$/,"$1");break;case 31:e.l+=4;g=Ji(e,e[e.l-4]).replace(/(^|[^\u0000])\u0000+$/,"$1");break;case 3:e.l+=4;g=e._R(4,"i");break;case 19:e.l+=4;g=e._R(4);break;case 5:e.l+=4;g=e._R(8,"f");break;case 11:e.l+=4;g=bs(e,4);break;case 64:e.l+=4;g=wr(Gi(e));break;default:throw new Error("unparsed value: "+e[e.l]);}d[b]=g}}}e.l=t+a;return d}var os=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"];function cs(e){switch(typeof e){case"boolean":return 11;case"number":return(e|0)==e?3:5;case"string":return 31;case"object":if(e instanceof Date)return 64;break;}return-1}function us(e,r,t){var a=Oa(8),n=[],i=[];var s=8,f=0;var l=Oa(8),o=Oa(8);l._W(4,2);l._W(4,1200);o._W(4,1);i.push(l);n.push(o);s+=8+l.length;if(!r){o=Oa(8);o._W(4,0);n.unshift(o);var c=[Oa(4)];c[0]._W(4,e.length);for(f=0;f-1||Di.indexOf(e[f][0])>-1)continue;if(e[f][1]==null)continue;var h=e[f][1],d=0;if(r){d=+r[e[f][0]];var v=t[d];if(v.p=="version"&&typeof h=="string"){var p=h.split(".");h=(+p[0]<<16)+(+p[1]||0)}l=fs(v.t,h)}else{var m=cs(h);if(m==-1){m=31;h=String(h)}l=fs(m,h)}i.push(l);o=Oa(8);o._W(4,!r?2+f:d);n.push(o);s+=8+l.length}var b=8*(i.length+1);for(f=0;f=12?2:1);var i="sbcs-cont";var s=r;if(a&&a.biff>=8)r=1200;if(!a||a.biff==8){var f=e._R(1);if(f){i="dbcs-cont"}}else if(a.biff==12){i="wstr"}if(a.biff>=2&&a.biff<=5)i="cpstr";var l=n?e._R(n,i):"";r=s;return l}function Ss(e){var t=r;r=1200;var a=e._R(2),n=e._R(1);var i=n&4,s=n&8;var f=1+(n&1);var l=0,o;var c={};if(s)l=e._R(2);if(i)o=e._R(4);var u=f==2?"dbcs-cont":"sbcs-cont";var h=a===0?"":e._R(a,u);if(s)e.l+=4*l;if(i)e.l+=o;c.t=h;if(!s){c.raw=""+c.t+"";c.r=c.t}r=t;return c}function xs(e){var r=e.t||"",t=1;var a=Oa(3+(t>1?2:0));a._W(2,r.length);a._W(1,(t>1?8:0)|1);if(t>1)a._W(2,t);var n=Oa(2*r.length);n._W(2*r.length,r,"utf16le");var i=[a,n];return P(i)}function As(e,r,t){var a;if(t){if(t.biff>=2&&t.biff<=5)return e._R(r,"cpstr");if(t.biff>=12)return e._R(r,"dbcs-cont")}var n=e._R(1);if(n===0){a=e._R(r,"sbcs-cont")}else{a=e._R(r,"dbcs-cont")}return a}function Cs(e,r,t){var a=e._R(t&&t.biff==2?1:2);if(a===0){e.l++;return""}return As(e,a,t)}function Is(e,r,t){if(t.biff>5)return Cs(e,r,t);var a=e._R(1);if(a===0){e.l++;return""}return e._R(a,t.biff<=4||!e.lens?"cpstr":"sbcs-cont")}function Os(e,r,t){if(!t)t=Oa(3+2*e.length);t._W(2,e.length);t._W(1,1);t._W(31,e,"utf16le");return t}function Rs(e){var r=e._R(1);e.l++;var t=e._R(2);e.l+=2;return[r,t]}function Ns(e){var r=e._R(4),t=e.l;var a=false;if(r>24){e.l+=r-24;if(e._R(16)==="795881f43b1d7f48af2c825dc4852763")a=true;e.l=t}var n=e._R((a?r-24:r)>>1,"utf16le").replace(M,"");if(a)e.l+=24;return n}function Fs(e){var r=e._R(2);var t="";while(r-- >0)t+="../";var a=e._R(0,"lpstr-ansi");e.l+=2;if(e._R(2)!=57005)throw new Error("Bad FileMoniker");var n=e._R(4);if(n===0)return t+a.replace(/\\/g,"/");var i=e._R(4);if(e._R(2)!=3)throw new Error("Bad FileMoniker");var s=e._R(i>>1,"utf16le").replace(M,"");return t+s}function Ds(e,r){var t=e._R(16);r-=16;switch(t){case"e0c9ea79f9bace118c8200aa004ba90b":return Ns(e,r);case"0303000000000000c000000000000046":return Fs(e,r);default:throw new Error("Unsupported Moniker "+t);}}function Ps(e){var r=e._R(4);var t=r>0?e._R(r,"utf16le").replace(M,""):"";return t}function Ls(e,r){if(!r)r=Oa(6+e.length*2);r._W(4,1+e.length);for(var t=0;t-1?31:23;switch(a.charAt(0)){case"#":i=28;break;case".":i&=~2;break;}r._W(4,2);r._W(4,i);var s=[8,6815827,6619237,4849780,83];for(t=0;t-1?a.slice(0,n):a;r._W(4,2*(f.length+1));for(t=0;t-1?a.slice(n+1):"",r)}else{s="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" ");for(t=0;t8?4:2;var n=e._R(a),i=e._R(a,"i"),s=e._R(a,"i");return[n,i,s]}function Gs(e){var r=e._R(2);var t=Cn(e);return[r,t]}function js(e,r,t){e.l+=4;r-=4;var a=e.l+r;var n=_s(e,r,t);var i=e._R(2);a-=e.l;if(i!==a)throw new Error("Malformed AddinUdf: padding = "+a+" != "+i);e.l+=i;return n}function Ks(e){var r=e._R(2);var t=e._R(2);var a=e._R(2);var n=e._R(2);return{s:{c:a,r:r},e:{c:n,r:t}}}function Ys(e,r){if(!r)r=Oa(8);r._W(2,e.s.r);r._W(2,e.e.r);r._W(2,e.s.c);r._W(2,e.e.c);return r}function Zs(e){var r=e._R(2);var t=e._R(2);var a=e._R(1);var n=e._R(1);return{s:{c:a,r:r},e:{c:n,r:t}}}var Js=Zs;function qs(e){e.l+=4;var r=e._R(2);var t=e._R(2);var a=e._R(2);e.l+=12;return[t,r,a]}function Qs(e){var r={};e.l+=4;e.l+=16;r.fSharedNote=e._R(2);e.l+=4;return r}function ef(e){var r={};e.l+=4;e.cf=e._R(2);return r}function rf(e){e.l+=2;e.l+=e._R(2)}var tf={0:rf,4:rf,5:rf,6:rf,7:ef,8:rf,9:rf,10:rf,11:rf,12:rf,13:Qs,14:rf,15:rf,16:rf,17:rf,18:rf,19:rf,20:rf,21:qs};function af(e,r){var t=e.l+r;var a=[];while(e.l=2){t.dt=e._R(2);e.l-=2}switch(t.BIFFVer){case 1536:;case 1280:;case 1024:;case 768:;case 512:;case 2:;case 7:break;default:if(r>6)throw new Error("Unexpected BIFF Ver "+t.BIFFVer);}e._R(r);return t}function sf(e,r,t){var a=1536,n=16;switch(t.bookType){case"biff8":break;case"biff5":a=1280;n=8;break;case"biff4":a=4;n=6;break;case"biff3":a=3;n=6;break;case"biff2":a=2;n=4;break;case"xla":break;default:throw new Error("unsupported BIFF version");}var i=Oa(n);i._W(2,a);i._W(2,r);if(n>4)i._W(2,29282);if(n>6)i._W(2,1997);if(n>8){i._W(2,49161);i._W(2,1);i._W(2,1798);i._W(2,0)}return i}function ff(e,r){if(r===0)return 1200;if(e._R(2)!==1200){}return 1200}function lf(e,r,t){if(t.enc){e.l+=r;return""}var a=e.l;var n=Is(e,0,t);e._R(r+a-e.l);return n}function of(e,r){var t=!r||r.biff==8;var a=Oa(t?112:54);a._W(r.biff==8?2:1,7);if(t)a._W(1,0);a._W(4,859007059);a._W(4,5458548|(t?0:536870912));while(a.l=8?2:1;var a=Oa(8+t*e.name.length);a._W(4,e.pos);a._W(1,e.hs||0);a._W(1,e.dt);a._W(1,e.name.length);if(r.biff>=8)a._W(1,1);a._W(t*e.name.length,e.name,r.biff<8?"sbcs":"utf16le");var n=a.slice(0,a.l);n.l=a.l;return n}function df(e,r){var t=e.l+r;var a=e._R(4);var n=e._R(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 kf(e){var r=e._R(2),t=e._R(2),a=e._R(2),n=e._R(2);var i=e._R(2),s=e._R(2),f=e._R(2);var l=e._R(2),o=e._R(2);return{Pos:[r,t],Dim:[a,n],Flags:i,CurTab:s,FirstTab:f,Selected:l,TabRatio:o}}function Tf(){var e=Oa(18);e._W(2,0);e._W(2,0);e._W(2,29280);e._W(2,17600);e._W(2,56);e._W(2,0);e._W(2,0);e._W(2,1);e._W(2,500);return e}function yf(e,r,t){if(t&&t.biff>=2&&t.biff<5)return{};var a=e._R(2);return{RTL:a&64}}function Ef(e){var r=Oa(18),t=1718;if(e&&e.RTL)t|=64;r._W(2,t);r._W(4,0);r._W(4,64);r._W(4,0);r._W(4,0);return r}function _f(){}function Sf(e,r,t){var a={dyHeight:e._R(2),fl:e._R(2)};switch(t&&t.biff||8){case 2:break;case 3:;case 4:e.l+=2;break;default:e.l+=10;break;}a.name=_s(e,0,t);return a}function xf(e,r){var t=e.name||"Arial";var a=r&&r.biff==5,n=a?15+t.length:16+2*t.length;var i=Oa(n);i._W(2,(e.sz||12)*20);i._W(4,0);i._W(2,400);i._W(4,0);i._W(2,0);i._W(1,t.length);if(!a)i._W(1,1);i._W((a?1:2)*t.length,t,a?"sbcs":"utf16le");return i}function Af(e,r,t){var a=zs(e,r,t);a.isst=e._R(4);return a}function Cf(e,r,t,a){var n=Oa(10);Hs(e,r,a,n);n._W(4,t);return n}function If(e,r,t){if(t.biffguess&&t.biff==2)t.biff=5;var a=e.l+r;var n=zs(e,r,t);var i=Cs(e,a-e.l,t);n.val=i;return n}function Of(e,r,t,a,n){var i=!n||n.biff==8;var s=Oa(6+2+ +i+(1+i)*t.length);Hs(e,r,a,s);s._W(2,t.length);if(i)s._W(1,1);s._W((1+i)*t.length,t,i?"utf16le":"sbcs");return s}function Rf(e,r,t){var a=e._R(2);var n=Is(e,0,t);return[a,n]}function Nf(e,r,t,a){var n=t&&t.biff==5;if(!a)a=Oa(n?3+r.length:5+2*r.length);a._W(2,e);a._W(n?1:2,r.length);if(!n)a._W(1,1);a._W((n?1:2)*r.length,r,n?"sbcs":"utf16le");var i=a.length>a.l?a.slice(0,a.l):a;if(i.l==null)i.l=i.length;return i}var Ff=Is;function Df(e){var r=Oa(1+e.length);r._W(1,e.length);r._W(e.length,e,"sbcs");return r}function Pf(e){var r=Oa(3+e.length);r.l+=2;r._W(1,e.length);r._W(e.length,e,"sbcs");return r}function Lf(e,r,t){var a=e.l+r;var n=t.biff==8||!t.biff?4:2;var i=e._R(n),s=e._R(n);var f=e._R(2),l=e._R(2);e.l=a;return{s:{r:i,c:f},e:{r:s,c:l}}}function Mf(e,r){var t=r.biff==8||!r.biff?4:2;var a=Oa(2*t+6);a._W(t,e.s.r);a._W(t,e.e.r+1);a._W(2,e.s.c);a._W(2,e.e.c+1);a._W(2,0);return a}function Uf(e){var r=e._R(2),t=e._R(2);var a=Gs(e);return{r:r,c:t,ixfe:a[0],rknum:a[1]}}function Bf(e,r){var t=e.l+r-2;var a=e._R(2),n=e._R(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=l&127;n.icvBack=l>>7&127;n.fsxButton=l>>14&1;return n}function Hf(e,r,t){var a={};a.ifnt=e._R(2);a.numFmtId=e._R(2);a.flags=e._R(2);a.fStyle=a.flags>>2&1;r-=6;a.data=zf(e,r,a.fStyle,t);return a}function Vf(e,r,t,a){var n=t&&t.biff==5;if(!a)a=Oa(n?16:20);a._W(2,0);if(e.style){a._W(2,e.numFmtId||0);a._W(2,65524)}else{a._W(2,e.numFmtId||0);a._W(2,r<<4)}var i=0;if(e.numFmtId>0&&n)i|=1024;a._W(4,i);a._W(4,0);if(!n)a._W(4,0);a._W(2,0);return a}function $f(e){var r={};r.ifnt=e._R(1);e.l++;r.flags=e._R(1);r.numFmtId=r.flags&63;r.flags>>=6;r.fStyle=0;r.data={};return r}function Xf(e){var r=Oa(4);r.l+=2;r._W(1,e.numFmtId);r.l++;return r}function Gf(e){var r=Oa(12);r.l++;r._W(1,e.numFmtId);r.l+=10;return r}var jf=Gf;function Kf(e){var r={};r.ifnt=e._R(1);r.numFmtId=e._R(1);r.flags=e._R(2);r.fStyle=r.flags>>2&1;r.data={};return r}function Yf(e){var r={};r.ifnt=e._R(1);r.numFmtId=e._R(1);r.flags=e._R(2);r.fStyle=r.flags>>2&1;r.data={};return r}function Zf(e){e.l+=4;var r=[e._R(2),e._R(2)];if(r[0]!==0)r[0]--;if(r[1]!==0)r[1]--;if(r[0]>7||r[1]>7)throw new Error("Bad Gutters: "+r.join("|"));return r}function Jf(e){var r=Oa(8);r._W(4,0);r._W(2,e[0]?e[0]+1:0);r._W(2,e[1]?e[1]+1:0);return r}function qf(e,r,t){var a=zs(e,6,t);var n=ys(e,2);a.val=n;a.t=n===true||n===false?"b":"e";return a}function Qf(e,r,t,a,n,i){var s=Oa(8);Hs(e,r,a,s);Es(t,i,s);return s}function el(e,r,t){if(t.biffguess&&t.biff==2)t.biff=5;var a=zs(e,6,t);var n=Dn(e,8);a.val=n;return a}function rl(e,r,t,a){var n=Oa(14);Hs(e,r,a,n);Pn(t,n);return n}var tl=$s;function al(e,r,t){var a=e.l+r;var n=e._R(2);var i=e._R(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=As(e,i);var f=[];while(a>e.l)f.push(Cs(e));return[i,n,s,f]}function nl(e,r,t){var a=e._R(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=js(e,r-2,t);i.body=n||e._R(r-2);if(typeof n==="string")i.Name=n;return i}function il(e,r,t){var a=e.l+r;var n=e._R(2);var i=e._R(1);var s=e._R(1);var f=e._R(t&&t.biff==2?1:2);var l=0;if(!t||t.biff>=5){if(t.biff!=5)e.l+=2;l=e._R(2);if(t.biff==5)e.l+=2;e.l+=4}var o=As(e,s,t);if(n&32)o=ui[o.charCodeAt(0)];var c=a-e.l;if(t&&t.biff==2)--c;var u=a==e.l||f===0||!(c>0)?[]:Bd(e,c,t,f);return{chKey:i,Name:o,itab:l,rgce:u}}function sl(e,r,t){if(t.biff<8)return fl(e,r,t);if(!(t.biff>8)&&r==e[e.l]+(e[e.l+1]==3?1:0)+1)return fl(e,r,t);var a=[],n=e.l+r,i=e._R(t.biff>8?4:2);while(i--!==0)a.push(Xs(e,t.biff>8?12:6,t));if(e.l!=n)throw new Error("Bad ExternSheet: "+e.l+" != "+n);return a}function fl(e,r,t){if(e[e.l+1]==3)e[e.l]++;var a=_s(e,r,t);return a.charCodeAt(0)==3?a.slice(1):a}function ll(e,r,t){if(t.biff<8){e.l+=r;return}var a=e._R(2);var n=e._R(2);var i=As(e,a,t);var s=As(e,n,t);return[i,s]}function ol(e,r,t){var a=Zs(e,6);e.l++;var n=e._R(1);r-=8;return[Wd(e,r,t),n,a]}function cl(e,r,t){var a=Js(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,Md(e,r,t,a)]}function ul(e){var r=e._R(4)!==0;var t=e._R(4)!==0;var a=e._R(4);return[r,t,a]}function hl(e,r,t){var a=e._R(2),n=e._R(2);var i=e._R(2),s=e._R(2);var f=Is(e,0,t);return[{r:a,c:n},f,s,i]}function dl(e,r,t){if(t&&t.biff<8){var a=e._R(2),n=e._R(2);if(a==65535||a==-1)return;var i=e._R(2);var s=e._R(Math.min(i,2048),"cpstr");return[{r:a,c:n},s]}return hl(e,r,t)}function vl(e,r,t,a){var n=Oa(6+(a||e.length));n._W(2,r);n._W(2,t);n._W(2,a||e.length);n._W(e.length,e,"sbcs");return n}function pl(e,r){var t=[];var a=e._R(2);while(a--)t.push(Ks(e,r));return t}function ml(e){var r=Oa(2+e.length*8);r._W(2,e.length);for(var t=0;t=(c?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(h){e.l=a+r;return{t:n}}}function Tl(e,r){var t=Ks(e,8);e.l+=16;var a=Ms(e,r-24);return[t,a]}function yl(e){var r=Oa(24);var t=ja(e[0]);r._W(2,t.r);r._W(2,t.r);r._W(2,t.c);r._W(2,t.c);var a="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" ");for(var n=0;n<16;++n)r._W(1,parseInt(a[n],16));return P([r,Us(e[1])])}function El(e,r){e._R(2);var t=Ks(e,8);var a=e._R((r-10)/2,"dbcs-cont");a=a.replace(M,"");return[t,a]}function _l(e){var r=e[1].Tooltip;var t=Oa(10+2*(r.length+1));t._W(2,2048);var a=ja(e[0]);t._W(2,a.r);t._W(2,a.r);t._W(2,a.c);t._W(2,a.c);for(var n=0;n0)t.push(Ws(e,8));return t}function Cl(e){var r=e._R(2);var t=[];while(r-- >0)t.push(Ws(e,8));return t}function Il(e){e.l+=2;var r={cxfs:0,crc:0};r.cxfs=e._R(2);r.crc=e._R(4);return r}function Ol(e,r,t){if(!t.cellStyles)return Ia(e,r);var a=t&&t.biff>=12?4:2;var n=e._R(a);var i=e._R(a);var s=e._R(a);var f=e._R(a);var l=e._R(2);if(a==2)e.l+=2;var o={s:n,e:i,w:s,ixfe:f,flags:l};if(t.biff>=5||!t.biff)o.level=l>>8&7;return o}function Rl(e,r){var t=Oa(12);t._W(2,r);t._W(2,r);t._W(2,e.width*256);t._W(2,0);var a=0;if(e.hidden)a|=1;t._W(1,a);a=e.level||0;t._W(1,a);t._W(2,0);return t}function Nl(e,r){var t={};if(r<32)return t;e.l+=16;t.header=Dn(e,8);t.footer=Dn(e,8);e.l+=2;return t}function Fl(e,r,t){var a={area:false};if(t.biff!=5){e.l+=r;return a}var n=e._R(1);e.l+=3;if(n&16)a.area=true;return a}function Dl(e){var r=Oa(2*e);for(var t=0;t1048576)c=1e6;if(s!=2)u=i._R(2);var h=i._R(2);var d=t.codepage||1252;if(s!=2){i.l+=16;i._R(1);if(i[i.l]!==0)d=e[i[i.l]];i.l+=1;i.l+=2}if(o)i.l+=36;var v=[],p={};var m=Math.min(i.length,s==2?521:u-10-(l?264:0));var b=o?32:11;while(i.l0){if(i[i.l]===42){i.l+=h;continue}++i.l;n[++g]=[];w=0;for(w=0;w!=v.length;++w){var k=i.slice(i.l,i.l+v[w].len);i.l+=v[w].len;Ca(k,0);var T=typeof a!=="undefined"?a.utils.decode(d,k):N(k);switch(v[w].type){case"C":if(T.trim().length)n[g][w]=T.replace(/([^\s])\s+$/,"$1");break;case"D":if(T.length===8){n[g][w]=new Date(Date.UTC(+T.slice(0,4),+T.slice(4,6)-1,+T.slice(6,8),0,0,0,0));if(!(t&&t.UTC)){n[g][w]=Fr(n[g][w])}}else n[g][w]=T;break;case"F":n[g][w]=parseFloat(T.trim());break;case"+":;case"I":n[g][w]=o?k._R(-4,"i")^2147483648:k._R(4,"i");break;case"L":switch(T.trim().toUpperCase()){case"Y":;case"T":n[g][w]=true;break;case"N":;case"F":n[g][w]=false;break;case"":;case"\0":;case"?":break;default:throw new Error("DBF Unrecognized L:|"+T+"|");}break;case"M":if(!f)throw new Error("DBF Unexpected MEMO for type "+s.toString(16));n[g][w]="##MEMO##"+(o?parseInt(T.trim(),10):k._R(4));break;case"N":T=T.replace(/\u0000/g,"").trim();if(T&&T!=".")n[g][w]=+T||0;break;case"@":n[g][w]=new Date(k._R(-8,"f")-621356832e5); +break;case"T":{var y=k._R(4),E=k._R(4);if(y==0&&E==0)break;n[g][w]=new Date((y-2440588)*864e5+E);if(!(t&&t.UTC))n[g][w]=Fr(n[g][w])}break;case"Y":n[g][w]=k._R(4,"i")/1e4+k._R(4,"i")/1e4*Math.pow(2,32);break;case"O":n[g][w]=-k._R(-8,"f");break;case"B":if(l&&v[w].len==8){n[g][w]=k._R(8,"f");break};case"G":;case"P":k.l+=v[w].len;break;case"0":if(v[w].name==="_NullFlags")break;default:throw new Error("DBF Unsupported data type "+v[w].type);}}}if(s!=2)if(i.l=0)l(+f.codepage);if(f.type=="string")throw new Error("Cannot write DBF to JS string");var u=Na();var h=Fk(i,{header:1,raw:true,cellDates:true});var d=h[0],v=h.slice(1),p=i["!cols"]||[];var m=0,b=0,g=0,w=1;for(m=0;m250)x=250;S=((p[m]||{}).DBF||{}).type;if(S=="C"){if(p[m].DBF.len>x)x=p[m].DBF.len}if(_=="B"&&S=="N"){_="N";E[m]=p[m].DBF.dec;x=p[m].DBF.len}y[m]=_=="C"||S=="N"?x:o[_]||0;w+=y[m];T[m]=_}var C=u.next(32);C._W(4,318902576);C._W(4,v.length);C._W(2,296+32*g);C._W(2,w);for(m=0;m<4;++m)C._W(4,0);var I=+n[r]||3;C._W(4,0|I<<8);if(e[I]!=+f.codepage){if(f.codepage)console.error("DBF Unsupported codepage "+r+", using 1252");r=1252}for(m=0,b=0;my[b])D=D.slice(0,y[b]);for(g=0;g":190,"?":191,"{":223};var r=new RegExp("N("+ir(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1").replace("{","\\{")+"|\\|)","gm");try{r=new RegExp("N("+ir(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm")}catch(t){}var n=function(r,t){var a=e[t];return typeof a=="number"?m(a):a};var i=function(e,r,t){var a=r.charCodeAt(0)-32<<4|t.charCodeAt(0)-48;return a==59?e:m(a)};e["|"]=254;var s=function(e){return e.replace(/\n/g," :").replace(/\r/g," =")};function f(e,r){switch(r.type){case"base64":return o(_(e),r);case"binary":return o(e,r);case"buffer":return o(S&&Buffer.isBuffer(e)?e.toString("binary"):N(e),r);case"array":return o(kr(e),r);}throw new Error("Unrecognized type "+r.type)}function o(e,t){var s=e.split(/[\n\r]+/),f=-1,o=-1,c=0,u=0,h=[];var d=[];var v=null;var p={},m=[],b=[],g=[];var w=0,k;var T={Workbook:{WBProps:{},Names:[]}};if(+t.codepage>=0)l(+t.codepage);for(;c!==s.length;++c){w=0;var y=s[c].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,i).replace(r,n);var E=y.replace(/;;/g,"\0").split(";").map(function(e){return e.replace(/\u0000/g,";")});var _=E[0],S;if(y.length>0)switch(_){case"ID":break;case"E":break;case"B":break;case"O":for(u=1;u=1&&x<=4)T.Workbook.WBProps.date1904=true}break;}break;case"W":break;case"P":switch(E[1].charAt(0)){case"P":d.push(y.slice(3).replace(/;;/g,";"));break;}break;case"NN":{var A={Sheet:0};for(u=1;u-1&&h[N][F];if(!M||!M[1])throw new Error("SYLK shared formula cannot find base");D=nh(M[1],{r:f-N,c:o-F})}if(D){if(!h[f][o])h[f][o]={t:"n",f:D};else h[f][o].f=D}if(L){if(!h[f][o])h[f][o]={t:"z"};h[f][o].c=[{a:"SheetJSYLK",t:L}]}break;case"F":var U=0;for(u=1;u0){m[f].hpt=w;m[f].hpx=hc(w)}else if(w===0)m[f].hidden=true;break;default:if(t&&t.WTF)throw new Error("SYLK bad record "+y);}if(U<1)v=null;break;default:if(t&&t.WTF)throw new Error("SYLK bad record "+y);}}if(m.length>0)p["!rows"]=m;if(b.length>0)p["!cols"]=b;b.forEach(function(e){lc(e)});if(t&&t.sheetRows)h=h.slice(0,t.sheetRows);return[h,p,T]}function c(e,r){var t=f(e,r);var a=t[0],n=t[1],i=t[2];var s=Tr(r);s.date1904=(((i||{}).Workbook||{}).WBProps||{}).date1904;var l=sn(a,s);ir(n).forEach(function(e){l[e]=n[e]});var o=tn(l,r);ir(i).forEach(function(e){o[e]=i[e]});o.bookType="sylk";return o}function u(e,r,t,a,n,i){var s="C;Y"+(t+1)+";X"+(a+1)+";K";switch(e.t){case"n":s+=e.v||0;if(e.f&&!e.F)s+=";E"+ah(e.f,{r:t,c:a});break;case"b":s+=e.v?"TRUE":"FALSE";break;case"e":s+=e.w||oi[e.v]||e.v;break;case"d":s+=dr(wr(e.v,i),i);break;case"s":s+='"'+(e.v==null?"":String(e.v)).replace(/"/g,"").replace(/;/g,";;")+'"';break;}return s}function h(e,r,t){var a="C;Y"+(r+1)+";X"+(t+1)+";A";a+=s(e.map(function(e){return e.t}).join(""));return a}function d(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)r.wpx=ac(r.width);if(typeof r.wpx=="number"&&!r.wch)r.wch=nc(r.wpx);if(typeof r.wch=="number")a+=Math.round(r.wch)}if(a.charAt(a.length-1)!=" ")e.push(a)})}function v(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*uc(r.hpx)+";";if(a.length>2)e.push(a+"R"+(t+1))})}function p(e,r,t){if(!r)r={};r._formats=["General"];var a=["ID;PSheetJS;N;E"],n=[];var i=Qa(e["!ref"]||"A1"),s;var f=e["!data"]!=null;var l="\r\n";var o=(((t||{}).Workbook||{}).WBProps||{}).date1904;var c="General";a.push("P;PGeneral");var p=i.s.r,m=i.s.c,b=[];if(e["!ref"])for(p=i.s.r;p<=i.e.r;++p){if(f&&!e["!data"][p])continue;b=[];for(m=i.s.c;m<=i.e.c;++m){s=f?e["!data"][p][m]:e[Va(m)+Ba(p)];if(!s||!s.c)continue;b.push(h(s.c,p,m))}if(b.length)n.push(b.join(l))}if(e["!ref"])for(p=i.s.r;p<=i.e.r;++p){if(f&&!e["!data"][p])continue;b=[];for(m=i.s.c;m<=i.e.c;++m){s=f?e["!data"][p][m]:e[Va(m)+Ba(p)];if(!s||s.v==null&&(!s.f||s.F))continue;if((s.z||(s.t=="d"?q[14]:"General"))!=c){var g=r._formats.indexOf(s.z);if(g==-1){r._formats.push(s.z);g=r._formats.length-1;a.push("P;P"+s.z.replace(/;/g,";;"))}b.push("F;P"+g+";Y"+(p+1)+";X"+(m+1))}b.push(u(s,e,p,m,r,o))}n.push(b.join(l))}a.push("F;P0;DG0G8;M255");if(e["!cols"])d(a,e["!cols"]);if(e["!rows"])v(a,e["!rows"]);if(e["!ref"])a.push("B;Y"+(i.e.r-i.s.r+1)+";X"+(i.e.c-i.s.c+1)+";D"+[i.s.c,i.s.r,i.e.c,i.e.r].join(" "));a.push("O;L;D;B"+(o?";V4":"")+";K47;G100 0.001");delete r._formats;return a.join(l)+l+n.join(l)+l+"E"+l}return{to_workbook:c,from_sheet:p}}();var Ql=function(){function e(e,t){switch(t.type){case"base64":return r(_(e),t);case"binary":return r(e,t);case"buffer":return r(S&&Buffer.isBuffer(e)?e.toString("binary"):N(e),t);case"array":return r(kr(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 l=f[0],o=f[1];++i;var c=t[i]||"";while((c.match(/["]/g)||[]).length&1&&i=0&&i[s].length===0)--s;var f=10,l=0;var o=0;for(;o<=s;++o){l=i[o].indexOf(" ");if(l==-1)l=i[o].length;else l++;f=Math.max(f,l)}for(o=0;o<=s;++o){n[o]=[];var c=0;e(i[o].slice(0,f).trim(),n,o,c,a);for(c=1;c<=(i[o].length-f)/10+1;++c)e(i[o].slice(f+(c-1)*10,f+c*10).trim(),n,o,c,a)}if(a.sheetRows)n=n.slice(0,a.sheetRows);return n}var t={44:",",9:"\t",59:";",124:"|"};var n={44:3,9:2,59:1,124:0};function i(e){var r={},a=false,i=0,s=0;for(;i0)b();n["!ref"]=Za(s);return n}function f(e,t){if(!(t&&t.PRN))return s(e,t);if(t.FS)return s(e,t);if(e.slice(0,4)=="sep=")return s(e,t);if(e.indexOf("\t")>=0||e.indexOf(",")>=0||e.indexOf(";")>=0)return s(e,t);return sn(r(e,t),t)}function l(e,r){var t="",n=r.type=="string"?[0,0,0,0]:fk(e,r);switch(r.type){case"base64":t=_(e);break;case"binary":t=e;break;case"buffer":if(r.codepage==65001)t=e.toString("utf8");else if(r.codepage&&typeof a!=="undefined")t=a.utils.decode(r.codepage,e);else t=S&&Buffer.isBuffer(e)?e.toString("binary"):N(e);break;case"array":t=kr(e);break;case"string":t=e;break;default:throw new Error("Unrecognized type "+r.type);}if(n[0]==239&&n[1]==187&&n[2]==191)t=It(t.slice(3));else if(r.type!="string"&&r.type!="buffer"&&r.codepage==65001)t=It(t);else if(r.type=="binary"&&typeof a!=="undefined"&&r.codepage)t=a.utils.decode(r.codepage,a.utils.encode(28591,t));if(t.slice(0,19)=="socialcalc:version:")return eo.to_sheet(r.type=="string"?t:It(t),r);return f(t,r)}function o(e,r){return tn(l(e,r),r)}function c(e){var r=[];if(!e["!ref"])return"";var t=Qa(e["!ref"]),a;var n=e["!data"]!=null;for(var i=t.s.r;i<=t.e.r;++i){var s=[];for(var f=t.s.c;f<=t.e.c;++f){var l=Ka({r:i,c:f});a=n?(e["!data"][i]||[])[f]:e[l];if(!a||a.v==null){s.push(" ");continue}var o=(a.w||(rn(a),a.w)||"").slice(0,10);while(o.length<10)o+=" ";s.push(o+(f===0?" ":""))}r.push(s.join(""))}return r.join("\n")}return{to_workbook:o,to_sheet:l,from_sheet:c}}();function to(e,r){var t=r||{},a=!!t.WTF;t.WTF=true;try{var n=ql.to_workbook(e,t);t.WTF=a;return n}catch(i){t.WTF=a;if(i.message.indexOf("SYLK bad record ID")==-1&&a)throw i;return ro.to_workbook(e,r)}}var ao=function(){function e(e,r,t){if(!e)return;Ca(e,e.l||0);var a=t.Enum||V;while(e.l=16&&r[14]==5&&r[15]===108)throw new Error("Unsupported Works 3 for Mac file")}}if(r[2]==2){n.Enum=V;e(r,function(e,r,a){switch(a){case 0:n.vers=e;if(e>=4096)n.qpro=true;break;case 255:n.vers=e;n.works=true;break;case 6:d=e;break;case 204:if(e)f=e;break;case 222:f=e;break;case 15:;case 51:if((!n.qpro&&!n.works||a==51)&&e[1].v.charCodeAt(0)<48)e[1].v=e[1].v.slice(1);if(n.works||n.works2)e[1].v=e[1].v.replace(/\r\n/g,"\n");case 13:;case 14:;case 16:if((e[2]&112)==112&&(e[2]&15)>1&&(e[2]&15)<15){e[1].z=n.dateNF||t[(e[2]&15)-1]||q[14];if(n.cellDates){e[1].v=vr(e[1].v);e[1].t=typeof e[1].v=="number"?"n":"d"}}if(n.qpro){if(e[3]>l){i["!ref"]=Za(d);o[s]=i;c.push(s);i={};if(n.dense)h=i["!data"]=[];d={s:{r:0,c:0},e:{r:0,c:0}};l=e[3];s=f||"Sheet"+(l+1);f=""}}var u=n.dense?(h[e[0].r]||[])[e[0].c]:i[Ka(e[0])];if(u){u.t=e[1].t;u.v=e[1].v;if(e[1].z!=null)u.z=e[1].z;if(e[1].f!=null)u.f=e[1].f;p=u;break}if(n.dense){if(!h[e[0].r])h[e[0].r]=[];h[e[0].r][e[0].c]=e[1]}else i[Ka(e[0])]=e[1];p=e[1];break;case 21509:n.works2=true;break;case 21506:{if(e==5281){p.z="hh:mm:ss";if(n.cellDates&&p.t=="n"){p.v=vr(p.v);p.t=typeof p.v=="number"?"n":"d"}}}break;}},n)}else if(r[2]==26||r[2]==14){n.Enum=$;if(r[2]==14){n.qpro=true;r.l=0}e(r,function(e,r,t){switch(t){case 204:s=e;break;case 22:if(e[1].v.charCodeAt(0)<48)e[1].v=e[1].v.slice(1);e[1].v=e[1].v.replace(/\x0F./g,function(e){return String.fromCharCode(e.charCodeAt(1)-32)}).replace(/\r\n/g,"\n");case 23:;case 24:;case 25:;case 37:;case 39:;case 40:if(e[3]>l){i["!ref"]=Za(d);o[s]=i;c.push(s);i={};if(n.dense)h=i["!data"]=[];d={s:{r:0,c:0},e:{r:0,c:0}};l=e[3];s="Sheet"+(l+1)}if(v>0&&e[0].r>=v)break;if(n.dense){if(!h[e[0].r])h[e[0].r]=[];h[e[0].r][e[0].c]=e[1]}else i[Ka(e[0])]=e[1];if(d.e.c=0)l(+t.codepage);if(t.type=="string")throw new Error("Cannot write WK1 to JS string");var a=Na();if(!e["!ref"])throw new Error("Cannot export empty sheet to WK1");var n=Qa(e["!ref"]);var i=e["!data"]!=null;var f=[];Jb(a,0,s(1030));Jb(a,6,c(n));var o=Math.min(n.e.r,8191);for(var u=n.s.c;u<=n.e.c;++u)f[u]=Va(u);for(var h=n.s.r;h<=o;++h){var d=Ba(h);for(u=n.s.c;u<=n.e.c;++u){var p=i?(e["!data"][h]||[])[u]:e[f[u]+d];if(!p||p.t=="z")continue;switch(p.t){case"n":if((p.v|0)==p.v&&p.v>=-32768&&p.v<=32767)Jb(a,13,b(h,u,p));else Jb(a,14,k(h,u,p));break;case"d":var m=dr(p.v);if((m|0)==m&&m>=-32768&&m<=32767)Jb(a,13,b(h,u,{t:"n",v:m,z:p.z||q[14]}));else Jb(a,14,k(h,u,{t:"n",v:m,z:p.z||q[14]}));break;default:var g=rn(p);Jb(a,15,v(h,u,g.slice(0,239)));}}}Jb(a,1);return a.end()}function i(e,r){var t=r||{};if(+t.codepage>=0)l(+t.codepage);if(t.type=="string")throw new Error("Cannot write WK3 to JS string");var a=Na();Jb(a,0,f(e));for(var n=0,i=0;n8191)t=8191;r._W(2,t);r._W(1,n);r._W(1,a);r._W(2,0);r._W(2,0);r._W(1,1);r._W(1,2);r._W(4,0);r._W(4,0);return r}function o(e,r,t){var a={s:{c:0,r:0},e:{c:0,r:0}};if(r==8&&t.qpro){a.s.c=e._R(1);e.l++;a.s.r=e._R(2);a.e.c=e._R(1);e.l++;a.e.r=e._R(2);return a}a.s.c=e._R(2);a.s.r=e._R(2);if(r==12&&t.qpro)e.l+=2;a.e.c=e._R(2);a.e.r=e._R(2);if(r==12&&t.qpro)e.l+=2;if(a.s.c==65535)a.s.c=a.e.c=a.s.r=a.e.r=0;return a}function c(e){var r=Oa(8);r._W(2,e.s.c);r._W(2,e.s.r);r._W(2,e.e.c);r._W(2,e.e.r);return r}function u(e,r,t){var a=[{c:0,r:0},{t:"n",v:0},0,0];if(t.qpro&&t.vers!=20768){a[0].c=e._R(1);a[3]=e._R(1);a[0].r=e._R(2);e.l+=2}else if(t.works){a[0].c=e._R(2);a[0].r=e._R(2);a[2]=e._R(2)}else{a[2]=e._R(1);a[0].c=e._R(2);a[0].r=e._R(2)}return a}function h(e){if(e.z&&Le(e.z)){return 240|(t.indexOf(e.z)+1||2)}return 255}function d(e,r,t){var a=e.l+r;var n=u(e,r,t);n[1].t="s";if((t.vers&65534)==20768){e.l++;var i=e._R(1);n[1].v=e._R(i,"utf8");return n}if(t.qpro)e.l++;n[1].v=e._R(a-e.l,"cstr");return n}function v(e,r,t){var a=Oa(7+t.length);a._W(1,255);a._W(2,r);a._W(2,e);a._W(1,39);for(var n=0;n=128?95:i)}a._W(1,0);return a}function p(e,r,t){var a=e.l+r;var n=u(e,r,t);n[1].t="s";if(t.vers==20768){var i=e._R(1);n[1].v=e._R(i,"utf8");return n}n[1].v=e._R(a-e.l,"cstr");return n}function m(e,r,t){var a=u(e,r,t);a[1].v=e._R(2,"i");return a}function b(e,r,t){var a=Oa(7);a._W(1,h(t));a._W(2,r);a._W(2,e);a._W(2,t.v,"i");return a}function w(e,r,t){var a=u(e,r,t);a[1].v=e._R(8,"f");return a}function k(e,r,t){var a=Oa(13);a._W(1,h(t));a._W(2,r);a._W(2,e);a._W(8,t.v,"f");return a}function T(e,r,t){var a=e.l+r;var n=u(e,r,t);n[1].v=e._R(8,"f");if(t.qpro)e.l=a;else{var i=e._R(2);x(e.slice(e.l,e.l+i),n);e.l+=i}return n}function y(e,r,t){var a=r&32768;r&=~32768;r=(a?e:0)+(r>=8192?r-16384:r);return(a?"":"$")+(t?Va(r):Ba(r))}var E={31:["NA",0],33:["ABS",1],34:["TRUNC",1],35:["SQRT",1],36:["LOG",1],37:["LN",1],38:["PI",0],39:["SIN",1],40:["COS",1],41:["TAN",1],42:["ATAN2",2],43:["ATAN",1],44:["ASIN",1],45:["ACOS",1],46:["EXP",1],47:["MOD",2],49:["ISNA",1],50:["ISERR",1],51:["FALSE",0],52:["TRUE",0],53:["RAND",0],54:["DATE",3],63:["ROUND",2],64:["TIME",3],68:["ISNUMBER",1],69:["ISTEXT",1],70:["LEN",1],71:["VALUE",1],73:["MID",3],74:["CHAR",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],102:["UPPER",1],103:["LOWER",1],107:["PROPER",1],109:["TRIM",1],111:["T",1]};var S=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function x(e,r){Ca(e,0);var t=[],a=0,n="",i="",s="",f="";while(e.lt.length){console.error("WK1 bad formula parse 0x"+l.toString(16)+":|"+t.join("|")+"|");return}var h=t.slice(-a);t.length-=a;t.push(E[l][0]+"("+h.join(",")+")")}else if(l<=7)return console.error("WK1 invalid opcode "+l.toString(16));else if(l<=24)return console.error("WK1 unsupported op "+l.toString(16));else if(l<=30)return console.error("WK1 invalid opcode "+l.toString(16));else if(l<=115)return console.error("WK1 unsupported function opcode "+l.toString(16));else return console.error("WK1 unrecognized opcode "+l.toString(16));}}if(t.length==1)r[1].f=""+t[0];else console.error("WK1 bad formula parse |"+t.join("|")+"|")}function A(e){var r=[{c:0,r:0},{t:"n",v:0},0];r[0].r=e._R(2);r[3]=e[e.l++];r[0].c=e[e.l++];return r}function C(e,r){var t=A(e,r);t[1].t="s";t[1].v=e._R(r-4,"cstr");return t}function I(e,r,t,a){var n=Oa(6+a.length);n._W(2,e);n._W(1,t);n._W(1,r);n._W(1,39);for(var i=0;i=128?95:s)}n._W(1,0);return n}function R(e,r){var t=A(e,r);t[1].v=e._R(2);var a=t[1].v>>1;if(t[1].v&1){switch(a&7){case 0:a=(a>>3)*5e3;break;case 1:a=(a>>3)*500;break;case 2:a=(a>>3)/20;break;case 3:a=(a>>3)/200;break;case 4:a=(a>>3)/2e3;break;case 5:a=(a>>3)/2e4;break;case 6:a=(a>>3)/16;break;case 7:a=(a>>3)/64;break;}}t[1].v=a;return t}function N(e,r){var t=A(e,r);var a=e._R(4);var n=e._R(4);var i=e._R(2);if(i==65535){if(a===0&&n===3221225472){t[1].t="e";t[1].v=15}else if(a===0&&n===3489660928){t[1].t="e";t[1].v=42}else t[1].v=0;return t}var s=i&32768;i=(i&32767)-16446;t[1].v=(1-s*2)*(n*Math.pow(2,i+32)+a*Math.pow(2,i));return t}function F(e,r,t,a){var n=Oa(14);n._W(2,e);n._W(1,t);n._W(1,r);if(a==0){n._W(4,0);n._W(4,0);n._W(2,65535);return n}var i=0,s=0,f=0,l=0;if(a<0){i=1;a=-a}s=Math.log2(a)|0;a/=Math.pow(2,s-31);l=a>>>0;if((l&2147483648)==0){a/=2;++s;l=a>>>0}a-=l;l|=2147483648;l>>>=0;a*=Math.pow(2,32);f=a>>>0;n._W(4,f);n._W(4,l);s+=16383+(i?32768:0);n._W(2,s);return n}function D(e,r){var t=N(e,14);e.l+=r-14;return t}function P(e,r){var t=A(e,r);var a=e._R(4);t[1].v=a>>6;return t}function L(e,r){var t=A(e,r);var a=e._R(8,"f");t[1].v=a;return t}function M(e,r){var t=L(e,12);e.l+=r-12;return t}function U(e,r){return e[e.l+r-1]==0?e._R(r,"cstr"):""}function B(e,r){var t=e[e.l++];if(t>r-1)t=r-1;var a="";while(a.length127?95:n}t[t.l++]=0;return t}var V={ +0:{n:"BOF",f:ws},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:o},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:m},14:{n:"NUMBER",f:w},15:{n:"LABEL",f:d},16:{n:"FORMULA",f:T},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:p},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},102:{n:"PRANGES??"},103:{n:"RRANGES??"},104:{n:"FNAME??"},105:{n:"MRANGES??"},204:{n:"SHEETNAMECS",f:U},222:{n:"SHEETNAMELP",f:B},255:{n:"BOF",f:ws},21506:{n:"WKSNF",f:ws},65535:{n:""}};var $={0:{n:"BOF"},1:{n:"EOF"},2:{n:"PASSWORD"},3:{n:"CALCSET"},4:{n:"WINDOWSET"},5:{n:"SHEETCELLPTR"},6:{n:"SHEETLAYOUT"},7:{n:"COLUMNWIDTH"},8:{n:"HIDDENCOLUMN"},9:{n:"USERRANGE"},10:{n:"SYSTEMRANGE"},11:{n:"ZEROFORCE"},12:{n:"SORTKEYDIR"},13:{n:"FILESEAL"},14:{n:"DATAFILLNUMS"},15:{n:"PRINTMAIN"},16:{n:"PRINTSTRING"},17:{n:"GRAPHMAIN"},18:{n:"GRAPHSTRING"},19:{n:"??"},20:{n:"ERRCELL"},21:{n:"NACELL"},22:{n:"LABEL16",f:C},23:{n:"NUMBER17",f:N},24:{n:"NUMBER18",f:R},25:{n:"FORMULA19",f:D},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:z},28:{n:"DTLABELMISC"},29:{n:"DTLABELCELL"},30:{n:"GRAPHWINDOW"},31:{n:"CPA"},32:{n:"LPLAUTO"},33:{n:"QUERY"},34:{n:"HIDDENSHEET"},35:{n:"??"},37:{n:"NUMBER25",f:P},38:{n:"??"},39:{n:"NUMBER27",f:L},40:{n:"FORMULA28",f:M},142:{n:"??"},147:{n:"??"},150:{n:"??"},151:{n:"??"},152:{n:"??"},153:{n:"??"},154:{n:"??"},155:{n:"??"},156:{n:"??"},163:{n:"??"},174:{n:"??"},175:{n:"??"},176:{n:"??"},177:{n:"??"},184:{n:"??"},185:{n:"??"},186:{n:"??"},187:{n:"??"},188:{n:"??"},195:{n:"??"},201:{n:"??"},204:{n:"SHEETNAMECS",f:U},205:{n:"??"},206:{n:"??"},207:{n:"??"},208:{n:"??"},256:{n:"??"},259:{n:"??"},260:{n:"??"},261:{n:"??"},262:{n:"??"},263:{n:"??"},265:{n:"??"},266:{n:"??"},267:{n:"??"},268:{n:"??"},270:{n:"??"},271:{n:"??"},384:{n:"??"},389:{n:"??"},390:{n:"??"},393:{n:"??"},396:{n:"??"},512:{n:"??"},514:{n:"??"},513:{n:"??"},516:{n:"??"},517:{n:"??"},640:{n:"??"},641:{n:"??"},642:{n:"??"},643:{n:"??"},644:{n:"??"},645:{n:"??"},646:{n:"??"},647:{n:"??"},648:{n:"??"},658:{n:"??"},659:{n:"??"},660:{n:"??"},661:{n:"??"},662:{n:"??"},665:{n:"??"},666:{n:"??"},768:{n:"??"},772:{n:"??"},1537:{n:"SHEETINFOQP",f:W},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}};var X={5:"dd-mmm-yy",6:"dd-mmm",7:"mmm-yy",8:"mm/dd/yy",10:"hh:mm:ss AM/PM",11:"hh:mm AM/PM",14:"dd-mmm-yyyy",15:"mmm-yyyy",34:"0.00",50:"0.00;[Red]0.00",66:"0.00;(0.00)",82:"0.00;[Red](0.00)",162:'"$"#,##0.00;\\("$"#,##0.00\\)',288:"0%",304:"0E+00",320:"# ?/?"};function G(e){var r=e._R(2);var t=e._R(1);if(t!=0)throw"unsupported QPW string type "+t.toString(16);return e._R(r,"sbcs-cont")}function j(e,r){Ca(e,0);var t=r||{};if(g!=null&&t.dense==null)t.dense=g;var a={};if(t.dense)a["!data"]=[];var n=[],i="",s=[];var f={s:{r:-1,c:-1},e:{r:-1,c:-1}};var l=0,o=0,c=0,u=0;var h={SheetNames:[],Sheets:{}};var d=[];e:while(e.l255||f.s.r>999999)break;if(f.e.cc)f.s.c=c;u=m._R(4);if(f.s.r>u)f.s.r=u;u=m._R(4);if(f.e.ru)f.s.r=u;if(f.e.r0&&l>=0){if(x&32)switch(x&31){case 2:S={t:"n",v:S.v+I&65535};break;case 3:S={t:"n",v:S.v+I&65535};if(S.v>32767)S.v-=65536;break;case 7:S={t:"s",v:n[o=o+I>>>0]};break;default:throw"Cannot apply delta for QPW cell type "+(x&31);}else switch(x&31){case 1:S={t:"z"};break;case 2:S={t:"n",v:m._R(2)};break;case 7:S={t:"s",v:n[o=m._R(4)-1]};break;default:throw"Cannot apply repeat for QPW cell type "+(x&31);}if(A!=-1);if(!(!t.sheetStubs&&S.t=="z")){if(a["!data"]!=null){if(!a["!data"][u])a["!data"][u]=[];a["!data"][u][c]=S}else a[_+Ba(u)]=S}++u;--l}}}break;case 3074:{c=m._R(2);u=m._R(4);var R=G(m);if(a["!data"]!=null){if(!a["!data"][u])a["!data"][u]=[];a["!data"][u][c]={t:"s",v:R}}else a[Va(c)+Ba(u)]={t:"s",v:R}}break;default:break;}e.l+=p}return h}return{sheet_to_wk1:n,book_to_wk3:i,to_workbook:r}}();function no(e){var r={},t=e.match(ft),a=0;var n=false;if(t)for(;a!=t.length;++a){var s=ct(t[a]);switch(s[0].replace(/<\w*:/g,"<")){case"":;case"":r.shadow=1;break;case"":break;case"":;case"":r.outline=1;break;case"":break;case"":;case"":r.strike=1;break;case"":break;case"":;case"":r.u=1;break;case"":break;case"":;case"":r.b=1;break;case"":break;case"":;case"":r.i=1;break;case"":break;case"":;case"":;case"":break;case"":;case"":;case"":break;case"":;case"":;case"":break;case"":;case"":;case"":break;case"":;case"":break;case"":n=false;break;default:if(s[0].charCodeAt(1)!==47&&!n)throw new Error("Unrecognized rich format "+s[0]);}}return r}var io=function(){function e(e){var r=Wr(e,"t");if(!r)return{t:"s",v:""};var t={t:"s",v:vt(r[1])};var a=Wr(e,"rPr");if(a)t.s=no(a[1]);return t}var r=/<(?:\w+:)?r>/g,t=/<\/(?:\w+:)?r>/;return function a(n){return n.replace(r,"").split(t).map(e).filter(function(e){return e.v})}}();var so=function kT(){var e=/(\r\n|\n)/g;function r(e,r,t){var a=[];if(e.u)a.push("text-decoration: underline;");if(e.uval)a.push("text-underline-style:"+e.uval+";");if(e.sz)a.push("font-size:"+e.sz+"pt;");if(e.outline)a.push("text-effect: outline;");if(e.shadow)a.push("text-shadow: auto;");r.push('');if(e.b){r.push("");t.push("")}if(e.i){r.push("");t.push("")}if(e.strike){r.push("");t.push("")}var n=e.valign||"";if(n=="superscript"||n=="super")n="sup";else if(n=="subscript")n="sub";if(n!=""){r.push("<"+n+">");t.push("")}t.push("");return e}function t(t){var a=[[],t.v,[]];if(!t.v)return"";if(t.s)r(t.s,a[0],a[2]);return a[0].join("")+a[1].replace(e,"
")+a[2].join("")}return function a(e){return e.map(t).join("")}}();var fo=/<(?:\w+:)?t\b[^<>]*>([^<]*)<\/(?:\w+:)?t>/g,lo=/<(?:\w+:)?r\b[^<>]*>/;function oo(e,r){var t=r?r.cellHTML:true;var a={};if(!e)return{t:""};if(e.match(/^\s*<(?:\w+:)?t[^>]*>/)){a.t=vt(It(e.slice(e.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||""),true);a.r=It(e);if(t)a.h=kt(a.t)}else if(e.match(lo)){a.r=It(e);a.t=vt(It((Hr(e,"rPh").match(fo)||[]).join("").replace(ft,"")),true);if(t)a.h=so(io(a.r))}return a}var co=/<(?:\w+:)?(?:si|sstItem)>/g;var uo=/<\/(?:\w+:)?(?:si|sstItem)>/;function ho(e,r){var t=[],a="";if(!e)return t;var n=Wr(e,"sst");if(n){a=n[1].replace(co,"").split(uo);for(var i=0;i!=a.length;++i){var s=oo(a[i].trim(),r);if(s!=null)t[t.length]=s}n=ct(n[0].slice(0,n[0].indexOf(">")));t.Count=n.count;t.Unique=n.uniqueCount}return t}var vo=/^\s|\s$|[\t\n\r]/;function po(e,r){if(!r.bookSST)return"";var t=[at];t[t.length]=Ut("sst",null,{xmlns:$t[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 mo(e){return[e._R(4),e._R(4)]}function bo(e,r){var t=[];var a=false;Ra(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.T){}if(!a||r.WTF)throw new Error("Unexpected record 0x"+s.toString(16));}});return t}function go(e,r){if(!r)r=Oa(8);r._W(4,e.Count);r._W(4,e.Unique);return r}var wo=vn;function ko(e){var r=Na();Fa(r,159,go(e));for(var t=0;t=4)e.l+=r-4;return t}function Eo(e){var r={};r.id=e._R(0,"lpp4");r.R=yo(e,4);r.U=yo(e,4);r.W=yo(e,4);return r}function _o(e){var r=e._R(4);var t=e.l+r-4;var a={};var n=e._R(4);var i=[];while(n-- >0)i.push({t:e._R(4),v:e._R(0,"lpp4")});a.name=e._R(0,"lpp4");a.comps=i;if(e.l!=t)throw new Error("Bad DataSpaceMapEntry: "+e.l+" != "+t);return a}function So(e){var r=[];e.l+=4;var t=e._R(4);while(t-- >0)r.push(_o(e));return r}function xo(e){var r=[];e.l+=4;var t=e._R(4);while(t-- >0)r.push(e._R(0,"lpp4"));return r}function Ao(e){var r={};e._R(4);e.l+=4;r.id=e._R(0,"lpp4");r.name=e._R(0,"lpp4");r.R=yo(e,4);r.U=yo(e,4);r.W=yo(e,4);return r}function Co(e){var r=Ao(e);r.ename=e._R(0,"8lpp4");r.blksz=e._R(4);r.cmode=e._R(4);if(e._R(4)!=4)throw new Error("Bad !Primary record");return r}function Io(e,r){var t=e.l+r;var a={};a.Flags=e._R(4)&63;e.l+=4;a.AlgID=e._R(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._R(4);a.KeySize=e._R(4);a.ProviderType=e._R(4);e.l+=8;a.CSPName=e._R(t-e.l>>1,"utf16le");e.l=t;return a}function Oo(e,r){var t={},a=e.l+r;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;e._R(4);t.VerifierHash=e.slice(e.l,a);e.l=a;return t}function Ro(e){var r=yo(e);switch(r.Minor){case 2:return[r.Minor,No(e,r)];case 3:return[r.Minor,Fo(e,r)];case 4:return[r.Minor,Do(e,r)];}throw new Error("ECMA-376 Encrypted file unrecognized Version: "+r.Minor)}function No(e){var r=e._R(4);if((r&63)!=36)throw new Error("EncryptionInfo mismatch");var t=e._R(4);var a=Io(e,t);var n=Oo(e,e.length-e.l);return{t:"Std",h:a,v:n}}function Fo(){throw new Error("File is password-protected: ECMA-376 Extensible")}function Do(e){var r=["saltSize","blockSize","keyBits","hashSize","cipherAlgorithm","cipherChaining","hashAlgorithm","saltValue"];e.l+=4;var t=e._R(e.length-e.l,"utf8");var a={};t.replace(ft,function n(e){var t=ct(e);switch(ut(t[0])){case"":break;case"":;case"":break;case"":break;case"4||a.Major<2)throw new Error("unrecognized major version code: "+a.Major);t.Flags=e._R(4);r-=4;var n=e._R(4);r-=4;t.EncryptionHeader=Io(e,n);r-=n;t.EncryptionVerifier=Oo(e,r);return t}function Lo(e){var r={};var t=r.EncryptionVersionInfo=yo(e,4);if(t.Major!=1||t.Minor!=1)throw"unrecognized version code "+t.Major+" : "+t.Minor;r.Salt=e._R(16);r.EncryptedVerifier=e._R(16);r.EncryptedVerifierHash=e._R(16);return r}function Mo(e){var r=0,t;var a=To(e);var n=a.length+1,i,s;var f,l,o;t=C(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;l=r<<1&32767;o=f|l;r=o^s}return r^52811}var Uo=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=To(r);var a=i(t);var s=t.length;var f=C(16);for(var l=0;l!=16;++l)f[l]=0;var o,c,u;if((s&1)===1){o=a>>8;f[s]=n(e[0],o);--s;o=a&255;c=t[t.length-1];f[s]=n(c,o)}while(s>0){--s;o=a>>8;f[s]=n(t[s],o);--s;o=a&255;f[s]=n(t[s],o)}s=15;u=15-t.length;while(u>0){o=a>>8;f[s]=n(e[u],o);--s;--u;o=a&255;f[s]=n(t[s],o);--s;--u}return f}}();var Bo=function(e,r,t,a,n){if(!n)n=r;if(!a)a=Uo(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 Wo=function(e){var r=0,t=Uo(e);return function(e){var a=Bo("",e,r,t);r=a[1];return a[0]}};function zo(e,r,t,a){var n={key:ws(e),verificationBytes:ws(e)};if(t.password)n.verifier=Mo(t.password);a.valid=n.verificationBytes===n.verifier;if(a.valid)a.insitu=Wo(t.password);return n}function Ho(e,r,t){var a=t||{};a.Info=e._R(2);e.l-=2;if(a.Info===1)a.Data=Lo(e,r);else a.Data=Po(e,r);return a}function Vo(e,r,t){var a={Type:t.biff>=8?e._R(2):0};if(a.Type)Ho(e,r-2,a);else zo(e,t.biff>=8?r:r-2,t,a);return a}function $o(e,r){switch(r.type){case"base64":return Xo(_(e),r);case"binary":return Xo(e,r);case"buffer":return Xo(S&&Buffer.isBuffer(e)?e.toString("binary"):N(e),r);case"array":return Xo(kr(e),r);}throw new Error("Unrecognized type "+r.type)}function Xo(e,r){var t=r||{};var a={};var n=t.dense;if(n)a["!data"]=[];var i=Lr(e,"\\trowd","\\row");if(!i)throw new Error("RTF missing table");var s={s:{c:0,r:0},e:{c:0,r:i.length-1}};var f=[];i.forEach(function(e,r){if(n)f=a["!data"][r]=[];var i=/\\[\w\-]+\b/g;var l=0;var o;var c=-1;var u=[];while((o=i.exec(e))!=null){var h=e.slice(l,i.lastIndex-o[0].length);if(h.charCodeAt(0)==32)h=h.slice(1);if(h.length)u.push(h);switch(o[0]){case"\\cell":++c;if(u.length){var d={v:u.join(""),t:"s"};if(d.v=="TRUE"||d.v=="FALSE"){d.v=d.v=="TRUE";d.t="b"}else if(!isNaN(Er(d.v))){d.t="n";if(t.cellText!==false)d.w=d.v;d.v=Er(d.v)}if(n)f[c]=d;else a[Ka({r:r,c:c})]=d}u=[];break;case"\\par":u.push("\n");break;}l=i.lastIndex}if(c>s.e.c)s.e.c=c});a["!ref"]=Za(s);return a}function Go(e,r){var t=tn($o(e,r),r);t.bookType="rtf";return t}function jo(e,r){var t=["{\\rtf1\\ansi"];if(!e["!ref"])return t[0]+"}";var a=Qa(e["!ref"]),n;var i=e["!data"]!=null,s=[];for(var f=a.s.r;f<=a.e.r;++f){t.push("\\trowd\\trautofit1");for(var l=a.s.c;l<=a.e.c;++l)t.push("\\cellx"+(l+1));t.push("\\pard\\intbl");if(i)s=e["!data"][f]||[];for(l=a.s.c;l<=a.e.c;++l){var o=Ka({r:f,c:l});n=i?s[l]:e[o];if(!n||n.v==null&&(!n.f||n.F)){t.push(" \\cell");continue}t.push(" "+(n.w||(rn(n),n.w)||"").replace(/[\r\n]/g,"\\par "));t.push("\\cell")}t.push("\\pard\\intbl\\row")}return t.join("")+"}"}function Ko(e){var r=e.slice(e[0]==="#"?1:0).slice(0,6);return[parseInt(r.slice(0,2),16),parseInt(r.slice(2,4),16),parseInt(r.slice(4,6),16)]}function Yo(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().slice(1)}function Zo(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,l=0,o=n+i;l=s/(o>1?2-o:o);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,l,o/2]}function Jo(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 l;if(t!==0)switch(f|0){case 0:;case 6:l=n*f;s[0]+=n;s[1]+=l;break;case 1:l=n*(2-f);s[0]+=l;s[1]+=n;break;case 2:l=n*(f-2);s[1]+=n;s[2]+=l;break;case 3:l=n*(4-f);s[1]+=l;s[2]+=n;break;case 4:l=n*(f-4);s[2]+=n;s[0]+=l;break;case 5:l=n*(6-f);s[2]+=l;s[0]+=n;break;}for(var o=0;o!=3;++o)s[o]=Math.round(s[o]*255);return s}function qo(e,r){if(r===0)return e;var t=Zo(Ko(e));if(r<0)t[2]=t[2]*(1+r);else t[2]=1-(1-t[2])*(1-r);return Yo(Jo(t))}var Qo=6,ec=15,rc=1,tc=Qo;function ac(e){return Math.floor((e+Math.round(128/tc)/256)*tc)}function nc(e){return Math.floor((e-5)/tc*100+.5)/100}function ic(e){return Math.round((e*tc+5)/tc*256)/256}function sc(e){return ic(nc(ac(e)))}function fc(e){var r=Math.abs(e-sc(e)),t=tc;if(r>.005)for(tc=rc;tc":;case"":break;case"":;case"":n={};if(t.diagonalUp)n.diagonalUp=_t(t.diagonalUp);if(t.diagonalDown)n.diagonalDown=_t(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;case"":;case"":break;case"":i=false;break;default:if(a&&a.WTF){if(!i)throw new Error("unrecognized "+t[0]+" in borders")};}})}function pc(e,r,t,a){r.Fills=[];var n={};var i=false;(e.match(ft)||[]).forEach(function(e){var t=ct(e);switch(ut(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;case"":;case"":break;case"":i=false;break;default:if(a&&a.WTF){if(!i)throw new Error("unrecognized "+t[0]+" in fills")};}})}function mc(e,r,t,a){r.Fonts=[];var n={};var s=false;(e.match(ft)||[]).forEach(function(e){var f=ct(e);switch(ut(f[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;case"":s=false;break;case"":;case"":break;case"":s=false;break;default:if(a&&a.WTF){if(!s)throw new Error("unrecognized "+f[0]+" in fonts")};}})}function bc(e,r,t){r.NumberFmt=[];var a=ir(q);for(var n=0;n":;case"":;case"":break;case"0){if(l>392){for(l=392;l>60;--l)if(r.NumberFmt[l]==null)break;r.NumberFmt[l]=f}Je(f,l)}}break;case"":break;default:if(t.WTF)throw new Error("unrecognized "+s[0]+" in numFmts");}}}function gc(e){var r=[""];[[5,8],[23,26],[41,44],[50,392]].forEach(function(t){for(var a=t[0];a<=t[1];++a)if(e[a]!=null)r[r.length]=Ut("numFmt",null,{numFmtId:a,formatCode:bt(e[a])})});if(r.length===1)return"";r[r.length]="";r[0]=Ut("numFmts",null,{count:r.length-2}).replace("/>",">");return r.join("")}var wc=["numFmtId","fillId","fontId","borderId","xfId"];var kc=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"];function Tc(e,r,t){r.CellXf=[];var a;var n=false;(e.match(ft)||[]).forEach(function(e){var i=ct(e),s=0;switch(ut(i[0])){case"":;case"":;case"":break;case"":;case"":a=i;delete a[0];for(s=0;s392){for(s=392;s>60;--s)if(r.NumberFmt[a.numFmtId]==r.NumberFmt[s]){a.numFmtId=s;break}}r.CellXf.push(a);break;case"":break;case"":;case"":var f={};if(i.vertical)f.vertical=i.vertical;if(i.horizontal)f.horizontal=i.horizontal;if(i.textRotation!=null)f.textRotation=i.textRotation;if(i.indent)f.indent=i.indent;if(i.wrapText)f.wrapText=_t(i.wrapText);a.alignment=f;break;case"":break;case"":break;case"":;case"":break;case"":n=true;break;case"":n=false;break;case"":;case"":break;case"":n=false;break;default:if(t&&t.WTF){if(!n)throw new Error("unrecognized "+i[0]+" in cellXfs")};}})}function yc(e){var r=[];r[r.length]=Ut("cellXfs",null);e.forEach(function(e){r[r.length]=Ut("xf",null,e)});r[r.length]="";if(r.length===2)return"";r[0]=Ut("cellXfs",null,{count:r.length-2}).replace("/>",">");return r.join("")}var Ec=function TT(){return function e(r,t,a){var n={};if(!r)return n;r=Pr(Mr(r,""));var i;if(i=Wr(r,"numFmts"))bc(i[0],n,a);if(i=Wr(r,"fonts"))mc(i[0],n,t,a);if(i=Wr(r,"fills"))pc(i[0],n,t,a);if(i=Wr(r,"borders"))vc(i[0],n,t,a);if(i=Wr(r,"cellXfs"))Tc(i[0],n,a);return n}}();function _c(e,r){var t=[at,Ut("styleSheet",null,{xmlns:$t[0],"xmlns:vt":Vt.vt})],a;if(e.SSF&&(a=gc(e.SSF))!=null)t[t.length]=a;t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';if(a=yc(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 Sc(e,r){var t=e._R(2);var a=on(e,r-2);return[t,a]}function xc(e,r,t){if(!t)t=Oa(6+4*r.length);t._W(2,e);cn(r,t);var a=t.length>t.l?t.slice(0,t.l):t;if(t.l==null)t.l=t.length;return a}function Ac(e,r,t){var a={};a.sz=e._R(2)/20;var n=Un(e,2,t);if(n.fItalic)a.italic=1;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;var i=e._R(2);if(i===700)a.bold=1;switch(e._R(2)){case 1:a.vertAlign="superscript";break;case 2:a.vertAlign="subscript";break;}var s=e._R(1);if(s!=0)a.underline=s;var f=e._R(1);if(f>0)a.family=f;var l=e._R(1);if(l>0)a.charset=l;e.l++;a.color=Ln(e,8);switch(e._R(1)){case 1:a.scheme="major";break;case 2:a.scheme="minor";break;}a.name=on(e,r-21);return a}function Cc(e,r){if(!r)r=Oa(25+4*32);r._W(2,e.sz*20);Bn(e,r);r._W(2,e.bold?700:400);var t=0;if(e.vertAlign=="superscript")t=1;else if(e.vertAlign=="subscript")t=2;r._W(2,t);r._W(1,e.underline||0);r._W(1,e.family||0);r._W(1,e.charset||0);r._W(1,0);Mn(e.color,r);var a=0;if(e.scheme=="major")a=1;if(e.scheme=="minor")a=2;r._W(1,a);cn(e.name,r);return r.length>r.l?r.slice(0,r.l):r}var Ic=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];var Oc;var Rc=Ia;function Nc(e,r){if(!r)r=Oa(4*3+8*7+16*1);if(!Oc)Oc=fr(Ic);var t=Oc[e.patternType];if(t==null)t=40;r._W(4,t);var a=0;if(t!=40){Mn({auto:1},r);Mn({auto:1},r);for(;a<12;++a)r._W(4,0)}else{for(;a<4;++a)r._W(4,0);for(;a<12;++a)r._W(4,0)}return r.length>r.l?r.slice(0,r.l):r}function Fc(e,r){var t=e.l+r;var a=e._R(2);var n=e._R(2);e.l=t;return{ixfe:a,numFmtId:n}}function Dc(e,r,t){if(!t)t=Oa(16);t._W(2,r||0);t._W(2,e.numFmtId||0);t._W(2,0);t._W(2,0);t._W(2,0);t._W(1,0);t._W(1,0);var a=0;t._W(1,a);t._W(1,0);t._W(1,0);t._W(1,0);return t}function Pc(e,r){if(!r)r=Oa(10);r._W(1,0);r._W(1,0);r._W(4,0);r._W(4,0);return r}var Lc=Ia;function Mc(e,r){if(!r)r=Oa(51);r._W(1,0);Pc(null,r);Pc(null,r);Pc(null,r);Pc(null,r);Pc(null,r);return r.length>r.l?r.slice(0,r.l):r}function Uc(e,r){if(!r)r=Oa(12+4*10);r._W(4,e.xfId);r._W(2,1); +r._W(1,+e.builtinId);r._W(1,0);_n(e.name||"",r);return r.length>r.l?r.slice(0,r.l):r}function Bc(e,r,t){var a=Oa(4+256*2*4);a._W(4,e);_n(r,a);_n(t,a);return a.length>a.l?a.slice(0,a.l):a}function Wc(e,r,t){var a={};a.NumberFmt=[];for(var n in q)a.NumberFmt[n]=q[n];a.CellXf=[];a.Fonts=[];var i=[];var s=false;Ra(e,function f(e,n,l){switch(l){case 44:a.NumberFmt[e[0]]=e[1];Je(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=qo(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]==617){a.CellXf.push(e)}break;case 48:;case 507:;case 572:;case 475:break;case 1171:;case 2102:;case 1130:;case 512:;case 2095:;case 3072:break;case 35:s=true;break;case 36:s=false;break;case 37:i.push(l);s=true;break;case 38:i.pop();s=false;break;default:if(n.T>0)i.push(l);else if(n.T<0)i.pop();else if(!s||t.WTF&&i[i.length-1]!=37)throw new Error("Unexpected record 0x"+l.toString(16));}});return a}function zc(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;Fa(e,615,ln(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)Fa(e,44,xc(a,r[a]))});Fa(e,616)}function Hc(e){var r=1;if(r==0)return;Fa(e,611,ln(r));Fa(e,43,Cc({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}));Fa(e,612)}function Vc(e){var r=2;if(r==0)return;Fa(e,603,ln(r));Fa(e,45,Nc({patternType:"none"}));Fa(e,45,Nc({patternType:"gray125"}));Fa(e,604)}function $c(e){var r=1;if(r==0)return;Fa(e,613,ln(r));Fa(e,46,Mc({}));Fa(e,614)}function Xc(e){var r=1;Fa(e,626,ln(r));Fa(e,47,Dc({numFmtId:0,fontId:0,fillId:0,borderId:0},65535));Fa(e,627)}function Gc(e,r){Fa(e,617,ln(r.length));r.forEach(function(r){Fa(e,47,Dc(r,0))});Fa(e,618)}function jc(e){var r=1;Fa(e,619,ln(r));Fa(e,48,Uc({xfId:0,builtinId:0,name:"Normal"}));Fa(e,620)}function Kc(e){var r=0;Fa(e,505,ln(r));Fa(e,506)}function Yc(e){var r=0;Fa(e,508,Bc(r,"TableStyleMedium9","PivotStyleMedium4"));Fa(e,509)}function Zc(){return}function Jc(e,r){var t=Na();Fa(t,278);zc(t,e.SSF);Hc(t,e);Vc(t,e);$c(t,e);Xc(t,e);Gc(t,r.cellXfs);jc(t,e);Kc(t,e);Yc(t,e);Zc(t,e);Fa(t,279);return t.end()}var qc=["","","","","","","","","","","",""];function Qc(e,r,t){r.themeElements.clrScheme=[];var a={};(e[0].match(ft)||[]).forEach(function(e){var n=ct(e);switch(n[0]){case"":break;case"":break;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[qc.indexOf(n[0])]=a;a={}}else{a.name=n[0].slice(3,n[0].length-1)}break;default:if(t&&t.WTF)throw new Error("Unrecognized "+n[0]+" in clrScheme");}})}function eu(){}function ru(){}function tu(e,r,t){r.themeElements={};var a;if(!(a=Br(e,"a:clrScheme")))throw new Error("clrScheme not found in themeElements");Qc(a,r,t);if(!(a=Br(e,"a:fontScheme")))throw new Error("fontScheme not found in themeElements");eu(a,r,t);if(!(a=Br(e,"a:fmtScheme")))throw new Error("fmtScheme not found in themeElements");ru(a,r,t)}function au(e,r){if(!e||e.length===0)e=nu();var t;var a={};if(!(t=Br(e,"a:themeElements")))throw new Error("themeElements not found in theme");tu(t[0],a,r);a.raw=e;return a}function nu(e,r){if(r&&r.themeXLSX)return r.themeXLSX;if(e&&typeof e.raw=="string")return e.raw;var t=[at];t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]="";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 iu(e,r,t){var a=e.l+r;var n=e._R(4);if(n===124226)return;if(!t.cellStyles){e.l=a;return}var i=e.slice(e.l);e.l=a;var s;try{s=rt(i,{type:"array"})}catch(f){return}var l=Zr(s,"theme/theme/theme1.xml",true);if(!l)return;return au(l,t)}function su(e){return e._R(4)}function fu(e){var r={};r.xclrType=e._R(2);r.nTintShade=e._R(2);switch(r.xclrType){case 0:e.l+=4;break;case 1:r.xclrValue=lu(e,4);break;case 2:r.xclrValue=Bs(e,4);break;case 3:r.xclrValue=su(e,4);break;case 4:e.l+=4;break;}e.l+=8;return r}function lu(e,r){return Ia(e,r)}function ou(e,r){return Ia(e,r)}function cu(e){var r=e._R(2);var t=e._R(2)-4;var a=[r];switch(r){case 4:;case 5:;case 7:;case 8:;case 9:;case 10:;case 11:;case 13:a[1]=fu(e,t);break;case 6:a[1]=ou(e,t);break;case 14:;case 15:a[1]=e._R(t===1?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+r+" "+t);}return a}function uu(e,r){var t=e.l+r;e.l+=2;var a=e._R(2);e.l+=2;var n=e._R(2);var i=[];while(n-- >0)i.push(cu(e,t-e.l));return{ixfe:a,ext:i}}function hu(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 du(e,r){return{flags:e._R(4),version:e._R(4),name:on(e,r-8)}}function vu(e){var r=Oa(12+2*e.name.length);r._W(4,e.flags);r._W(4,e.version);cn(e.name,r);return r.slice(0,r.l)}function pu(e){var r=[];var t=e._R(4);while(t-- >0)r.push([e._R(4),e._R(4)]);return r}function mu(e){var r=Oa(4+8*e.length);r._W(4,e.length);for(var t=0;t":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":i=2;break;case"":i=2;break;case"":;case"":;case"":break;case"":n=false;break;case"\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n');return e.join("")}function _u(e){var r=[];if(!e)return r;var t=1;(e.match(ft)||[]).forEach(function(e){var a=ct(e);switch(a[0]){case"":;case"":break;case"]*r:id="([^<>"]*)"/)||["",""])[1];return r["!id"][t].Target}function Ou(e,r,t){var a=0;(zr(e,"shape")||[]).forEach(function(e){var n="";var i=true;var s=-1;var f=-1,l=-1;e.replace(ft,function(r,t){var a=ct(r);switch(ut(a[0])){case"":i=false;break;case"":s=t+r.length;break;case"":f=+e.slice(s,t).trim();break;case"":s=t+r.length;break;case"":l=+e.slice(s,t).trim();break;}return""});switch(n){case"Note":var o=zk(r,f>=0&&l>=0?Ka({r:f,c:l}):t[a].ref);if(o.c){o.c.hidden=i}++a;break;}})}function Ru(e,r,t){var a=[21600,21600];var n=["m0,0l0",a[1],a[0],a[1],a[0],"0xe"].join(",");var i=[Ut("xml",null,{"xmlns:v":Xt.v,"xmlns:o":Xt.o,"xmlns:x":Xt.x,"xmlns:mv":Xt.mv}).replace(/\/>/,">"),Ut("o:shapelayout",Ut("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"})];var s=65536*e;var f=r||[];if(f.length>0)i.push(Ut("v:shapetype",[Ut("v:stroke",null,{joinstyle:"miter"}),Ut("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202",coordsize:a.join(","),"o:spt":202,path:n}));f.forEach(function(e){++s;i.push(Nu(e,s))});i.push("");return i.join("")}function Nu(e,r,t){var a=ja(e[0]);var n={color2:"#BEFF82",type:"gradient"};if(n.type=="gradient")n.angle="-180";var i=n.type=="gradient"?Ut("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null;var s=Ut("v:fill",i,n);var f={on:"t",obscured:"t"};return["",s,Ut("v:shadow",null,f),Ut("v:path",null,{"o:connecttype":"none"}),'
','',"","",Lt("x:Anchor",[a.c+1,0,a.r+1,0,a.c+3,20,a.r+5,20].join(",")),Lt("x:AutoFill","False"),Lt("x:Row",String(a.r)),Lt("x:Column",String(a.c)),e[1].hidden?"":"","",""].join("")}function Fu(e,r,t,a){var n=e["!data"]!=null;var i;r.forEach(function(r){var s=ja(r.ref);if(s.r<0||s.c<0)return;if(n){if(!e["!data"][s.r])e["!data"][s.r]=[];i=e["!data"][s.r][s.c]}else i=e[r.ref];if(!i){i={t:"z"};if(n)e["!data"][s.r][s.c]=i;else e[r.ref]=i;var f=Qa(e["!ref"]||"BDWGO1000001:A1");if(f.s.r>s.r)f.s.r=s.r;if(f.e.rs.c)f.s.c=s.c;if(f.e.c=0;--c){if(!t&&i.c[c].T)return;if(t&&!i.c[c].T)i.c.splice(c,1)}if(t&&a)for(c=0;c/))return[];var t=[];var a=[];var n=Wr(e,"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=Wr(e,"commentList");if(i&&i[1])i[1].split(/<\/\w*:?comment>/).forEach(function(e){if(e===""||e.trim()==="")return;var n=e.match(/<(?:\w+:)?comment[^<>]*>/);if(!n)return;var i=ct(n[0]);var s={author:i.authorId&&t[i.authorId]||"sheetjsghost",ref:i.ref,guid:i.guid};var f=ja(i.ref);if(r.sheetRows&&r.sheetRows<=f.r)return;var l=Wr(e,"text");var o=!!l&&!!l[1]&&oo(l[1])||{r:"",t:"",h:""};s.r=o.r;if(o.r=="")o.t=o.h="";s.t=(o.t||"").replace(/\r\n/g,"\n").replace(/\r/g,"\n");if(r.cellHTML)s.h=o.h;a.push(s)});return a}function Pu(e){var r=[at,Ut("comments",null,{xmlns:$t[0]})];var t=[];r.push("");e.forEach(function(e){e[1].forEach(function(e){var a=bt(e.a);if(t.indexOf(a)==-1){t.push(a);r.push(""+a+"")}if(e.T&&e.ID&&t.indexOf("tc="+e.ID)==-1){t.push("tc="+e.ID);r.push(""+"tc="+e.ID+"")}})});if(t.length==0){t.push("SheetJ5");r.push("SheetJ5")}r.push("");r.push("");e.forEach(function(e){var a=0,n=[],i=0;if(e[1][0]&&e[1][0].T&&e[1][0].ID)a=t.indexOf("tc="+e[1][0].ID);e[1].forEach(function(e){if(e.a)a=t.indexOf(bt(e.a));if(e.T)++i;n.push(e.t==null?"":bt(e.t))});if(i===0){e[1].forEach(function(a){r.push('');r.push(Lt("t",a.t==null?"":bt(a.t)));r.push("")})}else{if(e[1][0]&&e[1][0].T&&e[1][0].ID)a=t.indexOf("tc="+e[1][0].ID);r.push('');var s="Comment:\n "+n[0]+"\n";for(var f=1;f")}});r.push("");if(r.length>2){r[r.length]="";r[1]=r[1].replace("/>",">")}return r.join("")}function Lu(e,r){var t=[];var a=false,n={},i=0;e.replace(ft,function s(f,l){var o=ct(f);switch(ut(o[0])){case"":break;case"":if(n.t!=null)t.push(n);break;case"":;case"":n.t=e.slice(i,l).replace(/\r\n/g,"\n").replace(/\r/g,"\n");break;case"":a=true;break;case"":a=false;break;case"":;case"
":;case"":break;case"":a=false;break;default:if(!a&&r.WTF)throw new Error("unrecognized "+o[0]+" in threaded comments");}return f});return t}function Mu(e,r,t){var a=[at,Ut("ThreadedComments",null,{xmlns:Vt.TCMNT}).replace(/[\/]>/,">")];e.forEach(function(e){var n="";(e[1]||[]).forEach(function(i,s){if(!i.T){delete i.ID;return}if(i.a&&r.indexOf(i.a)==-1)r.push(i.a);var f={ref:e[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+t.tcid++).slice(-12)+"}"};if(s==0)n=f.id;else f.parentId=n;i.ID=f.id;if(i.a)f.personId="{54EE7950-7262-4200-6969-"+("000000000000"+r.indexOf(i.a)).slice(-12)+"}";a.push(Ut("threadedComment",Lt("text",i.t||""),f))})});a.push("");return a.join("")}function Uu(e,r){var t=[];var a=false;e.replace(ft,function n(e){var n=ct(e);switch(ut(n[0])){case"":break;case"":break;case"":;case"":;case"":break;case"":a=false;break;default:if(!a&&r.WTF)throw new Error("unrecognized "+n[0]+" in threaded comments");}return e});return t}function Bu(e){var r=[at,Ut("personList",null,{xmlns:Vt.TCMNT,"xmlns:x":$t[0]}).replace(/[\/]>/,">")];e.forEach(function(e,t){r.push(Ut("person",null,{displayName:e,id:"{54EE7950-7262-4200-6969-"+("000000000000"+t).slice(-12)+"}",userId:e,providerId:"None"}))});r.push("");return r.join("")}function Wu(e){var r={};r.iauthor=e._R(4);var t=Nn(e,16);r.rfx=t.s;r.ref=Ka(t.s);e.l+=16;return r}function zu(e,r){if(r==null)r=Oa(36);r._W(4,e[1].iauthor);Fn(e[0],r);r._W(4,0);r._W(4,0);r._W(4,0);r._W(4,0);return r}var Hu=on;function Vu(e){return cn(e.slice(0,54))}function $u(e,r){var t=[];var a=[];var n={};var i=false;Ra(e,function s(e,f,l){switch(l){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&&n.rfx&&r.sheetRows<=n.rfx.r)break;if(!n.t)n.t="";delete n.rfx;t.push(n);break;case 3072:break;case 35:i=true;break;case 36:i=false;break;case 37:break;case 38:break;default:if(f.T){}else if(!i||r.WTF)throw new Error("Unexpected record 0x"+l.toString(16));}});return t}function Xu(e){var r=Na();var t=[];Fa(r,628);Fa(r,630);e.forEach(function(e){e[1].forEach(function(e){if(t.indexOf(e.a)>-1)return;t.push(e.a.slice(0,54));Fa(r,632,Vu(e.a));if(e.T&&e.ID&&t.indexOf("tc="+e.ID)==-1){t.push("tc="+e.ID);Fa(r,632,Vu("tc="+e.ID))}})});Fa(r,631);Fa(r,633);e.forEach(function(e){e[1].forEach(function(a){var n=-1;if(a.ID)n=t.indexOf("tc="+a.ID);if(n==-1&&e[1][0].T&&e[1][0].ID)n=t.indexOf("tc="+e[1][0].ID);if(n==-1)n=t.indexOf(a.a);a.iauthor=n;var i={s:ja(e[0]),e:ja(e[0])};Fa(r,635,zu([i,a]));if(a.t&&a.t.length>0)Fa(r,637,mn(a));Fa(r,636);delete a.iauthor})});Fa(r,634);Fa(r,629);return r.end()}var Gu="application/vnd.ms-office.vbaProject";function ju(e){var r=Qe.utils.cfb_new({root:"R"});e.FullPaths.forEach(function(t,a){if(t.slice(-1)==="/"||!t.match(/_VBA_PROJECT_CUR/))return;var n=t.replace(/^[^\/]*/,"R").replace(/\/_VBA_PROJECT_CUR\u0000*/,"");Qe.utils.cfb_add(r,n,e.FileIndex[a].content)});return Qe.write(r)}function Ku(e,r){r.FullPaths.forEach(function(t,a){if(a==0)return;var n=t.replace(/^[\/]*[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");if(n.slice(-1)!=="/")Qe.utils.cfb_add(e,n,r.FileIndex[a].content)})}var Yu=["xlsb","xlsm","xlam","biff8","xla"];function Zu(){return{"!type":"dialog"}}function Ju(){return{"!type":"dialog"}}function qu(){return{"!type":"macro"}}function Qu(){return{"!type":"macro"}}var eh=function(){var e=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g;var r={r:0,c:0};function t(e,t,a,n){var i=false,s=false;if(a.length==0)s=true;else if(a.charAt(0)=="["){s=true;a=a.slice(1,-1)}if(n.length==0)i=true;else if(n.charAt(0)=="["){i=true;n=n.slice(1,-1)}var f=a.length>0?parseInt(a,10)|0:0,l=n.length>0?parseInt(n,10)|0:0;if(i)l+=r.c;else--l;if(s)f+=r.r;else--f;return t+(i?"":"$")+Va(l)+(s?"":"$")+Ba(f)}return function a(n,i){r=i;return n.replace(e,t)}}();var rh=/(^|[^._A-Z0-9])(\$?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])(\$?)(\d{1,7})(?![_.\(A-Za-z0-9])/g;try{rh=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g}catch(th){}var ah=function(){return function e(r,t){return r.replace(rh,function(e,r,a,n,i,s){var f=Ha(n)-(a?0:t.c);var l=Ua(s)-(i?0:t.r);var o=i=="$"?l+1:l==0?"":"["+l+"]";var c=a=="$"?f+1:f==0?"":"["+f+"]";return r+"R"+o+"C"+c})}}();function nh(e,r){return e.replace(rh,function(e,t,a,n,i,s){return t+(a=="$"?a+n:Va(Ha(n)+r.c))+(i=="$"?i+s:Ba(Ua(s)+r.r))})}function ih(e,r,t){var a=Ya(r),n=a.s,i=ja(t);var s={r:i.r-n.r,c:i.c-n.c};return nh(e,s)}function sh(e){if(e.length==1)return false;return true}function fh(e){return e.replace(/_xlfn\./g,"")}function lh(e){e.l+=1;return}function oh(e,r){var t=e._R(r==1?1:2);return[t&16383,t>>14&1,t>>15&1]}function ch(e,r,t){var a=2;if(t){if(t.biff>=2&&t.biff<=5)return uh(e,r,t);else if(t.biff==12)a=4}var n=e._R(a),i=e._R(a);var s=oh(e,2);var f=oh(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 uh(e){var r=oh(e,2),t=oh(e,2);var a=e._R(1);var n=e._R(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 hh(e,r,t){if(t.biff<8)return uh(e,r,t);var a=e._R(t.biff==12?4:2),n=e._R(t.biff==12?4:2);var i=oh(e,2);var s=oh(e,2);return{s:{r:a,c:i[0],cRel:i[1],rRel:i[2]},e:{r:n,c:s[0],cRel:s[1],rRel:s[2]}}}function dh(e,r,t){if(t&&t.biff>=2&&t.biff<=5)return vh(e,r,t);var a=e._R(t&&t.biff==12?4:2);var n=oh(e,2);return{r:a,c:n[0],cRel:n[1],rRel:n[2]}}function vh(e){var r=oh(e,2);var t=e._R(1);return{r:r[0],c:t,cRel:r[1],rRel:r[2]}}function ph(e){var r=e._R(2);var t=e._R(2);return{r:r,c:t&255,fQuoted:!!(t&16384),cRel:t>>15,rRel:t>>15}}function mh(e,r,t){var a=t&&t.biff?t.biff:8;if(a>=2&&a<=5)return bh(e,r,t);var n=e._R(a>=12?4:2);var i=e._R(2);var s=(i&16384)>>14,f=(i&32768)>>15;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 bh(e){var r=e._R(2);var t=e._R(1);var a=(r&32768)>>15,n=(r&16384)>>14;r&=16383;if(a==1&&r>=8192)r=r-16384;if(n==1&&t>=128)t=t-256;return{r:r,c:t,cRel:n,rRel:a}}function gh(e,r,t){var a=(e[e.l++]&96)>>5;var n=ch(e,t.biff>=2&&t.biff<=5?6:8,t); +return[a,n]}function wh(e,r,t){var a=(e[e.l++]&96)>>5;var n=e._R(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=ch(e,i,t);return[a,n,s]}function kh(e,r,t){var a=(e[e.l++]&96)>>5;e.l+=t&&t.biff>8?12:t.biff<8?6:8;return[a]}function Th(e,r,t){var a=(e[e.l++]&96)>>5;var n=e._R(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 yh(e,r,t){var a=(e[e.l++]&96)>>5;var n=hh(e,r-1,t);return[a,n]}function Eh(e,r,t){var a=(e[e.l++]&96)>>5;e.l+=t.biff==2?6:t.biff==12?14:7;return[a]}function _h(e){var r=e[e.l+1]&1;var t=1;e.l+=4;return[r,t]}function Sh(e,r,t){e.l+=2;var a=e._R(t&&t.biff==2?1:2);var n=[];for(var i=0;i<=a;++i)n.push(e._R(t&&t.biff==2?1:2));return n}function xh(e,r,t){var a=e[e.l+1]&255?1:0;e.l+=2;return[a,e._R(t&&t.biff==2?1:2)]}function Ah(e,r,t){var a=e[e.l+1]&255?1:0;e.l+=2;return[a,e._R(t&&t.biff==2?1:2)]}function Ch(e){var r=e[e.l+1]&255?1:0;e.l+=2;return[r,e._R(2)]}function Ih(e,r,t){var a=e[e.l+1]&255?1:0;e.l+=t&&t.biff==2?3:4;return[a]}function Oh(e){var r=e._R(1),t=e._R(1);return[r,t]}function Rh(e){e._R(2);return Oh(e,2)}function Nh(e){e._R(2);return Oh(e,2)}function Fh(e,r,t){var a=(e[e.l]&96)>>5;e.l+=1;var n=dh(e,0,t);return[a,n]}function Dh(e,r,t){var a=(e[e.l]&96)>>5;e.l+=1;var n=mh(e,0,t);return[a,n]}function Ph(e,r,t){var a=(e[e.l]&96)>>5;e.l+=1;var n=e._R(2);if(t&&t.biff==5)e.l+=12;var i=dh(e,0,t);return[a,n,i]}function Lh(e,r,t){var a=(e[e.l]&96)>>5;e.l+=1;var n=e._R(t&&t.biff<=3?1:2);return[cv[n],ov[n],a]}function Mh(e,r,t){var a=e[e.l++];var n=e._R(1),i=t&&t.biff<=3?[a==88?-1:0,e._R(1)]:Uh(e);return[n,(i[0]===0?ov:lv)[i[1]]]}function Uh(e){return[e[e.l+1]>>7,e._R(2)&32767]}function Bh(e,r,t){e.l+=t&&t.biff==2?3:4;return}function Wh(e,r,t){e.l++;if(t&&t.biff==12)return[e._R(4,"i"),0];var a=e._R(2);var n=e._R(t&&t.biff==2?1:2);return[a,n]}function zh(e){e.l++;return oi[e._R(1)]}function Hh(e){e.l++;return e._R(2)}function Vh(e){e.l++;return e._R(1)!==0}function $h(e){e.l++;return Dn(e,8)}function Xh(e,r,t){e.l++;return _s(e,r-1,t)}function Gh(e,r){var t=[e._R(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]=bs(e,1)?"TRUE":"FALSE";if(r!=12)e.l+=7;break;case 37:;case 16:t[1]=oi[e[e.l]];e.l+=r==12?4:8;break;case 0:e.l+=8;break;case 1:t[1]=Dn(e,8);break;case 2:t[1]=Is(e,0,{biff:r>0&&r<8?2:r});break;default:throw new Error("Bad SerAr: "+t[0]);}return t}function jh(e,r,t){var a=e._R(t.biff==12?4:2);var n=[];for(var i=0;i!=a;++i)n.push((t.biff==12?Nn:Ks)(e,8));return n}function Kh(e,r,t){var a=0,n=0;if(t.biff==12){a=e._R(4);n=e._R(4)}else{n=1+e._R(1);a=1+e._R(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]=Gh(e,t.biff);return s}function Yh(e,r,t){var a=e._R(1)>>>5&3;var n=!t||t.biff>=8?4:2;var i=e._R(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 Zh(e,r,t){if(t.biff==5)return Jh(e,r,t);var a=e._R(1)>>>5&3;var n=e._R(2);var i=e._R(4);return[a,n,i]}function Jh(e){var r=e._R(1)>>>5&3;var t=e._R(2,"i");e.l+=8;var a=e._R(2);e.l+=12;return[r,t,a]}function qh(e,r,t){var a=e._R(1)>>>5&3;e.l+=t&&t.biff==2?3:4;var n=e._R(t&&t.biff==2?1:2);return[a,n]}function Qh(e,r,t){var a=e._R(1)>>>5&3;var n=e._R(t&&t.biff==2?1:2);return[a,n]}function ed(e,r,t){var a=e._R(1)>>>5&3;e.l+=4;if(t.biff<8)e.l--;if(t.biff==12)e.l+=2;return[a]}function rd(e,r,t){var a=(e[e.l++]&96)>>5;var n=e._R(2);var i=4;if(t)switch(t.biff){case 5:i=15;break;case 12:i=6;break;}e.l+=i;return[a,n]}var td=Ia;var ad=Ia;var nd=Ia;function id(e,r,t){e.l+=2;return[ph(e,4,t)]}function sd(e){e.l+=6;return[]}var fd=id;var ld=sd;var od=sd;var cd=id;function ud(e){e.l+=2;return[ws(e),e._R(2)&1]}var hd=id;var dd=ud;var vd=sd;var pd=id;var md=id;var bd=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];function gd(e){e.l+=2;var r=e._R(2);var t=e._R(2);var a=e._R(4);var n=e._R(2);var i=e._R(2);var s=bd[t>>2&31];return{ixti:r,coltype:t&3,rt:s,idx:a,c:n,C:i}}function wd(e){e.l+=2;return[e._R(4)]}function kd(e,r,t){e.l+=5;e.l+=2;e.l+=t.biff==2?1:4;return["PTGSHEET"]}function Td(e,r,t){e.l+=t.biff==2?4:5;return["PTGENDSHEET"]}function yd(e){var r=e._R(1)>>>5&3;var t=e._R(2);return[r,t]}function Ed(e){var r=e._R(1)>>>5&3;var t=e._R(2);return[r,t]}function _d(e){e.l+=4;return[0,0]}var Sd={1:{n:"PtgExp",f:Wh},2:{n:"PtgTbl",f:nd},3:{n:"PtgAdd",f:lh},4:{n:"PtgSub",f:lh},5:{n:"PtgMul",f:lh},6:{n:"PtgDiv",f:lh},7:{n:"PtgPower",f:lh},8:{n:"PtgConcat",f:lh},9:{n:"PtgLt",f:lh},10:{n:"PtgLe",f:lh},11:{n:"PtgEq",f:lh},12:{n:"PtgGe",f:lh},13:{n:"PtgGt",f:lh},14:{n:"PtgNe",f:lh},15:{n:"PtgIsect",f:lh},16:{n:"PtgUnion",f:lh},17:{n:"PtgRange",f:lh},18:{n:"PtgUplus",f:lh},19:{n:"PtgUminus",f:lh},20:{n:"PtgPercent",f:lh},21:{n:"PtgParen",f:lh},22:{n:"PtgMissArg",f:lh},23:{n:"PtgStr",f:Xh},26:{n:"PtgSheet",f:kd},27:{n:"PtgEndSheet",f:Td},28:{n:"PtgErr",f:zh},29:{n:"PtgBool",f:Vh},30:{n:"PtgInt",f:Hh},31:{n:"PtgNum",f:$h},32:{n:"PtgArray",f:Eh},33:{n:"PtgFunc",f:Lh},34:{n:"PtgFuncVar",f:Mh},35:{n:"PtgName",f:Yh},36:{n:"PtgRef",f:Fh},37:{n:"PtgArea",f:gh},38:{n:"PtgMemArea",f:qh},39:{n:"PtgMemErr",f:td},40:{n:"PtgMemNoMem",f:ad},41:{n:"PtgMemFunc",f:Qh},42:{n:"PtgRefErr",f:ed},43:{n:"PtgAreaErr",f:kh},44:{n:"PtgRefN",f:Dh},45:{n:"PtgAreaN",f:yh},46:{n:"PtgMemAreaN",f:yd},47:{n:"PtgMemNoMemN",f:Ed},57:{n:"PtgNameX",f:Zh},58:{n:"PtgRef3d",f:Ph},59:{n:"PtgArea3d",f:wh},60:{n:"PtgRefErr3d",f:rd},61:{n:"PtgAreaErr3d",f:Th},255:{}};var xd={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,78:46,110:46,79:47,111:47,88:34,120:34,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61};var Ad={1:{n:"PtgElfLel",f:ud},2:{n:"PtgElfRw",f:pd},3:{n:"PtgElfCol",f:fd},6:{n:"PtgElfRwV",f:md},7:{n:"PtgElfColV",f:cd},10:{n:"PtgElfRadical",f:hd},11:{n:"PtgElfRadicalS",f:vd},13:{n:"PtgElfColS",f:ld},15:{n:"PtgElfColSV",f:od},16:{n:"PtgElfRadicalLel",f:dd},25:{n:"PtgList",f:gd},29:{n:"PtgSxName",f:wd},255:{}};var Cd={0:{n:"PtgAttrNoop",f:_d},1:{n:"PtgAttrSemi",f:Ih},2:{n:"PtgAttrIf",f:Ah},4:{n:"PtgAttrChoose",f:Sh},8:{n:"PtgAttrGoto",f:xh},16:{n:"PtgAttrSum",f:Bh},32:{n:"PtgAttrBaxcel",f:_h},33:{n:"PtgAttrBaxcel",f:_h},64:{n:"PtgAttrSpace",f:Rh},65:{n:"PtgAttrSpaceSemi",f:Nh},128:{n:"PtgAttrIfError",f:Ch},255:{}};function Id(e,r,t,a){if(a.biff<8)return Ia(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]=Kh(e,0,a);i.push(t[s][1]);break;case"PtgMemArea":t[s][2]=jh(e,t[s][1],a);i.push(t[s][2]);break;case"PtgExp":if(a&&a.biff==12){t[s][1][1]=e._R(4);i.push(t[s][1])}break;case"PtgList":;case"PtgElfRadicalS":;case"PtgElfColS":;case"PtgElfColSV":throw"Unsupported "+t[s][0];default:break;}}r=n-e.l;if(r!==0)i.push(Ia(e,r));return i}function Od(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=Sd[i]||Sd[xd[i]];if(i===24||i===25)n=(i===24?Ad:Cd)[e[e.l+1]];if(!n||!n.f){Ia(e,r)}else{s.push([n.n,n.f(e,r,t)])}}return s}function Rd(e){var r=[];for(var t=0;t=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function Fd(e,r){var t=e.lastIndexOf("!"),a=r.lastIndexOf("!");if(t==-1&&a==-1)return e+":"+r;if(t>0&&a>0&&e.slice(0,t).toLowerCase()==r.slice(0,a).toLowerCase())return e+":"+r.slice(a+1);console.error("Cannot hydrate range",e,r);return e+":"+r}function Dd(e,r,t){if(!e)return"SH33TJSERR0";if(t.biff>8&&(!e.XTI||!e.XTI[r]))return e.SheetNames[r];if(!e.XTI)return"SH33TJSERR6";var a=e.XTI[r];if(t.biff<8){if(r>1e4)r-=65536;if(r<0)r=-r;return r==0?"":e.XTI[r-1]}if(!a)return"SH33TJSERR1";var n="";if(t.biff>8)switch(e[a[0]][0]){case 357:n=a[1]==-1?"#REF":e.SheetNames[a[1]];return a[1]==a[2]?n:n+":"+e.SheetNames[a[2]];case 358:if(t.SID!=null)return e.SheetNames[t.SID];return"SH33TJSSAME"+e[a[0]][0];case 355:;default:return"SH33TJSSRC"+e[a[0]][0];}switch(e[a[0]][0][0]){case 1025:n=a[1]==-1?"#REF":e.SheetNames[a[1]]||"SH33TJSERR3";return a[1]==a[2]?n:n+":"+e.SheetNames[a[2]];case 14849:return e[a[0]].slice(1).map(function(e){return e.Name}).join(";;");default:if(!e[a[0]][0][3])return"SH33TJSERR2";n=a[1]==-1?"#REF":e[a[0]][0][3][a[1]]||"SH33TJSERR4";return a[1]==a[2]?n:n+":"+e[a[0]][0][3][a[2]];}}function Pd(e,r,t){var a=Dd(e,r,t);return a=="#REF"?a:qa(a,t)}function Ld(e,r,t,a,n){var i=n&&n.biff||8;var s={s:{c:0,r:0},e:{c:0,r:0}};var f=[],l,o,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=yr(" ",e[0][p][1][1]);break;case 1:m=yr("\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}f.push(o+Nd[w[0]]+l);break;case"PtgIsect":l=f.pop();o=f.pop();f.push(o+" "+l);break;case"PtgUnion":l=f.pop();o=f.pop();f.push(o+","+l);break;case"PtgRange":l=f.pop();o=f.pop();f.push(Fd(o,l));break;case"PtgAttrChoose":break;case"PtgAttrGoto":break;case"PtgAttrIf":break;case"PtgAttrIfError":break;case"PtgRef":c=Da(w[1][1],s,n);f.push(La(c,i));break;case"PtgRefN":c=t?Da(w[1][1],t,n):w[1][1];f.push(La(c,i));break;case"PtgRef3d":u=w[1][1];c=Da(w[1][2],s,n);v=Pd(a,u,n);var k=v;f.push(v+"!"+La(c,i));break;case"PtgFunc":;case"PtgFuncVar":var T=w[1][0],y=w[1][1];if(!T)T=0;T&=127;var E=T==0?[]:f.slice(-T);f.length-=T;if(y==="User")y=E.shift();f.push(y+"("+E.join(",")+")");break;case"PtgBool":f.push(w[1]?"TRUE":"FALSE");break;case"PtgInt":f.push(w[1]);break;case"PtgNum":f.push(String(w[1]));break;case"PtgStr":f.push('"'+w[1].replace(/"/g,'""')+'"');break;case"PtgErr":f.push(w[1]);break;case"PtgAreaN":d=Pa(w[1][1],t?{s:t}:s,n);f.push(Ma(d,n));break;case"PtgArea":d=Pa(w[1][1],s,n);f.push(Ma(d,n));break;case"PtgArea3d":u=w[1][1];d=w[1][2];v=Pd(a,u,n);f.push(v+"!"+Ma(d,n));break;case"PtgAttrSum":f.push("SUM("+f.pop()+")");break;case"PtgAttrBaxcel":;case"PtgAttrSemi":break;case"PtgName":h=w[1][2];var _=(a.names||[])[h-1]||(a[0]||[])[h];var S=_?_.Name:"SH33TJSNAME"+String(h);if(S&&S.slice(0,6)=="_xlfn."&&!n.xlfn)S=S.slice(6);f.push(S);break;case"PtgNameX":var x=w[1][1];h=w[1][2];var A;if(n.biff<=5){if(x<0)x=-x;if(a[x])A=a[x][h]}else{var C="";if(((a[x]||[])[0]||[])[0]==14849){}else if(((a[x]||[])[0]||[])[0]==1025){if(a[x][h]&&a[x][h].itab>0){C=a.SheetNames[a[x][h].itab-1]+"!"}}else C=a.SheetNames[h-1]+"!";if(a[x]&&a[x][h])C+=a[x][h].Name;else if(a[0]&&a[0][h])C+=a[0][h].Name;else{var I=(Dd(a,x,n)||"").split(";;");if(I[h-1])C=I[h-1];else C+="SH33TJSERRX"}f.push(C);break}if(!A)A={Name:"SH33TJSERRY"};f.push(A.Name);break;case"PtgParen":var O="(",R=")";if(p>=0){m="";switch(e[0][p][1][0]){case 2:O=yr(" ",e[0][p][1][1])+O;break;case 3:O=yr("\r",e[0][p][1][1])+O;break;case 4:R=yr(" ",e[0][p][1][1])+R;break;case 5:R=yr("\r",e[0][p][1][1])+R;break;default:if(n.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][p][1][0]);}p=-1}f.push(O+f.pop()+R);break;case"PtgRefErr":f.push("#REF!");break;case"PtgRefErr3d":f.push("#REF!");break;case"PtgExp":c={c:w[1][1],r:w[1][0]};var N={c:t.c,r:t.r};if(a.sharedf[Ka(c)]){var F=a.sharedf[Ka(c)];f.push(Ld(F,s,N,a,n))}else{var D=false;for(l=0;l!=a.arrayf.length;++l){o=a.arrayf[l];if(c.co[0].e.c)continue;if(c.ro[0].e.r)continue;f.push(Ld(o[1],s,N,a,n));D=true;break}if(!D)f.push(w[1])}break;case"PtgArray":f.push("{"+Rd(w[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":;case"PtgAttrSpaceSemi":p=b;break;case"PtgTbl":break;case"PtgMemErr":break;case"PtgMissArg":f.push("");break;case"PtgAreaErr":f.push("#REF!");break;case"PtgAreaErr3d":f.push("#REF!");break;case"PtgList":f.push("Table"+w[1].idx+"[#"+w[1].rt+"]");break;case"PtgMemAreaN":;case"PtgMemNoMemN":;case"PtgAttrNoop":;case"PtgSheet":;case"PtgEndSheet":break;case"PtgMemFunc":break;case"PtgMemNoMem":break;case"PtgElfCol":;case"PtgElfColS":;case"PtgElfColSV":;case"PtgElfColV":;case"PtgElfLel":;case"PtgElfRadical":;case"PtgElfRadicalLel":;case"PtgElfRadicalS":;case"PtgElfRw":;case"PtgElfRwV":throw new Error("Unsupported ELFs");case"PtgSxName":throw new Error("Unrecognized Formula Token: "+String(w));default:throw new Error("Unrecognized Formula Token: "+String(w));}var P=["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"];if(n.biff!=3)if(p>=0&&P.indexOf(e[0][b][0])==-1){w=e[0][p];var L=true;switch(w[1][0]){case 4:L=false;case 0:m=yr(" ",w[1][1]);break;case 5:L=false;case 1:m=yr("\r",w[1][1]);break;default:m="";if(n.WTF)throw new Error("Unexpected PtgAttrSpaceType "+w[1][0]);}f.push((L?m:"")+f.pop()+(L?"":m));p=-1}}if(f.length>1&&n.WTF)throw new Error("bad formula stack");if(f[0]=="TRUE")return true;if(f[0]=="FALSE")return false;return f[0]}function Md(e,r,t){var a=e.l+r,n=t.biff==2?1:2;var i,s=e._R(n);if(s==65535)return[[],Ia(e,r-2)];var f=Od(e,s,t);if(r!==s+n)i=Id(e,r-s-n,f,t);e.l=a;return[f,i]}function Ud(e,r,t){var a=e.l+r,n=t.biff==2?1:2;var i,s=e._R(n);if(s==65535)return[[],Ia(e,r-2)];var f=Od(e,s,t);if(r!==s+n)i=Id(e,r-s-n,f,t);e.l=a;return[f,i]}function Bd(e,r,t,a){var n=e.l+r;var i=Od(e,a,t);var s;if(n!==e.l)s=Id(e,n-e.l,i,t);return[i,s]}function Wd(e,r,t){var a=e.l+r;var n,i=e._R(2);var s=Od(e,i,t);if(i==65535)return[[],Ia(e,r-2)];if(r!==i+2)n=Id(e,a-i-2,s,t);return[s,n]}function zd(e){var r;if(ba(e,e.l+6)!==65535)return[Dn(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 Hd(e){if(e==null){var r=Oa(8);r._W(1,3);r._W(1,0);r._W(2,0);r._W(2,0);r._W(2,65535);return r}else if(typeof e=="number")return Pn(e);return Pn(0)}function Vd(e,r,t){var a=e.l+r;var n=zs(e,6,t);var i=zd(e,8);var s=e._R(1);if(t.biff!=2){e._R(1);if(t.biff>=5){e._R(4)}}var f=Ud(e,a-e.l,t);return{cell:n,val:i[0],formula:f,shared:s>>3&1,tt:i[1]}}function $d(e,r,t,a,n){var i=Hs(r,t,n);var s=Hd(e.v);var f=Oa(6);var l=1|32;f._W(2,l);f._W(4,0);var o=Oa(e.bf.length);for(var c=0;c0?Id(e,i,n,t):null;return[n,s]}var Gd=Xd;var jd=Xd;var Kd=Xd;var Yd=Xd;function Zd(e){if((e|0)==e&&e=0){var r=Oa(11);r._W(4,3);r._W(1,30);r._W(2,e);r._W(4,0);return r}var t=Oa(17);t._W(4,11);t._W(1,31);t._W(8,e);t._W(4,0);return t}function Jd(e){var r=Oa(10);r._W(4,2);r._W(1,28);r._W(1,e);r._W(4,0);return r}function qd(e){var r=Oa(10);r._W(4,2);r._W(1,29);r._W(1,e?1:0);r._W(4,0);return r}function Qd(e){var r=Oa(7);r._W(4,3+2*e.length);r._W(1,23);r._W(2,e.length);var t=Oa(2*e.length);t._W(2*e.length,e,"utf16le");var a=Oa(4);a._W(4,0);return P([r,t,a])}function ev(e){var r=ja(e);var t=Oa(15);t._W(4,7);t._W(1,4|1<<5);t._W(4,r.r);t._W(2,r.c|(e.charAt(0)=="$"?0:1)<<14|(e.match(/\$\d/)?0:1)<<15);t._W(4,0);return t}function rv(e,r){var t=e.lastIndexOf("!");var a=e.slice(0,t);e=e.slice(t+1);var n=ja(e);if(a.charAt(0)=="'")a=a.slice(1,-1).replace(/''/g,"'");var i=Oa(17);i._W(4,9);i._W(1,26|1<<5);i._W(2,2+r.SheetNames.map(function(e){return e.toLowerCase()}).indexOf(a.toLowerCase()));i._W(4,n.r);i._W(2,n.c|(e.charAt(0)=="$"?0:1)<<14|(e.match(/\$\d/)?0:1)<<15);i._W(4,0);return i}function tv(e,r){var t=e.lastIndexOf("!");var a=e.slice(0,t);e=e.slice(t+1);if(a.charAt(0)=="'")a=a.slice(1,-1).replace(/''/g,"'");var n=Oa(17);n._W(4,9);n._W(1,28|1<<5);n._W(2,2+r.SheetNames.map(function(e){return e.toLowerCase()}).indexOf(a.toLowerCase()));n._W(4,0);n._W(2,0);n._W(4,0);return n}function av(e){var r=e.split(":"),t=r[0];var a=Oa(23);a._W(4,15);t=r[0];var n=ja(t);a._W(1,4|1<<5);a._W(4,n.r);a._W(2,n.c|(t.charAt(0)=="$"?0:1)<<14|(t.match(/\$\d/)?0:1)<<15);a._W(4,0);t=r[1];n=ja(t);a._W(1,4|1<<5);a._W(4,n.r);a._W(2,n.c|(t.charAt(0)=="$"?0:1)<<14|(t.match(/\$\d/)?0:1)<<15);a._W(4,0);a._W(1,17);a._W(4,0);return a}function nv(e,r){var t=e.lastIndexOf("!");var a=e.slice(0,t);e=e.slice(t+1);if(a.charAt(0)=="'")a=a.slice(1,-1).replace(/''/g,"'");var n=e.split(":");var i=Oa(27);i._W(4,19);var s=n[0],f=ja(s);i._W(1,26|1<<5);i._W(2,2+r.SheetNames.map(function(e){return e.toLowerCase()}).indexOf(a.toLowerCase()));i._W(4,f.r);i._W(2,f.c|(s.charAt(0)=="$"?0:1)<<14|(s.match(/\$\d/)?0:1)<<15);s=n[1];f=ja(s);i._W(1,26|1<<5);i._W(2,2+r.SheetNames.map(function(e){return e.toLowerCase()}).indexOf(a.toLowerCase()));i._W(4,f.r);i._W(2,f.c|(s.charAt(0)=="$"?0:1)<<14|(s.match(/\$\d/)?0:1)<<15);i._W(1,17);i._W(4,0);return i}function iv(e,r){var t=e.lastIndexOf("!");var a=e.slice(0,t);e=e.slice(t+1);if(a.charAt(0)=="'")a=a.slice(1,-1).replace(/''/g,"'");var n=Ya(e);var i=Oa(23);i._W(4,15);i._W(1,27|1<<5);i._W(2,2+r.SheetNames.map(function(e){return e.toLowerCase()}).indexOf(a.toLowerCase()));i._W(4,n.s.r);i._W(4,n.e.r);i._W(2,n.s.c);i._W(2,n.e.c);i._W(4,0);return i}function sv(e,r){if(typeof e=="number")return Zd(e);if(typeof e=="boolean")return qd(e);if(/^#(DIV\/0!|GETTING_DATA|N\/A|NAME\?|NULL!|NUM!|REF!|VALUE!)$/.test(e))return Jd(+ci[e]);if(e.match(/^\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?:10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})$/))return ev(e);if(e.match(/^\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?:10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5}):\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?:10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})$/))return av(e);if(e.match(/^#REF!\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?:10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5}):\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?:10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})$/))return iv(e,r);if(e.match(/^(?:'[^\\\/?*\[\]:]*'|[^'][^\\\/?*\[\]:'`~!@#$%^()\-=+{}|;,<.>]*)!\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?:10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})$/))return rv(e,r);if(e.match(/^(?:'[^\\\/?*\[\]:]*'|[^'][^\\\/?*\[\]:'`~!@#$%^()\-=+{}|;,<.>]*)!\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?:10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5}):\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?:10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})$/))return nv(e,r);if(/^(?:'[^\\\/?*\[\]:]*'|[^'][^\\\/?*\[\]:'`~!@#$%^()\-=+{}|;,<.>]*)!#REF!$/.test(e))return tv(e,r);if(/^".*"$/.test(e))return Qd(e);if(/^[+-]\d+$/.test(e))return Zd(parseInt(e,10));throw"Formula |"+e+"| not supported for XLSB"}var fv=sv;var lv={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 ov={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 cv={2:1,3:1,10:0,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,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,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,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186: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,225:0,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};function uv(e){if(e.slice(0,3)=="of:")e=e.slice(3);if(e.charCodeAt(0)==61){e=e.slice(1);if(e.charCodeAt(0)==61)e=e.slice(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(/\$'([^']|'')+'/g,function(e){return e.slice(1)});e=e.replace(/\$([^\]\. #$]+)/g,function(e,r){return r.match(/^([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])?(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})?$/)?e:r});e=e.replace(/\[.(#[A-Z]*[?!])\]/g,"$1");return e.replace(/[;~]/g,",").replace(/\|/g,";")}function hv(e){var r="of:="+e.replace(rh,"$1[.$2$3$4$5]").replace(/\]:\[/g,":");return r.replace(/;/g,"|").replace(/,/g,";")}function dv(e){e=e.replace(/\$'([^']|'')+'/g,function(e){return e.slice(1)});e=e.replace(/\$([^\]\. #$]+)/g,function(e,r){return r.match(/^([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])?(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})?$/)?e:r});var r=e.split(":");var t=r[0].split(".")[0];return[t,r[0].split(".")[1]+(r.length>1?":"+(r[1].split(".")[1]||r[1].split(".")[0]):"")]}function vv(e){return e.replace(/!/,".").replace(/:/,":.")}var pv={};var mv={};var bv=typeof Map!=="undefined";function gv(e,r,t){var a=0,n=e.length;if(t){if(bv?t.has(r):Object.prototype.hasOwnProperty.call(t,r)){var i=bv?t.get(r):t[r];for(;a-1){t.width=ic(a);t.customWidth=1}else if(r.width!=null)t.width=r.width;if(r.hidden)t.hidden=true;if(r.level!=null){t.outlineLevel=t.level=r.level}return t}function kv(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 Tv(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){Je(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 yv(e,r,t,a,n,i,s){try{if(a.cellNF)e.z=q[r]}catch(f){if(a.WTF)throw f}if(e.t==="z"&&!a.cellStyles)return;if(e.t==="d"&&typeof e.v==="string")e.v=wr(e.v);if((!a||a.cellText!==false)&&e.t!=="z")try{if(q[r]==null)Je(Ge[r]||"General",r);if(e.t==="e")e.w=e.w||oi[e.v];else if(r===0){if(e.t==="n"){if((e.v|0)===e.v)e.w=e.v.toString(10);else e.w=le(e.v)}else if(e.t==="d"){var l=dr(e.v,!!s);if((l|0)===l)e.w=l.toString(10);else e.w=le(l)}else if(e.v===undefined)return"";else e.w=oe(e.v,mv)}else if(e.t==="d")e.w=ze(r,dr(e.v,!!s),mv);else e.w=ze(r,e.v,mv)}catch(f){if(a.WTF)throw f}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=qo(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=qo(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(f){if(a.WTF&&i.Fills)throw f}}function Ev(e,r,t){if(e&&e["!ref"]){var a=Qa(e["!ref"]);if(a.e.c=0&&t.s.c>=0)e["!ref"]=Za(t)}var Sv=/<(?:\w+:)?mergeCell ref=["'][A-Z0-9:]+['"]\s*[\/]?>/g;var xv=/<(?:\w+:)?hyperlink [^<>]*>/gm;var Av=/"(\w*:\w*)"/;var Cv=/<(?:\w+:)?col\b[^<>]*[\/]?>/g;var Iv=/<(?:\w+:)?autoFilter[^>]*/g;var Ov=/<(?:\w+:)?pageMargins[^<>]*\/>/g;var Rv=/<(?:\w+:)?sheetPr\b[^<>]*?\/>/;function Nv(e,r,t,a,n,i,s){if(!e)return e;if(!a)a={"!id":{}};if(g!=null&&r.dense==null)r.dense=g;var f={};if(r.dense)f["!data"]=[];var l={s:{r:2e6,c:2e6},e:{r:0,c:0}};var o="",c="";var u=Wr(e,"sheetData");if(u){o=e.slice(0,u.index);c=e.slice(u.index+u[0].length)}else o=c=e;var h=o.match(Rv);if(h)Dv(h[0],f,n,t);else if(h=Wr(o,"sheetPr"))Pv(h[0],h[1]||"",f,n,t,s,i);var d=(o.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(d>0){var v=o.slice(d,d+50).match(Av);if(v&&!(r&&r.nodim))_v(f,v[1])}var p=Wr(o,"sheetViews");if(p&&p[1])Kv(p[1],n);var m=[];if(r.cellStyles){var b=o.match(Cv);if(b)Vv(m,b)}if(u)Jv(u[1],f,r,l,i,s,n);var w=c.match(Iv);if(w)f["!autofilter"]=Xv(w[0]);var k=[];var T=c.match(Sv);if(T)for(d=0;d!=T.length;++d)k[d]=Qa(T[d].slice(T[d].indexOf('"')+1));var y=c.match(xv);if(y)Wv(f,y,a);var E=c.match(Ov);if(E)f["!margins"]=zv(ct(E[0]));var _;if(_=c.match(/legacyDrawing r:id="(.*?)"/))f["!legrel"]=_[1];if(r&&r.nodim)l.s.c=l.s.r=0;if(!f["!ref"]&&l.e.c>=l.s.c&&l.e.r>=l.s.r)f["!ref"]=Za(l);if(r.sheetRows>0&&f["!ref"]){var S=Qa(f["!ref"]);if(r.sheetRows<=+S.e.r){S.e.r=r.sheetRows-1;if(S.e.r>l.e.r)S.e.r=l.e.r;if(S.e.rl.e.c)S.e.c=l.e.c;if(S.e.c0)f["!cols"]=m;if(k.length>0)f["!merges"]=k;if(a["!id"][f["!legrel"]])f["!legdrawel"]=a["!id"][f["!legrel"]];return f}function Fv(e){if(e.length===0)return"";var r='';for(var t=0;t!=e.length;++t)r+='';return r+""}function Dv(e,r,t,a){var n=ct(e);if(!t.Sheets[a])t.Sheets[a]={};if(n.codeName)t.Sheets[a].CodeName=vt(It(n.codeName))}function Pv(e,r,t,a,n){Dv(e.slice(0,e.indexOf(">")),t,a,n)}function Lv(e,r,t,a,n){var i=false;var s={},f=null;if(a.bookType!=="xlsx"&&r.vbaraw){var l=r.SheetNames[t];try{if(r.Workbook)l=r.Workbook.Sheets[t].CodeName||l}catch(o){}i=true;s.codeName=Ot(bt(l))}if(e&&e["!outline"]){var c={summaryBelow:1,summaryRight:1};if(e["!outline"].above)c.summaryBelow=0;if(e["!outline"].left)c.summaryRight=0;f=(f||"")+Ut("outlinePr",null,c)}if(!i&&!f)return;n[n.length]=Ut("sheetPr",f,s)}var Mv=["objects","scenarios","selectLockedCells","selectUnlockedCells"];var Uv=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];function Bv(e){var r={sheet:1};Mv.forEach(function(t){if(e[t]!=null&&e[t])r[t]="1"});Uv.forEach(function(t){if(e[t]!=null&&!e[t])r[t]="0"});if(e.password)r.password=Mo(e.password).toString(16).toUpperCase();return Ut("sheetProtection",null,r)}function Wv(e,r,t){var a=e["!data"]!=null;for(var n=0;n!=r.length;++n){var i=ct(It(r[n]),true);if(!i.ref)return;var s=((t||{})["!id"]||[])[i.id];if(s){i.Target=s.Target;if(i.location)i.Target+="#"+vt(i.location)}else{i.Target="#"+vt(i.location);s={Target:i.Target,TargetMode:"Internal"}}i.Rel=s;if(i.tooltip){i.Tooltip=i.tooltip;delete i.tooltip}var f=Qa(i.ref);for(var l=f.s.r;l<=f.e.r;++l)for(var o=f.s.c;o<=f.e.c;++o){var c=Va(o)+Ba(l);if(a){if(!e["!data"][l])e["!data"][l]=[];if(!e["!data"][l][o])e["!data"][l][o]={t:"z",v:undefined};e["!data"][l][o].l=i}else{if(!e[c])e[c]={t:"z",v:undefined};e[c].l=i}}}}function zv(e){var r={};["left","right","top","bottom","header","footer"].forEach(function(t){if(e[t])r[t]=parseFloat(e[t])});return r}function Hv(e){kv(e);return Ut("pageMargins",null,e)}function Vv(e,r){var t=false;for(var a=0;a!=r.length;++a){var n=ct(r[a],true);if(n.hidden)n.hidden=_t(n.hidden);var i=parseInt(n.min,10)-1,s=parseInt(n.max,10)-1;if(n.outlineLevel)n.level=+n.outlineLevel||0;delete n.min;delete n.max;n.width=+n.width;if(!t&&n.width){t=true;fc(n.width)}lc(n);while(i<=s)e[i++]=Tr(n)}}function $v(e,r){var t=[""],a;for(var n=0;n!=r.length;++n){if(!(a=r[n]))continue;t[t.length]=Ut("col",null,wv(n,a))}t[t.length]="";return t.join("")}function Xv(e){var r={ref:(e.match(/ref="([^"]*)"/)||[])[1]};return r}function Gv(e,r,t,a){var n=typeof e.ref=="string"?e.ref:Za(e.ref);if(!t.Workbook)t.Workbook={Sheets:[]};if(!t.Workbook.Names)t.Workbook.Names=[];var i=t.Workbook.Names;var s=Ya(n);if(s.s.r==s.e.r){s.e.r=Ya(r["!ref"]).e.r;n=Za(s)}for(var f=0;fa-z][^<>]*)?\/?>/g;function Kv(e,r){if(!r.Views)r.Views=[{}];(e.match(jv)||[]).forEach(function(e,t){var a=ct(e);if(!r.Views[t])r.Views[t]={};if(+a.zoomScale)r.Views[t].zoom=+a.zoomScale;if(a.rightToLeft&&_t(a.rightToLeft))r.Views[t].RTL=true})}function Yv(e,r,t,a){var n={workbookViewId:"0"};if((((a||{}).Workbook||{}).Views||[])[0])n.rightToLeft=a.Workbook.Views[0].RTL?"1":"0";return Ut("sheetViews",Ut("sheetView",null,n),{})}function Zv(e,r,t,a,n,i,s){if(e.c)t["!comments"].push([r,e.c]);if((e.v===undefined||e.t==="z"&&!(a||{}).sheetStubs)&&typeof e.f!=="string"&&typeof e.z=="undefined")return"";var f="";var l=e.t,o=e.v;if(e.t!=="z")switch(e.t){case"b":f=e.v?"1":"0";break;case"n":if(isNaN(e.v)){e.t="e";f=oi[e.v=36]}else if(!isFinite(e.v)){e.t="e";f=oi[e.v=7]}else f=""+e.v;break;case"e":f=oi[e.v];break;case"d":if(a&&a.cellDates){var c=wr(e.v,s);f=c.toISOString();if(c.getUTCFullYear()<1900)f=f.slice(f.indexOf("T")+1).replace("Z","")}else{e=Tr(e);e.t="n";f=""+(e.v=dr(wr(e.v,s),s))}if(typeof e.z==="undefined")e.z=q[14];break;default:f=e.v;break;}var u=e.t=="z"||e.v==null?"":Lt("v",bt(f)),h={r:r};var d=Tv(a.cellXfs,e,a);if(d!==0)h.s=d;switch(e.t){case"n":break;case"d":h.t="d";break;case"b":h.t="b";break;case"e":h.t="e";break;case"z":break;default:if(e.v==null){delete e.t;break}if(e.v.length>32767)throw new Error("Text length must not exceed 32767 characters");if(a&&a.bookSST){u=Lt("v",""+gv(a.Strings,e.v,a.revStrings));h.t="s";break}else h.t="str";break;}if(e.t!=l){e.t=l;e.v=o}if(typeof e.f=="string"&&e.f){var v=e.F&&e.F.slice(0,r.length)==r?{t:"array",ref:e.F}:null;u=Ut("f",bt(e.f),v)+(e.v!=null?u:"")}if(e.l){e.l.display=bt(f);t["!links"].push([r,e.l])}if(e.D)h.cm=1;return Ut("c",u,h)}var Jv=function(){var e=/<(?:\w+:)?c[ \/>]/,r=/<\/(?:\w+:)?row>/;var t=/r=["']([^"']*)["']/;var a=/ref=["']([^"']*)["']/;return function n(i,s,f,l,o,c,u){var h=0,d="",v=[],p=[],m=0,b=0,g=0,w="",k;var T,y=0,E=0;var _,S;var x=0,A=0;var C=Array.isArray(c.CellXf),I;var O=[];var R=[];var N=s["!data"]!=null;var F=[],D={},P=false;var L=!!f.sheetStubs;var M=!!((u||{}).WBProps||{}).date1904;for(var U=i.split(r),B=0,W=U.length;B!=W;++B){d=U[B].trim();var z=d.length;if(z===0)continue;var H=0;e:for(h=0;h":if(d[h-1]!="/"){++h;break e}if(f&&f.cellStyles){T=ct(d.slice(H,h),true);y=T.r!=null?parseInt(T.r,10):y+1;E=-1;if(f.sheetRows&&f.sheetRows=h)break;T=ct(d.slice(H,h),true);y=T.r!=null?parseInt(T.r,10):y+1;E=-1;if(f.sheetRows&&f.sheetRowsy-1)l.s.r=y-1;if(l.e.r":"")+d;if(p!=null&&p.length===2){m=0;w=p[1];for(b=0;b!=w.length;++b){if((g=w.charCodeAt(b)-64)<1||g>26)break;m=26*m+g}--m;E=m}else++E;for(b=0;b!=d.length;++b)if(d.charCodeAt(b)===62)break;++b;T=ct(d.slice(0,b),true);if(!T.r)T.r=Ka({r:y-1,c:E});w=d.slice(b);k={t:""};if((p=Wr(w,"v"))!=null&&p[1]!=="")k.v=vt(p[1]);if(f.cellFormula){if((p=Wr(w,"f"))!=null){if(p[1]==""){if(p[0].indexOf('t="shared"')>-1){S=ct(p[0]);if(R[S.si])k.f=ih(R[S.si][1],R[S.si][2],T.r)}}else{k.f=vt(It(p[1]),true);if(!f.xlfn)k.f=fh(k.f);if(p[0].indexOf('t="array"')>-1){k.F=(w.match(a)||[])[1];if(k.F.indexOf(":")>-1)O.push([Qa(k.F),k.F])}else if(p[0].indexOf('t="shared"')>-1){S=ct(p[0]);var $=vt(It(p[1]));if(!f.xlfn)$=fh($);R[parseInt(S.si,10)]=[S,$,T.r]}}}else if(p=w.match(/]*\/>/)){S=ct(p[0]);if(R[S.si])k.f=ih(R[S.si][1],R[S.si][2],T.r)}var X=ja(T.r);for(b=0;b=O[b][0].s.r&&X.r<=O[b][0].e.r)if(X.c>=O[b][0].s.c&&X.c<=O[b][0].e.c)k.F=O[b][1]}if(T.t==null&&k.v===undefined){if(k.f||k.F){k.v=0;k.t="n"}else if(!L)continue;else k.t="z"}else k.t=T.t||"n";if(l.s.c>E)l.s.c=E;if(l.e.cj.r)l.s.r=j.r;if(l.e.r0)s["!rows"]=F}}();function qv(e,r,t,a){var n=[],i=[],s=Qa(e["!ref"]),f="",l,o="",c=[],u=0,h=0,d=e["!rows"];var v=e["!data"]!=null;var p={r:o},m,b=-1;var g=(((a||{}).Workbook||{}).WBProps||{}).date1904;for(h=s.s.c;h<=s.e.c;++h)c[h]=Va(h);for(u=s.s.r;u<=s.e.r;++u){i=[];o=Ba(u);for(h=s.s.c;h<=s.e.c;++h){l=c[h]+o;var w=v?(e["!data"][u]||[])[h]:e[l];if(w===undefined)continue;if((f=Zv(w,l,e,r,t,a,g))!=null)i.push(f)}if(i.length>0||d&&d[u]){p={r:o};if(d&&d[u]){m=d[u];if(m.hidden)p.hidden=1;b=-1;if(m.hpx)b=uc(m.hpx);else if(m.hpt)b=m.hpt;if(b>-1){p.ht=b;p.customHeight=1}if(m.level){p.outlineLevel=m.level}}n[n.length]=Ut("row",i.join(""),p)}}if(d)for(;u-1){p.ht=b;p.customHeight=1}if(m.level){p.outlineLevel=m.level}n[n.length]=Ut("row","",p)}}return n.join("")}function Qv(e,r,t,a){var n=[at,Ut("worksheet",null,{xmlns:$t[0],"xmlns:r":Vt.r})];var i=t.SheetNames[e],s=0,f="";var l=t.Sheets[i];if(l==null)l={};var o=l["!ref"]||"A1";var c=Qa(o);if(c.e.c>16383||c.e.r>1048575){if(r.WTF)throw new Error("Range "+o+" exceeds format limit A1:XFD1048576");c.e.c=Math.min(c.e.c,16383);c.e.r=Math.min(c.e.c,1048575);o=Za(c)}if(!a)a={};l["!comments"]=[];var u=[];Lv(l,t,e,r,n);n[n.length]=Ut("dimension",null,{ref:o});n[n.length]=Yv(l,r,e,t);if(r.sheetFormat)n[n.length]=Ut("sheetFormatPr",null,{defaultRowHeight:r.sheetFormat.defaultRowHeight||"16",baseColWidth:r.sheetFormat.baseColWidth||"10",outlineLevelRow:r.sheetFormat.outlineLevelRow||"7"});if(l["!cols"]!=null&&l["!cols"].length>0)n[n.length]=$v(l,l["!cols"]);n[s=n.length]="";l["!links"]=[];if(l["!ref"]!=null){f=qv(l,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(l["!protect"])n[n.length]=Bv(l["!protect"]);if(l["!autofilter"]!=null)n[n.length]=Gv(l["!autofilter"],l,t,e);if(l["!merges"]!=null&&l["!merges"].length>0)n[n.length]=Fv(l["!merges"]);var h=-1,d,v=-1;if(l["!links"].length>0){n[n.length]="";l["!links"].forEach(function(e){if(!e[1].Target)return;d={ref:e[0]};if(e[1].Target.charAt(0)!="#"){v=Ti(a,-1,bt(e[1].Target).replace(/#[\s\S]*$/,""),bi.HLINK);d["r:id"]="rId"+v}if((h=e[1].Target.indexOf("#"))>-1)d.location=bt(e[1].Target.slice(h+1));if(e[1].Tooltip)d.tooltip=bt(e[1].Tooltip);d.display=e[1].display;n[n.length]=Ut("hyperlink",null,d)});n[n.length]=""}delete l["!links"];if(l["!margins"]!=null)n[n.length]=Hv(l["!margins"]);if(!r||r.ignoreEC||r.ignoreEC==void 0)n[n.length]=Lt("ignoredErrors",Ut("ignoredError",null,{numberStoredAsText:1,sqref:o}));if(u.length>0){v=Ti(a,-1,"../drawings/drawing"+(e+1)+".xml",bi.DRAW);n[n.length]=Ut("drawing",null,{"r:id":"rId"+v});l["!drawing"]=u}if(l["!comments"].length>0){v=Ti(a,-1,"../drawings/vmlDrawing"+(e+1)+".vml",bi.VML);n[n.length]=Ut("legacyDrawing",null,{"r:id":"rId"+v});l["!legacy"]=v}if(n.length>1){n[n.length]="";n[1]=n[1].replace("/>",">")}return n.join("")}function ep(e,r){var t={};var a=e.l+r;t.r=e._R(4);e.l+=4;var n=e._R(2);e.l+=1;var i=e._R(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 rp(e,r,t){var a=Oa(17+8*16);var n=(t["!rows"]||[])[e]||{};a._W(4,e);a._W(4,0);var i=320;if(n.hpx)i=uc(n.hpx)*20;else if(n.hpt)i=n.hpt*20;a._W(2,i);a._W(1,0);var s=0;if(n.level)s|=n.level;if(n.hidden)s|=16;if(n.hpx||n.hpt)s|=32;a._W(1,s);a._W(1,0);var f=0,l=a.l;a.l+=4;var o={r:e,c:0};var c=t["!data"]!=null;for(var u=0;u<16;++u){if(r.s.c>u+1<<10||r.e.ca.l?a.slice(0,a.l):a}function tp(e,r,t,a){var n=rp(a,t,r);if(n.length>17||(r["!rows"]||[])[a])Fa(e,0,n)}var ap=Nn;var np=Fn;function ip(){}function sp(e,r){var t={};var a=e[e.l];++e.l;t.above=!(a&64);t.left=!(a&128);e.l+=18;t.name=Tn(e,r-19);return t}function fp(e,r,t){if(t==null)t=Oa(84+4*e.length);var a=192;if(r){if(r.above)a&=~64;if(r.left)a&=~128}t._W(1,a);for(var n=1;n<3;++n)t._W(1,0);Mn({auto:1},t);t._W(-4,-1);t._W(-4,-1);yn(e,t);return t.slice(0,t.l)}function lp(e){var r=bn(e);return[r]}function op(e,r,t){if(t==null)t=Oa(8);return gn(r,t)}function cp(e){var r=wn(e);return[r]}function up(e,r,t){if(t==null)t=Oa(4);return kn(r,t)}function hp(e){var r=bn(e);var t=e._R(1);return[r,t,"b"]}function dp(e,r,t){if(t==null)t=Oa(9);gn(r,t);t._W(1,e.v?1:0);return t}function vp(e){var r=wn(e);var t=e._R(1);return[r,t,"b"]}function pp(e,r,t){if(t==null)t=Oa(5);kn(r,t);t._W(1,e.v?1:0);return t}function mp(e){var r=bn(e);var t=e._R(1);return[r,t,"e"]}function bp(e,r,t){if(t==null)t=Oa(9);gn(r,t);t._W(1,e.v);return t}function gp(e){var r=wn(e);var t=e._R(1);return[r,t,"e"]}function wp(e,r,t){if(t==null)t=Oa(8);kn(r,t);t._W(1,e.v);t._W(2,0);t._W(1,0);return t}function kp(e){var r=bn(e);var t=e._R(4);return[r,t,"s"]}function Tp(e,r,t){if(t==null)t=Oa(12);gn(r,t);t._W(4,r.v);return t}function yp(e){var r=wn(e);var t=e._R(4);return[r,t,"s"]}function Ep(e,r,t){if(t==null)t=Oa(8);kn(r,t);t._W(4,r.v);return t}function _p(e){var r=bn(e);var t=Dn(e);return[r,t,"n"]}function Sp(e,r,t){if(t==null)t=Oa(16);gn(r,t);Pn(e.v,t);return t}function xp(e){var r=wn(e);var t=Dn(e);return[r,t,"n"]}function Ap(e,r,t){if(t==null)t=Oa(12);kn(r,t);Pn(e.v,t);return t}function Cp(e){var r=bn(e);var t=Cn(e);return[r,t,"n"]}function Ip(e,r,t){if(t==null)t=Oa(12);gn(r,t);In(e.v,t);return t}function Op(e){var r=wn(e);var t=Cn(e);return[r,t,"n"]}function Rp(e,r,t){if(t==null)t=Oa(8);kn(r,t);In(e.v,t);return t}function Np(e){var r=bn(e);var t=dn(e);return[r,t,"is"]}function Fp(e){var r=bn(e);var t=on(e);return[r,t,"str"]}function Dp(e,r,t){var a=e.v==null?"":String(e.v);if(t==null)t=Oa(12+4*e.v.length);gn(r,t);cn(a,t);return t.length>t.l?t.slice(0,t.l):t}function Pp(e){var r=wn(e);var t=on(e);return[r,t,"str"]}function Lp(e,r,t){var a=e.v==null?"":String(e.v);if(t==null)t=Oa(8+4*a.length);kn(r,t);cn(a,t);return t.length>t.l?t.slice(0,t.l):t}function Mp(e,r,t){var a=e.l+r;var n=bn(e);n.r=t["!row"];var i=e._R(1);var s=[n,i,"b"];if(t.cellFormula){e.l+=2;var f=jd(e,a-e.l,t);s[3]=Ld(f,null,n,t.supbooks,t)}else e.l=a;return s}function Up(e,r,t){var a=e.l+r;var n=bn(e);n.r=t["!row"];var i=e._R(1);var s=[n,i,"e"];if(t.cellFormula){e.l+=2;var f=jd(e,a-e.l,t);s[3]=Ld(f,null,n,t.supbooks,t)}else e.l=a;return s}function Bp(e,r,t){var a=e.l+r;var n=bn(e);n.r=t["!row"];var i=Dn(e);var s=[n,i,"n"];if(t.cellFormula){e.l+=2;var f=jd(e,a-e.l,t);s[3]=Ld(f,null,n,t.supbooks,t)}else e.l=a;return s}function Wp(e,r,t){var a=e.l+r;var n=bn(e);n.r=t["!row"];var i=on(e);var s=[n,i,"str"];if(t.cellFormula){e.l+=2;var f=jd(e,a-e.l,t);s[3]=Ld(f,null,n,t.supbooks,t)}else e.l=a;return s}var zp=Nn;var Hp=Fn;function Vp(e,r){if(r==null)r=Oa(4);r._W(4,e);return r}function $p(e,r){var t=e.l+r;var a=Nn(e,16);var n=En(e);var i=on(e);var s=on(e);var f=on(e);e.l=t;var l={rfx:a,relId:n,loc:i,display:f};if(s)l.Tooltip=s;return l}function Xp(e,r){var t=Oa(50+4*(e[1].Target.length+(e[1].Tooltip||"").length));Fn({s:ja(e[0]),e:ja(e[0])},t);An("rId"+r,t);var a=e[1].Target.indexOf("#");var n=a==-1?"":e[1].Target.slice(a+1);cn(n||"",t);cn(e[1].Tooltip||"",t);cn("",t);return t.slice(0,t.l)}function Gp(){}function jp(e,r,t){var a=e.l+r;var n=On(e,16);var i=e._R(1);var s=[n];s[2]=i;if(t.cellFormula){var f=Gd(e,a-e.l,t);s[1]=f}else e.l=a;return s}function Kp(e,r,t){var a=e.l+r;var n=Nn(e,16);var i=[n];if(t.cellFormula){var s=Yd(e,a-e.l,t);i[1]=s;e.l=a}else e.l=a;return i}function Yp(e,r,t){if(t==null)t=Oa(18);var a=wv(e,r);t._W(-4,e);t._W(-4,e);t._W(4,(a.width||10)*256);t._W(4,0);var n=0;if(r.hidden)n|=1;if(typeof a.width=="number")n|=2;if(r.level)n|=r.level<<8;t._W(2,n);return t}var Zp=["left","right","top","bottom","header","footer"];function Jp(e){var r={};Zp.forEach(function(t){r[t]=Dn(e,8)});return r}function qp(e,r){if(r==null)r=Oa(6*8);kv(e);Zp.forEach(function(t){Pn(e[t],r)});return r}function Qp(e){var r=e._R(2);e.l+=28;return{RTL:r&32}}function em(e,r,t){if(t==null)t=Oa(30);var a=924;if((((r||{}).Views||[])[0]||{}).RTL)a|=32;t._W(2,a);t._W(4,0);t._W(4,0);t._W(4,0);t._W(1,0);t._W(1,0);t._W(2,0);t._W(2,100);t._W(2,0);t._W(2,0);t._W(2,0);t._W(4,0);return t}function rm(e){var r=Oa(24);r._W(4,4);r._W(4,1);Fn(e,r);return r}function tm(e,r){if(r==null)r=Oa(16*4+2);r._W(2,e.password?Mo(e.password):0);r._W(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._W(4,e[t[0]]!=null&&!e[t[0]]?1:0);else r._W(4,e[t[0]]!=null&&e[t[0]]?0:1)});return r}function am(){}function nm(){}function im(e,r,t,a,n,i,s){if(!e)return e;var f=r||{};if(!a)a={"!id":{}};if(g!=null&&f.dense==null)f.dense=g;var l={};if(f.dense)l["!data"]=[];var o;var c={s:{r:2e6,c:2e6},e:{r:0,c:0}};var u=[];var h=false,d=false;var v,p,m,b,w,k,T,y,E;var _=[];f.biff=12;f["!row"]=0;var S=0,x=false;var A=[];var C={};var I=f.supbooks||n.supbooks||[[]];I.sharedf=C;I.arrayf=A;I.SheetNames=n.SheetNames||n.Sheets.map(function(e){return e.name});if(!f.supbooks){f.supbooks=I;if(n.Names)for(var O=0;O0);w=e[0].c==-1?w+1:e[0].c;if(f.dense){if(!l["!data"][b])l["!data"][b]=[];l["!data"][b][w]=p}else l[Va(w)+y]=p;if(f.cellFormula){x=false;for(S=0;S=O[0].s.r&&v.r<=O[0].e.r)if(w>=O[0].s.c&&w<=O[0].e.c){p.F=Za(O[0]);x=true}}if(!x&&e.length>3)p.f=e[3]}if(c.s.r>v.r)c.s.r=v.r;if(c.s.c>w)c.s.c=w;if(c.e.rv.r)c.s.r=v.r;if(c.s.c>w)c.s.c=w;if(c.e.r=e.s){R[e.e--]={width:e.w/256,hidden:!!(e.flags&1),level:e.level};if(!F){F=true;fc(e.w/256)}lc(R[e.e+1])}break;case 551:if(e)l["!legrel"]=e;break;case 161:l["!autofilter"]={ref:Za(e)};break;case 476:l["!margins"]=e;break;case 147:if(!n.Sheets[t])n.Sheets[t]={};if(e.name)n.Sheets[t].CodeName=e.name;if(e.above||e.left)l["!outline"]={above:e.above,left:e.left};break;case 137:if(!n.Views)n.Views=[{}];if(!n.Views[0])n.Views[0]={};if(e.RTL)n.Views[0].RTL=true;break;case 485:break;case 64:;case 1053:break;case 151:break;case 152:;case 175:;case 644:;case 625:;case 562:;case 396:;case 1112:;case 1146:;case 471:;case 1050:;case 649:;case 1105:;case 589:;case 607:;case 564:;case 1055:;case 168:;case 174:;case 1180:;case 499:;case 507:;case 550:;case 171:;case 167:;case 1177:;case 169:;case 1181:;case 552:;case 661:;case 639:;case 478:;case 537:;case 477:;case 536:;case 1103:;case 680:;case 1104:;case 1024:;case 663:;case 535:;case 678:;case 504:;case 1043:;case 428:;case 170:;case 3072:;case 50:;case 2070:;case 1045:break;case 35:h=true;break;case 36:h=false;break;case 37:u.push(g);h=true;break;case 38:u.pop();h=false;break;default:if(r.T){}else if(!h||f.WTF)throw new Error("Unexpected record 0x"+g.toString(16));}},f);delete f.supbooks;delete f["!row"];if(!l["!ref"]&&(c.s.r<2e6||o&&(o.e.r>0||o.e.c>0||o.s.r>0||o.s.c>0)))l["!ref"]=Za(o||c);if(f.sheetRows&&l["!ref"]){var M=Qa(l["!ref"]);if(f.sheetRows<=+M.e.r){M.e.r=f.sheetRows-1;if(M.e.r>c.e.r)M.e.r=c.e.r;if(M.e.rc.e.c)M.e.c=c.e.c;if(M.e.c0)l["!merges"]=_;if(R.length>0)l["!cols"]=R;if(N.length>0)l["!rows"]=N;if(a["!id"][l["!legrel"]])l["!legdrawel"]=a["!id"][l["!legrel"]]; +return l}function sm(e,r,t,a,n,i,s,f){var l={r:t,c:a};if(r.c)i["!comments"].push([Ka(l),r.c]);if(r.v===undefined)return false;var o="";switch(r.t){case"b":o=r.v?"1":"0";break;case"d":r=Tr(r);r.z=r.z||q[14];r.v=dr(wr(r.v,f),f);r.t="n";break;case"n":;case"e":o=""+r.v;break;default:o=r.v;break;}l.s=Tv(n.cellXfs,r,n);if(r.l)i["!links"].push([Ka(l),r.l]);switch(r.t){case"s":;case"str":if(n.bookSST){o=gv(n.Strings,r.v==null?"":String(r.v),n.revStrings);l.t="s";l.v=o;if(s)Fa(e,18,Ep(r,l));else Fa(e,7,Tp(r,l))}else{l.t="str";if(s)Fa(e,17,Lp(r,l));else Fa(e,6,Dp(r,l))}return true;case"n":if(r.v==(r.v|0)&&r.v>-1e3&&r.v<1e3){if(s)Fa(e,13,Rp(r,l));else Fa(e,2,Ip(r,l))}else if(isNaN(r.v)){if(s)Fa(e,14,wp({t:"e",v:36},l));else Fa(e,3,bp({t:"e",v:36},l))}else if(!isFinite(r.v)){if(s)Fa(e,14,wp({t:"e",v:7},l));else Fa(e,3,bp({t:"e",v:7},l))}else{if(s)Fa(e,16,Ap(r,l));else Fa(e,5,Sp(r,l))}return true;case"b":l.t="b";if(s)Fa(e,15,pp(r,l));else Fa(e,4,dp(r,l));return true;case"e":l.t="e";if(s)Fa(e,14,wp(r,l));else Fa(e,3,bp(r,l));return true;}if(s)Fa(e,12,up(r,l));else Fa(e,1,op(r,l));return true}function fm(e,r,t,a,n){var i=Qa(r["!ref"]||"A1"),s,f="",l=[];var o=(((n||{}).Workbook||{}).WBProps||{}).date1904;Fa(e,145);var c=r["!data"]!=null;var u=i.e.r;if(r["!rows"])u=Math.max(i.e.r,r["!rows"].length-1);for(var h=i.s.r;h<=u;++h){f=Ba(h);tp(e,r,i,h);var d=false;if(h<=i.e.r)for(var v=i.s.c;v<=i.e.c;++v){if(h===i.s.r)l[v]=Va(v);s=l[v]+f;var p=c?(r["!data"][h]||[])[v]:r[s];if(!p){d=false;continue}d=sm(e,p,h,v,a,r,d,o)}}Fa(e,146)}function lm(e,r){if(!r||!r["!merges"])return;Fa(e,177,Vp(r["!merges"].length));r["!merges"].forEach(function(r){Fa(e,176,Hp(r))});Fa(e,178)}function om(e,r){if(!r||!r["!cols"])return;Fa(e,390);r["!cols"].forEach(function(r,t){if(r)Fa(e,60,Yp(t,r))});Fa(e,391)}function cm(e,r){if(!r||!r["!ref"])return;Fa(e,648);Fa(e,649,rm(Qa(r["!ref"])));Fa(e,650)}function um(e,r,t){r["!links"].forEach(function(r){if(!r[1].Target)return;var a=Ti(t,-1,r[1].Target.replace(/#[\s\S]*$/,""),bi.HLINK);Fa(e,494,Xp(r,a))});delete r["!links"]}function hm(e,r,t,a){if(r["!comments"].length>0){var n=Ti(a,-1,"../drawings/vmlDrawing"+(t+1)+".vml",bi.VML);Fa(e,551,An("rId"+n));r["!legacy"]=n}}function dm(e,r,t,a){if(!r["!autofilter"])return;var n=r["!autofilter"];var i=typeof n.ref==="string"?n.ref:Za(n.ref);if(!t.Workbook)t.Workbook={Sheets:[]};if(!t.Workbook.Names)t.Workbook.Names=[];var s=t.Workbook.Names;var f=Ya(i);if(f.s.r==f.e.r){f.e.r=Ya(r["!ref"]).e.r;i=Za(f)}for(var l=0;l16383||o.e.r>1048575){if(r.WTF)throw new Error("Range "+(s["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");o.e.c=Math.min(o.e.c,16383);o.e.r=Math.min(o.e.c,1048575)}s["!links"]=[];s["!comments"]=[];Fa(n,129);if(t.vbaraw||s["!outline"])Fa(n,147,fp(f,s["!outline"]));Fa(n,148,np(o));vm(n,s,t.Workbook);pm(n,s);om(n,s,e,r,t);fm(n,s,e,r,t);mm(n,s);dm(n,s,t,e);lm(n,s);um(n,s,a);if(s["!margins"])Fa(n,476,qp(s["!margins"]));if(!r||r.ignoreEC||r.ignoreEC==void 0)cm(n,s);hm(n,s,e,a);Fa(n,130);return n.end()}function gm(e){var r=[];var t=e.match(/^/);var a;(e.match(/\/]*>([^<])<\/c:v><\/c:pt>/gm)||[]).forEach(function(e){var a=e.match(/\/]*>([^<]*)<\/c:v><\/c:pt>/);if(!a)return;r[+a[1]]=t?+a[2]:a[2]});var n=vt((Br(e,"c:formatCode")||["","General"])[1]);(Lr(e,"","")||[]).forEach(function(e){a=e.replace(/<[^<>]*>/g,"")});return[r,n,a]}function wm(e,r,t,a,n,i){var s=i||{"!type":"chart"};if(!e)return i;var f=0,l=0,o="A";var c={s:{r:2e6,c:2e6},e:{r:0,c:0}};(Lr(e,"","")||[]).forEach(function(e){var r=gm(e);c.s.r=c.s.c=0;c.e.c=f;o=Va(f);r[0].forEach(function(e,t){if(s["!data"]){if(!s["!data"][t])s["!data"][t]=[];s["!data"][t][f]={t:"n",v:e,z:r[1]}}else s[o+Ba(t)]={t:"n",v:e,z:r[1]};l=t});if(c.e.r0)s["!ref"]=Za(c);return s}function km(e,r,t,a,n){if(!e)return e;if(!a)a={"!id":{}};var i={"!type":"chart","!drawel":null,"!rel":""};var s;var f=e.match(Rv);if(f)Dv(f[0],i,n,t);if(s=e.match(/drawing r:id="(.*?)"/))i["!rel"]=s[1];if(a["!id"][i["!rel"]])i["!drawel"]=a["!id"][i["!rel"]];return i}function Tm(e,r){e.l+=10;var t=on(e,r-10);return{name:t}}function ym(e,r,t,a,n){if(!e)return e;if(!a)a={"!id":{}};var i={"!type":"chart","!drawel":null,"!rel":""};var s=[];var f=false;Ra(e,function l(e,a,o){switch(o){case 550:i["!rel"]=e;break;case 651:if(!n.Sheets[t])n.Sheets[t]={};if(e.name)n.Sheets[t].CodeName=e.name;break;case 562:;case 652:;case 669:;case 679:;case 551:;case 552:;case 476:;case 3072:break;case 35:f=true;break;case 36:f=false;break;case 37:s.push(o);break;case 38:s.pop();break;default:if(a.T>0)s.push(o);else if(a.T<0)s.pop();else if(!f||r.WTF)throw new Error("Unexpected record 0x"+o.toString(16));}},r);if(a["!id"][i["!rel"]])i["!drawel"]=a["!id"][i["!rel"]];return i}var Em=[["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 _m=[["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 Sm=[];var xm=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function Am(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]]=_t(a[i[0]]);break;case"int":if(typeof a[i[0]]=="string")a[i[0]]=parseInt(a[i[0]],10);break;}}}}function Cm(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]]=_t(e[a[0]]);break;case"int":if(typeof e[a[0]]=="string")e[a[0]]=parseInt(e[a[0]],10);break;}}}function Im(e){Cm(e.WBProps,Em);Cm(e.CalcPr,xm);Am(e.WBView,_m);Am(e.Sheets,Sm);mv.date1904=_t(e.WBProps.date1904)}function Om(e){if(!e.Workbook)return"false";if(!e.Workbook.WBProps)return"false";return _t(e.Workbook.WBProps.date1904)?"true":"false"}var Rm=":][*?/\\".split("");function Nm(e,r){try{if(e=="")throw new Error("Sheet name cannot be blank");if(e.length>31)throw new Error("Sheet name cannot exceed 31 chars");if(e.charCodeAt(0)==39||e.charCodeAt(e.length-1)==39)throw new Error("Sheet name cannot start or end with apostrophe (')");if(e.toLowerCase()=="history")throw new Error("Sheet name cannot be 'History'");Rm.forEach(function(r){if(e.indexOf(r)==-1)return;throw new Error("Sheet name cannot contain : \\ / ? * [ ]")})}catch(t){if(r)return false;throw t}return true}function Fm(e,r,t){e.forEach(function(a,n){Nm(a);for(var i=0;i22)throw new Error("Bad Code Name: Worksheet"+s)}})}function Dm(e){if(!e||!e.SheetNames||!e.Sheets)throw new Error("Invalid Workbook");if(!e.SheetNames.length)throw new Error("Workbook is empty");var r=e.Workbook&&e.Workbook.Sheets||[];Fm(e.SheetNames,r,!!e.vbaraw);for(var t=0;t":break;case"":;case"":break;case"":break;case"":Em.forEach(function(e){if(c[e[0]]==null)return;switch(e[2]){case"bool":t.WBProps[e[0]]=_t(c[e[0]]);break;case"int":t.WBProps[e[0]]=parseInt(c[e[0]],10);break;default:t.WBProps[e[0]]=c[e[0]];}});if(c.codeName)t.WBProps.CodeName=It(c.codeName);break;case"":break;case"":break;case"":;case"":break;case"":delete c[0];t.WBView.push(c);break;case"":break;case"":;case"":break;case"":break;case"":break;case"":;case"":break;case"":break;case"":;case"":a=false;break;case"":{i.Ref=vt(It(e.slice(s,o)));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=true;break;case"":a=false;break;case"0;var a={codeName:"ThisWorkbook"};if(e.Workbook&&e.Workbook.WBProps){Em.forEach(function(r){if(e.Workbook.WBProps[r[0]]==null)return;if(e.Workbook.WBProps[r[0]]==r[1])return;a[r[0]]=e.Workbook.WBProps[r[0]]});if(e.Workbook.WBProps.CodeName){a.codeName=e.Workbook.WBProps.CodeName;delete a.CodeName}}r[r.length]=Ut("workbookPr",null,a);var n=e.Workbook&&e.Workbook.Sheets||[];var i=0;if(n&&n[0]&&!!n[0].Hidden){r[r.length]="";for(i=0;i!=e.SheetNames.length;++i){if(!n[i])break;if(!n[i].Hidden)break}if(i==e.SheetNames.length)i=0;r[r.length]='';r[r.length]=""}r[r.length]="";for(i=0;i!=e.SheetNames.length;++i){var s={name:bt(e.SheetNames[i].slice(0,31))};s.sheetId=""+(i+1);s["r:id"]="rId"+(i+1);if(n[i])switch(n[i].Hidden){case 1:s.state="hidden";break;case 2:s.state="veryHidden";break;}r[r.length]=Ut("sheet",null,s)}r[r.length]="";if(t){r[r.length]="";if(e.Workbook&&e.Workbook.Names)e.Workbook.Names.forEach(function(e){var t={name:e.Name};if(e.Comment)t.comment=e.Comment;if(e.Sheet!=null)t.localSheetId=""+e.Sheet;if(e.Hidden)t.hidden="1";if(!e.Ref)return;r[r.length]=Ut("definedName",bt(e.Ref),t)});r[r.length]=""}if(r.length>2){r[r.length]="";r[1]=r[1].replace("/>",">")}return r.join("")}function Um(e,r){var t={};t.Hidden=e._R(4);t.iTabID=e._R(4);t.strRelID=xn(e,r-8);t.name=on(e);return t}function Bm(e,r){if(!r)r=Oa(127);r._W(4,e.Hidden);r._W(4,e.iTabID);An(e.strRelID,r);cn(e.name.slice(0,31),r);return r.length>r.l?r.slice(0,r.l):r}function Wm(e,r){var t={};var a=e._R(4);t.defaultThemeVersion=e._R(4);var n=r>8?on(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 zm(e,r){if(!r)r=Oa(72);var t=0;if(e){if(e.date1904)t|=1;if(e.filterPrivacy)t|=8}r._W(4,t);r._W(4,0);yn(e&&e.CodeName||"ThisWorkbook",r);return r.slice(0,r.l)}function Hm(e,r){var t={};e._R(4);t.ArchID=e._R(4);e.l+=r-8;return t}function Vm(e,r,t){var a=e.l+r;var n=e._R(4);e.l+=1;var i=e._R(4);var s=Sn(e);var f;var l="";try{f=Kd(e,0,t);try{l=En(e)}catch(o){}}catch(o){console.error("Could not parse defined name "+s)}if(n&32)s="_xlnm."+s;e.l=a;var c={Name:s,Ptg:f,Flags:n};if(i<268435455)c.Sheet=i;if(l)c.Comment=l;return c}function $m(e,r){var t=Oa(9);var a=0;var n=e.Name;if(ui.indexOf(n)>-1){a|=32;n=n.slice(6)}t._W(4,a);t._W(1,0);t._W(4,e.Sheet==null?4294967295:e.Sheet);var i=[t,cn(n),fv(e.Ref,r)];if(e.Comment)i.push(_n(e.Comment));else{var s=Oa(4);s._W(4,4294967295);i.push(s)}return P(i)}function Xm(e,r){var t={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""};var a=[];var n=false;if(!r)r={};r.biff=12;var i=[];var s=[[]];s.SheetNames=[];s.XTI=[];Yb[16]={n:"BrtFRTArchID$",f:Hm};Ra(e,function f(e,l,o){switch(o){case 156:s.SheetNames.push(e.name);t.Sheets.push(e);break;case 153:t.WBProps=e;break;case 39:if(e.Sheet!=null)r.SID=e.Sheet;e.Ref=e.Ptg?Ld(e.Ptg,null,null,s,r):"#REF!";delete r.SID;delete e.Ptg;i.push(e);break;case 1036:break;case 357:;case 358:;case 355:;case 667:if(!s[0].length)s[0]=[o,e];else s.push([o,e]);s[s.length-1].XTI=[];break;case 362:if(s.length===0){s[0]=[];s[0].XTI=[]}s[s.length-1].XTI=s[s.length-1].XTI.concat(e);s.XTI=s.XTI.concat(e);break;case 361:break;case 2071:;case 158:;case 143:;case 664:;case 353:break;case 3072:;case 3073:;case 534:;case 677:;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.push(o);n=true;break;case 36:a.pop();n=false;break;case 37:a.push(o);n=true;break;case 38:a.pop();n=false;break;case 16:break;default:if(l.T){}else if(!n||r.WTF&&a[a.length-1]!=37&&a[a.length-1]!=35)throw new Error("Unexpected record 0x"+o.toString(16));}},r);Im(t);t.Names=i;t.supbooks=s;return t}function Gm(e,r){Fa(e,143);for(var t=0;t!=r.SheetNames.length;++t){var a=r.Workbook&&r.Workbook.Sheets&&r.Workbook.Sheets[t]&&r.Workbook.Sheets[t].Hidden||0;var n={Hidden:a,iTabID:t+1,strRelID:"rId"+(t+1),name:r.SheetNames[t]};Fa(e,156,Bm(n))}Fa(e,144)}function jm(r,t){if(!t)t=Oa(127);for(var a=0;a!=4;++a)t._W(4,0);cn("SheetJS",t);cn(e.version,t);cn(e.version,t);cn("7262",t);return t.length>t.l?t.slice(0,t.l):t}function Km(e,r){if(!r)r=Oa(29);r._W(-4,0);r._W(-4,460);r._W(4,28800);r._W(4,17600);r._W(4,500);r._W(4,e);r._W(4,e);var t=120;r._W(1,t);return r.length>r.l?r.slice(0,r.l):r}function Ym(e,r){if(!r.Workbook||!r.Workbook.Sheets)return;var t=r.Workbook.Sheets;var a=0,n=-1,i=-1;for(;an)return;Fa(e,135);Fa(e,158,Km(n));Fa(e,136)}function Zm(e,r){if(!r.Workbook||!r.Workbook.Names)return;r.Workbook.Names.forEach(function(t){try{if(t.Flags&14)return;Fa(e,39,$m(t,r))}catch(a){console.error("Could not serialize defined name "+JSON.stringify(t))}})}function Jm(e){var r=e.SheetNames.length;var t=Oa(12*r+28);t._W(4,r+2);t._W(4,0);t._W(4,-2);t._W(4,-2);t._W(4,0);t._W(4,-1);t._W(4,-1);for(var a=0;a-1?vt(r||e).replace(/<[^<>]*>/g,""):a.r;break;case"DateTime":if(e.slice(-1)!="Z")e+="Z";a.v=dr(wr(e,c),c);if(a.v!==a.v)a.v=vt(e);if(!u||u=="General")u="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=ci[e];if(o.cellText!==false)a.w=e;break;default:if(e==""&&r==""){a.t="z"}else{a.t="s";a.v=yt(r||e)}break;}gb(a,u,o,c);if(o.cellFormula!==false){if(a.Formula){var b=vt(a.Formula);if(b.charCodeAt(0)==61)b=b.slice(1);a.f=eh(b,n);delete a.Formula;if(a.ArrayRange=="RC")a.F=eh("RC:RC",n);else if(a.ArrayRange){a.F=eh(a.ArrayRange,n);l.push([Qa(a.F),a.F])}}else{for(p=0;p=l[p][0].s.r&&n.r<=l[p][0].e.r)if(n.c>=l[p][0].s.c&&n.c<=l[p][0].e.c)a.F=l[p][1]}}if(o.cellStyles){v.forEach(function(e){if(!d.patternType&&e.patternType)d.patternType=e.patternType});a.s=d}if(a.StyleID!==undefined)a.ixfe=a.StyleID}function Tb(e){return ui.indexOf("_xlnm."+e)>-1?"_xlnm."+e:e}function yb(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 Eb(e,r){var t=r||{};$e();var n=v(zt(e));if(t.type=="binary"||t.type=="array"||t.type=="base64"){if(typeof a!=="undefined")n=a.utils.decode(65001,c(n));else n=It(n)}var i=n.slice(0,1024).toLowerCase(),s=false;i=i.replace(/".*?"/g,"");if((i.indexOf(">")&1023)>Math.min(i.indexOf(",")&1023,i.indexOf(";")&1023)){var f=Tr(t);f.type="string";return ro.to_workbook(n,f)}if(i.indexOf("=0)s=true});if(s)return _g(n,t);pb={"General Number":"General","General Date":q[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":q[15],"Short Date":q[14],"Long Time":q[19],"Medium Time":q[18],"Short Time":q[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:q[2],Standard:q[4],Percent:q[10],Scientific:q[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'};var l;var o=[],u;if(g!=null&&t.dense==null)t.dense=g;var h={},d=[],p={},m="";if(t.dense)p["!data"]=[];var b={},w={};var k=db(''),T=0;var y=0,E=0;var _={s:{r:2e6,c:2e6},e:{r:0,c:0}};var S={},x={};var A="",C=0;var I=[];var O={},R={},N=0,F=[];var D=[],P={};var L=[],M,U=false;var B=[];var W=[],z={},H=0,V=0;var $={Sheets:[],WBProps:{date1904:false}},X={};Ht.lastIndex=0;n=Mr(n,"");var G="";while(l=Ht.exec(n))switch(l[3]=(G=l[3]).toLowerCase()){case"data":if(G=="data"){if(l[1]==="/"){if((u=o.pop())[0]!==l[3])throw new Error("Bad state: "+u.join("|"))}else if(l[0].charAt(l[0].length-2)!=="/")o.push([l[3],true]);break}if(o[o.length-1][1])break;if(l[1]==="/")kb(n.slice(T,l.index),A,k,o[o.length-1][0]=="comment"?P:b,{c:y,r:E},S,L[y],w,B,t,$.WBProps.date1904);else{A="";k=db(l[0]);T=l.index+l[0].length}break;case"cell":if(l[1]==="/"){if(D.length>0)b.c=D;if((!t.sheetRows||t.sheetRows>E)&&b.v!==void 0){if(t.dense){if(!p["!data"][E])p["!data"][E]=[];p["!data"][E][y]=b}else p[Va(y)+Ba(E)]=b}if(b.HRef){b.l={Target:vt(b.HRef)};if(b.HRefScreenTip)b.l.Tooltip=b.HRefScreenTip;delete b.HRef;delete b.HRefScreenTip}if(b.MergeAcross||b.MergeDown){H=y+(parseInt(b.MergeAcross,10)|0);V=E+(parseInt(b.MergeDown,10)|0);if(H>y||V>E)I.push({s:{c:y,r:E},e:{c:H,r:V}})}if(!t.sheetStubs){if(b.MergeAcross)y=H+1;else++y}else if(b.MergeAcross||b.MergeDown){for(var j=y;j<=H;++j){for(var K=E;K<=V;++K){if(j>y||K>E){if(t.dense){if(!p["!data"][K])p["!data"][K]=[];p["!data"][K][j]={t:"z"}}else p[Va(j)+Ba(K)]={t:"z"}}}}y=H+1}else++y}else{b=vb(l[0]);if(b.Index)y=+b.Index-1;if(y<_.s.c)_.s.c=y;if(y>_.e.c)_.e.c=y;if(l[0].slice(-2)==="/>")++y;D=[]}break;case"row":if(l[1]==="/"||l[0].slice(-2)==="/>"){if(E<_.s.r)_.s.r=E;if(E>_.e.r)_.e.r=E;if(l[0].slice(-2)==="/>"){w=db(l[0]);if(w.Index)E=+w.Index-1}y=0;++E}else{w=db(l[0]);if(w.Index)E=+w.Index-1;z={};if(w.AutoFitHeight=="0"||w.Height){z.hpx=parseInt(w.Height,10);z.hpt=uc(z.hpx);W[E]=z}if(w.Hidden=="1"){z.hidden=true;W[E]=z}}break;case"worksheet":if(l[1]==="/"){if((u=o.pop())[0]!==l[3])throw new Error("Bad state: "+u.join("|"));d.push(m);if(_.s.r<=_.e.r&&_.s.c<=_.e.c){p["!ref"]=Za(_);if(t.sheetRows&&t.sheetRows<=_.e.r){p["!fullref"]=p["!ref"];_.e.r=t.sheetRows-1;p["!ref"]=Za(_)}}if(I.length)p["!merges"]=I;if(L.length>0)p["!cols"]=L;if(W.length>0)p["!rows"]=W;h[m]=p}else{_={s:{r:2e6,c:2e6},e:{r:0,c:0}};E=y=0;o.push([l[3],false]);u=db(l[0]);m=vt(u.Name);p={};if(t.dense)p["!data"]=[];I=[];B=[];W=[];X={name:m,Hidden:0};$.Sheets.push(X)}break;case"table":if(l[1]==="/"){if((u=o.pop())[0]!==l[3])throw new Error("Bad state: "+u.join("|"))}else if(l[0].slice(-2)=="/>")break;else{o.push([l[3],false]);L=[];U=false}break;case"style":if(l[1]==="/")wb(S,x,t);else x=db(l[0]);break;case"numberformat":x.nf=vt(db(l[0]).Format||"General");if(pb[x.nf])x.nf=pb[x.nf];for(var Y=0;Y!=392;++Y)if(q[Y]==x.nf)break;if(Y==392)for(Y=57;Y!=392;++Y)if(q[Y]==null){Je(x.nf,Y);break}break;case"column":if(o[o.length-1][0]!=="table")break;if(l[1]==="/")break;M=db(l[0]);if(M.Hidden){M.hidden=true;delete M.Hidden}if(M.Width)M.wpx=parseInt(M.Width,10);if(!U&&M.wpx>10){U=true;tc=Qo;for(var Z=0;Z0)ee.Sheet=$.Sheets.length-1;$.Names.push(ee);break;case"namedcell":break;case"b":break;case"i":break;case"u":break;case"s":break;case"em":break;case"h2":break;case"h3":break;case"sub":break;case"sup":break;case"span":break;case"alignment":break;case"borders":break;case"border":break;case"font":if(l[0].slice(-2)==="/>")break;else if(l[1]==="/")A+=n.slice(C,l.index);else C=l.index+l[0].length;break;case"interior":if(!t.cellStyles)break;x.Interior=db(l[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":;case"appname":if(l[0].slice(-2)==="/>")break;else if(l[1]==="/")Vi(O,G,n.slice(N,l.index));else N=l.index+l[0].length;break;case"paragraphs":break;case"styles":;case"workbook":if(l[1]==="/"){if((u=o.pop())[0]!==l[3])throw new Error("Bad state: "+u.join("|"))}else o.push([l[3],false]);break;case"comment":if(l[1]==="/"){if((u=o.pop())[0]!==l[3])throw new Error("Bad state: "+u.join("|"));yb(P);D.push(P)}else{o.push([l[3],false]);u=db(l[0]);if(!_t(u["ShowAlways"]||"0"))D.hidden=true;P={a:u.Author}}break;case"autofilter":if(l[1]==="/"){if((u=o.pop())[0]!==l[3])throw new Error("Bad state: "+u.join("|"))}else if(l[0].charAt(l[0].length-2)!=="/"){var re=db(l[0]);p["!autofilter"]={ref:eh(re.Range).replace(/\$/g,"")};o.push([l[3],true])}break;case"name":break;case"datavalidation":if(l[1]==="/"){if((u=o.pop())[0]!==l[3])throw new Error("Bad state: "+u.join("|"))}else{if(l[0].charAt(l[0].length-2)!=="/")o.push([l[3],true])}break;case"pixelsperinch":break;case"componentoptions":;case"documentproperties":;case"customdocumentproperties":;case"officedocumentsettings":;case"pivottable":;case"pivotcache":;case"names":;case"mapinfo":;case"pagebreaks":;case"querytable":;case"sorting":;case"schema":;case"conditionalformatting":;case"smarttagtype":;case"smarttags":;case"excelworkbook":;case"workbookoptions":;case"worksheetoptions":if(l[1]==="/"){if((u=o.pop())[0]!==l[3])throw new Error("Bad state: "+u.join("|"))}else if(l[0].charAt(l[0].length-2)!=="/")o.push([l[3],true]);break;case"null":break;default:if(o.length==0&&l[3]=="document")return Lg(n,t);if(o.length==0&&l[3]=="uof")return Lg(n,t);var te=true;switch(o[o.length-1][0]){case"officedocumentsettings":switch(l[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"targetscreensize":break;case"readonlyrecommended":break;default:te=false;}break;case"componentoptions":switch(l[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:te=false;}break;case"excelworkbook":switch(l[3]){case"date1904":$.WBProps.date1904=true;break;case"hidehorizontalscrollbar":break;case"hideverticalscrollbar":break;case"hideworkbooktabs":break;case"windowheight":break;case"windowwidth":break;case"windowtopx":break;case"windowtopy":break;case"tabratio":break;case"protectstructure":break;case"protectwindow":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:te=false;}break;case"workbookoptions":switch(l[3]){case"owcversion":break;case"height":break;case"width":break;default:te=false;}break;case"worksheetoptions":switch(l[3]){case"visible":if(l[0].slice(-2)==="/>"){}else if(l[1]==="/")switch(n.slice(N,l.index)){case"SheetHidden":X.Hidden=1;break;case"SheetVeryHidden":X.Hidden=2;break;}else N=l.index+l[0].length;break;case"header":if(!p["!margins"])kv(p["!margins"]={},"xlml");if(!isNaN(+ct(l[0]).Margin))p["!margins"].header=+ct(l[0]).Margin;break;case"footer":if(!p["!margins"])kv(p["!margins"]={},"xlml");if(!isNaN(+ct(l[0]).Margin))p["!margins"].footer=+ct(l[0]).Margin;break;case"pagemargins":var ae=ct(l[0]);if(!p["!margins"])kv(p["!margins"]={},"xlml");if(!isNaN(+ae.Top))p["!margins"].top=+ae.Top;if(!isNaN(+ae.Left))p["!margins"].left=+ae.Left;if(!isNaN(+ae.Right))p["!margins"].right=+ae.Right;if(!isNaN(+ae.Bottom))p["!margins"].bottom=+ae.Bottom;break;case"displayrighttoleft":if(!$.Views)$.Views=[];if(!$.Views[0])$.Views[0]={};$.Views[0].RTL=true; +break;case"freezepanes":break;case"frozennosplit":break;case"splithorizontal":;case"splitvertical":break;case"donotdisplaygridlines":break;case"activerow":break;case"activecol":break;case"toprowbottompane":break;case"leftcolumnrightpane":break;case"unsynced":break;case"print":break;case"printerrors":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"activepane":break;case"toprowvisible":break;case"leftcolumnvisible":break;case"fittopage":break;case"rangeselection":break;case"papersizeindex":break;case"pagelayoutzoom":break;case"pagebreakzoom":break;case"filteron":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":if(!p["!outline"])p["!outline"]={};p["!outline"].above=true;break;case"tabcolorindex":break;case"donotdisplayheadings":break;case"showpagelayoutzoom":break;case"nosummarycolumnsrightdetail":if(!p["!outline"])p["!outline"]={};p["!outline"].left=true;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:te=false;}break;case"pivottable":;case"pivotcache":switch(l[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:te=false;}break;case"pagebreaks":switch(l[3]){case"colbreaks":break;case"colbreak":break;case"rowbreaks":break;case"rowbreak":break;case"colstart":break;case"colend":break;case"rowend":break;default:te=false;}break;case"autofilter":switch(l[3]){case"autofiltercolumn":break;case"autofiltercondition":break;case"autofilterand":break;case"autofilteror":break;default:te=false;}break;case"querytable":switch(l[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:te=false;}break;case"datavalidation":switch(l[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"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;case"cellrangelist":break;default:te=false;}break;case"sorting":;case"conditionalformatting":switch(l[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:te=false;}break;case"mapinfo":;case"schema":;case"data":switch(l[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:te=false;}break;case"smarttags":break;default:te=false;break;}if(te)break;if(l[3].match(/!\[CDATA/))break;if(!o[o.length-1][1])throw"Unrecognized tag: "+l[3]+"|"+o.join("|");if(o[o.length-1][0]==="customdocumentproperties"){if(l[0].slice(-2)==="/>")break;else if(l[1]==="/")bb(R,G,F,n.slice(N,l.index));else{F=l;N=l.index+l[0].length}break}if(t.WTF)throw"Unrecognized tag: "+l[3]+"|"+o.join("|");}var ne={};if(!t.bookSheets&&!t.bookProps)ne.Sheets=h;ne.SheetNames=d;ne.Workbook=$;ne.SSF=Tr(q);ne.Props=O;ne.Custprops=R;ne.bookType="xlml";return ne}function _b(e,r){Zw(r=r||{});switch(r.type||"base64"){case"base64":return Eb(_(e),r);case"binary":;case"buffer":;case"file":return Eb(e,r);case"array":return Eb(N(e),r);}}function Sb(e,r){var t=[];if(e.Props)t.push($i(e.Props,r));if(e.Custprops)t.push(Xi(e.Props,e.Custprops,r));return t.join("")}function xb(e){if((((e||{}).Workbook||{}).WBProps||{}).date1904)return'';return""}function Ab(e,r){var t=[''];r.cellXfs.forEach(function(e,r){var a=[];a.push(Ut("NumberFormat",null,{"ss:Format":bt(q[e.numFmtId])}));var n={"ss:ID":"s"+(21+r)};t.push(Ut("Style",a.join(""),n))});return Ut("Styles",t.join(""))}function Cb(e){return Ut("NamedRange",null,{"ss:Name":e.Name.slice(0,6)=="_xlnm."?e.Name.slice(6):e.Name,"ss:RefersTo":"="+ah(e.Ref,{r:0,c:0})})}function Ib(e){if(!((e||{}).Workbook||{}).Names)return"";var r=e.Workbook.Names;var t=[];for(var a=0;a");if(e["!margins"].header)n.push(Ut("Header",null,{"x:Margin":e["!margins"].header}));if(e["!margins"].footer)n.push(Ut("Footer",null,{"x:Margin":e["!margins"].footer}));n.push(Ut("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(Ut("Visible",a.Workbook.Sheets[t].Hidden==1?"SheetHidden":"SheetVeryHidden",{}));else{for(var i=0;i")}}if(((((a||{}).Workbook||{}).Views||[])[0]||{}).RTL)n.push("");if(e["!protect"]){n.push(Lt("ProtectContents","True"));if(e["!protect"].objects)n.push(Lt("ProtectObjects","True"));if(e["!protect"].scenarios)n.push(Lt("ProtectScenarios","True"));if(e["!protect"].selectLockedCells!=null&&!e["!protect"].selectLockedCells)n.push(Lt("EnableSelection","NoSelection"));else if(e["!protect"].selectUnlockedCells!=null&&!e["!protect"].selectUnlockedCells)n.push(Lt("EnableSelection","UnlockedCells"));[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","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 Ut("WorksheetOptions",n.join(""),{xmlns:Xt.x})}function Nb(e){return e.map(function(r){var t=Et(r.t||"");var a=Ut("ss:Data",t,{xmlns:"http://www.w3.org/TR/REC-html40"});var n={};if(r.a)n["ss:Author"]=r.a;if(!e.hidden)n["ss:ShowAlways"]="1";return Ut("Comment",a,n)}).join("")}function Fb(e,r,t,a,n,i,s){if(!e||e.v==undefined&&e.f==undefined)return"";var f={};if(e.f)f["ss:Formula"]="="+bt(ah(e.f,s));if(e.F&&e.F.slice(0,r.length)==r){var l=ja(e.F.slice(r.length+1));f["ss:ArrayRange"]="RC:R"+(l.r==s.r?"":"["+(l.r-s.r)+"]")+"C"+(l.c==s.c?"":"["+(l.c-s.c)+"]")}if(e.l&&e.l.Target){f["ss:HRef"]=bt(e.l.Target);if(e.l.Tooltip)f["x:HRefScreenTip"]=bt(e.l.Tooltip)}if(t["!merges"]){var o=t["!merges"];for(var c=0;c!=o.length;++c){if(o[c].s.c!=s.c||o[c].s.r!=s.r)continue;if(o[c].e.c>o[c].s.c)f["ss:MergeAcross"]=o[c].e.c-o[c].s.c;if(o[c].e.r>o[c].s.r)f["ss:MergeDown"]=o[c].e.r-o[c].s.r}}var u="",h="";switch(e.t){case"z":if(!a.sheetStubs)return"";break;case"n":u="Number";h=String(e.v);break;case"b":u="Boolean";h=e.v?"1":"0";break;case"e":u="Error";h=oi[e.v];break;case"d":u="DateTime";h=new Date(e.v).toISOString();if(e.z==null)e.z=e.z||q[14];break;case"s":u="String";h=Tt(e.v||"");break;}var d=Tv(a.cellXfs,e,a);f["ss:StyleID"]="s"+(21+d);f["ss:Index"]=s.c+1;var v=e.v!=null?h:"";var p=e.t=="z"?"":''+v+"";if((e.c||[]).length>0)p+=Nb(e.c);return Ut("Cell",p,f)}function Db(e,r){var t='"}function Pb(e,r,t,a){if(!e["!ref"])return"";var n=Qa(e["!ref"]);var i=e["!merges"]||[],s=0;var f=[];if(e["!cols"])e["!cols"].forEach(function(e,r){lc(e);var t=!!e.width;var a=wv(r,e);var n={"ss:Index":r+1};if(t)n["ss:Width"]=ac(a.width);if(e.hidden)n["ss:Hidden"]="1";f.push(Ut("Column",null,n))});var l=e["!data"]!=null;for(var o=n.s.r;o<=n.e.r;++o){var c=[Db(o,(e["!rows"]||[])[o])];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>o)continue;if(i[s].e.c");if(c.length>2)f.push(c.join(""))}return f.join("")}function Lb(e,r,t){var a=[];var n=t.SheetNames[e];var i=t.Sheets[n];var s=i?Ob(i,r,e,t):"";if(s.length>0)a.push(""+s+"");s=i?Pb(i,r,e,t):"";if(s.length>0)a.push(""+s+"
");a.push(Rb(i,r,e,t));if(i["!autofilter"])a.push('');return a.join("")}function Mb(e,r){if(!r)r={};if(!e.SSF)e.SSF=Tr(q);if(e.SSF){$e();Ve(e.SSF);r.revssf=lr(e.SSF);r.revssf[e.SSF[65535]]=0;r.ssf=e.SSF;r.cellXfs=[];Tv(r.cellXfs,{},{revssf:{General:0}})}var t=[];t.push(Sb(e,r));t.push(xb(e,r));t.push("");t.push("");for(var a=0;a40)return r;t.l-=4;r.Reserved1=t._R(0,"lpstr-ansi");if(t.length-t.l<=4)return r;a=t._R(4);if(a!==1907505652)return r;r.UnicodeClipboardFormat=Hn(t);a=t._R(4);if(a==0||a>40)return r;t.l-=4;r.Reserved2=t._R(0,"lpwstr")}var Bb=[60,1084,2066,2165,2175];function Wb(e,r,t,a,n){var i=a;var s=[];var f=t.slice(t.l,t.l+i);if(n&&n.enc&&n.enc.insitu&&f.length>0)switch(e){case 9:;case 521:;case 1033:;case 2057:;case 47:;case 405:;case 225:;case 406:;case 312:;case 404:;case 10:break;case 133:break;default:n.enc.insitu(f);}s.push(f);t.l+=i;var l=ba(t,t.l),o=Zb[l];var c=0;while(o!=null&&Bb.indexOf(l)>-1){i=ba(t,t.l+2);c=t.l+4;if(l==2066)c+=4;else if(l==2165||l==2175){c+=12}f=t.slice(c,t.l+4+i);s.push(f);t.l+=4+i;o=Zb[l=ba(t,t.l)]}var u=P(s);Ca(u,0);var h=0;u.lens=[];for(var d=0;d1)return;if(t.sheetRows&&e.r>=t.sheetRows)return;if(t.cellStyles&&r.XF&&r.XF.data)I(r,t);delete r.ixfe;delete r.XF;h=e;d=Ka(e);if(!s||!s.s||!s.e)s={s:{r:0,c:0},e:{r:0,c:0}};if(e.rs.e.r)s.e.r=e.r+1;if(e.c+1>s.e.c)s.e.c=e.c+1;if(t.cellFormula&&r.f){for(var a=0;ae.c||k[a][0].s.r>e.r)continue;if(k[a][0].e.c>8)!==j)throw new Error("rt mismatch: "+Z+"!="+j);if(Y.r==12){e.l+=10;K-=10}}var J={};if(j===10)J=Y.f(e,K,R);else J=Wb(j,Y,e,K,R);if(W==0&&[9,521,1033,2057].indexOf(B)===-1)continue;switch(j){case 34:t.opts.Date1904=S.WBProps.date1904=J;break;case 134:t.opts.WriteProtect=true;break;case 47:if(!R.enc)e.l=0;R.enc=J;if(!r.password)throw new Error("File is password-protected");if(J.valid==null)throw new Error("Encryption scheme unsupported");if(!J.valid)throw new Error("Password is incorrect");break;case 92:R.lastuser=J;break;case 66:var Q=Number(J);switch(Q){case 21010:Q=1200;break;case 32768:Q=1e4;break;case 32769:Q=1252;break;}l(R.codepage=Q);X=true;break;case 317:R.rrtabid=J;break;case 25:R.winlocked=J;break;case 439:t.opts["RefreshAll"]=J;break;case 12:t.opts["CalcCount"]=J;break;case 16:t.opts["CalcDelta"]=J;break;case 17:t.opts["CalcIter"]=J;break;case 13:t.opts["CalcMode"]=J;break;case 14:t.opts["CalcPrecision"]=J;break;case 95:t.opts["CalcSaveRecalc"]=J;break;case 15:R.CalcRefMode=J;break;case 2211:t.opts.FullCalc=J;break;case 129:if(J.fDialog)n["!type"]="dialog";if(!J.fBelow)(n["!outline"]||(n["!outline"]={})).above=true;if(!J.fRight)(n["!outline"]||(n["!outline"]={})).left=true;break;case 67:;case 579:;case 1091:;case 224:E.push(J);break;case 430:U.push([J]);U[U.length-1].XTI=[];break;case 35:;case 547:U[U.length-1].push(J);break;case 24:;case 536:$={Name:J.Name,Ref:Ld(J.rgce,s,null,U,R)};if(J.itab>0)$.Sheet=J.itab-1;U.names.push($);if(!U[0]){U[0]=[];U[0].XTI=[]}U[U.length-1].push(J);if(J.Name=="_xlnm._FilterDatabase"&&J.itab>0)if(J.rgce&&J.rgce[0]&&J.rgce[0][0]&&J.rgce[0][0][0]=="PtgArea3d")V[J.itab-1]={ref:Za(J.rgce[0][0][1][2])};break;case 22:R.ExternCount=J;break;case 23:if(U.length==0){U[0]=[];U[0].XTI=[]}U[U.length-1].XTI=U[U.length-1].XTI.concat(J);U.XTI=U.XTI.concat(J);break;case 2196:if(R.biff<8)break;if($!=null)$.Comment=J[1];break;case 18:n["!protect"]=J;break;case 19:if(J!==0&&R.WTF)console.error("Password verifier: "+J);break;case 133:{i[R.biff==4?R.snames.length:J.pos]=J;R.snames.push(J.name)}break;case 10:{if(--W?!A:A)break;if(s.e){if(s.e.r>0&&s.e.c>0){s.e.r--;s.e.c--;n["!ref"]=Za(s);if(r.sheetRows&&r.sheetRows<=s.e.r){var ee=s.e.r;s.e.r=r.sheetRows-1;n["!fullref"]=n["!ref"];n["!ref"]=Za(s);s.e.r=ee}s.e.r++;s.e.c++}if(F.length>0)n["!merges"]=F;if(D.length>0)n["!objects"]=D;if(P.length>0)n["!cols"]=P;if(L.length>0)n["!rows"]=L;S.Sheets.push(x)}if(c==="")u=n;else a[c]=n;n={};if(r.dense)n["!data"]=[]}break;case 9:;case 521:;case 1033:;case 2057:{if(R.biff===8)R.biff={9:2,521:3,1033:4}[j]||{512:2,768:3,1024:4,1280:5,1536:8,2:2,7:2}[J.BIFFVer]||8;R.biffguess=J.BIFFVer==0;if(J.BIFFVer==0&&J.dt==4096){R.biff=5;X=true;l(R.codepage=28591)}if(R.biff==4&&J.dt&256)A=true;if(R.biff==8&&J.BIFFVer==0&&J.dt==16)R.biff=2;if(W++&&!A)break;n={};if(r.dense)n["!data"]=[];if(R.biff<8&&!X){X=true;l(R.codepage=r.codepage||1252)}if(R.biff==4&&A){c=(i[R.snames.indexOf(c)+1]||{name:""}).name}else if(R.biff<5||J.BIFFVer==0&&J.dt==4096){if(c==="")c="Sheet1";s={s:{r:0,c:0},e:{r:0,c:0}};var re={pos:e.l-K,name:c};i[re.pos]=re;R.snames.push(c)}else c=(i[G]||{name:""}).name;if(J.dt==32)n["!type"]="chart";if(J.dt==64)n["!type"]="macro";F=[];D=[];R.arrayf=k=[];P=[];L=[];M=false;x={Hidden:(i[G]||{hs:0}).hs,name:c}}break;case 515:;case 3:;case 2:{if(n["!type"]=="chart")if(r.dense?(n["!data"][J.r]||[])[J.c]:n[Va(J.c)+Ba(J.r)])++J.c;T={ixfe:J.ixfe,XF:E[J.ixfe]||{},v:J.val,t:"n"};if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63];zb(T,r,t.opts.Date1904);O({c:J.c,r:J.r},T,r)}break;case 5:;case 517:{T={ixfe:J.ixfe,XF:E[J.ixfe],v:J.val,t:J.t};if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63];zb(T,r,t.opts.Date1904);O({c:J.c,r:J.r},T,r)}break;case 638:{T={ixfe:J.ixfe,XF:E[J.ixfe],v:J.rknum,t:"n"};if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63];zb(T,r,t.opts.Date1904);O({c:J.c,r:J.r},T,r)}break;case 189:{for(var te=J.c;te<=J.C;++te){var ae=J.rkrec[te-J.c][0];T={ixfe:ae,XF:E[ae],v:J.rkrec[te-J.c][1],t:"n"};if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63];zb(T,r,t.opts.Date1904);O({c:te,r:J.r},T,r)}}break;case 6:;case 518:;case 1030:{if(J.val=="String"){f=J;break}T=Hb(J.val,J.cell.ixfe,J.tt);T.XF=E[T.ixfe];if(r.cellFormula){var ne=J.formula;if(ne&&ne[0]&&ne[0][0]&&ne[0][0][0]=="PtgExp"){var ie=ne[0][0][1][0],se=ne[0][0][1][1];var fe=Ka({r:ie,c:se});if(w[fe])T.f=""+Ld(J.formula,s,J.cell,U,R);else T.F=((r.dense?(n["!data"][ie]||[])[se]:n[fe])||{}).F}else T.f=""+Ld(J.formula,s,J.cell,U,R)}if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63];zb(T,r,t.opts.Date1904);O(J.cell,T,r);f=J}break;case 7:;case 519:{if(f){f.val=J;T=Hb(J,f.cell.ixfe,"s");T.XF=E[T.ixfe];if(r.cellFormula){T.f=""+Ld(f.formula,s,f.cell,U,R)}if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63];zb(T,r,t.opts.Date1904);O(f.cell,T,r);f=null}else throw new Error("String record expects Formula")}break;case 33:;case 545:{k.push(J);var le=Ka(J[0].s);v=r.dense?(n["!data"][J[0].s.r]||[])[J[0].s.c]:n[le];if(r.cellFormula&&v){if(!f)break;if(!le||!v)break;v.f=""+Ld(J[1],s,J[0],U,R);v.F=Za(J[0])}}break;case 1212:{if(!r.cellFormula)break;if(d){if(!f)break;w[Ka(f.cell)]=J[0];v=r.dense?(n["!data"][f.cell.r]||[])[f.cell.c]:n[Ka(f.cell)];(v||{}).f=""+Ld(J[0],s,h,U,R)}}break;case 253:T=Hb(o[J.isst].t,J.ixfe,"s");if(o[J.isst].h)T.h=o[J.isst].h;T.XF=E[T.ixfe];if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63];zb(T,r,t.opts.Date1904);O({c:J.c,r:J.r},T,r);break;case 513:if(r.sheetStubs){T={ixfe:J.ixfe,XF:E[J.ixfe],t:"z"};if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63];zb(T,r,t.opts.Date1904);O({c:J.c,r:J.r},T,r)}break;case 190:if(r.sheetStubs){for(var oe=J.c;oe<=J.C;++oe){var ce=J.ixfe[oe-J.c];T={ixfe:ce,XF:E[ce],t:"z"};if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63];zb(T,r,t.opts.Date1904);O({c:oe,r:J.r},T,r)}}break;case 214:;case 516:;case 4:T=Hb(J.val,J.ixfe,"s");T.XF=E[T.ixfe];if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63];zb(T,r,t.opts.Date1904);O({c:J.c,r:J.r},T,r);break;case 0:;case 512:{if(W===1)s=J}break;case 252:{o=J}break;case 1054:{if(R.biff>=3&&R.biff<=4){H[z++]=J[1];for(var ue=0;ue=163)Je(J[1],z+163)}else Je(J[1],J[0])}break;case 30:{H[z++]=J;for(var he=0;he=163)Je(J,z+163)}break;case 229:F=F.concat(J);break;case 93:D[J.cmo[0]]=R.lastobj=J;break;case 438:R.lastobj.TxO=J;break;case 127:R.lastobj.ImData=J;break;case 440:{for(b=J[0].s.r;b<=J[0].e.r;++b)for(m=J[0].s.c;m<=J[0].e.c;++m){v=r.dense?(n["!data"][b]||[])[m]:n[Ka({c:m,r:b})];if(v)v.l=J[1]}}break;case 2048:{for(b=J[0].s.r;b<=J[0].e.r;++b)for(m=J[0].s.c;m<=J[0].e.c;++m){v=r.dense?(n["!data"][b]||[])[m]:n[Ka({c:m,r:b})];if(v&&v.l)v.l.Tooltip=J[1]}}break;case 28:{v=r.dense?(n["!data"][J[0].r]||[])[J[0].c]:n[Ka(J[0])];if(!v){if(r.dense){if(!n["!data"][J[0].r])n["!data"][J[0].r]=[];v=n["!data"][J[0].r][J[0].c]={t:"z"}}else{v=n[Ka(J[0])]={t:"z"}}s.e.r=Math.max(s.e.r,J[0].r);s.s.r=Math.min(s.s.r,J[0].r);s.e.c=Math.max(s.e.c,J[0].c);s.s.c=Math.min(s.s.c,J[0].c)}if(!v.c)v.c=[];if(R.biff<=5&&R.biff>=2)p={a:"SheetJ5",t:J[1]};else{var de=D[J[2]];p={a:J[1],t:de.TxO.t};if(J[3]!=null&&!(J[3]&2))v.c.hidden=true}v.c.push(p)}break;case 2173:hu(E[J.ixfe],J.ext);break;case 125:{if(!R.cellStyles)break;while(J.e>=J.s){P[J.e--]={width:J.w/256,level:J.level||0,hidden:!!(J.flags&1)};if(!M){M=true;fc(J.w/256)}lc(P[J.e+1])}}break;case 520:{var ve={};if(J.level!=null){L[J.r]=ve;ve.level=J.level}if(J.hidden){L[J.r]=ve;ve.hidden=true}if(J.hpt){L[J.r]=ve;ve.hpt=J.hpt;ve.hpx=hc(J.hpt)}}break;case 38:;case 39:;case 40:;case 41:if(!n["!margins"])kv(n["!margins"]={});n["!margins"][{38:"left",39:"right",40:"top",41:"bottom"}[j]]=J;break;case 161:if(!n["!margins"])kv(n["!margins"]={});n["!margins"].header=J.header;n["!margins"].footer=J.footer;break;case 574:if(J.RTL)S.Views[0].RTL=true;break;case 146:_=J;break;case 2198:N=J;break;case 140:y=J;break;case 442:{if(!c)S.WBProps.CodeName=J||"ThisWorkbook";else x.CodeName=J||x.name}break;}}else{if(!Y)console.error("Missing Info for XLS Record 0x"+j.toString(16));e.l+=K}}t.SheetNames=ir(i).sort(function(e,r){return Number(e)-Number(r)}).map(function(e){return i[e].name});if(!r.bookSheets)t.Sheets=a;if(!t.SheetNames.length&&u["!ref"]){t.SheetNames.push("Sheet1");if(t.Sheets)t.Sheets["Sheet1"]=u}else t.Preamble=u;if(t.Sheets)V.forEach(function(e,r){t.Sheets[t.SheetNames[r]]["!autofilter"]=e});t.Strings=o;t.SSF=Tr(q);if(R.enc)t.Encryption=R.enc;if(N)t.Themes=N;t.Metadata={};if(y!==undefined)t.Metadata.Country=y;if(U.names.length>0)S.Names=U.names;t.Workbook=S;return t}var $b={SI:"e0859ff2f94f6810ab9108002b27b3d9",DSI:"02d5cdd59c2e1b10939708002b2cf9ae",UDI:"05d5cdd59c2e1b10939708002b2cf9ae"};function Xb(e,r,t){var a=Qe.find(e,"/!DocumentSummaryInformation");if(a&&a.size>0)try{var n=hs(a,ti,$b.DSI);for(var i in n)r[i]=n[i]}catch(s){if(t.WTF)throw s}var f=Qe.find(e,"/!SummaryInformation");if(f&&f.size>0)try{var l=hs(f,ai,$b.SI);for(var o in l)if(r[o]==null)r[o]=l[o]}catch(s){if(t.WTF)throw s}if(r.HeadingPairs&&r.TitlesOfParts){Pi(r.HeadingPairs,r.TitlesOfParts,r,t);delete r.HeadingPairs;delete r.TitlesOfParts}}function Gb(e,r){var t=[],a=[],n=[];var i=0,s;var f=sr(ti,"n");var l=sr(ai,"n");if(e.Props){s=ir(e.Props);for(i=0;i-1||Di.indexOf(n[i][0])>-1)continue;if(n[i][1]==null)continue;o.push(n[i])}if(a.length)Qe.utils.cfb_add(r,"/SummaryInformation",ds(a,$b.SI,l,ai));if(t.length||o.length)Qe.utils.cfb_add(r,"/DocumentSummaryInformation",ds(t,$b.DSI,f,ti,o.length?o:null,$b.UDI))}function jb(e,r){if(!r)r={};Zw(r);o();if(r.codepage)s(r.codepage);var t,a;if(e.FullPaths){if(Qe.find(e,"/encryption"))throw new Error("File is password-protected");t=Qe.find(e,"!CompObj");a=Qe.find(e,"/Workbook")||Qe.find(e,"/Book")}else{switch(r.type){case"base64":e=O(_(e));break;case"binary":e=O(e);break;case"buffer":break;case"array":if(!Array.isArray(e))e=Array.prototype.slice.call(e);break;}Ca(e,0);a={content:e}}var n;var i;if(t)Ub(t);if(r.bookProps&&!r.bookSheets)n={};else{var f=S?"buffer":"array";if(a&&a.content)n=Vb(a.content,r);else if((i=Qe.find(e,"PerfectOffice_MAIN"))&&i.content)n=ao.to_workbook(i.content,(r.type=f,r));else if((i=Qe.find(e,"NativeContent_MAIN"))&&i.content)n=ao.to_workbook(i.content,(r.type=f,r));else if((i=Qe.find(e,"MN0"))&&i.content)throw new Error("Unsupported Works 4 for Mac file");else throw new Error("Cannot find Workbook stream");if(r.bookVBA&&e.FullPaths&&Qe.find(e,"/_VBA_PROJECT_CUR/VBA/dir"))n.vbaraw=ju(e)}var l={};if(e.FullPaths)Xb(e,l,r);n.Props=n.Custprops=l;if(r.bookFiles)n.cfb=e;return n}function Kb(e,r){var t=r||{};var a=Qe.utils.cfb_new({root:"R"});var n="/Workbook";switch(t.bookType||"xls"){case"xls":t.bookType="biff8";case"xla":if(!t.bookType)t.bookType="xla";case"biff8":n="/Workbook";t.biff=8;break;case"biff5":n="/Book";t.biff=5;break;default:throw new Error("invalid type "+t.bookType+" for XLS CFB");}Qe.utils.cfb_add(a,n,wg(e,t));if(t.biff==8&&(e.Props||e.Custprops))Gb(e,a);if(t.biff==8&&e.vbaraw)Ku(a,Qe.read(e.vbaraw,{type:typeof e.vbaraw=="string"?"binary":"buffer"}));return a}var Yb={0:{f:ep},1:{f:lp},2:{f:Cp},3:{f:mp},4:{f:hp},5:{f:_p},6:{f:Fp},7:{f:kp},8:{f:Wp},9:{f:Bp},10:{f:Mp},11:{f:Up},12:{f:cp},13:{f:Op},14:{f:gp},15:{f:vp},16:{f:xp},17:{f:Pp},18:{f:yp},19:{f:dn},20:{},21:{},22:{},23:{},24:{},25:{},26:{},27:{},28:{},29:{},30:{},31:{},32:{},33:{},34:{},35:{T:1},36:{T:-1},37:{T:1},38:{T:-1},39:{f:Vm},40:{},42:{},43:{f:Ac},44:{f:Sc},45:{f:Rc},46:{f:Lc},47:{f:Fc},48:{},49:{f:fn},50:{},51:{f:pu},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:Ol},62:{f:Np},63:{f:Su},64:{f:am},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:Ia,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:Qp},138:{T:-1},139:{T:1},140:{T:-1},141:{T:1},142:{T:-1},143:{T:1},144:{T:-1},145:{T:1},146:{T:-1},147:{f:sp},148:{f:ap,p:16},151:{f:Gp},152:{},153:{f:Wm},154:{},155:{},156:{f:Um},157:{},158:{},159:{T:1,f:mo},160:{T:-1},161:{T:1,f:Nn},162:{T:-1},163:{T:1},164:{T:-1},165:{T:1},166:{T:-1},167:{},168:{},169:{},170:{},171:{},172:{T:1},173:{T:-1},174:{},175:{},176:{f:zp},177:{T:1},178:{T:-1},179:{T:1},180:{T:-1},181:{T:1},182:{T:-1},183:{T:1},184:{T:-1},185:{T:1},186:{T:-1},187:{T:1},188:{T:-1},189:{T:1},190:{T:-1},191:{T:1},192:{T:-1},193:{T:1},194:{T:-1},195:{T:1},196:{T:-1},197:{T:1},198:{T:-1},199:{T:1},200:{T:-1},201:{T:1},202:{T:-1},203:{T:1},204:{T:-1},205:{T:1},206:{T:-1},207:{T:1},208:{T:-1},209:{T:1},210:{T:-1},211:{T:1},212:{T:-1},213:{T:1},214:{T:-1},215:{T:1},216:{T:-1},217:{T:1},218:{T:-1},219:{T:1},220:{T:-1},221:{T:1},222:{T:-1},223:{T:1},224:{T:-1},225:{T:1},226:{T:-1},227:{T:1},228:{T:-1},229:{T:1},230:{T:-1},231:{T:1},232:{T:-1},233:{T:1},234:{T:-1},235:{T:1},236:{T:-1},237:{T:1},238:{T:-1},239:{T:1},240:{T:-1},241:{T:1},242:{T:-1},243:{T:1},244:{T:-1},245:{T:1},246:{T:-1},247:{T:1},248:{T:-1},249:{T:1},250:{T:-1},251:{T:1},252:{T:-1},253:{T:1},254:{T:-1},255:{T:1},256:{T:-1},257:{T:1},258:{T:-1},259:{T:1},260:{T:-1},261:{T:1},262:{T:-1},263:{T:1},264:{T:-1},265:{T:1},266:{T:-1},267:{T:1},268:{T:-1},269:{T:1},270:{T:-1},271:{T:1},272:{T:-1},273:{T:1},274:{T:-1},275:{T:1},276:{T:-1},277:{},278:{T:1},279:{T:-1},280:{T:1},281:{T:-1},282:{T:1},283:{T:1},284:{T:-1},285:{T:1},286:{T:-1},287:{T:1},288:{T:-1},289:{T:1},290:{T:-1},291:{T:1},292:{T:-1},293:{T:1},294:{T:-1},295:{T:1},296:{T:-1},297:{T:1},298:{T:-1},299:{T:1},300:{T:-1},301:{T:1},302:{T:-1},303:{T:1},304:{T:-1},305:{T:1},306:{T:-1},307:{T:1},308:{T:-1},309:{T:1},310:{T:-1},311:{T:1},312:{T:-1},313:{T:-1},314:{T:1},315:{T:-1},316:{T:1},317:{T:-1},318:{T:1},319:{T:-1},320:{T:1},321:{T:-1},322:{T:1},323:{T:-1},324:{T:1},325:{T:-1},326:{T:1},327:{T:-1},328:{T:1},329:{T:-1},330:{T:1},331:{T:-1},332:{T:1},333:{T:-1},334:{T:1},335:{f:du},336:{T:-1},337:{f:gu,T:1},338:{T:-1},339:{T:1},340:{T:-1},341:{T:1},342:{T:-1},343:{T:1},344:{T:-1},345:{T:1},346:{T:-1},347:{T:1},348:{T:-1},349:{T:1},350:{T:-1},351:{},352:{},353:{T:1},354:{T:-1},355:{f:xn},357:{},358:{},359:{},360:{T:1},361:{},362:{f:sl},363:{},364:{},366:{},367:{},368:{},369:{},370:{},371:{},372:{T:1},373:{T:-1},374:{T:1},375:{T:-1},376:{T:1},377:{T:-1},378:{T:1},379:{T:-1},380:{T:1},381:{T:-1},382:{T:1},383:{T:-1},384:{T:1},385:{T:-1},386:{T:1},387:{T:-1},388:{T:1},389:{T:-1},390:{T:1},391:{T:-1},392:{T:1},393:{T:-1},394:{T:1},395:{T:-1},396:{},397:{},398:{},399:{},400:{},401:{T:1},403:{},404:{},405:{},406:{},407:{},408:{},409:{},410:{},411:{},412:{},413:{},414:{},415:{},416:{},417:{},418:{},419:{},420:{},421:{},422:{T:1},423:{T:1},424:{T:-1},425:{T:-1},426:{f:jp},427:{f:Kp},428:{},429:{T:1},430:{T:-1},431:{T:1},432:{T:-1},433:{T:1},434:{T:-1},435:{T:1},436:{T:-1},437:{T:1},438:{T:-1},439:{T:1},440:{T:-1},441:{T:1},442:{T:-1},443:{T:1},444:{T:-1},445:{T:1},446:{T:-1},447:{T:1},448:{T:-1},449:{T:1},450:{T:-1},451:{T:1},452:{T:-1},453:{T:1},454:{T:-1},455:{T:1},456:{T:-1},457:{T:1},458:{T:-1},459:{T:1},460:{T:-1},461:{T:1},462:{T:-1},463:{T:1},464:{T:-1},465:{T:1},466:{T:-1},467:{T:1},468:{T:-1},469:{T:1},470:{T:-1},471:{},472:{},473:{T:1},474:{T:-1},475:{},476:{f:Jp},477:{},478:{}, +479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:ip},486:{T:1},487:{T:-1},488:{T:1},489:{T:-1},490:{T:1},491:{T:-1},492:{T:1},493:{T:-1},494:{f:$p},495:{T:1},496:{T:-1},497:{T:1},498:{T:-1},499:{},500:{T:1},501:{T:-1},502:{T:1},503:{T:-1},504:{},505:{T:1},506:{T:-1},507:{},508:{T:1},509:{T:-1},510:{T:1},511:{T:-1},512:{},513:{},514:{T:1},515:{T:-1},516:{T:1},517:{T:-1},518:{T:1},519:{T:-1},520:{T:1},521:{T:-1},522:{},523:{},524:{},525:{},526:{},527:{},528:{T:1},529:{T:-1},530:{T:1},531:{T:-1},532:{T:1},533:{T:-1},534:{},535:{},536:{},537:{},538:{T:1},539:{T:-1},540:{T:1},541:{T:-1},542:{T:1},548:{},549:{},550:{f:xn},551:{f:En},552:{},553:{},554:{T:1},555:{T:-1},556:{T:1},557:{T:-1},558:{T:1},559:{T:-1},560:{T:1},561:{T:-1},562:{},564:{},565:{T:1},566:{T:-1},569:{T:1},570:{T:-1},572:{},573:{T:1},574:{T:-1},577:{},578:{},579:{},580:{},581:{},582:{},583:{},584:{},585:{},586:{},587:{},588:{T:-1},589:{},590:{T:1},591:{T:-1},592:{T:1},593:{T:-1},594:{T:1},595:{T:-1},596:{},597:{T:1},598:{T:-1},599:{T:1},600:{T:-1},601:{T:1},602:{T:-1},603:{T:1},604:{T:-1},605:{T:1},606:{T:-1},607:{},608:{T:1},609:{T:-1},610:{},611:{T:1},612:{T:-1},613:{T:1},614:{T:-1},615:{T:1},616:{T:-1},617:{T:1},618:{T:-1},619:{T:1},620:{T:-1},625:{},626:{T:1},627:{T:-1},628:{T:1},629:{T:-1},630:{T:1},631:{T:-1},632:{f:Hu},633:{T:1},634:{T:-1},635:{T:1,f:Wu},636:{T:-1},637:{f:pn},638:{T:1},639:{},640:{T:-1},641:{T:1},642:{T:-1},643:{T:1},644:{},645:{T:-1},646:{T:1},648:{T:1},649:{},650:{T:-1},651:{f:Tm},652:{},653:{T:1},654:{T:-1},655:{T:1},656:{T:-1},657:{T:1},658:{T:-1},659:{},660:{T:1},661:{},662:{T:-1},663:{},664:{T:1},665:{},666:{T:-1},667:{},668:{},669:{},671:{T:1},672:{T:-1},673:{T:1},674:{T:-1},675:{},676:{},677:{},678:{},679:{},680:{},681:{},1024:{},1025:{},1026:{T:1},1027:{T:-1},1028:{T:1},1029:{T:-1},1030:{},1031:{T:1},1032:{T:-1},1033:{T:1},1034:{T:-1},1035:{},1036:{},1037:{},1038:{T:1},1039:{T:-1},1040:{},1041:{T:1},1042:{T:-1},1043:{},1044:{},1045:{},1046:{T:1},1047:{T:-1},1048:{T:1},1049:{T:-1},1050:{},1051:{T:1},1052:{T:1},1053:{f:nm},1054:{T:1},1055:{},1056:{T:1},1057:{T:-1},1058:{T:1},1059:{T:-1},1061:{},1062:{T:1},1063:{T:-1},1064:{T:1},1065:{T:-1},1066:{T:1},1067:{T:-1},1068:{T:1},1069:{T:-1},1070:{T:1},1071:{T:-1},1072:{T:1},1073:{T:-1},1075:{T:1},1076:{T:-1},1077:{T:1},1078:{T:-1},1079:{T:1},1080:{T:-1},1081:{T:1},1082:{T:-1},1083:{T:1},1084:{T:-1},1085:{},1086:{T:1},1087:{T:-1},1088:{T:1},1089:{T:-1},1090:{T:1},1091:{T:-1},1092:{T:1},1093:{T:-1},1094:{T:1},1095:{T:-1},1096:{},1097:{T:1},1098:{},1099:{T:-1},1100:{T:1},1101:{T:-1},1102:{},1103:{},1104:{},1105:{},1111:{},1112:{},1113:{T:1},1114:{T:-1},1115:{T:1},1116:{T:-1},1117:{},1118:{T:1},1119:{T:-1},1120:{T:1},1121:{T:-1},1122:{T:1},1123:{T:-1},1124:{T:1},1125:{T:-1},1126:{},1128:{T:1},1129:{T:-1},1130:{},1131:{T:1},1132:{T:-1},1133:{T:1},1134:{T:-1},1135:{T:1},1136:{T:-1},1137:{T:1},1138:{T:-1},1139:{T:1},1140:{T:-1},1141:{},1142:{T:1},1143:{T:-1},1144:{T:1},1145:{T:-1},1146:{},1147:{T:1},1148:{T:-1},1149:{T:1},1150:{T:-1},1152:{T:1},1153:{T:-1},1154:{T:-1},1155:{T:-1},1156:{T:-1},1157:{T:1},1158:{T:-1},1159:{T:1},1160:{T:-1},1161:{T:1},1162:{T:-1},1163:{T:1},1164:{T:-1},1165:{T:1},1166:{T:-1},1167:{T:1},1168:{T:-1},1169:{T:1},1170:{T:-1},1171:{},1172:{T:1},1173:{T:-1},1177:{},1178:{T:1},1180:{},1181:{},1182:{},2048:{T:1},2049:{T:-1},2050:{},2051:{T:1},2052:{T:-1},2053:{},2054:{},2055:{T:1},2056:{T:-1},2057:{T:1},2058:{T:-1},2060:{},2067:{},2068:{T:1},2069:{T:-1},2070:{},2071:{},2072:{T:1},2073:{T:-1},2075:{},2076:{},2077:{T:1},2078:{T:-1},2079:{},2080:{T:1},2081:{T:-1},2082:{},2083:{T:1},2084:{T:-1},2085:{T:1},2086:{T:-1},2087:{T:1},2088:{T:-1},2089:{T:1},2090:{T:-1},2091:{},2092:{},2093:{T:1},2094:{T:-1},2095:{},2096:{T:1},2097:{T:-1},2098:{T:1},2099:{T:-1},2100:{T:1},2101:{T:-1},2102:{},2103:{T:1},2104:{T:-1},2105:{},2106:{T:1},2107:{T:-1},2108:{},2109:{T:1},2110:{T:-1},2111:{T:1},2112:{T:-1},2113:{T:1},2114:{T:-1},2115:{},2116:{},2117:{},2118:{T:1},2119:{T:-1},2120:{},2121:{T:1},2122:{T:-1},2123:{T:1},2124:{T:-1},2125:{},2126:{T:1},2127:{T:-1},2128:{},2129:{T:1},2130:{T:-1},2131:{T:1},2132:{T:-1},2133:{T:1},2134:{},2135:{},2136:{},2137:{T:1},2138:{T:-1},2139:{T:1},2140:{T:-1},2141:{},3072:{},3073:{},4096:{T:1},4097:{T:-1},5002:{T:1},5003:{T:-1},5081:{T:1},5082:{T:-1},5083:{},5084:{T:1},5085:{T:-1},5086:{T:1},5087:{T:-1},5088:{},5089:{},5090:{},5092:{T:1},5093:{T:-1},5094:{},5095:{T:1},5096:{T:-1},5097:{},5099:{},65535:{n:""}};var Zb={6:{f:Vd},10:{f:vs},12:{f:ws},13:{f:ws},14:{f:bs},15:{f:bs},16:{f:Dn},17:{f:bs},18:{f:bs},19:{f:ws},20:{f:tl},21:{f:tl},23:{f:sl},24:{f:il},25:{f:bs},26:{},27:{},28:{f:dl},29:{},34:{f:bs},35:{f:nl},38:{f:Dn},39:{f:Dn},40:{f:Dn},41:{f:Dn},42:{f:bs},43:{f:bs},47:{f:Vo},49:{f:Sf},51:{f:ws},60:{},61:{f:kf},64:{f:bs},65:{f:_f},66:{f:ws},77:{},80:{},81:{},82:{},85:{f:ws},89:{},90:{},91:{},92:{f:lf},93:{f:bl},94:{},95:{f:bs},96:{},97:{},99:{f:bs},125:{f:Ol},128:{f:Zf},129:{f:cf},130:{f:ws},131:{f:bs},132:{f:bs},133:{f:uf},134:{},140:{f:Sl},141:{f:ws},144:{},146:{f:Cl},151:{},152:{},153:{},154:{},155:{},156:{f:ws},157:{},158:{},160:{f:Ll},161:{f:Nl},174:{},175:{},176:{},177:{},178:{},180:{},181:{},182:{},184:{},185:{},189:{f:Bf},190:{f:Wf},193:{f:vs},197:{},198:{},199:{},200:{},201:{},202:{f:bs},203:{},204:{},205:{},206:{},207:{},208:{},209:{},210:{},211:{},213:{},215:{},216:{},217:{},218:{f:ws},220:{},221:{f:bs},222:{},224:{f:Hf},225:{f:ff},226:{f:vs},227:{},229:{f:pl},233:{},235:{},236:{},237:{},239:{},240:{},241:{},242:{},244:{},245:{},246:{},247:{},248:{},249:{},251:{},252:{f:df},253:{f:Af},255:{f:pf},256:{},259:{},290:{},311:{},312:{},315:{},317:{f:Ts},318:{},319:{},320:{},330:{},331:{},333:{},334:{},335:{},336:{},337:{},338:{},339:{},340:{},351:{},352:{f:bs},353:{f:vs},401:{},402:{},403:{},404:{},405:{},406:{},407:{},408:{},425:{},426:{},427:{},428:{},429:{},430:{f:al},431:{f:bs},432:{},433:{},434:{},437:{},438:{f:kl},439:{f:bs},440:{f:Tl},441:{},442:{f:Cs},443:{},444:{f:ws},445:{},446:{},448:{f:vs},449:{f:gf,r:2},450:{f:vs},512:{f:Lf},513:{f:Pl},515:{f:el},516:{f:If},517:{f:qf},519:{f:Ml},520:{f:mf},523:{},545:{f:cl},549:{f:wf},566:{},574:{f:yf},638:{f:Uf},659:{},1048:{},1054:{f:Rf},1084:{},1212:{f:ol},2048:{f:El},2049:{},2050:{},2051:{},2052:{},2053:{},2054:{},2055:{},2056:{},2057:{f:nf},2058:{},2059:{},2060:{},2061:{},2062:{},2063:{},2064:{},2066:{},2067:{},2128:{},2129:{},2130:{},2131:{},2132:{},2133:{},2134:{},2135:{},2136:{},2137:{},2138:{},2146:{},2147:{r:12},2148:{},2149:{},2150:{},2151:{f:vs},2152:{},2154:{},2155:{},2156:{},2161:{},2162:{},2164:{},2165:{},2166:{},2167:{},2168:{},2169:{},2170:{},2171:{},2172:{f:Il,r:12},2173:{f:uu,r:12},2174:{},2175:{},2180:{},2181:{},2182:{},2183:{},2184:{},2185:{},2186:{},2187:{},2188:{f:bs,r:12},2189:{},2190:{r:12},2191:{},2192:{},2194:{},2195:{},2196:{f:ll,r:12},2197:{},2198:{f:iu,r:12},2199:{},2200:{},2201:{},2202:{f:ul,r:12},2203:{f:vs},2204:{},2205:{},2206:{},2207:{},2211:{f:bf},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:{f:ws},4135:{},4146:{},4147:{},4148:{},4149:{},4154:{},4156:{},4157:{},4158:{},4159:{},4160:{},4161:{},4163:{},4164:{f:Fl},4165:{},4166:{},4168:{},4170:{},4171:{},4174:{},4175:{},4176:{},4177:{},4187:{},4188:{f:Al},4189:{},4191:{},4192:{},4193:{},4194:{},4195:{},4196:{},4197:{},4198:{},4199:{},4200:{},0:{f:Lf},1:{},2:{f:Vl},3:{f:zl},4:{f:Wl},5:{f:Gl},7:{f:Xl},8:{},9:{f:nf},11:{},22:{f:ws},30:{f:Ff},31:{},32:{},33:{f:cl},36:{},37:{f:wf},50:{f:jl},62:{},52:{},67:{f:$f},68:{f:ws},69:{},86:{},126:{},127:{f:Ul},135:{},136:{},137:{},143:{f:Yl},145:{},148:{},149:{},150:{},169:{},171:{},188:{},191:{},192:{},194:{},195:{},214:{f:Kl},223:{},234:{},354:{},421:{},518:{f:Vd},521:{f:nf},536:{f:il},547:{f:nl},561:{},579:{f:Kf},1030:{f:Vd},1033:{f:nf},1091:{f:Yf},2157:{},2163:{},2177:{},2240:{},2241:{},2242:{},2243:{},2244:{},2245:{},2246:{},2247:{},2248:{},2249:{},2250:{},2251:{},2262:{r:12},101:{},102:{},105:{},106:{},107:{},109:{},112:{},114:{},29282:{}};function Jb(e,r,t,a){var n=r;if(isNaN(n))return;var i=a||(t||[]).length||0;var s=e.next(4);s._W(2,n);s._W(2,i);if(i>0&&va(t))e.push(t)}function qb(e,r,t,a){var n=a||(t||[]).length||0;if(n<=8224)return Jb(e,r,t,n);var i=r;if(isNaN(i))return;var s=t.parts||[],f=0;var l=0,o=0;while(o+(s[f]||8224)<=8224){o+=s[f]||8224;f++}var c=e.next(4);c._W(2,i);c._W(2,o);e.push(t.slice(l,l+o));l+=o;while(l=0&&l<65536)Jb(e,2,$l(t,a,l,f,s));else if(isNaN(l))Jb(e,5,Qb(t,a,36,"e"));else if(!isFinite(l))Jb(e,5,Qb(t,a,7,"e"));else Jb(e,3,Hl(t,a,l,f,s));return;case"b":;case"e":Jb(e,5,Qb(t,a,r.v,r.t));return;case"s":;case"str":Jb(e,4,eg(t,a,r.v==null?"":String(r.v).slice(0,255)));return;}Jb(e,1,Bl(null,t,a))}function ag(e,r,t,a,n){var i=r["!data"]!=null;var s=Qa(r["!ref"]||"A1"),f="",l=[];if(s.e.c>255||s.e.r>16383){if(a.WTF)throw new Error("Range "+(r["!ref"]||"A1")+" exceeds format limit A1:IV16384");s.e.c=Math.min(s.e.c,255);s.e.r=Math.min(s.e.c,16383)}var o=(((n||{}).Workbook||{}).WBProps||{}).date1904;var c=[],u=[];for(var h=s.s.c;h<=s.e.c;++h)l[h]=Va(h);for(var d=s.s.r;d<=s.e.r;++d){if(i)c=r["!data"][d]||[];f=Ba(d);for(h=s.s.c;h<=s.e.c;++h){var v=i?c[h]:r[l[h]+f];if(!v)continue;tg(e,v,d,h,a,o);if(v.c)u.push([v.c,d,h])}}rg(e,u)}function ng(e,r){var t=r||{};var a=Na();var n=0;for(var i=0;i255||d.e.r>=v){if(r.WTF)throw new Error("Range "+(i["!ref"]||"A1")+" exceeds format limit A1:IV16384");d.e.c=Math.min(d.e.c,255);d.e.r=Math.min(d.e.c,v-1)}Jb(a,2057,sf(t,16,r));Jb(a,13,ks(1));Jb(a,12,ks(100));Jb(a,15,gs(true));Jb(a,17,gs(false));Jb(a,16,Pn(.001));Jb(a,95,gs(true));Jb(a,42,gs(false));Jb(a,43,gs(false));Jb(a,130,ks(1));Jb(a,128,Jf([0,0]));Jb(a,131,gs(false));Jb(a,132,gs(false));if(o)vg(a,i["!cols"]);Jb(a,512,Mf(d,r));var p=(((t||{}).Workbook||{}).WBProps||{}).date1904;if(o)i["!links"]=[];for(var m=d.s.c;m<=d.e.c;++m)h[m]=Va(m);var b=[];var g=[];for(var w=d.s.r;w<=d.e.r;++w){if(l)g=i["!data"][w]||[];u=Ba(w);for(m=d.s.c;m<=d.e.c;++m){c=h[m]+u;var k=l?g[m]:i[c];if(!k)continue;pg(a,k,w,m,r,p);if(o&&k.l)i["!links"].push([c,k.l]);if(k.c)b.push([k.c,w,m])}}var T=f.CodeName||f.name||n;if(o)lg(a,b);else rg(a,b);if(o)Jb(a,574,Ef((s.Views||[])[0]));if(o&&(i["!merges"]||[]).length)Jb(a,229,ml(i["!merges"]));if(o)dg(a,i);Jb(a,442,Os(T,r));if(o)ug(a,i);Jb(a,10);return a.end()}function bg(e,r,t){var a=Na();var n=(e||{}).Workbook||{};var i=n.Sheets||[];var s=n.WBProps||{};var f=t.biff==8,l=t.biff==5;Jb(a,2057,sf(e,5,t));if(t.bookType=="xla")Jb(a,135);Jb(a,225,f?ks(1200):null);Jb(a,193,ps(2));if(l)Jb(a,191);if(l)Jb(a,192);Jb(a,226);Jb(a,92,of("SheetJS",t));Jb(a,66,ks(f?1200:1252));if(f)Jb(a,353,ks(0));if(f)Jb(a,448);Jb(a,317,Dl(e.SheetNames.length));if(f&&e.vbaraw)Jb(a,211);if(f&&e.vbaraw){var o=s.CodeName||"ThisWorkbook";Jb(a,442,Os(o,t))}Jb(a,156,ks(17));Jb(a,25,gs(false));Jb(a,18,gs(false));Jb(a,19,ks(0));if(f)Jb(a,431,gs(false));if(f)Jb(a,444,ks(0));Jb(a,61,Tf(t));Jb(a,64,gs(false));Jb(a,141,ks(0));Jb(a,34,gs(Om(e)=="true"));Jb(a,14,gs(true));if(f)Jb(a,439,gs(false));Jb(a,218,ks(0));og(a,e,t);cg(a,e.SSF,t);hg(a,t);if(f)Jb(a,352,gs(false));var c=a.end();var u=Na();if(f)Jb(u,140,xl());if(f&&sg.length)Jb(u,235,fg());if(f&&t.Strings)qb(u,252,vf(t.Strings,t));Jb(u,10);var h=u.end();var d=Na();var v=0,p=0;for(p=0;p255){if(typeof console!="undefined"&&console.error)console.error("Worksheet '"+e.SheetNames[t]+"' extends beyond column IV (255). Data may be lost.")}}var i=r||{};switch(i.biff||2){case 8:;case 5:return gg(e,r);case 4:;case 3:;case 2:return ng(e,r);}throw new Error("invalid type "+i.bookType+" for BIFF")}function kg(e,r){var t=r||{};var a=t.dense!=null?t.dense:g;var n={};if(a)n["!data"]=[];e=Mr(e,"");var i=e.match(/");var s=e.match(/<\/table/i);var f=i.index,l=s&&s.index||e.length;var o=Nr(e.slice(f,l),/(:?]*>)/i,"");var c=-1,u=0,h=0,d=0;var v={s:{r:1e7,c:1e7},e:{r:0,c:0}};var p=[];for(f=0;f/i);for(l=0;l"))>-1)T=T.slice(y+1);for(var E=0;E")));d=S.colspan?+S.colspan:1;if((h=+S.rowspan)>1||d>1)p.push({s:{r:c,c:u},e:{r:c+(h||1)-1,c:u+d-1}});var x=S.t||S["data-t"]||"";if(!T.length){u+=d;continue}T=Rt(T);if(v.s.r>c)v.s.r=c;if(v.e.ru)v.s.c=u;if(v.e.ct||n[u].s.c>l)continue;if(n[u].e.r1)s.rowspan=o;if(c>1)s.colspan=c;if(a.editable)v=''+v+"";else if(d){s["data-t"]=d&&d.t||"z";if(d.v!=null)s["data-v"]=kt(d.v instanceof Date?d.v.toISOString():d.v);if(d.z!=null)s["data-z"]=d.z;if(d.l&&(d.l.Target||"#").charAt(0)!="#")v=''+v+""}s.id=(a.id||"sjs")+"-"+h;i.push(Ut("td",v,s))}var p="";return p+i.join("")+""}var yg='SheetJS Table Export';var Eg="";function _g(e,r){var t=Vr(e,"table");if(!t||t.length==0)throw new Error("Invalid HTML: could not find
");if(t.length==1){var a=tn(kg(t[0],r),r);a.bookType="html";return a}var n=Vk();t.forEach(function(e,t){$k(n,kg(e,r),"Sheet"+(t+1))});n.bookType="html";return n}function Sg(e,r,t){var a=[];return a.join("")+""}function xg(e,r){var t=r||{};var a=t.header!=null?t.header:yg;var n=t.footer!=null?t.footer:Eg;var i=[a];var s=Ya(e["!ref"]||"A1");i.push(Sg(e,s,t));if(e["!ref"])for(var f=s.s.r;f<=s.e.r;++f)i.push(Tg(e,s,f,t));i.push("
"+n);return i.join("")}function Ag(e,r,t){var a=r.rows;if(!a){throw"Unsupported origin when "+r.tagName+" is not a TABLE"}var n=t||{};var i=e["!data"]!=null;var s=0,f=0;if(n.origin!=null){if(typeof n.origin=="number")s=n.origin;else{var l=typeof n.origin=="string"?ja(n.origin):n.origin;s=l.r;f=l.c}}var o=Math.min(n.sheetRows||1e7,a.length);var c={s:{r:0,c:0},e:{r:s,c:f}};if(e["!ref"]){var u=Ya(e["!ref"]);c.s.r=Math.min(c.s.r,u.s.r);c.s.c=Math.min(c.s.c,u.s.c);c.e.r=Math.max(c.e.r,u.e.r);c.e.c=Math.max(c.e.c,u.e.c);if(s==-1)c.e.r=s=u.e.r+1}var h=[],d=0;var v=e["!rows"]||(e["!rows"]=[]);var p=0,m=0,b=0,g=0,w=0,k=0;if(!e["!cols"])e["!cols"]=[];for(;p1||k>1)h.push({s:{r:m+s,c:g+f},e:{r:m+s+(w||1)-1,c:g+f+(k||1)-1}});var A={t:"s",v:_};var C=E.getAttribute("data-t")||E.getAttribute("t")||"";if(_!=null){if(_.length==0)A.t=C||"z";else if(n.raw||_.trim().length==0||C=="s"){}else if(_==="TRUE")A={t:"b",v:true};else if(_==="FALSE")A={t:"b",v:false};else if(!isNaN(Er(_)))A={t:"n",v:Er(_)};else if(!isNaN(Rr(_).getDate())){A={t:"d",v:wr(_)};if(n.UTC)A.v=Dr(A.v);if(!n.cellDates)A={t:"n",v:dr(A.v)};A.z=n.dateNF||q[14]}}if(A.z===undefined&&S!=null)A.z=S;var I="",O=E.getElementsByTagName("A");if(O&&O.length)for(var R=0;R=o)e["!fullref"]=Za((c.e.r=a.length-p+m-1+s,c));return e}function Cg(e,r){var t=r||{};var a={};if(t.dense)a["!data"]=[];return Ag(a,e,r)}function Ig(e,r){var t=tn(Cg(e,r),r);return t}function Og(e){var r="";var t=Rg(e);if(t)r=t(e).getPropertyValue("display");if(!r)r=e.style&&e.style.display;return r==="none"}function Rg(e){if(e.ownerDocument.defaultView&&typeof e.ownerDocument.defaultView.getComputedStyle==="function")return e.ownerDocument.defaultView.getComputedStyle;if(typeof getComputedStyle==="function")return getComputedStyle;return null}function Ng(e){var r=e.replace(/[\t\r\n]/g," ").trim().replace(/ +/g," ").replace(//g," ").replace(//g,function(e,r){return Array(parseInt(r,10)+1).join(" ")}).replace(/]*\/>/g,"\t").replace(//g,"\n");var t=vt(r.replace(/<[^<>]*>/g,""));return[t]}function Fg(e,r,t){var a=t||{};var n=zt(e);Ht.lastIndex=0;n=Pr(Mr(n,""));var i,s,f="",l="",o,c=0,u=-1,h=false,d="";while(i=Ht.exec(n)){switch(i[3]=i[3].replace(/_[\s\S]*$/,"")){case"number-style":;case"currency-style":;case"percentage-style":;case"date-style":;case"time-style":;case"text-style":if(i[1]==="/"){h=false;if(s["truncate-on-overflow"]=="false"){if(f.match(/h/))f=f.replace(/h+/,"[$&]");else if(f.match(/m/))f=f.replace(/m+/,"[$&]");else if(f.match(/s/))f=f.replace(/s+/,"[$&]")}a[s.name]=f;f=""}else if(i[0].charAt(i[0].length-2)!=="/"){h=true;f="";s=ct(i[0],false)}break;case"boolean-style":if(i[1]==="/"){h=false;a[s.name]="General";f=""}else if(i[0].charAt(i[0].length-2)!=="/"){h=true;f="";s=ct(i[0],false)}break;case"boolean":f+="General";break;case"text":if(i[1]==="/"){d=n.slice(u,Ht.lastIndex-i[0].length);if(d=="%"&&s[0]=="=0")f=a[o["apply-style-name"]]+";"+f;else console.error("ODS number format may be incorrect: "+o["condition"]);break;case"number":if(i[1]==="/")break;o=ct(i[0],false);l="";l+=yr("0",+o["min-integer-digits"]||1);if(_t(o["grouping"]))l=he(yr("#",Math.max(0,4-l.length))+l);if(+o["min-decimal-places"]||+o["decimal-places"])l+=".";if(+o["min-decimal-places"])l+=yr("0",+o["min-decimal-places"]||1);if(+o["decimal-places"]-(+o["min-decimal-places"]||0))l+=yr("0",+o["decimal-places"]-(+o["min-decimal-places"]||0));f+=l;break;case"embedded-text":if(i[1]==="/"){if(c==0)f+='"'+n.slice(u,Ht.lastIndex-i[0].length).replace(/"/g,'""')+'"';else f=f.slice(0,c)+'"'+n.slice(u,Ht.lastIndex-i[0].length).replace(/"/g,'""')+'"'+f.slice(c)}else if(i[0].charAt(i[0].length-2)!=="/"){u=Ht.lastIndex;c=-+ct(i[0],false)["position"]||0}break;}}return a}function Dg(e,r,t){var a=r||{};if(g!=null&&a.dense==null)a.dense=g;var n=zt(e);var i=[],s;var f;var l,o="",c=0;var u;var h;var d={},v=[];var p={};if(a.dense)p["!data"]=[];var m,b;var w={value:""};var k="",T=0,y,E="",_=0;var S=[],x=[];var A=-1,C=-1,I={s:{r:1e6,c:1e7},e:{r:0,c:0}};var O=0;var R=t||{},N={};var F=[],D={},P=0,L=0;var M=[],U=1,B=1;var W=[];var z={Names:[],WBProps:{}};var H={};var V=["",""];var $=[],X={};var G="",j=0;var K=false,Y=false;var Z=0;Ht.lastIndex=0;n=Pr(Mr(n,""));while(m=Ht.exec(n))switch(m[3]=m[3].replace(/_[\s\S]*$/,"")){case"table":;case"工作表":if(m[1]==="/"){if(I.e.c>=I.s.c&&I.e.r>=I.s.r)p["!ref"]=Za(I);else p["!ref"]="A1:A1";if(a.sheetRows>0&&a.sheetRows<=I.e.r){p["!fullref"]=p["!ref"];I.e.r=a.sheetRows-1;p["!ref"]=Za(I)}if(F.length)p["!merges"]=F;if(M.length)p["!rows"]=M;u.name=u["名称"]||u.name;if(typeof JSON!=="undefined")JSON.stringify(u);v.push(u.name);d[u.name]=p;Y=false}else if(m[0].charAt(m[0].length-2)!=="/"){u=ct(m[0],false);A=C=-1;I.s.r=I.s.c=1e7;I.e.r=I.e.c=0;p={};if(a.dense)p["!data"]=[];F=[];M=[];Y=true}break;case"table-row-group":if(m[1]==="/")--O;else++O;break;case"table-row":;case"行":if(m[1]==="/"){A+=U;U=1;break}h=ct(m[0],false);if(h["行号"])A=h["行号"]-1;else if(A==-1)A=0;U=+h["number-rows-repeated"]||1;if(U<10)for(Z=0;Z0)M[A+Z]={level:O};C=-1;break;case"covered-table-cell":if(m[1]!=="/")++C;if(a.sheetStubs){if(a.dense){if(!p["!data"][A])p["!data"][A]=[];p["!data"][A][C]={t:"z"}}else p[Ka({r:A,c:C})]={t:"z"}}k="";S=[];break;case"table-cell":;case"数据":if(m[0].charAt(m[0].length-2)==="/"){++C;w=ct(m[0],false);B=parseInt(w["number-columns-repeated"]||"1",10);b={t:"z",v:null};if(w.formula&&a.cellFormula!=false)b.f=uv(vt(w.formula));if(w["style-name"]&&N[w["style-name"]])b.z=N[w["style-name"]];if((w["数据类型"]||w["value-type"])=="string"){b.t="s";b.v=vt(w["string-value"]||""); +if(a.dense){if(!p["!data"][A])p["!data"][A]=[];p["!data"][A][C]=b}else{p[Va(C)+Ba(A)]=b}}C+=B-1}else if(m[1]!=="/"){++C;k=E="";T=_=0;S=[];x=[];B=1;var J=U?A+U-1:A;if(C>I.e.c)I.e.c=C;if(CI.e.r)I.e.r=J;w=ct(m[0],false);$=[];X={};b={t:w["数据类型"]||w["value-type"],v:null};if(w["style-name"]&&N[w["style-name"]])b.z=N[w["style-name"]];if(a.cellFormula){if(w.formula)w.formula=vt(w.formula);if(w["number-matrix-columns-spanned"]&&w["number-matrix-rows-spanned"]){P=parseInt(w["number-matrix-rows-spanned"],10)||0;L=parseInt(w["number-matrix-columns-spanned"],10)||0;D={s:{r:A,c:C},e:{r:A+P-1,c:C+L-1}};b.F=Za(D);W.push([D,b.F])}if(w.formula)b.f=uv(w.formula);else for(Z=0;Z=W[Z][0].s.r&&A<=W[Z][0].e.r)if(C>=W[Z][0].s.c&&C<=W[Z][0].e.c)b.F=W[Z][1]}if(w["number-columns-spanned"]||w["number-rows-spanned"]){P=parseInt(w["number-rows-spanned"],10)||0;L=parseInt(w["number-columns-spanned"],10)||0;D={s:{r:A,c:C},e:{r:A+P-1,c:C+L-1}};F.push(D)}if(w["number-columns-repeated"])B=parseInt(w["number-columns-repeated"],10);switch(b.t){case"boolean":b.t="b";b.v=_t(w["boolean-value"])||+w["boolean-value"]>=1;break;case"float":b.t="n";b.v=parseFloat(w.value);if(a.cellDates&&b.z&&Le(b.z)){b.v=vr(b.v+(z.WBProps.date1904?1462:0));b.t=typeof b.v=="number"?"n":"d"}break;case"percentage":b.t="n";b.v=parseFloat(w.value);break;case"currency":b.t="n";b.v=parseFloat(w.value);break;case"date":b.t="d";b.v=wr(w["date-value"],z.WBProps.date1904);if(!a.cellDates){b.t="n";b.v=dr(b.v,z.WBProps.date1904)}if(!b.z)b.z="m/d/yy";break;case"time":b.t="n";b.v=pr(w["time-value"])/86400;if(a.cellDates){b.v=vr(b.v);b.t=typeof b.v=="number"?"n":"d"}if(!b.z)b.z="HH:MM:SS";break;case"number":b.t="n";b.v=parseFloat(w["数据数值"]);break;default:if(b.t==="string"||b.t==="text"||!b.t){b.t="s";if(w["string-value"]!=null){k=vt(w["string-value"]);S=[]}}else throw new Error("Unsupported value type "+b.t);}}else{K=false;if(b.t==="s"){b.v=k||"";if(S.length)b.R=S;K=T==0}if(H.Target)b.l=H;if($.length>0){b.c=$;$=[]}if(k&&a.cellText!==false)b.w=k;if(K){b.t="z";delete b.v}if(!K||a.sheetStubs){if(!(a.sheetRows&&a.sheetRows<=A)){for(var q=0;q0)p["!data"][A+q][C+B]=Tr(b)}else{p[Ka({r:A+q,c:C})]=b;while(--B>0)p[Ka({r:A+q,c:C+B})]=Tr(b)}if(I.e.c<=C)I.e.c=C}}}B=parseInt(w["number-columns-repeated"]||"1",10);C+=B-1;B=0;b={};k="";S=[]}H={};break;case"document":;case"document-content":;case"电子表格文档":;case"spreadsheet":;case"主体":;case"scripts":;case"styles":;case"font-face-decls":;case"master-styles":if(m[1]==="/"){if((s=i.pop())[0]!==m[3])throw"Bad state: "+s}else if(m[0].charAt(m[0].length-2)!=="/")i.push([m[3],true]);break;case"annotation":if(m[1]==="/"){if((s=i.pop())[0]!==m[3])throw"Bad state: "+s;X.t=k;if(S.length)X.R=S;X.a=G;$.push(X);k=E;T=_;S=x}else if(m[0].charAt(m[0].length-2)!=="/"){i.push([m[3],false]);var Q=ct(m[0],true);if(!(Q["display"]&&_t(Q["display"])))$.hidden=true;E=k;_=T;x=S;k="";T=0;S=[]}G="";j=0;break;case"creator":if(m[1]==="/"){G=n.slice(j,m.index)}else j=m.index+m[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":;case"chart":if(m[1]==="/"){if((s=i.pop())[0]!==m[3])throw"Bad state: "+s}else if(m[0].charAt(m[0].length-2)!=="/")i.push([m[3],false]);k="";T=0;S=[];break;case"scientific-number":;case"currency-symbol":;case"fill-character":break;case"text-style":;case"boolean-style":;case"number-style":;case"currency-style":;case"percentage-style":;case"date-style":;case"time-style":if(m[1]==="/"){var ee=Ht.lastIndex;Fg(n.slice(l,Ht.lastIndex),r,R);Ht.lastIndex=ee}else if(m[0].charAt(m[0].length-2)!=="/"){l=Ht.lastIndex-m[0].length}break;case"script":break;case"libraries":break;case"automatic-styles":break;case"default-style":;case"page-layout":break;case"style":{var re=ct(m[0],false);if(re["family"]=="table-cell"&&R[re["data-style-name"]])N[re["name"]]=R[re["data-style-name"]]}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":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":break;case"boolean":break;case"text":if(m[0].slice(-2)==="/>")break;else if(m[1]==="/")switch(i[i.length-1][0]){case"number-style":;case"date-style":;case"time-style":o+=n.slice(c,m.index);break;}else c=m.index+m[0].length;break;case"named-range":f=ct(m[0],false);V=dv(f["cell-range-address"]);var te={Name:f.name,Ref:V[0]+"!"+V[1]};if(Y)te.Sheet=v.length;z.Names.push(te);break;case"text-content":break;case"text-properties":break;case"embedded-text":break;case"body":;case"电子表格":break;case"forms":break;case"table-column":break;case"table-header-rows":break;case"table-rows":break;case"table-column-group":break;case"table-header-columns":break;case"table-columns":break;case"null-date":f=ct(m[0],false);switch(f["date-value"]){case"1904-01-01":z.WBProps.date1904=true;break;}break;case"graphic-properties":break;case"calculation-settings":break;case"named-expressions":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(["master-styles"].indexOf(i[i.length-1][0])>-1)break;if(m[1]==="/"&&(!w||!w["string-value"])){var ae=Ng(n.slice(T,m.index),y);k=(k.length>0?k+"\n":"")+ae[0]}else if(m[0].slice(-2)=="/>"){k+="\n"}else{y=ct(m[0],false);T=m.index+m[0].length}break;case"s":break;case"database-range":if(m[1]==="/")break;try{V=dv(ct(m[0])["target-range-address"]);d[V[0]]["!autofilter"]={ref:V[1]}}catch(ne){}break;case"date":break;case"object":break;case"title":;case"标题":break;case"desc":break;case"binary-data":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"filter-set-item":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"print-date":;case"generator":;case"document-statistic":;case"user-defined":;case"editing-duration":;case"editing-cycles":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":if(m[1]!=="/"){H=ct(m[0],false);if(!H.href)break;H.Target=vt(H.href);delete H.href;if(H.Target.charAt(0)=="#"&&H.Target.indexOf(".")>-1){V=dv(H.Target.slice(1));H.Target="#"+V[0]+"!"+V[1]}else if(H.Target.match(/^\.\.[\\\/]/))H.Target=H.Target.slice(3)}break;case"table-protection":break;case"data-pilot-grand-total":break;case"office-document-common-attrs":break;default:switch(m[2]){case"dc:":;case"calcext:":;case"loext:":;case"ooo:":;case"chartooo:":;case"draw:":;case"style:":;case"chart:":;case"form:":;case"uof:":;case"表:":;case"字:":break;default:if(a.WTF)throw new Error(m);};}var ie={Sheets:d,SheetNames:v,Workbook:z};if(a.bookSheets)delete ie.Sheets;return ie}function Pg(e,r){r=r||{};if(jr(e,"META-INF/manifest.xml"))Ei(Yr(e,"META-INF/manifest.xml"),r);var t=Zr(e,"styles.xml");var a=t&&Fg(It(t),r);var n=Zr(e,"content.xml");if(!n)throw new Error("Missing content.xml in ODS / UOF file");var i=Dg(It(n),r,a);if(jr(e,"meta.xml"))i.Props=Oi(Yr(e,"meta.xml"));i.bookType="ods";return i}function Lg(e,r){var t=Dg(e,r);t.bookType="fods";return t}var Mg=function(){var e=["",'',"",'',"",'',"",""].join("");var r=""+e+"";return function t(){return at+r}}();function Ug(e,r){var t="number",a="",n={"style:name":r},i="",s=0;e=e.replace(/"[$]"/g,"$");e:{if(e.indexOf(";")>-1){console.error("Unsupported ODS Style Map exported. Using first branch of "+e);e=e.slice(0,e.indexOf(";"))}if(e=="@"){t="text";a="";break e}if(e.indexOf(/\$/)>-1){t="currency"}if(e[s]=='"'){i="";while(e[++s]!='"'||e[++s]=='"')i+=e[s];--s;if(e[s+1]=="*"){s++;a+=""+bt(i.replace(/""/g,'"'))+""}else{a+=""+bt(i.replace(/""/g,'"'))+""}e=e.slice(s+1);s=0}var f=e.match(/# (\?+)\/(\?+)/);if(f){a+=Ut("number:fraction",null,{"number:min-integer-digits":0,"number:min-numerator-digits":f[1].length,"number:max-denominator-value":Math.max(+f[1].replace(/./g,"9"),+f[2].replace(/./g,"9"))});break e}if(f=e.match(/# (\?+)\/(\d+)/)){a+=Ut("number:fraction",null,{"number:min-integer-digits":0,"number:min-numerator-digits":f[1].length,"number:denominator-value":+f[2]});break e}if(f=e.match(/\b(\d+)(|\.\d+)%/)){t="percentage";a+=Ut("number:number",null,{"number:decimal-places":f[2]&&f.length-1||0,"number:min-decimal-places":f[2]&&f.length-1||0,"number:min-integer-digits":f[1].length})+"%";break e}var l=false;if(["y","m","d"].indexOf(e[0])>-1){t="date";r:for(;s";break;case"yyy":;case"yyyy":a+='';break;case"mmmmm":console.error("ODS has no equivalent of format |mmmmm|");case"m":;case"mm":;case"mmm":;case"mmmm":a+='';break;case"d":;case"dd":a+='';break;case"ddd":;case"dddd":a+='';break;}break;case'"':while(e[++s]!='"'||e[++s]=='"')i+=e[s];--s;a+=""+bt(i.slice(1).replace(/""/g,'"'))+"";break;case"\\":i=e[++s];a+=""+bt(i)+"";break;case"/":;case":":a+=""+bt(i)+"";break;default:console.error("unrecognized character "+i+" in ODF format "+e);}if(!l)break e;e=e.slice(s+1);s=0}if(e.match(/^\[?[hms]/)){if(t=="number")t="time";if(e.match(/\[/)){e=e.replace(/[\[\]]/g,"");n["number:truncate-on-overflow"]="false"}for(;s';break;case"m":;case"mm":a+='';break;case"s":;case"ss":if(e[s+1]==".")do{i+=e[s+1];++s}while(e[s+1]=="0");a+='";break;}break;case'"':while(e[++s]!='"'||e[++s]=='"')i+=e[s];--s;a+=""+bt(i.slice(1).replace(/""/g,'"'))+"";break;case"/":;case":":a+=""+bt(i)+"";break;case"a":if(e.slice(s,s+3).toLowerCase()=="a/p"){a+="";s+=2;break}if(e.slice(s,s+5).toLowerCase()=="am/pm"){a+="";s+=4;break};default:console.error("unrecognized character "+i+" in ODF format "+e);}break e}if(e.indexOf(/\$/)>-1){t="currency"}if(e[0]=="$"){a+='$';e=e.slice(1);s=0}s=0;if(e[s]=='"'){while(e[++s]!='"'||e[++s]=='"')i+=e[s];--s;if(e[s+1]=="*"){s++;a+=""+bt(i.replace(/""/g,'"'))+""}else{a+=""+bt(i.replace(/""/g,'"'))+""}e=e.slice(s+1);s=0}var c=e.match(/([#0][0#,]*)(\.[0#]*|)(E[+]?0*|)/i);if(!c||!c[0])console.error("Could not find numeric part of "+e);else{var u=c[1].replace(/,/g,"");a+="-1?' number:grouping="true"':"")+(c[2]&&' number:decimal-places="'+(c[2].length-1)+'"'||' number:decimal-places="0"')+(c[3]&&c[3].indexOf("+")>-1?' number:forced-exponent-sign="true"':"")+(c[3]?' number:min-exponent-digits="'+c[3].match(/0+/)[0].length+'"':"")+">"+"";s=c.index+c[0].length}if(e[s]=='"'){i="";while(e[++s]!='"'||e[++s]=='"')i+=e[s];--s;a+=""+bt(i.replace(/""/g,'"'))+""}}if(!a){console.error("Could not generate ODS number format for |"+e+"|");return""}return Ut("number:"+t+"-style",a,n)}function Bg(e,r,t){var a=[];for(var n=0;n\n"+a.map(function(e){var r=(t==-1?"$":"")+vv(e.Ref);return" "+Ut("table:named-range",null,{"table:name":e.Name,"table:cell-range-address":r,"table:base-cell-address":r.replace(/[\.][^\.]*$/,".$A$1")})}).join("\n")+"\n \n"}var Wg=function(){var e=function(e,r){return bt(e).replace(/ +/g,function(e){return''}).replace(/\t/g,"").replace(/\n/g,r?"":"").replace(/^ /,"").replace(/ $/,"")};var r=" \n";var t=function(t,a,n,i,s,f){var l=[];l.push(' \n');var o=0,c=0,u=Ya(t["!ref"]||"A1");var h=t["!merges"]||[],d=0;var v=t["!data"]!=null;if(t["!cols"]){for(c=0;c<=u.e.c;++c)l.push(" \n")}var p="",m=t["!rows"]||[];for(o=0;o\n")}for(;o<=u.e.r;++o){p=m[o]?' table:style-name="ro'+m[o].ods+'"':"";l.push(" \n");for(c=0;cc)continue;if(h[d].s.r>o)continue;if(h[d].e.c\n");continue}var k=Ka({r:o,c:c}),T=v?(t["!data"][o]||[])[c]:t[k];if(T&&T.f){g["table:formula"]=bt(hv(T.f));if(T.F){if(T.F.slice(0,k.length)==k){var y=Ya(T.F);g["table:number-matrix-columns-spanned"]=y.e.c-y.s.c+1;g["table:number-matrix-rows-spanned"]=y.e.r-y.s.r+1}}}if(!T){l.push(r);continue}switch(T.t){case"b":w=T.v?"TRUE":"FALSE";g["office:value-type"]="boolean";g["office:boolean-value"]=T.v?"true":"false";break;case"n":w=T.w||String(T.v||0);g["office:value-type"]="float";g["office:value"]=T.v||0;break;case"s":;case"str":w=T.v==null?"":T.v;g["office:value-type"]="string";break;case"d":w=T.w||wr(T.v,f).toISOString();g["office:value-type"]="date";g["office:date-value"]=wr(T.v,f).toISOString();g["table:style-name"]="ce1";break;default:l.push(r);continue;}var E=e(w);if(T.l&&T.l.Target){var _=T.l.Target;_=_.charAt(0)=="#"?"#"+vv(_.slice(1)):_;if(_.charAt(0)!="#"&&!_.match(/^\w+:/))_="../"+_;E=Ut("text:a",E,{"xlink:href":_.replace(/&/g,"&")})}if(s[T.z])g["table:style-name"]="ce"+s[T.z].slice(1);var S=Ut("text:p",E,{});if(T.c){var x="",A="",C={};for(var I=0;I"+e(T.c[I].t)+""}if(!T.c.hidden)C["office:display"]=true;S=Ut("office:annotation",A,C)+S}l.push(" "+Ut("table:table-cell",S,g)+"\n")}l.push(" \n")}if((a.Workbook||{}).Names)l.push(Bg(a.Workbook.Names,a.SheetNames,n));l.push(" \n");return l.join("")};var a=function(e,r){e.push(" \n");var t=0;r.SheetNames.map(function(e){return r.Sheets[e]}).forEach(function(r){if(!r)return;if(r["!cols"]){for(var a=0;a\n');e.push(' \n');e.push(" \n");++t}}});var a=0;r.SheetNames.map(function(e){return r.Sheets[e]}).forEach(function(r){if(!r)return;if(r["!rows"]){for(var t=0;t\n');e.push(' \n');e.push(" \n");++a}}});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");var n={};var i=69;r.SheetNames.map(function(e){return r.Sheets[e]}).forEach(function(r){if(!r)return;var t=r["!data"]!=null;if(!r["!ref"])return;var a=Ya(r["!ref"]);for(var s=0;s<=a.e.r;++s)for(var f=0;f<=a.e.c;++f){var l=t?(r["!data"][s]||[])[f]:r[Ka({r:s,c:f})];if(!l||!l.z||l.z.toLowerCase()=="general")continue;if(!n[l.z]){var o=Ug(l.z,"N"+i);if(o){n[l.z]="N"+i;++i;e.push(o+"\n")}}}});e.push(' \n');ir(n).forEach(function(r){e.push('\n')});e.push(" \n");return n};return function n(e,r){var n=[at];var i=Mt({"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=Mt({"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");n.push(Ci().replace(/]*?>/,"").replace(/<\/office:document-meta>/,"")+"\n")}else n.push("\n");var f=a(n,e);n.push(" \n");n.push(" \n");if(((e.Workbook||{}).WBProps||{}).date1904)n.push(' \n \n \n');for(var l=0;l!=e.SheetNames.length;++l)n.push(t(e.Sheets[e.SheetNames[l]],e,l,r,f,((e.Workbook||{}).WBProps||{}).date1904));if((e.Workbook||{}).Names)n.push(Bg(e.Workbook.Names,e.SheetNames,-1));n.push(" \n");n.push(" \n");if(r.bookType=="fods")n.push("");else n.push("");return n.join("")}}();function zg(e,r){if(r.bookType=="fods")return Wg(e,r);var t=et();var a="";var n=[];var i=[];a="mimetype";Qr(t,a,"application/vnd.oasis.opendocument.spreadsheet");a="content.xml";Qr(t,a,Wg(e,r));n.push([a,"text/xml"]);i.push([a,"ContentFile"]);a="styles.xml";Qr(t,a,Mg(e,r));n.push([a,"text/xml"]);i.push([a,"StylesFile"]);a="meta.xml";Qr(t,a,at+Ci());n.push([a,"text/xml"]);i.push([a,"MetadataFile"]);a="manifest.rdf";Qr(t,a,Ai(i));n.push([a,"application/rdf+xml"]);a="META-INF/manifest.xml";Qr(t,a,_i(n));return t}var Hg=function(){try{if(typeof Uint8Array=="undefined")return"slice";if(typeof Uint8Array.prototype.subarray=="undefined")return"slice";if(typeof Buffer!=="undefined"){if(typeof Buffer.prototype.subarray=="undefined")return"slice";if((typeof Buffer.from=="function"?Buffer.from([72,62]):new Buffer([72,62]))instanceof Uint8Array)return"subarray";return"slice"}return"subarray"}catch(e){return"slice"}}();function Vg(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function $g(e){return typeof TextDecoder!="undefined"?(new TextDecoder).decode(e):It(N(e))}function Xg(e){return typeof TextEncoder!="undefined"?(new TextEncoder).encode(e):O(Ot(e))}function Gg(e){var r=0;for(var t=0;t>1&1431655765;e=(e&858993459)+(e>>2&858993459);return(e+(e>>4)&252645135)*16843009>>>24}function Kg(e,r){var t=(e[r+15]&127)<<7|e[r+14]>>1;var a=e[r+14]&1;for(var n=r+13;n>=r;--n)a=a*256+e[n];return(e[r+15]&128?-a:a)*Math.pow(10,t-6176)}function Yg(e,r,t){var a=Math.floor(t==0?0:Math.LOG10E*Math.log(Math.abs(t)))+6176-16;var n=t/Math.pow(10,a-6176);e[r+15]|=a>>7;e[r+14]|=(a&127)<<1;for(var i=0;n>=1;++i,n/=256)e[r+i]=n&255;e[r+15]|=t>=0?0:128}function Zg(e,r){var t=r.l;var a=e[t]&127;e:if(e[t++]>=128){a|=(e[t]&127)<<7;if(e[t++]<128)break e;a|=(e[t]&127)<<14;if(e[t++]<128)break e;a|=(e[t]&127)<<21;if(e[t++]<128)break e;a+=(e[t]&127)*Math.pow(2,28);++t;if(e[t++]<128)break e;a+=(e[t]&127)*Math.pow(2,35);++t;if(e[t++]<128)break e;a+=(e[t]&127)*Math.pow(2,42);++t;if(e[t++]<128)break e}r.l=t;return a}function Jg(e){var r=new Uint8Array(7);r[0]=e&127;var t=1;e:if(e>127){r[t-1]|=128;r[t]=e>>7&127;++t;if(e<=16383)break e;r[t-1]|=128;r[t]=e>>14&127;++t;if(e<=2097151)break e;r[t-1]|=128;r[t]=e>>21&127;++t;if(e<=268435455)break e;r[t-1]|=128;r[t]=e/256>>>21&127;++t;if(e<=34359738367)break e;r[t-1]|=128;r[t]=e/65536>>>21&127;++t;if(e<=4398046511103)break e;r[t-1]|=128;r[t]=e/16777216>>>21&127;++t}return r[Hg](0,t)}function qg(e){var r={l:0};var t=[];while(r.l=128){t|=(e[r]&127)<<7;if(e[r++]<128)break e;t|=(e[r]&127)<<14;if(e[r++]<128)break e;t|=(e[r]&127)<<21;if(e[r++]<128)break e;t|=(e[r]&127)<<28;a=e[r]>>4&7;if(e[r++]<128)break e;a|=(e[r]&127)<<3;if(e[r++]<128)break e;a|=(e[r]&127)<<10;if(e[r++]<128)break e;a|=(e[r]&127)<<17;if(e[r++]<128)break e;a|=(e[r]&127)<<24;if(e[r++]<128)break e;a|=(e[r]&127)<<31}return[t>>>0,a>>>0]}function tw(e){var r=[],t={l:0};while(t.l=128);s=e[Hg](t.l,f);t.l=f}break;case 1:{s=e[Hg](f,f+8);t.l=f+8}break;case 2:{var l=Zg(e,t);s=e[Hg](t.l,t.l+l);t.l+=l}break;case 5:{s=e[Hg](f,f+4);t.l=f+4}break;default:throw new Error("PB Type ".concat(i," for Field ").concat(n," at offset ").concat(a));}var o={data:s,type:i};if(r[n]==null)r[n]=[];r[n].push(o)}return r}function aw(e){var r=[];e.forEach(function(e,t){if(t==0)return;e.forEach(function(e){if(!e.data)return;r.push(Jg(t*8+e.type));if(e.type==2)r.push(Jg(e.data.length));r.push(e.data)})});return Gg(r)}function nw(e,r){return(e==null?void 0:e.map(function(e){return r(e.data)}))||[]}function iw(e){var r;var t=[],a={l:0};while(a.l>>0>0;t.push(s)}return t}function sw(e){var r=[];e.forEach(function(e){var t=[[],[{data:Jg(e.id),type:0}],[]];if(e.merge!=null)t[3]=[{data:Jg(+!!e.merge),type:0}];var a=[];e.messages.forEach(function(e){a.push(e.data);e.meta[3]=[{type:0,data:Jg(e.data.length)}];t[2].push({data:aw(e.meta),type:2})});var n=aw(t);r.push(Jg(n.length));r.push(n);a.forEach(function(e){return r.push(e)})});return Gg(r)}function fw(e,r){if(e!=0)throw new Error("Unexpected Snappy chunk type ".concat(e));var t={l:0};var a=Zg(r,t);var n=[];var i=t.l;while(i>2;if(f<60)++f;else{var l=f-59;f=r[i];if(l>1)f|=r[i+1]<<8;if(l>2)f|=r[i+2]<<16;if(l>3)f|=r[i+3]<<24;f>>>=0;f++;i+=l}n.push(r[Hg](i,i+f));i+=f;continue}else{var o=0,c=0;if(s==1){c=(r[i]>>2&7)+4;o=(r[i++]&224)<<3;o|=r[i++]}else{c=(r[i++]>>2)+1;if(s==2){o=r[i]|r[i+1]<<8;i+=2}else{o=(r[i]|r[i+1]<<8|r[i+2]<<16|r[i+3]<<24)>>>0;i+=4}}if(o==0)throw new Error("Invalid offset 0");var u=n.length-1,h=o;while(u>=0&&h>=n[u].length){h-=n[u].length;--u}if(u<0){if(h==0)h=n[u=0].length;else throw new Error("Invalid offset beyond length")}if(c0){n.push(n[u][Hg](n[u].length-h));c-=h}++u;while(c>=n[u].length){n.push(n[u]);c-=n[u].length;++u}if(c)n.push(n[u][Hg](0,c))}if(n.length>25)n=[Gg(n)]}}var d=0;for(var v=0;v>8&255]))}else if(a<=16777216){s+=4;r.push(new Uint8Array([248,a-1&255,a-1>>8&255,a-1>>16&255]))}else if(a<=4294967296){s+=5;r.push(new Uint8Array([252,a-1&255,a-1>>8&255,a-1>>16&255,a-1>>>24&255]))}r.push(e[Hg](t,t+a));s+=a;n[0]=0;n[1]=s&255;n[2]=s>>8&255;n[3]=s>>16&255;t+=a}return Gg(r)}var cw=function(){return{sst:[],rsst:[],ofmt:[],nfmt:[],fmla:[],ferr:[],cmnt:[]}};function uw(e,r,t,a,n){var i,s,f,l;var o=r&255,c=r>>8;var u=c>=5?n:a;e:if(t&(c>4?8:4)&&e.t=="n"&&o==7){var h=((i=u[7])==null?void 0:i[0])?ew(u[7][0].data):-1;if(h==-1)break e;var d=((s=u[15])==null?void 0:s[0])?ew(u[15][0].data):-1;var v=((f=u[16])==null?void 0:f[0])?ew(u[16][0].data):-1;var p=((l=u[40])==null?void 0:l[0])?ew(u[40][0].data):-1;var m=e.v,b=m;r:if(p){if(m==0){d=v=2;break r}if(m>=604800)d=1;else if(m>=86400)d=2;else if(m>=3600)d=4;else if(m>=60)d=8;else if(m>=1)d=16;else d=32;if(Math.floor(m)!=m)v=32;else if(m%60)v=16;else if(m%3600)v=8;else if(m%86400)v=4;else if(m%604800)v=2;if(v=2){b=m/86400;if(v>2){b|=0;m-=86400*b}w.push('d"d"');g.push(b+(h==2?" day"+(b==1?"":"s"):h==1?"d":""))}if(d<=4&&v>=4){b=m/3600;if(v>4){b|=0;m-=3600*b}w.push((d>=4?"[h]":"h")+'"h"');g.push(b+(h==2?" hour"+(b==1?"":"s"):h==1?"h":""))}if(d<=8&&v>=8){b=m/60;if(v>8){ +b|=0;m-=60*b}w.push((d>=8?"[m]":"m")+'"m"');if(h==0)g.push((d==8&&v==8||b>=10?"":"0")+b);else g.push(b+(h==2?" minute"+(b==1?"":"s"):h==1?"m":""))}if(d<=16&&v>=16){b=m;if(v>16){b|=0;m-=b}w.push((d>=16?"[s]":"s")+'"s"');if(h==0)g.push((v==16&&d==16||b>=10?"":"0")+b);else g.push(b+(h==2?" second"+(b==1?"":"s"):h==1?"s":""))}if(v>=32){b=Math.round(1e3*m);if(d<32)w.push('.000"ms"');if(h==0)g.push((b>=100?"":b>=10?"0":"00")+b);else g.push(b+(h==2?" millisecond"+(b==1?"":"s"):h==1?"ms":""))}e.w=g.join(h==0?":":" ");e.z=w.join(h==0?'":"':" ");if(h==0)e.w=e.w.replace(/:(\d\d\d)$/,".$1")}}function hw(e,r,t,a){var n=Vg(e);var i=n.getUint32(4,true);var s=-1,f=-1,l=-1,o=NaN,c=0,u=new Date(Date.UTC(2001,0,1));var h=t>1?12:8;if(i&2){l=n.getUint32(h,true);h+=4}h+=jg(i&(t>1?3468:396))*4;if(i&512){s=n.getUint32(h,true);h+=4}h+=jg(i&(t>1?12288:4096))*4;if(i&16){f=n.getUint32(h,true);h+=4}if(i&32){o=n.getFloat64(h,true);h+=8}if(i&64){u.setTime(u.getTime()+(c=n.getFloat64(h,true))*1e3);h+=8}if(t>1){i=n.getUint32(8,true)>>>16;if(i&255){if(l==-1)l=n.getUint32(h,true);h+=4}}var d;var v=e[t>=4?1:2];switch(v){case 0:return void 0;case 2:d={t:"n",v:o};break;case 3:d={t:"s",v:r.sst[f]};break;case 5:{if(a==null?void 0:a.cellDates)d={t:"d",v:u};else d={t:"n",v:c/86400+35430,z:q[14]}}break;case 6:d={t:"b",v:o>0};break;case 7:d={t:"n",v:o};break;case 8:d={t:"e",v:0};break;case 9:{if(s>-1){var p=r.rsst[s];d={t:"s",v:p.v};if(p.l)d.l={Target:p.l}}else throw new Error("Unsupported cell type ".concat(e[Hg](0,4)))}break;default:throw new Error("Unsupported cell type ".concat(e[Hg](0,4)));}if(l>-1)uw(d,v|t<<8,i,r.ofmt[l],r.nfmt[l]);if(v==7)d.v/=86400;return d}function dw(e,r,t){var a=Vg(e);var n=a.getUint32(4,true);var i=a.getUint32(8,true);var s=12;var f=-1,l=-1,o=-1,c=NaN,u=NaN,h=0,d=new Date(Date.UTC(2001,0,1)),v=-1,p=-1;if(i&1){c=Kg(e,s);s+=16}if(i&2){u=a.getFloat64(s,true);s+=8}if(i&4){d.setTime(d.getTime()+(h=a.getFloat64(s,true))*1e3);s+=8}if(i&8){l=a.getUint32(s,true);s+=4}if(i&16){f=a.getUint32(s,true);s+=4}s+=jg(i&480)*4;if(i&512){p=a.getUint32(s,true);s+=4}s+=jg(i&1024)*4;if(i&2048){v=a.getUint32(s,true);s+=4}var m;var b=e[1];switch(b){case 0:m={t:"z"};break;case 2:m={t:"n",v:c};break;case 3:m={t:"s",v:r.sst[l]};break;case 5:{if(t==null?void 0:t.cellDates)m={t:"d",v:d};else m={t:"n",v:h/86400+35430,z:q[14]}}break;case 6:m={t:"b",v:u>0};break;case 7:m={t:"n",v:u};break;case 8:m={t:"e",v:0};break;case 9:{if(f>-1){var g=r.rsst[f];m={t:"s",v:g.v};if(g.l)m.l={Target:g.l}}else throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(i&31," : ").concat(e[Hg](0,4)))}break;case 10:m={t:"n",v:c};break;default:throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(i&31," : ").concat(e[Hg](0,4)));}s+=jg(i&4096)*4;if(i&516096){if(o==-1)o=a.getUint32(s,true);s+=4}if(i&524288){var w=a.getUint32(s,true);s+=4;if(r.cmnt[w])m.c=Sw(r.cmnt[w])}if(o>-1)uw(m,b|5<<8,i>>13,r.ofmt[o],r.nfmt[o]);if(b==7)m.v/=86400;return m}function vw(e,r){var t=new Uint8Array(32),a=Vg(t),n=12,i=0;t[0]=5;switch(e.t){case"n":if(e.z&&Le(e.z)){t[1]=5;a.setFloat64(n,(vr(e.v+1462).getTime()-Date.UTC(2001,0,1))/1e3,true);i|=4;n+=8;break}else{t[1]=2;Yg(t,n,e.v);i|=1;n+=16}break;case"b":t[1]=6;a.setFloat64(n,e.v?1:0,true);i|=2;n+=8;break;case"s":{var s=e.v==null?"":String(e.v);if(e.l){var f=r.rsst.findIndex(function(r){var t;return r.v==s&&r.l==((t=e.l)==null?void 0:t.Target)});if(f==-1)r.rsst[f=r.rsst.length]={v:s,l:e.l.Target};t[1]=9;a.setUint32(n,f,true);i|=16;n+=4}else{var l=r.sst.indexOf(s);if(l==-1)r.sst[l=r.sst.length]=s;t[1]=3;a.setUint32(n,l,true);i|=8;n+=4}}break;case"d":t[1]=5;a.setFloat64(n,(e.v.getTime()-Date.UTC(2001,0,1))/1e3,true);i|=4;n+=8;break;case"z":t[1]=0;break;default:throw"unsupported cell type "+e.t;}if(e.c){r.cmnt.push(xw(e.c));a.setUint32(n,r.cmnt.length-1,true);i|=524288;n+=4}a.setUint32(8,i,true);return t[Hg](0,n)}function pw(e,r){var t=new Uint8Array(32),a=Vg(t),n=12,i=0,s="";t[0]=4;switch(e.t){case"n":break;case"b":break;case"s":{s=e.v==null?"":String(e.v);if(e.l){var f=r.rsst.findIndex(function(r){var t;return r.v==s&&r.l==((t=e.l)==null?void 0:t.Target)});if(f==-1)r.rsst[f=r.rsst.length]={v:s,l:e.l.Target};t[1]=9;a.setUint32(n,f,true);i|=512;n+=4}else{}}break;case"d":break;case"e":break;case"z":break;default:throw"unsupported cell type "+e.t;}if(e.c){a.setUint32(n,r.cmnt.length-1,true);i|=4096;n+=4}switch(e.t){case"n":t[1]=2;a.setFloat64(n,e.v,true);i|=32;n+=8;break;case"b":t[1]=6;a.setFloat64(n,e.v?1:0,true);i|=32;n+=8;break;case"s":{s=e.v==null?"":String(e.v);if(e.l){}else{var l=r.sst.indexOf(s);if(l==-1)r.sst[l=r.sst.length]=s;t[1]=3;a.setUint32(n,l,true);i|=16;n+=4}}break;case"d":t[1]=5;a.setFloat64(n,(e.v.getTime()-Date.UTC(2001,0,1))/1e3,true);i|=64;n+=8;break;case"z":t[1]=0;break;default:throw"unsupported cell type "+e.t;}a.setUint32(8,i,true);return t[Hg](0,n)}function mw(e,r,t){switch(e[0]){case 0:;case 1:;case 2:;case 3:;case 4:return hw(e,r,e[0],t);case 5:return dw(e,r,t);default:throw new Error("Unsupported payload version ".concat(e[0]));}}function bw(e){var r=tw(e);return ew(r[1][0].data)}function gw(e){return aw([[],[{type:0,data:Jg(e)}]])}function ww(e,r){var t;var a=((t=e.messages[0].meta[5])==null?void 0:t[0])?qg(e.messages[0].meta[5][0].data):[];var n=a.indexOf(r);if(n==-1){a.push(r);e.messages[0].meta[5]=[{type:2,data:Qg(a)}]}}function kw(e,r){var t;var a=((t=e.messages[0].meta[5])==null?void 0:t[0])?qg(e.messages[0].meta[5][0].data):[];e.messages[0].meta[5]=[{type:2,data:Qg(a.filter(function(e){return e!=r}))}]}function Tw(e,r){var t=tw(r.data);var a=ew(t[1][0].data);var n=t[3];var i=[];(n||[]).forEach(function(r){var t,n;var s=tw(r.data);if(!s[1])return;var f=ew(s[1][0].data)>>>0;switch(a){case 1:i[f]=$g(s[3][0].data);break;case 8:{var l=e[bw(s[9][0].data)][0];var o=tw(l.data);var c=e[bw(o[1][0].data)][0];var u=ew(c.meta[1][0].data);if(u!=2001)throw new Error("2000 unexpected reference to ".concat(u));var h=tw(c.data);var d={v:h[3].map(function(e){return $g(e.data)}).join("")};i[f]=d;e:if((t=h==null?void 0:h[11])==null?void 0:t[0]){var v=(n=tw(h[11][0].data))==null?void 0:n[1];if(!v)break e;v.forEach(function(r){var t,a,n;var i=tw(r.data);if((t=i[2])==null?void 0:t[0]){var s=e[bw((a=i[2])==null?void 0:a[0].data)][0];var f=ew(s.meta[1][0].data);switch(f){case 2032:var l=tw(s.data);if(((n=l==null?void 0:l[2])==null?void 0:n[0])&&!d.l)d.l=$g(l[2][0].data);break;case 2039:break;default:console.log("unrecognized ObjectAttribute type ".concat(f));}}})}}break;case 2:i[f]=tw(s[6][0].data);break;case 3:i[f]=tw(s[5][0].data);break;case 10:{var p=e[bw(s[10][0].data)][0];i[f]=_w(e,p.data)}break;default:throw a;}});return i}function yw(e,r){var t,a,n,i,s,f,l,o,c,u,h,d,v,p;var m=tw(e);var b=ew(m[1][0].data)>>>0;var g=ew(m[2][0].data)>>>0;var w=((a=(t=m[8])==null?void 0:t[0])==null?void 0:a.data)&&ew(m[8][0].data)>0||false;var k,T;if(((i=(n=m[7])==null?void 0:n[0])==null?void 0:i.data)&&r!=0){k=(f=(s=m[7])==null?void 0:s[0])==null?void 0:f.data;T=(o=(l=m[6])==null?void 0:l[0])==null?void 0:o.data}else if(((u=(c=m[4])==null?void 0:c[0])==null?void 0:u.data)&&r!=1){k=(d=(h=m[4])==null?void 0:h[0])==null?void 0:d.data;T=(p=(v=m[3])==null?void 0:v[0])==null?void 0:p.data}else throw"NUMBERS Tile missing ".concat(r," cell storage");var y=w?4:1;var E=Vg(k);var _=[];for(var S=0;S=1)A[_[_.length-1][0]]=T[Hg](_[_.length-1][1]*y);return{R:b,cells:A}}function Ew(e,r){var t;var a=tw(r.data);var n=-1;if((t=a==null?void 0:a[7])==null?void 0:t[0]){if(ew(a[7][0].data)>>>0)n=1;else n=0}var i=nw(a[5],function(e){return yw(e,n)});return{nrows:ew(a[4][0].data)>>>0,data:i.reduce(function(e,r){if(!e[r.R])e[r.R]=[];r.cells.forEach(function(t,a){if(e[r.R][a])throw new Error("Duplicate cell r=".concat(r.R," c=").concat(a));e[r.R][a]=t});return e},[])}}function _w(e,r){var t,a,n,i,s,f,l,o,c,u;var h={t:"",a:""};var d=tw(r);if((a=(t=d==null?void 0:d[1])==null?void 0:t[0])==null?void 0:a.data)h.t=$g((i=(n=d==null?void 0:d[1])==null?void 0:n[0])==null?void 0:i.data)||"";if((f=(s=d==null?void 0:d[3])==null?void 0:s[0])==null?void 0:f.data){var v=e[bw((o=(l=d==null?void 0:d[3])==null?void 0:l[0])==null?void 0:o.data)][0];var p=tw(v.data);if((u=(c=p[1])==null?void 0:c[0])==null?void 0:u.data)h.a=$g(p[1][0].data)}if(d==null?void 0:d[4]){h.replies=[];d[4].forEach(function(r){var t=e[bw(r.data)][0];h.replies.push(_w(e,t.data))})}return h}function Sw(e){var r=[];r.push({t:e.t||"",a:e.a,T:e.replies&&e.replies.length>0});if(e.replies)e.replies.forEach(function(e){r.push({t:e.t||"",a:e.a,T:true})});return r}function xw(e){var r={a:"",t:"",replies:[]};for(var t=0;t>>0)-1;if(p.e.r<0)throw new Error("Invalid row varint ".concat(v[6][0].data));p.e.c=(ew(v[7][0].data)>>>0)-1;if(p.e.c<0)throw new Error("Invalid col varint ".concat(v[7][0].data));t["!ref"]=Za(p);var m=t["!data"]!=null,b=t;var g=tw(v[4][0].data);var w=cw();if((n=g[4])==null?void 0:n[0])w.sst=Tw(e,e[bw(g[4][0].data)][0]);if((i=g[6])==null?void 0:i[0])w.fmla=Tw(e,e[bw(g[6][0].data)][0]);if((s=g[11])==null?void 0:s[0])w.ofmt=Tw(e,e[bw(g[11][0].data)][0]);if((f=g[12])==null?void 0:f[0])w.ferr=Tw(e,e[bw(g[12][0].data)][0]);if((l=g[17])==null?void 0:l[0])w.rsst=Tw(e,e[bw(g[17][0].data)][0]);if((o=g[19])==null?void 0:o[0])w.cmnt=Tw(e,e[bw(g[19][0].data)][0]);if((c=g[22])==null?void 0:c[0])w.nfmt=Tw(e,e[bw(g[22][0].data)][0]);var k=tw(g[3][0].data);var T=0;if(!((u=g[9])==null?void 0:u[0]))throw"NUMBERS file missing row tree";var y=tw(g[9][0].data)[1].map(function(e){return tw(e.data)});y.forEach(function(r){T=ew(r[1][0].data);var n=ew(r[2][0].data);var i=k[1][n];if(!i)throw"NUMBERS missing tile "+n;var s=tw(i.data);var f=e[bw(s[2][0].data)][0];var l=ew(f.meta[1][0].data);if(l!=6002)throw new Error("6001 unexpected reference to ".concat(l));var o=Ew(e,f);o.data.forEach(function(e,r){e.forEach(function(e,n){var i=mw(e,w,a);if(i){if(m){if(!b["!data"][T+r])b["!data"][T+r]=[];b["!data"][T+r][n]=i}else{t[Va(n)+Ba(T+r)]=i}}})});T+=o.nrows});if((h=g[13])==null?void 0:h[0]){var E=e[bw(g[13][0].data)][0];var _=ew(E.meta[1][0].data);if(_!=6144)throw new Error("Expected merge type 6144, found ".concat(_));t["!merges"]=(d=tw(E.data))==null?void 0:d[1].map(function(e){var r=tw(e.data);var t=Vg(tw(r[1][0].data)[1][0].data),a=Vg(tw(r[2][0].data)[1][0].data);return{s:{r:t.getUint16(0,true),c:t.getUint16(2,true)},e:{r:t.getUint16(0,true)+a.getUint16(0,true)-1,c:t.getUint16(2,true)+a.getUint16(2,true)-1}}})}}function Cw(e,r,t){var a=tw(r.data);var n={"!ref":"A1"};if(t==null?void 0:t.dense)n["!data"]=[];var i=e[bw(a[2][0].data)];var s=ew(i[0].meta[1][0].data);if(s!=6001)throw new Error("6000 unexpected reference to ".concat(s));Aw(e,i[0],n,t);return n}function Iw(e,r,t){var a;var n=tw(r.data);var i={name:((a=n[1])==null?void 0:a[0])?$g(n[1][0].data):"",sheets:[]};var s=nw(n[2],bw);s.forEach(function(r){e[r].forEach(function(r){var a=ew(r.meta[1][0].data);if(a==6e3)i.sheets.push(Cw(e,r,t))})});return i}function Ow(e,r,t){var a;var n=Vk();n.Workbook={WBProps:{date1904:true}};var i=tw(r.data);if((a=i[2])==null?void 0:a[0])throw new Error("Keynote presentations are not supported");var s=nw(i[1],bw);s.forEach(function(r){e[r].forEach(function(r){var a=ew(r.meta[1][0].data);if(a==2){var i=Iw(e,r,t);i.sheets.forEach(function(e,r){$k(n,e,r==0?i.name:i.name+"_"+r,true)})}})});if(n.SheetNames.length==0)throw new Error("Empty NUMBERS file");n.bookType="numbers";return n}function Rw(e,r){var t,a,n,i,s,f,l;var o={},c=[];e.FullPaths.forEach(function(e){if(e.match(/\.iwpv2/))throw new Error("Unsupported password protection")});e.FileIndex.forEach(function(e){if(!e.name.match(/\.iwa$/))return;if(e.content[0]!=0)return;var r;try{r=lw(e.content)}catch(t){return console.log("?? "+e.content.length+" "+(t.message||t))}var a;try{a=iw(r)}catch(t){return console.log("## "+(t.message||t))}a.forEach(function(e){o[e.id]=e.messages;c.push(e.id)})});if(!c.length)throw new Error("File has no messages");if(((n=(a=(t=o==null?void 0:o[1])==null?void 0:t[0].meta)==null?void 0:a[1])==null?void 0:n[0].data)&&ew(o[1][0].meta[1][0].data)==1e4)throw new Error("Pages documents are not supported");var u=((l=(f=(s=(i=o==null?void 0:o[1])==null?void 0:i[0])==null?void 0:s.meta)==null?void 0:f[1])==null?void 0:l[0].data)&&ew(o[1][0].meta[1][0].data)==1&&o[1][0];if(!u)c.forEach(function(e){o[e].forEach(function(e){var r=ew(e.meta[1][0].data)>>>0;if(r==1){if(!u)u=e;else throw new Error("Document has multiple roots")}})});if(!u)throw new Error("Cannot find Document root");return Ow(o,u,r)}function Nw(e,r,t){var a,n,i;var s=[[],[{type:0,data:Jg(0)}],[{type:0,data:Jg(0)}],[{type:2,data:new Uint8Array([])}],[{type:2,data:new Uint8Array(Array.from({length:510},function(){return 255}))}],[{type:0,data:Jg(5)}],[{type:2,data:new Uint8Array([])}],[{type:2,data:new Uint8Array(Array.from({length:510},function(){return 255}))}],[{type:0,data:Jg(1)}]];if(!((a=s[6])==null?void 0:a[0])||!((n=s[7])==null?void 0:n[0]))throw"Mutation only works on post-BNC storages!";var f=0;if(s[7][0].data.length<2*e.length){var l=new Uint8Array(2*e.length);l.set(s[7][0].data);s[7][0].data=l}if(s[4][0].data.length<2*e.length){var o=new Uint8Array(2*e.length);o.set(s[4][0].data);s[4][0].data=o}var c=Vg(s[7][0].data),u=0,h=[];var d=Vg(s[4][0].data),v=0,p=[];var m=t?4:1;for(var b=0;b1)throw new Error("Template NUMBERS file must have exactly one sheet");e.SheetNames.forEach(function(r,s){if(s>=1){Xw(t,a,s+1);n=Ww(t,a,1);i=nw(tw(n.messages[0].data)[1],bw)}Gw(t,a,e.Sheets[r],r,s,i[s])});return t}function Bw(e,r,t,a){var n=Qe.find(e,r[t].location);if(!n)throw"Could not find ".concat(r[t].location," in Numbers template");var i=iw(lw(n.content));var s=i.find(function(e){return e.id==t});a(s,i);n.content=ow(sw(i));n.size=n.content.length}function Ww(e,r,t){var a=Qe.find(e,r[t].location);if(!a)throw"Could not find ".concat(r[t].location," in Numbers template");var n=iw(lw(a.content));var i=n.find(function(e){return e.id==t});return i}function zw(e,r,t){e[3].push({type:2,data:aw([[],[{type:0,data:Jg(r)}],[{type:2,data:Xg(t.replace(/-[\s\S]*$/,""))}],[{type:2,data:Xg(t)}],[{type:2,data:new Uint8Array([2,0,0])}],[{type:2,data:new Uint8Array([2,0,0])}],[],[],[],[],[{type:0,data:Jg(0)}],[],[{type:0,data:Jg(0)}]])});e[1]=[{type:0,data:Jg(Math.max(r+1,ew(e[1][0].data)))}]}function Hw(e,r,t,a,n,i){if(!i)i=Dw({deps:[],location:"",type:r},n);var s="".concat(a,"-").concat(i,".iwa");n[i].location="Root Entry"+s;Qe.utils.cfb_add(e,s,ow(sw([{id:i,messages:[Fw(r,aw(t))]}])));var f=s.replace(/^[\/]/,"").replace(/^Index\//,"").replace(/\.iwa$/,"");Bw(e,n,2,function(e){var r=tw(e.messages[0].data);zw(r,i||0,f);e.messages[0].data=aw(r)});return i}function Vw(e,r,t,a){var n=r[t].location.replace(/^Root Entry\//,"").replace(/^Index\//,"").replace(/\.iwa$/,"");var i=e[3].findIndex(function(e){var r,t;var a=tw(e.data);if((r=a[3])==null?void 0:r[0])return $g(a[3][0].data)==n;if(((t=a[2])==null?void 0:t[0])&&$g(a[2][0].data)==n)return true;return false});var s=tw(e[3][i].data);if(!s[6])s[6]=[];(Array.isArray(a)?a:[a]).forEach(function(e){s[6].push({type:2,data:aw([[],[{type:0,data:Jg(e)}]])})});e[3][i].data=aw(s)}function $w(e,r,t,a){var n=r[t].location.replace(/^Root Entry\//,"").replace(/^Index\//,"").replace(/\.iwa$/,"");var i=e[3].findIndex(function(e){var r,t;var a=tw(e.data);if((r=a[3])==null?void 0:r[0])return $g(a[3][0].data)==n;if(((t=a[2])==null?void 0:t[0])&&$g(a[2][0].data)==n)return true;return false});var s=tw(e[3][i].data);if(!s[6])s[6]=[];s[6]=s[6].filter(function(e){return ew(tw(e.data)[1][0].data)!=a});e[3][i].data=aw(s)}function Xw(e,r,t){var a=-1,n=-1;var i={};Bw(e,r,1,function(t,s){var f=tw(t.messages[0].data);a=bw(tw(t.messages[0].data)[1][0].data);n=Dw({deps:[1],location:r[a].location,type:2},r);i[a]=n;ww(t,n);f[1].push({type:2,data:gw(n)});var l=Ww(e,r,a);l.id=n;if(r[1].location==r[n].location)s.push(l);else Bw(e,r,n,function(e,r){return r.push(l)});t.messages[0].data=aw(f)});var s=-1;Bw(e,r,n,function(t,a){var f=tw(t.messages[0].data);for(var l=3;l<=69;++l)delete f[l];var o=nw(f[2],bw);o.forEach(function(e){return kw(t,e)});s=Dw({deps:[n],location:r[o[0]].location,type:r[o[0]].type},r);ww(t,s);i[o[0]]=s;f[2]=[{type:2,data:gw(s)}];var c=Ww(e,r,o[0]);c.id=s;if(r[o[0]].location==r[n].location)a.push(c);else{Bw(e,r,2,function(e){var t=tw(e.messages[0].data);Vw(t,r,n,s);e.messages[0].data=aw(t)});Bw(e,r,s,function(e,r){return r.push(c)})}t.messages[0].data=aw(f)});var f=-1;Bw(e,r,s,function(t,a){var n=tw(t.messages[0].data);var l=tw(n[1][0].data);for(var o=3;o<=69;++o)delete l[o];var c=bw(l[2][0].data);l[2][0].data=gw(i[c]);n[1][0].data=aw(l);var u=bw(n[2][0].data);kw(t,u);f=Dw({deps:[s],location:r[u].location,type:r[u].type},r);ww(t,f);i[u]=f;n[2][0].data=gw(f);var h=Ww(e,r,u);h.id=f;if(r[s].location==r[f].location)a.push(h);else Bw(e,r,f,function(e,r){return r.push(h)});t.messages[0].data=aw(n)});Bw(e,r,f,function(a,n){var s,l;var o=tw(a.messages[0].data);var c=$g(o[1][0].data),u=c.replace(/-[A-Z0-9]*/,"-".concat(("0000"+t.toString(16)).slice(-4)));o[1][0].data=Xg(u);[12,13,29,31,32,33,39,44,47,81,82,84].forEach(function(e){return delete o[e]});if(o[45]){var h=tw(o[45][0].data);var d=bw(h[1][0].data);kw(a,d);delete o[45]}if(o[70]){var v=tw(o[70][0].data);(s=v[2])==null?void 0:s.forEach(function(e){var r=tw(e.data);[2,3].map(function(e){return r[e][0]}).forEach(function(e){var r=tw(e.data);if(!r[8])return;var t=bw(r[8][0].data);kw(a,t)})});delete o[70]}[46,30,34,35,36,38,48,49,60,61,62,63,64,71,72,73,74,75,85,86,87,88,89].forEach(function(e){if(!o[e])return;var r=bw(o[e][0].data);delete o[e];kw(a,r)});var p=tw(o[4][0].data);{[2,4,5,6,11,12,13,15,16,17,18,19,20,21,22].forEach(function(t){var s;if(!((s=p[t])==null?void 0:s[0]))return;var l=bw(p[t][0].data);var o=Dw({deps:[f],location:r[l].location,type:r[l].type},r);kw(a,l);ww(a,o);i[l]=o;var c=Ww(e,r,l);c.id=o;if(r[l].location==r[f].location)n.push(c);else{r[o].location=r[l].location.replace(l.toString(),o.toString());if(r[o].location==r[l].location)r[o].location=r[o].location.replace(/\.iwa/,"-".concat(o,".iwa"));Qe.utils.cfb_add(e,r[o].location,ow(sw([c])));var u=r[o].location.replace(/^Root Entry\//,"").replace(/^Index\//,"").replace(/\.iwa$/,"");Bw(e,r,2,function(e){var t=tw(e.messages[0].data);zw(t,o,u);Vw(t,r,f,o);e.messages[0].data=aw(t)})}p[t][0].data=gw(o)});var m=tw(p[1][0].data);{(l=m[2])==null?void 0:l.forEach(function(t){var s=bw(t.data);var l=Dw({deps:[f],location:r[s].location,type:r[s].type},r);kw(a,s);ww(a,l);i[s]=l;var o=Ww(e,r,s);o.id=l;if(r[s].location==r[f].location){n.push(o)}else{r[l].location=r[s].location.replace(s.toString(),l.toString());if(r[l].location==r[s].location)r[l].location=r[l].location.replace(/\.iwa/,"-".concat(l,".iwa"));Qe.utils.cfb_add(e,r[l].location,ow(sw([o])));var c=r[l].location.replace(/^Root Entry\//,"").replace(/^Index\//,"").replace(/\.iwa$/,"");Bw(e,r,2,function(e){var t=tw(e.messages[0].data);zw(t,l,c);Vw(t,r,f,l);e.messages[0].data=aw(t)})}t.data=gw(l)})}p[1][0].data=aw(m);var b=tw(p[3][0].data);{b[1].forEach(function(t){var n=tw(t.data);var s=bw(n[2][0].data);var l=i[s];if(!i[s]){l=Dw({deps:[f],location:"",type:r[s].type},r);r[l].location="Root Entry/Index/Tables/Tile-".concat(l,".iwa");i[s]=l;var o=Ww(e,r,s);o.id=l;kw(a,s);ww(a,l);Qe.utils.cfb_add(e,"/Index/Tables/Tile-".concat(l,".iwa"),ow(sw([o])));Bw(e,r,2,function(e){var t=tw(e.messages[0].data);t[3].push({type:2,data:aw([[],[{type:0,data:Jg(l)}],[{type:2,data:Xg("Tables/Tile")}],[{type:2,data:Xg("Tables/Tile-".concat(l))}],[{type:2,data:new Uint8Array([2,0,0])}],[{type:2,data:new Uint8Array([2,0,0])}],[],[],[],[],[{type:0,data:Jg(0)}],[],[{type:0,data:Jg(0)}]])});t[1]=[{type:0,data:Jg(Math.max(l+1,ew(t[1][0].data)))}];Vw(t,r,f,l);e.messages[0].data=aw(t)})}n[2][0].data=gw(l);t.data=aw(n)})}p[3][0].data=aw(b)}o[4][0].data=aw(p);a.messages[0].data=aw(o)})}function Gw(e,r,t,a,n,i){var s=[];Bw(e,r,i,function(e){var r=tw(e.messages[0].data);{r[1]=[{type:2,data:Xg(a)}];s=nw(r[2],bw)}e.messages[0].data=aw(r)});var f=Ww(e,r,s[0]);var l=bw(tw(f.messages[0].data)[2][0].data);Bw(e,r,l,function(a,n){return Kw(e,r,t,a,n,l)})}var jw=true;function Kw(e,r,t,a,n,i){if(!t["!ref"])throw new Error("Cannot export empty sheet to NUMBERS");var s=Ya(t["!ref"]);s.s.r=s.s.c=0;var f=false;if(s.e.c>999){f=true;s.e.c=999}if(s.e.r>999999){f=true;s.e.r=999999}if(f)console.error("Truncating to ".concat(Za(s)));var l=[];if(t["!data"])l=t["!data"];else{var o=[];for(var c=0;c<=s.e.c;++c)o[c]=Va(c);for(var u=0;u<=s.e.r;++u){l[u]=[];var h=""+(u+1);for(c=0;c<=s.e.c;++c){var d=t[o[c]+h];if(!d)continue;l[u][c]=d}}}var v={cmnt:[{a:"~54ee77S~",t:"... the people who are crazy enough to think they can change the world, are the ones who do."}],ferr:[],fmla:[],nfmt:[],ofmt:[],rsst:[{v:"~54ee77S~",l:"https://sheetjs.com/"}],sst:["~Sh33tJ5~"]};var p=tw(a.messages[0].data);{p[6][0].data=Jg(s.e.r+1);p[7][0].data=Jg(s.e.c+1);delete p[46];var m=tw(p[4][0].data);{var b=bw(tw(m[1][0].data)[2][0].data);Bw(e,r,b,function(e,r){var t;var a=tw(e.messages[0].data);if((t=a==null?void 0:a[2])==null?void 0:t[0])for(var n=0;n1){var P=bw(m[19][0].data);var L={},M=0;Bw(e,r,P,function(t){var a=tw(t.messages[0].data);{a[3]=[];v.cmnt.forEach(function(n,i){if(i==0)return;var s=[];if(n.replies)n.replies.forEach(function(t){if(!L[t.a||""])L[t.a||""]=Hw(e,212,[[],[{type:2,data:Xg(t.a||"")}],[{type:2,data:Mw(++M)}],[],[{type:0,data:Jg(0)}]],"/Index/Tables/DataList",r);var a=L[t.a||""];var n=Hw(e,3056,[[],[{type:2,data:Xg(t.t||"")}],[{type:2,data:aw([[],[{type:1,data:new Uint8Array([0,0,0,128,116,109,182,65])}]])}],[{type:2,data:gw(a)}]],"/Index/Tables/DataList",r);Bw(e,r,n,function(e){return ww(e,a)});s.push(n);Bw(e,r,2,function(e){var t=tw(e.messages[0].data);Vw(t,r,n,a);e.messages[0].data=aw(t)})});if(!L[n.a||""])L[n.a||""]=Hw(e,212,[[],[{type:2,data:Xg(n.a||"")}],[{type:2,data:Mw(++M)}],[],[{type:0,data:Jg(0)}]],"/Index/Tables/DataList",r);var f=L[n.a||""];var l=Hw(e,3056,[[],[{type:2,data:Xg(n.t||"")}],[{type:2,data:aw([[],[{type:1,data:new Uint8Array([0,0,0,128,116,109,182,65])}]])}],[{type:2,data:gw(f)}],s.map(function(e){return{type:2,data:gw(e)}}),[{type:2,data:aw([[],[{type:0,data:Jg(i)}],[{type:0,data:Jg(0)}]])}]],"/Index/Tables/DataList",r);Bw(e,r,l,function(e){ww(e,f);s.forEach(function(r){return ww(e,r)})});a[3].push({type:2,data:aw([[],[{type:0,data:Jg(i)}],[{type:0,data:Jg(1)}],[],[],[],[],[],[],[],[{type:2,data:gw(l)}]])});ww(t,l);Bw(e,r,2,function(e){var t=tw(e.messages[0].data);Vw(t,r,P,l);Vw(t,r,l,f);if(s.length)Vw(t,r,l,s);e.messages[0].data=aw(t)})})}a[2][0].data=Jg(v.cmnt.length+1);t.messages[0].data=aw(a)})}}p[4][0].data=aw(m)}a.messages[0].data=aw(p)}function Yw(e){return function r(t){for(var a=0;a!=e.length;++a){var n=e[a];if(t[n[0]]===undefined)t[n[0]]=n[1];if(n[2]==="n")t[n[0]]=Number(t[n[0]])}}}function Zw(e){Yw([["cellNF",false],["cellHTML",true],["cellFormula",true],["cellStyles",false],["cellText",true],["cellDates",false],["sheetStubs",false],["sheetRows",0,"n"],["bookDeps",false],["bookSheets",false],["bookProps",false],["bookFiles",false],["bookVBA",false],["password",""],["WTF",false]])(e)}function Jw(e){Yw([["cellDates",false],["bookSST",false],["bookType","xlsx"],["compression",false],["WTF",false]])(e)}function qw(e){if(bi.WS.indexOf(e)>-1)return"sheet";if(bi.CS&&e==bi.CS)return"chart";if(bi.DS&&e==bi.DS)return"dialog";if(bi.MS&&e==bi.MS)return"macro";return e&&e.length?e:"sheet"}function Qw(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,qw(e["!id"][r.id].Type)]})}catch(t){return null}return!e||e.length===0?null:e}function ek(e,r,t,a,n,i,s,f){if(!e||!e["!legdrawel"])return;var l=tt(e["!legdrawel"].Target,a);var o=Zr(t,l,true);if(o)Ou(It(o),e,f||[])}function rk(e,r,t,a,n,i,s,f,l,o,c,u){try{i[a]=wi(Zr(e,t,true),r);var h=Yr(e,r);var d;switch(f){case"sheet":d=rb(h,r,n,l,i[a],o,c,u);break;case"chart":d=tb(h,r,n,l,i[a],o,c,u);if(!d||!d["!drawel"])break;var v=tt(d["!drawel"].Target,r);var p=gi(v);var m=Iu(Zr(e,v,true),wi(Zr(e,p,true),v));var b=tt(m,v);var g=gi(b);d=wm(Zr(e,b,true),b,l,wi(Zr(e,g,true),b),o,d);break;case"macro":d=ab(h,r,n,l,i[a],o,c,u);break;case"dialog":d=nb(h,r,n,l,i[a],o,c,u);break;default:throw new Error("Unrecognized sheet type "+f);}s[a]=d;var w=[],k=[];if(i&&i[a])ir(i[a]).forEach(function(t){var n="";if(i[a][t].Type==bi.CMNT){n=tt(i[a][t].Target,r);w=fb(Yr(e,n,true),n,l);if(!w||!w.length)return;Fu(d,w,false)}if(i[a][t].Type==bi.TCMNT){n=tt(i[a][t].Target,r);k=k.concat(Lu(Yr(e,n,true),l))}});if(k&&k.length)Fu(d,k,true,l.people||[]);ek(d,f,e,r,n,l,o,w)}catch(T){ +if(l.WTF)throw T}}function tk(e){return e.charAt(0)=="/"?e.slice(1):e}function ak(e,r){$e();r=r||{};Zw(r);if(jr(e,"META-INF/manifest.xml"))return Pg(e,r);if(jr(e,"objectdata.xml"))return Pg(e,r);if(jr(e,"Index/Document.iwa")){if(typeof Uint8Array=="undefined")throw new Error("NUMBERS file parsing requires Uint8Array support");if(typeof Rw!="undefined"){if(e.FileIndex)return Rw(e,r);var t=Qe.utils.cfb_new();qr(e).forEach(function(r){Qr(t,r,Jr(e,r))});return Rw(t,r)}throw new Error("Unsupported NUMBERS file")}if(!jr(e,"[Content_Types].xml")){if(jr(e,"index.xml.gz"))throw new Error("Unsupported NUMBERS 08 file");if(jr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");var a=Qe.find(e,"Index.zip");if(a){r=Tr(r);delete r.type;if(typeof a.content=="string")r.type="binary";if(typeof Bun!=="undefined"&&Buffer.isBuffer(a.content))return pk(new Uint8Array(a.content),r);return pk(a.content,r)}throw new Error("Unsupported ZIP file")}var n=qr(e);var i=pi(Zr(e,"[Content_Types].xml"));var s=false;var f,l;if(i.workbooks.length===0){l="xl/workbook.xml";if(Yr(e,l,true))i.workbooks.push(l)}if(i.workbooks.length===0){l="xl/workbook.bin";if(!Yr(e,l,true))throw new Error("Could not find workbook");i.workbooks.push(l);s=true}if(i.workbooks[0].slice(-3)=="bin")s=true;var o={};var c={};if(!r.bookSheets&&!r.bookProps){pv=[];if(i.sst)try{pv=sb(Yr(e,tk(i.sst)),i.sst,r)}catch(u){if(r.WTF)throw u}if(r.cellStyles&&i.themes.length)o=au(Zr(e,i.themes[0].replace(/^\//,""),true)||"",r);if(i.style)c=ib(Yr(e,tk(i.style)),i.style,o,r)}i.links.map(function(t){try{var a=wi(Zr(e,gi(tk(t))),t);return ob(Yr(e,tk(t)),a,t,r)}catch(n){}});var h=eb(Yr(e,tk(i.workbooks[0])),i.workbooks[0],r);var d={},v="";if(i.coreprops.length){v=Yr(e,tk(i.coreprops[0]),true);if(v)d=Oi(v);if(i.extprops.length!==0){v=Yr(e,tk(i.extprops[0]),true);if(v)Li(v,d,r)}}var p={};if(!r.bookSheets||r.bookProps){if(i.custprops.length!==0){v=Zr(e,tk(i.custprops[0]),true);if(v)p=Bi(v,r)}}var m={};if(r.bookSheets||r.bookProps){if(h.Sheets)f=h.Sheets.map(function N(e){return e.name});else if(d.Worksheets&&d.SheetNames.length>0)f=d.SheetNames;if(r.bookProps){m.Props=d;m.Custprops=p}if(r.bookSheets&&typeof f!=="undefined")m.SheetNames=f;if(r.bookSheets?m.SheetNames:r.bookProps)return m}f={};var b={};if(r.bookDeps&&i.calcchain)b=lb(Yr(e,tk(i.calcchain)),i.calcchain,r);var g=0;var w={};var k,T;{var y=h.Sheets;d.Worksheets=y.length;d.SheetNames=[];for(var E=0;E!=y.length;++E){d.SheetNames[E]=y[E].name}}var _=s?"bin":"xml";var S=i.workbooks[0].lastIndexOf("/");var x=(i.workbooks[0].slice(0,S+1)+"_rels/"+i.workbooks[0].slice(S+1)+".rels").replace(/^\//,"");if(!jr(e,x))x="xl/_rels/workbook."+_+".rels";var A=wi(Zr(e,x,true),x.replace(/_rels.*/,"s5s"));if((i.metadata||[]).length>=1){r.xlmeta=cb(Yr(e,tk(i.metadata[0])),i.metadata[0],r)}if((i.people||[]).length>=1){r.people=Uu(Yr(e,tk(i.people[0])),r)}if(A)A=Qw(A,h.Sheets);var C=Yr(e,"xl/worksheets/sheet.xml",true)?1:0;e:for(g=0;g!=d.Worksheets;++g){var I="sheet";if(A&&A[g]){k="xl/"+A[g][1].replace(/[\/]?xl\//,"");if(!jr(e,k))k=A[g][1];if(!jr(e,k))k=x.replace(/_rels\/[\S\s]*$/,"")+A[g][1];I=A[g][2]}else{k="xl/worksheets/sheet"+(g+1-C)+"."+_;k=k.replace(/sheet0\./,"sheet.")}T=k.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels");if(r&&r.sheets!=null)switch(typeof r.sheets){case"number":if(g!=r.sheets)continue e;break;case"string":if(d.SheetNames[g].toLowerCase()!=r.sheets.toLowerCase())continue e;break;default:if(Array.isArray&&Array.isArray(r.sheets)){var O=false;for(var R=0;R!=r.sheets.length;++R){if(typeof r.sheets[R]=="number"&&r.sheets[R]==g)O=1;if(typeof r.sheets[R]=="string"&&r.sheets[R].toLowerCase()==d.SheetNames[g].toLowerCase())O=1}if(!O)continue e};}rk(e,k,T,d.SheetNames[g],g,w,f,I,r,h,o,c)}m={Directory:i,Workbook:h,Props:d,Custprops:p,Deps:b,Sheets:f,SheetNames:d.SheetNames,Strings:pv,Styles:c,Themes:o,SSF:Tr(q)};if(r&&r.bookFiles){if(e.files){m.keys=n;m.files=e.files}else{m.keys=[];m.files={};e.FullPaths.forEach(function(r,t){r=r.replace(/^Root Entry[\/]/,"");m.keys.push(r);m.files[r]=e.FileIndex[t]})}}if(r&&r.bookVBA){if(i.vba.length>0)m.vbaraw=Yr(e,tk(i.vba[0]),true);else if(i.defaults&&i.defaults.bin===Gu)m.vbaraw=Yr(e,"xl/vbaProject.bin",true)}m.bookType=s?"xlsb":"xlsx";return m}function nk(e,r){var t=r||{};var a="Workbook",n=Qe.find(e,a);try{a="/!DataSpaces/Version";n=Qe.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);Eo(n.content);a="/!DataSpaces/DataSpaceMap";n=Qe.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var i=So(n.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 "+a);a="/!DataSpaces/DataSpaceInfo/StrongEncryptionDataSpace";n=Qe.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var s=xo(n.content);if(s.length!=1||s[0]!="StrongEncryptionTransform")throw new Error("ECMA-376 Encrypted file bad "+a);a="/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary";n=Qe.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);Co(n.content)}catch(f){}a="/EncryptionInfo";n=Qe.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var l=Ro(n.content);a="/EncryptedPackage";n=Qe.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);if(l[0]==4&&typeof decrypt_agile!=="undefined")return decrypt_agile(l[1],n.content,t.password||"",t);if(l[0]==2&&typeof decrypt_std76!=="undefined")return decrypt_std76(l[1],n.content,t.password||"",t);throw new Error("File is password-protected")}function ik(e,r){if(e&&!e.SSF){e.SSF=Tr(q)}if(e&&e.SSF){$e();Ve(e.SSF);r.revssf=lr(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;if(bv)r.revStrings=new Map;else{r.revStrings={};r.revStrings.foo=[];delete r.revStrings.foo}var t="bin";var a=true;var n=vi();Jw(r=r||{});var i=et();var s="",f=0;r.cellXfs=[];Tv(r.cellXfs,{},{revssf:{General:0}});if(!e.Props)e.Props={};s="docProps/core.xml";Qr(i,s,Ni(e.Props,r));n.coreprops.push(s);Ti(r.rels,2,s,bi.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{var l=[];for(var o=0;o0){s="docProps/custom.xml";Qr(i,s,Wi(e.Custprops,r));n.custprops.push(s);Ti(r.rels,4,s,bi.CUST_PROPS)}var c=["SheetJ5"];r.tcid=0;for(f=1;f<=e.SheetNames.length;++f){var u={"!id":{}};var h=e.Sheets[e.SheetNames[f-1]];var d=(h||{})["!type"]||"sheet";switch(d){case"chart":;default:s="xl/worksheets/sheet"+f+"."+t;Qr(i,s,bm(f-1,r,e,u));n.sheets.push(s);Ti(r.wbrels,-1,"worksheets/sheet"+f+"."+t,bi.WS[0]);}if(h){var v=h["!comments"];var p=false;var m="";if(v&&v.length>0){var b=false;v.forEach(function(e){e[1].forEach(function(e){if(e.T==true)b=true})});if(b){m="xl/threadedComments/threadedComment"+f+".xml";Qr(i,m,Mu(v,c,r));n.threadedcomments.push(m);Ti(u,-1,"../threadedComments/threadedComment"+f+".xml",bi.TCMNT)}m="xl/comments"+f+"."+t;Qr(i,m,Xu(v,r));n.comments.push(m);Ti(u,-1,"../comments"+f+"."+t,bi.CMNT);p=true}if(h["!legacy"]){if(p)Qr(i,"xl/drawings/vmlDrawing"+f+".vml",Ru(f,h["!comments"]))}delete h["!comments"];delete h["!legacy"]}if(u["!id"].rId1)Qr(i,gi(s),ki(u))}if(r.Strings!=null&&r.Strings.length>0){s="xl/sharedStrings."+t;Qr(i,s,ko(r.Strings,r));n.strs.push(s);Ti(r.wbrels,-1,"sharedStrings."+t,bi.SST)}s="xl/workbook."+t;Qr(i,s,Qm(e,r));n.workbooks.push(s);Ti(r.rels,1,s,bi.WB);s="xl/theme/theme1.xml";var g=nu(e.Themes,r);Qr(i,s,g);n.themes.push(s);Ti(r.wbrels,-1,"theme/theme1.xml",bi.THEME);s="xl/styles."+t;Qr(i,s,Jc(e,r));n.styles.push(s);Ti(r.wbrels,-1,"styles."+t,bi.STY);if(e.vbaraw&&a){s="xl/vbaProject.bin";Qr(i,s,e.vbaraw);n.vba.push(s);Ti(r.wbrels,-1,"vbaProject.bin",bi.VBA)}s="xl/metadata."+t;Qr(i,s,Tu());n.metadata.push(s);Ti(r.wbrels,-1,"metadata."+t,bi.XLMETA);if(c.length>1){s="xl/persons/person.xml";Qr(i,s,Bu(c,r));n.people.push(s);Ti(r.wbrels,-1,"persons/person.xml",bi.PEOPLE)}Qr(i,"[Content_Types].xml",mi(n,r));Qr(i,"_rels/.rels",ki(r.rels));Qr(i,"xl/_rels/workbook."+t+".rels",ki(r.wbrels));delete r.revssf;delete r.ssf;return i}function sk(e,r){if(e&&!e.SSF){e.SSF=Tr(q)}if(e&&e.SSF){$e();Ve(e.SSF);r.revssf=lr(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;if(bv)r.revStrings=new Map;else{r.revStrings={};r.revStrings.foo=[];delete r.revStrings.foo}var t="xml";var a=Yu.indexOf(r.bookType)>-1;var n=vi();Jw(r=r||{});var i=et();var s="",f=0;r.cellXfs=[];Tv(r.cellXfs,{},{revssf:{General:0}});if(!e.Props)e.Props={};s="docProps/core.xml";Qr(i,s,Ni(e.Props,r));n.coreprops.push(s);Ti(r.rels,2,s,bi.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{var l=[];for(var o=0;o0){s="docProps/custom.xml";Qr(i,s,Wi(e.Custprops,r));n.custprops.push(s);Ti(r.rels,4,s,bi.CUST_PROPS)}var c=["SheetJ5"];r.tcid=0;for(f=1;f<=e.SheetNames.length;++f){var u={"!id":{}};var h=e.Sheets[e.SheetNames[f-1]];var d=(h||{})["!type"]||"sheet";switch(d){case"chart":;default:s="xl/worksheets/sheet"+f+"."+t;Qr(i,s,Qv(f-1,r,e,u));n.sheets.push(s);Ti(r.wbrels,-1,"worksheets/sheet"+f+"."+t,bi.WS[0]);}if(h){var v=h["!comments"];var p=false;var m="";if(v&&v.length>0){var b=false;v.forEach(function(e){e[1].forEach(function(e){if(e.T==true)b=true})});if(b){m="xl/threadedComments/threadedComment"+f+".xml";Qr(i,m,Mu(v,c,r));n.threadedcomments.push(m);Ti(u,-1,"../threadedComments/threadedComment"+f+".xml",bi.TCMNT)}m="xl/comments"+f+"."+t;Qr(i,m,Pu(v,r));n.comments.push(m);Ti(u,-1,"../comments"+f+"."+t,bi.CMNT);p=true}if(h["!legacy"]){if(p)Qr(i,"xl/drawings/vmlDrawing"+f+".vml",Ru(f,h["!comments"]))}delete h["!comments"];delete h["!legacy"]}if(u["!id"].rId1)Qr(i,gi(s),ki(u))}if(r.Strings!=null&&r.Strings.length>0){s="xl/sharedStrings."+t;Qr(i,s,po(r.Strings,r));n.strs.push(s);Ti(r.wbrels,-1,"sharedStrings."+t,bi.SST)}s="xl/workbook."+t;Qr(i,s,Mm(e,r));n.workbooks.push(s);Ti(r.rels,1,s,bi.WB);s="xl/theme/theme1.xml";Qr(i,s,nu(e.Themes,r));n.themes.push(s);Ti(r.wbrels,-1,"theme/theme1.xml",bi.THEME);s="xl/styles."+t;Qr(i,s,_c(e,r));n.styles.push(s);Ti(r.wbrels,-1,"styles."+t,bi.STY);if(e.vbaraw&&a){s="xl/vbaProject.bin";Qr(i,s,e.vbaraw);n.vba.push(s);Ti(r.wbrels,-1,"vbaProject.bin",bi.VBA)}s="xl/metadata."+t;Qr(i,s,Eu());n.metadata.push(s);Ti(r.wbrels,-1,"metadata."+t,bi.XLMETA);if(c.length>1){s="xl/persons/person.xml";Qr(i,s,Bu(c,r));n.people.push(s);Ti(r.wbrels,-1,"persons/person.xml",bi.PEOPLE)}Qr(i,"[Content_Types].xml",mi(n,r));Qr(i,"_rels/.rels",ki(r.rels));Qr(i,"xl/_rels/workbook."+t+".rels",ki(r.wbrels));delete r.revssf;delete r.ssf;return i}function fk(e,r){var t="";switch((r||{}).type||"base64"){case"buffer":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":t=_(e.slice(0,12));break;case"binary":t=e;break;case"array":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];default:throw new Error("Unrecognized type "+(r&&r.type||"undefined"));}return[t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3),t.charCodeAt(4),t.charCodeAt(5),t.charCodeAt(6),t.charCodeAt(7)]}function lk(e,r){if(Qe.find(e,"EncryptedPackage"))return nk(e,r);return jb(e,r)}function ok(e,r){var t,a=e;var n=r||{};if(!n.type)n.type=S&&Buffer.isBuffer(e)?"buffer":"base64";t=rt(a,n);return ak(t,n)}function ck(e,r){var t=0;e:while(t=2&&i[3]===0)return ao.to_workbook(n,t);if(i[2]===0&&(i[3]===8||i[3]===9))return ao.to_workbook(n,t)}break;case 3:;case 131:;case 139:;case 140:return Jl.to_workbook(n,t);case 123:if(i[1]===92&&i[2]===114&&i[3]===116)return Go(n,t);break;case 10:;case 13:;case 32:return uk(n,t);case 137:if(i[1]===80&&i[2]===78&&i[3]===71)throw new Error("PNG Image File is not a spreadsheet");break;case 8:if(i[1]===231)throw new Error("Unsupported Multiplan 1.x file!");break;case 12:if(i[1]===236)throw new Error("Unsupported Multiplan 2.x file!");if(i[1]===237)throw new Error("Unsupported Multiplan 3.x file!");break;}if(Zl.indexOf(i[0])>-1&&i[2]<=12&&i[3]<=31)return Jl.to_workbook(n,t);return vk(e,n,t,s)}function mk(e,r){var t=r||{};t.type="file";return pk(e,t)}function bk(e,r){switch(r.type){case"base64":;case"binary":break;case"buffer":;case"array":r.type="";break;case"file":return ar(r.file,Qe.write(e,{type:S?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+r.bookType+"' files");default:throw new Error("Unrecognized type "+r.type);}return Qe.write(e,r)}function gk(e,r){switch(r.bookType){case"ods":return zg(e,r);case"numbers":return Uw(e,r);case"xlsb":return ik(e,r);default:return sk(e,r);}}function wk(e,r){var t=Tr(r||{});var a=gk(e,t);return Tk(a,t)}function kk(e,r){var t=Tr(r||{});var a=sk(e,t);return Tk(a,t)}function Tk(e,r){var t={};var a=S?"nodebuffer":typeof Uint8Array!=="undefined"?"array":"string";if(r.compression)t.compression="DEFLATE";if(r.password)t.type=a;else switch(r.type){case"base64":t.type="base64";break;case"binary":t.type="string";break;case"string":throw new Error("'string' output type invalid for '"+r.bookType+"' files");case"buffer":;case"file":t.type=a;break;default:throw new Error("Unrecognized type "+r.type);}var n=e.FullPaths?Qe.write(e,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[t.type]||t.type,compression:!!r.compression}):e.generate(t);if(typeof Deno!=="undefined"){if(typeof n=="string"){if(r.type=="binary"||r.type=="base64")return n;n=new Uint8Array(R(n))}}if(r.password&&typeof encrypt_agile!=="undefined")return bk(encrypt_agile(n,r.password),r);if(r.type==="file")return ar(r.file,n);return r.type=="string"?It(n):n}function yk(e,r){var t=r||{};var a=Kb(e,t);return bk(a,t)}function Ek(e,r,t){if(!t)t="";var a=t+e;switch(r.type){case"base64":return T(Ot(a));case"binary":return Ot(a);case"string":return e;case"file":return ar(r.file,a,"utf8");case"buffer":{if(S)return x(a,"utf8");else if(typeof TextEncoder!=="undefined")return(new TextEncoder).encode(a);else return Ek(a,{type:"binary"}).split("").map(function(e){return e.charCodeAt(0)})};}throw new Error("Unrecognized type "+r.type)}function _k(e,r){switch(r.type){case"base64":return y(e);case"binary":return e;case"string":return e;case"file":return ar(r.file,e,"binary");case"buffer":{if(S)return x(e,"binary");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"string":;case"base64":;case"binary":var t="";for(var a=0;a0)n=0;var u=Ba(l.s.r);var h=[];var d=[];var v=0,p=0;var m=e["!data"]!=null;var b=l.s.r,g=0;var w={};if(m&&!e["!data"][b])e["!data"][b]=[];var k=o.skipHidden&&e["!cols"]||[];var T=o.skipHidden&&e["!rows"]||[];for(g=l.s.c;g<=l.e.c;++g){if((k[g]||{}).hidden)continue;h[g]=Va(g);t=m?e["!data"][b][g]:e[h[g]+u];switch(a){case 1:i[g]=g-l.s.c;break;case 2:i[g]=h[g];break;case 3:i[g]=o.header[g-l.s.c];break;default:if(t==null)t={w:"__EMPTY",t:"s"};f=s=rn(t,null,o);p=w[s]||0;if(!p)w[s]=1;else{do{f=s+"_"+p++}while(w[f]);w[s]=p;w[f]=1}i[g]=f;}}for(b=l.s.r+n;b<=l.e.r;++b){if((T[b]||{}).hidden)continue;var y=Nk(e,l,b,h,a,i,o);if(y.isempty===false||(a===1?o.blankrows!==false:!!o.blankrows))d[v++]=y.row}d.length=v;return d}var Dk=/"/g;function Pk(e,r,t,a,n,i,s,f){var l=true;var o=[],c="",u=Ba(t);var h=e["!data"]!=null;var d=h&&e["!data"][t]||[];for(var v=r.s.c;v<=r.e.c;++v){if(!a[v])continue;var p=h?d[v]:e[a[v]+u];if(p==null)c="";else if(p.v!=null){l=false;c=""+(f.rawNumbers&&p.t=="n"?p.v:rn(p,null,f));for(var m=0,b=0;m!==c.length;++m)if((b=c.charCodeAt(m))===n||b===i||b===34||f.forceQuotes){c='"'+c.replace(Dk,'""')+'"';break}if(c=="ID")c='"ID"'}else if(p.f!=null&&!p.F){l=false;c="="+p.f;if(c.indexOf(",")>=0)c='"'+c.replace(Dk,'""')+'"'}else c="";o.push(c)}if(f.strip)while(o[o.length-1]==="")--o.length;if(f.blankrows===false&&l)return null;return o.join(s)}function Lk(e,r){var t=[];var a=r==null?{}:r;if(e==null||e["!ref"]==null)return"";var n=Qa(e["!ref"]);var i=a.FS!==undefined?a.FS:",",s=i.charCodeAt(0);var f=a.RS!==undefined?a.RS:"\n",l=f.charCodeAt(0);var o="",c=[];var u=a.skipHidden&&e["!cols"]||[];var h=a.skipHidden&&e["!rows"]||[];for(var d=n.s.c;d<=n.e.c;++d)if(!(u[d]||{}).hidden)c[d]=Va(d);var v=0;for(var p=n.s.r;p<=n.e.r;++p){if((h[p]||{}).hidden)continue;o=Pk(e,n,p,c,s,l,i,a);if(o==null){continue}if(o||a.blankrows!==false)t.push((v++?f:"")+o)}return t.join("")}function Mk(e,r){if(!r)r={};r.FS="\t";r.RS="\n";var t=Lk(e,r);if(typeof a=="undefined"||r.type=="string")return t;var n=a.utils.encode(1200,t,"str");return String.fromCharCode(255)+String.fromCharCode(254)+n}function Uk(e){var r="",t,a="";if(e==null||e["!ref"]==null)return[];var n=Qa(e["!ref"]),i="",s=[],f;var l=[];var o=e["!data"]!=null;for(f=n.s.c;f<=n.e.c;++f)s[f]=Va(f);for(var c=n.s.r;c<=n.e.r;++c){i=Ba(c);for(f=n.s.c;f<=n.e.c;++f){r=s[f]+i;t=o?(e["!data"][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;l[l.length]=r+"="+a}}return l}function Bk(e,r,t){var a=t||{};var n=e?e["!data"]!=null:a.dense;if(g!=null&&n==null)n=g;var i=+!a.skipHeader;var s=e||{};if(!e&&n)s["!data"]=[];var f=0,l=0;if(s&&a.origin!=null){if(typeof a.origin=="number")f=a.origin;else{var o=typeof a.origin=="string"?ja(a.origin):a.origin;f=o.r;l=o.c}}var c={s:{c:0,r:0},e:{c:l,r:f+r.length-1+i}};if(s["!ref"]){var u=Qa(s["!ref"]);c.e.c=Math.max(c.e.c,u.e.c);c.e.r=Math.max(c.e.r,u.e.r);if(f==-1){f=u.e.r+1;c.e.r=f+r.length-1+i}}else{if(f==-1){f=0;c.e.r=r.length-1+i}}var h=a.header||[],d=0;var v=[];r.forEach(function(e,r){if(n&&!s["!data"][f+r+i])s["!data"][f+r+i]=[];if(n)v=s["!data"][f+r+i];ir(e).forEach(function(t){if((d=h.indexOf(t))==-1)h[d=h.length]=t;var o=e[t];var c="z";var u="";var p=n?"":Va(l+d)+Ba(f+r+i);var m=n?v[l+d]:s[p];if(o&&typeof o==="object"&&!(o instanceof Date)){if(n)v[l+d]=o;else s[p]=o}else{if(typeof o=="number")c="n";else if(typeof o=="boolean")c="b";else if(typeof o=="string")c="s";else if(o instanceof Date){c="d";if(!a.UTC)o=Dr(o);if(!a.cellDates){c="n";o=dr(o)}u=m!=null&&m.z&&Le(m.z)?m.z:a.dateNF||q[14]}else if(o===null&&a.nullError){c="e";o=0}if(!m){if(!n)s[p]=m={t:c,v:o};else v[l+d]=m={t:c,v:o}}else{m.t=c;m.v=o;delete m.w;delete m.R;if(u)m.z=u}if(u)m.z=u}})});c.e.c=Math.max(c.e.c,l+h.length-1);var p=Ba(f);if(n&&!s["!data"][f])s["!data"][f]=[];if(i)for(d=0;d=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+"|")}function Vk(e,r){var t={SheetNames:[],Sheets:{}};if(e)$k(t,e,r||"Sheet1");return t}function $k(e,r,t,a){var n=1;if(!t)for(;n<=65535;++n,t=undefined)if(e.SheetNames.indexOf(t="Sheet"+n)==-1)break;if(!t||e.SheetNames.length>=65535)throw new Error("Too many worksheets");if(a&&e.SheetNames.indexOf(t)>=0&&t.length<32){var i=t.match(/\d+$/);n=i&&+i[0]||0;var s=i&&t.slice(0,i.index)||t;for(++n;n<=65535;++n)if(e.SheetNames.indexOf(t=s+n)==-1)break}Nm(t);if(e.SheetNames.indexOf(t)>=0)throw new Error("Worksheet with name |"+t+"| already exists!");e.SheetNames.push(t);e.Sheets[t]=r;return t}function Xk(e,r,t){if(!e.Workbook)e.Workbook={};if(!e.Workbook.Sheets)e.Workbook.Sheets=[];var a=Hk(e,r);if(!e.Workbook.Sheets[a])e.Workbook.Sheets[a]={};switch(t){case 0:;case 1:;case 2:break;default:throw new Error("Bad sheet visibility setting "+t);}e.Workbook.Sheets[a].Hidden=t}function Gk(e,r){e.z=r;return e}function jk(e,r,t){if(!r){delete e.l}else{e.l={Target:r};if(t)e.l.Tooltip=t}return e}function Kk(e,r,t){return jk(e,"#"+r,t)}function Yk(e,r,t){if(!e.c)e.c=[];e.c.push({t:r,a:t||"SheetJS"})}function Zk(e,r,t,a){var n=typeof r!="string"?r:Qa(r);var i=typeof r=="string"?r:Za(r);for(var s=n.s.r;s<=n.e.r;++s)for(var f=n.s.c;f<=n.e.c;++f){var l=zk(e,s,f);l.t="n";l.F=i;delete l.v;if(s==n.s.r&&f==n.s.c){l.f=t;if(a)l.D=true}}var o=Ya(e["!ref"]);if(o.s.r>n.s.r)o.s.r=n.s.r;if(o.s.c>n.s.c)o.s.c=n.s.c;if(o.e.rs.e.r){if(!l){l=true;t.push(""+i)}return t.push(null)}while(f<=s.e.r){t.push(Tg(e,s,f,a));++f;break}};return t}function tT(e,r){var t=qk({objectMode:true});if(e==null||e["!ref"]==null){t.push(null);return t}var a={t:"n",v:0},n=0,i=1,s=[],f=0,l="";var o={s:{r:0,c:0},e:{r:0,c:0}};var c=r||{};var u=c.range!=null?c.range:e["!ref"];if(c.header===1)n=1;else if(c.header==="A")n=2;else if(Array.isArray(c.header))n=3;switch(typeof u){case"string":o=Qa(u);break;case"number":o=Qa(e["!ref"]);o.s.r=u;break;default:o=u;}if(n>0)i=0;var h=Ba(o.s.r);var d=[];var v=0;var p=e["!data"]!=null;var m=o.s.r,b=0;var g={};if(p&&!e["!data"][m])e["!data"][m]=[];var w=c.skipHidden&&e["!cols"]||[];var k=c.skipHidden&&e["!rows"]||[];for(b=o.s.c;b<=o.e.c;++b){if((w[b]||{}).hidden)continue;d[b]=Va(b);a=p?e["!data"][m][b]:e[d[b]+h];switch(n){case 1:s[b]=b-o.s.c;break;case 2:s[b]=d[b];break;case 3:s[b]=c.header[b-o.s.c];break;default:if(a==null)a={w:"__EMPTY",t:"s"};l=f=rn(a,null,c);v=g[f]||0;if(!v)g[f]=1;else{do{l=f+"_"+v++}while(g[l]);g[f]=v;g[l]=1}s[b]=l;}}m=o.s.r+i;t._read=function(){while(m<=o.e.r){if((k[m-1]||{}).hidden)continue;var r=Nk(e,o,m,d,n,s,c);++m;if(r.isempty===false||(n===1?c.blankrows!==false:!!c.blankrows)){t.push(r.row);return}}return t.push(null)};return t}var aT={to_json:tT,to_html:rT,to_csv:eT,set_readable:Qk};if(typeof jb!=="undefined")e.parse_xlscfb=jb;e.parse_zip=ak;e.read=pk;e.readFile=mk;e.readFileSync=mk;e.write=Ak;e.writeFile=Ik;e.writeFileSync=Ik;e.writeFileAsync=Rk;e.utils=Jk;e.writeXLSX=xk;e.writeFileXLSX=Ok;e.set_fs=rr;e.set_cptable=b;e.SSF=Xe;if(typeof aT!=="undefined")e.stream=aT;if(typeof Qe!=="undefined")e.CFB=Qe;if(typeof require!=="undefined"){var nT=undefined;if((nT||{}).Readable)Qk(nT.Readable);try{er=undefined}catch(th){}}}if(typeof exports!=="undefined")make_xlsx_lib(exports);else if(typeof module!=="undefined"&&module.exports)make_xlsx_lib(module.exports);else if(typeof define==="function"&&define.amd)define("xlsx",function(){if(!XLSX.version)make_xlsx_lib(XLSX);return XLSX});else make_xlsx_lib(XLSX);if(typeof window!=="undefined"&&!window.XLSX)try{window.XLSX=XLSX}catch(e){} diff --git a/dist/xlsx.core.min.map b/dist/xlsx.core.min.map index c06648e..5362768 100644 --- a/dist/xlsx.core.min.map +++ b/dist/xlsx.core.min.map @@ -1 +1 @@ -{"version":3,"sources":["dist/xlsx.js"],"names":["XLSX","make_xlsx_lib","version","current_codepage","current_ansi","$cptable","VALID_ANSI","CS2CP","0","1","2","77","128","129","130","134","136","161","162","163","177","178","186","204","222","238","255","69","set_ansi","cp","indexOf","reset_ansi","set_cp","reset_cp","char_codes","data","o","i","len","length","charCodeAt","utf16leread","String","fromCharCode","join","utf16lereadu","utf16beread","debom","c1","c2","slice","_getchar","_gc1","x","_getansi","_ga1","set_cptable","cptable","utils","decode","_gc2","_ga2","cpdoit","DENSE","DIF_XL","Base64_map","Base64_encode","input","c3","e1","e2","e3","e4","isNaN","charAt","Base64_encode_pass","Base64_encode_arr","Base64_decode","replace","has_buf","Buffer","undefined","node","Buffer_from","nbfs","from","e","buf","enc","bind","buf_utf16le","toString","new_raw_buf","alloc","Uint8Array","Array","new_unsafe_buf","allocUnsafe","s2a","s","split","map","s2ab","ArrayBuffer","view","a2s","isArray","c","a2u","Error","ab2a","bconcat","bufs","concat","isBuffer","maxlen","set","apply","call","utf8decode","content","out","widx","L","ridx","d","push","chr0","chr1","_strrev","pad0","v","t","fill","pad_","rpad_","pad0r1","Math","round","pad0r2","p2_32","pow","pad0r","SSF_isgeneral","days","months","SSF_init_table","table_fmt","3","4","9","10","11","12","13","14","15","16","17","18","19","20","21","22","37","38","39","40","45","46","47","48","49","56","SSF_default_map","5","6","7","8","23","24","25","26","27","28","29","30","31","50","51","52","53","54","55","57","58","59","60","61","62","67","68","70","71","72","73","74","75","76","78","79","80","81","82","SSF_default_str","63","64","65","66","41","42","43","44","SSF_frac","D","mixed","sgn","B","P_2","P_1","P","Q_2","Q_1","Q","A","floor","q","SSF_normalize_xl_unsafe","toPrecision","m","n","Number","SSF_parse_date_code","opts","b2","date","time","dow","dout","T","u","y","H","M","S","abs","date1904","Date","setDate","getDate","getFullYear","getMonth","getDay","SSF_fix_hijri","SSF_strip_decimal","SSF_normalize_exp","SSF_small_exp","w","toFixed","toExponential","SSF_large_exp","SSF_general_num","V","log","LOG10E","substr","toUpperCase","SSF_general","SSF_format","datenum","SSF_write_date","type","fmt","val","ss0","ss","tt","outl","outstr","commaify","j","pct1","write_num_pct","sfmt","mul","write_num","write_num_cm","idx","write_num_exp","match","period","ee","fakee","$$","$1","$2","$3","frac1","write_num_f1","r","aval","sign","den","parseInt","rr","base","myn","myd","write_num_f2","dec1","closeparen","phone","hashq","str","cc","rnd","dd","dec","_frac","carry","flr","write_num_flt","ffmt","ri","ff","oa","min","max","lres","rres","write_num_cm2","write_num_pct2","write_num_exp2","write_num_int","lastIndexOf","SSF_split_fmt","in_str","SSF_abstime","fmt_is_date","eval_fmt","flen","lst","dt","hr","toLowerCase","bt","ssm","_dt","nstr","jj","vv","myv","ostr","decpt","lasti","retval","cfregex2","chkcond","thresh","parseFloat","choose_fmt","f","l","lat","m1","m2","dateNF","table","SSF_load","SSF_load_table","tbl","make_ssf","SSF","format","load","_table","load_table","parse_date_code","is_date","get_table","SSFImplicit","32","33","34","35","36","dateNFregex","dateNF_regex","lastIndex","RegExp","dateNF_fix","Y","forEach","datestr","timestr","bad_formats","d.m","SSF__load","CRC32","signed_crc_table","Int32Array","T0","slice_by_16_tables","subarray","TT","T1","T2","T3","T4","T5","T6","T7","T8","T9","Ta","Tb","Tc","Td","Te","Tf","crc32_bstr","bstr","seed","C","crc32_buf","crc32_str","CFB","_CFB","exports","namecmp","R","Z","dirname","p","filename","write_dos_date","hms","getHours","getMinutes","getSeconds","write_shift","ymd","parse_dos_date","read_shift","setMilliseconds","setFullYear","setMonth","setHours","setMinutes","setSeconds","parse_extra_field","blob","prep_blob","flags","sz","tgt","mtime","atime","ctime","mt","sz1","sz2","usz","csz","fs","get_fs","_fs","parse","file","options","parse_zip","parse_mad","mver","ssz","nmfs","difat_sec_cnt","dir_start","minifat_start","difat_start","fat_addrs","mv","check_get_mver","header","check_shifts","dir_cnt","chk","sectors","sectorify","sleuth_fat","sector_list","make_sector_list","name","ENDOFCHAIN","files","Paths","FileIndex","FullPaths","read_directory","build_full_paths","shift","raw","HEADER_SIGNATURE","nsectors","ceil","FI","FP","pl","dad","get_mfat_entry","entry","payload","mini","start","size","MSSZ","__readInt32LE","new_buf","cnt","sector","get_sector_list","chkd","buf_chain","modulus","addr","nodes","__toBuffer","sl","k","seen","minifat_store","namelen","__utf16le","color","clsid","state","ct","read_date","storage","offset","__readUInt32LE","read_file","readFileSync","read","init_cfb","cfb","root","CLSID","seed_cfb","nm","find","rebuild_cfb","gc","_file","pop","now","fullPaths","Object","create","HEADER_CLSID","sort","elt","_write","_opts","fileType","write_mad","write_zip","mini_size","fat_size","mini_cnt","mfat_cnt","fat_base","fat_cnt","difat_cnt","HEADER_SIG","chainit","consts","DIFSECT","FATSECT","_nm","console","error","copy","path","UCFullPaths","UCPaths","UCPath","MAXREGSECT","FREESECT","HEADER_MINOR_VERSION","MAXREGSID","NOSTREAM","EntryTypes","write_file","writeFileSync","write","_zlib","use_zlib","zlib","InflateRaw","InflRaw","_processChunk","_finishFlushFlag","bytesRead","message","_inflateRawSync","_inflate","_deflateRawSync","deflateRawSync","_deflate","CLEN_ORDER","LEN_LN","DST_LN","bit_swap_8","use_typed_arrays","bitswap8","bit_swap_n","b","rev","read_bits_2","bl","h","read_bits_3","read_bits_4","read_bits_5","read_bits_7","read_bits_n","write_bits_3","write_bits_1","write_bits_8","write_bits_16","realloc","a","zero_fill_array","build_tree","clens","cmap","MAX","ccode","bl_count","Uint16Array","ctree","cleni","fix_lmap","fix_dmap","dlens","_deflateRaw","_deflateRawIIFE","DST_LN_RE","LEN_LN_RE","write_stored","boff","write_huff_fixed","addrs","hash","mlen","len_eb","dst_eb","off","dyn_lmap","dyn_dmap","dyn_cmap","dyn_len_1","dyn_len_2","dyn","_HLIT","_HDIST","_HCLEN","next_code","hcodes","h1","h2","inflate","outbuf","woff","OL","max_len_1","max_len_2","bits","code","dst","warn_or_throw","wrn","msg","fcnt","start_cd","efsz","fcsz","EF","parse_local_file","meth","crc32","_csz","_usz","ef","cfb_add","unsafe","cdirs","method","compression","desc","fp","fi","crcs","sz_cd","namebuf","ContentTypeMap","htm","xml","gif","jpg","png","mso","thmx","sh33tj5","get_content_type","ctype","ext","write_base64_76","write_quoted_printable","text","encoded","si","end","tmp","parse_quoted_printable","di","line","oi","parse_mime","fname","cte","fdata","trim","row","test","mboundary","boundary","start_di","ca","cstr","dispcnt","csl","qp","cfb_new","fpath","cfb_gc","cfb_del","splice","cfb_mov","old_name","new_name","writeFile","ReadShift","CheckField","_inflateRaw","set_fs","blobify","write_dl","Deno","TextEncoder","encode","utf8write","IE_SaveFile","Blob","navigator","msSaveBlob","saveAs","URL","document","createElement","createObjectURL","url","chrome","downloads","download","revokeObjectURL","setTimeout","href","body","appendChild","click","removeChild","b64","$","File","Folder","open","encoding","close","read_binary","infile","keys","ks","o2","prototype","hasOwnProperty","evert_key","obj","key","K","evert","evert_num","evert_arr","dnthresh","UTC","dnthresh1","dnthresh2","epoch","getTime","res","numdate","setTime","parse_isodur","sec","pdre1","pdre2","pdre3","parseDate","cc2str","arr","debomit","TextDecoder","€","‚","ƒ","„","…","†","‡","ˆ","‰","Š","‹","Œ","Ž","‘","’","“","”","•","–","—","˜","™","š","›","œ","ž","Ÿ","dup","JSON","stringify","fuzzynum","isFinite","NaN","wt","FDRE1","FDRE2","FDISO","utc_append_works","valueOf","fuzzytime1","fuzzytime2","lower_months","fuzzydate","local_to_utc","lower","lnos","getYear","split_regex","safe_split_regex","re","def","utc_to_local","utc","getUTCFullYear","getUTCMonth","getUTCDate","getUTCHours","getUTCMinutes","getUTCSeconds","getUTCMilliseconds","local","getMilliseconds","getdatastr","asNodeBuffer","asBinary","_data","getContent","getdatabin","getdata","safegetzipfile","zip","g","getzipfile","getzipdata","safe","getzipstr","getzipbin","zipentries","zip_add_file","zip_new","zip_read","resolve_path","result","target","step","XML_HEADER","attregexg","tagregex1","tagregex2","tagregex","nsregex","nsregex2","parsexmltag","tag","skip_root","skip_LC","z","eq","quot","strip_ns","encodings",""","'",">","<","&","rencoding","unescapexml","encregex","coderegex","raw_unescapexml","xlsx","decregex","charegex","escapexml","escapexmltag","htmlcharegex","escapehtml","escapexlml","xlml_fixstr","entregex","entrepl","xlml_unfixstr","parsexmlbool","value","utf8reada","orig","utf8readb","ww","utf8readc","utf8corpus","utf8read","matchtag","mtcache","htmldecode","entities","vtregex","vt_cache","vt_regex","vtvregex","vtmregex","parseVector","matches","baseType","WTF","wtregex","writetag","wxt_helper","writextag","write_w3cdtf","toISOString","write_vt","xlml_normalize","xlmlregex","XMLNS","CORE_PROPS","CUST_PROPS","EXT_PROPS","CT","RELS","TCMNT","dc","dcterms","dcmitype","mx","sjs","vt","xsi","xsd","XMLNS_main","XLMLNS","html","read_double_le","Infinity","write_double_le","bs","av","LN2","___toBuffer","___utf16le","__readUInt16LE","___hexlify","__hexlify","___utf8","__readUInt8","__utf8","utf8_b","___lpstr","__lpstr","___cpstr","__cpstr","___lpwstr","__lpwstr","___lpp4","lpp4_","__lpp4","___8lpp4","__8lpp4","___double","__double","is_buf","is_buf_a","lpstr_b","readUInt32LE","cpstr_b","lpwstr_b","lpp4_b","lpp4_8b","double_","readDoubleLE","is_buf_b","__readInt16LE","__readInt32BE","oI","oR","oo","loc","this","lens","__writeUInt32LE","__writeInt32LE","__writeUInt16LE","WriteShift","cpp","hexstr","fld","pos","parsenoop","recordhopper","cb","tmpbyte","cntbyte","RT","XLSBRecordEnum","buf_array","blksz","newblk","ba_newblk","curbuf","endbuf","ba_endbuf","next","ba_next","ba_end","ba_push","_bufs","write_record","ba","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","module","require","decode_row","rowstr","unfix_row","decode_col","colstr","unfix_col","col","split_cell","decode_cell","decode_range","encode_range","cs","ce","fix_range","a1","formula_quote_sheet_name","sname","safe_decode_range","safe_format_cell","XF","numFmtId","format_cell","BErr","sheet_to_workbook","sheet","sheets","SheetNames","Sheets","sheet_new","dense","sheet_add_aoa","_ws","ws","_R","_C","origin","_origin","_range","__R","__Rstr","__C","nullError","sheetStubs","cellDates","cell_ref","aoa_to_sheet","parse_Int32LE","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","write_XLSBCell","parse_XLSBShortCell","write_XLSBShortCell","parse_XLSBCodeName","write_XLSBCodeName","parse_XLNullableWideString","write_XLNullableWideString","parse_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","parse_BrtColor","xColorType","index","nTS","bR","bG","bB","auto","icv","XLSIcv","rgb","rgb2Hex","theme","tint","write_BrtColor","parse_FontFlags","fBold","fItalic","fUnderline","fStrikeout","fOutline","fShadow","fCondense","fExtend","write_FontFlags","font","grbit","italic","strike","outline","shadow","condense","extend","parse_ClipboardFormatOrString","ClipFmt","parse_ClipboardFormatOrAnsiString","parse_ClipboardFormatOrUnicodeString","VT_I2","VT_I4","VT_BOOL","VT_VARIANT","VT_UI4","VT_FILETIME","VT_BLOB","VT_CF","VT_VECTOR_VARIANT","VT_VECTOR_LPSTR","VT_STRING","VT_USTR","VT_CUSTOM","DocSummaryPIDDSI","2147483648","2147483651","1919054434","SummaryPIDSI","CountryEnum","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","_XLSIcv","RBErr","#NULL!","#DIV/0!","#VALUE!","#REF!","#NAME?","#NUM!","#N/A","#GETTING_DATA","#WTF?","XLSLblBuiltIn","ct2type","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml","application/vnd.ms-excel.sheet.macroEnabled.main+xml","application/vnd.ms-excel.sheet.binary.macroEnabled.main","application/vnd.ms-excel.addin.macroEnabled.main+xml","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml","application/vnd.ms-excel.worksheet","application/vnd.ms-excel.binIndexWs","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml","application/vnd.ms-excel.chartsheet","application/vnd.ms-excel.macrosheet+xml","application/vnd.ms-excel.macrosheet","application/vnd.ms-excel.intlmacrosheet","application/vnd.ms-excel.binIndexMs","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml","application/vnd.ms-excel.dialogsheet","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml","application/vnd.ms-excel.sharedStrings","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml","application/vnd.ms-excel.styles","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.openxmlformats-officedocument.spreadsheetml.comments+xml","application/vnd.ms-excel.comments","application/vnd.ms-excel.threadedcomments+xml","application/vnd.ms-excel.person+xml","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml","application/vnd.ms-excel.sheetMetadata","application/vnd.ms-excel.pivotTable","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml","application/vnd.openxmlformats-officedocument.drawingml.chart+xml","application/vnd.ms-office.chartcolorstyle+xml","application/vnd.ms-office.chartstyle+xml","application/vnd.ms-office.chartex+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.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.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","xlsm","xlsb","xlam","xltx","strs","comments","charts","dialogs","macros","metadata","styles","new_ct","rels","threadedcomments","links","coreprops","extprops","custprops","themes","calcchains","vba","drawings","people","TODO","xmlns","parse_ct","ctext","Extension","ContentType","PartName","calcchain","sst","style","defaults","write_ct","type2ct","xmlns:xsd","xmlns:xsi","f1","bookType","f2","f3","WB","SHEET","HLINK","VML","XPATH","XMISS","XLINK","CXML","CXMLP","CMNT","SST","STY","THEME","CHART","CHARTEX","CS","WS","DS","MS","IMG","DRAW","XLMETA","PEOPLE","CONN","VBA","get_rels_path","parse_rels","currentFilePath","!id","rel","Type","Target","Id","TargetMode","canonictarget","write_rels","rid","add_rels","rId","relobj","targetmode","CT_ODS","parse_manifest","Rn","FEtag","exec","write_manifest","manifest","write_rdf_type","write_rdf_has","write_rdf","rdf","write_meta_ods","wb","CORE_PROPS_REGEX","parse_core_props","cur","cp_doit","write_core_props","xmlns:cp","xmlns:dc","xmlns:dcterms","xmlns:dcmitype","Props","CreatedDate","xsi:type","ModifiedDate","PseudoPropsPairs","load_props_pairs","HP","TOP","props","hp","parts","Worksheets","NamedRanges","DefinedNames","Chartsheets","ChartNames","parse_ext_props","HeadingPairs","TitlesOfParts","write_ext_props","W","Application","xmlns:vt","custregex","parse_cust_props","toks","warn","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","write_FILETIME","parse_lpstr","pad","parse_lpwstr","parse_VtStringBase","stringType","parse_VtString","parse_VtUnalignedString","parse_VtVecLpwstrValue","ret","parse_VtVecUnalignedLpstrValue","parse_VtHeadingPair","headingString","parse_TypedPropertyValue","headerParts","parse_VtVecHeadingPairValue","cElements","parse_dictionary","CodePage","dict","parse_BLOB","bytes","parse_ClipboardData","Size","write_TypedPropertyValue","parse_PropertySet","PIDSI","start_addr","NumProps","Dictionary","DictObj","PropID","Offset","PropH","fail","piddsi","oldpos","parsebool","XLSPSSkip","guess_property_type","write_PropertySet","entries","RE","hdr","piao","prop","pr","pio","unshift","pinfo","parse_PropertySetStream","NumSets","FMTID0","FMTID1","Offset0","Offset1","SystemIdentifier","PSet0","rval","FMTID","PSet1","write_PropertySetStream","entries2","clsid2","ps0","ps1","parsenoop2","writezeroes","parslurp","writebool","parseuint16","writeuint16","parseuint16a","parse_Bes","write_Bes","parse_ShortXLUnicodeString","cch","fHighByte","parse_XLUnicodeRichExtendedString","fExtSt","fRichSt","width","cRun","cbExtRst","write_XLUnicodeRichExtendedString","xlstr","nfmts","otext","parse_XLUnicodeStringNoCch","parse_XLUnicodeString","parse_XLUnicodeString2","write_XLUnicodeString","parse_ControlInfo","accel","parse_URLMoniker","extra","parse_FileMoniker","cAnti","preamble","ansiPath","unicodePath","parse_HyperlinkMoniker","parse_HyperlinkString","write_HyperlinkString","parse_Hyperlink","sVer","displayName","targetFrameName","moniker","oleMoniker","Loc","guid","fileTime","Tooltip","write_Hyperlink","hl","hashidx","F","Pretarget","parse_LongRGBA","parse_LongRGB","parse_XLSCell","rw","ixfe","write_XLSCell","parse_frtHeader","rt","parse_OptXLUnicodeString","parse_XTI","iSupBook","itabFirst","itabLast","parse_RkRec","parse_AddinUdf","udfName","parse_Ref8U","rwFirst","rwLast","colFirst","colLast","write_Ref8U","parse_RefU","parse_Ref","parse_FtCmo","ot","id","parse_FtNts","fSharedNote","parse_FtCf","cf","parse_FtSkip","FtTab","parse_FtArray","fts","ft","parse_BOF","BIFFVer","write_BOF","parse_InterfaceHdr","parse_WriteAccess","UserName","write_WriteAccess","b8","parse_WsBool","fDialog","fBelow","fRight","parse_BoundSheet8","hidden","hs","write_BoundSheet8","parse_SST","ucnt","Count","Unique","write_SST","parse_ExtSST","extsst","dsst","parse_Row","miyRw","level","hpt","parse_ForceFullCalculation","fullcalc","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","write_Window1","parse_Window2","RTL","write_Window2","parse_Pane","parse_Font","dyHeight","write_Font","b5","parse_LabelSst","isst","write_LabelSst","os","parse_Label","biffguess","write_Label","parse_Format","fmtstr","write_Format","parse_BIFF2Format","write_BIFF2Format","write_BIFF4Format","parse_Dimensions","write_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_XF","fStyle","write_XF","ixfeP","parse_BIFF2XF","write_BIFF2XF","xf","write_BIFF3XF","write_BIFF4XF","parse_BIFF3XF","parse_BIFF4XF","parse_Guts","write_Guts","guts","parse_BoolErr","write_BoolErr","parse_Number","xnum","write_Number","parse_XLHeaderFooter","parse_SupBook","ctab","sbcch","virtPath","rgst","parse_ExternName","fBuiltIn","fWantAdvise","fWantPict","fOle","fOleLink","fIcon","Name","parse_Lbl","chKey","cce","itab","npflen","rgce","parse_NameParsedFormula","parse_ExternSheet","parse_BIFF5ExternSheet","parse_NameCmt","cchName","cchComment","comment","parse_ShrFmla","ref","cUse","parse_SharedParsedFormula","parse_Array","parse_ArrayParsedFormula","parse_MTRSettings","fMTREnabled","fUserSetThreadCount","cUserThreadCount","parse_NoteSh","idObj","stAuthor","parse_Note","cmnt","write_NOTE_BIFF2","parse_MergeCells","merges","cmcs","write_MergeCells","parse_Obj","parse_BIFF5Obj","cmo","parse_BIFF5OT","parse_TxO","texts","lastobj","controlInfo","cchText","parse_HLink","hlink","write_HLink","O","parse_HLinkTooltip","wzTooltip","write_HLinkTooltip","parse_Country","write_Country","parse_ClrtClient","ccv","parse_Palette","parse_XFCRC","cxfs","crc","parse_ColInfo","coldx","write_ColInfo","parse_Setup","footer","parse_ShtProps","area","write_RRTabId","parse_Blank","parse_Scl","parse_String","parse_ImData","env","lcb","write_BIFF2Cell","ifmt","parse_BIFF2STR","parse_BIFF2NUM","num","write_BIFF2NUM","parse_BIFF2INT","write_BIFF2INT","parse_BIFF2STRING","parse_BIFF2BOOLERR","bestart","parse_BIFF2FONTXTRA","parse_RString","parse_BIFF4SheetInfo","DBF_SUPPORTED_VERSIONS","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","87","88","89","108","135","dbf_reverse_map","dbf_to_aoa","memo","vfp","l7","nrow","fpos","rlen","current_cp","codepage","fields","field","hend","hi","lo","sheetRows","dbf_to_sheet","wch","dbf_to_workbook","_RLEN","?","","sheet_to_dbf","old_cp","aoa","sheet_to_json","headers","cols","hcnt","coltypes","colwidths","coldecimals","guess","_guess","hf","_f","hb","rout","_n","_l","_s","to_workbook","to_sheet","from_sheet","SYLK","sylk_escapes","AA","BA","CA","DA","HA","JA","AE","BE","CE","HE","AI","BI","CI","HI","AO","BO","CO","DO","HO","AU","BU","CU","HU","Aa","Ba","Ca","Da","Ha","Ja","Ae","Be","Ce","He","Ai","Bi","Ci","Hi","Ao","Bo","Co","Do","Ho","Au","Bu","Cu","Hu","KC","Kc","DN","Dn","Hy","B ","!","\"","#","(","%","'","H ","+",";","<","=",">","{","sylk_char_regex","sylk_char_fn","_","decode_sylk_char","newcc","encode_sylk_str","sylk_to_aoa","sylk_to_aoa_str","records","rj","formats","next_cell_format","sht","rowinfo","colinfo","cw","Mval","Workbook","WBProps","Names","rstr","record","d1904","nn","Sheet","Ref","rc_to_a1","C_seen_K","C_seen_X","C_seen_S","C_seen_E","formula","cell_t","cellText","shrbase","shift_formula_str","F_seen","hpx","pt2px","process_col","sylk_to_workbook","aoasht","outwb","write_ws_cell_sylk","a1_to_rc","write_ws_cmnt_sylk","write_ws_cols_sylk","rec","wpx","width2px","px2char","write_ws_rows_sylk","rows","px2pt","sheet_to_sylk","_formats","RS","_lastfmt","DIF","dif_to_aoa","dif_to_aoa_str","dif_to_sheet","dif_to_workbook","make_value","make_value_str","sheet_to_dif","_DIF_XL","ETH","eth_to_aoa","eth_to_sheet","eth_to_workbook","sep","meta","sheet_to_eth_data","coord","sheet_to_eth","PRN","set_text_arr","prn_to_aoa_str","lines","guess_seps","guess_sep_weights","guess_sep","instr","dsv_to_sheet_str","FS","sepcc","startcc","_re","finish_cell","fuzzyfmla","news","cellNF","outer","prn_to_sheet_str","prn_to_sheet","firstbyte","prn_to_workbook","sheet_to_prn","read_wb_ID","OLD_WTF","WK_","lotushopper","Enum","WK1Enum","lotus_to_workbook","lotus_to_workbook_buf","LOTUS_DATE_FMTS","next_n","sidx","snames","realnames","sdata","refguess","lastcell","qpw_to_workbook_buf","vers","qpro","works","works2","tmpcell","WK3Enum","osheets","rnames","!ref","sheet_to_wk1","write_biff_rec","write_BOF_WK1","write_RANGE","max_R","write_INTEGER","write_NUMBER","write_LABEL","book_to_wk3","write_BOF_WK3","write_XFORMAT_SHEETNAME","wsidx","write_NUMBER_17","write_LABEL_16","wscnt","parse_RANGE","parse_cell","get_wk1_fmt","parse_LABEL","parse_STRING","parse_INTEGER","parse_NUMBER","parse_FORMULA","wk1_fmla_to_csf","wk1_parse_rc","FuncTab","83","109","111","BinOpTab","argc","argL","argR","args","parse_cell_3","parse_LABEL_16","parse_NUMBER_18","parse_NUMBER_17","v1","v2","log2","parse_FORMULA_19","parse_NUMBER_25","parse_NUMBER_27","parse_FORMULA_28","parse_SHEETNAMECS","parse_SHEETNAMELP","parse_SHEETINFOQP","parse_XFORMAT","21506","142","147","153","154","155","156","174","175","176","184","185","187","188","195","205","206","207","208","256","259","260","261","262","263","265","266","267","268","270","271","384","389","390","393","396","512","514","513","516","517","640","641","642","643","644","645","646","647","648","658","659","660","661","662","665","666","768","772","1537","1600","1602","1793","1794","1795","1796","1920","2048","2049","2052","2688","10998","12849","28233","28484","QPWNFTable","288","304","320","parse_qpw_str","formulae","FMTS","book_append_sheet","CC","fmtidx","delta","newcell","parse_rpr","rpr","pass","uval","family","valign","parse_rs","tregex","rpregex","parse_r","rregex","rend","rs","filter","rs_to_html","parse_rs_factory","nlregex","parse_rpr2","intro","outro","align","r_to_html","terms","sitregex","sirregex","sirphregex","parse_si","cellHTML","sstr0","sstr1","sstr2","parse_sst_xml","count","uniqueCount","straywsregex","write_sst_xml","bookSST","sitag","parse_BrtBeginSst","parse_sst_bin","hopper_sst","write_BrtBeginSst","write_BrtSSTItem","write_sst_bin","_JS2ANSI","parse_CRYPTOVersion","Major","Minor","parse_DataSpaceVersionInfo","U","parse_DataSpaceMapEntry","comps","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","KeyData","xml_agile","encryptedHmacKey","encryptedHmacValue","encs","uri","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","parse_FilePassHeader","Info","parse_FilePass","rtf_to_sheet","rtf_to_sheet_str","rowtf","rtfre","last_index","rtf_to_workbook","sheet_to_rtf","hex2RGB","rgb2HSL","G","H6","L2","hsl2RGB","hsl","h6","X","rgb_tint","hex","DEF_MDW","MAX_MDW","MIN_MDW","MDW","px","char2width","chr","cycle_width","collw","find_mdw_colw","_MDW","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","diagonalUp","diagonalDown","parse_fills","Fills","bgColor","indexed","fgColor","parse_fonts","Fonts","bold","underline","vertAlign","scheme","themeElements","clrScheme","parse_numFmts","NumberFmt","formatCode","write_numFmts","NF","cellXF_uint","cellXF_bool","parse_cellXfs","CellXf","alignment","vertical","horizontal","textRotation","indent","wrapText","write_cellXfs","cellXfs","parse_sty_xml","make_pstyx","numFmtRegex","cellXfRegex","fillsRegex","fontsRegex","bordersRegex","write_sty_xml","parse_BrtFmt","stFmtCode","write_BrtFmt","parse_BrtFont","bls","bCharSet","charset","write_BrtFont","sss","XLSBFillPTNames","rev_XLSBFillPTNames","parse_BrtFill","write_BrtFill","fls","parse_BrtXF","ixfeParent","write_BrtXF","flow","write_Blxf","parse_BrtBorder","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","XLSXThemeClrScheme","parse_clrScheme","lastClr","parse_fontScheme","parse_fmtScheme","clrsregex","fntsregex","fmtsregex","parse_themeElements","themeltregex","parse_theme_xml","write_theme","Themes","themeXLSX","parse_Theme","dwThemeVersion","themeXML","parse_ColorTheme","parse_FullColorExt","xclrType","nTintShade","xclrValue","parse_IcvXF","parse_XFExtGradient","parse_ExtProp","extType","parse_XFExt","cexts","update_xfext","xfext","xfe","parse_BrtMdtinfo","write_BrtMdtinfo","parse_BrtMdb","write_BrtMdb","mdb","write_BrtBeginEsfmd","parse_BrtBeginEsmdb","write_BrtBeginEsmdb","cm","parse_xlmeta_bin","Types","Cell","metatype","write_xlmeta_bin","parse_xlmeta_xml","lastmeta","offsets","write_xlmeta_xml","parse_cc_xml","parse_BrtCalcChainItem$","parse_cc_bin","hopper_cc","parse_xlink_xml","parse_xlink_bin","xlink_parse","parse_drawing","shapevmlregex","parse_vml","cidx","aidx","ObjectType","ws_get_cell_stub","write_vml","csize","bbox","xmlns:v","xmlns:o","xmlns:x","xmlns:mv","v:ext","_shapeid","_comments","joinstyle","gradientshapeok","o:connecttype","coordsize","o:spt","write_vml_comment","fillopts","color2","angle","fillparm","fillxml","shadata","on","obscured","fillcolor","strokecolor","sheet_insert_comments","threaded","author","parse_comments_xml","authors","commentList","authtag","cmnttag","authorId","textMatch","write_comments_xml","iauthor","ID","lastauthor","ts","tcnt","parse_tcmnt_xml","tidx","xml_tcmnt","personId","write_tcmnt_xml","carr","rootid","tcopts","tcid","parentId","parse_people_xml","displayname","write_people_xml","person","userId","providerId","parse_BrtBeginComment","rfx","write_BrtBeginComment","parse_BrtCommentAuthor","write_BrtCommentAuthor","parse_comments_bin","hopper_cmnt","write_comments_bin","_ia","CT_VBA","make_vba_xls","newcfb","newpath","fill_vba_xls","VBAFMTS","parse_ds_bin","!type","parse_ds_xml","parse_ms_bin","parse_ms_xml","rcregex","rcbase","rcfunc","fstr","crefregex","$0","$4","$5","shift_formula_xlsx","_xlfn","parseread1","parse_ColRelU","parse_RgceArea","parse_RgceArea_BIFF2","parse_RgceAreaRel","parse_RgceLoc","parse_RgceLoc_BIFF2","parse_RgceElfLoc","fQuoted","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","parse_PtgRefN","parse_PtgRef3d","parse_PtgFunc","iftab","FtabArgc","Ftab","parse_PtgFuncVar","cparams","tab","parsetab","Cetab","parse_PtgAttrSum","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_PtgMemErr","parse_PtgMemNoMem","parse_PtgTbl","parse_PtgElfLoc","parse_PtgElfNoop","parse_PtgElfCol","parse_PtgElfColS","parse_PtgElfColSV","parse_PtgElfColV","parse_PtgElfLel","parse_PtgElfRadical","parse_PtgElfRadicalLel","parse_PtgElfRadicalS","parse_PtgElfRw","parse_PtgElfRwV","PtgListRT","parse_PtgList","coltype","parse_PtgSxName","parse_PtgSheet","parse_PtgEndSheet","parse_PtgMemAreaN","parse_PtgMemNoMemN","parse_PtgAttrNoop","PtgTypes","PtgDupes","96","97","98","99","110","91","92","93","Ptg18","Ptg19","parse_RgbExtra","parse_Rgce","ptgs","stringify_array","PtgBinOp","PtgAdd","PtgConcat","PtgDiv","PtgEq","PtgGe","PtgGt","PtgLe","PtgLt","PtgMul","PtgNe","PtgPower","PtgSub","make_3d_range","get_ixti_raw","supbooks","XTI","SID","get_ixti","ixtiraw","stringify_formula","stack","nameidx","last_sp","sp","fflen","func","lbl","names","xlfn","bookidx","externbook","ixtidata","lp","rp","sharedf","parsedf","fnd","arrayf","PtgNonDisp","_left","rgcb","parse_XLSCellParsedFormula","parse_FormulaValue","write_FormulaValue","parse_Formula","cbf","shared","write_Formula","o1","o3","bf","parse_XLSBParsedFormula","parse_XLSBArrayParsedFormula","parse_XLSBCellParsedFormula","parse_XLSBNameParsedFormula","parse_XLSBSharedParsedFormula","write_XLSBFormulaNum","oint","write_XLSBFormulaErr","write_XLSBFormulaBool","write_XLSBFormulaStr","postamble","write_XLSBFormulaRef","write_XLSBFormulaRef3D","lastbang","write_XLSBFormulaRefErr3D","write_XLSBFormulaRange","_str","write_XLSBFormulaRangeWS","write_XLSBFormulaArea3D","write_XLSBFormula","write_XLSBNameParsedFormula","85","94","95","112","113","114","115","116","117","118","119","127","131","132","133","137","138","139","140","143","144","145","146","148","149","159","164","166","167","168","169","170","171","172","173","189","190","191","192","193","194","196","197","198","199","209","210","211","212","214","215","217","219","220","223","224","225","226","227","228","229","240","243","249","250","251","252","253","254","269","272","273","274","276","277","278","279","280","281","282","283","284","285","289","290","291","292","293","295","296","297","298","302","305","306","307","308","309","310","311","312","313","314","315","316","318","319","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","385","386","388","391","392","394","395","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","518","519","520","521","522","523","545","546","547","548","549","620","621","653","667","673","753","755","808","141","157","158","160","165","179","180","181","182","183","221","230","231","232","233","234","235","236","237","239","241","242","244","245","246","247","248","257","258","264","275","286","287","294","299","300","301","303","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","401","402","403","404","405","406","407","408","409","410","411","418","419","426","427","428","429","457","724","479","483","484","ods_to_csf_formula","csf_to_ods_formula","ods_to_csf_3D","csf_to_ods_3D","_ssfopts","browser_has_Map","Map","get_sst_id","has","revarr","get","col_obj_w","outlineLevel","default_margins","margins","mode","defs","left","right","top","bottom","get_cell_style","revssf","ssf","applyNumberFormat","safe_format","fillid","raw_rgb","check_ws","parse_ws_xml_dim","mergecregex","sheetdataregex","hlinkregex","dimregex","colregex","afregex","marginregex","sheetprregex","sheetprregex2","svsregex","parse_ws_xml","data1","data2","mtch","sheetPr","parse_ws_xml_sheetpr","parse_ws_xml_sheetpr2","nodim","svs","parse_ws_xml_sheetviews","columns","parse_ws_xml_cols","parse_ws_xml_data","afilter","parse_ws_xml_autofilter","_merge","parse_ws_xml_hlinks","parse_ws_xml_margins","tmpref","write_ws_xml_merges","codeName","CodeName","write_ws_xml_sheetpr","needed","vbaraw","cname","outlineprops","summaryBelow","summaryRight","above","sheetprot_deffalse","sheetprot_deftrue","write_ws_xml_protection","location","Rel","tooltip","rng","margin","write_ws_xml_margins","seencol","coli","colm","colM","write_ws_xml_cols","write_ws_xml_autofilter","sviewregex","Views","zoomScale","zoom","rightToLeft","write_ws_xml_sheetviews","sview","workbookViewId","write_ws_xml_cell","oldt","oldv","_vv","Strings","revStrings","display","cellregex","rowregex","isregex","refregex","match_v","match_f","cells","cref","tagr","tagc","sstr","ftag","do_format","rowobj","rowrite","marr","marrlen","xlen","rstarti","outa","ht","rslice","cellFormula","___f","_tag","xlmeta","_r","write_ws_xml_data","params","height","_cell","customHeight","write_ws_xml","xmlns:r","rdata","_drawing","sheetFormat","defaultRowHeight","baseColWidth","outlineLevelRow","relc","ignoreEC","numberStoredAsText","sqref","r:id","parse_BrtRowHdr","write_BrtRowHdr","ncolspan","lcs","caddr","first","last","write_row_header","parse_BrtWsDim","write_BrtWsDim","parse_BrtWsFmtInfo","parse_BrtWsProp","write_BrtWsProp","parse_BrtCellBlank","write_BrtCellBlank","ncell","parse_BrtShortBlank","write_BrtShortBlank","parse_BrtCellBool","fBool","write_BrtCellBool","parse_BrtShortBool","write_BrtShortBool","parse_BrtCellError","bError","write_BrtCellError","parse_BrtShortError","write_BrtShortError","parse_BrtCellIsst","write_BrtCellIsst","parse_BrtShortIsst","write_BrtShortIsst","parse_BrtCellReal","write_BrtCellReal","parse_BrtShortReal","write_BrtShortReal","parse_BrtCellRk","write_BrtCellRk","parse_BrtShortRk","write_BrtShortRk","parse_BrtCellRString","parse_BrtCellSt","write_BrtCellSt","parse_BrtShortSt","write_BrtShortSt","parse_BrtFmlaBool","parse_BrtFmlaError","parse_BrtFmlaNum","parse_BrtFmlaString","parse_BrtMergeCell","write_BrtMergeCell","write_BrtBeginMergeCells","parse_BrtHLink","relId","write_BrtHLink","locidx","parse_BrtPane","parse_BrtArrFmla","fAlwaysCalc","parse_BrtShrFmla","write_BrtColInfo","BrtMarginKeys","parse_BrtMargins","write_BrtMargins","parse_BrtBeginWsView","write_BrtBeginWsView","write_BrtCellIgnoreEC","write_BrtSheetProtection","parse_BrtDVal","parse_BrtDVal14","parse_ws_bin","ai","af","vm","ws_parse","RR","aii","_d","write_ws_bin_cell","last_seen","write_CELLTABLE","cap","write_MERGECELLS","write_COLINFOS","write_IGNOREECS","write_HLINKS","write_LEGACYDRAWING","write_AUTOFILTER","write_WSVIEWS2","write_WSFMTINFO","write_SHEETPROTECT","write_ws_bin","parse_Cache","nf","parse_chart","csheet","nc","cache","parse_cs_xml","!drawel","!rel","parse_BrtCsProp","parse_cs_bin","cs_parse","WBPropsDef","WBViewDef","SheetDef","CalcPrDef","push_defaults_array","push_defaults","parse_wb_defaults","CalcPr","WBView","safe1904","badchars","check_ws_name","check_wb_names","N","codes","cn","check_wb","dn","wbnsregex","parse_wb_xml","dname","dnstart","xml_wb","Hidden","Comment","localSheetId","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","write_BrtName","parse_wb_bin","hopper_wb","write_BUNDLESHS","viz","write_BrtFileVersion","write_BrtBookView","write_BOOKVIEWS","vistab","write_BRTNAMES","write_SELF_EXTERNS_xlsb","write_EXTERNALS_xlsb","write_wb_bin","parse_wb","parse_ws","parse_cs","parse_ms","parse_ds","parse_sty","parse_sst","parse_cmnt","parse_cc","parse_xlink","parse_xlmeta","attregexg2","attregex2","xlml_parsexmltag","words","xlml_parsexmltagobj","XLMLFormatMap","xlml_format","xlml_set_custprop","oval","safe_format_xlml","process_style_xlml","stag","Interior","I","Pattern","parse_xlml_data","csty","sid","StyleID","interiors","Parent","Formula","ArrayRange","xlml_prefix_dname","xlml_clean_comment","parse_xlml_xml","opening","ishtml","_o","html_to_workbook","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","sheetnames","cursheet","sheetname","dtag","didx","fidx","pidx","cstys","wsprops","raw_Rn3","HRef","HRefScreenTip","MergeAcross","MergeDown","cma","cmd","AutoFitHeight","Height","Format","ssfidx","Width","_col","Span","_NamedRange","_DefinedName","RefersTo","AutoFilter","Range","parse_fods","Margin","pagemargins","Top","Left","Right","Bottom","bookSheets","bookProps","parse_xlml","fix_read_opts","write_props_xlml","write_wb_xlml","write_sty_xlml","ss:Format","ss:ID","write_name_xlml","ss:Name","ss:RefersTo","write_names_xlml","write_ws_xlml_names","write_ws_xlml_wsopts","x:Margin","x:Bottom","x:Left","x:Right","x:Top","objects","scenarios","selectLockedCells","selectUnlockedCells","write_ws_xlml_comment","write_ws_xlml_cell","attr","mi","_v","write_ws_xlml_row","write_ws_xlml_table","ss:Index","skip","write_ws_xlml","write_xlml","General","xmlns:ss","xmlns:dt","xmlns:html","parse_compobj","AnsiUserType","AnsiClipboardFormat","Reserved1","UnicodeClipboardFormat","Reserved2","CONTINUE_RT","slurp","RecordType","nextrt","XLSRecordEnum","ll","safe_format_xf","make_cell","parse_workbook","Directory","last_formula","cur_sheet","Preamble","last_cell","rngC","rngR","temp_val","country","XFs","palette","biff4w","get_rgb","getrgb","process_cell_style","pcs","xfd","addcell","file_depth","afi","rrtabid","lastuser","winlocked","wtf","last_RT","BIFF2Fmt","BIFF2FmtTable","FilterDatabases","last_lbl","seen_codepage","Date1904","WriteProtect","cpval","CalcRefMode","FullCalc","ExternCount","tmpri","1033","1024","1280","1536","fakebs8","_fr","_fc","_fe","_arraystart","_j","_ixfe","b4idx","b2idx","TxO","ImData","noteobj","Encryption","Metadata","Country","PSCLSID","SI","DSI","UDI","parse_xls_props","DocSummary","Summary","write_xls_props","DSEntries","SEntries","CEntries","Keys","DocSummaryRE","SummaryRE","CEntries2","parse_xlscfb","CompObj","WorkbookP","bookVBA","bookFiles","write_xlscfb","wbpath","write_biff_buf","333","486","487","488","490","492","496","497","498","499","500","501","502","503","504","505","506","507","508","515","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","649","650","651","652","654","655","656","657","663","664","668","669","671","672","674","675","676","677","678","679","680","681","1025","1026","1027","1028","1029","1030","1031","1032","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","1064","1065","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","2050","2051","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","2137","2138","2139","2140","2141","3072","3073","4096","4097","5002","5003","5081","5082","5083","5084","5085","5086","5087","5088","5089","5090","5092","5093","5094","5095","5096","5097","5099","1212","2059","2061","2062","2063","2064","2066","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","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","2262","29282","write_biff_continue","write_BIFF2BERR","write_BIFF2LABEL","write_comments_biff2","write_ws_biff2_cell","_BIFF2FmtTable","write_ws_biff2","write_biff2_buf","_Fonts","b8oid","b8ocnts","write_MsoDrawingGroup","acc","write_comments_biff8","notes","baseid","_oasc","ci","oasc","oact","txo","cont","conf","notesh","write_FONTS_biff8","write_FMTS_biff8","write_FEAT","write_CELLXFS_biff8","write_ws_biff8_hlinks","HL","write_ws_cols_biff8","write_ws_biff8_cell","write_ws_biff8","_WB","_sheet","MAX_ROWS","write_biff8_global","_sheets","_wb","blen","write_biff8_buf","fix_write_opts","html_to_sheet","mtch2","hd","midx","colspan","rowspan","_t","make_html_row","editable","HTML_BEGIN","HTML_END","book_new","make_html_preamble","sheet_to_html","sheet_add_dom","tagName","or_R","or_C","is_dom_element_hidden","elts","hasAttribute","getAttribute","innerHTML","Aelts","getElementsByTagName","Aelti","parse_dom_table","table_to_book","element","get_computed_style","get_get_computed_style_function","getPropertyValue","ownerDocument","defaultView","getComputedStyle","parse_text_p","fixed","parse_ods_styles","_nfm","number_format_map","NFtag","tNF","etpos","infmt","parse_content_xml","nfidx","sheetag","rowtag","ctag","textp","textpidx","textptag","oldtextp","oldtextpidx","textR","oldtextR","row_ol","mrange","mR","mC","rowpeat","colpeat","atag","_Ref","creator","creatoridx","isstub","intable","rptR","rpt","annotag","xlmlidx","styletag","nrange","ptp","parse_ods","Styles","write_styles_ods","master_styles","xmlns:office","xmlns:table","xmlns:style","xmlns:text","xmlns:draw","xmlns:fo","xmlns:xlink","xmlns:number","xmlns:svg","xmlns:of","office:version","wso","write_number_format_ods","nopts","style:name","number:min-integer-digits","number:min-numerator-digits","number:max-denominator-value","number:denominator-value","number:decimal-places","number:min-decimal-places","has_time","np","write_names_ods","scoped","namei","odsref","table:name","table:cell-range-address","table:base-cell-address","write_content_ods","write_text_p","null_cell_xml","write_ws","nfs","ods","ROWS","_Fref","text_p","_tgt","xlink:href","acreator","apayload","aprops","write_automatic_styles_ods","colobj","nfi","wcx","xmlns:meta","xmlns:presentation","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:xhtml","xmlns:grddl","xmlns:tableooo","xmlns:drawooo","xmlns:calcext","xmlns:loext","xmlns:field","xmlns:formx","xmlns:css3t","fods","xmlns:config","office:mimetype","write_ods","u8_to_dataview","array","DataView","buffer","byteOffset","byteLength","u8str","u8","stru8","u8concat","u8a","popcnt","readDecimal128LE","exp","mantissa","writeDecimal128LE","parse_varint49","ptr","varint","write_varint49","parse_packed_varints","write_packed_varints","nums","varint_to_i32","i32","varint_to_u64","parse_shallow","write_shallow","proto","item","mappa","parse_iwa_file","_a","messages","merge","write_iwa_file","ias","ia","midata","aipayload","mid","parse_snappy_chunk","chunks","clen","u8i","decompress_iwa_file","compress_iwa_file","frame","numbers_lut_new","rsst","ofmt","nfmt","fmla","ferr","numbers_format_cell","_b","_c","ver","dur","dstyle","dmin","dmax","autodur","dstr","zstr","parse_old_storage","lut","dv","getUint32","zidx","ieee","doff","getFloat64","rts","parse_new_storage","d128","eidx","cmntidx","iwa_to_s5s_comment","write_new_storage","setFloat64","irsst","findIndex","setUint32","s5s_to_iwa_comment","write_old_storage","parse_cell_storage","parse_TSP_Reference","pb","write_TSP_Reference","numbers_add_oref","iwa","orefs","orefidx","numbers_del_oref","parse_TST_TableDataList","le","rtp","rtpref","mtype","tswpsa","richtext","sfields","smartfields","sf","_a2","_b2","objtype","parse_TSD_CommentStorageArchive","parse_TST_TileRowInfo","_e","_g","_h","_i","_k","_m","wide_offsets","used_storage_u8","used_storage","used_storage_offsets","getUint16","parse_TST_Tile","nrows","reduce","csp","as","asp","replies","pi","reply","s5s","parse_TST_TableModelArchive","dws","store","tile","rtt","kv","tl","ref2","mtype2","_tile","parse_TST_TableInfoArchive","tableref","parse_TN_SheetArchive","shapeoffs","parse_TN_DocumentArchive","sheetoffs","root2","parse_numbers_iwa","indices","packets","packet","docroot","iwam","write_TST_TileRowInfo","wide","tri","new_7","new_4","last_offset","cell_storage","_dv","_last_offset","_cell_storage","setUint16","celload","_celload","write_iwam","get_unique_msgid","dep","dependents","build_numbers_deps","deps","mess","write_TSP_Color_RGB","Float32Array","get_author_color","random","write_numbers_iwa","numbers","numbers_iwa_find","sheetrefs","numbers_add_ws","write_numbers_ws","numbers_iwa_doit","ainfo","numbers_add_meta","mlist","newid","newloc","numbers_add_msg","numbers_meta_add_dep","parentidx","mm","parent","dep2","numbers_meta_del_dep","sheetref","newsheetref","remap","arch","doc","tiaref","sheetroot","sa","drawables","tia","tmaref","tiaroot","da","dap","oldtmaref","tma","tmaroot","uuid","new_uuid","srrta","hsoa","hsa","hseadata","hsea","oldref","newref","row_headers","tspref","tiles","tst","oldtileref","newtileref","oldtile","wsname","sheetidx","rootref","write_numbers_tma","USE_WIDE_ROWS","tmafile","trunc","R_","LUT","row_header_ref","rowhead","_x","base_bucket","R2","_bucket","col_header_ref","colhead","rbtree","tilestore","tstride","tileref","save_token","mlst","ntiles","newtileid","tiledata","tilerow","newtile","tilecontent","mergeid","sstref","sstroot","sstdata","rsstref","rsstroot","rsstdata","style_indices","tswpsaid","tswpsarefs","newhlinkid","smartfield","rtpaid","cmntref","cmntroot","cmntdata","aaaid2","csaid2","aaaid","csaid","fix_opts_func","fix_opts","get_sheet_type","safe_parse_wbrels","wbrels","pwbr","parse_sheet_legacy_drawing","dfile","draw","safe_parse_sheet","relsPath","sheetRels","stype","drelsp","chartp","crelsp","tcomments","strip_front_slash","_zip","index_zip","Bun","readSync","dir","binname","link","propdata","pluck","bookDeps","wbsheets","wbext","wbrelsi","wbrelsfile","nmode","wsloop","snjseen","snj","Deps","bin","parse_xlsxcfb","dsm","seds","einfo","decrypt_agile","decrypt_std76","write_zip_xlsb","foo","vbafmt","_sn","wsrels","_type","need_vml","needtc","rId1","write_zip_xlsx","read_cfb","read_zip","read_plaintext","main","read_plaintext_raw","read_utf16","bstrify","read_prn","ab","vu","write_cfb_ctr","write_zip_type","write_zip_denouement","write_zip_typeXLSX","oopts","ftype","nodebuffer","string","generate","encrypt_agile","write_cfb_type","write_string_type","bom","write_stxt_type","write_binary_type","writeSyncXLSX","writeSync","sheet_to_txt","sheet_to_csv","resolve_book_type","_BT","xls","slk","socialcalc","Sh33tJS","writeFileSyncXLSX","writeFileAsync","_cb","Function","make_json_row","defval","isempty","defineProperty","enumerable","__rowNum__","rawNumbers","outi","counter","header_cnt","skipHidden","blankrows","qreg","make_csv_row","txt","datarow","forceQuotes","endregex","strip","sheet_to_formulae","cmds","sheet_add_json","js","skipHeader","ROW","JS","json_to_sheet","RC","wb_sheet_idx","sh","roll","book_set_sheet_visibility","vis","cell_set_number_format","cell_set_hyperlink","cell_set_internal_link","cell_add_comment","sheet_set_array_formula","dynamic","rngstr","wsr","table_to_sheet","sheet_to_row_object_array","sheet_get_cell","SHEET_VISIBLE","SHEET_HIDDEN","SHEET_VERY_HIDDEN","_Readable","set_readable","write_csv_stream","stream","BOM","_read","write_html_stream","write_json_stream","objectMode","__stream","to_json","to_html","to_csv","readFile","writeXLSX","writeFileXLSX","strmod","Readable","define","amd","window"],"mappings":";AAIA,GAAIA,QACJ,SAASC,eAAcD,GACvBA,EAAKE,QAAU,QACf,IAAIC,GAAmB,KAAMC,EAAe,IAE5C,IAAIC,EAEJ,IAAIC,IAAe,IAAK,IAAK,IAAK,IAAK,IAAK,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,IAElG,IAAIC,IACJC,EAAM,KACNC,EAAK,MACLC,EAAK,MACLC,GAAK,IACLC,IAAO,IACPC,IAAO,IACPC,IAAM,KACNC,IAAO,IACPC,IAAO,IACPC,IAAM,KACNC,IAAM,KACNC,IAAM,KACNC,IAAM,KACNC,IAAM,KACNC,IAAM,KACNC,IAAM,KACNC,IAAO,IACPC,IAAM,KACNC,IAAM,KACNC,GAAM,KAGN,IAAIC,GAAW,SAASC,GAAM,GAAGvB,EAAWwB,QAAQD,KAAQ,EA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ACRC,IAAQ,KACRC,IAAQ,KACRC,IAAQ,KACRC,IAAQ,KACRC,IAAQ,KACRC,IAAQ,KACRC,IAAQ,KACRC,IAAQ,KACRC,IAAQ,KACRC,IAAQ,KACRC,IAAQ,KACRC,MAAQ,KAIR,IAAIC,KACH,KACA,QACA,aACA,WACA,YACA,iBACA,eACA,WACA,SACA,WACA,cACA,kBACA,gBACA,YACA,UACA,YACA,eACA,UACA,WAGD,SAASC,IAAOlb,GAAO,MAAOA,GAAIxtB,IAAI,SAAShD,GAAK,OAASA,GAAG,GAAI,IAAKA,GAAG,EAAG,IAAIA,EAAE,OAIrF,GAAI2rC,IAAWD,IAEd,EACA,SACA,SACA,MACA,IACA,SACA,SACA,MAGA,EACA,SACA,SACA,MACA,IACA,SACA,SACA,MAEA,QACA,MACA,IACA,QACA,QACA,MACA,SACA,QACA,SACA,SACA,SACA,SACA,QACA,SACA,MACA,SAEA,IACA,SACA,SACA,MACA,QACA,QACA,MACA,IACA,MACA,SACA,SACA,SACA,SACA,SACA,SACA,SAEA,QACA,QACA,SACA,SACA,SACA,SACA,QACA,QACA,MACA,QACA,MACA,QACA,SACA,SACA,QACA,QAGA,EACA,SACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,GAED,IAAIvE,IAAS7U,GAAIqZ,GAGjB,IAAIlJ,KACJtlC,EAAM,SACNyK,EAAM,UACNrB,GAAM,UACNuB,GAAM,QACNM,GAAM,SACNkN,GAAM,QACN/K,GAAM,OACNC,GAAM,gBACNnM,IAAM,QAGN,IAAIutC,KACHC,SAAiB,EACjBC,UAAiB,EACjBC,UAAiB,GACjBC,QAAiB,GACjBC,SAAiB,GACjBC,QAAiB,GACjBC,OAAiB,GACjBC,gBAAiB,GACjBC,QAAiB,IAGlB,IAAIC,KACH,yBACA,kBACA,mBACA,gBACA,iBACA,iBACA,mBACA,qBACA,iBACA,kBACA,sBACA,wBACA,oBACA,wBAOD,IAAIC,KAE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AK,EACL4rB,IAAK,EACLC,IAAK,EACLC,IAAK,EACLG,IAAK,EACLC,IAAK,EACLC,IAAK,EACL79B,IAAK,EACLK,IAAK,EACLy9B,IAAK,EACL51F,IAAK,EACLC,IAAK,EACLC,IAAK,EACL21F,IAAK,EACLE,IAAK,EACL51F,IAAK,EACL44D,IAAK,EACL34D,IAAK,EACL41F,IAAK,EACLC,IAAK,EACLE,IAAK,EACL2N,IAAK,EACLh5B,IAAK,EACLsrB,IAAK,EACLC,IAAK,EACLh2F,IAAK,EACLC,IAAK,EACLC,IAAK,EACLo2F,IAAK,EACLuN,IAAK,EACLhN,IAAK,EACL7rB,IAAK,EACLC,IAAK,EACL9qE,IAAK,EACLC,IAAK,EACL0jG,IAAK,EACL54B,IAAK,EACL7qE,IAAK,EACL02F,IAAK,EACLC,IAAK,EACL1rB,IAAK,EACL+rB,IAAK,EACLC,IAAK,EACLC,IAAK,EACLC,IAAK,EACLr/B,IAAK,EACLsT,IAAK,EACLisB,IAAK,EACLC,IAAK,EACLC,IAAK,EACLlrD,IAAK,EACLmrD,IAAK,EACLC,IAAK,EACLM,IAAK,EACLI,IAAK,EACL4L,IAAK,EACLC,IAAK,EACLC,IAAK,EACLC,IAAK,EACLC,IAAK,EACLC,IAAK,EACLM,IAAK,EACLG,IAAK,EACLpM,IAAK,EACLsM,IAAK,EACLt5B,IAAK,EACLQ,IAAK,EACL6sB,IAAK,EACLC,IAAK,EACLmM,IAAK,EACLlM,IAAK,EACLC,IAAK,EACLC,IAAK,EACLC,IAAK,EACLC,IAAK,EACLC,IAAK,EACLC,IAAK,EACLC,IAAK,EACLC,IAAK,EACLC,IAAK,EACL0L,IAAK,EACLC,IAAK,EACLr2B,IAAK,EACL2qB,IAAK,EACLC,IAAK,EACLC,IAAK,EACLC,IAAK,EACLC,IAAK,EACLuL,IAAK,EACLtL,IAAK,EACLC,IAAK,EACLC,IAAK,EACLC,IAAK,EACLoL,IAAK,EACLC,IAAK,EACLC,IAAK,EACLrL,IAA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ACAvG,QACA4D,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAkC,QACAC,MAA6B9xH,EAAE,IAC/B+xH,QACAC,QACAC,QACAC,MAA6BpuH,EAAEysC,IAC/B4hF,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,MAA2BnvH,EAAE6+C,GAAa3iD,EAAE,IAC5CkzH,MAA2BpvH,EAAE6rE,GAAa3vE,EAAE,IAC5CmzH,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,MAA8B/vH,EAAE4qC,GAAW1uC,EAAE,IAC7C8zH,QACAC,MAAiC/zH,EAAE,IACnCg0H,QACAC,QACAC,QACAC,QACAC,MAA6BtwH,EAAEg8C,GAAe9/C,EAAE,IAChDq0H,QACAC,MAA2BxwH,EAAEirE,GAAa/uE,EAAE,IAC5Cu0H,QACAC,QACAC,QACAC,MAAiC5wH,EAAE08C,GAAmBxgD,EAAE,IACxD20H,MAAsC7wH,EAAEysC,IACxCqkF,QACAC,QACAC,QACAC,QACAC,MAA0ClxH,EAAE8zC,IAC5Cq9E,QACAC,QACAC,QACAC,QACAlF,QACAmF,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,MAA2BjzH,EAAE6sC,IAC7BqmF,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,MAA8B/zH,EAAEq/C,IAChC20E,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,MAAgC10H,EAAE0+C,IAClCi2E,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QAEA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UAAYA,EACjBhe,GAAKwiB,KAAOkqI,EACZ1sJ,GAAK80J,SAAWvyI,EAChBviB,GAAKuiB,aAAeA,EACpBviB,GAAK4lB,MAAQyqI,EACbrwJ,GAAKyvB,UAAY9J,EACjB3lB,GAAK2lB,cAAgBA,EACrB3lB,GAAK+wJ,eAAiBA,EACtB/wJ,GAAK0D,MAAQA,EACb1D,GAAK+0J,UAAY3E,EACjBpwJ,GAAKg1J,cAAgBlE,EACrB9wJ,GAAK6vB,OAASA,EACd7vB,GAAKwD,YAAcA,CACnBxD,GAAK8X,IAAMA,EACX,UAAU48I,MAAa,YAAa10J,EAAKo0J,OAASM,EAClD,UAAUt5I,MAAQ,YAAapb,EAAKob,IAAMA,EAC1C,UAAUmpB,WAAY,YAAa,CACjC,GAAI0wH,IAAShwJ,SACb,KAAIgwJ,QAAYC,SAAUhB,GAAae,GAAOC,SAC/C,KAAMt3I,GAAM3Y,UAAa,MAAMK,OAIhC,SAAUgW,WAAY,YAAarb,cAAcqb,aAC5C,UAAUgpB,UAAW,aAAeA,OAAOhpB,QAASrb,cAAcqkC,OAAOhpB,aACzE,UAAU65I,UAAW,YAAcA,OAAOC,IAAKD,OAAO,OAAQ,WAAa,IAAIn1J,KAAKE,QAASD,cAAcD,KAAO,OAAOA,YACzHC,eAAcD,KAEnB,UAAUq1J,UAAW,cAAgBA,OAAOr1J,KAAM,IAAMq1J,OAAOr1J,KAAOA,KAAQ,MAAMsF","file":"dist/xlsx.core.min.js"} \ No newline at end of file +{"version":3,"sources":["dist/xlsx.js"],"names":["XLSX","make_xlsx_lib","version","current_codepage","current_ansi","$cptable","VALID_ANSI","CS2CP","0","1","2","77","128","129","130","134","136","161","162","163","177","178","186","204","222","238","255","69","set_ansi","cp","indexOf","reset_ansi","set_cp","reset_cp","char_codes","data","o","i","len","length","charCodeAt","utf16leread","String","fromCharCode","join","utf16lereadu","utf16beread","debom","c1","c2","slice","_getchar","_gc1","x","_getansi","_ga1","set_cptable","cptable","utils","decode","_gc2","_ga2","cpdoit","DENSE","DIF_XL","Base64_map","Base64_encode","input","c3","e1","e2","e3","e4","isNaN","charAt","Base64_encode_pass","Base64_encode_arr","Base64_decode","replace","has_buf","Buffer","undefined","node","Buffer_from","nbfs","from","e","buf","enc","bind","buf_utf16le","toString","new_raw_buf","alloc","Uint8Array","Array","new_unsafe_buf","allocUnsafe","s2a","s","split","map","s2ab","ArrayBuffer","view","a2s","isArray","c","a2u","Error","ab2a","bconcat","bufs","concat","isBuffer","maxlen","set","apply","call","utf8decode","content","out","widx","L","ridx","d","push","chr0","chr1","_strrev","pad0","v","t","fill","pad_","rpad_","pad0r1","Math","round","pad0r2","p2_32","pow","pad0r","SSF_isgeneral","days","months","SSF_init_table","table_fmt","3","4","9","10","11","12","13","14","15","16","17","18","19","20","21","22","37","38","39","40","45","46","47","48","49","56","SSF_default_map","5","6","7","8","23","24","25","26","27","28","29","30","31","50","51","52","53","54","55","57","58","59","60","61","62","67","68","70","71","72","73","74","75","76","78","79","80","81","82","SSF_default_str","63","64","65","66","41","42","43","44","SSF_frac","D","mixed","sgn","B","P_2","P_1","P","Q_2","Q_1","Q","A","floor","q","SSF_normalize_xl_unsafe","toPrecision","m","n","Number","SSF_parse_date_code","opts","b2","date","time","dow","dout","T","u","y","H","M","S","abs","date1904","Date","setDate","getDate","getFullYear","getMonth","getDay","SSF_fix_hijri","SSF_strip_decimal","SSF_normalize_exp","SSF_small_exp","w","toFixed","toExponential","SSF_large_exp","SSF_general_num","V","log","LOG10E","substr","toUpperCase","SSF_general","SSF_format","datenum","SSF_write_date","type","fmt","val","ss0","ss","tt","outl","outstr","commaify","j","pct1","write_num_pct","sfmt","mul","write_num","write_num_cm","idx","write_num_exp","match","period","ee","fakee","$$","$1","$2","$3","frac1","write_num_f1","r","aval","sign","den","parseInt","rr","base","myn","myd","write_num_f2","dec1","closeparen","phone","hashq","str","cc","rnd","dd","dec","_frac","carry","flr","write_num_flt","ffmt","ri","ff","oa","min","max","lres","rres","write_num_cm2","write_num_pct2","write_num_exp2","write_num_int","lastIndexOf","SSF_split_fmt","in_str","SSF_abstime","fmt_is_date","eval_fmt","flen","lst","dt","hr","toLowerCase","bt","ssm","_dt","nstr","jj","vv","myv","ostr","decpt","lasti","retval","cfregex2","chkcond","thresh","parseFloat","choose_fmt","f","l","lat","m1","m2","dateNF","table","SSF_load","SSF_load_table","tbl","make_ssf","SSF","format","load","_table","load_table","parse_date_code","is_date","get_table","SSFImplicit","32","33","34","35","36","dateNFregex","dateNF_regex","lastIndex","RegExp","dateNF_fix","Y","forEach","datestr","timestr","bad_formats","d.m","SSF__load","CRC32","signed_crc_table","Int32Array","T0","slice_by_16_tables","subarray","TT","T1","T2","T3","T4","T5","T6","T7","T8","T9","Ta","Tb","Tc","Td","Te","Tf","crc32_bstr","bstr","seed","C","crc32_buf","crc32_str","CFB","_CFB","exports","namecmp","R","Z","dirname","p","filename","write_dos_date","hms","getHours","getMinutes","getSeconds","write_shift","ymd","parse_dos_date","read_shift","setMilliseconds","setFullYear","setMonth","setHours","setMinutes","setSeconds","parse_extra_field","blob","prep_blob","flags","sz","tgt","mtime","atime","ctime","mt","sz1","sz2","usz","csz","fs","get_fs","_fs","parse","file","options","parse_zip","parse_mad","mver","ssz","nmfs","difat_sec_cnt","dir_start","minifat_start","difat_start","fat_addrs","mv","check_get_mver","header","check_shifts","dir_cnt","chk","sectors","sectorify","sleuth_fat","sector_list","make_sector_list","name","ENDOFCHAIN","files","Paths","FileIndex","FullPaths","read_directory","build_full_paths","shift","raw","HEADER_SIGNATURE","nsectors","ceil","FI","FP","pl","dad","get_mfat_entry","entry","payload","mini","start","size","MSSZ","__readInt32LE","new_buf","cnt","sector","get_sector_list","chkd","buf_chain","modulus","addr","nodes","__toBuffer","sl","k","seen","minifat_store","namelen","__utf16le","color","clsid","state","ct","read_date","storage","offset","__readUInt32LE","read_file","readFileSync","read","init_cfb","cfb","root","CLSID","seed_cfb","nm","find","rebuild_cfb","gc","_file","pop","now","fullPaths","Object","create","HEADER_CLSID","sort","elt","_write","_opts","fileType","write_mad","write_zip","mini_size","fat_size","mini_cnt","mfat_cnt","fat_base","fat_cnt","difat_cnt","HEADER_SIG","chainit","consts","DIFSECT","FATSECT","_nm","console","error","copy","path","UCFullPaths","UCPaths","UCPath","MAXREGSECT","FREESECT","HEADER_MINOR_VERSION","MAXREGSID","NOSTREAM","EntryTypes","write_file","writeFileSync","write","_zlib","use_zlib","zlib","InflateRaw","InflRaw","_processChunk","_finishFlushFlag","bytesRead","message","_inflateRawSync","_inflate","_deflateRawSync","deflateRawSync","_deflate","CLEN_ORDER","LEN_LN","DST_LN","bit_swap_8","use_typed_arrays","bitswap8","bit_swap_n","b","rev","read_bits_2","bl","h","read_bits_3","read_bits_4","read_bits_5","read_bits_7","read_bits_n","write_bits_3","write_bits_1","write_bits_8","write_bits_16","realloc","a","zero_fill_array","build_tree","clens","cmap","MAX","ccode","bl_count","Uint16Array","ctree","cleni","fix_lmap","fix_dmap","dlens","_deflateRaw","_deflateRawIIFE","DST_LN_RE","LEN_LN_RE","write_stored","boff","write_huff_fixed","addrs","hash","mlen","len_eb","dst_eb","off","dyn_lmap","dyn_dmap","dyn_cmap","dyn_len_1","dyn_len_2","dyn","_HLIT","_HDIST","_HCLEN","next_code","hcodes","h1","h2","inflate","outbuf","woff","OL","max_len_1","max_len_2","bits","code","dst","warn_or_throw","wrn","msg","fcnt","start_cd","efsz","fcsz","EF","parse_local_file","meth","crc32","_csz","_usz","ef","cfb_add","unsafe","cdirs","method","compression","desc","fp","fi","crcs","sz_cd","namebuf","ContentTypeMap","htm","xml","gif","jpg","png","mso","thmx","sh33tj5","get_content_type","ctype","ext","write_base64_76","write_quoted_printable","text","encoded","si","end","tmp","parse_quoted_printable","di","line","oi","parse_mime","fname","cte","fdata","trim","row","test","mboundary","boundary","start_di","ca","cstr","dispcnt","csl","qp","cfb_new","fpath","cfb_gc","cfb_del","splice","cfb_mov","old_name","new_name","writeFile","ReadShift","CheckField","_inflateRaw","set_fs","blobify","write_dl","Deno","TextEncoder","encode","utf8write","IE_SaveFile","Blob","navigator","msSaveBlob","saveAs","URL","document","createElement","createObjectURL","url","chrome","downloads","download","revokeObjectURL","setTimeout","href","body","appendChild","click","removeChild","b64","$","File","Folder","open","encoding","close","read_binary","infile","keys","ks","o2","prototype","hasOwnProperty","evert_key","obj","key","K","evert","evert_num","evert_arr","dnthresh","UTC","dnthresh1","dnthresh2","epoch","getTime","res","numdate","setTime","parse_isodur","sec","pdre1","pdre2","pdre3","parseDate","cc2str","arr","debomit","TextDecoder","€","‚","ƒ","„","…","†","‡","ˆ","‰","Š","‹","Œ","Ž","‘","’","“","”","•","–","—","˜","™","š","›","œ","ž","Ÿ","dup","JSON","stringify","fuzzynum","isFinite","NaN","wt","FDRE1","FDRE2","FDISO","utc_append_works","valueOf","fuzzytime1","fuzzytime2","lower_months","fuzzydate","local_to_utc","lower","lnos","getYear","split_regex","safe_split_regex","re","def","utc_to_local","utc","getUTCFullYear","getUTCMonth","getUTCDate","getUTCHours","getUTCMinutes","getUTCSeconds","getUTCMilliseconds","local","getMilliseconds","remove_doctype","preamble","index","str_match_ng","ei","str_remove_ng","last","xml_boundary"," ","\t","\r","\n",">","str_match_xml","tag","sf","et","str_match_xml_ns","str_match_xml_ns_cache","exec","str_match_xml_ns_g","str_remove_xml_ns_g","str_remove_xml_ns_cache","str_match_xml_ig","getdatastr","asNodeBuffer","asBinary","_data","getContent","getdatabin","getdata","safegetzipfile","zip","g","getzipfile","getzipdata","safe","getzipstr","getzipbin","zipentries","zip_add_file","zip_new","zip_read","resolve_path","result","target","step","XML_HEADER","attregexg","tagregex1","tagregex2","tagregex","nsregex","nsregex2","parsexmltag","skip_root","skip_LC","z","eq","quot","strip_ns","encodings",""","'",">","<","&","rencoding","unescapexml","encregex","coderegex","raw_unescapexml","xlsx","decregex","charegex","escapexml","escapexmltag","htmlcharegex","escapehtml","escapexlml","xlml_fixstr","entregex","entrepl","xlml_unfixstr","parsexmlbool","value","utf8reada","orig","utf8readb","ww","utf8readc","utf8corpus","utf8read","htmldecode","entities","vtvregex","vtmregex","parseVector","matches","baseType","WTF","wtregex","writetag","wxt_helper","writextag","write_w3cdtf","toISOString","write_vt","xlml_normalize","xlmlregex","XMLNS","CORE_PROPS","CUST_PROPS","EXT_PROPS","CT","RELS","TCMNT","dc","dcterms","dcmitype","mx","sjs","vt","xsi","xsd","XMLNS_main","XLMLNS","html","read_double_le","Infinity","write_double_le","bs","av","LN2","___toBuffer","___utf16le","__readUInt16LE","___hexlify","__hexlify","___utf8","__readUInt8","__utf8","utf8_b","___lpstr","__lpstr","___cpstr","__cpstr","___lpwstr","__lpwstr","___lpp4","lpp4_","__lpp4","___8lpp4","__8lpp4","___double","__double","is_buf","is_buf_a","lpstr_b","readUInt32LE","cpstr_b","lpwstr_b","lpp4_b","lpp4_8b","double_","readDoubleLE","is_buf_b","__readInt16LE","__readInt32BE","oI","oR","oo","loc","this","lens","__writeUInt32LE","__writeInt32LE","__writeUInt16LE","WriteShift","cpp","hexstr","fld","pos","parsenoop","recordhopper","cb","tmpbyte","cntbyte","RT","XLSBRecordEnum","buf_array","blksz","newblk","ba_newblk","curbuf","endbuf","ba_endbuf","next","ba_next","ba_end","ba_push","_bufs","write_record","ba","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","module","require","decode_row","rowstr","unfix_row","decode_col","colstr","unfix_col","col","split_cell","decode_cell","decode_range","encode_range","cs","ce","fix_range","a1","formula_quote_sheet_name","sname","safe_decode_range","safe_format_cell","XF","numFmtId","format_cell","BErr","sheet_to_workbook","sheet","sheets","SheetNames","Sheets","sheet_new","dense","sheet_add_aoa","_ws","ws","_R","_C","origin","_origin","_range","__R","__Rstr","__C","nullError","sheetStubs","cellDates","cell_ref","aoa_to_sheet","parse_Int32LE","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","write_XLSBCell","parse_XLSBShortCell","write_XLSBShortCell","parse_XLSBCodeName","write_XLSBCodeName","parse_XLNullableWideString","write_XLNullableWideString","parse_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","parse_BrtColor","xColorType","nTS","bR","bG","bB","auto","icv","XLSIcv","rgb","rgb2Hex","theme","tint","write_BrtColor","parse_FontFlags","fBold","fItalic","fUnderline","fStrikeout","fOutline","fShadow","fCondense","fExtend","write_FontFlags","font","grbit","italic","strike","outline","shadow","condense","extend","parse_ClipboardFormatOrString","ClipFmt","parse_ClipboardFormatOrAnsiString","parse_ClipboardFormatOrUnicodeString","VT_I2","VT_I4","VT_BOOL","VT_VARIANT","VT_UI4","VT_FILETIME","VT_BLOB","VT_CF","VT_VECTOR_VARIANT","VT_VECTOR_LPSTR","VT_STRING","VT_USTR","VT_CUSTOM","DocSummaryPIDDSI","2147483648","2147483651","1919054434","SummaryPIDSI","CountryEnum","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","_XLSIcv","RBErr","#NULL!","#DIV/0!","#VALUE!","#REF!","#NAME?","#NUM!","#N/A","#GETTING_DATA","#WTF?","XLSLblBuiltIn","ct2type","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml","application/vnd.ms-excel.sheet.macroEnabled.main+xml","application/vnd.ms-excel.sheet.binary.macroEnabled.main","application/vnd.ms-excel.addin.macroEnabled.main+xml","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml","application/vnd.ms-excel.worksheet","application/vnd.ms-excel.binIndexWs","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml","application/vnd.ms-excel.chartsheet","application/vnd.ms-excel.macrosheet+xml","application/vnd.ms-excel.macrosheet","application/vnd.ms-excel.intlmacrosheet","application/vnd.ms-excel.binIndexMs","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml","application/vnd.ms-excel.dialogsheet","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml","application/vnd.ms-excel.sharedStrings","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml","application/vnd.ms-excel.styles","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.openxmlformats-officedocument.spreadsheetml.comments+xml","application/vnd.ms-excel.comments","application/vnd.ms-excel.threadedcomments+xml","application/vnd.ms-excel.person+xml","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml","application/vnd.ms-excel.sheetMetadata","application/vnd.ms-excel.pivotTable","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml","application/vnd.openxmlformats-officedocument.drawingml.chart+xml","application/vnd.ms-office.chartcolorstyle+xml","application/vnd.ms-office.chartstyle+xml","application/vnd.ms-office.chartex+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.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.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","xlsm","xlsb","xlam","xltx","strs","comments","charts","dialogs","macros","metadata","styles","new_ct","rels","threadedcomments","links","coreprops","extprops","custprops","themes","calcchains","vba","drawings","people","TODO","xmlns","parse_ct","ctext","Extension","ContentType","PartName","calcchain","sst","style","defaults","write_ct","type2ct","xmlns:xsd","xmlns:xsi","f1","bookType","f2","f3","WB","SHEET","HLINK","VML","XPATH","XMISS","XLINK","CXML","CXMLP","CMNT","SST","STY","THEME","CHART","CHARTEX","CS","WS","DS","MS","IMG","DRAW","XLMETA","PEOPLE","CONN","VBA","get_rels_path","parse_rels","currentFilePath","!id","rel","Type","Target","Id","TargetMode","canonictarget","write_rels","rid","add_rels","rId","relobj","targetmode","CT_ODS","parse_manifest","Rn","FEtag","write_manifest","manifest","write_rdf_type","write_rdf_has","write_rdf","rdf","write_meta_ods","wb","parse_core_props","cur","cp_doit","write_core_props","xmlns:cp","xmlns:dc","xmlns:dcterms","xmlns:dcmitype","Props","CreatedDate","xsi:type","ModifiedDate","PseudoPropsPairs","load_props_pairs","HP","TOP","props","hp","parts","Worksheets","NamedRanges","DefinedNames","Chartsheets","ChartNames","parse_ext_props","HeadingPairs","TitlesOfParts","write_ext_props","W","Application","xmlns:vt","custregex","parse_cust_props","toks","warn","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","write_FILETIME","parse_lpstr","pad","parse_lpwstr","parse_VtStringBase","stringType","parse_VtString","parse_VtUnalignedString","parse_VtVecLpwstrValue","ret","parse_VtVecUnalignedLpstrValue","parse_VtHeadingPair","headingString","parse_TypedPropertyValue","headerParts","parse_VtVecHeadingPairValue","cElements","parse_dictionary","CodePage","dict","parse_BLOB","bytes","parse_ClipboardData","Size","write_TypedPropertyValue","parse_PropertySet","PIDSI","start_addr","NumProps","Dictionary","DictObj","PropID","Offset","PropH","fail","piddsi","oldpos","parsebool","XLSPSSkip","guess_property_type","write_PropertySet","entries","RE","hdr","piao","prop","pr","pio","unshift","pinfo","parse_PropertySetStream","NumSets","FMTID0","FMTID1","Offset0","Offset1","SystemIdentifier","PSet0","rval","FMTID","PSet1","write_PropertySetStream","entries2","clsid2","ps0","ps1","parsenoop2","writezeroes","parslurp","writebool","parseuint16","writeuint16","parseuint16a","parse_Bes","write_Bes","parse_ShortXLUnicodeString","cch","fHighByte","parse_XLUnicodeRichExtendedString","fExtSt","fRichSt","width","cRun","cbExtRst","write_XLUnicodeRichExtendedString","xlstr","nfmts","otext","parse_XLUnicodeStringNoCch","parse_XLUnicodeString","parse_XLUnicodeString2","write_XLUnicodeString","parse_ControlInfo","accel","parse_URLMoniker","extra","parse_FileMoniker","cAnti","ansiPath","unicodePath","parse_HyperlinkMoniker","parse_HyperlinkString","write_HyperlinkString","parse_Hyperlink","sVer","displayName","targetFrameName","moniker","oleMoniker","Loc","guid","fileTime","Tooltip","write_Hyperlink","hl","hashidx","F","Pretarget","parse_LongRGBA","parse_LongRGB","parse_XLSCell","rw","ixfe","write_XLSCell","parse_frtHeader","rt","parse_OptXLUnicodeString","parse_XTI","iSupBook","itabFirst","itabLast","parse_RkRec","parse_AddinUdf","udfName","parse_Ref8U","rwFirst","rwLast","colFirst","colLast","write_Ref8U","parse_RefU","parse_Ref","parse_FtCmo","ot","id","parse_FtNts","fSharedNote","parse_FtCf","cf","parse_FtSkip","FtTab","parse_FtArray","fts","ft","parse_BOF","BIFFVer","write_BOF","parse_InterfaceHdr","parse_WriteAccess","UserName","write_WriteAccess","b8","parse_WsBool","fDialog","fBelow","fRight","parse_BoundSheet8","hidden","hs","write_BoundSheet8","parse_SST","ucnt","Count","Unique","write_SST","parse_ExtSST","extsst","dsst","parse_Row","miyRw","level","hpt","parse_ForceFullCalculation","fullcalc","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","write_Window1","parse_Window2","RTL","write_Window2","parse_Pane","parse_Font","dyHeight","write_Font","b5","parse_LabelSst","isst","write_LabelSst","os","parse_Label","biffguess","write_Label","parse_Format","fmtstr","write_Format","parse_BIFF2Format","write_BIFF2Format","write_BIFF4Format","parse_Dimensions","write_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_XF","fStyle","write_XF","ixfeP","parse_BIFF2XF","write_BIFF2XF","xf","write_BIFF3XF","write_BIFF4XF","parse_BIFF3XF","parse_BIFF4XF","parse_Guts","write_Guts","guts","parse_BoolErr","write_BoolErr","parse_Number","xnum","write_Number","parse_XLHeaderFooter","parse_SupBook","ctab","sbcch","virtPath","rgst","parse_ExternName","fBuiltIn","fWantAdvise","fWantPict","fOle","fOleLink","fIcon","Name","parse_Lbl","chKey","cce","itab","npflen","rgce","parse_NameParsedFormula","parse_ExternSheet","parse_BIFF5ExternSheet","parse_NameCmt","cchName","cchComment","comment","parse_ShrFmla","ref","cUse","parse_SharedParsedFormula","parse_Array","parse_ArrayParsedFormula","parse_MTRSettings","fMTREnabled","fUserSetThreadCount","cUserThreadCount","parse_NoteSh","idObj","stAuthor","parse_Note","cmnt","write_NOTE_BIFF2","parse_MergeCells","merges","cmcs","write_MergeCells","parse_Obj","parse_BIFF5Obj","cmo","parse_BIFF5OT","parse_TxO","texts","lastobj","controlInfo","cchText","parse_HLink","hlink","write_HLink","O","parse_HLinkTooltip","wzTooltip","write_HLinkTooltip","parse_Country","write_Country","parse_ClrtClient","ccv","parse_Palette","parse_XFCRC","cxfs","crc","parse_ColInfo","coldx","write_ColInfo","parse_Setup","footer","parse_ShtProps","area","write_RRTabId","parse_Blank","parse_Scl","parse_String","parse_ImData","env","lcb","write_BIFF2Cell","ifmt","parse_BIFF2STR","parse_BIFF2NUM","num","write_BIFF2NUM","parse_BIFF2INT","write_BIFF2INT","parse_BIFF2STRING","parse_BIFF2BOOLERR","bestart","parse_BIFF2FONTXTRA","parse_RString","parse_BIFF4SheetInfo","DBF_SUPPORTED_VERSIONS","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","87","88","89","108","135","dbf_reverse_map","dbf_to_aoa","memo","vfp","l7","nrow","fpos","rlen","current_cp","codepage","fields","field","hend","hi","lo","sheetRows","dbf_to_sheet","wch","dbf_to_workbook","_RLEN","?","","sheet_to_dbf","old_cp","aoa","sheet_to_json","headers","cols","hcnt","coltypes","colwidths","coldecimals","guess","_guess","hf","_f","hb","rout","_n","_l","_s","to_workbook","to_sheet","from_sheet","SYLK","sylk_escapes","AA","BA","CA","DA","HA","JA","AE","BE","CE","HE","AI","BI","CI","HI","AO","BO","CO","DO","HO","AU","BU","CU","HU","Aa","Ba","Ca","Da","Ha","Ja","Ae","Be","Ce","He","Ai","Bi","Ci","Hi","Ao","Bo","Co","Do","Ho","Au","Bu","Cu","Hu","KC","Kc","DN","Dn","Hy","B ","!","\"","#","(","%","'","H ","+",";","<","=","{","sylk_char_regex","sylk_char_fn","_","decode_sylk_char","newcc","encode_sylk_str","sylk_to_aoa","sylk_to_aoa_str","records","rj","formats","next_cell_format","sht","rowinfo","colinfo","cw","Mval","Workbook","WBProps","Names","rstr","record","d1904","nn","Sheet","Ref","rc_to_a1","C_seen_K","C_seen_X","C_seen_S","C_seen_E","formula","cell_t","cellText","shrbase","shift_formula_str","F_seen","hpx","pt2px","process_col","sylk_to_workbook","aoasht","outwb","write_ws_cell_sylk","a1_to_rc","write_ws_cmnt_sylk","write_ws_cols_sylk","rec","wpx","width2px","px2char","write_ws_rows_sylk","rows","px2pt","sheet_to_sylk","_formats","RS","_lastfmt","DIF","dif_to_aoa","dif_to_aoa_str","dif_to_sheet","dif_to_workbook","make_value","make_value_str","sheet_to_dif","_DIF_XL","ETH","eth_to_aoa","eth_to_sheet","eth_to_workbook","sep","meta","sheet_to_eth_data","coord","sheet_to_eth","PRN","set_text_arr","prn_to_aoa_str","lines","guess_seps","guess_sep_weights","guess_sep","instr","dsv_to_sheet_str","FS","sepcc","startcc","_re","finish_cell","fuzzyfmla","news","cellNF","outer","prn_to_sheet_str","prn_to_sheet","firstbyte","prn_to_workbook","sheet_to_prn","read_wb_ID","OLD_WTF","WK_","lotushopper","Enum","WK1Enum","lotus_to_workbook","lotus_to_workbook_buf","LOTUS_DATE_FMTS","next_n","sidx","snames","realnames","sdata","refguess","lastcell","qpw_to_workbook_buf","vers","qpro","works","works2","tmpcell","WK3Enum","osheets","rnames","!ref","sheet_to_wk1","write_biff_rec","write_BOF_WK1","write_RANGE","max_R","write_INTEGER","write_NUMBER","write_LABEL","book_to_wk3","write_BOF_WK3","write_XFORMAT_SHEETNAME","wsidx","write_NUMBER_17","write_LABEL_16","wscnt","parse_RANGE","parse_cell","get_wk1_fmt","parse_LABEL","parse_STRING","parse_INTEGER","parse_NUMBER","parse_FORMULA","wk1_fmla_to_csf","wk1_parse_rc","FuncTab","83","109","111","BinOpTab","argc","argL","argR","args","parse_cell_3","parse_LABEL_16","parse_NUMBER_18","parse_NUMBER_17","v1","v2","log2","parse_FORMULA_19","parse_NUMBER_25","parse_NUMBER_27","parse_FORMULA_28","parse_SHEETNAMECS","parse_SHEETNAMELP","parse_SHEETINFOQP","parse_XFORMAT","21506","142","147","153","154","155","156","174","175","176","184","185","187","188","195","205","206","207","208","256","259","260","261","262","263","265","266","267","268","270","271","384","389","390","393","396","512","514","513","516","517","640","641","642","643","644","645","646","647","648","658","659","660","661","662","665","666","768","772","1537","1600","1602","1793","1794","1795","1796","1920","2048","2049","2052","2688","10998","12849","28233","28484","QPWNFTable","288","304","320","parse_qpw_str","formulae","FMTS","book_append_sheet","CC","fmtidx","delta","newcell","parse_rpr","rpr","pass","uval","family","valign","parse_rs","parse_r","rregex","rend","rs","filter","rs_to_html","parse_rs_factory","nlregex","parse_rpr2","intro","outro","align","r_to_html","terms","sitregex","sirregex","parse_si","cellHTML","sstr1","sstr2","parse_sst_xml","count","uniqueCount","straywsregex","write_sst_xml","bookSST","sitag","parse_BrtBeginSst","parse_sst_bin","hopper_sst","write_BrtBeginSst","write_BrtSSTItem","write_sst_bin","_JS2ANSI","parse_CRYPTOVersion","Major","Minor","parse_DataSpaceVersionInfo","U","parse_DataSpaceMapEntry","comps","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","KeyData","xml_agile","encryptedHmacKey","encryptedHmacValue","encs","uri","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","parse_FilePassHeader","Info","parse_FilePass","rtf_to_sheet","rtf_to_sheet_str","rowtf","rtfre","last_index","rtf_to_workbook","sheet_to_rtf","hex2RGB","rgb2HSL","G","H6","L2","hsl2RGB","hsl","h6","X","rgb_tint","hex","DEF_MDW","MAX_MDW","MIN_MDW","MDW","px","char2width","chr","cycle_width","collw","find_mdw_colw","_MDW","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","diagonalUp","diagonalDown","parse_fills","Fills","bgColor","indexed","fgColor","parse_fonts","Fonts","bold","underline","vertAlign","scheme","themeElements","clrScheme","parse_numFmts","NumberFmt","formatCode","write_numFmts","NF","cellXF_uint","cellXF_bool","parse_cellXfs","CellXf","alignment","vertical","horizontal","textRotation","indent","wrapText","write_cellXfs","cellXfs","parse_sty_xml","make_pstyx","write_sty_xml","parse_BrtFmt","stFmtCode","write_BrtFmt","parse_BrtFont","bls","bCharSet","charset","write_BrtFont","sss","XLSBFillPTNames","rev_XLSBFillPTNames","parse_BrtFill","write_BrtFill","fls","parse_BrtXF","ixfeParent","write_BrtXF","flow","write_Blxf","parse_BrtBorder","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","XLSXThemeClrScheme","parse_clrScheme","lastClr","parse_fontScheme","parse_fmtScheme","parse_themeElements","parse_theme_xml","write_theme","Themes","themeXLSX","parse_Theme","dwThemeVersion","themeXML","parse_ColorTheme","parse_FullColorExt","xclrType","nTintShade","xclrValue","parse_IcvXF","parse_XFExtGradient","parse_ExtProp","extType","parse_XFExt","cexts","update_xfext","xfext","xfe","parse_BrtMdtinfo","write_BrtMdtinfo","parse_BrtMdb","write_BrtMdb","mdb","write_BrtBeginEsfmd","parse_BrtBeginEsmdb","write_BrtBeginEsmdb","cm","parse_xlmeta_bin","Types","Cell","metatype","write_xlmeta_bin","parse_xlmeta_xml","lastmeta","offsets","write_xlmeta_xml","parse_cc_xml","parse_BrtCalcChainItem$","parse_cc_bin","hopper_cc","parse_xlink_xml","parse_xlink_bin","xlink_parse","parse_drawing","parse_vml","cidx","aidx","ObjectType","ws_get_cell_stub","write_vml","csize","bbox","xmlns:v","xmlns:o","xmlns:x","xmlns:mv","v:ext","_shapeid","_comments","joinstyle","gradientshapeok","o:connecttype","coordsize","o:spt","write_vml_comment","fillopts","color2","angle","fillparm","fillxml","shadata","on","obscured","fillcolor","strokecolor","sheet_insert_comments","threaded","author","parse_comments_xml","authors","commentList","authtag","cmnttag","authorId","textMatch","write_comments_xml","iauthor","ID","lastauthor","ts","tcnt","parse_tcmnt_xml","tidx","xml_tcmnt","personId","write_tcmnt_xml","carr","rootid","tcopts","tcid","parentId","parse_people_xml","displayname","write_people_xml","person","userId","providerId","parse_BrtBeginComment","rfx","write_BrtBeginComment","parse_BrtCommentAuthor","write_BrtCommentAuthor","parse_comments_bin","hopper_cmnt","write_comments_bin","_ia","CT_VBA","make_vba_xls","newcfb","newpath","fill_vba_xls","VBAFMTS","parse_ds_bin","!type","parse_ds_xml","parse_ms_bin","parse_ms_xml","rcregex","rcbase","rcfunc","fstr","crefregex","$0","$4","$5","shift_formula_xlsx","_xlfn","parseread1","parse_ColRelU","parse_RgceArea","parse_RgceArea_BIFF2","parse_RgceAreaRel","parse_RgceLoc","parse_RgceLoc_BIFF2","parse_RgceElfLoc","fQuoted","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","parse_PtgRefN","parse_PtgRef3d","parse_PtgFunc","iftab","FtabArgc","Ftab","parse_PtgFuncVar","cparams","tab","parsetab","Cetab","parse_PtgAttrSum","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_PtgMemErr","parse_PtgMemNoMem","parse_PtgTbl","parse_PtgElfLoc","parse_PtgElfNoop","parse_PtgElfCol","parse_PtgElfColS","parse_PtgElfColSV","parse_PtgElfColV","parse_PtgElfLel","parse_PtgElfRadical","parse_PtgElfRadicalLel","parse_PtgElfRadicalS","parse_PtgElfRw","parse_PtgElfRwV","PtgListRT","parse_PtgList","coltype","parse_PtgSxName","parse_PtgSheet","parse_PtgEndSheet","parse_PtgMemAreaN","parse_PtgMemNoMemN","parse_PtgAttrNoop","PtgTypes","PtgDupes","96","97","98","99","110","91","92","93","Ptg18","Ptg19","parse_RgbExtra","parse_Rgce","ptgs","stringify_array","PtgBinOp","PtgAdd","PtgConcat","PtgDiv","PtgEq","PtgGe","PtgGt","PtgLe","PtgLt","PtgMul","PtgNe","PtgPower","PtgSub","make_3d_range","get_ixti_raw","supbooks","XTI","SID","get_ixti","ixtiraw","stringify_formula","stack","nameidx","last_sp","sp","fflen","func","lbl","names","xlfn","bookidx","externbook","ixtidata","lp","rp","sharedf","parsedf","fnd","arrayf","PtgNonDisp","_left","rgcb","parse_XLSCellParsedFormula","parse_FormulaValue","write_FormulaValue","parse_Formula","cbf","shared","write_Formula","o1","o3","bf","parse_XLSBParsedFormula","parse_XLSBArrayParsedFormula","parse_XLSBCellParsedFormula","parse_XLSBNameParsedFormula","parse_XLSBSharedParsedFormula","write_XLSBFormulaNum","oint","write_XLSBFormulaErr","write_XLSBFormulaBool","write_XLSBFormulaStr","postamble","write_XLSBFormulaRef","write_XLSBFormulaRef3D","lastbang","write_XLSBFormulaRefErr3D","write_XLSBFormulaRange","_str","write_XLSBFormulaRangeWS","write_XLSBFormulaArea3D","write_XLSBFormula","write_XLSBNameParsedFormula","85","94","95","112","113","114","115","116","117","118","119","127","131","132","133","137","138","139","140","143","144","145","146","148","149","159","164","166","167","168","169","170","171","172","173","189","190","191","192","193","194","196","197","198","199","209","210","211","212","214","215","217","219","220","223","224","225","226","227","228","229","240","243","249","250","251","252","253","254","269","272","273","274","276","277","278","279","280","281","282","283","284","285","289","290","291","292","293","295","296","297","298","302","305","306","307","308","309","310","311","312","313","314","315","316","318","319","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","385","386","388","391","392","394","395","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","518","519","520","521","522","523","545","546","547","548","549","620","621","653","667","673","753","755","808","141","157","158","160","165","179","180","181","182","183","221","230","231","232","233","234","235","236","237","239","241","242","244","245","246","247","248","257","258","264","275","286","287","294","299","300","301","303","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","401","402","403","404","405","406","407","408","409","410","411","418","419","426","427","428","429","457","724","479","483","484","ods_to_csf_formula","csf_to_ods_formula","ods_to_csf_3D","csf_to_ods_3D","_ssfopts","browser_has_Map","Map","get_sst_id","has","revarr","get","col_obj_w","outlineLevel","default_margins","margins","mode","defs","left","right","top","bottom","get_cell_style","revssf","ssf","applyNumberFormat","safe_format","fillid","raw_rgb","check_ws","parse_ws_xml_dim","mergecregex","hlinkregex","dimregex","colregex","afregex","marginregex","sheetprregex","parse_ws_xml","data1","data2","mtch","sheetPr","parse_ws_xml_sheetpr","parse_ws_xml_sheetpr2","nodim","svs","parse_ws_xml_sheetviews","columns","parse_ws_xml_cols","parse_ws_xml_data","afilter","parse_ws_xml_autofilter","_merge","parse_ws_xml_hlinks","parse_ws_xml_margins","tmpref","write_ws_xml_merges","codeName","CodeName","write_ws_xml_sheetpr","needed","vbaraw","cname","outlineprops","summaryBelow","summaryRight","above","sheetprot_deffalse","sheetprot_deftrue","write_ws_xml_protection","location","Rel","tooltip","rng","margin","write_ws_xml_margins","seencol","coli","colm","colM","write_ws_xml_cols","write_ws_xml_autofilter","sviewregex","Views","zoomScale","zoom","rightToLeft","write_ws_xml_sheetviews","sview","workbookViewId","write_ws_xml_cell","oldt","oldv","_vv","Strings","revStrings","display","cellregex","rowregex","refregex","cells","cref","tagr","tagc","sstr","ftag","do_format","rowobj","rowrite","marr","marrlen","xlen","rstarti","outa","ht","rslice","cellFormula","___f","_tag","xlmeta","_r","write_ws_xml_data","params","height","_cell","customHeight","write_ws_xml","xmlns:r","rdata","_drawing","sheetFormat","defaultRowHeight","baseColWidth","outlineLevelRow","relc","ignoreEC","numberStoredAsText","sqref","r:id","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_BrtShortBlank","write_BrtShortBlank","parse_BrtCellBool","fBool","write_BrtCellBool","parse_BrtShortBool","write_BrtShortBool","parse_BrtCellError","bError","write_BrtCellError","parse_BrtShortError","write_BrtShortError","parse_BrtCellIsst","write_BrtCellIsst","parse_BrtShortIsst","write_BrtShortIsst","parse_BrtCellReal","write_BrtCellReal","parse_BrtShortReal","write_BrtShortReal","parse_BrtCellRk","write_BrtCellRk","parse_BrtShortRk","write_BrtShortRk","parse_BrtCellRString","parse_BrtCellSt","write_BrtCellSt","parse_BrtShortSt","write_BrtShortSt","parse_BrtFmlaBool","parse_BrtFmlaError","parse_BrtFmlaNum","parse_BrtFmlaString","parse_BrtMergeCell","write_BrtMergeCell","write_BrtBeginMergeCells","parse_BrtHLink","relId","write_BrtHLink","locidx","parse_BrtPane","parse_BrtArrFmla","fAlwaysCalc","parse_BrtShrFmla","write_BrtColInfo","BrtMarginKeys","parse_BrtMargins","write_BrtMargins","parse_BrtBeginWsView","write_BrtBeginWsView","write_BrtCellIgnoreEC","write_BrtSheetProtection","parse_BrtDVal","parse_BrtDVal14","parse_ws_bin","ai","af","vm","ws_parse","RR","aii","_d","write_ws_bin_cell","last_seen","write_CELLTABLE","cap","write_MERGECELLS","write_COLINFOS","write_IGNOREECS","write_HLINKS","write_LEGACYDRAWING","write_AUTOFILTER","write_WSVIEWS2","write_WSFMTINFO","write_SHEETPROTECT","write_ws_bin","parse_Cache","nf","parse_chart","csheet","nc","cache","parse_cs_xml","!drawel","!rel","parse_BrtCsProp","parse_cs_bin","cs_parse","WBPropsDef","WBViewDef","SheetDef","CalcPrDef","push_defaults_array","push_defaults","parse_wb_defaults","CalcPr","WBView","safe1904","badchars","check_ws_name","check_wb_names","N","codes","cn","check_wb","dn","wbnsregex","parse_wb_xml","dname","dnstart","xml_wb","Hidden","Comment","localSheetId","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","write_BrtName","parse_wb_bin","hopper_wb","write_BUNDLESHS","viz","write_BrtFileVersion","write_BrtBookView","write_BOOKVIEWS","vistab","write_BRTNAMES","write_SELF_EXTERNS_xlsb","write_EXTERNALS_xlsb","write_wb_bin","parse_wb","parse_ws","parse_cs","parse_ms","parse_ds","parse_sty","parse_sst","parse_cmnt","parse_cc","parse_xlink","parse_xlmeta","attregexg2","attregex2","xlml_parsexmltag","words","xlml_parsexmltagobj","XLMLFormatMap","xlml_format","xlml_set_custprop","oval","safe_format_xlml","process_style_xlml","stag","Interior","I","Pattern","parse_xlml_data","csty","sid","StyleID","interiors","ssid","Parent","Formula","ArrayRange","xlml_prefix_dname","xlml_clean_comment","parse_xlml_xml","opening","ishtml","_o","html_to_workbook","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","sheetnames","cursheet","sheetname","dtag","didx","fidx","pidx","cstys","wsprops","raw_Rn3","HRef","HRefScreenTip","MergeAcross","MergeDown","cma","cmd","AutoFitHeight","Height","Format","ssfidx","Width","_col","Span","_NamedRange","_DefinedName","RefersTo","AutoFilter","Range","parse_fods","Margin","pagemargins","Top","Left","Right","Bottom","bookSheets","bookProps","parse_xlml","fix_read_opts","write_props_xlml","write_wb_xlml","write_sty_xlml","ss:Format","ss:ID","write_name_xlml","ss:Name","ss:RefersTo","write_names_xlml","write_ws_xlml_names","write_ws_xlml_wsopts","x:Margin","x:Bottom","x:Left","x:Right","x:Top","objects","scenarios","selectLockedCells","selectUnlockedCells","write_ws_xlml_comment","write_ws_xlml_cell","attr","mi","_v","write_ws_xlml_row","write_ws_xlml_table","ss:Index","skip","write_ws_xlml","write_xlml","General","xmlns:ss","xmlns:dt","xmlns:html","parse_compobj","AnsiUserType","AnsiClipboardFormat","Reserved1","UnicodeClipboardFormat","Reserved2","CONTINUE_RT","slurp","RecordType","nextrt","XLSRecordEnum","ll","safe_format_xf","make_cell","parse_workbook","Directory","last_formula","cur_sheet","Preamble","last_cell","rngC","rngR","temp_val","country","XFs","palette","biff4w","get_rgb","getrgb","process_cell_style","pcs","xfd","addcell","file_depth","afi","rrtabid","lastuser","winlocked","wtf","last_RT","BIFF2Fmt","BIFF2FmtTable","FilterDatabases","last_lbl","seen_codepage","Date1904","WriteProtect","cpval","CalcRefMode","FullCalc","ExternCount","tmpri","1033","1024","1280","1536","fakebs8","_fr","_fc","_fe","_arraystart","_j","_ixfe","b4idx","b2idx","TxO","ImData","noteobj","Encryption","Metadata","Country","PSCLSID","SI","DSI","UDI","parse_xls_props","DocSummary","Summary","write_xls_props","DSEntries","SEntries","CEntries","Keys","DocSummaryRE","SummaryRE","CEntries2","parse_xlscfb","CompObj","WorkbookP","bookVBA","bookFiles","write_xlscfb","wbpath","write_biff_buf","333","486","487","488","490","492","496","497","498","499","500","501","502","503","504","505","506","507","508","515","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","649","650","651","652","654","655","656","657","663","664","668","669","671","672","674","675","676","677","678","679","680","681","1025","1026","1027","1028","1029","1030","1031","1032","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","1064","1065","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","2050","2051","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","2137","2138","2139","2140","2141","3072","3073","4096","4097","5002","5003","5081","5082","5083","5084","5085","5086","5087","5088","5089","5090","5092","5093","5094","5095","5096","5097","5099","1212","2059","2061","2062","2063","2064","2066","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","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","2262","29282","write_biff_continue","write_BIFF2BERR","write_BIFF2LABEL","write_comments_biff2","write_ws_biff2_cell","_BIFF2FmtTable","write_ws_biff2","write_biff2_buf","_Fonts","b8oid","b8ocnts","write_MsoDrawingGroup","acc","write_comments_biff8","notes","baseid","_oasc","ci","oasc","oact","txo","cont","conf","notesh","write_FONTS_biff8","write_FMTS_biff8","write_FEAT","write_CELLXFS_biff8","write_ws_biff8_hlinks","HL","write_ws_cols_biff8","write_ws_biff8_cell","write_ws_biff8","_WB","_sheet","MAX_ROWS","write_biff8_global","_sheets","_wb","blen","write_biff8_buf","fix_write_opts","html_to_sheet","mtch2","hd","midx","colspan","rowspan","_t","make_html_row","editable","HTML_BEGIN","HTML_END","book_new","make_html_preamble","sheet_to_html","sheet_add_dom","tagName","or_R","or_C","is_dom_element_hidden","elts","hasAttribute","getAttribute","innerHTML","Aelts","getElementsByTagName","Aelti","parse_dom_table","table_to_book","element","get_computed_style","get_get_computed_style_function","getPropertyValue","ownerDocument","defaultView","getComputedStyle","parse_text_p","fixed","parse_ods_styles","_nfm","number_format_map","NFtag","tNF","etpos","infmt","parse_content_xml","nfidx","sheetag","rowtag","ctag","textp","textpidx","textptag","oldtextp","oldtextpidx","textR","oldtextR","row_ol","mrange","mR","mC","rowpeat","colpeat","atag","_Ref","creator","creatoridx","isstub","intable","rptR","rpt","annotag","xlmlidx","styletag","nrange","ptp","parse_ods","Styles","write_styles_ods","master_styles","xmlns:office","xmlns:table","xmlns:style","xmlns:text","xmlns:draw","xmlns:fo","xmlns:xlink","xmlns:number","xmlns:svg","xmlns:of","office:version","wso","write_number_format_ods","nopts","style:name","number:min-integer-digits","number:min-numerator-digits","number:max-denominator-value","number:denominator-value","number:decimal-places","number:min-decimal-places","has_time","np","write_names_ods","scoped","namei","odsref","table:name","table:cell-range-address","table:base-cell-address","write_content_ods","write_text_p","span","null_cell_xml","write_ws","nfs","ods","ROWS","_Fref","text_p","_tgt","xlink:href","acreator","apayload","aprops","write_automatic_styles_ods","colobj","nfi","wcx","xmlns:meta","xmlns:presentation","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:xhtml","xmlns:grddl","xmlns:tableooo","xmlns:drawooo","xmlns:calcext","xmlns:loext","xmlns:field","xmlns:formx","xmlns:css3t","fods","xmlns:config","office:mimetype","write_ods","u8_to_dataview","array","DataView","buffer","byteOffset","byteLength","u8str","u8","stru8","u8concat","u8a","popcnt","readDecimal128LE","exp","mantissa","writeDecimal128LE","parse_varint49","ptr","varint","write_varint49","parse_packed_varints","write_packed_varints","nums","varint_to_i32","i32","varint_to_u64","parse_shallow","write_shallow","proto","item","mappa","parse_iwa_file","_a","messages","merge","write_iwa_file","ias","ia","midata","aipayload","mid","parse_snappy_chunk","chunks","clen","u8i","decompress_iwa_file","compress_iwa_file","frame","numbers_lut_new","rsst","ofmt","nfmt","fmla","ferr","numbers_format_cell","_b","_c","ver","dur","dstyle","dmin","dmax","autodur","dstr","zstr","parse_old_storage","lut","dv","getUint32","zidx","ieee","doff","getFloat64","rts","parse_new_storage","d128","eidx","cmntidx","iwa_to_s5s_comment","write_new_storage","setFloat64","irsst","findIndex","setUint32","s5s_to_iwa_comment","write_old_storage","parse_cell_storage","parse_TSP_Reference","pb","write_TSP_Reference","numbers_add_oref","iwa","orefs","orefidx","numbers_del_oref","parse_TST_TableDataList","le","rtp","rtpref","mtype","tswpsa","richtext","sfields","smartfields","_a2","_b2","objtype","parse_TSD_CommentStorageArchive","parse_TST_TileRowInfo","_e","_g","_h","_i","_k","_m","wide_offsets","used_storage_u8","used_storage","used_storage_offsets","getUint16","parse_TST_Tile","nrows","reduce","csp","as","asp","replies","pi","reply","s5s","parse_TST_TableModelArchive","dws","store","tile","rtt","kv","tl","ref2","mtype2","_tile","parse_TST_TableInfoArchive","tableref","parse_TN_SheetArchive","shapeoffs","parse_TN_DocumentArchive","sheetoffs","root2","parse_numbers_iwa","indices","packets","packet","docroot","iwam","write_TST_TileRowInfo","wide","tri","new_7","new_4","last_offset","cell_storage","_dv","_last_offset","_cell_storage","setUint16","celload","_celload","write_iwam","get_unique_msgid","dep","dependents","build_numbers_deps","deps","mess","write_TSP_Color_RGB","Float32Array","get_author_color","random","write_numbers_iwa","numbers","numbers_iwa_find","sheetrefs","numbers_add_ws","write_numbers_ws","numbers_iwa_doit","ainfo","numbers_add_meta","mlist","newid","newloc","numbers_add_msg","numbers_meta_add_dep","parentidx","mm","parent","dep2","numbers_meta_del_dep","sheetref","newsheetref","remap","arch","doc","tiaref","sheetroot","sa","drawables","tia","tmaref","tiaroot","da","dap","oldtmaref","tma","tmaroot","uuid","new_uuid","srrta","hsoa","hsa","hseadata","hsea","oldref","newref","row_headers","tspref","tiles","tst","oldtileref","newtileref","oldtile","wsname","sheetidx","rootref","write_numbers_tma","USE_WIDE_ROWS","tmafile","trunc","R_","LUT","row_header_ref","rowhead","_x","base_bucket","R2","_bucket","col_header_ref","colhead","rbtree","tilestore","tstride","tileref","save_token","mlst","ntiles","newtileid","tiledata","tilerow","newtile","tilecontent","mergeid","sstref","sstroot","sstdata","rsstref","rsstroot","rsstdata","style_indices","tswpsaid","tswpsarefs","newhlinkid","smartfield","rtpaid","cmntref","cmntroot","cmntdata","aaaid2","csaid2","aaaid","csaid","fix_opts_func","fix_opts","get_sheet_type","safe_parse_wbrels","wbrels","pwbr","parse_sheet_legacy_drawing","dfile","draw","safe_parse_sheet","relsPath","sheetRels","stype","drelsp","chartp","crelsp","tcomments","strip_front_slash","_zip","index_zip","Bun","readSync","dir","binname","link","propdata","pluck","bookDeps","wbsheets","wbext","wbrelsi","wbrelsfile","nmode","wsloop","snjseen","snj","Deps","bin","parse_xlsxcfb","dsm","seds","einfo","decrypt_agile","decrypt_std76","write_zip_xlsb","foo","vbafmt","_sn","wsrels","_type","need_vml","needtc","rId1","write_zip_xlsx","read_cfb","read_zip","read_plaintext","main","read_plaintext_raw","read_utf16","bstrify","read_prn","ab","vu","write_cfb_ctr","write_zip_type","write_zip_denouement","write_zip_typeXLSX","oopts","ftype","nodebuffer","string","generate","encrypt_agile","write_cfb_type","write_string_type","bom","write_stxt_type","write_binary_type","writeSyncXLSX","writeSync","sheet_to_txt","sheet_to_csv","resolve_book_type","_BT","xls","slk","socialcalc","Sh33tJS","writeFileSyncXLSX","writeFileAsync","_cb","Function","make_json_row","defval","isempty","defineProperty","enumerable","__rowNum__","rawNumbers","outi","counter","header_cnt","skipHidden","blankrows","qreg","make_csv_row","txt","datarow","forceQuotes","strip","sheet_to_formulae","cmds","sheet_add_json","js","skipHeader","ROW","JS","json_to_sheet","RC","wb_sheet_idx","sh","roll","book_set_sheet_visibility","vis","cell_set_number_format","cell_set_hyperlink","cell_set_internal_link","cell_add_comment","sheet_set_array_formula","dynamic","rngstr","wsr","table_to_sheet","sheet_to_row_object_array","sheet_get_cell","SHEET_VISIBLE","SHEET_HIDDEN","SHEET_VERY_HIDDEN","_Readable","set_readable","write_csv_stream","stream","BOM","_read","write_html_stream","write_json_stream","objectMode","__stream","to_json","to_html","to_csv","readFile","writeXLSX","writeFileXLSX","strmod","Readable","define","amd","window"],"mappings":";AAIA,GAAIA,QACJ,SAASC,eAAcD,GACvBA,EAAKE,QAAU,QACf,IAAIC,GAAmB,KAAMC,EAAe,IAE5C,IAAIC,EAEJ,IAAIC,IAAe,IAAK,IAAK,IAAK,IAAK,IAAK,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,IAElG,IAAIC,IACHC,EAAM,KACNC,EAAK,MACLC,EAAK,MACLC,GAAK,IACLC,IAAO,IACPC,IAAO,IACPC,IAAM,KACNC,IAAO,IACPC,IAAO,IACPC,IAAM,KACNC,IAAM,KACNC,IAAM,KACNC,IAAM,KACNC,IAAM,KACNC,IAAM,KACNC,IAAM,KACNC,IAAO,IACPC,IAAM,KACNC,IAAM,KACNC,GAAM,KAGP,IAAIC,GAAW,SAASC,GAAM,GAAGvB,EAAWwB,QAAQD,KAAQ,EAAG,MAAQzB,GAAeG,EAAM,GAAKsB,EACjG,SAASE,KAAeH,EAAS,MAEjC,GAAII,GAAS,SAASH,GAAM1B,EAAmB0B,CAAID,GAASC,GAC5D,SAASI,KAAaD,EAAO,KAAOD,KAEpC,QAASG,GAAWC,GAAQ,GAAIC,KAAQ,KAAI,GAAIC,GAAI,EAAGC,EAAMH,EAAKI,OAAQF,EAAIC,IAAOD,EAAGD,EAAEC,GAAKF,EAAKK,WAAWH,EA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,IAC3B8zE,QACAoG,QACAnG,QACAoG,QACAC,QACAC,QACAC,QACAC,QACAvG,QACA4D,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAkC,QACAC,MAA6BvxH,EAAE,IAC/BwxH,QACAC,QACAC,QACAC,MAA6B7tH,EAAEwtC,IAC/BsgF,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,MAA2B5uH,EAAE2/C,GAAazjD,EAAE,IAC5C2yH,MAA2B7uH,EAAE6rE,GAAa3vE,EAAE,IAC5C4yH,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,MAA8BxvH,EAAE2rC,GAAWzvC,EAAE,IAC7CuzH,QACAC,MAAiCxzH,EAAE,IACnCyzH,QACAC,QACAC,QACAC,QACAC,MAA6B/vH,EAAE88C,GAAe5gD,EAAE,IAChD8zH,QACAC,MAA2BjwH,EAAEirE,GAAa/uE,EAAE,IAC5Cg0H,QACAC,QACAC,QACAC,MAAiCrwH,EAAEw9C,GAAmBthD,EAAE,IACxDo0H,MAAsCtwH,EAAEwtC,IACxC+iF,QACAC,QACAC,QACAC,QACAC,MAA0C3wH,EAAE40C,IAC5Cg8E,QACAC,QACAC,QACAC,QACAlF,QACAmF,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,MAA2B1yH,EAAE4tC,IAC7B+kF,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,MAA8BxzH,EAAEmgD,IAChCszE,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,MAAgCn0H,EAAEw/C,IAClC40E,QACAC,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xI,EAChBviB,GAAKuiB,aAAeA,EACpBviB,GAAK4lB,MAAQkqI,EACb9vJ,GAAKyvB,UAAY9J,EACjB3lB,GAAK2lB,cAAgBA,EACrB3lB,GAAKwwJ,eAAiBA,EACtBxwJ,GAAK0D,MAAQA,EACb1D,GAAKu0J,UAAY1E,EACjB7vJ,GAAKw0J,cAAgBjE,EACrBvwJ,GAAK6vB,OAASA,EACd7vB,GAAKwD,YAAcA,CACnBxD,GAAK8X,IAAMA,EACX,UAAUo8I,MAAa,YAAal0J,EAAK4zJ,OAASM,EAClD,UAAU94I,MAAQ,YAAapb,EAAKob,IAAMA,EAC1C,UAAUqqB,WAAY,YAAa,CACjC,GAAIgvH,IAASxvJ,SACb,KAAIwvJ,QAAYC,SAAUhB,GAAae,GAAOC,SAC/C,KAAM92I,GAAM3Y,UAAa,MAAMK,OAIhC,SAAUgW,WAAY,YAAarb,cAAcqb,aAC5C,UAAUkqB,UAAW,aAAeA,OAAOlqB,QAASrb,cAAculC,OAAOlqB,aACzE,UAAUq5I,UAAW,YAAcA,OAAOC,IAAKD,OAAO,OAAQ,WAAa,IAAI30J,KAAKE,QAASD,cAAcD,KAAO,OAAOA,YACzHC,eAAcD,KAEnB,UAAU60J,UAAW,cAAgBA,OAAO70J,KAAM,IAAM60J,OAAO70J,KAAOA,KAAQ,MAAMsF","file":"dist/xlsx.core.min.js"} \ No newline at end of file diff --git a/dist/xlsx.extendscript.js b/dist/xlsx.extendscript.js index 993326c..dc7da69 100644 --- a/dist/xlsx.extendscript.js +++ b/dist/xlsx.extendscript.js @@ -157,10 +157,10 @@ var DO_NOT_EXPORT_CODEPAGE = true; /*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */ /* vim: set ts=2: */ /*exported XLSX */ -/*global global, exports, module, require:false, process:false, Buffer:false, ArrayBuffer:false, DataView:false, Deno:false, Float32Array:false */ +/*global global, exports, module, require:false, process:false, Buffer:false, ArrayBuffer:false, DataView:false, Deno:false, Set:false, Float32Array:false */ var XLSX = {}; function make_xlsx_lib(XLSX){ -XLSX.version = '0.20.1'; +XLSX.version = '0.20.2'; var current_codepage = 1200, current_ansi = 1252; /*global cptable:true, window */ var $cptable; @@ -168,26 +168,26 @@ var $cptable; var VALID_ANSI = [ 874, 932, 936, 949, 950, 1250, 1251, 1252, 1253, 1254, 1255, 1256, 1257, 1258, 10000 ]; /* ECMA-376 Part I 18.4.1 charset to codepage mapping */ var CS2CP = ({ -0: 1252, /* ANSI */ -1: 65001, /* DEFAULT */ -2: 65001, /* SYMBOL */ -77: 10000, /* MAC */ -128: 932, /* SHIFTJIS */ -129: 949, /* HANGUL */ -130: 1361, /* JOHAB */ -134: 936, /* GB2312 */ -136: 950, /* CHINESEBIG5 */ -161: 1253, /* GREEK */ -162: 1254, /* TURKISH */ -163: 1258, /* VIETNAMESE */ -177: 1255, /* HEBREW */ -178: 1256, /* ARABIC */ -186: 1257, /* BALTIC */ -204: 1251, /* RUSSIAN */ -222: 874, /* THAI */ -238: 1250, /* EASTEUROPE */ -255: 1252, /* OEM */ -69: 6969 /* MISC */ + 0: 1252, /* ANSI */ + 1: 65001, /* DEFAULT */ + 2: 65001, /* SYMBOL */ + 77: 10000, /* MAC */ + 128: 932, /* SHIFTJIS */ + 129: 949, /* HANGUL */ + 130: 1361, /* JOHAB */ + 134: 936, /* GB2312 */ + 136: 950, /* CHINESEBIG5 */ + 161: 1253, /* GREEK */ + 162: 1254, /* TURKISH */ + 163: 1258, /* VIETNAMESE */ + 177: 1255, /* HEBREW */ + 178: 1256, /* ARABIC */ + 186: 1257, /* BALTIC */ + 204: 1251, /* RUSSIAN */ + 222: 874, /* THAI */ + 238: 1250, /* EASTEUROPE */ + 255: 1252, /* OEM */ + 69: 6969 /* MISC */ }); var set_ansi = function(cp) { if(VALID_ANSI.indexOf(cp) == -1) return; current_ansi = CS2CP[0] = cp; }; @@ -313,7 +313,12 @@ function Base64_encode_arr(input) { function Base64_decode(input) { var o = ""; var c1 = 0, c2 = 0, c3 = 0, e1 = 0, e2 = 0, e3 = 0, e4 = 0; - input = input.replace(/^data:([^\/]+\/[^\/]+)?;base64\,/, "").replace(/[^\w\+\/\=]/g, ""); + if (input.slice(0, 5) == "data:") { + var i = input.slice(0, 1024).indexOf(";base64,"); + if (i > -1) + input = input.slice(i + 8); + } + input = input.replace(/[^\w\+\/\=]/g, ""); for (var i = 0; i < input.length; ) { e1 = Base64_map.indexOf(input.charAt(i++)); e2 = Base64_map.indexOf(input.charAt(i++)); @@ -854,7 +859,7 @@ function write_num_f2(r, aval, sign) { return sign + (aval === 0 ? "" : ""+aval) + fill(" ", r[1].length + 2 + r[4].length); } var dec1 = /^#*0*\.([0#]+)/; -var closeparen = /\).*[0#]/; +var closeparen = /\)[^)]*[0#]/; var phone = /\(###\) ###\\?-####/; function hashq(str) { var o = "", cc; @@ -2267,9 +2272,9 @@ flen = file.content.length; file = cfb.FileIndex[i]; if(i === 0) file.start = file.size ? file.start - 1 : ENDOFCHAIN; var _nm = (i === 0 && _opts.root) || file.name; - if(_nm.length > 32) { - console.error("Name " + _nm + " will be truncated to " + _nm.slice(0,32)); - _nm = _nm.slice(0, 32); + if(_nm.length > 31) { + console.error("Name " + _nm + " will be truncated to " + _nm.slice(0,31)); + _nm = _nm.slice(0, 31); } flen = 2*(_nm.length+1); o.write_shift(64, _nm, "utf16le"); @@ -3178,7 +3183,7 @@ function parse_mime(cfb, data, root) { for(;di < 10; ++di) { var line = data[di]; if(!line || line.match(/^\s*$/)) break; - var m = line.match(/^(.*?):\s*([^\s].*)$/); + var m = line.match(/^([^:]*?):\s*([^\s].*)$/); if(m) switch(m[1].toLowerCase()) { case "content-location": fname = m[2].trim(); break; case "content-type": ctype = m[2].trim(); break; @@ -3417,7 +3422,7 @@ document.body.removeChild(a); var out = File(fname); out.open("w"); out.encoding = "binary"; if(Array.isArray(payload)) payload = a2s(payload); out.write(payload); out.close(); return payload; - } catch(e) { if(!e.message || !e.message.match(/onstruct/)) throw e; } + } catch(e) { if(!e.message || e.message.indexOf("onstruct") == -1) throw e; } throw new Error("cannot save file " + fname); } @@ -3431,7 +3436,7 @@ function read_binary(path) { var infile = File(path); infile.open("r"); infile.encoding = "binary"; var data = infile.read(); infile.close(); return data; - } catch(e) { if(!e.message || !e.message.match(/onstruct/)) throw e; } + } catch(e) { if(!e.message || e.message.indexOf("onstruct") == -1) throw e; } throw new Error("Cannot access file " + path); } function keys(o) { @@ -3523,7 +3528,7 @@ function parseDate(str, date1904) { if(m) return new Date(Date.UTC(+m[1], +m[2]-1, +m[3], 0, 0, 0, 0)); /* TODO: 1900-02-29T00:00:00.000 should return a flag to treat as a date code (affects xlml) */ m = str.match(pdre3); - if(m) return new Date(Date.UTC(+m[1], +m[2]-1, +m[3], +m[4], +m[5], ((m[6] && parseInt(m[6].slice(1), 10))|| 0), ((m[7] && parseInt(m[7].slice(1), 10))||0))); + if(m) return new Date(Date.UTC(+m[1], +m[2]-1, +m[3], +m[4], +m[5], ((m[6] && parseInt(m[6].slice(1), 10))|| 0), ((m[7] && parseInt((m[7] + "0000").slice(1,4), 10))||0))); var d = new Date(str); return d; } @@ -3590,7 +3595,7 @@ function fuzzynum(s) { var wt = 1; var ss = s.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g, function() { wt *= 100; return "";}); if(!isNaN(v = Number(ss))) return v / wt; - ss = ss.replace(/[(](.*)[)]/,function($$, $1) { wt = -wt; return $1;}); + ss = ss.replace(/[(]([^()]*)[)]/,function($$, $1) { wt = -wt; return $1;}); if(!isNaN(v = Number(ss))) return v / wt; return v; } @@ -3631,7 +3636,7 @@ function fuzzydate(s) { M = lnos.match(FDRE2); if(M) return fuzzytime2(M); M = lnos.match(pdre3); - if(M) return new Date(Date.UTC(+M[1], +M[2]-1, +M[3], +M[4], +M[5], ((M[6] && parseInt(M[6].slice(1), 10))|| 0), ((M[7] && parseInt(M[7].slice(1), 10))||0))); + if(M) return new Date(Date.UTC(+M[1], +M[2]-1, +M[3], +M[4], +M[5], ((M[6] && parseInt(M[6].slice(1), 10))|| 0), ((M[7] && parseInt((M[7] + "0000").slice(1,4), 10))||0))); var o = new Date(utc_append_works && s.indexOf("UTC") == -1 ? s + " UTC": s), n = new Date(NaN); var y = o.getYear(), m = o.getMonth(), d = o.getDate(); if(isNaN(d)) return n; @@ -3659,6 +3664,161 @@ function utc_to_local(utc) { function local_to_utc(local) { return new Date(Date.UTC(local.getFullYear(), local.getMonth(), local.getDate(), local.getHours(), local.getMinutes(), local.getSeconds(), local.getMilliseconds())); } + +function remove_doctype(str) { + var preamble = str.slice(0, 1024); + var si = preamble.indexOf("/g) --> str_match_ng(str, "") */ +function str_match_ng(str, s, e) { + var out = []; + + var si = str.indexOf(s); + while(si > -1) { + var ei = str.indexOf(e, si + s.length); + if(ei == -1) break; + + out.push(str.slice(si, ei + e.length)); + si = str.indexOf(s, ei + e.length); + } + + return out.length > 0 ? out : null; +} + +/* str.replace(//g, "") --> str_remove_ng(str, "") */ +function str_remove_ng(str, s, e) { + var out = [], last = 0; + + var si = str.indexOf(s); + if(si == -1) return str; + while(si > -1) { + out.push(str.slice(last, si)); + var ei = str.indexOf(e, si + s.length); + if(ei == -1) break; + + if((si = str.indexOf(s, (last = ei + e.length))) == -1) out.push(str.slice(last)); + } + + return out.join(""); +} + +/* str.match(/]*?>([\s\S]*?)/) --> str_match_xml(str, "tag") */ +var xml_boundary = { " ": 1, "\t": 1, "\r": 1, "\n": 1, ">": 1 }; +function str_match_xml(str, tag) { + var si = str.indexOf('<' + tag), w = tag.length + 1, L = str.length; + while(si >= 0 && si <= L - w && !xml_boundary[str.charAt(si + w)]) si = str.indexOf('<' + tag, si+1); + if(si === -1) return null; + var sf = str.indexOf(">", si + tag.length); + if(sf === -1) return null; + var et = ""; + var ei = str.indexOf(et, sf); + if(ei == -1) return null; + return [str.slice(si, ei + et.length), str.slice(sf + 1, ei)]; +} + +/* str.match(/<(?:\w+:)?tag\b[^<>]*?>([\s\S]*?)<\/(?:\w+:)?tag>/) --> str_match_xml(str, "tag") */ +var str_match_xml_ns = (function() { + var str_match_xml_ns_cache = {}; + return function str_match_xml_ns(str, tag) { + var res = str_match_xml_ns_cache[tag]; + if(!res) str_match_xml_ns_cache[tag] = res = [ + new RegExp('<(?:\\w+:)?'+tag+'\\b[^<>]*>', "g"), + new RegExp('', "g") + ]; + res[0].lastIndex = res[1].lastIndex = 0; + var m = res[0].exec(str); + if(!m) return null; + var si = m.index; + var sf = res[0].lastIndex; + res[1].lastIndex = res[0].lastIndex; + m = res[1].exec(str); + if(!m) return null; + var ei = m.index; + var ef = res[1].lastIndex; + return [str.slice(si, ef), str.slice(sf, ei)]; + }; +})(); + +/* str.match(/<(?:\w+:)?tag\b[^<>]*?>([\s\S]*?)<\/(?:\w+:)?tag>/g) --> str_match_xml_ns_g(str, "tag") */ +var str_match_xml_ns_g = (function() { + var str_match_xml_ns_cache = {}; + return function str_match_xml_ns(str, tag) { + var out = []; + var res = str_match_xml_ns_cache[tag]; + if(!res) str_match_xml_ns_cache[tag] = res = [ + new RegExp('<(?:\\w+:)?'+tag+'\\b[^<>]*>', "g"), + new RegExp('', "g") + ]; + res[0].lastIndex = res[1].lastIndex = 0; + var m; + while((m = res[0].exec(str))) { + var si = m.index; + res[1].lastIndex = res[0].lastIndex; + m = res[1].exec(str); + if(!m) return null; + var ef = res[1].lastIndex; + out.push(str.slice(si, ef)); + res[0].lastIndex = res[1].lastIndex; + } + return out.length == 0 ? null : out; + }; +})(); +var str_remove_xml_ns_g = (function() { + var str_remove_xml_ns_cache = {}; + return function str_remove_xml_ns_g(str, tag) { + var out = []; + var res = str_remove_xml_ns_cache[tag]; + if(!res) str_remove_xml_ns_cache[tag] = res = [ + new RegExp('<(?:\\w+:)?'+tag+'\\b[^<>]*>', "g"), + new RegExp('', "g") + ]; + res[0].lastIndex = res[1].lastIndex = 0; + var m; + var si = 0, ef = 0; + while((m = res[0].exec(str))) { + si = m.index; + out.push(str.slice(ef, si)); + ef = si; + res[1].lastIndex = res[0].lastIndex; + m = res[1].exec(str); + if(!m) return null; + ef = res[1].lastIndex; + res[0].lastIndex = res[1].lastIndex; + } + out.push(str.slice(ef)); + return out.length == 0 ? "" : out.join(""); + }; +})(); + +/* str.match(/<(?:\w+:)?tag\b[^>]*?>([\s\S]*?)<\/(?:\w+:)?tag>/gi) --> str_match_xml_ns_ig(str, "tag") */ +var str_match_xml_ig = (function() { + var str_match_xml_ns_cache = {}; + return function str_match_xml_ns(str, tag) { + var out = []; + var res = str_match_xml_ns_cache[tag]; + if(!res) str_match_xml_ns_cache[tag] = res = [ + new RegExp('<'+tag+'\\b[^<>]*>', "ig"), + new RegExp('', "ig") + ]; + res[0].lastIndex = res[1].lastIndex = 0; + var m; + while((m = res[0].exec(str))) { + var si = m.index; + res[1].lastIndex = res[0].lastIndex; + m = res[1].exec(str); + if(!m) return null; + var ef = res[1].lastIndex; + out.push(str.slice(si, ef)); + res[0].lastIndex = res[1].lastIndex; + } + return out.length == 0 ? null : out; + }; +})(); function getdatastr(data) { if(!data) return null; if(data.content && data.type) return cc2str(data.content, true); @@ -3765,8 +3925,8 @@ function resolve_path(path, base) { return result.join('/'); } var XML_HEADER = '\r\n'; -var attregexg=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g; -var tagregex1=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/mg, tagregex2 = /<[^>]*>/g; +var attregexg=/\s([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g; +var tagregex1=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?<>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'"<>\s=]+))*\s*[\/\?]?>/mg, tagregex2 = /<[^<>]*>/g; var tagregex = XML_HEADER.match(tagregex1) ? tagregex1 : tagregex2; var nsregex=/<\w*:/, nsregex2 = /<(\/?)\w+:/; function parsexmltag(tag, skip_root, skip_LC) { @@ -3777,7 +3937,7 @@ function parsexmltag(tag, skip_root, skip_LC) { if(eq === tag.length) return z; var m = tag.match(attregexg), j=0, v="", i=0, q="", cc="", quot = 1; if(m) for(i = 0; i != m.length; ++i) { - cc = m[i]; + cc = m[i].slice(1); for(c=0; c != cc.length; ++c) if(cc.charCodeAt(c) === 61) break; q = cc.slice(0,c).trim(); while(cc.charCodeAt(c+1) == 32) ++c; @@ -3927,16 +4087,6 @@ var utf8write = has_buf ? function(data) { return Buffer_from(data, 'utf8').toSt return out.join(""); }; -// matches ... extracts content -var matchtag = (function() { - var mtcache = ({}); - return function matchtag(f,g) { - var t = f+"|"+(g||""); - if(mtcache[t]) return mtcache[t]; - return (mtcache[t] = new RegExp('<(?:\\w+:)?'+f+'(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)',((g||"")))); - }; -})(); - var htmldecode = (function() { var entities = [ ['nbsp', ' '], ['middot', '·'], @@ -3947,30 +4097,25 @@ var htmldecode = (function() { // Remove new lines and spaces from start of content .replace(/^[\t\n\r ]+/, "") // Remove new lines and spaces from end of content - .replace(/[\t\n\r ]+$/,"") + .replace(/(^|[^\t\n\r ])[\t\n\r ]+$/,"$1") // Added line which removes any white space characters after and before html tags - .replace(/>\s+/g,">").replace(/\s+\s+/g,">").replace(/\b\s+ tags with new lines .replace(/<\s*[bB][rR]\s*\/?>/g,"\n") // Strip HTML elements - .replace(/<[^>]*>/g,""); + .replace(/<[^<>]*>/g,""); for(var i = 0; i < entities.length; ++i) o = o.replace(entities[i][0], entities[i][1]); return o; }; })(); -var vtregex = (function(){ var vt_cache = {}; - return function vt_regex(bt) { - if(vt_cache[bt] !== undefined) return vt_cache[bt]; - return (vt_cache[bt] = new RegExp("<(?:vt:)?" + bt + ">([\\s\\S]*?)", 'g') ); -};})(); -var vtvregex = /<\/?(?:vt:)?variant>/g, vtmregex = /<(?:vt:)([^>]*)>([\s\S]*)/g, vtmregex = /<(?:vt:)([^<"'>]*)>([\s\S]*):\/]+)(?:[\s?:\/](?:[^>=]|="[^"]*?")*)?>/mg; -//var xlmlregex = /<(\/?)([a-z0-9]*:|)(\w+)[^>]*>/mg; +/* UOS uses CJK in tags, ODS uses invalid XML */ +var xlmlregex = /<([\/]?)([^\s?>:\/"]+)(?:\s+[^<>=?"'\s]+="[^"]*?")*\s*[\/]?>/mg; var XMLNS = ({ CORE_PROPS: 'http://schemas.openxmlformats.org/package/2006/metadata/core-properties', @@ -4548,22 +4692,24 @@ function sheet_add_aoa(_ws, data, opts) { var _origin = typeof o.origin == "string" ? decode_cell(o.origin) : o.origin; _R = _origin.r; _C = _origin.c; } - if(!ws["!ref"]) ws["!ref"] = "A1:A1"; } var range = ({s: {c:10000000, r:10000000}, e: {c:0, r:0}}); - if(ws['!ref']) { + if(ws["!ref"]){ var _range = safe_decode_range(ws['!ref']); range.s.c = _range.s.c; range.s.r = _range.s.r; range.e.c = Math.max(range.e.c, _range.e.c); range.e.r = Math.max(range.e.r, _range.e.r); - if(_R == -1) range.e.r = _R = _range.e.r + 1; + if(_R == -1) range.e.r = _R = (ws["!ref"] ? _range.e.r + 1 : 0); + } else { + range.s.c = range.e.c = range.s.r = range.e.r = 0; } - var row = []; + var row = [], seen = false; for(var R = 0; R != data.length; ++R) { if(!data[R]) continue; if(!Array.isArray(data[R])) throw new Error("aoa_to_sheet expects an array of arrays"); var __R = _R + R, __Rstr = "" + (__R + 1); + //console.log("!!", R, _R, __R); if(dense) { if(!ws["!data"][__R]) ws["!data"][__R] = []; row = ws["!data"][__R]; @@ -4576,6 +4722,7 @@ function sheet_add_aoa(_ws, data, opts) { if(range.s.c > __C) range.s.c = __C; if(range.e.r < __R) range.e.r = __R; if(range.e.c < __C) range.e.c = __C; + seen = true; if(data[R][C] && typeof data[R][C] === 'object' && !Array.isArray(data[R][C]) && !(data[R][C] instanceof Date)) cell = data[R][C]; else { if(Array.isArray(cell.v)) { cell.f = data[R][C][1]; cell.v = cell.v[0]; } @@ -4605,7 +4752,7 @@ function sheet_add_aoa(_ws, data, opts) { } } } - if(range.s.c < 10000000) ws['!ref'] = encode_range(range); + if(seen && range.s.c < 10400000) ws['!ref'] = encode_range(range); return ws; } function aoa_to_sheet(data, opts) { return sheet_add_aoa(null, data, opts); } @@ -4967,118 +5114,118 @@ var VT_CUSTOM = [VT_STRING, VT_USTR]; /* [MS-OSHARED] 2.3.3.2.2.1 Document Summary Information PIDDSI */ var DocSummaryPIDDSI = { -0x01: { n: 'CodePage', t: VT_I2 }, -0x02: { n: 'Category', t: VT_STRING }, -0x03: { n: 'PresentationFormat', t: VT_STRING }, -0x04: { n: 'ByteCount', t: VT_I4 }, -0x05: { n: 'LineCount', t: VT_I4 }, -0x06: { n: 'ParagraphCount', t: VT_I4 }, -0x07: { n: 'SlideCount', t: VT_I4 }, -0x08: { n: 'NoteCount', t: VT_I4 }, -0x09: { n: 'HiddenCount', t: VT_I4 }, -0x0a: { n: 'MultimediaClipCount', t: VT_I4 }, -0x0b: { n: 'ScaleCrop', t: VT_BOOL }, -0x0c: { n: 'HeadingPairs', t: VT_VECTOR_VARIANT /* VT_VECTOR | VT_VARIANT */ }, -0x0d: { n: 'TitlesOfParts', t: VT_VECTOR_LPSTR /* VT_VECTOR | VT_LPSTR */ }, -0x0e: { n: 'Manager', t: VT_STRING }, -0x0f: { n: 'Company', t: VT_STRING }, -0x10: { n: 'LinksUpToDate', t: VT_BOOL }, -0x11: { n: 'CharacterCount', t: VT_I4 }, -0x13: { n: 'SharedDoc', t: VT_BOOL }, -0x16: { n: 'HyperlinksChanged', t: VT_BOOL }, -0x17: { n: 'AppVersion', t: VT_I4, p: 'version' }, -0x18: { n: 'DigSig', t: VT_BLOB }, -0x1A: { n: 'ContentType', t: VT_STRING }, -0x1B: { n: 'ContentStatus', t: VT_STRING }, -0x1C: { n: 'Language', t: VT_STRING }, -0x1D: { n: 'Version', t: VT_STRING }, -0xFF: {}, + 0x01: { n: 'CodePage', t: VT_I2 }, + 0x02: { n: 'Category', t: VT_STRING }, + 0x03: { n: 'PresentationFormat', t: VT_STRING }, + 0x04: { n: 'ByteCount', t: VT_I4 }, + 0x05: { n: 'LineCount', t: VT_I4 }, + 0x06: { n: 'ParagraphCount', t: VT_I4 }, + 0x07: { n: 'SlideCount', t: VT_I4 }, + 0x08: { n: 'NoteCount', t: VT_I4 }, + 0x09: { n: 'HiddenCount', t: VT_I4 }, + 0x0a: { n: 'MultimediaClipCount', t: VT_I4 }, + 0x0b: { n: 'ScaleCrop', t: VT_BOOL }, + 0x0c: { n: 'HeadingPairs', t: VT_VECTOR_VARIANT /* VT_VECTOR | VT_VARIANT */ }, + 0x0d: { n: 'TitlesOfParts', t: VT_VECTOR_LPSTR /* VT_VECTOR | VT_LPSTR */ }, + 0x0e: { n: 'Manager', t: VT_STRING }, + 0x0f: { n: 'Company', t: VT_STRING }, + 0x10: { n: 'LinksUpToDate', t: VT_BOOL }, + 0x11: { n: 'CharacterCount', t: VT_I4 }, + 0x13: { n: 'SharedDoc', t: VT_BOOL }, + 0x16: { n: 'HyperlinksChanged', t: VT_BOOL }, + 0x17: { n: 'AppVersion', t: VT_I4, p: 'version' }, + 0x18: { n: 'DigSig', t: VT_BLOB }, + 0x1A: { n: 'ContentType', t: VT_STRING }, + 0x1B: { n: 'ContentStatus', t: VT_STRING }, + 0x1C: { n: 'Language', t: VT_STRING }, + 0x1D: { n: 'Version', t: VT_STRING }, + 0xFF: {}, /* [MS-OLEPS] 2.18 */ -0x80000000: { n: 'Locale', t: VT_UI4 }, -0x80000003: { n: 'Behavior', t: VT_UI4 }, -0x72627262: {} + 0x80000000: { n: 'Locale', t: VT_UI4 }, + 0x80000003: { n: 'Behavior', t: VT_UI4 }, + 0x72627262: {} }; /* [MS-OSHARED] 2.3.3.2.1.1 Summary Information Property Set PIDSI */ var SummaryPIDSI = { -0x01: { n: 'CodePage', t: VT_I2 }, -0x02: { n: 'Title', t: VT_STRING }, -0x03: { n: 'Subject', t: VT_STRING }, -0x04: { n: 'Author', t: VT_STRING }, -0x05: { n: 'Keywords', t: VT_STRING }, -0x06: { n: 'Comments', t: VT_STRING }, -0x07: { n: 'Template', t: VT_STRING }, -0x08: { n: 'LastAuthor', t: VT_STRING }, -0x09: { n: 'RevNumber', t: VT_STRING }, -0x0A: { n: 'EditTime', t: VT_FILETIME }, -0x0B: { n: 'LastPrinted', t: VT_FILETIME }, -0x0C: { n: 'CreatedDate', t: VT_FILETIME }, -0x0D: { n: 'ModifiedDate', t: VT_FILETIME }, -0x0E: { n: 'PageCount', t: VT_I4 }, -0x0F: { n: 'WordCount', t: VT_I4 }, -0x10: { n: 'CharCount', t: VT_I4 }, -0x11: { n: 'Thumbnail', t: VT_CF }, -0x12: { n: 'Application', t: VT_STRING }, -0x13: { n: 'DocSecurity', t: VT_I4 }, -0xFF: {}, + 0x01: { n: 'CodePage', t: VT_I2 }, + 0x02: { n: 'Title', t: VT_STRING }, + 0x03: { n: 'Subject', t: VT_STRING }, + 0x04: { n: 'Author', t: VT_STRING }, + 0x05: { n: 'Keywords', t: VT_STRING }, + 0x06: { n: 'Comments', t: VT_STRING }, + 0x07: { n: 'Template', t: VT_STRING }, + 0x08: { n: 'LastAuthor', t: VT_STRING }, + 0x09: { n: 'RevNumber', t: VT_STRING }, + 0x0A: { n: 'EditTime', t: VT_FILETIME }, + 0x0B: { n: 'LastPrinted', t: VT_FILETIME }, + 0x0C: { n: 'CreatedDate', t: VT_FILETIME }, + 0x0D: { n: 'ModifiedDate', t: VT_FILETIME }, + 0x0E: { n: 'PageCount', t: VT_I4 }, + 0x0F: { n: 'WordCount', t: VT_I4 }, + 0x10: { n: 'CharCount', t: VT_I4 }, + 0x11: { n: 'Thumbnail', t: VT_CF }, + 0x12: { n: 'Application', t: VT_STRING }, + 0x13: { n: 'DocSecurity', t: VT_I4 }, + 0xFF: {}, /* [MS-OLEPS] 2.18 */ -0x80000000: { n: 'Locale', t: VT_UI4 }, -0x80000003: { n: 'Behavior', t: VT_UI4 }, -0x72627262: {} + 0x80000000: { n: 'Locale', t: VT_UI4 }, + 0x80000003: { n: 'Behavior', t: VT_UI4 }, + 0x72627262: {} }; /* [MS-XLS] 2.4.63 Country/Region codes */ var CountryEnum = { -0x0001: "US", // United States -0x0002: "CA", // Canada -0x0003: "", // Latin America (except Brazil) -0x0007: "RU", // Russia -0x0014: "EG", // Egypt -0x001E: "GR", // Greece -0x001F: "NL", // Netherlands -0x0020: "BE", // Belgium -0x0021: "FR", // France -0x0022: "ES", // Spain -0x0024: "HU", // Hungary -0x0027: "IT", // Italy -0x0029: "CH", // Switzerland -0x002B: "AT", // Austria -0x002C: "GB", // United Kingdom -0x002D: "DK", // Denmark -0x002E: "SE", // Sweden -0x002F: "NO", // Norway -0x0030: "PL", // Poland -0x0031: "DE", // Germany -0x0034: "MX", // Mexico -0x0037: "BR", // Brazil -0x003d: "AU", // Australia -0x0040: "NZ", // New Zealand -0x0042: "TH", // Thailand -0x0051: "JP", // Japan -0x0052: "KR", // Korea -0x0054: "VN", // Viet Nam -0x0056: "CN", // China -0x005A: "TR", // Turkey -0x0069: "JS", // Ramastan -0x00D5: "DZ", // Algeria -0x00D8: "MA", // Morocco -0x00DA: "LY", // Libya -0x015F: "PT", // Portugal -0x0162: "IS", // Iceland -0x0166: "FI", // Finland -0x01A4: "CZ", // Czech Republic -0x0376: "TW", // Taiwan -0x03C1: "LB", // Lebanon -0x03C2: "JO", // Jordan -0x03C3: "SY", // Syria -0x03C4: "IQ", // Iraq -0x03C5: "KW", // Kuwait -0x03C6: "SA", // Saudi Arabia -0x03CB: "AE", // United Arab Emirates -0x03CC: "IL", // Israel -0x03CE: "QA", // Qatar -0x03D5: "IR", // Iran -0xFFFF: "US" // United States + 0x0001: "US", // United States + 0x0002: "CA", // Canada + 0x0003: "", // Latin America (except Brazil) + 0x0007: "RU", // Russia + 0x0014: "EG", // Egypt + 0x001E: "GR", // Greece + 0x001F: "NL", // Netherlands + 0x0020: "BE", // Belgium + 0x0021: "FR", // France + 0x0022: "ES", // Spain + 0x0024: "HU", // Hungary + 0x0027: "IT", // Italy + 0x0029: "CH", // Switzerland + 0x002B: "AT", // Austria + 0x002C: "GB", // United Kingdom + 0x002D: "DK", // Denmark + 0x002E: "SE", // Sweden + 0x002F: "NO", // Norway + 0x0030: "PL", // Poland + 0x0031: "DE", // Germany + 0x0034: "MX", // Mexico + 0x0037: "BR", // Brazil + 0x003d: "AU", // Australia + 0x0040: "NZ", // New Zealand + 0x0042: "TH", // Thailand + 0x0051: "JP", // Japan + 0x0052: "KR", // Korea + 0x0054: "VN", // Viet Nam + 0x0056: "CN", // China + 0x005A: "TR", // Turkey + 0x0069: "JS", // Ramastan + 0x00D5: "DZ", // Algeria + 0x00D8: "MA", // Morocco + 0x00DA: "LY", // Libya + 0x015F: "PT", // Portugal + 0x0162: "IS", // Iceland + 0x0166: "FI", // Finland + 0x01A4: "CZ", // Czech Republic + 0x0376: "TW", // Taiwan + 0x03C1: "LB", // Lebanon + 0x03C2: "JO", // Jordan + 0x03C3: "SY", // Syria + 0x03C4: "IQ", // Iraq + 0x03C5: "KW", // Kuwait + 0x03C6: "SA", // Saudi Arabia + 0x03CB: "AE", // United Arab Emirates + 0x03CC: "IL", // Israel + 0x03CE: "QA", // Qatar + 0x03D5: "IR", // Iran + 0xFFFF: "US" // United States }; /* [MS-XLS] 2.5.127 */ @@ -5204,15 +5351,15 @@ var XLSIcv = dup(_XLSIcv); /* [MS-XLSB] 2.5.97.2 */ var BErr = { -0x00: "#NULL!", -0x07: "#DIV/0!", -0x0F: "#VALUE!", -0x17: "#REF!", -0x1D: "#NAME?", -0x24: "#NUM!", -0x2A: "#N/A", -0x2B: "#GETTING_DATA", -0xFF: "#WTF?" + 0x00: "#NULL!", + 0x07: "#DIV/0!", + 0x0F: "#VALUE!", + 0x17: "#REF!", + 0x1D: "#NAME?", + 0x24: "#NUM!", + 0x2A: "#N/A", + 0x2B: "#GETTING_DATA", + 0xFF: "#WTF?" }; //var RBErr = evert_num(BErr); var RBErr = { @@ -5750,22 +5897,12 @@ var CORE_PROPS = [ ["dcterms:modified", "ModifiedDate", 'date'] ]; -var CORE_PROPS_REGEX = (function() { - var r = new Array(CORE_PROPS.length); - for(var i = 0; i < CORE_PROPS.length; ++i) { - var f = CORE_PROPS[i]; - var g = "(?:"+ f[0].slice(0,f[0].indexOf(":")) +":)"+ f[0].slice(f[0].indexOf(":")+1); - r[i] = new RegExp("<" + g + "[^>]*>([\\s\\S]*?)<\/" + g + ">"); - } - return r; -})(); - function parse_core_props(data) { var p = {}; data = utf8read(data); for(var i = 0; i < CORE_PROPS.length; ++i) { - var f = CORE_PROPS[i], cur = data.match(CORE_PROPS_REGEX[i]); + var f = CORE_PROPS[i], cur = str_match_xml(data, f[0]); if(cur != null && cur.length > 0) p[f[1]] = unescapexml(cur[1]); if(f[2] === 'date' && p[f[1]]) p[f[1]] = parseDate(p[f[1]]); } @@ -5881,12 +6018,12 @@ function parse_ext_props(data, p, opts) { data = utf8read(data); EXT_PROPS.forEach(function(f) { - var xml = (data.match(matchtag(f[0]))||[])[1]; + var xml = (str_match_xml_ns(data, f[0])||[])[1]; switch(f[2]) { case "string": if(xml) p[f[1]] = unescapexml(xml); break; case "bool": p[f[1]] = xml === "true"; break; case "raw": - var cur = data.match(new RegExp("<" + f[0] + "[^>]*>([\\s\\S]*?)<\/" + f[0] + ">")); + var cur = str_match_xml(data, f[0]); if(cur && cur.length > 0) q[f[1]] = cur[1]; break; } @@ -5924,7 +6061,7 @@ function write_ext_props(cp) { return o.join(""); } /* 15.2.12.2 Custom File Properties Part */ -var custregex = /<[^>]+>[^<]*/g; +var custregex = /<[^<>]+>[^<]*/g; function parse_cust_props(data, opts) { var p = {}, name = ""; var m = data.match(custregex); @@ -6310,8 +6447,8 @@ function parse_PropertySet(blob, PIDSI) { /* [MS-OSHARED] 2.3.3.2.3.1.2 + PROPVARIANT */ switch(blob[blob.l]) { case 0x41 /*VT_BLOB*/: blob.l += 4; val = parse_BLOB(blob); break; - case 0x1E /*VT_LPSTR*/: blob.l += 4; val = parse_VtString(blob, blob[blob.l-4]).replace(/\u0000+$/,""); break; - case 0x1F /*VT_LPWSTR*/: blob.l += 4; val = parse_VtString(blob, blob[blob.l-4]).replace(/\u0000+$/,""); break; + case 0x1E /*VT_LPSTR*/: blob.l += 4; val = parse_VtString(blob, blob[blob.l-4]).replace(/(^|[^\u0000])\u0000+$/,"$1"); break; + case 0x1F /*VT_LPWSTR*/: blob.l += 4; val = parse_VtString(blob, blob[blob.l-4]).replace(/(^|[^\u0000])\u0000+$/,"$1"); break; case 0x03 /*VT_I4*/: blob.l += 4; val = blob.read_shift(4, 'i'); break; case 0x13 /*VT_UI4*/: blob.l += 4; val = blob.read_shift(4); break; case 0x05 /*VT_R8*/: blob.l += 4; val = blob.read_shift(8, 'f'); break; @@ -6836,25 +6973,25 @@ function parse_FtCf(blob) { /* [MS-XLS] 2.5.140 - 2.5.154 and friends */ function parse_FtSkip(blob) { blob.l += 2; blob.l += blob.read_shift(2); } var FtTab = { -0x00: parse_FtSkip, /* FtEnd */ -0x04: parse_FtSkip, /* FtMacro */ -0x05: parse_FtSkip, /* FtButton */ -0x06: parse_FtSkip, /* FtGmo */ -0x07: parse_FtCf, /* FtCf */ -0x08: parse_FtSkip, /* FtPioGrbit */ -0x09: parse_FtSkip, /* FtPictFmla */ -0x0A: parse_FtSkip, /* FtCbls */ -0x0B: parse_FtSkip, /* FtRbo */ -0x0C: parse_FtSkip, /* FtSbs */ -0x0D: parse_FtNts, /* FtNts */ -0x0E: parse_FtSkip, /* FtSbsFmla */ -0x0F: parse_FtSkip, /* FtGboData */ -0x10: parse_FtSkip, /* FtEdoData */ -0x11: parse_FtSkip, /* FtRboData */ -0x12: parse_FtSkip, /* FtCblsData */ -0x13: parse_FtSkip, /* FtLbsData */ -0x14: parse_FtSkip, /* FtCblsFmla */ -0x15: parse_FtCmo + 0x00: parse_FtSkip, /* FtEnd */ + 0x04: parse_FtSkip, /* FtMacro */ + 0x05: parse_FtSkip, /* FtButton */ + 0x06: parse_FtSkip, /* FtGmo */ + 0x07: parse_FtCf, /* FtCf */ + 0x08: parse_FtSkip, /* FtPioGrbit */ + 0x09: parse_FtSkip, /* FtPictFmla */ + 0x0A: parse_FtSkip, /* FtCbls */ + 0x0B: parse_FtSkip, /* FtRbo */ + 0x0C: parse_FtSkip, /* FtSbs */ + 0x0D: parse_FtNts, /* FtNts */ + 0x0E: parse_FtSkip, /* FtSbsFmla */ + 0x0F: parse_FtSkip, /* FtGboData */ + 0x10: parse_FtSkip, /* FtEdoData */ + 0x11: parse_FtSkip, /* FtRboData */ + 0x12: parse_FtSkip, /* FtCblsData */ + 0x13: parse_FtSkip, /* FtLbsData */ + 0x14: parse_FtSkip, /* FtCblsFmla */ + 0x15: parse_FtCmo }; function parse_FtArray(blob, length) { var tgt = blob.l + length; @@ -7904,60 +8041,60 @@ function parse_BIFF4SheetInfo(blob) { var DBF = (function() { var dbf_codepage_map = { /* Code Pages Supported by Visual FoxPro */ -0x01: 437, 0x02: 850, -0x03: 1252, 0x04: 10000, -0x64: 852, 0x65: 866, -0x66: 865, 0x67: 861, -0x68: 895, 0x69: 620, -0x6A: 737, 0x6B: 857, -0x78: 950, 0x79: 949, -0x7A: 936, 0x7B: 932, -0x7C: 874, 0x7D: 1255, -0x7E: 1256, 0x96: 10007, -0x97: 10029, 0x98: 10006, -0xC8: 1250, 0xC9: 1251, -0xCA: 1254, 0xCB: 1253, + 0x01: 437, 0x02: 850, + 0x03: 1252, 0x04: 10000, + 0x64: 852, 0x65: 866, + 0x66: 865, 0x67: 861, + 0x68: 895, 0x69: 620, + 0x6A: 737, 0x6B: 857, + 0x78: 950, 0x79: 949, + 0x7A: 936, 0x7B: 932, + 0x7C: 874, 0x7D: 1255, + 0x7E: 1256, 0x96: 10007, + 0x97: 10029, 0x98: 10006, + 0xC8: 1250, 0xC9: 1251, + 0xCA: 1254, 0xCB: 1253, /* shapefile DBF extension */ -0x00: 20127, 0x08: 865, -0x09: 437, 0x0A: 850, -0x0B: 437, 0x0D: 437, -0x0E: 850, 0x0F: 437, -0x10: 850, 0x11: 437, -0x12: 850, 0x13: 932, -0x14: 850, 0x15: 437, -0x16: 850, 0x17: 865, -0x18: 437, 0x19: 437, -0x1A: 850, 0x1B: 437, -0x1C: 863, 0x1D: 850, -0x1F: 852, 0x22: 852, -0x23: 852, 0x24: 860, -0x25: 850, 0x26: 866, -0x37: 850, 0x40: 852, -0x4D: 936, 0x4E: 949, -0x4F: 950, 0x50: 874, -0x57: 1252, 0x58: 1252, -0x59: 1252, 0x6C: 863, -0x86: 737, 0x87: 852, -0x88: 857, 0xCC: 1257, + 0x00: 20127, 0x08: 865, + 0x09: 437, 0x0A: 850, + 0x0B: 437, 0x0D: 437, + 0x0E: 850, 0x0F: 437, + 0x10: 850, 0x11: 437, + 0x12: 850, 0x13: 932, + 0x14: 850, 0x15: 437, + 0x16: 850, 0x17: 865, + 0x18: 437, 0x19: 437, + 0x1A: 850, 0x1B: 437, + 0x1C: 863, 0x1D: 850, + 0x1F: 852, 0x22: 852, + 0x23: 852, 0x24: 860, + 0x25: 850, 0x26: 866, + 0x37: 850, 0x40: 852, + 0x4D: 936, 0x4E: 949, + 0x4F: 950, 0x50: 874, + 0x57: 1252, 0x58: 1252, + 0x59: 1252, 0x6C: 863, + 0x86: 737, 0x87: 852, + 0x88: 857, 0xCC: 1257, -0xFF: 16969 + 0xFF: 16969 }; var dbf_reverse_map = evert({ -0x01: 437, 0x02: 850, -0x03: 1252, 0x04: 10000, -0x64: 852, 0x65: 866, -0x66: 865, 0x67: 861, -0x68: 895, 0x69: 620, -0x6A: 737, 0x6B: 857, -0x78: 950, 0x79: 949, -0x7A: 936, 0x7B: 932, -0x7C: 874, 0x7D: 1255, -0x7E: 1256, 0x96: 10007, -0x97: 10029, 0x98: 10006, -0xC8: 1250, 0xC9: 1251, -0xCA: 1254, 0xCB: 1253, -0x00: 20127 + 0x01: 437, 0x02: 850, + 0x03: 1252, 0x04: 10000, + 0x64: 852, 0x65: 866, + 0x66: 865, 0x67: 861, + 0x68: 895, 0x69: 620, + 0x6A: 737, 0x6B: 857, + 0x78: 950, 0x79: 949, + 0x7A: 936, 0x7B: 932, + 0x7C: 874, 0x7D: 1255, + 0x7E: 1256, 0x96: 10007, + 0x97: 10029, 0x98: 10006, + 0xC8: 1250, 0xC9: 1251, + 0xCA: 1254, 0xCB: 1253, + 0x00: 20127 }); /* TODO: find an actual specification */ function dbf_to_aoa(buf, opts) { @@ -8019,7 +8156,7 @@ var fields = [], field = ({}); var ww = l7 ? 32 : 11; while(d.l < hend && d[d.l] != 0x0d) { field = ({}); - field.name = (typeof $cptable !== "undefined" ? $cptable.utils.decode(current_cp, d.slice(d.l, d.l+ww)) : a2s(d.slice(d.l, d.l + ww))).replace(/[\u0000\r\n].*$/g,""); + field.name = (typeof $cptable !== "undefined" ? $cptable.utils.decode(current_cp, d.slice(d.l, d.l+ww)) : a2s(d.slice(d.l, d.l + ww))).replace(/[\u0000\r\n][\S\s]*$/g,""); d.l += ww; field.type = String.fromCharCode(d.read_shift(1)); if(ft != 0x02 && !l7) field.offset = d.read_shift(4); @@ -8077,7 +8214,7 @@ var fields = [], field = ({}); switch(fields[C].type) { case 'C': // NOTE: it is conventional to write ' / / ' for empty dates - if(s.trim().length) out[R][C] = s.replace(/\s+$/,""); + if(s.trim().length) out[R][C] = s.replace(/([^\s])\s+$/,"$1"); break; case 'D': if(s.length === 8) { @@ -8305,9 +8442,9 @@ var SYLK = (function() { KC:'Ç', Kc:'ç', q:'æ', z:'œ', a:'Æ', j:'Œ', DN:209, Dn:241, Hy:255, S:169, c:170, R:174, "B ":180, -0:176, 1:177, 2:178, -3:179, 5:181, 6:182, -7:183, Q:185, k:186, b:208, i:216, l:222, s:240, y:248, + 0:176, 1:177, 2:178, + 3:179, 5:181, 6:182, + 7:183, Q:185, k:186, b:208, i:216, l:222, s:240, y:248, "!":161, '"':162, "#":163, "(":164, "%":165, "'":167, "H ":168, "+":171, ";":187, "<":188, "=":189, ">":190, "?":191, "{":223 }); @@ -8384,6 +8521,7 @@ var SYLK = (function() { val = record[rj].slice(1); if(val.charAt(0) === '"') { val = val.slice(1,val.length - 1); cell_t = "s"; } else if(val === 'TRUE' || val === 'FALSE') { val = val === 'TRUE'; cell_t = "b"; } + else if(val.charAt(0) == "#" && RBErr[val] != null) { cell_t = "e"; val = RBErr[val]; } else if(!isNaN(fuzzynum(val))) { val = fuzzynum(val); cell_t = "n"; if(next_cell_format !== null && fmt_is_date(next_cell_format) && opts.cellDates) { @@ -8496,7 +8634,7 @@ var SYLK = (function() { o += (cell.v||0); if(cell.f && !cell.F) o += ";E" + a1_to_rc(cell.f, {r:R, c:C}); break; case 'b': o += cell.v ? "TRUE" : "FALSE"; break; - case 'e': o += cell.w || cell.v; break; + case 'e': o += cell.w || BErr[cell.v] || cell.v; break; case 'd': o += datenum(parseDate(cell.v, date1904), date1904); break; case 's': o += '"' + (cell.v == null ? "" : String(cell.v)).replace(/"/g,"").replace(/;/g, ";;") + '"'; break; } @@ -8841,18 +8979,18 @@ var PRN = (function() { // List of accepted CSV separators var guess_seps = { -0x2C: ',', -0x09: "\t", -0x3B: ';', -0x7C: '|' + 0x2C: ',', + 0x09: "\t", + 0x3B: ';', + 0x7C: '|' }; // CSV separator weights to be used in case of equal numbers var guess_sep_weights = { -0x2C: 3, -0x09: 2, -0x3B: 1, -0x7C: 0 + 0x2C: 3, + 0x09: 2, + 0x3B: 1, + 0x7C: 0 }; function guess_sep(str) { @@ -9021,7 +9159,7 @@ function read_wb_ID(d, opts) { return out; } catch(e) { o.WTF = OLD_WTF; - if(!e.message.match(/SYLK bad record ID/) && OLD_WTF) throw e; + if((e.message.indexOf("SYLK bad record ID") == -1) && OLD_WTF) throw e; return PRN.to_workbook(d, opts); } } @@ -9791,68 +9929,68 @@ var WK_ = (function() { } var WK1Enum = { -0x0000: { n:"BOF", f:parseuint16 }, -0x0001: { n:"EOF" }, -0x0002: { n:"CALCMODE" }, -0x0003: { n:"CALCORDER" }, -0x0004: { n:"SPLIT" }, -0x0005: { n:"SYNC" }, -0x0006: { n:"RANGE", f:parse_RANGE }, -0x0007: { n:"WINDOW1" }, -0x0008: { n:"COLW1" }, -0x0009: { n:"WINTWO" }, -0x000A: { n:"COLW2" }, -0x000B: { n:"NAME" }, -0x000C: { n:"BLANK" }, -0x000D: { n:"INTEGER", f:parse_INTEGER }, -0x000E: { n:"NUMBER", f:parse_NUMBER }, -0x000F: { n:"LABEL", f:parse_LABEL }, -0x0010: { n:"FORMULA", f:parse_FORMULA }, -0x0018: { n:"TABLE" }, -0x0019: { n:"ORANGE" }, -0x001A: { n:"PRANGE" }, -0x001B: { n:"SRANGE" }, -0x001C: { n:"FRANGE" }, -0x001D: { n:"KRANGE1" }, -0x0020: { n:"HRANGE" }, -0x0023: { n:"KRANGE2" }, -0x0024: { n:"PROTEC" }, -0x0025: { n:"FOOTER" }, -0x0026: { n:"HEADER" }, -0x0027: { n:"SETUP" }, -0x0028: { n:"MARGINS" }, -0x0029: { n:"LABELFMT" }, -0x002A: { n:"TITLES" }, -0x002B: { n:"SHEETJS" }, -0x002D: { n:"GRAPH" }, -0x002E: { n:"NGRAPH" }, -0x002F: { n:"CALCCOUNT" }, -0x0030: { n:"UNFORMATTED" }, -0x0031: { n:"CURSORW12" }, -0x0032: { n:"WINDOW" }, -0x0033: { n:"STRING", f:parse_STRING }, -0x0037: { n:"PASSWORD" }, -0x0038: { n:"LOCKED" }, -0x003C: { n:"QUERY" }, -0x003D: { n:"QUERYNAME" }, -0x003E: { n:"PRINT" }, -0x003F: { n:"PRINTNAME" }, -0x0040: { n:"GRAPH2" }, -0x0041: { n:"GRAPHNAME" }, -0x0042: { n:"ZOOM" }, -0x0043: { n:"SYMSPLIT" }, -0x0044: { n:"NSROWS" }, -0x0045: { n:"NSCOLS" }, -0x0046: { n:"RULER" }, -0x0047: { n:"NNAME" }, -0x0048: { n:"ACOMM" }, -0x0049: { n:"AMACRO" }, -0x004A: { n:"PARSE" }, + 0x0000: { n:"BOF", f:parseuint16 }, + 0x0001: { n:"EOF" }, + 0x0002: { n:"CALCMODE" }, + 0x0003: { n:"CALCORDER" }, + 0x0004: { n:"SPLIT" }, + 0x0005: { n:"SYNC" }, + 0x0006: { n:"RANGE", f:parse_RANGE }, + 0x0007: { n:"WINDOW1" }, + 0x0008: { n:"COLW1" }, + 0x0009: { n:"WINTWO" }, + 0x000A: { n:"COLW2" }, + 0x000B: { n:"NAME" }, + 0x000C: { n:"BLANK" }, + 0x000D: { n:"INTEGER", f:parse_INTEGER }, + 0x000E: { n:"NUMBER", f:parse_NUMBER }, + 0x000F: { n:"LABEL", f:parse_LABEL }, + 0x0010: { n:"FORMULA", f:parse_FORMULA }, + 0x0018: { n:"TABLE" }, + 0x0019: { n:"ORANGE" }, + 0x001A: { n:"PRANGE" }, + 0x001B: { n:"SRANGE" }, + 0x001C: { n:"FRANGE" }, + 0x001D: { n:"KRANGE1" }, + 0x0020: { n:"HRANGE" }, + 0x0023: { n:"KRANGE2" }, + 0x0024: { n:"PROTEC" }, + 0x0025: { n:"FOOTER" }, + 0x0026: { n:"HEADER" }, + 0x0027: { n:"SETUP" }, + 0x0028: { n:"MARGINS" }, + 0x0029: { n:"LABELFMT" }, + 0x002A: { n:"TITLES" }, + 0x002B: { n:"SHEETJS" }, + 0x002D: { n:"GRAPH" }, + 0x002E: { n:"NGRAPH" }, + 0x002F: { n:"CALCCOUNT" }, + 0x0030: { n:"UNFORMATTED" }, + 0x0031: { n:"CURSORW12" }, + 0x0032: { n:"WINDOW" }, + 0x0033: { n:"STRING", f:parse_STRING }, + 0x0037: { n:"PASSWORD" }, + 0x0038: { n:"LOCKED" }, + 0x003C: { n:"QUERY" }, + 0x003D: { n:"QUERYNAME" }, + 0x003E: { n:"PRINT" }, + 0x003F: { n:"PRINTNAME" }, + 0x0040: { n:"GRAPH2" }, + 0x0041: { n:"GRAPHNAME" }, + 0x0042: { n:"ZOOM" }, + 0x0043: { n:"SYMSPLIT" }, + 0x0044: { n:"NSROWS" }, + 0x0045: { n:"NSCOLS" }, + 0x0046: { n:"RULER" }, + 0x0047: { n:"NNAME" }, + 0x0048: { n:"ACOMM" }, + 0x0049: { n:"AMACRO" }, + 0x004A: { n:"PARSE" }, // 0x0064 -0x0066: { n:"PRANGES??" }, -0x0067: { n:"RRANGES??" }, -0x0068: { n:"FNAME??" }, -0x0069: { n:"MRANGES??" }, + 0x0066: { n:"PRANGES??" }, + 0x0067: { n:"RRANGES??" }, + 0x0068: { n:"FNAME??" }, + 0x0069: { n:"MRANGES??" }, // 0x0096 // 0x0099 // 0x009A @@ -9861,160 +9999,160 @@ var WK_ = (function() { // 0x00C0 // 0x00C7 // 0x00C9 -0x00CC: { n:"SHEETNAMECS", f:parse_SHEETNAMECS }, + 0x00CC: { n:"SHEETNAMECS", f:parse_SHEETNAMECS }, // 0x00CD -0x00DE: { n:"SHEETNAMELP", f:parse_SHEETNAMELP }, -0x00FF: { n:"BOF", f:parseuint16 }, -0x5402: { n:"WKSNF", f:parseuint16 }, -0xFFFF: { n:"" } + 0x00DE: { n:"SHEETNAMELP", f:parse_SHEETNAMELP }, + 0x00FF: { n:"BOF", f:parseuint16 }, + 0x5402: { n:"WKSNF", f:parseuint16 }, + 0xFFFF: { n:"" } }; var WK3Enum = { -0x0000: { n:"BOF" }, -0x0001: { n:"EOF" }, -0x0002: { n:"PASSWORD" }, -0x0003: { n:"CALCSET" }, -0x0004: { n:"WINDOWSET" }, -0x0005: { n:"SHEETCELLPTR" }, -0x0006: { n:"SHEETLAYOUT" }, -0x0007: { n:"COLUMNWIDTH" }, -0x0008: { n:"HIDDENCOLUMN" }, -0x0009: { n:"USERRANGE" }, -0x000A: { n:"SYSTEMRANGE" }, -0x000B: { n:"ZEROFORCE" }, -0x000C: { n:"SORTKEYDIR" }, -0x000D: { n:"FILESEAL" }, -0x000E: { n:"DATAFILLNUMS" }, -0x000F: { n:"PRINTMAIN" }, -0x0010: { n:"PRINTSTRING" }, -0x0011: { n:"GRAPHMAIN" }, -0x0012: { n:"GRAPHSTRING" }, -0x0013: { n:"??" }, -0x0014: { n:"ERRCELL" }, -0x0015: { n:"NACELL" }, -0x0016: { n:"LABEL16", f:parse_LABEL_16}, -0x0017: { n:"NUMBER17", f:parse_NUMBER_17 }, -0x0018: { n:"NUMBER18", f:parse_NUMBER_18 }, -0x0019: { n:"FORMULA19", f:parse_FORMULA_19}, -0x001A: { n:"FORMULA1A" }, -0x001B: { n:"XFORMAT", f:parse_XFORMAT }, -0x001C: { n:"DTLABELMISC" }, -0x001D: { n:"DTLABELCELL" }, -0x001E: { n:"GRAPHWINDOW" }, -0x001F: { n:"CPA" }, -0x0020: { n:"LPLAUTO" }, -0x0021: { n:"QUERY" }, -0x0022: { n:"HIDDENSHEET" }, -0x0023: { n:"??" }, -0x0025: { n:"NUMBER25", f:parse_NUMBER_25 }, -0x0026: { n:"??" }, -0x0027: { n:"NUMBER27", f:parse_NUMBER_27 }, -0x0028: { n:"FORMULA28", f:parse_FORMULA_28 }, -0x008E: { n:"??" }, -0x0093: { n:"??" }, -0x0096: { n:"??" }, -0x0097: { n:"??" }, -0x0098: { n:"??" }, -0x0099: { n:"??" }, -0x009A: { n:"??" }, -0x009B: { n:"??" }, -0x009C: { n:"??" }, -0x00A3: { n:"??" }, -0x00AE: { n:"??" }, -0x00AF: { n:"??" }, -0x00B0: { n:"??" }, -0x00B1: { n:"??" }, -0x00B8: { n:"??" }, -0x00B9: { n:"??" }, -0x00BA: { n:"??" }, -0x00BB: { n:"??" }, -0x00BC: { n:"??" }, -0x00C3: { n:"??" }, -0x00C9: { n:"??" }, -0x00CC: { n:"SHEETNAMECS", f:parse_SHEETNAMECS }, -0x00CD: { n:"??" }, -0x00CE: { n:"??" }, -0x00CF: { n:"??" }, -0x00D0: { n:"??" }, -0x0100: { n:"??" }, -0x0103: { n:"??" }, -0x0104: { n:"??" }, -0x0105: { n:"??" }, -0x0106: { n:"??" }, -0x0107: { n:"??" }, -0x0109: { n:"??" }, -0x010A: { n:"??" }, -0x010B: { n:"??" }, -0x010C: { n:"??" }, -0x010E: { n:"??" }, -0x010F: { n:"??" }, -0x0180: { n:"??" }, -0x0185: { n:"??" }, -0x0186: { n:"??" }, -0x0189: { n:"??" }, -0x018C: { n:"??" }, -0x0200: { n:"??" }, -0x0202: { n:"??" }, -0x0201: { n:"??" }, -0x0204: { n:"??" }, -0x0205: { n:"??" }, -0x0280: { n:"??" }, -0x0281: { n:"??" }, -0x0282: { n:"??" }, -0x0283: { n:"??" }, -0x0284: { n:"??" }, -0x0285: { n:"??" }, -0x0286: { n:"??" }, -0x0287: { n:"??" }, -0x0288: { n:"??" }, -0x0292: { n:"??" }, -0x0293: { n:"??" }, -0x0294: { n:"??" }, -0x0295: { n:"??" }, -0x0296: { n:"??" }, -0x0299: { n:"??" }, -0x029A: { n:"??" }, -0x0300: { n:"??" }, -0x0304: { n:"??" }, -0x0601: { n:"SHEETINFOQP", f:parse_SHEETINFOQP }, -0x0640: { n:"??" }, -0x0642: { n:"??" }, -0x0701: { n:"??" }, -0x0702: { n:"??" }, -0x0703: { n:"??" }, -0x0704: { n:"??" }, -0x0780: { n:"??" }, -0x0800: { n:"??" }, -0x0801: { n:"??" }, -0x0804: { n:"??" }, -0x0A80: { n:"??" }, -0x2AF6: { n:"??" }, -0x3231: { n:"??" }, -0x6E49: { n:"??" }, -0x6F44: { n:"??" }, -0xFFFF: { n:"" } + 0x0000: { n:"BOF" }, + 0x0001: { n:"EOF" }, + 0x0002: { n:"PASSWORD" }, + 0x0003: { n:"CALCSET" }, + 0x0004: { n:"WINDOWSET" }, + 0x0005: { n:"SHEETCELLPTR" }, + 0x0006: { n:"SHEETLAYOUT" }, + 0x0007: { n:"COLUMNWIDTH" }, + 0x0008: { n:"HIDDENCOLUMN" }, + 0x0009: { n:"USERRANGE" }, + 0x000A: { n:"SYSTEMRANGE" }, + 0x000B: { n:"ZEROFORCE" }, + 0x000C: { n:"SORTKEYDIR" }, + 0x000D: { n:"FILESEAL" }, + 0x000E: { n:"DATAFILLNUMS" }, + 0x000F: { n:"PRINTMAIN" }, + 0x0010: { n:"PRINTSTRING" }, + 0x0011: { n:"GRAPHMAIN" }, + 0x0012: { n:"GRAPHSTRING" }, + 0x0013: { n:"??" }, + 0x0014: { n:"ERRCELL" }, + 0x0015: { n:"NACELL" }, + 0x0016: { n:"LABEL16", f:parse_LABEL_16}, + 0x0017: { n:"NUMBER17", f:parse_NUMBER_17 }, + 0x0018: { n:"NUMBER18", f:parse_NUMBER_18 }, + 0x0019: { n:"FORMULA19", f:parse_FORMULA_19}, + 0x001A: { n:"FORMULA1A" }, + 0x001B: { n:"XFORMAT", f:parse_XFORMAT }, + 0x001C: { n:"DTLABELMISC" }, + 0x001D: { n:"DTLABELCELL" }, + 0x001E: { n:"GRAPHWINDOW" }, + 0x001F: { n:"CPA" }, + 0x0020: { n:"LPLAUTO" }, + 0x0021: { n:"QUERY" }, + 0x0022: { n:"HIDDENSHEET" }, + 0x0023: { n:"??" }, + 0x0025: { n:"NUMBER25", f:parse_NUMBER_25 }, + 0x0026: { n:"??" }, + 0x0027: { n:"NUMBER27", f:parse_NUMBER_27 }, + 0x0028: { n:"FORMULA28", f:parse_FORMULA_28 }, + 0x008E: { n:"??" }, + 0x0093: { n:"??" }, + 0x0096: { n:"??" }, + 0x0097: { n:"??" }, + 0x0098: { n:"??" }, + 0x0099: { n:"??" }, + 0x009A: { n:"??" }, + 0x009B: { n:"??" }, + 0x009C: { n:"??" }, + 0x00A3: { n:"??" }, + 0x00AE: { n:"??" }, + 0x00AF: { n:"??" }, + 0x00B0: { n:"??" }, + 0x00B1: { n:"??" }, + 0x00B8: { n:"??" }, + 0x00B9: { n:"??" }, + 0x00BA: { n:"??" }, + 0x00BB: { n:"??" }, + 0x00BC: { n:"??" }, + 0x00C3: { n:"??" }, + 0x00C9: { n:"??" }, + 0x00CC: { n:"SHEETNAMECS", f:parse_SHEETNAMECS }, + 0x00CD: { n:"??" }, + 0x00CE: { n:"??" }, + 0x00CF: { n:"??" }, + 0x00D0: { n:"??" }, + 0x0100: { n:"??" }, + 0x0103: { n:"??" }, + 0x0104: { n:"??" }, + 0x0105: { n:"??" }, + 0x0106: { n:"??" }, + 0x0107: { n:"??" }, + 0x0109: { n:"??" }, + 0x010A: { n:"??" }, + 0x010B: { n:"??" }, + 0x010C: { n:"??" }, + 0x010E: { n:"??" }, + 0x010F: { n:"??" }, + 0x0180: { n:"??" }, + 0x0185: { n:"??" }, + 0x0186: { n:"??" }, + 0x0189: { n:"??" }, + 0x018C: { n:"??" }, + 0x0200: { n:"??" }, + 0x0202: { n:"??" }, + 0x0201: { n:"??" }, + 0x0204: { n:"??" }, + 0x0205: { n:"??" }, + 0x0280: { n:"??" }, + 0x0281: { n:"??" }, + 0x0282: { n:"??" }, + 0x0283: { n:"??" }, + 0x0284: { n:"??" }, + 0x0285: { n:"??" }, + 0x0286: { n:"??" }, + 0x0287: { n:"??" }, + 0x0288: { n:"??" }, + 0x0292: { n:"??" }, + 0x0293: { n:"??" }, + 0x0294: { n:"??" }, + 0x0295: { n:"??" }, + 0x0296: { n:"??" }, + 0x0299: { n:"??" }, + 0x029A: { n:"??" }, + 0x0300: { n:"??" }, + 0x0304: { n:"??" }, + 0x0601: { n:"SHEETINFOQP", f:parse_SHEETINFOQP }, + 0x0640: { n:"??" }, + 0x0642: { n:"??" }, + 0x0701: { n:"??" }, + 0x0702: { n:"??" }, + 0x0703: { n:"??" }, + 0x0704: { n:"??" }, + 0x0780: { n:"??" }, + 0x0800: { n:"??" }, + 0x0801: { n:"??" }, + 0x0804: { n:"??" }, + 0x0A80: { n:"??" }, + 0x2AF6: { n:"??" }, + 0x3231: { n:"??" }, + 0x6E49: { n:"??" }, + 0x6F44: { n:"??" }, + 0xFFFF: { n:"" } }; /* TODO: fill out and verify this table across QP versions */ var QPWNFTable = { -0x05: "dd-mmm-yy", -0x06: "dd-mmm", -0x07: "mmm-yy", -0x08: "mm/dd/yy", // Long Date Intl -0x0A: "hh:mm:ss AM/PM", -0x0B: "hh:mm AM/PM", -0x0E: "dd-mmm-yyyy", -0x0F: "mmm-yyyy", + 0x05: "dd-mmm-yy", + 0x06: "dd-mmm", + 0x07: "mmm-yy", + 0x08: "mm/dd/yy", // Long Date Intl + 0x0A: "hh:mm:ss AM/PM", + 0x0B: "hh:mm AM/PM", + 0x0E: "dd-mmm-yyyy", + 0x0F: "mmm-yyyy", /* It is suspected that the the low nybble specifies decimal places */ -0x0022: "0.00", -0x0032: "0.00;[Red]0.00", -0x0042: "0.00;\(0.00\)", -0x0052: "0.00;[Red]\(0.00\)", -0x00A2: '"$"#,##0.00;\\("$"#,##0.00\\)', -0x0120: '0%', -0x0130: '0E+00', -0x0140: '# ?/?' + 0x0022: "0.00", + 0x0032: "0.00;[Red]0.00", + 0x0042: "0.00;\(0.00\)", + 0x0052: "0.00;[Red]\(0.00\)", + 0x00A2: '"$"#,##0.00;\\("$"#,##0.00\\)', + 0x0120: '0%', + 0x0130: '0E+00', + 0x0140: '# ?/?' }; function parse_qpw_str(p) { @@ -10215,7 +10353,7 @@ function parse_rpr(rpr) { var pass = false; if(m) for(;i!=m.length; ++i) { var y = parsexmltag(m[i]); - switch(y[0].replace(/\w*:/g,"")) { + switch(y[0].replace(/<\w*:/g,"<")) { /* 18.8.12 condense CT_BooleanProperty */ /* ** not required . */ case ']*>([^<]*)<\/(?:\w+:)?t>/g, sirregex = /<(?:\w+:)?r\b[^>]*>/; -var sirphregex = /<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g; +var sitregex = /<(?:\w+:)?t\b[^<>]*>([^<]*)<\/(?:\w+:)?t>/g, sirregex = /<(?:\w+:)?r\b[^<>]*>/; function parse_si(x, opts) { var html = opts ? opts.cellHTML : true; var z = {}; @@ -10396,7 +10532,7 @@ function parse_si(x, opts) { /* 18.4.4 r CT_RElt (Rich Text Run) */ else if((/*y = */x.match(sirregex))) { z.r = utf8read(x); - z.t = unescapexml(utf8read((x.replace(sirphregex, '').match(sitregex)||[]).join("").replace(tagregex,"")), true); + z.t = unescapexml(utf8read((str_remove_xml_ns_g(x, "rPh").match(sitregex)||[]).join("").replace(tagregex,"")), true); if(html) z.h = rs_to_html(parse_rs(z.r)); } /* 18.4.3 phoneticPr CT_PhoneticPr (TODO: needed for Asian support) */ @@ -10405,21 +10541,20 @@ function parse_si(x, opts) { } /* 18.4 Shared String Table */ -var sstr0 = /<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/; var sstr1 = /<(?:\w+:)?(?:si|sstItem)>/g; var sstr2 = /<\/(?:\w+:)?(?:si|sstItem)>/; function parse_sst_xml(data, opts) { var s = ([]), ss = ""; if(!data) return s; /* 18.4.9 sst CT_Sst */ - var sst = data.match(sstr0); + var sst = str_match_xml_ns(data, "sst"); if(sst) { - ss = sst[2].replace(sstr1,"").split(sstr2); + ss = sst[1].replace(sstr1,"").split(sstr2); for(var i = 0; i != ss.length; ++i) { var o = parse_si(ss[i].trim(), opts); if(o != null) s[s.length] = o; } - sst = parsexmltag(sst[1]); s.Count = sst.count; s.Unique = sst.uniqueCount; + sst = parsexmltag(sst[0].slice(0, sst[0].indexOf(">"))); s.Count = sst.count; s.Unique = sst.uniqueCount; } return s; } @@ -10832,7 +10967,7 @@ function rtf_to_sheet_str(str, opts) { var dense = o.dense; if (dense) ws["!data"] = []; - var rows = str.match(/\\trowd[\s\S]*?\\row\b/g); + var rows = str_match_ng(str, "\\trowd", "\\row"); if (!rows) throw new Error("RTF missing table"); var range = { s: { c: 0, r: 0 }, e: { c: 0, r: rows.length - 1 } }; @@ -11039,7 +11174,7 @@ function parse_borders(t, styles, themes, opts) { styles.Borders = []; var border = {}; var pass = false; - (t[0].match(tagregex)||[]).forEach(function(x) { + (t.match(tagregex)||[]).forEach(function(x) { var y = parsexmltag(x); switch(strip_ns(y[0])) { case '': case '': break; @@ -11114,7 +11249,7 @@ function parse_fills(t, styles, themes, opts) { styles.Fills = []; var fill = {}; var pass = false; - (t[0].match(tagregex)||[]).forEach(function(x) { + (t.match(tagregex)||[]).forEach(function(x) { var y = parsexmltag(x); switch(strip_ns(y[0])) { case '': case '': break; @@ -11180,7 +11315,7 @@ function parse_fonts(t, styles, themes, opts) { styles.Fonts = []; var font = {}; var pass = false; - (t[0].match(tagregex)||[]).forEach(function(x) { + (t.match(tagregex)||[]).forEach(function(x) { var y = parsexmltag(x); switch(strip_ns(y[0])) { case '': case '': break; @@ -11300,7 +11435,7 @@ function parse_numFmts(t, styles, opts) { styles.NumberFmt = []; var k/*Array*/ = (keys(table_fmt)); for(var i=0; i < k.length; ++i) styles.NumberFmt[k[i]] = table_fmt[k[i]]; - var m = t[0].match(tagregex); + var m = t.match(tagregex); if(!m) return; for(i=0; i < m.length; ++i) { var y = parsexmltag(m[i]); @@ -11341,7 +11476,7 @@ function parse_cellXfs(t, styles, opts) { styles.CellXf = []; var xf; var pass = false; - (t[0].match(tagregex)||[]).forEach(function(x) { + (t.match(tagregex)||[]).forEach(function(x) { var y = parsexmltag(x), i = 0; switch(strip_ns(y[0])) { case '': case '': case '': break; @@ -11406,36 +11541,31 @@ function write_cellXfs(cellXfs) { /* 18.8 Styles CT_Stylesheet*/ var parse_sty_xml= (function make_pstyx() { -var numFmtRegex = /<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/; -var cellXfRegex = /<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/; -var fillsRegex = /<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/; -var fontsRegex = /<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/; -var bordersRegex = /<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/; return function parse_sty_xml(data, themes, opts) { var styles = {}; if(!data) return styles; - data = data.replace(//mg,"").replace(//gm,""); + data = remove_doctype(str_remove_ng(data, "")); /* 18.8.39 styleSheet CT_Stylesheet */ var t; /* 18.8.31 numFmts CT_NumFmts ? */ - if((t=data.match(numFmtRegex))) parse_numFmts(t, styles, opts); + if((t=str_match_xml_ns(data, "numFmts"))) parse_numFmts(t[0], styles, opts); /* 18.8.23 fonts CT_Fonts ? */ - if((t=data.match(fontsRegex))) parse_fonts(t, styles, themes, opts); + if((t=str_match_xml_ns(data, "fonts"))) parse_fonts(t[0], styles, themes, opts); /* 18.8.21 fills CT_Fills ? */ - if((t=data.match(fillsRegex))) parse_fills(t, styles, themes, opts); + if((t=str_match_xml_ns(data, "fills"))) parse_fills(t[0], styles, themes, opts); /* 18.8.5 borders CT_Borders ? */ - if((t=data.match(bordersRegex))) parse_borders(t, styles, themes, opts); + if((t=str_match_xml_ns(data, "borders"))) parse_borders(t[0], styles, themes, opts); /* 18.8.9 cellStyleXfs CT_CellStyleXfs ? */ /* 18.8.8 cellStyles CT_CellStyles ? */ /* 18.8.10 cellXfs CT_CellXfs ? */ - if((t=data.match(cellXfRegex))) parse_cellXfs(t, styles, opts); + if((t=str_match_xml_ns(data, "cellXfs"))) parse_cellXfs(t[0], styles, opts); /* 18.8.15 dxfs CT_Dxfs ? */ /* 18.8.42 tableStyles CT_TableStyles ? */ @@ -11875,10 +12005,12 @@ function parse_clrScheme(t, themes, opts) { /* 20.1.2.3.32 srgbClr CT_SRgbColor */ case '': break; /* 20.1.2.3.33 sysClr CT_SystemColor */ case '': break; /* 20.1.4.1.1 accent1 (Accent 1) */ /* 20.1.4.1.2 accent2 (Accent 2) */ @@ -11892,8 +12024,10 @@ function parse_clrScheme(t, themes, opts) { /* 20.1.4.1.19 hlink (Hyperlink) */ /* 20.1.4.1.22 lt1 (Light 1) */ /* 20.1.4.1.23 lt2 (Light 2) */ - case '': case '': - case '': case '': + case '
': + case '': + case '': + case '': case '': case '': case '': case '': case '': case '': @@ -11923,30 +12057,24 @@ function parse_fontScheme() { } /* 20.1.4.1.15 fmtScheme CT_StyleMatrix */ function parse_fmtScheme() { } -var clrsregex = /]*)>[\s\S]*<\/a:clrScheme>/; -var fntsregex = /]*)>[\s\S]*<\/a:fontScheme>/; -var fmtsregex = /]*)>[\s\S]*<\/a:fmtScheme>/; - /* 20.1.6.10 themeElements CT_BaseStyles */ function parse_themeElements(data, themes, opts) { themes.themeElements = {}; var t; - [ - /* clrScheme CT_ColorScheme */ - ['clrScheme', clrsregex, parse_clrScheme], - /* fontScheme CT_FontScheme */ - ['fontScheme', fntsregex, parse_fontScheme], - /* fmtScheme CT_StyleMatrix */ - ['fmtScheme', fmtsregex, parse_fmtScheme] - ].forEach(function(m) { - if(!(t=data.match(m[1]))) throw new Error(m[0] + ' not found in themeElements'); - m[2](t, themes, opts); - }); -} + /* clrScheme CT_ColorScheme */ + if(!(t=str_match_xml(data, "a:clrScheme"))) throw new Error('clrScheme not found in themeElements'); + parse_clrScheme(t, themes, opts); -var themeltregex = /]*)>[\s\S]*<\/a:themeElements>/; + /* fontScheme CT_FontScheme */ + if(!(t=str_match_xml(data, "a:fontScheme"))) throw new Error('fontScheme not found in themeElements'); + parse_fontScheme(t, themes, opts); + + /* fmtScheme CT_StyleMatrix */ + if(!(t=str_match_xml(data, "a:fmtScheme"))) throw new Error('fmtScheme not found in themeElements'); + parse_fmtScheme(t, themes, opts); +} /* 14.2.7 Theme Part */ function parse_theme_xml(data, opts) { @@ -11957,7 +12085,7 @@ function parse_theme_xml(data, opts) { var themes = {}; /* themeElements CT_BaseStyles */ - if(!(t=data.match(themeltregex))) throw new Error('themeElements not found in theme'); + if(!(t=str_match_xml(data, "a:themeElements"))) throw new Error('themeElements not found in theme'); parse_themeElements(t[0], themes, opts); themes.raw = data; return themes; @@ -12538,16 +12666,15 @@ function parse_drawing(data, rels) { the actual type is based on the URI of the graphicData TODO: handle embedded charts and other types of graphics */ - var id = (data.match(/]*r:id="([^"]*)"/)||["",""])[1]; + var id = (data.match(/]*r:id="([^<>"]*)"/)||["",""])[1]; return rels['!id'][id].Target; } /* L.5.5.2 SpreadsheetML Comments + VML Schema */ -var shapevmlregex = /<(?:\w+:)?shape(?:[^\w][^>]*)?>([\s\S]*?)<\/(?:\w+:)?shape>/g; function parse_vml(data, sheet, comments) { var cidx = 0; - (data.match(shapevmlregex)||[]).forEach(function(m) { + (str_match_xml_ns_g(data, "shape")||[]).forEach(function(m) { var type = ""; var hidden = true; var aidx = -1; @@ -12682,22 +12809,22 @@ function parse_comments_xml(data, opts) { if(data.match(/<(?:\w+:)?comments *\/>/)) return []; var authors = []; var commentList = []; - var authtag = data.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/); + var authtag = str_match_xml_ns(data, "authors"); if(authtag && authtag[1]) authtag[1].split(/<\/\w*:?author>/).forEach(function(x) { if(x === "" || x.trim() === "") return; - var a = x.match(/<(?:\w+:)?author[^>]*>(.*)/); + var a = x.match(/<(?:\w+:)?author[^<>]*>(.*)/); if(a) authors.push(a[1]); }); - var cmnttag = data.match(/<(?:\w+:)?commentList>([\s\S]*)<\/(?:\w+:)?commentList>/); + var cmnttag = str_match_xml_ns(data, "commentList"); if(cmnttag && cmnttag[1]) cmnttag[1].split(/<\/\w*:?comment>/).forEach(function(x) { if(x === "" || x.trim() === "") return; - var cm = x.match(/<(?:\w+:)?comment[^>]*>/); + var cm = x.match(/<(?:\w+:)?comment[^<>]*>/); if(!cm) return; var y = parsexmltag(cm[0]); var comment = ({ author: y.authorId && authors[y.authorId] || "sheetjsghost", ref: y.ref, guid: y.guid }); var cell = decode_cell(y.ref); if(opts.sheetRows && opts.sheetRows <= cell.r) return; - var textMatch = x.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/); + var textMatch = str_match_xml_ns(x, "text"); var rt = !!textMatch && !!textMatch[1] && parse_si(textMatch[1]) || {r:"",t:"",h:""}; comment.r = rt.r; if(rt.r == "") rt.t = rt.h = ""; @@ -12981,7 +13108,7 @@ function fill_vba_xls(cfb, vba) { vba.FullPaths.forEach(function(p, i) { if (i == 0) return; - var newpath = p.replace(/[^\/]*[\/]/, "/_VBA_PROJECT_CUR/"); + var newpath = p.replace(/^[\/]*[^\/]*[\/]/, "/_VBA_PROJECT_CUR/"); if (newpath.slice(-1) !== "/") CFB.utils.cfb_add(cfb, newpath, vba.FileIndex[i].content); }); @@ -13552,112 +13679,112 @@ function parse_PtgAttrNoop(blob) { /* [MS-XLS] 2.5.198.25 ; [MS-XLSB] 2.5.97.16 */ var PtgTypes = { -0x01: { n:'PtgExp', f:parse_PtgExp }, -0x02: { n:'PtgTbl', f:parse_PtgTbl }, -0x03: { n:'PtgAdd', f:parseread1 }, -0x04: { n:'PtgSub', f:parseread1 }, -0x05: { n:'PtgMul', f:parseread1 }, -0x06: { n:'PtgDiv', f:parseread1 }, -0x07: { n:'PtgPower', f:parseread1 }, -0x08: { n:'PtgConcat', f:parseread1 }, -0x09: { n:'PtgLt', f:parseread1 }, -0x0A: { n:'PtgLe', f:parseread1 }, -0x0B: { n:'PtgEq', f:parseread1 }, -0x0C: { n:'PtgGe', f:parseread1 }, -0x0D: { n:'PtgGt', f:parseread1 }, -0x0E: { n:'PtgNe', f:parseread1 }, -0x0F: { n:'PtgIsect', f:parseread1 }, -0x10: { n:'PtgUnion', f:parseread1 }, -0x11: { n:'PtgRange', f:parseread1 }, -0x12: { n:'PtgUplus', f:parseread1 }, -0x13: { n:'PtgUminus', f:parseread1 }, -0x14: { n:'PtgPercent', f:parseread1 }, -0x15: { n:'PtgParen', f:parseread1 }, -0x16: { n:'PtgMissArg', f:parseread1 }, -0x17: { n:'PtgStr', f:parse_PtgStr }, -0x1A: { n:'PtgSheet', f:parse_PtgSheet }, -0x1B: { n:'PtgEndSheet', f:parse_PtgEndSheet }, -0x1C: { n:'PtgErr', f:parse_PtgErr }, -0x1D: { n:'PtgBool', f:parse_PtgBool }, -0x1E: { n:'PtgInt', f:parse_PtgInt }, -0x1F: { n:'PtgNum', f:parse_PtgNum }, -0x20: { n:'PtgArray', f:parse_PtgArray }, -0x21: { n:'PtgFunc', f:parse_PtgFunc }, -0x22: { n:'PtgFuncVar', f:parse_PtgFuncVar }, -0x23: { n:'PtgName', f:parse_PtgName }, -0x24: { n:'PtgRef', f:parse_PtgRef }, -0x25: { n:'PtgArea', f:parse_PtgArea }, -0x26: { n:'PtgMemArea', f:parse_PtgMemArea }, -0x27: { n:'PtgMemErr', f:parse_PtgMemErr }, -0x28: { n:'PtgMemNoMem', f:parse_PtgMemNoMem }, -0x29: { n:'PtgMemFunc', f:parse_PtgMemFunc }, -0x2A: { n:'PtgRefErr', f:parse_PtgRefErr }, -0x2B: { n:'PtgAreaErr', f:parse_PtgAreaErr }, -0x2C: { n:'PtgRefN', f:parse_PtgRefN }, -0x2D: { n:'PtgAreaN', f:parse_PtgAreaN }, -0x2E: { n:'PtgMemAreaN', f:parse_PtgMemAreaN }, -0x2F: { n:'PtgMemNoMemN', f:parse_PtgMemNoMemN }, -0x39: { n:'PtgNameX', f:parse_PtgNameX }, -0x3A: { n:'PtgRef3d', f:parse_PtgRef3d }, -0x3B: { n:'PtgArea3d', f:parse_PtgArea3d }, -0x3C: { n:'PtgRefErr3d', f:parse_PtgRefErr3d }, -0x3D: { n:'PtgAreaErr3d', f:parse_PtgAreaErr3d }, -0xFF: {} + 0x01: { n:'PtgExp', f:parse_PtgExp }, + 0x02: { n:'PtgTbl', f:parse_PtgTbl }, + 0x03: { n:'PtgAdd', f:parseread1 }, + 0x04: { n:'PtgSub', f:parseread1 }, + 0x05: { n:'PtgMul', f:parseread1 }, + 0x06: { n:'PtgDiv', f:parseread1 }, + 0x07: { n:'PtgPower', f:parseread1 }, + 0x08: { n:'PtgConcat', f:parseread1 }, + 0x09: { n:'PtgLt', f:parseread1 }, + 0x0A: { n:'PtgLe', f:parseread1 }, + 0x0B: { n:'PtgEq', f:parseread1 }, + 0x0C: { n:'PtgGe', f:parseread1 }, + 0x0D: { n:'PtgGt', f:parseread1 }, + 0x0E: { n:'PtgNe', f:parseread1 }, + 0x0F: { n:'PtgIsect', f:parseread1 }, + 0x10: { n:'PtgUnion', f:parseread1 }, + 0x11: { n:'PtgRange', f:parseread1 }, + 0x12: { n:'PtgUplus', f:parseread1 }, + 0x13: { n:'PtgUminus', f:parseread1 }, + 0x14: { n:'PtgPercent', f:parseread1 }, + 0x15: { n:'PtgParen', f:parseread1 }, + 0x16: { n:'PtgMissArg', f:parseread1 }, + 0x17: { n:'PtgStr', f:parse_PtgStr }, + 0x1A: { n:'PtgSheet', f:parse_PtgSheet }, + 0x1B: { n:'PtgEndSheet', f:parse_PtgEndSheet }, + 0x1C: { n:'PtgErr', f:parse_PtgErr }, + 0x1D: { n:'PtgBool', f:parse_PtgBool }, + 0x1E: { n:'PtgInt', f:parse_PtgInt }, + 0x1F: { n:'PtgNum', f:parse_PtgNum }, + 0x20: { n:'PtgArray', f:parse_PtgArray }, + 0x21: { n:'PtgFunc', f:parse_PtgFunc }, + 0x22: { n:'PtgFuncVar', f:parse_PtgFuncVar }, + 0x23: { n:'PtgName', f:parse_PtgName }, + 0x24: { n:'PtgRef', f:parse_PtgRef }, + 0x25: { n:'PtgArea', f:parse_PtgArea }, + 0x26: { n:'PtgMemArea', f:parse_PtgMemArea }, + 0x27: { n:'PtgMemErr', f:parse_PtgMemErr }, + 0x28: { n:'PtgMemNoMem', f:parse_PtgMemNoMem }, + 0x29: { n:'PtgMemFunc', f:parse_PtgMemFunc }, + 0x2A: { n:'PtgRefErr', f:parse_PtgRefErr }, + 0x2B: { n:'PtgAreaErr', f:parse_PtgAreaErr }, + 0x2C: { n:'PtgRefN', f:parse_PtgRefN }, + 0x2D: { n:'PtgAreaN', f:parse_PtgAreaN }, + 0x2E: { n:'PtgMemAreaN', f:parse_PtgMemAreaN }, + 0x2F: { n:'PtgMemNoMemN', f:parse_PtgMemNoMemN }, + 0x39: { n:'PtgNameX', f:parse_PtgNameX }, + 0x3A: { n:'PtgRef3d', f:parse_PtgRef3d }, + 0x3B: { n:'PtgArea3d', f:parse_PtgArea3d }, + 0x3C: { n:'PtgRefErr3d', f:parse_PtgRefErr3d }, + 0x3D: { n:'PtgAreaErr3d', f:parse_PtgAreaErr3d }, + 0xFF: {} }; /* These are duplicated in the PtgTypes table */ var PtgDupes = { -0x40: 0x20, 0x60: 0x20, -0x41: 0x21, 0x61: 0x21, -0x42: 0x22, 0x62: 0x22, -0x43: 0x23, 0x63: 0x23, -0x44: 0x24, 0x64: 0x24, -0x45: 0x25, 0x65: 0x25, -0x46: 0x26, 0x66: 0x26, -0x47: 0x27, 0x67: 0x27, -0x48: 0x28, 0x68: 0x28, -0x49: 0x29, 0x69: 0x29, -0x4A: 0x2A, 0x6A: 0x2A, -0x4B: 0x2B, 0x6B: 0x2B, -0x4C: 0x2C, 0x6C: 0x2C, -0x4D: 0x2D, 0x6D: 0x2D, -0x4E: 0x2E, 0x6E: 0x2E, -0x4F: 0x2F, 0x6F: 0x2F, -0x58: 0x22, 0x78: 0x22, -0x59: 0x39, 0x79: 0x39, -0x5A: 0x3A, 0x7A: 0x3A, -0x5B: 0x3B, 0x7B: 0x3B, -0x5C: 0x3C, 0x7C: 0x3C, -0x5D: 0x3D, 0x7D: 0x3D + 0x40: 0x20, 0x60: 0x20, + 0x41: 0x21, 0x61: 0x21, + 0x42: 0x22, 0x62: 0x22, + 0x43: 0x23, 0x63: 0x23, + 0x44: 0x24, 0x64: 0x24, + 0x45: 0x25, 0x65: 0x25, + 0x46: 0x26, 0x66: 0x26, + 0x47: 0x27, 0x67: 0x27, + 0x48: 0x28, 0x68: 0x28, + 0x49: 0x29, 0x69: 0x29, + 0x4A: 0x2A, 0x6A: 0x2A, + 0x4B: 0x2B, 0x6B: 0x2B, + 0x4C: 0x2C, 0x6C: 0x2C, + 0x4D: 0x2D, 0x6D: 0x2D, + 0x4E: 0x2E, 0x6E: 0x2E, + 0x4F: 0x2F, 0x6F: 0x2F, + 0x58: 0x22, 0x78: 0x22, + 0x59: 0x39, 0x79: 0x39, + 0x5A: 0x3A, 0x7A: 0x3A, + 0x5B: 0x3B, 0x7B: 0x3B, + 0x5C: 0x3C, 0x7C: 0x3C, + 0x5D: 0x3D, 0x7D: 0x3D }; var Ptg18 = { -0x01: { n:'PtgElfLel', f:parse_PtgElfLel }, -0x02: { n:'PtgElfRw', f:parse_PtgElfRw }, -0x03: { n:'PtgElfCol', f:parse_PtgElfCol }, -0x06: { n:'PtgElfRwV', f:parse_PtgElfRwV }, -0x07: { n:'PtgElfColV', f:parse_PtgElfColV }, -0x0A: { n:'PtgElfRadical', f:parse_PtgElfRadical }, -0x0B: { n:'PtgElfRadicalS', f:parse_PtgElfRadicalS }, -0x0D: { n:'PtgElfColS', f:parse_PtgElfColS }, -0x0F: { n:'PtgElfColSV', f:parse_PtgElfColSV }, -0x10: { n:'PtgElfRadicalLel', f:parse_PtgElfRadicalLel }, -0x19: { n:'PtgList', f:parse_PtgList }, -0x1D: { n:'PtgSxName', f:parse_PtgSxName }, -0xFF: {} + 0x01: { n:'PtgElfLel', f:parse_PtgElfLel }, + 0x02: { n:'PtgElfRw', f:parse_PtgElfRw }, + 0x03: { n:'PtgElfCol', f:parse_PtgElfCol }, + 0x06: { n:'PtgElfRwV', f:parse_PtgElfRwV }, + 0x07: { n:'PtgElfColV', f:parse_PtgElfColV }, + 0x0A: { n:'PtgElfRadical', f:parse_PtgElfRadical }, + 0x0B: { n:'PtgElfRadicalS', f:parse_PtgElfRadicalS }, + 0x0D: { n:'PtgElfColS', f:parse_PtgElfColS }, + 0x0F: { n:'PtgElfColSV', f:parse_PtgElfColSV }, + 0x10: { n:'PtgElfRadicalLel', f:parse_PtgElfRadicalLel }, + 0x19: { n:'PtgList', f:parse_PtgList }, + 0x1D: { n:'PtgSxName', f:parse_PtgSxName }, + 0xFF: {} }; var Ptg19 = { -0x00: { n:'PtgAttrNoop', f:parse_PtgAttrNoop }, -0x01: { n:'PtgAttrSemi', f:parse_PtgAttrSemi }, -0x02: { n:'PtgAttrIf', f:parse_PtgAttrIf }, -0x04: { n:'PtgAttrChoose', f:parse_PtgAttrChoose }, -0x08: { n:'PtgAttrGoto', f:parse_PtgAttrGoto }, -0x10: { n:'PtgAttrSum', f:parse_PtgAttrSum }, -0x20: { n:'PtgAttrBaxcel', f:parse_PtgAttrBaxcel }, -0x21: { n:'PtgAttrBaxcel', f:parse_PtgAttrBaxcel }, -0x40: { n:'PtgAttrSpace', f:parse_PtgAttrSpace }, -0x41: { n:'PtgAttrSpaceSemi', f:parse_PtgAttrSpaceSemi }, -0x80: { n:'PtgAttrIfError', f:parse_PtgAttrIfError }, -0xFF: {} + 0x00: { n:'PtgAttrNoop', f:parse_PtgAttrNoop }, + 0x01: { n:'PtgAttrSemi', f:parse_PtgAttrSemi }, + 0x02: { n:'PtgAttrIf', f:parse_PtgAttrIf }, + 0x04: { n:'PtgAttrChoose', f:parse_PtgAttrChoose }, + 0x08: { n:'PtgAttrGoto', f:parse_PtgAttrGoto }, + 0x10: { n:'PtgAttrSum', f:parse_PtgAttrSum }, + 0x20: { n:'PtgAttrBaxcel', f:parse_PtgAttrBaxcel }, + 0x21: { n:'PtgAttrBaxcel', f:parse_PtgAttrBaxcel }, + 0x40: { n:'PtgAttrSpace', f:parse_PtgAttrSpace }, + 0x41: { n:'PtgAttrSpaceSemi', f:parse_PtgAttrSpaceSemi }, + 0x80: { n:'PtgAttrIfError', f:parse_PtgAttrIfError }, + 0xFF: {} }; /* [MS-XLS] 2.5.198.103 ; [MS-XLSB] 2.5.97.87 */ @@ -15733,16 +15860,13 @@ function parse_ws_xml_dim(ws, s) { var d = safe_decode_range(s); if(d.s.r<=d.e.r && d.s.c<=d.e.c && d.s.r>=0 && d.s.c>=0) ws["!ref"] = encode_range(d); } -var mergecregex = /<(?:\w:)?mergeCell ref=["'][A-Z0-9:]+['"]\s*[\/]?>/g; -var sheetdataregex = /<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/; -var hlinkregex = /<(?:\w:)?hyperlink [^>]*>/mg; +var mergecregex = /<(?:\w+:)?mergeCell ref=["'][A-Z0-9:]+['"]\s*[\/]?>/g; +var hlinkregex = /<(?:\w+:)?hyperlink [^<>]*>/mg; var dimregex = /"(\w*:\w*)"/; -var colregex = /<(?:\w:)?col\b[^>]*[\/]?>/g; -var afregex = /<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g; -var marginregex= /<(?:\w:)?pageMargins[^>]*\/>/g; -var sheetprregex = /<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/; -var sheetprregex2= /<(?:\w:)?sheetPr[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetPr)>/; -var svsregex = /<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/; +var colregex = /<(?:\w+:)?col\b[^<>]*[\/]?>/g; +var afregex = /<(?:\w+:)?autoFilter[^>]*/g; +var marginregex= /<(?:\w+:)?pageMargins[^<>]*\/>/g; +var sheetprregex = /<(?:\w+:)?sheetPr\b[^<>]*?\/>/; /* 18.3 Worksheets */ function parse_ws_xml(data, opts, idx, rels, wb, themes, styles) { @@ -15755,7 +15879,7 @@ function parse_ws_xml(data, opts, idx, rels, wb, themes, styles) { var refguess = ({s: {r:2000000, c:2000000}, e: {r:0, c:0} }); var data1 = "", data2 = ""; - var mtch = data.match(sheetdataregex); + var mtch = str_match_xml_ns(data, "sheetData"); if(mtch) { data1 = data.slice(0, mtch.index); data2 = data.slice(mtch.index + mtch[0].length); @@ -15764,7 +15888,7 @@ function parse_ws_xml(data, opts, idx, rels, wb, themes, styles) { /* 18.3.1.82 sheetPr CT_SheetPr */ var sheetPr = data1.match(sheetprregex); if(sheetPr) parse_ws_xml_sheetpr(sheetPr[0], s, wb, idx); - else if((sheetPr = data1.match(sheetprregex2))) parse_ws_xml_sheetpr2(sheetPr[0], sheetPr[1]||"", s, wb, idx, styles, themes); + else if((sheetPr = str_match_xml_ns(data1, "sheetPr"))) parse_ws_xml_sheetpr2(sheetPr[0], sheetPr[1]||"", s, wb, idx, styles, themes); /* 18.3.1.35 dimension CT_SheetDimension */ var ridx = (data1.match(/<(?:\w*:)?dimension/)||{index:-1}).index; @@ -15774,7 +15898,7 @@ function parse_ws_xml(data, opts, idx, rels, wb, themes, styles) { } /* 18.3.1.88 sheetViews CT_SheetViews */ - var svs = data1.match(svsregex); + var svs = str_match_xml_ns(data1, "sheetViews"); if(svs && svs[1]) parse_ws_xml_sheetviews(svs[1], wb); /* 18.3.1.17 cols CT_Cols */ @@ -15973,7 +16097,7 @@ function write_ws_xml_autofilter(data, ws, wb, idx) { /* 18.3.1.88 sheetViews CT_SheetViews */ /* 18.3.1.87 sheetView CT_SheetView */ -var sviewregex = /<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/?>/g; +var sviewregex = /<(?:\w:)?sheetView(?:[^<>a-z][^<>]*)?\/?>/g; function parse_ws_xml_sheetviews(data, wb) { if(!wb.Views) wb.Views = [{}]; (data.match(sviewregex)||[]).forEach(function(r, i) { @@ -16052,9 +16176,8 @@ function write_ws_xml_cell(cell, ref, ws, opts, idx, wb, date1904) { var parse_ws_xml_data = (function() { var cellregex = /<(?:\w+:)?c[ \/>]/, rowregex = /<\/(?:\w+:)?row>/; - var rregex = /r=["']([^"']*)["']/, isregex = /<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/; + var rregex = /r=["']([^"']*)["']/; var refregex = /ref=["']([^"']*)["']/; - var match_v = matchtag("v"), match_f = matchtag("f"); return function parse_ws_xml_data(sdata, s, opts, guess, themes, styles, wb) { var ri = 0, x = "", cells = [], cref = [], idx=0, i=0, cc=0, d="", p; @@ -16133,9 +16256,9 @@ return function parse_ws_xml_data(sdata, s, opts, guess, themes, styles, wb) { d = x.slice(i); p = ({t:""}); - if((cref=d.match(match_v))!= null && cref[1] !== '') p.v=unescapexml(cref[1]); + if((cref=str_match_xml_ns(d, "v"))!= null && cref[1] !== '') p.v=unescapexml(cref[1]); if(opts.cellFormula) { - if((cref=d.match(match_f))!= null ) { + if((cref=str_match_xml_ns(d, "f"))!= null ) { if(cref[1] == "") { if(cref[0].indexOf('t="shared"') > -1) { // TODO: parse formula @@ -16157,7 +16280,7 @@ return function parse_ws_xml_data(sdata, s, opts, guess, themes, styles, wb) { sharedf[parseInt(ftag.si, 10)] = [ftag, ___f, tag.r]; } } - } else if((cref=d.match(/]*\/>/))) { + } else if((cref=d.match(/]*\/>/))) { ftag = parsexmltag(cref[0]); if(sharedf[ftag.si]) p.f = shift_formula_xlsx(sharedf[ftag.si][1], sharedf[ftag.si][2]/*[0].ref*/, tag.r); } @@ -16203,7 +16326,7 @@ return function parse_ws_xml_data(sdata, s, opts, guess, themes, styles, wb) { if(opts.cellHTML) p.h = escapehtml(p.v); break; case 'inlineStr': - cref = d.match(isregex); + cref = str_match_xml_ns(d, "is"); p.t = 's'; if(cref != null && (sstr = parse_si(cref[1]))) { p.v = sstr.t; @@ -16368,7 +16491,7 @@ ws['!links'].forEach(function(l) { if(!l[1].Target) return; rel = ({"ref":l[0]}); if(l[1].Target.charAt(0) != "#") { - rId = add_rels(rels, -1, escapexml(l[1].Target).replace(/#.*$/, ""), RELS.HLINK); + rId = add_rels(rels, -1, escapexml(l[1].Target).replace(/#[\s\S]*$/, ""), RELS.HLINK); rel["r:id"] = "rId"+rId; } if((relc = l[1].Target.indexOf("#")) > -1) rel.location = escapexml(l[1].Target.slice(relc+1)); @@ -17343,7 +17466,7 @@ function write_HLINKS(ba, ws, rels) { /* *BrtHLink */ ws['!links'].forEach(function(l) { if(!l[1].Target) return; - var rId = add_rels(rels, -1, l[1].Target.replace(/#.*$/, ""), RELS.HLINK); + var rId = add_rels(rels, -1, l[1].Target.replace(/#[\s\S]*$/, ""), RELS.HLINK); write_record(ba, 0x01EE /* BrtHLink */, write_BrtHLink(l, rId)); }); delete ws['!links']; @@ -17470,16 +17593,16 @@ function parse_Cache(data) { var f; /* 21.2.2.150 pt CT_NumVal */ - (data.match(/(.*?)<\/c:pt>/mg)||[]).forEach(function(pt) { - var q = pt.match(/(.*)<\/c:v><\/c:pt>/); + (data.match(/\/]*>([^<])<\/c:v><\/c:pt>/mg)||[]).forEach(function(pt) { + var q = pt.match(/\/]*>([^<]*)<\/c:v><\/c:pt>/); if(!q) return; col[+q[1]] = num ? +q[2] : q[2]; }); /* 21.2.2.71 formatCode CT_Xstring */ - var nf = unescapexml((data.match(/([\s\S]*?)<\/c:formatCode>/) || ["","General"])[1]); + var nf = unescapexml((str_match_xml(data, "c:formatCode") || ["","General"])[1]); - (data.match(/(.*?)<\/c:f>/mg)||[]).forEach(function(F) { f = F.replace(/<.*?>/g,""); }); + (str_match_ng(data, "", "")||[]).forEach(function(F) { f = F.replace(/<[^<>]*>/g,""); }); return [col, nf, f]; } @@ -17494,7 +17617,7 @@ function parse_chart(data, name, opts, rels, wb, csheet) { var refguess = {s: {r:2000000, c:2000000}, e: {r:0, c:0} }; /* 21.2.2.120 numCache CT_NumData */ - (data.match(/[\s\S]*?<\/c:numCache>/gm)||[]).forEach(function(nc) { + (str_match_ng(data, "", "")||[]).forEach(function(nc) { var cache = parse_Cache(nc); refguess.s.r = refguess.s.c = 0; refguess.e.c = C; @@ -18088,8 +18211,14 @@ function parse_BrtName(data, length, opts) { data.l += 1; //var chKey = data.read_shift(1); var itab = data.read_shift(4); var name = parse_XLNameWideString(data); - var formula = parse_XLSBNameParsedFormula(data, 0, opts); - var comment = parse_XLNullableWideString(data); + var formula; + var comment = ""; + try { + formula = parse_XLSBNameParsedFormula(data, 0, opts); + try { + comment = parse_XLNullableWideString(data); + } catch(e){} + } catch(e) { console.error("Could not parse defined name " + name); } if(flags & 0x20) name = "_xlnm." + name; //if(0 /* fProc */) { // unusedstring1: XLNullableWideString @@ -18160,7 +18289,7 @@ function parse_wb_bin(data, opts) { case 0x0027: /* 'BrtName' */ if(val.Sheet != null) opts.SID = val.Sheet; - val.Ref = stringify_formula(val.Ptg, null, null, supbooks, opts); + val.Ref = val.Ptg ? stringify_formula(val.Ptg, null, null, supbooks, opts) : "#REF!"; delete opts.SID; delete val.Ptg; Names.push(val); @@ -18427,8 +18556,8 @@ function parse_xlmeta(data, name, opts) { if(name.slice(-4)===".bin") return parse_xlmeta_bin((data), name, opts); return parse_xlmeta_xml((data), name, opts); } -var attregexg2=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g; -var attregex2=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/; +var attregexg2=/\b((?:\w+:)?[\w]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g; +var attregex2=/\b((?:\w+:)?[\w]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/; function xlml_parsexmltag(tag, skip_root) { var words = tag.split(/\s+/); var z = ([]); if(!skip_root) z[0] = words[0]; @@ -18526,10 +18655,11 @@ function parse_xlml_data(xml, ss, data, cell, base, styles, csty, row, arrayf, o if(sid === undefined && row) sid = row.StyleID; if(sid === undefined && csty) sid = csty.StyleID; while(styles[sid] !== undefined) { - if(styles[sid].nf) nf = styles[sid].nf; - if(styles[sid].Interior) interiors.push(styles[sid].Interior); - if(!styles[sid].Parent) break; - sid = styles[sid].Parent; + var ssid = styles[sid]; + if(ssid.nf) nf = ssid.nf; + if(ssid.Interior) interiors.push(ssid.Interior); + if(!ssid.Parent) break; + sid = ssid.Parent; } switch(data.Type) { case 'Boolean': @@ -18538,7 +18668,7 @@ function parse_xlml_data(xml, ss, data, cell, base, styles, csty, row, arrayf, o break; case 'String': cell.t = 's'; cell.r = xlml_fixstr(unescapexml(xml)); - cell.v = (xml.indexOf("<") > -1 ? unescapexml(ss||xml).replace(/<.*?>/g, "") : cell.r); // todo: BR etc + cell.v = (xml.indexOf("<") > -1 ? unescapexml(ss||xml).replace(/<[^<>]*>/g, "") : cell.r); // todo: BR etc break; case 'DateTime': if(xml.slice(-1) != "Z") xml += "Z"; @@ -18648,7 +18778,7 @@ function parse_xlml_xml(d, _opts) { var rowinfo = [], rowobj = {}, cc = 0, rr = 0; var Workbook = ({ Sheets:[], WBProps:{date1904:false} }), wsprops = {}; xlmlregex.lastIndex = 0; - str = str.replace(//mg,""); + str = str_remove_ng(str, ""); var raw_Rn3 = ""; while((Rn = xlmlregex.exec(str))) switch((Rn[3] = (raw_Rn3 = Rn[3]).toLowerCase())) { case 'data' /*case 'Data'*/: @@ -19802,7 +19932,7 @@ function parse_workbook(blob, options) { if(icv < 64) return palette[icv-8] || XLSIcv[icv]; return XLSIcv[icv]; }; - var process_cell_style = function pcs(cell, line, options) { + var process_cell_style = function pcs(line, options) { var xfd = line.XF.data; if(!xfd || !xfd.patternType || !options || !options.cellStyles) return; line.s = ({}); @@ -19814,7 +19944,7 @@ function parse_workbook(blob, options) { var addcell = function addcell(cell, line, options) { if(!biff4w && file_depth > 1) return; if(options.sheetRows && cell.r >= options.sheetRows) return; - if(options.cellStyles && line.XF && line.XF.data) process_cell_style(cell, line, options); + if(options.cellStyles && line.XF && line.XF.data) process_cell_style(line, options); delete line.ixfe; delete line.XF; lastcell = cell; last_cell = encode_cell(cell); @@ -20005,17 +20135,17 @@ wb.opts.Date1904 = Workbook.WBProps.date1904 = val; break; } break; case 0x0009: case 0x0209: case 0x0409: case 0x0809 /* BOF */: { if(opts.biff === 8) opts.biff = { -0x0009:2, -0x0209:3, -0x0409:4 + 0x0009: 2, + 0x0209: 3, + 0x0409: 4 }[RecordType] || { -0x0200:2, -0x0300:3, -0x0400:4, -0x0500:5, -0x0600:8, -0x0002:2, -0x0007:2 + 0x0200: 2, + 0x0300: 3, + 0x0400: 4, + 0x0500: 5, + 0x0600: 8, + 0x0002: 2, + 0x0007: 2 }[val.BIFFVer] || 8; opts.biffguess = val.BIFFVer == 0; if(val.BIFFVer == 0 && val.dt == 0x1000) { opts.biff = 5; seen_codepage = true; set_cp(opts.codepage = 28591); } @@ -20409,1244 +20539,1244 @@ function write_xlscfb(wb, opts) { } /* [MS-XLSB] 2.3 Record Enumeration */ var XLSBRecordEnum = { -0x0000: { /* n:"BrtRowHdr", */ f:parse_BrtRowHdr }, -0x0001: { /* n:"BrtCellBlank", */ f:parse_BrtCellBlank }, -0x0002: { /* n:"BrtCellRk", */ f:parse_BrtCellRk }, -0x0003: { /* n:"BrtCellError", */ f:parse_BrtCellError }, -0x0004: { /* n:"BrtCellBool", */ f:parse_BrtCellBool }, -0x0005: { /* n:"BrtCellReal", */ f:parse_BrtCellReal }, -0x0006: { /* n:"BrtCellSt", */ f:parse_BrtCellSt }, -0x0007: { /* n:"BrtCellIsst", */ f:parse_BrtCellIsst }, -0x0008: { /* n:"BrtFmlaString", */ f:parse_BrtFmlaString }, -0x0009: { /* n:"BrtFmlaNum", */ f:parse_BrtFmlaNum }, -0x000A: { /* n:"BrtFmlaBool", */ f:parse_BrtFmlaBool }, -0x000B: { /* n:"BrtFmlaError", */ f:parse_BrtFmlaError }, -0x000C: { /* n:"BrtShortBlank", */ f:parse_BrtShortBlank }, -0x000D: { /* n:"BrtShortRk", */ f:parse_BrtShortRk }, -0x000E: { /* n:"BrtShortError", */ f:parse_BrtShortError }, -0x000F: { /* n:"BrtShortBool", */ f:parse_BrtShortBool }, -0x0010: { /* n:"BrtShortReal", */ f:parse_BrtShortReal }, -0x0011: { /* n:"BrtShortSt", */ f:parse_BrtShortSt }, -0x0012: { /* n:"BrtShortIsst", */ f:parse_BrtShortIsst }, -0x0013: { /* n:"BrtSSTItem", */ f:parse_RichStr }, -0x0014: { /* n:"BrtPCDIMissing" */ }, -0x0015: { /* n:"BrtPCDINumber" */ }, -0x0016: { /* n:"BrtPCDIBoolean" */ }, -0x0017: { /* n:"BrtPCDIError" */ }, -0x0018: { /* n:"BrtPCDIString" */ }, -0x0019: { /* n:"BrtPCDIDatetime" */ }, -0x001A: { /* n:"BrtPCDIIndex" */ }, -0x001B: { /* n:"BrtPCDIAMissing" */ }, -0x001C: { /* n:"BrtPCDIANumber" */ }, -0x001D: { /* n:"BrtPCDIABoolean" */ }, -0x001E: { /* n:"BrtPCDIAError" */ }, -0x001F: { /* n:"BrtPCDIAString" */ }, -0x0020: { /* n:"BrtPCDIADatetime" */ }, -0x0021: { /* n:"BrtPCRRecord" */ }, -0x0022: { /* n:"BrtPCRRecordDt" */ }, -0x0023: { /* n:"BrtFRTBegin", */ T:1 }, -0x0024: { /* n:"BrtFRTEnd", */ T:-1 }, -0x0025: { /* n:"BrtACBegin", */ T:1 }, -0x0026: { /* n:"BrtACEnd", */ T:-1 }, -0x0027: { /* n:"BrtName", */ f:parse_BrtName }, -0x0028: { /* n:"BrtIndexRowBlock" */ }, -0x002A: { /* n:"BrtIndexBlock" */ }, -0x002B: { /* n:"BrtFont", */ f:parse_BrtFont }, -0x002C: { /* n:"BrtFmt", */ f:parse_BrtFmt }, -0x002D: { /* n:"BrtFill", */ f:parse_BrtFill }, -0x002E: { /* n:"BrtBorder", */ f:parse_BrtBorder }, -0x002F: { /* n:"BrtXF", */ f:parse_BrtXF }, -0x0030: { /* n:"BrtStyle" */ }, -0x0031: { /* n:"BrtCellMeta", */ f:parse_Int32LE }, -0x0032: { /* n:"BrtValueMeta" */ }, -0x0033: { /* n:"BrtMdb" */ f:parse_BrtMdb }, -0x0034: { /* n:"BrtBeginFmd", */ T:1 }, -0x0035: { /* n:"BrtEndFmd", */ T:-1 }, -0x0036: { /* n:"BrtBeginMdx", */ T:1 }, -0x0037: { /* n:"BrtEndMdx", */ T:-1 }, -0x0038: { /* n:"BrtBeginMdxTuple", */ T:1 }, -0x0039: { /* n:"BrtEndMdxTuple", */ T:-1 }, -0x003A: { /* n:"BrtMdxMbrIstr" */ }, -0x003B: { /* n:"BrtStr" */ }, -0x003C: { /* n:"BrtColInfo", */ f:parse_ColInfo }, -0x003E: { /* n:"BrtCellRString", */ f:parse_BrtCellRString }, -0x003F: { /* n:"BrtCalcChainItem$", */ f:parse_BrtCalcChainItem$ }, -0x0040: { /* n:"BrtDVal", */ f:parse_BrtDVal }, -0x0041: { /* n:"BrtSxvcellNum" */ }, -0x0042: { /* n:"BrtSxvcellStr" */ }, -0x0043: { /* n:"BrtSxvcellBool" */ }, -0x0044: { /* n:"BrtSxvcellErr" */ }, -0x0045: { /* n:"BrtSxvcellDate" */ }, -0x0046: { /* n:"BrtSxvcellNil" */ }, -0x0080: { /* n:"BrtFileVersion" */ }, -0x0081: { /* n:"BrtBeginSheet", */ T:1 }, -0x0082: { /* n:"BrtEndSheet", */ T:-1 }, -0x0083: { /* n:"BrtBeginBook", */ T:1, f:parsenoop, p:0 }, -0x0084: { /* n:"BrtEndBook", */ T:-1 }, -0x0085: { /* n:"BrtBeginWsViews", */ T:1 }, -0x0086: { /* n:"BrtEndWsViews", */ T:-1 }, -0x0087: { /* n:"BrtBeginBookViews", */ T:1 }, -0x0088: { /* n:"BrtEndBookViews", */ T:-1 }, -0x0089: { /* n:"BrtBeginWsView", */ T:1, f:parse_BrtBeginWsView }, -0x008A: { /* n:"BrtEndWsView", */ T:-1 }, -0x008B: { /* n:"BrtBeginCsViews", */ T:1 }, -0x008C: { /* n:"BrtEndCsViews", */ T:-1 }, -0x008D: { /* n:"BrtBeginCsView", */ T:1 }, -0x008E: { /* n:"BrtEndCsView", */ T:-1 }, -0x008F: { /* n:"BrtBeginBundleShs", */ T:1 }, -0x0090: { /* n:"BrtEndBundleShs", */ T:-1 }, -0x0091: { /* n:"BrtBeginSheetData", */ T:1 }, -0x0092: { /* n:"BrtEndSheetData", */ T:-1 }, -0x0093: { /* n:"BrtWsProp", */ f:parse_BrtWsProp }, -0x0094: { /* n:"BrtWsDim", */ f:parse_BrtWsDim, p:16 }, -0x0097: { /* n:"BrtPane", */ f:parse_BrtPane }, -0x0098: { /* n:"BrtSel" */ }, -0x0099: { /* n:"BrtWbProp", */ f:parse_BrtWbProp }, -0x009A: { /* n:"BrtWbFactoid" */ }, -0x009B: { /* n:"BrtFileRecover" */ }, -0x009C: { /* n:"BrtBundleSh", */ f:parse_BrtBundleSh }, -0x009D: { /* n:"BrtCalcProp" */ }, -0x009E: { /* n:"BrtBookView" */ }, -0x009F: { /* n:"BrtBeginSst", */ T:1, f:parse_BrtBeginSst }, -0x00A0: { /* n:"BrtEndSst", */ T:-1 }, -0x00A1: { /* n:"BrtBeginAFilter", */ T:1, f:parse_UncheckedRfX }, -0x00A2: { /* n:"BrtEndAFilter", */ T:-1 }, -0x00A3: { /* n:"BrtBeginFilterColumn", */ T:1 }, -0x00A4: { /* n:"BrtEndFilterColumn", */ T:-1 }, -0x00A5: { /* n:"BrtBeginFilters", */ T:1 }, -0x00A6: { /* n:"BrtEndFilters", */ T:-1 }, -0x00A7: { /* n:"BrtFilter" */ }, -0x00A8: { /* n:"BrtColorFilter" */ }, -0x00A9: { /* n:"BrtIconFilter" */ }, -0x00AA: { /* n:"BrtTop10Filter" */ }, -0x00AB: { /* n:"BrtDynamicFilter" */ }, -0x00AC: { /* n:"BrtBeginCustomFilters", */ T:1 }, -0x00AD: { /* n:"BrtEndCustomFilters", */ T:-1 }, -0x00AE: { /* n:"BrtCustomFilter" */ }, -0x00AF: { /* n:"BrtAFilterDateGroupItem" */ }, -0x00B0: { /* n:"BrtMergeCell", */ f:parse_BrtMergeCell }, -0x00B1: { /* n:"BrtBeginMergeCells", */ T:1 }, -0x00B2: { /* n:"BrtEndMergeCells", */ T:-1 }, -0x00B3: { /* n:"BrtBeginPivotCacheDef", */ T:1 }, -0x00B4: { /* n:"BrtEndPivotCacheDef", */ T:-1 }, -0x00B5: { /* n:"BrtBeginPCDFields", */ T:1 }, -0x00B6: { /* n:"BrtEndPCDFields", */ T:-1 }, -0x00B7: { /* n:"BrtBeginPCDField", */ T:1 }, -0x00B8: { /* n:"BrtEndPCDField", */ T:-1 }, -0x00B9: { /* n:"BrtBeginPCDSource", */ T:1 }, -0x00BA: { /* n:"BrtEndPCDSource", */ T:-1 }, -0x00BB: { /* n:"BrtBeginPCDSRange", */ T:1 }, -0x00BC: { /* n:"BrtEndPCDSRange", */ T:-1 }, -0x00BD: { /* n:"BrtBeginPCDFAtbl", */ T:1 }, -0x00BE: { /* n:"BrtEndPCDFAtbl", */ T:-1 }, -0x00BF: { /* n:"BrtBeginPCDIRun", */ T:1 }, -0x00C0: { /* n:"BrtEndPCDIRun", */ T:-1 }, -0x00C1: { /* n:"BrtBeginPivotCacheRecords", */ T:1 }, -0x00C2: { /* n:"BrtEndPivotCacheRecords", */ T:-1 }, -0x00C3: { /* n:"BrtBeginPCDHierarchies", */ T:1 }, -0x00C4: { /* n:"BrtEndPCDHierarchies", */ T:-1 }, -0x00C5: { /* n:"BrtBeginPCDHierarchy", */ T:1 }, -0x00C6: { /* n:"BrtEndPCDHierarchy", */ T:-1 }, -0x00C7: { /* n:"BrtBeginPCDHFieldsUsage", */ T:1 }, -0x00C8: { /* n:"BrtEndPCDHFieldsUsage", */ T:-1 }, -0x00C9: { /* n:"BrtBeginExtConnection", */ T:1 }, -0x00CA: { /* n:"BrtEndExtConnection", */ T:-1 }, -0x00CB: { /* n:"BrtBeginECDbProps", */ T:1 }, -0x00CC: { /* n:"BrtEndECDbProps", */ T:-1 }, -0x00CD: { /* n:"BrtBeginECOlapProps", */ T:1 }, -0x00CE: { /* n:"BrtEndECOlapProps", */ T:-1 }, -0x00CF: { /* n:"BrtBeginPCDSConsol", */ T:1 }, -0x00D0: { /* n:"BrtEndPCDSConsol", */ T:-1 }, -0x00D1: { /* n:"BrtBeginPCDSCPages", */ T:1 }, -0x00D2: { /* n:"BrtEndPCDSCPages", */ T:-1 }, -0x00D3: { /* n:"BrtBeginPCDSCPage", */ T:1 }, -0x00D4: { /* n:"BrtEndPCDSCPage", */ T:-1 }, -0x00D5: { /* n:"BrtBeginPCDSCPItem", */ T:1 }, -0x00D6: { /* n:"BrtEndPCDSCPItem", */ T:-1 }, -0x00D7: { /* n:"BrtBeginPCDSCSets", */ T:1 }, -0x00D8: { /* n:"BrtEndPCDSCSets", */ T:-1 }, -0x00D9: { /* n:"BrtBeginPCDSCSet", */ T:1 }, -0x00DA: { /* n:"BrtEndPCDSCSet", */ T:-1 }, -0x00DB: { /* n:"BrtBeginPCDFGroup", */ T:1 }, -0x00DC: { /* n:"BrtEndPCDFGroup", */ T:-1 }, -0x00DD: { /* n:"BrtBeginPCDFGItems", */ T:1 }, -0x00DE: { /* n:"BrtEndPCDFGItems", */ T:-1 }, -0x00DF: { /* n:"BrtBeginPCDFGRange", */ T:1 }, -0x00E0: { /* n:"BrtEndPCDFGRange", */ T:-1 }, -0x00E1: { /* n:"BrtBeginPCDFGDiscrete", */ T:1 }, -0x00E2: { /* n:"BrtEndPCDFGDiscrete", */ T:-1 }, -0x00E3: { /* n:"BrtBeginPCDSDTupleCache", */ T:1 }, -0x00E4: { /* n:"BrtEndPCDSDTupleCache", */ T:-1 }, -0x00E5: { /* n:"BrtBeginPCDSDTCEntries", */ T:1 }, -0x00E6: { /* n:"BrtEndPCDSDTCEntries", */ T:-1 }, -0x00E7: { /* n:"BrtBeginPCDSDTCEMembers", */ T:1 }, -0x00E8: { /* n:"BrtEndPCDSDTCEMembers", */ T:-1 }, -0x00E9: { /* n:"BrtBeginPCDSDTCEMember", */ T:1 }, -0x00EA: { /* n:"BrtEndPCDSDTCEMember", */ T:-1 }, -0x00EB: { /* n:"BrtBeginPCDSDTCQueries", */ T:1 }, -0x00EC: { /* n:"BrtEndPCDSDTCQueries", */ T:-1 }, -0x00ED: { /* n:"BrtBeginPCDSDTCQuery", */ T:1 }, -0x00EE: { /* n:"BrtEndPCDSDTCQuery", */ T:-1 }, -0x00EF: { /* n:"BrtBeginPCDSDTCSets", */ T:1 }, -0x00F0: { /* n:"BrtEndPCDSDTCSets", */ T:-1 }, -0x00F1: { /* n:"BrtBeginPCDSDTCSet", */ T:1 }, -0x00F2: { /* n:"BrtEndPCDSDTCSet", */ T:-1 }, -0x00F3: { /* n:"BrtBeginPCDCalcItems", */ T:1 }, -0x00F4: { /* n:"BrtEndPCDCalcItems", */ T:-1 }, -0x00F5: { /* n:"BrtBeginPCDCalcItem", */ T:1 }, -0x00F6: { /* n:"BrtEndPCDCalcItem", */ T:-1 }, -0x00F7: { /* n:"BrtBeginPRule", */ T:1 }, -0x00F8: { /* n:"BrtEndPRule", */ T:-1 }, -0x00F9: { /* n:"BrtBeginPRFilters", */ T:1 }, -0x00FA: { /* n:"BrtEndPRFilters", */ T:-1 }, -0x00FB: { /* n:"BrtBeginPRFilter", */ T:1 }, -0x00FC: { /* n:"BrtEndPRFilter", */ T:-1 }, -0x00FD: { /* n:"BrtBeginPNames", */ T:1 }, -0x00FE: { /* n:"BrtEndPNames", */ T:-1 }, -0x00FF: { /* n:"BrtBeginPName", */ T:1 }, -0x0100: { /* n:"BrtEndPName", */ T:-1 }, -0x0101: { /* n:"BrtBeginPNPairs", */ T:1 }, -0x0102: { /* n:"BrtEndPNPairs", */ T:-1 }, -0x0103: { /* n:"BrtBeginPNPair", */ T:1 }, -0x0104: { /* n:"BrtEndPNPair", */ T:-1 }, -0x0105: { /* n:"BrtBeginECWebProps", */ T:1 }, -0x0106: { /* n:"BrtEndECWebProps", */ T:-1 }, -0x0107: { /* n:"BrtBeginEcWpTables", */ T:1 }, -0x0108: { /* n:"BrtEndECWPTables", */ T:-1 }, -0x0109: { /* n:"BrtBeginECParams", */ T:1 }, -0x010A: { /* n:"BrtEndECParams", */ T:-1 }, -0x010B: { /* n:"BrtBeginECParam", */ T:1 }, -0x010C: { /* n:"BrtEndECParam", */ T:-1 }, -0x010D: { /* n:"BrtBeginPCDKPIs", */ T:1 }, -0x010E: { /* n:"BrtEndPCDKPIs", */ T:-1 }, -0x010F: { /* n:"BrtBeginPCDKPI", */ T:1 }, -0x0110: { /* n:"BrtEndPCDKPI", */ T:-1 }, -0x0111: { /* n:"BrtBeginDims", */ T:1 }, -0x0112: { /* n:"BrtEndDims", */ T:-1 }, -0x0113: { /* n:"BrtBeginDim", */ T:1 }, -0x0114: { /* n:"BrtEndDim", */ T:-1 }, -0x0115: { /* n:"BrtIndexPartEnd" */ }, -0x0116: { /* n:"BrtBeginStyleSheet", */ T:1 }, -0x0117: { /* n:"BrtEndStyleSheet", */ T:-1 }, -0x0118: { /* n:"BrtBeginSXView", */ T:1 }, -0x0119: { /* n:"BrtEndSXVI", */ T:-1 }, -0x011A: { /* n:"BrtBeginSXVI", */ T:1 }, -0x011B: { /* n:"BrtBeginSXVIs", */ T:1 }, -0x011C: { /* n:"BrtEndSXVIs", */ T:-1 }, -0x011D: { /* n:"BrtBeginSXVD", */ T:1 }, -0x011E: { /* n:"BrtEndSXVD", */ T:-1 }, -0x011F: { /* n:"BrtBeginSXVDs", */ T:1 }, -0x0120: { /* n:"BrtEndSXVDs", */ T:-1 }, -0x0121: { /* n:"BrtBeginSXPI", */ T:1 }, -0x0122: { /* n:"BrtEndSXPI", */ T:-1 }, -0x0123: { /* n:"BrtBeginSXPIs", */ T:1 }, -0x0124: { /* n:"BrtEndSXPIs", */ T:-1 }, -0x0125: { /* n:"BrtBeginSXDI", */ T:1 }, -0x0126: { /* n:"BrtEndSXDI", */ T:-1 }, -0x0127: { /* n:"BrtBeginSXDIs", */ T:1 }, -0x0128: { /* n:"BrtEndSXDIs", */ T:-1 }, -0x0129: { /* n:"BrtBeginSXLI", */ T:1 }, -0x012A: { /* n:"BrtEndSXLI", */ T:-1 }, -0x012B: { /* n:"BrtBeginSXLIRws", */ T:1 }, -0x012C: { /* n:"BrtEndSXLIRws", */ T:-1 }, -0x012D: { /* n:"BrtBeginSXLICols", */ T:1 }, -0x012E: { /* n:"BrtEndSXLICols", */ T:-1 }, -0x012F: { /* n:"BrtBeginSXFormat", */ T:1 }, -0x0130: { /* n:"BrtEndSXFormat", */ T:-1 }, -0x0131: { /* n:"BrtBeginSXFormats", */ T:1 }, -0x0132: { /* n:"BrtEndSxFormats", */ T:-1 }, -0x0133: { /* n:"BrtBeginSxSelect", */ T:1 }, -0x0134: { /* n:"BrtEndSxSelect", */ T:-1 }, -0x0135: { /* n:"BrtBeginISXVDRws", */ T:1 }, -0x0136: { /* n:"BrtEndISXVDRws", */ T:-1 }, -0x0137: { /* n:"BrtBeginISXVDCols", */ T:1 }, -0x0138: { /* n:"BrtEndISXVDCols", */ T:-1 }, -0x0139: { /* n:"BrtEndSXLocation", */ T:-1 }, -0x013A: { /* n:"BrtBeginSXLocation", */ T:1 }, -0x013B: { /* n:"BrtEndSXView", */ T:-1 }, -0x013C: { /* n:"BrtBeginSXTHs", */ T:1 }, -0x013D: { /* n:"BrtEndSXTHs", */ T:-1 }, -0x013E: { /* n:"BrtBeginSXTH", */ T:1 }, -0x013F: { /* n:"BrtEndSXTH", */ T:-1 }, -0x0140: { /* n:"BrtBeginISXTHRws", */ T:1 }, -0x0141: { /* n:"BrtEndISXTHRws", */ T:-1 }, -0x0142: { /* n:"BrtBeginISXTHCols", */ T:1 }, -0x0143: { /* n:"BrtEndISXTHCols", */ T:-1 }, -0x0144: { /* n:"BrtBeginSXTDMPS", */ T:1 }, -0x0145: { /* n:"BrtEndSXTDMPs", */ T:-1 }, -0x0146: { /* n:"BrtBeginSXTDMP", */ T:1 }, -0x0147: { /* n:"BrtEndSXTDMP", */ T:-1 }, -0x0148: { /* n:"BrtBeginSXTHItems", */ T:1 }, -0x0149: { /* n:"BrtEndSXTHItems", */ T:-1 }, -0x014A: { /* n:"BrtBeginSXTHItem", */ T:1 }, -0x014B: { /* n:"BrtEndSXTHItem", */ T:-1 }, -0x014C: { /* n:"BrtBeginMetadata", */ T:1 }, -0x014D: { /* n:"BrtEndMetadata", */ T:-1 }, -0x014E: { /* n:"BrtBeginEsmdtinfo", */ T:1 }, -0x014F: { /* n:"BrtMdtinfo", */ f:parse_BrtMdtinfo }, -0x0150: { /* n:"BrtEndEsmdtinfo", */ T:-1 }, -0x0151: { /* n:"BrtBeginEsmdb", */ f:parse_BrtBeginEsmdb, T:1 }, -0x0152: { /* n:"BrtEndEsmdb", */ T:-1 }, -0x0153: { /* n:"BrtBeginEsfmd", */ T:1 }, -0x0154: { /* n:"BrtEndEsfmd", */ T:-1 }, -0x0155: { /* n:"BrtBeginSingleCells", */ T:1 }, -0x0156: { /* n:"BrtEndSingleCells", */ T:-1 }, -0x0157: { /* n:"BrtBeginList", */ T:1 }, -0x0158: { /* n:"BrtEndList", */ T:-1 }, -0x0159: { /* n:"BrtBeginListCols", */ T:1 }, -0x015A: { /* n:"BrtEndListCols", */ T:-1 }, -0x015B: { /* n:"BrtBeginListCol", */ T:1 }, -0x015C: { /* n:"BrtEndListCol", */ T:-1 }, -0x015D: { /* n:"BrtBeginListXmlCPr", */ T:1 }, -0x015E: { /* n:"BrtEndListXmlCPr", */ T:-1 }, -0x015F: { /* n:"BrtListCCFmla" */ }, -0x0160: { /* n:"BrtListTrFmla" */ }, -0x0161: { /* n:"BrtBeginExternals", */ T:1 }, -0x0162: { /* n:"BrtEndExternals", */ T:-1 }, -0x0163: { /* n:"BrtSupBookSrc", */ f:parse_RelID}, -0x0165: { /* n:"BrtSupSelf" */ }, -0x0166: { /* n:"BrtSupSame" */ }, -0x0167: { /* n:"BrtSupTabs" */ }, -0x0168: { /* n:"BrtBeginSupBook", */ T:1 }, -0x0169: { /* n:"BrtPlaceholderName" */ }, -0x016A: { /* n:"BrtExternSheet", */ f:parse_ExternSheet }, -0x016B: { /* n:"BrtExternTableStart" */ }, -0x016C: { /* n:"BrtExternTableEnd" */ }, -0x016E: { /* n:"BrtExternRowHdr" */ }, -0x016F: { /* n:"BrtExternCellBlank" */ }, -0x0170: { /* n:"BrtExternCellReal" */ }, -0x0171: { /* n:"BrtExternCellBool" */ }, -0x0172: { /* n:"BrtExternCellError" */ }, -0x0173: { /* n:"BrtExternCellString" */ }, -0x0174: { /* n:"BrtBeginEsmdx", */ T:1 }, -0x0175: { /* n:"BrtEndEsmdx", */ T:-1 }, -0x0176: { /* n:"BrtBeginMdxSet", */ T:1 }, -0x0177: { /* n:"BrtEndMdxSet", */ T:-1 }, -0x0178: { /* n:"BrtBeginMdxMbrProp", */ T:1 }, -0x0179: { /* n:"BrtEndMdxMbrProp", */ T:-1 }, -0x017A: { /* n:"BrtBeginMdxKPI", */ T:1 }, -0x017B: { /* n:"BrtEndMdxKPI", */ T:-1 }, -0x017C: { /* n:"BrtBeginEsstr", */ T:1 }, -0x017D: { /* n:"BrtEndEsstr", */ T:-1 }, -0x017E: { /* n:"BrtBeginPRFItem", */ T:1 }, -0x017F: { /* n:"BrtEndPRFItem", */ T:-1 }, -0x0180: { /* n:"BrtBeginPivotCacheIDs", */ T:1 }, -0x0181: { /* n:"BrtEndPivotCacheIDs", */ T:-1 }, -0x0182: { /* n:"BrtBeginPivotCacheID", */ T:1 }, -0x0183: { /* n:"BrtEndPivotCacheID", */ T:-1 }, -0x0184: { /* n:"BrtBeginISXVIs", */ T:1 }, -0x0185: { /* n:"BrtEndISXVIs", */ T:-1 }, -0x0186: { /* n:"BrtBeginColInfos", */ T:1 }, -0x0187: { /* n:"BrtEndColInfos", */ T:-1 }, -0x0188: { /* n:"BrtBeginRwBrk", */ T:1 }, -0x0189: { /* n:"BrtEndRwBrk", */ T:-1 }, -0x018A: { /* n:"BrtBeginColBrk", */ T:1 }, -0x018B: { /* n:"BrtEndColBrk", */ T:-1 }, -0x018C: { /* n:"BrtBrk" */ }, -0x018D: { /* n:"BrtUserBookView" */ }, -0x018E: { /* n:"BrtInfo" */ }, -0x018F: { /* n:"BrtCUsr" */ }, -0x0190: { /* n:"BrtUsr" */ }, -0x0191: { /* n:"BrtBeginUsers", */ T:1 }, -0x0193: { /* n:"BrtEOF" */ }, -0x0194: { /* n:"BrtUCR" */ }, -0x0195: { /* n:"BrtRRInsDel" */ }, -0x0196: { /* n:"BrtRREndInsDel" */ }, -0x0197: { /* n:"BrtRRMove" */ }, -0x0198: { /* n:"BrtRREndMove" */ }, -0x0199: { /* n:"BrtRRChgCell" */ }, -0x019A: { /* n:"BrtRREndChgCell" */ }, -0x019B: { /* n:"BrtRRHeader" */ }, -0x019C: { /* n:"BrtRRUserView" */ }, -0x019D: { /* n:"BrtRRRenSheet" */ }, -0x019E: { /* n:"BrtRRInsertSh" */ }, -0x019F: { /* n:"BrtRRDefName" */ }, -0x01A0: { /* n:"BrtRRNote" */ }, -0x01A1: { /* n:"BrtRRConflict" */ }, -0x01A2: { /* n:"BrtRRTQSIF" */ }, -0x01A3: { /* n:"BrtRRFormat" */ }, -0x01A4: { /* n:"BrtRREndFormat" */ }, -0x01A5: { /* n:"BrtRRAutoFmt" */ }, -0x01A6: { /* n:"BrtBeginUserShViews", */ T:1 }, -0x01A7: { /* n:"BrtBeginUserShView", */ T:1 }, -0x01A8: { /* n:"BrtEndUserShView", */ T:-1 }, -0x01A9: { /* n:"BrtEndUserShViews", */ T:-1 }, -0x01AA: { /* n:"BrtArrFmla", */ f:parse_BrtArrFmla }, -0x01AB: { /* n:"BrtShrFmla", */ f:parse_BrtShrFmla }, -0x01AC: { /* n:"BrtTable" */ }, -0x01AD: { /* n:"BrtBeginExtConnections", */ T:1 }, -0x01AE: { /* n:"BrtEndExtConnections", */ T:-1 }, -0x01AF: { /* n:"BrtBeginPCDCalcMems", */ T:1 }, -0x01B0: { /* n:"BrtEndPCDCalcMems", */ T:-1 }, -0x01B1: { /* n:"BrtBeginPCDCalcMem", */ T:1 }, -0x01B2: { /* n:"BrtEndPCDCalcMem", */ T:-1 }, -0x01B3: { /* n:"BrtBeginPCDHGLevels", */ T:1 }, -0x01B4: { /* n:"BrtEndPCDHGLevels", */ T:-1 }, -0x01B5: { /* n:"BrtBeginPCDHGLevel", */ T:1 }, -0x01B6: { /* n:"BrtEndPCDHGLevel", */ T:-1 }, -0x01B7: { /* n:"BrtBeginPCDHGLGroups", */ T:1 }, -0x01B8: { /* n:"BrtEndPCDHGLGroups", */ T:-1 }, -0x01B9: { /* n:"BrtBeginPCDHGLGroup", */ T:1 }, -0x01BA: { /* n:"BrtEndPCDHGLGroup", */ T:-1 }, -0x01BB: { /* n:"BrtBeginPCDHGLGMembers", */ T:1 }, -0x01BC: { /* n:"BrtEndPCDHGLGMembers", */ T:-1 }, -0x01BD: { /* n:"BrtBeginPCDHGLGMember", */ T:1 }, -0x01BE: { /* n:"BrtEndPCDHGLGMember", */ T:-1 }, -0x01BF: { /* n:"BrtBeginQSI", */ T:1 }, -0x01C0: { /* n:"BrtEndQSI", */ T:-1 }, -0x01C1: { /* n:"BrtBeginQSIR", */ T:1 }, -0x01C2: { /* n:"BrtEndQSIR", */ T:-1 }, -0x01C3: { /* n:"BrtBeginDeletedNames", */ T:1 }, -0x01C4: { /* n:"BrtEndDeletedNames", */ T:-1 }, -0x01C5: { /* n:"BrtBeginDeletedName", */ T:1 }, -0x01C6: { /* n:"BrtEndDeletedName", */ T:-1 }, -0x01C7: { /* n:"BrtBeginQSIFs", */ T:1 }, -0x01C8: { /* n:"BrtEndQSIFs", */ T:-1 }, -0x01C9: { /* n:"BrtBeginQSIF", */ T:1 }, -0x01CA: { /* n:"BrtEndQSIF", */ T:-1 }, -0x01CB: { /* n:"BrtBeginAutoSortScope", */ T:1 }, -0x01CC: { /* n:"BrtEndAutoSortScope", */ T:-1 }, -0x01CD: { /* n:"BrtBeginConditionalFormatting", */ T:1 }, -0x01CE: { /* n:"BrtEndConditionalFormatting", */ T:-1 }, -0x01CF: { /* n:"BrtBeginCFRule", */ T:1 }, -0x01D0: { /* n:"BrtEndCFRule", */ T:-1 }, -0x01D1: { /* n:"BrtBeginIconSet", */ T:1 }, -0x01D2: { /* n:"BrtEndIconSet", */ T:-1 }, -0x01D3: { /* n:"BrtBeginDatabar", */ T:1 }, -0x01D4: { /* n:"BrtEndDatabar", */ T:-1 }, -0x01D5: { /* n:"BrtBeginColorScale", */ T:1 }, -0x01D6: { /* n:"BrtEndColorScale", */ T:-1 }, -0x01D7: { /* n:"BrtCFVO" */ }, -0x01D8: { /* n:"BrtExternValueMeta" */ }, -0x01D9: { /* n:"BrtBeginColorPalette", */ T:1 }, -0x01DA: { /* n:"BrtEndColorPalette", */ T:-1 }, -0x01DB: { /* n:"BrtIndexedColor" */ }, -0x01DC: { /* n:"BrtMargins", */ f:parse_BrtMargins }, -0x01DD: { /* n:"BrtPrintOptions" */ }, -0x01DE: { /* n:"BrtPageSetup" */ }, -0x01DF: { /* n:"BrtBeginHeaderFooter", */ T:1 }, -0x01E0: { /* n:"BrtEndHeaderFooter", */ T:-1 }, -0x01E1: { /* n:"BrtBeginSXCrtFormat", */ T:1 }, -0x01E2: { /* n:"BrtEndSXCrtFormat", */ T:-1 }, -0x01E3: { /* n:"BrtBeginSXCrtFormats", */ T:1 }, -0x01E4: { /* n:"BrtEndSXCrtFormats", */ T:-1 }, -0x01E5: { /* n:"BrtWsFmtInfo", */ f:parse_BrtWsFmtInfo }, -0x01E6: { /* n:"BrtBeginMgs", */ T:1 }, -0x01E7: { /* n:"BrtEndMGs", */ T:-1 }, -0x01E8: { /* n:"BrtBeginMGMaps", */ T:1 }, -0x01E9: { /* n:"BrtEndMGMaps", */ T:-1 }, -0x01EA: { /* n:"BrtBeginMG", */ T:1 }, -0x01EB: { /* n:"BrtEndMG", */ T:-1 }, -0x01EC: { /* n:"BrtBeginMap", */ T:1 }, -0x01ED: { /* n:"BrtEndMap", */ T:-1 }, -0x01EE: { /* n:"BrtHLink", */ f:parse_BrtHLink }, -0x01EF: { /* n:"BrtBeginDCon", */ T:1 }, -0x01F0: { /* n:"BrtEndDCon", */ T:-1 }, -0x01F1: { /* n:"BrtBeginDRefs", */ T:1 }, -0x01F2: { /* n:"BrtEndDRefs", */ T:-1 }, -0x01F3: { /* n:"BrtDRef" */ }, -0x01F4: { /* n:"BrtBeginScenMan", */ T:1 }, -0x01F5: { /* n:"BrtEndScenMan", */ T:-1 }, -0x01F6: { /* n:"BrtBeginSct", */ T:1 }, -0x01F7: { /* n:"BrtEndSct", */ T:-1 }, -0x01F8: { /* n:"BrtSlc" */ }, -0x01F9: { /* n:"BrtBeginDXFs", */ T:1 }, -0x01FA: { /* n:"BrtEndDXFs", */ T:-1 }, -0x01FB: { /* n:"BrtDXF" */ }, -0x01FC: { /* n:"BrtBeginTableStyles", */ T:1 }, -0x01FD: { /* n:"BrtEndTableStyles", */ T:-1 }, -0x01FE: { /* n:"BrtBeginTableStyle", */ T:1 }, -0x01FF: { /* n:"BrtEndTableStyle", */ T:-1 }, -0x0200: { /* n:"BrtTableStyleElement" */ }, -0x0201: { /* n:"BrtTableStyleClient" */ }, -0x0202: { /* n:"BrtBeginVolDeps", */ T:1 }, -0x0203: { /* n:"BrtEndVolDeps", */ T:-1 }, -0x0204: { /* n:"BrtBeginVolType", */ T:1 }, -0x0205: { /* n:"BrtEndVolType", */ T:-1 }, -0x0206: { /* n:"BrtBeginVolMain", */ T:1 }, -0x0207: { /* n:"BrtEndVolMain", */ T:-1 }, -0x0208: { /* n:"BrtBeginVolTopic", */ T:1 }, -0x0209: { /* n:"BrtEndVolTopic", */ T:-1 }, -0x020A: { /* n:"BrtVolSubtopic" */ }, -0x020B: { /* n:"BrtVolRef" */ }, -0x020C: { /* n:"BrtVolNum" */ }, -0x020D: { /* n:"BrtVolErr" */ }, -0x020E: { /* n:"BrtVolStr" */ }, -0x020F: { /* n:"BrtVolBool" */ }, -0x0210: { /* n:"BrtBeginCalcChain$", */ T:1 }, -0x0211: { /* n:"BrtEndCalcChain$", */ T:-1 }, -0x0212: { /* n:"BrtBeginSortState", */ T:1 }, -0x0213: { /* n:"BrtEndSortState", */ T:-1 }, -0x0214: { /* n:"BrtBeginSortCond", */ T:1 }, -0x0215: { /* n:"BrtEndSortCond", */ T:-1 }, -0x0216: { /* n:"BrtBookProtection" */ }, -0x0217: { /* n:"BrtSheetProtection" */ }, -0x0218: { /* n:"BrtRangeProtection" */ }, -0x0219: { /* n:"BrtPhoneticInfo" */ }, -0x021A: { /* n:"BrtBeginECTxtWiz", */ T:1 }, -0x021B: { /* n:"BrtEndECTxtWiz", */ T:-1 }, -0x021C: { /* n:"BrtBeginECTWFldInfoLst", */ T:1 }, -0x021D: { /* n:"BrtEndECTWFldInfoLst", */ T:-1 }, -0x021E: { /* n:"BrtBeginECTwFldInfo", */ T:1 }, -0x0224: { /* n:"BrtFileSharing" */ }, -0x0225: { /* n:"BrtOleSize" */ }, -0x0226: { /* n:"BrtDrawing", */ f:parse_RelID }, -0x0227: { /* n:"BrtLegacyDrawing", */ f:parse_XLNullableWideString }, -0x0228: { /* n:"BrtLegacyDrawingHF" */ }, -0x0229: { /* n:"BrtWebOpt" */ }, -0x022A: { /* n:"BrtBeginWebPubItems", */ T:1 }, -0x022B: { /* n:"BrtEndWebPubItems", */ T:-1 }, -0x022C: { /* n:"BrtBeginWebPubItem", */ T:1 }, -0x022D: { /* n:"BrtEndWebPubItem", */ T:-1 }, -0x022E: { /* n:"BrtBeginSXCondFmt", */ T:1 }, -0x022F: { /* n:"BrtEndSXCondFmt", */ T:-1 }, -0x0230: { /* n:"BrtBeginSXCondFmts", */ T:1 }, -0x0231: { /* n:"BrtEndSXCondFmts", */ T:-1 }, -0x0232: { /* n:"BrtBkHim" */ }, -0x0234: { /* n:"BrtColor" */ }, -0x0235: { /* n:"BrtBeginIndexedColors", */ T:1 }, -0x0236: { /* n:"BrtEndIndexedColors", */ T:-1 }, -0x0239: { /* n:"BrtBeginMRUColors", */ T:1 }, -0x023A: { /* n:"BrtEndMRUColors", */ T:-1 }, -0x023C: { /* n:"BrtMRUColor" */ }, -0x023D: { /* n:"BrtBeginDVals", */ T:1 }, -0x023E: { /* n:"BrtEndDVals", */ T:-1 }, -0x0241: { /* n:"BrtSupNameStart" */ }, -0x0242: { /* n:"BrtSupNameValueStart" */ }, -0x0243: { /* n:"BrtSupNameValueEnd" */ }, -0x0244: { /* n:"BrtSupNameNum" */ }, -0x0245: { /* n:"BrtSupNameErr" */ }, -0x0246: { /* n:"BrtSupNameSt" */ }, -0x0247: { /* n:"BrtSupNameNil" */ }, -0x0248: { /* n:"BrtSupNameBool" */ }, -0x0249: { /* n:"BrtSupNameFmla" */ }, -0x024A: { /* n:"BrtSupNameBits" */ }, -0x024B: { /* n:"BrtSupNameEnd" */ }, -0x024C: { /* n:"BrtEndSupBook", */ T:-1 }, -0x024D: { /* n:"BrtCellSmartTagProperty" */ }, -0x024E: { /* n:"BrtBeginCellSmartTag", */ T:1 }, -0x024F: { /* n:"BrtEndCellSmartTag", */ T:-1 }, -0x0250: { /* n:"BrtBeginCellSmartTags", */ T:1 }, -0x0251: { /* n:"BrtEndCellSmartTags", */ T:-1 }, -0x0252: { /* n:"BrtBeginSmartTags", */ T:1 }, -0x0253: { /* n:"BrtEndSmartTags", */ T:-1 }, -0x0254: { /* n:"BrtSmartTagType" */ }, -0x0255: { /* n:"BrtBeginSmartTagTypes", */ T:1 }, -0x0256: { /* n:"BrtEndSmartTagTypes", */ T:-1 }, -0x0257: { /* n:"BrtBeginSXFilters", */ T:1 }, -0x0258: { /* n:"BrtEndSXFilters", */ T:-1 }, -0x0259: { /* n:"BrtBeginSXFILTER", */ T:1 }, -0x025A: { /* n:"BrtEndSXFilter", */ T:-1 }, -0x025B: { /* n:"BrtBeginFills", */ T:1 }, -0x025C: { /* n:"BrtEndFills", */ T:-1 }, -0x025D: { /* n:"BrtBeginCellWatches", */ T:1 }, -0x025E: { /* n:"BrtEndCellWatches", */ T:-1 }, -0x025F: { /* n:"BrtCellWatch" */ }, -0x0260: { /* n:"BrtBeginCRErrs", */ T:1 }, -0x0261: { /* n:"BrtEndCRErrs", */ T:-1 }, -0x0262: { /* n:"BrtCrashRecErr" */ }, -0x0263: { /* n:"BrtBeginFonts", */ T:1 }, -0x0264: { /* n:"BrtEndFonts", */ T:-1 }, -0x0265: { /* n:"BrtBeginBorders", */ T:1 }, -0x0266: { /* n:"BrtEndBorders", */ T:-1 }, -0x0267: { /* n:"BrtBeginFmts", */ T:1 }, -0x0268: { /* n:"BrtEndFmts", */ T:-1 }, -0x0269: { /* n:"BrtBeginCellXFs", */ T:1 }, -0x026A: { /* n:"BrtEndCellXFs", */ T:-1 }, -0x026B: { /* n:"BrtBeginStyles", */ T:1 }, -0x026C: { /* n:"BrtEndStyles", */ T:-1 }, -0x0271: { /* n:"BrtBigName" */ }, -0x0272: { /* n:"BrtBeginCellStyleXFs", */ T:1 }, -0x0273: { /* n:"BrtEndCellStyleXFs", */ T:-1 }, -0x0274: { /* n:"BrtBeginComments", */ T:1 }, -0x0275: { /* n:"BrtEndComments", */ T:-1 }, -0x0276: { /* n:"BrtBeginCommentAuthors", */ T:1 }, -0x0277: { /* n:"BrtEndCommentAuthors", */ T:-1 }, -0x0278: { /* n:"BrtCommentAuthor", */ f:parse_BrtCommentAuthor }, -0x0279: { /* n:"BrtBeginCommentList", */ T:1 }, -0x027A: { /* n:"BrtEndCommentList", */ T:-1 }, -0x027B: { /* n:"BrtBeginComment", */ T:1, f:parse_BrtBeginComment}, -0x027C: { /* n:"BrtEndComment", */ T:-1 }, -0x027D: { /* n:"BrtCommentText", */ f:parse_BrtCommentText }, -0x027E: { /* n:"BrtBeginOleObjects", */ T:1 }, -0x027F: { /* n:"BrtOleObject" */ }, -0x0280: { /* n:"BrtEndOleObjects", */ T:-1 }, -0x0281: { /* n:"BrtBeginSxrules", */ T:1 }, -0x0282: { /* n:"BrtEndSxRules", */ T:-1 }, -0x0283: { /* n:"BrtBeginActiveXControls", */ T:1 }, -0x0284: { /* n:"BrtActiveX" */ }, -0x0285: { /* n:"BrtEndActiveXControls", */ T:-1 }, -0x0286: { /* n:"BrtBeginPCDSDTCEMembersSortBy", */ T:1 }, -0x0288: { /* n:"BrtBeginCellIgnoreECs", */ T:1 }, -0x0289: { /* n:"BrtCellIgnoreEC" */ }, -0x028A: { /* n:"BrtEndCellIgnoreECs", */ T:-1 }, -0x028B: { /* n:"BrtCsProp", */ f:parse_BrtCsProp }, -0x028C: { /* n:"BrtCsPageSetup" */ }, -0x028D: { /* n:"BrtBeginUserCsViews", */ T:1 }, -0x028E: { /* n:"BrtEndUserCsViews", */ T:-1 }, -0x028F: { /* n:"BrtBeginUserCsView", */ T:1 }, -0x0290: { /* n:"BrtEndUserCsView", */ T:-1 }, -0x0291: { /* n:"BrtBeginPcdSFCIEntries", */ T:1 }, -0x0292: { /* n:"BrtEndPCDSFCIEntries", */ T:-1 }, -0x0293: { /* n:"BrtPCDSFCIEntry" */ }, -0x0294: { /* n:"BrtBeginListParts", */ T:1 }, -0x0295: { /* n:"BrtListPart" */ }, -0x0296: { /* n:"BrtEndListParts", */ T:-1 }, -0x0297: { /* n:"BrtSheetCalcProp" */ }, -0x0298: { /* n:"BrtBeginFnGroup", */ T:1 }, -0x0299: { /* n:"BrtFnGroup" */ }, -0x029A: { /* n:"BrtEndFnGroup", */ T:-1 }, -0x029B: { /* n:"BrtSupAddin" */ }, -0x029C: { /* n:"BrtSXTDMPOrder" */ }, -0x029D: { /* n:"BrtCsProtection" */ }, -0x029F: { /* n:"BrtBeginWsSortMap", */ T:1 }, -0x02A0: { /* n:"BrtEndWsSortMap", */ T:-1 }, -0x02A1: { /* n:"BrtBeginRRSort", */ T:1 }, -0x02A2: { /* n:"BrtEndRRSort", */ T:-1 }, -0x02A3: { /* n:"BrtRRSortItem" */ }, -0x02A4: { /* n:"BrtFileSharingIso" */ }, -0x02A5: { /* n:"BrtBookProtectionIso" */ }, -0x02A6: { /* n:"BrtSheetProtectionIso" */ }, -0x02A7: { /* n:"BrtCsProtectionIso" */ }, -0x02A8: { /* n:"BrtRangeProtectionIso" */ }, -0x02A9: { /* n:"BrtDValList" */ }, -0x0400: { /* n:"BrtRwDescent" */ }, -0x0401: { /* n:"BrtKnownFonts" */ }, -0x0402: { /* n:"BrtBeginSXTupleSet", */ T:1 }, -0x0403: { /* n:"BrtEndSXTupleSet", */ T:-1 }, -0x0404: { /* n:"BrtBeginSXTupleSetHeader", */ T:1 }, -0x0405: { /* n:"BrtEndSXTupleSetHeader", */ T:-1 }, -0x0406: { /* n:"BrtSXTupleSetHeaderItem" */ }, -0x0407: { /* n:"BrtBeginSXTupleSetData", */ T:1 }, -0x0408: { /* n:"BrtEndSXTupleSetData", */ T:-1 }, -0x0409: { /* n:"BrtBeginSXTupleSetRow", */ T:1 }, -0x040A: { /* n:"BrtEndSXTupleSetRow", */ T:-1 }, -0x040B: { /* n:"BrtSXTupleSetRowItem" */ }, -0x040C: { /* n:"BrtNameExt" */ }, -0x040D: { /* n:"BrtPCDH14" */ }, -0x040E: { /* n:"BrtBeginPCDCalcMem14", */ T:1 }, -0x040F: { /* n:"BrtEndPCDCalcMem14", */ T:-1 }, -0x0410: { /* n:"BrtSXTH14" */ }, -0x0411: { /* n:"BrtBeginSparklineGroup", */ T:1 }, -0x0412: { /* n:"BrtEndSparklineGroup", */ T:-1 }, -0x0413: { /* n:"BrtSparkline" */ }, -0x0414: { /* n:"BrtSXDI14" */ }, -0x0415: { /* n:"BrtWsFmtInfoEx14" */ }, -0x0416: { /* n:"BrtBeginConditionalFormatting14", */ T:1 }, -0x0417: { /* n:"BrtEndConditionalFormatting14", */ T:-1 }, -0x0418: { /* n:"BrtBeginCFRule14", */ T:1 }, -0x0419: { /* n:"BrtEndCFRule14", */ T:-1 }, -0x041A: { /* n:"BrtCFVO14" */ }, -0x041B: { /* n:"BrtBeginDatabar14", */ T:1 }, -0x041C: { /* n:"BrtBeginIconSet14", */ T:1 }, -0x041D: { /* n:"BrtDVal14", */ f: parse_BrtDVal14 }, -0x041E: { /* n:"BrtBeginDVals14", */ T:1 }, -0x041F: { /* n:"BrtColor14" */ }, -0x0420: { /* n:"BrtBeginSparklines", */ T:1 }, -0x0421: { /* n:"BrtEndSparklines", */ T:-1 }, -0x0422: { /* n:"BrtBeginSparklineGroups", */ T:1 }, -0x0423: { /* n:"BrtEndSparklineGroups", */ T:-1 }, -0x0425: { /* n:"BrtSXVD14" */ }, -0x0426: { /* n:"BrtBeginSXView14", */ T:1 }, -0x0427: { /* n:"BrtEndSXView14", */ T:-1 }, -0x0428: { /* n:"BrtBeginSXView16", */ T:1 }, -0x0429: { /* n:"BrtEndSXView16", */ T:-1 }, -0x042A: { /* n:"BrtBeginPCD14", */ T:1 }, -0x042B: { /* n:"BrtEndPCD14", */ T:-1 }, -0x042C: { /* n:"BrtBeginExtConn14", */ T:1 }, -0x042D: { /* n:"BrtEndExtConn14", */ T:-1 }, -0x042E: { /* n:"BrtBeginSlicerCacheIDs", */ T:1 }, -0x042F: { /* n:"BrtEndSlicerCacheIDs", */ T:-1 }, -0x0430: { /* n:"BrtBeginSlicerCacheID", */ T:1 }, -0x0431: { /* n:"BrtEndSlicerCacheID", */ T:-1 }, -0x0433: { /* n:"BrtBeginSlicerCache", */ T:1 }, -0x0434: { /* n:"BrtEndSlicerCache", */ T:-1 }, -0x0435: { /* n:"BrtBeginSlicerCacheDef", */ T:1 }, -0x0436: { /* n:"BrtEndSlicerCacheDef", */ T:-1 }, -0x0437: { /* n:"BrtBeginSlicersEx", */ T:1 }, -0x0438: { /* n:"BrtEndSlicersEx", */ T:-1 }, -0x0439: { /* n:"BrtBeginSlicerEx", */ T:1 }, -0x043A: { /* n:"BrtEndSlicerEx", */ T:-1 }, -0x043B: { /* n:"BrtBeginSlicer", */ T:1 }, -0x043C: { /* n:"BrtEndSlicer", */ T:-1 }, -0x043D: { /* n:"BrtSlicerCachePivotTables" */ }, -0x043E: { /* n:"BrtBeginSlicerCacheOlapImpl", */ T:1 }, -0x043F: { /* n:"BrtEndSlicerCacheOlapImpl", */ T:-1 }, -0x0440: { /* n:"BrtBeginSlicerCacheLevelsData", */ T:1 }, -0x0441: { /* n:"BrtEndSlicerCacheLevelsData", */ T:-1 }, -0x0442: { /* n:"BrtBeginSlicerCacheLevelData", */ T:1 }, -0x0443: { /* n:"BrtEndSlicerCacheLevelData", */ T:-1 }, -0x0444: { /* n:"BrtBeginSlicerCacheSiRanges", */ T:1 }, -0x0445: { /* n:"BrtEndSlicerCacheSiRanges", */ T:-1 }, -0x0446: { /* n:"BrtBeginSlicerCacheSiRange", */ T:1 }, -0x0447: { /* n:"BrtEndSlicerCacheSiRange", */ T:-1 }, -0x0448: { /* n:"BrtSlicerCacheOlapItem" */ }, -0x0449: { /* n:"BrtBeginSlicerCacheSelections", */ T:1 }, -0x044A: { /* n:"BrtSlicerCacheSelection" */ }, -0x044B: { /* n:"BrtEndSlicerCacheSelections", */ T:-1 }, -0x044C: { /* n:"BrtBeginSlicerCacheNative", */ T:1 }, -0x044D: { /* n:"BrtEndSlicerCacheNative", */ T:-1 }, -0x044E: { /* n:"BrtSlicerCacheNativeItem" */ }, -0x044F: { /* n:"BrtRangeProtection14" */ }, -0x0450: { /* n:"BrtRangeProtectionIso14" */ }, -0x0451: { /* n:"BrtCellIgnoreEC14" */ }, -0x0457: { /* n:"BrtList14" */ }, -0x0458: { /* n:"BrtCFIcon" */ }, -0x0459: { /* n:"BrtBeginSlicerCachesPivotCacheIDs", */ T:1 }, -0x045A: { /* n:"BrtEndSlicerCachesPivotCacheIDs", */ T:-1 }, -0x045B: { /* n:"BrtBeginSlicers", */ T:1 }, -0x045C: { /* n:"BrtEndSlicers", */ T:-1 }, -0x045D: { /* n:"BrtWbProp14" */ }, -0x045E: { /* n:"BrtBeginSXEdit", */ T:1 }, -0x045F: { /* n:"BrtEndSXEdit", */ T:-1 }, -0x0460: { /* n:"BrtBeginSXEdits", */ T:1 }, -0x0461: { /* n:"BrtEndSXEdits", */ T:-1 }, -0x0462: { /* n:"BrtBeginSXChange", */ T:1 }, -0x0463: { /* n:"BrtEndSXChange", */ T:-1 }, -0x0464: { /* n:"BrtBeginSXChanges", */ T:1 }, -0x0465: { /* n:"BrtEndSXChanges", */ T:-1 }, -0x0466: { /* n:"BrtSXTupleItems" */ }, -0x0468: { /* n:"BrtBeginSlicerStyle", */ T:1 }, -0x0469: { /* n:"BrtEndSlicerStyle", */ T:-1 }, -0x046A: { /* n:"BrtSlicerStyleElement" */ }, -0x046B: { /* n:"BrtBeginStyleSheetExt14", */ T:1 }, -0x046C: { /* n:"BrtEndStyleSheetExt14", */ T:-1 }, -0x046D: { /* n:"BrtBeginSlicerCachesPivotCacheID", */ T:1 }, -0x046E: { /* n:"BrtEndSlicerCachesPivotCacheID", */ T:-1 }, -0x046F: { /* n:"BrtBeginConditionalFormattings", */ T:1 }, -0x0470: { /* n:"BrtEndConditionalFormattings", */ T:-1 }, -0x0471: { /* n:"BrtBeginPCDCalcMemExt", */ T:1 }, -0x0472: { /* n:"BrtEndPCDCalcMemExt", */ T:-1 }, -0x0473: { /* n:"BrtBeginPCDCalcMemsExt", */ T:1 }, -0x0474: { /* n:"BrtEndPCDCalcMemsExt", */ T:-1 }, -0x0475: { /* n:"BrtPCDField14" */ }, -0x0476: { /* n:"BrtBeginSlicerStyles", */ T:1 }, -0x0477: { /* n:"BrtEndSlicerStyles", */ T:-1 }, -0x0478: { /* n:"BrtBeginSlicerStyleElements", */ T:1 }, -0x0479: { /* n:"BrtEndSlicerStyleElements", */ T:-1 }, -0x047A: { /* n:"BrtCFRuleExt" */ }, -0x047B: { /* n:"BrtBeginSXCondFmt14", */ T:1 }, -0x047C: { /* n:"BrtEndSXCondFmt14", */ T:-1 }, -0x047D: { /* n:"BrtBeginSXCondFmts14", */ T:1 }, -0x047E: { /* n:"BrtEndSXCondFmts14", */ T:-1 }, -0x0480: { /* n:"BrtBeginSortCond14", */ T:1 }, -0x0481: { /* n:"BrtEndSortCond14", */ T:-1 }, -0x0482: { /* n:"BrtEndDVals14", */ T:-1 }, -0x0483: { /* n:"BrtEndIconSet14", */ T:-1 }, -0x0484: { /* n:"BrtEndDatabar14", */ T:-1 }, -0x0485: { /* n:"BrtBeginColorScale14", */ T:1 }, -0x0486: { /* n:"BrtEndColorScale14", */ T:-1 }, -0x0487: { /* n:"BrtBeginSxrules14", */ T:1 }, -0x0488: { /* n:"BrtEndSxrules14", */ T:-1 }, -0x0489: { /* n:"BrtBeginPRule14", */ T:1 }, -0x048A: { /* n:"BrtEndPRule14", */ T:-1 }, -0x048B: { /* n:"BrtBeginPRFilters14", */ T:1 }, -0x048C: { /* n:"BrtEndPRFilters14", */ T:-1 }, -0x048D: { /* n:"BrtBeginPRFilter14", */ T:1 }, -0x048E: { /* n:"BrtEndPRFilter14", */ T:-1 }, -0x048F: { /* n:"BrtBeginPRFItem14", */ T:1 }, -0x0490: { /* n:"BrtEndPRFItem14", */ T:-1 }, -0x0491: { /* n:"BrtBeginCellIgnoreECs14", */ T:1 }, -0x0492: { /* n:"BrtEndCellIgnoreECs14", */ T:-1 }, -0x0493: { /* n:"BrtDxf14" */ }, -0x0494: { /* n:"BrtBeginDxF14s", */ T:1 }, -0x0495: { /* n:"BrtEndDxf14s", */ T:-1 }, -0x0499: { /* n:"BrtFilter14" */ }, -0x049A: { /* n:"BrtBeginCustomFilters14", */ T:1 }, -0x049C: { /* n:"BrtCustomFilter14" */ }, -0x049D: { /* n:"BrtIconFilter14" */ }, -0x049E: { /* n:"BrtPivotCacheConnectionName" */ }, -0x0800: { /* n:"BrtBeginDecoupledPivotCacheIDs", */ T:1 }, -0x0801: { /* n:"BrtEndDecoupledPivotCacheIDs", */ T:-1 }, -0x0802: { /* n:"BrtDecoupledPivotCacheID" */ }, -0x0803: { /* n:"BrtBeginPivotTableRefs", */ T:1 }, -0x0804: { /* n:"BrtEndPivotTableRefs", */ T:-1 }, -0x0805: { /* n:"BrtPivotTableRef" */ }, -0x0806: { /* n:"BrtSlicerCacheBookPivotTables" */ }, -0x0807: { /* n:"BrtBeginSxvcells", */ T:1 }, -0x0808: { /* n:"BrtEndSxvcells", */ T:-1 }, -0x0809: { /* n:"BrtBeginSxRow", */ T:1 }, -0x080A: { /* n:"BrtEndSxRow", */ T:-1 }, -0x080C: { /* n:"BrtPcdCalcMem15" */ }, -0x0813: { /* n:"BrtQsi15" */ }, -0x0814: { /* n:"BrtBeginWebExtensions", */ T:1 }, -0x0815: { /* n:"BrtEndWebExtensions", */ T:-1 }, -0x0816: { /* n:"BrtWebExtension" */ }, -0x0817: { /* n:"BrtAbsPath15" */ }, -0x0818: { /* n:"BrtBeginPivotTableUISettings", */ T:1 }, -0x0819: { /* n:"BrtEndPivotTableUISettings", */ T:-1 }, -0x081B: { /* n:"BrtTableSlicerCacheIDs" */ }, -0x081C: { /* n:"BrtTableSlicerCacheID" */ }, -0x081D: { /* n:"BrtBeginTableSlicerCache", */ T:1 }, -0x081E: { /* n:"BrtEndTableSlicerCache", */ T:-1 }, -0x081F: { /* n:"BrtSxFilter15" */ }, -0x0820: { /* n:"BrtBeginTimelineCachePivotCacheIDs", */ T:1 }, -0x0821: { /* n:"BrtEndTimelineCachePivotCacheIDs", */ T:-1 }, -0x0822: { /* n:"BrtTimelineCachePivotCacheID" */ }, -0x0823: { /* n:"BrtBeginTimelineCacheIDs", */ T:1 }, -0x0824: { /* n:"BrtEndTimelineCacheIDs", */ T:-1 }, -0x0825: { /* n:"BrtBeginTimelineCacheID", */ T:1 }, -0x0826: { /* n:"BrtEndTimelineCacheID", */ T:-1 }, -0x0827: { /* n:"BrtBeginTimelinesEx", */ T:1 }, -0x0828: { /* n:"BrtEndTimelinesEx", */ T:-1 }, -0x0829: { /* n:"BrtBeginTimelineEx", */ T:1 }, -0x082A: { /* n:"BrtEndTimelineEx", */ T:-1 }, -0x082B: { /* n:"BrtWorkBookPr15" */ }, -0x082C: { /* n:"BrtPCDH15" */ }, -0x082D: { /* n:"BrtBeginTimelineStyle", */ T:1 }, -0x082E: { /* n:"BrtEndTimelineStyle", */ T:-1 }, -0x082F: { /* n:"BrtTimelineStyleElement" */ }, -0x0830: { /* n:"BrtBeginTimelineStylesheetExt15", */ T:1 }, -0x0831: { /* n:"BrtEndTimelineStylesheetExt15", */ T:-1 }, -0x0832: { /* n:"BrtBeginTimelineStyles", */ T:1 }, -0x0833: { /* n:"BrtEndTimelineStyles", */ T:-1 }, -0x0834: { /* n:"BrtBeginTimelineStyleElements", */ T:1 }, -0x0835: { /* n:"BrtEndTimelineStyleElements", */ T:-1 }, -0x0836: { /* n:"BrtDxf15" */ }, -0x0837: { /* n:"BrtBeginDxfs15", */ T:1 }, -0x0838: { /* n:"BrtEndDxfs15", */ T:-1 }, -0x0839: { /* n:"BrtSlicerCacheHideItemsWithNoData" */ }, -0x083A: { /* n:"BrtBeginItemUniqueNames", */ T:1 }, -0x083B: { /* n:"BrtEndItemUniqueNames", */ T:-1 }, -0x083C: { /* n:"BrtItemUniqueName" */ }, -0x083D: { /* n:"BrtBeginExtConn15", */ T:1 }, -0x083E: { /* n:"BrtEndExtConn15", */ T:-1 }, -0x083F: { /* n:"BrtBeginOledbPr15", */ T:1 }, -0x0840: { /* n:"BrtEndOledbPr15", */ T:-1 }, -0x0841: { /* n:"BrtBeginDataFeedPr15", */ T:1 }, -0x0842: { /* n:"BrtEndDataFeedPr15", */ T:-1 }, -0x0843: { /* n:"BrtTextPr15" */ }, -0x0844: { /* n:"BrtRangePr15" */ }, -0x0845: { /* n:"BrtDbCommand15" */ }, -0x0846: { /* n:"BrtBeginDbTables15", */ T:1 }, -0x0847: { /* n:"BrtEndDbTables15", */ T:-1 }, -0x0848: { /* n:"BrtDbTable15" */ }, -0x0849: { /* n:"BrtBeginDataModel", */ T:1 }, -0x084A: { /* n:"BrtEndDataModel", */ T:-1 }, -0x084B: { /* n:"BrtBeginModelTables", */ T:1 }, -0x084C: { /* n:"BrtEndModelTables", */ T:-1 }, -0x084D: { /* n:"BrtModelTable" */ }, -0x084E: { /* n:"BrtBeginModelRelationships", */ T:1 }, -0x084F: { /* n:"BrtEndModelRelationships", */ T:-1 }, -0x0850: { /* n:"BrtModelRelationship" */ }, -0x0851: { /* n:"BrtBeginECTxtWiz15", */ T:1 }, -0x0852: { /* n:"BrtEndECTxtWiz15", */ T:-1 }, -0x0853: { /* n:"BrtBeginECTWFldInfoLst15", */ T:1 }, -0x0854: { /* n:"BrtEndECTWFldInfoLst15", */ T:-1 }, -0x0855: { /* n:"BrtBeginECTWFldInfo15", */ T:1 }, -0x0856: { /* n:"BrtFieldListActiveItem" */ }, -0x0857: { /* n:"BrtPivotCacheIdVersion" */ }, -0x0858: { /* n:"BrtSXDI15" */ }, -0x0859: { /* n:"BrtBeginModelTimeGroupings", */ T:1 }, -0x085A: { /* n:"BrtEndModelTimeGroupings", */ T:-1 }, -0x085B: { /* n:"BrtBeginModelTimeGrouping", */ T:1 }, -0x085C: { /* n:"BrtEndModelTimeGrouping", */ T:-1 }, -0x085D: { /* n:"BrtModelTimeGroupingCalcCol" */ }, -0x0C00: { /* n:"BrtUid" */ }, -0x0C01: { /* n:"BrtRevisionPtr" */ }, -0x1000: { /* n:"BrtBeginDynamicArrayPr", */ T:1 }, -0x1001: { /* n:"BrtEndDynamicArrayPr", */ T:-1 }, -0x138A: { /* n:"BrtBeginRichValueBlock", */ T:1 }, -0x138B: { /* n:"BrtEndRichValueBlock", */ T:-1 }, -0x13D9: { /* n:"BrtBeginRichFilters", */ T:1 }, -0x13DA: { /* n:"BrtEndRichFilters", */ T:-1 }, -0x13DB: { /* n:"BrtRichFilter" */ }, -0x13DC: { /* n:"BrtBeginRichFilterColumn", */ T:1 }, -0x13DD: { /* n:"BrtEndRichFilterColumn", */ T:-1 }, -0x13DE: { /* n:"BrtBeginCustomRichFilters", */ T:1 }, -0x13DF: { /* n:"BrtEndCustomRichFilters", */ T:-1 }, -0x13E0: { /* n:"BrtCustomRichFilter" */ }, -0x13E1: { /* n:"BrtTop10RichFilter" */ }, -0x13E2: { /* n:"BrtDynamicRichFilter" */ }, -0x13E4: { /* n:"BrtBeginRichSortCondition", */ T:1 }, -0x13E5: { /* n:"BrtEndRichSortCondition", */ T:-1 }, -0x13E6: { /* n:"BrtRichFilterDateGroupItem" */ }, -0x13E7: { /* n:"BrtBeginCalcFeatures", */ T:1 }, -0x13E8: { /* n:"BrtEndCalcFeatures", */ T:-1 }, -0x13E9: { /* n:"BrtCalcFeature" */ }, -0x13EB: { /* n:"BrtExternalLinksPr" */ }, -0xFFFF: { n:"" } + 0x0000: { /* n:"BrtRowHdr", */ f:parse_BrtRowHdr }, + 0x0001: { /* n:"BrtCellBlank", */ f:parse_BrtCellBlank }, + 0x0002: { /* n:"BrtCellRk", */ f:parse_BrtCellRk }, + 0x0003: { /* n:"BrtCellError", */ f:parse_BrtCellError }, + 0x0004: { /* n:"BrtCellBool", */ f:parse_BrtCellBool }, + 0x0005: { /* n:"BrtCellReal", */ f:parse_BrtCellReal }, + 0x0006: { /* n:"BrtCellSt", */ f:parse_BrtCellSt }, + 0x0007: { /* n:"BrtCellIsst", */ f:parse_BrtCellIsst }, + 0x0008: { /* n:"BrtFmlaString", */ f:parse_BrtFmlaString }, + 0x0009: { /* n:"BrtFmlaNum", */ f:parse_BrtFmlaNum }, + 0x000A: { /* n:"BrtFmlaBool", */ f:parse_BrtFmlaBool }, + 0x000B: { /* n:"BrtFmlaError", */ f:parse_BrtFmlaError }, + 0x000C: { /* n:"BrtShortBlank", */ f:parse_BrtShortBlank }, + 0x000D: { /* n:"BrtShortRk", */ f:parse_BrtShortRk }, + 0x000E: { /* n:"BrtShortError", */ f:parse_BrtShortError }, + 0x000F: { /* n:"BrtShortBool", */ f:parse_BrtShortBool }, + 0x0010: { /* n:"BrtShortReal", */ f:parse_BrtShortReal }, + 0x0011: { /* n:"BrtShortSt", */ f:parse_BrtShortSt }, + 0x0012: { /* n:"BrtShortIsst", */ f:parse_BrtShortIsst }, + 0x0013: { /* n:"BrtSSTItem", */ f:parse_RichStr }, + 0x0014: { /* n:"BrtPCDIMissing" */ }, + 0x0015: { /* n:"BrtPCDINumber" */ }, + 0x0016: { /* n:"BrtPCDIBoolean" */ }, + 0x0017: { /* n:"BrtPCDIError" */ }, + 0x0018: { /* n:"BrtPCDIString" */ }, + 0x0019: { /* n:"BrtPCDIDatetime" */ }, + 0x001A: { /* n:"BrtPCDIIndex" */ }, + 0x001B: { /* n:"BrtPCDIAMissing" */ }, + 0x001C: { /* n:"BrtPCDIANumber" */ }, + 0x001D: { /* n:"BrtPCDIABoolean" */ }, + 0x001E: { /* n:"BrtPCDIAError" */ }, + 0x001F: { /* n:"BrtPCDIAString" */ }, + 0x0020: { /* n:"BrtPCDIADatetime" */ }, + 0x0021: { /* n:"BrtPCRRecord" */ }, + 0x0022: { /* n:"BrtPCRRecordDt" */ }, + 0x0023: { /* n:"BrtFRTBegin", */ T:1 }, + 0x0024: { /* n:"BrtFRTEnd", */ T:-1 }, + 0x0025: { /* n:"BrtACBegin", */ T:1 }, + 0x0026: { /* n:"BrtACEnd", */ T:-1 }, + 0x0027: { /* n:"BrtName", */ f:parse_BrtName }, + 0x0028: { /* n:"BrtIndexRowBlock" */ }, + 0x002A: { /* n:"BrtIndexBlock" */ }, + 0x002B: { /* n:"BrtFont", */ f:parse_BrtFont }, + 0x002C: { /* n:"BrtFmt", */ f:parse_BrtFmt }, + 0x002D: { /* n:"BrtFill", */ f:parse_BrtFill }, + 0x002E: { /* n:"BrtBorder", */ f:parse_BrtBorder }, + 0x002F: { /* n:"BrtXF", */ f:parse_BrtXF }, + 0x0030: { /* n:"BrtStyle" */ }, + 0x0031: { /* n:"BrtCellMeta", */ f:parse_Int32LE }, + 0x0032: { /* n:"BrtValueMeta" */ }, + 0x0033: { /* n:"BrtMdb" */ f:parse_BrtMdb }, + 0x0034: { /* n:"BrtBeginFmd", */ T:1 }, + 0x0035: { /* n:"BrtEndFmd", */ T:-1 }, + 0x0036: { /* n:"BrtBeginMdx", */ T:1 }, + 0x0037: { /* n:"BrtEndMdx", */ T:-1 }, + 0x0038: { /* n:"BrtBeginMdxTuple", */ T:1 }, + 0x0039: { /* n:"BrtEndMdxTuple", */ T:-1 }, + 0x003A: { /* n:"BrtMdxMbrIstr" */ }, + 0x003B: { /* n:"BrtStr" */ }, + 0x003C: { /* n:"BrtColInfo", */ f:parse_ColInfo }, + 0x003E: { /* n:"BrtCellRString", */ f:parse_BrtCellRString }, + 0x003F: { /* n:"BrtCalcChainItem$", */ f:parse_BrtCalcChainItem$ }, + 0x0040: { /* n:"BrtDVal", */ f:parse_BrtDVal }, + 0x0041: { /* n:"BrtSxvcellNum" */ }, + 0x0042: { /* n:"BrtSxvcellStr" */ }, + 0x0043: { /* n:"BrtSxvcellBool" */ }, + 0x0044: { /* n:"BrtSxvcellErr" */ }, + 0x0045: { /* n:"BrtSxvcellDate" */ }, + 0x0046: { /* n:"BrtSxvcellNil" */ }, + 0x0080: { /* n:"BrtFileVersion" */ }, + 0x0081: { /* n:"BrtBeginSheet", */ T:1 }, + 0x0082: { /* n:"BrtEndSheet", */ T:-1 }, + 0x0083: { /* n:"BrtBeginBook", */ T:1, f:parsenoop, p:0 }, + 0x0084: { /* n:"BrtEndBook", */ T:-1 }, + 0x0085: { /* n:"BrtBeginWsViews", */ T:1 }, + 0x0086: { /* n:"BrtEndWsViews", */ T:-1 }, + 0x0087: { /* n:"BrtBeginBookViews", */ T:1 }, + 0x0088: { /* n:"BrtEndBookViews", */ T:-1 }, + 0x0089: { /* n:"BrtBeginWsView", */ T:1, f:parse_BrtBeginWsView }, + 0x008A: { /* n:"BrtEndWsView", */ T:-1 }, + 0x008B: { /* n:"BrtBeginCsViews", */ T:1 }, + 0x008C: { /* n:"BrtEndCsViews", */ T:-1 }, + 0x008D: { /* n:"BrtBeginCsView", */ T:1 }, + 0x008E: { /* n:"BrtEndCsView", */ T:-1 }, + 0x008F: { /* n:"BrtBeginBundleShs", */ T:1 }, + 0x0090: { /* n:"BrtEndBundleShs", */ T:-1 }, + 0x0091: { /* n:"BrtBeginSheetData", */ T:1 }, + 0x0092: { /* n:"BrtEndSheetData", */ T:-1 }, + 0x0093: { /* n:"BrtWsProp", */ f:parse_BrtWsProp }, + 0x0094: { /* n:"BrtWsDim", */ f:parse_BrtWsDim, p:16 }, + 0x0097: { /* n:"BrtPane", */ f:parse_BrtPane }, + 0x0098: { /* n:"BrtSel" */ }, + 0x0099: { /* n:"BrtWbProp", */ f:parse_BrtWbProp }, + 0x009A: { /* n:"BrtWbFactoid" */ }, + 0x009B: { /* n:"BrtFileRecover" */ }, + 0x009C: { /* n:"BrtBundleSh", */ f:parse_BrtBundleSh }, + 0x009D: { /* n:"BrtCalcProp" */ }, + 0x009E: { /* n:"BrtBookView" */ }, + 0x009F: { /* n:"BrtBeginSst", */ T:1, f:parse_BrtBeginSst }, + 0x00A0: { /* n:"BrtEndSst", */ T:-1 }, + 0x00A1: { /* n:"BrtBeginAFilter", */ T:1, f:parse_UncheckedRfX }, + 0x00A2: { /* n:"BrtEndAFilter", */ T:-1 }, + 0x00A3: { /* n:"BrtBeginFilterColumn", */ T:1 }, + 0x00A4: { /* n:"BrtEndFilterColumn", */ T:-1 }, + 0x00A5: { /* n:"BrtBeginFilters", */ T:1 }, + 0x00A6: { /* n:"BrtEndFilters", */ T:-1 }, + 0x00A7: { /* n:"BrtFilter" */ }, + 0x00A8: { /* n:"BrtColorFilter" */ }, + 0x00A9: { /* n:"BrtIconFilter" */ }, + 0x00AA: { /* n:"BrtTop10Filter" */ }, + 0x00AB: { /* n:"BrtDynamicFilter" */ }, + 0x00AC: { /* n:"BrtBeginCustomFilters", */ T:1 }, + 0x00AD: { /* n:"BrtEndCustomFilters", */ T:-1 }, + 0x00AE: { /* n:"BrtCustomFilter" */ }, + 0x00AF: { /* n:"BrtAFilterDateGroupItem" */ }, + 0x00B0: { /* n:"BrtMergeCell", */ f:parse_BrtMergeCell }, + 0x00B1: { /* n:"BrtBeginMergeCells", */ T:1 }, + 0x00B2: { /* n:"BrtEndMergeCells", */ T:-1 }, + 0x00B3: { /* n:"BrtBeginPivotCacheDef", */ T:1 }, + 0x00B4: { /* n:"BrtEndPivotCacheDef", */ T:-1 }, + 0x00B5: { /* n:"BrtBeginPCDFields", */ T:1 }, + 0x00B6: { /* n:"BrtEndPCDFields", */ T:-1 }, + 0x00B7: { /* n:"BrtBeginPCDField", */ T:1 }, + 0x00B8: { /* n:"BrtEndPCDField", */ T:-1 }, + 0x00B9: { /* n:"BrtBeginPCDSource", */ T:1 }, + 0x00BA: { /* n:"BrtEndPCDSource", */ T:-1 }, + 0x00BB: { /* n:"BrtBeginPCDSRange", */ T:1 }, + 0x00BC: { /* n:"BrtEndPCDSRange", */ T:-1 }, + 0x00BD: { /* n:"BrtBeginPCDFAtbl", */ T:1 }, + 0x00BE: { /* n:"BrtEndPCDFAtbl", */ T:-1 }, + 0x00BF: { /* n:"BrtBeginPCDIRun", */ T:1 }, + 0x00C0: { /* n:"BrtEndPCDIRun", */ T:-1 }, + 0x00C1: { /* n:"BrtBeginPivotCacheRecords", */ T:1 }, + 0x00C2: { /* n:"BrtEndPivotCacheRecords", */ T:-1 }, + 0x00C3: { /* n:"BrtBeginPCDHierarchies", */ T:1 }, + 0x00C4: { /* n:"BrtEndPCDHierarchies", */ T:-1 }, + 0x00C5: { /* n:"BrtBeginPCDHierarchy", */ T:1 }, + 0x00C6: { /* n:"BrtEndPCDHierarchy", */ T:-1 }, + 0x00C7: { /* n:"BrtBeginPCDHFieldsUsage", */ T:1 }, + 0x00C8: { /* n:"BrtEndPCDHFieldsUsage", */ T:-1 }, + 0x00C9: { /* n:"BrtBeginExtConnection", */ T:1 }, + 0x00CA: { /* n:"BrtEndExtConnection", */ T:-1 }, + 0x00CB: { /* n:"BrtBeginECDbProps", */ T:1 }, + 0x00CC: { /* n:"BrtEndECDbProps", */ T:-1 }, + 0x00CD: { /* n:"BrtBeginECOlapProps", */ T:1 }, + 0x00CE: { /* n:"BrtEndECOlapProps", */ T:-1 }, + 0x00CF: { /* n:"BrtBeginPCDSConsol", */ T:1 }, + 0x00D0: { /* n:"BrtEndPCDSConsol", */ T:-1 }, + 0x00D1: { /* n:"BrtBeginPCDSCPages", */ T:1 }, + 0x00D2: { /* n:"BrtEndPCDSCPages", */ T:-1 }, + 0x00D3: { /* n:"BrtBeginPCDSCPage", */ T:1 }, + 0x00D4: { /* n:"BrtEndPCDSCPage", */ T:-1 }, + 0x00D5: { /* n:"BrtBeginPCDSCPItem", */ T:1 }, + 0x00D6: { /* n:"BrtEndPCDSCPItem", */ T:-1 }, + 0x00D7: { /* n:"BrtBeginPCDSCSets", */ T:1 }, + 0x00D8: { /* n:"BrtEndPCDSCSets", */ T:-1 }, + 0x00D9: { /* n:"BrtBeginPCDSCSet", */ T:1 }, + 0x00DA: { /* n:"BrtEndPCDSCSet", */ T:-1 }, + 0x00DB: { /* n:"BrtBeginPCDFGroup", */ T:1 }, + 0x00DC: { /* n:"BrtEndPCDFGroup", */ T:-1 }, + 0x00DD: { /* n:"BrtBeginPCDFGItems", */ T:1 }, + 0x00DE: { /* n:"BrtEndPCDFGItems", */ T:-1 }, + 0x00DF: { /* n:"BrtBeginPCDFGRange", */ T:1 }, + 0x00E0: { /* n:"BrtEndPCDFGRange", */ T:-1 }, + 0x00E1: { /* n:"BrtBeginPCDFGDiscrete", */ T:1 }, + 0x00E2: { /* n:"BrtEndPCDFGDiscrete", */ T:-1 }, + 0x00E3: { /* n:"BrtBeginPCDSDTupleCache", */ T:1 }, + 0x00E4: { /* n:"BrtEndPCDSDTupleCache", */ T:-1 }, + 0x00E5: { /* n:"BrtBeginPCDSDTCEntries", */ T:1 }, + 0x00E6: { /* n:"BrtEndPCDSDTCEntries", */ T:-1 }, + 0x00E7: { /* n:"BrtBeginPCDSDTCEMembers", */ T:1 }, + 0x00E8: { /* n:"BrtEndPCDSDTCEMembers", */ T:-1 }, + 0x00E9: { /* n:"BrtBeginPCDSDTCEMember", */ T:1 }, + 0x00EA: { /* n:"BrtEndPCDSDTCEMember", */ T:-1 }, + 0x00EB: { /* n:"BrtBeginPCDSDTCQueries", */ T:1 }, + 0x00EC: { /* n:"BrtEndPCDSDTCQueries", */ T:-1 }, + 0x00ED: { /* n:"BrtBeginPCDSDTCQuery", */ T:1 }, + 0x00EE: { /* n:"BrtEndPCDSDTCQuery", */ T:-1 }, + 0x00EF: { /* n:"BrtBeginPCDSDTCSets", */ T:1 }, + 0x00F0: { /* n:"BrtEndPCDSDTCSets", */ T:-1 }, + 0x00F1: { /* n:"BrtBeginPCDSDTCSet", */ T:1 }, + 0x00F2: { /* n:"BrtEndPCDSDTCSet", */ T:-1 }, + 0x00F3: { /* n:"BrtBeginPCDCalcItems", */ T:1 }, + 0x00F4: { /* n:"BrtEndPCDCalcItems", */ T:-1 }, + 0x00F5: { /* n:"BrtBeginPCDCalcItem", */ T:1 }, + 0x00F6: { /* n:"BrtEndPCDCalcItem", */ T:-1 }, + 0x00F7: { /* n:"BrtBeginPRule", */ T:1 }, + 0x00F8: { /* n:"BrtEndPRule", */ T:-1 }, + 0x00F9: { /* n:"BrtBeginPRFilters", */ T:1 }, + 0x00FA: { /* n:"BrtEndPRFilters", */ T:-1 }, + 0x00FB: { /* n:"BrtBeginPRFilter", */ T:1 }, + 0x00FC: { /* n:"BrtEndPRFilter", */ T:-1 }, + 0x00FD: { /* n:"BrtBeginPNames", */ T:1 }, + 0x00FE: { /* n:"BrtEndPNames", */ T:-1 }, + 0x00FF: { /* n:"BrtBeginPName", */ T:1 }, + 0x0100: { /* n:"BrtEndPName", */ T:-1 }, + 0x0101: { /* n:"BrtBeginPNPairs", */ T:1 }, + 0x0102: { /* n:"BrtEndPNPairs", */ T:-1 }, + 0x0103: { /* n:"BrtBeginPNPair", */ T:1 }, + 0x0104: { /* n:"BrtEndPNPair", */ T:-1 }, + 0x0105: { /* n:"BrtBeginECWebProps", */ T:1 }, + 0x0106: { /* n:"BrtEndECWebProps", */ T:-1 }, + 0x0107: { /* n:"BrtBeginEcWpTables", */ T:1 }, + 0x0108: { /* n:"BrtEndECWPTables", */ T:-1 }, + 0x0109: { /* n:"BrtBeginECParams", */ T:1 }, + 0x010A: { /* n:"BrtEndECParams", */ T:-1 }, + 0x010B: { /* n:"BrtBeginECParam", */ T:1 }, + 0x010C: { /* n:"BrtEndECParam", */ T:-1 }, + 0x010D: { /* n:"BrtBeginPCDKPIs", */ T:1 }, + 0x010E: { /* n:"BrtEndPCDKPIs", */ T:-1 }, + 0x010F: { /* n:"BrtBeginPCDKPI", */ T:1 }, + 0x0110: { /* n:"BrtEndPCDKPI", */ T:-1 }, + 0x0111: { /* n:"BrtBeginDims", */ T:1 }, + 0x0112: { /* n:"BrtEndDims", */ T:-1 }, + 0x0113: { /* n:"BrtBeginDim", */ T:1 }, + 0x0114: { /* n:"BrtEndDim", */ T:-1 }, + 0x0115: { /* n:"BrtIndexPartEnd" */ }, + 0x0116: { /* n:"BrtBeginStyleSheet", */ T:1 }, + 0x0117: { /* n:"BrtEndStyleSheet", */ T:-1 }, + 0x0118: { /* n:"BrtBeginSXView", */ T:1 }, + 0x0119: { /* n:"BrtEndSXVI", */ T:-1 }, + 0x011A: { /* n:"BrtBeginSXVI", */ T:1 }, + 0x011B: { /* n:"BrtBeginSXVIs", */ T:1 }, + 0x011C: { /* n:"BrtEndSXVIs", */ T:-1 }, + 0x011D: { /* n:"BrtBeginSXVD", */ T:1 }, + 0x011E: { /* n:"BrtEndSXVD", */ T:-1 }, + 0x011F: { /* n:"BrtBeginSXVDs", */ T:1 }, + 0x0120: { /* n:"BrtEndSXVDs", */ T:-1 }, + 0x0121: { /* n:"BrtBeginSXPI", */ T:1 }, + 0x0122: { /* n:"BrtEndSXPI", */ T:-1 }, + 0x0123: { /* n:"BrtBeginSXPIs", */ T:1 }, + 0x0124: { /* n:"BrtEndSXPIs", */ T:-1 }, + 0x0125: { /* n:"BrtBeginSXDI", */ T:1 }, + 0x0126: { /* n:"BrtEndSXDI", */ T:-1 }, + 0x0127: { /* n:"BrtBeginSXDIs", */ T:1 }, + 0x0128: { /* n:"BrtEndSXDIs", */ T:-1 }, + 0x0129: { /* n:"BrtBeginSXLI", */ T:1 }, + 0x012A: { /* n:"BrtEndSXLI", */ T:-1 }, + 0x012B: { /* n:"BrtBeginSXLIRws", */ T:1 }, + 0x012C: { /* n:"BrtEndSXLIRws", */ T:-1 }, + 0x012D: { /* n:"BrtBeginSXLICols", */ T:1 }, + 0x012E: { /* n:"BrtEndSXLICols", */ T:-1 }, + 0x012F: { /* n:"BrtBeginSXFormat", */ T:1 }, + 0x0130: { /* n:"BrtEndSXFormat", */ T:-1 }, + 0x0131: { /* n:"BrtBeginSXFormats", */ T:1 }, + 0x0132: { /* n:"BrtEndSxFormats", */ T:-1 }, + 0x0133: { /* n:"BrtBeginSxSelect", */ T:1 }, + 0x0134: { /* n:"BrtEndSxSelect", */ T:-1 }, + 0x0135: { /* n:"BrtBeginISXVDRws", */ T:1 }, + 0x0136: { /* n:"BrtEndISXVDRws", */ T:-1 }, + 0x0137: { /* n:"BrtBeginISXVDCols", */ T:1 }, + 0x0138: { /* n:"BrtEndISXVDCols", */ T:-1 }, + 0x0139: { /* n:"BrtEndSXLocation", */ T:-1 }, + 0x013A: { /* n:"BrtBeginSXLocation", */ T:1 }, + 0x013B: { /* n:"BrtEndSXView", */ T:-1 }, + 0x013C: { /* n:"BrtBeginSXTHs", */ T:1 }, + 0x013D: { /* n:"BrtEndSXTHs", */ T:-1 }, + 0x013E: { /* n:"BrtBeginSXTH", */ T:1 }, + 0x013F: { /* n:"BrtEndSXTH", */ T:-1 }, + 0x0140: { /* n:"BrtBeginISXTHRws", */ T:1 }, + 0x0141: { /* n:"BrtEndISXTHRws", */ T:-1 }, + 0x0142: { /* n:"BrtBeginISXTHCols", */ T:1 }, + 0x0143: { /* n:"BrtEndISXTHCols", */ T:-1 }, + 0x0144: { /* n:"BrtBeginSXTDMPS", */ T:1 }, + 0x0145: { /* n:"BrtEndSXTDMPs", */ T:-1 }, + 0x0146: { /* n:"BrtBeginSXTDMP", */ T:1 }, + 0x0147: { /* n:"BrtEndSXTDMP", */ T:-1 }, + 0x0148: { /* n:"BrtBeginSXTHItems", */ T:1 }, + 0x0149: { /* n:"BrtEndSXTHItems", */ T:-1 }, + 0x014A: { /* n:"BrtBeginSXTHItem", */ T:1 }, + 0x014B: { /* n:"BrtEndSXTHItem", */ T:-1 }, + 0x014C: { /* n:"BrtBeginMetadata", */ T:1 }, + 0x014D: { /* n:"BrtEndMetadata", */ T:-1 }, + 0x014E: { /* n:"BrtBeginEsmdtinfo", */ T:1 }, + 0x014F: { /* n:"BrtMdtinfo", */ f:parse_BrtMdtinfo }, + 0x0150: { /* n:"BrtEndEsmdtinfo", */ T:-1 }, + 0x0151: { /* n:"BrtBeginEsmdb", */ f:parse_BrtBeginEsmdb, T:1 }, + 0x0152: { /* n:"BrtEndEsmdb", */ T:-1 }, + 0x0153: { /* n:"BrtBeginEsfmd", */ T:1 }, + 0x0154: { /* n:"BrtEndEsfmd", */ T:-1 }, + 0x0155: { /* n:"BrtBeginSingleCells", */ T:1 }, + 0x0156: { /* n:"BrtEndSingleCells", */ T:-1 }, + 0x0157: { /* n:"BrtBeginList", */ T:1 }, + 0x0158: { /* n:"BrtEndList", */ T:-1 }, + 0x0159: { /* n:"BrtBeginListCols", */ T:1 }, + 0x015A: { /* n:"BrtEndListCols", */ T:-1 }, + 0x015B: { /* n:"BrtBeginListCol", */ T:1 }, + 0x015C: { /* n:"BrtEndListCol", */ T:-1 }, + 0x015D: { /* n:"BrtBeginListXmlCPr", */ T:1 }, + 0x015E: { /* n:"BrtEndListXmlCPr", */ T:-1 }, + 0x015F: { /* n:"BrtListCCFmla" */ }, + 0x0160: { /* n:"BrtListTrFmla" */ }, + 0x0161: { /* n:"BrtBeginExternals", */ T:1 }, + 0x0162: { /* n:"BrtEndExternals", */ T:-1 }, + 0x0163: { /* n:"BrtSupBookSrc", */ f:parse_RelID}, + 0x0165: { /* n:"BrtSupSelf" */ }, + 0x0166: { /* n:"BrtSupSame" */ }, + 0x0167: { /* n:"BrtSupTabs" */ }, + 0x0168: { /* n:"BrtBeginSupBook", */ T:1 }, + 0x0169: { /* n:"BrtPlaceholderName" */ }, + 0x016A: { /* n:"BrtExternSheet", */ f:parse_ExternSheet }, + 0x016B: { /* n:"BrtExternTableStart" */ }, + 0x016C: { /* n:"BrtExternTableEnd" */ }, + 0x016E: { /* n:"BrtExternRowHdr" */ }, + 0x016F: { /* n:"BrtExternCellBlank" */ }, + 0x0170: { /* n:"BrtExternCellReal" */ }, + 0x0171: { /* n:"BrtExternCellBool" */ }, + 0x0172: { /* n:"BrtExternCellError" */ }, + 0x0173: { /* n:"BrtExternCellString" */ }, + 0x0174: { /* n:"BrtBeginEsmdx", */ T:1 }, + 0x0175: { /* n:"BrtEndEsmdx", */ T:-1 }, + 0x0176: { /* n:"BrtBeginMdxSet", */ T:1 }, + 0x0177: { /* n:"BrtEndMdxSet", */ T:-1 }, + 0x0178: { /* n:"BrtBeginMdxMbrProp", */ T:1 }, + 0x0179: { /* n:"BrtEndMdxMbrProp", */ T:-1 }, + 0x017A: { /* n:"BrtBeginMdxKPI", */ T:1 }, + 0x017B: { /* n:"BrtEndMdxKPI", */ T:-1 }, + 0x017C: { /* n:"BrtBeginEsstr", */ T:1 }, + 0x017D: { /* n:"BrtEndEsstr", */ T:-1 }, + 0x017E: { /* n:"BrtBeginPRFItem", */ T:1 }, + 0x017F: { /* n:"BrtEndPRFItem", */ T:-1 }, + 0x0180: { /* n:"BrtBeginPivotCacheIDs", */ T:1 }, + 0x0181: { /* n:"BrtEndPivotCacheIDs", */ T:-1 }, + 0x0182: { /* n:"BrtBeginPivotCacheID", */ T:1 }, + 0x0183: { /* n:"BrtEndPivotCacheID", */ T:-1 }, + 0x0184: { /* n:"BrtBeginISXVIs", */ T:1 }, + 0x0185: { /* n:"BrtEndISXVIs", */ T:-1 }, + 0x0186: { /* n:"BrtBeginColInfos", */ T:1 }, + 0x0187: { /* n:"BrtEndColInfos", */ T:-1 }, + 0x0188: { /* n:"BrtBeginRwBrk", */ T:1 }, + 0x0189: { /* n:"BrtEndRwBrk", */ T:-1 }, + 0x018A: { /* n:"BrtBeginColBrk", */ T:1 }, + 0x018B: { /* n:"BrtEndColBrk", */ T:-1 }, + 0x018C: { /* n:"BrtBrk" */ }, + 0x018D: { /* n:"BrtUserBookView" */ }, + 0x018E: { /* n:"BrtInfo" */ }, + 0x018F: { /* n:"BrtCUsr" */ }, + 0x0190: { /* n:"BrtUsr" */ }, + 0x0191: { /* n:"BrtBeginUsers", */ T:1 }, + 0x0193: { /* n:"BrtEOF" */ }, + 0x0194: { /* n:"BrtUCR" */ }, + 0x0195: { /* n:"BrtRRInsDel" */ }, + 0x0196: { /* n:"BrtRREndInsDel" */ }, + 0x0197: { /* n:"BrtRRMove" */ }, + 0x0198: { /* n:"BrtRREndMove" */ }, + 0x0199: { /* n:"BrtRRChgCell" */ }, + 0x019A: { /* n:"BrtRREndChgCell" */ }, + 0x019B: { /* n:"BrtRRHeader" */ }, + 0x019C: { /* n:"BrtRRUserView" */ }, + 0x019D: { /* n:"BrtRRRenSheet" */ }, + 0x019E: { /* n:"BrtRRInsertSh" */ }, + 0x019F: { /* n:"BrtRRDefName" */ }, + 0x01A0: { /* n:"BrtRRNote" */ }, + 0x01A1: { /* n:"BrtRRConflict" */ }, + 0x01A2: { /* n:"BrtRRTQSIF" */ }, + 0x01A3: { /* n:"BrtRRFormat" */ }, + 0x01A4: { /* n:"BrtRREndFormat" */ }, + 0x01A5: { /* n:"BrtRRAutoFmt" */ }, + 0x01A6: { /* n:"BrtBeginUserShViews", */ T:1 }, + 0x01A7: { /* n:"BrtBeginUserShView", */ T:1 }, + 0x01A8: { /* n:"BrtEndUserShView", */ T:-1 }, + 0x01A9: { /* n:"BrtEndUserShViews", */ T:-1 }, + 0x01AA: { /* n:"BrtArrFmla", */ f:parse_BrtArrFmla }, + 0x01AB: { /* n:"BrtShrFmla", */ f:parse_BrtShrFmla }, + 0x01AC: { /* n:"BrtTable" */ }, + 0x01AD: { /* n:"BrtBeginExtConnections", */ T:1 }, + 0x01AE: { /* n:"BrtEndExtConnections", */ T:-1 }, + 0x01AF: { /* n:"BrtBeginPCDCalcMems", */ T:1 }, + 0x01B0: { /* n:"BrtEndPCDCalcMems", */ T:-1 }, + 0x01B1: { /* n:"BrtBeginPCDCalcMem", */ T:1 }, + 0x01B2: { /* n:"BrtEndPCDCalcMem", */ T:-1 }, + 0x01B3: { /* n:"BrtBeginPCDHGLevels", */ T:1 }, + 0x01B4: { /* n:"BrtEndPCDHGLevels", */ T:-1 }, + 0x01B5: { /* n:"BrtBeginPCDHGLevel", */ T:1 }, + 0x01B6: { /* n:"BrtEndPCDHGLevel", */ T:-1 }, + 0x01B7: { /* n:"BrtBeginPCDHGLGroups", */ T:1 }, + 0x01B8: { /* n:"BrtEndPCDHGLGroups", */ T:-1 }, + 0x01B9: { /* n:"BrtBeginPCDHGLGroup", */ T:1 }, + 0x01BA: { /* n:"BrtEndPCDHGLGroup", */ T:-1 }, + 0x01BB: { /* n:"BrtBeginPCDHGLGMembers", */ T:1 }, + 0x01BC: { /* n:"BrtEndPCDHGLGMembers", */ T:-1 }, + 0x01BD: { /* n:"BrtBeginPCDHGLGMember", */ T:1 }, + 0x01BE: { /* n:"BrtEndPCDHGLGMember", */ T:-1 }, + 0x01BF: { /* n:"BrtBeginQSI", */ T:1 }, + 0x01C0: { /* n:"BrtEndQSI", */ T:-1 }, + 0x01C1: { /* n:"BrtBeginQSIR", */ T:1 }, + 0x01C2: { /* n:"BrtEndQSIR", */ T:-1 }, + 0x01C3: { /* n:"BrtBeginDeletedNames", */ T:1 }, + 0x01C4: { /* n:"BrtEndDeletedNames", */ T:-1 }, + 0x01C5: { /* n:"BrtBeginDeletedName", */ T:1 }, + 0x01C6: { /* n:"BrtEndDeletedName", */ T:-1 }, + 0x01C7: { /* n:"BrtBeginQSIFs", */ T:1 }, + 0x01C8: { /* n:"BrtEndQSIFs", */ T:-1 }, + 0x01C9: { /* n:"BrtBeginQSIF", */ T:1 }, + 0x01CA: { /* n:"BrtEndQSIF", */ T:-1 }, + 0x01CB: { /* n:"BrtBeginAutoSortScope", */ T:1 }, + 0x01CC: { /* n:"BrtEndAutoSortScope", */ T:-1 }, + 0x01CD: { /* n:"BrtBeginConditionalFormatting", */ T:1 }, + 0x01CE: { /* n:"BrtEndConditionalFormatting", */ T:-1 }, + 0x01CF: { /* n:"BrtBeginCFRule", */ T:1 }, + 0x01D0: { /* n:"BrtEndCFRule", */ T:-1 }, + 0x01D1: { /* n:"BrtBeginIconSet", */ T:1 }, + 0x01D2: { /* n:"BrtEndIconSet", */ T:-1 }, + 0x01D3: { /* n:"BrtBeginDatabar", */ T:1 }, + 0x01D4: { /* n:"BrtEndDatabar", */ T:-1 }, + 0x01D5: { /* n:"BrtBeginColorScale", */ T:1 }, + 0x01D6: { /* n:"BrtEndColorScale", */ T:-1 }, + 0x01D7: { /* n:"BrtCFVO" */ }, + 0x01D8: { /* n:"BrtExternValueMeta" */ }, + 0x01D9: { /* n:"BrtBeginColorPalette", */ T:1 }, + 0x01DA: { /* n:"BrtEndColorPalette", */ T:-1 }, + 0x01DB: { /* n:"BrtIndexedColor" */ }, + 0x01DC: { /* n:"BrtMargins", */ f:parse_BrtMargins }, + 0x01DD: { /* n:"BrtPrintOptions" */ }, + 0x01DE: { /* n:"BrtPageSetup" */ }, + 0x01DF: { /* n:"BrtBeginHeaderFooter", */ T:1 }, + 0x01E0: { /* n:"BrtEndHeaderFooter", */ T:-1 }, + 0x01E1: { /* n:"BrtBeginSXCrtFormat", */ T:1 }, + 0x01E2: { /* n:"BrtEndSXCrtFormat", */ T:-1 }, + 0x01E3: { /* n:"BrtBeginSXCrtFormats", */ T:1 }, + 0x01E4: { /* n:"BrtEndSXCrtFormats", */ T:-1 }, + 0x01E5: { /* n:"BrtWsFmtInfo", */ f:parse_BrtWsFmtInfo }, + 0x01E6: { /* n:"BrtBeginMgs", */ T:1 }, + 0x01E7: { /* n:"BrtEndMGs", */ T:-1 }, + 0x01E8: { /* n:"BrtBeginMGMaps", */ T:1 }, + 0x01E9: { /* n:"BrtEndMGMaps", */ T:-1 }, + 0x01EA: { /* n:"BrtBeginMG", */ T:1 }, + 0x01EB: { /* n:"BrtEndMG", */ T:-1 }, + 0x01EC: { /* n:"BrtBeginMap", */ T:1 }, + 0x01ED: { /* n:"BrtEndMap", */ T:-1 }, + 0x01EE: { /* n:"BrtHLink", */ f:parse_BrtHLink }, + 0x01EF: { /* n:"BrtBeginDCon", */ T:1 }, + 0x01F0: { /* n:"BrtEndDCon", */ T:-1 }, + 0x01F1: { /* n:"BrtBeginDRefs", */ T:1 }, + 0x01F2: { /* n:"BrtEndDRefs", */ T:-1 }, + 0x01F3: { /* n:"BrtDRef" */ }, + 0x01F4: { /* n:"BrtBeginScenMan", */ T:1 }, + 0x01F5: { /* n:"BrtEndScenMan", */ T:-1 }, + 0x01F6: { /* n:"BrtBeginSct", */ T:1 }, + 0x01F7: { /* n:"BrtEndSct", */ T:-1 }, + 0x01F8: { /* n:"BrtSlc" */ }, + 0x01F9: { /* n:"BrtBeginDXFs", */ T:1 }, + 0x01FA: { /* n:"BrtEndDXFs", */ T:-1 }, + 0x01FB: { /* n:"BrtDXF" */ }, + 0x01FC: { /* n:"BrtBeginTableStyles", */ T:1 }, + 0x01FD: { /* n:"BrtEndTableStyles", */ T:-1 }, + 0x01FE: { /* n:"BrtBeginTableStyle", */ T:1 }, + 0x01FF: { /* n:"BrtEndTableStyle", */ T:-1 }, + 0x0200: { /* n:"BrtTableStyleElement" */ }, + 0x0201: { /* n:"BrtTableStyleClient" */ }, + 0x0202: { /* n:"BrtBeginVolDeps", */ T:1 }, + 0x0203: { /* n:"BrtEndVolDeps", */ T:-1 }, + 0x0204: { /* n:"BrtBeginVolType", */ T:1 }, + 0x0205: { /* n:"BrtEndVolType", */ T:-1 }, + 0x0206: { /* n:"BrtBeginVolMain", */ T:1 }, + 0x0207: { /* n:"BrtEndVolMain", */ T:-1 }, + 0x0208: { /* n:"BrtBeginVolTopic", */ T:1 }, + 0x0209: { /* n:"BrtEndVolTopic", */ T:-1 }, + 0x020A: { /* n:"BrtVolSubtopic" */ }, + 0x020B: { /* n:"BrtVolRef" */ }, + 0x020C: { /* n:"BrtVolNum" */ }, + 0x020D: { /* n:"BrtVolErr" */ }, + 0x020E: { /* n:"BrtVolStr" */ }, + 0x020F: { /* n:"BrtVolBool" */ }, + 0x0210: { /* n:"BrtBeginCalcChain$", */ T:1 }, + 0x0211: { /* n:"BrtEndCalcChain$", */ T:-1 }, + 0x0212: { /* n:"BrtBeginSortState", */ T:1 }, + 0x0213: { /* n:"BrtEndSortState", */ T:-1 }, + 0x0214: { /* n:"BrtBeginSortCond", */ T:1 }, + 0x0215: { /* n:"BrtEndSortCond", */ T:-1 }, + 0x0216: { /* n:"BrtBookProtection" */ }, + 0x0217: { /* n:"BrtSheetProtection" */ }, + 0x0218: { /* n:"BrtRangeProtection" */ }, + 0x0219: { /* n:"BrtPhoneticInfo" */ }, + 0x021A: { /* n:"BrtBeginECTxtWiz", */ T:1 }, + 0x021B: { /* n:"BrtEndECTxtWiz", */ T:-1 }, + 0x021C: { /* n:"BrtBeginECTWFldInfoLst", */ T:1 }, + 0x021D: { /* n:"BrtEndECTWFldInfoLst", */ T:-1 }, + 0x021E: { /* n:"BrtBeginECTwFldInfo", */ T:1 }, + 0x0224: { /* n:"BrtFileSharing" */ }, + 0x0225: { /* n:"BrtOleSize" */ }, + 0x0226: { /* n:"BrtDrawing", */ f:parse_RelID }, + 0x0227: { /* n:"BrtLegacyDrawing", */ f:parse_XLNullableWideString }, + 0x0228: { /* n:"BrtLegacyDrawingHF" */ }, + 0x0229: { /* n:"BrtWebOpt" */ }, + 0x022A: { /* n:"BrtBeginWebPubItems", */ T:1 }, + 0x022B: { /* n:"BrtEndWebPubItems", */ T:-1 }, + 0x022C: { /* n:"BrtBeginWebPubItem", */ T:1 }, + 0x022D: { /* n:"BrtEndWebPubItem", */ T:-1 }, + 0x022E: { /* n:"BrtBeginSXCondFmt", */ T:1 }, + 0x022F: { /* n:"BrtEndSXCondFmt", */ T:-1 }, + 0x0230: { /* n:"BrtBeginSXCondFmts", */ T:1 }, + 0x0231: { /* n:"BrtEndSXCondFmts", */ T:-1 }, + 0x0232: { /* n:"BrtBkHim" */ }, + 0x0234: { /* n:"BrtColor" */ }, + 0x0235: { /* n:"BrtBeginIndexedColors", */ T:1 }, + 0x0236: { /* n:"BrtEndIndexedColors", */ T:-1 }, + 0x0239: { /* n:"BrtBeginMRUColors", */ T:1 }, + 0x023A: { /* n:"BrtEndMRUColors", */ T:-1 }, + 0x023C: { /* n:"BrtMRUColor" */ }, + 0x023D: { /* n:"BrtBeginDVals", */ T:1 }, + 0x023E: { /* n:"BrtEndDVals", */ T:-1 }, + 0x0241: { /* n:"BrtSupNameStart" */ }, + 0x0242: { /* n:"BrtSupNameValueStart" */ }, + 0x0243: { /* n:"BrtSupNameValueEnd" */ }, + 0x0244: { /* n:"BrtSupNameNum" */ }, + 0x0245: { /* n:"BrtSupNameErr" */ }, + 0x0246: { /* n:"BrtSupNameSt" */ }, + 0x0247: { /* n:"BrtSupNameNil" */ }, + 0x0248: { /* n:"BrtSupNameBool" */ }, + 0x0249: { /* n:"BrtSupNameFmla" */ }, + 0x024A: { /* n:"BrtSupNameBits" */ }, + 0x024B: { /* n:"BrtSupNameEnd" */ }, + 0x024C: { /* n:"BrtEndSupBook", */ T:-1 }, + 0x024D: { /* n:"BrtCellSmartTagProperty" */ }, + 0x024E: { /* n:"BrtBeginCellSmartTag", */ T:1 }, + 0x024F: { /* n:"BrtEndCellSmartTag", */ T:-1 }, + 0x0250: { /* n:"BrtBeginCellSmartTags", */ T:1 }, + 0x0251: { /* n:"BrtEndCellSmartTags", */ T:-1 }, + 0x0252: { /* n:"BrtBeginSmartTags", */ T:1 }, + 0x0253: { /* n:"BrtEndSmartTags", */ T:-1 }, + 0x0254: { /* n:"BrtSmartTagType" */ }, + 0x0255: { /* n:"BrtBeginSmartTagTypes", */ T:1 }, + 0x0256: { /* n:"BrtEndSmartTagTypes", */ T:-1 }, + 0x0257: { /* n:"BrtBeginSXFilters", */ T:1 }, + 0x0258: { /* n:"BrtEndSXFilters", */ T:-1 }, + 0x0259: { /* n:"BrtBeginSXFILTER", */ T:1 }, + 0x025A: { /* n:"BrtEndSXFilter", */ T:-1 }, + 0x025B: { /* n:"BrtBeginFills", */ T:1 }, + 0x025C: { /* n:"BrtEndFills", */ T:-1 }, + 0x025D: { /* n:"BrtBeginCellWatches", */ T:1 }, + 0x025E: { /* n:"BrtEndCellWatches", */ T:-1 }, + 0x025F: { /* n:"BrtCellWatch" */ }, + 0x0260: { /* n:"BrtBeginCRErrs", */ T:1 }, + 0x0261: { /* n:"BrtEndCRErrs", */ T:-1 }, + 0x0262: { /* n:"BrtCrashRecErr" */ }, + 0x0263: { /* n:"BrtBeginFonts", */ T:1 }, + 0x0264: { /* n:"BrtEndFonts", */ T:-1 }, + 0x0265: { /* n:"BrtBeginBorders", */ T:1 }, + 0x0266: { /* n:"BrtEndBorders", */ T:-1 }, + 0x0267: { /* n:"BrtBeginFmts", */ T:1 }, + 0x0268: { /* n:"BrtEndFmts", */ T:-1 }, + 0x0269: { /* n:"BrtBeginCellXFs", */ T:1 }, + 0x026A: { /* n:"BrtEndCellXFs", */ T:-1 }, + 0x026B: { /* n:"BrtBeginStyles", */ T:1 }, + 0x026C: { /* n:"BrtEndStyles", */ T:-1 }, + 0x0271: { /* n:"BrtBigName" */ }, + 0x0272: { /* n:"BrtBeginCellStyleXFs", */ T:1 }, + 0x0273: { /* n:"BrtEndCellStyleXFs", */ T:-1 }, + 0x0274: { /* n:"BrtBeginComments", */ T:1 }, + 0x0275: { /* n:"BrtEndComments", */ T:-1 }, + 0x0276: { /* n:"BrtBeginCommentAuthors", */ T:1 }, + 0x0277: { /* n:"BrtEndCommentAuthors", */ T:-1 }, + 0x0278: { /* n:"BrtCommentAuthor", */ f:parse_BrtCommentAuthor }, + 0x0279: { /* n:"BrtBeginCommentList", */ T:1 }, + 0x027A: { /* n:"BrtEndCommentList", */ T:-1 }, + 0x027B: { /* n:"BrtBeginComment", */ T:1, f:parse_BrtBeginComment}, + 0x027C: { /* n:"BrtEndComment", */ T:-1 }, + 0x027D: { /* n:"BrtCommentText", */ f:parse_BrtCommentText }, + 0x027E: { /* n:"BrtBeginOleObjects", */ T:1 }, + 0x027F: { /* n:"BrtOleObject" */ }, + 0x0280: { /* n:"BrtEndOleObjects", */ T:-1 }, + 0x0281: { /* n:"BrtBeginSxrules", */ T:1 }, + 0x0282: { /* n:"BrtEndSxRules", */ T:-1 }, + 0x0283: { /* n:"BrtBeginActiveXControls", */ T:1 }, + 0x0284: { /* n:"BrtActiveX" */ }, + 0x0285: { /* n:"BrtEndActiveXControls", */ T:-1 }, + 0x0286: { /* n:"BrtBeginPCDSDTCEMembersSortBy", */ T:1 }, + 0x0288: { /* n:"BrtBeginCellIgnoreECs", */ T:1 }, + 0x0289: { /* n:"BrtCellIgnoreEC" */ }, + 0x028A: { /* n:"BrtEndCellIgnoreECs", */ T:-1 }, + 0x028B: { /* n:"BrtCsProp", */ f:parse_BrtCsProp }, + 0x028C: { /* n:"BrtCsPageSetup" */ }, + 0x028D: { /* n:"BrtBeginUserCsViews", */ T:1 }, + 0x028E: { /* n:"BrtEndUserCsViews", */ T:-1 }, + 0x028F: { /* n:"BrtBeginUserCsView", */ T:1 }, + 0x0290: { /* n:"BrtEndUserCsView", */ T:-1 }, + 0x0291: { /* n:"BrtBeginPcdSFCIEntries", */ T:1 }, + 0x0292: { /* n:"BrtEndPCDSFCIEntries", */ T:-1 }, + 0x0293: { /* n:"BrtPCDSFCIEntry" */ }, + 0x0294: { /* n:"BrtBeginListParts", */ T:1 }, + 0x0295: { /* n:"BrtListPart" */ }, + 0x0296: { /* n:"BrtEndListParts", */ T:-1 }, + 0x0297: { /* n:"BrtSheetCalcProp" */ }, + 0x0298: { /* n:"BrtBeginFnGroup", */ T:1 }, + 0x0299: { /* n:"BrtFnGroup" */ }, + 0x029A: { /* n:"BrtEndFnGroup", */ T:-1 }, + 0x029B: { /* n:"BrtSupAddin" */ }, + 0x029C: { /* n:"BrtSXTDMPOrder" */ }, + 0x029D: { /* n:"BrtCsProtection" */ }, + 0x029F: { /* n:"BrtBeginWsSortMap", */ T:1 }, + 0x02A0: { /* n:"BrtEndWsSortMap", */ T:-1 }, + 0x02A1: { /* n:"BrtBeginRRSort", */ T:1 }, + 0x02A2: { /* n:"BrtEndRRSort", */ T:-1 }, + 0x02A3: { /* n:"BrtRRSortItem" */ }, + 0x02A4: { /* n:"BrtFileSharingIso" */ }, + 0x02A5: { /* n:"BrtBookProtectionIso" */ }, + 0x02A6: { /* n:"BrtSheetProtectionIso" */ }, + 0x02A7: { /* n:"BrtCsProtectionIso" */ }, + 0x02A8: { /* n:"BrtRangeProtectionIso" */ }, + 0x02A9: { /* n:"BrtDValList" */ }, + 0x0400: { /* n:"BrtRwDescent" */ }, + 0x0401: { /* n:"BrtKnownFonts" */ }, + 0x0402: { /* n:"BrtBeginSXTupleSet", */ T:1 }, + 0x0403: { /* n:"BrtEndSXTupleSet", */ T:-1 }, + 0x0404: { /* n:"BrtBeginSXTupleSetHeader", */ T:1 }, + 0x0405: { /* n:"BrtEndSXTupleSetHeader", */ T:-1 }, + 0x0406: { /* n:"BrtSXTupleSetHeaderItem" */ }, + 0x0407: { /* n:"BrtBeginSXTupleSetData", */ T:1 }, + 0x0408: { /* n:"BrtEndSXTupleSetData", */ T:-1 }, + 0x0409: { /* n:"BrtBeginSXTupleSetRow", */ T:1 }, + 0x040A: { /* n:"BrtEndSXTupleSetRow", */ T:-1 }, + 0x040B: { /* n:"BrtSXTupleSetRowItem" */ }, + 0x040C: { /* n:"BrtNameExt" */ }, + 0x040D: { /* n:"BrtPCDH14" */ }, + 0x040E: { /* n:"BrtBeginPCDCalcMem14", */ T:1 }, + 0x040F: { /* n:"BrtEndPCDCalcMem14", */ T:-1 }, + 0x0410: { /* n:"BrtSXTH14" */ }, + 0x0411: { /* n:"BrtBeginSparklineGroup", */ T:1 }, + 0x0412: { /* n:"BrtEndSparklineGroup", */ T:-1 }, + 0x0413: { /* n:"BrtSparkline" */ }, + 0x0414: { /* n:"BrtSXDI14" */ }, + 0x0415: { /* n:"BrtWsFmtInfoEx14" */ }, + 0x0416: { /* n:"BrtBeginConditionalFormatting14", */ T:1 }, + 0x0417: { /* n:"BrtEndConditionalFormatting14", */ T:-1 }, + 0x0418: { /* n:"BrtBeginCFRule14", */ T:1 }, + 0x0419: { /* n:"BrtEndCFRule14", */ T:-1 }, + 0x041A: { /* n:"BrtCFVO14" */ }, + 0x041B: { /* n:"BrtBeginDatabar14", */ T:1 }, + 0x041C: { /* n:"BrtBeginIconSet14", */ T:1 }, + 0x041D: { /* n:"BrtDVal14", */ f: parse_BrtDVal14 }, + 0x041E: { /* n:"BrtBeginDVals14", */ T:1 }, + 0x041F: { /* n:"BrtColor14" */ }, + 0x0420: { /* n:"BrtBeginSparklines", */ T:1 }, + 0x0421: { /* n:"BrtEndSparklines", */ T:-1 }, + 0x0422: { /* n:"BrtBeginSparklineGroups", */ T:1 }, + 0x0423: { /* n:"BrtEndSparklineGroups", */ T:-1 }, + 0x0425: { /* n:"BrtSXVD14" */ }, + 0x0426: { /* n:"BrtBeginSXView14", */ T:1 }, + 0x0427: { /* n:"BrtEndSXView14", */ T:-1 }, + 0x0428: { /* n:"BrtBeginSXView16", */ T:1 }, + 0x0429: { /* n:"BrtEndSXView16", */ T:-1 }, + 0x042A: { /* n:"BrtBeginPCD14", */ T:1 }, + 0x042B: { /* n:"BrtEndPCD14", */ T:-1 }, + 0x042C: { /* n:"BrtBeginExtConn14", */ T:1 }, + 0x042D: { /* n:"BrtEndExtConn14", */ T:-1 }, + 0x042E: { /* n:"BrtBeginSlicerCacheIDs", */ T:1 }, + 0x042F: { /* n:"BrtEndSlicerCacheIDs", */ T:-1 }, + 0x0430: { /* n:"BrtBeginSlicerCacheID", */ T:1 }, + 0x0431: { /* n:"BrtEndSlicerCacheID", */ T:-1 }, + 0x0433: { /* n:"BrtBeginSlicerCache", */ T:1 }, + 0x0434: { /* n:"BrtEndSlicerCache", */ T:-1 }, + 0x0435: { /* n:"BrtBeginSlicerCacheDef", */ T:1 }, + 0x0436: { /* n:"BrtEndSlicerCacheDef", */ T:-1 }, + 0x0437: { /* n:"BrtBeginSlicersEx", */ T:1 }, + 0x0438: { /* n:"BrtEndSlicersEx", */ T:-1 }, + 0x0439: { /* n:"BrtBeginSlicerEx", */ T:1 }, + 0x043A: { /* n:"BrtEndSlicerEx", */ T:-1 }, + 0x043B: { /* n:"BrtBeginSlicer", */ T:1 }, + 0x043C: { /* n:"BrtEndSlicer", */ T:-1 }, + 0x043D: { /* n:"BrtSlicerCachePivotTables" */ }, + 0x043E: { /* n:"BrtBeginSlicerCacheOlapImpl", */ T:1 }, + 0x043F: { /* n:"BrtEndSlicerCacheOlapImpl", */ T:-1 }, + 0x0440: { /* n:"BrtBeginSlicerCacheLevelsData", */ T:1 }, + 0x0441: { /* n:"BrtEndSlicerCacheLevelsData", */ T:-1 }, + 0x0442: { /* n:"BrtBeginSlicerCacheLevelData", */ T:1 }, + 0x0443: { /* n:"BrtEndSlicerCacheLevelData", */ T:-1 }, + 0x0444: { /* n:"BrtBeginSlicerCacheSiRanges", */ T:1 }, + 0x0445: { /* n:"BrtEndSlicerCacheSiRanges", */ T:-1 }, + 0x0446: { /* n:"BrtBeginSlicerCacheSiRange", */ T:1 }, + 0x0447: { /* n:"BrtEndSlicerCacheSiRange", */ T:-1 }, + 0x0448: { /* n:"BrtSlicerCacheOlapItem" */ }, + 0x0449: { /* n:"BrtBeginSlicerCacheSelections", */ T:1 }, + 0x044A: { /* n:"BrtSlicerCacheSelection" */ }, + 0x044B: { /* n:"BrtEndSlicerCacheSelections", */ T:-1 }, + 0x044C: { /* n:"BrtBeginSlicerCacheNative", */ T:1 }, + 0x044D: { /* n:"BrtEndSlicerCacheNative", */ T:-1 }, + 0x044E: { /* n:"BrtSlicerCacheNativeItem" */ }, + 0x044F: { /* n:"BrtRangeProtection14" */ }, + 0x0450: { /* n:"BrtRangeProtectionIso14" */ }, + 0x0451: { /* n:"BrtCellIgnoreEC14" */ }, + 0x0457: { /* n:"BrtList14" */ }, + 0x0458: { /* n:"BrtCFIcon" */ }, + 0x0459: { /* n:"BrtBeginSlicerCachesPivotCacheIDs", */ T:1 }, + 0x045A: { /* n:"BrtEndSlicerCachesPivotCacheIDs", */ T:-1 }, + 0x045B: { /* n:"BrtBeginSlicers", */ T:1 }, + 0x045C: { /* n:"BrtEndSlicers", */ T:-1 }, + 0x045D: { /* n:"BrtWbProp14" */ }, + 0x045E: { /* n:"BrtBeginSXEdit", */ T:1 }, + 0x045F: { /* n:"BrtEndSXEdit", */ T:-1 }, + 0x0460: { /* n:"BrtBeginSXEdits", */ T:1 }, + 0x0461: { /* n:"BrtEndSXEdits", */ T:-1 }, + 0x0462: { /* n:"BrtBeginSXChange", */ T:1 }, + 0x0463: { /* n:"BrtEndSXChange", */ T:-1 }, + 0x0464: { /* n:"BrtBeginSXChanges", */ T:1 }, + 0x0465: { /* n:"BrtEndSXChanges", */ T:-1 }, + 0x0466: { /* n:"BrtSXTupleItems" */ }, + 0x0468: { /* n:"BrtBeginSlicerStyle", */ T:1 }, + 0x0469: { /* n:"BrtEndSlicerStyle", */ T:-1 }, + 0x046A: { /* n:"BrtSlicerStyleElement" */ }, + 0x046B: { /* n:"BrtBeginStyleSheetExt14", */ T:1 }, + 0x046C: { /* n:"BrtEndStyleSheetExt14", */ T:-1 }, + 0x046D: { /* n:"BrtBeginSlicerCachesPivotCacheID", */ T:1 }, + 0x046E: { /* n:"BrtEndSlicerCachesPivotCacheID", */ T:-1 }, + 0x046F: { /* n:"BrtBeginConditionalFormattings", */ T:1 }, + 0x0470: { /* n:"BrtEndConditionalFormattings", */ T:-1 }, + 0x0471: { /* n:"BrtBeginPCDCalcMemExt", */ T:1 }, + 0x0472: { /* n:"BrtEndPCDCalcMemExt", */ T:-1 }, + 0x0473: { /* n:"BrtBeginPCDCalcMemsExt", */ T:1 }, + 0x0474: { /* n:"BrtEndPCDCalcMemsExt", */ T:-1 }, + 0x0475: { /* n:"BrtPCDField14" */ }, + 0x0476: { /* n:"BrtBeginSlicerStyles", */ T:1 }, + 0x0477: { /* n:"BrtEndSlicerStyles", */ T:-1 }, + 0x0478: { /* n:"BrtBeginSlicerStyleElements", */ T:1 }, + 0x0479: { /* n:"BrtEndSlicerStyleElements", */ T:-1 }, + 0x047A: { /* n:"BrtCFRuleExt" */ }, + 0x047B: { /* n:"BrtBeginSXCondFmt14", */ T:1 }, + 0x047C: { /* n:"BrtEndSXCondFmt14", */ T:-1 }, + 0x047D: { /* n:"BrtBeginSXCondFmts14", */ T:1 }, + 0x047E: { /* n:"BrtEndSXCondFmts14", */ T:-1 }, + 0x0480: { /* n:"BrtBeginSortCond14", */ T:1 }, + 0x0481: { /* n:"BrtEndSortCond14", */ T:-1 }, + 0x0482: { /* n:"BrtEndDVals14", */ T:-1 }, + 0x0483: { /* n:"BrtEndIconSet14", */ T:-1 }, + 0x0484: { /* n:"BrtEndDatabar14", */ T:-1 }, + 0x0485: { /* n:"BrtBeginColorScale14", */ T:1 }, + 0x0486: { /* n:"BrtEndColorScale14", */ T:-1 }, + 0x0487: { /* n:"BrtBeginSxrules14", */ T:1 }, + 0x0488: { /* n:"BrtEndSxrules14", */ T:-1 }, + 0x0489: { /* n:"BrtBeginPRule14", */ T:1 }, + 0x048A: { /* n:"BrtEndPRule14", */ T:-1 }, + 0x048B: { /* n:"BrtBeginPRFilters14", */ T:1 }, + 0x048C: { /* n:"BrtEndPRFilters14", */ T:-1 }, + 0x048D: { /* n:"BrtBeginPRFilter14", */ T:1 }, + 0x048E: { /* n:"BrtEndPRFilter14", */ T:-1 }, + 0x048F: { /* n:"BrtBeginPRFItem14", */ T:1 }, + 0x0490: { /* n:"BrtEndPRFItem14", */ T:-1 }, + 0x0491: { /* n:"BrtBeginCellIgnoreECs14", */ T:1 }, + 0x0492: { /* n:"BrtEndCellIgnoreECs14", */ T:-1 }, + 0x0493: { /* n:"BrtDxf14" */ }, + 0x0494: { /* n:"BrtBeginDxF14s", */ T:1 }, + 0x0495: { /* n:"BrtEndDxf14s", */ T:-1 }, + 0x0499: { /* n:"BrtFilter14" */ }, + 0x049A: { /* n:"BrtBeginCustomFilters14", */ T:1 }, + 0x049C: { /* n:"BrtCustomFilter14" */ }, + 0x049D: { /* n:"BrtIconFilter14" */ }, + 0x049E: { /* n:"BrtPivotCacheConnectionName" */ }, + 0x0800: { /* n:"BrtBeginDecoupledPivotCacheIDs", */ T:1 }, + 0x0801: { /* n:"BrtEndDecoupledPivotCacheIDs", */ T:-1 }, + 0x0802: { /* n:"BrtDecoupledPivotCacheID" */ }, + 0x0803: { /* n:"BrtBeginPivotTableRefs", */ T:1 }, + 0x0804: { /* n:"BrtEndPivotTableRefs", */ T:-1 }, + 0x0805: { /* n:"BrtPivotTableRef" */ }, + 0x0806: { /* n:"BrtSlicerCacheBookPivotTables" */ }, + 0x0807: { /* n:"BrtBeginSxvcells", */ T:1 }, + 0x0808: { /* n:"BrtEndSxvcells", */ T:-1 }, + 0x0809: { /* n:"BrtBeginSxRow", */ T:1 }, + 0x080A: { /* n:"BrtEndSxRow", */ T:-1 }, + 0x080C: { /* n:"BrtPcdCalcMem15" */ }, + 0x0813: { /* n:"BrtQsi15" */ }, + 0x0814: { /* n:"BrtBeginWebExtensions", */ T:1 }, + 0x0815: { /* n:"BrtEndWebExtensions", */ T:-1 }, + 0x0816: { /* n:"BrtWebExtension" */ }, + 0x0817: { /* n:"BrtAbsPath15" */ }, + 0x0818: { /* n:"BrtBeginPivotTableUISettings", */ T:1 }, + 0x0819: { /* n:"BrtEndPivotTableUISettings", */ T:-1 }, + 0x081B: { /* n:"BrtTableSlicerCacheIDs" */ }, + 0x081C: { /* n:"BrtTableSlicerCacheID" */ }, + 0x081D: { /* n:"BrtBeginTableSlicerCache", */ T:1 }, + 0x081E: { /* n:"BrtEndTableSlicerCache", */ T:-1 }, + 0x081F: { /* n:"BrtSxFilter15" */ }, + 0x0820: { /* n:"BrtBeginTimelineCachePivotCacheIDs", */ T:1 }, + 0x0821: { /* n:"BrtEndTimelineCachePivotCacheIDs", */ T:-1 }, + 0x0822: { /* n:"BrtTimelineCachePivotCacheID" */ }, + 0x0823: { /* n:"BrtBeginTimelineCacheIDs", */ T:1 }, + 0x0824: { /* n:"BrtEndTimelineCacheIDs", */ T:-1 }, + 0x0825: { /* n:"BrtBeginTimelineCacheID", */ T:1 }, + 0x0826: { /* n:"BrtEndTimelineCacheID", */ T:-1 }, + 0x0827: { /* n:"BrtBeginTimelinesEx", */ T:1 }, + 0x0828: { /* n:"BrtEndTimelinesEx", */ T:-1 }, + 0x0829: { /* n:"BrtBeginTimelineEx", */ T:1 }, + 0x082A: { /* n:"BrtEndTimelineEx", */ T:-1 }, + 0x082B: { /* n:"BrtWorkBookPr15" */ }, + 0x082C: { /* n:"BrtPCDH15" */ }, + 0x082D: { /* n:"BrtBeginTimelineStyle", */ T:1 }, + 0x082E: { /* n:"BrtEndTimelineStyle", */ T:-1 }, + 0x082F: { /* n:"BrtTimelineStyleElement" */ }, + 0x0830: { /* n:"BrtBeginTimelineStylesheetExt15", */ T:1 }, + 0x0831: { /* n:"BrtEndTimelineStylesheetExt15", */ T:-1 }, + 0x0832: { /* n:"BrtBeginTimelineStyles", */ T:1 }, + 0x0833: { /* n:"BrtEndTimelineStyles", */ T:-1 }, + 0x0834: { /* n:"BrtBeginTimelineStyleElements", */ T:1 }, + 0x0835: { /* n:"BrtEndTimelineStyleElements", */ T:-1 }, + 0x0836: { /* n:"BrtDxf15" */ }, + 0x0837: { /* n:"BrtBeginDxfs15", */ T:1 }, + 0x0838: { /* n:"BrtEndDxfs15", */ T:-1 }, + 0x0839: { /* n:"BrtSlicerCacheHideItemsWithNoData" */ }, + 0x083A: { /* n:"BrtBeginItemUniqueNames", */ T:1 }, + 0x083B: { /* n:"BrtEndItemUniqueNames", */ T:-1 }, + 0x083C: { /* n:"BrtItemUniqueName" */ }, + 0x083D: { /* n:"BrtBeginExtConn15", */ T:1 }, + 0x083E: { /* n:"BrtEndExtConn15", */ T:-1 }, + 0x083F: { /* n:"BrtBeginOledbPr15", */ T:1 }, + 0x0840: { /* n:"BrtEndOledbPr15", */ T:-1 }, + 0x0841: { /* n:"BrtBeginDataFeedPr15", */ T:1 }, + 0x0842: { /* n:"BrtEndDataFeedPr15", */ T:-1 }, + 0x0843: { /* n:"BrtTextPr15" */ }, + 0x0844: { /* n:"BrtRangePr15" */ }, + 0x0845: { /* n:"BrtDbCommand15" */ }, + 0x0846: { /* n:"BrtBeginDbTables15", */ T:1 }, + 0x0847: { /* n:"BrtEndDbTables15", */ T:-1 }, + 0x0848: { /* n:"BrtDbTable15" */ }, + 0x0849: { /* n:"BrtBeginDataModel", */ T:1 }, + 0x084A: { /* n:"BrtEndDataModel", */ T:-1 }, + 0x084B: { /* n:"BrtBeginModelTables", */ T:1 }, + 0x084C: { /* n:"BrtEndModelTables", */ T:-1 }, + 0x084D: { /* n:"BrtModelTable" */ }, + 0x084E: { /* n:"BrtBeginModelRelationships", */ T:1 }, + 0x084F: { /* n:"BrtEndModelRelationships", */ T:-1 }, + 0x0850: { /* n:"BrtModelRelationship" */ }, + 0x0851: { /* n:"BrtBeginECTxtWiz15", */ T:1 }, + 0x0852: { /* n:"BrtEndECTxtWiz15", */ T:-1 }, + 0x0853: { /* n:"BrtBeginECTWFldInfoLst15", */ T:1 }, + 0x0854: { /* n:"BrtEndECTWFldInfoLst15", */ T:-1 }, + 0x0855: { /* n:"BrtBeginECTWFldInfo15", */ T:1 }, + 0x0856: { /* n:"BrtFieldListActiveItem" */ }, + 0x0857: { /* n:"BrtPivotCacheIdVersion" */ }, + 0x0858: { /* n:"BrtSXDI15" */ }, + 0x0859: { /* n:"BrtBeginModelTimeGroupings", */ T:1 }, + 0x085A: { /* n:"BrtEndModelTimeGroupings", */ T:-1 }, + 0x085B: { /* n:"BrtBeginModelTimeGrouping", */ T:1 }, + 0x085C: { /* n:"BrtEndModelTimeGrouping", */ T:-1 }, + 0x085D: { /* n:"BrtModelTimeGroupingCalcCol" */ }, + 0x0C00: { /* n:"BrtUid" */ }, + 0x0C01: { /* n:"BrtRevisionPtr" */ }, + 0x1000: { /* n:"BrtBeginDynamicArrayPr", */ T:1 }, + 0x1001: { /* n:"BrtEndDynamicArrayPr", */ T:-1 }, + 0x138A: { /* n:"BrtBeginRichValueBlock", */ T:1 }, + 0x138B: { /* n:"BrtEndRichValueBlock", */ T:-1 }, + 0x13D9: { /* n:"BrtBeginRichFilters", */ T:1 }, + 0x13DA: { /* n:"BrtEndRichFilters", */ T:-1 }, + 0x13DB: { /* n:"BrtRichFilter" */ }, + 0x13DC: { /* n:"BrtBeginRichFilterColumn", */ T:1 }, + 0x13DD: { /* n:"BrtEndRichFilterColumn", */ T:-1 }, + 0x13DE: { /* n:"BrtBeginCustomRichFilters", */ T:1 }, + 0x13DF: { /* n:"BrtEndCustomRichFilters", */ T:-1 }, + 0x13E0: { /* n:"BrtCustomRichFilter" */ }, + 0x13E1: { /* n:"BrtTop10RichFilter" */ }, + 0x13E2: { /* n:"BrtDynamicRichFilter" */ }, + 0x13E4: { /* n:"BrtBeginRichSortCondition", */ T:1 }, + 0x13E5: { /* n:"BrtEndRichSortCondition", */ T:-1 }, + 0x13E6: { /* n:"BrtRichFilterDateGroupItem" */ }, + 0x13E7: { /* n:"BrtBeginCalcFeatures", */ T:1 }, + 0x13E8: { /* n:"BrtEndCalcFeatures", */ T:-1 }, + 0x13E9: { /* n:"BrtCalcFeature" */ }, + 0x13EB: { /* n:"BrtExternalLinksPr" */ }, + 0xFFFF: { n:"" } }; /* [MS-XLS] 2.3 Record Enumeration (and other sources) */ var XLSRecordEnum = { /* [MS-XLS] 2.3 Record Enumeration 2021-08-17 */ -0x0006: { /* n:"Formula", */ f:parse_Formula }, -0x000a: { /* n:"EOF", */ f:parsenoop2 }, -0x000c: { /* n:"CalcCount", */ f:parseuint16 }, // -0x000d: { /* n:"CalcMode", */ f:parseuint16 }, // -0x000e: { /* n:"CalcPrecision", */ f:parsebool }, // -0x000f: { /* n:"CalcRefMode", */ f:parsebool }, // -0x0010: { /* n:"CalcDelta", */ f:parse_Xnum }, // -0x0011: { /* n:"CalcIter", */ f:parsebool }, // -0x0012: { /* n:"Protect", */ f:parsebool }, -0x0013: { /* n:"Password", */ f:parseuint16 }, -0x0014: { /* n:"Header", */ f:parse_XLHeaderFooter }, -0x0015: { /* n:"Footer", */ f:parse_XLHeaderFooter }, -0x0017: { /* n:"ExternSheet", */ f:parse_ExternSheet }, -0x0018: { /* n:"Lbl", */ f:parse_Lbl }, -0x0019: { /* n:"WinProtect", */ f:parsebool }, -0x001a: { /* n:"VerticalPageBreaks", */ }, -0x001b: { /* n:"HorizontalPageBreaks", */ }, -0x001c: { /* n:"Note", */ f:parse_Note }, -0x001d: { /* n:"Selection", */ }, -0x0022: { /* n:"Date1904", */ f:parsebool }, -0x0023: { /* n:"ExternName", */ f:parse_ExternName }, -0x0026: { /* n:"LeftMargin", */ f:parse_Xnum }, // * -0x0027: { /* n:"RightMargin", */ f:parse_Xnum }, // * -0x0028: { /* n:"TopMargin", */ f:parse_Xnum }, // * -0x0029: { /* n:"BottomMargin", */ f:parse_Xnum }, // * -0x002a: { /* n:"PrintRowCol", */ f:parsebool }, -0x002b: { /* n:"PrintGrid", */ f:parsebool }, -0x002f: { /* n:"FilePass", */ f:parse_FilePass }, -0x0031: { /* n:"Font", */ f:parse_Font }, -0x0033: { /* n:"PrintSize", */ f:parseuint16 }, -0x003c: { /* n:"Continue", */ }, -0x003d: { /* n:"Window1", */ f:parse_Window1 }, -0x0040: { /* n:"Backup", */ f:parsebool }, -0x0041: { /* n:"Pane", */ f:parse_Pane }, -0x0042: { /* n:"CodePage", */ f:parseuint16 }, -0x004d: { /* n:"Pls", */ }, -0x0050: { /* n:"DCon", */ }, -0x0051: { /* n:"DConRef", */ }, -0x0052: { /* n:"DConName", */ }, -0x0055: { /* n:"DefColWidth", */ f:parseuint16 }, -0x0059: { /* n:"XCT", */ }, -0x005a: { /* n:"CRN", */ }, -0x005b: { /* n:"FileSharing", */ }, -0x005c: { /* n:"WriteAccess", */ f:parse_WriteAccess }, -0x005d: { /* n:"Obj", */ f:parse_Obj }, -0x005e: { /* n:"Uncalced", */ }, -0x005f: { /* n:"CalcSaveRecalc", */ f:parsebool }, // -0x0060: { /* n:"Template", */ }, -0x0061: { /* n:"Intl", */ }, -0x0063: { /* n:"ObjProtect", */ f:parsebool }, -0x007d: { /* n:"ColInfo", */ f:parse_ColInfo }, -0x0080: { /* n:"Guts", */ f:parse_Guts }, -0x0081: { /* n:"WsBool", */ f:parse_WsBool }, -0x0082: { /* n:"GridSet", */ f:parseuint16 }, -0x0083: { /* n:"HCenter", */ f:parsebool }, -0x0084: { /* n:"VCenter", */ f:parsebool }, -0x0085: { /* n:"BoundSheet8", */ f:parse_BoundSheet8 }, -0x0086: { /* n:"WriteProtect", */ }, -0x008c: { /* n:"Country", */ f:parse_Country }, -0x008d: { /* n:"HideObj", */ f:parseuint16 }, -0x0090: { /* n:"Sort", */ }, -0x0092: { /* n:"Palette", */ f:parse_Palette }, -0x0097: { /* n:"Sync", */ }, -0x0098: { /* n:"LPr", */ }, -0x0099: { /* n:"DxGCol", */ }, -0x009a: { /* n:"FnGroupName", */ }, -0x009b: { /* n:"FilterMode", */ }, -0x009c: { /* n:"BuiltInFnGroupCount", */ f:parseuint16 }, -0x009d: { /* n:"AutoFilterInfo", */ }, -0x009e: { /* n:"AutoFilter", */ }, -0x00a0: { /* n:"Scl", */ f:parse_Scl }, -0x00a1: { /* n:"Setup", */ f:parse_Setup }, -0x00ae: { /* n:"ScenMan", */ }, -0x00af: { /* n:"SCENARIO", */ }, -0x00b0: { /* n:"SxView", */ }, -0x00b1: { /* n:"Sxvd", */ }, -0x00b2: { /* n:"SXVI", */ }, -0x00b4: { /* n:"SxIvd", */ }, -0x00b5: { /* n:"SXLI", */ }, -0x00b6: { /* n:"SXPI", */ }, -0x00b8: { /* n:"DocRoute", */ }, -0x00b9: { /* n:"RecipName", */ }, -0x00bd: { /* n:"MulRk", */ f:parse_MulRk }, -0x00be: { /* n:"MulBlank", */ f:parse_MulBlank }, -0x00c1: { /* n:"Mms", */ f:parsenoop2 }, -0x00c5: { /* n:"SXDI", */ }, -0x00c6: { /* n:"SXDB", */ }, -0x00c7: { /* n:"SXFDB", */ }, -0x00c8: { /* n:"SXDBB", */ }, -0x00c9: { /* n:"SXNum", */ }, -0x00ca: { /* n:"SxBool", */ f:parsebool }, -0x00cb: { /* n:"SxErr", */ }, -0x00cc: { /* n:"SXInt", */ }, -0x00cd: { /* n:"SXString", */ }, -0x00ce: { /* n:"SXDtr", */ }, -0x00cf: { /* n:"SxNil", */ }, -0x00d0: { /* n:"SXTbl", */ }, -0x00d1: { /* n:"SXTBRGIITM", */ }, -0x00d2: { /* n:"SxTbpg", */ }, -0x00d3: { /* n:"ObProj", */ }, -0x00d5: { /* n:"SXStreamID", */ }, -0x00d7: { /* n:"DBCell", */ }, -0x00d8: { /* n:"SXRng", */ }, -0x00d9: { /* n:"SxIsxoper", */ }, -0x00da: { /* n:"BookBool", */ f:parseuint16 }, -0x00dc: { /* n:"DbOrParamQry", */ }, -0x00dd: { /* n:"ScenarioProtect", */ f:parsebool }, -0x00de: { /* n:"OleObjectSize", */ }, -0x00e0: { /* n:"XF", */ f:parse_XF }, -0x00e1: { /* n:"InterfaceHdr", */ f:parse_InterfaceHdr }, -0x00e2: { /* n:"InterfaceEnd", */ f:parsenoop2 }, -0x00e3: { /* n:"SXVS", */ }, -0x00e5: { /* n:"MergeCells", */ f:parse_MergeCells }, -0x00e9: { /* n:"BkHim", */ }, -0x00eb: { /* n:"MsoDrawingGroup", */ }, -0x00ec: { /* n:"MsoDrawing", */ }, -0x00ed: { /* n:"MsoDrawingSelection", */ }, -0x00ef: { /* n:"PhoneticInfo", */ }, -0x00f0: { /* n:"SxRule", */ }, -0x00f1: { /* n:"SXEx", */ }, -0x00f2: { /* n:"SxFilt", */ }, -0x00f4: { /* n:"SxDXF", */ }, -0x00f5: { /* n:"SxItm", */ }, -0x00f6: { /* n:"SxName", */ }, -0x00f7: { /* n:"SxSelect", */ }, -0x00f8: { /* n:"SXPair", */ }, -0x00f9: { /* n:"SxFmla", */ }, -0x00fb: { /* n:"SxFormat", */ }, -0x00fc: { /* n:"SST", */ f:parse_SST }, -0x00fd: { /* n:"LabelSst", */ f:parse_LabelSst }, -0x00ff: { /* n:"ExtSST", */ f:parse_ExtSST }, -0x0100: { /* n:"SXVDEx", */ }, -0x0103: { /* n:"SXFormula", */ }, -0x0122: { /* n:"SXDBEx", */ }, -0x0137: { /* n:"RRDInsDel", */ }, -0x0138: { /* n:"RRDHead", */ }, -0x013b: { /* n:"RRDChgCell", */ }, -0x013d: { /* n:"RRTabId", */ f:parseuint16a }, -0x013e: { /* n:"RRDRenSheet", */ }, -0x013f: { /* n:"RRSort", */ }, -0x0140: { /* n:"RRDMove", */ }, -0x014a: { /* n:"RRFormat", */ }, -0x014b: { /* n:"RRAutoFmt", */ }, -0x014d: { /* n:"RRInsertSh", */ }, -0x014e: { /* n:"RRDMoveBegin", */ }, -0x014f: { /* n:"RRDMoveEnd", */ }, -0x0150: { /* n:"RRDInsDelBegin", */ }, -0x0151: { /* n:"RRDInsDelEnd", */ }, -0x0152: { /* n:"RRDConflict", */ }, -0x0153: { /* n:"RRDDefName", */ }, -0x0154: { /* n:"RRDRstEtxp", */ }, -0x015f: { /* n:"LRng", */ }, -0x0160: { /* n:"UsesELFs", */ f:parsebool }, -0x0161: { /* n:"DSF", */ f:parsenoop2 }, -0x0191: { /* n:"CUsr", */ }, -0x0192: { /* n:"CbUsr", */ }, -0x0193: { /* n:"UsrInfo", */ }, -0x0194: { /* n:"UsrExcl", */ }, -0x0195: { /* n:"FileLock", */ }, -0x0196: { /* n:"RRDInfo", */ }, -0x0197: { /* n:"BCUsrs", */ }, -0x0198: { /* n:"UsrChk", */ }, -0x01a9: { /* n:"UserBView", */ }, -0x01aa: { /* n:"UserSViewBegin", */ }, -0x01ab: { /* n:"UserSViewEnd", */ }, -0x01ac: { /* n:"RRDUserView", */ }, -0x01ad: { /* n:"Qsi", */ }, -0x01ae: { /* n:"SupBook", */ f:parse_SupBook }, -0x01af: { /* n:"Prot4Rev", */ f:parsebool }, -0x01b0: { /* n:"CondFmt", */ }, -0x01b1: { /* n:"CF", */ }, -0x01b2: { /* n:"DVal", */ }, -0x01b5: { /* n:"DConBin", */ }, -0x01b6: { /* n:"TxO", */ f:parse_TxO }, -0x01b7: { /* n:"RefreshAll", */ f:parsebool }, // -0x01b8: { /* n:"HLink", */ f:parse_HLink }, -0x01b9: { /* n:"Lel", */ }, -0x01ba: { /* n:"CodeName", */ f:parse_XLUnicodeString }, -0x01bb: { /* n:"SXFDBType", */ }, -0x01bc: { /* n:"Prot4RevPass", */ f:parseuint16 }, -0x01bd: { /* n:"ObNoMacros", */ }, -0x01be: { /* n:"Dv", */ }, -0x01c0: { /* n:"Excel9File", */ f:parsenoop2 }, -0x01c1: { /* n:"RecalcId", */ f:parse_RecalcId, r:2}, -0x01c2: { /* n:"EntExU2", */ f:parsenoop2 }, -0x0200: { /* n:"Dimensions", */ f:parse_Dimensions }, -0x0201: { /* n:"Blank", */ f:parse_Blank }, -0x0203: { /* n:"Number", */ f:parse_Number }, -0x0204: { /* n:"Label", */ f:parse_Label }, -0x0205: { /* n:"BoolErr", */ f:parse_BoolErr }, -0x0207: { /* n:"String", */ f:parse_String }, -0x0208: { /* n:"Row", */ f:parse_Row }, -0x020b: { /* n:"Index", */ }, -0x0221: { /* n:"Array", */ f:parse_Array }, -0x0225: { /* n:"DefaultRowHeight", */ f:parse_DefaultRowHeight }, -0x0236: { /* n:"Table", */ }, -0x023e: { /* n:"Window2", */ f:parse_Window2 }, -0x027e: { /* n:"RK", */ f:parse_RK }, -0x0293: { /* n:"Style", */ }, -0x0418: { /* n:"BigName", */ }, -0x041e: { /* n:"Format", */ f:parse_Format }, -0x043c: { /* n:"ContinueBigName", */ }, -0x04bc: { /* n:"ShrFmla", */ f:parse_ShrFmla }, -0x0800: { /* n:"HLinkTooltip", */ f:parse_HLinkTooltip }, -0x0801: { /* n:"WebPub", */ }, -0x0802: { /* n:"QsiSXTag", */ }, -0x0803: { /* n:"DBQueryExt", */ }, -0x0804: { /* n:"ExtString", */ }, -0x0805: { /* n:"TxtQry", */ }, -0x0806: { /* n:"Qsir", */ }, -0x0807: { /* n:"Qsif", */ }, -0x0808: { /* n:"RRDTQSIF", */ }, -0x0809: { /* n:"BOF", */ f:parse_BOF }, -0x080a: { /* n:"OleDbConn", */ }, -0x080b: { /* n:"WOpt", */ }, -0x080c: { /* n:"SXViewEx", */ }, -0x080d: { /* n:"SXTH", */ }, -0x080e: { /* n:"SXPIEx", */ }, -0x080f: { /* n:"SXVDTEx", */ }, -0x0810: { /* n:"SXViewEx9", */ }, -0x0812: { /* n:"ContinueFrt", */ }, -0x0813: { /* n:"RealTimeData", */ }, -0x0850: { /* n:"ChartFrtInfo", */ }, -0x0851: { /* n:"FrtWrapper", */ }, -0x0852: { /* n:"StartBlock", */ }, -0x0853: { /* n:"EndBlock", */ }, -0x0854: { /* n:"StartObject", */ }, -0x0855: { /* n:"EndObject", */ }, -0x0856: { /* n:"CatLab", */ }, -0x0857: { /* n:"YMult", */ }, -0x0858: { /* n:"SXViewLink", */ }, -0x0859: { /* n:"PivotChartBits", */ }, -0x085a: { /* n:"FrtFontList", */ }, -0x0862: { /* n:"SheetExt", */ }, -0x0863: { /* n:"BookExt", */ r:12}, -0x0864: { /* n:"SXAddl", */ }, -0x0865: { /* n:"CrErr", */ }, -0x0866: { /* n:"HFPicture", */ }, -0x0867: { /* n:"FeatHdr", */ f:parsenoop2 }, -0x0868: { /* n:"Feat", */ }, -0x086a: { /* n:"DataLabExt", */ }, -0x086b: { /* n:"DataLabExtContents", */ }, -0x086c: { /* n:"CellWatch", */ }, -0x0871: { /* n:"FeatHdr11", */ }, -0x0872: { /* n:"Feature11", */ }, -0x0874: { /* n:"DropDownObjIds", */ }, -0x0875: { /* n:"ContinueFrt11", */ }, -0x0876: { /* n:"DConn", */ }, -0x0877: { /* n:"List12", */ }, -0x0878: { /* n:"Feature12", */ }, -0x0879: { /* n:"CondFmt12", */ }, -0x087a: { /* n:"CF12", */ }, -0x087b: { /* n:"CFEx", */ }, -0x087c: { /* n:"XFCRC", */ f:parse_XFCRC, r:12 }, -0x087d: { /* n:"XFExt", */ f:parse_XFExt, r:12 }, -0x087e: { /* n:"AutoFilter12", */ }, -0x087f: { /* n:"ContinueFrt12", */ }, -0x0884: { /* n:"MDTInfo", */ }, -0x0885: { /* n:"MDXStr", */ }, -0x0886: { /* n:"MDXTuple", */ }, -0x0887: { /* n:"MDXSet", */ }, -0x0888: { /* n:"MDXProp", */ }, -0x0889: { /* n:"MDXKPI", */ }, -0x088a: { /* n:"MDB", */ }, -0x088b: { /* n:"PLV", */ }, -0x088c: { /* n:"Compat12", */ f:parsebool, r:12 }, -0x088d: { /* n:"DXF", */ }, -0x088e: { /* n:"TableStyles", */ r:12 }, -0x088f: { /* n:"TableStyle", */ }, -0x0890: { /* n:"TableStyleElement", */ }, -0x0892: { /* n:"StyleExt", */ }, -0x0893: { /* n:"NamePublish", */ }, -0x0894: { /* n:"NameCmt", */ f:parse_NameCmt, r:12 }, -0x0895: { /* n:"SortData", */ }, -0x0896: { /* n:"Theme", */ f:parse_Theme, r:12 }, -0x0897: { /* n:"GUIDTypeLib", */ }, -0x0898: { /* n:"FnGrp12", */ }, -0x0899: { /* n:"NameFnGrp12", */ }, -0x089a: { /* n:"MTRSettings", */ f:parse_MTRSettings, r:12 }, -0x089b: { /* n:"CompressPictures", */ f:parsenoop2 }, -0x089c: { /* n:"HeaderFooter", */ }, -0x089d: { /* n:"CrtLayout12", */ }, -0x089e: { /* n:"CrtMlFrt", */ }, -0x089f: { /* n:"CrtMlFrtContinue", */ }, -0x08a3: { /* n:"ForceFullCalculation", */ f:parse_ForceFullCalculation }, -0x08a4: { /* n:"ShapePropsStream", */ }, -0x08a5: { /* n:"TextPropsStream", */ }, -0x08a6: { /* n:"RichTextStream", */ }, -0x08a7: { /* n:"CrtLayout12A", */ }, -0x1001: { /* n:"Units", */ }, -0x1002: { /* n:"Chart", */ }, -0x1003: { /* n:"Series", */ }, -0x1006: { /* n:"DataFormat", */ }, -0x1007: { /* n:"LineFormat", */ }, -0x1009: { /* n:"MarkerFormat", */ }, -0x100a: { /* n:"AreaFormat", */ }, -0x100b: { /* n:"PieFormat", */ }, -0x100c: { /* n:"AttachedLabel", */ }, -0x100d: { /* n:"SeriesText", */ }, -0x1014: { /* n:"ChartFormat", */ }, -0x1015: { /* n:"Legend", */ }, -0x1016: { /* n:"SeriesList", */ }, -0x1017: { /* n:"Bar", */ }, -0x1018: { /* n:"Line", */ }, -0x1019: { /* n:"Pie", */ }, -0x101a: { /* n:"Area", */ }, -0x101b: { /* n:"Scatter", */ }, -0x101c: { /* n:"CrtLine", */ }, -0x101d: { /* n:"Axis", */ }, -0x101e: { /* n:"Tick", */ }, -0x101f: { /* n:"ValueRange", */ }, -0x1020: { /* n:"CatSerRange", */ }, -0x1021: { /* n:"AxisLine", */ }, -0x1022: { /* n:"CrtLink", */ }, -0x1024: { /* n:"DefaultText", */ }, -0x1025: { /* n:"Text", */ }, -0x1026: { /* n:"FontX", */ f:parseuint16 }, -0x1027: { /* n:"ObjectLink", */ }, -0x1032: { /* n:"Frame", */ }, -0x1033: { /* n:"Begin", */ }, -0x1034: { /* n:"End", */ }, -0x1035: { /* n:"PlotArea", */ }, -0x103a: { /* n:"Chart3d", */ }, -0x103c: { /* n:"PicF", */ }, -0x103d: { /* n:"DropBar", */ }, -0x103e: { /* n:"Radar", */ }, -0x103f: { /* n:"Surf", */ }, -0x1040: { /* n:"RadarArea", */ }, -0x1041: { /* n:"AxisParent", */ }, -0x1043: { /* n:"LegendException", */ }, -0x1044: { /* n:"ShtProps", */ f:parse_ShtProps }, -0x1045: { /* n:"SerToCrt", */ }, -0x1046: { /* n:"AxesUsed", */ }, -0x1048: { /* n:"SBaseRef", */ }, -0x104a: { /* n:"SerParent", */ }, -0x104b: { /* n:"SerAuxTrend", */ }, -0x104e: { /* n:"IFmtRecord", */ }, -0x104f: { /* n:"Pos", */ }, -0x1050: { /* n:"AlRuns", */ }, -0x1051: { /* n:"BRAI", */ }, -0x105b: { /* n:"SerAuxErrBar", */ }, -0x105c: { /* n:"ClrtClient", */ f:parse_ClrtClient }, -0x105d: { /* n:"SerFmt", */ }, -0x105f: { /* n:"Chart3DBarShape", */ }, -0x1060: { /* n:"Fbi", */ }, -0x1061: { /* n:"BopPop", */ }, -0x1062: { /* n:"AxcExt", */ }, -0x1063: { /* n:"Dat", */ }, -0x1064: { /* n:"PlotGrowth", */ }, -0x1065: { /* n:"SIIndex", */ }, -0x1066: { /* n:"GelFrame", */ }, -0x1067: { /* n:"BopPopCustom", */ }, -0x1068: { /* n:"Fbi2", */ }, + 0x0006: { /* n:"Formula", */ f:parse_Formula }, + 0x000a: { /* n:"EOF", */ f:parsenoop2 }, + 0x000c: { /* n:"CalcCount", */ f:parseuint16 }, // + 0x000d: { /* n:"CalcMode", */ f:parseuint16 }, // + 0x000e: { /* n:"CalcPrecision", */ f:parsebool }, // + 0x000f: { /* n:"CalcRefMode", */ f:parsebool }, // + 0x0010: { /* n:"CalcDelta", */ f:parse_Xnum }, // + 0x0011: { /* n:"CalcIter", */ f:parsebool }, // + 0x0012: { /* n:"Protect", */ f:parsebool }, + 0x0013: { /* n:"Password", */ f:parseuint16 }, + 0x0014: { /* n:"Header", */ f:parse_XLHeaderFooter }, + 0x0015: { /* n:"Footer", */ f:parse_XLHeaderFooter }, + 0x0017: { /* n:"ExternSheet", */ f:parse_ExternSheet }, + 0x0018: { /* n:"Lbl", */ f:parse_Lbl }, + 0x0019: { /* n:"WinProtect", */ f:parsebool }, + 0x001a: { /* n:"VerticalPageBreaks", */ }, + 0x001b: { /* n:"HorizontalPageBreaks", */ }, + 0x001c: { /* n:"Note", */ f:parse_Note }, + 0x001d: { /* n:"Selection", */ }, + 0x0022: { /* n:"Date1904", */ f:parsebool }, + 0x0023: { /* n:"ExternName", */ f:parse_ExternName }, + 0x0026: { /* n:"LeftMargin", */ f:parse_Xnum }, // * + 0x0027: { /* n:"RightMargin", */ f:parse_Xnum }, // * + 0x0028: { /* n:"TopMargin", */ f:parse_Xnum }, // * + 0x0029: { /* n:"BottomMargin", */ f:parse_Xnum }, // * + 0x002a: { /* n:"PrintRowCol", */ f:parsebool }, + 0x002b: { /* n:"PrintGrid", */ f:parsebool }, + 0x002f: { /* n:"FilePass", */ f:parse_FilePass }, + 0x0031: { /* n:"Font", */ f:parse_Font }, + 0x0033: { /* n:"PrintSize", */ f:parseuint16 }, + 0x003c: { /* n:"Continue", */ }, + 0x003d: { /* n:"Window1", */ f:parse_Window1 }, + 0x0040: { /* n:"Backup", */ f:parsebool }, + 0x0041: { /* n:"Pane", */ f:parse_Pane }, + 0x0042: { /* n:"CodePage", */ f:parseuint16 }, + 0x004d: { /* n:"Pls", */ }, + 0x0050: { /* n:"DCon", */ }, + 0x0051: { /* n:"DConRef", */ }, + 0x0052: { /* n:"DConName", */ }, + 0x0055: { /* n:"DefColWidth", */ f:parseuint16 }, + 0x0059: { /* n:"XCT", */ }, + 0x005a: { /* n:"CRN", */ }, + 0x005b: { /* n:"FileSharing", */ }, + 0x005c: { /* n:"WriteAccess", */ f:parse_WriteAccess }, + 0x005d: { /* n:"Obj", */ f:parse_Obj }, + 0x005e: { /* n:"Uncalced", */ }, + 0x005f: { /* n:"CalcSaveRecalc", */ f:parsebool }, // + 0x0060: { /* n:"Template", */ }, + 0x0061: { /* n:"Intl", */ }, + 0x0063: { /* n:"ObjProtect", */ f:parsebool }, + 0x007d: { /* n:"ColInfo", */ f:parse_ColInfo }, + 0x0080: { /* n:"Guts", */ f:parse_Guts }, + 0x0081: { /* n:"WsBool", */ f:parse_WsBool }, + 0x0082: { /* n:"GridSet", */ f:parseuint16 }, + 0x0083: { /* n:"HCenter", */ f:parsebool }, + 0x0084: { /* n:"VCenter", */ f:parsebool }, + 0x0085: { /* n:"BoundSheet8", */ f:parse_BoundSheet8 }, + 0x0086: { /* n:"WriteProtect", */ }, + 0x008c: { /* n:"Country", */ f:parse_Country }, + 0x008d: { /* n:"HideObj", */ f:parseuint16 }, + 0x0090: { /* n:"Sort", */ }, + 0x0092: { /* n:"Palette", */ f:parse_Palette }, + 0x0097: { /* n:"Sync", */ }, + 0x0098: { /* n:"LPr", */ }, + 0x0099: { /* n:"DxGCol", */ }, + 0x009a: { /* n:"FnGroupName", */ }, + 0x009b: { /* n:"FilterMode", */ }, + 0x009c: { /* n:"BuiltInFnGroupCount", */ f:parseuint16 }, + 0x009d: { /* n:"AutoFilterInfo", */ }, + 0x009e: { /* n:"AutoFilter", */ }, + 0x00a0: { /* n:"Scl", */ f:parse_Scl }, + 0x00a1: { /* n:"Setup", */ f:parse_Setup }, + 0x00ae: { /* n:"ScenMan", */ }, + 0x00af: { /* n:"SCENARIO", */ }, + 0x00b0: { /* n:"SxView", */ }, + 0x00b1: { /* n:"Sxvd", */ }, + 0x00b2: { /* n:"SXVI", */ }, + 0x00b4: { /* n:"SxIvd", */ }, + 0x00b5: { /* n:"SXLI", */ }, + 0x00b6: { /* n:"SXPI", */ }, + 0x00b8: { /* n:"DocRoute", */ }, + 0x00b9: { /* n:"RecipName", */ }, + 0x00bd: { /* n:"MulRk", */ f:parse_MulRk }, + 0x00be: { /* n:"MulBlank", */ f:parse_MulBlank }, + 0x00c1: { /* n:"Mms", */ f:parsenoop2 }, + 0x00c5: { /* n:"SXDI", */ }, + 0x00c6: { /* n:"SXDB", */ }, + 0x00c7: { /* n:"SXFDB", */ }, + 0x00c8: { /* n:"SXDBB", */ }, + 0x00c9: { /* n:"SXNum", */ }, + 0x00ca: { /* n:"SxBool", */ f:parsebool }, + 0x00cb: { /* n:"SxErr", */ }, + 0x00cc: { /* n:"SXInt", */ }, + 0x00cd: { /* n:"SXString", */ }, + 0x00ce: { /* n:"SXDtr", */ }, + 0x00cf: { /* n:"SxNil", */ }, + 0x00d0: { /* n:"SXTbl", */ }, + 0x00d1: { /* n:"SXTBRGIITM", */ }, + 0x00d2: { /* n:"SxTbpg", */ }, + 0x00d3: { /* n:"ObProj", */ }, + 0x00d5: { /* n:"SXStreamID", */ }, + 0x00d7: { /* n:"DBCell", */ }, + 0x00d8: { /* n:"SXRng", */ }, + 0x00d9: { /* n:"SxIsxoper", */ }, + 0x00da: { /* n:"BookBool", */ f:parseuint16 }, + 0x00dc: { /* n:"DbOrParamQry", */ }, + 0x00dd: { /* n:"ScenarioProtect", */ f:parsebool }, + 0x00de: { /* n:"OleObjectSize", */ }, + 0x00e0: { /* n:"XF", */ f:parse_XF }, + 0x00e1: { /* n:"InterfaceHdr", */ f:parse_InterfaceHdr }, + 0x00e2: { /* n:"InterfaceEnd", */ f:parsenoop2 }, + 0x00e3: { /* n:"SXVS", */ }, + 0x00e5: { /* n:"MergeCells", */ f:parse_MergeCells }, + 0x00e9: { /* n:"BkHim", */ }, + 0x00eb: { /* n:"MsoDrawingGroup", */ }, + 0x00ec: { /* n:"MsoDrawing", */ }, + 0x00ed: { /* n:"MsoDrawingSelection", */ }, + 0x00ef: { /* n:"PhoneticInfo", */ }, + 0x00f0: { /* n:"SxRule", */ }, + 0x00f1: { /* n:"SXEx", */ }, + 0x00f2: { /* n:"SxFilt", */ }, + 0x00f4: { /* n:"SxDXF", */ }, + 0x00f5: { /* n:"SxItm", */ }, + 0x00f6: { /* n:"SxName", */ }, + 0x00f7: { /* n:"SxSelect", */ }, + 0x00f8: { /* n:"SXPair", */ }, + 0x00f9: { /* n:"SxFmla", */ }, + 0x00fb: { /* n:"SxFormat", */ }, + 0x00fc: { /* n:"SST", */ f:parse_SST }, + 0x00fd: { /* n:"LabelSst", */ f:parse_LabelSst }, + 0x00ff: { /* n:"ExtSST", */ f:parse_ExtSST }, + 0x0100: { /* n:"SXVDEx", */ }, + 0x0103: { /* n:"SXFormula", */ }, + 0x0122: { /* n:"SXDBEx", */ }, + 0x0137: { /* n:"RRDInsDel", */ }, + 0x0138: { /* n:"RRDHead", */ }, + 0x013b: { /* n:"RRDChgCell", */ }, + 0x013d: { /* n:"RRTabId", */ f:parseuint16a }, + 0x013e: { /* n:"RRDRenSheet", */ }, + 0x013f: { /* n:"RRSort", */ }, + 0x0140: { /* n:"RRDMove", */ }, + 0x014a: { /* n:"RRFormat", */ }, + 0x014b: { /* n:"RRAutoFmt", */ }, + 0x014d: { /* n:"RRInsertSh", */ }, + 0x014e: { /* n:"RRDMoveBegin", */ }, + 0x014f: { /* n:"RRDMoveEnd", */ }, + 0x0150: { /* n:"RRDInsDelBegin", */ }, + 0x0151: { /* n:"RRDInsDelEnd", */ }, + 0x0152: { /* n:"RRDConflict", */ }, + 0x0153: { /* n:"RRDDefName", */ }, + 0x0154: { /* n:"RRDRstEtxp", */ }, + 0x015f: { /* n:"LRng", */ }, + 0x0160: { /* n:"UsesELFs", */ f:parsebool }, + 0x0161: { /* n:"DSF", */ f:parsenoop2 }, + 0x0191: { /* n:"CUsr", */ }, + 0x0192: { /* n:"CbUsr", */ }, + 0x0193: { /* n:"UsrInfo", */ }, + 0x0194: { /* n:"UsrExcl", */ }, + 0x0195: { /* n:"FileLock", */ }, + 0x0196: { /* n:"RRDInfo", */ }, + 0x0197: { /* n:"BCUsrs", */ }, + 0x0198: { /* n:"UsrChk", */ }, + 0x01a9: { /* n:"UserBView", */ }, + 0x01aa: { /* n:"UserSViewBegin", */ }, + 0x01ab: { /* n:"UserSViewEnd", */ }, + 0x01ac: { /* n:"RRDUserView", */ }, + 0x01ad: { /* n:"Qsi", */ }, + 0x01ae: { /* n:"SupBook", */ f:parse_SupBook }, + 0x01af: { /* n:"Prot4Rev", */ f:parsebool }, + 0x01b0: { /* n:"CondFmt", */ }, + 0x01b1: { /* n:"CF", */ }, + 0x01b2: { /* n:"DVal", */ }, + 0x01b5: { /* n:"DConBin", */ }, + 0x01b6: { /* n:"TxO", */ f:parse_TxO }, + 0x01b7: { /* n:"RefreshAll", */ f:parsebool }, // + 0x01b8: { /* n:"HLink", */ f:parse_HLink }, + 0x01b9: { /* n:"Lel", */ }, + 0x01ba: { /* n:"CodeName", */ f:parse_XLUnicodeString }, + 0x01bb: { /* n:"SXFDBType", */ }, + 0x01bc: { /* n:"Prot4RevPass", */ f:parseuint16 }, + 0x01bd: { /* n:"ObNoMacros", */ }, + 0x01be: { /* n:"Dv", */ }, + 0x01c0: { /* n:"Excel9File", */ f:parsenoop2 }, + 0x01c1: { /* n:"RecalcId", */ f:parse_RecalcId, r:2}, + 0x01c2: { /* n:"EntExU2", */ f:parsenoop2 }, + 0x0200: { /* n:"Dimensions", */ f:parse_Dimensions }, + 0x0201: { /* n:"Blank", */ f:parse_Blank }, + 0x0203: { /* n:"Number", */ f:parse_Number }, + 0x0204: { /* n:"Label", */ f:parse_Label }, + 0x0205: { /* n:"BoolErr", */ f:parse_BoolErr }, + 0x0207: { /* n:"String", */ f:parse_String }, + 0x0208: { /* n:"Row", */ f:parse_Row }, + 0x020b: { /* n:"Index", */ }, + 0x0221: { /* n:"Array", */ f:parse_Array }, + 0x0225: { /* n:"DefaultRowHeight", */ f:parse_DefaultRowHeight }, + 0x0236: { /* n:"Table", */ }, + 0x023e: { /* n:"Window2", */ f:parse_Window2 }, + 0x027e: { /* n:"RK", */ f:parse_RK }, + 0x0293: { /* n:"Style", */ }, + 0x0418: { /* n:"BigName", */ }, + 0x041e: { /* n:"Format", */ f:parse_Format }, + 0x043c: { /* n:"ContinueBigName", */ }, + 0x04bc: { /* n:"ShrFmla", */ f:parse_ShrFmla }, + 0x0800: { /* n:"HLinkTooltip", */ f:parse_HLinkTooltip }, + 0x0801: { /* n:"WebPub", */ }, + 0x0802: { /* n:"QsiSXTag", */ }, + 0x0803: { /* n:"DBQueryExt", */ }, + 0x0804: { /* n:"ExtString", */ }, + 0x0805: { /* n:"TxtQry", */ }, + 0x0806: { /* n:"Qsir", */ }, + 0x0807: { /* n:"Qsif", */ }, + 0x0808: { /* n:"RRDTQSIF", */ }, + 0x0809: { /* n:"BOF", */ f:parse_BOF }, + 0x080a: { /* n:"OleDbConn", */ }, + 0x080b: { /* n:"WOpt", */ }, + 0x080c: { /* n:"SXViewEx", */ }, + 0x080d: { /* n:"SXTH", */ }, + 0x080e: { /* n:"SXPIEx", */ }, + 0x080f: { /* n:"SXVDTEx", */ }, + 0x0810: { /* n:"SXViewEx9", */ }, + 0x0812: { /* n:"ContinueFrt", */ }, + 0x0813: { /* n:"RealTimeData", */ }, + 0x0850: { /* n:"ChartFrtInfo", */ }, + 0x0851: { /* n:"FrtWrapper", */ }, + 0x0852: { /* n:"StartBlock", */ }, + 0x0853: { /* n:"EndBlock", */ }, + 0x0854: { /* n:"StartObject", */ }, + 0x0855: { /* n:"EndObject", */ }, + 0x0856: { /* n:"CatLab", */ }, + 0x0857: { /* n:"YMult", */ }, + 0x0858: { /* n:"SXViewLink", */ }, + 0x0859: { /* n:"PivotChartBits", */ }, + 0x085a: { /* n:"FrtFontList", */ }, + 0x0862: { /* n:"SheetExt", */ }, + 0x0863: { /* n:"BookExt", */ r:12}, + 0x0864: { /* n:"SXAddl", */ }, + 0x0865: { /* n:"CrErr", */ }, + 0x0866: { /* n:"HFPicture", */ }, + 0x0867: { /* n:"FeatHdr", */ f:parsenoop2 }, + 0x0868: { /* n:"Feat", */ }, + 0x086a: { /* n:"DataLabExt", */ }, + 0x086b: { /* n:"DataLabExtContents", */ }, + 0x086c: { /* n:"CellWatch", */ }, + 0x0871: { /* n:"FeatHdr11", */ }, + 0x0872: { /* n:"Feature11", */ }, + 0x0874: { /* n:"DropDownObjIds", */ }, + 0x0875: { /* n:"ContinueFrt11", */ }, + 0x0876: { /* n:"DConn", */ }, + 0x0877: { /* n:"List12", */ }, + 0x0878: { /* n:"Feature12", */ }, + 0x0879: { /* n:"CondFmt12", */ }, + 0x087a: { /* n:"CF12", */ }, + 0x087b: { /* n:"CFEx", */ }, + 0x087c: { /* n:"XFCRC", */ f:parse_XFCRC, r:12 }, + 0x087d: { /* n:"XFExt", */ f:parse_XFExt, r:12 }, + 0x087e: { /* n:"AutoFilter12", */ }, + 0x087f: { /* n:"ContinueFrt12", */ }, + 0x0884: { /* n:"MDTInfo", */ }, + 0x0885: { /* n:"MDXStr", */ }, + 0x0886: { /* n:"MDXTuple", */ }, + 0x0887: { /* n:"MDXSet", */ }, + 0x0888: { /* n:"MDXProp", */ }, + 0x0889: { /* n:"MDXKPI", */ }, + 0x088a: { /* n:"MDB", */ }, + 0x088b: { /* n:"PLV", */ }, + 0x088c: { /* n:"Compat12", */ f:parsebool, r:12 }, + 0x088d: { /* n:"DXF", */ }, + 0x088e: { /* n:"TableStyles", */ r:12 }, + 0x088f: { /* n:"TableStyle", */ }, + 0x0890: { /* n:"TableStyleElement", */ }, + 0x0892: { /* n:"StyleExt", */ }, + 0x0893: { /* n:"NamePublish", */ }, + 0x0894: { /* n:"NameCmt", */ f:parse_NameCmt, r:12 }, + 0x0895: { /* n:"SortData", */ }, + 0x0896: { /* n:"Theme", */ f:parse_Theme, r:12 }, + 0x0897: { /* n:"GUIDTypeLib", */ }, + 0x0898: { /* n:"FnGrp12", */ }, + 0x0899: { /* n:"NameFnGrp12", */ }, + 0x089a: { /* n:"MTRSettings", */ f:parse_MTRSettings, r:12 }, + 0x089b: { /* n:"CompressPictures", */ f:parsenoop2 }, + 0x089c: { /* n:"HeaderFooter", */ }, + 0x089d: { /* n:"CrtLayout12", */ }, + 0x089e: { /* n:"CrtMlFrt", */ }, + 0x089f: { /* n:"CrtMlFrtContinue", */ }, + 0x08a3: { /* n:"ForceFullCalculation", */ f:parse_ForceFullCalculation }, + 0x08a4: { /* n:"ShapePropsStream", */ }, + 0x08a5: { /* n:"TextPropsStream", */ }, + 0x08a6: { /* n:"RichTextStream", */ }, + 0x08a7: { /* n:"CrtLayout12A", */ }, + 0x1001: { /* n:"Units", */ }, + 0x1002: { /* n:"Chart", */ }, + 0x1003: { /* n:"Series", */ }, + 0x1006: { /* n:"DataFormat", */ }, + 0x1007: { /* n:"LineFormat", */ }, + 0x1009: { /* n:"MarkerFormat", */ }, + 0x100a: { /* n:"AreaFormat", */ }, + 0x100b: { /* n:"PieFormat", */ }, + 0x100c: { /* n:"AttachedLabel", */ }, + 0x100d: { /* n:"SeriesText", */ }, + 0x1014: { /* n:"ChartFormat", */ }, + 0x1015: { /* n:"Legend", */ }, + 0x1016: { /* n:"SeriesList", */ }, + 0x1017: { /* n:"Bar", */ }, + 0x1018: { /* n:"Line", */ }, + 0x1019: { /* n:"Pie", */ }, + 0x101a: { /* n:"Area", */ }, + 0x101b: { /* n:"Scatter", */ }, + 0x101c: { /* n:"CrtLine", */ }, + 0x101d: { /* n:"Axis", */ }, + 0x101e: { /* n:"Tick", */ }, + 0x101f: { /* n:"ValueRange", */ }, + 0x1020: { /* n:"CatSerRange", */ }, + 0x1021: { /* n:"AxisLine", */ }, + 0x1022: { /* n:"CrtLink", */ }, + 0x1024: { /* n:"DefaultText", */ }, + 0x1025: { /* n:"Text", */ }, + 0x1026: { /* n:"FontX", */ f:parseuint16 }, + 0x1027: { /* n:"ObjectLink", */ }, + 0x1032: { /* n:"Frame", */ }, + 0x1033: { /* n:"Begin", */ }, + 0x1034: { /* n:"End", */ }, + 0x1035: { /* n:"PlotArea", */ }, + 0x103a: { /* n:"Chart3d", */ }, + 0x103c: { /* n:"PicF", */ }, + 0x103d: { /* n:"DropBar", */ }, + 0x103e: { /* n:"Radar", */ }, + 0x103f: { /* n:"Surf", */ }, + 0x1040: { /* n:"RadarArea", */ }, + 0x1041: { /* n:"AxisParent", */ }, + 0x1043: { /* n:"LegendException", */ }, + 0x1044: { /* n:"ShtProps", */ f:parse_ShtProps }, + 0x1045: { /* n:"SerToCrt", */ }, + 0x1046: { /* n:"AxesUsed", */ }, + 0x1048: { /* n:"SBaseRef", */ }, + 0x104a: { /* n:"SerParent", */ }, + 0x104b: { /* n:"SerAuxTrend", */ }, + 0x104e: { /* n:"IFmtRecord", */ }, + 0x104f: { /* n:"Pos", */ }, + 0x1050: { /* n:"AlRuns", */ }, + 0x1051: { /* n:"BRAI", */ }, + 0x105b: { /* n:"SerAuxErrBar", */ }, + 0x105c: { /* n:"ClrtClient", */ f:parse_ClrtClient }, + 0x105d: { /* n:"SerFmt", */ }, + 0x105f: { /* n:"Chart3DBarShape", */ }, + 0x1060: { /* n:"Fbi", */ }, + 0x1061: { /* n:"BopPop", */ }, + 0x1062: { /* n:"AxcExt", */ }, + 0x1063: { /* n:"Dat", */ }, + 0x1064: { /* n:"PlotGrowth", */ }, + 0x1065: { /* n:"SIIndex", */ }, + 0x1066: { /* n:"GelFrame", */ }, + 0x1067: { /* n:"BopPopCustom", */ }, + 0x1068: { /* n:"Fbi2", */ }, -0x0000: { /* n:"Dimensions", */ f:parse_Dimensions }, -0x0001: { /* n:"BIFF2BLANK", */ }, -0x0002: { /* n:"BIFF2INT", */ f:parse_BIFF2INT }, -0x0003: { /* n:"BIFF2NUM", */ f:parse_BIFF2NUM }, -0x0004: { /* n:"BIFF2STR", */ f:parse_BIFF2STR }, -0x0005: { /* n:"BIFF2BOOLERR", */ f:parse_BIFF2BOOLERR }, -0x0007: { /* n:"String", */ f:parse_BIFF2STRING }, -0x0008: { /* n:"BIFF2ROW", */ }, -0x0009: { /* n:"BOF", */ f:parse_BOF }, -0x000b: { /* n:"Index", */ }, -0x0016: { /* n:"ExternCount", */ f:parseuint16 }, -0x001e: { /* n:"BIFF2FORMAT", */ f:parse_BIFF2Format }, -0x001f: { /* n:"BIFF2FMTCNT", */ }, /* 16-bit cnt of BIFF2FORMAT records */ -0x0020: { /* n:"BIFF2COLINFO", */ }, -0x0021: { /* n:"Array", */ f:parse_Array }, -0x0024: { /* n:"COLWIDTH", */ }, -0x0025: { /* n:"DefaultRowHeight", */ f:parse_DefaultRowHeight }, + 0x0000: { /* n:"Dimensions", */ f:parse_Dimensions }, + 0x0001: { /* n:"BIFF2BLANK", */ }, + 0x0002: { /* n:"BIFF2INT", */ f:parse_BIFF2INT }, + 0x0003: { /* n:"BIFF2NUM", */ f:parse_BIFF2NUM }, + 0x0004: { /* n:"BIFF2STR", */ f:parse_BIFF2STR }, + 0x0005: { /* n:"BIFF2BOOLERR", */ f:parse_BIFF2BOOLERR }, + 0x0007: { /* n:"String", */ f:parse_BIFF2STRING }, + 0x0008: { /* n:"BIFF2ROW", */ }, + 0x0009: { /* n:"BOF", */ f:parse_BOF }, + 0x000b: { /* n:"Index", */ }, + 0x0016: { /* n:"ExternCount", */ f:parseuint16 }, + 0x001e: { /* n:"BIFF2FORMAT", */ f:parse_BIFF2Format }, + 0x001f: { /* n:"BIFF2FMTCNT", */ }, /* 16-bit cnt of BIFF2FORMAT records */ + 0x0020: { /* n:"BIFF2COLINFO", */ }, + 0x0021: { /* n:"Array", */ f:parse_Array }, + 0x0024: { /* n:"COLWIDTH", */ }, + 0x0025: { /* n:"DefaultRowHeight", */ f:parse_DefaultRowHeight }, // 0x002c ?? // 0x002d ?? // 0x002e ?? // 0x0030 FONTCOUNT: number of fonts -0x0032: { /* n:"BIFF2FONTXTRA", */ f:parse_BIFF2FONTXTRA }, + 0x0032: { /* n:"BIFF2FONTXTRA", */ f:parse_BIFF2FONTXTRA }, // 0x0035: INFOOPTS // 0x0036: TABLE (BIFF2 only) // 0x0037: TABLE2 (BIFF2 only) @@ -21654,7 +21784,7 @@ var XLSRecordEnum = { // 0x0039 ?? // 0x003a: BEGINPREF // 0x003b: ENDPREF -0x003e: { /* n:"BIFF2WINDOW2", */ }, + 0x003e: { /* n:"BIFF2WINDOW2", */ }, // 0x003f ?? // 0x0046: SHOWSCROLL // 0x0047: SHOWFORMULA @@ -21668,77 +21798,77 @@ var XLSRecordEnum = { // 0x0058: TOOLBAR (BIFF3) /* - - - */ -0x0034: { /* n:"DDEObjName", */ }, -0x0043: { /* n:"BIFF2XF", */ f:parse_BIFF2XF }, -0x0044: { /* n:"BIFF2XFINDEX", */ f:parseuint16 }, -0x0045: { /* n:"BIFF2FONTCLR", */ }, -0x0056: { /* n:"BIFF4FMTCNT", */ }, /* 16-bit cnt, similar to BIFF2 */ -0x007e: { /* n:"RK", */ }, /* Not necessarily same as 0x027e */ -0x007f: { /* n:"ImData", */ f:parse_ImData }, -0x0087: { /* n:"Addin", */ }, -0x0088: { /* n:"Edg", */ }, -0x0089: { /* n:"Pub", */ }, + 0x0034: { /* n:"DDEObjName", */ }, + 0x0043: { /* n:"BIFF2XF", */ f:parse_BIFF2XF }, + 0x0044: { /* n:"BIFF2XFINDEX", */ f:parseuint16 }, + 0x0045: { /* n:"BIFF2FONTCLR", */ }, + 0x0056: { /* n:"BIFF4FMTCNT", */ }, /* 16-bit cnt, similar to BIFF2 */ + 0x007e: { /* n:"RK", */ }, /* Not necessarily same as 0x027e */ + 0x007f: { /* n:"ImData", */ f:parse_ImData }, + 0x0087: { /* n:"Addin", */ }, + 0x0088: { /* n:"Edg", */ }, + 0x0089: { /* n:"Pub", */ }, // 0x8A // 0x8B LH: alternate menu key flag (BIFF3/4) // 0x8E -0x008F: { /* n:"BIFF4SheetInfo", */ f:parse_BIFF4SheetInfo }, -0x0091: { /* n:"Sub", */ }, + 0x008F: { /* n:"BIFF4SheetInfo", */ f:parse_BIFF4SheetInfo }, + 0x0091: { /* n:"Sub", */ }, // 0x93 STYLE -0x0094: { /* n:"LHRecord", */ }, -0x0095: { /* n:"LHNGraph", */ }, -0x0096: { /* n:"Sound", */ }, + 0x0094: { /* n:"LHRecord", */ }, + 0x0095: { /* n:"LHNGraph", */ }, + 0x0096: { /* n:"Sound", */ }, // 0xA2 FNPROTO: function prototypes (BIFF4) // 0xA3 // 0xA8 -0x00a9: { /* n:"CoordList", */ }, -0x00ab: { /* n:"GCW", */ }, -0x00bc: { /* n:"ShrFmla", */ }, /* Not necessarily same as 0x04bc */ -0x00bf: { /* n:"ToolbarHdr", */ }, -0x00c0: { /* n:"ToolbarEnd", */ }, -0x00c2: { /* n:"AddMenu", */ }, -0x00c3: { /* n:"DelMenu", */ }, -0x00d6: { /* n:"RString", */ f:parse_RString }, -0x00df: { /* n:"UDDesc", */ }, -0x00ea: { /* n:"TabIdConf", */ }, -0x0162: { /* n:"XL5Modify", */ }, -0x01a5: { /* n:"FileSharing2", */ }, -0x0206: { /* n:"Formula", */ f:parse_Formula }, -0x0209: { /* n:"BOF", */ f:parse_BOF }, -0x0218: { /* n:"Lbl", */ f:parse_Lbl }, -0x0223: { /* n:"ExternName", */ f:parse_ExternName }, -0x0231: { /* n:"Font", */ }, -0x0243: { /* n:"BIFF3XF", */ f:parse_BIFF3XF }, -0x0406: { /* n:"Formula", */ f:parse_Formula }, -0x0409: { /* n:"BOF", */ f:parse_BOF }, -0x0443: { /* n:"BIFF4XF", */ f:parse_BIFF4XF }, -0x086d: { /* n:"FeatInfo", */ }, -0x0873: { /* n:"FeatInfo11", */ }, -0x0881: { /* n:"SXAddl12", */ }, -0x08c0: { /* n:"AutoWebPub", */ }, -0x08c1: { /* n:"ListObj", */ }, -0x08c2: { /* n:"ListField", */ }, -0x08c3: { /* n:"ListDV", */ }, -0x08c4: { /* n:"ListCondFmt", */ }, -0x08c5: { /* n:"ListCF", */ }, -0x08c6: { /* n:"FMQry", */ }, -0x08c7: { /* n:"FMSQry", */ }, -0x08c8: { /* n:"PLV", */ }, -0x08c9: { /* n:"LnExt", */ }, -0x08ca: { /* n:"MkrExt", */ }, -0x08cb: { /* n:"CrtCoopt", */ }, -0x08d6: { /* n:"FRTArchId$", */ r:12 }, + 0x00a9: { /* n:"CoordList", */ }, + 0x00ab: { /* n:"GCW", */ }, + 0x00bc: { /* n:"ShrFmla", */ }, /* Not necessarily same as 0x04bc */ + 0x00bf: { /* n:"ToolbarHdr", */ }, + 0x00c0: { /* n:"ToolbarEnd", */ }, + 0x00c2: { /* n:"AddMenu", */ }, + 0x00c3: { /* n:"DelMenu", */ }, + 0x00d6: { /* n:"RString", */ f:parse_RString }, + 0x00df: { /* n:"UDDesc", */ }, + 0x00ea: { /* n:"TabIdConf", */ }, + 0x0162: { /* n:"XL5Modify", */ }, + 0x01a5: { /* n:"FileSharing2", */ }, + 0x0206: { /* n:"Formula", */ f:parse_Formula }, + 0x0209: { /* n:"BOF", */ f:parse_BOF }, + 0x0218: { /* n:"Lbl", */ f:parse_Lbl }, + 0x0223: { /* n:"ExternName", */ f:parse_ExternName }, + 0x0231: { /* n:"Font", */ }, + 0x0243: { /* n:"BIFF3XF", */ f:parse_BIFF3XF }, + 0x0406: { /* n:"Formula", */ f:parse_Formula }, + 0x0409: { /* n:"BOF", */ f:parse_BOF }, + 0x0443: { /* n:"BIFF4XF", */ f:parse_BIFF4XF }, + 0x086d: { /* n:"FeatInfo", */ }, + 0x0873: { /* n:"FeatInfo11", */ }, + 0x0881: { /* n:"SXAddl12", */ }, + 0x08c0: { /* n:"AutoWebPub", */ }, + 0x08c1: { /* n:"ListObj", */ }, + 0x08c2: { /* n:"ListField", */ }, + 0x08c3: { /* n:"ListDV", */ }, + 0x08c4: { /* n:"ListCondFmt", */ }, + 0x08c5: { /* n:"ListCF", */ }, + 0x08c6: { /* n:"FMQry", */ }, + 0x08c7: { /* n:"FMSQry", */ }, + 0x08c8: { /* n:"PLV", */ }, + 0x08c9: { /* n:"LnExt", */ }, + 0x08ca: { /* n:"MkrExt", */ }, + 0x08cb: { /* n:"CrtCoopt", */ }, + 0x08d6: { /* n:"FRTArchId$", */ r:12 }, /* --- multiplan 4 records --- */ -0x0065: { /* n:"", */ }, // one per window -0x0066: { /* n:"", */ }, // calc settings -0x0069: { /* n:"", */ }, // print header -0x006a: { /* n:"", */ }, // print footer -0x006b: { /* n:"", */ }, // print settings -0x006d: { /* n:"", */ }, // one per window -0x0070: { /* n:"", */ }, // includes default col width -0x0072: { /* n:"", */ }, // includes selected cell + 0x0065: { /* n:"", */ }, // one per window + 0x0066: { /* n:"", */ }, // calc settings + 0x0069: { /* n:"", */ }, // print header + 0x006a: { /* n:"", */ }, // print footer + 0x006b: { /* n:"", */ }, // print settings + 0x006d: { /* n:"", */ }, // one per window + 0x0070: { /* n:"", */ }, // includes default col width + 0x0072: { /* n:"", */ }, // includes selected cell -0x7262: {} + 0x7262: {} }; function write_biff_rec(ba, type, payload, length) { @@ -21844,7 +21974,7 @@ function write_ws_biff2_cell(ba, cell, R, C, opts, date1904) { function write_ws_biff2(ba, ws, idx, opts, wb) { var dense = ws["!data"] != null; - var range = safe_decode_range(ws['!ref'] || "A1"), ref, rr = "", cols = []; + var range = safe_decode_range(ws['!ref'] || "A1"), rr = "", cols = []; if(range.e.c > 0xFF || range.e.r > 0x3FFF) { if(opts.WTF) throw new Error("Range " + (ws['!ref'] || "A1") + " exceeds format limit A1:IV16384"); range.e.c = Math.min(range.e.c, 0xFF); @@ -22287,9 +22417,9 @@ function write_ws_biff8(idx, opts, wb) { var date1904 = (((wb||{}).Workbook||{}).WBProps||{}).date1904; if(b8) ws['!links'] = []; + for(var C = range.s.c; C <= range.e.c; ++C) cols[C] = encode_col(C); var comments = []; var row = []; - for(var C = range.s.c; C <= range.e.c; ++C) cols[C] = encode_col(C); for(var R = range.s.r; R <= range.e.r; ++R) { if(dense) row = ws["!data"][R] || []; rr = encode_row(R); @@ -22457,12 +22587,12 @@ function html_to_sheet(str, _opts) { var opts = _opts || {}; var dense = (opts.dense != null) ? opts.dense : DENSE; var ws = ({}); if(dense) ws["!data"] = []; - str = str.replace(//g, ""); + str = str_remove_ng(str, ""); var mtch = str.match(/"); var mtch2 = str.match(/<\/table/i); var i = mtch.index, j = mtch2 && mtch2.index || str.length; - var rows = split_regex(str.slice(i, j), /(:?]*>)/i, ""); + var rows = split_regex(str.slice(i, j), /(:?]*>)/i, ""); var R = -1, C = 0, RS = 0, CS = 0; var range = {s:{r:10000000, c:10000000},e:{r:0,c:0}}; var merges = []; @@ -22538,7 +22668,7 @@ function make_html_row(ws, r, R, o) { else if(cell) { sp["data-t"] = cell && cell.t || 'z'; // note: data-v is unaffected by the timezone interpretation - if(cell.v != null) sp["data-v"] = cell.v instanceof Date ? cell.v.toISOString() : cell.v; + if(cell.v != null) sp["data-v"] = escapehtml(cell.v instanceof Date ? cell.v.toISOString() : cell.v); if(cell.z != null) sp["data-z"] = cell.z; if(cell.l && (cell.l.Target || "#").charAt(0) != "#") w = '' + w + ''; } @@ -22553,7 +22683,7 @@ var HTML_BEGIN = 'SheetJS Table Export var HTML_END = '</body></html>'; function html_to_workbook(str, opts) { - var mtch = str.match(/<table[\s\S]*?>[\s\S]*?<\/table>/gi); + var mtch = str_match_xml_ig(str, "table"); if(!mtch || mtch.length == 0) throw new Error("Invalid HTML: could not find <table>"); if(mtch.length == 1) { var w = sheet_to_workbook(html_to_sheet(mtch[0], opts), opts); @@ -22706,9 +22836,9 @@ function parse_text_p(text) { .replace(/[\t\r\n]/g, " ").trim().replace(/ +/g, " ") .replace(/<text:s\/>/g," ") .replace(/<text:s text:c="(\d+)"\/>/g, function($$,$1) { return Array(parseInt($1,10)+1).join(" "); }) - .replace(/<text:tab[^>]*\/>/g,"\t") + .replace(/<text:tab[^<>]*\/>/g,"\t") .replace(/<text:line-break\/>/g,"\n"); - var v = unescapexml(fixed.replace(/<[^>]*>/g,"")); + var v = unescapexml(fixed.replace(/<[^<>]*>/g,"")); return [v]; } @@ -22718,10 +22848,10 @@ function parse_ods_styles(d, _opts, _nfm) { var number_format_map = _nfm || {}; var str = xlml_normalize(d); xlmlregex.lastIndex = 0; - str = str.replace(/<!--([\s\S]*?)-->/mg,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,""); + str = remove_doctype(str_remove_ng(str, "<!--", "-->")); var Rn, NFtag, NF = "", tNF = "", y, etpos = 0, tidx = -1, infmt = false, payload = ""; while((Rn = xlmlregex.exec(str))) { - switch((Rn[3]=Rn[3].replace(/_.*$/,""))) { + switch((Rn[3]=Rn[3].replace(/_[\s\S]*$/,""))) { /* Number Format Definitions */ case 'number-style': // <number:number-style> 16.29.2 case 'currency-style': // <number:currency-style> 16.29.8 @@ -22965,8 +23095,8 @@ function parse_content_xml(d, _opts, _nfm) { var isstub = false, intable = false; var i = 0; xlmlregex.lastIndex = 0; - str = str.replace(/<!--([\s\S]*?)-->/mg,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,""); - while((Rn = xlmlregex.exec(str))) switch((Rn[3]=Rn[3].replace(/_.*$/,""))) { + str = remove_doctype(str_remove_ng(str, "<!--", "-->")); + while((Rn = xlmlregex.exec(str))) switch((Rn[3]=Rn[3].replace(/_[\s\S]*$/,""))) { case 'table': case '工作表': // 9.1.2 <table:table> if(Rn[1]==='/') { @@ -23563,7 +23693,7 @@ function write_number_format_ods(nf, nfidx) { if((t=nf.match(/# (\?+)\/(\d+)/))) { payload += writextag("number:fraction", null, {"number:min-integer-digits":0, "number:min-numerator-digits": t[1].length, "number:denominator-value": +t[2]}); break j; } /* percentages */ - if((t=nf.match(/(\d+)(|\.\d+)%/))) { type = "percentage"; payload += writextag("number:number", null, {"number:decimal-places": t[2] && t.length - 1 || 0, "number:min-decimal-places": t[2] && t.length - 1 || 0, "number:min-integer-digits": t[1].length }) + "<number:text>%</number:text>"; break j; } + if((t=nf.match(/\b(\d+)(|\.\d+)%/))) { type = "percentage"; payload += writextag("number:number", null, {"number:decimal-places": t[2] && t.length - 1 || 0, "number:min-decimal-places": t[2] && t.length - 1 || 0, "number:min-integer-digits": t[1].length }) + "<number:text>%</number:text>"; break j; } /* datetime */ var has_time = false; @@ -23692,17 +23822,17 @@ function write_names_ods(Names, SheetNames, idx) { return " " + writextag("table:named-range", null, { "table:name": name.Name, "table:cell-range-address": odsref, - "table:base-cell-address": odsref.replace(/[\.]?[^\.]*$/, ".$A$1") + "table:base-cell-address": odsref.replace(/[\.][^\.]*$/, ".$A$1") }); }).join("\n") + "\n </table:named-expressions>\n"; } var write_content_ods = /* @__PURE__ */(function() { /* 6.1.2 White Space Characters */ - var write_text_p = function(text) { + var write_text_p = function(text, span) { return escapexml(text) .replace(/ +/g, function($$){return '<text:s text:c="'+$$.length+'"/>';}) .replace(/\t/g, "<text:tab/>") - .replace(/\n/g, "</text:p><text:p>") + .replace(/\n/g, span ? "<text:line-break/>": "</text:p><text:p>") .replace(/^ /, "<text:s/>").replace(/ $/, "<text:s/>"); }; @@ -23932,7 +24062,7 @@ var write_content_ods = /* @__PURE__ */(function() { if(opts.bookType == "fods") { o.push('<office:document' + attr + fods + '>\n'); - o.push(write_meta_ods().replace(/<office:document-meta.*?>/, "").replace(/<\/office:document-meta>/, "") + "\n"); + o.push(write_meta_ods().replace(/<office:document-meta[^<>]*?>/, "").replace(/<\/office:document-meta>/, "") + "\n"); // TODO: settings (equiv of settings.xml for ODS) } else o.push('<office:document-content' + attr + '>\n'); // o.push(' <office:scripts/>\n'); @@ -25507,7 +25637,7 @@ function numbers_add_meta(mlist, newid, newloc) { mlist[3].push({ type: 2, data: write_shallow([ [], [{ type: 0, data: write_varint49(newid) }], - [{ type: 2, data: stru8(newloc.replace(/-.*$/, "")) }], + [{ type: 2, data: stru8(newloc.replace(/-[\s\S]*$/, "")) }], [{ type: 2, data: stru8(newloc) }], [{ type: 2, data: new Uint8Array([2, 0, 0]) }], [{ type: 2, data: new Uint8Array([2, 0, 0]) }], @@ -26509,7 +26639,7 @@ function parse_zip(zip, opts) { if(wbrels && wbrels[i]) { path = 'xl/' + (wbrels[i][1]).replace(/[\/]?xl\//, ""); if(!safegetzipfile(zip, path)) path = wbrels[i][1]; - if(!safegetzipfile(zip, path)) path = wbrelsfile.replace(/_rels\/.*$/,"") + wbrels[i][1]; + if(!safegetzipfile(zip, path)) path = wbrelsfile.replace(/_rels\/[\S\s]*$/,"") + wbrels[i][1]; stype = wbrels[i][2]; } else { path = 'xl/worksheets/sheet'+(i+1-nmode)+"." + wbext; @@ -26562,7 +26692,7 @@ function parse_zip(zip, opts) { if(dir.vba.length > 0) out.vbaraw = getzipdata(zip,strip_front_slash(dir.vba[0]),true); else if(dir.defaults && dir.defaults.bin === CT_VBA) out.vbaraw = getzipdata(zip, 'xl/vbaProject.bin',true); } - // TODO: pass back content types metdata for xlsm/xlsx resolution + // TODO: pass back content types metadata for xlsm/xlsx resolution out.bookType = xlsb ? "xlsb" : "xlsx"; return out; } @@ -27373,6 +27503,7 @@ function make_csv_row(sheet, r, R, cols, fs, rs, FS, o) { /* NOTE: Excel CSV does not support array formulae */ row.push(txt); } + if(o.strip) while(row[row.length - 1] === "") --row.length; if(o.blankrows === false && isempty) return null; return row.join(FS); } @@ -27384,7 +27515,6 @@ function sheet_to_csv(sheet, opts) { var r = safe_decode_range(sheet["!ref"]); var FS = o.FS !== undefined ? o.FS : ",", fs = FS.charCodeAt(0); var RS = o.RS !== undefined ? o.RS : "\n", rs = RS.charCodeAt(0); - var endregex = new RegExp((FS=="|" ? "\\|" : FS)+"+$"); var row = "", cols = []; var colinfo = o.skipHidden && sheet["!cols"] || []; var rowinfo = o.skipHidden && sheet["!rows"] || []; @@ -27394,7 +27524,6 @@ function sheet_to_csv(sheet, opts) { if ((rowinfo[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,""); if(row || (o.blankrows !== false)) out.push((w++ ? RS : "") + row); } return out.join(""); @@ -27557,10 +27686,10 @@ function book_append_sheet(wb, ws, name, roll) { var i = 1; if(!name) for(; i <= 0xFFFF; ++i, name = undefined) if(wb.SheetNames.indexOf(name = "Sheet" + i) == -1) break; if(!name || wb.SheetNames.length >= 0xFFFF) throw new Error("Too many worksheets"); - if(roll && wb.SheetNames.indexOf(name) >= 0) { - var m = name.match(/(^.*?)(\d+)$/); - i = m && +m[2] || 0; - var root = m && m[1] || name; + if(roll && wb.SheetNames.indexOf(name) >= 0 && name.length < 32) { + var m = name.match(/\d+$/); // at this point, name length is capped at 32 + i = m && +m[0] || 0; + var root = m && name.slice(0, m.index) || name; for(++i; i <= 0xFFFF; ++i) if(wb.SheetNames.indexOf(name = root + i) == -1) break; } check_ws_name(name); @@ -27686,7 +27815,6 @@ function write_csv_stream(sheet, opts) { var r = safe_decode_range(sheet["!ref"]); var FS = o.FS !== undefined ? o.FS : ",", fs = FS.charCodeAt(0); var RS = o.RS !== undefined ? o.RS : "\n", rs = RS.charCodeAt(0); - var endregex = new RegExp((FS=="|" ? "\\|" : FS)+"+$"); var row = "", cols = []; var colinfo = o.skipHidden && sheet["!cols"] || []; var rowinfo = o.skipHidden && sheet["!rows"] || []; @@ -27700,7 +27828,6 @@ function write_csv_stream(sheet, opts) { if ((rowinfo[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,""); if(row || (o.blankrows !== false)) return stream.push((w++ ? RS : "") + row); } } diff --git a/dist/xlsx.full.min.js b/dist/xlsx.full.min.js index 1f6672c..d83091c 100644 --- a/dist/xlsx.full.min.js +++ b/dist/xlsx.full.min.js @@ -5,20 +5,20 @@ for(a=0;a!=t[236].length;++a)if(t[236][a].charCodeAt(0)!==65533){r[t[236][a]]=60 for(a=0;a!=t[193].length;++a)if(t[193][a].charCodeAt(0)!==65533){r[t[193][a]]=49408+a;e[49408+a]=t[193][a]}t[194]="�����������������������������������������������������������������헊헋헍헎헏헑헓헔헕헖헗헚헜헞헟헠헡헢헣헦헧헩헪헫헭헮������헯헰헱헲헳헶헸헺헻헼헽헾헿혂혃혅혆혇혉혊혋혌혍혎혏혒������혖혗혘혙혚혛혝혞혟혡혢혣혥혦혧혨혩혪혫혬혮혯혰혱혲혳혴혵혶혷혺혻징짖짙짚짜짝짠짢짤짧짬짭짯짰짱째짹짼쨀쨈쨉쨋쨌쨍쨔쨘쨩쩌쩍쩐쩔쩜쩝쩟쩠쩡쩨쩽쪄쪘쪼쪽쫀쫄쫌쫍쫏쫑쫓쫘쫙쫠쫬쫴쬈쬐쬔쬘쬠쬡쭁쭈쭉쭌쭐쭘쭙쭝쭤쭸쭹쮜쮸쯔쯤쯧쯩찌찍찐찔찜찝찡찢찧차착찬찮찰참찹찻�".split("");for(a=0;a!=t[194].length;++a)if(t[194][a].charCodeAt(0)!==65533){r[t[194][a]]=49664+a;e[49664+a]=t[194][a]}t[195]="�����������������������������������������������������������������혽혾혿홁홂홃홄홆홇홊홌홎홏홐홒홓홖홗홙홚홛홝홞홟홠홡������홢홣홤홥홦홨홪홫홬홭홮홯홲홳홵홶홷홸홹홺홻홼홽홾홿횀������횁횂횄횆횇횈횉횊횋횎횏횑횒횓횕횖횗횘횙횚횛횜횞횠횢횣횤횥횦횧횩횪찼창찾채책챈챌챔챕챗챘챙챠챤챦챨챰챵처척천철첨첩첫첬청체첵첸첼쳄쳅쳇쳉쳐쳔쳤쳬쳰촁초촉촌촐촘촙촛총촤촨촬촹최쵠쵤쵬쵭쵯쵱쵸춈추축춘출춤춥춧충춰췄췌췐취췬췰췸췹췻췽츄츈츌츔츙츠측츤츨츰츱츳층�".split("");for(a=0;a!=t[195].length;++a)if(t[195][a].charCodeAt(0)!==65533){r[t[195][a]]=49920+a;e[49920+a]=t[195][a]}t[196]="�����������������������������������������������������������������횫횭횮횯횱횲횳횴횵횶횷횸횺횼횽횾횿훀훁훂훃훆훇훉훊훋������훍훎훏훐훒훓훕훖훘훚훛훜훝훞훟훡훢훣훥훦훧훩훪훫훬훭������훮훯훱훲훳훴훶훷훸훹훺훻훾훿휁휂휃휅휆휇휈휉휊휋휌휍휎휏휐휒휓휔치칙친칟칠칡침칩칫칭카칵칸칼캄캅캇캉캐캑캔캘캠캡캣캤캥캬캭컁커컥컨컫컬컴컵컷컸컹케켁켄켈켐켑켓켕켜켠켤켬켭켯켰켱켸코콕콘콜콤콥콧콩콰콱콴콸쾀쾅쾌쾡쾨쾰쿄쿠쿡쿤쿨쿰쿱쿳쿵쿼퀀퀄퀑퀘퀭퀴퀵퀸퀼�".split("");for(a=0;a!=t[196].length;++a)if(t[196][a].charCodeAt(0)!==65533){r[t[196][a]]=50176+a;e[50176+a]=t[196][a]}t[197]="�����������������������������������������������������������������휕휖휗휚휛휝휞휟휡휢휣휤휥휦휧휪휬휮휯휰휱휲휳휶휷휹������휺휻휽휾휿흀흁흂흃흅흆흈흊흋흌흍흎흏흒흓흕흚흛흜흝흞������흟흢흤흦흧흨흪흫흭흮흯흱흲흳흵흶흷흸흹흺흻흾흿힀힂힃힄힅힆힇힊힋큄큅큇큉큐큔큘큠크큭큰클큼큽킁키킥킨킬킴킵킷킹타탁탄탈탉탐탑탓탔탕태택탠탤탬탭탯탰탱탸턍터턱턴털턺텀텁텃텄텅테텍텐텔템텝텟텡텨텬텼톄톈토톡톤톨톰톱톳통톺톼퇀퇘퇴퇸툇툉툐투툭툰툴툼툽툿퉁퉈퉜�".split("");for(a=0;a!=t[197].length;++a)if(t[197][a].charCodeAt(0)!==65533){r[t[197][a]]=50432+a;e[50432+a]=t[197][a]}t[198]="�����������������������������������������������������������������힍힎힏힑힒힓힔힕힖힗힚힜힞힟힠힡힢힣������������������������������������������������������������������������������퉤튀튁튄튈튐튑튕튜튠튤튬튱트특튼튿틀틂틈틉틋틔틘틜틤틥티틱틴틸팀팁팃팅파팍팎판팔팖팜팝팟팠팡팥패팩팬팰팸팹팻팼팽퍄퍅퍼퍽펀펄펌펍펏펐펑페펙펜펠펨펩펫펭펴편펼폄폅폈평폐폘폡폣포폭폰폴폼폽폿퐁�".split("");for(a=0;a!=t[198].length;++a)if(t[198][a].charCodeAt(0)!==65533){r[t[198][a]]=50688+a;e[50688+a]=t[198][a]}t[199]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������퐈퐝푀푄표푠푤푭푯푸푹푼푿풀풂품풉풋풍풔풩퓌퓐퓔퓜퓟퓨퓬퓰퓸퓻퓽프픈플픔픕픗피픽핀필핌핍핏핑하학한할핥함합핫항해핵핸핼햄햅햇했행햐향허헉헌헐헒험헙헛헝헤헥헨헬헴헵헷헹혀혁현혈혐협혓혔형혜혠�".split("");for(a=0;a!=t[199].length;++a)if(t[199][a].charCodeAt(0)!==65533){r[t[199][a]]=50944+a;e[50944+a]=t[199][a]}t[200]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������혤혭호혹혼홀홅홈홉홋홍홑화확환활홧황홰홱홴횃횅회획횐횔횝횟횡효횬횰횹횻후훅훈훌훑훔훗훙훠훤훨훰훵훼훽휀휄휑휘휙휜휠휨휩휫휭휴휵휸휼흄흇흉흐흑흔흖흗흘흙흠흡흣흥흩희흰흴흼흽힁히힉힌힐힘힙힛힝�".split("");for(a=0;a!=t[200].length;++a)if(t[200][a].charCodeAt(0)!==65533){r[t[200][a]]=51200+a;e[51200+a]=t[200][a]}t[202]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������伽佳假價加可呵哥嘉嫁家暇架枷柯歌珂痂稼苛茄街袈訶賈跏軻迦駕刻却各恪慤殼珏脚覺角閣侃刊墾奸姦干幹懇揀杆柬桿澗癎看磵稈竿簡肝艮艱諫間乫喝曷渴碣竭葛褐蝎鞨勘坎堪嵌感憾戡敢柑橄減甘疳監瞰紺邯鑑鑒龕�".split("");for(a=0;a!=t[202].length;++a)if(t[202][a].charCodeAt(0)!==65533){r[t[202][a]]=51712+a;e[51712+a]=t[202][a]}t[203]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������匣岬甲胛鉀閘剛堈姜岡崗康强彊慷江畺疆糠絳綱羌腔舡薑襁講鋼降鱇介价個凱塏愷愾慨改槪漑疥皆盖箇芥蓋豈鎧開喀客坑更粳羹醵倨去居巨拒据據擧渠炬祛距踞車遽鉅鋸乾件健巾建愆楗腱虔蹇鍵騫乞傑杰桀儉劍劒檢�".split("");for(a=0;a!=t[203].length;++a)if(t[203][a].charCodeAt(0)!==65533){r[t[203][a]]=51968+a;e[51968+a]=t[203][a]}t[204]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������瞼鈐黔劫怯迲偈憩揭擊格檄激膈覡隔堅牽犬甄絹繭肩見譴遣鵑抉決潔結缺訣兼慊箝謙鉗鎌京俓倞傾儆勁勍卿坰境庚徑慶憬擎敬景暻更梗涇炅烱璟璥瓊痙硬磬竟競絅經耕耿脛莖警輕逕鏡頃頸驚鯨係啓堺契季屆悸戒桂械�".split("");for(a=0;a!=t[204].length;++a)if(t[204][a].charCodeAt(0)!==65533){r[t[204][a]]=52224+a;e[52224+a]=t[204][a]}t[205]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������棨溪界癸磎稽系繫繼計誡谿階鷄古叩告呱固姑孤尻庫拷攷故敲暠枯槁沽痼皐睾稿羔考股膏苦苽菰藁蠱袴誥賈辜錮雇顧高鼓哭斛曲梏穀谷鵠困坤崑昆梱棍滾琨袞鯤汨滑骨供公共功孔工恐恭拱控攻珙空蚣貢鞏串寡戈果瓜�".split("");for(a=0;a!=t[205].length;++a)if(t[205][a].charCodeAt(0)!==65533){r[t[205][a]]=52480+a;e[52480+a]=t[205][a]}t[206]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������科菓誇課跨過鍋顆廓槨藿郭串冠官寬慣棺款灌琯瓘管罐菅觀貫關館刮恝括适侊光匡壙廣曠洸炚狂珖筐胱鑛卦掛罫乖傀塊壞怪愧拐槐魁宏紘肱轟交僑咬喬嬌嶠巧攪敎校橋狡皎矯絞翹膠蕎蛟較轎郊餃驕鮫丘久九仇俱具勾�".split("");for(a=0;a!=t[206].length;++a)if(t[206][a].charCodeAt(0)!==65533){r[t[206][a]]=52736+a;e[52736+a]=t[206][a]}t[207]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������區口句咎嘔坵垢寇嶇廐懼拘救枸柩構歐毆毬求溝灸狗玖球瞿矩究絿耉臼舅舊苟衢謳購軀逑邱鉤銶駒驅鳩鷗龜國局菊鞠鞫麴君窘群裙軍郡堀屈掘窟宮弓穹窮芎躬倦券勸卷圈拳捲權淃眷厥獗蕨蹶闕机櫃潰詭軌饋句晷歸貴�".split("");for(a=0;a!=t[207].length;++a)if(t[207][a].charCodeAt(0)!==65533){r[t[207][a]]=52992+a;e[52992+a]=t[207][a]}t[208]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������鬼龜叫圭奎揆槻珪硅窺竅糾葵規赳逵閨勻均畇筠菌鈞龜橘克剋劇戟棘極隙僅劤勤懃斤根槿瑾筋芹菫覲謹近饉契今妗擒昑檎琴禁禽芩衾衿襟金錦伋及急扱汲級給亘兢矜肯企伎其冀嗜器圻基埼夔奇妓寄岐崎己幾忌技旗旣�".split("");for(a=0;a!=t[208].length;++a)if(t[208][a].charCodeAt(0)!==65533){r[t[208][a]]=53248+a;e[53248+a]=t[208][a]}t[209]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������朞期杞棋棄機欺氣汽沂淇玘琦琪璂璣畸畿碁磯祁祇祈祺箕紀綺羈耆耭肌記譏豈起錡錤飢饑騎騏驥麒緊佶吉拮桔金喫儺喇奈娜懦懶拏拿癩羅蘿螺裸邏那樂洛烙珞落諾酪駱亂卵暖欄煖爛蘭難鸞捏捺南嵐枏楠湳濫男藍襤拉�".split("");for(a=0;a!=t[209].length;++a)if(t[209][a].charCodeAt(0)!==65533){r[t[209][a]]=53504+a;e[53504+a]=t[209][a]}t[210]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������納臘蠟衲囊娘廊朗浪狼郎乃來內奈柰耐冷女年撚秊念恬拈捻寧寗努勞奴弩怒擄櫓爐瑙盧老蘆虜路露駑魯鷺碌祿綠菉錄鹿論壟弄濃籠聾膿農惱牢磊腦賂雷尿壘屢樓淚漏累縷陋嫩訥杻紐勒肋凜凌稜綾能菱陵尼泥匿溺多茶�".split("");for(a=0;a!=t[210].length;++a)if(t[210][a].charCodeAt(0)!==65533){r[t[210][a]]=53760+a;e[53760+a]=t[210][a]}t[211]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������丹亶但單團壇彖斷旦檀段湍短端簞緞蛋袒鄲鍛撻澾獺疸達啖坍憺擔曇淡湛潭澹痰聃膽蕁覃談譚錟沓畓答踏遝唐堂塘幢戇撞棠當糖螳黨代垈坮大對岱帶待戴擡玳臺袋貸隊黛宅德悳倒刀到圖堵塗導屠島嶋度徒悼挑掉搗桃�".split("");for(a=0;a!=t[211].length;++a)if(t[211][a].charCodeAt(0)!==65533){r[t[211][a]]=54016+a;e[54016+a]=t[211][a]}t[212]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������棹櫂淘渡滔濤燾盜睹禱稻萄覩賭跳蹈逃途道都鍍陶韜毒瀆牘犢獨督禿篤纛讀墩惇敦旽暾沌焞燉豚頓乭突仝冬凍動同憧東桐棟洞潼疼瞳童胴董銅兜斗杜枓痘竇荳讀豆逗頭屯臀芚遁遯鈍得嶝橙燈登等藤謄鄧騰喇懶拏癩羅�".split("");for(a=0;a!=t[212].length;++a)if(t[212][a].charCodeAt(0)!==65533){r[t[212][a]]=54272+a;e[54272+a]=t[212][a]}t[213]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������蘿螺裸邏樂洛烙珞絡落諾酪駱丹亂卵欄欒瀾爛蘭鸞剌辣嵐擥攬欖濫籃纜藍襤覽拉臘蠟廊朗浪狼琅瑯螂郞來崍徠萊冷掠略亮倆兩凉梁樑粮粱糧良諒輛量侶儷勵呂廬慮戾旅櫚濾礪藜蠣閭驢驪麗黎力曆歷瀝礫轢靂憐戀攣漣�".split("");for(a=0;a!=t[213].length;++a)if(t[213][a].charCodeAt(0)!==65533){r[t[213][a]]=54528+a;e[54528+a]=t[213][a]}t[214]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������煉璉練聯蓮輦連鍊冽列劣洌烈裂廉斂殮濂簾獵令伶囹寧岺嶺怜玲笭羚翎聆逞鈴零靈領齡例澧禮醴隷勞怒撈擄櫓潞瀘爐盧老蘆虜路輅露魯鷺鹵碌祿綠菉錄鹿麓論壟弄朧瀧瓏籠聾儡瀨牢磊賂賚賴雷了僚寮廖料燎療瞭聊蓼�".split("");for(a=0;a!=t[214].length;++a)if(t[214][a].charCodeAt(0)!==65533){r[t[214][a]]=54784+a;e[54784+a]=t[214][a]}t[215]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������遼鬧龍壘婁屢樓淚漏瘻累縷蔞褸鏤陋劉旒柳榴流溜瀏琉瑠留瘤硫謬類六戮陸侖倫崙淪綸輪律慄栗率隆勒肋凜凌楞稜綾菱陵俚利厘吏唎履悧李梨浬犁狸理璃異痢籬罹羸莉裏裡里釐離鯉吝潾燐璘藺躪隣鱗麟林淋琳臨霖砬�".split("");for(a=0;a!=t[215].length;++a)if(t[215][a].charCodeAt(0)!==65533){r[t[215][a]]=55040+a;e[55040+a]=t[215][a]}t[216]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������立笠粒摩瑪痲碼磨馬魔麻寞幕漠膜莫邈万卍娩巒彎慢挽晩曼滿漫灣瞞萬蔓蠻輓饅鰻唜抹末沫茉襪靺亡妄忘忙望網罔芒茫莽輞邙埋妹媒寐昧枚梅每煤罵買賣邁魅脈貊陌驀麥孟氓猛盲盟萌冪覓免冕勉棉沔眄眠綿緬面麵滅�".split("");for(a=0;a!=t[216].length;++a)if(t[216][a].charCodeAt(0)!==65533){r[t[216][a]]=55296+a;e[55296+a]=t[216][a]}t[217]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������蔑冥名命明暝椧溟皿瞑茗蓂螟酩銘鳴袂侮冒募姆帽慕摸摹暮某模母毛牟牡瑁眸矛耗芼茅謀謨貌木沐牧目睦穆鶩歿沒夢朦蒙卯墓妙廟描昴杳渺猫竗苗錨務巫憮懋戊拇撫无楙武毋無珷畝繆舞茂蕪誣貿霧鵡墨默們刎吻問文�".split("");for(a=0;a!=t[217].length;++a)if(t[217][a].charCodeAt(0)!==65533){r[t[217][a]]=55552+a;e[55552+a]=t[217][a]}t[218]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������汶紊紋聞蚊門雯勿沕物味媚尾嵋彌微未梶楣渼湄眉米美薇謎迷靡黴岷悶愍憫敏旻旼民泯玟珉緡閔密蜜謐剝博拍搏撲朴樸泊珀璞箔粕縛膊舶薄迫雹駁伴半反叛拌搬攀斑槃泮潘班畔瘢盤盼磐磻礬絆般蟠返頒飯勃拔撥渤潑�".split("");for(a=0;a!=t[218].length;++a)if(t[218][a].charCodeAt(0)!==65533){r[t[218][a]]=55808+a;e[55808+a]=t[218][a]}t[219]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������發跋醱鉢髮魃倣傍坊妨尨幇彷房放方旁昉枋榜滂磅紡肪膀舫芳蒡蚌訪謗邦防龐倍俳北培徘拜排杯湃焙盃背胚裴裵褙賠輩配陪伯佰帛柏栢白百魄幡樊煩燔番磻繁蕃藩飜伐筏罰閥凡帆梵氾汎泛犯範范法琺僻劈壁擘檗璧癖�".split("");for(a=0;a!=t[219].length;++a)if(t[219][a].charCodeAt(0)!==65533){r[t[219][a]]=56064+a;e[56064+a]=t[219][a]}t[220]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������碧蘗闢霹便卞弁變辨辯邊別瞥鱉鼈丙倂兵屛幷昞昺柄棅炳甁病秉竝輧餠騈保堡報寶普步洑湺潽珤甫菩補褓譜輔伏僕匐卜宓復服福腹茯蔔複覆輹輻馥鰒本乶俸奉封峯峰捧棒烽熢琫縫蓬蜂逢鋒鳳不付俯傅剖副否咐埠夫婦�".split("");for(a=0;a!=t[220].length;++a)if(t[220][a].charCodeAt(0)!==65533){r[t[220][a]]=56320+a;e[56320+a]=t[220][a]}t[221]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������孚孵富府復扶敷斧浮溥父符簿缶腐腑膚艀芙莩訃負賦賻赴趺部釜阜附駙鳧北分吩噴墳奔奮忿憤扮昐汾焚盆粉糞紛芬賁雰不佛弗彿拂崩朋棚硼繃鵬丕備匕匪卑妃婢庇悲憊扉批斐枇榧比毖毗毘沸泌琵痺砒碑秕秘粃緋翡肥�".split("");for(a=0;a!=t[221].length;++a)if(t[221][a].charCodeAt(0)!==65533){r[t[221][a]]=56576+a;e[56576+a]=t[221][a]}t[222]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������脾臂菲蜚裨誹譬費鄙非飛鼻嚬嬪彬斌檳殯浜濱瀕牝玭貧賓頻憑氷聘騁乍事些仕伺似使俟僿史司唆嗣四士奢娑寫寺射巳師徙思捨斜斯柶査梭死沙泗渣瀉獅砂社祀祠私篩紗絲肆舍莎蓑蛇裟詐詞謝賜赦辭邪飼駟麝削數朔索�".split("");for(a=0;a!=t[222].length;++a)if(t[222][a].charCodeAt(0)!==65533){r[t[222][a]]=56832+a;e[56832+a]=t[222][a]}t[223]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������傘刪山散汕珊産疝算蒜酸霰乷撒殺煞薩三參杉森渗芟蔘衫揷澁鈒颯上傷像償商喪嘗孀尙峠常床庠廂想桑橡湘爽牀狀相祥箱翔裳觴詳象賞霜塞璽賽嗇塞穡索色牲生甥省笙墅壻嶼序庶徐恕抒捿敍暑曙書栖棲犀瑞筮絮緖署�".split("");for(a=0;a!=t[223].length;++a)if(t[223][a].charCodeAt(0)!==65533){r[t[223][a]]=57088+a;e[57088+a]=t[223][a]}t[224]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������胥舒薯西誓逝鋤黍鼠夕奭席惜昔晳析汐淅潟石碩蓆釋錫仙僊先善嬋宣扇敾旋渲煽琁瑄璇璿癬禪線繕羨腺膳船蘚蟬詵跣選銑鐥饍鮮卨屑楔泄洩渫舌薛褻設說雪齧剡暹殲纖蟾贍閃陝攝涉燮葉城姓宬性惺成星晟猩珹盛省筬�".split("");for(a=0;a!=t[224].length;++a)if(t[224][a].charCodeAt(0)!==65533){r[t[224][a]]=57344+a;e[57344+a]=t[224][a]}t[225]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������聖聲腥誠醒世勢歲洗稅笹細說貰召嘯塑宵小少巢所掃搔昭梳沼消溯瀟炤燒甦疏疎瘙笑篠簫素紹蔬蕭蘇訴逍遡邵銷韶騷俗屬束涑粟續謖贖速孫巽損蓀遜飡率宋悚松淞訟誦送頌刷殺灑碎鎖衰釗修受嗽囚垂壽嫂守岫峀帥愁�".split("");for(a=0;a!=t[225].length;++a)if(t[225][a].charCodeAt(0)!==65533){r[t[225][a]]=57600+a;e[57600+a]=t[225][a]}t[226]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������戍手授搜收數樹殊水洙漱燧狩獸琇璲瘦睡秀穗竪粹綏綬繡羞脩茱蒐蓚藪袖誰讐輸遂邃酬銖銹隋隧隨雖需須首髓鬚叔塾夙孰宿淑潚熟琡璹肅菽巡徇循恂旬栒楯橓殉洵淳珣盾瞬筍純脣舜荀蓴蕣詢諄醇錞順馴戌術述鉥崇崧�".split("");for(a=0;a!=t[226].length;++a)if(t[226][a].charCodeAt(0)!==65533){r[t[226][a]]=57856+a;e[57856+a]=t[226][a]}t[227]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������嵩瑟膝蝨濕拾習褶襲丞乘僧勝升承昇繩蠅陞侍匙嘶始媤尸屎屍市弑恃施是時枾柴猜矢示翅蒔蓍視試詩諡豕豺埴寔式息拭植殖湜熄篒蝕識軾食飾伸侁信呻娠宸愼新晨燼申神紳腎臣莘薪藎蜃訊身辛辰迅失室實悉審尋心沁�".split("");for(a=0;a!=t[227].length;++a)if(t[227][a].charCodeAt(0)!==65533){r[t[227][a]]=58112+a;e[58112+a]=t[227][a]}t[228]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������沈深瀋甚芯諶什十拾雙氏亞俄兒啞娥峨我牙芽莪蛾衙訝阿雅餓鴉鵝堊岳嶽幄惡愕握樂渥鄂鍔顎鰐齷安岸按晏案眼雁鞍顔鮟斡謁軋閼唵岩巖庵暗癌菴闇壓押狎鴨仰央怏昻殃秧鴦厓哀埃崖愛曖涯碍艾隘靄厄扼掖液縊腋額�".split("");for(a=0;a!=t[228].length;++a)if(t[228][a].charCodeAt(0)!==65533){r[t[228][a]]=58368+a;e[58368+a]=t[228][a]}t[229]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������櫻罌鶯鸚也倻冶夜惹揶椰爺耶若野弱掠略約若葯蒻藥躍亮佯兩凉壤孃恙揚攘敭暘梁楊樣洋瀁煬痒瘍禳穰糧羊良襄諒讓釀陽量養圄御於漁瘀禦語馭魚齬億憶抑檍臆偃堰彦焉言諺孼蘖俺儼嚴奄掩淹嶪業円予余勵呂女如廬�".split("");for(a=0;a!=t[229].length;++a)if(t[229][a].charCodeAt(0)!==65533){r[t[229][a]]=58624+a;e[58624+a]=t[229][a]}t[230]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������旅歟汝濾璵礖礪與艅茹輿轝閭餘驪麗黎亦力域役易曆歷疫繹譯轢逆驛嚥堧姸娟宴年延憐戀捐挻撚椽沇沿涎涓淵演漣烟然煙煉燃燕璉硏硯秊筵緣練縯聯衍軟輦蓮連鉛鍊鳶列劣咽悅涅烈熱裂說閱厭廉念捻染殮炎焰琰艶苒�".split("");for(a=0;a!=t[230].length;++a)if(t[230][a].charCodeAt(0)!==65533){r[t[230][a]]=58880+a;e[58880+a]=t[230][a]}t[231]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������簾閻髥鹽曄獵燁葉令囹塋寧嶺嶸影怜映暎楹榮永泳渶潁濚瀛瀯煐營獰玲瑛瑩瓔盈穎纓羚聆英詠迎鈴鍈零霙靈領乂倪例刈叡曳汭濊猊睿穢芮藝蘂禮裔詣譽豫醴銳隸霓預五伍俉傲午吾吳嗚塢墺奧娛寤悟惡懊敖旿晤梧汚澳�".split("");for(a=0;a!=t[231].length;++a)if(t[231][a].charCodeAt(0)!==65533){r[t[231][a]]=59136+a;e[59136+a]=t[231][a]}t[232]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������烏熬獒筽蜈誤鰲鼇屋沃獄玉鈺溫瑥瘟穩縕蘊兀壅擁瓮甕癰翁邕雍饔渦瓦窩窪臥蛙蝸訛婉完宛梡椀浣玩琓琬碗緩翫脘腕莞豌阮頑曰往旺枉汪王倭娃歪矮外嵬巍猥畏了僚僥凹堯夭妖姚寥寮尿嶢拗搖撓擾料曜樂橈燎燿瑤療�".split("");for(a=0;a!=t[232].length;++a)if(t[232][a].charCodeAt(0)!==65533){r[t[232][a]]=59392+a;e[59392+a]=t[232][a]}t[233]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������窈窯繇繞耀腰蓼蟯要謠遙遼邀饒慾欲浴縟褥辱俑傭冗勇埇墉容庸慂榕涌湧溶熔瑢用甬聳茸蓉踊鎔鏞龍于佑偶優又友右宇寓尤愚憂旴牛玗瑀盂祐禑禹紆羽芋藕虞迂遇郵釪隅雨雩勖彧旭昱栯煜稶郁頊云暈橒殞澐熉耘芸蕓�".split("");for(a=0;a!=t[233].length;++a)if(t[233][a].charCodeAt(0)!==65533){r[t[233][a]]=59648+a;e[59648+a]=t[233][a]}t[234]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������運隕雲韻蔚鬱亐熊雄元原員圓園垣媛嫄寃怨愿援沅洹湲源爰猿瑗苑袁轅遠阮院願鴛月越鉞位偉僞危圍委威尉慰暐渭爲瑋緯胃萎葦蔿蝟衛褘謂違韋魏乳侑儒兪劉唯喩孺宥幼幽庾悠惟愈愉揄攸有杻柔柚柳楡楢油洧流游溜�".split("");for(a=0;a!=t[234].length;++a)if(t[234][a].charCodeAt(0)!==65533){r[t[234][a]]=59904+a;e[59904+a]=t[234][a]}t[235]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������濡猶猷琉瑜由留癒硫紐維臾萸裕誘諛諭踰蹂遊逾遺酉釉鍮類六堉戮毓肉育陸倫允奫尹崙淪潤玧胤贇輪鈗閏律慄栗率聿戎瀜絨融隆垠恩慇殷誾銀隱乙吟淫蔭陰音飮揖泣邑凝應膺鷹依倚儀宜意懿擬椅毅疑矣義艤薏蟻衣誼�".split("");for(a=0;a!=t[235].length;++a)if(t[235][a].charCodeAt(0)!==65533){r[t[235][a]]=60160+a;e[60160+a]=t[235][a]}t[236]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������議醫二以伊利吏夷姨履已弛彛怡易李梨泥爾珥理異痍痢移罹而耳肄苡荑裏裡貽貳邇里離飴餌匿溺瀷益翊翌翼謚人仁刃印吝咽因姻寅引忍湮燐璘絪茵藺蚓認隣靭靷鱗麟一佚佾壹日溢逸鎰馹任壬妊姙恁林淋稔臨荏賃入卄�".split("");for(a=0;a!=t[236].length;++a)if(t[236][a].charCodeAt(0)!==65533){r[t[236][a]]=60416+a;e[60416+a]=t[236][a]}t[237]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������立笠粒仍剩孕芿仔刺咨姉姿子字孜恣慈滋炙煮玆瓷疵磁紫者自茨蔗藉諮資雌作勺嚼斫昨灼炸爵綽芍酌雀鵲孱棧殘潺盞岑暫潛箴簪蠶雜丈仗匠場墻壯奬將帳庄張掌暲杖樟檣欌漿牆狀獐璋章粧腸臟臧莊葬蔣薔藏裝贓醬長�".split("");for(a=0;a!=t[237].length;++a)if(t[237][a].charCodeAt(0)!==65533){r[t[237][a]]=60672+a;e[60672+a]=t[237][a]}t[238]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������障再哉在宰才材栽梓渽滓災縡裁財載齋齎爭箏諍錚佇低儲咀姐底抵杵楮樗沮渚狙猪疽箸紵苧菹著藷詛貯躇這邸雎齟勣吊嫡寂摘敵滴狄炙的積笛籍績翟荻謫賊赤跡蹟迪迹適鏑佃佺傳全典前剪塡塼奠專展廛悛戰栓殿氈澱�".split("");for(a=0;a!=t[238].length;++a)if(t[238][a].charCodeAt(0)!==65533){r[t[238][a]]=60928+a;e[60928+a]=t[238][a]}t[239]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������煎琠田甸畑癲筌箋箭篆纏詮輾轉鈿銓錢鐫電顚顫餞切截折浙癤竊節絶占岾店漸点粘霑鮎點接摺蝶丁井亭停偵呈姃定幀庭廷征情挺政整旌晶晸柾楨檉正汀淀淨渟湞瀞炡玎珽町睛碇禎程穽精綎艇訂諪貞鄭酊釘鉦鋌錠霆靖�".split("");for(a=0;a!=t[239].length;++a)if(t[239][a].charCodeAt(0)!==65533){r[t[239][a]]=61184+a;e[61184+a]=t[239][a]}t[240]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������靜頂鼎制劑啼堤帝弟悌提梯濟祭第臍薺製諸蹄醍除際霽題齊俎兆凋助嘲弔彫措操早晁曺曹朝條棗槽漕潮照燥爪璪眺祖祚租稠窕粗糟組繰肇藻蚤詔調趙躁造遭釣阻雕鳥族簇足鏃存尊卒拙猝倧宗從悰慫棕淙琮種終綜縱腫�".split("");for(a=0;a!=t[240].length;++a)if(t[240][a].charCodeAt(0)!==65533){r[t[240][a]]=61440+a;e[61440+a]=t[240][a]}t[241]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������踪踵鍾鐘佐坐左座挫罪主住侏做姝胄呪周嗾奏宙州廚晝朱柱株注洲湊澍炷珠疇籌紂紬綢舟蛛註誅走躊輳週酎酒鑄駐竹粥俊儁准埈寯峻晙樽浚準濬焌畯竣蠢逡遵雋駿茁中仲衆重卽櫛楫汁葺增憎曾拯烝甑症繒蒸證贈之只�".split("");for(a=0;a!=t[241].length;++a)if(t[241][a].charCodeAt(0)!==65533){r[t[241][a]]=61696+a;e[61696+a]=t[241][a]}t[242]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������咫地址志持指摯支旨智枝枳止池沚漬知砥祉祗紙肢脂至芝芷蜘誌識贄趾遲直稙稷織職唇嗔塵振搢晉晋桭榛殄津溱珍瑨璡畛疹盡眞瞋秦縉縝臻蔯袗診賑軫辰進鎭陣陳震侄叱姪嫉帙桎瓆疾秩窒膣蛭質跌迭斟朕什執潗緝輯�".split("");for(a=0;a!=t[242].length;++a)if(t[242][a].charCodeAt(0)!==65533){r[t[242][a]]=61952+a;e[61952+a]=t[242][a]}t[243]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������鏶集徵懲澄且侘借叉嗟嵯差次此磋箚茶蹉車遮捉搾着窄錯鑿齪撰澯燦璨瓚竄簒纂粲纘讚贊鑽餐饌刹察擦札紮僭參塹慘慙懺斬站讒讖倉倡創唱娼廠彰愴敞昌昶暢槍滄漲猖瘡窓脹艙菖蒼債埰寀寨彩採砦綵菜蔡采釵冊柵策�".split("");for(a=0;a!=t[243].length;++a)if(t[243][a].charCodeAt(0)!==65533){r[t[243][a]]=62208+a;e[62208+a]=t[243][a]}t[244]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������責凄妻悽處倜刺剔尺慽戚拓擲斥滌瘠脊蹠陟隻仟千喘天川擅泉淺玔穿舛薦賤踐遷釧闡阡韆凸哲喆徹撤澈綴輟轍鐵僉尖沾添甛瞻簽籤詹諂堞妾帖捷牒疊睫諜貼輒廳晴淸聽菁請靑鯖切剃替涕滯締諦逮遞體初剿哨憔抄招梢�".split("");for(a=0;a!=t[244].length;++a)if(t[244][a].charCodeAt(0)!==65533){r[t[244][a]]=62464+a;e[62464+a]=t[244][a]}t[245]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������椒楚樵炒焦硝礁礎秒稍肖艸苕草蕉貂超酢醋醮促囑燭矗蜀觸寸忖村邨叢塚寵悤憁摠總聰蔥銃撮催崔最墜抽推椎楸樞湫皺秋芻萩諏趨追鄒酋醜錐錘鎚雛騶鰍丑畜祝竺筑築縮蓄蹙蹴軸逐春椿瑃出朮黜充忠沖蟲衝衷悴膵萃�".split("");for(a=0;a!=t[245].length;++a)if(t[245][a].charCodeAt(0)!==65533){r[t[245][a]]=62720+a;e[62720+a]=t[245][a]}t[246]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������贅取吹嘴娶就炊翠聚脆臭趣醉驟鷲側仄厠惻測層侈値嗤峙幟恥梔治淄熾痔痴癡稚穉緇緻置致蚩輜雉馳齒則勅飭親七柒漆侵寢枕沈浸琛砧針鍼蟄秤稱快他咤唾墮妥惰打拖朶楕舵陀馱駝倬卓啄坼度托拓擢晫柝濁濯琢琸託�".split("");for(a=0;a!=t[246].length;++a)if(t[246][a].charCodeAt(0)!==65533){r[t[246][a]]=62976+a;e[62976+a]=t[246][a]}t[247]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������鐸呑嘆坦彈憚歎灘炭綻誕奪脫探眈耽貪塔搭榻宕帑湯糖蕩兌台太怠態殆汰泰笞胎苔跆邰颱宅擇澤撑攄兎吐土討慟桶洞痛筒統通堆槌腿褪退頹偸套妬投透鬪慝特闖坡婆巴把播擺杷波派爬琶破罷芭跛頗判坂板版瓣販辦鈑�".split("");for(a=0;a!=t[247].length;++a)if(t[247][a].charCodeAt(0)!==65533){r[t[247][a]]=63232+a;e[63232+a]=t[247][a]}t[248]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������阪八叭捌佩唄悖敗沛浿牌狽稗覇貝彭澎烹膨愎便偏扁片篇編翩遍鞭騙貶坪平枰萍評吠嬖幣廢弊斃肺蔽閉陛佈包匍匏咆哺圃布怖抛抱捕暴泡浦疱砲胞脯苞葡蒲袍褒逋鋪飽鮑幅暴曝瀑爆輻俵剽彪慓杓標漂瓢票表豹飇飄驃�".split("");for(a=0;a!=t[248].length;++a)if(t[248][a].charCodeAt(0)!==65533){r[t[248][a]]=63488+a;e[63488+a]=t[248][a]}t[249]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������品稟楓諷豊風馮彼披疲皮被避陂匹弼必泌珌畢疋筆苾馝乏逼下何厦夏廈昰河瑕荷蝦賀遐霞鰕壑學虐謔鶴寒恨悍旱汗漢澣瀚罕翰閑閒限韓割轄函含咸啣喊檻涵緘艦銜陷鹹合哈盒蛤閤闔陜亢伉姮嫦巷恒抗杭桁沆港缸肛航�".split("");for(a=0;a!=t[249].length;++a)if(t[249][a].charCodeAt(0)!==65533){r[t[249][a]]=63744+a;e[63744+a]=t[249][a]}t[250]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������行降項亥偕咳垓奚孩害懈楷海瀣蟹解該諧邂駭骸劾核倖幸杏荇行享向嚮珦鄕響餉饗香噓墟虛許憲櫶獻軒歇險驗奕爀赫革俔峴弦懸晛泫炫玄玹現眩睍絃絢縣舷衒見賢鉉顯孑穴血頁嫌俠協夾峽挾浹狹脅脇莢鋏頰亨兄刑型�".split("");for(a=0;a!=t[250].length;++a)if(t[250][a].charCodeAt(0)!==65533){r[t[250][a]]=64e3+a;e[64e3+a]=t[250][a]}t[251]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������形泂滎瀅灐炯熒珩瑩荊螢衡逈邢鎣馨兮彗惠慧暳蕙蹊醯鞋乎互呼壕壺好岵弧戶扈昊晧毫浩淏湖滸澔濠濩灝狐琥瑚瓠皓祜糊縞胡芦葫蒿虎號蝴護豪鎬頀顥惑或酷婚昏混渾琿魂忽惚笏哄弘汞泓洪烘紅虹訌鴻化和嬅樺火畵�".split("");for(a=0;a!=t[251].length;++a)if(t[251][a].charCodeAt(0)!==65533){r[t[251][a]]=64256+a;e[64256+a]=t[251][a]}t[252]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������禍禾花華話譁貨靴廓擴攫確碻穫丸喚奐宦幻患換歡晥桓渙煥環紈還驩鰥活滑猾豁闊凰幌徨恍惶愰慌晃晄榥況湟滉潢煌璜皇篁簧荒蝗遑隍黃匯回廻徊恢悔懷晦會檜淮澮灰獪繪膾茴蛔誨賄劃獲宖橫鐄哮嚆孝效斅曉梟涍淆�".split("");for(a=0;a!=t[252].length;++a)if(t[252][a].charCodeAt(0)!==65533){r[t[252][a]]=64512+a;e[64512+a]=t[252][a]}t[253]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������爻肴酵驍侯候厚后吼喉嗅帿後朽煦珝逅勛勳塤壎焄熏燻薰訓暈薨喧暄煊萱卉喙毁彙徽揮暉煇諱輝麾休携烋畦虧恤譎鷸兇凶匈洶胸黑昕欣炘痕吃屹紇訖欠欽歆吸恰洽翕興僖凞喜噫囍姬嬉希憙憘戱晞曦熙熹熺犧禧稀羲詰�".split("");for(a=0;a!=t[253].length;++a)if(t[253][a].charCodeAt(0)!==65533){r[t[253][a]]=64768+a;e[64768+a]=t[253][a]}return{enc:r,dec:e}}();cptable[950]=function(){var e=[],r={},t=[],a;t[0]="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~��������������������������������������������������������������������������������������������������������������������������������".split("");for(a=0;a!=t[0].length;++a)if(t[0][a].charCodeAt(0)!==65533){r[t[0][a]]=0+a;e[0+a]=t[0][a]}t[161]="���������������������������������������������������������������� ,、。.‧;:?!︰…‥﹐﹑﹒·﹔﹕﹖﹗|–︱—︳╴︴﹏()︵︶{}︷︸〔〕︹︺【】︻︼《》︽︾〈〉︿﹀「」﹁﹂『』﹃﹄﹙﹚����������������������������������﹛﹜﹝﹞‘’“”〝〞‵′#&*※§〃○●△▲◎☆★◇◆□■▽▼㊣℅¯ ̄_ˍ﹉﹊﹍﹎﹋﹌﹟﹠﹡+-×÷±√<>=≦≧≠∞≒≡﹢﹣﹤﹥﹦~∩∪⊥∠∟⊿㏒㏑∫∮∵∴♀♂⊕⊙↑↓←→↖↗↙↘∥∣/�".split("");for(a=0;a!=t[161].length;++a)if(t[161][a].charCodeAt(0)!==65533){r[t[161][a]]=41216+a;e[41216+a]=t[161][a]}t[162]="����������������������������������������������������������������\∕﹨$¥〒¢£%@℃℉﹩﹪﹫㏕㎜㎝㎞㏎㎡㎎㎏㏄°兙兛兞兝兡兣嗧瓩糎▁▂▃▄▅▆▇█▏▎▍▌▋▊▉┼┴┬┤├▔─│▕┌┐└┘╭����������������������������������╮╰╯═╞╪╡◢◣◥◤╱╲╳0123456789ⅠⅡⅢⅣⅤⅥⅦⅧⅨⅩ〡〢〣〤〥〦〧〨〩十卄卅ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuv�".split("");for(a=0;a!=t[162].length;++a)if(t[162][a].charCodeAt(0)!==65533){r[t[162][a]]=41472+a;e[41472+a]=t[162][a]}t[163]="����������������������������������������������������������������wxyzΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρστυφχψωㄅㄆㄇㄈㄉㄊㄋㄌㄍㄎㄏ����������������������������������ㄐㄑㄒㄓㄔㄕㄖㄗㄘㄙㄚㄛㄜㄝㄞㄟㄠㄡㄢㄣㄤㄥㄦㄧㄨㄩ˙ˉˊˇˋ���������������������������������€������������������������������".split("");for(a=0;a!=t[163].length;++a)if(t[163][a].charCodeAt(0)!==65533){r[t[163][a]]=41728+a;e[41728+a]=t[163][a]}t[164]="����������������������������������������������������������������一乙丁七乃九了二人儿入八几刀刁力匕十卜又三下丈上丫丸凡久么也乞于亡兀刃勺千叉口土士夕大女子孑孓寸小尢尸山川工己已巳巾干廾弋弓才����������������������������������丑丐不中丰丹之尹予云井互五亢仁什仃仆仇仍今介仄元允內六兮公冗凶分切刈勻勾勿化匹午升卅卞厄友及反壬天夫太夭孔少尤尺屯巴幻廿弔引心戈戶手扎支文斗斤方日曰月木欠止歹毋比毛氏水火爪父爻片牙牛犬王丙�".split("");for(a=0;a!=t[164].length;++a)if(t[164][a].charCodeAt(0)!==65533){r[t[164][a]]=41984+a;e[41984+a]=t[164][a]}t[165]="����������������������������������������������������������������世丕且丘主乍乏乎以付仔仕他仗代令仙仞充兄冉冊冬凹出凸刊加功包匆北匝仟半卉卡占卯卮去可古右召叮叩叨叼司叵叫另只史叱台句叭叻四囚外����������������������������������央失奴奶孕它尼巨巧左市布平幼弁弘弗必戊打扔扒扑斥旦朮本未末札正母民氐永汁汀氾犯玄玉瓜瓦甘生用甩田由甲申疋白皮皿目矛矢石示禾穴立丞丟乒乓乩亙交亦亥仿伉伙伊伕伍伐休伏仲件任仰仳份企伋光兇兆先全�".split("");for(a=0;a!=t[165].length;++a)if(t[165][a].charCodeAt(0)!==65533){r[t[165][a]]=42240+a;e[42240+a]=t[165][a]}t[166]="����������������������������������������������������������������共再冰列刑划刎刖劣匈匡匠印危吉吏同吊吐吁吋各向名合吃后吆吒因回囝圳地在圭圬圯圩夙多夷夸妄奸妃好她如妁字存宇守宅安寺尖屹州帆并年����������������������������������式弛忙忖戎戌戍成扣扛托收早旨旬旭曲曳有朽朴朱朵次此死氖汝汗汙江池汐汕污汛汍汎灰牟牝百竹米糸缶羊羽老考而耒耳聿肉肋肌臣自至臼舌舛舟艮色艾虫血行衣西阡串亨位住佇佗佞伴佛何估佐佑伽伺伸佃佔似但佣�".split("");for(a=0;a!=t[166].length;++a)if(t[166][a].charCodeAt(0)!==65533){r[t[166][a]]=42496+a;e[42496+a]=t[166][a]}t[167]="����������������������������������������������������������������作你伯低伶余佝佈佚兌克免兵冶冷別判利刪刨劫助努劬匣即卵吝吭吞吾否呎吧呆呃吳呈呂君吩告吹吻吸吮吵吶吠吼呀吱含吟听囪困囤囫坊坑址坍����������������������������������均坎圾坐坏圻壯夾妝妒妨妞妣妙妖妍妤妓妊妥孝孜孚孛完宋宏尬局屁尿尾岐岑岔岌巫希序庇床廷弄弟彤形彷役忘忌志忍忱快忸忪戒我抄抗抖技扶抉扭把扼找批扳抒扯折扮投抓抑抆改攻攸旱更束李杏材村杜杖杞杉杆杠�".split("");for(a=0;a!=t[167].length;++a)if(t[167][a].charCodeAt(0)!==65533){r[t[167][a]]=42752+a;e[42752+a]=t[167][a]}t[168]="����������������������������������������������������������������杓杗步每求汞沙沁沈沉沅沛汪決沐汰沌汨沖沒汽沃汲汾汴沆汶沍沔沘沂灶灼災灸牢牡牠狄狂玖甬甫男甸皂盯矣私秀禿究系罕肖肓肝肘肛肚育良芒����������������������������������芋芍見角言谷豆豕貝赤走足身車辛辰迂迆迅迄巡邑邢邪邦那酉釆里防阮阱阪阬並乖乳事些亞享京佯依侍佳使佬供例來侃佰併侈佩佻侖佾侏侑佺兔兒兕兩具其典冽函刻券刷刺到刮制剁劾劻卒協卓卑卦卷卸卹取叔受味呵�".split("");for(a=0;a!=t[168].length;++a)if(t[168][a].charCodeAt(0)!==65533){r[t[168][a]]=43008+a;e[43008+a]=t[168][a]}t[169]="����������������������������������������������������������������咖呸咕咀呻呷咄咒咆呼咐呱呶和咚呢周咋命咎固垃坷坪坩坡坦坤坼夜奉奇奈奄奔妾妻委妹妮姑姆姐姍始姓姊妯妳姒姅孟孤季宗定官宜宙宛尚屈居����������������������������������屆岷岡岸岩岫岱岳帘帚帖帕帛帑幸庚店府底庖延弦弧弩往征彿彼忝忠忽念忿怏怔怯怵怖怪怕怡性怩怫怛或戕房戾所承拉拌拄抿拂抹拒招披拓拔拋拈抨抽押拐拙拇拍抵拚抱拘拖拗拆抬拎放斧於旺昔易昌昆昂明昀昏昕昊�".split("");for(a=0;a!=t[169].length;++a)if(t[169][a].charCodeAt(0)!==65533){r[t[169][a]]=43264+a;e[43264+a]=t[169][a]}t[170]="����������������������������������������������������������������昇服朋杭枋枕東果杳杷枇枝林杯杰板枉松析杵枚枓杼杪杲欣武歧歿氓氛泣注泳沱泌泥河沽沾沼波沫法泓沸泄油況沮泗泅泱沿治泡泛泊沬泯泜泖泠����������������������������������炕炎炒炊炙爬爭爸版牧物狀狎狙狗狐玩玨玟玫玥甽疝疙疚的盂盲直知矽社祀祁秉秈空穹竺糾罔羌羋者肺肥肢肱股肫肩肴肪肯臥臾舍芳芝芙芭芽芟芹花芬芥芯芸芣芰芾芷虎虱初表軋迎返近邵邸邱邶采金長門阜陀阿阻附�".split("");for(a=0;a!=t[170].length;++a)if(t[170][a].charCodeAt(0)!==65533){r[t[170][a]]=43520+a;e[43520+a]=t[170][a]}t[171]="����������������������������������������������������������������陂隹雨青非亟亭亮信侵侯便俠俑俏保促侶俘俟俊俗侮俐俄係俚俎俞侷兗冒冑冠剎剃削前剌剋則勇勉勃勁匍南卻厚叛咬哀咨哎哉咸咦咳哇哂咽咪品����������������������������������哄哈咯咫咱咻咩咧咿囿垂型垠垣垢城垮垓奕契奏奎奐姜姘姿姣姨娃姥姪姚姦威姻孩宣宦室客宥封屎屏屍屋峙峒巷帝帥帟幽庠度建弈弭彥很待徊律徇後徉怒思怠急怎怨恍恰恨恢恆恃恬恫恪恤扁拜挖按拼拭持拮拽指拱拷�".split("");for(a=0;a!=t[171].length;++a)if(t[171][a].charCodeAt(0)!==65533){r[t[171][a]]=43776+a;e[43776+a]=t[171][a]}t[172]="����������������������������������������������������������������拯括拾拴挑挂政故斫施既春昭映昧是星昨昱昤曷柿染柱柔某柬架枯柵柩柯柄柑枴柚查枸柏柞柳枰柙柢柝柒歪殃殆段毒毗氟泉洋洲洪流津洌洱洞洗����������������������������������活洽派洶洛泵洹洧洸洩洮洵洎洫炫為炳炬炯炭炸炮炤爰牲牯牴狩狠狡玷珊玻玲珍珀玳甚甭畏界畎畋疫疤疥疢疣癸皆皇皈盈盆盃盅省盹相眉看盾盼眇矜砂研砌砍祆祉祈祇禹禺科秒秋穿突竿竽籽紂紅紀紉紇約紆缸美羿耄�".split("");for(a=0;a!=t[172].length;++a)if(t[172][a].charCodeAt(0)!==65533){r[t[172][a]]=44032+a;e[44032+a]=t[172][a]}t[173]="����������������������������������������������������������������耐耍耑耶胖胥胚胃胄背胡胛胎胞胤胝致舢苧范茅苣苛苦茄若茂茉苒苗英茁苜苔苑苞苓苟苯茆虐虹虻虺衍衫要觔計訂訃貞負赴赳趴軍軌述迦迢迪迥����������������������������������迭迫迤迨郊郎郁郃酋酊重閂限陋陌降面革韋韭音頁風飛食首香乘亳倌倍倣俯倦倥俸倩倖倆值借倚倒們俺倀倔倨俱倡個候倘俳修倭倪俾倫倉兼冤冥冢凍凌准凋剖剜剔剛剝匪卿原厝叟哨唐唁唷哼哥哲唆哺唔哩哭員唉哮哪�".split("");for(a=0;a!=t[173].length;++a)if(t[173][a].charCodeAt(0)!==65533){r[t[173][a]]=44288+a;e[44288+a]=t[173][a]}t[174]="����������������������������������������������������������������哦唧唇哽唏圃圄埂埔埋埃堉夏套奘奚娑娘娜娟娛娓姬娠娣娩娥娌娉孫屘宰害家宴宮宵容宸射屑展屐峭峽峻峪峨峰島崁峴差席師庫庭座弱徒徑徐恙����������������������������������恣恥恐恕恭恩息悄悟悚悍悔悌悅悖扇拳挈拿捎挾振捕捂捆捏捉挺捐挽挪挫挨捍捌效敉料旁旅時晉晏晃晒晌晅晁書朔朕朗校核案框桓根桂桔栩梳栗桌桑栽柴桐桀格桃株桅栓栘桁殊殉殷氣氧氨氦氤泰浪涕消涇浦浸海浙涓�".split("");for(a=0;a!=t[174].length;++a)if(t[174][a].charCodeAt(0)!==65533){r[t[174][a]]=44544+a;e[44544+a]=t[174][a]}t[175]="����������������������������������������������������������������浬涉浮浚浴浩涌涊浹涅浥涔烊烘烤烙烈烏爹特狼狹狽狸狷玆班琉珮珠珪珞畔畝畜畚留疾病症疲疳疽疼疹痂疸皋皰益盍盎眩真眠眨矩砰砧砸砝破砷����������������������������������砥砭砠砟砲祕祐祠祟祖神祝祗祚秤秣秧租秦秩秘窄窈站笆笑粉紡紗紋紊素索純紐紕級紜納紙紛缺罟羔翅翁耆耘耕耙耗耽耿胱脂胰脅胭胴脆胸胳脈能脊胼胯臭臬舀舐航舫舨般芻茫荒荔荊茸荐草茵茴荏茲茹茶茗荀茱茨荃�".split("");for(a=0;a!=t[175].length;++a)if(t[175][a].charCodeAt(0)!==65533){r[t[175][a]]=44800+a;e[44800+a]=t[175][a]}t[176]="����������������������������������������������������������������虔蚊蚪蚓蚤蚩蚌蚣蚜衰衷袁袂衽衹記訐討訌訕訊託訓訖訏訑豈豺豹財貢起躬軒軔軏辱送逆迷退迺迴逃追逅迸邕郡郝郢酒配酌釘針釗釜釙閃院陣陡����������������������������������陛陝除陘陞隻飢馬骨高鬥鬲鬼乾偺偽停假偃偌做偉健偶偎偕偵側偷偏倏偯偭兜冕凰剪副勒務勘動匐匏匙匿區匾參曼商啪啦啄啞啡啃啊唱啖問啕唯啤唸售啜唬啣唳啁啗圈國圉域堅堊堆埠埤基堂堵執培夠奢娶婁婉婦婪婀�".split("");for(a=0;a!=t[176].length;++a)if(t[176][a].charCodeAt(0)!==65533){r[t[176][a]]=45056+a;e[45056+a]=t[176][a]}t[177]="����������������������������������������������������������������娼婢婚婆婊孰寇寅寄寂宿密尉專將屠屜屝崇崆崎崛崖崢崑崩崔崙崤崧崗巢常帶帳帷康庸庶庵庾張強彗彬彩彫得徙從徘御徠徜恿患悉悠您惋悴惦悽����������������������������������情悻悵惜悼惘惕惆惟悸惚惇戚戛扈掠控捲掖探接捷捧掘措捱掩掉掃掛捫推掄授掙採掬排掏掀捻捩捨捺敝敖救教敗啟敏敘敕敔斜斛斬族旋旌旎晝晚晤晨晦晞曹勗望梁梯梢梓梵桿桶梱梧梗械梃棄梭梆梅梔條梨梟梡梂欲殺�".split("");for(a=0;a!=t[177].length;++a)if(t[177][a].charCodeAt(0)!==65533){r[t[177][a]]=45312+a;e[45312+a]=t[177][a]}t[178]="����������������������������������������������������������������毫毬氫涎涼淳淙液淡淌淤添淺清淇淋涯淑涮淞淹涸混淵淅淒渚涵淚淫淘淪深淮淨淆淄涪淬涿淦烹焉焊烽烯爽牽犁猜猛猖猓猙率琅琊球理現琍瓠瓶����������������������������������瓷甜產略畦畢異疏痔痕疵痊痍皎盔盒盛眷眾眼眶眸眺硫硃硎祥票祭移窒窕笠笨笛第符笙笞笮粒粗粕絆絃統紮紹紼絀細紳組累終紲紱缽羞羚翌翎習耜聊聆脯脖脣脫脩脰脤舂舵舷舶船莎莞莘荸莢莖莽莫莒莊莓莉莠荷荻荼�".split("");for(a=0;a!=t[178].length;++a)if(t[178][a].charCodeAt(0)!==65533){r[t[178][a]]=45568+a;e[45568+a]=t[178][a]}t[179]="����������������������������������������������������������������莆莧處彪蛇蛀蚶蛄蚵蛆蛋蚱蚯蛉術袞袈被袒袖袍袋覓規訪訝訣訥許設訟訛訢豉豚販責貫貨貪貧赧赦趾趺軛軟這逍通逗連速逝逐逕逞造透逢逖逛途����������������������������������部郭都酗野釵釦釣釧釭釩閉陪陵陳陸陰陴陶陷陬雀雪雩章竟頂頃魚鳥鹵鹿麥麻傢傍傅備傑傀傖傘傚最凱割剴創剩勞勝勛博厥啻喀喧啼喊喝喘喂喜喪喔喇喋喃喳單喟唾喲喚喻喬喱啾喉喫喙圍堯堪場堤堰報堡堝堠壹壺奠�".split("");for(a=0;a!=t[179].length;++a)if(t[179][a].charCodeAt(0)!==65533){r[t[179][a]]=45824+a;e[45824+a]=t[179][a]}t[180]="����������������������������������������������������������������婷媚婿媒媛媧孳孱寒富寓寐尊尋就嵌嵐崴嵇巽幅帽幀幃幾廊廁廂廄弼彭復循徨惑惡悲悶惠愜愣惺愕惰惻惴慨惱愎惶愉愀愒戟扉掣掌描揀揩揉揆揍����������������������������������插揣提握揖揭揮捶援揪換摒揚揹敞敦敢散斑斐斯普晰晴晶景暑智晾晷曾替期朝棺棕棠棘棗椅棟棵森棧棹棒棲棣棋棍植椒椎棉棚楮棻款欺欽殘殖殼毯氮氯氬港游湔渡渲湧湊渠渥渣減湛湘渤湖湮渭渦湯渴湍渺測湃渝渾滋�".split("");for(a=0;a!=t[180].length;++a)if(t[180][a].charCodeAt(0)!==65533){r[t[180][a]]=46080+a;e[46080+a]=t[180][a]}t[181]="����������������������������������������������������������������溉渙湎湣湄湲湩湟焙焚焦焰無然煮焜牌犄犀猶猥猴猩琺琪琳琢琥琵琶琴琯琛琦琨甥甦畫番痢痛痣痙痘痞痠登發皖皓皴盜睏短硝硬硯稍稈程稅稀窘����������������������������������窗窖童竣等策筆筐筒答筍筋筏筑粟粥絞結絨絕紫絮絲絡給絢絰絳善翔翕耋聒肅腕腔腋腑腎脹腆脾腌腓腴舒舜菩萃菸萍菠菅萋菁華菱菴著萊菰萌菌菽菲菊萸萎萄菜萇菔菟虛蛟蛙蛭蛔蛛蛤蛐蛞街裁裂袱覃視註詠評詞証詁�".split("");for(a=0;a!=t[181].length;++a)if(t[181][a].charCodeAt(0)!==65533){r[t[181][a]]=46336+a;e[46336+a]=t[181][a]}t[182]="����������������������������������������������������������������詔詛詐詆訴診訶詖象貂貯貼貳貽賁費賀貴買貶貿貸越超趁跎距跋跚跑跌跛跆軻軸軼辜逮逵週逸進逶鄂郵鄉郾酣酥量鈔鈕鈣鈉鈞鈍鈐鈇鈑閔閏開閑����������������������������������間閒閎隊階隋陽隅隆隍陲隄雁雅雄集雇雯雲韌項順須飧飪飯飩飲飭馮馭黃黍黑亂傭債傲傳僅傾催傷傻傯僇剿剷剽募勦勤勢勣匯嗟嗨嗓嗦嗎嗜嗇嗑嗣嗤嗯嗚嗡嗅嗆嗥嗉園圓塞塑塘塗塚塔填塌塭塊塢塒塋奧嫁嫉嫌媾媽媼�".split("");for(a=0;a!=t[182].length;++a)if(t[182][a].charCodeAt(0)!==65533){r[t[182][a]]=46592+a;e[46592+a]=t[182][a]}t[183]="����������������������������������������������������������������媳嫂媲嵩嵯幌幹廉廈弒彙徬微愚意慈感想愛惹愁愈慎慌慄慍愾愴愧愍愆愷戡戢搓搾搞搪搭搽搬搏搜搔損搶搖搗搆敬斟新暗暉暇暈暖暄暘暍會榔業����������������������������������楚楷楠楔極椰概楊楨楫楞楓楹榆楝楣楛歇歲毀殿毓毽溢溯滓溶滂源溝滇滅溥溘溼溺溫滑準溜滄滔溪溧溴煎煙煩煤煉照煜煬煦煌煥煞煆煨煖爺牒猷獅猿猾瑯瑚瑕瑟瑞瑁琿瑙瑛瑜當畸瘀痰瘁痲痱痺痿痴痳盞盟睛睫睦睞督�".split("");for(a=0;a!=t[183].length;++a)if(t[183][a].charCodeAt(0)!==65533){r[t[183][a]]=46848+a;e[46848+a]=t[183][a]}t[184]="����������������������������������������������������������������睹睪睬睜睥睨睢矮碎碰碗碘碌碉硼碑碓硿祺祿禁萬禽稜稚稠稔稟稞窟窠筷節筠筮筧粱粳粵經絹綑綁綏絛置罩罪署義羨群聖聘肆肄腱腰腸腥腮腳腫����������������������������������腹腺腦舅艇蒂葷落萱葵葦葫葉葬葛萼萵葡董葩葭葆虞虜號蛹蜓蜈蜇蜀蛾蛻蜂蜃蜆蜊衙裟裔裙補裘裝裡裊裕裒覜解詫該詳試詩詰誇詼詣誠話誅詭詢詮詬詹詻訾詨豢貊貉賊資賈賄貲賃賂賅跡跟跨路跳跺跪跤跦躲較載軾輊�".split(""); for(a=0;a!=t[184].length;++a)if(t[184][a].charCodeAt(0)!==65533){r[t[184][a]]=47104+a;e[47104+a]=t[184][a]}t[185]="����������������������������������������������������������������辟農運遊道遂達逼違遐遇遏過遍遑逾遁鄒鄗酬酪酩釉鈷鉗鈸鈽鉀鈾鉛鉋鉤鉑鈴鉉鉍鉅鈹鈿鉚閘隘隔隕雍雋雉雊雷電雹零靖靴靶預頑頓頊頒頌飼飴����������������������������������飽飾馳馱馴髡鳩麂鼎鼓鼠僧僮僥僖僭僚僕像僑僱僎僩兢凳劃劂匱厭嗾嘀嘛嘗嗽嘔嘆嘉嘍嘎嗷嘖嘟嘈嘐嗶團圖塵塾境墓墊塹墅塽壽夥夢夤奪奩嫡嫦嫩嫗嫖嫘嫣孵寞寧寡寥實寨寢寤察對屢嶄嶇幛幣幕幗幔廓廖弊彆彰徹慇�".split("");for(a=0;a!=t[185].length;++a)if(t[185][a].charCodeAt(0)!==65533){r[t[185][a]]=47360+a;e[47360+a]=t[185][a]}t[186]="����������������������������������������������������������������愿態慷慢慣慟慚慘慵截撇摘摔撤摸摟摺摑摧搴摭摻敲斡旗旖暢暨暝榜榨榕槁榮槓構榛榷榻榫榴槐槍榭槌榦槃榣歉歌氳漳演滾漓滴漩漾漠漬漏漂漢����������������������������������滿滯漆漱漸漲漣漕漫漯澈漪滬漁滲滌滷熔熙煽熊熄熒爾犒犖獄獐瑤瑣瑪瑰瑭甄疑瘧瘍瘋瘉瘓盡監瞄睽睿睡磁碟碧碳碩碣禎福禍種稱窪窩竭端管箕箋筵算箝箔箏箸箇箄粹粽精綻綰綜綽綾綠緊綴網綱綺綢綿綵綸維緒緇綬�".split("");for(a=0;a!=t[186].length;++a)if(t[186][a].charCodeAt(0)!==65533){r[t[186][a]]=47616+a;e[47616+a]=t[186][a]}t[187]="����������������������������������������������������������������罰翠翡翟聞聚肇腐膀膏膈膊腿膂臧臺與舔舞艋蓉蒿蓆蓄蒙蒞蒲蒜蓋蒸蓀蓓蒐蒼蓑蓊蜿蜜蜻蜢蜥蜴蜘蝕蜷蜩裳褂裴裹裸製裨褚裯誦誌語誣認誡誓誤����������������������������������說誥誨誘誑誚誧豪貍貌賓賑賒赫趙趕跼輔輒輕輓辣遠遘遜遣遙遞遢遝遛鄙鄘鄞酵酸酷酴鉸銀銅銘銖鉻銓銜銨鉼銑閡閨閩閣閥閤隙障際雌雒需靼鞅韶頗領颯颱餃餅餌餉駁骯骰髦魁魂鳴鳶鳳麼鼻齊億儀僻僵價儂儈儉儅凜�".split("");for(a=0;a!=t[187].length;++a)if(t[187][a].charCodeAt(0)!==65533){r[t[187][a]]=47872+a;e[47872+a]=t[187][a]}t[188]="����������������������������������������������������������������劇劈劉劍劊勰厲嘮嘻嘹嘲嘿嘴嘩噓噎噗噴嘶嘯嘰墀墟增墳墜墮墩墦奭嬉嫻嬋嫵嬌嬈寮寬審寫層履嶝嶔幢幟幡廢廚廟廝廣廠彈影德徵慶慧慮慝慕憂����������������������������������慼慰慫慾憧憐憫憎憬憚憤憔憮戮摩摯摹撞撲撈撐撰撥撓撕撩撒撮播撫撚撬撙撢撳敵敷數暮暫暴暱樣樟槨樁樞標槽模樓樊槳樂樅槭樑歐歎殤毅毆漿潼澄潑潦潔澆潭潛潸潮澎潺潰潤澗潘滕潯潠潟熟熬熱熨牖犛獎獗瑩璋璃�".split("");for(a=0;a!=t[188].length;++a)if(t[188][a].charCodeAt(0)!==65533){r[t[188][a]]=48128+a;e[48128+a]=t[188][a]}t[189]="����������������������������������������������������������������瑾璀畿瘠瘩瘟瘤瘦瘡瘢皚皺盤瞎瞇瞌瞑瞋磋磅確磊碾磕碼磐稿稼穀稽稷稻窯窮箭箱範箴篆篇篁箠篌糊締練緯緻緘緬緝編緣線緞緩綞緙緲緹罵罷羯����������������������������������翩耦膛膜膝膠膚膘蔗蔽蔚蓮蔬蔭蔓蔑蔣蔡蔔蓬蔥蓿蔆螂蝴蝶蝠蝦蝸蝨蝙蝗蝌蝓衛衝褐複褒褓褕褊誼諒談諄誕請諸課諉諂調誰論諍誶誹諛豌豎豬賠賞賦賤賬賭賢賣賜質賡赭趟趣踫踐踝踢踏踩踟踡踞躺輝輛輟輩輦輪輜輞�".split("");for(a=0;a!=t[189].length;++a)if(t[189][a].charCodeAt(0)!==65533){r[t[189][a]]=48384+a;e[48384+a]=t[189][a]}t[190]="����������������������������������������������������������������輥適遮遨遭遷鄰鄭鄧鄱醇醉醋醃鋅銻銷鋪銬鋤鋁銳銼鋒鋇鋰銲閭閱霄霆震霉靠鞍鞋鞏頡頫頜颳養餓餒餘駝駐駟駛駑駕駒駙骷髮髯鬧魅魄魷魯鴆鴉����������������������������������鴃麩麾黎墨齒儒儘儔儐儕冀冪凝劑劓勳噙噫噹噩噤噸噪器噥噱噯噬噢噶壁墾壇壅奮嬝嬴學寰導彊憲憑憩憊懍憶憾懊懈戰擅擁擋撻撼據擄擇擂操撿擒擔撾整曆曉暹曄曇暸樽樸樺橙橫橘樹橄橢橡橋橇樵機橈歙歷氅濂澱澡�".split("");for(a=0;a!=t[190].length;++a)if(t[190][a].charCodeAt(0)!==65533){r[t[190][a]]=48640+a;e[48640+a]=t[190][a]}t[191]="����������������������������������������������������������������濃澤濁澧澳激澹澶澦澠澴熾燉燐燒燈燕熹燎燙燜燃燄獨璜璣璘璟璞瓢甌甍瘴瘸瘺盧盥瞠瞞瞟瞥磨磚磬磧禦積穎穆穌穋窺篙簑築篤篛篡篩篦糕糖縊����������������������������������縑縈縛縣縞縝縉縐罹羲翰翱翮耨膳膩膨臻興艘艙蕊蕙蕈蕨蕩蕃蕉蕭蕪蕞螃螟螞螢融衡褪褲褥褫褡親覦諦諺諫諱謀諜諧諮諾謁謂諷諭諳諶諼豫豭貓賴蹄踱踴蹂踹踵輻輯輸輳辨辦遵遴選遲遼遺鄴醒錠錶鋸錳錯錢鋼錫錄錚�".split("");for(a=0;a!=t[191].length;++a)if(t[191][a].charCodeAt(0)!==65533){r[t[191][a]]=48896+a;e[48896+a]=t[191][a]}t[192]="����������������������������������������������������������������錐錦錡錕錮錙閻隧隨險雕霎霑霖霍霓霏靛靜靦鞘頰頸頻頷頭頹頤餐館餞餛餡餚駭駢駱骸骼髻髭鬨鮑鴕鴣鴦鴨鴒鴛默黔龍龜優償儡儲勵嚎嚀嚐嚅嚇����������������������������������嚏壕壓壑壎嬰嬪嬤孺尷屨嶼嶺嶽嶸幫彌徽應懂懇懦懋戲戴擎擊擘擠擰擦擬擱擢擭斂斃曙曖檀檔檄檢檜櫛檣橾檗檐檠歜殮毚氈濘濱濟濠濛濤濫濯澀濬濡濩濕濮濰燧營燮燦燥燭燬燴燠爵牆獰獲璩環璦璨癆療癌盪瞳瞪瞰瞬�".split("");for(a=0;a!=t[192].length;++a)if(t[192][a].charCodeAt(0)!==65533){r[t[192][a]]=49152+a;e[49152+a]=t[192][a]}t[193]="����������������������������������������������������������������瞧瞭矯磷磺磴磯礁禧禪穗窿簇簍篾篷簌篠糠糜糞糢糟糙糝縮績繆縷縲繃縫總縱繅繁縴縹繈縵縿縯罄翳翼聱聲聰聯聳臆臃膺臂臀膿膽臉膾臨舉艱薪����������������������������������薄蕾薜薑薔薯薛薇薨薊虧蟀蟑螳蟒蟆螫螻螺蟈蟋褻褶襄褸褽覬謎謗謙講謊謠謝謄謐豁谿豳賺賽購賸賻趨蹉蹋蹈蹊轄輾轂轅輿避遽還邁邂邀鄹醣醞醜鍍鎂錨鍵鍊鍥鍋錘鍾鍬鍛鍰鍚鍔闊闋闌闈闆隱隸雖霜霞鞠韓顆颶餵騁�".split("");for(a=0;a!=t[193].length;++a)if(t[193][a].charCodeAt(0)!==65533){r[t[193][a]]=49408+a;e[49408+a]=t[193][a]}t[194]="����������������������������������������������������������������駿鮮鮫鮪鮭鴻鴿麋黏點黜黝黛鼾齋叢嚕嚮壙壘嬸彝懣戳擴擲擾攆擺擻擷斷曜朦檳檬櫃檻檸櫂檮檯歟歸殯瀉瀋濾瀆濺瀑瀏燻燼燾燸獷獵璧璿甕癖癘����������������������������������癒瞽瞿瞻瞼礎禮穡穢穠竄竅簫簧簪簞簣簡糧織繕繞繚繡繒繙罈翹翻職聶臍臏舊藏薩藍藐藉薰薺薹薦蟯蟬蟲蟠覆覲觴謨謹謬謫豐贅蹙蹣蹦蹤蹟蹕軀轉轍邇邃邈醫醬釐鎔鎊鎖鎢鎳鎮鎬鎰鎘鎚鎗闔闖闐闕離雜雙雛雞霤鞣鞦�".split("");for(a=0;a!=t[194].length;++a)if(t[194][a].charCodeAt(0)!==65533){r[t[194][a]]=49664+a;e[49664+a]=t[194][a]}t[195]="����������������������������������������������������������������鞭韹額顏題顎顓颺餾餿餽餮馥騎髁鬃鬆魏魎魍鯊鯉鯽鯈鯀鵑鵝鵠黠鼕鼬儳嚥壞壟壢寵龐廬懲懷懶懵攀攏曠曝櫥櫝櫚櫓瀛瀟瀨瀚瀝瀕瀘爆爍牘犢獸����������������������������������獺璽瓊瓣疇疆癟癡矇礙禱穫穩簾簿簸簽簷籀繫繭繹繩繪羅繳羶羹羸臘藩藝藪藕藤藥藷蟻蠅蠍蟹蟾襠襟襖襞譁譜識證譚譎譏譆譙贈贊蹼蹲躇蹶蹬蹺蹴轔轎辭邊邋醱醮鏡鏑鏟鏃鏈鏜鏝鏖鏢鏍鏘鏤鏗鏨關隴難霪霧靡韜韻類�".split("");for(a=0;a!=t[195].length;++a)if(t[195][a].charCodeAt(0)!==65533){r[t[195][a]]=49920+a;e[49920+a]=t[195][a]}t[196]="����������������������������������������������������������������願顛颼饅饉騖騙鬍鯨鯧鯖鯛鶉鵡鵲鵪鵬麒麗麓麴勸嚨嚷嚶嚴嚼壤孀孃孽寶巉懸懺攘攔攙曦朧櫬瀾瀰瀲爐獻瓏癢癥礦礪礬礫竇競籌籃籍糯糰辮繽繼����������������������������������纂罌耀臚艦藻藹蘑藺蘆蘋蘇蘊蠔蠕襤覺觸議譬警譯譟譫贏贍躉躁躅躂醴釋鐘鐃鏽闡霰飄饒饑馨騫騰騷騵鰓鰍鹹麵黨鼯齟齣齡儷儸囁囀囂夔屬巍懼懾攝攜斕曩櫻欄櫺殲灌爛犧瓖瓔癩矓籐纏續羼蘗蘭蘚蠣蠢蠡蠟襪襬覽譴�".split("");for(a=0;a!=t[196].length;++a)if(t[196][a].charCodeAt(0)!==65533){r[t[196][a]]=50176+a;e[50176+a]=t[196][a]}t[197]="����������������������������������������������������������������護譽贓躊躍躋轟辯醺鐮鐳鐵鐺鐸鐲鐫闢霸霹露響顧顥饗驅驃驀騾髏魔魑鰭鰥鶯鶴鷂鶸麝黯鼙齜齦齧儼儻囈囊囉孿巔巒彎懿攤權歡灑灘玀瓤疊癮癬����������������������������������禳籠籟聾聽臟襲襯觼讀贖贗躑躓轡酈鑄鑑鑒霽霾韃韁顫饕驕驍髒鬚鱉鰱鰾鰻鷓鷗鼴齬齪龔囌巖戀攣攫攪曬欐瓚竊籤籣籥纓纖纔臢蘸蘿蠱變邐邏鑣鑠鑤靨顯饜驚驛驗髓體髑鱔鱗鱖鷥麟黴囑壩攬灞癱癲矗罐羈蠶蠹衢讓讒�".split("");for(a=0;a!=t[197].length;++a)if(t[197][a].charCodeAt(0)!==65533){r[t[197][a]]=50432+a;e[50432+a]=t[197][a]}t[198]="����������������������������������������������������������������讖艷贛釀鑪靂靈靄韆顰驟鬢魘鱟鷹鷺鹼鹽鼇齷齲廳欖灣籬籮蠻觀躡釁鑲鑰顱饞髖鬣黌灤矚讚鑷韉驢驥纜讜躪釅鑽鑾鑼鱷鱸黷豔鑿鸚爨驪鬱鸛鸞籲���������������������������������������������������������������������������������������������������������������������������������".split("");for(a=0;a!=t[198].length;++a)if(t[198][a].charCodeAt(0)!==65533){r[t[198][a]]=50688+a;e[50688+a]=t[198][a]}t[201]="����������������������������������������������������������������乂乜凵匚厂万丌乇亍囗兀屮彳丏冇与丮亓仂仉仈冘勼卬厹圠夃夬尐巿旡殳毌气爿丱丼仨仜仩仡仝仚刌匜卌圢圣夗夯宁宄尒尻屴屳帄庀庂忉戉扐氕����������������������������������氶汃氿氻犮犰玊禸肊阞伎优伬仵伔仱伀价伈伝伂伅伢伓伄仴伒冱刓刉刐劦匢匟卍厊吇囡囟圮圪圴夼妀奼妅奻奾奷奿孖尕尥屼屺屻屾巟幵庄异弚彴忕忔忏扜扞扤扡扦扢扙扠扚扥旯旮朾朹朸朻机朿朼朳氘汆汒汜汏汊汔汋�".split("");for(a=0;a!=t[201].length;++a)if(t[201][a].charCodeAt(0)!==65533){r[t[201][a]]=51456+a;e[51456+a]=t[201][a]}t[202]="����������������������������������������������������������������汌灱牞犴犵玎甪癿穵网艸艼芀艽艿虍襾邙邗邘邛邔阢阤阠阣佖伻佢佉体佤伾佧佒佟佁佘伭伳伿佡冏冹刜刞刡劭劮匉卣卲厎厏吰吷吪呔呅吙吜吥吘����������������������������������吽呏呁吨吤呇囮囧囥坁坅坌坉坋坒夆奀妦妘妠妗妎妢妐妏妧妡宎宒尨尪岍岏岈岋岉岒岊岆岓岕巠帊帎庋庉庌庈庍弅弝彸彶忒忑忐忭忨忮忳忡忤忣忺忯忷忻怀忴戺抃抌抎抏抔抇扱扻扺扰抁抈扷扽扲扴攷旰旴旳旲旵杅杇�".split("");for(a=0;a!=t[202].length;++a)if(t[202][a].charCodeAt(0)!==65533){r[t[202][a]]=51712+a;e[51712+a]=t[202][a]}t[203]="����������������������������������������������������������������杙杕杌杈杝杍杚杋毐氙氚汸汧汫沄沋沏汱汯汩沚汭沇沕沜汦汳汥汻沎灴灺牣犿犽狃狆狁犺狅玕玗玓玔玒町甹疔疕皁礽耴肕肙肐肒肜芐芏芅芎芑芓����������������������������������芊芃芄豸迉辿邟邡邥邞邧邠阰阨阯阭丳侘佼侅佽侀侇佶佴侉侄佷佌侗佪侚佹侁佸侐侜侔侞侒侂侕佫佮冞冼冾刵刲刳剆刱劼匊匋匼厒厔咇呿咁咑咂咈呫呺呾呥呬呴呦咍呯呡呠咘呣呧呤囷囹坯坲坭坫坱坰坶垀坵坻坳坴坢�".split("");for(a=0;a!=t[203].length;++a)if(t[203][a].charCodeAt(0)!==65533){r[t[203][a]]=51968+a;e[51968+a]=t[203][a]}t[204]="����������������������������������������������������������������坨坽夌奅妵妺姏姎妲姌姁妶妼姃姖妱妽姀姈妴姇孢孥宓宕屄屇岮岤岠岵岯岨岬岟岣岭岢岪岧岝岥岶岰岦帗帔帙弨弢弣弤彔徂彾彽忞忥怭怦怙怲怋����������������������������������怴怊怗怳怚怞怬怢怍怐怮怓怑怌怉怜戔戽抭抴拑抾抪抶拊抮抳抯抻抩抰抸攽斨斻昉旼昄昒昈旻昃昋昍昅旽昑昐曶朊枅杬枎枒杶杻枘枆构杴枍枌杺枟枑枙枃杽极杸杹枔欥殀歾毞氝沓泬泫泮泙沶泔沭泧沷泐泂沺泃泆泭泲�".split("");for(a=0;a!=t[204].length;++a)if(t[204][a].charCodeAt(0)!==65533){r[t[204][a]]=52224+a;e[52224+a]=t[204][a]}t[205]="����������������������������������������������������������������泒泝沴沊沝沀泞泀洰泍泇沰泹泏泩泑炔炘炅炓炆炄炑炖炂炚炃牪狖狋狘狉狜狒狔狚狌狑玤玡玭玦玢玠玬玝瓝瓨甿畀甾疌疘皯盳盱盰盵矸矼矹矻矺����������������������������������矷祂礿秅穸穻竻籵糽耵肏肮肣肸肵肭舠芠苀芫芚芘芛芵芧芮芼芞芺芴芨芡芩苂芤苃芶芢虰虯虭虮豖迒迋迓迍迖迕迗邲邴邯邳邰阹阽阼阺陃俍俅俓侲俉俋俁俔俜俙侻侳俛俇俖侺俀侹俬剄剉勀勂匽卼厗厖厙厘咺咡咭咥哏�".split("");for(a=0;a!=t[205].length;++a)if(t[205][a].charCodeAt(0)!==65533){r[t[205][a]]=52480+a;e[52480+a]=t[205][a]}t[206]="����������������������������������������������������������������哃茍咷咮哖咶哅哆咠呰咼咢咾呲哞咰垵垞垟垤垌垗垝垛垔垘垏垙垥垚垕壴复奓姡姞姮娀姱姝姺姽姼姶姤姲姷姛姩姳姵姠姾姴姭宨屌峐峘峌峗峋峛����������������������������������峞峚峉峇峊峖峓峔峏峈峆峎峟峸巹帡帢帣帠帤庰庤庢庛庣庥弇弮彖徆怷怹恔恲恞恅恓恇恉恛恌恀恂恟怤恄恘恦恮扂扃拏挍挋拵挎挃拫拹挏挌拸拶挀挓挔拺挕拻拰敁敃斪斿昶昡昲昵昜昦昢昳昫昺昝昴昹昮朏朐柁柲柈枺�".split("");for(a=0;a!=t[206].length;++a)if(t[206][a].charCodeAt(0)!==65533){r[t[206][a]]=52736+a;e[52736+a]=t[206][a]}t[207]="����������������������������������������������������������������柜枻柸柘柀枷柅柫柤柟枵柍枳柷柶柮柣柂枹柎柧柰枲柼柆柭柌枮柦柛柺柉柊柃柪柋欨殂殄殶毖毘毠氠氡洨洴洭洟洼洿洒洊泚洳洄洙洺洚洑洀洝浂����������������������������������洁洘洷洃洏浀洇洠洬洈洢洉洐炷炟炾炱炰炡炴炵炩牁牉牊牬牰牳牮狊狤狨狫狟狪狦狣玅珌珂珈珅玹玶玵玴珫玿珇玾珃珆玸珋瓬瓮甮畇畈疧疪癹盄眈眃眄眅眊盷盻盺矧矨砆砑砒砅砐砏砎砉砃砓祊祌祋祅祄秕种秏秖秎窀�".split("");for(a=0;a!=t[207].length;++a)if(t[207][a].charCodeAt(0)!==65533){r[t[207][a]]=52992+a;e[52992+a]=t[207][a]}t[208]="����������������������������������������������������������������穾竑笀笁籺籸籹籿粀粁紃紈紁罘羑羍羾耇耎耏耔耷胘胇胠胑胈胂胐胅胣胙胜胊胕胉胏胗胦胍臿舡芔苙苾苹茇苨茀苕茺苫苖苴苬苡苲苵茌苻苶苰苪����������������������������������苤苠苺苳苭虷虴虼虳衁衎衧衪衩觓訄訇赲迣迡迮迠郱邽邿郕郅邾郇郋郈釔釓陔陏陑陓陊陎倞倅倇倓倢倰倛俵俴倳倷倬俶俷倗倜倠倧倵倯倱倎党冔冓凊凄凅凈凎剡剚剒剞剟剕剢勍匎厞唦哢唗唒哧哳哤唚哿唄唈哫唑唅哱�".split("");for(a=0;a!=t[208].length;++a)if(t[208][a].charCodeAt(0)!==65533){r[t[208][a]]=53248+a;e[53248+a]=t[208][a]}t[209]="����������������������������������������������������������������唊哻哷哸哠唎唃唋圁圂埌堲埕埒垺埆垽垼垸垶垿埇埐垹埁夎奊娙娖娭娮娕娏娗娊娞娳孬宧宭宬尃屖屔峬峿峮峱峷崀峹帩帨庨庮庪庬弳弰彧恝恚恧����������������������������������恁悢悈悀悒悁悝悃悕悛悗悇悜悎戙扆拲挐捖挬捄捅挶捃揤挹捋捊挼挩捁挴捘捔捙挭捇挳捚捑挸捗捀捈敊敆旆旃旄旂晊晟晇晑朒朓栟栚桉栲栳栻桋桏栖栱栜栵栫栭栯桎桄栴栝栒栔栦栨栮桍栺栥栠欬欯欭欱欴歭肂殈毦毤�".split("");for(a=0;a!=t[209].length;++a)if(t[209][a].charCodeAt(0)!==65533){r[t[209][a]]=53504+a;e[53504+a]=t[209][a]}t[210]="����������������������������������������������������������������毨毣毢毧氥浺浣浤浶洍浡涒浘浢浭浯涑涍淯浿涆浞浧浠涗浰浼浟涂涘洯浨涋浾涀涄洖涃浻浽浵涐烜烓烑烝烋缹烢烗烒烞烠烔烍烅烆烇烚烎烡牂牸����������������������������������牷牶猀狺狴狾狶狳狻猁珓珙珥珖玼珧珣珩珜珒珛珔珝珚珗珘珨瓞瓟瓴瓵甡畛畟疰痁疻痄痀疿疶疺皊盉眝眛眐眓眒眣眑眕眙眚眢眧砣砬砢砵砯砨砮砫砡砩砳砪砱祔祛祏祜祓祒祑秫秬秠秮秭秪秜秞秝窆窉窅窋窌窊窇竘笐�".split("");for(a=0;a!=t[210].length;++a)if(t[210][a].charCodeAt(0)!==65533){r[t[210][a]]=53760+a;e[53760+a]=t[210][a]}t[211]="����������������������������������������������������������������笄笓笅笏笈笊笎笉笒粄粑粊粌粈粍粅紞紝紑紎紘紖紓紟紒紏紌罜罡罞罠罝罛羖羒翃翂翀耖耾耹胺胲胹胵脁胻脀舁舯舥茳茭荄茙荑茥荖茿荁茦茜茢����������������������������������荂荎茛茪茈茼荍茖茤茠茷茯茩荇荅荌荓茞茬荋茧荈虓虒蚢蚨蚖蚍蚑蚞蚇蚗蚆蚋蚚蚅蚥蚙蚡蚧蚕蚘蚎蚝蚐蚔衃衄衭衵衶衲袀衱衿衯袃衾衴衼訒豇豗豻貤貣赶赸趵趷趶軑軓迾迵适迿迻逄迼迶郖郠郙郚郣郟郥郘郛郗郜郤酐�".split("");for(a=0;a!=t[211].length;++a)if(t[211][a].charCodeAt(0)!==65533){r[t[211][a]]=54016+a;e[54016+a]=t[211][a]}t[212]="����������������������������������������������������������������酎酏釕釢釚陜陟隼飣髟鬯乿偰偪偡偞偠偓偋偝偲偈偍偁偛偊偢倕偅偟偩偫偣偤偆偀偮偳偗偑凐剫剭剬剮勖勓匭厜啵啶唼啍啐唴唪啑啢唶唵唰啒啅����������������������������������唌唲啥啎唹啈唭唻啀啋圊圇埻堔埢埶埜埴堀埭埽堈埸堋埳埏堇埮埣埲埥埬埡堎埼堐埧堁堌埱埩埰堍堄奜婠婘婕婧婞娸娵婭婐婟婥婬婓婤婗婃婝婒婄婛婈媎娾婍娹婌婰婩婇婑婖婂婜孲孮寁寀屙崞崋崝崚崠崌崨崍崦崥崏�".split("");for(a=0;a!=t[212].length;++a)if(t[212][a].charCodeAt(0)!==65533){r[t[212][a]]=54272+a;e[54272+a]=t[212][a]}t[213]="����������������������������������������������������������������崰崒崣崟崮帾帴庱庴庹庲庳弶弸徛徖徟悊悐悆悾悰悺惓惔惏惤惙惝惈悱惛悷惊悿惃惍惀挲捥掊掂捽掽掞掭掝掗掫掎捯掇掐据掯捵掜捭掮捼掤挻掟����������������������������������捸掅掁掑掍捰敓旍晥晡晛晙晜晢朘桹梇梐梜桭桮梮梫楖桯梣梬梩桵桴梲梏桷梒桼桫桲梪梀桱桾梛梖梋梠梉梤桸桻梑梌梊桽欶欳欷欸殑殏殍殎殌氪淀涫涴涳湴涬淩淢涷淶淔渀淈淠淟淖涾淥淜淝淛淴淊涽淭淰涺淕淂淏淉�".split("");for(a=0;a!=t[213].length;++a)if(t[213][a].charCodeAt(0)!==65533){r[t[213][a]]=54528+a;e[54528+a]=t[213][a]}t[214]="����������������������������������������������������������������淐淲淓淽淗淍淣涻烺焍烷焗烴焌烰焄烳焐烼烿焆焓焀烸烶焋焂焎牾牻牼牿猝猗猇猑猘猊猈狿猏猞玈珶珸珵琄琁珽琇琀珺珼珿琌琋珴琈畤畣痎痒痏����������������������������������痋痌痑痐皏皉盓眹眯眭眱眲眴眳眽眥眻眵硈硒硉硍硊硌砦硅硐祤祧祩祪祣祫祡离秺秸秶秷窏窔窐笵筇笴笥笰笢笤笳笘笪笝笱笫笭笯笲笸笚笣粔粘粖粣紵紽紸紶紺絅紬紩絁絇紾紿絊紻紨罣羕羜羝羛翊翋翍翐翑翇翏翉耟�".split("");for(a=0;a!=t[214].length;++a)if(t[214][a].charCodeAt(0)!==65533){r[t[214][a]]=54784+a;e[54784+a]=t[214][a]}t[215]="����������������������������������������������������������������耞耛聇聃聈脘脥脙脛脭脟脬脞脡脕脧脝脢舑舸舳舺舴舲艴莐莣莨莍荺荳莤荴莏莁莕莙荵莔莩荽莃莌莝莛莪莋荾莥莯莈莗莰荿莦莇莮荶莚虙虖蚿蚷����������������������������������蛂蛁蛅蚺蚰蛈蚹蚳蚸蛌蚴蚻蚼蛃蚽蚾衒袉袕袨袢袪袚袑袡袟袘袧袙袛袗袤袬袌袓袎覂觖觙觕訰訧訬訞谹谻豜豝豽貥赽赻赹趼跂趹趿跁軘軞軝軜軗軠軡逤逋逑逜逌逡郯郪郰郴郲郳郔郫郬郩酖酘酚酓酕釬釴釱釳釸釤釹釪�".split("");for(a=0;a!=t[215].length;++a)if(t[215][a].charCodeAt(0)!==65533){r[t[215][a]]=55040+a;e[55040+a]=t[215][a]}t[216]="����������������������������������������������������������������釫釷釨釮镺閆閈陼陭陫陱陯隿靪頄飥馗傛傕傔傞傋傣傃傌傎傝偨傜傒傂傇兟凔匒匑厤厧喑喨喥喭啷噅喢喓喈喏喵喁喣喒喤啽喌喦啿喕喡喎圌堩堷����������������������������������堙堞堧堣堨埵塈堥堜堛堳堿堶堮堹堸堭堬堻奡媯媔媟婺媢媞婸媦婼媥媬媕媮娷媄媊媗媃媋媩婻婽媌媜媏媓媝寪寍寋寔寑寊寎尌尰崷嵃嵫嵁嵋崿崵嵑嵎嵕崳崺嵒崽崱嵙嵂崹嵉崸崼崲崶嵀嵅幄幁彘徦徥徫惉悹惌惢惎惄愔�".split("");for(a=0;a!=t[216].length;++a)if(t[216][a].charCodeAt(0)!==65533){r[t[216][a]]=55296+a;e[55296+a]=t[216][a]}t[217]="����������������������������������������������������������������惲愊愖愅惵愓惸惼惾惁愃愘愝愐惿愄愋扊掔掱掰揎揥揨揯揃撝揳揊揠揶揕揲揵摡揟掾揝揜揄揘揓揂揇揌揋揈揰揗揙攲敧敪敤敜敨敥斌斝斞斮旐旒����������������������������������晼晬晻暀晱晹晪晲朁椌棓椄棜椪棬棪棱椏棖棷棫棤棶椓椐棳棡椇棌椈楰梴椑棯棆椔棸棐棽棼棨椋椊椗棎棈棝棞棦棴棑椆棔棩椕椥棇欹欻欿欼殔殗殙殕殽毰毲毳氰淼湆湇渟湉溈渼渽湅湢渫渿湁湝湳渜渳湋湀湑渻渃渮湞�".split("");for(a=0;a!=t[217].length;++a)if(t[217][a].charCodeAt(0)!==65533){r[t[217][a]]=55552+a;e[55552+a]=t[217][a]}t[218]="����������������������������������������������������������������湨湜湡渱渨湠湱湫渹渢渰湓湥渧湸湤湷湕湹湒湦渵渶湚焠焞焯烻焮焱焣焥焢焲焟焨焺焛牋牚犈犉犆犅犋猒猋猰猢猱猳猧猲猭猦猣猵猌琮琬琰琫琖����������������������������������琚琡琭琱琤琣琝琩琠琲瓻甯畯畬痧痚痡痦痝痟痤痗皕皒盚睆睇睄睍睅睊睎睋睌矞矬硠硤硥硜硭硱硪确硰硩硨硞硢祴祳祲祰稂稊稃稌稄窙竦竤筊笻筄筈筌筎筀筘筅粢粞粨粡絘絯絣絓絖絧絪絏絭絜絫絒絔絩絑絟絎缾缿罥�".split("");for(a=0;a!=t[218].length;++a)if(t[218][a].charCodeAt(0)!==65533){r[t[218][a]]=55808+a;e[55808+a]=t[218][a]}t[219]="����������������������������������������������������������������罦羢羠羡翗聑聏聐胾胔腃腊腒腏腇脽腍脺臦臮臷臸臹舄舼舽舿艵茻菏菹萣菀菨萒菧菤菼菶萐菆菈菫菣莿萁菝菥菘菿菡菋菎菖菵菉萉萏菞萑萆菂菳����������������������������������菕菺菇菑菪萓菃菬菮菄菻菗菢萛菛菾蛘蛢蛦蛓蛣蛚蛪蛝蛫蛜蛬蛩蛗蛨蛑衈衖衕袺裗袹袸裀袾袶袼袷袽袲褁裉覕覘覗觝觚觛詎詍訹詙詀詗詘詄詅詒詈詑詊詌詏豟貁貀貺貾貰貹貵趄趀趉跘跓跍跇跖跜跏跕跙跈跗跅軯軷軺�".split("");for(a=0;a!=t[219].length;++a)if(t[219][a].charCodeAt(0)!==65533){r[t[219][a]]=56064+a;e[56064+a]=t[219][a]}t[220]="����������������������������������������������������������������軹軦軮軥軵軧軨軶軫軱軬軴軩逭逴逯鄆鄬鄄郿郼鄈郹郻鄁鄀鄇鄅鄃酡酤酟酢酠鈁鈊鈥鈃鈚鈦鈏鈌鈀鈒釿釽鈆鈄鈧鈂鈜鈤鈙鈗鈅鈖镻閍閌閐隇陾隈����������������������������������隉隃隀雂雈雃雱雰靬靰靮頇颩飫鳦黹亃亄亶傽傿僆傮僄僊傴僈僂傰僁傺傱僋僉傶傸凗剺剸剻剼嗃嗛嗌嗐嗋嗊嗝嗀嗔嗄嗩喿嗒喍嗏嗕嗢嗖嗈嗲嗍嗙嗂圔塓塨塤塏塍塉塯塕塎塝塙塥塛堽塣塱壼嫇嫄嫋媺媸媱媵媰媿嫈媻嫆�".split("");for(a=0;a!=t[220].length;++a)if(t[220][a].charCodeAt(0)!==65533){r[t[220][a]]=56320+a;e[56320+a]=t[220][a]}t[221]="����������������������������������������������������������������媷嫀嫊媴媶嫍媹媐寖寘寙尟尳嵱嵣嵊嵥嵲嵬嵞嵨嵧嵢巰幏幎幊幍幋廅廌廆廋廇彀徯徭惷慉慊愫慅愶愲愮慆愯慏愩慀戠酨戣戥戤揅揱揫搐搒搉搠搤����������������������������������搳摃搟搕搘搹搷搢搣搌搦搰搨摁搵搯搊搚摀搥搧搋揧搛搮搡搎敯斒旓暆暌暕暐暋暊暙暔晸朠楦楟椸楎楢楱椿楅楪椹楂楗楙楺楈楉椵楬椳椽楥棰楸椴楩楀楯楄楶楘楁楴楌椻楋椷楜楏楑椲楒椯楻椼歆歅歃歂歈歁殛嗀毻毼�".split("");for(a=0;a!=t[221].length;++a)if(t[221][a].charCodeAt(0)!==65533){r[t[221][a]]=56576+a;e[56576+a]=t[221][a]}t[222]="����������������������������������������������������������������毹毷毸溛滖滈溏滀溟溓溔溠溱溹滆滒溽滁溞滉溷溰滍溦滏溲溾滃滜滘溙溒溎溍溤溡溿溳滐滊溗溮溣煇煔煒煣煠煁煝煢煲煸煪煡煂煘煃煋煰煟煐煓����������������������������������煄煍煚牏犍犌犑犐犎猼獂猻猺獀獊獉瑄瑊瑋瑒瑑瑗瑀瑏瑐瑎瑂瑆瑍瑔瓡瓿瓾瓽甝畹畷榃痯瘏瘃痷痾痼痹痸瘐痻痶痭痵痽皙皵盝睕睟睠睒睖睚睩睧睔睙睭矠碇碚碔碏碄碕碅碆碡碃硹碙碀碖硻祼禂祽祹稑稘稙稒稗稕稢稓�".split("");for(a=0;a!=t[222].length;++a)if(t[222][a].charCodeAt(0)!==65533){r[t[222][a]]=56832+a;e[56832+a]=t[222][a]}t[223]="����������������������������������������������������������������稛稐窣窢窞竫筦筤筭筴筩筲筥筳筱筰筡筸筶筣粲粴粯綈綆綀綍絿綅絺綎絻綃絼綌綔綄絽綒罭罫罧罨罬羦羥羧翛翜耡腤腠腷腜腩腛腢腲朡腞腶腧腯����������������������������������腄腡舝艉艄艀艂艅蓱萿葖葶葹蒏蒍葥葑葀蒆葧萰葍葽葚葙葴葳葝蔇葞萷萺萴葺葃葸萲葅萩菙葋萯葂萭葟葰萹葎葌葒葯蓅蒎萻葇萶萳葨葾葄萫葠葔葮葐蜋蜄蛷蜌蛺蛖蛵蝍蛸蜎蜉蜁蛶蜍蜅裖裋裍裎裞裛裚裌裐覅覛觟觥觤�".split("");for(a=0;a!=t[223].length;++a)if(t[223][a].charCodeAt(0)!==65533){r[t[223][a]]=57088+a;e[57088+a]=t[223][a]}t[224]="����������������������������������������������������������������觡觠觢觜触詶誆詿詡訿詷誂誄詵誃誁詴詺谼豋豊豥豤豦貆貄貅賌赨赩趑趌趎趏趍趓趔趐趒跰跠跬跱跮跐跩跣跢跧跲跫跴輆軿輁輀輅輇輈輂輋遒逿����������������������������������遄遉逽鄐鄍鄏鄑鄖鄔鄋鄎酮酯鉈鉒鈰鈺鉦鈳鉥鉞銃鈮鉊鉆鉭鉬鉏鉠鉧鉯鈶鉡鉰鈱鉔鉣鉐鉲鉎鉓鉌鉖鈲閟閜閞閛隒隓隑隗雎雺雽雸雵靳靷靸靲頏頍頎颬飶飹馯馲馰馵骭骫魛鳪鳭鳧麀黽僦僔僗僨僳僛僪僝僤僓僬僰僯僣僠�".split("");for(a=0;a!=t[224].length;++a)if(t[224][a].charCodeAt(0)!==65533){r[t[224][a]]=57344+a;e[57344+a]=t[224][a]}t[225]="����������������������������������������������������������������凘劀劁勩勫匰厬嘧嘕嘌嘒嗼嘏嘜嘁嘓嘂嗺嘝嘄嗿嗹墉塼墐墘墆墁塿塴墋塺墇墑墎塶墂墈塻墔墏壾奫嫜嫮嫥嫕嫪嫚嫭嫫嫳嫢嫠嫛嫬嫞嫝嫙嫨嫟孷寠����������������������������������寣屣嶂嶀嵽嶆嵺嶁嵷嶊嶉嶈嵾嵼嶍嵹嵿幘幙幓廘廑廗廎廜廕廙廒廔彄彃彯徶愬愨慁慞慱慳慒慓慲慬憀慴慔慺慛慥愻慪慡慖戩戧戫搫摍摛摝摴摶摲摳摽摵摦撦摎撂摞摜摋摓摠摐摿搿摬摫摙摥摷敳斠暡暠暟朅朄朢榱榶槉�".split("");for(a=0;a!=t[225].length;++a)if(t[225][a].charCodeAt(0)!==65533){r[t[225][a]]=57600+a;e[57600+a]=t[225][a]}t[226]="����������������������������������������������������������������榠槎榖榰榬榼榑榙榎榧榍榩榾榯榿槄榽榤槔榹槊榚槏榳榓榪榡榞槙榗榐槂榵榥槆歊歍歋殞殟殠毃毄毾滎滵滱漃漥滸漷滻漮漉潎漙漚漧漘漻漒滭漊����������������������������������漶潳滹滮漭潀漰漼漵滫漇漎潃漅滽滶漹漜滼漺漟漍漞漈漡熇熐熉熀熅熂熏煻熆熁熗牄牓犗犕犓獃獍獑獌瑢瑳瑱瑵瑲瑧瑮甀甂甃畽疐瘖瘈瘌瘕瘑瘊瘔皸瞁睼瞅瞂睮瞀睯睾瞃碲碪碴碭碨硾碫碞碥碠碬碢碤禘禊禋禖禕禔禓�".split("");for(a=0;a!=t[226].length;++a)if(t[226][a].charCodeAt(0)!==65533){r[t[226][a]]=57856+a;e[57856+a]=t[226][a]}t[227]="����������������������������������������������������������������禗禈禒禐稫穊稰稯稨稦窨窫窬竮箈箜箊箑箐箖箍箌箛箎箅箘劄箙箤箂粻粿粼粺綧綷緂綣綪緁緀緅綝緎緄緆緋緌綯綹綖綼綟綦綮綩綡緉罳翢翣翥翞����������������������������������耤聝聜膉膆膃膇膍膌膋舕蒗蒤蒡蒟蒺蓎蓂蒬蒮蒫蒹蒴蓁蓍蒪蒚蒱蓐蒝蒧蒻蒢蒔蓇蓌蒛蒩蒯蒨蓖蒘蒶蓏蒠蓗蓔蓒蓛蒰蒑虡蜳蜣蜨蝫蝀蜮蜞蜡蜙蜛蝃蜬蝁蜾蝆蜠蜲蜪蜭蜼蜒蜺蜱蜵蝂蜦蜧蜸蜤蜚蜰蜑裷裧裱裲裺裾裮裼裶裻�".split("");for(a=0;a!=t[227].length;++a)if(t[227][a].charCodeAt(0)!==65533){r[t[227][a]]=58112+a;e[58112+a]=t[227][a]}t[228]="����������������������������������������������������������������裰裬裫覝覡覟覞觩觫觨誫誙誋誒誏誖谽豨豩賕賏賗趖踉踂跿踍跽踊踃踇踆踅跾踀踄輐輑輎輍鄣鄜鄠鄢鄟鄝鄚鄤鄡鄛酺酲酹酳銥銤鉶銛鉺銠銔銪銍����������������������������������銦銚銫鉹銗鉿銣鋮銎銂銕銢鉽銈銡銊銆銌銙銧鉾銇銩銝銋鈭隞隡雿靘靽靺靾鞃鞀鞂靻鞄鞁靿韎韍頖颭颮餂餀餇馝馜駃馹馻馺駂馽駇骱髣髧鬾鬿魠魡魟鳱鳲鳵麧僿儃儰僸儆儇僶僾儋儌僽儊劋劌勱勯噈噂噌嘵噁噊噉噆噘�".split("");for(a=0;a!=t[228].length;++a)if(t[228][a].charCodeAt(0)!==65533){r[t[228][a]]=58368+a;e[58368+a]=t[228][a]}t[229]="����������������������������������������������������������������噚噀嘳嘽嘬嘾嘸嘪嘺圚墫墝墱墠墣墯墬墥墡壿嫿嫴嫽嫷嫶嬃嫸嬂嫹嬁嬇嬅嬏屧嶙嶗嶟嶒嶢嶓嶕嶠嶜嶡嶚嶞幩幝幠幜緳廛廞廡彉徲憋憃慹憱憰憢憉����������������������������������憛憓憯憭憟憒憪憡憍慦憳戭摮摰撖撠撅撗撜撏撋撊撌撣撟摨撱撘敶敺敹敻斲斳暵暰暩暲暷暪暯樀樆樗槥槸樕槱槤樠槿槬槢樛樝槾樧槲槮樔槷槧橀樈槦槻樍槼槫樉樄樘樥樏槶樦樇槴樖歑殥殣殢殦氁氀毿氂潁漦潾澇濆澒�".split("");for(a=0;a!=t[229].length;++a)if(t[229][a].charCodeAt(0)!==65533){r[t[229][a]]=58624+a;e[58624+a]=t[229][a]}t[230]="����������������������������������������������������������������澍澉澌潢潏澅潚澖潶潬澂潕潲潒潐潗澔澓潝漀潡潫潽潧澐潓澋潩潿澕潣潷潪潻熲熯熛熰熠熚熩熵熝熥熞熤熡熪熜熧熳犘犚獘獒獞獟獠獝獛獡獚獙����������������������������������獢璇璉璊璆璁瑽璅璈瑼瑹甈甇畾瘥瘞瘙瘝瘜瘣瘚瘨瘛皜皝皞皛瞍瞏瞉瞈磍碻磏磌磑磎磔磈磃磄磉禚禡禠禜禢禛歶稹窲窴窳箷篋箾箬篎箯箹篊箵糅糈糌糋緷緛緪緧緗緡縃緺緦緶緱緰緮緟罶羬羰羭翭翫翪翬翦翨聤聧膣膟�".split("");for(a=0;a!=t[230].length;++a)if(t[230][a].charCodeAt(0)!==65533){r[t[230][a]]=58880+a;e[58880+a]=t[230][a]}t[231]="����������������������������������������������������������������膞膕膢膙膗舖艏艓艒艐艎艑蔤蔻蔏蔀蔩蔎蔉蔍蔟蔊蔧蔜蓻蔫蓺蔈蔌蓴蔪蓲蔕蓷蓫蓳蓼蔒蓪蓩蔖蓾蔨蔝蔮蔂蓽蔞蓶蔱蔦蓧蓨蓰蓯蓹蔘蔠蔰蔋蔙蔯虢����������������������������������蝖蝣蝤蝷蟡蝳蝘蝔蝛蝒蝡蝚蝑蝞蝭蝪蝐蝎蝟蝝蝯蝬蝺蝮蝜蝥蝏蝻蝵蝢蝧蝩衚褅褌褔褋褗褘褙褆褖褑褎褉覢覤覣觭觰觬諏諆誸諓諑諔諕誻諗誾諀諅諘諃誺誽諙谾豍貏賥賟賙賨賚賝賧趠趜趡趛踠踣踥踤踮踕踛踖踑踙踦踧�".split("");for(a=0;a!=t[231].length;++a)if(t[231][a].charCodeAt(0)!==65533){r[t[231][a]]=59136+a;e[59136+a]=t[231][a]}t[232]="����������������������������������������������������������������踔踒踘踓踜踗踚輬輤輘輚輠輣輖輗遳遰遯遧遫鄯鄫鄩鄪鄲鄦鄮醅醆醊醁醂醄醀鋐鋃鋄鋀鋙銶鋏鋱鋟鋘鋩鋗鋝鋌鋯鋂鋨鋊鋈鋎鋦鋍鋕鋉鋠鋞鋧鋑鋓����������������������������������銵鋡鋆銴镼閬閫閮閰隤隢雓霅霈霂靚鞊鞎鞈韐韏頞頝頦頩頨頠頛頧颲餈飺餑餔餖餗餕駜駍駏駓駔駎駉駖駘駋駗駌骳髬髫髳髲髱魆魃魧魴魱魦魶魵魰魨魤魬鳼鳺鳽鳿鳷鴇鴀鳹鳻鴈鴅鴄麃黓鼏鼐儜儓儗儚儑凞匴叡噰噠噮�".split("");for(a=0;a!=t[232].length;++a)if(t[232][a].charCodeAt(0)!==65533){r[t[232][a]]=59392+a;e[59392+a]=t[232][a]}t[233]="����������������������������������������������������������������噳噦噣噭噲噞噷圜圛壈墽壉墿墺壂墼壆嬗嬙嬛嬡嬔嬓嬐嬖嬨嬚嬠嬞寯嶬嶱嶩嶧嶵嶰嶮嶪嶨嶲嶭嶯嶴幧幨幦幯廩廧廦廨廥彋徼憝憨憖懅憴懆懁懌憺����������������������������������憿憸憌擗擖擐擏擉撽撉擃擛擳擙攳敿敼斢曈暾曀曊曋曏暽暻暺曌朣樴橦橉橧樲橨樾橝橭橶橛橑樨橚樻樿橁橪橤橐橏橔橯橩橠樼橞橖橕橍橎橆歕歔歖殧殪殫毈毇氄氃氆澭濋澣濇澼濎濈潞濄澽澞濊澨瀄澥澮澺澬澪濏澿澸�".split("");for(a=0;a!=t[233].length;++a)if(t[233][a].charCodeAt(0)!==65533){r[t[233][a]]=59648+a;e[59648+a]=t[233][a]}t[234]="����������������������������������������������������������������澢濉澫濍澯澲澰燅燂熿熸燖燀燁燋燔燊燇燏熽燘熼燆燚燛犝犞獩獦獧獬獥獫獪瑿璚璠璔璒璕璡甋疀瘯瘭瘱瘽瘳瘼瘵瘲瘰皻盦瞚瞝瞡瞜瞛瞢瞣瞕瞙����������������������������������瞗磝磩磥磪磞磣磛磡磢磭磟磠禤穄穈穇窶窸窵窱窷篞篣篧篝篕篥篚篨篹篔篪篢篜篫篘篟糒糔糗糐糑縒縡縗縌縟縠縓縎縜縕縚縢縋縏縖縍縔縥縤罃罻罼罺羱翯耪耩聬膱膦膮膹膵膫膰膬膴膲膷膧臲艕艖艗蕖蕅蕫蕍蕓蕡蕘�".split("");for(a=0;a!=t[234].length;++a)if(t[234][a].charCodeAt(0)!==65533){r[t[234][a]]=59904+a;e[59904+a]=t[234][a]}t[235]="����������������������������������������������������������������蕀蕆蕤蕁蕢蕄蕑蕇蕣蔾蕛蕱蕎蕮蕵蕕蕧蕠薌蕦蕝蕔蕥蕬虣虥虤螛螏螗螓螒螈螁螖螘蝹螇螣螅螐螑螝螄螔螜螚螉褞褦褰褭褮褧褱褢褩褣褯褬褟觱諠����������������������������������諢諲諴諵諝謔諤諟諰諈諞諡諨諿諯諻貑貒貐賵賮賱賰賳赬赮趥趧踳踾踸蹀蹅踶踼踽蹁踰踿躽輶輮輵輲輹輷輴遶遹遻邆郺鄳鄵鄶醓醐醑醍醏錧錞錈錟錆錏鍺錸錼錛錣錒錁鍆錭錎錍鋋錝鋺錥錓鋹鋷錴錂錤鋿錩錹錵錪錔錌�".split("");for(a=0;a!=t[235].length;++a)if(t[235][a].charCodeAt(0)!==65533){r[t[235][a]]=60160+a;e[60160+a]=t[235][a]}t[236]="����������������������������������������������������������������錋鋾錉錀鋻錖閼闍閾閹閺閶閿閵閽隩雔霋霒霐鞙鞗鞔韰韸頵頯頲餤餟餧餩馞駮駬駥駤駰駣駪駩駧骹骿骴骻髶髺髹髷鬳鮀鮅鮇魼魾魻鮂鮓鮒鮐魺鮕����������������������������������魽鮈鴥鴗鴠鴞鴔鴩鴝鴘鴢鴐鴙鴟麈麆麇麮麭黕黖黺鼒鼽儦儥儢儤儠儩勴嚓嚌嚍嚆嚄嚃噾嚂噿嚁壖壔壏壒嬭嬥嬲嬣嬬嬧嬦嬯嬮孻寱寲嶷幬幪徾徻懃憵憼懧懠懥懤懨懞擯擩擣擫擤擨斁斀斶旚曒檍檖檁檥檉檟檛檡檞檇檓檎�".split("");for(a=0;a!=t[236].length;++a)if(t[236][a].charCodeAt(0)!==65533){r[t[236][a]]=60416+a;e[60416+a]=t[236][a]}t[237]="����������������������������������������������������������������檕檃檨檤檑橿檦檚檅檌檒歛殭氉濌澩濴濔濣濜濭濧濦濞濲濝濢濨燡燱燨燲燤燰燢獳獮獯璗璲璫璐璪璭璱璥璯甐甑甒甏疄癃癈癉癇皤盩瞵瞫瞲瞷瞶����������������������������������瞴瞱瞨矰磳磽礂磻磼磲礅磹磾礄禫禨穜穛穖穘穔穚窾竀竁簅簏篲簀篿篻簎篴簋篳簂簉簃簁篸篽簆篰篱簐簊糨縭縼繂縳顈縸縪繉繀繇縩繌縰縻縶繄縺罅罿罾罽翴翲耬膻臄臌臊臅臇膼臩艛艚艜薃薀薏薧薕薠薋薣蕻薤薚薞�".split("");for(a=0;a!=t[237].length;++a)if(t[237][a].charCodeAt(0)!==65533){r[t[237][a]]=60672+a;e[60672+a]=t[237][a]}t[238]="����������������������������������������������������������������蕷蕼薉薡蕺蕸蕗薎薖薆薍薙薝薁薢薂薈薅蕹蕶薘薐薟虨螾螪螭蟅螰螬螹螵螼螮蟉蟃蟂蟌螷螯蟄蟊螴螶螿螸螽蟞螲褵褳褼褾襁襒褷襂覭覯覮觲觳謞����������������������������������謘謖謑謅謋謢謏謒謕謇謍謈謆謜謓謚豏豰豲豱豯貕貔賹赯蹎蹍蹓蹐蹌蹇轃轀邅遾鄸醚醢醛醙醟醡醝醠鎡鎃鎯鍤鍖鍇鍼鍘鍜鍶鍉鍐鍑鍠鍭鎏鍌鍪鍹鍗鍕鍒鍏鍱鍷鍻鍡鍞鍣鍧鎀鍎鍙闇闀闉闃闅閷隮隰隬霠霟霘霝霙鞚鞡鞜�".split("");for(a=0;a!=t[238].length;++a)if(t[238][a].charCodeAt(0)!==65533){r[t[238][a]]=60928+a;e[60928+a]=t[238][a]}t[239]="����������������������������������������������������������������鞞鞝韕韔韱顁顄顊顉顅顃餥餫餬餪餳餲餯餭餱餰馘馣馡騂駺駴駷駹駸駶駻駽駾駼騃骾髾髽鬁髼魈鮚鮨鮞鮛鮦鮡鮥鮤鮆鮢鮠鮯鴳鵁鵧鴶鴮鴯鴱鴸鴰����������������������������������鵅鵂鵃鴾鴷鵀鴽翵鴭麊麉麍麰黈黚黻黿鼤鼣鼢齔龠儱儭儮嚘嚜嚗嚚嚝嚙奰嬼屩屪巀幭幮懘懟懭懮懱懪懰懫懖懩擿攄擽擸攁攃擼斔旛曚曛曘櫅檹檽櫡櫆檺檶檷櫇檴檭歞毉氋瀇瀌瀍瀁瀅瀔瀎濿瀀濻瀦濼濷瀊爁燿燹爃燽獶�".split("");for(a=0;a!=t[239].length;++a)if(t[239][a].charCodeAt(0)!==65533){r[t[239][a]]=61184+a;e[61184+a]=t[239][a]}t[240]="����������������������������������������������������������������璸瓀璵瓁璾璶璻瓂甔甓癜癤癙癐癓癗癚皦皽盬矂瞺磿礌礓礔礉礐礒礑禭禬穟簜簩簙簠簟簭簝簦簨簢簥簰繜繐繖繣繘繢繟繑繠繗繓羵羳翷翸聵臑臒����������������������������������臐艟艞薴藆藀藃藂薳薵薽藇藄薿藋藎藈藅薱薶藒蘤薸薷薾虩蟧蟦蟢蟛蟫蟪蟥蟟蟳蟤蟔蟜蟓蟭蟘蟣螤蟗蟙蠁蟴蟨蟝襓襋襏襌襆襐襑襉謪謧謣謳謰謵譇謯謼謾謱謥謷謦謶謮謤謻謽謺豂豵貙貘貗賾贄贂贀蹜蹢蹠蹗蹖蹞蹥蹧�".split("");for(a=0;a!=t[240].length;++a)if(t[240][a].charCodeAt(0)!==65533){r[t[240][a]]=61440+a;e[61440+a]=t[240][a]}t[241]="����������������������������������������������������������������蹛蹚蹡蹝蹩蹔轆轇轈轋鄨鄺鄻鄾醨醥醧醯醪鎵鎌鎒鎷鎛鎝鎉鎧鎎鎪鎞鎦鎕鎈鎙鎟鎍鎱鎑鎲鎤鎨鎴鎣鎥闒闓闑隳雗雚巂雟雘雝霣霢霥鞬鞮鞨鞫鞤鞪����������������������������������鞢鞥韗韙韖韘韺顐顑顒颸饁餼餺騏騋騉騍騄騑騊騅騇騆髀髜鬈鬄鬅鬩鬵魊魌魋鯇鯆鯃鮿鯁鮵鮸鯓鮶鯄鮹鮽鵜鵓鵏鵊鵛鵋鵙鵖鵌鵗鵒鵔鵟鵘鵚麎麌黟鼁鼀鼖鼥鼫鼪鼩鼨齌齕儴儵劖勷厴嚫嚭嚦嚧嚪嚬壚壝壛夒嬽嬾嬿巃幰�".split("");for(a=0;a!=t[241].length;++a)if(t[241][a].charCodeAt(0)!==65533){r[t[241][a]]=61696+a;e[61696+a]=t[241][a]}t[242]="����������������������������������������������������������������徿懻攇攐攍攉攌攎斄旞旝曞櫧櫠櫌櫑櫙櫋櫟櫜櫐櫫櫏櫍櫞歠殰氌瀙瀧瀠瀖瀫瀡瀢瀣瀩瀗瀤瀜瀪爌爊爇爂爅犥犦犤犣犡瓋瓅璷瓃甖癠矉矊矄矱礝礛����������������������������������礡礜礗礞禰穧穨簳簼簹簬簻糬糪繶繵繸繰繷繯繺繲繴繨罋罊羃羆羷翽翾聸臗臕艤艡艣藫藱藭藙藡藨藚藗藬藲藸藘藟藣藜藑藰藦藯藞藢蠀蟺蠃蟶蟷蠉蠌蠋蠆蟼蠈蟿蠊蠂襢襚襛襗襡襜襘襝襙覈覷覶觶譐譈譊譀譓譖譔譋譕�".split("");for(a=0;a!=t[242].length;++a)if(t[242][a].charCodeAt(0)!==65533){r[t[242][a]]=61952+a;e[61952+a]=t[242][a]}t[243]="����������������������������������������������������������������譑譂譒譗豃豷豶貚贆贇贉趬趪趭趫蹭蹸蹳蹪蹯蹻軂轒轑轏轐轓辴酀鄿醰醭鏞鏇鏏鏂鏚鏐鏹鏬鏌鏙鎩鏦鏊鏔鏮鏣鏕鏄鏎鏀鏒鏧镽闚闛雡霩霫霬霨霦����������������������������������鞳鞷鞶韝韞韟顜顙顝顗颿颽颻颾饈饇饃馦馧騚騕騥騝騤騛騢騠騧騣騞騜騔髂鬋鬊鬎鬌鬷鯪鯫鯠鯞鯤鯦鯢鯰鯔鯗鯬鯜鯙鯥鯕鯡鯚鵷鶁鶊鶄鶈鵱鶀鵸鶆鶋鶌鵽鵫鵴鵵鵰鵩鶅鵳鵻鶂鵯鵹鵿鶇鵨麔麑黀黼鼭齀齁齍齖齗齘匷嚲�".split("");for(a=0;a!=t[243].length;++a)if(t[243][a].charCodeAt(0)!==65533){r[t[243][a]]=62208+a;e[62208+a]=t[243][a]}t[244]="����������������������������������������������������������������嚵嚳壣孅巆巇廮廯忀忁懹攗攖攕攓旟曨曣曤櫳櫰櫪櫨櫹櫱櫮櫯瀼瀵瀯瀷瀴瀱灂瀸瀿瀺瀹灀瀻瀳灁爓爔犨獽獼璺皫皪皾盭矌矎矏矍矲礥礣礧礨礤礩����������������������������������禲穮穬穭竷籉籈籊籇籅糮繻繾纁纀羺翿聹臛臙舋艨艩蘢藿蘁藾蘛蘀藶蘄蘉蘅蘌藽蠙蠐蠑蠗蠓蠖襣襦覹觷譠譪譝譨譣譥譧譭趮躆躈躄轙轖轗轕轘轚邍酃酁醷醵醲醳鐋鐓鏻鐠鐏鐔鏾鐕鐐鐨鐙鐍鏵鐀鏷鐇鐎鐖鐒鏺鐉鏸鐊鏿�".split("");for(a=0;a!=t[244].length;++a)if(t[244][a].charCodeAt(0)!==65533){r[t[244][a]]=62464+a;e[62464+a]=t[244][a]}t[245]="����������������������������������������������������������������鏼鐌鏶鐑鐆闞闠闟霮霯鞹鞻韽韾顠顢顣顟飁飂饐饎饙饌饋饓騲騴騱騬騪騶騩騮騸騭髇髊髆鬐鬒鬑鰋鰈鯷鰅鰒鯸鱀鰇鰎鰆鰗鰔鰉鶟鶙鶤鶝鶒鶘鶐鶛����������������������������������鶠鶔鶜鶪鶗鶡鶚鶢鶨鶞鶣鶿鶩鶖鶦鶧麙麛麚黥黤黧黦鼰鼮齛齠齞齝齙龑儺儹劘劗囃嚽嚾孈孇巋巏廱懽攛欂櫼欃櫸欀灃灄灊灈灉灅灆爝爚爙獾甗癪矐礭礱礯籔籓糲纊纇纈纋纆纍罍羻耰臝蘘蘪蘦蘟蘣蘜蘙蘧蘮蘡蘠蘩蘞蘥�".split("");for(a=0;a!=t[245].length;++a)if(t[245][a].charCodeAt(0)!==65533){r[t[245][a]]=62720+a;e[62720+a]=t[245][a]}t[246]="����������������������������������������������������������������蠩蠝蠛蠠蠤蠜蠫衊襭襩襮襫觺譹譸譅譺譻贐贔趯躎躌轞轛轝酆酄酅醹鐿鐻鐶鐩鐽鐼鐰鐹鐪鐷鐬鑀鐱闥闤闣霵霺鞿韡顤飉飆飀饘饖騹騽驆驄驂驁騺����������������������������������騿髍鬕鬗鬘鬖鬺魒鰫鰝鰜鰬鰣鰨鰩鰤鰡鶷鶶鶼鷁鷇鷊鷏鶾鷅鷃鶻鶵鷎鶹鶺鶬鷈鶱鶭鷌鶳鷍鶲鹺麜黫黮黭鼛鼘鼚鼱齎齥齤龒亹囆囅囋奱孋孌巕巑廲攡攠攦攢欋欈欉氍灕灖灗灒爞爟犩獿瓘瓕瓙瓗癭皭礵禴穰穱籗籜籙籛籚�".split("");for(a=0;a!=t[246].length;++a)if(t[246][a].charCodeAt(0)!==65533){r[t[246][a]]=62976+a;e[62976+a]=t[246][a]}t[247]="����������������������������������������������������������������糴糱纑罏羇臞艫蘴蘵蘳蘬蘲蘶蠬蠨蠦蠪蠥襱覿覾觻譾讄讂讆讅譿贕躕躔躚躒躐躖躗轠轢酇鑌鑐鑊鑋鑏鑇鑅鑈鑉鑆霿韣顪顩飋饔饛驎驓驔驌驏驈驊����������������������������������驉驒驐髐鬙鬫鬻魖魕鱆鱈鰿鱄鰹鰳鱁鰼鰷鰴鰲鰽鰶鷛鷒鷞鷚鷋鷐鷜鷑鷟鷩鷙鷘鷖鷵鷕鷝麶黰鼵鼳鼲齂齫龕龢儽劙壨壧奲孍巘蠯彏戁戃戄攩攥斖曫欑欒欏毊灛灚爢玂玁玃癰矔籧籦纕艬蘺虀蘹蘼蘱蘻蘾蠰蠲蠮蠳襶襴襳觾�".split("");for(a=0;a!=t[247].length;++a)if(t[247][a].charCodeAt(0)!==65533){r[t[247][a]]=63232+a;e[63232+a]=t[247][a]}t[248]="����������������������������������������������������������������讌讎讋讈豅贙躘轤轣醼鑢鑕鑝鑗鑞韄韅頀驖驙鬞鬟鬠鱒鱘鱐鱊鱍鱋鱕鱙鱌鱎鷻鷷鷯鷣鷫鷸鷤鷶鷡鷮鷦鷲鷰鷢鷬鷴鷳鷨鷭黂黐黲黳鼆鼜鼸鼷鼶齃齏����������������������������������齱齰齮齯囓囍孎屭攭曭曮欓灟灡灝灠爣瓛瓥矕礸禷禶籪纗羉艭虃蠸蠷蠵衋讔讕躞躟躠躝醾醽釂鑫鑨鑩雥靆靃靇韇韥驞髕魙鱣鱧鱦鱢鱞鱠鸂鷾鸇鸃鸆鸅鸀鸁鸉鷿鷽鸄麠鼞齆齴齵齶囔攮斸欘欙欗欚灢爦犪矘矙礹籩籫糶纚�".split("");for(a=0;a!=t[248].length;++a)if(t[248][a].charCodeAt(0)!==65533){r[t[248][a]]=63488+a;e[63488+a]=t[248][a]}t[249]="����������������������������������������������������������������纘纛纙臠臡虆虇虈襹襺襼襻觿讘讙躥躤躣鑮鑭鑯鑱鑳靉顲饟鱨鱮鱭鸋鸍鸐鸏鸒鸑麡黵鼉齇齸齻齺齹圞灦籯蠼趲躦釃鑴鑸鑶鑵驠鱴鱳鱱鱵鸔鸓黶鼊����������������������������������龤灨灥糷虪蠾蠽蠿讞貜躩軉靋顳顴飌饡馫驤驦驧鬤鸕鸗齈戇欞爧虌躨钂钀钁驩驨鬮鸙爩虋讟钃鱹麷癵驫鱺鸝灩灪麤齾齉龘碁銹裏墻恒粧嫺╔╦╗╠╬╣╚╩╝╒╤╕╞╪╡╘╧╛╓╥╖╟╫╢╙╨╜║═╭╮╰╯▓�".split("");for(a=0;a!=t[249].length;++a)if(t[249][a].charCodeAt(0)!==65533){r[t[249][a]]=63744+a;e[63744+a]=t[249][a]}return{enc:r,dec:e}}();cptable[1250]=function(){var e="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€�‚�„…†‡�‰Š‹ŚŤŽŹ�‘’“”•–—�™š›śťžź ˇ˘Ł¤Ą¦§¨©Ş«¬­®Ż°±˛ł´µ¶·¸ąş»Ľ˝ľżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[1251]=function(){var e="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ЂЃ‚ѓ„…†‡€‰Љ‹ЊЌЋЏђ‘’“”•–—�™љ›њќћџ ЎўЈ¤Ґ¦§Ё©Є«¬­®Ї°±Ііґµ¶·ё№є»јЅѕїАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[1252]=function(){var e="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€�‚ƒ„…†‡ˆ‰Š‹Œ�Ž��‘’“”•–—˜™š›œ�žŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[1253]=function(){var e="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€�‚ƒ„…†‡�‰�‹�����‘’“”•–—�™�›���� ΅Ά£¤¥¦§¨©�«¬­®―°±²³΄µ¶·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[1254]=function(){var e="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€�‚ƒ„…†‡ˆ‰Š‹Œ����‘’“”•–—˜™š›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖ×ØÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[1255]=function(){var e="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€�‚ƒ„…†‡ˆ‰�‹�����‘’“”•–—˜™�›���� ¡¢£₪¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾¿ְֱֲֳִֵֶַָֹ�ֻּֽ־ֿ׀ׁׂ׃װױײ׳״�������אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[1256]=function(){var e="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€پ‚ƒ„…†‡ˆ‰ٹ‹Œچژڈگ‘’“”•–—ک™ڑ›œ‌‍ں ،¢£¤¥¦§¨©ھ«¬­®¯°±²³´µ¶·¸¹؛»¼½¾؟ہءآأؤإئابةتثجحخدذرزسشصض×طظعغـفقكàلâمنهوçèéêëىيîïًٌٍَôُِ÷ّùْûü‎‏ے",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[1257]=function(){var e="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€�‚�„…†‡�‰�‹�¨ˇ¸�‘’“”•–—�™�›�¯˛� �¢£¤�¦§Ø©Ŗ«¬­®Æ°±²³´µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž˙",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[1258]=function(){var e="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€�‚ƒ„…†‡ˆ‰�‹Œ����‘’“”•–—˜™�›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖ×ØÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[1e4]=function(){var e="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[10006]=function(){var e="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~Ĺ²É³ÖÜ΅àâä΄¨çéèê룙î‰ôö¦­ùûü†ΓΔΘΛΞΠß®©ΣΪ§≠°·Α±≤≥¥ΒΕΖΗΙΚΜΦΫΨΩάΝ¬ΟΡ≈Τ«»… ΥΧΆΈœ–―“”‘’÷ΉΊΌΎέήίόΏύαβψδεφγηιξκλμνοπώρστθωςχυζϊϋΐΰ�",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[10007]=function(){var e="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°¢£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµ∂ЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[10008]=function(){var e=[],r={},t=[],a;t[0]="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€���������������������������������������������������������������������������������������".split("");for(a=0;a!=t[0].length;++a)if(t[0][a].charCodeAt(0)!==65533){r[t[0][a]]=0+a;e[0+a]=t[0][a]}t[161]="����������������������������������������������������������������������������������������������������������������������������������������������������������������� 、。・ˉˇ¨〃々―~�…‘’“”〔〕〈〉《》「」『』〖〗【】±×÷∶∧∨∑∏∪∩∈∷√⊥∥∠⌒⊙∫∮≡≌≈∽∝≠≮≯≤≥∞∵∴♂♀°′″℃$¤¢£‰§№☆★○●◎◇◆□■△▲※→←↑↓〓�".split("");for(a=0;a!=t[161].length;++a)if(t[161][a].charCodeAt(0)!==65533){r[t[161][a]]=41216+a;e[41216+a]=t[161][a]}t[162]="���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������⒈⒉⒊⒋⒌⒍⒎⒏⒐⒑⒒⒓⒔⒕⒖⒗⒘⒙⒚⒛⑴⑵⑶⑷⑸⑹⑺⑻⑼⑽⑾⑿⒀⒁⒂⒃⒄⒅⒆⒇①②③④⑤⑥⑦⑧⑨⑩��㈠㈡㈢㈣㈤㈥㈦㈧㈨㈩��ⅠⅡⅢⅣⅤⅥⅦⅧⅨⅩⅪⅫ���".split("");for(a=0;a!=t[162].length;++a)if(t[162][a].charCodeAt(0)!==65533){r[t[162][a]]=41472+a;e[41472+a]=t[162][a]}t[163]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������!"#¥%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|} ̄�".split("");for(a=0;a!=t[163].length;++a)if(t[163][a].charCodeAt(0)!==65533){r[t[163][a]]=41728+a;e[41728+a]=t[163][a]}t[164]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������ぁあぃいぅうぇえぉおかがきぎくぐけげこごさざしじすずせぜそぞただちぢっつづてでとどなにぬねのはばぱひびぴふぶぷへべぺほぼぽまみむめもゃやゅゆょよらりるれろゎわゐゑをん������������".split("");for(a=0;a!=t[164].length;++a)if(t[164][a].charCodeAt(0)!==65533){r[t[164][a]]=41984+a;e[41984+a]=t[164][a]}t[165]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������ァアィイゥウェエォオカガキギクグケゲコゴサザシジスズセゼソゾタダチヂッツヅテデトドナニヌネノハバパヒビピフブプヘベペホボポマミムメモャヤュユョヨラリルレロヮワヰヱヲンヴヵヶ���������".split("");for(a=0;a!=t[165].length;++a)if(t[165][a].charCodeAt(0)!==65533){r[t[165][a]]=42240+a;e[42240+a]=t[165][a]}t[166]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ��������αβγδεζηθικλμνξοπρστυφχψω���������������������������������������".split("");for(a=0;a!=t[166].length;++a)if(t[166][a].charCodeAt(0)!==65533){ r[t[166][a]]=42496+a;e[42496+a]=t[166][a]}t[167]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ���������������абвгдеёжзийклмнопрстуфхцчшщъыьэюя��������������".split("");for(a=0;a!=t[167].length;++a)if(t[167][a].charCodeAt(0)!==65533){r[t[167][a]]=42752+a;e[42752+a]=t[167][a]}t[168]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������āáǎàēéěèīíǐìōóǒòūúǔùǖǘǚǜüê����������ㄅㄆㄇㄈㄉㄊㄋㄌㄍㄎㄏㄐㄑㄒㄓㄔㄕㄖㄗㄘㄙㄚㄛㄜㄝㄞㄟㄠㄡㄢㄣㄤㄥㄦㄧㄨㄩ����������������������".split("");for(a=0;a!=t[168].length;++a)if(t[168][a].charCodeAt(0)!==65533){r[t[168][a]]=43008+a;e[43008+a]=t[168][a]}t[169]="��������������������������������������������������������������������������������������������������������������������������������������������������������������������─━│┃┄┅┆┇┈┉┊┋┌┍┎┏┐┑┒┓└┕┖┗┘┙┚┛├┝┞┟┠┡┢┣┤┥┦┧┨┩┪┫┬┭┮┯┰┱┲┳┴┵┶┷┸┹┺┻┼┽┾┿╀╁╂╃╄╅╆╇╈╉╊╋����������������".split("");for(a=0;a!=t[169].length;++a)if(t[169][a].charCodeAt(0)!==65533){r[t[169][a]]=43264+a;e[43264+a]=t[169][a]}t[176]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������啊阿埃挨哎唉哀皑癌蔼矮艾碍爱隘鞍氨安俺按暗岸胺案肮昂盎凹敖熬翱袄傲奥懊澳芭捌扒叭吧笆八疤巴拔跋靶把耙坝霸罢爸白柏百摆佰败拜稗斑班搬扳般颁板版扮拌伴瓣半办绊邦帮梆榜膀绑棒磅蚌镑傍谤苞胞包褒剥�".split("");for(a=0;a!=t[176].length;++a)if(t[176][a].charCodeAt(0)!==65533){r[t[176][a]]=45056+a;e[45056+a]=t[176][a]}t[177]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������薄雹保堡饱宝抱报暴豹鲍爆杯碑悲卑北辈背贝钡倍狈备惫焙被奔苯本笨崩绷甭泵蹦迸逼鼻比鄙笔彼碧蓖蔽毕毙毖币庇痹闭敝弊必辟壁臂避陛鞭边编贬扁便变卞辨辩辫遍标彪膘表鳖憋别瘪彬斌濒滨宾摈兵冰柄丙秉饼炳�".split("");for(a=0;a!=t[177].length;++a)if(t[177][a].charCodeAt(0)!==65533){r[t[177][a]]=45312+a;e[45312+a]=t[177][a]}t[178]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������病并玻菠播拨钵波博勃搏铂箔伯帛舶脖膊渤泊驳捕卜哺补埠不布步簿部怖擦猜裁材才财睬踩采彩菜蔡餐参蚕残惭惨灿苍舱仓沧藏操糙槽曹草厕策侧册测层蹭插叉茬茶查碴搽察岔差诧拆柴豺搀掺蝉馋谗缠铲产阐颤昌猖�".split("");for(a=0;a!=t[178].length;++a)if(t[178][a].charCodeAt(0)!==65533){r[t[178][a]]=45568+a;e[45568+a]=t[178][a]}t[179]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������场尝常长偿肠厂敞畅唱倡超抄钞朝嘲潮巢吵炒车扯撤掣彻澈郴臣辰尘晨忱沉陈趁衬撑称城橙成呈乘程惩澄诚承逞骋秤吃痴持匙池迟弛驰耻齿侈尺赤翅斥炽充冲虫崇宠抽酬畴踌稠愁筹仇绸瞅丑臭初出橱厨躇锄雏滁除楚�".split("");for(a=0;a!=t[179].length;++a)if(t[179][a].charCodeAt(0)!==65533){r[t[179][a]]=45824+a;e[45824+a]=t[179][a]}t[180]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������础储矗搐触处揣川穿椽传船喘串疮窗幢床闯创吹炊捶锤垂春椿醇唇淳纯蠢戳绰疵茨磁雌辞慈瓷词此刺赐次聪葱囱匆从丛凑粗醋簇促蹿篡窜摧崔催脆瘁粹淬翠村存寸磋撮搓措挫错搭达答瘩打大呆歹傣戴带殆代贷袋待逮�".split("");for(a=0;a!=t[180].length;++a)if(t[180][a].charCodeAt(0)!==65533){r[t[180][a]]=46080+a;e[46080+a]=t[180][a]}t[181]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������怠耽担丹单郸掸胆旦氮但惮淡诞弹蛋当挡党荡档刀捣蹈倒岛祷导到稻悼道盗德得的蹬灯登等瞪凳邓堤低滴迪敌笛狄涤翟嫡抵底地蒂第帝弟递缔颠掂滇碘点典靛垫电佃甸店惦奠淀殿碉叼雕凋刁掉吊钓调跌爹碟蝶迭谍叠�".split("");for(a=0;a!=t[181].length;++a)if(t[181][a].charCodeAt(0)!==65533){r[t[181][a]]=46336+a;e[46336+a]=t[181][a]}t[182]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������丁盯叮钉顶鼎锭定订丢东冬董懂动栋侗恫冻洞兜抖斗陡豆逗痘都督毒犊独读堵睹赌杜镀肚度渡妒端短锻段断缎堆兑队对墩吨蹲敦顿囤钝盾遁掇哆多夺垛躲朵跺舵剁惰堕蛾峨鹅俄额讹娥恶厄扼遏鄂饿恩而儿耳尔饵洱二�".split("");for(a=0;a!=t[182].length;++a)if(t[182][a].charCodeAt(0)!==65533){r[t[182][a]]=46592+a;e[46592+a]=t[182][a]}t[183]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������贰发罚筏伐乏阀法珐藩帆番翻樊矾钒繁凡烦反返范贩犯饭泛坊芳方肪房防妨仿访纺放菲非啡飞肥匪诽吠肺废沸费芬酚吩氛分纷坟焚汾粉奋份忿愤粪丰封枫蜂峰锋风疯烽逢冯缝讽奉凤佛否夫敷肤孵扶拂辐幅氟符伏俘服�".split("");for(a=0;a!=t[183].length;++a)if(t[183][a].charCodeAt(0)!==65533){r[t[183][a]]=46848+a;e[46848+a]=t[183][a]}t[184]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������浮涪福袱弗甫抚辅俯釜斧脯腑府腐赴副覆赋复傅付阜父腹负富讣附妇缚咐噶嘎该改概钙盖溉干甘杆柑竿肝赶感秆敢赣冈刚钢缸肛纲岗港杠篙皋高膏羔糕搞镐稿告哥歌搁戈鸽胳疙割革葛格蛤阁隔铬个各给根跟耕更庚羹�".split("");for(a=0;a!=t[184].length;++a)if(t[184][a].charCodeAt(0)!==65533){r[t[184][a]]=47104+a;e[47104+a]=t[184][a]}t[185]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������埂耿梗工攻功恭龚供躬公宫弓巩汞拱贡共钩勾沟苟狗垢构购够辜菇咕箍估沽孤姑鼓古蛊骨谷股故顾固雇刮瓜剐寡挂褂乖拐怪棺关官冠观管馆罐惯灌贯光广逛瑰规圭硅归龟闺轨鬼诡癸桂柜跪贵刽辊滚棍锅郭国果裹过哈�".split("");for(a=0;a!=t[185].length;++a)if(t[185][a].charCodeAt(0)!==65533){r[t[185][a]]=47360+a;e[47360+a]=t[185][a]}t[186]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������骸孩海氦亥害骇酣憨邯韩含涵寒函喊罕翰撼捍旱憾悍焊汗汉夯杭航壕嚎豪毫郝好耗号浩呵喝荷菏核禾和何合盒貉阂河涸赫褐鹤贺嘿黑痕很狠恨哼亨横衡恒轰哄烘虹鸿洪宏弘红喉侯猴吼厚候后呼乎忽瑚壶葫胡蝴狐糊湖�".split("");for(a=0;a!=t[186].length;++a)if(t[186][a].charCodeAt(0)!==65533){r[t[186][a]]=47616+a;e[47616+a]=t[186][a]}t[187]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������弧虎唬护互沪户花哗华猾滑画划化话槐徊怀淮坏欢环桓还缓换患唤痪豢焕涣宦幻荒慌黄磺蝗簧皇凰惶煌晃幌恍谎灰挥辉徽恢蛔回毁悔慧卉惠晦贿秽会烩汇讳诲绘荤昏婚魂浑混豁活伙火获或惑霍货祸击圾基机畸稽积箕�".split("");for(a=0;a!=t[187].length;++a)if(t[187][a].charCodeAt(0)!==65533){r[t[187][a]]=47872+a;e[47872+a]=t[187][a]}t[188]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������肌饥迹激讥鸡姬绩缉吉极棘辑籍集及急疾汲即嫉级挤几脊己蓟技冀季伎祭剂悸济寄寂计记既忌际妓继纪嘉枷夹佳家加荚颊贾甲钾假稼价架驾嫁歼监坚尖笺间煎兼肩艰奸缄茧检柬碱硷拣捡简俭剪减荐槛鉴践贱见键箭件�".split("");for(a=0;a!=t[188].length;++a)if(t[188][a].charCodeAt(0)!==65533){r[t[188][a]]=48128+a;e[48128+a]=t[188][a]}t[189]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������健舰剑饯渐溅涧建僵姜将浆江疆蒋桨奖讲匠酱降蕉椒礁焦胶交郊浇骄娇嚼搅铰矫侥脚狡角饺缴绞剿教酵轿较叫窖揭接皆秸街阶截劫节桔杰捷睫竭洁结解姐戒藉芥界借介疥诫届巾筋斤金今津襟紧锦仅谨进靳晋禁近烬浸�".split("");for(a=0;a!=t[189].length;++a)if(t[189][a].charCodeAt(0)!==65533){r[t[189][a]]=48384+a;e[48384+a]=t[189][a]}t[190]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������尽劲荆兢茎睛晶鲸京惊精粳经井警景颈静境敬镜径痉靖竟竞净炯窘揪究纠玖韭久灸九酒厩救旧臼舅咎就疚鞠拘狙疽居驹菊局咀矩举沮聚拒据巨具距踞锯俱句惧炬剧捐鹃娟倦眷卷绢撅攫抉掘倔爵觉决诀绝均菌钧军君峻�".split("");for(a=0;a!=t[190].length;++a)if(t[190][a].charCodeAt(0)!==65533){r[t[190][a]]=48640+a;e[48640+a]=t[190][a]}t[191]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������俊竣浚郡骏喀咖卡咯开揩楷凯慨刊堪勘坎砍看康慷糠扛抗亢炕考拷烤靠坷苛柯棵磕颗科壳咳可渴克刻客课肯啃垦恳坑吭空恐孔控抠口扣寇枯哭窟苦酷库裤夸垮挎跨胯块筷侩快宽款匡筐狂框矿眶旷况亏盔岿窥葵奎魁傀�".split("");for(a=0;a!=t[191].length;++a)if(t[191][a].charCodeAt(0)!==65533){r[t[191][a]]=48896+a;e[48896+a]=t[191][a]}t[192]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������馈愧溃坤昆捆困括扩廓阔垃拉喇蜡腊辣啦莱来赖蓝婪栏拦篮阑兰澜谰揽览懒缆烂滥琅榔狼廊郎朗浪捞劳牢老佬姥酪烙涝勒乐雷镭蕾磊累儡垒擂肋类泪棱楞冷厘梨犁黎篱狸离漓理李里鲤礼莉荔吏栗丽厉励砾历利傈例俐�".split("");for(a=0;a!=t[192].length;++a)if(t[192][a].charCodeAt(0)!==65533){r[t[192][a]]=49152+a;e[49152+a]=t[192][a]}t[193]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������痢立粒沥隶力璃哩俩联莲连镰廉怜涟帘敛脸链恋炼练粮凉梁粱良两辆量晾亮谅撩聊僚疗燎寥辽潦了撂镣廖料列裂烈劣猎琳林磷霖临邻鳞淋凛赁吝拎玲菱零龄铃伶羚凌灵陵岭领另令溜琉榴硫馏留刘瘤流柳六龙聋咙笼窿�".split("");for(a=0;a!=t[193].length;++a)if(t[193][a].charCodeAt(0)!==65533){r[t[193][a]]=49408+a;e[49408+a]=t[193][a]}t[194]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������隆垄拢陇楼娄搂篓漏陋芦卢颅庐炉掳卤虏鲁麓碌露路赂鹿潞禄录陆戮驴吕铝侣旅履屡缕虑氯律率滤绿峦挛孪滦卵乱掠略抡轮伦仑沦纶论萝螺罗逻锣箩骡裸落洛骆络妈麻玛码蚂马骂嘛吗埋买麦卖迈脉瞒馒蛮满蔓曼慢漫�".split("");for(a=0;a!=t[194].length;++a)if(t[194][a].charCodeAt(0)!==65533){r[t[194][a]]=49664+a;e[49664+a]=t[194][a]}t[195]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������谩芒茫盲氓忙莽猫茅锚毛矛铆卯茂冒帽貌贸么玫枚梅酶霉煤没眉媒镁每美昧寐妹媚门闷们萌蒙檬盟锰猛梦孟眯醚靡糜迷谜弥米秘觅泌蜜密幂棉眠绵冕免勉娩缅面苗描瞄藐秒渺庙妙蔑灭民抿皿敏悯闽明螟鸣铭名命谬摸�".split("");for(a=0;a!=t[195].length;++a)if(t[195][a].charCodeAt(0)!==65533){r[t[195][a]]=49920+a;e[49920+a]=t[195][a]}t[196]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������摹蘑模膜磨摩魔抹末莫墨默沫漠寞陌谋牟某拇牡亩姆母墓暮幕募慕木目睦牧穆拿哪呐钠那娜纳氖乃奶耐奈南男难囊挠脑恼闹淖呢馁内嫩能妮霓倪泥尼拟你匿腻逆溺蔫拈年碾撵捻念娘酿鸟尿捏聂孽啮镊镍涅您柠狞凝宁�".split("");for(a=0;a!=t[196].length;++a)if(t[196][a].charCodeAt(0)!==65533){r[t[196][a]]=50176+a;e[50176+a]=t[196][a]}t[197]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������拧泞牛扭钮纽脓浓农弄奴努怒女暖虐疟挪懦糯诺哦欧鸥殴藕呕偶沤啪趴爬帕怕琶拍排牌徘湃派攀潘盘磐盼畔判叛乓庞旁耪胖抛咆刨炮袍跑泡呸胚培裴赔陪配佩沛喷盆砰抨烹澎彭蓬棚硼篷膨朋鹏捧碰坯砒霹批披劈琵毗�".split("");for(a=0;a!=t[197].length;++a)if(t[197][a].charCodeAt(0)!==65533){r[t[197][a]]=50432+a;e[50432+a]=t[197][a]}t[198]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������啤脾疲皮匹痞僻屁譬篇偏片骗飘漂瓢票撇瞥拼频贫品聘乒坪苹萍平凭瓶评屏坡泼颇婆破魄迫粕剖扑铺仆莆葡菩蒲埔朴圃普浦谱曝瀑期欺栖戚妻七凄漆柒沏其棋奇歧畦崎脐齐旗祈祁骑起岂乞企启契砌器气迄弃汽泣讫掐�".split("");for(a=0;a!=t[198].length;++a)if(t[198][a].charCodeAt(0)!==65533){r[t[198][a]]=50688+a;e[50688+a]=t[198][a]}t[199]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������恰洽牵扦钎铅千迁签仟谦乾黔钱钳前潜遣浅谴堑嵌欠歉枪呛腔羌墙蔷强抢橇锹敲悄桥瞧乔侨巧鞘撬翘峭俏窍切茄且怯窃钦侵亲秦琴勤芹擒禽寝沁青轻氢倾卿清擎晴氰情顷请庆琼穷秋丘邱球求囚酋泅趋区蛆曲躯屈驱渠�".split("");for(a=0;a!=t[199].length;++a)if(t[199][a].charCodeAt(0)!==65533){r[t[199][a]]=50944+a;e[50944+a]=t[199][a]}t[200]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������取娶龋趣去圈颧权醛泉全痊拳犬券劝缺炔瘸却鹊榷确雀裙群然燃冉染瓤壤攘嚷让饶扰绕惹热壬仁人忍韧任认刃妊纫扔仍日戎茸蓉荣融熔溶容绒冗揉柔肉茹蠕儒孺如辱乳汝入褥软阮蕊瑞锐闰润若弱撒洒萨腮鳃塞赛三叁�".split("");for(a=0;a!=t[200].length;++a)if(t[200][a].charCodeAt(0)!==65533){r[t[200][a]]=51200+a;e[51200+a]=t[200][a]}t[201]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������伞散桑嗓丧搔骚扫嫂瑟色涩森僧莎砂杀刹沙纱傻啥煞筛晒珊苫杉山删煽衫闪陕擅赡膳善汕扇缮墒伤商赏晌上尚裳梢捎稍烧芍勺韶少哨邵绍奢赊蛇舌舍赦摄射慑涉社设砷申呻伸身深娠绅神沈审婶甚肾慎渗声生甥牲升绳�".split("");for(a=0;a!=t[201].length;++a)if(t[201][a].charCodeAt(0)!==65533){r[t[201][a]]=51456+a;e[51456+a]=t[201][a]}t[202]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������省盛剩胜圣师失狮施湿诗尸虱十石拾时什食蚀实识史矢使屎驶始式示士世柿事拭誓逝势是嗜噬适仕侍释饰氏市恃室视试收手首守寿授售受瘦兽蔬枢梳殊抒输叔舒淑疏书赎孰熟薯暑曙署蜀黍鼠属术述树束戍竖墅庶数漱�".split("");for(a=0;a!=t[202].length;++a)if(t[202][a].charCodeAt(0)!==65533){r[t[202][a]]=51712+a;e[51712+a]=t[202][a]}t[203]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������恕刷耍摔衰甩帅栓拴霜双爽谁水睡税吮瞬顺舜说硕朔烁斯撕嘶思私司丝死肆寺嗣四伺似饲巳松耸怂颂送宋讼诵搜艘擞嗽苏酥俗素速粟僳塑溯宿诉肃酸蒜算虽隋随绥髓碎岁穗遂隧祟孙损笋蓑梭唆缩琐索锁所塌他它她塔�".split("");for(a=0;a!=t[203].length;++a)if(t[203][a].charCodeAt(0)!==65533){r[t[203][a]]=51968+a;e[51968+a]=t[203][a]}t[204]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������獭挞蹋踏胎苔抬台泰酞太态汰坍摊贪瘫滩坛檀痰潭谭谈坦毯袒碳探叹炭汤塘搪堂棠膛唐糖倘躺淌趟烫掏涛滔绦萄桃逃淘陶讨套特藤腾疼誊梯剔踢锑提题蹄啼体替嚏惕涕剃屉天添填田甜恬舔腆挑条迢眺跳贴铁帖厅听烃�".split("");for(a=0;a!=t[204].length;++a)if(t[204][a].charCodeAt(0)!==65533){r[t[204][a]]=52224+a;e[52224+a]=t[204][a]}t[205]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������汀廷停亭庭挺艇通桐酮瞳同铜彤童桶捅筒统痛偷投头透凸秃突图徒途涂屠土吐兔湍团推颓腿蜕褪退吞屯臀拖托脱鸵陀驮驼椭妥拓唾挖哇蛙洼娃瓦袜歪外豌弯湾玩顽丸烷完碗挽晚皖惋宛婉万腕汪王亡枉网往旺望忘妄威�".split("");for(a=0;a!=t[205].length;++a)if(t[205][a].charCodeAt(0)!==65533){r[t[205][a]]=52480+a;e[52480+a]=t[205][a]}t[206]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������巍微危韦违桅围唯惟为潍维苇萎委伟伪尾纬未蔚味畏胃喂魏位渭谓尉慰卫瘟温蚊文闻纹吻稳紊问嗡翁瓮挝蜗涡窝我斡卧握沃巫呜钨乌污诬屋无芜梧吾吴毋武五捂午舞伍侮坞戊雾晤物勿务悟误昔熙析西硒矽晰嘻吸锡牺�".split("");for(a=0;a!=t[206].length;++a)if(t[206][a].charCodeAt(0)!==65533){r[t[206][a]]=52736+a;e[52736+a]=t[206][a]}t[207]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������稀息希悉膝夕惜熄烯溪汐犀檄袭席习媳喜铣洗系隙戏细瞎虾匣霞辖暇峡侠狭下厦夏吓掀锨先仙鲜纤咸贤衔舷闲涎弦嫌显险现献县腺馅羡宪陷限线相厢镶香箱襄湘乡翔祥详想响享项巷橡像向象萧硝霄削哮嚣销消宵淆晓�".split("");for(a=0;a!=t[207].length;++a)if(t[207][a].charCodeAt(0)!==65533){r[t[207][a]]=52992+a;e[52992+a]=t[207][a]}t[208]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������小孝校肖啸笑效楔些歇蝎鞋协挟携邪斜胁谐写械卸蟹懈泄泻谢屑薪芯锌欣辛新忻心信衅星腥猩惺兴刑型形邢行醒幸杏性姓兄凶胸匈汹雄熊休修羞朽嗅锈秀袖绣墟戌需虚嘘须徐许蓄酗叙旭序畜恤絮婿绪续轩喧宣悬旋玄�".split("");for(a=0;a!=t[208].length;++a)if(t[208][a].charCodeAt(0)!==65533){r[t[208][a]]=53248+a;e[53248+a]=t[208][a]}t[209]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������选癣眩绚靴薛学穴雪血勋熏循旬询寻驯巡殉汛训讯逊迅压押鸦鸭呀丫芽牙蚜崖衙涯雅哑亚讶焉咽阉烟淹盐严研蜒岩延言颜阎炎沿奄掩眼衍演艳堰燕厌砚雁唁彦焰宴谚验殃央鸯秧杨扬佯疡羊洋阳氧仰痒养样漾邀腰妖瑶�".split("");for(a=0;a!=t[209].length;++a)if(t[209][a].charCodeAt(0)!==65533){r[t[209][a]]=53504+a;e[53504+a]=t[209][a]}t[210]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������摇尧遥窑谣姚咬舀药要耀椰噎耶爷野冶也页掖业叶曳腋夜液一壹医揖铱依伊衣颐夷遗移仪胰疑沂宜姨彝椅蚁倚已乙矣以艺抑易邑屹亿役臆逸肄疫亦裔意毅忆义益溢诣议谊译异翼翌绎茵荫因殷音阴姻吟银淫寅饮尹引隐�".split("");for(a=0;a!=t[210].length;++a)if(t[210][a].charCodeAt(0)!==65533){r[t[210][a]]=53760+a;e[53760+a]=t[210][a]}t[211]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������印英樱婴鹰应缨莹萤营荧蝇迎赢盈影颖硬映哟拥佣臃痈庸雍踊蛹咏泳涌永恿勇用幽优悠忧尤由邮铀犹油游酉有友右佑釉诱又幼迂淤于盂榆虞愚舆余俞逾鱼愉渝渔隅予娱雨与屿禹宇语羽玉域芋郁吁遇喻峪御愈欲狱育誉�".split("");for(a=0;a!=t[211].length;++a)if(t[211][a].charCodeAt(0)!==65533){r[t[211][a]]=54016+a;e[54016+a]=t[211][a]}t[212]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������浴寓裕预豫驭鸳渊冤元垣袁原援辕园员圆猿源缘远苑愿怨院曰约越跃钥岳粤月悦阅耘云郧匀陨允运蕴酝晕韵孕匝砸杂栽哉灾宰载再在咱攒暂赞赃脏葬遭糟凿藻枣早澡蚤躁噪造皂灶燥责择则泽贼怎增憎曾赠扎喳渣札轧�".split("");for(a=0;a!=t[212].length;++a)if(t[212][a].charCodeAt(0)!==65533){r[t[212][a]]=54272+a;e[54272+a]=t[212][a]}t[213]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������铡闸眨栅榨咋乍炸诈摘斋宅窄债寨瞻毡詹粘沾盏斩辗崭展蘸栈占战站湛绽樟章彰漳张掌涨杖丈帐账仗胀瘴障招昭找沼赵照罩兆肇召遮折哲蛰辙者锗蔗这浙珍斟真甄砧臻贞针侦枕疹诊震振镇阵蒸挣睁征狰争怔整拯正政�".split("");for(a=0;a!=t[213].length;++a)if(t[213][a].charCodeAt(0)!==65533){r[t[213][a]]=54528+a;e[54528+a]=t[213][a]}t[214]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������帧症郑证芝枝支吱蜘知肢脂汁之织职直植殖执值侄址指止趾只旨纸志挚掷至致置帜峙制智秩稚质炙痔滞治窒中盅忠钟衷终种肿重仲众舟周州洲诌粥轴肘帚咒皱宙昼骤珠株蛛朱猪诸诛逐竹烛煮拄瞩嘱主著柱助蛀贮铸筑�".split("");for(a=0;a!=t[214].length;++a)if(t[214][a].charCodeAt(0)!==65533){r[t[214][a]]=54784+a;e[54784+a]=t[214][a]}t[215]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������住注祝驻抓爪拽专砖转撰赚篆桩庄装妆撞壮状椎锥追赘坠缀谆准捉拙卓桌琢茁酌啄着灼浊兹咨资姿滋淄孜紫仔籽滓子自渍字鬃棕踪宗综总纵邹走奏揍租足卒族祖诅阻组钻纂嘴醉最罪尊遵昨左佐柞做作坐座������".split("");for(a=0;a!=t[215].length;++a)if(t[215][a].charCodeAt(0)!==65533){r[t[215][a]]=55040+a;e[55040+a]=t[215][a]}t[216]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������亍丌兀丐廿卅丕亘丞鬲孬噩丨禺丿匕乇夭爻卮氐囟胤馗毓睾鼗丶亟鼐乜乩亓芈孛啬嘏仄厍厝厣厥厮靥赝匚叵匦匮匾赜卦卣刂刈刎刭刳刿剀剌剞剡剜蒯剽劂劁劐劓冂罔亻仃仉仂仨仡仫仞伛仳伢佤仵伥伧伉伫佞佧攸佚佝�".split("");for(a=0;a!=t[216].length;++a)if(t[216][a].charCodeAt(0)!==65533){r[t[216][a]]=55296+a;e[55296+a]=t[216][a]}t[217]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������佟佗伲伽佶佴侑侉侃侏佾佻侪佼侬侔俦俨俪俅俚俣俜俑俟俸倩偌俳倬倏倮倭俾倜倌倥倨偾偃偕偈偎偬偻傥傧傩傺僖儆僭僬僦僮儇儋仝氽佘佥俎龠汆籴兮巽黉馘冁夔勹匍訇匐凫夙兕亠兖亳衮袤亵脔裒禀嬴蠃羸冫冱冽冼�".split("");for(a=0;a!=t[217].length;++a)if(t[217][a].charCodeAt(0)!==65533){r[t[217][a]]=55552+a;e[55552+a]=t[217][a]}t[218]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������凇冖冢冥讠讦讧讪讴讵讷诂诃诋诏诎诒诓诔诖诘诙诜诟诠诤诨诩诮诰诳诶诹诼诿谀谂谄谇谌谏谑谒谔谕谖谙谛谘谝谟谠谡谥谧谪谫谮谯谲谳谵谶卩卺阝阢阡阱阪阽阼陂陉陔陟陧陬陲陴隈隍隗隰邗邛邝邙邬邡邴邳邶邺�".split("");for(a=0;a!=t[218].length;++a)if(t[218][a].charCodeAt(0)!==65533){r[t[218][a]]=55808+a;e[55808+a]=t[218][a]}t[219]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������邸邰郏郅邾郐郄郇郓郦郢郜郗郛郫郯郾鄄鄢鄞鄣鄱鄯鄹酃酆刍奂劢劬劭劾哿勐勖勰叟燮矍廴凵凼鬯厶弁畚巯坌垩垡塾墼壅壑圩圬圪圳圹圮圯坜圻坂坩垅坫垆坼坻坨坭坶坳垭垤垌垲埏垧垴垓垠埕埘埚埙埒垸埴埯埸埤埝�".split("");for(a=0;a!=t[219].length;++a)if(t[219][a].charCodeAt(0)!==65533){r[t[219][a]]=56064+a;e[56064+a]=t[219][a]}t[220]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������堋堍埽埭堀堞堙塄堠塥塬墁墉墚墀馨鼙懿艹艽艿芏芊芨芄芎芑芗芙芫芸芾芰苈苊苣芘芷芮苋苌苁芩芴芡芪芟苄苎芤苡茉苷苤茏茇苜苴苒苘茌苻苓茑茚茆茔茕苠苕茜荑荛荜茈莒茼茴茱莛荞茯荏荇荃荟荀茗荠茭茺茳荦荥�".split("");for(a=0;a!=t[220].length;++a)if(t[220][a].charCodeAt(0)!==65533){r[t[220][a]]=56320+a;e[56320+a]=t[220][a]}t[221]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������荨茛荩荬荪荭荮莰荸莳莴莠莪莓莜莅荼莶莩荽莸荻莘莞莨莺莼菁萁菥菘堇萘萋菝菽菖萜萸萑萆菔菟萏萃菸菹菪菅菀萦菰菡葜葑葚葙葳蒇蒈葺蒉葸萼葆葩葶蒌蒎萱葭蓁蓍蓐蓦蒽蓓蓊蒿蒺蓠蒡蒹蒴蒗蓥蓣蔌甍蔸蓰蔹蔟蔺�".split("");for(a=0;a!=t[221].length;++a)if(t[221][a].charCodeAt(0)!==65533){r[t[221][a]]=56576+a;e[56576+a]=t[221][a]}t[222]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������蕖蔻蓿蓼蕙蕈蕨蕤蕞蕺瞢蕃蕲蕻薤薨薇薏蕹薮薜薅薹薷薰藓藁藜藿蘧蘅蘩蘖蘼廾弈夼奁耷奕奚奘匏尢尥尬尴扌扪抟抻拊拚拗拮挢拶挹捋捃掭揶捱捺掎掴捭掬掊捩掮掼揲揸揠揿揄揞揎摒揆掾摅摁搋搛搠搌搦搡摞撄摭撖�".split("");for(a=0;a!=t[222].length;++a)if(t[222][a].charCodeAt(0)!==65533){r[t[222][a]]=56832+a;e[56832+a]=t[222][a]}t[223]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������摺撷撸撙撺擀擐擗擤擢攉攥攮弋忒甙弑卟叱叽叩叨叻吒吖吆呋呒呓呔呖呃吡呗呙吣吲咂咔呷呱呤咚咛咄呶呦咝哐咭哂咴哒咧咦哓哔呲咣哕咻咿哌哙哚哜咩咪咤哝哏哞唛哧唠哽唔哳唢唣唏唑唧唪啧喏喵啉啭啁啕唿啐唼�".split("");for(a=0;a!=t[223].length;++a)if(t[223][a].charCodeAt(0)!==65533){r[t[223][a]]=57088+a;e[57088+a]=t[223][a]}t[224]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������唷啖啵啶啷唳唰啜喋嗒喃喱喹喈喁喟啾嗖喑啻嗟喽喾喔喙嗪嗷嗉嘟嗑嗫嗬嗔嗦嗝嗄嗯嗥嗲嗳嗌嗍嗨嗵嗤辔嘞嘈嘌嘁嘤嘣嗾嘀嘧嘭噘嘹噗嘬噍噢噙噜噌噔嚆噤噱噫噻噼嚅嚓嚯囔囗囝囡囵囫囹囿圄圊圉圜帏帙帔帑帱帻帼�".split("");for(a=0;a!=t[224].length;++a)if(t[224][a].charCodeAt(0)!==65533){r[t[224][a]]=57344+a;e[57344+a]=t[224][a]}t[225]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������帷幄幔幛幞幡岌屺岍岐岖岈岘岙岑岚岜岵岢岽岬岫岱岣峁岷峄峒峤峋峥崂崃崧崦崮崤崞崆崛嵘崾崴崽嵬嵛嵯嵝嵫嵋嵊嵩嵴嶂嶙嶝豳嶷巅彳彷徂徇徉後徕徙徜徨徭徵徼衢彡犭犰犴犷犸狃狁狎狍狒狨狯狩狲狴狷猁狳猃狺�".split("");for(a=0;a!=t[225].length;++a)if(t[225][a].charCodeAt(0)!==65533){r[t[225][a]]=57600+a;e[57600+a]=t[225][a]}t[226]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������狻猗猓猡猊猞猝猕猢猹猥猬猸猱獐獍獗獠獬獯獾舛夥飧夤夂饣饧饨饩饪饫饬饴饷饽馀馄馇馊馍馐馑馓馔馕庀庑庋庖庥庠庹庵庾庳赓廒廑廛廨廪膺忄忉忖忏怃忮怄忡忤忾怅怆忪忭忸怙怵怦怛怏怍怩怫怊怿怡恸恹恻恺恂�".split("");for(a=0;a!=t[226].length;++a)if(t[226][a].charCodeAt(0)!==65533){r[t[226][a]]=57856+a;e[57856+a]=t[226][a]}t[227]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������恪恽悖悚悭悝悃悒悌悛惬悻悱惝惘惆惚悴愠愦愕愣惴愀愎愫慊慵憬憔憧憷懔懵忝隳闩闫闱闳闵闶闼闾阃阄阆阈阊阋阌阍阏阒阕阖阗阙阚丬爿戕氵汔汜汊沣沅沐沔沌汨汩汴汶沆沩泐泔沭泷泸泱泗沲泠泖泺泫泮沱泓泯泾�".split("");for(a=0;a!=t[227].length;++a)if(t[227][a].charCodeAt(0)!==65533){r[t[227][a]]=58112+a;e[58112+a]=t[227][a]}t[228]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������洹洧洌浃浈洇洄洙洎洫浍洮洵洚浏浒浔洳涑浯涞涠浞涓涔浜浠浼浣渚淇淅淞渎涿淠渑淦淝淙渖涫渌涮渫湮湎湫溲湟溆湓湔渲渥湄滟溱溘滠漭滢溥溧溽溻溷滗溴滏溏滂溟潢潆潇漤漕滹漯漶潋潴漪漉漩澉澍澌潸潲潼潺濑�".split("");for(a=0;a!=t[228].length;++a)if(t[228][a].charCodeAt(0)!==65533){r[t[228][a]]=58368+a;e[58368+a]=t[228][a]}t[229]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������濉澧澹澶濂濡濮濞濠濯瀚瀣瀛瀹瀵灏灞宀宄宕宓宥宸甯骞搴寤寮褰寰蹇謇辶迓迕迥迮迤迩迦迳迨逅逄逋逦逑逍逖逡逵逶逭逯遄遑遒遐遨遘遢遛暹遴遽邂邈邃邋彐彗彖彘尻咫屐屙孱屣屦羼弪弩弭艴弼鬻屮妁妃妍妩妪妣�".split("");for(a=0;a!=t[229].length;++a)if(t[229][a].charCodeAt(0)!==65533){r[t[229][a]]=58624+a;e[58624+a]=t[229][a]}t[230]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������妗姊妫妞妤姒妲妯姗妾娅娆姝娈姣姘姹娌娉娲娴娑娣娓婀婧婊婕娼婢婵胬媪媛婷婺媾嫫媲嫒嫔媸嫠嫣嫱嫖嫦嫘嫜嬉嬗嬖嬲嬷孀尕尜孚孥孳孑孓孢驵驷驸驺驿驽骀骁骅骈骊骐骒骓骖骘骛骜骝骟骠骢骣骥骧纟纡纣纥纨纩�".split("");for(a=0;a!=t[230].length;++a)if(t[230][a].charCodeAt(0)!==65533){r[t[230][a]]=58880+a;e[58880+a]=t[230][a]}t[231]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������纭纰纾绀绁绂绉绋绌绐绔绗绛绠绡绨绫绮绯绱绲缍绶绺绻绾缁缂缃缇缈缋缌缏缑缒缗缙缜缛缟缡缢缣缤缥缦缧缪缫缬缭缯缰缱缲缳缵幺畿巛甾邕玎玑玮玢玟珏珂珑玷玳珀珉珈珥珙顼琊珩珧珞玺珲琏琪瑛琦琥琨琰琮琬�".split("");for(a=0;a!=t[231].length;++a)if(t[231][a].charCodeAt(0)!==65533){r[t[231][a]]=59136+a;e[59136+a]=t[231][a]}t[232]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������琛琚瑁瑜瑗瑕瑙瑷瑭瑾璜璎璀璁璇璋璞璨璩璐璧瓒璺韪韫韬杌杓杞杈杩枥枇杪杳枘枧杵枨枞枭枋杷杼柰栉柘栊柩枰栌柙枵柚枳柝栀柃枸柢栎柁柽栲栳桠桡桎桢桄桤梃栝桕桦桁桧桀栾桊桉栩梵梏桴桷梓桫棂楮棼椟椠棹�".split("");for(a=0;a!=t[232].length;++a)if(t[232][a].charCodeAt(0)!==65533){r[t[232][a]]=59392+a;e[59392+a]=t[232][a]}t[233]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������椤棰椋椁楗棣椐楱椹楠楂楝榄楫榀榘楸椴槌榇榈槎榉楦楣楹榛榧榻榫榭槔榱槁槊槟榕槠榍槿樯槭樗樘橥槲橄樾檠橐橛樵檎橹樽樨橘橼檑檐檩檗檫猷獒殁殂殇殄殒殓殍殚殛殡殪轫轭轱轲轳轵轶轸轷轹轺轼轾辁辂辄辇辋�".split("");for(a=0;a!=t[233].length;++a)if(t[233][a].charCodeAt(0)!==65533){r[t[233][a]]=59648+a;e[59648+a]=t[233][a]}t[234]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������辍辎辏辘辚軎戋戗戛戟戢戡戥戤戬臧瓯瓴瓿甏甑甓攴旮旯旰昊昙杲昃昕昀炅曷昝昴昱昶昵耆晟晔晁晏晖晡晗晷暄暌暧暝暾曛曜曦曩贲贳贶贻贽赀赅赆赈赉赇赍赕赙觇觊觋觌觎觏觐觑牮犟牝牦牯牾牿犄犋犍犏犒挈挲掰�".split("");for(a=0;a!=t[234].length;++a)if(t[234][a].charCodeAt(0)!==65533){r[t[234][a]]=59904+a;e[59904+a]=t[234][a]}t[235]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������搿擘耄毪毳毽毵毹氅氇氆氍氕氘氙氚氡氩氤氪氲攵敕敫牍牒牖爰虢刖肟肜肓肼朊肽肱肫肭肴肷胧胨胩胪胛胂胄胙胍胗朐胝胫胱胴胭脍脎胲胼朕脒豚脶脞脬脘脲腈腌腓腴腙腚腱腠腩腼腽腭腧塍媵膈膂膑滕膣膪臌朦臊膻�".split("");for(a=0;a!=t[235].length;++a)if(t[235][a].charCodeAt(0)!==65533){r[t[235][a]]=60160+a;e[60160+a]=t[235][a]}t[236]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������臁膦欤欷欹歃歆歙飑飒飓飕飙飚殳彀毂觳斐齑斓於旆旄旃旌旎旒旖炀炜炖炝炻烀炷炫炱烨烊焐焓焖焯焱煳煜煨煅煲煊煸煺熘熳熵熨熠燠燔燧燹爝爨灬焘煦熹戾戽扃扈扉礻祀祆祉祛祜祓祚祢祗祠祯祧祺禅禊禚禧禳忑忐�".split("");for(a=0;a!=t[236].length;++a)if(t[236][a].charCodeAt(0)!==65533){r[t[236][a]]=60416+a;e[60416+a]=t[236][a]}t[237]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������怼恝恚恧恁恙恣悫愆愍慝憩憝懋懑戆肀聿沓泶淼矶矸砀砉砗砘砑斫砭砜砝砹砺砻砟砼砥砬砣砩硎硭硖硗砦硐硇硌硪碛碓碚碇碜碡碣碲碹碥磔磙磉磬磲礅磴礓礤礞礴龛黹黻黼盱眄眍盹眇眈眚眢眙眭眦眵眸睐睑睇睃睚睨�".split("");for(a=0;a!=t[237].length;++a)if(t[237][a].charCodeAt(0)!==65533){r[t[237][a]]=60672+a;e[60672+a]=t[237][a]}t[238]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������睢睥睿瞍睽瞀瞌瞑瞟瞠瞰瞵瞽町畀畎畋畈畛畲畹疃罘罡罟詈罨罴罱罹羁罾盍盥蠲钅钆钇钋钊钌钍钏钐钔钗钕钚钛钜钣钤钫钪钭钬钯钰钲钴钶钷钸钹钺钼钽钿铄铈铉铊铋铌铍铎铐铑铒铕铖铗铙铘铛铞铟铠铢铤铥铧铨铪�".split("");for(a=0;a!=t[238].length;++a)if(t[238][a].charCodeAt(0)!==65533){r[t[238][a]]=60928+a;e[60928+a]=t[238][a]}t[239]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������铩铫铮铯铳铴铵铷铹铼铽铿锃锂锆锇锉锊锍锎锏锒锓锔锕锖锘锛锝锞锟锢锪锫锩锬锱锲锴锶锷锸锼锾锿镂锵镄镅镆镉镌镎镏镒镓镔镖镗镘镙镛镞镟镝镡镢镤镥镦镧镨镩镪镫镬镯镱镲镳锺矧矬雉秕秭秣秫稆嵇稃稂稞稔�".split("");for(a=0;a!=t[239].length;++a)if(t[239][a].charCodeAt(0)!==65533){r[t[239][a]]=61184+a;e[61184+a]=t[239][a]}t[240]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������稹稷穑黏馥穰皈皎皓皙皤瓞瓠甬鸠鸢鸨鸩鸪鸫鸬鸲鸱鸶鸸鸷鸹鸺鸾鹁鹂鹄鹆鹇鹈鹉鹋鹌鹎鹑鹕鹗鹚鹛鹜鹞鹣鹦鹧鹨鹩鹪鹫鹬鹱鹭鹳疒疔疖疠疝疬疣疳疴疸痄疱疰痃痂痖痍痣痨痦痤痫痧瘃痱痼痿瘐瘀瘅瘌瘗瘊瘥瘘瘕瘙�".split("");for(a=0;a!=t[240].length;++a)if(t[240][a].charCodeAt(0)!==65533){r[t[240][a]]=61440+a;e[61440+a]=t[240][a]}t[241]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������瘛瘼瘢瘠癀瘭瘰瘿瘵癃瘾瘳癍癞癔癜癖癫癯翊竦穸穹窀窆窈窕窦窠窬窨窭窳衤衩衲衽衿袂袢裆袷袼裉裢裎裣裥裱褚裼裨裾裰褡褙褓褛褊褴褫褶襁襦襻疋胥皲皴矜耒耔耖耜耠耢耥耦耧耩耨耱耋耵聃聆聍聒聩聱覃顸颀颃�".split("");for(a=0;a!=t[241].length;++a)if(t[241][a].charCodeAt(0)!==65533){r[t[241][a]]=61696+a;e[61696+a]=t[241][a]}t[242]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������颉颌颍颏颔颚颛颞颟颡颢颥颦虍虔虬虮虿虺虼虻蚨蚍蚋蚬蚝蚧蚣蚪蚓蚩蚶蛄蚵蛎蚰蚺蚱蚯蛉蛏蚴蛩蛱蛲蛭蛳蛐蜓蛞蛴蛟蛘蛑蜃蜇蛸蜈蜊蜍蜉蜣蜻蜞蜥蜮蜚蜾蝈蜴蜱蜩蜷蜿螂蜢蝽蝾蝻蝠蝰蝌蝮螋蝓蝣蝼蝤蝙蝥螓螯螨蟒�".split("");for(a=0;a!=t[242].length;++a)if(t[242][a].charCodeAt(0)!==65533){r[t[242][a]]=61952+a;e[61952+a]=t[242][a]}t[243]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������蟆螈螅螭螗螃螫蟥螬螵螳蟋蟓螽蟑蟀蟊蟛蟪蟠蟮蠖蠓蟾蠊蠛蠡蠹蠼缶罂罄罅舐竺竽笈笃笄笕笊笫笏筇笸笪笙笮笱笠笥笤笳笾笞筘筚筅筵筌筝筠筮筻筢筲筱箐箦箧箸箬箝箨箅箪箜箢箫箴篑篁篌篝篚篥篦篪簌篾篼簏簖簋�".split("");for(a=0;a!=t[243].length;++a)if(t[243][a].charCodeAt(0)!==65533){r[t[243][a]]=62208+a;e[62208+a]=t[243][a]}t[244]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������簟簪簦簸籁籀臾舁舂舄臬衄舡舢舣舭舯舨舫舸舻舳舴舾艄艉艋艏艚艟艨衾袅袈裘裟襞羝羟羧羯羰羲籼敉粑粝粜粞粢粲粼粽糁糇糌糍糈糅糗糨艮暨羿翎翕翥翡翦翩翮翳糸絷綦綮繇纛麸麴赳趄趔趑趱赧赭豇豉酊酐酎酏酤�".split("");for(a=0;a!=t[244].length;++a)if(t[244][a].charCodeAt(0)!==65533){r[t[244][a]]=62464+a;e[62464+a]=t[244][a]}t[245]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������酢酡酰酩酯酽酾酲酴酹醌醅醐醍醑醢醣醪醭醮醯醵醴醺豕鹾趸跫踅蹙蹩趵趿趼趺跄跖跗跚跞跎跏跛跆跬跷跸跣跹跻跤踉跽踔踝踟踬踮踣踯踺蹀踹踵踽踱蹉蹁蹂蹑蹒蹊蹰蹶蹼蹯蹴躅躏躔躐躜躞豸貂貊貅貘貔斛觖觞觚觜�".split("");for(a=0;a!=t[245].length;++a)if(t[245][a].charCodeAt(0)!==65533){r[t[245][a]]=62720+a;e[62720+a]=t[245][a]}t[246]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������觥觫觯訾謦靓雩雳雯霆霁霈霏霎霪霭霰霾龀龃龅龆龇龈龉龊龌黾鼋鼍隹隼隽雎雒瞿雠銎銮鋈錾鍪鏊鎏鐾鑫鱿鲂鲅鲆鲇鲈稣鲋鲎鲐鲑鲒鲔鲕鲚鲛鲞鲟鲠鲡鲢鲣鲥鲦鲧鲨鲩鲫鲭鲮鲰鲱鲲鲳鲴鲵鲶鲷鲺鲻鲼鲽鳄鳅鳆鳇鳊鳋�".split("");for(a=0;a!=t[246].length;++a)if(t[246][a].charCodeAt(0)!==65533){r[t[246][a]]=62976+a;e[62976+a]=t[246][a]}t[247]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������鳌鳍鳎鳏鳐鳓鳔鳕鳗鳘鳙鳜鳝鳟鳢靼鞅鞑鞒鞔鞯鞫鞣鞲鞴骱骰骷鹘骶骺骼髁髀髅髂髋髌髑魅魃魇魉魈魍魑飨餍餮饕饔髟髡髦髯髫髻髭髹鬈鬏鬓鬟鬣麽麾縻麂麇麈麋麒鏖麝麟黛黜黝黠黟黢黩黧黥黪黯鼢鼬鼯鼹鼷鼽鼾齄�".split("");for(a=0;a!=t[247].length;++a)if(t[247][a].charCodeAt(0)!==65533){r[t[247][a]]=63232+a;e[63232+a]=t[247][a]}return{enc:r,dec:e}}();cptable[10029]=function(){var e="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÄĀāÉĄÖÜáąČäčĆć鏟ĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņѬ√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[10079]=function(){var e="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûüÝ°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤ÐðÞþý·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[10081]=function(){var e="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙ�ˆ˜¯˘˙˚¸˝˛ˇ",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[28591]=function(){var e="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();if(typeof module!=="undefined"&&module.exports&&typeof DO_NOT_EXPORT_CODEPAGE==="undefined")module.exports=cptable;(function(e,r){"use strict";if(typeof cptable==="undefined"){if(typeof require!=="undefined"){var t=cptable;if(typeof module!=="undefined"&&module.exports&&typeof DO_NOT_EXPORT_CODEPAGE==="undefined")module.exports=r(t);else e.cptable=r(t)}else throw new Error("cptable not found")}else cptable=r(cptable)})(this,function(e){"use strict";var r={1200:"utf16le",1201:"utf16be",12000:"utf32le",12001:"utf32be",16969:"utf64le",20127:"ascii",65000:"utf7",65001:"utf8"};var t=[874,1250,1251,1252,1253,1254,1255,1256,1e4];var a=[932,936,949,950];var n=[65001];var i={};var s={};var f={};var l={};var o=function D(e){return String.fromCharCode(e)};var c=function P(e){return e.charCodeAt(0)};var h=typeof Buffer!=="undefined";var u=function(){};if(h){var d=!Buffer.from;if(!d)try{Buffer.from("foo","utf8")}catch(v){d=true}u=d?function(e,r){return r?new Buffer(e,r):new Buffer(e)}:Buffer.from.bind(Buffer);if(!Buffer.allocUnsafe)Buffer.allocUnsafe=function(e){return new Buffer(e)};var p=1024,m=Buffer.allocUnsafe(p);var g=function L(e){var r=Buffer.allocUnsafe(65536);for(var t=0;t<65536;++t)r[t]=0;var a=Object.keys(e),n=a.length;for(var i=0,s=a[i];i<n;++i){if(!(s=a[i]))continue;r[s.charCodeAt(0)]=e[s]}return r};var b=function M(r){var t=g(e[r].enc);return function a(e,r){var a=e.length;var n,i=0,s=0,f=0,l=0;if(typeof e==="string"){n=Buffer.allocUnsafe(a);for(i=0;i<a;++i)n[i]=t[e.charCodeAt(i)]}else if(Buffer.isBuffer(e)){ -n=Buffer.allocUnsafe(2*a);s=0;for(i=0;i<a;++i){f=e[i];if(f<128)n[s++]=t[f];else if(f<224){n[s++]=t[((f&31)<<6)+(e[i+1]&63)];++i}else if(f<240){n[s++]=t[((f&15)<<12)+((e[i+1]&63)<<6)+(e[i+2]&63)];i+=2}else{l=((f&7)<<18)+((e[i+1]&63)<<12)+((e[i+2]&63)<<6)+(e[i+3]&63);i+=3;if(l<65536)n[s++]=t[l];else{l-=65536;n[s++]=t[55296+(l>>10&1023)];n[s++]=t[56320+(l&1023)]}}}n=n.slice(0,s)}else{n=Buffer.allocUnsafe(a);for(i=0;i<a;++i)n[i]=t[e[i].charCodeAt(0)]}if(!r||r==="buf")return n;if(r!=="arr")return n.toString("binary");return[].slice.call(n)}};var w=function U(r){var t=e[r].dec;var a=Buffer.allocUnsafe(131072),n=0,i="";for(n=0;n<t.length;++n){if(!(i=t[n]))continue;var s=i.charCodeAt(0);a[2*n]=s&255;a[2*n+1]=s>>8}return function f(e){var r=e.length,t=0,n=0;if(2*r>p){p=2*r;m=Buffer.allocUnsafe(p)}if(Buffer.isBuffer(e)){for(t=0;t<r;t++){n=2*e[t];m[2*t]=a[n];m[2*t+1]=a[n+1]}}else if(typeof e==="string"){for(t=0;t<r;t++){n=2*e.charCodeAt(t);m[2*t]=a[n];m[2*t+1]=a[n+1]}}else{for(t=0;t<r;t++){n=2*e[t];m[2*t]=a[n];m[2*t+1]=a[n+1]}}return m.slice(0,2*r).toString("ucs2")}};var k=function B(r){var t=e[r].enc;var a=Buffer.allocUnsafe(131072);for(var n=0;n<131072;++n)a[n]=0;var i=Object.keys(t);for(var s=0,f=i[s];s<i.length;++s){if(!(f=i[s]))continue;var l=f.charCodeAt(0);a[2*l]=t[f]&255;a[2*l+1]=t[f]>>8}return function o(e,r){var t=e.length,n=Buffer.allocUnsafe(2*t),i=0,s=0,f=0,l=0,o=0;if(typeof e==="string"){for(i=l=0;i<t;++i){s=e.charCodeAt(i)*2;n[l++]=a[s+1]||a[s];if(a[s+1]>0)n[l++]=a[s]}n=n.slice(0,l)}else if(Buffer.isBuffer(e)){for(i=l=0;i<t;++i){o=e[i];if(o<128)s=o;else if(o<224){s=((o&31)<<6)+(e[i+1]&63);++i}else if(o<240){s=((o&15)<<12)+((e[i+1]&63)<<6)+(e[i+2]&63);i+=2}else{s=((o&7)<<18)+((e[i+1]&63)<<12)+((e[i+2]&63)<<6)+(e[i+3]&63);i+=3}if(s<65536){s*=2;n[l++]=a[s+1]||a[s];if(a[s+1]>0)n[l++]=a[s]}else{f=s-65536;s=2*(55296+(f>>10&1023));n[l++]=a[s+1]||a[s];if(a[s+1]>0)n[l++]=a[s];s=2*(56320+(f&1023));n[l++]=a[s+1]||a[s];if(a[s+1]>0)n[l++]=a[s]}}n=n.slice(0,l)}else{for(i=l=0;i<t;i++){s=e[i].charCodeAt(0)*2;n[l++]=a[s+1]||a[s];if(a[s+1]>0)n[l++]=a[s]}}if(!r||r==="buf")return n;if(r!=="arr")return n.toString("binary");return[].slice.call(n)}};var T=function W(r){var t=e[r].dec;var a=Buffer.allocUnsafe(131072),n=0,i,s=0,f=0,l=0;for(l=0;l<65536;++l){a[2*l]=255;a[2*l+1]=253}for(n=0;n<t.length;++n){if(!(i=t[n]))continue;s=i.charCodeAt(0);f=2*n;a[f]=s&255;a[f+1]=s>>8}return function o(e){var r=e.length,t=Buffer.allocUnsafe(2*r),n=0,i=0,s=0;if(Buffer.isBuffer(e)){for(n=0;n<r;n++){i=2*e[n];if(a[i]===255&&a[i+1]===253){i=2*((e[n]<<8)+e[n+1]);++n}t[s++]=a[i];t[s++]=a[i+1]}}else if(typeof e==="string"){for(n=0;n<r;n++){i=2*e.charCodeAt(n);if(a[i]===255&&a[i+1]===253){i=2*((e.charCodeAt(n)<<8)+e.charCodeAt(n+1));++n}t[s++]=a[i];t[s++]=a[i+1]}}else{for(n=0;n<r;n++){i=2*e[n];if(a[i]===255&&a[i+1]===253){i=2*((e[n]<<8)+e[n+1]);++n}t[s++]=a[i];t[s++]=a[i+1]}}return t.slice(0,s).toString("ucs2")}};i[65001]=function z(e){if(typeof e==="string")return z(e.split("").map(c));var r=e.length,t=0,a=0;if(4*r>p){p=4*r;m=Buffer.allocUnsafe(p)}var n=0;if(r>=3&&e[0]==239)if(e[1]==187&&e[2]==191)n=3;for(var i=1,s=0,f=0;n<r;n+=i){i=1;f=e[n];if(f<128)t=f;else if(f<224){t=(f&31)*64+(e[n+1]&63);i=2}else if(f<240){t=((f&15)<<12)+(e[n+1]&63)*64+(e[n+2]&63);i=3}else{t=(f&7)*262144+((e[n+1]&63)<<12)+(e[n+2]&63)*64+(e[n+3]&63);i=4}if(t<65536){m[s++]=t&255;m[s++]=t>>8}else{t-=65536;a=55296+(t>>10&1023);t=56320+(t&1023);m[s++]=a&255;m[s++]=a>>>8;m[s++]=t&255;m[s++]=t>>>8&255}}return m.slice(0,s).toString("ucs2")};s[65001]=function H(e,r){if(h&&Buffer.isBuffer(e)){if(!r||r==="buf")return e;if(r!=="arr")return e.toString("binary");return[].slice.call(e)}var t=e.length,a=0,n=0,i=0;var s=typeof e==="string";if(4*t>p){p=4*t;m=Buffer.allocUnsafe(p)}for(var f=0;f<t;++f){a=s?e.charCodeAt(f):e[f].charCodeAt(0);if(a<=127)m[i++]=a;else if(a<=2047){m[i++]=192+(a>>6);m[i++]=128+(a&63)}else if(a>=55296&&a<=57343){a-=55296;++f;n=(s?e.charCodeAt(f):e[f].charCodeAt(0))-56320+(a<<10);m[i++]=240+(n>>>18&7);m[i++]=144+(n>>>12&63);m[i++]=128+(n>>>6&63);m[i++]=128+(n&63)}else{m[i++]=224+(a>>12);m[i++]=128+(a>>6&63);m[i++]=128+(a&63)}}if(!r||r==="buf")return m.slice(0,i);if(r!=="arr")return m.slice(0,i).toString("binary");return[].slice.call(m,0,i)}}var A=function V(){if(h){if(f[t[0]])return;var r=0,o=0;for(r=0;r<t.length;++r){o=t[r];if(e[o]){f[o]=w(o);l[o]=b(o)}}for(r=0;r<a.length;++r){o=a[r];if(e[o]){f[o]=T(o);l[o]=k(o)}}for(r=0;r<n.length;++r){o=n[r];if(i[o])f[o]=i[o];if(s[o])l[o]=s[o]}}};var y=function(e,r){void r;return""};var E=function X(e){delete f[e];delete l[e]};var C=function $(){if(h){if(!f[t[0]])return;t.forEach(E);a.forEach(E);n.forEach(E)}O=y;R=0};var _={encache:A,decache:C,sbcs:t,dbcs:a};A();var S="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";var x="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'(),-./:?";var O=y,R=0;var I=function G(t,a,n){if(t===R&&O){return O(a,n)}if(l[t]){O=l[R=t];return O(a,n)}if(h&&Buffer.isBuffer(a))a=a.toString("utf8");var i=a.length;var s=h?Buffer.allocUnsafe(4*i):[],f=0,c=0,d=0,v=0;var p=e[t],m,g="";var b=typeof a==="string";if(p&&(m=p.enc))for(c=0;c<i;++c,++d){f=m[b?a.charAt(c):a[c]];if(f>255){s[d]=f>>8;s[++d]=f&255}else s[d]=f&255}else if(g=r[t])switch(g){case"utf8":if(h&&b){s=u(a,g);d=s.length;break}for(c=0;c<i;++c,++d){f=b?a.charCodeAt(c):a[c].charCodeAt(0);if(f<=127)s[d]=f;else if(f<=2047){s[d]=192+(f>>6);s[++d]=128+(f&63)}else if(f>=55296&&f<=57343){f-=55296;v=(b?a.charCodeAt(++c):a[++c].charCodeAt(0))-56320+(f<<10);s[d]=240+(v>>>18&7);s[++d]=144+(v>>>12&63);s[++d]=128+(v>>>6&63);s[++d]=128+(v&63)}else{s[d]=224+(f>>12);s[++d]=128+(f>>6&63);s[++d]=128+(f&63)}}break;case"ascii":if(h&&typeof a==="string"){s=u(a,g);d=s.length;break}for(c=0;c<i;++c,++d){f=b?a.charCodeAt(c):a[c].charCodeAt(0);if(f<=127)s[d]=f;else throw new Error("bad ascii "+f)}break;case"utf16le":if(h&&typeof a==="string"){s=u(a,g);d=s.length;break}for(c=0;c<i;++c){f=b?a.charCodeAt(c):a[c].charCodeAt(0);s[d++]=f&255;s[d++]=f>>8}break;case"utf16be":for(c=0;c<i;++c){f=b?a.charCodeAt(c):a[c].charCodeAt(0);s[d++]=f>>8;s[d++]=f&255}break;case"utf32le":for(c=0;c<i;++c){f=b?a.charCodeAt(c):a[c].charCodeAt(0);if(f>=55296&&f<=57343)f=65536+(f-55296<<10)+(a[++c].charCodeAt(0)-56320);s[d++]=f&255;f>>=8;s[d++]=f&255;f>>=8;s[d++]=f&255;f>>=8;s[d++]=f&255}break;case"utf32be":for(c=0;c<i;++c){f=b?a.charCodeAt(c):a[c].charCodeAt(0);if(f>=55296&&f<=57343)f=65536+(f-55296<<10)+(a[++c].charCodeAt(0)-56320);s[d+3]=f&255;f>>=8;s[d+2]=f&255;f>>=8;s[d+1]=f&255;f>>=8;s[d]=f&255;d+=4}break;case"utf7":for(c=0;c<i;c++){var w=b?a.charAt(c):a[c].charAt(0);if(w==="+"){s[d++]=43;s[d++]=45;continue}if(x.indexOf(w)>-1){s[d++]=w.charCodeAt(0);continue}var k=G(1201,w);s[d++]=43;s[d++]=S.charCodeAt(k[0]>>2);s[d++]=S.charCodeAt(((k[0]&3)<<4)+((k[1]||0)>>4));s[d++]=S.charCodeAt(((k[1]&15)<<2)+((k[2]||0)>>6));s[d++]=45}break;default:throw new Error("Unsupported magic: "+t+" "+r[t]);}else throw new Error("Unrecognized CP: "+t);s=s.slice(0,d);if(!h)return n=="str"?s.map(o).join(""):s;if(!n||n==="buf")return s;if(n!=="arr")return s.toString("binary");return[].slice.call(s)};var N=function j(t,a){var n;if(n=f[t])return n(a);if(typeof a==="string")return j(t,a.split("").map(c));var i=a.length,s=new Array(i),l="",o=0,u=0,d=1,v=0,p=0;var m=e[t],g,b="";if(m&&(g=m.dec)){for(u=0;u<i;u+=d){d=2;l=g[(a[u]<<8)+a[u+1]];if(!l){d=1;l=g[a[u]]}if(!l)throw new Error("Unrecognized code: "+a[u]+" "+a[u+d-1]+" "+u+" "+d+" "+g[a[u]]);s[v++]=l}}else if(b=r[t])switch(b){case"utf8":if(i>=3&&a[0]==239)if(a[1]==187&&a[2]==191)u=3;for(;u<i;u+=d){d=1;if(a[u]<128)o=a[u];else if(a[u]<224){o=(a[u]&31)*64+(a[u+1]&63);d=2}else if(a[u]<240){o=((a[u]&15)<<12)+(a[u+1]&63)*64+(a[u+2]&63);d=3}else{o=(a[u]&7)*262144+((a[u+1]&63)<<12)+(a[u+2]&63)*64+(a[u+3]&63);d=4}if(o<65536){s[v++]=String.fromCharCode(o)}else{o-=65536;p=55296+(o>>10&1023);o=56320+(o&1023);s[v++]=String.fromCharCode(p);s[v++]=String.fromCharCode(o)}}break;case"ascii":if(h&&Buffer.isBuffer(a))return a.toString(b);for(u=0;u<i;u++)s[u]=String.fromCharCode(a[u]);v=i;break;case"utf16le":if(i>=2&&a[0]==255)if(a[1]==254)u=2;if(h&&Buffer.isBuffer(a))return a.toString(b);d=2;for(;u+1<i;u+=d){s[v++]=String.fromCharCode((a[u+1]<<8)+a[u])}break;case"utf16be":if(i>=2&&a[0]==254)if(a[1]==255)u=2;d=2;for(;u+1<i;u+=d){s[v++]=String.fromCharCode((a[u]<<8)+a[u+1])}break;case"utf32le":if(i>=4&&a[0]==255)if(a[1]==254&&a[2]===0&&a[3]===0)u=4;d=4;for(;u<i;u+=d){o=(a[u+3]<<24)+(a[u+2]<<16)+(a[u+1]<<8)+a[u];if(o>65535){o-=65536;s[v++]=String.fromCharCode(55296+(o>>10&1023));s[v++]=String.fromCharCode(56320+(o&1023))}else s[v++]=String.fromCharCode(o)}break;case"utf32be":if(i>=4&&a[3]==255)if(a[2]==254&&a[1]===0&&a[0]===0)u=4;d=4;for(;u<i;u+=d){o=(a[u]<<24)+(a[u+1]<<16)+(a[u+2]<<8)+a[u+3];if(o>65535){o-=65536;s[v++]=String.fromCharCode(55296+(o>>10&1023));s[v++]=String.fromCharCode(56320+(o&1023))}else s[v++]=String.fromCharCode(o)}break;case"utf7":if(i>=4&&a[0]==43&&a[1]==47&&a[2]==118){if(i>=5&&a[3]==56&&a[4]==45)u=5;else if(a[3]==56||a[3]==57||a[3]==43||a[3]==47)u=4}for(;u<i;u+=d){if(a[u]!==43){d=1;s[v++]=String.fromCharCode(a[u]);continue}d=1;if(a[u+1]===45){d=2;s[v++]="+";continue}while(String.fromCharCode(a[u+d]).match(/[A-Za-z0-9+\/]/))d++;var w=0;if(a[u+d]===45){++d;w=1}var k=[];var T="";var A=0,y=0,E=0;var C=0,_=0,x=0,O=0;for(var R=1;R<d-w;){C=S.indexOf(String.fromCharCode(a[u+R++]));_=S.indexOf(String.fromCharCode(a[u+R++]));A=C<<2|_>>4;k.push(A);x=S.indexOf(String.fromCharCode(a[u+R++]));if(x===-1)break;y=(_&15)<<4|x>>2;k.push(y);O=S.indexOf(String.fromCharCode(a[u+R++]));if(O===-1)break;E=(x&3)<<6|O;if(O<64)k.push(E)}T=j(1201,k);for(R=0;R<T.length;++R)s[v++]=T.charAt(R)}break;default:throw new Error("Unsupported magic: "+t+" "+r[t]);}else throw new Error("Unrecognized CP: "+t);return s.slice(0,v).join("")};var F=function K(t){return!!(e[t]||r[t])};e.utils={decode:N,encode:I,hascp:F,magic:r,cache:_};return e});var XLSX={};function make_xlsx_lib(e){e.version="0.20.1";var r=1200,t=1252;var a;var n=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4];var i={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 s=function(e){if(n.indexOf(e)==-1)return;t=i[0]=e};function f(){s(1252)}var l=function(e){r=e;s(e)};function o(){l(1200);f()}function c(e){var r=[];for(var t=0,a=e.length;t<a;++t)r[t]=e.charCodeAt(t);return r}function h(e){var r=[];for(var t=0;t<e.length>>1;++t)r[t]=String.fromCharCode(e.charCodeAt(2*t)+(e.charCodeAt(2*t+1)<<8));return r.join("")}function u(e){var r=[];for(var t=0;t<e.length>>1;++t)r[t]=String.fromCharCode(e[2*t]+(e[2*t+1]<<8));return r.join("")}function d(e){var r=[];for(var t=0;t<e.length>>1;++t)r[t]=String.fromCharCode(e.charCodeAt(2*t+1)+(e.charCodeAt(2*t)<<8));return r.join("")}var v=function(e){var r=e.charCodeAt(0),t=e.charCodeAt(1);if(r==255&&t==254)return h(e.slice(2));if(r==254&&t==255)return d(e.slice(2));if(r==65279)return e.slice(1);return e};var p=function oT(e){return String.fromCharCode(e)};var m=function cT(e){return String.fromCharCode(e)};function g(e){a=e;l=function(e){r=e;s(e)};v=function(e){if(e.charCodeAt(0)===255&&e.charCodeAt(1)===254){return a.utils.decode(1200,c(e.slice(2)))}return e};p=function n(e){if(r===1200)return String.fromCharCode(e);return a.utils.decode(r,[e&255,e>>8])[0]};m=function i(e){return a.utils.decode(t,[e])[0]};la()}var b=null;var w=true;var k="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function T(e){var r="";var t=0,a=0,n=0,i=0,s=0,f=0,l=0;for(var o=0;o<e.length;){t=e.charCodeAt(o++);i=t>>2;a=e.charCodeAt(o++);s=(t&3)<<4|a>>4;n=e.charCodeAt(o++);f=(a&15)<<2|n>>6;l=n&63;if(isNaN(a)){f=l=64}else if(isNaN(n)){l=64}r+=k.charAt(i)+k.charAt(s)+k.charAt(f)+k.charAt(l)}return r}function A(e){var r="";var t=0,a=0,n=0,i=0,s=0,f=0,l=0;for(var o=0;o<e.length;){t=e.charCodeAt(o++);if(t>255)t=95;i=t>>2;a=e.charCodeAt(o++);if(a>255)a=95;s=(t&3)<<4|a>>4;n=e.charCodeAt(o++);if(n>255)n=95;f=(a&15)<<2|n>>6;l=n&63;if(isNaN(a)){f=l=64}else if(isNaN(n)){l=64}r+=k.charAt(i)+k.charAt(s)+k.charAt(f)+k.charAt(l)}return r}function y(e){var r="";var t=0,a=0,n=0,i=0,s=0,f=0,l=0;for(var o=0;o<e.length;){t=e[o++];i=t>>2;a=e[o++];s=(t&3)<<4|a>>4;n=e[o++];f=(a&15)<<2|n>>6;l=n&63;if(isNaN(a)){f=l=64}else if(isNaN(n)){l=64}r+=k.charAt(i)+k.charAt(s)+k.charAt(f)+k.charAt(l)}return r}function E(e){var r="";var t=0,a=0,n=0,i=0,s=0,f=0,l=0;e=e.replace(/^data:([^\/]+\/[^\/]+)?;base64\,/,"").replace(/[^\w\+\/\=]/g,"");for(var o=0;o<e.length;){i=k.indexOf(e.charAt(o++));s=k.indexOf(e.charAt(o++));t=i<<2|s>>4;r+=String.fromCharCode(t);f=k.indexOf(e.charAt(o++));a=(s&15)<<4|f>>2;if(f!==64){r+=String.fromCharCode(a)}l=k.indexOf(e.charAt(o++));n=(f&3)<<6|l;if(l!==64){r+=String.fromCharCode(n)}}return r}var C=function(){return typeof Buffer!=="undefined"&&typeof undefined!=="undefined"&&typeof{}!=="undefined"&&!!{}.node}();var _=function(){if(typeof Buffer!=="undefined"){var e=!Buffer.from;if(!e)try{Buffer.from("foo","utf8")}catch(r){e=true}return e?function(e,r){return r?new Buffer(e,r):new Buffer(e)}:Buffer.from.bind(Buffer)}return function(){}}();var S=function(){if(typeof Buffer==="undefined")return false;var e=_([65,0]);if(!e)return false;var r=e.toString("utf16le");return r.length==1}();function x(e){if(C)return Buffer.alloc?Buffer.alloc(e):new Buffer(e);return typeof Uint8Array!="undefined"?new Uint8Array(e):new Array(e)}function O(e){if(C)return Buffer.allocUnsafe?Buffer.allocUnsafe(e):new Buffer(e);return typeof Uint8Array!="undefined"?new Uint8Array(e):new Array(e)}var R=function hT(e){if(C)return _(e,"binary");return e.split("").map(function(e){return e.charCodeAt(0)&255})};function I(e){if(typeof ArrayBuffer==="undefined")return R(e);var r=new ArrayBuffer(e.length),t=new Uint8Array(r);for(var a=0;a!=e.length;++a)t[a]=e.charCodeAt(a)&255;return r}function N(e){if(Array.isArray(e))return e.map(function(e){return String.fromCharCode(e)}).join("");var r=[];for(var t=0;t<e.length;++t)r[t]=String.fromCharCode(e[t]);return r.join("")}function F(e){if(typeof Uint8Array==="undefined")throw new Error("Unsupported");return new Uint8Array(e)}function D(e){if(typeof ArrayBuffer=="undefined")throw new Error("Unsupported");if(e instanceof ArrayBuffer)return D(new Uint8Array(e));var r=new Array(e.length);for(var t=0;t<e.length;++t)r[t]=e[t];return r}var P=C?function(e){return Buffer.concat(e.map(function(e){return Buffer.isBuffer(e)?e:_(e)}))}:function(e){if(typeof Uint8Array!=="undefined"){var r=0,t=0;for(r=0;r<e.length;++r)t+=e[r].length;var a=new Uint8Array(t);var n=0;for(r=0,t=0;r<e.length;t+=n,++r){n=e[r].length;if(e[r]instanceof Uint8Array)a.set(e[r],t);else if(typeof e[r]=="string")a.set(new Uint8Array(R(e[r])),t);else a.set(new Uint8Array(e[r]),t)}return a}return[].concat.apply([],e.map(function(e){return Array.isArray(e)?e:[].slice.call(e)}))};function L(e){var r=[],t=0,a=e.length+250;var n=x(e.length+255);for(var i=0;i<e.length;++i){var s=e.charCodeAt(i);if(s<128)n[t++]=s;else if(s<2048){n[t++]=192|s>>6&31;n[t++]=128|s&63}else if(s>=55296&&s<57344){s=(s&1023)+64;var f=e.charCodeAt(++i)&1023;n[t++]=240|s>>8&7;n[t++]=128|s>>2&63;n[t++]=128|f>>6&15|(s&3)<<4;n[t++]=128|f&63}else{n[t++]=224|s>>12&15;n[t++]=128|s>>6&63;n[t++]=128|s&63}if(t>a){r.push(n.slice(0,t));t=0;n=x(65535);a=65530}}r.push(n.slice(0,t));return P(r)}var M=/\u0000/g,U=/[\u0001-\u0006]/g;function B(e){var r="",t=e.length-1;while(t>=0)r+=e.charAt(t--);return r}function W(e,r){var t=""+e;return t.length>=r?t:Ar("0",r-t.length)+t}function z(e,r){var t=""+e;return t.length>=r?t:Ar(" ",r-t.length)+t}function H(e,r){var t=""+e;return t.length>=r?t:t+Ar(" ",r-t.length)}function V(e,r){var t=""+Math.round(e);return t.length>=r?t:Ar("0",r-t.length)+t}function X(e,r){var t=""+e;return t.length>=r?t:Ar("0",r-t.length)+t}var G=Math.pow(2,32);function j(e,r){if(e>G||e<-G)return V(e,r);var t=Math.round(e);return X(t,r)}function K(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 Y=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]];var Z=[["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 J(e){if(!e)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"秒 "';return e}var q={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"上午/下午 "hh"時"mm"分"ss"秒 "'};var Q={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0};var ee={5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',41:'_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function re(e,r,t){var a=e<0?-1:1;var n=e*a;var i=0,s=1,f=0;var l=1,o=0,c=0;var h=Math.floor(n);while(o<r){h=Math.floor(n);f=h*s+i;c=h*o+l;if(n-h<5e-8)break;n=1/(n-h);i=s;s=f;l=o;o=c}if(c>r){if(o>r){c=l;f=i}else{c=o;f=s}}if(!t)return[0,a*f,c];var u=Math.floor(a*f/c);return[u,a*f-u*c,c]}function te(e){var r=e.toPrecision(16);if(r.indexOf("e")>-1){var t=r.slice(0,r.indexOf("e"));t=t.indexOf(".")>-1?t.slice(0,t.slice(0,2)=="0."?17:16):t.slice(0,15)+Ar("0",t.length-15);return t+r.slice(r.indexOf("e"))}var a=r.indexOf(".")>-1?r.slice(0,r.slice(0,2)=="0."?17:16):r.slice(0,15)+Ar("0",r.length-15);return Number(a)}function ae(e,r,t){if(e>2958465||e<0)return null;e=te(e);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 l=new Date(1900,0,1);l.setDate(l.getDate()+a-1);s=[l.getFullYear(),l.getMonth()+1,l.getDate()];i=l.getDay();if(a<60)i=(i+6)%7;if(t)i=ce(l,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}function ne(e){return e.indexOf(".")==-1?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function ie(e){if(e.indexOf("E")==-1)return e;return e.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}function se(e){var r=e<0?12:11;var t=ne(e.toFixed(12));if(t.length<=r)return t;t=e.toPrecision(10);if(t.length<=r)return t;return e.toExponential(5)}function fe(e){var r=ne(e.toFixed(11));return r.length>(e<0?12:11)||r==="0"||r==="-0"?e.toPrecision(6):r}function le(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=se(e);else if(r===10)t=e.toFixed(10).substr(0,12);else t=fe(e);return ne(ie(t.toUpperCase()))}function oe(e,r){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(e|0)===e?e.toString(10):le(e);case"undefined":return"";case"object":if(e==null)return"";if(e instanceof Date)return ze(14,dr(e,r&&r.date1904),r);}throw new Error("unsupported value in General format: "+e)}function ce(e,r){r[0]-=581;var t=e.getDay();if(e<60)t=(t+6)%7;return t}function he(e,r,t,a){var n="",i=0,s=0,f=t.y,l,o=0;switch(e){case 98:f=t.y+543;case 121:switch(r.length){case 1:;case 2:l=f%100;o=2;break;default:l=f%1e4;o=4;break;}break;case 109:switch(r.length){case 1:;case 2:l=t.m;o=r.length;break;case 3:return Z[t.m-1][1];case 5:return Z[t.m-1][0];default:return Z[t.m-1][2];}break;case 100:switch(r.length){case 1:;case 2:l=t.d;o=r.length;break;case 3:return Y[t.q][0];default:return Y[t.q][1];}break;case 104:switch(r.length){case 1:;case 2:l=1+(t.H+11)%12;o=r.length;break;default:throw"bad hour format: "+r;}break;case 72:switch(r.length){case 1:;case 2:l=t.H;o=r.length;break;default:throw"bad hour format: "+r;}break;case 77:switch(r.length){case 1:;case 2:l=t.M;o=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 W(t.S,r.length);if(a>=2)s=a===3?1e3:100;else s=a===1?10:1;i=Math.round(s*(t.S+t.u));if(i>=60*s)i=0;if(r==="s")return i===0?"0":""+i/s;n=W(i,2+a);if(r==="ss")return n.substr(0,2);return"."+n.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+(a==0?Math.round(t.S+t.u):t.S);break;default:throw"bad abstime format: "+r;}o=r.length===3?1:2;break;case 101:l=f;o=1;break;}var c=o>0?W(l,o):"";return c}function ue(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 de=/%/g;function ve(e,r,t){var a=r.replace(de,""),n=r.length-a.length;return Fe(e,a,t*Math.pow(10,2*n))+Ar("%",n)}function pe(e,r,t){var a=r.length-1;while(r.charCodeAt(a-1)===44)--a;return Fe(e,r.substr(0,a),t/Math.pow(10,3*(r.length-a)))}function me(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"-"+me(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 ge=/# (\?+)( ?)\/( ?)(\d+)/;function be(e,r,t){var a=parseInt(e[4],10),n=Math.round(r*a),i=Math.floor(n/a);var s=n-i*a,f=a;return t+(i===0?"":""+i)+" "+(s===0?Ar(" ",e[1].length+1+e[4].length):z(s,e[1].length)+e[2]+"/"+e[3]+W(f,e[4].length))}function we(e,r,t){return t+(r===0?"":""+r)+Ar(" ",e[1].length+2+e[4].length)}var ke=/^#*0*\.([0#]+)/;var Te=/\).*[0#]/;var Ae=/\(###\) ###\\?-####/;function ye(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 Ee(e,r){var t=Math.pow(10,r);return""+Math.round(e*t)/t}function Ce(e,r){var t=e-Math.floor(e),a=Math.pow(10,r);if(r<(""+Math.round(t*a)).length)return 0;return Math.round(t*a)}function _e(e,r){if(r<(""+Math.round((e-Math.floor(e))*Math.pow(10,r))).length){return 1}return 0}function Se(e){if(e<2147483647&&e>-2147483648)return""+(e>=0?e|0:e-1|0);return""+Math.floor(e)}function xe(e,r,t){if(e.charCodeAt(0)===40&&!r.match(Te)){var a=r.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");if(t>=0)return xe("n",a,t);return"("+xe("n",a,-t)+")"}if(r.charCodeAt(r.length-1)===44)return pe(e,r,t);if(r.indexOf("%")!==-1)return ve(e,r,t);if(r.indexOf("E")!==-1)return me(r,t);if(r.charCodeAt(0)===36)return"$"+xe(e,r.substr(r.charAt(1)==" "?2:1),t);var n;var i,s,f,l=Math.abs(t),o=t<0?"-":"";if(r.match(/^00+$/))return o+j(l,r.length);if(r.match(/^[#?]+$/)){n=j(t,0);if(n==="0")n="";return n.length>r.length?n:ye(r.substr(0,r.length-n.length))+n}if(i=r.match(ge))return be(i,l,o);if(r.match(/^#+0+$/))return o+j(l,r.length-r.indexOf("0"));if(i=r.match(ke)){n=Ee(t,i[1].length).replace(/^([^\.]+)$/,"$1."+ye(i[1])).replace(/\.$/,"."+ye(i[1])).replace(/\.(\d*)$/,function(e,r){return"."+r+Ar("0",ye(i[1]).length-r.length)});return r.indexOf("0.")!==-1?n:n.replace(/^0\./,".")}r=r.replace(/^#+([0.])/,"$1");if(i=r.match(/^(0*)\.(#*)$/)){return o+Ee(l,i[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,i[1].length?"0.":".")}if(i=r.match(/^#{1,3},##0(\.?)$/))return o+ue(j(l,0));if(i=r.match(/^#,##0\.([#0]*0)$/)){return t<0?"-"+xe(e,r,-t):ue(""+(Math.floor(t)+_e(t,i[1].length)))+"."+W(Ce(t,i[1].length),i[1].length)}if(i=r.match(/^#,#*,#0/))return xe(e,r.replace(/^#,#*,/,""),t);if(i=r.match(/^([0#]+)(\\?-([0#]+))+$/)){n=B(xe(e,r.replace(/[\\-]/g,""),t));s=0;return B(B(r.replace(/\\/g,"")).replace(/[0#]/g,function(e){return s<n.length?n.charAt(s++):e==="0"?"0":""}))}if(r.match(Ae)){n=xe(e,"##########",t);return"("+n.substr(0,3)+") "+n.substr(3,3)+"-"+n.substr(6)}var c="";if(i=r.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/)){s=Math.min(i[4].length,7);f=re(l,Math.pow(10,s)-1,false);n=""+o;c=Fe("n",i[1],f[1]);if(c.charAt(c.length-1)==" ")c=c.substr(0,c.length-1)+"0";n+=c+i[2]+"/"+i[3];c=H(f[2],s);if(c.length<i[4].length)c=ye(i[4].substr(i[4].length-c.length))+c;n+=c;return n}if(i=r.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/)){s=Math.min(Math.max(i[1].length,i[4].length),7);f=re(l,Math.pow(10,s)-1,true);return o+(f[0]||(f[1]?"":"0"))+" "+(f[1]?z(f[1],s)+i[2]+"/"+i[3]+H(f[2],s):Ar(" ",2*s+1+i[2].length+i[3].length))}if(i=r.match(/^[#0?]+$/)){n=j(t,0);if(r.length<=n.length)return n;return ye(r.substr(0,r.length-n.length))+n}if(i=r.match(/^([#0?]+)\.([#0]+)$/)){n=""+t.toFixed(Math.min(i[2].length,10)).replace(/([^0])0+$/,"$1");s=n.indexOf(".");var h=r.indexOf(".")-s,u=r.length-n.length-h;return ye(r.substr(0,h)+n+r.substr(r.length-u))}if(i=r.match(/^00,000\.([#0]*0)$/)){s=Ce(t,i[1].length);return t<0?"-"+xe(e,r,-t):ue(Se(t)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(e){return"00,"+(e.length<3?W(0,3-e.length):"")+e})+"."+W(s,i[1].length)}switch(r){case"###,##0.00":return xe(e,"#,##0.00",t);case"###,###":;case"##,###":;case"#,###":var d=ue(j(l,0));return d!=="0"?o+d:"";case"###,###.00":return xe(e,"###,##0.00",t).replace(/^0\./,".");case"#,###.00":return xe(e,"#,##0.00",t).replace(/^0\./,".");default:;}throw new Error("unsupported format |"+r+"|")}function Oe(e,r,t){var a=r.length-1;while(r.charCodeAt(a-1)===44)--a;return Fe(e,r.substr(0,a),t/Math.pow(10,3*(r.length-a)))}function Re(e,r,t){var a=r.replace(de,""),n=r.length-a.length;return Fe(e,a,t*Math.pow(10,2*n))+Ar("%",n)}function Ie(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"-"+Ie(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.match(/[Ee]/)){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);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")}function Ne(e,r,t){if(e.charCodeAt(0)===40&&!r.match(Te)){var a=r.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");if(t>=0)return Ne("n",a,t);return"("+Ne("n",a,-t)+")"}if(r.charCodeAt(r.length-1)===44)return Oe(e,r,t);if(r.indexOf("%")!==-1)return Re(e,r,t);if(r.indexOf("E")!==-1)return Ie(r,t);if(r.charCodeAt(0)===36)return"$"+Ne(e,r.substr(r.charAt(1)==" "?2:1),t);var n;var i,s,f,l=Math.abs(t),o=t<0?"-":"";if(r.match(/^00+$/))return o+W(l,r.length);if(r.match(/^[#?]+$/)){n=""+t;if(t===0)n="";return n.length>r.length?n:ye(r.substr(0,r.length-n.length))+n}if(i=r.match(ge))return we(i,l,o);if(r.match(/^#+0+$/))return o+W(l,r.length-r.indexOf("0"));if(i=r.match(ke)){n=(""+t).replace(/^([^\.]+)$/,"$1."+ye(i[1])).replace(/\.$/,"."+ye(i[1]));n=n.replace(/\.(\d*)$/,function(e,r){return"."+r+Ar("0",ye(i[1]).length-r.length)});return r.indexOf("0.")!==-1?n:n.replace(/^0\./,".")}r=r.replace(/^#+([0.])/,"$1");if(i=r.match(/^(0*)\.(#*)$/)){return o+(""+l).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,i[1].length?"0.":".")}if(i=r.match(/^#{1,3},##0(\.?)$/))return o+ue(""+l);if(i=r.match(/^#,##0\.([#0]*0)$/)){return t<0?"-"+Ne(e,r,-t):ue(""+t)+"."+Ar("0",i[1].length)}if(i=r.match(/^#,#*,#0/))return Ne(e,r.replace(/^#,#*,/,""),t);if(i=r.match(/^([0#]+)(\\?-([0#]+))+$/)){n=B(Ne(e,r.replace(/[\\-]/g,""),t));s=0;return B(B(r.replace(/\\/g,"")).replace(/[0#]/g,function(e){return s<n.length?n.charAt(s++):e==="0"?"0":""}))}if(r.match(Ae)){n=Ne(e,"##########",t);return"("+n.substr(0,3)+") "+n.substr(3,3)+"-"+n.substr(6)}var c="";if(i=r.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/)){s=Math.min(i[4].length,7);f=re(l,Math.pow(10,s)-1,false);n=""+o;c=Fe("n",i[1],f[1]);if(c.charAt(c.length-1)==" ")c=c.substr(0,c.length-1)+"0";n+=c+i[2]+"/"+i[3];c=H(f[2],s);if(c.length<i[4].length)c=ye(i[4].substr(i[4].length-c.length))+c;n+=c;return n}if(i=r.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/)){s=Math.min(Math.max(i[1].length,i[4].length),7);f=re(l,Math.pow(10,s)-1,true);return o+(f[0]||(f[1]?"":"0"))+" "+(f[1]?z(f[1],s)+i[2]+"/"+i[3]+H(f[2],s):Ar(" ",2*s+1+i[2].length+i[3].length))}if(i=r.match(/^[#0?]+$/)){n=""+t;if(r.length<=n.length)return n;return ye(r.substr(0,r.length-n.length))+n}if(i=r.match(/^([#0]+)\.([#0]+)$/)){n=""+t.toFixed(Math.min(i[2].length,10)).replace(/([^0])0+$/,"$1");s=n.indexOf(".");var h=r.indexOf(".")-s,u=r.length-n.length-h;return ye(r.substr(0,h)+n+r.substr(r.length-u))}if(i=r.match(/^00,000\.([#0]*0)$/)){return t<0?"-"+Ne(e,r,-t):ue(""+t).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(e){return"00,"+(e.length<3?W(0,3-e.length):"")+e})+"."+W(0,i[1].length)}switch(r){case"###,###":;case"##,###":;case"#,###":var d=ue(""+l);return d!=="0"?o+d:"";default:if(r.match(/\.[0#?]*$/))return Ne(e,r.slice(0,r.lastIndexOf(".")),t)+ye(r.slice(r.lastIndexOf(".")));}throw new Error("unsupported format |"+r+"|")}function Fe(e,r,t){return(t|0)===t?Ne(e,r,t):xe(e,r,t)}function De(e){var r=[];var t=false;for(var a=0,n=0;a<e.length;++a)switch(e.charCodeAt(a)){case 34:t=!t;break;case 95:;case 42:;case 92:++a;break;case 59:r[r.length]=e.substr(n,a-n);n=a+1;}r[r.length]=e.substr(n);if(t===true)throw new Error("Format |"+e+"| unterminated string ");return r}var Pe=/\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;function Le(e){var r=0,t="",a="";while(r<e.length){switch(t=e.charAt(r)){case"G":if(K(e,r))r+=6;r++;break;case'"':for(;e.charCodeAt(++r)!==34&&r<e.length;){}++r;break;case"\\":r+=2;break;case"_":r+=2;break;case"@":++r;break;case"B":;case"b":if(e.charAt(r+1)==="1"||e.charAt(r+1)==="2")return true;case"M":;case"D":;case"Y":;case"H":;case"S":;case"E":;case"m":;case"d":;case"y":;case"h":;case"s":;case"e":;case"g": -return true;case"A":;case"a":;case"上":if(e.substr(r,3).toUpperCase()==="A/P")return true;if(e.substr(r,5).toUpperCase()==="AM/PM")return true;if(e.substr(r,5).toUpperCase()==="上午/下午")return true;++r;break;case"[":a=t;while(e.charAt(r++)!=="]"&&r<e.length)a+=e.charAt(r);if(a.match(Pe))return true;break;case".":;case"0":;case"#":while(r<e.length&&("0#?.,E+-%".indexOf(t=e.charAt(++r))>-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<e.length&&"0123456789".indexOf(e.charAt(++r))>-1){}break;case" ":++r;break;default:++r;break;}}return false}function Me(e,r,t,a){var n=[],i="",s=0,f="",l="t",o,c,h;var u="H";while(s<e.length){switch(f=e.charAt(s)){case"G":if(!K(e,s))throw new Error("unrecognized character "+f+" in "+e);n[n.length]={t:"G",v:"General"};s+=7;break;case'"':for(i="";(h=e.charCodeAt(++s))!==34&&s<e.length;)i+=String.fromCharCode(h);n[n.length]={t:"t",v:i};++s;break;case"\\":var d=e.charAt(++s),v=d==="("||d===")"?d:"t";n[n.length]={t:v,v:d};++s;break;case"_":n[n.length]={t:"t",v:" "};s+=2;break;case"@":n[n.length]={t:"T",v:r};++s;break;case"B":;case"b":if(e.charAt(s+1)==="1"||e.charAt(s+1)==="2"){if(o==null){o=ae(r,t,e.charAt(s+1)==="2");if(o==null)return""}n[n.length]={t:"X",v:e.substr(s,2)};l=f;s+=2;break};case"M":;case"D":;case"Y":;case"H":;case"S":;case"E":f=f.toLowerCase();case"m":;case"d":;case"y":;case"h":;case"s":;case"e":;case"g":if(r<0)return"";if(o==null){o=ae(r,t);if(o==null)return""}i=f;while(++s<e.length&&e.charAt(s).toLowerCase()===f)i+=f;if(f==="m"&&l.toLowerCase()==="h")f="M";if(f==="h")f=u;n[n.length]={t:f,v:i};l=f;break;case"A":;case"a":;case"上":var p={t:f,v:f};if(o==null)o=ae(r,t);if(e.substr(s,3).toUpperCase()==="A/P"){if(o!=null)p.v=o.H>=12?e.charAt(s+2):f;p.t="T";u="h";s+=3}else if(e.substr(s,5).toUpperCase()==="AM/PM"){if(o!=null)p.v=o.H>=12?"PM":"AM";p.t="T";s+=5;u="h"}else if(e.substr(s,5).toUpperCase()==="上午/下午"){if(o!=null)p.v=o.H>=12?"下午":"上午";p.t="T";s+=5;u="h"}else{p.t="t";++s}if(o==null&&p.t==="T")return"";n[n.length]=p;l=f;break;case"[":i=f;while(e.charAt(s++)!=="]"&&s<e.length)i+=e.charAt(s);if(i.slice(-1)!=="]")throw'unterminated "[" block: |'+i+"|";if(i.match(Pe)){if(o==null){o=ae(r,t);if(o==null)return""}n[n.length]={t:"Z",v:i.toLowerCase()};l=i.charAt(1)}else if(i.indexOf("$")>-1){i=(i.match(/\$([^-\[\]]*)/)||[])[1]||"$";if(!Le(e))n[n.length]={t:"t",v:i}}break;case".":if(o!=null){i=f;while(++s<e.length&&(f=e.charAt(s))==="0")i+=f;n[n.length]={t:"s",v:i};break};case"0":;case"#":i=f;while(++s<e.length&&"0#?.,E+-%".indexOf(f=e.charAt(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};l=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<e.length&&"0123456789".indexOf(e.charAt(++s))>-1)i+=e.charAt(s);n[n.length]={t:"D",v:i};break;case" ":n[n.length]={t:f,v:f};++s;break;case"$":n[n.length]={t:"t",v:"$"};++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 m=0,g=0,b;for(s=n.length-1,l="t";s>=0;--s){switch(n[s].t){case"h":;case"H":n[s].t=u;l="h";if(m<1)m=1;break;case"s":if(b=n[s].v.match(/\.0+$/)){g=Math.max(g,b[0].length-1);m=4}if(m<3)m=3;case"d":;case"y":;case"e":l=n[s].t;break;case"M":l=n[s].t;if(m<2)m=2;break;case"m":if(l==="s"){n[s].t="M";if(m<2)m=2}break;case"X":break;case"Z":if(m<1&&n[s].v.match(/[Hh]/))m=1;if(m<2&&n[s].v.match(/[Mm]/))m=2;if(m<3&&n[s].v.match(/[Ss]/))m=3;}}var w;switch(m){case 0:break;case 1:;case 2:;case 3:if(o.u>=.5){o.u=0;++o.S}if(o.S>=60){o.S=0;++o.M}if(o.M>=60){o.M=0;++o.H}if(o.H>=24){o.H=0;++o.D;w=ae(o.D);w.u=o.u;w.S=o.S;w.M=o.M;w.H=o.H;o=w}break;case 4:switch(g){case 1:o.u=Math.round(o.u*10)/10;break;case 2:o.u=Math.round(o.u*100)/100;break;case 3:o.u=Math.round(o.u*1e3)/1e3;break;}if(o.u>=1){o.u=0;++o.S}if(o.S>=60){o.S=0;++o.M}if(o.M>=60){o.M=0;++o.H}if(o.H>=24){o.H=0;++o.D;w=ae(o.D);w.u=o.u;w.S=o.S;w.M=o.M;w.H=o.H;o=w}break;}var k="",T;for(s=0;s<n.length;++s){switch(n[s].t){case"t":;case"T":;case" ":;case"D":break;case"X":n[s].v="";n[s].t=";";break;case"d":;case"m":;case"y":;case"h":;case"H":;case"M":;case"s":;case"e":;case"b":;case"Z":n[s].v=he(n[s].t.charCodeAt(0),n[s].v,o,g);n[s].t="t";break;case"n":;case"?":T=s+1;while(n[T]!=null&&((f=n[T].t)==="?"||f==="D"||(f===" "||f==="t")&&n[T+1]!=null&&(n[T+1].t==="?"||n[T+1].t==="t"&&n[T+1].v==="/")||n[s].t==="("&&(f===" "||f==="n"||f===")")||f==="t"&&(n[T].v==="/"||n[T].v===" "&&n[T+1]!=null&&n[T+1].t=="?"))){n[s].v+=n[T].v;n[T]={v:"",t:";"};++T}k+=n[s].v;s=T-1;break;case"G":n[s].t="t";n[s].v=oe(r,t);break;}}var A="",y,E;if(k.length>0){if(k.charCodeAt(0)==40){y=r<0&&k.charCodeAt(0)===45?-r:r;E=Fe("n",k,y)}else{y=r<0&&a>1?-r:r;E=Fe("n",k,y);if(y<0&&n[0]&&n[0].t=="t"){E=E.substr(1);n[0].v="-"+n[0].v}}T=E.length-1;var C=n.length;for(s=0;s<n.length;++s)if(n[s]!=null&&n[s].t!="t"&&n[s].v.indexOf(".")>-1){C=s;break}var _=n.length;if(C===n.length&&E.indexOf("E")===-1){for(s=n.length-1;s>=0;--s){if(n[s]==null||"n?".indexOf(n[s].t)===-1)continue;if(T>=n[s].v.length-1){T-=n[s].v.length;n[s].v=E.substr(T+1,n[s].v.length)}else if(T<0)n[s].v="";else{n[s].v=E.substr(0,T+1);T=-1}n[s].t="t";_=s}if(T>=0&&_<n.length)n[_].v=E.substr(0,T+1)+n[_].v}else if(C!==n.length&&E.indexOf("E")===-1){T=E.indexOf(".")-1;for(s=C;s>=0;--s){if(n[s]==null||"n?".indexOf(n[s].t)===-1)continue;c=n[s].v.indexOf(".")>-1&&s===C?n[s].v.indexOf(".")-1:n[s].v.length-1;A=n[s].v.substr(c+1);for(;c>=0;--c){if(T>=0&&(n[s].v.charAt(c)==="0"||n[s].v.charAt(c)==="#"))A=E.charAt(T--)+A}n[s].v=A;n[s].t="t";_=s}if(T>=0&&_<n.length)n[_].v=E.substr(0,T+1)+n[_].v;T=E.indexOf(".")+1;for(s=C;s<n.length;++s){if(n[s]==null||"n?(".indexOf(n[s].t)===-1&&s!==C)continue;c=n[s].v.indexOf(".")>-1&&s===C?n[s].v.indexOf(".")+1:0;A=n[s].v.substr(0,c);for(;c<n[s].v.length;++c){if(T<E.length)A+=E.charAt(T++)}n[s].v=A;n[s].t="t";_=s}}}for(s=0;s<n.length;++s)if(n[s]!=null&&"n?".indexOf(n[s].t)>-1){y=a>1&&r<0&&s>0&&n[s-1].v==="-"?-r:r;n[s].v=Fe(n[s].t,n[s].v,y);n[s].t="t"}var S="";for(s=0;s!==n.length;++s)if(n[s]!=null)S+=n[s].v;return S}var Ue=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function Be(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<t)return true;break;case"<>":if(e!=t)return true;break;case">=":if(e>=t)return true;break;case"<=":if(e<=t)return true;break;}return false}function We(e,r){var t=De(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(/\[[=<>]/)!=null||t[1].match(/\[[=<>]/)!=null){var s=t[0].match(Ue);var f=t[1].match(Ue);return Be(r,s)?[a,t[0]]:Be(r,f)?[a,t[1]]:[a,t[s!=null&&f!=null?2:1]]}return[a,i]}function ze(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:q)[e];if(a==null)a=t.table&&t.table[Q[e]]||q[Q[e]];if(a==null)a=ee[e]||"General";break;}if(K(a,0))return oe(r,t);if(r instanceof Date)r=dr(r,t.date1904);var n=We(a,r);if(K(n[1]))return oe(r,t);if(r===true)r="TRUE";else if(r===false)r="FALSE";else if(r===""||r==null)return"";return Me(n[1],r,t,n[0])}function He(e,r){if(typeof r!="number"){r=+r||-1;for(var t=0;t<392;++t){if(q[t]==undefined){if(r<0)r=t;continue}if(q[t]==e){r=t;break}}if(r<0)r=391}q[r]=e;return r}function Ve(e){for(var r=0;r!=392;++r)if(e[r]!==undefined)He(e[r],r)}function Xe(){q=J()}var $e={format:ze,load:He,_table:q,load_table:Ve,parse_date_code:ae,is_date:Le,get_table:function uT(){return $e._table=q}};var Ge={5:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',23:"General",24:"General",25:"General",26:"General",27:"m/d/yy",28:"m/d/yy",29:"m/d/yy",30:"m/d/yy",31:"m/d/yy",32:"h:mm:ss",33:"h:mm:ss",34:"h:mm:ss",35:"h:mm:ss",36:"m/d/yy",41:'_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* (#,##0);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)',50:"m/d/yy",51:"m/d/yy",52:"m/d/yy",53:"m/d/yy",54:"m/d/yy",55:"m/d/yy",56:"m/d/yy",57:"m/d/yy",58:"m/d/yy",59:"0",60:"0.00",61:"#,##0",62:"#,##0.00",63:'"$"#,##0_);\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',67:"0%",68:"0.00%",69:"# ?/?",70:"# ??/??",71:"m/d/yy",72:"m/d/yy",73:"d-mmm-yy",74:"d-mmm",75:"mmm-yy",76:"h:mm",77:"h:mm:ss",78:"m/d/yy h:mm",79:"mm:ss",80:"[h]:mm:ss",81:"mmss.0"};var je=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;function Ke(e){var r=typeof e=="number"?q[e]:e;r=r.replace(je,"(\\d+)");je.lastIndex=0;return new RegExp("^"+r+"$")}function Ye(e,r,t){var a=-1,n=-1,i=-1,s=-1,f=-1,l=-1;(r.match(je)||[]).forEach(function(e,r){var o=parseInt(t[r+1],10);switch(e.toLowerCase().charAt(0)){case"y":a=o;break;case"d":i=o;break;case"h":s=o;break;case"s":l=o;break;case"m":if(s>=0)f=o;else n=o;break;}});je.lastIndex=0;if(l>=0&&f==-1&&n>=0){f=n;n=-1}var o=(""+(a>=0?a:(new Date).getFullYear())).slice(-4)+"-"+("00"+(n>=1?n:1)).slice(-2)+"-"+("00"+(i>=1?i:1)).slice(-2);if(o.length==7)o="0"+o;if(o.length==8)o="20"+o;var c=("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(f>=0?f:0)).slice(-2)+":"+("00"+(l>=0?l:0)).slice(-2);if(s==-1&&f==-1&&l==-1)return o;if(a==-1&&n==-1&&i==-1)return c;return o+"T"+c}var Ze={"d.m":"d\\.m"};function Je(e,r){return He(Ze[e]||e,r)}var qe=function(){var e={};e.version="1.2.0";function r(){var e=0,r=new Array(256);for(var t=0;t!=256;++t){e=t;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;r[t]=e}return typeof Int32Array!=="undefined"?new Int32Array(r):r}var t=r();function a(e){var r=0,t=0,a=0,n=typeof Int32Array!=="undefined"?new Int32Array(4096):new Array(4096);for(a=0;a!=256;++a)n[a]=e[a];for(a=0;a!=256;++a){t=e[a];for(r=256+a;r<4096;r+=256)t=n[r]=t>>>8^e[t&255]}var i=[];for(a=1;a!=16;++a)i[a-1]=typeof Int32Array!=="undefined"&&typeof n.subarray=="function"?n.subarray(a*256,a*256+256):n.slice(a*256,a*256+256);return i}var n=a(t);var i=n[0],s=n[1],f=n[2],l=n[3],o=n[4];var c=n[5],h=n[6],u=n[7],d=n[8],v=n[9];var p=n[10],m=n[11],g=n[12],b=n[13],w=n[14];function k(e,r){var a=r^-1;for(var n=0,i=e.length;n<i;)a=a>>>8^t[(a^e.charCodeAt(n++))&255];return~a}function T(e,r){var a=r^-1,n=e.length-15,k=0;for(;k<n;)a=w[e[k++]^a&255]^b[e[k++]^a>>8&255]^g[e[k++]^a>>16&255]^m[e[k++]^a>>>24]^p[e[k++]]^v[e[k++]]^d[e[k++]]^u[e[k++]]^h[e[k++]]^c[e[k++]]^o[e[k++]]^l[e[k++]]^f[e[k++]]^s[e[k++]]^i[e[k++]]^t[e[k++]];n+=15;while(k<n)a=a>>>8^t[(a^e[k++])&255];return~a}function A(e,r){var a=r^-1;for(var n=0,i=e.length,s=0,f=0;n<i;){s=e.charCodeAt(n++);if(s<128){a=a>>>8^t[(a^s)&255]}else if(s<2048){a=a>>>8^t[(a^(192|s>>6&31))&255];a=a>>>8^t[(a^(128|s&63))&255]}else if(s>=55296&&s<57344){s=(s&1023)+64;f=e.charCodeAt(n++)&1023;a=a>>>8^t[(a^(240|s>>8&7))&255];a=a>>>8^t[(a^(128|s>>2&63))&255];a=a>>>8^t[(a^(128|f>>6&15|(s&3)<<4))&255];a=a>>>8^t[(a^(128|f&63))&255]}else{a=a>>>8^t[(a^(224|s>>12&15))&255];a=a>>>8^t[(a^(128|s>>6&63))&255];a=a>>>8^t[(a^(128|s&63))&255]}}return~a}e.table=t;e.bstr=k;e.buf=T;e.str=A;return e}();var Qe=function dT(){var e={};e.version="1.2.2";function r(e,r){var t=e.split("/"),a=r.split("/");for(var n=0,i=0,s=Math.min(t.length,a.length);n<s;++n){if(i=t[n].length-a[n].length)return i;if(t[n]!=a[n])return t[n]<a[n]?-1:1}return t.length-a.length}function t(e){if(e.charAt(e.length-1)=="/")return e.slice(0,-1).indexOf("/")===-1?e:t(e.slice(0,-1));var r=e.lastIndexOf("/");return r===-1?e:e.slice(0,r+1)}function a(e){if(e.charAt(e.length-1)=="/")return a(e.slice(0,-1));var r=e.lastIndexOf("/");return r===-1?e:e.slice(r+1)}function n(e,r){if(typeof r==="string")r=new Date(r);var t=r.getHours();t=t<<6|r.getMinutes();t=t<<5|r.getSeconds()>>>1;e._W(2,t);var a=r.getFullYear()-1980;a=a<<4|r.getMonth()+1;a=a<<5|r.getDate();e._W(2,a)}function i(e){var r=e._R(2)&65535;var t=e._R(2)&65535;var a=new Date;var n=t&31;t>>>=5;var i=t&15;t>>>=4;a.setMilliseconds(0);a.setFullYear(t+1980);a.setMonth(i-1);a.setDate(n);var s=r&31;r>>>=5;var f=r&63;r>>>=6;a.setHours(r);a.setMinutes(f);a.setSeconds(s<<1);return a}function s(e){Ta(e,0);var r={};var t=0;while(e.l<=e.length-4){var a=e._R(2);var n=e._R(2),i=e.l+n;var s={};switch(a){case 21589:{t=e._R(1);if(t&1)s.mtime=e._R(4);if(n>5){if(t&2)s.atime=e._R(4);if(t&4)s.ctime=e._R(4)}if(s.mtime)s.mt=new Date(s.mtime*1e3)}break;case 1:{var f=e._R(4),l=e._R(4);s.usz=l*Math.pow(2,32)+f;f=e._R(4);l=e._R(4);s.csz=l*Math.pow(2,32)+f}break;}e.l=i;r[a]=s}return r}var f;function l(){return f||(f=er)}function o(e,r){if(e[0]==80&&e[1]==75)return Ie(e,r);if((e[0]|32)==109&&(e[1]|32)==105)return We(e,r);if(e.length<512)throw new Error("CFB file size "+e.length+" < 512");var t=3;var a=512;var n=0;var i=0;var s=0;var f=0;var l=0;var o=[];var v=e.slice(0,512);Ta(v,0);var m=c(v);t=m[0];switch(t){case 3:a=512;break;case 4:a=4096;break;case 0:if(m[1]==0)return Ie(e,r);default:throw new Error("Major Version: Expected 3 or 4 saw "+t);}if(a!==512){v=e.slice(0,a);Ta(v,28)}var w=e.slice(0,a);h(v,t);var k=v._R(4,"i");if(t===3&&k!==0)throw new Error("# Directory Sectors: Expected 0 saw "+k);v.l+=4;s=v._R(4,"i");v.l+=4;v.chk("00100000","Mini Stream Cutoff Size: ");f=v._R(4,"i");n=v._R(4,"i");l=v._R(4,"i");i=v._R(4,"i");for(var T=-1,A=0;A<109;++A){T=v._R(4,"i");if(T<0)break;o[A]=T}var y=u(e,a);p(l,i,y,a,o);var E=g(y,s,o,a);if(s<E.length)E[s].name="!Directory";if(n>0&&f!==L)E[f].name="!MiniFAT";E[o[0]].name="!FAT";E.fat_addrs=o;E.ssz=a;var C={},_=[],S=[],x=[];b(s,E,y,_,n,C,S,f);d(S,x,_);_.shift();var O={FileIndex:S,FullPaths:x};if(r&&r.raw)O.raw={header:w,sectors:y};return O}function c(e){if(e[e.l]==80&&e[e.l+1]==75)return[0,0];e.chk(B,"Header Signature: ");e.l+=16;var r=e._R(2,"u");return[e._R(2,"u"),r]}function h(e,r){var t=9;e.l+=2;switch(t=e._R(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 u(e,r){var t=Math.ceil(e.length/r)-1;var a=[];for(var n=1;n<t;++n)a[n-1]=e.slice(n*r,(n+1)*r);a[t-1]=e.slice(t*r);return a}function d(e,r,t){var a=0,n=0,i=0,s=0,f=0,l=t.length;var o=[],c=[];for(;a<l;++a){o[a]=c[a]=a;r[a]=t[a]}for(;f<c.length;++f){a=c[f];n=e[a].L;i=e[a].R;s=e[a].C;if(o[a]===a){if(n!==-1&&o[n]!==n)o[a]=o[n];if(i!==-1&&o[i]!==i)o[a]=o[i]}if(s!==-1)o[s]=a;if(n!==-1&&a!=o[a]){o[n]=o[a];if(c.lastIndexOf(n)<f)c.push(n)}if(i!==-1&&a!=o[a]){o[i]=o[a];if(c.lastIndexOf(i)<f)c.push(i)}}for(a=1;a<l;++a)if(o[a]===a){if(i!==-1&&o[i]!==i)o[a]=o[i];else if(n!==-1&&o[n]!==n)o[a]=o[n]}for(a=1;a<l;++a){if(e[a].type===0)continue;f=a;if(f!=o[f])do{f=o[f];r[a]=r[f]+"/"+r[a]}while(f!==0&&-1!==o[f]&&f!=o[f]);o[a]=-1}r[0]+="/";for(a=1;a<l;++a){if(e[a].type!==2)r[a]+="/"}}function v(e,r,t){var a=e.start,n=e.size;var i=[];var s=a;while(t&&n>0&&s>=0){i.push(r.slice(s*D,s*D+D));n-=D;s=da(t,s*4)}if(i.length===0)return ya(0);return P(i).slice(0,e.size)}function p(e,r,t,a,n){var i=L;if(e===L){if(r!==0)throw new Error("DIFAT chain shorter than expected")}else if(e!==-1){var s=t[e],f=(a>>>2)-1;if(!s)return;for(var l=0;l<f;++l){if((i=da(s,l*4))===L)break;n.push(i)}if(r>=1)p(da(s,a-4),r-1,t,a,n)}}function m(e,r,t,a,n){var i=[],s=[];if(!n)n=[];var f=a-1,l=0,o=0;for(l=r;l>=0;){n[l]=true;i[i.length]=l;s.push(e[l]);var c=t[Math.floor(l*4/a)];o=l*4&f;if(a<4+o)throw new Error("FAT boundary crossed: "+l+" 4 "+a);if(!e[c])break;l=da(e[c],o)}return{nodes:i,data:Ht([s])}}function g(e,r,t,a){var n=e.length,i=[];var s=[],f=[],l=[];var o=a-1,c=0,h=0,u=0,d=0;for(c=0;c<n;++c){f=[];u=c+r;if(u>=n)u-=n;if(s[u])continue;l=[];var v=[];for(h=u;h>=0;){v[h]=true;s[h]=true;f[f.length]=h;l.push(e[h]);var p=t[Math.floor(h*4/a)];d=h*4&o;if(a<4+d)throw new Error("FAT boundary crossed: "+h+" 4 "+a);if(!e[p])break;h=da(e[p],d);if(v[h])break}i[u]={nodes:f,data:Ht([l])}}return i}function b(e,r,t,a,n,i,s,f){var l=0,o=a.length?2:0;var c=r[e].data;var h=0,u=0,d;for(;h<c.length;h+=128){var p=c.slice(h,h+128);Ta(p,64);u=p._R(2);d=Xt(p,0,u-o);a.push(d);var g={name:d,type:p._R(1),color:p._R(1),L:p._R(4,"i"),R:p._R(4,"i"),C:p._R(4,"i"),clsid:p._R(16),state:p._R(4,"i"),start:0,size:0};var b=p._R(2)+p._R(2)+p._R(2)+p._R(2);if(b!==0)g.ct=w(p,p.l-8);var k=p._R(2)+p._R(2)+p._R(2)+p._R(2);if(k!==0)g.mt=w(p,p.l-8);g.start=p._R(4,"i");g.size=p._R(4,"i");if(g.size<0&&g.start<0){g.size=g.type=0;g.start=L;g.name=""}if(g.type===5){l=g.start;if(n>0&&l!==L)r[l].name="!StreamData"}else if(g.size>=4096){g.storage="fat";if(r[g.start]===undefined)r[g.start]=m(t,g.start,r.fat_addrs,r.ssz);r[g.start].name=g.name;g.content=r[g.start].data.slice(0,g.size)}else{g.storage="minifat";if(g.size<0)g.size=0;else if(l!==L&&g.start!==L&&r[l]){g.content=v(g,r[l].data,(r[f]||{}).data)}}if(g.content)Ta(g.content,0);i[d]=g;s.push(g)}}function w(e,r){return new Date((ua(e,r+4)/1e7*Math.pow(2,32)+ua(e,r)/1e7-11644473600)*1e3)}function k(e,r){l();return o(f.readFileSync(e),r)}function A(e,r){var t=r&&r.type;if(!t){if(C&&Buffer.isBuffer(e))t="buffer"}switch(t||"base64"){case"file":return k(e,r);case"base64":return o(R(E(e)),r);case"binary":return o(R(e),r);}return o(e,r)}function y(e,r){var t=r||{},a=t.root||"Root Entry";if(!e.FullPaths)e.FullPaths=[];if(!e.FileIndex)e.FileIndex=[];if(e.FullPaths.length!==e.FileIndex.length)throw new Error("inconsistent CFB structure");if(e.FullPaths.length===0){e.FullPaths[0]=a+"/";e.FileIndex[0]={name:a,type:5}}if(t.CLSID)e.FileIndex[0].clsid=t.CLSID;S(e)}function S(e){var r="Sh33tJ5";if(Qe.find(e,"/"+r))return;var t=ya(4);t[0]=55;t[1]=t[3]=50;t[2]=54;e.FileIndex.push({name:r,type:2,content:t,size:4,L:69,R:69,C:69});e.FullPaths.push(e.FullPaths[0]+r);I(e)}function I(e,n){y(e);var i=false,s=false;for(var f=e.FullPaths.length-1;f>=0;--f){var l=e.FileIndex[f];switch(l.type){case 0:if(s)i=true;else{e.FileIndex.pop();e.FullPaths.pop()}break;case 1:;case 2:;case 5:s=true;if(isNaN(l.R*l.L*l.C))i=true;if(l.R>-1&&l.L>-1&&l.R==l.L)i=true;break;default:i=true;break;}}if(!i&&!n)return;var o=new Date(1987,1,19),c=0;var h=Object.create?Object.create(null):{};var u=[];for(f=0;f<e.FullPaths.length;++f){h[e.FullPaths[f]]=true;if(e.FileIndex[f].type===0)continue;u.push([e.FullPaths[f],e.FileIndex[f]])}for(f=0;f<u.length;++f){var d=t(u[f][0]);s=h[d];while(!s){while(t(d)&&!h[t(d)])d=t(d);u.push([d,{name:a(d).replace("/",""),type:1,clsid:z,ct:o,mt:o,content:null}]);h[d]=true;d=t(u[f][0]);s=h[d]}}u.sort(function(e,t){return r(e[0],t[0])});e.FullPaths=[];e.FileIndex=[];for(f=0;f<u.length;++f){e.FullPaths[f]=u[f][0];e.FileIndex[f]=u[f][1]}for(f=0;f<u.length;++f){var v=e.FileIndex[f];var p=e.FullPaths[f];v.name=a(p).replace("/","");v.L=v.R=v.C=-(v.color=1);v.size=v.content?v.content.length:0;v.start=0;v.clsid=v.clsid||z;if(f===0){v.C=u.length>1?1:-1;v.size=0;v.type=5}else if(p.slice(-1)=="/"){for(c=f+1;c<u.length;++c)if(t(e.FullPaths[c])==p)break;v.C=c>=u.length?-1:c;for(c=f+1;c<u.length;++c)if(t(e.FullPaths[c])==t(p))break;v.R=c>=u.length?-1:c;v.type=1}else{if(t(e.FullPaths[f+1]||"")==t(p))v.R=f+1;v.type=2}}}function N(e,r){var t=r||{};if(t.fileType=="mad")return ze(e,t);I(e);switch(t.fileType){case"zip":return Fe(e,t);}var a=function(e){var r=0,t=0;for(var a=0;a<e.FileIndex.length;++a){var n=e.FileIndex[a];if(!n.content)continue;var i=n.content.length;if(i>0){if(i<4096)r+=i+63>>6;else t+=i+511>>9}}var s=e.FullPaths.length+3>>2;var f=r+7>>3;var l=r+127>>7;var o=f+t+s+l;var c=o+127>>7;var h=c<=109?0:Math.ceil((c-109)/127);while(o+c+h+127>>7>c)h=++c<=109?0:Math.ceil((c-109)/127);var u=[1,h,c,l,s,t,r,0];e.FileIndex[0].size=r<<6;u[7]=(e.FileIndex[0].start=u[0]+u[1]+u[2]+u[3]+u[4]+u[5])+(u[6]+7>>3);return u}(e);var n=ya(a[7]<<9);var i=0,s=0;{for(i=0;i<8;++i)n._W(1,W[i]);for(i=0;i<8;++i)n._W(2,0);n._W(2,62);n._W(2,3);n._W(2,65534);n._W(2,9);n._W(2,6);for(i=0;i<3;++i)n._W(2,0);n._W(4,0);n._W(4,a[2]);n._W(4,a[0]+a[1]+a[2]+a[3]-1);n._W(4,0);n._W(4,1<<12);n._W(4,a[3]?a[0]+a[1]+a[2]-1:L);n._W(4,a[3]);n._W(-4,a[1]?a[0]-1:L);n._W(4,a[1]);for(i=0;i<109;++i)n._W(-4,i<a[2]?a[1]+i:-1)}if(a[1]){for(s=0;s<a[1];++s){for(;i<236+s*127;++i)n._W(-4,i<a[2]?a[1]+i:-1);n._W(-4,s===a[1]-1?L:s+1)}}var f=function(e){for(s+=e;i<s-1;++i)n._W(-4,i+1);if(e){++i;n._W(-4,L)}};s=i=0;for(s+=a[1];i<s;++i)n._W(-4,H.DIFSECT);for(s+=a[2];i<s;++i)n._W(-4,H.FATSECT);f(a[3]);f(a[4]);var l=0,o=0;var c=e.FileIndex[0];for(;l<e.FileIndex.length;++l){c=e.FileIndex[l];if(!c.content)continue;o=c.content.length;if(o<4096)continue;c.start=s;f(o+511>>9)}f(a[6]+7>>3);while(n.l&511)n._W(-4,H.ENDOFCHAIN);s=i=0;for(l=0;l<e.FileIndex.length;++l){c=e.FileIndex[l];if(!c.content)continue;o=c.content.length;if(!o||o>=4096)continue;c.start=s;f(o+63>>6)}while(n.l&511)n._W(-4,H.ENDOFCHAIN);for(i=0;i<a[4]<<2;++i){var h=e.FullPaths[i];if(!h||h.length===0){for(l=0;l<17;++l)n._W(4,0);for(l=0;l<3;++l)n._W(4,-1);for(l=0;l<12;++l)n._W(4,0);continue}c=e.FileIndex[i];if(i===0)c.start=c.size?c.start-1:L;var u=i===0&&t.root||c.name;if(u.length>32){console.error("Name "+u+" will be truncated to "+u.slice(0,32));u=u.slice(0,32)}o=2*(u.length+1);n._W(64,u,"utf16le");n._W(2,o);n._W(1,c.type);n._W(1,c.color);n._W(-4,c.L);n._W(-4,c.R);n._W(-4,c.C);if(!c.clsid)for(l=0;l<4;++l)n._W(4,0);else n._W(16,c.clsid,"hex");n._W(4,c.state||0);n._W(4,0);n._W(4,0);n._W(4,0);n._W(4,0);n._W(4,c.start);n._W(4,c.size);n._W(4,0)}for(i=1;i<e.FileIndex.length;++i){c=e.FileIndex[i];if(c.size>=4096){n.l=c.start+1<<9;if(C&&Buffer.isBuffer(c.content)){c.content.copy(n,n.l,0,c.size);n.l+=c.size+511&-512}else{for(l=0;l<c.size;++l)n._W(1,c.content[l]);for(;l&511;++l)n._W(1,0)}}}for(i=1;i<e.FileIndex.length;++i){c=e.FileIndex[i];if(c.size>0&&c.size<4096){if(C&&Buffer.isBuffer(c.content)){c.content.copy(n,n.l,0,c.size);n.l+=c.size+63&-64}else{for(l=0;l<c.size;++l)n._W(1,c.content[l]);for(;l&63;++l)n._W(1,0)}}}if(C){n.l=n.length}else{while(n.l<n.length)n._W(1,0)}return n}function F(e,r){var t=e.FullPaths.map(function(e){return e.toUpperCase()});var a=t.map(function(e){var r=e.split("/");return r[r.length-(e.slice(-1)=="/"?2:1)]});var n=false;if(r.charCodeAt(0)===47){n=true;r=t[0].slice(0,-1)+r}else n=r.indexOf("/")!==-1;var i=r.toUpperCase();var s=n===true?t.indexOf(i):a.indexOf(i);if(s!==-1)return e.FileIndex[s];var f=!i.match(U);i=i.replace(M,"");if(f)i=i.replace(U,"!");for(s=0;s<t.length;++s){if((f?t[s].replace(U,"!"):t[s]).replace(M,"")==i)return e.FileIndex[s];if((f?a[s].replace(U,"!"):a[s]).replace(M,"")==i)return e.FileIndex[s]}return null}var D=64;var L=-2;var B="d0cf11e0a1b11ae1";var W=[208,207,17,224,161,177,26,225];var z="00000000000000000000000000000000";var H={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:L,FREESECT:-1,HEADER_SIGNATURE:B,HEADER_MINOR_VERSION:"3e00",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:z,EntryTypes:["unknown","storage","stream","lockbytes","property","root"]};function V(e,r,t){l();var a=N(e,t);f.writeFileSync(r,a)}function X(e){var r=new Array(e.length);for(var t=0;t<e.length;++t)r[t]=String.fromCharCode(e[t]);return r.join("")}function $(e,r){var t=N(e,r);switch(r&&r.type||"buffer"){case"file":l();f.writeFileSync(r.filename,t);return t;case"binary":return typeof t=="string"?t:X(t);case"base64":return T(typeof t=="string"?t:X(t));case"buffer":if(C)return Buffer.isBuffer(t)?t:_(t);case"array":return typeof t=="string"?R(t):t;}return t}var G;function j(e){try{var r=e.InflateRaw;var t=new r;t._processChunk(new Uint8Array([3,0]),t._finishFlushFlag);if(t.bytesRead)G=e;else throw new Error("zlib does not expose bytesRead")}catch(a){console.error("cannot use native zlib: "+(a.message||a))}}function K(e,r){if(!G)return Oe(e,r);var t=G.InflateRaw;var a=new t;var n=a._processChunk(e.slice(e.l),a._finishFlushFlag);e.l+=a.bytesRead;return n}function Y(e){return G?G.deflateRawSync(e):Te(e)}var Z=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];var J=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258];var q=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577];function Q(e){var r=(e<<1|e<<11)&139536|(e<<5|e<<15)&558144;return(r>>16|r>>8|r)&255}var ee=typeof Uint8Array!=="undefined";var re=ee?new Uint8Array(1<<8):[];for(var te=0;te<1<<8;++te)re[te]=Q(te);function ae(e,r){var t=re[e&255];if(r<=8)return t>>>8-r;t=t<<8|re[e>>8&255];if(r<=16)return t>>>16-r;t=t<<8|re[e>>16&255];return t>>>24-r}function ne(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=6?0:e[a+1]<<8))>>>t&3}function ie(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=5?0:e[a+1]<<8))>>>t&7}function se(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=4?0:e[a+1]<<8))>>>t&15}function fe(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=3?0:e[a+1]<<8))>>>t&31}function le(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=1?0:e[a+1]<<8))>>>t&127}function oe(e,r,t){var a=r&7,n=r>>>3,i=(1<<t)-1;var s=e[n]>>>a;if(t<8-a)return s&i;s|=e[n+1]<<8-a;if(t<16-a)return s&i;s|=e[n+2]<<16-a;if(t<24-a)return s&i;s|=e[n+3]<<24-a;return s&i}function ce(e,r,t){var a=r&7,n=r>>>3;if(a<=5)e[n]|=(t&7)<<a;else{e[n]|=t<<a&255;e[n+1]=(t&7)>>8-a}return r+3}function he(e,r,t){var a=r&7,n=r>>>3;t=(t&1)<<a;e[n]|=t;return r+1}function ue(e,r,t){var a=r&7,n=r>>>3;t<<=a;e[n]|=t&255;t>>>=8;e[n+1]=t;return r+8}function de(e,r,t){var a=r&7,n=r>>>3;t<<=a;e[n]|=t&255;t>>>=8;e[n+1]=t&255;e[n+2]=t>>>8;return r+16}function ve(e,r){var t=e.length,a=2*t>r?2*t:r+5,n=0;if(t>=r)return e;if(C){var i=O(a);if(e.copy)e.copy(i);else for(;n<e.length;++n)i[n]=e[n];return i}else if(ee){var s=new Uint8Array(a);if(s.set)s.set(e);else for(;n<t;++n)s[n]=e[n];return s}e.length=a;return e}function pe(e){var r=new Array(e);for(var t=0;t<e;++t)r[t]=0;return r}function me(e,r,t){var a=1,n=0,i=0,s=0,f=0,l=e.length;var o=ee?new Uint16Array(32):pe(32);for(i=0;i<32;++i)o[i]=0;for(i=l;i<t;++i)e[i]=0;l=e.length;var c=ee?new Uint16Array(l):pe(l);for(i=0;i<l;++i){o[n=e[i]]++;if(a<n)a=n;c[i]=0}o[0]=0;for(i=1;i<=a;++i)o[i+16]=f=f+o[i-1]<<1;for(i=0;i<l;++i){f=e[i];if(f!=0)c[i]=o[f+16]++}var h=0;for(i=0;i<l;++i){h=e[i];if(h!=0){f=ae(c[i],a)>>a-h;for(s=(1<<a+4-h)-1;s>=0;--s)r[f|s<<h]=h&15|i<<4}}return a}var ge=ee?new Uint16Array(512):pe(512);var be=ee?new Uint16Array(32):pe(32);if(!ee){for(var we=0;we<512;++we)ge[we]=0;for(we=0;we<32;++we)be[we]=0}(function(){var e=[];var r=0;for(;r<32;r++)e.push(5);me(e,be,32);var t=[];r=0;for(;r<=143;r++)t.push(8);for(;r<=255;r++)t.push(9);for(;r<=279;r++)t.push(7);for(;r<=287;r++)t.push(8);me(t,ge,288)})();var ke=function je(){var e=ee?new Uint8Array(32768):[];var r=0,t=0;for(;r<q.length-1;++r){for(;t<q[r+1];++t)e[t]=r}for(;t<32768;++t)e[t]=29;var a=ee?new Uint8Array(259):[];for(r=0,t=0;r<J.length-1;++r){for(;t<J[r+1];++t)a[t]=r}function n(e,r){var t=0;while(t<e.length){var a=Math.min(65535,e.length-t);var n=t+a==e.length;r._W(1,+n);r._W(2,a);r._W(2,~a&65535);while(a-- >0)r[r.l++]=e[t++]}return r.l}function i(r,t){var n=0;var i=0;var s=ee?new Uint16Array(32768):[];while(i<r.length){var f=Math.min(65535,r.length-i);if(f<10){n=ce(t,n,+!!(i+f==r.length));if(n&7)n+=8-(n&7);t.l=n/8|0;t._W(2,f);t._W(2,~f&65535);while(f-- >0)t[t.l++]=r[i++];n=t.l*8;continue}n=ce(t,n,+!!(i+f==r.length)+2);var l=0;while(f-- >0){var o=r[i];l=(l<<5^o)&32767;var c=-1,h=0;if(c=s[l]){c|=i&~32767;if(c>i)c-=32768;if(c<i)while(r[c+h]==r[i+h]&&h<250)++h}if(h>2){o=a[h];if(o<=22)n=ue(t,n,re[o+1]>>1)-1;else{ue(t,n,3);n+=5;ue(t,n,re[o-23]>>5);n+=3}var u=o<8?0:o-4>>2;if(u>0){de(t,n,h-J[o]);n+=u}o=e[i-c];n=ue(t,n,re[o]>>3);n-=3;var d=o<4?0:o-2>>1;if(d>0){de(t,n,i-c-q[o]);n+=d}for(var v=0;v<h;++v){s[l]=i&32767;l=(l<<5^r[i])&32767;++i}f-=h-1}else{if(o<=143)o=o+48;else n=he(t,n,1);n=ue(t,n,re[o]);s[l]=i&32767;++i}}n=ue(t,n,0)-1}t.l=(n+7)/8|0;return t.l}return function s(e,r){if(e.length<8)return n(e,r);return i(e,r)}}();function Te(e){var r=ya(50+Math.floor(e.length*1.1));var t=ke(e,r);return r.slice(0,t)}var Ae=ee?new Uint16Array(32768):pe(32768);var ye=ee?new Uint16Array(32768):pe(32768);var Ee=ee?new Uint16Array(128):pe(128);var Ce=1,_e=1;function Se(e,r){var t=fe(e,r)+257;r+=5;var a=fe(e,r)+1;r+=5;var n=se(e,r)+4;r+=4;var i=0;var s=ee?new Uint8Array(19):pe(19);var f=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];var l=1;var o=ee?new Uint8Array(8):pe(8);var c=ee?new Uint8Array(8):pe(8);var h=s.length;for(var u=0;u<n;++u){s[Z[u]]=i=ie(e,r);if(l<i)l=i;o[i]++;r+=3}var d=0;o[0]=0;for(u=1;u<=l;++u)c[u]=d=d+o[u-1]<<1;for(u=0;u<h;++u)if((d=s[u])!=0)f[u]=c[d]++;var v=0;for(u=0;u<h;++u){v=s[u];if(v!=0){d=re[f[u]]>>8-v;for(var p=(1<<7-v)-1;p>=0;--p)Ee[d|p<<v]=v&7|u<<3}}var m=[];l=1;for(;m.length<t+a;){d=Ee[le(e,r)];r+=d&7;switch(d>>>=3){case 16:i=3+ne(e,r);r+=2;d=m[m.length-1];while(i-- >0)m.push(d);break;case 17:i=3+ie(e,r);r+=3;while(i-- >0)m.push(0);break;case 18:i=11+le(e,r);r+=7;while(i-- >0)m.push(0);break;default:m.push(d);if(l<d)l=d;break;}}var g=m.slice(0,t),b=m.slice(t);for(u=t;u<286;++u)g[u]=0;for(u=a;u<30;++u)b[u]=0;Ce=me(g,Ae,286);_e=me(b,ye,30);return r}function xe(e,r){if(e[0]==3&&!(e[1]&3)){return[x(r),2]}var t=0;var a=0;var n=O(r?r:1<<18);var i=0;var s=n.length>>>0;var f=0,l=0;while((a&1)==0){a=ie(e,t);t+=3;if(a>>>1==0){if(t&7)t+=8-(t&7);var o=e[t>>>3]|e[(t>>>3)+1]<<8;t+=32;if(o>0){if(!r&&s<i+o){n=ve(n,i+o);s=n.length}while(o-- >0){n[i++]=e[t>>>3];t+=8}}continue}else if(a>>1==1){f=9;l=5}else{t=Se(e,t);f=Ce;l=_e}for(;;){if(!r&&s<i+32767){n=ve(n,i+32767);s=n.length}var c=oe(e,t,f);var h=a>>>1==1?ge[c]:Ae[c];t+=h&15;h>>>=4;if((h>>>8&255)===0)n[i++]=h;else if(h==256)break;else{h-=257;var u=h<8?0:h-4>>2;if(u>5)u=0;var d=i+J[h];if(u>0){d+=oe(e,t,u);t+=u}c=oe(e,t,l);h=a>>>1==1?be[c]:ye[c];t+=h&15;h>>>=4;var v=h<4?0:h-2>>1;var p=q[h];if(v>0){p+=oe(e,t,v);t+=v}if(!r&&s<d){n=ve(n,d+100);s=n.length}while(i<d){n[i]=n[i-p];++i}}}}if(r)return[n,t+7>>>3];return[n.slice(0,i),t+7>>>3]}function Oe(e,r){var t=e.slice(e.l||0);var a=xe(t,r);e.l+=a[1];return a[0]}function Re(e,r){if(e){if(typeof console!=="undefined")console.error(r)}else throw new Error(r)}function Ie(e,r){var t=e;Ta(t,0);var a=[],n=[];var i={FileIndex:a,FullPaths:n};y(i,{root:r.root});var f=t.length-4;while((t[f]!=80||t[f+1]!=75||t[f+2]!=5||t[f+3]!=6)&&f>=0)--f;t.l=f+4;t.l+=4;var l=t._R(2); -t.l+=6;var o=t._R(4);t.l=o;for(f=0;f<l;++f){t.l+=20;var c=t._R(4);var h=t._R(4);var u=t._R(2);var d=t._R(2);var v=t._R(2);t.l+=8;var p=t._R(4);var m=s(t.slice(t.l+u,t.l+u+d));t.l+=u+d+v;var g=t.l;t.l=p+4;if(m&&m[1]){if((m[1]||{}).usz)h=m[1].usz;if((m[1]||{}).csz)c=m[1].csz}Ne(t,c,h,i,m);t.l=g}return i}function Ne(e,r,t,a,n){e.l+=2;var f=e._R(2);var l=e._R(2);var o=i(e);if(f&8257)throw new Error("Unsupported ZIP encryption");var c=e._R(4);var h=e._R(4);var u=e._R(4);var d=e._R(2);var v=e._R(2);var p="";for(var m=0;m<d;++m)p+=String.fromCharCode(e[e.l++]);if(v){var g=s(e.slice(e.l,e.l+v));if((g[21589]||{}).mt)o=g[21589].mt;if((g[1]||{}).usz)u=g[1].usz;if((g[1]||{}).csz)h=g[1].csz;if(n){if((n[21589]||{}).mt)o=n[21589].mt;if((n[1]||{}).usz)u=g[1].usz;if((n[1]||{}).csz)h=g[1].csz}}e.l+=v;var b=e.slice(e.l,e.l+h);switch(l){case 8:b=K(e,u);break;case 0:break;default:throw new Error("Unsupported ZIP Compression method "+l);}var w=false;if(f&8){c=e._R(4);if(c==134695760){c=e._R(4);w=true}h=e._R(4);u=e._R(4)}if(h!=r)Re(w,"Bad compressed size: "+r+" != "+h);if(u!=t)Re(w,"Bad uncompressed size: "+t+" != "+u);Ve(a,p,b,{unsafe:true,mt:o})}function Fe(e,r){var t=r||{};var a=[],i=[];var s=ya(1);var f=t.compression?8:0,l=0;var o=false;if(o)l|=8;var c=0,h=0;var u=0,d=0;var v=e.FullPaths[0],p=v,m=e.FileIndex[0];var g=[];var b=0;for(c=1;c<e.FullPaths.length;++c){p=e.FullPaths[c].slice(v.length);m=e.FileIndex[c];if(!m.size||!m.content||p=="Sh33tJ5")continue;var w=u;var k=ya(p.length);for(h=0;h<p.length;++h)k._W(1,p.charCodeAt(h)&127);k=k.slice(0,k.l);g[d]=typeof m.content=="string"?qe.bstr(m.content,0):qe.buf(m.content,0);var T=typeof m.content=="string"?R(m.content):m.content;if(f==8)T=Y(T);s=ya(30);s._W(4,67324752);s._W(2,20);s._W(2,l);s._W(2,f);if(m.mt)n(s,m.mt);else s._W(4,0);s._W(-4,l&8?0:g[d]);s._W(4,l&8?0:T.length);s._W(4,l&8?0:m.content.length);s._W(2,k.length);s._W(2,0);u+=s.length;a.push(s);u+=k.length;a.push(k);u+=T.length;a.push(T);if(l&8){s=ya(12);s._W(-4,g[d]);s._W(4,T.length);s._W(4,m.content.length);u+=s.l;a.push(s)}s=ya(46);s._W(4,33639248);s._W(2,0);s._W(2,20);s._W(2,l);s._W(2,f);s._W(4,0);s._W(-4,g[d]);s._W(4,T.length);s._W(4,m.content.length);s._W(2,k.length);s._W(2,0);s._W(2,0);s._W(2,0);s._W(2,0);s._W(4,0);s._W(4,w);b+=s.l;i.push(s);b+=k.length;i.push(k);++d}s=ya(22);s._W(4,101010256);s._W(2,0);s._W(2,0);s._W(2,d);s._W(2,d);s._W(4,b);s._W(4,u);s._W(2,0);return P([P(a),P(i),s])}var De={htm:"text/html",xml:"text/xml",gif:"image/gif",jpg:"image/jpeg",png:"image/png",mso:"application/x-mso",thmx:"application/vnd.ms-officetheme",sh33tj5:"application/octet-stream"};function Pe(e,r){if(e.ctype)return e.ctype;var t=e.name||"",a=t.match(/\.([^\.]+)$/);if(a&&De[a[1]])return De[a[1]];if(r){a=(t=r).match(/[\.\\]([^\.\\])+$/);if(a&&De[a[1]])return De[a[1]]}return"application/octet-stream"}function Le(e){var r=T(e);var t=[];for(var a=0;a<r.length;a+=76)t.push(r.slice(a,a+76));return t.join("\r\n")+"\r\n"}function Me(e){var r=e.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF=]/g,function(e){var r=e.charCodeAt(0).toString(16).toUpperCase();return"="+(r.length==1?"0"+r:r)});r=r.replace(/ $/gm,"=20").replace(/\t$/gm,"=09");if(r.charAt(0)=="\n")r="=0D"+r.slice(1);r=r.replace(/\r(?!\n)/gm,"=0D").replace(/\n\n/gm,"\n=0A").replace(/([^\r\n])\n/gm,"$1=0A");var t=[],a=r.split("\r\n");for(var n=0;n<a.length;++n){var i=a[n];if(i.length==0){t.push("");continue}for(var s=0;s<i.length;){var f=76;var l=i.slice(s,s+f);if(l.charAt(f-1)=="=")f--;else if(l.charAt(f-2)=="=")f-=2;else if(l.charAt(f-3)=="=")f-=3;l=i.slice(s,s+f);s+=f;if(s<i.length)l+="=";t.push(l)}}return t.join("\r\n")}function Ue(e){var r=[];for(var t=0;t<e.length;++t){var a=e[t];while(t<=e.length&&a.charAt(a.length-1)=="=")a=a.slice(0,a.length-1)+e[++t];r.push(a)}for(var n=0;n<r.length;++n)r[n]=r[n].replace(/[=][0-9A-Fa-f]{2}/g,function(e){return String.fromCharCode(parseInt(e.slice(1),16))});return R(r.join("\r\n"))}function Be(e,r,t){var a="",n="",i="",s;var f=0;for(;f<10;++f){var l=r[f];if(!l||l.match(/^\s*$/))break;var o=l.match(/^(.*?):\s*([^\s].*)$/);if(o)switch(o[1].toLowerCase()){case"content-location":a=o[2].trim();break;case"content-type":i=o[2].trim();break;case"content-transfer-encoding":n=o[2].trim();break;}}++f;switch(n.toLowerCase()){case"base64":s=R(E(r.slice(f).join("")));break;case"quoted-printable":s=Ue(r.slice(f));break;default:throw new Error("Unsupported Content-Transfer-Encoding "+n);}var c=Ve(e,a.slice(t.length),s,{unsafe:true});if(i)c.ctype=i}function We(e,r){if(X(e.slice(0,13)).toLowerCase()!="mime-version:")throw new Error("Unsupported MAD header");var t=r&&r.root||"";var a=(C&&Buffer.isBuffer(e)?e.toString("binary"):X(e)).split("\r\n");var n=0,i="";for(n=0;n<a.length;++n){i=a[n];if(!/^Content-Location:/i.test(i))continue;i=i.slice(i.indexOf("file"));if(!t)t=i.slice(0,i.lastIndexOf("/")+1);if(i.slice(0,t.length)==t)continue;while(t.length>0){t=t.slice(0,t.length-1);t=t.slice(0,t.lastIndexOf("/")+1);if(i.slice(0,t.length)==t)break}}var s=(a[1]||"").match(/boundary="(.*?)"/);if(!s)throw new Error("MAD cannot find boundary");var f="--"+(s[1]||"");var l=[],o=[];var c={FileIndex:l,FullPaths:o};y(c);var h,u=0;for(n=0;n<a.length;++n){var d=a[n];if(d!==f&&d!==f+"--")continue;if(u++)Be(c,a.slice(h,n),t);h=n}return c}function ze(e,r){var t=r||{};var a=t.boundary||"SheetJS";a="------="+a;var n=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+a.slice(2)+'"',"","",""];var i=e.FullPaths[0],s=i,f=e.FileIndex[0];for(var l=1;l<e.FullPaths.length;++l){s=e.FullPaths[l].slice(i.length);f=e.FileIndex[l];if(!f.size||!f.content||s=="Sh33tJ5")continue;s=s.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF]/g,function(e){return"_x"+e.charCodeAt(0).toString(16)+"_"}).replace(/[\u0080-\uFFFF]/g,function(e){return"_u"+e.charCodeAt(0).toString(16)+"_"});var o=f.content;var c=C&&Buffer.isBuffer(o)?o.toString("binary"):X(o);var h=0,u=Math.min(1024,c.length),d=0;for(var v=0;v<=u;++v)if((d=c.charCodeAt(v))>=32&&d<128)++h;var p=h>=u*4/5;n.push(a);n.push("Content-Location: "+(t.root||"file:///C:/SheetJS/")+s);n.push("Content-Transfer-Encoding: "+(p?"quoted-printable":"base64"));n.push("Content-Type: "+Pe(f,s));n.push("");n.push(p?Me(c):Le(c))}n.push(a+"--\r\n");return n.join("\r\n")}function He(e){var r={};y(r,e);return r}function Ve(e,r,t,n){var i=n&&n.unsafe;if(!i)y(e);var s=!i&&Qe.find(e,r);if(!s){var f=e.FullPaths[0];if(r.slice(0,f.length)==f)f=r;else{if(f.slice(-1)!="/")f+="/";f=(f+r).replace("//","/")}s={name:a(r),type:2};e.FileIndex.push(s);e.FullPaths.push(f);if(!i)Qe.utils.cfb_gc(e)}s.content=t;s.size=t?t.length:0;if(n){if(n.CLSID)s.clsid=n.CLSID;if(n.mt)s.mt=n.mt;if(n.ct)s.ct=n.ct}return s}function Xe(e,r){y(e);var t=Qe.find(e,r);if(t)for(var a=0;a<e.FileIndex.length;++a)if(e.FileIndex[a]==t){e.FileIndex.splice(a,1);e.FullPaths.splice(a,1);return true}return false}function $e(e,r,t){y(e);var n=Qe.find(e,r);if(n)for(var i=0;i<e.FileIndex.length;++i)if(e.FileIndex[i]==n){e.FileIndex[i].name=a(t);e.FullPaths[i]=t;return true}return false}function Ge(e){I(e,true)}e.find=F;e.read=A;e.parse=o;e.write=$;e.writeFile=V;e.utils={cfb_new:He,cfb_add:Ve,cfb_del:Xe,cfb_mov:$e,cfb_gc:Ge,ReadShift:pa,CheckField:ka,prep_blob:Ta,bconcat:P,use_zlib:j,_deflateRaw:Te,_inflateRaw:Oe,consts:H};return e}();var er;function rr(e){er=e}function tr(e){if(typeof e==="string")return I(e);if(Array.isArray(e))return F(e);return e}function ar(e,r,t){if(typeof er!=="undefined"&&er.writeFileSync)return t?er.writeFileSync(e,r,t):er.writeFileSync(e,r);if(typeof Deno!=="undefined"){if(t&&typeof r=="string")switch(t){case"utf8":r=new TextEncoder(t).encode(r);break;case"binary":r=I(r);break;default:throw new Error("Unsupported encoding "+t);}return Deno.writeFileSync(e,r)}var a=t=="utf8"?Tt(r):r;if(typeof IE_SaveFile!=="undefined")return IE_SaveFile(a,e);if(typeof Blob!=="undefined"){var n=new Blob([tr(a)],{type:"application/octet-stream"});if(typeof navigator!=="undefined"&&navigator.msSaveBlob)return navigator.msSaveBlob(n,e);if(typeof saveAs!=="undefined")return saveAs(n,e);if(typeof URL!=="undefined"&&typeof document!=="undefined"&&document.createElement&&URL.createObjectURL){var i=URL.createObjectURL(n);if(typeof chrome==="object"&&typeof(chrome.downloads||{}).download=="function"){if(URL.revokeObjectURL&&typeof setTimeout!=="undefined")setTimeout(function(){URL.revokeObjectURL(i)},6e4);return chrome.downloads.download({url:i,filename:e,saveAs:true})}var s=document.createElement("a");if(s.download!=null){s.download=e;s.href=i;document.body.appendChild(s);s.click();document.body.removeChild(s);if(URL.revokeObjectURL&&typeof setTimeout!=="undefined")setTimeout(function(){URL.revokeObjectURL(i)},6e4);return i}}else if(typeof URL!=="undefined"&&!URL.createObjectURL&&typeof chrome==="object"){var f="data:application/octet-stream;base64,"+y(new Uint8Array(tr(a)));return chrome.downloads.download({url:f,filename:e,saveAs:true})}}if(typeof $!=="undefined"&&typeof File!=="undefined"&&typeof Folder!=="undefined")try{var l=File(e);l.open("w");l.encoding="binary";if(Array.isArray(r))r=N(r);l.write(r);l.close();return r}catch(o){if(!o.message||!o.message.match(/onstruct/))throw o}throw new Error("cannot save file "+e)}function nr(e){if(typeof er!=="undefined")return er.readFileSync(e);if(typeof Deno!=="undefined")return Deno.readFileSync(e);if(typeof $!=="undefined"&&typeof File!=="undefined"&&typeof Folder!=="undefined")try{var r=File(e);r.open("r");r.encoding="binary";var t=r.read();r.close();return t}catch(a){if(!a.message||!a.message.match(/onstruct/))throw a}throw new Error("Cannot access file "+e)}function ir(e){var r=Object.keys(e),t=[];for(var a=0;a<r.length;++a)if(Object.prototype.hasOwnProperty.call(e,r[a]))t.push(r[a]);return t}function sr(e,r){var t=[],a=ir(e);for(var n=0;n!==a.length;++n)if(t[e[a[n]][r]]==null)t[e[a[n]][r]]=a[n];return t}function fr(e){var r=[],t=ir(e);for(var a=0;a!==t.length;++a)r[e[t[a]]]=t[a];return r}function lr(e){var r=[],t=ir(e);for(var a=0;a!==t.length;++a)r[e[t[a]]]=parseInt(t[a],10);return r}function or(e){var r=[],t=ir(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 cr=Date.UTC(1899,11,30,0,0,0);var hr=Date.UTC(1899,11,31,0,0,0);var ur=Date.UTC(1904,0,1,0,0,0);function dr(e,r){var t=e.getTime();var a=(t-cr)/(24*60*60*1e3);if(r){a-=1462;return a<-1402?a-1:a}return a<60?a-1:a}function vr(e){if(e>=60&&e<61)return e;var r=new Date;r.setTime((e>60?e:e+1)*24*60*60*1e3+cr);return r}function pr(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].slice(n[i].length-1)){case"Y":throw new Error("Unsupported ISO Duration Field: "+n[i].slice(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 mr=/^(\d+):(\d+)(:\d+)?(\.\d+)?$/;var gr=/^(\d+)-(\d+)-(\d+)$/;var br=/^(\d+)-(\d+)-(\d+)[T ](\d+):(\d+)(:\d+)?(\.\d+)?$/;function wr(e,r){if(e instanceof Date)return e;var t=e.match(mr);if(t)return new Date((r?ur:hr)+((parseInt(t[1],10)*60+parseInt(t[2],10))*60+(t[3]?parseInt(t[3].slice(1),10):0))*1e3+(t[4]?parseInt((t[4]+"000").slice(1,4),10):0));t=e.match(gr);if(t)return new Date(Date.UTC(+t[1],+t[2]-1,+t[3],0,0,0,0));t=e.match(br);if(t)return new Date(Date.UTC(+t[1],+t[2]-1,+t[3],+t[4],+t[5],t[6]&&parseInt(t[6].slice(1),10)||0,t[7]&&parseInt(t[7].slice(1),10)||0));var a=new Date(e);return a}function kr(e,r){if(C&&Buffer.isBuffer(e)){if(r&&S){if(e[0]==255&&e[1]==254)return Tt(e.slice(2).toString("utf16le"));if(e[1]==254&&e[2]==255)return Tt(d(e.slice(2).toString("binary")))}return e.toString("binary")}if(typeof TextDecoder!=="undefined")try{if(r){if(e[0]==255&&e[1]==254)return Tt(new TextDecoder("utf-16le").decode(e.slice(2)));if(e[0]==254&&e[1]==255)return Tt(new TextDecoder("utf-16be").decode(e.slice(2)))}var t={"€":"€","‚":"‚","ƒ":"ƒ","„":"„","…":"…","†":"†","‡":"‡","ˆ":"ˆ","‰":"‰","Š":"Š","‹":"‹","Œ":"Œ","Ž":"Ž","‘":"‘","’":"’","“":"“","”":"”","•":"•","–":"–","—":"—","˜":"˜","™":"™","š":"š","›":"›","œ":"œ","ž":"ž","Ÿ":"Ÿ"};if(Array.isArray(e))e=new Uint8Array(e);return new TextDecoder("latin1").decode(e).replace(/[€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ]/g,function(e){return t[e]||e})}catch(a){}var n=[],i=0;try{for(i=0;i<e.length-65536;i+=65536)n.push(String.fromCharCode.apply(0,e.slice(i,i+65536)));n.push(String.fromCharCode.apply(0,e.slice(i)))}catch(a){try{for(;i<e.length-16384;i+=16384)n.push(String.fromCharCode.apply(0,e.slice(i,i+16384)));n.push(String.fromCharCode.apply(0,e.slice(i)))}catch(a){for(;i!=e.length;++i)n.push(String.fromCharCode(e[i]))}}return n.join("")}function Tr(e){if(typeof JSON!="undefined"&&!Array.isArray(e))return JSON.parse(JSON.stringify(e));if(typeof e!="object"||e==null)return e;if(e instanceof Date)return new Date(e.getTime());var r={};for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))r[t]=Tr(e[t]);return r}function Ar(e,r){var t="";while(t.length<r)t+=e;return t}function yr(e){var r=Number(e);if(!isNaN(r))return isFinite(r)?r:NaN;if(!/\d/.test(e))return r;var t=1;var a=e.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g,function(){t*=100;return""});if(!isNaN(r=Number(a)))return r/t;a=a.replace(/[(](.*)[)]/,function(e,r){t=-t;return r});if(!isNaN(r=Number(a)))return r/t;return r}var Er=/^(0?\d|1[0-2])(?:|:([0-5]?\d)(?:|(\.\d+)(?:|:([0-5]?\d))|:([0-5]?\d)(|\.\d+)))\s+([ap])m?$/;var Cr=/^([01]?\d|2[0-3])(?:|:([0-5]?\d)(?:|(\.\d+)(?:|:([0-5]?\d))|:([0-5]?\d)(|\.\d+)))$/;var _r=/^(\d+)-(\d+)-(\d+)[T ](\d+):(\d+)(:\d+)(\.\d+)?[Z]?$/;var Sr=new Date("6/9/69 00:00 UTC").valueOf()==-177984e5;function xr(e){if(!e[2])return new Date(Date.UTC(1899,11,31,+e[1]%12+(e[7]=="p"?12:0),0,0,0));if(e[3]){if(e[4])return new Date(Date.UTC(1899,11,31,+e[1]%12+(e[7]=="p"?12:0),+e[2],+e[4],parseFloat(e[3])*1e3));else return new Date(Date.UTC(1899,11,31,e[7]=="p"?12:0,+e[1],+e[2],parseFloat(e[3])*1e3))}else if(e[5])return new Date(Date.UTC(1899,11,31,+e[1]%12+(e[7]=="p"?12:0),+e[2],+e[5],e[6]?parseFloat(e[6])*1e3:0));else return new Date(Date.UTC(1899,11,31,+e[1]%12+(e[7]=="p"?12:0),+e[2],0,0))}function Or(e){if(!e[2])return new Date(Date.UTC(1899,11,31,+e[1],0,0,0));if(e[3]){if(e[4])return new Date(Date.UTC(1899,11,31,+e[1],+e[2],+e[4],parseFloat(e[3])*1e3));else return new Date(Date.UTC(1899,11,31,0,+e[1],+e[2],parseFloat(e[3])*1e3))}else if(e[5])return new Date(Date.UTC(1899,11,31,+e[1],+e[2],+e[5],e[6]?parseFloat(e[6])*1e3:0));else return new Date(Date.UTC(1899,11,31,+e[1],+e[2],0,0))}var Rr=["january","february","march","april","may","june","july","august","september","october","november","december"];function Ir(e){if(_r.test(e))return e.indexOf("Z")==-1?Dr(new Date(e)):new Date(e);var r=e.toLowerCase();var t=r.replace(/\s+/g," ").trim();var a=t.match(Er);if(a)return xr(a);a=t.match(Cr);if(a)return Or(a);a=t.match(br);if(a)return new Date(Date.UTC(+a[1],+a[2]-1,+a[3],+a[4],+a[5],a[6]&&parseInt(a[6].slice(1),10)||0,a[7]&&parseInt(a[7].slice(1),10)||0));var n=new Date(Sr&&e.indexOf("UTC")==-1?e+" UTC":e),i=new Date(NaN);var s=n.getYear(),f=n.getMonth(),l=n.getDate();if(isNaN(l))return i;if(r.match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/)){r=r.replace(/[^a-z]/g,"").replace(/([^a-z]|^)[ap]m?([^a-z]|$)/,"");if(r.length>3&&Rr.indexOf(r)==-1)return i}else if(r.replace(/[ap]m?/,"").match(/[a-z]/))return i;if(s<0||s>8099||e.match(/[^-0-9:,\/\\\ ]/))return i;return n}var Nr=function(){var e="abacaba".split(/(:?b)/i).length==5;return function r(t,a,n){if(e||typeof a=="string")return t.split(a);var i=t.split(a),s=[i[0]];for(var f=1;f<i.length;++f){s.push(n);s.push(i[f])}return s}}();function Fr(e){return new Date(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds())}function Dr(e){return new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()))}function Pr(e){if(!e)return null;if(e.content&&e.type)return kr(e.content,true);if(e.data)return v(e.data);if(e.asNodeBuffer&&C)return v(e.asNodeBuffer().toString("binary"));if(e.asBinary)return v(e.asBinary());if(e._data&&e._data.getContent)return v(kr(Array.prototype.slice.call(e._data.getContent(),0)));return null}function Lr(e){if(!e)return null;if(e.data)return c(e.data);if(e.asNodeBuffer&&C)return e.asNodeBuffer();if(e._data&&e._data.getContent){var r=e._data.getContent();if(typeof r=="string")return c(r);return Array.prototype.slice.call(r)}if(e.content&&e.type)return e.content;return null}function Mr(e){return e&&e.name.slice(-4)===".bin"?Lr(e):Pr(e)}function Ur(e,r){var t=e.FullPaths||ir(e.files);var a=r.toLowerCase().replace(/[\/]/g,"\\"),n=a.replace(/\\/g,"/");for(var i=0;i<t.length;++i){var s=t[i].replace(/^Root Entry[\/]/,"").toLowerCase();if(a==s||n==s)return e.files?e.files[t[i]]:e.FileIndex[i]}return null}function Br(e,r){var t=Ur(e,r);if(t==null)throw new Error("Cannot find file "+r+" in zip");return t}function Wr(e,r,t){if(!t)return Mr(Br(e,r));if(!r)return null;try{return Wr(e,r)}catch(a){return null}}function zr(e,r,t){if(!t)return Pr(Br(e,r));if(!r)return null;try{return zr(e,r)}catch(a){return null}}function Hr(e,r,t){if(!t)return Lr(Br(e,r));if(!r)return null;try{return Hr(e,r)}catch(a){return null}}function Vr(e){var r=e.FullPaths||ir(e.files),t=[];for(var a=0;a<r.length;++a)if(r[a].slice(-1)!="/")t.push(r[a].replace(/^Root Entry[\/]/,""));return t.sort()}function Xr(e,r,t){if(e.FullPaths){if(typeof t=="string"){var a;if(C)a=_(t);else a=L(t);return Qe.utils.cfb_add(e,r,a)}Qe.utils.cfb_add(e,r,t)}else e.file(r,t)}function $r(){return Qe.utils.cfb_new()}function Gr(e,r){switch(r.type){case"base64":return Qe.read(e,{type:"base64"});case"binary":return Qe.read(e,{type:"binary"});case"buffer":;case"array":return Qe.read(e,{type:"buffer"});}throw new Error("Unrecognized type "+r.type)}function jr(e,r){if(e.charAt(0)=="/")return e.slice(1);var t=r.split("/");if(r.slice(-1)!="/")t.pop();var a=e.split("/");while(a.length!==0){var n=a.shift();if(n==="..")t.pop();else if(n!==".")t.push(n)}return t.join("/")}var Kr='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r\n';var Yr=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g;var Zr=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/gm,Jr=/<[^>]*>/g;var qr=Kr.match(Zr)?Zr:Jr;var Qr=/<\w*:/,et=/<(\/?)\w+:/;function rt(e,r,t){var a={};var n=0,i=0;for(;n!==e.length;++n)if((i=e.charCodeAt(n))===32||i===10||i===13)break;if(!r)a[0]=e.slice(0,n);if(n===e.length)return a;var s=e.match(Yr),f=0,l="",o=0,c="",h="",u=1;if(s)for(o=0;o!=s.length;++o){h=s[o];for(i=0;i!=h.length;++i)if(h.charCodeAt(i)===61)break;c=h.slice(0,i).trim();while(h.charCodeAt(i+1)==32)++i;u=(n=h.charCodeAt(i+1))==34||n==39?1:0;l=h.slice(i+1+u,h.length-u);for(f=0;f!=c.length;++f)if(c.charCodeAt(f)===58)break;if(f===c.length){if(c.indexOf("_")>0)c=c.slice(0,c.indexOf("_"));a[c]=l;if(!t)a[c.toLowerCase()]=l}else{var d=(f===5&&c.slice(0,5)==="xmlns"?"xmlns":"")+c.slice(f+1);if(a[d]&&c.slice(f-3,f)=="ext")continue;a[d]=l;if(!t)a[d.toLowerCase()]=l}}return a}function tt(e){return e.replace(et,"<$1")}var at={""":'"',"'":"'",">":">","<":"<","&":"&"};var nt=fr(at);var it=function(){var e=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/gi,r=/_x([\da-fA-F]{4})_/gi;function t(a){var n=a+"",i=n.indexOf("<![CDATA[");if(i==-1)return n.replace(e,function(e,r){return at[e]||String.fromCharCode(parseInt(r,e.indexOf("x")>-1?16:10))||e}).replace(r,function(e,r){return String.fromCharCode(parseInt(r,16))});var s=n.indexOf("]]>");return t(n.slice(0,i))+n.slice(i+9,s)+t(n.slice(s+3))}return function a(e,r){var a=t(e);return r?a.replace(/\r\n/g,"\n"):a}}();var st=/[&<>'"]/g,ft=/[\u0000-\u0008\u000b-\u001f\uFFFE-\uFFFF]/g;function lt(e){var r=e+"";return r.replace(st,function(e){return nt[e]}).replace(ft,function(e){return"_x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+"_"})}function ot(e){return lt(e).replace(/ /g,"_x0020_")}var ct=/[\u0000-\u001f]/g;function ht(e){var r=e+"";return r.replace(st,function(e){return nt[e]}).replace(/\n/g,"<br/>").replace(ct,function(e){return"&#x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+";"})}function ut(e){var r=e+"";return r.replace(st,function(e){return nt[e]}).replace(ct,function(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"})}var dt=function(){var e=/&#(\d+);/g;function r(e,r){return String.fromCharCode(parseInt(r,10))}return function t(a){return a.replace(e,r)}}();function vt(e){return e.replace(/(\r\n|[\r\n])/g," ")}function pt(e){switch(e){case 1:;case true:;case"1":;case"true":return true;case 0:;case false:;case"0":;case"false":return false;}return false}function mt(e){var r="",t=0,a=0,n=0,i=0,s=0,f=0;while(t<e.length){a=e.charCodeAt(t++);if(a<128){r+=String.fromCharCode(a);continue}n=e.charCodeAt(t++);if(a>191&&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}function gt(e){var r=x(2*e.length),t,a,n=1,i=0,s=0,f;for(a=0;a<e.length;a+=n){n=1;if((f=e.charCodeAt(a))<128)t=f;else if(f<224){t=(f&31)*64+(e.charCodeAt(a+1)&63);n=2}else if(f<240){t=(f&15)*4096+(e.charCodeAt(a+1)&63)*64+(e.charCodeAt(a+2)&63);n=3}else{n=4;t=(f&7)*262144+(e.charCodeAt(a+1)&63)*4096+(e.charCodeAt(a+2)&63)*64+(e.charCodeAt(a+3)&63);t-=65536;s=55296+(t>>>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")}function bt(e){return _(e,"binary").toString("utf8")}var wt="foo bar baz☃🍣";var kt=C&&(bt(wt)==mt(wt)&&bt||gt(wt)==mt(wt)&>)||mt;var Tt=C?function(e){return _(e,"utf8").toString("binary")}:function(e){var r=[],t=0,a=0,n=0;while(t<e.length){a=e.charCodeAt(t++);switch(true){case a<128:r.push(String.fromCharCode(a));break;case a<2048:r.push(String.fromCharCode(192+(a>>6)));r.push(String.fromCharCode(128+(a&63)));break;case a>=55296&&a<57344:a-=55296;n=e.charCodeAt(t++)-56320+(a<<10);r.push(String.fromCharCode(240+(n>>18&7)));r.push(String.fromCharCode(144+(n>>12&63)));r.push(String.fromCharCode(128+(n>>6&63)));r.push(String.fromCharCode(128+(n&63)));break;default:r.push(String.fromCharCode(224+(a>>12)));r.push(String.fromCharCode(128+(a>>6&63)));r.push(String.fromCharCode(128+(a&63)));}}return r.join("")};var At=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]*?)</(?:\\w+:)?'+t+">",a||"")}}();var yt=function(){var e=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map(function(e){return[new RegExp("&"+e[0]+";","ig"),e[1]]});return function r(t){var a=t.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+</g,"<").replace(/[\t\n\r ]+/g," ").replace(/<\s*[bB][rR]\s*\/?>/g,"\n").replace(/<[^>]*>/g,"");for(var n=0;n<e.length;++n)a=a.replace(e[n][0],e[n][1]);return a}}();var Et=function(){var e={};return function r(t){if(e[t]!==undefined)return e[t];return e[t]=new RegExp("<(?:vt:)?"+t+">([\\s\\S]*?)</(?:vt:)?"+t+">","g")}}();var Ct=/<\/?(?:vt:)?variant>/g,_t=/<(?:vt:)([^>]*)>([\s\S]*)</;function St(e,r){var t=rt(e);var a=e.match(Et(t.baseType))||[];var n=[];if(a.length!=t.size){if(r.WTF)throw new Error("unexpected vector length "+a.length+" != "+t.size);return n}a.forEach(function(e){var r=e.replace(Ct,"").match(_t);if(r)n.push({v:kt(r[2]),t:r[1]})});return n}var xt=/(^\s|\s$|\n)/;function Ot(e,r){return"<"+e+(r.match(xt)?' xml:space="preserve"':"")+">"+r+"</"+e+">"}function Rt(e){return ir(e).map(function(r){return" "+r+'="'+e[r]+'"'}).join("")}function It(e,r,t){return"<"+e+(t!=null?Rt(t):"")+(r!=null?(r.match(xt)?' xml:space="preserve"':"")+">"+r+"</"+e:"/")+">"}function Nt(e,r){try{return e.toISOString().replace(/\.\d*/,"")}catch(t){if(r)throw t}return""}function Ft(e,r){switch(typeof e){case"string":var t=It("vt:lpwstr",lt(e));if(r)t=t.replace(/"/g,"_x0022_");return t;case"number":return It((e|0)==e?"vt:i4":"vt:r8",lt(String(e)));case"boolean":return It("vt:bool",e?"true":"false");}if(e instanceof Date)return It("vt:filetime",Nt(e));throw new Error("Unable to serialize "+e)}function Dt(e){if(C&&Buffer.isBuffer(e))return e.toString("utf8");if(typeof e==="string")return e;if(typeof Uint8Array!=="undefined"&&e instanceof Uint8Array)return kt(N(D(e)));throw new Error("Bad input format: expected Buffer or string")}var Pt=/<(\/?)([^\s?><!\/:]*:|)([^\s?<>:\/]+)(?:[\s?:\/](?:[^>=]|="[^"]*?")*)?>/gm;var Lt={CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",CT:"http://schemas.openxmlformats.org/package/2006/content-types",RELS:"http://schemas.openxmlformats.org/package/2006/relationships",TCMNT:"http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments",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"};var Mt=["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 Ut={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 Bt(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 Wt(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 if(s==0)n=i=0;else{n=Math.floor(Math.log(s)/Math.LN2);i=s*Math.pow(2,52-n);if(n<=-1023&&(!isFinite(i)||i<Math.pow(2,52))){n=-1022}else{i-=Math.pow(2,52);n+=1023}}for(var f=0;f<=5;++f,i/=256)e[t+f]=i&255;e[t+6]=(n&15)<<4|i&15;e[t+7]=n>>4|a}var zt=function(e){var r=[],t=10240;for(var a=0;a<e[0].length;++a)if(e[0][a])for(var n=0,i=e[0][a].length;n<i;n+=t)r.push.apply(r,e[0][a].slice(n,n+t));return r};var Ht=C?function(e){return e[0].length>0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0].map(function(e){return Buffer.isBuffer(e)?e:_(e)})):zt(e)}:zt;var Vt=function(e,r,t){var a=[];for(var n=r;n<t;n+=2)a.push(String.fromCharCode(ca(e,n)));return a.join("").replace(M,"")};var Xt=C?function(e,r,t){if(!Buffer.isBuffer(e)||!S)return Vt(e,r,t);return e.toString("utf16le",r,t).replace(M,"")}:Vt;var $t=function(e,r,t){var a=[];for(var n=r;n<r+t;++n)a.push(("0"+e[n].toString(16)).slice(-2));return a.join("")};var Gt=C?function(e,r,t){return Buffer.isBuffer(e)?e.toString("hex",r,r+t):$t(e,r,t)}:$t;var jt=function(e,r,t){var a=[];for(var n=r;n<t;n++)a.push(String.fromCharCode(oa(e,n)));return a.join("")};var Kt=C?function vT(e,r,t){return Buffer.isBuffer(e)?e.toString("utf8",r,t):jt(e,r,t)}:jt;var Yt=function(e,r){var t=ua(e,r);return t>0?Kt(e,r+4,r+4+t-1):""};var Zt=Yt;var Jt=function(e,r){var t=ua(e,r);return t>0?Kt(e,r+4,r+4+t-1):""};var qt=Jt;var Qt=function(e,r){var t=2*ua(e,r);return t>0?Kt(e,r+4,r+4+t-1):""};var ea=Qt;var ra=function pT(e,r){var t=ua(e,r);return t>0?Xt(e,r+4,r+4+t):""};var ta=ra;var aa=function(e,r){var t=ua(e,r);return t>0?Kt(e,r+4,r+4+t):""};var na=aa;var ia=function(e,r){return Bt(e,r)};var sa=ia;var fa=function mT(e){return Array.isArray(e)||typeof Uint8Array!=="undefined"&&e instanceof Uint8Array};if(C){Zt=function gT(e,r){if(!Buffer.isBuffer(e))return Yt(e,r);var t=e.readUInt32LE(r);return t>0?e.toString("utf8",r+4,r+4+t-1):""};qt=function bT(e,r){if(!Buffer.isBuffer(e))return Jt(e,r);var t=e.readUInt32LE(r);return t>0?e.toString("utf8",r+4,r+4+t-1):""};ea=function wT(e,r){if(!Buffer.isBuffer(e)||!S)return Qt(e,r);var t=2*e.readUInt32LE(r);return e.toString("utf16le",r+4,r+4+t-1)};ta=function kT(e,r){if(!Buffer.isBuffer(e)||!S)return ra(e,r);var t=e.readUInt32LE(r);return e.toString("utf16le",r+4,r+4+t)};na=function TT(e,r){if(!Buffer.isBuffer(e))return aa(e,r);var t=e.readUInt32LE(r);return e.toString("utf8",r+4,r+4+t)};sa=function AT(e,r){if(Buffer.isBuffer(e))return e.readDoubleLE(r);return ia(e,r)};fa=function yT(e){return Buffer.isBuffer(e)||Array.isArray(e)||typeof Uint8Array!=="undefined"&&e instanceof Uint8Array}}function la(){Xt=function(e,r,t){return a.utils.decode(1200,e.slice(r,t)).replace(M,"")};Kt=function(e,r,t){return a.utils.decode(65001,e.slice(r,t))};Zt=function(e,r){var n=ua(e,r);return n>0?a.utils.decode(t,e.slice(r+4,r+4+n-1)):""};qt=function(e,t){var n=ua(e,t);return n>0?a.utils.decode(r,e.slice(t+4,t+4+n-1)):""};ea=function(e,r){var t=2*ua(e,r);return t>0?a.utils.decode(1200,e.slice(r+4,r+4+t-1)):""};ta=function(e,r){var t=ua(e,r);return t>0?a.utils.decode(1200,e.slice(r+4,r+4+t)):""};na=function(e,r){var t=ua(e,r);return t>0?a.utils.decode(65001,e.slice(r+4,r+4+t)):""}}if(typeof a!=="undefined")la();var oa=function(e,r){return e[r]};var ca=function(e,r){return e[r+1]*(1<<8)+e[r]};var ha=function(e,r){var t=e[r+1]*(1<<8)+e[r];return t<32768?t:(65535-t+1)*-1};var ua=function(e,r){return e[r+3]*(1<<24)+(e[r+2]<<16)+(e[r+1]<<8)+e[r]};var da=function(e,r){return e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]};var va=function(e,r){return e[r]<<24|e[r+1]<<16|e[r+2]<<8|e[r+3]};function pa(e,t){var n="",i,s,f=[],l,o,c,h;switch(t){case"dbcs":h=this.l;if(C&&Buffer.isBuffer(this)&&S)n=this.slice(this.l,this.l+2*e).toString("utf16le");else for(c=0;c<e;++c){n+=String.fromCharCode(ca(this,h));h+=2}e*=2;break;case"utf8":n=Kt(this,this.l,this.l+e);break;case"utf16le":e*=2;n=Xt(this,this.l,this.l+e);break;case"wstr":if(typeof a!=="undefined")n=a.utils.decode(r,this.slice(this.l,this.l+2*e));else return pa.call(this,e,"dbcs");e=2*e;break;case"lpstr-ansi":n=Zt(this,this.l);e=4+ua(this,this.l);break;case"lpstr-cp":n=qt(this,this.l);e=4+ua(this,this.l);break;case"lpwstr":n=ea(this,this.l);e=4+2*ua(this,this.l);break;case"lpp4":e=4+ua(this,this.l);n=ta(this,this.l);if(e&2)e+=2;break;case"8lpp4":e=4+ua(this,this.l);n=na(this,this.l);if(e&3)e+=4-(e&3);break;case"cstr":e=0;n="";while((l=oa(this,this.l+e++))!==0)f.push(p(l));n=f.join("");break;case"_wstr":e=0;n="";while((l=ca(this,this.l+e))!==0){f.push(p(l));e+=2}e+=2;n=f.join("");break;case"dbcs-cont":n="";h=this.l;for(c=0;c<e;++c){if(this.lens&&this.lens.indexOf(h)!==-1){l=oa(this,h);this.l=h+1;o=pa.call(this,e-c,l?"dbcs-cont":"sbcs-cont");return f.join("")+o}f.push(p(ca(this,h)));h+=2}n=f.join("");e*=2; -break;case"cpstr":if(typeof a!=="undefined"){n=a.utils.decode(r,this.slice(this.l,this.l+e));break};case"sbcs-cont":n="";h=this.l;for(c=0;c!=e;++c){if(this.lens&&this.lens.indexOf(h)!==-1){l=oa(this,h);this.l=h+1;o=pa.call(this,e-c,l?"dbcs-cont":"sbcs-cont");return f.join("")+o}f.push(p(oa(this,h)));h+=1}n=f.join("");break;default:switch(e){case 1:i=oa(this,this.l);this.l++;return i;case 2:i=(t==="i"?ha:ca)(this,this.l);this.l+=2;return i;case 4:;case-4:if(t==="i"||(this[this.l+3]&128)===0){i=(e>0?da:va)(this,this.l);this.l+=4;return i}else{s=ua(this,this.l);this.l+=4}return s;case 8:;case-8:if(t==="f"){if(e==8)s=sa(this,this.l);else s=sa([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0);this.l+=8;return s}else e=8;case 16:n=Gt(this,this.l,e);break;};}this.l+=e;return n}var ma=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 ga=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 ba=function(e,r,t){e[t]=r&255;e[t+1]=r>>>8&255};function wa(e,n,i){var s=0,f=0;if(i==="dbcs"){for(f=0;f!=n.length;++f)ba(this,n.charCodeAt(f),this.l+2*f);s=2*n.length}else if(i==="sbcs"||i=="cpstr"){if(typeof a!=="undefined"&&t==874){for(f=0;f!=n.length;++f){var l=a.utils.encode(t,n.charAt(f));this[this.l+f]=l[0]}s=n.length}else if(typeof a!=="undefined"&&i=="cpstr"){l=a.utils.encode(r,n);if(l.length==n.length)for(f=0;f<n.length;++f)if(l[f]==0&&n.charCodeAt(f)!=0)l[f]=95;if(l.length==2*n.length)for(f=0;f<n.length;++f)if(l[2*f]==0&&l[2*f+1]==0&&n.charCodeAt(f)!=0)l[2*f]=95;for(f=0;f<l.length;++f)this[this.l+f]=l[f];s=l.length}else{n=n.replace(/[^\x00-\x7F]/g,"_");for(f=0;f!=n.length;++f)this[this.l+f]=n.charCodeAt(f)&255;s=n.length}}else if(i==="hex"){for(;f<e;++f){this[this.l++]=parseInt(n.slice(2*f,2*f+2),16)||0}return this}else if(i==="utf16le"){var o=Math.min(this.l+e,this.length);for(f=0;f<Math.min(n.length,e);++f){var c=n.charCodeAt(f);this[this.l++]=c&255;this[this.l++]=c>>8}while(this.l<o)this[this.l++]=0;return this}else switch(e){case 1:s=1;this[this.l]=n&255;break;case 2:s=2;this[this.l]=n&255;n>>>=8;this[this.l+1]=n&255;break;case 3:s=3;this[this.l]=n&255;n>>>=8;this[this.l+1]=n&255;n>>>=8;this[this.l+2]=n&255;break;case 4:s=4;ma(this,n,this.l);break;case 8:s=8;if(i==="f"){Wt(this,n,this.l);break};case 16:break;case-4:s=4;ga(this,n,this.l);break;}this.l+=s;return this}function ka(e,r){var t=Gt(this,this.l,e.length>>1);if(t!==e)throw new Error(r+"Expected "+e+" saw "+t);this.l+=e.length>>1}function Ta(e,r){e.l=r;e._R=pa;e.chk=ka;e._W=wa}function Aa(e,r){e.l+=r}function ya(e){var r=x(e);Ta(r,0);return r}function Ea(e,r,t){if(!e)return;var a,n,i;Ta(e,e.l||0);var s=e.length,f=0,l=0;while(e.l<s){f=e._R(1);if(f&128)f=(f&127)+((e._R(1)&127)<<7);var o=Qg[f]||Qg[65535];a=e._R(1);i=a&127;for(n=1;n<4&&a&128;++n)i+=((a=e._R(1))&127)<<7*n;l=e.l+i;var c=o.f&&o.f(e,i,t);e.l=l;if(r(c,o,f))return}}function Ca(){var e=[],r=C?256:2048;var t=function l(e){var r=ya(e);Ta(r,0);return r};var a=t(r);var n=function o(){if(!a)return;if(a.l){if(a.length>a.l){a=a.slice(0,a.l);a.l=a.length}if(a.length>0)e.push(a)}a=null};var i=function c(e){if(a&&e<a.length-a.l)return a;n();return a=t(Math.max(e+1,r))};var s=function h(){n();return P(e)};var f=function u(e){n();a=e;if(a.l==null)a.l=a.length;i(r)};return{next:i,push:f,end:s,_bufs:e}}function _a(e,r,t,a){var n=+r,i;if(isNaN(n))return;if(!a)a=Qg[n].p||(t||[]).length||0;i=1+(n>=128?1:0)+1;if(a>=128)++i;if(a>=16384)++i;if(a>=2097152)++i;var s=e.next(i);if(n<=127)s._W(1,n);else{s._W(1,(n&127)+128);s._W(1,n>>7)}for(var f=0;f!=4;++f){if(a>=128){s._W(1,(a&127)+128);a>>=7}else{s._W(1,a);break}}if(a>0&&fa(t))e.push(t)}function Sa(e,r,t){var a=Tr(e);if(r.s){if(a.cRel)a.c+=r.s.c;if(a.rRel)a.r+=r.s.r}else{if(a.cRel)a.c+=r.c;if(a.rRel)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 xa(e,r,t){var a=Tr(e);a.s=Sa(a.s,r.s,t);a.e=Sa(a.e,r.s,t);return a}function Oa(e,r){if(e.cRel&&e.c<0){e=Tr(e);while(e.c<0)e.c+=r>8?16384:256}if(e.rRel&&e.r<0){e=Tr(e);while(e.r<0)e.r+=r>8?1048576:r>5?65536:16384}var t=za(e);if(!e.cRel&&e.cRel!=null)t=Ma(t);if(!e.rRel&&e.rRel!=null)t=Fa(t);return t}function Ra(e,r){if(e.s.r==0&&!e.s.rRel){if(e.e.r==(r.biff>=12?1048575:r.biff>=8?65536:16384)&&!e.e.rRel){return(e.s.cRel?"":"$")+La(e.s.c)+":"+(e.e.cRel?"":"$")+La(e.e.c)}}if(e.s.c==0&&!e.s.cRel){if(e.e.c==(r.biff>=12?16383:255)&&!e.e.cRel){return(e.s.rRel?"":"$")+Na(e.s.r)+":"+(e.e.rRel?"":"$")+Na(e.e.r)}}return Oa(e.s,r.biff)+":"+Oa(e.e,r.biff)}if(typeof cptable!=="undefined")g(cptable);else if(typeof module!=="undefined"&&typeof require!=="undefined"){g(undefined)}function Ia(e){return parseInt(Da(e),10)-1}function Na(e){return""+(e+1)}function Fa(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}function Da(e){return e.replace(/\$(\d+)$/,"$1")}function Pa(e){var r=Ua(e),t=0,a=0;for(;a!==r.length;++a)t=26*t+r.charCodeAt(a)-64;return t-1}function La(e){if(e<0)throw new Error("invalid column "+e);var r="";for(++e;e;e=Math.floor((e-1)/26))r=String.fromCharCode((e-1)%26+65)+r;return r}function Ma(e){return e.replace(/^([A-Z])/,"$$$1")}function Ua(e){return e.replace(/^\$([A-Z])/,"$1")}function Ba(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function Wa(e){var r=0,t=0;for(var a=0;a<e.length;++a){var n=e.charCodeAt(a);if(n>=48&&n<=57)r=10*r+(n-48);else if(n>=65&&n<=90)t=26*t+(n-64)}return{c:t-1,r:r-1}}function za(e){var r=e.c+1;var t="";for(;r;r=(r-1)/26|0)t=String.fromCharCode((r-1)%26+65)+t;return t+(e.r+1)}function Ha(e){var r=e.indexOf(":");if(r==-1)return{s:Wa(e),e:Wa(e)};return{s:Wa(e.slice(0,r)),e:Wa(e.slice(r+1))}}function Va(e,r){if(typeof r==="undefined"||typeof r==="number"){return Va(e.s,e.e)}if(typeof e!=="string")e=za(e);if(typeof r!=="string")r=za(r);return e==r?e:e+":"+r}function Xa(e){var r=Ha(e);return"$"+La(r.s.c)+"$"+Na(r.s.r)+":$"+La(r.e.c)+"$"+Na(r.e.r)}function $a(e,r){if(!e&&!(r&&r.biff<=5&&r.biff>=2))throw new Error("empty sheet name");if(/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(e))return"'"+e.replace(/'/g,"''")+"'";return e}function Ga(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;a<i;++a){if((n=e.charCodeAt(a)-64)<1||n>26)break;t=26*t+n}r.s.c=--t;for(t=0;a<i;++a){if((n=e.charCodeAt(a)-48)<0||n>9)break;t=10*t+n}r.s.r=--t;if(a===i||n!=10){r.e.c=r.s.c;r.e.r=r.s.r;return r}++a;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 ja(e,r){var t=e.t=="d"&&r instanceof Date;if(e.z!=null)try{return e.w=ze(e.z,t?dr(r):r)}catch(a){}try{return e.w=ze((e.XF||{}).numFmtId||(t?14:0),t?dr(r):r)}catch(a){return""+r}}function Ka(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(e.t=="e")return ti[e.v]||e.v;if(r==undefined)return ja(e,e.v);return ja(e,r)}function Ya(e,r){var t=r&&r.sheet?r.sheet:"Sheet1";var a={};a[t]=e;return{SheetNames:[t],Sheets:a}}function Za(e){var r={};var t=e||{};if(t.dense)r["!data"]=[];return r}function Ja(e,r,t){var a=t||{};var n=e?e["!data"]!=null:a.dense;if(b!=null&&n==null)n=b;var i=e||{};if(n&&!i["!data"])i["!data"]=[];var s=0,f=0;if(i&&a.origin!=null){if(typeof a.origin=="number")s=a.origin;else{var l=typeof a.origin=="string"?Wa(a.origin):a.origin;s=l.r;f=l.c}if(!i["!ref"])i["!ref"]="A1:A1"}var o={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(i["!ref"]){var c=Ga(i["!ref"]);o.s.c=c.s.c;o.s.r=c.s.r;o.e.c=Math.max(o.e.c,c.e.c);o.e.r=Math.max(o.e.r,c.e.r);if(s==-1)o.e.r=s=c.e.r+1}var h=[];for(var u=0;u!=r.length;++u){if(!r[u])continue;if(!Array.isArray(r[u]))throw new Error("aoa_to_sheet expects an array of arrays");var d=s+u,v=""+(d+1);if(n){if(!i["!data"][d])i["!data"][d]=[];h=i["!data"][d]}for(var p=0;p!=r[u].length;++p){if(typeof r[u][p]==="undefined")continue;var m={v:r[u][p]};var g=f+p;if(o.s.r>d)o.s.r=d;if(o.s.c>g)o.s.c=g;if(o.e.r<d)o.e.r=d;if(o.e.c<g)o.e.c=g;if(r[u][p]&&typeof r[u][p]==="object"&&!Array.isArray(r[u][p])&&!(r[u][p]instanceof Date))m=r[u][p];else{if(Array.isArray(m.v)){m.f=r[u][p][1];m.v=m.v[0]}if(m.v===null){if(m.f)m.t="n";else if(a.nullError){m.t="e";m.v=0}else if(!a.sheetStubs)continue;else m.t="z"}else if(typeof m.v==="number")m.t="n";else if(typeof m.v==="boolean")m.t="b";else if(m.v instanceof Date){m.z=a.dateNF||q[14];if(!a.UTC)m.v=Dr(m.v);if(a.cellDates){m.t="d";m.w=ze(m.z,dr(m.v,a.date1904))}else{m.t="n";m.v=dr(m.v,a.date1904);m.w=ze(m.z,m.v)}}else m.t="s"}if(n){if(h[g]&&h[g].z)m.z=h[g].z;h[g]=m}else{var w=La(g)+v;if(i[w]&&i[w].z)m.z=i[w].z;i[w]=m}}}if(o.s.c<1e7)i["!ref"]=Va(o);return i}function qa(e,r){return Ja(null,e,r)}function Qa(e){return e._R(4,"i")}function en(e,r){if(!r)r=ya(4);r._W(4,e);return r}function rn(e){var r=e._R(4);return r===0?"":e._R(r,"dbcs")}function tn(e,r){var t=false;if(r==null){t=true;r=ya(4+2*e.length)}r._W(4,e.length);if(e.length>0)r._W(0,e,"dbcs");return t?r.slice(0,r.l):r}function an(e){return{ich:e._R(2),ifnt:e._R(2)}}function nn(e,r){if(!r)r=ya(4);r._W(2,e.ich||0);r._W(2,e.ifnt||0);return r}function sn(e,r){var t=e.l;var a=e._R(1);var n=rn(e);var i=[];var s={t:n,h:n};if((a&1)!==0){var f=e._R(4);for(var l=0;l!=f;++l)i.push(an(e));s.r=i}else s.r=[{ich:0,ifnt:0}];e.l=t+r;return s}function fn(e,r){var t=false;if(r==null){t=true;r=ya(15+4*e.t.length)}r._W(1,0);tn(e.t,r);return t?r.slice(0,r.l):r}var ln=sn;function on(e,r){var t=false;if(r==null){t=true;r=ya(23+4*e.t.length)}r._W(1,1);tn(e.t,r);r._W(4,1);nn({ich:0,ifnt:0},r);return t?r.slice(0,r.l):r}function cn(e){var r=e._R(4);var t=e._R(2);t+=e._R(1)<<16;e.l++;return{c:r,iStyleRef:t}}function hn(e,r){if(r==null)r=ya(8);r._W(-4,e.c);r._W(3,e.iStyleRef||e.s);r._W(1,0);return r}function un(e){var r=e._R(2);r+=e._R(1)<<16;e.l++;return{c:-1,iStyleRef:r}}function dn(e,r){if(r==null)r=ya(4);r._W(3,e.iStyleRef||e.s);r._W(1,0);return r}var vn=rn;var pn=tn;function mn(e){var r=e._R(4);return r===0||r===4294967295?"":e._R(r,"dbcs")}function gn(e,r){var t=false;if(r==null){t=true;r=ya(127)}r._W(4,e.length>0?e.length:4294967295);if(e.length>0)r._W(0,e,"dbcs");return t?r.slice(0,r.l):r}var bn=rn;var wn=mn;var kn=gn;function Tn(e){var r=e.slice(e.l,e.l+4);var t=r[0]&1,a=r[0]&2;e.l+=4;var n=a===0?sa([0,0,0,0,r[0]&252,r[1],r[2],r[3]],0):da(r,0)>>2;return t?n/100:n}function An(e,r){if(r==null)r=ya(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._W(-4,((t?n:e)<<2)+(t+2));else throw new Error("unsupported RkNumber "+e)}function yn(e){var r={s:{},e:{}};r.s.r=e._R(4);r.e.r=e._R(4);r.s.c=e._R(4);r.e.c=e._R(4);return r}function En(e,r){if(!r)r=ya(16);r._W(4,e.s.r);r._W(4,e.e.r);r._W(4,e.s.c);r._W(4,e.e.c);return r}var Cn=yn;var _n=En;function Sn(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e._R(8,"f")}function xn(e,r){return(r||ya(8))._W(8,e,"f")}function On(e){var r={};var t=e._R(1);var a=t>>>1;var n=e._R(1);var i=e._R(2,"i");var s=e._R(1);var f=e._R(1);var l=e._R(1);e.l++;switch(a){case 0:r.auto=1;break;case 1:r.index=n;var o=ri[n];if(o)r.rgb=$o(o);break;case 2:r.rgb=$o([s,f,l]);break;case 3:r.theme=n;break;}if(i!=0)r.tint=i>0?i/32767:i/32768;return r}function Rn(e,r){if(!r)r=ya(8);if(!e||e.auto){r._W(4,0);r._W(4,0);return r}if(e.index!=null){r._W(1,2);r._W(1,e.index)}else if(e.theme!=null){r._W(1,6);r._W(1,e.theme)}else{r._W(1,5);r._W(1,0)}var t=e.tint||0;if(t>0)t*=32767;else if(t<0)t*=32768;r._W(2,t);if(!e.rgb||e.theme!=null){r._W(2,0);r._W(1,0);r._W(1,0)}else{var a=e.rgb||"FFFFFF";if(typeof a=="number")a=("000000"+a.toString(16)).slice(-6);r._W(1,parseInt(a.slice(0,2),16));r._W(1,parseInt(a.slice(2,4),16));r._W(1,parseInt(a.slice(4,6),16));r._W(1,255)}return r}function In(e){var r=e._R(1);e.l++;var t={fBold:r&1,fItalic:r&2,fUnderline:r&4,fStrikeout:r&8,fOutline:r&16,fShadow:r&32,fCondense:r&64,fExtend:r&128};return t}function Nn(e,r){if(!r)r=ya(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._W(1,t);r._W(1,0);return r}function Fn(e,r){var t={2:"BITMAP",3:"METAFILEPICT",8:"DIB",14:"ENHMETAFILE"};var a=e._R(4);switch(a){case 0:return"";case 4294967295:;case 4294967294:return t[e._R(4)]||"";}if(a>400)throw new Error("Unsupported Clipboard: "+a.toString(16));e.l-=4;return e._R(0,r==1?"lpstr":"lpwstr")}function Dn(e){return Fn(e,1)}function Pn(e){return Fn(e,2)}var Ln=2;var Mn=3;var Un=11;var Bn=12;var Wn=19;var zn=64;var Hn=65;var Vn=71;var Xn=4108;var $n=4126;var Gn=80;var jn=81;var Kn=[Gn,jn];var Yn={1:{n:"CodePage",t:Ln},2:{n:"Category",t:Gn},3:{n:"PresentationFormat",t:Gn},4:{n:"ByteCount",t:Mn},5:{n:"LineCount",t:Mn},6:{n:"ParagraphCount",t:Mn},7:{n:"SlideCount",t:Mn},8:{n:"NoteCount",t:Mn},9:{n:"HiddenCount",t:Mn},10:{n:"MultimediaClipCount",t:Mn},11:{n:"ScaleCrop",t:Un},12:{n:"HeadingPairs",t:Xn},13:{n:"TitlesOfParts",t:$n},14:{n:"Manager",t:Gn},15:{n:"Company",t:Gn},16:{n:"LinksUpToDate",t:Un},17:{n:"CharacterCount",t:Mn},19:{n:"SharedDoc",t:Un},22:{n:"HyperlinksChanged",t:Un},23:{n:"AppVersion",t:Mn,p:"version"},24:{n:"DigSig",t:Hn},26:{n:"ContentType",t:Gn},27:{n:"ContentStatus",t:Gn},28:{n:"Language",t:Gn},29:{n:"Version",t:Gn},255:{},2147483648:{n:"Locale",t:Wn},2147483651:{n:"Behavior",t:Wn},1919054434:{}};var Zn={1:{n:"CodePage",t:Ln},2:{n:"Title",t:Gn},3:{n:"Subject",t:Gn},4:{n:"Author",t:Gn},5:{n:"Keywords",t:Gn},6:{n:"Comments",t:Gn},7:{n:"Template",t:Gn},8:{n:"LastAuthor",t:Gn},9:{n:"RevNumber",t:Gn},10:{n:"EditTime",t:zn},11:{n:"LastPrinted",t:zn},12:{n:"CreatedDate",t:zn},13:{n:"ModifiedDate",t:zn},14:{n:"PageCount",t:Mn},15:{n:"WordCount",t:Mn},16:{n:"CharCount",t:Mn},17:{n:"Thumbnail",t:Vn},18:{n:"Application",t:Gn},19:{n:"DocSecurity",t:Mn},255:{},2147483648:{n:"Locale",t:Wn},2147483651:{n:"Behavior",t:Wn},1919054434:{}};var Jn={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 qn=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];function Qn(e){return e.map(function(e){return[e>>16&255,e>>8&255,e&255]})}var ei=Qn([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,0,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);var ri=Tr(ei);var ti={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"};var ai={"#NULL!":0,"#DIV/0!":7,"#VALUE!":15,"#REF!":23,"#NAME?":29,"#NUM!":36,"#N/A":42,"#GETTING_DATA":43,"#WTF?":255};var ni=["_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"];var ii={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.sheet.macroEnabled.main+xml":"workbooks","application/vnd.ms-excel.sheet.binary.macroEnabled.main":"workbooks","application/vnd.ms-excel.addin.macroEnabled.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":"sheets","application/vnd.ms-excel.worksheet":"sheets","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"charts","application/vnd.ms-excel.chartsheet":"charts","application/vnd.ms-excel.macrosheet+xml":"macros","application/vnd.ms-excel.macrosheet":"macros","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"dialogs","application/vnd.ms-excel.dialogsheet":"dialogs","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":"strs","application/vnd.ms-excel.sharedStrings":"strs","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":"styles","application/vnd.ms-excel.styles":"styles","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.openxmlformats-officedocument.spreadsheetml.comments+xml":"comments","application/vnd.ms-excel.comments":"comments","application/vnd.ms-excel.threadedcomments+xml":"threadedcomments","application/vnd.ms-excel.person+xml":"people","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"metadata","application/vnd.ms-excel.sheetMetadata":"metadata","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+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.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":"TODO","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.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 si={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",xlam:"application/vnd.ms-excel.addin.macroEnabled.main+xml",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"},metadata:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml",xlsb:"application/vnd.ms-excel.sheetMetadata"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};function fi(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""}}function li(e){var r=fi();if(!e||!e.match)return r;var t={};(e.match(qr)||[]).forEach(function(e){var a=rt(e);switch(a[0].replace(Qr,"<")){case"<?xml":break;case"<Types":r.xmlns=a["xmlns"+(a[0].match(/<(\w+):/)||["",""])[1]];break;case"<Default":t[a.Extension.toLowerCase()]=a.ContentType;break;case"<Override":if(r[ii[a.ContentType]]!==undefined)r[ii[a.ContentType]].push(a.PartName);break;}});if(r.xmlns!==Lt.CT)throw new Error("Unknown Namespace: "+r.xmlns);r.calcchain=r.calcchains.length>0?r.calcchains[0]:"";r.sst=r.strs.length>0?r.strs[0]:"";r.style=r.styles.length>0?r.styles[0]:"";r.defaults=t;delete r.calcchains;return r}function oi(e,r,t){var a=or(ii);var n=[],i;if(!t){n[n.length]=Kr;n[n.length]=It("Types",null,{xmlns:Lt.CT,"xmlns:xsd":Lt.xsd,"xmlns:xsi":Lt.xsi});n=n.concat([["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["data","application/vnd.openxmlformats-officedocument.model+data"],["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","application/vnd.openxmlformats-package.relationships+xml"]].map(function(e){return It("Default",null,{Extension:e[0],ContentType:e[1]})}))}var s=function(t){if(e[t]&&e[t].length>0){i=e[t][0];n[n.length]=It("Override",null,{PartName:(i[0]=="/"?"":"/")+i,ContentType:si[t][r.bookType]||si[t]["xlsx"]})}};var f=function(t){(e[t]||[]).forEach(function(e){n[n.length]=It("Override",null,{PartName:(e[0]=="/"?"":"/")+e,ContentType:si[t][r.bookType]||si[t]["xlsx"]})})};var l=function(r){(e[r]||[]).forEach(function(e){n[n.length]=It("Override",null,{PartName:(e[0]=="/"?"":"/")+e,ContentType:a[r][0]})})};s("workbooks");f("sheets");f("charts");l("themes");["strs","styles"].forEach(s);["coreprops","extprops","custprops"].forEach(l);l("vba");l("comments");l("threadedcomments");l("drawings");f("metadata");l("people");if(!t&&n.length>2){n[n.length]="</Types>";n[1]=n[1].replace("/>",">")}return n.join("")}var ci={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",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",CMNT:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",SST:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",STY:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",THEME:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",CHART:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",CHARTEX:"http://schemas.microsoft.com/office/2014/relationships/chartEx",CS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet",WS:["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"],DS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",MS:"http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet",IMG:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",DRAW:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",XLMETA:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata",TCMNT:"http://schemas.microsoft.com/office/2017/10/relationships/threadedComment",PEOPLE:"http://schemas.microsoft.com/office/2017/10/relationships/person",CONN:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/connections",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function hi(e){var r=e.lastIndexOf("/");return e.slice(0,r+1)+"_rels/"+e.slice(r+1)+".rels"}function ui(e,r){var t={"!id":{}};if(!e)return t;if(r.charAt(0)!=="/"){r="/"+r}var a={};(e.match(qr)||[]).forEach(function(e){var n=rt(e);if(n[0]==="<Relationship"){var i={};i.Type=n.Type;i.Target=it(n.Target);i.Id=n.Id;if(n.TargetMode)i.TargetMode=n.TargetMode;var s=n.TargetMode==="External"?n.Target:jr(n.Target,r);t[s]=i;a[n.Id]=i}});t["!id"]=a;return t}function di(e){var r=[Kr,It("Relationships",null,{xmlns:Lt.RELS})];ir(e["!id"]).forEach(function(t){r[r.length]=It("Relationship",null,e["!id"][t])});if(r.length>2){r[r.length]="</Relationships>";r[1]=r[1].replace("/>",">")}return r.join("")}function vi(e,r,t,a,n,i){if(!n)n={};if(!e["!id"])e["!id"]={};if(!e["!idx"])e["!idx"]=1;if(r<0)for(r=e["!idx"];e["!id"]["rId"+r];++r){}e["!idx"]=r+1;n.Id="rId"+r;n.Type=a;n.Target=t;if(i)n.TargetMode=i;else if([ci.HLINK,ci.XPATH,ci.XMISS].indexOf(n.Type)>-1)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 pi="application/vnd.oasis.opendocument.spreadsheet";function mi(e,r){var t=Dt(e);var a;var n;while(a=Pt.exec(t))switch(a[3]){case"manifest":break;case"file-entry":n=rt(a[0],false);if(n.path=="/"&&n.type!==pi)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 gi(e){var r=[Kr];r.push('<manifest:manifest xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0" manifest:version="1.2">\n');r.push(' <manifest:file-entry manifest:full-path="/" manifest:version="1.2" manifest:media-type="application/vnd.oasis.opendocument.spreadsheet"/>\n');for(var t=0;t<e.length;++t)r.push(' <manifest:file-entry manifest:full-path="'+e[t][0]+'" manifest:media-type="'+e[t][1]+'"/>\n');r.push("</manifest:manifest>");return r.join("")}function bi(e,r,t){return[' <rdf:Description rdf:about="'+e+'">\n',' <rdf:type rdf:resource="http://docs.oasis-open.org/ns/office/1.2/meta/'+(t||"odf")+"#"+r+'"/>\n'," </rdf:Description>\n"].join("")}function wi(e,r){return[' <rdf:Description rdf:about="'+e+'">\n',' <ns0:hasPart xmlns:ns0="http://docs.oasis-open.org/ns/office/1.2/meta/pkg#" rdf:resource="'+r+'"/>\n'," </rdf:Description>\n"].join("")}function ki(e){var r=[Kr];r.push('<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">\n');for(var t=0;t!=e.length;++t){r.push(bi(e[t][0],e[t][1]));r.push(wi("",e[t][0]))}r.push(bi("","Document","pkg"));r.push("</rdf:RDF>");return r.join("")}function Ti(r,t){return'<office:document-meta xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xlink="http://www.w3.org/1999/xlink" office:version="1.2"><office:meta><meta:generator>SheetJS '+e.version+"</meta:generator></office:meta></office:document-meta>"}var Ai=[["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"]];var yi=function(){ -var e=new Array(Ai.length);for(var r=0;r<Ai.length;++r){var t=Ai[r];var a="(?:"+t[0].slice(0,t[0].indexOf(":"))+":)"+t[0].slice(t[0].indexOf(":")+1);e[r]=new RegExp("<"+a+"[^>]*>([\\s\\S]*?)</"+a+">")}return e}();function Ei(e){var r={};e=kt(e);for(var t=0;t<Ai.length;++t){var a=Ai[t],n=e.match(yi[t]);if(n!=null&&n.length>0)r[a[1]]=it(n[1]);if(a[2]==="date"&&r[a[1]])r[a[1]]=wr(r[a[1]])}return r}function Ci(e,r,t,a,n){if(n[e]!=null||r==null||r==="")return;n[e]=r;r=lt(r);a[a.length]=t?It(e,r,t):Ot(e,r)}function _i(e,r){var t=r||{};var a=[Kr,It("cp:coreProperties",null,{"xmlns:cp":Lt.CORE_PROPS,"xmlns:dc":Lt.dc,"xmlns:dcterms":Lt.dcterms,"xmlns:dcmitype":Lt.dcmitype,"xmlns:xsi":Lt.xsi})],n={};if(!e&&!t.Props)return a.join("");if(e){if(e.CreatedDate!=null)Ci("dcterms:created",typeof e.CreatedDate==="string"?e.CreatedDate:Nt(e.CreatedDate,t.WTF),{"xsi:type":"dcterms:W3CDTF"},a,n);if(e.ModifiedDate!=null)Ci("dcterms:modified",typeof e.ModifiedDate==="string"?e.ModifiedDate:Nt(e.ModifiedDate,t.WTF),{"xsi:type":"dcterms:W3CDTF"},a,n)}for(var i=0;i!=Ai.length;++i){var s=Ai[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)Ci(s[0],f,null,a,n)}if(a.length>2){a[a.length]="</cp:coreProperties>";a[1]=a[1].replace("/>",">")}return a.join("")}var Si=[["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"]];var xi=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function Oi(e,r,t,a){var n=[];if(typeof e=="string")n=St(e,a);else for(var i=0;i<e.length;++i)n=n.concat(e[i].map(function(e){return{v:e}}));var s=typeof r=="string"?St(r,a).map(function(e){return e.v}):r;var f=0,l=0;if(s.length>0)for(var o=0;o!==n.length;o+=2){l=+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"Hojas de cálculo":;case"Werkbladen":t.Worksheets=l;t.SheetNames=s.slice(f,f+l);break;case"Named Ranges":;case"Rangos con nombre":;case"名前付き一覧":;case"Benannte Bereiche":;case"Navngivne områder":t.NamedRanges=l;t.DefinedNames=s.slice(f,f+l);break;case"Charts":;case"Diagramme":t.Chartsheets=l;t.ChartNames=s.slice(f,f+l);break;}f+=l}}function Ri(e,r,t){var a={};if(!r)r={};e=kt(e);Si.forEach(function(t){var n=(e.match(At(t[0]))||[])[1];switch(t[2]){case"string":if(n)r[t[1]]=it(n);break;case"bool":r[t[1]]=n==="true";break;case"raw":var i=e.match(new RegExp("<"+t[0]+"[^>]*>([\\s\\S]*?)</"+t[0]+">"));if(i&&i.length>0)a[t[1]]=i[1];break;}});if(a.HeadingPairs&&a.TitlesOfParts)Oi(a.HeadingPairs,a.TitlesOfParts,r,t);return r}function Ii(e){var r=[],t=It;if(!e)e={};e.Application="SheetJS";r[r.length]=Kr;r[r.length]=It("Properties",null,{xmlns:Lt.EXT_PROPS,"xmlns:vt":Lt.vt});Si.forEach(function(a){if(e[a[1]]===undefined)return;var n;switch(a[2]){case"string":n=lt(String(e[a[1]]));break;case"bool":n=e[a[1]]?"true":"false";break;}if(n!==undefined)r[r.length]=t(a[0],n)});r[r.length]=t("HeadingPairs",t("vt:vector",t("vt:variant","<vt:lpstr>Worksheets</vt:lpstr>")+t("vt:variant",t("vt:i4",String(e.Worksheets))),{size:2,baseType:"variant"}));r[r.length]=t("TitlesOfParts",t("vt:vector",e.SheetNames.map(function(e){return"<vt:lpstr>"+lt(e)+"</vt:lpstr>"}).join(""),{size:e.Worksheets,baseType:"lpstr"}));if(r.length>2){r[r.length]="</Properties>";r[1]=r[1].replace("/>",">")}return r.join("")}var Ni=/<[^>]+>[^<]*/g;function Fi(e,r){var t={},a="";var n=e.match(Ni);if(n)for(var i=0;i!=n.length;++i){var s=n[i],f=rt(s);switch(tt(f[0])){case"<?xml":break;case"<Properties":break;case"<property":a=it(f.name);break;case"</property>":a=null;break;default:if(s.indexOf("<vt:")===0){var l=s.split(">");var o=l[0].slice(4),c=l[1];switch(o){case"lpstr":;case"bstr":;case"lpwstr":t[a]=it(c);break;case"bool":t[a]=pt(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]=wr(c);break;case"cy":;case"error":t[a]=it(c);break;default:if(o.slice(-1)=="/")break;if(r.WTF&&typeof console!=="undefined")console.warn("Unexpected",s,o,l);}}else if(s.slice(0,2)==="</"){}else if(r.WTF)throw new Error(s);}}return t}function Di(e){var r=[Kr,It("Properties",null,{xmlns:Lt.CUST_PROPS,"xmlns:vt":Lt.vt})];if(!e)return r.join("");var t=1;ir(e).forEach(function a(n){++t;r[r.length]=It("property",Ft(e[n],true),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:t,name:lt(n)})});if(r.length>2){r[r.length]="</Properties>";r[1]=r[1].replace("/>",">")}return r.join("")}var Pi={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 Li;function Mi(e,r,t){if(!Li)Li=fr(Pi);r=Li[r]||r;e[r]=t}function Ui(e,r){var t=[];ir(Pi).map(function(e){for(var r=0;r<Ai.length;++r)if(Ai[r][1]==e)return Ai[r];for(r=0;r<Si.length;++r)if(Si[r][1]==e)return Si[r];throw e}).forEach(function(a){if(e[a[1]]==null)return;var n=r&&r.Props&&r.Props[a[1]]!=null?r.Props[a[1]]:e[a[1]];switch(a[2]){case"date":n=new Date(n).toISOString().replace(/\.\d*Z/,"Z");break;}if(typeof n=="number")n=String(n);else if(n===true||n===false){n=n?"1":"0"}else if(n instanceof Date)n=new Date(n).toISOString().replace(/\.\d*Z/,"");t.push(Ot(Pi[a[1]]||a[1],n))});return It("DocumentProperties",t.join(""),{xmlns:Ut.o})}function Bi(e,r){var t=["Worksheets","SheetNames"];var a="CustomDocumentProperties";var n=[];if(e)ir(e).forEach(function(r){if(!Object.prototype.hasOwnProperty.call(e,r))return;for(var a=0;a<Ai.length;++a)if(r==Ai[a][1])return;for(a=0;a<Si.length;++a)if(r==Si[a][1])return;for(a=0;a<t.length;++a)if(r==t[a])return;var i=e[r];var s="string";if(typeof i=="number"){s="float";i=String(i)}else if(i===true||i===false){s="boolean";i=i?"1":"0"}else i=String(i);n.push(It(ot(r),i,{"dt:dt":s}))});if(r)ir(r).forEach(function(t){if(!Object.prototype.hasOwnProperty.call(r,t))return;if(e&&Object.prototype.hasOwnProperty.call(e,t))return;var a=r[t];var i="string";if(typeof a=="number"){i="float";a=String(a)}else if(a===true||a===false){i="boolean";a=a?"1":"0"}else if(a instanceof Date){i="dateTime.tz";a=a.toISOString()}else a=String(a);n.push(It(ot(t),a,{"dt:dt":i}))});return"<"+a+' xmlns="'+Ut.o+'">'+n.join("")+"</"+a+">"}function Wi(e){var r=e._R(4),t=e._R(4);return new Date((t/1e7*Math.pow(2,32)+r/1e7-11644473600)*1e3).toISOString().replace(/\.000/,"")}function zi(e){var r=typeof e=="string"?new Date(Date.parse(e)):e;var t=r.getTime()/1e3+11644473600;var a=t%Math.pow(2,32),n=(t-a)/Math.pow(2,32);a*=1e7;n*=1e7;var i=a/Math.pow(2,32)|0;if(i>0){a=a%Math.pow(2,32);n+=i}var s=ya(8);s._W(4,a);s._W(4,n);return s}function Hi(e,r,t){var a=e.l;var n=e._R(0,"lpstr-cp");if(t)while(e.l-a&3)++e.l;return n}function Vi(e,r,t){var a=e._R(0,"lpwstr");if(t)e.l+=4-(a.length+1&3)&3;return a}function Xi(e,r,t){if(r===31)return Vi(e);return Hi(e,r,t)}function $i(e,r,t){return Xi(e,r,t===false?0:4)}function Gi(e,r){if(!r)throw new Error("VtUnalignedString must have positive length");return Xi(e,r,0)}function ji(e){var r=e._R(4);var t=[];for(var a=0;a!=r;++a){var n=e.l;t[a]=e._R(0,"lpwstr").replace(M,"");if(e.l-n&2)e.l+=2}return t}function Ki(e){var r=e._R(4);var t=[];for(var a=0;a!=r;++a)t[a]=e._R(0,"lpstr-cp").replace(M,"");return t}function Yi(e){var r=e.l;var t=es(e,jn);if(e[e.l]==0&&e[e.l+1]==0&&e.l-r&2)e.l+=2;var a=es(e,Mn);return[t,a]}function Zi(e){var r=e._R(4);var t=[];for(var a=0;a<r/2;++a)t.push(Yi(e));return t}function Ji(e,r){var t=e._R(4);var a={};for(var n=0;n!=t;++n){var i=e._R(4);var s=e._R(4);a[i]=e._R(s,r===1200?"utf16le":"utf8").replace(M,"").replace(U,"!");if(r===1200&&s%2)e.l+=2}if(e.l&3)e.l=e.l>>2+1<<2;return a}function qi(e){var r=e._R(4);var t=e.slice(e.l,e.l+r);e.l+=r;if((r&3)>0)e.l+=4-(r&3)&3;return t}function Qi(e){var r={};r.Size=e._R(4);e.l+=r.Size+3-(r.Size-1)%4;return r}function es(e,r,t){var a=e._R(2),n,i=t||{};e.l+=2;if(r!==Bn)if(a!==r&&Kn.indexOf(r)===-1&&!((r&65534)==4126&&(a&65534)==4126))throw new Error("Expected type "+r+" saw "+a);switch(r===Bn?a:r){case 2:n=e._R(2,"i");if(!i.raw)e.l+=2;return n;case 3:n=e._R(4,"i");return n;case 11:return e._R(4)!==0;case 19:n=e._R(4);return n;case 30:return Hi(e,a,4).replace(M,"");case 31:return Vi(e);case 64:return Wi(e);case 65:return qi(e);case 71:return Qi(e);case 80:return $i(e,a,!i.raw).replace(M,"");case 81:return Gi(e,a).replace(M,"");case 4108:return Zi(e);case 4126:;case 4127:return a==4127?ji(e):Ki(e);default:throw new Error("TypedPropertyValue unrecognized type "+r+" "+a);}}function rs(e,r){var t=ya(4),a=ya(4);t._W(4,e==80?31:e);switch(e){case 3:a._W(-4,r);break;case 5:a=ya(8);a._W(8,r,"f");break;case 11:a._W(4,r?1:0);break;case 64:a=zi(r);break;case 31:;case 80:a=ya(4+2*(r.length+1)+(r.length%2?0:2));a._W(4,r.length+1);a._W(0,r,"dbcs");while(a.l!=a.length)a._W(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+r);}return P([t,a])}function ts(e,r){var t=e.l;var a=e._R(4);var n=e._R(4);var i=[],s=0;var f=0;var o=-1,c={};for(s=0;s!=n;++s){var h=e._R(4);var u=e._R(4);i[s]=[h,u+t]}i.sort(function(e,r){return e[1]-r[1]});var d={};for(s=0;s!=n;++s){if(e.l!==i[s][1]){var v=true;if(s>0&&r)switch(r[i[s-1][0]].t){case 2:if(e.l+2===i[s][1]){e.l+=2;v=false}break;case 80:if(e.l<=i[s][1]){e.l=i[s][1];v=false}break;case 4108:if(e.l<=i[s][1]){e.l=i[s][1];v=false}break;}if((!r||s==0)&&e.l<=i[s][1]){v=false;e.l=i[s][1]}if(v)throw new Error("Read Error: Expected address "+i[s][1]+" at "+e.l+" :"+s)}if(r){if(i[s][0]==0&&i.length>s+1&&i[s][1]==i[s+1][1])continue;var p=r[i[s][0]];d[p.n]=es(e,p.t,{raw:true});if(p.p==="version")d[p.n]=String(d[p.n]>>16)+"."+("0000"+String(d[p.n]&65535)).slice(-4);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:l(f=d[p.n]>>>0&65535);break;default:throw new Error("Unsupported CodePage: "+d[p.n]);}}else{if(i[s][0]===1){f=d.CodePage=es(e,Ln);l(f);if(o!==-1){var m=e.l;e.l=i[o][1];c=Ji(e,f);e.l=m}}else if(i[s][0]===0){if(f===0){o=s;e.l=i[s+1][1];continue}c=Ji(e,f)}else{var g=c[i[s][0]];var b;switch(e[e.l]){case 65:e.l+=4;b=qi(e);break;case 30:e.l+=4;b=$i(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 31:e.l+=4;b=$i(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 3:e.l+=4;b=e._R(4,"i");break;case 19:e.l+=4;b=e._R(4);break;case 5:e.l+=4;b=e._R(8,"f");break;case 11:e.l+=4;b=hs(e,4);break;case 64:e.l+=4;b=wr(Wi(e));break;default:throw new Error("unparsed value: "+e[e.l]);}d[g]=b}}}e.l=t+a;return d}var as=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"];function ns(e){switch(typeof e){case"boolean":return 11;case"number":return(e|0)==e?3:5;case"string":return 31;case"object":if(e instanceof Date)return 64;break;}return-1}function is(e,r,t){var a=ya(8),n=[],i=[];var s=8,f=0;var l=ya(8),o=ya(8);l._W(4,2);l._W(4,1200);o._W(4,1);i.push(l);n.push(o);s+=8+l.length;if(!r){o=ya(8);o._W(4,0);n.unshift(o);var c=[ya(4)];c[0]._W(4,e.length);for(f=0;f<e.length;++f){var h=e[f][0];l=ya(4+4+2*(h.length+1)+(h.length%2?0:2));l._W(4,f+2);l._W(4,h.length+1);l._W(0,h,"dbcs");while(l.l!=l.length)l._W(1,0);c.push(l)}l=P(c);i.unshift(l);s+=8+l.length}for(f=0;f<e.length;++f){if(r&&!r[e[f][0]])continue;if(as.indexOf(e[f][0])>-1||xi.indexOf(e[f][0])>-1)continue;if(e[f][1]==null)continue;var u=e[f][1],d=0;if(r){d=+r[e[f][0]];var v=t[d];if(v.p=="version"&&typeof u=="string"){var p=u.split(".");u=(+p[0]<<16)+(+p[1]||0)}l=rs(v.t,u)}else{var m=ns(u);if(m==-1){m=31;u=String(u)}l=rs(m,u)}i.push(l);o=ya(8);o._W(4,!r?2+f:d);n.push(o);s+=8+l.length}var g=8*(i.length+1);for(f=0;f<i.length;++f){n[f]._W(4,g);g+=i[f].length}a._W(4,s);a._W(4,i.length);return P([a].concat(n).concat(i))}function ss(e,r,t){var a=e.content;if(!a)return{};Ta(a,0);var n,i,s,f,l=0;a.chk("feff","Byte Order: ");a._R(2);var o=a._R(4);var c=a._R(16);if(c!==Qe.utils.consts.HEADER_CLSID&&c!==t)throw new Error("Bad PropertySet CLSID "+c);n=a._R(4);if(n!==1&&n!==2)throw new Error("Unrecognized #Sets: "+n);i=a._R(16);f=a._R(4);if(n===1&&f!==a.l)throw new Error("Length mismatch: "+f+" !== "+a.l);else if(n===2){s=a._R(16);l=a._R(4)}var h=ts(a,r);var u={SystemIdentifier:o};for(var d in h)u[d]=h[d];u.FMTID=i;if(n===1)return u;if(l-a.l==2)a.l+=2;if(a.l!==l)throw new Error("Length mismatch 2: "+a.l+" !== "+l);var v;try{v=ts(a,null)}catch(p){}for(d in v)u[d]=v[d];u.FMTID=[i,s];return u}function fs(e,r,t,a,n,i){var s=ya(n?68:48);var f=[s];s._W(2,65534);s._W(2,0);s._W(4,842412599);s._W(16,Qe.utils.consts.HEADER_CLSID,"hex");s._W(4,n?2:1);s._W(16,r,"hex");s._W(4,n?68:48);var l=is(e,t,a);f.push(l);if(n){var o=is(n,null,null);s._W(16,i,"hex");s._W(4,68+l.length);f.push(o)}return P(f)}function ls(e,r){e._R(r);return null}function os(e,r){if(!r)r=ya(e);for(var t=0;t<e;++t)r._W(1,0);return r}function cs(e,r,t){var a=[],n=e.l+r;while(e.l<n)a.push(t(e,n-e.l));if(n!==e.l)throw new Error("Slurp error");return a}function hs(e,r){return e._R(r)===1}function us(e,r){if(!r)r=ya(2);r._W(2,+!!e);return r}function ds(e){return e._R(2,"u")}function vs(e,r){if(!r)r=ya(2);r._W(2,e);return r}function ps(e,r){return cs(e,r,ds)}function ms(e){var r=e._R(1),t=e._R(1);return t===1?r:r===1}function gs(e,r,t){if(!t)t=ya(2);t._W(1,r=="e"?+e:+!!e);t._W(1,r=="e"?1:0);return t}function bs(e,t,a){var n=e._R(a&&a.biff>=12?2:1);var i="sbcs-cont";var s=r;if(a&&a.biff>=8)r=1200;if(!a||a.biff==8){var f=e._R(1);if(f){i="dbcs-cont"}}else if(a.biff==12){i="wstr"}if(a.biff>=2&&a.biff<=5)i="cpstr";var l=n?e._R(n,i):"";r=s;return l}function ws(e){var t=r;r=1200;var a=e._R(2),n=e._R(1);var i=n&4,s=n&8;var f=1+(n&1);var l=0,o;var c={};if(s)l=e._R(2);if(i)o=e._R(4);var h=f==2?"dbcs-cont":"sbcs-cont";var u=a===0?"":e._R(a,h);if(s)e.l+=4*l;if(i)e.l+=o;c.t=u;if(!s){c.raw="<t>"+c.t+"</t>";c.r=c.t}r=t;return c}function ks(e){var r=e.t||"",t=1;var a=ya(3+(t>1?2:0));a._W(2,r.length);a._W(1,(t>1?8:0)|1);if(t>1)a._W(2,t);var n=ya(2*r.length);n._W(2*r.length,r,"utf16le");var i=[a,n];return P(i)}function Ts(e,r,t){var a;if(t){if(t.biff>=2&&t.biff<=5)return e._R(r,"cpstr");if(t.biff>=12)return e._R(r,"dbcs-cont")}var n=e._R(1);if(n===0){a=e._R(r,"sbcs-cont")}else{a=e._R(r,"dbcs-cont")}return a}function As(e,r,t){var a=e._R(t&&t.biff==2?1:2);if(a===0){e.l++;return""}return Ts(e,a,t)}function ys(e,r,t){if(t.biff>5)return As(e,r,t);var a=e._R(1);if(a===0){e.l++;return""}return e._R(a,t.biff<=4||!e.lens?"cpstr":"sbcs-cont")}function Es(e,r,t){if(!t)t=ya(3+2*e.length);t._W(2,e.length);t._W(1,1);t._W(31,e,"utf16le");return t}function Cs(e){var r=e._R(1);e.l++;var t=e._R(2);e.l+=2;return[r,t]}function _s(e){var r=e._R(4),t=e.l;var a=false;if(r>24){e.l+=r-24;if(e._R(16)==="795881f43b1d7f48af2c825dc4852763")a=true;e.l=t}var n=e._R((a?r-24:r)>>1,"utf16le").replace(M,"");if(a)e.l+=24;return n}function Ss(e){var r=e._R(2);var t="";while(r-- >0)t+="../";var a=e._R(0,"lpstr-ansi");e.l+=2;if(e._R(2)!=57005)throw new Error("Bad FileMoniker");var n=e._R(4);if(n===0)return t+a.replace(/\\/g,"/");var i=e._R(4);if(e._R(2)!=3)throw new Error("Bad FileMoniker");var s=e._R(i>>1,"utf16le").replace(M,"");return t+s}function xs(e,r){var t=e._R(16);r-=16;switch(t){case"e0c9ea79f9bace118c8200aa004ba90b":return _s(e,r);case"0303000000000000c000000000000046":return Ss(e,r);default:throw new Error("Unsupported Moniker "+t);}}function Os(e){var r=e._R(4);var t=r>0?e._R(r,"utf16le").replace(M,""):"";return t}function Rs(e,r){if(!r)r=ya(6+e.length*2);r._W(4,1+e.length);for(var t=0;t<e.length;++t)r._W(2,e.charCodeAt(t));r._W(2,0);return r}function Is(e,r){var t=e.l+r;var a=e._R(4);if(a!==2)throw new Error("Unrecognized streamVersion: "+a);var n=e._R(2);e.l+=2;var i,s,f,l,o="",c,h;if(n&16)i=Os(e,t-e.l);if(n&128)s=Os(e,t-e.l);if((n&257)===257)f=Os(e,t-e.l);if((n&257)===1)l=xs(e,t-e.l);if(n&8)o=Os(e,t-e.l);if(n&32)c=e._R(16);if(n&64)h=Wi(e);e.l=t;var u=s||f||l||"";if(u&&o)u+="#"+o;if(!u)u="#"+o;if(n&2&&u.charAt(0)=="/"&&u.charAt(1)!="/")u="file://"+u;var d={Target:u};if(c)d.guid=c;if(h)d.time=h;if(i)d.Tooltip=i;return d}function Ns(e){var r=ya(512),t=0;var a=e.Target;if(a.slice(0,7)=="file://")a=a.slice(7);var n=a.indexOf("#");var i=n>-1?31:23;switch(a.charAt(0)){case"#":i=28;break;case".":i&=~2;break;}r._W(4,2);r._W(4,i);var s=[8,6815827,6619237,4849780,83];for(t=0;t<s.length;++t)r._W(4,s[t]);if(i==28){a=a.slice(1);Rs(a,r)}else if(i&2){s="e0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" ");for(t=0;t<s.length;++t)r._W(1,parseInt(s[t],16));var f=n>-1?a.slice(0,n):a;r._W(4,2*(f.length+1));for(t=0;t<f.length;++t)r._W(2,f.charCodeAt(t));r._W(2,0);if(i&8)Rs(n>-1?a.slice(n+1):"",r)}else{s="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" ");for(t=0;t<s.length;++t)r._W(1,parseInt(s[t],16));var l=0;while(a.slice(l*3,l*3+3)=="../"||a.slice(l*3,l*3+3)=="..\\")++l;r._W(2,l);r._W(4,a.length-3*l+1);for(t=0;t<a.length-3*l;++t)r._W(1,a.charCodeAt(t+3*l)&255);r._W(1,0);r._W(2,65535);r._W(2,57005);for(t=0;t<6;++t)r._W(4,0)}return r.slice(0,r.l)}function Fs(e){var r=e._R(1),t=e._R(1),a=e._R(1),n=e._R(1);return[r,t,a,n]}function Ds(e,r){var t=Fs(e,r);t[3]=0;return t}function Ps(e,r,t){var a=e._R(2);var n=e._R(2);var i={r:a,c:n,ixfe:0};if(t&&t.biff==2||r==7){var s=e._R(1);i.ixfe=s&63;e.l+=2}else i.ixfe=e._R(2);return i}function Ls(e,r,t,a){if(!a)a=ya(6);a._W(2,e);a._W(2,r);a._W(2,t||0);return a}function Ms(e){var r=e._R(2);var t=e._R(2);e.l+=8;return{type:r,flags:t}}function Us(e,r,t){return r===0?"":ys(e,r,t)}function Bs(e,r,t){var a=t.biff>8?4:2;var n=e._R(a),i=e._R(a,"i"),s=e._R(a,"i");return[n,i,s]}function Ws(e){var r=e._R(2);var t=Tn(e);return[r,t]}function zs(e,r,t){e.l+=4;r-=4;var a=e.l+r;var n=bs(e,r,t);var i=e._R(2);a-=e.l;if(i!==a)throw new Error("Malformed AddinUdf: padding = "+a+" != "+i);e.l+=i;return n}function Hs(e){var r=e._R(2);var t=e._R(2);var a=e._R(2);var n=e._R(2);return{s:{c:a,r:r},e:{c:n,r:t}}}function Vs(e,r){if(!r)r=ya(8);r._W(2,e.s.r);r._W(2,e.e.r);r._W(2,e.s.c);r._W(2,e.e.c);return r}function Xs(e){var r=e._R(2);var t=e._R(2);var a=e._R(1);var n=e._R(1);return{s:{c:a,r:r},e:{c:n,r:t}}}var $s=Xs;function Gs(e){e.l+=4;var r=e._R(2);var t=e._R(2);var a=e._R(2);e.l+=12;return[t,r,a]}function js(e){var r={};e.l+=4;e.l+=16;r.fSharedNote=e._R(2);e.l+=4;return r}function Ks(e){var r={};e.l+=4;e.cf=e._R(2);return r}function Ys(e){e.l+=2;e.l+=e._R(2)}var Zs={0:Ys,4:Ys,5:Ys,6:Ys,7:Ks,8:Ys,9:Ys,10:Ys,11:Ys,12:Ys,13:js,14:Ys,15:Ys,16:Ys,17:Ys,18:Ys,19:Ys,20:Ys,21:Gs};function Js(e,r){var t=e.l+r;var a=[];while(e.l<t){var n=e._R(2);e.l-=2;try{a[n]=Zs[n](e,t-e.l)}catch(i){e.l=t;return a}}if(e.l!=t)e.l=t;return a}function qs(e,r){var t={BIFFVer:0,dt:0};t.BIFFVer=e._R(2);r-=2;if(r>=2){t.dt=e._R(2);e.l-=2}switch(t.BIFFVer){case 1536:;case 1280:;case 1024:;case 768:;case 512:;case 2:;case 7:break;default:if(r>6)throw new Error("Unexpected BIFF Ver "+t.BIFFVer);}e._R(r);return t}function Qs(e,r,t){var a=1536,n=16;switch(t.bookType){case"biff8":break;case"biff5":a=1280;n=8;break;case"biff4":a=4;n=6;break;case"biff3":a=3;n=6;break;case"biff2":a=2;n=4;break;case"xla":break;default:throw new Error("unsupported BIFF version");}var i=ya(n);i._W(2,a);i._W(2,r);if(n>4)i._W(2,29282);if(n>6)i._W(2,1997);if(n>8){i._W(2,49161);i._W(2,1);i._W(2,1798);i._W(2,0)}return i}function ef(e,r){if(r===0)return 1200;if(e._R(2)!==1200){}return 1200}function rf(e,r,t){if(t.enc){e.l+=r;return""}var a=e.l;var n=ys(e,0,t);e._R(r+a-e.l);return n}function tf(e,r){var t=!r||r.biff==8;var a=ya(t?112:54);a._W(r.biff==8?2:1,7);if(t)a._W(1,0);a._W(4,859007059);a._W(4,5458548|(t?0:536870912));while(a.l<a.length)a._W(1,t?0:32);return a}function af(e,r,t){var a=t&&t.biff==8||r==2?e._R(2):(e.l+=r,0);return{fDialog:a&16,fBelow:a&64,fRight:a&128}}function nf(e,r,t){var a="";if(t.biff==4){a=bs(e,0,t);if(a.length===0)a="Sheet1";return{name:a}}var n=e._R(4);var i=e._R(1)&3;var s=e._R(1);switch(s){case 0:s="Worksheet";break;case 1:s="Macrosheet";break;case 2:s="Chartsheet";break;case 6:s="VBAModule";break;}a=bs(e,0,t);if(a.length===0)a="Sheet1";return{pos:n,hs:i,dt:s,name:a}}function sf(e,r){var t=!r||r.biff>=8?2:1;var a=ya(8+t*e.name.length);a._W(4,e.pos);a._W(1,e.hs||0);a._W(1,e.dt);a._W(1,e.name.length);if(r.biff>=8)a._W(1,1);a._W(t*e.name.length,e.name,r.biff<8?"sbcs":"utf16le");var n=a.slice(0,a.l);n.l=a.l;return n}function ff(e,r){var t=e.l+r;var a=e._R(4);var n=e._R(4);var i=[];for(var s=0;s!=n&&e.l<t;++s){i.push(ws(e))}i.Count=a;i.Unique=n;return i}function lf(e,r){var t=ya(8);t._W(4,e.Count);t._W(4,e.Unique);var a=[];for(var n=0;n<e.length;++n)a[n]=ks(e[n],r);var i=P([t].concat(a));i.parts=[t.length].concat(a.map(function(e){return e.length}));return i}function of(e,r){var t={};t.dsst=e._R(2);e.l+=r-2;return t}function cf(e){var r={};r.r=e._R(2);r.c=e._R(2);r.cnt=e._R(2)-r.c;var t=e._R(2);e.l+=4;var a=e._R(1);e.l+=3;if(a&7)r.level=a&7;if(a&32)r.hidden=true;if(a&64)r.hpt=t/20;return r}function hf(e){var r=Ms(e);if(r.type!=2211)throw new Error("Invalid Future Record "+r.type);var t=e._R(4);return t!==0}function uf(e){e._R(2);return e._R(4)}function df(e,r,t){var a=0;if(!(t&&t.biff==2)){a=e._R(2)}var n=e._R(2);if(t&&t.biff==2){a=1-(n>>15);n&=32767}var i={Unsynced:a&1,DyZero:(a&2)>>1,ExAsc:(a&4)>>2,ExDsc:(a&8)>>3};return[i,n]}function vf(e){var r=e._R(2),t=e._R(2),a=e._R(2),n=e._R(2);var i=e._R(2),s=e._R(2),f=e._R(2);var l=e._R(2),o=e._R(2);return{Pos:[r,t],Dim:[a,n],Flags:i,CurTab:s,FirstTab:f,Selected:l,TabRatio:o}}function pf(){var e=ya(18);e._W(2,0);e._W(2,0);e._W(2,29280);e._W(2,17600);e._W(2,56);e._W(2,0);e._W(2,0);e._W(2,1);e._W(2,500);return e}function mf(e,r,t){if(t&&t.biff>=2&&t.biff<5)return{};var a=e._R(2);return{RTL:a&64}}function gf(e){var r=ya(18),t=1718;if(e&&e.RTL)t|=64;r._W(2,t);r._W(4,0);r._W(4,64);r._W(4,0);r._W(4,0);return r}function bf(){}function wf(e,r,t){var a={dyHeight:e._R(2),fl:e._R(2)};switch(t&&t.biff||8){case 2:break;case 3:;case 4:e.l+=2;break;default:e.l+=10;break;}a.name=bs(e,0,t);return a}function kf(e,r){var t=e.name||"Arial";var a=r&&r.biff==5,n=a?15+t.length:16+2*t.length;var i=ya(n);i._W(2,(e.sz||12)*20);i._W(4,0);i._W(2,400);i._W(4,0);i._W(2,0);i._W(1,t.length);if(!a)i._W(1,1);i._W((a?1:2)*t.length,t,a?"sbcs":"utf16le");return i}function Tf(e,r,t){var a=Ps(e,r,t);a.isst=e._R(4);return a}function Af(e,r,t,a){var n=ya(10);Ls(e,r,a,n);n._W(4,t);return n}function yf(e,r,t){if(t.biffguess&&t.biff==2)t.biff=5;var a=e.l+r;var n=Ps(e,r,t);var i=As(e,a-e.l,t);n.val=i;return n}function Ef(e,r,t,a,n){var i=!n||n.biff==8;var s=ya(6+2+ +i+(1+i)*t.length);Ls(e,r,a,s);s._W(2,t.length);if(i)s._W(1,1);s._W((1+i)*t.length,t,i?"utf16le":"sbcs");return s}function Cf(e,r,t){var a=e._R(2);var n=ys(e,0,t);return[a,n]}function _f(e,r,t,a){var n=t&&t.biff==5;if(!a)a=ya(n?3+r.length:5+2*r.length);a._W(2,e);a._W(n?1:2,r.length);if(!n)a._W(1,1);a._W((n?1:2)*r.length,r,n?"sbcs":"utf16le");var i=a.length>a.l?a.slice(0,a.l):a;if(i.l==null)i.l=i.length;return i}var Sf=ys;function xf(e){var r=ya(1+e.length);r._W(1,e.length);r._W(e.length,e,"sbcs");return r}function Of(e){var r=ya(3+e.length);r.l+=2;r._W(1,e.length);r._W(e.length,e,"sbcs");return r}function Rf(e,r,t){var a=e.l+r;var n=t.biff==8||!t.biff?4:2;var i=e._R(n),s=e._R(n);var f=e._R(2),l=e._R(2);e.l=a;return{s:{r:i,c:f},e:{r:s,c:l}}}function If(e,r){var t=r.biff==8||!r.biff?4:2;var a=ya(2*t+6);a._W(t,e.s.r);a._W(t,e.e.r+1);a._W(2,e.s.c);a._W(2,e.e.c+1);a._W(2,0);return a}function Nf(e){var r=e._R(2),t=e._R(2);var a=Ws(e);return{r:r,c:t,ixfe:a[0],rknum:a[1]}}function Ff(e,r){var t=e.l+r-2;var a=e._R(2),n=e._R(2);var i=[];while(e.l<t)i.push(Ws(e));if(e.l!==t)throw new Error("MulRK read error");var s=e._R(2);if(i.length!=s-n+1)throw new Error("MulRK length mismatch");return{r:a,c:n,C:s,rkrec:i}}function Df(e,r){var t=e.l+r-2;var a=e._R(2),n=e._R(2);var i=[];while(e.l<t)i.push(e._R(2));if(e.l!==t)throw new Error("MulBlank read error");var s=e._R(2);if(i.length!=s-n+1)throw new Error("MulBlank length mismatch");return{r:a,c:n,C:s,ixfe:i}}function Pf(e,r,t,a){var n={};var i=e._R(4),s=e._R(4);var f=e._R(4),l=e._R(2);n.patternType=qn[f>>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=l&127;n.icvBack=l>>7&127;n.fsxButton=l>>14&1;return n}function Lf(e,r,t){var a={};a.ifnt=e._R(2);a.numFmtId=e._R(2);a.flags=e._R(2);a.fStyle=a.flags>>2&1;r-=6;a.data=Pf(e,r,a.fStyle,t);return a}function Mf(e,r,t,a){var n=t&&t.biff==5;if(!a)a=ya(n?16:20);a._W(2,0);if(e.style){a._W(2,e.numFmtId||0);a._W(2,65524)}else{a._W(2,e.numFmtId||0);a._W(2,r<<4)}var i=0;if(e.numFmtId>0&&n)i|=1024;a._W(4,i);a._W(4,0);if(!n)a._W(4,0);a._W(2,0);return a}function Uf(e){var r={};r.ifnt=e._R(1);e.l++;r.flags=e._R(1);r.numFmtId=r.flags&63;r.flags>>=6;r.fStyle=0;r.data={};return r}function Bf(e){var r=ya(4);r.l+=2;r._W(1,e.numFmtId);r.l++;return r}function Wf(e){var r=ya(12);r.l++;r._W(1,e.numFmtId);r.l+=10;return r}var zf=Wf;function Hf(e){var r={};r.ifnt=e._R(1);r.numFmtId=e._R(1);r.flags=e._R(2);r.fStyle=r.flags>>2&1;r.data={};return r}function Vf(e){var r={};r.ifnt=e._R(1);r.numFmtId=e._R(1);r.flags=e._R(2);r.fStyle=r.flags>>2&1;r.data={};return r}function Xf(e){e.l+=4;var r=[e._R(2),e._R(2)];if(r[0]!==0)r[0]--;if(r[1]!==0)r[1]--;if(r[0]>7||r[1]>7)throw new Error("Bad Gutters: "+r.join("|"));return r}function $f(e){var r=ya(8);r._W(4,0);r._W(2,e[0]?e[0]+1:0);r._W(2,e[1]?e[1]+1:0);return r}function Gf(e,r,t){var a=Ps(e,6,t);var n=ms(e,2);a.val=n;a.t=n===true||n===false?"b":"e";return a}function jf(e,r,t,a,n,i){var s=ya(8);Ls(e,r,a,s);gs(t,i,s);return s}function Kf(e,r,t){if(t.biffguess&&t.biff==2)t.biff=5;var a=Ps(e,6,t);var n=Sn(e,8);a.val=n;return a}function Yf(e,r,t,a){var n=ya(14);Ls(e,r,a,n);xn(t,n);return n}var Zf=Us;function Jf(e,r,t){var a=e.l+r;var n=e._R(2);var i=e._R(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=Ts(e,i);var f=[];while(a>e.l)f.push(As(e));return[i,n,s,f]}function qf(e,r,t){var a=e._R(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=zs(e,r-2,t);i.body=n||e._R(r-2);if(typeof n==="string")i.Name=n;return i}function Qf(e,r,t){var a=e.l+r;var n=e._R(2);var i=e._R(1);var s=e._R(1);var f=e._R(t&&t.biff==2?1:2);var l=0;if(!t||t.biff>=5){if(t.biff!=5)e.l+=2;l=e._R(2);if(t.biff==5)e.l+=2;e.l+=4}var o=Ts(e,s,t);if(n&32)o=ni[o.charCodeAt(0)];var c=a-e.l;if(t&&t.biff==2)--c;var h=a==e.l||f===0||!(c>0)?[]:Wd(e,c,t,f);return{chKey:i,Name:o,itab:l,rgce:h}}function el(e,r,t){if(t.biff<8)return rl(e,r,t);if(!(t.biff>8)&&r==e[e.l]+(e[e.l+1]==3?1:0)+1)return rl(e,r,t);var a=[],n=e.l+r,i=e._R(t.biff>8?4:2);while(i--!==0)a.push(Bs(e,t.biff>8?12:6,t));if(e.l!=n)throw new Error("Bad ExternSheet: "+e.l+" != "+n);return a}function rl(e,r,t){if(e[e.l+1]==3)e[e.l]++;var a=bs(e,r,t);return a.charCodeAt(0)==3?a.slice(1):a}function tl(e,r,t){if(t.biff<8){e.l+=r;return}var a=e._R(2);var n=e._R(2);var i=Ts(e,a,t);var s=Ts(e,n,t);return[i,s]}function al(e,r,t){var a=Xs(e,6);e.l++;var n=e._R(1);r-=8;return[zd(e,r,t),n,a]}function nl(e,r,t){var a=$s(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,Ud(e,r,t,a)]}function il(e){var r=e._R(4)!==0;var t=e._R(4)!==0;var a=e._R(4);return[r,t,a]}function sl(e,r,t){var a=e._R(2),n=e._R(2);var i=e._R(2),s=e._R(2);var f=ys(e,0,t);return[{r:a,c:n},f,s,i]}function fl(e,r,t){if(t&&t.biff<8){var a=e._R(2),n=e._R(2);if(a==65535||a==-1)return;var i=e._R(2);var s=e._R(Math.min(i,2048),"cpstr");return[{r:a,c:n},s]}return sl(e,r,t)}function ll(e,r,t,a){var n=ya(6+(a||e.length));n._W(2,r);n._W(2,t);n._W(2,a||e.length);n._W(e.length,e,"sbcs");return n}function ol(e,r){var t=[];var a=e._R(2);while(a--)t.push(Hs(e,r));return t}function cl(e){var r=ya(2+e.length*8);r._W(2,e.length);for(var t=0;t<e.length;++t)Vs(e[t],r);return r}function hl(e,r,t){ -if(t&&t.biff<8)return dl(e,r,t);var a=Gs(e,22);var n=Js(e,r-22,a[1]);return{cmo:a,ft:n}}var ul={8:function(e,r){var t=e.l+r;e.l+=10;var a=e._R(2);e.l+=4;e.l+=2;e.l+=2;e.l+=2;e.l+=4;var n=e._R(1);e.l+=n;e.l=t;return{fmt:a}}};function dl(e,r,t){e.l+=4;var a=e._R(2);var n=e._R(2);var i=e._R(2);e.l+=2;e.l+=2;e.l+=2;e.l+=2;e.l+=2;e.l+=2;e.l+=2;e.l+=2;e.l+=2;e.l+=6;r-=36;var s=[];s.push((ul[a]||Aa)(e,r,t));return{cmo:[n,a,i],ft:s}}function vl(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=Cs(e,6,t);var f=e._R(2);e._R(2);ds(e,2);var l=e._R(2);e.l+=l;for(var o=1;o<e.lens.length-1;++o){if(e.l-a!=e.lens[o])throw new Error("TxO: bad continue record");var c=e[e.l];var h=Ts(e,e.lens[o+1]-e.lens[o]-1);n+=h;if(n.length>=(c?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(u){e.l=a+r;return{t:n}}}function pl(e,r){var t=Hs(e,8);e.l+=16;var a=Is(e,r-24);return[t,a]}function ml(e){var r=ya(24);var t=Wa(e[0]);r._W(2,t.r);r._W(2,t.r);r._W(2,t.c);r._W(2,t.c);var a="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" ");for(var n=0;n<16;++n)r._W(1,parseInt(a[n],16));return P([r,Ns(e[1])])}function gl(e,r){e._R(2);var t=Hs(e,8);var a=e._R((r-10)/2,"dbcs-cont");a=a.replace(M,"");return[t,a]}function bl(e){var r=e[1].Tooltip;var t=ya(10+2*(r.length+1));t._W(2,2048);var a=Wa(e[0]);t._W(2,a.r);t._W(2,a.r);t._W(2,a.c);t._W(2,a.c);for(var n=0;n<r.length;++n)t._W(2,r.charCodeAt(n));t._W(2,0);return t}function wl(e){var r=[0,0],t;t=e._R(2);r[0]=Jn[t]||t;t=e._R(2);r[1]=Jn[t]||t;return r}function kl(e){if(!e)e=ya(4);e._W(2,1);e._W(2,1);return e}function Tl(e){var r=e._R(2);var t=[];while(r-- >0)t.push(Ds(e,8));return t}function Al(e){var r=e._R(2);var t=[];while(r-- >0)t.push(Ds(e,8));return t}function yl(e){e.l+=2;var r={cxfs:0,crc:0};r.cxfs=e._R(2);r.crc=e._R(4);return r}function El(e,r,t){if(!t.cellStyles)return Aa(e,r);var a=t&&t.biff>=12?4:2;var n=e._R(a);var i=e._R(a);var s=e._R(a);var f=e._R(a);var l=e._R(2);if(a==2)e.l+=2;var o={s:n,e:i,w:s,ixfe:f,flags:l};if(t.biff>=5||!t.biff)o.level=l>>8&7;return o}function Cl(e,r){var t=ya(12);t._W(2,r);t._W(2,r);t._W(2,e.width*256);t._W(2,0);var a=0;if(e.hidden)a|=1;t._W(1,a);a=e.level||0;t._W(1,a);t._W(2,0);return t}function _l(e,r){var t={};if(r<32)return t;e.l+=16;t.header=Sn(e,8);t.footer=Sn(e,8);e.l+=2;return t}function Sl(e,r,t){var a={area:false};if(t.biff!=5){e.l+=r;return a}var n=e._R(1);e.l+=3;if(n&16)a.area=true;return a}function xl(e){var r=ya(2*e);for(var t=0;t<e;++t)r._W(2,t+1);return r}var Ol=Ps;var Rl=ps;var Il=As;function Nl(e){var r=e._R(2);var t=e._R(2);var a=e._R(4);var n={fmt:r,env:t,len:a,data:e.slice(e.l,e.l+a)};e.l+=a;return n}function Fl(e,r,t,a,n){if(!e)e=ya(7);e._W(2,r);e._W(2,t);e._W(1,a||0);e._W(1,n||0);e._W(1,0);return e}function Dl(e,r,t){if(t.biffguess&&t.biff==5)t.biff=2;var a=Ps(e,7,t);var n=ys(e,r-7,t);a.t="str";a.val=n;return a}function Pl(e,r,t){var a=Ps(e,7,t);var n=Sn(e,8);a.t="n";a.val=n;return a}function Ll(e,r,t,a,n){var i=ya(15);Fl(i,e,r,a||0,n||0);i._W(8,t,"f");return i}function Ml(e,r,t){var a=Ps(e,7,t);var n=e._R(2);a.t="n";a.val=n;return a}function Ul(e,r,t,a,n){var i=ya(9);Fl(i,e,r,a||0,n||0);i._W(2,t);return i}function Bl(e){var r=e._R(1);if(r===0){e.l++;return""}return e._R(r,"sbcs-cont")}function Wl(e,r,t){var a=e.l+7;var n=Ps(e,6,t);e.l=a;var i=ms(e,2);n.val=i;n.t=i===true||i===false?"b":"e";return n}function zl(e,r){e.l+=6;e.l+=2;e.l+=1;e.l+=3;e.l+=1;e.l+=r-13}function Hl(e,r,t){var a=e.l+r;var n=Ps(e,6,t);var i=e._R(2);var s=Ts(e,i,t);e.l=a;n.t="str";n.val=s;return n}function Vl(e){var r=e._R(4);var t=e._R(1),a=e._R(t,"sbcs");if(a.length===0)a="Sheet1";return{flags:r,name:a}}var Xl=[2,3,48,49,131,139,140,245];var $l=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,108:863,134:737,135:852,136:857,204:1257,255:16969};var n=fr({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});function i(r,t){var n=[];var i=x(1);switch(t.type){case"base64":i=R(E(r));break;case"binary":i=R(r);break;case"buffer":;case"array":i=r;break;}Ta(i,0);var s=i._R(1);var f=!!(s&136);var l=false,o=false;switch(s){case 2:break;case 3:break;case 48:l=true;f=true;break;case 49:l=true;f=true;break;case 131:break;case 139:break;case 140:o=true;break;case 245:break;default:throw new Error("DBF Unsupported Version: "+s.toString(16));}var c=0,h=521;if(s==2)c=i._R(2);i.l+=3;if(s!=2)c=i._R(4);if(c>1048576)c=1e6;if(s!=2)h=i._R(2);var u=i._R(2);var d=t.codepage||1252;if(s!=2){i.l+=16;i._R(1);if(i[i.l]!==0)d=e[i[i.l]];i.l+=1;i.l+=2}if(o)i.l+=36;var v=[],p={};var m=Math.min(i.length,s==2?521:h-10-(l?264:0));var g=o?32:11;while(i.l<m&&i[i.l]!=13){p={};p.name=(typeof a!=="undefined"?a.utils.decode(d,i.slice(i.l,i.l+g)):N(i.slice(i.l,i.l+g))).replace(/[\u0000\r\n].*$/g,"");i.l+=g;p.type=String.fromCharCode(i._R(1));if(s!=2&&!o)p.offset=i._R(4);p.len=i._R(1);if(s==2)p.offset=i._R(2);p.dec=i._R(1);if(p.name.length)v.push(p);if(s!=2)i.l+=o?13:14;switch(p.type){case"B":if((!l||p.len!=8)&&t.WTF)console.log("Skipping "+p.name+":"+p.type);break;case"G":;case"P":if(t.WTF)console.log("Skipping "+p.name+":"+p.type);break;case"+":;case"0":;case"@":;case"C":;case"D":;case"F":;case"I":;case"L":;case"M":;case"N":;case"O":;case"T":;case"Y":break;default:throw new Error("Unknown Field Type: "+p.type);}}if(i[i.l]!==13)i.l=h-1;if(i._R(1)!==13)throw new Error("DBF Terminator not found "+i.l+" "+i[i.l]);i.l=h;var b=0,w=0;n[0]=[];for(w=0;w!=v.length;++w)n[0][w]=v[w].name;while(c-- >0){if(i[i.l]===42){i.l+=u;continue}++i.l;n[++b]=[];w=0;for(w=0;w!=v.length;++w){var k=i.slice(i.l,i.l+v[w].len);i.l+=v[w].len;Ta(k,0);var T=typeof a!=="undefined"?a.utils.decode(d,k):N(k);switch(v[w].type){case"C":if(T.trim().length)n[b][w]=T.replace(/\s+$/,"");break;case"D":if(T.length===8){n[b][w]=new Date(Date.UTC(+T.slice(0,4),+T.slice(4,6)-1,+T.slice(6,8),0,0,0,0));if(!(t&&t.UTC)){n[b][w]=Fr(n[b][w])}}else n[b][w]=T;break;case"F":n[b][w]=parseFloat(T.trim());break;case"+":;case"I":n[b][w]=o?k._R(-4,"i")^2147483648:k._R(4,"i");break;case"L":switch(T.trim().toUpperCase()){case"Y":;case"T":n[b][w]=true;break;case"N":;case"F":n[b][w]=false;break;case"":;case"\0":;case"?":break;default:throw new Error("DBF Unrecognized L:|"+T+"|");}break;case"M":if(!f)throw new Error("DBF Unexpected MEMO for type "+s.toString(16));n[b][w]="##MEMO##"+(o?parseInt(T.trim(),10):k._R(4));break;case"N":T=T.replace(/\u0000/g,"").trim();if(T&&T!=".")n[b][w]=+T||0;break;case"@":n[b][w]=new Date(k._R(-8,"f")-621356832e5);break;case"T":{var A=k._R(4),y=k._R(4);if(A==0&&y==0)break;n[b][w]=new Date((A-2440588)*864e5+y);if(!(t&&t.UTC))n[b][w]=Fr(n[b][w])}break;case"Y":n[b][w]=k._R(4,"i")/1e4+k._R(4,"i")/1e4*Math.pow(2,32);break;case"O":n[b][w]=-k._R(-8,"f");break;case"B":if(l&&v[w].len==8){n[b][w]=k._R(8,"f");break};case"G":;case"P":k.l+=v[w].len;break;case"0":if(v[w].name==="_NullFlags")break;default:throw new Error("DBF Unsupported data type "+v[w].type);}}}if(s!=2)if(i.l<i.length&&i[i.l++]!=26)throw new Error("DBF EOF Marker missing "+(i.l-1)+" of "+i.length+" "+i[i.l-1].toString(16));if(t&&t.sheetRows)n=n.slice(0,t.sheetRows);t.DBF=v;return n}function s(e,r){var t=r||{};if(!t.dateNF)t.dateNF="yyyymmdd";var a=qa(i(e,t),t);a["!cols"]=t.DBF.map(function(e){return{wch:e.len,DBF:e}});delete t.DBF;return a}function f(e,r){try{var t=Ya(s(e,r),r);t.bookType="dbf";return t}catch(a){if(r&&r.WTF)throw a}return{SheetNames:[],Sheets:{}}}var o={B:8,C:250,L:1,D:8,"?":0,"":0};function c(i,s){if(!i["!ref"])throw new Error("Cannot export empty sheet to DBF");var f=s||{};var c=r;if(+f.codepage>=0)l(+f.codepage);if(f.type=="string")throw new Error("Cannot write DBF to JS string");var h=Ca();var u=Mk(i,{header:1,raw:true,cellDates:true});var d=u[0],v=u.slice(1),p=i["!cols"]||[];var m=0,g=0,b=0,w=1;for(m=0;m<d.length;++m){if(((p[m]||{}).DBF||{}).name){d[m]=p[m].DBF.name;++b;continue}if(d[m]==null)continue;++b;if(typeof d[m]==="number")d[m]=d[m].toString(10);if(typeof d[m]!=="string")throw new Error("DBF Invalid column name "+d[m]+" |"+typeof d[m]+"|");if(d.indexOf(d[m])!==m)for(g=0;g<1024;++g)if(d.indexOf(d[m]+"_"+g)==-1){d[m]+="_"+g;break}}var k=Ga(i["!ref"]);var T=[];var A=[];var y=[];for(m=0;m<=k.e.c-k.s.c;++m){var E="",C="",_=0;var S=[];for(g=0;g<v.length;++g){if(v[g][m]!=null)S.push(v[g][m])}if(S.length==0||d[m]==null){T[m]="?";continue}for(g=0;g<S.length;++g){switch(typeof S[g]){case"number":C="B";break;case"string":C="C";break;case"boolean":C="L";break;case"object":C=S[g]instanceof Date?"D":"C";break;default:C="C";}_=Math.max(_,(typeof a!=="undefined"&&typeof S[g]=="string"?a.utils.encode(t,S[g]):String(S[g])).length);E=E&&E!=C?"C":C}if(_>250)_=250;C=((p[m]||{}).DBF||{}).type;if(C=="C"){if(p[m].DBF.len>_)_=p[m].DBF.len}if(E=="B"&&C=="N"){E="N";y[m]=p[m].DBF.dec;_=p[m].DBF.len}A[m]=E=="C"||C=="N"?_:o[E]||0;w+=A[m];T[m]=E}var x=h.next(32);x._W(4,318902576);x._W(4,v.length);x._W(2,296+32*b);x._W(2,w);for(m=0;m<4;++m)x._W(4,0);var O=+n[r]||3;x._W(4,0|O<<8);if(e[O]!=+f.codepage){if(f.codepage)console.error("DBF Unsupported codepage "+r+", using 1252");r=1252}for(m=0,g=0;m<d.length;++m){if(d[m]==null)continue;var R=h.next(32);var I=(d[m].slice(-10)+"\0\0\0\0\0\0\0\0\0\0\0").slice(0,11);R._W(1,I,"sbcs");R._W(1,T[m]=="?"?"C":T[m],"sbcs");R._W(4,g);R._W(1,A[m]||o[T[m]]||0);R._W(1,y[m]||0);R._W(1,2);R._W(4,0);R._W(1,0);R._W(4,0);R._W(4,0);g+=A[m]||o[T[m]]||0}var N=h.next(264);N._W(4,13);for(m=0;m<65;++m)N._W(4,0);for(m=0;m<v.length;++m){var F=h.next(w);F._W(1,0);for(g=0;g<d.length;++g){if(d[g]==null)continue;switch(T[g]){case"L":F._W(1,v[m][g]==null?63:v[m][g]?84:70);break;case"B":F._W(8,v[m][g]||0,"f");break;case"N":var D="0";if(typeof v[m][g]=="number")D=v[m][g].toFixed(y[g]||0);if(D.length>A[g])D=D.slice(0,A[g]);for(b=0;b<A[g]-D.length;++b)F._W(1,32);F._W(1,D,"sbcs");break;case"D":if(!v[m][g])F._W(8,"00000000","sbcs");else{F._W(4,("0000"+v[m][g].getFullYear()).slice(-4),"sbcs");F._W(2,("00"+(v[m][g].getMonth()+1)).slice(-2),"sbcs");F._W(2,("00"+v[m][g].getDate()).slice(-2),"sbcs")}break;case"C":var P=F.l;var L=String(v[m][g]!=null?v[m][g]:"").slice(0,A[g]);F._W(1,L,"cpstr");P+=A[g]-F.l;for(b=0;b<P;++b)F._W(1,32);break;}}}r=c;h.next(1)._W(1,26);return h.end()}return{to_workbook:f,to_sheet:s,from_sheet:c}}();var Gl=function(){var e={AA:"À",BA:"Á",CA:"Â",DA:195,HA:"Ä",JA:197,AE:"È",BE:"É",CE:"Ê",HE:"Ë",AI:"Ì",BI:"Í",CI:"Î",HI:"Ï",AO:"Ò",BO:"Ó",CO:"Ô",DO:213,HO:"Ö",AU:"Ù",BU:"Ú",CU:"Û",HU:"Ü",Aa:"à",Ba:"á",Ca:"â",Da:227,Ha:"ä",Ja:229,Ae:"è",Be:"é",Ce:"ê",He:"ë",Ai:"ì",Bi:"í",Ci:"î",Hi:"ï",Ao:"ò",Bo:"ó",Co:"ô",Do:245,Ho:"ö",Au:"ù",Bu:"ú",Cu:"û",Hu:"ü",KC:"Ç",Kc:"ç",q:"æ",z:"œ",a:"Æ",j:"Œ",DN:209,Dn:241,Hy:255,S:169,c:170,R:174,"B ":180,0:176,1:177,2:178,3:179,5:181,6:182,7:183,Q:185,k:186,b:208,i:216,l:222,s:240,y:248,"!":161,'"':162,"#":163,"(":164,"%":165,"'":167,"H ":168,"+":171,";":187,"<":188,"=":189,">":190,"?":191,"{":223};var r=new RegExp("N("+ir(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1").replace("{","\\{")+"|\\|)","gm");try{r=new RegExp("N("+ir(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm")}catch(t){}var n=function(r,t){var a=e[t];return typeof a=="number"?m(a):a};var i=function(e,r,t){var a=r.charCodeAt(0)-32<<4|t.charCodeAt(0)-48;return a==59?e:m(a)};e["|"]=254;var s=function(e){return e.replace(/\n/g," :").replace(/\r/g," =")};function f(e,r){switch(r.type){case"base64":return o(E(e),r);case"binary":return o(e,r);case"buffer":return o(C&&Buffer.isBuffer(e)?e.toString("binary"):N(e),r);case"array":return o(kr(e),r);}throw new Error("Unrecognized type "+r.type)}function o(e,t){var s=e.split(/[\n\r]+/),f=-1,o=-1,c=0,h=0,u=[];var d=[];var v=null;var p={},m=[],g=[],b=[];var w=0,k;var T={Workbook:{WBProps:{},Names:[]}};if(+t.codepage>=0)l(+t.codepage);for(;c!==s.length;++c){w=0;var A=s[c].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,i).replace(r,n);var y=A.replace(/;;/g,"\0").split(";").map(function(e){return e.replace(/\u0000/g,";")});var E=y[0],C;if(A.length>0)switch(E){case"ID":break;case"E":break;case"B":break;case"O":for(h=1;h<y.length;++h)switch(y[h].charAt(0)){case"V":{var _=parseInt(y[h].slice(1),10);if(_>=1&&_<=4)T.Workbook.WBProps.date1904=true}break;}break;case"W":break;case"P":switch(y[1].charAt(0)){case"P":d.push(A.slice(3).replace(/;;/g,";"));break;}break;case"NN":{var S={Sheet:0};for(h=1;h<y.length;++h)switch(y[h].charAt(0)){case"N":S.Name=y[h].slice(1);break;case"E":S.Ref=(t&&t.sheet||"Sheet1")+"!"+ru(y[h].slice(1));break;}T.Workbook.Names.push(S)}break;case"C":var x=false,O=false,R=false,I=false,N=-1,F=-1,D="",P="z";var L="";for(h=1;h<y.length;++h)switch(y[h].charAt(0)){case"A":L=y[h].slice(1);break;case"X":o=parseInt(y[h].slice(1),10)-1;O=true;break;case"Y":f=parseInt(y[h].slice(1),10)-1;if(!O)o=0;for(k=u.length;k<=f;++k)u[k]=[];break;case"K":C=y[h].slice(1);if(C.charAt(0)==='"'){C=C.slice(1,C.length-1);P="s"}else if(C==="TRUE"||C==="FALSE"){C=C==="TRUE";P="b"}else if(!isNaN(yr(C))){C=yr(C);P="n";if(v!==null&&Le(v)&&t.cellDates){C=vr(T.Workbook.WBProps.date1904?C+1462:C);P=typeof C=="number"?"n":"d"}}if(typeof a!=="undefined"&&typeof C=="string"&&(t||{}).type!="string"&&(t||{}).codepage)C=a.utils.decode(t.codepage,C);x=true;break;case"E":I=true;D=ru(y[h].slice(1),{r:f,c:o});break;case"S":R=true;break;case"G":break;case"R":N=parseInt(y[h].slice(1),10)-1;break;case"C":F=parseInt(y[h].slice(1),10)-1;break;default:if(t&&t.WTF)throw new Error("SYLK bad record "+A);}if(x){if(!u[f][o])u[f][o]={t:P,v:C};else{u[f][o].t=P;u[f][o].v=C}if(v)u[f][o].z=v;if(t.cellText!==false&&v)u[f][o].w=ze(u[f][o].z,u[f][o].v,{date1904:T.Workbook.WBProps.date1904});v=null}if(R){if(I)throw new Error("SYLK shared formula cannot have own formula");var M=N>-1&&u[N][F];if(!M||!M[1])throw new Error("SYLK shared formula cannot find base");D=iu(M[1],{r:f-N,c:o-F})}if(D){if(!u[f][o])u[f][o]={t:"n",f:D};else u[f][o].f=D}if(L){if(!u[f][o])u[f][o]={t:"z"};u[f][o].c=[{a:"SheetJSYLK",t:L}]}break;case"F":var U=0;for(h=1;h<y.length;++h)switch(y[h].charAt(0)){case"X":o=parseInt(y[h].slice(1),10)-1;++U;break;case"Y":f=parseInt(y[h].slice(1),10)-1;for(k=u.length;k<=f;++k)u[k]=[];break;case"M":w=parseInt(y[h].slice(1),10)/20;break;case"F":break;case"G":break;case"P":v=d[parseInt(y[h].slice(1),10)];break;case"S":break;case"D":break;case"N":break;case"W":b=y[h].slice(1).split(" ");for(k=parseInt(b[0],10);k<=parseInt(b[1],10);++k){w=parseInt(b[2],10);g[k-1]=w===0?{hidden:true}:{wch:w}}break;case"C":o=parseInt(y[h].slice(1),10)-1;if(!g[o])g[o]={};break;case"R":f=parseInt(y[h].slice(1),10)-1;if(!m[f])m[f]={};if(w>0){m[f].hpt=w;m[f].hpx=lc(w)}else if(w===0)m[f].hidden=true;break;default:if(t&&t.WTF)throw new Error("SYLK bad record "+A);}if(U<1)v=null;break;default:if(t&&t.WTF)throw new Error("SYLK bad record "+A);}}if(m.length>0)p["!rows"]=m;if(g.length>0)p["!cols"]=g;g.forEach(function(e){nc(e)});if(t&&t.sheetRows)u=u.slice(0,t.sheetRows);return[u,p,T]}function c(e,r){var t=f(e,r);var a=t[0],n=t[1],i=t[2];var s=Tr(r);s.date1904=(((i||{}).Workbook||{}).WBProps||{}).date1904;var l=qa(a,s);ir(n).forEach(function(e){l[e]=n[e]});var o=Ya(l,r);ir(i).forEach(function(e){o[e]=i[e]});o.bookType="sylk";return o}function h(e,r,t,a,n,i){var s="C;Y"+(t+1)+";X"+(a+1)+";K";switch(e.t){case"n":s+=e.v||0;if(e.f&&!e.F)s+=";E"+nu(e.f,{r:t,c:a});break;case"b":s+=e.v?"TRUE":"FALSE";break;case"e":s+=e.w||e.v;break;case"d":s+=dr(wr(e.v,i),i);break;case"s":s+='"'+(e.v==null?"":String(e.v)).replace(/"/g,"").replace(/;/g,";;")+'"';break;}return s}function u(e,r,t){var a="C;Y"+(r+1)+";X"+(t+1)+";A";a+=s(e.map(function(e){return e.t}).join(""));return a}function d(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)r.wpx=Qo(r.width);if(typeof r.wpx=="number"&&!r.wch)r.wch=ec(r.wpx);if(typeof r.wch=="number")a+=Math.round(r.wch)}if(a.charAt(a.length-1)!=" ")e.push(a)})}function v(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*fc(r.hpx)+";";if(a.length>2)e.push(a+"R"+(t+1))})}function p(e,r,t){if(!r)r={};r._formats=["General"];var a=["ID;PSheetJS;N;E"],n=[];var i=Ga(e["!ref"]||"A1"),s;var f=e["!data"]!=null;var l="\r\n";var o=(((t||{}).Workbook||{}).WBProps||{}).date1904;var c="General";a.push("P;PGeneral");var p=i.s.r,m=i.s.c,g=[];if(e["!ref"])for(p=i.s.r;p<=i.e.r;++p){if(f&&!e["!data"][p])continue;g=[];for(m=i.s.c;m<=i.e.c;++m){s=f?e["!data"][p][m]:e[La(m)+Na(p)];if(!s||!s.c)continue;g.push(u(s.c,p,m))}if(g.length)n.push(g.join(l))}if(e["!ref"])for(p=i.s.r;p<=i.e.r;++p){if(f&&!e["!data"][p])continue;g=[];for(m=i.s.c;m<=i.e.c;++m){s=f?e["!data"][p][m]:e[La(m)+Na(p)];if(!s||s.v==null&&(!s.f||s.F))continue;if((s.z||(s.t=="d"?q[14]:"General"))!=c){var b=r._formats.indexOf(s.z);if(b==-1){r._formats.push(s.z);b=r._formats.length-1;a.push("P;P"+s.z.replace(/;/g,";;"))}g.push("F;P"+b+";Y"+(p+1)+";X"+(m+1))}g.push(h(s,e,p,m,r,o))}n.push(g.join(l))}a.push("F;P0;DG0G8;M255");if(e["!cols"])d(a,e["!cols"]);if(e["!rows"])v(a,e["!rows"]);if(e["!ref"])a.push("B;Y"+(i.e.r-i.s.r+1)+";X"+(i.e.c-i.s.c+1)+";D"+[i.s.c,i.s.r,i.e.c,i.e.r].join(" "));a.push("O;L;D;B"+(o?";V4":"")+";K47;G100 0.001");delete r._formats;return a.join(l)+l+n.join(l)+l+"E"+l}return{to_workbook:c,from_sheet:p}}();var jl=function(){function e(e,t){switch(t.type){case"base64":return r(E(e),t);case"binary":return r(e,t);case"buffer":return r(C&&Buffer.isBuffer(e)?e.toString("binary"):N(e),t);case"array":return r(kr(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 l=f[0],o=f[1];++i;var c=t[i]||"";while((c.match(/["]/g)||[]).length&1&&i<t.length-1)c+="\n"+t[++i];c=c.trim();switch(+l){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(!isNaN(yr(o)))s[a][n]=yr(o);else if(!isNaN(Ir(o).getDate())){s[a][n]=wr(o);if(!(r&&r.UTC)){s[a][n]=Fr(s[a][n])}}else s[a][n]=o;++n;break;case 1:c=c.slice(1,c.length-1);c=c.replace(/""/g,'"');if(w&&c&&c.match(/^=".*"$/))c=c.slice(2,-1);s[a][n++]=c!==""?c:null;break;}if(c==="EOD")break}if(r&&r.sheetRows)s=s.slice(0,r.sheetRows);return s}function t(r,t){return qa(e(r,t),t)}function a(e,r){var a=Ya(t(e,r),r);a.bookType="dif";return a}function n(e,r){return"0,"+String(e)+"\r\n"+r}function i(e){return'1,0\r\n"'+e.replace(/"/g,'""')+'"'}function s(e){var r=w;if(!e["!ref"])throw new Error("Cannot export empty sheet to DIF");var t=Ga(e["!ref"]);var a=e["!data"]!=null;var s=['TABLE\r\n0,1\r\n"sheetjs"\r\n',"VECTORS\r\n0,"+(t.e.r-t.s.r+1)+'\r\n""\r\n',"TUPLES\r\n0,"+(t.e.c-t.s.c+1)+'\r\n""\r\n','DATA\r\n0,0\r\n""\r\n'];for(var f=t.s.r;f<=t.e.r;++f){var l=a?e["!data"][f]:[];var o="-1,0\r\nBOT\r\n";for(var c=t.s.c;c<=t.e.c;++c){var h=a?l&&l[c]:e[za({r:f,c:c})];if(h==null){o+='1,0\r\n""\r\n';continue}switch(h.t){case"n":if(r){if(h.w!=null)o+="0,"+h.w+"\r\nV";else if(h.v!=null)o+=n(h.v,"V");else if(h.f!=null&&!h.F)o+=i("="+h.f);else o+='1,0\r\n""'}else{if(h.v==null)o+='1,0\r\n""';else o+=n(h.v,"V")}break;case"b":o+=h.v?n(1,"TRUE"):n(0,"FALSE");break;case"s":o+=i(!r||isNaN(+h.v)?h.v:'="'+h.v+'"');break;case"d":if(!h.w)h.w=ze(h.z||q[14],dr(wr(h.v)));if(r)o+=n(h.w,"V");else o+=i(h.w);break;default:o+='1,0\r\n""';}o+="\r\n"}s.push(o)}return s.join("")+"-1,0\r\nEOD"}return{to_workbook:a,to_sheet:t,from_sheet:s}}();var Kl=function(){function e(e){return e.replace(/\\b/g,"\\").replace(/\\c/g,":").replace(/\\n/g,"\n")}function r(e){return e.replace(/\\/g,"\\b").replace(/:/g,"\\c").replace(/\n/g,"\\n")}function t(r,t){var a=r.split("\n"),n=-1,i=-1,s=0,f=[];for(;s!==a.length;++s){var l=a[s].trim().split(":");if(l[0]!=="cell")continue;var o=Wa(l[1]);if(f.length<=o.r)for(n=f.length;n<=o.r;++n)if(!f[n])f[n]=[];n=o.r;i=o.c;switch(l[2]){case"t":f[n][i]=e(l[3]);break;case"v":f[n][i]=+l[3];break;case"vtf":var c=l[l.length-1];case"vtc":switch(l[3]){case"nl":f[n][i]=+l[4]?true:false;break;default:f[n][i]=+l[4];break;}if(l[2]=="vtf")f[n][i]=[f[n][i],c];}}if(t&&t.sheetRows)f=f.slice(0,t.sheetRows);return f}function a(e,r){return qa(t(e,r),r)}function n(e,r){return Ya(a(e,r),r)}var i=["socialcalc:version:1.5","MIME-Version: 1.0","Content-Type: multipart/mixed; boundary=SocialCalcSpreadsheetControlSave"].join("\n");var s=["--SocialCalcSpreadsheetControlSave","Content-type: text/plain; charset=UTF-8"].join("\n")+"\n";var f=["# SocialCalc Spreadsheet Control Save","part:sheet"].join("\n");var l="--SocialCalcSpreadsheetControlSave--";function o(e){if(!e||!e["!ref"])return"";var t=[],a=[],n,i="";var s=Ha(e["!ref"]);var f=e["!data"]!=null;for(var l=s.s.r;l<=s.e.r;++l){for(var o=s.s.c;o<=s.e.c;++o){i=za({r:l,c:o});n=f?(e["!data"][l]||[])[o]:e[i];if(!n||n.v==null||n.t==="z")continue;a=["cell",i,"t"];switch(n.t){case"s":;case"str":a.push(r(n.v));break;case"n":if(!n.f){a[2]="v";a[3]=n.v}else{a[2]="vtf";a[3]="n";a[4]=n.v;a[5]=r(n.f)}break;case"b":a[2]="vt"+(n.f?"f":"c");a[3]="nl";a[4]=n.v?"1":"0";a[5]=r(n.f||(n.v?"TRUE":"FALSE"));break;case"d":var c=dr(wr(n.v));a[2]="vtc";a[3]="nd";a[4]=""+c;a[5]=n.w||ze(n.z||q[14],c);break;case"e":continue;}t.push(a.join(":"))}}t.push("sheet:c:"+(s.e.c-s.s.c+1)+":r:"+(s.e.r-s.s.r+1)+":tvf:1");t.push("valueformat:1:text-wiki");return t.join("\n")}function c(e){return[i,s,f,s,o(e),l].join("\n")}return{to_workbook:n,to_sheet:a,from_sheet:c}}();var Yl=function(){function e(e,r,t,a,n){if(n.raw)r[t][a]=e;else if(e===""){}else if(e==="TRUE")r[t][a]=true;else if(e==="FALSE")r[t][a]=false;else if(!isNaN(yr(e)))r[t][a]=yr(e);else if(!isNaN(Ir(e).getDate()))r[t][a]=wr(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,l=0;var o=0;for(;o<=s;++o){l=i[o].indexOf(" ");if(l==-1)l=i[o].length;else l++;f=Math.max(f,l)}for(o=0;o<=s;++o){n[o]=[];var c=0;e(i[o].slice(0,f).trim(),n,o,c,a);for(c=1;c<=(i[o].length-f)/10+1;++c)e(i[o].slice(f+(c-1)*10,f+c*10).trim(),n,o,c,a)}if(a.sheetRows)n=n.slice(0,a.sheetRows);return n}var t={44:",",9:"\t",59:";",124:"|"};var n={44:3,9:2,59:1,124:0};function i(e){var r={},a=false,i=0,s=0;for(;i<e.length;++i){if((s=e.charCodeAt(i))==34)a=!a;else if(!a&&s in t)r[s]=(r[s]||0)+1}s=[];for(i in r)if(Object.prototype.hasOwnProperty.call(r,i)){s.push([r[i],i])}if(!s.length){r=n;for(i in r)if(Object.prototype.hasOwnProperty.call(r,i)){s.push([r[i],i])}}s.sort(function(e,r){return e[0]-r[0]||n[e[1]]-n[r[1]]});return t[s.pop()[1]]||44}function s(e,r){var t=r||{};var a="";if(b!=null&&t.dense==null)t.dense=b;var n={};if(t.dense)n["!data"]=[];var s={s:{c:0,r:0},e:{c:0,r:0}};if(e.slice(0,4)=="sep="){if(e.charCodeAt(5)==13&&e.charCodeAt(6)==10){a=e.charAt(4);e=e.slice(7)}else if(e.charCodeAt(5)==13||e.charCodeAt(5)==10){a=e.charAt(4);e=e.slice(6)}else a=i(e.slice(0,1024))}else if(t&&t.FS)a=t.FS;else a=i(e.slice(0,1024));var f=0,l=0,o=0;var c=0,h=0,u=a.charCodeAt(0),d=false,v=0,p=e.charCodeAt(0);var m=t.dateNF!=null?Ke(t.dateNF):null;function g(){var r=e.slice(c,h);if(r.slice(-1)=="\r")r=r.slice(0,-1);var a={};if(r.charAt(0)=='"'&&r.charAt(r.length-1)=='"')r=r.slice(1,-1).replace(/""/g,'"');if(t.cellText!==false)a.w=r;if(r.length===0)a.t="z";else if(t.raw){a.t="s";a.v=r}else if(r.trim().length===0){a.t="s";a.v=r}else if(r.charCodeAt(0)==61){if(r.charCodeAt(1)==34&&r.charCodeAt(r.length-1)==34){a.t="s";a.v=r.slice(2,-1).replace(/""/g,'"')}else if(fu(r)){a.t="s";a.f=r.slice(1);a.v=r}else{a.t="s";a.v=r}}else if(r=="TRUE"){a.t="b";a.v=true}else if(r=="FALSE"){a.t="b";a.v=false}else if(!isNaN(o=yr(r))){a.t="n";a.v=o}else if(!isNaN((o=Ir(r)).getDate())||m&&r.match(m)){a.z=t.dateNF||q[14];if(m&&r.match(m)){var i=Ye(r,t.dateNF,r.match(m)||[]);o=wr(i);if(t&&t.UTC===false)o=Fr(o)}else if(t&&t.UTC===false)o=Fr(o);else if(t.cellText!==false&&t.dateNF)a.w=ze(a.z,o);if(t.cellDates){a.t="d";a.v=o}else{a.t="n";a.v=dr(o)}if(!t.cellNF)delete a.z}else{a.t="s";a.v=r}if(a.t=="z"){}else if(t.dense){if(!n["!data"][f])n["!data"][f]=[];n["!data"][f][l]=a}else n[za({c:l,r:f})]=a;c=h+1;p=e.charCodeAt(c);if(s.e.c<l)s.e.c=l;if(s.e.r<f)s.e.r=f;if(v==u)++l;else{l=0;++f;if(t.sheetRows&&t.sheetRows<=f)return true}}e:for(;h<e.length;++h)switch(v=e.charCodeAt(h)){case 34:if(p===34)d=!d;break;case 13:if(d)break;if(e.charCodeAt(h+1)==10)++h;case u:;case 10:if(!d&&g())break e;break;default:break;}if(h-c>0)g();n["!ref"]=Va(s);return n}function f(e,t){if(!(t&&t.PRN))return s(e,t);if(t.FS)return s(e,t);if(e.slice(0,4)=="sep=")return s(e,t);if(e.indexOf("\t")>=0||e.indexOf(",")>=0||e.indexOf(";")>=0)return s(e,t);return qa(r(e,t),t)}function l(e,r){var t="",n=r.type=="string"?[0,0,0,0]:hk(e,r);switch(r.type){case"base64":t=E(e);break;case"binary":t=e;break;case"buffer":if(r.codepage==65001)t=e.toString("utf8");else if(r.codepage&&typeof a!=="undefined")t=a.utils.decode(r.codepage,e);else t=C&&Buffer.isBuffer(e)?e.toString("binary"):N(e);break;case"array":t=kr(e);break;case"string":t=e;break;default:throw new Error("Unrecognized type "+r.type);}if(n[0]==239&&n[1]==187&&n[2]==191)t=kt(t.slice(3));else if(r.type!="string"&&r.type!="buffer"&&r.codepage==65001)t=kt(t);else if(r.type=="binary"&&typeof a!=="undefined"&&r.codepage)t=a.utils.decode(r.codepage,a.utils.encode(28591,t));if(t.slice(0,19)=="socialcalc:version:")return Kl.to_sheet(r.type=="string"?t:kt(t),r);return f(t,r)}function o(e,r){return Ya(l(e,r),r)}function c(e){var r=[];if(!e["!ref"])return"";var t=Ga(e["!ref"]),a;var n=e["!data"]!=null;for(var i=t.s.r;i<=t.e.r;++i){var s=[];for(var f=t.s.c;f<=t.e.c;++f){var l=za({r:i,c:f});a=n?(e["!data"][i]||[])[f]:e[l];if(!a||a.v==null){s.push(" ");continue}var o=(a.w||(Ka(a),a.w)||"").slice(0,10);while(o.length<10)o+=" ";s.push(o+(f===0?" ":""))}r.push(s.join(""))}return r.join("\n")}return{to_workbook:o,to_sheet:l,from_sheet:c}}();function Zl(e,r){var t=r||{},a=!!t.WTF;t.WTF=true;try{var n=Gl.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 Yl.to_workbook(e,r)}}var Jl=function(){function e(e,r,t){if(!e)return;Ta(e,e.l||0);var a=t.Enum||V;while(e.l<e.length){var n=e._R(2);var i=a[n]||a[65535];var s=e._R(2);var f=e.l+s;var l=i.f&&i.f(e,s,t);e.l=f;if(r(l,i,n))return}}function r(e,r){switch(r.type){case"base64":return a(R(E(e)),r);case"binary":return a(R(e),r);case"buffer":;case"array":return a(e,r);}throw"Unsupported type "+r.type}var t=["mmmm","dd-mmm-yyyy","dd-mmm","mmm-yyyy","@","mm/dd","hh:mm:ss AM/PM","hh:mm AM/PM","mm/dd/yyyy","mm/dd","hh:mm:ss","hh:mm"];function a(r,a){if(!r)return r;var n=a||{};if(b!=null&&n.dense==null)n.dense=b;var i={},s="Sheet1",f="",l=0;var o={},c=[],h=[],u=[];if(n.dense)u=i["!data"]=[];var d={s:{r:0,c:0},e:{r:0,c:0}};var v=n.sheetRows||0;var p={};if(r[4]==81&&r[5]==80&&r[6]==87)return j(r,a);if(r[2]==0){if(r[3]==8||r[3]==9){if(r.length>=16&&r[14]==5&&r[15]===108)throw new Error("Unsupported Works 3 for Mac file")}}if(r[2]==2){n.Enum=V;e(r,function(e,r,a){switch(a){case 0:n.vers=e;if(e>=4096)n.qpro=true;break;case 255:n.vers=e;n.works=true;break;case 6:d=e;break;case 204:if(e)f=e;break;case 222:f=e;break;case 15:;case 51:if((!n.qpro&&!n.works||a==51)&&e[1].v.charCodeAt(0)<48)e[1].v=e[1].v.slice(1);if(n.works||n.works2)e[1].v=e[1].v.replace(/\r\n/g,"\n");case 13:;case 14:;case 16:if((e[2]&112)==112&&(e[2]&15)>1&&(e[2]&15)<15){e[1].z=n.dateNF||t[(e[2]&15)-1]||q[14];if(n.cellDates){e[1].v=vr(e[1].v);e[1].t=typeof e[1].v=="number"?"n":"d"}}if(n.qpro){if(e[3]>l){i["!ref"]=Va(d);o[s]=i;c.push(s);i={};if(n.dense)u=i["!data"]=[];d={s:{r:0,c:0},e:{r:0,c:0}};l=e[3];s=f||"Sheet"+(l+1);f=""}}var h=n.dense?(u[e[0].r]||[])[e[0].c]:i[za(e[0])];if(h){h.t=e[1].t;h.v=e[1].v;if(e[1].z!=null)h.z=e[1].z;if(e[1].f!=null)h.f=e[1].f;p=h;break}if(n.dense){if(!u[e[0].r])u[e[0].r]=[];u[e[0].r][e[0].c]=e[1]}else i[za(e[0])]=e[1];p=e[1];break;case 21509:n.works2=true;break;case 21506:{if(e==5281){p.z="hh:mm:ss";if(n.cellDates&&p.t=="n"){p.v=vr(p.v);p.t=typeof p.v=="number"?"n":"d"}}}break;}},n)}else if(r[2]==26||r[2]==14){n.Enum=X;if(r[2]==14){n.qpro=true;r.l=0}e(r,function(e,r,t){switch(t){case 204:s=e;break;case 22:if(e[1].v.charCodeAt(0)<48)e[1].v=e[1].v.slice(1);e[1].v=e[1].v.replace(/\x0F./g,function(e){return String.fromCharCode(e.charCodeAt(1)-32)}).replace(/\r\n/g,"\n");case 23:;case 24:;case 25:;case 37:;case 39:;case 40:if(e[3]>l){i["!ref"]=Va(d);o[s]=i;c.push(s);i={};if(n.dense)u=i["!data"]=[];d={s:{r:0,c:0},e:{r:0,c:0}};l=e[3];s="Sheet"+(l+1)}if(v>0&&e[0].r>=v)break;if(n.dense){if(!u[e[0].r])u[e[0].r]=[];u[e[0].r][e[0].c]=e[1]}else i[za(e[0])]=e[1];if(d.e.c<e[0].c)d.e.c=e[0].c;if(d.e.r<e[0].r)d.e.r=e[0].r;break;case 27:if(e[14e3])h[e[14e3][0]]=e[14e3][1];break;case 1537:h[e[0]]=e[1];if(e[0]==l)s=e[1];break;default:break;}},n)}else throw new Error("Unrecognized LOTUS BOF "+r[2]);i["!ref"]=Va(d);o[f||s]=i;c.push(f||s);if(!h.length)return{SheetNames:c,Sheets:o};var m={},g=[];for(var w=0;w<h.length;++w)if(o[c[w]]){g.push(h[w]||c[w]);m[h[w]]=o[h[w]]||o[c[w]]}else{g.push(h[w]);m[h[w]]={"!ref":"A1"}}return{SheetNames:g,Sheets:m}}function n(e,r){var t=r||{};if(+t.codepage>=0)l(+t.codepage);if(t.type=="string")throw new Error("Cannot write WK1 to JS string");var a=Ca();if(!e["!ref"])throw new Error("Cannot export empty sheet to WK1");var n=Ga(e["!ref"]);var i=e["!data"]!=null;var f=[];rb(a,0,s(1030));rb(a,6,c(n));var o=Math.min(n.e.r,8191);for(var h=n.s.c;h<=n.e.c;++h)f[h]=La(h);for(var u=n.s.r;u<=o;++u){var d=Na(u);for(h=n.s.c;h<=n.e.c;++h){var p=i?(e["!data"][u]||[])[h]:e[f[h]+d];if(!p||p.t=="z")continue;switch(p.t){case"n":if((p.v|0)==p.v&&p.v>=-32768&&p.v<=32767)rb(a,13,g(u,h,p));else rb(a,14,k(u,h,p));break;case"d":var m=dr(p.v);if((m|0)==m&&m>=-32768&&m<=32767)rb(a,13,g(u,h,{t:"n",v:m,z:p.z||q[14]}));else rb(a,14,k(u,h,{t:"n",v:m,z:p.z||q[14]}));break;default:var b=Ka(p);rb(a,15,v(u,h,b.slice(0,239)));}}}rb(a,1);return a.end()}function i(e,r){var t=r||{};if(+t.codepage>=0)l(+t.codepage);if(t.type=="string")throw new Error("Cannot write WK3 to JS string");var a=Ca();rb(a,0,f(e));for(var n=0,i=0;n<e.SheetNames.length;++n)if((e.Sheets[e.SheetNames[n]]||{})["!ref"])rb(a,27,H(e.SheetNames[n],i++));var s=0;for(n=0;n<e.SheetNames.length;++n){var o=e.Sheets[e.SheetNames[n]];if(!o||!o["!ref"])continue; -var c=Ga(o["!ref"]);var h=o["!data"]!=null;var u=[];var d=Math.min(c.e.r,8191);for(var v=c.s.r;v<=d;++v){var p=Na(v);for(var m=c.s.c;m<=c.e.c;++m){if(v===c.s.r)u[m]=La(m);var g=u[m]+p;var b=h?(o["!data"][v]||[])[m]:o[g];if(!b||b.t=="z")continue;if(b.t=="n"){rb(a,23,F(v,m,s,b.v))}else{var w=Ka(b);rb(a,22,O(v,m,s,w.slice(0,239)))}}}++s}rb(a,1);return a.end()}function s(e){var r=ya(2);r._W(2,e);return r}function f(e){var r=ya(26);r._W(2,4096);r._W(2,4);r._W(4,0);var t=0,a=0,n=0;for(var i=0;i<e.SheetNames.length;++i){var s=e.SheetNames[i];var f=e.Sheets[s];if(!f||!f["!ref"])continue;++n;var l=Ha(f["!ref"]);if(t<l.e.r)t=l.e.r;if(a<l.e.c)a=l.e.c}if(t>8191)t=8191;r._W(2,t);r._W(1,n);r._W(1,a);r._W(2,0);r._W(2,0);r._W(1,1);r._W(1,2);r._W(4,0);r._W(4,0);return r}function o(e,r,t){var a={s:{c:0,r:0},e:{c:0,r:0}};if(r==8&&t.qpro){a.s.c=e._R(1);e.l++;a.s.r=e._R(2);a.e.c=e._R(1);e.l++;a.e.r=e._R(2);return a}a.s.c=e._R(2);a.s.r=e._R(2);if(r==12&&t.qpro)e.l+=2;a.e.c=e._R(2);a.e.r=e._R(2);if(r==12&&t.qpro)e.l+=2;if(a.s.c==65535)a.s.c=a.e.c=a.s.r=a.e.r=0;return a}function c(e){var r=ya(8);r._W(2,e.s.c);r._W(2,e.s.r);r._W(2,e.e.c);r._W(2,e.e.r);return r}function h(e,r,t){var a=[{c:0,r:0},{t:"n",v:0},0,0];if(t.qpro&&t.vers!=20768){a[0].c=e._R(1);a[3]=e._R(1);a[0].r=e._R(2);e.l+=2}else if(t.works){a[0].c=e._R(2);a[0].r=e._R(2);a[2]=e._R(2)}else{a[2]=e._R(1);a[0].c=e._R(2);a[0].r=e._R(2)}return a}function u(e){if(e.z&&Le(e.z)){return 240|(t.indexOf(e.z)+1||2)}return 255}function d(e,r,t){var a=e.l+r;var n=h(e,r,t);n[1].t="s";if((t.vers&65534)==20768){e.l++;var i=e._R(1);n[1].v=e._R(i,"utf8");return n}if(t.qpro)e.l++;n[1].v=e._R(a-e.l,"cstr");return n}function v(e,r,t){var a=ya(7+t.length);a._W(1,255);a._W(2,r);a._W(2,e);a._W(1,39);for(var n=0;n<a.length;++n){var i=t.charCodeAt(n);a._W(1,i>=128?95:i)}a._W(1,0);return a}function p(e,r,t){var a=e.l+r;var n=h(e,r,t);n[1].t="s";if(t.vers==20768){var i=e._R(1);n[1].v=e._R(i,"utf8");return n}n[1].v=e._R(a-e.l,"cstr");return n}function m(e,r,t){var a=h(e,r,t);a[1].v=e._R(2,"i");return a}function g(e,r,t){var a=ya(7);a._W(1,u(t));a._W(2,r);a._W(2,e);a._W(2,t.v,"i");return a}function w(e,r,t){var a=h(e,r,t);a[1].v=e._R(8,"f");return a}function k(e,r,t){var a=ya(13);a._W(1,u(t));a._W(2,r);a._W(2,e);a._W(8,t.v,"f");return a}function T(e,r,t){var a=e.l+r;var n=h(e,r,t);n[1].v=e._R(8,"f");if(t.qpro)e.l=a;else{var i=e._R(2);_(e.slice(e.l,e.l+i),n);e.l+=i}return n}function A(e,r,t){var a=r&32768;r&=~32768;r=(a?e:0)+(r>=8192?r-16384:r);return(a?"":"$")+(t?La(r):Na(r))}var y={31:["NA",0],33:["ABS",1],34:["TRUNC",1],35:["SQRT",1],36:["LOG",1],37:["LN",1],38:["PI",0],39:["SIN",1],40:["COS",1],41:["TAN",1],42:["ATAN2",2],43:["ATAN",1],44:["ASIN",1],45:["ACOS",1],46:["EXP",1],47:["MOD",2],49:["ISNA",1],50:["ISERR",1],51:["FALSE",0],52:["TRUE",0],53:["RAND",0],54:["DATE",3],63:["ROUND",2],64:["TIME",3],68:["ISNUMBER",1],69:["ISTEXT",1],70:["LEN",1],71:["VALUE",1],73:["MID",3],74:["CHAR",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],102:["UPPER",1],103:["LOWER",1],107:["PROPER",1],109:["TRIM",1],111:["T",1]};var C=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function _(e,r){Ta(e,0);var t=[],a=0,n="",i="",s="",f="";while(e.l<e.length){var l=e[e.l++];switch(l){case 0:t.push(e._R(8,"f"));break;case 1:{i=A(r[0].c,e._R(2),true);n=A(r[0].r,e._R(2),false);t.push(i+n)}break;case 2:{var o=A(r[0].c,e._R(2),true);var c=A(r[0].r,e._R(2),false);i=A(r[0].c,e._R(2),true);n=A(r[0].r,e._R(2),false);t.push(o+c+":"+i+n)}break;case 3:if(e.l<e.length){console.error("WK1 premature formula end");return}break;case 4:t.push("("+t.pop()+")");break;case 5:t.push(e._R(2));break;case 6:{var h="";while(l=e[e.l++])h+=String.fromCharCode(l);t.push('"'+h.replace(/"/g,'""')+'"')}break;case 8:t.push("-"+t.pop());break;case 23:t.push("+"+t.pop());break;case 22:t.push("NOT("+t.pop()+")");break;case 20:;case 21:{f=t.pop();s=t.pop();t.push(["AND","OR"][l-20]+"("+s+","+f+")")}break;default:if(l<32&&C[l]){f=t.pop();s=t.pop();t.push(s+C[l]+f)}else if(y[l]){a=y[l][1];if(a==69)a=e[e.l++];if(a>t.length){console.error("WK1 bad formula parse 0x"+l.toString(16)+":|"+t.join("|")+"|");return}var u=t.slice(-a);t.length-=a;t.push(y[l][0]+"("+u.join(",")+")")}else if(l<=7)return console.error("WK1 invalid opcode "+l.toString(16));else if(l<=24)return console.error("WK1 unsupported op "+l.toString(16));else if(l<=30)return console.error("WK1 invalid opcode "+l.toString(16));else if(l<=115)return console.error("WK1 unsupported function opcode "+l.toString(16));else return console.error("WK1 unrecognized opcode "+l.toString(16));}}if(t.length==1)r[1].f=""+t[0];else console.error("WK1 bad formula parse |"+t.join("|")+"|")}function S(e){var r=[{c:0,r:0},{t:"n",v:0},0];r[0].r=e._R(2);r[3]=e[e.l++];r[0].c=e[e.l++];return r}function x(e,r){var t=S(e,r);t[1].t="s";t[1].v=e._R(r-4,"cstr");return t}function O(e,r,t,a){var n=ya(6+a.length);n._W(2,e);n._W(1,t);n._W(1,r);n._W(1,39);for(var i=0;i<a.length;++i){var s=a.charCodeAt(i);n._W(1,s>=128?95:s)}n._W(1,0);return n}function I(e,r){var t=S(e,r);t[1].v=e._R(2);var a=t[1].v>>1;if(t[1].v&1){switch(a&7){case 0:a=(a>>3)*5e3;break;case 1:a=(a>>3)*500;break;case 2:a=(a>>3)/20;break;case 3:a=(a>>3)/200;break;case 4:a=(a>>3)/2e3;break;case 5:a=(a>>3)/2e4;break;case 6:a=(a>>3)/16;break;case 7:a=(a>>3)/64;break;}}t[1].v=a;return t}function N(e,r){var t=S(e,r);var a=e._R(4);var n=e._R(4);var i=e._R(2);if(i==65535){if(a===0&&n===3221225472){t[1].t="e";t[1].v=15}else if(a===0&&n===3489660928){t[1].t="e";t[1].v=42}else t[1].v=0;return t}var s=i&32768;i=(i&32767)-16446;t[1].v=(1-s*2)*(n*Math.pow(2,i+32)+a*Math.pow(2,i));return t}function F(e,r,t,a){var n=ya(14);n._W(2,e);n._W(1,t);n._W(1,r);if(a==0){n._W(4,0);n._W(4,0);n._W(2,65535);return n}var i=0,s=0,f=0,l=0;if(a<0){i=1;a=-a}s=Math.log2(a)|0;a/=Math.pow(2,s-31);l=a>>>0;if((l&2147483648)==0){a/=2;++s;l=a>>>0}a-=l;l|=2147483648;l>>>=0;a*=Math.pow(2,32);f=a>>>0;n._W(4,f);n._W(4,l);s+=16383+(i?32768:0);n._W(2,s);return n}function D(e,r){var t=N(e,14);e.l+=r-14;return t}function P(e,r){var t=S(e,r);var a=e._R(4);t[1].v=a>>6;return t}function L(e,r){var t=S(e,r);var a=e._R(8,"f");t[1].v=a;return t}function M(e,r){var t=L(e,12);e.l+=r-12;return t}function U(e,r){return e[e.l+r-1]==0?e._R(r,"cstr"):""}function B(e,r){var t=e[e.l++];if(t>r-1)t=r-1;var a="";while(a.length<t)a+=String.fromCharCode(e[e.l++]);return a}function W(e,r,t){if(!t.qpro||r<21)return;var a=e._R(1);e.l+=17;e.l+=1;e.l+=2;var n=e._R(r-21,"cstr");return[a,n]}function z(e,r){var t={},a=e.l+r;while(e.l<a){var n=e._R(2);if(n==14e3){t[n]=[0,""];t[n][0]=e._R(2);while(e[e.l]){t[n][1]+=String.fromCharCode(e[e.l]);e.l++}e.l++}}return t}function H(e,r){var t=ya(5+e.length);t._W(2,14e3);t._W(2,r);for(var a=0;a<e.length;++a){var n=e.charCodeAt(a);t[t.l++]=n>127?95:n}t[t.l++]=0;return t}var V={0:{n:"BOF",f:ds},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:o},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:m},14:{n:"NUMBER",f:w},15:{n:"LABEL",f:d},16:{n:"FORMULA",f:T},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:p},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},102:{n:"PRANGES??"},103:{n:"RRANGES??"},104:{n:"FNAME??"},105:{n:"MRANGES??"},204:{n:"SHEETNAMECS",f:U},222:{n:"SHEETNAMELP",f:B},255:{n:"BOF",f:ds},21506:{n:"WKSNF",f:ds},65535:{n:""}};var X={0:{n:"BOF"},1:{n:"EOF"},2:{n:"PASSWORD"},3:{n:"CALCSET"},4:{n:"WINDOWSET"},5:{n:"SHEETCELLPTR"},6:{n:"SHEETLAYOUT"},7:{n:"COLUMNWIDTH"},8:{n:"HIDDENCOLUMN"},9:{n:"USERRANGE"},10:{n:"SYSTEMRANGE"},11:{n:"ZEROFORCE"},12:{n:"SORTKEYDIR"},13:{n:"FILESEAL"},14:{n:"DATAFILLNUMS"},15:{n:"PRINTMAIN"},16:{n:"PRINTSTRING"},17:{n:"GRAPHMAIN"},18:{n:"GRAPHSTRING"},19:{n:"??"},20:{n:"ERRCELL"},21:{n:"NACELL"},22:{n:"LABEL16",f:x},23:{n:"NUMBER17",f:N},24:{n:"NUMBER18",f:I},25:{n:"FORMULA19",f:D},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:z},28:{n:"DTLABELMISC"},29:{n:"DTLABELCELL"},30:{n:"GRAPHWINDOW"},31:{n:"CPA"},32:{n:"LPLAUTO"},33:{n:"QUERY"},34:{n:"HIDDENSHEET"},35:{n:"??"},37:{n:"NUMBER25",f:P},38:{n:"??"},39:{n:"NUMBER27",f:L},40:{n:"FORMULA28",f:M},142:{n:"??"},147:{n:"??"},150:{n:"??"},151:{n:"??"},152:{n:"??"},153:{n:"??"},154:{n:"??"},155:{n:"??"},156:{n:"??"},163:{n:"??"},174:{n:"??"},175:{n:"??"},176:{n:"??"},177:{n:"??"},184:{n:"??"},185:{n:"??"},186:{n:"??"},187:{n:"??"},188:{n:"??"},195:{n:"??"},201:{n:"??"},204:{n:"SHEETNAMECS",f:U},205:{n:"??"},206:{n:"??"},207:{n:"??"},208:{n:"??"},256:{n:"??"},259:{n:"??"},260:{n:"??"},261:{n:"??"},262:{n:"??"},263:{n:"??"},265:{n:"??"},266:{n:"??"},267:{n:"??"},268:{n:"??"},270:{n:"??"},271:{n:"??"},384:{n:"??"},389:{n:"??"},390:{n:"??"},393:{n:"??"},396:{n:"??"},512:{n:"??"},514:{n:"??"},513:{n:"??"},516:{n:"??"},517:{n:"??"},640:{n:"??"},641:{n:"??"},642:{n:"??"},643:{n:"??"},644:{n:"??"},645:{n:"??"},646:{n:"??"},647:{n:"??"},648:{n:"??"},658:{n:"??"},659:{n:"??"},660:{n:"??"},661:{n:"??"},662:{n:"??"},665:{n:"??"},666:{n:"??"},768:{n:"??"},772:{n:"??"},1537:{n:"SHEETINFOQP",f:W},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}};var $={5:"dd-mmm-yy",6:"dd-mmm",7:"mmm-yy",8:"mm/dd/yy",10:"hh:mm:ss AM/PM",11:"hh:mm AM/PM",14:"dd-mmm-yyyy",15:"mmm-yyyy",34:"0.00",50:"0.00;[Red]0.00",66:"0.00;(0.00)",82:"0.00;[Red](0.00)",162:'"$"#,##0.00;\\("$"#,##0.00\\)',288:"0%",304:"0E+00",320:"# ?/?"};function G(e){var r=e._R(2);var t=e._R(1);if(t!=0)throw"unsupported QPW string type "+t.toString(16);return e._R(r,"sbcs-cont")}function j(e,r){Ta(e,0);var t=r||{};if(b!=null&&t.dense==null)t.dense=b;var a={};if(t.dense)a["!data"]=[];var n=[],i="",s=[];var f={s:{r:-1,c:-1},e:{r:-1,c:-1}};var l=0,o=0,c=0,h=0;var u={SheetNames:[],Sheets:{}};var d=[];e:while(e.l<e.length){var v=e._R(2),p=e._R(2);var m=e.slice(e.l,e.l+p);Ta(m,0);switch(v){case 1:if(m._R(4)!=962023505)throw"Bad QPW9 BOF!";break;case 2:break e;case 8:break;case 10:{var g=m._R(4);var w=(m.length-m.l)/g|0;for(var k=0;k<g;++k){var T=m.l+w;var A={};m.l+=2;A.numFmtId=m._R(2);if($[A.numFmtId])A.z=$[A.numFmtId];m.l=T;d.push(A)}}break;case 1025:break;case 1026:break;case 1031:{m.l+=12;while(m.l<m.length){l=m._R(2);o=m._R(1);n.push(m._R(l,"cstr"))}}break;case 1032:{}break;case 1537:{var y=m._R(2);a={};if(t.dense)a["!data"]=[];f.s.c=m._R(2);f.e.c=m._R(2);f.s.r=m._R(4);f.e.r=m._R(4);m.l+=4;if(m.l+2<m.length){l=m._R(2);o=m._R(1);i=l==0?"":m._R(l,"cstr")}if(!i)i=La(y)}break;case 1538:{if(f.s.c>255||f.s.r>999999)break;if(f.e.c<f.s.c)f.e.c=f.s.c;if(f.e.r<f.s.r)f.e.r=f.s.r;a["!ref"]=Va(f);Kk(u,a,i)}break;case 2561:{c=m._R(2);if(f.e.c<c)f.e.c=c;if(f.s.c>c)f.s.c=c;h=m._R(4);if(f.s.r>h)f.s.r=h;h=m._R(4);if(f.e.r<h)f.e.r=h}break;case 3073:{h=m._R(4),l=m._R(4);if(f.s.r>h)f.s.r=h;if(f.e.r<h+l-1)f.e.r=h+l-1;var E=La(c);while(m.l<m.length){var C={t:"z"};var _=m._R(1),S=-1;if(_&128)S=m._R(2);var x=_&64?m._R(2)-1:0;switch(_&31){case 0:break;case 1:break;case 2:C={t:"n",v:m._R(2)};break;case 3:C={t:"n",v:m._R(2,"i")};break;case 4:C={t:"n",v:Tn(m)};break;case 5:C={t:"n",v:m._R(8,"f")};break;case 7:C={t:"s",v:n[o=m._R(4)-1]};break;case 8:C={t:"n",v:m._R(8,"f")};m.l+=2;m.l+=4;if(isNaN(C.v))C={t:"e",v:15};break;default:throw"Unrecognized QPW cell type "+(_&31);}if(S!=-1&&(d[S-1]||{}).z)C.z=d[S-1].z;var O=0;if(_&32)switch(_&31){case 2:O=m._R(2);break;case 3:O=m._R(2,"i");break;case 7:O=m._R(2);break;default:throw"Unsupported delta for QPW cell type "+(_&31);}if(!(!t.sheetStubs&&C.t=="z")){var R=Tr(C);if(C.t=="n"&&C.z&&Le(C.z)&&t.cellDates){R.v=vr(C.v);R.t=typeof R.v=="number"?"n":"d"}if(a["!data"]!=null){if(!a["!data"][h])a["!data"][h]=[];a["!data"][h][c]=R}else a[E+Na(h)]=R}++h;--l;while(x-- >0&&l>=0){if(_&32)switch(_&31){case 2:C={t:"n",v:C.v+O&65535};break;case 3:C={t:"n",v:C.v+O&65535};if(C.v>32767)C.v-=65536;break;case 7:C={t:"s",v:n[o=o+O>>>0]};break;default:throw"Cannot apply delta for QPW cell type "+(_&31);}else switch(_&31){case 1:C={t:"z"};break;case 2:C={t:"n",v:m._R(2)};break;case 7:C={t:"s",v:n[o=m._R(4)-1]};break;default:throw"Cannot apply repeat for QPW cell type "+(_&31);}if(S!=-1);if(!(!t.sheetStubs&&C.t=="z")){if(a["!data"]!=null){if(!a["!data"][h])a["!data"][h]=[];a["!data"][h][c]=C}else a[E+Na(h)]=C}++h;--l}}}break;case 3074:{c=m._R(2);h=m._R(4);var I=G(m);if(a["!data"]!=null){if(!a["!data"][h])a["!data"][h]=[];a["!data"][h][c]={t:"s",v:I}}else a[La(c)+Na(h)]={t:"s",v:I}}break;default:break;}e.l+=p}return u}return{sheet_to_wk1:n,book_to_wk3:i,to_workbook:r}}();function ql(e){var r={},t=e.match(qr),a=0;var n=false;if(t)for(;a!=t.length;++a){var s=rt(t[a]);switch(s[0].replace(/\w*:/g,"")){case"<condense":break;case"<extend":break;case"<shadow":if(!s.val)break;case"<shadow>":;case"<shadow/>":r.shadow=1;break;case"</shadow>":break;case"<charset":if(s.val=="1")break;r.cp=i[parseInt(s.val,10)];break;case"<outline":if(!s.val)break;case"<outline>":;case"<outline/>":r.outline=1;break;case"</outline>":break;case"<rFont":r.name=s.val;break;case"<sz":r.sz=s.val;break;case"<strike":if(!s.val)break;case"<strike>":;case"<strike/>":r.strike=1;break;case"</strike>":break;case"<u":if(!s.val)break;switch(s.val){case"double":r.uval="double";break;case"singleAccounting":r.uval="single-accounting";break;case"doubleAccounting":r.uval="double-accounting";break;};case"<u>":;case"<u/>":r.u=1;break;case"</u>":break;case"<b":if(s.val=="0")break;case"<b>":;case"<b/>":r.b=1;break;case"</b>":break;case"<i":if(s.val=="0")break;case"<i>":;case"<i/>":r.i=1;break;case"</i>":break;case"<color":if(s.rgb)r.color=s.rgb.slice(2,8);break;case"<color>":;case"<color/>":;case"</color>":break;case"<family":r.family=s.val;break;case"<family>":;case"<family/>":;case"</family>":break;case"<vertAlign":r.valign=s.val;break;case"<vertAlign>":;case"<vertAlign/>":;case"</vertAlign>":break;case"<scheme":break;case"<scheme>":;case"<scheme/>":;case"</scheme>":break;case"<extLst":;case"<extLst>":;case"</extLst>":break;case"<ext":n=true;break;case"</ext>":n=false;break;default:if(s[0].charCodeAt(1)!==47&&!n)throw new Error("Unrecognized rich format "+s[0]);}}return r}var Ql=function(){var e=At("t"),r=At("rPr");function t(t){var a=t.match(e);if(!a)return{t:"s",v:""};var n={t:"s",v:it(a[1])};var i=t.match(r);if(i)n.s=ql(i[1]);return n}var a=/<(?:\w+:)?r>/g,n=/<\/(?:\w+:)?r>/;return function i(e){return e.replace(a,"").split(n).map(t).filter(function(e){return e.v})}}();var eo=function ET(){var e=/(\r\n|\n)/g;function r(e,r,t){var a=[];if(e.u)a.push("text-decoration: underline;");if(e.uval)a.push("text-underline-style:"+e.uval+";");if(e.sz)a.push("font-size:"+e.sz+"pt;");if(e.outline)a.push("text-effect: outline;");if(e.shadow)a.push("text-shadow: auto;");r.push('<span style="'+a.join("")+'">');if(e.b){r.push("<b>");t.push("</b>")}if(e.i){r.push("<i>");t.push("</i>")}if(e.strike){r.push("<s>");t.push("</s>")}var n=e.valign||"";if(n=="superscript"||n=="super")n="sup";else if(n=="subscript")n="sub";if(n!=""){r.push("<"+n+">");t.push("</"+n+">")}t.push("</span>");return e}function t(t){var a=[[],t.v,[]];if(!t.v)return"";if(t.s)r(t.s,a[0],a[2]);return a[0].join("")+a[1].replace(e,"<br/>")+a[2].join("")}return function a(e){return e.map(t).join("")}}();var ro=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,to=/<(?:\w+:)?r\b[^>]*>/;var ao=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g;function no(e,r){var t=r?r.cellHTML:true;var a={};if(!e)return{t:""};if(e.match(/^\s*<(?:\w+:)?t[^>]*>/)){a.t=it(kt(e.slice(e.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||""),true);a.r=kt(e);if(t)a.h=ht(a.t)}else if(e.match(to)){a.r=kt(e);a.t=it(kt((e.replace(ao,"").match(ro)||[]).join("").replace(qr,"")),true);if(t)a.h=eo(Ql(a.r))}return a}var io=/<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/;var so=/<(?:\w+:)?(?:si|sstItem)>/g;var fo=/<\/(?:\w+:)?(?:si|sstItem)>/;function lo(e,r){var t=[],a="";if(!e)return t;var n=e.match(io);if(n){a=n[2].replace(so,"").split(fo);for(var i=0;i!=a.length;++i){var s=no(a[i].trim(),r);if(s!=null)t[t.length]=s}n=rt(n[1]);t.Count=n.count;t.Unique=n.uniqueCount}return t}var oo=/^\s|\s$|[\t\n\r]/;function co(e,r){if(!r.bookSST)return"";var t=[Kr];t[t.length]=It("sst",null,{xmlns:Mt[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="<si>";if(n.r)i+=n.r;else{i+="<t";if(!n.t)n.t="";if(typeof n.t!=="string")n.t=String(n.t);if(n.t.match(oo))i+=' xml:space="preserve"';i+=">"+lt(n.t)+"</t>"}i+="</si>";t[t.length]=i}if(t.length>2){t[t.length]="</sst>";t[1]=t[1].replace("/>",">")}return t.join("")}function ho(e){return[e._R(4),e._R(4)]}function uo(e,r){var t=[];var a=false;Ea(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.T){}if(!a||r.WTF)throw new Error("Unexpected record 0x"+s.toString(16));}});return t}function vo(e,r){if(!r)r=ya(8);r._W(4,e.Count);r._W(4,e.Unique);return r}var po=fn;function mo(e){var r=Ca();_a(r,159,vo(e));for(var t=0;t<e.length;++t)_a(r,19,po(e[t]));_a(r,160);return r.end()}function go(e){if(typeof a!=="undefined")return a.utils.encode(t,e);var r=[],n=e.split("");for(var i=0;i<n.length;++i)r[i]=n[i].charCodeAt(0);return r}function bo(e,r){var t={};t.Major=e._R(2);t.Minor=e._R(2);if(r>=4)e.l+=r-4;return t}function wo(e){var r={};r.id=e._R(0,"lpp4");r.R=bo(e,4);r.U=bo(e,4);r.W=bo(e,4);return r}function ko(e){var r=e._R(4);var t=e.l+r-4;var a={};var n=e._R(4);var i=[];while(n-- >0)i.push({t:e._R(4),v:e._R(0,"lpp4")});a.name=e._R(0,"lpp4");a.comps=i;if(e.l!=t)throw new Error("Bad DataSpaceMapEntry: "+e.l+" != "+t);return a}function To(e){var r=[];e.l+=4;var t=e._R(4);while(t-- >0)r.push(ko(e));return r}function Ao(e){var r=[];e.l+=4;var t=e._R(4);while(t-- >0)r.push(e._R(0,"lpp4"));return r}function yo(e){var r={};e._R(4);e.l+=4;r.id=e._R(0,"lpp4");r.name=e._R(0,"lpp4");r.R=bo(e,4);r.U=bo(e,4);r.W=bo(e,4);return r}function Eo(e){var r=yo(e);r.ename=e._R(0,"8lpp4");r.blksz=e._R(4);r.cmode=e._R(4);if(e._R(4)!=4)throw new Error("Bad !Primary record");return r}function Co(e,r){var t=e.l+r;var a={};a.Flags=e._R(4)&63;e.l+=4;a.AlgID=e._R(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._R(4);a.KeySize=e._R(4);a.ProviderType=e._R(4);e.l+=8;a.CSPName=e._R(t-e.l>>1,"utf16le");e.l=t;return a}function _o(e,r){var t={},a=e.l+r;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;e._R(4);t.VerifierHash=e.slice(e.l,a);e.l=a;return t}function So(e){var r=bo(e);switch(r.Minor){case 2:return[r.Minor,xo(e,r)];case 3:return[r.Minor,Oo(e,r)];case 4:return[r.Minor,Ro(e,r)];}throw new Error("ECMA-376 Encrypted file unrecognized Version: "+r.Minor)}function xo(e){var r=e._R(4);if((r&63)!=36)throw new Error("EncryptionInfo mismatch");var t=e._R(4);var a=Co(e,t);var n=_o(e,e.length-e.l);return{t:"Std",h:a,v:n}}function Oo(){throw new Error("File is password-protected: ECMA-376 Extensible")}function Ro(e){var r=["saltSize","blockSize","keyBits","hashSize","cipherAlgorithm","cipherChaining","hashAlgorithm","saltValue"];e.l+=4;var t=e._R(e.length-e.l,"utf8");var a={};t.replace(qr,function n(e){var t=rt(e);switch(tt(t[0])){case"<?xml":break;case"<encryption":;case"</encryption>":break;case"<keyData":r.forEach(function(e){a[e]=t[e]});break;case"<dataIntegrity":a.encryptedHmacKey=t.encryptedHmacKey;a.encryptedHmacValue=t.encryptedHmacValue;break;case"<keyEncryptors>":;case"<keyEncryptors":a.encs=[];break;case"</keyEncryptors>":break;case"<keyEncryptor":a.uri=t.uri;break;case"</keyEncryptor>":break;case"<encryptedKey":a.encs.push(t);break;default:throw t[0];}});return a}function Io(e,r){var t={};var a=t.EncryptionVersionInfo=bo(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._R(4);r-=4;var n=e._R(4);r-=4;t.EncryptionHeader=Co(e,n);r-=n;t.EncryptionVerifier=_o(e,r);return t}function No(e){var r={};var t=r.EncryptionVersionInfo=bo(e,4);if(t.Major!=1||t.Minor!=1)throw"unrecognized version code "+t.Major+" : "+t.Minor;r.Salt=e._R(16);r.EncryptedVerifier=e._R(16);r.EncryptedVerifierHash=e._R(16);return r}function Fo(e){var r=0,t;var a=go(e);var n=a.length+1,i,s;var f,l,o;t=x(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;l=r<<1&32767;o=f|l;r=o^s}return r^52811}var Do=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=go(r);var a=i(t);var s=t.length;var f=x(16);for(var l=0;l!=16;++l)f[l]=0;var o,c,h;if((s&1)===1){o=a>>8;f[s]=n(e[0],o);--s;o=a&255;c=t[t.length-1];f[s]=n(c,o)}while(s>0){--s;o=a>>8;f[s]=n(t[s],o);--s;o=a&255;f[s]=n(t[s],o)}s=15;h=15-t.length;while(h>0){o=a>>8;f[s]=n(e[h],o);--s;--h;o=a&255;f[s]=n(t[s],o);--s;--h}return f}}();var Po=function(e,r,t,a,n){if(!n)n=r;if(!a)a=Do(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 Lo=function(e){var r=0,t=Do(e);return function(e){var a=Po("",e,r,t);r=a[1];return a[0]}};function Mo(e,r,t,a){var n={key:ds(e),verificationBytes:ds(e)};if(t.password)n.verifier=Fo(t.password);a.valid=n.verificationBytes===n.verifier;if(a.valid)a.insitu=Lo(t.password);return n}function Uo(e,r,t){var a=t||{};a.Info=e._R(2);e.l-=2;if(a.Info===1)a.Data=No(e,r);else a.Data=Io(e,r);return a}function Bo(e,r,t){var a={Type:t.biff>=8?e._R(2):0};if(a.Type)Uo(e,r-2,a);else Mo(e,t.biff>=8?r:r-2,t,a);return a}function Wo(e,r){switch(r.type){case"base64":return zo(E(e),r);case"binary":return zo(e,r);case"buffer":return zo(C&&Buffer.isBuffer(e)?e.toString("binary"):N(e),r);case"array":return zo(kr(e),r);}throw new Error("Unrecognized type "+r.type)}function zo(e,r){var t=r||{};var a={};var n=t.dense;if(n)a["!data"]=[];var i=e.match(/\\trowd[\s\S]*?\\row\b/g);if(!i)throw new Error("RTF missing table");var s={s:{c:0,r:0},e:{c:0,r:i.length-1}};var f=[];i.forEach(function(e,r){if(n)f=a["!data"][r]=[];var i=/\\[\w\-]+\b/g;var l=0;var o;var c=-1;var h=[];while((o=i.exec(e))!=null){var u=e.slice(l,i.lastIndex-o[0].length);if(u.charCodeAt(0)==32)u=u.slice(1);if(u.length)h.push(u);switch(o[0]){case"\\cell":++c;if(h.length){var d={v:h.join(""),t:"s"};if(d.v=="TRUE"||d.v=="FALSE"){d.v=d.v=="TRUE";d.t="b"}else if(!isNaN(yr(d.v))){d.t="n";if(t.cellText!==false)d.w=d.v;d.v=yr(d.v)}if(n)f[c]=d;else a[za({r:r,c:c})]=d}h=[];break;case"\\par":h.push("\n");break;}l=i.lastIndex}if(c>s.e.c)s.e.c=c});a["!ref"]=Va(s);return a}function Ho(e,r){var t=Ya(Wo(e,r),r);t.bookType="rtf";return t}function Vo(e,r){var t=["{\\rtf1\\ansi"];if(!e["!ref"])return t[0]+"}";var a=Ga(e["!ref"]),n;var i=e["!data"]!=null,s=[];for(var f=a.s.r;f<=a.e.r;++f){t.push("\\trowd\\trautofit1");for(var l=a.s.c;l<=a.e.c;++l)t.push("\\cellx"+(l+1));t.push("\\pard\\intbl");if(i)s=e["!data"][f]||[];for(l=a.s.c;l<=a.e.c;++l){var o=za({r:f,c:l});n=i?s[l]:e[o];if(!n||n.v==null&&(!n.f||n.F)){t.push(" \\cell");continue}t.push(" "+(n.w||(Ka(n),n.w)||"").replace(/[\r\n]/g,"\\par "));t.push("\\cell")}t.push("\\pard\\intbl\\row")}return t.join("")+"}"}function Xo(e){var r=e.slice(e[0]==="#"?1:0).slice(0,6);return[parseInt(r.slice(0,2),16),parseInt(r.slice(2,4),16),parseInt(r.slice(4,6),16)]}function $o(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().slice(1)}function Go(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,l=0,o=n+i;l=s/(o>1?2-o:o);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,l,o/2]}function jo(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 l;if(t!==0)switch(f|0){case 0:;case 6:l=n*f;s[0]+=n;s[1]+=l;break;case 1:l=n*(2-f);s[0]+=l;s[1]+=n;break;case 2:l=n*(f-2);s[1]+=n;s[2]+=l;break;case 3:l=n*(4-f);s[1]+=l;s[2]+=n;break;case 4:l=n*(f-4);s[2]+=n;s[0]+=l;break;case 5:l=n*(6-f);s[2]+=l;s[0]+=n;break;}for(var o=0;o!=3;++o)s[o]=Math.round(s[o]*255);return s}function Ko(e,r){if(r===0)return e;var t=Go(Xo(e));if(r<0)t[2]=t[2]*(1+r);else t[2]=1-(1-t[2])*(1-r);return $o(jo(t))}var Yo=6,Zo=15,Jo=1,qo=Yo;function Qo(e){return Math.floor((e+Math.round(128/qo)/256)*qo)}function ec(e){return Math.floor((e-5)/qo*100+.5)/100}function rc(e){return Math.round((e*qo+5)/qo*256)/256}function tc(e){return rc(ec(Qo(e)))}function ac(e){var r=Math.abs(e-tc(e)),t=qo;if(r>.005)for(qo=Jo;qo<Zo;++qo)if(Math.abs(e-tc(e))<=r){r=Math.abs(e-tc(e));t=qo}qo=t}function nc(e){if(e.width){e.wpx=Qo(e.width);e.wch=ec(e.wpx);e.MDW=qo}else if(e.wpx){e.wch=ec(e.wpx);e.width=rc(e.wch);e.MDW=qo}else if(typeof e.wch=="number"){e.width=rc(e.wch);e.wpx=Qo(e.width);e.MDW=qo}if(e.customWidth)delete e.customWidth}var ic=96,sc=ic;function fc(e){return e*96/sc}function lc(e){return e*sc/96}var oc={None:"none",Solid:"solid",Gray50:"mediumGray",Gray75:"darkGray",Gray25:"lightGray",HorzStripe:"darkHorizontal",VertStripe:"darkVertical",ReverseDiagStripe:"darkDown",DiagStripe:"darkUp",DiagCross:"darkGrid",ThickDiagCross:"darkTrellis",ThinHorzStripe:"lightHorizontal",ThinVertStripe:"lightVertical",ThinReverseDiagStripe:"lightDown",ThinHorzCross:"lightGrid"};function cc(e,r,t,a){r.Borders=[];var n={};var i=false;(e[0].match(qr)||[]).forEach(function(e){var t=rt(e);switch(tt(t[0])){case"<borders":;case"<borders>":;case"</borders>":break;case"<border":;case"<border>":;case"<border/>":n={};if(t.diagonalUp)n.diagonalUp=pt(t.diagonalUp);if(t.diagonalDown)n.diagonalDown=pt(t.diagonalDown);r.Borders.push(n);break;case"</border>":break;case"<left/>":break;case"<left":;case"<left>":break;case"</left>":break;case"<right/>":break;case"<right":;case"<right>":break;case"</right>":break;case"<top/>":break;case"<top":;case"<top>":break;case"</top>":break;case"<bottom/>":break;case"<bottom":;case"<bottom>":break;case"</bottom>":break;case"<diagonal":;case"<diagonal>":;case"<diagonal/>":break;case"</diagonal>":break;case"<horizontal":;case"<horizontal>":;case"<horizontal/>":break;case"</horizontal>":break;case"<vertical":;case"<vertical>":;case"<vertical/>":break;case"</vertical>":break;case"<start":;case"<start>":;case"<start/>":break;case"</start>":break;case"<end":;case"<end>":;case"<end/>":break;case"</end>":break;case"<color":;case"<color>":break;case"<color/>":;case"</color>":break;case"<extLst":;case"<extLst>":;case"</extLst>":break;case"<ext":i=true;break;case"</ext>":i=false;break;default:if(a&&a.WTF){if(!i)throw new Error("unrecognized "+t[0]+" in borders")};}})}function hc(e,r,t,a){r.Fills=[];var n={};var i=false;(e[0].match(qr)||[]).forEach(function(e){var t=rt(e);switch(tt(t[0])){case"<fills":;case"<fills>":;case"</fills>":break;case"<fill>":;case"<fill":;case"<fill/>":n={};r.Fills.push(n);break;case"</fill>":break;case"<gradientFill>":break;case"<gradientFill":;case"</gradientFill>":r.Fills.push(n);n={};break;case"<patternFill":;case"<patternFill>":if(t.patternType)n.patternType=t.patternType;break;case"<patternFill/>":;case"</patternFill>":break;case"<bgColor":if(!n.bgColor)n.bgColor={};if(t.indexed)n.bgColor.indexed=parseInt(t.indexed,10);if(t.theme)n.bgColor.theme=parseInt(t.theme,10);if(t.tint)n.bgColor.tint=parseFloat(t.tint);if(t.rgb)n.bgColor.rgb=t.rgb.slice(-6);break;case"<bgColor/>":;case"</bgColor>":break;case"<fgColor":if(!n.fgColor)n.fgColor={};if(t.theme)n.fgColor.theme=parseInt(t.theme,10);if(t.tint)n.fgColor.tint=parseFloat(t.tint);if(t.rgb!=null)n.fgColor.rgb=t.rgb.slice(-6);break;case"<fgColor/>":;case"</fgColor>":break;case"<stop":;case"<stop/>":break;case"</stop>":break;case"<color":;case"<color/>":break;case"</color>":break;case"<extLst":;case"<extLst>":;case"</extLst>":break;case"<ext":i=true;break;case"</ext>":i=false;break;default:if(a&&a.WTF){if(!i)throw new Error("unrecognized "+t[0]+" in fills")};}})}function uc(e,r,t,a){r.Fonts=[];var n={};var s=false;(e[0].match(qr)||[]).forEach(function(e){var f=rt(e);switch(tt(f[0])){case"<fonts":;case"<fonts>":;case"</fonts>":break;case"<font":;case"<font>":break;case"</font>":;case"<font/>":r.Fonts.push(n);n={};break;case"<name":if(f.val)n.name=kt(f.val);break;case"<name/>":;case"</name>":break;case"<b":n.bold=f.val?pt(f.val):1;break;case"<b/>":n.bold=1;break;case"<i":n.italic=f.val?pt(f.val):1;break;case"<i/>":n.italic=1;break;case"<u":switch(f.val){case"none":n.underline=0;break;case"single":n.underline=1;break;case"double":n.underline=2;break;case"singleAccounting":n.underline=33;break;case"doubleAccounting":n.underline=34;break;}break;case"<u/>":n.underline=1;break;case"<strike":n.strike=f.val?pt(f.val):1;break;case"<strike/>":n.strike=1;break;case"<outline":n.outline=f.val?pt(f.val):1;break;case"<outline/>":n.outline=1; -break;case"<shadow":n.shadow=f.val?pt(f.val):1;break;case"<shadow/>":n.shadow=1;break;case"<condense":n.condense=f.val?pt(f.val):1;break;case"<condense/>":n.condense=1;break;case"<extend":n.extend=f.val?pt(f.val):1;break;case"<extend/>":n.extend=1;break;case"<sz":if(f.val)n.sz=+f.val;break;case"<sz/>":;case"</sz>":break;case"<vertAlign":if(f.val)n.vertAlign=f.val;break;case"<vertAlign/>":;case"</vertAlign>":break;case"<family":if(f.val)n.family=parseInt(f.val,10);break;case"<family/>":;case"</family>":break;case"<scheme":if(f.val)n.scheme=f.val;break;case"<scheme/>":;case"</scheme>":break;case"<charset":if(f.val=="1")break;f.codepage=i[parseInt(f.val,10)];break;case"<color":if(!n.color)n.color={};if(f.auto)n.color.auto=pt(f.auto);if(f.rgb)n.color.rgb=f.rgb.slice(-6);else if(f.indexed){n.color.index=parseInt(f.indexed,10);var l=ri[n.color.index];if(n.color.index==81)l=ri[1];if(!l)l=ri[1];n.color.rgb=l[0].toString(16)+l[1].toString(16)+l[2].toString(16)}else if(f.theme){n.color.theme=parseInt(f.theme,10);if(f.tint)n.color.tint=parseFloat(f.tint);if(f.theme&&t.themeElements&&t.themeElements.clrScheme){n.color.rgb=Ko(t.themeElements.clrScheme[n.color.theme].rgb,n.color.tint||0)}}break;case"<color/>":;case"</color>":break;case"<AlternateContent":s=true;break;case"</AlternateContent>":s=false;break;case"<extLst":;case"<extLst>":;case"</extLst>":break;case"<ext":s=true;break;case"</ext>":s=false;break;default:if(a&&a.WTF){if(!s)throw new Error("unrecognized "+f[0]+" in fonts")};}})}function dc(e,r,t){r.NumberFmt=[];var a=ir(q);for(var n=0;n<a.length;++n)r.NumberFmt[a[n]]=q[a[n]];var i=e[0].match(qr);if(!i)return;for(n=0;n<i.length;++n){var s=rt(i[n]);switch(tt(s[0])){case"<numFmts":;case"</numFmts>":;case"<numFmts/>":;case"<numFmts>":break;case"<numFmt":{var f=it(kt(s.formatCode)),l=parseInt(s.numFmtId,10);r.NumberFmt[l]=f;if(l>0){if(l>392){for(l=392;l>60;--l)if(r.NumberFmt[l]==null)break;r.NumberFmt[l]=f}Je(f,l)}}break;case"</numFmt>":break;default:if(t.WTF)throw new Error("unrecognized "+s[0]+" in numFmts");}}}function vc(e){var r=["<numFmts>"];[[5,8],[23,26],[41,44],[50,392]].forEach(function(t){for(var a=t[0];a<=t[1];++a)if(e[a]!=null)r[r.length]=It("numFmt",null,{numFmtId:a,formatCode:lt(e[a])})});if(r.length===1)return"";r[r.length]="</numFmts>";r[0]=It("numFmts",null,{count:r.length-2}).replace("/>",">");return r.join("")}var pc=["numFmtId","fillId","fontId","borderId","xfId"];var mc=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"];function gc(e,r,t){r.CellXf=[];var a;var n=false;(e[0].match(qr)||[]).forEach(function(e){var i=rt(e),s=0;switch(tt(i[0])){case"<cellXfs":;case"<cellXfs>":;case"<cellXfs/>":;case"</cellXfs>":break;case"<xf":;case"<xf/>":;case"<xf>":a=i;delete a[0];for(s=0;s<pc.length;++s)if(a[pc[s]])a[pc[s]]=parseInt(a[pc[s]],10);for(s=0;s<mc.length;++s)if(a[mc[s]])a[mc[s]]=pt(a[mc[s]]);if(r.NumberFmt&&a.numFmtId>392){for(s=392;s>60;--s)if(r.NumberFmt[a.numFmtId]==r.NumberFmt[s]){a.numFmtId=s;break}}r.CellXf.push(a);break;case"</xf>":break;case"<alignment":;case"<alignment/>":;case"<alignment>":var f={};if(i.vertical)f.vertical=i.vertical;if(i.horizontal)f.horizontal=i.horizontal;if(i.textRotation!=null)f.textRotation=i.textRotation;if(i.indent)f.indent=i.indent;if(i.wrapText)f.wrapText=pt(i.wrapText);a.alignment=f;break;case"</alignment>":break;case"<protection":;case"<protection>":break;case"</protection>":;case"<protection/>":break;case"<AlternateContent":;case"<AlternateContent>":n=true;break;case"</AlternateContent>":n=false;break;case"<extLst":;case"<extLst>":;case"</extLst>":break;case"<ext":n=true;break;case"</ext>":n=false;break;default:if(t&&t.WTF){if(!n)throw new Error("unrecognized "+i[0]+" in cellXfs")};}})}function bc(e){var r=[];r[r.length]=It("cellXfs",null);e.forEach(function(e){r[r.length]=It("xf",null,e)});r[r.length]="</cellXfs>";if(r.length===2)return"";r[0]=It("cellXfs",null,{count:r.length-2}).replace("/>",">");return r.join("")}var wc=function CT(){var e=/<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/;var r=/<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/;var t=/<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/;var a=/<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/;var n=/<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/;return function i(s,f,l){var o={};if(!s)return o;s=s.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"");var c;if(c=s.match(e))dc(c,o,l);if(c=s.match(a))uc(c,o,f,l);if(c=s.match(t))hc(c,o,f,l);if(c=s.match(n))cc(c,o,f,l);if(c=s.match(r))gc(c,o,l);return o}}();function kc(e,r){var t=[Kr,It("styleSheet",null,{xmlns:Mt[0],"xmlns:vt":Lt.vt})],a;if(e.SSF&&(a=vc(e.SSF))!=null)t[t.length]=a;t[t.length]='<fonts count="1"><font><sz val="12"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font></fonts>';t[t.length]='<fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills>';t[t.length]='<borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders>';t[t.length]='<cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs>';if(a=bc(r.cellXfs))t[t.length]=a;t[t.length]='<cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0"/></cellStyles>';t[t.length]='<dxfs count="0"/>';t[t.length]='<tableStyles count="0" defaultTableStyle="TableStyleMedium9" defaultPivotStyle="PivotStyleMedium4"/>';if(t.length>2){t[t.length]="</styleSheet>";t[1]=t[1].replace("/>",">")}return t.join("")}function Tc(e,r){var t=e._R(2);var a=rn(e,r-2);return[t,a]}function Ac(e,r,t){if(!t)t=ya(6+4*r.length);t._W(2,e);tn(r,t);var a=t.length>t.l?t.slice(0,t.l):t;if(t.l==null)t.l=t.length;return a}function yc(e,r,t){var a={};a.sz=e._R(2)/20;var n=In(e,2,t);if(n.fItalic)a.italic=1;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;var i=e._R(2);if(i===700)a.bold=1;switch(e._R(2)){case 1:a.vertAlign="superscript";break;case 2:a.vertAlign="subscript";break;}var s=e._R(1);if(s!=0)a.underline=s;var f=e._R(1);if(f>0)a.family=f;var l=e._R(1);if(l>0)a.charset=l;e.l++;a.color=On(e,8);switch(e._R(1)){case 1:a.scheme="major";break;case 2:a.scheme="minor";break;}a.name=rn(e,r-21);return a}function Ec(e,r){if(!r)r=ya(25+4*32);r._W(2,e.sz*20);Nn(e,r);r._W(2,e.bold?700:400);var t=0;if(e.vertAlign=="superscript")t=1;else if(e.vertAlign=="subscript")t=2;r._W(2,t);r._W(1,e.underline||0);r._W(1,e.family||0);r._W(1,e.charset||0);r._W(1,0);Rn(e.color,r);var a=0;if(e.scheme=="major")a=1;if(e.scheme=="minor")a=2;r._W(1,a);tn(e.name,r);return r.length>r.l?r.slice(0,r.l):r}var Cc=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];var _c;var Sc=Aa;function xc(e,r){if(!r)r=ya(4*3+8*7+16*1);if(!_c)_c=fr(Cc);var t=_c[e.patternType];if(t==null)t=40;r._W(4,t);var a=0;if(t!=40){Rn({auto:1},r);Rn({auto:1},r);for(;a<12;++a)r._W(4,0)}else{for(;a<4;++a)r._W(4,0);for(;a<12;++a)r._W(4,0)}return r.length>r.l?r.slice(0,r.l):r}function Oc(e,r){var t=e.l+r;var a=e._R(2);var n=e._R(2);e.l=t;return{ixfe:a,numFmtId:n}}function Rc(e,r,t){if(!t)t=ya(16);t._W(2,r||0);t._W(2,e.numFmtId||0);t._W(2,0);t._W(2,0);t._W(2,0);t._W(1,0);t._W(1,0);var a=0;t._W(1,a);t._W(1,0);t._W(1,0);t._W(1,0);return t}function Ic(e,r){if(!r)r=ya(10);r._W(1,0);r._W(1,0);r._W(4,0);r._W(4,0);return r}var Nc=Aa;function Fc(e,r){if(!r)r=ya(51);r._W(1,0);Ic(null,r);Ic(null,r);Ic(null,r);Ic(null,r);Ic(null,r);return r.length>r.l?r.slice(0,r.l):r}function Dc(e,r){if(!r)r=ya(12+4*10);r._W(4,e.xfId);r._W(2,1);r._W(1,+e.builtinId);r._W(1,0);gn(e.name||"",r);return r.length>r.l?r.slice(0,r.l):r}function Pc(e,r,t){var a=ya(4+256*2*4);a._W(4,e);gn(r,a);gn(t,a);return a.length>a.l?a.slice(0,a.l):a}function Lc(e,r,t){var a={};a.NumberFmt=[];for(var n in q)a.NumberFmt[n]=q[n];a.CellXf=[];a.Fonts=[];var i=[];var s=false;Ea(e,function f(e,n,l){switch(l){case 44:a.NumberFmt[e[0]]=e[1];Je(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=Ko(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]==617){a.CellXf.push(e)}break;case 48:;case 507:;case 572:;case 475:break;case 1171:;case 2102:;case 1130:;case 512:;case 2095:;case 3072:break;case 35:s=true;break;case 36:s=false;break;case 37:i.push(l);s=true;break;case 38:i.pop();s=false;break;default:if(n.T>0)i.push(l);else if(n.T<0)i.pop();else if(!s||t.WTF&&i[i.length-1]!=37)throw new Error("Unexpected record 0x"+l.toString(16));}});return a}function Mc(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;_a(e,615,en(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)_a(e,44,Ac(a,r[a]))});_a(e,616)}function Uc(e){var r=1;if(r==0)return;_a(e,611,en(r));_a(e,43,Ec({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}));_a(e,612)}function Bc(e){var r=2;if(r==0)return;_a(e,603,en(r));_a(e,45,xc({patternType:"none"}));_a(e,45,xc({patternType:"gray125"}));_a(e,604)}function Wc(e){var r=1;if(r==0)return;_a(e,613,en(r));_a(e,46,Fc({}));_a(e,614)}function zc(e){var r=1;_a(e,626,en(r));_a(e,47,Rc({numFmtId:0,fontId:0,fillId:0,borderId:0},65535));_a(e,627)}function Hc(e,r){_a(e,617,en(r.length));r.forEach(function(r){_a(e,47,Rc(r,0))});_a(e,618)}function Vc(e){var r=1;_a(e,619,en(r));_a(e,48,Dc({xfId:0,builtinId:0,name:"Normal"}));_a(e,620)}function Xc(e){var r=0;_a(e,505,en(r));_a(e,506)}function $c(e){var r=0;_a(e,508,Pc(r,"TableStyleMedium9","PivotStyleMedium4"));_a(e,509)}function Gc(){return}function jc(e,r){var t=Ca();_a(t,278);Mc(t,e.SSF);Uc(t,e);Bc(t,e);Wc(t,e);zc(t,e);Hc(t,r.cellXfs);Vc(t,e);Xc(t,e);$c(t,e);Gc(t,e);_a(t,279);return t.end()}var Kc=["</a:lt1>","</a:dk1>","</a:lt2>","</a:dk2>","</a:accent1>","</a:accent2>","</a:accent3>","</a:accent4>","</a:accent5>","</a:accent6>","</a:hlink>","</a:folHlink>"];function Yc(e,r,t){r.themeElements.clrScheme=[];var a={};(e[0].match(qr)||[]).forEach(function(e){var n=rt(e);switch(n[0]){case"<a:clrScheme":;case"</a:clrScheme>":break;case"<a:srgbClr":a.rgb=n.val;break;case"<a:sysClr":a.rgb=n.lastClr;break;case"<a:dk1>":;case"</a:dk1>":;case"<a:lt1>":;case"</a:lt1>":;case"<a:dk2>":;case"</a:dk2>":;case"<a:lt2>":;case"</a:lt2>":;case"<a:accent1>":;case"</a:accent1>":;case"<a:accent2>":;case"</a:accent2>":;case"<a:accent3>":;case"</a:accent3>":;case"<a:accent4>":;case"</a:accent4>":;case"<a:accent5>":;case"</a:accent5>":;case"<a:accent6>":;case"</a:accent6>":;case"<a:hlink>":;case"</a:hlink>":;case"<a:folHlink>":;case"</a:folHlink>":if(n[0].charAt(1)==="/"){r.themeElements.clrScheme[Kc.indexOf(n[0])]=a;a={}}else{a.name=n[0].slice(3,n[0].length-1)}break;default:if(t&&t.WTF)throw new Error("Unrecognized "+n[0]+" in clrScheme");}})}function Zc(){}function Jc(){}var qc=/<a:clrScheme([^>]*)>[\s\S]*<\/a:clrScheme>/;var Qc=/<a:fontScheme([^>]*)>[\s\S]*<\/a:fontScheme>/;var eh=/<a:fmtScheme([^>]*)>[\s\S]*<\/a:fmtScheme>/;function rh(e,r,t){r.themeElements={};var a;[["clrScheme",qc,Yc],["fontScheme",Qc,Zc],["fmtScheme",eh,Jc]].forEach(function(n){if(!(a=e.match(n[1])))throw new Error(n[0]+" not found in themeElements");n[2](a,r,t)})}var th=/<a:themeElements([^>]*)>[\s\S]*<\/a:themeElements>/;function ah(e,r){if(!e||e.length===0)e=nh();var t;var a={};if(!(t=e.match(th)))throw new Error("themeElements not found in theme");rh(t[0],a,r);a.raw=e;return a}function nh(e,r){if(r&&r.themeXLSX)return r.themeXLSX;if(e&&typeof e.raw=="string")return e.raw;var t=[Kr];t[t.length]='<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">';t[t.length]="<a:themeElements>";t[t.length]='<a:clrScheme name="Office">';t[t.length]='<a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1>';t[t.length]='<a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1>';t[t.length]='<a:dk2><a:srgbClr val="1F497D"/></a:dk2>';t[t.length]='<a:lt2><a:srgbClr val="EEECE1"/></a:lt2>';t[t.length]='<a:accent1><a:srgbClr val="4F81BD"/></a:accent1>';t[t.length]='<a:accent2><a:srgbClr val="C0504D"/></a:accent2>';t[t.length]='<a:accent3><a:srgbClr val="9BBB59"/></a:accent3>';t[t.length]='<a:accent4><a:srgbClr val="8064A2"/></a:accent4>';t[t.length]='<a:accent5><a:srgbClr val="4BACC6"/></a:accent5>';t[t.length]='<a:accent6><a:srgbClr val="F79646"/></a:accent6>';t[t.length]='<a:hlink><a:srgbClr val="0000FF"/></a:hlink>';t[t.length]='<a:folHlink><a:srgbClr val="800080"/></a:folHlink>';t[t.length]="</a:clrScheme>";t[t.length]='<a:fontScheme name="Office">';t[t.length]="<a:majorFont>";t[t.length]='<a:latin typeface="Cambria"/>';t[t.length]='<a:ea typeface=""/>';t[t.length]='<a:cs typeface=""/>';t[t.length]='<a:font script="Jpan" typeface="MS Pゴシック"/>';t[t.length]='<a:font script="Hang" typeface="맑은 고딕"/>';t[t.length]='<a:font script="Hans" typeface="宋体"/>';t[t.length]='<a:font script="Hant" typeface="新細明體"/>';t[t.length]='<a:font script="Arab" typeface="Times New Roman"/>';t[t.length]='<a:font script="Hebr" typeface="Times New Roman"/>';t[t.length]='<a:font script="Thai" typeface="Tahoma"/>';t[t.length]='<a:font script="Ethi" typeface="Nyala"/>';t[t.length]='<a:font script="Beng" typeface="Vrinda"/>';t[t.length]='<a:font script="Gujr" typeface="Shruti"/>';t[t.length]='<a:font script="Khmr" typeface="MoolBoran"/>';t[t.length]='<a:font script="Knda" typeface="Tunga"/>';t[t.length]='<a:font script="Guru" typeface="Raavi"/>';t[t.length]='<a:font script="Cans" typeface="Euphemia"/>';t[t.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>';t[t.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>';t[t.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>';t[t.length]='<a:font script="Thaa" typeface="MV Boli"/>';t[t.length]='<a:font script="Deva" typeface="Mangal"/>';t[t.length]='<a:font script="Telu" typeface="Gautami"/>';t[t.length]='<a:font script="Taml" typeface="Latha"/>';t[t.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>';t[t.length]='<a:font script="Orya" typeface="Kalinga"/>';t[t.length]='<a:font script="Mlym" typeface="Kartika"/>';t[t.length]='<a:font script="Laoo" typeface="DokChampa"/>';t[t.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>';t[t.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>';t[t.length]='<a:font script="Viet" typeface="Times New Roman"/>';t[t.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>';t[t.length]='<a:font script="Geor" typeface="Sylfaen"/>';t[t.length]="</a:majorFont>";t[t.length]="<a:minorFont>";t[t.length]='<a:latin typeface="Calibri"/>';t[t.length]='<a:ea typeface=""/>';t[t.length]='<a:cs typeface=""/>';t[t.length]='<a:font script="Jpan" typeface="MS Pゴシック"/>';t[t.length]='<a:font script="Hang" typeface="맑은 고딕"/>';t[t.length]='<a:font script="Hans" typeface="宋体"/>';t[t.length]='<a:font script="Hant" typeface="新細明體"/>';t[t.length]='<a:font script="Arab" typeface="Arial"/>';t[t.length]='<a:font script="Hebr" typeface="Arial"/>';t[t.length]='<a:font script="Thai" typeface="Tahoma"/>';t[t.length]='<a:font script="Ethi" typeface="Nyala"/>';t[t.length]='<a:font script="Beng" typeface="Vrinda"/>';t[t.length]='<a:font script="Gujr" typeface="Shruti"/>';t[t.length]='<a:font script="Khmr" typeface="DaunPenh"/>';t[t.length]='<a:font script="Knda" typeface="Tunga"/>';t[t.length]='<a:font script="Guru" typeface="Raavi"/>';t[t.length]='<a:font script="Cans" typeface="Euphemia"/>';t[t.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>';t[t.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>';t[t.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>';t[t.length]='<a:font script="Thaa" typeface="MV Boli"/>';t[t.length]='<a:font script="Deva" typeface="Mangal"/>';t[t.length]='<a:font script="Telu" typeface="Gautami"/>';t[t.length]='<a:font script="Taml" typeface="Latha"/>';t[t.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>';t[t.length]='<a:font script="Orya" typeface="Kalinga"/>';t[t.length]='<a:font script="Mlym" typeface="Kartika"/>';t[t.length]='<a:font script="Laoo" typeface="DokChampa"/>';t[t.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>';t[t.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>';t[t.length]='<a:font script="Viet" typeface="Arial"/>';t[t.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>';t[t.length]='<a:font script="Geor" typeface="Sylfaen"/>';t[t.length]="</a:minorFont>";t[t.length]="</a:fontScheme>";t[t.length]='<a:fmtScheme name="Office">';t[t.length]="<a:fillStyleLst>";t[t.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>';t[t.length]='<a:gradFill rotWithShape="1">';t[t.length]="<a:gsLst>";t[t.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="50000"/><a:satMod val="300000"/></a:schemeClr></a:gs>';t[t.length]='<a:gs pos="35000"><a:schemeClr val="phClr"><a:tint val="37000"/><a:satMod val="300000"/></a:schemeClr></a:gs>';t[t.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="15000"/><a:satMod val="350000"/></a:schemeClr></a:gs>';t[t.length]="</a:gsLst>";t[t.length]='<a:lin ang="16200000" scaled="1"/>';t[t.length]="</a:gradFill>";t[t.length]='<a:gradFill rotWithShape="1">';t[t.length]="<a:gsLst>";t[t.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="100000"/><a:shade val="100000"/><a:satMod val="130000"/></a:schemeClr></a:gs>';t[t.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="50000"/><a:shade val="100000"/><a:satMod val="350000"/></a:schemeClr></a:gs>';t[t.length]="</a:gsLst>";t[t.length]='<a:lin ang="16200000" scaled="0"/>';t[t.length]="</a:gradFill>";t[t.length]="</a:fillStyleLst>";t[t.length]="<a:lnStyleLst>";t[t.length]='<a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"><a:shade val="95000"/><a:satMod val="105000"/></a:schemeClr></a:solidFill><a:prstDash val="solid"/></a:ln>';t[t.length]='<a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>';t[t.length]='<a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>';t[t.length]="</a:lnStyleLst>";t[t.length]="<a:effectStyleLst>";t[t.length]="<a:effectStyle>";t[t.length]="<a:effectLst>";t[t.length]='<a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="38000"/></a:srgbClr></a:outerShdw>';t[t.length]="</a:effectLst>";t[t.length]="</a:effectStyle>";t[t.length]="<a:effectStyle>";t[t.length]="<a:effectLst>";t[t.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>';t[t.length]="</a:effectLst>";t[t.length]="</a:effectStyle>";t[t.length]="<a:effectStyle>";t[t.length]="<a:effectLst>";t[t.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>';t[t.length]="</a:effectLst>";t[t.length]='<a:scene3d><a:camera prst="orthographicFront"><a:rot lat="0" lon="0" rev="0"/></a:camera><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="1200000"/></a:lightRig></a:scene3d>';t[t.length]='<a:sp3d><a:bevelT w="63500" h="25400"/></a:sp3d>';t[t.length]="</a:effectStyle>";t[t.length]="</a:effectStyleLst>";t[t.length]="<a:bgFillStyleLst>";t[t.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>';t[t.length]='<a:gradFill rotWithShape="1">';t[t.length]="<a:gsLst>";t[t.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="40000"/><a:satMod val="350000"/></a:schemeClr></a:gs>';t[t.length]='<a:gs pos="40000"><a:schemeClr val="phClr"><a:tint val="45000"/><a:shade val="99000"/><a:satMod val="350000"/></a:schemeClr></a:gs>';t[t.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="20000"/><a:satMod val="255000"/></a:schemeClr></a:gs>';t[t.length]="</a:gsLst>";t[t.length]='<a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000"/></a:path>';t[t.length]="</a:gradFill>";t[t.length]='<a:gradFill rotWithShape="1">';t[t.length]="<a:gsLst>";t[t.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="80000"/><a:satMod val="300000"/></a:schemeClr></a:gs>';t[t.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="30000"/><a:satMod val="200000"/></a:schemeClr></a:gs>';t[t.length]="</a:gsLst>";t[t.length]='<a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000"/></a:path>';t[t.length]="</a:gradFill>";t[t.length]="</a:bgFillStyleLst>";t[t.length]="</a:fmtScheme>";t[t.length]="</a:themeElements>";t[t.length]="<a:objectDefaults>";t[t.length]="<a:spDef>";t[t.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="1"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="3"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="2"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="lt1"/></a:fontRef></a:style>';t[t.length]="</a:spDef>";t[t.length]="<a:lnDef>";t[t.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="2"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="0"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="1"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="tx1"/></a:fontRef></a:style>';t[t.length]="</a:lnDef>";t[t.length]="</a:objectDefaults>";t[t.length]="<a:extraClrSchemeLst/>";t[t.length]="</a:theme>";return t.join("")}function ih(e,r,t){var a=e.l+r;var n=e._R(4);if(n===124226)return;if(!t.cellStyles){e.l=a;return}var i=e.slice(e.l);e.l=a;var s;try{s=Gr(i,{type:"array"})}catch(f){return}var l=zr(s,"theme/theme/theme1.xml",true);if(!l)return;return ah(l,t)}function sh(e){return e._R(4)}function fh(e){var r={};r.xclrType=e._R(2);r.nTintShade=e._R(2);switch(r.xclrType){case 0:e.l+=4;break;case 1:r.xclrValue=lh(e,4);break;case 2:r.xclrValue=Fs(e,4);break;case 3:r.xclrValue=sh(e,4);break;case 4:e.l+=4;break;}e.l+=8;return r}function lh(e,r){return Aa(e,r)}function oh(e,r){return Aa(e,r)}function ch(e){var r=e._R(2);var t=e._R(2)-4;var a=[r];switch(r){case 4:;case 5:;case 7:;case 8:;case 9:;case 10:;case 11:;case 13:a[1]=fh(e,t);break;case 6:a[1]=oh(e,t);break;case 14:;case 15:a[1]=e._R(t===1?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+r+" "+t);}return a}function hh(e,r){var t=e.l+r;e.l+=2;var a=e._R(2);e.l+=2;var n=e._R(2);var i=[];while(n-- >0)i.push(ch(e,t-e.l));return{ixfe:a,ext:i}}function uh(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 dh(e,r){return{flags:e._R(4),version:e._R(4),name:rn(e,r-8)}}function vh(e){var r=ya(12+2*e.name.length);r._W(4,e.flags);r._W(4,e.version);tn(e.name,r);return r.slice(0,r.l)}function ph(e){var r=[];var t=e._R(4);while(t-- >0)r.push([e._R(4),e._R(4)]);return r}function mh(e){var r=ya(4+8*e.length);r._W(4,e.length);for(var t=0;t<e.length;++t){r._W(4,e[t][0]);r._W(4,e[t][1])}return r}function gh(e,r){var t=ya(8+2*r.length);t._W(4,e);tn(r,t);return t.slice(0,t.l)}function bh(e){e.l+=4;return e._R(4)!=0}function wh(e,r){var t=ya(8);t._W(4,e);t._W(4,r?1:0);return t}function kh(e,r,t){var a={Types:[],Cell:[],Value:[]};var n=t||{};var i=[];var s=false;var f=2;Ea(e,function(e,r,t){switch(t){case 335:a.Types.push({name:e.name});break;case 51:e.forEach(function(e){if(f==1)a.Cell.push({type:a.Types[e[0]-1].name,index:e[1]});else if(f==0)a.Value.push({type:a.Types[e[0]-1].name,index:e[1]})});break;case 337:f=e?1:0;break;case 338:f=2;break;case 35:i.push(t);s=true;break;case 36:i.pop();s=false;break;default:if(r.T){}else if(!s||n.WTF&&i[i.length-1]!=35)throw new Error("Unexpected record 0x"+t.toString(16));}});return a}function Th(){var e=Ca();_a(e,332);_a(e,334,en(1));_a(e,335,vh({name:"XLDAPR",version:12e4,flags:3496657072}));_a(e,336);_a(e,339,gh(1,"XLDAPR"));_a(e,52);_a(e,35,en(514));_a(e,4096,en(0));_a(e,4097,vs(1));_a(e,36);_a(e,53);_a(e,340);_a(e,337,wh(1,true));_a(e,51,mh([[1,0]]));_a(e,338);_a(e,333);return e.end()}function Ah(e,r,t){var a={Types:[],Cell:[],Value:[]};if(!e)return a;var n=false;var i=2;var s;e.replace(qr,function(e){var r=rt(e);switch(tt(r[0])){case"<?xml":break;case"<metadata":;case"</metadata>":break;case"<metadataTypes":;case"</metadataTypes>":break;case"<metadataType":a.Types.push({name:r.name});break;case"</metadataType>":break;case"<futureMetadata":for(var f=0;f<a.Types.length;++f)if(a.Types[f].name==r.name)s=a.Types[f];break;case"</futureMetadata>":break;case"<bk>":break;case"</bk>":break;case"<rc":if(i==1)a.Cell.push({type:a.Types[r.t-1].name,index:+r.v});else if(i==0)a.Value.push({type:a.Types[r.t-1].name,index:+r.v});break;case"</rc>":break;case"<cellMetadata":i=1;break;case"</cellMetadata>":i=2;break;case"<valueMetadata":i=0;break;case"</valueMetadata>":i=2;break;case"<extLst":;case"<extLst>":;case"</extLst>":;case"<extLst/>":break;case"<ext":n=true;break;case"</ext>":n=false;break;case"<rvb":if(!s)break;if(!s.offsets)s.offsets=[];s.offsets.push(+r.i);break;default:if(!n&&(t==null?void 0:t.WTF))throw new Error("unrecognized "+r[0]+" in metadata");}return e});return a}function yh(){var e=[Kr];e.push('<metadata xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:xlrd="http://schemas.microsoft.com/office/spreadsheetml/2017/richdata" xmlns:xda="http://schemas.microsoft.com/office/spreadsheetml/2017/dynamicarray">\n <metadataTypes count="1">\n <metadataType name="XLDAPR" minSupportedVersion="120000" copy="1" pasteAll="1" pasteValues="1" merge="1" splitFirst="1" rowColShift="1" clearFormats="1" clearComments="1" assign="1" coerce="1" cellMeta="1"/>\n </metadataTypes>\n <futureMetadata name="XLDAPR" count="1">\n <bk>\n <extLst>\n <ext uri="{bdbb8cdc-fa1e-496e-a857-3c3f30c029c3}">\n <xda:dynamicArrayProperties fDynamic="1" fCollapsed="0"/>\n </ext>\n </extLst>\n </bk>\n </futureMetadata>\n <cellMetadata count="1">\n <bk>\n <rc t="1" v="0"/>\n </bk>\n </cellMetadata>\n</metadata>');return e.join("")}function Eh(e){var r=[];if(!e)return r;var t=1;(e.match(qr)||[]).forEach(function(e){var a=rt(e);switch(a[0]){case"<?xml":break;case"<calcChain":;case"<calcChain>":;case"</calcChain>":break;case"<c":delete a[0];if(a.i)t=a.i;else a.i=t;r.push(a);break;}});return r}function Ch(e){var r={};r.i=e._R(4);var t={};t.r=e._R(4);t.c=e._R(4);r.r=za(t);var a=e._R(1);if(a&2)r.l="1";if(a&8)r.a="1";return r}function _h(e,r,t){var a=[];var n=false;Ea(e,function i(e,r,s){switch(s){case 63:a.push(e);break;default:if(r.T){}else if(!n||t.WTF)throw new Error("Unexpected record 0x"+s.toString(16));}});return a}function Sh(){}function xh(e,r,t,a){if(!e)return e;var n=a||{};var i=false,s=false;Ea(e,function f(e,r,t){if(s)return;switch(t){case 359:;case 363:;case 364:;case 366:;case 367:;case 368:;case 369:;case 370:;case 371:;case 472:;case 577:;case 578:;case 579:;case 580:;case 581:;case 582:;case 583:;case 584:;case 585:;case 586:;case 587:break;case 35:i=true;break;case 36:i=false;break;default:if(r.T){}else if(!i||n.WTF)throw new Error("Unexpected record 0x"+t.toString(16));}},n)}function Oh(e,r){if(!e)return"??";var t=(e.match(/<c:chart [^>]*r:id="([^"]*)"/)||["",""])[1];return r["!id"][t].Target}var Rh=/<(?:\w+:)?shape(?:[^\w][^>]*)?>([\s\S]*?)<\/(?:\w+:)?shape>/g;function Ih(e,r,t){var a=0;(e.match(Rh)||[]).forEach(function(e){var n="";var i=true;var s=-1;var f=-1,l=-1;e.replace(qr,function(r,t){var a=rt(r);switch(tt(a[0])){case"<ClientData":if(a.ObjectType)n=a.ObjectType;break;case"<Visible":;case"<Visible/>":i=false;break;case"<Row":;case"<Row>":s=t+r.length;break;case"</Row>":f=+e.slice(s,t).trim();break;case"<Column":;case"<Column>":s=t+r.length;break;case"</Column>":l=+e.slice(s,t).trim();break;}return""});switch(n){case"Note":var o=$k(r,f>=0&&l>=0?za({r:f,c:l}):t[a].ref);if(o.c){o.c.hidden=i}++a;break;}})}function Nh(e,r,t){var a=[21600,21600];var n=["m0,0l0",a[1],a[0],a[1],a[0],"0xe"].join(",");var i=[It("xml",null,{"xmlns:v":Ut.v,"xmlns:o":Ut.o,"xmlns:x":Ut.x,"xmlns:mv":Ut.mv}).replace(/\/>/,">"),It("o:shapelayout",It("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"})];var s=65536*e;var f=r||[];if(f.length>0)i.push(It("v:shapetype",[It("v:stroke",null,{joinstyle:"miter"}),It("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202",coordsize:a.join(","),"o:spt":202,path:n}));f.forEach(function(e){++s;i.push(Fh(e,s))});i.push("</xml>");return i.join("")}function Fh(e,r,t){var a=Wa(e[0]);var n={color2:"#BEFF82",type:"gradient"};if(n.type=="gradient")n.angle="-180";var i=n.type=="gradient"?It("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null;var s=It("v:fill",i,n);var f={on:"t",obscured:"t"};return["<v:shape"+Rt({id:"_x0000_s"+r,type:"#_x0000_t202",style:"position:absolute; margin-left:80pt;margin-top:5pt;width:104pt;height:64pt;z-index:10"+(e[1].hidden?";visibility:hidden":""),fillcolor:"#ECFAD4",strokecolor:"#edeaa1"})+">",s,It("v:shadow",null,f),It("v:path",null,{"o:connecttype":"none"}),'<v:textbox><div style="text-align:left"></div></v:textbox>','<x:ClientData ObjectType="Note">',"<x:MoveWithCells/>","<x:SizeWithCells/>",Ot("x:Anchor",[a.c+1,0,a.r+1,0,a.c+3,20,a.r+5,20].join(",")),Ot("x:AutoFill","False"),Ot("x:Row",String(a.r)),Ot("x:Column",String(a.c)),e[1].hidden?"":"<x:Visible/>","</x:ClientData>","</v:shape>"].join("")}function Dh(e,r,t,a){var n=e["!data"]!=null;var i;r.forEach(function(r){var s=Wa(r.ref);if(s.r<0||s.c<0)return;if(n){if(!e["!data"][s.r])e["!data"][s.r]=[];i=e["!data"][s.r][s.c]}else i=e[r.ref];if(!i){i={t:"z"};if(n)e["!data"][s.r][s.c]=i;else e[r.ref]=i;var f=Ga(e["!ref"]||"BDWGO1000001:A1");if(f.s.r>s.r)f.s.r=s.r;if(f.e.r<s.r)f.e.r=s.r;if(f.s.c>s.c)f.s.c=s.c;if(f.e.c<s.c)f.e.c=s.c;var l=Va(f);e["!ref"]=l}if(!i.c)i.c=[];var o={a:r.author,t:r.t,r:r.r,T:t};if(r.h)o.h=r.h;for(var c=i.c.length-1;c>=0;--c){if(!t&&i.c[c].T)return;if(t&&!i.c[c].T)i.c.splice(c,1)}if(t&&a)for(c=0;c<a.length;++c){if(o.a==a[c].id){o.a=a[c].name||o.a;break}}i.c.push(o)})}function Ph(e,r){if(e.match(/<(?:\w+:)?comments *\/>/))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){if(e===""||e.trim()==="")return;var n=e.match(/<(?:\w+:)?comment[^>]*>/);if(!n)return;var i=rt(n[0]);var s={author:i.authorId&&t[i.authorId]||"sheetjsghost",ref:i.ref,guid:i.guid};var f=Wa(i.ref);if(r.sheetRows&&r.sheetRows<=f.r)return;var l=e.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/);var o=!!l&&!!l[1]&&no(l[1])||{r:"",t:"",h:""};s.r=o.r;if(o.r=="<t></t>")o.t=o.h="";s.t=(o.t||"").replace(/\r\n/g,"\n").replace(/\r/g,"\n");if(r.cellHTML)s.h=o.h; -a.push(s)});return a}function Lh(e){var r=[Kr,It("comments",null,{xmlns:Mt[0]})];var t=[];r.push("<authors>");e.forEach(function(e){e[1].forEach(function(e){var a=lt(e.a);if(t.indexOf(a)==-1){t.push(a);r.push("<author>"+a+"</author>")}if(e.T&&e.ID&&t.indexOf("tc="+e.ID)==-1){t.push("tc="+e.ID);r.push("<author>"+"tc="+e.ID+"</author>")}})});if(t.length==0){t.push("SheetJ5");r.push("<author>SheetJ5</author>")}r.push("</authors>");r.push("<commentList>");e.forEach(function(e){var a=0,n=[],i=0;if(e[1][0]&&e[1][0].T&&e[1][0].ID)a=t.indexOf("tc="+e[1][0].ID);e[1].forEach(function(e){if(e.a)a=t.indexOf(lt(e.a));if(e.T)++i;n.push(e.t==null?"":lt(e.t))});if(i===0){e[1].forEach(function(a){r.push('<comment ref="'+e[0]+'" authorId="'+t.indexOf(lt(a.a))+'"><text>');r.push(Ot("t",a.t==null?"":lt(a.t)));r.push("</text></comment>")})}else{if(e[1][0]&&e[1][0].T&&e[1][0].ID)a=t.indexOf("tc="+e[1][0].ID);r.push('<comment ref="'+e[0]+'" authorId="'+a+'"><text>');var s="Comment:\n "+n[0]+"\n";for(var f=1;f<n.length;++f)s+="Reply:\n "+n[f]+"\n";r.push(Ot("t",lt(s)));r.push("</text></comment>")}});r.push("</commentList>");if(r.length>2){r[r.length]="</comments>";r[1]=r[1].replace("/>",">")}return r.join("")}function Mh(e,r){var t=[];var a=false,n={},i=0;e.replace(qr,function s(f,l){var o=rt(f);switch(tt(o[0])){case"<?xml":break;case"<ThreadedComments":break;case"</ThreadedComments>":break;case"<threadedComment":n={author:o.personId,guid:o.id,ref:o.ref,T:1};break;case"</threadedComment>":if(n.t!=null)t.push(n);break;case"<text>":;case"<text":i=l+f.length;break;case"</text>":n.t=e.slice(i,l).replace(/\r\n/g,"\n").replace(/\r/g,"\n");break;case"<mentions":;case"<mentions>":a=true;break;case"</mentions>":a=false;break;case"<extLst":;case"<extLst>":;case"</extLst>":;case"<extLst/>":break;case"<ext":a=true;break;case"</ext>":a=false;break;default:if(!a&&r.WTF)throw new Error("unrecognized "+o[0]+" in threaded comments");}return f});return t}function Uh(e,r,t){var a=[Kr,It("ThreadedComments",null,{xmlns:Lt.TCMNT}).replace(/[\/]>/,">")];e.forEach(function(e){var n="";(e[1]||[]).forEach(function(i,s){if(!i.T){delete i.ID;return}if(i.a&&r.indexOf(i.a)==-1)r.push(i.a);var f={ref:e[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+t.tcid++).slice(-12)+"}"};if(s==0)n=f.id;else f.parentId=n;i.ID=f.id;if(i.a)f.personId="{54EE7950-7262-4200-6969-"+("000000000000"+r.indexOf(i.a)).slice(-12)+"}";a.push(It("threadedComment",Ot("text",i.t||""),f))})});a.push("</ThreadedComments>");return a.join("")}function Bh(e,r){var t=[];var a=false;e.replace(qr,function n(e){var n=rt(e);switch(tt(n[0])){case"<?xml":break;case"<personList":break;case"</personList>":break;case"<person":t.push({name:n.displayname,id:n.id});break;case"</person>":break;case"<extLst":;case"<extLst>":;case"</extLst>":;case"<extLst/>":break;case"<ext":a=true;break;case"</ext>":a=false;break;default:if(!a&&r.WTF)throw new Error("unrecognized "+n[0]+" in threaded comments");}return e});return t}function Wh(e){var r=[Kr,It("personList",null,{xmlns:Lt.TCMNT,"xmlns:x":Mt[0]}).replace(/[\/]>/,">")];e.forEach(function(e,t){r.push(It("person",null,{displayName:e,id:"{54EE7950-7262-4200-6969-"+("000000000000"+t).slice(-12)+"}",userId:e,providerId:"None"}))});r.push("</personList>");return r.join("")}function zh(e){var r={};r.iauthor=e._R(4);var t=Cn(e,16);r.rfx=t.s;r.ref=za(t.s);e.l+=16;return r}function Hh(e,r){if(r==null)r=ya(36);r._W(4,e[1].iauthor);_n(e[0],r);r._W(4,0);r._W(4,0);r._W(4,0);r._W(4,0);return r}var Vh=rn;function Xh(e){return tn(e.slice(0,54))}function $h(e,r){var t=[];var a=[];var n={};var i=false;Ea(e,function s(e,f,l){switch(l){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&&n.rfx&&r.sheetRows<=n.rfx.r)break;if(!n.t)n.t="";delete n.rfx;t.push(n);break;case 3072:break;case 35:i=true;break;case 36:i=false;break;case 37:break;case 38:break;default:if(f.T){}else if(!i||r.WTF)throw new Error("Unexpected record 0x"+l.toString(16));}});return t}function Gh(e){var r=Ca();var t=[];_a(r,628);_a(r,630);e.forEach(function(e){e[1].forEach(function(e){if(t.indexOf(e.a)>-1)return;t.push(e.a.slice(0,54));_a(r,632,Xh(e.a));if(e.T&&e.ID&&t.indexOf("tc="+e.ID)==-1){t.push("tc="+e.ID);_a(r,632,Xh("tc="+e.ID))}})});_a(r,631);_a(r,633);e.forEach(function(e){e[1].forEach(function(a){var n=-1;if(a.ID)n=t.indexOf("tc="+a.ID);if(n==-1&&e[1][0].T&&e[1][0].ID)n=t.indexOf("tc="+e[1][0].ID);if(n==-1)n=t.indexOf(a.a);a.iauthor=n;var i={s:Wa(e[0]),e:Wa(e[0])};_a(r,635,Hh([i,a]));if(a.t&&a.t.length>0)_a(r,637,on(a));_a(r,636);delete a.iauthor})});_a(r,634);_a(r,629);return r.end()}var jh="application/vnd.ms-office.vbaProject";function Kh(e){var r=Qe.utils.cfb_new({root:"R"});e.FullPaths.forEach(function(t,a){if(t.slice(-1)==="/"||!t.match(/_VBA_PROJECT_CUR/))return;var n=t.replace(/^[^\/]*/,"R").replace(/\/_VBA_PROJECT_CUR\u0000*/,"");Qe.utils.cfb_add(r,n,e.FileIndex[a].content)});return Qe.write(r)}function Yh(e,r){r.FullPaths.forEach(function(t,a){if(a==0)return;var n=t.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");if(n.slice(-1)!=="/")Qe.utils.cfb_add(e,n,r.FileIndex[a].content)})}var Zh=["xlsb","xlsm","xlam","biff8","xla"];function Jh(){return{"!type":"dialog"}}function qh(){return{"!type":"dialog"}}function Qh(){return{"!type":"macro"}}function eu(){return{"!type":"macro"}}var ru=function(){var e=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g;var r={r:0,c:0};function t(e,t,a,n){var i=false,s=false;if(a.length==0)s=true;else if(a.charAt(0)=="["){s=true;a=a.slice(1,-1)}if(n.length==0)i=true;else if(n.charAt(0)=="["){i=true;n=n.slice(1,-1)}var f=a.length>0?parseInt(a,10)|0:0,l=n.length>0?parseInt(n,10)|0:0;if(i)l+=r.c;else--l;if(s)f+=r.r;else--f;return t+(i?"":"$")+La(l)+(s?"":"$")+Na(f)}return function a(n,i){r=i;return n.replace(e,t)}}();var tu=/(^|[^._A-Z0-9])(\$?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])(\$?)(\d{1,7})(?![_.\(A-Za-z0-9])/g;try{tu=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g}catch(au){}var nu=function(){return function e(r,t){return r.replace(tu,function(e,r,a,n,i,s){var f=Pa(n)-(a?0:t.c);var l=Ia(s)-(i?0:t.r);var o=i=="$"?l+1:l==0?"":"["+l+"]";var c=a=="$"?f+1:f==0?"":"["+f+"]";return r+"R"+o+"C"+c})}}();function iu(e,r){return e.replace(tu,function(e,t,a,n,i,s){return t+(a=="$"?a+n:La(Pa(n)+r.c))+(i=="$"?i+s:Na(Ia(s)+r.r))})}function su(e,r,t){var a=Ha(r),n=a.s,i=Wa(t);var s={r:i.r-n.r,c:i.c-n.c};return iu(e,s)}function fu(e){if(e.length==1)return false;return true}function lu(e){return e.replace(/_xlfn\./g,"")}function ou(e){e.l+=1;return}function cu(e,r){var t=e._R(r==1?1:2);return[t&16383,t>>14&1,t>>15&1]}function hu(e,r,t){var a=2;if(t){if(t.biff>=2&&t.biff<=5)return uu(e,r,t);else if(t.biff==12)a=4}var n=e._R(a),i=e._R(a);var s=cu(e,2);var f=cu(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 uu(e){var r=cu(e,2),t=cu(e,2);var a=e._R(1);var n=e._R(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 du(e,r,t){if(t.biff<8)return uu(e,r,t);var a=e._R(t.biff==12?4:2),n=e._R(t.biff==12?4:2);var i=cu(e,2);var s=cu(e,2);return{s:{r:a,c:i[0],cRel:i[1],rRel:i[2]},e:{r:n,c:s[0],cRel:s[1],rRel:s[2]}}}function vu(e,r,t){if(t&&t.biff>=2&&t.biff<=5)return pu(e,r,t);var a=e._R(t&&t.biff==12?4:2);var n=cu(e,2);return{r:a,c:n[0],cRel:n[1],rRel:n[2]}}function pu(e){var r=cu(e,2);var t=e._R(1);return{r:r[0],c:t,cRel:r[1],rRel:r[2]}}function mu(e){var r=e._R(2);var t=e._R(2);return{r:r,c:t&255,fQuoted:!!(t&16384),cRel:t>>15,rRel:t>>15}}function gu(e,r,t){var a=t&&t.biff?t.biff:8;if(a>=2&&a<=5)return bu(e,r,t);var n=e._R(a>=12?4:2);var i=e._R(2);var s=(i&16384)>>14,f=(i&32768)>>15;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 bu(e){var r=e._R(2);var t=e._R(1);var a=(r&32768)>>15,n=(r&16384)>>14;r&=16383;if(a==1&&r>=8192)r=r-16384;if(n==1&&t>=128)t=t-256;return{r:r,c:t,cRel:n,rRel:a}}function wu(e,r,t){var a=(e[e.l++]&96)>>5;var n=hu(e,t.biff>=2&&t.biff<=5?6:8,t);return[a,n]}function ku(e,r,t){var a=(e[e.l++]&96)>>5;var n=e._R(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=hu(e,i,t);return[a,n,s]}function Tu(e,r,t){var a=(e[e.l++]&96)>>5;e.l+=t&&t.biff>8?12:t.biff<8?6:8;return[a]}function Au(e,r,t){var a=(e[e.l++]&96)>>5;var n=e._R(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 yu(e,r,t){var a=(e[e.l++]&96)>>5;var n=du(e,r-1,t);return[a,n]}function Eu(e,r,t){var a=(e[e.l++]&96)>>5;e.l+=t.biff==2?6:t.biff==12?14:7;return[a]}function Cu(e){var r=e[e.l+1]&1;var t=1;e.l+=4;return[r,t]}function _u(e,r,t){e.l+=2;var a=e._R(t&&t.biff==2?1:2);var n=[];for(var i=0;i<=a;++i)n.push(e._R(t&&t.biff==2?1:2));return n}function Su(e,r,t){var a=e[e.l+1]&255?1:0;e.l+=2;return[a,e._R(t&&t.biff==2?1:2)]}function xu(e,r,t){var a=e[e.l+1]&255?1:0;e.l+=2;return[a,e._R(t&&t.biff==2?1:2)]}function Ou(e){var r=e[e.l+1]&255?1:0;e.l+=2;return[r,e._R(2)]}function Ru(e,r,t){var a=e[e.l+1]&255?1:0;e.l+=t&&t.biff==2?3:4;return[a]}function Iu(e){var r=e._R(1),t=e._R(1);return[r,t]}function Nu(e){e._R(2);return Iu(e,2)}function Fu(e){e._R(2);return Iu(e,2)}function Du(e,r,t){var a=(e[e.l]&96)>>5;e.l+=1;var n=vu(e,0,t);return[a,n]}function Pu(e,r,t){var a=(e[e.l]&96)>>5;e.l+=1;var n=gu(e,0,t);return[a,n]}function Lu(e,r,t){var a=(e[e.l]&96)>>5;e.l+=1;var n=e._R(2);if(t&&t.biff==5)e.l+=12;var i=vu(e,0,t);return[a,n,i]}function Mu(e,r,t){var a=(e[e.l]&96)>>5;e.l+=1;var n=e._R(t&&t.biff<=3?1:2);return[hv[n],cv[n],a]}function Uu(e,r,t){var a=e[e.l++];var n=e._R(1),i=t&&t.biff<=3?[a==88?-1:0,e._R(1)]:Bu(e);return[n,(i[0]===0?cv:ov)[i[1]]]}function Bu(e){return[e[e.l+1]>>7,e._R(2)&32767]}function Wu(e,r,t){e.l+=t&&t.biff==2?3:4;return}function zu(e,r,t){e.l++;if(t&&t.biff==12)return[e._R(4,"i"),0];var a=e._R(2);var n=e._R(t&&t.biff==2?1:2);return[a,n]}function Hu(e){e.l++;return ti[e._R(1)]}function Vu(e){e.l++;return e._R(2)}function Xu(e){e.l++;return e._R(1)!==0}function $u(e){e.l++;return Sn(e,8)}function Gu(e,r,t){e.l++;return bs(e,r-1,t)}function ju(e,r){var t=[e._R(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]=hs(e,1)?"TRUE":"FALSE";if(r!=12)e.l+=7;break;case 37:;case 16:t[1]=ti[e[e.l]];e.l+=r==12?4:8;break;case 0:e.l+=8;break;case 1:t[1]=Sn(e,8);break;case 2:t[1]=ys(e,0,{biff:r>0&&r<8?2:r});break;default:throw new Error("Bad SerAr: "+t[0]);}return t}function Ku(e,r,t){var a=e._R(t.biff==12?4:2);var n=[];for(var i=0;i!=a;++i)n.push((t.biff==12?Cn:Hs)(e,8));return n}function Yu(e,r,t){var a=0,n=0;if(t.biff==12){a=e._R(4);n=e._R(4)}else{n=1+e._R(1);a=1+e._R(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]=ju(e,t.biff);return s}function Zu(e,r,t){var a=e._R(1)>>>5&3;var n=!t||t.biff>=8?4:2;var i=e._R(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 Ju(e,r,t){if(t.biff==5)return qu(e,r,t);var a=e._R(1)>>>5&3;var n=e._R(2);var i=e._R(4);return[a,n,i]}function qu(e){var r=e._R(1)>>>5&3;var t=e._R(2,"i");e.l+=8;var a=e._R(2);e.l+=12;return[r,t,a]}function Qu(e,r,t){var a=e._R(1)>>>5&3;e.l+=t&&t.biff==2?3:4;var n=e._R(t&&t.biff==2?1:2);return[a,n]}function ed(e,r,t){var a=e._R(1)>>>5&3;var n=e._R(t&&t.biff==2?1:2);return[a,n]}function rd(e,r,t){var a=e._R(1)>>>5&3;e.l+=4;if(t.biff<8)e.l--;if(t.biff==12)e.l+=2;return[a]}function td(e,r,t){var a=(e[e.l++]&96)>>5;var n=e._R(2);var i=4;if(t)switch(t.biff){case 5:i=15;break;case 12:i=6;break;}e.l+=i;return[a,n]}var ad=Aa;var nd=Aa;var id=Aa;function sd(e,r,t){e.l+=2;return[mu(e,4,t)]}function fd(e){e.l+=6;return[]}var ld=sd;var od=fd;var cd=fd;var hd=sd;function ud(e){e.l+=2;return[ds(e),e._R(2)&1]}var dd=sd;var vd=ud;var pd=fd;var md=sd;var gd=sd;var bd=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];function wd(e){e.l+=2;var r=e._R(2);var t=e._R(2);var a=e._R(4);var n=e._R(2);var i=e._R(2);var s=bd[t>>2&31];return{ixti:r,coltype:t&3,rt:s,idx:a,c:n,C:i}}function kd(e){e.l+=2;return[e._R(4)]}function Td(e,r,t){e.l+=5;e.l+=2;e.l+=t.biff==2?1:4;return["PTGSHEET"]}function Ad(e,r,t){e.l+=t.biff==2?4:5;return["PTGENDSHEET"]}function yd(e){var r=e._R(1)>>>5&3;var t=e._R(2);return[r,t]}function Ed(e){var r=e._R(1)>>>5&3;var t=e._R(2);return[r,t]}function Cd(e){e.l+=4;return[0,0]}var _d={1:{n:"PtgExp",f:zu},2:{n:"PtgTbl",f:id},3:{n:"PtgAdd",f:ou},4:{n:"PtgSub",f:ou},5:{n:"PtgMul",f:ou},6:{n:"PtgDiv",f:ou},7:{n:"PtgPower",f:ou},8:{n:"PtgConcat",f:ou},9:{n:"PtgLt",f:ou},10:{n:"PtgLe",f:ou},11:{n:"PtgEq",f:ou},12:{n:"PtgGe",f:ou},13:{n:"PtgGt",f:ou},14:{n:"PtgNe",f:ou},15:{n:"PtgIsect",f:ou},16:{n:"PtgUnion",f:ou},17:{n:"PtgRange",f:ou},18:{n:"PtgUplus",f:ou},19:{n:"PtgUminus",f:ou},20:{n:"PtgPercent",f:ou},21:{n:"PtgParen",f:ou},22:{n:"PtgMissArg",f:ou},23:{n:"PtgStr",f:Gu},26:{n:"PtgSheet",f:Td},27:{n:"PtgEndSheet",f:Ad},28:{n:"PtgErr",f:Hu},29:{n:"PtgBool",f:Xu},30:{n:"PtgInt",f:Vu},31:{n:"PtgNum",f:$u},32:{n:"PtgArray",f:Eu},33:{n:"PtgFunc",f:Mu},34:{n:"PtgFuncVar",f:Uu},35:{n:"PtgName",f:Zu},36:{n:"PtgRef",f:Du},37:{n:"PtgArea",f:wu},38:{n:"PtgMemArea",f:Qu},39:{n:"PtgMemErr",f:ad},40:{n:"PtgMemNoMem",f:nd},41:{n:"PtgMemFunc",f:ed},42:{n:"PtgRefErr",f:rd},43:{n:"PtgAreaErr",f:Tu},44:{n:"PtgRefN",f:Pu},45:{n:"PtgAreaN",f:yu},46:{n:"PtgMemAreaN",f:yd},47:{n:"PtgMemNoMemN",f:Ed},57:{n:"PtgNameX",f:Ju},58:{n:"PtgRef3d",f:Lu},59:{n:"PtgArea3d",f:ku},60:{n:"PtgRefErr3d",f:td},61:{n:"PtgAreaErr3d",f:Au},255:{}};var Sd={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,78:46,110:46,79:47,111:47,88:34,120:34,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61};var xd={1:{n:"PtgElfLel",f:ud},2:{n:"PtgElfRw",f:md},3:{n:"PtgElfCol",f:ld},6:{n:"PtgElfRwV",f:gd},7:{n:"PtgElfColV",f:hd},10:{n:"PtgElfRadical",f:dd},11:{n:"PtgElfRadicalS",f:pd},13:{n:"PtgElfColS",f:od},15:{n:"PtgElfColSV",f:cd},16:{n:"PtgElfRadicalLel",f:vd},25:{n:"PtgList",f:wd},29:{n:"PtgSxName",f:kd},255:{}};var Od={0:{n:"PtgAttrNoop",f:Cd},1:{n:"PtgAttrSemi",f:Ru},2:{n:"PtgAttrIf",f:xu},4:{n:"PtgAttrChoose",f:_u},8:{n:"PtgAttrGoto",f:Su},16:{n:"PtgAttrSum",f:Wu},32:{n:"PtgAttrBaxcel",f:Cu},33:{n:"PtgAttrBaxcel",f:Cu},64:{n:"PtgAttrSpace",f:Nu},65:{n:"PtgAttrSpaceSemi",f:Fu},128:{n:"PtgAttrIfError",f:Ou},255:{}};function Rd(e,r,t,a){if(a.biff<8)return Aa(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]=Yu(e,0,a);i.push(t[s][1]);break;case"PtgMemArea":t[s][2]=Ku(e,t[s][1],a);i.push(t[s][2]);break;case"PtgExp":if(a&&a.biff==12){t[s][1][1]=e._R(4);i.push(t[s][1])}break;case"PtgList":;case"PtgElfRadicalS":;case"PtgElfColS":;case"PtgElfColSV":throw"Unsupported "+t[s][0];default:break;}}r=n-e.l;if(r!==0)i.push(Aa(e,r));return i}function Id(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=_d[i]||_d[Sd[i]];if(i===24||i===25)n=(i===24?xd:Od)[e[e.l+1]];if(!n||!n.f){Aa(e,r)}else{s.push([n.n,n.f(e,r,t)])}}return s}function Nd(e){var r=[];for(var t=0;t<e.length;++t){var a=e[t],n=[];for(var i=0;i<a.length;++i){var s=a[i];if(s)switch(s[0]){case 2:n.push('"'+s[1].replace(/"/g,'""')+'"');break;default:n.push(s[1]);}else n.push("")}r.push(n.join(","))}return r.join(";")}var Fd={PtgAdd:"+",PtgConcat:"&",PtgDiv:"/",PtgEq:"=",PtgGe:">=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function Dd(e,r){var t=e.lastIndexOf("!"),a=r.lastIndexOf("!");if(t==-1&&a==-1)return e+":"+r;if(t>0&&a>0&&e.slice(0,t).toLowerCase()==r.slice(0,a).toLowerCase())return e+":"+r.slice(a+1);console.error("Cannot hydrate range",e,r);return e+":"+r}function Pd(e,r,t){if(!e)return"SH33TJSERR0";if(t.biff>8&&(!e.XTI||!e.XTI[r]))return e.SheetNames[r];if(!e.XTI)return"SH33TJSERR6";var a=e.XTI[r];if(t.biff<8){if(r>1e4)r-=65536;if(r<0)r=-r;return r==0?"":e.XTI[r-1]}if(!a)return"SH33TJSERR1";var n="";if(t.biff>8)switch(e[a[0]][0]){case 357:n=a[1]==-1?"#REF":e.SheetNames[a[1]];return a[1]==a[2]?n:n+":"+e.SheetNames[a[2]];case 358:if(t.SID!=null)return e.SheetNames[t.SID];return"SH33TJSSAME"+e[a[0]][0];case 355:;default:return"SH33TJSSRC"+e[a[0]][0];}switch(e[a[0]][0][0]){case 1025:n=a[1]==-1?"#REF":e.SheetNames[a[1]]||"SH33TJSERR3";return a[1]==a[2]?n:n+":"+e.SheetNames[a[2]];case 14849:return e[a[0]].slice(1).map(function(e){return e.Name}).join(";;");default:if(!e[a[0]][0][3])return"SH33TJSERR2";n=a[1]==-1?"#REF":e[a[0]][0][3][a[1]]||"SH33TJSERR4";return a[1]==a[2]?n:n+":"+e[a[0]][0][3][a[2]];}}function Ld(e,r,t){var a=Pd(e,r,t);return a=="#REF"?a:$a(a,t)}function Md(e,r,t,a,n){var i=n&&n.biff||8;var s={s:{c:0,r:0},e:{c:0,r:0}};var f=[],l,o,c,h=0,u=0,d,v="";if(!e[0]||!e[0][0])return"";var p=-1,m="";for(var g=0,b=e[0].length;g<b;++g){var w=e[0][g];switch(w[0]){case"PtgUminus":f.push("-"+f.pop());break;case"PtgUplus":f.push("+"+f.pop());break;case"PtgPercent":f.push(f.pop()+"%");break;case"PtgAdd":;case"PtgConcat":;case"PtgDiv":;case"PtgEq":;case"PtgGe":;case"PtgGt":;case"PtgLe":;case"PtgLt":;case"PtgMul":;case"PtgNe":;case"PtgPower":;case"PtgSub":l=f.pop();o=f.pop();if(p>=0){switch(e[0][p][1][0]){case 0:m=Ar(" ",e[0][p][1][1]);break;case 1:m=Ar("\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}f.push(o+Fd[w[0]]+l);break;case"PtgIsect":l=f.pop();o=f.pop();f.push(o+" "+l);break;case"PtgUnion":l=f.pop();o=f.pop();f.push(o+","+l);break;case"PtgRange":l=f.pop();o=f.pop();f.push(Dd(o,l));break;case"PtgAttrChoose":break;case"PtgAttrGoto":break;case"PtgAttrIf":break;case"PtgAttrIfError":break;case"PtgRef":c=Sa(w[1][1],s,n);f.push(Oa(c,i));break;case"PtgRefN":c=t?Sa(w[1][1],t,n):w[1][1];f.push(Oa(c,i));break;case"PtgRef3d":h=w[1][1];c=Sa(w[1][2],s,n);v=Ld(a,h,n);var k=v;f.push(v+"!"+Oa(c,i));break;case"PtgFunc":;case"PtgFuncVar":var T=w[1][0],A=w[1][1];if(!T)T=0;T&=127;var y=T==0?[]:f.slice(-T);f.length-=T;if(A==="User")A=y.shift();f.push(A+"("+y.join(",")+")");break;case"PtgBool":f.push(w[1]?"TRUE":"FALSE");break;case"PtgInt":f.push(w[1]);break;case"PtgNum":f.push(String(w[1]));break;case"PtgStr":f.push('"'+w[1].replace(/"/g,'""')+'"');break;case"PtgErr":f.push(w[1]);break;case"PtgAreaN":d=xa(w[1][1],t?{s:t}:s,n);f.push(Ra(d,n));break;case"PtgArea":d=xa(w[1][1],s,n);f.push(Ra(d,n));break;case"PtgArea3d":h=w[1][1];d=w[1][2];v=Ld(a,h,n);f.push(v+"!"+Ra(d,n));break;case"PtgAttrSum":f.push("SUM("+f.pop()+")");break;case"PtgAttrBaxcel":;case"PtgAttrSemi":break;case"PtgName":u=w[1][2];var E=(a.names||[])[u-1]||(a[0]||[])[u];var C=E?E.Name:"SH33TJSNAME"+String(u);if(C&&C.slice(0,6)=="_xlfn."&&!n.xlfn)C=C.slice(6);f.push(C);break;case"PtgNameX":var _=w[1][1];u=w[1][2];var S;if(n.biff<=5){if(_<0)_=-_;if(a[_])S=a[_][u]}else{var x="";if(((a[_]||[])[0]||[])[0]==14849){}else if(((a[_]||[])[0]||[])[0]==1025){if(a[_][u]&&a[_][u].itab>0){x=a.SheetNames[a[_][u].itab-1]+"!"}}else x=a.SheetNames[u-1]+"!";if(a[_]&&a[_][u])x+=a[_][u].Name;else if(a[0]&&a[0][u])x+=a[0][u].Name;else{var O=(Pd(a,_,n)||"").split(";;");if(O[u-1])x=O[u-1];else x+="SH33TJSERRX"}f.push(x);break}if(!S)S={Name:"SH33TJSERRY"};f.push(S.Name);break;case"PtgParen":var R="(",I=")";if(p>=0){m="";switch(e[0][p][1][0]){case 2:R=Ar(" ",e[0][p][1][1])+R;break;case 3:R=Ar("\r",e[0][p][1][1])+R;break;case 4:I=Ar(" ",e[0][p][1][1])+I;break;case 5:I=Ar("\r",e[0][p][1][1])+I;break;default:if(n.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][p][1][0]);}p=-1}f.push(R+f.pop()+I);break;case"PtgRefErr":f.push("#REF!");break;case"PtgRefErr3d":f.push("#REF!");break;case"PtgExp":c={c:w[1][1],r:w[1][0]};var N={c:t.c,r:t.r};if(a.sharedf[za(c)]){var F=a.sharedf[za(c)];f.push(Md(F,s,N,a,n))}else{var D=false;for(l=0;l!=a.arrayf.length;++l){o=a.arrayf[l];if(c.c<o[0].s.c||c.c>o[0].e.c)continue;if(c.r<o[0].s.r||c.r>o[0].e.r)continue;f.push(Md(o[1],s,N,a,n));D=true;break}if(!D)f.push(w[1])}break;case"PtgArray":f.push("{"+Nd(w[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":;case"PtgAttrSpaceSemi":p=g;break;case"PtgTbl":break;case"PtgMemErr":break;case"PtgMissArg":f.push("");break;case"PtgAreaErr":f.push("#REF!");break;case"PtgAreaErr3d":f.push("#REF!");break;case"PtgList":f.push("Table"+w[1].idx+"[#"+w[1].rt+"]");break;case"PtgMemAreaN":;case"PtgMemNoMemN":;case"PtgAttrNoop":;case"PtgSheet":;case"PtgEndSheet":break;case"PtgMemFunc":break;case"PtgMemNoMem":break;case"PtgElfCol":;case"PtgElfColS":;case"PtgElfColSV":;case"PtgElfColV":;case"PtgElfLel":;case"PtgElfRadical":;case"PtgElfRadicalLel":;case"PtgElfRadicalS":;case"PtgElfRw":;case"PtgElfRwV":throw new Error("Unsupported ELFs");case"PtgSxName":throw new Error("Unrecognized Formula Token: "+String(w));default:throw new Error("Unrecognized Formula Token: "+String(w));}var P=["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"];if(n.biff!=3)if(p>=0&&P.indexOf(e[0][g][0])==-1){w=e[0][p];var L=true;switch(w[1][0]){case 4:L=false;case 0:m=Ar(" ",w[1][1]);break;case 5:L=false;case 1:m=Ar("\r",w[1][1]);break;default:m="";if(n.WTF)throw new Error("Unexpected PtgAttrSpaceType "+w[1][0]);}f.push((L?m:"")+f.pop()+(L?"":m));p=-1}}if(f.length>1&&n.WTF)throw new Error("bad formula stack");if(f[0]=="TRUE")return true;if(f[0]=="FALSE")return false;return f[0]}function Ud(e,r,t){var a=e.l+r,n=t.biff==2?1:2;var i,s=e._R(n);if(s==65535)return[[],Aa(e,r-2)];var f=Id(e,s,t);if(r!==s+n)i=Rd(e,r-s-n,f,t);e.l=a;return[f,i]}function Bd(e,r,t){var a=e.l+r,n=t.biff==2?1:2;var i,s=e._R(n);if(s==65535)return[[],Aa(e,r-2)];var f=Id(e,s,t);if(r!==s+n)i=Rd(e,r-s-n,f,t);e.l=a;return[f,i]}function Wd(e,r,t,a){var n=e.l+r;var i=Id(e,a,t);var s;if(n!==e.l)s=Rd(e,n-e.l,i,t);return[i,s]}function zd(e,r,t){var a=e.l+r;var n,i=e._R(2);var s=Id(e,i,t);if(i==65535)return[[],Aa(e,r-2)];if(r!==i+2)n=Rd(e,a-i-2,s,t);return[s,n]}function Hd(e){var r;if(ca(e,e.l+6)!==65535)return[Sn(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 Vd(e){if(e==null){var r=ya(8);r._W(1,3);r._W(1,0);r._W(2,0);r._W(2,0);r._W(2,65535);return r}else if(typeof e=="number")return xn(e);return xn(0)}function Xd(e,r,t){var a=e.l+r;var n=Ps(e,6,t);var i=Hd(e,8);var s=e._R(1);if(t.biff!=2){e._R(1);if(t.biff>=5){e._R(4)}}var f=Bd(e,a-e.l,t);return{cell:n,val:i[0],formula:f,shared:s>>3&1,tt:i[1]}}function $d(e,r,t,a,n){var i=Ls(r,t,n);var s=Vd(e.v);var f=ya(6);var l=1|32;f._W(2,l);f._W(4,0);var o=ya(e.bf.length);for(var c=0;c<e.bf.length;++c)o[c]=e.bf[c];var h=P([i,s,f,o]);return h}function Gd(e,r,t){var a=e._R(4);var n=Id(e,a,t);var i=e._R(4);var s=i>0?Rd(e,i,n,t):null;return[n,s]}var jd=Gd;var Kd=Gd;var Yd=Gd;var Zd=Gd;function Jd(e){if((e|0)==e&&e<Math.pow(2,16)&&e>=0){var r=ya(11);r._W(4,3);r._W(1,30);r._W(2,e);r._W(4,0);return r}var t=ya(17);t._W(4,11);t._W(1,31);t._W(8,e);t._W(4,0);return t}function qd(e){var r=ya(10);r._W(4,2);r._W(1,28);r._W(1,e);r._W(4,0);return r}function Qd(e){var r=ya(10);r._W(4,2);r._W(1,29);r._W(1,e?1:0);r._W(4,0);return r}function ev(e){var r=ya(7);r._W(4,3+2*e.length);r._W(1,23);r._W(2,e.length);var t=ya(2*e.length);t._W(2*e.length,e,"utf16le");var a=ya(4);a._W(4,0);return P([r,t,a])}function rv(e){var r=Wa(e);var t=ya(15);t._W(4,7);t._W(1,4|1<<5);t._W(4,r.r);t._W(2,r.c|(e.charAt(0)=="$"?0:1)<<14|(e.match(/\$\d/)?0:1)<<15);t._W(4,0);return t}function tv(e,r){var t=e.lastIndexOf("!");var a=e.slice(0,t);e=e.slice(t+1);var n=Wa(e);if(a.charAt(0)=="'")a=a.slice(1,-1).replace(/''/g,"'");var i=ya(17);i._W(4,9);i._W(1,26|1<<5);i._W(2,2+r.SheetNames.map(function(e){return e.toLowerCase()}).indexOf(a.toLowerCase()));i._W(4,n.r);i._W(2,n.c|(e.charAt(0)=="$"?0:1)<<14|(e.match(/\$\d/)?0:1)<<15);i._W(4,0);return i}function av(e,r){var t=e.lastIndexOf("!");var a=e.slice(0,t);e=e.slice(t+1);if(a.charAt(0)=="'")a=a.slice(1,-1).replace(/''/g,"'");var n=ya(17);n._W(4,9);n._W(1,28|1<<5);n._W(2,2+r.SheetNames.map(function(e){return e.toLowerCase()}).indexOf(a.toLowerCase()));n._W(4,0);n._W(2,0);n._W(4,0);return n}function nv(e){var r=e.split(":"),t=r[0];var a=ya(23);a._W(4,15);t=r[0];var n=Wa(t);a._W(1,4|1<<5);a._W(4,n.r);a._W(2,n.c|(t.charAt(0)=="$"?0:1)<<14|(t.match(/\$\d/)?0:1)<<15);a._W(4,0);t=r[1];n=Wa(t);a._W(1,4|1<<5);a._W(4,n.r);a._W(2,n.c|(t.charAt(0)=="$"?0:1)<<14|(t.match(/\$\d/)?0:1)<<15);a._W(4,0);a._W(1,17);a._W(4,0);return a}function iv(e,r){var t=e.lastIndexOf("!");var a=e.slice(0,t);e=e.slice(t+1);if(a.charAt(0)=="'")a=a.slice(1,-1).replace(/''/g,"'");var n=e.split(":");var i=ya(27);i._W(4,19);var s=n[0],f=Wa(s);i._W(1,26|1<<5);i._W(2,2+r.SheetNames.map(function(e){return e.toLowerCase()}).indexOf(a.toLowerCase()));i._W(4,f.r);i._W(2,f.c|(s.charAt(0)=="$"?0:1)<<14|(s.match(/\$\d/)?0:1)<<15);s=n[1];f=Wa(s);i._W(1,26|1<<5);i._W(2,2+r.SheetNames.map(function(e){return e.toLowerCase()}).indexOf(a.toLowerCase()));i._W(4,f.r);i._W(2,f.c|(s.charAt(0)=="$"?0:1)<<14|(s.match(/\$\d/)?0:1)<<15);i._W(1,17);i._W(4,0);return i}function sv(e,r){var t=e.lastIndexOf("!");var a=e.slice(0,t);e=e.slice(t+1);if(a.charAt(0)=="'")a=a.slice(1,-1).replace(/''/g,"'");var n=Ha(e);var i=ya(23);i._W(4,15);i._W(1,27|1<<5);i._W(2,2+r.SheetNames.map(function(e){return e.toLowerCase()}).indexOf(a.toLowerCase()));i._W(4,n.s.r);i._W(4,n.e.r);i._W(2,n.s.c);i._W(2,n.e.c);i._W(4,0);return i}function fv(e,r){if(typeof e=="number")return Jd(e);if(typeof e=="boolean")return Qd(e);if(/^#(DIV\/0!|GETTING_DATA|N\/A|NAME\?|NULL!|NUM!|REF!|VALUE!)$/.test(e))return qd(+ai[e]);if(e.match(/^\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?:10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})$/))return rv(e);if(e.match(/^\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?:10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5}):\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?:10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})$/))return nv(e);if(e.match(/^#REF!\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?:10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5}):\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?:10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})$/))return sv(e,r);if(e.match(/^(?:'[^\\\/?*\[\]:]*'|[^'][^\\\/?*\[\]:'`~!@#$%^()\-=+{}|;,<.>]*)!\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?:10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})$/))return tv(e,r);if(e.match(/^(?:'[^\\\/?*\[\]:]*'|[^'][^\\\/?*\[\]:'`~!@#$%^()\-=+{}|;,<.>]*)!\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?:10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5}):\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?:10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})$/))return iv(e,r);if(/^(?:'[^\\\/?*\[\]:]*'|[^'][^\\\/?*\[\]:'`~!@#$%^()\-=+{}|;,<.>]*)!#REF!$/.test(e))return av(e,r);if(/^".*"$/.test(e))return ev(e);if(/^[+-]\d+$/.test(e))return Jd(parseInt(e,10));throw"Formula |"+e+"| not supported for XLSB"}var lv=fv;var ov={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 cv={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 hv={2:1,3:1,10:0,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,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,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,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186: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,225:0,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};function uv(e){if(e.slice(0,3)=="of:")e=e.slice(3);if(e.charCodeAt(0)==61){e=e.slice(1);if(e.charCodeAt(0)==61)e=e.slice(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(/\$'([^']|'')+'/g,function(e){return e.slice(1)});e=e.replace(/\$([^\]\. #$]+)/g,function(e,r){return r.match(/^([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])?(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})?$/)?e:r});e=e.replace(/\[.(#[A-Z]*[?!])\]/g,"$1");return e.replace(/[;~]/g,",").replace(/\|/g,";")}function dv(e){var r="of:="+e.replace(tu,"$1[.$2$3$4$5]").replace(/\]:\[/g,":");return r.replace(/;/g,"|").replace(/,/g,";")}function vv(e){e=e.replace(/\$'([^']|'')+'/g,function(e){return e.slice(1)});e=e.replace(/\$([^\]\. #$]+)/g,function(e,r){return r.match(/^([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])?(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})?$/)?e:r});var r=e.split(":");var t=r[0].split(".")[0];return[t,r[0].split(".")[1]+(r.length>1?":"+(r[1].split(".")[1]||r[1].split(".")[0]):"")]}function pv(e){return e.replace(/!/,".").replace(/:/,":.")}var mv={};var gv={};var bv=typeof Map!=="undefined";function wv(e,r,t){var a=0,n=e.length;if(t){if(bv?t.has(r):Object.prototype.hasOwnProperty.call(t,r)){var i=bv?t.get(r):t[r];for(;a<i.length;++a){if(e[i[a]].t===r){e.Count++;return i[a]}}}}else for(;a<n;++a){if(e[a].t===r){e.Count++;return a}}e[n]={t:r};e.Count++;e.Unique++;if(t){if(bv){if(!t.has(r))t.set(r,[]);t.get(r).push(n)}else{if(!Object.prototype.hasOwnProperty.call(t,r))t[r]=[];t[r].push(n)}}return n}function kv(e,r){var t={min:e+1,max:e+1};var a=-1;if(r.MDW)qo=r.MDW;if(r.width!=null)t.customWidth=1;else if(r.wpx!=null)a=ec(r.wpx);else if(r.wch!=null)a=r.wch;if(a>-1){t.width=rc(a);t.customWidth=1}else if(r.width!=null)t.width=r.width;if(r.hidden)t.hidden=true;if(r.level!=null){t.outlineLevel=t.level=r.level}return t}function Tv(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 Av(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){Je(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 yv(e,r,t,a,n,i,s){try{if(a.cellNF)e.z=q[r]}catch(f){if(a.WTF)throw f}if(e.t==="z"&&!a.cellStyles)return;if(e.t==="d"&&typeof e.v==="string")e.v=wr(e.v);if((!a||a.cellText!==false)&&e.t!=="z")try{if(q[r]==null)Je(Ge[r]||"General",r);if(e.t==="e")e.w=e.w||ti[e.v];else if(r===0){if(e.t==="n"){if((e.v|0)===e.v)e.w=e.v.toString(10);else e.w=le(e.v)}else if(e.t==="d"){var l=dr(e.v,!!s);if((l|0)===l)e.w=l.toString(10);else e.w=le(l)}else if(e.v===undefined)return"";else e.w=oe(e.v,gv)}else if(e.t==="d")e.w=ze(r,dr(e.v,!!s),gv);else e.w=ze(r,e.v,gv)}catch(f){if(a.WTF)throw f}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=Ko(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=Ko(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(f){if(a.WTF&&i.Fills)throw f}}function Ev(e,r,t){if(e&&e["!ref"]){var a=Ga(e["!ref"]);if(a.e.c<a.s.c||a.e.r<a.s.r)throw new Error("Bad range ("+t+"): "+e["!ref"])}}function Cv(e,r){var t=Ga(r);if(t.s.r<=t.e.r&&t.s.c<=t.e.c&&t.s.r>=0&&t.s.c>=0)e["!ref"]=Va(t)}var _v=/<(?:\w:)?mergeCell ref=["'][A-Z0-9:]+['"]\s*[\/]?>/g;var Sv=/<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/;var xv=/<(?:\w:)?hyperlink [^>]*>/gm;var Ov=/"(\w*:\w*)"/;var Rv=/<(?:\w:)?col\b[^>]*[\/]?>/g;var Iv=/<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g;var Nv=/<(?:\w:)?pageMargins[^>]*\/>/g;var Fv=/<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/;var Dv=/<(?:\w:)?sheetPr[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetPr)>/;var Pv=/<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/;function Lv(e,r,t,a,n,i,s){if(!e)return e;if(!a)a={"!id":{}};if(b!=null&&r.dense==null)r.dense=b;var f={};if(r.dense)f["!data"]=[];var l={s:{r:2e6,c:2e6},e:{r:0,c:0}};var o="",c="";var h=e.match(Sv);if(h){o=e.slice(0,h.index);c=e.slice(h.index+h[0].length)}else o=c=e;var u=o.match(Fv);if(u)Uv(u[0],f,n,t);else if(u=o.match(Dv))Bv(u[0],u[1]||"",f,n,t,s,i);var d=(o.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(d>0){var v=o.slice(d,d+50).match(Ov);if(v&&!(r&&r.nodim))Cv(f,v[1])}var p=o.match(Pv);if(p&&p[1])qv(p[1],n);var m=[];if(r.cellStyles){var g=o.match(Rv);if(g)jv(m,g)}if(h)rp(h[1],f,r,l,i,s,n);var w=c.match(Iv);if(w)f["!autofilter"]=Yv(w[0]);var k=[];var T=c.match(_v);if(T)for(d=0;d!=T.length;++d)k[d]=Ga(T[d].slice(T[d].indexOf('"')+1));var A=c.match(xv);if(A)Xv(f,A,a);var y=c.match(Nv);if(y)f["!margins"]=$v(rt(y[0]));var E;if(E=c.match(/legacyDrawing r:id="(.*?)"/))f["!legrel"]=E[1];if(r&&r.nodim)l.s.c=l.s.r=0;if(!f["!ref"]&&l.e.c>=l.s.c&&l.e.r>=l.s.r)f["!ref"]=Va(l);if(r.sheetRows>0&&f["!ref"]){var C=Ga(f["!ref"]);if(r.sheetRows<=+C.e.r){C.e.r=r.sheetRows-1;if(C.e.r>l.e.r)C.e.r=l.e.r;if(C.e.r<C.s.r)C.s.r=C.e.r;if(C.e.c>l.e.c)C.e.c=l.e.c;if(C.e.c<C.s.c)C.s.c=C.e.c;f["!fullref"]=f["!ref"];f["!ref"]=Va(C)}}if(m.length>0)f["!cols"]=m;if(k.length>0)f["!merges"]=k;if(a["!id"][f["!legrel"]])f["!legdrawel"]=a["!id"][f["!legrel"]];return f}function Mv(e){if(e.length===0)return"";var r='<mergeCells count="'+e.length+'">';for(var t=0;t!=e.length;++t)r+='<mergeCell ref="'+Va(e[t])+'"/>';return r+"</mergeCells>"}function Uv(e,r,t,a){var n=rt(e);if(!t.Sheets[a])t.Sheets[a]={};if(n.codeName)t.Sheets[a].CodeName=it(kt(n.codeName))}function Bv(e,r,t,a,n){Uv(e.slice(0,e.indexOf(">")),t,a,n)}function Wv(e,r,t,a,n){var i=false;var s={},f=null;if(a.bookType!=="xlsx"&&r.vbaraw){var l=r.SheetNames[t];try{if(r.Workbook)l=r.Workbook.Sheets[t].CodeName||l}catch(o){}i=true;s.codeName=Tt(lt(l))}if(e&&e["!outline"]){var c={summaryBelow:1,summaryRight:1};if(e["!outline"].above)c.summaryBelow=0;if(e["!outline"].left)c.summaryRight=0;f=(f||"")+It("outlinePr",null,c)}if(!i&&!f)return;n[n.length]=It("sheetPr",f,s)}var zv=["objects","scenarios","selectLockedCells","selectUnlockedCells"];var Hv=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];function Vv(e){var r={sheet:1};zv.forEach(function(t){if(e[t]!=null&&e[t])r[t]="1"});Hv.forEach(function(t){if(e[t]!=null&&!e[t])r[t]="0"});if(e.password)r.password=Fo(e.password).toString(16).toUpperCase();return It("sheetProtection",null,r)}function Xv(e,r,t){var a=e["!data"]!=null;for(var n=0;n!=r.length;++n){var i=rt(kt(r[n]),true);if(!i.ref)return;var s=((t||{})["!id"]||[])[i.id];if(s){i.Target=s.Target;if(i.location)i.Target+="#"+it(i.location)}else{i.Target="#"+it(i.location);s={Target:i.Target,TargetMode:"Internal"}}i.Rel=s;if(i.tooltip){i.Tooltip=i.tooltip;delete i.tooltip}var f=Ga(i.ref);for(var l=f.s.r;l<=f.e.r;++l)for(var o=f.s.c;o<=f.e.c;++o){var c=La(o)+Na(l);if(a){if(!e["!data"][l])e["!data"][l]=[];if(!e["!data"][l][o])e["!data"][l][o]={t:"z",v:undefined};e["!data"][l][o].l=i}else{if(!e[c])e[c]={t:"z",v:undefined};e[c].l=i}}}}function $v(e){var r={};["left","right","top","bottom","header","footer"].forEach(function(t){if(e[t])r[t]=parseFloat(e[t])});return r}function Gv(e){Tv(e);return It("pageMargins",null,e)}function jv(e,r){var t=false;for(var a=0;a!=r.length;++a){var n=rt(r[a],true);if(n.hidden)n.hidden=pt(n.hidden);var i=parseInt(n.min,10)-1,s=parseInt(n.max,10)-1;if(n.outlineLevel)n.level=+n.outlineLevel||0;delete n.min;delete n.max;n.width=+n.width;if(!t&&n.width){t=true;ac(n.width)}nc(n);while(i<=s)e[i++]=Tr(n)}}function Kv(e,r){var t=["<cols>"],a;for(var n=0;n!=r.length;++n){if(!(a=r[n]))continue;t[t.length]=It("col",null,kv(n,a))}t[t.length]="</cols>";return t.join("")}function Yv(e){var r={ref:(e.match(/ref="([^"]*)"/)||[])[1]};return r}function Zv(e,r,t,a){var n=typeof e.ref=="string"?e.ref:Va(e.ref);if(!t.Workbook)t.Workbook={Sheets:[]};if(!t.Workbook.Names)t.Workbook.Names=[];var i=t.Workbook.Names;var s=Ha(n);if(s.s.r==s.e.r){s.e.r=Ha(r["!ref"]).e.r;n=Va(s)}for(var f=0;f<i.length;++f){var l=i[f];if(l.Name!="_xlnm._FilterDatabase")continue;if(l.Sheet!=a)continue;l.Ref=$a(t.SheetNames[a])+"!"+Xa(n);break}if(f==i.length)i.push({Name:"_xlnm._FilterDatabase",Sheet:a,Ref:"'"+t.SheetNames[a]+"'!"+n});return It("autoFilter",null,{ref:n})}var Jv=/<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/?>/g;function qv(e,r){if(!r.Views)r.Views=[{}];(e.match(Jv)||[]).forEach(function(e,t){var a=rt(e);if(!r.Views[t])r.Views[t]={};if(+a.zoomScale)r.Views[t].zoom=+a.zoomScale;if(a.rightToLeft&&pt(a.rightToLeft))r.Views[t].RTL=true})}function Qv(e,r,t,a){var n={workbookViewId:"0"};if((((a||{}).Workbook||{}).Views||[])[0])n.rightToLeft=a.Workbook.Views[0].RTL?"1":"0";return It("sheetViews",It("sheetView",null,n),{})}function ep(e,r,t,a,n,i,s){if(e.c)t["!comments"].push([r,e.c]);if((e.v===undefined||e.t==="z"&&!(a||{}).sheetStubs)&&typeof e.f!=="string"&&typeof e.z=="undefined")return"";var f="";var l=e.t,o=e.v;if(e.t!=="z")switch(e.t){case"b":f=e.v?"1":"0";break;case"n":if(isNaN(e.v)){e.t="e";f=ti[e.v=36]}else if(!isFinite(e.v)){e.t="e";f=ti[e.v=7]}else f=""+e.v;break;case"e":f=ti[e.v];break;case"d":if(a&&a.cellDates){var c=wr(e.v,s);f=c.toISOString();if(c.getUTCFullYear()<1900)f=f.slice(f.indexOf("T")+1).replace("Z","")}else{e=Tr(e);e.t="n";f=""+(e.v=dr(wr(e.v,s),s))}if(typeof e.z==="undefined")e.z=q[14];break;default:f=e.v;break;}var h=e.t=="z"||e.v==null?"":Ot("v",lt(f)),u={r:r};var d=Av(a.cellXfs,e,a);if(d!==0)u.s=d;switch(e.t){case"n":break;case"d":u.t="d";break;case"b":u.t="b";break;case"e":u.t="e";break;case"z":break;default:if(e.v==null){delete e.t;break}if(e.v.length>32767)throw new Error("Text length must not exceed 32767 characters");if(a&&a.bookSST){h=Ot("v",""+wv(a.Strings,e.v,a.revStrings));u.t="s";break}else u.t="str";break;}if(e.t!=l){e.t=l;e.v=o}if(typeof e.f=="string"&&e.f){var v=e.F&&e.F.slice(0,r.length)==r?{t:"array",ref:e.F}:null;h=It("f",lt(e.f),v)+(e.v!=null?h:"")}if(e.l){e.l.display=lt(f);t["!links"].push([r,e.l])}if(e.D)u.cm=1;return It("c",h,u)}var rp=function(){var e=/<(?:\w+:)?c[ \/>]/,r=/<\/(?:\w+:)?row>/;var t=/r=["']([^"']*)["']/,a=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/;var n=/ref=["']([^"']*)["']/;var i=At("v"),s=At("f");return function f(l,o,c,h,u,d,v){var p=0,m="",g=[],b=[],w=0,k=0,T=0,A="",y;var E,C=0,_=0;var S,x;var O=0,R=0;var I=Array.isArray(d.CellXf),N;var F=[];var D=[];var P=o["!data"]!=null;var L=[],M={},U=false;var B=!!c.sheetStubs;var W=!!((v||{}).WBProps||{}).date1904;for(var z=l.split(r),H=0,V=z.length;H!=V;++H){m=z[H].trim();var X=m.length;if(X===0)continue;var $=0;e:for(p=0;p<X;++p)switch(m[p]){case">":if(m[p-1]!="/"){++p;break e}if(c&&c.cellStyles){E=rt(m.slice($,p),true);C=E.r!=null?parseInt(E.r,10):C+1;_=-1;if(c.sheetRows&&c.sheetRows<C)continue;M={};U=false;if(E.ht){U=true;M.hpt=parseFloat(E.ht);M.hpx=lc(M.hpt)}if(E.hidden&&pt(E.hidden)){U=true;M.hidden=true}if(E.outlineLevel!=null){U=true;M.level=+E.outlineLevel}if(U)L[C-1]=M}break;case"<":$=p;break;}if($>=p)break;E=rt(m.slice($,p),true);C=E.r!=null?parseInt(E.r,10):C+1;_=-1;if(c.sheetRows&&c.sheetRows<C)continue;if(!c.nodim){if(h.s.r>C-1)h.s.r=C-1;if(h.e.r<C-1)h.e.r=C-1}if(c&&c.cellStyles){M={};U=false;if(E.ht){U=true;M.hpt=parseFloat(E.ht);M.hpx=lc(M.hpt)}if(E.hidden&&pt(E.hidden)){U=true;M.hidden=true}if(E.outlineLevel!=null){U=true;M.level=+E.outlineLevel}if(U)L[C-1]=M}g=m.slice(p).split(e);for(var G=0;G!=g.length;++G)if(g[G].trim().charAt(0)!="<")break;g=g.slice(G);for(p=0;p!=g.length;++p){m=g[p].trim();if(m.length===0)continue;b=m.match(t);w=p;k=0;T=0;m="<c "+(m.slice(0,1)=="<"?">":"")+m;if(b!=null&&b.length===2){w=0;A=b[1];for(k=0;k!=A.length;++k){if((T=A.charCodeAt(k)-64)<1||T>26)break;w=26*w+T}--w;_=w}else++_;for(k=0;k!=m.length;++k)if(m.charCodeAt(k)===62)break;++k;E=rt(m.slice(0,k),true);if(!E.r)E.r=za({r:C-1,c:_});A=m.slice(k);y={t:""};if((b=A.match(i))!=null&&b[1]!=="")y.v=it(b[1]);if(c.cellFormula){if((b=A.match(s))!=null){if(b[1]==""){if(b[0].indexOf('t="shared"')>-1){x=rt(b[0]);if(D[x.si])y.f=su(D[x.si][1],D[x.si][2],E.r)}}else{y.f=it(kt(b[1]),true);if(!c.xlfn)y.f=lu(y.f);if(b[0].indexOf('t="array"')>-1){y.F=(A.match(n)||[])[1];if(y.F.indexOf(":")>-1)F.push([Ga(y.F),y.F])}else if(b[0].indexOf('t="shared"')>-1){x=rt(b[0]);var j=it(kt(b[1]));if(!c.xlfn)j=lu(j);D[parseInt(x.si,10)]=[x,j,E.r]}}}else if(b=A.match(/<f[^>]*\/>/)){x=rt(b[0]);if(D[x.si])y.f=su(D[x.si][1],D[x.si][2],E.r)}var K=Wa(E.r);for(k=0;k<F.length;++k)if(K.r>=F[k][0].s.r&&K.r<=F[k][0].e.r)if(K.c>=F[k][0].s.c&&K.c<=F[k][0].e.c)y.F=F[k][1]}if(E.t==null&&y.v===undefined){if(y.f||y.F){y.v=0;y.t="n"}else if(!B)continue;else y.t="z"}else y.t=E.t||"n";if(h.s.c>_)h.s.c=_;if(h.e.c<_)h.e.c=_;switch(y.t){case"n":if(y.v==""||y.v==null){if(!B)continue;y.t="z"}else y.v=parseFloat(y.v);break;case"s":if(typeof y.v=="undefined"){if(!B)continue;y.t="z"}else{S=mv[parseInt(y.v,10)];y.v=S.t;y.r=S.r;if(c.cellHTML)y.h=S.h}break;case"str":y.t="s";y.v=y.v!=null?it(kt(y.v),true):"";if(c.cellHTML)y.h=ht(y.v);break;case"inlineStr":b=A.match(a);y.t="s";if(b!=null&&(S=no(b[1]))){y.v=S.t;if(c.cellHTML)y.h=S.h}else y.v="";break;case"b":y.v=pt(y.v);break;case"d":if(c.cellDates)y.v=wr(y.v,W);else{y.v=dr(wr(y.v,W),W);y.t="n"}break;case"e":if(!c||c.cellText!==false)y.w=y.v;y.v=ai[y.v];break;}O=R=0;N=null;if(I&&E.s!==undefined){N=d.CellXf[E.s];if(N!=null){if(N.numFmtId!=null)O=N.numFmtId;if(c.cellStyles){if(N.fillId!=null)R=N.fillId}}}yv(y,O,R,c,u,d,W);if(c.cellDates&&I&&y.t=="n"&&Le(q[O])){y.v=vr(y.v+(W?1462:0));y.t=typeof y.v=="number"?"n":"d"}if(E.cm&&c.xlmeta){var Y=(c.xlmeta.Cell||[])[+E.cm-1];if(Y&&Y.type=="XLDAPR")y.D=true}var Z;if(c.nodim){Z=Wa(E.r);if(h.s.r>Z.r)h.s.r=Z.r;if(h.e.r<Z.r)h.e.r=Z.r}if(P){Z=Wa(E.r);if(!o["!data"][Z.r])o["!data"][Z.r]=[];o["!data"][Z.r][Z.c]=y}else o[E.r]=y}}if(L.length>0)o["!rows"]=L}}();function tp(e,r,t,a){var n=[],i=[],s=Ga(e["!ref"]),f="",l,o="",c=[],h=0,u=0,d=e["!rows"];var v=e["!data"]!=null;var p={r:o},m,g=-1;var b=(((a||{}).Workbook||{}).WBProps||{}).date1904;for(u=s.s.c;u<=s.e.c;++u)c[u]=La(u);for(h=s.s.r;h<=s.e.r;++h){i=[];o=Na(h);for(u=s.s.c;u<=s.e.c;++u){l=c[u]+o;var w=v?(e["!data"][h]||[])[u]:e[l];if(w===undefined)continue;if((f=ep(w,l,e,r,t,a,b))!=null)i.push(f)}if(i.length>0||d&&d[h]){p={r:o};if(d&&d[h]){m=d[h];if(m.hidden)p.hidden=1;g=-1;if(m.hpx)g=fc(m.hpx);else if(m.hpt)g=m.hpt;if(g>-1){p.ht=g;p.customHeight=1}if(m.level){p.outlineLevel=m.level}}n[n.length]=It("row",i.join(""),p)}}if(d)for(;h<d.length;++h){if(d&&d[h]){p={r:h+1};m=d[h];if(m.hidden)p.hidden=1;g=-1;if(m.hpx)g=fc(m.hpx);else if(m.hpt)g=m.hpt;if(g>-1){p.ht=g;p.customHeight=1}if(m.level){p.outlineLevel=m.level}n[n.length]=It("row","",p)}}return n.join("")}function ap(e,r,t,a){var n=[Kr,It("worksheet",null,{xmlns:Mt[0],"xmlns:r":Lt.r})];var i=t.SheetNames[e],s=0,f="";var l=t.Sheets[i];if(l==null)l={};var o=l["!ref"]||"A1";var c=Ga(o);if(c.e.c>16383||c.e.r>1048575){if(r.WTF)throw new Error("Range "+o+" exceeds format limit A1:XFD1048576");c.e.c=Math.min(c.e.c,16383);c.e.r=Math.min(c.e.c,1048575);o=Va(c)}if(!a)a={};l["!comments"]=[];var h=[];Wv(l,t,e,r,n);n[n.length]=It("dimension",null,{ref:o});n[n.length]=Qv(l,r,e,t);if(r.sheetFormat)n[n.length]=It("sheetFormatPr",null,{defaultRowHeight:r.sheetFormat.defaultRowHeight||"16",baseColWidth:r.sheetFormat.baseColWidth||"10",outlineLevelRow:r.sheetFormat.outlineLevelRow||"7"});if(l["!cols"]!=null&&l["!cols"].length>0)n[n.length]=Kv(l,l["!cols"]);n[s=n.length]="<sheetData/>";l["!links"]=[];if(l["!ref"]!=null){f=tp(l,r,e,t,a);if(f.length>0)n[n.length]=f}if(n.length>s+1){n[n.length]="</sheetData>";n[s]=n[s].replace("/>",">")}if(l["!protect"])n[n.length]=Vv(l["!protect"]);if(l["!autofilter"]!=null)n[n.length]=Zv(l["!autofilter"],l,t,e);if(l["!merges"]!=null&&l["!merges"].length>0)n[n.length]=Mv(l["!merges"]);var u=-1,d,v=-1;if(l["!links"].length>0){n[n.length]="<hyperlinks>";l["!links"].forEach(function(e){if(!e[1].Target)return;d={ref:e[0]};if(e[1].Target.charAt(0)!="#"){v=vi(a,-1,lt(e[1].Target).replace(/#.*$/,""),ci.HLINK);d["r:id"]="rId"+v}if((u=e[1].Target.indexOf("#"))>-1)d.location=lt(e[1].Target.slice(u+1));if(e[1].Tooltip)d.tooltip=lt(e[1].Tooltip);d.display=e[1].display;n[n.length]=It("hyperlink",null,d)});n[n.length]="</hyperlinks>"}delete l["!links"];if(l["!margins"]!=null)n[n.length]=Gv(l["!margins"]);if(!r||r.ignoreEC||r.ignoreEC==void 0)n[n.length]=Ot("ignoredErrors",It("ignoredError",null,{numberStoredAsText:1,sqref:o}));if(h.length>0){v=vi(a,-1,"../drawings/drawing"+(e+1)+".xml",ci.DRAW);n[n.length]=It("drawing",null,{"r:id":"rId"+v});l["!drawing"]=h}if(l["!comments"].length>0){v=vi(a,-1,"../drawings/vmlDrawing"+(e+1)+".vml",ci.VML);n[n.length]=It("legacyDrawing",null,{"r:id":"rId"+v});l["!legacy"]=v}if(n.length>1){n[n.length]="</worksheet>";n[1]=n[1].replace("/>",">")}return n.join("")}function np(e,r){var t={};var a=e.l+r;t.r=e._R(4);e.l+=4;var n=e._R(2);e.l+=1;var i=e._R(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 ip(e,r,t){var a=ya(17+8*16);var n=(t["!rows"]||[])[e]||{};a._W(4,e);a._W(4,0);var i=320;if(n.hpx)i=fc(n.hpx)*20;else if(n.hpt)i=n.hpt*20;a._W(2,i);a._W(1,0);var s=0;if(n.level)s|=n.level;if(n.hidden)s|=16;if(n.hpx||n.hpt)s|=32;a._W(1,s);a._W(1,0);var f=0,l=a.l;a.l+=4;var o={r:e,c:0};var c=t["!data"]!=null;for(var h=0;h<16;++h){if(r.s.c>h+1<<10||r.e.c<h<<10)continue;var u=-1,d=-1;for(var v=h<<10;v<h+1<<10;++v){o.c=v;var p=c?(t["!data"][o.r]||[])[o.c]:t[za(o)];if(p){if(u<0)u=v;d=v}}if(u<0)continue;++f;a._W(4,u);a._W(4,d)}var m=a.l;a.l=l;a._W(4,f);a.l=m;return a.length>a.l?a.slice(0,a.l):a}function sp(e,r,t,a){var n=ip(a,t,r);if(n.length>17||(r["!rows"]||[])[a])_a(e,0,n)}var fp=Cn;var lp=_n;function op(){}function cp(e,r){var t={};var a=e[e.l];++e.l;t.above=!(a&64);t.left=!(a&128);e.l+=18;t.name=vn(e,r-19);return t}function hp(e,r,t){if(t==null)t=ya(84+4*e.length);var a=192;if(r){if(r.above)a&=~64;if(r.left)a&=~128}t._W(1,a);for(var n=1;n<3;++n)t._W(1,0);Rn({auto:1},t);t._W(-4,-1);t._W(-4,-1);pn(e,t);return t.slice(0,t.l)}function up(e){var r=cn(e);return[r]}function dp(e,r,t){if(t==null)t=ya(8);return hn(r,t)}function vp(e){var r=un(e);return[r]}function pp(e,r,t){if(t==null)t=ya(4);return dn(r,t)}function mp(e){var r=cn(e);var t=e._R(1);return[r,t,"b"]}function gp(e,r,t){if(t==null)t=ya(9);hn(r,t);t._W(1,e.v?1:0);return t}function bp(e){var r=un(e);var t=e._R(1);return[r,t,"b"]}function wp(e,r,t){if(t==null)t=ya(5);dn(r,t);t._W(1,e.v?1:0);return t}function kp(e){var r=cn(e);var t=e._R(1);return[r,t,"e"]}function Tp(e,r,t){if(t==null)t=ya(9);hn(r,t);t._W(1,e.v);return t}function Ap(e){var r=un(e);var t=e._R(1);return[r,t,"e"]}function yp(e,r,t){if(t==null)t=ya(8);dn(r,t);t._W(1,e.v);t._W(2,0);t._W(1,0);return t}function Ep(e){var r=cn(e);var t=e._R(4);return[r,t,"s"]}function Cp(e,r,t){if(t==null)t=ya(12);hn(r,t);t._W(4,r.v);return t}function _p(e){var r=un(e);var t=e._R(4);return[r,t,"s"]}function Sp(e,r,t){if(t==null)t=ya(8); -dn(r,t);t._W(4,r.v);return t}function xp(e){var r=cn(e);var t=Sn(e);return[r,t,"n"]}function Op(e,r,t){if(t==null)t=ya(16);hn(r,t);xn(e.v,t);return t}function Rp(e){var r=un(e);var t=Sn(e);return[r,t,"n"]}function Ip(e,r,t){if(t==null)t=ya(12);dn(r,t);xn(e.v,t);return t}function Np(e){var r=cn(e);var t=Tn(e);return[r,t,"n"]}function Fp(e,r,t){if(t==null)t=ya(12);hn(r,t);An(e.v,t);return t}function Dp(e){var r=un(e);var t=Tn(e);return[r,t,"n"]}function Pp(e,r,t){if(t==null)t=ya(8);dn(r,t);An(e.v,t);return t}function Lp(e){var r=cn(e);var t=sn(e);return[r,t,"is"]}function Mp(e){var r=cn(e);var t=rn(e);return[r,t,"str"]}function Up(e,r,t){var a=e.v==null?"":String(e.v);if(t==null)t=ya(12+4*e.v.length);hn(r,t);tn(a,t);return t.length>t.l?t.slice(0,t.l):t}function Bp(e){var r=un(e);var t=rn(e);return[r,t,"str"]}function Wp(e,r,t){var a=e.v==null?"":String(e.v);if(t==null)t=ya(8+4*a.length);dn(r,t);tn(a,t);return t.length>t.l?t.slice(0,t.l):t}function zp(e,r,t){var a=e.l+r;var n=cn(e);n.r=t["!row"];var i=e._R(1);var s=[n,i,"b"];if(t.cellFormula){e.l+=2;var f=Kd(e,a-e.l,t);s[3]=Md(f,null,n,t.supbooks,t)}else e.l=a;return s}function Hp(e,r,t){var a=e.l+r;var n=cn(e);n.r=t["!row"];var i=e._R(1);var s=[n,i,"e"];if(t.cellFormula){e.l+=2;var f=Kd(e,a-e.l,t);s[3]=Md(f,null,n,t.supbooks,t)}else e.l=a;return s}function Vp(e,r,t){var a=e.l+r;var n=cn(e);n.r=t["!row"];var i=Sn(e);var s=[n,i,"n"];if(t.cellFormula){e.l+=2;var f=Kd(e,a-e.l,t);s[3]=Md(f,null,n,t.supbooks,t)}else e.l=a;return s}function Xp(e,r,t){var a=e.l+r;var n=cn(e);n.r=t["!row"];var i=rn(e);var s=[n,i,"str"];if(t.cellFormula){e.l+=2;var f=Kd(e,a-e.l,t);s[3]=Md(f,null,n,t.supbooks,t)}else e.l=a;return s}var $p=Cn;var Gp=_n;function jp(e,r){if(r==null)r=ya(4);r._W(4,e);return r}function Kp(e,r){var t=e.l+r;var a=Cn(e,16);var n=mn(e);var i=rn(e);var s=rn(e);var f=rn(e);e.l=t;var l={rfx:a,relId:n,loc:i,display:f};if(s)l.Tooltip=s;return l}function Yp(e,r){var t=ya(50+4*(e[1].Target.length+(e[1].Tooltip||"").length));_n({s:Wa(e[0]),e:Wa(e[0])},t);kn("rId"+r,t);var a=e[1].Target.indexOf("#");var n=a==-1?"":e[1].Target.slice(a+1);tn(n||"",t);tn(e[1].Tooltip||"",t);tn("",t);return t.slice(0,t.l)}function Zp(){}function Jp(e,r,t){var a=e.l+r;var n=yn(e,16);var i=e._R(1);var s=[n];s[2]=i;if(t.cellFormula){var f=jd(e,a-e.l,t);s[1]=f}else e.l=a;return s}function qp(e,r,t){var a=e.l+r;var n=Cn(e,16);var i=[n];if(t.cellFormula){var s=Zd(e,a-e.l,t);i[1]=s;e.l=a}else e.l=a;return i}function Qp(e,r,t){if(t==null)t=ya(18);var a=kv(e,r);t._W(-4,e);t._W(-4,e);t._W(4,(a.width||10)*256);t._W(4,0);var n=0;if(r.hidden)n|=1;if(typeof a.width=="number")n|=2;if(r.level)n|=r.level<<8;t._W(2,n);return t}var em=["left","right","top","bottom","header","footer"];function rm(e){var r={};em.forEach(function(t){r[t]=Sn(e,8)});return r}function tm(e,r){if(r==null)r=ya(6*8);Tv(e);em.forEach(function(t){xn(e[t],r)});return r}function am(e){var r=e._R(2);e.l+=28;return{RTL:r&32}}function nm(e,r,t){if(t==null)t=ya(30);var a=924;if((((r||{}).Views||[])[0]||{}).RTL)a|=32;t._W(2,a);t._W(4,0);t._W(4,0);t._W(4,0);t._W(1,0);t._W(1,0);t._W(2,0);t._W(2,100);t._W(2,0);t._W(2,0);t._W(2,0);t._W(4,0);return t}function im(e){var r=ya(24);r._W(4,4);r._W(4,1);_n(e,r);return r}function sm(e,r){if(r==null)r=ya(16*4+2);r._W(2,e.password?Fo(e.password):0);r._W(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._W(4,e[t[0]]!=null&&!e[t[0]]?1:0);else r._W(4,e[t[0]]!=null&&e[t[0]]?0:1)});return r}function fm(){}function lm(){}function om(e,r,t,a,n,i,s){if(!e)return e;var f=r||{};if(!a)a={"!id":{}};if(b!=null&&f.dense==null)f.dense=b;var l={};if(f.dense)l["!data"]=[];var o;var c={s:{r:2e6,c:2e6},e:{r:0,c:0}};var h=[];var u=false,d=false;var v,p,m,g,w,k,T,A,y;var E=[];f.biff=12;f["!row"]=0;var C=0,_=false;var S=[];var x={};var O=f.supbooks||n.supbooks||[[]];O.sharedf=x;O.arrayf=S;O.SheetNames=n.SheetNames||n.Sheets.map(function(e){return e.name});if(!f.supbooks){f.supbooks=O;if(n.Names)for(var R=0;R<n.Names.length;++R)O[0][R+1]=n.Names[R]}var I=[],N=[];var F=false;Qg[16]={n:"BrtShortReal",f:Rp};var D,P;var L=1462*+!!((n||{}).WBProps||{}).date1904;Ea(e,function U(e,r,b){if(d)return;switch(b){case 148:o=e;break;case 0:v=e;if(f.sheetRows&&f.sheetRows<=v.r)d=true;A=Na(g=v.r);f["!row"]=v.r;if(e.hidden||e.hpt||e.level!=null){if(e.hpt)e.hpx=lc(e.hpt);N[e.r]=e}break;case 2:;case 3:;case 4:;case 5:;case 6:;case 7:;case 8:;case 9:;case 10:;case 11:;case 13:;case 14:;case 15:;case 16:;case 17:;case 18:;case 62:p={t:e[2]};switch(e[2]){case"n":p.v=e[1];break;case"s":T=mv[e[1]];p.v=T.t;p.r=T.r;break;case"b":p.v=e[1]?true:false;break;case"e":p.v=e[1];if(f.cellText!==false)p.w=ti[p.v];break;case"str":p.t="s";p.v=e[1];break;case"is":p.t="s";p.v=e[1].t;break;}if(m=s.CellXf[e[0].iStyleRef])yv(p,m.numFmtId,null,f,i,s,L>0);w=e[0].c==-1?w+1:e[0].c;if(f.dense){if(!l["!data"][g])l["!data"][g]=[];l["!data"][g][w]=p}else l[La(w)+A]=p;if(f.cellFormula){_=false;for(C=0;C<S.length;++C){var R=S[C];if(v.r>=R[0].s.r&&v.r<=R[0].e.r)if(w>=R[0].s.c&&w<=R[0].e.c){p.F=Va(R[0]);_=true}}if(!_&&e.length>3)p.f=e[3]}if(c.s.r>v.r)c.s.r=v.r;if(c.s.c>w)c.s.c=w;if(c.e.r<v.r)c.e.r=v.r;if(c.e.c<w)c.e.c=w;if(f.cellDates&&m&&p.t=="n"&&Le(q[m.numFmtId])){var M=ae(p.v+L);if(M){p.t="d";p.v=new Date(Date.UTC(M.y,M.m-1,M.d,M.H,M.M,M.S,M.u))}}if(D){if(D.type=="XLDAPR")p.D=true;D=void 0}if(P)P=void 0;break;case 1:;case 12:if(!f.sheetStubs||u)break;p={t:"z",v:void 0};w=e[0].c==-1?w+1:e[0].c;if(f.dense){if(!l["!data"][g])l["!data"][g]=[];l["!data"][g][w]=p}else l[La(w)+A]=p;if(c.s.r>v.r)c.s.r=v.r;if(c.s.c>w)c.s.c=w;if(c.e.r<v.r)c.e.r=v.r;if(c.e.c<w)c.e.c=w;if(D){if(D.type=="XLDAPR")p.D=true;D=void 0}if(P)P=void 0;break;case 176:E.push(e);break;case 49:{D=((f.xlmeta||{}).Cell||[])[e-1]}break;case 494:var U=a["!id"][e.relId];if(U){e.Target=U.Target;if(e.loc)e.Target+="#"+e.loc;e.Rel=U}else if(e.relId==""){e.Target="#"+e.loc}for(g=e.rfx.s.r;g<=e.rfx.e.r;++g)for(w=e.rfx.s.c;w<=e.rfx.e.c;++w){if(f.dense){if(!l["!data"][g])l["!data"][g]=[];if(!l["!data"][g][w])l["!data"][g][w]={t:"z",v:undefined};l["!data"][g][w].l=e}else{k=La(w)+Na(g);if(!l[k])l[k]={t:"z",v:undefined};l[k].l=e}}break;case 426:if(!f.cellFormula)break;S.push(e);y=f.dense?l["!data"][g][w]:l[La(w)+A];y.f=Md(e[1],c,{r:v.r,c:w},O,f);y.F=Va(e[0]);break;case 427:if(!f.cellFormula)break;x[za(e[0].s)]=e[1];y=f.dense?l["!data"][g][w]:l[La(w)+A];y.f=Md(e[1],c,{r:v.r,c:w},O,f);break;case 60:if(!f.cellStyles)break;while(e.e>=e.s){I[e.e--]={width:e.w/256,hidden:!!(e.flags&1),level:e.level};if(!F){F=true;ac(e.w/256)}nc(I[e.e+1])}break;case 551:if(e)l["!legrel"]=e;break;case 161:l["!autofilter"]={ref:Va(e)};break;case 476:l["!margins"]=e;break;case 147:if(!n.Sheets[t])n.Sheets[t]={};if(e.name)n.Sheets[t].CodeName=e.name;if(e.above||e.left)l["!outline"]={above:e.above,left:e.left};break;case 137:if(!n.Views)n.Views=[{}];if(!n.Views[0])n.Views[0]={};if(e.RTL)n.Views[0].RTL=true;break;case 485:break;case 64:;case 1053:break;case 151:break;case 152:;case 175:;case 644:;case 625:;case 562:;case 396:;case 1112:;case 1146:;case 471:;case 1050:;case 649:;case 1105:;case 589:;case 607:;case 564:;case 1055:;case 168:;case 174:;case 1180:;case 499:;case 507:;case 550:;case 171:;case 167:;case 1177:;case 169:;case 1181:;case 552:;case 661:;case 639:;case 478:;case 537:;case 477:;case 536:;case 1103:;case 680:;case 1104:;case 1024:;case 663:;case 535:;case 678:;case 504:;case 1043:;case 428:;case 170:;case 3072:;case 50:;case 2070:;case 1045:break;case 35:u=true;break;case 36:u=false;break;case 37:h.push(b);u=true;break;case 38:h.pop();u=false;break;default:if(r.T){}else if(!u||f.WTF)throw new Error("Unexpected record 0x"+b.toString(16));}},f);delete f.supbooks;delete f["!row"];if(!l["!ref"]&&(c.s.r<2e6||o&&(o.e.r>0||o.e.c>0||o.s.r>0||o.s.c>0)))l["!ref"]=Va(o||c);if(f.sheetRows&&l["!ref"]){var M=Ga(l["!ref"]);if(f.sheetRows<=+M.e.r){M.e.r=f.sheetRows-1;if(M.e.r>c.e.r)M.e.r=c.e.r;if(M.e.r<M.s.r)M.s.r=M.e.r;if(M.e.c>c.e.c)M.e.c=c.e.c;if(M.e.c<M.s.c)M.s.c=M.e.c;l["!fullref"]=l["!ref"];l["!ref"]=Va(M)}}if(E.length>0)l["!merges"]=E;if(I.length>0)l["!cols"]=I;if(N.length>0)l["!rows"]=N;if(a["!id"][l["!legrel"]])l["!legdrawel"]=a["!id"][l["!legrel"]];return l}function cm(e,r,t,a,n,i,s,f){var l={r:t,c:a};if(r.c)i["!comments"].push([za(l),r.c]);if(r.v===undefined)return false;var o="";switch(r.t){case"b":o=r.v?"1":"0";break;case"d":r=Tr(r);r.z=r.z||q[14];r.v=dr(wr(r.v,f),f);r.t="n";break;case"n":;case"e":o=""+r.v;break;default:o=r.v;break;}l.s=Av(n.cellXfs,r,n);if(r.l)i["!links"].push([za(l),r.l]);switch(r.t){case"s":;case"str":if(n.bookSST){o=wv(n.Strings,r.v==null?"":String(r.v),n.revStrings);l.t="s";l.v=o;if(s)_a(e,18,Sp(r,l));else _a(e,7,Cp(r,l))}else{l.t="str";if(s)_a(e,17,Wp(r,l));else _a(e,6,Up(r,l))}return true;case"n":if(r.v==(r.v|0)&&r.v>-1e3&&r.v<1e3){if(s)_a(e,13,Pp(r,l));else _a(e,2,Fp(r,l))}else if(isNaN(r.v)){if(s)_a(e,14,yp({t:"e",v:36},l));else _a(e,3,Tp({t:"e",v:36},l))}else if(!isFinite(r.v)){if(s)_a(e,14,yp({t:"e",v:7},l));else _a(e,3,Tp({t:"e",v:7},l))}else{if(s)_a(e,16,Ip(r,l));else _a(e,5,Op(r,l))}return true;case"b":l.t="b";if(s)_a(e,15,wp(r,l));else _a(e,4,gp(r,l));return true;case"e":l.t="e";if(s)_a(e,14,yp(r,l));else _a(e,3,Tp(r,l));return true;}if(s)_a(e,12,pp(r,l));else _a(e,1,dp(r,l));return true}function hm(e,r,t,a,n){var i=Ga(r["!ref"]||"A1"),s,f="",l=[];var o=(((n||{}).Workbook||{}).WBProps||{}).date1904;_a(e,145);var c=r["!data"]!=null;var h=i.e.r;if(r["!rows"])h=Math.max(i.e.r,r["!rows"].length-1);for(var u=i.s.r;u<=h;++u){f=Na(u);sp(e,r,i,u);var d=false;if(u<=i.e.r)for(var v=i.s.c;v<=i.e.c;++v){if(u===i.s.r)l[v]=La(v);s=l[v]+f;var p=c?(r["!data"][u]||[])[v]:r[s];if(!p){d=false;continue}d=cm(e,p,u,v,a,r,d,o)}}_a(e,146)}function um(e,r){if(!r||!r["!merges"])return;_a(e,177,jp(r["!merges"].length));r["!merges"].forEach(function(r){_a(e,176,Gp(r))});_a(e,178)}function dm(e,r){if(!r||!r["!cols"])return;_a(e,390);r["!cols"].forEach(function(r,t){if(r)_a(e,60,Qp(t,r))});_a(e,391)}function vm(e,r){if(!r||!r["!ref"])return;_a(e,648);_a(e,649,im(Ga(r["!ref"])));_a(e,650)}function pm(e,r,t){r["!links"].forEach(function(r){if(!r[1].Target)return;var a=vi(t,-1,r[1].Target.replace(/#.*$/,""),ci.HLINK);_a(e,494,Yp(r,a))});delete r["!links"]}function mm(e,r,t,a){if(r["!comments"].length>0){var n=vi(a,-1,"../drawings/vmlDrawing"+(t+1)+".vml",ci.VML);_a(e,551,kn("rId"+n));r["!legacy"]=n}}function gm(e,r,t,a){if(!r["!autofilter"])return;var n=r["!autofilter"];var i=typeof n.ref==="string"?n.ref:Va(n.ref);if(!t.Workbook)t.Workbook={Sheets:[]};if(!t.Workbook.Names)t.Workbook.Names=[];var s=t.Workbook.Names;var f=Ha(i);if(f.s.r==f.e.r){f.e.r=Ha(r["!ref"]).e.r;i=Va(f)}for(var l=0;l<s.length;++l){var o=s[l];if(o.Name!="_xlnm._FilterDatabase")continue;if(o.Sheet!=a)continue;o.Ref=$a(t.SheetNames[a])+"!"+Xa(i);break}if(l==s.length)s.push({Name:"_xlnm._FilterDatabase",Sheet:a,Ref:$a(t.SheetNames[a])+"!"+Xa(i)});_a(e,161,_n(Ga(i)));_a(e,162)}function bm(e,r,t){_a(e,133);{_a(e,137,nm(r,t));_a(e,138)}_a(e,134)}function wm(){}function km(e,r){if(!r["!protect"])return;_a(e,535,sm(r["!protect"]))}function Tm(e,r,t,a){var n=Ca();var i=t.SheetNames[e],s=t.Sheets[i]||{};var f=i;try{if(t&&t.Workbook)f=t.Workbook.Sheets[e].CodeName||f}catch(l){}var o=Ga(s["!ref"]||"A1");if(o.e.c>16383||o.e.r>1048575){if(r.WTF)throw new Error("Range "+(s["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");o.e.c=Math.min(o.e.c,16383);o.e.r=Math.min(o.e.c,1048575)}s["!links"]=[];s["!comments"]=[];_a(n,129);if(t.vbaraw||s["!outline"])_a(n,147,hp(f,s["!outline"]));_a(n,148,lp(o));bm(n,s,t.Workbook);wm(n,s);dm(n,s,e,r,t);hm(n,s,e,r,t);km(n,s);gm(n,s,t,e);um(n,s);pm(n,s,a);if(s["!margins"])_a(n,476,tm(s["!margins"]));if(!r||r.ignoreEC||r.ignoreEC==void 0)vm(n,s);mm(n,s,e,a);_a(n,130);return n.end()}function Am(e){var r=[];var t=e.match(/^<c:numCache>/);var a;(e.match(/<c:pt idx="(\d*)">(.*?)<\/c:pt>/gm)||[]).forEach(function(e){var a=e.match(/<c:pt idx="(\d*?)"><c:v>(.*)<\/c:v><\/c:pt>/);if(!a)return;r[+a[1]]=t?+a[2]:a[2]});var n=it((e.match(/<c:formatCode>([\s\S]*?)<\/c:formatCode>/)||["","General"])[1]);(e.match(/<c:f>(.*?)<\/c:f>/gm)||[]).forEach(function(e){a=e.replace(/<.*?>/g,"")});return[r,n,a]}function ym(e,r,t,a,n,i){var s=i||{"!type":"chart"};if(!e)return i;var f=0,l=0,o="A";var c={s:{r:2e6,c:2e6},e:{r:0,c:0}};(e.match(/<c:numCache>[\s\S]*?<\/c:numCache>/gm)||[]).forEach(function(e){var r=Am(e);c.s.r=c.s.c=0;c.e.c=f;o=La(f);r[0].forEach(function(e,t){if(s["!data"]){if(!s["!data"][t])s["!data"][t]=[];s["!data"][t][f]={t:"n",v:e,z:r[1]}}else s[o+Na(t)]={t:"n",v:e,z:r[1]};l=t});if(c.e.r<l)c.e.r=l;++f});if(f>0)s["!ref"]=Va(c);return s}function Em(e,r,t,a,n){if(!e)return e;if(!a)a={"!id":{}};var i={"!type":"chart","!drawel":null,"!rel":""};var s;var f=e.match(Fv);if(f)Uv(f[0],i,n,t);if(s=e.match(/drawing r:id="(.*?)"/))i["!rel"]=s[1];if(a["!id"][i["!rel"]])i["!drawel"]=a["!id"][i["!rel"]];return i}function Cm(e,r){e.l+=10;var t=rn(e,r-10);return{name:t}}function _m(e,r,t,a,n){if(!e)return e;if(!a)a={"!id":{}};var i={"!type":"chart","!drawel":null,"!rel":""};var s=[];var f=false;Ea(e,function l(e,a,o){switch(o){case 550:i["!rel"]=e;break;case 651:if(!n.Sheets[t])n.Sheets[t]={};if(e.name)n.Sheets[t].CodeName=e.name;break;case 562:;case 652:;case 669:;case 679:;case 551:;case 552:;case 476:;case 3072:break;case 35:f=true;break;case 36:f=false;break;case 37:s.push(o);break;case 38:s.pop();break;default:if(a.T>0)s.push(o);else if(a.T<0)s.pop();else if(!f||r.WTF)throw new Error("Unexpected record 0x"+o.toString(16));}},r);if(a["!id"][i["!rel"]])i["!drawel"]=a["!id"][i["!rel"]];return i}var Sm=[["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 xm=[["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 Om=[];var Rm=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function Im(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]]=pt(a[i[0]]);break;case"int":if(typeof a[i[0]]=="string")a[i[0]]=parseInt(a[i[0]],10);break;}}}}function Nm(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]]=pt(e[a[0]]);break;case"int":if(typeof e[a[0]]=="string")e[a[0]]=parseInt(e[a[0]],10);break;}}}function Fm(e){Nm(e.WBProps,Sm);Nm(e.CalcPr,Rm);Im(e.WBView,xm);Im(e.Sheets,Om);gv.date1904=pt(e.WBProps.date1904)}function Dm(e){if(!e.Workbook)return"false";if(!e.Workbook.WBProps)return"false";return pt(e.Workbook.WBProps.date1904)?"true":"false"}var Pm=":][*?/\\".split("");function Lm(e,r){try{if(e=="")throw new Error("Sheet name cannot be blank");if(e.length>31)throw new Error("Sheet name cannot exceed 31 chars");if(e.charCodeAt(0)==39||e.charCodeAt(e.length-1)==39)throw new Error("Sheet name cannot start or end with apostrophe (')");if(e.toLowerCase()=="history")throw new Error("Sheet name cannot be 'History'");Pm.forEach(function(r){if(e.indexOf(r)==-1)return;throw new Error("Sheet name cannot contain : \\ / ? * [ ]")})}catch(t){if(r)return false;throw t}return true}function Mm(e,r,t){e.forEach(function(a,n){Lm(a);for(var i=0;i<n;++i)if(a==e[i])throw new Error("Duplicate Sheet Name: "+a);if(t){var s=r&&r[n]&&r[n].CodeName||a;if(s.charCodeAt(0)==95&&s.length>22)throw new Error("Bad Code Name: Worksheet"+s)}})}function Um(e){if(!e||!e.SheetNames||!e.Sheets)throw new Error("Invalid Workbook");if(!e.SheetNames.length)throw new Error("Workbook is empty");var r=e.Workbook&&e.Workbook.Sheets||[];Mm(e.SheetNames,r,!!e.vbaraw);for(var t=0;t<e.SheetNames.length;++t)Ev(e.Sheets[e.SheetNames[t]],e.SheetNames[t],t);e.SheetNames.forEach(function(r,t){var a=e.Sheets[r];if(!a||!a["!autofilter"])return;var n;if(!e.Workbook)e.Workbook={};if(!e.Workbook.Names)e.Workbook.Names=[];e.Workbook.Names.forEach(function(e){if(e.Name=="_xlnm._FilterDatabase"&&e.Sheet==t)n=e});var i=$a(r)+"!"+Xa(a["!autofilter"].ref);if(n)n.Ref=i;else e.Workbook.Names.push({Name:"_xlnm._FilterDatabase",Sheet:t,Ref:i})})}var Bm=/<\w+:workbook/;function Wm(e,r){if(!e)throw new Error("Could not find file");var t={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},Names:[],xmlns:""};var a=false,n="xmlns";var i={},s=0;e.replace(qr,function f(l,o){var c=rt(l);switch(tt(c[0])){case"<?xml":break;case"<workbook":if(l.match(Bm))n="xmlns"+l.match(/<(\w+):/)[1];t.xmlns=c[n];break;case"</workbook>":break;case"<fileVersion":delete c[0];t.AppVersion=c;break;case"<fileVersion/>":;case"</fileVersion>":break;case"<fileSharing":break;case"<fileSharing/>":break;case"<workbookPr":;case"<workbookPr/>":Sm.forEach(function(e){if(c[e[0]]==null)return;switch(e[2]){case"bool":t.WBProps[e[0]]=pt(c[e[0]]);break;case"int":t.WBProps[e[0]]=parseInt(c[e[0]],10);break;default:t.WBProps[e[0]]=c[e[0]];}});if(c.codeName)t.WBProps.CodeName=kt(c.codeName);break;case"</workbookPr>":break;case"<workbookProtection":break;case"<workbookProtection/>":break;case"<bookViews":;case"<bookViews>":;case"</bookViews>":break;case"<workbookView":;case"<workbookView/>":delete c[0];t.WBView.push(c);break;case"</workbookView>":break;case"<sheets":;case"<sheets>":;case"</sheets>":break;case"<sheet":switch(c.state){case"hidden":c.Hidden=1;break;case"veryHidden":c.Hidden=2;break;default:c.Hidden=0;}delete c.state;c.name=it(kt(c.name));delete c[0];t.Sheets.push(c);break;case"</sheet>":break;case"<functionGroups":;case"<functionGroups/>":break;case"<functionGroup":break;case"<externalReferences":;case"</externalReferences>":;case"<externalReferences>":break;case"<externalReference":break;case"<definedNames/>":break;case"<definedNames>":;case"<definedNames":a=true;break;case"</definedNames>":a=false;break;case"<definedName":{i={};i.Name=kt(c.name);if(c.comment)i.Comment=c.comment;if(c.localSheetId)i.Sheet=+c.localSheetId;if(pt(c.hidden||"0"))i.Hidden=true;s=o+l.length}break;case"</definedName>":{i.Ref=it(kt(e.slice(s,o)));t.Names.push(i)}break;case"<definedName/>":break;case"<calcPr":delete c[0];t.CalcPr=c;break;case"<calcPr/>":delete c[0];t.CalcPr=c;break;case"</calcPr>":break;case"<oleSize":break;case"<customWorkbookViews>":;case"</customWorkbookViews>":;case"<customWorkbookViews":break;case"<customWorkbookView":;case"</customWorkbookView>":break;case"<pivotCaches>":;case"</pivotCaches>":;case"<pivotCaches":break;case"<pivotCache":break;case"<smartTagPr":;case"<smartTagPr/>":break;case"<smartTagTypes":;case"<smartTagTypes>":;case"</smartTagTypes>":break;case"<smartTagType":break;case"<webPublishing":;case"<webPublishing/>":break;case"<fileRecoveryPr":;case"<fileRecoveryPr/>":break;case"<webPublishObjects>":;case"<webPublishObjects":;case"</webPublishObjects>":break;case"<webPublishObject":break;case"<extLst":;case"<extLst>":;case"</extLst>":;case"<extLst/>":break;case"<ext":a=true;break;case"</ext>":a=false;break;case"<ArchID":break;case"<AlternateContent":;case"<AlternateContent>":a=true;break;case"</AlternateContent>":a=false;break;case"<revisionPtr":break;default:if(!a&&r.WTF)throw new Error("unrecognized "+c[0]+" in workbook");}return l});if(Mt.indexOf(t.xmlns)===-1)throw new Error("Unknown Namespace: "+t.xmlns);Fm(t);return t}function zm(e){var r=[Kr];r[r.length]=It("workbook",null,{xmlns:Mt[0],"xmlns:r":Lt.r});var t=e.Workbook&&(e.Workbook.Names||[]).length>0;var a={codeName:"ThisWorkbook"};if(e.Workbook&&e.Workbook.WBProps){Sm.forEach(function(r){if(e.Workbook.WBProps[r[0]]==null)return;if(e.Workbook.WBProps[r[0]]==r[1])return;a[r[0]]=e.Workbook.WBProps[r[0]]});if(e.Workbook.WBProps.CodeName){a.codeName=e.Workbook.WBProps.CodeName;delete a.CodeName}}r[r.length]=It("workbookPr",null,a);var n=e.Workbook&&e.Workbook.Sheets||[];var i=0;if(n&&n[0]&&!!n[0].Hidden){r[r.length]="<bookViews>";for(i=0;i!=e.SheetNames.length;++i){if(!n[i])break;if(!n[i].Hidden)break}if(i==e.SheetNames.length)i=0;r[r.length]='<workbookView firstSheet="'+i+'" activeTab="'+i+'"/>';r[r.length]="</bookViews>"}r[r.length]="<sheets>";for(i=0;i!=e.SheetNames.length;++i){var s={name:lt(e.SheetNames[i].slice(0,31))};s.sheetId=""+(i+1);s["r:id"]="rId"+(i+1);if(n[i])switch(n[i].Hidden){case 1:s.state="hidden";break;case 2:s.state="veryHidden";break;}r[r.length]=It("sheet",null,s)}r[r.length]="</sheets>";if(t){r[r.length]="<definedNames>";if(e.Workbook&&e.Workbook.Names)e.Workbook.Names.forEach(function(e){var t={name:e.Name};if(e.Comment)t.comment=e.Comment;if(e.Sheet!=null)t.localSheetId=""+e.Sheet;if(e.Hidden)t.hidden="1";if(!e.Ref)return;r[r.length]=It("definedName",lt(e.Ref),t)});r[r.length]="</definedNames>"}if(r.length>2){r[r.length]="</workbook>";r[1]=r[1].replace("/>",">")}return r.join("")}function Hm(e,r){var t={};t.Hidden=e._R(4);t.iTabID=e._R(4);t.strRelID=wn(e,r-8);t.name=rn(e);return t}function Vm(e,r){if(!r)r=ya(127);r._W(4,e.Hidden);r._W(4,e.iTabID);kn(e.strRelID,r);tn(e.name.slice(0,31),r);return r.length>r.l?r.slice(0,r.l):r}function Xm(e,r){var t={};var a=e._R(4);t.defaultThemeVersion=e._R(4);var n=r>8?rn(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 $m(e,r){if(!r)r=ya(72);var t=0;if(e){if(e.date1904)t|=1;if(e.filterPrivacy)t|=8}r._W(4,t);r._W(4,0);pn(e&&e.CodeName||"ThisWorkbook",r);return r.slice(0,r.l)}function Gm(e,r){var t={};e._R(4);t.ArchID=e._R(4);e.l+=r-8;return t}function jm(e,r,t){var a=e.l+r;var n=e._R(4);e.l+=1;var i=e._R(4);var s=bn(e);var f=Yd(e,0,t);var l=mn(e);if(n&32)s="_xlnm."+s;e.l=a;var o={Name:s,Ptg:f,Flags:n};if(i<268435455)o.Sheet=i;if(l)o.Comment=l;return o}function Km(e,r){var t=ya(9);var a=0;var n=e.Name;if(ni.indexOf(n)>-1){a|=32;n=n.slice(6)}t._W(4,a);t._W(1,0);t._W(4,e.Sheet==null?4294967295:e.Sheet);var i=[t,tn(n),lv(e.Ref,r)];if(e.Comment)i.push(gn(e.Comment));else{var s=ya(4);s._W(4,4294967295);i.push(s)}return P(i)}function Ym(e,r){var t={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""};var a=[];var n=false;if(!r)r={};r.biff=12;var i=[];var s=[[]];s.SheetNames=[];s.XTI=[];Qg[16]={n:"BrtFRTArchID$",f:Gm};Ea(e,function f(e,l,o){switch(o){case 156:s.SheetNames.push(e.name);t.Sheets.push(e);break;case 153:t.WBProps=e;break;case 39:if(e.Sheet!=null)r.SID=e.Sheet;e.Ref=Md(e.Ptg,null,null,s,r);delete r.SID;delete e.Ptg;i.push(e);break;case 1036:break;case 357:;case 358:;case 355:;case 667:if(!s[0].length)s[0]=[o,e];else s.push([o,e]);s[s.length-1].XTI=[];break;case 362:if(s.length===0){s[0]=[];s[0].XTI=[]}s[s.length-1].XTI=s[s.length-1].XTI.concat(e);s.XTI=s.XTI.concat(e);break;case 361:break;case 2071:;case 158:;case 143:;case 664:;case 353:break;case 3072:;case 3073:;case 534:;case 677:;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.push(o);n=true;break;case 36:a.pop();n=false;break;case 37:a.push(o);n=true;break;case 38:a.pop();n=false;break;case 16:break;default:if(l.T){}else if(!n||r.WTF&&a[a.length-1]!=37&&a[a.length-1]!=35)throw new Error("Unexpected record 0x"+o.toString(16));}},r);Fm(t);t.Names=i;t.supbooks=s;return t}function Zm(e,r){_a(e,143);for(var t=0;t!=r.SheetNames.length;++t){var a=r.Workbook&&r.Workbook.Sheets&&r.Workbook.Sheets[t]&&r.Workbook.Sheets[t].Hidden||0;var n={Hidden:a,iTabID:t+1,strRelID:"rId"+(t+1),name:r.SheetNames[t]};_a(e,156,Vm(n))}_a(e,144)}function Jm(r,t){if(!t)t=ya(127);for(var a=0;a!=4;++a)t._W(4,0);tn("SheetJS",t);tn(e.version,t);tn(e.version,t);tn("7262",t);return t.length>t.l?t.slice(0,t.l):t}function qm(e,r){if(!r)r=ya(29);r._W(-4,0);r._W(-4,460);r._W(4,28800);r._W(4,17600);r._W(4,500);r._W(4,e);r._W(4,e);var t=120;r._W(1,t);return r.length>r.l?r.slice(0,r.l):r}function Qm(e,r){if(!r.Workbook||!r.Workbook.Sheets)return;var t=r.Workbook.Sheets;var a=0,n=-1,i=-1;for(;a<t.length;++a){if(!t[a]||!t[a].Hidden&&n==-1)n=a;else if(t[a].Hidden==1&&i==-1)i=a}if(i>n)return;_a(e,135);_a(e,158,qm(n));_a(e,136)}function eg(e,r){if(!r.Workbook||!r.Workbook.Names)return;r.Workbook.Names.forEach(function(t){try{if(t.Flags&14)return;_a(e,39,Km(t,r))}catch(a){console.error("Could not serialize defined name "+JSON.stringify(t))}})}function rg(e){var r=e.SheetNames.length;var t=ya(12*r+28);t._W(4,r+2);t._W(4,0);t._W(4,-2);t._W(4,-2);t._W(4,0);t._W(4,-1);t._W(4,-1);for(var a=0;a<r;++a){t._W(4,0);t._W(4,a);t._W(4,a)}return t}function tg(e,r){_a(e,353);_a(e,357);_a(e,362,rg(r,0));_a(e,354)}function ag(e,r){var t=Ca();_a(t,131);_a(t,128,Jm());_a(t,153,$m(e.Workbook&&e.Workbook.WBProps||null));Qm(t,e,r);Zm(t,e,r);tg(t,e);if((e.Workbook||{}).Names)eg(t,e);_a(t,132);return t.end()}function ng(e,r,t){if(r.slice(-4)===".bin")return Ym(e,t);return Wm(e,t)}function ig(e,r,t,a,n,i,s,f){if(r.slice(-4)===".bin")return om(e,a,t,n,i,s,f);return Lv(e,a,t,n,i,s,f)}function sg(e,r,t,a,n,i,s,f){if(r.slice(-4)===".bin")return _m(e,a,t,n,i,s,f);return Em(e,a,t,n,i,s,f)}function fg(e,r,t,a,n,i,s,f){if(r.slice(-4)===".bin")return Qh(e,a,t,n,i,s,f);return eu(e,a,t,n,i,s,f)}function lg(e,r,t,a,n,i,s,f){if(r.slice(-4)===".bin")return Jh(e,a,t,n,i,s,f);return qh(e,a,t,n,i,s,f)}function og(e,r,t,a){if(r.slice(-4)===".bin")return Lc(e,t,a);return wc(e,t,a)}function cg(e,r,t){if(r.slice(-4)===".bin")return uo(e,t);return lo(e,t)}function hg(e,r,t){if(r.slice(-4)===".bin")return $h(e,t);return Ph(e,t)}function ug(e,r,t){if(r.slice(-4)===".bin")return _h(e,r,t);return Eh(e,r,t)}function dg(e,r,t,a){if(t.slice(-4)===".bin")return xh(e,r,t,a);return Sh(e,r,t,a)}function vg(e,r,t){if(r.slice(-4)===".bin")return kh(e,r,t);return Ah(e,r,t)}var pg=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g;var mg=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;function gg(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(pg),i,s,f,l;if(n)for(l=0;l!=n.length;++l){i=n[l].match(mg);if((s=i[1].indexOf(":"))===-1)a[i[1]]=i[2].slice(1,i[2].length-1);else{if(i[1].slice(0,6)==="xmlns:")f="xmlns"+i[1].slice(6);else f=i[1].slice(s+1);a[f]=i[2].slice(1,i[2].length-1)}}return a}function bg(e){var r=e.split(/\s+/);var t={};if(r.length===1)return t;var a=e.match(pg),n,i,s,f;if(a)for(f=0;f!=a.length;++f){n=a[f].match(mg);if((i=n[1].indexOf(":"))===-1)t[n[1]]=n[2].slice(1,n[2].length-1);else{if(n[1].slice(0,6)==="xmlns:")s="xmlns"+n[1].slice(6);else s=n[1].slice(i+1);t[s]=n[2].slice(1,n[2].length-1)}}return t}var wg;function kg(e,r,t){var a=wg[e]||it(e);if(a==="General")return oe(r);return ze(a,r,{date1904:!!t})}function Tg(e,r,t,a){var n=a;switch((t[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":n=pt(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=wr(a);break;case"i8":;case"string":;case"fixed":;case"uuid":;case"bin.base64":break;default:throw new Error("bad custprop:"+t[0]);}e[it(r)]=n}function Ag(e,r,t,a){if(e.t==="z")return;if(!t||t.cellText!==false)try{if(e.t==="e"){e.w=e.w||ti[e.v]}else if(r==="General"){if(e.t==="n"){if((e.v|0)===e.v)e.w=e.v.toString(10);else e.w=le(e.v)}else e.w=oe(e.v)}else e.w=kg(r||"General",e.v,a)}catch(n){if(t.WTF)throw n}try{var i=wg[r]||r||"General";if(t.cellNF)e.z=i;if(t.cellDates&&e.t=="n"&&Le(i)){var s=ae(e.v+(a?1462:0));if(s){e.t="d";e.v=new Date(Date.UTC(s.y,s.m-1,s.d,s.H,s.M,s.S,s.u))}}}catch(n){if(t.WTF)throw n}}function yg(e,r,t){if(t.cellStyles){if(r.Interior){var a=r.Interior;if(a.Pattern)a.patternType=oc[a.Pattern]||a.Pattern}}e[r.ID]=r}function Eg(e,r,t,a,n,i,s,f,l,o,c){var h="General",u=a.StyleID,d={};o=o||{};var v=[];var p=0;if(u===undefined&&f)u=f.StyleID;if(u===undefined&&s)u=s.StyleID;while(i[u]!==undefined){if(i[u].nf)h=i[u].nf;if(i[u].Interior)v.push(i[u].Interior);if(!i[u].Parent)break;u=i[u].Parent}switch(t.Type){case"Boolean":a.t="b";a.v=pt(e);break;case"String":a.t="s";a.r=dt(it(e));a.v=e.indexOf("<")>-1?it(r||e).replace(/<.*?>/g,""):a.r;break;case"DateTime":if(e.slice(-1)!="Z")e+="Z";a.v=dr(wr(e,c),c);if(a.v!==a.v)a.v=it(e);if(!h||h=="General")h="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=ai[e];if(o.cellText!==false)a.w=e;break;default:if(e==""&&r==""){a.t="z"}else{a.t="s";a.v=dt(r||e)}break;}Ag(a,h,o,c);if(o.cellFormula!==false){if(a.Formula){var m=it(a.Formula);if(m.charCodeAt(0)==61)m=m.slice(1);a.f=ru(m,n);delete a.Formula;if(a.ArrayRange=="RC")a.F=ru("RC:RC",n);else if(a.ArrayRange){a.F=ru(a.ArrayRange,n);l.push([Ga(a.F),a.F])}}else{for(p=0;p<l.length;++p)if(n.r>=l[p][0].s.r&&n.r<=l[p][0].e.r)if(n.c>=l[p][0].s.c&&n.c<=l[p][0].e.c)a.F=l[p][1]}}if(o.cellStyles){v.forEach(function(e){if(!d.patternType&&e.patternType)d.patternType=e.patternType});a.s=d}if(a.StyleID!==undefined)a.ixfe=a.StyleID}function Cg(e){return ni.indexOf("_xlnm."+e)>-1?"_xlnm."+e:e}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 Sg(e,r){var t=r||{};Xe();var n=v(Dt(e));if(t.type=="binary"||t.type=="array"||t.type=="base64"){if(typeof a!=="undefined")n=a.utils.decode(65001,c(n));else n=kt(n)}var i=n.slice(0,1024).toLowerCase(),s=false;i=i.replace(/".*?"/g,"");if((i.indexOf(">")&1023)>Math.min(i.indexOf(",")&1023,i.indexOf(";")&1023)){var f=Tr(t);f.type="string";return Yl.to_workbook(n,f)}if(i.indexOf("<?xml")==-1)["html","table","head","meta","script","style","div"].forEach(function(e){if(i.indexOf("<"+e)>=0)s=true});if(s)return xb(n,t);wg={"General Number":"General","General Date":q[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":q[15],"Short Date":q[14],"Long Time":q[19],"Medium Time":q[18],"Short Time":q[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:q[2],Standard:q[4],Percent:q[10],Scientific:q[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'};var l;var o=[],h;if(b!=null&&t.dense==null)t.dense=b; -var u={},d=[],p={},m="";if(t.dense)p["!data"]=[];var g={},w={};var k=gg('<Data ss:Type="String">'),T=0;var A=0,y=0;var E={s:{r:2e6,c:2e6},e:{r:0,c:0}};var C={},_={};var S="",x=0;var O=[];var R={},I={},N=0,F=[];var D=[],P={};var L=[],M,U=false;var B=[];var W=[],z={},H=0,V=0;var X={Sheets:[],WBProps:{date1904:false}},$={};Pt.lastIndex=0;n=n.replace(/<!--([\s\S]*?)-->/gm,"");var G="";while(l=Pt.exec(n))switch(l[3]=(G=l[3]).toLowerCase()){case"data":if(G=="data"){if(l[1]==="/"){if((h=o.pop())[0]!==l[3])throw new Error("Bad state: "+h.join("|"))}else if(l[0].charAt(l[0].length-2)!=="/")o.push([l[3],true]);break}if(o[o.length-1][1])break;if(l[1]==="/")Eg(n.slice(T,l.index),S,k,o[o.length-1][0]=="comment"?P:g,{c:A,r:y},C,L[A],w,B,t,X.WBProps.date1904);else{S="";k=gg(l[0]);T=l.index+l[0].length}break;case"cell":if(l[1]==="/"){if(D.length>0)g.c=D;if((!t.sheetRows||t.sheetRows>y)&&g.v!==void 0){if(t.dense){if(!p["!data"][y])p["!data"][y]=[];p["!data"][y][A]=g}else p[La(A)+Na(y)]=g}if(g.HRef){g.l={Target:it(g.HRef)};if(g.HRefScreenTip)g.l.Tooltip=g.HRefScreenTip;delete g.HRef;delete g.HRefScreenTip}if(g.MergeAcross||g.MergeDown){H=A+(parseInt(g.MergeAcross,10)|0);V=y+(parseInt(g.MergeDown,10)|0);if(H>A||V>y)O.push({s:{c:A,r:y},e:{c:H,r:V}})}if(!t.sheetStubs){if(g.MergeAcross)A=H+1;else++A}else if(g.MergeAcross||g.MergeDown){for(var j=A;j<=H;++j){for(var K=y;K<=V;++K){if(j>A||K>y){if(t.dense){if(!p["!data"][K])p["!data"][K]=[];p["!data"][K][j]={t:"z"}}else p[La(j)+Na(K)]={t:"z"}}}}A=H+1}else++A}else{g=bg(l[0]);if(g.Index)A=+g.Index-1;if(A<E.s.c)E.s.c=A;if(A>E.e.c)E.e.c=A;if(l[0].slice(-2)==="/>")++A;D=[]}break;case"row":if(l[1]==="/"||l[0].slice(-2)==="/>"){if(y<E.s.r)E.s.r=y;if(y>E.e.r)E.e.r=y;if(l[0].slice(-2)==="/>"){w=gg(l[0]);if(w.Index)y=+w.Index-1}A=0;++y}else{w=gg(l[0]);if(w.Index)y=+w.Index-1;z={};if(w.AutoFitHeight=="0"||w.Height){z.hpx=parseInt(w.Height,10);z.hpt=fc(z.hpx);W[y]=z}if(w.Hidden=="1"){z.hidden=true;W[y]=z}}break;case"worksheet":if(l[1]==="/"){if((h=o.pop())[0]!==l[3])throw new Error("Bad state: "+h.join("|"));d.push(m);if(E.s.r<=E.e.r&&E.s.c<=E.e.c){p["!ref"]=Va(E);if(t.sheetRows&&t.sheetRows<=E.e.r){p["!fullref"]=p["!ref"];E.e.r=t.sheetRows-1;p["!ref"]=Va(E)}}if(O.length)p["!merges"]=O;if(L.length>0)p["!cols"]=L;if(W.length>0)p["!rows"]=W;u[m]=p}else{E={s:{r:2e6,c:2e6},e:{r:0,c:0}};y=A=0;o.push([l[3],false]);h=gg(l[0]);m=it(h.Name);p={};if(t.dense)p["!data"]=[];O=[];B=[];W=[];$={name:m,Hidden:0};X.Sheets.push($)}break;case"table":if(l[1]==="/"){if((h=o.pop())[0]!==l[3])throw new Error("Bad state: "+h.join("|"))}else if(l[0].slice(-2)=="/>")break;else{o.push([l[3],false]);L=[];U=false}break;case"style":if(l[1]==="/")yg(C,_,t);else _=gg(l[0]);break;case"numberformat":_.nf=it(gg(l[0]).Format||"General");if(wg[_.nf])_.nf=wg[_.nf];for(var Y=0;Y!=392;++Y)if(q[Y]==_.nf)break;if(Y==392)for(Y=57;Y!=392;++Y)if(q[Y]==null){Je(_.nf,Y);break}break;case"column":if(o[o.length-1][0]!=="table")break;if(l[1]==="/")break;M=gg(l[0]);if(M.Hidden){M.hidden=true;delete M.Hidden}if(M.Width)M.wpx=parseInt(M.Width,10);if(!U&&M.wpx>10){U=true;qo=Yo;for(var Z=0;Z<L.length;++Z)if(L[Z])nc(L[Z])}if(U)nc(M);L[M.Index-1||L.length]=M;for(var J=0;J<+M.Span;++J)L[L.length]=Tr(M);break;case"namedrange":if(l[1]==="/")break;if(!X.Names)X.Names=[];var Q=rt(l[0]);var ee={Name:Cg(Q.Name),Ref:ru(Q.RefersTo.slice(1),{r:0,c:0})};if(X.Sheets.length>0)ee.Sheet=X.Sheets.length-1;X.Names.push(ee);break;case"namedcell":break;case"b":break;case"i":break;case"u":break;case"s":break;case"em":break;case"h2":break;case"h3":break;case"sub":break;case"sup":break;case"span":break;case"alignment":break;case"borders":break;case"border":break;case"font":if(l[0].slice(-2)==="/>")break;else if(l[1]==="/")S+=n.slice(x,l.index);else x=l.index+l[0].length;break;case"interior":if(!t.cellStyles)break;_.Interior=gg(l[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":;case"appname":if(l[0].slice(-2)==="/>")break;else if(l[1]==="/")Mi(R,G,n.slice(N,l.index));else N=l.index+l[0].length;break;case"paragraphs":break;case"styles":;case"workbook":if(l[1]==="/"){if((h=o.pop())[0]!==l[3])throw new Error("Bad state: "+h.join("|"))}else o.push([l[3],false]);break;case"comment":if(l[1]==="/"){if((h=o.pop())[0]!==l[3])throw new Error("Bad state: "+h.join("|"));_g(P);D.push(P)}else{o.push([l[3],false]);h=gg(l[0]);if(!pt(h["ShowAlways"]||"0"))D.hidden=true;P={a:h.Author}}break;case"autofilter":if(l[1]==="/"){if((h=o.pop())[0]!==l[3])throw new Error("Bad state: "+h.join("|"))}else if(l[0].charAt(l[0].length-2)!=="/"){var re=gg(l[0]);p["!autofilter"]={ref:ru(re.Range).replace(/\$/g,"")};o.push([l[3],true])}break;case"name":break;case"datavalidation":if(l[1]==="/"){if((h=o.pop())[0]!==l[3])throw new Error("Bad state: "+h.join("|"))}else{if(l[0].charAt(l[0].length-2)!=="/")o.push([l[3],true])}break;case"pixelsperinch":break;case"componentoptions":;case"documentproperties":;case"customdocumentproperties":;case"officedocumentsettings":;case"pivottable":;case"pivotcache":;case"names":;case"mapinfo":;case"pagebreaks":;case"querytable":;case"sorting":;case"schema":;case"conditionalformatting":;case"smarttagtype":;case"smarttags":;case"excelworkbook":;case"workbookoptions":;case"worksheetoptions":if(l[1]==="/"){if((h=o.pop())[0]!==l[3])throw new Error("Bad state: "+h.join("|"))}else if(l[0].charAt(l[0].length-2)!=="/")o.push([l[3],true]);break;case"null":break;default:if(o.length==0&&l[3]=="document")return Wb(n,t);if(o.length==0&&l[3]=="uof")return Wb(n,t);var te=true;switch(o[o.length-1][0]){case"officedocumentsettings":switch(l[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"targetscreensize":break;case"readonlyrecommended":break;default:te=false;}break;case"componentoptions":switch(l[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:te=false;}break;case"excelworkbook":switch(l[3]){case"date1904":X.WBProps.date1904=true;break;case"hidehorizontalscrollbar":break;case"hideverticalscrollbar":break;case"hideworkbooktabs":break;case"windowheight":break;case"windowwidth":break;case"windowtopx":break;case"windowtopy":break;case"tabratio":break;case"protectstructure":break;case"protectwindow":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:te=false;}break;case"workbookoptions":switch(l[3]){case"owcversion":break;case"height":break;case"width":break;default:te=false;}break;case"worksheetoptions":switch(l[3]){case"visible":if(l[0].slice(-2)==="/>"){}else if(l[1]==="/")switch(n.slice(N,l.index)){case"SheetHidden":$.Hidden=1;break;case"SheetVeryHidden":$.Hidden=2;break;}else N=l.index+l[0].length;break;case"header":if(!p["!margins"])Tv(p["!margins"]={},"xlml");if(!isNaN(+rt(l[0]).Margin))p["!margins"].header=+rt(l[0]).Margin;break;case"footer":if(!p["!margins"])Tv(p["!margins"]={},"xlml");if(!isNaN(+rt(l[0]).Margin))p["!margins"].footer=+rt(l[0]).Margin;break;case"pagemargins":var ae=rt(l[0]);if(!p["!margins"])Tv(p["!margins"]={},"xlml");if(!isNaN(+ae.Top))p["!margins"].top=+ae.Top;if(!isNaN(+ae.Left))p["!margins"].left=+ae.Left;if(!isNaN(+ae.Right))p["!margins"].right=+ae.Right;if(!isNaN(+ae.Bottom))p["!margins"].bottom=+ae.Bottom;break;case"displayrighttoleft":if(!X.Views)X.Views=[];if(!X.Views[0])X.Views[0]={};X.Views[0].RTL=true;break;case"freezepanes":break;case"frozennosplit":break;case"splithorizontal":;case"splitvertical":break;case"donotdisplaygridlines":break;case"activerow":break;case"activecol":break;case"toprowbottompane":break;case"leftcolumnrightpane":break;case"unsynced":break;case"print":break;case"printerrors":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"activepane":break;case"toprowvisible":break;case"leftcolumnvisible":break;case"fittopage":break;case"rangeselection":break;case"papersizeindex":break;case"pagelayoutzoom":break;case"pagebreakzoom":break;case"filteron":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":if(!p["!outline"])p["!outline"]={};p["!outline"].above=true;break;case"tabcolorindex":break;case"donotdisplayheadings":break;case"showpagelayoutzoom":break;case"nosummarycolumnsrightdetail":if(!p["!outline"])p["!outline"]={};p["!outline"].left=true;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:te=false;}break;case"pivottable":;case"pivotcache":switch(l[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:te=false;}break;case"pagebreaks":switch(l[3]){case"colbreaks":break;case"colbreak":break;case"rowbreaks":break;case"rowbreak":break;case"colstart":break;case"colend":break;case"rowend":break;default:te=false;}break;case"autofilter":switch(l[3]){case"autofiltercolumn":break;case"autofiltercondition":break;case"autofilterand":break;case"autofilteror":break;default:te=false;}break;case"querytable":switch(l[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:te=false;}break;case"datavalidation":switch(l[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"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;case"cellrangelist":break;default:te=false;}break;case"sorting":;case"conditionalformatting":switch(l[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:te=false;}break;case"mapinfo":;case"schema":;case"data":switch(l[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:te=false;}break;case"smarttags":break;default:te=false;break;}if(te)break;if(l[3].match(/!\[CDATA/))break;if(!o[o.length-1][1])throw"Unrecognized tag: "+l[3]+"|"+o.join("|");if(o[o.length-1][0]==="customdocumentproperties"){if(l[0].slice(-2)==="/>")break;else if(l[1]==="/")Tg(I,G,F,n.slice(N,l.index));else{F=l;N=l.index+l[0].length}break}if(t.WTF)throw"Unrecognized tag: "+l[3]+"|"+o.join("|");}var ne={};if(!t.bookSheets&&!t.bookProps)ne.Sheets=u;ne.SheetNames=d;ne.Workbook=X;ne.SSF=Tr(q);ne.Props=R;ne.Custprops=I;ne.bookType="xlml";return ne}function xg(e,r){ek(r=r||{});switch(r.type||"base64"){case"base64":return Sg(E(e),r);case"binary":;case"buffer":;case"file":return Sg(e,r);case"array":return Sg(N(e),r);}}function Og(e,r){var t=[];if(e.Props)t.push(Ui(e.Props,r));if(e.Custprops)t.push(Bi(e.Props,e.Custprops,r));return t.join("")}function Rg(e){if((((e||{}).Workbook||{}).WBProps||{}).date1904)return'<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel"><Date1904/></ExcelWorkbook>';return""}function Ig(e,r){var t=['<Style ss:ID="Default" ss:Name="Normal"><NumberFormat/></Style>'];r.cellXfs.forEach(function(e,r){var a=[];a.push(It("NumberFormat",null,{"ss:Format":lt(q[e.numFmtId])}));var n={"ss:ID":"s"+(21+r)};t.push(It("Style",a.join(""),n))});return It("Styles",t.join(""))}function Ng(e){return It("NamedRange",null,{"ss:Name":e.Name.slice(0,6)=="_xlnm."?e.Name.slice(6):e.Name,"ss:RefersTo":"="+nu(e.Ref,{r:0,c:0})})}function Fg(e){if(!((e||{}).Workbook||{}).Names)return"";var r=e.Workbook.Names;var t=[];for(var a=0;a<r.length;++a){var n=r[a];if(n.Sheet!=null)continue;if(n.Name.match(/^_xlfn\./))continue;t.push(Ng(n))}return It("Names",t.join(""))}function Dg(e,r,t,a){if(!e)return"";if(!((a||{}).Workbook||{}).Names)return"";var n=a.Workbook.Names;var i=[];for(var s=0;s<n.length;++s){var f=n[s];if(f.Sheet!=t)continue;if(f.Name.match(/^_xlfn\./))continue;i.push(Ng(f))}return i.join("")}function Pg(e,r,t,a){if(!e)return"";var n=[];if(e["!margins"]){n.push("<PageSetup>");if(e["!margins"].header)n.push(It("Header",null,{"x:Margin":e["!margins"].header}));if(e["!margins"].footer)n.push(It("Footer",null,{"x:Margin":e["!margins"].footer}));n.push(It("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("</PageSetup>")}if(a&&a.Workbook&&a.Workbook.Sheets&&a.Workbook.Sheets[t]){if(a.Workbook.Sheets[t].Hidden)n.push(It("Visible",a.Workbook.Sheets[t].Hidden==1?"SheetHidden":"SheetVeryHidden",{}));else{for(var i=0;i<t;++i)if(a.Workbook.Sheets[i]&&!a.Workbook.Sheets[i].Hidden)break;if(i==t)n.push("<Selected/>")}}if(((((a||{}).Workbook||{}).Views||[])[0]||{}).RTL)n.push("<DisplayRightToLeft/>");if(e["!protect"]){n.push(Ot("ProtectContents","True"));if(e["!protect"].objects)n.push(Ot("ProtectObjects","True"));if(e["!protect"].scenarios)n.push(Ot("ProtectScenarios","True"));if(e["!protect"].selectLockedCells!=null&&!e["!protect"].selectLockedCells)n.push(Ot("EnableSelection","NoSelection"));else if(e["!protect"].selectUnlockedCells!=null&&!e["!protect"].selectUnlockedCells)n.push(Ot("EnableSelection","UnlockedCells"));[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","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 It("WorksheetOptions",n.join(""),{xmlns:Ut.x})}function Lg(e){return e.map(function(r){var t=vt(r.t||"");var a=It("ss:Data",t,{xmlns:"http://www.w3.org/TR/REC-html40"});var n={};if(r.a)n["ss:Author"]=r.a;if(!e.hidden)n["ss:ShowAlways"]="1";return It("Comment",a,n)}).join("")}function Mg(e,r,t,a,n,i,s){if(!e||e.v==undefined&&e.f==undefined)return"";var f={};if(e.f)f["ss:Formula"]="="+lt(nu(e.f,s));if(e.F&&e.F.slice(0,r.length)==r){var l=Wa(e.F.slice(r.length+1));f["ss:ArrayRange"]="RC:R"+(l.r==s.r?"":"["+(l.r-s.r)+"]")+"C"+(l.c==s.c?"":"["+(l.c-s.c)+"]")}if(e.l&&e.l.Target){f["ss:HRef"]=lt(e.l.Target);if(e.l.Tooltip)f["x:HRefScreenTip"]=lt(e.l.Tooltip)}if(t["!merges"]){var o=t["!merges"];for(var c=0;c!=o.length;++c){if(o[c].s.c!=s.c||o[c].s.r!=s.r)continue;if(o[c].e.c>o[c].s.c)f["ss:MergeAcross"]=o[c].e.c-o[c].s.c;if(o[c].e.r>o[c].s.r)f["ss:MergeDown"]=o[c].e.r-o[c].s.r}}var h="",u="";switch(e.t){case"z":if(!a.sheetStubs)return"";break;case"n":h="Number";u=String(e.v);break;case"b":h="Boolean";u=e.v?"1":"0";break;case"e":h="Error";u=ti[e.v];break;case"d":h="DateTime";u=new Date(e.v).toISOString();if(e.z==null)e.z=e.z||q[14];break;case"s":h="String";u=ut(e.v||"");break;}var d=Av(a.cellXfs,e,a);f["ss:StyleID"]="s"+(21+d);f["ss:Index"]=s.c+1;var v=e.v!=null?u:"";var p=e.t=="z"?"":'<Data ss:Type="'+h+'">'+v+"</Data>";if((e.c||[]).length>0)p+=Lg(e.c);return It("Cell",p,f)}function Ug(e,r){var t='<Row ss:Index="'+(e+1)+'"';if(r){if(r.hpt&&!r.hpx)r.hpx=lc(r.hpt);if(r.hpx)t+=' ss:AutoFitHeight="0" ss:Height="'+r.hpx+'"';if(r.hidden)t+=' ss:Hidden="1"'}return t+">"}function Bg(e,r,t,a){if(!e["!ref"])return"";var n=Ga(e["!ref"]);var i=e["!merges"]||[],s=0;var f=[];if(e["!cols"])e["!cols"].forEach(function(e,r){nc(e);var t=!!e.width;var a=kv(r,e);var n={"ss:Index":r+1};if(t)n["ss:Width"]=Qo(a.width);if(e.hidden)n["ss:Hidden"]="1";f.push(It("Column",null,n))});var l=e["!data"]!=null;for(var o=n.s.r;o<=n.e.r;++o){var c=[Ug(o,(e["!rows"]||[])[o])];for(var h=n.s.c;h<=n.e.c;++h){var u=false;for(s=0;s!=i.length;++s){if(i[s].s.c>h)continue;if(i[s].s.r>o)continue;if(i[s].e.c<h)continue;if(i[s].e.r<o)continue;if(i[s].s.c!=h||i[s].s.r!=o)u=true;break}if(u)continue;var d={r:o,c:h};var v=La(h)+Na(o),p=l?(e["!data"][o]||[])[h]:e[v];c.push(Mg(p,v,e,r,t,a,d))}c.push("</Row>");if(c.length>2)f.push(c.join(""))}return f.join("")}function Wg(e,r,t){var a=[];var n=t.SheetNames[e];var i=t.Sheets[n];var s=i?Dg(i,r,e,t):"";if(s.length>0)a.push("<Names>"+s+"</Names>");s=i?Bg(i,r,e,t):"";if(s.length>0)a.push("<Table>"+s+"</Table>");a.push(Pg(i,r,e,t));if(i["!autofilter"])a.push('<AutoFilter x:Range="'+nu(Xa(i["!autofilter"].ref),{r:0,c:0})+'" xmlns="urn:schemas-microsoft-com:office:excel"></AutoFilter>');return a.join("")}function zg(e,r){if(!r)r={};if(!e.SSF)e.SSF=Tr(q);if(e.SSF){Xe();Ve(e.SSF);r.revssf=lr(e.SSF);r.revssf[e.SSF[65535]]=0;r.ssf=e.SSF;r.cellXfs=[];Av(r.cellXfs,{},{revssf:{General:0}})}var t=[];t.push(Og(e,r));t.push(Rg(e,r));t.push("");t.push("");for(var a=0;a<e.SheetNames.length;++a)t.push(It("Worksheet",Wg(a,r,e),{"ss:Name":lt(e.SheetNames[a])}));t[2]=Ig(e,r);t[3]=Fg(e,r);return Kr+It("Workbook",t.join(""),{xmlns:Ut.ss,"xmlns:o":Ut.o,"xmlns:x":Ut.x,"xmlns:ss":Ut.ss,"xmlns:dt":Ut.dt,"xmlns:html":Ut.html})}function Hg(e){var r={};var t=e.content;t.l=28;r.AnsiUserType=t._R(0,"lpstr-ansi");r.AnsiClipboardFormat=Dn(t);if(t.length-t.l<=4)return r;var a=t._R(4);if(a==0||a>40)return r;t.l-=4;r.Reserved1=t._R(0,"lpstr-ansi");if(t.length-t.l<=4)return r;a=t._R(4);if(a!==1907505652)return r;r.UnicodeClipboardFormat=Pn(t);a=t._R(4);if(a==0||a>40)return r;t.l-=4;r.Reserved2=t._R(0,"lpwstr")}var Vg=[60,1084,2066,2165,2175];function Xg(e,r,t,a,n){var i=a;var s=[];var f=t.slice(t.l,t.l+i);if(n&&n.enc&&n.enc.insitu&&f.length>0)switch(e){case 9:;case 521:;case 1033:;case 2057:;case 47:;case 405:;case 225:;case 406:;case 312:;case 404:;case 10:break;case 133:break;default:n.enc.insitu(f);}s.push(f);t.l+=i;var l=ca(t,t.l),o=eb[l];var c=0;while(o!=null&&Vg.indexOf(l)>-1){i=ca(t,t.l+2);c=t.l+4;if(l==2066)c+=4;else if(l==2165||l==2175){c+=12}f=t.slice(c,t.l+4+i);s.push(f);t.l+=4+i;o=eb[l=ca(t,t.l)]}var h=P(s);Ta(h,0);var u=0;h.lens=[];for(var d=0;d<s.length;++d){h.lens.push(u);u+=s[d].length}if(h.length<a)throw"XLS Record 0x"+e.toString(16)+" Truncated: "+h.length+" < "+a;return r.f(h,h.length,n)}function $g(e,r,t){if(e.t==="z")return;if(!e.XF)return;var a=0;try{a=e.z||e.XF.numFmtId||0;if(r.cellNF&&e.z==null)e.z=q[a]}catch(n){if(r.WTF)throw n}if(!r||r.cellText!==false)try{if(e.t==="e"){e.w=e.w||ti[e.v]}else if(a===0||a=="General"){if(e.t==="n"){if((e.v|0)===e.v)e.w=e.v.toString(10);else e.w=le(e.v)}else e.w=oe(e.v)}else e.w=ze(a,e.v,{date1904:!!t,dateNF:r&&r.dateNF})}catch(n){if(r.WTF)throw n}if(r.cellDates&&a&&e.t=="n"&&Le(q[a]||String(a))){var i=ae(e.v+(t?1462:0));if(i){e.t="d";e.v=new Date(Date.UTC(i.y,i.m-1,i.d,i.H,i.M,i.S,i.u))}}}function Gg(e,r,t){return{v:e,ixfe:r,t:t}}function jg(e,r){var t={opts:{}};var a={};if(b!=null&&r.dense==null)r.dense=b;var n={};if(r.dense)n["!data"]=[];var i={};var s={};var f=null;var o=[];var c="";var h={};var u,d="",v,p,m,g;var w={};var k=[];var T;var A;var y=[];var E=[];var C={Sheets:[],WBProps:{date1904:false},Views:[{}]},_={};var S=false;var x=function pe(e){if(e<8)return ri[e];if(e<64)return E[e-8]||ri[e];return ri[e]};var O=function me(e,r,t){var a=r.XF.data;if(!a||!a.patternType||!t||!t.cellStyles)return;r.s={};r.s.patternType=a.patternType;var n;if(n=$o(x(a.icvFore))){r.s.fgColor={rgb:n}}if(n=$o(x(a.icvBack))){r.s.bgColor={rgb:n}}};var R=function ge(e,r,t){if(!S&&W>1)return;if(t.sheetRows&&e.r>=t.sheetRows)return;if(t.cellStyles&&r.XF&&r.XF.data)O(e,r,t);delete r.ixfe;delete r.XF;u=e;d=za(e);if(!s||!s.s||!s.e)s={s:{r:0,c:0},e:{r:0,c:0}};if(e.r<s.s.r)s.s.r=e.r;if(e.c<s.s.c)s.s.c=e.c;if(e.r+1>s.e.r)s.e.r=e.r+1;if(e.c+1>s.e.c)s.e.c=e.c+1;if(t.cellFormula&&r.f){for(var a=0;a<k.length;++a){if(k[a][0].s.c>e.c||k[a][0].s.r>e.r)continue;if(k[a][0].e.c<e.c||k[a][0].e.r<e.r)continue;r.F=Va(k[a][0]);if(k[a][0].s.c!=e.c||k[a][0].s.r!=e.r)delete r.f;if(r.f)r.f=""+Md(k[a][1],s,e,U,I);break}}{if(t.dense){if(!n["!data"][e.r])n["!data"][e.r]=[];n["!data"][e.r][e.c]=r}else n[d]=r}};var I={enc:false,sbcch:0,snames:[],sharedf:w,arrayf:k,rrtabid:[],lastuser:"",biff:8,codepage:0,winlocked:0,cellStyles:!!r&&!!r.cellStyles,WTF:!!r&&!!r.wtf};if(r.password)I.password=r.password;var N;var F=[];var D=[];var P=[],L=[];var M=false;var U=[];U.SheetNames=I.snames;U.sharedf=I.sharedf;U.arrayf=I.arrayf;U.names=[];U.XTI=[];var B=0;var W=0;var z=0,H=[];var V=[];var X;I.codepage=1200;l(1200);var $=false;while(e.l<e.length-1){var G=e.l;var j=e._R(2);if(j===0&&B===10)break;var K=e.l===e.length?0:e._R(2);var Y=eb[j];if(W==0&&[9,521,1033,2057].indexOf(j)==-1)break;if(Y&&Y.f){if(r.bookSheets){if(B===133&&j!==133)break}B=j;if(Y.r===2||Y.r==12){var Z=e._R(2);K-=2;if(!I.enc&&Z!==j&&((Z&255)<<8|Z>>8)!==j)throw new Error("rt mismatch: "+Z+"!="+j);if(Y.r==12){e.l+=10;K-=10}}var J={};if(j===10)J=Y.f(e,K,I);else J=Xg(j,Y,e,K,I);if(W==0&&[9,521,1033,2057].indexOf(B)===-1)continue;switch(j){case 34:t.opts.Date1904=C.WBProps.date1904=J;break;case 134:t.opts.WriteProtect=true;break;case 47:if(!I.enc)e.l=0;I.enc=J;if(!r.password)throw new Error("File is password-protected");if(J.valid==null)throw new Error("Encryption scheme unsupported");if(!J.valid)throw new Error("Password is incorrect");break;case 92:I.lastuser=J;break;case 66:var Q=Number(J);switch(Q){case 21010:Q=1200;break;case 32768:Q=1e4;break;case 32769:Q=1252;break;}l(I.codepage=Q);$=true;break;case 317:I.rrtabid=J;break;case 25:I.winlocked=J;break;case 439:t.opts["RefreshAll"]=J;break;case 12:t.opts["CalcCount"]=J;break;case 16:t.opts["CalcDelta"]=J;break;case 17:t.opts["CalcIter"]=J;break;case 13:t.opts["CalcMode"]=J;break;case 14:t.opts["CalcPrecision"]=J;break;case 95:t.opts["CalcSaveRecalc"]=J;break;case 15:I.CalcRefMode=J;break;case 2211:t.opts.FullCalc=J;break;case 129:if(J.fDialog)n["!type"]="dialog";if(!J.fBelow)(n["!outline"]||(n["!outline"]={})).above=true;if(!J.fRight)(n["!outline"]||(n["!outline"]={})).left=true;break;case 67:;case 579:;case 1091:;case 224:y.push(J);break;case 430:U.push([J]);U[U.length-1].XTI=[];break;case 35:;case 547:U[U.length-1].push(J);break;case 24:;case 536:X={Name:J.Name,Ref:Md(J.rgce,s,null,U,I)};if(J.itab>0)X.Sheet=J.itab-1;U.names.push(X);if(!U[0]){U[0]=[];U[0].XTI=[]}U[U.length-1].push(J);if(J.Name=="_xlnm._FilterDatabase"&&J.itab>0)if(J.rgce&&J.rgce[0]&&J.rgce[0][0]&&J.rgce[0][0][0]=="PtgArea3d")V[J.itab-1]={ref:Va(J.rgce[0][0][1][2])};break;case 22:I.ExternCount=J;break;case 23:if(U.length==0){U[0]=[];U[0].XTI=[]}U[U.length-1].XTI=U[U.length-1].XTI.concat(J);U.XTI=U.XTI.concat(J);break;case 2196:if(I.biff<8)break;if(X!=null)X.Comment=J[1];break;case 18:n["!protect"]=J;break;case 19:if(J!==0&&I.WTF)console.error("Password verifier: "+J);break;case 133:{i[I.biff==4?I.snames.length:J.pos]=J;I.snames.push(J.name)}break;case 10:{if(--W?!S:S)break;if(s.e){if(s.e.r>0&&s.e.c>0){s.e.r--;s.e.c--;n["!ref"]=Va(s);if(r.sheetRows&&r.sheetRows<=s.e.r){var ee=s.e.r;s.e.r=r.sheetRows-1;n["!fullref"]=n["!ref"];n["!ref"]=Va(s);s.e.r=ee}s.e.r++;s.e.c++}if(F.length>0)n["!merges"]=F;if(D.length>0)n["!objects"]=D;if(P.length>0)n["!cols"]=P;if(L.length>0)n["!rows"]=L;C.Sheets.push(_)}if(c==="")h=n;else a[c]=n;n={};if(r.dense)n["!data"]=[]}break;case 9:;case 521:;case 1033:;case 2057:{if(I.biff===8)I.biff={9:2,521:3,1033:4}[j]||{512:2,768:3,1024:4,1280:5,1536:8,2:2,7:2}[J.BIFFVer]||8;I.biffguess=J.BIFFVer==0;if(J.BIFFVer==0&&J.dt==4096){I.biff=5;$=true;l(I.codepage=28591)}if(I.biff==4&&J.dt&256)S=true;if(I.biff==8&&J.BIFFVer==0&&J.dt==16)I.biff=2;if(W++&&!S)break;n={};if(r.dense)n["!data"]=[];if(I.biff<8&&!$){$=true;l(I.codepage=r.codepage||1252)}if(I.biff==4&&S){c=(i[I.snames.indexOf(c)+1]||{name:""}).name}else if(I.biff<5||J.BIFFVer==0&&J.dt==4096){if(c==="")c="Sheet1";s={s:{r:0,c:0},e:{r:0,c:0}};var re={pos:e.l-K,name:c};i[re.pos]=re;I.snames.push(c)}else c=(i[G]||{name:""}).name;if(J.dt==32)n["!type"]="chart";if(J.dt==64)n["!type"]="macro";F=[];D=[];I.arrayf=k=[];P=[];L=[];M=false;_={Hidden:(i[G]||{hs:0}).hs,name:c}}break;case 515:;case 3:;case 2:{if(n["!type"]=="chart")if(r.dense?(n["!data"][J.r]||[])[J.c]:n[La(J.c)+Na(J.r)])++J.c;T={ixfe:J.ixfe,XF:y[J.ixfe]||{},v:J.val,t:"n"};if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63];$g(T,r,t.opts.Date1904);R({c:J.c,r:J.r},T,r)}break;case 5:;case 517:{T={ixfe:J.ixfe,XF:y[J.ixfe],v:J.val,t:J.t};if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63];$g(T,r,t.opts.Date1904);R({c:J.c,r:J.r},T,r)}break;case 638:{T={ixfe:J.ixfe,XF:y[J.ixfe],v:J.rknum,t:"n"};if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63];$g(T,r,t.opts.Date1904);R({c:J.c,r:J.r},T,r)}break;case 189:{for(var te=J.c;te<=J.C;++te){var ae=J.rkrec[te-J.c][0];T={ixfe:ae,XF:y[ae],v:J.rkrec[te-J.c][1],t:"n"};if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63];$g(T,r,t.opts.Date1904);R({c:te,r:J.r},T,r)}}break;case 6:;case 518:;case 1030:{if(J.val=="String"){f=J;break}T=Gg(J.val,J.cell.ixfe,J.tt);T.XF=y[T.ixfe];if(r.cellFormula){var ne=J.formula;if(ne&&ne[0]&&ne[0][0]&&ne[0][0][0]=="PtgExp"){var ie=ne[0][0][1][0],se=ne[0][0][1][1];var fe=za({r:ie,c:se});if(w[fe])T.f=""+Md(J.formula,s,J.cell,U,I);else T.F=((r.dense?(n["!data"][ie]||[])[se]:n[fe])||{}).F}else T.f=""+Md(J.formula,s,J.cell,U,I)}if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63];$g(T,r,t.opts.Date1904);R(J.cell,T,r);f=J}break;case 7:;case 519:{if(f){f.val=J;T=Gg(J,f.cell.ixfe,"s");T.XF=y[T.ixfe];if(r.cellFormula){T.f=""+Md(f.formula,s,f.cell,U,I)}if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63];$g(T,r,t.opts.Date1904);R(f.cell,T,r);f=null}else throw new Error("String record expects Formula")}break;case 33:;case 545:{k.push(J);var le=za(J[0].s);v=r.dense?(n["!data"][J[0].s.r]||[])[J[0].s.c]:n[le];if(r.cellFormula&&v){if(!f)break;if(!le||!v)break;v.f=""+Md(J[1],s,J[0],U,I);v.F=Va(J[0])}}break;case 1212:{if(!r.cellFormula)break;if(d){if(!f)break;w[za(f.cell)]=J[0];v=r.dense?(n["!data"][f.cell.r]||[])[f.cell.c]:n[za(f.cell)];(v||{}).f=""+Md(J[0],s,u,U,I)}}break;case 253:T=Gg(o[J.isst].t,J.ixfe,"s");if(o[J.isst].h)T.h=o[J.isst].h;T.XF=y[T.ixfe];if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63];$g(T,r,t.opts.Date1904);R({c:J.c,r:J.r},T,r);break;case 513:if(r.sheetStubs){T={ixfe:J.ixfe,XF:y[J.ixfe],t:"z"};if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63];$g(T,r,t.opts.Date1904);R({c:J.c,r:J.r},T,r)}break;case 190:if(r.sheetStubs){for(var oe=J.c;oe<=J.C;++oe){var ce=J.ixfe[oe-J.c];T={ixfe:ce,XF:y[ce],t:"z"};if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63];$g(T,r,t.opts.Date1904);R({c:oe,r:J.r},T,r)}}break;case 214:;case 516:;case 4:T=Gg(J.val,J.ixfe,"s");T.XF=y[T.ixfe];if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63];$g(T,r,t.opts.Date1904);R({c:J.c,r:J.r},T,r);break;case 0:;case 512:{if(W===1)s=J}break;case 252:{o=J}break;case 1054:{if(I.biff>=3&&I.biff<=4){H[z++]=J[1];for(var he=0;he<z+163;++he)if(q[he]==J[1])break;if(he>=163)Je(J[1],z+163)}else Je(J[1],J[0])}break;case 30:{H[z++]=J;for(var ue=0;ue<z+163;++ue)if(q[ue]==J)break;if(ue>=163)Je(J,z+163)}break;case 229:F=F.concat(J);break;case 93:D[J.cmo[0]]=I.lastobj=J;break;case 438:I.lastobj.TxO=J;break;case 127:I.lastobj.ImData=J;break;case 440:{for(g=J[0].s.r;g<=J[0].e.r;++g)for(m=J[0].s.c;m<=J[0].e.c;++m){v=r.dense?(n["!data"][g]||[])[m]:n[za({c:m,r:g})];if(v)v.l=J[1]}}break;case 2048:{for(g=J[0].s.r;g<=J[0].e.r;++g)for(m=J[0].s.c;m<=J[0].e.c;++m){v=r.dense?(n["!data"][g]||[])[m]:n[za({c:m,r:g})];if(v&&v.l)v.l.Tooltip=J[1]}}break;case 28:{v=r.dense?(n["!data"][J[0].r]||[])[J[0].c]:n[za(J[0])];if(!v){if(r.dense){if(!n["!data"][J[0].r])n["!data"][J[0].r]=[];v=n["!data"][J[0].r][J[0].c]={t:"z"}}else{v=n[za(J[0])]={ -t:"z"}}s.e.r=Math.max(s.e.r,J[0].r);s.s.r=Math.min(s.s.r,J[0].r);s.e.c=Math.max(s.e.c,J[0].c);s.s.c=Math.min(s.s.c,J[0].c)}if(!v.c)v.c=[];if(I.biff<=5&&I.biff>=2)p={a:"SheetJ5",t:J[1]};else{var de=D[J[2]];p={a:J[1],t:de.TxO.t};if(J[3]!=null&&!(J[3]&2))v.c.hidden=true}v.c.push(p)}break;case 2173:uh(y[J.ixfe],J.ext);break;case 125:{if(!I.cellStyles)break;while(J.e>=J.s){P[J.e--]={width:J.w/256,level:J.level||0,hidden:!!(J.flags&1)};if(!M){M=true;ac(J.w/256)}nc(P[J.e+1])}}break;case 520:{var ve={};if(J.level!=null){L[J.r]=ve;ve.level=J.level}if(J.hidden){L[J.r]=ve;ve.hidden=true}if(J.hpt){L[J.r]=ve;ve.hpt=J.hpt;ve.hpx=lc(J.hpt)}}break;case 38:;case 39:;case 40:;case 41:if(!n["!margins"])Tv(n["!margins"]={});n["!margins"][{38:"left",39:"right",40:"top",41:"bottom"}[j]]=J;break;case 161:if(!n["!margins"])Tv(n["!margins"]={});n["!margins"].header=J.header;n["!margins"].footer=J.footer;break;case 574:if(J.RTL)C.Views[0].RTL=true;break;case 146:E=J;break;case 2198:N=J;break;case 140:A=J;break;case 442:{if(!c)C.WBProps.CodeName=J||"ThisWorkbook";else _.CodeName=J||_.name}break;}}else{if(!Y)console.error("Missing Info for XLS Record 0x"+j.toString(16));e.l+=K}}t.SheetNames=ir(i).sort(function(e,r){return Number(e)-Number(r)}).map(function(e){return i[e].name});if(!r.bookSheets)t.Sheets=a;if(!t.SheetNames.length&&h["!ref"]){t.SheetNames.push("Sheet1");if(t.Sheets)t.Sheets["Sheet1"]=h}else t.Preamble=h;if(t.Sheets)V.forEach(function(e,r){t.Sheets[t.SheetNames[r]]["!autofilter"]=e});t.Strings=o;t.SSF=Tr(q);if(I.enc)t.Encryption=I.enc;if(N)t.Themes=N;t.Metadata={};if(A!==undefined)t.Metadata.Country=A;if(U.names.length>0)C.Names=U.names;t.Workbook=C;return t}var Kg={SI:"e0859ff2f94f6810ab9108002b27b3d9",DSI:"02d5cdd59c2e1b10939708002b2cf9ae",UDI:"05d5cdd59c2e1b10939708002b2cf9ae"};function Yg(e,r,t){var a=Qe.find(e,"/!DocumentSummaryInformation");if(a&&a.size>0)try{var n=ss(a,Yn,Kg.DSI);for(var i in n)r[i]=n[i]}catch(s){if(t.WTF)throw s}var f=Qe.find(e,"/!SummaryInformation");if(f&&f.size>0)try{var l=ss(f,Zn,Kg.SI);for(var o in l)if(r[o]==null)r[o]=l[o]}catch(s){if(t.WTF)throw s}if(r.HeadingPairs&&r.TitlesOfParts){Oi(r.HeadingPairs,r.TitlesOfParts,r,t);delete r.HeadingPairs;delete r.TitlesOfParts}}function Zg(e,r){var t=[],a=[],n=[];var i=0,s;var f=sr(Yn,"n");var l=sr(Zn,"n");if(e.Props){s=ir(e.Props);for(i=0;i<s.length;++i)(Object.prototype.hasOwnProperty.call(f,s[i])?t:Object.prototype.hasOwnProperty.call(l,s[i])?a:n).push([s[i],e.Props[s[i]]])}if(e.Custprops){s=ir(e.Custprops);for(i=0;i<s.length;++i)if(!Object.prototype.hasOwnProperty.call(e.Props||{},s[i]))(Object.prototype.hasOwnProperty.call(f,s[i])?t:Object.prototype.hasOwnProperty.call(l,s[i])?a:n).push([s[i],e.Custprops[s[i]]])}var o=[];for(i=0;i<n.length;++i){if(as.indexOf(n[i][0])>-1||xi.indexOf(n[i][0])>-1)continue;if(n[i][1]==null)continue;o.push(n[i])}if(a.length)Qe.utils.cfb_add(r,"/SummaryInformation",fs(a,Kg.SI,l,Zn));if(t.length||o.length)Qe.utils.cfb_add(r,"/DocumentSummaryInformation",fs(t,Kg.DSI,f,Yn,o.length?o:null,Kg.UDI))}function Jg(e,r){if(!r)r={};ek(r);o();if(r.codepage)s(r.codepage);var t,a;if(e.FullPaths){if(Qe.find(e,"/encryption"))throw new Error("File is password-protected");t=Qe.find(e,"!CompObj");a=Qe.find(e,"/Workbook")||Qe.find(e,"/Book")}else{switch(r.type){case"base64":e=R(E(e));break;case"binary":e=R(e);break;case"buffer":break;case"array":if(!Array.isArray(e))e=Array.prototype.slice.call(e);break;}Ta(e,0);a={content:e}}var n;var i;if(t)Hg(t);if(r.bookProps&&!r.bookSheets)n={};else{var f=C?"buffer":"array";if(a&&a.content)n=jg(a.content,r);else if((i=Qe.find(e,"PerfectOffice_MAIN"))&&i.content)n=Jl.to_workbook(i.content,(r.type=f,r));else if((i=Qe.find(e,"NativeContent_MAIN"))&&i.content)n=Jl.to_workbook(i.content,(r.type=f,r));else if((i=Qe.find(e,"MN0"))&&i.content)throw new Error("Unsupported Works 4 for Mac file");else throw new Error("Cannot find Workbook stream");if(r.bookVBA&&e.FullPaths&&Qe.find(e,"/_VBA_PROJECT_CUR/VBA/dir"))n.vbaraw=Kh(e)}var l={};if(e.FullPaths)Yg(e,l,r);n.Props=n.Custprops=l;if(r.bookFiles)n.cfb=e;return n}function qg(e,r){var t=r||{};var a=Qe.utils.cfb_new({root:"R"});var n="/Workbook";switch(t.bookType||"xls"){case"xls":t.bookType="biff8";case"xla":if(!t.bookType)t.bookType="xla";case"biff8":n="/Workbook";t.biff=8;break;case"biff5":n="/Book";t.biff=5;break;default:throw new Error("invalid type "+t.bookType+" for XLS CFB");}Qe.utils.cfb_add(a,n,yb(e,t));if(t.biff==8&&(e.Props||e.Custprops))Zg(e,a);if(t.biff==8&&e.vbaraw)Yh(a,Qe.read(e.vbaraw,{type:typeof e.vbaraw=="string"?"binary":"buffer"}));return a}var Qg={0:{f:np},1:{f:up},2:{f:Np},3:{f:kp},4:{f:mp},5:{f:xp},6:{f:Mp},7:{f:Ep},8:{f:Xp},9:{f:Vp},10:{f:zp},11:{f:Hp},12:{f:vp},13:{f:Dp},14:{f:Ap},15:{f:bp},16:{f:Rp},17:{f:Bp},18:{f:_p},19:{f:sn},20:{},21:{},22:{},23:{},24:{},25:{},26:{},27:{},28:{},29:{},30:{},31:{},32:{},33:{},34:{},35:{T:1},36:{T:-1},37:{T:1},38:{T:-1},39:{f:jm},40:{},42:{},43:{f:yc},44:{f:Tc},45:{f:Sc},46:{f:Nc},47:{f:Oc},48:{},49:{f:Qa},50:{},51:{f:ph},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:El},62:{f:Lp},63:{f:Ch},64:{f:fm},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:Aa,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:am},138:{T:-1},139:{T:1},140:{T:-1},141:{T:1},142:{T:-1},143:{T:1},144:{T:-1},145:{T:1},146:{T:-1},147:{f:cp},148:{f:fp,p:16},151:{f:Zp},152:{},153:{f:Xm},154:{},155:{},156:{f:Hm},157:{},158:{},159:{T:1,f:ho},160:{T:-1},161:{T:1,f:Cn},162:{T:-1},163:{T:1},164:{T:-1},165:{T:1},166:{T:-1},167:{},168:{},169:{},170:{},171:{},172:{T:1},173:{T:-1},174:{},175:{},176:{f:$p},177:{T:1},178:{T:-1},179:{T:1},180:{T:-1},181:{T:1},182:{T:-1},183:{T:1},184:{T:-1},185:{T:1},186:{T:-1},187:{T:1},188:{T:-1},189:{T:1},190:{T:-1},191:{T:1},192:{T:-1},193:{T:1},194:{T:-1},195:{T:1},196:{T:-1},197:{T:1},198:{T:-1},199:{T:1},200:{T:-1},201:{T:1},202:{T:-1},203:{T:1},204:{T:-1},205:{T:1},206:{T:-1},207:{T:1},208:{T:-1},209:{T:1},210:{T:-1},211:{T:1},212:{T:-1},213:{T:1},214:{T:-1},215:{T:1},216:{T:-1},217:{T:1},218:{T:-1},219:{T:1},220:{T:-1},221:{T:1},222:{T:-1},223:{T:1},224:{T:-1},225:{T:1},226:{T:-1},227:{T:1},228:{T:-1},229:{T:1},230:{T:-1},231:{T:1},232:{T:-1},233:{T:1},234:{T:-1},235:{T:1},236:{T:-1},237:{T:1},238:{T:-1},239:{T:1},240:{T:-1},241:{T:1},242:{T:-1},243:{T:1},244:{T:-1},245:{T:1},246:{T:-1},247:{T:1},248:{T:-1},249:{T:1},250:{T:-1},251:{T:1},252:{T:-1},253:{T:1},254:{T:-1},255:{T:1},256:{T:-1},257:{T:1},258:{T:-1},259:{T:1},260:{T:-1},261:{T:1},262:{T:-1},263:{T:1},264:{T:-1},265:{T:1},266:{T:-1},267:{T:1},268:{T:-1},269:{T:1},270:{T:-1},271:{T:1},272:{T:-1},273:{T:1},274:{T:-1},275:{T:1},276:{T:-1},277:{},278:{T:1},279:{T:-1},280:{T:1},281:{T:-1},282:{T:1},283:{T:1},284:{T:-1},285:{T:1},286:{T:-1},287:{T:1},288:{T:-1},289:{T:1},290:{T:-1},291:{T:1},292:{T:-1},293:{T:1},294:{T:-1},295:{T:1},296:{T:-1},297:{T:1},298:{T:-1},299:{T:1},300:{T:-1},301:{T:1},302:{T:-1},303:{T:1},304:{T:-1},305:{T:1},306:{T:-1},307:{T:1},308:{T:-1},309:{T:1},310:{T:-1},311:{T:1},312:{T:-1},313:{T:-1},314:{T:1},315:{T:-1},316:{T:1},317:{T:-1},318:{T:1},319:{T:-1},320:{T:1},321:{T:-1},322:{T:1},323:{T:-1},324:{T:1},325:{T:-1},326:{T:1},327:{T:-1},328:{T:1},329:{T:-1},330:{T:1},331:{T:-1},332:{T:1},333:{T:-1},334:{T:1},335:{f:dh},336:{T:-1},337:{f:bh,T:1},338:{T:-1},339:{T:1},340:{T:-1},341:{T:1},342:{T:-1},343:{T:1},344:{T:-1},345:{T:1},346:{T:-1},347:{T:1},348:{T:-1},349:{T:1},350:{T:-1},351:{},352:{},353:{T:1},354:{T:-1},355:{f:wn},357:{},358:{},359:{},360:{T:1},361:{},362:{f:el},363:{},364:{},366:{},367:{},368:{},369:{},370:{},371:{},372:{T:1},373:{T:-1},374:{T:1},375:{T:-1},376:{T:1},377:{T:-1},378:{T:1},379:{T:-1},380:{T:1},381:{T:-1},382:{T:1},383:{T:-1},384:{T:1},385:{T:-1},386:{T:1},387:{T:-1},388:{T:1},389:{T:-1},390:{T:1},391:{T:-1},392:{T:1},393:{T:-1},394:{T:1},395:{T:-1},396:{},397:{},398:{},399:{},400:{},401:{T:1},403:{},404:{},405:{},406:{},407:{},408:{},409:{},410:{},411:{},412:{},413:{},414:{},415:{},416:{},417:{},418:{},419:{},420:{},421:{},422:{T:1},423:{T:1},424:{T:-1},425:{T:-1},426:{f:Jp},427:{f:qp},428:{},429:{T:1},430:{T:-1},431:{T:1},432:{T:-1},433:{T:1},434:{T:-1},435:{T:1},436:{T:-1},437:{T:1},438:{T:-1},439:{T:1},440:{T:-1},441:{T:1},442:{T:-1},443:{T:1},444:{T:-1},445:{T:1},446:{T:-1},447:{T:1},448:{T:-1},449:{T:1},450:{T:-1},451:{T:1},452:{T:-1},453:{T:1},454:{T:-1},455:{T:1},456:{T:-1},457:{T:1},458:{T:-1},459:{T:1},460:{T:-1},461:{T:1},462:{T:-1},463:{T:1},464:{T:-1},465:{T:1},466:{T:-1},467:{T:1},468:{T:-1},469:{T:1},470:{T:-1},471:{},472:{},473:{T:1},474:{T:-1},475:{},476:{f:rm},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:op},486:{T:1},487:{T:-1},488:{T:1},489:{T:-1},490:{T:1},491:{T:-1},492:{T:1},493:{T:-1},494:{f:Kp},495:{T:1},496:{T:-1},497:{T:1},498:{T:-1},499:{},500:{T:1},501:{T:-1},502:{T:1},503:{T:-1},504:{},505:{T:1},506:{T:-1},507:{},508:{T:1},509:{T:-1},510:{T:1},511:{T:-1},512:{},513:{},514:{T:1},515:{T:-1},516:{T:1},517:{T:-1},518:{T:1},519:{T:-1},520:{T:1},521:{T:-1},522:{},523:{},524:{},525:{},526:{},527:{},528:{T:1},529:{T:-1},530:{T:1},531:{T:-1},532:{T:1},533:{T:-1},534:{},535:{},536:{},537:{},538:{T:1},539:{T:-1},540:{T:1},541:{T:-1},542:{T:1},548:{},549:{},550:{f:wn},551:{f:mn},552:{},553:{},554:{T:1},555:{T:-1},556:{T:1},557:{T:-1},558:{T:1},559:{T:-1},560:{T:1},561:{T:-1},562:{},564:{},565:{T:1},566:{T:-1},569:{T:1},570:{T:-1},572:{},573:{T:1},574:{T:-1},577:{},578:{},579:{},580:{},581:{},582:{},583:{},584:{},585:{},586:{},587:{},588:{T:-1},589:{},590:{T:1},591:{T:-1},592:{T:1},593:{T:-1},594:{T:1},595:{T:-1},596:{},597:{T:1},598:{T:-1},599:{T:1},600:{T:-1},601:{T:1},602:{T:-1},603:{T:1},604:{T:-1},605:{T:1},606:{T:-1},607:{},608:{T:1},609:{T:-1},610:{},611:{T:1},612:{T:-1},613:{T:1},614:{T:-1},615:{T:1},616:{T:-1},617:{T:1},618:{T:-1},619:{T:1},620:{T:-1},625:{},626:{T:1},627:{T:-1},628:{T:1},629:{T:-1},630:{T:1},631:{T:-1},632:{f:Vh},633:{T:1},634:{T:-1},635:{T:1,f:zh},636:{T:-1},637:{f:ln},638:{T:1},639:{},640:{T:-1},641:{T:1},642:{T:-1},643:{T:1},644:{},645:{T:-1},646:{T:1},648:{T:1},649:{},650:{T:-1},651:{f:Cm},652:{},653:{T:1},654:{T:-1},655:{T:1},656:{T:-1},657:{T:1},658:{T:-1},659:{},660:{T:1},661:{},662:{T:-1},663:{},664:{T:1},665:{},666:{T:-1},667:{},668:{},669:{},671:{T:1},672:{T:-1},673:{T:1},674:{T:-1},675:{},676:{},677:{},678:{},679:{},680:{},681:{},1024:{},1025:{},1026:{T:1},1027:{T:-1},1028:{T:1},1029:{T:-1},1030:{},1031:{T:1},1032:{T:-1},1033:{T:1},1034:{T:-1},1035:{},1036:{},1037:{},1038:{T:1},1039:{T:-1},1040:{},1041:{T:1},1042:{T:-1},1043:{},1044:{},1045:{},1046:{T:1},1047:{T:-1},1048:{T:1},1049:{T:-1},1050:{},1051:{T:1},1052:{T:1},1053:{f:lm},1054:{T:1},1055:{},1056:{T:1},1057:{T:-1},1058:{T:1},1059:{T:-1},1061:{},1062:{T:1},1063:{T:-1},1064:{T:1},1065:{T:-1},1066:{T:1},1067:{T:-1},1068:{T:1},1069:{T:-1},1070:{T:1},1071:{T:-1},1072:{T:1},1073:{T:-1},1075:{T:1},1076:{T:-1},1077:{T:1},1078:{T:-1},1079:{T:1},1080:{T:-1},1081:{T:1},1082:{T:-1},1083:{T:1},1084:{T:-1},1085:{},1086:{T:1},1087:{T:-1},1088:{T:1},1089:{T:-1},1090:{T:1},1091:{T:-1},1092:{T:1},1093:{T:-1},1094:{T:1},1095:{T:-1},1096:{},1097:{T:1},1098:{},1099:{T:-1},1100:{T:1},1101:{T:-1},1102:{},1103:{},1104:{},1105:{},1111:{},1112:{},1113:{T:1},1114:{T:-1},1115:{T:1},1116:{T:-1},1117:{},1118:{T:1},1119:{T:-1},1120:{T:1},1121:{T:-1},1122:{T:1},1123:{T:-1},1124:{T:1},1125:{T:-1},1126:{},1128:{T:1},1129:{T:-1},1130:{},1131:{T:1},1132:{T:-1},1133:{T:1},1134:{T:-1},1135:{T:1},1136:{T:-1},1137:{T:1},1138:{T:-1},1139:{T:1},1140:{T:-1},1141:{},1142:{T:1},1143:{T:-1},1144:{T:1},1145:{T:-1},1146:{},1147:{T:1},1148:{T:-1},1149:{T:1},1150:{T:-1},1152:{T:1},1153:{T:-1},1154:{T:-1},1155:{T:-1},1156:{T:-1},1157:{T:1},1158:{T:-1},1159:{T:1},1160:{T:-1},1161:{T:1},1162:{T:-1},1163:{T:1},1164:{T:-1},1165:{T:1},1166:{T:-1},1167:{T:1},1168:{T:-1},1169:{T:1},1170:{T:-1},1171:{},1172:{T:1},1173:{T:-1},1177:{},1178:{T:1},1180:{},1181:{},1182:{},2048:{T:1},2049:{T:-1},2050:{},2051:{T:1},2052:{T:-1},2053:{},2054:{},2055:{T:1},2056:{T:-1},2057:{T:1},2058:{T:-1},2060:{},2067:{},2068:{T:1},2069:{T:-1},2070:{},2071:{},2072:{T:1},2073:{T:-1},2075:{},2076:{},2077:{T:1},2078:{T:-1},2079:{},2080:{T:1},2081:{T:-1},2082:{},2083:{T:1},2084:{T:-1},2085:{T:1},2086:{T:-1},2087:{T:1},2088:{T:-1},2089:{T:1},2090:{T:-1},2091:{},2092:{},2093:{T:1},2094:{T:-1},2095:{},2096:{T:1},2097:{T:-1},2098:{T:1},2099:{T:-1},2100:{T:1},2101:{T:-1},2102:{},2103:{T:1},2104:{T:-1},2105:{},2106:{T:1},2107:{T:-1},2108:{},2109:{T:1},2110:{T:-1},2111:{T:1},2112:{T:-1},2113:{T:1},2114:{T:-1},2115:{},2116:{},2117:{},2118:{T:1},2119:{T:-1},2120:{},2121:{T:1},2122:{T:-1},2123:{T:1},2124:{T:-1},2125:{},2126:{T:1},2127:{T:-1},2128:{},2129:{T:1},2130:{T:-1},2131:{T:1},2132:{T:-1},2133:{T:1},2134:{},2135:{},2136:{},2137:{T:1},2138:{T:-1},2139:{T:1},2140:{T:-1},2141:{},3072:{},3073:{},4096:{T:1},4097:{T:-1},5002:{T:1},5003:{T:-1},5081:{T:1},5082:{T:-1},5083:{},5084:{T:1},5085:{T:-1},5086:{T:1},5087:{T:-1},5088:{},5089:{},5090:{},5092:{T:1},5093:{T:-1},5094:{},5095:{T:1},5096:{T:-1},5097:{},5099:{},65535:{n:""}};var eb={6:{f:Xd},10:{f:ls},12:{f:ds},13:{f:ds},14:{f:hs},15:{f:hs},16:{f:Sn},17:{f:hs},18:{f:hs},19:{f:ds},20:{f:Zf},21:{f:Zf},23:{f:el},24:{f:Qf},25:{f:hs},26:{},27:{},28:{f:fl},29:{},34:{f:hs},35:{f:qf},38:{f:Sn},39:{f:Sn},40:{f:Sn},41:{f:Sn},42:{f:hs},43:{f:hs},47:{f:Bo},49:{f:wf},51:{f:ds},60:{},61:{f:vf},64:{f:hs},65:{f:bf},66:{f:ds},77:{},80:{},81:{},82:{},85:{f:ds},89:{},90:{},91:{},92:{f:rf},93:{f:hl},94:{},95:{f:hs},96:{},97:{},99:{f:hs},125:{f:El},128:{f:Xf},129:{f:af},130:{f:ds},131:{f:hs},132:{f:hs},133:{f:nf},134:{},140:{f:wl},141:{f:ds},144:{},146:{f:Al},151:{},152:{},153:{},154:{},155:{},156:{f:ds},157:{},158:{},160:{f:Rl},161:{f:_l},174:{},175:{},176:{},177:{},178:{},180:{},181:{},182:{},184:{},185:{},189:{f:Ff},190:{f:Df},193:{f:ls},197:{},198:{},199:{},200:{},201:{},202:{f:hs},203:{},204:{},205:{},206:{},207:{},208:{},209:{},210:{},211:{},213:{},215:{},216:{},217:{},218:{f:ds},220:{},221:{f:hs},222:{},224:{f:Lf},225:{f:ef},226:{f:ls},227:{},229:{f:ol},233:{},235:{},236:{},237:{},239:{},240:{},241:{},242:{},244:{},245:{},246:{},247:{},248:{},249:{},251:{},252:{f:ff},253:{f:Tf},255:{f:of},256:{},259:{},290:{},311:{},312:{},315:{},317:{f:ps},318:{},319:{},320:{},330:{},331:{},333:{},334:{},335:{},336:{},337:{},338:{},339:{},340:{},351:{},352:{f:hs},353:{f:ls},401:{},402:{},403:{},404:{},405:{},406:{},407:{},408:{},425:{},426:{},427:{},428:{},429:{},430:{f:Jf},431:{f:hs},432:{},433:{},434:{},437:{},438:{f:vl},439:{f:hs},440:{f:pl},441:{},442:{f:As},443:{},444:{f:ds},445:{},446:{},448:{f:ls},449:{f:uf,r:2},450:{f:ls},512:{f:Rf},513:{f:Ol},515:{f:Kf},516:{f:yf},517:{f:Gf},519:{f:Il},520:{f:cf},523:{},545:{f:nl},549:{f:df},566:{},574:{f:mf},638:{f:Nf},659:{},1048:{},1054:{f:Cf},1084:{},1212:{f:al},2048:{f:gl},2049:{},2050:{},2051:{},2052:{},2053:{},2054:{},2055:{},2056:{},2057:{f:qs},2058:{},2059:{},2060:{},2061:{},2062:{},2063:{},2064:{},2066:{},2067:{},2128:{},2129:{},2130:{},2131:{},2132:{},2133:{},2134:{},2135:{},2136:{},2137:{},2138:{},2146:{},2147:{r:12},2148:{},2149:{},2150:{},2151:{f:ls},2152:{},2154:{},2155:{},2156:{},2161:{},2162:{},2164:{},2165:{},2166:{},2167:{},2168:{},2169:{},2170:{},2171:{},2172:{f:yl,r:12},2173:{f:hh,r:12},2174:{},2175:{},2180:{},2181:{},2182:{},2183:{},2184:{},2185:{},2186:{},2187:{},2188:{f:hs,r:12},2189:{},2190:{r:12},2191:{},2192:{},2194:{},2195:{},2196:{f:tl,r:12},2197:{},2198:{f:ih,r:12},2199:{},2200:{},2201:{},2202:{f:il,r:12},2203:{f:ls},2204:{},2205:{},2206:{},2207:{},2211:{f:hf},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:{f:ds},4135:{},4146:{},4147:{},4148:{},4149:{},4154:{},4156:{},4157:{},4158:{},4159:{},4160:{},4161:{},4163:{},4164:{f:Sl},4165:{},4166:{},4168:{},4170:{},4171:{},4174:{},4175:{},4176:{},4177:{},4187:{},4188:{f:Tl},4189:{},4191:{},4192:{},4193:{},4194:{},4195:{},4196:{},4197:{},4198:{},4199:{},4200:{},0:{f:Rf},1:{},2:{f:Ml},3:{f:Pl},4:{f:Dl},5:{f:Wl},7:{f:Bl},8:{},9:{f:qs},11:{},22:{f:ds},30:{f:Sf},31:{},32:{},33:{f:nl},36:{},37:{f:df},50:{f:zl},62:{},52:{},67:{f:Uf},68:{f:ds},69:{},86:{},126:{},127:{f:Nl},135:{},136:{},137:{},143:{f:Vl},145:{},148:{},149:{},150:{},169:{},171:{},188:{},191:{},192:{},194:{},195:{},214:{f:Hl},223:{},234:{},354:{},421:{},518:{f:Xd},521:{f:qs},536:{f:Qf},547:{f:qf},561:{},579:{f:Hf},1030:{f:Xd},1033:{f:qs},1091:{f:Vf},2157:{},2163:{},2177:{},2240:{},2241:{},2242:{},2243:{},2244:{},2245:{},2246:{},2247:{},2248:{},2249:{},2250:{},2251:{},2262:{r:12},101:{},102:{},105:{},106:{},107:{},109:{},112:{},114:{},29282:{}};function rb(e,r,t,a){var n=r;if(isNaN(n))return;var i=a||(t||[]).length||0;var s=e.next(4);s._W(2,n);s._W(2,i);if(i>0&&fa(t))e.push(t)}function tb(e,r,t,a){var n=a||(t||[]).length||0;if(n<=8224)return rb(e,r,t,n);var i=r;if(isNaN(i))return;var s=t.parts||[],f=0;var l=0,o=0;while(o+(s[f]||8224)<=8224){o+=s[f]||8224;f++}var c=e.next(4);c._W(2,i);c._W(2,o);e.push(t.slice(l,l+o));l+=o;while(l<n){c=e.next(4);c._W(2,60);o=0;while(o+(s[f]||8224)<=8224){o+=s[f]||8224;f++}c._W(2,o);e.push(t.slice(l,l+o));l+=o}}function ab(e,r,t,a){var n=ya(9);Fl(n,e,r);gs(t,a||"b",n);return n}function nb(e,r,t){var a=ya(8+2*t.length);Fl(a,e,r);a._W(1,t.length);a._W(t.length,t,"sbcs");return a.l<a.length?a.slice(0,a.l):a}function ib(e,r){r.forEach(function(r){var t=r[0].map(function(e){return e.t}).join("");if(t.length<=2048)return rb(e,28,ll(t,r[1],r[2]));rb(e,28,ll(t.slice(0,2048),r[1],r[2],t.length));for(var a=2048;a<t.length;a+=2048)rb(e,28,ll(t.slice(a,Math.min(a+2048,t.length)),-1,-1,Math.min(2048,t.length-a)))})}function sb(e,r,t,a,n,i){var s=0;if(r.z!=null){s=n._BIFF2FmtTable.indexOf(r.z);if(s==-1){n._BIFF2FmtTable.push(r.z);s=n._BIFF2FmtTable.length-1}}var f=0;if(r.z!=null){for(;f<n.cellXfs.length;++f)if(n.cellXfs[f].numFmtId==s)break;if(f==n.cellXfs.length)n.cellXfs.push({numFmtId:s})}if(r.v!=null)switch(r.t){case"d":;case"n":var l=r.t=="d"?dr(wr(r.v,i),i):r.v;if(n.biff==2&&l==(l|0)&&l>=0&&l<65536)rb(e,2,Ul(t,a,l,f,s));else if(isNaN(l))rb(e,5,ab(t,a,36,"e"));else if(!isFinite(l))rb(e,5,ab(t,a,7,"e"));else rb(e,3,Ll(t,a,l,f,s));return;case"b":;case"e":rb(e,5,ab(t,a,r.v,r.t));return;case"s":;case"str":rb(e,4,nb(t,a,r.v==null?"":String(r.v).slice(0,255)));return;}rb(e,1,Fl(null,t,a))}function fb(e,r,t,a,n){var i=r["!data"]!=null;var s=Ga(r["!ref"]||"A1"),f,l="",o=[];if(s.e.c>255||s.e.r>16383){if(a.WTF)throw new Error("Range "+(r["!ref"]||"A1")+" exceeds format limit A1:IV16384");s.e.c=Math.min(s.e.c,255);s.e.r=Math.min(s.e.c,16383)}var c=(((n||{}).Workbook||{}).WBProps||{}).date1904;var h=[],u=[];for(var d=s.s.c;d<=s.e.c;++d)o[d]=La(d);for(var v=s.s.r;v<=s.e.r;++v){if(i)h=r["!data"][v]||[];l=Na(v);for(d=s.s.c;d<=s.e.c;++d){var p=i?h[d]:r[o[d]+l];if(!p)continue;sb(e,p,v,d,a,c);if(p.c)u.push([p.c,v,d])}}ib(e,u)}function lb(e,r){var t=r||{};var a=Ca();var n=0;for(var i=0;i<e.SheetNames.length;++i)if(e.SheetNames[i]==t.sheet)n=i;if(n==0&&!!t.sheet&&e.SheetNames[0]!=t.sheet)throw new Error("Sheet not found: "+t.sheet);rb(a,t.biff==4?1033:t.biff==3?521:9,Qs(e,16,t));if(((e.Workbook||{}).WBProps||{}).date1904)rb(a,34,us(true));t.cellXfs=[{numFmtId:0}];t._BIFF2FmtTable=["General"];t._Fonts=[];var s=Ca();fb(s,e.Sheets[e.SheetNames[n]],n,t,e);t._BIFF2FmtTable.forEach(function(e){if(t.biff<=3)rb(a,30,xf(e));else rb(a,1054,Of(e))});t.cellXfs.forEach(function(e){switch(t.biff){case 2:rb(a,67,Bf(e));break;case 3:rb(a,579,Wf(e));break;case 4:rb(a,1091,zf(e));break;}});delete t._BIFF2FmtTable;delete t.cellXfs;delete t._Fonts;a.push(s.end());rb(a,10);return a.end()}var ob=1,cb=[];function hb(){var e=ya(82+8*cb.length);e._W(2,15);e._W(2,61440);e._W(4,74+8*cb.length);{e._W(2,0);e._W(2,61446);e._W(4,16+8*cb.length);{e._W(4,ob);e._W(4,cb.length+1);var r=0;for(var t=0;t<cb.length;++t)r+=cb[t]&&cb[t][1]||0;e._W(4,r);e._W(4,cb.length)}cb.forEach(function(r){e._W(4,r[0]);e._W(4,r[2])})}{e._W(2,51);e._W(2,61451);e._W(4,18);e._W(2,191);e._W(4,524296);e._W(2,385);e._W(4,134217793);e._W(2,448);e._W(4,134217792)}{e._W(2,64);e._W(2,61726);e._W(4,16);e._W(4,134217741);e._W(4,134217740);e._W(4,134217751);e._W(4,268435703)}return e}function ub(e,r){var t=[],a=0,n=Ca(),i=ob;var s;r.forEach(function(e,r){var i="";var f=e[0].map(function(e){if(e.a&&!i)i=e.a;return e.t}).join("");++ob;{var l=ya(150);l._W(2,15);l._W(2,61444);l._W(4,150);{l._W(2,3234);l._W(2,61450);l._W(4,8);l._W(4,ob);l._W(4,2560)}{l._W(2,227);l._W(2,61451);l._W(4,84);l._W(2,128);l._W(4,0);l._W(2,139);l._W(4,2);l._W(2,191);l._W(4,524296);l._W(2,344);l.l+=4;l._W(2,385);l._W(4,134217808);l._W(2,387);l._W(4,134217808);l._W(2,389);l._W(4,268435700);l._W(2,447);l._W(4,1048592);l._W(2,448);l._W(4,134217809);l._W(2,451);l._W(4,268435700);l._W(2,513);l._W(4,134217809);l._W(2,515);l._W(4,268435700);l._W(2,575);l._W(4,196609);l._W(2,959);l._W(4,131072|(e[0].hidden?2:0))}{l.l+=2;l._W(2,61456);l._W(4,18);l._W(2,3);l._W(2,e[2]+2);l.l+=2;l._W(2,e[1]+1);l.l+=2;l._W(2,e[2]+4);l.l+=2;l._W(2,e[1]+5);l.l+=2}{l.l+=2;l._W(2,61457);l.l+=4}l.l=150;if(r==0)s=l;else rb(n,236,l)}a+=150;{var o=ya(52);o._W(2,21);o._W(2,18);o._W(2,25);o._W(2,ob);o._W(2,0);o.l=22;o._W(2,13);o._W(2,22);o._W(4,1651663474);o._W(4,2503426821);o._W(4,2150634280);o._W(4,1768515844+ob*256);o._W(2,0);o._W(4,0);o.l+=4;rb(n,93,o)}{var c=ya(8);c.l+=2;c._W(2,61453);c.l+=4;rb(n,236,c)}a+=8;{var h=ya(18);h._W(2,18);h.l+=8;h._W(2,f.length);h._W(2,16);h.l+=4;rb(n,438,h);{var u=ya(1+f.length);u._W(1,0);u._W(f.length,f,"sbcs");rb(n,60,u)}{var d=ya(16);d.l+=8;d._W(2,f.length);d.l+=6;rb(n,60,d)}}{var v=ya(12+i.length);v._W(2,e[1]);v._W(2,e[2]);v._W(2,0|(e[0].hidden?0:2));v._W(2,ob);v._W(2,i.length);v._W(1,0);v._W(i.length,i,"sbcs");v.l++;t.push(v)}});{var f=ya(80);f._W(2,15);f._W(2,61442);f._W(4,a+f.length-8);{f._W(2,16);f._W(2,61448);f._W(4,8);f._W(4,r.length+1);f._W(4,ob)}{f._W(2,15);f._W(2,61443);f._W(4,a+48);{f._W(2,15);f._W(2,61444);f._W(4,40);{f._W(2,1);f._W(2,61449);f._W(4,16);f.l+=16}{f._W(2,2);f._W(2,61450);f._W(4,8);f._W(4,i);f._W(4,5)}}}rb(e,236,s?P([f,s]):f)}e.push(n.end());t.forEach(function(r){rb(e,28,r)});cb.push([i,r.length+1,ob]);++ob}function db(e,r,t){rb(e,49,kf({sz:12,color:{theme:1},name:"Arial",family:2,scheme:"minor"},t))}function vb(e,r,t){if(!r)return;[[5,8],[23,26],[41,44],[50,392]].forEach(function(a){for(var n=a[0];n<=a[1];++n)if(r[n]!=null)rb(e,1054,_f(n,r[n],t))})}function pb(e,r){var t=ya(19);t._W(4,2151);t._W(4,0);t._W(4,0);t._W(2,3);t._W(1,1);t._W(4,0);rb(e,2151,t);t=ya(39);t._W(4,2152);t._W(4,0);t._W(4,0);t._W(2,3);t._W(1,0);t._W(4,0);t._W(2,1);t._W(4,4);t._W(2,0);Vs(Ga(r["!ref"]||"A1"),t);t._W(4,4);rb(e,2152,t)}function mb(e,r){for(var t=0;t<16;++t)rb(e,224,Mf({numFmtId:0,style:true},0,r));r.cellXfs.forEach(function(t){rb(e,224,Mf(t,0,r))})}function gb(e,r){for(var t=0;t<r["!links"].length;++t){var a=r["!links"][t];rb(e,440,ml(a));if(a[1].Tooltip)rb(e,2048,bl(a))}delete r["!links"]}function bb(e,r){if(!r)return;var t=0;r.forEach(function(r,a){if(++t<=256&&r){rb(e,125,Cl(kv(a,r),a))}})}function wb(e,r,t,a,n,i){var s=16+Av(n.cellXfs,r,n);if(r.v==null&&!r.bf){rb(e,513,Ls(t,a,s));return}if(r.bf)rb(e,6,$d(r,t,a,n,s));else switch(r.t){case"d":;case"n":var f=r.t=="d"?dr(wr(r.v,i),i):r.v;if(isNaN(f))rb(e,517,jf(t,a,36,s,n,"e"));else if(!isFinite(f))rb(e,517,jf(t,a,7,s,n,"e"));else rb(e,515,Yf(t,a,f,s,n));break;case"b":;case"e":rb(e,517,jf(t,a,r.v,s,n,r.t));break;case"s":;case"str":if(n.bookSST){var l=wv(n.Strings,r.v==null?"":String(r.v),n.revStrings);rb(e,253,Af(t,a,l,s,n))}else rb(e,516,Ef(t,a,(r.v==null?"":String(r.v)).slice(0,255),s,n));break;default:rb(e,513,Ls(t,a,s));}}function kb(e,r,t){var a=Ca();var n=t.SheetNames[e],i=t.Sheets[n]||{};var s=(t||{}).Workbook||{};var f=(s.Sheets||[])[e]||{};var l=i["!data"]!=null;var o=r.biff==8;var c,h="",u=[];var d=Ga(i["!ref"]||"A1");var v=o?65536:16384;if(d.e.c>255||d.e.r>=v){if(r.WTF)throw new Error("Range "+(i["!ref"]||"A1")+" exceeds format limit A1:IV16384");d.e.c=Math.min(d.e.c,255);d.e.r=Math.min(d.e.c,v-1)}rb(a,2057,Qs(t,16,r));rb(a,13,vs(1));rb(a,12,vs(100));rb(a,15,us(true));rb(a,17,us(false));rb(a,16,xn(.001));rb(a,95,us(true));rb(a,42,us(false));rb(a,43,us(false));rb(a,130,vs(1));rb(a,128,$f([0,0]));rb(a,131,us(false));rb(a,132,us(false));if(o)bb(a,i["!cols"]);rb(a,512,If(d,r));var p=(((t||{}).Workbook||{}).WBProps||{}).date1904;if(o)i["!links"]=[];var m=[];var g=[];for(var b=d.s.c;b<=d.e.c;++b)u[b]=La(b);for(var w=d.s.r;w<=d.e.r;++w){if(l)g=i["!data"][w]||[];h=Na(w);for(b=d.s.c;b<=d.e.c;++b){c=u[b]+h;var k=l?g[b]:i[c];if(!k)continue;wb(a,k,w,b,r,p);if(o&&k.l)i["!links"].push([c,k.l]);if(k.c)m.push([k.c,w,b])}}var T=f.CodeName||f.name||n;if(o)ub(a,m);else ib(a,m);if(o)rb(a,574,gf((s.Views||[])[0]));if(o&&(i["!merges"]||[]).length)rb(a,229,cl(i["!merges"]));if(o)gb(a,i);rb(a,442,Es(T,r));if(o)pb(a,i);rb(a,10);return a.end()}function Tb(e,r,t){var a=Ca();var n=(e||{}).Workbook||{};var i=n.Sheets||[];var s=n.WBProps||{};var f=t.biff==8,l=t.biff==5;rb(a,2057,Qs(e,5,t));if(t.bookType=="xla")rb(a,135);rb(a,225,f?vs(1200):null);rb(a,193,os(2));if(l)rb(a,191);if(l)rb(a,192);rb(a,226);rb(a,92,tf("SheetJS",t));rb(a,66,vs(f?1200:1252));if(f)rb(a,353,vs(0));if(f)rb(a,448);rb(a,317,xl(e.SheetNames.length));if(f&&e.vbaraw)rb(a,211);if(f&&e.vbaraw){var o=s.CodeName||"ThisWorkbook";rb(a,442,Es(o,t))}rb(a,156,vs(17));rb(a,25,us(false));rb(a,18,us(false));rb(a,19,vs(0));if(f)rb(a,431,us(false));if(f)rb(a,444,vs(0));rb(a,61,pf(t));rb(a,64,us(false));rb(a,141,vs(0));rb(a,34,us(Dm(e)=="true"));rb(a,14,us(true));if(f)rb(a,439,us(false));rb(a,218,vs(0));db(a,e,t);vb(a,e.SSF,t);mb(a,t);if(f)rb(a,352,us(false));var c=a.end();var h=Ca();if(f)rb(h,140,kl());if(f&&cb.length)rb(h,235,hb());if(f&&t.Strings)tb(h,252,lf(t.Strings,t));rb(h,10);var u=h.end();var d=Ca();var v=0,p=0;for(p=0;p<e.SheetNames.length;++p)v+=(f?12:11)+(f?2:1)*e.SheetNames[p].length;var m=c.length+v+u.length;for(p=0;p<e.SheetNames.length;++p){var g=i[p]||{};rb(d,133,sf({pos:m,hs:g.Hidden||0,dt:0,name:e.SheetNames[p]},t));m+=r[p].length}var b=d.end();if(v!=b.length)throw new Error("BS8 "+v+" != "+b.length);var w=[];if(c.length)w.push(c);if(b.length)w.push(b);if(u.length)w.push(u);return P(w)}function Ab(e,r){var t=r||{};var a=[];if(e&&!e.SSF){e.SSF=Tr(q)}if(e&&e.SSF){Xe();Ve(e.SSF);t.revssf=lr(e.SSF);t.revssf[e.SSF[65535]]=0;t.ssf=e.SSF}ob=1;cb=[];t.Strings=[];t.Strings.Count=0;t.Strings.Unique=0;rk(t);t.cellXfs=[];Av(t.cellXfs,{},{revssf:{General:0}});if(!e.Props)e.Props={};for(var n=0;n<e.SheetNames.length;++n)a[a.length]=kb(n,t,e);a.unshift(Tb(e,a,t));return P(a)}function yb(e,r){for(var t=0;t<=e.SheetNames.length;++t){var a=e.Sheets[e.SheetNames[t]];if(!a||!a["!ref"])continue;var n=Ha(a["!ref"]);if(n.e.c>255){if(typeof console!="undefined"&&console.error)console.error("Worksheet '"+e.SheetNames[t]+"' extends beyond column IV (255). Data may be lost.")}}var i=r||{};switch(i.biff||2){case 8:;case 5:return Ab(e,r);case 4:;case 3:;case 2:return lb(e,r);}throw new Error("invalid type "+i.bookType+" for BIFF")}function Eb(e,r){var t=r||{};var a=t.dense!=null?t.dense:b;var n={};if(a)n["!data"]=[];e=e.replace(/<!--.*?-->/g,"");var i=e.match(/<table/i);if(!i)throw new Error("Invalid HTML: could not find <table>");var s=e.match(/<\/table/i);var f=i.index,l=s&&s.index||e.length;var o=Nr(e.slice(f,l),/(:?<tr[^>]*>)/i,"<tr>");var c=-1,h=0,u=0,d=0;var v={s:{r:1e7,c:1e7},e:{r:0,c:0}};var p=[];for(f=0;f<o.length;++f){var m=o[f].trim();var g=m.slice(0,3).toLowerCase();if(g=="<tr"){++c;if(t.sheetRows&&t.sheetRows<=c){--c;break}h=0;continue}if(g!="<td"&&g!="<th")continue;var w=m.split(/<\/t[dh]>/i);for(l=0;l<w.length;++l){var k=w[l].trim();if(!k.match(/<t[dh]/i))continue;var T=k,A=0;while(T.charAt(0)=="<"&&(A=T.indexOf(">"))>-1)T=T.slice(A+1);for(var y=0;y<p.length;++y){var E=p[y];if(E.s.c==h&&E.s.r<c&&c<=E.e.r){h=E.e.c+1;y=-1}}var C=rt(k.slice(0,k.indexOf(">")));d=C.colspan?+C.colspan:1;if((u=+C.rowspan)>1||d>1)p.push({s:{r:c,c:h},e:{r:c+(u||1)-1,c:h+d-1}});var _=C.t||C["data-t"]||"";if(!T.length){h+=d;continue}T=yt(T);if(v.s.r>c)v.s.r=c;if(v.e.r<c)v.e.r=c;if(v.s.c>h)v.s.c=h;if(v.e.c<h)v.e.c=h;if(!T.length){h+=d;continue}var S={t:"s",v:T};if(t.raw||!T.trim().length||_=="s"){}else if(T==="TRUE")S={t:"b",v:true};else if(T==="FALSE")S={t:"b",v:false};else if(!isNaN(yr(T)))S={t:"n",v:yr(T)};else if(!isNaN(Ir(T).getDate())){S={t:"d",v:wr(T)};if(t.UTC===false)S.v=Fr(S.v);if(!t.cellDates)S={t:"n",v:dr(S.v)};S.z=t.dateNF||q[14]}if(S.cellText!==false)S.w=T;if(a){if(!n["!data"][c])n["!data"][c]=[];n["!data"][c][h]=S}else n[za({r:c,c:h})]=S;h+=d}}n["!ref"]=Va(v);if(p.length)n["!merges"]=p;return n}function Cb(e,r,t,a){var n=e["!merges"]||[];var i=[];var s={};var f=e["!data"]!=null;for(var l=r.s.c;l<=r.e.c;++l){var o=0,c=0;for(var h=0;h<n.length;++h){if(n[h].s.r>t||n[h].s.c>l)continue;if(n[h].e.r<t||n[h].e.c<l)continue;if(n[h].s.r<t||n[h].s.c<l){o=-1;break}o=n[h].e.r-n[h].s.r+1;c=n[h].e.c-n[h].s.c+1;break}if(o<0)continue;var u=La(l)+Na(t);var d=f?(e["!data"][t]||[])[l]:e[u];var v=d&&d.v!=null&&(d.h||ht(d.w||(Ka(d),d.w)||""))||"";s={};if(o>1)s.rowspan=o;if(c>1)s.colspan=c;if(a.editable)v='<span contenteditable="true">'+v+"</span>";else if(d){s["data-t"]=d&&d.t||"z";if(d.v!=null)s["data-v"]=d.v instanceof Date?d.v.toISOString():d.v;if(d.z!=null)s["data-z"]=d.z;if(d.l&&(d.l.Target||"#").charAt(0)!="#")v='<a href="'+ht(d.l.Target)+'">'+v+"</a>"}s.id=(a.id||"sjs")+"-"+u;i.push(It("td",v,s))}var p="<tr>";return p+i.join("")+"</tr>"}var _b='<html><head><meta charset="utf-8"/><title>SheetJS Table Export';var Sb="";function xb(e,r){var t=e.match(/[\s\S]*?<\/table>/gi);if(!t||t.length==0)throw new Error("Invalid HTML: could not find
");if(t.length==1){var a=Ya(Eb(t[0],r),r);a.bookType="html";return a}var n=jk();t.forEach(function(e,t){Kk(n,Eb(e,r),"Sheet"+(t+1))});n.bookType="html";return n}function Ob(e,r,t){var a=[];return a.join("")+""}function Rb(e,r){var t=r||{};var a=t.header!=null?t.header:_b;var n=t.footer!=null?t.footer:Sb;var i=[a];var s=Ha(e["!ref"]||"A1");i.push(Ob(e,s,t));if(e["!ref"])for(var f=s.s.r;f<=s.e.r;++f)i.push(Cb(e,s,f,t));i.push("
"+n);return i.join("")}function Ib(e,r,t){var a=r.rows;if(!a){throw"Unsupported origin when "+r.tagName+" is not a TABLE"}var n=t||{};var i=e["!data"]!=null;var s=0,f=0;if(n.origin!=null){if(typeof n.origin=="number")s=n.origin;else{var l=typeof n.origin=="string"?Wa(n.origin):n.origin;s=l.r;f=l.c}}var o=Math.min(n.sheetRows||1e7,a.length); -var c={s:{r:0,c:0},e:{r:s,c:f}};if(e["!ref"]){var h=Ha(e["!ref"]);c.s.r=Math.min(c.s.r,h.s.r);c.s.c=Math.min(c.s.c,h.s.c);c.e.r=Math.max(c.e.r,h.e.r);c.e.c=Math.max(c.e.c,h.e.c);if(s==-1)c.e.r=s=h.e.r+1}var u=[],d=0;var v=e["!rows"]||(e["!rows"]=[]);var p=0,m=0,g=0,b=0,w=0,k=0;if(!e["!cols"])e["!cols"]=[];for(;p1||k>1)u.push({s:{r:m+s,c:b+f},e:{r:m+s+(w||1)-1,c:b+f+(k||1)-1}});var S={t:"s",v:E};var x=y.getAttribute("data-t")||y.getAttribute("t")||"";if(E!=null){if(E.length==0)S.t=x||"z";else if(n.raw||E.trim().length==0||x=="s"){}else if(E==="TRUE")S={t:"b",v:true};else if(E==="FALSE")S={t:"b",v:false};else if(!isNaN(yr(E)))S={t:"n",v:yr(E)};else if(!isNaN(Ir(E).getDate())){S={t:"d",v:wr(E)};if(n.UTC)S.v=Dr(S.v);if(!n.cellDates)S={t:"n",v:dr(S.v)};S.z=n.dateNF||q[14]}}if(S.z===undefined&&C!=null)S.z=C;var O="",R=y.getElementsByTagName("A");if(R&&R.length)for(var I=0;I=o)e["!fullref"]=Va((c.e.r=a.length-p+m-1+s,c));return e}function Nb(e,r){var t=r||{};var a={};if(t.dense)a["!data"]=[];return Ib(a,e,r)}function Fb(e,r){var t=Ya(Nb(e,r),r);return t}function Db(e){var r="";var t=Pb(e);if(t)r=t(e).getPropertyValue("display");if(!r)r=e.style&&e.style.display;return r==="none"}function Pb(e){if(e.ownerDocument.defaultView&&typeof e.ownerDocument.defaultView.getComputedStyle==="function")return e.ownerDocument.defaultView.getComputedStyle;if(typeof getComputedStyle==="function")return getComputedStyle;return null}function Lb(e){var r=e.replace(/[\t\r\n]/g," ").trim().replace(/ +/g," ").replace(//g," ").replace(//g,function(e,r){return Array(parseInt(r,10)+1).join(" ")}).replace(/]*\/>/g,"\t").replace(//g,"\n");var t=it(r.replace(/<[^>]*>/g,""));return[t]}function Mb(e,r,t){var a=t||{};var n=Dt(e);Pt.lastIndex=0;n=n.replace(//gm,"").replace(//gm,"");var i,s,f="",l="",o,c=0,h=-1,u=false,d="";while(i=Pt.exec(n)){switch(i[3]=i[3].replace(/_.*$/,"")){case"number-style":;case"currency-style":;case"percentage-style":;case"date-style":;case"time-style":;case"text-style":if(i[1]==="/"){u=false;if(s["truncate-on-overflow"]=="false"){if(f.match(/h/))f=f.replace(/h+/,"[$&]");else if(f.match(/m/))f=f.replace(/m+/,"[$&]");else if(f.match(/s/))f=f.replace(/s+/,"[$&]")}a[s.name]=f;f=""}else if(i[0].charAt(i[0].length-2)!=="/"){u=true;f="";s=rt(i[0],false)}break;case"boolean-style":if(i[1]==="/"){u=false;a[s.name]="General";f=""}else if(i[0].charAt(i[0].length-2)!=="/"){u=true;f="";s=rt(i[0],false)}break;case"boolean":f+="General";break;case"text":if(i[1]==="/"){d=n.slice(h,Pt.lastIndex-i[0].length);if(d=="%"&&s[0]=="=0")f=a[o["apply-style-name"]]+";"+f;else console.error("ODS number format may be incorrect: "+o["condition"]);break;case"number":if(i[1]==="/")break;o=rt(i[0],false);l="";l+=Ar("0",+o["min-integer-digits"]||1);if(pt(o["grouping"]))l=ue(Ar("#",Math.max(0,4-l.length))+l);if(+o["min-decimal-places"]||+o["decimal-places"])l+=".";if(+o["min-decimal-places"])l+=Ar("0",+o["min-decimal-places"]||1);if(+o["decimal-places"]-(+o["min-decimal-places"]||0))l+=Ar("0",+o["decimal-places"]-(+o["min-decimal-places"]||0));f+=l;break;case"embedded-text":if(i[1]==="/"){if(c==0)f+='"'+n.slice(h,Pt.lastIndex-i[0].length).replace(/"/g,'""')+'"';else f=f.slice(0,c)+'"'+n.slice(h,Pt.lastIndex-i[0].length).replace(/"/g,'""')+'"'+f.slice(c)}else if(i[0].charAt(i[0].length-2)!=="/"){h=Pt.lastIndex;c=-+rt(i[0],false)["position"]||0}break;}}return a}function Ub(e,r,t){var a=r||{};if(b!=null&&a.dense==null)a.dense=b;var n=Dt(e);var i=[],s;var f;var l,o="",c=0;var h;var u;var d={},v=[];var p={};if(a.dense)p["!data"]=[];var m,g;var w={value:""};var k="",T=0,A,y="",E=0;var C=[],_=[];var S=-1,x=-1,O={s:{r:1e6,c:1e7},e:{r:0,c:0}};var R=0;var I=t||{},N={};var F=[],D={},P=0,L=0;var M=[],U=1,B=1;var W=[];var z={Names:[],WBProps:{}};var H={};var V=["",""];var X=[],$={};var G="",j=0;var K=false,Y=false;var Z=0;Pt.lastIndex=0;n=n.replace(//gm,"").replace(//gm,"");while(m=Pt.exec(n))switch(m[3]=m[3].replace(/_.*$/,"")){case"table":;case"工作表":if(m[1]==="/"){if(O.e.c>=O.s.c&&O.e.r>=O.s.r)p["!ref"]=Va(O);else p["!ref"]="A1:A1";if(a.sheetRows>0&&a.sheetRows<=O.e.r){p["!fullref"]=p["!ref"];O.e.r=a.sheetRows-1;p["!ref"]=Va(O)}if(F.length)p["!merges"]=F;if(M.length)p["!rows"]=M;h.name=h["名称"]||h.name;if(typeof JSON!=="undefined")JSON.stringify(h);v.push(h.name);d[h.name]=p;Y=false}else if(m[0].charAt(m[0].length-2)!=="/"){h=rt(m[0],false);S=x=-1;O.s.r=O.s.c=1e7;O.e.r=O.e.c=0;p={};if(a.dense)p["!data"]=[];F=[];M=[];Y=true}break;case"table-row-group":if(m[1]==="/")--R;else++R;break;case"table-row":;case"行":if(m[1]==="/"){S+=U;U=1;break}u=rt(m[0],false);if(u["行号"])S=u["行号"]-1;else if(S==-1)S=0;U=+u["number-rows-repeated"]||1;if(U<10)for(Z=0;Z0)M[S+Z]={level:R};x=-1;break;case"covered-table-cell":if(m[1]!=="/")++x;if(a.sheetStubs){if(a.dense){if(!p["!data"][S])p["!data"][S]=[];p["!data"][S][x]={t:"z"}}else p[za({r:S,c:x})]={t:"z"}}k="";C=[];break;case"table-cell":;case"数据":if(m[0].charAt(m[0].length-2)==="/"){++x;w=rt(m[0],false);B=parseInt(w["number-columns-repeated"]||"1",10);g={t:"z",v:null};if(w.formula&&a.cellFormula!=false)g.f=uv(it(w.formula));if(w["style-name"]&&N[w["style-name"]])g.z=N[w["style-name"]];if((w["数据类型"]||w["value-type"])=="string"){g.t="s";g.v=it(w["string-value"]||"");if(a.dense){if(!p["!data"][S])p["!data"][S]=[];p["!data"][S][x]=g}else{p[La(x)+Na(S)]=g}}x+=B-1}else if(m[1]!=="/"){++x;k=y="";T=E=0;C=[];_=[];B=1;var J=U?S+U-1:S;if(x>O.e.c)O.e.c=x;if(xO.e.r)O.e.r=J;w=rt(m[0],false);X=[];$={};g={t:w["数据类型"]||w["value-type"],v:null};if(w["style-name"]&&N[w["style-name"]])g.z=N[w["style-name"]];if(a.cellFormula){if(w.formula)w.formula=it(w.formula);if(w["number-matrix-columns-spanned"]&&w["number-matrix-rows-spanned"]){P=parseInt(w["number-matrix-rows-spanned"],10)||0;L=parseInt(w["number-matrix-columns-spanned"],10)||0;D={s:{r:S,c:x},e:{r:S+P-1,c:x+L-1}};g.F=Va(D);W.push([D,g.F])}if(w.formula)g.f=uv(w.formula);else for(Z=0;Z=W[Z][0].s.r&&S<=W[Z][0].e.r)if(x>=W[Z][0].s.c&&x<=W[Z][0].e.c)g.F=W[Z][1]}if(w["number-columns-spanned"]||w["number-rows-spanned"]){P=parseInt(w["number-rows-spanned"],10)||0;L=parseInt(w["number-columns-spanned"],10)||0;D={s:{r:S,c:x},e:{r:S+P-1,c:x+L-1}};F.push(D)}if(w["number-columns-repeated"])B=parseInt(w["number-columns-repeated"],10);switch(g.t){case"boolean":g.t="b";g.v=pt(w["boolean-value"])||+w["boolean-value"]>=1;break;case"float":g.t="n";g.v=parseFloat(w.value);if(a.cellDates&&g.z&&Le(g.z)){g.v=vr(g.v+(z.WBProps.date1904?1462:0));g.t=typeof g.v=="number"?"n":"d"}break;case"percentage":g.t="n";g.v=parseFloat(w.value);break;case"currency":g.t="n";g.v=parseFloat(w.value);break;case"date":g.t="d";g.v=wr(w["date-value"],z.WBProps.date1904);if(!a.cellDates){g.t="n";g.v=dr(g.v,z.WBProps.date1904)}if(!g.z)g.z="m/d/yy";break;case"time":g.t="n";g.v=pr(w["time-value"])/86400;if(a.cellDates){g.v=vr(g.v);g.t=typeof g.v=="number"?"n":"d"}if(!g.z)g.z="HH:MM:SS";break;case"number":g.t="n";g.v=parseFloat(w["数据数值"]);break;default:if(g.t==="string"||g.t==="text"||!g.t){g.t="s";if(w["string-value"]!=null){k=it(w["string-value"]);C=[]}}else throw new Error("Unsupported value type "+g.t);}}else{K=false;if(g.t==="s"){g.v=k||"";if(C.length)g.R=C;K=T==0}if(H.Target)g.l=H;if(X.length>0){g.c=X;X=[]}if(k&&a.cellText!==false)g.w=k;if(K){g.t="z";delete g.v}if(!K||a.sheetStubs){if(!(a.sheetRows&&a.sheetRows<=S)){for(var q=0;q0)p["!data"][S+q][x+B]=Tr(g)}else{p[za({r:S+q,c:x})]=g;while(--B>0)p[za({r:S+q,c:x+B})]=Tr(g)}if(O.e.c<=x)O.e.c=x}}}B=parseInt(w["number-columns-repeated"]||"1",10);x+=B-1;B=0;g={};k="";C=[]}H={};break;case"document":;case"document-content":;case"电子表格文档":;case"spreadsheet":;case"主体":;case"scripts":;case"styles":;case"font-face-decls":;case"master-styles":if(m[1]==="/"){if((s=i.pop())[0]!==m[3])throw"Bad state: "+s}else if(m[0].charAt(m[0].length-2)!=="/")i.push([m[3],true]);break;case"annotation":if(m[1]==="/"){if((s=i.pop())[0]!==m[3])throw"Bad state: "+s;$.t=k;if(C.length)$.R=C;$.a=G;X.push($);k=y;T=E;C=_}else if(m[0].charAt(m[0].length-2)!=="/"){i.push([m[3],false]);var Q=rt(m[0],true);if(!(Q["display"]&&pt(Q["display"])))X.hidden=true;y=k;E=T;_=C;k="";T=0;C=[]}G="";j=0;break;case"creator":if(m[1]==="/"){G=n.slice(j,m.index)}else j=m.index+m[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":;case"chart":if(m[1]==="/"){if((s=i.pop())[0]!==m[3])throw"Bad state: "+s}else if(m[0].charAt(m[0].length-2)!=="/")i.push([m[3],false]);k="";T=0;C=[];break;case"scientific-number":;case"currency-symbol":;case"fill-character":break;case"text-style":;case"boolean-style":;case"number-style":;case"currency-style":;case"percentage-style":;case"date-style":;case"time-style":if(m[1]==="/"){var ee=Pt.lastIndex;Mb(n.slice(l,Pt.lastIndex),r,I);Pt.lastIndex=ee}else if(m[0].charAt(m[0].length-2)!=="/"){l=Pt.lastIndex-m[0].length}break;case"script":break;case"libraries":break;case"automatic-styles":break;case"default-style":;case"page-layout":break;case"style":{var re=rt(m[0],false);if(re["family"]=="table-cell"&&I[re["data-style-name"]])N[re["name"]]=I[re["data-style-name"]]}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":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":break;case"boolean":break;case"text":if(m[0].slice(-2)==="/>")break;else if(m[1]==="/")switch(i[i.length-1][0]){case"number-style":;case"date-style":;case"time-style":o+=n.slice(c,m.index);break;}else c=m.index+m[0].length;break;case"named-range":f=rt(m[0],false);V=vv(f["cell-range-address"]);var te={Name:f.name,Ref:V[0]+"!"+V[1]};if(Y)te.Sheet=v.length;z.Names.push(te);break;case"text-content":break;case"text-properties":break;case"embedded-text":break;case"body":;case"电子表格":break;case"forms":break;case"table-column":break;case"table-header-rows":break;case"table-rows":break;case"table-column-group":break;case"table-header-columns":break;case"table-columns":break;case"null-date":f=rt(m[0],false);switch(f["date-value"]){case"1904-01-01":z.WBProps.date1904=true;break;}break;case"graphic-properties":break;case"calculation-settings":break;case"named-expressions":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(["master-styles"].indexOf(i[i.length-1][0])>-1)break;if(m[1]==="/"&&(!w||!w["string-value"])){var ae=Lb(n.slice(T,m.index),A);k=(k.length>0?k+"\n":"")+ae[0]}else if(m[0].slice(-2)=="/>"){k+="\n"}else{A=rt(m[0],false);T=m.index+m[0].length}break;case"s":break;case"database-range":if(m[1]==="/")break;try{V=vv(rt(m[0])["target-range-address"]);d[V[0]]["!autofilter"]={ref:V[1]}}catch(ne){}break;case"date":break;case"object":break;case"title":;case"标题":break;case"desc":break;case"binary-data":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"filter-set-item":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"print-date":;case"generator":;case"document-statistic":;case"user-defined":;case"editing-duration":;case"editing-cycles":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":if(m[1]!=="/"){H=rt(m[0],false);if(!H.href)break;H.Target=it(H.href);delete H.href;if(H.Target.charAt(0)=="#"&&H.Target.indexOf(".")>-1){V=vv(H.Target.slice(1));H.Target="#"+V[0]+"!"+V[1]}else if(H.Target.match(/^\.\.[\\\/]/))H.Target=H.Target.slice(3)}break;case"table-protection":break;case"data-pilot-grand-total":break;case"office-document-common-attrs":break;default:switch(m[2]){case"dc:":;case"calcext:":;case"loext:":;case"ooo:":;case"chartooo:":;case"draw:":;case"style:":;case"chart:":;case"form:":;case"uof:":;case"表:":;case"字:":break;default:if(a.WTF)throw new Error(m);};}var ie={Sheets:d,SheetNames:v,Workbook:z};if(a.bookSheets)delete ie.Sheets;return ie}function Bb(e,r){r=r||{};if(Ur(e,"META-INF/manifest.xml"))mi(Wr(e,"META-INF/manifest.xml"),r);var t=zr(e,"styles.xml");var a=t&&Mb(kt(t),r);var n=zr(e,"content.xml");if(!n)throw new Error("Missing content.xml in ODS / UOF file");var i=Ub(kt(n),r,a);if(Ur(e,"meta.xml"))i.Props=Ei(Wr(e,"meta.xml"));i.bookType="ods";return i}function Wb(e,r){var t=Ub(e,r);t.bookType="fods";return t}var zb=function(){var e=["",'',"",'',"",'',"",""].join("");var r=""+e+"";return function t(){return Kr+r}}();function Hb(e,r){var t="number",a="",n={"style:name":r},i="",s=0;e=e.replace(/"[$]"/g,"$");e:{if(e.indexOf(";")>-1){console.error("Unsupported ODS Style Map exported. Using first branch of "+e);e=e.slice(0,e.indexOf(";"))}if(e=="@"){t="text";a="";break e}if(e.indexOf(/\$/)>-1){t="currency"}if(e[s]=='"'){i="";while(e[++s]!='"'||e[++s]=='"')i+=e[s];--s;if(e[s+1]=="*"){s++;a+=""+lt(i.replace(/""/g,'"'))+""}else{a+=""+lt(i.replace(/""/g,'"'))+""}e=e.slice(s+1);s=0}var f=e.match(/# (\?+)\/(\?+)/);if(f){a+=It("number:fraction",null,{"number:min-integer-digits":0,"number:min-numerator-digits":f[1].length,"number:max-denominator-value":Math.max(+f[1].replace(/./g,"9"),+f[2].replace(/./g,"9"))});break e}if(f=e.match(/# (\?+)\/(\d+)/)){a+=It("number:fraction",null,{"number:min-integer-digits":0,"number:min-numerator-digits":f[1].length,"number:denominator-value":+f[2]});break e}if(f=e.match(/(\d+)(|\.\d+)%/)){t="percentage";a+=It("number:number",null,{"number:decimal-places":f[2]&&f.length-1||0,"number:min-decimal-places":f[2]&&f.length-1||0,"number:min-integer-digits":f[1].length})+"%";break e}var l=false;if(["y","m","d"].indexOf(e[0])>-1){t="date";r:for(;s";break;case"yyy":;case"yyyy":a+='';break;case"mmmmm":console.error("ODS has no equivalent of format |mmmmm|");case"m":;case"mm":;case"mmm":;case"mmmm":a+='';break;case"d":;case"dd":a+='';break;case"ddd":;case"dddd":a+='';break;}break;case'"':while(e[++s]!='"'||e[++s]=='"')i+=e[s];--s;a+=""+lt(i.slice(1).replace(/""/g,'"'))+"";break;case"\\":i=e[++s];a+=""+lt(i)+"";break;case"/":;case":":a+=""+lt(i)+"";break;default:console.error("unrecognized character "+i+" in ODF format "+e);}if(!l)break e;e=e.slice(s+1);s=0}if(e.match(/^\[?[hms]/)){if(t=="number")t="time";if(e.match(/\[/)){e=e.replace(/[\[\]]/g,"");n["number:truncate-on-overflow"]="false"}for(;s';break;case"m":;case"mm":a+='';break;case"s":;case"ss":if(e[s+1]==".")do{i+=e[s+1];++s}while(e[s+1]=="0");a+='";break;}break;case'"':while(e[++s]!='"'||e[++s]=='"')i+=e[s];--s;a+=""+lt(i.slice(1).replace(/""/g,'"'))+"";break;case"/":;case":":a+=""+lt(i)+"";break;case"a":if(e.slice(s,s+3).toLowerCase()=="a/p"){a+="";s+=2;break}if(e.slice(s,s+5).toLowerCase()=="am/pm"){a+="";s+=4;break};default:console.error("unrecognized character "+i+" in ODF format "+e);}break e}if(e.indexOf(/\$/)>-1){t="currency"}if(e[0]=="$"){a+='$';e=e.slice(1);s=0}s=0;if(e[s]=='"'){while(e[++s]!='"'||e[++s]=='"')i+=e[s];--s;if(e[s+1]=="*"){s++;a+=""+lt(i.replace(/""/g,'"'))+""}else{a+=""+lt(i.replace(/""/g,'"'))+""}e=e.slice(s+1);s=0}var c=e.match(/([#0][0#,]*)(\.[0#]*|)(E[+]?0*|)/i);if(!c||!c[0])console.error("Could not find numeric part of "+e);else{var h=c[1].replace(/,/g,"");a+="-1?' number:grouping="true"':"")+(c[2]&&' number:decimal-places="'+(c[2].length-1)+'"'||' number:decimal-places="0"')+(c[3]&&c[3].indexOf("+")>-1?' number:forced-exponent-sign="true"':"")+(c[3]?' number:min-exponent-digits="'+c[3].match(/0+/)[0].length+'"':"")+">"+"";s=c.index+c[0].length}if(e[s]=='"'){i="";while(e[++s]!='"'||e[++s]=='"')i+=e[s];--s;a+=""+lt(i.replace(/""/g,'"'))+""}}if(!a){console.error("Could not generate ODS number format for |"+e+"|");return""}return It("number:"+t+"-style",a,n)}function Vb(e,r,t){var a=[];for(var n=0;n\n"+a.map(function(e){var r=(t==-1?"$":"")+pv(e.Ref);return" "+It("table:named-range",null,{"table:name":e.Name,"table:cell-range-address":r,"table:base-cell-address":r.replace(/[\.]?[^\.]*$/,".$A$1")})}).join("\n")+"\n \n"}var Xb=function(){var e=function(e){return lt(e).replace(/ +/g,function(e){return''}).replace(/\t/g,"").replace(/\n/g,"").replace(/^ /,"").replace(/ $/,"")};var r=" \n";var t=function(t,a,n,i,s,f){var l=[];l.push(' \n');var o=0,c=0,h=Ha(t["!ref"]||"A1");var u=t["!merges"]||[],d=0;var v=t["!data"]!=null;if(t["!cols"]){for(c=0;c<=h.e.c;++c)l.push(" \n")}var p="",m=t["!rows"]||[];for(o=0;o\n")}for(;o<=h.e.r;++o){p=m[o]?' table:style-name="ro'+m[o].ods+'"':"";l.push(" \n");for(c=0;cc)continue;if(u[d].s.r>o)continue;if(u[d].e.c\n");continue}var k=za({r:o,c:c}),T=v?(t["!data"][o]||[])[c]:t[k];if(T&&T.f){b["table:formula"]=lt(dv(T.f));if(T.F){if(T.F.slice(0,k.length)==k){var A=Ha(T.F);b["table:number-matrix-columns-spanned"]=A.e.c-A.s.c+1;b["table:number-matrix-rows-spanned"]=A.e.r-A.s.r+1}}}if(!T){l.push(r);continue}switch(T.t){case"b":w=T.v?"TRUE":"FALSE";b["office:value-type"]="boolean";b["office:boolean-value"]=T.v?"true":"false";break;case"n":w=T.w||String(T.v||0);b["office:value-type"]="float";b["office:value"]=T.v||0;break;case"s":;case"str":w=T.v==null?"":T.v;b["office:value-type"]="string";break;case"d":w=T.w||wr(T.v,f).toISOString();b["office:value-type"]="date";b["office:date-value"]=wr(T.v,f).toISOString();b["table:style-name"]="ce1";break;default:l.push(r);continue;}var y=e(w);if(T.l&&T.l.Target){var E=T.l.Target;E=E.charAt(0)=="#"?"#"+pv(E.slice(1)):E;if(E.charAt(0)!="#"&&!E.match(/^\w+:/))E="../"+E;y=It("text:a",y,{"xlink:href":E.replace(/&/g,"&")})}if(s[T.z])b["table:style-name"]="ce"+s[T.z].slice(1);var C=It("text:p",y,{});if(T.c){var _="",S="",x={};for(var O=0;O"+e(T.c[O].t)+""}if(!T.c.hidden)x["office:display"]=true;C=It("office:annotation",S,x)+C}l.push(" "+It("table:table-cell",C,b)+"\n")}l.push(" \n")}if((a.Workbook||{}).Names)l.push(Vb(a.Workbook.Names,a.SheetNames,n));l.push(" \n");return l.join("")};var a=function(e,r){e.push(" \n");var t=0;r.SheetNames.map(function(e){return r.Sheets[e]}).forEach(function(r){if(!r)return;if(r["!cols"]){for(var a=0;a\n');e.push(' \n');e.push(" \n");++t}}});var a=0;r.SheetNames.map(function(e){return r.Sheets[e]}).forEach(function(r){if(!r)return;if(r["!rows"]){for(var t=0;t\n');e.push(' \n');e.push(" \n");++a}}});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");var n={};var i=69;r.SheetNames.map(function(e){return r.Sheets[e]}).forEach(function(r){if(!r)return;var t=r["!data"]!=null;if(!r["!ref"])return;var a=Ha(r["!ref"]);for(var s=0;s<=a.e.r;++s)for(var f=0;f<=a.e.c;++f){var l=t?(r["!data"][s]||[])[f]:r[za({r:s,c:f})];if(!l||!l.z||l.z.toLowerCase()=="general")continue;if(!n[l.z]){var o=Hb(l.z,"N"+i);if(o){n[l.z]="N"+i;++i;e.push(o+"\n")}}}});e.push(' \n');ir(n).forEach(function(r){e.push('\n')});e.push(" \n");return n};return function n(e,r){var n=[Kr];var i=Rt({"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=Rt({"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");n.push(Ti().replace(//,"").replace(/<\/office:document-meta>/,"")+"\n")}else n.push("\n"); -var f=a(n,e);n.push(" \n");n.push(" \n");if(((e.Workbook||{}).WBProps||{}).date1904)n.push(' \n \n \n');for(var l=0;l!=e.SheetNames.length;++l)n.push(t(e.Sheets[e.SheetNames[l]],e,l,r,f,((e.Workbook||{}).WBProps||{}).date1904));if((e.Workbook||{}).Names)n.push(Vb(e.Workbook.Names,e.SheetNames,-1));n.push(" \n");n.push(" \n");if(r.bookType=="fods")n.push("");else n.push("");return n.join("")}}();function $b(e,r){if(r.bookType=="fods")return Xb(e,r);var t=$r();var a="";var n=[];var i=[];a="mimetype";Xr(t,a,"application/vnd.oasis.opendocument.spreadsheet");a="content.xml";Xr(t,a,Xb(e,r));n.push([a,"text/xml"]);i.push([a,"ContentFile"]);a="styles.xml";Xr(t,a,zb(e,r));n.push([a,"text/xml"]);i.push([a,"StylesFile"]);a="meta.xml";Xr(t,a,Kr+Ti());n.push([a,"text/xml"]);i.push([a,"MetadataFile"]);a="manifest.rdf";Xr(t,a,ki(i));n.push([a,"application/rdf+xml"]);a="META-INF/manifest.xml";Xr(t,a,gi(n));return t}var Gb=function(){try{if(typeof Uint8Array=="undefined")return"slice";if(typeof Uint8Array.prototype.subarray=="undefined")return"slice";if(typeof Buffer!=="undefined"){if(typeof Buffer.prototype.subarray=="undefined")return"slice";if((typeof Buffer.from=="function"?Buffer.from([72,62]):new Buffer([72,62]))instanceof Uint8Array)return"subarray";return"slice"}return"subarray"}catch(e){return"slice"}}();function jb(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function Kb(e){return typeof TextDecoder!="undefined"?(new TextDecoder).decode(e):kt(N(e))}function Yb(e){return typeof TextEncoder!="undefined"?(new TextEncoder).encode(e):R(Tt(e))}function Zb(e){var r=0;for(var t=0;t>1&1431655765;e=(e&858993459)+(e>>2&858993459);return(e+(e>>4)&252645135)*16843009>>>24}function qb(e,r){var t=(e[r+15]&127)<<7|e[r+14]>>1;var a=e[r+14]&1;for(var n=r+13;n>=r;--n)a=a*256+e[n];return(e[r+15]&128?-a:a)*Math.pow(10,t-6176)}function Qb(e,r,t){var a=Math.floor(t==0?0:Math.LOG10E*Math.log(Math.abs(t)))+6176-16;var n=t/Math.pow(10,a-6176);e[r+15]|=a>>7;e[r+14]|=(a&127)<<1;for(var i=0;n>=1;++i,n/=256)e[r+i]=n&255;e[r+15]|=t>=0?0:128}function ew(e,r){var t=r.l;var a=e[t]&127;e:if(e[t++]>=128){a|=(e[t]&127)<<7;if(e[t++]<128)break e;a|=(e[t]&127)<<14;if(e[t++]<128)break e;a|=(e[t]&127)<<21;if(e[t++]<128)break e;a+=(e[t]&127)*Math.pow(2,28);++t;if(e[t++]<128)break e;a+=(e[t]&127)*Math.pow(2,35);++t;if(e[t++]<128)break e;a+=(e[t]&127)*Math.pow(2,42);++t;if(e[t++]<128)break e}r.l=t;return a}function rw(e){var r=new Uint8Array(7);r[0]=e&127;var t=1;e:if(e>127){r[t-1]|=128;r[t]=e>>7&127;++t;if(e<=16383)break e;r[t-1]|=128;r[t]=e>>14&127;++t;if(e<=2097151)break e;r[t-1]|=128;r[t]=e>>21&127;++t;if(e<=268435455)break e;r[t-1]|=128;r[t]=e/256>>>21&127;++t;if(e<=34359738367)break e;r[t-1]|=128;r[t]=e/65536>>>21&127;++t;if(e<=4398046511103)break e;r[t-1]|=128;r[t]=e/16777216>>>21&127;++t}return r[Gb](0,t)}function tw(e){var r={l:0};var t=[];while(r.l=128){t|=(e[r]&127)<<7;if(e[r++]<128)break e;t|=(e[r]&127)<<14;if(e[r++]<128)break e;t|=(e[r]&127)<<21;if(e[r++]<128)break e;t|=(e[r]&127)<<28;a=e[r]>>4&7;if(e[r++]<128)break e;a|=(e[r]&127)<<3;if(e[r++]<128)break e;a|=(e[r]&127)<<10;if(e[r++]<128)break e;a|=(e[r]&127)<<17;if(e[r++]<128)break e;a|=(e[r]&127)<<24;if(e[r++]<128)break e;a|=(e[r]&127)<<31}return[t>>>0,a>>>0]}function sw(e){var r=[],t={l:0};while(t.l=128);s=e[Gb](t.l,f);t.l=f}break;case 1:{s=e[Gb](f,f+8);t.l=f+8}break;case 2:{var l=ew(e,t);s=e[Gb](t.l,t.l+l);t.l+=l}break;case 5:{s=e[Gb](f,f+4);t.l=f+4}break;default:throw new Error("PB Type ".concat(i," for Field ").concat(n," at offset ").concat(a));}var o={data:s,type:i};if(r[n]==null)r[n]=[];r[n].push(o)}return r}function fw(e){var r=[];e.forEach(function(e,t){if(t==0)return;e.forEach(function(e){if(!e.data)return;r.push(rw(t*8+e.type));if(e.type==2)r.push(rw(e.data.length));r.push(e.data)})});return Zb(r)}function lw(e,r){return(e==null?void 0:e.map(function(e){return r(e.data)}))||[]}function ow(e){var r;var t=[],a={l:0};while(a.l>>0>0;t.push(s)}return t}function cw(e){var r=[];e.forEach(function(e){var t=[[],[{data:rw(e.id),type:0}],[]];if(e.merge!=null)t[3]=[{data:rw(+!!e.merge),type:0}];var a=[];e.messages.forEach(function(e){a.push(e.data);e.meta[3]=[{type:0,data:rw(e.data.length)}];t[2].push({data:fw(e.meta),type:2})});var n=fw(t);r.push(rw(n.length));r.push(n);a.forEach(function(e){return r.push(e)})});return Zb(r)}function hw(e,r){if(e!=0)throw new Error("Unexpected Snappy chunk type ".concat(e));var t={l:0};var a=ew(r,t);var n=[];var i=t.l;while(i>2;if(f<60)++f;else{var l=f-59;f=r[i];if(l>1)f|=r[i+1]<<8;if(l>2)f|=r[i+2]<<16;if(l>3)f|=r[i+3]<<24;f>>>=0;f++;i+=l}n.push(r[Gb](i,i+f));i+=f;continue}else{var o=0,c=0;if(s==1){c=(r[i]>>2&7)+4;o=(r[i++]&224)<<3;o|=r[i++]}else{c=(r[i++]>>2)+1;if(s==2){o=r[i]|r[i+1]<<8;i+=2}else{o=(r[i]|r[i+1]<<8|r[i+2]<<16|r[i+3]<<24)>>>0;i+=4}}if(o==0)throw new Error("Invalid offset 0");var h=n.length-1,u=o;while(h>=0&&u>=n[h].length){u-=n[h].length;--h}if(h<0){if(u==0)u=n[h=0].length;else throw new Error("Invalid offset beyond length")}if(c0){n.push(n[h][Gb](n[h].length-u));c-=u}++h;while(c>=n[h].length){n.push(n[h]);c-=n[h].length;++h}if(c)n.push(n[h][Gb](0,c))}if(n.length>25)n=[Zb(n)]}}var d=0;for(var v=0;v>8&255]))}else if(a<=16777216){s+=4;r.push(new Uint8Array([248,a-1&255,a-1>>8&255,a-1>>16&255]))}else if(a<=4294967296){s+=5;r.push(new Uint8Array([252,a-1&255,a-1>>8&255,a-1>>16&255,a-1>>>24&255]))}r.push(e[Gb](t,t+a));s+=a;n[0]=0;n[1]=s&255;n[2]=s>>8&255;n[3]=s>>16&255;t+=a}return Zb(r)}var vw=function(){return{sst:[],rsst:[],ofmt:[],nfmt:[],fmla:[],ferr:[],cmnt:[]}};function pw(e,r,t,a,n){var i,s,f,l;var o=r&255,c=r>>8;var h=c>=5?n:a;e:if(t&(c>4?8:4)&&e.t=="n"&&o==7){var u=((i=h[7])==null?void 0:i[0])?nw(h[7][0].data):-1;if(u==-1)break e;var d=((s=h[15])==null?void 0:s[0])?nw(h[15][0].data):-1;var v=((f=h[16])==null?void 0:f[0])?nw(h[16][0].data):-1;var p=((l=h[40])==null?void 0:l[0])?nw(h[40][0].data):-1;var m=e.v,g=m;r:if(p){if(m==0){d=v=2;break r}if(m>=604800)d=1;else if(m>=86400)d=2;else if(m>=3600)d=4;else if(m>=60)d=8;else if(m>=1)d=16;else d=32;if(Math.floor(m)!=m)v=32;else if(m%60)v=16;else if(m%3600)v=8;else if(m%86400)v=4;else if(m%604800)v=2;if(v=2){g=m/86400;if(v>2){g|=0;m-=86400*g}w.push('d"d"');b.push(g+(u==2?" day"+(g==1?"":"s"):u==1?"d":""))}if(d<=4&&v>=4){g=m/3600;if(v>4){g|=0;m-=3600*g}w.push((d>=4?"[h]":"h")+'"h"');b.push(g+(u==2?" hour"+(g==1?"":"s"):u==1?"h":""))}if(d<=8&&v>=8){g=m/60;if(v>8){g|=0;m-=60*g}w.push((d>=8?"[m]":"m")+'"m"');if(u==0)b.push((d==8&&v==8||g>=10?"":"0")+g);else b.push(g+(u==2?" minute"+(g==1?"":"s"):u==1?"m":""))}if(d<=16&&v>=16){g=m;if(v>16){g|=0;m-=g}w.push((d>=16?"[s]":"s")+'"s"');if(u==0)b.push((v==16&&d==16||g>=10?"":"0")+g);else b.push(g+(u==2?" second"+(g==1?"":"s"):u==1?"s":""))}if(v>=32){g=Math.round(1e3*m);if(d<32)w.push('.000"ms"');if(u==0)b.push((g>=100?"":g>=10?"0":"00")+g);else b.push(g+(u==2?" millisecond"+(g==1?"":"s"):u==1?"ms":""))}e.w=b.join(u==0?":":" ");e.z=w.join(u==0?'":"':" ");if(u==0)e.w=e.w.replace(/:(\d\d\d)$/,".$1")}}function mw(e,r,t,a){var n=jb(e);var i=n.getUint32(4,true);var s=-1,f=-1,l=-1,o=NaN,c=0,h=new Date(Date.UTC(2001,0,1));var u=t>1?12:8;if(i&2){l=n.getUint32(u,true);u+=4}u+=Jb(i&(t>1?3468:396))*4;if(i&512){s=n.getUint32(u,true);u+=4}u+=Jb(i&(t>1?12288:4096))*4;if(i&16){f=n.getUint32(u,true);u+=4}if(i&32){o=n.getFloat64(u,true);u+=8}if(i&64){h.setTime(h.getTime()+(c=n.getFloat64(u,true))*1e3);u+=8}if(t>1){i=n.getUint32(8,true)>>>16;if(i&255){if(l==-1)l=n.getUint32(u,true);u+=4}}var d;var v=e[t>=4?1:2];switch(v){case 0:return void 0;case 2:d={t:"n",v:o};break;case 3:d={t:"s",v:r.sst[f]};break;case 5:{if(a==null?void 0:a.cellDates)d={t:"d",v:h};else d={t:"n",v:c/86400+35430,z:q[14]}}break;case 6:d={t:"b",v:o>0};break;case 7:d={t:"n",v:o};break;case 8:d={t:"e",v:0};break;case 9:{if(s>-1){var p=r.rsst[s];d={t:"s",v:p.v};if(p.l)d.l={Target:p.l}}else throw new Error("Unsupported cell type ".concat(e[Gb](0,4)))}break;default:throw new Error("Unsupported cell type ".concat(e[Gb](0,4)));}if(l>-1)pw(d,v|t<<8,i,r.ofmt[l],r.nfmt[l]);if(v==7)d.v/=86400;return d}function gw(e,r,t){var a=jb(e);var n=a.getUint32(4,true);var i=a.getUint32(8,true);var s=12;var f=-1,l=-1,o=-1,c=NaN,h=NaN,u=0,d=new Date(Date.UTC(2001,0,1)),v=-1,p=-1;if(i&1){c=qb(e,s);s+=16}if(i&2){h=a.getFloat64(s,true);s+=8}if(i&4){d.setTime(d.getTime()+(u=a.getFloat64(s,true))*1e3);s+=8}if(i&8){l=a.getUint32(s,true);s+=4}if(i&16){f=a.getUint32(s,true);s+=4}s+=Jb(i&480)*4;if(i&512){p=a.getUint32(s,true);s+=4}s+=Jb(i&1024)*4;if(i&2048){v=a.getUint32(s,true);s+=4}var m;var g=e[1];switch(g){case 0:m={t:"z"};break;case 2:m={t:"n",v:c};break;case 3:m={t:"s",v:r.sst[l]};break;case 5:{if(t==null?void 0:t.cellDates)m={t:"d",v:d};else m={t:"n",v:u/86400+35430,z:q[14]}}break;case 6:m={t:"b",v:h>0};break;case 7:m={t:"n",v:h};break;case 8:m={t:"e",v:0};break;case 9:{if(f>-1){var b=r.rsst[f];m={t:"s",v:b.v};if(b.l)m.l={Target:b.l}}else throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(i&31," : ").concat(e[Gb](0,4)))}break;case 10:m={t:"n",v:c};break;default:throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(i&31," : ").concat(e[Gb](0,4)));}s+=Jb(i&4096)*4;if(i&516096){if(o==-1)o=a.getUint32(s,true);s+=4}if(i&524288){var w=a.getUint32(s,true);s+=4;if(r.cmnt[w])m.c=Ow(r.cmnt[w])}if(o>-1)pw(m,g|5<<8,i>>13,r.ofmt[o],r.nfmt[o]);if(g==7)m.v/=86400;return m}function bw(e,r){var t=new Uint8Array(32),a=jb(t),n=12,i=0;t[0]=5;switch(e.t){case"n":if(e.z&&Le(e.z)){t[1]=5;a.setFloat64(n,(vr(e.v+1462).getTime()-Date.UTC(2001,0,1))/1e3,true);i|=4;n+=8;break}else{t[1]=2;Qb(t,n,e.v);i|=1;n+=16}break;case"b":t[1]=6;a.setFloat64(n,e.v?1:0,true);i|=2;n+=8;break;case"s":{var s=e.v==null?"":String(e.v);if(e.l){var f=r.rsst.findIndex(function(r){var t;return r.v==s&&r.l==((t=e.l)==null?void 0:t.Target)});if(f==-1)r.rsst[f=r.rsst.length]={v:s,l:e.l.Target};t[1]=9;a.setUint32(n,f,true);i|=16;n+=4}else{var l=r.sst.indexOf(s);if(l==-1)r.sst[l=r.sst.length]=s;t[1]=3;a.setUint32(n,l,true);i|=8;n+=4}}break;case"d":t[1]=5;a.setFloat64(n,(e.v.getTime()-Date.UTC(2001,0,1))/1e3,true);i|=4;n+=8;break;case"z":t[1]=0;break;default:throw"unsupported cell type "+e.t;}if(e.c){r.cmnt.push(Rw(e.c));a.setUint32(n,r.cmnt.length-1,true);i|=524288;n+=4}a.setUint32(8,i,true);return t[Gb](0,n)}function ww(e,r){var t=new Uint8Array(32),a=jb(t),n=12,i=0,s="";t[0]=4;switch(e.t){case"n":break;case"b":break;case"s":{s=e.v==null?"":String(e.v);if(e.l){var f=r.rsst.findIndex(function(r){var t;return r.v==s&&r.l==((t=e.l)==null?void 0:t.Target)});if(f==-1)r.rsst[f=r.rsst.length]={v:s,l:e.l.Target};t[1]=9;a.setUint32(n,f,true);i|=512;n+=4}else{}}break;case"d":break;case"e":break;case"z":break;default:throw"unsupported cell type "+e.t;}if(e.c){a.setUint32(n,r.cmnt.length-1,true);i|=4096;n+=4}switch(e.t){case"n":t[1]=2;a.setFloat64(n,e.v,true);i|=32;n+=8;break;case"b":t[1]=6;a.setFloat64(n,e.v?1:0,true);i|=32;n+=8;break;case"s":{s=e.v==null?"":String(e.v);if(e.l){}else{var l=r.sst.indexOf(s);if(l==-1)r.sst[l=r.sst.length]=s;t[1]=3;a.setUint32(n,l,true);i|=16;n+=4}}break;case"d":t[1]=5;a.setFloat64(n,(e.v.getTime()-Date.UTC(2001,0,1))/1e3,true);i|=64;n+=8;break;case"z":t[1]=0;break;default:throw"unsupported cell type "+e.t;}a.setUint32(8,i,true);return t[Gb](0,n)}function kw(e,r,t){switch(e[0]){case 0:;case 1:;case 2:;case 3:;case 4:return mw(e,r,e[0],t);case 5:return gw(e,r,t);default:throw new Error("Unsupported payload version ".concat(e[0]));}}function Tw(e){var r=sw(e);return nw(r[1][0].data)}function Aw(e){return fw([[],[{type:0,data:rw(e)}]])}function yw(e,r){var t;var a=((t=e.messages[0].meta[5])==null?void 0:t[0])?tw(e.messages[0].meta[5][0].data):[];var n=a.indexOf(r);if(n==-1){a.push(r);e.messages[0].meta[5]=[{type:2,data:aw(a)}]}}function Ew(e,r){var t;var a=((t=e.messages[0].meta[5])==null?void 0:t[0])?tw(e.messages[0].meta[5][0].data):[];e.messages[0].meta[5]=[{type:2,data:aw(a.filter(function(e){return e!=r}))}]}function Cw(e,r){var t=sw(r.data);var a=nw(t[1][0].data);var n=t[3];var i=[];(n||[]).forEach(function(r){var t,n;var s=sw(r.data);if(!s[1])return;var f=nw(s[1][0].data)>>>0;switch(a){case 1:i[f]=Kb(s[3][0].data);break;case 8:{var l=e[Tw(s[9][0].data)][0];var o=sw(l.data);var c=e[Tw(o[1][0].data)][0];var h=nw(c.meta[1][0].data);if(h!=2001)throw new Error("2000 unexpected reference to ".concat(h));var u=sw(c.data);var d={v:u[3].map(function(e){return Kb(e.data)}).join("")};i[f]=d;e:if((t=u==null?void 0:u[11])==null?void 0:t[0]){var v=(n=sw(u[11][0].data))==null?void 0:n[1];if(!v)break e;v.forEach(function(r){var t,a,n;var i=sw(r.data);if((t=i[2])==null?void 0:t[0]){var s=e[Tw((a=i[2])==null?void 0:a[0].data)][0];var f=nw(s.meta[1][0].data);switch(f){case 2032:var l=sw(s.data);if(((n=l==null?void 0:l[2])==null?void 0:n[0])&&!d.l)d.l=Kb(l[2][0].data);break;case 2039:break;default:console.log("unrecognized ObjectAttribute type ".concat(f));}}})}}break;case 2:i[f]=sw(s[6][0].data);break;case 3:i[f]=sw(s[5][0].data);break;case 10:{var p=e[Tw(s[10][0].data)][0];i[f]=xw(e,p.data)}break;default:throw a;}});return i}function _w(e,r){var t,a,n,i,s,f,l,o,c,h,u,d,v,p;var m=sw(e);var g=nw(m[1][0].data)>>>0;var b=nw(m[2][0].data)>>>0;var w=((a=(t=m[8])==null?void 0:t[0])==null?void 0:a.data)&&nw(m[8][0].data)>0||false;var k,T;if(((i=(n=m[7])==null?void 0:n[0])==null?void 0:i.data)&&r!=0){k=(f=(s=m[7])==null?void 0:s[0])==null?void 0:f.data;T=(o=(l=m[6])==null?void 0:l[0])==null?void 0:o.data}else if(((h=(c=m[4])==null?void 0:c[0])==null?void 0:h.data)&&r!=1){k=(d=(u=m[4])==null?void 0:u[0])==null?void 0:d.data;T=(p=(v=m[3])==null?void 0:v[0])==null?void 0:p.data}else throw"NUMBERS Tile missing ".concat(r," cell storage");var A=w?4:1;var y=jb(k);var E=[];for(var C=0;C=1)S[E[E.length-1][0]]=T[Gb](E[E.length-1][1]*A);return{R:g,cells:S}}function Sw(e,r){var t;var a=sw(r.data);var n=-1;if((t=a==null?void 0:a[7])==null?void 0:t[0]){if(nw(a[7][0].data)>>>0)n=1;else n=0}var i=lw(a[5],function(e){return _w(e,n)});return{nrows:nw(a[4][0].data)>>>0,data:i.reduce(function(e,r){if(!e[r.R])e[r.R]=[];r.cells.forEach(function(t,a){if(e[r.R][a])throw new Error("Duplicate cell r=".concat(r.R," c=").concat(a));e[r.R][a]=t});return e},[])}}function xw(e,r){var t,a,n,i,s,f,l,o,c,h;var u={t:"",a:""};var d=sw(r);if((a=(t=d==null?void 0:d[1])==null?void 0:t[0])==null?void 0:a.data)u.t=Kb((i=(n=d==null?void 0:d[1])==null?void 0:n[0])==null?void 0:i.data)||"";if((f=(s=d==null?void 0:d[3])==null?void 0:s[0])==null?void 0:f.data){var v=e[Tw((o=(l=d==null?void 0:d[3])==null?void 0:l[0])==null?void 0:o.data)][0];var p=sw(v.data);if((h=(c=p[1])==null?void 0:c[0])==null?void 0:h.data)u.a=Kb(p[1][0].data)}if(d==null?void 0:d[4]){u.replies=[];d[4].forEach(function(r){var t=e[Tw(r.data)][0];u.replies.push(xw(e,t.data))})}return u}function Ow(e){var r=[];r.push({t:e.t||"",a:e.a,T:e.replies&&e.replies.length>0});if(e.replies)e.replies.forEach(function(e){r.push({t:e.t||"",a:e.a,T:true})});return r}function Rw(e){var r={a:"",t:"",replies:[]};for(var t=0;t>>0)-1;if(p.e.r<0)throw new Error("Invalid row varint ".concat(v[6][0].data));p.e.c=(nw(v[7][0].data)>>>0)-1;if(p.e.c<0)throw new Error("Invalid col varint ".concat(v[7][0].data));t["!ref"]=Va(p);var m=t["!data"]!=null,g=t;var b=sw(v[4][0].data);var w=vw();if((n=b[4])==null?void 0:n[0])w.sst=Cw(e,e[Tw(b[4][0].data)][0]);if((i=b[6])==null?void 0:i[0])w.fmla=Cw(e,e[Tw(b[6][0].data)][0]);if((s=b[11])==null?void 0:s[0])w.ofmt=Cw(e,e[Tw(b[11][0].data)][0]);if((f=b[12])==null?void 0:f[0])w.ferr=Cw(e,e[Tw(b[12][0].data)][0]);if((l=b[17])==null?void 0:l[0])w.rsst=Cw(e,e[Tw(b[17][0].data)][0]);if((o=b[19])==null?void 0:o[0])w.cmnt=Cw(e,e[Tw(b[19][0].data)][0]);if((c=b[22])==null?void 0:c[0])w.nfmt=Cw(e,e[Tw(b[22][0].data)][0]);var k=sw(b[3][0].data);var T=0;if(!((h=b[9])==null?void 0:h[0]))throw"NUMBERS file missing row tree";var A=sw(b[9][0].data)[1].map(function(e){return sw(e.data)});A.forEach(function(r){T=nw(r[1][0].data);var n=nw(r[2][0].data);var i=k[1][n];if(!i)throw"NUMBERS missing tile "+n;var s=sw(i.data);var f=e[Tw(s[2][0].data)][0];var l=nw(f.meta[1][0].data);if(l!=6002)throw new Error("6001 unexpected reference to ".concat(l));var o=Sw(e,f);o.data.forEach(function(e,r){e.forEach(function(e,n){var i=kw(e,w,a);if(i){if(m){if(!g["!data"][T+r])g["!data"][T+r]=[];g["!data"][T+r][n]=i}else{t[La(n)+Na(T+r)]=i}}})});T+=o.nrows});if((u=b[13])==null?void 0:u[0]){var y=e[Tw(b[13][0].data)][0];var E=nw(y.meta[1][0].data);if(E!=6144)throw new Error("Expected merge type 6144, found ".concat(E));t["!merges"]=(d=sw(y.data))==null?void 0:d[1].map(function(e){var r=sw(e.data);var t=jb(sw(r[1][0].data)[1][0].data),a=jb(sw(r[2][0].data)[1][0].data);return{s:{r:t.getUint16(0,true),c:t.getUint16(2,true)},e:{r:t.getUint16(0,true)+a.getUint16(0,true)-1,c:t.getUint16(2,true)+a.getUint16(2,true)-1}}})}}function Nw(e,r,t){var a=sw(r.data);var n={"!ref":"A1"};if(t==null?void 0:t.dense)n["!data"]=[];var i=e[Tw(a[2][0].data)];var s=nw(i[0].meta[1][0].data);if(s!=6001)throw new Error("6000 unexpected reference to ".concat(s));Iw(e,i[0],n,t);return n}function Fw(e,r,t){var a;var n=sw(r.data);var i={name:((a=n[1])==null?void 0:a[0])?Kb(n[1][0].data):"",sheets:[]};var s=lw(n[2],Tw);s.forEach(function(r){e[r].forEach(function(r){var a=nw(r.meta[1][0].data);if(a==6e3)i.sheets.push(Nw(e,r,t))})});return i}function Dw(e,r,t){var a;var n=jk();n.Workbook={WBProps:{date1904:true}};var i=sw(r.data);if((a=i[2])==null?void 0:a[0])throw new Error("Keynote presentations are not supported");var s=lw(i[1],Tw);s.forEach(function(r){e[r].forEach(function(r){var a=nw(r.meta[1][0].data);if(a==2){var i=Fw(e,r,t);i.sheets.forEach(function(e,r){Kk(n,e,r==0?i.name:i.name+"_"+r,true)})}})});if(n.SheetNames.length==0)throw new Error("Empty NUMBERS file");n.bookType="numbers";return n}function Pw(e,r){var t,a,n,i,s,f,l;var o={},c=[];e.FullPaths.forEach(function(e){if(e.match(/\.iwpv2/))throw new Error("Unsupported password protection")});e.FileIndex.forEach(function(e){if(!e.name.match(/\.iwa$/))return;if(e.content[0]!=0)return;var r;try{r=uw(e.content)}catch(t){return console.log("?? "+e.content.length+" "+(t.message||t))}var a;try{a=ow(r)}catch(t){return console.log("## "+(t.message||t))}a.forEach(function(e){o[e.id]=e.messages;c.push(e.id)})});if(!c.length)throw new Error("File has no messages");if(((n=(a=(t=o==null?void 0:o[1])==null?void 0:t[0].meta)==null?void 0:a[1])==null?void 0:n[0].data)&&nw(o[1][0].meta[1][0].data)==1e4)throw new Error("Pages documents are not supported");var h=((l=(f=(s=(i=o==null?void 0:o[1])==null?void 0:i[0])==null?void 0:s.meta)==null?void 0:f[1])==null?void 0:l[0].data)&&nw(o[1][0].meta[1][0].data)==1&&o[1][0];if(!h)c.forEach(function(e){o[e].forEach(function(e){var r=nw(e.meta[1][0].data)>>>0;if(r==1){if(!h)h=e;else throw new Error("Document has multiple roots")}})});if(!h)throw new Error("Cannot find Document root");return Dw(o,h,r)}function Lw(e,r,t){var a,n,i;var s=[[],[{type:0,data:rw(0)}],[{type:0,data:rw(0)}],[{type:2,data:new Uint8Array([])}],[{type:2,data:new Uint8Array(Array.from({length:510},function(){return 255}))}],[{type:0,data:rw(5)}],[{type:2,data:new Uint8Array([])}],[{type:2,data:new Uint8Array(Array.from({length:510},function(){return 255}))}],[{type:0,data:rw(1)}]];if(!((a=s[6])==null?void 0:a[0])||!((n=s[7])==null?void 0:n[0]))throw"Mutation only works on post-BNC storages!";var f=0;if(s[7][0].data.length<2*e.length){var l=new Uint8Array(2*e.length);l.set(s[7][0].data);s[7][0].data=l}if(s[4][0].data.length<2*e.length){var o=new Uint8Array(2*e.length);o.set(s[4][0].data);s[4][0].data=o}var c=jb(s[7][0].data),h=0,u=[];var d=jb(s[4][0].data),v=0,p=[];var m=t?4:1;for(var g=0;g1)throw new Error("Template NUMBERS file must have exactly one sheet");e.SheetNames.forEach(function(r,s){if(s>=1){Yw(t,a,s+1);n=Xw(t,a,1);i=lw(sw(n.messages[0].data)[1],Tw)}Zw(t,a,e.Sheets[r],r,s,i[s])});return t}function Vw(e,r,t,a){var n=Qe.find(e,r[t].location);if(!n)throw"Could not find ".concat(r[t].location," in Numbers template");var i=ow(uw(n.content));var s=i.find(function(e){return e.id==t});a(s,i);n.content=dw(cw(i));n.size=n.content.length}function Xw(e,r,t){var a=Qe.find(e,r[t].location);if(!a)throw"Could not find ".concat(r[t].location," in Numbers template");var n=ow(uw(a.content));var i=n.find(function(e){return e.id==t});return i}function $w(e,r,t){e[3].push({type:2,data:fw([[],[{type:0,data:rw(r)}],[{type:2,data:Yb(t.replace(/-.*$/,""))}],[{type:2,data:Yb(t)}],[{type:2,data:new Uint8Array([2,0,0])}],[{type:2,data:new Uint8Array([2,0,0])}],[],[],[],[],[{type:0,data:rw(0)}],[],[{type:0,data:rw(0)}]])});e[1]=[{type:0,data:rw(Math.max(r+1,nw(e[1][0].data)))}]}function Gw(e,r,t,a,n,i){if(!i)i=Uw({deps:[],location:"",type:r},n);var s="".concat(a,"-").concat(i,".iwa");n[i].location="Root Entry"+s;Qe.utils.cfb_add(e,s,dw(cw([{id:i,messages:[Mw(r,fw(t))]}])));var f=s.replace(/^[\/]/,"").replace(/^Index\//,"").replace(/\.iwa$/,"");Vw(e,n,2,function(e){var r=sw(e.messages[0].data);$w(r,i||0,f);e.messages[0].data=fw(r)});return i}function jw(e,r,t,a){var n=r[t].location.replace(/^Root Entry\//,"").replace(/^Index\//,"").replace(/\.iwa$/,"");var i=e[3].findIndex(function(e){var r,t;var a=sw(e.data);if((r=a[3])==null?void 0:r[0])return Kb(a[3][0].data)==n;if(((t=a[2])==null?void 0:t[0])&&Kb(a[2][0].data)==n)return true;return false});var s=sw(e[3][i].data);if(!s[6])s[6]=[];(Array.isArray(a)?a:[a]).forEach(function(e){s[6].push({type:2,data:fw([[],[{type:0,data:rw(e)}]])})});e[3][i].data=fw(s)}function Kw(e,r,t,a){var n=r[t].location.replace(/^Root Entry\//,"").replace(/^Index\//,"").replace(/\.iwa$/,"");var i=e[3].findIndex(function(e){var r,t;var a=sw(e.data);if((r=a[3])==null?void 0:r[0])return Kb(a[3][0].data)==n;if(((t=a[2])==null?void 0:t[0])&&Kb(a[2][0].data)==n)return true;return false});var s=sw(e[3][i].data);if(!s[6])s[6]=[];s[6]=s[6].filter(function(e){return nw(sw(e.data)[1][0].data)!=a});e[3][i].data=fw(s)}function Yw(e,r,t){var a=-1,n=-1;var i={};Vw(e,r,1,function(t,s){var f=sw(t.messages[0].data);a=Tw(sw(t.messages[0].data)[1][0].data);n=Uw({deps:[1],location:r[a].location,type:2},r);i[a]=n;yw(t,n);f[1].push({type:2,data:Aw(n)});var l=Xw(e,r,a);l.id=n;if(r[1].location==r[n].location)s.push(l);else Vw(e,r,n,function(e,r){return r.push(l)});t.messages[0].data=fw(f)});var s=-1;Vw(e,r,n,function(t,a){var f=sw(t.messages[0].data);for(var l=3;l<=69;++l)delete f[l];var o=lw(f[2],Tw);o.forEach(function(e){return Ew(t,e)});s=Uw({deps:[n],location:r[o[0]].location,type:r[o[0]].type},r);yw(t,s);i[o[0]]=s;f[2]=[{type:2,data:Aw(s)}];var c=Xw(e,r,o[0]);c.id=s;if(r[o[0]].location==r[n].location)a.push(c);else{Vw(e,r,2,function(e){var t=sw(e.messages[0].data);jw(t,r,n,s);e.messages[0].data=fw(t)});Vw(e,r,s,function(e,r){return r.push(c)})}t.messages[0].data=fw(f)});var f=-1;Vw(e,r,s,function(t,a){var n=sw(t.messages[0].data);var l=sw(n[1][0].data);for(var o=3;o<=69;++o)delete l[o];var c=Tw(l[2][0].data);l[2][0].data=Aw(i[c]);n[1][0].data=fw(l);var h=Tw(n[2][0].data);Ew(t,h);f=Uw({deps:[s],location:r[h].location,type:r[h].type},r);yw(t,f);i[h]=f;n[2][0].data=Aw(f);var u=Xw(e,r,h);u.id=f;if(r[s].location==r[f].location)a.push(u);else Vw(e,r,f,function(e,r){return r.push(u)});t.messages[0].data=fw(n)});Vw(e,r,f,function(a,n){var s,l;var o=sw(a.messages[0].data);var c=Kb(o[1][0].data),h=c.replace(/-[A-Z0-9]*/,"-".concat(("0000"+t.toString(16)).slice(-4)));o[1][0].data=Yb(h);[12,13,29,31,32,33,39,44,47,81,82,84].forEach(function(e){return delete o[e]});if(o[45]){var u=sw(o[45][0].data);var d=Tw(u[1][0].data);Ew(a,d);delete o[45]}if(o[70]){var v=sw(o[70][0].data);(s=v[2])==null?void 0:s.forEach(function(e){var r=sw(e.data);[2,3].map(function(e){return r[e][0]}).forEach(function(e){var r=sw(e.data);if(!r[8])return;var t=Tw(r[8][0].data);Ew(a,t)})});delete o[70]}[46,30,34,35,36,38,48,49,60,61,62,63,64,71,72,73,74,75,85,86,87,88,89].forEach(function(e){if(!o[e])return;var r=Tw(o[e][0].data);delete o[e];Ew(a,r)});var p=sw(o[4][0].data);{[2,4,5,6,11,12,13,15,16,17,18,19,20,21,22].forEach(function(t){var s;if(!((s=p[t])==null?void 0:s[0]))return;var l=Tw(p[t][0].data);var o=Uw({deps:[f],location:r[l].location,type:r[l].type},r);Ew(a,l);yw(a,o);i[l]=o;var c=Xw(e,r,l);c.id=o;if(r[l].location==r[f].location)n.push(c);else{r[o].location=r[l].location.replace(l.toString(),o.toString());if(r[o].location==r[l].location)r[o].location=r[o].location.replace(/\.iwa/,"-".concat(o,".iwa"));Qe.utils.cfb_add(e,r[o].location,dw(cw([c])));var h=r[o].location.replace(/^Root Entry\//,"").replace(/^Index\//,"").replace(/\.iwa$/,"");Vw(e,r,2,function(e){var t=sw(e.messages[0].data);$w(t,o,h);jw(t,r,f,o);e.messages[0].data=fw(t)})}p[t][0].data=Aw(o)});var m=sw(p[1][0].data);{(l=m[2])==null?void 0:l.forEach(function(t){var s=Tw(t.data);var l=Uw({deps:[f],location:r[s].location,type:r[s].type},r);Ew(a,s);yw(a,l);i[s]=l;var o=Xw(e,r,s);o.id=l;if(r[s].location==r[f].location){n.push(o)}else{r[l].location=r[s].location.replace(s.toString(),l.toString());if(r[l].location==r[s].location)r[l].location=r[l].location.replace(/\.iwa/,"-".concat(l,".iwa"));Qe.utils.cfb_add(e,r[l].location,dw(cw([o])));var c=r[l].location.replace(/^Root Entry\//,"").replace(/^Index\//,"").replace(/\.iwa$/,"");Vw(e,r,2,function(e){var t=sw(e.messages[0].data);$w(t,l,c);jw(t,r,f,l);e.messages[0].data=fw(t)})}t.data=Aw(l)})}p[1][0].data=fw(m);var g=sw(p[3][0].data);{g[1].forEach(function(t){var n=sw(t.data);var s=Tw(n[2][0].data);var l=i[s];if(!i[s]){l=Uw({deps:[f],location:"",type:r[s].type},r);r[l].location="Root Entry/Index/Tables/Tile-".concat(l,".iwa");i[s]=l;var o=Xw(e,r,s);o.id=l;Ew(a,s);yw(a,l);Qe.utils.cfb_add(e,"/Index/Tables/Tile-".concat(l,".iwa"),dw(cw([o])));Vw(e,r,2,function(e){var t=sw(e.messages[0].data);t[3].push({type:2,data:fw([[],[{type:0,data:rw(l)}],[{type:2,data:Yb("Tables/Tile")}],[{type:2,data:Yb("Tables/Tile-".concat(l))}],[{type:2,data:new Uint8Array([2,0,0])}],[{type:2,data:new Uint8Array([2,0,0])}],[],[],[],[],[{type:0,data:rw(0)}],[],[{type:0,data:rw(0)}]])});t[1]=[{type:0,data:rw(Math.max(l+1,nw(t[1][0].data)))}];jw(t,r,f,l);e.messages[0].data=fw(t)})}n[2][0].data=Aw(l);t.data=fw(n)})}p[3][0].data=fw(g)}o[4][0].data=fw(p);a.messages[0].data=fw(o)})}function Zw(e,r,t,a,n,i){var s=[];Vw(e,r,i,function(e){var r=sw(e.messages[0].data);{r[1]=[{type:2,data:Yb(a)}];s=lw(r[2],Tw)}e.messages[0].data=fw(r)});var f=Xw(e,r,s[0]);var l=Tw(sw(f.messages[0].data)[2][0].data);Vw(e,r,l,function(a,n){return qw(e,r,t,a,n,l)})}var Jw=true;function qw(e,r,t,a,n,i){if(!t["!ref"])throw new Error("Cannot export empty sheet to NUMBERS");var s=Ha(t["!ref"]);s.s.r=s.s.c=0;var f=false;if(s.e.c>999){f=true;s.e.c=999}if(s.e.r>999999){f=true;s.e.r=999999}if(f)console.error("Truncating to ".concat(Va(s)));var l=[];if(t["!data"])l=t["!data"];else{var o=[];for(var c=0;c<=s.e.c;++c)o[c]=La(c);for(var h=0;h<=s.e.r;++h){l[h]=[];var u=""+(h+1);for(c=0;c<=s.e.c;++c){ -var d=t[o[c]+u];if(!d)continue;l[h][c]=d}}}var v={cmnt:[{a:"~54ee77S~",t:"... the people who are crazy enough to think they can change the world, are the ones who do."}],ferr:[],fmla:[],nfmt:[],ofmt:[],rsst:[{v:"~54ee77S~",l:"https://sheetjs.com/"}],sst:["~Sh33tJ5~"]};var p=sw(a.messages[0].data);{p[6][0].data=rw(s.e.r+1);p[7][0].data=rw(s.e.c+1);delete p[46];var m=sw(p[4][0].data);{var g=Tw(sw(m[1][0].data)[2][0].data);Vw(e,r,g,function(e,r){var t;var a=sw(e.messages[0].data);if((t=a==null?void 0:a[2])==null?void 0:t[0])for(var n=0;n1){var P=Tw(m[19][0].data);var L={},M=0;Vw(e,r,P,function(t){var a=sw(t.messages[0].data);{a[3]=[];v.cmnt.forEach(function(n,i){if(i==0)return;var s=[];if(n.replies)n.replies.forEach(function(t){if(!L[t.a||""])L[t.a||""]=Gw(e,212,[[],[{type:2,data:Yb(t.a||"")}],[{type:2,data:zw(++M)}],[],[{type:0,data:rw(0)}]],"/Index/Tables/DataList",r);var a=L[t.a||""];var n=Gw(e,3056,[[],[{type:2,data:Yb(t.t||"")}],[{type:2,data:fw([[],[{type:1,data:new Uint8Array([0,0,0,128,116,109,182,65])}]])}],[{type:2,data:Aw(a)}]],"/Index/Tables/DataList",r);Vw(e,r,n,function(e){return yw(e,a)});s.push(n);Vw(e,r,2,function(e){var t=sw(e.messages[0].data);jw(t,r,n,a);e.messages[0].data=fw(t)})});if(!L[n.a||""])L[n.a||""]=Gw(e,212,[[],[{type:2,data:Yb(n.a||"")}],[{type:2,data:zw(++M)}],[],[{type:0,data:rw(0)}]],"/Index/Tables/DataList",r);var f=L[n.a||""];var l=Gw(e,3056,[[],[{type:2,data:Yb(n.t||"")}],[{type:2,data:fw([[],[{type:1,data:new Uint8Array([0,0,0,128,116,109,182,65])}]])}],[{type:2,data:Aw(f)}],s.map(function(e){return{type:2,data:Aw(e)}}),[{type:2,data:fw([[],[{type:0,data:rw(i)}],[{type:0,data:rw(0)}]])}]],"/Index/Tables/DataList",r);Vw(e,r,l,function(e){yw(e,f);s.forEach(function(r){return yw(e,r)})});a[3].push({type:2,data:fw([[],[{type:0,data:rw(i)}],[{type:0,data:rw(1)}],[],[],[],[],[],[],[],[{type:2,data:Aw(l)}]])});yw(t,l);Vw(e,r,2,function(e){var t=sw(e.messages[0].data);jw(t,r,P,l);jw(t,r,l,f);if(s.length)jw(t,r,l,s);e.messages[0].data=fw(t)})})}a[2][0].data=rw(v.cmnt.length+1);t.messages[0].data=fw(a)})}}p[4][0].data=fw(m)}a.messages[0].data=fw(p)}function Qw(e){return function r(t){for(var a=0;a!=e.length;++a){var n=e[a];if(t[n[0]]===undefined)t[n[0]]=n[1];if(n[2]==="n")t[n[0]]=Number(t[n[0]])}}}function ek(e){Qw([["cellNF",false],["cellHTML",true],["cellFormula",true],["cellStyles",false],["cellText",true],["cellDates",false],["sheetStubs",false],["sheetRows",0,"n"],["bookDeps",false],["bookSheets",false],["bookProps",false],["bookFiles",false],["bookVBA",false],["password",""],["WTF",false]])(e)}function rk(e){Qw([["cellDates",false],["bookSST",false],["bookType","xlsx"],["compression",false],["WTF",false]])(e)}function tk(e){if(ci.WS.indexOf(e)>-1)return"sheet";if(ci.CS&&e==ci.CS)return"chart";if(ci.DS&&e==ci.DS)return"dialog";if(ci.MS&&e==ci.MS)return"macro";return e&&e.length?e:"sheet"}function ak(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,tk(e["!id"][r.id].Type)]})}catch(t){return null}return!e||e.length===0?null:e}function nk(e,r,t,a,n,i,s,f){if(!e||!e["!legdrawel"])return;var l=jr(e["!legdrawel"].Target,a);var o=zr(t,l,true);if(o)Ih(kt(o),e,f||[])}function ik(e,r,t,a,n,i,s,f,l,o,c,h){try{i[a]=ui(zr(e,t,true),r);var u=Wr(e,r);var d;switch(f){case"sheet":d=ig(u,r,n,l,i[a],o,c,h);break;case"chart":d=sg(u,r,n,l,i[a],o,c,h);if(!d||!d["!drawel"])break;var v=jr(d["!drawel"].Target,r);var p=hi(v);var m=Oh(zr(e,v,true),ui(zr(e,p,true),v));var g=jr(m,v);var b=hi(g);d=ym(zr(e,g,true),g,l,ui(zr(e,b,true),g),o,d);break;case"macro":d=fg(u,r,n,l,i[a],o,c,h);break;case"dialog":d=lg(u,r,n,l,i[a],o,c,h);break;default:throw new Error("Unrecognized sheet type "+f);}s[a]=d;var w=[],k=[];if(i&&i[a])ir(i[a]).forEach(function(t){var n="";if(i[a][t].Type==ci.CMNT){n=jr(i[a][t].Target,r);w=hg(Wr(e,n,true),n,l);if(!w||!w.length)return;Dh(d,w,false)}if(i[a][t].Type==ci.TCMNT){n=jr(i[a][t].Target,r);k=k.concat(Mh(Wr(e,n,true),l))}});if(k&&k.length)Dh(d,k,true,l.people||[]);nk(d,f,e,r,n,l,o,w)}catch(T){if(l.WTF)throw T}}function sk(e){return e.charAt(0)=="/"?e.slice(1):e}function fk(e,r){Xe();r=r||{};ek(r);if(Ur(e,"META-INF/manifest.xml"))return Bb(e,r);if(Ur(e,"objectdata.xml"))return Bb(e,r);if(Ur(e,"Index/Document.iwa")){if(typeof Uint8Array=="undefined")throw new Error("NUMBERS file parsing requires Uint8Array support");if(typeof Pw!="undefined"){if(e.FileIndex)return Pw(e,r);var t=Qe.utils.cfb_new();Vr(e).forEach(function(r){Xr(t,r,Hr(e,r))});return Pw(t,r)}throw new Error("Unsupported NUMBERS file")}if(!Ur(e,"[Content_Types].xml")){if(Ur(e,"index.xml.gz"))throw new Error("Unsupported NUMBERS 08 file");if(Ur(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");var a=Qe.find(e,"Index.zip");if(a){r=Tr(r);delete r.type;if(typeof a.content=="string")r.type="binary";if(typeof Bun!=="undefined"&&Buffer.isBuffer(a.content))return wk(new Uint8Array(a.content),r);return wk(a.content,r)}throw new Error("Unsupported ZIP file")}var n=Vr(e);var i=li(zr(e,"[Content_Types].xml"));var s=false;var f,l;if(i.workbooks.length===0){l="xl/workbook.xml";if(Wr(e,l,true))i.workbooks.push(l)}if(i.workbooks.length===0){l="xl/workbook.bin";if(!Wr(e,l,true))throw new Error("Could not find workbook");i.workbooks.push(l);s=true}if(i.workbooks[0].slice(-3)=="bin")s=true;var o={};var c={};if(!r.bookSheets&&!r.bookProps){mv=[];if(i.sst)try{mv=cg(Wr(e,sk(i.sst)),i.sst,r)}catch(h){if(r.WTF)throw h}if(r.cellStyles&&i.themes.length)o=ah(zr(e,i.themes[0].replace(/^\//,""),true)||"",r);if(i.style)c=og(Wr(e,sk(i.style)),i.style,o,r)}i.links.map(function(t){try{var a=ui(zr(e,hi(sk(t))),t);return dg(Wr(e,sk(t)),a,t,r)}catch(n){}});var u=ng(Wr(e,sk(i.workbooks[0])),i.workbooks[0],r);var d={},v="";if(i.coreprops.length){v=Wr(e,sk(i.coreprops[0]),true);if(v)d=Ei(v);if(i.extprops.length!==0){v=Wr(e,sk(i.extprops[0]),true);if(v)Ri(v,d,r)}}var p={};if(!r.bookSheets||r.bookProps){if(i.custprops.length!==0){v=zr(e,sk(i.custprops[0]),true);if(v)p=Fi(v,r)}}var m={};if(r.bookSheets||r.bookProps){if(u.Sheets)f=u.Sheets.map(function N(e){return e.name});else if(d.Worksheets&&d.SheetNames.length>0)f=d.SheetNames;if(r.bookProps){m.Props=d;m.Custprops=p}if(r.bookSheets&&typeof f!=="undefined")m.SheetNames=f;if(r.bookSheets?m.SheetNames:r.bookProps)return m}f={};var g={};if(r.bookDeps&&i.calcchain)g=ug(Wr(e,sk(i.calcchain)),i.calcchain,r);var b=0;var w={};var k,T;{var A=u.Sheets;d.Worksheets=A.length;d.SheetNames=[];for(var y=0;y!=A.length;++y){d.SheetNames[y]=A[y].name}}var E=s?"bin":"xml";var C=i.workbooks[0].lastIndexOf("/");var _=(i.workbooks[0].slice(0,C+1)+"_rels/"+i.workbooks[0].slice(C+1)+".rels").replace(/^\//,"");if(!Ur(e,_))_="xl/_rels/workbook."+E+".rels";var S=ui(zr(e,_,true),_.replace(/_rels.*/,"s5s"));if((i.metadata||[]).length>=1){r.xlmeta=vg(Wr(e,sk(i.metadata[0])),i.metadata[0],r)}if((i.people||[]).length>=1){r.people=Bh(Wr(e,sk(i.people[0])),r)}if(S)S=ak(S,u.Sheets);var x=Wr(e,"xl/worksheets/sheet.xml",true)?1:0;e:for(b=0;b!=d.Worksheets;++b){var O="sheet";if(S&&S[b]){k="xl/"+S[b][1].replace(/[\/]?xl\//,"");if(!Ur(e,k))k=S[b][1];if(!Ur(e,k))k=_.replace(/_rels\/.*$/,"")+S[b][1];O=S[b][2]}else{k="xl/worksheets/sheet"+(b+1-x)+"."+E;k=k.replace(/sheet0\./,"sheet.")}T=k.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels");if(r&&r.sheets!=null)switch(typeof r.sheets){case"number":if(b!=r.sheets)continue e;break;case"string":if(d.SheetNames[b].toLowerCase()!=r.sheets.toLowerCase())continue e;break;default:if(Array.isArray&&Array.isArray(r.sheets)){var R=false;for(var I=0;I!=r.sheets.length;++I){if(typeof r.sheets[I]=="number"&&r.sheets[I]==b)R=1;if(typeof r.sheets[I]=="string"&&r.sheets[I].toLowerCase()==d.SheetNames[b].toLowerCase())R=1}if(!R)continue e};}ik(e,k,T,d.SheetNames[b],b,w,f,O,r,u,o,c)}m={Directory:i,Workbook:u,Props:d,Custprops:p,Deps:g,Sheets:f,SheetNames:d.SheetNames,Strings:mv,Styles:c,Themes:o,SSF:Tr(q)};if(r&&r.bookFiles){if(e.files){m.keys=n;m.files=e.files}else{m.keys=[];m.files={};e.FullPaths.forEach(function(r,t){r=r.replace(/^Root Entry[\/]/,"");m.keys.push(r);m.files[r]=e.FileIndex[t]})}}if(r&&r.bookVBA){if(i.vba.length>0)m.vbaraw=Wr(e,sk(i.vba[0]),true);else if(i.defaults&&i.defaults.bin===jh)m.vbaraw=Wr(e,"xl/vbaProject.bin",true)}m.bookType=s?"xlsb":"xlsx";return m}function lk(e,r){var t=r||{};var a="Workbook",n=Qe.find(e,a);try{a="/!DataSpaces/Version";n=Qe.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);wo(n.content);a="/!DataSpaces/DataSpaceMap";n=Qe.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var i=To(n.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 "+a);a="/!DataSpaces/DataSpaceInfo/StrongEncryptionDataSpace";n=Qe.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var s=Ao(n.content);if(s.length!=1||s[0]!="StrongEncryptionTransform")throw new Error("ECMA-376 Encrypted file bad "+a);a="/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary";n=Qe.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);Eo(n.content)}catch(f){}a="/EncryptionInfo";n=Qe.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var l=So(n.content);a="/EncryptedPackage";n=Qe.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);if(l[0]==4&&typeof decrypt_agile!=="undefined")return decrypt_agile(l[1],n.content,t.password||"",t);if(l[0]==2&&typeof decrypt_std76!=="undefined")return decrypt_std76(l[1],n.content,t.password||"",t);throw new Error("File is password-protected")}function ok(e,r){if(e&&!e.SSF){e.SSF=Tr(q)}if(e&&e.SSF){Xe();Ve(e.SSF);r.revssf=lr(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;if(bv)r.revStrings=new Map;else{r.revStrings={};r.revStrings.foo=[];delete r.revStrings.foo}var t="bin";var a=true;var n=fi();rk(r=r||{});var i=$r();var s="",f=0;r.cellXfs=[];Av(r.cellXfs,{},{revssf:{General:0}});if(!e.Props)e.Props={};s="docProps/core.xml";Xr(i,s,_i(e.Props,r));n.coreprops.push(s);vi(r.rels,2,s,ci.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{var l=[];for(var o=0;o0){s="docProps/custom.xml";Xr(i,s,Di(e.Custprops,r));n.custprops.push(s);vi(r.rels,4,s,ci.CUST_PROPS)}var c=["SheetJ5"];r.tcid=0;for(f=1;f<=e.SheetNames.length;++f){var h={"!id":{}};var u=e.Sheets[e.SheetNames[f-1]];var d=(u||{})["!type"]||"sheet";switch(d){case"chart":;default:s="xl/worksheets/sheet"+f+"."+t;Xr(i,s,Tm(f-1,r,e,h));n.sheets.push(s);vi(r.wbrels,-1,"worksheets/sheet"+f+"."+t,ci.WS[0]);}if(u){var v=u["!comments"];var p=false;var m="";if(v&&v.length>0){var g=false;v.forEach(function(e){e[1].forEach(function(e){if(e.T==true)g=true})});if(g){m="xl/threadedComments/threadedComment"+f+".xml";Xr(i,m,Uh(v,c,r));n.threadedcomments.push(m);vi(h,-1,"../threadedComments/threadedComment"+f+".xml",ci.TCMNT)}m="xl/comments"+f+"."+t;Xr(i,m,Gh(v,r));n.comments.push(m);vi(h,-1,"../comments"+f+"."+t,ci.CMNT);p=true}if(u["!legacy"]){if(p)Xr(i,"xl/drawings/vmlDrawing"+f+".vml",Nh(f,u["!comments"]))}delete u["!comments"];delete u["!legacy"]}if(h["!id"].rId1)Xr(i,hi(s),di(h))}if(r.Strings!=null&&r.Strings.length>0){s="xl/sharedStrings."+t;Xr(i,s,mo(r.Strings,r));n.strs.push(s);vi(r.wbrels,-1,"sharedStrings."+t,ci.SST)}s="xl/workbook."+t;Xr(i,s,ag(e,r));n.workbooks.push(s);vi(r.rels,1,s,ci.WB);s="xl/theme/theme1.xml";var b=nh(e.Themes,r);Xr(i,s,b);n.themes.push(s);vi(r.wbrels,-1,"theme/theme1.xml",ci.THEME);s="xl/styles."+t;Xr(i,s,jc(e,r));n.styles.push(s);vi(r.wbrels,-1,"styles."+t,ci.STY);if(e.vbaraw&&a){s="xl/vbaProject.bin";Xr(i,s,e.vbaraw);n.vba.push(s);vi(r.wbrels,-1,"vbaProject.bin",ci.VBA)}s="xl/metadata."+t;Xr(i,s,Th());n.metadata.push(s);vi(r.wbrels,-1,"metadata."+t,ci.XLMETA);if(c.length>1){s="xl/persons/person.xml";Xr(i,s,Wh(c,r));n.people.push(s);vi(r.wbrels,-1,"persons/person.xml",ci.PEOPLE)}Xr(i,"[Content_Types].xml",oi(n,r));Xr(i,"_rels/.rels",di(r.rels));Xr(i,"xl/_rels/workbook."+t+".rels",di(r.wbrels));delete r.revssf;delete r.ssf;return i}function ck(e,r){if(e&&!e.SSF){e.SSF=Tr(q)}if(e&&e.SSF){Xe();Ve(e.SSF);r.revssf=lr(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;if(bv)r.revStrings=new Map;else{r.revStrings={};r.revStrings.foo=[];delete r.revStrings.foo}var t="xml";var a=Zh.indexOf(r.bookType)>-1;var n=fi();rk(r=r||{});var i=$r();var s="",f=0;r.cellXfs=[];Av(r.cellXfs,{},{revssf:{General:0}});if(!e.Props)e.Props={};s="docProps/core.xml";Xr(i,s,_i(e.Props,r));n.coreprops.push(s);vi(r.rels,2,s,ci.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{var l=[];for(var o=0;o0){s="docProps/custom.xml";Xr(i,s,Di(e.Custprops,r));n.custprops.push(s);vi(r.rels,4,s,ci.CUST_PROPS)}var c=["SheetJ5"];r.tcid=0;for(f=1;f<=e.SheetNames.length;++f){var h={"!id":{}};var u=e.Sheets[e.SheetNames[f-1]];var d=(u||{})["!type"]||"sheet";switch(d){case"chart":;default:s="xl/worksheets/sheet"+f+"."+t;Xr(i,s,ap(f-1,r,e,h));n.sheets.push(s);vi(r.wbrels,-1,"worksheets/sheet"+f+"."+t,ci.WS[0]);}if(u){var v=u["!comments"];var p=false;var m="";if(v&&v.length>0){var g=false;v.forEach(function(e){e[1].forEach(function(e){if(e.T==true)g=true})});if(g){m="xl/threadedComments/threadedComment"+f+".xml";Xr(i,m,Uh(v,c,r));n.threadedcomments.push(m);vi(h,-1,"../threadedComments/threadedComment"+f+".xml",ci.TCMNT)}m="xl/comments"+f+"."+t;Xr(i,m,Lh(v,r));n.comments.push(m);vi(h,-1,"../comments"+f+"."+t,ci.CMNT);p=true}if(u["!legacy"]){if(p)Xr(i,"xl/drawings/vmlDrawing"+f+".vml",Nh(f,u["!comments"]))}delete u["!comments"];delete u["!legacy"]}if(h["!id"].rId1)Xr(i,hi(s),di(h))}if(r.Strings!=null&&r.Strings.length>0){s="xl/sharedStrings."+t;Xr(i,s,co(r.Strings,r));n.strs.push(s);vi(r.wbrels,-1,"sharedStrings."+t,ci.SST)}s="xl/workbook."+t;Xr(i,s,zm(e,r));n.workbooks.push(s);vi(r.rels,1,s,ci.WB);s="xl/theme/theme1.xml";Xr(i,s,nh(e.Themes,r));n.themes.push(s);vi(r.wbrels,-1,"theme/theme1.xml",ci.THEME);s="xl/styles."+t;Xr(i,s,kc(e,r));n.styles.push(s);vi(r.wbrels,-1,"styles."+t,ci.STY);if(e.vbaraw&&a){s="xl/vbaProject.bin";Xr(i,s,e.vbaraw);n.vba.push(s);vi(r.wbrels,-1,"vbaProject.bin",ci.VBA)}s="xl/metadata."+t;Xr(i,s,yh());n.metadata.push(s);vi(r.wbrels,-1,"metadata."+t,ci.XLMETA);if(c.length>1){s="xl/persons/person.xml";Xr(i,s,Wh(c,r));n.people.push(s);vi(r.wbrels,-1,"persons/person.xml",ci.PEOPLE)}Xr(i,"[Content_Types].xml",oi(n,r));Xr(i,"_rels/.rels",di(r.rels));Xr(i,"xl/_rels/workbook."+t+".rels",di(r.wbrels));delete r.revssf;delete r.ssf;return i}function hk(e,r){var t="";switch((r||{}).type||"base64"){case"buffer":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":t=E(e.slice(0,12));break;case"binary":t=e;break;case"array":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];default:throw new Error("Unrecognized type "+(r&&r.type||"undefined"));}return[t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3),t.charCodeAt(4),t.charCodeAt(5),t.charCodeAt(6),t.charCodeAt(7)]}function uk(e,r){if(Qe.find(e,"EncryptedPackage"))return lk(e,r);return Jg(e,r)}function dk(e,r){var t,a=e;var n=r||{};if(!n.type)n.type=C&&Buffer.isBuffer(e)?"buffer":"base64";t=Gr(a,n);return fk(t,n)}function vk(e,r){var t=0;e:while(t=2&&i[3]===0)return Jl.to_workbook(n,t);if(i[2]===0&&(i[3]===8||i[3]===9))return Jl.to_workbook(n,t)}break;case 3:;case 131:;case 139:;case 140:return $l.to_workbook(n,t);case 123:if(i[1]===92&&i[2]===114&&i[3]===116)return Ho(n,t);break;case 10:;case 13:;case 32:return pk(n,t);case 137:if(i[1]===80&&i[2]===78&&i[3]===71)throw new Error("PNG Image File is not a spreadsheet");break;case 8:if(i[1]===231)throw new Error("Unsupported Multiplan 1.x file!");break;case 12:if(i[1]===236)throw new Error("Unsupported Multiplan 2.x file!");if(i[1]===237)throw new Error("Unsupported Multiplan 3.x file!");break;}if(Xl.indexOf(i[0])>-1&&i[2]<=12&&i[3]<=31)return $l.to_workbook(n,t);return bk(e,n,t,s)}function kk(e,r){var t=r||{};t.type="file";return wk(e,t)}function Tk(e,r){switch(r.type){case"base64":;case"binary":break;case"buffer":;case"array":r.type="";break;case"file":return ar(r.file,Qe.write(e,{type:C?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+r.bookType+"' files");default:throw new Error("Unrecognized type "+r.type);}return Qe.write(e,r)}function Ak(e,r){switch(r.bookType){case"ods":return $b(e,r);case"numbers":return Hw(e,r);case"xlsb":return ok(e,r);default:return ck(e,r);}}function yk(e,r){var t=Tr(r||{});var a=Ak(e,t);return Ck(a,t)}function Ek(e,r){var t=Tr(r||{});var a=ck(e,t);return Ck(a,t)}function Ck(e,r){var t={};var a=C?"nodebuffer":typeof Uint8Array!=="undefined"?"array":"string";if(r.compression)t.compression="DEFLATE";if(r.password)t.type=a;else switch(r.type){case"base64":t.type="base64";break;case"binary":t.type="string";break;case"string":throw new Error("'string' output type invalid for '"+r.bookType+"' files");case"buffer":;case"file":t.type=a;break;default:throw new Error("Unrecognized type "+r.type);}var n=e.FullPaths?Qe.write(e,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[t.type]||t.type,compression:!!r.compression}):e.generate(t);if(typeof Deno!=="undefined"){if(typeof n=="string"){if(r.type=="binary"||r.type=="base64")return n;n=new Uint8Array(I(n))}}if(r.password&&typeof encrypt_agile!=="undefined")return Tk(encrypt_agile(n,r.password),r);if(r.type==="file")return ar(r.file,n);return r.type=="string"?kt(n):n}function _k(e,r){var t=r||{};var a=qg(e,t);return Tk(a,t)}function Sk(e,r,t){if(!t)t="";var a=t+e;switch(r.type){case"base64":return T(Tt(a));case"binary":return Tt(a);case"string":return e;case"file":return ar(r.file,a,"utf8");case"buffer":{if(C)return _(a,"utf8");else if(typeof TextEncoder!=="undefined")return(new TextEncoder).encode(a);else return Sk(a,{type:"binary"}).split("").map(function(e){return e.charCodeAt(0)})};}throw new Error("Unrecognized type "+r.type)}function xk(e,r){switch(r.type){case"base64":return A(e);case"binary":return e;case"string":return e;case"file":return ar(r.file,e,"binary");case"buffer":{if(C)return _(e,"binary");else return e.split("").map(function(e){return e.charCodeAt(0)})};}throw new Error("Unrecognized type "+r.type)}function Ok(e,r){switch(r.type){case"string":;case"base64":;case"binary":var t="";for(var a=0;a0)n=0;var h=Na(l.s.r);var u=[];var d=[];var v=0,p=0;var m=e["!data"]!=null;var g=l.s.r,b=0;var w={};if(m&&!e["!data"][g])e["!data"][g]=[];var k=o.skipHidden&&e["!cols"]||[];var T=o.skipHidden&&e["!rows"]||[];for(b=l.s.c;b<=l.e.c;++b){if((k[b]||{}).hidden)continue;u[b]=La(b);t=m?e["!data"][g][b]:e[u[b]+h];switch(a){case 1:i[b]=b-l.s.c;break;case 2:i[b]=u[b];break;case 3:i[b]=o.header[b-l.s.c];break;default:if(t==null)t={w:"__EMPTY",t:"s"};f=s=Ka(t,null,o);p=w[s]||0;if(!p)w[s]=1;else{do{f=s+"_"+p++}while(w[f]);w[s]=p;w[f]=1}i[b]=f;}}for(g=l.s.r+n;g<=l.e.r;++g){if((T[g]||{}).hidden)continue;var A=Lk(e,l,g,u,a,i,o);if(A.isempty===false||(a===1?o.blankrows!==false:!!o.blankrows))d[v++]=A.row}d.length=v;return d}var Uk=/"/g;function Bk(e,r,t,a,n,i,s,f){var l=true;var o=[],c="",h=Na(t);var u=e["!data"]!=null;var d=u&&e["!data"][t]||[];for(var v=r.s.c;v<=r.e.c;++v){if(!a[v])continue;var p=u?d[v]:e[a[v]+h];if(p==null)c="";else if(p.v!=null){l=false;c=""+(f.rawNumbers&&p.t=="n"?p.v:Ka(p,null,f));for(var m=0,g=0;m!==c.length;++m)if((g=c.charCodeAt(m))===n||g===i||g===34||f.forceQuotes){c='"'+c.replace(Uk,'""')+'"';break}if(c=="ID")c='"ID"'}else if(p.f!=null&&!p.F){l=false;c="="+p.f;if(c.indexOf(",")>=0)c='"'+c.replace(Uk,'""')+'"'}else c="";o.push(c)}if(f.blankrows===false&&l)return null;return o.join(s)}function Wk(e,r){var t=[];var a=r==null?{}:r;if(e==null||e["!ref"]==null)return"";var n=Ga(e["!ref"]);var i=a.FS!==undefined?a.FS:",",s=i.charCodeAt(0);var f=a.RS!==undefined?a.RS:"\n",l=f.charCodeAt(0);var o=new RegExp((i=="|"?"\\|":i)+"+$"); -var c="",h=[];var u=a.skipHidden&&e["!cols"]||[];var d=a.skipHidden&&e["!rows"]||[];for(var v=n.s.c;v<=n.e.c;++v)if(!(u[v]||{}).hidden)h[v]=La(v);var p=0;for(var m=n.s.r;m<=n.e.r;++m){if((d[m]||{}).hidden)continue;c=Bk(e,n,m,h,s,l,i,a);if(c==null){continue}if(a.strip)c=c.replace(o,"");if(c||a.blankrows!==false)t.push((p++?f:"")+c)}return t.join("")}function zk(e,r){if(!r)r={};r.FS="\t";r.RS="\n";var t=Wk(e,r);if(typeof a=="undefined"||r.type=="string")return t;var n=a.utils.encode(1200,t,"str");return String.fromCharCode(255)+String.fromCharCode(254)+n}function Hk(e){var r="",t,a="";if(e==null||e["!ref"]==null)return[];var n=Ga(e["!ref"]),i="",s=[],f;var l=[];var o=e["!data"]!=null;for(f=n.s.c;f<=n.e.c;++f)s[f]=La(f);for(var c=n.s.r;c<=n.e.r;++c){i=Na(c);for(f=n.s.c;f<=n.e.c;++f){r=s[f]+i;t=o?(e["!data"][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;l[l.length]=r+"="+a}}return l}function Vk(e,r,t){var a=t||{};var n=e?e["!data"]!=null:a.dense;if(b!=null&&n==null)n=b;var i=+!a.skipHeader;var s=e||{};if(!e&&n)s["!data"]=[];var f=0,l=0;if(s&&a.origin!=null){if(typeof a.origin=="number")f=a.origin;else{var o=typeof a.origin=="string"?Wa(a.origin):a.origin;f=o.r;l=o.c}}var c={s:{c:0,r:0},e:{c:l,r:f+r.length-1+i}};if(s["!ref"]){var h=Ga(s["!ref"]);c.e.c=Math.max(c.e.c,h.e.c);c.e.r=Math.max(c.e.r,h.e.r);if(f==-1){f=h.e.r+1;c.e.r=f+r.length-1+i}}else{if(f==-1){f=0;c.e.r=r.length-1+i}}var u=a.header||[],d=0;var v=[];r.forEach(function(e,r){if(n&&!s["!data"][f+r+i])s["!data"][f+r+i]=[];if(n)v=s["!data"][f+r+i];ir(e).forEach(function(t){if((d=u.indexOf(t))==-1)u[d=u.length]=t;var o=e[t];var c="z";var h="";var p=n?"":La(l+d)+Na(f+r+i);var m=n?v[l+d]:s[p];if(o&&typeof o==="object"&&!(o instanceof Date)){if(n)v[l+d]=o;else s[p]=o}else{if(typeof o=="number")c="n";else if(typeof o=="boolean")c="b";else if(typeof o=="string")c="s";else if(o instanceof Date){c="d";if(!a.UTC)o=Dr(o);if(!a.cellDates){c="n";o=dr(o)}h=m!=null&&m.z&&Le(m.z)?m.z:a.dateNF||q[14]}else if(o===null&&a.nullError){c="e";o=0}if(!m){if(!n)s[p]=m={t:c,v:o};else v[l+d]=m={t:c,v:o}}else{m.t=c;m.v=o;delete m.w;delete m.R;if(h)m.z=h}if(h)m.z=h}})});c.e.c=Math.max(c.e.c,l+u.length-1);var p=Na(f);if(n&&!s["!data"][f])s["!data"][f]=[];if(i)for(d=0;d=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+"|")}function jk(e,r){var t={SheetNames:[],Sheets:{}};if(e)Kk(t,e,r||"Sheet1");return t}function Kk(e,r,t,a){var n=1;if(!t)for(;n<=65535;++n,t=undefined)if(e.SheetNames.indexOf(t="Sheet"+n)==-1)break;if(!t||e.SheetNames.length>=65535)throw new Error("Too many worksheets");if(a&&e.SheetNames.indexOf(t)>=0){var i=t.match(/(^.*?)(\d+)$/);n=i&&+i[2]||0;var s=i&&i[1]||t;for(++n;n<=65535;++n)if(e.SheetNames.indexOf(t=s+n)==-1)break}Lm(t);if(e.SheetNames.indexOf(t)>=0)throw new Error("Worksheet with name |"+t+"| already exists!");e.SheetNames.push(t);e.Sheets[t]=r;return t}function Yk(e,r,t){if(!e.Workbook)e.Workbook={};if(!e.Workbook.Sheets)e.Workbook.Sheets=[];var a=Gk(e,r);if(!e.Workbook.Sheets[a])e.Workbook.Sheets[a]={};switch(t){case 0:;case 1:;case 2:break;default:throw new Error("Bad sheet visibility setting "+t);}e.Workbook.Sheets[a].Hidden=t}function Zk(e,r){e.z=r;return e}function Jk(e,r,t){if(!r){delete e.l}else{e.l={Target:r};if(t)e.l.Tooltip=t}return e}function qk(e,r,t){return Jk(e,"#"+r,t)}function Qk(e,r,t){if(!e.c)e.c=[];e.c.push({t:r,a:t||"SheetJS"})}function eT(e,r,t,a){var n=typeof r!="string"?r:Ga(r);var i=typeof r=="string"?r:Va(r);for(var s=n.s.r;s<=n.e.r;++s)for(var f=n.s.c;f<=n.e.c;++f){var l=$k(e,s,f);l.t="n";l.F=i;delete l.v;if(s==n.s.r&&f==n.s.c){l.f=t;if(a)l.D=true}}var o=Ha(e["!ref"]);if(o.s.r>n.s.r)o.s.r=n.s.r;if(o.s.c>n.s.c)o.s.c=n.s.c;if(o.e.rs.e.r){if(!l){l=true;t.push(""+i)}return t.push(null)}while(f<=s.e.r){t.push(Cb(e,s,f,a));++f;break}};return t}function sT(e,r){var t=tT({objectMode:true});if(e==null||e["!ref"]==null){t.push(null);return t}var a={t:"n",v:0},n=0,i=1,s=[],f=0,l="";var o={s:{r:0,c:0},e:{r:0,c:0}};var c=r||{};var h=c.range!=null?c.range:e["!ref"];if(c.header===1)n=1;else if(c.header==="A")n=2;else if(Array.isArray(c.header))n=3;switch(typeof h){case"string":o=Ga(h);break;case"number":o=Ga(e["!ref"]);o.s.r=h;break;default:o=h;}if(n>0)i=0;var u=Na(o.s.r);var d=[];var v=0;var p=e["!data"]!=null;var m=o.s.r,g=0;var b={};if(p&&!e["!data"][m])e["!data"][m]=[];var w=c.skipHidden&&e["!cols"]||[];var k=c.skipHidden&&e["!rows"]||[];for(g=o.s.c;g<=o.e.c;++g){if((w[g]||{}).hidden)continue;d[g]=La(g);a=p?e["!data"][m][g]:e[d[g]+u];switch(n){case 1:s[g]=g-o.s.c;break;case 2:s[g]=d[g];break;case 3:s[g]=c.header[g-o.s.c];break;default:if(a==null)a={w:"__EMPTY",t:"s"};l=f=Ka(a,null,c);v=b[f]||0;if(!v)b[f]=1;else{do{l=f+"_"+v++}while(b[l]);b[f]=v;b[l]=1}s[g]=l;}}m=o.s.r+i;t._read=function(){while(m<=o.e.r){if((k[m-1]||{}).hidden)continue;var r=Lk(e,o,m,d,n,s,c);++m;if(r.isempty===false||(n===1?c.blankrows!==false:!!c.blankrows)){t.push(r.row);return}}return t.push(null)};return t}var fT={to_json:sT,to_html:iT,to_csv:nT,set_readable:aT};if(typeof Jg!=="undefined")e.parse_xlscfb=Jg;e.parse_zip=fk;e.read=wk;e.readFile=kk;e.readFileSync=kk;e.write=Ik;e.writeFile=Fk;e.writeFileSync=Fk;e.writeFileAsync=Pk;e.utils=rT;e.writeXLSX=Rk;e.writeFileXLSX=Dk;e.set_fs=rr;e.set_cptable=g;e.SSF=$e;if(typeof fT!=="undefined")e.stream=fT;if(typeof Qe!=="undefined")e.CFB=Qe;if(typeof require!=="undefined"){var lT=undefined;if((lT||{}).Readable)aT(lT.Readable);try{er=undefined}catch(au){}}}if(typeof exports!=="undefined")make_xlsx_lib(exports);else if(typeof module!=="undefined"&&module.exports)make_xlsx_lib(module.exports);else if(typeof define==="function"&&define.amd)define("xlsx",function(){if(!XLSX.version)make_xlsx_lib(XLSX);return XLSX});else make_xlsx_lib(XLSX);if(typeof window!=="undefined"&&!window.XLSX)try{window.XLSX=XLSX}catch(e){} +n=Buffer.allocUnsafe(2*a);s=0;for(i=0;i>10&1023)];n[s++]=t[56320+(l&1023)]}}}n=n.slice(0,s)}else{n=Buffer.allocUnsafe(a);for(i=0;i>8}return function f(e){var r=e.length,t=0,n=0;if(2*r>p){p=2*r;m=Buffer.allocUnsafe(p)}if(Buffer.isBuffer(e)){for(t=0;t>8}return function o(e,r){var t=e.length,n=Buffer.allocUnsafe(2*t),i=0,s=0,f=0,l=0,o=0;if(typeof e==="string"){for(i=l=0;i0)n[l++]=a[s]}n=n.slice(0,l)}else if(Buffer.isBuffer(e)){for(i=l=0;i0)n[l++]=a[s]}else{f=s-65536;s=2*(55296+(f>>10&1023));n[l++]=a[s+1]||a[s];if(a[s+1]>0)n[l++]=a[s];s=2*(56320+(f&1023));n[l++]=a[s+1]||a[s];if(a[s+1]>0)n[l++]=a[s]}}n=n.slice(0,l)}else{for(i=l=0;i0)n[l++]=a[s]}}if(!r||r==="buf")return n;if(r!=="arr")return n.toString("binary");return[].slice.call(n)}};var T=function W(r){var t=e[r].dec;var a=Buffer.allocUnsafe(131072),n=0,i,s=0,f=0,l=0;for(l=0;l<65536;++l){a[2*l]=255;a[2*l+1]=253}for(n=0;n>8}return function o(e){var r=e.length,t=Buffer.allocUnsafe(2*r),n=0,i=0,s=0;if(Buffer.isBuffer(e)){for(n=0;np){p=4*r;m=Buffer.allocUnsafe(p)}var n=0;if(r>=3&&e[0]==239)if(e[1]==187&&e[2]==191)n=3;for(var i=1,s=0,f=0;n>8}else{t-=65536;a=55296+(t>>10&1023);t=56320+(t&1023);m[s++]=a&255;m[s++]=a>>>8;m[s++]=t&255;m[s++]=t>>>8&255}}return m.slice(0,s).toString("ucs2")};s[65001]=function H(e,r){if(h&&Buffer.isBuffer(e)){if(!r||r==="buf")return e;if(r!=="arr")return e.toString("binary");return[].slice.call(e)}var t=e.length,a=0,n=0,i=0;var s=typeof e==="string";if(4*t>p){p=4*t;m=Buffer.allocUnsafe(p)}for(var f=0;f>6);m[i++]=128+(a&63)}else if(a>=55296&&a<=57343){a-=55296;++f;n=(s?e.charCodeAt(f):e[f].charCodeAt(0))-56320+(a<<10);m[i++]=240+(n>>>18&7);m[i++]=144+(n>>>12&63);m[i++]=128+(n>>>6&63);m[i++]=128+(n&63)}else{m[i++]=224+(a>>12);m[i++]=128+(a>>6&63);m[i++]=128+(a&63)}}if(!r||r==="buf")return m.slice(0,i);if(r!=="arr")return m.slice(0,i).toString("binary");return[].slice.call(m,0,i)}}var A=function V(){if(h){if(f[t[0]])return;var r=0,o=0;for(r=0;r255){s[d]=f>>8;s[++d]=f&255}else s[d]=f&255}else if(g=r[t])switch(g){case"utf8":if(h&&b){s=u(a,g);d=s.length;break}for(c=0;c>6);s[++d]=128+(f&63)}else if(f>=55296&&f<=57343){f-=55296;v=(b?a.charCodeAt(++c):a[++c].charCodeAt(0))-56320+(f<<10);s[d]=240+(v>>>18&7);s[++d]=144+(v>>>12&63);s[++d]=128+(v>>>6&63);s[++d]=128+(v&63)}else{s[d]=224+(f>>12);s[++d]=128+(f>>6&63);s[++d]=128+(f&63)}}break;case"ascii":if(h&&typeof a==="string"){s=u(a,g);d=s.length;break}for(c=0;c>8}break;case"utf16be":for(c=0;c>8;s[d++]=f&255}break;case"utf32le":for(c=0;c=55296&&f<=57343)f=65536+(f-55296<<10)+(a[++c].charCodeAt(0)-56320);s[d++]=f&255;f>>=8;s[d++]=f&255;f>>=8;s[d++]=f&255;f>>=8;s[d++]=f&255}break;case"utf32be":for(c=0;c=55296&&f<=57343)f=65536+(f-55296<<10)+(a[++c].charCodeAt(0)-56320);s[d+3]=f&255;f>>=8;s[d+2]=f&255;f>>=8;s[d+1]=f&255;f>>=8;s[d]=f&255;d+=4}break;case"utf7":for(c=0;c-1){s[d++]=w.charCodeAt(0);continue}var k=G(1201,w);s[d++]=43;s[d++]=S.charCodeAt(k[0]>>2);s[d++]=S.charCodeAt(((k[0]&3)<<4)+((k[1]||0)>>4));s[d++]=S.charCodeAt(((k[1]&15)<<2)+((k[2]||0)>>6));s[d++]=45}break;default:throw new Error("Unsupported magic: "+t+" "+r[t]);}else throw new Error("Unrecognized CP: "+t);s=s.slice(0,d);if(!h)return n=="str"?s.map(o).join(""):s;if(!n||n==="buf")return s;if(n!=="arr")return s.toString("binary");return[].slice.call(s)};var N=function j(t,a){var n;if(n=f[t])return n(a);if(typeof a==="string")return j(t,a.split("").map(c));var i=a.length,s=new Array(i),l="",o=0,u=0,d=1,v=0,p=0;var m=e[t],g,b="";if(m&&(g=m.dec)){for(u=0;u=3&&a[0]==239)if(a[1]==187&&a[2]==191)u=3;for(;u>10&1023);o=56320+(o&1023);s[v++]=String.fromCharCode(p);s[v++]=String.fromCharCode(o)}}break;case"ascii":if(h&&Buffer.isBuffer(a))return a.toString(b);for(u=0;u=2&&a[0]==255)if(a[1]==254)u=2;if(h&&Buffer.isBuffer(a))return a.toString(b);d=2;for(;u+1=2&&a[0]==254)if(a[1]==255)u=2;d=2;for(;u+1=4&&a[0]==255)if(a[1]==254&&a[2]===0&&a[3]===0)u=4;d=4;for(;u65535){o-=65536;s[v++]=String.fromCharCode(55296+(o>>10&1023));s[v++]=String.fromCharCode(56320+(o&1023))}else s[v++]=String.fromCharCode(o)}break;case"utf32be":if(i>=4&&a[3]==255)if(a[2]==254&&a[1]===0&&a[0]===0)u=4;d=4;for(;u65535){o-=65536;s[v++]=String.fromCharCode(55296+(o>>10&1023));s[v++]=String.fromCharCode(56320+(o&1023))}else s[v++]=String.fromCharCode(o)}break;case"utf7":if(i>=4&&a[0]==43&&a[1]==47&&a[2]==118){if(i>=5&&a[3]==56&&a[4]==45)u=5;else if(a[3]==56||a[3]==57||a[3]==43||a[3]==47)u=4}for(;u>4;k.push(A);x=S.indexOf(String.fromCharCode(a[u+I++]));if(x===-1)break;y=(_&15)<<4|x>>2;k.push(y);O=S.indexOf(String.fromCharCode(a[u+I++]));if(O===-1)break;E=(x&3)<<6|O;if(O<64)k.push(E)}T=j(1201,k);for(I=0;I>1;++t)r[t]=String.fromCharCode(e.charCodeAt(2*t)+(e.charCodeAt(2*t+1)<<8));return r.join("")}function u(e){var r=[];for(var t=0;t>1;++t)r[t]=String.fromCharCode(e[2*t]+(e[2*t+1]<<8));return r.join("")}function d(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 v=function(e){var r=e.charCodeAt(0),t=e.charCodeAt(1);if(r==255&&t==254)return h(e.slice(2));if(r==254&&t==255)return d(e.slice(2));if(r==65279)return e.slice(1);return e};var p=function iT(e){return String.fromCharCode(e)};var m=function sT(e){return String.fromCharCode(e)};function g(e){a=e;l=function(e){r=e;s(e)};v=function(e){if(e.charCodeAt(0)===255&&e.charCodeAt(1)===254){return a.utils.decode(1200,c(e.slice(2)))}return e};p=function n(e){if(r===1200)return String.fromCharCode(e);return a.utils.decode(r,[e&255,e>>8])[0]};m=function i(e){return a.utils.decode(t,[e])[0]};pa()}var b=null;var w=true;var k="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function T(e){var r="";var t=0,a=0,n=0,i=0,s=0,f=0,l=0;for(var o=0;o>2;a=e.charCodeAt(o++);s=(t&3)<<4|a>>4;n=e.charCodeAt(o++);f=(a&15)<<2|n>>6;l=n&63;if(isNaN(a)){f=l=64}else if(isNaN(n)){l=64}r+=k.charAt(i)+k.charAt(s)+k.charAt(f)+k.charAt(l)}return r}function A(e){var r="";var t=0,a=0,n=0,i=0,s=0,f=0,l=0;for(var o=0;o255)t=95;i=t>>2;a=e.charCodeAt(o++);if(a>255)a=95;s=(t&3)<<4|a>>4;n=e.charCodeAt(o++);if(n>255)n=95;f=(a&15)<<2|n>>6;l=n&63;if(isNaN(a)){f=l=64}else if(isNaN(n)){l=64}r+=k.charAt(i)+k.charAt(s)+k.charAt(f)+k.charAt(l)}return r}function y(e){var r="";var t=0,a=0,n=0,i=0,s=0,f=0,l=0;for(var o=0;o>2;a=e[o++];s=(t&3)<<4|a>>4;n=e[o++];f=(a&15)<<2|n>>6;l=n&63;if(isNaN(a)){f=l=64}else if(isNaN(n)){l=64}r+=k.charAt(i)+k.charAt(s)+k.charAt(f)+k.charAt(l)}return r}function E(e){var r="";var t=0,a=0,n=0,i=0,s=0,f=0,l=0;if(e.slice(0,5)=="data:"){var o=e.slice(0,1024).indexOf(";base64,");if(o>-1)e=e.slice(o+8)}e=e.replace(/[^\w\+\/\=]/g,"");for(var o=0;o>4;r+=String.fromCharCode(t);f=k.indexOf(e.charAt(o++));a=(s&15)<<4|f>>2;if(f!==64){r+=String.fromCharCode(a)}l=k.indexOf(e.charAt(o++));n=(f&3)<<6|l;if(l!==64){r+=String.fromCharCode(n)}}return r}var C=function(){return typeof Buffer!=="undefined"&&typeof undefined!=="undefined"&&typeof{}!=="undefined"&&!!{}.node}();var _=function(){if(typeof Buffer!=="undefined"){var e=!Buffer.from;if(!e)try{Buffer.from("foo","utf8")}catch(r){e=true}return e?function(e,r){return r?new Buffer(e,r):new Buffer(e)}:Buffer.from.bind(Buffer)}return function(){}}();var S=function(){if(typeof Buffer==="undefined")return false;var e=_([65,0]);if(!e)return false;var r=e.toString("utf16le");return r.length==1}();function x(e){if(C)return Buffer.alloc?Buffer.alloc(e):new Buffer(e);return typeof Uint8Array!="undefined"?new Uint8Array(e):new Array(e)}function O(e){if(C)return Buffer.allocUnsafe?Buffer.allocUnsafe(e):new Buffer(e);return typeof Uint8Array!="undefined"?new Uint8Array(e):new Array(e)}var I=function fT(e){if(C)return _(e,"binary");return e.split("").map(function(e){return e.charCodeAt(0)&255})};function R(e){if(typeof ArrayBuffer==="undefined")return I(e);var r=new ArrayBuffer(e.length),t=new Uint8Array(r);for(var a=0;a!=e.length;++a)t[a]=e.charCodeAt(a)&255;return r}function N(e){if(Array.isArray(e))return e.map(function(e){return String.fromCharCode(e)}).join("");var r=[];for(var t=0;t>6&31;n[t++]=128|s&63}else if(s>=55296&&s<57344){s=(s&1023)+64;var f=e.charCodeAt(++i)&1023;n[t++]=240|s>>8&7;n[t++]=128|s>>2&63;n[t++]=128|f>>6&15|(s&3)<<4;n[t++]=128|f&63}else{n[t++]=224|s>>12&15;n[t++]=128|s>>6&63;n[t++]=128|s&63}if(t>a){r.push(n.slice(0,t));t=0;n=x(65535);a=65530}}r.push(n.slice(0,t));return P(r)}var M=/\u0000/g,U=/[\u0001-\u0006]/g;function B(e){var r="",t=e.length-1;while(t>=0)r+=e.charAt(t--);return r}function W(e,r){var t=""+e;return t.length>=r?t:Ar("0",r-t.length)+t}function z(e,r){var t=""+e;return t.length>=r?t:Ar(" ",r-t.length)+t}function H(e,r){var t=""+e;return t.length>=r?t:t+Ar(" ",r-t.length)}function V(e,r){var t=""+Math.round(e);return t.length>=r?t:Ar("0",r-t.length)+t}function X(e,r){var t=""+e;return t.length>=r?t:Ar("0",r-t.length)+t}var G=Math.pow(2,32);function j(e,r){if(e>G||e<-G)return V(e,r);var t=Math.round(e);return X(t,r)}function K(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 Y=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]];var Z=[["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 J(e){if(!e)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"秒 "';return e}var q={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"上午/下午 "hh"時"mm"分"ss"秒 "'};var Q={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0};var ee={5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',41:'_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function re(e,r,t){var a=e<0?-1:1;var n=e*a;var i=0,s=1,f=0;var l=1,o=0,c=0;var h=Math.floor(n);while(or){if(o>r){c=l;f=i}else{c=o;f=s}}if(!t)return[0,a*f,c];var u=Math.floor(a*f/c);return[u,a*f-u*c,c]}function te(e){var r=e.toPrecision(16);if(r.indexOf("e")>-1){var t=r.slice(0,r.indexOf("e"));t=t.indexOf(".")>-1?t.slice(0,t.slice(0,2)=="0."?17:16):t.slice(0,15)+Ar("0",t.length-15);return t+r.slice(r.indexOf("e"))}var a=r.indexOf(".")>-1?r.slice(0,r.slice(0,2)=="0."?17:16):r.slice(0,15)+Ar("0",r.length-15);return Number(a)}function ae(e,r,t){if(e>2958465||e<0)return null;e=te(e);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 l=new Date(1900,0,1);l.setDate(l.getDate()+a-1);s=[l.getFullYear(),l.getMonth()+1,l.getDate()];i=l.getDay();if(a<60)i=(i+6)%7;if(t)i=ce(l,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}function ne(e){return e.indexOf(".")==-1?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function ie(e){if(e.indexOf("E")==-1)return e;return e.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}function se(e){var r=e<0?12:11;var t=ne(e.toFixed(12));if(t.length<=r)return t;t=e.toPrecision(10);if(t.length<=r)return t;return e.toExponential(5)}function fe(e){var r=ne(e.toFixed(11));return r.length>(e<0?12:11)||r==="0"||r==="-0"?e.toPrecision(6):r}function le(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=se(e);else if(r===10)t=e.toFixed(10).substr(0,12);else t=fe(e);return ne(ie(t.toUpperCase()))}function oe(e,r){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(e|0)===e?e.toString(10):le(e);case"undefined":return"";case"object":if(e==null)return"";if(e instanceof Date)return ze(14,dr(e,r&&r.date1904),r);}throw new Error("unsupported value in General format: "+e)}function ce(e,r){r[0]-=581;var t=e.getDay();if(e<60)t=(t+6)%7;return t}function he(e,r,t,a){var n="",i=0,s=0,f=t.y,l,o=0;switch(e){case 98:f=t.y+543;case 121:switch(r.length){case 1:;case 2:l=f%100;o=2;break;default:l=f%1e4;o=4;break;}break;case 109:switch(r.length){case 1:;case 2:l=t.m;o=r.length;break;case 3:return Z[t.m-1][1];case 5:return Z[t.m-1][0];default:return Z[t.m-1][2];}break;case 100:switch(r.length){case 1:;case 2:l=t.d;o=r.length;break;case 3:return Y[t.q][0];default:return Y[t.q][1];}break;case 104:switch(r.length){case 1:;case 2:l=1+(t.H+11)%12;o=r.length;break;default:throw"bad hour format: "+r;}break;case 72:switch(r.length){case 1:;case 2:l=t.H;o=r.length;break;default:throw"bad hour format: "+r;}break;case 77:switch(r.length){case 1:;case 2:l=t.M;o=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 W(t.S,r.length);if(a>=2)s=a===3?1e3:100;else s=a===1?10:1;i=Math.round(s*(t.S+t.u));if(i>=60*s)i=0;if(r==="s")return i===0?"0":""+i/s;n=W(i,2+a);if(r==="ss")return n.substr(0,2);return"."+n.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+(a==0?Math.round(t.S+t.u):t.S);break;default:throw"bad abstime format: "+r;}o=r.length===3?1:2;break;case 101:l=f;o=1;break;}var c=o>0?W(l,o):"";return c}function ue(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 de=/%/g;function ve(e,r,t){var a=r.replace(de,""),n=r.length-a.length;return Fe(e,a,t*Math.pow(10,2*n))+Ar("%",n)}function pe(e,r,t){var a=r.length-1;while(r.charCodeAt(a-1)===44)--a;return Fe(e,r.substr(0,a),t/Math.pow(10,3*(r.length-a)))}function me(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"-"+me(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 ge=/# (\?+)( ?)\/( ?)(\d+)/;function be(e,r,t){var a=parseInt(e[4],10),n=Math.round(r*a),i=Math.floor(n/a);var s=n-i*a,f=a;return t+(i===0?"":""+i)+" "+(s===0?Ar(" ",e[1].length+1+e[4].length):z(s,e[1].length)+e[2]+"/"+e[3]+W(f,e[4].length))}function we(e,r,t){return t+(r===0?"":""+r)+Ar(" ",e[1].length+2+e[4].length)}var ke=/^#*0*\.([0#]+)/;var Te=/\)[^)]*[0#]/;var Ae=/\(###\) ###\\?-####/;function ye(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 Ee(e,r){var t=Math.pow(10,r);return""+Math.round(e*t)/t}function Ce(e,r){var t=e-Math.floor(e),a=Math.pow(10,r);if(r<(""+Math.round(t*a)).length)return 0;return Math.round(t*a)}function _e(e,r){if(r<(""+Math.round((e-Math.floor(e))*Math.pow(10,r))).length){return 1}return 0}function Se(e){if(e<2147483647&&e>-2147483648)return""+(e>=0?e|0:e-1|0);return""+Math.floor(e)}function xe(e,r,t){if(e.charCodeAt(0)===40&&!r.match(Te)){var a=r.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");if(t>=0)return xe("n",a,t);return"("+xe("n",a,-t)+")"}if(r.charCodeAt(r.length-1)===44)return pe(e,r,t);if(r.indexOf("%")!==-1)return ve(e,r,t);if(r.indexOf("E")!==-1)return me(r,t);if(r.charCodeAt(0)===36)return"$"+xe(e,r.substr(r.charAt(1)==" "?2:1),t);var n;var i,s,f,l=Math.abs(t),o=t<0?"-":"";if(r.match(/^00+$/))return o+j(l,r.length);if(r.match(/^[#?]+$/)){n=j(t,0);if(n==="0")n="";return n.length>r.length?n:ye(r.substr(0,r.length-n.length))+n}if(i=r.match(ge))return be(i,l,o);if(r.match(/^#+0+$/))return o+j(l,r.length-r.indexOf("0"));if(i=r.match(ke)){n=Ee(t,i[1].length).replace(/^([^\.]+)$/,"$1."+ye(i[1])).replace(/\.$/,"."+ye(i[1])).replace(/\.(\d*)$/,function(e,r){return"."+r+Ar("0",ye(i[1]).length-r.length)});return r.indexOf("0.")!==-1?n:n.replace(/^0\./,".")}r=r.replace(/^#+([0.])/,"$1");if(i=r.match(/^(0*)\.(#*)$/)){return o+Ee(l,i[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,i[1].length?"0.":".")}if(i=r.match(/^#{1,3},##0(\.?)$/))return o+ue(j(l,0));if(i=r.match(/^#,##0\.([#0]*0)$/)){return t<0?"-"+xe(e,r,-t):ue(""+(Math.floor(t)+_e(t,i[1].length)))+"."+W(Ce(t,i[1].length),i[1].length)}if(i=r.match(/^#,#*,#0/))return xe(e,r.replace(/^#,#*,/,""),t);if(i=r.match(/^([0#]+)(\\?-([0#]+))+$/)){n=B(xe(e,r.replace(/[\\-]/g,""),t));s=0;return B(B(r.replace(/\\/g,"")).replace(/[0#]/g,function(e){return s=0)return Ne("n",a,t);return"("+Ne("n",a,-t)+")"}if(r.charCodeAt(r.length-1)===44)return Oe(e,r,t);if(r.indexOf("%")!==-1)return Ie(e,r,t);if(r.indexOf("E")!==-1)return Re(r,t);if(r.charCodeAt(0)===36)return"$"+Ne(e,r.substr(r.charAt(1)==" "?2:1),t);var n;var i,s,f,l=Math.abs(t),o=t<0?"-":"";if(r.match(/^00+$/))return o+W(l,r.length);if(r.match(/^[#?]+$/)){n=""+t;if(t===0)n="";return n.length>r.length?n:ye(r.substr(0,r.length-n.length))+n}if(i=r.match(ge))return we(i,l,o);if(r.match(/^#+0+$/))return o+W(l,r.length-r.indexOf("0"));if(i=r.match(ke)){n=(""+t).replace(/^([^\.]+)$/,"$1."+ye(i[1])).replace(/\.$/,"."+ye(i[1]));n=n.replace(/\.(\d*)$/,function(e,r){return"."+r+Ar("0",ye(i[1]).length-r.length)});return r.indexOf("0.")!==-1?n:n.replace(/^0\./,".")}r=r.replace(/^#+([0.])/,"$1");if(i=r.match(/^(0*)\.(#*)$/)){return o+(""+l).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,i[1].length?"0.":".")}if(i=r.match(/^#{1,3},##0(\.?)$/))return o+ue(""+l);if(i=r.match(/^#,##0\.([#0]*0)$/)){return t<0?"-"+Ne(e,r,-t):ue(""+t)+"."+Ar("0",i[1].length)}if(i=r.match(/^#,#*,#0/))return Ne(e,r.replace(/^#,#*,/,""),t);if(i=r.match(/^([0#]+)(\\?-([0#]+))+$/)){n=B(Ne(e,r.replace(/[\\-]/g,""),t));s=0;return B(B(r.replace(/\\/g,"")).replace(/[0#]/g,function(e){return s-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}function Me(e,r,t,a){var n=[],i="",s=0,f="",l="t",o,c,h;var u="H";while(s=12?e.charAt(s+2):f;p.t="T";u="h";s+=3}else if(e.substr(s,5).toUpperCase()==="AM/PM"){if(o!=null)p.v=o.H>=12?"PM":"AM";p.t="T";s+=5;u="h"}else if(e.substr(s,5).toUpperCase()==="上午/下午"){if(o!=null)p.v=o.H>=12?"下午":"上午";p.t="T";s+=5;u="h"}else{p.t="t";++s}if(o==null&&p.t==="T")return"";n[n.length]=p;l=f;break;case"[":i=f;while(e.charAt(s++)!=="]"&&s-1){i=(i.match(/\$([^-\[\]]*)/)||[])[1]||"$";if(!Le(e))n[n.length]={t:"t",v:i}}break;case".":if(o!=null){i=f;while(++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};l=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;case"$":n[n.length]={t:"t",v:"$"};++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 m=0,g=0,b;for(s=n.length-1,l="t";s>=0;--s){switch(n[s].t){case"h":;case"H":n[s].t=u;l="h";if(m<1)m=1;break;case"s":if(b=n[s].v.match(/\.0+$/)){g=Math.max(g,b[0].length-1);m=4}if(m<3)m=3;case"d":;case"y":;case"e":l=n[s].t;break;case"M":l=n[s].t;if(m<2)m=2;break;case"m":if(l==="s"){n[s].t="M";if(m<2)m=2}break;case"X":break;case"Z":if(m<1&&n[s].v.match(/[Hh]/))m=1;if(m<2&&n[s].v.match(/[Mm]/))m=2;if(m<3&&n[s].v.match(/[Ss]/))m=3;}}var w;switch(m){case 0:break;case 1:;case 2:;case 3:if(o.u>=.5){o.u=0;++o.S}if(o.S>=60){o.S=0;++o.M}if(o.M>=60){o.M=0;++o.H}if(o.H>=24){o.H=0;++o.D;w=ae(o.D);w.u=o.u;w.S=o.S;w.M=o.M;w.H=o.H;o=w}break;case 4:switch(g){case 1:o.u=Math.round(o.u*10)/10;break;case 2:o.u=Math.round(o.u*100)/100;break;case 3:o.u=Math.round(o.u*1e3)/1e3;break;}if(o.u>=1){o.u=0;++o.S}if(o.S>=60){o.S=0;++o.M}if(o.M>=60){o.M=0;++o.H}if(o.H>=24){o.H=0;++o.D;w=ae(o.D);w.u=o.u;w.S=o.S;w.M=o.M;w.H=o.H;o=w}break;}var k="",T;for(s=0;s0){if(k.charCodeAt(0)==40){y=r<0&&k.charCodeAt(0)===45?-r:r;E=Fe("n",k,y)}else{y=r<0&&a>1?-r:r;E=Fe("n",k,y);if(y<0&&n[0]&&n[0].t=="t"){E=E.substr(1);n[0].v="-"+n[0].v}}T=E.length-1;var C=n.length;for(s=0;s-1){C=s;break}var _=n.length;if(C===n.length&&E.indexOf("E")===-1){for(s=n.length-1;s>=0;--s){if(n[s]==null||"n?".indexOf(n[s].t)===-1)continue;if(T>=n[s].v.length-1){T-=n[s].v.length;n[s].v=E.substr(T+1,n[s].v.length)}else if(T<0)n[s].v="";else{n[s].v=E.substr(0,T+1);T=-1}n[s].t="t";_=s}if(T>=0&&_=0;--s){if(n[s]==null||"n?".indexOf(n[s].t)===-1)continue;c=n[s].v.indexOf(".")>-1&&s===C?n[s].v.indexOf(".")-1:n[s].v.length-1;A=n[s].v.substr(c+1);for(;c>=0;--c){if(T>=0&&(n[s].v.charAt(c)==="0"||n[s].v.charAt(c)==="#"))A=E.charAt(T--)+A}n[s].v=A;n[s].t="t";_=s}if(T>=0&&_-1&&s===C?n[s].v.indexOf(".")+1:0;A=n[s].v.substr(0,c);for(;c-1){y=a>1&&r<0&&s>0&&n[s-1].v==="-"?-r:r;n[s].v=Fe(n[s].t,n[s].v,y);n[s].t="t"}var S="";for(s=0;s!==n.length;++s)if(n[s]!=null)S+=n[s].v;return S}var Ue=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function Be(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 We(e,r){var t=De(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(/\[[=<>]/)!=null||t[1].match(/\[[=<>]/)!=null){var s=t[0].match(Ue);var f=t[1].match(Ue);return Be(r,s)?[a,t[0]]:Be(r,f)?[a,t[1]]:[a,t[s!=null&&f!=null?2:1]]}return[a,i]}function ze(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:q)[e];if(a==null)a=t.table&&t.table[Q[e]]||q[Q[e]];if(a==null)a=ee[e]||"General";break;}if(K(a,0))return oe(r,t);if(r instanceof Date)r=dr(r,t.date1904);var n=We(a,r);if(K(n[1]))return oe(r,t);if(r===true)r="TRUE";else if(r===false)r="FALSE";else if(r===""||r==null)return"";return Me(n[1],r,t,n[0])}function He(e,r){if(typeof r!="number"){r=+r||-1;for(var t=0;t<392;++t){if(q[t]==undefined){if(r<0)r=t;continue}if(q[t]==e){r=t;break}}if(r<0)r=391}q[r]=e;return r}function Ve(e){for(var r=0;r!=392;++r)if(e[r]!==undefined)He(e[r],r)}function $e(){q=J()}var Xe={format:ze,load:He,_table:q,load_table:Ve,parse_date_code:ae,is_date:Le,get_table:function lT(){return Xe._table=q}};var Ge={5:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',23:"General",24:"General",25:"General",26:"General",27:"m/d/yy",28:"m/d/yy",29:"m/d/yy",30:"m/d/yy",31:"m/d/yy",32:"h:mm:ss",33:"h:mm:ss",34:"h:mm:ss",35:"h:mm:ss",36:"m/d/yy",41:'_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* (#,##0);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)',50:"m/d/yy",51:"m/d/yy",52:"m/d/yy",53:"m/d/yy",54:"m/d/yy",55:"m/d/yy",56:"m/d/yy",57:"m/d/yy",58:"m/d/yy",59:"0",60:"0.00",61:"#,##0",62:"#,##0.00",63:'"$"#,##0_);\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',67:"0%",68:"0.00%",69:"# ?/?",70:"# ??/??",71:"m/d/yy",72:"m/d/yy",73:"d-mmm-yy",74:"d-mmm",75:"mmm-yy",76:"h:mm",77:"h:mm:ss",78:"m/d/yy h:mm",79:"mm:ss",80:"[h]:mm:ss",81:"mmss.0"};var je=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;function Ke(e){var r=typeof e=="number"?q[e]:e;r=r.replace(je,"(\\d+)");je.lastIndex=0;return new RegExp("^"+r+"$")}function Ye(e,r,t){var a=-1,n=-1,i=-1,s=-1,f=-1,l=-1;(r.match(je)||[]).forEach(function(e,r){var o=parseInt(t[r+1],10);switch(e.toLowerCase().charAt(0)){case"y":a=o;break;case"d":i=o;break;case"h":s=o;break;case"s":l=o;break;case"m":if(s>=0)f=o;else n=o;break;}});je.lastIndex=0;if(l>=0&&f==-1&&n>=0){f=n;n=-1}var o=(""+(a>=0?a:(new Date).getFullYear())).slice(-4)+"-"+("00"+(n>=1?n:1)).slice(-2)+"-"+("00"+(i>=1?i:1)).slice(-2);if(o.length==7)o="0"+o;if(o.length==8)o="20"+o;var c=("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(f>=0?f:0)).slice(-2)+":"+("00"+(l>=0?l:0)).slice(-2);if(s==-1&&f==-1&&l==-1)return o;if(a==-1&&n==-1&&i==-1)return c;return o+"T"+c}var Ze={"d.m":"d\\.m"};function Je(e,r){return He(Ze[e]||e,r)}var qe=function(){var e={};e.version="1.2.0";function r(){var e=0,r=new Array(256);for(var t=0;t!=256;++t){e=t;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;r[t]=e}return typeof Int32Array!=="undefined"?new Int32Array(r):r}var t=r();function a(e){var r=0,t=0,a=0,n=typeof Int32Array!=="undefined"?new Int32Array(4096):new Array(4096);for(a=0;a!=256;++a)n[a]=e[a];for(a=0;a!=256;++a){t=e[a];for(r=256+a;r<4096;r+=256)t=n[r]=t>>>8^e[t&255]}var i=[];for(a=1;a!=16;++a)i[a-1]=typeof Int32Array!=="undefined"&&typeof n.subarray=="function"?n.subarray(a*256,a*256+256):n.slice(a*256,a*256+256);return i}var n=a(t);var i=n[0],s=n[1],f=n[2],l=n[3],o=n[4];var c=n[5],h=n[6],u=n[7],d=n[8],v=n[9];var p=n[10],m=n[11],g=n[12],b=n[13],w=n[14];function k(e,r){var a=r^-1;for(var n=0,i=e.length;n>>8^t[(a^e.charCodeAt(n++))&255];return~a}function T(e,r){var a=r^-1,n=e.length-15,k=0;for(;k>8&255]^g[e[k++]^a>>16&255]^m[e[k++]^a>>>24]^p[e[k++]]^v[e[k++]]^d[e[k++]]^u[e[k++]]^h[e[k++]]^c[e[k++]]^o[e[k++]]^l[e[k++]]^f[e[k++]]^s[e[k++]]^i[e[k++]]^t[e[k++]];n+=15;while(k>>8^t[(a^e[k++])&255];return~a}function A(e,r){var a=r^-1;for(var n=0,i=e.length,s=0,f=0;n>>8^t[(a^s)&255]}else if(s<2048){a=a>>>8^t[(a^(192|s>>6&31))&255];a=a>>>8^t[(a^(128|s&63))&255]}else if(s>=55296&&s<57344){s=(s&1023)+64;f=e.charCodeAt(n++)&1023;a=a>>>8^t[(a^(240|s>>8&7))&255];a=a>>>8^t[(a^(128|s>>2&63))&255];a=a>>>8^t[(a^(128|f>>6&15|(s&3)<<4))&255];a=a>>>8^t[(a^(128|f&63))&255]}else{a=a>>>8^t[(a^(224|s>>12&15))&255];a=a>>>8^t[(a^(128|s>>6&63))&255];a=a>>>8^t[(a^(128|s&63))&255]}}return~a}e.table=t;e.bstr=k;e.buf=T;e.str=A;return e}();var Qe=function oT(){var e={};e.version="1.2.2";function r(e,r){var t=e.split("/"),a=r.split("/");for(var n=0,i=0,s=Math.min(t.length,a.length);n>>1;e._W(2,t);var a=r.getFullYear()-1980;a=a<<4|r.getMonth()+1;a=a<<5|r.getDate();e._W(2,a)}function i(e){var r=e._R(2)&65535;var t=e._R(2)&65535;var a=new Date;var n=t&31;t>>>=5;var i=t&15;t>>>=4;a.setMilliseconds(0);a.setFullYear(t+1980);a.setMonth(i-1);a.setDate(n);var s=r&31;r>>>=5;var f=r&63;r>>>=6;a.setHours(r);a.setMinutes(f);a.setSeconds(s<<1);return a}function s(e){xa(e,0);var r={};var t=0;while(e.l<=e.length-4){var a=e._R(2);var n=e._R(2),i=e.l+n;var s={};switch(a){case 21589:{t=e._R(1);if(t&1)s.mtime=e._R(4);if(n>5){if(t&2)s.atime=e._R(4);if(t&4)s.ctime=e._R(4)}if(s.mtime)s.mt=new Date(s.mtime*1e3)}break;case 1:{var f=e._R(4),l=e._R(4);s.usz=l*Math.pow(2,32)+f;f=e._R(4);l=e._R(4);s.csz=l*Math.pow(2,32)+f}break;}e.l=i;r[a]=s}return r}var f;function l(){return f||(f=er)}function o(e,r){if(e[0]==80&&e[1]==75)return Re(e,r);if((e[0]|32)==109&&(e[1]|32)==105)return We(e,r);if(e.length<512)throw new Error("CFB file size "+e.length+" < 512");var t=3;var a=512;var n=0;var i=0;var s=0;var f=0;var l=0;var o=[];var v=e.slice(0,512);xa(v,0);var m=c(v);t=m[0];switch(t){case 3:a=512;break;case 4:a=4096;break;case 0:if(m[1]==0)return Re(e,r);default:throw new Error("Major Version: Expected 3 or 4 saw "+t);}if(a!==512){v=e.slice(0,a);xa(v,28)}var w=e.slice(0,a);h(v,t);var k=v._R(4,"i");if(t===3&&k!==0)throw new Error("# Directory Sectors: Expected 0 saw "+k);v.l+=4;s=v._R(4,"i");v.l+=4;v.chk("00100000","Mini Stream Cutoff Size: ");f=v._R(4,"i");n=v._R(4,"i");l=v._R(4,"i");i=v._R(4,"i");for(var T=-1,A=0;A<109;++A){T=v._R(4,"i");if(T<0)break;o[A]=T}var y=u(e,a);p(l,i,y,a,o);var E=g(y,s,o,a);if(s0&&f!==L)E[f].name="!MiniFAT";E[o[0]].name="!FAT";E.fat_addrs=o;E.ssz=a;var C={},_=[],S=[],x=[];b(s,E,y,_,n,C,S,f);d(S,x,_);_.shift();var O={FileIndex:S,FullPaths:x};if(r&&r.raw)O.raw={header:w,sectors:y};return O}function c(e){if(e[e.l]==80&&e[e.l+1]==75)return[0,0];e.chk(B,"Header Signature: ");e.l+=16;var r=e._R(2,"u");return[e._R(2,"u"),r]}function h(e,r){var t=9;e.l+=2;switch(t=e._R(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 u(e,r){var t=Math.ceil(e.length/r)-1;var a=[];for(var n=1;n0&&s>=0){i.push(r.slice(s*D,s*D+D));n-=D;s=ka(t,s*4)}if(i.length===0)return Ia(0);return P(i).slice(0,e.size)}function p(e,r,t,a,n){var i=L;if(e===L){if(r!==0)throw new Error("DIFAT chain shorter than expected")}else if(e!==-1){var s=t[e],f=(a>>>2)-1;if(!s)return;for(var l=0;l=1)p(ka(s,a-4),r-1,t,a,n)}}function m(e,r,t,a,n){var i=[],s=[];if(!n)n=[];var f=a-1,l=0,o=0;for(l=r;l>=0;){n[l]=true;i[i.length]=l;s.push(e[l]);var c=t[Math.floor(l*4/a)];o=l*4&f;if(a<4+o)throw new Error("FAT boundary crossed: "+l+" 4 "+a);if(!e[c])break;l=ka(e[c],o)}return{nodes:i,data:Yt([s])}}function g(e,r,t,a){var n=e.length,i=[];var s=[],f=[],l=[];var o=a-1,c=0,h=0,u=0,d=0;for(c=0;c=n)u-=n;if(s[u])continue;l=[];var v=[];for(h=u;h>=0;){v[h]=true;s[h]=true;f[f.length]=h;l.push(e[h]);var p=t[Math.floor(h*4/a)];d=h*4&o;if(a<4+d)throw new Error("FAT boundary crossed: "+h+" 4 "+a);if(!e[p])break;h=ka(e[p],d);if(v[h])break}i[u]={nodes:f,data:Yt([l])}}return i}function b(e,r,t,a,n,i,s,f){var l=0,o=a.length?2:0;var c=r[e].data;var h=0,u=0,d;for(;h0&&l!==L)r[l].name="!StreamData"}else if(g.size>=4096){g.storage="fat";if(r[g.start]===undefined)r[g.start]=m(t,g.start,r.fat_addrs,r.ssz);r[g.start].name=g.name;g.content=r[g.start].data.slice(0,g.size)}else{g.storage="minifat";if(g.size<0)g.size=0;else if(l!==L&&g.start!==L&&r[l]){g.content=v(g,r[l].data,(r[f]||{}).data)}}if(g.content)xa(g.content,0);i[d]=g;s.push(g)}}function w(e,r){return new Date((wa(e,r+4)/1e7*Math.pow(2,32)+wa(e,r)/1e7-11644473600)*1e3)}function k(e,r){l();return o(f.readFileSync(e),r)}function A(e,r){var t=r&&r.type;if(!t){if(C&&Buffer.isBuffer(e))t="buffer"}switch(t||"base64"){case"file":return k(e,r);case"base64":return o(I(E(e)),r);case"binary":return o(I(e),r);}return o(e,r)}function y(e,r){var t=r||{},a=t.root||"Root Entry";if(!e.FullPaths)e.FullPaths=[];if(!e.FileIndex)e.FileIndex=[];if(e.FullPaths.length!==e.FileIndex.length)throw new Error("inconsistent CFB structure");if(e.FullPaths.length===0){e.FullPaths[0]=a+"/";e.FileIndex[0]={name:a,type:5}}if(t.CLSID)e.FileIndex[0].clsid=t.CLSID;S(e)}function S(e){var r="Sh33tJ5";if(Qe.find(e,"/"+r))return;var t=Ia(4);t[0]=55;t[1]=t[3]=50;t[2]=54;e.FileIndex.push({name:r,type:2,content:t,size:4,L:69,R:69,C:69});e.FullPaths.push(e.FullPaths[0]+r);R(e)}function R(e,n){y(e);var i=false,s=false;for(var f=e.FullPaths.length-1;f>=0;--f){var l=e.FileIndex[f];switch(l.type){case 0:if(s)i=true;else{e.FileIndex.pop();e.FullPaths.pop()}break;case 1:;case 2:;case 5:s=true;if(isNaN(l.R*l.L*l.C))i=true;if(l.R>-1&&l.L>-1&&l.R==l.L)i=true;break;default:i=true;break;}}if(!i&&!n)return;var o=new Date(1987,1,19),c=0;var h=Object.create?Object.create(null):{};var u=[];for(f=0;f1?1:-1;v.size=0;v.type=5}else if(p.slice(-1)=="/"){for(c=f+1;c=u.length?-1:c;for(c=f+1;c=u.length?-1:c;v.type=1}else{if(t(e.FullPaths[f+1]||"")==t(p))v.R=f+1;v.type=2}}}function N(e,r){var t=r||{};if(t.fileType=="mad")return ze(e,t);R(e);switch(t.fileType){case"zip":return Fe(e,t);}var a=function(e){var r=0,t=0;for(var a=0;a0){if(i<4096)r+=i+63>>6;else t+=i+511>>9}}var s=e.FullPaths.length+3>>2;var f=r+7>>3;var l=r+127>>7;var o=f+t+s+l;var c=o+127>>7;var h=c<=109?0:Math.ceil((c-109)/127);while(o+c+h+127>>7>c)h=++c<=109?0:Math.ceil((c-109)/127);var u=[1,h,c,l,s,t,r,0];e.FileIndex[0].size=r<<6;u[7]=(e.FileIndex[0].start=u[0]+u[1]+u[2]+u[3]+u[4]+u[5])+(u[6]+7>>3);return u}(e);var n=Ia(a[7]<<9);var i=0,s=0;{for(i=0;i<8;++i)n._W(1,W[i]);for(i=0;i<8;++i)n._W(2,0);n._W(2,62);n._W(2,3);n._W(2,65534);n._W(2,9);n._W(2,6);for(i=0;i<3;++i)n._W(2,0);n._W(4,0);n._W(4,a[2]);n._W(4,a[0]+a[1]+a[2]+a[3]-1);n._W(4,0);n._W(4,1<<12);n._W(4,a[3]?a[0]+a[1]+a[2]-1:L);n._W(4,a[3]);n._W(-4,a[1]?a[0]-1:L);n._W(4,a[1]);for(i=0;i<109;++i)n._W(-4,i>9)}f(a[6]+7>>3);while(n.l&511)n._W(-4,H.ENDOFCHAIN);s=i=0;for(l=0;l=4096)continue;c.start=s;f(o+63>>6)}while(n.l&511)n._W(-4,H.ENDOFCHAIN);for(i=0;i31){console.error("Name "+u+" will be truncated to "+u.slice(0,31));u=u.slice(0,31)}o=2*(u.length+1);n._W(64,u,"utf16le");n._W(2,o);n._W(1,c.type);n._W(1,c.color);n._W(-4,c.L);n._W(-4,c.R);n._W(-4,c.C);if(!c.clsid)for(l=0;l<4;++l)n._W(4,0);else n._W(16,c.clsid,"hex");n._W(4,c.state||0);n._W(4,0);n._W(4,0);n._W(4,0);n._W(4,0);n._W(4,c.start);n._W(4,c.size);n._W(4,0)}for(i=1;i=4096){n.l=c.start+1<<9;if(C&&Buffer.isBuffer(c.content)){c.content.copy(n,n.l,0,c.size);n.l+=c.size+511&-512}else{for(l=0;l0&&c.size<4096){if(C&&Buffer.isBuffer(c.content)){c.content.copy(n,n.l,0,c.size);n.l+=c.size+63&-64}else{for(l=0;l>16|r>>8|r)&255}var ee=typeof Uint8Array!=="undefined";var re=ee?new Uint8Array(1<<8):[];for(var te=0;te<1<<8;++te)re[te]=Q(te);function ae(e,r){var t=re[e&255];if(r<=8)return t>>>8-r;t=t<<8|re[e>>8&255];if(r<=16)return t>>>16-r;t=t<<8|re[e>>16&255];return t>>>24-r}function ne(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=6?0:e[a+1]<<8))>>>t&3}function ie(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=5?0:e[a+1]<<8))>>>t&7}function se(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=4?0:e[a+1]<<8))>>>t&15}function fe(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=3?0:e[a+1]<<8))>>>t&31}function le(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=1?0:e[a+1]<<8))>>>t&127}function oe(e,r,t){var a=r&7,n=r>>>3,i=(1<>>a;if(t<8-a)return s&i;s|=e[n+1]<<8-a;if(t<16-a)return s&i;s|=e[n+2]<<16-a;if(t<24-a)return s&i;s|=e[n+3]<<24-a;return s&i}function ce(e,r,t){var a=r&7,n=r>>>3;if(a<=5)e[n]|=(t&7)<>8-a}return r+3}function he(e,r,t){var a=r&7,n=r>>>3;t=(t&1)<>>3;t<<=a;e[n]|=t&255;t>>>=8;e[n+1]=t;return r+8}function de(e,r,t){var a=r&7,n=r>>>3;t<<=a;e[n]|=t&255;t>>>=8;e[n+1]=t&255;e[n+2]=t>>>8;return r+16}function ve(e,r){var t=e.length,a=2*t>r?2*t:r+5,n=0;if(t>=r)return e;if(C){var i=O(a);if(e.copy)e.copy(i);else for(;n>a-h;for(s=(1<=0;--s)r[f|s<0)r[r.l++]=e[t++]}return r.l}function i(r,t){var n=0;var i=0;var s=ee?new Uint16Array(32768):[];while(i0)t[t.l++]=r[i++];n=t.l*8;continue}n=ce(t,n,+!!(i+f==r.length)+2);var l=0;while(f-- >0){var o=r[i];l=(l<<5^o)&32767;var c=-1,h=0;if(c=s[l]){c|=i&~32767;if(c>i)c-=32768;if(c2){o=a[h];if(o<=22)n=ue(t,n,re[o+1]>>1)-1;else{ue(t,n,3);n+=5;ue(t,n,re[o-23]>>5);n+=3}var u=o<8?0:o-4>>2;if(u>0){de(t,n,h-J[o]);n+=u}o=e[i-c];n=ue(t,n,re[o]>>3);n-=3;var d=o<4?0:o-2>>1;if(d>0){de(t,n,i-c-q[o]);n+=d}for(var v=0;v>8-v;for(var p=(1<<7-v)-1;p>=0;--p)Ee[d|p<>>=3){case 16:i=3+ne(e,r);r+=2;d=m[m.length-1];while(i-- >0)m.push(d);break;case 17:i=3+ie(e,r);r+=3;while(i-- >0)m.push(0);break;case 18:i=11+le(e,r);r+=7;while(i-- >0)m.push(0);break;default:m.push(d);if(l>>0;var f=0,l=0;while((a&1)==0){a=ie(e,t);t+=3;if(a>>>1==0){if(t&7)t+=8-(t&7);var o=e[t>>>3]|e[(t>>>3)+1]<<8;t+=32;if(o>0){if(!r&&s0){n[i++]=e[t>>>3];t+=8}}continue}else if(a>>1==1){f=9;l=5}else{t=Se(e,t);f=Ce;l=_e}for(;;){if(!r&&s>>1==1?ge[c]:Ae[c];t+=h&15;h>>>=4;if((h>>>8&255)===0)n[i++]=h;else if(h==256)break;else{h-=257;var u=h<8?0:h-4>>2;if(u>5)u=0;var d=i+J[h];if(u>0){d+=oe(e,t,u);t+=u}c=oe(e,t,l);h=a>>>1==1?be[c]:ye[c];t+=h&15;h>>>=4;var v=h<4?0:h-2>>1;var p=q[h];if(v>0){p+=oe(e,t,v);t+=v}if(!r&&s>>3];return[n.slice(0,i),t+7>>>3]}function Oe(e,r){var t=e.slice(e.l||0);var a=xe(t,r);e.l+=a[1];return a[0]}function Ie(e,r){if(e){if(typeof console!=="undefined")console.error(r)}else throw new Error(r)}function Re(e,r){var t=e;xa(t,0);var a=[],n=[];var i={FileIndex:a,FullPaths:n};y(i,{ +root:r.root});var f=t.length-4;while((t[f]!=80||t[f+1]!=75||t[f+2]!=5||t[f+3]!=6)&&f>=0)--f;t.l=f+4;t.l+=4;var l=t._R(2);t.l+=6;var o=t._R(4);t.l=o;for(f=0;f0){t=t.slice(0,t.length-1);t=t.slice(0,t.lastIndexOf("/")+1);if(i.slice(0,t.length)==t)break}}var s=(a[1]||"").match(/boundary="(.*?)"/);if(!s)throw new Error("MAD cannot find boundary");var f="--"+(s[1]||"");var l=[],o=[];var c={FileIndex:l,FullPaths:o};y(c);var h,u=0;for(n=0;n=32&&d<128)++h;var p=h>=u*4/5;n.push(a);n.push("Content-Location: "+(t.root||"file:///C:/SheetJS/")+s);n.push("Content-Transfer-Encoding: "+(p?"quoted-printable":"base64"));n.push("Content-Type: "+Pe(f,s));n.push("");n.push(p?Me(c):Le(c))}n.push(a+"--\r\n");return n.join("\r\n")}function He(e){var r={};y(r,e);return r}function Ve(e,r,t,n){var i=n&&n.unsafe;if(!i)y(e);var s=!i&&Qe.find(e,r);if(!s){var f=e.FullPaths[0];if(r.slice(0,f.length)==f)f=r;else{if(f.slice(-1)!="/")f+="/";f=(f+r).replace("//","/")}s={name:a(r),type:2};e.FileIndex.push(s);e.FullPaths.push(f);if(!i)Qe.utils.cfb_gc(e)}s.content=t;s.size=t?t.length:0;if(n){if(n.CLSID)s.clsid=n.CLSID;if(n.mt)s.mt=n.mt;if(n.ct)s.ct=n.ct}return s}function $e(e,r){y(e);var t=Qe.find(e,r);if(t)for(var a=0;a=60&&e<61)return e;var r=new Date;r.setTime((e>60?e:e+1)*24*60*60*1e3+cr);return r}function pr(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].slice(n[i].length-1)){case"Y":throw new Error("Unsupported ISO Duration Field: "+n[i].slice(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 mr=/^(\d+):(\d+)(:\d+)?(\.\d+)?$/;var gr=/^(\d+)-(\d+)-(\d+)$/;var br=/^(\d+)-(\d+)-(\d+)[T ](\d+):(\d+)(:\d+)?(\.\d+)?$/;function wr(e,r){if(e instanceof Date)return e;var t=e.match(mr);if(t)return new Date((r?ur:hr)+((parseInt(t[1],10)*60+parseInt(t[2],10))*60+(t[3]?parseInt(t[3].slice(1),10):0))*1e3+(t[4]?parseInt((t[4]+"000").slice(1,4),10):0));t=e.match(gr);if(t)return new Date(Date.UTC(+t[1],+t[2]-1,+t[3],0,0,0,0));t=e.match(br);if(t)return new Date(Date.UTC(+t[1],+t[2]-1,+t[3],+t[4],+t[5],t[6]&&parseInt(t[6].slice(1),10)||0,t[7]&&parseInt((t[7]+"0000").slice(1,4),10)||0));var a=new Date(e);return a}function kr(e,r){if(C&&Buffer.isBuffer(e)){if(r&&S){if(e[0]==255&&e[1]==254)return It(e.slice(2).toString("utf16le"));if(e[1]==254&&e[2]==255)return It(d(e.slice(2).toString("binary")))}return e.toString("binary")}if(typeof TextDecoder!=="undefined")try{if(r){if(e[0]==255&&e[1]==254)return It(new TextDecoder("utf-16le").decode(e.slice(2)));if(e[0]==254&&e[1]==255)return It(new TextDecoder("utf-16be").decode(e.slice(2)))}var t={"€":"€","‚":"‚","ƒ":"ƒ","„":"„","…":"…","†":"†","‡":"‡","ˆ":"ˆ","‰":"‰","Š":"Š","‹":"‹","Œ":"Œ","Ž":"Ž","‘":"‘","’":"’","“":"“","”":"”","•":"•","–":"–","—":"—","˜":"˜","™":"™","š":"š","›":"›","œ":"œ","ž":"ž","Ÿ":"Ÿ"};if(Array.isArray(e))e=new Uint8Array(e);return new TextDecoder("latin1").decode(e).replace(/[€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ]/g,function(e){return t[e]||e})}catch(a){}var n=[],i=0;try{for(i=0;i3&&Ir.indexOf(r)==-1)return i}else if(r.replace(/[ap]m?/,"").match(/[a-z]/))return i;if(s<0||s>8099||e.match(/[^-0-9:,\/\\\ ]/))return i;return n}var Nr=function(){var e="abacaba".split(/(:?b)/i).length==5;return function r(t,a,n){if(e||typeof a=="string")return t.split(a);var i=t.split(a),s=[i[0]];for(var f=1;f-1){var i=e.indexOf(t,n+r.length);if(i==-1)break;a.push(e.slice(n,i+t.length));n=e.indexOf(r,i+t.length)}return a.length>0?a:null}function Mr(e,r,t){var a=[],n=0;var i=e.indexOf(r);if(i==-1)return e;while(i>-1){a.push(e.slice(n,i));var s=e.indexOf(t,i+r.length);if(s==-1)break;if((i=e.indexOf(r,n=s+t.length))==-1)a.push(e.slice(n))}return a.join("")}var Ur={" ":1,"\t":1,"\r":1,"\n":1,">":1};function Br(e,r){var t=e.indexOf("<"+r),a=r.length+1,n=e.length;while(t>=0&&t<=n-a&&!Ur[e.charAt(t+a)])t=e.indexOf("<"+r,t+1);if(t===-1)return null;var i=e.indexOf(">",t+r.length);if(i===-1)return null;var s="";var f=e.indexOf(s,i);if(f==-1)return null;return[e.slice(t,f+s.length),e.slice(i+1,f)]}var Wr=function(){var e={};return function r(t,a){var n=e[a];if(!n)e[a]=n=[new RegExp("<(?:\\w+:)?"+a+"\\b[^<>]*>","g"),new RegExp("","g")];n[0].lastIndex=n[1].lastIndex=0;var i=n[0].exec(t);if(!i)return null;var s=i.index;var f=n[0].lastIndex;n[1].lastIndex=n[0].lastIndex;i=n[1].exec(t);if(!i)return null;var l=i.index;var o=n[1].lastIndex;return[t.slice(s,o),t.slice(f,l)]}}();var zr=function(){var e={};return function r(t,a){var n=[];var i=e[a];if(!i)e[a]=i=[new RegExp("<(?:\\w+:)?"+a+"\\b[^<>]*>","g"),new RegExp("","g")];i[0].lastIndex=i[1].lastIndex=0;var s;while(s=i[0].exec(t)){var f=s.index;i[1].lastIndex=i[0].lastIndex;s=i[1].exec(t);if(!s)return null;var l=i[1].lastIndex;n.push(t.slice(f,l));i[0].lastIndex=i[1].lastIndex}return n.length==0?null:n}}();var Hr=function(){var e={};return function r(t,a){var n=[];var i=e[a];if(!i)e[a]=i=[new RegExp("<(?:\\w+:)?"+a+"\\b[^<>]*>","g"),new RegExp("","g")];i[0].lastIndex=i[1].lastIndex=0;var s;var f=0,l=0;while(s=i[0].exec(t)){f=s.index;n.push(t.slice(l,f));l=f;i[1].lastIndex=i[0].lastIndex;s=i[1].exec(t);if(!s)return null;l=i[1].lastIndex;i[0].lastIndex=i[1].lastIndex}n.push(t.slice(l));return n.length==0?"":n.join("")}}();var Vr=function(){var e={};return function r(t,a){var n=[];var i=e[a];if(!i)e[a]=i=[new RegExp("<"+a+"\\b[^<>]*>","ig"),new RegExp("","ig")];i[0].lastIndex=i[1].lastIndex=0;var s;while(s=i[0].exec(t)){var f=s.index;i[1].lastIndex=i[0].lastIndex;s=i[1].exec(t);if(!s)return null;var l=i[1].lastIndex;n.push(t.slice(f,l));i[0].lastIndex=i[1].lastIndex}return n.length==0?null:n}}();function $r(e){if(!e)return null;if(e.content&&e.type)return kr(e.content,true);if(e.data)return v(e.data);if(e.asNodeBuffer&&C)return v(e.asNodeBuffer().toString("binary"));if(e.asBinary)return v(e.asBinary());if(e._data&&e._data.getContent)return v(kr(Array.prototype.slice.call(e._data.getContent(),0)));return null}function Xr(e){if(!e)return null;if(e.data)return c(e.data);if(e.asNodeBuffer&&C)return e.asNodeBuffer();if(e._data&&e._data.getContent){var r=e._data.getContent();if(typeof r=="string")return c(r);return Array.prototype.slice.call(r)}if(e.content&&e.type)return e.content;return null}function Gr(e){return e&&e.name.slice(-4)===".bin"?Xr(e):$r(e)}function jr(e,r){var t=e.FullPaths||ir(e.files);var a=r.toLowerCase().replace(/[\/]/g,"\\"),n=a.replace(/\\/g,"/");for(var i=0;i\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g;var it=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?<>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'"<>\s=]+))*\s*[\/\?]?>/gm,st=/<[^<>]*>/g;var ft=at.match(it)?it:st;var lt=/<\w*:/,ot=/<(\/?)\w+:/;function ct(e,r,t){var a={};var n=0,i=0;for(;n!==e.length;++n)if((i=e.charCodeAt(n))===32||i===10||i===13)break;if(!r)a[0]=e.slice(0,n);if(n===e.length)return a;var s=e.match(nt),f=0,l="",o=0,c="",h="",u=1;if(s)for(o=0;o!=s.length;++o){h=s[o].slice(1);for(i=0;i!=h.length;++i)if(h.charCodeAt(i)===61)break;c=h.slice(0,i).trim();while(h.charCodeAt(i+1)==32)++i;u=(n=h.charCodeAt(i+1))==34||n==39?1:0;l=h.slice(i+1+u,h.length-u);for(f=0;f!=c.length;++f)if(c.charCodeAt(f)===58)break;if(f===c.length){if(c.indexOf("_")>0)c=c.slice(0,c.indexOf("_"));a[c]=l;if(!t)a[c.toLowerCase()]=l}else{var d=(f===5&&c.slice(0,5)==="xmlns"?"xmlns":"")+c.slice(f+1);if(a[d]&&c.slice(f-3,f)=="ext")continue;a[d]=l;if(!t)a[d.toLowerCase()]=l}}return a}function ht(e){return e.replace(ot,"<$1")}var ut={""":'"',"'":"'",">":">","<":"<","&":"&"};var dt=fr(ut);var vt=function(){var e=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/gi,r=/_x([\da-fA-F]{4})_/gi;function t(a){var n=a+"",i=n.indexOf("-1?16:10))||e}).replace(r,function(e,r){return String.fromCharCode(parseInt(r,16))});var s=n.indexOf("]]>");return t(n.slice(0,i))+n.slice(i+9,s)+t(n.slice(s+3))}return function a(e,r){var a=t(e);return r?a.replace(/\r\n/g,"\n"):a}}();var pt=/[&<>'"]/g,mt=/[\u0000-\u0008\u000b-\u001f\uFFFE-\uFFFF]/g;function gt(e){var r=e+"";return r.replace(pt,function(e){return dt[e]}).replace(mt,function(e){return"_x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+"_"})}function bt(e){return gt(e).replace(/ /g,"_x0020_")}var wt=/[\u0000-\u001f]/g;function kt(e){var r=e+"";return r.replace(pt,function(e){return dt[e]}).replace(/\n/g,"
").replace(wt,function(e){return"&#x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+";"})}function Tt(e){var r=e+"";return r.replace(pt,function(e){return dt[e]}).replace(wt,function(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"})}var At=function(){var e=/&#(\d+);/g;function r(e,r){return String.fromCharCode(parseInt(r,10))}return function t(a){return a.replace(e,r)}}();function yt(e){return e.replace(/(\r\n|[\r\n])/g," ")}function Et(e){switch(e){case 1:;case true:;case"1":;case"true":return true;case 0:;case false:;case"0":;case"false":return false;}return false}function Ct(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}function _t(e){var r=x(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")}function St(e){return _(e,"binary").toString("utf8")}var xt="foo bar baz☃🍣";var Ot=C&&(St(xt)==Ct(xt)&&St||_t(xt)==Ct(xt)&&_t)||Ct;var It=C?function(e){return _(e,"utf8").toString("binary")}:function(e){var r=[],t=0,a=0,n=0;while(t>6)));r.push(String.fromCharCode(128+(a&63)));break;case a>=55296&&a<57344:a-=55296;n=e.charCodeAt(t++)-56320+(a<<10);r.push(String.fromCharCode(240+(n>>18&7)));r.push(String.fromCharCode(144+(n>>12&63)));r.push(String.fromCharCode(128+(n>>6&63)));r.push(String.fromCharCode(128+(n&63)));break;default:r.push(String.fromCharCode(224+(a>>12)));r.push(String.fromCharCode(128+(a>>6&63)));r.push(String.fromCharCode(128+(a&63)));}}return r.join("")};var Rt=function(){var e=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map(function(e){return[new RegExp("&"+e[0]+";","ig"),e[1]]});return function r(t){var a=t.replace(/^[\t\n\r ]+/,"").replace(/(^|[^\t\n\r ])[\t\n\r ]+$/,"$1").replace(/>\s+/g,">").replace(/\b\s+/g,"\n").replace(/<[^<>]*>/g,"");for(var n=0;n/g,Ft=/<(?:vt:)([^<"'>]*)>([\s\S]*)"+r+""}function Mt(e){return ir(e).map(function(r){return" "+r+'="'+e[r]+'"'}).join("")}function Ut(e,r,t){return"<"+e+(t!=null?Mt(t):"")+(r!=null?(r.match(Pt)?' xml:space="preserve"':"")+">"+r+""}function Bt(e,r){try{return e.toISOString().replace(/\.\d*/,"")}catch(t){if(r)throw t}return""}function Wt(e,r){switch(typeof e){case"string":var t=Ut("vt:lpwstr",gt(e));if(r)t=t.replace(/"/g,"_x0022_");return t;case"number":return Ut((e|0)==e?"vt:i4":"vt:r8",gt(String(e)));case"boolean":return Ut("vt:bool",e?"true":"false");}if(e instanceof Date)return Ut("vt:filetime",Bt(e));throw new Error("Unable to serialize "+e)}function zt(e){if(C&&Buffer.isBuffer(e))return e.toString("utf8");if(typeof e==="string")return e;if(typeof Uint8Array!=="undefined"&&e instanceof Uint8Array)return Ot(N(D(e)));throw new Error("Bad input format: expected Buffer or string")}var Ht=/<([\/]?)([^\s?>:\/"]+)(?:\s+[^<>=?"'\s]+="[^"]*?")*\s*[\/]?>/gm;var Vt={CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",CT:"http://schemas.openxmlformats.org/package/2006/content-types",RELS:"http://schemas.openxmlformats.org/package/2006/relationships",TCMNT:"http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments",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"};var $t=["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 Xt={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 Gt(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 jt(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 if(s==0)n=i=0;else{n=Math.floor(Math.log(s)/Math.LN2);i=s*Math.pow(2,52-n);if(n<=-1023&&(!isFinite(i)||i>4|a}var Kt=function(e){var r=[],t=10240;for(var a=0;a0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0].map(function(e){return Buffer.isBuffer(e)?e:_(e)})):Kt(e)}:Kt;var Zt=function(e,r,t){var a=[];for(var n=r;n0?ra(e,r+4,r+4+t-1):""};var aa=ta;var na=function(e,r){var t=wa(e,r);return t>0?ra(e,r+4,r+4+t-1):""};var ia=na;var sa=function(e,r){var t=2*wa(e,r);return t>0?ra(e,r+4,r+4+t-1):""};var fa=sa;var la=function hT(e,r){var t=wa(e,r);return t>0?Jt(e,r+4,r+4+t):""};var oa=la;var ca=function(e,r){var t=wa(e,r);return t>0?ra(e,r+4,r+4+t):""};var ha=ca;var ua=function(e,r){return Gt(e,r)};var da=ua;var va=function uT(e){return Array.isArray(e)||typeof Uint8Array!=="undefined"&&e instanceof Uint8Array};if(C){aa=function dT(e,r){if(!Buffer.isBuffer(e))return ta(e,r);var t=e.readUInt32LE(r);return t>0?e.toString("utf8",r+4,r+4+t-1):""};ia=function vT(e,r){if(!Buffer.isBuffer(e))return na(e,r);var t=e.readUInt32LE(r);return t>0?e.toString("utf8",r+4,r+4+t-1):""};fa=function pT(e,r){if(!Buffer.isBuffer(e)||!S)return sa(e,r);var t=2*e.readUInt32LE(r);return e.toString("utf16le",r+4,r+4+t-1)};oa=function mT(e,r){if(!Buffer.isBuffer(e)||!S)return la(e,r);var t=e.readUInt32LE(r);return e.toString("utf16le",r+4,r+4+t)};ha=function gT(e,r){if(!Buffer.isBuffer(e))return ca(e,r);var t=e.readUInt32LE(r);return e.toString("utf8",r+4,r+4+t); +};da=function bT(e,r){if(Buffer.isBuffer(e))return e.readDoubleLE(r);return ua(e,r)};va=function wT(e){return Buffer.isBuffer(e)||Array.isArray(e)||typeof Uint8Array!=="undefined"&&e instanceof Uint8Array}}function pa(){Jt=function(e,r,t){return a.utils.decode(1200,e.slice(r,t)).replace(M,"")};ra=function(e,r,t){return a.utils.decode(65001,e.slice(r,t))};aa=function(e,r){var n=wa(e,r);return n>0?a.utils.decode(t,e.slice(r+4,r+4+n-1)):""};ia=function(e,t){var n=wa(e,t);return n>0?a.utils.decode(r,e.slice(t+4,t+4+n-1)):""};fa=function(e,r){var t=2*wa(e,r);return t>0?a.utils.decode(1200,e.slice(r+4,r+4+t-1)):""};oa=function(e,r){var t=wa(e,r);return t>0?a.utils.decode(1200,e.slice(r+4,r+4+t)):""};ha=function(e,r){var t=wa(e,r);return t>0?a.utils.decode(65001,e.slice(r+4,r+4+t)):""}}if(typeof a!=="undefined")pa();var ma=function(e,r){return e[r]};var ga=function(e,r){return e[r+1]*(1<<8)+e[r]};var ba=function(e,r){var t=e[r+1]*(1<<8)+e[r];return t<32768?t:(65535-t+1)*-1};var wa=function(e,r){return e[r+3]*(1<<24)+(e[r+2]<<16)+(e[r+1]<<8)+e[r]};var ka=function(e,r){return e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]};var Ta=function(e,r){return e[r]<<24|e[r+1]<<16|e[r+2]<<8|e[r+3]};function Aa(e,t){var n="",i,s,f=[],l,o,c,h;switch(t){case"dbcs":h=this.l;if(C&&Buffer.isBuffer(this)&&S)n=this.slice(this.l,this.l+2*e).toString("utf16le");else for(c=0;c0?ka:Ta)(this,this.l);this.l+=4;return i}else{s=wa(this,this.l);this.l+=4}return s;case 8:;case-8:if(t==="f"){if(e==8)s=da(this,this.l);else s=da([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0);this.l+=8;return s}else e=8;case 16:n=Qt(this,this.l,e);break;};}this.l+=e;return n}var ya=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 Ea=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 Ca=function(e,r,t){e[t]=r&255;e[t+1]=r>>>8&255};function _a(e,n,i){var s=0,f=0;if(i==="dbcs"){for(f=0;f!=n.length;++f)Ca(this,n.charCodeAt(f),this.l+2*f);s=2*n.length}else if(i==="sbcs"||i=="cpstr"){if(typeof a!=="undefined"&&t==874){for(f=0;f!=n.length;++f){var l=a.utils.encode(t,n.charAt(f));this[this.l+f]=l[0]}s=n.length}else if(typeof a!=="undefined"&&i=="cpstr"){l=a.utils.encode(r,n);if(l.length==n.length)for(f=0;f>8}while(this.l>>=8;this[this.l+1]=n&255;break;case 3:s=3;this[this.l]=n&255;n>>>=8;this[this.l+1]=n&255;n>>>=8;this[this.l+2]=n&255;break;case 4:s=4;ya(this,n,this.l);break;case 8:s=8;if(i==="f"){jt(this,n,this.l);break};case 16:break;case-4:s=4;Ea(this,n,this.l);break;}this.l+=s;return this}function Sa(e,r){var t=Qt(this,this.l,e.length>>1);if(t!==e)throw new Error(r+"Expected "+e+" saw "+t);this.l+=e.length>>1}function xa(e,r){e.l=r;e._R=Aa;e.chk=Sa;e._W=_a}function Oa(e,r){e.l+=r}function Ia(e){var r=x(e);xa(r,0);return r}function Ra(e,r,t){if(!e)return;var a,n,i;xa(e,e.l||0);var s=e.length,f=0,l=0;while(e.la.l){a=a.slice(0,a.l);a.l=a.length}if(a.length>0)e.push(a)}a=null};var i=function c(e){if(a&&e=128?1:0)+1;if(a>=128)++i;if(a>=16384)++i;if(a>=2097152)++i;var s=e.next(i);if(n<=127)s._W(1,n);else{s._W(1,(n&127)+128);s._W(1,n>>7)}for(var f=0;f!=4;++f){if(a>=128){s._W(1,(a&127)+128);a>>=7}else{s._W(1,a);break}}if(a>0&&va(t))e.push(t)}function Da(e,r,t){var a=Tr(e);if(r.s){if(a.cRel)a.c+=r.s.c;if(a.rRel)a.r+=r.s.r}else{if(a.cRel)a.c+=r.c;if(a.rRel)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 Pa(e,r,t){var a=Tr(e);a.s=Da(a.s,r.s,t);a.e=Da(a.e,r.s,t);return a}function La(e,r){if(e.cRel&&e.c<0){e=Tr(e);while(e.c<0)e.c+=r>8?16384:256}if(e.rRel&&e.r<0){e=Tr(e);while(e.r<0)e.r+=r>8?1048576:r>5?65536:16384}var t=Ka(e);if(!e.cRel&&e.cRel!=null)t=$a(t);if(!e.rRel&&e.rRel!=null)t=Wa(t);return t}function Ma(e,r){if(e.s.r==0&&!e.s.rRel){if(e.e.r==(r.biff>=12?1048575:r.biff>=8?65536:16384)&&!e.e.rRel){return(e.s.cRel?"":"$")+Va(e.s.c)+":"+(e.e.cRel?"":"$")+Va(e.e.c)}}if(e.s.c==0&&!e.s.cRel){if(e.e.c==(r.biff>=12?16383:255)&&!e.e.cRel){return(e.s.rRel?"":"$")+Ba(e.s.r)+":"+(e.e.rRel?"":"$")+Ba(e.e.r)}}return La(e.s,r.biff)+":"+La(e.e,r.biff)}if(typeof cptable!=="undefined")g(cptable);else if(typeof module!=="undefined"&&typeof require!=="undefined"){g(undefined)}function Ua(e){return parseInt(za(e),10)-1}function Ba(e){return""+(e+1)}function Wa(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}function za(e){return e.replace(/\$(\d+)$/,"$1")}function Ha(e){var r=Xa(e),t=0,a=0;for(;a!==r.length;++a)t=26*t+r.charCodeAt(a)-64;return t-1}function Va(e){if(e<0)throw new Error("invalid column "+e);var r="";for(++e;e;e=Math.floor((e-1)/26))r=String.fromCharCode((e-1)%26+65)+r;return r}function $a(e){return e.replace(/^([A-Z])/,"$$$1")}function Xa(e){return e.replace(/^\$([A-Z])/,"$1")}function Ga(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function ja(e){var r=0,t=0;for(var a=0;a=48&&n<=57)r=10*r+(n-48);else if(n>=65&&n<=90)t=26*t+(n-64)}return{c:t-1,r:r-1}}function Ka(e){var r=e.c+1;var t="";for(;r;r=(r-1)/26|0)t=String.fromCharCode((r-1)%26+65)+t;return t+(e.r+1)}function Ya(e){var r=e.indexOf(":");if(r==-1)return{s:ja(e),e:ja(e)};return{s:ja(e.slice(0,r)),e:ja(e.slice(r+1))}}function Za(e,r){if(typeof r==="undefined"||typeof r==="number"){return Za(e.s,e.e)}if(typeof e!=="string")e=Ka(e);if(typeof r!=="string")r=Ka(r);return e==r?e:e+":"+r}function Ja(e){var r=Ya(e);return"$"+Va(r.s.c)+"$"+Ba(r.s.r)+":$"+Va(r.e.c)+"$"+Ba(r.e.r)}function qa(e,r){if(!e&&!(r&&r.biff<=5&&r.biff>=2))throw new Error("empty sheet name");if(/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(e))return"'"+e.replace(/'/g,"''")+"'";return e}function Qa(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||n!=10){r.e.c=r.s.c;r.e.r=r.s.r;return r}++a;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 en(e,r){var t=e.t=="d"&&r instanceof Date;if(e.z!=null)try{return e.w=ze(e.z,t?dr(r):r)}catch(a){}try{return e.w=ze((e.XF||{}).numFmtId||(t?14:0),t?dr(r):r)}catch(a){return""+r}}function rn(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(e.t=="e")return oi[e.v]||e.v;if(r==undefined)return en(e,e.v);return en(e,r)}function tn(e,r){var t=r&&r.sheet?r.sheet:"Sheet1";var a={};a[t]=e;return{SheetNames:[t],Sheets:a}}function an(e){var r={};var t=e||{};if(t.dense)r["!data"]=[];return r}function nn(e,r,t){var a=t||{};var n=e?e["!data"]!=null:a.dense;if(b!=null&&n==null)n=b;var i=e||{};if(n&&!i["!data"])i["!data"]=[];var s=0,f=0;if(i&&a.origin!=null){if(typeof a.origin=="number")s=a.origin;else{var l=typeof a.origin=="string"?ja(a.origin):a.origin;s=l.r;f=l.c}}var o={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(i["!ref"]){var c=Qa(i["!ref"]);o.s.c=c.s.c;o.s.r=c.s.r;o.e.c=Math.max(o.e.c,c.e.c);o.e.r=Math.max(o.e.r,c.e.r);if(s==-1)o.e.r=s=i["!ref"]?c.e.r+1:0}else{o.s.c=o.e.c=o.s.r=o.e.r=0}var h=[],u=false;for(var d=0;d!=r.length;++d){if(!r[d])continue;if(!Array.isArray(r[d]))throw new Error("aoa_to_sheet expects an array of arrays");var v=s+d,p=""+(v+1);if(n){if(!i["!data"][v])i["!data"][v]=[];h=i["!data"][v]}for(var m=0;m!=r[d].length;++m){if(typeof r[d][m]==="undefined")continue;var g={v:r[d][m]};var w=f+m;if(o.s.r>v)o.s.r=v;if(o.s.c>w)o.s.c=w;if(o.e.r0)r._W(0,e,"dbcs");return t?r.slice(0,r.l):r}function hn(e){return{ich:e._R(2),ifnt:e._R(2)}}function un(e,r){if(!r)r=Ia(4);r._W(2,e.ich||0);r._W(2,e.ifnt||0);return r}function dn(e,r){var t=e.l;var a=e._R(1);var n=on(e);var i=[];var s={t:n,h:n};if((a&1)!==0){var f=e._R(4);for(var l=0;l!=f;++l)i.push(hn(e));s.r=i}else s.r=[{ich:0,ifnt:0}];e.l=t+r;return s}function vn(e,r){var t=false;if(r==null){t=true;r=Ia(15+4*e.t.length)}r._W(1,0);cn(e.t,r);return t?r.slice(0,r.l):r}var pn=dn;function mn(e,r){var t=false;if(r==null){t=true;r=Ia(23+4*e.t.length)}r._W(1,1);cn(e.t,r);r._W(4,1);un({ich:0,ifnt:0},r);return t?r.slice(0,r.l):r}function gn(e){var r=e._R(4);var t=e._R(2);t+=e._R(1)<<16;e.l++;return{c:r,iStyleRef:t}}function bn(e,r){if(r==null)r=Ia(8);r._W(-4,e.c);r._W(3,e.iStyleRef||e.s);r._W(1,0);return r}function wn(e){var r=e._R(2);r+=e._R(1)<<16;e.l++;return{c:-1,iStyleRef:r}}function kn(e,r){if(r==null)r=Ia(4);r._W(3,e.iStyleRef||e.s);r._W(1,0);return r}var Tn=on;var An=cn;function yn(e){var r=e._R(4);return r===0||r===4294967295?"":e._R(r,"dbcs")}function En(e,r){var t=false;if(r==null){t=true;r=Ia(127)}r._W(4,e.length>0?e.length:4294967295);if(e.length>0)r._W(0,e,"dbcs");return t?r.slice(0,r.l):r}var Cn=on;var _n=yn;var Sn=En;function xn(e){var r=e.slice(e.l,e.l+4);var t=r[0]&1,a=r[0]&2;e.l+=4;var n=a===0?da([0,0,0,0,r[0]&252,r[1],r[2],r[3]],0):ka(r,0)>>2;return t?n/100:n}function On(e,r){if(r==null)r=Ia(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._W(-4,((t?n:e)<<2)+(t+2));else throw new Error("unsupported RkNumber "+e)}function In(e){var r={s:{},e:{}};r.s.r=e._R(4);r.e.r=e._R(4);r.s.c=e._R(4);r.e.c=e._R(4);return r}function Rn(e,r){if(!r)r=Ia(16);r._W(4,e.s.r);r._W(4,e.e.r);r._W(4,e.s.c);r._W(4,e.e.c);return r}var Nn=In;var Fn=Rn;function Dn(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e._R(8,"f")}function Pn(e,r){return(r||Ia(8))._W(8,e,"f")}function Ln(e){var r={};var t=e._R(1);var a=t>>>1;var n=e._R(1);var i=e._R(2,"i");var s=e._R(1);var f=e._R(1);var l=e._R(1);e.l++;switch(a){case 0:r.auto=1;break;case 1:r.index=n;var o=li[n];if(o)r.rgb=Yo(o);break;case 2:r.rgb=Yo([s,f,l]);break;case 3:r.theme=n;break;}if(i!=0)r.tint=i>0?i/32767:i/32768;return r}function Mn(e,r){if(!r)r=Ia(8);if(!e||e.auto){r._W(4,0);r._W(4,0);return r}if(e.index!=null){r._W(1,2);r._W(1,e.index)}else if(e.theme!=null){r._W(1,6);r._W(1,e.theme)}else{r._W(1,5);r._W(1,0)}var t=e.tint||0;if(t>0)t*=32767;else if(t<0)t*=32768;r._W(2,t);if(!e.rgb||e.theme!=null){r._W(2,0);r._W(1,0);r._W(1,0)}else{var a=e.rgb||"FFFFFF";if(typeof a=="number")a=("000000"+a.toString(16)).slice(-6);r._W(1,parseInt(a.slice(0,2),16));r._W(1,parseInt(a.slice(2,4),16));r._W(1,parseInt(a.slice(4,6),16));r._W(1,255)}return r}function Un(e){var r=e._R(1);e.l++;var t={fBold:r&1,fItalic:r&2,fUnderline:r&4,fStrikeout:r&8,fOutline:r&16,fShadow:r&32,fCondense:r&64,fExtend:r&128};return t}function Bn(e,r){if(!r)r=Ia(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._W(1,t);r._W(1,0);return r}function Wn(e,r){var t={2:"BITMAP",3:"METAFILEPICT",8:"DIB",14:"ENHMETAFILE"};var a=e._R(4);switch(a){case 0:return"";case 4294967295:;case 4294967294:return t[e._R(4)]||"";}if(a>400)throw new Error("Unsupported Clipboard: "+a.toString(16));e.l-=4;return e._R(0,r==1?"lpstr":"lpwstr")}function zn(e){return Wn(e,1)}function Hn(e){return Wn(e,2)}var Vn=2;var $n=3;var Xn=11;var Gn=12;var jn=19;var Kn=64;var Yn=65;var Zn=71;var Jn=4108;var qn=4126;var Qn=80;var ei=81;var ri=[Qn,ei];var ti={1:{n:"CodePage",t:Vn},2:{n:"Category",t:Qn},3:{n:"PresentationFormat",t:Qn},4:{n:"ByteCount",t:$n},5:{n:"LineCount",t:$n},6:{n:"ParagraphCount",t:$n},7:{n:"SlideCount",t:$n},8:{n:"NoteCount",t:$n},9:{n:"HiddenCount",t:$n},10:{n:"MultimediaClipCount",t:$n},11:{n:"ScaleCrop",t:Xn},12:{n:"HeadingPairs",t:Jn},13:{n:"TitlesOfParts",t:qn},14:{n:"Manager",t:Qn},15:{n:"Company",t:Qn},16:{n:"LinksUpToDate",t:Xn},17:{n:"CharacterCount",t:$n},19:{n:"SharedDoc",t:Xn},22:{n:"HyperlinksChanged",t:Xn},23:{n:"AppVersion",t:$n,p:"version"},24:{n:"DigSig",t:Yn},26:{n:"ContentType",t:Qn},27:{n:"ContentStatus",t:Qn},28:{n:"Language",t:Qn},29:{n:"Version",t:Qn},255:{},2147483648:{n:"Locale",t:jn},2147483651:{n:"Behavior",t:jn},1919054434:{}};var ai={1:{n:"CodePage",t:Vn},2:{n:"Title",t:Qn},3:{n:"Subject",t:Qn},4:{n:"Author",t:Qn},5:{n:"Keywords",t:Qn},6:{n:"Comments",t:Qn},7:{n:"Template",t:Qn},8:{n:"LastAuthor",t:Qn},9:{n:"RevNumber",t:Qn},10:{n:"EditTime",t:Kn},11:{n:"LastPrinted",t:Kn},12:{n:"CreatedDate",t:Kn},13:{n:"ModifiedDate",t:Kn},14:{n:"PageCount",t:$n},15:{n:"WordCount",t:$n},16:{n:"CharCount",t:$n},17:{n:"Thumbnail",t:Zn},18:{n:"Application",t:Qn},19:{n:"DocSecurity",t:$n},255:{},2147483648:{n:"Locale",t:jn},2147483651:{n:"Behavior",t:jn},1919054434:{}};var ni={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 ii=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];function si(e){return e.map(function(e){return[e>>16&255,e>>8&255,e&255]})}var fi=si([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,0,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);var li=Tr(fi);var oi={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"};var ci={"#NULL!":0,"#DIV/0!":7,"#VALUE!":15,"#REF!":23,"#NAME?":29,"#NUM!":36,"#N/A":42,"#GETTING_DATA":43,"#WTF?":255};var hi=["_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"];var ui={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.sheet.macroEnabled.main+xml":"workbooks","application/vnd.ms-excel.sheet.binary.macroEnabled.main":"workbooks","application/vnd.ms-excel.addin.macroEnabled.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":"sheets","application/vnd.ms-excel.worksheet":"sheets","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"charts","application/vnd.ms-excel.chartsheet":"charts","application/vnd.ms-excel.macrosheet+xml":"macros","application/vnd.ms-excel.macrosheet":"macros","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"dialogs","application/vnd.ms-excel.dialogsheet":"dialogs","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":"strs","application/vnd.ms-excel.sharedStrings":"strs","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":"styles","application/vnd.ms-excel.styles":"styles","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.openxmlformats-officedocument.spreadsheetml.comments+xml":"comments","application/vnd.ms-excel.comments":"comments","application/vnd.ms-excel.threadedcomments+xml":"threadedcomments","application/vnd.ms-excel.person+xml":"people","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"metadata","application/vnd.ms-excel.sheetMetadata":"metadata","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+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.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":"TODO","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.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 di={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",xlam:"application/vnd.ms-excel.addin.macroEnabled.main+xml",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"},metadata:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml",xlsb:"application/vnd.ms-excel.sheetMetadata"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};function vi(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""}}function pi(e){var r=vi();if(!e||!e.match)return r;var t={};(e.match(ft)||[]).forEach(function(e){var a=ct(e);switch(a[0].replace(lt,"<")){case"0?r.calcchains[0]:"";r.sst=r.strs.length>0?r.strs[0]:"";r.style=r.styles.length>0?r.styles[0]:"";r.defaults=t;delete r.calcchains;return r}function mi(e,r,t){var a=or(ui);var n=[],i;if(!t){n[n.length]=at;n[n.length]=Ut("Types",null,{xmlns:Vt.CT,"xmlns:xsd":Vt.xsd,"xmlns:xsi":Vt.xsi});n=n.concat([["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["data","application/vnd.openxmlformats-officedocument.model+data"],["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","application/vnd.openxmlformats-package.relationships+xml"]].map(function(e){return Ut("Default",null,{Extension:e[0],ContentType:e[1]})}))}var s=function(t){if(e[t]&&e[t].length>0){i=e[t][0];n[n.length]=Ut("Override",null,{PartName:(i[0]=="/"?"":"/")+i,ContentType:di[t][r.bookType]||di[t]["xlsx"]})}};var f=function(t){(e[t]||[]).forEach(function(e){n[n.length]=Ut("Override",null,{PartName:(e[0]=="/"?"":"/")+e,ContentType:di[t][r.bookType]||di[t]["xlsx"]})})};var l=function(r){(e[r]||[]).forEach(function(e){n[n.length]=Ut("Override",null,{PartName:(e[0]=="/"?"":"/")+e,ContentType:a[r][0]})})};s("workbooks");f("sheets");f("charts");l("themes");["strs","styles"].forEach(s);["coreprops","extprops","custprops"].forEach(l);l("vba");l("comments");l("threadedcomments");l("drawings");f("metadata");l("people");if(!t&&n.length>2){n[n.length]="";n[1]=n[1].replace("/>",">")}return n.join("")}var gi={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",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",CMNT:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",SST:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",STY:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",THEME:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",CHART:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",CHARTEX:"http://schemas.microsoft.com/office/2014/relationships/chartEx",CS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet",WS:["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"],DS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",MS:"http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet",IMG:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",DRAW:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",XLMETA:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata",TCMNT:"http://schemas.microsoft.com/office/2017/10/relationships/threadedComment",PEOPLE:"http://schemas.microsoft.com/office/2017/10/relationships/person",CONN:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/connections",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function bi(e){var r=e.lastIndexOf("/");return e.slice(0,r+1)+"_rels/"+e.slice(r+1)+".rels"}function wi(e,r){var t={"!id":{}};if(!e)return t;if(r.charAt(0)!=="/"){r="/"+r}var a={};(e.match(ft)||[]).forEach(function(e){var n=ct(e);if(n[0]==="2){r[r.length]="";r[1]=r[1].replace("/>",">")}return r.join("")}function Ti(e,r,t,a,n,i){if(!n)n={};if(!e["!id"])e["!id"]={};if(!e["!idx"])e["!idx"]=1;if(r<0)for(r=e["!idx"];e["!id"]["rId"+r];++r){}e["!idx"]=r+1;n.Id="rId"+r;n.Type=a;n.Target=t;if(i)n.TargetMode=i;else if([gi.HLINK,gi.XPATH,gi.XMISS].indexOf(n.Type)>-1)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 Ai="application/vnd.oasis.opendocument.spreadsheet"; +function yi(e,r){var t=zt(e);var a;var n;while(a=Ht.exec(t))switch(a[3]){case"manifest":break;case"file-entry":n=ct(a[0],false);if(n.path=="/"&&n.type!==Ai)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 Ei(e){var r=[at];r.push('\n');r.push(' \n');for(var t=0;t\n');r.push("");return r.join("")}function Ci(e,r,t){return[' \n',' \n'," \n"].join("")}function _i(e,r){return[' \n',' \n'," \n"].join("")}function Si(e){var r=[at];r.push('\n');for(var t=0;t!=e.length;++t){r.push(Ci(e[t][0],e[t][1]));r.push(_i("",e[t][0]))}r.push(Ci("","Document","pkg"));r.push("");return r.join("")}function xi(r,t){return'SheetJS '+e.version+""}var Oi=[["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"]];function Ii(e){var r={};e=Ot(e);for(var t=0;t0)r[a[1]]=vt(n[1]);if(a[2]==="date"&&r[a[1]])r[a[1]]=wr(r[a[1]])}return r}function Ri(e,r,t,a,n){if(n[e]!=null||r==null||r==="")return;n[e]=r;r=gt(r);a[a.length]=t?Ut(e,r,t):Lt(e,r)}function Ni(e,r){var t=r||{};var a=[at,Ut("cp:coreProperties",null,{"xmlns:cp":Vt.CORE_PROPS,"xmlns:dc":Vt.dc,"xmlns:dcterms":Vt.dcterms,"xmlns:dcmitype":Vt.dcmitype,"xmlns:xsi":Vt.xsi})],n={};if(!e&&!t.Props)return a.join("");if(e){if(e.CreatedDate!=null)Ri("dcterms:created",typeof e.CreatedDate==="string"?e.CreatedDate:Bt(e.CreatedDate,t.WTF),{"xsi:type":"dcterms:W3CDTF"},a,n);if(e.ModifiedDate!=null)Ri("dcterms:modified",typeof e.ModifiedDate==="string"?e.ModifiedDate:Bt(e.ModifiedDate,t.WTF),{"xsi:type":"dcterms:W3CDTF"},a,n)}for(var i=0;i!=Oi.length;++i){var s=Oi[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)Ri(s[0],f,null,a,n)}if(a.length>2){a[a.length]="";a[1]=a[1].replace("/>",">")}return a.join("")}var Fi=[["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"]];var Di=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function Pi(e,r,t,a){var n=[];if(typeof e=="string")n=Dt(e,a);else for(var i=0;i0)for(var o=0;o!==n.length;o+=2){l=+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"Hojas de cálculo":;case"Werkbladen":t.Worksheets=l;t.SheetNames=s.slice(f,f+l);break;case"Named Ranges":;case"Rangos con nombre":;case"名前付き一覧":;case"Benannte Bereiche":;case"Navngivne områder":t.NamedRanges=l;t.DefinedNames=s.slice(f,f+l);break;case"Charts":;case"Diagramme":t.Chartsheets=l;t.ChartNames=s.slice(f,f+l);break;}f+=l}}function Li(e,r,t){var a={};if(!r)r={};e=Ot(e);Fi.forEach(function(t){var n=(Wr(e,t[0])||[])[1];switch(t[2]){case"string":if(n)r[t[1]]=vt(n);break;case"bool":r[t[1]]=n==="true";break;case"raw":var i=Br(e,t[0]);if(i&&i.length>0)a[t[1]]=i[1];break;}});if(a.HeadingPairs&&a.TitlesOfParts)Pi(a.HeadingPairs,a.TitlesOfParts,r,t);return r}function Mi(e){var r=[],t=Ut;if(!e)e={};e.Application="SheetJS";r[r.length]=at;r[r.length]=Ut("Properties",null,{xmlns:Vt.EXT_PROPS,"xmlns:vt":Vt.vt});Fi.forEach(function(a){if(e[a[1]]===undefined)return;var n;switch(a[2]){case"string":n=gt(String(e[a[1]]));break;case"bool":n=e[a[1]]?"true":"false";break;}if(n!==undefined)r[r.length]=t(a[0],n)});r[r.length]=t("HeadingPairs",t("vt:vector",t("vt:variant","Worksheets")+t("vt:variant",t("vt:i4",String(e.Worksheets))),{size:2,baseType:"variant"}));r[r.length]=t("TitlesOfParts",t("vt:vector",e.SheetNames.map(function(e){return""+gt(e)+""}).join(""),{size:e.Worksheets,baseType:"lpstr"}));if(r.length>2){r[r.length]="";r[1]=r[1].replace("/>",">")}return r.join("")}var Ui=/<[^<>]+>[^<]*/g;function Bi(e,r){var t={},a="";var n=e.match(Ui);if(n)for(var i=0;i!=n.length;++i){var s=n[i],f=ct(s);switch(ht(f[0])){case"":a=null;break;default:if(s.indexOf("");var o=l[0].slice(4),c=l[1];switch(o){case"lpstr":;case"bstr":;case"lpwstr":t[a]=vt(c);break;case"bool":t[a]=Et(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]=wr(c);break;case"cy":;case"error":t[a]=vt(c);break;default:if(o.slice(-1)=="/")break;if(r.WTF&&typeof console!=="undefined")console.warn("Unexpected",s,o,l);}}else if(s.slice(0,2)==="2){r[r.length]="";r[1]=r[1].replace("/>",">")}return r.join("")}var zi={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 Hi;function Vi(e,r,t){if(!Hi)Hi=fr(zi);r=Hi[r]||r;e[r]=t}function $i(e,r){var t=[];ir(zi).map(function(e){for(var r=0;r'+n.join("")+""}function Gi(e){var r=e._R(4),t=e._R(4);return new Date((t/1e7*Math.pow(2,32)+r/1e7-11644473600)*1e3).toISOString().replace(/\.000/,"")}function ji(e){var r=typeof e=="string"?new Date(Date.parse(e)):e;var t=r.getTime()/1e3+11644473600;var a=t%Math.pow(2,32),n=(t-a)/Math.pow(2,32);a*=1e7;n*=1e7;var i=a/Math.pow(2,32)|0;if(i>0){a=a%Math.pow(2,32);n+=i}var s=Ia(8);s._W(4,a);s._W(4,n);return s}function Ki(e,r,t){var a=e.l;var n=e._R(0,"lpstr-cp");if(t)while(e.l-a&3)++e.l;return n}function Yi(e,r,t){var a=e._R(0,"lpwstr");if(t)e.l+=4-(a.length+1&3)&3;return a}function Zi(e,r,t){if(r===31)return Yi(e);return Ki(e,r,t)}function Ji(e,r,t){return Zi(e,r,t===false?0:4)}function qi(e,r){if(!r)throw new Error("VtUnalignedString must have positive length");return Zi(e,r,0)}function Qi(e){var r=e._R(4);var t=[];for(var a=0;a!=r;++a){var n=e.l;t[a]=e._R(0,"lpwstr").replace(M,"");if(e.l-n&2)e.l+=2}return t}function es(e){var r=e._R(4);var t=[];for(var a=0;a!=r;++a)t[a]=e._R(0,"lpstr-cp").replace(M,"");return t}function rs(e){var r=e.l;var t=ss(e,ei);if(e[e.l]==0&&e[e.l+1]==0&&e.l-r&2)e.l+=2;var a=ss(e,$n);return[t,a]}function ts(e){var r=e._R(4);var t=[];for(var a=0;a>2+1<<2;return a}function ns(e){var r=e._R(4);var t=e.slice(e.l,e.l+r);e.l+=r;if((r&3)>0)e.l+=4-(r&3)&3;return t}function is(e){var r={};r.Size=e._R(4);e.l+=r.Size+3-(r.Size-1)%4;return r}function ss(e,r,t){var a=e._R(2),n,i=t||{};e.l+=2;if(r!==Gn)if(a!==r&&ri.indexOf(r)===-1&&!((r&65534)==4126&&(a&65534)==4126))throw new Error("Expected type "+r+" saw "+a);switch(r===Gn?a:r){case 2:n=e._R(2,"i");if(!i.raw)e.l+=2;return n;case 3:n=e._R(4,"i");return n;case 11:return e._R(4)!==0;case 19:n=e._R(4);return n;case 30:return Ki(e,a,4).replace(M,"");case 31:return Yi(e);case 64:return Gi(e);case 65:return ns(e);case 71:return is(e);case 80:return Ji(e,a,!i.raw).replace(M,"");case 81:return qi(e,a).replace(M,"");case 4108:return ts(e);case 4126:;case 4127:return a==4127?Qi(e):es(e);default:throw new Error("TypedPropertyValue unrecognized type "+r+" "+a);}}function fs(e,r){var t=Ia(4),a=Ia(4);t._W(4,e==80?31:e);switch(e){case 3:a._W(-4,r);break;case 5:a=Ia(8);a._W(8,r,"f");break;case 11:a._W(4,r?1:0);break;case 64:a=ji(r);break;case 31:;case 80:a=Ia(4+2*(r.length+1)+(r.length%2?0:2));a._W(4,r.length+1);a._W(0,r,"dbcs");while(a.l!=a.length)a._W(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+r);}return P([t,a])}function ls(e,r){var t=e.l;var a=e._R(4);var n=e._R(4);var i=[],s=0;var f=0;var o=-1,c={};for(s=0;s!=n;++s){var h=e._R(4);var u=e._R(4);i[s]=[h,u+t]}i.sort(function(e,r){return e[1]-r[1]});var d={};for(s=0;s!=n;++s){if(e.l!==i[s][1]){var v=true;if(s>0&&r)switch(r[i[s-1][0]].t){case 2:if(e.l+2===i[s][1]){e.l+=2;v=false}break;case 80:if(e.l<=i[s][1]){e.l=i[s][1];v=false}break;case 4108:if(e.l<=i[s][1]){e.l=i[s][1];v=false}break;}if((!r||s==0)&&e.l<=i[s][1]){v=false;e.l=i[s][1]}if(v)throw new Error("Read Error: Expected address "+i[s][1]+" at "+e.l+" :"+s)}if(r){if(i[s][0]==0&&i.length>s+1&&i[s][1]==i[s+1][1])continue;var p=r[i[s][0]];d[p.n]=ss(e,p.t,{raw:true});if(p.p==="version")d[p.n]=String(d[p.n]>>16)+"."+("0000"+String(d[p.n]&65535)).slice(-4);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:l(f=d[p.n]>>>0&65535);break;default:throw new Error("Unsupported CodePage: "+d[p.n]);}}else{if(i[s][0]===1){f=d.CodePage=ss(e,Vn);l(f);if(o!==-1){var m=e.l;e.l=i[o][1];c=as(e,f);e.l=m}}else if(i[s][0]===0){if(f===0){o=s;e.l=i[s+1][1];continue}c=as(e,f)}else{var g=c[i[s][0]];var b;switch(e[e.l]){case 65:e.l+=4;b=ns(e);break;case 30:e.l+=4;b=Ji(e,e[e.l-4]).replace(/(^|[^\u0000])\u0000+$/,"$1");break;case 31:e.l+=4;b=Ji(e,e[e.l-4]).replace(/(^|[^\u0000])\u0000+$/,"$1");break;case 3:e.l+=4;b=e._R(4,"i");break;case 19:e.l+=4;b=e._R(4);break;case 5:e.l+=4;b=e._R(8,"f");break;case 11:e.l+=4;b=gs(e,4);break;case 64:e.l+=4;b=wr(Gi(e));break;default:throw new Error("unparsed value: "+e[e.l]);}d[g]=b}}}e.l=t+a;return d}var os=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"];function cs(e){switch(typeof e){case"boolean":return 11;case"number":return(e|0)==e?3:5;case"string":return 31;case"object":if(e instanceof Date)return 64;break;}return-1}function hs(e,r,t){var a=Ia(8),n=[],i=[];var s=8,f=0;var l=Ia(8),o=Ia(8);l._W(4,2);l._W(4,1200);o._W(4,1);i.push(l);n.push(o);s+=8+l.length;if(!r){o=Ia(8);o._W(4,0);n.unshift(o);var c=[Ia(4)];c[0]._W(4,e.length);for(f=0;f-1||Di.indexOf(e[f][0])>-1)continue;if(e[f][1]==null)continue;var u=e[f][1],d=0;if(r){d=+r[e[f][0]];var v=t[d];if(v.p=="version"&&typeof u=="string"){var p=u.split(".");u=(+p[0]<<16)+(+p[1]||0)}l=fs(v.t,u)}else{var m=cs(u);if(m==-1){m=31;u=String(u)}l=fs(m,u)}i.push(l);o=Ia(8);o._W(4,!r?2+f:d);n.push(o);s+=8+l.length}var g=8*(i.length+1);for(f=0;f=12?2:1);var i="sbcs-cont";var s=r;if(a&&a.biff>=8)r=1200;if(!a||a.biff==8){var f=e._R(1);if(f){i="dbcs-cont"}}else if(a.biff==12){i="wstr"}if(a.biff>=2&&a.biff<=5)i="cpstr";var l=n?e._R(n,i):"";r=s;return l}function Cs(e){var t=r;r=1200;var a=e._R(2),n=e._R(1);var i=n&4,s=n&8;var f=1+(n&1);var l=0,o;var c={};if(s)l=e._R(2);if(i)o=e._R(4);var h=f==2?"dbcs-cont":"sbcs-cont";var u=a===0?"":e._R(a,h);if(s)e.l+=4*l;if(i)e.l+=o;c.t=u;if(!s){c.raw=""+c.t+"";c.r=c.t}r=t;return c}function _s(e){var r=e.t||"",t=1;var a=Ia(3+(t>1?2:0));a._W(2,r.length);a._W(1,(t>1?8:0)|1);if(t>1)a._W(2,t);var n=Ia(2*r.length);n._W(2*r.length,r,"utf16le");var i=[a,n];return P(i)}function Ss(e,r,t){var a;if(t){if(t.biff>=2&&t.biff<=5)return e._R(r,"cpstr");if(t.biff>=12)return e._R(r,"dbcs-cont")}var n=e._R(1);if(n===0){a=e._R(r,"sbcs-cont")}else{a=e._R(r,"dbcs-cont")}return a}function xs(e,r,t){var a=e._R(t&&t.biff==2?1:2);if(a===0){e.l++;return""}return Ss(e,a,t)}function Os(e,r,t){if(t.biff>5)return xs(e,r,t);var a=e._R(1);if(a===0){e.l++;return""}return e._R(a,t.biff<=4||!e.lens?"cpstr":"sbcs-cont")}function Is(e,r,t){if(!t)t=Ia(3+2*e.length);t._W(2,e.length);t._W(1,1);t._W(31,e,"utf16le");return t}function Rs(e){var r=e._R(1);e.l++;var t=e._R(2);e.l+=2;return[r,t]}function Ns(e){var r=e._R(4),t=e.l;var a=false;if(r>24){e.l+=r-24;if(e._R(16)==="795881f43b1d7f48af2c825dc4852763")a=true;e.l=t}var n=e._R((a?r-24:r)>>1,"utf16le").replace(M,"");if(a)e.l+=24;return n}function Fs(e){var r=e._R(2);var t="";while(r-- >0)t+="../";var a=e._R(0,"lpstr-ansi");e.l+=2;if(e._R(2)!=57005)throw new Error("Bad FileMoniker");var n=e._R(4);if(n===0)return t+a.replace(/\\/g,"/");var i=e._R(4);if(e._R(2)!=3)throw new Error("Bad FileMoniker");var s=e._R(i>>1,"utf16le").replace(M,"");return t+s}function Ds(e,r){var t=e._R(16);r-=16;switch(t){case"e0c9ea79f9bace118c8200aa004ba90b":return Ns(e,r);case"0303000000000000c000000000000046":return Fs(e,r);default:throw new Error("Unsupported Moniker "+t);}}function Ps(e){var r=e._R(4);var t=r>0?e._R(r,"utf16le").replace(M,""):"";return t}function Ls(e,r){if(!r)r=Ia(6+e.length*2);r._W(4,1+e.length);for(var t=0;t-1?31:23;switch(a.charAt(0)){case"#":i=28;break;case".":i&=~2;break;}r._W(4,2);r._W(4,i);var s=[8,6815827,6619237,4849780,83];for(t=0;t-1?a.slice(0,n):a;r._W(4,2*(f.length+1));for(t=0;t-1?a.slice(n+1):"",r)}else{s="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" ");for(t=0;t8?4:2;var n=e._R(a),i=e._R(a,"i"),s=e._R(a,"i");return[n,i,s]}function Gs(e){var r=e._R(2);var t=xn(e);return[r,t]}function js(e,r,t){e.l+=4;r-=4;var a=e.l+r;var n=Es(e,r,t);var i=e._R(2);a-=e.l;if(i!==a)throw new Error("Malformed AddinUdf: padding = "+a+" != "+i);e.l+=i;return n}function Ks(e){var r=e._R(2);var t=e._R(2);var a=e._R(2);var n=e._R(2);return{s:{c:a,r:r},e:{c:n,r:t}}}function Ys(e,r){if(!r)r=Ia(8);r._W(2,e.s.r);r._W(2,e.e.r);r._W(2,e.s.c);r._W(2,e.e.c);return r}function Zs(e){var r=e._R(2);var t=e._R(2);var a=e._R(1);var n=e._R(1);return{s:{c:a,r:r},e:{c:n,r:t}}}var Js=Zs;function qs(e){e.l+=4;var r=e._R(2);var t=e._R(2);var a=e._R(2);e.l+=12;return[t,r,a]}function Qs(e){var r={};e.l+=4;e.l+=16;r.fSharedNote=e._R(2);e.l+=4;return r}function ef(e){var r={};e.l+=4;e.cf=e._R(2);return r}function rf(e){e.l+=2;e.l+=e._R(2)}var tf={0:rf,4:rf,5:rf,6:rf,7:ef,8:rf,9:rf,10:rf,11:rf,12:rf,13:Qs,14:rf,15:rf,16:rf,17:rf,18:rf,19:rf,20:rf,21:qs};function af(e,r){var t=e.l+r;var a=[];while(e.l=2){t.dt=e._R(2);e.l-=2}switch(t.BIFFVer){case 1536:;case 1280:;case 1024:;case 768:;case 512:;case 2:;case 7:break;default:if(r>6)throw new Error("Unexpected BIFF Ver "+t.BIFFVer);}e._R(r);return t}function sf(e,r,t){var a=1536,n=16;switch(t.bookType){case"biff8":break;case"biff5":a=1280;n=8;break;case"biff4":a=4;n=6;break;case"biff3":a=3;n=6;break;case"biff2":a=2;n=4;break;case"xla":break;default:throw new Error("unsupported BIFF version");}var i=Ia(n);i._W(2,a);i._W(2,r);if(n>4)i._W(2,29282);if(n>6)i._W(2,1997);if(n>8){i._W(2,49161);i._W(2,1);i._W(2,1798);i._W(2,0)}return i}function ff(e,r){if(r===0)return 1200;if(e._R(2)!==1200){}return 1200}function lf(e,r,t){if(t.enc){e.l+=r;return""}var a=e.l;var n=Os(e,0,t);e._R(r+a-e.l);return n}function of(e,r){var t=!r||r.biff==8;var a=Ia(t?112:54);a._W(r.biff==8?2:1,7);if(t)a._W(1,0);a._W(4,859007059);a._W(4,5458548|(t?0:536870912));while(a.l=8?2:1;var a=Ia(8+t*e.name.length);a._W(4,e.pos);a._W(1,e.hs||0);a._W(1,e.dt);a._W(1,e.name.length);if(r.biff>=8)a._W(1,1);a._W(t*e.name.length,e.name,r.biff<8?"sbcs":"utf16le");var n=a.slice(0,a.l);n.l=a.l;return n}function df(e,r){var t=e.l+r;var a=e._R(4);var n=e._R(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 kf(e){var r=e._R(2),t=e._R(2),a=e._R(2),n=e._R(2);var i=e._R(2),s=e._R(2),f=e._R(2);var l=e._R(2),o=e._R(2);return{Pos:[r,t],Dim:[a,n],Flags:i,CurTab:s,FirstTab:f,Selected:l,TabRatio:o}}function Tf(){var e=Ia(18);e._W(2,0);e._W(2,0);e._W(2,29280);e._W(2,17600);e._W(2,56);e._W(2,0);e._W(2,0);e._W(2,1);e._W(2,500);return e}function Af(e,r,t){if(t&&t.biff>=2&&t.biff<5)return{};var a=e._R(2);return{RTL:a&64}}function yf(e){var r=Ia(18),t=1718;if(e&&e.RTL)t|=64;r._W(2,t);r._W(4,0);r._W(4,64);r._W(4,0);r._W(4,0);return r}function Ef(){}function Cf(e,r,t){var a={dyHeight:e._R(2),fl:e._R(2)};switch(t&&t.biff||8){case 2:break;case 3:;case 4:e.l+=2;break;default:e.l+=10;break;}a.name=Es(e,0,t);return a}function _f(e,r){var t=e.name||"Arial";var a=r&&r.biff==5,n=a?15+t.length:16+2*t.length;var i=Ia(n);i._W(2,(e.sz||12)*20);i._W(4,0);i._W(2,400);i._W(4,0);i._W(2,0);i._W(1,t.length);if(!a)i._W(1,1);i._W((a?1:2)*t.length,t,a?"sbcs":"utf16le");return i}function Sf(e,r,t){var a=zs(e,r,t);a.isst=e._R(4);return a}function xf(e,r,t,a){var n=Ia(10);Hs(e,r,a,n);n._W(4,t);return n}function Of(e,r,t){if(t.biffguess&&t.biff==2)t.biff=5;var a=e.l+r;var n=zs(e,r,t);var i=xs(e,a-e.l,t);n.val=i;return n}function If(e,r,t,a,n){var i=!n||n.biff==8;var s=Ia(6+2+ +i+(1+i)*t.length);Hs(e,r,a,s);s._W(2,t.length);if(i)s._W(1,1);s._W((1+i)*t.length,t,i?"utf16le":"sbcs");return s}function Rf(e,r,t){var a=e._R(2);var n=Os(e,0,t);return[a,n]}function Nf(e,r,t,a){var n=t&&t.biff==5;if(!a)a=Ia(n?3+r.length:5+2*r.length);a._W(2,e);a._W(n?1:2,r.length);if(!n)a._W(1,1);a._W((n?1:2)*r.length,r,n?"sbcs":"utf16le");var i=a.length>a.l?a.slice(0,a.l):a;if(i.l==null)i.l=i.length;return i}var Ff=Os;function Df(e){var r=Ia(1+e.length);r._W(1,e.length);r._W(e.length,e,"sbcs");return r}function Pf(e){var r=Ia(3+e.length);r.l+=2;r._W(1,e.length);r._W(e.length,e,"sbcs");return r}function Lf(e,r,t){var a=e.l+r;var n=t.biff==8||!t.biff?4:2;var i=e._R(n),s=e._R(n);var f=e._R(2),l=e._R(2);e.l=a;return{s:{r:i,c:f},e:{r:s,c:l}}}function Mf(e,r){var t=r.biff==8||!r.biff?4:2;var a=Ia(2*t+6);a._W(t,e.s.r);a._W(t,e.e.r+1);a._W(2,e.s.c);a._W(2,e.e.c+1);a._W(2,0);return a}function Uf(e){var r=e._R(2),t=e._R(2);var a=Gs(e);return{r:r,c:t,ixfe:a[0],rknum:a[1]}}function Bf(e,r){var t=e.l+r-2;var a=e._R(2),n=e._R(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=l&127;n.icvBack=l>>7&127;n.fsxButton=l>>14&1;return n}function Hf(e,r,t){var a={};a.ifnt=e._R(2);a.numFmtId=e._R(2);a.flags=e._R(2);a.fStyle=a.flags>>2&1;r-=6;a.data=zf(e,r,a.fStyle,t);return a}function Vf(e,r,t,a){var n=t&&t.biff==5;if(!a)a=Ia(n?16:20);a._W(2,0);if(e.style){a._W(2,e.numFmtId||0);a._W(2,65524)}else{a._W(2,e.numFmtId||0);a._W(2,r<<4)}var i=0;if(e.numFmtId>0&&n)i|=1024;a._W(4,i);a._W(4,0);if(!n)a._W(4,0);a._W(2,0);return a}function $f(e){var r={};r.ifnt=e._R(1);e.l++;r.flags=e._R(1);r.numFmtId=r.flags&63;r.flags>>=6;r.fStyle=0;r.data={};return r}function Xf(e){var r=Ia(4);r.l+=2;r._W(1,e.numFmtId);r.l++;return r}function Gf(e){var r=Ia(12);r.l++;r._W(1,e.numFmtId);r.l+=10;return r}var jf=Gf;function Kf(e){var r={};r.ifnt=e._R(1);r.numFmtId=e._R(1);r.flags=e._R(2);r.fStyle=r.flags>>2&1;r.data={};return r}function Yf(e){var r={};r.ifnt=e._R(1);r.numFmtId=e._R(1);r.flags=e._R(2);r.fStyle=r.flags>>2&1;r.data={};return r}function Zf(e){e.l+=4;var r=[e._R(2),e._R(2)];if(r[0]!==0)r[0]--;if(r[1]!==0)r[1]--;if(r[0]>7||r[1]>7)throw new Error("Bad Gutters: "+r.join("|"));return r}function Jf(e){var r=Ia(8);r._W(4,0);r._W(2,e[0]?e[0]+1:0);r._W(2,e[1]?e[1]+1:0);return r}function qf(e,r,t){var a=zs(e,6,t);var n=As(e,2);a.val=n;a.t=n===true||n===false?"b":"e";return a}function Qf(e,r,t,a,n,i){var s=Ia(8);Hs(e,r,a,s);ys(t,i,s);return s}function el(e,r,t){if(t.biffguess&&t.biff==2)t.biff=5;var a=zs(e,6,t);var n=Dn(e,8);a.val=n;return a}function rl(e,r,t,a){var n=Ia(14);Hs(e,r,a,n);Pn(t,n);return n}var tl=$s;function al(e,r,t){var a=e.l+r;var n=e._R(2);var i=e._R(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=Ss(e,i);var f=[];while(a>e.l)f.push(xs(e));return[i,n,s,f]}function nl(e,r,t){var a=e._R(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=js(e,r-2,t);i.body=n||e._R(r-2);if(typeof n==="string")i.Name=n;return i}function il(e,r,t){var a=e.l+r;var n=e._R(2);var i=e._R(1);var s=e._R(1);var f=e._R(t&&t.biff==2?1:2);var l=0;if(!t||t.biff>=5){if(t.biff!=5)e.l+=2;l=e._R(2);if(t.biff==5)e.l+=2;e.l+=4}var o=Ss(e,s,t);if(n&32)o=hi[o.charCodeAt(0)];var c=a-e.l;if(t&&t.biff==2)--c;var h=a==e.l||f===0||!(c>0)?[]:Bd(e,c,t,f);return{chKey:i,Name:o,itab:l,rgce:h}}function sl(e,r,t){if(t.biff<8)return fl(e,r,t);if(!(t.biff>8)&&r==e[e.l]+(e[e.l+1]==3?1:0)+1)return fl(e,r,t);var a=[],n=e.l+r,i=e._R(t.biff>8?4:2);while(i--!==0)a.push(Xs(e,t.biff>8?12:6,t));if(e.l!=n)throw new Error("Bad ExternSheet: "+e.l+" != "+n);return a}function fl(e,r,t){if(e[e.l+1]==3)e[e.l]++;var a=Es(e,r,t);return a.charCodeAt(0)==3?a.slice(1):a}function ll(e,r,t){if(t.biff<8){e.l+=r;return}var a=e._R(2);var n=e._R(2);var i=Ss(e,a,t);var s=Ss(e,n,t);return[i,s]}function ol(e,r,t){var a=Zs(e,6);e.l++;var n=e._R(1);r-=8;return[Wd(e,r,t),n,a]}function cl(e,r,t){var a=Js(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,Md(e,r,t,a)]}function hl(e){var r=e._R(4)!==0;var t=e._R(4)!==0;var a=e._R(4);return[r,t,a]}function ul(e,r,t){var a=e._R(2),n=e._R(2);var i=e._R(2),s=e._R(2);var f=Os(e,0,t);return[{r:a,c:n},f,s,i]}function dl(e,r,t){if(t&&t.biff<8){var a=e._R(2),n=e._R(2);if(a==65535||a==-1)return;var i=e._R(2);var s=e._R(Math.min(i,2048),"cpstr");return[{r:a,c:n},s]}return ul(e,r,t)}function vl(e,r,t,a){var n=Ia(6+(a||e.length));n._W(2,r);n._W(2,t);n._W(2,a||e.length);n._W(e.length,e,"sbcs");return n}function pl(e,r){var t=[];var a=e._R(2);while(a--)t.push(Ks(e,r));return t}function ml(e){var r=Ia(2+e.length*8);r._W(2,e.length);for(var t=0;t=(c?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(u){e.l=a+r;return{t:n}}}function Tl(e,r){var t=Ks(e,8);e.l+=16;var a=Ms(e,r-24);return[t,a]}function Al(e){var r=Ia(24);var t=ja(e[0]);r._W(2,t.r);r._W(2,t.r);r._W(2,t.c);r._W(2,t.c);var a="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" ");for(var n=0;n<16;++n)r._W(1,parseInt(a[n],16));return P([r,Us(e[1])])}function yl(e,r){e._R(2);var t=Ks(e,8);var a=e._R((r-10)/2,"dbcs-cont");a=a.replace(M,"");return[t,a]}function El(e){var r=e[1].Tooltip;var t=Ia(10+2*(r.length+1));t._W(2,2048);var a=ja(e[0]);t._W(2,a.r);t._W(2,a.r);t._W(2,a.c);t._W(2,a.c);for(var n=0;n0)t.push(Ws(e,8));return t}function xl(e){var r=e._R(2);var t=[];while(r-- >0)t.push(Ws(e,8));return t}function Ol(e){e.l+=2;var r={cxfs:0,crc:0};r.cxfs=e._R(2);r.crc=e._R(4);return r}function Il(e,r,t){if(!t.cellStyles)return Oa(e,r);var a=t&&t.biff>=12?4:2;var n=e._R(a);var i=e._R(a);var s=e._R(a);var f=e._R(a);var l=e._R(2);if(a==2)e.l+=2;var o={s:n,e:i,w:s,ixfe:f,flags:l};if(t.biff>=5||!t.biff)o.level=l>>8&7;return o}function Rl(e,r){var t=Ia(12);t._W(2,r);t._W(2,r);t._W(2,e.width*256);t._W(2,0);var a=0;if(e.hidden)a|=1;t._W(1,a);a=e.level||0;t._W(1,a);t._W(2,0);return t}function Nl(e,r){var t={};if(r<32)return t;e.l+=16;t.header=Dn(e,8);t.footer=Dn(e,8);e.l+=2;return t}function Fl(e,r,t){var a={area:false};if(t.biff!=5){e.l+=r;return a}var n=e._R(1);e.l+=3;if(n&16)a.area=true;return a}function Dl(e){var r=Ia(2*e);for(var t=0;t1048576)c=1e6;if(s!=2)h=i._R(2);var u=i._R(2);var d=t.codepage||1252;if(s!=2){i.l+=16;i._R(1);if(i[i.l]!==0)d=e[i[i.l]];i.l+=1;i.l+=2}if(o)i.l+=36;var v=[],p={};var m=Math.min(i.length,s==2?521:h-10-(l?264:0));var g=o?32:11;while(i.l0){if(i[i.l]===42){i.l+=u;continue}++i.l;n[++b]=[];w=0;for(w=0;w!=v.length;++w){var k=i.slice(i.l,i.l+v[w].len);i.l+=v[w].len;xa(k,0);var T=typeof a!=="undefined"?a.utils.decode(d,k):N(k);switch(v[w].type){case"C":if(T.trim().length)n[b][w]=T.replace(/([^\s])\s+$/,"$1");break;case"D":if(T.length===8){n[b][w]=new Date(Date.UTC(+T.slice(0,4),+T.slice(4,6)-1,+T.slice(6,8),0,0,0,0));if(!(t&&t.UTC)){n[b][w]=Fr(n[b][w])}}else n[b][w]=T;break;case"F":n[b][w]=parseFloat(T.trim());break;case"+":;case"I":n[b][w]=o?k._R(-4,"i")^2147483648:k._R(4,"i");break;case"L":switch(T.trim().toUpperCase()){case"Y":;case"T":n[b][w]=true;break;case"N":;case"F":n[b][w]=false;break;case"":;case"\0":;case"?":break;default:throw new Error("DBF Unrecognized L:|"+T+"|");}break;case"M":if(!f)throw new Error("DBF Unexpected MEMO for type "+s.toString(16));n[b][w]="##MEMO##"+(o?parseInt(T.trim(),10):k._R(4));break;case"N":T=T.replace(/\u0000/g,"").trim();if(T&&T!=".")n[b][w]=+T||0;break;case"@":n[b][w]=new Date(k._R(-8,"f")-621356832e5);break;case"T":{var A=k._R(4),y=k._R(4);if(A==0&&y==0)break;n[b][w]=new Date((A-2440588)*864e5+y);if(!(t&&t.UTC))n[b][w]=Fr(n[b][w])}break;case"Y":n[b][w]=k._R(4,"i")/1e4+k._R(4,"i")/1e4*Math.pow(2,32);break;case"O":n[b][w]=-k._R(-8,"f");break;case"B":if(l&&v[w].len==8){n[b][w]=k._R(8,"f");break};case"G":;case"P":k.l+=v[w].len;break;case"0":if(v[w].name==="_NullFlags")break;default:throw new Error("DBF Unsupported data type "+v[w].type);}}}if(s!=2)if(i.l=0)l(+f.codepage);if(f.type=="string")throw new Error("Cannot write DBF to JS string");var h=Na();var u=Fk(i,{header:1,raw:true,cellDates:true});var d=u[0],v=u.slice(1),p=i["!cols"]||[];var m=0,g=0,b=0,w=1;for(m=0;m250)_=250;C=((p[m]||{}).DBF||{}).type;if(C=="C"){if(p[m].DBF.len>_)_=p[m].DBF.len}if(E=="B"&&C=="N"){E="N";y[m]=p[m].DBF.dec;_=p[m].DBF.len}A[m]=E=="C"||C=="N"?_:o[E]||0;w+=A[m];T[m]=E}var x=h.next(32);x._W(4,318902576);x._W(4,v.length);x._W(2,296+32*b);x._W(2,w);for(m=0;m<4;++m)x._W(4,0);var O=+n[r]||3;x._W(4,0|O<<8);if(e[O]!=+f.codepage){if(f.codepage)console.error("DBF Unsupported codepage "+r+", using 1252");r=1252}for(m=0,g=0;mA[g])D=D.slice(0,A[g]);for(b=0;b":190,"?":191,"{":223};var r=new RegExp("N("+ir(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1").replace("{","\\{")+"|\\|)","gm");try{r=new RegExp("N("+ir(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm")}catch(t){}var n=function(r,t){var a=e[t];return typeof a=="number"?m(a):a};var i=function(e,r,t){var a=r.charCodeAt(0)-32<<4|t.charCodeAt(0)-48;return a==59?e:m(a)};e["|"]=254;var s=function(e){return e.replace(/\n/g," :").replace(/\r/g," =")};function f(e,r){switch(r.type){case"base64":return o(E(e),r);case"binary":return o(e,r);case"buffer":return o(C&&Buffer.isBuffer(e)?e.toString("binary"):N(e),r);case"array":return o(kr(e),r);}throw new Error("Unrecognized type "+r.type)}function o(e,t){var s=e.split(/[\n\r]+/),f=-1,o=-1,c=0,h=0,u=[];var d=[];var v=null;var p={},m=[],g=[],b=[];var w=0,k;var T={Workbook:{WBProps:{},Names:[]}};if(+t.codepage>=0)l(+t.codepage);for(;c!==s.length;++c){w=0;var A=s[c].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,i).replace(r,n);var y=A.replace(/;;/g,"\0").split(";").map(function(e){return e.replace(/\u0000/g,";")});var E=y[0],C;if(A.length>0)switch(E){case"ID":break;case"E":break;case"B":break;case"O":for(h=1;h=1&&_<=4)T.Workbook.WBProps.date1904=true}break;}break;case"W":break;case"P":switch(y[1].charAt(0)){case"P":d.push(A.slice(3).replace(/;;/g,";"));break;}break;case"NN":{var S={Sheet:0};for(h=1;h-1&&u[N][F];if(!M||!M[1])throw new Error("SYLK shared formula cannot find base");D=nu(M[1],{r:f-N,c:o-F})}if(D){if(!u[f][o])u[f][o]={t:"n",f:D};else u[f][o].f=D}if(L){if(!u[f][o])u[f][o]={t:"z"};u[f][o].c=[{a:"SheetJSYLK",t:L}]}break;case"F":var U=0;for(h=1;h0){m[f].hpt=w;m[f].hpx=uc(w)}else if(w===0)m[f].hidden=true;break;default:if(t&&t.WTF)throw new Error("SYLK bad record "+A);}if(U<1)v=null;break;default:if(t&&t.WTF)throw new Error("SYLK bad record "+A);}}if(m.length>0)p["!rows"]=m;if(g.length>0)p["!cols"]=g;g.forEach(function(e){lc(e)});if(t&&t.sheetRows)u=u.slice(0,t.sheetRows);return[u,p,T]}function c(e,r){var t=f(e,r);var a=t[0],n=t[1],i=t[2];var s=Tr(r);s.date1904=(((i||{}).Workbook||{}).WBProps||{}).date1904;var l=sn(a,s);ir(n).forEach(function(e){l[e]=n[e]});var o=tn(l,r);ir(i).forEach(function(e){o[e]=i[e]});o.bookType="sylk";return o}function h(e,r,t,a,n,i){var s="C;Y"+(t+1)+";X"+(a+1)+";K";switch(e.t){case"n":s+=e.v||0;if(e.f&&!e.F)s+=";E"+au(e.f,{r:t,c:a});break;case"b":s+=e.v?"TRUE":"FALSE";break;case"e":s+=e.w||oi[e.v]||e.v;break;case"d":s+=dr(wr(e.v,i),i);break;case"s":s+='"'+(e.v==null?"":String(e.v)).replace(/"/g,"").replace(/;/g,";;")+'"';break;}return s}function u(e,r,t){var a="C;Y"+(r+1)+";X"+(t+1)+";A";a+=s(e.map(function(e){return e.t}).join(""));return a}function d(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)r.wpx=ac(r.width);if(typeof r.wpx=="number"&&!r.wch)r.wch=nc(r.wpx);if(typeof r.wch=="number")a+=Math.round(r.wch)}if(a.charAt(a.length-1)!=" ")e.push(a)})}function v(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*hc(r.hpx)+";";if(a.length>2)e.push(a+"R"+(t+1))})}function p(e,r,t){if(!r)r={};r._formats=["General"];var a=["ID;PSheetJS;N;E"],n=[];var i=Qa(e["!ref"]||"A1"),s;var f=e["!data"]!=null;var l="\r\n";var o=(((t||{}).Workbook||{}).WBProps||{}).date1904;var c="General";a.push("P;PGeneral");var p=i.s.r,m=i.s.c,g=[];if(e["!ref"])for(p=i.s.r;p<=i.e.r;++p){if(f&&!e["!data"][p])continue;g=[];for(m=i.s.c;m<=i.e.c;++m){s=f?e["!data"][p][m]:e[Va(m)+Ba(p)];if(!s||!s.c)continue;g.push(u(s.c,p,m))}if(g.length)n.push(g.join(l))}if(e["!ref"])for(p=i.s.r;p<=i.e.r;++p){if(f&&!e["!data"][p])continue;g=[];for(m=i.s.c;m<=i.e.c;++m){s=f?e["!data"][p][m]:e[Va(m)+Ba(p)];if(!s||s.v==null&&(!s.f||s.F))continue;if((s.z||(s.t=="d"?q[14]:"General"))!=c){var b=r._formats.indexOf(s.z);if(b==-1){r._formats.push(s.z);b=r._formats.length-1;a.push("P;P"+s.z.replace(/;/g,";;"))}g.push("F;P"+b+";Y"+(p+1)+";X"+(m+1))}g.push(h(s,e,p,m,r,o))}n.push(g.join(l))}a.push("F;P0;DG0G8;M255");if(e["!cols"])d(a,e["!cols"]);if(e["!rows"])v(a,e["!rows"]);if(e["!ref"])a.push("B;Y"+(i.e.r-i.s.r+1)+";X"+(i.e.c-i.s.c+1)+";D"+[i.s.c,i.s.r,i.e.c,i.e.r].join(" "));a.push("O;L;D;B"+(o?";V4":"")+";K47;G100 0.001");delete r._formats;return a.join(l)+l+n.join(l)+l+"E"+l}return{to_workbook:c,from_sheet:p}}();var Ql=function(){function e(e,t){switch(t.type){case"base64":return r(E(e),t);case"binary":return r(e,t);case"buffer":return r(C&&Buffer.isBuffer(e)?e.toString("binary"):N(e),t);case"array":return r(kr(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 l=f[0],o=f[1];++i;var c=t[i]||"";while((c.match(/["]/g)||[]).length&1&&i=0&&i[s].length===0)--s;var f=10,l=0;var o=0;for(;o<=s;++o){l=i[o].indexOf(" ");if(l==-1)l=i[o].length;else l++;f=Math.max(f,l)}for(o=0;o<=s;++o){n[o]=[];var c=0;e(i[o].slice(0,f).trim(),n,o,c,a);for(c=1;c<=(i[o].length-f)/10+1;++c)e(i[o].slice(f+(c-1)*10,f+c*10).trim(),n,o,c,a)}if(a.sheetRows)n=n.slice(0,a.sheetRows);return n}var t={44:",",9:"\t",59:";",124:"|"};var n={44:3,9:2,59:1,124:0};function i(e){var r={},a=false,i=0,s=0;for(;i0)g();n["!ref"]=Za(s);return n}function f(e,t){if(!(t&&t.PRN))return s(e,t);if(t.FS)return s(e,t);if(e.slice(0,4)=="sep=")return s(e,t);if(e.indexOf("\t")>=0||e.indexOf(",")>=0||e.indexOf(";")>=0)return s(e,t);return sn(r(e,t),t)}function l(e,r){var t="",n=r.type=="string"?[0,0,0,0]:fk(e,r);switch(r.type){case"base64":t=E(e);break;case"binary":t=e;break;case"buffer":if(r.codepage==65001)t=e.toString("utf8");else if(r.codepage&&typeof a!=="undefined")t=a.utils.decode(r.codepage,e);else t=C&&Buffer.isBuffer(e)?e.toString("binary"):N(e);break;case"array":t=kr(e);break;case"string":t=e;break;default:throw new Error("Unrecognized type "+r.type);}if(n[0]==239&&n[1]==187&&n[2]==191)t=Ot(t.slice(3));else if(r.type!="string"&&r.type!="buffer"&&r.codepage==65001)t=Ot(t);else if(r.type=="binary"&&typeof a!=="undefined"&&r.codepage)t=a.utils.decode(r.codepage,a.utils.encode(28591,t));if(t.slice(0,19)=="socialcalc:version:")return eo.to_sheet(r.type=="string"?t:Ot(t),r);return f(t,r)}function o(e,r){return tn(l(e,r),r)}function c(e){var r=[];if(!e["!ref"])return"";var t=Qa(e["!ref"]),a;var n=e["!data"]!=null;for(var i=t.s.r;i<=t.e.r;++i){var s=[];for(var f=t.s.c;f<=t.e.c;++f){var l=Ka({r:i,c:f});a=n?(e["!data"][i]||[])[f]:e[l];if(!a||a.v==null){s.push(" ");continue}var o=(a.w||(rn(a),a.w)||"").slice(0,10);while(o.length<10)o+=" ";s.push(o+(f===0?" ":""))}r.push(s.join(""))}return r.join("\n")}return{to_workbook:o,to_sheet:l,from_sheet:c}}();function to(e,r){var t=r||{},a=!!t.WTF;t.WTF=true;try{var n=ql.to_workbook(e,t);t.WTF=a;return n}catch(i){t.WTF=a;if(i.message.indexOf("SYLK bad record ID")==-1&&a)throw i;return ro.to_workbook(e,r)}}var ao=function(){function e(e,r,t){if(!e)return;xa(e,e.l||0);var a=t.Enum||V;while(e.l=16&&r[14]==5&&r[15]===108)throw new Error("Unsupported Works 3 for Mac file")}}if(r[2]==2){n.Enum=V;e(r,function(e,r,a){switch(a){case 0:n.vers=e;if(e>=4096)n.qpro=true;break;case 255:n.vers=e;n.works=true;break;case 6:d=e;break;case 204:if(e)f=e;break;case 222:f=e;break;case 15:;case 51:if((!n.qpro&&!n.works||a==51)&&e[1].v.charCodeAt(0)<48)e[1].v=e[1].v.slice(1);if(n.works||n.works2)e[1].v=e[1].v.replace(/\r\n/g,"\n");case 13:;case 14:;case 16:if((e[2]&112)==112&&(e[2]&15)>1&&(e[2]&15)<15){e[1].z=n.dateNF||t[(e[2]&15)-1]||q[14];if(n.cellDates){e[1].v=vr(e[1].v);e[1].t=typeof e[1].v=="number"?"n":"d"}}if(n.qpro){if(e[3]>l){i["!ref"]=Za(d);o[s]=i;c.push(s);i={};if(n.dense)u=i["!data"]=[];d={s:{r:0,c:0},e:{r:0,c:0}};l=e[3];s=f||"Sheet"+(l+1);f=""}}var h=n.dense?(u[e[0].r]||[])[e[0].c]:i[Ka(e[0])];if(h){h.t=e[1].t;h.v=e[1].v;if(e[1].z!=null)h.z=e[1].z;if(e[1].f!=null)h.f=e[1].f;p=h;break}if(n.dense){if(!u[e[0].r])u[e[0].r]=[];u[e[0].r][e[0].c]=e[1]}else i[Ka(e[0])]=e[1];p=e[1];break;case 21509:n.works2=true;break;case 21506:{if(e==5281){p.z="hh:mm:ss";if(n.cellDates&&p.t=="n"){p.v=vr(p.v);p.t=typeof p.v=="number"?"n":"d"}}}break;}},n)}else if(r[2]==26||r[2]==14){ +n.Enum=$;if(r[2]==14){n.qpro=true;r.l=0}e(r,function(e,r,t){switch(t){case 204:s=e;break;case 22:if(e[1].v.charCodeAt(0)<48)e[1].v=e[1].v.slice(1);e[1].v=e[1].v.replace(/\x0F./g,function(e){return String.fromCharCode(e.charCodeAt(1)-32)}).replace(/\r\n/g,"\n");case 23:;case 24:;case 25:;case 37:;case 39:;case 40:if(e[3]>l){i["!ref"]=Za(d);o[s]=i;c.push(s);i={};if(n.dense)u=i["!data"]=[];d={s:{r:0,c:0},e:{r:0,c:0}};l=e[3];s="Sheet"+(l+1)}if(v>0&&e[0].r>=v)break;if(n.dense){if(!u[e[0].r])u[e[0].r]=[];u[e[0].r][e[0].c]=e[1]}else i[Ka(e[0])]=e[1];if(d.e.c=0)l(+t.codepage);if(t.type=="string")throw new Error("Cannot write WK1 to JS string");var a=Na();if(!e["!ref"])throw new Error("Cannot export empty sheet to WK1");var n=Qa(e["!ref"]);var i=e["!data"]!=null;var f=[];Jg(a,0,s(1030));Jg(a,6,c(n));var o=Math.min(n.e.r,8191);for(var h=n.s.c;h<=n.e.c;++h)f[h]=Va(h);for(var u=n.s.r;u<=o;++u){var d=Ba(u);for(h=n.s.c;h<=n.e.c;++h){var p=i?(e["!data"][u]||[])[h]:e[f[h]+d];if(!p||p.t=="z")continue;switch(p.t){case"n":if((p.v|0)==p.v&&p.v>=-32768&&p.v<=32767)Jg(a,13,g(u,h,p));else Jg(a,14,k(u,h,p));break;case"d":var m=dr(p.v);if((m|0)==m&&m>=-32768&&m<=32767)Jg(a,13,g(u,h,{t:"n",v:m,z:p.z||q[14]}));else Jg(a,14,k(u,h,{t:"n",v:m,z:p.z||q[14]}));break;default:var b=rn(p);Jg(a,15,v(u,h,b.slice(0,239)));}}}Jg(a,1);return a.end()}function i(e,r){var t=r||{};if(+t.codepage>=0)l(+t.codepage);if(t.type=="string")throw new Error("Cannot write WK3 to JS string");var a=Na();Jg(a,0,f(e));for(var n=0,i=0;n8191)t=8191;r._W(2,t);r._W(1,n);r._W(1,a);r._W(2,0);r._W(2,0);r._W(1,1);r._W(1,2);r._W(4,0);r._W(4,0);return r}function o(e,r,t){var a={s:{c:0,r:0},e:{c:0,r:0}};if(r==8&&t.qpro){a.s.c=e._R(1);e.l++;a.s.r=e._R(2);a.e.c=e._R(1);e.l++;a.e.r=e._R(2);return a}a.s.c=e._R(2);a.s.r=e._R(2);if(r==12&&t.qpro)e.l+=2;a.e.c=e._R(2);a.e.r=e._R(2);if(r==12&&t.qpro)e.l+=2;if(a.s.c==65535)a.s.c=a.e.c=a.s.r=a.e.r=0;return a}function c(e){var r=Ia(8);r._W(2,e.s.c);r._W(2,e.s.r);r._W(2,e.e.c);r._W(2,e.e.r);return r}function h(e,r,t){var a=[{c:0,r:0},{t:"n",v:0},0,0];if(t.qpro&&t.vers!=20768){a[0].c=e._R(1);a[3]=e._R(1);a[0].r=e._R(2);e.l+=2}else if(t.works){a[0].c=e._R(2);a[0].r=e._R(2);a[2]=e._R(2)}else{a[2]=e._R(1);a[0].c=e._R(2);a[0].r=e._R(2)}return a}function u(e){if(e.z&&Le(e.z)){return 240|(t.indexOf(e.z)+1||2)}return 255}function d(e,r,t){var a=e.l+r;var n=h(e,r,t);n[1].t="s";if((t.vers&65534)==20768){e.l++;var i=e._R(1);n[1].v=e._R(i,"utf8");return n}if(t.qpro)e.l++;n[1].v=e._R(a-e.l,"cstr");return n}function v(e,r,t){var a=Ia(7+t.length);a._W(1,255);a._W(2,r);a._W(2,e);a._W(1,39);for(var n=0;n=128?95:i)}a._W(1,0);return a}function p(e,r,t){var a=e.l+r;var n=h(e,r,t);n[1].t="s";if(t.vers==20768){var i=e._R(1);n[1].v=e._R(i,"utf8");return n}n[1].v=e._R(a-e.l,"cstr");return n}function m(e,r,t){var a=h(e,r,t);a[1].v=e._R(2,"i");return a}function g(e,r,t){var a=Ia(7);a._W(1,u(t));a._W(2,r);a._W(2,e);a._W(2,t.v,"i");return a}function w(e,r,t){var a=h(e,r,t);a[1].v=e._R(8,"f");return a}function k(e,r,t){var a=Ia(13);a._W(1,u(t));a._W(2,r);a._W(2,e);a._W(8,t.v,"f");return a}function T(e,r,t){var a=e.l+r;var n=h(e,r,t);n[1].v=e._R(8,"f");if(t.qpro)e.l=a;else{var i=e._R(2);_(e.slice(e.l,e.l+i),n);e.l+=i}return n}function A(e,r,t){var a=r&32768;r&=~32768;r=(a?e:0)+(r>=8192?r-16384:r);return(a?"":"$")+(t?Va(r):Ba(r))}var y={31:["NA",0],33:["ABS",1],34:["TRUNC",1],35:["SQRT",1],36:["LOG",1],37:["LN",1],38:["PI",0],39:["SIN",1],40:["COS",1],41:["TAN",1],42:["ATAN2",2],43:["ATAN",1],44:["ASIN",1],45:["ACOS",1],46:["EXP",1],47:["MOD",2],49:["ISNA",1],50:["ISERR",1],51:["FALSE",0],52:["TRUE",0],53:["RAND",0],54:["DATE",3],63:["ROUND",2],64:["TIME",3],68:["ISNUMBER",1],69:["ISTEXT",1],70:["LEN",1],71:["VALUE",1],73:["MID",3],74:["CHAR",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],102:["UPPER",1],103:["LOWER",1],107:["PROPER",1],109:["TRIM",1],111:["T",1]};var C=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function _(e,r){xa(e,0);var t=[],a=0,n="",i="",s="",f="";while(e.lt.length){console.error("WK1 bad formula parse 0x"+l.toString(16)+":|"+t.join("|")+"|");return}var u=t.slice(-a);t.length-=a;t.push(y[l][0]+"("+u.join(",")+")")}else if(l<=7)return console.error("WK1 invalid opcode "+l.toString(16));else if(l<=24)return console.error("WK1 unsupported op "+l.toString(16));else if(l<=30)return console.error("WK1 invalid opcode "+l.toString(16));else if(l<=115)return console.error("WK1 unsupported function opcode "+l.toString(16));else return console.error("WK1 unrecognized opcode "+l.toString(16));}}if(t.length==1)r[1].f=""+t[0];else console.error("WK1 bad formula parse |"+t.join("|")+"|")}function S(e){var r=[{c:0,r:0},{t:"n",v:0},0];r[0].r=e._R(2);r[3]=e[e.l++];r[0].c=e[e.l++];return r}function x(e,r){var t=S(e,r);t[1].t="s";t[1].v=e._R(r-4,"cstr");return t}function O(e,r,t,a){var n=Ia(6+a.length);n._W(2,e);n._W(1,t);n._W(1,r);n._W(1,39);for(var i=0;i=128?95:s)}n._W(1,0);return n}function R(e,r){var t=S(e,r);t[1].v=e._R(2);var a=t[1].v>>1;if(t[1].v&1){switch(a&7){case 0:a=(a>>3)*5e3;break;case 1:a=(a>>3)*500;break;case 2:a=(a>>3)/20;break;case 3:a=(a>>3)/200;break;case 4:a=(a>>3)/2e3;break;case 5:a=(a>>3)/2e4;break;case 6:a=(a>>3)/16;break;case 7:a=(a>>3)/64;break;}}t[1].v=a;return t}function N(e,r){var t=S(e,r);var a=e._R(4);var n=e._R(4);var i=e._R(2);if(i==65535){if(a===0&&n===3221225472){t[1].t="e";t[1].v=15}else if(a===0&&n===3489660928){t[1].t="e";t[1].v=42}else t[1].v=0;return t}var s=i&32768;i=(i&32767)-16446;t[1].v=(1-s*2)*(n*Math.pow(2,i+32)+a*Math.pow(2,i));return t}function F(e,r,t,a){var n=Ia(14);n._W(2,e);n._W(1,t);n._W(1,r);if(a==0){n._W(4,0);n._W(4,0);n._W(2,65535);return n}var i=0,s=0,f=0,l=0;if(a<0){i=1;a=-a}s=Math.log2(a)|0;a/=Math.pow(2,s-31);l=a>>>0;if((l&2147483648)==0){a/=2;++s;l=a>>>0}a-=l;l|=2147483648;l>>>=0;a*=Math.pow(2,32);f=a>>>0;n._W(4,f);n._W(4,l);s+=16383+(i?32768:0);n._W(2,s);return n}function D(e,r){var t=N(e,14);e.l+=r-14;return t}function P(e,r){var t=S(e,r);var a=e._R(4);t[1].v=a>>6;return t}function L(e,r){var t=S(e,r);var a=e._R(8,"f");t[1].v=a;return t}function M(e,r){var t=L(e,12);e.l+=r-12;return t}function U(e,r){return e[e.l+r-1]==0?e._R(r,"cstr"):""}function B(e,r){var t=e[e.l++];if(t>r-1)t=r-1;var a="";while(a.length127?95:n}t[t.l++]=0;return t}var V={0:{n:"BOF",f:ws},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:o},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:m},14:{n:"NUMBER",f:w},15:{n:"LABEL",f:d},16:{n:"FORMULA",f:T},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:p},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},102:{n:"PRANGES??"},103:{n:"RRANGES??"},104:{n:"FNAME??"},105:{n:"MRANGES??"},204:{n:"SHEETNAMECS",f:U},222:{n:"SHEETNAMELP",f:B},255:{n:"BOF",f:ws},21506:{n:"WKSNF",f:ws},65535:{n:""}};var $={0:{n:"BOF"},1:{n:"EOF"},2:{n:"PASSWORD"},3:{n:"CALCSET"},4:{n:"WINDOWSET"},5:{n:"SHEETCELLPTR"},6:{n:"SHEETLAYOUT"},7:{n:"COLUMNWIDTH"},8:{n:"HIDDENCOLUMN"},9:{n:"USERRANGE"},10:{n:"SYSTEMRANGE"},11:{n:"ZEROFORCE"},12:{n:"SORTKEYDIR"},13:{n:"FILESEAL"},14:{n:"DATAFILLNUMS"},15:{n:"PRINTMAIN"},16:{n:"PRINTSTRING"},17:{n:"GRAPHMAIN"},18:{n:"GRAPHSTRING"},19:{n:"??"},20:{n:"ERRCELL"},21:{n:"NACELL"},22:{n:"LABEL16",f:x},23:{n:"NUMBER17",f:N},24:{n:"NUMBER18",f:R},25:{n:"FORMULA19",f:D},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:z},28:{n:"DTLABELMISC"},29:{n:"DTLABELCELL"},30:{n:"GRAPHWINDOW"},31:{n:"CPA"},32:{n:"LPLAUTO"},33:{n:"QUERY"},34:{n:"HIDDENSHEET"},35:{n:"??"},37:{n:"NUMBER25",f:P},38:{n:"??"},39:{n:"NUMBER27",f:L},40:{n:"FORMULA28",f:M},142:{n:"??"},147:{n:"??"},150:{n:"??"},151:{n:"??"},152:{n:"??"},153:{n:"??"},154:{n:"??"},155:{n:"??"},156:{n:"??"},163:{n:"??"},174:{n:"??"},175:{n:"??"},176:{n:"??"},177:{n:"??"},184:{n:"??"},185:{n:"??"},186:{n:"??"},187:{n:"??"},188:{n:"??"},195:{n:"??"},201:{n:"??"},204:{n:"SHEETNAMECS",f:U},205:{n:"??"},206:{n:"??"},207:{n:"??"},208:{n:"??"},256:{n:"??"},259:{n:"??"},260:{n:"??"},261:{n:"??"},262:{n:"??"},263:{n:"??"},265:{n:"??"},266:{n:"??"},267:{n:"??"},268:{n:"??"},270:{n:"??"},271:{n:"??"},384:{n:"??"},389:{n:"??"},390:{n:"??"},393:{n:"??"},396:{n:"??"},512:{n:"??"},514:{n:"??"},513:{n:"??"},516:{n:"??"},517:{n:"??"},640:{n:"??"},641:{n:"??"},642:{n:"??"},643:{n:"??"},644:{n:"??"},645:{n:"??"},646:{n:"??"},647:{n:"??"},648:{n:"??"},658:{n:"??"},659:{n:"??"},660:{n:"??"},661:{n:"??"},662:{n:"??"},665:{n:"??"},666:{n:"??"},768:{n:"??"},772:{n:"??"},1537:{n:"SHEETINFOQP",f:W},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}};var X={5:"dd-mmm-yy",6:"dd-mmm",7:"mmm-yy",8:"mm/dd/yy",10:"hh:mm:ss AM/PM",11:"hh:mm AM/PM",14:"dd-mmm-yyyy",15:"mmm-yyyy",34:"0.00",50:"0.00;[Red]0.00",66:"0.00;(0.00)",82:"0.00;[Red](0.00)",162:'"$"#,##0.00;\\("$"#,##0.00\\)',288:"0%",304:"0E+00",320:"# ?/?"};function G(e){var r=e._R(2);var t=e._R(1);if(t!=0)throw"unsupported QPW string type "+t.toString(16);return e._R(r,"sbcs-cont")}function j(e,r){xa(e,0);var t=r||{};if(b!=null&&t.dense==null)t.dense=b;var a={};if(t.dense)a["!data"]=[];var n=[],i="",s=[];var f={s:{r:-1,c:-1},e:{r:-1,c:-1}};var l=0,o=0,c=0,h=0;var u={SheetNames:[],Sheets:{}};var d=[];e:while(e.l255||f.s.r>999999)break;if(f.e.cc)f.s.c=c;h=m._R(4);if(f.s.r>h)f.s.r=h;h=m._R(4);if(f.e.rh)f.s.r=h;if(f.e.r0&&l>=0){if(_&32)switch(_&31){case 2:C={t:"n",v:C.v+O&65535};break;case 3:C={t:"n",v:C.v+O&65535};if(C.v>32767)C.v-=65536;break;case 7:C={t:"s",v:n[o=o+O>>>0]};break;default:throw"Cannot apply delta for QPW cell type "+(_&31);}else switch(_&31){case 1:C={t:"z"};break;case 2:C={t:"n",v:m._R(2)};break;case 7:C={t:"s",v:n[o=m._R(4)-1]};break;default:throw"Cannot apply repeat for QPW cell type "+(_&31);}if(S!=-1);if(!(!t.sheetStubs&&C.t=="z")){if(a["!data"]!=null){if(!a["!data"][h])a["!data"][h]=[];a["!data"][h][c]=C}else a[E+Ba(h)]=C}++h;--l}}}break;case 3074:{c=m._R(2);h=m._R(4);var R=G(m);if(a["!data"]!=null){if(!a["!data"][h])a["!data"][h]=[];a["!data"][h][c]={t:"s",v:R}}else a[Va(c)+Ba(h)]={t:"s",v:R}}break;default:break;}e.l+=p}return u}return{sheet_to_wk1:n,book_to_wk3:i,to_workbook:r}}();function no(e){var r={},t=e.match(ft),a=0;var n=false;if(t)for(;a!=t.length;++a){var s=ct(t[a]);switch(s[0].replace(/<\w*:/g,"<")){case"":;case"":r.shadow=1;break;case"":break;case"":;case"":r.outline=1;break;case"":break;case"":;case"":r.strike=1;break;case"":break;case"":;case"":r.u=1;break;case"":break;case"":;case"":r.b=1;break;case"":break;case"":;case"":r.i=1;break;case"":break;case"":;case"":;case"":break;case"":;case"":;case"":break;case"":;case"":;case"":break;case"":;case"":;case"":break;case"":;case"":break;case"":n=false;break;default:if(s[0].charCodeAt(1)!==47&&!n)throw new Error("Unrecognized rich format "+s[0]);}}return r}var io=function(){function e(e){var r=Wr(e,"t");if(!r)return{t:"s",v:""};var t={t:"s",v:vt(r[1])};var a=Wr(e,"rPr");if(a)t.s=no(a[1]);return t}var r=/<(?:\w+:)?r>/g,t=/<\/(?:\w+:)?r>/;return function a(n){return n.replace(r,"").split(t).map(e).filter(function(e){return e.v})}}();var so=function kT(){var e=/(\r\n|\n)/g;function r(e,r,t){var a=[];if(e.u)a.push("text-decoration: underline;");if(e.uval)a.push("text-underline-style:"+e.uval+";");if(e.sz)a.push("font-size:"+e.sz+"pt;");if(e.outline)a.push("text-effect: outline;");if(e.shadow)a.push("text-shadow: auto;");r.push('');if(e.b){r.push("");t.push("")}if(e.i){r.push("");t.push("")}if(e.strike){r.push("");t.push("")}var n=e.valign||"";if(n=="superscript"||n=="super")n="sup";else if(n=="subscript")n="sub";if(n!=""){r.push("<"+n+">");t.push("")}t.push("");return e}function t(t){var a=[[],t.v,[]];if(!t.v)return"";if(t.s)r(t.s,a[0],a[2]);return a[0].join("")+a[1].replace(e,"
")+a[2].join("")}return function a(e){return e.map(t).join("")}}();var fo=/<(?:\w+:)?t\b[^<>]*>([^<]*)<\/(?:\w+:)?t>/g,lo=/<(?:\w+:)?r\b[^<>]*>/;function oo(e,r){var t=r?r.cellHTML:true;var a={};if(!e)return{t:""};if(e.match(/^\s*<(?:\w+:)?t[^>]*>/)){a.t=vt(Ot(e.slice(e.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||""),true);a.r=Ot(e);if(t)a.h=kt(a.t)}else if(e.match(lo)){a.r=Ot(e);a.t=vt(Ot((Hr(e,"rPh").match(fo)||[]).join("").replace(ft,"")),true);if(t)a.h=so(io(a.r))}return a}var co=/<(?:\w+:)?(?:si|sstItem)>/g;var ho=/<\/(?:\w+:)?(?:si|sstItem)>/;function uo(e,r){var t=[],a="";if(!e)return t;var n=Wr(e,"sst");if(n){a=n[1].replace(co,"").split(ho);for(var i=0;i!=a.length;++i){var s=oo(a[i].trim(),r);if(s!=null)t[t.length]=s}n=ct(n[0].slice(0,n[0].indexOf(">")));t.Count=n.count;t.Unique=n.uniqueCount}return t}var vo=/^\s|\s$|[\t\n\r]/;function po(e,r){if(!r.bookSST)return"";var t=[at];t[t.length]=Ut("sst",null,{xmlns:$t[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 mo(e){return[e._R(4),e._R(4)]}function go(e,r){var t=[];var a=false;Ra(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.T){}if(!a||r.WTF)throw new Error("Unexpected record 0x"+s.toString(16));}});return t}function bo(e,r){if(!r)r=Ia(8);r._W(4,e.Count);r._W(4,e.Unique);return r}var wo=vn;function ko(e){var r=Na();Fa(r,159,bo(e));for(var t=0;t=4)e.l+=r-4;return t}function yo(e){var r={};r.id=e._R(0,"lpp4");r.R=Ao(e,4);r.U=Ao(e,4);r.W=Ao(e,4);return r}function Eo(e){var r=e._R(4);var t=e.l+r-4;var a={};var n=e._R(4);var i=[];while(n-- >0)i.push({t:e._R(4),v:e._R(0,"lpp4")});a.name=e._R(0,"lpp4");a.comps=i;if(e.l!=t)throw new Error("Bad DataSpaceMapEntry: "+e.l+" != "+t);return a}function Co(e){var r=[];e.l+=4;var t=e._R(4);while(t-- >0)r.push(Eo(e));return r}function _o(e){var r=[];e.l+=4;var t=e._R(4);while(t-- >0)r.push(e._R(0,"lpp4"));return r}function So(e){var r={};e._R(4);e.l+=4;r.id=e._R(0,"lpp4");r.name=e._R(0,"lpp4");r.R=Ao(e,4);r.U=Ao(e,4);r.W=Ao(e,4);return r}function xo(e){var r=So(e);r.ename=e._R(0,"8lpp4");r.blksz=e._R(4);r.cmode=e._R(4);if(e._R(4)!=4)throw new Error("Bad !Primary record");return r}function Oo(e,r){var t=e.l+r;var a={};a.Flags=e._R(4)&63;e.l+=4;a.AlgID=e._R(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._R(4);a.KeySize=e._R(4);a.ProviderType=e._R(4);e.l+=8;a.CSPName=e._R(t-e.l>>1,"utf16le");e.l=t;return a}function Io(e,r){var t={},a=e.l+r;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;e._R(4);t.VerifierHash=e.slice(e.l,a);e.l=a;return t}function Ro(e){var r=Ao(e);switch(r.Minor){case 2:return[r.Minor,No(e,r)];case 3:return[r.Minor,Fo(e,r)];case 4:return[r.Minor,Do(e,r)];}throw new Error("ECMA-376 Encrypted file unrecognized Version: "+r.Minor)}function No(e){var r=e._R(4);if((r&63)!=36)throw new Error("EncryptionInfo mismatch");var t=e._R(4);var a=Oo(e,t);var n=Io(e,e.length-e.l);return{t:"Std",h:a,v:n}}function Fo(){throw new Error("File is password-protected: ECMA-376 Extensible")}function Do(e){var r=["saltSize","blockSize","keyBits","hashSize","cipherAlgorithm","cipherChaining","hashAlgorithm","saltValue"];e.l+=4;var t=e._R(e.length-e.l,"utf8");var a={};t.replace(ft,function n(e){var t=ct(e);switch(ht(t[0])){case"":break;case"":;case"":break;case"":break;case"4||a.Major<2)throw new Error("unrecognized major version code: "+a.Major);t.Flags=e._R(4);r-=4;var n=e._R(4);r-=4;t.EncryptionHeader=Oo(e,n);r-=n;t.EncryptionVerifier=Io(e,r);return t}function Lo(e){var r={};var t=r.EncryptionVersionInfo=Ao(e,4);if(t.Major!=1||t.Minor!=1)throw"unrecognized version code "+t.Major+" : "+t.Minor;r.Salt=e._R(16);r.EncryptedVerifier=e._R(16);r.EncryptedVerifierHash=e._R(16);return r}function Mo(e){var r=0,t;var a=To(e);var n=a.length+1,i,s;var f,l,o;t=x(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;l=r<<1&32767;o=f|l;r=o^s}return r^52811}var Uo=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=To(r);var a=i(t);var s=t.length;var f=x(16);for(var l=0;l!=16;++l)f[l]=0;var o,c,h;if((s&1)===1){o=a>>8;f[s]=n(e[0],o);--s;o=a&255;c=t[t.length-1];f[s]=n(c,o)}while(s>0){--s;o=a>>8;f[s]=n(t[s],o);--s;o=a&255;f[s]=n(t[s],o)}s=15;h=15-t.length;while(h>0){o=a>>8;f[s]=n(e[h],o);--s;--h;o=a&255;f[s]=n(t[s],o);--s;--h}return f}}();var Bo=function(e,r,t,a,n){if(!n)n=r;if(!a)a=Uo(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 Wo=function(e){var r=0,t=Uo(e);return function(e){var a=Bo("",e,r,t);r=a[1];return a[0]}};function zo(e,r,t,a){var n={key:ws(e),verificationBytes:ws(e)};if(t.password)n.verifier=Mo(t.password);a.valid=n.verificationBytes===n.verifier;if(a.valid)a.insitu=Wo(t.password);return n}function Ho(e,r,t){var a=t||{};a.Info=e._R(2);e.l-=2;if(a.Info===1)a.Data=Lo(e,r);else a.Data=Po(e,r);return a}function Vo(e,r,t){var a={Type:t.biff>=8?e._R(2):0};if(a.Type)Ho(e,r-2,a);else zo(e,t.biff>=8?r:r-2,t,a);return a}function $o(e,r){switch(r.type){case"base64":return Xo(E(e),r);case"binary":return Xo(e,r);case"buffer":return Xo(C&&Buffer.isBuffer(e)?e.toString("binary"):N(e),r);case"array":return Xo(kr(e),r);}throw new Error("Unrecognized type "+r.type)}function Xo(e,r){var t=r||{};var a={};var n=t.dense;if(n)a["!data"]=[];var i=Lr(e,"\\trowd","\\row");if(!i)throw new Error("RTF missing table");var s={s:{c:0,r:0},e:{c:0,r:i.length-1}};var f=[];i.forEach(function(e,r){if(n)f=a["!data"][r]=[];var i=/\\[\w\-]+\b/g;var l=0;var o;var c=-1;var h=[];while((o=i.exec(e))!=null){var u=e.slice(l,i.lastIndex-o[0].length);if(u.charCodeAt(0)==32)u=u.slice(1);if(u.length)h.push(u);switch(o[0]){case"\\cell":++c;if(h.length){var d={v:h.join(""),t:"s"};if(d.v=="TRUE"||d.v=="FALSE"){d.v=d.v=="TRUE";d.t="b"}else if(!isNaN(yr(d.v))){d.t="n";if(t.cellText!==false)d.w=d.v;d.v=yr(d.v)}if(n)f[c]=d;else a[Ka({r:r,c:c})]=d}h=[];break;case"\\par":h.push("\n");break;}l=i.lastIndex}if(c>s.e.c)s.e.c=c});a["!ref"]=Za(s);return a}function Go(e,r){var t=tn($o(e,r),r);t.bookType="rtf";return t}function jo(e,r){var t=["{\\rtf1\\ansi"];if(!e["!ref"])return t[0]+"}";var a=Qa(e["!ref"]),n;var i=e["!data"]!=null,s=[];for(var f=a.s.r;f<=a.e.r;++f){t.push("\\trowd\\trautofit1");for(var l=a.s.c;l<=a.e.c;++l)t.push("\\cellx"+(l+1));t.push("\\pard\\intbl");if(i)s=e["!data"][f]||[];for(l=a.s.c;l<=a.e.c;++l){var o=Ka({r:f,c:l});n=i?s[l]:e[o];if(!n||n.v==null&&(!n.f||n.F)){t.push(" \\cell");continue}t.push(" "+(n.w||(rn(n),n.w)||"").replace(/[\r\n]/g,"\\par "));t.push("\\cell")}t.push("\\pard\\intbl\\row")}return t.join("")+"}"}function Ko(e){var r=e.slice(e[0]==="#"?1:0).slice(0,6);return[parseInt(r.slice(0,2),16),parseInt(r.slice(2,4),16),parseInt(r.slice(4,6),16)]}function Yo(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().slice(1)}function Zo(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,l=0,o=n+i;l=s/(o>1?2-o:o);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,l,o/2]}function Jo(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 l;if(t!==0)switch(f|0){case 0:;case 6:l=n*f;s[0]+=n;s[1]+=l;break;case 1:l=n*(2-f);s[0]+=l;s[1]+=n;break;case 2:l=n*(f-2);s[1]+=n;s[2]+=l;break;case 3:l=n*(4-f);s[1]+=l;s[2]+=n;break;case 4:l=n*(f-4);s[2]+=n;s[0]+=l;break;case 5:l=n*(6-f);s[2]+=l;s[0]+=n;break;}for(var o=0;o!=3;++o)s[o]=Math.round(s[o]*255);return s}function qo(e,r){if(r===0)return e;var t=Zo(Ko(e));if(r<0)t[2]=t[2]*(1+r);else t[2]=1-(1-t[2])*(1-r);return Yo(Jo(t))}var Qo=6,ec=15,rc=1,tc=Qo;function ac(e){return Math.floor((e+Math.round(128/tc)/256)*tc)}function nc(e){return Math.floor((e-5)/tc*100+.5)/100}function ic(e){return Math.round((e*tc+5)/tc*256)/256}function sc(e){return ic(nc(ac(e)))}function fc(e){var r=Math.abs(e-sc(e)),t=tc;if(r>.005)for(tc=rc;tc":;case"":break;case"":;case"":n={};if(t.diagonalUp)n.diagonalUp=Et(t.diagonalUp);if(t.diagonalDown)n.diagonalDown=Et(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;case"":;case"":break;case"":i=false;break;default:if(a&&a.WTF){if(!i)throw new Error("unrecognized "+t[0]+" in borders")};}})}function pc(e,r,t,a){r.Fills=[];var n={};var i=false;(e.match(ft)||[]).forEach(function(e){ +var t=ct(e);switch(ht(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;case"":;case"":break;case"":i=false;break;default:if(a&&a.WTF){if(!i)throw new Error("unrecognized "+t[0]+" in fills")};}})}function mc(e,r,t,a){r.Fonts=[];var n={};var s=false;(e.match(ft)||[]).forEach(function(e){var f=ct(e);switch(ht(f[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;case"":s=false;break;case"":;case"":break;case"":s=false;break;default:if(a&&a.WTF){if(!s)throw new Error("unrecognized "+f[0]+" in fonts")};}})}function gc(e,r,t){r.NumberFmt=[];var a=ir(q);for(var n=0;n":;case"":;case"":break;case"0){if(l>392){for(l=392;l>60;--l)if(r.NumberFmt[l]==null)break;r.NumberFmt[l]=f}Je(f,l)}}break;case"":break;default:if(t.WTF)throw new Error("unrecognized "+s[0]+" in numFmts");}}}function bc(e){var r=[""];[[5,8],[23,26],[41,44],[50,392]].forEach(function(t){for(var a=t[0];a<=t[1];++a)if(e[a]!=null)r[r.length]=Ut("numFmt",null,{numFmtId:a,formatCode:gt(e[a])})});if(r.length===1)return"";r[r.length]="";r[0]=Ut("numFmts",null,{count:r.length-2}).replace("/>",">");return r.join("")}var wc=["numFmtId","fillId","fontId","borderId","xfId"];var kc=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"];function Tc(e,r,t){r.CellXf=[];var a;var n=false;(e.match(ft)||[]).forEach(function(e){var i=ct(e),s=0;switch(ht(i[0])){case"":;case"":;case"":break;case"":;case"":a=i;delete a[0];for(s=0;s392){for(s=392;s>60;--s)if(r.NumberFmt[a.numFmtId]==r.NumberFmt[s]){a.numFmtId=s;break}}r.CellXf.push(a);break;case"":break;case"":;case"":var f={};if(i.vertical)f.vertical=i.vertical;if(i.horizontal)f.horizontal=i.horizontal;if(i.textRotation!=null)f.textRotation=i.textRotation;if(i.indent)f.indent=i.indent;if(i.wrapText)f.wrapText=Et(i.wrapText);a.alignment=f;break;case"":break;case"":break;case"":;case"":break;case"":n=true;break;case"":n=false;break;case"":;case"":break;case"":n=false;break;default:if(t&&t.WTF){if(!n)throw new Error("unrecognized "+i[0]+" in cellXfs")};}})}function Ac(e){var r=[];r[r.length]=Ut("cellXfs",null);e.forEach(function(e){r[r.length]=Ut("xf",null,e)});r[r.length]="";if(r.length===2)return"";r[0]=Ut("cellXfs",null,{count:r.length-2}).replace("/>",">");return r.join("")}var yc=function TT(){return function e(r,t,a){var n={};if(!r)return n;r=Pr(Mr(r,""));var i;if(i=Wr(r,"numFmts"))gc(i[0],n,a);if(i=Wr(r,"fonts"))mc(i[0],n,t,a);if(i=Wr(r,"fills"))pc(i[0],n,t,a);if(i=Wr(r,"borders"))vc(i[0],n,t,a);if(i=Wr(r,"cellXfs"))Tc(i[0],n,a);return n}}();function Ec(e,r){var t=[at,Ut("styleSheet",null,{xmlns:$t[0],"xmlns:vt":Vt.vt})],a;if(e.SSF&&(a=bc(e.SSF))!=null)t[t.length]=a;t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';if(a=Ac(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 Cc(e,r){var t=e._R(2);var a=on(e,r-2);return[t,a]}function _c(e,r,t){if(!t)t=Ia(6+4*r.length);t._W(2,e);cn(r,t);var a=t.length>t.l?t.slice(0,t.l):t;if(t.l==null)t.l=t.length;return a}function Sc(e,r,t){var a={};a.sz=e._R(2)/20;var n=Un(e,2,t);if(n.fItalic)a.italic=1;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;var i=e._R(2);if(i===700)a.bold=1;switch(e._R(2)){case 1:a.vertAlign="superscript";break;case 2:a.vertAlign="subscript";break;}var s=e._R(1);if(s!=0)a.underline=s;var f=e._R(1);if(f>0)a.family=f;var l=e._R(1);if(l>0)a.charset=l;e.l++;a.color=Ln(e,8);switch(e._R(1)){case 1:a.scheme="major";break;case 2:a.scheme="minor";break;}a.name=on(e,r-21);return a}function xc(e,r){if(!r)r=Ia(25+4*32);r._W(2,e.sz*20);Bn(e,r);r._W(2,e.bold?700:400);var t=0;if(e.vertAlign=="superscript")t=1;else if(e.vertAlign=="subscript")t=2;r._W(2,t);r._W(1,e.underline||0);r._W(1,e.family||0);r._W(1,e.charset||0);r._W(1,0);Mn(e.color,r);var a=0;if(e.scheme=="major")a=1;if(e.scheme=="minor")a=2;r._W(1,a);cn(e.name,r);return r.length>r.l?r.slice(0,r.l):r}var Oc=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];var Ic;var Rc=Oa;function Nc(e,r){if(!r)r=Ia(4*3+8*7+16*1);if(!Ic)Ic=fr(Oc);var t=Ic[e.patternType];if(t==null)t=40;r._W(4,t);var a=0;if(t!=40){Mn({auto:1},r);Mn({auto:1},r);for(;a<12;++a)r._W(4,0)}else{for(;a<4;++a)r._W(4,0);for(;a<12;++a)r._W(4,0)}return r.length>r.l?r.slice(0,r.l):r}function Fc(e,r){var t=e.l+r;var a=e._R(2);var n=e._R(2);e.l=t;return{ixfe:a,numFmtId:n}}function Dc(e,r,t){if(!t)t=Ia(16);t._W(2,r||0);t._W(2,e.numFmtId||0);t._W(2,0);t._W(2,0);t._W(2,0);t._W(1,0);t._W(1,0);var a=0;t._W(1,a);t._W(1,0);t._W(1,0);t._W(1,0);return t}function Pc(e,r){if(!r)r=Ia(10);r._W(1,0);r._W(1,0);r._W(4,0);r._W(4,0);return r}var Lc=Oa;function Mc(e,r){if(!r)r=Ia(51);r._W(1,0);Pc(null,r);Pc(null,r);Pc(null,r);Pc(null,r);Pc(null,r);return r.length>r.l?r.slice(0,r.l):r}function Uc(e,r){if(!r)r=Ia(12+4*10);r._W(4,e.xfId);r._W(2,1);r._W(1,+e.builtinId);r._W(1,0);En(e.name||"",r);return r.length>r.l?r.slice(0,r.l):r}function Bc(e,r,t){var a=Ia(4+256*2*4);a._W(4,e);En(r,a);En(t,a);return a.length>a.l?a.slice(0,a.l):a}function Wc(e,r,t){var a={};a.NumberFmt=[];for(var n in q)a.NumberFmt[n]=q[n];a.CellXf=[];a.Fonts=[];var i=[];var s=false;Ra(e,function f(e,n,l){switch(l){case 44:a.NumberFmt[e[0]]=e[1];Je(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=qo(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]==617){a.CellXf.push(e)}break;case 48:;case 507:;case 572:;case 475:break;case 1171:;case 2102:;case 1130:;case 512:;case 2095:;case 3072:break;case 35:s=true;break;case 36:s=false;break;case 37:i.push(l);s=true;break;case 38:i.pop();s=false;break;default:if(n.T>0)i.push(l);else if(n.T<0)i.pop();else if(!s||t.WTF&&i[i.length-1]!=37)throw new Error("Unexpected record 0x"+l.toString(16));}});return a}function zc(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;Fa(e,615,ln(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)Fa(e,44,_c(a,r[a]))});Fa(e,616)}function Hc(e){var r=1;if(r==0)return;Fa(e,611,ln(r));Fa(e,43,xc({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}));Fa(e,612)}function Vc(e){var r=2;if(r==0)return;Fa(e,603,ln(r));Fa(e,45,Nc({patternType:"none"}));Fa(e,45,Nc({patternType:"gray125"}));Fa(e,604)}function $c(e){var r=1;if(r==0)return;Fa(e,613,ln(r));Fa(e,46,Mc({}));Fa(e,614)}function Xc(e){var r=1;Fa(e,626,ln(r));Fa(e,47,Dc({numFmtId:0,fontId:0,fillId:0,borderId:0},65535));Fa(e,627)}function Gc(e,r){Fa(e,617,ln(r.length));r.forEach(function(r){Fa(e,47,Dc(r,0))});Fa(e,618)}function jc(e){var r=1;Fa(e,619,ln(r));Fa(e,48,Uc({xfId:0,builtinId:0,name:"Normal"}));Fa(e,620)}function Kc(e){var r=0;Fa(e,505,ln(r));Fa(e,506)}function Yc(e){var r=0;Fa(e,508,Bc(r,"TableStyleMedium9","PivotStyleMedium4"));Fa(e,509)}function Zc(){return}function Jc(e,r){var t=Na();Fa(t,278);zc(t,e.SSF);Hc(t,e);Vc(t,e);$c(t,e);Xc(t,e);Gc(t,r.cellXfs);jc(t,e);Kc(t,e);Yc(t,e);Zc(t,e);Fa(t,279);return t.end()}var qc=["","","","","","","","","","","",""];function Qc(e,r,t){r.themeElements.clrScheme=[];var a={};(e[0].match(ft)||[]).forEach(function(e){var n=ct(e);switch(n[0]){case"":break;case"":break;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[qc.indexOf(n[0])]=a;a={}}else{a.name=n[0].slice(3,n[0].length-1)}break;default:if(t&&t.WTF)throw new Error("Unrecognized "+n[0]+" in clrScheme");}})}function eh(){}function rh(){}function th(e,r,t){r.themeElements={};var a;if(!(a=Br(e,"a:clrScheme")))throw new Error("clrScheme not found in themeElements");Qc(a,r,t);if(!(a=Br(e,"a:fontScheme")))throw new Error("fontScheme not found in themeElements");eh(a,r,t);if(!(a=Br(e,"a:fmtScheme")))throw new Error("fmtScheme not found in themeElements");rh(a,r,t)}function ah(e,r){if(!e||e.length===0)e=nh();var t;var a={};if(!(t=Br(e,"a:themeElements")))throw new Error("themeElements not found in theme");th(t[0],a,r);a.raw=e;return a}function nh(e,r){if(r&&r.themeXLSX)return r.themeXLSX;if(e&&typeof e.raw=="string")return e.raw;var t=[at];t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]="";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 ih(e,r,t){var a=e.l+r;var n=e._R(4);if(n===124226)return;if(!t.cellStyles){e.l=a;return}var i=e.slice(e.l);e.l=a;var s;try{s=rt(i,{type:"array"})}catch(f){return}var l=Zr(s,"theme/theme/theme1.xml",true);if(!l)return;return ah(l,t)}function sh(e){return e._R(4)}function fh(e){var r={};r.xclrType=e._R(2);r.nTintShade=e._R(2);switch(r.xclrType){case 0:e.l+=4;break;case 1:r.xclrValue=lh(e,4);break;case 2:r.xclrValue=Bs(e,4);break;case 3:r.xclrValue=sh(e,4);break;case 4:e.l+=4;break;}e.l+=8;return r}function lh(e,r){return Oa(e,r)}function oh(e,r){return Oa(e,r)}function ch(e){var r=e._R(2);var t=e._R(2)-4;var a=[r];switch(r){case 4:;case 5:;case 7:;case 8:;case 9:;case 10:;case 11:;case 13:a[1]=fh(e,t);break;case 6:a[1]=oh(e,t);break;case 14:;case 15:a[1]=e._R(t===1?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+r+" "+t);}return a}function hh(e,r){var t=e.l+r;e.l+=2;var a=e._R(2);e.l+=2;var n=e._R(2);var i=[];while(n-- >0)i.push(ch(e,t-e.l));return{ixfe:a,ext:i}}function uh(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 dh(e,r){return{flags:e._R(4),version:e._R(4),name:on(e,r-8)}}function vh(e){var r=Ia(12+2*e.name.length);r._W(4,e.flags);r._W(4,e.version);cn(e.name,r);return r.slice(0,r.l)}function ph(e){var r=[];var t=e._R(4);while(t-- >0)r.push([e._R(4),e._R(4)]);return r}function mh(e){var r=Ia(4+8*e.length);r._W(4,e.length);for(var t=0;t":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":i=2;break;case"":i=2;break;case"":;case"":;case"":break;case"":n=false;break;case"\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n');return e.join("")}function Eh(e){var r=[];if(!e)return r;var t=1;(e.match(ft)||[]).forEach(function(e){var a=ct(e);switch(a[0]){case"":;case"":break;case"]*r:id="([^<>"]*)"/)||["",""])[1];return r["!id"][t].Target}function Ih(e,r,t){var a=0;(zr(e,"shape")||[]).forEach(function(e){var n="";var i=true;var s=-1;var f=-1,l=-1;e.replace(ft,function(r,t){var a=ct(r);switch(ht(a[0])){case"":i=false;break;case"":s=t+r.length;break;case"":f=+e.slice(s,t).trim();break;case"":s=t+r.length;break;case"":l=+e.slice(s,t).trim();break;}return""});switch(n){case"Note":var o=zk(r,f>=0&&l>=0?Ka({r:f,c:l}):t[a].ref);if(o.c){o.c.hidden=i}++a;break;}})}function Rh(e,r,t){var a=[21600,21600];var n=["m0,0l0",a[1],a[0],a[1],a[0],"0xe"].join(",");var i=[Ut("xml",null,{"xmlns:v":Xt.v,"xmlns:o":Xt.o,"xmlns:x":Xt.x,"xmlns:mv":Xt.mv}).replace(/\/>/,">"),Ut("o:shapelayout",Ut("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"})];var s=65536*e;var f=r||[];if(f.length>0)i.push(Ut("v:shapetype",[Ut("v:stroke",null,{joinstyle:"miter"}),Ut("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202",coordsize:a.join(","),"o:spt":202,path:n}));f.forEach(function(e){++s;i.push(Nh(e,s))});i.push("");return i.join("")}function Nh(e,r,t){var a=ja(e[0]);var n={color2:"#BEFF82",type:"gradient"};if(n.type=="gradient")n.angle="-180";var i=n.type=="gradient"?Ut("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null;var s=Ut("v:fill",i,n);var f={on:"t",obscured:"t"};return["",s,Ut("v:shadow",null,f),Ut("v:path",null,{"o:connecttype":"none"}),'
','',"","",Lt("x:Anchor",[a.c+1,0,a.r+1,0,a.c+3,20,a.r+5,20].join(",")),Lt("x:AutoFill","False"),Lt("x:Row",String(a.r)),Lt("x:Column",String(a.c)),e[1].hidden?"":"","",""].join(""); +}function Fh(e,r,t,a){var n=e["!data"]!=null;var i;r.forEach(function(r){var s=ja(r.ref);if(s.r<0||s.c<0)return;if(n){if(!e["!data"][s.r])e["!data"][s.r]=[];i=e["!data"][s.r][s.c]}else i=e[r.ref];if(!i){i={t:"z"};if(n)e["!data"][s.r][s.c]=i;else e[r.ref]=i;var f=Qa(e["!ref"]||"BDWGO1000001:A1");if(f.s.r>s.r)f.s.r=s.r;if(f.e.rs.c)f.s.c=s.c;if(f.e.c=0;--c){if(!t&&i.c[c].T)return;if(t&&!i.c[c].T)i.c.splice(c,1)}if(t&&a)for(c=0;c/))return[];var t=[];var a=[];var n=Wr(e,"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=Wr(e,"commentList");if(i&&i[1])i[1].split(/<\/\w*:?comment>/).forEach(function(e){if(e===""||e.trim()==="")return;var n=e.match(/<(?:\w+:)?comment[^<>]*>/);if(!n)return;var i=ct(n[0]);var s={author:i.authorId&&t[i.authorId]||"sheetjsghost",ref:i.ref,guid:i.guid};var f=ja(i.ref);if(r.sheetRows&&r.sheetRows<=f.r)return;var l=Wr(e,"text");var o=!!l&&!!l[1]&&oo(l[1])||{r:"",t:"",h:""};s.r=o.r;if(o.r=="")o.t=o.h="";s.t=(o.t||"").replace(/\r\n/g,"\n").replace(/\r/g,"\n");if(r.cellHTML)s.h=o.h;a.push(s)});return a}function Ph(e){var r=[at,Ut("comments",null,{xmlns:$t[0]})];var t=[];r.push("");e.forEach(function(e){e[1].forEach(function(e){var a=gt(e.a);if(t.indexOf(a)==-1){t.push(a);r.push(""+a+"")}if(e.T&&e.ID&&t.indexOf("tc="+e.ID)==-1){t.push("tc="+e.ID);r.push(""+"tc="+e.ID+"")}})});if(t.length==0){t.push("SheetJ5");r.push("SheetJ5")}r.push("");r.push("");e.forEach(function(e){var a=0,n=[],i=0;if(e[1][0]&&e[1][0].T&&e[1][0].ID)a=t.indexOf("tc="+e[1][0].ID);e[1].forEach(function(e){if(e.a)a=t.indexOf(gt(e.a));if(e.T)++i;n.push(e.t==null?"":gt(e.t))});if(i===0){e[1].forEach(function(a){r.push('');r.push(Lt("t",a.t==null?"":gt(a.t)));r.push("")})}else{if(e[1][0]&&e[1][0].T&&e[1][0].ID)a=t.indexOf("tc="+e[1][0].ID);r.push('');var s="Comment:\n "+n[0]+"\n";for(var f=1;f")}});r.push("");if(r.length>2){r[r.length]="";r[1]=r[1].replace("/>",">")}return r.join("")}function Lh(e,r){var t=[];var a=false,n={},i=0;e.replace(ft,function s(f,l){var o=ct(f);switch(ht(o[0])){case"":break;case"":if(n.t!=null)t.push(n);break;case"":;case"":n.t=e.slice(i,l).replace(/\r\n/g,"\n").replace(/\r/g,"\n");break;case"":a=true;break;case"":a=false;break;case"":;case"
":;case"":break;case"":a=false;break;default:if(!a&&r.WTF)throw new Error("unrecognized "+o[0]+" in threaded comments");}return f});return t}function Mh(e,r,t){var a=[at,Ut("ThreadedComments",null,{xmlns:Vt.TCMNT}).replace(/[\/]>/,">")];e.forEach(function(e){var n="";(e[1]||[]).forEach(function(i,s){if(!i.T){delete i.ID;return}if(i.a&&r.indexOf(i.a)==-1)r.push(i.a);var f={ref:e[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+t.tcid++).slice(-12)+"}"};if(s==0)n=f.id;else f.parentId=n;i.ID=f.id;if(i.a)f.personId="{54EE7950-7262-4200-6969-"+("000000000000"+r.indexOf(i.a)).slice(-12)+"}";a.push(Ut("threadedComment",Lt("text",i.t||""),f))})});a.push("");return a.join("")}function Uh(e,r){var t=[];var a=false;e.replace(ft,function n(e){var n=ct(e);switch(ht(n[0])){case"":break;case"":break;case"":;case"":;case"":break;case"":a=false;break;default:if(!a&&r.WTF)throw new Error("unrecognized "+n[0]+" in threaded comments");}return e});return t}function Bh(e){var r=[at,Ut("personList",null,{xmlns:Vt.TCMNT,"xmlns:x":$t[0]}).replace(/[\/]>/,">")];e.forEach(function(e,t){r.push(Ut("person",null,{displayName:e,id:"{54EE7950-7262-4200-6969-"+("000000000000"+t).slice(-12)+"}",userId:e,providerId:"None"}))});r.push("");return r.join("")}function Wh(e){var r={};r.iauthor=e._R(4);var t=Nn(e,16);r.rfx=t.s;r.ref=Ka(t.s);e.l+=16;return r}function zh(e,r){if(r==null)r=Ia(36);r._W(4,e[1].iauthor);Fn(e[0],r);r._W(4,0);r._W(4,0);r._W(4,0);r._W(4,0);return r}var Hh=on;function Vh(e){return cn(e.slice(0,54))}function $h(e,r){var t=[];var a=[];var n={};var i=false;Ra(e,function s(e,f,l){switch(l){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&&n.rfx&&r.sheetRows<=n.rfx.r)break;if(!n.t)n.t="";delete n.rfx;t.push(n);break;case 3072:break;case 35:i=true;break;case 36:i=false;break;case 37:break;case 38:break;default:if(f.T){}else if(!i||r.WTF)throw new Error("Unexpected record 0x"+l.toString(16));}});return t}function Xh(e){var r=Na();var t=[];Fa(r,628);Fa(r,630);e.forEach(function(e){e[1].forEach(function(e){if(t.indexOf(e.a)>-1)return;t.push(e.a.slice(0,54));Fa(r,632,Vh(e.a));if(e.T&&e.ID&&t.indexOf("tc="+e.ID)==-1){t.push("tc="+e.ID);Fa(r,632,Vh("tc="+e.ID))}})});Fa(r,631);Fa(r,633);e.forEach(function(e){e[1].forEach(function(a){var n=-1;if(a.ID)n=t.indexOf("tc="+a.ID);if(n==-1&&e[1][0].T&&e[1][0].ID)n=t.indexOf("tc="+e[1][0].ID);if(n==-1)n=t.indexOf(a.a);a.iauthor=n;var i={s:ja(e[0]),e:ja(e[0])};Fa(r,635,zh([i,a]));if(a.t&&a.t.length>0)Fa(r,637,mn(a));Fa(r,636);delete a.iauthor})});Fa(r,634);Fa(r,629);return r.end()}var Gh="application/vnd.ms-office.vbaProject";function jh(e){var r=Qe.utils.cfb_new({root:"R"});e.FullPaths.forEach(function(t,a){if(t.slice(-1)==="/"||!t.match(/_VBA_PROJECT_CUR/))return;var n=t.replace(/^[^\/]*/,"R").replace(/\/_VBA_PROJECT_CUR\u0000*/,"");Qe.utils.cfb_add(r,n,e.FileIndex[a].content)});return Qe.write(r)}function Kh(e,r){r.FullPaths.forEach(function(t,a){if(a==0)return;var n=t.replace(/^[\/]*[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");if(n.slice(-1)!=="/")Qe.utils.cfb_add(e,n,r.FileIndex[a].content)})}var Yh=["xlsb","xlsm","xlam","biff8","xla"];function Zh(){return{"!type":"dialog"}}function Jh(){return{"!type":"dialog"}}function qh(){return{"!type":"macro"}}function Qh(){return{"!type":"macro"}}var eu=function(){var e=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g;var r={r:0,c:0};function t(e,t,a,n){var i=false,s=false;if(a.length==0)s=true;else if(a.charAt(0)=="["){s=true;a=a.slice(1,-1)}if(n.length==0)i=true;else if(n.charAt(0)=="["){i=true;n=n.slice(1,-1)}var f=a.length>0?parseInt(a,10)|0:0,l=n.length>0?parseInt(n,10)|0:0;if(i)l+=r.c;else--l;if(s)f+=r.r;else--f;return t+(i?"":"$")+Va(l)+(s?"":"$")+Ba(f)}return function a(n,i){r=i;return n.replace(e,t)}}();var ru=/(^|[^._A-Z0-9])(\$?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])(\$?)(\d{1,7})(?![_.\(A-Za-z0-9])/g;try{ru=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g}catch(tu){}var au=function(){return function e(r,t){return r.replace(ru,function(e,r,a,n,i,s){var f=Ha(n)-(a?0:t.c);var l=Ua(s)-(i?0:t.r);var o=i=="$"?l+1:l==0?"":"["+l+"]";var c=a=="$"?f+1:f==0?"":"["+f+"]";return r+"R"+o+"C"+c})}}();function nu(e,r){return e.replace(ru,function(e,t,a,n,i,s){return t+(a=="$"?a+n:Va(Ha(n)+r.c))+(i=="$"?i+s:Ba(Ua(s)+r.r))})}function iu(e,r,t){var a=Ya(r),n=a.s,i=ja(t);var s={r:i.r-n.r,c:i.c-n.c};return nu(e,s)}function su(e){if(e.length==1)return false;return true}function fu(e){return e.replace(/_xlfn\./g,"")}function lu(e){e.l+=1;return}function ou(e,r){var t=e._R(r==1?1:2);return[t&16383,t>>14&1,t>>15&1]}function cu(e,r,t){var a=2;if(t){if(t.biff>=2&&t.biff<=5)return hu(e,r,t);else if(t.biff==12)a=4}var n=e._R(a),i=e._R(a);var s=ou(e,2);var f=ou(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 hu(e){var r=ou(e,2),t=ou(e,2);var a=e._R(1);var n=e._R(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 uu(e,r,t){if(t.biff<8)return hu(e,r,t);var a=e._R(t.biff==12?4:2),n=e._R(t.biff==12?4:2);var i=ou(e,2);var s=ou(e,2);return{s:{r:a,c:i[0],cRel:i[1],rRel:i[2]},e:{r:n,c:s[0],cRel:s[1],rRel:s[2]}}}function du(e,r,t){if(t&&t.biff>=2&&t.biff<=5)return vu(e,r,t);var a=e._R(t&&t.biff==12?4:2);var n=ou(e,2);return{r:a,c:n[0],cRel:n[1],rRel:n[2]}}function vu(e){var r=ou(e,2);var t=e._R(1);return{r:r[0],c:t,cRel:r[1],rRel:r[2]}}function pu(e){var r=e._R(2);var t=e._R(2);return{r:r,c:t&255,fQuoted:!!(t&16384),cRel:t>>15,rRel:t>>15}}function mu(e,r,t){var a=t&&t.biff?t.biff:8;if(a>=2&&a<=5)return gu(e,r,t);var n=e._R(a>=12?4:2);var i=e._R(2);var s=(i&16384)>>14,f=(i&32768)>>15;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 gu(e){var r=e._R(2);var t=e._R(1);var a=(r&32768)>>15,n=(r&16384)>>14;r&=16383;if(a==1&&r>=8192)r=r-16384;if(n==1&&t>=128)t=t-256;return{r:r,c:t,cRel:n,rRel:a}}function bu(e,r,t){var a=(e[e.l++]&96)>>5;var n=cu(e,t.biff>=2&&t.biff<=5?6:8,t);return[a,n]}function wu(e,r,t){var a=(e[e.l++]&96)>>5;var n=e._R(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=cu(e,i,t);return[a,n,s]}function ku(e,r,t){var a=(e[e.l++]&96)>>5;e.l+=t&&t.biff>8?12:t.biff<8?6:8;return[a]}function Tu(e,r,t){var a=(e[e.l++]&96)>>5;var n=e._R(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 Au(e,r,t){var a=(e[e.l++]&96)>>5;var n=uu(e,r-1,t);return[a,n]}function yu(e,r,t){var a=(e[e.l++]&96)>>5;e.l+=t.biff==2?6:t.biff==12?14:7;return[a]}function Eu(e){var r=e[e.l+1]&1;var t=1;e.l+=4;return[r,t]}function Cu(e,r,t){e.l+=2;var a=e._R(t&&t.biff==2?1:2);var n=[];for(var i=0;i<=a;++i)n.push(e._R(t&&t.biff==2?1:2));return n}function _u(e,r,t){var a=e[e.l+1]&255?1:0;e.l+=2;return[a,e._R(t&&t.biff==2?1:2)]}function Su(e,r,t){var a=e[e.l+1]&255?1:0;e.l+=2;return[a,e._R(t&&t.biff==2?1:2)]}function xu(e){var r=e[e.l+1]&255?1:0;e.l+=2;return[r,e._R(2)]}function Ou(e,r,t){var a=e[e.l+1]&255?1:0;e.l+=t&&t.biff==2?3:4;return[a]}function Iu(e){var r=e._R(1),t=e._R(1);return[r,t]}function Ru(e){e._R(2);return Iu(e,2)}function Nu(e){e._R(2);return Iu(e,2)}function Fu(e,r,t){var a=(e[e.l]&96)>>5;e.l+=1;var n=du(e,0,t);return[a,n]}function Du(e,r,t){var a=(e[e.l]&96)>>5;e.l+=1;var n=mu(e,0,t);return[a,n]}function Pu(e,r,t){var a=(e[e.l]&96)>>5;e.l+=1;var n=e._R(2);if(t&&t.biff==5)e.l+=12;var i=du(e,0,t);return[a,n,i]}function Lu(e,r,t){var a=(e[e.l]&96)>>5;e.l+=1;var n=e._R(t&&t.biff<=3?1:2);return[cv[n],ov[n],a]}function Mu(e,r,t){var a=e[e.l++];var n=e._R(1),i=t&&t.biff<=3?[a==88?-1:0,e._R(1)]:Uu(e);return[n,(i[0]===0?ov:lv)[i[1]]]}function Uu(e){return[e[e.l+1]>>7,e._R(2)&32767]}function Bu(e,r,t){e.l+=t&&t.biff==2?3:4;return}function Wu(e,r,t){e.l++;if(t&&t.biff==12)return[e._R(4,"i"),0];var a=e._R(2);var n=e._R(t&&t.biff==2?1:2);return[a,n]}function zu(e){e.l++;return oi[e._R(1)]}function Hu(e){e.l++;return e._R(2)}function Vu(e){e.l++;return e._R(1)!==0}function $u(e){e.l++;return Dn(e,8)}function Xu(e,r,t){e.l++;return Es(e,r-1,t)}function Gu(e,r){var t=[e._R(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]=gs(e,1)?"TRUE":"FALSE";if(r!=12)e.l+=7;break;case 37:;case 16:t[1]=oi[e[e.l]];e.l+=r==12?4:8;break;case 0:e.l+=8;break;case 1:t[1]=Dn(e,8);break;case 2:t[1]=Os(e,0,{biff:r>0&&r<8?2:r});break;default:throw new Error("Bad SerAr: "+t[0]);}return t}function ju(e,r,t){var a=e._R(t.biff==12?4:2);var n=[];for(var i=0;i!=a;++i)n.push((t.biff==12?Nn:Ks)(e,8));return n}function Ku(e,r,t){var a=0,n=0;if(t.biff==12){a=e._R(4);n=e._R(4)}else{n=1+e._R(1);a=1+e._R(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]=Gu(e,t.biff);return s}function Yu(e,r,t){var a=e._R(1)>>>5&3;var n=!t||t.biff>=8?4:2;var i=e._R(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 Zu(e,r,t){if(t.biff==5)return Ju(e,r,t);var a=e._R(1)>>>5&3;var n=e._R(2);var i=e._R(4);return[a,n,i]}function Ju(e){var r=e._R(1)>>>5&3;var t=e._R(2,"i");e.l+=8;var a=e._R(2);e.l+=12;return[r,t,a]}function qu(e,r,t){var a=e._R(1)>>>5&3;e.l+=t&&t.biff==2?3:4;var n=e._R(t&&t.biff==2?1:2);return[a,n]}function Qu(e,r,t){var a=e._R(1)>>>5&3;var n=e._R(t&&t.biff==2?1:2);return[a,n]}function ed(e,r,t){var a=e._R(1)>>>5&3;e.l+=4;if(t.biff<8)e.l--;if(t.biff==12)e.l+=2;return[a]}function rd(e,r,t){var a=(e[e.l++]&96)>>5;var n=e._R(2);var i=4;if(t)switch(t.biff){case 5:i=15;break;case 12:i=6;break;}e.l+=i;return[a,n]}var td=Oa;var ad=Oa;var nd=Oa;function id(e,r,t){e.l+=2;return[pu(e,4,t)]}function sd(e){e.l+=6;return[]}var fd=id;var ld=sd;var od=sd;var cd=id;function hd(e){e.l+=2;return[ws(e),e._R(2)&1]}var ud=id;var dd=hd;var vd=sd;var pd=id;var md=id;var gd=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];function bd(e){e.l+=2;var r=e._R(2);var t=e._R(2);var a=e._R(4);var n=e._R(2);var i=e._R(2);var s=gd[t>>2&31];return{ixti:r,coltype:t&3,rt:s,idx:a,c:n,C:i}}function wd(e){e.l+=2;return[e._R(4)]}function kd(e,r,t){e.l+=5;e.l+=2;e.l+=t.biff==2?1:4;return["PTGSHEET"]}function Td(e,r,t){e.l+=t.biff==2?4:5;return["PTGENDSHEET"]}function Ad(e){var r=e._R(1)>>>5&3;var t=e._R(2);return[r,t]}function yd(e){var r=e._R(1)>>>5&3;var t=e._R(2);return[r,t]}function Ed(e){e.l+=4;return[0,0]}var Cd={1:{n:"PtgExp",f:Wu},2:{n:"PtgTbl",f:nd},3:{n:"PtgAdd",f:lu},4:{n:"PtgSub",f:lu},5:{n:"PtgMul",f:lu},6:{n:"PtgDiv",f:lu},7:{n:"PtgPower",f:lu},8:{n:"PtgConcat",f:lu},9:{n:"PtgLt",f:lu},10:{n:"PtgLe",f:lu},11:{n:"PtgEq",f:lu},12:{n:"PtgGe",f:lu},13:{n:"PtgGt",f:lu},14:{n:"PtgNe",f:lu},15:{n:"PtgIsect",f:lu},16:{n:"PtgUnion",f:lu},17:{n:"PtgRange",f:lu},18:{n:"PtgUplus",f:lu},19:{n:"PtgUminus",f:lu},20:{n:"PtgPercent",f:lu},21:{n:"PtgParen",f:lu},22:{n:"PtgMissArg",f:lu},23:{n:"PtgStr",f:Xu},26:{n:"PtgSheet",f:kd},27:{n:"PtgEndSheet",f:Td},28:{n:"PtgErr",f:zu},29:{n:"PtgBool",f:Vu},30:{n:"PtgInt",f:Hu},31:{n:"PtgNum",f:$u},32:{n:"PtgArray",f:yu},33:{n:"PtgFunc",f:Lu},34:{n:"PtgFuncVar",f:Mu},35:{n:"PtgName",f:Yu},36:{n:"PtgRef",f:Fu},37:{n:"PtgArea",f:bu},38:{n:"PtgMemArea",f:qu},39:{n:"PtgMemErr",f:td},40:{n:"PtgMemNoMem",f:ad},41:{n:"PtgMemFunc",f:Qu},42:{n:"PtgRefErr",f:ed},43:{n:"PtgAreaErr",f:ku},44:{n:"PtgRefN",f:Du},45:{n:"PtgAreaN",f:Au},46:{n:"PtgMemAreaN",f:Ad},47:{n:"PtgMemNoMemN",f:yd},57:{n:"PtgNameX",f:Zu},58:{n:"PtgRef3d",f:Pu},59:{n:"PtgArea3d",f:wu},60:{n:"PtgRefErr3d",f:rd},61:{n:"PtgAreaErr3d",f:Tu},255:{}};var _d={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,78:46,110:46,79:47,111:47,88:34,120:34,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61};var Sd={1:{n:"PtgElfLel",f:hd},2:{n:"PtgElfRw",f:pd},3:{n:"PtgElfCol",f:fd},6:{n:"PtgElfRwV",f:md},7:{n:"PtgElfColV",f:cd},10:{n:"PtgElfRadical",f:ud},11:{n:"PtgElfRadicalS",f:vd},13:{n:"PtgElfColS",f:ld},15:{n:"PtgElfColSV",f:od},16:{n:"PtgElfRadicalLel",f:dd},25:{n:"PtgList",f:bd},29:{n:"PtgSxName",f:wd},255:{}};var xd={0:{n:"PtgAttrNoop",f:Ed},1:{n:"PtgAttrSemi",f:Ou},2:{n:"PtgAttrIf",f:Su},4:{n:"PtgAttrChoose",f:Cu},8:{n:"PtgAttrGoto",f:_u},16:{n:"PtgAttrSum",f:Bu},32:{n:"PtgAttrBaxcel",f:Eu},33:{n:"PtgAttrBaxcel",f:Eu},64:{n:"PtgAttrSpace",f:Ru},65:{n:"PtgAttrSpaceSemi",f:Nu},128:{n:"PtgAttrIfError",f:xu},255:{}};function Od(e,r,t,a){if(a.biff<8)return Oa(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]=Ku(e,0,a);i.push(t[s][1]);break;case"PtgMemArea":t[s][2]=ju(e,t[s][1],a);i.push(t[s][2]);break;case"PtgExp":if(a&&a.biff==12){t[s][1][1]=e._R(4);i.push(t[s][1])}break;case"PtgList":;case"PtgElfRadicalS":;case"PtgElfColS":;case"PtgElfColSV":throw"Unsupported "+t[s][0];default:break;}}r=n-e.l;if(r!==0)i.push(Oa(e,r));return i}function Id(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=Cd[i]||Cd[_d[i]];if(i===24||i===25)n=(i===24?Sd:xd)[e[e.l+1]];if(!n||!n.f){Oa(e,r)}else{s.push([n.n,n.f(e,r,t)])}}return s}function Rd(e){var r=[];for(var t=0;t=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function Fd(e,r){var t=e.lastIndexOf("!"),a=r.lastIndexOf("!");if(t==-1&&a==-1)return e+":"+r;if(t>0&&a>0&&e.slice(0,t).toLowerCase()==r.slice(0,a).toLowerCase())return e+":"+r.slice(a+1);console.error("Cannot hydrate range",e,r);return e+":"+r}function Dd(e,r,t){if(!e)return"SH33TJSERR0";if(t.biff>8&&(!e.XTI||!e.XTI[r]))return e.SheetNames[r];if(!e.XTI)return"SH33TJSERR6";var a=e.XTI[r];if(t.biff<8){if(r>1e4)r-=65536;if(r<0)r=-r;return r==0?"":e.XTI[r-1]}if(!a)return"SH33TJSERR1";var n="";if(t.biff>8)switch(e[a[0]][0]){case 357:n=a[1]==-1?"#REF":e.SheetNames[a[1]];return a[1]==a[2]?n:n+":"+e.SheetNames[a[2]];case 358:if(t.SID!=null)return e.SheetNames[t.SID];return"SH33TJSSAME"+e[a[0]][0];case 355:;default:return"SH33TJSSRC"+e[a[0]][0];}switch(e[a[0]][0][0]){case 1025:n=a[1]==-1?"#REF":e.SheetNames[a[1]]||"SH33TJSERR3";return a[1]==a[2]?n:n+":"+e.SheetNames[a[2]];case 14849:return e[a[0]].slice(1).map(function(e){return e.Name}).join(";;");default:if(!e[a[0]][0][3])return"SH33TJSERR2";n=a[1]==-1?"#REF":e[a[0]][0][3][a[1]]||"SH33TJSERR4";return a[1]==a[2]?n:n+":"+e[a[0]][0][3][a[2]];}}function Pd(e,r,t){var a=Dd(e,r,t);return a=="#REF"?a:qa(a,t)}function Ld(e,r,t,a,n){var i=n&&n.biff||8;var s={s:{c:0,r:0},e:{c:0,r:0}};var f=[],l,o,c,h=0,u=0,d,v="";if(!e[0]||!e[0][0])return"";var p=-1,m="";for(var g=0,b=e[0].length;g=0){switch(e[0][p][1][0]){case 0:m=Ar(" ",e[0][p][1][1]);break;case 1:m=Ar("\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}f.push(o+Nd[w[0]]+l);break;case"PtgIsect":l=f.pop();o=f.pop();f.push(o+" "+l);break;case"PtgUnion":l=f.pop();o=f.pop();f.push(o+","+l);break;case"PtgRange":l=f.pop();o=f.pop();f.push(Fd(o,l));break;case"PtgAttrChoose":break;case"PtgAttrGoto":break;case"PtgAttrIf":break;case"PtgAttrIfError":break;case"PtgRef":c=Da(w[1][1],s,n);f.push(La(c,i));break;case"PtgRefN":c=t?Da(w[1][1],t,n):w[1][1];f.push(La(c,i));break;case"PtgRef3d":h=w[1][1];c=Da(w[1][2],s,n);v=Pd(a,h,n);var k=v;f.push(v+"!"+La(c,i));break;case"PtgFunc":;case"PtgFuncVar":var T=w[1][0],A=w[1][1];if(!T)T=0;T&=127;var y=T==0?[]:f.slice(-T);f.length-=T;if(A==="User")A=y.shift();f.push(A+"("+y.join(",")+")");break;case"PtgBool":f.push(w[1]?"TRUE":"FALSE");break;case"PtgInt":f.push(w[1]);break;case"PtgNum":f.push(String(w[1]));break;case"PtgStr":f.push('"'+w[1].replace(/"/g,'""')+'"');break;case"PtgErr":f.push(w[1]);break;case"PtgAreaN":d=Pa(w[1][1],t?{s:t}:s,n);f.push(Ma(d,n));break;case"PtgArea":d=Pa(w[1][1],s,n);f.push(Ma(d,n));break;case"PtgArea3d":h=w[1][1];d=w[1][2];v=Pd(a,h,n);f.push(v+"!"+Ma(d,n));break;case"PtgAttrSum":f.push("SUM("+f.pop()+")");break;case"PtgAttrBaxcel":;case"PtgAttrSemi":break;case"PtgName":u=w[1][2];var E=(a.names||[])[u-1]||(a[0]||[])[u];var C=E?E.Name:"SH33TJSNAME"+String(u);if(C&&C.slice(0,6)=="_xlfn."&&!n.xlfn)C=C.slice(6);f.push(C);break;case"PtgNameX":var _=w[1][1];u=w[1][2];var S;if(n.biff<=5){if(_<0)_=-_;if(a[_])S=a[_][u]}else{var x="";if(((a[_]||[])[0]||[])[0]==14849){}else if(((a[_]||[])[0]||[])[0]==1025){if(a[_][u]&&a[_][u].itab>0){x=a.SheetNames[a[_][u].itab-1]+"!"}}else x=a.SheetNames[u-1]+"!";if(a[_]&&a[_][u])x+=a[_][u].Name;else if(a[0]&&a[0][u])x+=a[0][u].Name;else{var O=(Dd(a,_,n)||"").split(";;");if(O[u-1])x=O[u-1];else x+="SH33TJSERRX"}f.push(x);break}if(!S)S={Name:"SH33TJSERRY"};f.push(S.Name);break;case"PtgParen":var I="(",R=")";if(p>=0){m="";switch(e[0][p][1][0]){case 2:I=Ar(" ",e[0][p][1][1])+I;break;case 3:I=Ar("\r",e[0][p][1][1])+I;break;case 4:R=Ar(" ",e[0][p][1][1])+R;break;case 5:R=Ar("\r",e[0][p][1][1])+R;break;default:if(n.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][p][1][0]);}p=-1}f.push(I+f.pop()+R);break;case"PtgRefErr":f.push("#REF!");break;case"PtgRefErr3d":f.push("#REF!");break;case"PtgExp":c={c:w[1][1],r:w[1][0]};var N={c:t.c,r:t.r};if(a.sharedf[Ka(c)]){var F=a.sharedf[Ka(c)];f.push(Ld(F,s,N,a,n))}else{var D=false;for(l=0;l!=a.arrayf.length;++l){o=a.arrayf[l];if(c.co[0].e.c)continue;if(c.ro[0].e.r)continue;f.push(Ld(o[1],s,N,a,n));D=true;break}if(!D)f.push(w[1])}break;case"PtgArray":f.push("{"+Rd(w[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":;case"PtgAttrSpaceSemi":p=g;break;case"PtgTbl":break;case"PtgMemErr":break;case"PtgMissArg":f.push("");break;case"PtgAreaErr":f.push("#REF!");break;case"PtgAreaErr3d":f.push("#REF!");break;case"PtgList":f.push("Table"+w[1].idx+"[#"+w[1].rt+"]");break;case"PtgMemAreaN":;case"PtgMemNoMemN":;case"PtgAttrNoop":;case"PtgSheet":;case"PtgEndSheet":break;case"PtgMemFunc":break;case"PtgMemNoMem":break;case"PtgElfCol":;case"PtgElfColS":;case"PtgElfColSV":;case"PtgElfColV":;case"PtgElfLel":;case"PtgElfRadical":;case"PtgElfRadicalLel":;case"PtgElfRadicalS":;case"PtgElfRw":;case"PtgElfRwV":throw new Error("Unsupported ELFs");case"PtgSxName":throw new Error("Unrecognized Formula Token: "+String(w));default:throw new Error("Unrecognized Formula Token: "+String(w));}var P=["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"];if(n.biff!=3)if(p>=0&&P.indexOf(e[0][g][0])==-1){w=e[0][p];var L=true;switch(w[1][0]){case 4:L=false;case 0:m=Ar(" ",w[1][1]);break;case 5:L=false;case 1:m=Ar("\r",w[1][1]);break;default:m="";if(n.WTF)throw new Error("Unexpected PtgAttrSpaceType "+w[1][0]);}f.push((L?m:"")+f.pop()+(L?"":m));p=-1}}if(f.length>1&&n.WTF)throw new Error("bad formula stack");if(f[0]=="TRUE")return true;if(f[0]=="FALSE")return false;return f[0]}function Md(e,r,t){var a=e.l+r,n=t.biff==2?1:2;var i,s=e._R(n);if(s==65535)return[[],Oa(e,r-2)];var f=Id(e,s,t);if(r!==s+n)i=Od(e,r-s-n,f,t);e.l=a;return[f,i]}function Ud(e,r,t){var a=e.l+r,n=t.biff==2?1:2;var i,s=e._R(n);if(s==65535)return[[],Oa(e,r-2)];var f=Id(e,s,t);if(r!==s+n)i=Od(e,r-s-n,f,t);e.l=a;return[f,i]}function Bd(e,r,t,a){var n=e.l+r;var i=Id(e,a,t);var s;if(n!==e.l)s=Od(e,n-e.l,i,t);return[i,s]}function Wd(e,r,t){var a=e.l+r;var n,i=e._R(2);var s=Id(e,i,t);if(i==65535)return[[],Oa(e,r-2)];if(r!==i+2)n=Od(e,a-i-2,s,t);return[s,n]}function zd(e){var r;if(ga(e,e.l+6)!==65535)return[Dn(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 Hd(e){if(e==null){var r=Ia(8);r._W(1,3);r._W(1,0);r._W(2,0);r._W(2,0);r._W(2,65535);return r}else if(typeof e=="number")return Pn(e);return Pn(0)}function Vd(e,r,t){var a=e.l+r;var n=zs(e,6,t);var i=zd(e,8);var s=e._R(1);if(t.biff!=2){e._R(1);if(t.biff>=5){e._R(4)}}var f=Ud(e,a-e.l,t);return{cell:n,val:i[0],formula:f,shared:s>>3&1,tt:i[1]}}function $d(e,r,t,a,n){var i=Hs(r,t,n);var s=Hd(e.v);var f=Ia(6);var l=1|32;f._W(2,l);f._W(4,0);var o=Ia(e.bf.length);for(var c=0;c0?Od(e,i,n,t):null;return[n,s]}var Gd=Xd;var jd=Xd;var Kd=Xd;var Yd=Xd;function Zd(e){if((e|0)==e&&e=0){var r=Ia(11);r._W(4,3);r._W(1,30);r._W(2,e);r._W(4,0);return r}var t=Ia(17);t._W(4,11);t._W(1,31);t._W(8,e);t._W(4,0);return t}function Jd(e){var r=Ia(10);r._W(4,2);r._W(1,28);r._W(1,e);r._W(4,0);return r}function qd(e){var r=Ia(10);r._W(4,2);r._W(1,29);r._W(1,e?1:0);r._W(4,0);return r}function Qd(e){var r=Ia(7);r._W(4,3+2*e.length);r._W(1,23);r._W(2,e.length);var t=Ia(2*e.length);t._W(2*e.length,e,"utf16le");var a=Ia(4);a._W(4,0);return P([r,t,a])}function ev(e){var r=ja(e);var t=Ia(15);t._W(4,7);t._W(1,4|1<<5);t._W(4,r.r);t._W(2,r.c|(e.charAt(0)=="$"?0:1)<<14|(e.match(/\$\d/)?0:1)<<15);t._W(4,0);return t}function rv(e,r){var t=e.lastIndexOf("!");var a=e.slice(0,t);e=e.slice(t+1);var n=ja(e);if(a.charAt(0)=="'")a=a.slice(1,-1).replace(/''/g,"'");var i=Ia(17);i._W(4,9);i._W(1,26|1<<5);i._W(2,2+r.SheetNames.map(function(e){return e.toLowerCase()}).indexOf(a.toLowerCase()));i._W(4,n.r);i._W(2,n.c|(e.charAt(0)=="$"?0:1)<<14|(e.match(/\$\d/)?0:1)<<15);i._W(4,0);return i}function tv(e,r){var t=e.lastIndexOf("!");var a=e.slice(0,t);e=e.slice(t+1);if(a.charAt(0)=="'")a=a.slice(1,-1).replace(/''/g,"'");var n=Ia(17);n._W(4,9);n._W(1,28|1<<5);n._W(2,2+r.SheetNames.map(function(e){return e.toLowerCase()}).indexOf(a.toLowerCase()));n._W(4,0);n._W(2,0);n._W(4,0);return n}function av(e){var r=e.split(":"),t=r[0];var a=Ia(23);a._W(4,15);t=r[0];var n=ja(t);a._W(1,4|1<<5);a._W(4,n.r);a._W(2,n.c|(t.charAt(0)=="$"?0:1)<<14|(t.match(/\$\d/)?0:1)<<15);a._W(4,0);t=r[1];n=ja(t);a._W(1,4|1<<5);a._W(4,n.r);a._W(2,n.c|(t.charAt(0)=="$"?0:1)<<14|(t.match(/\$\d/)?0:1)<<15);a._W(4,0);a._W(1,17);a._W(4,0);return a}function nv(e,r){var t=e.lastIndexOf("!");var a=e.slice(0,t);e=e.slice(t+1);if(a.charAt(0)=="'")a=a.slice(1,-1).replace(/''/g,"'");var n=e.split(":");var i=Ia(27);i._W(4,19);var s=n[0],f=ja(s);i._W(1,26|1<<5);i._W(2,2+r.SheetNames.map(function(e){return e.toLowerCase()}).indexOf(a.toLowerCase()));i._W(4,f.r);i._W(2,f.c|(s.charAt(0)=="$"?0:1)<<14|(s.match(/\$\d/)?0:1)<<15);s=n[1];f=ja(s);i._W(1,26|1<<5);i._W(2,2+r.SheetNames.map(function(e){return e.toLowerCase()}).indexOf(a.toLowerCase()));i._W(4,f.r);i._W(2,f.c|(s.charAt(0)=="$"?0:1)<<14|(s.match(/\$\d/)?0:1)<<15);i._W(1,17);i._W(4,0);return i}function iv(e,r){var t=e.lastIndexOf("!");var a=e.slice(0,t);e=e.slice(t+1);if(a.charAt(0)=="'")a=a.slice(1,-1).replace(/''/g,"'");var n=Ya(e);var i=Ia(23);i._W(4,15);i._W(1,27|1<<5);i._W(2,2+r.SheetNames.map(function(e){return e.toLowerCase()}).indexOf(a.toLowerCase()));i._W(4,n.s.r);i._W(4,n.e.r);i._W(2,n.s.c);i._W(2,n.e.c);i._W(4,0);return i}function sv(e,r){if(typeof e=="number")return Zd(e);if(typeof e=="boolean")return qd(e);if(/^#(DIV\/0!|GETTING_DATA|N\/A|NAME\?|NULL!|NUM!|REF!|VALUE!)$/.test(e))return Jd(+ci[e]);if(e.match(/^\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?:10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})$/))return ev(e);if(e.match(/^\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?:10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5}):\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?:10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})$/))return av(e);if(e.match(/^#REF!\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?:10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5}):\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?:10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})$/))return iv(e,r);if(e.match(/^(?:'[^\\\/?*\[\]:]*'|[^'][^\\\/?*\[\]:'`~!@#$%^()\-=+{}|;,<.>]*)!\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?:10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})$/))return rv(e,r);if(e.match(/^(?:'[^\\\/?*\[\]:]*'|[^'][^\\\/?*\[\]:'`~!@#$%^()\-=+{}|;,<.>]*)!\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?:10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5}):\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?:10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})$/))return nv(e,r);if(/^(?:'[^\\\/?*\[\]:]*'|[^'][^\\\/?*\[\]:'`~!@#$%^()\-=+{}|;,<.>]*)!#REF!$/.test(e))return tv(e,r);if(/^".*"$/.test(e))return Qd(e);if(/^[+-]\d+$/.test(e))return Zd(parseInt(e,10));throw"Formula |"+e+"| not supported for XLSB"}var fv=sv;var lv={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 ov={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 cv={2:1,3:1,10:0,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,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,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,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186: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,225:0,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};function hv(e){if(e.slice(0,3)=="of:")e=e.slice(3);if(e.charCodeAt(0)==61){e=e.slice(1);if(e.charCodeAt(0)==61)e=e.slice(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(/\$'([^']|'')+'/g,function(e){return e.slice(1)});e=e.replace(/\$([^\]\. #$]+)/g,function(e,r){return r.match(/^([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])?(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})?$/)?e:r});e=e.replace(/\[.(#[A-Z]*[?!])\]/g,"$1");return e.replace(/[;~]/g,",").replace(/\|/g,";")}function uv(e){var r="of:="+e.replace(ru,"$1[.$2$3$4$5]").replace(/\]:\[/g,":");return r.replace(/;/g,"|").replace(/,/g,";")}function dv(e){e=e.replace(/\$'([^']|'')+'/g,function(e){return e.slice(1)});e=e.replace(/\$([^\]\. #$]+)/g,function(e,r){return r.match(/^([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])?(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})?$/)?e:r});var r=e.split(":");var t=r[0].split(".")[0];return[t,r[0].split(".")[1]+(r.length>1?":"+(r[1].split(".")[1]||r[1].split(".")[0]):"")]}function vv(e){return e.replace(/!/,".").replace(/:/,":.")}var pv={};var mv={};var gv=typeof Map!=="undefined";function bv(e,r,t){var a=0,n=e.length;if(t){if(gv?t.has(r):Object.prototype.hasOwnProperty.call(t,r)){var i=gv?t.get(r):t[r];for(;a-1){t.width=ic(a);t.customWidth=1}else if(r.width!=null)t.width=r.width;if(r.hidden)t.hidden=true;if(r.level!=null){t.outlineLevel=t.level=r.level}return t}function kv(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 Tv(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){Je(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 Av(e,r,t,a,n,i,s){try{if(a.cellNF)e.z=q[r]}catch(f){if(a.WTF)throw f}if(e.t==="z"&&!a.cellStyles)return;if(e.t==="d"&&typeof e.v==="string")e.v=wr(e.v);if((!a||a.cellText!==false)&&e.t!=="z")try{if(q[r]==null)Je(Ge[r]||"General",r);if(e.t==="e")e.w=e.w||oi[e.v];else if(r===0){if(e.t==="n"){if((e.v|0)===e.v)e.w=e.v.toString(10);else e.w=le(e.v)}else if(e.t==="d"){var l=dr(e.v,!!s);if((l|0)===l)e.w=l.toString(10);else e.w=le(l)}else if(e.v===undefined)return"";else e.w=oe(e.v,mv)}else if(e.t==="d")e.w=ze(r,dr(e.v,!!s),mv);else e.w=ze(r,e.v,mv)}catch(f){if(a.WTF)throw f}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=qo(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=qo(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(f){if(a.WTF&&i.Fills)throw f}}function yv(e,r,t){if(e&&e["!ref"]){var a=Qa(e["!ref"]);if(a.e.c=0&&t.s.c>=0)e["!ref"]=Za(t)}var Cv=/<(?:\w+:)?mergeCell ref=["'][A-Z0-9:]+['"]\s*[\/]?>/g;var _v=/<(?:\w+:)?hyperlink [^<>]*>/gm;var Sv=/"(\w*:\w*)"/;var xv=/<(?:\w+:)?col\b[^<>]*[\/]?>/g;var Ov=/<(?:\w+:)?autoFilter[^>]*/g;var Iv=/<(?:\w+:)?pageMargins[^<>]*\/>/g;var Rv=/<(?:\w+:)?sheetPr\b[^<>]*?\/>/;function Nv(e,r,t,a,n,i,s){if(!e)return e;if(!a)a={"!id":{}};if(b!=null&&r.dense==null)r.dense=b;var f={};if(r.dense)f["!data"]=[];var l={s:{r:2e6,c:2e6},e:{r:0,c:0}};var o="",c="";var h=Wr(e,"sheetData");if(h){o=e.slice(0,h.index);c=e.slice(h.index+h[0].length)}else o=c=e;var u=o.match(Rv);if(u)Dv(u[0],f,n,t);else if(u=Wr(o,"sheetPr"))Pv(u[0],u[1]||"",f,n,t,s,i);var d=(o.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(d>0){var v=o.slice(d,d+50).match(Sv);if(v&&!(r&&r.nodim))Ev(f,v[1])}var p=Wr(o,"sheetViews");if(p&&p[1])Kv(p[1],n);var m=[];if(r.cellStyles){var g=o.match(xv);if(g)Vv(m,g)}if(h)Jv(h[1],f,r,l,i,s,n);var w=c.match(Ov);if(w)f["!autofilter"]=Xv(w[0]);var k=[];var T=c.match(Cv);if(T)for(d=0;d!=T.length;++d)k[d]=Qa(T[d].slice(T[d].indexOf('"')+1));var A=c.match(_v);if(A)Wv(f,A,a);var y=c.match(Iv);if(y)f["!margins"]=zv(ct(y[0]));var E;if(E=c.match(/legacyDrawing r:id="(.*?)"/))f["!legrel"]=E[1];if(r&&r.nodim)l.s.c=l.s.r=0;if(!f["!ref"]&&l.e.c>=l.s.c&&l.e.r>=l.s.r)f["!ref"]=Za(l);if(r.sheetRows>0&&f["!ref"]){var C=Qa(f["!ref"]);if(r.sheetRows<=+C.e.r){C.e.r=r.sheetRows-1;if(C.e.r>l.e.r)C.e.r=l.e.r;if(C.e.rl.e.c)C.e.c=l.e.c;if(C.e.c0)f["!cols"]=m;if(k.length>0)f["!merges"]=k;if(a["!id"][f["!legrel"]])f["!legdrawel"]=a["!id"][f["!legrel"]];return f}function Fv(e){if(e.length===0)return"";var r='';for(var t=0;t!=e.length;++t)r+='';return r+""}function Dv(e,r,t,a){var n=ct(e);if(!t.Sheets[a])t.Sheets[a]={};if(n.codeName)t.Sheets[a].CodeName=vt(Ot(n.codeName))}function Pv(e,r,t,a,n){Dv(e.slice(0,e.indexOf(">")),t,a,n)}function Lv(e,r,t,a,n){var i=false;var s={},f=null;if(a.bookType!=="xlsx"&&r.vbaraw){var l=r.SheetNames[t];try{if(r.Workbook)l=r.Workbook.Sheets[t].CodeName||l}catch(o){}i=true;s.codeName=It(gt(l))}if(e&&e["!outline"]){var c={summaryBelow:1,summaryRight:1};if(e["!outline"].above)c.summaryBelow=0;if(e["!outline"].left)c.summaryRight=0;f=(f||"")+Ut("outlinePr",null,c)}if(!i&&!f)return;n[n.length]=Ut("sheetPr",f,s)}var Mv=["objects","scenarios","selectLockedCells","selectUnlockedCells"];var Uv=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];function Bv(e){var r={sheet:1};Mv.forEach(function(t){if(e[t]!=null&&e[t])r[t]="1"});Uv.forEach(function(t){if(e[t]!=null&&!e[t])r[t]="0"});if(e.password)r.password=Mo(e.password).toString(16).toUpperCase();return Ut("sheetProtection",null,r)}function Wv(e,r,t){var a=e["!data"]!=null;for(var n=0;n!=r.length;++n){var i=ct(Ot(r[n]),true);if(!i.ref)return;var s=((t||{})["!id"]||[])[i.id];if(s){i.Target=s.Target;if(i.location)i.Target+="#"+vt(i.location)}else{i.Target="#"+vt(i.location);s={Target:i.Target,TargetMode:"Internal"}}i.Rel=s;if(i.tooltip){i.Tooltip=i.tooltip;delete i.tooltip}var f=Qa(i.ref);for(var l=f.s.r;l<=f.e.r;++l)for(var o=f.s.c;o<=f.e.c;++o){var c=Va(o)+Ba(l);if(a){if(!e["!data"][l])e["!data"][l]=[];if(!e["!data"][l][o])e["!data"][l][o]={t:"z",v:undefined};e["!data"][l][o].l=i}else{if(!e[c])e[c]={t:"z",v:undefined};e[c].l=i}}}}function zv(e){var r={};["left","right","top","bottom","header","footer"].forEach(function(t){if(e[t])r[t]=parseFloat(e[t])});return r}function Hv(e){kv(e);return Ut("pageMargins",null,e)}function Vv(e,r){var t=false;for(var a=0;a!=r.length;++a){var n=ct(r[a],true);if(n.hidden)n.hidden=Et(n.hidden);var i=parseInt(n.min,10)-1,s=parseInt(n.max,10)-1;if(n.outlineLevel)n.level=+n.outlineLevel||0;delete n.min;delete n.max;n.width=+n.width;if(!t&&n.width){t=true;fc(n.width)}lc(n);while(i<=s)e[i++]=Tr(n)}}function $v(e,r){var t=[""],a;for(var n=0;n!=r.length;++n){if(!(a=r[n]))continue;t[t.length]=Ut("col",null,wv(n,a))}t[t.length]="";return t.join("")}function Xv(e){var r={ref:(e.match(/ref="([^"]*)"/)||[])[1]};return r}function Gv(e,r,t,a){var n=typeof e.ref=="string"?e.ref:Za(e.ref);if(!t.Workbook)t.Workbook={Sheets:[]};if(!t.Workbook.Names)t.Workbook.Names=[];var i=t.Workbook.Names;var s=Ya(n);if(s.s.r==s.e.r){s.e.r=Ya(r["!ref"]).e.r;n=Za(s)}for(var f=0;fa-z][^<>]*)?\/?>/g;function Kv(e,r){if(!r.Views)r.Views=[{}];(e.match(jv)||[]).forEach(function(e,t){var a=ct(e);if(!r.Views[t])r.Views[t]={};if(+a.zoomScale)r.Views[t].zoom=+a.zoomScale;if(a.rightToLeft&&Et(a.rightToLeft))r.Views[t].RTL=true})}function Yv(e,r,t,a){var n={workbookViewId:"0"};if((((a||{}).Workbook||{}).Views||[])[0])n.rightToLeft=a.Workbook.Views[0].RTL?"1":"0";return Ut("sheetViews",Ut("sheetView",null,n),{})}function Zv(e,r,t,a,n,i,s){if(e.c)t["!comments"].push([r,e.c]);if((e.v===undefined||e.t==="z"&&!(a||{}).sheetStubs)&&typeof e.f!=="string"&&typeof e.z=="undefined")return"";var f="";var l=e.t,o=e.v;if(e.t!=="z")switch(e.t){case"b":f=e.v?"1":"0";break;case"n":if(isNaN(e.v)){e.t="e";f=oi[e.v=36]}else if(!isFinite(e.v)){e.t="e";f=oi[e.v=7]}else f=""+e.v;break;case"e":f=oi[e.v];break;case"d":if(a&&a.cellDates){var c=wr(e.v,s);f=c.toISOString();if(c.getUTCFullYear()<1900)f=f.slice(f.indexOf("T")+1).replace("Z","")}else{e=Tr(e);e.t="n";f=""+(e.v=dr(wr(e.v,s),s))}if(typeof e.z==="undefined")e.z=q[14];break;default:f=e.v;break;}var h=e.t=="z"||e.v==null?"":Lt("v",gt(f)),u={r:r};var d=Tv(a.cellXfs,e,a);if(d!==0)u.s=d;switch(e.t){case"n":break;case"d":u.t="d";break;case"b":u.t="b";break;case"e":u.t="e";break;case"z":break;default:if(e.v==null){delete e.t;break}if(e.v.length>32767)throw new Error("Text length must not exceed 32767 characters");if(a&&a.bookSST){h=Lt("v",""+bv(a.Strings,e.v,a.revStrings));u.t="s";break}else u.t="str";break;}if(e.t!=l){e.t=l;e.v=o}if(typeof e.f=="string"&&e.f){var v=e.F&&e.F.slice(0,r.length)==r?{t:"array",ref:e.F}:null;h=Ut("f",gt(e.f),v)+(e.v!=null?h:"")}if(e.l){e.l.display=gt(f);t["!links"].push([r,e.l])}if(e.D)u.cm=1;return Ut("c",h,u)}var Jv=function(){var e=/<(?:\w+:)?c[ \/>]/,r=/<\/(?:\w+:)?row>/;var t=/r=["']([^"']*)["']/;var a=/ref=["']([^"']*)["']/;return function n(i,s,f,l,o,c,h){var u=0,d="",v=[],p=[],m=0,g=0,b=0,w="",k;var T,A=0,y=0;var E,C;var _=0,S=0;var x=Array.isArray(c.CellXf),O;var I=[];var R=[];var N=s["!data"]!=null;var F=[],D={},P=false;var L=!!f.sheetStubs;var M=!!((h||{}).WBProps||{}).date1904;for(var U=i.split(r),B=0,W=U.length;B!=W;++B){d=U[B].trim();var z=d.length;if(z===0)continue;var H=0;e:for(u=0;u":if(d[u-1]!="/"){++u;break e}if(f&&f.cellStyles){T=ct(d.slice(H,u),true);A=T.r!=null?parseInt(T.r,10):A+1;y=-1;if(f.sheetRows&&f.sheetRows=u)break;T=ct(d.slice(H,u),true);A=T.r!=null?parseInt(T.r,10):A+1;y=-1;if(f.sheetRows&&f.sheetRowsA-1)l.s.r=A-1;if(l.e.r":"")+d;if(p!=null&&p.length===2){m=0;w=p[1];for(g=0;g!=w.length;++g){if((b=w.charCodeAt(g)-64)<1||b>26)break;m=26*m+b}--m;y=m}else++y;for(g=0;g!=d.length;++g)if(d.charCodeAt(g)===62)break;++g;T=ct(d.slice(0,g),true);if(!T.r)T.r=Ka({r:A-1,c:y});w=d.slice(g);k={t:""};if((p=Wr(w,"v"))!=null&&p[1]!=="")k.v=vt(p[1]);if(f.cellFormula){if((p=Wr(w,"f"))!=null){if(p[1]==""){if(p[0].indexOf('t="shared"')>-1){C=ct(p[0]);if(R[C.si])k.f=iu(R[C.si][1],R[C.si][2],T.r)}}else{k.f=vt(Ot(p[1]),true);if(!f.xlfn)k.f=fu(k.f);if(p[0].indexOf('t="array"')>-1){k.F=(w.match(a)||[])[1];if(k.F.indexOf(":")>-1)I.push([Qa(k.F),k.F])}else if(p[0].indexOf('t="shared"')>-1){C=ct(p[0]);var $=vt(Ot(p[1]));if(!f.xlfn)$=fu($);R[parseInt(C.si,10)]=[C,$,T.r]}}}else if(p=w.match(/]*\/>/)){C=ct(p[0]);if(R[C.si])k.f=iu(R[C.si][1],R[C.si][2],T.r)}var X=ja(T.r);for(g=0;g=I[g][0].s.r&&X.r<=I[g][0].e.r)if(X.c>=I[g][0].s.c&&X.c<=I[g][0].e.c)k.F=I[g][1]}if(T.t==null&&k.v===undefined){if(k.f||k.F){k.v=0;k.t="n"}else if(!L)continue;else k.t="z"}else k.t=T.t||"n";if(l.s.c>y)l.s.c=y;if(l.e.cj.r)l.s.r=j.r;if(l.e.r0)s["!rows"]=F}}();function qv(e,r,t,a){var n=[],i=[],s=Qa(e["!ref"]),f="",l,o="",c=[],h=0,u=0,d=e["!rows"];var v=e["!data"]!=null;var p={r:o},m,g=-1;var b=(((a||{}).Workbook||{}).WBProps||{}).date1904;for(u=s.s.c;u<=s.e.c;++u)c[u]=Va(u);for(h=s.s.r;h<=s.e.r;++h){i=[];o=Ba(h);for(u=s.s.c;u<=s.e.c;++u){l=c[u]+o;var w=v?(e["!data"][h]||[])[u]:e[l];if(w===undefined)continue;if((f=Zv(w,l,e,r,t,a,b))!=null)i.push(f)}if(i.length>0||d&&d[h]){p={r:o};if(d&&d[h]){m=d[h];if(m.hidden)p.hidden=1;g=-1;if(m.hpx)g=hc(m.hpx);else if(m.hpt)g=m.hpt;if(g>-1){p.ht=g;p.customHeight=1}if(m.level){p.outlineLevel=m.level}}n[n.length]=Ut("row",i.join(""),p)}}if(d)for(;h-1){p.ht=g;p.customHeight=1}if(m.level){p.outlineLevel=m.level}n[n.length]=Ut("row","",p)}}return n.join("")}function Qv(e,r,t,a){var n=[at,Ut("worksheet",null,{xmlns:$t[0],"xmlns:r":Vt.r})];var i=t.SheetNames[e],s=0,f="";var l=t.Sheets[i];if(l==null)l={};var o=l["!ref"]||"A1";var c=Qa(o);if(c.e.c>16383||c.e.r>1048575){if(r.WTF)throw new Error("Range "+o+" exceeds format limit A1:XFD1048576");c.e.c=Math.min(c.e.c,16383);c.e.r=Math.min(c.e.c,1048575);o=Za(c)}if(!a)a={};l["!comments"]=[];var h=[];Lv(l,t,e,r,n);n[n.length]=Ut("dimension",null,{ref:o});n[n.length]=Yv(l,r,e,t);if(r.sheetFormat)n[n.length]=Ut("sheetFormatPr",null,{defaultRowHeight:r.sheetFormat.defaultRowHeight||"16",baseColWidth:r.sheetFormat.baseColWidth||"10",outlineLevelRow:r.sheetFormat.outlineLevelRow||"7"});if(l["!cols"]!=null&&l["!cols"].length>0)n[n.length]=$v(l,l["!cols"]);n[s=n.length]="";l["!links"]=[];if(l["!ref"]!=null){f=qv(l,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(l["!protect"])n[n.length]=Bv(l["!protect"]);if(l["!autofilter"]!=null)n[n.length]=Gv(l["!autofilter"],l,t,e);if(l["!merges"]!=null&&l["!merges"].length>0)n[n.length]=Fv(l["!merges"]);var u=-1,d,v=-1;if(l["!links"].length>0){n[n.length]="";l["!links"].forEach(function(e){if(!e[1].Target)return;d={ref:e[0]};if(e[1].Target.charAt(0)!="#"){v=Ti(a,-1,gt(e[1].Target).replace(/#[\s\S]*$/,""),gi.HLINK);d["r:id"]="rId"+v}if((u=e[1].Target.indexOf("#"))>-1)d.location=gt(e[1].Target.slice(u+1));if(e[1].Tooltip)d.tooltip=gt(e[1].Tooltip);d.display=e[1].display;n[n.length]=Ut("hyperlink",null,d)});n[n.length]=""}delete l["!links"];if(l["!margins"]!=null)n[n.length]=Hv(l["!margins"]);if(!r||r.ignoreEC||r.ignoreEC==void 0)n[n.length]=Lt("ignoredErrors",Ut("ignoredError",null,{numberStoredAsText:1,sqref:o}));if(h.length>0){v=Ti(a,-1,"../drawings/drawing"+(e+1)+".xml",gi.DRAW);n[n.length]=Ut("drawing",null,{"r:id":"rId"+v});l["!drawing"]=h}if(l["!comments"].length>0){v=Ti(a,-1,"../drawings/vmlDrawing"+(e+1)+".vml",gi.VML);n[n.length]=Ut("legacyDrawing",null,{"r:id":"rId"+v});l["!legacy"]=v}if(n.length>1){n[n.length]="";n[1]=n[1].replace("/>",">")}return n.join("")}function ep(e,r){var t={};var a=e.l+r;t.r=e._R(4);e.l+=4;var n=e._R(2);e.l+=1;var i=e._R(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 rp(e,r,t){var a=Ia(17+8*16);var n=(t["!rows"]||[])[e]||{};a._W(4,e);a._W(4,0);var i=320;if(n.hpx)i=hc(n.hpx)*20;else if(n.hpt)i=n.hpt*20;a._W(2,i);a._W(1,0);var s=0;if(n.level)s|=n.level;if(n.hidden)s|=16;if(n.hpx||n.hpt)s|=32;a._W(1,s);a._W(1,0);var f=0,l=a.l;a.l+=4;var o={r:e,c:0};var c=t["!data"]!=null;for(var h=0;h<16;++h){if(r.s.c>h+1<<10||r.e.ca.l?a.slice(0,a.l):a}function tp(e,r,t,a){var n=rp(a,t,r);if(n.length>17||(r["!rows"]||[])[a])Fa(e,0,n)}var ap=Nn;var np=Fn;function ip(){}function sp(e,r){var t={};var a=e[e.l];++e.l;t.above=!(a&64);t.left=!(a&128);e.l+=18;t.name=Tn(e,r-19);return t}function fp(e,r,t){if(t==null)t=Ia(84+4*e.length);var a=192;if(r){if(r.above)a&=~64;if(r.left)a&=~128}t._W(1,a);for(var n=1;n<3;++n)t._W(1,0); +Mn({auto:1},t);t._W(-4,-1);t._W(-4,-1);An(e,t);return t.slice(0,t.l)}function lp(e){var r=gn(e);return[r]}function op(e,r,t){if(t==null)t=Ia(8);return bn(r,t)}function cp(e){var r=wn(e);return[r]}function hp(e,r,t){if(t==null)t=Ia(4);return kn(r,t)}function up(e){var r=gn(e);var t=e._R(1);return[r,t,"b"]}function dp(e,r,t){if(t==null)t=Ia(9);bn(r,t);t._W(1,e.v?1:0);return t}function vp(e){var r=wn(e);var t=e._R(1);return[r,t,"b"]}function pp(e,r,t){if(t==null)t=Ia(5);kn(r,t);t._W(1,e.v?1:0);return t}function mp(e){var r=gn(e);var t=e._R(1);return[r,t,"e"]}function gp(e,r,t){if(t==null)t=Ia(9);bn(r,t);t._W(1,e.v);return t}function bp(e){var r=wn(e);var t=e._R(1);return[r,t,"e"]}function wp(e,r,t){if(t==null)t=Ia(8);kn(r,t);t._W(1,e.v);t._W(2,0);t._W(1,0);return t}function kp(e){var r=gn(e);var t=e._R(4);return[r,t,"s"]}function Tp(e,r,t){if(t==null)t=Ia(12);bn(r,t);t._W(4,r.v);return t}function Ap(e){var r=wn(e);var t=e._R(4);return[r,t,"s"]}function yp(e,r,t){if(t==null)t=Ia(8);kn(r,t);t._W(4,r.v);return t}function Ep(e){var r=gn(e);var t=Dn(e);return[r,t,"n"]}function Cp(e,r,t){if(t==null)t=Ia(16);bn(r,t);Pn(e.v,t);return t}function _p(e){var r=wn(e);var t=Dn(e);return[r,t,"n"]}function Sp(e,r,t){if(t==null)t=Ia(12);kn(r,t);Pn(e.v,t);return t}function xp(e){var r=gn(e);var t=xn(e);return[r,t,"n"]}function Op(e,r,t){if(t==null)t=Ia(12);bn(r,t);On(e.v,t);return t}function Ip(e){var r=wn(e);var t=xn(e);return[r,t,"n"]}function Rp(e,r,t){if(t==null)t=Ia(8);kn(r,t);On(e.v,t);return t}function Np(e){var r=gn(e);var t=dn(e);return[r,t,"is"]}function Fp(e){var r=gn(e);var t=on(e);return[r,t,"str"]}function Dp(e,r,t){var a=e.v==null?"":String(e.v);if(t==null)t=Ia(12+4*e.v.length);bn(r,t);cn(a,t);return t.length>t.l?t.slice(0,t.l):t}function Pp(e){var r=wn(e);var t=on(e);return[r,t,"str"]}function Lp(e,r,t){var a=e.v==null?"":String(e.v);if(t==null)t=Ia(8+4*a.length);kn(r,t);cn(a,t);return t.length>t.l?t.slice(0,t.l):t}function Mp(e,r,t){var a=e.l+r;var n=gn(e);n.r=t["!row"];var i=e._R(1);var s=[n,i,"b"];if(t.cellFormula){e.l+=2;var f=jd(e,a-e.l,t);s[3]=Ld(f,null,n,t.supbooks,t)}else e.l=a;return s}function Up(e,r,t){var a=e.l+r;var n=gn(e);n.r=t["!row"];var i=e._R(1);var s=[n,i,"e"];if(t.cellFormula){e.l+=2;var f=jd(e,a-e.l,t);s[3]=Ld(f,null,n,t.supbooks,t)}else e.l=a;return s}function Bp(e,r,t){var a=e.l+r;var n=gn(e);n.r=t["!row"];var i=Dn(e);var s=[n,i,"n"];if(t.cellFormula){e.l+=2;var f=jd(e,a-e.l,t);s[3]=Ld(f,null,n,t.supbooks,t)}else e.l=a;return s}function Wp(e,r,t){var a=e.l+r;var n=gn(e);n.r=t["!row"];var i=on(e);var s=[n,i,"str"];if(t.cellFormula){e.l+=2;var f=jd(e,a-e.l,t);s[3]=Ld(f,null,n,t.supbooks,t)}else e.l=a;return s}var zp=Nn;var Hp=Fn;function Vp(e,r){if(r==null)r=Ia(4);r._W(4,e);return r}function $p(e,r){var t=e.l+r;var a=Nn(e,16);var n=yn(e);var i=on(e);var s=on(e);var f=on(e);e.l=t;var l={rfx:a,relId:n,loc:i,display:f};if(s)l.Tooltip=s;return l}function Xp(e,r){var t=Ia(50+4*(e[1].Target.length+(e[1].Tooltip||"").length));Fn({s:ja(e[0]),e:ja(e[0])},t);Sn("rId"+r,t);var a=e[1].Target.indexOf("#");var n=a==-1?"":e[1].Target.slice(a+1);cn(n||"",t);cn(e[1].Tooltip||"",t);cn("",t);return t.slice(0,t.l)}function Gp(){}function jp(e,r,t){var a=e.l+r;var n=In(e,16);var i=e._R(1);var s=[n];s[2]=i;if(t.cellFormula){var f=Gd(e,a-e.l,t);s[1]=f}else e.l=a;return s}function Kp(e,r,t){var a=e.l+r;var n=Nn(e,16);var i=[n];if(t.cellFormula){var s=Yd(e,a-e.l,t);i[1]=s;e.l=a}else e.l=a;return i}function Yp(e,r,t){if(t==null)t=Ia(18);var a=wv(e,r);t._W(-4,e);t._W(-4,e);t._W(4,(a.width||10)*256);t._W(4,0);var n=0;if(r.hidden)n|=1;if(typeof a.width=="number")n|=2;if(r.level)n|=r.level<<8;t._W(2,n);return t}var Zp=["left","right","top","bottom","header","footer"];function Jp(e){var r={};Zp.forEach(function(t){r[t]=Dn(e,8)});return r}function qp(e,r){if(r==null)r=Ia(6*8);kv(e);Zp.forEach(function(t){Pn(e[t],r)});return r}function Qp(e){var r=e._R(2);e.l+=28;return{RTL:r&32}}function em(e,r,t){if(t==null)t=Ia(30);var a=924;if((((r||{}).Views||[])[0]||{}).RTL)a|=32;t._W(2,a);t._W(4,0);t._W(4,0);t._W(4,0);t._W(1,0);t._W(1,0);t._W(2,0);t._W(2,100);t._W(2,0);t._W(2,0);t._W(2,0);t._W(4,0);return t}function rm(e){var r=Ia(24);r._W(4,4);r._W(4,1);Fn(e,r);return r}function tm(e,r){if(r==null)r=Ia(16*4+2);r._W(2,e.password?Mo(e.password):0);r._W(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._W(4,e[t[0]]!=null&&!e[t[0]]?1:0);else r._W(4,e[t[0]]!=null&&e[t[0]]?0:1)});return r}function am(){}function nm(){}function im(e,r,t,a,n,i,s){if(!e)return e;var f=r||{};if(!a)a={"!id":{}};if(b!=null&&f.dense==null)f.dense=b;var l={};if(f.dense)l["!data"]=[];var o;var c={s:{r:2e6,c:2e6},e:{r:0,c:0}};var h=[];var u=false,d=false;var v,p,m,g,w,k,T,A,y;var E=[];f.biff=12;f["!row"]=0;var C=0,_=false;var S=[];var x={};var O=f.supbooks||n.supbooks||[[]];O.sharedf=x;O.arrayf=S;O.SheetNames=n.SheetNames||n.Sheets.map(function(e){return e.name});if(!f.supbooks){f.supbooks=O;if(n.Names)for(var I=0;I0);w=e[0].c==-1?w+1:e[0].c;if(f.dense){if(!l["!data"][g])l["!data"][g]=[];l["!data"][g][w]=p}else l[Va(w)+A]=p;if(f.cellFormula){_=false;for(C=0;C=I[0].s.r&&v.r<=I[0].e.r)if(w>=I[0].s.c&&w<=I[0].e.c){p.F=Za(I[0]);_=true}}if(!_&&e.length>3)p.f=e[3]}if(c.s.r>v.r)c.s.r=v.r;if(c.s.c>w)c.s.c=w;if(c.e.rv.r)c.s.r=v.r;if(c.s.c>w)c.s.c=w;if(c.e.r=e.s){R[e.e--]={width:e.w/256,hidden:!!(e.flags&1),level:e.level};if(!F){F=true;fc(e.w/256)}lc(R[e.e+1])}break;case 551:if(e)l["!legrel"]=e;break;case 161:l["!autofilter"]={ref:Za(e)};break;case 476:l["!margins"]=e;break;case 147:if(!n.Sheets[t])n.Sheets[t]={};if(e.name)n.Sheets[t].CodeName=e.name;if(e.above||e.left)l["!outline"]={above:e.above,left:e.left};break;case 137:if(!n.Views)n.Views=[{}];if(!n.Views[0])n.Views[0]={};if(e.RTL)n.Views[0].RTL=true;break;case 485:break;case 64:;case 1053:break;case 151:break;case 152:;case 175:;case 644:;case 625:;case 562:;case 396:;case 1112:;case 1146:;case 471:;case 1050:;case 649:;case 1105:;case 589:;case 607:;case 564:;case 1055:;case 168:;case 174:;case 1180:;case 499:;case 507:;case 550:;case 171:;case 167:;case 1177:;case 169:;case 1181:;case 552:;case 661:;case 639:;case 478:;case 537:;case 477:;case 536:;case 1103:;case 680:;case 1104:;case 1024:;case 663:;case 535:;case 678:;case 504:;case 1043:;case 428:;case 170:;case 3072:;case 50:;case 2070:;case 1045:break;case 35:u=true;break;case 36:u=false;break;case 37:h.push(b);u=true;break;case 38:h.pop();u=false;break;default:if(r.T){}else if(!u||f.WTF)throw new Error("Unexpected record 0x"+b.toString(16));}},f);delete f.supbooks;delete f["!row"];if(!l["!ref"]&&(c.s.r<2e6||o&&(o.e.r>0||o.e.c>0||o.s.r>0||o.s.c>0)))l["!ref"]=Za(o||c);if(f.sheetRows&&l["!ref"]){var M=Qa(l["!ref"]);if(f.sheetRows<=+M.e.r){M.e.r=f.sheetRows-1;if(M.e.r>c.e.r)M.e.r=c.e.r;if(M.e.rc.e.c)M.e.c=c.e.c;if(M.e.c0)l["!merges"]=E;if(R.length>0)l["!cols"]=R;if(N.length>0)l["!rows"]=N;if(a["!id"][l["!legrel"]])l["!legdrawel"]=a["!id"][l["!legrel"]];return l}function sm(e,r,t,a,n,i,s,f){var l={r:t,c:a};if(r.c)i["!comments"].push([Ka(l),r.c]);if(r.v===undefined)return false;var o="";switch(r.t){case"b":o=r.v?"1":"0";break;case"d":r=Tr(r);r.z=r.z||q[14];r.v=dr(wr(r.v,f),f);r.t="n";break;case"n":;case"e":o=""+r.v;break;default:o=r.v;break;}l.s=Tv(n.cellXfs,r,n);if(r.l)i["!links"].push([Ka(l),r.l]);switch(r.t){case"s":;case"str":if(n.bookSST){o=bv(n.Strings,r.v==null?"":String(r.v),n.revStrings);l.t="s";l.v=o;if(s)Fa(e,18,yp(r,l));else Fa(e,7,Tp(r,l))}else{l.t="str";if(s)Fa(e,17,Lp(r,l));else Fa(e,6,Dp(r,l))}return true;case"n":if(r.v==(r.v|0)&&r.v>-1e3&&r.v<1e3){if(s)Fa(e,13,Rp(r,l));else Fa(e,2,Op(r,l))}else if(isNaN(r.v)){if(s)Fa(e,14,wp({t:"e",v:36},l));else Fa(e,3,gp({t:"e",v:36},l))}else if(!isFinite(r.v)){if(s)Fa(e,14,wp({t:"e",v:7},l));else Fa(e,3,gp({t:"e",v:7},l))}else{if(s)Fa(e,16,Sp(r,l));else Fa(e,5,Cp(r,l))}return true;case"b":l.t="b";if(s)Fa(e,15,pp(r,l));else Fa(e,4,dp(r,l));return true;case"e":l.t="e";if(s)Fa(e,14,wp(r,l));else Fa(e,3,gp(r,l));return true;}if(s)Fa(e,12,hp(r,l));else Fa(e,1,op(r,l));return true}function fm(e,r,t,a,n){var i=Qa(r["!ref"]||"A1"),s,f="",l=[];var o=(((n||{}).Workbook||{}).WBProps||{}).date1904;Fa(e,145);var c=r["!data"]!=null;var h=i.e.r;if(r["!rows"])h=Math.max(i.e.r,r["!rows"].length-1);for(var u=i.s.r;u<=h;++u){f=Ba(u);tp(e,r,i,u);var d=false;if(u<=i.e.r)for(var v=i.s.c;v<=i.e.c;++v){if(u===i.s.r)l[v]=Va(v);s=l[v]+f;var p=c?(r["!data"][u]||[])[v]:r[s];if(!p){d=false;continue}d=sm(e,p,u,v,a,r,d,o)}}Fa(e,146)}function lm(e,r){if(!r||!r["!merges"])return;Fa(e,177,Vp(r["!merges"].length));r["!merges"].forEach(function(r){Fa(e,176,Hp(r))});Fa(e,178)}function om(e,r){if(!r||!r["!cols"])return;Fa(e,390);r["!cols"].forEach(function(r,t){if(r)Fa(e,60,Yp(t,r))});Fa(e,391)}function cm(e,r){if(!r||!r["!ref"])return;Fa(e,648);Fa(e,649,rm(Qa(r["!ref"])));Fa(e,650)}function hm(e,r,t){r["!links"].forEach(function(r){if(!r[1].Target)return;var a=Ti(t,-1,r[1].Target.replace(/#[\s\S]*$/,""),gi.HLINK);Fa(e,494,Xp(r,a))});delete r["!links"]}function um(e,r,t,a){if(r["!comments"].length>0){var n=Ti(a,-1,"../drawings/vmlDrawing"+(t+1)+".vml",gi.VML);Fa(e,551,Sn("rId"+n));r["!legacy"]=n}}function dm(e,r,t,a){if(!r["!autofilter"])return;var n=r["!autofilter"];var i=typeof n.ref==="string"?n.ref:Za(n.ref);if(!t.Workbook)t.Workbook={Sheets:[]};if(!t.Workbook.Names)t.Workbook.Names=[];var s=t.Workbook.Names;var f=Ya(i);if(f.s.r==f.e.r){f.e.r=Ya(r["!ref"]).e.r;i=Za(f)}for(var l=0;l16383||o.e.r>1048575){if(r.WTF)throw new Error("Range "+(s["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");o.e.c=Math.min(o.e.c,16383);o.e.r=Math.min(o.e.c,1048575)}s["!links"]=[];s["!comments"]=[];Fa(n,129);if(t.vbaraw||s["!outline"])Fa(n,147,fp(f,s["!outline"]));Fa(n,148,np(o));vm(n,s,t.Workbook);pm(n,s);om(n,s,e,r,t);fm(n,s,e,r,t);mm(n,s);dm(n,s,t,e);lm(n,s);hm(n,s,a);if(s["!margins"])Fa(n,476,qp(s["!margins"]));if(!r||r.ignoreEC||r.ignoreEC==void 0)cm(n,s);um(n,s,e,a);Fa(n,130);return n.end()}function bm(e){var r=[];var t=e.match(/^/);var a;(e.match(/\/]*>([^<])<\/c:v><\/c:pt>/gm)||[]).forEach(function(e){var a=e.match(/\/]*>([^<]*)<\/c:v><\/c:pt>/);if(!a)return;r[+a[1]]=t?+a[2]:a[2]});var n=vt((Br(e,"c:formatCode")||["","General"])[1]);(Lr(e,"","")||[]).forEach(function(e){a=e.replace(/<[^<>]*>/g,"")});return[r,n,a]}function wm(e,r,t,a,n,i){var s=i||{"!type":"chart"};if(!e)return i;var f=0,l=0,o="A";var c={s:{r:2e6,c:2e6},e:{r:0,c:0}};(Lr(e,"","")||[]).forEach(function(e){var r=bm(e);c.s.r=c.s.c=0;c.e.c=f;o=Va(f);r[0].forEach(function(e,t){if(s["!data"]){if(!s["!data"][t])s["!data"][t]=[];s["!data"][t][f]={t:"n",v:e,z:r[1]}}else s[o+Ba(t)]={t:"n",v:e,z:r[1]};l=t});if(c.e.r0)s["!ref"]=Za(c);return s}function km(e,r,t,a,n){if(!e)return e;if(!a)a={"!id":{}};var i={"!type":"chart","!drawel":null,"!rel":""};var s;var f=e.match(Rv);if(f)Dv(f[0],i,n,t);if(s=e.match(/drawing r:id="(.*?)"/))i["!rel"]=s[1];if(a["!id"][i["!rel"]])i["!drawel"]=a["!id"][i["!rel"]];return i}function Tm(e,r){e.l+=10;var t=on(e,r-10);return{name:t}}function Am(e,r,t,a,n){if(!e)return e;if(!a)a={"!id":{}};var i={"!type":"chart","!drawel":null,"!rel":""};var s=[];var f=false;Ra(e,function l(e,a,o){switch(o){case 550:i["!rel"]=e;break;case 651:if(!n.Sheets[t])n.Sheets[t]={};if(e.name)n.Sheets[t].CodeName=e.name;break;case 562:;case 652:;case 669:;case 679:;case 551:;case 552:;case 476:;case 3072:break;case 35:f=true;break;case 36:f=false;break;case 37:s.push(o);break;case 38:s.pop();break;default:if(a.T>0)s.push(o);else if(a.T<0)s.pop();else if(!f||r.WTF)throw new Error("Unexpected record 0x"+o.toString(16));}},r);if(a["!id"][i["!rel"]])i["!drawel"]=a["!id"][i["!rel"]];return i}var ym=[["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 Em=[["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 Cm=[];var _m=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function Sm(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]]=Et(a[i[0]]);break;case"int":if(typeof a[i[0]]=="string")a[i[0]]=parseInt(a[i[0]],10);break;}}}}function xm(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]]=Et(e[a[0]]);break;case"int":if(typeof e[a[0]]=="string")e[a[0]]=parseInt(e[a[0]],10);break;}}}function Om(e){xm(e.WBProps,ym);xm(e.CalcPr,_m);Sm(e.WBView,Em);Sm(e.Sheets,Cm);mv.date1904=Et(e.WBProps.date1904)}function Im(e){if(!e.Workbook)return"false";if(!e.Workbook.WBProps)return"false";return Et(e.Workbook.WBProps.date1904)?"true":"false"}var Rm=":][*?/\\".split("");function Nm(e,r){try{if(e=="")throw new Error("Sheet name cannot be blank");if(e.length>31)throw new Error("Sheet name cannot exceed 31 chars");if(e.charCodeAt(0)==39||e.charCodeAt(e.length-1)==39)throw new Error("Sheet name cannot start or end with apostrophe (')");if(e.toLowerCase()=="history")throw new Error("Sheet name cannot be 'History'");Rm.forEach(function(r){if(e.indexOf(r)==-1)return;throw new Error("Sheet name cannot contain : \\ / ? * [ ]")})}catch(t){if(r)return false;throw t}return true}function Fm(e,r,t){e.forEach(function(a,n){Nm(a);for(var i=0;i22)throw new Error("Bad Code Name: Worksheet"+s)}})}function Dm(e){if(!e||!e.SheetNames||!e.Sheets)throw new Error("Invalid Workbook");if(!e.SheetNames.length)throw new Error("Workbook is empty");var r=e.Workbook&&e.Workbook.Sheets||[];Fm(e.SheetNames,r,!!e.vbaraw);for(var t=0;t":break;case"":;case"":break;case"":break;case"":ym.forEach(function(e){if(c[e[0]]==null)return;switch(e[2]){case"bool":t.WBProps[e[0]]=Et(c[e[0]]);break;case"int":t.WBProps[e[0]]=parseInt(c[e[0]],10);break;default:t.WBProps[e[0]]=c[e[0]];}});if(c.codeName)t.WBProps.CodeName=Ot(c.codeName);break;case"":break;case"":break;case"":;case"":break;case"":delete c[0];t.WBView.push(c);break;case"":break;case"":;case"":break;case"":break;case"":break;case"":;case"":break;case"":break;case"":;case"":a=false;break;case"":{i.Ref=vt(Ot(e.slice(s,o)));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=true;break;case"":a=false;break;case"0;var a={codeName:"ThisWorkbook"};if(e.Workbook&&e.Workbook.WBProps){ym.forEach(function(r){if(e.Workbook.WBProps[r[0]]==null)return;if(e.Workbook.WBProps[r[0]]==r[1])return;a[r[0]]=e.Workbook.WBProps[r[0]]});if(e.Workbook.WBProps.CodeName){a.codeName=e.Workbook.WBProps.CodeName;delete a.CodeName}}r[r.length]=Ut("workbookPr",null,a);var n=e.Workbook&&e.Workbook.Sheets||[];var i=0;if(n&&n[0]&&!!n[0].Hidden){r[r.length]="";for(i=0;i!=e.SheetNames.length;++i){if(!n[i])break;if(!n[i].Hidden)break}if(i==e.SheetNames.length)i=0;r[r.length]='';r[r.length]=""}r[r.length]="";for(i=0;i!=e.SheetNames.length;++i){var s={name:gt(e.SheetNames[i].slice(0,31))};s.sheetId=""+(i+1);s["r:id"]="rId"+(i+1);if(n[i])switch(n[i].Hidden){case 1:s.state="hidden";break;case 2:s.state="veryHidden";break;}r[r.length]=Ut("sheet",null,s)}r[r.length]="";if(t){r[r.length]="";if(e.Workbook&&e.Workbook.Names)e.Workbook.Names.forEach(function(e){var t={name:e.Name};if(e.Comment)t.comment=e.Comment;if(e.Sheet!=null)t.localSheetId=""+e.Sheet;if(e.Hidden)t.hidden="1";if(!e.Ref)return;r[r.length]=Ut("definedName",gt(e.Ref),t)});r[r.length]=""}if(r.length>2){r[r.length]="";r[1]=r[1].replace("/>",">")}return r.join("")}function Um(e,r){var t={};t.Hidden=e._R(4);t.iTabID=e._R(4);t.strRelID=_n(e,r-8);t.name=on(e);return t}function Bm(e,r){if(!r)r=Ia(127);r._W(4,e.Hidden);r._W(4,e.iTabID);Sn(e.strRelID,r);cn(e.name.slice(0,31),r);return r.length>r.l?r.slice(0,r.l):r}function Wm(e,r){var t={};var a=e._R(4);t.defaultThemeVersion=e._R(4);var n=r>8?on(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 zm(e,r){if(!r)r=Ia(72);var t=0;if(e){if(e.date1904)t|=1;if(e.filterPrivacy)t|=8}r._W(4,t);r._W(4,0);An(e&&e.CodeName||"ThisWorkbook",r);return r.slice(0,r.l)}function Hm(e,r){var t={};e._R(4);t.ArchID=e._R(4);e.l+=r-8;return t}function Vm(e,r,t){var a=e.l+r;var n=e._R(4);e.l+=1;var i=e._R(4);var s=Cn(e);var f;var l="";try{f=Kd(e,0,t);try{l=yn(e)}catch(o){}}catch(o){console.error("Could not parse defined name "+s)}if(n&32)s="_xlnm."+s;e.l=a;var c={Name:s,Ptg:f,Flags:n};if(i<268435455)c.Sheet=i;if(l)c.Comment=l;return c}function $m(e,r){var t=Ia(9);var a=0;var n=e.Name;if(hi.indexOf(n)>-1){a|=32;n=n.slice(6)}t._W(4,a);t._W(1,0);t._W(4,e.Sheet==null?4294967295:e.Sheet);var i=[t,cn(n),fv(e.Ref,r)];if(e.Comment)i.push(En(e.Comment));else{var s=Ia(4);s._W(4,4294967295);i.push(s)}return P(i)}function Xm(e,r){var t={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""};var a=[];var n=false;if(!r)r={};r.biff=12;var i=[];var s=[[]];s.SheetNames=[];s.XTI=[];Yg[16]={n:"BrtFRTArchID$",f:Hm};Ra(e,function f(e,l,o){switch(o){case 156:s.SheetNames.push(e.name);t.Sheets.push(e);break;case 153:t.WBProps=e;break;case 39:if(e.Sheet!=null)r.SID=e.Sheet;e.Ref=e.Ptg?Ld(e.Ptg,null,null,s,r):"#REF!";delete r.SID;delete e.Ptg;i.push(e);break;case 1036:break;case 357:;case 358:;case 355:;case 667:if(!s[0].length)s[0]=[o,e];else s.push([o,e]);s[s.length-1].XTI=[];break;case 362:if(s.length===0){s[0]=[];s[0].XTI=[]}s[s.length-1].XTI=s[s.length-1].XTI.concat(e);s.XTI=s.XTI.concat(e);break;case 361:break;case 2071:;case 158:;case 143:;case 664:;case 353:break;case 3072:;case 3073:;case 534:;case 677:;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.push(o);n=true;break;case 36:a.pop();n=false;break;case 37:a.push(o);n=true;break;case 38:a.pop();n=false;break;case 16:break;default:if(l.T){}else if(!n||r.WTF&&a[a.length-1]!=37&&a[a.length-1]!=35)throw new Error("Unexpected record 0x"+o.toString(16));}},r);Om(t);t.Names=i;t.supbooks=s;return t}function Gm(e,r){Fa(e,143);for(var t=0;t!=r.SheetNames.length;++t){var a=r.Workbook&&r.Workbook.Sheets&&r.Workbook.Sheets[t]&&r.Workbook.Sheets[t].Hidden||0;var n={Hidden:a,iTabID:t+1,strRelID:"rId"+(t+1),name:r.SheetNames[t]};Fa(e,156,Bm(n))}Fa(e,144)}function jm(r,t){if(!t)t=Ia(127);for(var a=0;a!=4;++a)t._W(4,0);cn("SheetJS",t);cn(e.version,t);cn(e.version,t);cn("7262",t);return t.length>t.l?t.slice(0,t.l):t}function Km(e,r){if(!r)r=Ia(29);r._W(-4,0);r._W(-4,460);r._W(4,28800);r._W(4,17600);r._W(4,500);r._W(4,e);r._W(4,e);var t=120;r._W(1,t);return r.length>r.l?r.slice(0,r.l):r}function Ym(e,r){if(!r.Workbook||!r.Workbook.Sheets)return;var t=r.Workbook.Sheets;var a=0,n=-1,i=-1;for(;an)return;Fa(e,135);Fa(e,158,Km(n));Fa(e,136)}function Zm(e,r){if(!r.Workbook||!r.Workbook.Names)return;r.Workbook.Names.forEach(function(t){try{if(t.Flags&14)return;Fa(e,39,$m(t,r))}catch(a){console.error("Could not serialize defined name "+JSON.stringify(t))}})}function Jm(e){var r=e.SheetNames.length;var t=Ia(12*r+28);t._W(4,r+2);t._W(4,0);t._W(4,-2);t._W(4,-2);t._W(4,0);t._W(4,-1);t._W(4,-1);for(var a=0;a-1?vt(r||e).replace(/<[^<>]*>/g,""):a.r;break;case"DateTime":if(e.slice(-1)!="Z")e+="Z";a.v=dr(wr(e,c),c);if(a.v!==a.v)a.v=vt(e);if(!h||h=="General")h="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=ci[e];if(o.cellText!==false)a.w=e;break;default:if(e==""&&r==""){a.t="z"}else{a.t="s";a.v=At(r||e)}break;}bg(a,h,o,c);if(o.cellFormula!==false){if(a.Formula){var g=vt(a.Formula);if(g.charCodeAt(0)==61)g=g.slice(1);a.f=eu(g,n);delete a.Formula;if(a.ArrayRange=="RC")a.F=eu("RC:RC",n);else if(a.ArrayRange){a.F=eu(a.ArrayRange,n);l.push([Qa(a.F),a.F])}}else{for(p=0;p=l[p][0].s.r&&n.r<=l[p][0].e.r)if(n.c>=l[p][0].s.c&&n.c<=l[p][0].e.c)a.F=l[p][1]}}if(o.cellStyles){v.forEach(function(e){if(!d.patternType&&e.patternType)d.patternType=e.patternType; +});a.s=d}if(a.StyleID!==undefined)a.ixfe=a.StyleID}function Tg(e){return hi.indexOf("_xlnm."+e)>-1?"_xlnm."+e:e}function Ag(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 yg(e,r){var t=r||{};$e();var n=v(zt(e));if(t.type=="binary"||t.type=="array"||t.type=="base64"){if(typeof a!=="undefined")n=a.utils.decode(65001,c(n));else n=Ot(n)}var i=n.slice(0,1024).toLowerCase(),s=false;i=i.replace(/".*?"/g,"");if((i.indexOf(">")&1023)>Math.min(i.indexOf(",")&1023,i.indexOf(";")&1023)){var f=Tr(t);f.type="string";return ro.to_workbook(n,f)}if(i.indexOf("=0)s=true});if(s)return Eb(n,t);pg={"General Number":"General","General Date":q[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":q[15],"Short Date":q[14],"Long Time":q[19],"Medium Time":q[18],"Short Time":q[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:q[2],Standard:q[4],Percent:q[10],Scientific:q[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'};var l;var o=[],h;if(b!=null&&t.dense==null)t.dense=b;var u={},d=[],p={},m="";if(t.dense)p["!data"]=[];var g={},w={};var k=dg(''),T=0;var A=0,y=0;var E={s:{r:2e6,c:2e6},e:{r:0,c:0}};var C={},_={};var S="",x=0;var O=[];var I={},R={},N=0,F=[];var D=[],P={};var L=[],M,U=false;var B=[];var W=[],z={},H=0,V=0;var $={Sheets:[],WBProps:{date1904:false}},X={};Ht.lastIndex=0;n=Mr(n,"");var G="";while(l=Ht.exec(n))switch(l[3]=(G=l[3]).toLowerCase()){case"data":if(G=="data"){if(l[1]==="/"){if((h=o.pop())[0]!==l[3])throw new Error("Bad state: "+h.join("|"))}else if(l[0].charAt(l[0].length-2)!=="/")o.push([l[3],true]);break}if(o[o.length-1][1])break;if(l[1]==="/")kg(n.slice(T,l.index),S,k,o[o.length-1][0]=="comment"?P:g,{c:A,r:y},C,L[A],w,B,t,$.WBProps.date1904);else{S="";k=dg(l[0]);T=l.index+l[0].length}break;case"cell":if(l[1]==="/"){if(D.length>0)g.c=D;if((!t.sheetRows||t.sheetRows>y)&&g.v!==void 0){if(t.dense){if(!p["!data"][y])p["!data"][y]=[];p["!data"][y][A]=g}else p[Va(A)+Ba(y)]=g}if(g.HRef){g.l={Target:vt(g.HRef)};if(g.HRefScreenTip)g.l.Tooltip=g.HRefScreenTip;delete g.HRef;delete g.HRefScreenTip}if(g.MergeAcross||g.MergeDown){H=A+(parseInt(g.MergeAcross,10)|0);V=y+(parseInt(g.MergeDown,10)|0);if(H>A||V>y)O.push({s:{c:A,r:y},e:{c:H,r:V}})}if(!t.sheetStubs){if(g.MergeAcross)A=H+1;else++A}else if(g.MergeAcross||g.MergeDown){for(var j=A;j<=H;++j){for(var K=y;K<=V;++K){if(j>A||K>y){if(t.dense){if(!p["!data"][K])p["!data"][K]=[];p["!data"][K][j]={t:"z"}}else p[Va(j)+Ba(K)]={t:"z"}}}}A=H+1}else++A}else{g=vg(l[0]);if(g.Index)A=+g.Index-1;if(AE.e.c)E.e.c=A;if(l[0].slice(-2)==="/>")++A;D=[]}break;case"row":if(l[1]==="/"||l[0].slice(-2)==="/>"){if(yE.e.r)E.e.r=y;if(l[0].slice(-2)==="/>"){w=dg(l[0]);if(w.Index)y=+w.Index-1}A=0;++y}else{w=dg(l[0]);if(w.Index)y=+w.Index-1;z={};if(w.AutoFitHeight=="0"||w.Height){z.hpx=parseInt(w.Height,10);z.hpt=hc(z.hpx);W[y]=z}if(w.Hidden=="1"){z.hidden=true;W[y]=z}}break;case"worksheet":if(l[1]==="/"){if((h=o.pop())[0]!==l[3])throw new Error("Bad state: "+h.join("|"));d.push(m);if(E.s.r<=E.e.r&&E.s.c<=E.e.c){p["!ref"]=Za(E);if(t.sheetRows&&t.sheetRows<=E.e.r){p["!fullref"]=p["!ref"];E.e.r=t.sheetRows-1;p["!ref"]=Za(E)}}if(O.length)p["!merges"]=O;if(L.length>0)p["!cols"]=L;if(W.length>0)p["!rows"]=W;u[m]=p}else{E={s:{r:2e6,c:2e6},e:{r:0,c:0}};y=A=0;o.push([l[3],false]);h=dg(l[0]);m=vt(h.Name);p={};if(t.dense)p["!data"]=[];O=[];B=[];W=[];X={name:m,Hidden:0};$.Sheets.push(X)}break;case"table":if(l[1]==="/"){if((h=o.pop())[0]!==l[3])throw new Error("Bad state: "+h.join("|"))}else if(l[0].slice(-2)=="/>")break;else{o.push([l[3],false]);L=[];U=false}break;case"style":if(l[1]==="/")wg(C,_,t);else _=dg(l[0]);break;case"numberformat":_.nf=vt(dg(l[0]).Format||"General");if(pg[_.nf])_.nf=pg[_.nf];for(var Y=0;Y!=392;++Y)if(q[Y]==_.nf)break;if(Y==392)for(Y=57;Y!=392;++Y)if(q[Y]==null){Je(_.nf,Y);break}break;case"column":if(o[o.length-1][0]!=="table")break;if(l[1]==="/")break;M=dg(l[0]);if(M.Hidden){M.hidden=true;delete M.Hidden}if(M.Width)M.wpx=parseInt(M.Width,10);if(!U&&M.wpx>10){U=true;tc=Qo;for(var Z=0;Z0)ee.Sheet=$.Sheets.length-1;$.Names.push(ee);break;case"namedcell":break;case"b":break;case"i":break;case"u":break;case"s":break;case"em":break;case"h2":break;case"h3":break;case"sub":break;case"sup":break;case"span":break;case"alignment":break;case"borders":break;case"border":break;case"font":if(l[0].slice(-2)==="/>")break;else if(l[1]==="/")S+=n.slice(x,l.index);else x=l.index+l[0].length;break;case"interior":if(!t.cellStyles)break;_.Interior=dg(l[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":;case"appname":if(l[0].slice(-2)==="/>")break;else if(l[1]==="/")Vi(I,G,n.slice(N,l.index));else N=l.index+l[0].length;break;case"paragraphs":break;case"styles":;case"workbook":if(l[1]==="/"){if((h=o.pop())[0]!==l[3])throw new Error("Bad state: "+h.join("|"))}else o.push([l[3],false]);break;case"comment":if(l[1]==="/"){if((h=o.pop())[0]!==l[3])throw new Error("Bad state: "+h.join("|"));Ag(P);D.push(P)}else{o.push([l[3],false]);h=dg(l[0]);if(!Et(h["ShowAlways"]||"0"))D.hidden=true;P={a:h.Author}}break;case"autofilter":if(l[1]==="/"){if((h=o.pop())[0]!==l[3])throw new Error("Bad state: "+h.join("|"))}else if(l[0].charAt(l[0].length-2)!=="/"){var re=dg(l[0]);p["!autofilter"]={ref:eu(re.Range).replace(/\$/g,"")};o.push([l[3],true])}break;case"name":break;case"datavalidation":if(l[1]==="/"){if((h=o.pop())[0]!==l[3])throw new Error("Bad state: "+h.join("|"))}else{if(l[0].charAt(l[0].length-2)!=="/")o.push([l[3],true])}break;case"pixelsperinch":break;case"componentoptions":;case"documentproperties":;case"customdocumentproperties":;case"officedocumentsettings":;case"pivottable":;case"pivotcache":;case"names":;case"mapinfo":;case"pagebreaks":;case"querytable":;case"sorting":;case"schema":;case"conditionalformatting":;case"smarttagtype":;case"smarttags":;case"excelworkbook":;case"workbookoptions":;case"worksheetoptions":if(l[1]==="/"){if((h=o.pop())[0]!==l[3])throw new Error("Bad state: "+h.join("|"))}else if(l[0].charAt(l[0].length-2)!=="/")o.push([l[3],true]);break;case"null":break;default:if(o.length==0&&l[3]=="document")return Lb(n,t);if(o.length==0&&l[3]=="uof")return Lb(n,t);var te=true;switch(o[o.length-1][0]){case"officedocumentsettings":switch(l[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"targetscreensize":break;case"readonlyrecommended":break;default:te=false;}break;case"componentoptions":switch(l[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:te=false;}break;case"excelworkbook":switch(l[3]){case"date1904":$.WBProps.date1904=true;break;case"hidehorizontalscrollbar":break;case"hideverticalscrollbar":break;case"hideworkbooktabs":break;case"windowheight":break;case"windowwidth":break;case"windowtopx":break;case"windowtopy":break;case"tabratio":break;case"protectstructure":break;case"protectwindow":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:te=false;}break;case"workbookoptions":switch(l[3]){case"owcversion":break;case"height":break;case"width":break;default:te=false;}break;case"worksheetoptions":switch(l[3]){case"visible":if(l[0].slice(-2)==="/>"){}else if(l[1]==="/")switch(n.slice(N,l.index)){case"SheetHidden":X.Hidden=1;break;case"SheetVeryHidden":X.Hidden=2;break;}else N=l.index+l[0].length;break;case"header":if(!p["!margins"])kv(p["!margins"]={},"xlml");if(!isNaN(+ct(l[0]).Margin))p["!margins"].header=+ct(l[0]).Margin;break;case"footer":if(!p["!margins"])kv(p["!margins"]={},"xlml");if(!isNaN(+ct(l[0]).Margin))p["!margins"].footer=+ct(l[0]).Margin;break;case"pagemargins":var ae=ct(l[0]);if(!p["!margins"])kv(p["!margins"]={},"xlml");if(!isNaN(+ae.Top))p["!margins"].top=+ae.Top;if(!isNaN(+ae.Left))p["!margins"].left=+ae.Left;if(!isNaN(+ae.Right))p["!margins"].right=+ae.Right;if(!isNaN(+ae.Bottom))p["!margins"].bottom=+ae.Bottom;break;case"displayrighttoleft":if(!$.Views)$.Views=[];if(!$.Views[0])$.Views[0]={};$.Views[0].RTL=true;break;case"freezepanes":break;case"frozennosplit":break;case"splithorizontal":;case"splitvertical":break;case"donotdisplaygridlines":break;case"activerow":break;case"activecol":break;case"toprowbottompane":break;case"leftcolumnrightpane":break;case"unsynced":break;case"print":break;case"printerrors":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"activepane":break;case"toprowvisible":break;case"leftcolumnvisible":break;case"fittopage":break;case"rangeselection":break;case"papersizeindex":break;case"pagelayoutzoom":break;case"pagebreakzoom":break;case"filteron":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":if(!p["!outline"])p["!outline"]={};p["!outline"].above=true;break;case"tabcolorindex":break;case"donotdisplayheadings":break;case"showpagelayoutzoom":break;case"nosummarycolumnsrightdetail":if(!p["!outline"])p["!outline"]={};p["!outline"].left=true;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:te=false;}break;case"pivottable":;case"pivotcache":switch(l[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:te=false;}break;case"pagebreaks":switch(l[3]){case"colbreaks":break;case"colbreak":break;case"rowbreaks":break;case"rowbreak":break;case"colstart":break;case"colend":break;case"rowend":break;default:te=false;}break;case"autofilter":switch(l[3]){case"autofiltercolumn":break;case"autofiltercondition":break;case"autofilterand":break;case"autofilteror":break;default:te=false;}break;case"querytable":switch(l[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:te=false;}break;case"datavalidation":switch(l[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"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;case"cellrangelist":break;default:te=false;}break;case"sorting":;case"conditionalformatting":switch(l[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:te=false;}break;case"mapinfo":;case"schema":;case"data":switch(l[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:te=false;}break;case"smarttags":break;default:te=false;break;}if(te)break;if(l[3].match(/!\[CDATA/))break;if(!o[o.length-1][1])throw"Unrecognized tag: "+l[3]+"|"+o.join("|");if(o[o.length-1][0]==="customdocumentproperties"){if(l[0].slice(-2)==="/>")break;else if(l[1]==="/")gg(R,G,F,n.slice(N,l.index));else{F=l;N=l.index+l[0].length}break}if(t.WTF)throw"Unrecognized tag: "+l[3]+"|"+o.join("|");}var ne={};if(!t.bookSheets&&!t.bookProps)ne.Sheets=u;ne.SheetNames=d;ne.Workbook=$;ne.SSF=Tr(q);ne.Props=I;ne.Custprops=R;ne.bookType="xlml";return ne}function Eg(e,r){Zw(r=r||{});switch(r.type||"base64"){case"base64":return yg(E(e),r);case"binary":;case"buffer":;case"file":return yg(e,r);case"array":return yg(N(e),r);}}function Cg(e,r){var t=[];if(e.Props)t.push($i(e.Props,r));if(e.Custprops)t.push(Xi(e.Props,e.Custprops,r));return t.join("")}function _g(e){if((((e||{}).Workbook||{}).WBProps||{}).date1904)return'';return""}function Sg(e,r){var t=[''];r.cellXfs.forEach(function(e,r){var a=[];a.push(Ut("NumberFormat",null,{"ss:Format":gt(q[e.numFmtId])}));var n={"ss:ID":"s"+(21+r)};t.push(Ut("Style",a.join(""),n))});return Ut("Styles",t.join(""))}function xg(e){return Ut("NamedRange",null,{"ss:Name":e.Name.slice(0,6)=="_xlnm."?e.Name.slice(6):e.Name,"ss:RefersTo":"="+au(e.Ref,{r:0,c:0})})}function Og(e){if(!((e||{}).Workbook||{}).Names)return"";var r=e.Workbook.Names;var t=[];for(var a=0;a");if(e["!margins"].header)n.push(Ut("Header",null,{"x:Margin":e["!margins"].header}));if(e["!margins"].footer)n.push(Ut("Footer",null,{"x:Margin":e["!margins"].footer}));n.push(Ut("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(Ut("Visible",a.Workbook.Sheets[t].Hidden==1?"SheetHidden":"SheetVeryHidden",{}));else{for(var i=0;i")}}if(((((a||{}).Workbook||{}).Views||[])[0]||{}).RTL)n.push("");if(e["!protect"]){n.push(Lt("ProtectContents","True"));if(e["!protect"].objects)n.push(Lt("ProtectObjects","True"));if(e["!protect"].scenarios)n.push(Lt("ProtectScenarios","True"));if(e["!protect"].selectLockedCells!=null&&!e["!protect"].selectLockedCells)n.push(Lt("EnableSelection","NoSelection"));else if(e["!protect"].selectUnlockedCells!=null&&!e["!protect"].selectUnlockedCells)n.push(Lt("EnableSelection","UnlockedCells"));[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","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 Ut("WorksheetOptions",n.join(""),{xmlns:Xt.x})}function Ng(e){return e.map(function(r){var t=yt(r.t||"");var a=Ut("ss:Data",t,{xmlns:"http://www.w3.org/TR/REC-html40"});var n={};if(r.a)n["ss:Author"]=r.a;if(!e.hidden)n["ss:ShowAlways"]="1";return Ut("Comment",a,n)}).join("")}function Fg(e,r,t,a,n,i,s){if(!e||e.v==undefined&&e.f==undefined)return"";var f={};if(e.f)f["ss:Formula"]="="+gt(au(e.f,s));if(e.F&&e.F.slice(0,r.length)==r){var l=ja(e.F.slice(r.length+1));f["ss:ArrayRange"]="RC:R"+(l.r==s.r?"":"["+(l.r-s.r)+"]")+"C"+(l.c==s.c?"":"["+(l.c-s.c)+"]")}if(e.l&&e.l.Target){f["ss:HRef"]=gt(e.l.Target);if(e.l.Tooltip)f["x:HRefScreenTip"]=gt(e.l.Tooltip)}if(t["!merges"]){var o=t["!merges"];for(var c=0;c!=o.length;++c){if(o[c].s.c!=s.c||o[c].s.r!=s.r)continue;if(o[c].e.c>o[c].s.c)f["ss:MergeAcross"]=o[c].e.c-o[c].s.c;if(o[c].e.r>o[c].s.r)f["ss:MergeDown"]=o[c].e.r-o[c].s.r}}var h="",u="";switch(e.t){case"z":if(!a.sheetStubs)return"";break;case"n":h="Number";u=String(e.v);break;case"b":h="Boolean";u=e.v?"1":"0";break;case"e":h="Error";u=oi[e.v];break;case"d":h="DateTime";u=new Date(e.v).toISOString();if(e.z==null)e.z=e.z||q[14];break;case"s":h="String";u=Tt(e.v||"");break;}var d=Tv(a.cellXfs,e,a);f["ss:StyleID"]="s"+(21+d);f["ss:Index"]=s.c+1;var v=e.v!=null?u:"";var p=e.t=="z"?"":''+v+"";if((e.c||[]).length>0)p+=Ng(e.c);return Ut("Cell",p,f)}function Dg(e,r){var t='"}function Pg(e,r,t,a){if(!e["!ref"])return"";var n=Qa(e["!ref"]);var i=e["!merges"]||[],s=0;var f=[];if(e["!cols"])e["!cols"].forEach(function(e,r){lc(e);var t=!!e.width;var a=wv(r,e);var n={"ss:Index":r+1};if(t)n["ss:Width"]=ac(a.width);if(e.hidden)n["ss:Hidden"]="1";f.push(Ut("Column",null,n))});var l=e["!data"]!=null;for(var o=n.s.r;o<=n.e.r;++o){var c=[Dg(o,(e["!rows"]||[])[o])];for(var h=n.s.c;h<=n.e.c;++h){var u=false;for(s=0;s!=i.length;++s){if(i[s].s.c>h)continue;if(i[s].s.r>o)continue;if(i[s].e.c");if(c.length>2)f.push(c.join(""))}return f.join("")}function Lg(e,r,t){var a=[];var n=t.SheetNames[e];var i=t.Sheets[n];var s=i?Ig(i,r,e,t):"";if(s.length>0)a.push(""+s+"");s=i?Pg(i,r,e,t):"";if(s.length>0)a.push(""+s+"
");a.push(Rg(i,r,e,t));if(i["!autofilter"])a.push('');return a.join("")}function Mg(e,r){if(!r)r={};if(!e.SSF)e.SSF=Tr(q);if(e.SSF){$e();Ve(e.SSF);r.revssf=lr(e.SSF);r.revssf[e.SSF[65535]]=0;r.ssf=e.SSF;r.cellXfs=[];Tv(r.cellXfs,{},{revssf:{General:0}})}var t=[];t.push(Cg(e,r));t.push(_g(e,r));t.push("");t.push("");for(var a=0;a40)return r;t.l-=4;r.Reserved1=t._R(0,"lpstr-ansi");if(t.length-t.l<=4)return r;a=t._R(4);if(a!==1907505652)return r;r.UnicodeClipboardFormat=Hn(t);a=t._R(4);if(a==0||a>40)return r;t.l-=4;r.Reserved2=t._R(0,"lpwstr")}var Bg=[60,1084,2066,2165,2175];function Wg(e,r,t,a,n){var i=a;var s=[];var f=t.slice(t.l,t.l+i);if(n&&n.enc&&n.enc.insitu&&f.length>0)switch(e){case 9:;case 521:;case 1033:;case 2057:;case 47:;case 405:;case 225:;case 406:;case 312:;case 404:;case 10:break;case 133:break;default:n.enc.insitu(f);}s.push(f);t.l+=i;var l=ga(t,t.l),o=Zg[l];var c=0;while(o!=null&&Bg.indexOf(l)>-1){i=ga(t,t.l+2);c=t.l+4;if(l==2066)c+=4;else if(l==2165||l==2175){c+=12}f=t.slice(c,t.l+4+i);s.push(f);t.l+=4+i;o=Zg[l=ga(t,t.l)]}var h=P(s);xa(h,0);var u=0;h.lens=[];for(var d=0;d1)return;if(t.sheetRows&&e.r>=t.sheetRows)return;if(t.cellStyles&&r.XF&&r.XF.data)O(r,t);delete r.ixfe;delete r.XF;u=e;d=Ka(e);if(!s||!s.s||!s.e)s={s:{r:0,c:0},e:{r:0,c:0}};if(e.rs.e.r)s.e.r=e.r+1;if(e.c+1>s.e.c)s.e.c=e.c+1;if(t.cellFormula&&r.f){for(var a=0;ae.c||k[a][0].s.r>e.r)continue;if(k[a][0].e.c>8)!==j)throw new Error("rt mismatch: "+Z+"!="+j);if(Y.r==12){e.l+=10;K-=10}}var J={};if(j===10)J=Y.f(e,K,R);else J=Wg(j,Y,e,K,R);if(W==0&&[9,521,1033,2057].indexOf(B)===-1)continue;switch(j){case 34:t.opts.Date1904=C.WBProps.date1904=J;break;case 134:t.opts.WriteProtect=true;break;case 47:if(!R.enc)e.l=0;R.enc=J;if(!r.password)throw new Error("File is password-protected");if(J.valid==null)throw new Error("Encryption scheme unsupported");if(!J.valid)throw new Error("Password is incorrect");break;case 92:R.lastuser=J;break;case 66:var Q=Number(J);switch(Q){case 21010:Q=1200;break;case 32768:Q=1e4;break;case 32769:Q=1252;break;}l(R.codepage=Q);X=true;break;case 317:R.rrtabid=J;break;case 25:R.winlocked=J;break;case 439:t.opts["RefreshAll"]=J;break;case 12:t.opts["CalcCount"]=J;break;case 16:t.opts["CalcDelta"]=J;break;case 17:t.opts["CalcIter"]=J;break;case 13:t.opts["CalcMode"]=J;break;case 14:t.opts["CalcPrecision"]=J;break;case 95:t.opts["CalcSaveRecalc"]=J;break;case 15:R.CalcRefMode=J;break;case 2211:t.opts.FullCalc=J;break;case 129:if(J.fDialog)n["!type"]="dialog";if(!J.fBelow)(n["!outline"]||(n["!outline"]={})).above=true;if(!J.fRight)(n["!outline"]||(n["!outline"]={})).left=true;break;case 67:;case 579:;case 1091:;case 224:y.push(J);break;case 430:U.push([J]);U[U.length-1].XTI=[];break;case 35:;case 547:U[U.length-1].push(J);break;case 24:;case 536:$={Name:J.Name,Ref:Ld(J.rgce,s,null,U,R)};if(J.itab>0)$.Sheet=J.itab-1;U.names.push($);if(!U[0]){U[0]=[];U[0].XTI=[]}U[U.length-1].push(J);if(J.Name=="_xlnm._FilterDatabase"&&J.itab>0)if(J.rgce&&J.rgce[0]&&J.rgce[0][0]&&J.rgce[0][0][0]=="PtgArea3d")V[J.itab-1]={ref:Za(J.rgce[0][0][1][2])};break;case 22:R.ExternCount=J;break;case 23:if(U.length==0){U[0]=[];U[0].XTI=[]}U[U.length-1].XTI=U[U.length-1].XTI.concat(J);U.XTI=U.XTI.concat(J);break;case 2196:if(R.biff<8)break;if($!=null)$.Comment=J[1];break;case 18:n["!protect"]=J;break;case 19:if(J!==0&&R.WTF)console.error("Password verifier: "+J);break;case 133:{i[R.biff==4?R.snames.length:J.pos]=J;R.snames.push(J.name)}break;case 10:{if(--W?!S:S)break;if(s.e){if(s.e.r>0&&s.e.c>0){s.e.r--;s.e.c--;n["!ref"]=Za(s);if(r.sheetRows&&r.sheetRows<=s.e.r){var ee=s.e.r;s.e.r=r.sheetRows-1;n["!fullref"]=n["!ref"];n["!ref"]=Za(s);s.e.r=ee}s.e.r++;s.e.c++}if(F.length>0)n["!merges"]=F;if(D.length>0)n["!objects"]=D;if(P.length>0)n["!cols"]=P;if(L.length>0)n["!rows"]=L;C.Sheets.push(_)}if(c==="")h=n;else a[c]=n;n={};if(r.dense)n["!data"]=[]}break;case 9:;case 521:;case 1033:;case 2057:{if(R.biff===8)R.biff={9:2,521:3,1033:4}[j]||{512:2,768:3,1024:4,1280:5,1536:8,2:2,7:2}[J.BIFFVer]||8;R.biffguess=J.BIFFVer==0;if(J.BIFFVer==0&&J.dt==4096){R.biff=5;X=true;l(R.codepage=28591)}if(R.biff==4&&J.dt&256)S=true;if(R.biff==8&&J.BIFFVer==0&&J.dt==16)R.biff=2;if(W++&&!S)break;n={};if(r.dense)n["!data"]=[];if(R.biff<8&&!X){X=true;l(R.codepage=r.codepage||1252)}if(R.biff==4&&S){c=(i[R.snames.indexOf(c)+1]||{name:""}).name}else if(R.biff<5||J.BIFFVer==0&&J.dt==4096){if(c==="")c="Sheet1";s={s:{r:0,c:0},e:{r:0,c:0}};var re={pos:e.l-K,name:c};i[re.pos]=re;R.snames.push(c)}else c=(i[G]||{name:""}).name;if(J.dt==32)n["!type"]="chart";if(J.dt==64)n["!type"]="macro";F=[];D=[];R.arrayf=k=[];P=[];L=[];M=false;_={Hidden:(i[G]||{hs:0}).hs,name:c}}break;case 515:;case 3:;case 2:{if(n["!type"]=="chart")if(r.dense?(n["!data"][J.r]||[])[J.c]:n[Va(J.c)+Ba(J.r)])++J.c;T={ixfe:J.ixfe,XF:y[J.ixfe]||{},v:J.val,t:"n"};if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63];zg(T,r,t.opts.Date1904);I({c:J.c,r:J.r},T,r)}break;case 5:;case 517:{T={ixfe:J.ixfe,XF:y[J.ixfe],v:J.val,t:J.t};if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63];zg(T,r,t.opts.Date1904);I({c:J.c,r:J.r},T,r)}break;case 638:{T={ixfe:J.ixfe,XF:y[J.ixfe],v:J.rknum,t:"n"};if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63];zg(T,r,t.opts.Date1904);I({c:J.c,r:J.r},T,r)}break;case 189:{for(var te=J.c;te<=J.C;++te){var ae=J.rkrec[te-J.c][0];T={ixfe:ae,XF:y[ae],v:J.rkrec[te-J.c][1],t:"n"};if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63];zg(T,r,t.opts.Date1904);I({c:te,r:J.r},T,r)}}break;case 6:;case 518:;case 1030:{if(J.val=="String"){f=J;break}T=Hg(J.val,J.cell.ixfe,J.tt);T.XF=y[T.ixfe];if(r.cellFormula){var ne=J.formula;if(ne&&ne[0]&&ne[0][0]&&ne[0][0][0]=="PtgExp"){var ie=ne[0][0][1][0],se=ne[0][0][1][1];var fe=Ka({r:ie,c:se});if(w[fe])T.f=""+Ld(J.formula,s,J.cell,U,R);else T.F=((r.dense?(n["!data"][ie]||[])[se]:n[fe])||{}).F}else T.f=""+Ld(J.formula,s,J.cell,U,R)}if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63];zg(T,r,t.opts.Date1904);I(J.cell,T,r);f=J}break;case 7:;case 519:{if(f){f.val=J;T=Hg(J,f.cell.ixfe,"s");T.XF=y[T.ixfe];if(r.cellFormula){T.f=""+Ld(f.formula,s,f.cell,U,R)}if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63];zg(T,r,t.opts.Date1904);I(f.cell,T,r);f=null}else throw new Error("String record expects Formula")}break;case 33:;case 545:{k.push(J);var le=Ka(J[0].s);v=r.dense?(n["!data"][J[0].s.r]||[])[J[0].s.c]:n[le];if(r.cellFormula&&v){if(!f)break;if(!le||!v)break;v.f=""+Ld(J[1],s,J[0],U,R);v.F=Za(J[0])}}break;case 1212:{if(!r.cellFormula)break;if(d){if(!f)break;w[Ka(f.cell)]=J[0];v=r.dense?(n["!data"][f.cell.r]||[])[f.cell.c]:n[Ka(f.cell)];(v||{}).f=""+Ld(J[0],s,u,U,R)}}break;case 253:T=Hg(o[J.isst].t,J.ixfe,"s");if(o[J.isst].h)T.h=o[J.isst].h;T.XF=y[T.ixfe];if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63];zg(T,r,t.opts.Date1904);I({c:J.c,r:J.r},T,r);break;case 513:if(r.sheetStubs){T={ixfe:J.ixfe,XF:y[J.ixfe],t:"z"};if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63];zg(T,r,t.opts.Date1904);I({c:J.c,r:J.r},T,r)}break;case 190:if(r.sheetStubs){for(var oe=J.c;oe<=J.C;++oe){var ce=J.ixfe[oe-J.c];T={ixfe:ce,XF:y[ce],t:"z"};if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63]; +zg(T,r,t.opts.Date1904);I({c:oe,r:J.r},T,r)}}break;case 214:;case 516:;case 4:T=Hg(J.val,J.ixfe,"s");T.XF=y[T.ixfe];if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63];zg(T,r,t.opts.Date1904);I({c:J.c,r:J.r},T,r);break;case 0:;case 512:{if(W===1)s=J}break;case 252:{o=J}break;case 1054:{if(R.biff>=3&&R.biff<=4){H[z++]=J[1];for(var he=0;he=163)Je(J[1],z+163)}else Je(J[1],J[0])}break;case 30:{H[z++]=J;for(var ue=0;ue=163)Je(J,z+163)}break;case 229:F=F.concat(J);break;case 93:D[J.cmo[0]]=R.lastobj=J;break;case 438:R.lastobj.TxO=J;break;case 127:R.lastobj.ImData=J;break;case 440:{for(g=J[0].s.r;g<=J[0].e.r;++g)for(m=J[0].s.c;m<=J[0].e.c;++m){v=r.dense?(n["!data"][g]||[])[m]:n[Ka({c:m,r:g})];if(v)v.l=J[1]}}break;case 2048:{for(g=J[0].s.r;g<=J[0].e.r;++g)for(m=J[0].s.c;m<=J[0].e.c;++m){v=r.dense?(n["!data"][g]||[])[m]:n[Ka({c:m,r:g})];if(v&&v.l)v.l.Tooltip=J[1]}}break;case 28:{v=r.dense?(n["!data"][J[0].r]||[])[J[0].c]:n[Ka(J[0])];if(!v){if(r.dense){if(!n["!data"][J[0].r])n["!data"][J[0].r]=[];v=n["!data"][J[0].r][J[0].c]={t:"z"}}else{v=n[Ka(J[0])]={t:"z"}}s.e.r=Math.max(s.e.r,J[0].r);s.s.r=Math.min(s.s.r,J[0].r);s.e.c=Math.max(s.e.c,J[0].c);s.s.c=Math.min(s.s.c,J[0].c)}if(!v.c)v.c=[];if(R.biff<=5&&R.biff>=2)p={a:"SheetJ5",t:J[1]};else{var de=D[J[2]];p={a:J[1],t:de.TxO.t};if(J[3]!=null&&!(J[3]&2))v.c.hidden=true}v.c.push(p)}break;case 2173:uh(y[J.ixfe],J.ext);break;case 125:{if(!R.cellStyles)break;while(J.e>=J.s){P[J.e--]={width:J.w/256,level:J.level||0,hidden:!!(J.flags&1)};if(!M){M=true;fc(J.w/256)}lc(P[J.e+1])}}break;case 520:{var ve={};if(J.level!=null){L[J.r]=ve;ve.level=J.level}if(J.hidden){L[J.r]=ve;ve.hidden=true}if(J.hpt){L[J.r]=ve;ve.hpt=J.hpt;ve.hpx=uc(J.hpt)}}break;case 38:;case 39:;case 40:;case 41:if(!n["!margins"])kv(n["!margins"]={});n["!margins"][{38:"left",39:"right",40:"top",41:"bottom"}[j]]=J;break;case 161:if(!n["!margins"])kv(n["!margins"]={});n["!margins"].header=J.header;n["!margins"].footer=J.footer;break;case 574:if(J.RTL)C.Views[0].RTL=true;break;case 146:E=J;break;case 2198:N=J;break;case 140:A=J;break;case 442:{if(!c)C.WBProps.CodeName=J||"ThisWorkbook";else _.CodeName=J||_.name}break;}}else{if(!Y)console.error("Missing Info for XLS Record 0x"+j.toString(16));e.l+=K}}t.SheetNames=ir(i).sort(function(e,r){return Number(e)-Number(r)}).map(function(e){return i[e].name});if(!r.bookSheets)t.Sheets=a;if(!t.SheetNames.length&&h["!ref"]){t.SheetNames.push("Sheet1");if(t.Sheets)t.Sheets["Sheet1"]=h}else t.Preamble=h;if(t.Sheets)V.forEach(function(e,r){t.Sheets[t.SheetNames[r]]["!autofilter"]=e});t.Strings=o;t.SSF=Tr(q);if(R.enc)t.Encryption=R.enc;if(N)t.Themes=N;t.Metadata={};if(A!==undefined)t.Metadata.Country=A;if(U.names.length>0)C.Names=U.names;t.Workbook=C;return t}var $g={SI:"e0859ff2f94f6810ab9108002b27b3d9",DSI:"02d5cdd59c2e1b10939708002b2cf9ae",UDI:"05d5cdd59c2e1b10939708002b2cf9ae"};function Xg(e,r,t){var a=Qe.find(e,"/!DocumentSummaryInformation");if(a&&a.size>0)try{var n=us(a,ti,$g.DSI);for(var i in n)r[i]=n[i]}catch(s){if(t.WTF)throw s}var f=Qe.find(e,"/!SummaryInformation");if(f&&f.size>0)try{var l=us(f,ai,$g.SI);for(var o in l)if(r[o]==null)r[o]=l[o]}catch(s){if(t.WTF)throw s}if(r.HeadingPairs&&r.TitlesOfParts){Pi(r.HeadingPairs,r.TitlesOfParts,r,t);delete r.HeadingPairs;delete r.TitlesOfParts}}function Gg(e,r){var t=[],a=[],n=[];var i=0,s;var f=sr(ti,"n");var l=sr(ai,"n");if(e.Props){s=ir(e.Props);for(i=0;i-1||Di.indexOf(n[i][0])>-1)continue;if(n[i][1]==null)continue;o.push(n[i])}if(a.length)Qe.utils.cfb_add(r,"/SummaryInformation",ds(a,$g.SI,l,ai));if(t.length||o.length)Qe.utils.cfb_add(r,"/DocumentSummaryInformation",ds(t,$g.DSI,f,ti,o.length?o:null,$g.UDI))}function jg(e,r){if(!r)r={};Zw(r);o();if(r.codepage)s(r.codepage);var t,a;if(e.FullPaths){if(Qe.find(e,"/encryption"))throw new Error("File is password-protected");t=Qe.find(e,"!CompObj");a=Qe.find(e,"/Workbook")||Qe.find(e,"/Book")}else{switch(r.type){case"base64":e=I(E(e));break;case"binary":e=I(e);break;case"buffer":break;case"array":if(!Array.isArray(e))e=Array.prototype.slice.call(e);break;}xa(e,0);a={content:e}}var n;var i;if(t)Ug(t);if(r.bookProps&&!r.bookSheets)n={};else{var f=C?"buffer":"array";if(a&&a.content)n=Vg(a.content,r);else if((i=Qe.find(e,"PerfectOffice_MAIN"))&&i.content)n=ao.to_workbook(i.content,(r.type=f,r));else if((i=Qe.find(e,"NativeContent_MAIN"))&&i.content)n=ao.to_workbook(i.content,(r.type=f,r));else if((i=Qe.find(e,"MN0"))&&i.content)throw new Error("Unsupported Works 4 for Mac file");else throw new Error("Cannot find Workbook stream");if(r.bookVBA&&e.FullPaths&&Qe.find(e,"/_VBA_PROJECT_CUR/VBA/dir"))n.vbaraw=jh(e)}var l={};if(e.FullPaths)Xg(e,l,r);n.Props=n.Custprops=l;if(r.bookFiles)n.cfb=e;return n}function Kg(e,r){var t=r||{};var a=Qe.utils.cfb_new({root:"R"});var n="/Workbook";switch(t.bookType||"xls"){case"xls":t.bookType="biff8";case"xla":if(!t.bookType)t.bookType="xla";case"biff8":n="/Workbook";t.biff=8;break;case"biff5":n="/Book";t.biff=5;break;default:throw new Error("invalid type "+t.bookType+" for XLS CFB");}Qe.utils.cfb_add(a,n,wb(e,t));if(t.biff==8&&(e.Props||e.Custprops))Gg(e,a);if(t.biff==8&&e.vbaraw)Kh(a,Qe.read(e.vbaraw,{type:typeof e.vbaraw=="string"?"binary":"buffer"}));return a}var Yg={0:{f:ep},1:{f:lp},2:{f:xp},3:{f:mp},4:{f:up},5:{f:Ep},6:{f:Fp},7:{f:kp},8:{f:Wp},9:{f:Bp},10:{f:Mp},11:{f:Up},12:{f:cp},13:{f:Ip},14:{f:bp},15:{f:vp},16:{f:_p},17:{f:Pp},18:{f:Ap},19:{f:dn},20:{},21:{},22:{},23:{},24:{},25:{},26:{},27:{},28:{},29:{},30:{},31:{},32:{},33:{},34:{},35:{T:1},36:{T:-1},37:{T:1},38:{T:-1},39:{f:Vm},40:{},42:{},43:{f:Sc},44:{f:Cc},45:{f:Rc},46:{f:Lc},47:{f:Fc},48:{},49:{f:fn},50:{},51:{f:ph},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:Il},62:{f:Np},63:{f:Ch},64:{f:am},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:Oa,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:Qp},138:{T:-1},139:{T:1},140:{T:-1},141:{T:1},142:{T:-1},143:{T:1},144:{T:-1},145:{T:1},146:{T:-1},147:{f:sp},148:{f:ap,p:16},151:{f:Gp},152:{},153:{f:Wm},154:{},155:{},156:{f:Um},157:{},158:{},159:{T:1,f:mo},160:{T:-1},161:{T:1,f:Nn},162:{T:-1},163:{T:1},164:{T:-1},165:{T:1},166:{T:-1},167:{},168:{},169:{},170:{},171:{},172:{T:1},173:{T:-1},174:{},175:{},176:{f:zp},177:{T:1},178:{T:-1},179:{T:1},180:{T:-1},181:{T:1},182:{T:-1},183:{T:1},184:{T:-1},185:{T:1},186:{T:-1},187:{T:1},188:{T:-1},189:{T:1},190:{T:-1},191:{T:1},192:{T:-1},193:{T:1},194:{T:-1},195:{T:1},196:{T:-1},197:{T:1},198:{T:-1},199:{T:1},200:{T:-1},201:{T:1},202:{T:-1},203:{T:1},204:{T:-1},205:{T:1},206:{T:-1},207:{T:1},208:{T:-1},209:{T:1},210:{T:-1},211:{T:1},212:{T:-1},213:{T:1},214:{T:-1},215:{T:1},216:{T:-1},217:{T:1},218:{T:-1},219:{T:1},220:{T:-1},221:{T:1},222:{T:-1},223:{T:1},224:{T:-1},225:{T:1},226:{T:-1},227:{T:1},228:{T:-1},229:{T:1},230:{T:-1},231:{T:1},232:{T:-1},233:{T:1},234:{T:-1},235:{T:1},236:{T:-1},237:{T:1},238:{T:-1},239:{T:1},240:{T:-1},241:{T:1},242:{T:-1},243:{T:1},244:{T:-1},245:{T:1},246:{T:-1},247:{T:1},248:{T:-1},249:{T:1},250:{T:-1},251:{T:1},252:{T:-1},253:{T:1},254:{T:-1},255:{T:1},256:{T:-1},257:{T:1},258:{T:-1},259:{T:1},260:{T:-1},261:{T:1},262:{T:-1},263:{T:1},264:{T:-1},265:{T:1},266:{T:-1},267:{T:1},268:{T:-1},269:{T:1},270:{T:-1},271:{T:1},272:{T:-1},273:{T:1},274:{T:-1},275:{T:1},276:{T:-1},277:{},278:{T:1},279:{T:-1},280:{T:1},281:{T:-1},282:{T:1},283:{T:1},284:{T:-1},285:{T:1},286:{T:-1},287:{T:1},288:{T:-1},289:{T:1},290:{T:-1},291:{T:1},292:{T:-1},293:{T:1},294:{T:-1},295:{T:1},296:{T:-1},297:{T:1},298:{T:-1},299:{T:1},300:{T:-1},301:{T:1},302:{T:-1},303:{T:1},304:{T:-1},305:{T:1},306:{T:-1},307:{T:1},308:{T:-1},309:{T:1},310:{T:-1},311:{T:1},312:{T:-1},313:{T:-1},314:{T:1},315:{T:-1},316:{T:1},317:{T:-1},318:{T:1},319:{T:-1},320:{T:1},321:{T:-1},322:{T:1},323:{T:-1},324:{T:1},325:{T:-1},326:{T:1},327:{T:-1},328:{T:1},329:{T:-1},330:{T:1},331:{T:-1},332:{T:1},333:{T:-1},334:{T:1},335:{f:dh},336:{T:-1},337:{f:bh,T:1},338:{T:-1},339:{T:1},340:{T:-1},341:{T:1},342:{T:-1},343:{T:1},344:{T:-1},345:{T:1},346:{T:-1},347:{T:1},348:{T:-1},349:{T:1},350:{T:-1},351:{},352:{},353:{T:1},354:{T:-1},355:{f:_n},357:{},358:{},359:{},360:{T:1},361:{},362:{f:sl},363:{},364:{},366:{},367:{},368:{},369:{},370:{},371:{},372:{T:1},373:{T:-1},374:{T:1},375:{T:-1},376:{T:1},377:{T:-1},378:{T:1},379:{T:-1},380:{T:1},381:{T:-1},382:{T:1},383:{T:-1},384:{T:1},385:{T:-1},386:{T:1},387:{T:-1},388:{T:1},389:{T:-1},390:{T:1},391:{T:-1},392:{T:1},393:{T:-1},394:{T:1},395:{T:-1},396:{},397:{},398:{},399:{},400:{},401:{T:1},403:{},404:{},405:{},406:{},407:{},408:{},409:{},410:{},411:{},412:{},413:{},414:{},415:{},416:{},417:{},418:{},419:{},420:{},421:{},422:{T:1},423:{T:1},424:{T:-1},425:{T:-1},426:{f:jp},427:{f:Kp},428:{},429:{T:1},430:{T:-1},431:{T:1},432:{T:-1},433:{T:1},434:{T:-1},435:{T:1},436:{T:-1},437:{T:1},438:{T:-1},439:{T:1},440:{T:-1},441:{T:1},442:{T:-1},443:{T:1},444:{T:-1},445:{T:1},446:{T:-1},447:{T:1},448:{T:-1},449:{T:1},450:{T:-1},451:{T:1},452:{T:-1},453:{T:1},454:{T:-1},455:{T:1},456:{T:-1},457:{T:1},458:{T:-1},459:{T:1},460:{T:-1},461:{T:1},462:{T:-1},463:{T:1},464:{T:-1},465:{T:1},466:{T:-1},467:{T:1},468:{T:-1},469:{T:1},470:{T:-1},471:{},472:{},473:{T:1},474:{T:-1},475:{},476:{f:Jp},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:ip},486:{T:1},487:{T:-1},488:{T:1},489:{T:-1},490:{T:1},491:{T:-1},492:{T:1},493:{T:-1},494:{f:$p},495:{T:1},496:{T:-1},497:{T:1},498:{T:-1},499:{},500:{T:1},501:{T:-1},502:{T:1},503:{T:-1},504:{},505:{T:1},506:{T:-1},507:{},508:{T:1},509:{T:-1},510:{T:1},511:{T:-1},512:{},513:{},514:{T:1},515:{T:-1},516:{T:1},517:{T:-1},518:{T:1},519:{T:-1},520:{T:1},521:{T:-1},522:{},523:{},524:{},525:{},526:{},527:{},528:{T:1},529:{T:-1},530:{T:1},531:{T:-1},532:{T:1},533:{T:-1},534:{},535:{},536:{},537:{},538:{T:1},539:{T:-1},540:{T:1},541:{T:-1},542:{T:1},548:{},549:{},550:{f:_n},551:{f:yn},552:{},553:{},554:{T:1},555:{T:-1},556:{T:1},557:{T:-1},558:{T:1},559:{T:-1},560:{T:1},561:{T:-1},562:{},564:{},565:{T:1},566:{T:-1},569:{T:1},570:{T:-1},572:{},573:{T:1},574:{T:-1},577:{},578:{},579:{},580:{},581:{},582:{},583:{},584:{},585:{},586:{},587:{},588:{T:-1},589:{},590:{T:1},591:{T:-1},592:{T:1},593:{T:-1},594:{T:1},595:{T:-1},596:{},597:{T:1},598:{T:-1},599:{T:1},600:{T:-1},601:{T:1},602:{T:-1},603:{T:1},604:{T:-1},605:{T:1},606:{T:-1},607:{},608:{T:1},609:{T:-1},610:{},611:{T:1},612:{T:-1},613:{T:1},614:{T:-1},615:{T:1},616:{T:-1},617:{T:1},618:{T:-1},619:{T:1},620:{T:-1},625:{},626:{T:1},627:{T:-1},628:{T:1},629:{T:-1},630:{T:1},631:{T:-1},632:{f:Hh},633:{T:1},634:{T:-1},635:{T:1,f:Wh},636:{T:-1},637:{f:pn},638:{T:1},639:{},640:{T:-1},641:{T:1},642:{T:-1},643:{T:1},644:{},645:{T:-1},646:{T:1},648:{T:1},649:{},650:{T:-1},651:{f:Tm},652:{},653:{T:1},654:{T:-1},655:{T:1},656:{T:-1},657:{T:1},658:{T:-1},659:{},660:{T:1},661:{},662:{T:-1},663:{},664:{T:1},665:{},666:{T:-1},667:{},668:{},669:{},671:{T:1},672:{T:-1},673:{T:1},674:{T:-1},675:{},676:{},677:{},678:{},679:{},680:{},681:{},1024:{},1025:{},1026:{T:1},1027:{T:-1},1028:{T:1},1029:{T:-1},1030:{},1031:{T:1},1032:{T:-1},1033:{T:1},1034:{T:-1},1035:{},1036:{},1037:{},1038:{T:1},1039:{T:-1},1040:{},1041:{T:1},1042:{T:-1},1043:{},1044:{},1045:{},1046:{T:1},1047:{T:-1},1048:{T:1},1049:{T:-1},1050:{},1051:{T:1},1052:{T:1},1053:{f:nm},1054:{T:1},1055:{},1056:{T:1},1057:{T:-1},1058:{T:1},1059:{T:-1},1061:{},1062:{T:1},1063:{T:-1},1064:{T:1},1065:{T:-1},1066:{T:1},1067:{T:-1},1068:{T:1},1069:{T:-1},1070:{T:1},1071:{T:-1},1072:{T:1},1073:{T:-1},1075:{T:1},1076:{T:-1},1077:{T:1},1078:{T:-1},1079:{T:1},1080:{T:-1},1081:{T:1},1082:{T:-1},1083:{T:1},1084:{T:-1},1085:{},1086:{T:1},1087:{T:-1},1088:{T:1},1089:{T:-1},1090:{T:1},1091:{T:-1},1092:{T:1},1093:{T:-1},1094:{T:1},1095:{T:-1},1096:{},1097:{T:1},1098:{},1099:{T:-1},1100:{T:1},1101:{T:-1},1102:{},1103:{},1104:{},1105:{},1111:{},1112:{},1113:{T:1},1114:{T:-1},1115:{T:1},1116:{T:-1},1117:{},1118:{T:1},1119:{T:-1},1120:{T:1},1121:{T:-1},1122:{T:1},1123:{T:-1},1124:{T:1},1125:{T:-1},1126:{},1128:{T:1},1129:{T:-1},1130:{},1131:{T:1},1132:{T:-1},1133:{T:1},1134:{T:-1},1135:{T:1},1136:{T:-1},1137:{T:1},1138:{T:-1},1139:{T:1},1140:{T:-1},1141:{},1142:{T:1},1143:{T:-1},1144:{T:1},1145:{T:-1},1146:{},1147:{T:1},1148:{T:-1},1149:{T:1},1150:{T:-1},1152:{T:1},1153:{T:-1},1154:{T:-1},1155:{T:-1},1156:{T:-1},1157:{T:1},1158:{T:-1},1159:{T:1},1160:{T:-1},1161:{T:1},1162:{T:-1},1163:{T:1},1164:{T:-1},1165:{T:1},1166:{T:-1},1167:{T:1},1168:{T:-1},1169:{T:1},1170:{T:-1},1171:{},1172:{T:1},1173:{T:-1},1177:{},1178:{T:1},1180:{},1181:{},1182:{},2048:{T:1},2049:{T:-1},2050:{},2051:{T:1},2052:{T:-1},2053:{},2054:{},2055:{T:1},2056:{T:-1},2057:{T:1},2058:{T:-1},2060:{},2067:{},2068:{T:1},2069:{T:-1},2070:{},2071:{},2072:{T:1},2073:{T:-1},2075:{},2076:{},2077:{T:1},2078:{T:-1},2079:{},2080:{T:1},2081:{T:-1},2082:{},2083:{T:1},2084:{T:-1},2085:{T:1},2086:{T:-1},2087:{T:1},2088:{T:-1},2089:{T:1},2090:{T:-1},2091:{},2092:{},2093:{T:1},2094:{T:-1},2095:{},2096:{T:1},2097:{T:-1},2098:{T:1},2099:{T:-1},2100:{T:1},2101:{T:-1},2102:{},2103:{T:1},2104:{T:-1},2105:{},2106:{T:1},2107:{T:-1},2108:{},2109:{T:1},2110:{T:-1},2111:{T:1},2112:{T:-1},2113:{T:1},2114:{T:-1},2115:{},2116:{},2117:{},2118:{T:1},2119:{T:-1},2120:{},2121:{T:1},2122:{T:-1},2123:{T:1},2124:{T:-1},2125:{},2126:{T:1},2127:{T:-1},2128:{},2129:{T:1},2130:{T:-1},2131:{T:1},2132:{T:-1},2133:{T:1},2134:{},2135:{},2136:{},2137:{T:1},2138:{T:-1},2139:{T:1},2140:{T:-1},2141:{},3072:{},3073:{},4096:{T:1},4097:{T:-1},5002:{T:1},5003:{T:-1},5081:{T:1},5082:{T:-1},5083:{},5084:{T:1},5085:{T:-1},5086:{T:1},5087:{T:-1},5088:{},5089:{},5090:{},5092:{T:1},5093:{T:-1},5094:{},5095:{T:1},5096:{T:-1},5097:{},5099:{},65535:{n:""}};var Zg={6:{f:Vd},10:{f:vs},12:{f:ws},13:{f:ws},14:{f:gs},15:{f:gs},16:{f:Dn},17:{f:gs},18:{f:gs},19:{f:ws},20:{f:tl},21:{f:tl},23:{f:sl},24:{f:il},25:{f:gs},26:{},27:{},28:{f:dl},29:{},34:{f:gs},35:{f:nl},38:{f:Dn},39:{f:Dn},40:{f:Dn},41:{f:Dn},42:{f:gs},43:{f:gs},47:{f:Vo},49:{f:Cf},51:{f:ws},60:{},61:{f:kf},64:{f:gs},65:{f:Ef},66:{f:ws},77:{},80:{},81:{},82:{},85:{f:ws},89:{},90:{},91:{},92:{f:lf},93:{f:gl},94:{},95:{f:gs},96:{},97:{},99:{f:gs},125:{f:Il},128:{f:Zf},129:{f:cf},130:{f:ws},131:{f:gs},132:{f:gs},133:{f:hf},134:{},140:{f:Cl},141:{f:ws},144:{},146:{f:xl},151:{},152:{},153:{},154:{},155:{},156:{f:ws},157:{},158:{},160:{f:Ll},161:{f:Nl},174:{},175:{},176:{},177:{},178:{},180:{},181:{},182:{},184:{},185:{},189:{f:Bf},190:{f:Wf},193:{f:vs},197:{},198:{},199:{},200:{},201:{},202:{f:gs},203:{},204:{},205:{},206:{},207:{},208:{},209:{},210:{},211:{},213:{},215:{},216:{},217:{},218:{f:ws},220:{},221:{f:gs},222:{},224:{f:Hf},225:{f:ff},226:{f:vs},227:{},229:{f:pl},233:{},235:{},236:{},237:{},239:{},240:{},241:{},242:{},244:{},245:{},246:{},247:{},248:{},249:{},251:{},252:{f:df},253:{f:Sf},255:{f:pf},256:{},259:{},290:{},311:{},312:{},315:{},317:{f:Ts},318:{},319:{},320:{},330:{},331:{},333:{},334:{},335:{},336:{},337:{},338:{},339:{},340:{},351:{},352:{f:gs},353:{f:vs},401:{},402:{},403:{},404:{},405:{},406:{},407:{},408:{},425:{},426:{},427:{},428:{},429:{},430:{f:al},431:{f:gs},432:{},433:{},434:{},437:{},438:{f:kl},439:{f:gs},440:{f:Tl},441:{},442:{f:xs},443:{},444:{f:ws},445:{},446:{},448:{f:vs},449:{f:bf,r:2},450:{f:vs},512:{f:Lf},513:{f:Pl},515:{f:el},516:{f:Of},517:{f:qf},519:{f:Ml},520:{f:mf},523:{},545:{f:cl},549:{f:wf},566:{},574:{f:Af},638:{f:Uf},659:{},1048:{},1054:{f:Rf},1084:{},1212:{f:ol},2048:{f:yl},2049:{},2050:{},2051:{},2052:{},2053:{},2054:{},2055:{},2056:{},2057:{f:nf},2058:{},2059:{},2060:{},2061:{},2062:{},2063:{},2064:{},2066:{},2067:{},2128:{},2129:{},2130:{},2131:{},2132:{},2133:{},2134:{},2135:{},2136:{},2137:{},2138:{},2146:{},2147:{r:12},2148:{},2149:{},2150:{},2151:{f:vs},2152:{},2154:{},2155:{},2156:{},2161:{},2162:{},2164:{},2165:{},2166:{},2167:{},2168:{},2169:{},2170:{},2171:{},2172:{f:Ol,r:12},2173:{f:hh,r:12},2174:{},2175:{},2180:{},2181:{},2182:{},2183:{},2184:{},2185:{},2186:{},2187:{},2188:{f:gs,r:12},2189:{},2190:{r:12},2191:{},2192:{},2194:{},2195:{},2196:{f:ll,r:12},2197:{},2198:{f:ih,r:12},2199:{},2200:{},2201:{},2202:{f:hl,r:12},2203:{f:vs},2204:{},2205:{},2206:{},2207:{},2211:{f:gf},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:{f:ws},4135:{},4146:{},4147:{},4148:{},4149:{},4154:{},4156:{},4157:{},4158:{},4159:{},4160:{},4161:{},4163:{},4164:{f:Fl},4165:{},4166:{},4168:{},4170:{},4171:{},4174:{},4175:{},4176:{},4177:{},4187:{},4188:{f:Sl},4189:{},4191:{},4192:{},4193:{},4194:{},4195:{},4196:{},4197:{},4198:{},4199:{},4200:{},0:{f:Lf},1:{},2:{f:Vl},3:{f:zl},4:{f:Wl},5:{f:Gl},7:{f:Xl},8:{},9:{f:nf},11:{},22:{f:ws},30:{f:Ff},31:{},32:{},33:{f:cl},36:{},37:{f:wf},50:{f:jl},62:{},52:{},67:{f:$f},68:{f:ws},69:{},86:{},126:{},127:{f:Ul},135:{},136:{},137:{},143:{f:Yl},145:{},148:{},149:{},150:{},169:{},171:{},188:{},191:{},192:{},194:{},195:{},214:{f:Kl},223:{},234:{},354:{},421:{},518:{f:Vd},521:{f:nf},536:{f:il},547:{f:nl},561:{},579:{f:Kf},1030:{f:Vd},1033:{f:nf},1091:{f:Yf},2157:{},2163:{},2177:{},2240:{},2241:{},2242:{},2243:{},2244:{},2245:{},2246:{},2247:{},2248:{},2249:{},2250:{},2251:{},2262:{r:12},101:{},102:{},105:{},106:{},107:{},109:{},112:{},114:{},29282:{}};function Jg(e,r,t,a){var n=r;if(isNaN(n))return;var i=a||(t||[]).length||0;var s=e.next(4);s._W(2,n);s._W(2,i);if(i>0&&va(t))e.push(t)}function qg(e,r,t,a){var n=a||(t||[]).length||0;if(n<=8224)return Jg(e,r,t,n);var i=r;if(isNaN(i))return;var s=t.parts||[],f=0;var l=0,o=0;while(o+(s[f]||8224)<=8224){o+=s[f]||8224;f++}var c=e.next(4);c._W(2,i);c._W(2,o);e.push(t.slice(l,l+o));l+=o;while(l=0&&l<65536)Jg(e,2,$l(t,a,l,f,s));else if(isNaN(l))Jg(e,5,Qg(t,a,36,"e"));else if(!isFinite(l))Jg(e,5,Qg(t,a,7,"e"));else Jg(e,3,Hl(t,a,l,f,s));return;case"b":;case"e":Jg(e,5,Qg(t,a,r.v,r.t));return;case"s":;case"str":Jg(e,4,eb(t,a,r.v==null?"":String(r.v).slice(0,255)));return;}Jg(e,1,Bl(null,t,a))}function ab(e,r,t,a,n){var i=r["!data"]!=null;var s=Qa(r["!ref"]||"A1"),f="",l=[];if(s.e.c>255||s.e.r>16383){if(a.WTF)throw new Error("Range "+(r["!ref"]||"A1")+" exceeds format limit A1:IV16384");s.e.c=Math.min(s.e.c,255);s.e.r=Math.min(s.e.c,16383)}var o=(((n||{}).Workbook||{}).WBProps||{}).date1904;var c=[],h=[];for(var u=s.s.c;u<=s.e.c;++u)l[u]=Va(u);for(var d=s.s.r;d<=s.e.r;++d){if(i)c=r["!data"][d]||[];f=Ba(d);for(u=s.s.c;u<=s.e.c;++u){var v=i?c[u]:r[l[u]+f];if(!v)continue;tb(e,v,d,u,a,o);if(v.c)h.push([v.c,d,u])}}rb(e,h)}function nb(e,r){var t=r||{};var a=Na();var n=0;for(var i=0;i255||d.e.r>=v){if(r.WTF)throw new Error("Range "+(i["!ref"]||"A1")+" exceeds format limit A1:IV16384");d.e.c=Math.min(d.e.c,255);d.e.r=Math.min(d.e.c,v-1)}Jg(a,2057,sf(t,16,r));Jg(a,13,ks(1));Jg(a,12,ks(100));Jg(a,15,bs(true));Jg(a,17,bs(false));Jg(a,16,Pn(.001));Jg(a,95,bs(true));Jg(a,42,bs(false));Jg(a,43,bs(false));Jg(a,130,ks(1));Jg(a,128,Jf([0,0]));Jg(a,131,bs(false));Jg(a,132,bs(false));if(o)vb(a,i["!cols"]);Jg(a,512,Mf(d,r));var p=(((t||{}).Workbook||{}).WBProps||{}).date1904;if(o)i["!links"]=[];for(var m=d.s.c;m<=d.e.c;++m)u[m]=Va(m);var g=[];var b=[];for(var w=d.s.r;w<=d.e.r;++w){if(l)b=i["!data"][w]||[];h=Ba(w);for(m=d.s.c;m<=d.e.c;++m){c=u[m]+h;var k=l?b[m]:i[c];if(!k)continue;pb(a,k,w,m,r,p);if(o&&k.l)i["!links"].push([c,k.l]);if(k.c)g.push([k.c,w,m])}}var T=f.CodeName||f.name||n;if(o)lb(a,g);else rb(a,g);if(o)Jg(a,574,yf((s.Views||[])[0]));if(o&&(i["!merges"]||[]).length)Jg(a,229,ml(i["!merges"]));if(o)db(a,i);Jg(a,442,Is(T,r));if(o)hb(a,i);Jg(a,10);return a.end()}function gb(e,r,t){var a=Na();var n=(e||{}).Workbook||{};var i=n.Sheets||[];var s=n.WBProps||{};var f=t.biff==8,l=t.biff==5;Jg(a,2057,sf(e,5,t));if(t.bookType=="xla")Jg(a,135);Jg(a,225,f?ks(1200):null);Jg(a,193,ps(2));if(l)Jg(a,191);if(l)Jg(a,192);Jg(a,226);Jg(a,92,of("SheetJS",t));Jg(a,66,ks(f?1200:1252));if(f)Jg(a,353,ks(0));if(f)Jg(a,448);Jg(a,317,Dl(e.SheetNames.length));if(f&&e.vbaraw)Jg(a,211);if(f&&e.vbaraw){var o=s.CodeName||"ThisWorkbook";Jg(a,442,Is(o,t))}Jg(a,156,ks(17));Jg(a,25,bs(false));Jg(a,18,bs(false));Jg(a,19,ks(0));if(f)Jg(a,431,bs(false));if(f)Jg(a,444,ks(0));Jg(a,61,Tf(t));Jg(a,64,bs(false));Jg(a,141,ks(0));Jg(a,34,bs(Im(e)=="true"));Jg(a,14,bs(true));if(f)Jg(a,439,bs(false));Jg(a,218,ks(0));ob(a,e,t);cb(a,e.SSF,t);ub(a,t);if(f)Jg(a,352,bs(false));var c=a.end();var h=Na();if(f)Jg(h,140,_l());if(f&&sb.length)Jg(h,235,fb());if(f&&t.Strings)qg(h,252,vf(t.Strings,t));Jg(h,10);var u=h.end();var d=Na();var v=0,p=0;for(p=0;p255){if(typeof console!="undefined"&&console.error)console.error("Worksheet '"+e.SheetNames[t]+"' extends beyond column IV (255). Data may be lost.")}}var i=r||{};switch(i.biff||2){case 8:;case 5:return bb(e,r);case 4:;case 3:;case 2:return nb(e,r);}throw new Error("invalid type "+i.bookType+" for BIFF")}function kb(e,r){var t=r||{};var a=t.dense!=null?t.dense:b;var n={};if(a)n["!data"]=[];e=Mr(e,"");var i=e.match(/");var s=e.match(/<\/table/i);var f=i.index,l=s&&s.index||e.length;var o=Nr(e.slice(f,l),/(:?]*>)/i,"");var c=-1,h=0,u=0,d=0;var v={s:{r:1e7,c:1e7},e:{r:0,c:0}};var p=[];for(f=0;f/i);for(l=0;l"))>-1)T=T.slice(A+1);for(var y=0;y")));d=C.colspan?+C.colspan:1;if((u=+C.rowspan)>1||d>1)p.push({s:{r:c,c:h},e:{r:c+(u||1)-1,c:h+d-1}});var _=C.t||C["data-t"]||"";if(!T.length){h+=d;continue}T=Rt(T);if(v.s.r>c)v.s.r=c;if(v.e.rh)v.s.c=h;if(v.e.ct||n[h].s.c>l)continue;if(n[h].e.r1)s.rowspan=o;if(c>1)s.colspan=c;if(a.editable)v=''+v+"";else if(d){s["data-t"]=d&&d.t||"z";if(d.v!=null)s["data-v"]=kt(d.v instanceof Date?d.v.toISOString():d.v);if(d.z!=null)s["data-z"]=d.z;if(d.l&&(d.l.Target||"#").charAt(0)!="#")v=''+v+""}s.id=(a.id||"sjs")+"-"+u; +i.push(Ut("td",v,s))}var p="";return p+i.join("")+""}var Ab='SheetJS Table Export';var yb="";function Eb(e,r){var t=Vr(e,"table");if(!t||t.length==0)throw new Error("Invalid HTML: could not find
");if(t.length==1){var a=tn(kb(t[0],r),r);a.bookType="html";return a}var n=Vk();t.forEach(function(e,t){$k(n,kb(e,r),"Sheet"+(t+1))});n.bookType="html";return n}function Cb(e,r,t){var a=[];return a.join("")+""}function _b(e,r){var t=r||{};var a=t.header!=null?t.header:Ab;var n=t.footer!=null?t.footer:yb;var i=[a];var s=Ya(e["!ref"]||"A1");i.push(Cb(e,s,t));if(e["!ref"])for(var f=s.s.r;f<=s.e.r;++f)i.push(Tb(e,s,f,t));i.push("
"+n);return i.join("")}function Sb(e,r,t){var a=r.rows;if(!a){throw"Unsupported origin when "+r.tagName+" is not a TABLE"}var n=t||{};var i=e["!data"]!=null;var s=0,f=0;if(n.origin!=null){if(typeof n.origin=="number")s=n.origin;else{var l=typeof n.origin=="string"?ja(n.origin):n.origin;s=l.r;f=l.c}}var o=Math.min(n.sheetRows||1e7,a.length);var c={s:{r:0,c:0},e:{r:s,c:f}};if(e["!ref"]){var h=Ya(e["!ref"]);c.s.r=Math.min(c.s.r,h.s.r);c.s.c=Math.min(c.s.c,h.s.c);c.e.r=Math.max(c.e.r,h.e.r);c.e.c=Math.max(c.e.c,h.e.c);if(s==-1)c.e.r=s=h.e.r+1}var u=[],d=0;var v=e["!rows"]||(e["!rows"]=[]);var p=0,m=0,g=0,b=0,w=0,k=0;if(!e["!cols"])e["!cols"]=[];for(;p1||k>1)u.push({s:{r:m+s,c:b+f},e:{r:m+s+(w||1)-1,c:b+f+(k||1)-1}});var S={t:"s",v:E};var x=y.getAttribute("data-t")||y.getAttribute("t")||"";if(E!=null){if(E.length==0)S.t=x||"z";else if(n.raw||E.trim().length==0||x=="s"){}else if(E==="TRUE")S={t:"b",v:true};else if(E==="FALSE")S={t:"b",v:false};else if(!isNaN(yr(E)))S={t:"n",v:yr(E)};else if(!isNaN(Rr(E).getDate())){S={t:"d",v:wr(E)};if(n.UTC)S.v=Dr(S.v);if(!n.cellDates)S={t:"n",v:dr(S.v)};S.z=n.dateNF||q[14]}}if(S.z===undefined&&C!=null)S.z=C;var O="",I=y.getElementsByTagName("A");if(I&&I.length)for(var R=0;R=o)e["!fullref"]=Za((c.e.r=a.length-p+m-1+s,c));return e}function xb(e,r){var t=r||{};var a={};if(t.dense)a["!data"]=[];return Sb(a,e,r)}function Ob(e,r){var t=tn(xb(e,r),r);return t}function Ib(e){var r="";var t=Rb(e);if(t)r=t(e).getPropertyValue("display");if(!r)r=e.style&&e.style.display;return r==="none"}function Rb(e){if(e.ownerDocument.defaultView&&typeof e.ownerDocument.defaultView.getComputedStyle==="function")return e.ownerDocument.defaultView.getComputedStyle;if(typeof getComputedStyle==="function")return getComputedStyle;return null}function Nb(e){var r=e.replace(/[\t\r\n]/g," ").trim().replace(/ +/g," ").replace(//g," ").replace(//g,function(e,r){return Array(parseInt(r,10)+1).join(" ")}).replace(/]*\/>/g,"\t").replace(//g,"\n");var t=vt(r.replace(/<[^<>]*>/g,""));return[t]}function Fb(e,r,t){var a=t||{};var n=zt(e);Ht.lastIndex=0;n=Pr(Mr(n,""));var i,s,f="",l="",o,c=0,h=-1,u=false,d="";while(i=Ht.exec(n)){switch(i[3]=i[3].replace(/_[\s\S]*$/,"")){case"number-style":;case"currency-style":;case"percentage-style":;case"date-style":;case"time-style":;case"text-style":if(i[1]==="/"){u=false;if(s["truncate-on-overflow"]=="false"){if(f.match(/h/))f=f.replace(/h+/,"[$&]");else if(f.match(/m/))f=f.replace(/m+/,"[$&]");else if(f.match(/s/))f=f.replace(/s+/,"[$&]")}a[s.name]=f;f=""}else if(i[0].charAt(i[0].length-2)!=="/"){u=true;f="";s=ct(i[0],false)}break;case"boolean-style":if(i[1]==="/"){u=false;a[s.name]="General";f=""}else if(i[0].charAt(i[0].length-2)!=="/"){u=true;f="";s=ct(i[0],false)}break;case"boolean":f+="General";break;case"text":if(i[1]==="/"){d=n.slice(h,Ht.lastIndex-i[0].length);if(d=="%"&&s[0]=="=0")f=a[o["apply-style-name"]]+";"+f;else console.error("ODS number format may be incorrect: "+o["condition"]);break;case"number":if(i[1]==="/")break;o=ct(i[0],false);l="";l+=Ar("0",+o["min-integer-digits"]||1);if(Et(o["grouping"]))l=ue(Ar("#",Math.max(0,4-l.length))+l);if(+o["min-decimal-places"]||+o["decimal-places"])l+=".";if(+o["min-decimal-places"])l+=Ar("0",+o["min-decimal-places"]||1);if(+o["decimal-places"]-(+o["min-decimal-places"]||0))l+=Ar("0",+o["decimal-places"]-(+o["min-decimal-places"]||0));f+=l;break;case"embedded-text":if(i[1]==="/"){if(c==0)f+='"'+n.slice(h,Ht.lastIndex-i[0].length).replace(/"/g,'""')+'"';else f=f.slice(0,c)+'"'+n.slice(h,Ht.lastIndex-i[0].length).replace(/"/g,'""')+'"'+f.slice(c)}else if(i[0].charAt(i[0].length-2)!=="/"){h=Ht.lastIndex;c=-+ct(i[0],false)["position"]||0}break;}}return a}function Db(e,r,t){var a=r||{};if(b!=null&&a.dense==null)a.dense=b;var n=zt(e);var i=[],s;var f;var l,o="",c=0;var h;var u;var d={},v=[];var p={};if(a.dense)p["!data"]=[];var m,g;var w={value:""};var k="",T=0,A,y="",E=0;var C=[],_=[];var S=-1,x=-1,O={s:{r:1e6,c:1e7},e:{r:0,c:0}};var I=0;var R=t||{},N={};var F=[],D={},P=0,L=0;var M=[],U=1,B=1;var W=[];var z={Names:[],WBProps:{}};var H={};var V=["",""];var $=[],X={};var G="",j=0;var K=false,Y=false;var Z=0;Ht.lastIndex=0;n=Pr(Mr(n,""));while(m=Ht.exec(n))switch(m[3]=m[3].replace(/_[\s\S]*$/,"")){case"table":;case"工作表":if(m[1]==="/"){if(O.e.c>=O.s.c&&O.e.r>=O.s.r)p["!ref"]=Za(O);else p["!ref"]="A1:A1";if(a.sheetRows>0&&a.sheetRows<=O.e.r){p["!fullref"]=p["!ref"];O.e.r=a.sheetRows-1;p["!ref"]=Za(O)}if(F.length)p["!merges"]=F;if(M.length)p["!rows"]=M;h.name=h["名称"]||h.name;if(typeof JSON!=="undefined")JSON.stringify(h);v.push(h.name);d[h.name]=p;Y=false}else if(m[0].charAt(m[0].length-2)!=="/"){h=ct(m[0],false);S=x=-1;O.s.r=O.s.c=1e7;O.e.r=O.e.c=0;p={};if(a.dense)p["!data"]=[];F=[];M=[];Y=true}break;case"table-row-group":if(m[1]==="/")--I;else++I;break;case"table-row":;case"行":if(m[1]==="/"){S+=U;U=1;break}u=ct(m[0],false);if(u["行号"])S=u["行号"]-1;else if(S==-1)S=0;U=+u["number-rows-repeated"]||1;if(U<10)for(Z=0;Z0)M[S+Z]={level:I};x=-1;break;case"covered-table-cell":if(m[1]!=="/")++x;if(a.sheetStubs){if(a.dense){if(!p["!data"][S])p["!data"][S]=[];p["!data"][S][x]={t:"z"}}else p[Ka({r:S,c:x})]={t:"z"}}k="";C=[];break;case"table-cell":;case"数据":if(m[0].charAt(m[0].length-2)==="/"){++x;w=ct(m[0],false);B=parseInt(w["number-columns-repeated"]||"1",10);g={t:"z",v:null};if(w.formula&&a.cellFormula!=false)g.f=hv(vt(w.formula));if(w["style-name"]&&N[w["style-name"]])g.z=N[w["style-name"]];if((w["数据类型"]||w["value-type"])=="string"){g.t="s";g.v=vt(w["string-value"]||"");if(a.dense){if(!p["!data"][S])p["!data"][S]=[];p["!data"][S][x]=g}else{p[Va(x)+Ba(S)]=g}}x+=B-1}else if(m[1]!=="/"){++x;k=y="";T=E=0;C=[];_=[];B=1;var J=U?S+U-1:S;if(x>O.e.c)O.e.c=x;if(xO.e.r)O.e.r=J;w=ct(m[0],false);$=[];X={};g={t:w["数据类型"]||w["value-type"],v:null};if(w["style-name"]&&N[w["style-name"]])g.z=N[w["style-name"]];if(a.cellFormula){if(w.formula)w.formula=vt(w.formula);if(w["number-matrix-columns-spanned"]&&w["number-matrix-rows-spanned"]){P=parseInt(w["number-matrix-rows-spanned"],10)||0;L=parseInt(w["number-matrix-columns-spanned"],10)||0;D={s:{r:S,c:x},e:{r:S+P-1,c:x+L-1}};g.F=Za(D);W.push([D,g.F])}if(w.formula)g.f=hv(w.formula);else for(Z=0;Z=W[Z][0].s.r&&S<=W[Z][0].e.r)if(x>=W[Z][0].s.c&&x<=W[Z][0].e.c)g.F=W[Z][1]}if(w["number-columns-spanned"]||w["number-rows-spanned"]){P=parseInt(w["number-rows-spanned"],10)||0;L=parseInt(w["number-columns-spanned"],10)||0;D={s:{r:S,c:x},e:{r:S+P-1,c:x+L-1}};F.push(D)}if(w["number-columns-repeated"])B=parseInt(w["number-columns-repeated"],10);switch(g.t){case"boolean":g.t="b";g.v=Et(w["boolean-value"])||+w["boolean-value"]>=1;break;case"float":g.t="n";g.v=parseFloat(w.value);if(a.cellDates&&g.z&&Le(g.z)){g.v=vr(g.v+(z.WBProps.date1904?1462:0));g.t=typeof g.v=="number"?"n":"d"}break;case"percentage":g.t="n";g.v=parseFloat(w.value);break;case"currency":g.t="n";g.v=parseFloat(w.value);break;case"date":g.t="d";g.v=wr(w["date-value"],z.WBProps.date1904);if(!a.cellDates){g.t="n";g.v=dr(g.v,z.WBProps.date1904)}if(!g.z)g.z="m/d/yy";break;case"time":g.t="n";g.v=pr(w["time-value"])/86400;if(a.cellDates){g.v=vr(g.v);g.t=typeof g.v=="number"?"n":"d"}if(!g.z)g.z="HH:MM:SS";break;case"number":g.t="n";g.v=parseFloat(w["数据数值"]);break;default:if(g.t==="string"||g.t==="text"||!g.t){g.t="s";if(w["string-value"]!=null){k=vt(w["string-value"]);C=[]}}else throw new Error("Unsupported value type "+g.t);}}else{K=false;if(g.t==="s"){g.v=k||"";if(C.length)g.R=C;K=T==0}if(H.Target)g.l=H;if($.length>0){g.c=$;$=[]}if(k&&a.cellText!==false)g.w=k;if(K){g.t="z";delete g.v}if(!K||a.sheetStubs){if(!(a.sheetRows&&a.sheetRows<=S)){for(var q=0;q0)p["!data"][S+q][x+B]=Tr(g)}else{p[Ka({r:S+q,c:x})]=g;while(--B>0)p[Ka({r:S+q,c:x+B})]=Tr(g)}if(O.e.c<=x)O.e.c=x}}}B=parseInt(w["number-columns-repeated"]||"1",10);x+=B-1;B=0;g={};k="";C=[]}H={};break;case"document":;case"document-content":;case"电子表格文档":;case"spreadsheet":;case"主体":;case"scripts":;case"styles":;case"font-face-decls":;case"master-styles":if(m[1]==="/"){if((s=i.pop())[0]!==m[3])throw"Bad state: "+s}else if(m[0].charAt(m[0].length-2)!=="/")i.push([m[3],true]);break;case"annotation":if(m[1]==="/"){if((s=i.pop())[0]!==m[3])throw"Bad state: "+s;X.t=k;if(C.length)X.R=C;X.a=G;$.push(X);k=y;T=E;C=_}else if(m[0].charAt(m[0].length-2)!=="/"){i.push([m[3],false]);var Q=ct(m[0],true);if(!(Q["display"]&&Et(Q["display"])))$.hidden=true;y=k;E=T;_=C;k="";T=0;C=[]}G="";j=0;break;case"creator":if(m[1]==="/"){G=n.slice(j,m.index)}else j=m.index+m[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":;case"chart":if(m[1]==="/"){if((s=i.pop())[0]!==m[3])throw"Bad state: "+s}else if(m[0].charAt(m[0].length-2)!=="/")i.push([m[3],false]);k="";T=0;C=[];break;case"scientific-number":;case"currency-symbol":;case"fill-character":break;case"text-style":;case"boolean-style":;case"number-style":;case"currency-style":;case"percentage-style":;case"date-style":;case"time-style":if(m[1]==="/"){var ee=Ht.lastIndex;Fb(n.slice(l,Ht.lastIndex),r,R);Ht.lastIndex=ee}else if(m[0].charAt(m[0].length-2)!=="/"){l=Ht.lastIndex-m[0].length}break;case"script":break;case"libraries":break;case"automatic-styles":break;case"default-style":;case"page-layout":break;case"style":{var re=ct(m[0],false);if(re["family"]=="table-cell"&&R[re["data-style-name"]])N[re["name"]]=R[re["data-style-name"]]}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":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":break;case"boolean":break;case"text":if(m[0].slice(-2)==="/>")break;else if(m[1]==="/")switch(i[i.length-1][0]){case"number-style":;case"date-style":;case"time-style":o+=n.slice(c,m.index);break;}else c=m.index+m[0].length;break;case"named-range":f=ct(m[0],false);V=dv(f["cell-range-address"]);var te={Name:f.name,Ref:V[0]+"!"+V[1]};if(Y)te.Sheet=v.length;z.Names.push(te);break;case"text-content":break;case"text-properties":break;case"embedded-text":break;case"body":;case"电子表格":break;case"forms":break;case"table-column":break;case"table-header-rows":break;case"table-rows":break;case"table-column-group":break;case"table-header-columns":break;case"table-columns":break;case"null-date":f=ct(m[0],false);switch(f["date-value"]){case"1904-01-01":z.WBProps.date1904=true;break;}break;case"graphic-properties":break;case"calculation-settings":break;case"named-expressions":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(["master-styles"].indexOf(i[i.length-1][0])>-1)break;if(m[1]==="/"&&(!w||!w["string-value"])){var ae=Nb(n.slice(T,m.index),A);k=(k.length>0?k+"\n":"")+ae[0]}else if(m[0].slice(-2)=="/>"){k+="\n"}else{A=ct(m[0],false);T=m.index+m[0].length}break;case"s":break;case"database-range":if(m[1]==="/")break;try{V=dv(ct(m[0])["target-range-address"]);d[V[0]]["!autofilter"]={ref:V[1]}}catch(ne){}break;case"date":break;case"object":break;case"title":;case"标题":break;case"desc":break;case"binary-data":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"filter-set-item":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"print-date":;case"generator":;case"document-statistic":;case"user-defined":;case"editing-duration":;case"editing-cycles":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":if(m[1]!=="/"){H=ct(m[0],false);if(!H.href)break;H.Target=vt(H.href);delete H.href;if(H.Target.charAt(0)=="#"&&H.Target.indexOf(".")>-1){V=dv(H.Target.slice(1));H.Target="#"+V[0]+"!"+V[1]}else if(H.Target.match(/^\.\.[\\\/]/))H.Target=H.Target.slice(3)}break;case"table-protection":break;case"data-pilot-grand-total":break;case"office-document-common-attrs":break;default:switch(m[2]){case"dc:":;case"calcext:":;case"loext:":;case"ooo:":;case"chartooo:":;case"draw:":;case"style:":;case"chart:":;case"form:":;case"uof:":;case"表:":;case"字:":break;default:if(a.WTF)throw new Error(m);};}var ie={Sheets:d,SheetNames:v,Workbook:z};if(a.bookSheets)delete ie.Sheets;return ie}function Pb(e,r){r=r||{};if(jr(e,"META-INF/manifest.xml"))yi(Yr(e,"META-INF/manifest.xml"),r);var t=Zr(e,"styles.xml");var a=t&&Fb(Ot(t),r);var n=Zr(e,"content.xml");if(!n)throw new Error("Missing content.xml in ODS / UOF file");var i=Db(Ot(n),r,a);if(jr(e,"meta.xml"))i.Props=Ii(Yr(e,"meta.xml"));i.bookType="ods";return i}function Lb(e,r){var t=Db(e,r);t.bookType="fods";return t}var Mb=function(){var e=["",'',"",'',"",'',"",""].join("");var r=""+e+"";return function t(){return at+r}}();function Ub(e,r){var t="number",a="",n={"style:name":r},i="",s=0;e=e.replace(/"[$]"/g,"$");e:{if(e.indexOf(";")>-1){console.error("Unsupported ODS Style Map exported. Using first branch of "+e);e=e.slice(0,e.indexOf(";"))}if(e=="@"){t="text";a="";break e}if(e.indexOf(/\$/)>-1){t="currency"}if(e[s]=='"'){i="";while(e[++s]!='"'||e[++s]=='"')i+=e[s];--s;if(e[s+1]=="*"){s++;a+=""+gt(i.replace(/""/g,'"'))+""}else{a+=""+gt(i.replace(/""/g,'"'))+""}e=e.slice(s+1);s=0}var f=e.match(/# (\?+)\/(\?+)/);if(f){a+=Ut("number:fraction",null,{"number:min-integer-digits":0,"number:min-numerator-digits":f[1].length,"number:max-denominator-value":Math.max(+f[1].replace(/./g,"9"),+f[2].replace(/./g,"9"))});break e}if(f=e.match(/# (\?+)\/(\d+)/)){a+=Ut("number:fraction",null,{"number:min-integer-digits":0,"number:min-numerator-digits":f[1].length,"number:denominator-value":+f[2]});break e}if(f=e.match(/\b(\d+)(|\.\d+)%/)){t="percentage";a+=Ut("number:number",null,{"number:decimal-places":f[2]&&f.length-1||0,"number:min-decimal-places":f[2]&&f.length-1||0,"number:min-integer-digits":f[1].length})+"%";break e}var l=false;if(["y","m","d"].indexOf(e[0])>-1){t="date";r:for(;s";break;case"yyy":;case"yyyy":a+='';break;case"mmmmm":console.error("ODS has no equivalent of format |mmmmm|");case"m":;case"mm":;case"mmm":;case"mmmm":a+='';break;case"d":;case"dd":a+='';break;case"ddd":;case"dddd":a+='';break;}break;case'"':while(e[++s]!='"'||e[++s]=='"')i+=e[s];--s;a+=""+gt(i.slice(1).replace(/""/g,'"'))+"";break;case"\\":i=e[++s];a+=""+gt(i)+"";break;case"/":;case":":a+=""+gt(i)+"";break;default:console.error("unrecognized character "+i+" in ODF format "+e);}if(!l)break e;e=e.slice(s+1);s=0}if(e.match(/^\[?[hms]/)){if(t=="number")t="time";if(e.match(/\[/)){e=e.replace(/[\[\]]/g,"");n["number:truncate-on-overflow"]="false"}for(;s';break;case"m":;case"mm":a+='';break;case"s":;case"ss":if(e[s+1]==".")do{i+=e[s+1];++s}while(e[s+1]=="0");a+='";break;}break;case'"':while(e[++s]!='"'||e[++s]=='"')i+=e[s];--s;a+=""+gt(i.slice(1).replace(/""/g,'"'))+"";break;case"/":;case":":a+=""+gt(i)+"";break;case"a":if(e.slice(s,s+3).toLowerCase()=="a/p"){a+="";s+=2;break}if(e.slice(s,s+5).toLowerCase()=="am/pm"){a+="";s+=4;break};default:console.error("unrecognized character "+i+" in ODF format "+e);}break e}if(e.indexOf(/\$/)>-1){t="currency"}if(e[0]=="$"){a+='$';e=e.slice(1);s=0}s=0;if(e[s]=='"'){while(e[++s]!='"'||e[++s]=='"')i+=e[s];--s;if(e[s+1]=="*"){s++;a+=""+gt(i.replace(/""/g,'"'))+""}else{a+=""+gt(i.replace(/""/g,'"'))+""}e=e.slice(s+1);s=0}var c=e.match(/([#0][0#,]*)(\.[0#]*|)(E[+]?0*|)/i);if(!c||!c[0])console.error("Could not find numeric part of "+e);else{var h=c[1].replace(/,/g,"");a+="-1?' number:grouping="true"':"")+(c[2]&&' number:decimal-places="'+(c[2].length-1)+'"'||' number:decimal-places="0"')+(c[3]&&c[3].indexOf("+")>-1?' number:forced-exponent-sign="true"':"")+(c[3]?' number:min-exponent-digits="'+c[3].match(/0+/)[0].length+'"':"")+">"+"";s=c.index+c[0].length}if(e[s]=='"'){i="";while(e[++s]!='"'||e[++s]=='"')i+=e[s];--s;a+=""+gt(i.replace(/""/g,'"'))+""}}if(!a){console.error("Could not generate ODS number format for |"+e+"|");return""}return Ut("number:"+t+"-style",a,n)}function Bb(e,r,t){var a=[];for(var n=0;n\n"+a.map(function(e){var r=(t==-1?"$":"")+vv(e.Ref);return" "+Ut("table:named-range",null,{"table:name":e.Name,"table:cell-range-address":r,"table:base-cell-address":r.replace(/[\.][^\.]*$/,".$A$1")})}).join("\n")+"\n \n"}var Wb=function(){var e=function(e,r){return gt(e).replace(/ +/g,function(e){return''}).replace(/\t/g,"").replace(/\n/g,r?"":"").replace(/^ /,"").replace(/ $/,"")};var r=" \n";var t=function(t,a,n,i,s,f){var l=[];l.push(' \n');var o=0,c=0,h=Ya(t["!ref"]||"A1");var u=t["!merges"]||[],d=0;var v=t["!data"]!=null;if(t["!cols"]){for(c=0;c<=h.e.c;++c)l.push(" \n")}var p="",m=t["!rows"]||[];for(o=0;o\n")}for(;o<=h.e.r;++o){p=m[o]?' table:style-name="ro'+m[o].ods+'"':"";l.push(" \n");for(c=0;cc)continue;if(u[d].s.r>o)continue;if(u[d].e.c\n");continue}var k=Ka({r:o,c:c}),T=v?(t["!data"][o]||[])[c]:t[k];if(T&&T.f){b["table:formula"]=gt(uv(T.f));if(T.F){if(T.F.slice(0,k.length)==k){var A=Ya(T.F);b["table:number-matrix-columns-spanned"]=A.e.c-A.s.c+1;b["table:number-matrix-rows-spanned"]=A.e.r-A.s.r+1}}}if(!T){l.push(r);continue}switch(T.t){case"b":w=T.v?"TRUE":"FALSE";b["office:value-type"]="boolean";b["office:boolean-value"]=T.v?"true":"false";break;case"n":w=T.w||String(T.v||0);b["office:value-type"]="float";b["office:value"]=T.v||0;break;case"s":;case"str":w=T.v==null?"":T.v;b["office:value-type"]="string";break;case"d":w=T.w||wr(T.v,f).toISOString();b["office:value-type"]="date";b["office:date-value"]=wr(T.v,f).toISOString();b["table:style-name"]="ce1";break;default:l.push(r);continue;}var y=e(w);if(T.l&&T.l.Target){var E=T.l.Target;E=E.charAt(0)=="#"?"#"+vv(E.slice(1)):E;if(E.charAt(0)!="#"&&!E.match(/^\w+:/))E="../"+E;y=Ut("text:a",y,{"xlink:href":E.replace(/&/g,"&")})}if(s[T.z])b["table:style-name"]="ce"+s[T.z].slice(1);var C=Ut("text:p",y,{});if(T.c){var _="",S="",x={};for(var O=0;O"+e(T.c[O].t)+""}if(!T.c.hidden)x["office:display"]=true;C=Ut("office:annotation",S,x)+C}l.push(" "+Ut("table:table-cell",C,b)+"\n")}l.push(" \n")}if((a.Workbook||{}).Names)l.push(Bb(a.Workbook.Names,a.SheetNames,n));l.push(" \n");return l.join("")};var a=function(e,r){e.push(" \n");var t=0;r.SheetNames.map(function(e){return r.Sheets[e]}).forEach(function(r){if(!r)return;if(r["!cols"]){for(var a=0;a\n');e.push(' \n');e.push(" \n");++t}}});var a=0;r.SheetNames.map(function(e){return r.Sheets[e]}).forEach(function(r){if(!r)return;if(r["!rows"]){for(var t=0;t\n');e.push(' \n');e.push(" \n");++a}}});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");var n={};var i=69;r.SheetNames.map(function(e){return r.Sheets[e]}).forEach(function(r){if(!r)return;var t=r["!data"]!=null;if(!r["!ref"])return;var a=Ya(r["!ref"]);for(var s=0;s<=a.e.r;++s)for(var f=0;f<=a.e.c;++f){var l=t?(r["!data"][s]||[])[f]:r[Ka({r:s,c:f})];if(!l||!l.z||l.z.toLowerCase()=="general")continue;if(!n[l.z]){var o=Ub(l.z,"N"+i);if(o){n[l.z]="N"+i;++i;e.push(o+"\n")}}}});e.push(' \n');ir(n).forEach(function(r){e.push('\n')});e.push(" \n");return n};return function n(e,r){var n=[at];var i=Mt({"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=Mt({"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");n.push(xi().replace(/]*?>/,"").replace(/<\/office:document-meta>/,"")+"\n")}else n.push("\n");var f=a(n,e);n.push(" \n");n.push(" \n");if(((e.Workbook||{}).WBProps||{}).date1904)n.push(' \n \n \n');for(var l=0;l!=e.SheetNames.length;++l)n.push(t(e.Sheets[e.SheetNames[l]],e,l,r,f,((e.Workbook||{}).WBProps||{}).date1904));if((e.Workbook||{}).Names)n.push(Bb(e.Workbook.Names,e.SheetNames,-1));n.push(" \n");n.push(" \n");if(r.bookType=="fods")n.push("");else n.push("");return n.join("")}}();function zb(e,r){if(r.bookType=="fods")return Wb(e,r);var t=et();var a="";var n=[];var i=[];a="mimetype";Qr(t,a,"application/vnd.oasis.opendocument.spreadsheet");a="content.xml";Qr(t,a,Wb(e,r));n.push([a,"text/xml"]);i.push([a,"ContentFile"]);a="styles.xml";Qr(t,a,Mb(e,r));n.push([a,"text/xml"]);i.push([a,"StylesFile"]);a="meta.xml";Qr(t,a,at+xi());n.push([a,"text/xml"]);i.push([a,"MetadataFile"]);a="manifest.rdf";Qr(t,a,Si(i));n.push([a,"application/rdf+xml"]);a="META-INF/manifest.xml";Qr(t,a,Ei(n));return t}var Hb=function(){try{if(typeof Uint8Array=="undefined")return"slice";if(typeof Uint8Array.prototype.subarray=="undefined")return"slice";if(typeof Buffer!=="undefined"){if(typeof Buffer.prototype.subarray=="undefined")return"slice";if((typeof Buffer.from=="function"?Buffer.from([72,62]):new Buffer([72,62]))instanceof Uint8Array)return"subarray";return"slice"}return"subarray"}catch(e){return"slice"}}();function Vb(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function $b(e){return typeof TextDecoder!="undefined"?(new TextDecoder).decode(e):Ot(N(e))}function Xb(e){return typeof TextEncoder!="undefined"?(new TextEncoder).encode(e):I(It(e))}function Gb(e){var r=0;for(var t=0;t>1&1431655765;e=(e&858993459)+(e>>2&858993459);return(e+(e>>4)&252645135)*16843009>>>24}function Kb(e,r){var t=(e[r+15]&127)<<7|e[r+14]>>1;var a=e[r+14]&1;for(var n=r+13;n>=r;--n)a=a*256+e[n];return(e[r+15]&128?-a:a)*Math.pow(10,t-6176)}function Yb(e,r,t){var a=Math.floor(t==0?0:Math.LOG10E*Math.log(Math.abs(t)))+6176-16;var n=t/Math.pow(10,a-6176);e[r+15]|=a>>7;e[r+14]|=(a&127)<<1;for(var i=0;n>=1;++i,n/=256)e[r+i]=n&255;e[r+15]|=t>=0?0:128}function Zb(e,r){var t=r.l;var a=e[t]&127;e:if(e[t++]>=128){a|=(e[t]&127)<<7;if(e[t++]<128)break e;a|=(e[t]&127)<<14;if(e[t++]<128)break e;a|=(e[t]&127)<<21;if(e[t++]<128)break e;a+=(e[t]&127)*Math.pow(2,28);++t;if(e[t++]<128)break e;a+=(e[t]&127)*Math.pow(2,35);++t;if(e[t++]<128)break e;a+=(e[t]&127)*Math.pow(2,42);++t;if(e[t++]<128)break e}r.l=t;return a}function Jb(e){var r=new Uint8Array(7);r[0]=e&127;var t=1;e:if(e>127){r[t-1]|=128;r[t]=e>>7&127;++t;if(e<=16383)break e;r[t-1]|=128;r[t]=e>>14&127;++t;if(e<=2097151)break e;r[t-1]|=128;r[t]=e>>21&127;++t;if(e<=268435455)break e;r[t-1]|=128;r[t]=e/256>>>21&127;++t;if(e<=34359738367)break e;r[t-1]|=128;r[t]=e/65536>>>21&127;++t;if(e<=4398046511103)break e;r[t-1]|=128;r[t]=e/16777216>>>21&127;++t}return r[Hb](0,t)}function qb(e){var r={l:0};var t=[];while(r.l=128){t|=(e[r]&127)<<7;if(e[r++]<128)break e;t|=(e[r]&127)<<14;if(e[r++]<128)break e;t|=(e[r]&127)<<21;if(e[r++]<128)break e;t|=(e[r]&127)<<28;a=e[r]>>4&7;if(e[r++]<128)break e;a|=(e[r]&127)<<3;if(e[r++]<128)break e;a|=(e[r]&127)<<10;if(e[r++]<128)break e;a|=(e[r]&127)<<17;if(e[r++]<128)break e;a|=(e[r]&127)<<24;if(e[r++]<128)break e;a|=(e[r]&127)<<31}return[t>>>0,a>>>0]}function tw(e){var r=[],t={l:0};while(t.l=128);s=e[Hb](t.l,f);t.l=f}break;case 1:{s=e[Hb](f,f+8);t.l=f+8}break;case 2:{var l=Zb(e,t);s=e[Hb](t.l,t.l+l);t.l+=l}break;case 5:{s=e[Hb](f,f+4);t.l=f+4}break;default:throw new Error("PB Type ".concat(i," for Field ").concat(n," at offset ").concat(a));}var o={data:s,type:i};if(r[n]==null)r[n]=[];r[n].push(o)}return r}function aw(e){var r=[];e.forEach(function(e,t){if(t==0)return;e.forEach(function(e){if(!e.data)return;r.push(Jb(t*8+e.type));if(e.type==2)r.push(Jb(e.data.length));r.push(e.data)})});return Gb(r)}function nw(e,r){return(e==null?void 0:e.map(function(e){return r(e.data)}))||[]}function iw(e){var r;var t=[],a={l:0};while(a.l>>0>0;t.push(s)}return t}function sw(e){var r=[];e.forEach(function(e){var t=[[],[{data:Jb(e.id),type:0}],[]];if(e.merge!=null)t[3]=[{data:Jb(+!!e.merge),type:0}];var a=[];e.messages.forEach(function(e){a.push(e.data);e.meta[3]=[{type:0,data:Jb(e.data.length)}];t[2].push({data:aw(e.meta),type:2})});var n=aw(t);r.push(Jb(n.length));r.push(n);a.forEach(function(e){return r.push(e)})});return Gb(r)}function fw(e,r){if(e!=0)throw new Error("Unexpected Snappy chunk type ".concat(e));var t={l:0};var a=Zb(r,t);var n=[];var i=t.l;while(i>2;if(f<60)++f;else{var l=f-59;f=r[i];if(l>1)f|=r[i+1]<<8;if(l>2)f|=r[i+2]<<16;if(l>3)f|=r[i+3]<<24;f>>>=0;f++;i+=l}n.push(r[Hb](i,i+f));i+=f;continue}else{var o=0,c=0;if(s==1){c=(r[i]>>2&7)+4;o=(r[i++]&224)<<3;o|=r[i++]}else{c=(r[i++]>>2)+1;if(s==2){o=r[i]|r[i+1]<<8;i+=2}else{o=(r[i]|r[i+1]<<8|r[i+2]<<16|r[i+3]<<24)>>>0;i+=4}}if(o==0)throw new Error("Invalid offset 0");var h=n.length-1,u=o;while(h>=0&&u>=n[h].length){u-=n[h].length;--h}if(h<0){if(u==0)u=n[h=0].length;else throw new Error("Invalid offset beyond length")}if(c0){n.push(n[h][Hb](n[h].length-u));c-=u}++h;while(c>=n[h].length){n.push(n[h]);c-=n[h].length;++h}if(c)n.push(n[h][Hb](0,c))}if(n.length>25)n=[Gb(n)]}}var d=0;for(var v=0;v>8&255]))}else if(a<=16777216){s+=4;r.push(new Uint8Array([248,a-1&255,a-1>>8&255,a-1>>16&255]))}else if(a<=4294967296){s+=5;r.push(new Uint8Array([252,a-1&255,a-1>>8&255,a-1>>16&255,a-1>>>24&255]))}r.push(e[Hb](t,t+a));s+=a;n[0]=0;n[1]=s&255;n[2]=s>>8&255;n[3]=s>>16&255;t+=a}return Gb(r)}var cw=function(){return{sst:[],rsst:[],ofmt:[],nfmt:[],fmla:[],ferr:[],cmnt:[]}};function hw(e,r,t,a,n){var i,s,f,l;var o=r&255,c=r>>8;var h=c>=5?n:a;e:if(t&(c>4?8:4)&&e.t=="n"&&o==7){var u=((i=h[7])==null?void 0:i[0])?ew(h[7][0].data):-1;if(u==-1)break e;var d=((s=h[15])==null?void 0:s[0])?ew(h[15][0].data):-1;var v=((f=h[16])==null?void 0:f[0])?ew(h[16][0].data):-1;var p=((l=h[40])==null?void 0:l[0])?ew(h[40][0].data):-1;var m=e.v,g=m;r:if(p){if(m==0){d=v=2;break r}if(m>=604800)d=1;else if(m>=86400)d=2;else if(m>=3600)d=4;else if(m>=60)d=8;else if(m>=1)d=16;else d=32;if(Math.floor(m)!=m)v=32;else if(m%60)v=16;else if(m%3600)v=8;else if(m%86400)v=4;else if(m%604800)v=2;if(v=2){g=m/86400;if(v>2){g|=0;m-=86400*g}w.push('d"d"');b.push(g+(u==2?" day"+(g==1?"":"s"):u==1?"d":""))}if(d<=4&&v>=4){g=m/3600;if(v>4){g|=0;m-=3600*g}w.push((d>=4?"[h]":"h")+'"h"');b.push(g+(u==2?" hour"+(g==1?"":"s"):u==1?"h":""))}if(d<=8&&v>=8){g=m/60;if(v>8){g|=0;m-=60*g}w.push((d>=8?"[m]":"m")+'"m"');if(u==0)b.push((d==8&&v==8||g>=10?"":"0")+g);else b.push(g+(u==2?" minute"+(g==1?"":"s"):u==1?"m":""))}if(d<=16&&v>=16){g=m;if(v>16){g|=0;m-=g}w.push((d>=16?"[s]":"s")+'"s"');if(u==0)b.push((v==16&&d==16||g>=10?"":"0")+g);else b.push(g+(u==2?" second"+(g==1?"":"s"):u==1?"s":""))}if(v>=32){g=Math.round(1e3*m);if(d<32)w.push('.000"ms"');if(u==0)b.push((g>=100?"":g>=10?"0":"00")+g);else b.push(g+(u==2?" millisecond"+(g==1?"":"s"):u==1?"ms":""))}e.w=b.join(u==0?":":" ");e.z=w.join(u==0?'":"':" ");if(u==0)e.w=e.w.replace(/:(\d\d\d)$/,".$1")}}function uw(e,r,t,a){var n=Vb(e);var i=n.getUint32(4,true);var s=-1,f=-1,l=-1,o=NaN,c=0,h=new Date(Date.UTC(2001,0,1));var u=t>1?12:8;if(i&2){l=n.getUint32(u,true);u+=4}u+=jb(i&(t>1?3468:396))*4;if(i&512){s=n.getUint32(u,true);u+=4}u+=jb(i&(t>1?12288:4096))*4;if(i&16){f=n.getUint32(u,true);u+=4}if(i&32){o=n.getFloat64(u,true);u+=8}if(i&64){h.setTime(h.getTime()+(c=n.getFloat64(u,true))*1e3);u+=8}if(t>1){i=n.getUint32(8,true)>>>16;if(i&255){if(l==-1)l=n.getUint32(u,true);u+=4}}var d;var v=e[t>=4?1:2];switch(v){case 0:return void 0;case 2:d={t:"n",v:o};break;case 3:d={t:"s",v:r.sst[f]};break;case 5:{if(a==null?void 0:a.cellDates)d={t:"d",v:h};else d={t:"n",v:c/86400+35430,z:q[14]}}break;case 6:d={t:"b",v:o>0};break;case 7:d={t:"n",v:o};break;case 8:d={t:"e",v:0};break;case 9:{if(s>-1){var p=r.rsst[s];d={t:"s",v:p.v};if(p.l)d.l={Target:p.l}}else throw new Error("Unsupported cell type ".concat(e[Hb](0,4)))}break;default:throw new Error("Unsupported cell type ".concat(e[Hb](0,4)));}if(l>-1)hw(d,v|t<<8,i,r.ofmt[l],r.nfmt[l]);if(v==7)d.v/=86400;return d}function dw(e,r,t){var a=Vb(e);var n=a.getUint32(4,true);var i=a.getUint32(8,true);var s=12;var f=-1,l=-1,o=-1,c=NaN,h=NaN,u=0,d=new Date(Date.UTC(2001,0,1)),v=-1,p=-1;if(i&1){c=Kb(e,s);s+=16}if(i&2){h=a.getFloat64(s,true);s+=8}if(i&4){d.setTime(d.getTime()+(u=a.getFloat64(s,true))*1e3);s+=8}if(i&8){l=a.getUint32(s,true);s+=4}if(i&16){f=a.getUint32(s,true);s+=4}s+=jb(i&480)*4;if(i&512){p=a.getUint32(s,true);s+=4}s+=jb(i&1024)*4;if(i&2048){v=a.getUint32(s,true);s+=4}var m;var g=e[1];switch(g){case 0:m={t:"z"};break;case 2:m={t:"n",v:c};break;case 3:m={t:"s",v:r.sst[l]};break;case 5:{if(t==null?void 0:t.cellDates)m={t:"d",v:d};else m={t:"n",v:u/86400+35430,z:q[14]}}break;case 6:m={t:"b",v:h>0};break;case 7:m={t:"n",v:h};break;case 8:m={t:"e",v:0};break;case 9:{if(f>-1){var b=r.rsst[f];m={t:"s",v:b.v};if(b.l)m.l={Target:b.l}}else throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(i&31," : ").concat(e[Hb](0,4)))}break;case 10:m={t:"n",v:c};break;default:throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(i&31," : ").concat(e[Hb](0,4)));}s+=jb(i&4096)*4;if(i&516096){if(o==-1)o=a.getUint32(s,true);s+=4}if(i&524288){var w=a.getUint32(s,true);s+=4;if(r.cmnt[w])m.c=Cw(r.cmnt[w])}if(o>-1)hw(m,g|5<<8,i>>13,r.ofmt[o],r.nfmt[o]);if(g==7)m.v/=86400;return m}function vw(e,r){var t=new Uint8Array(32),a=Vb(t),n=12,i=0;t[0]=5;switch(e.t){case"n":if(e.z&&Le(e.z)){t[1]=5;a.setFloat64(n,(vr(e.v+1462).getTime()-Date.UTC(2001,0,1))/1e3,true);i|=4;n+=8;break}else{t[1]=2;Yb(t,n,e.v);i|=1;n+=16}break;case"b":t[1]=6;a.setFloat64(n,e.v?1:0,true);i|=2;n+=8;break;case"s":{var s=e.v==null?"":String(e.v);if(e.l){var f=r.rsst.findIndex(function(r){var t;return r.v==s&&r.l==((t=e.l)==null?void 0:t.Target)});if(f==-1)r.rsst[f=r.rsst.length]={v:s,l:e.l.Target};t[1]=9;a.setUint32(n,f,true);i|=16;n+=4}else{var l=r.sst.indexOf(s);if(l==-1)r.sst[l=r.sst.length]=s;t[1]=3;a.setUint32(n,l,true);i|=8;n+=4}}break;case"d":t[1]=5;a.setFloat64(n,(e.v.getTime()-Date.UTC(2001,0,1))/1e3,true);i|=4;n+=8;break;case"z":t[1]=0;break;default:throw"unsupported cell type "+e.t;}if(e.c){r.cmnt.push(_w(e.c));a.setUint32(n,r.cmnt.length-1,true);i|=524288;n+=4}a.setUint32(8,i,true);return t[Hb](0,n)}function pw(e,r){var t=new Uint8Array(32),a=Vb(t),n=12,i=0,s="";t[0]=4;switch(e.t){case"n":break;case"b":break;case"s":{s=e.v==null?"":String(e.v);if(e.l){var f=r.rsst.findIndex(function(r){var t;return r.v==s&&r.l==((t=e.l)==null?void 0:t.Target)});if(f==-1)r.rsst[f=r.rsst.length]={v:s,l:e.l.Target};t[1]=9;a.setUint32(n,f,true);i|=512;n+=4}else{}}break;case"d":break;case"e":break;case"z":break;default:throw"unsupported cell type "+e.t;}if(e.c){a.setUint32(n,r.cmnt.length-1,true);i|=4096;n+=4}switch(e.t){case"n":t[1]=2;a.setFloat64(n,e.v,true);i|=32;n+=8;break;case"b":t[1]=6;a.setFloat64(n,e.v?1:0,true);i|=32;n+=8;break;case"s":{s=e.v==null?"":String(e.v);if(e.l){}else{var l=r.sst.indexOf(s);if(l==-1)r.sst[l=r.sst.length]=s;t[1]=3;a.setUint32(n,l,true);i|=16;n+=4}}break;case"d":t[1]=5;a.setFloat64(n,(e.v.getTime()-Date.UTC(2001,0,1))/1e3,true);i|=64;n+=8;break;case"z":t[1]=0;break;default:throw"unsupported cell type "+e.t;}a.setUint32(8,i,true);return t[Hb](0,n)}function mw(e,r,t){switch(e[0]){case 0:;case 1:;case 2:;case 3:;case 4:return uw(e,r,e[0],t);case 5:return dw(e,r,t);default:throw new Error("Unsupported payload version ".concat(e[0]));}}function gw(e){var r=tw(e);return ew(r[1][0].data)}function bw(e){return aw([[],[{type:0,data:Jb(e)}]])}function ww(e,r){var t;var a=((t=e.messages[0].meta[5])==null?void 0:t[0])?qb(e.messages[0].meta[5][0].data):[];var n=a.indexOf(r);if(n==-1){a.push(r);e.messages[0].meta[5]=[{type:2,data:Qb(a)}]}}function kw(e,r){var t;var a=((t=e.messages[0].meta[5])==null?void 0:t[0])?qb(e.messages[0].meta[5][0].data):[];e.messages[0].meta[5]=[{type:2,data:Qb(a.filter(function(e){return e!=r}))}]}function Tw(e,r){var t=tw(r.data);var a=ew(t[1][0].data);var n=t[3];var i=[];(n||[]).forEach(function(r){var t,n;var s=tw(r.data);if(!s[1])return;var f=ew(s[1][0].data)>>>0;switch(a){case 1:i[f]=$b(s[3][0].data);break;case 8:{var l=e[gw(s[9][0].data)][0];var o=tw(l.data);var c=e[gw(o[1][0].data)][0];var h=ew(c.meta[1][0].data);if(h!=2001)throw new Error("2000 unexpected reference to ".concat(h));var u=tw(c.data);var d={v:u[3].map(function(e){return $b(e.data)}).join("")};i[f]=d;e:if((t=u==null?void 0:u[11])==null?void 0:t[0]){var v=(n=tw(u[11][0].data))==null?void 0:n[1];if(!v)break e;v.forEach(function(r){var t,a,n;var i=tw(r.data);if((t=i[2])==null?void 0:t[0]){var s=e[gw((a=i[2])==null?void 0:a[0].data)][0];var f=ew(s.meta[1][0].data);switch(f){case 2032:var l=tw(s.data);if(((n=l==null?void 0:l[2])==null?void 0:n[0])&&!d.l)d.l=$b(l[2][0].data);break;case 2039:break;default:console.log("unrecognized ObjectAttribute type ".concat(f));}}})}}break;case 2:i[f]=tw(s[6][0].data);break;case 3:i[f]=tw(s[5][0].data);break;case 10:{var p=e[gw(s[10][0].data)][0];i[f]=Ew(e,p.data)}break;default:throw a;}});return i}function Aw(e,r){var t,a,n,i,s,f,l,o,c,h,u,d,v,p;var m=tw(e);var g=ew(m[1][0].data)>>>0;var b=ew(m[2][0].data)>>>0;var w=((a=(t=m[8])==null?void 0:t[0])==null?void 0:a.data)&&ew(m[8][0].data)>0||false;var k,T;if(((i=(n=m[7])==null?void 0:n[0])==null?void 0:i.data)&&r!=0){k=(f=(s=m[7])==null?void 0:s[0])==null?void 0:f.data;T=(o=(l=m[6])==null?void 0:l[0])==null?void 0:o.data}else if(((h=(c=m[4])==null?void 0:c[0])==null?void 0:h.data)&&r!=1){k=(d=(u=m[4])==null?void 0:u[0])==null?void 0:d.data;T=(p=(v=m[3])==null?void 0:v[0])==null?void 0:p.data}else throw"NUMBERS Tile missing ".concat(r," cell storage");var A=w?4:1;var y=Vb(k);var E=[];for(var C=0;C=1)S[E[E.length-1][0]]=T[Hb](E[E.length-1][1]*A);return{R:g,cells:S}}function yw(e,r){var t;var a=tw(r.data);var n=-1;if((t=a==null?void 0:a[7])==null?void 0:t[0]){if(ew(a[7][0].data)>>>0)n=1;else n=0}var i=nw(a[5],function(e){return Aw(e,n)});return{nrows:ew(a[4][0].data)>>>0,data:i.reduce(function(e,r){if(!e[r.R])e[r.R]=[];r.cells.forEach(function(t,a){if(e[r.R][a])throw new Error("Duplicate cell r=".concat(r.R," c=").concat(a));e[r.R][a]=t});return e},[])}}function Ew(e,r){var t,a,n,i,s,f,l,o,c,h;var u={t:"",a:""};var d=tw(r);if((a=(t=d==null?void 0:d[1])==null?void 0:t[0])==null?void 0:a.data)u.t=$b((i=(n=d==null?void 0:d[1])==null?void 0:n[0])==null?void 0:i.data)||"";if((f=(s=d==null?void 0:d[3])==null?void 0:s[0])==null?void 0:f.data){var v=e[gw((o=(l=d==null?void 0:d[3])==null?void 0:l[0])==null?void 0:o.data)][0];var p=tw(v.data);if((h=(c=p[1])==null?void 0:c[0])==null?void 0:h.data)u.a=$b(p[1][0].data)}if(d==null?void 0:d[4]){u.replies=[];d[4].forEach(function(r){var t=e[gw(r.data)][0];u.replies.push(Ew(e,t.data))})}return u}function Cw(e){var r=[];r.push({t:e.t||"",a:e.a,T:e.replies&&e.replies.length>0});if(e.replies)e.replies.forEach(function(e){r.push({t:e.t||"",a:e.a,T:true})});return r}function _w(e){var r={a:"",t:"",replies:[]};for(var t=0;t>>0)-1;if(p.e.r<0)throw new Error("Invalid row varint ".concat(v[6][0].data));p.e.c=(ew(v[7][0].data)>>>0)-1;if(p.e.c<0)throw new Error("Invalid col varint ".concat(v[7][0].data));t["!ref"]=Za(p);var m=t["!data"]!=null,g=t;var b=tw(v[4][0].data);var w=cw();if((n=b[4])==null?void 0:n[0])w.sst=Tw(e,e[gw(b[4][0].data)][0]);if((i=b[6])==null?void 0:i[0])w.fmla=Tw(e,e[gw(b[6][0].data)][0]);if((s=b[11])==null?void 0:s[0])w.ofmt=Tw(e,e[gw(b[11][0].data)][0]);if((f=b[12])==null?void 0:f[0])w.ferr=Tw(e,e[gw(b[12][0].data)][0]);if((l=b[17])==null?void 0:l[0])w.rsst=Tw(e,e[gw(b[17][0].data)][0]);if((o=b[19])==null?void 0:o[0])w.cmnt=Tw(e,e[gw(b[19][0].data)][0]);if((c=b[22])==null?void 0:c[0])w.nfmt=Tw(e,e[gw(b[22][0].data)][0]);var k=tw(b[3][0].data);var T=0;if(!((h=b[9])==null?void 0:h[0]))throw"NUMBERS file missing row tree";var A=tw(b[9][0].data)[1].map(function(e){return tw(e.data)});A.forEach(function(r){T=ew(r[1][0].data);var n=ew(r[2][0].data);var i=k[1][n];if(!i)throw"NUMBERS missing tile "+n;var s=tw(i.data);var f=e[gw(s[2][0].data)][0];var l=ew(f.meta[1][0].data);if(l!=6002)throw new Error("6001 unexpected reference to ".concat(l));var o=yw(e,f);o.data.forEach(function(e,r){e.forEach(function(e,n){var i=mw(e,w,a);if(i){if(m){if(!g["!data"][T+r])g["!data"][T+r]=[];g["!data"][T+r][n]=i}else{t[Va(n)+Ba(T+r)]=i}}})});T+=o.nrows});if((u=b[13])==null?void 0:u[0]){var y=e[gw(b[13][0].data)][0];var E=ew(y.meta[1][0].data);if(E!=6144)throw new Error("Expected merge type 6144, found ".concat(E));t["!merges"]=(d=tw(y.data))==null?void 0:d[1].map(function(e){var r=tw(e.data);var t=Vb(tw(r[1][0].data)[1][0].data),a=Vb(tw(r[2][0].data)[1][0].data);return{s:{r:t.getUint16(0,true),c:t.getUint16(2,true)},e:{r:t.getUint16(0,true)+a.getUint16(0,true)-1,c:t.getUint16(2,true)+a.getUint16(2,true)-1}}})}}function xw(e,r,t){var a=tw(r.data);var n={"!ref":"A1"};if(t==null?void 0:t.dense)n["!data"]=[];var i=e[gw(a[2][0].data)];var s=ew(i[0].meta[1][0].data);if(s!=6001)throw new Error("6000 unexpected reference to ".concat(s));Sw(e,i[0],n,t);return n}function Ow(e,r,t){var a;var n=tw(r.data);var i={name:((a=n[1])==null?void 0:a[0])?$b(n[1][0].data):"",sheets:[]};var s=nw(n[2],gw);s.forEach(function(r){e[r].forEach(function(r){var a=ew(r.meta[1][0].data);if(a==6e3)i.sheets.push(xw(e,r,t))})});return i}function Iw(e,r,t){var a;var n=Vk();n.Workbook={WBProps:{date1904:true}};var i=tw(r.data);if((a=i[2])==null?void 0:a[0])throw new Error("Keynote presentations are not supported");var s=nw(i[1],gw);s.forEach(function(r){e[r].forEach(function(r){var a=ew(r.meta[1][0].data);if(a==2){var i=Ow(e,r,t);i.sheets.forEach(function(e,r){$k(n,e,r==0?i.name:i.name+"_"+r,true)})}})});if(n.SheetNames.length==0)throw new Error("Empty NUMBERS file");n.bookType="numbers";return n}function Rw(e,r){var t,a,n,i,s,f,l;var o={},c=[];e.FullPaths.forEach(function(e){if(e.match(/\.iwpv2/))throw new Error("Unsupported password protection")});e.FileIndex.forEach(function(e){if(!e.name.match(/\.iwa$/))return;if(e.content[0]!=0)return;var r;try{r=lw(e.content)}catch(t){return console.log("?? "+e.content.length+" "+(t.message||t))}var a;try{a=iw(r)}catch(t){return console.log("## "+(t.message||t))}a.forEach(function(e){o[e.id]=e.messages;c.push(e.id)})});if(!c.length)throw new Error("File has no messages");if(((n=(a=(t=o==null?void 0:o[1])==null?void 0:t[0].meta)==null?void 0:a[1])==null?void 0:n[0].data)&&ew(o[1][0].meta[1][0].data)==1e4)throw new Error("Pages documents are not supported");var h=((l=(f=(s=(i=o==null?void 0:o[1])==null?void 0:i[0])==null?void 0:s.meta)==null?void 0:f[1])==null?void 0:l[0].data)&&ew(o[1][0].meta[1][0].data)==1&&o[1][0];if(!h)c.forEach(function(e){o[e].forEach(function(e){var r=ew(e.meta[1][0].data)>>>0;if(r==1){if(!h)h=e;else throw new Error("Document has multiple roots")}})});if(!h)throw new Error("Cannot find Document root");return Iw(o,h,r)}function Nw(e,r,t){var a,n,i;var s=[[],[{type:0,data:Jb(0)}],[{type:0,data:Jb(0)}],[{type:2,data:new Uint8Array([])}],[{type:2,data:new Uint8Array(Array.from({length:510},function(){return 255}))}],[{type:0,data:Jb(5)}],[{type:2,data:new Uint8Array([])}],[{type:2,data:new Uint8Array(Array.from({length:510},function(){return 255}))}],[{type:0,data:Jb(1)}]];if(!((a=s[6])==null?void 0:a[0])||!((n=s[7])==null?void 0:n[0]))throw"Mutation only works on post-BNC storages!";var f=0;if(s[7][0].data.length<2*e.length){var l=new Uint8Array(2*e.length);l.set(s[7][0].data);s[7][0].data=l}if(s[4][0].data.length<2*e.length){var o=new Uint8Array(2*e.length);o.set(s[4][0].data);s[4][0].data=o}var c=Vb(s[7][0].data),h=0,u=[];var d=Vb(s[4][0].data),v=0,p=[];var m=t?4:1;for(var g=0;g1)throw new Error("Template NUMBERS file must have exactly one sheet");e.SheetNames.forEach(function(r,s){if(s>=1){Xw(t,a,s+1);n=Ww(t,a,1);i=nw(tw(n.messages[0].data)[1],gw)}Gw(t,a,e.Sheets[r],r,s,i[s])});return t}function Bw(e,r,t,a){var n=Qe.find(e,r[t].location);if(!n)throw"Could not find ".concat(r[t].location," in Numbers template");var i=iw(lw(n.content));var s=i.find(function(e){return e.id==t});a(s,i);n.content=ow(sw(i));n.size=n.content.length}function Ww(e,r,t){var a=Qe.find(e,r[t].location);if(!a)throw"Could not find ".concat(r[t].location," in Numbers template");var n=iw(lw(a.content));var i=n.find(function(e){return e.id==t});return i}function zw(e,r,t){e[3].push({type:2,data:aw([[],[{type:0,data:Jb(r)}],[{type:2,data:Xb(t.replace(/-[\s\S]*$/,""))}],[{type:2,data:Xb(t)}],[{type:2,data:new Uint8Array([2,0,0])}],[{type:2,data:new Uint8Array([2,0,0])}],[],[],[],[],[{type:0,data:Jb(0)}],[],[{type:0,data:Jb(0)}]])});e[1]=[{type:0,data:Jb(Math.max(r+1,ew(e[1][0].data)))}]}function Hw(e,r,t,a,n,i){if(!i)i=Dw({deps:[],location:"",type:r},n);var s="".concat(a,"-").concat(i,".iwa");n[i].location="Root Entry"+s;Qe.utils.cfb_add(e,s,ow(sw([{id:i,messages:[Fw(r,aw(t))]}])));var f=s.replace(/^[\/]/,"").replace(/^Index\//,"").replace(/\.iwa$/,"");Bw(e,n,2,function(e){var r=tw(e.messages[0].data);zw(r,i||0,f);e.messages[0].data=aw(r)});return i}function Vw(e,r,t,a){var n=r[t].location.replace(/^Root Entry\//,"").replace(/^Index\//,"").replace(/\.iwa$/,"");var i=e[3].findIndex(function(e){var r,t;var a=tw(e.data);if((r=a[3])==null?void 0:r[0])return $b(a[3][0].data)==n;if(((t=a[2])==null?void 0:t[0])&&$b(a[2][0].data)==n)return true;return false});var s=tw(e[3][i].data);if(!s[6])s[6]=[];(Array.isArray(a)?a:[a]).forEach(function(e){s[6].push({type:2,data:aw([[],[{type:0,data:Jb(e)}]])})});e[3][i].data=aw(s)}function $w(e,r,t,a){var n=r[t].location.replace(/^Root Entry\//,"").replace(/^Index\//,"").replace(/\.iwa$/,"");var i=e[3].findIndex(function(e){var r,t;var a=tw(e.data);if((r=a[3])==null?void 0:r[0])return $b(a[3][0].data)==n;if(((t=a[2])==null?void 0:t[0])&&$b(a[2][0].data)==n)return true;return false});var s=tw(e[3][i].data);if(!s[6])s[6]=[];s[6]=s[6].filter(function(e){return ew(tw(e.data)[1][0].data)!=a});e[3][i].data=aw(s)}function Xw(e,r,t){var a=-1,n=-1;var i={};Bw(e,r,1,function(t,s){var f=tw(t.messages[0].data);a=gw(tw(t.messages[0].data)[1][0].data);n=Dw({deps:[1],location:r[a].location,type:2},r);i[a]=n;ww(t,n);f[1].push({type:2,data:bw(n)});var l=Ww(e,r,a);l.id=n;if(r[1].location==r[n].location)s.push(l);else Bw(e,r,n,function(e,r){return r.push(l)});t.messages[0].data=aw(f)});var s=-1;Bw(e,r,n,function(t,a){var f=tw(t.messages[0].data);for(var l=3;l<=69;++l)delete f[l];var o=nw(f[2],gw);o.forEach(function(e){return kw(t,e)});s=Dw({deps:[n],location:r[o[0]].location,type:r[o[0]].type},r);ww(t,s);i[o[0]]=s;f[2]=[{type:2,data:bw(s)}];var c=Ww(e,r,o[0]);c.id=s;if(r[o[0]].location==r[n].location)a.push(c);else{Bw(e,r,2,function(e){var t=tw(e.messages[0].data);Vw(t,r,n,s);e.messages[0].data=aw(t)});Bw(e,r,s,function(e,r){return r.push(c)})}t.messages[0].data=aw(f)});var f=-1;Bw(e,r,s,function(t,a){var n=tw(t.messages[0].data);var l=tw(n[1][0].data);for(var o=3;o<=69;++o)delete l[o];var c=gw(l[2][0].data);l[2][0].data=bw(i[c]);n[1][0].data=aw(l);var h=gw(n[2][0].data);kw(t,h);f=Dw({deps:[s],location:r[h].location,type:r[h].type},r);ww(t,f);i[h]=f;n[2][0].data=bw(f);var u=Ww(e,r,h);u.id=f;if(r[s].location==r[f].location)a.push(u);else Bw(e,r,f,function(e,r){return r.push(u)});t.messages[0].data=aw(n)});Bw(e,r,f,function(a,n){var s,l;var o=tw(a.messages[0].data);var c=$b(o[1][0].data),h=c.replace(/-[A-Z0-9]*/,"-".concat(("0000"+t.toString(16)).slice(-4)));o[1][0].data=Xb(h);[12,13,29,31,32,33,39,44,47,81,82,84].forEach(function(e){return delete o[e]});if(o[45]){var u=tw(o[45][0].data);var d=gw(u[1][0].data);kw(a,d);delete o[45]}if(o[70]){var v=tw(o[70][0].data);(s=v[2])==null?void 0:s.forEach(function(e){var r=tw(e.data);[2,3].map(function(e){return r[e][0]}).forEach(function(e){var r=tw(e.data);if(!r[8])return;var t=gw(r[8][0].data);kw(a,t)})});delete o[70]}[46,30,34,35,36,38,48,49,60,61,62,63,64,71,72,73,74,75,85,86,87,88,89].forEach(function(e){if(!o[e])return;var r=gw(o[e][0].data);delete o[e];kw(a,r)});var p=tw(o[4][0].data);{[2,4,5,6,11,12,13,15,16,17,18,19,20,21,22].forEach(function(t){var s;if(!((s=p[t])==null?void 0:s[0]))return;var l=gw(p[t][0].data);var o=Dw({deps:[f],location:r[l].location,type:r[l].type},r);kw(a,l);ww(a,o);i[l]=o;var c=Ww(e,r,l);c.id=o;if(r[l].location==r[f].location)n.push(c);else{r[o].location=r[l].location.replace(l.toString(),o.toString());if(r[o].location==r[l].location)r[o].location=r[o].location.replace(/\.iwa/,"-".concat(o,".iwa"));Qe.utils.cfb_add(e,r[o].location,ow(sw([c])));var h=r[o].location.replace(/^Root Entry\//,"").replace(/^Index\//,"").replace(/\.iwa$/,"");Bw(e,r,2,function(e){var t=tw(e.messages[0].data);zw(t,o,h);Vw(t,r,f,o);e.messages[0].data=aw(t)})}p[t][0].data=bw(o)});var m=tw(p[1][0].data);{(l=m[2])==null?void 0:l.forEach(function(t){var s=gw(t.data);var l=Dw({deps:[f],location:r[s].location,type:r[s].type},r);kw(a,s);ww(a,l);i[s]=l;var o=Ww(e,r,s);o.id=l;if(r[s].location==r[f].location){n.push(o)}else{r[l].location=r[s].location.replace(s.toString(),l.toString());if(r[l].location==r[s].location)r[l].location=r[l].location.replace(/\.iwa/,"-".concat(l,".iwa"));Qe.utils.cfb_add(e,r[l].location,ow(sw([o])));var c=r[l].location.replace(/^Root Entry\//,"").replace(/^Index\//,"").replace(/\.iwa$/,"");Bw(e,r,2,function(e){var t=tw(e.messages[0].data);zw(t,l,c);Vw(t,r,f,l);e.messages[0].data=aw(t)})}t.data=bw(l)})}p[1][0].data=aw(m);var g=tw(p[3][0].data);{g[1].forEach(function(t){var n=tw(t.data);var s=gw(n[2][0].data);var l=i[s];if(!i[s]){l=Dw({deps:[f],location:"",type:r[s].type},r);r[l].location="Root Entry/Index/Tables/Tile-".concat(l,".iwa");i[s]=l;var o=Ww(e,r,s);o.id=l;kw(a,s);ww(a,l);Qe.utils.cfb_add(e,"/Index/Tables/Tile-".concat(l,".iwa"),ow(sw([o])));Bw(e,r,2,function(e){var t=tw(e.messages[0].data);t[3].push({type:2,data:aw([[],[{type:0,data:Jb(l)}],[{type:2,data:Xb("Tables/Tile")}],[{type:2,data:Xb("Tables/Tile-".concat(l)) +}],[{type:2,data:new Uint8Array([2,0,0])}],[{type:2,data:new Uint8Array([2,0,0])}],[],[],[],[],[{type:0,data:Jb(0)}],[],[{type:0,data:Jb(0)}]])});t[1]=[{type:0,data:Jb(Math.max(l+1,ew(t[1][0].data)))}];Vw(t,r,f,l);e.messages[0].data=aw(t)})}n[2][0].data=bw(l);t.data=aw(n)})}p[3][0].data=aw(g)}o[4][0].data=aw(p);a.messages[0].data=aw(o)})}function Gw(e,r,t,a,n,i){var s=[];Bw(e,r,i,function(e){var r=tw(e.messages[0].data);{r[1]=[{type:2,data:Xb(a)}];s=nw(r[2],gw)}e.messages[0].data=aw(r)});var f=Ww(e,r,s[0]);var l=gw(tw(f.messages[0].data)[2][0].data);Bw(e,r,l,function(a,n){return Kw(e,r,t,a,n,l)})}var jw=true;function Kw(e,r,t,a,n,i){if(!t["!ref"])throw new Error("Cannot export empty sheet to NUMBERS");var s=Ya(t["!ref"]);s.s.r=s.s.c=0;var f=false;if(s.e.c>999){f=true;s.e.c=999}if(s.e.r>999999){f=true;s.e.r=999999}if(f)console.error("Truncating to ".concat(Za(s)));var l=[];if(t["!data"])l=t["!data"];else{var o=[];for(var c=0;c<=s.e.c;++c)o[c]=Va(c);for(var h=0;h<=s.e.r;++h){l[h]=[];var u=""+(h+1);for(c=0;c<=s.e.c;++c){var d=t[o[c]+u];if(!d)continue;l[h][c]=d}}}var v={cmnt:[{a:"~54ee77S~",t:"... the people who are crazy enough to think they can change the world, are the ones who do."}],ferr:[],fmla:[],nfmt:[],ofmt:[],rsst:[{v:"~54ee77S~",l:"https://sheetjs.com/"}],sst:["~Sh33tJ5~"]};var p=tw(a.messages[0].data);{p[6][0].data=Jb(s.e.r+1);p[7][0].data=Jb(s.e.c+1);delete p[46];var m=tw(p[4][0].data);{var g=gw(tw(m[1][0].data)[2][0].data);Bw(e,r,g,function(e,r){var t;var a=tw(e.messages[0].data);if((t=a==null?void 0:a[2])==null?void 0:t[0])for(var n=0;n1){var P=gw(m[19][0].data);var L={},M=0;Bw(e,r,P,function(t){var a=tw(t.messages[0].data);{a[3]=[];v.cmnt.forEach(function(n,i){if(i==0)return;var s=[];if(n.replies)n.replies.forEach(function(t){if(!L[t.a||""])L[t.a||""]=Hw(e,212,[[],[{type:2,data:Xb(t.a||"")}],[{type:2,data:Mw(++M)}],[],[{type:0,data:Jb(0)}]],"/Index/Tables/DataList",r);var a=L[t.a||""];var n=Hw(e,3056,[[],[{type:2,data:Xb(t.t||"")}],[{type:2,data:aw([[],[{type:1,data:new Uint8Array([0,0,0,128,116,109,182,65])}]])}],[{type:2,data:bw(a)}]],"/Index/Tables/DataList",r);Bw(e,r,n,function(e){return ww(e,a)});s.push(n);Bw(e,r,2,function(e){var t=tw(e.messages[0].data);Vw(t,r,n,a);e.messages[0].data=aw(t)})});if(!L[n.a||""])L[n.a||""]=Hw(e,212,[[],[{type:2,data:Xb(n.a||"")}],[{type:2,data:Mw(++M)}],[],[{type:0,data:Jb(0)}]],"/Index/Tables/DataList",r);var f=L[n.a||""];var l=Hw(e,3056,[[],[{type:2,data:Xb(n.t||"")}],[{type:2,data:aw([[],[{type:1,data:new Uint8Array([0,0,0,128,116,109,182,65])}]])}],[{type:2,data:bw(f)}],s.map(function(e){return{type:2,data:bw(e)}}),[{type:2,data:aw([[],[{type:0,data:Jb(i)}],[{type:0,data:Jb(0)}]])}]],"/Index/Tables/DataList",r);Bw(e,r,l,function(e){ww(e,f);s.forEach(function(r){return ww(e,r)})});a[3].push({type:2,data:aw([[],[{type:0,data:Jb(i)}],[{type:0,data:Jb(1)}],[],[],[],[],[],[],[],[{type:2,data:bw(l)}]])});ww(t,l);Bw(e,r,2,function(e){var t=tw(e.messages[0].data);Vw(t,r,P,l);Vw(t,r,l,f);if(s.length)Vw(t,r,l,s);e.messages[0].data=aw(t)})})}a[2][0].data=Jb(v.cmnt.length+1);t.messages[0].data=aw(a)})}}p[4][0].data=aw(m)}a.messages[0].data=aw(p)}function Yw(e){return function r(t){for(var a=0;a!=e.length;++a){var n=e[a];if(t[n[0]]===undefined)t[n[0]]=n[1];if(n[2]==="n")t[n[0]]=Number(t[n[0]])}}}function Zw(e){Yw([["cellNF",false],["cellHTML",true],["cellFormula",true],["cellStyles",false],["cellText",true],["cellDates",false],["sheetStubs",false],["sheetRows",0,"n"],["bookDeps",false],["bookSheets",false],["bookProps",false],["bookFiles",false],["bookVBA",false],["password",""],["WTF",false]])(e)}function Jw(e){Yw([["cellDates",false],["bookSST",false],["bookType","xlsx"],["compression",false],["WTF",false]])(e)}function qw(e){if(gi.WS.indexOf(e)>-1)return"sheet";if(gi.CS&&e==gi.CS)return"chart";if(gi.DS&&e==gi.DS)return"dialog";if(gi.MS&&e==gi.MS)return"macro";return e&&e.length?e:"sheet"}function Qw(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,qw(e["!id"][r.id].Type)]})}catch(t){return null}return!e||e.length===0?null:e}function ek(e,r,t,a,n,i,s,f){if(!e||!e["!legdrawel"])return;var l=tt(e["!legdrawel"].Target,a);var o=Zr(t,l,true);if(o)Ih(Ot(o),e,f||[])}function rk(e,r,t,a,n,i,s,f,l,o,c,h){try{i[a]=wi(Zr(e,t,true),r);var u=Yr(e,r);var d;switch(f){case"sheet":d=rg(u,r,n,l,i[a],o,c,h);break;case"chart":d=tg(u,r,n,l,i[a],o,c,h);if(!d||!d["!drawel"])break;var v=tt(d["!drawel"].Target,r);var p=bi(v);var m=Oh(Zr(e,v,true),wi(Zr(e,p,true),v));var g=tt(m,v);var b=bi(g);d=wm(Zr(e,g,true),g,l,wi(Zr(e,b,true),g),o,d);break;case"macro":d=ag(u,r,n,l,i[a],o,c,h);break;case"dialog":d=ng(u,r,n,l,i[a],o,c,h);break;default:throw new Error("Unrecognized sheet type "+f);}s[a]=d;var w=[],k=[];if(i&&i[a])ir(i[a]).forEach(function(t){var n="";if(i[a][t].Type==gi.CMNT){n=tt(i[a][t].Target,r);w=fg(Yr(e,n,true),n,l);if(!w||!w.length)return;Fh(d,w,false)}if(i[a][t].Type==gi.TCMNT){n=tt(i[a][t].Target,r);k=k.concat(Lh(Yr(e,n,true),l))}});if(k&&k.length)Fh(d,k,true,l.people||[]);ek(d,f,e,r,n,l,o,w)}catch(T){if(l.WTF)throw T}}function tk(e){return e.charAt(0)=="/"?e.slice(1):e}function ak(e,r){$e();r=r||{};Zw(r);if(jr(e,"META-INF/manifest.xml"))return Pb(e,r);if(jr(e,"objectdata.xml"))return Pb(e,r);if(jr(e,"Index/Document.iwa")){if(typeof Uint8Array=="undefined")throw new Error("NUMBERS file parsing requires Uint8Array support");if(typeof Rw!="undefined"){if(e.FileIndex)return Rw(e,r);var t=Qe.utils.cfb_new();qr(e).forEach(function(r){Qr(t,r,Jr(e,r))});return Rw(t,r)}throw new Error("Unsupported NUMBERS file")}if(!jr(e,"[Content_Types].xml")){if(jr(e,"index.xml.gz"))throw new Error("Unsupported NUMBERS 08 file");if(jr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");var a=Qe.find(e,"Index.zip");if(a){r=Tr(r);delete r.type;if(typeof a.content=="string")r.type="binary";if(typeof Bun!=="undefined"&&Buffer.isBuffer(a.content))return pk(new Uint8Array(a.content),r);return pk(a.content,r)}throw new Error("Unsupported ZIP file")}var n=qr(e);var i=pi(Zr(e,"[Content_Types].xml"));var s=false;var f,l;if(i.workbooks.length===0){l="xl/workbook.xml";if(Yr(e,l,true))i.workbooks.push(l)}if(i.workbooks.length===0){l="xl/workbook.bin";if(!Yr(e,l,true))throw new Error("Could not find workbook");i.workbooks.push(l);s=true}if(i.workbooks[0].slice(-3)=="bin")s=true;var o={};var c={};if(!r.bookSheets&&!r.bookProps){pv=[];if(i.sst)try{pv=sg(Yr(e,tk(i.sst)),i.sst,r)}catch(h){if(r.WTF)throw h}if(r.cellStyles&&i.themes.length)o=ah(Zr(e,i.themes[0].replace(/^\//,""),true)||"",r);if(i.style)c=ig(Yr(e,tk(i.style)),i.style,o,r)}i.links.map(function(t){try{var a=wi(Zr(e,bi(tk(t))),t);return og(Yr(e,tk(t)),a,t,r)}catch(n){}});var u=eg(Yr(e,tk(i.workbooks[0])),i.workbooks[0],r);var d={},v="";if(i.coreprops.length){v=Yr(e,tk(i.coreprops[0]),true);if(v)d=Ii(v);if(i.extprops.length!==0){v=Yr(e,tk(i.extprops[0]),true);if(v)Li(v,d,r)}}var p={};if(!r.bookSheets||r.bookProps){if(i.custprops.length!==0){v=Zr(e,tk(i.custprops[0]),true);if(v)p=Bi(v,r)}}var m={};if(r.bookSheets||r.bookProps){if(u.Sheets)f=u.Sheets.map(function N(e){return e.name});else if(d.Worksheets&&d.SheetNames.length>0)f=d.SheetNames;if(r.bookProps){m.Props=d;m.Custprops=p}if(r.bookSheets&&typeof f!=="undefined")m.SheetNames=f;if(r.bookSheets?m.SheetNames:r.bookProps)return m}f={};var g={};if(r.bookDeps&&i.calcchain)g=lg(Yr(e,tk(i.calcchain)),i.calcchain,r);var b=0;var w={};var k,T;{var A=u.Sheets;d.Worksheets=A.length;d.SheetNames=[];for(var y=0;y!=A.length;++y){d.SheetNames[y]=A[y].name}}var E=s?"bin":"xml";var C=i.workbooks[0].lastIndexOf("/");var _=(i.workbooks[0].slice(0,C+1)+"_rels/"+i.workbooks[0].slice(C+1)+".rels").replace(/^\//,"");if(!jr(e,_))_="xl/_rels/workbook."+E+".rels";var S=wi(Zr(e,_,true),_.replace(/_rels.*/,"s5s"));if((i.metadata||[]).length>=1){r.xlmeta=cg(Yr(e,tk(i.metadata[0])),i.metadata[0],r)}if((i.people||[]).length>=1){r.people=Uh(Yr(e,tk(i.people[0])),r)}if(S)S=Qw(S,u.Sheets);var x=Yr(e,"xl/worksheets/sheet.xml",true)?1:0;e:for(b=0;b!=d.Worksheets;++b){var O="sheet";if(S&&S[b]){k="xl/"+S[b][1].replace(/[\/]?xl\//,"");if(!jr(e,k))k=S[b][1];if(!jr(e,k))k=_.replace(/_rels\/[\S\s]*$/,"")+S[b][1];O=S[b][2]}else{k="xl/worksheets/sheet"+(b+1-x)+"."+E;k=k.replace(/sheet0\./,"sheet.")}T=k.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels");if(r&&r.sheets!=null)switch(typeof r.sheets){case"number":if(b!=r.sheets)continue e;break;case"string":if(d.SheetNames[b].toLowerCase()!=r.sheets.toLowerCase())continue e;break;default:if(Array.isArray&&Array.isArray(r.sheets)){var I=false;for(var R=0;R!=r.sheets.length;++R){if(typeof r.sheets[R]=="number"&&r.sheets[R]==b)I=1;if(typeof r.sheets[R]=="string"&&r.sheets[R].toLowerCase()==d.SheetNames[b].toLowerCase())I=1}if(!I)continue e};}rk(e,k,T,d.SheetNames[b],b,w,f,O,r,u,o,c)}m={Directory:i,Workbook:u,Props:d,Custprops:p,Deps:g,Sheets:f,SheetNames:d.SheetNames,Strings:pv,Styles:c,Themes:o,SSF:Tr(q)};if(r&&r.bookFiles){if(e.files){m.keys=n;m.files=e.files}else{m.keys=[];m.files={};e.FullPaths.forEach(function(r,t){r=r.replace(/^Root Entry[\/]/,"");m.keys.push(r);m.files[r]=e.FileIndex[t]})}}if(r&&r.bookVBA){if(i.vba.length>0)m.vbaraw=Yr(e,tk(i.vba[0]),true);else if(i.defaults&&i.defaults.bin===Gh)m.vbaraw=Yr(e,"xl/vbaProject.bin",true)}m.bookType=s?"xlsb":"xlsx";return m}function nk(e,r){var t=r||{};var a="Workbook",n=Qe.find(e,a);try{a="/!DataSpaces/Version";n=Qe.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);yo(n.content);a="/!DataSpaces/DataSpaceMap";n=Qe.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var i=Co(n.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 "+a);a="/!DataSpaces/DataSpaceInfo/StrongEncryptionDataSpace";n=Qe.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var s=_o(n.content);if(s.length!=1||s[0]!="StrongEncryptionTransform")throw new Error("ECMA-376 Encrypted file bad "+a);a="/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary";n=Qe.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);xo(n.content)}catch(f){}a="/EncryptionInfo";n=Qe.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var l=Ro(n.content);a="/EncryptedPackage";n=Qe.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);if(l[0]==4&&typeof decrypt_agile!=="undefined")return decrypt_agile(l[1],n.content,t.password||"",t);if(l[0]==2&&typeof decrypt_std76!=="undefined")return decrypt_std76(l[1],n.content,t.password||"",t);throw new Error("File is password-protected")}function ik(e,r){if(e&&!e.SSF){e.SSF=Tr(q)}if(e&&e.SSF){$e();Ve(e.SSF);r.revssf=lr(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;if(gv)r.revStrings=new Map;else{r.revStrings={};r.revStrings.foo=[];delete r.revStrings.foo}var t="bin";var a=true;var n=vi();Jw(r=r||{});var i=et();var s="",f=0;r.cellXfs=[];Tv(r.cellXfs,{},{revssf:{General:0}});if(!e.Props)e.Props={};s="docProps/core.xml";Qr(i,s,Ni(e.Props,r));n.coreprops.push(s);Ti(r.rels,2,s,gi.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{var l=[];for(var o=0;o0){s="docProps/custom.xml";Qr(i,s,Wi(e.Custprops,r));n.custprops.push(s);Ti(r.rels,4,s,gi.CUST_PROPS)}var c=["SheetJ5"];r.tcid=0;for(f=1;f<=e.SheetNames.length;++f){var h={"!id":{}};var u=e.Sheets[e.SheetNames[f-1]];var d=(u||{})["!type"]||"sheet";switch(d){case"chart":;default:s="xl/worksheets/sheet"+f+"."+t;Qr(i,s,gm(f-1,r,e,h));n.sheets.push(s);Ti(r.wbrels,-1,"worksheets/sheet"+f+"."+t,gi.WS[0]);}if(u){var v=u["!comments"];var p=false;var m="";if(v&&v.length>0){var g=false;v.forEach(function(e){e[1].forEach(function(e){if(e.T==true)g=true})});if(g){m="xl/threadedComments/threadedComment"+f+".xml";Qr(i,m,Mh(v,c,r));n.threadedcomments.push(m);Ti(h,-1,"../threadedComments/threadedComment"+f+".xml",gi.TCMNT)}m="xl/comments"+f+"."+t;Qr(i,m,Xh(v,r));n.comments.push(m);Ti(h,-1,"../comments"+f+"."+t,gi.CMNT);p=true}if(u["!legacy"]){if(p)Qr(i,"xl/drawings/vmlDrawing"+f+".vml",Rh(f,u["!comments"]))}delete u["!comments"];delete u["!legacy"]}if(h["!id"].rId1)Qr(i,bi(s),ki(h))}if(r.Strings!=null&&r.Strings.length>0){s="xl/sharedStrings."+t;Qr(i,s,ko(r.Strings,r));n.strs.push(s);Ti(r.wbrels,-1,"sharedStrings."+t,gi.SST)}s="xl/workbook."+t;Qr(i,s,Qm(e,r));n.workbooks.push(s);Ti(r.rels,1,s,gi.WB);s="xl/theme/theme1.xml";var b=nh(e.Themes,r);Qr(i,s,b);n.themes.push(s);Ti(r.wbrels,-1,"theme/theme1.xml",gi.THEME);s="xl/styles."+t;Qr(i,s,Jc(e,r));n.styles.push(s);Ti(r.wbrels,-1,"styles."+t,gi.STY);if(e.vbaraw&&a){s="xl/vbaProject.bin";Qr(i,s,e.vbaraw);n.vba.push(s);Ti(r.wbrels,-1,"vbaProject.bin",gi.VBA)}s="xl/metadata."+t;Qr(i,s,Th());n.metadata.push(s);Ti(r.wbrels,-1,"metadata."+t,gi.XLMETA);if(c.length>1){s="xl/persons/person.xml";Qr(i,s,Bh(c,r));n.people.push(s);Ti(r.wbrels,-1,"persons/person.xml",gi.PEOPLE)}Qr(i,"[Content_Types].xml",mi(n,r));Qr(i,"_rels/.rels",ki(r.rels));Qr(i,"xl/_rels/workbook."+t+".rels",ki(r.wbrels));delete r.revssf;delete r.ssf;return i}function sk(e,r){if(e&&!e.SSF){e.SSF=Tr(q)}if(e&&e.SSF){$e();Ve(e.SSF);r.revssf=lr(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;if(gv)r.revStrings=new Map;else{r.revStrings={};r.revStrings.foo=[];delete r.revStrings.foo}var t="xml";var a=Yh.indexOf(r.bookType)>-1;var n=vi();Jw(r=r||{});var i=et();var s="",f=0;r.cellXfs=[];Tv(r.cellXfs,{},{revssf:{General:0}});if(!e.Props)e.Props={};s="docProps/core.xml";Qr(i,s,Ni(e.Props,r));n.coreprops.push(s);Ti(r.rels,2,s,gi.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{var l=[];for(var o=0;o0){s="docProps/custom.xml";Qr(i,s,Wi(e.Custprops,r));n.custprops.push(s);Ti(r.rels,4,s,gi.CUST_PROPS)}var c=["SheetJ5"];r.tcid=0;for(f=1;f<=e.SheetNames.length;++f){var h={"!id":{}};var u=e.Sheets[e.SheetNames[f-1]];var d=(u||{})["!type"]||"sheet";switch(d){case"chart":;default:s="xl/worksheets/sheet"+f+"."+t;Qr(i,s,Qv(f-1,r,e,h));n.sheets.push(s);Ti(r.wbrels,-1,"worksheets/sheet"+f+"."+t,gi.WS[0]);}if(u){var v=u["!comments"];var p=false;var m="";if(v&&v.length>0){var g=false;v.forEach(function(e){e[1].forEach(function(e){if(e.T==true)g=true})});if(g){m="xl/threadedComments/threadedComment"+f+".xml";Qr(i,m,Mh(v,c,r));n.threadedcomments.push(m);Ti(h,-1,"../threadedComments/threadedComment"+f+".xml",gi.TCMNT)}m="xl/comments"+f+"."+t;Qr(i,m,Ph(v,r));n.comments.push(m);Ti(h,-1,"../comments"+f+"."+t,gi.CMNT);p=true}if(u["!legacy"]){if(p)Qr(i,"xl/drawings/vmlDrawing"+f+".vml",Rh(f,u["!comments"]))}delete u["!comments"];delete u["!legacy"]}if(h["!id"].rId1)Qr(i,bi(s),ki(h))}if(r.Strings!=null&&r.Strings.length>0){s="xl/sharedStrings."+t;Qr(i,s,po(r.Strings,r));n.strs.push(s);Ti(r.wbrels,-1,"sharedStrings."+t,gi.SST)}s="xl/workbook."+t;Qr(i,s,Mm(e,r));n.workbooks.push(s);Ti(r.rels,1,s,gi.WB);s="xl/theme/theme1.xml";Qr(i,s,nh(e.Themes,r));n.themes.push(s);Ti(r.wbrels,-1,"theme/theme1.xml",gi.THEME);s="xl/styles."+t;Qr(i,s,Ec(e,r));n.styles.push(s);Ti(r.wbrels,-1,"styles."+t,gi.STY);if(e.vbaraw&&a){s="xl/vbaProject.bin";Qr(i,s,e.vbaraw);n.vba.push(s);Ti(r.wbrels,-1,"vbaProject.bin",gi.VBA)}s="xl/metadata."+t;Qr(i,s,yh());n.metadata.push(s);Ti(r.wbrels,-1,"metadata."+t,gi.XLMETA);if(c.length>1){s="xl/persons/person.xml";Qr(i,s,Bh(c,r));n.people.push(s);Ti(r.wbrels,-1,"persons/person.xml",gi.PEOPLE)}Qr(i,"[Content_Types].xml",mi(n,r));Qr(i,"_rels/.rels",ki(r.rels));Qr(i,"xl/_rels/workbook."+t+".rels",ki(r.wbrels));delete r.revssf;delete r.ssf;return i}function fk(e,r){var t="";switch((r||{}).type||"base64"){case"buffer":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":t=E(e.slice(0,12));break;case"binary":t=e;break;case"array":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];default:throw new Error("Unrecognized type "+(r&&r.type||"undefined"));}return[t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3),t.charCodeAt(4),t.charCodeAt(5),t.charCodeAt(6),t.charCodeAt(7)]}function lk(e,r){if(Qe.find(e,"EncryptedPackage"))return nk(e,r);return jg(e,r)}function ok(e,r){var t,a=e;var n=r||{};if(!n.type)n.type=C&&Buffer.isBuffer(e)?"buffer":"base64";t=rt(a,n);return ak(t,n)}function ck(e,r){var t=0;e:while(t=2&&i[3]===0)return ao.to_workbook(n,t);if(i[2]===0&&(i[3]===8||i[3]===9))return ao.to_workbook(n,t)}break;case 3:;case 131:;case 139:;case 140:return Jl.to_workbook(n,t);case 123:if(i[1]===92&&i[2]===114&&i[3]===116)return Go(n,t);break;case 10:;case 13:;case 32:return hk(n,t);case 137:if(i[1]===80&&i[2]===78&&i[3]===71)throw new Error("PNG Image File is not a spreadsheet");break;case 8:if(i[1]===231)throw new Error("Unsupported Multiplan 1.x file!");break;case 12:if(i[1]===236)throw new Error("Unsupported Multiplan 2.x file!");if(i[1]===237)throw new Error("Unsupported Multiplan 3.x file!");break;}if(Zl.indexOf(i[0])>-1&&i[2]<=12&&i[3]<=31)return Jl.to_workbook(n,t);return vk(e,n,t,s)}function mk(e,r){var t=r||{};t.type="file";return pk(e,t)}function gk(e,r){switch(r.type){case"base64":;case"binary":break;case"buffer":;case"array":r.type="";break;case"file":return ar(r.file,Qe.write(e,{type:C?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+r.bookType+"' files");default:throw new Error("Unrecognized type "+r.type);}return Qe.write(e,r)}function bk(e,r){switch(r.bookType){case"ods":return zb(e,r);case"numbers":return Uw(e,r);case"xlsb":return ik(e,r);default:return sk(e,r);}}function wk(e,r){var t=Tr(r||{});var a=bk(e,t);return Tk(a,t)}function kk(e,r){var t=Tr(r||{});var a=sk(e,t);return Tk(a,t)}function Tk(e,r){var t={};var a=C?"nodebuffer":typeof Uint8Array!=="undefined"?"array":"string";if(r.compression)t.compression="DEFLATE";if(r.password)t.type=a;else switch(r.type){case"base64":t.type="base64";break;case"binary":t.type="string";break;case"string":throw new Error("'string' output type invalid for '"+r.bookType+"' files");case"buffer":;case"file":t.type=a;break;default:throw new Error("Unrecognized type "+r.type);}var n=e.FullPaths?Qe.write(e,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[t.type]||t.type,compression:!!r.compression}):e.generate(t);if(typeof Deno!=="undefined"){if(typeof n=="string"){if(r.type=="binary"||r.type=="base64")return n;n=new Uint8Array(R(n))}}if(r.password&&typeof encrypt_agile!=="undefined")return gk(encrypt_agile(n,r.password),r);if(r.type==="file")return ar(r.file,n);return r.type=="string"?Ot(n):n}function Ak(e,r){var t=r||{};var a=Kg(e,t);return gk(a,t)}function yk(e,r,t){if(!t)t="";var a=t+e;switch(r.type){case"base64":return T(It(a));case"binary":return It(a);case"string":return e;case"file":return ar(r.file,a,"utf8");case"buffer":{if(C)return _(a,"utf8");else if(typeof TextEncoder!=="undefined")return(new TextEncoder).encode(a);else return yk(a,{type:"binary"}).split("").map(function(e){return e.charCodeAt(0)})};}throw new Error("Unrecognized type "+r.type)}function Ek(e,r){switch(r.type){case"base64":return A(e);case"binary":return e;case"string":return e;case"file":return ar(r.file,e,"binary");case"buffer":{if(C)return _(e,"binary");else return e.split("").map(function(e){return e.charCodeAt(0)})};}throw new Error("Unrecognized type "+r.type)}function Ck(e,r){switch(r.type){case"string":;case"base64":;case"binary":var t="";for(var a=0;a0)n=0;var h=Ba(l.s.r);var u=[];var d=[];var v=0,p=0;var m=e["!data"]!=null;var g=l.s.r,b=0;var w={};if(m&&!e["!data"][g])e["!data"][g]=[];var k=o.skipHidden&&e["!cols"]||[];var T=o.skipHidden&&e["!rows"]||[];for(b=l.s.c;b<=l.e.c;++b){if((k[b]||{}).hidden)continue;u[b]=Va(b);t=m?e["!data"][g][b]:e[u[b]+h];switch(a){case 1:i[b]=b-l.s.c;break;case 2:i[b]=u[b];break;case 3:i[b]=o.header[b-l.s.c];break;default:if(t==null)t={w:"__EMPTY",t:"s"};f=s=rn(t,null,o);p=w[s]||0;if(!p)w[s]=1;else{do{f=s+"_"+p++}while(w[f]);w[s]=p; +w[f]=1}i[b]=f;}}for(g=l.s.r+n;g<=l.e.r;++g){if((T[g]||{}).hidden)continue;var A=Nk(e,l,g,u,a,i,o);if(A.isempty===false||(a===1?o.blankrows!==false:!!o.blankrows))d[v++]=A.row}d.length=v;return d}var Dk=/"/g;function Pk(e,r,t,a,n,i,s,f){var l=true;var o=[],c="",h=Ba(t);var u=e["!data"]!=null;var d=u&&e["!data"][t]||[];for(var v=r.s.c;v<=r.e.c;++v){if(!a[v])continue;var p=u?d[v]:e[a[v]+h];if(p==null)c="";else if(p.v!=null){l=false;c=""+(f.rawNumbers&&p.t=="n"?p.v:rn(p,null,f));for(var m=0,g=0;m!==c.length;++m)if((g=c.charCodeAt(m))===n||g===i||g===34||f.forceQuotes){c='"'+c.replace(Dk,'""')+'"';break}if(c=="ID")c='"ID"'}else if(p.f!=null&&!p.F){l=false;c="="+p.f;if(c.indexOf(",")>=0)c='"'+c.replace(Dk,'""')+'"'}else c="";o.push(c)}if(f.strip)while(o[o.length-1]==="")--o.length;if(f.blankrows===false&&l)return null;return o.join(s)}function Lk(e,r){var t=[];var a=r==null?{}:r;if(e==null||e["!ref"]==null)return"";var n=Qa(e["!ref"]);var i=a.FS!==undefined?a.FS:",",s=i.charCodeAt(0);var f=a.RS!==undefined?a.RS:"\n",l=f.charCodeAt(0);var o="",c=[];var h=a.skipHidden&&e["!cols"]||[];var u=a.skipHidden&&e["!rows"]||[];for(var d=n.s.c;d<=n.e.c;++d)if(!(h[d]||{}).hidden)c[d]=Va(d);var v=0;for(var p=n.s.r;p<=n.e.r;++p){if((u[p]||{}).hidden)continue;o=Pk(e,n,p,c,s,l,i,a);if(o==null){continue}if(o||a.blankrows!==false)t.push((v++?f:"")+o)}return t.join("")}function Mk(e,r){if(!r)r={};r.FS="\t";r.RS="\n";var t=Lk(e,r);if(typeof a=="undefined"||r.type=="string")return t;var n=a.utils.encode(1200,t,"str");return String.fromCharCode(255)+String.fromCharCode(254)+n}function Uk(e){var r="",t,a="";if(e==null||e["!ref"]==null)return[];var n=Qa(e["!ref"]),i="",s=[],f;var l=[];var o=e["!data"]!=null;for(f=n.s.c;f<=n.e.c;++f)s[f]=Va(f);for(var c=n.s.r;c<=n.e.r;++c){i=Ba(c);for(f=n.s.c;f<=n.e.c;++f){r=s[f]+i;t=o?(e["!data"][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;l[l.length]=r+"="+a}}return l}function Bk(e,r,t){var a=t||{};var n=e?e["!data"]!=null:a.dense;if(b!=null&&n==null)n=b;var i=+!a.skipHeader;var s=e||{};if(!e&&n)s["!data"]=[];var f=0,l=0;if(s&&a.origin!=null){if(typeof a.origin=="number")f=a.origin;else{var o=typeof a.origin=="string"?ja(a.origin):a.origin;f=o.r;l=o.c}}var c={s:{c:0,r:0},e:{c:l,r:f+r.length-1+i}};if(s["!ref"]){var h=Qa(s["!ref"]);c.e.c=Math.max(c.e.c,h.e.c);c.e.r=Math.max(c.e.r,h.e.r);if(f==-1){f=h.e.r+1;c.e.r=f+r.length-1+i}}else{if(f==-1){f=0;c.e.r=r.length-1+i}}var u=a.header||[],d=0;var v=[];r.forEach(function(e,r){if(n&&!s["!data"][f+r+i])s["!data"][f+r+i]=[];if(n)v=s["!data"][f+r+i];ir(e).forEach(function(t){if((d=u.indexOf(t))==-1)u[d=u.length]=t;var o=e[t];var c="z";var h="";var p=n?"":Va(l+d)+Ba(f+r+i);var m=n?v[l+d]:s[p];if(o&&typeof o==="object"&&!(o instanceof Date)){if(n)v[l+d]=o;else s[p]=o}else{if(typeof o=="number")c="n";else if(typeof o=="boolean")c="b";else if(typeof o=="string")c="s";else if(o instanceof Date){c="d";if(!a.UTC)o=Dr(o);if(!a.cellDates){c="n";o=dr(o)}h=m!=null&&m.z&&Le(m.z)?m.z:a.dateNF||q[14]}else if(o===null&&a.nullError){c="e";o=0}if(!m){if(!n)s[p]=m={t:c,v:o};else v[l+d]=m={t:c,v:o}}else{m.t=c;m.v=o;delete m.w;delete m.R;if(h)m.z=h}if(h)m.z=h}})});c.e.c=Math.max(c.e.c,l+u.length-1);var p=Ba(f);if(n&&!s["!data"][f])s["!data"][f]=[];if(i)for(d=0;d=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+"|")}function Vk(e,r){var t={SheetNames:[],Sheets:{}};if(e)$k(t,e,r||"Sheet1");return t}function $k(e,r,t,a){var n=1;if(!t)for(;n<=65535;++n,t=undefined)if(e.SheetNames.indexOf(t="Sheet"+n)==-1)break;if(!t||e.SheetNames.length>=65535)throw new Error("Too many worksheets");if(a&&e.SheetNames.indexOf(t)>=0&&t.length<32){var i=t.match(/\d+$/);n=i&&+i[0]||0;var s=i&&t.slice(0,i.index)||t;for(++n;n<=65535;++n)if(e.SheetNames.indexOf(t=s+n)==-1)break}Nm(t);if(e.SheetNames.indexOf(t)>=0)throw new Error("Worksheet with name |"+t+"| already exists!");e.SheetNames.push(t);e.Sheets[t]=r;return t}function Xk(e,r,t){if(!e.Workbook)e.Workbook={};if(!e.Workbook.Sheets)e.Workbook.Sheets=[];var a=Hk(e,r);if(!e.Workbook.Sheets[a])e.Workbook.Sheets[a]={};switch(t){case 0:;case 1:;case 2:break;default:throw new Error("Bad sheet visibility setting "+t);}e.Workbook.Sheets[a].Hidden=t}function Gk(e,r){e.z=r;return e}function jk(e,r,t){if(!r){delete e.l}else{e.l={Target:r};if(t)e.l.Tooltip=t}return e}function Kk(e,r,t){return jk(e,"#"+r,t)}function Yk(e,r,t){if(!e.c)e.c=[];e.c.push({t:r,a:t||"SheetJS"})}function Zk(e,r,t,a){var n=typeof r!="string"?r:Qa(r);var i=typeof r=="string"?r:Za(r);for(var s=n.s.r;s<=n.e.r;++s)for(var f=n.s.c;f<=n.e.c;++f){var l=zk(e,s,f);l.t="n";l.F=i;delete l.v;if(s==n.s.r&&f==n.s.c){l.f=t;if(a)l.D=true}}var o=Ya(e["!ref"]);if(o.s.r>n.s.r)o.s.r=n.s.r;if(o.s.c>n.s.c)o.s.c=n.s.c;if(o.e.rs.e.r){if(!l){l=true;t.push(""+i)}return t.push(null)}while(f<=s.e.r){t.push(Tb(e,s,f,a));++f;break}};return t}function tT(e,r){var t=qk({objectMode:true});if(e==null||e["!ref"]==null){t.push(null);return t}var a={t:"n",v:0},n=0,i=1,s=[],f=0,l="";var o={s:{r:0,c:0},e:{r:0,c:0}};var c=r||{};var h=c.range!=null?c.range:e["!ref"];if(c.header===1)n=1;else if(c.header==="A")n=2;else if(Array.isArray(c.header))n=3;switch(typeof h){case"string":o=Qa(h);break;case"number":o=Qa(e["!ref"]);o.s.r=h;break;default:o=h;}if(n>0)i=0;var u=Ba(o.s.r);var d=[];var v=0;var p=e["!data"]!=null;var m=o.s.r,g=0;var b={};if(p&&!e["!data"][m])e["!data"][m]=[];var w=c.skipHidden&&e["!cols"]||[];var k=c.skipHidden&&e["!rows"]||[];for(g=o.s.c;g<=o.e.c;++g){if((w[g]||{}).hidden)continue;d[g]=Va(g);a=p?e["!data"][m][g]:e[d[g]+u];switch(n){case 1:s[g]=g-o.s.c;break;case 2:s[g]=d[g];break;case 3:s[g]=c.header[g-o.s.c];break;default:if(a==null)a={w:"__EMPTY",t:"s"};l=f=rn(a,null,c);v=b[f]||0;if(!v)b[f]=1;else{do{l=f+"_"+v++}while(b[l]);b[f]=v;b[l]=1}s[g]=l;}}m=o.s.r+i;t._read=function(){while(m<=o.e.r){if((k[m-1]||{}).hidden)continue;var r=Nk(e,o,m,d,n,s,c);++m;if(r.isempty===false||(n===1?c.blankrows!==false:!!c.blankrows)){t.push(r.row);return}}return t.push(null)};return t}var aT={to_json:tT,to_html:rT,to_csv:eT,set_readable:Qk};if(typeof jg!=="undefined")e.parse_xlscfb=jg;e.parse_zip=ak;e.read=pk;e.readFile=mk;e.readFileSync=mk;e.write=Sk;e.writeFile=Ok;e.writeFileSync=Ok;e.writeFileAsync=Rk;e.utils=Jk;e.writeXLSX=_k;e.writeFileXLSX=Ik;e.set_fs=rr;e.set_cptable=g;e.SSF=Xe;if(typeof aT!=="undefined")e.stream=aT;if(typeof Qe!=="undefined")e.CFB=Qe;if(typeof require!=="undefined"){var nT=undefined;if((nT||{}).Readable)Qk(nT.Readable);try{er=undefined}catch(tu){}}}if(typeof exports!=="undefined")make_xlsx_lib(exports);else if(typeof module!=="undefined"&&module.exports)make_xlsx_lib(module.exports);else if(typeof define==="function"&&define.amd)define("xlsx",function(){if(!XLSX.version)make_xlsx_lib(XLSX);return XLSX});else make_xlsx_lib(XLSX);if(typeof window!=="undefined"&&!window.XLSX)try{window.XLSX=XLSX}catch(e){} diff --git a/dist/xlsx.full.min.map b/dist/xlsx.full.min.map index e531770..8f7c4ca 100644 --- a/dist/xlsx.full.min.map +++ b/dist/xlsx.full.min.map @@ -1 +1 @@ -{"version":3,"sources":["misc/suppress_export.js","dist/cpexcel.js","dist/xlsx.js"],"names":["DO_NOT_EXPORT_CODEPAGE","cptable","version","d","D","e","i","length","charCodeAt","charAt","enc","dec","j","split","module","exports","root","factory","require","cpt","Error","this","magic","1200","1201","12000","12001","16969","20127","65000","65001","sbcs_cache","dbcs_cache","magic_cache","magic_decode","magic_encode","cpdcache","cpecache","sfcc","x","String","fromCharCode","cca","has_buf","Buffer","Buffer_from","nbfs","from","buf","bind","allocUnsafe","n","mdl","mdb","make_EE","E","EE","keys","Object","len","ee","sbcs_encode","make_sbcs_encode","cp","sbcs_e","data","ofmt","out","w","isBuffer","slice","toString","call","sbcs_decode","make_sbcs_decode","DD","c","sbcs_d","dbcs_encode","make_dbcs_encode","f","dbcs_e","jj","k","dbcs_decode","make_dbcs_decode","dbcs_d","utf8_d","map","ww","utf8_e","direct","encache","s","null_enc","cp_decache","decache","forEach","last_enc","last_cp","cache","sbcs","dbcs","BM","SetD","encode","C","M","isstr","indexOf","tt","join","decode","F","Array","match","dash","o64","c1","c2","c3","e1","e2","e3","e4","l","push","hascp","utils","XLSX","make_xlsx_lib","current_codepage","current_ansi","$cptable","VALID_ANSI","CS2CP","0","1","2","77","128","129","130","134","136","161","162","163","177","178","186","204","222","238","255","69","set_ansi","reset_ansi","set_cp","reset_cp","char_codes","o","utf16leread","utf16lereadu","utf16beread","debom","_getchar","_gc1","_getansi","_ga1","set_cptable","_gc2","_ga2","cpdoit","DENSE","DIF_XL","Base64_map","Base64_encode","input","isNaN","Base64_encode_pass","Base64_encode_arr","Base64_decode","replace","undefined","node","buf_utf16le","new_raw_buf","alloc","Uint8Array","new_unsafe_buf","s2a","s2ab","ArrayBuffer","view","a2s","isArray","a2u","ab2a","bconcat","bufs","concat","maxlen","set","apply","utf8decode","content","widx","L","ridx","chr0","chr1","_strrev","pad0","v","t","fill","pad_","rpad_","pad0r1","Math","round","pad0r2","p2_32","pow","pad0r","SSF_isgeneral","days","months","SSF_init_table","table_fmt","3","4","9","10","11","12","13","14","15","16","17","18","19","20","21","22","37","38","39","40","45","46","47","48","49","56","SSF_default_map","5","6","7","8","23","24","25","26","27","28","29","30","31","50","51","52","53","54","55","57","58","59","60","61","62","67","68","70","71","72","73","74","75","76","78","79","80","81","82","SSF_default_str","63","64","65","66","41","42","43","44","SSF_frac","mixed","sgn","B","P_2","P_1","P","Q_2","Q_1","Q","A","floor","q","SSF_normalize_xl_unsafe","toPrecision","m","Number","SSF_parse_date_code","opts","b2","date","time","dow","dout","T","u","y","H","S","abs","date1904","Date","setDate","getDate","getFullYear","getMonth","getDay","SSF_fix_hijri","SSF_strip_decimal","SSF_normalize_exp","SSF_small_exp","toFixed","toExponential","SSF_large_exp","SSF_general_num","V","log","LOG10E","substr","toUpperCase","SSF_general","SSF_format","datenum","SSF_write_date","type","fmt","val","ss0","ss","outl","outstr","commaify","pct1","write_num_pct","sfmt","mul","write_num","write_num_cm","idx","write_num_exp","period","fakee","$$","$1","$2","$3","frac1","write_num_f1","r","aval","sign","den","parseInt","rr","base","myn","myd","write_num_f2","dec1","closeparen","phone","hashq","str","cc","rnd","dd","_frac","carry","flr","write_num_flt","ffmt","ri","ff","oa","min","max","lres","rres","write_num_cm2","write_num_pct2","write_num_exp2","write_num_int","lastIndexOf","SSF_split_fmt","in_str","SSF_abstime","fmt_is_date","eval_fmt","flen","lst","dt","hr","toLowerCase","bt","ssm","_dt","nstr","vv","myv","ostr","decpt","lasti","retval","cfregex2","chkcond","thresh","parseFloat","choose_fmt","lat","m1","m2","dateNF","table","SSF_load","SSF_load_table","tbl","make_ssf","SSF","format","load","_table","load_table","parse_date_code","is_date","get_table","SSFImplicit","32","33","34","35","36","dateNFregex","dateNF_regex","lastIndex","RegExp","dateNF_fix","Y","datestr","timestr","bad_formats","d.m","SSF__load","CRC32","signed_crc_table","Int32Array","T0","slice_by_16_tables","subarray","TT","T1","T2","T3","T4","T5","T6","T7","T8","T9","Ta","Tb","Tc","Td","Te","Tf","crc32_bstr","bstr","seed","crc32_buf","crc32_str","CFB","_CFB","namecmp","R","Z","dirname","p","filename","write_dos_date","hms","getHours","getMinutes","getSeconds","write_shift","ymd","parse_dos_date","read_shift","setMilliseconds","setFullYear","setMonth","setHours","setMinutes","setSeconds","parse_extra_field","blob","prep_blob","flags","sz","tgt","mtime","atime","ctime","mt","sz1","sz2","usz","csz","fs","get_fs","_fs","parse","file","options","parse_zip","parse_mad","mver","ssz","nmfs","difat_sec_cnt","dir_start","minifat_start","difat_start","fat_addrs","mv","check_get_mver","header","check_shifts","dir_cnt","chk","sectors","sectorify","sleuth_fat","sector_list","make_sector_list","name","ENDOFCHAIN","files","Paths","FileIndex","FullPaths","read_directory","build_full_paths","shift","raw","HEADER_SIGNATURE","nsectors","ceil","FI","FP","pl","dad","get_mfat_entry","entry","payload","mini","start","size","MSSZ","__readInt32LE","new_buf","cnt","sector","get_sector_list","chkd","buf_chain","modulus","addr","nodes","__toBuffer","sl","seen","minifat_store","namelen","__utf16le","color","clsid","state","ct","read_date","storage","offset","__readUInt32LE","read_file","readFileSync","read","init_cfb","cfb","CLSID","seed_cfb","nm","find","rebuild_cfb","gc","_file","pop","now","fullPaths","create","HEADER_CLSID","sort","elt","_write","_opts","fileType","write_mad","write_zip","mini_size","fat_size","mini_cnt","mfat_cnt","fat_base","fat_cnt","difat_cnt","HEADER_SIG","chainit","consts","DIFSECT","FATSECT","_nm","console","error","copy","path","UCFullPaths","UCPaths","UCPath","MAXREGSECT","FREESECT","HEADER_MINOR_VERSION","MAXREGSID","NOSTREAM","EntryTypes","write_file","writeFileSync","write","_zlib","use_zlib","zlib","InflateRaw","InflRaw","_processChunk","_finishFlushFlag","bytesRead","message","_inflateRawSync","_inflate","_deflateRawSync","deflateRawSync","_deflate","CLEN_ORDER","LEN_LN","DST_LN","bit_swap_8","use_typed_arrays","bitswap8","bit_swap_n","b","rev","read_bits_2","bl","h","read_bits_3","read_bits_4","read_bits_5","read_bits_7","read_bits_n","write_bits_3","write_bits_1","write_bits_8","write_bits_16","realloc","a","zero_fill_array","build_tree","clens","cmap","MAX","ccode","bl_count","Uint16Array","ctree","cleni","fix_lmap","fix_dmap","dlens","_deflateRaw","_deflateRawIIFE","DST_LN_RE","LEN_LN_RE","write_stored","boff","write_huff_fixed","addrs","hash","mlen","len_eb","dst_eb","off","dyn_lmap","dyn_dmap","dyn_cmap","dyn_len_1","dyn_len_2","dyn","_HLIT","_HDIST","_HCLEN","next_code","hcodes","h1","h2","inflate","outbuf","woff","OL","max_len_1","max_len_2","bits","code","dst","warn_or_throw","wrn","msg","fcnt","start_cd","efsz","fcsz","EF","parse_local_file","meth","crc32","_csz","_usz","ef","cfb_add","unsafe","cdirs","method","compression","desc","fp","fi","crcs","sz_cd","namebuf","ContentTypeMap","htm","xml","gif","jpg","png","mso","thmx","sh33tj5","get_content_type","ctype","ext","write_base64_76","write_quoted_printable","text","encoded","si","end","tmp","parse_quoted_printable","di","line","oi","parse_mime","fname","cte","fdata","trim","row","test","mboundary","boundary","start_di","ca","cstr","dispcnt","csl","qp","cfb_new","fpath","cfb_gc","cfb_del","splice","cfb_mov","old_name","new_name","writeFile","ReadShift","CheckField","_inflateRaw","set_fs","blobify","write_dl","Deno","TextEncoder","utf8write","IE_SaveFile","Blob","navigator","msSaveBlob","saveAs","URL","document","createElement","createObjectURL","url","chrome","downloads","download","revokeObjectURL","setTimeout","href","body","appendChild","click","removeChild","b64","$","File","Folder","open","encoding","close","read_binary","infile","ks","o2","prototype","hasOwnProperty","evert_key","obj","key","K","evert","evert_num","evert_arr","dnthresh","UTC","dnthresh1","dnthresh2","epoch","getTime","res","numdate","setTime","parse_isodur","sec","pdre1","pdre2","pdre3","parseDate","cc2str","arr","debomit","TextDecoder","€","‚","ƒ","„","…","†","‡","ˆ","‰","Š","‹","Œ","Ž","‘","’","“","”","•","–","—","˜","™","š","›","œ","ž","Ÿ","dup","JSON","stringify","fuzzynum","isFinite","NaN","wt","FDRE1","FDRE2","FDISO","utc_append_works","valueOf","fuzzytime1","fuzzytime2","lower_months","fuzzydate","local_to_utc","lower","lnos","getYear","split_regex","safe_split_regex","re","def","utc_to_local","utc","getUTCFullYear","getUTCMonth","getUTCDate","getUTCHours","getUTCMinutes","getUTCSeconds","getUTCMilliseconds","local","getMilliseconds","getdatastr","asNodeBuffer","asBinary","_data","getContent","getdatabin","getdata","safegetzipfile","zip","g","getzipfile","getzipdata","safe","getzipstr","getzipbin","zipentries","zip_add_file","zip_new","zip_read","resolve_path","result","target","step","XML_HEADER","attregexg","tagregex1","tagregex2","tagregex","nsregex","nsregex2","parsexmltag","tag","skip_root","skip_LC","z","eq","quot","strip_ns","encodings",""","'",">","<","&","rencoding","unescapexml","encregex","coderegex","raw_unescapexml","xlsx","decregex","charegex","escapexml","escapexmltag","htmlcharegex","escapehtml","escapexlml","xlml_fixstr","entregex","entrepl","xlml_unfixstr","parsexmlbool","value","utf8reada","orig","utf8readb","utf8readc","utf8corpus","utf8read","matchtag","mtcache","htmldecode","entities","vtregex","vt_cache","vt_regex","vtvregex","vtmregex","parseVector","matches","baseType","WTF","wtregex","writetag","wxt_helper","writextag","write_w3cdtf","toISOString","write_vt","xlml_normalize","xlmlregex","XMLNS","CORE_PROPS","CUST_PROPS","EXT_PROPS","CT","RELS","TCMNT","dc","dcterms","dcmitype","mx","sjs","vt","xsi","xsd","XMLNS_main","XLMLNS","html","read_double_le","Infinity","write_double_le","bs","av","LN2","___toBuffer","___utf16le","__readUInt16LE","___hexlify","__hexlify","___utf8","__readUInt8","__utf8","utf8_b","___lpstr","__lpstr","___cpstr","__cpstr","___lpwstr","__lpwstr","___lpp4","lpp4_","__lpp4","___8lpp4","__8lpp4","___double","__double","is_buf","is_buf_a","lpstr_b","readUInt32LE","cpstr_b","lpwstr_b","lpp4_b","lpp4_8b","double_","readDoubleLE","is_buf_b","__readInt16LE","__readInt32BE","oI","oR","oo","loc","lens","__writeUInt32LE","__writeInt32LE","__writeUInt16LE","WriteShift","cpp","hexstr","fld","pos","parsenoop","recordhopper","cb","tmpbyte","cntbyte","RT","XLSBRecordEnum","buf_array","blksz","newblk","ba_newblk","curbuf","endbuf","ba_endbuf","next","ba_next","ba_end","ba_push","_bufs","write_record","ba","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","decode_row","rowstr","unfix_row","decode_col","colstr","unfix_col","col","split_cell","decode_cell","decode_range","encode_range","cs","ce","fix_range","a1","formula_quote_sheet_name","sname","safe_decode_range","safe_format_cell","XF","numFmtId","format_cell","BErr","sheet_to_workbook","sheet","sheets","SheetNames","Sheets","sheet_new","dense","sheet_add_aoa","_ws","ws","_R","_C","origin","_origin","_range","__R","__Rstr","__C","nullError","sheetStubs","cellDates","cell_ref","aoa_to_sheet","parse_Int32LE","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","write_XLSBCell","parse_XLSBShortCell","write_XLSBShortCell","parse_XLSBCodeName","write_XLSBCodeName","parse_XLNullableWideString","write_XLNullableWideString","parse_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","parse_BrtColor","xColorType","index","nTS","bR","bG","bB","auto","icv","XLSIcv","rgb","rgb2Hex","theme","tint","write_BrtColor","parse_FontFlags","fBold","fItalic","fUnderline","fStrikeout","fOutline","fShadow","fCondense","fExtend","write_FontFlags","font","grbit","italic","strike","outline","shadow","condense","extend","parse_ClipboardFormatOrString","ClipFmt","parse_ClipboardFormatOrAnsiString","parse_ClipboardFormatOrUnicodeString","VT_I2","VT_I4","VT_BOOL","VT_VARIANT","VT_UI4","VT_FILETIME","VT_BLOB","VT_CF","VT_VECTOR_VARIANT","VT_VECTOR_LPSTR","VT_STRING","VT_USTR","VT_CUSTOM","DocSummaryPIDDSI","2147483648","2147483651","1919054434","SummaryPIDSI","CountryEnum","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","_XLSIcv","RBErr","#NULL!","#DIV/0!","#VALUE!","#REF!","#NAME?","#NUM!","#N/A","#GETTING_DATA","#WTF?","XLSLblBuiltIn","ct2type","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml","application/vnd.ms-excel.sheet.macroEnabled.main+xml","application/vnd.ms-excel.sheet.binary.macroEnabled.main","application/vnd.ms-excel.addin.macroEnabled.main+xml","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml","application/vnd.ms-excel.worksheet","application/vnd.ms-excel.binIndexWs","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml","application/vnd.ms-excel.chartsheet","application/vnd.ms-excel.macrosheet+xml","application/vnd.ms-excel.macrosheet","application/vnd.ms-excel.intlmacrosheet","application/vnd.ms-excel.binIndexMs","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml","application/vnd.ms-excel.dialogsheet","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml","application/vnd.ms-excel.sharedStrings","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml","application/vnd.ms-excel.styles","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.openxmlformats-officedocument.spreadsheetml.comments+xml","application/vnd.ms-excel.comments","application/vnd.ms-excel.threadedcomments+xml","application/vnd.ms-excel.person+xml","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml","application/vnd.ms-excel.sheetMetadata","application/vnd.ms-excel.pivotTable","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml","application/vnd.openxmlformats-officedocument.drawingml.chart+xml","application/vnd.ms-office.chartcolorstyle+xml","application/vnd.ms-office.chartstyle+xml","application/vnd.ms-office.chartex+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.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.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","xlsm","xlsb","xlam","xltx","strs","comments","charts","dialogs","macros","metadata","styles","new_ct","rels","threadedcomments","links","coreprops","extprops","custprops","themes","calcchains","vba","drawings","people","TODO","xmlns","parse_ct","ctext","Extension","ContentType","PartName","calcchain","sst","style","defaults","write_ct","type2ct","xmlns:xsd","xmlns:xsi","f1","bookType","f2","f3","WB","SHEET","HLINK","VML","XPATH","XMISS","XLINK","CXML","CXMLP","CMNT","SST","STY","THEME","CHART","CHARTEX","CS","WS","DS","MS","IMG","DRAW","XLMETA","PEOPLE","CONN","VBA","get_rels_path","parse_rels","currentFilePath","!id","rel","Type","Target","Id","TargetMode","canonictarget","write_rels","rid","add_rels","rId","relobj","targetmode","CT_ODS","parse_manifest","Rn","FEtag","exec","write_manifest","manifest","write_rdf_type","write_rdf_has","write_rdf","rdf","write_meta_ods","wb","CORE_PROPS_REGEX","parse_core_props","cur","cp_doit","write_core_props","xmlns:cp","xmlns:dc","xmlns:dcterms","xmlns:dcmitype","Props","CreatedDate","xsi:type","ModifiedDate","PseudoPropsPairs","load_props_pairs","HP","TOP","props","hp","parts","Worksheets","NamedRanges","DefinedNames","Chartsheets","ChartNames","parse_ext_props","HeadingPairs","TitlesOfParts","write_ext_props","W","Application","xmlns:vt","custregex","parse_cust_props","toks","warn","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","write_FILETIME","parse_lpstr","pad","parse_lpwstr","parse_VtStringBase","stringType","parse_VtString","parse_VtUnalignedString","parse_VtVecLpwstrValue","ret","parse_VtVecUnalignedLpstrValue","parse_VtHeadingPair","headingString","parse_TypedPropertyValue","headerParts","parse_VtVecHeadingPairValue","cElements","parse_dictionary","CodePage","dict","parse_BLOB","bytes","parse_ClipboardData","Size","write_TypedPropertyValue","parse_PropertySet","PIDSI","start_addr","NumProps","Dictionary","DictObj","PropID","Offset","PropH","fail","piddsi","oldpos","parsebool","XLSPSSkip","guess_property_type","write_PropertySet","entries","RE","hdr","piao","prop","pr","pio","unshift","pinfo","parse_PropertySetStream","NumSets","FMTID0","FMTID1","Offset0","Offset1","SystemIdentifier","PSet0","rval","FMTID","PSet1","write_PropertySetStream","entries2","clsid2","ps0","ps1","parsenoop2","writezeroes","parslurp","writebool","parseuint16","writeuint16","parseuint16a","parse_Bes","write_Bes","parse_ShortXLUnicodeString","cch","fHighByte","parse_XLUnicodeRichExtendedString","fExtSt","fRichSt","width","cRun","cbExtRst","write_XLUnicodeRichExtendedString","xlstr","nfmts","otext","parse_XLUnicodeStringNoCch","parse_XLUnicodeString","parse_XLUnicodeString2","write_XLUnicodeString","parse_ControlInfo","accel","parse_URLMoniker","extra","parse_FileMoniker","cAnti","preamble","ansiPath","unicodePath","parse_HyperlinkMoniker","parse_HyperlinkString","write_HyperlinkString","parse_Hyperlink","sVer","displayName","targetFrameName","moniker","oleMoniker","Loc","guid","fileTime","Tooltip","write_Hyperlink","hl","hashidx","Pretarget","parse_LongRGBA","parse_LongRGB","parse_XLSCell","rw","ixfe","write_XLSCell","parse_frtHeader","rt","parse_OptXLUnicodeString","parse_XTI","iSupBook","itabFirst","itabLast","parse_RkRec","parse_AddinUdf","udfName","parse_Ref8U","rwFirst","rwLast","colFirst","colLast","write_Ref8U","parse_RefU","parse_Ref","parse_FtCmo","ot","id","parse_FtNts","fSharedNote","parse_FtCf","cf","parse_FtSkip","FtTab","parse_FtArray","fts","ft","parse_BOF","BIFFVer","write_BOF","parse_InterfaceHdr","parse_WriteAccess","UserName","write_WriteAccess","b8","parse_WsBool","fDialog","fBelow","fRight","parse_BoundSheet8","hidden","hs","write_BoundSheet8","parse_SST","ucnt","Count","Unique","write_SST","parse_ExtSST","extsst","dsst","parse_Row","miyRw","level","hpt","parse_ForceFullCalculation","fullcalc","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","write_Window1","parse_Window2","RTL","write_Window2","parse_Pane","parse_Font","dyHeight","write_Font","b5","parse_LabelSst","isst","write_LabelSst","os","parse_Label","biffguess","write_Label","parse_Format","fmtstr","write_Format","parse_BIFF2Format","write_BIFF2Format","write_BIFF4Format","parse_Dimensions","write_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_XF","fStyle","write_XF","ixfeP","parse_BIFF2XF","write_BIFF2XF","xf","write_BIFF3XF","write_BIFF4XF","parse_BIFF3XF","parse_BIFF4XF","parse_Guts","write_Guts","guts","parse_BoolErr","write_BoolErr","parse_Number","xnum","write_Number","parse_XLHeaderFooter","parse_SupBook","ctab","sbcch","virtPath","rgst","parse_ExternName","fBuiltIn","fWantAdvise","fWantPict","fOle","fOleLink","fIcon","Name","parse_Lbl","chKey","cce","itab","npflen","rgce","parse_NameParsedFormula","parse_ExternSheet","parse_BIFF5ExternSheet","parse_NameCmt","cchName","cchComment","comment","parse_ShrFmla","ref","cUse","parse_SharedParsedFormula","parse_Array","parse_ArrayParsedFormula","parse_MTRSettings","fMTREnabled","fUserSetThreadCount","cUserThreadCount","parse_NoteSh","idObj","stAuthor","parse_Note","cmnt","write_NOTE_BIFF2","parse_MergeCells","merges","cmcs","write_MergeCells","parse_Obj","parse_BIFF5Obj","cmo","parse_BIFF5OT","parse_TxO","texts","lastobj","controlInfo","cchText","parse_HLink","hlink","write_HLink","O","parse_HLinkTooltip","wzTooltip","write_HLinkTooltip","parse_Country","write_Country","parse_ClrtClient","ccv","parse_Palette","parse_XFCRC","cxfs","crc","parse_ColInfo","coldx","write_ColInfo","parse_Setup","footer","parse_ShtProps","area","write_RRTabId","parse_Blank","parse_Scl","parse_String","parse_ImData","env","lcb","write_BIFF2Cell","ifmt","parse_BIFF2STR","parse_BIFF2NUM","num","write_BIFF2NUM","parse_BIFF2INT","write_BIFF2INT","parse_BIFF2STRING","parse_BIFF2BOOLERR","bestart","parse_BIFF2FONTXTRA","parse_RString","parse_BIFF4SheetInfo","DBF_SUPPORTED_VERSIONS","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","87","88","89","108","135","dbf_reverse_map","dbf_to_aoa","memo","vfp","l7","nrow","fpos","rlen","current_cp","codepage","fields","field","hend","hi","lo","sheetRows","dbf_to_sheet","wch","dbf_to_workbook","_RLEN","?","","sheet_to_dbf","old_cp","aoa","sheet_to_json","headers","cols","hcnt","coltypes","colwidths","coldecimals","guess","_guess","hf","_f","hb","rout","_n","_l","_s","to_workbook","to_sheet","from_sheet","SYLK","sylk_escapes","AA","BA","CA","DA","HA","JA","AE","BE","CE","HE","AI","BI","CI","HI","AO","BO","CO","DO","HO","AU","BU","CU","HU","Aa","Ba","Ca","Da","Ha","Ja","Ae","Be","Ce","He","Ai","Bi","Ci","Hi","Ao","Bo","Co","Do","Ho","Au","Bu","Cu","Hu","KC","Kc","DN","Dn","Hy","B ","!","\"","#","(","%","'","H ","+",";","<","=",">","{","sylk_char_regex","sylk_char_fn","_","decode_sylk_char","newcc","encode_sylk_str","sylk_to_aoa","sylk_to_aoa_str","records","rj","formats","next_cell_format","sht","rowinfo","colinfo","cw","Mval","Workbook","WBProps","Names","rstr","record","d1904","nn","Sheet","Ref","rc_to_a1","C_seen_K","C_seen_X","C_seen_S","C_seen_E","formula","cell_t","cellText","shrbase","shift_formula_str","F_seen","hpx","pt2px","process_col","sylk_to_workbook","aoasht","outwb","write_ws_cell_sylk","a1_to_rc","write_ws_cmnt_sylk","write_ws_cols_sylk","rec","wpx","width2px","px2char","write_ws_rows_sylk","rows","px2pt","sheet_to_sylk","_formats","RS","_lastfmt","DIF","dif_to_aoa","dif_to_aoa_str","dif_to_sheet","dif_to_workbook","make_value","make_value_str","sheet_to_dif","_DIF_XL","ETH","eth_to_aoa","eth_to_sheet","eth_to_workbook","sep","meta","sheet_to_eth_data","coord","sheet_to_eth","PRN","set_text_arr","prn_to_aoa_str","lines","guess_seps","guess_sep_weights","guess_sep","instr","dsv_to_sheet_str","FS","sepcc","startcc","_re","finish_cell","fuzzyfmla","news","cellNF","outer","prn_to_sheet_str","prn_to_sheet","firstbyte","prn_to_workbook","sheet_to_prn","read_wb_ID","OLD_WTF","WK_","lotushopper","Enum","WK1Enum","lotus_to_workbook","lotus_to_workbook_buf","LOTUS_DATE_FMTS","next_n","sidx","snames","realnames","sdata","refguess","lastcell","qpw_to_workbook_buf","vers","qpro","works","works2","tmpcell","WK3Enum","osheets","rnames","!ref","sheet_to_wk1","write_biff_rec","write_BOF_WK1","write_RANGE","max_R","write_INTEGER","write_NUMBER","write_LABEL","book_to_wk3","write_BOF_WK3","write_XFORMAT_SHEETNAME","wsidx","write_NUMBER_17","write_LABEL_16","wscnt","parse_RANGE","parse_cell","get_wk1_fmt","parse_LABEL","parse_STRING","parse_INTEGER","parse_NUMBER","parse_FORMULA","wk1_fmla_to_csf","wk1_parse_rc","FuncTab","83","109","111","BinOpTab","argc","argL","argR","args","parse_cell_3","parse_LABEL_16","parse_NUMBER_18","parse_NUMBER_17","v1","v2","log2","parse_FORMULA_19","parse_NUMBER_25","parse_NUMBER_27","parse_FORMULA_28","parse_SHEETNAMECS","parse_SHEETNAMELP","parse_SHEETINFOQP","parse_XFORMAT","21506","142","147","153","154","155","156","174","175","176","184","185","187","188","195","205","206","207","208","256","259","260","261","262","263","265","266","267","268","270","271","384","389","390","393","396","512","514","513","516","517","640","641","642","643","644","645","646","647","648","658","659","660","661","662","665","666","768","772","1537","1600","1602","1793","1794","1795","1796","1920","2048","2049","2052","2688","10998","12849","28233","28484","QPWNFTable","288","304","320","parse_qpw_str","formulae","FMTS","book_append_sheet","CC","fmtidx","delta","newcell","parse_rpr","rpr","pass","uval","family","valign","parse_rs","tregex","rpregex","parse_r","rregex","rend","rs","filter","rs_to_html","parse_rs_factory","nlregex","parse_rpr2","intro","outro","align","r_to_html","terms","sitregex","sirregex","sirphregex","parse_si","cellHTML","sstr0","sstr1","sstr2","parse_sst_xml","count","uniqueCount","straywsregex","write_sst_xml","bookSST","sitag","parse_BrtBeginSst","parse_sst_bin","hopper_sst","write_BrtBeginSst","write_BrtSSTItem","write_sst_bin","_JS2ANSI","parse_CRYPTOVersion","Major","Minor","parse_DataSpaceVersionInfo","U","parse_DataSpaceMapEntry","comps","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","KeyData","xml_agile","encryptedHmacKey","encryptedHmacValue","encs","uri","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","parse_FilePassHeader","Info","parse_FilePass","rtf_to_sheet","rtf_to_sheet_str","rowtf","rtfre","last_index","rtf_to_workbook","sheet_to_rtf","hex2RGB","rgb2HSL","G","H6","L2","hsl2RGB","hsl","h6","X","rgb_tint","hex","DEF_MDW","MAX_MDW","MIN_MDW","MDW","px","char2width","chr","cycle_width","collw","find_mdw_colw","_MDW","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","diagonalUp","diagonalDown","parse_fills","Fills","bgColor","indexed","fgColor","parse_fonts","Fonts","bold","underline","vertAlign","scheme","themeElements","clrScheme","parse_numFmts","NumberFmt","formatCode","write_numFmts","NF","cellXF_uint","cellXF_bool","parse_cellXfs","CellXf","alignment","vertical","horizontal","textRotation","indent","wrapText","write_cellXfs","cellXfs","parse_sty_xml","make_pstyx","numFmtRegex","cellXfRegex","fillsRegex","fontsRegex","bordersRegex","write_sty_xml","parse_BrtFmt","stFmtCode","write_BrtFmt","parse_BrtFont","bls","bCharSet","charset","write_BrtFont","sss","XLSBFillPTNames","rev_XLSBFillPTNames","parse_BrtFill","write_BrtFill","fls","parse_BrtXF","ixfeParent","write_BrtXF","flow","write_Blxf","parse_BrtBorder","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","XLSXThemeClrScheme","parse_clrScheme","lastClr","parse_fontScheme","parse_fmtScheme","clrsregex","fntsregex","fmtsregex","parse_themeElements","themeltregex","parse_theme_xml","write_theme","Themes","themeXLSX","parse_Theme","dwThemeVersion","themeXML","parse_ColorTheme","parse_FullColorExt","xclrType","nTintShade","xclrValue","parse_IcvXF","parse_XFExtGradient","parse_ExtProp","extType","parse_XFExt","cexts","update_xfext","xfext","xfe","parse_BrtMdtinfo","write_BrtMdtinfo","parse_BrtMdb","write_BrtMdb","write_BrtBeginEsfmd","parse_BrtBeginEsmdb","write_BrtBeginEsmdb","cm","parse_xlmeta_bin","Types","Cell","metatype","write_xlmeta_bin","parse_xlmeta_xml","lastmeta","offsets","write_xlmeta_xml","parse_cc_xml","parse_BrtCalcChainItem$","parse_cc_bin","hopper_cc","parse_xlink_xml","parse_xlink_bin","xlink_parse","parse_drawing","shapevmlregex","parse_vml","cidx","aidx","ObjectType","ws_get_cell_stub","write_vml","csize","bbox","xmlns:v","xmlns:o","xmlns:x","xmlns:mv","v:ext","_shapeid","_comments","joinstyle","gradientshapeok","o:connecttype","coordsize","o:spt","write_vml_comment","fillopts","color2","angle","fillparm","fillxml","shadata","on","obscured","fillcolor","strokecolor","sheet_insert_comments","threaded","author","parse_comments_xml","authors","commentList","authtag","cmnttag","authorId","textMatch","write_comments_xml","iauthor","ID","lastauthor","ts","tcnt","parse_tcmnt_xml","tidx","xml_tcmnt","personId","write_tcmnt_xml","carr","rootid","tcopts","tcid","parentId","parse_people_xml","displayname","write_people_xml","person","userId","providerId","parse_BrtBeginComment","rfx","write_BrtBeginComment","parse_BrtCommentAuthor","write_BrtCommentAuthor","parse_comments_bin","hopper_cmnt","write_comments_bin","_ia","CT_VBA","make_vba_xls","newcfb","newpath","fill_vba_xls","VBAFMTS","parse_ds_bin","!type","parse_ds_xml","parse_ms_bin","parse_ms_xml","rcregex","rcbase","rcfunc","fstr","crefregex","$0","$4","$5","shift_formula_xlsx","_xlfn","parseread1","parse_ColRelU","parse_RgceArea","parse_RgceArea_BIFF2","parse_RgceAreaRel","parse_RgceLoc","parse_RgceLoc_BIFF2","parse_RgceElfLoc","fQuoted","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","parse_PtgRefN","parse_PtgRef3d","parse_PtgFunc","iftab","FtabArgc","Ftab","parse_PtgFuncVar","cparams","tab","parsetab","Cetab","parse_PtgAttrSum","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_PtgMemErr","parse_PtgMemNoMem","parse_PtgTbl","parse_PtgElfLoc","parse_PtgElfNoop","parse_PtgElfCol","parse_PtgElfColS","parse_PtgElfColSV","parse_PtgElfColV","parse_PtgElfLel","parse_PtgElfRadical","parse_PtgElfRadicalLel","parse_PtgElfRadicalS","parse_PtgElfRw","parse_PtgElfRwV","PtgListRT","parse_PtgList","coltype","parse_PtgSxName","parse_PtgSheet","parse_PtgEndSheet","parse_PtgMemAreaN","parse_PtgMemNoMemN","parse_PtgAttrNoop","PtgTypes","PtgDupes","96","97","98","99","110","91","92","93","Ptg18","Ptg19","parse_RgbExtra","parse_Rgce","ptgs","stringify_array","PtgBinOp","PtgAdd","PtgConcat","PtgDiv","PtgEq","PtgGe","PtgGt","PtgLe","PtgLt","PtgMul","PtgNe","PtgPower","PtgSub","make_3d_range","get_ixti_raw","supbooks","XTI","SID","get_ixti","ixtiraw","stringify_formula","stack","nameidx","last_sp","sp","fflen","func","lbl","names","xlfn","bookidx","externbook","ixtidata","lp","rp","sharedf","parsedf","fnd","arrayf","PtgNonDisp","_left","rgcb","parse_XLSCellParsedFormula","parse_FormulaValue","write_FormulaValue","parse_Formula","cbf","shared","write_Formula","o1","o3","bf","parse_XLSBParsedFormula","parse_XLSBArrayParsedFormula","parse_XLSBCellParsedFormula","parse_XLSBNameParsedFormula","parse_XLSBSharedParsedFormula","write_XLSBFormulaNum","oint","write_XLSBFormulaErr","write_XLSBFormulaBool","write_XLSBFormulaStr","postamble","write_XLSBFormulaRef","write_XLSBFormulaRef3D","lastbang","write_XLSBFormulaRefErr3D","write_XLSBFormulaRange","_str","write_XLSBFormulaRangeWS","write_XLSBFormulaArea3D","write_XLSBFormula","write_XLSBNameParsedFormula","85","94","95","112","113","114","115","116","117","118","119","127","131","132","133","137","138","139","140","143","144","145","146","148","149","159","164","166","167","168","169","170","171","172","173","189","190","191","192","193","194","196","197","198","199","209","210","211","212","214","215","217","219","220","223","224","225","226","227","228","229","240","243","249","250","251","252","253","254","269","272","273","274","276","277","278","279","280","281","282","283","284","285","289","290","291","292","293","295","296","297","298","302","305","306","307","308","309","310","311","312","313","314","315","316","318","319","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","385","386","388","391","392","394","395","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","518","519","520","521","522","523","545","546","547","548","549","620","621","653","667","673","753","755","808","141","157","158","160","165","179","180","181","182","183","221","230","231","232","233","234","235","236","237","239","241","242","244","245","246","247","248","257","258","264","275","286","287","294","299","300","301","303","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","401","402","403","404","405","406","407","408","409","410","411","418","419","426","427","428","429","457","724","479","483","484","ods_to_csf_formula","csf_to_ods_formula","ods_to_csf_3D","csf_to_ods_3D","_ssfopts","browser_has_Map","Map","get_sst_id","has","revarr","get","col_obj_w","outlineLevel","default_margins","margins","mode","defs","left","right","top","bottom","get_cell_style","revssf","ssf","applyNumberFormat","safe_format","fillid","raw_rgb","check_ws","parse_ws_xml_dim","mergecregex","sheetdataregex","hlinkregex","dimregex","colregex","afregex","marginregex","sheetprregex","sheetprregex2","svsregex","parse_ws_xml","data1","data2","mtch","sheetPr","parse_ws_xml_sheetpr","parse_ws_xml_sheetpr2","nodim","svs","parse_ws_xml_sheetviews","columns","parse_ws_xml_cols","parse_ws_xml_data","afilter","parse_ws_xml_autofilter","_merge","parse_ws_xml_hlinks","parse_ws_xml_margins","tmpref","write_ws_xml_merges","codeName","CodeName","write_ws_xml_sheetpr","needed","vbaraw","cname","outlineprops","summaryBelow","summaryRight","above","sheetprot_deffalse","sheetprot_deftrue","write_ws_xml_protection","location","Rel","tooltip","rng","margin","write_ws_xml_margins","seencol","coli","colm","colM","write_ws_xml_cols","write_ws_xml_autofilter","sviewregex","Views","zoomScale","zoom","rightToLeft","write_ws_xml_sheetviews","sview","workbookViewId","write_ws_xml_cell","oldt","oldv","_vv","Strings","revStrings","display","cellregex","rowregex","isregex","refregex","match_v","match_f","cells","cref","tagr","tagc","sstr","ftag","do_format","rowobj","rowrite","marr","marrlen","xlen","rstarti","outa","ht","rslice","cellFormula","___f","_tag","xlmeta","_r","write_ws_xml_data","params","height","_cell","customHeight","write_ws_xml","xmlns:r","rdata","_drawing","sheetFormat","defaultRowHeight","baseColWidth","outlineLevelRow","relc","ignoreEC","numberStoredAsText","sqref","r:id","parse_BrtRowHdr","write_BrtRowHdr","ncolspan","lcs","caddr","first","last","write_row_header","parse_BrtWsDim","write_BrtWsDim","parse_BrtWsFmtInfo","parse_BrtWsProp","write_BrtWsProp","parse_BrtCellBlank","write_BrtCellBlank","ncell","parse_BrtShortBlank","write_BrtShortBlank","parse_BrtCellBool","fBool","write_BrtCellBool","parse_BrtShortBool","write_BrtShortBool","parse_BrtCellError","bError","write_BrtCellError","parse_BrtShortError","write_BrtShortError","parse_BrtCellIsst","write_BrtCellIsst","parse_BrtShortIsst","write_BrtShortIsst","parse_BrtCellReal","write_BrtCellReal","parse_BrtShortReal","write_BrtShortReal","parse_BrtCellRk","write_BrtCellRk","parse_BrtShortRk","write_BrtShortRk","parse_BrtCellRString","parse_BrtCellSt","write_BrtCellSt","parse_BrtShortSt","write_BrtShortSt","parse_BrtFmlaBool","parse_BrtFmlaError","parse_BrtFmlaNum","parse_BrtFmlaString","parse_BrtMergeCell","write_BrtMergeCell","write_BrtBeginMergeCells","parse_BrtHLink","relId","write_BrtHLink","locidx","parse_BrtPane","parse_BrtArrFmla","fAlwaysCalc","parse_BrtShrFmla","write_BrtColInfo","BrtMarginKeys","parse_BrtMargins","write_BrtMargins","parse_BrtBeginWsView","write_BrtBeginWsView","write_BrtCellIgnoreEC","write_BrtSheetProtection","parse_BrtDVal","parse_BrtDVal14","parse_ws_bin","ai","af","vm","ws_parse","RR","aii","_d","write_ws_bin_cell","last_seen","write_CELLTABLE","cap","write_MERGECELLS","write_COLINFOS","write_IGNOREECS","write_HLINKS","write_LEGACYDRAWING","write_AUTOFILTER","write_WSVIEWS2","write_WSFMTINFO","write_SHEETPROTECT","write_ws_bin","parse_Cache","nf","parse_chart","csheet","nc","parse_cs_xml","!drawel","!rel","parse_BrtCsProp","parse_cs_bin","cs_parse","WBPropsDef","WBViewDef","SheetDef","CalcPrDef","push_defaults_array","push_defaults","parse_wb_defaults","CalcPr","WBView","safe1904","badchars","check_ws_name","check_wb_names","N","codes","cn","check_wb","dn","wbnsregex","parse_wb_xml","dname","dnstart","xml_wb","Hidden","Comment","localSheetId","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","write_BrtName","parse_wb_bin","hopper_wb","write_BUNDLESHS","viz","write_BrtFileVersion","write_BrtBookView","write_BOOKVIEWS","vistab","write_BRTNAMES","write_SELF_EXTERNS_xlsb","write_EXTERNALS_xlsb","write_wb_bin","parse_wb","parse_ws","parse_cs","parse_ms","parse_ds","parse_sty","parse_sst","parse_cmnt","parse_cc","parse_xlink","parse_xlmeta","attregexg2","attregex2","xlml_parsexmltag","words","xlml_parsexmltagobj","XLMLFormatMap","xlml_format","xlml_set_custprop","oval","safe_format_xlml","process_style_xlml","stag","Interior","I","Pattern","parse_xlml_data","csty","sid","StyleID","interiors","Parent","Formula","ArrayRange","xlml_prefix_dname","xlml_clean_comment","parse_xlml_xml","opening","ishtml","_o","html_to_workbook","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","sheetnames","cursheet","sheetname","dtag","didx","fidx","pidx","cstys","wsprops","raw_Rn3","HRef","HRefScreenTip","MergeAcross","MergeDown","cma","cmd","AutoFitHeight","Height","Format","ssfidx","Width","_col","Span","_NamedRange","_DefinedName","RefersTo","AutoFilter","Range","parse_fods","Margin","pagemargins","Top","Left","Right","Bottom","bookSheets","bookProps","parse_xlml","fix_read_opts","write_props_xlml","write_wb_xlml","write_sty_xlml","ss:Format","ss:ID","write_name_xlml","ss:Name","ss:RefersTo","write_names_xlml","write_ws_xlml_names","write_ws_xlml_wsopts","x:Margin","x:Bottom","x:Left","x:Right","x:Top","objects","scenarios","selectLockedCells","selectUnlockedCells","write_ws_xlml_comment","write_ws_xlml_cell","attr","mi","_v","write_ws_xlml_row","write_ws_xlml_table","ss:Index","skip","write_ws_xlml","write_xlml","General","xmlns:ss","xmlns:dt","xmlns:html","parse_compobj","AnsiUserType","AnsiClipboardFormat","Reserved1","UnicodeClipboardFormat","Reserved2","CONTINUE_RT","slurp","RecordType","nextrt","XLSRecordEnum","ll","safe_format_xf","make_cell","parse_workbook","Directory","last_formula","cur_sheet","Preamble","last_cell","rngC","rngR","temp_val","country","XFs","palette","biff4w","get_rgb","getrgb","process_cell_style","pcs","xfd","addcell","file_depth","afi","rrtabid","lastuser","winlocked","wtf","last_RT","BIFF2Fmt","BIFF2FmtTable","FilterDatabases","last_lbl","seen_codepage","Date1904","WriteProtect","cpval","CalcRefMode","FullCalc","ExternCount","tmpri","1033","1024","1280","1536","fakebs8","_fr","_fc","_fe","_arraystart","_j","_ixfe","b4idx","b2idx","TxO","ImData","noteobj","Encryption","Metadata","Country","PSCLSID","SI","DSI","UDI","parse_xls_props","DocSummary","Summary","write_xls_props","DSEntries","SEntries","CEntries","Keys","DocSummaryRE","SummaryRE","CEntries2","parse_xlscfb","CompObj","WorkbookP","bookVBA","bookFiles","write_xlscfb","wbpath","write_biff_buf","333","486","487","488","490","492","496","497","498","499","500","501","502","503","504","505","506","507","508","515","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","649","650","651","652","654","655","656","657","663","664","668","669","671","672","674","675","676","677","678","679","680","681","1025","1026","1027","1028","1029","1030","1031","1032","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","1064","1065","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","2050","2051","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","2137","2138","2139","2140","2141","3072","3073","4096","4097","5002","5003","5081","5082","5083","5084","5085","5086","5087","5088","5089","5090","5092","5093","5094","5095","5096","5097","5099","1212","2059","2061","2062","2063","2064","2066","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","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","2262","29282","write_biff_continue","write_BIFF2BERR","write_BIFF2LABEL","write_comments_biff2","write_ws_biff2_cell","_BIFF2FmtTable","write_ws_biff2","write_biff2_buf","_Fonts","b8oid","b8ocnts","write_MsoDrawingGroup","acc","write_comments_biff8","notes","baseid","_oasc","ci","oasc","oact","txo","cont","conf","notesh","write_FONTS_biff8","write_FMTS_biff8","write_FEAT","write_CELLXFS_biff8","write_ws_biff8_hlinks","HL","write_ws_cols_biff8","write_ws_biff8_cell","write_ws_biff8","_WB","_sheet","MAX_ROWS","write_biff8_global","_sheets","_wb","blen","write_biff8_buf","fix_write_opts","html_to_sheet","mtch2","hd","midx","colspan","rowspan","_t","make_html_row","editable","HTML_BEGIN","HTML_END","book_new","make_html_preamble","sheet_to_html","sheet_add_dom","tagName","or_R","or_C","is_dom_element_hidden","elts","hasAttribute","getAttribute","innerHTML","Aelts","getElementsByTagName","Aelti","parse_dom_table","table_to_book","element","get_computed_style","get_get_computed_style_function","getPropertyValue","ownerDocument","defaultView","getComputedStyle","parse_text_p","fixed","parse_ods_styles","_nfm","number_format_map","NFtag","tNF","etpos","infmt","parse_content_xml","nfidx","sheetag","rowtag","ctag","textp","textpidx","textptag","oldtextp","oldtextpidx","textR","oldtextR","row_ol","mrange","mR","mC","rowpeat","colpeat","atag","_Ref","creator","creatoridx","isstub","intable","rptR","rpt","annotag","xlmlidx","styletag","nrange","ptp","parse_ods","Styles","write_styles_ods","master_styles","xmlns:office","xmlns:table","xmlns:style","xmlns:text","xmlns:draw","xmlns:fo","xmlns:xlink","xmlns:number","xmlns:svg","xmlns:of","office:version","wso","write_number_format_ods","nopts","style:name","number:min-integer-digits","number:min-numerator-digits","number:max-denominator-value","number:denominator-value","number:decimal-places","number:min-decimal-places","has_time","np","write_names_ods","scoped","namei","odsref","table:name","table:cell-range-address","table:base-cell-address","write_content_ods","write_text_p","null_cell_xml","write_ws","nfs","ods","ROWS","_Fref","text_p","_tgt","xlink:href","acreator","apayload","aprops","write_automatic_styles_ods","colobj","nfi","wcx","xmlns:meta","xmlns:presentation","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:xhtml","xmlns:grddl","xmlns:tableooo","xmlns:drawooo","xmlns:calcext","xmlns:loext","xmlns:field","xmlns:formx","xmlns:css3t","fods","xmlns:config","office:mimetype","write_ods","u8_to_dataview","array","DataView","buffer","byteOffset","byteLength","u8str","u8","stru8","u8concat","u8a","popcnt","readDecimal128LE","exp","mantissa","writeDecimal128LE","parse_varint49","ptr","varint","write_varint49","parse_packed_varints","write_packed_varints","nums","varint_to_i32","i32","varint_to_u64","parse_shallow","write_shallow","proto","item","mappa","parse_iwa_file","_a","messages","merge","write_iwa_file","ias","ia","midata","aipayload","mid","parse_snappy_chunk","chunks","clen","u8i","decompress_iwa_file","compress_iwa_file","frame","numbers_lut_new","rsst","nfmt","fmla","ferr","numbers_format_cell","_b","_c","ver","dur","dstyle","dmin","dmax","autodur","dstr","zstr","parse_old_storage","lut","dv","getUint32","zidx","ieee","doff","getFloat64","rts","parse_new_storage","d128","eidx","cmntidx","iwa_to_s5s_comment","write_new_storage","setFloat64","irsst","findIndex","setUint32","s5s_to_iwa_comment","write_old_storage","parse_cell_storage","parse_TSP_Reference","pb","write_TSP_Reference","numbers_add_oref","iwa","orefs","orefidx","numbers_del_oref","parse_TST_TableDataList","le","rtp","rtpref","mtype","tswpsa","richtext","sfields","smartfields","sf","_a2","_b2","objtype","parse_TSD_CommentStorageArchive","parse_TST_TileRowInfo","_e","_g","_h","_i","_k","_m","wide_offsets","used_storage_u8","used_storage","used_storage_offsets","getUint16","parse_TST_Tile","nrows","reduce","csp","as","asp","replies","pi","reply","s5s","parse_TST_TableModelArchive","dws","store","tile","rtt","kv","tl","ref2","mtype2","_tile","parse_TST_TableInfoArchive","tableref","parse_TN_SheetArchive","shapeoffs","parse_TN_DocumentArchive","sheetoffs","root2","parse_numbers_iwa","indices","packets","packet","docroot","iwam","write_TST_TileRowInfo","wide","tri","new_7","new_4","last_offset","cell_storage","_dv","_last_offset","_cell_storage","setUint16","celload","_celload","write_iwam","get_unique_msgid","dep","dependents","build_numbers_deps","deps","mess","write_TSP_Color_RGB","Float32Array","get_author_color","random","write_numbers_iwa","numbers","numbers_iwa_find","sheetrefs","numbers_add_ws","write_numbers_ws","numbers_iwa_doit","ainfo","numbers_add_meta","mlist","newid","newloc","numbers_add_msg","numbers_meta_add_dep","parentidx","mm","parent","dep2","numbers_meta_del_dep","sheetref","newsheetref","remap","arch","doc","tiaref","sheetroot","sa","drawables","tia","tmaref","tiaroot","da","dap","oldtmaref","tma","tmaroot","uuid","new_uuid","srrta","hsoa","hsa","hseadata","hsea","oldref","newref","row_headers","tspref","tiles","tst","oldtileref","newtileref","oldtile","wsname","sheetidx","rootref","write_numbers_tma","USE_WIDE_ROWS","tmafile","trunc","R_","LUT","row_header_ref","rowhead","_x","base_bucket","R2","_bucket","col_header_ref","colhead","rbtree","tilestore","tstride","tileref","save_token","mlst","ntiles","newtileid","tiledata","tilerow","newtile","tilecontent","mergeid","sstref","sstroot","sstdata","rsstref","rsstroot","rsstdata","style_indices","tswpsaid","tswpsarefs","newhlinkid","smartfield","rtpaid","cmntref","cmntroot","cmntdata","aaaid2","csaid2","aaaid","csaid","fix_opts_func","fix_opts","get_sheet_type","safe_parse_wbrels","wbrels","pwbr","parse_sheet_legacy_drawing","dfile","draw","safe_parse_sheet","relsPath","sheetRels","stype","drelsp","chartp","crelsp","tcomments","strip_front_slash","_zip","index_zip","Bun","readSync","dir","binname","link","propdata","pluck","bookDeps","wbsheets","wbext","wbrelsi","wbrelsfile","nmode","wsloop","snjseen","snj","Deps","bin","parse_xlsxcfb","dsm","seds","einfo","decrypt_agile","decrypt_std76","write_zip_xlsb","foo","vbafmt","_sn","wsrels","_type","need_vml","needtc","rId1","write_zip_xlsx","read_cfb","read_zip","read_plaintext","main","read_plaintext_raw","read_utf16","bstrify","read_prn","ab","vu","write_cfb_ctr","write_zip_type","write_zip_denouement","write_zip_typeXLSX","oopts","ftype","nodebuffer","string","generate","encrypt_agile","write_cfb_type","write_string_type","bom","write_stxt_type","write_binary_type","writeSyncXLSX","writeSync","sheet_to_txt","sheet_to_csv","resolve_book_type","_BT","xls","slk","socialcalc","Sh33tJS","writeFileSyncXLSX","writeFileAsync","_cb","Function","make_json_row","defval","isempty","defineProperty","enumerable","__rowNum__","rawNumbers","outi","counter","header_cnt","skipHidden","blankrows","qreg","make_csv_row","txt","datarow","forceQuotes","endregex","strip","sheet_to_formulae","cmds","sheet_add_json","js","skipHeader","ROW","JS","json_to_sheet","RC","wb_sheet_idx","sh","roll","book_set_sheet_visibility","vis","cell_set_number_format","cell_set_hyperlink","cell_set_internal_link","cell_add_comment","sheet_set_array_formula","dynamic","rngstr","wsr","table_to_sheet","sheet_to_row_object_array","sheet_get_cell","SHEET_VISIBLE","SHEET_HIDDEN","SHEET_VERY_HIDDEN","_Readable","set_readable","write_csv_stream","stream","BOM","_read","write_html_stream","write_json_stream","objectMode","__stream","to_json","to_html","to_csv","readFile","writeXLSX","writeFileXLSX","strmod","Readable","define","amd","window"],"mappings":";AAAA,GAAIA,wBAAyB,ICE7B,IAAIC,UAAWC,QAAQ,SACvBD,SAAQ,KAAO,WAAa,GAAIE,GAAI,8QAAkZC,KAAQC,IAAQ,KAAI,GAAIC,GAAE,EAAEA,GAAGH,EAAEI,SAASD,EAAG,CAAE,GAAGH,EAAEK,WAAWF,KAAO,MAAQD,EAAEF,EAAEM,OAAOH,IAAMA,CAAGF,GAAEE,GAAKH,EAAEM,OAAOH,GAAM,OAAQI,IAAOL,EAAGM,IAAOP,KACvkBH,SAAQ,KAAO,WAAa,GAAIE,GAAI,8QAAkZC,KAAQC,IAAQ,KAAI,GAAIC,GAAE,EAAEA,GAAGH,EAAEI,SAASD,EAAG,CAAE,GAAGH,EAAEK,WAAWF,KAAO,MAAQD,EAAEF,EAAEM,OAAOH,IAAMA,CAAGF,GAAEE,GAAKH,EAAEM,OAAOH,GAAM,OAAQI,IAAOL,EAAGM,IAAOP,KACvkBH,SAAQ,KAAO,WAAa,GAAIE,GAAI,8QAAkZC,KAAQC,IAAQ,KAAI,GAAI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EiyD,IAC/Bqc,MAAkCtuE,EAAEk0D,IACpCqa,QACAkuD,QACAC,QACAluD,QACAmuD,QACAC,QACAC,QACAC,QACAC,MAAyB/8H,EAAE+nD,IAC3Bi1E,QACAoG,QACAnG,QACAoG,QACAC,QACAC,QACAC,QACAC,QACAvG,QACA4D,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAkC,QACAC,MAA6B3wH,EAAE,IAC/B4wH,QACAC,QACAC,QACAC,MAA6B/jI,EAAEuiD,IAC/ByhF,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,MAA2B9kI,EAAE00D,GAAa1hD,EAAE,IAC5C+xH,MAA2B/kI,EAAE0hF,GAAa1uE,EAAE,IAC5CgyH,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,MAA8B1lI,EAAE0gD,GAAW1tC,EAAE,IAC7C2yH,QACAC,MAAiC5yH,EAAE,IACnC6yH,QACAC,QACAC,QACAC,QACAC,MAA6BjmI,EAAE6xD,GAAe7+C,EAAE,IAChDkzH,QACAC,MAA2BnmI,EAAE8gF,GAAa9tE,EAAE,IAC5CozH,QACAC,QACAC,QACAC,MAAiCvmI,EAAEuyD,GAAmBv/C,EAAE,IACxDwzH,MAAsCxmI,EAAEuiD,IACxCkkF,QACAC,QACAC,QACAC,QACAC,MAA0C7mI,EAAE2pD,IAC5Cm9E,QACAC,QACAC,QACAC,QACAlF,QACAmF,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,MAA2B5oI,EAAE2iD,IAC7BkmF,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,M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,UAAU47I,MAAa,YAAahwJ,EAAK0vJ,OAASM,EAClD,UAAUx4I,MAAQ,YAAaxX,EAAKwX,IAAMA,EAC1C,UAAUve,WAAY,YAAa,CACjC,GAAIs3J,IAAShtJ,SACb,KAAIgtJ,QAAYC,SAAUhB,GAAae,GAAOC,SAC/C,KAAMz2I,GAAMxW,UAAa,MAAMnL,OAIhC,SAAUU,WAAY,YAAamH,cAAcnH,aAC5C,UAAUD,UAAW,aAAeA,OAAOC,QAASmH,cAAcpH,OAAOC,aACzE,UAAU23J,UAAW,YAAcA,OAAOC,IAAKD,OAAO,OAAQ,WAAa,IAAIzwJ,KAAK/H,QAASgI,cAAcD,KAAO,OAAOA,YACzHC,eAAcD,KAEnB,UAAU2wJ,UAAW,cAAgBA,OAAO3wJ,KAAM,IAAM2wJ,OAAO3wJ,KAAOA,KAAQ,MAAM5H","file":"dist/xlsx.full.min.js"} \ No newline at end of file +{"version":3,"sources":["misc/suppress_export.js","dist/cpexcel.js","dist/xlsx.js"],"names":["DO_NOT_EXPORT_CODEPAGE","cptable","version","d","D","e","i","length","charCodeAt","charAt","enc","dec","j","split","module","exports","root","factory","require","cpt","Error","this","magic","1200","1201","12000","12001","16969","20127","65000","65001","sbcs_cache","dbcs_cache","magic_cache","magic_decode","magic_encode","cpdcache","cpecache","sfcc","x","String","fromCharCode","cca","has_buf","Buffer","Buffer_from","nbfs","from","buf","bind","allocUnsafe","n","mdl","mdb","make_EE","E","EE","keys","Object","len","ee","sbcs_encode","make_sbcs_encode","cp","sbcs_e","data","ofmt","out","w","isBuffer","slice","toString","call","sbcs_decode","make_sbcs_decode","DD","c","sbcs_d","dbcs_encode","make_dbcs_encode","f","dbcs_e","jj","k","dbcs_decode","make_dbcs_decode","dbcs_d","utf8_d","map","ww","utf8_e","direct","encache","s","null_enc","cp_decache","decache","forEach","last_enc","last_cp","cache","sbcs","dbcs","BM","SetD","encode","C","M","isstr","indexOf","tt","join","decode","F","Array","match","dash","o64","c1","c2","c3","e1","e2","e3","e4","l","push","hascp","utils","XLSX","make_xlsx_lib","current_codepage","current_ansi","$cptable","VALID_ANSI","CS2CP","0","1","2","77","128","129","130","134","136","161","162","163","177","178","186","204","222","238","255","69","set_ansi","reset_ansi","set_cp","reset_cp","char_codes","o","utf16leread","utf16lereadu","utf16beread","debom","_getchar","_gc1","_getansi","_ga1","set_cptable","_gc2","_ga2","cpdoit","DENSE","DIF_XL","Base64_map","Base64_encode","input","isNaN","Base64_encode_pass","Base64_encode_arr","Base64_decode","replace","undefined","node","buf_utf16le","new_raw_buf","alloc","Uint8Array","new_unsafe_buf","s2a","s2ab","ArrayBuffer","view","a2s","isArray","a2u","ab2a","bconcat","bufs","concat","maxlen","set","apply","utf8decode","content","widx","L","ridx","chr0","chr1","_strrev","pad0","v","t","fill","pad_","rpad_","pad0r1","Math","round","pad0r2","p2_32","pow","pad0r","SSF_isgeneral","days","months","SSF_init_table","table_fmt","3","4","9","10","11","12","13","14","15","16","17","18","19","20","21","22","37","38","39","40","45","46","47","48","49","56","SSF_default_map","5","6","7","8","23","24","25","26","27","28","29","30","31","50","51","52","53","54","55","57","58","59","60","61","62","67","68","70","71","72","73","74","75","76","78","79","80","81","82","SSF_default_str","63","64","65","66","41","42","43","44","SSF_frac","mixed","sgn","B","P_2","P_1","P","Q_2","Q_1","Q","A","floor","q","SSF_normalize_xl_unsafe","toPrecision","m","Number","SSF_parse_date_code","opts","b2","date","time","dow","dout","T","u","y","H","S","abs","date1904","Date","setDate","getDate","getFullYear","getMonth","getDay","SSF_fix_hijri","SSF_strip_decimal","SSF_normalize_exp","SSF_small_exp","toFixed","toExponential","SSF_large_exp","SSF_general_num","V","log","LOG10E","substr","toUpperCase","SSF_general","SSF_format","datenum","SSF_write_date","type","fmt","val","ss0","ss","outl","outstr","commaify","pct1","write_num_pct","sfmt","mul","write_num","write_num_cm","idx","write_num_exp","period","fakee","$$","$1","$2","$3","frac1","write_num_f1","r","aval","sign","den","parseInt","rr","base","myn","myd","write_num_f2","dec1","closeparen","phone","hashq","str","cc","rnd","dd","_frac","carry","flr","write_num_flt","ffmt","ri","ff","oa","min","max","lres","rres","write_num_cm2","write_num_pct2","write_num_exp2","write_num_int","lastIndexOf","SSF_split_fmt","in_str","SSF_abstime","fmt_is_date","eval_fmt","flen","lst","dt","hr","toLowerCase","bt","ssm","_dt","nstr","vv","myv","ostr","decpt","lasti","retval","cfregex2","chkcond","thresh","parseFloat","choose_fmt","lat","m1","m2","dateNF","table","SSF_load","SSF_load_table","tbl","make_ssf","SSF","format","load","_table","load_table","parse_date_code","is_date","get_table","SSFImplicit","32","33","34","35","36","dateNFregex","dateNF_regex","lastIndex","RegExp","dateNF_fix","Y","datestr","timestr","bad_formats","d.m","SSF__load","CRC32","signed_crc_table","Int32Array","T0","slice_by_16_tables","subarray","TT","T1","T2","T3","T4","T5","T6","T7","T8","T9","Ta","Tb","Tc","Td","Te","Tf","crc32_bstr","bstr","seed","crc32_buf","crc32_str","CFB","_CFB","namecmp","R","Z","dirname","p","filename","write_dos_date","hms","getHours","getMinutes","getSeconds","write_shift","ymd","parse_dos_date","read_shift","setMilliseconds","setFullYear","setMonth","setHours","setMinutes","setSeconds","parse_extra_field","blob","prep_blob","flags","sz","tgt","mtime","atime","ctime","mt","sz1","sz2","usz","csz","fs","get_fs","_fs","parse","file","options","parse_zip","parse_mad","mver","ssz","nmfs","difat_sec_cnt","dir_start","minifat_start","difat_start","fat_addrs","mv","check_get_mver","header","check_shifts","dir_cnt","chk","sectors","sectorify","sleuth_fat","sector_list","make_sector_list","name","ENDOFCHAIN","files","Paths","FileIndex","FullPaths","read_directory","build_full_paths","shift","raw","HEADER_SIGNATURE","nsectors","ceil","FI","FP","pl","dad","get_mfat_entry","entry","payload","mini","start","size","MSSZ","__readInt32LE","new_buf","cnt","sector","get_sector_list","chkd","buf_chain","modulus","addr","nodes","__toBuffer","sl","seen","minifat_store","namelen","__utf16le","color","clsid","state","ct","read_date","storage","offset","__readUInt32LE","read_file","readFileSync","read","init_cfb","cfb","CLSID","seed_cfb","nm","find","rebuild_cfb","gc","_file","pop","now","fullPaths","create","HEADER_CLSID","sort","elt","_write","_opts","fileType","write_mad","write_zip","mini_size","fat_size","mini_cnt","mfat_cnt","fat_base","fat_cnt","difat_cnt","HEADER_SIG","chainit","consts","DIFSECT","FATSECT","_nm","console","error","copy","path","UCFullPaths","UCPaths","UCPath","MAXREGSECT","FREESECT","HEADER_MINOR_VERSION","MAXREGSID","NOSTREAM","EntryTypes","write_file","writeFileSync","write","_zlib","use_zlib","zlib","InflateRaw","InflRaw","_processChunk","_finishFlushFlag","bytesRead","message","_inflateRawSync","_inflate","_deflateRawSync","deflateRawSync","_deflate","CLEN_ORDER","LEN_LN","DST_LN","bit_swap_8","use_typed_arrays","bitswap8","bit_swap_n","b","rev","read_bits_2","bl","h","read_bits_3","read_bits_4","read_bits_5","read_bits_7","read_bits_n","write_bits_3","write_bits_1","write_bits_8","write_bits_16","realloc","a","zero_fill_array","build_tree","clens","cmap","MAX","ccode","bl_count","Uint16Array","ctree","cleni","fix_lmap","fix_dmap","dlens","_deflateRaw","_deflateRawIIFE","DST_LN_RE","LEN_LN_RE","write_stored","boff","write_huff_fixed","addrs","hash","mlen","len_eb","dst_eb","off","dyn_lmap","dyn_dmap","dyn_cmap","dyn_len_1","dyn_len_2","dyn","_HLIT","_HDIST","_HCLEN","next_code","hcodes","h1","h2","inflate","outbuf","woff","OL","max_len_1","max_len_2","bits","code","dst","warn_or_throw","wrn","msg","fcnt","start_cd","efsz","fcsz","EF","parse_local_file","meth","crc32","_csz","_usz","ef","cfb_add","unsafe","cdirs","method","compression","desc","fp","fi","crcs","sz_cd","namebuf","ContentTypeMap","htm","xml","gif","jpg","png","mso","thmx","sh33tj5","get_content_type","ctype","ext","write_base64_76","write_quoted_printable","text","encoded","si","end","tmp","parse_quoted_printable","di","line","oi","parse_mime","fname","cte","fdata","trim","row","test","mboundary","boundary","start_di","ca","cstr","dispcnt","csl","qp","cfb_new","fpath","cfb_gc","cfb_del","splice","cfb_mov","old_name","new_name","writeFile","ReadShift","CheckField","_inflateRaw","set_fs","blobify","write_dl","Deno","TextEncoder","utf8write","IE_SaveFile","Blob","navigator","msSaveBlob","saveAs","URL","document","createElement","createObjectURL","url","chrome","downloads","download","revokeObjectURL","setTimeout","href","body","appendChild","click","removeChild","b64","$","File","Folder","open","encoding","close","read_binary","infile","ks","o2","prototype","hasOwnProperty","evert_key","obj","key","K","evert","evert_num","evert_arr","dnthresh","UTC","dnthresh1","dnthresh2","epoch","getTime","res","numdate","setTime","parse_isodur","sec","pdre1","pdre2","pdre3","parseDate","cc2str","arr","debomit","TextDecoder","€","‚","ƒ","„","…","†","‡","ˆ","‰","Š","‹","Œ","Ž","‘","’","“","”","•","–","—","˜","™","š","›","œ","ž","Ÿ","dup","JSON","stringify","fuzzynum","isFinite","NaN","wt","FDRE1","FDRE2","FDISO","utc_append_works","valueOf","fuzzytime1","fuzzytime2","lower_months","fuzzydate","local_to_utc","lower","lnos","getYear","split_regex","safe_split_regex","re","def","utc_to_local","utc","getUTCFullYear","getUTCMonth","getUTCDate","getUTCHours","getUTCMinutes","getUTCSeconds","getUTCMilliseconds","local","getMilliseconds","remove_doctype","preamble","index","str_match_ng","ei","str_remove_ng","last","xml_boundary"," ","\t","\r","\n",">","str_match_xml","tag","sf","et","str_match_xml_ns","str_match_xml_ns_cache","exec","str_match_xml_ns_g","str_remove_xml_ns_g","str_remove_xml_ns_cache","str_match_xml_ig","getdatastr","asNodeBuffer","asBinary","_data","getContent","getdatabin","getdata","safegetzipfile","zip","g","getzipfile","getzipdata","safe","getzipstr","getzipbin","zipentries","zip_add_file","zip_new","zip_read","resolve_path","result","target","step","XML_HEADER","attregexg","tagregex1","tagregex2","tagregex","nsregex","nsregex2","parsexmltag","skip_root","skip_LC","z","eq","quot","strip_ns","encodings",""","'",">","<","&","rencoding","unescapexml","encregex","coderegex","raw_unescapexml","xlsx","decregex","charegex","escapexml","escapexmltag","htmlcharegex","escapehtml","escapexlml","xlml_fixstr","entregex","entrepl","xlml_unfixstr","parsexmlbool","value","utf8reada","orig","utf8readb","utf8readc","utf8corpus","utf8read","htmldecode","entities","vtvregex","vtmregex","parseVector","matches","baseType","WTF","wtregex","writetag","wxt_helper","writextag","write_w3cdtf","toISOString","write_vt","xlml_normalize","xlmlregex","XMLNS","CORE_PROPS","CUST_PROPS","EXT_PROPS","CT","RELS","TCMNT","dc","dcterms","dcmitype","mx","sjs","vt","xsi","xsd","XMLNS_main","XLMLNS","html","read_double_le","Infinity","write_double_le","bs","av","LN2","___toBuffer","___utf16le","__readUInt16LE","___hexlify","__hexlify","___utf8","__readUInt8","__utf8","utf8_b","___lpstr","__lpstr","___cpstr","__cpstr","___lpwstr","__lpwstr","___lpp4","lpp4_","__lpp4","___8lpp4","__8lpp4","___double","__double","is_buf","is_buf_a","lpstr_b","readUInt32LE","cpstr_b","lpwstr_b","lpp4_b","lpp4_8b","double_","readDoubleLE","is_buf_b","__readInt16LE","__readInt32BE","oI","oR","oo","loc","lens","__writeUInt32LE","__writeInt32LE","__writeUInt16LE","WriteShift","cpp","hexstr","fld","pos","parsenoop","recordhopper","cb","tmpbyte","cntbyte","RT","XLSBRecordEnum","buf_array","blksz","newblk","ba_newblk","curbuf","endbuf","ba_endbuf","next","ba_next","ba_end","ba_push","_bufs","write_record","ba","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","decode_row","rowstr","unfix_row","decode_col","colstr","unfix_col","col","split_cell","decode_cell","decode_range","encode_range","cs","ce","fix_range","a1","formula_quote_sheet_name","sname","safe_decode_range","safe_format_cell","XF","numFmtId","format_cell","BErr","sheet_to_workbook","sheet","sheets","SheetNames","Sheets","sheet_new","dense","sheet_add_aoa","_ws","ws","_R","_C","origin","_origin","_range","__R","__Rstr","__C","nullError","sheetStubs","cellDates","cell_ref","aoa_to_sheet","parse_Int32LE","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","write_XLSBCell","parse_XLSBShortCell","write_XLSBShortCell","parse_XLSBCodeName","write_XLSBCodeName","parse_XLNullableWideString","write_XLNullableWideString","parse_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","parse_BrtColor","xColorType","nTS","bR","bG","bB","auto","icv","XLSIcv","rgb","rgb2Hex","theme","tint","write_BrtColor","parse_FontFlags","fBold","fItalic","fUnderline","fStrikeout","fOutline","fShadow","fCondense","fExtend","write_FontFlags","font","grbit","italic","strike","outline","shadow","condense","extend","parse_ClipboardFormatOrString","ClipFmt","parse_ClipboardFormatOrAnsiString","parse_ClipboardFormatOrUnicodeString","VT_I2","VT_I4","VT_BOOL","VT_VARIANT","VT_UI4","VT_FILETIME","VT_BLOB","VT_CF","VT_VECTOR_VARIANT","VT_VECTOR_LPSTR","VT_STRING","VT_USTR","VT_CUSTOM","DocSummaryPIDDSI","2147483648","2147483651","1919054434","SummaryPIDSI","CountryEnum","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","_XLSIcv","RBErr","#NULL!","#DIV/0!","#VALUE!","#REF!","#NAME?","#NUM!","#N/A","#GETTING_DATA","#WTF?","XLSLblBuiltIn","ct2type","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml","application/vnd.ms-excel.sheet.macroEnabled.main+xml","application/vnd.ms-excel.sheet.binary.macroEnabled.main","application/vnd.ms-excel.addin.macroEnabled.main+xml","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml","application/vnd.ms-excel.worksheet","application/vnd.ms-excel.binIndexWs","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml","application/vnd.ms-excel.chartsheet","application/vnd.ms-excel.macrosheet+xml","application/vnd.ms-excel.macrosheet","application/vnd.ms-excel.intlmacrosheet","application/vnd.ms-excel.binIndexMs","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml","application/vnd.ms-excel.dialogsheet","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml","application/vnd.ms-excel.sharedStrings","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml","application/vnd.ms-excel.styles","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.openxmlformats-officedocument.spreadsheetml.comments+xml","application/vnd.ms-excel.comments","application/vnd.ms-excel.threadedcomments+xml","application/vnd.ms-excel.person+xml","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml","application/vnd.ms-excel.sheetMetadata","application/vnd.ms-excel.pivotTable","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml","application/vnd.openxmlformats-officedocument.drawingml.chart+xml","application/vnd.ms-office.chartcolorstyle+xml","application/vnd.ms-office.chartstyle+xml","application/vnd.ms-office.chartex+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.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.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","xlsm","xlsb","xlam","xltx","strs","comments","charts","dialogs","macros","metadata","styles","new_ct","rels","threadedcomments","links","coreprops","extprops","custprops","themes","calcchains","vba","drawings","people","TODO","xmlns","parse_ct","ctext","Extension","ContentType","PartName","calcchain","sst","style","defaults","write_ct","type2ct","xmlns:xsd","xmlns:xsi","f1","bookType","f2","f3","WB","SHEET","HLINK","VML","XPATH","XMISS","XLINK","CXML","CXMLP","CMNT","SST","STY","THEME","CHART","CHARTEX","CS","WS","DS","MS","IMG","DRAW","XLMETA","PEOPLE","CONN","VBA","get_rels_path","parse_rels","currentFilePath","!id","rel","Type","Target","Id","TargetMode","canonictarget","write_rels","rid","add_rels","rId","relobj","targetmode","CT_ODS","parse_manifest","Rn","FEtag","write_manifest","manifest","write_rdf_type","write_rdf_has","write_rdf","rdf","write_meta_ods","wb","parse_core_props","cur","cp_doit","write_core_props","xmlns:cp","xmlns:dc","xmlns:dcterms","xmlns:dcmitype","Props","CreatedDate","xsi:type","ModifiedDate","PseudoPropsPairs","load_props_pairs","HP","TOP","props","hp","parts","Worksheets","NamedRanges","DefinedNames","Chartsheets","ChartNames","parse_ext_props","HeadingPairs","TitlesOfParts","write_ext_props","W","Application","xmlns:vt","custregex","parse_cust_props","toks","warn","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","write_FILETIME","parse_lpstr","pad","parse_lpwstr","parse_VtStringBase","stringType","parse_VtString","parse_VtUnalignedString","parse_VtVecLpwstrValue","ret","parse_VtVecUnalignedLpstrValue","parse_VtHeadingPair","headingString","parse_TypedPropertyValue","headerParts","parse_VtVecHeadingPairValue","cElements","parse_dictionary","CodePage","dict","parse_BLOB","bytes","parse_ClipboardData","Size","write_TypedPropertyValue","parse_PropertySet","PIDSI","start_addr","NumProps","Dictionary","DictObj","PropID","Offset","PropH","fail","piddsi","oldpos","parsebool","XLSPSSkip","guess_property_type","write_PropertySet","entries","RE","hdr","piao","prop","pr","pio","unshift","pinfo","parse_PropertySetStream","NumSets","FMTID0","FMTID1","Offset0","Offset1","SystemIdentifier","PSet0","rval","FMTID","PSet1","write_PropertySetStream","entries2","clsid2","ps0","ps1","parsenoop2","writezeroes","parslurp","writebool","parseuint16","writeuint16","parseuint16a","parse_Bes","write_Bes","parse_ShortXLUnicodeString","cch","fHighByte","parse_XLUnicodeRichExtendedString","fExtSt","fRichSt","width","cRun","cbExtRst","write_XLUnicodeRichExtendedString","xlstr","nfmts","otext","parse_XLUnicodeStringNoCch","parse_XLUnicodeString","parse_XLUnicodeString2","write_XLUnicodeString","parse_ControlInfo","accel","parse_URLMoniker","extra","parse_FileMoniker","cAnti","ansiPath","unicodePath","parse_HyperlinkMoniker","parse_HyperlinkString","write_HyperlinkString","parse_Hyperlink","sVer","displayName","targetFrameName","moniker","oleMoniker","Loc","guid","fileTime","Tooltip","write_Hyperlink","hl","hashidx","Pretarget","parse_LongRGBA","parse_LongRGB","parse_XLSCell","rw","ixfe","write_XLSCell","parse_frtHeader","rt","parse_OptXLUnicodeString","parse_XTI","iSupBook","itabFirst","itabLast","parse_RkRec","parse_AddinUdf","udfName","parse_Ref8U","rwFirst","rwLast","colFirst","colLast","write_Ref8U","parse_RefU","parse_Ref","parse_FtCmo","ot","id","parse_FtNts","fSharedNote","parse_FtCf","cf","parse_FtSkip","FtTab","parse_FtArray","fts","ft","parse_BOF","BIFFVer","write_BOF","parse_InterfaceHdr","parse_WriteAccess","UserName","write_WriteAccess","b8","parse_WsBool","fDialog","fBelow","fRight","parse_BoundSheet8","hidden","hs","write_BoundSheet8","parse_SST","ucnt","Count","Unique","write_SST","parse_ExtSST","extsst","dsst","parse_Row","miyRw","level","hpt","parse_ForceFullCalculation","fullcalc","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","write_Window1","parse_Window2","RTL","write_Window2","parse_Pane","parse_Font","dyHeight","write_Font","b5","parse_LabelSst","isst","write_LabelSst","os","parse_Label","biffguess","write_Label","parse_Format","fmtstr","write_Format","parse_BIFF2Format","write_BIFF2Format","write_BIFF4Format","parse_Dimensions","write_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_XF","fStyle","write_XF","ixfeP","parse_BIFF2XF","write_BIFF2XF","xf","write_BIFF3XF","write_BIFF4XF","parse_BIFF3XF","parse_BIFF4XF","parse_Guts","write_Guts","guts","parse_BoolErr","write_BoolErr","parse_Number","xnum","write_Number","parse_XLHeaderFooter","parse_SupBook","ctab","sbcch","virtPath","rgst","parse_ExternName","fBuiltIn","fWantAdvise","fWantPict","fOle","fOleLink","fIcon","Name","parse_Lbl","chKey","cce","itab","npflen","rgce","parse_NameParsedFormula","parse_ExternSheet","parse_BIFF5ExternSheet","parse_NameCmt","cchName","cchComment","comment","parse_ShrFmla","ref","cUse","parse_SharedParsedFormula","parse_Array","parse_ArrayParsedFormula","parse_MTRSettings","fMTREnabled","fUserSetThreadCount","cUserThreadCount","parse_NoteSh","idObj","stAuthor","parse_Note","cmnt","write_NOTE_BIFF2","parse_MergeCells","merges","cmcs","write_MergeCells","parse_Obj","parse_BIFF5Obj","cmo","parse_BIFF5OT","parse_TxO","texts","lastobj","controlInfo","cchText","parse_HLink","hlink","write_HLink","O","parse_HLinkTooltip","wzTooltip","write_HLinkTooltip","parse_Country","write_Country","parse_ClrtClient","ccv","parse_Palette","parse_XFCRC","cxfs","crc","parse_ColInfo","coldx","write_ColInfo","parse_Setup","footer","parse_ShtProps","area","write_RRTabId","parse_Blank","parse_Scl","parse_String","parse_ImData","env","lcb","write_BIFF2Cell","ifmt","parse_BIFF2STR","parse_BIFF2NUM","num","write_BIFF2NUM","parse_BIFF2INT","write_BIFF2INT","parse_BIFF2STRING","parse_BIFF2BOOLERR","bestart","parse_BIFF2FONTXTRA","parse_RString","parse_BIFF4SheetInfo","DBF_SUPPORTED_VERSIONS","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","87","88","89","108","135","dbf_reverse_map","dbf_to_aoa","memo","vfp","l7","nrow","fpos","rlen","current_cp","codepage","fields","field","hend","hi","lo","sheetRows","dbf_to_sheet","wch","dbf_to_workbook","_RLEN","?","","sheet_to_dbf","old_cp","aoa","sheet_to_json","headers","cols","hcnt","coltypes","colwidths","coldecimals","guess","_guess","hf","_f","hb","rout","_n","_l","_s","to_workbook","to_sheet","from_sheet","SYLK","sylk_escapes","AA","BA","CA","DA","HA","JA","AE","BE","CE","HE","AI","BI","CI","HI","AO","BO","CO","DO","HO","AU","BU","CU","HU","Aa","Ba","Ca","Da","Ha","Ja","Ae","Be","Ce","He","Ai","Bi","Ci","Hi","Ao","Bo","Co","Do","Ho","Au","Bu","Cu","Hu","KC","Kc","DN","Dn","Hy","B ","!","\"","#","(","%","'","H ","+",";","<","=","{","sylk_char_regex","sylk_char_fn","_","decode_sylk_char","newcc","encode_sylk_str","sylk_to_aoa","sylk_to_aoa_str","records","rj","formats","next_cell_format","sht","rowinfo","colinfo","cw","Mval","Workbook","WBProps","Names","rstr","record","d1904","nn","Sheet","Ref","rc_to_a1","C_seen_K","C_seen_X","C_seen_S","C_seen_E","formula","cell_t","cellText","shrbase","shift_formula_str","F_seen","hpx","pt2px","process_col","sylk_to_workbook","aoasht","outwb","write_ws_cell_sylk","a1_to_rc","write_ws_cmnt_sylk","write_ws_cols_sylk","rec","wpx","width2px","px2char","write_ws_rows_sylk","rows","px2pt","sheet_to_sylk","_formats","RS","_lastfmt","DIF","dif_to_aoa","dif_to_aoa_str","dif_to_sheet","dif_to_workbook","make_value","make_value_str","sheet_to_dif","_DIF_XL","ETH","eth_to_aoa","eth_to_sheet","eth_to_workbook","sep","meta","sheet_to_eth_data","coord","sheet_to_eth","PRN","set_text_arr","prn_to_aoa_str","lines","guess_seps","guess_sep_weights","guess_sep","instr","dsv_to_sheet_str","FS","sepcc","startcc","_re","finish_cell","fuzzyfmla","news","cellNF","outer","prn_to_sheet_str","prn_to_sheet","firstbyte","prn_to_workbook","sheet_to_prn","read_wb_ID","OLD_WTF","WK_","lotushopper","Enum","WK1Enum","lotus_to_workbook","lotus_to_workbook_buf","LOTUS_DATE_FMTS","next_n","sidx","snames","realnames","sdata","refguess","lastcell","qpw_to_workbook_buf","vers","qpro","works","works2","tmpcell","WK3Enum","osheets","rnames","!ref","sheet_to_wk1","write_biff_rec","write_BOF_WK1","write_RANGE","max_R","write_INTEGER","write_NUMBER","write_LABEL","book_to_wk3","write_BOF_WK3","write_XFORMAT_SHEETNAME","wsidx","write_NUMBER_17","write_LABEL_16","wscnt","parse_RANGE","parse_cell","get_wk1_fmt","parse_LABEL","parse_STRING","parse_INTEGER","parse_NUMBER","parse_FORMULA","wk1_fmla_to_csf","wk1_parse_rc","FuncTab","83","109","111","BinOpTab","argc","argL","argR","args","parse_cell_3","parse_LABEL_16","parse_NUMBER_18","parse_NUMBER_17","v1","v2","log2","parse_FORMULA_19","parse_NUMBER_25","parse_NUMBER_27","parse_FORMULA_28","parse_SHEETNAMECS","parse_SHEETNAMELP","parse_SHEETINFOQP","parse_XFORMAT","21506","142","147","153","154","155","156","174","175","176","184","185","187","188","195","205","206","207","208","256","259","260","261","262","263","265","266","267","268","270","271","384","389","390","393","396","512","514","513","516","517","640","641","642","643","644","645","646","647","648","658","659","660","661","662","665","666","768","772","1537","1600","1602","1793","1794","1795","1796","1920","2048","2049","2052","2688","10998","12849","28233","28484","QPWNFTable","288","304","320","parse_qpw_str","formulae","FMTS","book_append_sheet","CC","fmtidx","delta","newcell","parse_rpr","rpr","pass","uval","family","valign","parse_rs","parse_r","rregex","rend","rs","filter","rs_to_html","parse_rs_factory","nlregex","parse_rpr2","intro","outro","align","r_to_html","terms","sitregex","sirregex","parse_si","cellHTML","sstr1","sstr2","parse_sst_xml","count","uniqueCount","straywsregex","write_sst_xml","bookSST","sitag","parse_BrtBeginSst","parse_sst_bin","hopper_sst","write_BrtBeginSst","write_BrtSSTItem","write_sst_bin","_JS2ANSI","parse_CRYPTOVersion","Major","Minor","parse_DataSpaceVersionInfo","U","parse_DataSpaceMapEntry","comps","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","KeyData","xml_agile","encryptedHmacKey","encryptedHmacValue","encs","uri","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","parse_FilePassHeader","Info","parse_FilePass","rtf_to_sheet","rtf_to_sheet_str","rowtf","rtfre","last_index","rtf_to_workbook","sheet_to_rtf","hex2RGB","rgb2HSL","G","H6","L2","hsl2RGB","hsl","h6","X","rgb_tint","hex","DEF_MDW","MAX_MDW","MIN_MDW","MDW","px","char2width","chr","cycle_width","collw","find_mdw_colw","_MDW","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","diagonalUp","diagonalDown","parse_fills","Fills","bgColor","indexed","fgColor","parse_fonts","Fonts","bold","underline","vertAlign","scheme","themeElements","clrScheme","parse_numFmts","NumberFmt","formatCode","write_numFmts","NF","cellXF_uint","cellXF_bool","parse_cellXfs","CellXf","alignment","vertical","horizontal","textRotation","indent","wrapText","write_cellXfs","cellXfs","parse_sty_xml","make_pstyx","write_sty_xml","parse_BrtFmt","stFmtCode","write_BrtFmt","parse_BrtFont","bls","bCharSet","charset","write_BrtFont","sss","XLSBFillPTNames","rev_XLSBFillPTNames","parse_BrtFill","write_BrtFill","fls","parse_BrtXF","ixfeParent","write_BrtXF","flow","write_Blxf","parse_BrtBorder","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","XLSXThemeClrScheme","parse_clrScheme","lastClr","parse_fontScheme","parse_fmtScheme","parse_themeElements","parse_theme_xml","write_theme","Themes","themeXLSX","parse_Theme","dwThemeVersion","themeXML","parse_ColorTheme","parse_FullColorExt","xclrType","nTintShade","xclrValue","parse_IcvXF","parse_XFExtGradient","parse_ExtProp","extType","parse_XFExt","cexts","update_xfext","xfext","xfe","parse_BrtMdtinfo","write_BrtMdtinfo","parse_BrtMdb","write_BrtMdb","write_BrtBeginEsfmd","parse_BrtBeginEsmdb","write_BrtBeginEsmdb","cm","parse_xlmeta_bin","Types","Cell","metatype","write_xlmeta_bin","parse_xlmeta_xml","lastmeta","offsets","write_xlmeta_xml","parse_cc_xml","parse_BrtCalcChainItem$","parse_cc_bin","hopper_cc","parse_xlink_xml","parse_xlink_bin","xlink_parse","parse_drawing","parse_vml","cidx","aidx","ObjectType","ws_get_cell_stub","write_vml","csize","bbox","xmlns:v","xmlns:o","xmlns:x","xmlns:mv","v:ext","_shapeid","_comments","joinstyle","gradientshapeok","o:connecttype","coordsize","o:spt","write_vml_comment","fillopts","color2","angle","fillparm","fillxml","shadata","on","obscured","fillcolor","strokecolor","sheet_insert_comments","threaded","author","parse_comments_xml","authors","commentList","authtag","cmnttag","authorId","textMatch","write_comments_xml","iauthor","ID","lastauthor","ts","tcnt","parse_tcmnt_xml","tidx","xml_tcmnt","personId","write_tcmnt_xml","carr","rootid","tcopts","tcid","parentId","parse_people_xml","displayname","write_people_xml","person","userId","providerId","parse_BrtBeginComment","rfx","write_BrtBeginComment","parse_BrtCommentAuthor","write_BrtCommentAuthor","parse_comments_bin","hopper_cmnt","write_comments_bin","_ia","CT_VBA","make_vba_xls","newcfb","newpath","fill_vba_xls","VBAFMTS","parse_ds_bin","!type","parse_ds_xml","parse_ms_bin","parse_ms_xml","rcregex","rcbase","rcfunc","fstr","crefregex","$0","$4","$5","shift_formula_xlsx","_xlfn","parseread1","parse_ColRelU","parse_RgceArea","parse_RgceArea_BIFF2","parse_RgceAreaRel","parse_RgceLoc","parse_RgceLoc_BIFF2","parse_RgceElfLoc","fQuoted","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","parse_PtgRefN","parse_PtgRef3d","parse_PtgFunc","iftab","FtabArgc","Ftab","parse_PtgFuncVar","cparams","tab","parsetab","Cetab","parse_PtgAttrSum","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_PtgMemErr","parse_PtgMemNoMem","parse_PtgTbl","parse_PtgElfLoc","parse_PtgElfNoop","parse_PtgElfCol","parse_PtgElfColS","parse_PtgElfColSV","parse_PtgElfColV","parse_PtgElfLel","parse_PtgElfRadical","parse_PtgElfRadicalLel","parse_PtgElfRadicalS","parse_PtgElfRw","parse_PtgElfRwV","PtgListRT","parse_PtgList","coltype","parse_PtgSxName","parse_PtgSheet","parse_PtgEndSheet","parse_PtgMemAreaN","parse_PtgMemNoMemN","parse_PtgAttrNoop","PtgTypes","PtgDupes","96","97","98","99","110","91","92","93","Ptg18","Ptg19","parse_RgbExtra","parse_Rgce","ptgs","stringify_array","PtgBinOp","PtgAdd","PtgConcat","PtgDiv","PtgEq","PtgGe","PtgGt","PtgLe","PtgLt","PtgMul","PtgNe","PtgPower","PtgSub","make_3d_range","get_ixti_raw","supbooks","XTI","SID","get_ixti","ixtiraw","stringify_formula","stack","nameidx","last_sp","sp","fflen","func","lbl","names","xlfn","bookidx","externbook","ixtidata","lp","rp","sharedf","parsedf","fnd","arrayf","PtgNonDisp","_left","rgcb","parse_XLSCellParsedFormula","parse_FormulaValue","write_FormulaValue","parse_Formula","cbf","shared","write_Formula","o1","o3","bf","parse_XLSBParsedFormula","parse_XLSBArrayParsedFormula","parse_XLSBCellParsedFormula","parse_XLSBNameParsedFormula","parse_XLSBSharedParsedFormula","write_XLSBFormulaNum","oint","write_XLSBFormulaErr","write_XLSBFormulaBool","write_XLSBFormulaStr","postamble","write_XLSBFormulaRef","write_XLSBFormulaRef3D","lastbang","write_XLSBFormulaRefErr3D","write_XLSBFormulaRange","_str","write_XLSBFormulaRangeWS","write_XLSBFormulaArea3D","write_XLSBFormula","write_XLSBNameParsedFormula","85","94","95","112","113","114","115","116","117","118","119","127","131","132","133","137","138","139","140","143","144","145","146","148","149","159","164","166","167","168","169","170","171","172","173","189","190","191","192","193","194","196","197","198","199","209","210","211","212","214","215","217","219","220","223","224","225","226","227","228","229","240","243","249","250","251","252","253","254","269","272","273","274","276","277","278","279","280","281","282","283","284","285","289","290","291","292","293","295","296","297","298","302","305","306","307","308","309","310","311","312","313","314","315","316","318","319","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","385","386","388","391","392","394","395","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","518","519","520","521","522","523","545","546","547","548","549","620","621","653","667","673","753","755","808","141","157","158","160","165","179","180","181","182","183","221","230","231","232","233","234","235","236","237","239","241","242","244","245","246","247","248","257","258","264","275","286","287","294","299","300","301","303","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","401","402","403","404","405","406","407","408","409","410","411","418","419","426","427","428","429","457","724","479","483","484","ods_to_csf_formula","csf_to_ods_formula","ods_to_csf_3D","csf_to_ods_3D","_ssfopts","browser_has_Map","Map","get_sst_id","has","revarr","get","col_obj_w","outlineLevel","default_margins","margins","mode","defs","left","right","top","bottom","get_cell_style","revssf","ssf","applyNumberFormat","safe_format","fillid","raw_rgb","check_ws","parse_ws_xml_dim","mergecregex","hlinkregex","dimregex","colregex","afregex","marginregex","sheetprregex","parse_ws_xml","data1","data2","mtch","sheetPr","parse_ws_xml_sheetpr","parse_ws_xml_sheetpr2","nodim","svs","parse_ws_xml_sheetviews","columns","parse_ws_xml_cols","parse_ws_xml_data","afilter","parse_ws_xml_autofilter","_merge","parse_ws_xml_hlinks","parse_ws_xml_margins","tmpref","write_ws_xml_merges","codeName","CodeName","write_ws_xml_sheetpr","needed","vbaraw","cname","outlineprops","summaryBelow","summaryRight","above","sheetprot_deffalse","sheetprot_deftrue","write_ws_xml_protection","location","Rel","tooltip","rng","margin","write_ws_xml_margins","seencol","coli","colm","colM","write_ws_xml_cols","write_ws_xml_autofilter","sviewregex","Views","zoomScale","zoom","rightToLeft","write_ws_xml_sheetviews","sview","workbookViewId","write_ws_xml_cell","oldt","oldv","_vv","Strings","revStrings","display","cellregex","rowregex","refregex","cells","cref","tagr","tagc","sstr","ftag","do_format","rowobj","rowrite","marr","marrlen","xlen","rstarti","outa","ht","rslice","cellFormula","___f","_tag","xlmeta","_r","write_ws_xml_data","params","height","_cell","customHeight","write_ws_xml","xmlns:r","rdata","_drawing","sheetFormat","defaultRowHeight","baseColWidth","outlineLevelRow","relc","ignoreEC","numberStoredAsText","sqref","r:id","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_BrtShortBlank","write_BrtShortBlank","parse_BrtCellBool","fBool","write_BrtCellBool","parse_BrtShortBool","write_BrtShortBool","parse_BrtCellError","bError","write_BrtCellError","parse_BrtShortError","write_BrtShortError","parse_BrtCellIsst","write_BrtCellIsst","parse_BrtShortIsst","write_BrtShortIsst","parse_BrtCellReal","write_BrtCellReal","parse_BrtShortReal","write_BrtShortReal","parse_BrtCellRk","write_BrtCellRk","parse_BrtShortRk","write_BrtShortRk","parse_BrtCellRString","parse_BrtCellSt","write_BrtCellSt","parse_BrtShortSt","write_BrtShortSt","parse_BrtFmlaBool","parse_BrtFmlaError","parse_BrtFmlaNum","parse_BrtFmlaString","parse_BrtMergeCell","write_BrtMergeCell","write_BrtBeginMergeCells","parse_BrtHLink","relId","write_BrtHLink","locidx","parse_BrtPane","parse_BrtArrFmla","fAlwaysCalc","parse_BrtShrFmla","write_BrtColInfo","BrtMarginKeys","parse_BrtMargins","write_BrtMargins","parse_BrtBeginWsView","write_BrtBeginWsView","write_BrtCellIgnoreEC","write_BrtSheetProtection","parse_BrtDVal","parse_BrtDVal14","parse_ws_bin","ai","af","vm","ws_parse","RR","aii","_d","write_ws_bin_cell","last_seen","write_CELLTABLE","cap","write_MERGECELLS","write_COLINFOS","write_IGNOREECS","write_HLINKS","write_LEGACYDRAWING","write_AUTOFILTER","write_WSVIEWS2","write_WSFMTINFO","write_SHEETPROTECT","write_ws_bin","parse_Cache","nf","parse_chart","csheet","nc","parse_cs_xml","!drawel","!rel","parse_BrtCsProp","parse_cs_bin","cs_parse","WBPropsDef","WBViewDef","SheetDef","CalcPrDef","push_defaults_array","push_defaults","parse_wb_defaults","CalcPr","WBView","safe1904","badchars","check_ws_name","check_wb_names","N","codes","cn","check_wb","dn","wbnsregex","parse_wb_xml","dname","dnstart","xml_wb","Hidden","Comment","localSheetId","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","write_BrtName","parse_wb_bin","hopper_wb","write_BUNDLESHS","viz","write_BrtFileVersion","write_BrtBookView","write_BOOKVIEWS","vistab","write_BRTNAMES","write_SELF_EXTERNS_xlsb","write_EXTERNALS_xlsb","write_wb_bin","parse_wb","parse_ws","parse_cs","parse_ms","parse_ds","parse_sty","parse_sst","parse_cmnt","parse_cc","parse_xlink","parse_xlmeta","attregexg2","attregex2","xlml_parsexmltag","words","xlml_parsexmltagobj","XLMLFormatMap","xlml_format","xlml_set_custprop","oval","safe_format_xlml","process_style_xlml","stag","Interior","I","Pattern","parse_xlml_data","csty","sid","StyleID","interiors","ssid","Parent","Formula","ArrayRange","xlml_prefix_dname","xlml_clean_comment","parse_xlml_xml","opening","ishtml","_o","html_to_workbook","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","sheetnames","cursheet","sheetname","dtag","didx","fidx","pidx","cstys","wsprops","raw_Rn3","HRef","HRefScreenTip","MergeAcross","MergeDown","cma","cmd","AutoFitHeight","Height","Format","ssfidx","Width","_col","Span","_NamedRange","_DefinedName","RefersTo","AutoFilter","Range","parse_fods","Margin","pagemargins","Top","Left","Right","Bottom","bookSheets","bookProps","parse_xlml","fix_read_opts","write_props_xlml","write_wb_xlml","write_sty_xlml","ss:Format","ss:ID","write_name_xlml","ss:Name","ss:RefersTo","write_names_xlml","write_ws_xlml_names","write_ws_xlml_wsopts","x:Margin","x:Bottom","x:Left","x:Right","x:Top","objects","scenarios","selectLockedCells","selectUnlockedCells","write_ws_xlml_comment","write_ws_xlml_cell","attr","mi","_v","write_ws_xlml_row","write_ws_xlml_table","ss:Index","skip","write_ws_xlml","write_xlml","General","xmlns:ss","xmlns:dt","xmlns:html","parse_compobj","AnsiUserType","AnsiClipboardFormat","Reserved1","UnicodeClipboardFormat","Reserved2","CONTINUE_RT","slurp","RecordType","nextrt","XLSRecordEnum","ll","safe_format_xf","make_cell","parse_workbook","Directory","last_formula","cur_sheet","Preamble","last_cell","rngC","rngR","temp_val","country","XFs","palette","biff4w","get_rgb","getrgb","process_cell_style","pcs","xfd","addcell","file_depth","afi","rrtabid","lastuser","winlocked","wtf","last_RT","BIFF2Fmt","BIFF2FmtTable","FilterDatabases","last_lbl","seen_codepage","Date1904","WriteProtect","cpval","CalcRefMode","FullCalc","ExternCount","tmpri","1033","1024","1280","1536","fakebs8","_fr","_fc","_fe","_arraystart","_j","_ixfe","b4idx","b2idx","TxO","ImData","noteobj","Encryption","Metadata","Country","PSCLSID","SI","DSI","UDI","parse_xls_props","DocSummary","Summary","write_xls_props","DSEntries","SEntries","CEntries","Keys","DocSummaryRE","SummaryRE","CEntries2","parse_xlscfb","CompObj","WorkbookP","bookVBA","bookFiles","write_xlscfb","wbpath","write_biff_buf","333","486","487","488","490","492","496","497","498","499","500","501","502","503","504","505","506","507","508","515","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","649","650","651","652","654","655","656","657","663","664","668","669","671","672","674","675","676","677","678","679","680","681","1025","1026","1027","1028","1029","1030","1031","1032","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","1064","1065","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","2050","2051","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","2137","2138","2139","2140","2141","3072","3073","4096","4097","5002","5003","5081","5082","5083","5084","5085","5086","5087","5088","5089","5090","5092","5093","5094","5095","5096","5097","5099","1212","2059","2061","2062","2063","2064","2066","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","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","2262","29282","write_biff_continue","write_BIFF2BERR","write_BIFF2LABEL","write_comments_biff2","write_ws_biff2_cell","_BIFF2FmtTable","write_ws_biff2","write_biff2_buf","_Fonts","b8oid","b8ocnts","write_MsoDrawingGroup","acc","write_comments_biff8","notes","baseid","_oasc","ci","oasc","oact","txo","cont","conf","notesh","write_FONTS_biff8","write_FMTS_biff8","write_FEAT","write_CELLXFS_biff8","write_ws_biff8_hlinks","HL","write_ws_cols_biff8","write_ws_biff8_cell","write_ws_biff8","_WB","_sheet","MAX_ROWS","write_biff8_global","_sheets","_wb","blen","write_biff8_buf","fix_write_opts","html_to_sheet","mtch2","hd","midx","colspan","rowspan","_t","make_html_row","editable","HTML_BEGIN","HTML_END","book_new","make_html_preamble","sheet_to_html","sheet_add_dom","tagName","or_R","or_C","is_dom_element_hidden","elts","hasAttribute","getAttribute","innerHTML","Aelts","getElementsByTagName","Aelti","parse_dom_table","table_to_book","element","get_computed_style","get_get_computed_style_function","getPropertyValue","ownerDocument","defaultView","getComputedStyle","parse_text_p","fixed","parse_ods_styles","_nfm","number_format_map","NFtag","tNF","etpos","infmt","parse_content_xml","nfidx","sheetag","rowtag","ctag","textp","textpidx","textptag","oldtextp","oldtextpidx","textR","oldtextR","row_ol","mrange","mR","mC","rowpeat","colpeat","atag","_Ref","creator","creatoridx","isstub","intable","rptR","rpt","annotag","xlmlidx","styletag","nrange","ptp","parse_ods","Styles","write_styles_ods","master_styles","xmlns:office","xmlns:table","xmlns:style","xmlns:text","xmlns:draw","xmlns:fo","xmlns:xlink","xmlns:number","xmlns:svg","xmlns:of","office:version","wso","write_number_format_ods","nopts","style:name","number:min-integer-digits","number:min-numerator-digits","number:max-denominator-value","number:denominator-value","number:decimal-places","number:min-decimal-places","has_time","np","write_names_ods","scoped","namei","odsref","table:name","table:cell-range-address","table:base-cell-address","write_content_ods","write_text_p","span","null_cell_xml","write_ws","nfs","ods","ROWS","_Fref","text_p","_tgt","xlink:href","acreator","apayload","aprops","write_automatic_styles_ods","colobj","nfi","wcx","xmlns:meta","xmlns:presentation","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:xhtml","xmlns:grddl","xmlns:tableooo","xmlns:drawooo","xmlns:calcext","xmlns:loext","xmlns:field","xmlns:formx","xmlns:css3t","fods","xmlns:config","office:mimetype","write_ods","u8_to_dataview","array","DataView","buffer","byteOffset","byteLength","u8str","u8","stru8","u8concat","u8a","popcnt","readDecimal128LE","exp","mantissa","writeDecimal128LE","parse_varint49","ptr","varint","write_varint49","parse_packed_varints","write_packed_varints","nums","varint_to_i32","i32","varint_to_u64","parse_shallow","write_shallow","proto","item","mappa","parse_iwa_file","_a","messages","merge","write_iwa_file","ias","ia","midata","aipayload","mid","parse_snappy_chunk","chunks","clen","u8i","decompress_iwa_file","compress_iwa_file","frame","numbers_lut_new","rsst","nfmt","fmla","ferr","numbers_format_cell","_b","_c","ver","dur","dstyle","dmin","dmax","autodur","dstr","zstr","parse_old_storage","lut","dv","getUint32","zidx","ieee","doff","getFloat64","rts","parse_new_storage","d128","eidx","cmntidx","iwa_to_s5s_comment","write_new_storage","setFloat64","irsst","findIndex","setUint32","s5s_to_iwa_comment","write_old_storage","parse_cell_storage","parse_TSP_Reference","pb","write_TSP_Reference","numbers_add_oref","iwa","orefs","orefidx","numbers_del_oref","parse_TST_TableDataList","le","rtp","rtpref","mtype","tswpsa","richtext","sfields","smartfields","_a2","_b2","objtype","parse_TSD_CommentStorageArchive","parse_TST_TileRowInfo","_e","_g","_h","_i","_k","_m","wide_offsets","used_storage_u8","used_storage","used_storage_offsets","getUint16","parse_TST_Tile","nrows","reduce","csp","as","asp","replies","pi","reply","s5s","parse_TST_TableModelArchive","dws","store","tile","rtt","kv","tl","ref2","mtype2","_tile","parse_TST_TableInfoArchive","tableref","parse_TN_SheetArchive","shapeoffs","parse_TN_DocumentArchive","sheetoffs","root2","parse_numbers_iwa","indices","packets","packet","docroot","iwam","write_TST_TileRowInfo","wide","tri","new_7","new_4","last_offset","cell_storage","_dv","_last_offset","_cell_storage","setUint16","celload","_celload","write_iwam","get_unique_msgid","dep","dependents","build_numbers_deps","deps","mess","write_TSP_Color_RGB","Float32Array","get_author_color","random","write_numbers_iwa","numbers","numbers_iwa_find","sheetrefs","numbers_add_ws","write_numbers_ws","numbers_iwa_doit","ainfo","numbers_add_meta","mlist","newid","newloc","numbers_add_msg","numbers_meta_add_dep","parentidx","mm","parent","dep2","numbers_meta_del_dep","sheetref","newsheetref","remap","arch","doc","tiaref","sheetroot","sa","drawables","tia","tmaref","tiaroot","da","dap","oldtmaref","tma","tmaroot","uuid","new_uuid","srrta","hsoa","hsa","hseadata","hsea","oldref","newref","row_headers","tspref","tiles","tst","oldtileref","newtileref","oldtile","wsname","sheetidx","rootref","write_numbers_tma","USE_WIDE_ROWS","tmafile","trunc","R_","LUT","row_header_ref","rowhead","_x","base_bucket","R2","_bucket","col_header_ref","colhead","rbtree","tilestore","tstride","tileref","save_token","mlst","ntiles","newtileid","tiledata","tilerow","newtile","tilecontent","mergeid","sstref","sstroot","sstdata","rsstref","rsstroot","rsstdata","style_indices","tswpsaid","tswpsarefs","newhlinkid","smartfield","rtpaid","cmntref","cmntroot","cmntdata","aaaid2","csaid2","aaaid","csaid","fix_opts_func","fix_opts","get_sheet_type","safe_parse_wbrels","wbrels","pwbr","parse_sheet_legacy_drawing","dfile","draw","safe_parse_sheet","relsPath","sheetRels","stype","drelsp","chartp","crelsp","tcomments","strip_front_slash","_zip","index_zip","Bun","readSync","dir","binname","link","propdata","pluck","bookDeps","wbsheets","wbext","wbrelsi","wbrelsfile","nmode","wsloop","snjseen","snj","Deps","bin","parse_xlsxcfb","dsm","seds","einfo","decrypt_agile","decrypt_std76","write_zip_xlsb","foo","vbafmt","_sn","wsrels","_type","need_vml","needtc","rId1","write_zip_xlsx","read_cfb","read_zip","read_plaintext","main","read_plaintext_raw","read_utf16","bstrify","read_prn","ab","vu","write_cfb_ctr","write_zip_type","write_zip_denouement","write_zip_typeXLSX","oopts","ftype","nodebuffer","string","generate","encrypt_agile","write_cfb_type","write_string_type","bom","write_stxt_type","write_binary_type","writeSyncXLSX","writeSync","sheet_to_txt","sheet_to_csv","resolve_book_type","_BT","xls","slk","socialcalc","Sh33tJS","writeFileSyncXLSX","writeFileAsync","_cb","Function","make_json_row","defval","isempty","defineProperty","enumerable","__rowNum__","rawNumbers","outi","counter","header_cnt","skipHidden","blankrows","qreg","make_csv_row","txt","datarow","forceQuotes","strip","sheet_to_formulae","cmds","sheet_add_json","js","skipHeader","ROW","JS","json_to_sheet","RC","wb_sheet_idx","sh","roll","book_set_sheet_visibility","vis","cell_set_number_format","cell_set_hyperlink","cell_set_internal_link","cell_add_comment","sheet_set_array_formula","dynamic","rngstr","wsr","table_to_sheet","sheet_to_row_object_array","sheet_get_cell","SHEET_VISIBLE","SHEET_HIDDEN","SHEET_VERY_HIDDEN","_Readable","set_readable","write_csv_stream","stream","BOM","_read","write_html_stream","write_json_stream","objectMode","__stream","to_json","to_html","to_csv","readFile","writeXLSX","writeFileXLSX","strmod","Readable","define","amd","window"],"mappings":";AAAA,GAAIA,wBAAyB,ICE7B,IAAIC,UAAWC,QAAQ,SACvBD,SAAQ,KAAO,WAAa,GAAIE,GAAI,8QAAkZC,KAAQC,IAAQ,KAAI,GAAIC,GAAE,EAAEA,GAAGH,EAAEI,SAASD,EAAG,CAAE,GAAGH,EAAEK,WAAWF,KAAO,MAAQD,EAAEF,EAAEM,OAAOH,IAAMA,CAAGF,GAAEE,GAAKH,EAAEM,OAAOH,GAAM,OAAQI,IAAOL,EAAGM,IAAOP,KACvkBH,SAAQ,KAAO,WAAa,GAAIE,GAAI,8QAAkZC,KAAQC,IAAQ,KAAI,GAAIC,GAAE,EAAEA,GAAGH,EAAEI,SAASD,EAAG,CAAE,GAAGH,EAAEK,WAAWF,KAAO,MAAQD,EAAEF,EAAEM,OAAOH,IAAMA,CAAGF,GAAEE,GAAKH,EAAEM,OAAOH,GAAM,OAAQI,IAAOL,EAAGM,IAAOP,KACvkBH,SAAQ,KAAO,WAAa,GAAIE,GAAI,8QAAkZC,KAAQC,IAAQ,KAAI,GAAIC,GAAE,EAAEA,GAAGH,EAAEI,SAASD,EAAG,CAAE,GAAGH,EAAEK,WAAWF,KAAO,MAAQD,EAAEF,EAAEM,OAAOH,IAAMA,CAAGF,GAAEE,GAAKH,EAAEM,OAAOH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RC,GAAQ,KACR2/B,GAAQ,KACRC,GAAQ,KACRC,GAAQ,KACRC,IAAQ,KACRC,IAAQ,KACRC,IAAQ,KACRC,IAAQ,KACRC,IAAQ,KACRC,IAAQ,KACRC,IAAQ,KACRC,IAAQ,KACRC,IAAQ,KACRC,IAAQ,KACRC,IAAQ,KACRC,IAAQ,KACRC,IAAQ,KACRC,IAAQ,KACRC,IAAQ,KACRC,IAAQ,KACRC,IAAQ,KACRC,IAAQ,KACRC,IAAQ,KACRC,MAAQ,KAIT,IAAIC,KACH,KACA,QACA,aACA,WACA,YACA,iBACA,eACA,WACA,SACA,WACA,cACA,kBACA,gBACA,YACA,UACA,YACA,eACA,UACA,WAGD,SAASC,IAAO/b,GAAO,MAAOA,GAAIpyB,IAAI,SAASjD,GAAK,OAASA,GAAG,GAAI,IAAKA,GAAG,EAAG,IAAIA,EAAE,OAIrF,GAAIqxC,IAAWD,IAEd,EACA,SACA,SACA,MACA,IACA,SACA,SACA,MAGA,EACA,SACA,SACA,MACA,IACA,SACA,SACA,MAEA,QACA,MACA,IACA,QACA,QACA,MACA,SACA,QACA,SACA,SACA,SACA,SACA,QACA,SACA,MACA,SAEA,IACA,SACA,SACA,MACA,QACA,QACA,MACA,IACA,MACA,SACA,SACA,SACA,SACA,SACA,SACA,SAEA,QACA,QACA,SACA,SACA,SACA,SACA,QACA,QACA,MACA,QACA,MACA,QACA,SACA,SACA,QACA,QAGA,EACA,SACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,GAED,IAAIvE,IAAS1V,GAAIka,GAGjB,IAAIjJ,KACHniC,EAAM,SACN4H,EAAM,UACNrB,GAAM,UACNuB,GAAM,QACNM,GAAM,SACNsM,GAAM,QACNnK,GAAM,OACNC,GAAM,gBACNtJ,IAAM,QAGP,IAAImqC,KACHC,SAAiB,EACjBC,UAAiB,EACjBC,UAAiB,GACjBC,QAAiB,GACjBC,SAAiB,GACjBC,QAAiB,GAC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QACAC,QACAC,QACAC,QACAC,MAA6B1lI,EAAE2yD,GAAe3/C,EAAE,IAChD2yH,QACAC,MAA2B5lI,EAAE8gF,GAAa9tE,EAAE,IAC5C6yH,QACAC,QACAC,QACAC,MAAiChmI,EAAEqzD,GAAmBrgD,EAAE,IACxDizH,MAAsCjmI,EAAEsjD,IACxC4iF,QACAC,QACAC,QACAC,QACAC,MAA0CtmI,EAAEyqD,IAC5C87E,QACAC,QACAC,QACAC,QACAlF,QACAmF,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,MAA2BroI,EAAE0jD,IAC7B4kF,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,MAA8BnpI,EAAEg2D,IAChCozE,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,MAAgC9pI,EAAEq1D,IAClC00E,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QACAC,QAEAjnI,GAAgCxD,EAAEwtD,IAClC/pD,KACAC,GAA8B1D,EAAE+2D,IAChCxtD,GAA8BvJ,EAAE42D,IAChCptD,GAA8BxJ,EAAE22D,IAChCzrD,GAAkClL,EAAEk3D,IACpC9rD,GAA4BpL,EAAEi3D,IAC9B5rD,KACA5B,GAAyBzJ,EAAE6oD,IAC3Bl/C,MACAW,IAAiCtK,EAAE0jD,IACnC73C,IAAiC7L,EAAEqtD,IACnCvhD,MACAgM,MACAC,IAA2B/X,EAAEmzD,IAC7Bj7C,MACA3N,IAAsCvK,EAAE4qD,IAKxC7+C,IAAmC/L,EAAEo3D,IAQrC1qD,MAcAT,MACAU,IAA6B3M,EAAEqwD,IAC/BzjD,IAAkC5M,EAAE0jD,IACpC/+C,MACAyoC,MACAm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lsx.mini.min.js index 502b335..6cb6520 100644 --- a/dist/xlsx.mini.min.js +++ b/dist/xlsx.mini.min.js @@ -1,10 +1,10 @@ /*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */ -var XLSX={};function make_xlsx_lib(e){e.version="0.20.1";var r=1200,t=1252;var a;var n=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4];var i={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 s=function(e){if(n.indexOf(e)==-1)return;t=i[0]=e};function l(){s(1252)}var o=function(e){r=e;s(e)};function c(){o(1200);l()}function f(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 h(e){var r=[];for(var t=0;t>1;++t)r[t]=String.fromCharCode(e[2*t]+(e[2*t+1]<<8));return r.join("")}function d(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 p=function(e){var r=e.charCodeAt(0),t=e.charCodeAt(1);if(r==255&&t==254)return u(e.slice(2));if(r==254&&t==255)return d(e.slice(2));if(r==65279)return e.slice(1);return e};var m=function Nc(e){return String.fromCharCode(e)};var v=function Ic(e){return String.fromCharCode(e)};function g(e){a=e;o=function(e){r=e;s(e)};p=function(e){if(e.charCodeAt(0)===255&&e.charCodeAt(1)===254){return a.utils.decode(1200,f(e.slice(2)))}return e};m=function n(e){if(r===1200)return String.fromCharCode(e);return a.utils.decode(r,[e&255,e>>8])[0]};v=function i(e){return a.utils.decode(t,[e])[0]};oa()}var b=null;var w=true;var k="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function y(e){var r="";var t=0,a=0,n=0,i=0,s=0,l=0,o=0;for(var c=0;c>2;a=e.charCodeAt(c++);s=(t&3)<<4|a>>4;n=e.charCodeAt(c++);l=(a&15)<<2|n>>6;o=n&63;if(isNaN(a)){l=o=64}else if(isNaN(n)){o=64}r+=k.charAt(i)+k.charAt(s)+k.charAt(l)+k.charAt(o)}return r}function x(e){var r="";var t=0,a=0,n=0,i=0,s=0,l=0,o=0;for(var c=0;c255)t=95;i=t>>2;a=e.charCodeAt(c++);if(a>255)a=95;s=(t&3)<<4|a>>4;n=e.charCodeAt(c++);if(n>255)n=95;l=(a&15)<<2|n>>6;o=n&63;if(isNaN(a)){l=o=64}else if(isNaN(n)){o=64}r+=k.charAt(i)+k.charAt(s)+k.charAt(l)+k.charAt(o)}return r}function S(e){var r="";var t=0,a=0,n=0,i=0,s=0,l=0,o=0;for(var c=0;c>2;a=e[c++];s=(t&3)<<4|a>>4;n=e[c++];l=(a&15)<<2|n>>6;o=n&63;if(isNaN(a)){l=o=64}else if(isNaN(n)){o=64}r+=k.charAt(i)+k.charAt(s)+k.charAt(l)+k.charAt(o)}return r}function C(e){var r="";var t=0,a=0,n=0,i=0,s=0,l=0,o=0;e=e.replace(/^data:([^\/]+\/[^\/]+)?;base64\,/,"").replace(/[^\w\+\/\=]/g,"");for(var c=0;c>4;r+=String.fromCharCode(t);l=k.indexOf(e.charAt(c++));a=(s&15)<<4|l>>2;if(l!==64){r+=String.fromCharCode(a)}o=k.indexOf(e.charAt(c++));n=(l&3)<<6|o;if(o!==64){r+=String.fromCharCode(n)}}return r}var _=function(){return typeof Buffer!=="undefined"&&typeof undefined!=="undefined"&&typeof{}!=="undefined"&&!!{}.node}();var A=function(){if(typeof Buffer!=="undefined"){var e=!Buffer.from;if(!e)try{Buffer.from("foo","utf8")}catch(r){e=true}return e?function(e,r){return r?new Buffer(e,r):new Buffer(e)}:Buffer.from.bind(Buffer)}return function(){}}();var T=function(){if(typeof Buffer==="undefined")return false;var e=A([65,0]);if(!e)return false;var r=e.toString("utf16le");return r.length==1}();function E(e){if(_)return Buffer.alloc?Buffer.alloc(e):new Buffer(e);return typeof Uint8Array!="undefined"?new Uint8Array(e):new Array(e)}function F(e){if(_)return Buffer.allocUnsafe?Buffer.allocUnsafe(e):new Buffer(e);return typeof Uint8Array!="undefined"?new Uint8Array(e):new Array(e)}var D=function Pc(e){if(_)return A(e,"binary");return e.split("").map(function(e){return e.charCodeAt(0)&255})};function O(e){if(typeof ArrayBuffer==="undefined")return D(e);var r=new ArrayBuffer(e.length),t=new Uint8Array(r);for(var a=0;a!=e.length;++a)t[a]=e.charCodeAt(a)&255;return r}function M(e){if(Array.isArray(e))return e.map(function(e){return String.fromCharCode(e)}).join("");var r=[];for(var t=0;t>6&31;n[t++]=128|s&63}else if(s>=55296&&s<57344){s=(s&1023)+64;var l=e.charCodeAt(++i)&1023;n[t++]=240|s>>8&7;n[t++]=128|s>>2&63;n[t++]=128|l>>6&15|(s&3)<<4;n[t++]=128|l&63}else{n[t++]=224|s>>12&15;n[t++]=128|s>>6&63;n[t++]=128|s&63}if(t>a){r.push(n.slice(0,t));t=0;n=E(65535);a=65530}}r.push(n.slice(0,t));return P(r)}var L=/\u0000/g,B=/[\u0001-\u0006]/g;function U(e){var r="",t=e.length-1;while(t>=0)r+=e.charAt(t--);return r}function z(e,r){var t=""+e;return t.length>=r?t:xr("0",r-t.length)+t}function W(e,r){var t=""+e;return t.length>=r?t:xr(" ",r-t.length)+t}function j(e,r){var t=""+e;return t.length>=r?t:t+xr(" ",r-t.length)}function H(e,r){var t=""+Math.round(e);return t.length>=r?t:xr("0",r-t.length)+t}function V(e,r){var t=""+e;return t.length>=r?t:xr("0",r-t.length)+t}var X=Math.pow(2,32);function G(e,r){if(e>X||e<-X)return H(e,r);var t=Math.round(e);return V(t,r)}function Y(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 J=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]];var Z=[["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 K(e){if(!e)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"秒 "';return e}var q={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"上午/下午 "hh"時"mm"分"ss"秒 "'};var Q={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0};var ee={5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',41:'_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function re(e,r,t){var a=e<0?-1:1;var n=e*a;var i=0,s=1,l=0;var o=1,c=0,f=0;var u=Math.floor(n);while(cr){if(c>r){f=o;l=i}else{f=c;l=s}}if(!t)return[0,a*l,f];var h=Math.floor(a*l/f);return[h,a*l-h*f,f]}function te(e){var r=e.toPrecision(16);if(r.indexOf("e")>-1){var t=r.slice(0,r.indexOf("e"));t=t.indexOf(".")>-1?t.slice(0,t.slice(0,2)=="0."?17:16):t.slice(0,15)+xr("0",t.length-15);return t+r.slice(r.indexOf("e"))}var a=r.indexOf(".")>-1?r.slice(0,r.slice(0,2)=="0."?17:16):r.slice(0,15)+xr("0",r.length-15);return Number(a)}function ae(e,r,t){if(e>2958465||e<0)return null;e=te(e);var a=e|0,n=Math.floor(86400*(e-a)),i=0;var s=[];var l={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(l.u)<1e-6)l.u=0;if(r&&r.date1904)a+=1462;if(l.u>.9999){l.u=0;if(++n==86400){l.T=n=0;++a;++l.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=fe(o,s)}l.y=s[0];l.m=s[1];l.d=s[2];l.S=n%60;n=Math.floor(n/60);l.M=n%60;n=Math.floor(n/60);l.H=n;l.q=i;return l}function ne(e){return e.indexOf(".")==-1?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function ie(e){if(e.indexOf("E")==-1)return e;return e.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}function se(e){var r=e<0?12:11;var t=ne(e.toFixed(12));if(t.length<=r)return t;t=e.toPrecision(10);if(t.length<=r)return t;return e.toExponential(5)}function le(e){var r=ne(e.toFixed(11));return r.length>(e<0?12:11)||r==="0"||r==="-0"?e.toPrecision(6):r}function oe(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=se(e);else if(r===10)t=e.toFixed(10).substr(0,12);else t=le(e);return ne(ie(t.toUpperCase()))}function ce(e,r){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(e|0)===e?e.toString(10):oe(e);case"undefined":return"";case"object":if(e==null)return"";if(e instanceof Date)return $e(14,dr(e,r&&r.date1904),r);}throw new Error("unsupported value in General format: "+e)}function fe(e,r){r[0]-=581;var t=e.getDay();if(e<60)t=(t+6)%7;return t}function ue(e,r,t,a){var n="",i=0,s=0,l=t.y,o,c=0;switch(e){case 98:l=t.y+543;case 121:switch(r.length){case 1:;case 2:o=l%100;c=2;break;default:o=l%1e4;c=4;break;}break;case 109:switch(r.length){case 1:;case 2:o=t.m;c=r.length;break;case 3:return Z[t.m-1][1];case 5:return Z[t.m-1][0];default:return Z[t.m-1][2];}break;case 100:switch(r.length){case 1:;case 2:o=t.d;c=r.length;break;case 3:return J[t.q][0];default:return J[t.q][1];}break;case 104:switch(r.length){case 1:;case 2:o=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:o=t.H;c=r.length;break;default:throw"bad hour format: "+r;}break;case 77:switch(r.length){case 1:;case 2:o=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 z(t.S,r.length);if(a>=2)s=a===3?1e3:100;else s=a===1?10:1;i=Math.round(s*(t.S+t.u));if(i>=60*s)i=0;if(r==="s")return i===0?"0":""+i/s;n=z(i,2+a);if(r==="ss")return n.substr(0,2);return"."+n.substr(2,r.length-1);case 90:switch(r){case"[h]":;case"[hh]":o=t.D*24+t.H;break;case"[m]":;case"[mm]":o=(t.D*24+t.H)*60+t.M;break;case"[s]":;case"[ss]":o=((t.D*24+t.H)*60+t.M)*60+(a==0?Math.round(t.S+t.u):t.S);break;default:throw"bad abstime format: "+r;}c=r.length===3?1:2;break;case 101:o=l;c=1;break;}var f=c>0?z(o,c):"";return f}function he(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 de=/%/g;function pe(e,r,t){var a=r.replace(de,""),n=r.length-a.length;return Ne(e,a,t*Math.pow(10,2*n))+xr("%",n)}function me(e,r,t){var a=r.length-1;while(r.charCodeAt(a-1)===44)--a;return Ne(e,r.substr(0,a),t/Math.pow(10,3*(r.length-a)))}function ve(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"-"+ve(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 ge=/# (\?+)( ?)\/( ?)(\d+)/;function be(e,r,t){var a=parseInt(e[4],10),n=Math.round(r*a),i=Math.floor(n/a);var s=n-i*a,l=a;return t+(i===0?"":""+i)+" "+(s===0?xr(" ",e[1].length+1+e[4].length):W(s,e[1].length)+e[2]+"/"+e[3]+z(l,e[4].length))}function we(e,r,t){return t+(r===0?"":""+r)+xr(" ",e[1].length+2+e[4].length)}var ke=/^#*0*\.([0#]+)/;var ye=/\).*[0#]/;var xe=/\(###\) ###\\?-####/;function Se(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 Ce(e,r){var t=Math.pow(10,r);return""+Math.round(e*t)/t}function _e(e,r){var t=e-Math.floor(e),a=Math.pow(10,r);if(r<(""+Math.round(t*a)).length)return 0;return Math.round(t*a)}function Ae(e,r){if(r<(""+Math.round((e-Math.floor(e))*Math.pow(10,r))).length){return 1}return 0}function Te(e){if(e<2147483647&&e>-2147483648)return""+(e>=0?e|0:e-1|0);return""+Math.floor(e)}function Ee(e,r,t){if(e.charCodeAt(0)===40&&!r.match(ye)){var a=r.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");if(t>=0)return Ee("n",a,t);return"("+Ee("n",a,-t)+")"}if(r.charCodeAt(r.length-1)===44)return me(e,r,t);if(r.indexOf("%")!==-1)return pe(e,r,t);if(r.indexOf("E")!==-1)return ve(r,t);if(r.charCodeAt(0)===36)return"$"+Ee(e,r.substr(r.charAt(1)==" "?2:1),t);var n;var i,s,l,o=Math.abs(t),c=t<0?"-":"";if(r.match(/^00+$/))return c+G(o,r.length);if(r.match(/^[#?]+$/)){n=G(t,0);if(n==="0")n="";return n.length>r.length?n:Se(r.substr(0,r.length-n.length))+n}if(i=r.match(ge))return be(i,o,c);if(r.match(/^#+0+$/))return c+G(o,r.length-r.indexOf("0"));if(i=r.match(ke)){n=Ce(t,i[1].length).replace(/^([^\.]+)$/,"$1."+Se(i[1])).replace(/\.$/,"."+Se(i[1])).replace(/\.(\d*)$/,function(e,r){return"."+r+xr("0",Se(i[1]).length-r.length)});return r.indexOf("0.")!==-1?n:n.replace(/^0\./,".")}r=r.replace(/^#+([0.])/,"$1");if(i=r.match(/^(0*)\.(#*)$/)){return c+Ce(o,i[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,i[1].length?"0.":".")}if(i=r.match(/^#{1,3},##0(\.?)$/))return c+he(G(o,0));if(i=r.match(/^#,##0\.([#0]*0)$/)){return t<0?"-"+Ee(e,r,-t):he(""+(Math.floor(t)+Ae(t,i[1].length)))+"."+z(_e(t,i[1].length),i[1].length)}if(i=r.match(/^#,#*,#0/))return Ee(e,r.replace(/^#,#*,/,""),t);if(i=r.match(/^([0#]+)(\\?-([0#]+))+$/)){n=U(Ee(e,r.replace(/[\\-]/g,""),t));s=0;return U(U(r.replace(/\\/g,"")).replace(/[0#]/g,function(e){return s=0)return Me("n",a,t);return"("+Me("n",a,-t)+")"}if(r.charCodeAt(r.length-1)===44)return Fe(e,r,t);if(r.indexOf("%")!==-1)return De(e,r,t);if(r.indexOf("E")!==-1)return Oe(r,t);if(r.charCodeAt(0)===36)return"$"+Me(e,r.substr(r.charAt(1)==" "?2:1),t);var n;var i,s,l,o=Math.abs(t),c=t<0?"-":"";if(r.match(/^00+$/))return c+z(o,r.length);if(r.match(/^[#?]+$/)){n=""+t;if(t===0)n="";return n.length>r.length?n:Se(r.substr(0,r.length-n.length))+n}if(i=r.match(ge))return we(i,o,c);if(r.match(/^#+0+$/))return c+z(o,r.length-r.indexOf("0"));if(i=r.match(ke)){n=(""+t).replace(/^([^\.]+)$/,"$1."+Se(i[1])).replace(/\.$/,"."+Se(i[1]));n=n.replace(/\.(\d*)$/,function(e,r){return"."+r+xr("0",Se(i[1]).length-r.length)});return r.indexOf("0.")!==-1?n:n.replace(/^0\./,".")}r=r.replace(/^#+([0.])/,"$1");if(i=r.match(/^(0*)\.(#*)$/)){return c+(""+o).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,i[1].length?"0.":".")}if(i=r.match(/^#{1,3},##0(\.?)$/))return c+he(""+o);if(i=r.match(/^#,##0\.([#0]*0)$/)){return t<0?"-"+Me(e,r,-t):he(""+t)+"."+xr("0",i[1].length)}if(i=r.match(/^#,#*,#0/))return Me(e,r.replace(/^#,#*,/,""),t);if(i=r.match(/^([0#]+)(\\?-([0#]+))+$/)){n=U(Me(e,r.replace(/[\\-]/g,""),t));s=0;return U(U(r.replace(/\\/g,"")).replace(/[0#]/g,function(e){return s-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}function Le(e,r,t,a){var n=[],i="",s=0,l="",o="t",c,f,u;var h="H";while(s=12?e.charAt(s+2):l;m.t="T";h="h";s+=3}else if(e.substr(s,5).toUpperCase()==="AM/PM"){if(c!=null)m.v=c.H>=12?"PM":"AM";m.t="T";s+=5;h="h"}else if(e.substr(s,5).toUpperCase()==="上午/下午"){if(c!=null)m.v=c.H>=12?"下午":"上午";m.t="T";s+=5;h="h"}else{m.t="t";++s}if(c==null&&m.t==="T")return"";n[n.length]=m;o=l;break;case"[":i=l;while(e.charAt(s++)!=="]"&&s-1){i=(i.match(/\$([^-\[\]]*)/)||[])[1]||"$";if(!Re(e))n[n.length]={t:"t",v:i}}break;case".":if(c!=null){i=l;while(++s-1)i+=l;n[n.length]={t:"n",v:i};break;case"?":i=l;while(e.charAt(++s)===l)i+=l;n[n.length]={t:l,v:i};o=l;break;case"*":++s;if(e.charAt(s)==" "||e.charAt(s)=="*")++s;break;case"(":;case")":n[n.length]={t:a===1?"t":l,v:l};++s;break;case"1":;case"2":;case"3":;case"4":;case"5":;case"6":;case"7":;case"8":;case"9":i=l;while(s-1)i+=e.charAt(s);n[n.length]={t:"D",v:i};break;case" ":n[n.length]={t:l,v:l};++s;break;case"$":n[n.length]={t:"t",v:"$"};++s;break;default:if(",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP".indexOf(l)===-1)throw new Error("unrecognized character "+l+" in "+e);n[n.length]={t:"t",v:l};++s;break;}}var v=0,g=0,b;for(s=n.length-1,o="t";s>=0;--s){switch(n[s].t){case"h":;case"H":n[s].t=h;o="h";if(v<1)v=1;break;case"s":if(b=n[s].v.match(/\.0+$/)){g=Math.max(g,b[0].length-1);v=4}if(v<3)v=3;case"d":;case"y":;case"e":o=n[s].t;break;case"M":o=n[s].t;if(v<2)v=2;break;case"m":if(o==="s"){n[s].t="M";if(v<2)v=2}break;case"X":break;case"Z":if(v<1&&n[s].v.match(/[Hh]/))v=1;if(v<2&&n[s].v.match(/[Mm]/))v=2;if(v<3&&n[s].v.match(/[Ss]/))v=3;}}var w;switch(v){case 0:break;case 1:;case 2:;case 3:if(c.u>=.5){c.u=0;++c.S}if(c.S>=60){c.S=0;++c.M}if(c.M>=60){c.M=0;++c.H}if(c.H>=24){c.H=0;++c.D;w=ae(c.D);w.u=c.u;w.S=c.S;w.M=c.M;w.H=c.H;c=w}break;case 4:switch(g){case 1:c.u=Math.round(c.u*10)/10;break;case 2:c.u=Math.round(c.u*100)/100;break;case 3:c.u=Math.round(c.u*1e3)/1e3;break;}if(c.u>=1){c.u=0;++c.S}if(c.S>=60){c.S=0;++c.M}if(c.M>=60){c.M=0;++c.H}if(c.H>=24){c.H=0;++c.D;w=ae(c.D);w.u=c.u;w.S=c.S;w.M=c.M;w.H=c.H;c=w}break;}var k="",y;for(s=0;s0){if(k.charCodeAt(0)==40){S=r<0&&k.charCodeAt(0)===45?-r:r;C=Ne("n",k,S)}else{S=r<0&&a>1?-r:r;C=Ne("n",k,S);if(S<0&&n[0]&&n[0].t=="t"){C=C.substr(1);n[0].v="-"+n[0].v}}y=C.length-1;var _=n.length;for(s=0;s-1){_=s;break}var A=n.length;if(_===n.length&&C.indexOf("E")===-1){for(s=n.length-1;s>=0;--s){if(n[s]==null||"n?".indexOf(n[s].t)===-1)continue;if(y>=n[s].v.length-1){y-=n[s].v.length;n[s].v=C.substr(y+1,n[s].v.length)}else if(y<0)n[s].v="";else{n[s].v=C.substr(0,y+1);y=-1}n[s].t="t";A=s}if(y>=0&&A=0;--s){if(n[s]==null||"n?".indexOf(n[s].t)===-1)continue;f=n[s].v.indexOf(".")>-1&&s===_?n[s].v.indexOf(".")-1:n[s].v.length-1;x=n[s].v.substr(f+1);for(;f>=0;--f){if(y>=0&&(n[s].v.charAt(f)==="0"||n[s].v.charAt(f)==="#"))x=C.charAt(y--)+x}n[s].v=x;n[s].t="t";A=s}if(y>=0&&A-1&&s===_?n[s].v.indexOf(".")+1:0;x=n[s].v.substr(0,f);for(;f-1){S=a>1&&r<0&&s>0&&n[s-1].v==="-"?-r:r;n[s].v=Ne(n[s].t,n[s].v,S);n[s].t="t"}var T="";for(s=0;s!==n.length;++s)if(n[s]!=null)T+=n[s].v;return T}var Be=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function Ue(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 ze(e,r){var t=Ie(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(/\[[=<>]/)!=null||t[1].match(/\[[=<>]/)!=null){var s=t[0].match(Be);var l=t[1].match(Be);return Ue(r,s)?[a,t[0]]:Ue(r,l)?[a,t[1]]:[a,t[s!=null&&l!=null?2:1]]}return[a,i]}function $e(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:q)[e];if(a==null)a=t.table&&t.table[Q[e]]||q[Q[e]];if(a==null)a=ee[e]||"General";break;}if(Y(a,0))return ce(r,t);if(r instanceof Date)r=dr(r,t.date1904);var n=ze(a,r);if(Y(n[1]))return ce(r,t);if(r===true)r="TRUE";else if(r===false)r="FALSE";else if(r===""||r==null)return"";return Le(n[1],r,t,n[0])}function We(e,r){if(typeof r!="number"){r=+r||-1;for(var t=0;t<392;++t){if(q[t]==undefined){if(r<0)r=t;continue}if(q[t]==e){r=t;break}}if(r<0)r=391}q[r]=e;return r}function je(e){for(var r=0;r!=392;++r)if(e[r]!==undefined)We(e[r],r)}function He(){q=K()}var Ve={format:$e,load:We,_table:q,load_table:je,parse_date_code:ae,is_date:Re,get_table:function Rc(){return Ve._table=q}};var Xe={5:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',23:"General",24:"General",25:"General",26:"General",27:"m/d/yy",28:"m/d/yy",29:"m/d/yy",30:"m/d/yy",31:"m/d/yy",32:"h:mm:ss",33:"h:mm:ss",34:"h:mm:ss",35:"h:mm:ss",36:"m/d/yy",41:'_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* (#,##0);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)',50:"m/d/yy",51:"m/d/yy",52:"m/d/yy",53:"m/d/yy",54:"m/d/yy",55:"m/d/yy",56:"m/d/yy",57:"m/d/yy",58:"m/d/yy",59:"0",60:"0.00",61:"#,##0",62:"#,##0.00",63:'"$"#,##0_);\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',67:"0%",68:"0.00%",69:"# ?/?",70:"# ??/??",71:"m/d/yy",72:"m/d/yy",73:"d-mmm-yy",74:"d-mmm",75:"mmm-yy",76:"h:mm",77:"h:mm:ss",78:"m/d/yy h:mm",79:"mm:ss",80:"[h]:mm:ss",81:"mmss.0"};var Ge=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;function Ye(e){var r=typeof e=="number"?q[e]:e;r=r.replace(Ge,"(\\d+)");Ge.lastIndex=0;return new RegExp("^"+r+"$")}function Je(e,r,t){var a=-1,n=-1,i=-1,s=-1,l=-1,o=-1;(r.match(Ge)||[]).forEach(function(e,r){var c=parseInt(t[r+1],10);switch(e.toLowerCase().charAt(0)){case"y":a=c;break;case"d":i=c;break;case"h":s=c;break;case"s":o=c;break;case"m":if(s>=0)l=c;else n=c; -break;}});Ge.lastIndex=0;if(o>=0&&l==-1&&n>=0){l=n;n=-1}var c=(""+(a>=0?a:(new Date).getFullYear())).slice(-4)+"-"+("00"+(n>=1?n:1)).slice(-2)+"-"+("00"+(i>=1?i:1)).slice(-2);if(c.length==7)c="0"+c;if(c.length==8)c="20"+c;var f=("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(l>=0?l:0)).slice(-2)+":"+("00"+(o>=0?o:0)).slice(-2);if(s==-1&&l==-1&&o==-1)return c;if(a==-1&&n==-1&&i==-1)return f;return c+"T"+f}var Ze={"d.m":"d\\.m"};function Ke(e,r){return We(Ze[e]||e,r)}var qe=function(){var e={};e.version="1.2.0";function r(){var e=0,r=new Array(256);for(var t=0;t!=256;++t){e=t;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;r[t]=e}return typeof Int32Array!=="undefined"?new Int32Array(r):r}var t=r();function a(e){var r=0,t=0,a=0,n=typeof Int32Array!=="undefined"?new Int32Array(4096):new Array(4096);for(a=0;a!=256;++a)n[a]=e[a];for(a=0;a!=256;++a){t=e[a];for(r=256+a;r<4096;r+=256)t=n[r]=t>>>8^e[t&255]}var i=[];for(a=1;a!=16;++a)i[a-1]=typeof Int32Array!=="undefined"&&typeof n.subarray=="function"?n.subarray(a*256,a*256+256):n.slice(a*256,a*256+256);return i}var n=a(t);var i=n[0],s=n[1],l=n[2],o=n[3],c=n[4];var f=n[5],u=n[6],h=n[7],d=n[8],p=n[9];var m=n[10],v=n[11],g=n[12],b=n[13],w=n[14];function k(e,r){var a=r^-1;for(var n=0,i=e.length;n>>8^t[(a^e.charCodeAt(n++))&255];return~a}function y(e,r){var a=r^-1,n=e.length-15,k=0;for(;k>8&255]^g[e[k++]^a>>16&255]^v[e[k++]^a>>>24]^m[e[k++]]^p[e[k++]]^d[e[k++]]^h[e[k++]]^u[e[k++]]^f[e[k++]]^c[e[k++]]^o[e[k++]]^l[e[k++]]^s[e[k++]]^i[e[k++]]^t[e[k++]];n+=15;while(k>>8^t[(a^e[k++])&255];return~a}function x(e,r){var a=r^-1;for(var n=0,i=e.length,s=0,l=0;n>>8^t[(a^s)&255]}else if(s<2048){a=a>>>8^t[(a^(192|s>>6&31))&255];a=a>>>8^t[(a^(128|s&63))&255]}else if(s>=55296&&s<57344){s=(s&1023)+64;l=e.charCodeAt(n++)&1023;a=a>>>8^t[(a^(240|s>>8&7))&255];a=a>>>8^t[(a^(128|s>>2&63))&255];a=a>>>8^t[(a^(128|l>>6&15|(s&3)<<4))&255];a=a>>>8^t[(a^(128|l&63))&255]}else{a=a>>>8^t[(a^(224|s>>12&15))&255];a=a>>>8^t[(a^(128|s>>6&63))&255];a=a>>>8^t[(a^(128|s&63))&255]}}return~a}e.table=t;e.bstr=k;e.buf=y;e.str=x;return e}();var Qe=function Lc(){var e={};e.version="1.2.2";function r(e,r){var t=e.split("/"),a=r.split("/");for(var n=0,i=0,s=Math.min(t.length,a.length);n>>1;e._W(2,t);var a=r.getFullYear()-1980;a=a<<4|r.getMonth()+1;a=a<<5|r.getDate();e._W(2,a)}function i(e){var r=e._R(2)&65535;var t=e._R(2)&65535;var a=new Date;var n=t&31;t>>>=5;var i=t&15;t>>>=4;a.setMilliseconds(0);a.setFullYear(t+1980);a.setMonth(i-1);a.setDate(n);var s=r&31;r>>>=5;var l=r&63;r>>>=6;a.setHours(r);a.setMinutes(l);a.setSeconds(s<<1);return a}function s(e){ya(e,0);var r={};var t=0;while(e.l<=e.length-4){var a=e._R(2);var n=e._R(2),i=e.l+n;var s={};switch(a){case 21589:{t=e._R(1);if(t&1)s.mtime=e._R(4);if(n>5){if(t&2)s.atime=e._R(4);if(t&4)s.ctime=e._R(4)}if(s.mtime)s.mt=new Date(s.mtime*1e3)}break;case 1:{var l=e._R(4),o=e._R(4);s.usz=o*Math.pow(2,32)+l;l=e._R(4);o=e._R(4);s.csz=o*Math.pow(2,32)+l}break;}e.l=i;r[a]=s}return r}var l;function o(){return l||(l=er)}function c(e,r){if(e[0]==80&&e[1]==75)return Oe(e,r);if((e[0]|32)==109&&(e[1]|32)==105)return ze(e,r);if(e.length<512)throw new Error("CFB file size "+e.length+" < 512");var t=3;var a=512;var n=0;var i=0;var s=0;var l=0;var o=0;var c=[];var p=e.slice(0,512);ya(p,0);var v=f(p);t=v[0];switch(t){case 3:a=512;break;case 4:a=4096;break;case 0:if(v[1]==0)return Oe(e,r);default:throw new Error("Major Version: Expected 3 or 4 saw "+t);}if(a!==512){p=e.slice(0,a);ya(p,28)}var w=e.slice(0,a);u(p,t);var k=p._R(4,"i");if(t===3&&k!==0)throw new Error("# Directory Sectors: Expected 0 saw "+k);p.l+=4;s=p._R(4,"i");p.l+=4;p.chk("00100000","Mini Stream Cutoff Size: ");l=p._R(4,"i");n=p._R(4,"i");o=p._R(4,"i");i=p._R(4,"i");for(var y=-1,x=0;x<109;++x){y=p._R(4,"i");if(y<0)break;c[x]=y}var S=h(e,a);m(o,i,S,a,c);var C=g(S,s,c,a);if(s0&&l!==R)C[l].name="!MiniFAT";C[c[0]].name="!FAT";C.fat_addrs=c;C.ssz=a;var _={},A=[],T=[],E=[];b(s,C,S,A,n,_,T,l);d(T,E,A);A.shift();var F={FileIndex:T,FullPaths:E};if(r&&r.raw)F.raw={header:w,sectors:S};return F}function f(e){if(e[e.l]==80&&e[e.l+1]==75)return[0,0];e.chk(U,"Header Signature: ");e.l+=16;var r=e._R(2,"u");return[e._R(2,"u"),r]}function u(e,r){var t=9;e.l+=2;switch(t=e._R(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 h(e,r){var t=Math.ceil(e.length/r)-1;var a=[];for(var n=1;n0&&s>=0){i.push(r.slice(s*I,s*I+I));n-=I;s=da(t,s*4)}if(i.length===0)return Sa(0);return P(i).slice(0,e.size)}function m(e,r,t,a,n){var i=R;if(e===R){if(r!==0)throw new Error("DIFAT chain shorter than expected")}else if(e!==-1){var s=t[e],l=(a>>>2)-1;if(!s)return;for(var o=0;o=1)m(da(s,a-4),r-1,t,a,n)}}function v(e,r,t,a,n){var i=[],s=[];if(!n)n=[];var l=a-1,o=0,c=0;for(o=r;o>=0;){n[o]=true;i[i.length]=o;s.push(e[o]);var f=t[Math.floor(o*4/a)];c=o*4&l;if(a<4+c)throw new Error("FAT boundary crossed: "+o+" 4 "+a);if(!e[f])break;o=da(e[f],c)}return{nodes:i,data:Wt([s])}}function g(e,r,t,a){var n=e.length,i=[];var s=[],l=[],o=[];var c=a-1,f=0,u=0,h=0,d=0;for(f=0;f=n)h-=n;if(s[h])continue;o=[];var p=[];for(u=h;u>=0;){p[u]=true;s[u]=true;l[l.length]=u;o.push(e[u]);var m=t[Math.floor(u*4/a)];d=u*4&c;if(a<4+d)throw new Error("FAT boundary crossed: "+u+" 4 "+a);if(!e[m])break;u=da(e[m],d);if(p[u])break}i[h]={nodes:l,data:Wt([o])}}return i}function b(e,r,t,a,n,i,s,l){var o=0,c=a.length?2:0;var f=r[e].data;var u=0,h=0,d;for(;u0&&o!==R)r[o].name="!StreamData"}else if(g.size>=4096){g.storage="fat";if(r[g.start]===undefined)r[g.start]=v(t,g.start,r.fat_addrs,r.ssz);r[g.start].name=g.name;g.content=r[g.start].data.slice(0,g.size)}else{g.storage="minifat";if(g.size<0)g.size=0;else if(o!==R&&g.start!==R&&r[o]){g.content=p(g,r[o].data,(r[l]||{}).data)}}if(g.content)ya(g.content,0);i[d]=g;s.push(g)}}function w(e,r){return new Date((ha(e,r+4)/1e7*Math.pow(2,32)+ha(e,r)/1e7-11644473600)*1e3)}function k(e,r){o();return c(l.readFileSync(e),r)}function x(e,r){var t=r&&r.type;if(!t){if(_&&Buffer.isBuffer(e))t="buffer"}switch(t||"base64"){case"file":return k(e,r);case"base64":return c(D(C(e)),r);case"binary":return c(D(e),r);}return c(e,r)}function S(e,r){var t=r||{},a=t.root||"Root Entry";if(!e.FullPaths)e.FullPaths=[];if(!e.FileIndex)e.FileIndex=[];if(e.FullPaths.length!==e.FileIndex.length)throw new Error("inconsistent CFB structure");if(e.FullPaths.length===0){e.FullPaths[0]=a+"/";e.FileIndex[0]={name:a,type:5}}if(t.CLSID)e.FileIndex[0].clsid=t.CLSID;T(e)}function T(e){var r="Sh33tJ5";if(Qe.find(e,"/"+r))return;var t=Sa(4);t[0]=55;t[1]=t[3]=50;t[2]=54;e.FileIndex.push({name:r,type:2,content:t,size:4,L:69,R:69,C:69});e.FullPaths.push(e.FullPaths[0]+r);O(e)}function O(e,n){S(e);var i=false,s=false;for(var l=e.FullPaths.length-1;l>=0;--l){var o=e.FileIndex[l];switch(o.type){case 0:if(s)i=true;else{e.FileIndex.pop();e.FullPaths.pop()}break;case 1:;case 2:;case 5:s=true;if(isNaN(o.R*o.L*o.C))i=true;if(o.R>-1&&o.L>-1&&o.R==o.L)i=true;break;default:i=true;break;}}if(!i&&!n)return;var c=new Date(1987,1,19),f=0;var u=Object.create?Object.create(null):{};var h=[];for(l=0;l1?1:-1;p.size=0;p.type=5}else if(m.slice(-1)=="/"){for(f=l+1;f=h.length?-1:f;for(f=l+1;f=h.length?-1:f;p.type=1}else{if(t(e.FullPaths[l+1]||"")==t(m))p.R=l+1;p.type=2}}}function M(e,r){var t=r||{};if(t.fileType=="mad")return $e(e,t);O(e);switch(t.fileType){case"zip":return Ne(e,t);}var a=function(e){var r=0,t=0;for(var a=0;a0){if(i<4096)r+=i+63>>6;else t+=i+511>>9}}var s=e.FullPaths.length+3>>2;var l=r+7>>3;var o=r+127>>7;var c=l+t+s+o;var f=c+127>>7;var u=f<=109?0:Math.ceil((f-109)/127);while(c+f+u+127>>7>f)u=++f<=109?0:Math.ceil((f-109)/127);var h=[1,u,f,o,s,t,r,0];e.FileIndex[0].size=r<<6;h[7]=(e.FileIndex[0].start=h[0]+h[1]+h[2]+h[3]+h[4]+h[5])+(h[6]+7>>3);return h}(e);var n=Sa(a[7]<<9);var i=0,s=0;{for(i=0;i<8;++i)n._W(1,z[i]);for(i=0;i<8;++i)n._W(2,0);n._W(2,62);n._W(2,3);n._W(2,65534);n._W(2,9);n._W(2,6);for(i=0;i<3;++i)n._W(2,0);n._W(4,0);n._W(4,a[2]);n._W(4,a[0]+a[1]+a[2]+a[3]-1);n._W(4,0);n._W(4,1<<12);n._W(4,a[3]?a[0]+a[1]+a[2]-1:R);n._W(4,a[3]);n._W(-4,a[1]?a[0]-1:R);n._W(4,a[1]);for(i=0;i<109;++i)n._W(-4,i>9)}l(a[6]+7>>3);while(n.l&511)n._W(-4,W.ENDOFCHAIN);s=i=0;for(o=0;o=4096)continue;f.start=s;l(c+63>>6)}while(n.l&511)n._W(-4,W.ENDOFCHAIN);for(i=0;i32){console.error("Name "+h+" will be truncated to "+h.slice(0,32));h=h.slice(0,32)}c=2*(h.length+1);n._W(64,h,"utf16le");n._W(2,c);n._W(1,f.type);n._W(1,f.color);n._W(-4,f.L);n._W(-4,f.R);n._W(-4,f.C);if(!f.clsid)for(o=0;o<4;++o)n._W(4,0);else n._W(16,f.clsid,"hex");n._W(4,f.state||0);n._W(4,0);n._W(4,0);n._W(4,0);n._W(4,0);n._W(4,f.start);n._W(4,f.size);n._W(4,0)}for(i=1;i=4096){n.l=f.start+1<<9;if(_&&Buffer.isBuffer(f.content)){f.content.copy(n,n.l,0,f.size);n.l+=f.size+511&-512}else{for(o=0;o0&&f.size<4096){if(_&&Buffer.isBuffer(f.content)){f.content.copy(n,n.l,0,f.size);n.l+=f.size+63&-64}else{for(o=0;o>16|r>>8|r)&255}var ee=typeof Uint8Array!=="undefined";var re=ee?new Uint8Array(1<<8):[];for(var te=0;te<1<<8;++te)re[te]=Q(te);function ae(e,r){var t=re[e&255];if(r<=8)return t>>>8-r;t=t<<8|re[e>>8&255];if(r<=16)return t>>>16-r;t=t<<8|re[e>>16&255];return t>>>24-r}function ne(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=6?0:e[a+1]<<8))>>>t&3}function ie(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=5?0:e[a+1]<<8))>>>t&7}function se(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=4?0:e[a+1]<<8))>>>t&15}function le(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=3?0:e[a+1]<<8))>>>t&31}function oe(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=1?0:e[a+1]<<8))>>>t&127}function ce(e,r,t){var a=r&7,n=r>>>3,i=(1<>>a;if(t<8-a)return s&i;s|=e[n+1]<<8-a;if(t<16-a)return s&i;s|=e[n+2]<<16-a;if(t<24-a)return s&i;s|=e[n+3]<<24-a;return s&i}function fe(e,r,t){var a=r&7,n=r>>>3;if(a<=5)e[n]|=(t&7)<>8-a}return r+3}function ue(e,r,t){var a=r&7,n=r>>>3;t=(t&1)<>>3;t<<=a;e[n]|=t&255;t>>>=8;e[n+1]=t;return r+8}function de(e,r,t){var a=r&7,n=r>>>3;t<<=a;e[n]|=t&255;t>>>=8;e[n+1]=t&255;e[n+2]=t>>>8;return r+16}function pe(e,r){var t=e.length,a=2*t>r?2*t:r+5,n=0;if(t>=r)return e;if(_){var i=F(a);if(e.copy)e.copy(i);else for(;n>a-u;for(s=(1<=0;--s)r[l|s<0)r[r.l++]=e[t++]}return r.l}function i(r,t){var n=0;var i=0;var s=ee?new Uint16Array(32768):[];while(i0)t[t.l++]=r[i++];n=t.l*8;continue}n=fe(t,n,+!!(i+l==r.length)+2);var o=0;while(l-- >0){var c=r[i];o=(o<<5^c)&32767;var f=-1,u=0;if(f=s[o]){f|=i&~32767;if(f>i)f-=32768;if(f2){c=a[u];if(c<=22)n=he(t,n,re[c+1]>>1)-1;else{he(t,n,3);n+=5;he(t,n,re[c-23]>>5);n+=3}var h=c<8?0:c-4>>2;if(h>0){de(t,n,u-K[c]);n+=h}c=e[i-f];n=he(t,n,re[c]>>3);n-=3;var d=c<4?0:c-2>>1;if(d>0){de(t,n,i-f-q[c]);n+=d}for(var p=0;p>8-p;for(var m=(1<<7-p)-1;m>=0;--m)Ce[d|m<>>=3){case 16:i=3+ne(e,r);r+=2;d=v[v.length-1];while(i-- >0)v.push(d);break;case 17:i=3+ie(e,r);r+=3;while(i-- >0)v.push(0);break;case 18:i=11+oe(e,r);r+=7;while(i-- >0)v.push(0);break;default:v.push(d);if(o>>0;var l=0,o=0;while((a&1)==0){a=ie(e,t);t+=3;if(a>>>1==0){if(t&7)t+=8-(t&7);var c=e[t>>>3]|e[(t>>>3)+1]<<8;t+=32;if(c>0){if(!r&&s0){n[i++]=e[t>>>3];t+=8}}continue}else if(a>>1==1){l=9;o=5}else{t=Te(e,t);l=_e;o=Ae}for(;;){if(!r&&s>>1==1?ge[f]:xe[f];t+=u&15;u>>>=4;if((u>>>8&255)===0)n[i++]=u;else if(u==256)break;else{u-=257;var h=u<8?0:u-4>>2;if(h>5)h=0;var d=i+K[u];if(h>0){d+=ce(e,t,h);t+=h}f=ce(e,t,o);u=a>>>1==1?be[f]:Se[f];t+=u&15;u>>>=4;var p=u<4?0:u-2>>1;var m=q[u];if(p>0){m+=ce(e,t,p);t+=p}if(!r&&s>>3];return[n.slice(0,i),t+7>>>3]}function Fe(e,r){var t=e.slice(e.l||0);var a=Ee(t,r);e.l+=a[1];return a[0]}function De(e,r){if(e){if(typeof console!=="undefined")console.error(r)}else throw new Error(r)}function Oe(e,r){var t=e;ya(t,0);var a=[],n=[];var i={FileIndex:a,FullPaths:n};S(i,{root:r.root});var l=t.length-4;while((t[l]!=80||t[l+1]!=75||t[l+2]!=5||t[l+3]!=6)&&l>=0)--l;t.l=l+4;t.l+=4;var o=t._R(2);t.l+=6;var c=t._R(4);t.l=c;for(l=0;l0){t=t.slice(0,t.length-1);t=t.slice(0,t.lastIndexOf("/")+1);if(i.slice(0,t.length)==t)break}}var s=(a[1]||"").match(/boundary="(.*?)"/);if(!s)throw new Error("MAD cannot find boundary");var l="--"+(s[1]||"");var o=[],c=[];var f={FileIndex:o,FullPaths:c};S(f);var u,h=0;for(n=0;n=32&&d<128)++u;var m=u>=h*4/5;n.push(a);n.push("Content-Location: "+(t.root||"file:///C:/SheetJS/")+s);n.push("Content-Transfer-Encoding: "+(m?"quoted-printable":"base64"));n.push("Content-Type: "+Pe(l,s));n.push("");n.push(m?Le(f):Re(f))}n.push(a+"--\r\n");return n.join("\r\n")}function We(e){var r={};S(r,e);return r}function je(e,r,t,n){var i=n&&n.unsafe;if(!i)S(e);var s=!i&&Qe.find(e,r);if(!s){var l=e.FullPaths[0];if(r.slice(0,l.length)==l)l=r;else{if(l.slice(-1)!="/")l+="/";l=(l+r).replace("//","/")}s={name:a(r),type:2};e.FileIndex.push(s);e.FullPaths.push(l);if(!i)Qe.utils.cfb_gc(e)}s.content=t;s.size=t?t.length:0;if(n){if(n.CLSID)s.clsid=n.CLSID;if(n.mt)s.mt=n.mt;if(n.ct)s.ct=n.ct}return s}function He(e,r){S(e);var t=Qe.find(e,r);if(t)for(var a=0;a=60&&e<61)return e;var r=new Date;r.setTime((e>60?e:e+1)*24*60*60*1e3+fr);return r}function mr(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].slice(n[i].length-1)){case"Y":throw new Error("Unsupported ISO Duration Field: "+n[i].slice(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 vr=/^(\d+):(\d+)(:\d+)?(\.\d+)?$/;var gr=/^(\d+)-(\d+)-(\d+)$/;var br=/^(\d+)-(\d+)-(\d+)[T ](\d+):(\d+)(:\d+)?(\.\d+)?$/;function wr(e,r){if(e instanceof Date)return e;var t=e.match(vr);if(t)return new Date((r?hr:ur)+((parseInt(t[1],10)*60+parseInt(t[2],10))*60+(t[3]?parseInt(t[3].slice(1),10):0))*1e3+(t[4]?parseInt((t[4]+"000").slice(1,4),10):0));t=e.match(gr);if(t)return new Date(Date.UTC(+t[1],+t[2]-1,+t[3],0,0,0,0));t=e.match(br);if(t)return new Date(Date.UTC(+t[1],+t[2]-1,+t[3],+t[4],+t[5],t[6]&&parseInt(t[6].slice(1),10)||0,t[7]&&parseInt(t[7].slice(1),10)||0));var a=new Date(e);return a}function kr(e,r){if(_&&Buffer.isBuffer(e)){if(r&&T){if(e[0]==255&&e[1]==254)return yt(e.slice(2).toString("utf16le"));if(e[1]==254&&e[2]==255)return yt(d(e.slice(2).toString("binary")))}return e.toString("binary")}if(typeof TextDecoder!=="undefined")try{if(r){if(e[0]==255&&e[1]==254)return yt(new TextDecoder("utf-16le").decode(e.slice(2)));if(e[0]==254&&e[1]==255)return yt(new TextDecoder("utf-16be").decode(e.slice(2)))}var t={"€":"€","‚":"‚","ƒ":"ƒ","„":"„","…":"…","†":"†","‡":"‡","ˆ":"ˆ","‰":"‰","Š":"Š","‹":"‹","Œ":"Œ","Ž":"Ž","‘":"‘","’":"’","“":"“","”":"”","•":"•","–":"–","—":"—","˜":"˜","™":"™","š":"š","›":"›","œ":"œ","ž":"ž","Ÿ":"Ÿ"};if(Array.isArray(e))e=new Uint8Array(e);return new TextDecoder("latin1").decode(e).replace(/[€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ]/g,function(e){return t[e]||e})}catch(a){}var n=[],i=0;try{for(i=0;i3&&Dr.indexOf(r)==-1)return i}else if(r.replace(/[ap]m?/,"").match(/[a-z]/))return i;if(s<0||s>8099||e.match(/[^-0-9:,\/\\\ ]/))return i;return n}var Mr=function(){var e="abacaba".split(/(:?b)/i).length==5;return function r(t,a,n){if(e||typeof a=="string")return t.split(a);var i=t.split(a),s=[i[0]];for(var l=1;l\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g;var Zr=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/gm,Kr=/<[^>]*>/g;var qr=Yr.match(Zr)?Zr:Kr;var Qr=/<\w*:/,et=/<(\/?)\w+:/;function rt(e,r,t){var a={};var n=0,i=0;for(;n!==e.length;++n)if((i=e.charCodeAt(n))===32||i===10||i===13)break;if(!r)a[0]=e.slice(0,n);if(n===e.length)return a;var s=e.match(Jr),l=0,o="",c=0,f="",u="",h=1;if(s)for(c=0;c!=s.length;++c){u=s[c];for(i=0;i!=u.length;++i)if(u.charCodeAt(i)===61)break;f=u.slice(0,i).trim();while(u.charCodeAt(i+1)==32)++i;h=(n=u.charCodeAt(i+1))==34||n==39?1:0;o=u.slice(i+1+h,u.length-h);for(l=0;l!=f.length;++l)if(f.charCodeAt(l)===58)break;if(l===f.length){if(f.indexOf("_")>0)f=f.slice(0,f.indexOf("_"));a[f]=o;if(!t)a[f.toLowerCase()]=o}else{var d=(l===5&&f.slice(0,5)==="xmlns"?"xmlns":"")+f.slice(l+1);if(a[d]&&f.slice(l-3,l)=="ext")continue;a[d]=o;if(!t)a[d.toLowerCase()]=o}}return a}function tt(e){return e.replace(et,"<$1")}var at={""":'"',"'":"'",">":">","<":"<","&":"&"};var nt=lr(at);var it=function(){var e=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/gi,r=/_x([\da-fA-F]{4})_/gi;function t(a){var n=a+"",i=n.indexOf("-1?16:10))||e}).replace(r,function(e,r){return String.fromCharCode(parseInt(r,16))});var s=n.indexOf("]]>");return t(n.slice(0,i))+n.slice(i+9,s)+t(n.slice(s+3))}return function a(e,r){var a=t(e);return r?a.replace(/\r\n/g,"\n"):a}}();var st=/[&<>'"]/g,lt=/[\u0000-\u0008\u000b-\u001f\uFFFE-\uFFFF]/g;function ot(e){var r=e+"";return r.replace(st,function(e){return nt[e]}).replace(lt,function(e){return"_x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+"_"})}function ct(e){return ot(e).replace(/ /g,"_x0020_")}var ft=/[\u0000-\u001f]/g;function ut(e){var r=e+"";return r.replace(st,function(e){return nt[e]}).replace(/\n/g,"
").replace(ft,function(e){return"&#x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+";"})}function ht(e){var r=e+"";return r.replace(st,function(e){return nt[e]}).replace(ft,function(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"})}var dt=function(){var e=/&#(\d+);/g;function r(e,r){return String.fromCharCode(parseInt(r,10))}return function t(a){return a.replace(e,r)}}();function pt(e){return e.replace(/(\r\n|[\r\n])/g," ")}function mt(e){switch(e){case 1:;case true:;case"1":;case"true":return true;case 0:;case false:;case"0":;case"false":return false;}return false}function vt(e){var r="",t=0,a=0,n=0,i=0,s=0,l=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++);l=((a&7)<<18|(n&63)<<12|(i&63)<<6|s&63)-65536;r+=String.fromCharCode(55296+(l>>>10&1023));r+=String.fromCharCode(56320+(l&1023))}return r}function gt(e){var r=E(2*e.length),t,a,n=1,i=0,s=0,l;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")}function bt(e){return A(e,"binary").toString("utf8")}var wt="foo bar baz☃🍣";var kt=_&&(bt(wt)==vt(wt)&&bt||gt(wt)==vt(wt)&>)||vt;var yt=_?function(e){return A(e,"utf8").toString("binary")}:function(e){var r=[],t=0,a=0,n=0;while(t>6)));r.push(String.fromCharCode(128+(a&63)));break;case a>=55296&&a<57344:a-=55296;n=e.charCodeAt(t++)-56320+(a<<10);r.push(String.fromCharCode(240+(n>>18&7)));r.push(String.fromCharCode(144+(n>>12&63)));r.push(String.fromCharCode(128+(n>>6&63)));r.push(String.fromCharCode(128+(n&63)));break;default:r.push(String.fromCharCode(224+(a>>12)));r.push(String.fromCharCode(128+(a>>6&63)));r.push(String.fromCharCode(128+(a&63)));}}return r.join("")};var xt=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 St=function(){var e=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map(function(e){return[new RegExp("&"+e[0]+";","ig"),e[1]]});return function r(t){var a=t.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+/g,"\n").replace(/<[^>]*>/g,"");for(var n=0;n([\\s\\S]*?)","g")}}();var _t=/<\/?(?:vt:)?variant>/g,At=/<(?:vt:)([^>]*)>([\s\S]*)"+r+""}function Dt(e){return ir(e).map(function(r){return" "+r+'="'+e[r]+'"'}).join("")}function Ot(e,r,t){return"<"+e+(t!=null?Dt(t):"")+(r!=null?(r.match(Et)?' xml:space="preserve"':"")+">"+r+""}function Mt(e,r){try{return e.toISOString().replace(/\.\d*/,"")}catch(t){if(r)throw t}return""}function Nt(e,r){switch(typeof e){case"string":var t=Ot("vt:lpwstr",ot(e));if(r)t=t.replace(/"/g,"_x0022_");return t;case"number":return Ot((e|0)==e?"vt:i4":"vt:r8",ot(String(e)));case"boolean":return Ot("vt:bool",e?"true":"false");}if(e instanceof Date)return Ot("vt:filetime",Mt(e));throw new Error("Unable to serialize "+e)}function It(e){if(_&&Buffer.isBuffer(e))return e.toString("utf8");if(typeof e==="string")return e;if(typeof Uint8Array!=="undefined"&&e instanceof Uint8Array)return kt(M(I(e)));throw new Error("Bad input format: expected Buffer or string")}var Pt=/<(\/?)([^\s?>:\/]+)(?:[\s?:\/](?:[^>=]|="[^"]*?")*)?>/gm;var Rt={CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",CT:"http://schemas.openxmlformats.org/package/2006/content-types",RELS:"http://schemas.openxmlformats.org/package/2006/relationships",TCMNT:"http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments",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"};var Lt=["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 Bt={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 Ut(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 zt(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 if(s==0)n=i=0;else{n=Math.floor(Math.log(s)/Math.LN2);i=s*Math.pow(2,52-n);if(n<=-1023&&(!isFinite(i)||i>4|a}var $t=function(e){var r=[],t=10240;for(var a=0;a0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0].map(function(e){return Buffer.isBuffer(e)?e:A(e)})):$t(e)}:$t;var jt=function(e,r,t){var a=[];for(var n=r;n0?Yt(e,r+4,r+4+t-1):""};var Zt=Jt;var Kt=function(e,r){var t=ha(e,r);return t>0?Yt(e,r+4,r+4+t-1):""};var qt=Kt;var Qt=function(e,r){var t=2*ha(e,r);return t>0?Yt(e,r+4,r+4+t-1):""};var ea=Qt;var ra=function Uc(e,r){var t=ha(e,r);return t>0?Ht(e,r+4,r+4+t):""};var ta=ra;var aa=function(e,r){var t=ha(e,r);return t>0?Yt(e,r+4,r+4+t):""};var na=aa;var ia=function(e,r){return Ut(e,r)};var sa=ia;var la=function zc(e){return Array.isArray(e)||typeof Uint8Array!=="undefined"&&e instanceof Uint8Array};if(_){Zt=function $c(e,r){if(!Buffer.isBuffer(e))return Jt(e,r);var t=e.readUInt32LE(r);return t>0?e.toString("utf8",r+4,r+4+t-1):""};qt=function Wc(e,r){if(!Buffer.isBuffer(e))return Kt(e,r);var t=e.readUInt32LE(r);return t>0?e.toString("utf8",r+4,r+4+t-1):""};ea=function jc(e,r){if(!Buffer.isBuffer(e)||!T)return Qt(e,r);var t=2*e.readUInt32LE(r);return e.toString("utf16le",r+4,r+4+t-1)};ta=function Hc(e,r){if(!Buffer.isBuffer(e)||!T)return ra(e,r);var t=e.readUInt32LE(r);return e.toString("utf16le",r+4,r+4+t)};na=function Vc(e,r){if(!Buffer.isBuffer(e))return aa(e,r);var t=e.readUInt32LE(r);return e.toString("utf8",r+4,r+4+t)};sa=function Xc(e,r){if(Buffer.isBuffer(e))return e.readDoubleLE(r);return ia(e,r)};la=function Gc(e){return Buffer.isBuffer(e)||Array.isArray(e)||typeof Uint8Array!=="undefined"&&e instanceof Uint8Array}}function oa(){Ht=function(e,r,t){return a.utils.decode(1200,e.slice(r,t)).replace(L,"")};Yt=function(e,r,t){return a.utils.decode(65001,e.slice(r,t))};Zt=function(e,r){var n=ha(e,r);return n>0?a.utils.decode(t,e.slice(r+4,r+4+n-1)):""};qt=function(e,t){var n=ha(e,t);return n>0?a.utils.decode(r,e.slice(t+4,t+4+n-1)):""};ea=function(e,r){var t=2*ha(e,r);return t>0?a.utils.decode(1200,e.slice(r+4,r+4+t-1)):""};ta=function(e,r){var t=ha(e,r);return t>0?a.utils.decode(1200,e.slice(r+4,r+4+t)):""};na=function(e,r){var t=ha(e,r);return t>0?a.utils.decode(65001,e.slice(r+4,r+4+t)):""}}if(typeof a!=="undefined")oa();var ca=function(e,r){return e[r]};var fa=function(e,r){return e[r+1]*(1<<8)+e[r]};var ua=function(e,r){var t=e[r+1]*(1<<8)+e[r];return t<32768?t:(65535-t+1)*-1};var ha=function(e,r){return e[r+3]*(1<<24)+(e[r+2]<<16)+(e[r+1]<<8)+e[r]};var da=function(e,r){return e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]};var pa=function(e,r){return e[r]<<24|e[r+1]<<16|e[r+2]<<8|e[r+3]};function ma(e,t){var n="",i,s,l=[],o,c,f,u;switch(t){case"dbcs":u=this.l;if(_&&Buffer.isBuffer(this)&&T)n=this.slice(this.l,this.l+2*e).toString("utf16le");else for(f=0;f0?da:pa)(this,this.l);this.l+=4;return i}else{s=ha(this,this.l);this.l+=4}return s;case 8:;case-8:if(t==="f"){if(e==8)s=sa(this,this.l);else s=sa([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0);this.l+=8;return s}else e=8;case 16:n=Xt(this,this.l,e);break;};}this.l+=e;return n}var va=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 ga=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 ba=function(e,r,t){e[t]=r&255;e[t+1]=r>>>8&255};function wa(e,n,i){var s=0,l=0;if(i==="dbcs"){for(l=0;l!=n.length;++l)ba(this,n.charCodeAt(l),this.l+2*l);s=2*n.length}else if(i==="sbcs"||i=="cpstr"){if(typeof a!=="undefined"&&t==874){for(l=0;l!=n.length;++l){var o=a.utils.encode(t,n.charAt(l));this[this.l+l]=o[0]}s=n.length}else if(typeof a!=="undefined"&&i=="cpstr"){o=a.utils.encode(r,n);if(o.length==n.length)for(l=0;l>8}while(this.l>>=8;this[this.l+1]=n&255;break;case 3:s=3;this[this.l]=n&255;n>>>=8;this[this.l+1]=n&255;n>>>=8;this[this.l+2]=n&255;break;case 4:s=4;va(this,n,this.l);break;case 8:s=8;if(i==="f"){zt(this,n,this.l);break};case 16:break;case-4:s=4;ga(this,n,this.l);break;}this.l+=s;return this}function ka(e,r){var t=Xt(this,this.l,e.length>>1);if(t!==e)throw new Error(r+"Expected "+e+" saw "+t);this.l+=e.length>>1}function ya(e,r){e.l=r;e._R=ma;e.chk=ka;e._W=wa}function xa(e,r){e.l+=r}function Sa(e){var r=E(e);ya(r,0);return r}function Ca(e,r,t){if(!e)return;var a,n,i;ya(e,e.l||0);var s=e.length,l=0,o=0;while(e.la.l){a=a.slice(0,a.l);a.l=a.length}if(a.length>0)e.push(a)}a=null};var i=function f(e){if(a&&e=128?1:0)+1;if(a>=128)++i;if(a>=16384)++i;if(a>=2097152)++i;var s=e.next(i);if(n<=127)s._W(1,n);else{s._W(1,(n&127)+128);s._W(1,n>>7)}for(var l=0;l!=4;++l){if(a>=128){s._W(1,(a&127)+128);a>>=7}else{s._W(1,a);break}}if(a>0&&la(t))e.push(t)}function Ta(e,r,t){var a=yr(e);if(r.s){if(a.cRel)a.c+=r.s.c;if(a.rRel)a.r+=r.s.r}else{if(a.cRel)a.c+=r.c;if(a.rRel)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 Ea(e,r,t){var a=yr(e);a.s=Ta(a.s,r.s,t);a.e=Ta(a.e,r.s,t);return a}function Fa(e,r){if(e.cRel&&e.c<0){e=yr(e);while(e.c<0)e.c+=r>8?16384:256}if(e.rRel&&e.r<0){e=yr(e);while(e.r<0)e.r+=r>8?1048576:r>5?65536:16384}var t=$a(e);if(!e.cRel&&e.cRel!=null)t=La(t);if(!e.rRel&&e.rRel!=null)t=Na(t);return t}function Da(e,r){if(e.s.r==0&&!e.s.rRel){if(e.e.r==(r.biff>=12?1048575:r.biff>=8?65536:16384)&&!e.e.rRel){return(e.s.cRel?"":"$")+Ra(e.s.c)+":"+(e.e.cRel?"":"$")+Ra(e.e.c)}}if(e.s.c==0&&!e.s.cRel){if(e.e.c==(r.biff>=12?16383:255)&&!e.e.cRel){return(e.s.rRel?"":"$")+Ma(e.s.r)+":"+(e.e.rRel?"":"$")+Ma(e.e.r)}}return Fa(e.s,r.biff)+":"+Fa(e.e,r.biff)}function Oa(e){return parseInt(Ia(e),10)-1}function Ma(e){return""+(e+1)}function Na(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}function Ia(e){return e.replace(/\$(\d+)$/,"$1")}function Pa(e){var r=Ba(e),t=0,a=0;for(;a!==r.length;++a)t=26*t+r.charCodeAt(a)-64;return t-1}function Ra(e){if(e<0)throw new Error("invalid column "+e);var r="";for(++e;e;e=Math.floor((e-1)/26))r=String.fromCharCode((e-1)%26+65)+r;return r}function La(e){return e.replace(/^([A-Z])/,"$$$1")}function Ba(e){return e.replace(/^\$([A-Z])/,"$1")}function Ua(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function za(e){var r=0,t=0;for(var a=0;a=48&&n<=57)r=10*r+(n-48);else if(n>=65&&n<=90)t=26*t+(n-64)}return{c:t-1,r:r-1}}function $a(e){var r=e.c+1;var t="";for(;r;r=(r-1)/26|0)t=String.fromCharCode((r-1)%26+65)+t;return t+(e.r+1)}function Wa(e){var r=e.indexOf(":");if(r==-1)return{s:za(e),e:za(e)};return{s:za(e.slice(0,r)),e:za(e.slice(r+1))}}function ja(e,r){if(typeof r==="undefined"||typeof r==="number"){return ja(e.s,e.e)}if(typeof e!=="string")e=$a(e);if(typeof r!=="string")r=$a(r);return e==r?e:e+":"+r}function Ha(e){var r=Wa(e);return"$"+Ra(r.s.c)+"$"+Ma(r.s.r)+":$"+Ra(r.e.c)+"$"+Ma(r.e.r)}function Va(e,r){if(!e&&!(r&&r.biff<=5&&r.biff>=2))throw new Error("empty sheet name");if(/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(e))return"'"+e.replace(/'/g,"''")+"'";return e}function Xa(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||n!=10){r.e.c=r.s.c;r.e.r=r.s.r;return r}++a;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 Ga(e,r){var t=e.t=="d"&&r instanceof Date;if(e.z!=null)try{return e.w=$e(e.z,t?dr(r):r)}catch(a){}try{return e.w=$e((e.XF||{}).numFmtId||(t?14:0),t?dr(r):r)}catch(a){return""+r}}function Ya(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(e.t=="e")return kn[e.v]||e.v;if(r==undefined)return Ga(e,e.v);return Ga(e,r)}function Ja(e,r){var t=r&&r.sheet?r.sheet:"Sheet1";var a={};a[t]=e;return{SheetNames:[t],Sheets:a}}function Za(e){var r={};var t=e||{};if(t.dense)r["!data"]=[];return r}function Ka(e,r,t){var a=t||{};var n=e?e["!data"]!=null:a.dense;if(b!=null&&n==null)n=b;var i=e||{};if(n&&!i["!data"])i["!data"]=[];var s=0,l=0;if(i&&a.origin!=null){if(typeof a.origin=="number")s=a.origin;else{var o=typeof a.origin=="string"?za(a.origin):a.origin;s=o.r;l=o.c}if(!i["!ref"])i["!ref"]="A1:A1"}var c={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(i["!ref"]){var f=Xa(i["!ref"]);c.s.c=f.s.c;c.s.r=f.s.r;c.e.c=Math.max(c.e.c,f.e.c);c.e.r=Math.max(c.e.r,f.e.r);if(s==-1)c.e.r=s=f.e.r+1}var u=[];for(var h=0;h!=r.length;++h){if(!r[h])continue;if(!Array.isArray(r[h]))throw new Error("aoa_to_sheet expects an array of arrays");var d=s+h,p=""+(d+1);if(n){if(!i["!data"][d])i["!data"][d]=[];u=i["!data"][d]}for(var m=0;m!=r[h].length;++m){if(typeof r[h][m]==="undefined")continue;var v={v:r[h][m]};var g=l+m;if(c.s.r>d)c.s.r=d;if(c.s.c>g)c.s.c=g;if(c.e.r>16&255,e>>8&255,e&255]})}var bn=gn([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,0,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);var wn=yr(bn);var kn={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"};var yn={"#NULL!":0,"#DIV/0!":7,"#VALUE!":15,"#REF!":23,"#NAME?":29,"#NUM!":36,"#N/A":42,"#GETTING_DATA":43,"#WTF?":255};var xn=["_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"];var Sn={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.sheet.macroEnabled.main+xml":"workbooks","application/vnd.ms-excel.sheet.binary.macroEnabled.main":"workbooks","application/vnd.ms-excel.addin.macroEnabled.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":"sheets","application/vnd.ms-excel.worksheet":"sheets","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"charts","application/vnd.ms-excel.chartsheet":"charts","application/vnd.ms-excel.macrosheet+xml":"macros","application/vnd.ms-excel.macrosheet":"macros","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"dialogs","application/vnd.ms-excel.dialogsheet":"dialogs","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":"strs","application/vnd.ms-excel.sharedStrings":"strs","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":"styles","application/vnd.ms-excel.styles":"styles","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.openxmlformats-officedocument.spreadsheetml.comments+xml":"comments","application/vnd.ms-excel.comments":"comments","application/vnd.ms-excel.threadedcomments+xml":"threadedcomments","application/vnd.ms-excel.person+xml":"people","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"metadata","application/vnd.ms-excel.sheetMetadata":"metadata","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+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.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":"TODO","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.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 Cn={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",xlam:"application/vnd.ms-excel.addin.macroEnabled.main+xml",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"},metadata:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml",xlsb:"application/vnd.ms-excel.sheetMetadata"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};function _n(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""}}function An(e){var r=_n();if(!e||!e.match)return r;var t={};(e.match(qr)||[]).forEach(function(e){var a=rt(e);switch(a[0].replace(Qr,"<")){case"0?r.calcchains[0]:"";r.sst=r.strs.length>0?r.strs[0]:"";r.style=r.styles.length>0?r.styles[0]:"";r.defaults=t;delete r.calcchains;return r}function Tn(e,r,t){var a=cr(Sn);var n=[],i;if(!t){n[n.length]=Yr;n[n.length]=Ot("Types",null,{xmlns:Rt.CT,"xmlns:xsd":Rt.xsd,"xmlns:xsi":Rt.xsi});n=n.concat([["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["data","application/vnd.openxmlformats-officedocument.model+data"],["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","application/vnd.openxmlformats-package.relationships+xml"]].map(function(e){return Ot("Default",null,{Extension:e[0],ContentType:e[1]})}))}var s=function(t){if(e[t]&&e[t].length>0){i=e[t][0];n[n.length]=Ot("Override",null,{PartName:(i[0]=="/"?"":"/")+i,ContentType:Cn[t][r.bookType]||Cn[t]["xlsx"]})}};var l=function(t){(e[t]||[]).forEach(function(e){n[n.length]=Ot("Override",null,{PartName:(e[0]=="/"?"":"/")+e,ContentType:Cn[t][r.bookType]||Cn[t]["xlsx"]})})};var o=function(r){(e[r]||[]).forEach(function(e){n[n.length]=Ot("Override",null,{PartName:(e[0]=="/"?"":"/")+e,ContentType:a[r][0]})})};s("workbooks");l("sheets");l("charts");o("themes");["strs","styles"].forEach(s);["coreprops","extprops","custprops"].forEach(o);o("vba");o("comments");o("threadedcomments");o("drawings");l("metadata");o("people");if(!t&&n.length>2){n[n.length]="";n[1]=n[1].replace("/>",">")}return n.join("")}var En={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",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",CMNT:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",SST:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",STY:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",THEME:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",CHART:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",CHARTEX:"http://schemas.microsoft.com/office/2014/relationships/chartEx",CS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet",WS:["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"],DS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",MS:"http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet",IMG:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",DRAW:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",XLMETA:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata",TCMNT:"http://schemas.microsoft.com/office/2017/10/relationships/threadedComment",PEOPLE:"http://schemas.microsoft.com/office/2017/10/relationships/person",CONN:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/connections",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function Fn(e){var r=e.lastIndexOf("/");return e.slice(0,r+1)+"_rels/"+e.slice(r+1)+".rels"}function Dn(e,r){var t={"!id":{}};if(!e)return t;if(r.charAt(0)!=="/"){r="/"+r}var a={};(e.match(qr)||[]).forEach(function(e){var n=rt(e);if(n[0]==="2){r[r.length]="";r[1]=r[1].replace("/>",">")}return r.join("")}function Mn(e,r,t,a,n,i){if(!n)n={};if(!e["!id"])e["!id"]={};if(!e["!idx"])e["!idx"]=1;if(r<0)for(r=e["!idx"];e["!id"]["rId"+r];++r){}e["!idx"]=r+1;n.Id="rId"+r;n.Type=a;n.Target=t;if(i)n.TargetMode=i;else if([En.HLINK,En.XPATH,En.XMISS].indexOf(n.Type)>-1)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 Nn="application/vnd.oasis.opendocument.spreadsheet";function In(e,r){var t=It(e);var a;var n;while(a=Pt.exec(t))switch(a[3]){case"manifest":break;case"file-entry":n=rt(a[0],false);if(n.path=="/"&&n.type!==Nn)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 Pn(e){var r=[Yr];r.push('\n');r.push(' \n');for(var t=0;t\n');r.push("");return r.join("")}function Rn(e,r,t){return[' \n',' \n'," \n"].join("")}function Ln(e,r){return[' \n',' \n'," \n"].join("")}function Bn(e){var r=[Yr];r.push('\n');for(var t=0;t!=e.length;++t){r.push(Rn(e[t][0],e[t][1]));r.push(Ln("",e[t][0]))}r.push(Rn("","Document","pkg"));r.push("");return r.join("")}function Un(r,t){return'SheetJS '+e.version+""}var zn=[["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"]];var $n=function(){var e=new Array(zn.length);for(var r=0;r]*>([\\s\\S]*?)")}return e}();function Wn(e){var r={};e=kt(e);for(var t=0;t0)r[a[1]]=it(n[1]);if(a[2]==="date"&&r[a[1]])r[a[1]]=wr(r[a[1]])}return r}function jn(e,r,t,a,n){if(n[e]!=null||r==null||r==="")return;n[e]=r;r=ot(r);a[a.length]=t?Ot(e,r,t):Ft(e,r)}function Hn(e,r){var t=r||{};var a=[Yr,Ot("cp:coreProperties",null,{"xmlns:cp":Rt.CORE_PROPS,"xmlns:dc":Rt.dc,"xmlns:dcterms":Rt.dcterms,"xmlns:dcmitype":Rt.dcmitype,"xmlns:xsi":Rt.xsi})],n={};if(!e&&!t.Props)return a.join("");if(e){if(e.CreatedDate!=null)jn("dcterms:created",typeof e.CreatedDate==="string"?e.CreatedDate:Mt(e.CreatedDate,t.WTF),{"xsi:type":"dcterms:W3CDTF"},a,n);if(e.ModifiedDate!=null)jn("dcterms:modified",typeof e.ModifiedDate==="string"?e.ModifiedDate:Mt(e.ModifiedDate,t.WTF),{"xsi:type":"dcterms:W3CDTF"},a,n)}for(var i=0;i!=zn.length;++i){var s=zn[i];var l=t.Props&&t.Props[s[1]]!=null?t.Props[s[1]]:e?e[s[1]]:null;if(l===true)l="1";else if(l===false)l="0";else if(typeof l=="number")l=String(l);if(l!=null)jn(s[0],l,null,a,n)}if(a.length>2){a[a.length]="";a[1]=a[1].replace("/>",">")}return a.join("")}var Vn=[["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"]];var Xn=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function Gn(e,r,t,a){var n=[];if(typeof e=="string")n=Tt(e,a);else for(var i=0;i0)for(var c=0;c!==n.length;c+=2){o=+n[c+1].v;switch(n[c].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"Hojas de cálculo":;case"Werkbladen":t.Worksheets=o;t.SheetNames=s.slice(l,l+o);break;case"Named Ranges":;case"Rangos con nombre":;case"名前付き一覧":;case"Benannte Bereiche":;case"Navngivne områder":t.NamedRanges=o;t.DefinedNames=s.slice(l,l+o);break;case"Charts":;case"Diagramme":t.Chartsheets=o;t.ChartNames=s.slice(l,l+o);break;}l+=o}}function Yn(e,r,t){var a={};if(!r)r={};e=kt(e);Vn.forEach(function(t){var n=(e.match(xt(t[0]))||[])[1];switch(t[2]){case"string":if(n)r[t[1]]=it(n);break;case"bool":r[t[1]]=n==="true";break;case"raw":var i=e.match(new RegExp("<"+t[0]+"[^>]*>([\\s\\S]*?)"));if(i&&i.length>0)a[t[1]]=i[1];break;}});if(a.HeadingPairs&&a.TitlesOfParts)Gn(a.HeadingPairs,a.TitlesOfParts,r,t);return r}function Jn(e){var r=[],t=Ot;if(!e)e={};e.Application="SheetJS";r[r.length]=Yr;r[r.length]=Ot("Properties",null,{xmlns:Rt.EXT_PROPS,"xmlns:vt":Rt.vt});Vn.forEach(function(a){if(e[a[1]]===undefined)return;var n;switch(a[2]){case"string":n=ot(String(e[a[1]]));break;case"bool":n=e[a[1]]?"true":"false";break;}if(n!==undefined)r[r.length]=t(a[0],n)});r[r.length]=t("HeadingPairs",t("vt:vector",t("vt:variant","Worksheets")+t("vt:variant",t("vt:i4",String(e.Worksheets))),{size:2,baseType:"variant"}));r[r.length]=t("TitlesOfParts",t("vt:vector",e.SheetNames.map(function(e){return""+ot(e)+""}).join(""),{size:e.Worksheets,baseType:"lpstr"}));if(r.length>2){r[r.length]="";r[1]=r[1].replace("/>",">")}return r.join("")}var Zn=/<[^>]+>[^<]*/g;function Kn(e,r){var t={},a="";var n=e.match(Zn);if(n)for(var i=0;i!=n.length;++i){var s=n[i],l=rt(s);switch(tt(l[0])){case"":a=null;break;default:if(s.indexOf("");var c=o[0].slice(4),f=o[1];switch(c){case"lpstr":;case"bstr":;case"lpwstr":t[a]=it(f);break;case"bool":t[a]=mt(f);break;case"i1":;case"i2":;case"i4":;case"i8":;case"int":;case"uint":t[a]=parseInt(f,10);break;case"r4":;case"r8":;case"decimal":t[a]=parseFloat(f);break;case"filetime":;case"date":t[a]=wr(f);break;case"cy":;case"error":t[a]=it(f);break;default:if(c.slice(-1)=="/")break;if(r.WTF&&typeof console!=="undefined")console.warn("Unexpected",s,c,o);}}else if(s.slice(0,2)==="2){r[r.length]="";r[1]=r[1].replace("/>",">")}return r.join("")}var Qn=[2,3,48,49,131,139,140,245];var ei=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,108:863,134:737,135:852,136:857,204:1257,255:16969};var n=lr({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});function i(r,t){var n=[];var i=E(1);switch(t.type){case"base64":i=D(C(r));break;case"binary":i=D(r);break;case"buffer":;case"array":i=r;break;}ya(i,0);var s=i._R(1);var l=!!(s&136);var o=false,c=false;switch(s){case 2:break;case 3:break;case 48:o=true;l=true;break;case 49:o=true;l=true;break;case 131:break;case 139:break;case 140:c=true;break;case 245:break;default:throw new Error("DBF Unsupported Version: "+s.toString(16));}var f=0,u=521;if(s==2)f=i._R(2);i.l+=3;if(s!=2)f=i._R(4);if(f>1048576)f=1e6;if(s!=2)u=i._R(2);var h=i._R(2);var d=t.codepage||1252;if(s!=2){i.l+=16;i._R(1);if(i[i.l]!==0)d=e[i[i.l]];i.l+=1;i.l+=2}if(c)i.l+=36;var p=[],m={};var v=Math.min(i.length,s==2?521:u-10-(o?264:0));var g=c?32:11;while(i.l0){if(i[i.l]===42){i.l+=h;continue}++i.l;n[++b]=[];w=0;for(w=0;w!=p.length;++w){var k=i.slice(i.l,i.l+p[w].len);i.l+=p[w].len;ya(k,0);var y=typeof a!=="undefined"?a.utils.decode(d,k):M(k);switch(p[w].type){case"C":if(y.trim().length)n[b][w]=y.replace(/\s+$/,"");break;case"D":if(y.length===8){n[b][w]=new Date(Date.UTC(+y.slice(0,4),+y.slice(4,6)-1,+y.slice(6,8),0,0,0,0));if(!(t&&t.UTC)){n[b][w]=Nr(n[b][w])}}else n[b][w]=y;break;case"F":n[b][w]=parseFloat(y.trim());break;case"+":;case"I":n[b][w]=c?k._R(-4,"i")^2147483648:k._R(4,"i");break;case"L":switch(y.trim().toUpperCase()){case"Y":;case"T":n[b][w]=true;break;case"N":;case"F":n[b][w]=false;break;case"":;case"\0":;case"?":break;default:throw new Error("DBF Unrecognized L:|"+y+"|");}break;case"M":if(!l)throw new Error("DBF Unexpected MEMO for type "+s.toString(16));n[b][w]="##MEMO##"+(c?parseInt(y.trim(),10):k._R(4));break;case"N":y=y.replace(/\u0000/g,"").trim();if(y&&y!=".")n[b][w]=+y||0;break;case"@":n[b][w]=new Date(k._R(-8,"f")-621356832e5);break;case"T":{var x=k._R(4),S=k._R(4);if(x==0&&S==0)break;n[b][w]=new Date((x-2440588)*864e5+S);if(!(t&&t.UTC))n[b][w]=Nr(n[b][w])}break;case"Y":n[b][w]=k._R(4,"i")/1e4+k._R(4,"i")/1e4*Math.pow(2,32);break;case"O":n[b][w]=-k._R(-8,"f");break;case"B":if(o&&p[w].len==8){n[b][w]=k._R(8,"f");break};case"G":;case"P":k.l+=p[w].len;break;case"0":if(p[w].name==="_NullFlags")break;default:throw new Error("DBF Unsupported data type "+p[w].type);}}}if(s!=2)if(i.l=0)o(+l.codepage);if(l.type=="string")throw new Error("Cannot write DBF to JS string");var u=_a();var h=dc(i,{header:1,raw:true,cellDates:true});var d=h[0],p=h.slice(1),m=i["!cols"]||[];var v=0,g=0,b=0,w=1;for(v=0;v250)A=250;_=((m[v]||{}).DBF||{}).type;if(_=="C"){if(m[v].DBF.len>A)A=m[v].DBF.len}if(C=="B"&&_=="N"){C="N";S[v]=m[v].DBF.dec;A=m[v].DBF.len}x[v]=C=="C"||_=="N"?A:c[C]||0;w+=x[v];y[v]=C}var E=u.next(32);E._W(4,318902576);E._W(4,p.length);E._W(2,296+32*b);E._W(2,w);for(v=0;v<4;++v)E._W(4,0);var F=+n[r]||3;E._W(4,0|F<<8);if(e[F]!=+l.codepage){if(l.codepage)console.error("DBF Unsupported codepage "+r+", using 1252");r=1252}for(v=0,g=0;vx[g])I=I.slice(0,x[g]);for(b=0;b":190,"?":191,"{":223};var r=new RegExp("N("+ir(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1").replace("{","\\{")+"|\\|)","gm");try{r=new RegExp("N("+ir(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm")}catch(t){}var n=function(r,t){var a=e[t];return typeof a=="number"?v(a):a};var i=function(e,r,t){var a=r.charCodeAt(0)-32<<4|t.charCodeAt(0)-48;return a==59?e:v(a)};e["|"]=254;var s=function(e){return e.replace(/\n/g," :").replace(/\r/g," =")};function l(e,r){switch(r.type){case"base64":return c(C(e),r);case"binary":return c(e,r);case"buffer":return c(_&&Buffer.isBuffer(e)?e.toString("binary"):M(e),r);case"array":return c(kr(e),r);}throw new Error("Unrecognized type "+r.type)}function c(e,t){var s=e.split(/[\n\r]+/),l=-1,c=-1,f=0,u=0,h=[];var d=[];var p=null;var m={},v=[],g=[],b=[];var w=0,k;var y={Workbook:{WBProps:{},Names:[]}};if(+t.codepage>=0)o(+t.codepage);for(;f!==s.length;++f){w=0;var x=s[f].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,i).replace(r,n); -var S=x.replace(/;;/g,"\0").split(";").map(function(e){return e.replace(/\u0000/g,";")});var C=S[0],_;if(x.length>0)switch(C){case"ID":break;case"E":break;case"B":break;case"O":for(u=1;u=1&&A<=4)y.Workbook.WBProps.date1904=true}break;}break;case"W":break;case"P":switch(S[1].charAt(0)){case"P":d.push(x.slice(3).replace(/;;/g,";"));break;}break;case"NN":{var T={Sheet:0};for(u=1;u-1&&h[M][N];if(!L||!L[1])throw new Error("SYLK shared formula cannot find base");I=Ps(L[1],{r:l-M,c:c-N})}if(I){if(!h[l][c])h[l][c]={t:"n",f:I};else h[l][c].f=I}if(R){if(!h[l][c])h[l][c]={t:"z"};h[l][c].c=[{a:"SheetJSYLK",t:R}]}break;case"F":var B=0;for(u=1;u0){v[l].hpt=w;v[l].hpx=Li(w)}else if(w===0)v[l].hidden=true;break;default:if(t&&t.WTF)throw new Error("SYLK bad record "+x);}if(B<1)p=null;break;default:if(t&&t.WTF)throw new Error("SYLK bad record "+x);}}if(v.length>0)m["!rows"]=v;if(g.length>0)m["!cols"]=g;g.forEach(function(e){Ni(e)});if(t&&t.sheetRows)h=h.slice(0,t.sheetRows);return[h,m,y]}function f(e,r){var t=l(e,r);var a=t[0],n=t[1],i=t[2];var s=yr(r);s.date1904=(((i||{}).Workbook||{}).WBProps||{}).date1904;var o=qa(a,s);ir(n).forEach(function(e){o[e]=n[e]});var c=Ja(o,r);ir(i).forEach(function(e){c[e]=i[e]});c.bookType="sylk";return c}function u(e,r,t,a,n,i){var s="C;Y"+(t+1)+";X"+(a+1)+";K";switch(e.t){case"n":s+=e.v||0;if(e.f&&!e.F)s+=";E"+Is(e.f,{r:t,c:a});break;case"b":s+=e.v?"TRUE":"FALSE";break;case"e":s+=e.w||e.v;break;case"d":s+=dr(wr(e.v,i),i);break;case"s":s+='"'+(e.v==null?"":String(e.v)).replace(/"/g,"").replace(/;/g,";;")+'"';break;}return s}function h(e,r,t){var a="C;Y"+(r+1)+";X"+(t+1)+";A";a+=s(e.map(function(e){return e.t}).join(""));return a}function d(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)r.wpx=Ei(r.width);if(typeof r.wpx=="number"&&!r.wch)r.wch=Fi(r.wpx);if(typeof r.wch=="number")a+=Math.round(r.wch)}if(a.charAt(a.length-1)!=" ")e.push(a)})}function p(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*Ri(r.hpx)+";";if(a.length>2)e.push(a+"R"+(t+1))})}function m(e,r,t){if(!r)r={};r._formats=["General"];var a=["ID;PSheetJS;N;E"],n=[];var i=Xa(e["!ref"]||"A1"),s;var l=e["!data"]!=null;var o="\r\n";var c=(((t||{}).Workbook||{}).WBProps||{}).date1904;var f="General";a.push("P;PGeneral");var m=i.s.r,v=i.s.c,g=[];if(e["!ref"])for(m=i.s.r;m<=i.e.r;++m){if(l&&!e["!data"][m])continue;g=[];for(v=i.s.c;v<=i.e.c;++v){s=l?e["!data"][m][v]:e[Ra(v)+Ma(m)];if(!s||!s.c)continue;g.push(h(s.c,m,v))}if(g.length)n.push(g.join(o))}if(e["!ref"])for(m=i.s.r;m<=i.e.r;++m){if(l&&!e["!data"][m])continue;g=[];for(v=i.s.c;v<=i.e.c;++v){s=l?e["!data"][m][v]:e[Ra(v)+Ma(m)];if(!s||s.v==null&&(!s.f||s.F))continue;if((s.z||(s.t=="d"?q[14]:"General"))!=f){var b=r._formats.indexOf(s.z);if(b==-1){r._formats.push(s.z);b=r._formats.length-1;a.push("P;P"+s.z.replace(/;/g,";;"))}g.push("F;P"+b+";Y"+(m+1)+";X"+(v+1))}g.push(u(s,e,m,v,r,c))}n.push(g.join(o))}a.push("F;P0;DG0G8;M255");if(e["!cols"])d(a,e["!cols"]);if(e["!rows"])p(a,e["!rows"]);if(e["!ref"])a.push("B;Y"+(i.e.r-i.s.r+1)+";X"+(i.e.c-i.s.c+1)+";D"+[i.s.c,i.s.r,i.e.c,i.e.r].join(" "));a.push("O;L;D;B"+(c?";V4":"")+";K47;G100 0.001");delete r._formats;return a.join(o)+o+n.join(o)+o+"E"+o}return{to_workbook:f,from_sheet:m}}();var ti=function(){function e(e,t){switch(t.type){case"base64":return r(C(e),t);case"binary":return r(e,t);case"buffer":return r(_&&Buffer.isBuffer(e)?e.toString("binary"):M(e),t);case"array":return r(kr(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 l=t[i].trim().split(",");var o=l[0],c=l[1];++i;var f=t[i]||"";while((f.match(/["]/g)||[]).length&1&&i=0&&i[s].length===0)--s;var l=10,o=0;var c=0;for(;c<=s;++c){o=i[c].indexOf(" ");if(o==-1)o=i[c].length;else o++;l=Math.max(l,o)}for(c=0;c<=s;++c){n[c]=[];var f=0;e(i[c].slice(0,l).trim(),n,c,f,a);for(f=1;f<=(i[c].length-l)/10+1;++f)e(i[c].slice(l+(f-1)*10,l+f*10).trim(),n,c,f,a)}if(a.sheetRows)n=n.slice(0,a.sheetRows);return n}var t={44:",",9:"\t",59:";",124:"|"};var n={44:3,9:2,59:1,124:0};function i(e){var r={},a=false,i=0,s=0;for(;i0)g();n["!ref"]=ja(s);return n}function l(e,t){if(!(t&&t.PRN))return s(e,t);if(t.FS)return s(e,t);if(e.slice(0,4)=="sep=")return s(e,t);if(e.indexOf("\t")>=0||e.indexOf(",")>=0||e.indexOf(";")>=0)return s(e,t);return qa(r(e,t),t)}function o(e,r){var t="",n=r.type=="string"?[0,0,0,0]:$o(e,r);switch(r.type){case"base64":t=C(e);break;case"binary":t=e;break;case"buffer":if(r.codepage==65001)t=e.toString("utf8");else if(r.codepage&&typeof a!=="undefined")t=a.utils.decode(r.codepage,e);else t=_&&Buffer.isBuffer(e)?e.toString("binary"):M(e);break;case"array":t=kr(e);break;case"string":t=e;break;default:throw new Error("Unrecognized type "+r.type);}if(n[0]==239&&n[1]==187&&n[2]==191)t=kt(t.slice(3));else if(r.type!="string"&&r.type!="buffer"&&r.codepage==65001)t=kt(t);else if(r.type=="binary"&&typeof a!=="undefined"&&r.codepage)t=a.utils.decode(r.codepage,a.utils.encode(28591,t));if(t.slice(0,19)=="socialcalc:version:")return ai.to_sheet(r.type=="string"?t:kt(t),r);return l(t,r)}function c(e,r){return Ja(o(e,r),r)}function f(e){var r=[];if(!e["!ref"])return"";var t=Xa(e["!ref"]),a;var n=e["!data"]!=null;for(var i=t.s.r;i<=t.e.r;++i){var s=[];for(var l=t.s.c;l<=t.e.c;++l){var o=$a({r:i,c:l});a=n?(e["!data"][i]||[])[l]:e[o];if(!a||a.v==null){s.push(" ");continue}var c=(a.w||(Ya(a),a.w)||"").slice(0,10);while(c.length<10)c+=" ";s.push(c+(l===0?" ":""))}r.push(s.join(""))}return r.join("\n")}return{to_workbook:c,to_sheet:o,from_sheet:f}}();function ii(e,r){var t=r||{},a=!!t.WTF;t.WTF=true;try{var n=ri.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 ni.to_workbook(e,r)}}function si(e){var r={},t=e.match(qr),a=0;var n=false;if(t)for(;a!=t.length;++a){var s=rt(t[a]);switch(s[0].replace(/\w*:/g,"")){case"":;case"":r.shadow=1;break;case"":break;case"":;case"":r.outline=1;break;case"":break;case"":;case"":r.strike=1;break;case"":break;case"":;case"":r.u=1;break;case"":break;case"":;case"":r.b=1;break;case"":break;case"":;case"":r.i=1;break;case"":break;case"":;case"":;case"":break;case"":;case"":;case"":break;case"":;case"":;case"":break;case"":;case"":;case"":break;case"":;case"
":break;case"":n=false;break;default:if(s[0].charCodeAt(1)!==47&&!n)throw new Error("Unrecognized rich format "+s[0]);}}return r}var li=function(){var e=xt("t"),r=xt("rPr");function t(t){var a=t.match(e);if(!a)return{t:"s",v:""};var n={t:"s",v:it(a[1])};var i=t.match(r);if(i)n.s=si(i[1]);return n}var a=/<(?:\w+:)?r>/g,n=/<\/(?:\w+:)?r>/;return function i(e){return e.replace(a,"").split(n).map(t).filter(function(e){return e.v})}}();var oi=function Yc(){var e=/(\r\n|\n)/g;function r(e,r,t){var a=[];if(e.u)a.push("text-decoration: underline;");if(e.uval)a.push("text-underline-style:"+e.uval+";");if(e.sz)a.push("font-size:"+e.sz+"pt;");if(e.outline)a.push("text-effect: outline;");if(e.shadow)a.push("text-shadow: auto;");r.push('');if(e.b){r.push("");t.push("")}if(e.i){r.push("");t.push("")}if(e.strike){r.push("");t.push("")}var n=e.valign||"";if(n=="superscript"||n=="super")n="sup";else if(n=="subscript")n="sub";if(n!=""){r.push("<"+n+">");t.push("")}t.push("");return e}function t(t){var a=[[],t.v,[]];if(!t.v)return"";if(t.s)r(t.s,a[0],a[2]);return a[0].join("")+a[1].replace(e,"
")+a[2].join("")}return function a(e){return e.map(t).join("")}}();var ci=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,fi=/<(?:\w+:)?r\b[^>]*>/;var ui=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g;function hi(e,r){var t=r?r.cellHTML:true;var a={};if(!e)return{t:""};if(e.match(/^\s*<(?:\w+:)?t[^>]*>/)){a.t=it(kt(e.slice(e.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||""),true);a.r=kt(e);if(t)a.h=ut(a.t)}else if(e.match(fi)){a.r=kt(e);a.t=it(kt((e.replace(ui,"").match(ci)||[]).join("").replace(qr,"")),true);if(t)a.h=oi(li(a.r))}return a}var di=/<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/;var pi=/<(?:\w+:)?(?:si|sstItem)>/g;var mi=/<\/(?:\w+:)?(?:si|sstItem)>/;function vi(e,r){var t=[],a="";if(!e)return t;var n=e.match(di);if(n){a=n[2].replace(pi,"").split(mi);for(var i=0;i!=a.length;++i){var s=hi(a[i].trim(),r);if(s!=null)t[t.length]=s}n=rt(n[1]);t.Count=n.count;t.Unique=n.uniqueCount}return t}var gi=/^\s|\s$|[\t\n\r]/;function bi(e,r){if(!r.bookSST)return"";var t=[Yr];t[t.length]=Ot("sst",null,{xmlns:Lt[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 wi(e){var r=e.slice(e[0]==="#"?1:0).slice(0,6);return[parseInt(r.slice(0,2),16),parseInt(r.slice(2,4),16),parseInt(r.slice(4,6),16)]}function ki(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().slice(1)}function yi(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 l=0,o=0,c=n+i;o=s/(c>1?2-c:c);switch(n){case r:l=((t-a)/s+6)%6;break;case t:l=(a-r)/s+2;break;case a:l=(r-t)/s+4;break;}return[l/6,o,c/2]}function xi(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],l=6*r;var o;if(t!==0)switch(l|0){case 0:;case 6:o=n*l;s[0]+=n;s[1]+=o;break;case 1:o=n*(2-l);s[0]+=o;s[1]+=n;break;case 2:o=n*(l-2);s[1]+=n;s[2]+=o;break;case 3:o=n*(4-l);s[1]+=o;s[2]+=n;break;case 4:o=n*(l-4);s[2]+=n;s[0]+=o;break;case 5:o=n*(6-l);s[2]+=o;s[0]+=n;break;}for(var c=0;c!=3;++c)s[c]=Math.round(s[c]*255);return s}function Si(e,r){if(r===0)return e;var t=yi(wi(e));if(r<0)t[2]=t[2]*(1+r);else t[2]=1-(1-t[2])*(1-r);return ki(xi(t))}var Ci=6,_i=15,Ai=1,Ti=Ci;function Ei(e){return Math.floor((e+Math.round(128/Ti)/256)*Ti)}function Fi(e){return Math.floor((e-5)/Ti*100+.5)/100}function Di(e){return Math.round((e*Ti+5)/Ti*256)/256}function Oi(e){return Di(Fi(Ei(e)))}function Mi(e){var r=Math.abs(e-Oi(e)),t=Ti;if(r>.005)for(Ti=Ai;Ti<_i;++Ti)if(Math.abs(e-Oi(e))<=r){r=Math.abs(e-Oi(e));t=Ti}Ti=t}function Ni(e){if(e.width){e.wpx=Ei(e.width);e.wch=Fi(e.wpx);e.MDW=Ti}else if(e.wpx){e.wch=Fi(e.wpx);e.width=Di(e.wch);e.MDW=Ti}else if(typeof e.wch=="number"){e.width=Di(e.wch);e.wpx=Ei(e.width);e.MDW=Ti}if(e.customWidth)delete e.customWidth}var Ii=96,Pi=Ii;function Ri(e){return e*96/Pi}function Li(e){return e*Pi/96}var Bi={None:"none",Solid:"solid",Gray50:"mediumGray",Gray75:"darkGray",Gray25:"lightGray",HorzStripe:"darkHorizontal",VertStripe:"darkVertical",ReverseDiagStripe:"darkDown",DiagStripe:"darkUp",DiagCross:"darkGrid",ThickDiagCross:"darkTrellis",ThinHorzStripe:"lightHorizontal",ThinVertStripe:"lightVertical",ThinReverseDiagStripe:"lightDown",ThinHorzCross:"lightGrid"};function Ui(e,r,t,a){r.Borders=[];var n={};var i=false;(e[0].match(qr)||[]).forEach(function(e){var t=rt(e);switch(tt(t[0])){case"":;case"":break;case"":;case"":n={};if(t.diagonalUp)n.diagonalUp=mt(t.diagonalUp);if(t.diagonalDown)n.diagonalDown=mt(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;case"":;case"":break;case"":i=false;break;default:if(a&&a.WTF){if(!i)throw new Error("unrecognized "+t[0]+" in borders")};}})}function zi(e,r,t,a){r.Fills=[];var n={};var i=false;(e[0].match(qr)||[]).forEach(function(e){var t=rt(e);switch(tt(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;case"":;case"":break;case"":i=false;break;default:if(a&&a.WTF){if(!i)throw new Error("unrecognized "+t[0]+" in fills")};}})}function $i(e,r,t,a){r.Fonts=[];var n={};var s=false;(e[0].match(qr)||[]).forEach(function(e){var l=rt(e);switch(tt(l[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;case"":s=false;break;case"":;case"":break;case"":s=false;break;default:if(a&&a.WTF){if(!s)throw new Error("unrecognized "+l[0]+" in fonts")};}})}function Wi(e,r,t){r.NumberFmt=[];var a=ir(q);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]=l}Ke(l,o)}}break;case"":break;default:if(t.WTF)throw new Error("unrecognized "+s[0]+" in numFmts");}}}function ji(e){var r=[""];[[5,8],[23,26],[41,44],[50,392]].forEach(function(t){for(var a=t[0];a<=t[1];++a)if(e[a]!=null)r[r.length]=Ot("numFmt",null,{numFmtId:a,formatCode:ot(e[a])})});if(r.length===1)return"";r[r.length]="";r[0]=Ot("numFmts",null,{count:r.length-2}).replace("/>",">");return r.join("")}var Hi=["numFmtId","fillId","fontId","borderId","xfId"];var Vi=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"];function Xi(e,r,t){r.CellXf=[];var a;var n=false;(e[0].match(qr)||[]).forEach(function(e){var i=rt(e),s=0;switch(tt(i[0])){case"":;case"":;case"":break;case"":;case"":a=i;delete a[0];for(s=0;s392){for(s=392;s>60;--s)if(r.NumberFmt[a.numFmtId]==r.NumberFmt[s]){a.numFmtId=s;break}}r.CellXf.push(a);break;case"":break;case"":;case"":var l={};if(i.vertical)l.vertical=i.vertical;if(i.horizontal)l.horizontal=i.horizontal;if(i.textRotation!=null)l.textRotation=i.textRotation;if(i.indent)l.indent=i.indent;if(i.wrapText)l.wrapText=mt(i.wrapText);a.alignment=l;break;case"":break;case"":break;case"":;case"":break;case"":n=true;break;case"":n=false;break;case"":;case"":break;case"":n=false;break;default:if(t&&t.WTF){if(!n)throw new Error("unrecognized "+i[0]+" in cellXfs")};}})}function Gi(e){var r=[];r[r.length]=Ot("cellXfs",null);e.forEach(function(e){r[r.length]=Ot("xf",null,e)});r[r.length]="";if(r.length===2)return"";r[0]=Ot("cellXfs",null,{count:r.length-2}).replace("/>",">");return r.join("")}var Yi=function Jc(){var e=/<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/;var r=/<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/;var t=/<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/;var a=/<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/;var n=/<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/;return function i(s,l,o){var c={};if(!s)return c;s=s.replace(//gm,"").replace(//gm,"");var f;if(f=s.match(e))Wi(f,c,o);if(f=s.match(a))$i(f,c,l,o);if(f=s.match(t))zi(f,c,l,o);if(f=s.match(n))Ui(f,c,l,o);if(f=s.match(r))Xi(f,c,o);return c}}();function Ji(e,r){var t=[Yr,Ot("styleSheet",null,{xmlns:Lt[0],"xmlns:vt":Rt.vt})],a;if(e.SSF&&(a=ji(e.SSF))!=null)t[t.length]=a;t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';if(a=Gi(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("")}var Zi=["","","","","","","","","","","",""];function Ki(e,r,t){r.themeElements.clrScheme=[];var a={};(e[0].match(qr)||[]).forEach(function(e){var n=rt(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[Zi.indexOf(n[0])]=a;a={}}else{a.name=n[0].slice(3,n[0].length-1)}break;default:if(t&&t.WTF)throw new Error("Unrecognized "+n[0]+" in clrScheme");}})}function qi(){}function Qi(){}var es=/]*)>[\s\S]*<\/a:clrScheme>/;var rs=/]*)>[\s\S]*<\/a:fontScheme>/;var ts=/]*)>[\s\S]*<\/a:fmtScheme>/;function as(e,r,t){r.themeElements={};var a;[["clrScheme",es,Ki],["fontScheme",rs,qi],["fmtScheme",ts,Qi]].forEach(function(n){if(!(a=e.match(n[1])))throw new Error(n[0]+" not found in themeElements");n[2](a,r,t)})}var ns=/]*)>[\s\S]*<\/a:themeElements>/;function is(e,r){if(!e||e.length===0)e=ss();var t;var a={};if(!(t=e.match(ns)))throw new Error("themeElements not found in theme");as(t[0],a,r);a.raw=e;return a}function ss(e,r){if(r&&r.themeXLSX)return r.themeXLSX;if(e&&typeof e.raw=="string")return e.raw;var t=[Yr];t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]=''; -t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]="";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 ls(e,r,t){var a={Types:[],Cell:[],Value:[]};if(!e)return a;var n=false;var i=2;var s;e.replace(qr,function(e){var r=rt(e);switch(tt(r[0])){case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":i=2;break;case"":i=2;break;case"":;case"":;case"":break;case"":n=false;break;case"\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n');return e.join("")}function cs(){}function fs(e,r,t,a){if(!e)return e;var n=a||{};var i=false,s=false;Ca(e,function l(e,r,t){if(s)return;switch(t){case 359:;case 363:;case 364:;case 366:;case 367:;case 368:;case 369:;case 370:;case 371:;case 472:;case 577:;case 578:;case 579:;case 580:;case 581:;case 582:;case 583:;case 584:;case 585:;case 586:;case 587:break;case 35:i=true;break;case 36:i=false;break;default:if(r.T){}else if(!i||n.WTF)throw new Error("Unexpected record 0x"+t.toString(16));}},n)}function us(e,r){if(!e)return"??";var t=(e.match(/]*r:id="([^"]*)"/)||["",""])[1];return r["!id"][t].Target}var hs=/<(?:\w+:)?shape(?:[^\w][^>]*)?>([\s\S]*?)<\/(?:\w+:)?shape>/g;function ds(e,r,t){var a=0;(e.match(hs)||[]).forEach(function(e){var n="";var i=true;var s=-1;var l=-1,o=-1;e.replace(qr,function(r,t){var a=rt(r);switch(tt(a[0])){case"":i=false;break;case"":s=t+r.length;break;case"":l=+e.slice(s,t).trim();break;case"":s=t+r.length;break;case"":o=+e.slice(s,t).trim();break;}return""});switch(n){case"Note":var c=yc(r,l>=0&&o>=0?$a({r:l,c:o}):t[a].ref);if(c.c){c.c.hidden=i}++a;break;}})}function ps(e,r,t){var a=[21600,21600];var n=["m0,0l0",a[1],a[0],a[1],a[0],"0xe"].join(",");var i=[Ot("xml",null,{"xmlns:v":Bt.v,"xmlns:o":Bt.o,"xmlns:x":Bt.x,"xmlns:mv":Bt.mv}).replace(/\/>/,">"),Ot("o:shapelayout",Ot("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"})];var s=65536*e;var l=r||[];if(l.length>0)i.push(Ot("v:shapetype",[Ot("v:stroke",null,{joinstyle:"miter"}),Ot("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202",coordsize:a.join(","),"o:spt":202,path:n}));l.forEach(function(e){++s;i.push(ms(e,s))});i.push("");return i.join("")}function ms(e,r,t){var a=za(e[0]);var n={color2:"#BEFF82",type:"gradient"};if(n.type=="gradient")n.angle="-180";var i=n.type=="gradient"?Ot("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null;var s=Ot("v:fill",i,n);var l={on:"t",obscured:"t"};return["",s,Ot("v:shadow",null,l),Ot("v:path",null,{"o:connecttype":"none"}),'
','',"","",Ft("x:Anchor",[a.c+1,0,a.r+1,0,a.c+3,20,a.r+5,20].join(",")),Ft("x:AutoFill","False"),Ft("x:Row",String(a.r)),Ft("x:Column",String(a.c)),e[1].hidden?"":"","",""].join("")}function vs(e,r,t,a){var n=e["!data"]!=null;var i;r.forEach(function(r){var s=za(r.ref);if(s.r<0||s.c<0)return;if(n){if(!e["!data"][s.r])e["!data"][s.r]=[];i=e["!data"][s.r][s.c]}else i=e[r.ref];if(!i){i={t:"z"};if(n)e["!data"][s.r][s.c]=i;else e[r.ref]=i;var l=Xa(e["!ref"]||"BDWGO1000001:A1");if(l.s.r>s.r)l.s.r=s.r;if(l.e.rs.c)l.s.c=s.c;if(l.e.c=0;--f){if(!t&&i.c[f].T)return;if(t&&!i.c[f].T)i.c.splice(f,1)}if(t&&a)for(f=0;f/))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){if(e===""||e.trim()==="")return;var n=e.match(/<(?:\w+:)?comment[^>]*>/);if(!n)return;var i=rt(n[0]);var s={author:i.authorId&&t[i.authorId]||"sheetjsghost",ref:i.ref,guid:i.guid};var l=za(i.ref);if(r.sheetRows&&r.sheetRows<=l.r)return;var o=e.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/);var c=!!o&&!!o[1]&&hi(o[1])||{r:"",t:"",h:""};s.r=c.r;if(c.r=="")c.t=c.h="";s.t=(c.t||"").replace(/\r\n/g,"\n").replace(/\r/g,"\n");if(r.cellHTML)s.h=c.h;a.push(s)});return a}function bs(e){var r=[Yr,Ot("comments",null,{xmlns:Lt[0]})];var t=[];r.push("");e.forEach(function(e){e[1].forEach(function(e){var a=ot(e.a);if(t.indexOf(a)==-1){t.push(a);r.push(""+a+"")}if(e.T&&e.ID&&t.indexOf("tc="+e.ID)==-1){t.push("tc="+e.ID);r.push(""+"tc="+e.ID+"")}})});if(t.length==0){t.push("SheetJ5");r.push("SheetJ5")}r.push("");r.push("");e.forEach(function(e){var a=0,n=[],i=0;if(e[1][0]&&e[1][0].T&&e[1][0].ID)a=t.indexOf("tc="+e[1][0].ID);e[1].forEach(function(e){if(e.a)a=t.indexOf(ot(e.a));if(e.T)++i;n.push(e.t==null?"":ot(e.t))});if(i===0){e[1].forEach(function(a){r.push('');r.push(Ft("t",a.t==null?"":ot(a.t)));r.push("")})}else{if(e[1][0]&&e[1][0].T&&e[1][0].ID)a=t.indexOf("tc="+e[1][0].ID);r.push('');var s="Comment:\n "+n[0]+"\n";for(var l=1;l")}});r.push("");if(r.length>2){r[r.length]="";r[1]=r[1].replace("/>",">")}return r.join("")}function ws(e,r){var t=[];var a=false,n={},i=0;e.replace(qr,function s(l,o){var c=rt(l);switch(tt(c[0])){case"":break;case"":if(n.t!=null)t.push(n);break;case"":;case"":n.t=e.slice(i,o).replace(/\r\n/g,"\n").replace(/\r/g,"\n");break;case"":a=true;break;case"":a=false;break;case"":;case"
":;case"":break;case"":a=false;break;default:if(!a&&r.WTF)throw new Error("unrecognized "+c[0]+" in threaded comments");}return l});return t}function ks(e,r,t){var a=[Yr,Ot("ThreadedComments",null,{xmlns:Rt.TCMNT}).replace(/[\/]>/,">")];e.forEach(function(e){var n="";(e[1]||[]).forEach(function(i,s){if(!i.T){delete i.ID;return}if(i.a&&r.indexOf(i.a)==-1)r.push(i.a);var l={ref:e[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+t.tcid++).slice(-12)+"}"};if(s==0)n=l.id;else l.parentId=n;i.ID=l.id;if(i.a)l.personId="{54EE7950-7262-4200-6969-"+("000000000000"+r.indexOf(i.a)).slice(-12)+"}";a.push(Ot("threadedComment",Ft("text",i.t||""),l))})});a.push("");return a.join("")}function ys(e,r){var t=[];var a=false;e.replace(qr,function n(e){var n=rt(e);switch(tt(n[0])){case"":break;case"":break;case"":;case"":;case"":break;case"":a=false;break;default:if(!a&&r.WTF)throw new Error("unrecognized "+n[0]+" in threaded comments");}return e});return t}function xs(e){var r=[Yr,Ot("personList",null,{xmlns:Rt.TCMNT,"xmlns:x":Lt[0]}).replace(/[\/]>/,">")];e.forEach(function(e,t){r.push(Ot("person",null,{displayName:e,id:"{54EE7950-7262-4200-6969-"+("000000000000"+t).slice(-12)+"}",userId:e,providerId:"None"}))});r.push("");return r.join("")}var Ss="application/vnd.ms-office.vbaProject";function Cs(e){var r=Qe.utils.cfb_new({root:"R"});e.FullPaths.forEach(function(t,a){if(t.slice(-1)==="/"||!t.match(/_VBA_PROJECT_CUR/))return;var n=t.replace(/^[^\/]*/,"R").replace(/\/_VBA_PROJECT_CUR\u0000*/,"");Qe.utils.cfb_add(r,n,e.FileIndex[a].content)});return Qe.write(r)}function _s(e,r){r.FullPaths.forEach(function(t,a){if(a==0)return;var n=t.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");if(n.slice(-1)!=="/")Qe.utils.cfb_add(e,n,r.FileIndex[a].content)})}var As=["xlsb","xlsm","xlam","biff8","xla"];function Ts(){return{"!type":"dialog"}}function Es(){return{"!type":"dialog"}}function Fs(){return{"!type":"macro"}}function Ds(){return{"!type":"macro"}}var Os=function(){var e=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g;var r={r:0,c:0};function t(e,t,a,n){var i=false,s=false;if(a.length==0)s=true;else if(a.charAt(0)=="["){s=true;a=a.slice(1,-1)}if(n.length==0)i=true;else if(n.charAt(0)=="["){i=true;n=n.slice(1,-1)}var l=a.length>0?parseInt(a,10)|0:0,o=n.length>0?parseInt(n,10)|0:0;if(i)o+=r.c;else--o;if(s)l+=r.r;else--l;return t+(i?"":"$")+Ra(o)+(s?"":"$")+Ma(l)}return function a(n,i){r=i;return n.replace(e,t)}}();var Ms=/(^|[^._A-Z0-9])(\$?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])(\$?)(\d{1,7})(?![_.\(A-Za-z0-9])/g;try{Ms=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g}catch(Ns){}var Is=function(){return function e(r,t){return r.replace(Ms,function(e,r,a,n,i,s){var l=Pa(n)-(a?0:t.c);var o=Oa(s)-(i?0:t.r);var c=i=="$"?o+1:o==0?"":"["+o+"]";var f=a=="$"?l+1:l==0?"":"["+l+"]";return r+"R"+c+"C"+f})}}();function Ps(e,r){return e.replace(Ms,function(e,t,a,n,i,s){return t+(a=="$"?a+n:Ra(Pa(n)+r.c))+(i=="$"?i+s:Ma(Oa(s)+r.r))})}function Rs(e,r,t){var a=Wa(r),n=a.s,i=za(t);var s={r:i.r-n.r,c:i.c-n.c};return Ps(e,s)}function Ls(e){if(e.length==1)return false;return true}function Bs(e){return e.replace(/_xlfn\./g,"")}function Us(e){if(e.slice(0,3)=="of:")e=e.slice(3);if(e.charCodeAt(0)==61){e=e.slice(1);if(e.charCodeAt(0)==61)e=e.slice(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(/\$'([^']|'')+'/g,function(e){return e.slice(1)});e=e.replace(/\$([^\]\. #$]+)/g,function(e,r){return r.match(/^([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])?(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})?$/)?e:r});e=e.replace(/\[.(#[A-Z]*[?!])\]/g,"$1");return e.replace(/[;~]/g,",").replace(/\|/g,";")}function zs(e){var r="of:="+e.replace(Ms,"$1[.$2$3$4$5]").replace(/\]:\[/g,":");return r.replace(/;/g,"|").replace(/,/g,";")}function $s(e){e=e.replace(/\$'([^']|'')+'/g,function(e){return e.slice(1)});e=e.replace(/\$([^\]\. #$]+)/g,function(e,r){return r.match(/^([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])?(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})?$/)?e:r});var r=e.split(":");var t=r[0].split(".")[0];return[t,r[0].split(".")[1]+(r.length>1?":"+(r[1].split(".")[1]||r[1].split(".")[0]):"")]}function Ws(e){return e.replace(/!/,".").replace(/:/,":.")}var js={};var Hs={};var Vs=typeof Map!=="undefined";function Xs(e,r,t){var a=0,n=e.length;if(t){if(Vs?t.has(r):Object.prototype.hasOwnProperty.call(t,r)){var i=Vs?t.get(r):t[r];for(;a-1){t.width=Di(a);t.customWidth=1}else if(r.width!=null)t.width=r.width;if(r.hidden)t.hidden=true;if(r.level!=null){t.outlineLevel=t.level=r.level}return t}function Ys(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 Js(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){Ke(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 Zs(e,r,t,a,n,i,s){try{if(a.cellNF)e.z=q[r]}catch(l){if(a.WTF)throw l}if(e.t==="z"&&!a.cellStyles)return;if(e.t==="d"&&typeof e.v==="string")e.v=wr(e.v);if((!a||a.cellText!==false)&&e.t!=="z")try{if(q[r]==null)Ke(Xe[r]||"General",r);if(e.t==="e")e.w=e.w||kn[e.v];else if(r===0){if(e.t==="n"){if((e.v|0)===e.v)e.w=e.v.toString(10);else e.w=oe(e.v)}else if(e.t==="d"){var o=dr(e.v,!!s);if((o|0)===o)e.w=o.toString(10);else e.w=oe(o)}else if(e.v===undefined)return"";else e.w=ce(e.v,Hs)}else if(e.t==="d")e.w=$e(r,dr(e.v,!!s),Hs);else e.w=$e(r,e.v,Hs)}catch(l){if(a.WTF)throw l}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=Si(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=Si(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(l){if(a.WTF&&i.Fills)throw l}}function Ks(e,r,t){if(e&&e["!ref"]){var a=Xa(e["!ref"]);if(a.e.c=0&&t.s.c>=0)e["!ref"]=ja(t)}var Qs=/<(?:\w:)?mergeCell ref=["'][A-Z0-9:]+['"]\s*[\/]?>/g;var el=/<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/;var rl=/<(?:\w:)?hyperlink [^>]*>/gm;var tl=/"(\w*:\w*)"/;var al=/<(?:\w:)?col\b[^>]*[\/]?>/g;var nl=/<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g;var il=/<(?:\w:)?pageMargins[^>]*\/>/g;var sl=/<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/;var ll=/<(?:\w:)?sheetPr[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetPr)>/;var ol=/<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/;function cl(e,r,t,a,n,i,s){if(!e)return e;if(!a)a={"!id":{}};if(b!=null&&r.dense==null)r.dense=b;var l={};if(r.dense)l["!data"]=[];var o={s:{r:2e6,c:2e6},e:{r:0,c:0}};var c="",f="";var u=e.match(el);if(u){c=e.slice(0,u.index);f=e.slice(u.index+u[0].length)}else c=f=e;var h=c.match(sl);if(h)ul(h[0],l,n,t);else if(h=c.match(ll))hl(h[0],h[1]||"",l,n,t,s,i);var d=(c.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(d>0){var p=c.slice(d,d+50).match(tl);if(p&&!(r&&r.nodim))qs(l,p[1])}var m=c.match(ol);if(m&&m[1])_l(m[1],n);var v=[];if(r.cellStyles){var g=c.match(al);if(g)kl(v,g)}if(u)El(u[1],l,r,o,i,s,n);var w=f.match(nl);if(w)l["!autofilter"]=xl(w[0]);var k=[];var y=f.match(Qs);if(y)for(d=0;d!=y.length;++d)k[d]=Xa(y[d].slice(y[d].indexOf('"')+1));var x=f.match(rl);if(x)gl(l,x,a);var S=f.match(il);if(S)l["!margins"]=bl(rt(S[0]));var C;if(C=f.match(/legacyDrawing r:id="(.*?)"/))l["!legrel"]=C[1];if(r&&r.nodim)o.s.c=o.s.r=0;if(!l["!ref"]&&o.e.c>=o.s.c&&o.e.r>=o.s.r)l["!ref"]=ja(o);if(r.sheetRows>0&&l["!ref"]){var _=Xa(l["!ref"]);if(r.sheetRows<=+_.e.r){_.e.r=r.sheetRows-1;if(_.e.r>o.e.r)_.e.r=o.e.r;if(_.e.r<_.s.r)_.s.r=_.e.r;if(_.e.c>o.e.c)_.e.c=o.e.c;if(_.e.c<_.s.c)_.s.c=_.e.c;l["!fullref"]=l["!ref"];l["!ref"]=ja(_)}}if(v.length>0)l["!cols"]=v;if(k.length>0)l["!merges"]=k;if(a["!id"][l["!legrel"]])l["!legdrawel"]=a["!id"][l["!legrel"]];return l}function fl(e){if(e.length===0)return"";var r='';for(var t=0;t!=e.length;++t)r+='';return r+""}function ul(e,r,t,a){var n=rt(e);if(!t.Sheets[a])t.Sheets[a]={};if(n.codeName)t.Sheets[a].CodeName=it(kt(n.codeName))}function hl(e,r,t,a,n){ul(e.slice(0,e.indexOf(">")),t,a,n)}function dl(e,r,t,a,n){var i=false;var s={},l=null;if(a.bookType!=="xlsx"&&r.vbaraw){var o=r.SheetNames[t];try{if(r.Workbook)o=r.Workbook.Sheets[t].CodeName||o}catch(c){}i=true;s.codeName=yt(ot(o))}if(e&&e["!outline"]){var f={summaryBelow:1,summaryRight:1};if(e["!outline"].above)f.summaryBelow=0;if(e["!outline"].left)f.summaryRight=0;l=(l||"")+Ot("outlinePr",null,f)}if(!i&&!l)return;n[n.length]=Ot("sheetPr",l,s)}var pl=["objects","scenarios","selectLockedCells","selectUnlockedCells"];var ml=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];function vl(e){var r={sheet:1};pl.forEach(function(t){if(e[t]!=null&&e[t])r[t]="1"});ml.forEach(function(t){if(e[t]!=null&&!e[t])r[t]="0"});if(e.password)r.password=crypto_CreatePasswordVerifier_Method1(e.password).toString(16).toUpperCase();return Ot("sheetProtection",null,r)}function gl(e,r,t){var a=e["!data"]!=null;for(var n=0;n!=r.length;++n){var i=rt(kt(r[n]),true);if(!i.ref)return;var s=((t||{})["!id"]||[])[i.id];if(s){i.Target=s.Target;if(i.location)i.Target+="#"+it(i.location)}else{i.Target="#"+it(i.location);s={Target:i.Target,TargetMode:"Internal"}}i.Rel=s;if(i.tooltip){i.Tooltip=i.tooltip;delete i.tooltip}var l=Xa(i.ref);for(var o=l.s.r;o<=l.e.r;++o)for(var c=l.s.c;c<=l.e.c;++c){var f=Ra(c)+Ma(o);if(a){if(!e["!data"][o])e["!data"][o]=[];if(!e["!data"][o][c])e["!data"][o][c]={t:"z",v:undefined};e["!data"][o][c].l=i}else{if(!e[f])e[f]={t:"z",v:undefined};e[f].l=i}}}}function bl(e){var r={};["left","right","top","bottom","header","footer"].forEach(function(t){if(e[t])r[t]=parseFloat(e[t])});return r}function wl(e){Ys(e);return Ot("pageMargins",null,e)}function kl(e,r){var t=false;for(var a=0;a!=r.length;++a){var n=rt(r[a],true);if(n.hidden)n.hidden=mt(n.hidden);var i=parseInt(n.min,10)-1,s=parseInt(n.max,10)-1;if(n.outlineLevel)n.level=+n.outlineLevel||0;delete n.min;delete n.max;n.width=+n.width;if(!t&&n.width){t=true;Mi(n.width)}Ni(n);while(i<=s)e[i++]=yr(n)}}function yl(e,r){var t=[""],a;for(var n=0;n!=r.length;++n){if(!(a=r[n]))continue;t[t.length]=Ot("col",null,Gs(n,a))}t[t.length]="";return t.join("")}function xl(e){var r={ref:(e.match(/ref="([^"]*)"/)||[])[1]};return r}function Sl(e,r,t,a){var n=typeof e.ref=="string"?e.ref:ja(e.ref);if(!t.Workbook)t.Workbook={Sheets:[]};if(!t.Workbook.Names)t.Workbook.Names=[];var i=t.Workbook.Names;var s=Wa(n);if(s.s.r==s.e.r){s.e.r=Wa(r["!ref"]).e.r;n=ja(s)}for(var l=0;la-z][^>]*)?\/?>/g;function _l(e,r){if(!r.Views)r.Views=[{}];(e.match(Cl)||[]).forEach(function(e,t){var a=rt(e);if(!r.Views[t])r.Views[t]={};if(+a.zoomScale)r.Views[t].zoom=+a.zoomScale;if(a.rightToLeft&&mt(a.rightToLeft))r.Views[t].RTL=true})}function Al(e,r,t,a){var n={workbookViewId:"0"};if((((a||{}).Workbook||{}).Views||[])[0])n.rightToLeft=a.Workbook.Views[0].RTL?"1":"0";return Ot("sheetViews",Ot("sheetView",null,n),{})}function Tl(e,r,t,a,n,i,s){if(e.c)t["!comments"].push([r,e.c]);if((e.v===undefined||e.t==="z"&&!(a||{}).sheetStubs)&&typeof e.f!=="string"&&typeof e.z=="undefined")return"";var l="";var o=e.t,c=e.v;if(e.t!=="z")switch(e.t){case"b":l=e.v?"1":"0";break;case"n":if(isNaN(e.v)){e.t="e";l=kn[e.v=36]}else if(!isFinite(e.v)){e.t="e";l=kn[e.v=7]}else l=""+e.v;break;case"e":l=kn[e.v];break;case"d":if(a&&a.cellDates){var f=wr(e.v,s);l=f.toISOString();if(f.getUTCFullYear()<1900)l=l.slice(l.indexOf("T")+1).replace("Z","")}else{e=yr(e);e.t="n";l=""+(e.v=dr(wr(e.v,s),s))}if(typeof e.z==="undefined")e.z=q[14];break;default:l=e.v;break;}var u=e.t=="z"||e.v==null?"":Ft("v",ot(l)),h={r:r};var d=Js(a.cellXfs,e,a);if(d!==0)h.s=d;switch(e.t){case"n":break;case"d":h.t="d";break;case"b":h.t="b";break;case"e":h.t="e";break;case"z":break;default:if(e.v==null){delete e.t;break}if(e.v.length>32767)throw new Error("Text length must not exceed 32767 characters");if(a&&a.bookSST){u=Ft("v",""+Xs(a.Strings,e.v,a.revStrings));h.t="s";break}else h.t="str";break;}if(e.t!=o){e.t=o;e.v=c}if(typeof e.f=="string"&&e.f){var p=e.F&&e.F.slice(0,r.length)==r?{t:"array",ref:e.F}:null;u=Ot("f",ot(e.f),p)+(e.v!=null?u:"")}if(e.l){e.l.display=ot(l);t["!links"].push([r,e.l])}if(e.D)h.cm=1;return Ot("c",u,h)}var El=function(){var e=/<(?:\w+:)?c[ \/>]/,r=/<\/(?:\w+:)?row>/;var t=/r=["']([^"']*)["']/,a=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/;var n=/ref=["']([^"']*)["']/;var i=xt("v"),s=xt("f");return function l(o,c,f,u,h,d,p){var m=0,v="",g=[],b=[],w=0,k=0,y=0,x="",S;var C,_=0,A=0;var T,E;var F=0,D=0;var O=Array.isArray(d.CellXf),M;var N=[];var I=[];var P=c["!data"]!=null;var R=[],L={},B=false;var U=!!f.sheetStubs;var z=!!((p||{}).WBProps||{}).date1904;for(var $=o.split(r),W=0,j=$.length;W!=j;++W){v=$[W].trim(); -var H=v.length;if(H===0)continue;var V=0;e:for(m=0;m":if(v[m-1]!="/"){++m;break e}if(f&&f.cellStyles){C=rt(v.slice(V,m),true);_=C.r!=null?parseInt(C.r,10):_+1;A=-1;if(f.sheetRows&&f.sheetRows<_)continue;L={};B=false;if(C.ht){B=true;L.hpt=parseFloat(C.ht);L.hpx=Li(L.hpt)}if(C.hidden&&mt(C.hidden)){B=true;L.hidden=true}if(C.outlineLevel!=null){B=true;L.level=+C.outlineLevel}if(B)R[_-1]=L}break;case"<":V=m;break;}if(V>=m)break;C=rt(v.slice(V,m),true);_=C.r!=null?parseInt(C.r,10):_+1;A=-1;if(f.sheetRows&&f.sheetRows<_)continue;if(!f.nodim){if(u.s.r>_-1)u.s.r=_-1;if(u.e.r<_-1)u.e.r=_-1}if(f&&f.cellStyles){L={};B=false;if(C.ht){B=true;L.hpt=parseFloat(C.ht);L.hpx=Li(L.hpt)}if(C.hidden&&mt(C.hidden)){B=true;L.hidden=true}if(C.outlineLevel!=null){B=true;L.level=+C.outlineLevel}if(B)R[_-1]=L}g=v.slice(m).split(e);for(var X=0;X!=g.length;++X)if(g[X].trim().charAt(0)!="<")break;g=g.slice(X);for(m=0;m!=g.length;++m){v=g[m].trim();if(v.length===0)continue;b=v.match(t);w=m;k=0;y=0;v="":"")+v;if(b!=null&&b.length===2){w=0;x=b[1];for(k=0;k!=x.length;++k){if((y=x.charCodeAt(k)-64)<1||y>26)break;w=26*w+y}--w;A=w}else++A;for(k=0;k!=v.length;++k)if(v.charCodeAt(k)===62)break;++k;C=rt(v.slice(0,k),true);if(!C.r)C.r=$a({r:_-1,c:A});x=v.slice(k);S={t:""};if((b=x.match(i))!=null&&b[1]!=="")S.v=it(b[1]);if(f.cellFormula){if((b=x.match(s))!=null){if(b[1]==""){if(b[0].indexOf('t="shared"')>-1){E=rt(b[0]);if(I[E.si])S.f=Rs(I[E.si][1],I[E.si][2],C.r)}}else{S.f=it(kt(b[1]),true);if(!f.xlfn)S.f=Bs(S.f);if(b[0].indexOf('t="array"')>-1){S.F=(x.match(n)||[])[1];if(S.F.indexOf(":")>-1)N.push([Xa(S.F),S.F])}else if(b[0].indexOf('t="shared"')>-1){E=rt(b[0]);var G=it(kt(b[1]));if(!f.xlfn)G=Bs(G);I[parseInt(E.si,10)]=[E,G,C.r]}}}else if(b=x.match(/]*\/>/)){E=rt(b[0]);if(I[E.si])S.f=Rs(I[E.si][1],I[E.si][2],C.r)}var Y=za(C.r);for(k=0;k=N[k][0].s.r&&Y.r<=N[k][0].e.r)if(Y.c>=N[k][0].s.c&&Y.c<=N[k][0].e.c)S.F=N[k][1]}if(C.t==null&&S.v===undefined){if(S.f||S.F){S.v=0;S.t="n"}else if(!U)continue;else S.t="z"}else S.t=C.t||"n";if(u.s.c>A)u.s.c=A;if(u.e.cZ.r)u.s.r=Z.r;if(u.e.r0)c["!rows"]=R}}();function Fl(e,r,t,a){var n=[],i=[],s=Xa(e["!ref"]),l="",o,c="",f=[],u=0,h=0,d=e["!rows"];var p=e["!data"]!=null;var m={r:c},v,g=-1;var b=(((a||{}).Workbook||{}).WBProps||{}).date1904;for(h=s.s.c;h<=s.e.c;++h)f[h]=Ra(h);for(u=s.s.r;u<=s.e.r;++u){i=[];c=Ma(u);for(h=s.s.c;h<=s.e.c;++h){o=f[h]+c;var w=p?(e["!data"][u]||[])[h]:e[o];if(w===undefined)continue;if((l=Tl(w,o,e,r,t,a,b))!=null)i.push(l)}if(i.length>0||d&&d[u]){m={r:c};if(d&&d[u]){v=d[u];if(v.hidden)m.hidden=1;g=-1;if(v.hpx)g=Ri(v.hpx);else if(v.hpt)g=v.hpt;if(g>-1){m.ht=g;m.customHeight=1}if(v.level){m.outlineLevel=v.level}}n[n.length]=Ot("row",i.join(""),m)}}if(d)for(;u-1){m.ht=g;m.customHeight=1}if(v.level){m.outlineLevel=v.level}n[n.length]=Ot("row","",m)}}return n.join("")}function Dl(e,r,t,a){var n=[Yr,Ot("worksheet",null,{xmlns:Lt[0],"xmlns:r":Rt.r})];var i=t.SheetNames[e],s=0,l="";var o=t.Sheets[i];if(o==null)o={};var c=o["!ref"]||"A1";var f=Xa(c);if(f.e.c>16383||f.e.r>1048575){if(r.WTF)throw new Error("Range "+c+" exceeds format limit A1:XFD1048576");f.e.c=Math.min(f.e.c,16383);f.e.r=Math.min(f.e.c,1048575);c=ja(f)}if(!a)a={};o["!comments"]=[];var u=[];dl(o,t,e,r,n);n[n.length]=Ot("dimension",null,{ref:c});n[n.length]=Al(o,r,e,t);if(r.sheetFormat)n[n.length]=Ot("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]=yl(o,o["!cols"]);n[s=n.length]="";o["!links"]=[];if(o["!ref"]!=null){l=Fl(o,r,e,t,a);if(l.length>0)n[n.length]=l}if(n.length>s+1){n[n.length]="";n[s]=n[s].replace("/>",">")}if(o["!protect"])n[n.length]=vl(o["!protect"]);if(o["!autofilter"]!=null)n[n.length]=Sl(o["!autofilter"],o,t,e);if(o["!merges"]!=null&&o["!merges"].length>0)n[n.length]=fl(o["!merges"]);var h=-1,d,p=-1;if(o["!links"].length>0){n[n.length]="";o["!links"].forEach(function(e){if(!e[1].Target)return;d={ref:e[0]};if(e[1].Target.charAt(0)!="#"){p=Mn(a,-1,ot(e[1].Target).replace(/#.*$/,""),En.HLINK);d["r:id"]="rId"+p}if((h=e[1].Target.indexOf("#"))>-1)d.location=ot(e[1].Target.slice(h+1));if(e[1].Tooltip)d.tooltip=ot(e[1].Tooltip);d.display=e[1].display;n[n.length]=Ot("hyperlink",null,d)});n[n.length]=""}delete o["!links"];if(o["!margins"]!=null)n[n.length]=wl(o["!margins"]);if(!r||r.ignoreEC||r.ignoreEC==void 0)n[n.length]=Ft("ignoredErrors",Ot("ignoredError",null,{numberStoredAsText:1,sqref:c}));if(u.length>0){p=Mn(a,-1,"../drawings/drawing"+(e+1)+".xml",En.DRAW);n[n.length]=Ot("drawing",null,{"r:id":"rId"+p});o["!drawing"]=u}if(o["!comments"].length>0){p=Mn(a,-1,"../drawings/vmlDrawing"+(e+1)+".vml",En.VML);n[n.length]=Ot("legacyDrawing",null,{"r:id":"rId"+p});o["!legacy"]=p}if(n.length>1){n[n.length]="";n[1]=n[1].replace("/>",">")}return n.join("")}function Ol(e){var r=[];var t=e.match(/^/);var a;(e.match(/(.*?)<\/c:pt>/gm)||[]).forEach(function(e){var a=e.match(/(.*)<\/c:v><\/c:pt>/);if(!a)return;r[+a[1]]=t?+a[2]:a[2]});var n=it((e.match(/([\s\S]*?)<\/c:formatCode>/)||["","General"])[1]);(e.match(/(.*?)<\/c:f>/gm)||[]).forEach(function(e){a=e.replace(/<.*?>/g,"")});return[r,n,a]}function Ml(e,r,t,a,n,i){var s=i||{"!type":"chart"};if(!e)return i;var l=0,o=0,c="A";var f={s:{r:2e6,c:2e6},e:{r:0,c:0}};(e.match(/[\s\S]*?<\/c:numCache>/gm)||[]).forEach(function(e){var r=Ol(e);f.s.r=f.s.c=0;f.e.c=l;c=Ra(l);r[0].forEach(function(e,t){if(s["!data"]){if(!s["!data"][t])s["!data"][t]=[];s["!data"][t][l]={t:"n",v:e,z:r[1]}}else s[c+Ma(t)]={t:"n",v:e,z:r[1]};o=t});if(f.e.r0)s["!ref"]=ja(f);return s}function Nl(e,r,t,a,n){if(!e)return e;if(!a)a={"!id":{}};var i={"!type":"chart","!drawel":null,"!rel":""};var s;var l=e.match(sl);if(l)ul(l[0],i,n,t);if(s=e.match(/drawing r:id="(.*?)"/))i["!rel"]=s[1];if(a["!id"][i["!rel"]])i["!drawel"]=a["!id"][i["!rel"]];return i}var Il=[["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 Pl=[["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 Rl=[];var Ll=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function Bl(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]]=mt(a[i[0]]);break;case"int":if(typeof a[i[0]]=="string")a[i[0]]=parseInt(a[i[0]],10);break;}}}}function Ul(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]]=mt(e[a[0]]);break;case"int":if(typeof e[a[0]]=="string")e[a[0]]=parseInt(e[a[0]],10);break;}}}function zl(e){Ul(e.WBProps,Il);Ul(e.CalcPr,Ll);Bl(e.WBView,Pl);Bl(e.Sheets,Rl);Hs.date1904=mt(e.WBProps.date1904)}function $l(e){if(!e.Workbook)return"false";if(!e.Workbook.WBProps)return"false";return mt(e.Workbook.WBProps.date1904)?"true":"false"}var Wl=":][*?/\\".split("");function jl(e,r){try{if(e=="")throw new Error("Sheet name cannot be blank");if(e.length>31)throw new Error("Sheet name cannot exceed 31 chars");if(e.charCodeAt(0)==39||e.charCodeAt(e.length-1)==39)throw new Error("Sheet name cannot start or end with apostrophe (')");if(e.toLowerCase()=="history")throw new Error("Sheet name cannot be 'History'");Wl.forEach(function(r){if(e.indexOf(r)==-1)return;throw new Error("Sheet name cannot contain : \\ / ? * [ ]")})}catch(t){if(r)return false;throw t}return true}function Hl(e,r,t){e.forEach(function(a,n){jl(a);for(var i=0;i22)throw new Error("Bad Code Name: Worksheet"+s)}})}function Vl(e){if(!e||!e.SheetNames||!e.Sheets)throw new Error("Invalid Workbook");if(!e.SheetNames.length)throw new Error("Workbook is empty");var r=e.Workbook&&e.Workbook.Sheets||[];Hl(e.SheetNames,r,!!e.vbaraw);for(var t=0;t":break;case"":;case"":break;case"":break;case"":Il.forEach(function(e){if(f[e[0]]==null)return;switch(e[2]){case"bool":t.WBProps[e[0]]=mt(f[e[0]]);break;case"int":t.WBProps[e[0]]=parseInt(f[e[0]],10);break;default:t.WBProps[e[0]]=f[e[0]];}});if(f.codeName)t.WBProps.CodeName=kt(f.codeName);break;case"":break;case"":break;case"":;case"":break;case"":delete f[0];t.WBView.push(f);break;case"":break;case"":;case"":break;case"":break;case"":break;case"":;case"":break;case"":break;case"":;case"":a=false;break;case"":{i.Ref=it(kt(e.slice(s,c)));t.Names.push(i)}break;case"":break;case"":delete f[0];t.CalcPr=f;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=true;break;case"":a=false;break;case"0;var a={codeName:"ThisWorkbook"};if(e.Workbook&&e.Workbook.WBProps){Il.forEach(function(r){if(e.Workbook.WBProps[r[0]]==null)return;if(e.Workbook.WBProps[r[0]]==r[1])return;a[r[0]]=e.Workbook.WBProps[r[0]]});if(e.Workbook.WBProps.CodeName){a.codeName=e.Workbook.WBProps.CodeName;delete a.CodeName}}r[r.length]=Ot("workbookPr",null,a);var n=e.Workbook&&e.Workbook.Sheets||[];var i=0;if(n&&n[0]&&!!n[0].Hidden){r[r.length]="";for(i=0;i!=e.SheetNames.length;++i){if(!n[i])break;if(!n[i].Hidden)break}if(i==e.SheetNames.length)i=0;r[r.length]='';r[r.length]=""}r[r.length]="";for(i=0;i!=e.SheetNames.length;++i){var s={name:ot(e.SheetNames[i].slice(0,31))};s.sheetId=""+(i+1);s["r:id"]="rId"+(i+1);if(n[i])switch(n[i].Hidden){case 1:s.state="hidden";break;case 2:s.state="veryHidden";break;}r[r.length]=Ot("sheet",null,s)}r[r.length]="";if(t){r[r.length]="";if(e.Workbook&&e.Workbook.Names)e.Workbook.Names.forEach(function(e){var t={name:e.Name};if(e.Comment)t.comment=e.Comment;if(e.Sheet!=null)t.localSheetId=""+e.Sheet;if(e.Hidden)t.hidden="1";if(!e.Ref)return;r[r.length]=Ot("definedName",ot(e.Ref),t)});r[r.length]=""}if(r.length>2){r[r.length]="";r[1]=r[1].replace("/>",">")}return r.join("")}function Jl(e,r,t){if(r.slice(-4)===".bin")return parse_wb_bin(e,t);return Gl(e,t)}function Zl(e,r,t,a,n,i,s,l){if(r.slice(-4)===".bin")return parse_ws_bin(e,a,t,n,i,s,l);return cl(e,a,t,n,i,s,l)}function Kl(e,r,t,a,n,i,s,l){if(r.slice(-4)===".bin")return parse_cs_bin(e,a,t,n,i,s,l);return Nl(e,a,t,n,i,s,l)}function ql(e,r,t,a,n,i,s,l){if(r.slice(-4)===".bin")return Fs(e,a,t,n,i,s,l);return Ds(e,a,t,n,i,s,l)}function Ql(e,r,t,a,n,i,s,l){if(r.slice(-4)===".bin")return Ts(e,a,t,n,i,s,l);return Es(e,a,t,n,i,s,l)}function eo(e,r,t,a){if(r.slice(-4)===".bin")return parse_sty_bin(e,t,a);return Yi(e,t,a)}function ro(e,r,t){if(r.slice(-4)===".bin")return parse_sst_bin(e,t);return vi(e,t)}function to(e,r,t){if(r.slice(-4)===".bin")return parse_comments_bin(e,t);return gs(e,t)}function ao(e,r,t){if(r.slice(-4)===".bin")return parse_cc_bin(e,r,t);return parse_cc_xml(e,r,t)}function no(e,r,t,a){if(t.slice(-4)===".bin")return fs(e,r,t,a);return cs(e,r,t,a)}function io(e,r,t){if(r.slice(-4)===".bin")return parse_xlmeta_bin(e,r,t);return ls(e,r,t)}function so(e,r){var t=r||{};var a=t.dense!=null?t.dense:b;var n={};if(a)n["!data"]=[];e=e.replace(//g,"");var i=e.match(/");var s=e.match(/<\/table/i);var l=i.index,o=s&&s.index||e.length;var c=Mr(e.slice(l,o),/(:?]*>)/i,"");var f=-1,u=0,h=0,d=0;var p={s:{r:1e7,c:1e7},e:{r:0,c:0}};var m=[];for(l=0;l/i);for(o=0;o"))>-1)y=y.slice(x+1);for(var S=0;S")));d=_.colspan?+_.colspan:1;if((h=+_.rowspan)>1||d>1)m.push({s:{r:f,c:u},e:{r:f+(h||1)-1,c:u+d-1}});var A=_.t||_["data-t"]||"";if(!y.length){u+=d;continue}y=St(y);if(p.s.r>f)p.s.r=f;if(p.e.ru)p.s.c=u;if(p.e.ct||n[u].s.c>o)continue;if(n[u].e.r1)s.rowspan=c;if(f>1)s.colspan=f;if(a.editable)p=''+p+"";else if(d){s["data-t"]=d&&d.t||"z";if(d.v!=null)s["data-v"]=d.v instanceof Date?d.v.toISOString():d.v;if(d.z!=null)s["data-z"]=d.z;if(d.l&&(d.l.Target||"#").charAt(0)!="#")p=''+p+""}s.id=(a.id||"sjs")+"-"+h;i.push(Ot("td",p,s))}var m="";return m+i.join("")+""}var oo='SheetJS Table Export';var co="";function fo(e,r){var t=e.match(/[\s\S]*?<\/table>/gi);if(!t||t.length==0)throw new Error("Invalid HTML: could not find
");if(t.length==1){var a=Ja(so(t[0],r),r);a.bookType="html";return a}var n=Sc();t.forEach(function(e,t){Cc(n,so(e,r),"Sheet"+(t+1))});n.bookType="html";return n}function uo(e,r,t){var a=[];return a.join("")+""}function ho(e,r){var t=r||{};var a=t.header!=null?t.header:oo;var n=t.footer!=null?t.footer:co;var i=[a];var s=Wa(e["!ref"]||"A1");i.push(uo(e,s,t));if(e["!ref"])for(var l=s.s.r;l<=s.e.r;++l)i.push(lo(e,s,l,t));i.push("
"+n);return i.join("")}function po(e,r,t){var a=r.rows;if(!a){throw"Unsupported origin when "+r.tagName+" is not a TABLE"}var n=t||{};var i=e["!data"]!=null;var s=0,l=0;if(n.origin!=null){if(typeof n.origin=="number")s=n.origin;else{var o=typeof n.origin=="string"?za(n.origin):n.origin;s=o.r;l=o.c}}var c=Math.min(n.sheetRows||1e7,a.length);var f={s:{r:0,c:0},e:{r:s,c:l}};if(e["!ref"]){var u=Wa(e["!ref"]);f.s.r=Math.min(f.s.r,u.s.r);f.s.c=Math.min(f.s.c,u.s.c);f.e.r=Math.max(f.e.r,u.e.r);f.e.c=Math.max(f.e.c,u.e.c);if(s==-1)f.e.r=s=u.e.r+1}var h=[],d=0;var p=e["!rows"]||(e["!rows"]=[]);var m=0,v=0,g=0,b=0,w=0,k=0;if(!e["!cols"])e["!cols"]=[];for(;m1||k>1)h.push({s:{r:v+s,c:b+l},e:{r:v+s+(w||1)-1,c:b+l+(k||1)-1}});var T={t:"s",v:C};var E=S.getAttribute("data-t")||S.getAttribute("t")||"";if(C!=null){if(C.length==0)T.t=E||"z";else if(n.raw||C.trim().length==0||E=="s"){}else if(C==="TRUE")T={t:"b",v:true};else if(C==="FALSE")T={t:"b",v:false};else if(!isNaN(Sr(C)))T={t:"n",v:Sr(C)};else if(!isNaN(Or(C).getDate())){T={t:"d",v:wr(C)};if(n.UTC)T.v=Ir(T.v);if(!n.cellDates)T={t:"n",v:dr(T.v)};T.z=n.dateNF||q[14]}}if(T.z===undefined&&_!=null)T.z=_;var F="",D=S.getElementsByTagName("A");if(D&&D.length)for(var O=0;O=c)e["!fullref"]=ja((f.e.r=a.length-m+v-1+s,f));return e}function mo(e,r){var t=r||{};var a={};if(t.dense)a["!data"]=[];return po(a,e,r)}function vo(e,r){var t=Ja(mo(e,r),r);return t}function go(e){var r="";var t=bo(e);if(t)r=t(e).getPropertyValue("display");if(!r)r=e.style&&e.style.display;return r==="none"}function bo(e){if(e.ownerDocument.defaultView&&typeof e.ownerDocument.defaultView.getComputedStyle==="function")return e.ownerDocument.defaultView.getComputedStyle;if(typeof getComputedStyle==="function")return getComputedStyle;return null}function wo(e){var r=e.replace(/[\t\r\n]/g," ").trim().replace(/ +/g," ").replace(//g," ").replace(//g,function(e,r){return Array(parseInt(r,10)+1).join(" ")}).replace(/]*\/>/g,"\t").replace(//g,"\n");var t=it(r.replace(/<[^>]*>/g,""));return[t]}function ko(e,r,t){var a=t||{};var n=It(e);Pt.lastIndex=0;n=n.replace(//gm,"").replace(//gm,"");var i,s,l="",o="",c,f=0,u=-1,h=false,d="";while(i=Pt.exec(n)){switch(i[3]=i[3].replace(/_.*$/,"")){case"number-style":;case"currency-style":;case"percentage-style":;case"date-style":;case"time-style":;case"text-style":if(i[1]==="/"){h=false;if(s["truncate-on-overflow"]=="false"){if(l.match(/h/))l=l.replace(/h+/,"[$&]");else if(l.match(/m/))l=l.replace(/m+/,"[$&]");else if(l.match(/s/))l=l.replace(/s+/,"[$&]")}a[s.name]=l;l=""}else if(i[0].charAt(i[0].length-2)!=="/"){h=true;l="";s=rt(i[0],false)}break;case"boolean-style":if(i[1]==="/"){h=false;a[s.name]="General";l=""}else if(i[0].charAt(i[0].length-2)!=="/"){h=true;l="";s=rt(i[0],false)}break;case"boolean":l+="General";break;case"text":if(i[1]==="/"){d=n.slice(u,Pt.lastIndex-i[0].length);if(d=="%"&&s[0]=="=0")l=a[c["apply-style-name"]]+";"+l;else console.error("ODS number format may be incorrect: "+c["condition"]);break;case"number":if(i[1]==="/")break;c=rt(i[0],false);o="";o+=xr("0",+c["min-integer-digits"]||1);if(mt(c["grouping"]))o=he(xr("#",Math.max(0,4-o.length))+o);if(+c["min-decimal-places"]||+c["decimal-places"])o+=".";if(+c["min-decimal-places"])o+=xr("0",+c["min-decimal-places"]||1);if(+c["decimal-places"]-(+c["min-decimal-places"]||0))o+=xr("0",+c["decimal-places"]-(+c["min-decimal-places"]||0));l+=o;break;case"embedded-text":if(i[1]==="/"){if(f==0)l+='"'+n.slice(u,Pt.lastIndex-i[0].length).replace(/"/g,'""')+'"';else l=l.slice(0,f)+'"'+n.slice(u,Pt.lastIndex-i[0].length).replace(/"/g,'""')+'"'+l.slice(f)}else if(i[0].charAt(i[0].length-2)!=="/"){u=Pt.lastIndex;f=-+rt(i[0],false)["position"]||0}break;}}return a}function yo(e,r,t){var a=r||{};if(b!=null&&a.dense==null)a.dense=b;var n=It(e);var i=[],s;var l;var o,c="",f=0;var u;var h;var d={},p=[];var m={};if(a.dense)m["!data"]=[];var v,g;var w={value:""};var k="",y=0,x,S="",C=0;var _=[],A=[];var T=-1,E=-1,F={s:{r:1e6,c:1e7},e:{r:0,c:0}};var D=0;var O=t||{},M={};var N=[],I={},P=0,R=0;var L=[],B=1,U=1;var z=[];var $={Names:[],WBProps:{}};var W={};var j=["",""];var H=[],V={};var X="",G=0;var Y=false,J=false;var Z=0;Pt.lastIndex=0;n=n.replace(//gm,"").replace(//gm,"");while(v=Pt.exec(n))switch(v[3]=v[3].replace(/_.*$/,"")){case"table":;case"工作表":if(v[1]==="/"){if(F.e.c>=F.s.c&&F.e.r>=F.s.r)m["!ref"]=ja(F);else m["!ref"]="A1:A1";if(a.sheetRows>0&&a.sheetRows<=F.e.r){m["!fullref"]=m["!ref"];F.e.r=a.sheetRows-1;m["!ref"]=ja(F)}if(N.length)m["!merges"]=N;if(L.length)m["!rows"]=L;u.name=u["名称"]||u.name;if(typeof JSON!=="undefined")JSON.stringify(u);p.push(u.name);d[u.name]=m;J=false}else if(v[0].charAt(v[0].length-2)!=="/"){u=rt(v[0],false);T=E=-1;F.s.r=F.s.c=1e7;F.e.r=F.e.c=0;m={};if(a.dense)m["!data"]=[];N=[];L=[];J=true}break;case"table-row-group":if(v[1]==="/")--D;else++D;break;case"table-row":;case"行":if(v[1]==="/"){T+=B;B=1;break}h=rt(v[0],false);if(h["行号"])T=h["行号"]-1;else if(T==-1)T=0;B=+h["number-rows-repeated"]||1;if(B<10)for(Z=0;Z0)L[T+Z]={level:D};E=-1;break;case"covered-table-cell":if(v[1]!=="/")++E;if(a.sheetStubs){if(a.dense){if(!m["!data"][T])m["!data"][T]=[];m["!data"][T][E]={t:"z"}}else m[$a({r:T,c:E})]={t:"z"}}k="";_=[];break;case"table-cell":;case"数据":if(v[0].charAt(v[0].length-2)==="/"){++E;w=rt(v[0],false);U=parseInt(w["number-columns-repeated"]||"1",10);g={t:"z",v:null};if(w.formula&&a.cellFormula!=false)g.f=Us(it(w.formula));if(w["style-name"]&&M[w["style-name"]])g.z=M[w["style-name"]];if((w["数据类型"]||w["value-type"])=="string"){g.t="s";g.v=it(w["string-value"]||"");if(a.dense){if(!m["!data"][T])m["!data"][T]=[];m["!data"][T][E]=g}else{m[Ra(E)+Ma(T)]=g}}E+=U-1}else if(v[1]!=="/"){++E;k=S="";y=C=0;_=[];A=[];U=1;var K=B?T+B-1:T;if(E>F.e.c)F.e.c=E;if(EF.e.r)F.e.r=K;w=rt(v[0],false);H=[];V={};g={t:w["数据类型"]||w["value-type"],v:null};if(w["style-name"]&&M[w["style-name"]])g.z=M[w["style-name"]];if(a.cellFormula){if(w.formula)w.formula=it(w.formula);if(w["number-matrix-columns-spanned"]&&w["number-matrix-rows-spanned"]){P=parseInt(w["number-matrix-rows-spanned"],10)||0;R=parseInt(w["number-matrix-columns-spanned"],10)||0;I={s:{r:T,c:E},e:{r:T+P-1,c:E+R-1}};g.F=ja(I);z.push([I,g.F])}if(w.formula)g.f=Us(w.formula);else for(Z=0;Z=z[Z][0].s.r&&T<=z[Z][0].e.r)if(E>=z[Z][0].s.c&&E<=z[Z][0].e.c)g.F=z[Z][1]}if(w["number-columns-spanned"]||w["number-rows-spanned"]){P=parseInt(w["number-rows-spanned"],10)||0;R=parseInt(w["number-columns-spanned"],10)||0;I={s:{r:T,c:E},e:{r:T+P-1,c:E+R-1}};N.push(I)}if(w["number-columns-repeated"])U=parseInt(w["number-columns-repeated"],10);switch(g.t){case"boolean":g.t="b";g.v=mt(w["boolean-value"])||+w["boolean-value"]>=1;break;case"float":g.t="n";g.v=parseFloat(w.value);if(a.cellDates&&g.z&&Re(g.z)){g.v=pr(g.v+($.WBProps.date1904?1462:0));g.t=typeof g.v=="number"?"n":"d"}break;case"percentage":g.t="n";g.v=parseFloat(w.value);break;case"currency":g.t="n";g.v=parseFloat(w.value);break;case"date":g.t="d";g.v=wr(w["date-value"],$.WBProps.date1904);if(!a.cellDates){g.t="n";g.v=dr(g.v,$.WBProps.date1904)}if(!g.z)g.z="m/d/yy";break;case"time":g.t="n";g.v=mr(w["time-value"])/86400;if(a.cellDates){g.v=pr(g.v);g.t=typeof g.v=="number"?"n":"d"}if(!g.z)g.z="HH:MM:SS";break;case"number":g.t="n";g.v=parseFloat(w["数据数值"]);break;default:if(g.t==="string"||g.t==="text"||!g.t){g.t="s";if(w["string-value"]!=null){k=it(w["string-value"]);_=[]}}else throw new Error("Unsupported value type "+g.t);}}else{Y=false;if(g.t==="s"){g.v=k||"";if(_.length)g.R=_;Y=y==0}if(W.Target)g.l=W;if(H.length>0){g.c=H;H=[]}if(k&&a.cellText!==false)g.w=k;if(Y){g.t="z";delete g.v}if(!Y||a.sheetStubs){if(!(a.sheetRows&&a.sheetRows<=T)){for(var q=0;q0)m["!data"][T+q][E+U]=yr(g)}else{m[$a({r:T+q,c:E})]=g;while(--U>0)m[$a({r:T+q,c:E+U})]=yr(g)}if(F.e.c<=E)F.e.c=E}}}U=parseInt(w["number-columns-repeated"]||"1",10);E+=U-1;U=0;g={};k="";_=[]}W={};break;case"document":;case"document-content":;case"电子表格文档":;case"spreadsheet":;case"主体":;case"scripts":;case"styles":;case"font-face-decls":;case"master-styles":if(v[1]==="/"){if((s=i.pop())[0]!==v[3])throw"Bad state: "+s}else if(v[0].charAt(v[0].length-2)!=="/")i.push([v[3],true]);break;case"annotation":if(v[1]==="/"){if((s=i.pop())[0]!==v[3])throw"Bad state: "+s;V.t=k;if(_.length)V.R=_;V.a=X;H.push(V);k=S;y=C;_=A}else if(v[0].charAt(v[0].length-2)!=="/"){i.push([v[3],false]);var Q=rt(v[0],true);if(!(Q["display"]&&mt(Q["display"])))H.hidden=true;S=k;C=y;A=_;k="";y=0;_=[]}X="";G=0;break;case"creator":if(v[1]==="/"){X=n.slice(G,v.index)}else G=v.index+v[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":;case"chart": -if(v[1]==="/"){if((s=i.pop())[0]!==v[3])throw"Bad state: "+s}else if(v[0].charAt(v[0].length-2)!=="/")i.push([v[3],false]);k="";y=0;_=[];break;case"scientific-number":;case"currency-symbol":;case"fill-character":break;case"text-style":;case"boolean-style":;case"number-style":;case"currency-style":;case"percentage-style":;case"date-style":;case"time-style":if(v[1]==="/"){var ee=Pt.lastIndex;ko(n.slice(o,Pt.lastIndex),r,O);Pt.lastIndex=ee}else if(v[0].charAt(v[0].length-2)!=="/"){o=Pt.lastIndex-v[0].length}break;case"script":break;case"libraries":break;case"automatic-styles":break;case"default-style":;case"page-layout":break;case"style":{var re=rt(v[0],false);if(re["family"]=="table-cell"&&O[re["data-style-name"]])M[re["name"]]=O[re["data-style-name"]]}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":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":break;case"boolean":break;case"text":if(v[0].slice(-2)==="/>")break;else if(v[1]==="/")switch(i[i.length-1][0]){case"number-style":;case"date-style":;case"time-style":c+=n.slice(f,v.index);break;}else f=v.index+v[0].length;break;case"named-range":l=rt(v[0],false);j=$s(l["cell-range-address"]);var te={Name:l.name,Ref:j[0]+"!"+j[1]};if(J)te.Sheet=p.length;$.Names.push(te);break;case"text-content":break;case"text-properties":break;case"embedded-text":break;case"body":;case"电子表格":break;case"forms":break;case"table-column":break;case"table-header-rows":break;case"table-rows":break;case"table-column-group":break;case"table-header-columns":break;case"table-columns":break;case"null-date":l=rt(v[0],false);switch(l["date-value"]){case"1904-01-01":$.WBProps.date1904=true;break;}break;case"graphic-properties":break;case"calculation-settings":break;case"named-expressions":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(["master-styles"].indexOf(i[i.length-1][0])>-1)break;if(v[1]==="/"&&(!w||!w["string-value"])){var ae=wo(n.slice(y,v.index),x);k=(k.length>0?k+"\n":"")+ae[0]}else if(v[0].slice(-2)=="/>"){k+="\n"}else{x=rt(v[0],false);y=v.index+v[0].length}break;case"s":break;case"database-range":if(v[1]==="/")break;try{j=$s(rt(v[0])["target-range-address"]);d[j[0]]["!autofilter"]={ref:j[1]}}catch(ne){}break;case"date":break;case"object":break;case"title":;case"标题":break;case"desc":break;case"binary-data":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"filter-set-item":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"print-date":;case"generator":;case"document-statistic":;case"user-defined":;case"editing-duration":;case"editing-cycles":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":if(v[1]!=="/"){W=rt(v[0],false);if(!W.href)break;W.Target=it(W.href);delete W.href;if(W.Target.charAt(0)=="#"&&W.Target.indexOf(".")>-1){j=$s(W.Target.slice(1));W.Target="#"+j[0]+"!"+j[1]}else if(W.Target.match(/^\.\.[\\\/]/))W.Target=W.Target.slice(3)}break;case"table-protection":break;case"data-pilot-grand-total":break;case"office-document-common-attrs":break;default:switch(v[2]){case"dc:":;case"calcext:":;case"loext:":;case"ooo:":;case"chartooo:":;case"draw:":;case"style:":;case"chart:":;case"form:":;case"uof:":;case"表:":;case"字:":break;default:if(a.WTF)throw new Error(v);};}var ie={Sheets:d,SheetNames:p,Workbook:$};if(a.bookSheets)delete ie.Sheets;return ie}function xo(e,r){r=r||{};if(Br(e,"META-INF/manifest.xml"))In(zr(e,"META-INF/manifest.xml"),r);var t=$r(e,"styles.xml");var a=t&&ko(kt(t),r);var n=$r(e,"content.xml");if(!n)throw new Error("Missing content.xml in ODS / UOF file");var i=yo(kt(n),r,a);if(Br(e,"meta.xml"))i.Props=Wn(zr(e,"meta.xml"));i.bookType="ods";return i}function So(e,r){var t=yo(e,r);t.bookType="fods";return t}var Co=function(){var e=["",'',"",'',"",'',"",""].join("");var r=""+e+"";return function t(){return Yr+r}}();function _o(e,r){var t="number",a="",n={"style:name":r},i="",s=0;e=e.replace(/"[$]"/g,"$");e:{if(e.indexOf(";")>-1){console.error("Unsupported ODS Style Map exported. Using first branch of "+e);e=e.slice(0,e.indexOf(";"))}if(e=="@"){t="text";a="";break e}if(e.indexOf(/\$/)>-1){t="currency"}if(e[s]=='"'){i="";while(e[++s]!='"'||e[++s]=='"')i+=e[s];--s;if(e[s+1]=="*"){s++;a+=""+ot(i.replace(/""/g,'"'))+""}else{a+=""+ot(i.replace(/""/g,'"'))+""}e=e.slice(s+1);s=0}var l=e.match(/# (\?+)\/(\?+)/);if(l){a+=Ot("number:fraction",null,{"number:min-integer-digits":0,"number:min-numerator-digits":l[1].length,"number:max-denominator-value":Math.max(+l[1].replace(/./g,"9"),+l[2].replace(/./g,"9"))});break e}if(l=e.match(/# (\?+)\/(\d+)/)){a+=Ot("number:fraction",null,{"number:min-integer-digits":0,"number:min-numerator-digits":l[1].length,"number:denominator-value":+l[2]});break e}if(l=e.match(/(\d+)(|\.\d+)%/)){t="percentage";a+=Ot("number:number",null,{"number:decimal-places":l[2]&&l.length-1||0,"number:min-decimal-places":l[2]&&l.length-1||0,"number:min-integer-digits":l[1].length})+"%";break e}var o=false;if(["y","m","d"].indexOf(e[0])>-1){t="date";r:for(;s";break;case"yyy":;case"yyyy":a+='';break;case"mmmmm":console.error("ODS has no equivalent of format |mmmmm|");case"m":;case"mm":;case"mmm":;case"mmmm":a+='';break;case"d":;case"dd":a+='';break;case"ddd":;case"dddd":a+='';break;}break;case'"':while(e[++s]!='"'||e[++s]=='"')i+=e[s];--s;a+=""+ot(i.slice(1).replace(/""/g,'"'))+"";break;case"\\":i=e[++s];a+=""+ot(i)+"";break;case"/":;case":":a+=""+ot(i)+"";break;default:console.error("unrecognized character "+i+" in ODF format "+e);}if(!o)break e;e=e.slice(s+1);s=0}if(e.match(/^\[?[hms]/)){if(t=="number")t="time";if(e.match(/\[/)){e=e.replace(/[\[\]]/g,"");n["number:truncate-on-overflow"]="false"}for(;s';break;case"m":;case"mm":a+='';break;case"s":;case"ss":if(e[s+1]==".")do{i+=e[s+1];++s}while(e[s+1]=="0");a+='";break;}break;case'"':while(e[++s]!='"'||e[++s]=='"')i+=e[s];--s;a+=""+ot(i.slice(1).replace(/""/g,'"'))+"";break;case"/":;case":":a+=""+ot(i)+"";break;case"a":if(e.slice(s,s+3).toLowerCase()=="a/p"){a+="";s+=2;break}if(e.slice(s,s+5).toLowerCase()=="am/pm"){a+="";s+=4;break};default:console.error("unrecognized character "+i+" in ODF format "+e);}break e}if(e.indexOf(/\$/)>-1){t="currency"}if(e[0]=="$"){a+='$';e=e.slice(1);s=0}s=0;if(e[s]=='"'){while(e[++s]!='"'||e[++s]=='"')i+=e[s];--s;if(e[s+1]=="*"){s++;a+=""+ot(i.replace(/""/g,'"'))+""}else{a+=""+ot(i.replace(/""/g,'"'))+""}e=e.slice(s+1);s=0}var f=e.match(/([#0][0#,]*)(\.[0#]*|)(E[+]?0*|)/i);if(!f||!f[0])console.error("Could not find numeric part of "+e);else{var u=f[1].replace(/,/g,"");a+="-1?' number:grouping="true"':"")+(f[2]&&' number:decimal-places="'+(f[2].length-1)+'"'||' number:decimal-places="0"')+(f[3]&&f[3].indexOf("+")>-1?' number:forced-exponent-sign="true"':"")+(f[3]?' number:min-exponent-digits="'+f[3].match(/0+/)[0].length+'"':"")+">"+"";s=f.index+f[0].length}if(e[s]=='"'){i="";while(e[++s]!='"'||e[++s]=='"')i+=e[s];--s;a+=""+ot(i.replace(/""/g,'"'))+""}}if(!a){console.error("Could not generate ODS number format for |"+e+"|");return""}return Ot("number:"+t+"-style",a,n)}function Ao(e,r,t){var a=[];for(var n=0;n\n"+a.map(function(e){var r=(t==-1?"$":"")+Ws(e.Ref);return" "+Ot("table:named-range",null,{"table:name":e.Name,"table:cell-range-address":r,"table:base-cell-address":r.replace(/[\.]?[^\.]*$/,".$A$1")})}).join("\n")+"\n \n"}var To=function(){var e=function(e){return ot(e).replace(/ +/g,function(e){return''}).replace(/\t/g,"").replace(/\n/g,"").replace(/^ /,"").replace(/ $/,"")};var r=" \n";var t=function(t,a,n,i,s,l){var o=[];o.push(' \n');var c=0,f=0,u=Wa(t["!ref"]||"A1");var h=t["!merges"]||[],d=0;var p=t["!data"]!=null;if(t["!cols"]){for(f=0;f<=u.e.c;++f)o.push(" \n")}var m="",v=t["!rows"]||[];for(c=0;c\n")}for(;c<=u.e.r;++c){m=v[c]?' table:style-name="ro'+v[c].ods+'"':"";o.push(" \n");for(f=0;ff)continue;if(h[d].s.r>c)continue;if(h[d].e.c\n");continue}var k=$a({r:c,c:f}),y=p?(t["!data"][c]||[])[f]:t[k];if(y&&y.f){b["table:formula"]=ot(zs(y.f));if(y.F){if(y.F.slice(0,k.length)==k){var x=Wa(y.F);b["table:number-matrix-columns-spanned"]=x.e.c-x.s.c+1;b["table:number-matrix-rows-spanned"]=x.e.r-x.s.r+1}}}if(!y){o.push(r);continue}switch(y.t){case"b":w=y.v?"TRUE":"FALSE";b["office:value-type"]="boolean";b["office:boolean-value"]=y.v?"true":"false";break;case"n":w=y.w||String(y.v||0);b["office:value-type"]="float";b["office:value"]=y.v||0;break;case"s":;case"str":w=y.v==null?"":y.v;b["office:value-type"]="string";break;case"d":w=y.w||wr(y.v,l).toISOString();b["office:value-type"]="date";b["office:date-value"]=wr(y.v,l).toISOString();b["table:style-name"]="ce1";break;default:o.push(r);continue;}var S=e(w);if(y.l&&y.l.Target){var C=y.l.Target;C=C.charAt(0)=="#"?"#"+Ws(C.slice(1)):C;if(C.charAt(0)!="#"&&!C.match(/^\w+:/))C="../"+C;S=Ot("text:a",S,{"xlink:href":C.replace(/&/g,"&")})}if(s[y.z])b["table:style-name"]="ce"+s[y.z].slice(1);var _=Ot("text:p",S,{});if(y.c){var A="",T="",E={};for(var F=0;F"+e(y.c[F].t)+""}if(!y.c.hidden)E["office:display"]=true;_=Ot("office:annotation",T,E)+_}o.push(" "+Ot("table:table-cell",_,b)+"\n")}o.push(" \n")}if((a.Workbook||{}).Names)o.push(Ao(a.Workbook.Names,a.SheetNames,n));o.push(" \n");return o.join("")};var a=function(e,r){e.push(" \n");var t=0;r.SheetNames.map(function(e){return r.Sheets[e]}).forEach(function(r){if(!r)return;if(r["!cols"]){for(var a=0;a\n');e.push(' \n');e.push(" \n");++t}}});var a=0;r.SheetNames.map(function(e){return r.Sheets[e]}).forEach(function(r){if(!r)return;if(r["!rows"]){for(var t=0;t\n');e.push(' \n');e.push(" \n");++a}}});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");var n={};var i=69;r.SheetNames.map(function(e){return r.Sheets[e]}).forEach(function(r){if(!r)return;var t=r["!data"]!=null;if(!r["!ref"])return;var a=Wa(r["!ref"]);for(var s=0;s<=a.e.r;++s)for(var l=0;l<=a.e.c;++l){var o=t?(r["!data"][s]||[])[l]:r[$a({r:s,c:l})];if(!o||!o.z||o.z.toLowerCase()=="general")continue;if(!n[o.z]){var c=_o(o.z,"N"+i);if(c){n[o.z]="N"+i;++i;e.push(c+"\n")}}}});e.push(' \n');ir(n).forEach(function(r){e.push('\n')});e.push(" \n");return n};return function n(e,r){var n=[Yr];var i=Dt({"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=Dt({"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");n.push(Un().replace(//,"").replace(/<\/office:document-meta>/,"")+"\n")}else n.push("\n");var l=a(n,e);n.push(" \n");n.push(" \n");if(((e.Workbook||{}).WBProps||{}).date1904)n.push(' \n \n \n');for(var o=0;o!=e.SheetNames.length;++o)n.push(t(e.Sheets[e.SheetNames[o]],e,o,r,l,((e.Workbook||{}).WBProps||{}).date1904));if((e.Workbook||{}).Names)n.push(Ao(e.Workbook.Names,e.SheetNames,-1));n.push(" \n");n.push(" \n");if(r.bookType=="fods")n.push("");else n.push("");return n.join("")}}();function Eo(e,r){if(r.bookType=="fods")return To(e,r);var t=Vr();var a="";var n=[];var i=[];a="mimetype";Hr(t,a,"application/vnd.oasis.opendocument.spreadsheet");a="content.xml";Hr(t,a,To(e,r));n.push([a,"text/xml"]);i.push([a,"ContentFile"]);a="styles.xml";Hr(t,a,Co(e,r));n.push([a,"text/xml"]);i.push([a,"StylesFile"]);a="meta.xml";Hr(t,a,Yr+Un());n.push([a,"text/xml"]);i.push([a,"MetadataFile"]);a="manifest.rdf";Hr(t,a,Bn(i));n.push([a,"application/rdf+xml"]);a="META-INF/manifest.xml";Hr(t,a,Pn(n));return t}function Fo(e){return function r(t){for(var a=0;a!=e.length;++a){var n=e[a];if(t[n[0]]===undefined)t[n[0]]=n[1];if(n[2]==="n")t[n[0]]=Number(t[n[0]])}}}function Do(e){Fo([["cellNF",false],["cellHTML",true],["cellFormula",true],["cellStyles",false],["cellText",true],["cellDates",false],["sheetStubs",false],["sheetRows",0,"n"],["bookDeps",false],["bookSheets",false],["bookProps",false],["bookFiles",false],["bookVBA",false],["password",""],["WTF",false]])(e)}function Oo(e){Fo([["cellDates",false],["bookSST",false],["bookType","xlsx"],["compression",false],["WTF",false]])(e)}function Mo(e){if(En.WS.indexOf(e)>-1)return"sheet";if(En.CS&&e==En.CS)return"chart";if(En.DS&&e==En.DS)return"dialog";if(En.MS&&e==En.MS)return"macro";return e&&e.length?e:"sheet"}function No(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,Mo(e["!id"][r.id].Type)]})}catch(t){return null}return!e||e.length===0?null:e}function Io(e,r,t,a,n,i,s,l){if(!e||!e["!legdrawel"])return;var o=Gr(e["!legdrawel"].Target,a);var c=$r(t,o,true);if(c)ds(kt(c),e,l||[])}function Po(e,r,t,a,n,i,s,l,o,c,f,u){try{i[a]=Dn($r(e,t,true),r);var h=zr(e,r);var d;switch(l){case"sheet":d=Zl(h,r,n,o,i[a],c,f,u);break;case"chart":d=Kl(h,r,n,o,i[a],c,f,u);if(!d||!d["!drawel"])break;var p=Gr(d["!drawel"].Target,r);var m=Fn(p);var v=us($r(e,p,true),Dn($r(e,m,true),p));var g=Gr(v,p);var b=Fn(g);d=Ml($r(e,g,true),g,o,Dn($r(e,b,true),g),c,d);break;case"macro":d=ql(h,r,n,o,i[a],c,f,u);break;case"dialog":d=Ql(h,r,n,o,i[a],c,f,u);break;default:throw new Error("Unrecognized sheet type "+l);}s[a]=d;var w=[],k=[];if(i&&i[a])ir(i[a]).forEach(function(t){var n="";if(i[a][t].Type==En.CMNT){n=Gr(i[a][t].Target,r);w=to(zr(e,n,true),n,o);if(!w||!w.length)return;vs(d,w,false)}if(i[a][t].Type==En.TCMNT){n=Gr(i[a][t].Target,r);k=k.concat(ws(zr(e,n,true),o))}});if(k&&k.length)vs(d,k,true,o.people||[]);Io(d,l,e,r,n,o,c,w)}catch(y){if(o.WTF)throw y}}function Ro(e){return e.charAt(0)=="/"?e.slice(1):e}function Lo(e,r){He();r=r||{};Do(r);if(Br(e,"META-INF/manifest.xml"))return xo(e,r);if(Br(e,"objectdata.xml"))return xo(e,r);if(Br(e,"Index/Document.iwa")){if(typeof Uint8Array=="undefined")throw new Error("NUMBERS file parsing requires Uint8Array support");if(typeof parse_numbers_iwa!="undefined"){if(e.FileIndex)return parse_numbers_iwa(e,r);var t=Qe.utils.cfb_new();jr(e).forEach(function(r){Hr(t,r,Wr(e,r))});return parse_numbers_iwa(t,r)}throw new Error("Unsupported NUMBERS file")}if(!Br(e,"[Content_Types].xml")){if(Br(e,"index.xml.gz"))throw new Error("Unsupported NUMBERS 08 file");if(Br(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");var a=Qe.find(e,"Index.zip");if(a){r=yr(r);delete r.type;if(typeof a.content=="string")r.type="binary";if(typeof Bun!=="undefined"&&Buffer.isBuffer(a.content))return Jo(new Uint8Array(a.content),r);return Jo(a.content,r)}throw new Error("Unsupported ZIP file")}var n=jr(e);var i=An($r(e,"[Content_Types].xml"));var s=false;var l,o;if(i.workbooks.length===0){o="xl/workbook.xml";if(zr(e,o,true))i.workbooks.push(o)}if(i.workbooks.length===0){o="xl/workbook.bin";if(!zr(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;var c={};var f={};if(!r.bookSheets&&!r.bookProps){js=[];if(i.sst)try{js=ro(zr(e,Ro(i.sst)),i.sst,r)}catch(u){if(r.WTF)throw u}if(r.cellStyles&&i.themes.length)c=is($r(e,i.themes[0].replace(/^\//,""),true)||"",r);if(i.style)f=eo(zr(e,Ro(i.style)),i.style,c,r)}i.links.map(function(t){try{var a=Dn($r(e,Fn(Ro(t))),t);return no(zr(e,Ro(t)),a,t,r)}catch(n){}});var h=Jl(zr(e,Ro(i.workbooks[0])),i.workbooks[0],r);var d={},p="";if(i.coreprops.length){p=zr(e,Ro(i.coreprops[0]),true);if(p)d=Wn(p);if(i.extprops.length!==0){p=zr(e,Ro(i.extprops[0]),true);if(p)Yn(p,d,r)}}var m={};if(!r.bookSheets||r.bookProps){if(i.custprops.length!==0){p=$r(e,Ro(i.custprops[0]),true);if(p)m=Kn(p,r)}}var v={};if(r.bookSheets||r.bookProps){if(h.Sheets)l=h.Sheets.map(function M(e){return e.name});else if(d.Worksheets&&d.SheetNames.length>0)l=d.SheetNames;if(r.bookProps){v.Props=d;v.Custprops=m}if(r.bookSheets&&typeof l!=="undefined")v.SheetNames=l;if(r.bookSheets?v.SheetNames:r.bookProps)return v}l={};var g={};if(r.bookDeps&&i.calcchain)g=ao(zr(e,Ro(i.calcchain)),i.calcchain,r);var b=0;var w={};var k,y;{var x=h.Sheets;d.Worksheets=x.length;d.SheetNames=[];for(var S=0;S!=x.length;++S){d.SheetNames[S]=x[S].name}}var C=s?"bin":"xml";var _=i.workbooks[0].lastIndexOf("/");var A=(i.workbooks[0].slice(0,_+1)+"_rels/"+i.workbooks[0].slice(_+1)+".rels").replace(/^\//,"");if(!Br(e,A))A="xl/_rels/workbook."+C+".rels";var T=Dn($r(e,A,true),A.replace(/_rels.*/,"s5s"));if((i.metadata||[]).length>=1){r.xlmeta=io(zr(e,Ro(i.metadata[0])),i.metadata[0],r)}if((i.people||[]).length>=1){r.people=ys(zr(e,Ro(i.people[0])),r)}if(T)T=No(T,h.Sheets);var E=zr(e,"xl/worksheets/sheet.xml",true)?1:0;e:for(b=0;b!=d.Worksheets;++b){var F="sheet";if(T&&T[b]){k="xl/"+T[b][1].replace(/[\/]?xl\//,"");if(!Br(e,k))k=T[b][1];if(!Br(e,k))k=A.replace(/_rels\/.*$/,"")+T[b][1];F=T[b][2]}else{k="xl/worksheets/sheet"+(b+1-E)+"."+C;k=k.replace(/sheet0\./,"sheet.")}y=k.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels");if(r&&r.sheets!=null)switch(typeof r.sheets){case"number":if(b!=r.sheets)continue e;break;case"string":if(d.SheetNames[b].toLowerCase()!=r.sheets.toLowerCase())continue e;break;default:if(Array.isArray&&Array.isArray(r.sheets)){var D=false;for(var O=0;O!=r.sheets.length;++O){if(typeof r.sheets[O]=="number"&&r.sheets[O]==b)D=1;if(typeof r.sheets[O]=="string"&&r.sheets[O].toLowerCase()==d.SheetNames[b].toLowerCase())D=1}if(!D)continue e};}Po(e,k,y,d.SheetNames[b],b,w,l,F,r,h,c,f)}v={Directory:i,Workbook:h,Props:d,Custprops:m,Deps:g,Sheets:l,SheetNames:d.SheetNames,Strings:js,Styles:f,Themes:c,SSF:yr(q)};if(r&&r.bookFiles){if(e.files){v.keys=n;v.files=e.files}else{v.keys=[];v.files={};e.FullPaths.forEach(function(r,t){r=r.replace(/^Root Entry[\/]/,"");v.keys.push(r);v.files[r]=e.FileIndex[t]})}}if(r&&r.bookVBA){if(i.vba.length>0)v.vbaraw=zr(e,Ro(i.vba[0]),true);else if(i.defaults&&i.defaults.bin===Ss)v.vbaraw=zr(e,"xl/vbaProject.bin",true)}v.bookType=s?"xlsb":"xlsx";return v}function Bo(e,r){var t=r||{};var a="Workbook",n=Qe.find(e,a);try{a="/!DataSpaces/Version";n=Qe.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);parse_DataSpaceVersionInfo(n.content);a="/!DataSpaces/DataSpaceMap";n=Qe.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var i=parse_DataSpaceMap(n.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 "+a);a="/!DataSpaces/DataSpaceInfo/StrongEncryptionDataSpace";n=Qe.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var s=parse_DataSpaceDefinition(n.content);if(s.length!=1||s[0]!="StrongEncryptionTransform")throw new Error("ECMA-376 Encrypted file bad "+a);a="/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary";n=Qe.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);parse_Primary(n.content)}catch(l){}a="/EncryptionInfo";n=Qe.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var o=parse_EncryptionInfo(n.content);a="/EncryptedPackage";n=Qe.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);if(o[0]==4&&typeof decrypt_agile!=="undefined")return decrypt_agile(o[1],n.content,t.password||"",t);if(o[0]==2&&typeof decrypt_std76!=="undefined")return decrypt_std76(o[1],n.content,t.password||"",t);throw new Error("File is password-protected")}function Uo(e,r){if(e&&!e.SSF){e.SSF=yr(q)}if(e&&e.SSF){He();je(e.SSF);r.revssf=or(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;if(Vs)r.revStrings=new Map;else{r.revStrings={};r.revStrings.foo=[];delete r.revStrings.foo}var t="bin";var a=true;var n=_n();Oo(r=r||{});var i=Vr();var s="",l=0;r.cellXfs=[];Js(r.cellXfs,{},{revssf:{General:0}});if(!e.Props)e.Props={};s="docProps/core.xml";Hr(i,s,Hn(e.Props,r));n.coreprops.push(s);Mn(r.rels,2,s,En.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{var o=[];for(var c=0;c0){s="docProps/custom.xml";Hr(i,s,qn(e.Custprops,r));n.custprops.push(s);Mn(r.rels,4,s,En.CUST_PROPS)}var f=["SheetJ5"];r.tcid=0;for(l=1;l<=e.SheetNames.length;++l){var u={"!id":{}};var h=e.Sheets[e.SheetNames[l-1]];var d=(h||{})["!type"]||"sheet";switch(d){case"chart":;default:s="xl/worksheets/sheet"+l+"."+t;Hr(i,s,write_ws_bin(l-1,r,e,u));n.sheets.push(s);Mn(r.wbrels,-1,"worksheets/sheet"+l+"."+t,En.WS[0]);}if(h){var p=h["!comments"];var m=false;var v="";if(p&&p.length>0){var g=false;p.forEach(function(e){e[1].forEach(function(e){if(e.T==true)g=true})});if(g){v="xl/threadedComments/threadedComment"+l+".xml";Hr(i,v,ks(p,f,r));n.threadedcomments.push(v);Mn(u,-1,"../threadedComments/threadedComment"+l+".xml",En.TCMNT)}v="xl/comments"+l+"."+t;Hr(i,v,write_comments_bin(p,r));n.comments.push(v);Mn(u,-1,"../comments"+l+"."+t,En.CMNT);m=true}if(h["!legacy"]){if(m)Hr(i,"xl/drawings/vmlDrawing"+l+".vml",ps(l,h["!comments"]))}delete h["!comments"];delete h["!legacy"]}if(u["!id"].rId1)Hr(i,Fn(s),On(u))}if(r.Strings!=null&&r.Strings.length>0){s="xl/sharedStrings."+t;Hr(i,s,write_sst_bin(r.Strings,r));n.strs.push(s);Mn(r.wbrels,-1,"sharedStrings."+t,En.SST)}s="xl/workbook."+t;Hr(i,s,write_wb_bin(e,r));n.workbooks.push(s);Mn(r.rels,1,s,En.WB);s="xl/theme/theme1.xml";var b=ss(e.Themes,r);Hr(i,s,b);n.themes.push(s);Mn(r.wbrels,-1,"theme/theme1.xml",En.THEME);s="xl/styles."+t;Hr(i,s,write_sty_bin(e,r));n.styles.push(s);Mn(r.wbrels,-1,"styles."+t,En.STY);if(e.vbaraw&&a){s="xl/vbaProject.bin";Hr(i,s,e.vbaraw);n.vba.push(s);Mn(r.wbrels,-1,"vbaProject.bin",En.VBA)}s="xl/metadata."+t;Hr(i,s,write_xlmeta_bin());n.metadata.push(s);Mn(r.wbrels,-1,"metadata."+t,En.XLMETA);if(f.length>1){s="xl/persons/person.xml";Hr(i,s,xs(f,r));n.people.push(s);Mn(r.wbrels,-1,"persons/person.xml",En.PEOPLE)}Hr(i,"[Content_Types].xml",Tn(n,r));Hr(i,"_rels/.rels",On(r.rels));Hr(i,"xl/_rels/workbook."+t+".rels",On(r.wbrels));delete r.revssf;delete r.ssf;return i}function zo(e,r){if(e&&!e.SSF){e.SSF=yr(q)}if(e&&e.SSF){He();je(e.SSF);r.revssf=or(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;if(Vs)r.revStrings=new Map;else{r.revStrings={};r.revStrings.foo=[];delete r.revStrings.foo; -}var t="xml";var a=As.indexOf(r.bookType)>-1;var n=_n();Oo(r=r||{});var i=Vr();var s="",l=0;r.cellXfs=[];Js(r.cellXfs,{},{revssf:{General:0}});if(!e.Props)e.Props={};s="docProps/core.xml";Hr(i,s,Hn(e.Props,r));n.coreprops.push(s);Mn(r.rels,2,s,En.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{var o=[];for(var c=0;c0){s="docProps/custom.xml";Hr(i,s,qn(e.Custprops,r));n.custprops.push(s);Mn(r.rels,4,s,En.CUST_PROPS)}var f=["SheetJ5"];r.tcid=0;for(l=1;l<=e.SheetNames.length;++l){var u={"!id":{}};var h=e.Sheets[e.SheetNames[l-1]];var d=(h||{})["!type"]||"sheet";switch(d){case"chart":;default:s="xl/worksheets/sheet"+l+"."+t;Hr(i,s,Dl(l-1,r,e,u));n.sheets.push(s);Mn(r.wbrels,-1,"worksheets/sheet"+l+"."+t,En.WS[0]);}if(h){var p=h["!comments"];var m=false;var v="";if(p&&p.length>0){var g=false;p.forEach(function(e){e[1].forEach(function(e){if(e.T==true)g=true})});if(g){v="xl/threadedComments/threadedComment"+l+".xml";Hr(i,v,ks(p,f,r));n.threadedcomments.push(v);Mn(u,-1,"../threadedComments/threadedComment"+l+".xml",En.TCMNT)}v="xl/comments"+l+"."+t;Hr(i,v,bs(p,r));n.comments.push(v);Mn(u,-1,"../comments"+l+"."+t,En.CMNT);m=true}if(h["!legacy"]){if(m)Hr(i,"xl/drawings/vmlDrawing"+l+".vml",ps(l,h["!comments"]))}delete h["!comments"];delete h["!legacy"]}if(u["!id"].rId1)Hr(i,Fn(s),On(u))}if(r.Strings!=null&&r.Strings.length>0){s="xl/sharedStrings."+t;Hr(i,s,bi(r.Strings,r));n.strs.push(s);Mn(r.wbrels,-1,"sharedStrings."+t,En.SST)}s="xl/workbook."+t;Hr(i,s,Yl(e,r));n.workbooks.push(s);Mn(r.rels,1,s,En.WB);s="xl/theme/theme1.xml";Hr(i,s,ss(e.Themes,r));n.themes.push(s);Mn(r.wbrels,-1,"theme/theme1.xml",En.THEME);s="xl/styles."+t;Hr(i,s,Ji(e,r));n.styles.push(s);Mn(r.wbrels,-1,"styles."+t,En.STY);if(e.vbaraw&&a){s="xl/vbaProject.bin";Hr(i,s,e.vbaraw);n.vba.push(s);Mn(r.wbrels,-1,"vbaProject.bin",En.VBA)}s="xl/metadata."+t;Hr(i,s,os());n.metadata.push(s);Mn(r.wbrels,-1,"metadata."+t,En.XLMETA);if(f.length>1){s="xl/persons/person.xml";Hr(i,s,xs(f,r));n.people.push(s);Mn(r.wbrels,-1,"persons/person.xml",En.PEOPLE)}Hr(i,"[Content_Types].xml",Tn(n,r));Hr(i,"_rels/.rels",On(r.rels));Hr(i,"xl/_rels/workbook."+t+".rels",On(r.wbrels));delete r.revssf;delete r.ssf;return i}function $o(e,r){var t="";switch((r||{}).type||"base64"){case"buffer":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":t=C(e.slice(0,12));break;case"binary":t=e;break;case"array":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];default:throw new Error("Unrecognized type "+(r&&r.type||"undefined"));}return[t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3),t.charCodeAt(4),t.charCodeAt(5),t.charCodeAt(6),t.charCodeAt(7)]}function Wo(e,r){if(Qe.find(e,"EncryptedPackage"))return Bo(e,r);return parse_xlscfb(e,r)}function jo(e,r){var t,a=e;var n=r||{};if(!n.type)n.type=_&&Buffer.isBuffer(e)?"buffer":"base64";t=Xr(a,n);return Lo(t,n)}function Ho(e,r){var t=0;e:while(t=2&&i[3]===0)return WK_.to_workbook(n,t);if(i[2]===0&&(i[3]===8||i[3]===9))return WK_.to_workbook(n,t)}break;case 3:;case 131:;case 139:;case 140:return ei.to_workbook(n,t);case 123:if(i[1]===92&&i[2]===114&&i[3]===116)return rtf_to_workbook(n,t);break;case 10:;case 13:;case 32:return Vo(n,t);case 137:if(i[1]===80&&i[2]===78&&i[3]===71)throw new Error("PNG Image File is not a spreadsheet");break;case 8:if(i[1]===231)throw new Error("Unsupported Multiplan 1.x file!");break;case 12:if(i[1]===236)throw new Error("Unsupported Multiplan 2.x file!");if(i[1]===237)throw new Error("Unsupported Multiplan 3.x file!");break;}if(Qn.indexOf(i[0])>-1&&i[2]<=12&&i[3]<=31)return ei.to_workbook(n,t);return Yo(e,n,t,s)}function Zo(e,r){var t=r||{};t.type="file";return Jo(e,t)}function Ko(e,r){switch(r.type){case"base64":;case"binary":break;case"buffer":;case"array":r.type="";break;case"file":return ar(r.file,Qe.write(e,{type:_?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+r.bookType+"' files");default:throw new Error("Unrecognized type "+r.type);}return Qe.write(e,r)}function qo(e,r){switch(r.bookType){case"ods":return Eo(e,r);case"numbers":return write_numbers_iwa(e,r);case"xlsb":return Uo(e,r);default:return zo(e,r);}}function Qo(e,r){var t=yr(r||{});var a=qo(e,t);return rc(a,t)}function ec(e,r){var t=yr(r||{});var a=zo(e,t);return rc(a,t)}function rc(e,r){var t={};var a=_?"nodebuffer":typeof Uint8Array!=="undefined"?"array":"string";if(r.compression)t.compression="DEFLATE";if(r.password)t.type=a;else switch(r.type){case"base64":t.type="base64";break;case"binary":t.type="string";break;case"string":throw new Error("'string' output type invalid for '"+r.bookType+"' files");case"buffer":;case"file":t.type=a;break;default:throw new Error("Unrecognized type "+r.type);}var n=e.FullPaths?Qe.write(e,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[t.type]||t.type,compression:!!r.compression}):e.generate(t);if(typeof Deno!=="undefined"){if(typeof n=="string"){if(r.type=="binary"||r.type=="base64")return n;n=new Uint8Array(O(n))}}if(r.password&&typeof encrypt_agile!=="undefined")return Ko(encrypt_agile(n,r.password),r);if(r.type==="file")return ar(r.file,n);return r.type=="string"?kt(n):n}function tc(e,r){var t=r||{};var a=write_xlscfb(e,t);return Ko(a,t)}function ac(e,r,t){if(!t)t="";var a=t+e;switch(r.type){case"base64":return y(yt(a));case"binary":return yt(a);case"string":return e;case"file":return ar(r.file,a,"utf8");case"buffer":{if(_)return A(a,"utf8");else if(typeof TextEncoder!=="undefined")return(new TextEncoder).encode(a);else return ac(a,{type:"binary"}).split("").map(function(e){return e.charCodeAt(0)})};}throw new Error("Unrecognized type "+r.type)}function nc(e,r){switch(r.type){case"base64":return x(e);case"binary":return e;case"string":return e;case"file":return ar(r.file,e,"binary");case"buffer":{if(_)return A(e,"binary");else return e.split("").map(function(e){return e.charCodeAt(0)})};}throw new Error("Unrecognized type "+r.type)}function ic(e,r){switch(r.type){case"string":;case"base64":;case"binary":var t="";for(var a=0;a0)n=0;var u=Ma(o.s.r);var h=[];var d=[];var p=0,m=0;var v=e["!data"]!=null;var g=o.s.r,b=0;var w={};if(v&&!e["!data"][g])e["!data"][g]=[];var k=c.skipHidden&&e["!cols"]||[];var y=c.skipHidden&&e["!rows"]||[];for(b=o.s.c;b<=o.e.c;++b){if((k[b]||{}).hidden)continue;h[b]=Ra(b);t=v?e["!data"][g][b]:e[h[b]+u];switch(a){case 1:i[b]=b-o.s.c;break;case 2:i[b]=h[b];break;case 3:i[b]=c.header[b-o.s.c];break;default:if(t==null)t={w:"__EMPTY",t:"s"};l=s=Ya(t,null,c);m=w[s]||0;if(!m)w[s]=1;else{do{l=s+"_"+m++}while(w[l]);w[s]=m;w[l]=1}i[b]=l;}}for(g=o.s.r+n;g<=o.e.r;++g){if((y[g]||{}).hidden)continue;var x=hc(e,o,g,h,a,i,c);if(x.isempty===false||(a===1?c.blankrows!==false:!!c.blankrows))d[p++]=x.row}d.length=p;return d}var pc=/"/g;function mc(e,r,t,a,n,i,s,l){var o=true;var c=[],f="",u=Ma(t);var h=e["!data"]!=null;var d=h&&e["!data"][t]||[];for(var p=r.s.c;p<=r.e.c;++p){if(!a[p])continue;var m=h?d[p]:e[a[p]+u];if(m==null)f="";else if(m.v!=null){o=false;f=""+(l.rawNumbers&&m.t=="n"?m.v:Ya(m,null,l));for(var v=0,g=0;v!==f.length;++v)if((g=f.charCodeAt(v))===n||g===i||g===34||l.forceQuotes){f='"'+f.replace(pc,'""')+'"';break}if(f=="ID")f='"ID"'}else if(m.f!=null&&!m.F){o=false;f="="+m.f;if(f.indexOf(",")>=0)f='"'+f.replace(pc,'""')+'"'}else f="";c.push(f)}if(l.blankrows===false&&o)return null;return c.join(s)}function vc(e,r){var t=[];var a=r==null?{}:r;if(e==null||e["!ref"]==null)return"";var n=Xa(e["!ref"]);var i=a.FS!==undefined?a.FS:",",s=i.charCodeAt(0);var l=a.RS!==undefined?a.RS:"\n",o=l.charCodeAt(0);var c=new RegExp((i=="|"?"\\|":i)+"+$");var f="",u=[];var h=a.skipHidden&&e["!cols"]||[];var d=a.skipHidden&&e["!rows"]||[];for(var p=n.s.c;p<=n.e.c;++p)if(!(h[p]||{}).hidden)u[p]=Ra(p);var m=0;for(var v=n.s.r;v<=n.e.r;++v){if((d[v]||{}).hidden)continue;f=mc(e,n,v,u,s,o,i,a);if(f==null){continue}if(a.strip)f=f.replace(c,"");if(f||a.blankrows!==false)t.push((m++?l:"")+f)}return t.join("")}function gc(e,r){if(!r)r={};r.FS="\t";r.RS="\n";var t=vc(e,r);if(typeof a=="undefined"||r.type=="string")return t;var n=a.utils.encode(1200,t,"str");return String.fromCharCode(255)+String.fromCharCode(254)+n}function bc(e){var r="",t,a="";if(e==null||e["!ref"]==null)return[];var n=Xa(e["!ref"]),i="",s=[],l;var o=[];var c=e["!data"]!=null;for(l=n.s.c;l<=n.e.c;++l)s[l]=Ra(l);for(var f=n.s.r;f<=n.e.r;++f){i=Ma(f);for(l=n.s.c;l<=n.e.c;++l){r=s[l]+i;t=c?(e["!data"][f]||[])[l]: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 wc(e,r,t){var a=t||{};var n=e?e["!data"]!=null:a.dense;if(b!=null&&n==null)n=b;var i=+!a.skipHeader;var s=e||{};if(!e&&n)s["!data"]=[];var l=0,o=0;if(s&&a.origin!=null){if(typeof a.origin=="number")l=a.origin;else{var c=typeof a.origin=="string"?za(a.origin):a.origin;l=c.r;o=c.c}}var f={s:{c:0,r:0},e:{c:o,r:l+r.length-1+i}};if(s["!ref"]){var u=Xa(s["!ref"]);f.e.c=Math.max(f.e.c,u.e.c);f.e.r=Math.max(f.e.r,u.e.r);if(l==-1){l=u.e.r+1;f.e.r=l+r.length-1+i}}else{if(l==-1){l=0;f.e.r=r.length-1+i}}var h=a.header||[],d=0;var p=[];r.forEach(function(e,r){if(n&&!s["!data"][l+r+i])s["!data"][l+r+i]=[];if(n)p=s["!data"][l+r+i];ir(e).forEach(function(t){if((d=h.indexOf(t))==-1)h[d=h.length]=t;var c=e[t];var f="z";var u="";var m=n?"":Ra(o+d)+Ma(l+r+i);var v=n?p[o+d]:s[m];if(c&&typeof c==="object"&&!(c instanceof Date)){if(n)p[o+d]=c;else s[m]=c}else{if(typeof c=="number")f="n";else if(typeof c=="boolean")f="b";else if(typeof c=="string")f="s";else if(c instanceof Date){f="d";if(!a.UTC)c=Ir(c);if(!a.cellDates){f="n";c=dr(c)}u=v!=null&&v.z&&Re(v.z)?v.z:a.dateNF||q[14]}else if(c===null&&a.nullError){f="e";c=0}if(!v){if(!n)s[m]=v={t:f,v:c};else p[o+d]=v={t:f,v:c}}else{v.t=f;v.v=c;delete v.w;delete v.R;if(u)v.z=u}if(u)v.z=u}})});f.e.c=Math.max(f.e.c,o+h.length-1);var m=Ma(l);if(n&&!s["!data"][l])s["!data"][l]=[];if(i)for(d=0;d=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+"|")}function Sc(e,r){var t={SheetNames:[],Sheets:{}};if(e)Cc(t,e,r||"Sheet1");return t}function Cc(e,r,t,a){var n=1;if(!t)for(;n<=65535;++n,t=undefined)if(e.SheetNames.indexOf(t="Sheet"+n)==-1)break;if(!t||e.SheetNames.length>=65535)throw new Error("Too many worksheets");if(a&&e.SheetNames.indexOf(t)>=0){var i=t.match(/(^.*?)(\d+)$/);n=i&&+i[2]||0;var s=i&&i[1]||t;for(++n;n<=65535;++n)if(e.SheetNames.indexOf(t=s+n)==-1)break}jl(t);if(e.SheetNames.indexOf(t)>=0)throw new Error("Worksheet with name |"+t+"| already exists!");e.SheetNames.push(t);e.Sheets[t]=r;return t}function _c(e,r,t){if(!e.Workbook)e.Workbook={};if(!e.Workbook.Sheets)e.Workbook.Sheets=[];var a=xc(e,r);if(!e.Workbook.Sheets[a])e.Workbook.Sheets[a]={};switch(t){case 0:;case 1:;case 2:break;default:throw new Error("Bad sheet visibility setting "+t);}e.Workbook.Sheets[a].Hidden=t}function Ac(e,r){e.z=r;return e}function Tc(e,r,t){if(!r){delete e.l}else{e.l={Target:r};if(t)e.l.Tooltip=t}return e}function Ec(e,r,t){return Tc(e,"#"+r,t)}function Fc(e,r,t){if(!e.c)e.c=[];e.c.push({t:r,a:t||"SheetJS"})}function Dc(e,r,t,a){var n=typeof r!="string"?r:Xa(r);var i=typeof r=="string"?r:ja(r);for(var s=n.s.r;s<=n.e.r;++s)for(var l=n.s.c;l<=n.e.c;++l){var o=yc(e,s,l);o.t="n";o.F=i;delete o.v;if(s==n.s.r&&l==n.s.c){o.f=t;if(a)o.D=true}}var c=Wa(e["!ref"]);if(c.s.r>n.s.r)c.s.r=n.s.r;if(c.s.c>n.s.c)c.s.c=n.s.c;if(c.e.r>1;++t)r[t]=String.fromCharCode(e.charCodeAt(2*t)+(e.charCodeAt(2*t+1)<<8));return r.join("")}function h(e){var r=[];for(var t=0;t>1;++t)r[t]=String.fromCharCode(e[2*t]+(e[2*t+1]<<8));return r.join("")}function d(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 p=function(e){var r=e.charCodeAt(0),t=e.charCodeAt(1);if(r==255&&t==254)return u(e.slice(2));if(r==254&&t==255)return d(e.slice(2));if(r==65279)return e.slice(1);return e};var m=function Fc(e){return String.fromCharCode(e)};var v=function Dc(e){return String.fromCharCode(e)};function g(e){a=e;o=function(e){r=e;s(e)};p=function(e){if(e.charCodeAt(0)===255&&e.charCodeAt(1)===254){return a.utils.decode(1200,f(e.slice(2)))}return e};m=function n(e){if(r===1200)return String.fromCharCode(e);return a.utils.decode(r,[e&255,e>>8])[0]};v=function i(e){return a.utils.decode(t,[e])[0]};ma()}var b=null;var w=true;var k="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function y(e){var r="";var t=0,a=0,n=0,i=0,s=0,l=0,o=0;for(var c=0;c>2;a=e.charCodeAt(c++);s=(t&3)<<4|a>>4;n=e.charCodeAt(c++);l=(a&15)<<2|n>>6;o=n&63;if(isNaN(a)){l=o=64}else if(isNaN(n)){o=64}r+=k.charAt(i)+k.charAt(s)+k.charAt(l)+k.charAt(o)}return r}function x(e){var r="";var t=0,a=0,n=0,i=0,s=0,l=0,o=0;for(var c=0;c255)t=95;i=t>>2;a=e.charCodeAt(c++);if(a>255)a=95;s=(t&3)<<4|a>>4;n=e.charCodeAt(c++);if(n>255)n=95;l=(a&15)<<2|n>>6;o=n&63;if(isNaN(a)){l=o=64}else if(isNaN(n)){o=64}r+=k.charAt(i)+k.charAt(s)+k.charAt(l)+k.charAt(o)}return r}function S(e){var r="";var t=0,a=0,n=0,i=0,s=0,l=0,o=0;for(var c=0;c>2;a=e[c++];s=(t&3)<<4|a>>4;n=e[c++];l=(a&15)<<2|n>>6;o=n&63;if(isNaN(a)){l=o=64}else if(isNaN(n)){o=64}r+=k.charAt(i)+k.charAt(s)+k.charAt(l)+k.charAt(o)}return r}function C(e){var r="";var t=0,a=0,n=0,i=0,s=0,l=0,o=0;if(e.slice(0,5)=="data:"){var c=e.slice(0,1024).indexOf(";base64,");if(c>-1)e=e.slice(c+8)}e=e.replace(/[^\w\+\/\=]/g,"");for(var c=0;c>4;r+=String.fromCharCode(t);l=k.indexOf(e.charAt(c++));a=(s&15)<<4|l>>2;if(l!==64){r+=String.fromCharCode(a)}o=k.indexOf(e.charAt(c++));n=(l&3)<<6|o;if(o!==64){r+=String.fromCharCode(n)}}return r}var _=function(){return typeof Buffer!=="undefined"&&typeof undefined!=="undefined"&&typeof{}!=="undefined"&&!!{}.node}();var A=function(){if(typeof Buffer!=="undefined"){var e=!Buffer.from;if(!e)try{Buffer.from("foo","utf8")}catch(r){e=true}return e?function(e,r){return r?new Buffer(e,r):new Buffer(e)}:Buffer.from.bind(Buffer)}return function(){}}();var T=function(){if(typeof Buffer==="undefined")return false;var e=A([65,0]);if(!e)return false;var r=e.toString("utf16le");return r.length==1}();function E(e){if(_)return Buffer.alloc?Buffer.alloc(e):new Buffer(e);return typeof Uint8Array!="undefined"?new Uint8Array(e):new Array(e)}function F(e){if(_)return Buffer.allocUnsafe?Buffer.allocUnsafe(e):new Buffer(e);return typeof Uint8Array!="undefined"?new Uint8Array(e):new Array(e)}var D=function Oc(e){if(_)return A(e,"binary");return e.split("").map(function(e){return e.charCodeAt(0)&255})};function O(e){if(typeof ArrayBuffer==="undefined")return D(e);var r=new ArrayBuffer(e.length),t=new Uint8Array(r);for(var a=0;a!=e.length;++a)t[a]=e.charCodeAt(a)&255;return r}function M(e){if(Array.isArray(e))return e.map(function(e){return String.fromCharCode(e)}).join("");var r=[];for(var t=0;t>6&31;n[t++]=128|s&63}else if(s>=55296&&s<57344){s=(s&1023)+64;var l=e.charCodeAt(++i)&1023;n[t++]=240|s>>8&7;n[t++]=128|s>>2&63;n[t++]=128|l>>6&15|(s&3)<<4;n[t++]=128|l&63}else{n[t++]=224|s>>12&15;n[t++]=128|s>>6&63;n[t++]=128|s&63}if(t>a){r.push(n.slice(0,t));t=0;n=E(65535);a=65530}}r.push(n.slice(0,t));return P(r)}var L=/\u0000/g,B=/[\u0001-\u0006]/g;function U(e){var r="",t=e.length-1;while(t>=0)r+=e.charAt(t--);return r}function z(e,r){var t=""+e;return t.length>=r?t:xr("0",r-t.length)+t}function W(e,r){var t=""+e;return t.length>=r?t:xr(" ",r-t.length)+t}function j(e,r){var t=""+e;return t.length>=r?t:t+xr(" ",r-t.length)}function H(e,r){var t=""+Math.round(e);return t.length>=r?t:xr("0",r-t.length)+t}function V(e,r){var t=""+e;return t.length>=r?t:xr("0",r-t.length)+t}var X=Math.pow(2,32);function G(e,r){if(e>X||e<-X)return H(e,r);var t=Math.round(e);return V(t,r)}function Y(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 J=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]];var Z=[["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 K(e){if(!e)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"秒 "';return e}var q={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"上午/下午 "hh"時"mm"分"ss"秒 "'};var Q={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0};var ee={5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',41:'_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function re(e,r,t){var a=e<0?-1:1;var n=e*a;var i=0,s=1,l=0;var o=1,c=0,f=0;var u=Math.floor(n);while(cr){if(c>r){f=o;l=i}else{f=c;l=s}}if(!t)return[0,a*l,f];var h=Math.floor(a*l/f);return[h,a*l-h*f,f]}function te(e){var r=e.toPrecision(16);if(r.indexOf("e")>-1){var t=r.slice(0,r.indexOf("e"));t=t.indexOf(".")>-1?t.slice(0,t.slice(0,2)=="0."?17:16):t.slice(0,15)+xr("0",t.length-15);return t+r.slice(r.indexOf("e"))}var a=r.indexOf(".")>-1?r.slice(0,r.slice(0,2)=="0."?17:16):r.slice(0,15)+xr("0",r.length-15);return Number(a)}function ae(e,r,t){if(e>2958465||e<0)return null;e=te(e);var a=e|0,n=Math.floor(86400*(e-a)),i=0;var s=[];var l={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(l.u)<1e-6)l.u=0;if(r&&r.date1904)a+=1462;if(l.u>.9999){l.u=0;if(++n==86400){l.T=n=0;++a;++l.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=fe(o,s)}l.y=s[0];l.m=s[1];l.d=s[2];l.S=n%60;n=Math.floor(n/60);l.M=n%60;n=Math.floor(n/60);l.H=n;l.q=i;return l}function ne(e){return e.indexOf(".")==-1?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function ie(e){if(e.indexOf("E")==-1)return e;return e.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}function se(e){var r=e<0?12:11;var t=ne(e.toFixed(12));if(t.length<=r)return t;t=e.toPrecision(10);if(t.length<=r)return t;return e.toExponential(5)}function le(e){var r=ne(e.toFixed(11));return r.length>(e<0?12:11)||r==="0"||r==="-0"?e.toPrecision(6):r}function oe(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=se(e);else if(r===10)t=e.toFixed(10).substr(0,12);else t=le(e);return ne(ie(t.toUpperCase()))}function ce(e,r){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(e|0)===e?e.toString(10):oe(e);case"undefined":return"";case"object":if(e==null)return"";if(e instanceof Date)return $e(14,dr(e,r&&r.date1904),r);}throw new Error("unsupported value in General format: "+e)}function fe(e,r){r[0]-=581;var t=e.getDay();if(e<60)t=(t+6)%7;return t}function ue(e,r,t,a){var n="",i=0,s=0,l=t.y,o,c=0;switch(e){case 98:l=t.y+543;case 121:switch(r.length){case 1:;case 2:o=l%100;c=2;break;default:o=l%1e4;c=4;break;}break;case 109:switch(r.length){case 1:;case 2:o=t.m;c=r.length;break;case 3:return Z[t.m-1][1];case 5:return Z[t.m-1][0];default:return Z[t.m-1][2];}break;case 100:switch(r.length){case 1:;case 2:o=t.d;c=r.length;break;case 3:return J[t.q][0];default:return J[t.q][1];}break;case 104:switch(r.length){case 1:;case 2:o=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:o=t.H;c=r.length;break;default:throw"bad hour format: "+r;}break;case 77:switch(r.length){case 1:;case 2:o=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 z(t.S,r.length);if(a>=2)s=a===3?1e3:100;else s=a===1?10:1;i=Math.round(s*(t.S+t.u));if(i>=60*s)i=0;if(r==="s")return i===0?"0":""+i/s;n=z(i,2+a);if(r==="ss")return n.substr(0,2);return"."+n.substr(2,r.length-1);case 90:switch(r){case"[h]":;case"[hh]":o=t.D*24+t.H;break;case"[m]":;case"[mm]":o=(t.D*24+t.H)*60+t.M;break;case"[s]":;case"[ss]":o=((t.D*24+t.H)*60+t.M)*60+(a==0?Math.round(t.S+t.u):t.S);break;default:throw"bad abstime format: "+r;}c=r.length===3?1:2;break;case 101:o=l;c=1;break;}var f=c>0?z(o,c):"";return f}function he(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 de=/%/g;function pe(e,r,t){var a=r.replace(de,""),n=r.length-a.length;return Ne(e,a,t*Math.pow(10,2*n))+xr("%",n)}function me(e,r,t){var a=r.length-1;while(r.charCodeAt(a-1)===44)--a;return Ne(e,r.substr(0,a),t/Math.pow(10,3*(r.length-a)))}function ve(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"-"+ve(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 ge=/# (\?+)( ?)\/( ?)(\d+)/;function be(e,r,t){var a=parseInt(e[4],10),n=Math.round(r*a),i=Math.floor(n/a);var s=n-i*a,l=a;return t+(i===0?"":""+i)+" "+(s===0?xr(" ",e[1].length+1+e[4].length):W(s,e[1].length)+e[2]+"/"+e[3]+z(l,e[4].length))}function we(e,r,t){return t+(r===0?"":""+r)+xr(" ",e[1].length+2+e[4].length)}var ke=/^#*0*\.([0#]+)/;var ye=/\)[^)]*[0#]/;var xe=/\(###\) ###\\?-####/;function Se(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 Ce(e,r){var t=Math.pow(10,r);return""+Math.round(e*t)/t}function _e(e,r){var t=e-Math.floor(e),a=Math.pow(10,r);if(r<(""+Math.round(t*a)).length)return 0;return Math.round(t*a)}function Ae(e,r){if(r<(""+Math.round((e-Math.floor(e))*Math.pow(10,r))).length){return 1}return 0}function Te(e){if(e<2147483647&&e>-2147483648)return""+(e>=0?e|0:e-1|0);return""+Math.floor(e)}function Ee(e,r,t){if(e.charCodeAt(0)===40&&!r.match(ye)){var a=r.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");if(t>=0)return Ee("n",a,t);return"("+Ee("n",a,-t)+")"}if(r.charCodeAt(r.length-1)===44)return me(e,r,t);if(r.indexOf("%")!==-1)return pe(e,r,t);if(r.indexOf("E")!==-1)return ve(r,t);if(r.charCodeAt(0)===36)return"$"+Ee(e,r.substr(r.charAt(1)==" "?2:1),t);var n;var i,s,l,o=Math.abs(t),c=t<0?"-":"";if(r.match(/^00+$/))return c+G(o,r.length);if(r.match(/^[#?]+$/)){n=G(t,0);if(n==="0")n="";return n.length>r.length?n:Se(r.substr(0,r.length-n.length))+n}if(i=r.match(ge))return be(i,o,c);if(r.match(/^#+0+$/))return c+G(o,r.length-r.indexOf("0"));if(i=r.match(ke)){n=Ce(t,i[1].length).replace(/^([^\.]+)$/,"$1."+Se(i[1])).replace(/\.$/,"."+Se(i[1])).replace(/\.(\d*)$/,function(e,r){return"."+r+xr("0",Se(i[1]).length-r.length)});return r.indexOf("0.")!==-1?n:n.replace(/^0\./,".")}r=r.replace(/^#+([0.])/,"$1");if(i=r.match(/^(0*)\.(#*)$/)){return c+Ce(o,i[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,i[1].length?"0.":".")}if(i=r.match(/^#{1,3},##0(\.?)$/))return c+he(G(o,0));if(i=r.match(/^#,##0\.([#0]*0)$/)){return t<0?"-"+Ee(e,r,-t):he(""+(Math.floor(t)+Ae(t,i[1].length)))+"."+z(_e(t,i[1].length),i[1].length)}if(i=r.match(/^#,#*,#0/))return Ee(e,r.replace(/^#,#*,/,""),t);if(i=r.match(/^([0#]+)(\\?-([0#]+))+$/)){n=U(Ee(e,r.replace(/[\\-]/g,""),t));s=0;return U(U(r.replace(/\\/g,"")).replace(/[0#]/g,function(e){return s=0)return Me("n",a,t);return"("+Me("n",a,-t)+")"}if(r.charCodeAt(r.length-1)===44)return Fe(e,r,t);if(r.indexOf("%")!==-1)return De(e,r,t);if(r.indexOf("E")!==-1)return Oe(r,t);if(r.charCodeAt(0)===36)return"$"+Me(e,r.substr(r.charAt(1)==" "?2:1),t);var n;var i,s,l,o=Math.abs(t),c=t<0?"-":"";if(r.match(/^00+$/))return c+z(o,r.length);if(r.match(/^[#?]+$/)){n=""+t;if(t===0)n="";return n.length>r.length?n:Se(r.substr(0,r.length-n.length))+n}if(i=r.match(ge))return we(i,o,c);if(r.match(/^#+0+$/))return c+z(o,r.length-r.indexOf("0"));if(i=r.match(ke)){n=(""+t).replace(/^([^\.]+)$/,"$1."+Se(i[1])).replace(/\.$/,"."+Se(i[1]));n=n.replace(/\.(\d*)$/,function(e,r){return"."+r+xr("0",Se(i[1]).length-r.length)});return r.indexOf("0.")!==-1?n:n.replace(/^0\./,".")}r=r.replace(/^#+([0.])/,"$1");if(i=r.match(/^(0*)\.(#*)$/)){return c+(""+o).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,i[1].length?"0.":".")}if(i=r.match(/^#{1,3},##0(\.?)$/))return c+he(""+o);if(i=r.match(/^#,##0\.([#0]*0)$/)){return t<0?"-"+Me(e,r,-t):he(""+t)+"."+xr("0",i[1].length)}if(i=r.match(/^#,#*,#0/))return Me(e,r.replace(/^#,#*,/,""),t);if(i=r.match(/^([0#]+)(\\?-([0#]+))+$/)){n=U(Me(e,r.replace(/[\\-]/g,""),t));s=0;return U(U(r.replace(/\\/g,"")).replace(/[0#]/g,function(e){return s-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}function Le(e,r,t,a){var n=[],i="",s=0,l="",o="t",c,f,u;var h="H";while(s=12?e.charAt(s+2):l;m.t="T";h="h";s+=3}else if(e.substr(s,5).toUpperCase()==="AM/PM"){if(c!=null)m.v=c.H>=12?"PM":"AM";m.t="T";s+=5;h="h"}else if(e.substr(s,5).toUpperCase()==="上午/下午"){if(c!=null)m.v=c.H>=12?"下午":"上午";m.t="T";s+=5;h="h"}else{m.t="t";++s}if(c==null&&m.t==="T")return"";n[n.length]=m;o=l;break;case"[":i=l;while(e.charAt(s++)!=="]"&&s-1){i=(i.match(/\$([^-\[\]]*)/)||[])[1]||"$";if(!Re(e))n[n.length]={t:"t",v:i}}break;case".":if(c!=null){i=l;while(++s-1)i+=l;n[n.length]={t:"n",v:i};break;case"?":i=l;while(e.charAt(++s)===l)i+=l;n[n.length]={t:l,v:i};o=l;break;case"*":++s;if(e.charAt(s)==" "||e.charAt(s)=="*")++s;break;case"(":;case")":n[n.length]={t:a===1?"t":l,v:l};++s;break;case"1":;case"2":;case"3":;case"4":;case"5":;case"6":;case"7":;case"8":;case"9":i=l;while(s-1)i+=e.charAt(s);n[n.length]={t:"D",v:i};break;case" ":n[n.length]={t:l,v:l};++s;break;case"$":n[n.length]={t:"t",v:"$"};++s;break;default:if(",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP".indexOf(l)===-1)throw new Error("unrecognized character "+l+" in "+e);n[n.length]={t:"t",v:l};++s;break;}}var v=0,g=0,b;for(s=n.length-1,o="t";s>=0;--s){switch(n[s].t){case"h":;case"H":n[s].t=h;o="h";if(v<1)v=1;break;case"s":if(b=n[s].v.match(/\.0+$/)){g=Math.max(g,b[0].length-1);v=4}if(v<3)v=3;case"d":;case"y":;case"e":o=n[s].t;break;case"M":o=n[s].t;if(v<2)v=2;break;case"m":if(o==="s"){n[s].t="M";if(v<2)v=2}break;case"X":break;case"Z":if(v<1&&n[s].v.match(/[Hh]/))v=1;if(v<2&&n[s].v.match(/[Mm]/))v=2;if(v<3&&n[s].v.match(/[Ss]/))v=3;}}var w;switch(v){case 0:break;case 1:;case 2:;case 3:if(c.u>=.5){c.u=0;++c.S}if(c.S>=60){c.S=0;++c.M}if(c.M>=60){c.M=0;++c.H}if(c.H>=24){c.H=0;++c.D;w=ae(c.D);w.u=c.u;w.S=c.S;w.M=c.M;w.H=c.H;c=w}break;case 4:switch(g){case 1:c.u=Math.round(c.u*10)/10;break;case 2:c.u=Math.round(c.u*100)/100;break;case 3:c.u=Math.round(c.u*1e3)/1e3;break;}if(c.u>=1){c.u=0;++c.S}if(c.S>=60){c.S=0;++c.M}if(c.M>=60){c.M=0;++c.H}if(c.H>=24){c.H=0;++c.D;w=ae(c.D);w.u=c.u;w.S=c.S;w.M=c.M;w.H=c.H;c=w}break;}var k="",y;for(s=0;s0){if(k.charCodeAt(0)==40){S=r<0&&k.charCodeAt(0)===45?-r:r;C=Ne("n",k,S)}else{S=r<0&&a>1?-r:r;C=Ne("n",k,S);if(S<0&&n[0]&&n[0].t=="t"){C=C.substr(1);n[0].v="-"+n[0].v}}y=C.length-1;var _=n.length;for(s=0;s-1){_=s;break}var A=n.length;if(_===n.length&&C.indexOf("E")===-1){for(s=n.length-1;s>=0;--s){if(n[s]==null||"n?".indexOf(n[s].t)===-1)continue;if(y>=n[s].v.length-1){y-=n[s].v.length;n[s].v=C.substr(y+1,n[s].v.length)}else if(y<0)n[s].v="";else{n[s].v=C.substr(0,y+1);y=-1}n[s].t="t";A=s}if(y>=0&&A=0;--s){if(n[s]==null||"n?".indexOf(n[s].t)===-1)continue;f=n[s].v.indexOf(".")>-1&&s===_?n[s].v.indexOf(".")-1:n[s].v.length-1;x=n[s].v.substr(f+1);for(;f>=0;--f){if(y>=0&&(n[s].v.charAt(f)==="0"||n[s].v.charAt(f)==="#"))x=C.charAt(y--)+x}n[s].v=x;n[s].t="t";A=s}if(y>=0&&A-1&&s===_?n[s].v.indexOf(".")+1:0;x=n[s].v.substr(0,f);for(;f-1){S=a>1&&r<0&&s>0&&n[s-1].v==="-"?-r:r;n[s].v=Ne(n[s].t,n[s].v,S);n[s].t="t"}var T="";for(s=0;s!==n.length;++s)if(n[s]!=null)T+=n[s].v;return T}var Be=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function Ue(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 ze(e,r){var t=Ie(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(/\[[=<>]/)!=null||t[1].match(/\[[=<>]/)!=null){var s=t[0].match(Be);var l=t[1].match(Be);return Ue(r,s)?[a,t[0]]:Ue(r,l)?[a,t[1]]:[a,t[s!=null&&l!=null?2:1]]}return[a,i]}function $e(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:q)[e];if(a==null)a=t.table&&t.table[Q[e]]||q[Q[e]];if(a==null)a=ee[e]||"General";break;}if(Y(a,0))return ce(r,t);if(r instanceof Date)r=dr(r,t.date1904);var n=ze(a,r);if(Y(n[1]))return ce(r,t);if(r===true)r="TRUE";else if(r===false)r="FALSE";else if(r===""||r==null)return"";return Le(n[1],r,t,n[0])}function We(e,r){if(typeof r!="number"){r=+r||-1;for(var t=0;t<392;++t){if(q[t]==undefined){if(r<0)r=t;continue}if(q[t]==e){r=t;break}}if(r<0)r=391}q[r]=e;return r}function je(e){for(var r=0;r!=392;++r)if(e[r]!==undefined)We(e[r],r)}function He(){q=K()}var Ve={format:$e,load:We,_table:q,load_table:je,parse_date_code:ae,is_date:Re,get_table:function Mc(){return Ve._table=q}};var Xe={5:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',23:"General",24:"General",25:"General",26:"General",27:"m/d/yy",28:"m/d/yy",29:"m/d/yy",30:"m/d/yy",31:"m/d/yy",32:"h:mm:ss",33:"h:mm:ss",34:"h:mm:ss",35:"h:mm:ss",36:"m/d/yy",41:'_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* (#,##0);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)',50:"m/d/yy",51:"m/d/yy",52:"m/d/yy",53:"m/d/yy",54:"m/d/yy",55:"m/d/yy",56:"m/d/yy",57:"m/d/yy",58:"m/d/yy",59:"0",60:"0.00",61:"#,##0",62:"#,##0.00",63:'"$"#,##0_);\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',67:"0%",68:"0.00%",69:"# ?/?",70:"# ??/??",71:"m/d/yy",72:"m/d/yy",73:"d-mmm-yy",74:"d-mmm",75:"mmm-yy",76:"h:mm",77:"h:mm:ss",78:"m/d/yy h:mm",79:"mm:ss",80:"[h]:mm:ss",81:"mmss.0"};var Ge=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;function Ye(e){var r=typeof e=="number"?q[e]:e;r=r.replace(Ge,"(\\d+)");Ge.lastIndex=0;return new RegExp("^"+r+"$")}function Je(e,r,t){var a=-1,n=-1,i=-1,s=-1,l=-1,o=-1;(r.match(Ge)||[]).forEach(function(e,r){var c=parseInt(t[r+1],10);switch(e.toLowerCase().charAt(0)){case"y":a=c;break;case"d":i=c;break;case"h": +s=c;break;case"s":o=c;break;case"m":if(s>=0)l=c;else n=c;break;}});Ge.lastIndex=0;if(o>=0&&l==-1&&n>=0){l=n;n=-1}var c=(""+(a>=0?a:(new Date).getFullYear())).slice(-4)+"-"+("00"+(n>=1?n:1)).slice(-2)+"-"+("00"+(i>=1?i:1)).slice(-2);if(c.length==7)c="0"+c;if(c.length==8)c="20"+c;var f=("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(l>=0?l:0)).slice(-2)+":"+("00"+(o>=0?o:0)).slice(-2);if(s==-1&&l==-1&&o==-1)return c;if(a==-1&&n==-1&&i==-1)return f;return c+"T"+f}var Ze={"d.m":"d\\.m"};function Ke(e,r){return We(Ze[e]||e,r)}var qe=function(){var e={};e.version="1.2.0";function r(){var e=0,r=new Array(256);for(var t=0;t!=256;++t){e=t;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;r[t]=e}return typeof Int32Array!=="undefined"?new Int32Array(r):r}var t=r();function a(e){var r=0,t=0,a=0,n=typeof Int32Array!=="undefined"?new Int32Array(4096):new Array(4096);for(a=0;a!=256;++a)n[a]=e[a];for(a=0;a!=256;++a){t=e[a];for(r=256+a;r<4096;r+=256)t=n[r]=t>>>8^e[t&255]}var i=[];for(a=1;a!=16;++a)i[a-1]=typeof Int32Array!=="undefined"&&typeof n.subarray=="function"?n.subarray(a*256,a*256+256):n.slice(a*256,a*256+256);return i}var n=a(t);var i=n[0],s=n[1],l=n[2],o=n[3],c=n[4];var f=n[5],u=n[6],h=n[7],d=n[8],p=n[9];var m=n[10],v=n[11],g=n[12],b=n[13],w=n[14];function k(e,r){var a=r^-1;for(var n=0,i=e.length;n>>8^t[(a^e.charCodeAt(n++))&255];return~a}function y(e,r){var a=r^-1,n=e.length-15,k=0;for(;k>8&255]^g[e[k++]^a>>16&255]^v[e[k++]^a>>>24]^m[e[k++]]^p[e[k++]]^d[e[k++]]^h[e[k++]]^u[e[k++]]^f[e[k++]]^c[e[k++]]^o[e[k++]]^l[e[k++]]^s[e[k++]]^i[e[k++]]^t[e[k++]];n+=15;while(k>>8^t[(a^e[k++])&255];return~a}function x(e,r){var a=r^-1;for(var n=0,i=e.length,s=0,l=0;n>>8^t[(a^s)&255]}else if(s<2048){a=a>>>8^t[(a^(192|s>>6&31))&255];a=a>>>8^t[(a^(128|s&63))&255]}else if(s>=55296&&s<57344){s=(s&1023)+64;l=e.charCodeAt(n++)&1023;a=a>>>8^t[(a^(240|s>>8&7))&255];a=a>>>8^t[(a^(128|s>>2&63))&255];a=a>>>8^t[(a^(128|l>>6&15|(s&3)<<4))&255];a=a>>>8^t[(a^(128|l&63))&255]}else{a=a>>>8^t[(a^(224|s>>12&15))&255];a=a>>>8^t[(a^(128|s>>6&63))&255];a=a>>>8^t[(a^(128|s&63))&255]}}return~a}e.table=t;e.bstr=k;e.buf=y;e.str=x;return e}();var Qe=function Nc(){var e={};e.version="1.2.2";function r(e,r){var t=e.split("/"),a=r.split("/");for(var n=0,i=0,s=Math.min(t.length,a.length);n>>1;e._W(2,t);var a=r.getFullYear()-1980;a=a<<4|r.getMonth()+1;a=a<<5|r.getDate();e._W(2,a)}function i(e){var r=e._R(2)&65535;var t=e._R(2)&65535;var a=new Date;var n=t&31;t>>>=5;var i=t&15;t>>>=4;a.setMilliseconds(0);a.setFullYear(t+1980);a.setMonth(i-1);a.setDate(n);var s=r&31;r>>>=5;var l=r&63;r>>>=6;a.setHours(r);a.setMinutes(l);a.setSeconds(s<<1);return a}function s(e){Ea(e,0);var r={};var t=0;while(e.l<=e.length-4){var a=e._R(2);var n=e._R(2),i=e.l+n;var s={};switch(a){case 21589:{t=e._R(1);if(t&1)s.mtime=e._R(4);if(n>5){if(t&2)s.atime=e._R(4);if(t&4)s.ctime=e._R(4)}if(s.mtime)s.mt=new Date(s.mtime*1e3)}break;case 1:{var l=e._R(4),o=e._R(4);s.usz=o*Math.pow(2,32)+l;l=e._R(4);o=e._R(4);s.csz=o*Math.pow(2,32)+l}break;}e.l=i;r[a]=s}return r}var l;function o(){return l||(l=er)}function c(e,r){if(e[0]==80&&e[1]==75)return Oe(e,r);if((e[0]|32)==109&&(e[1]|32)==105)return ze(e,r);if(e.length<512)throw new Error("CFB file size "+e.length+" < 512");var t=3;var a=512;var n=0;var i=0;var s=0;var l=0;var o=0;var c=[];var p=e.slice(0,512);Ea(p,0);var v=f(p);t=v[0];switch(t){case 3:a=512;break;case 4:a=4096;break;case 0:if(v[1]==0)return Oe(e,r);default:throw new Error("Major Version: Expected 3 or 4 saw "+t);}if(a!==512){p=e.slice(0,a);Ea(p,28)}var w=e.slice(0,a);u(p,t);var k=p._R(4,"i");if(t===3&&k!==0)throw new Error("# Directory Sectors: Expected 0 saw "+k);p.l+=4;s=p._R(4,"i");p.l+=4;p.chk("00100000","Mini Stream Cutoff Size: ");l=p._R(4,"i");n=p._R(4,"i");o=p._R(4,"i");i=p._R(4,"i");for(var y=-1,x=0;x<109;++x){y=p._R(4,"i");if(y<0)break;c[x]=y}var S=h(e,a);m(o,i,S,a,c);var C=g(S,s,c,a);if(s0&&l!==R)C[l].name="!MiniFAT";C[c[0]].name="!FAT";C.fat_addrs=c;C.ssz=a;var _={},A=[],T=[],E=[];b(s,C,S,A,n,_,T,l);d(T,E,A);A.shift();var F={FileIndex:T,FullPaths:E};if(r&&r.raw)F.raw={header:w,sectors:S};return F}function f(e){if(e[e.l]==80&&e[e.l+1]==75)return[0,0];e.chk(U,"Header Signature: ");e.l+=16;var r=e._R(2,"u");return[e._R(2,"u"),r]}function u(e,r){var t=9;e.l+=2;switch(t=e._R(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 h(e,r){var t=Math.ceil(e.length/r)-1;var a=[];for(var n=1;n0&&s>=0){i.push(r.slice(s*I,s*I+I));n-=I;s=ka(t,s*4)}if(i.length===0)return Da(0);return P(i).slice(0,e.size)}function m(e,r,t,a,n){var i=R;if(e===R){if(r!==0)throw new Error("DIFAT chain shorter than expected")}else if(e!==-1){var s=t[e],l=(a>>>2)-1;if(!s)return;for(var o=0;o=1)m(ka(s,a-4),r-1,t,a,n)}}function v(e,r,t,a,n){var i=[],s=[];if(!n)n=[];var l=a-1,o=0,c=0;for(o=r;o>=0;){n[o]=true;i[i.length]=o;s.push(e[o]);var f=t[Math.floor(o*4/a)];c=o*4&l;if(a<4+c)throw new Error("FAT boundary crossed: "+o+" 4 "+a);if(!e[f])break;o=ka(e[f],c)}return{nodes:i,data:Jt([s])}}function g(e,r,t,a){var n=e.length,i=[];var s=[],l=[],o=[];var c=a-1,f=0,u=0,h=0,d=0;for(f=0;f=n)h-=n;if(s[h])continue;o=[];var p=[];for(u=h;u>=0;){p[u]=true;s[u]=true;l[l.length]=u;o.push(e[u]);var m=t[Math.floor(u*4/a)];d=u*4&c;if(a<4+d)throw new Error("FAT boundary crossed: "+u+" 4 "+a);if(!e[m])break;u=ka(e[m],d);if(p[u])break}i[h]={nodes:l,data:Jt([o])}}return i}function b(e,r,t,a,n,i,s,l){var o=0,c=a.length?2:0;var f=r[e].data;var u=0,h=0,d;for(;u0&&o!==R)r[o].name="!StreamData"}else if(g.size>=4096){g.storage="fat";if(r[g.start]===undefined)r[g.start]=v(t,g.start,r.fat_addrs,r.ssz);r[g.start].name=g.name;g.content=r[g.start].data.slice(0,g.size)}else{g.storage="minifat";if(g.size<0)g.size=0;else if(o!==R&&g.start!==R&&r[o]){g.content=p(g,r[o].data,(r[l]||{}).data)}}if(g.content)Ea(g.content,0);i[d]=g;s.push(g)}}function w(e,r){return new Date((wa(e,r+4)/1e7*Math.pow(2,32)+wa(e,r)/1e7-11644473600)*1e3)}function k(e,r){o();return c(l.readFileSync(e),r)}function x(e,r){var t=r&&r.type;if(!t){if(_&&Buffer.isBuffer(e))t="buffer"}switch(t||"base64"){case"file":return k(e,r);case"base64":return c(D(C(e)),r);case"binary":return c(D(e),r);}return c(e,r)}function S(e,r){var t=r||{},a=t.root||"Root Entry";if(!e.FullPaths)e.FullPaths=[];if(!e.FileIndex)e.FileIndex=[];if(e.FullPaths.length!==e.FileIndex.length)throw new Error("inconsistent CFB structure");if(e.FullPaths.length===0){e.FullPaths[0]=a+"/";e.FileIndex[0]={name:a,type:5}}if(t.CLSID)e.FileIndex[0].clsid=t.CLSID;T(e)}function T(e){var r="Sh33tJ5";if(Qe.find(e,"/"+r))return;var t=Da(4);t[0]=55;t[1]=t[3]=50;t[2]=54;e.FileIndex.push({name:r,type:2,content:t,size:4,L:69,R:69,C:69});e.FullPaths.push(e.FullPaths[0]+r);O(e)}function O(e,n){S(e);var i=false,s=false;for(var l=e.FullPaths.length-1;l>=0;--l){var o=e.FileIndex[l];switch(o.type){case 0:if(s)i=true;else{e.FileIndex.pop();e.FullPaths.pop()}break;case 1:;case 2:;case 5:s=true;if(isNaN(o.R*o.L*o.C))i=true;if(o.R>-1&&o.L>-1&&o.R==o.L)i=true;break;default:i=true;break;}}if(!i&&!n)return;var c=new Date(1987,1,19),f=0;var u=Object.create?Object.create(null):{};var h=[];for(l=0;l1?1:-1;p.size=0;p.type=5}else if(m.slice(-1)=="/"){for(f=l+1;f=h.length?-1:f;for(f=l+1;f=h.length?-1:f;p.type=1}else{if(t(e.FullPaths[l+1]||"")==t(m))p.R=l+1;p.type=2}}}function M(e,r){var t=r||{};if(t.fileType=="mad")return $e(e,t);O(e);switch(t.fileType){case"zip":return Ne(e,t);}var a=function(e){var r=0,t=0;for(var a=0;a0){if(i<4096)r+=i+63>>6;else t+=i+511>>9}}var s=e.FullPaths.length+3>>2;var l=r+7>>3;var o=r+127>>7;var c=l+t+s+o;var f=c+127>>7;var u=f<=109?0:Math.ceil((f-109)/127);while(c+f+u+127>>7>f)u=++f<=109?0:Math.ceil((f-109)/127);var h=[1,u,f,o,s,t,r,0];e.FileIndex[0].size=r<<6;h[7]=(e.FileIndex[0].start=h[0]+h[1]+h[2]+h[3]+h[4]+h[5])+(h[6]+7>>3);return h}(e);var n=Da(a[7]<<9);var i=0,s=0;{for(i=0;i<8;++i)n._W(1,z[i]);for(i=0;i<8;++i)n._W(2,0);n._W(2,62);n._W(2,3);n._W(2,65534);n._W(2,9);n._W(2,6);for(i=0;i<3;++i)n._W(2,0);n._W(4,0);n._W(4,a[2]);n._W(4,a[0]+a[1]+a[2]+a[3]-1);n._W(4,0);n._W(4,1<<12);n._W(4,a[3]?a[0]+a[1]+a[2]-1:R);n._W(4,a[3]);n._W(-4,a[1]?a[0]-1:R);n._W(4,a[1]);for(i=0;i<109;++i)n._W(-4,i>9)}l(a[6]+7>>3);while(n.l&511)n._W(-4,W.ENDOFCHAIN);s=i=0;for(o=0;o=4096)continue;f.start=s;l(c+63>>6)}while(n.l&511)n._W(-4,W.ENDOFCHAIN);for(i=0;i31){console.error("Name "+h+" will be truncated to "+h.slice(0,31));h=h.slice(0,31)}c=2*(h.length+1);n._W(64,h,"utf16le");n._W(2,c);n._W(1,f.type);n._W(1,f.color);n._W(-4,f.L);n._W(-4,f.R);n._W(-4,f.C);if(!f.clsid)for(o=0;o<4;++o)n._W(4,0);else n._W(16,f.clsid,"hex");n._W(4,f.state||0);n._W(4,0);n._W(4,0);n._W(4,0);n._W(4,0);n._W(4,f.start);n._W(4,f.size);n._W(4,0)}for(i=1;i=4096){n.l=f.start+1<<9;if(_&&Buffer.isBuffer(f.content)){f.content.copy(n,n.l,0,f.size);n.l+=f.size+511&-512}else{for(o=0;o0&&f.size<4096){if(_&&Buffer.isBuffer(f.content)){f.content.copy(n,n.l,0,f.size);n.l+=f.size+63&-64}else{for(o=0;o>16|r>>8|r)&255}var ee=typeof Uint8Array!=="undefined";var re=ee?new Uint8Array(1<<8):[];for(var te=0;te<1<<8;++te)re[te]=Q(te);function ae(e,r){var t=re[e&255];if(r<=8)return t>>>8-r;t=t<<8|re[e>>8&255];if(r<=16)return t>>>16-r;t=t<<8|re[e>>16&255];return t>>>24-r}function ne(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=6?0:e[a+1]<<8))>>>t&3}function ie(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=5?0:e[a+1]<<8))>>>t&7}function se(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=4?0:e[a+1]<<8))>>>t&15}function le(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=3?0:e[a+1]<<8))>>>t&31}function oe(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=1?0:e[a+1]<<8))>>>t&127}function ce(e,r,t){var a=r&7,n=r>>>3,i=(1<>>a;if(t<8-a)return s&i;s|=e[n+1]<<8-a;if(t<16-a)return s&i;s|=e[n+2]<<16-a;if(t<24-a)return s&i;s|=e[n+3]<<24-a;return s&i}function fe(e,r,t){var a=r&7,n=r>>>3;if(a<=5)e[n]|=(t&7)<>8-a}return r+3}function ue(e,r,t){var a=r&7,n=r>>>3;t=(t&1)<>>3;t<<=a;e[n]|=t&255;t>>>=8;e[n+1]=t;return r+8}function de(e,r,t){var a=r&7,n=r>>>3;t<<=a;e[n]|=t&255;t>>>=8;e[n+1]=t&255;e[n+2]=t>>>8;return r+16}function pe(e,r){var t=e.length,a=2*t>r?2*t:r+5,n=0;if(t>=r)return e;if(_){var i=F(a);if(e.copy)e.copy(i);else for(;n>a-u;for(s=(1<=0;--s)r[l|s<0)r[r.l++]=e[t++]}return r.l}function i(r,t){var n=0;var i=0;var s=ee?new Uint16Array(32768):[];while(i0)t[t.l++]=r[i++];n=t.l*8;continue}n=fe(t,n,+!!(i+l==r.length)+2);var o=0;while(l-- >0){var c=r[i];o=(o<<5^c)&32767;var f=-1,u=0;if(f=s[o]){f|=i&~32767;if(f>i)f-=32768;if(f2){c=a[u];if(c<=22)n=he(t,n,re[c+1]>>1)-1;else{he(t,n,3);n+=5;he(t,n,re[c-23]>>5);n+=3}var h=c<8?0:c-4>>2;if(h>0){de(t,n,u-K[c]);n+=h}c=e[i-f];n=he(t,n,re[c]>>3);n-=3;var d=c<4?0:c-2>>1;if(d>0){de(t,n,i-f-q[c]);n+=d}for(var p=0;p>8-p;for(var m=(1<<7-p)-1;m>=0;--m)Ce[d|m<>>=3){case 16:i=3+ne(e,r);r+=2;d=v[v.length-1];while(i-- >0)v.push(d);break;case 17:i=3+ie(e,r);r+=3;while(i-- >0)v.push(0);break;case 18:i=11+oe(e,r);r+=7;while(i-- >0)v.push(0);break;default:v.push(d);if(o>>0;var l=0,o=0;while((a&1)==0){a=ie(e,t);t+=3;if(a>>>1==0){if(t&7)t+=8-(t&7);var c=e[t>>>3]|e[(t>>>3)+1]<<8;t+=32;if(c>0){if(!r&&s0){n[i++]=e[t>>>3];t+=8}}continue}else if(a>>1==1){l=9;o=5}else{t=Te(e,t);l=_e;o=Ae}for(;;){if(!r&&s>>1==1?ge[f]:xe[f];t+=u&15;u>>>=4;if((u>>>8&255)===0)n[i++]=u;else if(u==256)break;else{u-=257;var h=u<8?0:u-4>>2;if(h>5)h=0;var d=i+K[u];if(h>0){d+=ce(e,t,h);t+=h}f=ce(e,t,o);u=a>>>1==1?be[f]:Se[f];t+=u&15;u>>>=4;var p=u<4?0:u-2>>1;var m=q[u];if(p>0){m+=ce(e,t,p);t+=p}if(!r&&s>>3];return[n.slice(0,i),t+7>>>3]}function Fe(e,r){var t=e.slice(e.l||0);var a=Ee(t,r);e.l+=a[1];return a[0]}function De(e,r){if(e){if(typeof console!=="undefined")console.error(r)}else throw new Error(r)}function Oe(e,r){var t=e;Ea(t,0);var a=[],n=[];var i={FileIndex:a,FullPaths:n};S(i,{root:r.root});var l=t.length-4;while((t[l]!=80||t[l+1]!=75||t[l+2]!=5||t[l+3]!=6)&&l>=0)--l;t.l=l+4;t.l+=4;var o=t._R(2);t.l+=6;var c=t._R(4);t.l=c;for(l=0;l0){t=t.slice(0,t.length-1);t=t.slice(0,t.lastIndexOf("/")+1);if(i.slice(0,t.length)==t)break}}var s=(a[1]||"").match(/boundary="(.*?)"/);if(!s)throw new Error("MAD cannot find boundary");var l="--"+(s[1]||"");var o=[],c=[];var f={FileIndex:o,FullPaths:c};S(f);var u,h=0;for(n=0;n=32&&d<128)++u;var m=u>=h*4/5;n.push(a);n.push("Content-Location: "+(t.root||"file:///C:/SheetJS/")+s);n.push("Content-Transfer-Encoding: "+(m?"quoted-printable":"base64"));n.push("Content-Type: "+Pe(l,s));n.push("");n.push(m?Le(f):Re(f))}n.push(a+"--\r\n");return n.join("\r\n")}function We(e){var r={};S(r,e);return r}function je(e,r,t,n){var i=n&&n.unsafe;if(!i)S(e);var s=!i&&Qe.find(e,r);if(!s){var l=e.FullPaths[0];if(r.slice(0,l.length)==l)l=r;else{if(l.slice(-1)!="/")l+="/";l=(l+r).replace("//","/")}s={name:a(r),type:2};e.FileIndex.push(s);e.FullPaths.push(l);if(!i)Qe.utils.cfb_gc(e)}s.content=t;s.size=t?t.length:0;if(n){if(n.CLSID)s.clsid=n.CLSID;if(n.mt)s.mt=n.mt;if(n.ct)s.ct=n.ct}return s}function He(e,r){S(e);var t=Qe.find(e,r);if(t)for(var a=0;a=60&&e<61)return e;var r=new Date;r.setTime((e>60?e:e+1)*24*60*60*1e3+fr);return r}function mr(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].slice(n[i].length-1)){case"Y":throw new Error("Unsupported ISO Duration Field: "+n[i].slice(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 vr=/^(\d+):(\d+)(:\d+)?(\.\d+)?$/;var gr=/^(\d+)-(\d+)-(\d+)$/;var br=/^(\d+)-(\d+)-(\d+)[T ](\d+):(\d+)(:\d+)?(\.\d+)?$/;function wr(e,r){if(e instanceof Date)return e;var t=e.match(vr);if(t)return new Date((r?hr:ur)+((parseInt(t[1],10)*60+parseInt(t[2],10))*60+(t[3]?parseInt(t[3].slice(1),10):0))*1e3+(t[4]?parseInt((t[4]+"000").slice(1,4),10):0));t=e.match(gr);if(t)return new Date(Date.UTC(+t[1],+t[2]-1,+t[3],0,0,0,0));t=e.match(br);if(t)return new Date(Date.UTC(+t[1],+t[2]-1,+t[3],+t[4],+t[5],t[6]&&parseInt(t[6].slice(1),10)||0,t[7]&&parseInt((t[7]+"0000").slice(1,4),10)||0));var a=new Date(e);return a}function kr(e,r){if(_&&Buffer.isBuffer(e)){if(r&&T){if(e[0]==255&&e[1]==254)return Dt(e.slice(2).toString("utf16le"));if(e[1]==254&&e[2]==255)return Dt(d(e.slice(2).toString("binary")))}return e.toString("binary")}if(typeof TextDecoder!=="undefined")try{if(r){if(e[0]==255&&e[1]==254)return Dt(new TextDecoder("utf-16le").decode(e.slice(2)));if(e[0]==254&&e[1]==255)return Dt(new TextDecoder("utf-16be").decode(e.slice(2)))}var t={"€":"€","‚":"‚","ƒ":"ƒ","„":"„","…":"…","†":"†","‡":"‡","ˆ":"ˆ","‰":"‰","Š":"Š","‹":"‹","Œ":"Œ","Ž":"Ž","‘":"‘","’":"’","“":"“","”":"”","•":"•","–":"–","—":"—","˜":"˜","™":"™","š":"š","›":"›","œ":"œ","ž":"ž","Ÿ":"Ÿ"};if(Array.isArray(e))e=new Uint8Array(e);return new TextDecoder("latin1").decode(e).replace(/[€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ]/g,function(e){return t[e]||e})}catch(a){}var n=[],i=0;try{for(i=0;i3&&Dr.indexOf(r)==-1)return i}else if(r.replace(/[ap]m?/,"").match(/[a-z]/))return i;if(s<0||s>8099||e.match(/[^-0-9:,\/\\\ ]/))return i;return n}var Mr=function(){var e="abacaba".split(/(:?b)/i).length==5;return function r(t,a,n){if(e||typeof a=="string")return t.split(a);var i=t.split(a),s=[i[0]];for(var l=1;l-1){var i=e.indexOf(t,n+r.length);if(i==-1)break;a.push(e.slice(n,i+t.length));n=e.indexOf(r,i+t.length)}return a.length>0?a:null}function Lr(e,r,t){var a=[],n=0;var i=e.indexOf(r);if(i==-1)return e;while(i>-1){a.push(e.slice(n,i));var s=e.indexOf(t,i+r.length);if(s==-1)break;if((i=e.indexOf(r,n=s+t.length))==-1)a.push(e.slice(n))}return a.join("")}var Br={" ":1,"\t":1,"\r":1,"\n":1,">":1};function Ur(e,r){var t=e.indexOf("<"+r),a=r.length+1,n=e.length;while(t>=0&&t<=n-a&&!Br[e.charAt(t+a)])t=e.indexOf("<"+r,t+1);if(t===-1)return null;var i=e.indexOf(">",t+r.length);if(i===-1)return null;var s="";var l=e.indexOf(s,i);if(l==-1)return null;return[e.slice(t,l+s.length),e.slice(i+1,l)]}var zr=function(){var e={};return function r(t,a){var n=e[a];if(!n)e[a]=n=[new RegExp("<(?:\\w+:)?"+a+"\\b[^<>]*>","g"),new RegExp("","g")];n[0].lastIndex=n[1].lastIndex=0;var i=n[0].exec(t);if(!i)return null;var s=i.index;var l=n[0].lastIndex;n[1].lastIndex=n[0].lastIndex;i=n[1].exec(t);if(!i)return null;var o=i.index;var c=n[1].lastIndex;return[t.slice(s,c),t.slice(l,o)]}}();var $r=function(){var e={};return function r(t,a){var n=[];var i=e[a];if(!i)e[a]=i=[new RegExp("<(?:\\w+:)?"+a+"\\b[^<>]*>","g"),new RegExp("","g")];i[0].lastIndex=i[1].lastIndex=0;var s;while(s=i[0].exec(t)){var l=s.index;i[1].lastIndex=i[0].lastIndex;s=i[1].exec(t);if(!s)return null;var o=i[1].lastIndex;n.push(t.slice(l,o));i[0].lastIndex=i[1].lastIndex}return n.length==0?null:n}}();var Wr=function(){var e={};return function r(t,a){var n=[];var i=e[a];if(!i)e[a]=i=[new RegExp("<(?:\\w+:)?"+a+"\\b[^<>]*>","g"),new RegExp("","g")];i[0].lastIndex=i[1].lastIndex=0;var s;var l=0,o=0;while(s=i[0].exec(t)){l=s.index;n.push(t.slice(o,l));o=l;i[1].lastIndex=i[0].lastIndex;s=i[1].exec(t);if(!s)return null;o=i[1].lastIndex;i[0].lastIndex=i[1].lastIndex}n.push(t.slice(o));return n.length==0?"":n.join("")}}();var jr=function(){var e={};return function r(t,a){var n=[];var i=e[a];if(!i)e[a]=i=[new RegExp("<"+a+"\\b[^<>]*>","ig"),new RegExp("","ig")];i[0].lastIndex=i[1].lastIndex=0;var s;while(s=i[0].exec(t)){var l=s.index;i[1].lastIndex=i[0].lastIndex;s=i[1].exec(t);if(!s)return null;var o=i[1].lastIndex;n.push(t.slice(l,o));i[0].lastIndex=i[1].lastIndex}return n.length==0?null:n}}();function Hr(e){if(!e)return null;if(e.content&&e.type)return kr(e.content,true);if(e.data)return p(e.data);if(e.asNodeBuffer&&_)return p(e.asNodeBuffer().toString("binary"));if(e.asBinary)return p(e.asBinary());if(e._data&&e._data.getContent)return p(kr(Array.prototype.slice.call(e._data.getContent(),0)));return null}function Vr(e){if(!e)return null;if(e.data)return f(e.data);if(e.asNodeBuffer&&_)return e.asNodeBuffer();if(e._data&&e._data.getContent){var r=e._data.getContent();if(typeof r=="string")return f(r);return Array.prototype.slice.call(r)}if(e.content&&e.type)return e.content;return null}function Xr(e){return e&&e.name.slice(-4)===".bin"?Vr(e):Hr(e)}function Gr(e,r){var t=e.FullPaths||ir(e.files);var a=r.toLowerCase().replace(/[\/]/g,"\\"),n=a.replace(/\\/g,"/");for(var i=0;i\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g;var it=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?<>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'"<>\s=]+))*\s*[\/\?]?>/gm,st=/<[^<>]*>/g;var lt=at.match(it)?it:st;var ot=/<\w*:/,ct=/<(\/?)\w+:/;function ft(e,r,t){var a={};var n=0,i=0;for(;n!==e.length;++n)if((i=e.charCodeAt(n))===32||i===10||i===13)break;if(!r)a[0]=e.slice(0,n);if(n===e.length)return a;var s=e.match(nt),l=0,o="",c=0,f="",u="",h=1;if(s)for(c=0;c!=s.length;++c){u=s[c].slice(1);for(i=0;i!=u.length;++i)if(u.charCodeAt(i)===61)break;f=u.slice(0,i).trim();while(u.charCodeAt(i+1)==32)++i;h=(n=u.charCodeAt(i+1))==34||n==39?1:0;o=u.slice(i+1+h,u.length-h);for(l=0;l!=f.length;++l)if(f.charCodeAt(l)===58)break;if(l===f.length){if(f.indexOf("_")>0)f=f.slice(0,f.indexOf("_"));a[f]=o;if(!t)a[f.toLowerCase()]=o}else{var d=(l===5&&f.slice(0,5)==="xmlns"?"xmlns":"")+f.slice(l+1);if(a[d]&&f.slice(l-3,l)=="ext")continue;a[d]=o;if(!t)a[d.toLowerCase()]=o}}return a}function ut(e){return e.replace(ct,"<$1")}var ht={""":'"',"'":"'",">":">","<":"<","&":"&"};var dt=lr(ht);var pt=function(){var e=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/gi,r=/_x([\da-fA-F]{4})_/gi;function t(a){var n=a+"",i=n.indexOf("-1?16:10))||e}).replace(r,function(e,r){return String.fromCharCode(parseInt(r,16))});var s=n.indexOf("]]>");return t(n.slice(0,i))+n.slice(i+9,s)+t(n.slice(s+3))}return function a(e,r){var a=t(e);return r?a.replace(/\r\n/g,"\n"):a}}();var mt=/[&<>'"]/g,vt=/[\u0000-\u0008\u000b-\u001f\uFFFE-\uFFFF]/g;function gt(e){var r=e+"";return r.replace(mt,function(e){return dt[e]}).replace(vt,function(e){return"_x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+"_"})}function bt(e){return gt(e).replace(/ /g,"_x0020_")}var wt=/[\u0000-\u001f]/g;function kt(e){var r=e+"";return r.replace(mt,function(e){return dt[e]}).replace(/\n/g,"
").replace(wt,function(e){return"&#x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+";"})}function yt(e){var r=e+"";return r.replace(mt,function(e){return dt[e]}).replace(wt,function(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"})}var xt=function(){var e=/&#(\d+);/g;function r(e,r){return String.fromCharCode(parseInt(r,10))}return function t(a){return a.replace(e,r)}}();function St(e){return e.replace(/(\r\n|[\r\n])/g," ")}function Ct(e){switch(e){case 1:;case true:;case"1":;case"true":return true;case 0:;case false:;case"0":;case"false":return false;}return false}function _t(e){var r="",t=0,a=0,n=0,i=0,s=0,l=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++);l=((a&7)<<18|(n&63)<<12|(i&63)<<6|s&63)-65536;r+=String.fromCharCode(55296+(l>>>10&1023));r+=String.fromCharCode(56320+(l&1023))}return r}function At(e){var r=E(2*e.length),t,a,n=1,i=0,s=0,l;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")}function Tt(e){return A(e,"binary").toString("utf8")}var Et="foo bar baz☃🍣";var Ft=_&&(Tt(Et)==_t(Et)&&Tt||At(Et)==_t(Et)&&At)||_t;var Dt=_?function(e){return A(e,"utf8").toString("binary")}:function(e){var r=[],t=0,a=0,n=0;while(t>6)));r.push(String.fromCharCode(128+(a&63)));break;case a>=55296&&a<57344:a-=55296;n=e.charCodeAt(t++)-56320+(a<<10);r.push(String.fromCharCode(240+(n>>18&7)));r.push(String.fromCharCode(144+(n>>12&63)));r.push(String.fromCharCode(128+(n>>6&63)));r.push(String.fromCharCode(128+(n&63)));break;default:r.push(String.fromCharCode(224+(a>>12)));r.push(String.fromCharCode(128+(a>>6&63)));r.push(String.fromCharCode(128+(a&63)));}}return r.join("")};var Ot=function(){var e=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map(function(e){return[new RegExp("&"+e[0]+";","ig"),e[1]]});return function r(t){var a=t.replace(/^[\t\n\r ]+/,"").replace(/(^|[^\t\n\r ])[\t\n\r ]+$/,"$1").replace(/>\s+/g,">").replace(/\b\s+/g,"\n").replace(/<[^<>]*>/g,"");for(var n=0;n/g,Nt=/<(?:vt:)([^<"'>]*)>([\s\S]*)"+r+""}function Lt(e){return ir(e).map(function(r){return" "+r+'="'+e[r]+'"'}).join("")}function Bt(e,r,t){return"<"+e+(t!=null?Lt(t):"")+(r!=null?(r.match(Pt)?' xml:space="preserve"':"")+">"+r+""}function Ut(e,r){try{return e.toISOString().replace(/\.\d*/,"")}catch(t){if(r)throw t}return""}function zt(e,r){switch(typeof e){case"string":var t=Bt("vt:lpwstr",gt(e));if(r)t=t.replace(/"/g,"_x0022_");return t;case"number":return Bt((e|0)==e?"vt:i4":"vt:r8",gt(String(e)));case"boolean":return Bt("vt:bool",e?"true":"false");}if(e instanceof Date)return Bt("vt:filetime",Ut(e));throw new Error("Unable to serialize "+e)}function $t(e){if(_&&Buffer.isBuffer(e))return e.toString("utf8");if(typeof e==="string")return e;if(typeof Uint8Array!=="undefined"&&e instanceof Uint8Array)return Ft(M(I(e)));throw new Error("Bad input format: expected Buffer or string")}var Wt=/<([\/]?)([^\s?>:\/"]+)(?:\s+[^<>=?"'\s]+="[^"]*?")*\s*[\/]?>/gm;var jt={CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",CT:"http://schemas.openxmlformats.org/package/2006/content-types",RELS:"http://schemas.openxmlformats.org/package/2006/relationships",TCMNT:"http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments",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"};var Ht=["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 Vt={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 Xt(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 Gt(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 if(s==0)n=i=0;else{n=Math.floor(Math.log(s)/Math.LN2);i=s*Math.pow(2,52-n);if(n<=-1023&&(!isFinite(i)||i>4|a}var Yt=function(e){var r=[],t=10240;for(var a=0;a0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0].map(function(e){return Buffer.isBuffer(e)?e:A(e)})):Yt(e)}:Yt;var Zt=function(e,r,t){var a=[];for(var n=r;n0?ra(e,r+4,r+4+t-1):""};var aa=ta;var na=function(e,r){var t=wa(e,r);return t>0?ra(e,r+4,r+4+t-1):""};var ia=na;var sa=function(e,r){var t=2*wa(e,r);return t>0?ra(e,r+4,r+4+t-1):""};var la=sa;var oa=function Pc(e,r){var t=wa(e,r);return t>0?Kt(e,r+4,r+4+t):""};var ca=oa;var fa=function(e,r){var t=wa(e,r);return t>0?ra(e,r+4,r+4+t):""};var ua=fa;var ha=function(e,r){return Xt(e,r)};var da=ha;var pa=function Rc(e){return Array.isArray(e)||typeof Uint8Array!=="undefined"&&e instanceof Uint8Array};if(_){aa=function Lc(e,r){if(!Buffer.isBuffer(e))return ta(e,r);var t=e.readUInt32LE(r);return t>0?e.toString("utf8",r+4,r+4+t-1):""};ia=function Bc(e,r){if(!Buffer.isBuffer(e))return na(e,r);var t=e.readUInt32LE(r);return t>0?e.toString("utf8",r+4,r+4+t-1):""};la=function Uc(e,r){if(!Buffer.isBuffer(e)||!T)return sa(e,r);var t=2*e.readUInt32LE(r);return e.toString("utf16le",r+4,r+4+t-1)};ca=function zc(e,r){if(!Buffer.isBuffer(e)||!T)return oa(e,r);var t=e.readUInt32LE(r);return e.toString("utf16le",r+4,r+4+t)};ua=function $c(e,r){if(!Buffer.isBuffer(e))return fa(e,r);var t=e.readUInt32LE(r);return e.toString("utf8",r+4,r+4+t)};da=function Wc(e,r){if(Buffer.isBuffer(e))return e.readDoubleLE(r);return ha(e,r)};pa=function jc(e){return Buffer.isBuffer(e)||Array.isArray(e)||typeof Uint8Array!=="undefined"&&e instanceof Uint8Array}}function ma(){Kt=function(e,r,t){return a.utils.decode(1200,e.slice(r,t)).replace(L,"")};ra=function(e,r,t){return a.utils.decode(65001,e.slice(r,t))};aa=function(e,r){var n=wa(e,r);return n>0?a.utils.decode(t,e.slice(r+4,r+4+n-1)):""};ia=function(e,t){var n=wa(e,t);return n>0?a.utils.decode(r,e.slice(t+4,t+4+n-1)):""};la=function(e,r){var t=2*wa(e,r);return t>0?a.utils.decode(1200,e.slice(r+4,r+4+t-1)):""};ca=function(e,r){var t=wa(e,r);return t>0?a.utils.decode(1200,e.slice(r+4,r+4+t)):""};ua=function(e,r){var t=wa(e,r);return t>0?a.utils.decode(65001,e.slice(r+4,r+4+t)):""}}if(typeof a!=="undefined")ma();var va=function(e,r){return e[r]};var ga=function(e,r){return e[r+1]*(1<<8)+e[r]};var ba=function(e,r){var t=e[r+1]*(1<<8)+e[r];return t<32768?t:(65535-t+1)*-1};var wa=function(e,r){return e[r+3]*(1<<24)+(e[r+2]<<16)+(e[r+1]<<8)+e[r]};var ka=function(e,r){return e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]};var ya=function(e,r){return e[r]<<24|e[r+1]<<16|e[r+2]<<8|e[r+3]};function xa(e,t){var n="",i,s,l=[],o,c,f,u;switch(t){case"dbcs":u=this.l;if(_&&Buffer.isBuffer(this)&&T)n=this.slice(this.l,this.l+2*e).toString("utf16le");else for(f=0;f0?ka:ya)(this,this.l);this.l+=4;return i}else{s=wa(this,this.l);this.l+=4}return s;case 8:;case-8:if(t==="f"){if(e==8)s=da(this,this.l);else s=da([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0);this.l+=8;return s}else e=8;case 16:n=Qt(this,this.l,e);break;};}this.l+=e;return n}var Sa=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 Ca=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 _a=function(e,r,t){e[t]=r&255;e[t+1]=r>>>8&255};function Aa(e,n,i){var s=0,l=0;if(i==="dbcs"){for(l=0;l!=n.length;++l)_a(this,n.charCodeAt(l),this.l+2*l);s=2*n.length}else if(i==="sbcs"||i=="cpstr"){if(typeof a!=="undefined"&&t==874){for(l=0;l!=n.length;++l){var o=a.utils.encode(t,n.charAt(l));this[this.l+l]=o[0]}s=n.length}else if(typeof a!=="undefined"&&i=="cpstr"){o=a.utils.encode(r,n);if(o.length==n.length)for(l=0;l>8}while(this.l>>=8;this[this.l+1]=n&255;break;case 3:s=3;this[this.l]=n&255;n>>>=8;this[this.l+1]=n&255;n>>>=8;this[this.l+2]=n&255;break;case 4:s=4;Sa(this,n,this.l);break;case 8:s=8;if(i==="f"){Gt(this,n,this.l);break};case 16:break;case-4:s=4;Ca(this,n,this.l);break;}this.l+=s;return this}function Ta(e,r){var t=Qt(this,this.l,e.length>>1);if(t!==e)throw new Error(r+"Expected "+e+" saw "+t);this.l+=e.length>>1}function Ea(e,r){e.l=r;e._R=xa;e.chk=Ta;e._W=Aa}function Fa(e,r){e.l+=r}function Da(e){var r=E(e);Ea(r,0);return r}function Oa(e,r,t){if(!e)return;var a,n,i;Ea(e,e.l||0);var s=e.length,l=0,o=0;while(e.la.l){a=a.slice(0,a.l);a.l=a.length}if(a.length>0)e.push(a)}a=null};var i=function f(e){if(a&&e=128?1:0)+1;if(a>=128)++i;if(a>=16384)++i;if(a>=2097152)++i;var s=e.next(i);if(n<=127)s._W(1,n);else{s._W(1,(n&127)+128);s._W(1,n>>7)}for(var l=0;l!=4;++l){if(a>=128){s._W(1,(a&127)+128);a>>=7}else{s._W(1,a);break}}if(a>0&&pa(t))e.push(t)}function Ia(e,r,t){var a=yr(e);if(r.s){if(a.cRel)a.c+=r.s.c;if(a.rRel)a.r+=r.s.r}else{if(a.cRel)a.c+=r.c;if(a.rRel)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 Pa(e,r,t){var a=yr(e);a.s=Ia(a.s,r.s,t);a.e=Ia(a.e,r.s,t);return a}function Ra(e,r){if(e.cRel&&e.c<0){e=yr(e);while(e.c<0)e.c+=r>8?16384:256}if(e.rRel&&e.r<0){e=yr(e);while(e.r<0)e.r+=r>8?1048576:r>5?65536:16384}var t=Ya(e);if(!e.cRel&&e.cRel!=null)t=Ha(t);if(!e.rRel&&e.rRel!=null)t=za(t);return t}function La(e,r){if(e.s.r==0&&!e.s.rRel){if(e.e.r==(r.biff>=12?1048575:r.biff>=8?65536:16384)&&!e.e.rRel){return(e.s.cRel?"":"$")+ja(e.s.c)+":"+(e.e.cRel?"":"$")+ja(e.e.c)}}if(e.s.c==0&&!e.s.cRel){if(e.e.c==(r.biff>=12?16383:255)&&!e.e.cRel){return(e.s.rRel?"":"$")+Ua(e.s.r)+":"+(e.e.rRel?"":"$")+Ua(e.e.r)}}return Ra(e.s,r.biff)+":"+Ra(e.e,r.biff)}function Ba(e){return parseInt($a(e),10)-1}function Ua(e){return""+(e+1)}function za(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}function $a(e){return e.replace(/\$(\d+)$/,"$1")}function Wa(e){var r=Va(e),t=0,a=0;for(;a!==r.length;++a)t=26*t+r.charCodeAt(a)-64;return t-1}function ja(e){if(e<0)throw new Error("invalid column "+e);var r="";for(++e;e;e=Math.floor((e-1)/26))r=String.fromCharCode((e-1)%26+65)+r;return r}function Ha(e){return e.replace(/^([A-Z])/,"$$$1")}function Va(e){return e.replace(/^\$([A-Z])/,"$1")}function Xa(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function Ga(e){var r=0,t=0;for(var a=0;a=48&&n<=57)r=10*r+(n-48);else if(n>=65&&n<=90)t=26*t+(n-64)}return{c:t-1,r:r-1}}function Ya(e){var r=e.c+1;var t="";for(;r;r=(r-1)/26|0)t=String.fromCharCode((r-1)%26+65)+t;return t+(e.r+1)}function Ja(e){var r=e.indexOf(":");if(r==-1)return{s:Ga(e),e:Ga(e)};return{s:Ga(e.slice(0,r)),e:Ga(e.slice(r+1))}}function Za(e,r){if(typeof r==="undefined"||typeof r==="number"){return Za(e.s,e.e)}if(typeof e!=="string")e=Ya(e);if(typeof r!=="string")r=Ya(r);return e==r?e:e+":"+r}function Ka(e){var r=Ja(e);return"$"+ja(r.s.c)+"$"+Ua(r.s.r)+":$"+ja(r.e.c)+"$"+Ua(r.e.r)}function qa(e,r){if(!e&&!(r&&r.biff<=5&&r.biff>=2))throw new Error("empty sheet name");if(/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(e))return"'"+e.replace(/'/g,"''")+"'";return e}function Qa(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||n!=10){r.e.c=r.s.c;r.e.r=r.s.r;return r}++a;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 en(e,r){var t=e.t=="d"&&r instanceof Date;if(e.z!=null)try{return e.w=$e(e.z,t?dr(r):r)}catch(a){}try{return e.w=$e((e.XF||{}).numFmtId||(t?14:0),t?dr(r):r)}catch(a){return""+r}}function rn(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(e.t=="e")return Tn[e.v]||e.v;if(r==undefined)return en(e,e.v);return en(e,r)}function tn(e,r){var t=r&&r.sheet?r.sheet:"Sheet1";var a={};a[t]=e;return{SheetNames:[t],Sheets:a}}function an(e){var r={};var t=e||{};if(t.dense)r["!data"]=[];return r}function nn(e,r,t){var a=t||{};var n=e?e["!data"]!=null:a.dense;if(b!=null&&n==null)n=b;var i=e||{};if(n&&!i["!data"])i["!data"]=[];var s=0,l=0;if(i&&a.origin!=null){if(typeof a.origin=="number")s=a.origin;else{var o=typeof a.origin=="string"?Ga(a.origin):a.origin;s=o.r;l=o.c}}var c={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(i["!ref"]){var f=Qa(i["!ref"]);c.s.c=f.s.c;c.s.r=f.s.r;c.e.c=Math.max(c.e.c,f.e.c);c.e.r=Math.max(c.e.r,f.e.r); +if(s==-1)c.e.r=s=i["!ref"]?f.e.r+1:0}else{c.s.c=c.e.c=c.s.r=c.e.r=0}var u=[],h=false;for(var d=0;d!=r.length;++d){if(!r[d])continue;if(!Array.isArray(r[d]))throw new Error("aoa_to_sheet expects an array of arrays");var p=s+d,m=""+(p+1);if(n){if(!i["!data"][p])i["!data"][p]=[];u=i["!data"][p]}for(var v=0;v!=r[d].length;++v){if(typeof r[d][v]==="undefined")continue;var g={v:r[d][v]};var w=l+v;if(c.s.r>p)c.s.r=p;if(c.s.c>w)c.s.c=w;if(c.e.r>16&255,e>>8&255,e&255]})}var _n=Cn([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,0,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);var An=yr(_n);var Tn={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"};var En={"#NULL!":0,"#DIV/0!":7,"#VALUE!":15,"#REF!":23,"#NAME?":29,"#NUM!":36,"#N/A":42,"#GETTING_DATA":43,"#WTF?":255};var Fn=["_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"];var Dn={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.sheet.macroEnabled.main+xml":"workbooks","application/vnd.ms-excel.sheet.binary.macroEnabled.main":"workbooks","application/vnd.ms-excel.addin.macroEnabled.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":"sheets","application/vnd.ms-excel.worksheet":"sheets","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"charts","application/vnd.ms-excel.chartsheet":"charts","application/vnd.ms-excel.macrosheet+xml":"macros","application/vnd.ms-excel.macrosheet":"macros","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"dialogs","application/vnd.ms-excel.dialogsheet":"dialogs","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":"strs","application/vnd.ms-excel.sharedStrings":"strs","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":"styles","application/vnd.ms-excel.styles":"styles","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.openxmlformats-officedocument.spreadsheetml.comments+xml":"comments","application/vnd.ms-excel.comments":"comments","application/vnd.ms-excel.threadedcomments+xml":"threadedcomments","application/vnd.ms-excel.person+xml":"people","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"metadata","application/vnd.ms-excel.sheetMetadata":"metadata","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+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.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":"TODO","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.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 On={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",xlam:"application/vnd.ms-excel.addin.macroEnabled.main+xml",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"},metadata:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml",xlsb:"application/vnd.ms-excel.sheetMetadata"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};function Mn(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""}}function Nn(e){var r=Mn();if(!e||!e.match)return r;var t={};(e.match(lt)||[]).forEach(function(e){var a=ft(e);switch(a[0].replace(ot,"<")){case"0?r.calcchains[0]:"";r.sst=r.strs.length>0?r.strs[0]:"";r.style=r.styles.length>0?r.styles[0]:"";r.defaults=t;delete r.calcchains;return r}function In(e,r,t){var a=cr(Dn);var n=[],i;if(!t){n[n.length]=at;n[n.length]=Bt("Types",null,{xmlns:jt.CT,"xmlns:xsd":jt.xsd,"xmlns:xsi":jt.xsi});n=n.concat([["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["data","application/vnd.openxmlformats-officedocument.model+data"],["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","application/vnd.openxmlformats-package.relationships+xml"]].map(function(e){return Bt("Default",null,{Extension:e[0],ContentType:e[1]})}))}var s=function(t){if(e[t]&&e[t].length>0){i=e[t][0];n[n.length]=Bt("Override",null,{PartName:(i[0]=="/"?"":"/")+i,ContentType:On[t][r.bookType]||On[t]["xlsx"]})}};var l=function(t){(e[t]||[]).forEach(function(e){n[n.length]=Bt("Override",null,{PartName:(e[0]=="/"?"":"/")+e,ContentType:On[t][r.bookType]||On[t]["xlsx"]})})};var o=function(r){(e[r]||[]).forEach(function(e){n[n.length]=Bt("Override",null,{PartName:(e[0]=="/"?"":"/")+e,ContentType:a[r][0]})})};s("workbooks");l("sheets");l("charts");o("themes");["strs","styles"].forEach(s);["coreprops","extprops","custprops"].forEach(o);o("vba");o("comments");o("threadedcomments");o("drawings");l("metadata");o("people");if(!t&&n.length>2){n[n.length]="";n[1]=n[1].replace("/>",">")}return n.join("")}var Pn={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",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",CMNT:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",SST:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",STY:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",THEME:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",CHART:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",CHARTEX:"http://schemas.microsoft.com/office/2014/relationships/chartEx",CS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet",WS:["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"],DS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",MS:"http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet",IMG:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",DRAW:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",XLMETA:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata",TCMNT:"http://schemas.microsoft.com/office/2017/10/relationships/threadedComment",PEOPLE:"http://schemas.microsoft.com/office/2017/10/relationships/person",CONN:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/connections",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function Rn(e){var r=e.lastIndexOf("/");return e.slice(0,r+1)+"_rels/"+e.slice(r+1)+".rels"}function Ln(e,r){var t={"!id":{}};if(!e)return t;if(r.charAt(0)!=="/"){r="/"+r}var a={};(e.match(lt)||[]).forEach(function(e){var n=ft(e);if(n[0]==="2){r[r.length]="";r[1]=r[1].replace("/>",">")}return r.join("")}function Un(e,r,t,a,n,i){if(!n)n={};if(!e["!id"])e["!id"]={};if(!e["!idx"])e["!idx"]=1;if(r<0)for(r=e["!idx"];e["!id"]["rId"+r];++r){}e["!idx"]=r+1;n.Id="rId"+r;n.Type=a;n.Target=t;if(i)n.TargetMode=i;else if([Pn.HLINK,Pn.XPATH,Pn.XMISS].indexOf(n.Type)>-1)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 zn="application/vnd.oasis.opendocument.spreadsheet";function $n(e,r){var t=$t(e);var a;var n;while(a=Wt.exec(t))switch(a[3]){case"manifest":break;case"file-entry":n=ft(a[0],false);if(n.path=="/"&&n.type!==zn)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 Wn(e){var r=[at];r.push('\n');r.push(' \n');for(var t=0;t\n');r.push("");return r.join("")}function jn(e,r,t){return[' \n',' \n'," \n"].join("")}function Hn(e,r){return[' \n',' \n'," \n"].join("")}function Vn(e){var r=[at];r.push('\n');for(var t=0;t!=e.length;++t){r.push(jn(e[t][0],e[t][1]));r.push(Hn("",e[t][0]))}r.push(jn("","Document","pkg"));r.push("");return r.join("")}function Xn(r,t){return'SheetJS '+e.version+""}var Gn=[["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"]];function Yn(e){var r={};e=Ft(e);for(var t=0;t0)r[a[1]]=pt(n[1]);if(a[2]==="date"&&r[a[1]])r[a[1]]=wr(r[a[1]])}return r}function Jn(e,r,t,a,n){if(n[e]!=null||r==null||r==="")return;n[e]=r;r=gt(r);a[a.length]=t?Bt(e,r,t):Rt(e,r)}function Zn(e,r){var t=r||{};var a=[at,Bt("cp:coreProperties",null,{"xmlns:cp":jt.CORE_PROPS,"xmlns:dc":jt.dc,"xmlns:dcterms":jt.dcterms,"xmlns:dcmitype":jt.dcmitype,"xmlns:xsi":jt.xsi})],n={};if(!e&&!t.Props)return a.join("");if(e){if(e.CreatedDate!=null)Jn("dcterms:created",typeof e.CreatedDate==="string"?e.CreatedDate:Ut(e.CreatedDate,t.WTF),{"xsi:type":"dcterms:W3CDTF"},a,n);if(e.ModifiedDate!=null)Jn("dcterms:modified",typeof e.ModifiedDate==="string"?e.ModifiedDate:Ut(e.ModifiedDate,t.WTF),{"xsi:type":"dcterms:W3CDTF"},a,n)}for(var i=0;i!=Gn.length;++i){var s=Gn[i];var l=t.Props&&t.Props[s[1]]!=null?t.Props[s[1]]:e?e[s[1]]:null;if(l===true)l="1";else if(l===false)l="0";else if(typeof l=="number")l=String(l);if(l!=null)Jn(s[0],l,null,a,n)}if(a.length>2){a[a.length]="";a[1]=a[1].replace("/>",">")}return a.join("")}var Kn=[["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"]];var qn=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function Qn(e,r,t,a){var n=[];if(typeof e=="string")n=It(e,a);else for(var i=0;i0)for(var c=0;c!==n.length;c+=2){o=+n[c+1].v;switch(n[c].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"Hojas de cálculo":;case"Werkbladen":t.Worksheets=o;t.SheetNames=s.slice(l,l+o);break;case"Named Ranges":;case"Rangos con nombre":;case"名前付き一覧":;case"Benannte Bereiche":;case"Navngivne områder":t.NamedRanges=o;t.DefinedNames=s.slice(l,l+o);break;case"Charts":;case"Diagramme":t.Chartsheets=o;t.ChartNames=s.slice(l,l+o);break;}l+=o}}function ei(e,r,t){var a={};if(!r)r={};e=Ft(e);Kn.forEach(function(t){var n=(zr(e,t[0])||[])[1];switch(t[2]){case"string":if(n)r[t[1]]=pt(n);break;case"bool":r[t[1]]=n==="true";break;case"raw":var i=Ur(e,t[0]);if(i&&i.length>0)a[t[1]]=i[1];break;}});if(a.HeadingPairs&&a.TitlesOfParts)Qn(a.HeadingPairs,a.TitlesOfParts,r,t);return r}function ri(e){var r=[],t=Bt;if(!e)e={};e.Application="SheetJS";r[r.length]=at;r[r.length]=Bt("Properties",null,{xmlns:jt.EXT_PROPS,"xmlns:vt":jt.vt});Kn.forEach(function(a){if(e[a[1]]===undefined)return;var n;switch(a[2]){case"string":n=gt(String(e[a[1]]));break;case"bool":n=e[a[1]]?"true":"false";break;}if(n!==undefined)r[r.length]=t(a[0],n)});r[r.length]=t("HeadingPairs",t("vt:vector",t("vt:variant","Worksheets")+t("vt:variant",t("vt:i4",String(e.Worksheets))),{size:2,baseType:"variant"}));r[r.length]=t("TitlesOfParts",t("vt:vector",e.SheetNames.map(function(e){return""+gt(e)+""}).join(""),{size:e.Worksheets,baseType:"lpstr"}));if(r.length>2){r[r.length]="";r[1]=r[1].replace("/>",">")}return r.join("")}var ti=/<[^<>]+>[^<]*/g;function ai(e,r){var t={},a="";var n=e.match(ti);if(n)for(var i=0;i!=n.length;++i){var s=n[i],l=ft(s);switch(ut(l[0])){case"":a=null;break;default:if(s.indexOf("");var c=o[0].slice(4),f=o[1];switch(c){case"lpstr":;case"bstr":;case"lpwstr":t[a]=pt(f);break;case"bool":t[a]=Ct(f);break;case"i1":;case"i2":;case"i4":;case"i8":;case"int":;case"uint":t[a]=parseInt(f,10);break;case"r4":;case"r8":;case"decimal":t[a]=parseFloat(f);break;case"filetime":;case"date":t[a]=wr(f);break;case"cy":;case"error":t[a]=pt(f);break;default:if(c.slice(-1)=="/")break;if(r.WTF&&typeof console!=="undefined")console.warn("Unexpected",s,c,o);}}else if(s.slice(0,2)==="2){r[r.length]="";r[1]=r[1].replace("/>",">")}return r.join("")}var ii=[2,3,48,49,131,139,140,245];var si=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,108:863,134:737,135:852,136:857,204:1257,255:16969};var n=lr({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});function i(r,t){var n=[];var i=E(1);switch(t.type){case"base64":i=D(C(r));break;case"binary":i=D(r);break;case"buffer":;case"array":i=r;break;}Ea(i,0);var s=i._R(1);var l=!!(s&136);var o=false,c=false;switch(s){case 2:break;case 3:break;case 48:o=true;l=true;break;case 49:o=true;l=true;break;case 131:break;case 139:break;case 140:c=true;break;case 245:break;default:throw new Error("DBF Unsupported Version: "+s.toString(16));}var f=0,u=521;if(s==2)f=i._R(2);i.l+=3;if(s!=2)f=i._R(4);if(f>1048576)f=1e6;if(s!=2)u=i._R(2);var h=i._R(2);var d=t.codepage||1252;if(s!=2){i.l+=16;i._R(1);if(i[i.l]!==0)d=e[i[i.l]];i.l+=1;i.l+=2}if(c)i.l+=36;var p=[],m={};var v=Math.min(i.length,s==2?521:u-10-(o?264:0));var g=c?32:11;while(i.l0){if(i[i.l]===42){i.l+=h;continue}++i.l;n[++b]=[];w=0;for(w=0;w!=p.length;++w){var k=i.slice(i.l,i.l+p[w].len);i.l+=p[w].len;Ea(k,0);var y=typeof a!=="undefined"?a.utils.decode(d,k):M(k);switch(p[w].type){case"C":if(y.trim().length)n[b][w]=y.replace(/([^\s])\s+$/,"$1");break;case"D":if(y.length===8){n[b][w]=new Date(Date.UTC(+y.slice(0,4),+y.slice(4,6)-1,+y.slice(6,8),0,0,0,0));if(!(t&&t.UTC)){n[b][w]=Nr(n[b][w])}}else n[b][w]=y;break;case"F":n[b][w]=parseFloat(y.trim());break;case"+":;case"I":n[b][w]=c?k._R(-4,"i")^2147483648:k._R(4,"i");break;case"L":switch(y.trim().toUpperCase()){case"Y":;case"T":n[b][w]=true;break;case"N":;case"F":n[b][w]=false;break;case"":;case"\0":;case"?":break;default:throw new Error("DBF Unrecognized L:|"+y+"|");}break;case"M":if(!l)throw new Error("DBF Unexpected MEMO for type "+s.toString(16));n[b][w]="##MEMO##"+(c?parseInt(y.trim(),10):k._R(4));break;case"N":y=y.replace(/\u0000/g,"").trim();if(y&&y!=".")n[b][w]=+y||0;break;case"@":n[b][w]=new Date(k._R(-8,"f")-621356832e5);break;case"T":{var x=k._R(4),S=k._R(4);if(x==0&&S==0)break;n[b][w]=new Date((x-2440588)*864e5+S);if(!(t&&t.UTC))n[b][w]=Nr(n[b][w])}break;case"Y":n[b][w]=k._R(4,"i")/1e4+k._R(4,"i")/1e4*Math.pow(2,32);break;case"O":n[b][w]=-k._R(-8,"f");break;case"B":if(o&&p[w].len==8){n[b][w]=k._R(8,"f");break};case"G":;case"P":k.l+=p[w].len;break;case"0":if(p[w].name==="_NullFlags")break;default:throw new Error("DBF Unsupported data type "+p[w].type);}}}if(s!=2)if(i.l=0)o(+l.codepage);if(l.type=="string")throw new Error("Cannot write DBF to JS string");var u=Ma();var h=cc(i,{header:1,raw:true,cellDates:true});var d=h[0],p=h.slice(1),m=i["!cols"]||[];var v=0,g=0,b=0,w=1;for(v=0;v250)A=250;_=((m[v]||{}).DBF||{}).type;if(_=="C"){if(m[v].DBF.len>A)A=m[v].DBF.len}if(C=="B"&&_=="N"){C="N";S[v]=m[v].DBF.dec;A=m[v].DBF.len}x[v]=C=="C"||_=="N"?A:c[C]||0;w+=x[v];y[v]=C}var E=u.next(32);E._W(4,318902576);E._W(4,p.length);E._W(2,296+32*b);E._W(2,w);for(v=0;v<4;++v)E._W(4,0);var F=+n[r]||3;E._W(4,0|F<<8);if(e[F]!=+l.codepage){if(l.codepage)console.error("DBF Unsupported codepage "+r+", using 1252");r=1252}for(v=0,g=0;vx[g])I=I.slice(0,x[g]);for(b=0;b":190,"?":191,"{":223};var r=new RegExp("N("+ir(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1").replace("{","\\{")+"|\\|)","gm");try{r=new RegExp("N("+ir(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm")}catch(t){}var n=function(r,t){var a=e[t];return typeof a=="number"?v(a):a};var i=function(e,r,t){var a=r.charCodeAt(0)-32<<4|t.charCodeAt(0)-48;return a==59?e:v(a)};e["|"]=254;var s=function(e){return e.replace(/\n/g," :").replace(/\r/g," =")};function l(e,r){switch(r.type){case"base64":return c(C(e),r);case"binary":return c(e,r);case"buffer":return c(_&&Buffer.isBuffer(e)?e.toString("binary"):M(e),r);case"array":return c(kr(e),r);}throw new Error("Unrecognized type "+r.type)}function c(e,t){var s=e.split(/[\n\r]+/),l=-1,c=-1,f=0,u=0,h=[];var d=[];var p=null;var m={},v=[],g=[],b=[];var w=0,k;var y={Workbook:{WBProps:{},Names:[]}};if(+t.codepage>=0)o(+t.codepage);for(;f!==s.length;++f){w=0;var x=s[f].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,i).replace(r,n);var S=x.replace(/;;/g,"\0").split(";").map(function(e){return e.replace(/\u0000/g,";")});var C=S[0],_;if(x.length>0)switch(C){case"ID":break;case"E":break;case"B":break;case"O":for(u=1;u=1&&A<=4)y.Workbook.WBProps.date1904=true}break;}break;case"W":break;case"P":switch(S[1].charAt(0)){case"P":d.push(x.slice(3).replace(/;;/g,";"));break;}break;case"NN":{var T={Sheet:0};for(u=1;u-1&&h[M][N];if(!L||!L[1])throw new Error("SYLK shared formula cannot find base");I=Is(L[1],{r:l-M,c:c-N})}if(I){if(!h[l][c])h[l][c]={t:"n",f:I};else h[l][c].f=I}if(R){if(!h[l][c])h[l][c]={t:"z"};h[l][c].c=[{a:"SheetJSYLK",t:R}]}break;case"F":var B=0;for(u=1;u0){v[l].hpt=w;v[l].hpx=$i(w)}else if(w===0)v[l].hidden=true;break;default:if(t&&t.WTF)throw new Error("SYLK bad record "+x);}if(B<1)p=null;break;default:if(t&&t.WTF)throw new Error("SYLK bad record "+x);}}if(v.length>0)m["!rows"]=v;if(g.length>0)m["!cols"]=g;g.forEach(function(e){Li(e)});if(t&&t.sheetRows)h=h.slice(0,t.sheetRows);return[h,m,y]}function f(e,r){var t=l(e,r);var a=t[0],n=t[1],i=t[2];var s=yr(r);s.date1904=(((i||{}).Workbook||{}).WBProps||{}).date1904;var o=sn(a,s);ir(n).forEach(function(e){o[e]=n[e]});var c=tn(o,r);ir(i).forEach(function(e){c[e]=i[e]});c.bookType="sylk";return c}function u(e,r,t,a,n,i){var s="C;Y"+(t+1)+";X"+(a+1)+";K";switch(e.t){case"n":s+=e.v||0;if(e.f&&!e.F)s+=";E"+Ns(e.f,{r:t,c:a});break;case"b":s+=e.v?"TRUE":"FALSE";break;case"e":s+=e.w||Tn[e.v]||e.v;break;case"d":s+=dr(wr(e.v,i),i);break;case"s":s+='"'+(e.v==null?"":String(e.v)).replace(/"/g,"").replace(/;/g,";;")+'"';break;}return s}function h(e,r,t){var a="C;Y"+(r+1)+";X"+(t+1)+";A";a+=s(e.map(function(e){return e.t}).join(""));return a}function d(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)r.wpx=Mi(r.width);if(typeof r.wpx=="number"&&!r.wch)r.wch=Ni(r.wpx);if(typeof r.wch=="number")a+=Math.round(r.wch)}if(a.charAt(a.length-1)!=" ")e.push(a)})}function p(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*zi(r.hpx)+";";if(a.length>2)e.push(a+"R"+(t+1))})}function m(e,r,t){if(!r)r={};r._formats=["General"];var a=["ID;PSheetJS;N;E"],n=[];var i=Qa(e["!ref"]||"A1"),s;var l=e["!data"]!=null;var o="\r\n";var c=(((t||{}).Workbook||{}).WBProps||{}).date1904;var f="General";a.push("P;PGeneral");var m=i.s.r,v=i.s.c,g=[];if(e["!ref"])for(m=i.s.r;m<=i.e.r;++m){if(l&&!e["!data"][m])continue;g=[];for(v=i.s.c;v<=i.e.c;++v){s=l?e["!data"][m][v]:e[ja(v)+Ua(m)];if(!s||!s.c)continue;g.push(h(s.c,m,v))}if(g.length)n.push(g.join(o))}if(e["!ref"])for(m=i.s.r;m<=i.e.r;++m){if(l&&!e["!data"][m])continue;g=[];for(v=i.s.c;v<=i.e.c;++v){s=l?e["!data"][m][v]:e[ja(v)+Ua(m)];if(!s||s.v==null&&(!s.f||s.F))continue;if((s.z||(s.t=="d"?q[14]:"General"))!=f){var b=r._formats.indexOf(s.z);if(b==-1){r._formats.push(s.z);b=r._formats.length-1;a.push("P;P"+s.z.replace(/;/g,";;"))}g.push("F;P"+b+";Y"+(m+1)+";X"+(v+1))}g.push(u(s,e,m,v,r,c))}n.push(g.join(o))}a.push("F;P0;DG0G8;M255");if(e["!cols"])d(a,e["!cols"]);if(e["!rows"])p(a,e["!rows"]);if(e["!ref"])a.push("B;Y"+(i.e.r-i.s.r+1)+";X"+(i.e.c-i.s.c+1)+";D"+[i.s.c,i.s.r,i.e.c,i.e.r].join(" "));a.push("O;L;D;B"+(c?";V4":"")+";K47;G100 0.001");delete r._formats;return a.join(o)+o+n.join(o)+o+"E"+o}return{to_workbook:f,from_sheet:m}}();var oi=function(){function e(e,t){switch(t.type){case"base64":return r(C(e),t);case"binary":return r(e,t);case"buffer":return r(_&&Buffer.isBuffer(e)?e.toString("binary"):M(e),t);case"array":return r(kr(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 l=t[i].trim().split(",");var o=l[0],c=l[1];++i;var f=t[i]||"";while((f.match(/["]/g)||[]).length&1&&i=0&&i[s].length===0)--s;var l=10,o=0;var c=0;for(;c<=s;++c){o=i[c].indexOf(" ");if(o==-1)o=i[c].length;else o++;l=Math.max(l,o)}for(c=0;c<=s;++c){n[c]=[];var f=0;e(i[c].slice(0,l).trim(),n,c,f,a);for(f=1;f<=(i[c].length-l)/10+1;++f)e(i[c].slice(l+(f-1)*10,l+f*10).trim(),n,c,f,a)}if(a.sheetRows)n=n.slice(0,a.sheetRows);return n}var t={44:",",9:"\t",59:";",124:"|"};var n={44:3,9:2,59:1,124:0};function i(e){var r={},a=false,i=0,s=0;for(;i0)g();n["!ref"]=Za(s);return n}function l(e,t){if(!(t&&t.PRN))return s(e,t);if(t.FS)return s(e,t);if(e.slice(0,4)=="sep=")return s(e,t);if(e.indexOf("\t")>=0||e.indexOf(",")>=0||e.indexOf(";")>=0)return s(e,t);return sn(r(e,t),t)}function o(e,r){var t="",n=r.type=="string"?[0,0,0,0]:Lo(e,r);switch(r.type){case"base64":t=C(e);break;case"binary":t=e;break;case"buffer":if(r.codepage==65001)t=e.toString("utf8");else if(r.codepage&&typeof a!=="undefined")t=a.utils.decode(r.codepage,e);else t=_&&Buffer.isBuffer(e)?e.toString("binary"):M(e);break;case"array":t=kr(e);break;case"string":t=e;break;default:throw new Error("Unrecognized type "+r.type);}if(n[0]==239&&n[1]==187&&n[2]==191)t=Ft(t.slice(3));else if(r.type!="string"&&r.type!="buffer"&&r.codepage==65001)t=Ft(t);else if(r.type=="binary"&&typeof a!=="undefined"&&r.codepage)t=a.utils.decode(r.codepage,a.utils.encode(28591,t));if(t.slice(0,19)=="socialcalc:version:")return ci.to_sheet(r.type=="string"?t:Ft(t),r);return l(t,r)}function c(e,r){return tn(o(e,r),r)}function f(e){var r=[];if(!e["!ref"])return"";var t=Qa(e["!ref"]),a;var n=e["!data"]!=null;for(var i=t.s.r;i<=t.e.r;++i){var s=[];for(var l=t.s.c;l<=t.e.c;++l){var o=Ya({r:i,c:l});a=n?(e["!data"][i]||[])[l]:e[o];if(!a||a.v==null){s.push(" ");continue}var c=(a.w||(rn(a),a.w)||"").slice(0,10);while(c.length<10)c+=" ";s.push(c+(l===0?" ":""))}r.push(s.join(""))}return r.join("\n")}return{to_workbook:c,to_sheet:o,from_sheet:f}}();function ui(e,r){var t=r||{},a=!!t.WTF;t.WTF=true;try{var n=li.to_workbook(e,t);t.WTF=a;return n}catch(i){t.WTF=a;if(i.message.indexOf("SYLK bad record ID")==-1&&a)throw i;return fi.to_workbook(e,r)}}function hi(e){var r={},t=e.match(lt),a=0;var n=false;if(t)for(;a!=t.length;++a){var s=ft(t[a]);switch(s[0].replace(/<\w*:/g,"<")){case"":;case"":r.shadow=1;break;case"":break;case"":;case"":r.outline=1;break;case"":break;case"":;case"":r.strike=1;break;case"":break;case"":;case"":r.u=1;break;case"":break;case"":;case"":r.b=1;break;case"":break;case"":;case"":r.i=1;break;case"":break;case"":;case"":;case"":break;case"":;case"":;case"":break;case"":;case"":;case"":break;case"":;case"":;case"":break;case"":;case"
":break;case"":n=false;break;default:if(s[0].charCodeAt(1)!==47&&!n)throw new Error("Unrecognized rich format "+s[0]);}}return r}var di=function(){function e(e){var r=zr(e,"t");if(!r)return{t:"s",v:""};var t={t:"s",v:pt(r[1])};var a=zr(e,"rPr");if(a)t.s=hi(a[1]);return t}var r=/<(?:\w+:)?r>/g,t=/<\/(?:\w+:)?r>/;return function a(n){return n.replace(r,"").split(t).map(e).filter(function(e){return e.v})}}();var pi=function Hc(){var e=/(\r\n|\n)/g;function r(e,r,t){var a=[];if(e.u)a.push("text-decoration: underline;");if(e.uval)a.push("text-underline-style:"+e.uval+";");if(e.sz)a.push("font-size:"+e.sz+"pt;");if(e.outline)a.push("text-effect: outline;");if(e.shadow)a.push("text-shadow: auto;");r.push('');if(e.b){r.push("");t.push("")}if(e.i){r.push("");t.push("")}if(e.strike){r.push("");t.push("")}var n=e.valign||"";if(n=="superscript"||n=="super")n="sup";else if(n=="subscript")n="sub";if(n!=""){r.push("<"+n+">");t.push("")}t.push("");return e}function t(t){var a=[[],t.v,[]];if(!t.v)return"";if(t.s)r(t.s,a[0],a[2]);return a[0].join("")+a[1].replace(e,"
")+a[2].join("")}return function a(e){return e.map(t).join("")}}();var mi=/<(?:\w+:)?t\b[^<>]*>([^<]*)<\/(?:\w+:)?t>/g,vi=/<(?:\w+:)?r\b[^<>]*>/;function gi(e,r){var t=r?r.cellHTML:true;var a={};if(!e)return{t:""};if(e.match(/^\s*<(?:\w+:)?t[^>]*>/)){a.t=pt(Ft(e.slice(e.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||""),true);a.r=Ft(e);if(t)a.h=kt(a.t)}else if(e.match(vi)){a.r=Ft(e);a.t=pt(Ft((Wr(e,"rPh").match(mi)||[]).join("").replace(lt,"")),true);if(t)a.h=pi(di(a.r))}return a}var bi=/<(?:\w+:)?(?:si|sstItem)>/g;var wi=/<\/(?:\w+:)?(?:si|sstItem)>/;function ki(e,r){var t=[],a="";if(!e)return t;var n=zr(e,"sst");if(n){a=n[1].replace(bi,"").split(wi);for(var i=0;i!=a.length;++i){var s=gi(a[i].trim(),r);if(s!=null)t[t.length]=s}n=ft(n[0].slice(0,n[0].indexOf(">")));t.Count=n.count;t.Unique=n.uniqueCount}return t}var yi=/^\s|\s$|[\t\n\r]/;function xi(e,r){if(!r.bookSST)return"";var t=[at];t[t.length]=Bt("sst",null,{xmlns:Ht[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 Si(e){var r=e.slice(e[0]==="#"?1:0).slice(0,6);return[parseInt(r.slice(0,2),16),parseInt(r.slice(2,4),16),parseInt(r.slice(4,6),16)]}function Ci(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().slice(1)}function _i(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 l=0,o=0,c=n+i;o=s/(c>1?2-c:c);switch(n){case r:l=((t-a)/s+6)%6;break;case t:l=(a-r)/s+2;break;case a:l=(r-t)/s+4;break;}return[l/6,o,c/2]}function Ai(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],l=6*r;var o;if(t!==0)switch(l|0){case 0:;case 6:o=n*l;s[0]+=n;s[1]+=o;break;case 1:o=n*(2-l);s[0]+=o;s[1]+=n;break;case 2:o=n*(l-2);s[1]+=n;s[2]+=o;break;case 3:o=n*(4-l);s[1]+=o;s[2]+=n;break;case 4:o=n*(l-4);s[2]+=n;s[0]+=o;break;case 5:o=n*(6-l);s[2]+=o;s[0]+=n;break;}for(var c=0;c!=3;++c)s[c]=Math.round(s[c]*255);return s}function Ti(e,r){if(r===0)return e;var t=_i(Si(e));if(r<0)t[2]=t[2]*(1+r);else t[2]=1-(1-t[2])*(1-r);return Ci(Ai(t))}var Ei=6,Fi=15,Di=1,Oi=Ei;function Mi(e){return Math.floor((e+Math.round(128/Oi)/256)*Oi)}function Ni(e){return Math.floor((e-5)/Oi*100+.5)/100}function Ii(e){return Math.round((e*Oi+5)/Oi*256)/256}function Pi(e){return Ii(Ni(Mi(e)))}function Ri(e){var r=Math.abs(e-Pi(e)),t=Oi;if(r>.005)for(Oi=Di;Oi":;case"":break;case"":;case"":n={};if(t.diagonalUp)n.diagonalUp=Ct(t.diagonalUp);if(t.diagonalDown)n.diagonalDown=Ct(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;case"":;case"":break;case"":i=false;break;default:if(a&&a.WTF){if(!i)throw new Error("unrecognized "+t[0]+" in borders")};}})}function Hi(e,r,t,a){r.Fills=[];var n={};var i=false;(e.match(lt)||[]).forEach(function(e){var t=ft(e);switch(ut(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;case"":;case"":break;case"":i=false;break;default:if(a&&a.WTF){if(!i)throw new Error("unrecognized "+t[0]+" in fills")};}})}function Vi(e,r,t,a){r.Fonts=[];var n={};var s=false;(e.match(lt)||[]).forEach(function(e){var l=ft(e);switch(ut(l[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;case"":s=false;break;case"":;case"":break;case"":s=false;break;default:if(a&&a.WTF){if(!s)throw new Error("unrecognized "+l[0]+" in fonts")};}})}function Xi(e,r,t){r.NumberFmt=[];var a=ir(q);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]=l}Ke(l,o)}}break;case"":break;default:if(t.WTF)throw new Error("unrecognized "+s[0]+" in numFmts");}}}function Gi(e){var r=[""];[[5,8],[23,26],[41,44],[50,392]].forEach(function(t){for(var a=t[0];a<=t[1];++a)if(e[a]!=null)r[r.length]=Bt("numFmt",null,{numFmtId:a,formatCode:gt(e[a])})});if(r.length===1)return"";r[r.length]="";r[0]=Bt("numFmts",null,{count:r.length-2}).replace("/>",">");return r.join("")}var Yi=["numFmtId","fillId","fontId","borderId","xfId"];var Ji=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"];function Zi(e,r,t){r.CellXf=[];var a;var n=false;(e.match(lt)||[]).forEach(function(e){var i=ft(e),s=0;switch(ut(i[0])){case"":;case"":;case"":break;case"":;case"":a=i;delete a[0];for(s=0;s392){for(s=392;s>60;--s)if(r.NumberFmt[a.numFmtId]==r.NumberFmt[s]){a.numFmtId=s;break}}r.CellXf.push(a);break;case"":break;case"":;case"":var l={};if(i.vertical)l.vertical=i.vertical;if(i.horizontal)l.horizontal=i.horizontal;if(i.textRotation!=null)l.textRotation=i.textRotation;if(i.indent)l.indent=i.indent;if(i.wrapText)l.wrapText=Ct(i.wrapText);a.alignment=l;break;case"":break;case"":break;case"":;case"":break;case"":n=true;break;case"":n=false;break;case"":;case"":break;case"":n=false;break;default:if(t&&t.WTF){if(!n)throw new Error("unrecognized "+i[0]+" in cellXfs")};}})}function Ki(e){var r=[];r[r.length]=Bt("cellXfs",null);e.forEach(function(e){r[r.length]=Bt("xf",null,e)});r[r.length]="";if(r.length===2)return"";r[0]=Bt("cellXfs",null,{count:r.length-2}).replace("/>",">");return r.join("")}var qi=function Vc(){return function e(r,t,a){var n={};if(!r)return n;r=Pr(Lr(r,""));var i;if(i=zr(r,"numFmts"))Xi(i[0],n,a);if(i=zr(r,"fonts"))Vi(i[0],n,t,a);if(i=zr(r,"fills"))Hi(i[0],n,t,a);if(i=zr(r,"borders"))ji(i[0],n,t,a);if(i=zr(r,"cellXfs"))Zi(i[0],n,a);return n}}();function Qi(e,r){var t=[at,Bt("styleSheet",null,{xmlns:Ht[0],"xmlns:vt":jt.vt})],a;if(e.SSF&&(a=Gi(e.SSF))!=null)t[t.length]=a;t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';if(a=Ki(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("")}var es=["","","","","","","","","","","",""];function rs(e,r,t){r.themeElements.clrScheme=[];var a={};(e[0].match(lt)||[]).forEach(function(e){var n=ft(e);switch(n[0]){case"":break;case"":break;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[es.indexOf(n[0])]=a;a={}}else{a.name=n[0].slice(3,n[0].length-1)}break;default:if(t&&t.WTF)throw new Error("Unrecognized "+n[0]+" in clrScheme");}})}function ts(){}function as(){}function ns(e,r,t){r.themeElements={};var a;if(!(a=Ur(e,"a:clrScheme")))throw new Error("clrScheme not found in themeElements");rs(a,r,t);if(!(a=Ur(e,"a:fontScheme")))throw new Error("fontScheme not found in themeElements");ts(a,r,t);if(!(a=Ur(e,"a:fmtScheme")))throw new Error("fmtScheme not found in themeElements");as(a,r,t)}function is(e,r){if(!e||e.length===0)e=ss();var t;var a={};if(!(t=Ur(e,"a:themeElements")))throw new Error("themeElements not found in theme");ns(t[0],a,r);a.raw=e;return a}function ss(e,r){if(r&&r.themeXLSX)return r.themeXLSX;if(e&&typeof e.raw=="string")return e.raw;var t=[at];t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]="";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 ls(e,r,t){var a={Types:[],Cell:[],Value:[]};if(!e)return a;var n=false;var i=2;var s;e.replace(lt,function(e){var r=ft(e);switch(ut(r[0])){case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":i=2;break;case"":i=2;break;case"":;case"":;case"":break;case"":n=false;break;case"\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n');return e.join("")}function cs(){}function fs(e,r,t,a){if(!e)return e;var n=a||{};var i=false,s=false;Oa(e,function l(e,r,t){if(s)return;switch(t){case 359:;case 363:;case 364:;case 366:;case 367:;case 368:;case 369:;case 370:;case 371:;case 472:;case 577:;case 578:;case 579:;case 580:;case 581:;case 582:;case 583:;case 584:;case 585:;case 586:;case 587:break;case 35:i=true;break;case 36:i=false;break;default:if(r.T){}else if(!i||n.WTF)throw new Error("Unexpected record 0x"+t.toString(16));}},n)}function us(e,r){if(!e)return"??";var t=(e.match(/]*r:id="([^<>"]*)"/)||["",""])[1];return r["!id"][t].Target}function hs(e,r,t){var a=0;($r(e,"shape")||[]).forEach(function(e){var n="";var i=true;var s=-1;var l=-1,o=-1;e.replace(lt,function(r,t){var a=ft(r);switch(ut(a[0])){case"":i=false;break;case"":s=t+r.length;break;case"":l=+e.slice(s,t).trim();break;case"":s=t+r.length;break;case"":o=+e.slice(s,t).trim();break;}return""});switch(n){case"Note":var c=gc(r,l>=0&&o>=0?Ya({r:l,c:o}):t[a].ref);if(c.c){c.c.hidden=i}++a;break;}})}function ds(e,r,t){var a=[21600,21600];var n=["m0,0l0",a[1],a[0],a[1],a[0],"0xe"].join(",");var i=[Bt("xml",null,{"xmlns:v":Vt.v,"xmlns:o":Vt.o,"xmlns:x":Vt.x,"xmlns:mv":Vt.mv}).replace(/\/>/,">"),Bt("o:shapelayout",Bt("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"})];var s=65536*e;var l=r||[];if(l.length>0)i.push(Bt("v:shapetype",[Bt("v:stroke",null,{joinstyle:"miter"}),Bt("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202",coordsize:a.join(","),"o:spt":202,path:n}));l.forEach(function(e){++s;i.push(ps(e,s))});i.push("");return i.join("")}function ps(e,r,t){var a=Ga(e[0]);var n={color2:"#BEFF82",type:"gradient"};if(n.type=="gradient")n.angle="-180";var i=n.type=="gradient"?Bt("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null;var s=Bt("v:fill",i,n);var l={on:"t",obscured:"t"};return["",s,Bt("v:shadow",null,l),Bt("v:path",null,{"o:connecttype":"none"}),'
','',"","",Rt("x:Anchor",[a.c+1,0,a.r+1,0,a.c+3,20,a.r+5,20].join(",")),Rt("x:AutoFill","False"),Rt("x:Row",String(a.r)),Rt("x:Column",String(a.c)),e[1].hidden?"":"","",""].join("")}function ms(e,r,t,a){var n=e["!data"]!=null;var i;r.forEach(function(r){var s=Ga(r.ref);if(s.r<0||s.c<0)return;if(n){if(!e["!data"][s.r])e["!data"][s.r]=[];i=e["!data"][s.r][s.c]}else i=e[r.ref];if(!i){i={t:"z"};if(n)e["!data"][s.r][s.c]=i;else e[r.ref]=i;var l=Qa(e["!ref"]||"BDWGO1000001:A1");if(l.s.r>s.r)l.s.r=s.r;if(l.e.rs.c)l.s.c=s.c;if(l.e.c=0;--f){if(!t&&i.c[f].T)return;if(t&&!i.c[f].T)i.c.splice(f,1)}if(t&&a)for(f=0;f/))return[];var t=[];var a=[];var n=zr(e,"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=zr(e,"commentList");if(i&&i[1])i[1].split(/<\/\w*:?comment>/).forEach(function(e){if(e===""||e.trim()==="")return;var n=e.match(/<(?:\w+:)?comment[^<>]*>/);if(!n)return;var i=ft(n[0]);var s={author:i.authorId&&t[i.authorId]||"sheetjsghost",ref:i.ref,guid:i.guid};var l=Ga(i.ref);if(r.sheetRows&&r.sheetRows<=l.r)return;var o=zr(e,"text");var c=!!o&&!!o[1]&&gi(o[1])||{r:"",t:"",h:""};s.r=c.r;if(c.r=="")c.t=c.h="";s.t=(c.t||"").replace(/\r\n/g,"\n").replace(/\r/g,"\n");if(r.cellHTML)s.h=c.h;a.push(s)});return a}function gs(e){var r=[at,Bt("comments",null,{xmlns:Ht[0]})];var t=[];r.push("");e.forEach(function(e){e[1].forEach(function(e){var a=gt(e.a);if(t.indexOf(a)==-1){t.push(a);r.push(""+a+"")}if(e.T&&e.ID&&t.indexOf("tc="+e.ID)==-1){t.push("tc="+e.ID);r.push(""+"tc="+e.ID+"")}})});if(t.length==0){t.push("SheetJ5");r.push("SheetJ5")}r.push("");r.push("");e.forEach(function(e){var a=0,n=[],i=0;if(e[1][0]&&e[1][0].T&&e[1][0].ID)a=t.indexOf("tc="+e[1][0].ID);e[1].forEach(function(e){if(e.a)a=t.indexOf(gt(e.a));if(e.T)++i;n.push(e.t==null?"":gt(e.t))});if(i===0){e[1].forEach(function(a){r.push('');r.push(Rt("t",a.t==null?"":gt(a.t)));r.push("")})}else{if(e[1][0]&&e[1][0].T&&e[1][0].ID)a=t.indexOf("tc="+e[1][0].ID);r.push('');var s="Comment:\n "+n[0]+"\n";for(var l=1;l")}});r.push("");if(r.length>2){r[r.length]="";r[1]=r[1].replace("/>",">")}return r.join("")}function bs(e,r){var t=[];var a=false,n={},i=0;e.replace(lt,function s(l,o){var c=ft(l);switch(ut(c[0])){case"":break;case"":if(n.t!=null)t.push(n);break;case"":;case"":n.t=e.slice(i,o).replace(/\r\n/g,"\n").replace(/\r/g,"\n");break;case"":a=true;break;case"":a=false;break;case"":;case"
":;case"":break;case"":a=false;break;default:if(!a&&r.WTF)throw new Error("unrecognized "+c[0]+" in threaded comments");}return l});return t}function ws(e,r,t){var a=[at,Bt("ThreadedComments",null,{xmlns:jt.TCMNT}).replace(/[\/]>/,">")];e.forEach(function(e){var n="";(e[1]||[]).forEach(function(i,s){if(!i.T){delete i.ID;return}if(i.a&&r.indexOf(i.a)==-1)r.push(i.a);var l={ref:e[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+t.tcid++).slice(-12)+"}"};if(s==0)n=l.id;else l.parentId=n;i.ID=l.id;if(i.a)l.personId="{54EE7950-7262-4200-6969-"+("000000000000"+r.indexOf(i.a)).slice(-12)+"}";a.push(Bt("threadedComment",Rt("text",i.t||""),l))})});a.push("");return a.join("")}function ks(e,r){var t=[];var a=false;e.replace(lt,function n(e){var n=ft(e);switch(ut(n[0])){case"":break;case"":break;case"":;case"":;case"":break;case"":a=false;break;default:if(!a&&r.WTF)throw new Error("unrecognized "+n[0]+" in threaded comments");}return e});return t}function ys(e){var r=[at,Bt("personList",null,{xmlns:jt.TCMNT,"xmlns:x":Ht[0]}).replace(/[\/]>/,">")];e.forEach(function(e,t){r.push(Bt("person",null,{displayName:e,id:"{54EE7950-7262-4200-6969-"+("000000000000"+t).slice(-12)+"}",userId:e,providerId:"None"}))});r.push("");return r.join("")}var xs="application/vnd.ms-office.vbaProject";function Ss(e){var r=Qe.utils.cfb_new({root:"R"});e.FullPaths.forEach(function(t,a){if(t.slice(-1)==="/"||!t.match(/_VBA_PROJECT_CUR/))return;var n=t.replace(/^[^\/]*/,"R").replace(/\/_VBA_PROJECT_CUR\u0000*/,"");Qe.utils.cfb_add(r,n,e.FileIndex[a].content)});return Qe.write(r)}function Cs(e,r){r.FullPaths.forEach(function(t,a){if(a==0)return;var n=t.replace(/^[\/]*[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");if(n.slice(-1)!=="/")Qe.utils.cfb_add(e,n,r.FileIndex[a].content)})}var _s=["xlsb","xlsm","xlam","biff8","xla"];function As(){return{"!type":"dialog"}}function Ts(){return{"!type":"dialog"}}function Es(){return{"!type":"macro"}}function Fs(){return{"!type":"macro"}}var Ds=function(){var e=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g;var r={r:0,c:0};function t(e,t,a,n){var i=false,s=false;if(a.length==0)s=true;else if(a.charAt(0)=="["){s=true;a=a.slice(1,-1)}if(n.length==0)i=true;else if(n.charAt(0)=="["){i=true;n=n.slice(1,-1)}var l=a.length>0?parseInt(a,10)|0:0,o=n.length>0?parseInt(n,10)|0:0;if(i)o+=r.c;else--o;if(s)l+=r.r;else--l;return t+(i?"":"$")+ja(o)+(s?"":"$")+Ua(l)}return function a(n,i){r=i;return n.replace(e,t)}}();var Os=/(^|[^._A-Z0-9])(\$?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])(\$?)(\d{1,7})(?![_.\(A-Za-z0-9])/g;try{Os=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g}catch(Ms){}var Ns=function(){return function e(r,t){return r.replace(Os,function(e,r,a,n,i,s){var l=Wa(n)-(a?0:t.c);var o=Ba(s)-(i?0:t.r);var c=i=="$"?o+1:o==0?"":"["+o+"]";var f=a=="$"?l+1:l==0?"":"["+l+"]";return r+"R"+c+"C"+f})}}();function Is(e,r){return e.replace(Os,function(e,t,a,n,i,s){return t+(a=="$"?a+n:ja(Wa(n)+r.c))+(i=="$"?i+s:Ua(Ba(s)+r.r))})}function Ps(e,r,t){var a=Ja(r),n=a.s,i=Ga(t);var s={r:i.r-n.r,c:i.c-n.c};return Is(e,s)}function Rs(e){if(e.length==1)return false;return true}function Ls(e){return e.replace(/_xlfn\./g,"")}function Bs(e){if(e.slice(0,3)=="of:")e=e.slice(3);if(e.charCodeAt(0)==61){e=e.slice(1);if(e.charCodeAt(0)==61)e=e.slice(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(/\$'([^']|'')+'/g,function(e){return e.slice(1)});e=e.replace(/\$([^\]\. #$]+)/g,function(e,r){return r.match(/^([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])?(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})?$/)?e:r});e=e.replace(/\[.(#[A-Z]*[?!])\]/g,"$1");return e.replace(/[;~]/g,",").replace(/\|/g,";")}function Us(e){var r="of:="+e.replace(Os,"$1[.$2$3$4$5]").replace(/\]:\[/g,":");return r.replace(/;/g,"|").replace(/,/g,";")}function zs(e){e=e.replace(/\$'([^']|'')+'/g,function(e){return e.slice(1)});e=e.replace(/\$([^\]\. #$]+)/g,function(e,r){return r.match(/^([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])?(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})?$/)?e:r});var r=e.split(":");var t=r[0].split(".")[0];return[t,r[0].split(".")[1]+(r.length>1?":"+(r[1].split(".")[1]||r[1].split(".")[0]):"")]}function $s(e){return e.replace(/!/,".").replace(/:/,":.")}var Ws={};var js={};var Hs=typeof Map!=="undefined";function Vs(e,r,t){var a=0,n=e.length;if(t){if(Hs?t.has(r):Object.prototype.hasOwnProperty.call(t,r)){var i=Hs?t.get(r):t[r];for(;a-1){t.width=Ii(a);t.customWidth=1}else if(r.width!=null)t.width=r.width;if(r.hidden)t.hidden=true;if(r.level!=null){t.outlineLevel=t.level=r.level}return t}function Gs(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 Ys(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){Ke(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 Js(e,r,t,a,n,i,s){try{if(a.cellNF)e.z=q[r]}catch(l){if(a.WTF)throw l}if(e.t==="z"&&!a.cellStyles)return;if(e.t==="d"&&typeof e.v==="string")e.v=wr(e.v);if((!a||a.cellText!==false)&&e.t!=="z")try{if(q[r]==null)Ke(Xe[r]||"General",r);if(e.t==="e")e.w=e.w||Tn[e.v];else if(r===0){if(e.t==="n"){if((e.v|0)===e.v)e.w=e.v.toString(10);else e.w=oe(e.v)}else if(e.t==="d"){var o=dr(e.v,!!s);if((o|0)===o)e.w=o.toString(10);else e.w=oe(o)}else if(e.v===undefined)return"";else e.w=ce(e.v,js)}else if(e.t==="d")e.w=$e(r,dr(e.v,!!s),js);else e.w=$e(r,e.v,js)}catch(l){if(a.WTF)throw l}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=Ti(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=Ti(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(l){if(a.WTF&&i.Fills)throw l}}function Zs(e,r,t){if(e&&e["!ref"]){var a=Qa(e["!ref"]);if(a.e.c=0&&t.s.c>=0)e["!ref"]=Za(t)}var qs=/<(?:\w+:)?mergeCell ref=["'][A-Z0-9:]+['"]\s*[\/]?>/g;var Qs=/<(?:\w+:)?hyperlink [^<>]*>/gm;var el=/"(\w*:\w*)"/;var rl=/<(?:\w+:)?col\b[^<>]*[\/]?>/g;var tl=/<(?:\w+:)?autoFilter[^>]*/g;var al=/<(?:\w+:)?pageMargins[^<>]*\/>/g;var nl=/<(?:\w+:)?sheetPr\b[^<>]*?\/>/;function il(e,r,t,a,n,i,s){if(!e)return e;if(!a)a={"!id":{}};if(b!=null&&r.dense==null)r.dense=b;var l={};if(r.dense)l["!data"]=[];var o={s:{r:2e6,c:2e6},e:{r:0,c:0}};var c="",f="";var u=zr(e,"sheetData");if(u){c=e.slice(0,u.index);f=e.slice(u.index+u[0].length)}else c=f=e;var h=c.match(nl);if(h)ll(h[0],l,n,t);else if(h=zr(c,"sheetPr"))ol(h[0],h[1]||"",l,n,t,s,i);var d=(c.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(d>0){var p=c.slice(d,d+50).match(el);if(p&&!(r&&r.nodim))Ks(l,p[1])}var m=zr(c,"sheetViews");if(m&&m[1])yl(m[1],n);var v=[];if(r.cellStyles){var g=c.match(rl);if(g)vl(v,g)}if(u)Cl(u[1],l,r,o,i,s,n);var w=f.match(tl);if(w)l["!autofilter"]=bl(w[0]);var k=[];var y=f.match(qs);if(y)for(d=0;d!=y.length;++d)k[d]=Qa(y[d].slice(y[d].indexOf('"')+1));var x=f.match(Qs);if(x)dl(l,x,a);var S=f.match(al);if(S)l["!margins"]=pl(ft(S[0]));var C;if(C=f.match(/legacyDrawing r:id="(.*?)"/))l["!legrel"]=C[1];if(r&&r.nodim)o.s.c=o.s.r=0;if(!l["!ref"]&&o.e.c>=o.s.c&&o.e.r>=o.s.r)l["!ref"]=Za(o);if(r.sheetRows>0&&l["!ref"]){var _=Qa(l["!ref"]);if(r.sheetRows<=+_.e.r){_.e.r=r.sheetRows-1;if(_.e.r>o.e.r)_.e.r=o.e.r;if(_.e.r<_.s.r)_.s.r=_.e.r;if(_.e.c>o.e.c)_.e.c=o.e.c;if(_.e.c<_.s.c)_.s.c=_.e.c;l["!fullref"]=l["!ref"];l["!ref"]=Za(_)}}if(v.length>0)l["!cols"]=v;if(k.length>0)l["!merges"]=k;if(a["!id"][l["!legrel"]])l["!legdrawel"]=a["!id"][l["!legrel"]];return l}function sl(e){if(e.length===0)return"";var r='';for(var t=0;t!=e.length;++t)r+='';return r+""}function ll(e,r,t,a){var n=ft(e);if(!t.Sheets[a])t.Sheets[a]={};if(n.codeName)t.Sheets[a].CodeName=pt(Ft(n.codeName))}function ol(e,r,t,a,n){ll(e.slice(0,e.indexOf(">")),t,a,n)}function cl(e,r,t,a,n){var i=false;var s={},l=null;if(a.bookType!=="xlsx"&&r.vbaraw){var o=r.SheetNames[t];try{if(r.Workbook)o=r.Workbook.Sheets[t].CodeName||o}catch(c){}i=true;s.codeName=Dt(gt(o))}if(e&&e["!outline"]){var f={summaryBelow:1,summaryRight:1};if(e["!outline"].above)f.summaryBelow=0;if(e["!outline"].left)f.summaryRight=0;l=(l||"")+Bt("outlinePr",null,f)}if(!i&&!l)return;n[n.length]=Bt("sheetPr",l,s)}var fl=["objects","scenarios","selectLockedCells","selectUnlockedCells"];var ul=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];function hl(e){var r={sheet:1};fl.forEach(function(t){if(e[t]!=null&&e[t])r[t]="1"});ul.forEach(function(t){if(e[t]!=null&&!e[t])r[t]="0"});if(e.password)r.password=crypto_CreatePasswordVerifier_Method1(e.password).toString(16).toUpperCase();return Bt("sheetProtection",null,r)}function dl(e,r,t){var a=e["!data"]!=null;for(var n=0;n!=r.length;++n){var i=ft(Ft(r[n]),true);if(!i.ref)return;var s=((t||{})["!id"]||[])[i.id];if(s){i.Target=s.Target;if(i.location)i.Target+="#"+pt(i.location)}else{i.Target="#"+pt(i.location);s={Target:i.Target,TargetMode:"Internal"}}i.Rel=s;if(i.tooltip){i.Tooltip=i.tooltip;delete i.tooltip}var l=Qa(i.ref);for(var o=l.s.r;o<=l.e.r;++o)for(var c=l.s.c;c<=l.e.c;++c){var f=ja(c)+Ua(o);if(a){if(!e["!data"][o])e["!data"][o]=[];if(!e["!data"][o][c])e["!data"][o][c]={t:"z",v:undefined};e["!data"][o][c].l=i}else{if(!e[f])e[f]={t:"z",v:undefined};e[f].l=i}}}}function pl(e){var r={};["left","right","top","bottom","header","footer"].forEach(function(t){if(e[t])r[t]=parseFloat(e[t])});return r}function ml(e){Gs(e);return Bt("pageMargins",null,e)}function vl(e,r){var t=false;for(var a=0;a!=r.length;++a){var n=ft(r[a],true);if(n.hidden)n.hidden=Ct(n.hidden);var i=parseInt(n.min,10)-1,s=parseInt(n.max,10)-1;if(n.outlineLevel)n.level=+n.outlineLevel||0;delete n.min;delete n.max;n.width=+n.width;if(!t&&n.width){t=true;Ri(n.width)}Li(n);while(i<=s)e[i++]=yr(n)}}function gl(e,r){var t=[""],a;for(var n=0;n!=r.length;++n){if(!(a=r[n]))continue;t[t.length]=Bt("col",null,Xs(n,a))}t[t.length]="";return t.join("")}function bl(e){var r={ref:(e.match(/ref="([^"]*)"/)||[])[1]};return r}function wl(e,r,t,a){var n=typeof e.ref=="string"?e.ref:Za(e.ref);if(!t.Workbook)t.Workbook={Sheets:[]};if(!t.Workbook.Names)t.Workbook.Names=[];var i=t.Workbook.Names;var s=Ja(n);if(s.s.r==s.e.r){s.e.r=Ja(r["!ref"]).e.r;n=Za(s)}for(var l=0;la-z][^<>]*)?\/?>/g;function yl(e,r){if(!r.Views)r.Views=[{}];(e.match(kl)||[]).forEach(function(e,t){var a=ft(e);if(!r.Views[t])r.Views[t]={};if(+a.zoomScale)r.Views[t].zoom=+a.zoomScale;if(a.rightToLeft&&Ct(a.rightToLeft))r.Views[t].RTL=true})}function xl(e,r,t,a){var n={workbookViewId:"0"};if((((a||{}).Workbook||{}).Views||[])[0])n.rightToLeft=a.Workbook.Views[0].RTL?"1":"0";return Bt("sheetViews",Bt("sheetView",null,n),{})}function Sl(e,r,t,a,n,i,s){if(e.c)t["!comments"].push([r,e.c]);if((e.v===undefined||e.t==="z"&&!(a||{}).sheetStubs)&&typeof e.f!=="string"&&typeof e.z=="undefined")return"";var l="";var o=e.t,c=e.v;if(e.t!=="z")switch(e.t){case"b":l=e.v?"1":"0";break;case"n":if(isNaN(e.v)){e.t="e";l=Tn[e.v=36]}else if(!isFinite(e.v)){e.t="e";l=Tn[e.v=7]}else l=""+e.v;break;case"e":l=Tn[e.v];break;case"d":if(a&&a.cellDates){var f=wr(e.v,s);l=f.toISOString();if(f.getUTCFullYear()<1900)l=l.slice(l.indexOf("T")+1).replace("Z","")}else{e=yr(e);e.t="n";l=""+(e.v=dr(wr(e.v,s),s))}if(typeof e.z==="undefined")e.z=q[14];break;default: +l=e.v;break;}var u=e.t=="z"||e.v==null?"":Rt("v",gt(l)),h={r:r};var d=Ys(a.cellXfs,e,a);if(d!==0)h.s=d;switch(e.t){case"n":break;case"d":h.t="d";break;case"b":h.t="b";break;case"e":h.t="e";break;case"z":break;default:if(e.v==null){delete e.t;break}if(e.v.length>32767)throw new Error("Text length must not exceed 32767 characters");if(a&&a.bookSST){u=Rt("v",""+Vs(a.Strings,e.v,a.revStrings));h.t="s";break}else h.t="str";break;}if(e.t!=o){e.t=o;e.v=c}if(typeof e.f=="string"&&e.f){var p=e.F&&e.F.slice(0,r.length)==r?{t:"array",ref:e.F}:null;u=Bt("f",gt(e.f),p)+(e.v!=null?u:"")}if(e.l){e.l.display=gt(l);t["!links"].push([r,e.l])}if(e.D)h.cm=1;return Bt("c",u,h)}var Cl=function(){var e=/<(?:\w+:)?c[ \/>]/,r=/<\/(?:\w+:)?row>/;var t=/r=["']([^"']*)["']/;var a=/ref=["']([^"']*)["']/;return function n(i,s,l,o,c,f,u){var h=0,d="",p=[],m=[],v=0,g=0,b=0,w="",k;var y,x=0,S=0;var C,_;var A=0,T=0;var E=Array.isArray(f.CellXf),F;var D=[];var O=[];var M=s["!data"]!=null;var N=[],I={},P=false;var R=!!l.sheetStubs;var L=!!((u||{}).WBProps||{}).date1904;for(var B=i.split(r),U=0,z=B.length;U!=z;++U){d=B[U].trim();var $=d.length;if($===0)continue;var W=0;e:for(h=0;h<$;++h)switch(d[h]){case">":if(d[h-1]!="/"){++h;break e}if(l&&l.cellStyles){y=ft(d.slice(W,h),true);x=y.r!=null?parseInt(y.r,10):x+1;S=-1;if(l.sheetRows&&l.sheetRows=h)break;y=ft(d.slice(W,h),true);x=y.r!=null?parseInt(y.r,10):x+1;S=-1;if(l.sheetRows&&l.sheetRowsx-1)o.s.r=x-1;if(o.e.r":"")+d;if(m!=null&&m.length===2){v=0;w=m[1];for(g=0;g!=w.length;++g){if((b=w.charCodeAt(g)-64)<1||b>26)break;v=26*v+b}--v;S=v}else++S;for(g=0;g!=d.length;++g)if(d.charCodeAt(g)===62)break;++g;y=ft(d.slice(0,g),true);if(!y.r)y.r=Ya({r:x-1,c:S});w=d.slice(g);k={t:""};if((m=zr(w,"v"))!=null&&m[1]!=="")k.v=pt(m[1]);if(l.cellFormula){if((m=zr(w,"f"))!=null){if(m[1]==""){if(m[0].indexOf('t="shared"')>-1){_=ft(m[0]);if(O[_.si])k.f=Ps(O[_.si][1],O[_.si][2],y.r)}}else{k.f=pt(Ft(m[1]),true);if(!l.xlfn)k.f=Ls(k.f);if(m[0].indexOf('t="array"')>-1){k.F=(w.match(a)||[])[1];if(k.F.indexOf(":")>-1)D.push([Qa(k.F),k.F])}else if(m[0].indexOf('t="shared"')>-1){_=ft(m[0]);var H=pt(Ft(m[1]));if(!l.xlfn)H=Ls(H);O[parseInt(_.si,10)]=[_,H,y.r]}}}else if(m=w.match(/]*\/>/)){_=ft(m[0]);if(O[_.si])k.f=Ps(O[_.si][1],O[_.si][2],y.r)}var V=Ga(y.r);for(g=0;g=D[g][0].s.r&&V.r<=D[g][0].e.r)if(V.c>=D[g][0].s.c&&V.c<=D[g][0].e.c)k.F=D[g][1]}if(y.t==null&&k.v===undefined){if(k.f||k.F){k.v=0;k.t="n"}else if(!R)continue;else k.t="z"}else k.t=y.t||"n";if(o.s.c>S)o.s.c=S;if(o.e.cG.r)o.s.r=G.r;if(o.e.r0)s["!rows"]=N}}();function _l(e,r,t,a){var n=[],i=[],s=Qa(e["!ref"]),l="",o,c="",f=[],u=0,h=0,d=e["!rows"];var p=e["!data"]!=null;var m={r:c},v,g=-1;var b=(((a||{}).Workbook||{}).WBProps||{}).date1904;for(h=s.s.c;h<=s.e.c;++h)f[h]=ja(h);for(u=s.s.r;u<=s.e.r;++u){i=[];c=Ua(u);for(h=s.s.c;h<=s.e.c;++h){o=f[h]+c;var w=p?(e["!data"][u]||[])[h]:e[o];if(w===undefined)continue;if((l=Sl(w,o,e,r,t,a,b))!=null)i.push(l)}if(i.length>0||d&&d[u]){m={r:c};if(d&&d[u]){v=d[u];if(v.hidden)m.hidden=1;g=-1;if(v.hpx)g=zi(v.hpx);else if(v.hpt)g=v.hpt;if(g>-1){m.ht=g;m.customHeight=1}if(v.level){m.outlineLevel=v.level}}n[n.length]=Bt("row",i.join(""),m)}}if(d)for(;u-1){m.ht=g;m.customHeight=1}if(v.level){m.outlineLevel=v.level}n[n.length]=Bt("row","",m)}}return n.join("")}function Al(e,r,t,a){var n=[at,Bt("worksheet",null,{xmlns:Ht[0],"xmlns:r":jt.r})];var i=t.SheetNames[e],s=0,l="";var o=t.Sheets[i];if(o==null)o={};var c=o["!ref"]||"A1";var f=Qa(c);if(f.e.c>16383||f.e.r>1048575){if(r.WTF)throw new Error("Range "+c+" exceeds format limit A1:XFD1048576");f.e.c=Math.min(f.e.c,16383);f.e.r=Math.min(f.e.c,1048575);c=Za(f)}if(!a)a={};o["!comments"]=[];var u=[];cl(o,t,e,r,n);n[n.length]=Bt("dimension",null,{ref:c});n[n.length]=xl(o,r,e,t);if(r.sheetFormat)n[n.length]=Bt("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]=gl(o,o["!cols"]);n[s=n.length]="";o["!links"]=[];if(o["!ref"]!=null){l=_l(o,r,e,t,a);if(l.length>0)n[n.length]=l}if(n.length>s+1){n[n.length]="";n[s]=n[s].replace("/>",">")}if(o["!protect"])n[n.length]=hl(o["!protect"]);if(o["!autofilter"]!=null)n[n.length]=wl(o["!autofilter"],o,t,e);if(o["!merges"]!=null&&o["!merges"].length>0)n[n.length]=sl(o["!merges"]);var h=-1,d,p=-1;if(o["!links"].length>0){n[n.length]="";o["!links"].forEach(function(e){if(!e[1].Target)return;d={ref:e[0]};if(e[1].Target.charAt(0)!="#"){p=Un(a,-1,gt(e[1].Target).replace(/#[\s\S]*$/,""),Pn.HLINK);d["r:id"]="rId"+p}if((h=e[1].Target.indexOf("#"))>-1)d.location=gt(e[1].Target.slice(h+1));if(e[1].Tooltip)d.tooltip=gt(e[1].Tooltip);d.display=e[1].display;n[n.length]=Bt("hyperlink",null,d)});n[n.length]=""}delete o["!links"];if(o["!margins"]!=null)n[n.length]=ml(o["!margins"]);if(!r||r.ignoreEC||r.ignoreEC==void 0)n[n.length]=Rt("ignoredErrors",Bt("ignoredError",null,{numberStoredAsText:1,sqref:c}));if(u.length>0){p=Un(a,-1,"../drawings/drawing"+(e+1)+".xml",Pn.DRAW);n[n.length]=Bt("drawing",null,{"r:id":"rId"+p});o["!drawing"]=u}if(o["!comments"].length>0){p=Un(a,-1,"../drawings/vmlDrawing"+(e+1)+".vml",Pn.VML);n[n.length]=Bt("legacyDrawing",null,{"r:id":"rId"+p});o["!legacy"]=p}if(n.length>1){n[n.length]="";n[1]=n[1].replace("/>",">")}return n.join("")}function Tl(e){var r=[];var t=e.match(/^/);var a;(e.match(/\/]*>([^<])<\/c:v><\/c:pt>/gm)||[]).forEach(function(e){var a=e.match(/\/]*>([^<]*)<\/c:v><\/c:pt>/);if(!a)return;r[+a[1]]=t?+a[2]:a[2]});var n=pt((Ur(e,"c:formatCode")||["","General"])[1]);(Rr(e,"","")||[]).forEach(function(e){a=e.replace(/<[^<>]*>/g,"")});return[r,n,a]}function El(e,r,t,a,n,i){var s=i||{"!type":"chart"};if(!e)return i;var l=0,o=0,c="A";var f={s:{r:2e6,c:2e6},e:{r:0,c:0}};(Rr(e,"","")||[]).forEach(function(e){var r=Tl(e);f.s.r=f.s.c=0;f.e.c=l;c=ja(l);r[0].forEach(function(e,t){if(s["!data"]){if(!s["!data"][t])s["!data"][t]=[];s["!data"][t][l]={t:"n",v:e,z:r[1]}}else s[c+Ua(t)]={t:"n",v:e,z:r[1]};o=t});if(f.e.r0)s["!ref"]=Za(f);return s}function Fl(e,r,t,a,n){if(!e)return e;if(!a)a={"!id":{}};var i={"!type":"chart","!drawel":null,"!rel":""};var s;var l=e.match(nl);if(l)ll(l[0],i,n,t);if(s=e.match(/drawing r:id="(.*?)"/))i["!rel"]=s[1];if(a["!id"][i["!rel"]])i["!drawel"]=a["!id"][i["!rel"]];return i}var Dl=[["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 Ol=[["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 Ml=[];var Nl=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function Il(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]]=Ct(a[i[0]]);break;case"int":if(typeof a[i[0]]=="string")a[i[0]]=parseInt(a[i[0]],10);break;}}}}function Pl(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]]=Ct(e[a[0]]);break;case"int":if(typeof e[a[0]]=="string")e[a[0]]=parseInt(e[a[0]],10);break;}}}function Rl(e){Pl(e.WBProps,Dl);Pl(e.CalcPr,Nl);Il(e.WBView,Ol);Il(e.Sheets,Ml);js.date1904=Ct(e.WBProps.date1904)}function Ll(e){if(!e.Workbook)return"false";if(!e.Workbook.WBProps)return"false";return Ct(e.Workbook.WBProps.date1904)?"true":"false"}var Bl=":][*?/\\".split("");function Ul(e,r){try{if(e=="")throw new Error("Sheet name cannot be blank");if(e.length>31)throw new Error("Sheet name cannot exceed 31 chars");if(e.charCodeAt(0)==39||e.charCodeAt(e.length-1)==39)throw new Error("Sheet name cannot start or end with apostrophe (')");if(e.toLowerCase()=="history")throw new Error("Sheet name cannot be 'History'");Bl.forEach(function(r){if(e.indexOf(r)==-1)return;throw new Error("Sheet name cannot contain : \\ / ? * [ ]")})}catch(t){if(r)return false;throw t}return true}function zl(e,r,t){e.forEach(function(a,n){Ul(a);for(var i=0;i22)throw new Error("Bad Code Name: Worksheet"+s)}})}function $l(e){if(!e||!e.SheetNames||!e.Sheets)throw new Error("Invalid Workbook");if(!e.SheetNames.length)throw new Error("Workbook is empty");var r=e.Workbook&&e.Workbook.Sheets||[];zl(e.SheetNames,r,!!e.vbaraw);for(var t=0;t":break;case"":;case"":break;case"":break;case"":Dl.forEach(function(e){if(f[e[0]]==null)return;switch(e[2]){case"bool":t.WBProps[e[0]]=Ct(f[e[0]]);break;case"int":t.WBProps[e[0]]=parseInt(f[e[0]],10);break;default:t.WBProps[e[0]]=f[e[0]];}});if(f.codeName)t.WBProps.CodeName=Ft(f.codeName);break;case"":break;case"":break;case"":;case"":break;case"":delete f[0];t.WBView.push(f);break;case"":break;case"":;case"":break;case"":break;case"":break;case"":;case"":break;case"":break;case"":;case"":a=false;break;case"":{i.Ref=pt(Ft(e.slice(s,c)));t.Names.push(i)}break;case"":break;case"":delete f[0];t.CalcPr=f;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=true;break;case"":a=false;break;case"0;var a={codeName:"ThisWorkbook"};if(e.Workbook&&e.Workbook.WBProps){Dl.forEach(function(r){if(e.Workbook.WBProps[r[0]]==null)return;if(e.Workbook.WBProps[r[0]]==r[1])return;a[r[0]]=e.Workbook.WBProps[r[0]]});if(e.Workbook.WBProps.CodeName){a.codeName=e.Workbook.WBProps.CodeName;delete a.CodeName}}r[r.length]=Bt("workbookPr",null,a);var n=e.Workbook&&e.Workbook.Sheets||[];var i=0;if(n&&n[0]&&!!n[0].Hidden){r[r.length]="";for(i=0;i!=e.SheetNames.length;++i){if(!n[i])break;if(!n[i].Hidden)break}if(i==e.SheetNames.length)i=0;r[r.length]='';r[r.length]=""}r[r.length]="";for(i=0;i!=e.SheetNames.length;++i){var s={name:gt(e.SheetNames[i].slice(0,31))};s.sheetId=""+(i+1);s["r:id"]="rId"+(i+1);if(n[i])switch(n[i].Hidden){case 1:s.state="hidden";break;case 2:s.state="veryHidden";break;}r[r.length]=Bt("sheet",null,s)}r[r.length]="";if(t){r[r.length]="";if(e.Workbook&&e.Workbook.Names)e.Workbook.Names.forEach(function(e){var t={name:e.Name};if(e.Comment)t.comment=e.Comment;if(e.Sheet!=null)t.localSheetId=""+e.Sheet;if(e.Hidden)t.hidden="1";if(!e.Ref)return;r[r.length]=Bt("definedName",gt(e.Ref),t)});r[r.length]=""}if(r.length>2){r[r.length]="";r[1]=r[1].replace("/>",">")}return r.join("")}function Vl(e,r,t){if(r.slice(-4)===".bin")return parse_wb_bin(e,t);return jl(e,t)}function Xl(e,r,t,a,n,i,s,l){if(r.slice(-4)===".bin")return parse_ws_bin(e,a,t,n,i,s,l);return il(e,a,t,n,i,s,l)}function Gl(e,r,t,a,n,i,s,l){if(r.slice(-4)===".bin")return parse_cs_bin(e,a,t,n,i,s,l);return Fl(e,a,t,n,i,s,l)}function Yl(e,r,t,a,n,i,s,l){if(r.slice(-4)===".bin")return Es(e,a,t,n,i,s,l);return Fs(e,a,t,n,i,s,l)}function Jl(e,r,t,a,n,i,s,l){if(r.slice(-4)===".bin")return As(e,a,t,n,i,s,l);return Ts(e,a,t,n,i,s,l)}function Zl(e,r,t,a){if(r.slice(-4)===".bin")return parse_sty_bin(e,t,a);return qi(e,t,a)}function Kl(e,r,t){if(r.slice(-4)===".bin")return parse_sst_bin(e,t);return ki(e,t)}function ql(e,r,t){if(r.slice(-4)===".bin")return parse_comments_bin(e,t);return vs(e,t)}function Ql(e,r,t){if(r.slice(-4)===".bin")return parse_cc_bin(e,r,t);return parse_cc_xml(e,r,t)}function eo(e,r,t,a){if(t.slice(-4)===".bin")return fs(e,r,t,a);return cs(e,r,t,a)}function ro(e,r,t){if(r.slice(-4)===".bin")return parse_xlmeta_bin(e,r,t);return ls(e,r,t)}function to(e,r){var t=r||{};var a=t.dense!=null?t.dense:b;var n={};if(a)n["!data"]=[];e=Lr(e,"");var i=e.match(/");var s=e.match(/<\/table/i);var l=i.index,o=s&&s.index||e.length;var c=Mr(e.slice(l,o),/(:?]*>)/i,"");var f=-1,u=0,h=0,d=0;var p={s:{r:1e7,c:1e7},e:{r:0,c:0}};var m=[];for(l=0;l/i);for(o=0;o"))>-1)y=y.slice(x+1);for(var S=0;S")));d=_.colspan?+_.colspan:1;if((h=+_.rowspan)>1||d>1)m.push({s:{r:f,c:u},e:{r:f+(h||1)-1,c:u+d-1}});var A=_.t||_["data-t"]||"";if(!y.length){u+=d;continue}y=Ot(y);if(p.s.r>f)p.s.r=f;if(p.e.ru)p.s.c=u;if(p.e.ct||n[u].s.c>o)continue;if(n[u].e.r1)s.rowspan=c;if(f>1)s.colspan=f;if(a.editable)p=''+p+"";else if(d){s["data-t"]=d&&d.t||"z";if(d.v!=null)s["data-v"]=kt(d.v instanceof Date?d.v.toISOString():d.v);if(d.z!=null)s["data-z"]=d.z;if(d.l&&(d.l.Target||"#").charAt(0)!="#")p=''+p+""}s.id=(a.id||"sjs")+"-"+h;i.push(Bt("td",p,s))}var m="";return m+i.join("")+""}var no='SheetJS Table Export';var io="";function so(e,r){var t=jr(e,"table");if(!t||t.length==0)throw new Error("Invalid HTML: could not find
");if(t.length==1){var a=tn(to(t[0],r),r);a.bookType="html";return a}var n=wc();t.forEach(function(e,t){kc(n,to(e,r),"Sheet"+(t+1))});n.bookType="html";return n}function lo(e,r,t){var a=[];return a.join("")+""}function oo(e,r){var t=r||{};var a=t.header!=null?t.header:no;var n=t.footer!=null?t.footer:io;var i=[a];var s=Ja(e["!ref"]||"A1");i.push(lo(e,s,t));if(e["!ref"])for(var l=s.s.r;l<=s.e.r;++l)i.push(ao(e,s,l,t));i.push("
"+n);return i.join("")}function co(e,r,t){var a=r.rows;if(!a){throw"Unsupported origin when "+r.tagName+" is not a TABLE"}var n=t||{};var i=e["!data"]!=null;var s=0,l=0;if(n.origin!=null){if(typeof n.origin=="number")s=n.origin;else{var o=typeof n.origin=="string"?Ga(n.origin):n.origin;s=o.r;l=o.c}}var c=Math.min(n.sheetRows||1e7,a.length);var f={s:{r:0,c:0},e:{r:s,c:l}};if(e["!ref"]){var u=Ja(e["!ref"]);f.s.r=Math.min(f.s.r,u.s.r);f.s.c=Math.min(f.s.c,u.s.c);f.e.r=Math.max(f.e.r,u.e.r);f.e.c=Math.max(f.e.c,u.e.c);if(s==-1)f.e.r=s=u.e.r+1}var h=[],d=0;var p=e["!rows"]||(e["!rows"]=[]);var m=0,v=0,g=0,b=0,w=0,k=0;if(!e["!cols"])e["!cols"]=[];for(;m1||k>1)h.push({s:{r:v+s,c:b+l},e:{r:v+s+(w||1)-1,c:b+l+(k||1)-1}});var T={t:"s",v:C};var E=S.getAttribute("data-t")||S.getAttribute("t")||"";if(C!=null){if(C.length==0)T.t=E||"z";else if(n.raw||C.trim().length==0||E=="s"){}else if(C==="TRUE")T={t:"b",v:true};else if(C==="FALSE")T={t:"b",v:false};else if(!isNaN(Sr(C)))T={t:"n",v:Sr(C)};else if(!isNaN(Or(C).getDate())){T={t:"d",v:wr(C)};if(n.UTC)T.v=Ir(T.v);if(!n.cellDates)T={t:"n",v:dr(T.v)};T.z=n.dateNF||q[14]}}if(T.z===undefined&&_!=null)T.z=_;var F="",D=S.getElementsByTagName("A");if(D&&D.length)for(var O=0;O=c)e["!fullref"]=Za((f.e.r=a.length-m+v-1+s,f));return e}function fo(e,r){var t=r||{};var a={};if(t.dense)a["!data"]=[];return co(a,e,r)}function uo(e,r){var t=tn(fo(e,r),r);return t}function ho(e){var r="";var t=po(e);if(t)r=t(e).getPropertyValue("display");if(!r)r=e.style&&e.style.display;return r==="none"}function po(e){if(e.ownerDocument.defaultView&&typeof e.ownerDocument.defaultView.getComputedStyle==="function")return e.ownerDocument.defaultView.getComputedStyle;if(typeof getComputedStyle==="function")return getComputedStyle;return null}function mo(e){var r=e.replace(/[\t\r\n]/g," ").trim().replace(/ +/g," ").replace(//g," ").replace(//g,function(e,r){return Array(parseInt(r,10)+1).join(" ")}).replace(/]*\/>/g,"\t").replace(//g,"\n");var t=pt(r.replace(/<[^<>]*>/g,""));return[t]}function vo(e,r,t){var a=t||{};var n=$t(e);Wt.lastIndex=0;n=Pr(Lr(n,""));var i,s,l="",o="",c,f=0,u=-1,h=false,d="";while(i=Wt.exec(n)){switch(i[3]=i[3].replace(/_[\s\S]*$/,"")){case"number-style":;case"currency-style":;case"percentage-style":;case"date-style":;case"time-style":;case"text-style":if(i[1]==="/"){h=false;if(s["truncate-on-overflow"]=="false"){if(l.match(/h/))l=l.replace(/h+/,"[$&]");else if(l.match(/m/))l=l.replace(/m+/,"[$&]");else if(l.match(/s/))l=l.replace(/s+/,"[$&]")}a[s.name]=l;l=""}else if(i[0].charAt(i[0].length-2)!=="/"){h=true;l="";s=ft(i[0],false)}break;case"boolean-style":if(i[1]==="/"){h=false;a[s.name]="General";l=""}else if(i[0].charAt(i[0].length-2)!=="/"){h=true;l="";s=ft(i[0],false)}break;case"boolean":l+="General";break;case"text":if(i[1]==="/"){d=n.slice(u,Wt.lastIndex-i[0].length);if(d=="%"&&s[0]=="=0")l=a[c["apply-style-name"]]+";"+l;else console.error("ODS number format may be incorrect: "+c["condition"]);break;case"number":if(i[1]==="/")break;c=ft(i[0],false);o="";o+=xr("0",+c["min-integer-digits"]||1);if(Ct(c["grouping"]))o=he(xr("#",Math.max(0,4-o.length))+o);if(+c["min-decimal-places"]||+c["decimal-places"])o+=".";if(+c["min-decimal-places"])o+=xr("0",+c["min-decimal-places"]||1);if(+c["decimal-places"]-(+c["min-decimal-places"]||0))o+=xr("0",+c["decimal-places"]-(+c["min-decimal-places"]||0));l+=o;break;case"embedded-text":if(i[1]==="/"){if(f==0)l+='"'+n.slice(u,Wt.lastIndex-i[0].length).replace(/"/g,'""')+'"';else l=l.slice(0,f)+'"'+n.slice(u,Wt.lastIndex-i[0].length).replace(/"/g,'""')+'"'+l.slice(f)}else if(i[0].charAt(i[0].length-2)!=="/"){u=Wt.lastIndex;f=-+ft(i[0],false)["position"]||0}break;}}return a}function go(e,r,t){var a=r||{};if(b!=null&&a.dense==null)a.dense=b;var n=$t(e);var i=[],s;var l;var o,c="",f=0;var u;var h;var d={},p=[];var m={};if(a.dense)m["!data"]=[];var v,g;var w={value:""};var k="",y=0,x,S="",C=0;var _=[],A=[];var T=-1,E=-1,F={s:{r:1e6,c:1e7},e:{r:0,c:0}};var D=0;var O=t||{},M={};var N=[],I={},P=0,R=0;var L=[],B=1,U=1;var z=[];var $={Names:[],WBProps:{}};var W={};var j=["",""];var H=[],V={};var X="",G=0;var Y=false,J=false;var Z=0;Wt.lastIndex=0;n=Pr(Lr(n,""));while(v=Wt.exec(n))switch(v[3]=v[3].replace(/_[\s\S]*$/,"")){case"table":;case"工作表":if(v[1]==="/"){if(F.e.c>=F.s.c&&F.e.r>=F.s.r)m["!ref"]=Za(F);else m["!ref"]="A1:A1";if(a.sheetRows>0&&a.sheetRows<=F.e.r){m["!fullref"]=m["!ref"];F.e.r=a.sheetRows-1;m["!ref"]=Za(F)}if(N.length)m["!merges"]=N;if(L.length)m["!rows"]=L;u.name=u["名称"]||u.name;if(typeof JSON!=="undefined")JSON.stringify(u);p.push(u.name);d[u.name]=m;J=false}else if(v[0].charAt(v[0].length-2)!=="/"){u=ft(v[0],false);T=E=-1;F.s.r=F.s.c=1e7;F.e.r=F.e.c=0;m={};if(a.dense)m["!data"]=[];N=[];L=[];J=true}break;case"table-row-group":if(v[1]==="/")--D;else++D;break;case"table-row":;case"行":if(v[1]==="/"){T+=B;B=1;break}h=ft(v[0],false);if(h["行号"])T=h["行号"]-1;else if(T==-1)T=0;B=+h["number-rows-repeated"]||1;if(B<10)for(Z=0;Z0)L[T+Z]={level:D};E=-1;break;case"covered-table-cell":if(v[1]!=="/")++E;if(a.sheetStubs){if(a.dense){if(!m["!data"][T])m["!data"][T]=[];m["!data"][T][E]={t:"z"}}else m[Ya({r:T,c:E})]={t:"z"}}k="";_=[];break;case"table-cell":;case"数据":if(v[0].charAt(v[0].length-2)==="/"){++E;w=ft(v[0],false);U=parseInt(w["number-columns-repeated"]||"1",10);g={t:"z",v:null};if(w.formula&&a.cellFormula!=false)g.f=Bs(pt(w.formula));if(w["style-name"]&&M[w["style-name"]])g.z=M[w["style-name"]];if((w["数据类型"]||w["value-type"])=="string"){g.t="s";g.v=pt(w["string-value"]||"");if(a.dense){if(!m["!data"][T])m["!data"][T]=[];m["!data"][T][E]=g}else{m[ja(E)+Ua(T)]=g}}E+=U-1}else if(v[1]!=="/"){++E;k=S="";y=C=0;_=[];A=[];U=1;var K=B?T+B-1:T;if(E>F.e.c)F.e.c=E;if(EF.e.r)F.e.r=K;w=ft(v[0],false);H=[];V={};g={t:w["数据类型"]||w["value-type"],v:null};if(w["style-name"]&&M[w["style-name"]])g.z=M[w["style-name"]];if(a.cellFormula){if(w.formula)w.formula=pt(w.formula);if(w["number-matrix-columns-spanned"]&&w["number-matrix-rows-spanned"]){P=parseInt(w["number-matrix-rows-spanned"],10)||0;R=parseInt(w["number-matrix-columns-spanned"],10)||0;I={s:{r:T,c:E},e:{r:T+P-1,c:E+R-1}};g.F=Za(I);z.push([I,g.F])}if(w.formula)g.f=Bs(w.formula);else for(Z=0;Z=z[Z][0].s.r&&T<=z[Z][0].e.r)if(E>=z[Z][0].s.c&&E<=z[Z][0].e.c)g.F=z[Z][1]}if(w["number-columns-spanned"]||w["number-rows-spanned"]){P=parseInt(w["number-rows-spanned"],10)||0;R=parseInt(w["number-columns-spanned"],10)||0;I={s:{r:T,c:E},e:{r:T+P-1,c:E+R-1}};N.push(I)}if(w["number-columns-repeated"])U=parseInt(w["number-columns-repeated"],10);switch(g.t){case"boolean":g.t="b";g.v=Ct(w["boolean-value"])||+w["boolean-value"]>=1;break;case"float":g.t="n";g.v=parseFloat(w.value);if(a.cellDates&&g.z&&Re(g.z)){g.v=pr(g.v+($.WBProps.date1904?1462:0));g.t=typeof g.v=="number"?"n":"d"}break;case"percentage":g.t="n";g.v=parseFloat(w.value);break;case"currency":g.t="n";g.v=parseFloat(w.value);break;case"date":g.t="d";g.v=wr(w["date-value"],$.WBProps.date1904);if(!a.cellDates){g.t="n";g.v=dr(g.v,$.WBProps.date1904)}if(!g.z)g.z="m/d/yy";break;case"time":g.t="n";g.v=mr(w["time-value"])/86400;if(a.cellDates){g.v=pr(g.v);g.t=typeof g.v=="number"?"n":"d"}if(!g.z)g.z="HH:MM:SS";break;case"number":g.t="n";g.v=parseFloat(w["数据数值"]);break;default:if(g.t==="string"||g.t==="text"||!g.t){g.t="s";if(w["string-value"]!=null){k=pt(w["string-value"]);_=[]}}else throw new Error("Unsupported value type "+g.t);}}else{Y=false;if(g.t==="s"){g.v=k||"";if(_.length)g.R=_;Y=y==0}if(W.Target)g.l=W;if(H.length>0){g.c=H;H=[]}if(k&&a.cellText!==false)g.w=k;if(Y){g.t="z";delete g.v}if(!Y||a.sheetStubs){if(!(a.sheetRows&&a.sheetRows<=T)){for(var q=0;q0)m["!data"][T+q][E+U]=yr(g)}else{m[Ya({r:T+q,c:E})]=g;while(--U>0)m[Ya({ +r:T+q,c:E+U})]=yr(g)}if(F.e.c<=E)F.e.c=E}}}U=parseInt(w["number-columns-repeated"]||"1",10);E+=U-1;U=0;g={};k="";_=[]}W={};break;case"document":;case"document-content":;case"电子表格文档":;case"spreadsheet":;case"主体":;case"scripts":;case"styles":;case"font-face-decls":;case"master-styles":if(v[1]==="/"){if((s=i.pop())[0]!==v[3])throw"Bad state: "+s}else if(v[0].charAt(v[0].length-2)!=="/")i.push([v[3],true]);break;case"annotation":if(v[1]==="/"){if((s=i.pop())[0]!==v[3])throw"Bad state: "+s;V.t=k;if(_.length)V.R=_;V.a=X;H.push(V);k=S;y=C;_=A}else if(v[0].charAt(v[0].length-2)!=="/"){i.push([v[3],false]);var Q=ft(v[0],true);if(!(Q["display"]&&Ct(Q["display"])))H.hidden=true;S=k;C=y;A=_;k="";y=0;_=[]}X="";G=0;break;case"creator":if(v[1]==="/"){X=n.slice(G,v.index)}else G=v.index+v[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":;case"chart":if(v[1]==="/"){if((s=i.pop())[0]!==v[3])throw"Bad state: "+s}else if(v[0].charAt(v[0].length-2)!=="/")i.push([v[3],false]);k="";y=0;_=[];break;case"scientific-number":;case"currency-symbol":;case"fill-character":break;case"text-style":;case"boolean-style":;case"number-style":;case"currency-style":;case"percentage-style":;case"date-style":;case"time-style":if(v[1]==="/"){var ee=Wt.lastIndex;vo(n.slice(o,Wt.lastIndex),r,O);Wt.lastIndex=ee}else if(v[0].charAt(v[0].length-2)!=="/"){o=Wt.lastIndex-v[0].length}break;case"script":break;case"libraries":break;case"automatic-styles":break;case"default-style":;case"page-layout":break;case"style":{var re=ft(v[0],false);if(re["family"]=="table-cell"&&O[re["data-style-name"]])M[re["name"]]=O[re["data-style-name"]]}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":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":break;case"boolean":break;case"text":if(v[0].slice(-2)==="/>")break;else if(v[1]==="/")switch(i[i.length-1][0]){case"number-style":;case"date-style":;case"time-style":c+=n.slice(f,v.index);break;}else f=v.index+v[0].length;break;case"named-range":l=ft(v[0],false);j=zs(l["cell-range-address"]);var te={Name:l.name,Ref:j[0]+"!"+j[1]};if(J)te.Sheet=p.length;$.Names.push(te);break;case"text-content":break;case"text-properties":break;case"embedded-text":break;case"body":;case"电子表格":break;case"forms":break;case"table-column":break;case"table-header-rows":break;case"table-rows":break;case"table-column-group":break;case"table-header-columns":break;case"table-columns":break;case"null-date":l=ft(v[0],false);switch(l["date-value"]){case"1904-01-01":$.WBProps.date1904=true;break;}break;case"graphic-properties":break;case"calculation-settings":break;case"named-expressions":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(["master-styles"].indexOf(i[i.length-1][0])>-1)break;if(v[1]==="/"&&(!w||!w["string-value"])){var ae=mo(n.slice(y,v.index),x);k=(k.length>0?k+"\n":"")+ae[0]}else if(v[0].slice(-2)=="/>"){k+="\n"}else{x=ft(v[0],false);y=v.index+v[0].length}break;case"s":break;case"database-range":if(v[1]==="/")break;try{j=zs(ft(v[0])["target-range-address"]);d[j[0]]["!autofilter"]={ref:j[1]}}catch(ne){}break;case"date":break;case"object":break;case"title":;case"标题":break;case"desc":break;case"binary-data":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"filter-set-item":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"print-date":;case"generator":;case"document-statistic":;case"user-defined":;case"editing-duration":;case"editing-cycles":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":if(v[1]!=="/"){W=ft(v[0],false);if(!W.href)break;W.Target=pt(W.href);delete W.href;if(W.Target.charAt(0)=="#"&&W.Target.indexOf(".")>-1){j=zs(W.Target.slice(1));W.Target="#"+j[0]+"!"+j[1]}else if(W.Target.match(/^\.\.[\\\/]/))W.Target=W.Target.slice(3)}break;case"table-protection":break;case"data-pilot-grand-total":break;case"office-document-common-attrs":break;default:switch(v[2]){case"dc:":;case"calcext:":;case"loext:":;case"ooo:":;case"chartooo:":;case"draw:":;case"style:":;case"chart:":;case"form:":;case"uof:":;case"表:":;case"字:":break;default:if(a.WTF)throw new Error(v);};}var ie={Sheets:d,SheetNames:p,Workbook:$};if(a.bookSheets)delete ie.Sheets;return ie}function bo(e,r){r=r||{};if(Gr(e,"META-INF/manifest.xml"))$n(Jr(e,"META-INF/manifest.xml"),r);var t=Zr(e,"styles.xml");var a=t&&vo(Ft(t),r);var n=Zr(e,"content.xml");if(!n)throw new Error("Missing content.xml in ODS / UOF file");var i=go(Ft(n),r,a);if(Gr(e,"meta.xml"))i.Props=Yn(Jr(e,"meta.xml"));i.bookType="ods";return i}function wo(e,r){var t=go(e,r);t.bookType="fods";return t}var ko=function(){var e=["",'',"",'',"",'',"",""].join("");var r=""+e+"";return function t(){return at+r}}();function yo(e,r){var t="number",a="",n={"style:name":r},i="",s=0;e=e.replace(/"[$]"/g,"$");e:{if(e.indexOf(";")>-1){console.error("Unsupported ODS Style Map exported. Using first branch of "+e);e=e.slice(0,e.indexOf(";"))}if(e=="@"){t="text";a="";break e}if(e.indexOf(/\$/)>-1){t="currency"}if(e[s]=='"'){i="";while(e[++s]!='"'||e[++s]=='"')i+=e[s];--s;if(e[s+1]=="*"){s++;a+=""+gt(i.replace(/""/g,'"'))+""}else{a+=""+gt(i.replace(/""/g,'"'))+""}e=e.slice(s+1);s=0}var l=e.match(/# (\?+)\/(\?+)/);if(l){a+=Bt("number:fraction",null,{"number:min-integer-digits":0,"number:min-numerator-digits":l[1].length,"number:max-denominator-value":Math.max(+l[1].replace(/./g,"9"),+l[2].replace(/./g,"9"))});break e}if(l=e.match(/# (\?+)\/(\d+)/)){a+=Bt("number:fraction",null,{"number:min-integer-digits":0,"number:min-numerator-digits":l[1].length,"number:denominator-value":+l[2]});break e}if(l=e.match(/\b(\d+)(|\.\d+)%/)){t="percentage";a+=Bt("number:number",null,{"number:decimal-places":l[2]&&l.length-1||0,"number:min-decimal-places":l[2]&&l.length-1||0,"number:min-integer-digits":l[1].length})+"%";break e}var o=false;if(["y","m","d"].indexOf(e[0])>-1){t="date";r:for(;s";break;case"yyy":;case"yyyy":a+='';break;case"mmmmm":console.error("ODS has no equivalent of format |mmmmm|");case"m":;case"mm":;case"mmm":;case"mmmm":a+='';break;case"d":;case"dd":a+='';break;case"ddd":;case"dddd":a+='';break;}break;case'"':while(e[++s]!='"'||e[++s]=='"')i+=e[s];--s;a+=""+gt(i.slice(1).replace(/""/g,'"'))+"";break;case"\\":i=e[++s];a+=""+gt(i)+"";break;case"/":;case":":a+=""+gt(i)+"";break;default:console.error("unrecognized character "+i+" in ODF format "+e);}if(!o)break e;e=e.slice(s+1);s=0}if(e.match(/^\[?[hms]/)){if(t=="number")t="time";if(e.match(/\[/)){e=e.replace(/[\[\]]/g,"");n["number:truncate-on-overflow"]="false"}for(;s';break;case"m":;case"mm":a+='';break;case"s":;case"ss":if(e[s+1]==".")do{i+=e[s+1];++s}while(e[s+1]=="0");a+='";break;}break;case'"':while(e[++s]!='"'||e[++s]=='"')i+=e[s];--s;a+=""+gt(i.slice(1).replace(/""/g,'"'))+"";break;case"/":;case":":a+=""+gt(i)+"";break;case"a":if(e.slice(s,s+3).toLowerCase()=="a/p"){a+="";s+=2;break}if(e.slice(s,s+5).toLowerCase()=="am/pm"){a+="";s+=4;break};default:console.error("unrecognized character "+i+" in ODF format "+e);}break e}if(e.indexOf(/\$/)>-1){t="currency"}if(e[0]=="$"){a+='$';e=e.slice(1);s=0}s=0;if(e[s]=='"'){while(e[++s]!='"'||e[++s]=='"')i+=e[s];--s;if(e[s+1]=="*"){s++;a+=""+gt(i.replace(/""/g,'"'))+""}else{a+=""+gt(i.replace(/""/g,'"'))+""}e=e.slice(s+1);s=0}var f=e.match(/([#0][0#,]*)(\.[0#]*|)(E[+]?0*|)/i);if(!f||!f[0])console.error("Could not find numeric part of "+e);else{var u=f[1].replace(/,/g,"");a+="-1?' number:grouping="true"':"")+(f[2]&&' number:decimal-places="'+(f[2].length-1)+'"'||' number:decimal-places="0"')+(f[3]&&f[3].indexOf("+")>-1?' number:forced-exponent-sign="true"':"")+(f[3]?' number:min-exponent-digits="'+f[3].match(/0+/)[0].length+'"':"")+">"+"";s=f.index+f[0].length}if(e[s]=='"'){i="";while(e[++s]!='"'||e[++s]=='"')i+=e[s];--s;a+=""+gt(i.replace(/""/g,'"'))+""}}if(!a){console.error("Could not generate ODS number format for |"+e+"|");return""}return Bt("number:"+t+"-style",a,n)}function xo(e,r,t){var a=[];for(var n=0;n\n"+a.map(function(e){var r=(t==-1?"$":"")+$s(e.Ref);return" "+Bt("table:named-range",null,{"table:name":e.Name,"table:cell-range-address":r,"table:base-cell-address":r.replace(/[\.][^\.]*$/,".$A$1")})}).join("\n")+"\n \n"}var So=function(){var e=function(e,r){return gt(e).replace(/ +/g,function(e){return''}).replace(/\t/g,"").replace(/\n/g,r?"":"").replace(/^ /,"").replace(/ $/,"")};var r=" \n";var t=function(t,a,n,i,s,l){var o=[];o.push(' \n');var c=0,f=0,u=Ja(t["!ref"]||"A1");var h=t["!merges"]||[],d=0;var p=t["!data"]!=null;if(t["!cols"]){for(f=0;f<=u.e.c;++f)o.push(" \n")}var m="",v=t["!rows"]||[];for(c=0;c\n")}for(;c<=u.e.r;++c){m=v[c]?' table:style-name="ro'+v[c].ods+'"':"";o.push(" \n");for(f=0;ff)continue;if(h[d].s.r>c)continue;if(h[d].e.c\n");continue}var k=Ya({r:c,c:f}),y=p?(t["!data"][c]||[])[f]:t[k];if(y&&y.f){b["table:formula"]=gt(Us(y.f));if(y.F){if(y.F.slice(0,k.length)==k){var x=Ja(y.F);b["table:number-matrix-columns-spanned"]=x.e.c-x.s.c+1;b["table:number-matrix-rows-spanned"]=x.e.r-x.s.r+1}}}if(!y){o.push(r);continue}switch(y.t){case"b":w=y.v?"TRUE":"FALSE";b["office:value-type"]="boolean";b["office:boolean-value"]=y.v?"true":"false";break;case"n":w=y.w||String(y.v||0);b["office:value-type"]="float";b["office:value"]=y.v||0;break;case"s":;case"str":w=y.v==null?"":y.v;b["office:value-type"]="string";break;case"d":w=y.w||wr(y.v,l).toISOString();b["office:value-type"]="date";b["office:date-value"]=wr(y.v,l).toISOString();b["table:style-name"]="ce1";break;default:o.push(r);continue;}var S=e(w);if(y.l&&y.l.Target){var C=y.l.Target;C=C.charAt(0)=="#"?"#"+$s(C.slice(1)):C;if(C.charAt(0)!="#"&&!C.match(/^\w+:/))C="../"+C;S=Bt("text:a",S,{"xlink:href":C.replace(/&/g,"&")})}if(s[y.z])b["table:style-name"]="ce"+s[y.z].slice(1);var _=Bt("text:p",S,{});if(y.c){var A="",T="",E={};for(var F=0;F"+e(y.c[F].t)+""}if(!y.c.hidden)E["office:display"]=true;_=Bt("office:annotation",T,E)+_}o.push(" "+Bt("table:table-cell",_,b)+"\n")}o.push(" \n")}if((a.Workbook||{}).Names)o.push(xo(a.Workbook.Names,a.SheetNames,n));o.push(" \n");return o.join("")};var a=function(e,r){e.push(" \n");var t=0;r.SheetNames.map(function(e){return r.Sheets[e]}).forEach(function(r){if(!r)return;if(r["!cols"]){for(var a=0;a\n');e.push(' \n');e.push(" \n");++t}}});var a=0;r.SheetNames.map(function(e){return r.Sheets[e]}).forEach(function(r){if(!r)return;if(r["!rows"]){for(var t=0;t\n');e.push(' \n');e.push(" \n");++a}}});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");var n={};var i=69;r.SheetNames.map(function(e){return r.Sheets[e]}).forEach(function(r){if(!r)return;var t=r["!data"]!=null;if(!r["!ref"])return;var a=Ja(r["!ref"]);for(var s=0;s<=a.e.r;++s)for(var l=0;l<=a.e.c;++l){var o=t?(r["!data"][s]||[])[l]:r[Ya({r:s,c:l})];if(!o||!o.z||o.z.toLowerCase()=="general")continue;if(!n[o.z]){var c=yo(o.z,"N"+i);if(c){n[o.z]="N"+i;++i;e.push(c+"\n")}}}});e.push(' \n');ir(n).forEach(function(r){e.push('\n')});e.push(" \n");return n};return function n(e,r){var n=[at];var i=Lt({"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=Lt({"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");n.push(Xn().replace(/]*?>/,"").replace(/<\/office:document-meta>/,"")+"\n")}else n.push("\n");var l=a(n,e);n.push(" \n");n.push(" \n");if(((e.Workbook||{}).WBProps||{}).date1904)n.push(' \n \n \n');for(var o=0;o!=e.SheetNames.length;++o)n.push(t(e.Sheets[e.SheetNames[o]],e,o,r,l,((e.Workbook||{}).WBProps||{}).date1904));if((e.Workbook||{}).Names)n.push(xo(e.Workbook.Names,e.SheetNames,-1));n.push(" \n");n.push(" \n");if(r.bookType=="fods")n.push("");else n.push("");return n.join("")}}();function Co(e,r){if(r.bookType=="fods")return So(e,r);var t=et();var a="";var n=[];var i=[];a="mimetype";Qr(t,a,"application/vnd.oasis.opendocument.spreadsheet");a="content.xml";Qr(t,a,So(e,r));n.push([a,"text/xml"]);i.push([a,"ContentFile"]);a="styles.xml";Qr(t,a,ko(e,r));n.push([a,"text/xml"]);i.push([a,"StylesFile"]);a="meta.xml";Qr(t,a,at+Xn());n.push([a,"text/xml"]);i.push([a,"MetadataFile"]);a="manifest.rdf";Qr(t,a,Vn(i));n.push([a,"application/rdf+xml"]);a="META-INF/manifest.xml";Qr(t,a,Wn(n));return t}function _o(e){return function r(t){for(var a=0;a!=e.length;++a){var n=e[a];if(t[n[0]]===undefined)t[n[0]]=n[1];if(n[2]==="n")t[n[0]]=Number(t[n[0]])}}}function Ao(e){_o([["cellNF",false],["cellHTML",true],["cellFormula",true],["cellStyles",false],["cellText",true],["cellDates",false],["sheetStubs",false],["sheetRows",0,"n"],["bookDeps",false],["bookSheets",false],["bookProps",false],["bookFiles",false],["bookVBA",false],["password",""],["WTF",false]])(e)}function To(e){_o([["cellDates",false],["bookSST",false],["bookType","xlsx"],["compression",false],["WTF",false]])(e)}function Eo(e){if(Pn.WS.indexOf(e)>-1)return"sheet";if(Pn.CS&&e==Pn.CS)return"chart";if(Pn.DS&&e==Pn.DS)return"dialog";if(Pn.MS&&e==Pn.MS)return"macro";return e&&e.length?e:"sheet"}function Fo(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,Eo(e["!id"][r.id].Type)]})}catch(t){return null}return!e||e.length===0?null:e}function Do(e,r,t,a,n,i,s,l){if(!e||!e["!legdrawel"])return;var o=tt(e["!legdrawel"].Target,a);var c=Zr(t,o,true);if(c)hs(Ft(c),e,l||[])}function Oo(e,r,t,a,n,i,s,l,o,c,f,u){try{i[a]=Ln(Zr(e,t,true),r);var h=Jr(e,r);var d;switch(l){case"sheet":d=Xl(h,r,n,o,i[a],c,f,u);break;case"chart":d=Gl(h,r,n,o,i[a],c,f,u);if(!d||!d["!drawel"])break;var p=tt(d["!drawel"].Target,r);var m=Rn(p);var v=us(Zr(e,p,true),Ln(Zr(e,m,true),p));var g=tt(v,p);var b=Rn(g);d=El(Zr(e,g,true),g,o,Ln(Zr(e,b,true),g),c,d);break;case"macro":d=Yl(h,r,n,o,i[a],c,f,u);break;case"dialog":d=Jl(h,r,n,o,i[a],c,f,u);break;default:throw new Error("Unrecognized sheet type "+l);}s[a]=d;var w=[],k=[];if(i&&i[a])ir(i[a]).forEach(function(t){var n="";if(i[a][t].Type==Pn.CMNT){n=tt(i[a][t].Target,r);w=ql(Jr(e,n,true),n,o);if(!w||!w.length)return;ms(d,w,false)}if(i[a][t].Type==Pn.TCMNT){n=tt(i[a][t].Target,r);k=k.concat(bs(Jr(e,n,true),o))}});if(k&&k.length)ms(d,k,true,o.people||[]);Do(d,l,e,r,n,o,c,w)}catch(y){if(o.WTF)throw y}}function Mo(e){return e.charAt(0)=="/"?e.slice(1):e}function No(e,r){He();r=r||{};Ao(r);if(Gr(e,"META-INF/manifest.xml"))return bo(e,r);if(Gr(e,"objectdata.xml"))return bo(e,r);if(Gr(e,"Index/Document.iwa")){if(typeof Uint8Array=="undefined")throw new Error("NUMBERS file parsing requires Uint8Array support");if(typeof parse_numbers_iwa!="undefined"){if(e.FileIndex)return parse_numbers_iwa(e,r);var t=Qe.utils.cfb_new();qr(e).forEach(function(r){Qr(t,r,Kr(e,r))});return parse_numbers_iwa(t,r)}throw new Error("Unsupported NUMBERS file")}if(!Gr(e,"[Content_Types].xml")){if(Gr(e,"index.xml.gz"))throw new Error("Unsupported NUMBERS 08 file");if(Gr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");var a=Qe.find(e,"Index.zip");if(a){r=yr(r);delete r.type;if(typeof a.content=="string")r.type="binary";if(typeof Bun!=="undefined"&&Buffer.isBuffer(a.content))return Vo(new Uint8Array(a.content),r);return Vo(a.content,r)}throw new Error("Unsupported ZIP file")}var n=qr(e);var i=Nn(Zr(e,"[Content_Types].xml"));var s=false;var l,o;if(i.workbooks.length===0){o="xl/workbook.xml";if(Jr(e,o,true))i.workbooks.push(o)}if(i.workbooks.length===0){o="xl/workbook.bin";if(!Jr(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;var c={};var f={};if(!r.bookSheets&&!r.bookProps){Ws=[];if(i.sst)try{Ws=Kl(Jr(e,Mo(i.sst)),i.sst,r)}catch(u){if(r.WTF)throw u}if(r.cellStyles&&i.themes.length)c=is(Zr(e,i.themes[0].replace(/^\//,""),true)||"",r);if(i.style)f=Zl(Jr(e,Mo(i.style)),i.style,c,r)}i.links.map(function(t){try{var a=Ln(Zr(e,Rn(Mo(t))),t);return eo(Jr(e,Mo(t)),a,t,r)}catch(n){}});var h=Vl(Jr(e,Mo(i.workbooks[0])),i.workbooks[0],r);var d={},p="";if(i.coreprops.length){p=Jr(e,Mo(i.coreprops[0]),true);if(p)d=Yn(p);if(i.extprops.length!==0){p=Jr(e,Mo(i.extprops[0]),true);if(p)ei(p,d,r)}}var m={};if(!r.bookSheets||r.bookProps){if(i.custprops.length!==0){p=Zr(e,Mo(i.custprops[0]),true);if(p)m=ai(p,r)}}var v={};if(r.bookSheets||r.bookProps){if(h.Sheets)l=h.Sheets.map(function M(e){return e.name});else if(d.Worksheets&&d.SheetNames.length>0)l=d.SheetNames;if(r.bookProps){v.Props=d;v.Custprops=m}if(r.bookSheets&&typeof l!=="undefined")v.SheetNames=l;if(r.bookSheets?v.SheetNames:r.bookProps)return v}l={};var g={};if(r.bookDeps&&i.calcchain)g=Ql(Jr(e,Mo(i.calcchain)),i.calcchain,r);var b=0;var w={};var k,y;{var x=h.Sheets;d.Worksheets=x.length;d.SheetNames=[];for(var S=0;S!=x.length;++S){d.SheetNames[S]=x[S].name}}var C=s?"bin":"xml";var _=i.workbooks[0].lastIndexOf("/");var A=(i.workbooks[0].slice(0,_+1)+"_rels/"+i.workbooks[0].slice(_+1)+".rels").replace(/^\//,"");if(!Gr(e,A))A="xl/_rels/workbook."+C+".rels";var T=Ln(Zr(e,A,true),A.replace(/_rels.*/,"s5s"));if((i.metadata||[]).length>=1){r.xlmeta=ro(Jr(e,Mo(i.metadata[0])),i.metadata[0],r)}if((i.people||[]).length>=1){r.people=ks(Jr(e,Mo(i.people[0])),r)}if(T)T=Fo(T,h.Sheets);var E=Jr(e,"xl/worksheets/sheet.xml",true)?1:0;e:for(b=0;b!=d.Worksheets;++b){var F="sheet";if(T&&T[b]){k="xl/"+T[b][1].replace(/[\/]?xl\//,"");if(!Gr(e,k))k=T[b][1];if(!Gr(e,k))k=A.replace(/_rels\/[\S\s]*$/,"")+T[b][1];F=T[b][2]}else{k="xl/worksheets/sheet"+(b+1-E)+"."+C;k=k.replace(/sheet0\./,"sheet.")}y=k.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels");if(r&&r.sheets!=null)switch(typeof r.sheets){case"number":if(b!=r.sheets)continue e;break;case"string":if(d.SheetNames[b].toLowerCase()!=r.sheets.toLowerCase())continue e;break;default:if(Array.isArray&&Array.isArray(r.sheets)){var D=false;for(var O=0;O!=r.sheets.length;++O){if(typeof r.sheets[O]=="number"&&r.sheets[O]==b)D=1;if(typeof r.sheets[O]=="string"&&r.sheets[O].toLowerCase()==d.SheetNames[b].toLowerCase())D=1}if(!D)continue e};}Oo(e,k,y,d.SheetNames[b],b,w,l,F,r,h,c,f)}v={Directory:i,Workbook:h,Props:d,Custprops:m,Deps:g,Sheets:l,SheetNames:d.SheetNames,Strings:Ws,Styles:f,Themes:c,SSF:yr(q)};if(r&&r.bookFiles){if(e.files){v.keys=n;v.files=e.files}else{v.keys=[];v.files={};e.FullPaths.forEach(function(r,t){r=r.replace(/^Root Entry[\/]/,"");v.keys.push(r);v.files[r]=e.FileIndex[t]})}}if(r&&r.bookVBA){if(i.vba.length>0)v.vbaraw=Jr(e,Mo(i.vba[0]),true);else if(i.defaults&&i.defaults.bin===xs)v.vbaraw=Jr(e,"xl/vbaProject.bin",true)}v.bookType=s?"xlsb":"xlsx";return v}function Io(e,r){var t=r||{};var a="Workbook",n=Qe.find(e,a);try{a="/!DataSpaces/Version";n=Qe.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);parse_DataSpaceVersionInfo(n.content);a="/!DataSpaces/DataSpaceMap";n=Qe.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var i=parse_DataSpaceMap(n.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 "+a);a="/!DataSpaces/DataSpaceInfo/StrongEncryptionDataSpace";n=Qe.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var s=parse_DataSpaceDefinition(n.content);if(s.length!=1||s[0]!="StrongEncryptionTransform")throw new Error("ECMA-376 Encrypted file bad "+a);a="/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary";n=Qe.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);parse_Primary(n.content)}catch(l){}a="/EncryptionInfo";n=Qe.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var o=parse_EncryptionInfo(n.content);a="/EncryptedPackage";n=Qe.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);if(o[0]==4&&typeof decrypt_agile!=="undefined")return decrypt_agile(o[1],n.content,t.password||"",t);if(o[0]==2&&typeof decrypt_std76!=="undefined")return decrypt_std76(o[1],n.content,t.password||"",t);throw new Error("File is password-protected")}function Po(e,r){if(e&&!e.SSF){e.SSF=yr(q)}if(e&&e.SSF){He();je(e.SSF);r.revssf=or(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;if(Hs)r.revStrings=new Map;else{r.revStrings={};r.revStrings.foo=[];delete r.revStrings.foo}var t="bin";var a=true;var n=Mn();To(r=r||{});var i=et();var s="",l=0;r.cellXfs=[];Ys(r.cellXfs,{},{revssf:{General:0}});if(!e.Props)e.Props={};s="docProps/core.xml";Qr(i,s,Zn(e.Props,r));n.coreprops.push(s);Un(r.rels,2,s,Pn.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{var o=[];for(var c=0;c0){s="docProps/custom.xml";Qr(i,s,ni(e.Custprops,r));n.custprops.push(s);Un(r.rels,4,s,Pn.CUST_PROPS)}var f=["SheetJ5"];r.tcid=0;for(l=1;l<=e.SheetNames.length;++l){var u={"!id":{}};var h=e.Sheets[e.SheetNames[l-1]];var d=(h||{})["!type"]||"sheet";switch(d){case"chart":;default:s="xl/worksheets/sheet"+l+"."+t;Qr(i,s,write_ws_bin(l-1,r,e,u));n.sheets.push(s);Un(r.wbrels,-1,"worksheets/sheet"+l+"."+t,Pn.WS[0]);}if(h){var p=h["!comments"];var m=false;var v="";if(p&&p.length>0){var g=false;p.forEach(function(e){e[1].forEach(function(e){if(e.T==true)g=true})});if(g){v="xl/threadedComments/threadedComment"+l+".xml";Qr(i,v,ws(p,f,r));n.threadedcomments.push(v);Un(u,-1,"../threadedComments/threadedComment"+l+".xml",Pn.TCMNT)}v="xl/comments"+l+"."+t;Qr(i,v,write_comments_bin(p,r));n.comments.push(v);Un(u,-1,"../comments"+l+"."+t,Pn.CMNT);m=true}if(h["!legacy"]){if(m)Qr(i,"xl/drawings/vmlDrawing"+l+".vml",ds(l,h["!comments"]))}delete h["!comments"];delete h["!legacy"]}if(u["!id"].rId1)Qr(i,Rn(s),Bn(u))}if(r.Strings!=null&&r.Strings.length>0){s="xl/sharedStrings."+t;Qr(i,s,write_sst_bin(r.Strings,r)); +n.strs.push(s);Un(r.wbrels,-1,"sharedStrings."+t,Pn.SST)}s="xl/workbook."+t;Qr(i,s,write_wb_bin(e,r));n.workbooks.push(s);Un(r.rels,1,s,Pn.WB);s="xl/theme/theme1.xml";var b=ss(e.Themes,r);Qr(i,s,b);n.themes.push(s);Un(r.wbrels,-1,"theme/theme1.xml",Pn.THEME);s="xl/styles."+t;Qr(i,s,write_sty_bin(e,r));n.styles.push(s);Un(r.wbrels,-1,"styles."+t,Pn.STY);if(e.vbaraw&&a){s="xl/vbaProject.bin";Qr(i,s,e.vbaraw);n.vba.push(s);Un(r.wbrels,-1,"vbaProject.bin",Pn.VBA)}s="xl/metadata."+t;Qr(i,s,write_xlmeta_bin());n.metadata.push(s);Un(r.wbrels,-1,"metadata."+t,Pn.XLMETA);if(f.length>1){s="xl/persons/person.xml";Qr(i,s,ys(f,r));n.people.push(s);Un(r.wbrels,-1,"persons/person.xml",Pn.PEOPLE)}Qr(i,"[Content_Types].xml",In(n,r));Qr(i,"_rels/.rels",Bn(r.rels));Qr(i,"xl/_rels/workbook."+t+".rels",Bn(r.wbrels));delete r.revssf;delete r.ssf;return i}function Ro(e,r){if(e&&!e.SSF){e.SSF=yr(q)}if(e&&e.SSF){He();je(e.SSF);r.revssf=or(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;if(Hs)r.revStrings=new Map;else{r.revStrings={};r.revStrings.foo=[];delete r.revStrings.foo}var t="xml";var a=_s.indexOf(r.bookType)>-1;var n=Mn();To(r=r||{});var i=et();var s="",l=0;r.cellXfs=[];Ys(r.cellXfs,{},{revssf:{General:0}});if(!e.Props)e.Props={};s="docProps/core.xml";Qr(i,s,Zn(e.Props,r));n.coreprops.push(s);Un(r.rels,2,s,Pn.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{var o=[];for(var c=0;c0){s="docProps/custom.xml";Qr(i,s,ni(e.Custprops,r));n.custprops.push(s);Un(r.rels,4,s,Pn.CUST_PROPS)}var f=["SheetJ5"];r.tcid=0;for(l=1;l<=e.SheetNames.length;++l){var u={"!id":{}};var h=e.Sheets[e.SheetNames[l-1]];var d=(h||{})["!type"]||"sheet";switch(d){case"chart":;default:s="xl/worksheets/sheet"+l+"."+t;Qr(i,s,Al(l-1,r,e,u));n.sheets.push(s);Un(r.wbrels,-1,"worksheets/sheet"+l+"."+t,Pn.WS[0]);}if(h){var p=h["!comments"];var m=false;var v="";if(p&&p.length>0){var g=false;p.forEach(function(e){e[1].forEach(function(e){if(e.T==true)g=true})});if(g){v="xl/threadedComments/threadedComment"+l+".xml";Qr(i,v,ws(p,f,r));n.threadedcomments.push(v);Un(u,-1,"../threadedComments/threadedComment"+l+".xml",Pn.TCMNT)}v="xl/comments"+l+"."+t;Qr(i,v,gs(p,r));n.comments.push(v);Un(u,-1,"../comments"+l+"."+t,Pn.CMNT);m=true}if(h["!legacy"]){if(m)Qr(i,"xl/drawings/vmlDrawing"+l+".vml",ds(l,h["!comments"]))}delete h["!comments"];delete h["!legacy"]}if(u["!id"].rId1)Qr(i,Rn(s),Bn(u))}if(r.Strings!=null&&r.Strings.length>0){s="xl/sharedStrings."+t;Qr(i,s,xi(r.Strings,r));n.strs.push(s);Un(r.wbrels,-1,"sharedStrings."+t,Pn.SST)}s="xl/workbook."+t;Qr(i,s,Hl(e,r));n.workbooks.push(s);Un(r.rels,1,s,Pn.WB);s="xl/theme/theme1.xml";Qr(i,s,ss(e.Themes,r));n.themes.push(s);Un(r.wbrels,-1,"theme/theme1.xml",Pn.THEME);s="xl/styles."+t;Qr(i,s,Qi(e,r));n.styles.push(s);Un(r.wbrels,-1,"styles."+t,Pn.STY);if(e.vbaraw&&a){s="xl/vbaProject.bin";Qr(i,s,e.vbaraw);n.vba.push(s);Un(r.wbrels,-1,"vbaProject.bin",Pn.VBA)}s="xl/metadata."+t;Qr(i,s,os());n.metadata.push(s);Un(r.wbrels,-1,"metadata."+t,Pn.XLMETA);if(f.length>1){s="xl/persons/person.xml";Qr(i,s,ys(f,r));n.people.push(s);Un(r.wbrels,-1,"persons/person.xml",Pn.PEOPLE)}Qr(i,"[Content_Types].xml",In(n,r));Qr(i,"_rels/.rels",Bn(r.rels));Qr(i,"xl/_rels/workbook."+t+".rels",Bn(r.wbrels));delete r.revssf;delete r.ssf;return i}function Lo(e,r){var t="";switch((r||{}).type||"base64"){case"buffer":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":t=C(e.slice(0,12));break;case"binary":t=e;break;case"array":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];default:throw new Error("Unrecognized type "+(r&&r.type||"undefined"));}return[t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3),t.charCodeAt(4),t.charCodeAt(5),t.charCodeAt(6),t.charCodeAt(7)]}function Bo(e,r){if(Qe.find(e,"EncryptedPackage"))return Io(e,r);return parse_xlscfb(e,r)}function Uo(e,r){var t,a=e;var n=r||{};if(!n.type)n.type=_&&Buffer.isBuffer(e)?"buffer":"base64";t=rt(a,n);return No(t,n)}function zo(e,r){var t=0;e:while(t=2&&i[3]===0)return WK_.to_workbook(n,t);if(i[2]===0&&(i[3]===8||i[3]===9))return WK_.to_workbook(n,t)}break;case 3:;case 131:;case 139:;case 140:return si.to_workbook(n,t);case 123:if(i[1]===92&&i[2]===114&&i[3]===116)return rtf_to_workbook(n,t);break;case 10:;case 13:;case 32:return $o(n,t);case 137:if(i[1]===80&&i[2]===78&&i[3]===71)throw new Error("PNG Image File is not a spreadsheet");break;case 8:if(i[1]===231)throw new Error("Unsupported Multiplan 1.x file!");break;case 12:if(i[1]===236)throw new Error("Unsupported Multiplan 2.x file!");if(i[1]===237)throw new Error("Unsupported Multiplan 3.x file!");break;}if(ii.indexOf(i[0])>-1&&i[2]<=12&&i[3]<=31)return si.to_workbook(n,t);return Ho(e,n,t,s)}function Xo(e,r){var t=r||{};t.type="file";return Vo(e,t)}function Go(e,r){switch(r.type){case"base64":;case"binary":break;case"buffer":;case"array":r.type="";break;case"file":return ar(r.file,Qe.write(e,{type:_?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+r.bookType+"' files");default:throw new Error("Unrecognized type "+r.type);}return Qe.write(e,r)}function Yo(e,r){switch(r.bookType){case"ods":return Co(e,r);case"numbers":return write_numbers_iwa(e,r);case"xlsb":return Po(e,r);default:return Ro(e,r);}}function Jo(e,r){var t=yr(r||{});var a=Yo(e,t);return Ko(a,t)}function Zo(e,r){var t=yr(r||{});var a=Ro(e,t);return Ko(a,t)}function Ko(e,r){var t={};var a=_?"nodebuffer":typeof Uint8Array!=="undefined"?"array":"string";if(r.compression)t.compression="DEFLATE";if(r.password)t.type=a;else switch(r.type){case"base64":t.type="base64";break;case"binary":t.type="string";break;case"string":throw new Error("'string' output type invalid for '"+r.bookType+"' files");case"buffer":;case"file":t.type=a;break;default:throw new Error("Unrecognized type "+r.type);}var n=e.FullPaths?Qe.write(e,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[t.type]||t.type,compression:!!r.compression}):e.generate(t);if(typeof Deno!=="undefined"){if(typeof n=="string"){if(r.type=="binary"||r.type=="base64")return n;n=new Uint8Array(O(n))}}if(r.password&&typeof encrypt_agile!=="undefined")return Go(encrypt_agile(n,r.password),r);if(r.type==="file")return ar(r.file,n);return r.type=="string"?Ft(n):n}function qo(e,r){var t=r||{};var a=write_xlscfb(e,t);return Go(a,t)}function Qo(e,r,t){if(!t)t="";var a=t+e;switch(r.type){case"base64":return y(Dt(a));case"binary":return Dt(a);case"string":return e;case"file":return ar(r.file,a,"utf8");case"buffer":{if(_)return A(a,"utf8");else if(typeof TextEncoder!=="undefined")return(new TextEncoder).encode(a);else return Qo(a,{type:"binary"}).split("").map(function(e){return e.charCodeAt(0)})};}throw new Error("Unrecognized type "+r.type)}function ec(e,r){switch(r.type){case"base64":return x(e);case"binary":return e;case"string":return e;case"file":return ar(r.file,e,"binary");case"buffer":{if(_)return A(e,"binary");else return e.split("").map(function(e){return e.charCodeAt(0)})};}throw new Error("Unrecognized type "+r.type)}function rc(e,r){switch(r.type){case"string":;case"base64":;case"binary":var t="";for(var a=0;a0)n=0;var u=Ua(o.s.r);var h=[];var d=[];var p=0,m=0;var v=e["!data"]!=null;var g=o.s.r,b=0;var w={};if(v&&!e["!data"][g])e["!data"][g]=[];var k=c.skipHidden&&e["!cols"]||[];var y=c.skipHidden&&e["!rows"]||[];for(b=o.s.c;b<=o.e.c;++b){if((k[b]||{}).hidden)continue;h[b]=ja(b);t=v?e["!data"][g][b]:e[h[b]+u];switch(a){case 1:i[b]=b-o.s.c;break;case 2:i[b]=h[b];break;case 3:i[b]=c.header[b-o.s.c];break;default:if(t==null)t={w:"__EMPTY",t:"s"};l=s=rn(t,null,c);m=w[s]||0;if(!m)w[s]=1;else{do{l=s+"_"+m++}while(w[l]);w[s]=m;w[l]=1}i[b]=l;}}for(g=o.s.r+n;g<=o.e.r;++g){if((y[g]||{}).hidden)continue;var x=oc(e,o,g,h,a,i,c);if(x.isempty===false||(a===1?c.blankrows!==false:!!c.blankrows))d[p++]=x.row}d.length=p;return d}var fc=/"/g;function uc(e,r,t,a,n,i,s,l){var o=true;var c=[],f="",u=Ua(t);var h=e["!data"]!=null;var d=h&&e["!data"][t]||[];for(var p=r.s.c;p<=r.e.c;++p){if(!a[p])continue;var m=h?d[p]:e[a[p]+u];if(m==null)f="";else if(m.v!=null){o=false;f=""+(l.rawNumbers&&m.t=="n"?m.v:rn(m,null,l));for(var v=0,g=0;v!==f.length;++v)if((g=f.charCodeAt(v))===n||g===i||g===34||l.forceQuotes){f='"'+f.replace(fc,'""')+'"';break}if(f=="ID")f='"ID"'}else if(m.f!=null&&!m.F){o=false;f="="+m.f;if(f.indexOf(",")>=0)f='"'+f.replace(fc,'""')+'"'}else f="";c.push(f)}if(l.strip)while(c[c.length-1]==="")--c.length;if(l.blankrows===false&&o)return null;return c.join(s)}function hc(e,r){var t=[];var a=r==null?{}:r;if(e==null||e["!ref"]==null)return"";var n=Qa(e["!ref"]);var i=a.FS!==undefined?a.FS:",",s=i.charCodeAt(0);var l=a.RS!==undefined?a.RS:"\n",o=l.charCodeAt(0);var c="",f=[];var u=a.skipHidden&&e["!cols"]||[];var h=a.skipHidden&&e["!rows"]||[];for(var d=n.s.c;d<=n.e.c;++d)if(!(u[d]||{}).hidden)f[d]=ja(d);var p=0;for(var m=n.s.r;m<=n.e.r;++m){if((h[m]||{}).hidden)continue;c=uc(e,n,m,f,s,o,i,a);if(c==null){continue}if(c||a.blankrows!==false)t.push((p++?l:"")+c)}return t.join("")}function dc(e,r){if(!r)r={};r.FS="\t";r.RS="\n";var t=hc(e,r);if(typeof a=="undefined"||r.type=="string")return t;var n=a.utils.encode(1200,t,"str");return String.fromCharCode(255)+String.fromCharCode(254)+n}function pc(e){var r="",t,a="";if(e==null||e["!ref"]==null)return[];var n=Qa(e["!ref"]),i="",s=[],l;var o=[];var c=e["!data"]!=null;for(l=n.s.c;l<=n.e.c;++l)s[l]=ja(l);for(var f=n.s.r;f<=n.e.r;++f){i=Ua(f);for(l=n.s.c;l<=n.e.c;++l){r=s[l]+i;t=c?(e["!data"][f]||[])[l]: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 mc(e,r,t){var a=t||{};var n=e?e["!data"]!=null:a.dense;if(b!=null&&n==null)n=b;var i=+!a.skipHeader;var s=e||{};if(!e&&n)s["!data"]=[];var l=0,o=0;if(s&&a.origin!=null){if(typeof a.origin=="number")l=a.origin;else{var c=typeof a.origin=="string"?Ga(a.origin):a.origin;l=c.r;o=c.c}}var f={s:{c:0,r:0},e:{c:o,r:l+r.length-1+i}};if(s["!ref"]){var u=Qa(s["!ref"]);f.e.c=Math.max(f.e.c,u.e.c);f.e.r=Math.max(f.e.r,u.e.r);if(l==-1){l=u.e.r+1;f.e.r=l+r.length-1+i}}else{if(l==-1){l=0;f.e.r=r.length-1+i}}var h=a.header||[],d=0;var p=[];r.forEach(function(e,r){if(n&&!s["!data"][l+r+i])s["!data"][l+r+i]=[];if(n)p=s["!data"][l+r+i];ir(e).forEach(function(t){if((d=h.indexOf(t))==-1)h[d=h.length]=t;var c=e[t];var f="z";var u="";var m=n?"":ja(o+d)+Ua(l+r+i);var v=n?p[o+d]:s[m];if(c&&typeof c==="object"&&!(c instanceof Date)){if(n)p[o+d]=c;else s[m]=c}else{if(typeof c=="number")f="n";else if(typeof c=="boolean")f="b";else if(typeof c=="string")f="s";else if(c instanceof Date){f="d";if(!a.UTC)c=Ir(c);if(!a.cellDates){f="n";c=dr(c)}u=v!=null&&v.z&&Re(v.z)?v.z:a.dateNF||q[14]}else if(c===null&&a.nullError){f="e";c=0}if(!v){if(!n)s[m]=v={t:f,v:c};else p[o+d]=v={t:f,v:c}}else{v.t=f;v.v=c;delete v.w;delete v.R;if(u)v.z=u}if(u)v.z=u}})});f.e.c=Math.max(f.e.c,o+h.length-1);var m=Ua(l);if(n&&!s["!data"][l])s["!data"][l]=[];if(i)for(d=0;d=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+"|")}function wc(e,r){var t={SheetNames:[],Sheets:{}};if(e)kc(t,e,r||"Sheet1");return t}function kc(e,r,t,a){var n=1;if(!t)for(;n<=65535;++n,t=undefined)if(e.SheetNames.indexOf(t="Sheet"+n)==-1)break;if(!t||e.SheetNames.length>=65535)throw new Error("Too many worksheets");if(a&&e.SheetNames.indexOf(t)>=0&&t.length<32){var i=t.match(/\d+$/);n=i&&+i[0]||0;var s=i&&t.slice(0,i.index)||t;for(++n;n<=65535;++n)if(e.SheetNames.indexOf(t=s+n)==-1)break}Ul(t);if(e.SheetNames.indexOf(t)>=0)throw new Error("Worksheet with name |"+t+"| already exists!");e.SheetNames.push(t);e.Sheets[t]=r;return t}function yc(e,r,t){if(!e.Workbook)e.Workbook={};if(!e.Workbook.Sheets)e.Workbook.Sheets=[];var a=bc(e,r);if(!e.Workbook.Sheets[a])e.Workbook.Sheets[a]={};switch(t){case 0:;case 1:;case 2:break;default:throw new Error("Bad sheet visibility setting "+t);}e.Workbook.Sheets[a].Hidden=t}function xc(e,r){e.z=r;return e}function Sc(e,r,t){if(!r){delete e.l}else{e.l={Target:r};if(t)e.l.Tooltip=t}return e}function Cc(e,r,t){return Sc(e,"#"+r,t)}function _c(e,r,t){if(!e.c)e.c=[];e.c.push({t:r,a:t||"SheetJS"})}function Ac(e,r,t,a){var n=typeof r!="string"?r:Qa(r);var i=typeof r=="string"?r:Za(r);for(var s=n.s.r;s<=n.e.r;++s)for(var l=n.s.c;l<=n.e.c;++l){var o=gc(e,s,l);o.t="n";o.F=i;delete o.v;if(s==n.s.r&&l==n.s.c){o.f=t;if(a)o.D=true}}var c=Ja(e["!ref"]);if(c.s.r>n.s.r)c.s.r=n.s.r;if(c.s.c>n.s.c)c.s.c=n.s.c;if(c.e.r","{","sylk_char_regex","sylk_char_fn","_","decode_sylk_char","newcc","encode_sylk_str","sylk_to_aoa","sylk_to_aoa_str","records","rj","formats","next_cell_format","sht","rowinfo","colinfo","cw","Mval","Workbook","WBProps","Names","rstr","record","d1904","nn","Sheet","Name","Ref","rc_to_a1","C_seen_K","C_seen_X","C_seen_S","C_seen_E","formula","cell_t","cmnt","cellText","shrbase","shift_formula_str","F_seen","hidden","hpt","hpx","pt2px","process_col","sylk_to_workbook","aoasht","outwb","write_ws_cell_sylk","F","a1_to_rc","write_ws_cmnt_sylk","write_ws_cols_sylk","rec","width","wpx","width2px","px2char","write_ws_rows_sylk","rows","px2pt","sheet_to_sylk","_formats","preamble","RS","_lastfmt","ifmt","DIF","dif_to_aoa","dif_to_aoa_str","dif_to_sheet","dif_to_workbook","make_value","make_value_str","sheet_to_dif","_DIF_XL","ETH","eth_to_aoa","eth_to_sheet","eth_to_workbook","sep","meta","sheet_to_eth_data","coord","sheet_to_eth","PRN","set_text_arr","prn_to_aoa_str","lines","guess_seps","guess_sep_weights","guess_sep","instr","dsv_to_sheet_str","FS","sepcc","startcc","_re","finish_cell","fuzzyfmla","news","cellNF","outer","prn_to_sheet_str","prn_to_sheet","bytes","firstbyte","prn_to_workbook","sheet_to_prn","read_wb_ID","OLD_WTF","parse_rpr","rpr","font","pass","shadow","outline","strike","uval","rgb","family","valign","parse_rs","tregex","rpregex","parse_r","rregex","rend","rs","filter","rs_to_html","parse_rs_factory","nlregex","parse_rpr2","intro","outro","align","r_to_html","terms","sitregex","sirregex","sirphregex","parse_si","cellHTML","sstr0","sstr1","sstr2","parse_sst_xml","Count","count","Unique","uniqueCount","straywsregex","write_sst_xml","bookSST","sitag","hex2RGB","rgb2Hex","rgb2HSL","G","H6","L2","hsl2RGB","hsl","h6","X","rgb_tint","hex","tint","DEF_MDW","MAX_MDW","MIN_MDW","MDW","px","char2width","chr","cycle_width","collw","find_mdw_colw","delta","_MDW","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","diagonalUp","diagonalDown","parse_fills","Fills","patternType","bgColor","indexed","theme","fgColor","parse_fonts","Fonts","bold","italic","underline","condense","extend","vertAlign","scheme","auto","index","icv","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","write_sty_xml","XLSXThemeClrScheme","parse_clrScheme","lastClr","parse_fontScheme","parse_fmtScheme","clrsregex","fntsregex","fmtsregex","parse_themeElements","themeltregex","parse_theme_xml","write_theme","Themes","themeXLSX","parse_xlmeta_xml","Types","Cell","Value","metatype","lastmeta","offsets","write_xlmeta_xml","parse_xlink_xml","parse_xlink_bin","xlink_parse","parse_drawing","id","shapevmlregex","parse_vml","cidx","aidx","ObjectType","ws_get_cell_stub","ref","write_vml","csize","bbox","xmlns:v","xmlns:o","xmlns:x","xmlns:mv","v:ext","_shapeid","_comments","joinstyle","gradientshapeok","o:connecttype","coordsize","o:spt","write_vml_comment","fillopts","color2","angle","fillparm","fillxml","shadata","on","obscured","fillcolor","strokecolor","sheet_insert_comments","threaded","comment","author","parse_comments_xml","authors","commentList","authtag","cmnttag","cm","authorId","guid","textMatch","rt","write_comments_xml","iauthor","ID","lastauthor","ts","tcnt","parse_tcmnt_xml","tidx","xml_tcmnt","personId","write_tcmnt_xml","carr","rootid","tcopts","tcid","parentId","parse_people_xml","displayname","write_people_xml","person","displayName","userId","providerId","CT_VBA","make_vba_xls","newcfb","newpath","fill_vba_xls","VBAFMTS","parse_ds_bin","!type","parse_ds_xml","parse_ms_bin","parse_ms_xml","rcregex","rcbase","rcfunc","fstr","crefregex","$0","$4","$5","shift_formula_xlsx","_xlfn","ods_to_csf_formula","csf_to_ods_formula","ods_to_csf_3D","csf_to_ods_3D","_ssfopts","browser_has_Map","Map","get_sst_id","has","revarr","get","col_obj_w","level","outlineLevel","default_margins","margins","mode","defs","left","right","top","bottom","footer","get_cell_style","revssf","ssf","fontId","fillId","borderId","xfId","applyNumberFormat","safe_format","fillid","cellStyles","raw_rgb","check_ws","parse_ws_xml_dim","mergecregex","sheetdataregex","hlinkregex","dimregex","colregex","afregex","marginregex","sheetprregex","sheetprregex2","svsregex","parse_ws_xml","refguess","data1","data2","mtch","sheetPr","parse_ws_xml_sheetpr","parse_ws_xml_sheetpr2","nodim","svs","parse_ws_xml_sheetviews","columns","parse_ws_xml_cols","parse_ws_xml_data","afilter","parse_ws_xml_autofilter","merges","_merge","hlink","parse_ws_xml_hlinks","parse_ws_xml_margins","tmpref","write_ws_xml_merges","codeName","CodeName","write_ws_xml_sheetpr","needed","vbaraw","cname","outlineprops","summaryBelow","summaryRight","above","sheetprot_deffalse","sheetprot_deftrue","write_ws_xml_protection","sp","password","crypto_CreatePasswordVerifier_Method1","location","Rel","tooltip","Tooltip","rng","margin","write_ws_xml_margins","seencol","coli","colm","colM","write_ws_xml_cols","write_ws_xml_autofilter","names","sviewregex","Views","zoomScale","zoom","rightToLeft","RTL","write_ws_xml_sheetviews","sview","workbookViewId","write_ws_xml_cell","oldt","oldv","_vv","os","Strings","revStrings","display","cellregex","rowregex","isregex","refregex","match_v","match_f","sdata","cells","cref","tagr","tagc","sstr","ftag","do_format","cf","arrayf","sharedf","rowobj","rowrite","marr","marrlen","xlen","rstarti","outa","ht","rslice","cellFormula","xlfn","___f","_tag","xlmeta","_r","write_ws_xml_data","params","height","_cell","customHeight","write_ws_xml","xmlns:r","sidx","rdata","_drawing","sheetFormat","defaultRowHeight","baseColWidth","outlineLevelRow","relc","ignoreEC","numberStoredAsText","sqref","r:id","parse_Cache","num","nf","parse_chart","csheet","nc","cache","parse_cs_xml","!drawel","!rel","WBPropsDef","WBViewDef","SheetDef","CalcPrDef","push_defaults_array","push_defaults","parse_wb_defaults","CalcPr","WBView","safe1904","badchars","check_ws_name","check_wb_names","N","codes","cn","check_wb","dn","wbnsregex","parse_wb_xml","AppVersion","dname","dnstart","xml_wb","Hidden","Comment","localSheetId","write_wb_xml","write_names","workbookPr","sheetId","parse_wb","parse_wb_bin","parse_ws","parse_ws_bin","parse_cs","parse_cs_bin","parse_ms","parse_ds","parse_sty","parse_sty_bin","parse_sst","parse_sst_bin","parse_cmnt","parse_comments_bin","parse_cc","parse_cc_bin","parse_cc_xml","parse_xlink","parse_xlmeta","parse_xlmeta_bin","html_to_sheet","mtch2","hd","midx","colspan","rowspan","_t","make_html_row","editable","HTML_BEGIN","HTML_END","html_to_workbook","book_new","book_append_sheet","make_html_preamble","sheet_to_html","sheet_add_dom","tagName","or_R","or_C","is_dom_element_hidden","elts","hasAttribute","getAttribute","innerHTML","Aelts","getElementsByTagName","Aelti","parse_dom_table","table_to_book","element","get_computed_style","get_get_computed_style_function","getPropertyValue","ownerDocument","defaultView","getComputedStyle","parse_text_p","fixed","parse_ods_styles","_nfm","number_format_map","NFtag","tNF","etpos","infmt","parse_content_xml","nfidx","pidx","sheetag","rowtag","ctag","textp","textpidx","textptag","oldtextp","oldtextpidx","textR","oldtextR","row_ol","mrange","mR","mC","rowpeat","colpeat","atag","_Ref","creator","creatoridx","isstub","intable","rptR","rpt","annotag","xlmlidx","styletag","nrange","ptp","bookSheets","parse_ods","Styles","parse_fods","write_styles_ods","master_styles","xmlns:office","xmlns:table","xmlns:style","xmlns:text","xmlns:draw","xmlns:fo","xmlns:xlink","xmlns:number","xmlns:svg","xmlns:of","office:version","wso","write_number_format_ods","nopts","style:name","number:min-integer-digits","number:min-numerator-digits","number:max-denominator-value","number:denominator-value","number:decimal-places","number:min-decimal-places","has_time","np","write_names_ods","scoped","namei","odsref","table:name","table:cell-range-address","table:base-cell-address","write_content_ods","write_text_p","null_cell_xml","write_ws","nfs","mi","ods","ROWS","skip","_Fref","text_p","_tgt","xlink:href","acreator","apayload","aprops","ci","write_automatic_styles_ods","colobj","nfi","wcx","attr","xmlns:meta","xmlns:presentation","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:xhtml","xmlns:grddl","xmlns:tableooo","xmlns:drawooo","xmlns:calcext","xmlns:loext","xmlns:field","xmlns:formx","xmlns:css3t","fods","xmlns:config","office:mimetype","write_ods","fix_opts_func","fix_opts","fix_read_opts","fix_write_opts","get_sheet_type","safe_parse_wbrels","wbrels","pwbr","strRelID","parse_sheet_legacy_drawing","dfile","draw","safe_parse_sheet","relsPath","sheetRels","stype","drelsp","chartp","crelsp","tcomments","strip_front_slash","parse_numbers_iwa","_zip","index_zip","Bun","readSync","entries","dir","binname","bookProps","link","propdata","pluck","Custprops","deps","bookDeps","wbsheets","wbext","wbrelsi","wbrelsfile","nmode","wsloop","snjseen","snj","Directory","Deps","bookFiles","bookVBA","bin","parse_xlsxcfb","parse_DataSpaceVersionInfo","dsm","parse_DataSpaceMap","comps","seds","parse_DataSpaceDefinition","parse_Primary","einfo","parse_EncryptionInfo","decrypt_agile","decrypt_std76","write_zip_xlsb","foo","vbafmt","General","_sn","_i","wsrels","_type","write_ws_bin","need_vml","needtc","write_comments_bin","rId1","write_sst_bin","write_wb_bin","write_sty_bin","write_xlmeta_bin","write_zip_xlsx","read_cfb","parse_xlscfb","read_zip","read_plaintext","main","parse_xlml","read_plaintext_raw","read_utf16","bstrify","read_prn","ab","vu","WK_","rtf_to_workbook","write_cfb_ctr","write_numbers_iwa","write_zip_type","write_zip_denouement","write_zip_typeXLSX","oopts","ftype","nodebuffer","string","generate","encrypt_agile","write_cfb_type","write_xlscfb","write_string_type","bom","write_stxt_type","write_binary_type","writeSyncXLSX","writeSync","write_xlml","sheet_to_txt","sheet_to_csv","sheet_to_rtf","sheet_to_wk1","book_to_wk3","write_biff_buf","resolve_book_type","_BT","xls","slk","socialcalc","Sh33tJS","writeFileSyncXLSX","writeFileAsync","_cb","Function","make_json_row","hdr","defval","isempty","defineProperty","enumerable","__rowNum__","rawNumbers","outi","counter","header_cnt","skipHidden","blankrows","qreg","make_csv_row","txt","datarow","forceQuotes","endregex","strip","sheet_to_formulae","cmds","sheet_add_json","js","skipHeader","ROW","JS","json_to_sheet","RC","wb_sheet_idx","sh","wsname","roll","book_set_sheet_visibility","vis","cell_set_number_format","cell_set_hyperlink","cell_set_internal_link","cell_add_comment","sheet_set_array_formula","dynamic","rngstr","wsr","table_to_sheet","sheet_to_row_object_array","sheet_get_cell","SHEET_VISIBLE","SHEET_HIDDEN","SHEET_VERY_HIDDEN","readFile","writeXLSX","writeFileXLSX","__stream","stream","require","strmod","Readable","set_readable","module","define","amd","window"],"mappings":";AAIA,GAAIA,QACJ,SAASC,eAAcD,GACvBA,EAAKE,QAAU,QACf,IAAIC,GAAmB,KAAMC,EAAe,IAE5C,IAAIC,EAEJ,IAAIC,IAAe,IAAK,IAAK,IAAK,IAAK,IAAK,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,IAElG,IAAIC,IACJC,EAAM,KACNC,EAAK,MACLC,EAAK,MACLC,GAAK,IACLC,IAAO,IAC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EAAG,IAAIA,EAAE,OAIrF,GAAI2mC,IAAWD,IAEd,EACA,SACA,SACA,MACA,IACA,SACA,SACA,MAGA,EACA,SACA,SACA,MACA,IACA,SACA,SACA,MAEA,QACA,MACA,IACA,QACA,QACA,MACA,SACA,QACA,SACA,SACA,SACA,SACA,QACA,SACA,MACA,SAEA,IACA,SACA,SACA,MACA,QACA,QACA,MACA,IACA,MACA,SACA,SACA,SACA,SACA,SACA,SACA,SAEA,QACA,QACA,SACA,SACA,SACA,SACA,QACA,QACA,MACA,QACA,MACA,QACA,SACA,SACA,QACA,QAGA,EACA,SACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,GAED,IAAIE,IAAStU,GAAIqU,GAGjB,IAAIpE,KACJplC,EAAM,SACNyK,EAAM,UACNrB,GAAM,UACNuB,GAAM,QACNM,GAAM,SACNkN,GAAM,QACN/K,GAAM,OACNC,GAAM,gBACNnM,IAAM,QAGN,IAAIwoC,KACHC,SAAiB,EACjBC,UAAiB,EACjBC,UAAiB,GACjBC,QAAiB,GACjBC,SAAiB,GACjBC,QAAiB,GACjBC,OAAiB,GACjBC,gBAAiB,GACjBC,QAAiB,IAGlB,IAAIC,KACH,yBACA,kBACA,mBACA,gBACA,iBACA,iBACA,mBACA,qBACA,iBACA,kBACA,sBACA,wBACA,oBACA,wBAOD,IAAIC,KAEHC,6EAA8E,YAC9EC,uDAAwD,YACxDC,0DAA2D,YAC3DC,uDAAwD,YACxDC,gFAAiF,YAGjFC,4EAA6E,SAC7EC,qCAAsC,SACtCC,sCAAuC,OAGvCC,6EAA8E,SAC9EC,sCAAuC,SAGvCC,0CAA2C,SAC3CC,sCAAuC,SACvCC,0CAA2C,OAC3CC,sCAAuC,OAGvCC,8EAA+E,UAC/EC,uCAAwC,UAGxCC,gFAAiF,OACjFC,yCAA0C,OAG1CC,yEAA0E,SAC1EC,kCAAmC,SAGnCC,6DAA8D,YAC9DC,sEAAuE,YACvE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wBAAyBA,GACzBx3D,QACC+3D,cAAe,EACfC,aAAc,EACdC,kBAAmB,GAIrB,UAAUjG,gBAAiB,YAAaz2E,EAAKy2E,aAAeA,YAC5Dz2E,GAAKge,UAAYA,EACjBhe,GAAKwiB,KAAO0wD,EACZlzE,GAAK28E,SAAWp6D,EAChBviB,GAAKuiB,aAAeA,EACpBviB,GAAK4lB,MAAQ4yD,EACbx4E,GAAKyvB,UAAY9J,EACjB3lB,GAAK2lB,cAAgBA,EACrB3lB,GAAKu5E,eAAiBA,EACtBv5E,GAAK0D,MAAQA,EACb1D,GAAK48E,UAAYrE,EACjBv4E,GAAK68E,cAAgBvD,EACrBt5E,GAAK6vB,OAASA,EACd7vB,GAAKwD,YAAcA,CACnBxD,GAAK8X,IAAMA,EACX,UAAUglE,YAAa,YAAa98E,EAAK+8E,OAASD,QAClD,UAAU1hE,MAAQ,YAAapb,EAAKob,IAAMA,EAC1C,UAAU4hE,WAAY,YAAa,CACjC,GAAIC,IAASh4E,SACb,KAAIg4E,QAAYC,SAAUC,aAAaF,GAAOC,SAC/C,KAAMt/D,GAAM3Y,UAAa,MAAMK,OAIhC,SAAUgW,WAAY,YAAarb,cAAcqb,aAC5C,UAAU8hE,UAAW,aAAeA,OAAO9hE,QAASrb,cAAcm9E,OAAO9hE,aACzE,UAAU+hE,UAAW,YAAcA,OAAOC,IAAKD,OAAO,OAAQ,WAAa,IAAIr9E,KAAKE,QAASD,cAAcD,KAAO,OAAOA,YACzHC,eAAcD,KAEnB,UAAUu9E,UAAW,cAAgBA,OAAOv9E,KAAM,IAAMu9E,OAAOv9E,KAAOA,KAAQ,MAAMsF","file":"dist/xlsx.mini.min.js"} \ No newline at end of file +{"version":3,"sources":["dist/xlsx.mini.js"],"names":["XLSX","make_xlsx_lib","version","current_codepage","current_ansi","$cptable","VALID_ANSI","CS2CP","0","1","2","77","128","129","130","134","136","161","162","163","177","178","186","204","222","238","255","69","set_ansi","cp","indexOf","reset_ansi","set_cp","reset_cp","char_codes","data","o","i","len","length","charCodeAt","utf16leread","String","fromCharCode","join","utf16lereadu","utf16beread","debom","c1","c2","slice","_getchar","_gc1","x","_getansi","_ga1","set_cptable","cptable","utils","decode","_gc2","_ga2","cpdoit","DENSE","DIF_XL","Base64_map","Base64_encode","input","c3","e1","e2","e3","e4","isNaN","charAt","Base64_encode_pass","Base64_encode_arr","Base64_decode","replace","has_buf","Buffer","undefined","node","Buffer_from","nbfs","from","e","buf","enc","bind","buf_utf16le","toString","new_raw_buf","alloc","Uint8Array","Array","new_unsafe_buf","allocUnsafe","s2a","s","split","map","s2ab","ArrayBuffer","view","a2s","isArray","c","a2u","Error","ab2a","bconcat","bufs","concat","isBuffer","maxlen","set","apply","call","utf8decode","content","out","widx","L","ridx","d","push","chr0","chr1","_strrev","pad0","v","t","fill","pad_","rpad_","pad0r1","Math","round","pad0r2","p2_32","pow","pad0r","SSF_isgeneral","days","months","SSF_init_table","table_fmt","3","4","9","10","11","12","13","14","15","16","17","18","19","20","21","22","37","38","39","40","45","46","47","48","49","56","SSF_default_map","5","6","7","8","23","24","25","26","27","28","29","30","31","50","51","52","53","54","55","57","58","59","60","61","62","67","68","70","71","72","73","74","75","76","78","79","80","81","82","SSF_default_str","63","64","65","66","41","42","43","44","SSF_frac","D","mixed","sgn","B","P_2","P_1","P","Q_2","Q_1","Q","A","floor","q","SSF_normalize_xl_unsafe","toPrecision","m","n","Number","SSF_parse_date_code","opts","b2","date","time","dow","dout","T","u","y","H","M","S","abs","date1904","Date","setDate","getDate","getFullYear","getMonth","getDay","SSF_fix_hijri","SSF_strip_decimal","SSF_normalize_exp","SSF_small_exp","w","toFixed","toExponential","SSF_large_exp","SSF_general_num","V","log","LOG10E","substr","toUpperCase","SSF_general","SSF_format","datenum","SSF_write_date","type","fmt","val","ss0","ss","tt","outl","outstr","commaify","j","pct1","write_num_pct","sfmt","mul","write_num","write_num_cm","idx","write_num_exp","match","period","ee","fakee","$$","$1","$2","$3","frac1","write_num_f1","r","aval","sign","den","parseInt","rr","base","myn","myd","write_num_f2","dec1","closeparen","phone","hashq","str","cc","rnd","dd","dec","_frac","carry","flr","write_num_flt","ffmt","ri","ff","oa","min","max","lres","rres","write_num_cm2","write_num_pct2","write_num_exp2","write_num_int","lastIndexOf","SSF_split_fmt","in_str","SSF_abstime","fmt_is_date","eval_fmt","flen","lst","dt","hr","toLowerCase","bt","ssm","_dt","nstr","jj","vv","myv","ostr","decpt","lasti","retval","cfregex2","chkcond","thresh","parseFloat","choose_fmt","f","l","lat","m1","m2","dateNF","table","SSF_load","SSF_load_table","tbl","make_ssf","SSF","format","load","_table","load_table","parse_date_code","is_date","get_table","SSFImplicit","32","33","34","35","36","dateNFregex","dateNF_regex","lastIndex","RegExp","dateNF_fix","Y","forEach","datestr","timestr","bad_formats","d.m","SSF__load","CRC32","signed_crc_table","Int32Array","T0","slice_by_16_tables","subarray","TT","T1","T2","T3","T4","T5","T6","T7","T8","T9","Ta","Tb","Tc","Td","Te","Tf","crc32_bstr","bstr","seed","C","crc32_buf","crc32_str","CFB","_CFB","exports","namecmp","R","Z","dirname","p","filename","write_dos_date","hms","getHours","getMinutes","getSeconds","write_shift","ymd","parse_dos_date","read_shift","setMilliseconds","setFullYear","setMonth","setHours","setMinutes","setSeconds","parse_extra_field","blob","prep_blob","flags","sz","tgt","mtime","atime","ctime","mt","sz1","sz2","usz","csz","fs","get_fs","_fs","parse","file","options","parse_zip","parse_mad","mver","ssz","nmfs","difat_sec_cnt","dir_start","minifat_start","difat_start","fat_addrs","mv","check_get_mver","header","check_shifts","dir_cnt","chk","sectors","sectorify","sleuth_fat","sector_list","make_sector_list","name","ENDOFCHAIN","files","Paths","FileIndex","FullPaths","read_directory","build_full_paths","shift","raw","HEADER_SIGNATURE","nsectors","ceil","FI","FP","pl","dad","get_mfat_entry","entry","payload","mini","start","size","MSSZ","__readInt32LE","new_buf","cnt","sector","get_sector_list","chkd","buf_chain","modulus","addr","nodes","__toBuffer","sl","k","seen","minifat_store","namelen","__utf16le","color","clsid","state","ct","read_date","storage","offset","__readUInt32LE","read_file","readFileSync","read","init_cfb","cfb","root","CLSID","seed_cfb","nm","find","rebuild_cfb","gc","_file","pop","now","fullPaths","Object","create","HEADER_CLSID","sort","elt","_write","_opts","fileType","write_mad","write_zip","mini_size","fat_size","mini_cnt","mfat_cnt","fat_base","fat_cnt","difat_cnt","HEADER_SIG","chainit","consts","DIFSECT","FATSECT","_nm","console","error","copy","path","UCFullPaths","UCPaths","UCPath","MAXREGSECT","FREESECT","HEADER_MINOR_VERSION","MAXREGSID","NOSTREAM","EntryTypes","write_file","writeFileSync","write","_zlib","use_zlib","zlib","InflateRaw","InflRaw","_processChunk","_finishFlushFlag","bytesRead","message","_inflateRawSync","_inflate","_deflateRawSync","deflateRawSync","_deflate","CLEN_ORDER","LEN_LN","DST_LN","bit_swap_8","use_typed_arrays","bitswap8","bit_swap_n","b","rev","read_bits_2","bl","h","read_bits_3","read_bits_4","read_bits_5","read_bits_7","read_bits_n","write_bits_3","write_bits_1","write_bits_8","write_bits_16","realloc","a","zero_fill_array","build_tree","clens","cmap","MAX","ccode","bl_count","Uint16Array","ctree","cleni","fix_lmap","fix_dmap","dlens","_deflateRaw","_deflateRawIIFE","DST_LN_RE","LEN_LN_RE","write_stored","boff","write_huff_fixed","addrs","hash","mlen","len_eb","dst_eb","off","dyn_lmap","dyn_dmap","dyn_cmap","dyn_len_1","dyn_len_2","dyn","_HLIT","_HDIST","_HCLEN","next_code","hcodes","h1","h2","inflate","outbuf","woff","OL","max_len_1","max_len_2","bits","code","dst","warn_or_throw","wrn","msg","fcnt","start_cd","efsz","fcsz","EF","parse_local_file","meth","crc32","_csz","_usz","ef","cfb_add","unsafe","cdirs","method","compression","desc","fp","fi","crcs","sz_cd","namebuf","ContentTypeMap","htm","xml","gif","jpg","png","mso","thmx","sh33tj5","get_content_type","ctype","ext","write_base64_76","write_quoted_printable","text","encoded","si","end","tmp","parse_quoted_printable","di","line","oi","parse_mime","fname","cte","fdata","trim","row","test","mboundary","boundary","start_di","ca","cstr","dispcnt","csl","qp","cfb_new","fpath","cfb_gc","cfb_del","splice","cfb_mov","old_name","new_name","writeFile","ReadShift","CheckField","_inflateRaw","set_fs","blobify","write_dl","Deno","TextEncoder","encode","utf8write","IE_SaveFile","Blob","navigator","msSaveBlob","saveAs","URL","document","createElement","createObjectURL","url","chrome","downloads","download","revokeObjectURL","setTimeout","href","body","appendChild","click","removeChild","b64","$","File","Folder","open","encoding","close","read_binary","infile","keys","ks","o2","prototype","hasOwnProperty","evert_key","obj","key","K","evert","evert_num","evert_arr","dnthresh","UTC","dnthresh1","dnthresh2","epoch","getTime","res","numdate","setTime","parse_isodur","sec","pdre1","pdre2","pdre3","parseDate","cc2str","arr","debomit","TextDecoder","€","‚","ƒ","„","…","†","‡","ˆ","‰","Š","‹","Œ","Ž","‘","’","“","”","•","–","—","˜","™","š","›","œ","ž","Ÿ","dup","JSON","stringify","fuzzynum","isFinite","NaN","wt","FDRE1","FDRE2","FDISO","utc_append_works","valueOf","fuzzytime1","fuzzytime2","lower_months","fuzzydate","local_to_utc","lower","lnos","getYear","split_regex","safe_split_regex","re","def","utc_to_local","utc","getUTCFullYear","getUTCMonth","getUTCDate","getUTCHours","getUTCMinutes","getUTCSeconds","getUTCMilliseconds","local","getMilliseconds","remove_doctype","preamble","index","str_match_ng","ei","str_remove_ng","last","xml_boundary"," ","\t","\r","\n",">","str_match_xml","tag","sf","et","str_match_xml_ns","str_match_xml_ns_cache","exec","str_match_xml_ns_g","str_remove_xml_ns_g","str_remove_xml_ns_cache","str_match_xml_ig","getdatastr","asNodeBuffer","asBinary","_data","getContent","getdatabin","getdata","safegetzipfile","zip","g","getzipfile","getzipdata","safe","getzipstr","getzipbin","zipentries","zip_add_file","zip_new","zip_read","resolve_path","result","target","step","XML_HEADER","attregexg","tagregex1","tagregex2","tagregex","nsregex","nsregex2","parsexmltag","skip_root","skip_LC","z","eq","quot","strip_ns","encodings",""","'",">","<","&","rencoding","unescapexml","encregex","coderegex","raw_unescapexml","xlsx","decregex","charegex","escapexml","escapexmltag","htmlcharegex","escapehtml","escapexlml","xlml_fixstr","entregex","entrepl","xlml_unfixstr","parsexmlbool","value","utf8reada","orig","utf8readb","ww","utf8readc","utf8corpus","utf8read","htmldecode","entities","vtvregex","vtmregex","parseVector","matches","baseType","WTF","wtregex","writetag","wxt_helper","writextag","write_w3cdtf","toISOString","write_vt","xlml_normalize","xlmlregex","XMLNS","CORE_PROPS","CUST_PROPS","EXT_PROPS","CT","RELS","TCMNT","dc","dcterms","dcmitype","mx","sjs","vt","xsi","xsd","XMLNS_main","XLMLNS","html","read_double_le","Infinity","write_double_le","bs","av","LN2","___toBuffer","___utf16le","__readUInt16LE","___hexlify","__hexlify","___utf8","__readUInt8","__utf8","utf8_b","___lpstr","__lpstr","___cpstr","__cpstr","___lpwstr","__lpwstr","___lpp4","lpp4_","__lpp4","___8lpp4","__8lpp4","___double","__double","is_buf","is_buf_a","lpstr_b","readUInt32LE","cpstr_b","lpwstr_b","lpp4_b","lpp4_8b","double_","readDoubleLE","is_buf_b","__readInt16LE","__readInt32BE","oI","oR","oo","loc","this","lens","__writeUInt32LE","__writeInt32LE","__writeUInt16LE","WriteShift","cpp","hexstr","fld","pos","parsenoop","recordhopper","cb","tmpbyte","cntbyte","RT","XLSBRecordEnum","buf_array","blksz","newblk","ba_newblk","curbuf","endbuf","ba_endbuf","next","ba_next","ba_end","ba_push","_bufs","write_record","ba","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","decode_row","rowstr","unfix_row","decode_col","colstr","unfix_col","col","split_cell","decode_cell","decode_range","encode_range","cs","ce","fix_range","a1","formula_quote_sheet_name","sname","safe_decode_range","safe_format_cell","XF","numFmtId","format_cell","BErr","sheet_to_workbook","sheet","sheets","SheetNames","Sheets","sheet_new","dense","sheet_add_aoa","_ws","ws","_R","_C","origin","_origin","_range","__R","__Rstr","__C","nullError","sheetStubs","cellDates","cell_ref","aoa_to_sheet","VT_I2","VT_I4","VT_BOOL","VT_VARIANT","VT_UI4","VT_FILETIME","VT_BLOB","VT_CF","VT_VECTOR_VARIANT","VT_VECTOR_LPSTR","VT_STRING","VT_USTR","VT_CUSTOM","DocSummaryPIDDSI","2147483648","2147483651","1919054434","SummaryPIDSI","CountryEnum","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","_XLSIcv","XLSIcv","RBErr","#NULL!","#DIV/0!","#VALUE!","#REF!","#NAME?","#NUM!","#N/A","#GETTING_DATA","#WTF?","XLSLblBuiltIn","ct2type","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml","application/vnd.ms-excel.sheet.macroEnabled.main+xml","application/vnd.ms-excel.sheet.binary.macroEnabled.main","application/vnd.ms-excel.addin.macroEnabled.main+xml","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml","application/vnd.ms-excel.worksheet","application/vnd.ms-excel.binIndexWs","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml","application/vnd.ms-excel.chartsheet","application/vnd.ms-excel.macrosheet+xml","application/vnd.ms-excel.macrosheet","application/vnd.ms-excel.intlmacrosheet","application/vnd.ms-excel.binIndexMs","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml","application/vnd.ms-excel.dialogsheet","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml","application/vnd.ms-excel.sharedStrings","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml","application/vnd.ms-excel.styles","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.openxmlformats-officedocument.spreadsheetml.comments+xml","application/vnd.ms-excel.comments","application/vnd.ms-excel.threadedcomments+xml","application/vnd.ms-excel.person+xml","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml","application/vnd.ms-excel.sheetMetadata","application/vnd.ms-excel.pivotTable","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml","application/vnd.openxmlformats-officedocument.drawingml.chart+xml","application/vnd.ms-office.chartcolorstyle+xml","application/vnd.ms-office.chartstyle+xml","application/vnd.ms-office.chartex+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.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.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","xlsm","xlsb","xlam","xltx","strs","comments","charts","dialogs","macros","metadata","styles","new_ct","rels","threadedcomments","links","coreprops","extprops","custprops","themes","calcchains","vba","drawings","people","TODO","xmlns","parse_ct","ctext","Extension","ContentType","PartName","calcchain","sst","style","defaults","write_ct","type2ct","xmlns:xsd","xmlns:xsi","f1","bookType","f2","f3","WB","SHEET","HLINK","VML","XPATH","XMISS","XLINK","CXML","CXMLP","CMNT","SST","STY","THEME","CHART","CHARTEX","CS","WS","DS","MS","IMG","DRAW","XLMETA","PEOPLE","CONN","VBA","get_rels_path","parse_rels","currentFilePath","!id","rel","Type","Target","Id","TargetMode","canonictarget","write_rels","rid","add_rels","rId","relobj","targetmode","CT_ODS","parse_manifest","Rn","FEtag","write_manifest","manifest","write_rdf_type","write_rdf_has","write_rdf","rdf","write_meta_ods","wb","parse_core_props","cur","cp_doit","write_core_props","xmlns:cp","xmlns:dc","xmlns:dcterms","xmlns:dcmitype","Props","CreatedDate","xsi:type","ModifiedDate","PseudoPropsPairs","load_props_pairs","HP","TOP","props","hp","parts","Worksheets","NamedRanges","DefinedNames","Chartsheets","ChartNames","parse_ext_props","HeadingPairs","TitlesOfParts","write_ext_props","W","Application","xmlns:vt","custregex","parse_cust_props","toks","warn","write_cust_props","pid","custprop","fmtid","DBF_SUPPORTED_VERSIONS","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","87","88","89","108","135","dbf_reverse_map","dbf_to_aoa","ft","memo","vfp","l7","nrow","fpos","rlen","current_cp","codepage","fields","field","hend","hi","lo","sheetRows","dbf_to_sheet","wch","dbf_to_workbook","_RLEN","?","","sheet_to_dbf","old_cp","aoa","sheet_to_json","headers","cols","hcnt","coltypes","colwidths","coldecimals","guess","_guess","hf","_f","hb","rout","_n","_l","_s","to_workbook","to_sheet","from_sheet","SYLK","sylk_escapes","AA","BA","CA","DA","HA","JA","AE","BE","CE","HE","AI","BI","CI","HI","AO","BO","CO","DO","HO","AU","BU","CU","HU","Aa","Ba","Ca","Da","Ha","Ja","Ae","Be","Ce","He","Ai","Bi","Ci","Hi","Ao","Bo","Co","Do","Ho","Au","Bu","Cu","Hu","KC","Kc","DN","Dn","Hy","B ","!","\"","#","(","%","'","H ","+",";","<","=","{","sylk_char_regex","sylk_char_fn","_","decode_sylk_char","newcc","encode_sylk_str","sylk_to_aoa","sylk_to_aoa_str","records","rj","formats","next_cell_format","sht","rowinfo","colinfo","cw","Mval","Workbook","WBProps","Names","rstr","record","d1904","nn","Sheet","Name","Ref","rc_to_a1","C_seen_K","C_seen_X","C_seen_S","C_seen_E","formula","cell_t","cmnt","cellText","shrbase","shift_formula_str","F_seen","hidden","hpt","hpx","pt2px","process_col","sylk_to_workbook","aoasht","outwb","write_ws_cell_sylk","F","a1_to_rc","write_ws_cmnt_sylk","write_ws_cols_sylk","rec","width","wpx","width2px","px2char","write_ws_rows_sylk","rows","px2pt","sheet_to_sylk","_formats","RS","_lastfmt","ifmt","DIF","dif_to_aoa","dif_to_aoa_str","dif_to_sheet","dif_to_workbook","make_value","make_value_str","sheet_to_dif","_DIF_XL","ETH","eth_to_aoa","eth_to_sheet","eth_to_workbook","sep","meta","sheet_to_eth_data","coord","sheet_to_eth","PRN","set_text_arr","prn_to_aoa_str","lines","guess_seps","guess_sep_weights","guess_sep","instr","dsv_to_sheet_str","FS","sepcc","startcc","_re","finish_cell","fuzzyfmla","news","cellNF","outer","prn_to_sheet_str","prn_to_sheet","bytes","firstbyte","prn_to_workbook","sheet_to_prn","read_wb_ID","OLD_WTF","parse_rpr","rpr","font","pass","shadow","outline","strike","uval","rgb","family","valign","parse_rs","parse_r","rregex","rend","rs","filter","rs_to_html","parse_rs_factory","nlregex","parse_rpr2","intro","outro","align","r_to_html","terms","sitregex","sirregex","parse_si","cellHTML","sstr1","sstr2","parse_sst_xml","Count","count","Unique","uniqueCount","straywsregex","write_sst_xml","bookSST","sitag","hex2RGB","rgb2Hex","rgb2HSL","G","H6","L2","hsl2RGB","hsl","h6","X","rgb_tint","hex","tint","DEF_MDW","MAX_MDW","MIN_MDW","MDW","px","char2width","chr","cycle_width","collw","find_mdw_colw","delta","_MDW","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","diagonalUp","diagonalDown","parse_fills","Fills","patternType","bgColor","indexed","theme","fgColor","parse_fonts","Fonts","bold","italic","underline","condense","extend","vertAlign","scheme","auto","icv","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","write_sty_xml","XLSXThemeClrScheme","parse_clrScheme","lastClr","parse_fontScheme","parse_fmtScheme","parse_themeElements","parse_theme_xml","write_theme","Themes","themeXLSX","parse_xlmeta_xml","Types","Cell","Value","metatype","lastmeta","offsets","write_xlmeta_xml","parse_xlink_xml","parse_xlink_bin","xlink_parse","parse_drawing","id","parse_vml","cidx","aidx","ObjectType","ws_get_cell_stub","ref","write_vml","csize","bbox","xmlns:v","xmlns:o","xmlns:x","xmlns:mv","v:ext","_shapeid","_comments","joinstyle","gradientshapeok","o:connecttype","coordsize","o:spt","write_vml_comment","fillopts","color2","angle","fillparm","fillxml","shadata","on","obscured","fillcolor","strokecolor","sheet_insert_comments","threaded","comment","author","parse_comments_xml","authors","commentList","authtag","cmnttag","cm","authorId","guid","textMatch","rt","write_comments_xml","iauthor","ID","lastauthor","ts","tcnt","parse_tcmnt_xml","tidx","xml_tcmnt","personId","write_tcmnt_xml","carr","rootid","tcopts","tcid","parentId","parse_people_xml","displayname","write_people_xml","person","displayName","userId","providerId","CT_VBA","make_vba_xls","newcfb","newpath","fill_vba_xls","VBAFMTS","parse_ds_bin","!type","parse_ds_xml","parse_ms_bin","parse_ms_xml","rcregex","rcbase","rcfunc","fstr","crefregex","$0","$4","$5","shift_formula_xlsx","_xlfn","ods_to_csf_formula","csf_to_ods_formula","ods_to_csf_3D","csf_to_ods_3D","_ssfopts","browser_has_Map","Map","get_sst_id","has","revarr","get","col_obj_w","level","outlineLevel","default_margins","margins","mode","defs","left","right","top","bottom","footer","get_cell_style","revssf","ssf","fontId","fillId","borderId","xfId","applyNumberFormat","safe_format","fillid","cellStyles","raw_rgb","check_ws","parse_ws_xml_dim","mergecregex","hlinkregex","dimregex","colregex","afregex","marginregex","sheetprregex","parse_ws_xml","refguess","data1","data2","mtch","sheetPr","parse_ws_xml_sheetpr","parse_ws_xml_sheetpr2","nodim","svs","parse_ws_xml_sheetviews","columns","parse_ws_xml_cols","parse_ws_xml_data","afilter","parse_ws_xml_autofilter","merges","_merge","hlink","parse_ws_xml_hlinks","parse_ws_xml_margins","tmpref","write_ws_xml_merges","codeName","CodeName","write_ws_xml_sheetpr","needed","vbaraw","cname","outlineprops","summaryBelow","summaryRight","above","sheetprot_deffalse","sheetprot_deftrue","write_ws_xml_protection","sp","password","crypto_CreatePasswordVerifier_Method1","location","Rel","tooltip","Tooltip","rng","margin","write_ws_xml_margins","seencol","coli","colm","colM","write_ws_xml_cols","write_ws_xml_autofilter","names","sviewregex","Views","zoomScale","zoom","rightToLeft","RTL","write_ws_xml_sheetviews","sview","workbookViewId","write_ws_xml_cell","oldt","oldv","_vv","os","Strings","revStrings","display","cellregex","rowregex","refregex","sdata","cells","cref","tagr","tagc","sstr","ftag","do_format","cf","arrayf","sharedf","rowobj","rowrite","marr","marrlen","xlen","rstarti","outa","ht","rslice","cellFormula","xlfn","___f","_tag","xlmeta","_r","write_ws_xml_data","params","height","_cell","customHeight","write_ws_xml","xmlns:r","sidx","rdata","_drawing","sheetFormat","defaultRowHeight","baseColWidth","outlineLevelRow","relc","ignoreEC","numberStoredAsText","sqref","r:id","parse_Cache","num","nf","parse_chart","csheet","nc","cache","parse_cs_xml","!drawel","!rel","WBPropsDef","WBViewDef","SheetDef","CalcPrDef","push_defaults_array","push_defaults","parse_wb_defaults","CalcPr","WBView","safe1904","badchars","check_ws_name","check_wb_names","N","codes","cn","check_wb","dn","wbnsregex","parse_wb_xml","AppVersion","dname","dnstart","xml_wb","Hidden","Comment","localSheetId","write_wb_xml","write_names","workbookPr","sheetId","parse_wb","parse_wb_bin","parse_ws","parse_ws_bin","parse_cs","parse_cs_bin","parse_ms","parse_ds","parse_sty","parse_sty_bin","parse_sst","parse_sst_bin","parse_cmnt","parse_comments_bin","parse_cc","parse_cc_bin","parse_cc_xml","parse_xlink","parse_xlmeta","parse_xlmeta_bin","html_to_sheet","mtch2","hd","midx","colspan","rowspan","_t","make_html_row","editable","HTML_BEGIN","HTML_END","html_to_workbook","book_new","book_append_sheet","make_html_preamble","sheet_to_html","sheet_add_dom","tagName","or_R","or_C","is_dom_element_hidden","elts","hasAttribute","getAttribute","innerHTML","Aelts","getElementsByTagName","Aelti","parse_dom_table","table_to_book","element","get_computed_style","get_get_computed_style_function","getPropertyValue","ownerDocument","defaultView","getComputedStyle","parse_text_p","fixed","parse_ods_styles","_nfm","number_format_map","NFtag","tNF","etpos","infmt","parse_content_xml","nfidx","pidx","sheetag","rowtag","ctag","textp","textpidx","textptag","oldtextp","oldtextpidx","textR","oldtextR","row_ol","mrange","mR","mC","rowpeat","colpeat","atag","_Ref","creator","creatoridx","isstub","intable","rptR","rpt","annotag","xlmlidx","styletag","nrange","ptp","bookSheets","parse_ods","Styles","parse_fods","write_styles_ods","master_styles","xmlns:office","xmlns:table","xmlns:style","xmlns:text","xmlns:draw","xmlns:fo","xmlns:xlink","xmlns:number","xmlns:svg","xmlns:of","office:version","wso","write_number_format_ods","nopts","style:name","number:min-integer-digits","number:min-numerator-digits","number:max-denominator-value","number:denominator-value","number:decimal-places","number:min-decimal-places","has_time","np","write_names_ods","scoped","namei","odsref","table:name","table:cell-range-address","table:base-cell-address","write_content_ods","write_text_p","span","null_cell_xml","write_ws","nfs","mi","ods","ROWS","skip","_Fref","text_p","_tgt","xlink:href","acreator","apayload","aprops","ci","write_automatic_styles_ods","colobj","nfi","wcx","attr","xmlns:meta","xmlns:presentation","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:xhtml","xmlns:grddl","xmlns:tableooo","xmlns:drawooo","xmlns:calcext","xmlns:loext","xmlns:field","xmlns:formx","xmlns:css3t","fods","xmlns:config","office:mimetype","write_ods","fix_opts_func","fix_opts","fix_read_opts","fix_write_opts","get_sheet_type","safe_parse_wbrels","wbrels","pwbr","strRelID","parse_sheet_legacy_drawing","dfile","draw","safe_parse_sheet","relsPath","sheetRels","stype","drelsp","chartp","crelsp","tcomments","strip_front_slash","parse_numbers_iwa","_zip","index_zip","Bun","readSync","entries","dir","binname","bookProps","link","propdata","pluck","Custprops","deps","bookDeps","wbsheets","wbext","wbrelsi","wbrelsfile","nmode","wsloop","snjseen","snj","Directory","Deps","bookFiles","bookVBA","bin","parse_xlsxcfb","parse_DataSpaceVersionInfo","dsm","parse_DataSpaceMap","comps","seds","parse_DataSpaceDefinition","parse_Primary","einfo","parse_EncryptionInfo","decrypt_agile","decrypt_std76","write_zip_xlsb","foo","vbafmt","General","_sn","_i","wsrels","_type","write_ws_bin","need_vml","needtc","write_comments_bin","rId1","write_sst_bin","write_wb_bin","write_sty_bin","write_xlmeta_bin","write_zip_xlsx","read_cfb","parse_xlscfb","read_zip","read_plaintext","main","parse_xlml","read_plaintext_raw","read_utf16","bstrify","read_prn","ab","vu","WK_","rtf_to_workbook","write_cfb_ctr","write_numbers_iwa","write_zip_type","write_zip_denouement","write_zip_typeXLSX","oopts","ftype","nodebuffer","string","generate","encrypt_agile","write_cfb_type","write_xlscfb","write_string_type","bom","write_stxt_type","write_binary_type","writeSyncXLSX","writeSync","write_xlml","sheet_to_txt","sheet_to_csv","sheet_to_rtf","sheet_to_wk1","book_to_wk3","write_biff_buf","resolve_book_type","_BT","xls","slk","socialcalc","Sh33tJS","writeFileSyncXLSX","writeFileAsync","_cb","Function","make_json_row","hdr","defval","isempty","defineProperty","enumerable","__rowNum__","rawNumbers","outi","counter","header_cnt","skipHidden","blankrows","qreg","make_csv_row","txt","datarow","forceQuotes","strip","sheet_to_formulae","cmds","sheet_add_json","js","skipHeader","ROW","JS","json_to_sheet","RC","wb_sheet_idx","sh","wsname","roll","book_set_sheet_visibility","vis","cell_set_number_format","cell_set_hyperlink","cell_set_internal_link","cell_add_comment","sheet_set_array_formula","dynamic","rngstr","wsr","table_to_sheet","sheet_to_row_object_array","sheet_get_cell","SHEET_VISIBLE","SHEET_HIDDEN","SHEET_VERY_HIDDEN","readFile","writeXLSX","writeFileXLSX","__stream","stream","require","strmod","Readable","set_readable","module","define","amd","window"],"mappings":";AAIA,GAAIA,QACJ,SAASC,eAAcD,GACv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ACA,QACA,QACA,MACA,SACA,QACA,SACA,SACA,SACA,SACA,QACA,SACA,MACA,SAEA,IACA,SACA,SACA,MACA,QACA,QACA,MACA,IACA,MACA,SACA,SACA,SACA,SACA,SACA,SACA,SAEA,QACA,QACA,SACA,SACA,SACA,SACA,QACA,QACA,MACA,QACA,MACA,QACA,SACA,SACA,QACA,QAGA,EACA,SACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,GAED,IAAIE,IAASxV,GAAIuV,GAGjB,IAAIpE,KACHtmC,EAAM,SACNyK,EAAM,UACNrB,GAAM,UACNuB,GAAM,QACNM,GAAM,SACNkN,GAAM,QACN/K,GAAM,OACNC,GAAM,gBACNnM,IAAM,QAGP,IAAI0pC,KACHC,SAAiB,EACjBC,UAAiB,EACjBC,UAAiB,GACjBC,QAAiB,GACjBC,SAAiB,GACjBC,QAAiB,GACjBC,OAAiB,GACjBC,gBAAiB,GACjBC,QAAiB,IAGlB,IAAIC,KACH,yBACA,kBACA,mBACA,gBACA,iBACA,iBACA,mBACA,qBACA,iBACA,kBACA,sBACA,wBACA,oBACA,wBAOD,IAAIC,KAEHC,6EAA8E,YAC9EC,uDAAwD,YACxDC,0DAA2D,YAC3DC,uDAAwD,YACxDC,gFAAiF,YAGjFC,4EAA6E,SAC7EC,qCAAsC,SACtCC,sCAAuC,OAGvCC,6EAA8E,SAC9EC,sCAAuC,SAGvCC,0CAA2C,SAC3CC,sCAAuC,SACvCC,0CAA2C,OAC3CC,sCAAuC,OAGvCC,8EAA+E,UAC/EC,uCAAwC,UAGxCC,gFAAiF,OACjFC,yCAA0C,OAG1CC,yEAA0E,SAC1EC,kCAAmC,SAGnCC,6DAA8D,YAC9DC,sEAAuE,YACvEC,wEAAyE,WAGzEC,wEAAyE,OACzEC,6EAA8E,OAG9EC,2EAA4E,WAC5EC,oCAAqC,WACrCC,gDAAiD,mBACjDC,sCAAuC,SAGvCC,gFAAiF,WACjFC,yCAA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GAAM3Y,UAAa,MAAMK,OAIhC,SAAUgW,WAAY,YAAarb,cAAcqb,aAC5C,UAAUuhE,UAAW,aAAeA,OAAOvhE,QAASrb,cAAc48E,OAAOvhE,aACzE,UAAUwhE,UAAW,YAAcA,OAAOC,IAAKD,OAAO,OAAQ,WAAa,IAAI98E,KAAKE,QAASD,cAAcD,KAAO,OAAOA,YACzHC,eAAcD,KAEnB,UAAUg9E,UAAW,cAAgBA,OAAOh9E,KAAM,IAAMg9E,OAAOh9E,KAAOA,KAAQ,MAAMsF","file":"dist/xlsx.mini.min.js"} \ No newline at end of file diff --git a/modules/04_base64.ts b/modules/04_base64.ts index a0e0ff2..bde14ec 100644 --- a/modules/04_base64.ts +++ b/modules/04_base64.ts @@ -60,9 +60,9 @@ function Base64_decode(input: string): string { var o = ""; var c1=0, c2=0, c3=0, e1=0, e2=0, e3=0, e4=0; if(input.slice(0,5) == "data:") { - var i = input.slice(0, 1024).indexOf(";base64,"); - if(i > -1) input = input.slice(i+8); - } + var i = input.slice(0, 1024).indexOf(";base64,"); + if(i > -1) input = input.slice(i+8); + } input = input.replace(/[^\w\+\/\=]/g, ""); for(var i = 0; i < input.length;) { e1 = Base64_map.indexOf(input.charAt(i++)); diff --git a/modules/59_vba.js b/modules/59_vba.js index 5102ba5..5c07562 100644 --- a/modules/59_vba.js +++ b/modules/59_vba.js @@ -13,7 +13,7 @@ function fill_vba_xls(cfb, vba) { vba.FullPaths.forEach(function(p, i) { if (i == 0) return; - var newpath = p.replace(/[^\/]*[\/]/, "/_VBA_PROJECT_CUR/"); + var newpath = p.replace(/^[\/]*[^\/]*[\/]/, "/_VBA_PROJECT_CUR/"); if (newpath.slice(-1) !== "/") CFB.utils.cfb_add(cfb, newpath, vba.FileIndex[i].content); }); diff --git a/modules/59_vba.ts b/modules/59_vba.ts index 2fc9575..926ce29 100644 --- a/modules/59_vba.ts +++ b/modules/59_vba.ts @@ -16,7 +16,7 @@ function make_vba_xls(cfb: CFBModule.CFB$Container) { function fill_vba_xls(cfb: CFBModule.CFB$Container, vba: CFBModule.CFB$Container): void { vba.FullPaths.forEach(function(p, i) { if(i == 0) return; - var newpath = p.replace(/[^\/]*[\/]/, "/_VBA_PROJECT_CUR/"); + var newpath = p.replace(/^[\/]*[^\/]*[\/]/, "/_VBA_PROJECT_CUR/"); if(newpath.slice(-1) !== "/") CFB.utils.cfb_add(cfb, newpath, vba.FileIndex[i].content); }); } diff --git a/modules/83_numbers.js b/modules/83_numbers.js index b6a5a8f..fc7b32c 100644 --- a/modules/83_numbers.js +++ b/modules/83_numbers.js @@ -1512,7 +1512,7 @@ function numbers_add_meta(mlist, newid, newloc) { mlist[3].push({ type: 2, data: write_shallow([ [], [{ type: 0, data: write_varint49(newid) }], - [{ type: 2, data: stru8(newloc.replace(/-.*$/, "")) }], + [{ type: 2, data: stru8(newloc.replace(/-[\s\S]*$/, "")) }], [{ type: 2, data: stru8(newloc) }], [{ type: 2, data: new Uint8Array([2, 0, 0]) }], [{ type: 2, data: new Uint8Array([2, 0, 0]) }], diff --git a/modules/83_numbers.ts b/modules/83_numbers.ts index 58472cb..7de5520 100644 --- a/modules/83_numbers.ts +++ b/modules/83_numbers.ts @@ -1281,7 +1281,7 @@ function numbers_iwa_find(cfb: CFB$Container, deps: Dependents, id: number) { function numbers_add_meta(mlist: ProtoMessage, newid: number, newloc: string) { mlist[3].push({type: 2, data: write_shallow([ [], [{type: 0, data: write_varint49(newid)}], - [{type: 2, data: stru8(newloc.replace(/-.*$/, "")) }], + [{type: 2, data: stru8(newloc.replace(/-[\s\S]*$/, "")) }], [{type: 2, data: stru8(newloc)}], [{type: 2, data: new Uint8Array([2, 0, 0])}], [{type: 2, data: new Uint8Array([2, 0, 0])}], diff --git a/xlsx.flow.js b/xlsx.flow.js index 8a69dad..6c7a944 100644 --- a/xlsx.flow.js +++ b/xlsx.flow.js @@ -1,10 +1,10 @@ /*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */ /* vim: set ts=2: */ /*exported XLSX */ -/*global global, exports, module, require:false, process:false, Buffer:false, ArrayBuffer:false, DataView:false, Deno:false, Float32Array:false */ +/*global global, exports, module, require:false, process:false, Buffer:false, ArrayBuffer:false, DataView:false, Deno:false, Set:false, Float32Array:false */ var XLSX = {}; function make_xlsx_lib(XLSX){ -XLSX.version = '0.20.1'; +XLSX.version = '0.20.2'; var current_codepage = 1200, current_ansi = 1252; /*:: declare var cptable:any; */ /*global cptable:true, window */ @@ -13,26 +13,26 @@ var $cptable; var VALID_ANSI = [ 874, 932, 936, 949, 950, 1250, 1251, 1252, 1253, 1254, 1255, 1256, 1257, 1258, 10000 ]; /* ECMA-376 Part I 18.4.1 charset to codepage mapping */ var CS2CP = ({ - /*::[*/0/*::]*/: 1252, /* ANSI */ - /*::[*/1/*::]*/: 65001, /* DEFAULT */ - /*::[*/2/*::]*/: 65001, /* SYMBOL */ - /*::[*/77/*::]*/: 10000, /* MAC */ - /*::[*/128/*::]*/: 932, /* SHIFTJIS */ - /*::[*/129/*::]*/: 949, /* HANGUL */ - /*::[*/130/*::]*/: 1361, /* JOHAB */ - /*::[*/134/*::]*/: 936, /* GB2312 */ - /*::[*/136/*::]*/: 950, /* CHINESEBIG5 */ - /*::[*/161/*::]*/: 1253, /* GREEK */ - /*::[*/162/*::]*/: 1254, /* TURKISH */ - /*::[*/163/*::]*/: 1258, /* VIETNAMESE */ - /*::[*/177/*::]*/: 1255, /* HEBREW */ - /*::[*/178/*::]*/: 1256, /* ARABIC */ - /*::[*/186/*::]*/: 1257, /* BALTIC */ - /*::[*/204/*::]*/: 1251, /* RUSSIAN */ - /*::[*/222/*::]*/: 874, /* THAI */ - /*::[*/238/*::]*/: 1250, /* EASTEUROPE */ - /*::[*/255/*::]*/: 1252, /* OEM */ - /*::[*/69/*::]*/: 6969 /* MISC */ + 0: 1252, /* ANSI */ + 1: 65001, /* DEFAULT */ + 2: 65001, /* SYMBOL */ + 77: 10000, /* MAC */ + 128: 932, /* SHIFTJIS */ + 129: 949, /* HANGUL */ + 130: 1361, /* JOHAB */ + 134: 936, /* GB2312 */ + 136: 950, /* CHINESEBIG5 */ + 161: 1253, /* GREEK */ + 162: 1254, /* TURKISH */ + 163: 1258, /* VIETNAMESE */ + 177: 1255, /* HEBREW */ + 178: 1256, /* ARABIC */ + 186: 1257, /* BALTIC */ + 204: 1251, /* RUSSIAN */ + 222: 874, /* THAI */ + 238: 1250, /* EASTEUROPE */ + 255: 1252, /* OEM */ + 69: 6969 /* MISC */ }/*:any*/); var set_ansi = function(cp/*:number*/) { if(VALID_ANSI.indexOf(cp) == -1) return; current_ansi = CS2CP[0] = cp; }; @@ -158,7 +158,12 @@ function Base64_encode_arr(input) { function Base64_decode(input) { var o = ""; var c1 = 0, c2 = 0, c3 = 0, e1 = 0, e2 = 0, e3 = 0, e4 = 0; - input = input.replace(/^data:([^\/]+\/[^\/]+)?;base64\,/, "").replace(/[^\w\+\/\=]/g, ""); + if (input.slice(0, 5) == "data:") { + var i = input.slice(0, 1024).indexOf(";base64,"); + if (i > -1) + input = input.slice(i + 8); + } + input = input.replace(/[^\w\+\/\=]/g, ""); for (var i = 0; i < input.length; ) { e1 = Base64_map.indexOf(input.charAt(i++)); e2 = Base64_map.indexOf(input.charAt(i++)); @@ -719,7 +724,7 @@ function write_num_f2(r/*:Array*/, aval/*:number*/, sign/*:string*/)/*:s return sign + (aval === 0 ? "" : ""+aval) + fill(" ", r[1].length + 2 + r[4].length); } var dec1 = /^#*0*\.([0#]+)/; -var closeparen = /\).*[0#]/; +var closeparen = /\)[^)]*[0#]/; var phone = /\(###\) ###\\?-####/; function hashq(str/*:string*/)/*:string*/ { var o = "", cc; @@ -2173,9 +2178,9 @@ function _write(cfb/*:CFBContainer*/, options/*:CFBWriteOpts*/)/*:RawBytes|strin file = cfb.FileIndex[i]; if(i === 0) file.start = file.size ? file.start - 1 : ENDOFCHAIN; var _nm/*:string*/ = (i === 0 && _opts.root) || file.name; - if(_nm.length > 32) { - console.error("Name " + _nm + " will be truncated to " + _nm.slice(0,32)); - _nm = _nm.slice(0, 32); + if(_nm.length > 31) { + console.error("Name " + _nm + " will be truncated to " + _nm.slice(0,31)); + _nm = _nm.slice(0, 31); } flen = 2*(_nm.length+1); o.write_shift(64, _nm, "utf16le"); @@ -3087,7 +3092,7 @@ function parse_mime(cfb/*:CFBContainer*/, data/*:Array*/, root/*:string* for(;di < 10; ++di) { var line = data[di]; if(!line || line.match(/^\s*$/)) break; - var m = line.match(/^(.*?):\s*([^\s].*)$/); + var m = line.match(/^([^:]*?):\s*([^\s].*)$/); if(m) switch(m[1].toLowerCase()) { case "content-location": fname = m[2].trim(); break; case "content-type": ctype = m[2].trim(); break; @@ -3332,7 +3337,7 @@ function write_dl(fname/*:string*/, payload/*:any*/, enc/*:?string*/) { var out = File(fname); out.open("w"); out.encoding = "binary"; if(Array.isArray(payload)) payload = a2s(payload); out.write(payload); out.close(); return payload; - } catch(e) { if(!e.message || !e.message.match(/onstruct/)) throw e; } + } catch(e) { if(!e.message || e.message.indexOf("onstruct") == -1) throw e; } throw new Error("cannot save file " + fname); } @@ -3346,7 +3351,7 @@ function read_binary(path/*:string*/) { var infile = File(path); infile.open("r"); infile.encoding = "binary"; var data = infile.read(); infile.close(); return data; - } catch(e) { if(!e.message || !e.message.match(/onstruct/)) throw e; } + } catch(e) { if(!e.message || e.message.indexOf("onstruct") == -1) throw e; } throw new Error("Cannot access file " + path); } function keys(o/*:any*/)/*:Array*/ { @@ -3438,7 +3443,7 @@ function parseDate(str/*:string*/, date1904/*:boolean*/)/*:Date*/ { if(m) return new Date(Date.UTC(+m[1], +m[2]-1, +m[3], 0, 0, 0, 0)); /* TODO: 1900-02-29T00:00:00.000 should return a flag to treat as a date code (affects xlml) */ m = str.match(pdre3); - if(m) return new Date(Date.UTC(+m[1], +m[2]-1, +m[3], +m[4], +m[5], ((m[6] && parseInt(m[6].slice(1), 10))|| 0), ((m[7] && parseInt(m[7].slice(1), 10))||0))); + if(m) return new Date(Date.UTC(+m[1], +m[2]-1, +m[3], +m[4], +m[5], ((m[6] && parseInt(m[6].slice(1), 10))|| 0), ((m[7] && parseInt((m[7] + "0000").slice(1,4), 10))||0))); var d = new Date(str); return d; } @@ -3505,7 +3510,7 @@ function fuzzynum(s/*:string*/)/*:number*/ { var wt = 1; var ss = s.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g, function() { wt *= 100; return "";}); if(!isNaN(v = Number(ss))) return v / wt; - ss = ss.replace(/[(](.*)[)]/,function($$, $1) { wt = -wt; return $1;}); + ss = ss.replace(/[(]([^()]*)[)]/,function($$, $1) { wt = -wt; return $1;}); if(!isNaN(v = Number(ss))) return v / wt; return v; } @@ -3546,7 +3551,7 @@ function fuzzydate(s/*:string*/)/*:Date*/ { M = lnos.match(FDRE2); if(M) return fuzzytime2(M); M = lnos.match(pdre3); - if(M) return new Date(Date.UTC(+M[1], +M[2]-1, +M[3], +M[4], +M[5], ((M[6] && parseInt(M[6].slice(1), 10))|| 0), ((M[7] && parseInt(M[7].slice(1), 10))||0))); + if(M) return new Date(Date.UTC(+M[1], +M[2]-1, +M[3], +M[4], +M[5], ((M[6] && parseInt(M[6].slice(1), 10))|| 0), ((M[7] && parseInt((M[7] + "0000").slice(1,4), 10))||0))); var o = new Date(utc_append_works && s.indexOf("UTC") == -1 ? s + " UTC": s), n = new Date(NaN); var y = o.getYear(), m = o.getMonth(), d = o.getDate(); if(isNaN(d)) return n; @@ -3574,6 +3579,161 @@ function utc_to_local(utc) { function local_to_utc(local) { return new Date(Date.UTC(local.getFullYear(), local.getMonth(), local.getDate(), local.getHours(), local.getMinutes(), local.getSeconds(), local.getMilliseconds())); } + +function remove_doctype(str) { + var preamble = str.slice(0, 1024); + var si = preamble.indexOf("/g) --> str_match_ng(str, "") */ +function str_match_ng(str, s, e) { + var out = []; + + var si = str.indexOf(s); + while(si > -1) { + var ei = str.indexOf(e, si + s.length); + if(ei == -1) break; + + out.push(str.slice(si, ei + e.length)); + si = str.indexOf(s, ei + e.length); + } + + return out.length > 0 ? out : null; +} + +/* str.replace(//g, "") --> str_remove_ng(str, "") */ +function str_remove_ng(str, s, e) { + var out = [], last = 0; + + var si = str.indexOf(s); + if(si == -1) return str; + while(si > -1) { + out.push(str.slice(last, si)); + var ei = str.indexOf(e, si + s.length); + if(ei == -1) break; + + if((si = str.indexOf(s, (last = ei + e.length))) == -1) out.push(str.slice(last)); + } + + return out.join(""); +} + +/* str.match(/]*?>([\s\S]*?)/) --> str_match_xml(str, "tag") */ +var xml_boundary = { " ": 1, "\t": 1, "\r": 1, "\n": 1, ">": 1 }; +function str_match_xml(str, tag) { + var si = str.indexOf('<' + tag), w = tag.length + 1, L = str.length; + while(si >= 0 && si <= L - w && !xml_boundary[str.charAt(si + w)]) si = str.indexOf('<' + tag, si+1); + if(si === -1) return null; + var sf = str.indexOf(">", si + tag.length); + if(sf === -1) return null; + var et = ""; + var ei = str.indexOf(et, sf); + if(ei == -1) return null; + return [str.slice(si, ei + et.length), str.slice(sf + 1, ei)]; +} + +/* str.match(/<(?:\w+:)?tag\b[^<>]*?>([\s\S]*?)<\/(?:\w+:)?tag>/) --> str_match_xml(str, "tag") */ +var str_match_xml_ns = /*#__PURE__*/(function() { + var str_match_xml_ns_cache = {}; + return function str_match_xml_ns(str, tag) { + var res = str_match_xml_ns_cache[tag]; + if(!res) str_match_xml_ns_cache[tag] = res = [ + new RegExp('<(?:\\w+:)?'+tag+'\\b[^<>]*>', "g"), + new RegExp('', "g") + ]; + res[0].lastIndex = res[1].lastIndex = 0; + var m = res[0].exec(str); + if(!m) return null; + var si = m.index; + var sf = res[0].lastIndex; + res[1].lastIndex = res[0].lastIndex; + m = res[1].exec(str); + if(!m) return null; + var ei = m.index; + var ef = res[1].lastIndex; + return [str.slice(si, ef), str.slice(sf, ei)]; + }; +})(); + +/* str.match(/<(?:\w+:)?tag\b[^<>]*?>([\s\S]*?)<\/(?:\w+:)?tag>/g) --> str_match_xml_ns_g(str, "tag") */ +var str_match_xml_ns_g = /*#__PURE__*/(function() { + var str_match_xml_ns_cache = {}; + return function str_match_xml_ns(str, tag) { + var out = []; + var res = str_match_xml_ns_cache[tag]; + if(!res) str_match_xml_ns_cache[tag] = res = [ + new RegExp('<(?:\\w+:)?'+tag+'\\b[^<>]*>', "g"), + new RegExp('', "g") + ]; + res[0].lastIndex = res[1].lastIndex = 0; + var m; + while((m = res[0].exec(str))) { + var si = m.index; + res[1].lastIndex = res[0].lastIndex; + m = res[1].exec(str); + if(!m) return null; + var ef = res[1].lastIndex; + out.push(str.slice(si, ef)); + res[0].lastIndex = res[1].lastIndex; + } + return out.length == 0 ? null : out; + }; +})(); +var str_remove_xml_ns_g = /*#__PURE__*/(function() { + var str_remove_xml_ns_cache = {}; + return function str_remove_xml_ns_g(str, tag) { + var out = []; + var res = str_remove_xml_ns_cache[tag]; + if(!res) str_remove_xml_ns_cache[tag] = res = [ + new RegExp('<(?:\\w+:)?'+tag+'\\b[^<>]*>', "g"), + new RegExp('', "g") + ]; + res[0].lastIndex = res[1].lastIndex = 0; + var m; + var si = 0, ef = 0; + while((m = res[0].exec(str))) { + si = m.index; + out.push(str.slice(ef, si)); + ef = si; + res[1].lastIndex = res[0].lastIndex; + m = res[1].exec(str); + if(!m) return null; + ef = res[1].lastIndex; + res[0].lastIndex = res[1].lastIndex; + } + out.push(str.slice(ef)); + return out.length == 0 ? "" : out.join(""); + }; +})(); + +/* str.match(/<(?:\w+:)?tag\b[^>]*?>([\s\S]*?)<\/(?:\w+:)?tag>/gi) --> str_match_xml_ns_ig(str, "tag") */ +var str_match_xml_ig = /*#__PURE__*/(function() { + var str_match_xml_ns_cache = {}; + return function str_match_xml_ns(str, tag) { + var out = []; + var res = str_match_xml_ns_cache[tag]; + if(!res) str_match_xml_ns_cache[tag] = res = [ + new RegExp('<'+tag+'\\b[^<>]*>', "ig"), + new RegExp('', "ig") + ]; + res[0].lastIndex = res[1].lastIndex = 0; + var m; + while((m = res[0].exec(str))) { + var si = m.index; + res[1].lastIndex = res[0].lastIndex; + m = res[1].exec(str); + if(!m) return null; + var ef = res[1].lastIndex; + out.push(str.slice(si, ef)); + res[0].lastIndex = res[1].lastIndex; + } + return out.length == 0 ? null : out; + }; +})(); function getdatastr(data)/*:?string*/ { if(!data) return null; if(data.content && data.type) return cc2str(data.content, true); @@ -3680,8 +3840,8 @@ function resolve_path(path/*:string*/, base/*:string*/)/*:string*/ { return result.join('/'); } var XML_HEADER = '\r\n'; -var attregexg=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g; -var tagregex1=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/mg, tagregex2 = /<[^>]*>/g; +var attregexg=/\s([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g; +var tagregex1=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?<>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'"<>\s=]+))*\s*[\/\?]?>/mg, tagregex2 = /<[^<>]*>/g; var tagregex = /*#__PURE__*/XML_HEADER.match(tagregex1) ? tagregex1 : tagregex2; var nsregex=/<\w*:/, nsregex2 = /<(\/?)\w+:/; function parsexmltag(tag/*:string*/, skip_root/*:?boolean*/, skip_LC/*:?boolean*/)/*:any*/ { @@ -3692,7 +3852,7 @@ function parsexmltag(tag/*:string*/, skip_root/*:?boolean*/, skip_LC/*:?boolean* if(eq === tag.length) return z; var m = tag.match(attregexg), j=0, v="", i=0, q="", cc="", quot = 1; if(m) for(i = 0; i != m.length; ++i) { - cc = m[i]; + cc = m[i].slice(1); for(c=0; c != cc.length; ++c) if(cc.charCodeAt(c) === 61) break; q = cc.slice(0,c).trim(); while(cc.charCodeAt(c+1) == 32) ++c; @@ -3842,16 +4002,6 @@ var utf8write/*:StringConv*/ = has_buf ? function(data) { return Buffer_from(dat return out.join(""); }; -// matches ... extracts content -var matchtag = /*#__PURE__*/(function() { - var mtcache/*:{[k:string]:RegExp}*/ = ({}/*:any*/); - return function matchtag(f/*:string*/,g/*:?string*/)/*:RegExp*/ { - var t = f+"|"+(g||""); - if(mtcache[t]) return mtcache[t]; - return (mtcache[t] = new RegExp('<(?:\\w+:)?'+f+'(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)',((g||"")/*:any*/))); - }; -})(); - var htmldecode/*:{(s:string):string}*/ = /*#__PURE__*/(function() { var entities/*:Array<[RegExp, string]>*/ = [ ['nbsp', ' '], ['middot', '·'], @@ -3862,30 +4012,25 @@ var htmldecode/*:{(s:string):string}*/ = /*#__PURE__*/(function() { // Remove new lines and spaces from start of content .replace(/^[\t\n\r ]+/, "") // Remove new lines and spaces from end of content - .replace(/[\t\n\r ]+$/,"") + .replace(/(^|[^\t\n\r ])[\t\n\r ]+$/,"$1") // Added line which removes any white space characters after and before html tags - .replace(/>\s+/g,">").replace(/\s+\s+/g,">").replace(/\b\s+ tags with new lines .replace(/<\s*[bB][rR]\s*\/?>/g,"\n") // Strip HTML elements - .replace(/<[^>]*>/g,""); + .replace(/<[^<>]*>/g,""); for(var i = 0; i < entities.length; ++i) o = o.replace(entities[i][0], entities[i][1]); return o; }; })(); -var vtregex = /*#__PURE__*/(function(){ var vt_cache = {}; - return function vt_regex(bt) { - if(vt_cache[bt] !== undefined) return vt_cache[bt]; - return (vt_cache[bt] = new RegExp("<(?:vt:)?" + bt + ">([\\s\\S]*?)", 'g') ); -};})(); -var vtvregex = /<\/?(?:vt:)?variant>/g, vtmregex = /<(?:vt:)([^>]*)>([\s\S]*)/g, vtmregex = /<(?:vt:)([^<"'>]*)>([\s\S]*)*/ { var h = parsexmltag(data); - var matches/*:Array*/ = data.match(vtregex(h.baseType))||[]; + var matches/*:Array*/ = str_match_xml_ns_g(data, h.baseType)||[]; var res/*:Array*/ = []; if(matches.length != h.size) { if(opts.WTF) throw new Error("unexpected vector length " + matches.length + " != " + h.size); @@ -3926,9 +4071,8 @@ function xlml_normalize(d)/*:string*/ { if(typeof Uint8Array !== 'undefined' && d instanceof Uint8Array) return utf8read(a2s(ab2a(d))); throw new Error("Bad input format: expected Buffer or string"); } -/* UOS uses CJK in tags */ -var xlmlregex = /<(\/?)([^\s?>:\/]+)(?:[\s?:\/](?:[^>=]|="[^"]*?")*)?>/mg; -//var xlmlregex = /<(\/?)([a-z0-9]*:|)(\w+)[^>]*>/mg; +/* UOS uses CJK in tags, ODS uses invalid XML */ +var xlmlregex = /<([\/]?)([^\s?>:\/"]+)(?:\s+[^<>=?"'\s]+="[^"]*?")*\s*[\/]?>/mg; var XMLNS = ({ CORE_PROPS: 'http://schemas.openxmlformats.org/package/2006/metadata/core-properties', @@ -4474,22 +4618,24 @@ function sheet_add_aoa(_ws/*:?Worksheet*/, data/*:AOA*/, opts/*:?any*/)/*:Worksh var _origin/*:CellAddress*/ = typeof o.origin == "string" ? decode_cell(o.origin) : o.origin; _R = _origin.r; _C = _origin.c; } - if(!ws["!ref"]) ws["!ref"] = "A1:A1"; } var range/*:Range*/ = ({s: {c:10000000, r:10000000}, e: {c:0, r:0}}/*:any*/); - if(ws['!ref']) { + if(ws["!ref"]){ var _range = safe_decode_range(ws['!ref']); range.s.c = _range.s.c; range.s.r = _range.s.r; range.e.c = Math.max(range.e.c, _range.e.c); range.e.r = Math.max(range.e.r, _range.e.r); - if(_R == -1) range.e.r = _R = _range.e.r + 1; + if(_R == -1) range.e.r = _R = (ws["!ref"] ? _range.e.r + 1 : 0); + } else { + range.s.c = range.e.c = range.s.r = range.e.r = 0; } - var row = []; + var row = [], seen = false; for(var R = 0; R != data.length; ++R) { if(!data[R]) continue; if(!Array.isArray(data[R])) throw new Error("aoa_to_sheet expects an array of arrays"); var __R = _R + R, __Rstr = "" + (__R + 1); + //console.log("!!", R, _R, __R); if(dense) { if(!ws["!data"][__R]) ws["!data"][__R] = []; row = ws["!data"][__R]; @@ -4502,6 +4648,7 @@ function sheet_add_aoa(_ws/*:?Worksheet*/, data/*:AOA*/, opts/*:?any*/)/*:Worksh if(range.s.c > __C) range.s.c = __C; if(range.e.r < __R) range.e.r = __R; if(range.e.c < __C) range.e.c = __C; + seen = true; if(data[R][C] && typeof data[R][C] === 'object' && !Array.isArray(data[R][C]) && !(data[R][C] instanceof Date)) cell = data[R][C]; else { if(Array.isArray(cell.v)) { cell.f = data[R][C][1]; cell.v = cell.v[0]; } @@ -4531,7 +4678,7 @@ function sheet_add_aoa(_ws/*:?Worksheet*/, data/*:AOA*/, opts/*:?any*/)/*:Worksh } } } - if(range.s.c < 10000000) ws['!ref'] = encode_range(range); + if(seen && range.s.c < 10400000) ws['!ref'] = encode_range(range); return ws; } function aoa_to_sheet(data/*:AOA*/, opts/*:?any*/)/*:Worksheet*/ { return sheet_add_aoa(null, data, opts); } @@ -4893,118 +5040,118 @@ var VT_CUSTOM = [VT_STRING, VT_USTR]; /* [MS-OSHARED] 2.3.3.2.2.1 Document Summary Information PIDDSI */ var DocSummaryPIDDSI = { - /*::[*/0x01/*::]*/: { n: 'CodePage', t: VT_I2 }, - /*::[*/0x02/*::]*/: { n: 'Category', t: VT_STRING }, - /*::[*/0x03/*::]*/: { n: 'PresentationFormat', t: VT_STRING }, - /*::[*/0x04/*::]*/: { n: 'ByteCount', t: VT_I4 }, - /*::[*/0x05/*::]*/: { n: 'LineCount', t: VT_I4 }, - /*::[*/0x06/*::]*/: { n: 'ParagraphCount', t: VT_I4 }, - /*::[*/0x07/*::]*/: { n: 'SlideCount', t: VT_I4 }, - /*::[*/0x08/*::]*/: { n: 'NoteCount', t: VT_I4 }, - /*::[*/0x09/*::]*/: { n: 'HiddenCount', t: VT_I4 }, - /*::[*/0x0a/*::]*/: { n: 'MultimediaClipCount', t: VT_I4 }, - /*::[*/0x0b/*::]*/: { n: 'ScaleCrop', t: VT_BOOL }, - /*::[*/0x0c/*::]*/: { n: 'HeadingPairs', t: VT_VECTOR_VARIANT /* VT_VECTOR | VT_VARIANT */ }, - /*::[*/0x0d/*::]*/: { n: 'TitlesOfParts', t: VT_VECTOR_LPSTR /* VT_VECTOR | VT_LPSTR */ }, - /*::[*/0x0e/*::]*/: { n: 'Manager', t: VT_STRING }, - /*::[*/0x0f/*::]*/: { n: 'Company', t: VT_STRING }, - /*::[*/0x10/*::]*/: { n: 'LinksUpToDate', t: VT_BOOL }, - /*::[*/0x11/*::]*/: { n: 'CharacterCount', t: VT_I4 }, - /*::[*/0x13/*::]*/: { n: 'SharedDoc', t: VT_BOOL }, - /*::[*/0x16/*::]*/: { n: 'HyperlinksChanged', t: VT_BOOL }, - /*::[*/0x17/*::]*/: { n: 'AppVersion', t: VT_I4, p: 'version' }, - /*::[*/0x18/*::]*/: { n: 'DigSig', t: VT_BLOB }, - /*::[*/0x1A/*::]*/: { n: 'ContentType', t: VT_STRING }, - /*::[*/0x1B/*::]*/: { n: 'ContentStatus', t: VT_STRING }, - /*::[*/0x1C/*::]*/: { n: 'Language', t: VT_STRING }, - /*::[*/0x1D/*::]*/: { n: 'Version', t: VT_STRING }, - /*::[*/0xFF/*::]*/: {}, + 0x01: { n: 'CodePage', t: VT_I2 }, + 0x02: { n: 'Category', t: VT_STRING }, + 0x03: { n: 'PresentationFormat', t: VT_STRING }, + 0x04: { n: 'ByteCount', t: VT_I4 }, + 0x05: { n: 'LineCount', t: VT_I4 }, + 0x06: { n: 'ParagraphCount', t: VT_I4 }, + 0x07: { n: 'SlideCount', t: VT_I4 }, + 0x08: { n: 'NoteCount', t: VT_I4 }, + 0x09: { n: 'HiddenCount', t: VT_I4 }, + 0x0a: { n: 'MultimediaClipCount', t: VT_I4 }, + 0x0b: { n: 'ScaleCrop', t: VT_BOOL }, + 0x0c: { n: 'HeadingPairs', t: VT_VECTOR_VARIANT /* VT_VECTOR | VT_VARIANT */ }, + 0x0d: { n: 'TitlesOfParts', t: VT_VECTOR_LPSTR /* VT_VECTOR | VT_LPSTR */ }, + 0x0e: { n: 'Manager', t: VT_STRING }, + 0x0f: { n: 'Company', t: VT_STRING }, + 0x10: { n: 'LinksUpToDate', t: VT_BOOL }, + 0x11: { n: 'CharacterCount', t: VT_I4 }, + 0x13: { n: 'SharedDoc', t: VT_BOOL }, + 0x16: { n: 'HyperlinksChanged', t: VT_BOOL }, + 0x17: { n: 'AppVersion', t: VT_I4, p: 'version' }, + 0x18: { n: 'DigSig', t: VT_BLOB }, + 0x1A: { n: 'ContentType', t: VT_STRING }, + 0x1B: { n: 'ContentStatus', t: VT_STRING }, + 0x1C: { n: 'Language', t: VT_STRING }, + 0x1D: { n: 'Version', t: VT_STRING }, + 0xFF: {}, /* [MS-OLEPS] 2.18 */ - /*::[*/0x80000000/*::]*/: { n: 'Locale', t: VT_UI4 }, - /*::[*/0x80000003/*::]*/: { n: 'Behavior', t: VT_UI4 }, - /*::[*/0x72627262/*::]*/: {} + 0x80000000: { n: 'Locale', t: VT_UI4 }, + 0x80000003: { n: 'Behavior', t: VT_UI4 }, + 0x72627262: {} }; /* [MS-OSHARED] 2.3.3.2.1.1 Summary Information Property Set PIDSI */ var SummaryPIDSI = { - /*::[*/0x01/*::]*/: { n: 'CodePage', t: VT_I2 }, - /*::[*/0x02/*::]*/: { n: 'Title', t: VT_STRING }, - /*::[*/0x03/*::]*/: { n: 'Subject', t: VT_STRING }, - /*::[*/0x04/*::]*/: { n: 'Author', t: VT_STRING }, - /*::[*/0x05/*::]*/: { n: 'Keywords', t: VT_STRING }, - /*::[*/0x06/*::]*/: { n: 'Comments', t: VT_STRING }, - /*::[*/0x07/*::]*/: { n: 'Template', t: VT_STRING }, - /*::[*/0x08/*::]*/: { n: 'LastAuthor', t: VT_STRING }, - /*::[*/0x09/*::]*/: { n: 'RevNumber', t: VT_STRING }, - /*::[*/0x0A/*::]*/: { n: 'EditTime', t: VT_FILETIME }, - /*::[*/0x0B/*::]*/: { n: 'LastPrinted', t: VT_FILETIME }, - /*::[*/0x0C/*::]*/: { n: 'CreatedDate', t: VT_FILETIME }, - /*::[*/0x0D/*::]*/: { n: 'ModifiedDate', t: VT_FILETIME }, - /*::[*/0x0E/*::]*/: { n: 'PageCount', t: VT_I4 }, - /*::[*/0x0F/*::]*/: { n: 'WordCount', t: VT_I4 }, - /*::[*/0x10/*::]*/: { n: 'CharCount', t: VT_I4 }, - /*::[*/0x11/*::]*/: { n: 'Thumbnail', t: VT_CF }, - /*::[*/0x12/*::]*/: { n: 'Application', t: VT_STRING }, - /*::[*/0x13/*::]*/: { n: 'DocSecurity', t: VT_I4 }, - /*::[*/0xFF/*::]*/: {}, + 0x01: { n: 'CodePage', t: VT_I2 }, + 0x02: { n: 'Title', t: VT_STRING }, + 0x03: { n: 'Subject', t: VT_STRING }, + 0x04: { n: 'Author', t: VT_STRING }, + 0x05: { n: 'Keywords', t: VT_STRING }, + 0x06: { n: 'Comments', t: VT_STRING }, + 0x07: { n: 'Template', t: VT_STRING }, + 0x08: { n: 'LastAuthor', t: VT_STRING }, + 0x09: { n: 'RevNumber', t: VT_STRING }, + 0x0A: { n: 'EditTime', t: VT_FILETIME }, + 0x0B: { n: 'LastPrinted', t: VT_FILETIME }, + 0x0C: { n: 'CreatedDate', t: VT_FILETIME }, + 0x0D: { n: 'ModifiedDate', t: VT_FILETIME }, + 0x0E: { n: 'PageCount', t: VT_I4 }, + 0x0F: { n: 'WordCount', t: VT_I4 }, + 0x10: { n: 'CharCount', t: VT_I4 }, + 0x11: { n: 'Thumbnail', t: VT_CF }, + 0x12: { n: 'Application', t: VT_STRING }, + 0x13: { n: 'DocSecurity', t: VT_I4 }, + 0xFF: {}, /* [MS-OLEPS] 2.18 */ - /*::[*/0x80000000/*::]*/: { n: 'Locale', t: VT_UI4 }, - /*::[*/0x80000003/*::]*/: { n: 'Behavior', t: VT_UI4 }, - /*::[*/0x72627262/*::]*/: {} + 0x80000000: { n: 'Locale', t: VT_UI4 }, + 0x80000003: { n: 'Behavior', t: VT_UI4 }, + 0x72627262: {} }; /* [MS-XLS] 2.4.63 Country/Region codes */ var CountryEnum = { - /*::[*/0x0001/*::]*/: "US", // United States - /*::[*/0x0002/*::]*/: "CA", // Canada - /*::[*/0x0003/*::]*/: "", // Latin America (except Brazil) - /*::[*/0x0007/*::]*/: "RU", // Russia - /*::[*/0x0014/*::]*/: "EG", // Egypt - /*::[*/0x001E/*::]*/: "GR", // Greece - /*::[*/0x001F/*::]*/: "NL", // Netherlands - /*::[*/0x0020/*::]*/: "BE", // Belgium - /*::[*/0x0021/*::]*/: "FR", // France - /*::[*/0x0022/*::]*/: "ES", // Spain - /*::[*/0x0024/*::]*/: "HU", // Hungary - /*::[*/0x0027/*::]*/: "IT", // Italy - /*::[*/0x0029/*::]*/: "CH", // Switzerland - /*::[*/0x002B/*::]*/: "AT", // Austria - /*::[*/0x002C/*::]*/: "GB", // United Kingdom - /*::[*/0x002D/*::]*/: "DK", // Denmark - /*::[*/0x002E/*::]*/: "SE", // Sweden - /*::[*/0x002F/*::]*/: "NO", // Norway - /*::[*/0x0030/*::]*/: "PL", // Poland - /*::[*/0x0031/*::]*/: "DE", // Germany - /*::[*/0x0034/*::]*/: "MX", // Mexico - /*::[*/0x0037/*::]*/: "BR", // Brazil - /*::[*/0x003d/*::]*/: "AU", // Australia - /*::[*/0x0040/*::]*/: "NZ", // New Zealand - /*::[*/0x0042/*::]*/: "TH", // Thailand - /*::[*/0x0051/*::]*/: "JP", // Japan - /*::[*/0x0052/*::]*/: "KR", // Korea - /*::[*/0x0054/*::]*/: "VN", // Viet Nam - /*::[*/0x0056/*::]*/: "CN", // China - /*::[*/0x005A/*::]*/: "TR", // Turkey - /*::[*/0x0069/*::]*/: "JS", // Ramastan - /*::[*/0x00D5/*::]*/: "DZ", // Algeria - /*::[*/0x00D8/*::]*/: "MA", // Morocco - /*::[*/0x00DA/*::]*/: "LY", // Libya - /*::[*/0x015F/*::]*/: "PT", // Portugal - /*::[*/0x0162/*::]*/: "IS", // Iceland - /*::[*/0x0166/*::]*/: "FI", // Finland - /*::[*/0x01A4/*::]*/: "CZ", // Czech Republic - /*::[*/0x0376/*::]*/: "TW", // Taiwan - /*::[*/0x03C1/*::]*/: "LB", // Lebanon - /*::[*/0x03C2/*::]*/: "JO", // Jordan - /*::[*/0x03C3/*::]*/: "SY", // Syria - /*::[*/0x03C4/*::]*/: "IQ", // Iraq - /*::[*/0x03C5/*::]*/: "KW", // Kuwait - /*::[*/0x03C6/*::]*/: "SA", // Saudi Arabia - /*::[*/0x03CB/*::]*/: "AE", // United Arab Emirates - /*::[*/0x03CC/*::]*/: "IL", // Israel - /*::[*/0x03CE/*::]*/: "QA", // Qatar - /*::[*/0x03D5/*::]*/: "IR", // Iran - /*::[*/0xFFFF/*::]*/: "US" // United States + 0x0001: "US", // United States + 0x0002: "CA", // Canada + 0x0003: "", // Latin America (except Brazil) + 0x0007: "RU", // Russia + 0x0014: "EG", // Egypt + 0x001E: "GR", // Greece + 0x001F: "NL", // Netherlands + 0x0020: "BE", // Belgium + 0x0021: "FR", // France + 0x0022: "ES", // Spain + 0x0024: "HU", // Hungary + 0x0027: "IT", // Italy + 0x0029: "CH", // Switzerland + 0x002B: "AT", // Austria + 0x002C: "GB", // United Kingdom + 0x002D: "DK", // Denmark + 0x002E: "SE", // Sweden + 0x002F: "NO", // Norway + 0x0030: "PL", // Poland + 0x0031: "DE", // Germany + 0x0034: "MX", // Mexico + 0x0037: "BR", // Brazil + 0x003d: "AU", // Australia + 0x0040: "NZ", // New Zealand + 0x0042: "TH", // Thailand + 0x0051: "JP", // Japan + 0x0052: "KR", // Korea + 0x0054: "VN", // Viet Nam + 0x0056: "CN", // China + 0x005A: "TR", // Turkey + 0x0069: "JS", // Ramastan + 0x00D5: "DZ", // Algeria + 0x00D8: "MA", // Morocco + 0x00DA: "LY", // Libya + 0x015F: "PT", // Portugal + 0x0162: "IS", // Iceland + 0x0166: "FI", // Finland + 0x01A4: "CZ", // Czech Republic + 0x0376: "TW", // Taiwan + 0x03C1: "LB", // Lebanon + 0x03C2: "JO", // Jordan + 0x03C3: "SY", // Syria + 0x03C4: "IQ", // Iraq + 0x03C5: "KW", // Kuwait + 0x03C6: "SA", // Saudi Arabia + 0x03CB: "AE", // United Arab Emirates + 0x03CC: "IL", // Israel + 0x03CE: "QA", // Qatar + 0x03D5: "IR", // Iran + 0xFFFF: "US" // United States }; /* [MS-XLS] 2.5.127 */ @@ -5130,15 +5277,15 @@ var XLSIcv = /*#__PURE__*/dup(_XLSIcv); /* [MS-XLSB] 2.5.97.2 */ var BErr = { - /*::[*/0x00/*::]*/: "#NULL!", - /*::[*/0x07/*::]*/: "#DIV/0!", - /*::[*/0x0F/*::]*/: "#VALUE!", - /*::[*/0x17/*::]*/: "#REF!", - /*::[*/0x1D/*::]*/: "#NAME?", - /*::[*/0x24/*::]*/: "#NUM!", - /*::[*/0x2A/*::]*/: "#N/A", - /*::[*/0x2B/*::]*/: "#GETTING_DATA", - /*::[*/0xFF/*::]*/: "#WTF?" + 0x00: "#NULL!", + 0x07: "#DIV/0!", + 0x0F: "#VALUE!", + 0x17: "#REF!", + 0x1D: "#NAME?", + 0x24: "#NUM!", + 0x2A: "#N/A", + 0x2B: "#GETTING_DATA", + 0xFF: "#WTF?" }; //var RBErr = evert_num(BErr); var RBErr = { @@ -5676,22 +5823,12 @@ var CORE_PROPS/*:Array >*/ = [ ["dcterms:modified", "ModifiedDate", 'date'] ]; -var CORE_PROPS_REGEX/*:Array*/ = /*#__PURE__*/(function() { - var r = new Array(CORE_PROPS.length); - for(var i = 0; i < CORE_PROPS.length; ++i) { - var f = CORE_PROPS[i]; - var g = "(?:"+ f[0].slice(0,f[0].indexOf(":")) +":)"+ f[0].slice(f[0].indexOf(":")+1); - r[i] = new RegExp("<" + g + "[^>]*>([\\s\\S]*?)<\/" + g + ">"); - } - return r; -})(); - function parse_core_props(data) { var p = {}; data = utf8read(data); for(var i = 0; i < CORE_PROPS.length; ++i) { - var f = CORE_PROPS[i], cur = data.match(CORE_PROPS_REGEX[i]); + var f = CORE_PROPS[i], cur = str_match_xml(data, f[0]); if(cur != null && cur.length > 0) p[f[1]] = unescapexml(cur[1]); if(f[2] === 'date' && p[f[1]]) p[f[1]] = parseDate(p[f[1]]); } @@ -5807,12 +5944,12 @@ function parse_ext_props(data, p, opts) { data = utf8read(data); EXT_PROPS.forEach(function(f) { - var xml = (data.match(matchtag(f[0]))||[])[1]; + var xml = (str_match_xml_ns(data, f[0])||[])[1]; switch(f[2]) { case "string": if(xml) p[f[1]] = unescapexml(xml); break; case "bool": p[f[1]] = xml === "true"; break; case "raw": - var cur = data.match(new RegExp("<" + f[0] + "[^>]*>([\\s\\S]*?)<\/" + f[0] + ">")); + var cur = str_match_xml(data, f[0]); if(cur && cur.length > 0) q[f[1]] = cur[1]; break; } @@ -5850,7 +5987,7 @@ function write_ext_props(cp/*::, opts*/)/*:string*/ { return o.join(""); } /* 15.2.12.2 Custom File Properties Part */ -var custregex = /<[^>]+>[^<]*/g; +var custregex = /<[^<>]+>[^<]*/g; function parse_cust_props(data/*:string*/, opts) { var p = {}, name = ""; var m = data.match(custregex); @@ -6239,8 +6376,8 @@ function parse_PropertySet(blob, PIDSI) { /* [MS-OSHARED] 2.3.3.2.3.1.2 + PROPVARIANT */ switch(blob[blob.l]) { case 0x41 /*VT_BLOB*/: blob.l += 4; val = parse_BLOB(blob); break; - case 0x1E /*VT_LPSTR*/: blob.l += 4; val = parse_VtString(blob, blob[blob.l-4]).replace(/\u0000+$/,""); break; - case 0x1F /*VT_LPWSTR*/: blob.l += 4; val = parse_VtString(blob, blob[blob.l-4]).replace(/\u0000+$/,""); break; + case 0x1E /*VT_LPSTR*/: blob.l += 4; val = parse_VtString(blob, blob[blob.l-4]).replace(/(^|[^\u0000])\u0000+$/,"$1"); break; + case 0x1F /*VT_LPWSTR*/: blob.l += 4; val = parse_VtString(blob, blob[blob.l-4]).replace(/(^|[^\u0000])\u0000+$/,"$1"); break; case 0x03 /*VT_I4*/: blob.l += 4; val = blob.read_shift(4, 'i'); break; case 0x13 /*VT_UI4*/: blob.l += 4; val = blob.read_shift(4); break; case 0x05 /*VT_R8*/: blob.l += 4; val = blob.read_shift(8, 'f'); break; @@ -6766,25 +6903,25 @@ function parse_FtCf(blob) { /* [MS-XLS] 2.5.140 - 2.5.154 and friends */ function parse_FtSkip(blob) { blob.l += 2; blob.l += blob.read_shift(2); } var FtTab = { - /*::[*/0x00/*::]*/: parse_FtSkip, /* FtEnd */ - /*::[*/0x04/*::]*/: parse_FtSkip, /* FtMacro */ - /*::[*/0x05/*::]*/: parse_FtSkip, /* FtButton */ - /*::[*/0x06/*::]*/: parse_FtSkip, /* FtGmo */ - /*::[*/0x07/*::]*/: parse_FtCf, /* FtCf */ - /*::[*/0x08/*::]*/: parse_FtSkip, /* FtPioGrbit */ - /*::[*/0x09/*::]*/: parse_FtSkip, /* FtPictFmla */ - /*::[*/0x0A/*::]*/: parse_FtSkip, /* FtCbls */ - /*::[*/0x0B/*::]*/: parse_FtSkip, /* FtRbo */ - /*::[*/0x0C/*::]*/: parse_FtSkip, /* FtSbs */ - /*::[*/0x0D/*::]*/: parse_FtNts, /* FtNts */ - /*::[*/0x0E/*::]*/: parse_FtSkip, /* FtSbsFmla */ - /*::[*/0x0F/*::]*/: parse_FtSkip, /* FtGboData */ - /*::[*/0x10/*::]*/: parse_FtSkip, /* FtEdoData */ - /*::[*/0x11/*::]*/: parse_FtSkip, /* FtRboData */ - /*::[*/0x12/*::]*/: parse_FtSkip, /* FtCblsData */ - /*::[*/0x13/*::]*/: parse_FtSkip, /* FtLbsData */ - /*::[*/0x14/*::]*/: parse_FtSkip, /* FtCblsFmla */ - /*::[*/0x15/*::]*/: parse_FtCmo + 0x00: parse_FtSkip, /* FtEnd */ + 0x04: parse_FtSkip, /* FtMacro */ + 0x05: parse_FtSkip, /* FtButton */ + 0x06: parse_FtSkip, /* FtGmo */ + 0x07: parse_FtCf, /* FtCf */ + 0x08: parse_FtSkip, /* FtPioGrbit */ + 0x09: parse_FtSkip, /* FtPictFmla */ + 0x0A: parse_FtSkip, /* FtCbls */ + 0x0B: parse_FtSkip, /* FtRbo */ + 0x0C: parse_FtSkip, /* FtSbs */ + 0x0D: parse_FtNts, /* FtNts */ + 0x0E: parse_FtSkip, /* FtSbsFmla */ + 0x0F: parse_FtSkip, /* FtGboData */ + 0x10: parse_FtSkip, /* FtEdoData */ + 0x11: parse_FtSkip, /* FtRboData */ + 0x12: parse_FtSkip, /* FtCblsData */ + 0x13: parse_FtSkip, /* FtLbsData */ + 0x14: parse_FtSkip, /* FtCblsFmla */ + 0x15: parse_FtCmo }; function parse_FtArray(blob, length/*::, ot*/) { var tgt = blob.l + length; @@ -7834,60 +7971,60 @@ function parse_BIFF4SheetInfo(blob/*::, length, opts*/) { var DBF = /*#__PURE__*/(function() { var dbf_codepage_map = { /* Code Pages Supported by Visual FoxPro */ - /*::[*/0x01/*::]*/: 437, /*::[*/0x02/*::]*/: 850, - /*::[*/0x03/*::]*/: 1252, /*::[*/0x04/*::]*/: 10000, - /*::[*/0x64/*::]*/: 852, /*::[*/0x65/*::]*/: 866, - /*::[*/0x66/*::]*/: 865, /*::[*/0x67/*::]*/: 861, - /*::[*/0x68/*::]*/: 895, /*::[*/0x69/*::]*/: 620, - /*::[*/0x6A/*::]*/: 737, /*::[*/0x6B/*::]*/: 857, - /*::[*/0x78/*::]*/: 950, /*::[*/0x79/*::]*/: 949, - /*::[*/0x7A/*::]*/: 936, /*::[*/0x7B/*::]*/: 932, - /*::[*/0x7C/*::]*/: 874, /*::[*/0x7D/*::]*/: 1255, - /*::[*/0x7E/*::]*/: 1256, /*::[*/0x96/*::]*/: 10007, - /*::[*/0x97/*::]*/: 10029, /*::[*/0x98/*::]*/: 10006, - /*::[*/0xC8/*::]*/: 1250, /*::[*/0xC9/*::]*/: 1251, - /*::[*/0xCA/*::]*/: 1254, /*::[*/0xCB/*::]*/: 1253, + 0x01: 437, 0x02: 850, + 0x03: 1252, 0x04: 10000, + 0x64: 852, 0x65: 866, + 0x66: 865, 0x67: 861, + 0x68: 895, 0x69: 620, + 0x6A: 737, 0x6B: 857, + 0x78: 950, 0x79: 949, + 0x7A: 936, 0x7B: 932, + 0x7C: 874, 0x7D: 1255, + 0x7E: 1256, 0x96: 10007, + 0x97: 10029, 0x98: 10006, + 0xC8: 1250, 0xC9: 1251, + 0xCA: 1254, 0xCB: 1253, /* shapefile DBF extension */ - /*::[*/0x00/*::]*/: 20127, /*::[*/0x08/*::]*/: 865, - /*::[*/0x09/*::]*/: 437, /*::[*/0x0A/*::]*/: 850, - /*::[*/0x0B/*::]*/: 437, /*::[*/0x0D/*::]*/: 437, - /*::[*/0x0E/*::]*/: 850, /*::[*/0x0F/*::]*/: 437, - /*::[*/0x10/*::]*/: 850, /*::[*/0x11/*::]*/: 437, - /*::[*/0x12/*::]*/: 850, /*::[*/0x13/*::]*/: 932, - /*::[*/0x14/*::]*/: 850, /*::[*/0x15/*::]*/: 437, - /*::[*/0x16/*::]*/: 850, /*::[*/0x17/*::]*/: 865, - /*::[*/0x18/*::]*/: 437, /*::[*/0x19/*::]*/: 437, - /*::[*/0x1A/*::]*/: 850, /*::[*/0x1B/*::]*/: 437, - /*::[*/0x1C/*::]*/: 863, /*::[*/0x1D/*::]*/: 850, - /*::[*/0x1F/*::]*/: 852, /*::[*/0x22/*::]*/: 852, - /*::[*/0x23/*::]*/: 852, /*::[*/0x24/*::]*/: 860, - /*::[*/0x25/*::]*/: 850, /*::[*/0x26/*::]*/: 866, - /*::[*/0x37/*::]*/: 850, /*::[*/0x40/*::]*/: 852, - /*::[*/0x4D/*::]*/: 936, /*::[*/0x4E/*::]*/: 949, - /*::[*/0x4F/*::]*/: 950, /*::[*/0x50/*::]*/: 874, - /*::[*/0x57/*::]*/: 1252, /*::[*/0x58/*::]*/: 1252, - /*::[*/0x59/*::]*/: 1252, /*::[*/0x6C/*::]*/: 863, - /*::[*/0x86/*::]*/: 737, /*::[*/0x87/*::]*/: 852, - /*::[*/0x88/*::]*/: 857, /*::[*/0xCC/*::]*/: 1257, + 0x00: 20127, 0x08: 865, + 0x09: 437, 0x0A: 850, + 0x0B: 437, 0x0D: 437, + 0x0E: 850, 0x0F: 437, + 0x10: 850, 0x11: 437, + 0x12: 850, 0x13: 932, + 0x14: 850, 0x15: 437, + 0x16: 850, 0x17: 865, + 0x18: 437, 0x19: 437, + 0x1A: 850, 0x1B: 437, + 0x1C: 863, 0x1D: 850, + 0x1F: 852, 0x22: 852, + 0x23: 852, 0x24: 860, + 0x25: 850, 0x26: 866, + 0x37: 850, 0x40: 852, + 0x4D: 936, 0x4E: 949, + 0x4F: 950, 0x50: 874, + 0x57: 1252, 0x58: 1252, + 0x59: 1252, 0x6C: 863, + 0x86: 737, 0x87: 852, + 0x88: 857, 0xCC: 1257, - /*::[*/0xFF/*::]*/: 16969 + 0xFF: 16969 }; var dbf_reverse_map = evert({ - /*::[*/0x01/*::]*/: 437, /*::[*/0x02/*::]*/: 850, - /*::[*/0x03/*::]*/: 1252, /*::[*/0x04/*::]*/: 10000, - /*::[*/0x64/*::]*/: 852, /*::[*/0x65/*::]*/: 866, - /*::[*/0x66/*::]*/: 865, /*::[*/0x67/*::]*/: 861, - /*::[*/0x68/*::]*/: 895, /*::[*/0x69/*::]*/: 620, - /*::[*/0x6A/*::]*/: 737, /*::[*/0x6B/*::]*/: 857, - /*::[*/0x78/*::]*/: 950, /*::[*/0x79/*::]*/: 949, - /*::[*/0x7A/*::]*/: 936, /*::[*/0x7B/*::]*/: 932, - /*::[*/0x7C/*::]*/: 874, /*::[*/0x7D/*::]*/: 1255, - /*::[*/0x7E/*::]*/: 1256, /*::[*/0x96/*::]*/: 10007, - /*::[*/0x97/*::]*/: 10029, /*::[*/0x98/*::]*/: 10006, - /*::[*/0xC8/*::]*/: 1250, /*::[*/0xC9/*::]*/: 1251, - /*::[*/0xCA/*::]*/: 1254, /*::[*/0xCB/*::]*/: 1253, - /*::[*/0x00/*::]*/: 20127 + 0x01: 437, 0x02: 850, + 0x03: 1252, 0x04: 10000, + 0x64: 852, 0x65: 866, + 0x66: 865, 0x67: 861, + 0x68: 895, 0x69: 620, + 0x6A: 737, 0x6B: 857, + 0x78: 950, 0x79: 949, + 0x7A: 936, 0x7B: 932, + 0x7C: 874, 0x7D: 1255, + 0x7E: 1256, 0x96: 10007, + 0x97: 10029, 0x98: 10006, + 0xC8: 1250, 0xC9: 1251, + 0xCA: 1254, 0xCB: 1253, + 0x00: 20127 }); /* TODO: find an actual specification */ function dbf_to_aoa(buf, opts)/*:AOA*/ { @@ -7950,7 +8087,7 @@ function dbf_to_aoa(buf, opts)/*:AOA*/ { var ww = l7 ? 32 : 11; while(d.l < hend && d[d.l] != 0x0d) { field = ({}/*:any*/); - field.name = (typeof $cptable !== "undefined" ? $cptable.utils.decode(current_cp, d.slice(d.l, d.l+ww)) : a2s(d.slice(d.l, d.l + ww))).replace(/[\u0000\r\n].*$/g,""); + field.name = (typeof $cptable !== "undefined" ? $cptable.utils.decode(current_cp, d.slice(d.l, d.l+ww)) : a2s(d.slice(d.l, d.l + ww))).replace(/[\u0000\r\n][\S\s]*$/g,""); d.l += ww; field.type = String.fromCharCode(d.read_shift(1)); if(ft != 0x02 && !l7) field.offset = d.read_shift(4); @@ -8008,7 +8145,7 @@ function dbf_to_aoa(buf, opts)/*:AOA*/ { switch(fields[C].type) { case 'C': // NOTE: it is conventional to write ' / / ' for empty dates - if(s.trim().length) out[R][C] = s.replace(/\s+$/,""); + if(s.trim().length) out[R][C] = s.replace(/([^\s])\s+$/,"$1"); break; case 'D': if(s.length === 8) { @@ -8236,9 +8373,9 @@ var SYLK = /*#__PURE__*/(function() { KC:'Ç', Kc:'ç', q:'æ', z:'œ', a:'Æ', j:'Œ', DN:209, Dn:241, Hy:255, S:169, c:170, R:174, "B ":180, - /*::[*/0/*::]*/:176, /*::[*/1/*::]*/:177, /*::[*/2/*::]*/:178, - /*::[*/3/*::]*/:179, /*::[*/5/*::]*/:181, /*::[*/6/*::]*/:182, - /*::[*/7/*::]*/:183, Q:185, k:186, b:208, i:216, l:222, s:240, y:248, + 0:176, 1:177, 2:178, + 3:179, 5:181, 6:182, + 7:183, Q:185, k:186, b:208, i:216, l:222, s:240, y:248, "!":161, '"':162, "#":163, "(":164, "%":165, "'":167, "H ":168, "+":171, ";":187, "<":188, "=":189, ">":190, "?":191, "{":223 }/*:any*/); @@ -8315,6 +8452,7 @@ var SYLK = /*#__PURE__*/(function() { val = record[rj].slice(1); if(val.charAt(0) === '"') { val = val.slice(1,val.length - 1); cell_t = "s"; } else if(val === 'TRUE' || val === 'FALSE') { val = val === 'TRUE'; cell_t = "b"; } + else if(val.charAt(0) == "#" && RBErr[val] != null) { cell_t = "e"; val = RBErr[val]; } else if(!isNaN(fuzzynum(val))) { val = fuzzynum(val); cell_t = "n"; if(next_cell_format !== null && fmt_is_date(next_cell_format) && opts.cellDates) { @@ -8427,7 +8565,7 @@ var SYLK = /*#__PURE__*/(function() { o += (cell.v||0); if(cell.f && !cell.F) o += ";E" + a1_to_rc(cell.f, {r:R, c:C}); break; case 'b': o += cell.v ? "TRUE" : "FALSE"; break; - case 'e': o += cell.w || cell.v; break; + case 'e': o += cell.w || BErr[cell.v] || cell.v; break; case 'd': o += datenum(parseDate(cell.v, date1904), date1904); break; case 's': o += '"' + (cell.v == null ? "" : String(cell.v)).replace(/"/g,"").replace(/;/g, ";;") + '"'; break; } @@ -8772,18 +8910,18 @@ var PRN = /*#__PURE__*/(function() { // List of accepted CSV separators var guess_seps = { - /*::[*/0x2C/*::]*/: ',', - /*::[*/0x09/*::]*/: "\t", - /*::[*/0x3B/*::]*/: ';', - /*::[*/0x7C/*::]*/: '|' + 0x2C: ',', + 0x09: "\t", + 0x3B: ';', + 0x7C: '|' }; // CSV separator weights to be used in case of equal numbers var guess_sep_weights = { - /*::[*/0x2C/*::]*/: 3, - /*::[*/0x09/*::]*/: 2, - /*::[*/0x3B/*::]*/: 1, - /*::[*/0x7C/*::]*/: 0 + 0x2C: 3, + 0x09: 2, + 0x3B: 1, + 0x7C: 0 }; function guess_sep(str) { @@ -8952,7 +9090,7 @@ function read_wb_ID(d, opts) { return out; } catch(e) { o.WTF = OLD_WTF; - if(!e.message.match(/SYLK bad record ID/) && OLD_WTF) throw e; + if((e.message.indexOf("SYLK bad record ID") == -1) && OLD_WTF) throw e; return PRN.to_workbook(d, opts); } } @@ -9722,68 +9860,68 @@ var WK_ = /*#__PURE__*/(function() { } var WK1Enum = { - /*::[*/0x0000/*::]*/: { n:"BOF", f:parseuint16 }, - /*::[*/0x0001/*::]*/: { n:"EOF" }, - /*::[*/0x0002/*::]*/: { n:"CALCMODE" }, - /*::[*/0x0003/*::]*/: { n:"CALCORDER" }, - /*::[*/0x0004/*::]*/: { n:"SPLIT" }, - /*::[*/0x0005/*::]*/: { n:"SYNC" }, - /*::[*/0x0006/*::]*/: { n:"RANGE", f:parse_RANGE }, - /*::[*/0x0007/*::]*/: { n:"WINDOW1" }, - /*::[*/0x0008/*::]*/: { n:"COLW1" }, - /*::[*/0x0009/*::]*/: { n:"WINTWO" }, - /*::[*/0x000A/*::]*/: { n:"COLW2" }, - /*::[*/0x000B/*::]*/: { n:"NAME" }, - /*::[*/0x000C/*::]*/: { n:"BLANK" }, - /*::[*/0x000D/*::]*/: { n:"INTEGER", f:parse_INTEGER }, - /*::[*/0x000E/*::]*/: { n:"NUMBER", f:parse_NUMBER }, - /*::[*/0x000F/*::]*/: { n:"LABEL", f:parse_LABEL }, - /*::[*/0x0010/*::]*/: { n:"FORMULA", f:parse_FORMULA }, - /*::[*/0x0018/*::]*/: { n:"TABLE" }, - /*::[*/0x0019/*::]*/: { n:"ORANGE" }, - /*::[*/0x001A/*::]*/: { n:"PRANGE" }, - /*::[*/0x001B/*::]*/: { n:"SRANGE" }, - /*::[*/0x001C/*::]*/: { n:"FRANGE" }, - /*::[*/0x001D/*::]*/: { n:"KRANGE1" }, - /*::[*/0x0020/*::]*/: { n:"HRANGE" }, - /*::[*/0x0023/*::]*/: { n:"KRANGE2" }, - /*::[*/0x0024/*::]*/: { n:"PROTEC" }, - /*::[*/0x0025/*::]*/: { n:"FOOTER" }, - /*::[*/0x0026/*::]*/: { n:"HEADER" }, - /*::[*/0x0027/*::]*/: { n:"SETUP" }, - /*::[*/0x0028/*::]*/: { n:"MARGINS" }, - /*::[*/0x0029/*::]*/: { n:"LABELFMT" }, - /*::[*/0x002A/*::]*/: { n:"TITLES" }, - /*::[*/0x002B/*::]*/: { n:"SHEETJS" }, - /*::[*/0x002D/*::]*/: { n:"GRAPH" }, - /*::[*/0x002E/*::]*/: { n:"NGRAPH" }, - /*::[*/0x002F/*::]*/: { n:"CALCCOUNT" }, - /*::[*/0x0030/*::]*/: { n:"UNFORMATTED" }, - /*::[*/0x0031/*::]*/: { n:"CURSORW12" }, - /*::[*/0x0032/*::]*/: { n:"WINDOW" }, - /*::[*/0x0033/*::]*/: { n:"STRING", f:parse_STRING }, - /*::[*/0x0037/*::]*/: { n:"PASSWORD" }, - /*::[*/0x0038/*::]*/: { n:"LOCKED" }, - /*::[*/0x003C/*::]*/: { n:"QUERY" }, - /*::[*/0x003D/*::]*/: { n:"QUERYNAME" }, - /*::[*/0x003E/*::]*/: { n:"PRINT" }, - /*::[*/0x003F/*::]*/: { n:"PRINTNAME" }, - /*::[*/0x0040/*::]*/: { n:"GRAPH2" }, - /*::[*/0x0041/*::]*/: { n:"GRAPHNAME" }, - /*::[*/0x0042/*::]*/: { n:"ZOOM" }, - /*::[*/0x0043/*::]*/: { n:"SYMSPLIT" }, - /*::[*/0x0044/*::]*/: { n:"NSROWS" }, - /*::[*/0x0045/*::]*/: { n:"NSCOLS" }, - /*::[*/0x0046/*::]*/: { n:"RULER" }, - /*::[*/0x0047/*::]*/: { n:"NNAME" }, - /*::[*/0x0048/*::]*/: { n:"ACOMM" }, - /*::[*/0x0049/*::]*/: { n:"AMACRO" }, - /*::[*/0x004A/*::]*/: { n:"PARSE" }, + 0x0000: { n:"BOF", f:parseuint16 }, + 0x0001: { n:"EOF" }, + 0x0002: { n:"CALCMODE" }, + 0x0003: { n:"CALCORDER" }, + 0x0004: { n:"SPLIT" }, + 0x0005: { n:"SYNC" }, + 0x0006: { n:"RANGE", f:parse_RANGE }, + 0x0007: { n:"WINDOW1" }, + 0x0008: { n:"COLW1" }, + 0x0009: { n:"WINTWO" }, + 0x000A: { n:"COLW2" }, + 0x000B: { n:"NAME" }, + 0x000C: { n:"BLANK" }, + 0x000D: { n:"INTEGER", f:parse_INTEGER }, + 0x000E: { n:"NUMBER", f:parse_NUMBER }, + 0x000F: { n:"LABEL", f:parse_LABEL }, + 0x0010: { n:"FORMULA", f:parse_FORMULA }, + 0x0018: { n:"TABLE" }, + 0x0019: { n:"ORANGE" }, + 0x001A: { n:"PRANGE" }, + 0x001B: { n:"SRANGE" }, + 0x001C: { n:"FRANGE" }, + 0x001D: { n:"KRANGE1" }, + 0x0020: { n:"HRANGE" }, + 0x0023: { n:"KRANGE2" }, + 0x0024: { n:"PROTEC" }, + 0x0025: { n:"FOOTER" }, + 0x0026: { n:"HEADER" }, + 0x0027: { n:"SETUP" }, + 0x0028: { n:"MARGINS" }, + 0x0029: { n:"LABELFMT" }, + 0x002A: { n:"TITLES" }, + 0x002B: { n:"SHEETJS" }, + 0x002D: { n:"GRAPH" }, + 0x002E: { n:"NGRAPH" }, + 0x002F: { n:"CALCCOUNT" }, + 0x0030: { n:"UNFORMATTED" }, + 0x0031: { n:"CURSORW12" }, + 0x0032: { n:"WINDOW" }, + 0x0033: { n:"STRING", f:parse_STRING }, + 0x0037: { n:"PASSWORD" }, + 0x0038: { n:"LOCKED" }, + 0x003C: { n:"QUERY" }, + 0x003D: { n:"QUERYNAME" }, + 0x003E: { n:"PRINT" }, + 0x003F: { n:"PRINTNAME" }, + 0x0040: { n:"GRAPH2" }, + 0x0041: { n:"GRAPHNAME" }, + 0x0042: { n:"ZOOM" }, + 0x0043: { n:"SYMSPLIT" }, + 0x0044: { n:"NSROWS" }, + 0x0045: { n:"NSCOLS" }, + 0x0046: { n:"RULER" }, + 0x0047: { n:"NNAME" }, + 0x0048: { n:"ACOMM" }, + 0x0049: { n:"AMACRO" }, + 0x004A: { n:"PARSE" }, // 0x0064 - /*::[*/0x0066/*::]*/: { n:"PRANGES??" }, - /*::[*/0x0067/*::]*/: { n:"RRANGES??" }, - /*::[*/0x0068/*::]*/: { n:"FNAME??" }, - /*::[*/0x0069/*::]*/: { n:"MRANGES??" }, + 0x0066: { n:"PRANGES??" }, + 0x0067: { n:"RRANGES??" }, + 0x0068: { n:"FNAME??" }, + 0x0069: { n:"MRANGES??" }, // 0x0096 // 0x0099 // 0x009A @@ -9792,160 +9930,160 @@ var WK_ = /*#__PURE__*/(function() { // 0x00C0 // 0x00C7 // 0x00C9 - /*::[*/0x00CC/*::]*/: { n:"SHEETNAMECS", f:parse_SHEETNAMECS }, + 0x00CC: { n:"SHEETNAMECS", f:parse_SHEETNAMECS }, // 0x00CD - /*::[*/0x00DE/*::]*/: { n:"SHEETNAMELP", f:parse_SHEETNAMELP }, - /*::[*/0x00FF/*::]*/: { n:"BOF", f:parseuint16 }, - /*::[*/0x5402/*::]*/: { n:"WKSNF", f:parseuint16 }, - /*::[*/0xFFFF/*::]*/: { n:"" } + 0x00DE: { n:"SHEETNAMELP", f:parse_SHEETNAMELP }, + 0x00FF: { n:"BOF", f:parseuint16 }, + 0x5402: { n:"WKSNF", f:parseuint16 }, + 0xFFFF: { n:"" } }; var WK3Enum = { - /*::[*/0x0000/*::]*/: { n:"BOF" }, - /*::[*/0x0001/*::]*/: { n:"EOF" }, - /*::[*/0x0002/*::]*/: { n:"PASSWORD" }, - /*::[*/0x0003/*::]*/: { n:"CALCSET" }, - /*::[*/0x0004/*::]*/: { n:"WINDOWSET" }, - /*::[*/0x0005/*::]*/: { n:"SHEETCELLPTR" }, - /*::[*/0x0006/*::]*/: { n:"SHEETLAYOUT" }, - /*::[*/0x0007/*::]*/: { n:"COLUMNWIDTH" }, - /*::[*/0x0008/*::]*/: { n:"HIDDENCOLUMN" }, - /*::[*/0x0009/*::]*/: { n:"USERRANGE" }, - /*::[*/0x000A/*::]*/: { n:"SYSTEMRANGE" }, - /*::[*/0x000B/*::]*/: { n:"ZEROFORCE" }, - /*::[*/0x000C/*::]*/: { n:"SORTKEYDIR" }, - /*::[*/0x000D/*::]*/: { n:"FILESEAL" }, - /*::[*/0x000E/*::]*/: { n:"DATAFILLNUMS" }, - /*::[*/0x000F/*::]*/: { n:"PRINTMAIN" }, - /*::[*/0x0010/*::]*/: { n:"PRINTSTRING" }, - /*::[*/0x0011/*::]*/: { n:"GRAPHMAIN" }, - /*::[*/0x0012/*::]*/: { n:"GRAPHSTRING" }, - /*::[*/0x0013/*::]*/: { n:"??" }, - /*::[*/0x0014/*::]*/: { n:"ERRCELL" }, - /*::[*/0x0015/*::]*/: { n:"NACELL" }, - /*::[*/0x0016/*::]*/: { n:"LABEL16", f:parse_LABEL_16}, - /*::[*/0x0017/*::]*/: { n:"NUMBER17", f:parse_NUMBER_17 }, - /*::[*/0x0018/*::]*/: { n:"NUMBER18", f:parse_NUMBER_18 }, - /*::[*/0x0019/*::]*/: { n:"FORMULA19", f:parse_FORMULA_19}, - /*::[*/0x001A/*::]*/: { n:"FORMULA1A" }, - /*::[*/0x001B/*::]*/: { n:"XFORMAT", f:parse_XFORMAT }, - /*::[*/0x001C/*::]*/: { n:"DTLABELMISC" }, - /*::[*/0x001D/*::]*/: { n:"DTLABELCELL" }, - /*::[*/0x001E/*::]*/: { n:"GRAPHWINDOW" }, - /*::[*/0x001F/*::]*/: { n:"CPA" }, - /*::[*/0x0020/*::]*/: { n:"LPLAUTO" }, - /*::[*/0x0021/*::]*/: { n:"QUERY" }, - /*::[*/0x0022/*::]*/: { n:"HIDDENSHEET" }, - /*::[*/0x0023/*::]*/: { n:"??" }, - /*::[*/0x0025/*::]*/: { n:"NUMBER25", f:parse_NUMBER_25 }, - /*::[*/0x0026/*::]*/: { n:"??" }, - /*::[*/0x0027/*::]*/: { n:"NUMBER27", f:parse_NUMBER_27 }, - /*::[*/0x0028/*::]*/: { n:"FORMULA28", f:parse_FORMULA_28 }, - /*::[*/0x008E/*::]*/: { n:"??" }, - /*::[*/0x0093/*::]*/: { n:"??" }, - /*::[*/0x0096/*::]*/: { n:"??" }, - /*::[*/0x0097/*::]*/: { n:"??" }, - /*::[*/0x0098/*::]*/: { n:"??" }, - /*::[*/0x0099/*::]*/: { n:"??" }, - /*::[*/0x009A/*::]*/: { n:"??" }, - /*::[*/0x009B/*::]*/: { n:"??" }, - /*::[*/0x009C/*::]*/: { n:"??" }, - /*::[*/0x00A3/*::]*/: { n:"??" }, - /*::[*/0x00AE/*::]*/: { n:"??" }, - /*::[*/0x00AF/*::]*/: { n:"??" }, - /*::[*/0x00B0/*::]*/: { n:"??" }, - /*::[*/0x00B1/*::]*/: { n:"??" }, - /*::[*/0x00B8/*::]*/: { n:"??" }, - /*::[*/0x00B9/*::]*/: { n:"??" }, - /*::[*/0x00BA/*::]*/: { n:"??" }, - /*::[*/0x00BB/*::]*/: { n:"??" }, - /*::[*/0x00BC/*::]*/: { n:"??" }, - /*::[*/0x00C3/*::]*/: { n:"??" }, - /*::[*/0x00C9/*::]*/: { n:"??" }, - /*::[*/0x00CC/*::]*/: { n:"SHEETNAMECS", f:parse_SHEETNAMECS }, - /*::[*/0x00CD/*::]*/: { n:"??" }, - /*::[*/0x00CE/*::]*/: { n:"??" }, - /*::[*/0x00CF/*::]*/: { n:"??" }, - /*::[*/0x00D0/*::]*/: { n:"??" }, - /*::[*/0x0100/*::]*/: { n:"??" }, - /*::[*/0x0103/*::]*/: { n:"??" }, - /*::[*/0x0104/*::]*/: { n:"??" }, - /*::[*/0x0105/*::]*/: { n:"??" }, - /*::[*/0x0106/*::]*/: { n:"??" }, - /*::[*/0x0107/*::]*/: { n:"??" }, - /*::[*/0x0109/*::]*/: { n:"??" }, - /*::[*/0x010A/*::]*/: { n:"??" }, - /*::[*/0x010B/*::]*/: { n:"??" }, - /*::[*/0x010C/*::]*/: { n:"??" }, - /*::[*/0x010E/*::]*/: { n:"??" }, - /*::[*/0x010F/*::]*/: { n:"??" }, - /*::[*/0x0180/*::]*/: { n:"??" }, - /*::[*/0x0185/*::]*/: { n:"??" }, - /*::[*/0x0186/*::]*/: { n:"??" }, - /*::[*/0x0189/*::]*/: { n:"??" }, - /*::[*/0x018C/*::]*/: { n:"??" }, - /*::[*/0x0200/*::]*/: { n:"??" }, - /*::[*/0x0202/*::]*/: { n:"??" }, - /*::[*/0x0201/*::]*/: { n:"??" }, - /*::[*/0x0204/*::]*/: { n:"??" }, - /*::[*/0x0205/*::]*/: { n:"??" }, - /*::[*/0x0280/*::]*/: { n:"??" }, - /*::[*/0x0281/*::]*/: { n:"??" }, - /*::[*/0x0282/*::]*/: { n:"??" }, - /*::[*/0x0283/*::]*/: { n:"??" }, - /*::[*/0x0284/*::]*/: { n:"??" }, - /*::[*/0x0285/*::]*/: { n:"??" }, - /*::[*/0x0286/*::]*/: { n:"??" }, - /*::[*/0x0287/*::]*/: { n:"??" }, - /*::[*/0x0288/*::]*/: { n:"??" }, - /*::[*/0x0292/*::]*/: { n:"??" }, - /*::[*/0x0293/*::]*/: { n:"??" }, - /*::[*/0x0294/*::]*/: { n:"??" }, - /*::[*/0x0295/*::]*/: { n:"??" }, - /*::[*/0x0296/*::]*/: { n:"??" }, - /*::[*/0x0299/*::]*/: { n:"??" }, - /*::[*/0x029A/*::]*/: { n:"??" }, - /*::[*/0x0300/*::]*/: { n:"??" }, - /*::[*/0x0304/*::]*/: { n:"??" }, - /*::[*/0x0601/*::]*/: { n:"SHEETINFOQP", f:parse_SHEETINFOQP }, - /*::[*/0x0640/*::]*/: { n:"??" }, - /*::[*/0x0642/*::]*/: { n:"??" }, - /*::[*/0x0701/*::]*/: { n:"??" }, - /*::[*/0x0702/*::]*/: { n:"??" }, - /*::[*/0x0703/*::]*/: { n:"??" }, - /*::[*/0x0704/*::]*/: { n:"??" }, - /*::[*/0x0780/*::]*/: { n:"??" }, - /*::[*/0x0800/*::]*/: { n:"??" }, - /*::[*/0x0801/*::]*/: { n:"??" }, - /*::[*/0x0804/*::]*/: { n:"??" }, - /*::[*/0x0A80/*::]*/: { n:"??" }, - /*::[*/0x2AF6/*::]*/: { n:"??" }, - /*::[*/0x3231/*::]*/: { n:"??" }, - /*::[*/0x6E49/*::]*/: { n:"??" }, - /*::[*/0x6F44/*::]*/: { n:"??" }, - /*::[*/0xFFFF/*::]*/: { n:"" } + 0x0000: { n:"BOF" }, + 0x0001: { n:"EOF" }, + 0x0002: { n:"PASSWORD" }, + 0x0003: { n:"CALCSET" }, + 0x0004: { n:"WINDOWSET" }, + 0x0005: { n:"SHEETCELLPTR" }, + 0x0006: { n:"SHEETLAYOUT" }, + 0x0007: { n:"COLUMNWIDTH" }, + 0x0008: { n:"HIDDENCOLUMN" }, + 0x0009: { n:"USERRANGE" }, + 0x000A: { n:"SYSTEMRANGE" }, + 0x000B: { n:"ZEROFORCE" }, + 0x000C: { n:"SORTKEYDIR" }, + 0x000D: { n:"FILESEAL" }, + 0x000E: { n:"DATAFILLNUMS" }, + 0x000F: { n:"PRINTMAIN" }, + 0x0010: { n:"PRINTSTRING" }, + 0x0011: { n:"GRAPHMAIN" }, + 0x0012: { n:"GRAPHSTRING" }, + 0x0013: { n:"??" }, + 0x0014: { n:"ERRCELL" }, + 0x0015: { n:"NACELL" }, + 0x0016: { n:"LABEL16", f:parse_LABEL_16}, + 0x0017: { n:"NUMBER17", f:parse_NUMBER_17 }, + 0x0018: { n:"NUMBER18", f:parse_NUMBER_18 }, + 0x0019: { n:"FORMULA19", f:parse_FORMULA_19}, + 0x001A: { n:"FORMULA1A" }, + 0x001B: { n:"XFORMAT", f:parse_XFORMAT }, + 0x001C: { n:"DTLABELMISC" }, + 0x001D: { n:"DTLABELCELL" }, + 0x001E: { n:"GRAPHWINDOW" }, + 0x001F: { n:"CPA" }, + 0x0020: { n:"LPLAUTO" }, + 0x0021: { n:"QUERY" }, + 0x0022: { n:"HIDDENSHEET" }, + 0x0023: { n:"??" }, + 0x0025: { n:"NUMBER25", f:parse_NUMBER_25 }, + 0x0026: { n:"??" }, + 0x0027: { n:"NUMBER27", f:parse_NUMBER_27 }, + 0x0028: { n:"FORMULA28", f:parse_FORMULA_28 }, + 0x008E: { n:"??" }, + 0x0093: { n:"??" }, + 0x0096: { n:"??" }, + 0x0097: { n:"??" }, + 0x0098: { n:"??" }, + 0x0099: { n:"??" }, + 0x009A: { n:"??" }, + 0x009B: { n:"??" }, + 0x009C: { n:"??" }, + 0x00A3: { n:"??" }, + 0x00AE: { n:"??" }, + 0x00AF: { n:"??" }, + 0x00B0: { n:"??" }, + 0x00B1: { n:"??" }, + 0x00B8: { n:"??" }, + 0x00B9: { n:"??" }, + 0x00BA: { n:"??" }, + 0x00BB: { n:"??" }, + 0x00BC: { n:"??" }, + 0x00C3: { n:"??" }, + 0x00C9: { n:"??" }, + 0x00CC: { n:"SHEETNAMECS", f:parse_SHEETNAMECS }, + 0x00CD: { n:"??" }, + 0x00CE: { n:"??" }, + 0x00CF: { n:"??" }, + 0x00D0: { n:"??" }, + 0x0100: { n:"??" }, + 0x0103: { n:"??" }, + 0x0104: { n:"??" }, + 0x0105: { n:"??" }, + 0x0106: { n:"??" }, + 0x0107: { n:"??" }, + 0x0109: { n:"??" }, + 0x010A: { n:"??" }, + 0x010B: { n:"??" }, + 0x010C: { n:"??" }, + 0x010E: { n:"??" }, + 0x010F: { n:"??" }, + 0x0180: { n:"??" }, + 0x0185: { n:"??" }, + 0x0186: { n:"??" }, + 0x0189: { n:"??" }, + 0x018C: { n:"??" }, + 0x0200: { n:"??" }, + 0x0202: { n:"??" }, + 0x0201: { n:"??" }, + 0x0204: { n:"??" }, + 0x0205: { n:"??" }, + 0x0280: { n:"??" }, + 0x0281: { n:"??" }, + 0x0282: { n:"??" }, + 0x0283: { n:"??" }, + 0x0284: { n:"??" }, + 0x0285: { n:"??" }, + 0x0286: { n:"??" }, + 0x0287: { n:"??" }, + 0x0288: { n:"??" }, + 0x0292: { n:"??" }, + 0x0293: { n:"??" }, + 0x0294: { n:"??" }, + 0x0295: { n:"??" }, + 0x0296: { n:"??" }, + 0x0299: { n:"??" }, + 0x029A: { n:"??" }, + 0x0300: { n:"??" }, + 0x0304: { n:"??" }, + 0x0601: { n:"SHEETINFOQP", f:parse_SHEETINFOQP }, + 0x0640: { n:"??" }, + 0x0642: { n:"??" }, + 0x0701: { n:"??" }, + 0x0702: { n:"??" }, + 0x0703: { n:"??" }, + 0x0704: { n:"??" }, + 0x0780: { n:"??" }, + 0x0800: { n:"??" }, + 0x0801: { n:"??" }, + 0x0804: { n:"??" }, + 0x0A80: { n:"??" }, + 0x2AF6: { n:"??" }, + 0x3231: { n:"??" }, + 0x6E49: { n:"??" }, + 0x6F44: { n:"??" }, + 0xFFFF: { n:"" } }; /* TODO: fill out and verify this table across QP versions */ var QPWNFTable = { - /*::[*/0x05/*::*/: "dd-mmm-yy", - /*::[*/0x06/*::*/: "dd-mmm", - /*::[*/0x07/*::*/: "mmm-yy", - /*::[*/0x08/*::*/: "mm/dd/yy", // Long Date Intl - /*::[*/0x0A/*::*/: "hh:mm:ss AM/PM", - /*::[*/0x0B/*::*/: "hh:mm AM/PM", - /*::[*/0x0E/*::*/: "dd-mmm-yyyy", - /*::[*/0x0F/*::*/: "mmm-yyyy", + 0x05: "dd-mmm-yy", + 0x06: "dd-mmm", + 0x07: "mmm-yy", + 0x08: "mm/dd/yy", // Long Date Intl + 0x0A: "hh:mm:ss AM/PM", + 0x0B: "hh:mm AM/PM", + 0x0E: "dd-mmm-yyyy", + 0x0F: "mmm-yyyy", /* It is suspected that the the low nybble specifies decimal places */ - /*::[*/0x0022/*::*/: "0.00", - /*::[*/0x0032/*::*/: "0.00;[Red]0.00", - /*::[*/0x0042/*::*/: "0.00;\(0.00\)", - /*::[*/0x0052/*::*/: "0.00;[Red]\(0.00\)", - /*::[*/0x00A2/*::*/: '"$"#,##0.00;\\("$"#,##0.00\\)', - /*::[*/0x0120/*::*/: '0%', - /*::[*/0x0130/*::*/: '0E+00', - /*::[*/0x0140/*::*/: '# ?/?' + 0x0022: "0.00", + 0x0032: "0.00;[Red]0.00", + 0x0042: "0.00;\(0.00\)", + 0x0052: "0.00;[Red]\(0.00\)", + 0x00A2: '"$"#,##0.00;\\("$"#,##0.00\\)', + 0x0120: '0%', + 0x0130: '0E+00', + 0x0140: '# ?/?' }; function parse_qpw_str(p) { @@ -10146,7 +10284,7 @@ function parse_rpr(rpr) { var pass = false; if(m) for(;i!=m.length; ++i) { var y = parsexmltag(m[i]); - switch(y[0].replace(/\w*:/g,"")) { + switch(y[0].replace(/<\w*:/g,"<")) { /* 18.8.12 condense CT_BooleanProperty */ /* ** not required . */ case ']*>([^<]*)<\/(?:\w+:)?t>/g, sirregex = /<(?:\w+:)?r\b[^>]*>/; -var sirphregex = /<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g; +var sitregex = /<(?:\w+:)?t\b[^<>]*>([^<]*)<\/(?:\w+:)?t>/g, sirregex = /<(?:\w+:)?r\b[^<>]*>/; function parse_si(x, opts) { var html = opts ? opts.cellHTML : true; var z = {}; @@ -10327,7 +10463,7 @@ function parse_si(x, opts) { /* 18.4.4 r CT_RElt (Rich Text Run) */ else if((/*y = */x.match(sirregex))) { z.r = utf8read(x); - z.t = unescapexml(utf8read((x.replace(sirphregex, '').match(sitregex)||[]).join("").replace(tagregex,"")), true); + z.t = unescapexml(utf8read((str_remove_xml_ns_g(x, "rPh").match(sitregex)||[]).join("").replace(tagregex,"")), true); if(html) z.h = rs_to_html(parse_rs(z.r)); } /* 18.4.3 phoneticPr CT_PhoneticPr (TODO: needed for Asian support) */ @@ -10336,21 +10472,20 @@ function parse_si(x, opts) { } /* 18.4 Shared String Table */ -var sstr0 = /<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/; var sstr1 = /<(?:\w+:)?(?:si|sstItem)>/g; var sstr2 = /<\/(?:\w+:)?(?:si|sstItem)>/; function parse_sst_xml(data/*:string*/, opts)/*:SST*/ { var s/*:SST*/ = ([]/*:any*/), ss = ""; if(!data) return s; /* 18.4.9 sst CT_Sst */ - var sst = data.match(sstr0); + var sst = str_match_xml_ns(data, "sst"); if(sst) { - ss = sst[2].replace(sstr1,"").split(sstr2); + ss = sst[1].replace(sstr1,"").split(sstr2); for(var i = 0; i != ss.length; ++i) { var o = parse_si(ss[i].trim(), opts); if(o != null) s[s.length] = o; } - sst = parsexmltag(sst[1]); s.Count = sst.count; s.Unique = sst.uniqueCount; + sst = parsexmltag(sst[0].slice(0, sst[0].indexOf(">"))); s.Count = sst.count; s.Unique = sst.uniqueCount; } return s; } @@ -10764,7 +10899,7 @@ function rtf_to_sheet_str(str, opts) { var dense = o.dense; if (dense) ws["!data"] = []; - var rows = str.match(/\\trowd[\s\S]*?\\row\b/g); + var rows = str_match_ng(str, "\\trowd", "\\row"); if (!rows) throw new Error("RTF missing table"); var range = { s: { c: 0, r: 0 }, e: { c: 0, r: rows.length - 1 } }; @@ -10971,7 +11106,7 @@ function parse_borders(t, styles, themes, opts) { styles.Borders = []; var border = {}; var pass = false; - (t[0].match(tagregex)||[]).forEach(function(x) { + (t.match(tagregex)||[]).forEach(function(x) { var y = parsexmltag(x); switch(strip_ns(y[0])) { case '': case '': break; @@ -11046,7 +11181,7 @@ function parse_fills(t, styles, themes, opts) { styles.Fills = []; var fill = {}; var pass = false; - (t[0].match(tagregex)||[]).forEach(function(x) { + (t.match(tagregex)||[]).forEach(function(x) { var y = parsexmltag(x); switch(strip_ns(y[0])) { case '': case '': break; @@ -11112,7 +11247,7 @@ function parse_fonts(t, styles, themes, opts) { styles.Fonts = []; var font = {}; var pass = false; - (t[0].match(tagregex)||[]).forEach(function(x) { + (t.match(tagregex)||[]).forEach(function(x) { var y = parsexmltag(x); switch(strip_ns(y[0])) { case '': case '': break; @@ -11232,7 +11367,7 @@ function parse_numFmts(t, styles, opts) { styles.NumberFmt = []; var k/*Array*/ = (keys(table_fmt)/*:any*/); for(var i=0; i < k.length; ++i) styles.NumberFmt[k[i]] = table_fmt[k[i]]; - var m = t[0].match(tagregex); + var m = t.match(tagregex); if(!m) return; for(i=0; i < m.length; ++i) { var y = parsexmltag(m[i]); @@ -11273,7 +11408,7 @@ function parse_cellXfs(t, styles, opts) { styles.CellXf = []; var xf; var pass = false; - (t[0].match(tagregex)||[]).forEach(function(x) { + (t.match(tagregex)||[]).forEach(function(x) { var y = parsexmltag(x), i = 0; switch(strip_ns(y[0])) { case '': case '': case '': break; @@ -11338,36 +11473,31 @@ function write_cellXfs(cellXfs)/*:string*/ { /* 18.8 Styles CT_Stylesheet*/ var parse_sty_xml= /*#__PURE__*/(function make_pstyx() { -var numFmtRegex = /<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/; -var cellXfRegex = /<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/; -var fillsRegex = /<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/; -var fontsRegex = /<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/; -var bordersRegex = /<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/; return function parse_sty_xml(data, themes, opts) { var styles = {}; if(!data) return styles; - data = data.replace(//mg,"").replace(//gm,""); + data = remove_doctype(str_remove_ng(data, "")); /* 18.8.39 styleSheet CT_Stylesheet */ var t; /* 18.8.31 numFmts CT_NumFmts ? */ - if((t=data.match(numFmtRegex))) parse_numFmts(t, styles, opts); + if((t=str_match_xml_ns(data, "numFmts"))) parse_numFmts(t[0], styles, opts); /* 18.8.23 fonts CT_Fonts ? */ - if((t=data.match(fontsRegex))) parse_fonts(t, styles, themes, opts); + if((t=str_match_xml_ns(data, "fonts"))) parse_fonts(t[0], styles, themes, opts); /* 18.8.21 fills CT_Fills ? */ - if((t=data.match(fillsRegex))) parse_fills(t, styles, themes, opts); + if((t=str_match_xml_ns(data, "fills"))) parse_fills(t[0], styles, themes, opts); /* 18.8.5 borders CT_Borders ? */ - if((t=data.match(bordersRegex))) parse_borders(t, styles, themes, opts); + if((t=str_match_xml_ns(data, "borders"))) parse_borders(t[0], styles, themes, opts); /* 18.8.9 cellStyleXfs CT_CellStyleXfs ? */ /* 18.8.8 cellStyles CT_CellStyles ? */ /* 18.8.10 cellXfs CT_CellXfs ? */ - if((t=data.match(cellXfRegex))) parse_cellXfs(t, styles, opts); + if((t=str_match_xml_ns(data, "cellXfs"))) parse_cellXfs(t[0], styles, opts); /* 18.8.15 dxfs CT_Dxfs ? */ /* 18.8.42 tableStyles CT_TableStyles ? */ @@ -11809,10 +11939,12 @@ function parse_clrScheme(t, themes, opts) { /* 20.1.2.3.32 srgbClr CT_SRgbColor */ case '': break; /* 20.1.2.3.33 sysClr CT_SystemColor */ case '': break; /* 20.1.4.1.1 accent1 (Accent 1) */ /* 20.1.4.1.2 accent2 (Accent 2) */ @@ -11826,8 +11958,10 @@ function parse_clrScheme(t, themes, opts) { /* 20.1.4.1.19 hlink (Hyperlink) */ /* 20.1.4.1.22 lt1 (Light 1) */ /* 20.1.4.1.23 lt2 (Light 2) */ - case '': case '': - case '': case '': + case '
': + case '': + case '': + case '': case '': case '': case '': case '': case '': case '': @@ -11857,30 +11991,24 @@ function parse_fontScheme(/*::t, themes, opts*/) { } /* 20.1.4.1.15 fmtScheme CT_StyleMatrix */ function parse_fmtScheme(/*::t, themes, opts*/) { } -var clrsregex = /]*)>[\s\S]*<\/a:clrScheme>/; -var fntsregex = /]*)>[\s\S]*<\/a:fontScheme>/; -var fmtsregex = /]*)>[\s\S]*<\/a:fmtScheme>/; - /* 20.1.6.10 themeElements CT_BaseStyles */ function parse_themeElements(data, themes, opts) { themes.themeElements = {}; var t; - [ - /* clrScheme CT_ColorScheme */ - ['clrScheme', clrsregex, parse_clrScheme], - /* fontScheme CT_FontScheme */ - ['fontScheme', fntsregex, parse_fontScheme], - /* fmtScheme CT_StyleMatrix */ - ['fmtScheme', fmtsregex, parse_fmtScheme] - ].forEach(function(m) { - if(!(t=data.match(m[1]))) throw new Error(m[0] + ' not found in themeElements'); - m[2](t, themes, opts); - }); -} + /* clrScheme CT_ColorScheme */ + if(!(t=str_match_xml(data, "a:clrScheme"))) throw new Error('clrScheme not found in themeElements'); + parse_clrScheme(t, themes, opts); -var themeltregex = /]*)>[\s\S]*<\/a:themeElements>/; + /* fontScheme CT_FontScheme */ + if(!(t=str_match_xml(data, "a:fontScheme"))) throw new Error('fontScheme not found in themeElements'); + parse_fontScheme(t, themes, opts); + + /* fmtScheme CT_StyleMatrix */ + if(!(t=str_match_xml(data, "a:fmtScheme"))) throw new Error('fmtScheme not found in themeElements'); + parse_fmtScheme(t, themes, opts); +} /* 14.2.7 Theme Part */ function parse_theme_xml(data/*:string*/, opts) { @@ -11891,7 +12019,7 @@ function parse_theme_xml(data/*:string*/, opts) { var themes = {}; /* themeElements CT_BaseStyles */ - if(!(t=data.match(themeltregex))) throw new Error('themeElements not found in theme'); + if(!(t=str_match_xml(data, "a:themeElements"))) throw new Error('themeElements not found in theme'); parse_themeElements(t[0], themes, opts); themes.raw = data; return themes; @@ -12472,16 +12600,15 @@ function parse_drawing(data, rels/*:any*/) { the actual type is based on the URI of the graphicData TODO: handle embedded charts and other types of graphics */ - var id = (data.match(/]*r:id="([^"]*)"/)||["",""])[1]; + var id = (data.match(/]*r:id="([^<>"]*)"/)||["",""])[1]; return rels['!id'][id].Target; } /* L.5.5.2 SpreadsheetML Comments + VML Schema */ -var shapevmlregex = /<(?:\w+:)?shape(?:[^\w][^>]*)?>([\s\S]*?)<\/(?:\w+:)?shape>/g; function parse_vml(data/*:string*/, sheet, comments) { var cidx = 0; - (data.match(shapevmlregex)||[]).forEach(function(m) { + (str_match_xml_ns_g(data, "shape")||[]).forEach(function(m) { var type = ""; var hidden = true; var aidx = -1; @@ -12616,22 +12743,22 @@ function parse_comments_xml(data/*:string*/, opts)/*:Array*/ { if(data.match(/<(?:\w+:)?comments *\/>/)) return []; var authors/*:Array*/ = []; var commentList/*:Array*/ = []; - var authtag = data.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/); + var authtag = str_match_xml_ns(data, "authors"); if(authtag && authtag[1]) authtag[1].split(/<\/\w*:?author>/).forEach(function(x) { if(x === "" || x.trim() === "") return; - var a = x.match(/<(?:\w+:)?author[^>]*>(.*)/); + var a = x.match(/<(?:\w+:)?author[^<>]*>(.*)/); if(a) authors.push(a[1]); }); - var cmnttag = data.match(/<(?:\w+:)?commentList>([\s\S]*)<\/(?:\w+:)?commentList>/); + var cmnttag = str_match_xml_ns(data, "commentList"); if(cmnttag && cmnttag[1]) cmnttag[1].split(/<\/\w*:?comment>/).forEach(function(x) { if(x === "" || x.trim() === "") return; - var cm = x.match(/<(?:\w+:)?comment[^>]*>/); + var cm = x.match(/<(?:\w+:)?comment[^<>]*>/); if(!cm) return; var y = parsexmltag(cm[0]); var comment/*:RawComment*/ = ({ author: y.authorId && authors[y.authorId] || "sheetjsghost", ref: y.ref, guid: y.guid }/*:any*/); var cell = decode_cell(y.ref); if(opts.sheetRows && opts.sheetRows <= cell.r) return; - var textMatch = x.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/); + var textMatch = str_match_xml_ns(x, "text"); var rt = !!textMatch && !!textMatch[1] && parse_si(textMatch[1]) || {r:"",t:"",h:""}; comment.r = rt.r; if(rt.r == "") rt.t = rt.h = ""; @@ -12915,7 +13042,7 @@ function fill_vba_xls(cfb, vba) { vba.FullPaths.forEach(function(p, i) { if (i == 0) return; - var newpath = p.replace(/[^\/]*[\/]/, "/_VBA_PROJECT_CUR/"); + var newpath = p.replace(/^[\/]*[^\/]*[\/]/, "/_VBA_PROJECT_CUR/"); if (newpath.slice(-1) !== "/") CFB.utils.cfb_add(cfb, newpath, vba.FileIndex[i].content); }); @@ -13486,112 +13613,112 @@ function parse_PtgAttrNoop(blob/*::, length, opts*/) { /* [MS-XLS] 2.5.198.25 ; [MS-XLSB] 2.5.97.16 */ var PtgTypes = { - /*::[*/0x01/*::]*/: { n:'PtgExp', f:parse_PtgExp }, - /*::[*/0x02/*::]*/: { n:'PtgTbl', f:parse_PtgTbl }, - /*::[*/0x03/*::]*/: { n:'PtgAdd', f:parseread1 }, - /*::[*/0x04/*::]*/: { n:'PtgSub', f:parseread1 }, - /*::[*/0x05/*::]*/: { n:'PtgMul', f:parseread1 }, - /*::[*/0x06/*::]*/: { n:'PtgDiv', f:parseread1 }, - /*::[*/0x07/*::]*/: { n:'PtgPower', f:parseread1 }, - /*::[*/0x08/*::]*/: { n:'PtgConcat', f:parseread1 }, - /*::[*/0x09/*::]*/: { n:'PtgLt', f:parseread1 }, - /*::[*/0x0A/*::]*/: { n:'PtgLe', f:parseread1 }, - /*::[*/0x0B/*::]*/: { n:'PtgEq', f:parseread1 }, - /*::[*/0x0C/*::]*/: { n:'PtgGe', f:parseread1 }, - /*::[*/0x0D/*::]*/: { n:'PtgGt', f:parseread1 }, - /*::[*/0x0E/*::]*/: { n:'PtgNe', f:parseread1 }, - /*::[*/0x0F/*::]*/: { n:'PtgIsect', f:parseread1 }, - /*::[*/0x10/*::]*/: { n:'PtgUnion', f:parseread1 }, - /*::[*/0x11/*::]*/: { n:'PtgRange', f:parseread1 }, - /*::[*/0x12/*::]*/: { n:'PtgUplus', f:parseread1 }, - /*::[*/0x13/*::]*/: { n:'PtgUminus', f:parseread1 }, - /*::[*/0x14/*::]*/: { n:'PtgPercent', f:parseread1 }, - /*::[*/0x15/*::]*/: { n:'PtgParen', f:parseread1 }, - /*::[*/0x16/*::]*/: { n:'PtgMissArg', f:parseread1 }, - /*::[*/0x17/*::]*/: { n:'PtgStr', f:parse_PtgStr }, - /*::[*/0x1A/*::]*/: { n:'PtgSheet', f:parse_PtgSheet }, - /*::[*/0x1B/*::]*/: { n:'PtgEndSheet', f:parse_PtgEndSheet }, - /*::[*/0x1C/*::]*/: { n:'PtgErr', f:parse_PtgErr }, - /*::[*/0x1D/*::]*/: { n:'PtgBool', f:parse_PtgBool }, - /*::[*/0x1E/*::]*/: { n:'PtgInt', f:parse_PtgInt }, - /*::[*/0x1F/*::]*/: { n:'PtgNum', f:parse_PtgNum }, - /*::[*/0x20/*::]*/: { n:'PtgArray', f:parse_PtgArray }, - /*::[*/0x21/*::]*/: { n:'PtgFunc', f:parse_PtgFunc }, - /*::[*/0x22/*::]*/: { n:'PtgFuncVar', f:parse_PtgFuncVar }, - /*::[*/0x23/*::]*/: { n:'PtgName', f:parse_PtgName }, - /*::[*/0x24/*::]*/: { n:'PtgRef', f:parse_PtgRef }, - /*::[*/0x25/*::]*/: { n:'PtgArea', f:parse_PtgArea }, - /*::[*/0x26/*::]*/: { n:'PtgMemArea', f:parse_PtgMemArea }, - /*::[*/0x27/*::]*/: { n:'PtgMemErr', f:parse_PtgMemErr }, - /*::[*/0x28/*::]*/: { n:'PtgMemNoMem', f:parse_PtgMemNoMem }, - /*::[*/0x29/*::]*/: { n:'PtgMemFunc', f:parse_PtgMemFunc }, - /*::[*/0x2A/*::]*/: { n:'PtgRefErr', f:parse_PtgRefErr }, - /*::[*/0x2B/*::]*/: { n:'PtgAreaErr', f:parse_PtgAreaErr }, - /*::[*/0x2C/*::]*/: { n:'PtgRefN', f:parse_PtgRefN }, - /*::[*/0x2D/*::]*/: { n:'PtgAreaN', f:parse_PtgAreaN }, - /*::[*/0x2E/*::]*/: { n:'PtgMemAreaN', f:parse_PtgMemAreaN }, - /*::[*/0x2F/*::]*/: { n:'PtgMemNoMemN', f:parse_PtgMemNoMemN }, - /*::[*/0x39/*::]*/: { n:'PtgNameX', f:parse_PtgNameX }, - /*::[*/0x3A/*::]*/: { n:'PtgRef3d', f:parse_PtgRef3d }, - /*::[*/0x3B/*::]*/: { n:'PtgArea3d', f:parse_PtgArea3d }, - /*::[*/0x3C/*::]*/: { n:'PtgRefErr3d', f:parse_PtgRefErr3d }, - /*::[*/0x3D/*::]*/: { n:'PtgAreaErr3d', f:parse_PtgAreaErr3d }, - /*::[*/0xFF/*::]*/: {} + 0x01: { n:'PtgExp', f:parse_PtgExp }, + 0x02: { n:'PtgTbl', f:parse_PtgTbl }, + 0x03: { n:'PtgAdd', f:parseread1 }, + 0x04: { n:'PtgSub', f:parseread1 }, + 0x05: { n:'PtgMul', f:parseread1 }, + 0x06: { n:'PtgDiv', f:parseread1 }, + 0x07: { n:'PtgPower', f:parseread1 }, + 0x08: { n:'PtgConcat', f:parseread1 }, + 0x09: { n:'PtgLt', f:parseread1 }, + 0x0A: { n:'PtgLe', f:parseread1 }, + 0x0B: { n:'PtgEq', f:parseread1 }, + 0x0C: { n:'PtgGe', f:parseread1 }, + 0x0D: { n:'PtgGt', f:parseread1 }, + 0x0E: { n:'PtgNe', f:parseread1 }, + 0x0F: { n:'PtgIsect', f:parseread1 }, + 0x10: { n:'PtgUnion', f:parseread1 }, + 0x11: { n:'PtgRange', f:parseread1 }, + 0x12: { n:'PtgUplus', f:parseread1 }, + 0x13: { n:'PtgUminus', f:parseread1 }, + 0x14: { n:'PtgPercent', f:parseread1 }, + 0x15: { n:'PtgParen', f:parseread1 }, + 0x16: { n:'PtgMissArg', f:parseread1 }, + 0x17: { n:'PtgStr', f:parse_PtgStr }, + 0x1A: { n:'PtgSheet', f:parse_PtgSheet }, + 0x1B: { n:'PtgEndSheet', f:parse_PtgEndSheet }, + 0x1C: { n:'PtgErr', f:parse_PtgErr }, + 0x1D: { n:'PtgBool', f:parse_PtgBool }, + 0x1E: { n:'PtgInt', f:parse_PtgInt }, + 0x1F: { n:'PtgNum', f:parse_PtgNum }, + 0x20: { n:'PtgArray', f:parse_PtgArray }, + 0x21: { n:'PtgFunc', f:parse_PtgFunc }, + 0x22: { n:'PtgFuncVar', f:parse_PtgFuncVar }, + 0x23: { n:'PtgName', f:parse_PtgName }, + 0x24: { n:'PtgRef', f:parse_PtgRef }, + 0x25: { n:'PtgArea', f:parse_PtgArea }, + 0x26: { n:'PtgMemArea', f:parse_PtgMemArea }, + 0x27: { n:'PtgMemErr', f:parse_PtgMemErr }, + 0x28: { n:'PtgMemNoMem', f:parse_PtgMemNoMem }, + 0x29: { n:'PtgMemFunc', f:parse_PtgMemFunc }, + 0x2A: { n:'PtgRefErr', f:parse_PtgRefErr }, + 0x2B: { n:'PtgAreaErr', f:parse_PtgAreaErr }, + 0x2C: { n:'PtgRefN', f:parse_PtgRefN }, + 0x2D: { n:'PtgAreaN', f:parse_PtgAreaN }, + 0x2E: { n:'PtgMemAreaN', f:parse_PtgMemAreaN }, + 0x2F: { n:'PtgMemNoMemN', f:parse_PtgMemNoMemN }, + 0x39: { n:'PtgNameX', f:parse_PtgNameX }, + 0x3A: { n:'PtgRef3d', f:parse_PtgRef3d }, + 0x3B: { n:'PtgArea3d', f:parse_PtgArea3d }, + 0x3C: { n:'PtgRefErr3d', f:parse_PtgRefErr3d }, + 0x3D: { n:'PtgAreaErr3d', f:parse_PtgAreaErr3d }, + 0xFF: {} }; /* These are duplicated in the PtgTypes table */ var PtgDupes = { - /*::[*/0x40/*::]*/: 0x20, /*::[*/0x60/*::]*/: 0x20, - /*::[*/0x41/*::]*/: 0x21, /*::[*/0x61/*::]*/: 0x21, - /*::[*/0x42/*::]*/: 0x22, /*::[*/0x62/*::]*/: 0x22, - /*::[*/0x43/*::]*/: 0x23, /*::[*/0x63/*::]*/: 0x23, - /*::[*/0x44/*::]*/: 0x24, /*::[*/0x64/*::]*/: 0x24, - /*::[*/0x45/*::]*/: 0x25, /*::[*/0x65/*::]*/: 0x25, - /*::[*/0x46/*::]*/: 0x26, /*::[*/0x66/*::]*/: 0x26, - /*::[*/0x47/*::]*/: 0x27, /*::[*/0x67/*::]*/: 0x27, - /*::[*/0x48/*::]*/: 0x28, /*::[*/0x68/*::]*/: 0x28, - /*::[*/0x49/*::]*/: 0x29, /*::[*/0x69/*::]*/: 0x29, - /*::[*/0x4A/*::]*/: 0x2A, /*::[*/0x6A/*::]*/: 0x2A, - /*::[*/0x4B/*::]*/: 0x2B, /*::[*/0x6B/*::]*/: 0x2B, - /*::[*/0x4C/*::]*/: 0x2C, /*::[*/0x6C/*::]*/: 0x2C, - /*::[*/0x4D/*::]*/: 0x2D, /*::[*/0x6D/*::]*/: 0x2D, - /*::[*/0x4E/*::]*/: 0x2E, /*::[*/0x6E/*::]*/: 0x2E, - /*::[*/0x4F/*::]*/: 0x2F, /*::[*/0x6F/*::]*/: 0x2F, - /*::[*/0x58/*::]*/: 0x22, /*::[*/0x78/*::]*/: 0x22, - /*::[*/0x59/*::]*/: 0x39, /*::[*/0x79/*::]*/: 0x39, - /*::[*/0x5A/*::]*/: 0x3A, /*::[*/0x7A/*::]*/: 0x3A, - /*::[*/0x5B/*::]*/: 0x3B, /*::[*/0x7B/*::]*/: 0x3B, - /*::[*/0x5C/*::]*/: 0x3C, /*::[*/0x7C/*::]*/: 0x3C, - /*::[*/0x5D/*::]*/: 0x3D, /*::[*/0x7D/*::]*/: 0x3D + 0x40: 0x20, 0x60: 0x20, + 0x41: 0x21, 0x61: 0x21, + 0x42: 0x22, 0x62: 0x22, + 0x43: 0x23, 0x63: 0x23, + 0x44: 0x24, 0x64: 0x24, + 0x45: 0x25, 0x65: 0x25, + 0x46: 0x26, 0x66: 0x26, + 0x47: 0x27, 0x67: 0x27, + 0x48: 0x28, 0x68: 0x28, + 0x49: 0x29, 0x69: 0x29, + 0x4A: 0x2A, 0x6A: 0x2A, + 0x4B: 0x2B, 0x6B: 0x2B, + 0x4C: 0x2C, 0x6C: 0x2C, + 0x4D: 0x2D, 0x6D: 0x2D, + 0x4E: 0x2E, 0x6E: 0x2E, + 0x4F: 0x2F, 0x6F: 0x2F, + 0x58: 0x22, 0x78: 0x22, + 0x59: 0x39, 0x79: 0x39, + 0x5A: 0x3A, 0x7A: 0x3A, + 0x5B: 0x3B, 0x7B: 0x3B, + 0x5C: 0x3C, 0x7C: 0x3C, + 0x5D: 0x3D, 0x7D: 0x3D }; var Ptg18 = { - /*::[*/0x01/*::]*/: { n:'PtgElfLel', f:parse_PtgElfLel }, - /*::[*/0x02/*::]*/: { n:'PtgElfRw', f:parse_PtgElfRw }, - /*::[*/0x03/*::]*/: { n:'PtgElfCol', f:parse_PtgElfCol }, - /*::[*/0x06/*::]*/: { n:'PtgElfRwV', f:parse_PtgElfRwV }, - /*::[*/0x07/*::]*/: { n:'PtgElfColV', f:parse_PtgElfColV }, - /*::[*/0x0A/*::]*/: { n:'PtgElfRadical', f:parse_PtgElfRadical }, - /*::[*/0x0B/*::]*/: { n:'PtgElfRadicalS', f:parse_PtgElfRadicalS }, - /*::[*/0x0D/*::]*/: { n:'PtgElfColS', f:parse_PtgElfColS }, - /*::[*/0x0F/*::]*/: { n:'PtgElfColSV', f:parse_PtgElfColSV }, - /*::[*/0x10/*::]*/: { n:'PtgElfRadicalLel', f:parse_PtgElfRadicalLel }, - /*::[*/0x19/*::]*/: { n:'PtgList', f:parse_PtgList }, - /*::[*/0x1D/*::]*/: { n:'PtgSxName', f:parse_PtgSxName }, - /*::[*/0xFF/*::]*/: {} + 0x01: { n:'PtgElfLel', f:parse_PtgElfLel }, + 0x02: { n:'PtgElfRw', f:parse_PtgElfRw }, + 0x03: { n:'PtgElfCol', f:parse_PtgElfCol }, + 0x06: { n:'PtgElfRwV', f:parse_PtgElfRwV }, + 0x07: { n:'PtgElfColV', f:parse_PtgElfColV }, + 0x0A: { n:'PtgElfRadical', f:parse_PtgElfRadical }, + 0x0B: { n:'PtgElfRadicalS', f:parse_PtgElfRadicalS }, + 0x0D: { n:'PtgElfColS', f:parse_PtgElfColS }, + 0x0F: { n:'PtgElfColSV', f:parse_PtgElfColSV }, + 0x10: { n:'PtgElfRadicalLel', f:parse_PtgElfRadicalLel }, + 0x19: { n:'PtgList', f:parse_PtgList }, + 0x1D: { n:'PtgSxName', f:parse_PtgSxName }, + 0xFF: {} }; var Ptg19 = { - /*::[*/0x00/*::]*/: { n:'PtgAttrNoop', f:parse_PtgAttrNoop }, - /*::[*/0x01/*::]*/: { n:'PtgAttrSemi', f:parse_PtgAttrSemi }, - /*::[*/0x02/*::]*/: { n:'PtgAttrIf', f:parse_PtgAttrIf }, - /*::[*/0x04/*::]*/: { n:'PtgAttrChoose', f:parse_PtgAttrChoose }, - /*::[*/0x08/*::]*/: { n:'PtgAttrGoto', f:parse_PtgAttrGoto }, - /*::[*/0x10/*::]*/: { n:'PtgAttrSum', f:parse_PtgAttrSum }, - /*::[*/0x20/*::]*/: { n:'PtgAttrBaxcel', f:parse_PtgAttrBaxcel }, - /*::[*/0x21/*::]*/: { n:'PtgAttrBaxcel', f:parse_PtgAttrBaxcel }, - /*::[*/0x40/*::]*/: { n:'PtgAttrSpace', f:parse_PtgAttrSpace }, - /*::[*/0x41/*::]*/: { n:'PtgAttrSpaceSemi', f:parse_PtgAttrSpaceSemi }, - /*::[*/0x80/*::]*/: { n:'PtgAttrIfError', f:parse_PtgAttrIfError }, - /*::[*/0xFF/*::]*/: {} + 0x00: { n:'PtgAttrNoop', f:parse_PtgAttrNoop }, + 0x01: { n:'PtgAttrSemi', f:parse_PtgAttrSemi }, + 0x02: { n:'PtgAttrIf', f:parse_PtgAttrIf }, + 0x04: { n:'PtgAttrChoose', f:parse_PtgAttrChoose }, + 0x08: { n:'PtgAttrGoto', f:parse_PtgAttrGoto }, + 0x10: { n:'PtgAttrSum', f:parse_PtgAttrSum }, + 0x20: { n:'PtgAttrBaxcel', f:parse_PtgAttrBaxcel }, + 0x21: { n:'PtgAttrBaxcel', f:parse_PtgAttrBaxcel }, + 0x40: { n:'PtgAttrSpace', f:parse_PtgAttrSpace }, + 0x41: { n:'PtgAttrSpaceSemi', f:parse_PtgAttrSpaceSemi }, + 0x80: { n:'PtgAttrIfError', f:parse_PtgAttrIfError }, + 0xFF: {} }; /* [MS-XLS] 2.5.198.103 ; [MS-XLSB] 2.5.97.87 */ @@ -15668,16 +15795,13 @@ function parse_ws_xml_dim(ws/*:Worksheet*/, s/*:string*/) { var d = safe_decode_range(s); if(d.s.r<=d.e.r && d.s.c<=d.e.c && d.s.r>=0 && d.s.c>=0) ws["!ref"] = encode_range(d); } -var mergecregex = /<(?:\w:)?mergeCell ref=["'][A-Z0-9:]+['"]\s*[\/]?>/g; -var sheetdataregex = /<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/; -var hlinkregex = /<(?:\w:)?hyperlink [^>]*>/mg; +var mergecregex = /<(?:\w+:)?mergeCell ref=["'][A-Z0-9:]+['"]\s*[\/]?>/g; +var hlinkregex = /<(?:\w+:)?hyperlink [^<>]*>/mg; var dimregex = /"(\w*:\w*)"/; -var colregex = /<(?:\w:)?col\b[^>]*[\/]?>/g; -var afregex = /<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g; -var marginregex= /<(?:\w:)?pageMargins[^>]*\/>/g; -var sheetprregex = /<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/; -var sheetprregex2= /<(?:\w:)?sheetPr[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetPr)>/; -var svsregex = /<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/; +var colregex = /<(?:\w+:)?col\b[^<>]*[\/]?>/g; +var afregex = /<(?:\w+:)?autoFilter[^>]*/g; +var marginregex= /<(?:\w+:)?pageMargins[^<>]*\/>/g; +var sheetprregex = /<(?:\w+:)?sheetPr\b[^<>]*?\/>/; /* 18.3 Worksheets */ function parse_ws_xml(data/*:?string*/, opts, idx/*:number*/, rels, wb/*:WBWBProps*/, themes, styles)/*:Worksheet*/ { @@ -15690,7 +15814,7 @@ function parse_ws_xml(data/*:?string*/, opts, idx/*:number*/, rels, wb/*:WBWBPro var refguess/*:Range*/ = ({s: {r:2000000, c:2000000}, e: {r:0, c:0} }/*:any*/); var data1 = "", data2 = ""; - var mtch/*:?any*/ = data.match(sheetdataregex); + var mtch/*:?any*/ = str_match_xml_ns(data, "sheetData"); if(mtch) { data1 = data.slice(0, mtch.index); data2 = data.slice(mtch.index + mtch[0].length); @@ -15699,7 +15823,7 @@ function parse_ws_xml(data/*:?string*/, opts, idx/*:number*/, rels, wb/*:WBWBPro /* 18.3.1.82 sheetPr CT_SheetPr */ var sheetPr = data1.match(sheetprregex); if(sheetPr) parse_ws_xml_sheetpr(sheetPr[0], s, wb, idx); - else if((sheetPr = data1.match(sheetprregex2))) parse_ws_xml_sheetpr2(sheetPr[0], sheetPr[1]||"", s, wb, idx, styles, themes); + else if((sheetPr = str_match_xml_ns(data1, "sheetPr"))) parse_ws_xml_sheetpr2(sheetPr[0], sheetPr[1]||"", s, wb, idx, styles, themes); /* 18.3.1.35 dimension CT_SheetDimension */ var ridx = (data1.match(/<(?:\w*:)?dimension/)||{index:-1}).index; @@ -15709,7 +15833,7 @@ function parse_ws_xml(data/*:?string*/, opts, idx/*:number*/, rels, wb/*:WBWBPro } /* 18.3.1.88 sheetViews CT_SheetViews */ - var svs = data1.match(svsregex); + var svs = str_match_xml_ns(data1, "sheetViews"); if(svs && svs[1]) parse_ws_xml_sheetviews(svs[1], wb); /* 18.3.1.17 cols CT_Cols */ @@ -15908,7 +16032,7 @@ function write_ws_xml_autofilter(data, ws, wb, idx)/*:string*/ { /* 18.3.1.88 sheetViews CT_SheetViews */ /* 18.3.1.87 sheetView CT_SheetView */ -var sviewregex = /<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/?>/g; +var sviewregex = /<(?:\w:)?sheetView(?:[^<>a-z][^<>]*)?\/?>/g; function parse_ws_xml_sheetviews(data, wb/*:WBWBProps*/) { if(!wb.Views) wb.Views = [{}]; (data.match(sviewregex)||[]).forEach(function(r/*:string*/, i/*:number*/) { @@ -15987,9 +16111,8 @@ function write_ws_xml_cell(cell/*:Cell*/, ref, ws, opts, idx, wb, date1904)/*:st var parse_ws_xml_data = /*#__PURE__*/(function() { var cellregex = /<(?:\w+:)?c[ \/>]/, rowregex = /<\/(?:\w+:)?row>/; - var rregex = /r=["']([^"']*)["']/, isregex = /<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/; + var rregex = /r=["']([^"']*)["']/; var refregex = /ref=["']([^"']*)["']/; - var match_v = matchtag("v"), match_f = matchtag("f"); return function parse_ws_xml_data(sdata/*:string*/, s, opts, guess/*:Range*/, themes, styles, wb) { var ri = 0, x = "", cells/*:Array*/ = [], cref/*:?Array*/ = [], idx=0, i=0, cc=0, d="", p/*:any*/; @@ -16068,9 +16191,9 @@ return function parse_ws_xml_data(sdata/*:string*/, s, opts, guess/*:Range*/, th d = x.slice(i); p = ({t:""}/*:any*/); - if((cref=d.match(match_v))!= null && /*::cref != null && */cref[1] !== '') p.v=unescapexml(cref[1]); + if((cref=str_match_xml_ns(d, "v"))!= null && /*::cref != null && */cref[1] !== '') p.v=unescapexml(cref[1]); if(opts.cellFormula) { - if((cref=d.match(match_f))!= null /*:: && cref != null*/) { + if((cref=str_match_xml_ns(d, "f"))!= null /*:: && cref != null*/) { if(cref[1] == "") { if(/*::cref != null && cref[0] != null && */cref[0].indexOf('t="shared"') > -1) { // TODO: parse formula @@ -16092,7 +16215,7 @@ return function parse_ws_xml_data(sdata/*:string*/, s, opts, guess/*:Range*/, th sharedf[parseInt(ftag.si, 10)] = [ftag, ___f, tag.r]; } } - } else if((cref=d.match(/]*\/>/))) { + } else if((cref=d.match(/]*\/>/))) { ftag = parsexmltag(cref[0]); if(sharedf[ftag.si]) p.f = shift_formula_xlsx(sharedf[ftag.si][1], sharedf[ftag.si][2]/*[0].ref*/, tag.r); } @@ -16138,7 +16261,7 @@ return function parse_ws_xml_data(sdata/*:string*/, s, opts, guess/*:Range*/, th if(opts.cellHTML) p.h = escapehtml(p.v); break; case 'inlineStr': - cref = d.match(isregex); + cref = str_match_xml_ns(d, "is"); p.t = 's'; if(cref != null && (sstr = parse_si(cref[1]))) { p.v = sstr.t; @@ -16303,7 +16426,7 @@ function write_ws_xml(idx/*:number*/, opts, wb/*:Workbook*/, rels)/*:string*/ { if(!l[1].Target) return; rel = ({"ref":l[0]}/*:any*/); if(l[1].Target.charAt(0) != "#") { - rId = add_rels(rels, -1, escapexml(l[1].Target).replace(/#.*$/, ""), RELS.HLINK); + rId = add_rels(rels, -1, escapexml(l[1].Target).replace(/#[\s\S]*$/, ""), RELS.HLINK); rel["r:id"] = "rId"+rId; } if((relc = l[1].Target.indexOf("#")) > -1) rel.location = escapexml(l[1].Target.slice(relc+1)); @@ -17279,7 +17402,7 @@ function write_HLINKS(ba, ws/*:Worksheet*/, rels) { /* *BrtHLink */ ws['!links'].forEach(function(l) { if(!l[1].Target) return; - var rId = add_rels(rels, -1, l[1].Target.replace(/#.*$/, ""), RELS.HLINK); + var rId = add_rels(rels, -1, l[1].Target.replace(/#[\s\S]*$/, ""), RELS.HLINK); write_record(ba, 0x01EE /* BrtHLink */, write_BrtHLink(l, rId)); }); delete ws['!links']; @@ -17406,16 +17529,16 @@ function parse_Cache(data/*:string*/)/*:[Array, string, ?string]* var f; /* 21.2.2.150 pt CT_NumVal */ - (data.match(/(.*?)<\/c:pt>/mg)||[]).forEach(function(pt) { - var q = pt.match(/(.*)<\/c:v><\/c:pt>/); + (data.match(/\/]*>([^<])<\/c:v><\/c:pt>/mg)||[]).forEach(function(pt) { + var q = pt.match(/\/]*>([^<]*)<\/c:v><\/c:pt>/); if(!q) return; col[+q[1]] = num ? +q[2] : q[2]; }); /* 21.2.2.71 formatCode CT_Xstring */ - var nf = unescapexml((data.match(/([\s\S]*?)<\/c:formatCode>/) || ["","General"])[1]); + var nf = unescapexml((str_match_xml(data, "c:formatCode") || ["","General"])[1]); - (data.match(/(.*?)<\/c:f>/mg)||[]).forEach(function(F) { f = F.replace(/<.*?>/g,""); }); + (str_match_ng(data, "", "")||[]).forEach(function(F) { f = F.replace(/<[^<>]*>/g,""); }); return [col, nf, f]; } @@ -17430,7 +17553,7 @@ function parse_chart(data/*:?string*/, name/*:string*/, opts, rels, wb, csheet) var refguess = {s: {r:2000000, c:2000000}, e: {r:0, c:0} }; /* 21.2.2.120 numCache CT_NumData */ - (data.match(/[\s\S]*?<\/c:numCache>/gm)||[]).forEach(function(nc) { + (str_match_ng(data, "", "")||[]).forEach(function(nc) { var cache = parse_Cache(nc); refguess.s.r = refguess.s.c = 0; refguess.e.c = C; @@ -18026,8 +18149,14 @@ function parse_BrtName(data, length, opts) { data.l += 1; //var chKey = data.read_shift(1); var itab = data.read_shift(4); var name = parse_XLNameWideString(data); - var formula = parse_XLSBNameParsedFormula(data, 0, opts); - var comment = parse_XLNullableWideString(data); + var formula; + var comment = ""; + try { + formula = parse_XLSBNameParsedFormula(data, 0, opts); + try { + comment = parse_XLNullableWideString(data); + } catch(e){} + } catch(e) { console.error("Could not parse defined name " + name); } if(flags & 0x20) name = "_xlnm." + name; //if(0 /* fProc */) { // unusedstring1: XLNullableWideString @@ -18098,7 +18227,7 @@ function parse_wb_bin(data, opts)/*:WorkbookFile*/ { case 0x0027: /* 'BrtName' */ if(val.Sheet != null) opts.SID = val.Sheet; - val.Ref = stringify_formula(val.Ptg, null, null, supbooks, opts); + val.Ref = val.Ptg ? stringify_formula(val.Ptg, null, null, supbooks, opts) : "#REF!"; delete opts.SID; delete val.Ptg; Names.push(val); @@ -18365,8 +18494,8 @@ function parse_xlmeta(data, name/*:string*/, opts) { if(name.slice(-4)===".bin") return parse_xlmeta_bin((data/*:any*/), name, opts); return parse_xlmeta_xml((data/*:any*/), name, opts); } -var attregexg2=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g; -var attregex2=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/; +var attregexg2=/\b((?:\w+:)?[\w]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g; +var attregex2=/\b((?:\w+:)?[\w]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/; function xlml_parsexmltag(tag/*:string*/, skip_root/*:?boolean*/) { var words = tag.split(/\s+/); var z/*:any*/ = ([]/*:any*/); if(!skip_root) z[0] = words[0]; @@ -18466,10 +18595,11 @@ function parse_xlml_data(xml, ss, data, cell/*:any*/, base, styles, csty, row, a if(sid === undefined && row) sid = row.StyleID; if(sid === undefined && csty) sid = csty.StyleID; while(styles[sid] !== undefined) { - if(styles[sid].nf) nf = styles[sid].nf; - if(styles[sid].Interior) interiors.push(styles[sid].Interior); - if(!styles[sid].Parent) break; - sid = styles[sid].Parent; + var ssid = styles[sid]; + if(ssid.nf) nf = ssid.nf; + if(ssid.Interior) interiors.push(ssid.Interior); + if(!ssid.Parent) break; + sid = ssid.Parent; } switch(data.Type) { case 'Boolean': @@ -18478,7 +18608,7 @@ function parse_xlml_data(xml, ss, data, cell/*:any*/, base, styles, csty, row, a break; case 'String': cell.t = 's'; cell.r = xlml_fixstr(unescapexml(xml)); - cell.v = (xml.indexOf("<") > -1 ? unescapexml(ss||xml).replace(/<.*?>/g, "") : cell.r); // todo: BR etc + cell.v = (xml.indexOf("<") > -1 ? unescapexml(ss||xml).replace(/<[^<>]*>/g, "") : cell.r); // todo: BR etc break; case 'DateTime': if(xml.slice(-1) != "Z") xml += "Z"; @@ -18588,7 +18718,7 @@ function parse_xlml_xml(d, _opts)/*:Workbook*/ { var rowinfo/*:Array*/ = [], rowobj = {}, cc = 0, rr = 0; var Workbook/*:WBWBProps*/ = ({ Sheets:[], WBProps:{date1904:false} }/*:any*/), wsprops = {}; xlmlregex.lastIndex = 0; - str = str.replace(//mg,""); + str = str_remove_ng(str, ""); var raw_Rn3 = ""; while((Rn = xlmlregex.exec(str))) switch((Rn[3] = (raw_Rn3 = Rn[3]).toLowerCase())) { case 'data' /*case 'Data'*/: @@ -19749,7 +19879,7 @@ function parse_workbook(blob, options/*:ParseOpts*/)/*:Workbook*/ { if(icv < 64) return palette[icv-8] || XLSIcv[icv]; return XLSIcv[icv]; }; - var process_cell_style = function pcs(cell, line/*:any*/, options) { + var process_cell_style = function pcs(line/*:any*/, options) { var xfd = line.XF.data; if(!xfd || !xfd.patternType || !options || !options.cellStyles) return; line.s = ({}/*:any*/); @@ -19761,7 +19891,7 @@ function parse_workbook(blob, options/*:ParseOpts*/)/*:Workbook*/ { var addcell = function addcell(cell/*:any*/, line/*:any*/, options/*:any*/) { if(!biff4w && file_depth > 1) return; if(options.sheetRows && cell.r >= options.sheetRows) return; - if(options.cellStyles && line.XF && line.XF.data) process_cell_style(cell, line, options); + if(options.cellStyles && line.XF && line.XF.data) process_cell_style(line, options); delete line.ixfe; delete line.XF; lastcell = cell; last_cell = encode_cell(cell); @@ -19954,17 +20084,17 @@ function parse_workbook(blob, options/*:ParseOpts*/)/*:Workbook*/ { } break; case 0x0009: case 0x0209: case 0x0409: case 0x0809 /* BOF */: { if(opts.biff === 8) opts.biff = { - /*::[*/0x0009/*::]*/:2, - /*::[*/0x0209/*::]*/:3, - /*::[*/0x0409/*::]*/:4 + 0x0009: 2, + 0x0209: 3, + 0x0409: 4 }[RecordType] || { - /*::[*/0x0200/*::]*/:2, - /*::[*/0x0300/*::]*/:3, - /*::[*/0x0400/*::]*/:4, - /*::[*/0x0500/*::]*/:5, - /*::[*/0x0600/*::]*/:8, - /*::[*/0x0002/*::]*/:2, - /*::[*/0x0007/*::]*/:2 + 0x0200: 2, + 0x0300: 3, + 0x0400: 4, + 0x0500: 5, + 0x0600: 8, + 0x0002: 2, + 0x0007: 2 }[val.BIFFVer] || 8; opts.biffguess = val.BIFFVer == 0; if(val.BIFFVer == 0 && val.dt == 0x1000) { opts.biff = 5; seen_codepage = true; set_cp(opts.codepage = 28591); } @@ -20359,1244 +20489,1244 @@ function write_xlscfb(wb/*:Workbook*/, opts/*:WriteOpts*/)/*:CFBContainer*/ { } /* [MS-XLSB] 2.3 Record Enumeration */ var XLSBRecordEnum = { - /*::[*/0x0000/*::]*/: { /* n:"BrtRowHdr", */ f:parse_BrtRowHdr }, - /*::[*/0x0001/*::]*/: { /* n:"BrtCellBlank", */ f:parse_BrtCellBlank }, - /*::[*/0x0002/*::]*/: { /* n:"BrtCellRk", */ f:parse_BrtCellRk }, - /*::[*/0x0003/*::]*/: { /* n:"BrtCellError", */ f:parse_BrtCellError }, - /*::[*/0x0004/*::]*/: { /* n:"BrtCellBool", */ f:parse_BrtCellBool }, - /*::[*/0x0005/*::]*/: { /* n:"BrtCellReal", */ f:parse_BrtCellReal }, - /*::[*/0x0006/*::]*/: { /* n:"BrtCellSt", */ f:parse_BrtCellSt }, - /*::[*/0x0007/*::]*/: { /* n:"BrtCellIsst", */ f:parse_BrtCellIsst }, - /*::[*/0x0008/*::]*/: { /* n:"BrtFmlaString", */ f:parse_BrtFmlaString }, - /*::[*/0x0009/*::]*/: { /* n:"BrtFmlaNum", */ f:parse_BrtFmlaNum }, - /*::[*/0x000A/*::]*/: { /* n:"BrtFmlaBool", */ f:parse_BrtFmlaBool }, - /*::[*/0x000B/*::]*/: { /* n:"BrtFmlaError", */ f:parse_BrtFmlaError }, - /*::[*/0x000C/*::]*/: { /* n:"BrtShortBlank", */ f:parse_BrtShortBlank }, - /*::[*/0x000D/*::]*/: { /* n:"BrtShortRk", */ f:parse_BrtShortRk }, - /*::[*/0x000E/*::]*/: { /* n:"BrtShortError", */ f:parse_BrtShortError }, - /*::[*/0x000F/*::]*/: { /* n:"BrtShortBool", */ f:parse_BrtShortBool }, - /*::[*/0x0010/*::]*/: { /* n:"BrtShortReal", */ f:parse_BrtShortReal }, - /*::[*/0x0011/*::]*/: { /* n:"BrtShortSt", */ f:parse_BrtShortSt }, - /*::[*/0x0012/*::]*/: { /* n:"BrtShortIsst", */ f:parse_BrtShortIsst }, - /*::[*/0x0013/*::]*/: { /* n:"BrtSSTItem", */ f:parse_RichStr }, - /*::[*/0x0014/*::]*/: { /* n:"BrtPCDIMissing" */ }, - /*::[*/0x0015/*::]*/: { /* n:"BrtPCDINumber" */ }, - /*::[*/0x0016/*::]*/: { /* n:"BrtPCDIBoolean" */ }, - /*::[*/0x0017/*::]*/: { /* n:"BrtPCDIError" */ }, - /*::[*/0x0018/*::]*/: { /* n:"BrtPCDIString" */ }, - /*::[*/0x0019/*::]*/: { /* n:"BrtPCDIDatetime" */ }, - /*::[*/0x001A/*::]*/: { /* n:"BrtPCDIIndex" */ }, - /*::[*/0x001B/*::]*/: { /* n:"BrtPCDIAMissing" */ }, - /*::[*/0x001C/*::]*/: { /* n:"BrtPCDIANumber" */ }, - /*::[*/0x001D/*::]*/: { /* n:"BrtPCDIABoolean" */ }, - /*::[*/0x001E/*::]*/: { /* n:"BrtPCDIAError" */ }, - /*::[*/0x001F/*::]*/: { /* n:"BrtPCDIAString" */ }, - /*::[*/0x0020/*::]*/: { /* n:"BrtPCDIADatetime" */ }, - /*::[*/0x0021/*::]*/: { /* n:"BrtPCRRecord" */ }, - /*::[*/0x0022/*::]*/: { /* n:"BrtPCRRecordDt" */ }, - /*::[*/0x0023/*::]*/: { /* n:"BrtFRTBegin", */ T:1 }, - /*::[*/0x0024/*::]*/: { /* n:"BrtFRTEnd", */ T:-1 }, - /*::[*/0x0025/*::]*/: { /* n:"BrtACBegin", */ T:1 }, - /*::[*/0x0026/*::]*/: { /* n:"BrtACEnd", */ T:-1 }, - /*::[*/0x0027/*::]*/: { /* n:"BrtName", */ f:parse_BrtName }, - /*::[*/0x0028/*::]*/: { /* n:"BrtIndexRowBlock" */ }, - /*::[*/0x002A/*::]*/: { /* n:"BrtIndexBlock" */ }, - /*::[*/0x002B/*::]*/: { /* n:"BrtFont", */ f:parse_BrtFont }, - /*::[*/0x002C/*::]*/: { /* n:"BrtFmt", */ f:parse_BrtFmt }, - /*::[*/0x002D/*::]*/: { /* n:"BrtFill", */ f:parse_BrtFill }, - /*::[*/0x002E/*::]*/: { /* n:"BrtBorder", */ f:parse_BrtBorder }, - /*::[*/0x002F/*::]*/: { /* n:"BrtXF", */ f:parse_BrtXF }, - /*::[*/0x0030/*::]*/: { /* n:"BrtStyle" */ }, - /*::[*/0x0031/*::]*/: { /* n:"BrtCellMeta", */ f:parse_Int32LE }, - /*::[*/0x0032/*::]*/: { /* n:"BrtValueMeta" */ }, - /*::[*/0x0033/*::]*/: { /* n:"BrtMdb" */ f:parse_BrtMdb }, - /*::[*/0x0034/*::]*/: { /* n:"BrtBeginFmd", */ T:1 }, - /*::[*/0x0035/*::]*/: { /* n:"BrtEndFmd", */ T:-1 }, - /*::[*/0x0036/*::]*/: { /* n:"BrtBeginMdx", */ T:1 }, - /*::[*/0x0037/*::]*/: { /* n:"BrtEndMdx", */ T:-1 }, - /*::[*/0x0038/*::]*/: { /* n:"BrtBeginMdxTuple", */ T:1 }, - /*::[*/0x0039/*::]*/: { /* n:"BrtEndMdxTuple", */ T:-1 }, - /*::[*/0x003A/*::]*/: { /* n:"BrtMdxMbrIstr" */ }, - /*::[*/0x003B/*::]*/: { /* n:"BrtStr" */ }, - /*::[*/0x003C/*::]*/: { /* n:"BrtColInfo", */ f:parse_ColInfo }, - /*::[*/0x003E/*::]*/: { /* n:"BrtCellRString", */ f:parse_BrtCellRString }, - /*::[*/0x003F/*::]*/: { /* n:"BrtCalcChainItem$", */ f:parse_BrtCalcChainItem$ }, - /*::[*/0x0040/*::]*/: { /* n:"BrtDVal", */ f:parse_BrtDVal }, - /*::[*/0x0041/*::]*/: { /* n:"BrtSxvcellNum" */ }, - /*::[*/0x0042/*::]*/: { /* n:"BrtSxvcellStr" */ }, - /*::[*/0x0043/*::]*/: { /* n:"BrtSxvcellBool" */ }, - /*::[*/0x0044/*::]*/: { /* n:"BrtSxvcellErr" */ }, - /*::[*/0x0045/*::]*/: { /* n:"BrtSxvcellDate" */ }, - /*::[*/0x0046/*::]*/: { /* n:"BrtSxvcellNil" */ }, - /*::[*/0x0080/*::]*/: { /* n:"BrtFileVersion" */ }, - /*::[*/0x0081/*::]*/: { /* n:"BrtBeginSheet", */ T:1 }, - /*::[*/0x0082/*::]*/: { /* n:"BrtEndSheet", */ T:-1 }, - /*::[*/0x0083/*::]*/: { /* n:"BrtBeginBook", */ T:1, f:parsenoop, p:0 }, - /*::[*/0x0084/*::]*/: { /* n:"BrtEndBook", */ T:-1 }, - /*::[*/0x0085/*::]*/: { /* n:"BrtBeginWsViews", */ T:1 }, - /*::[*/0x0086/*::]*/: { /* n:"BrtEndWsViews", */ T:-1 }, - /*::[*/0x0087/*::]*/: { /* n:"BrtBeginBookViews", */ T:1 }, - /*::[*/0x0088/*::]*/: { /* n:"BrtEndBookViews", */ T:-1 }, - /*::[*/0x0089/*::]*/: { /* n:"BrtBeginWsView", */ T:1, f:parse_BrtBeginWsView }, - /*::[*/0x008A/*::]*/: { /* n:"BrtEndWsView", */ T:-1 }, - /*::[*/0x008B/*::]*/: { /* n:"BrtBeginCsViews", */ T:1 }, - /*::[*/0x008C/*::]*/: { /* n:"BrtEndCsViews", */ T:-1 }, - /*::[*/0x008D/*::]*/: { /* n:"BrtBeginCsView", */ T:1 }, - /*::[*/0x008E/*::]*/: { /* n:"BrtEndCsView", */ T:-1 }, - /*::[*/0x008F/*::]*/: { /* n:"BrtBeginBundleShs", */ T:1 }, - /*::[*/0x0090/*::]*/: { /* n:"BrtEndBundleShs", */ T:-1 }, - /*::[*/0x0091/*::]*/: { /* n:"BrtBeginSheetData", */ T:1 }, - /*::[*/0x0092/*::]*/: { /* n:"BrtEndSheetData", */ T:-1 }, - /*::[*/0x0093/*::]*/: { /* n:"BrtWsProp", */ f:parse_BrtWsProp }, - /*::[*/0x0094/*::]*/: { /* n:"BrtWsDim", */ f:parse_BrtWsDim, p:16 }, - /*::[*/0x0097/*::]*/: { /* n:"BrtPane", */ f:parse_BrtPane }, - /*::[*/0x0098/*::]*/: { /* n:"BrtSel" */ }, - /*::[*/0x0099/*::]*/: { /* n:"BrtWbProp", */ f:parse_BrtWbProp }, - /*::[*/0x009A/*::]*/: { /* n:"BrtWbFactoid" */ }, - /*::[*/0x009B/*::]*/: { /* n:"BrtFileRecover" */ }, - /*::[*/0x009C/*::]*/: { /* n:"BrtBundleSh", */ f:parse_BrtBundleSh }, - /*::[*/0x009D/*::]*/: { /* n:"BrtCalcProp" */ }, - /*::[*/0x009E/*::]*/: { /* n:"BrtBookView" */ }, - /*::[*/0x009F/*::]*/: { /* n:"BrtBeginSst", */ T:1, f:parse_BrtBeginSst }, - /*::[*/0x00A0/*::]*/: { /* n:"BrtEndSst", */ T:-1 }, - /*::[*/0x00A1/*::]*/: { /* n:"BrtBeginAFilter", */ T:1, f:parse_UncheckedRfX }, - /*::[*/0x00A2/*::]*/: { /* n:"BrtEndAFilter", */ T:-1 }, - /*::[*/0x00A3/*::]*/: { /* n:"BrtBeginFilterColumn", */ T:1 }, - /*::[*/0x00A4/*::]*/: { /* n:"BrtEndFilterColumn", */ T:-1 }, - /*::[*/0x00A5/*::]*/: { /* n:"BrtBeginFilters", */ T:1 }, - /*::[*/0x00A6/*::]*/: { /* n:"BrtEndFilters", */ T:-1 }, - /*::[*/0x00A7/*::]*/: { /* n:"BrtFilter" */ }, - /*::[*/0x00A8/*::]*/: { /* n:"BrtColorFilter" */ }, - /*::[*/0x00A9/*::]*/: { /* n:"BrtIconFilter" */ }, - /*::[*/0x00AA/*::]*/: { /* n:"BrtTop10Filter" */ }, - /*::[*/0x00AB/*::]*/: { /* n:"BrtDynamicFilter" */ }, - /*::[*/0x00AC/*::]*/: { /* n:"BrtBeginCustomFilters", */ T:1 }, - /*::[*/0x00AD/*::]*/: { /* n:"BrtEndCustomFilters", */ T:-1 }, - /*::[*/0x00AE/*::]*/: { /* n:"BrtCustomFilter" */ }, - /*::[*/0x00AF/*::]*/: { /* n:"BrtAFilterDateGroupItem" */ }, - /*::[*/0x00B0/*::]*/: { /* n:"BrtMergeCell", */ f:parse_BrtMergeCell }, - /*::[*/0x00B1/*::]*/: { /* n:"BrtBeginMergeCells", */ T:1 }, - /*::[*/0x00B2/*::]*/: { /* n:"BrtEndMergeCells", */ T:-1 }, - /*::[*/0x00B3/*::]*/: { /* n:"BrtBeginPivotCacheDef", */ T:1 }, - /*::[*/0x00B4/*::]*/: { /* n:"BrtEndPivotCacheDef", */ T:-1 }, - /*::[*/0x00B5/*::]*/: { /* n:"BrtBeginPCDFields", */ T:1 }, - /*::[*/0x00B6/*::]*/: { /* n:"BrtEndPCDFields", */ T:-1 }, - /*::[*/0x00B7/*::]*/: { /* n:"BrtBeginPCDField", */ T:1 }, - /*::[*/0x00B8/*::]*/: { /* n:"BrtEndPCDField", */ T:-1 }, - /*::[*/0x00B9/*::]*/: { /* n:"BrtBeginPCDSource", */ T:1 }, - /*::[*/0x00BA/*::]*/: { /* n:"BrtEndPCDSource", */ T:-1 }, - /*::[*/0x00BB/*::]*/: { /* n:"BrtBeginPCDSRange", */ T:1 }, - /*::[*/0x00BC/*::]*/: { /* n:"BrtEndPCDSRange", */ T:-1 }, - /*::[*/0x00BD/*::]*/: { /* n:"BrtBeginPCDFAtbl", */ T:1 }, - /*::[*/0x00BE/*::]*/: { /* n:"BrtEndPCDFAtbl", */ T:-1 }, - /*::[*/0x00BF/*::]*/: { /* n:"BrtBeginPCDIRun", */ T:1 }, - /*::[*/0x00C0/*::]*/: { /* n:"BrtEndPCDIRun", */ T:-1 }, - /*::[*/0x00C1/*::]*/: { /* n:"BrtBeginPivotCacheRecords", */ T:1 }, - /*::[*/0x00C2/*::]*/: { /* n:"BrtEndPivotCacheRecords", */ T:-1 }, - /*::[*/0x00C3/*::]*/: { /* n:"BrtBeginPCDHierarchies", */ T:1 }, - /*::[*/0x00C4/*::]*/: { /* n:"BrtEndPCDHierarchies", */ T:-1 }, - /*::[*/0x00C5/*::]*/: { /* n:"BrtBeginPCDHierarchy", */ T:1 }, - /*::[*/0x00C6/*::]*/: { /* n:"BrtEndPCDHierarchy", */ T:-1 }, - /*::[*/0x00C7/*::]*/: { /* n:"BrtBeginPCDHFieldsUsage", */ T:1 }, - /*::[*/0x00C8/*::]*/: { /* n:"BrtEndPCDHFieldsUsage", */ T:-1 }, - /*::[*/0x00C9/*::]*/: { /* n:"BrtBeginExtConnection", */ T:1 }, - /*::[*/0x00CA/*::]*/: { /* n:"BrtEndExtConnection", */ T:-1 }, - /*::[*/0x00CB/*::]*/: { /* n:"BrtBeginECDbProps", */ T:1 }, - /*::[*/0x00CC/*::]*/: { /* n:"BrtEndECDbProps", */ T:-1 }, - /*::[*/0x00CD/*::]*/: { /* n:"BrtBeginECOlapProps", */ T:1 }, - /*::[*/0x00CE/*::]*/: { /* n:"BrtEndECOlapProps", */ T:-1 }, - /*::[*/0x00CF/*::]*/: { /* n:"BrtBeginPCDSConsol", */ T:1 }, - /*::[*/0x00D0/*::]*/: { /* n:"BrtEndPCDSConsol", */ T:-1 }, - /*::[*/0x00D1/*::]*/: { /* n:"BrtBeginPCDSCPages", */ T:1 }, - /*::[*/0x00D2/*::]*/: { /* n:"BrtEndPCDSCPages", */ T:-1 }, - /*::[*/0x00D3/*::]*/: { /* n:"BrtBeginPCDSCPage", */ T:1 }, - /*::[*/0x00D4/*::]*/: { /* n:"BrtEndPCDSCPage", */ T:-1 }, - /*::[*/0x00D5/*::]*/: { /* n:"BrtBeginPCDSCPItem", */ T:1 }, - /*::[*/0x00D6/*::]*/: { /* n:"BrtEndPCDSCPItem", */ T:-1 }, - /*::[*/0x00D7/*::]*/: { /* n:"BrtBeginPCDSCSets", */ T:1 }, - /*::[*/0x00D8/*::]*/: { /* n:"BrtEndPCDSCSets", */ T:-1 }, - /*::[*/0x00D9/*::]*/: { /* n:"BrtBeginPCDSCSet", */ T:1 }, - /*::[*/0x00DA/*::]*/: { /* n:"BrtEndPCDSCSet", */ T:-1 }, - /*::[*/0x00DB/*::]*/: { /* n:"BrtBeginPCDFGroup", */ T:1 }, - /*::[*/0x00DC/*::]*/: { /* n:"BrtEndPCDFGroup", */ T:-1 }, - /*::[*/0x00DD/*::]*/: { /* n:"BrtBeginPCDFGItems", */ T:1 }, - /*::[*/0x00DE/*::]*/: { /* n:"BrtEndPCDFGItems", */ T:-1 }, - /*::[*/0x00DF/*::]*/: { /* n:"BrtBeginPCDFGRange", */ T:1 }, - /*::[*/0x00E0/*::]*/: { /* n:"BrtEndPCDFGRange", */ T:-1 }, - /*::[*/0x00E1/*::]*/: { /* n:"BrtBeginPCDFGDiscrete", */ T:1 }, - /*::[*/0x00E2/*::]*/: { /* n:"BrtEndPCDFGDiscrete", */ T:-1 }, - /*::[*/0x00E3/*::]*/: { /* n:"BrtBeginPCDSDTupleCache", */ T:1 }, - /*::[*/0x00E4/*::]*/: { /* n:"BrtEndPCDSDTupleCache", */ T:-1 }, - /*::[*/0x00E5/*::]*/: { /* n:"BrtBeginPCDSDTCEntries", */ T:1 }, - /*::[*/0x00E6/*::]*/: { /* n:"BrtEndPCDSDTCEntries", */ T:-1 }, - /*::[*/0x00E7/*::]*/: { /* n:"BrtBeginPCDSDTCEMembers", */ T:1 }, - /*::[*/0x00E8/*::]*/: { /* n:"BrtEndPCDSDTCEMembers", */ T:-1 }, - /*::[*/0x00E9/*::]*/: { /* n:"BrtBeginPCDSDTCEMember", */ T:1 }, - /*::[*/0x00EA/*::]*/: { /* n:"BrtEndPCDSDTCEMember", */ T:-1 }, - /*::[*/0x00EB/*::]*/: { /* n:"BrtBeginPCDSDTCQueries", */ T:1 }, - /*::[*/0x00EC/*::]*/: { /* n:"BrtEndPCDSDTCQueries", */ T:-1 }, - /*::[*/0x00ED/*::]*/: { /* n:"BrtBeginPCDSDTCQuery", */ T:1 }, - /*::[*/0x00EE/*::]*/: { /* n:"BrtEndPCDSDTCQuery", */ T:-1 }, - /*::[*/0x00EF/*::]*/: { /* n:"BrtBeginPCDSDTCSets", */ T:1 }, - /*::[*/0x00F0/*::]*/: { /* n:"BrtEndPCDSDTCSets", */ T:-1 }, - /*::[*/0x00F1/*::]*/: { /* n:"BrtBeginPCDSDTCSet", */ T:1 }, - /*::[*/0x00F2/*::]*/: { /* n:"BrtEndPCDSDTCSet", */ T:-1 }, - /*::[*/0x00F3/*::]*/: { /* n:"BrtBeginPCDCalcItems", */ T:1 }, - /*::[*/0x00F4/*::]*/: { /* n:"BrtEndPCDCalcItems", */ T:-1 }, - /*::[*/0x00F5/*::]*/: { /* n:"BrtBeginPCDCalcItem", */ T:1 }, - /*::[*/0x00F6/*::]*/: { /* n:"BrtEndPCDCalcItem", */ T:-1 }, - /*::[*/0x00F7/*::]*/: { /* n:"BrtBeginPRule", */ T:1 }, - /*::[*/0x00F8/*::]*/: { /* n:"BrtEndPRule", */ T:-1 }, - /*::[*/0x00F9/*::]*/: { /* n:"BrtBeginPRFilters", */ T:1 }, - /*::[*/0x00FA/*::]*/: { /* n:"BrtEndPRFilters", */ T:-1 }, - /*::[*/0x00FB/*::]*/: { /* n:"BrtBeginPRFilter", */ T:1 }, - /*::[*/0x00FC/*::]*/: { /* n:"BrtEndPRFilter", */ T:-1 }, - /*::[*/0x00FD/*::]*/: { /* n:"BrtBeginPNames", */ T:1 }, - /*::[*/0x00FE/*::]*/: { /* n:"BrtEndPNames", */ T:-1 }, - /*::[*/0x00FF/*::]*/: { /* n:"BrtBeginPName", */ T:1 }, - /*::[*/0x0100/*::]*/: { /* n:"BrtEndPName", */ T:-1 }, - /*::[*/0x0101/*::]*/: { /* n:"BrtBeginPNPairs", */ T:1 }, - /*::[*/0x0102/*::]*/: { /* n:"BrtEndPNPairs", */ T:-1 }, - /*::[*/0x0103/*::]*/: { /* n:"BrtBeginPNPair", */ T:1 }, - /*::[*/0x0104/*::]*/: { /* n:"BrtEndPNPair", */ T:-1 }, - /*::[*/0x0105/*::]*/: { /* n:"BrtBeginECWebProps", */ T:1 }, - /*::[*/0x0106/*::]*/: { /* n:"BrtEndECWebProps", */ T:-1 }, - /*::[*/0x0107/*::]*/: { /* n:"BrtBeginEcWpTables", */ T:1 }, - /*::[*/0x0108/*::]*/: { /* n:"BrtEndECWPTables", */ T:-1 }, - /*::[*/0x0109/*::]*/: { /* n:"BrtBeginECParams", */ T:1 }, - /*::[*/0x010A/*::]*/: { /* n:"BrtEndECParams", */ T:-1 }, - /*::[*/0x010B/*::]*/: { /* n:"BrtBeginECParam", */ T:1 }, - /*::[*/0x010C/*::]*/: { /* n:"BrtEndECParam", */ T:-1 }, - /*::[*/0x010D/*::]*/: { /* n:"BrtBeginPCDKPIs", */ T:1 }, - /*::[*/0x010E/*::]*/: { /* n:"BrtEndPCDKPIs", */ T:-1 }, - /*::[*/0x010F/*::]*/: { /* n:"BrtBeginPCDKPI", */ T:1 }, - /*::[*/0x0110/*::]*/: { /* n:"BrtEndPCDKPI", */ T:-1 }, - /*::[*/0x0111/*::]*/: { /* n:"BrtBeginDims", */ T:1 }, - /*::[*/0x0112/*::]*/: { /* n:"BrtEndDims", */ T:-1 }, - /*::[*/0x0113/*::]*/: { /* n:"BrtBeginDim", */ T:1 }, - /*::[*/0x0114/*::]*/: { /* n:"BrtEndDim", */ T:-1 }, - /*::[*/0x0115/*::]*/: { /* n:"BrtIndexPartEnd" */ }, - /*::[*/0x0116/*::]*/: { /* n:"BrtBeginStyleSheet", */ T:1 }, - /*::[*/0x0117/*::]*/: { /* n:"BrtEndStyleSheet", */ T:-1 }, - /*::[*/0x0118/*::]*/: { /* n:"BrtBeginSXView", */ T:1 }, - /*::[*/0x0119/*::]*/: { /* n:"BrtEndSXVI", */ T:-1 }, - /*::[*/0x011A/*::]*/: { /* n:"BrtBeginSXVI", */ T:1 }, - /*::[*/0x011B/*::]*/: { /* n:"BrtBeginSXVIs", */ T:1 }, - /*::[*/0x011C/*::]*/: { /* n:"BrtEndSXVIs", */ T:-1 }, - /*::[*/0x011D/*::]*/: { /* n:"BrtBeginSXVD", */ T:1 }, - /*::[*/0x011E/*::]*/: { /* n:"BrtEndSXVD", */ T:-1 }, - /*::[*/0x011F/*::]*/: { /* n:"BrtBeginSXVDs", */ T:1 }, - /*::[*/0x0120/*::]*/: { /* n:"BrtEndSXVDs", */ T:-1 }, - /*::[*/0x0121/*::]*/: { /* n:"BrtBeginSXPI", */ T:1 }, - /*::[*/0x0122/*::]*/: { /* n:"BrtEndSXPI", */ T:-1 }, - /*::[*/0x0123/*::]*/: { /* n:"BrtBeginSXPIs", */ T:1 }, - /*::[*/0x0124/*::]*/: { /* n:"BrtEndSXPIs", */ T:-1 }, - /*::[*/0x0125/*::]*/: { /* n:"BrtBeginSXDI", */ T:1 }, - /*::[*/0x0126/*::]*/: { /* n:"BrtEndSXDI", */ T:-1 }, - /*::[*/0x0127/*::]*/: { /* n:"BrtBeginSXDIs", */ T:1 }, - /*::[*/0x0128/*::]*/: { /* n:"BrtEndSXDIs", */ T:-1 }, - /*::[*/0x0129/*::]*/: { /* n:"BrtBeginSXLI", */ T:1 }, - /*::[*/0x012A/*::]*/: { /* n:"BrtEndSXLI", */ T:-1 }, - /*::[*/0x012B/*::]*/: { /* n:"BrtBeginSXLIRws", */ T:1 }, - /*::[*/0x012C/*::]*/: { /* n:"BrtEndSXLIRws", */ T:-1 }, - /*::[*/0x012D/*::]*/: { /* n:"BrtBeginSXLICols", */ T:1 }, - /*::[*/0x012E/*::]*/: { /* n:"BrtEndSXLICols", */ T:-1 }, - /*::[*/0x012F/*::]*/: { /* n:"BrtBeginSXFormat", */ T:1 }, - /*::[*/0x0130/*::]*/: { /* n:"BrtEndSXFormat", */ T:-1 }, - /*::[*/0x0131/*::]*/: { /* n:"BrtBeginSXFormats", */ T:1 }, - /*::[*/0x0132/*::]*/: { /* n:"BrtEndSxFormats", */ T:-1 }, - /*::[*/0x0133/*::]*/: { /* n:"BrtBeginSxSelect", */ T:1 }, - /*::[*/0x0134/*::]*/: { /* n:"BrtEndSxSelect", */ T:-1 }, - /*::[*/0x0135/*::]*/: { /* n:"BrtBeginISXVDRws", */ T:1 }, - /*::[*/0x0136/*::]*/: { /* n:"BrtEndISXVDRws", */ T:-1 }, - /*::[*/0x0137/*::]*/: { /* n:"BrtBeginISXVDCols", */ T:1 }, - /*::[*/0x0138/*::]*/: { /* n:"BrtEndISXVDCols", */ T:-1 }, - /*::[*/0x0139/*::]*/: { /* n:"BrtEndSXLocation", */ T:-1 }, - /*::[*/0x013A/*::]*/: { /* n:"BrtBeginSXLocation", */ T:1 }, - /*::[*/0x013B/*::]*/: { /* n:"BrtEndSXView", */ T:-1 }, - /*::[*/0x013C/*::]*/: { /* n:"BrtBeginSXTHs", */ T:1 }, - /*::[*/0x013D/*::]*/: { /* n:"BrtEndSXTHs", */ T:-1 }, - /*::[*/0x013E/*::]*/: { /* n:"BrtBeginSXTH", */ T:1 }, - /*::[*/0x013F/*::]*/: { /* n:"BrtEndSXTH", */ T:-1 }, - /*::[*/0x0140/*::]*/: { /* n:"BrtBeginISXTHRws", */ T:1 }, - /*::[*/0x0141/*::]*/: { /* n:"BrtEndISXTHRws", */ T:-1 }, - /*::[*/0x0142/*::]*/: { /* n:"BrtBeginISXTHCols", */ T:1 }, - /*::[*/0x0143/*::]*/: { /* n:"BrtEndISXTHCols", */ T:-1 }, - /*::[*/0x0144/*::]*/: { /* n:"BrtBeginSXTDMPS", */ T:1 }, - /*::[*/0x0145/*::]*/: { /* n:"BrtEndSXTDMPs", */ T:-1 }, - /*::[*/0x0146/*::]*/: { /* n:"BrtBeginSXTDMP", */ T:1 }, - /*::[*/0x0147/*::]*/: { /* n:"BrtEndSXTDMP", */ T:-1 }, - /*::[*/0x0148/*::]*/: { /* n:"BrtBeginSXTHItems", */ T:1 }, - /*::[*/0x0149/*::]*/: { /* n:"BrtEndSXTHItems", */ T:-1 }, - /*::[*/0x014A/*::]*/: { /* n:"BrtBeginSXTHItem", */ T:1 }, - /*::[*/0x014B/*::]*/: { /* n:"BrtEndSXTHItem", */ T:-1 }, - /*::[*/0x014C/*::]*/: { /* n:"BrtBeginMetadata", */ T:1 }, - /*::[*/0x014D/*::]*/: { /* n:"BrtEndMetadata", */ T:-1 }, - /*::[*/0x014E/*::]*/: { /* n:"BrtBeginEsmdtinfo", */ T:1 }, - /*::[*/0x014F/*::]*/: { /* n:"BrtMdtinfo", */ f:parse_BrtMdtinfo }, - /*::[*/0x0150/*::]*/: { /* n:"BrtEndEsmdtinfo", */ T:-1 }, - /*::[*/0x0151/*::]*/: { /* n:"BrtBeginEsmdb", */ f:parse_BrtBeginEsmdb, T:1 }, - /*::[*/0x0152/*::]*/: { /* n:"BrtEndEsmdb", */ T:-1 }, - /*::[*/0x0153/*::]*/: { /* n:"BrtBeginEsfmd", */ T:1 }, - /*::[*/0x0154/*::]*/: { /* n:"BrtEndEsfmd", */ T:-1 }, - /*::[*/0x0155/*::]*/: { /* n:"BrtBeginSingleCells", */ T:1 }, - /*::[*/0x0156/*::]*/: { /* n:"BrtEndSingleCells", */ T:-1 }, - /*::[*/0x0157/*::]*/: { /* n:"BrtBeginList", */ T:1 }, - /*::[*/0x0158/*::]*/: { /* n:"BrtEndList", */ T:-1 }, - /*::[*/0x0159/*::]*/: { /* n:"BrtBeginListCols", */ T:1 }, - /*::[*/0x015A/*::]*/: { /* n:"BrtEndListCols", */ T:-1 }, - /*::[*/0x015B/*::]*/: { /* n:"BrtBeginListCol", */ T:1 }, - /*::[*/0x015C/*::]*/: { /* n:"BrtEndListCol", */ T:-1 }, - /*::[*/0x015D/*::]*/: { /* n:"BrtBeginListXmlCPr", */ T:1 }, - /*::[*/0x015E/*::]*/: { /* n:"BrtEndListXmlCPr", */ T:-1 }, - /*::[*/0x015F/*::]*/: { /* n:"BrtListCCFmla" */ }, - /*::[*/0x0160/*::]*/: { /* n:"BrtListTrFmla" */ }, - /*::[*/0x0161/*::]*/: { /* n:"BrtBeginExternals", */ T:1 }, - /*::[*/0x0162/*::]*/: { /* n:"BrtEndExternals", */ T:-1 }, - /*::[*/0x0163/*::]*/: { /* n:"BrtSupBookSrc", */ f:parse_RelID}, - /*::[*/0x0165/*::]*/: { /* n:"BrtSupSelf" */ }, - /*::[*/0x0166/*::]*/: { /* n:"BrtSupSame" */ }, - /*::[*/0x0167/*::]*/: { /* n:"BrtSupTabs" */ }, - /*::[*/0x0168/*::]*/: { /* n:"BrtBeginSupBook", */ T:1 }, - /*::[*/0x0169/*::]*/: { /* n:"BrtPlaceholderName" */ }, - /*::[*/0x016A/*::]*/: { /* n:"BrtExternSheet", */ f:parse_ExternSheet }, - /*::[*/0x016B/*::]*/: { /* n:"BrtExternTableStart" */ }, - /*::[*/0x016C/*::]*/: { /* n:"BrtExternTableEnd" */ }, - /*::[*/0x016E/*::]*/: { /* n:"BrtExternRowHdr" */ }, - /*::[*/0x016F/*::]*/: { /* n:"BrtExternCellBlank" */ }, - /*::[*/0x0170/*::]*/: { /* n:"BrtExternCellReal" */ }, - /*::[*/0x0171/*::]*/: { /* n:"BrtExternCellBool" */ }, - /*::[*/0x0172/*::]*/: { /* n:"BrtExternCellError" */ }, - /*::[*/0x0173/*::]*/: { /* n:"BrtExternCellString" */ }, - /*::[*/0x0174/*::]*/: { /* n:"BrtBeginEsmdx", */ T:1 }, - /*::[*/0x0175/*::]*/: { /* n:"BrtEndEsmdx", */ T:-1 }, - /*::[*/0x0176/*::]*/: { /* n:"BrtBeginMdxSet", */ T:1 }, - /*::[*/0x0177/*::]*/: { /* n:"BrtEndMdxSet", */ T:-1 }, - /*::[*/0x0178/*::]*/: { /* n:"BrtBeginMdxMbrProp", */ T:1 }, - /*::[*/0x0179/*::]*/: { /* n:"BrtEndMdxMbrProp", */ T:-1 }, - /*::[*/0x017A/*::]*/: { /* n:"BrtBeginMdxKPI", */ T:1 }, - /*::[*/0x017B/*::]*/: { /* n:"BrtEndMdxKPI", */ T:-1 }, - /*::[*/0x017C/*::]*/: { /* n:"BrtBeginEsstr", */ T:1 }, - /*::[*/0x017D/*::]*/: { /* n:"BrtEndEsstr", */ T:-1 }, - /*::[*/0x017E/*::]*/: { /* n:"BrtBeginPRFItem", */ T:1 }, - /*::[*/0x017F/*::]*/: { /* n:"BrtEndPRFItem", */ T:-1 }, - /*::[*/0x0180/*::]*/: { /* n:"BrtBeginPivotCacheIDs", */ T:1 }, - /*::[*/0x0181/*::]*/: { /* n:"BrtEndPivotCacheIDs", */ T:-1 }, - /*::[*/0x0182/*::]*/: { /* n:"BrtBeginPivotCacheID", */ T:1 }, - /*::[*/0x0183/*::]*/: { /* n:"BrtEndPivotCacheID", */ T:-1 }, - /*::[*/0x0184/*::]*/: { /* n:"BrtBeginISXVIs", */ T:1 }, - /*::[*/0x0185/*::]*/: { /* n:"BrtEndISXVIs", */ T:-1 }, - /*::[*/0x0186/*::]*/: { /* n:"BrtBeginColInfos", */ T:1 }, - /*::[*/0x0187/*::]*/: { /* n:"BrtEndColInfos", */ T:-1 }, - /*::[*/0x0188/*::]*/: { /* n:"BrtBeginRwBrk", */ T:1 }, - /*::[*/0x0189/*::]*/: { /* n:"BrtEndRwBrk", */ T:-1 }, - /*::[*/0x018A/*::]*/: { /* n:"BrtBeginColBrk", */ T:1 }, - /*::[*/0x018B/*::]*/: { /* n:"BrtEndColBrk", */ T:-1 }, - /*::[*/0x018C/*::]*/: { /* n:"BrtBrk" */ }, - /*::[*/0x018D/*::]*/: { /* n:"BrtUserBookView" */ }, - /*::[*/0x018E/*::]*/: { /* n:"BrtInfo" */ }, - /*::[*/0x018F/*::]*/: { /* n:"BrtCUsr" */ }, - /*::[*/0x0190/*::]*/: { /* n:"BrtUsr" */ }, - /*::[*/0x0191/*::]*/: { /* n:"BrtBeginUsers", */ T:1 }, - /*::[*/0x0193/*::]*/: { /* n:"BrtEOF" */ }, - /*::[*/0x0194/*::]*/: { /* n:"BrtUCR" */ }, - /*::[*/0x0195/*::]*/: { /* n:"BrtRRInsDel" */ }, - /*::[*/0x0196/*::]*/: { /* n:"BrtRREndInsDel" */ }, - /*::[*/0x0197/*::]*/: { /* n:"BrtRRMove" */ }, - /*::[*/0x0198/*::]*/: { /* n:"BrtRREndMove" */ }, - /*::[*/0x0199/*::]*/: { /* n:"BrtRRChgCell" */ }, - /*::[*/0x019A/*::]*/: { /* n:"BrtRREndChgCell" */ }, - /*::[*/0x019B/*::]*/: { /* n:"BrtRRHeader" */ }, - /*::[*/0x019C/*::]*/: { /* n:"BrtRRUserView" */ }, - /*::[*/0x019D/*::]*/: { /* n:"BrtRRRenSheet" */ }, - /*::[*/0x019E/*::]*/: { /* n:"BrtRRInsertSh" */ }, - /*::[*/0x019F/*::]*/: { /* n:"BrtRRDefName" */ }, - /*::[*/0x01A0/*::]*/: { /* n:"BrtRRNote" */ }, - /*::[*/0x01A1/*::]*/: { /* n:"BrtRRConflict" */ }, - /*::[*/0x01A2/*::]*/: { /* n:"BrtRRTQSIF" */ }, - /*::[*/0x01A3/*::]*/: { /* n:"BrtRRFormat" */ }, - /*::[*/0x01A4/*::]*/: { /* n:"BrtRREndFormat" */ }, - /*::[*/0x01A5/*::]*/: { /* n:"BrtRRAutoFmt" */ }, - /*::[*/0x01A6/*::]*/: { /* n:"BrtBeginUserShViews", */ T:1 }, - /*::[*/0x01A7/*::]*/: { /* n:"BrtBeginUserShView", */ T:1 }, - /*::[*/0x01A8/*::]*/: { /* n:"BrtEndUserShView", */ T:-1 }, - /*::[*/0x01A9/*::]*/: { /* n:"BrtEndUserShViews", */ T:-1 }, - /*::[*/0x01AA/*::]*/: { /* n:"BrtArrFmla", */ f:parse_BrtArrFmla }, - /*::[*/0x01AB/*::]*/: { /* n:"BrtShrFmla", */ f:parse_BrtShrFmla }, - /*::[*/0x01AC/*::]*/: { /* n:"BrtTable" */ }, - /*::[*/0x01AD/*::]*/: { /* n:"BrtBeginExtConnections", */ T:1 }, - /*::[*/0x01AE/*::]*/: { /* n:"BrtEndExtConnections", */ T:-1 }, - /*::[*/0x01AF/*::]*/: { /* n:"BrtBeginPCDCalcMems", */ T:1 }, - /*::[*/0x01B0/*::]*/: { /* n:"BrtEndPCDCalcMems", */ T:-1 }, - /*::[*/0x01B1/*::]*/: { /* n:"BrtBeginPCDCalcMem", */ T:1 }, - /*::[*/0x01B2/*::]*/: { /* n:"BrtEndPCDCalcMem", */ T:-1 }, - /*::[*/0x01B3/*::]*/: { /* n:"BrtBeginPCDHGLevels", */ T:1 }, - /*::[*/0x01B4/*::]*/: { /* n:"BrtEndPCDHGLevels", */ T:-1 }, - /*::[*/0x01B5/*::]*/: { /* n:"BrtBeginPCDHGLevel", */ T:1 }, - /*::[*/0x01B6/*::]*/: { /* n:"BrtEndPCDHGLevel", */ T:-1 }, - /*::[*/0x01B7/*::]*/: { /* n:"BrtBeginPCDHGLGroups", */ T:1 }, - /*::[*/0x01B8/*::]*/: { /* n:"BrtEndPCDHGLGroups", */ T:-1 }, - /*::[*/0x01B9/*::]*/: { /* n:"BrtBeginPCDHGLGroup", */ T:1 }, - /*::[*/0x01BA/*::]*/: { /* n:"BrtEndPCDHGLGroup", */ T:-1 }, - /*::[*/0x01BB/*::]*/: { /* n:"BrtBeginPCDHGLGMembers", */ T:1 }, - /*::[*/0x01BC/*::]*/: { /* n:"BrtEndPCDHGLGMembers", */ T:-1 }, - /*::[*/0x01BD/*::]*/: { /* n:"BrtBeginPCDHGLGMember", */ T:1 }, - /*::[*/0x01BE/*::]*/: { /* n:"BrtEndPCDHGLGMember", */ T:-1 }, - /*::[*/0x01BF/*::]*/: { /* n:"BrtBeginQSI", */ T:1 }, - /*::[*/0x01C0/*::]*/: { /* n:"BrtEndQSI", */ T:-1 }, - /*::[*/0x01C1/*::]*/: { /* n:"BrtBeginQSIR", */ T:1 }, - /*::[*/0x01C2/*::]*/: { /* n:"BrtEndQSIR", */ T:-1 }, - /*::[*/0x01C3/*::]*/: { /* n:"BrtBeginDeletedNames", */ T:1 }, - /*::[*/0x01C4/*::]*/: { /* n:"BrtEndDeletedNames", */ T:-1 }, - /*::[*/0x01C5/*::]*/: { /* n:"BrtBeginDeletedName", */ T:1 }, - /*::[*/0x01C6/*::]*/: { /* n:"BrtEndDeletedName", */ T:-1 }, - /*::[*/0x01C7/*::]*/: { /* n:"BrtBeginQSIFs", */ T:1 }, - /*::[*/0x01C8/*::]*/: { /* n:"BrtEndQSIFs", */ T:-1 }, - /*::[*/0x01C9/*::]*/: { /* n:"BrtBeginQSIF", */ T:1 }, - /*::[*/0x01CA/*::]*/: { /* n:"BrtEndQSIF", */ T:-1 }, - /*::[*/0x01CB/*::]*/: { /* n:"BrtBeginAutoSortScope", */ T:1 }, - /*::[*/0x01CC/*::]*/: { /* n:"BrtEndAutoSortScope", */ T:-1 }, - /*::[*/0x01CD/*::]*/: { /* n:"BrtBeginConditionalFormatting", */ T:1 }, - /*::[*/0x01CE/*::]*/: { /* n:"BrtEndConditionalFormatting", */ T:-1 }, - /*::[*/0x01CF/*::]*/: { /* n:"BrtBeginCFRule", */ T:1 }, - /*::[*/0x01D0/*::]*/: { /* n:"BrtEndCFRule", */ T:-1 }, - /*::[*/0x01D1/*::]*/: { /* n:"BrtBeginIconSet", */ T:1 }, - /*::[*/0x01D2/*::]*/: { /* n:"BrtEndIconSet", */ T:-1 }, - /*::[*/0x01D3/*::]*/: { /* n:"BrtBeginDatabar", */ T:1 }, - /*::[*/0x01D4/*::]*/: { /* n:"BrtEndDatabar", */ T:-1 }, - /*::[*/0x01D5/*::]*/: { /* n:"BrtBeginColorScale", */ T:1 }, - /*::[*/0x01D6/*::]*/: { /* n:"BrtEndColorScale", */ T:-1 }, - /*::[*/0x01D7/*::]*/: { /* n:"BrtCFVO" */ }, - /*::[*/0x01D8/*::]*/: { /* n:"BrtExternValueMeta" */ }, - /*::[*/0x01D9/*::]*/: { /* n:"BrtBeginColorPalette", */ T:1 }, - /*::[*/0x01DA/*::]*/: { /* n:"BrtEndColorPalette", */ T:-1 }, - /*::[*/0x01DB/*::]*/: { /* n:"BrtIndexedColor" */ }, - /*::[*/0x01DC/*::]*/: { /* n:"BrtMargins", */ f:parse_BrtMargins }, - /*::[*/0x01DD/*::]*/: { /* n:"BrtPrintOptions" */ }, - /*::[*/0x01DE/*::]*/: { /* n:"BrtPageSetup" */ }, - /*::[*/0x01DF/*::]*/: { /* n:"BrtBeginHeaderFooter", */ T:1 }, - /*::[*/0x01E0/*::]*/: { /* n:"BrtEndHeaderFooter", */ T:-1 }, - /*::[*/0x01E1/*::]*/: { /* n:"BrtBeginSXCrtFormat", */ T:1 }, - /*::[*/0x01E2/*::]*/: { /* n:"BrtEndSXCrtFormat", */ T:-1 }, - /*::[*/0x01E3/*::]*/: { /* n:"BrtBeginSXCrtFormats", */ T:1 }, - /*::[*/0x01E4/*::]*/: { /* n:"BrtEndSXCrtFormats", */ T:-1 }, - /*::[*/0x01E5/*::]*/: { /* n:"BrtWsFmtInfo", */ f:parse_BrtWsFmtInfo }, - /*::[*/0x01E6/*::]*/: { /* n:"BrtBeginMgs", */ T:1 }, - /*::[*/0x01E7/*::]*/: { /* n:"BrtEndMGs", */ T:-1 }, - /*::[*/0x01E8/*::]*/: { /* n:"BrtBeginMGMaps", */ T:1 }, - /*::[*/0x01E9/*::]*/: { /* n:"BrtEndMGMaps", */ T:-1 }, - /*::[*/0x01EA/*::]*/: { /* n:"BrtBeginMG", */ T:1 }, - /*::[*/0x01EB/*::]*/: { /* n:"BrtEndMG", */ T:-1 }, - /*::[*/0x01EC/*::]*/: { /* n:"BrtBeginMap", */ T:1 }, - /*::[*/0x01ED/*::]*/: { /* n:"BrtEndMap", */ T:-1 }, - /*::[*/0x01EE/*::]*/: { /* n:"BrtHLink", */ f:parse_BrtHLink }, - /*::[*/0x01EF/*::]*/: { /* n:"BrtBeginDCon", */ T:1 }, - /*::[*/0x01F0/*::]*/: { /* n:"BrtEndDCon", */ T:-1 }, - /*::[*/0x01F1/*::]*/: { /* n:"BrtBeginDRefs", */ T:1 }, - /*::[*/0x01F2/*::]*/: { /* n:"BrtEndDRefs", */ T:-1 }, - /*::[*/0x01F3/*::]*/: { /* n:"BrtDRef" */ }, - /*::[*/0x01F4/*::]*/: { /* n:"BrtBeginScenMan", */ T:1 }, - /*::[*/0x01F5/*::]*/: { /* n:"BrtEndScenMan", */ T:-1 }, - /*::[*/0x01F6/*::]*/: { /* n:"BrtBeginSct", */ T:1 }, - /*::[*/0x01F7/*::]*/: { /* n:"BrtEndSct", */ T:-1 }, - /*::[*/0x01F8/*::]*/: { /* n:"BrtSlc" */ }, - /*::[*/0x01F9/*::]*/: { /* n:"BrtBeginDXFs", */ T:1 }, - /*::[*/0x01FA/*::]*/: { /* n:"BrtEndDXFs", */ T:-1 }, - /*::[*/0x01FB/*::]*/: { /* n:"BrtDXF" */ }, - /*::[*/0x01FC/*::]*/: { /* n:"BrtBeginTableStyles", */ T:1 }, - /*::[*/0x01FD/*::]*/: { /* n:"BrtEndTableStyles", */ T:-1 }, - /*::[*/0x01FE/*::]*/: { /* n:"BrtBeginTableStyle", */ T:1 }, - /*::[*/0x01FF/*::]*/: { /* n:"BrtEndTableStyle", */ T:-1 }, - /*::[*/0x0200/*::]*/: { /* n:"BrtTableStyleElement" */ }, - /*::[*/0x0201/*::]*/: { /* n:"BrtTableStyleClient" */ }, - /*::[*/0x0202/*::]*/: { /* n:"BrtBeginVolDeps", */ T:1 }, - /*::[*/0x0203/*::]*/: { /* n:"BrtEndVolDeps", */ T:-1 }, - /*::[*/0x0204/*::]*/: { /* n:"BrtBeginVolType", */ T:1 }, - /*::[*/0x0205/*::]*/: { /* n:"BrtEndVolType", */ T:-1 }, - /*::[*/0x0206/*::]*/: { /* n:"BrtBeginVolMain", */ T:1 }, - /*::[*/0x0207/*::]*/: { /* n:"BrtEndVolMain", */ T:-1 }, - /*::[*/0x0208/*::]*/: { /* n:"BrtBeginVolTopic", */ T:1 }, - /*::[*/0x0209/*::]*/: { /* n:"BrtEndVolTopic", */ T:-1 }, - /*::[*/0x020A/*::]*/: { /* n:"BrtVolSubtopic" */ }, - /*::[*/0x020B/*::]*/: { /* n:"BrtVolRef" */ }, - /*::[*/0x020C/*::]*/: { /* n:"BrtVolNum" */ }, - /*::[*/0x020D/*::]*/: { /* n:"BrtVolErr" */ }, - /*::[*/0x020E/*::]*/: { /* n:"BrtVolStr" */ }, - /*::[*/0x020F/*::]*/: { /* n:"BrtVolBool" */ }, - /*::[*/0x0210/*::]*/: { /* n:"BrtBeginCalcChain$", */ T:1 }, - /*::[*/0x0211/*::]*/: { /* n:"BrtEndCalcChain$", */ T:-1 }, - /*::[*/0x0212/*::]*/: { /* n:"BrtBeginSortState", */ T:1 }, - /*::[*/0x0213/*::]*/: { /* n:"BrtEndSortState", */ T:-1 }, - /*::[*/0x0214/*::]*/: { /* n:"BrtBeginSortCond", */ T:1 }, - /*::[*/0x0215/*::]*/: { /* n:"BrtEndSortCond", */ T:-1 }, - /*::[*/0x0216/*::]*/: { /* n:"BrtBookProtection" */ }, - /*::[*/0x0217/*::]*/: { /* n:"BrtSheetProtection" */ }, - /*::[*/0x0218/*::]*/: { /* n:"BrtRangeProtection" */ }, - /*::[*/0x0219/*::]*/: { /* n:"BrtPhoneticInfo" */ }, - /*::[*/0x021A/*::]*/: { /* n:"BrtBeginECTxtWiz", */ T:1 }, - /*::[*/0x021B/*::]*/: { /* n:"BrtEndECTxtWiz", */ T:-1 }, - /*::[*/0x021C/*::]*/: { /* n:"BrtBeginECTWFldInfoLst", */ T:1 }, - /*::[*/0x021D/*::]*/: { /* n:"BrtEndECTWFldInfoLst", */ T:-1 }, - /*::[*/0x021E/*::]*/: { /* n:"BrtBeginECTwFldInfo", */ T:1 }, - /*::[*/0x0224/*::]*/: { /* n:"BrtFileSharing" */ }, - /*::[*/0x0225/*::]*/: { /* n:"BrtOleSize" */ }, - /*::[*/0x0226/*::]*/: { /* n:"BrtDrawing", */ f:parse_RelID }, - /*::[*/0x0227/*::]*/: { /* n:"BrtLegacyDrawing", */ f:parse_XLNullableWideString }, - /*::[*/0x0228/*::]*/: { /* n:"BrtLegacyDrawingHF" */ }, - /*::[*/0x0229/*::]*/: { /* n:"BrtWebOpt" */ }, - /*::[*/0x022A/*::]*/: { /* n:"BrtBeginWebPubItems", */ T:1 }, - /*::[*/0x022B/*::]*/: { /* n:"BrtEndWebPubItems", */ T:-1 }, - /*::[*/0x022C/*::]*/: { /* n:"BrtBeginWebPubItem", */ T:1 }, - /*::[*/0x022D/*::]*/: { /* n:"BrtEndWebPubItem", */ T:-1 }, - /*::[*/0x022E/*::]*/: { /* n:"BrtBeginSXCondFmt", */ T:1 }, - /*::[*/0x022F/*::]*/: { /* n:"BrtEndSXCondFmt", */ T:-1 }, - /*::[*/0x0230/*::]*/: { /* n:"BrtBeginSXCondFmts", */ T:1 }, - /*::[*/0x0231/*::]*/: { /* n:"BrtEndSXCondFmts", */ T:-1 }, - /*::[*/0x0232/*::]*/: { /* n:"BrtBkHim" */ }, - /*::[*/0x0234/*::]*/: { /* n:"BrtColor" */ }, - /*::[*/0x0235/*::]*/: { /* n:"BrtBeginIndexedColors", */ T:1 }, - /*::[*/0x0236/*::]*/: { /* n:"BrtEndIndexedColors", */ T:-1 }, - /*::[*/0x0239/*::]*/: { /* n:"BrtBeginMRUColors", */ T:1 }, - /*::[*/0x023A/*::]*/: { /* n:"BrtEndMRUColors", */ T:-1 }, - /*::[*/0x023C/*::]*/: { /* n:"BrtMRUColor" */ }, - /*::[*/0x023D/*::]*/: { /* n:"BrtBeginDVals", */ T:1 }, - /*::[*/0x023E/*::]*/: { /* n:"BrtEndDVals", */ T:-1 }, - /*::[*/0x0241/*::]*/: { /* n:"BrtSupNameStart" */ }, - /*::[*/0x0242/*::]*/: { /* n:"BrtSupNameValueStart" */ }, - /*::[*/0x0243/*::]*/: { /* n:"BrtSupNameValueEnd" */ }, - /*::[*/0x0244/*::]*/: { /* n:"BrtSupNameNum" */ }, - /*::[*/0x0245/*::]*/: { /* n:"BrtSupNameErr" */ }, - /*::[*/0x0246/*::]*/: { /* n:"BrtSupNameSt" */ }, - /*::[*/0x0247/*::]*/: { /* n:"BrtSupNameNil" */ }, - /*::[*/0x0248/*::]*/: { /* n:"BrtSupNameBool" */ }, - /*::[*/0x0249/*::]*/: { /* n:"BrtSupNameFmla" */ }, - /*::[*/0x024A/*::]*/: { /* n:"BrtSupNameBits" */ }, - /*::[*/0x024B/*::]*/: { /* n:"BrtSupNameEnd" */ }, - /*::[*/0x024C/*::]*/: { /* n:"BrtEndSupBook", */ T:-1 }, - /*::[*/0x024D/*::]*/: { /* n:"BrtCellSmartTagProperty" */ }, - /*::[*/0x024E/*::]*/: { /* n:"BrtBeginCellSmartTag", */ T:1 }, - /*::[*/0x024F/*::]*/: { /* n:"BrtEndCellSmartTag", */ T:-1 }, - /*::[*/0x0250/*::]*/: { /* n:"BrtBeginCellSmartTags", */ T:1 }, - /*::[*/0x0251/*::]*/: { /* n:"BrtEndCellSmartTags", */ T:-1 }, - /*::[*/0x0252/*::]*/: { /* n:"BrtBeginSmartTags", */ T:1 }, - /*::[*/0x0253/*::]*/: { /* n:"BrtEndSmartTags", */ T:-1 }, - /*::[*/0x0254/*::]*/: { /* n:"BrtSmartTagType" */ }, - /*::[*/0x0255/*::]*/: { /* n:"BrtBeginSmartTagTypes", */ T:1 }, - /*::[*/0x0256/*::]*/: { /* n:"BrtEndSmartTagTypes", */ T:-1 }, - /*::[*/0x0257/*::]*/: { /* n:"BrtBeginSXFilters", */ T:1 }, - /*::[*/0x0258/*::]*/: { /* n:"BrtEndSXFilters", */ T:-1 }, - /*::[*/0x0259/*::]*/: { /* n:"BrtBeginSXFILTER", */ T:1 }, - /*::[*/0x025A/*::]*/: { /* n:"BrtEndSXFilter", */ T:-1 }, - /*::[*/0x025B/*::]*/: { /* n:"BrtBeginFills", */ T:1 }, - /*::[*/0x025C/*::]*/: { /* n:"BrtEndFills", */ T:-1 }, - /*::[*/0x025D/*::]*/: { /* n:"BrtBeginCellWatches", */ T:1 }, - /*::[*/0x025E/*::]*/: { /* n:"BrtEndCellWatches", */ T:-1 }, - /*::[*/0x025F/*::]*/: { /* n:"BrtCellWatch" */ }, - /*::[*/0x0260/*::]*/: { /* n:"BrtBeginCRErrs", */ T:1 }, - /*::[*/0x0261/*::]*/: { /* n:"BrtEndCRErrs", */ T:-1 }, - /*::[*/0x0262/*::]*/: { /* n:"BrtCrashRecErr" */ }, - /*::[*/0x0263/*::]*/: { /* n:"BrtBeginFonts", */ T:1 }, - /*::[*/0x0264/*::]*/: { /* n:"BrtEndFonts", */ T:-1 }, - /*::[*/0x0265/*::]*/: { /* n:"BrtBeginBorders", */ T:1 }, - /*::[*/0x0266/*::]*/: { /* n:"BrtEndBorders", */ T:-1 }, - /*::[*/0x0267/*::]*/: { /* n:"BrtBeginFmts", */ T:1 }, - /*::[*/0x0268/*::]*/: { /* n:"BrtEndFmts", */ T:-1 }, - /*::[*/0x0269/*::]*/: { /* n:"BrtBeginCellXFs", */ T:1 }, - /*::[*/0x026A/*::]*/: { /* n:"BrtEndCellXFs", */ T:-1 }, - /*::[*/0x026B/*::]*/: { /* n:"BrtBeginStyles", */ T:1 }, - /*::[*/0x026C/*::]*/: { /* n:"BrtEndStyles", */ T:-1 }, - /*::[*/0x0271/*::]*/: { /* n:"BrtBigName" */ }, - /*::[*/0x0272/*::]*/: { /* n:"BrtBeginCellStyleXFs", */ T:1 }, - /*::[*/0x0273/*::]*/: { /* n:"BrtEndCellStyleXFs", */ T:-1 }, - /*::[*/0x0274/*::]*/: { /* n:"BrtBeginComments", */ T:1 }, - /*::[*/0x0275/*::]*/: { /* n:"BrtEndComments", */ T:-1 }, - /*::[*/0x0276/*::]*/: { /* n:"BrtBeginCommentAuthors", */ T:1 }, - /*::[*/0x0277/*::]*/: { /* n:"BrtEndCommentAuthors", */ T:-1 }, - /*::[*/0x0278/*::]*/: { /* n:"BrtCommentAuthor", */ f:parse_BrtCommentAuthor }, - /*::[*/0x0279/*::]*/: { /* n:"BrtBeginCommentList", */ T:1 }, - /*::[*/0x027A/*::]*/: { /* n:"BrtEndCommentList", */ T:-1 }, - /*::[*/0x027B/*::]*/: { /* n:"BrtBeginComment", */ T:1, f:parse_BrtBeginComment}, - /*::[*/0x027C/*::]*/: { /* n:"BrtEndComment", */ T:-1 }, - /*::[*/0x027D/*::]*/: { /* n:"BrtCommentText", */ f:parse_BrtCommentText }, - /*::[*/0x027E/*::]*/: { /* n:"BrtBeginOleObjects", */ T:1 }, - /*::[*/0x027F/*::]*/: { /* n:"BrtOleObject" */ }, - /*::[*/0x0280/*::]*/: { /* n:"BrtEndOleObjects", */ T:-1 }, - /*::[*/0x0281/*::]*/: { /* n:"BrtBeginSxrules", */ T:1 }, - /*::[*/0x0282/*::]*/: { /* n:"BrtEndSxRules", */ T:-1 }, - /*::[*/0x0283/*::]*/: { /* n:"BrtBeginActiveXControls", */ T:1 }, - /*::[*/0x0284/*::]*/: { /* n:"BrtActiveX" */ }, - /*::[*/0x0285/*::]*/: { /* n:"BrtEndActiveXControls", */ T:-1 }, - /*::[*/0x0286/*::]*/: { /* n:"BrtBeginPCDSDTCEMembersSortBy", */ T:1 }, - /*::[*/0x0288/*::]*/: { /* n:"BrtBeginCellIgnoreECs", */ T:1 }, - /*::[*/0x0289/*::]*/: { /* n:"BrtCellIgnoreEC" */ }, - /*::[*/0x028A/*::]*/: { /* n:"BrtEndCellIgnoreECs", */ T:-1 }, - /*::[*/0x028B/*::]*/: { /* n:"BrtCsProp", */ f:parse_BrtCsProp }, - /*::[*/0x028C/*::]*/: { /* n:"BrtCsPageSetup" */ }, - /*::[*/0x028D/*::]*/: { /* n:"BrtBeginUserCsViews", */ T:1 }, - /*::[*/0x028E/*::]*/: { /* n:"BrtEndUserCsViews", */ T:-1 }, - /*::[*/0x028F/*::]*/: { /* n:"BrtBeginUserCsView", */ T:1 }, - /*::[*/0x0290/*::]*/: { /* n:"BrtEndUserCsView", */ T:-1 }, - /*::[*/0x0291/*::]*/: { /* n:"BrtBeginPcdSFCIEntries", */ T:1 }, - /*::[*/0x0292/*::]*/: { /* n:"BrtEndPCDSFCIEntries", */ T:-1 }, - /*::[*/0x0293/*::]*/: { /* n:"BrtPCDSFCIEntry" */ }, - /*::[*/0x0294/*::]*/: { /* n:"BrtBeginListParts", */ T:1 }, - /*::[*/0x0295/*::]*/: { /* n:"BrtListPart" */ }, - /*::[*/0x0296/*::]*/: { /* n:"BrtEndListParts", */ T:-1 }, - /*::[*/0x0297/*::]*/: { /* n:"BrtSheetCalcProp" */ }, - /*::[*/0x0298/*::]*/: { /* n:"BrtBeginFnGroup", */ T:1 }, - /*::[*/0x0299/*::]*/: { /* n:"BrtFnGroup" */ }, - /*::[*/0x029A/*::]*/: { /* n:"BrtEndFnGroup", */ T:-1 }, - /*::[*/0x029B/*::]*/: { /* n:"BrtSupAddin" */ }, - /*::[*/0x029C/*::]*/: { /* n:"BrtSXTDMPOrder" */ }, - /*::[*/0x029D/*::]*/: { /* n:"BrtCsProtection" */ }, - /*::[*/0x029F/*::]*/: { /* n:"BrtBeginWsSortMap", */ T:1 }, - /*::[*/0x02A0/*::]*/: { /* n:"BrtEndWsSortMap", */ T:-1 }, - /*::[*/0x02A1/*::]*/: { /* n:"BrtBeginRRSort", */ T:1 }, - /*::[*/0x02A2/*::]*/: { /* n:"BrtEndRRSort", */ T:-1 }, - /*::[*/0x02A3/*::]*/: { /* n:"BrtRRSortItem" */ }, - /*::[*/0x02A4/*::]*/: { /* n:"BrtFileSharingIso" */ }, - /*::[*/0x02A5/*::]*/: { /* n:"BrtBookProtectionIso" */ }, - /*::[*/0x02A6/*::]*/: { /* n:"BrtSheetProtectionIso" */ }, - /*::[*/0x02A7/*::]*/: { /* n:"BrtCsProtectionIso" */ }, - /*::[*/0x02A8/*::]*/: { /* n:"BrtRangeProtectionIso" */ }, - /*::[*/0x02A9/*::]*/: { /* n:"BrtDValList" */ }, - /*::[*/0x0400/*::]*/: { /* n:"BrtRwDescent" */ }, - /*::[*/0x0401/*::]*/: { /* n:"BrtKnownFonts" */ }, - /*::[*/0x0402/*::]*/: { /* n:"BrtBeginSXTupleSet", */ T:1 }, - /*::[*/0x0403/*::]*/: { /* n:"BrtEndSXTupleSet", */ T:-1 }, - /*::[*/0x0404/*::]*/: { /* n:"BrtBeginSXTupleSetHeader", */ T:1 }, - /*::[*/0x0405/*::]*/: { /* n:"BrtEndSXTupleSetHeader", */ T:-1 }, - /*::[*/0x0406/*::]*/: { /* n:"BrtSXTupleSetHeaderItem" */ }, - /*::[*/0x0407/*::]*/: { /* n:"BrtBeginSXTupleSetData", */ T:1 }, - /*::[*/0x0408/*::]*/: { /* n:"BrtEndSXTupleSetData", */ T:-1 }, - /*::[*/0x0409/*::]*/: { /* n:"BrtBeginSXTupleSetRow", */ T:1 }, - /*::[*/0x040A/*::]*/: { /* n:"BrtEndSXTupleSetRow", */ T:-1 }, - /*::[*/0x040B/*::]*/: { /* n:"BrtSXTupleSetRowItem" */ }, - /*::[*/0x040C/*::]*/: { /* n:"BrtNameExt" */ }, - /*::[*/0x040D/*::]*/: { /* n:"BrtPCDH14" */ }, - /*::[*/0x040E/*::]*/: { /* n:"BrtBeginPCDCalcMem14", */ T:1 }, - /*::[*/0x040F/*::]*/: { /* n:"BrtEndPCDCalcMem14", */ T:-1 }, - /*::[*/0x0410/*::]*/: { /* n:"BrtSXTH14" */ }, - /*::[*/0x0411/*::]*/: { /* n:"BrtBeginSparklineGroup", */ T:1 }, - /*::[*/0x0412/*::]*/: { /* n:"BrtEndSparklineGroup", */ T:-1 }, - /*::[*/0x0413/*::]*/: { /* n:"BrtSparkline" */ }, - /*::[*/0x0414/*::]*/: { /* n:"BrtSXDI14" */ }, - /*::[*/0x0415/*::]*/: { /* n:"BrtWsFmtInfoEx14" */ }, - /*::[*/0x0416/*::]*/: { /* n:"BrtBeginConditionalFormatting14", */ T:1 }, - /*::[*/0x0417/*::]*/: { /* n:"BrtEndConditionalFormatting14", */ T:-1 }, - /*::[*/0x0418/*::]*/: { /* n:"BrtBeginCFRule14", */ T:1 }, - /*::[*/0x0419/*::]*/: { /* n:"BrtEndCFRule14", */ T:-1 }, - /*::[*/0x041A/*::]*/: { /* n:"BrtCFVO14" */ }, - /*::[*/0x041B/*::]*/: { /* n:"BrtBeginDatabar14", */ T:1 }, - /*::[*/0x041C/*::]*/: { /* n:"BrtBeginIconSet14", */ T:1 }, - /*::[*/0x041D/*::]*/: { /* n:"BrtDVal14", */ f: parse_BrtDVal14 }, - /*::[*/0x041E/*::]*/: { /* n:"BrtBeginDVals14", */ T:1 }, - /*::[*/0x041F/*::]*/: { /* n:"BrtColor14" */ }, - /*::[*/0x0420/*::]*/: { /* n:"BrtBeginSparklines", */ T:1 }, - /*::[*/0x0421/*::]*/: { /* n:"BrtEndSparklines", */ T:-1 }, - /*::[*/0x0422/*::]*/: { /* n:"BrtBeginSparklineGroups", */ T:1 }, - /*::[*/0x0423/*::]*/: { /* n:"BrtEndSparklineGroups", */ T:-1 }, - /*::[*/0x0425/*::]*/: { /* n:"BrtSXVD14" */ }, - /*::[*/0x0426/*::]*/: { /* n:"BrtBeginSXView14", */ T:1 }, - /*::[*/0x0427/*::]*/: { /* n:"BrtEndSXView14", */ T:-1 }, - /*::[*/0x0428/*::]*/: { /* n:"BrtBeginSXView16", */ T:1 }, - /*::[*/0x0429/*::]*/: { /* n:"BrtEndSXView16", */ T:-1 }, - /*::[*/0x042A/*::]*/: { /* n:"BrtBeginPCD14", */ T:1 }, - /*::[*/0x042B/*::]*/: { /* n:"BrtEndPCD14", */ T:-1 }, - /*::[*/0x042C/*::]*/: { /* n:"BrtBeginExtConn14", */ T:1 }, - /*::[*/0x042D/*::]*/: { /* n:"BrtEndExtConn14", */ T:-1 }, - /*::[*/0x042E/*::]*/: { /* n:"BrtBeginSlicerCacheIDs", */ T:1 }, - /*::[*/0x042F/*::]*/: { /* n:"BrtEndSlicerCacheIDs", */ T:-1 }, - /*::[*/0x0430/*::]*/: { /* n:"BrtBeginSlicerCacheID", */ T:1 }, - /*::[*/0x0431/*::]*/: { /* n:"BrtEndSlicerCacheID", */ T:-1 }, - /*::[*/0x0433/*::]*/: { /* n:"BrtBeginSlicerCache", */ T:1 }, - /*::[*/0x0434/*::]*/: { /* n:"BrtEndSlicerCache", */ T:-1 }, - /*::[*/0x0435/*::]*/: { /* n:"BrtBeginSlicerCacheDef", */ T:1 }, - /*::[*/0x0436/*::]*/: { /* n:"BrtEndSlicerCacheDef", */ T:-1 }, - /*::[*/0x0437/*::]*/: { /* n:"BrtBeginSlicersEx", */ T:1 }, - /*::[*/0x0438/*::]*/: { /* n:"BrtEndSlicersEx", */ T:-1 }, - /*::[*/0x0439/*::]*/: { /* n:"BrtBeginSlicerEx", */ T:1 }, - /*::[*/0x043A/*::]*/: { /* n:"BrtEndSlicerEx", */ T:-1 }, - /*::[*/0x043B/*::]*/: { /* n:"BrtBeginSlicer", */ T:1 }, - /*::[*/0x043C/*::]*/: { /* n:"BrtEndSlicer", */ T:-1 }, - /*::[*/0x043D/*::]*/: { /* n:"BrtSlicerCachePivotTables" */ }, - /*::[*/0x043E/*::]*/: { /* n:"BrtBeginSlicerCacheOlapImpl", */ T:1 }, - /*::[*/0x043F/*::]*/: { /* n:"BrtEndSlicerCacheOlapImpl", */ T:-1 }, - /*::[*/0x0440/*::]*/: { /* n:"BrtBeginSlicerCacheLevelsData", */ T:1 }, - /*::[*/0x0441/*::]*/: { /* n:"BrtEndSlicerCacheLevelsData", */ T:-1 }, - /*::[*/0x0442/*::]*/: { /* n:"BrtBeginSlicerCacheLevelData", */ T:1 }, - /*::[*/0x0443/*::]*/: { /* n:"BrtEndSlicerCacheLevelData", */ T:-1 }, - /*::[*/0x0444/*::]*/: { /* n:"BrtBeginSlicerCacheSiRanges", */ T:1 }, - /*::[*/0x0445/*::]*/: { /* n:"BrtEndSlicerCacheSiRanges", */ T:-1 }, - /*::[*/0x0446/*::]*/: { /* n:"BrtBeginSlicerCacheSiRange", */ T:1 }, - /*::[*/0x0447/*::]*/: { /* n:"BrtEndSlicerCacheSiRange", */ T:-1 }, - /*::[*/0x0448/*::]*/: { /* n:"BrtSlicerCacheOlapItem" */ }, - /*::[*/0x0449/*::]*/: { /* n:"BrtBeginSlicerCacheSelections", */ T:1 }, - /*::[*/0x044A/*::]*/: { /* n:"BrtSlicerCacheSelection" */ }, - /*::[*/0x044B/*::]*/: { /* n:"BrtEndSlicerCacheSelections", */ T:-1 }, - /*::[*/0x044C/*::]*/: { /* n:"BrtBeginSlicerCacheNative", */ T:1 }, - /*::[*/0x044D/*::]*/: { /* n:"BrtEndSlicerCacheNative", */ T:-1 }, - /*::[*/0x044E/*::]*/: { /* n:"BrtSlicerCacheNativeItem" */ }, - /*::[*/0x044F/*::]*/: { /* n:"BrtRangeProtection14" */ }, - /*::[*/0x0450/*::]*/: { /* n:"BrtRangeProtectionIso14" */ }, - /*::[*/0x0451/*::]*/: { /* n:"BrtCellIgnoreEC14" */ }, - /*::[*/0x0457/*::]*/: { /* n:"BrtList14" */ }, - /*::[*/0x0458/*::]*/: { /* n:"BrtCFIcon" */ }, - /*::[*/0x0459/*::]*/: { /* n:"BrtBeginSlicerCachesPivotCacheIDs", */ T:1 }, - /*::[*/0x045A/*::]*/: { /* n:"BrtEndSlicerCachesPivotCacheIDs", */ T:-1 }, - /*::[*/0x045B/*::]*/: { /* n:"BrtBeginSlicers", */ T:1 }, - /*::[*/0x045C/*::]*/: { /* n:"BrtEndSlicers", */ T:-1 }, - /*::[*/0x045D/*::]*/: { /* n:"BrtWbProp14" */ }, - /*::[*/0x045E/*::]*/: { /* n:"BrtBeginSXEdit", */ T:1 }, - /*::[*/0x045F/*::]*/: { /* n:"BrtEndSXEdit", */ T:-1 }, - /*::[*/0x0460/*::]*/: { /* n:"BrtBeginSXEdits", */ T:1 }, - /*::[*/0x0461/*::]*/: { /* n:"BrtEndSXEdits", */ T:-1 }, - /*::[*/0x0462/*::]*/: { /* n:"BrtBeginSXChange", */ T:1 }, - /*::[*/0x0463/*::]*/: { /* n:"BrtEndSXChange", */ T:-1 }, - /*::[*/0x0464/*::]*/: { /* n:"BrtBeginSXChanges", */ T:1 }, - /*::[*/0x0465/*::]*/: { /* n:"BrtEndSXChanges", */ T:-1 }, - /*::[*/0x0466/*::]*/: { /* n:"BrtSXTupleItems" */ }, - /*::[*/0x0468/*::]*/: { /* n:"BrtBeginSlicerStyle", */ T:1 }, - /*::[*/0x0469/*::]*/: { /* n:"BrtEndSlicerStyle", */ T:-1 }, - /*::[*/0x046A/*::]*/: { /* n:"BrtSlicerStyleElement" */ }, - /*::[*/0x046B/*::]*/: { /* n:"BrtBeginStyleSheetExt14", */ T:1 }, - /*::[*/0x046C/*::]*/: { /* n:"BrtEndStyleSheetExt14", */ T:-1 }, - /*::[*/0x046D/*::]*/: { /* n:"BrtBeginSlicerCachesPivotCacheID", */ T:1 }, - /*::[*/0x046E/*::]*/: { /* n:"BrtEndSlicerCachesPivotCacheID", */ T:-1 }, - /*::[*/0x046F/*::]*/: { /* n:"BrtBeginConditionalFormattings", */ T:1 }, - /*::[*/0x0470/*::]*/: { /* n:"BrtEndConditionalFormattings", */ T:-1 }, - /*::[*/0x0471/*::]*/: { /* n:"BrtBeginPCDCalcMemExt", */ T:1 }, - /*::[*/0x0472/*::]*/: { /* n:"BrtEndPCDCalcMemExt", */ T:-1 }, - /*::[*/0x0473/*::]*/: { /* n:"BrtBeginPCDCalcMemsExt", */ T:1 }, - /*::[*/0x0474/*::]*/: { /* n:"BrtEndPCDCalcMemsExt", */ T:-1 }, - /*::[*/0x0475/*::]*/: { /* n:"BrtPCDField14" */ }, - /*::[*/0x0476/*::]*/: { /* n:"BrtBeginSlicerStyles", */ T:1 }, - /*::[*/0x0477/*::]*/: { /* n:"BrtEndSlicerStyles", */ T:-1 }, - /*::[*/0x0478/*::]*/: { /* n:"BrtBeginSlicerStyleElements", */ T:1 }, - /*::[*/0x0479/*::]*/: { /* n:"BrtEndSlicerStyleElements", */ T:-1 }, - /*::[*/0x047A/*::]*/: { /* n:"BrtCFRuleExt" */ }, - /*::[*/0x047B/*::]*/: { /* n:"BrtBeginSXCondFmt14", */ T:1 }, - /*::[*/0x047C/*::]*/: { /* n:"BrtEndSXCondFmt14", */ T:-1 }, - /*::[*/0x047D/*::]*/: { /* n:"BrtBeginSXCondFmts14", */ T:1 }, - /*::[*/0x047E/*::]*/: { /* n:"BrtEndSXCondFmts14", */ T:-1 }, - /*::[*/0x0480/*::]*/: { /* n:"BrtBeginSortCond14", */ T:1 }, - /*::[*/0x0481/*::]*/: { /* n:"BrtEndSortCond14", */ T:-1 }, - /*::[*/0x0482/*::]*/: { /* n:"BrtEndDVals14", */ T:-1 }, - /*::[*/0x0483/*::]*/: { /* n:"BrtEndIconSet14", */ T:-1 }, - /*::[*/0x0484/*::]*/: { /* n:"BrtEndDatabar14", */ T:-1 }, - /*::[*/0x0485/*::]*/: { /* n:"BrtBeginColorScale14", */ T:1 }, - /*::[*/0x0486/*::]*/: { /* n:"BrtEndColorScale14", */ T:-1 }, - /*::[*/0x0487/*::]*/: { /* n:"BrtBeginSxrules14", */ T:1 }, - /*::[*/0x0488/*::]*/: { /* n:"BrtEndSxrules14", */ T:-1 }, - /*::[*/0x0489/*::]*/: { /* n:"BrtBeginPRule14", */ T:1 }, - /*::[*/0x048A/*::]*/: { /* n:"BrtEndPRule14", */ T:-1 }, - /*::[*/0x048B/*::]*/: { /* n:"BrtBeginPRFilters14", */ T:1 }, - /*::[*/0x048C/*::]*/: { /* n:"BrtEndPRFilters14", */ T:-1 }, - /*::[*/0x048D/*::]*/: { /* n:"BrtBeginPRFilter14", */ T:1 }, - /*::[*/0x048E/*::]*/: { /* n:"BrtEndPRFilter14", */ T:-1 }, - /*::[*/0x048F/*::]*/: { /* n:"BrtBeginPRFItem14", */ T:1 }, - /*::[*/0x0490/*::]*/: { /* n:"BrtEndPRFItem14", */ T:-1 }, - /*::[*/0x0491/*::]*/: { /* n:"BrtBeginCellIgnoreECs14", */ T:1 }, - /*::[*/0x0492/*::]*/: { /* n:"BrtEndCellIgnoreECs14", */ T:-1 }, - /*::[*/0x0493/*::]*/: { /* n:"BrtDxf14" */ }, - /*::[*/0x0494/*::]*/: { /* n:"BrtBeginDxF14s", */ T:1 }, - /*::[*/0x0495/*::]*/: { /* n:"BrtEndDxf14s", */ T:-1 }, - /*::[*/0x0499/*::]*/: { /* n:"BrtFilter14" */ }, - /*::[*/0x049A/*::]*/: { /* n:"BrtBeginCustomFilters14", */ T:1 }, - /*::[*/0x049C/*::]*/: { /* n:"BrtCustomFilter14" */ }, - /*::[*/0x049D/*::]*/: { /* n:"BrtIconFilter14" */ }, - /*::[*/0x049E/*::]*/: { /* n:"BrtPivotCacheConnectionName" */ }, - /*::[*/0x0800/*::]*/: { /* n:"BrtBeginDecoupledPivotCacheIDs", */ T:1 }, - /*::[*/0x0801/*::]*/: { /* n:"BrtEndDecoupledPivotCacheIDs", */ T:-1 }, - /*::[*/0x0802/*::]*/: { /* n:"BrtDecoupledPivotCacheID" */ }, - /*::[*/0x0803/*::]*/: { /* n:"BrtBeginPivotTableRefs", */ T:1 }, - /*::[*/0x0804/*::]*/: { /* n:"BrtEndPivotTableRefs", */ T:-1 }, - /*::[*/0x0805/*::]*/: { /* n:"BrtPivotTableRef" */ }, - /*::[*/0x0806/*::]*/: { /* n:"BrtSlicerCacheBookPivotTables" */ }, - /*::[*/0x0807/*::]*/: { /* n:"BrtBeginSxvcells", */ T:1 }, - /*::[*/0x0808/*::]*/: { /* n:"BrtEndSxvcells", */ T:-1 }, - /*::[*/0x0809/*::]*/: { /* n:"BrtBeginSxRow", */ T:1 }, - /*::[*/0x080A/*::]*/: { /* n:"BrtEndSxRow", */ T:-1 }, - /*::[*/0x080C/*::]*/: { /* n:"BrtPcdCalcMem15" */ }, - /*::[*/0x0813/*::]*/: { /* n:"BrtQsi15" */ }, - /*::[*/0x0814/*::]*/: { /* n:"BrtBeginWebExtensions", */ T:1 }, - /*::[*/0x0815/*::]*/: { /* n:"BrtEndWebExtensions", */ T:-1 }, - /*::[*/0x0816/*::]*/: { /* n:"BrtWebExtension" */ }, - /*::[*/0x0817/*::]*/: { /* n:"BrtAbsPath15" */ }, - /*::[*/0x0818/*::]*/: { /* n:"BrtBeginPivotTableUISettings", */ T:1 }, - /*::[*/0x0819/*::]*/: { /* n:"BrtEndPivotTableUISettings", */ T:-1 }, - /*::[*/0x081B/*::]*/: { /* n:"BrtTableSlicerCacheIDs" */ }, - /*::[*/0x081C/*::]*/: { /* n:"BrtTableSlicerCacheID" */ }, - /*::[*/0x081D/*::]*/: { /* n:"BrtBeginTableSlicerCache", */ T:1 }, - /*::[*/0x081E/*::]*/: { /* n:"BrtEndTableSlicerCache", */ T:-1 }, - /*::[*/0x081F/*::]*/: { /* n:"BrtSxFilter15" */ }, - /*::[*/0x0820/*::]*/: { /* n:"BrtBeginTimelineCachePivotCacheIDs", */ T:1 }, - /*::[*/0x0821/*::]*/: { /* n:"BrtEndTimelineCachePivotCacheIDs", */ T:-1 }, - /*::[*/0x0822/*::]*/: { /* n:"BrtTimelineCachePivotCacheID" */ }, - /*::[*/0x0823/*::]*/: { /* n:"BrtBeginTimelineCacheIDs", */ T:1 }, - /*::[*/0x0824/*::]*/: { /* n:"BrtEndTimelineCacheIDs", */ T:-1 }, - /*::[*/0x0825/*::]*/: { /* n:"BrtBeginTimelineCacheID", */ T:1 }, - /*::[*/0x0826/*::]*/: { /* n:"BrtEndTimelineCacheID", */ T:-1 }, - /*::[*/0x0827/*::]*/: { /* n:"BrtBeginTimelinesEx", */ T:1 }, - /*::[*/0x0828/*::]*/: { /* n:"BrtEndTimelinesEx", */ T:-1 }, - /*::[*/0x0829/*::]*/: { /* n:"BrtBeginTimelineEx", */ T:1 }, - /*::[*/0x082A/*::]*/: { /* n:"BrtEndTimelineEx", */ T:-1 }, - /*::[*/0x082B/*::]*/: { /* n:"BrtWorkBookPr15" */ }, - /*::[*/0x082C/*::]*/: { /* n:"BrtPCDH15" */ }, - /*::[*/0x082D/*::]*/: { /* n:"BrtBeginTimelineStyle", */ T:1 }, - /*::[*/0x082E/*::]*/: { /* n:"BrtEndTimelineStyle", */ T:-1 }, - /*::[*/0x082F/*::]*/: { /* n:"BrtTimelineStyleElement" */ }, - /*::[*/0x0830/*::]*/: { /* n:"BrtBeginTimelineStylesheetExt15", */ T:1 }, - /*::[*/0x0831/*::]*/: { /* n:"BrtEndTimelineStylesheetExt15", */ T:-1 }, - /*::[*/0x0832/*::]*/: { /* n:"BrtBeginTimelineStyles", */ T:1 }, - /*::[*/0x0833/*::]*/: { /* n:"BrtEndTimelineStyles", */ T:-1 }, - /*::[*/0x0834/*::]*/: { /* n:"BrtBeginTimelineStyleElements", */ T:1 }, - /*::[*/0x0835/*::]*/: { /* n:"BrtEndTimelineStyleElements", */ T:-1 }, - /*::[*/0x0836/*::]*/: { /* n:"BrtDxf15" */ }, - /*::[*/0x0837/*::]*/: { /* n:"BrtBeginDxfs15", */ T:1 }, - /*::[*/0x0838/*::]*/: { /* n:"BrtEndDxfs15", */ T:-1 }, - /*::[*/0x0839/*::]*/: { /* n:"BrtSlicerCacheHideItemsWithNoData" */ }, - /*::[*/0x083A/*::]*/: { /* n:"BrtBeginItemUniqueNames", */ T:1 }, - /*::[*/0x083B/*::]*/: { /* n:"BrtEndItemUniqueNames", */ T:-1 }, - /*::[*/0x083C/*::]*/: { /* n:"BrtItemUniqueName" */ }, - /*::[*/0x083D/*::]*/: { /* n:"BrtBeginExtConn15", */ T:1 }, - /*::[*/0x083E/*::]*/: { /* n:"BrtEndExtConn15", */ T:-1 }, - /*::[*/0x083F/*::]*/: { /* n:"BrtBeginOledbPr15", */ T:1 }, - /*::[*/0x0840/*::]*/: { /* n:"BrtEndOledbPr15", */ T:-1 }, - /*::[*/0x0841/*::]*/: { /* n:"BrtBeginDataFeedPr15", */ T:1 }, - /*::[*/0x0842/*::]*/: { /* n:"BrtEndDataFeedPr15", */ T:-1 }, - /*::[*/0x0843/*::]*/: { /* n:"BrtTextPr15" */ }, - /*::[*/0x0844/*::]*/: { /* n:"BrtRangePr15" */ }, - /*::[*/0x0845/*::]*/: { /* n:"BrtDbCommand15" */ }, - /*::[*/0x0846/*::]*/: { /* n:"BrtBeginDbTables15", */ T:1 }, - /*::[*/0x0847/*::]*/: { /* n:"BrtEndDbTables15", */ T:-1 }, - /*::[*/0x0848/*::]*/: { /* n:"BrtDbTable15" */ }, - /*::[*/0x0849/*::]*/: { /* n:"BrtBeginDataModel", */ T:1 }, - /*::[*/0x084A/*::]*/: { /* n:"BrtEndDataModel", */ T:-1 }, - /*::[*/0x084B/*::]*/: { /* n:"BrtBeginModelTables", */ T:1 }, - /*::[*/0x084C/*::]*/: { /* n:"BrtEndModelTables", */ T:-1 }, - /*::[*/0x084D/*::]*/: { /* n:"BrtModelTable" */ }, - /*::[*/0x084E/*::]*/: { /* n:"BrtBeginModelRelationships", */ T:1 }, - /*::[*/0x084F/*::]*/: { /* n:"BrtEndModelRelationships", */ T:-1 }, - /*::[*/0x0850/*::]*/: { /* n:"BrtModelRelationship" */ }, - /*::[*/0x0851/*::]*/: { /* n:"BrtBeginECTxtWiz15", */ T:1 }, - /*::[*/0x0852/*::]*/: { /* n:"BrtEndECTxtWiz15", */ T:-1 }, - /*::[*/0x0853/*::]*/: { /* n:"BrtBeginECTWFldInfoLst15", */ T:1 }, - /*::[*/0x0854/*::]*/: { /* n:"BrtEndECTWFldInfoLst15", */ T:-1 }, - /*::[*/0x0855/*::]*/: { /* n:"BrtBeginECTWFldInfo15", */ T:1 }, - /*::[*/0x0856/*::]*/: { /* n:"BrtFieldListActiveItem" */ }, - /*::[*/0x0857/*::]*/: { /* n:"BrtPivotCacheIdVersion" */ }, - /*::[*/0x0858/*::]*/: { /* n:"BrtSXDI15" */ }, - /*::[*/0x0859/*::]*/: { /* n:"BrtBeginModelTimeGroupings", */ T:1 }, - /*::[*/0x085A/*::]*/: { /* n:"BrtEndModelTimeGroupings", */ T:-1 }, - /*::[*/0x085B/*::]*/: { /* n:"BrtBeginModelTimeGrouping", */ T:1 }, - /*::[*/0x085C/*::]*/: { /* n:"BrtEndModelTimeGrouping", */ T:-1 }, - /*::[*/0x085D/*::]*/: { /* n:"BrtModelTimeGroupingCalcCol" */ }, - /*::[*/0x0C00/*::]*/: { /* n:"BrtUid" */ }, - /*::[*/0x0C01/*::]*/: { /* n:"BrtRevisionPtr" */ }, - /*::[*/0x1000/*::]*/: { /* n:"BrtBeginDynamicArrayPr", */ T:1 }, - /*::[*/0x1001/*::]*/: { /* n:"BrtEndDynamicArrayPr", */ T:-1 }, - /*::[*/0x138A/*::]*/: { /* n:"BrtBeginRichValueBlock", */ T:1 }, - /*::[*/0x138B/*::]*/: { /* n:"BrtEndRichValueBlock", */ T:-1 }, - /*::[*/0x13D9/*::]*/: { /* n:"BrtBeginRichFilters", */ T:1 }, - /*::[*/0x13DA/*::]*/: { /* n:"BrtEndRichFilters", */ T:-1 }, - /*::[*/0x13DB/*::]*/: { /* n:"BrtRichFilter" */ }, - /*::[*/0x13DC/*::]*/: { /* n:"BrtBeginRichFilterColumn", */ T:1 }, - /*::[*/0x13DD/*::]*/: { /* n:"BrtEndRichFilterColumn", */ T:-1 }, - /*::[*/0x13DE/*::]*/: { /* n:"BrtBeginCustomRichFilters", */ T:1 }, - /*::[*/0x13DF/*::]*/: { /* n:"BrtEndCustomRichFilters", */ T:-1 }, - /*::[*/0x13E0/*::]*/: { /* n:"BrtCustomRichFilter" */ }, - /*::[*/0x13E1/*::]*/: { /* n:"BrtTop10RichFilter" */ }, - /*::[*/0x13E2/*::]*/: { /* n:"BrtDynamicRichFilter" */ }, - /*::[*/0x13E4/*::]*/: { /* n:"BrtBeginRichSortCondition", */ T:1 }, - /*::[*/0x13E5/*::]*/: { /* n:"BrtEndRichSortCondition", */ T:-1 }, - /*::[*/0x13E6/*::]*/: { /* n:"BrtRichFilterDateGroupItem" */ }, - /*::[*/0x13E7/*::]*/: { /* n:"BrtBeginCalcFeatures", */ T:1 }, - /*::[*/0x13E8/*::]*/: { /* n:"BrtEndCalcFeatures", */ T:-1 }, - /*::[*/0x13E9/*::]*/: { /* n:"BrtCalcFeature" */ }, - /*::[*/0x13EB/*::]*/: { /* n:"BrtExternalLinksPr" */ }, - /*::[*/0xFFFF/*::]*/: { n:"" } + 0x0000: { /* n:"BrtRowHdr", */ f:parse_BrtRowHdr }, + 0x0001: { /* n:"BrtCellBlank", */ f:parse_BrtCellBlank }, + 0x0002: { /* n:"BrtCellRk", */ f:parse_BrtCellRk }, + 0x0003: { /* n:"BrtCellError", */ f:parse_BrtCellError }, + 0x0004: { /* n:"BrtCellBool", */ f:parse_BrtCellBool }, + 0x0005: { /* n:"BrtCellReal", */ f:parse_BrtCellReal }, + 0x0006: { /* n:"BrtCellSt", */ f:parse_BrtCellSt }, + 0x0007: { /* n:"BrtCellIsst", */ f:parse_BrtCellIsst }, + 0x0008: { /* n:"BrtFmlaString", */ f:parse_BrtFmlaString }, + 0x0009: { /* n:"BrtFmlaNum", */ f:parse_BrtFmlaNum }, + 0x000A: { /* n:"BrtFmlaBool", */ f:parse_BrtFmlaBool }, + 0x000B: { /* n:"BrtFmlaError", */ f:parse_BrtFmlaError }, + 0x000C: { /* n:"BrtShortBlank", */ f:parse_BrtShortBlank }, + 0x000D: { /* n:"BrtShortRk", */ f:parse_BrtShortRk }, + 0x000E: { /* n:"BrtShortError", */ f:parse_BrtShortError }, + 0x000F: { /* n:"BrtShortBool", */ f:parse_BrtShortBool }, + 0x0010: { /* n:"BrtShortReal", */ f:parse_BrtShortReal }, + 0x0011: { /* n:"BrtShortSt", */ f:parse_BrtShortSt }, + 0x0012: { /* n:"BrtShortIsst", */ f:parse_BrtShortIsst }, + 0x0013: { /* n:"BrtSSTItem", */ f:parse_RichStr }, + 0x0014: { /* n:"BrtPCDIMissing" */ }, + 0x0015: { /* n:"BrtPCDINumber" */ }, + 0x0016: { /* n:"BrtPCDIBoolean" */ }, + 0x0017: { /* n:"BrtPCDIError" */ }, + 0x0018: { /* n:"BrtPCDIString" */ }, + 0x0019: { /* n:"BrtPCDIDatetime" */ }, + 0x001A: { /* n:"BrtPCDIIndex" */ }, + 0x001B: { /* n:"BrtPCDIAMissing" */ }, + 0x001C: { /* n:"BrtPCDIANumber" */ }, + 0x001D: { /* n:"BrtPCDIABoolean" */ }, + 0x001E: { /* n:"BrtPCDIAError" */ }, + 0x001F: { /* n:"BrtPCDIAString" */ }, + 0x0020: { /* n:"BrtPCDIADatetime" */ }, + 0x0021: { /* n:"BrtPCRRecord" */ }, + 0x0022: { /* n:"BrtPCRRecordDt" */ }, + 0x0023: { /* n:"BrtFRTBegin", */ T:1 }, + 0x0024: { /* n:"BrtFRTEnd", */ T:-1 }, + 0x0025: { /* n:"BrtACBegin", */ T:1 }, + 0x0026: { /* n:"BrtACEnd", */ T:-1 }, + 0x0027: { /* n:"BrtName", */ f:parse_BrtName }, + 0x0028: { /* n:"BrtIndexRowBlock" */ }, + 0x002A: { /* n:"BrtIndexBlock" */ }, + 0x002B: { /* n:"BrtFont", */ f:parse_BrtFont }, + 0x002C: { /* n:"BrtFmt", */ f:parse_BrtFmt }, + 0x002D: { /* n:"BrtFill", */ f:parse_BrtFill }, + 0x002E: { /* n:"BrtBorder", */ f:parse_BrtBorder }, + 0x002F: { /* n:"BrtXF", */ f:parse_BrtXF }, + 0x0030: { /* n:"BrtStyle" */ }, + 0x0031: { /* n:"BrtCellMeta", */ f:parse_Int32LE }, + 0x0032: { /* n:"BrtValueMeta" */ }, + 0x0033: { /* n:"BrtMdb" */ f:parse_BrtMdb }, + 0x0034: { /* n:"BrtBeginFmd", */ T:1 }, + 0x0035: { /* n:"BrtEndFmd", */ T:-1 }, + 0x0036: { /* n:"BrtBeginMdx", */ T:1 }, + 0x0037: { /* n:"BrtEndMdx", */ T:-1 }, + 0x0038: { /* n:"BrtBeginMdxTuple", */ T:1 }, + 0x0039: { /* n:"BrtEndMdxTuple", */ T:-1 }, + 0x003A: { /* n:"BrtMdxMbrIstr" */ }, + 0x003B: { /* n:"BrtStr" */ }, + 0x003C: { /* n:"BrtColInfo", */ f:parse_ColInfo }, + 0x003E: { /* n:"BrtCellRString", */ f:parse_BrtCellRString }, + 0x003F: { /* n:"BrtCalcChainItem$", */ f:parse_BrtCalcChainItem$ }, + 0x0040: { /* n:"BrtDVal", */ f:parse_BrtDVal }, + 0x0041: { /* n:"BrtSxvcellNum" */ }, + 0x0042: { /* n:"BrtSxvcellStr" */ }, + 0x0043: { /* n:"BrtSxvcellBool" */ }, + 0x0044: { /* n:"BrtSxvcellErr" */ }, + 0x0045: { /* n:"BrtSxvcellDate" */ }, + 0x0046: { /* n:"BrtSxvcellNil" */ }, + 0x0080: { /* n:"BrtFileVersion" */ }, + 0x0081: { /* n:"BrtBeginSheet", */ T:1 }, + 0x0082: { /* n:"BrtEndSheet", */ T:-1 }, + 0x0083: { /* n:"BrtBeginBook", */ T:1, f:parsenoop, p:0 }, + 0x0084: { /* n:"BrtEndBook", */ T:-1 }, + 0x0085: { /* n:"BrtBeginWsViews", */ T:1 }, + 0x0086: { /* n:"BrtEndWsViews", */ T:-1 }, + 0x0087: { /* n:"BrtBeginBookViews", */ T:1 }, + 0x0088: { /* n:"BrtEndBookViews", */ T:-1 }, + 0x0089: { /* n:"BrtBeginWsView", */ T:1, f:parse_BrtBeginWsView }, + 0x008A: { /* n:"BrtEndWsView", */ T:-1 }, + 0x008B: { /* n:"BrtBeginCsViews", */ T:1 }, + 0x008C: { /* n:"BrtEndCsViews", */ T:-1 }, + 0x008D: { /* n:"BrtBeginCsView", */ T:1 }, + 0x008E: { /* n:"BrtEndCsView", */ T:-1 }, + 0x008F: { /* n:"BrtBeginBundleShs", */ T:1 }, + 0x0090: { /* n:"BrtEndBundleShs", */ T:-1 }, + 0x0091: { /* n:"BrtBeginSheetData", */ T:1 }, + 0x0092: { /* n:"BrtEndSheetData", */ T:-1 }, + 0x0093: { /* n:"BrtWsProp", */ f:parse_BrtWsProp }, + 0x0094: { /* n:"BrtWsDim", */ f:parse_BrtWsDim, p:16 }, + 0x0097: { /* n:"BrtPane", */ f:parse_BrtPane }, + 0x0098: { /* n:"BrtSel" */ }, + 0x0099: { /* n:"BrtWbProp", */ f:parse_BrtWbProp }, + 0x009A: { /* n:"BrtWbFactoid" */ }, + 0x009B: { /* n:"BrtFileRecover" */ }, + 0x009C: { /* n:"BrtBundleSh", */ f:parse_BrtBundleSh }, + 0x009D: { /* n:"BrtCalcProp" */ }, + 0x009E: { /* n:"BrtBookView" */ }, + 0x009F: { /* n:"BrtBeginSst", */ T:1, f:parse_BrtBeginSst }, + 0x00A0: { /* n:"BrtEndSst", */ T:-1 }, + 0x00A1: { /* n:"BrtBeginAFilter", */ T:1, f:parse_UncheckedRfX }, + 0x00A2: { /* n:"BrtEndAFilter", */ T:-1 }, + 0x00A3: { /* n:"BrtBeginFilterColumn", */ T:1 }, + 0x00A4: { /* n:"BrtEndFilterColumn", */ T:-1 }, + 0x00A5: { /* n:"BrtBeginFilters", */ T:1 }, + 0x00A6: { /* n:"BrtEndFilters", */ T:-1 }, + 0x00A7: { /* n:"BrtFilter" */ }, + 0x00A8: { /* n:"BrtColorFilter" */ }, + 0x00A9: { /* n:"BrtIconFilter" */ }, + 0x00AA: { /* n:"BrtTop10Filter" */ }, + 0x00AB: { /* n:"BrtDynamicFilter" */ }, + 0x00AC: { /* n:"BrtBeginCustomFilters", */ T:1 }, + 0x00AD: { /* n:"BrtEndCustomFilters", */ T:-1 }, + 0x00AE: { /* n:"BrtCustomFilter" */ }, + 0x00AF: { /* n:"BrtAFilterDateGroupItem" */ }, + 0x00B0: { /* n:"BrtMergeCell", */ f:parse_BrtMergeCell }, + 0x00B1: { /* n:"BrtBeginMergeCells", */ T:1 }, + 0x00B2: { /* n:"BrtEndMergeCells", */ T:-1 }, + 0x00B3: { /* n:"BrtBeginPivotCacheDef", */ T:1 }, + 0x00B4: { /* n:"BrtEndPivotCacheDef", */ T:-1 }, + 0x00B5: { /* n:"BrtBeginPCDFields", */ T:1 }, + 0x00B6: { /* n:"BrtEndPCDFields", */ T:-1 }, + 0x00B7: { /* n:"BrtBeginPCDField", */ T:1 }, + 0x00B8: { /* n:"BrtEndPCDField", */ T:-1 }, + 0x00B9: { /* n:"BrtBeginPCDSource", */ T:1 }, + 0x00BA: { /* n:"BrtEndPCDSource", */ T:-1 }, + 0x00BB: { /* n:"BrtBeginPCDSRange", */ T:1 }, + 0x00BC: { /* n:"BrtEndPCDSRange", */ T:-1 }, + 0x00BD: { /* n:"BrtBeginPCDFAtbl", */ T:1 }, + 0x00BE: { /* n:"BrtEndPCDFAtbl", */ T:-1 }, + 0x00BF: { /* n:"BrtBeginPCDIRun", */ T:1 }, + 0x00C0: { /* n:"BrtEndPCDIRun", */ T:-1 }, + 0x00C1: { /* n:"BrtBeginPivotCacheRecords", */ T:1 }, + 0x00C2: { /* n:"BrtEndPivotCacheRecords", */ T:-1 }, + 0x00C3: { /* n:"BrtBeginPCDHierarchies", */ T:1 }, + 0x00C4: { /* n:"BrtEndPCDHierarchies", */ T:-1 }, + 0x00C5: { /* n:"BrtBeginPCDHierarchy", */ T:1 }, + 0x00C6: { /* n:"BrtEndPCDHierarchy", */ T:-1 }, + 0x00C7: { /* n:"BrtBeginPCDHFieldsUsage", */ T:1 }, + 0x00C8: { /* n:"BrtEndPCDHFieldsUsage", */ T:-1 }, + 0x00C9: { /* n:"BrtBeginExtConnection", */ T:1 }, + 0x00CA: { /* n:"BrtEndExtConnection", */ T:-1 }, + 0x00CB: { /* n:"BrtBeginECDbProps", */ T:1 }, + 0x00CC: { /* n:"BrtEndECDbProps", */ T:-1 }, + 0x00CD: { /* n:"BrtBeginECOlapProps", */ T:1 }, + 0x00CE: { /* n:"BrtEndECOlapProps", */ T:-1 }, + 0x00CF: { /* n:"BrtBeginPCDSConsol", */ T:1 }, + 0x00D0: { /* n:"BrtEndPCDSConsol", */ T:-1 }, + 0x00D1: { /* n:"BrtBeginPCDSCPages", */ T:1 }, + 0x00D2: { /* n:"BrtEndPCDSCPages", */ T:-1 }, + 0x00D3: { /* n:"BrtBeginPCDSCPage", */ T:1 }, + 0x00D4: { /* n:"BrtEndPCDSCPage", */ T:-1 }, + 0x00D5: { /* n:"BrtBeginPCDSCPItem", */ T:1 }, + 0x00D6: { /* n:"BrtEndPCDSCPItem", */ T:-1 }, + 0x00D7: { /* n:"BrtBeginPCDSCSets", */ T:1 }, + 0x00D8: { /* n:"BrtEndPCDSCSets", */ T:-1 }, + 0x00D9: { /* n:"BrtBeginPCDSCSet", */ T:1 }, + 0x00DA: { /* n:"BrtEndPCDSCSet", */ T:-1 }, + 0x00DB: { /* n:"BrtBeginPCDFGroup", */ T:1 }, + 0x00DC: { /* n:"BrtEndPCDFGroup", */ T:-1 }, + 0x00DD: { /* n:"BrtBeginPCDFGItems", */ T:1 }, + 0x00DE: { /* n:"BrtEndPCDFGItems", */ T:-1 }, + 0x00DF: { /* n:"BrtBeginPCDFGRange", */ T:1 }, + 0x00E0: { /* n:"BrtEndPCDFGRange", */ T:-1 }, + 0x00E1: { /* n:"BrtBeginPCDFGDiscrete", */ T:1 }, + 0x00E2: { /* n:"BrtEndPCDFGDiscrete", */ T:-1 }, + 0x00E3: { /* n:"BrtBeginPCDSDTupleCache", */ T:1 }, + 0x00E4: { /* n:"BrtEndPCDSDTupleCache", */ T:-1 }, + 0x00E5: { /* n:"BrtBeginPCDSDTCEntries", */ T:1 }, + 0x00E6: { /* n:"BrtEndPCDSDTCEntries", */ T:-1 }, + 0x00E7: { /* n:"BrtBeginPCDSDTCEMembers", */ T:1 }, + 0x00E8: { /* n:"BrtEndPCDSDTCEMembers", */ T:-1 }, + 0x00E9: { /* n:"BrtBeginPCDSDTCEMember", */ T:1 }, + 0x00EA: { /* n:"BrtEndPCDSDTCEMember", */ T:-1 }, + 0x00EB: { /* n:"BrtBeginPCDSDTCQueries", */ T:1 }, + 0x00EC: { /* n:"BrtEndPCDSDTCQueries", */ T:-1 }, + 0x00ED: { /* n:"BrtBeginPCDSDTCQuery", */ T:1 }, + 0x00EE: { /* n:"BrtEndPCDSDTCQuery", */ T:-1 }, + 0x00EF: { /* n:"BrtBeginPCDSDTCSets", */ T:1 }, + 0x00F0: { /* n:"BrtEndPCDSDTCSets", */ T:-1 }, + 0x00F1: { /* n:"BrtBeginPCDSDTCSet", */ T:1 }, + 0x00F2: { /* n:"BrtEndPCDSDTCSet", */ T:-1 }, + 0x00F3: { /* n:"BrtBeginPCDCalcItems", */ T:1 }, + 0x00F4: { /* n:"BrtEndPCDCalcItems", */ T:-1 }, + 0x00F5: { /* n:"BrtBeginPCDCalcItem", */ T:1 }, + 0x00F6: { /* n:"BrtEndPCDCalcItem", */ T:-1 }, + 0x00F7: { /* n:"BrtBeginPRule", */ T:1 }, + 0x00F8: { /* n:"BrtEndPRule", */ T:-1 }, + 0x00F9: { /* n:"BrtBeginPRFilters", */ T:1 }, + 0x00FA: { /* n:"BrtEndPRFilters", */ T:-1 }, + 0x00FB: { /* n:"BrtBeginPRFilter", */ T:1 }, + 0x00FC: { /* n:"BrtEndPRFilter", */ T:-1 }, + 0x00FD: { /* n:"BrtBeginPNames", */ T:1 }, + 0x00FE: { /* n:"BrtEndPNames", */ T:-1 }, + 0x00FF: { /* n:"BrtBeginPName", */ T:1 }, + 0x0100: { /* n:"BrtEndPName", */ T:-1 }, + 0x0101: { /* n:"BrtBeginPNPairs", */ T:1 }, + 0x0102: { /* n:"BrtEndPNPairs", */ T:-1 }, + 0x0103: { /* n:"BrtBeginPNPair", */ T:1 }, + 0x0104: { /* n:"BrtEndPNPair", */ T:-1 }, + 0x0105: { /* n:"BrtBeginECWebProps", */ T:1 }, + 0x0106: { /* n:"BrtEndECWebProps", */ T:-1 }, + 0x0107: { /* n:"BrtBeginEcWpTables", */ T:1 }, + 0x0108: { /* n:"BrtEndECWPTables", */ T:-1 }, + 0x0109: { /* n:"BrtBeginECParams", */ T:1 }, + 0x010A: { /* n:"BrtEndECParams", */ T:-1 }, + 0x010B: { /* n:"BrtBeginECParam", */ T:1 }, + 0x010C: { /* n:"BrtEndECParam", */ T:-1 }, + 0x010D: { /* n:"BrtBeginPCDKPIs", */ T:1 }, + 0x010E: { /* n:"BrtEndPCDKPIs", */ T:-1 }, + 0x010F: { /* n:"BrtBeginPCDKPI", */ T:1 }, + 0x0110: { /* n:"BrtEndPCDKPI", */ T:-1 }, + 0x0111: { /* n:"BrtBeginDims", */ T:1 }, + 0x0112: { /* n:"BrtEndDims", */ T:-1 }, + 0x0113: { /* n:"BrtBeginDim", */ T:1 }, + 0x0114: { /* n:"BrtEndDim", */ T:-1 }, + 0x0115: { /* n:"BrtIndexPartEnd" */ }, + 0x0116: { /* n:"BrtBeginStyleSheet", */ T:1 }, + 0x0117: { /* n:"BrtEndStyleSheet", */ T:-1 }, + 0x0118: { /* n:"BrtBeginSXView", */ T:1 }, + 0x0119: { /* n:"BrtEndSXVI", */ T:-1 }, + 0x011A: { /* n:"BrtBeginSXVI", */ T:1 }, + 0x011B: { /* n:"BrtBeginSXVIs", */ T:1 }, + 0x011C: { /* n:"BrtEndSXVIs", */ T:-1 }, + 0x011D: { /* n:"BrtBeginSXVD", */ T:1 }, + 0x011E: { /* n:"BrtEndSXVD", */ T:-1 }, + 0x011F: { /* n:"BrtBeginSXVDs", */ T:1 }, + 0x0120: { /* n:"BrtEndSXVDs", */ T:-1 }, + 0x0121: { /* n:"BrtBeginSXPI", */ T:1 }, + 0x0122: { /* n:"BrtEndSXPI", */ T:-1 }, + 0x0123: { /* n:"BrtBeginSXPIs", */ T:1 }, + 0x0124: { /* n:"BrtEndSXPIs", */ T:-1 }, + 0x0125: { /* n:"BrtBeginSXDI", */ T:1 }, + 0x0126: { /* n:"BrtEndSXDI", */ T:-1 }, + 0x0127: { /* n:"BrtBeginSXDIs", */ T:1 }, + 0x0128: { /* n:"BrtEndSXDIs", */ T:-1 }, + 0x0129: { /* n:"BrtBeginSXLI", */ T:1 }, + 0x012A: { /* n:"BrtEndSXLI", */ T:-1 }, + 0x012B: { /* n:"BrtBeginSXLIRws", */ T:1 }, + 0x012C: { /* n:"BrtEndSXLIRws", */ T:-1 }, + 0x012D: { /* n:"BrtBeginSXLICols", */ T:1 }, + 0x012E: { /* n:"BrtEndSXLICols", */ T:-1 }, + 0x012F: { /* n:"BrtBeginSXFormat", */ T:1 }, + 0x0130: { /* n:"BrtEndSXFormat", */ T:-1 }, + 0x0131: { /* n:"BrtBeginSXFormats", */ T:1 }, + 0x0132: { /* n:"BrtEndSxFormats", */ T:-1 }, + 0x0133: { /* n:"BrtBeginSxSelect", */ T:1 }, + 0x0134: { /* n:"BrtEndSxSelect", */ T:-1 }, + 0x0135: { /* n:"BrtBeginISXVDRws", */ T:1 }, + 0x0136: { /* n:"BrtEndISXVDRws", */ T:-1 }, + 0x0137: { /* n:"BrtBeginISXVDCols", */ T:1 }, + 0x0138: { /* n:"BrtEndISXVDCols", */ T:-1 }, + 0x0139: { /* n:"BrtEndSXLocation", */ T:-1 }, + 0x013A: { /* n:"BrtBeginSXLocation", */ T:1 }, + 0x013B: { /* n:"BrtEndSXView", */ T:-1 }, + 0x013C: { /* n:"BrtBeginSXTHs", */ T:1 }, + 0x013D: { /* n:"BrtEndSXTHs", */ T:-1 }, + 0x013E: { /* n:"BrtBeginSXTH", */ T:1 }, + 0x013F: { /* n:"BrtEndSXTH", */ T:-1 }, + 0x0140: { /* n:"BrtBeginISXTHRws", */ T:1 }, + 0x0141: { /* n:"BrtEndISXTHRws", */ T:-1 }, + 0x0142: { /* n:"BrtBeginISXTHCols", */ T:1 }, + 0x0143: { /* n:"BrtEndISXTHCols", */ T:-1 }, + 0x0144: { /* n:"BrtBeginSXTDMPS", */ T:1 }, + 0x0145: { /* n:"BrtEndSXTDMPs", */ T:-1 }, + 0x0146: { /* n:"BrtBeginSXTDMP", */ T:1 }, + 0x0147: { /* n:"BrtEndSXTDMP", */ T:-1 }, + 0x0148: { /* n:"BrtBeginSXTHItems", */ T:1 }, + 0x0149: { /* n:"BrtEndSXTHItems", */ T:-1 }, + 0x014A: { /* n:"BrtBeginSXTHItem", */ T:1 }, + 0x014B: { /* n:"BrtEndSXTHItem", */ T:-1 }, + 0x014C: { /* n:"BrtBeginMetadata", */ T:1 }, + 0x014D: { /* n:"BrtEndMetadata", */ T:-1 }, + 0x014E: { /* n:"BrtBeginEsmdtinfo", */ T:1 }, + 0x014F: { /* n:"BrtMdtinfo", */ f:parse_BrtMdtinfo }, + 0x0150: { /* n:"BrtEndEsmdtinfo", */ T:-1 }, + 0x0151: { /* n:"BrtBeginEsmdb", */ f:parse_BrtBeginEsmdb, T:1 }, + 0x0152: { /* n:"BrtEndEsmdb", */ T:-1 }, + 0x0153: { /* n:"BrtBeginEsfmd", */ T:1 }, + 0x0154: { /* n:"BrtEndEsfmd", */ T:-1 }, + 0x0155: { /* n:"BrtBeginSingleCells", */ T:1 }, + 0x0156: { /* n:"BrtEndSingleCells", */ T:-1 }, + 0x0157: { /* n:"BrtBeginList", */ T:1 }, + 0x0158: { /* n:"BrtEndList", */ T:-1 }, + 0x0159: { /* n:"BrtBeginListCols", */ T:1 }, + 0x015A: { /* n:"BrtEndListCols", */ T:-1 }, + 0x015B: { /* n:"BrtBeginListCol", */ T:1 }, + 0x015C: { /* n:"BrtEndListCol", */ T:-1 }, + 0x015D: { /* n:"BrtBeginListXmlCPr", */ T:1 }, + 0x015E: { /* n:"BrtEndListXmlCPr", */ T:-1 }, + 0x015F: { /* n:"BrtListCCFmla" */ }, + 0x0160: { /* n:"BrtListTrFmla" */ }, + 0x0161: { /* n:"BrtBeginExternals", */ T:1 }, + 0x0162: { /* n:"BrtEndExternals", */ T:-1 }, + 0x0163: { /* n:"BrtSupBookSrc", */ f:parse_RelID}, + 0x0165: { /* n:"BrtSupSelf" */ }, + 0x0166: { /* n:"BrtSupSame" */ }, + 0x0167: { /* n:"BrtSupTabs" */ }, + 0x0168: { /* n:"BrtBeginSupBook", */ T:1 }, + 0x0169: { /* n:"BrtPlaceholderName" */ }, + 0x016A: { /* n:"BrtExternSheet", */ f:parse_ExternSheet }, + 0x016B: { /* n:"BrtExternTableStart" */ }, + 0x016C: { /* n:"BrtExternTableEnd" */ }, + 0x016E: { /* n:"BrtExternRowHdr" */ }, + 0x016F: { /* n:"BrtExternCellBlank" */ }, + 0x0170: { /* n:"BrtExternCellReal" */ }, + 0x0171: { /* n:"BrtExternCellBool" */ }, + 0x0172: { /* n:"BrtExternCellError" */ }, + 0x0173: { /* n:"BrtExternCellString" */ }, + 0x0174: { /* n:"BrtBeginEsmdx", */ T:1 }, + 0x0175: { /* n:"BrtEndEsmdx", */ T:-1 }, + 0x0176: { /* n:"BrtBeginMdxSet", */ T:1 }, + 0x0177: { /* n:"BrtEndMdxSet", */ T:-1 }, + 0x0178: { /* n:"BrtBeginMdxMbrProp", */ T:1 }, + 0x0179: { /* n:"BrtEndMdxMbrProp", */ T:-1 }, + 0x017A: { /* n:"BrtBeginMdxKPI", */ T:1 }, + 0x017B: { /* n:"BrtEndMdxKPI", */ T:-1 }, + 0x017C: { /* n:"BrtBeginEsstr", */ T:1 }, + 0x017D: { /* n:"BrtEndEsstr", */ T:-1 }, + 0x017E: { /* n:"BrtBeginPRFItem", */ T:1 }, + 0x017F: { /* n:"BrtEndPRFItem", */ T:-1 }, + 0x0180: { /* n:"BrtBeginPivotCacheIDs", */ T:1 }, + 0x0181: { /* n:"BrtEndPivotCacheIDs", */ T:-1 }, + 0x0182: { /* n:"BrtBeginPivotCacheID", */ T:1 }, + 0x0183: { /* n:"BrtEndPivotCacheID", */ T:-1 }, + 0x0184: { /* n:"BrtBeginISXVIs", */ T:1 }, + 0x0185: { /* n:"BrtEndISXVIs", */ T:-1 }, + 0x0186: { /* n:"BrtBeginColInfos", */ T:1 }, + 0x0187: { /* n:"BrtEndColInfos", */ T:-1 }, + 0x0188: { /* n:"BrtBeginRwBrk", */ T:1 }, + 0x0189: { /* n:"BrtEndRwBrk", */ T:-1 }, + 0x018A: { /* n:"BrtBeginColBrk", */ T:1 }, + 0x018B: { /* n:"BrtEndColBrk", */ T:-1 }, + 0x018C: { /* n:"BrtBrk" */ }, + 0x018D: { /* n:"BrtUserBookView" */ }, + 0x018E: { /* n:"BrtInfo" */ }, + 0x018F: { /* n:"BrtCUsr" */ }, + 0x0190: { /* n:"BrtUsr" */ }, + 0x0191: { /* n:"BrtBeginUsers", */ T:1 }, + 0x0193: { /* n:"BrtEOF" */ }, + 0x0194: { /* n:"BrtUCR" */ }, + 0x0195: { /* n:"BrtRRInsDel" */ }, + 0x0196: { /* n:"BrtRREndInsDel" */ }, + 0x0197: { /* n:"BrtRRMove" */ }, + 0x0198: { /* n:"BrtRREndMove" */ }, + 0x0199: { /* n:"BrtRRChgCell" */ }, + 0x019A: { /* n:"BrtRREndChgCell" */ }, + 0x019B: { /* n:"BrtRRHeader" */ }, + 0x019C: { /* n:"BrtRRUserView" */ }, + 0x019D: { /* n:"BrtRRRenSheet" */ }, + 0x019E: { /* n:"BrtRRInsertSh" */ }, + 0x019F: { /* n:"BrtRRDefName" */ }, + 0x01A0: { /* n:"BrtRRNote" */ }, + 0x01A1: { /* n:"BrtRRConflict" */ }, + 0x01A2: { /* n:"BrtRRTQSIF" */ }, + 0x01A3: { /* n:"BrtRRFormat" */ }, + 0x01A4: { /* n:"BrtRREndFormat" */ }, + 0x01A5: { /* n:"BrtRRAutoFmt" */ }, + 0x01A6: { /* n:"BrtBeginUserShViews", */ T:1 }, + 0x01A7: { /* n:"BrtBeginUserShView", */ T:1 }, + 0x01A8: { /* n:"BrtEndUserShView", */ T:-1 }, + 0x01A9: { /* n:"BrtEndUserShViews", */ T:-1 }, + 0x01AA: { /* n:"BrtArrFmla", */ f:parse_BrtArrFmla }, + 0x01AB: { /* n:"BrtShrFmla", */ f:parse_BrtShrFmla }, + 0x01AC: { /* n:"BrtTable" */ }, + 0x01AD: { /* n:"BrtBeginExtConnections", */ T:1 }, + 0x01AE: { /* n:"BrtEndExtConnections", */ T:-1 }, + 0x01AF: { /* n:"BrtBeginPCDCalcMems", */ T:1 }, + 0x01B0: { /* n:"BrtEndPCDCalcMems", */ T:-1 }, + 0x01B1: { /* n:"BrtBeginPCDCalcMem", */ T:1 }, + 0x01B2: { /* n:"BrtEndPCDCalcMem", */ T:-1 }, + 0x01B3: { /* n:"BrtBeginPCDHGLevels", */ T:1 }, + 0x01B4: { /* n:"BrtEndPCDHGLevels", */ T:-1 }, + 0x01B5: { /* n:"BrtBeginPCDHGLevel", */ T:1 }, + 0x01B6: { /* n:"BrtEndPCDHGLevel", */ T:-1 }, + 0x01B7: { /* n:"BrtBeginPCDHGLGroups", */ T:1 }, + 0x01B8: { /* n:"BrtEndPCDHGLGroups", */ T:-1 }, + 0x01B9: { /* n:"BrtBeginPCDHGLGroup", */ T:1 }, + 0x01BA: { /* n:"BrtEndPCDHGLGroup", */ T:-1 }, + 0x01BB: { /* n:"BrtBeginPCDHGLGMembers", */ T:1 }, + 0x01BC: { /* n:"BrtEndPCDHGLGMembers", */ T:-1 }, + 0x01BD: { /* n:"BrtBeginPCDHGLGMember", */ T:1 }, + 0x01BE: { /* n:"BrtEndPCDHGLGMember", */ T:-1 }, + 0x01BF: { /* n:"BrtBeginQSI", */ T:1 }, + 0x01C0: { /* n:"BrtEndQSI", */ T:-1 }, + 0x01C1: { /* n:"BrtBeginQSIR", */ T:1 }, + 0x01C2: { /* n:"BrtEndQSIR", */ T:-1 }, + 0x01C3: { /* n:"BrtBeginDeletedNames", */ T:1 }, + 0x01C4: { /* n:"BrtEndDeletedNames", */ T:-1 }, + 0x01C5: { /* n:"BrtBeginDeletedName", */ T:1 }, + 0x01C6: { /* n:"BrtEndDeletedName", */ T:-1 }, + 0x01C7: { /* n:"BrtBeginQSIFs", */ T:1 }, + 0x01C8: { /* n:"BrtEndQSIFs", */ T:-1 }, + 0x01C9: { /* n:"BrtBeginQSIF", */ T:1 }, + 0x01CA: { /* n:"BrtEndQSIF", */ T:-1 }, + 0x01CB: { /* n:"BrtBeginAutoSortScope", */ T:1 }, + 0x01CC: { /* n:"BrtEndAutoSortScope", */ T:-1 }, + 0x01CD: { /* n:"BrtBeginConditionalFormatting", */ T:1 }, + 0x01CE: { /* n:"BrtEndConditionalFormatting", */ T:-1 }, + 0x01CF: { /* n:"BrtBeginCFRule", */ T:1 }, + 0x01D0: { /* n:"BrtEndCFRule", */ T:-1 }, + 0x01D1: { /* n:"BrtBeginIconSet", */ T:1 }, + 0x01D2: { /* n:"BrtEndIconSet", */ T:-1 }, + 0x01D3: { /* n:"BrtBeginDatabar", */ T:1 }, + 0x01D4: { /* n:"BrtEndDatabar", */ T:-1 }, + 0x01D5: { /* n:"BrtBeginColorScale", */ T:1 }, + 0x01D6: { /* n:"BrtEndColorScale", */ T:-1 }, + 0x01D7: { /* n:"BrtCFVO" */ }, + 0x01D8: { /* n:"BrtExternValueMeta" */ }, + 0x01D9: { /* n:"BrtBeginColorPalette", */ T:1 }, + 0x01DA: { /* n:"BrtEndColorPalette", */ T:-1 }, + 0x01DB: { /* n:"BrtIndexedColor" */ }, + 0x01DC: { /* n:"BrtMargins", */ f:parse_BrtMargins }, + 0x01DD: { /* n:"BrtPrintOptions" */ }, + 0x01DE: { /* n:"BrtPageSetup" */ }, + 0x01DF: { /* n:"BrtBeginHeaderFooter", */ T:1 }, + 0x01E0: { /* n:"BrtEndHeaderFooter", */ T:-1 }, + 0x01E1: { /* n:"BrtBeginSXCrtFormat", */ T:1 }, + 0x01E2: { /* n:"BrtEndSXCrtFormat", */ T:-1 }, + 0x01E3: { /* n:"BrtBeginSXCrtFormats", */ T:1 }, + 0x01E4: { /* n:"BrtEndSXCrtFormats", */ T:-1 }, + 0x01E5: { /* n:"BrtWsFmtInfo", */ f:parse_BrtWsFmtInfo }, + 0x01E6: { /* n:"BrtBeginMgs", */ T:1 }, + 0x01E7: { /* n:"BrtEndMGs", */ T:-1 }, + 0x01E8: { /* n:"BrtBeginMGMaps", */ T:1 }, + 0x01E9: { /* n:"BrtEndMGMaps", */ T:-1 }, + 0x01EA: { /* n:"BrtBeginMG", */ T:1 }, + 0x01EB: { /* n:"BrtEndMG", */ T:-1 }, + 0x01EC: { /* n:"BrtBeginMap", */ T:1 }, + 0x01ED: { /* n:"BrtEndMap", */ T:-1 }, + 0x01EE: { /* n:"BrtHLink", */ f:parse_BrtHLink }, + 0x01EF: { /* n:"BrtBeginDCon", */ T:1 }, + 0x01F0: { /* n:"BrtEndDCon", */ T:-1 }, + 0x01F1: { /* n:"BrtBeginDRefs", */ T:1 }, + 0x01F2: { /* n:"BrtEndDRefs", */ T:-1 }, + 0x01F3: { /* n:"BrtDRef" */ }, + 0x01F4: { /* n:"BrtBeginScenMan", */ T:1 }, + 0x01F5: { /* n:"BrtEndScenMan", */ T:-1 }, + 0x01F6: { /* n:"BrtBeginSct", */ T:1 }, + 0x01F7: { /* n:"BrtEndSct", */ T:-1 }, + 0x01F8: { /* n:"BrtSlc" */ }, + 0x01F9: { /* n:"BrtBeginDXFs", */ T:1 }, + 0x01FA: { /* n:"BrtEndDXFs", */ T:-1 }, + 0x01FB: { /* n:"BrtDXF" */ }, + 0x01FC: { /* n:"BrtBeginTableStyles", */ T:1 }, + 0x01FD: { /* n:"BrtEndTableStyles", */ T:-1 }, + 0x01FE: { /* n:"BrtBeginTableStyle", */ T:1 }, + 0x01FF: { /* n:"BrtEndTableStyle", */ T:-1 }, + 0x0200: { /* n:"BrtTableStyleElement" */ }, + 0x0201: { /* n:"BrtTableStyleClient" */ }, + 0x0202: { /* n:"BrtBeginVolDeps", */ T:1 }, + 0x0203: { /* n:"BrtEndVolDeps", */ T:-1 }, + 0x0204: { /* n:"BrtBeginVolType", */ T:1 }, + 0x0205: { /* n:"BrtEndVolType", */ T:-1 }, + 0x0206: { /* n:"BrtBeginVolMain", */ T:1 }, + 0x0207: { /* n:"BrtEndVolMain", */ T:-1 }, + 0x0208: { /* n:"BrtBeginVolTopic", */ T:1 }, + 0x0209: { /* n:"BrtEndVolTopic", */ T:-1 }, + 0x020A: { /* n:"BrtVolSubtopic" */ }, + 0x020B: { /* n:"BrtVolRef" */ }, + 0x020C: { /* n:"BrtVolNum" */ }, + 0x020D: { /* n:"BrtVolErr" */ }, + 0x020E: { /* n:"BrtVolStr" */ }, + 0x020F: { /* n:"BrtVolBool" */ }, + 0x0210: { /* n:"BrtBeginCalcChain$", */ T:1 }, + 0x0211: { /* n:"BrtEndCalcChain$", */ T:-1 }, + 0x0212: { /* n:"BrtBeginSortState", */ T:1 }, + 0x0213: { /* n:"BrtEndSortState", */ T:-1 }, + 0x0214: { /* n:"BrtBeginSortCond", */ T:1 }, + 0x0215: { /* n:"BrtEndSortCond", */ T:-1 }, + 0x0216: { /* n:"BrtBookProtection" */ }, + 0x0217: { /* n:"BrtSheetProtection" */ }, + 0x0218: { /* n:"BrtRangeProtection" */ }, + 0x0219: { /* n:"BrtPhoneticInfo" */ }, + 0x021A: { /* n:"BrtBeginECTxtWiz", */ T:1 }, + 0x021B: { /* n:"BrtEndECTxtWiz", */ T:-1 }, + 0x021C: { /* n:"BrtBeginECTWFldInfoLst", */ T:1 }, + 0x021D: { /* n:"BrtEndECTWFldInfoLst", */ T:-1 }, + 0x021E: { /* n:"BrtBeginECTwFldInfo", */ T:1 }, + 0x0224: { /* n:"BrtFileSharing" */ }, + 0x0225: { /* n:"BrtOleSize" */ }, + 0x0226: { /* n:"BrtDrawing", */ f:parse_RelID }, + 0x0227: { /* n:"BrtLegacyDrawing", */ f:parse_XLNullableWideString }, + 0x0228: { /* n:"BrtLegacyDrawingHF" */ }, + 0x0229: { /* n:"BrtWebOpt" */ }, + 0x022A: { /* n:"BrtBeginWebPubItems", */ T:1 }, + 0x022B: { /* n:"BrtEndWebPubItems", */ T:-1 }, + 0x022C: { /* n:"BrtBeginWebPubItem", */ T:1 }, + 0x022D: { /* n:"BrtEndWebPubItem", */ T:-1 }, + 0x022E: { /* n:"BrtBeginSXCondFmt", */ T:1 }, + 0x022F: { /* n:"BrtEndSXCondFmt", */ T:-1 }, + 0x0230: { /* n:"BrtBeginSXCondFmts", */ T:1 }, + 0x0231: { /* n:"BrtEndSXCondFmts", */ T:-1 }, + 0x0232: { /* n:"BrtBkHim" */ }, + 0x0234: { /* n:"BrtColor" */ }, + 0x0235: { /* n:"BrtBeginIndexedColors", */ T:1 }, + 0x0236: { /* n:"BrtEndIndexedColors", */ T:-1 }, + 0x0239: { /* n:"BrtBeginMRUColors", */ T:1 }, + 0x023A: { /* n:"BrtEndMRUColors", */ T:-1 }, + 0x023C: { /* n:"BrtMRUColor" */ }, + 0x023D: { /* n:"BrtBeginDVals", */ T:1 }, + 0x023E: { /* n:"BrtEndDVals", */ T:-1 }, + 0x0241: { /* n:"BrtSupNameStart" */ }, + 0x0242: { /* n:"BrtSupNameValueStart" */ }, + 0x0243: { /* n:"BrtSupNameValueEnd" */ }, + 0x0244: { /* n:"BrtSupNameNum" */ }, + 0x0245: { /* n:"BrtSupNameErr" */ }, + 0x0246: { /* n:"BrtSupNameSt" */ }, + 0x0247: { /* n:"BrtSupNameNil" */ }, + 0x0248: { /* n:"BrtSupNameBool" */ }, + 0x0249: { /* n:"BrtSupNameFmla" */ }, + 0x024A: { /* n:"BrtSupNameBits" */ }, + 0x024B: { /* n:"BrtSupNameEnd" */ }, + 0x024C: { /* n:"BrtEndSupBook", */ T:-1 }, + 0x024D: { /* n:"BrtCellSmartTagProperty" */ }, + 0x024E: { /* n:"BrtBeginCellSmartTag", */ T:1 }, + 0x024F: { /* n:"BrtEndCellSmartTag", */ T:-1 }, + 0x0250: { /* n:"BrtBeginCellSmartTags", */ T:1 }, + 0x0251: { /* n:"BrtEndCellSmartTags", */ T:-1 }, + 0x0252: { /* n:"BrtBeginSmartTags", */ T:1 }, + 0x0253: { /* n:"BrtEndSmartTags", */ T:-1 }, + 0x0254: { /* n:"BrtSmartTagType" */ }, + 0x0255: { /* n:"BrtBeginSmartTagTypes", */ T:1 }, + 0x0256: { /* n:"BrtEndSmartTagTypes", */ T:-1 }, + 0x0257: { /* n:"BrtBeginSXFilters", */ T:1 }, + 0x0258: { /* n:"BrtEndSXFilters", */ T:-1 }, + 0x0259: { /* n:"BrtBeginSXFILTER", */ T:1 }, + 0x025A: { /* n:"BrtEndSXFilter", */ T:-1 }, + 0x025B: { /* n:"BrtBeginFills", */ T:1 }, + 0x025C: { /* n:"BrtEndFills", */ T:-1 }, + 0x025D: { /* n:"BrtBeginCellWatches", */ T:1 }, + 0x025E: { /* n:"BrtEndCellWatches", */ T:-1 }, + 0x025F: { /* n:"BrtCellWatch" */ }, + 0x0260: { /* n:"BrtBeginCRErrs", */ T:1 }, + 0x0261: { /* n:"BrtEndCRErrs", */ T:-1 }, + 0x0262: { /* n:"BrtCrashRecErr" */ }, + 0x0263: { /* n:"BrtBeginFonts", */ T:1 }, + 0x0264: { /* n:"BrtEndFonts", */ T:-1 }, + 0x0265: { /* n:"BrtBeginBorders", */ T:1 }, + 0x0266: { /* n:"BrtEndBorders", */ T:-1 }, + 0x0267: { /* n:"BrtBeginFmts", */ T:1 }, + 0x0268: { /* n:"BrtEndFmts", */ T:-1 }, + 0x0269: { /* n:"BrtBeginCellXFs", */ T:1 }, + 0x026A: { /* n:"BrtEndCellXFs", */ T:-1 }, + 0x026B: { /* n:"BrtBeginStyles", */ T:1 }, + 0x026C: { /* n:"BrtEndStyles", */ T:-1 }, + 0x0271: { /* n:"BrtBigName" */ }, + 0x0272: { /* n:"BrtBeginCellStyleXFs", */ T:1 }, + 0x0273: { /* n:"BrtEndCellStyleXFs", */ T:-1 }, + 0x0274: { /* n:"BrtBeginComments", */ T:1 }, + 0x0275: { /* n:"BrtEndComments", */ T:-1 }, + 0x0276: { /* n:"BrtBeginCommentAuthors", */ T:1 }, + 0x0277: { /* n:"BrtEndCommentAuthors", */ T:-1 }, + 0x0278: { /* n:"BrtCommentAuthor", */ f:parse_BrtCommentAuthor }, + 0x0279: { /* n:"BrtBeginCommentList", */ T:1 }, + 0x027A: { /* n:"BrtEndCommentList", */ T:-1 }, + 0x027B: { /* n:"BrtBeginComment", */ T:1, f:parse_BrtBeginComment}, + 0x027C: { /* n:"BrtEndComment", */ T:-1 }, + 0x027D: { /* n:"BrtCommentText", */ f:parse_BrtCommentText }, + 0x027E: { /* n:"BrtBeginOleObjects", */ T:1 }, + 0x027F: { /* n:"BrtOleObject" */ }, + 0x0280: { /* n:"BrtEndOleObjects", */ T:-1 }, + 0x0281: { /* n:"BrtBeginSxrules", */ T:1 }, + 0x0282: { /* n:"BrtEndSxRules", */ T:-1 }, + 0x0283: { /* n:"BrtBeginActiveXControls", */ T:1 }, + 0x0284: { /* n:"BrtActiveX" */ }, + 0x0285: { /* n:"BrtEndActiveXControls", */ T:-1 }, + 0x0286: { /* n:"BrtBeginPCDSDTCEMembersSortBy", */ T:1 }, + 0x0288: { /* n:"BrtBeginCellIgnoreECs", */ T:1 }, + 0x0289: { /* n:"BrtCellIgnoreEC" */ }, + 0x028A: { /* n:"BrtEndCellIgnoreECs", */ T:-1 }, + 0x028B: { /* n:"BrtCsProp", */ f:parse_BrtCsProp }, + 0x028C: { /* n:"BrtCsPageSetup" */ }, + 0x028D: { /* n:"BrtBeginUserCsViews", */ T:1 }, + 0x028E: { /* n:"BrtEndUserCsViews", */ T:-1 }, + 0x028F: { /* n:"BrtBeginUserCsView", */ T:1 }, + 0x0290: { /* n:"BrtEndUserCsView", */ T:-1 }, + 0x0291: { /* n:"BrtBeginPcdSFCIEntries", */ T:1 }, + 0x0292: { /* n:"BrtEndPCDSFCIEntries", */ T:-1 }, + 0x0293: { /* n:"BrtPCDSFCIEntry" */ }, + 0x0294: { /* n:"BrtBeginListParts", */ T:1 }, + 0x0295: { /* n:"BrtListPart" */ }, + 0x0296: { /* n:"BrtEndListParts", */ T:-1 }, + 0x0297: { /* n:"BrtSheetCalcProp" */ }, + 0x0298: { /* n:"BrtBeginFnGroup", */ T:1 }, + 0x0299: { /* n:"BrtFnGroup" */ }, + 0x029A: { /* n:"BrtEndFnGroup", */ T:-1 }, + 0x029B: { /* n:"BrtSupAddin" */ }, + 0x029C: { /* n:"BrtSXTDMPOrder" */ }, + 0x029D: { /* n:"BrtCsProtection" */ }, + 0x029F: { /* n:"BrtBeginWsSortMap", */ T:1 }, + 0x02A0: { /* n:"BrtEndWsSortMap", */ T:-1 }, + 0x02A1: { /* n:"BrtBeginRRSort", */ T:1 }, + 0x02A2: { /* n:"BrtEndRRSort", */ T:-1 }, + 0x02A3: { /* n:"BrtRRSortItem" */ }, + 0x02A4: { /* n:"BrtFileSharingIso" */ }, + 0x02A5: { /* n:"BrtBookProtectionIso" */ }, + 0x02A6: { /* n:"BrtSheetProtectionIso" */ }, + 0x02A7: { /* n:"BrtCsProtectionIso" */ }, + 0x02A8: { /* n:"BrtRangeProtectionIso" */ }, + 0x02A9: { /* n:"BrtDValList" */ }, + 0x0400: { /* n:"BrtRwDescent" */ }, + 0x0401: { /* n:"BrtKnownFonts" */ }, + 0x0402: { /* n:"BrtBeginSXTupleSet", */ T:1 }, + 0x0403: { /* n:"BrtEndSXTupleSet", */ T:-1 }, + 0x0404: { /* n:"BrtBeginSXTupleSetHeader", */ T:1 }, + 0x0405: { /* n:"BrtEndSXTupleSetHeader", */ T:-1 }, + 0x0406: { /* n:"BrtSXTupleSetHeaderItem" */ }, + 0x0407: { /* n:"BrtBeginSXTupleSetData", */ T:1 }, + 0x0408: { /* n:"BrtEndSXTupleSetData", */ T:-1 }, + 0x0409: { /* n:"BrtBeginSXTupleSetRow", */ T:1 }, + 0x040A: { /* n:"BrtEndSXTupleSetRow", */ T:-1 }, + 0x040B: { /* n:"BrtSXTupleSetRowItem" */ }, + 0x040C: { /* n:"BrtNameExt" */ }, + 0x040D: { /* n:"BrtPCDH14" */ }, + 0x040E: { /* n:"BrtBeginPCDCalcMem14", */ T:1 }, + 0x040F: { /* n:"BrtEndPCDCalcMem14", */ T:-1 }, + 0x0410: { /* n:"BrtSXTH14" */ }, + 0x0411: { /* n:"BrtBeginSparklineGroup", */ T:1 }, + 0x0412: { /* n:"BrtEndSparklineGroup", */ T:-1 }, + 0x0413: { /* n:"BrtSparkline" */ }, + 0x0414: { /* n:"BrtSXDI14" */ }, + 0x0415: { /* n:"BrtWsFmtInfoEx14" */ }, + 0x0416: { /* n:"BrtBeginConditionalFormatting14", */ T:1 }, + 0x0417: { /* n:"BrtEndConditionalFormatting14", */ T:-1 }, + 0x0418: { /* n:"BrtBeginCFRule14", */ T:1 }, + 0x0419: { /* n:"BrtEndCFRule14", */ T:-1 }, + 0x041A: { /* n:"BrtCFVO14" */ }, + 0x041B: { /* n:"BrtBeginDatabar14", */ T:1 }, + 0x041C: { /* n:"BrtBeginIconSet14", */ T:1 }, + 0x041D: { /* n:"BrtDVal14", */ f: parse_BrtDVal14 }, + 0x041E: { /* n:"BrtBeginDVals14", */ T:1 }, + 0x041F: { /* n:"BrtColor14" */ }, + 0x0420: { /* n:"BrtBeginSparklines", */ T:1 }, + 0x0421: { /* n:"BrtEndSparklines", */ T:-1 }, + 0x0422: { /* n:"BrtBeginSparklineGroups", */ T:1 }, + 0x0423: { /* n:"BrtEndSparklineGroups", */ T:-1 }, + 0x0425: { /* n:"BrtSXVD14" */ }, + 0x0426: { /* n:"BrtBeginSXView14", */ T:1 }, + 0x0427: { /* n:"BrtEndSXView14", */ T:-1 }, + 0x0428: { /* n:"BrtBeginSXView16", */ T:1 }, + 0x0429: { /* n:"BrtEndSXView16", */ T:-1 }, + 0x042A: { /* n:"BrtBeginPCD14", */ T:1 }, + 0x042B: { /* n:"BrtEndPCD14", */ T:-1 }, + 0x042C: { /* n:"BrtBeginExtConn14", */ T:1 }, + 0x042D: { /* n:"BrtEndExtConn14", */ T:-1 }, + 0x042E: { /* n:"BrtBeginSlicerCacheIDs", */ T:1 }, + 0x042F: { /* n:"BrtEndSlicerCacheIDs", */ T:-1 }, + 0x0430: { /* n:"BrtBeginSlicerCacheID", */ T:1 }, + 0x0431: { /* n:"BrtEndSlicerCacheID", */ T:-1 }, + 0x0433: { /* n:"BrtBeginSlicerCache", */ T:1 }, + 0x0434: { /* n:"BrtEndSlicerCache", */ T:-1 }, + 0x0435: { /* n:"BrtBeginSlicerCacheDef", */ T:1 }, + 0x0436: { /* n:"BrtEndSlicerCacheDef", */ T:-1 }, + 0x0437: { /* n:"BrtBeginSlicersEx", */ T:1 }, + 0x0438: { /* n:"BrtEndSlicersEx", */ T:-1 }, + 0x0439: { /* n:"BrtBeginSlicerEx", */ T:1 }, + 0x043A: { /* n:"BrtEndSlicerEx", */ T:-1 }, + 0x043B: { /* n:"BrtBeginSlicer", */ T:1 }, + 0x043C: { /* n:"BrtEndSlicer", */ T:-1 }, + 0x043D: { /* n:"BrtSlicerCachePivotTables" */ }, + 0x043E: { /* n:"BrtBeginSlicerCacheOlapImpl", */ T:1 }, + 0x043F: { /* n:"BrtEndSlicerCacheOlapImpl", */ T:-1 }, + 0x0440: { /* n:"BrtBeginSlicerCacheLevelsData", */ T:1 }, + 0x0441: { /* n:"BrtEndSlicerCacheLevelsData", */ T:-1 }, + 0x0442: { /* n:"BrtBeginSlicerCacheLevelData", */ T:1 }, + 0x0443: { /* n:"BrtEndSlicerCacheLevelData", */ T:-1 }, + 0x0444: { /* n:"BrtBeginSlicerCacheSiRanges", */ T:1 }, + 0x0445: { /* n:"BrtEndSlicerCacheSiRanges", */ T:-1 }, + 0x0446: { /* n:"BrtBeginSlicerCacheSiRange", */ T:1 }, + 0x0447: { /* n:"BrtEndSlicerCacheSiRange", */ T:-1 }, + 0x0448: { /* n:"BrtSlicerCacheOlapItem" */ }, + 0x0449: { /* n:"BrtBeginSlicerCacheSelections", */ T:1 }, + 0x044A: { /* n:"BrtSlicerCacheSelection" */ }, + 0x044B: { /* n:"BrtEndSlicerCacheSelections", */ T:-1 }, + 0x044C: { /* n:"BrtBeginSlicerCacheNative", */ T:1 }, + 0x044D: { /* n:"BrtEndSlicerCacheNative", */ T:-1 }, + 0x044E: { /* n:"BrtSlicerCacheNativeItem" */ }, + 0x044F: { /* n:"BrtRangeProtection14" */ }, + 0x0450: { /* n:"BrtRangeProtectionIso14" */ }, + 0x0451: { /* n:"BrtCellIgnoreEC14" */ }, + 0x0457: { /* n:"BrtList14" */ }, + 0x0458: { /* n:"BrtCFIcon" */ }, + 0x0459: { /* n:"BrtBeginSlicerCachesPivotCacheIDs", */ T:1 }, + 0x045A: { /* n:"BrtEndSlicerCachesPivotCacheIDs", */ T:-1 }, + 0x045B: { /* n:"BrtBeginSlicers", */ T:1 }, + 0x045C: { /* n:"BrtEndSlicers", */ T:-1 }, + 0x045D: { /* n:"BrtWbProp14" */ }, + 0x045E: { /* n:"BrtBeginSXEdit", */ T:1 }, + 0x045F: { /* n:"BrtEndSXEdit", */ T:-1 }, + 0x0460: { /* n:"BrtBeginSXEdits", */ T:1 }, + 0x0461: { /* n:"BrtEndSXEdits", */ T:-1 }, + 0x0462: { /* n:"BrtBeginSXChange", */ T:1 }, + 0x0463: { /* n:"BrtEndSXChange", */ T:-1 }, + 0x0464: { /* n:"BrtBeginSXChanges", */ T:1 }, + 0x0465: { /* n:"BrtEndSXChanges", */ T:-1 }, + 0x0466: { /* n:"BrtSXTupleItems" */ }, + 0x0468: { /* n:"BrtBeginSlicerStyle", */ T:1 }, + 0x0469: { /* n:"BrtEndSlicerStyle", */ T:-1 }, + 0x046A: { /* n:"BrtSlicerStyleElement" */ }, + 0x046B: { /* n:"BrtBeginStyleSheetExt14", */ T:1 }, + 0x046C: { /* n:"BrtEndStyleSheetExt14", */ T:-1 }, + 0x046D: { /* n:"BrtBeginSlicerCachesPivotCacheID", */ T:1 }, + 0x046E: { /* n:"BrtEndSlicerCachesPivotCacheID", */ T:-1 }, + 0x046F: { /* n:"BrtBeginConditionalFormattings", */ T:1 }, + 0x0470: { /* n:"BrtEndConditionalFormattings", */ T:-1 }, + 0x0471: { /* n:"BrtBeginPCDCalcMemExt", */ T:1 }, + 0x0472: { /* n:"BrtEndPCDCalcMemExt", */ T:-1 }, + 0x0473: { /* n:"BrtBeginPCDCalcMemsExt", */ T:1 }, + 0x0474: { /* n:"BrtEndPCDCalcMemsExt", */ T:-1 }, + 0x0475: { /* n:"BrtPCDField14" */ }, + 0x0476: { /* n:"BrtBeginSlicerStyles", */ T:1 }, + 0x0477: { /* n:"BrtEndSlicerStyles", */ T:-1 }, + 0x0478: { /* n:"BrtBeginSlicerStyleElements", */ T:1 }, + 0x0479: { /* n:"BrtEndSlicerStyleElements", */ T:-1 }, + 0x047A: { /* n:"BrtCFRuleExt" */ }, + 0x047B: { /* n:"BrtBeginSXCondFmt14", */ T:1 }, + 0x047C: { /* n:"BrtEndSXCondFmt14", */ T:-1 }, + 0x047D: { /* n:"BrtBeginSXCondFmts14", */ T:1 }, + 0x047E: { /* n:"BrtEndSXCondFmts14", */ T:-1 }, + 0x0480: { /* n:"BrtBeginSortCond14", */ T:1 }, + 0x0481: { /* n:"BrtEndSortCond14", */ T:-1 }, + 0x0482: { /* n:"BrtEndDVals14", */ T:-1 }, + 0x0483: { /* n:"BrtEndIconSet14", */ T:-1 }, + 0x0484: { /* n:"BrtEndDatabar14", */ T:-1 }, + 0x0485: { /* n:"BrtBeginColorScale14", */ T:1 }, + 0x0486: { /* n:"BrtEndColorScale14", */ T:-1 }, + 0x0487: { /* n:"BrtBeginSxrules14", */ T:1 }, + 0x0488: { /* n:"BrtEndSxrules14", */ T:-1 }, + 0x0489: { /* n:"BrtBeginPRule14", */ T:1 }, + 0x048A: { /* n:"BrtEndPRule14", */ T:-1 }, + 0x048B: { /* n:"BrtBeginPRFilters14", */ T:1 }, + 0x048C: { /* n:"BrtEndPRFilters14", */ T:-1 }, + 0x048D: { /* n:"BrtBeginPRFilter14", */ T:1 }, + 0x048E: { /* n:"BrtEndPRFilter14", */ T:-1 }, + 0x048F: { /* n:"BrtBeginPRFItem14", */ T:1 }, + 0x0490: { /* n:"BrtEndPRFItem14", */ T:-1 }, + 0x0491: { /* n:"BrtBeginCellIgnoreECs14", */ T:1 }, + 0x0492: { /* n:"BrtEndCellIgnoreECs14", */ T:-1 }, + 0x0493: { /* n:"BrtDxf14" */ }, + 0x0494: { /* n:"BrtBeginDxF14s", */ T:1 }, + 0x0495: { /* n:"BrtEndDxf14s", */ T:-1 }, + 0x0499: { /* n:"BrtFilter14" */ }, + 0x049A: { /* n:"BrtBeginCustomFilters14", */ T:1 }, + 0x049C: { /* n:"BrtCustomFilter14" */ }, + 0x049D: { /* n:"BrtIconFilter14" */ }, + 0x049E: { /* n:"BrtPivotCacheConnectionName" */ }, + 0x0800: { /* n:"BrtBeginDecoupledPivotCacheIDs", */ T:1 }, + 0x0801: { /* n:"BrtEndDecoupledPivotCacheIDs", */ T:-1 }, + 0x0802: { /* n:"BrtDecoupledPivotCacheID" */ }, + 0x0803: { /* n:"BrtBeginPivotTableRefs", */ T:1 }, + 0x0804: { /* n:"BrtEndPivotTableRefs", */ T:-1 }, + 0x0805: { /* n:"BrtPivotTableRef" */ }, + 0x0806: { /* n:"BrtSlicerCacheBookPivotTables" */ }, + 0x0807: { /* n:"BrtBeginSxvcells", */ T:1 }, + 0x0808: { /* n:"BrtEndSxvcells", */ T:-1 }, + 0x0809: { /* n:"BrtBeginSxRow", */ T:1 }, + 0x080A: { /* n:"BrtEndSxRow", */ T:-1 }, + 0x080C: { /* n:"BrtPcdCalcMem15" */ }, + 0x0813: { /* n:"BrtQsi15" */ }, + 0x0814: { /* n:"BrtBeginWebExtensions", */ T:1 }, + 0x0815: { /* n:"BrtEndWebExtensions", */ T:-1 }, + 0x0816: { /* n:"BrtWebExtension" */ }, + 0x0817: { /* n:"BrtAbsPath15" */ }, + 0x0818: { /* n:"BrtBeginPivotTableUISettings", */ T:1 }, + 0x0819: { /* n:"BrtEndPivotTableUISettings", */ T:-1 }, + 0x081B: { /* n:"BrtTableSlicerCacheIDs" */ }, + 0x081C: { /* n:"BrtTableSlicerCacheID" */ }, + 0x081D: { /* n:"BrtBeginTableSlicerCache", */ T:1 }, + 0x081E: { /* n:"BrtEndTableSlicerCache", */ T:-1 }, + 0x081F: { /* n:"BrtSxFilter15" */ }, + 0x0820: { /* n:"BrtBeginTimelineCachePivotCacheIDs", */ T:1 }, + 0x0821: { /* n:"BrtEndTimelineCachePivotCacheIDs", */ T:-1 }, + 0x0822: { /* n:"BrtTimelineCachePivotCacheID" */ }, + 0x0823: { /* n:"BrtBeginTimelineCacheIDs", */ T:1 }, + 0x0824: { /* n:"BrtEndTimelineCacheIDs", */ T:-1 }, + 0x0825: { /* n:"BrtBeginTimelineCacheID", */ T:1 }, + 0x0826: { /* n:"BrtEndTimelineCacheID", */ T:-1 }, + 0x0827: { /* n:"BrtBeginTimelinesEx", */ T:1 }, + 0x0828: { /* n:"BrtEndTimelinesEx", */ T:-1 }, + 0x0829: { /* n:"BrtBeginTimelineEx", */ T:1 }, + 0x082A: { /* n:"BrtEndTimelineEx", */ T:-1 }, + 0x082B: { /* n:"BrtWorkBookPr15" */ }, + 0x082C: { /* n:"BrtPCDH15" */ }, + 0x082D: { /* n:"BrtBeginTimelineStyle", */ T:1 }, + 0x082E: { /* n:"BrtEndTimelineStyle", */ T:-1 }, + 0x082F: { /* n:"BrtTimelineStyleElement" */ }, + 0x0830: { /* n:"BrtBeginTimelineStylesheetExt15", */ T:1 }, + 0x0831: { /* n:"BrtEndTimelineStylesheetExt15", */ T:-1 }, + 0x0832: { /* n:"BrtBeginTimelineStyles", */ T:1 }, + 0x0833: { /* n:"BrtEndTimelineStyles", */ T:-1 }, + 0x0834: { /* n:"BrtBeginTimelineStyleElements", */ T:1 }, + 0x0835: { /* n:"BrtEndTimelineStyleElements", */ T:-1 }, + 0x0836: { /* n:"BrtDxf15" */ }, + 0x0837: { /* n:"BrtBeginDxfs15", */ T:1 }, + 0x0838: { /* n:"BrtEndDxfs15", */ T:-1 }, + 0x0839: { /* n:"BrtSlicerCacheHideItemsWithNoData" */ }, + 0x083A: { /* n:"BrtBeginItemUniqueNames", */ T:1 }, + 0x083B: { /* n:"BrtEndItemUniqueNames", */ T:-1 }, + 0x083C: { /* n:"BrtItemUniqueName" */ }, + 0x083D: { /* n:"BrtBeginExtConn15", */ T:1 }, + 0x083E: { /* n:"BrtEndExtConn15", */ T:-1 }, + 0x083F: { /* n:"BrtBeginOledbPr15", */ T:1 }, + 0x0840: { /* n:"BrtEndOledbPr15", */ T:-1 }, + 0x0841: { /* n:"BrtBeginDataFeedPr15", */ T:1 }, + 0x0842: { /* n:"BrtEndDataFeedPr15", */ T:-1 }, + 0x0843: { /* n:"BrtTextPr15" */ }, + 0x0844: { /* n:"BrtRangePr15" */ }, + 0x0845: { /* n:"BrtDbCommand15" */ }, + 0x0846: { /* n:"BrtBeginDbTables15", */ T:1 }, + 0x0847: { /* n:"BrtEndDbTables15", */ T:-1 }, + 0x0848: { /* n:"BrtDbTable15" */ }, + 0x0849: { /* n:"BrtBeginDataModel", */ T:1 }, + 0x084A: { /* n:"BrtEndDataModel", */ T:-1 }, + 0x084B: { /* n:"BrtBeginModelTables", */ T:1 }, + 0x084C: { /* n:"BrtEndModelTables", */ T:-1 }, + 0x084D: { /* n:"BrtModelTable" */ }, + 0x084E: { /* n:"BrtBeginModelRelationships", */ T:1 }, + 0x084F: { /* n:"BrtEndModelRelationships", */ T:-1 }, + 0x0850: { /* n:"BrtModelRelationship" */ }, + 0x0851: { /* n:"BrtBeginECTxtWiz15", */ T:1 }, + 0x0852: { /* n:"BrtEndECTxtWiz15", */ T:-1 }, + 0x0853: { /* n:"BrtBeginECTWFldInfoLst15", */ T:1 }, + 0x0854: { /* n:"BrtEndECTWFldInfoLst15", */ T:-1 }, + 0x0855: { /* n:"BrtBeginECTWFldInfo15", */ T:1 }, + 0x0856: { /* n:"BrtFieldListActiveItem" */ }, + 0x0857: { /* n:"BrtPivotCacheIdVersion" */ }, + 0x0858: { /* n:"BrtSXDI15" */ }, + 0x0859: { /* n:"BrtBeginModelTimeGroupings", */ T:1 }, + 0x085A: { /* n:"BrtEndModelTimeGroupings", */ T:-1 }, + 0x085B: { /* n:"BrtBeginModelTimeGrouping", */ T:1 }, + 0x085C: { /* n:"BrtEndModelTimeGrouping", */ T:-1 }, + 0x085D: { /* n:"BrtModelTimeGroupingCalcCol" */ }, + 0x0C00: { /* n:"BrtUid" */ }, + 0x0C01: { /* n:"BrtRevisionPtr" */ }, + 0x1000: { /* n:"BrtBeginDynamicArrayPr", */ T:1 }, + 0x1001: { /* n:"BrtEndDynamicArrayPr", */ T:-1 }, + 0x138A: { /* n:"BrtBeginRichValueBlock", */ T:1 }, + 0x138B: { /* n:"BrtEndRichValueBlock", */ T:-1 }, + 0x13D9: { /* n:"BrtBeginRichFilters", */ T:1 }, + 0x13DA: { /* n:"BrtEndRichFilters", */ T:-1 }, + 0x13DB: { /* n:"BrtRichFilter" */ }, + 0x13DC: { /* n:"BrtBeginRichFilterColumn", */ T:1 }, + 0x13DD: { /* n:"BrtEndRichFilterColumn", */ T:-1 }, + 0x13DE: { /* n:"BrtBeginCustomRichFilters", */ T:1 }, + 0x13DF: { /* n:"BrtEndCustomRichFilters", */ T:-1 }, + 0x13E0: { /* n:"BrtCustomRichFilter" */ }, + 0x13E1: { /* n:"BrtTop10RichFilter" */ }, + 0x13E2: { /* n:"BrtDynamicRichFilter" */ }, + 0x13E4: { /* n:"BrtBeginRichSortCondition", */ T:1 }, + 0x13E5: { /* n:"BrtEndRichSortCondition", */ T:-1 }, + 0x13E6: { /* n:"BrtRichFilterDateGroupItem" */ }, + 0x13E7: { /* n:"BrtBeginCalcFeatures", */ T:1 }, + 0x13E8: { /* n:"BrtEndCalcFeatures", */ T:-1 }, + 0x13E9: { /* n:"BrtCalcFeature" */ }, + 0x13EB: { /* n:"BrtExternalLinksPr" */ }, + 0xFFFF: { n:"" } }; /* [MS-XLS] 2.3 Record Enumeration (and other sources) */ var XLSRecordEnum = { /* [MS-XLS] 2.3 Record Enumeration 2021-08-17 */ - /*::[*/0x0006/*::]*/: { /* n:"Formula", */ f:parse_Formula }, - /*::[*/0x000a/*::]*/: { /* n:"EOF", */ f:parsenoop2 }, - /*::[*/0x000c/*::]*/: { /* n:"CalcCount", */ f:parseuint16 }, // - /*::[*/0x000d/*::]*/: { /* n:"CalcMode", */ f:parseuint16 }, // - /*::[*/0x000e/*::]*/: { /* n:"CalcPrecision", */ f:parsebool }, // - /*::[*/0x000f/*::]*/: { /* n:"CalcRefMode", */ f:parsebool }, // - /*::[*/0x0010/*::]*/: { /* n:"CalcDelta", */ f:parse_Xnum }, // - /*::[*/0x0011/*::]*/: { /* n:"CalcIter", */ f:parsebool }, // - /*::[*/0x0012/*::]*/: { /* n:"Protect", */ f:parsebool }, - /*::[*/0x0013/*::]*/: { /* n:"Password", */ f:parseuint16 }, - /*::[*/0x0014/*::]*/: { /* n:"Header", */ f:parse_XLHeaderFooter }, - /*::[*/0x0015/*::]*/: { /* n:"Footer", */ f:parse_XLHeaderFooter }, - /*::[*/0x0017/*::]*/: { /* n:"ExternSheet", */ f:parse_ExternSheet }, - /*::[*/0x0018/*::]*/: { /* n:"Lbl", */ f:parse_Lbl }, - /*::[*/0x0019/*::]*/: { /* n:"WinProtect", */ f:parsebool }, - /*::[*/0x001a/*::]*/: { /* n:"VerticalPageBreaks", */ }, - /*::[*/0x001b/*::]*/: { /* n:"HorizontalPageBreaks", */ }, - /*::[*/0x001c/*::]*/: { /* n:"Note", */ f:parse_Note }, - /*::[*/0x001d/*::]*/: { /* n:"Selection", */ }, - /*::[*/0x0022/*::]*/: { /* n:"Date1904", */ f:parsebool }, - /*::[*/0x0023/*::]*/: { /* n:"ExternName", */ f:parse_ExternName }, - /*::[*/0x0026/*::]*/: { /* n:"LeftMargin", */ f:parse_Xnum }, // * - /*::[*/0x0027/*::]*/: { /* n:"RightMargin", */ f:parse_Xnum }, // * - /*::[*/0x0028/*::]*/: { /* n:"TopMargin", */ f:parse_Xnum }, // * - /*::[*/0x0029/*::]*/: { /* n:"BottomMargin", */ f:parse_Xnum }, // * - /*::[*/0x002a/*::]*/: { /* n:"PrintRowCol", */ f:parsebool }, - /*::[*/0x002b/*::]*/: { /* n:"PrintGrid", */ f:parsebool }, - /*::[*/0x002f/*::]*/: { /* n:"FilePass", */ f:parse_FilePass }, - /*::[*/0x0031/*::]*/: { /* n:"Font", */ f:parse_Font }, - /*::[*/0x0033/*::]*/: { /* n:"PrintSize", */ f:parseuint16 }, - /*::[*/0x003c/*::]*/: { /* n:"Continue", */ }, - /*::[*/0x003d/*::]*/: { /* n:"Window1", */ f:parse_Window1 }, - /*::[*/0x0040/*::]*/: { /* n:"Backup", */ f:parsebool }, - /*::[*/0x0041/*::]*/: { /* n:"Pane", */ f:parse_Pane }, - /*::[*/0x0042/*::]*/: { /* n:"CodePage", */ f:parseuint16 }, - /*::[*/0x004d/*::]*/: { /* n:"Pls", */ }, - /*::[*/0x0050/*::]*/: { /* n:"DCon", */ }, - /*::[*/0x0051/*::]*/: { /* n:"DConRef", */ }, - /*::[*/0x0052/*::]*/: { /* n:"DConName", */ }, - /*::[*/0x0055/*::]*/: { /* n:"DefColWidth", */ f:parseuint16 }, - /*::[*/0x0059/*::]*/: { /* n:"XCT", */ }, - /*::[*/0x005a/*::]*/: { /* n:"CRN", */ }, - /*::[*/0x005b/*::]*/: { /* n:"FileSharing", */ }, - /*::[*/0x005c/*::]*/: { /* n:"WriteAccess", */ f:parse_WriteAccess }, - /*::[*/0x005d/*::]*/: { /* n:"Obj", */ f:parse_Obj }, - /*::[*/0x005e/*::]*/: { /* n:"Uncalced", */ }, - /*::[*/0x005f/*::]*/: { /* n:"CalcSaveRecalc", */ f:parsebool }, // - /*::[*/0x0060/*::]*/: { /* n:"Template", */ }, - /*::[*/0x0061/*::]*/: { /* n:"Intl", */ }, - /*::[*/0x0063/*::]*/: { /* n:"ObjProtect", */ f:parsebool }, - /*::[*/0x007d/*::]*/: { /* n:"ColInfo", */ f:parse_ColInfo }, - /*::[*/0x0080/*::]*/: { /* n:"Guts", */ f:parse_Guts }, - /*::[*/0x0081/*::]*/: { /* n:"WsBool", */ f:parse_WsBool }, - /*::[*/0x0082/*::]*/: { /* n:"GridSet", */ f:parseuint16 }, - /*::[*/0x0083/*::]*/: { /* n:"HCenter", */ f:parsebool }, - /*::[*/0x0084/*::]*/: { /* n:"VCenter", */ f:parsebool }, - /*::[*/0x0085/*::]*/: { /* n:"BoundSheet8", */ f:parse_BoundSheet8 }, - /*::[*/0x0086/*::]*/: { /* n:"WriteProtect", */ }, - /*::[*/0x008c/*::]*/: { /* n:"Country", */ f:parse_Country }, - /*::[*/0x008d/*::]*/: { /* n:"HideObj", */ f:parseuint16 }, - /*::[*/0x0090/*::]*/: { /* n:"Sort", */ }, - /*::[*/0x0092/*::]*/: { /* n:"Palette", */ f:parse_Palette }, - /*::[*/0x0097/*::]*/: { /* n:"Sync", */ }, - /*::[*/0x0098/*::]*/: { /* n:"LPr", */ }, - /*::[*/0x0099/*::]*/: { /* n:"DxGCol", */ }, - /*::[*/0x009a/*::]*/: { /* n:"FnGroupName", */ }, - /*::[*/0x009b/*::]*/: { /* n:"FilterMode", */ }, - /*::[*/0x009c/*::]*/: { /* n:"BuiltInFnGroupCount", */ f:parseuint16 }, - /*::[*/0x009d/*::]*/: { /* n:"AutoFilterInfo", */ }, - /*::[*/0x009e/*::]*/: { /* n:"AutoFilter", */ }, - /*::[*/0x00a0/*::]*/: { /* n:"Scl", */ f:parse_Scl }, - /*::[*/0x00a1/*::]*/: { /* n:"Setup", */ f:parse_Setup }, - /*::[*/0x00ae/*::]*/: { /* n:"ScenMan", */ }, - /*::[*/0x00af/*::]*/: { /* n:"SCENARIO", */ }, - /*::[*/0x00b0/*::]*/: { /* n:"SxView", */ }, - /*::[*/0x00b1/*::]*/: { /* n:"Sxvd", */ }, - /*::[*/0x00b2/*::]*/: { /* n:"SXVI", */ }, - /*::[*/0x00b4/*::]*/: { /* n:"SxIvd", */ }, - /*::[*/0x00b5/*::]*/: { /* n:"SXLI", */ }, - /*::[*/0x00b6/*::]*/: { /* n:"SXPI", */ }, - /*::[*/0x00b8/*::]*/: { /* n:"DocRoute", */ }, - /*::[*/0x00b9/*::]*/: { /* n:"RecipName", */ }, - /*::[*/0x00bd/*::]*/: { /* n:"MulRk", */ f:parse_MulRk }, - /*::[*/0x00be/*::]*/: { /* n:"MulBlank", */ f:parse_MulBlank }, - /*::[*/0x00c1/*::]*/: { /* n:"Mms", */ f:parsenoop2 }, - /*::[*/0x00c5/*::]*/: { /* n:"SXDI", */ }, - /*::[*/0x00c6/*::]*/: { /* n:"SXDB", */ }, - /*::[*/0x00c7/*::]*/: { /* n:"SXFDB", */ }, - /*::[*/0x00c8/*::]*/: { /* n:"SXDBB", */ }, - /*::[*/0x00c9/*::]*/: { /* n:"SXNum", */ }, - /*::[*/0x00ca/*::]*/: { /* n:"SxBool", */ f:parsebool }, - /*::[*/0x00cb/*::]*/: { /* n:"SxErr", */ }, - /*::[*/0x00cc/*::]*/: { /* n:"SXInt", */ }, - /*::[*/0x00cd/*::]*/: { /* n:"SXString", */ }, - /*::[*/0x00ce/*::]*/: { /* n:"SXDtr", */ }, - /*::[*/0x00cf/*::]*/: { /* n:"SxNil", */ }, - /*::[*/0x00d0/*::]*/: { /* n:"SXTbl", */ }, - /*::[*/0x00d1/*::]*/: { /* n:"SXTBRGIITM", */ }, - /*::[*/0x00d2/*::]*/: { /* n:"SxTbpg", */ }, - /*::[*/0x00d3/*::]*/: { /* n:"ObProj", */ }, - /*::[*/0x00d5/*::]*/: { /* n:"SXStreamID", */ }, - /*::[*/0x00d7/*::]*/: { /* n:"DBCell", */ }, - /*::[*/0x00d8/*::]*/: { /* n:"SXRng", */ }, - /*::[*/0x00d9/*::]*/: { /* n:"SxIsxoper", */ }, - /*::[*/0x00da/*::]*/: { /* n:"BookBool", */ f:parseuint16 }, - /*::[*/0x00dc/*::]*/: { /* n:"DbOrParamQry", */ }, - /*::[*/0x00dd/*::]*/: { /* n:"ScenarioProtect", */ f:parsebool }, - /*::[*/0x00de/*::]*/: { /* n:"OleObjectSize", */ }, - /*::[*/0x00e0/*::]*/: { /* n:"XF", */ f:parse_XF }, - /*::[*/0x00e1/*::]*/: { /* n:"InterfaceHdr", */ f:parse_InterfaceHdr }, - /*::[*/0x00e2/*::]*/: { /* n:"InterfaceEnd", */ f:parsenoop2 }, - /*::[*/0x00e3/*::]*/: { /* n:"SXVS", */ }, - /*::[*/0x00e5/*::]*/: { /* n:"MergeCells", */ f:parse_MergeCells }, - /*::[*/0x00e9/*::]*/: { /* n:"BkHim", */ }, - /*::[*/0x00eb/*::]*/: { /* n:"MsoDrawingGroup", */ }, - /*::[*/0x00ec/*::]*/: { /* n:"MsoDrawing", */ }, - /*::[*/0x00ed/*::]*/: { /* n:"MsoDrawingSelection", */ }, - /*::[*/0x00ef/*::]*/: { /* n:"PhoneticInfo", */ }, - /*::[*/0x00f0/*::]*/: { /* n:"SxRule", */ }, - /*::[*/0x00f1/*::]*/: { /* n:"SXEx", */ }, - /*::[*/0x00f2/*::]*/: { /* n:"SxFilt", */ }, - /*::[*/0x00f4/*::]*/: { /* n:"SxDXF", */ }, - /*::[*/0x00f5/*::]*/: { /* n:"SxItm", */ }, - /*::[*/0x00f6/*::]*/: { /* n:"SxName", */ }, - /*::[*/0x00f7/*::]*/: { /* n:"SxSelect", */ }, - /*::[*/0x00f8/*::]*/: { /* n:"SXPair", */ }, - /*::[*/0x00f9/*::]*/: { /* n:"SxFmla", */ }, - /*::[*/0x00fb/*::]*/: { /* n:"SxFormat", */ }, - /*::[*/0x00fc/*::]*/: { /* n:"SST", */ f:parse_SST }, - /*::[*/0x00fd/*::]*/: { /* n:"LabelSst", */ f:parse_LabelSst }, - /*::[*/0x00ff/*::]*/: { /* n:"ExtSST", */ f:parse_ExtSST }, - /*::[*/0x0100/*::]*/: { /* n:"SXVDEx", */ }, - /*::[*/0x0103/*::]*/: { /* n:"SXFormula", */ }, - /*::[*/0x0122/*::]*/: { /* n:"SXDBEx", */ }, - /*::[*/0x0137/*::]*/: { /* n:"RRDInsDel", */ }, - /*::[*/0x0138/*::]*/: { /* n:"RRDHead", */ }, - /*::[*/0x013b/*::]*/: { /* n:"RRDChgCell", */ }, - /*::[*/0x013d/*::]*/: { /* n:"RRTabId", */ f:parseuint16a }, - /*::[*/0x013e/*::]*/: { /* n:"RRDRenSheet", */ }, - /*::[*/0x013f/*::]*/: { /* n:"RRSort", */ }, - /*::[*/0x0140/*::]*/: { /* n:"RRDMove", */ }, - /*::[*/0x014a/*::]*/: { /* n:"RRFormat", */ }, - /*::[*/0x014b/*::]*/: { /* n:"RRAutoFmt", */ }, - /*::[*/0x014d/*::]*/: { /* n:"RRInsertSh", */ }, - /*::[*/0x014e/*::]*/: { /* n:"RRDMoveBegin", */ }, - /*::[*/0x014f/*::]*/: { /* n:"RRDMoveEnd", */ }, - /*::[*/0x0150/*::]*/: { /* n:"RRDInsDelBegin", */ }, - /*::[*/0x0151/*::]*/: { /* n:"RRDInsDelEnd", */ }, - /*::[*/0x0152/*::]*/: { /* n:"RRDConflict", */ }, - /*::[*/0x0153/*::]*/: { /* n:"RRDDefName", */ }, - /*::[*/0x0154/*::]*/: { /* n:"RRDRstEtxp", */ }, - /*::[*/0x015f/*::]*/: { /* n:"LRng", */ }, - /*::[*/0x0160/*::]*/: { /* n:"UsesELFs", */ f:parsebool }, - /*::[*/0x0161/*::]*/: { /* n:"DSF", */ f:parsenoop2 }, - /*::[*/0x0191/*::]*/: { /* n:"CUsr", */ }, - /*::[*/0x0192/*::]*/: { /* n:"CbUsr", */ }, - /*::[*/0x0193/*::]*/: { /* n:"UsrInfo", */ }, - /*::[*/0x0194/*::]*/: { /* n:"UsrExcl", */ }, - /*::[*/0x0195/*::]*/: { /* n:"FileLock", */ }, - /*::[*/0x0196/*::]*/: { /* n:"RRDInfo", */ }, - /*::[*/0x0197/*::]*/: { /* n:"BCUsrs", */ }, - /*::[*/0x0198/*::]*/: { /* n:"UsrChk", */ }, - /*::[*/0x01a9/*::]*/: { /* n:"UserBView", */ }, - /*::[*/0x01aa/*::]*/: { /* n:"UserSViewBegin", */ }, - /*::[*/0x01ab/*::]*/: { /* n:"UserSViewEnd", */ }, - /*::[*/0x01ac/*::]*/: { /* n:"RRDUserView", */ }, - /*::[*/0x01ad/*::]*/: { /* n:"Qsi", */ }, - /*::[*/0x01ae/*::]*/: { /* n:"SupBook", */ f:parse_SupBook }, - /*::[*/0x01af/*::]*/: { /* n:"Prot4Rev", */ f:parsebool }, - /*::[*/0x01b0/*::]*/: { /* n:"CondFmt", */ }, - /*::[*/0x01b1/*::]*/: { /* n:"CF", */ }, - /*::[*/0x01b2/*::]*/: { /* n:"DVal", */ }, - /*::[*/0x01b5/*::]*/: { /* n:"DConBin", */ }, - /*::[*/0x01b6/*::]*/: { /* n:"TxO", */ f:parse_TxO }, - /*::[*/0x01b7/*::]*/: { /* n:"RefreshAll", */ f:parsebool }, // - /*::[*/0x01b8/*::]*/: { /* n:"HLink", */ f:parse_HLink }, - /*::[*/0x01b9/*::]*/: { /* n:"Lel", */ }, - /*::[*/0x01ba/*::]*/: { /* n:"CodeName", */ f:parse_XLUnicodeString }, - /*::[*/0x01bb/*::]*/: { /* n:"SXFDBType", */ }, - /*::[*/0x01bc/*::]*/: { /* n:"Prot4RevPass", */ f:parseuint16 }, - /*::[*/0x01bd/*::]*/: { /* n:"ObNoMacros", */ }, - /*::[*/0x01be/*::]*/: { /* n:"Dv", */ }, - /*::[*/0x01c0/*::]*/: { /* n:"Excel9File", */ f:parsenoop2 }, - /*::[*/0x01c1/*::]*/: { /* n:"RecalcId", */ f:parse_RecalcId, r:2}, - /*::[*/0x01c2/*::]*/: { /* n:"EntExU2", */ f:parsenoop2 }, - /*::[*/0x0200/*::]*/: { /* n:"Dimensions", */ f:parse_Dimensions }, - /*::[*/0x0201/*::]*/: { /* n:"Blank", */ f:parse_Blank }, - /*::[*/0x0203/*::]*/: { /* n:"Number", */ f:parse_Number }, - /*::[*/0x0204/*::]*/: { /* n:"Label", */ f:parse_Label }, - /*::[*/0x0205/*::]*/: { /* n:"BoolErr", */ f:parse_BoolErr }, - /*::[*/0x0207/*::]*/: { /* n:"String", */ f:parse_String }, - /*::[*/0x0208/*::]*/: { /* n:"Row", */ f:parse_Row }, - /*::[*/0x020b/*::]*/: { /* n:"Index", */ }, - /*::[*/0x0221/*::]*/: { /* n:"Array", */ f:parse_Array }, - /*::[*/0x0225/*::]*/: { /* n:"DefaultRowHeight", */ f:parse_DefaultRowHeight }, - /*::[*/0x0236/*::]*/: { /* n:"Table", */ }, - /*::[*/0x023e/*::]*/: { /* n:"Window2", */ f:parse_Window2 }, - /*::[*/0x027e/*::]*/: { /* n:"RK", */ f:parse_RK }, - /*::[*/0x0293/*::]*/: { /* n:"Style", */ }, - /*::[*/0x0418/*::]*/: { /* n:"BigName", */ }, - /*::[*/0x041e/*::]*/: { /* n:"Format", */ f:parse_Format }, - /*::[*/0x043c/*::]*/: { /* n:"ContinueBigName", */ }, - /*::[*/0x04bc/*::]*/: { /* n:"ShrFmla", */ f:parse_ShrFmla }, - /*::[*/0x0800/*::]*/: { /* n:"HLinkTooltip", */ f:parse_HLinkTooltip }, - /*::[*/0x0801/*::]*/: { /* n:"WebPub", */ }, - /*::[*/0x0802/*::]*/: { /* n:"QsiSXTag", */ }, - /*::[*/0x0803/*::]*/: { /* n:"DBQueryExt", */ }, - /*::[*/0x0804/*::]*/: { /* n:"ExtString", */ }, - /*::[*/0x0805/*::]*/: { /* n:"TxtQry", */ }, - /*::[*/0x0806/*::]*/: { /* n:"Qsir", */ }, - /*::[*/0x0807/*::]*/: { /* n:"Qsif", */ }, - /*::[*/0x0808/*::]*/: { /* n:"RRDTQSIF", */ }, - /*::[*/0x0809/*::]*/: { /* n:"BOF", */ f:parse_BOF }, - /*::[*/0x080a/*::]*/: { /* n:"OleDbConn", */ }, - /*::[*/0x080b/*::]*/: { /* n:"WOpt", */ }, - /*::[*/0x080c/*::]*/: { /* n:"SXViewEx", */ }, - /*::[*/0x080d/*::]*/: { /* n:"SXTH", */ }, - /*::[*/0x080e/*::]*/: { /* n:"SXPIEx", */ }, - /*::[*/0x080f/*::]*/: { /* n:"SXVDTEx", */ }, - /*::[*/0x0810/*::]*/: { /* n:"SXViewEx9", */ }, - /*::[*/0x0812/*::]*/: { /* n:"ContinueFrt", */ }, - /*::[*/0x0813/*::]*/: { /* n:"RealTimeData", */ }, - /*::[*/0x0850/*::]*/: { /* n:"ChartFrtInfo", */ }, - /*::[*/0x0851/*::]*/: { /* n:"FrtWrapper", */ }, - /*::[*/0x0852/*::]*/: { /* n:"StartBlock", */ }, - /*::[*/0x0853/*::]*/: { /* n:"EndBlock", */ }, - /*::[*/0x0854/*::]*/: { /* n:"StartObject", */ }, - /*::[*/0x0855/*::]*/: { /* n:"EndObject", */ }, - /*::[*/0x0856/*::]*/: { /* n:"CatLab", */ }, - /*::[*/0x0857/*::]*/: { /* n:"YMult", */ }, - /*::[*/0x0858/*::]*/: { /* n:"SXViewLink", */ }, - /*::[*/0x0859/*::]*/: { /* n:"PivotChartBits", */ }, - /*::[*/0x085a/*::]*/: { /* n:"FrtFontList", */ }, - /*::[*/0x0862/*::]*/: { /* n:"SheetExt", */ }, - /*::[*/0x0863/*::]*/: { /* n:"BookExt", */ r:12}, - /*::[*/0x0864/*::]*/: { /* n:"SXAddl", */ }, - /*::[*/0x0865/*::]*/: { /* n:"CrErr", */ }, - /*::[*/0x0866/*::]*/: { /* n:"HFPicture", */ }, - /*::[*/0x0867/*::]*/: { /* n:"FeatHdr", */ f:parsenoop2 }, - /*::[*/0x0868/*::]*/: { /* n:"Feat", */ }, - /*::[*/0x086a/*::]*/: { /* n:"DataLabExt", */ }, - /*::[*/0x086b/*::]*/: { /* n:"DataLabExtContents", */ }, - /*::[*/0x086c/*::]*/: { /* n:"CellWatch", */ }, - /*::[*/0x0871/*::]*/: { /* n:"FeatHdr11", */ }, - /*::[*/0x0872/*::]*/: { /* n:"Feature11", */ }, - /*::[*/0x0874/*::]*/: { /* n:"DropDownObjIds", */ }, - /*::[*/0x0875/*::]*/: { /* n:"ContinueFrt11", */ }, - /*::[*/0x0876/*::]*/: { /* n:"DConn", */ }, - /*::[*/0x0877/*::]*/: { /* n:"List12", */ }, - /*::[*/0x0878/*::]*/: { /* n:"Feature12", */ }, - /*::[*/0x0879/*::]*/: { /* n:"CondFmt12", */ }, - /*::[*/0x087a/*::]*/: { /* n:"CF12", */ }, - /*::[*/0x087b/*::]*/: { /* n:"CFEx", */ }, - /*::[*/0x087c/*::]*/: { /* n:"XFCRC", */ f:parse_XFCRC, r:12 }, - /*::[*/0x087d/*::]*/: { /* n:"XFExt", */ f:parse_XFExt, r:12 }, - /*::[*/0x087e/*::]*/: { /* n:"AutoFilter12", */ }, - /*::[*/0x087f/*::]*/: { /* n:"ContinueFrt12", */ }, - /*::[*/0x0884/*::]*/: { /* n:"MDTInfo", */ }, - /*::[*/0x0885/*::]*/: { /* n:"MDXStr", */ }, - /*::[*/0x0886/*::]*/: { /* n:"MDXTuple", */ }, - /*::[*/0x0887/*::]*/: { /* n:"MDXSet", */ }, - /*::[*/0x0888/*::]*/: { /* n:"MDXProp", */ }, - /*::[*/0x0889/*::]*/: { /* n:"MDXKPI", */ }, - /*::[*/0x088a/*::]*/: { /* n:"MDB", */ }, - /*::[*/0x088b/*::]*/: { /* n:"PLV", */ }, - /*::[*/0x088c/*::]*/: { /* n:"Compat12", */ f:parsebool, r:12 }, - /*::[*/0x088d/*::]*/: { /* n:"DXF", */ }, - /*::[*/0x088e/*::]*/: { /* n:"TableStyles", */ r:12 }, - /*::[*/0x088f/*::]*/: { /* n:"TableStyle", */ }, - /*::[*/0x0890/*::]*/: { /* n:"TableStyleElement", */ }, - /*::[*/0x0892/*::]*/: { /* n:"StyleExt", */ }, - /*::[*/0x0893/*::]*/: { /* n:"NamePublish", */ }, - /*::[*/0x0894/*::]*/: { /* n:"NameCmt", */ f:parse_NameCmt, r:12 }, - /*::[*/0x0895/*::]*/: { /* n:"SortData", */ }, - /*::[*/0x0896/*::]*/: { /* n:"Theme", */ f:parse_Theme, r:12 }, - /*::[*/0x0897/*::]*/: { /* n:"GUIDTypeLib", */ }, - /*::[*/0x0898/*::]*/: { /* n:"FnGrp12", */ }, - /*::[*/0x0899/*::]*/: { /* n:"NameFnGrp12", */ }, - /*::[*/0x089a/*::]*/: { /* n:"MTRSettings", */ f:parse_MTRSettings, r:12 }, - /*::[*/0x089b/*::]*/: { /* n:"CompressPictures", */ f:parsenoop2 }, - /*::[*/0x089c/*::]*/: { /* n:"HeaderFooter", */ }, - /*::[*/0x089d/*::]*/: { /* n:"CrtLayout12", */ }, - /*::[*/0x089e/*::]*/: { /* n:"CrtMlFrt", */ }, - /*::[*/0x089f/*::]*/: { /* n:"CrtMlFrtContinue", */ }, - /*::[*/0x08a3/*::]*/: { /* n:"ForceFullCalculation", */ f:parse_ForceFullCalculation }, - /*::[*/0x08a4/*::]*/: { /* n:"ShapePropsStream", */ }, - /*::[*/0x08a5/*::]*/: { /* n:"TextPropsStream", */ }, - /*::[*/0x08a6/*::]*/: { /* n:"RichTextStream", */ }, - /*::[*/0x08a7/*::]*/: { /* n:"CrtLayout12A", */ }, - /*::[*/0x1001/*::]*/: { /* n:"Units", */ }, - /*::[*/0x1002/*::]*/: { /* n:"Chart", */ }, - /*::[*/0x1003/*::]*/: { /* n:"Series", */ }, - /*::[*/0x1006/*::]*/: { /* n:"DataFormat", */ }, - /*::[*/0x1007/*::]*/: { /* n:"LineFormat", */ }, - /*::[*/0x1009/*::]*/: { /* n:"MarkerFormat", */ }, - /*::[*/0x100a/*::]*/: { /* n:"AreaFormat", */ }, - /*::[*/0x100b/*::]*/: { /* n:"PieFormat", */ }, - /*::[*/0x100c/*::]*/: { /* n:"AttachedLabel", */ }, - /*::[*/0x100d/*::]*/: { /* n:"SeriesText", */ }, - /*::[*/0x1014/*::]*/: { /* n:"ChartFormat", */ }, - /*::[*/0x1015/*::]*/: { /* n:"Legend", */ }, - /*::[*/0x1016/*::]*/: { /* n:"SeriesList", */ }, - /*::[*/0x1017/*::]*/: { /* n:"Bar", */ }, - /*::[*/0x1018/*::]*/: { /* n:"Line", */ }, - /*::[*/0x1019/*::]*/: { /* n:"Pie", */ }, - /*::[*/0x101a/*::]*/: { /* n:"Area", */ }, - /*::[*/0x101b/*::]*/: { /* n:"Scatter", */ }, - /*::[*/0x101c/*::]*/: { /* n:"CrtLine", */ }, - /*::[*/0x101d/*::]*/: { /* n:"Axis", */ }, - /*::[*/0x101e/*::]*/: { /* n:"Tick", */ }, - /*::[*/0x101f/*::]*/: { /* n:"ValueRange", */ }, - /*::[*/0x1020/*::]*/: { /* n:"CatSerRange", */ }, - /*::[*/0x1021/*::]*/: { /* n:"AxisLine", */ }, - /*::[*/0x1022/*::]*/: { /* n:"CrtLink", */ }, - /*::[*/0x1024/*::]*/: { /* n:"DefaultText", */ }, - /*::[*/0x1025/*::]*/: { /* n:"Text", */ }, - /*::[*/0x1026/*::]*/: { /* n:"FontX", */ f:parseuint16 }, - /*::[*/0x1027/*::]*/: { /* n:"ObjectLink", */ }, - /*::[*/0x1032/*::]*/: { /* n:"Frame", */ }, - /*::[*/0x1033/*::]*/: { /* n:"Begin", */ }, - /*::[*/0x1034/*::]*/: { /* n:"End", */ }, - /*::[*/0x1035/*::]*/: { /* n:"PlotArea", */ }, - /*::[*/0x103a/*::]*/: { /* n:"Chart3d", */ }, - /*::[*/0x103c/*::]*/: { /* n:"PicF", */ }, - /*::[*/0x103d/*::]*/: { /* n:"DropBar", */ }, - /*::[*/0x103e/*::]*/: { /* n:"Radar", */ }, - /*::[*/0x103f/*::]*/: { /* n:"Surf", */ }, - /*::[*/0x1040/*::]*/: { /* n:"RadarArea", */ }, - /*::[*/0x1041/*::]*/: { /* n:"AxisParent", */ }, - /*::[*/0x1043/*::]*/: { /* n:"LegendException", */ }, - /*::[*/0x1044/*::]*/: { /* n:"ShtProps", */ f:parse_ShtProps }, - /*::[*/0x1045/*::]*/: { /* n:"SerToCrt", */ }, - /*::[*/0x1046/*::]*/: { /* n:"AxesUsed", */ }, - /*::[*/0x1048/*::]*/: { /* n:"SBaseRef", */ }, - /*::[*/0x104a/*::]*/: { /* n:"SerParent", */ }, - /*::[*/0x104b/*::]*/: { /* n:"SerAuxTrend", */ }, - /*::[*/0x104e/*::]*/: { /* n:"IFmtRecord", */ }, - /*::[*/0x104f/*::]*/: { /* n:"Pos", */ }, - /*::[*/0x1050/*::]*/: { /* n:"AlRuns", */ }, - /*::[*/0x1051/*::]*/: { /* n:"BRAI", */ }, - /*::[*/0x105b/*::]*/: { /* n:"SerAuxErrBar", */ }, - /*::[*/0x105c/*::]*/: { /* n:"ClrtClient", */ f:parse_ClrtClient }, - /*::[*/0x105d/*::]*/: { /* n:"SerFmt", */ }, - /*::[*/0x105f/*::]*/: { /* n:"Chart3DBarShape", */ }, - /*::[*/0x1060/*::]*/: { /* n:"Fbi", */ }, - /*::[*/0x1061/*::]*/: { /* n:"BopPop", */ }, - /*::[*/0x1062/*::]*/: { /* n:"AxcExt", */ }, - /*::[*/0x1063/*::]*/: { /* n:"Dat", */ }, - /*::[*/0x1064/*::]*/: { /* n:"PlotGrowth", */ }, - /*::[*/0x1065/*::]*/: { /* n:"SIIndex", */ }, - /*::[*/0x1066/*::]*/: { /* n:"GelFrame", */ }, - /*::[*/0x1067/*::]*/: { /* n:"BopPopCustom", */ }, - /*::[*/0x1068/*::]*/: { /* n:"Fbi2", */ }, + 0x0006: { /* n:"Formula", */ f:parse_Formula }, + 0x000a: { /* n:"EOF", */ f:parsenoop2 }, + 0x000c: { /* n:"CalcCount", */ f:parseuint16 }, // + 0x000d: { /* n:"CalcMode", */ f:parseuint16 }, // + 0x000e: { /* n:"CalcPrecision", */ f:parsebool }, // + 0x000f: { /* n:"CalcRefMode", */ f:parsebool }, // + 0x0010: { /* n:"CalcDelta", */ f:parse_Xnum }, // + 0x0011: { /* n:"CalcIter", */ f:parsebool }, // + 0x0012: { /* n:"Protect", */ f:parsebool }, + 0x0013: { /* n:"Password", */ f:parseuint16 }, + 0x0014: { /* n:"Header", */ f:parse_XLHeaderFooter }, + 0x0015: { /* n:"Footer", */ f:parse_XLHeaderFooter }, + 0x0017: { /* n:"ExternSheet", */ f:parse_ExternSheet }, + 0x0018: { /* n:"Lbl", */ f:parse_Lbl }, + 0x0019: { /* n:"WinProtect", */ f:parsebool }, + 0x001a: { /* n:"VerticalPageBreaks", */ }, + 0x001b: { /* n:"HorizontalPageBreaks", */ }, + 0x001c: { /* n:"Note", */ f:parse_Note }, + 0x001d: { /* n:"Selection", */ }, + 0x0022: { /* n:"Date1904", */ f:parsebool }, + 0x0023: { /* n:"ExternName", */ f:parse_ExternName }, + 0x0026: { /* n:"LeftMargin", */ f:parse_Xnum }, // * + 0x0027: { /* n:"RightMargin", */ f:parse_Xnum }, // * + 0x0028: { /* n:"TopMargin", */ f:parse_Xnum }, // * + 0x0029: { /* n:"BottomMargin", */ f:parse_Xnum }, // * + 0x002a: { /* n:"PrintRowCol", */ f:parsebool }, + 0x002b: { /* n:"PrintGrid", */ f:parsebool }, + 0x002f: { /* n:"FilePass", */ f:parse_FilePass }, + 0x0031: { /* n:"Font", */ f:parse_Font }, + 0x0033: { /* n:"PrintSize", */ f:parseuint16 }, + 0x003c: { /* n:"Continue", */ }, + 0x003d: { /* n:"Window1", */ f:parse_Window1 }, + 0x0040: { /* n:"Backup", */ f:parsebool }, + 0x0041: { /* n:"Pane", */ f:parse_Pane }, + 0x0042: { /* n:"CodePage", */ f:parseuint16 }, + 0x004d: { /* n:"Pls", */ }, + 0x0050: { /* n:"DCon", */ }, + 0x0051: { /* n:"DConRef", */ }, + 0x0052: { /* n:"DConName", */ }, + 0x0055: { /* n:"DefColWidth", */ f:parseuint16 }, + 0x0059: { /* n:"XCT", */ }, + 0x005a: { /* n:"CRN", */ }, + 0x005b: { /* n:"FileSharing", */ }, + 0x005c: { /* n:"WriteAccess", */ f:parse_WriteAccess }, + 0x005d: { /* n:"Obj", */ f:parse_Obj }, + 0x005e: { /* n:"Uncalced", */ }, + 0x005f: { /* n:"CalcSaveRecalc", */ f:parsebool }, // + 0x0060: { /* n:"Template", */ }, + 0x0061: { /* n:"Intl", */ }, + 0x0063: { /* n:"ObjProtect", */ f:parsebool }, + 0x007d: { /* n:"ColInfo", */ f:parse_ColInfo }, + 0x0080: { /* n:"Guts", */ f:parse_Guts }, + 0x0081: { /* n:"WsBool", */ f:parse_WsBool }, + 0x0082: { /* n:"GridSet", */ f:parseuint16 }, + 0x0083: { /* n:"HCenter", */ f:parsebool }, + 0x0084: { /* n:"VCenter", */ f:parsebool }, + 0x0085: { /* n:"BoundSheet8", */ f:parse_BoundSheet8 }, + 0x0086: { /* n:"WriteProtect", */ }, + 0x008c: { /* n:"Country", */ f:parse_Country }, + 0x008d: { /* n:"HideObj", */ f:parseuint16 }, + 0x0090: { /* n:"Sort", */ }, + 0x0092: { /* n:"Palette", */ f:parse_Palette }, + 0x0097: { /* n:"Sync", */ }, + 0x0098: { /* n:"LPr", */ }, + 0x0099: { /* n:"DxGCol", */ }, + 0x009a: { /* n:"FnGroupName", */ }, + 0x009b: { /* n:"FilterMode", */ }, + 0x009c: { /* n:"BuiltInFnGroupCount", */ f:parseuint16 }, + 0x009d: { /* n:"AutoFilterInfo", */ }, + 0x009e: { /* n:"AutoFilter", */ }, + 0x00a0: { /* n:"Scl", */ f:parse_Scl }, + 0x00a1: { /* n:"Setup", */ f:parse_Setup }, + 0x00ae: { /* n:"ScenMan", */ }, + 0x00af: { /* n:"SCENARIO", */ }, + 0x00b0: { /* n:"SxView", */ }, + 0x00b1: { /* n:"Sxvd", */ }, + 0x00b2: { /* n:"SXVI", */ }, + 0x00b4: { /* n:"SxIvd", */ }, + 0x00b5: { /* n:"SXLI", */ }, + 0x00b6: { /* n:"SXPI", */ }, + 0x00b8: { /* n:"DocRoute", */ }, + 0x00b9: { /* n:"RecipName", */ }, + 0x00bd: { /* n:"MulRk", */ f:parse_MulRk }, + 0x00be: { /* n:"MulBlank", */ f:parse_MulBlank }, + 0x00c1: { /* n:"Mms", */ f:parsenoop2 }, + 0x00c5: { /* n:"SXDI", */ }, + 0x00c6: { /* n:"SXDB", */ }, + 0x00c7: { /* n:"SXFDB", */ }, + 0x00c8: { /* n:"SXDBB", */ }, + 0x00c9: { /* n:"SXNum", */ }, + 0x00ca: { /* n:"SxBool", */ f:parsebool }, + 0x00cb: { /* n:"SxErr", */ }, + 0x00cc: { /* n:"SXInt", */ }, + 0x00cd: { /* n:"SXString", */ }, + 0x00ce: { /* n:"SXDtr", */ }, + 0x00cf: { /* n:"SxNil", */ }, + 0x00d0: { /* n:"SXTbl", */ }, + 0x00d1: { /* n:"SXTBRGIITM", */ }, + 0x00d2: { /* n:"SxTbpg", */ }, + 0x00d3: { /* n:"ObProj", */ }, + 0x00d5: { /* n:"SXStreamID", */ }, + 0x00d7: { /* n:"DBCell", */ }, + 0x00d8: { /* n:"SXRng", */ }, + 0x00d9: { /* n:"SxIsxoper", */ }, + 0x00da: { /* n:"BookBool", */ f:parseuint16 }, + 0x00dc: { /* n:"DbOrParamQry", */ }, + 0x00dd: { /* n:"ScenarioProtect", */ f:parsebool }, + 0x00de: { /* n:"OleObjectSize", */ }, + 0x00e0: { /* n:"XF", */ f:parse_XF }, + 0x00e1: { /* n:"InterfaceHdr", */ f:parse_InterfaceHdr }, + 0x00e2: { /* n:"InterfaceEnd", */ f:parsenoop2 }, + 0x00e3: { /* n:"SXVS", */ }, + 0x00e5: { /* n:"MergeCells", */ f:parse_MergeCells }, + 0x00e9: { /* n:"BkHim", */ }, + 0x00eb: { /* n:"MsoDrawingGroup", */ }, + 0x00ec: { /* n:"MsoDrawing", */ }, + 0x00ed: { /* n:"MsoDrawingSelection", */ }, + 0x00ef: { /* n:"PhoneticInfo", */ }, + 0x00f0: { /* n:"SxRule", */ }, + 0x00f1: { /* n:"SXEx", */ }, + 0x00f2: { /* n:"SxFilt", */ }, + 0x00f4: { /* n:"SxDXF", */ }, + 0x00f5: { /* n:"SxItm", */ }, + 0x00f6: { /* n:"SxName", */ }, + 0x00f7: { /* n:"SxSelect", */ }, + 0x00f8: { /* n:"SXPair", */ }, + 0x00f9: { /* n:"SxFmla", */ }, + 0x00fb: { /* n:"SxFormat", */ }, + 0x00fc: { /* n:"SST", */ f:parse_SST }, + 0x00fd: { /* n:"LabelSst", */ f:parse_LabelSst }, + 0x00ff: { /* n:"ExtSST", */ f:parse_ExtSST }, + 0x0100: { /* n:"SXVDEx", */ }, + 0x0103: { /* n:"SXFormula", */ }, + 0x0122: { /* n:"SXDBEx", */ }, + 0x0137: { /* n:"RRDInsDel", */ }, + 0x0138: { /* n:"RRDHead", */ }, + 0x013b: { /* n:"RRDChgCell", */ }, + 0x013d: { /* n:"RRTabId", */ f:parseuint16a }, + 0x013e: { /* n:"RRDRenSheet", */ }, + 0x013f: { /* n:"RRSort", */ }, + 0x0140: { /* n:"RRDMove", */ }, + 0x014a: { /* n:"RRFormat", */ }, + 0x014b: { /* n:"RRAutoFmt", */ }, + 0x014d: { /* n:"RRInsertSh", */ }, + 0x014e: { /* n:"RRDMoveBegin", */ }, + 0x014f: { /* n:"RRDMoveEnd", */ }, + 0x0150: { /* n:"RRDInsDelBegin", */ }, + 0x0151: { /* n:"RRDInsDelEnd", */ }, + 0x0152: { /* n:"RRDConflict", */ }, + 0x0153: { /* n:"RRDDefName", */ }, + 0x0154: { /* n:"RRDRstEtxp", */ }, + 0x015f: { /* n:"LRng", */ }, + 0x0160: { /* n:"UsesELFs", */ f:parsebool }, + 0x0161: { /* n:"DSF", */ f:parsenoop2 }, + 0x0191: { /* n:"CUsr", */ }, + 0x0192: { /* n:"CbUsr", */ }, + 0x0193: { /* n:"UsrInfo", */ }, + 0x0194: { /* n:"UsrExcl", */ }, + 0x0195: { /* n:"FileLock", */ }, + 0x0196: { /* n:"RRDInfo", */ }, + 0x0197: { /* n:"BCUsrs", */ }, + 0x0198: { /* n:"UsrChk", */ }, + 0x01a9: { /* n:"UserBView", */ }, + 0x01aa: { /* n:"UserSViewBegin", */ }, + 0x01ab: { /* n:"UserSViewEnd", */ }, + 0x01ac: { /* n:"RRDUserView", */ }, + 0x01ad: { /* n:"Qsi", */ }, + 0x01ae: { /* n:"SupBook", */ f:parse_SupBook }, + 0x01af: { /* n:"Prot4Rev", */ f:parsebool }, + 0x01b0: { /* n:"CondFmt", */ }, + 0x01b1: { /* n:"CF", */ }, + 0x01b2: { /* n:"DVal", */ }, + 0x01b5: { /* n:"DConBin", */ }, + 0x01b6: { /* n:"TxO", */ f:parse_TxO }, + 0x01b7: { /* n:"RefreshAll", */ f:parsebool }, // + 0x01b8: { /* n:"HLink", */ f:parse_HLink }, + 0x01b9: { /* n:"Lel", */ }, + 0x01ba: { /* n:"CodeName", */ f:parse_XLUnicodeString }, + 0x01bb: { /* n:"SXFDBType", */ }, + 0x01bc: { /* n:"Prot4RevPass", */ f:parseuint16 }, + 0x01bd: { /* n:"ObNoMacros", */ }, + 0x01be: { /* n:"Dv", */ }, + 0x01c0: { /* n:"Excel9File", */ f:parsenoop2 }, + 0x01c1: { /* n:"RecalcId", */ f:parse_RecalcId, r:2}, + 0x01c2: { /* n:"EntExU2", */ f:parsenoop2 }, + 0x0200: { /* n:"Dimensions", */ f:parse_Dimensions }, + 0x0201: { /* n:"Blank", */ f:parse_Blank }, + 0x0203: { /* n:"Number", */ f:parse_Number }, + 0x0204: { /* n:"Label", */ f:parse_Label }, + 0x0205: { /* n:"BoolErr", */ f:parse_BoolErr }, + 0x0207: { /* n:"String", */ f:parse_String }, + 0x0208: { /* n:"Row", */ f:parse_Row }, + 0x020b: { /* n:"Index", */ }, + 0x0221: { /* n:"Array", */ f:parse_Array }, + 0x0225: { /* n:"DefaultRowHeight", */ f:parse_DefaultRowHeight }, + 0x0236: { /* n:"Table", */ }, + 0x023e: { /* n:"Window2", */ f:parse_Window2 }, + 0x027e: { /* n:"RK", */ f:parse_RK }, + 0x0293: { /* n:"Style", */ }, + 0x0418: { /* n:"BigName", */ }, + 0x041e: { /* n:"Format", */ f:parse_Format }, + 0x043c: { /* n:"ContinueBigName", */ }, + 0x04bc: { /* n:"ShrFmla", */ f:parse_ShrFmla }, + 0x0800: { /* n:"HLinkTooltip", */ f:parse_HLinkTooltip }, + 0x0801: { /* n:"WebPub", */ }, + 0x0802: { /* n:"QsiSXTag", */ }, + 0x0803: { /* n:"DBQueryExt", */ }, + 0x0804: { /* n:"ExtString", */ }, + 0x0805: { /* n:"TxtQry", */ }, + 0x0806: { /* n:"Qsir", */ }, + 0x0807: { /* n:"Qsif", */ }, + 0x0808: { /* n:"RRDTQSIF", */ }, + 0x0809: { /* n:"BOF", */ f:parse_BOF }, + 0x080a: { /* n:"OleDbConn", */ }, + 0x080b: { /* n:"WOpt", */ }, + 0x080c: { /* n:"SXViewEx", */ }, + 0x080d: { /* n:"SXTH", */ }, + 0x080e: { /* n:"SXPIEx", */ }, + 0x080f: { /* n:"SXVDTEx", */ }, + 0x0810: { /* n:"SXViewEx9", */ }, + 0x0812: { /* n:"ContinueFrt", */ }, + 0x0813: { /* n:"RealTimeData", */ }, + 0x0850: { /* n:"ChartFrtInfo", */ }, + 0x0851: { /* n:"FrtWrapper", */ }, + 0x0852: { /* n:"StartBlock", */ }, + 0x0853: { /* n:"EndBlock", */ }, + 0x0854: { /* n:"StartObject", */ }, + 0x0855: { /* n:"EndObject", */ }, + 0x0856: { /* n:"CatLab", */ }, + 0x0857: { /* n:"YMult", */ }, + 0x0858: { /* n:"SXViewLink", */ }, + 0x0859: { /* n:"PivotChartBits", */ }, + 0x085a: { /* n:"FrtFontList", */ }, + 0x0862: { /* n:"SheetExt", */ }, + 0x0863: { /* n:"BookExt", */ r:12}, + 0x0864: { /* n:"SXAddl", */ }, + 0x0865: { /* n:"CrErr", */ }, + 0x0866: { /* n:"HFPicture", */ }, + 0x0867: { /* n:"FeatHdr", */ f:parsenoop2 }, + 0x0868: { /* n:"Feat", */ }, + 0x086a: { /* n:"DataLabExt", */ }, + 0x086b: { /* n:"DataLabExtContents", */ }, + 0x086c: { /* n:"CellWatch", */ }, + 0x0871: { /* n:"FeatHdr11", */ }, + 0x0872: { /* n:"Feature11", */ }, + 0x0874: { /* n:"DropDownObjIds", */ }, + 0x0875: { /* n:"ContinueFrt11", */ }, + 0x0876: { /* n:"DConn", */ }, + 0x0877: { /* n:"List12", */ }, + 0x0878: { /* n:"Feature12", */ }, + 0x0879: { /* n:"CondFmt12", */ }, + 0x087a: { /* n:"CF12", */ }, + 0x087b: { /* n:"CFEx", */ }, + 0x087c: { /* n:"XFCRC", */ f:parse_XFCRC, r:12 }, + 0x087d: { /* n:"XFExt", */ f:parse_XFExt, r:12 }, + 0x087e: { /* n:"AutoFilter12", */ }, + 0x087f: { /* n:"ContinueFrt12", */ }, + 0x0884: { /* n:"MDTInfo", */ }, + 0x0885: { /* n:"MDXStr", */ }, + 0x0886: { /* n:"MDXTuple", */ }, + 0x0887: { /* n:"MDXSet", */ }, + 0x0888: { /* n:"MDXProp", */ }, + 0x0889: { /* n:"MDXKPI", */ }, + 0x088a: { /* n:"MDB", */ }, + 0x088b: { /* n:"PLV", */ }, + 0x088c: { /* n:"Compat12", */ f:parsebool, r:12 }, + 0x088d: { /* n:"DXF", */ }, + 0x088e: { /* n:"TableStyles", */ r:12 }, + 0x088f: { /* n:"TableStyle", */ }, + 0x0890: { /* n:"TableStyleElement", */ }, + 0x0892: { /* n:"StyleExt", */ }, + 0x0893: { /* n:"NamePublish", */ }, + 0x0894: { /* n:"NameCmt", */ f:parse_NameCmt, r:12 }, + 0x0895: { /* n:"SortData", */ }, + 0x0896: { /* n:"Theme", */ f:parse_Theme, r:12 }, + 0x0897: { /* n:"GUIDTypeLib", */ }, + 0x0898: { /* n:"FnGrp12", */ }, + 0x0899: { /* n:"NameFnGrp12", */ }, + 0x089a: { /* n:"MTRSettings", */ f:parse_MTRSettings, r:12 }, + 0x089b: { /* n:"CompressPictures", */ f:parsenoop2 }, + 0x089c: { /* n:"HeaderFooter", */ }, + 0x089d: { /* n:"CrtLayout12", */ }, + 0x089e: { /* n:"CrtMlFrt", */ }, + 0x089f: { /* n:"CrtMlFrtContinue", */ }, + 0x08a3: { /* n:"ForceFullCalculation", */ f:parse_ForceFullCalculation }, + 0x08a4: { /* n:"ShapePropsStream", */ }, + 0x08a5: { /* n:"TextPropsStream", */ }, + 0x08a6: { /* n:"RichTextStream", */ }, + 0x08a7: { /* n:"CrtLayout12A", */ }, + 0x1001: { /* n:"Units", */ }, + 0x1002: { /* n:"Chart", */ }, + 0x1003: { /* n:"Series", */ }, + 0x1006: { /* n:"DataFormat", */ }, + 0x1007: { /* n:"LineFormat", */ }, + 0x1009: { /* n:"MarkerFormat", */ }, + 0x100a: { /* n:"AreaFormat", */ }, + 0x100b: { /* n:"PieFormat", */ }, + 0x100c: { /* n:"AttachedLabel", */ }, + 0x100d: { /* n:"SeriesText", */ }, + 0x1014: { /* n:"ChartFormat", */ }, + 0x1015: { /* n:"Legend", */ }, + 0x1016: { /* n:"SeriesList", */ }, + 0x1017: { /* n:"Bar", */ }, + 0x1018: { /* n:"Line", */ }, + 0x1019: { /* n:"Pie", */ }, + 0x101a: { /* n:"Area", */ }, + 0x101b: { /* n:"Scatter", */ }, + 0x101c: { /* n:"CrtLine", */ }, + 0x101d: { /* n:"Axis", */ }, + 0x101e: { /* n:"Tick", */ }, + 0x101f: { /* n:"ValueRange", */ }, + 0x1020: { /* n:"CatSerRange", */ }, + 0x1021: { /* n:"AxisLine", */ }, + 0x1022: { /* n:"CrtLink", */ }, + 0x1024: { /* n:"DefaultText", */ }, + 0x1025: { /* n:"Text", */ }, + 0x1026: { /* n:"FontX", */ f:parseuint16 }, + 0x1027: { /* n:"ObjectLink", */ }, + 0x1032: { /* n:"Frame", */ }, + 0x1033: { /* n:"Begin", */ }, + 0x1034: { /* n:"End", */ }, + 0x1035: { /* n:"PlotArea", */ }, + 0x103a: { /* n:"Chart3d", */ }, + 0x103c: { /* n:"PicF", */ }, + 0x103d: { /* n:"DropBar", */ }, + 0x103e: { /* n:"Radar", */ }, + 0x103f: { /* n:"Surf", */ }, + 0x1040: { /* n:"RadarArea", */ }, + 0x1041: { /* n:"AxisParent", */ }, + 0x1043: { /* n:"LegendException", */ }, + 0x1044: { /* n:"ShtProps", */ f:parse_ShtProps }, + 0x1045: { /* n:"SerToCrt", */ }, + 0x1046: { /* n:"AxesUsed", */ }, + 0x1048: { /* n:"SBaseRef", */ }, + 0x104a: { /* n:"SerParent", */ }, + 0x104b: { /* n:"SerAuxTrend", */ }, + 0x104e: { /* n:"IFmtRecord", */ }, + 0x104f: { /* n:"Pos", */ }, + 0x1050: { /* n:"AlRuns", */ }, + 0x1051: { /* n:"BRAI", */ }, + 0x105b: { /* n:"SerAuxErrBar", */ }, + 0x105c: { /* n:"ClrtClient", */ f:parse_ClrtClient }, + 0x105d: { /* n:"SerFmt", */ }, + 0x105f: { /* n:"Chart3DBarShape", */ }, + 0x1060: { /* n:"Fbi", */ }, + 0x1061: { /* n:"BopPop", */ }, + 0x1062: { /* n:"AxcExt", */ }, + 0x1063: { /* n:"Dat", */ }, + 0x1064: { /* n:"PlotGrowth", */ }, + 0x1065: { /* n:"SIIndex", */ }, + 0x1066: { /* n:"GelFrame", */ }, + 0x1067: { /* n:"BopPopCustom", */ }, + 0x1068: { /* n:"Fbi2", */ }, - /*::[*/0x0000/*::]*/: { /* n:"Dimensions", */ f:parse_Dimensions }, - /*::[*/0x0001/*::]*/: { /* n:"BIFF2BLANK", */ }, - /*::[*/0x0002/*::]*/: { /* n:"BIFF2INT", */ f:parse_BIFF2INT }, - /*::[*/0x0003/*::]*/: { /* n:"BIFF2NUM", */ f:parse_BIFF2NUM }, - /*::[*/0x0004/*::]*/: { /* n:"BIFF2STR", */ f:parse_BIFF2STR }, - /*::[*/0x0005/*::]*/: { /* n:"BIFF2BOOLERR", */ f:parse_BIFF2BOOLERR }, - /*::[*/0x0007/*::]*/: { /* n:"String", */ f:parse_BIFF2STRING }, - /*::[*/0x0008/*::]*/: { /* n:"BIFF2ROW", */ }, - /*::[*/0x0009/*::]*/: { /* n:"BOF", */ f:parse_BOF }, - /*::[*/0x000b/*::]*/: { /* n:"Index", */ }, - /*::[*/0x0016/*::]*/: { /* n:"ExternCount", */ f:parseuint16 }, - /*::[*/0x001e/*::]*/: { /* n:"BIFF2FORMAT", */ f:parse_BIFF2Format }, - /*::[*/0x001f/*::]*/: { /* n:"BIFF2FMTCNT", */ }, /* 16-bit cnt of BIFF2FORMAT records */ - /*::[*/0x0020/*::]*/: { /* n:"BIFF2COLINFO", */ }, - /*::[*/0x0021/*::]*/: { /* n:"Array", */ f:parse_Array }, - /*::[*/0x0024/*::]*/: { /* n:"COLWIDTH", */ }, - /*::[*/0x0025/*::]*/: { /* n:"DefaultRowHeight", */ f:parse_DefaultRowHeight }, + 0x0000: { /* n:"Dimensions", */ f:parse_Dimensions }, + 0x0001: { /* n:"BIFF2BLANK", */ }, + 0x0002: { /* n:"BIFF2INT", */ f:parse_BIFF2INT }, + 0x0003: { /* n:"BIFF2NUM", */ f:parse_BIFF2NUM }, + 0x0004: { /* n:"BIFF2STR", */ f:parse_BIFF2STR }, + 0x0005: { /* n:"BIFF2BOOLERR", */ f:parse_BIFF2BOOLERR }, + 0x0007: { /* n:"String", */ f:parse_BIFF2STRING }, + 0x0008: { /* n:"BIFF2ROW", */ }, + 0x0009: { /* n:"BOF", */ f:parse_BOF }, + 0x000b: { /* n:"Index", */ }, + 0x0016: { /* n:"ExternCount", */ f:parseuint16 }, + 0x001e: { /* n:"BIFF2FORMAT", */ f:parse_BIFF2Format }, + 0x001f: { /* n:"BIFF2FMTCNT", */ }, /* 16-bit cnt of BIFF2FORMAT records */ + 0x0020: { /* n:"BIFF2COLINFO", */ }, + 0x0021: { /* n:"Array", */ f:parse_Array }, + 0x0024: { /* n:"COLWIDTH", */ }, + 0x0025: { /* n:"DefaultRowHeight", */ f:parse_DefaultRowHeight }, // 0x002c ?? // 0x002d ?? // 0x002e ?? // 0x0030 FONTCOUNT: number of fonts - /*::[*/0x0032/*::]*/: { /* n:"BIFF2FONTXTRA", */ f:parse_BIFF2FONTXTRA }, + 0x0032: { /* n:"BIFF2FONTXTRA", */ f:parse_BIFF2FONTXTRA }, // 0x0035: INFOOPTS // 0x0036: TABLE (BIFF2 only) // 0x0037: TABLE2 (BIFF2 only) @@ -21604,7 +21734,7 @@ var XLSRecordEnum = { // 0x0039 ?? // 0x003a: BEGINPREF // 0x003b: ENDPREF - /*::[*/0x003e/*::]*/: { /* n:"BIFF2WINDOW2", */ }, + 0x003e: { /* n:"BIFF2WINDOW2", */ }, // 0x003f ?? // 0x0046: SHOWSCROLL // 0x0047: SHOWFORMULA @@ -21618,77 +21748,77 @@ var XLSRecordEnum = { // 0x0058: TOOLBAR (BIFF3) /* - - - */ - /*::[*/0x0034/*::]*/: { /* n:"DDEObjName", */ }, - /*::[*/0x0043/*::]*/: { /* n:"BIFF2XF", */ f:parse_BIFF2XF }, - /*::[*/0x0044/*::]*/: { /* n:"BIFF2XFINDEX", */ f:parseuint16 }, - /*::[*/0x0045/*::]*/: { /* n:"BIFF2FONTCLR", */ }, - /*::[*/0x0056/*::]*/: { /* n:"BIFF4FMTCNT", */ }, /* 16-bit cnt, similar to BIFF2 */ - /*::[*/0x007e/*::]*/: { /* n:"RK", */ }, /* Not necessarily same as 0x027e */ - /*::[*/0x007f/*::]*/: { /* n:"ImData", */ f:parse_ImData }, - /*::[*/0x0087/*::]*/: { /* n:"Addin", */ }, - /*::[*/0x0088/*::]*/: { /* n:"Edg", */ }, - /*::[*/0x0089/*::]*/: { /* n:"Pub", */ }, + 0x0034: { /* n:"DDEObjName", */ }, + 0x0043: { /* n:"BIFF2XF", */ f:parse_BIFF2XF }, + 0x0044: { /* n:"BIFF2XFINDEX", */ f:parseuint16 }, + 0x0045: { /* n:"BIFF2FONTCLR", */ }, + 0x0056: { /* n:"BIFF4FMTCNT", */ }, /* 16-bit cnt, similar to BIFF2 */ + 0x007e: { /* n:"RK", */ }, /* Not necessarily same as 0x027e */ + 0x007f: { /* n:"ImData", */ f:parse_ImData }, + 0x0087: { /* n:"Addin", */ }, + 0x0088: { /* n:"Edg", */ }, + 0x0089: { /* n:"Pub", */ }, // 0x8A // 0x8B LH: alternate menu key flag (BIFF3/4) // 0x8E - /*::[*/0x008F/*::]*/: { /* n:"BIFF4SheetInfo", */ f:parse_BIFF4SheetInfo }, - /*::[*/0x0091/*::]*/: { /* n:"Sub", */ }, + 0x008F: { /* n:"BIFF4SheetInfo", */ f:parse_BIFF4SheetInfo }, + 0x0091: { /* n:"Sub", */ }, // 0x93 STYLE - /*::[*/0x0094/*::]*/: { /* n:"LHRecord", */ }, - /*::[*/0x0095/*::]*/: { /* n:"LHNGraph", */ }, - /*::[*/0x0096/*::]*/: { /* n:"Sound", */ }, + 0x0094: { /* n:"LHRecord", */ }, + 0x0095: { /* n:"LHNGraph", */ }, + 0x0096: { /* n:"Sound", */ }, // 0xA2 FNPROTO: function prototypes (BIFF4) // 0xA3 // 0xA8 - /*::[*/0x00a9/*::]*/: { /* n:"CoordList", */ }, - /*::[*/0x00ab/*::]*/: { /* n:"GCW", */ }, - /*::[*/0x00bc/*::]*/: { /* n:"ShrFmla", */ }, /* Not necessarily same as 0x04bc */ - /*::[*/0x00bf/*::]*/: { /* n:"ToolbarHdr", */ }, - /*::[*/0x00c0/*::]*/: { /* n:"ToolbarEnd", */ }, - /*::[*/0x00c2/*::]*/: { /* n:"AddMenu", */ }, - /*::[*/0x00c3/*::]*/: { /* n:"DelMenu", */ }, - /*::[*/0x00d6/*::]*/: { /* n:"RString", */ f:parse_RString }, - /*::[*/0x00df/*::]*/: { /* n:"UDDesc", */ }, - /*::[*/0x00ea/*::]*/: { /* n:"TabIdConf", */ }, - /*::[*/0x0162/*::]*/: { /* n:"XL5Modify", */ }, - /*::[*/0x01a5/*::]*/: { /* n:"FileSharing2", */ }, - /*::[*/0x0206/*::]*/: { /* n:"Formula", */ f:parse_Formula }, - /*::[*/0x0209/*::]*/: { /* n:"BOF", */ f:parse_BOF }, - /*::[*/0x0218/*::]*/: { /* n:"Lbl", */ f:parse_Lbl }, - /*::[*/0x0223/*::]*/: { /* n:"ExternName", */ f:parse_ExternName }, - /*::[*/0x0231/*::]*/: { /* n:"Font", */ }, - /*::[*/0x0243/*::]*/: { /* n:"BIFF3XF", */ f:parse_BIFF3XF }, - /*::[*/0x0406/*::]*/: { /* n:"Formula", */ f:parse_Formula }, - /*::[*/0x0409/*::]*/: { /* n:"BOF", */ f:parse_BOF }, - /*::[*/0x0443/*::]*/: { /* n:"BIFF4XF", */ f:parse_BIFF4XF }, - /*::[*/0x086d/*::]*/: { /* n:"FeatInfo", */ }, - /*::[*/0x0873/*::]*/: { /* n:"FeatInfo11", */ }, - /*::[*/0x0881/*::]*/: { /* n:"SXAddl12", */ }, - /*::[*/0x08c0/*::]*/: { /* n:"AutoWebPub", */ }, - /*::[*/0x08c1/*::]*/: { /* n:"ListObj", */ }, - /*::[*/0x08c2/*::]*/: { /* n:"ListField", */ }, - /*::[*/0x08c3/*::]*/: { /* n:"ListDV", */ }, - /*::[*/0x08c4/*::]*/: { /* n:"ListCondFmt", */ }, - /*::[*/0x08c5/*::]*/: { /* n:"ListCF", */ }, - /*::[*/0x08c6/*::]*/: { /* n:"FMQry", */ }, - /*::[*/0x08c7/*::]*/: { /* n:"FMSQry", */ }, - /*::[*/0x08c8/*::]*/: { /* n:"PLV", */ }, - /*::[*/0x08c9/*::]*/: { /* n:"LnExt", */ }, - /*::[*/0x08ca/*::]*/: { /* n:"MkrExt", */ }, - /*::[*/0x08cb/*::]*/: { /* n:"CrtCoopt", */ }, - /*::[*/0x08d6/*::]*/: { /* n:"FRTArchId$", */ r:12 }, + 0x00a9: { /* n:"CoordList", */ }, + 0x00ab: { /* n:"GCW", */ }, + 0x00bc: { /* n:"ShrFmla", */ }, /* Not necessarily same as 0x04bc */ + 0x00bf: { /* n:"ToolbarHdr", */ }, + 0x00c0: { /* n:"ToolbarEnd", */ }, + 0x00c2: { /* n:"AddMenu", */ }, + 0x00c3: { /* n:"DelMenu", */ }, + 0x00d6: { /* n:"RString", */ f:parse_RString }, + 0x00df: { /* n:"UDDesc", */ }, + 0x00ea: { /* n:"TabIdConf", */ }, + 0x0162: { /* n:"XL5Modify", */ }, + 0x01a5: { /* n:"FileSharing2", */ }, + 0x0206: { /* n:"Formula", */ f:parse_Formula }, + 0x0209: { /* n:"BOF", */ f:parse_BOF }, + 0x0218: { /* n:"Lbl", */ f:parse_Lbl }, + 0x0223: { /* n:"ExternName", */ f:parse_ExternName }, + 0x0231: { /* n:"Font", */ }, + 0x0243: { /* n:"BIFF3XF", */ f:parse_BIFF3XF }, + 0x0406: { /* n:"Formula", */ f:parse_Formula }, + 0x0409: { /* n:"BOF", */ f:parse_BOF }, + 0x0443: { /* n:"BIFF4XF", */ f:parse_BIFF4XF }, + 0x086d: { /* n:"FeatInfo", */ }, + 0x0873: { /* n:"FeatInfo11", */ }, + 0x0881: { /* n:"SXAddl12", */ }, + 0x08c0: { /* n:"AutoWebPub", */ }, + 0x08c1: { /* n:"ListObj", */ }, + 0x08c2: { /* n:"ListField", */ }, + 0x08c3: { /* n:"ListDV", */ }, + 0x08c4: { /* n:"ListCondFmt", */ }, + 0x08c5: { /* n:"ListCF", */ }, + 0x08c6: { /* n:"FMQry", */ }, + 0x08c7: { /* n:"FMSQry", */ }, + 0x08c8: { /* n:"PLV", */ }, + 0x08c9: { /* n:"LnExt", */ }, + 0x08ca: { /* n:"MkrExt", */ }, + 0x08cb: { /* n:"CrtCoopt", */ }, + 0x08d6: { /* n:"FRTArchId$", */ r:12 }, /* --- multiplan 4 records --- */ - /*::[*/0x0065/*::]*/: { /* n:"", */ }, // one per window - /*::[*/0x0066/*::]*/: { /* n:"", */ }, // calc settings - /*::[*/0x0069/*::]*/: { /* n:"", */ }, // print header - /*::[*/0x006a/*::]*/: { /* n:"", */ }, // print footer - /*::[*/0x006b/*::]*/: { /* n:"", */ }, // print settings - /*::[*/0x006d/*::]*/: { /* n:"", */ }, // one per window - /*::[*/0x0070/*::]*/: { /* n:"", */ }, // includes default col width - /*::[*/0x0072/*::]*/: { /* n:"", */ }, // includes selected cell + 0x0065: { /* n:"", */ }, // one per window + 0x0066: { /* n:"", */ }, // calc settings + 0x0069: { /* n:"", */ }, // print header + 0x006a: { /* n:"", */ }, // print footer + 0x006b: { /* n:"", */ }, // print settings + 0x006d: { /* n:"", */ }, // one per window + 0x0070: { /* n:"", */ }, // includes default col width + 0x0072: { /* n:"", */ }, // includes selected cell - /*::[*/0x7262/*::]*/: {} + 0x7262: {} }; function write_biff_rec(ba/*:BufArray*/, type/*:number*/, payload, length/*:?number*/)/*:void*/ { @@ -21724,7 +21854,7 @@ function write_biff_continue(ba/*:BufArray*/, type/*:number*/, payload, length/* } } -function write_BIFF2BERR(r/*:number*/, c/*:number*/, val, t/*:string*/) { +function write_BIFF2BERR(r/*:number*/, c/*:number*/, val, t/*:?string*/) { var out = new_buf(9); write_BIFF2Cell(out, r, c); write_Bes(val, t || 'b', out); @@ -21794,7 +21924,7 @@ function write_ws_biff2_cell(ba/*:BufArray*/, cell/*:Cell*/, R/*:number*/, C/*:n function write_ws_biff2(ba/*:BufArray*/, ws/*:Worksheet*/, idx/*:number*/, opts, wb/*:Workbook*/) { var dense = ws["!data"] != null; - var range = safe_decode_range(ws['!ref'] || "A1"), ref/*:string*/, rr = "", cols/*:Array*/ = []; + var range = safe_decode_range(ws['!ref'] || "A1"), rr = "", cols/*:Array*/ = []; if(range.e.c > 0xFF || range.e.r > 0x3FFF) { if(opts.WTF) throw new Error("Range " + (ws['!ref'] || "A1") + " exceeds format limit A1:IV16384"); range.e.c = Math.min(range.e.c, 0xFF); @@ -22238,9 +22368,9 @@ function write_ws_biff8(idx/*:number*/, opts, wb/*:Workbook*/) { var date1904 = (((wb||{}).Workbook||{}).WBProps||{}).date1904; if(b8) ws['!links'] = []; + for(var C = range.s.c; C <= range.e.c; ++C) cols[C] = encode_col(C); var comments = []; var row = []; - for(var C = range.s.c; C <= range.e.c; ++C) cols[C] = encode_col(C); for(var R = range.s.r; R <= range.e.r; ++R) { if(dense) row = ws["!data"][R] || []; rr = encode_row(R); @@ -22408,12 +22538,12 @@ function html_to_sheet(str/*:string*/, _opts)/*:Workbook*/ { var opts = _opts || {}; var dense = (opts.dense != null) ? opts.dense : DENSE; var ws/*:Worksheet*/ = ({}/*:any*/); if(dense) ws["!data"] = []; - str = str.replace(//g, ""); + str = str_remove_ng(str, ""); var mtch/*:any*/ = str.match(/"); var mtch2/*:any*/ = str.match(/<\/table/i); var i/*:number*/ = mtch.index, j/*:number*/ = mtch2 && mtch2.index || str.length; - var rows = split_regex(str.slice(i, j), /(:?]*>)/i, ""); + var rows = split_regex(str.slice(i, j), /(:?]*>)/i, ""); var R = -1, C = 0, RS = 0, CS = 0; var range/*:Range*/ = {s:{r:10000000, c:10000000},e:{r:0,c:0}}; var merges/*:Array*/ = []; @@ -22489,7 +22619,7 @@ function make_html_row(ws/*:Worksheet*/, r/*:Range*/, R/*:number*/, o/*:Sheet2HT else if(cell) { sp["data-t"] = cell && cell.t || 'z'; // note: data-v is unaffected by the timezone interpretation - if(cell.v != null) sp["data-v"] = cell.v instanceof Date ? cell.v.toISOString() : cell.v; + if(cell.v != null) sp["data-v"] = escapehtml(cell.v instanceof Date ? cell.v.toISOString() : cell.v); if(cell.z != null) sp["data-z"] = cell.z; if(cell.l && (cell.l.Target || "#").charAt(0) != "#") w = '' + w + ''; } @@ -22504,7 +22634,7 @@ var HTML_BEGIN = 'SheetJS Table Export var HTML_END = '</body></html>'; function html_to_workbook(str/*:string*/, opts)/*:Workbook*/ { - var mtch = str.match(/<table[\s\S]*?>[\s\S]*?<\/table>/gi); + var mtch = str_match_xml_ig(str, "table"); if(!mtch || mtch.length == 0) throw new Error("Invalid HTML: could not find <table>"); if(mtch.length == 1) { var w = sheet_to_workbook(html_to_sheet(mtch[0], opts), opts); @@ -22657,9 +22787,9 @@ function parse_text_p(text/*:string*//*::, tag*/)/*:Array<any>*/ { .replace(/[\t\r\n]/g, " ").trim().replace(/ +/g, " ") .replace(/<text:s\/>/g," ") .replace(/<text:s text:c="(\d+)"\/>/g, function($$,$1) { return Array(parseInt($1,10)+1).join(" "); }) - .replace(/<text:tab[^>]*\/>/g,"\t") + .replace(/<text:tab[^<>]*\/>/g,"\t") .replace(/<text:line-break\/>/g,"\n"); - var v = unescapexml(fixed.replace(/<[^>]*>/g,"")); + var v = unescapexml(fixed.replace(/<[^<>]*>/g,"")); return [v]; } @@ -22669,10 +22799,10 @@ function parse_ods_styles(d/*:string*/, _opts, _nfm) { var number_format_map = _nfm || {}; var str = xlml_normalize(d); xlmlregex.lastIndex = 0; - str = str.replace(/<!--([\s\S]*?)-->/mg,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,""); + str = remove_doctype(str_remove_ng(str, "<!--", "-->")); var Rn, NFtag, NF = "", tNF = "", y, etpos = 0, tidx = -1, infmt = false, payload = ""; while((Rn = xlmlregex.exec(str))) { - switch((Rn[3]=Rn[3].replace(/_.*$/,""))) { + switch((Rn[3]=Rn[3].replace(/_[\s\S]*$/,""))) { /* Number Format Definitions */ case 'number-style': // <number:number-style> 16.29.2 case 'currency-style': // <number:currency-style> 16.29.8 @@ -22916,8 +23046,8 @@ function parse_content_xml(d/*:string*/, _opts, _nfm)/*:Workbook*/ { var isstub = false, intable = false; var i = 0; xlmlregex.lastIndex = 0; - str = str.replace(/<!--([\s\S]*?)-->/mg,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,""); - while((Rn = xlmlregex.exec(str))) switch((Rn[3]=Rn[3].replace(/_.*$/,""))) { + str = remove_doctype(str_remove_ng(str, "<!--", "-->")); + while((Rn = xlmlregex.exec(str))) switch((Rn[3]=Rn[3].replace(/_[\s\S]*$/,""))) { case 'table': case '工作表': // 9.1.2 <table:table> if(Rn[1]==='/') { @@ -23514,7 +23644,7 @@ function write_number_format_ods(nf/*:string*/, nfidx/*:string*/)/*:string*/ { if((t=nf.match(/# (\?+)\/(\d+)/))) { payload += writextag("number:fraction", null, {"number:min-integer-digits":0, "number:min-numerator-digits": t[1].length, "number:denominator-value": +t[2]}); break j; } /* percentages */ - if((t=nf.match(/(\d+)(|\.\d+)%/))) { type = "percentage"; payload += writextag("number:number", null, {"number:decimal-places": t[2] && t.length - 1 || 0, "number:min-decimal-places": t[2] && t.length - 1 || 0, "number:min-integer-digits": t[1].length }) + "<number:text>%</number:text>"; break j; } + if((t=nf.match(/\b(\d+)(|\.\d+)%/))) { type = "percentage"; payload += writextag("number:number", null, {"number:decimal-places": t[2] && t.length - 1 || 0, "number:min-decimal-places": t[2] && t.length - 1 || 0, "number:min-integer-digits": t[1].length }) + "<number:text>%</number:text>"; break j; } /* datetime */ var has_time = false; @@ -23643,17 +23773,17 @@ function write_names_ods(Names, SheetNames, idx) { return " " + writextag("table:named-range", null, { "table:name": name.Name, "table:cell-range-address": odsref, - "table:base-cell-address": odsref.replace(/[\.]?[^\.]*$/, ".$A$1") + "table:base-cell-address": odsref.replace(/[\.][^\.]*$/, ".$A$1") }); }).join("\n") + "\n </table:named-expressions>\n"; } var write_content_ods/*:{(wb:any, opts:any):string}*/ = /* @__PURE__ */(function() { /* 6.1.2 White Space Characters */ - var write_text_p = function(text/*:string*/)/*:string*/ { + var write_text_p = function(text/*:string*/, span)/*:string*/ { return escapexml(text) .replace(/ +/g, function($$){return '<text:s text:c="'+$$.length+'"/>';}) .replace(/\t/g, "<text:tab/>") - .replace(/\n/g, "</text:p><text:p>") + .replace(/\n/g, span ? "<text:line-break/>": "</text:p><text:p>") .replace(/^ /, "<text:s/>").replace(/ $/, "<text:s/>"); }; @@ -23883,7 +24013,7 @@ var write_content_ods/*:{(wb:any, opts:any):string}*/ = /* @__PURE__ */(function if(opts.bookType == "fods") { o.push('<office:document' + attr + fods + '>\n'); - o.push(write_meta_ods().replace(/<office:document-meta.*?>/, "").replace(/<\/office:document-meta>/, "") + "\n"); + o.push(write_meta_ods().replace(/<office:document-meta[^<>]*?>/, "").replace(/<\/office:document-meta>/, "") + "\n"); // TODO: settings (equiv of settings.xml for ODS) } else o.push('<office:document-content' + attr + '>\n'); // o.push(' <office:scripts/>\n'); @@ -25458,7 +25588,7 @@ function numbers_add_meta(mlist, newid, newloc) { mlist[3].push({ type: 2, data: write_shallow([ [], [{ type: 0, data: write_varint49(newid) }], - [{ type: 2, data: stru8(newloc.replace(/-.*$/, "")) }], + [{ type: 2, data: stru8(newloc.replace(/-[\s\S]*$/, "")) }], [{ type: 2, data: stru8(newloc) }], [{ type: 2, data: new Uint8Array([2, 0, 0]) }], [{ type: 2, data: new Uint8Array([2, 0, 0]) }], @@ -26460,7 +26590,7 @@ function parse_zip(zip/*:ZIP*/, opts/*:?ParseOpts*/)/*:Workbook*/ { if(wbrels && wbrels[i]) { path = 'xl/' + (wbrels[i][1]).replace(/[\/]?xl\//, ""); if(!safegetzipfile(zip, path)) path = wbrels[i][1]; - if(!safegetzipfile(zip, path)) path = wbrelsfile.replace(/_rels\/.*$/,"") + wbrels[i][1]; + if(!safegetzipfile(zip, path)) path = wbrelsfile.replace(/_rels\/[\S\s]*$/,"") + wbrels[i][1]; stype = wbrels[i][2]; } else { path = 'xl/worksheets/sheet'+(i+1-nmode)+"." + wbext; @@ -26513,7 +26643,7 @@ function parse_zip(zip/*:ZIP*/, opts/*:?ParseOpts*/)/*:Workbook*/ { if(dir.vba.length > 0) out.vbaraw = getzipdata(zip,strip_front_slash(dir.vba[0]),true); else if(dir.defaults && dir.defaults.bin === CT_VBA) out.vbaraw = getzipdata(zip, 'xl/vbaProject.bin',true); } - // TODO: pass back content types metdata for xlsm/xlsx resolution + // TODO: pass back content types metadata for xlsm/xlsx resolution out.bookType = xlsb ? "xlsb" : "xlsx"; return out; } @@ -27335,6 +27465,7 @@ function make_csv_row(sheet/*:Worksheet*/, r/*:Range*/, R/*:number*/, cols/*:Arr /* NOTE: Excel CSV does not support array formulae */ row.push(txt); } + if(o.strip) while(row[row.length - 1] === "") --row.length; if(o.blankrows === false && isempty) return null; return row.join(FS); } @@ -27346,7 +27477,6 @@ function sheet_to_csv(sheet/*:Worksheet*/, opts/*:?Sheet2CSVOpts*/)/*:string*/ { var r = safe_decode_range(sheet["!ref"]); var FS = o.FS !== undefined ? o.FS : ",", fs = FS.charCodeAt(0); var RS = o.RS !== undefined ? o.RS : "\n", rs = RS.charCodeAt(0); - var endregex = new RegExp((FS=="|" ? "\\|" : FS)+"+$"); var row = "", cols/*:Array<string>*/ = []; var colinfo/*:Array<ColInfo>*/ = o.skipHidden && sheet["!cols"] || []; var rowinfo/*:Array<ColInfo>*/ = o.skipHidden && sheet["!rows"] || []; @@ -27356,7 +27486,6 @@ function sheet_to_csv(sheet/*:Worksheet*/, opts/*:?Sheet2CSVOpts*/)/*:string*/ { if ((rowinfo[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,""); if(row || (o.blankrows !== false)) out.push((w++ ? RS : "") + row); } return out.join(""); @@ -27519,10 +27648,10 @@ function book_append_sheet(wb/*:Workbook*/, ws/*:Worksheet*/, name/*:?string*/, var i = 1; if(!name) for(; i <= 0xFFFF; ++i, name = undefined) if(wb.SheetNames.indexOf(name = "Sheet" + i) == -1) break; if(!name || wb.SheetNames.length >= 0xFFFF) throw new Error("Too many worksheets"); - if(roll && wb.SheetNames.indexOf(name) >= 0) { - var m = name.match(/(^.*?)(\d+)$/); - i = m && +m[2] || 0; - var root = m && m[1] || name; + if(roll && wb.SheetNames.indexOf(name) >= 0 && name.length < 32) { + var m = name.match(/\d+$/); // at this point, name length is capped at 32 + i = m && +m[0] || 0; + var root = m && name.slice(0, m.index) || name; for(++i; i <= 0xFFFF; ++i) if(wb.SheetNames.indexOf(name = root + i) == -1) break; } check_ws_name(name); @@ -27648,7 +27777,6 @@ function write_csv_stream(sheet/*:Worksheet*/, opts/*:?Sheet2CSVOpts*/) { var r = safe_decode_range(sheet["!ref"]); var FS = o.FS !== undefined ? o.FS : ",", fs = FS.charCodeAt(0); var RS = o.RS !== undefined ? o.RS : "\n", rs = RS.charCodeAt(0); - var endregex = new RegExp((FS=="|" ? "\\|" : FS)+"+$"); var row/*:?string*/ = "", cols/*:Array<string>*/ = []; var colinfo/*:Array<ColInfo>*/ = o.skipHidden && sheet["!cols"] || []; var rowinfo/*:Array<RowInfo>*/ = o.skipHidden && sheet["!rows"] || []; @@ -27662,7 +27790,6 @@ function write_csv_stream(sheet/*:Worksheet*/, opts/*:?Sheet2CSVOpts*/) { if ((rowinfo[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,""); if(row || (o.blankrows !== false)) return stream.push((w++ ? RS : "") + row); } } diff --git a/xlsx.full.min.js b/xlsx.full.min.js new file mode 100644 index 0000000..1f6672c --- /dev/null +++ b/xlsx.full.min.js @@ -0,0 +1,24 @@ +/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */ +var DO_NOT_EXPORT_CODEPAGE=true;var cptable={version:"1.15.0"};cptable[437]=function(){var e="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ ",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[620]=function(){var e="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäàąçêëèïîćÄĄĘęłôöĆûùŚÖÜ¢Ł¥śƒŹŻóÓńŃźż¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ ",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[737]=function(){var e="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρσςτυφχψ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ωάέήϊίόύϋώΆΈΉΊΌΎΏ±≥≤ΪΫ÷≈°∙·√ⁿ²■ ",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[850]=function(){var e="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø׃áíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈıÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´­±‗¾¶§÷¸°¨·¹³²■ ",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[852]=function(){var e="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäůćçłëŐőîŹÄĆÉĹĺôöĽľŚśÖÜŤťŁ×čáíóúĄąŽžĘ꬟Ⱥ«»░▒▓│┤ÁÂĚŞ╣║╗╝Żż┐└┴┬├─┼Ăă╚╔╩╦╠═╬¤đĐĎËďŇÍÎě┘┌█▄ŢŮ▀ÓßÔŃńňŠšŔÚŕŰýÝţ´­˝˛ˇ˘§÷¸°¨˙űŘř■ ",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[857]=function(){var e="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäàåçêëèïîıÄÅÉæÆôöòûùİÖÜø£ØŞşáíóúñÑĞ𿮬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ºªÊËÈ�ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµ�×ÚÛÙìÿ¯´­±�¾¶§÷¸°¨·¹³²■ ",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[861]=function(){var e="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäàåçêëèÐðÞÄÅÉæÆôöþûÝýÖÜø£Ø₧ƒáíóúÁÍÓÚ¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ ",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[865]=function(){var e="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø₧ƒáíóúñѪº¿⌐¬½¼¡«¤░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ ",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[866]=function(){var e="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№¤■ ",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[874]=function(){var e="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€����…�����������‘’“”•–—�������� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[895]=function(){var e="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ČüéďäĎŤčěĚĹÍľǪÄÁÉžŽôöÓůÚýÖÜŠĽÝŘťáíóúňŇŮÔšřŕŔ¼§«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ ",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[932]=function(){var e=[],r={},t=[],a;t[0]="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~���������������������������������。「」、・ヲァィゥェォャュョッーアイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワン゙゚��������������������������������".split("");for(a=0;a!=t[0].length;++a)if(t[0][a].charCodeAt(0)!==65533){r[t[0][a]]=0+a;e[0+a]=t[0][a]}t[129]="���������������������������������������������������������������� 、。,.・:;?!゛゜´`¨^ ̄_ヽヾゝゞ〃仝々〆〇ー―‐/\~∥|…‥‘’“”()〔〕[]{}〈〉《》「」『』【】+-±×�÷=≠<>≦≧∞∴♂♀°′″℃¥$¢£%#&*@§☆★○●◎◇◆□■△▲▽▼※〒→←↑↓〓�����������∈∋⊆⊇⊂⊃∪∩��������∧∨¬⇒⇔∀∃�����������∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬�������ʼn♯♭♪†‡¶����◯���".split("");for(a=0;a!=t[129].length;++a)if(t[129][a].charCodeAt(0)!==65533){r[t[129][a]]=33024+a;e[33024+a]=t[129][a]}t[130]="�������������������������������������������������������������������������������0123456789�������ABCDEFGHIJKLMNOPQRSTUVWXYZ�������abcdefghijklmnopqrstuvwxyz����ぁあぃいぅうぇえぉおかがきぎくぐけげこごさざしじすずせぜそぞただちぢっつづてでとどなにぬねのはばぱひびぴふぶぷへべぺほぼぽまみむめもゃやゅゆょよらりるれろゎわゐゑをん��������������".split("");for(a=0;a!=t[130].length;++a)if(t[130][a].charCodeAt(0)!==65533){r[t[130][a]]=33280+a;e[33280+a]=t[130][a]}t[131]="����������������������������������������������������������������ァアィイゥウェエォオカガキギクグケゲコゴサザシジスズセゼソゾタダチヂッツヅテデトドナニヌネノハバパヒビピフブプヘベペホボポマミ�ムメモャヤュユョヨラリルレロヮワヰヱヲンヴヵヶ��������ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ��������αβγδεζηθικλμνξοπρστυφχψω�����������������������������������������".split("");for(a=0;a!=t[131].length;++a)if(t[131][a].charCodeAt(0)!==65533){r[t[131][a]]=33536+a;e[33536+a]=t[131][a]}t[132]="����������������������������������������������������������������АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ���������������абвгдеёжзийклмн�опрстуфхцчшщъыьэюя�������������─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂�����������������������������������������������������������������".split("");for(a=0;a!=t[132].length;++a)if(t[132][a].charCodeAt(0)!==65533){r[t[132][a]]=33792+a;e[33792+a]=t[132][a]}t[135]="����������������������������������������������������������������①②③④⑤⑥⑦⑧⑨⑩⑪⑫⑬⑭⑮⑯⑰⑱⑲⑳ⅠⅡⅢⅣⅤⅥⅦⅧⅨⅩ�㍉㌔㌢㍍㌘㌧㌃㌶㍑㍗㌍㌦㌣㌫㍊㌻㎜㎝㎞㎎㎏㏄㎡��������㍻�〝〟№㏍℡㊤㊥㊦㊧㊨㈱㈲㈹㍾㍽㍼≒≡∫∮∑√⊥∠∟⊿∵∩∪���������������������������������������������������������������������������������������������������".split("");for(a=0;a!=t[135].length;++a)if(t[135][a].charCodeAt(0)!==65533){r[t[135][a]]=34560+a;e[34560+a]=t[135][a]}t[136]="���������������������������������������������������������������������������������������������������������������������������������������������������������������亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸稲茨芋鰯允印咽員因姻引飲淫胤蔭���".split("");for(a=0;a!=t[136].length;++a)if(t[136][a].charCodeAt(0)!==65533){r[t[136][a]]=34816+a;e[34816+a]=t[136][a]}t[137]="����������������������������������������������������������������院陰隠韻吋右宇烏羽迂雨卯鵜窺丑碓臼渦嘘唄欝蔚鰻姥厩浦瓜閏噂云運雲荏餌叡営嬰影映曳栄永泳洩瑛盈穎頴英衛詠鋭液疫益駅悦謁越閲榎厭円�園堰奄宴延怨掩援沿演炎焔煙燕猿縁艶苑薗遠鉛鴛塩於汚甥凹央奥往応押旺横欧殴王翁襖鴬鴎黄岡沖荻億屋憶臆桶牡乙俺卸恩温穏音下化仮何伽価佳加可嘉夏嫁家寡科暇果架歌河火珂禍禾稼箇花苛茄荷華菓蝦課嘩貨迦過霞蚊俄峨我牙画臥芽蛾賀雅餓駕介会解回塊壊廻快怪悔恢懐戒拐改���".split("");for(a=0;a!=t[137].length;++a)if(t[137][a].charCodeAt(0)!==65533){r[t[137][a]]=35072+a;e[35072+a]=t[137][a]}t[138]="����������������������������������������������������������������魁晦械海灰界皆絵芥蟹開階貝凱劾外咳害崖慨概涯碍蓋街該鎧骸浬馨蛙垣柿蛎鈎劃嚇各廓拡撹格核殻獲確穫覚角赫較郭閣隔革学岳楽額顎掛笠樫�橿梶鰍潟割喝恰括活渇滑葛褐轄且鰹叶椛樺鞄株兜竃蒲釜鎌噛鴨栢茅萱粥刈苅瓦乾侃冠寒刊勘勧巻喚堪姦完官寛干幹患感慣憾換敢柑桓棺款歓汗漢澗潅環甘監看竿管簡緩缶翰肝艦莞観諌貫還鑑間閑関陥韓館舘丸含岸巌玩癌眼岩翫贋雁頑顔願企伎危喜器基奇嬉寄岐希幾忌揮机旗既期棋棄���".split("");for(a=0;a!=t[138].length;++a)if(t[138][a].charCodeAt(0)!==65533){r[t[138][a]]=35328+a;e[35328+a]=t[138][a]}t[139]="����������������������������������������������������������������機帰毅気汽畿祈季稀紀徽規記貴起軌輝飢騎鬼亀偽儀妓宜戯技擬欺犠疑祇義蟻誼議掬菊鞠吉吃喫桔橘詰砧杵黍却客脚虐逆丘久仇休及吸宮弓急救�朽求汲泣灸球究窮笈級糾給旧牛去居巨拒拠挙渠虚許距鋸漁禦魚亨享京供侠僑兇競共凶協匡卿叫喬境峡強彊怯恐恭挟教橋況狂狭矯胸脅興蕎郷鏡響饗驚仰凝尭暁業局曲極玉桐粁僅勤均巾錦斤欣欽琴禁禽筋緊芹菌衿襟謹近金吟銀九倶句区狗玖矩苦躯駆駈駒具愚虞喰空偶寓遇隅串櫛釧屑屈���".split("");for(a=0;a!=t[139].length;++a)if(t[139][a].charCodeAt(0)!==65533){r[t[139][a]]=35584+a;e[35584+a]=t[139][a]}t[140]="����������������������������������������������������������������掘窟沓靴轡窪熊隈粂栗繰桑鍬勲君薫訓群軍郡卦袈祁係傾刑兄啓圭珪型契形径恵慶慧憩掲携敬景桂渓畦稽系経継繋罫茎荊蛍計詣警軽頚鶏芸迎鯨�劇戟撃激隙桁傑欠決潔穴結血訣月件倹倦健兼券剣喧圏堅嫌建憲懸拳捲検権牽犬献研硯絹県肩見謙賢軒遣鍵険顕験鹸元原厳幻弦減源玄現絃舷言諺限乎個古呼固姑孤己庫弧戸故枯湖狐糊袴股胡菰虎誇跨鈷雇顧鼓五互伍午呉吾娯後御悟梧檎瑚碁語誤護醐乞鯉交佼侯候倖光公功効勾厚口向���".split("");for(a=0;a!=t[140].length;++a)if(t[140][a].charCodeAt(0)!==65533){r[t[140][a]]=35840+a;e[35840+a]=t[140][a]}t[141]="����������������������������������������������������������������后喉坑垢好孔孝宏工巧巷幸広庚康弘恒慌抗拘控攻昂晃更杭校梗構江洪浩港溝甲皇硬稿糠紅紘絞綱耕考肯肱腔膏航荒行衡講貢購郊酵鉱砿鋼閤降�項香高鴻剛劫号合壕拷濠豪轟麹克刻告国穀酷鵠黒獄漉腰甑忽惚骨狛込此頃今困坤墾婚恨懇昏昆根梱混痕紺艮魂些佐叉唆嵯左差査沙瑳砂詐鎖裟坐座挫債催再最哉塞妻宰彩才採栽歳済災采犀砕砦祭斎細菜裁載際剤在材罪財冴坂阪堺榊肴咲崎埼碕鷺作削咋搾昨朔柵窄策索錯桜鮭笹匙冊刷���".split("");for(a=0;a!=t[141].length;++a)if(t[141][a].charCodeAt(0)!==65533){r[t[141][a]]=36096+a;e[36096+a]=t[141][a]}t[142]="����������������������������������������������������������������察拶撮擦札殺薩雑皐鯖捌錆鮫皿晒三傘参山惨撒散桟燦珊産算纂蚕讃賛酸餐斬暫残仕仔伺使刺司史嗣四士始姉姿子屍市師志思指支孜斯施旨枝止�死氏獅祉私糸紙紫肢脂至視詞詩試誌諮資賜雌飼歯事似侍児字寺慈持時次滋治爾璽痔磁示而耳自蒔辞汐鹿式識鴫竺軸宍雫七叱執失嫉室悉湿漆疾質実蔀篠偲柴芝屡蕊縞舎写射捨赦斜煮社紗者謝車遮蛇邪借勺尺杓灼爵酌釈錫若寂弱惹主取守手朱殊狩珠種腫趣酒首儒受呪寿授樹綬需囚収周���".split("");for(a=0;a!=t[142].length;++a)if(t[142][a].charCodeAt(0)!==65533){r[t[142][a]]=36352+a;e[36352+a]=t[142][a]}t[143]="����������������������������������������������������������������宗就州修愁拾洲秀秋終繍習臭舟蒐衆襲讐蹴輯週酋酬集醜什住充十従戎柔汁渋獣縦重銃叔夙宿淑祝縮粛塾熟出術述俊峻春瞬竣舜駿准循旬楯殉淳�準潤盾純巡遵醇順処初所暑曙渚庶緒署書薯藷諸助叙女序徐恕鋤除傷償勝匠升召哨商唱嘗奨妾娼宵将小少尚庄床廠彰承抄招掌捷昇昌昭晶松梢樟樵沼消渉湘焼焦照症省硝礁祥称章笑粧紹肖菖蒋蕉衝裳訟証詔詳象賞醤鉦鍾鐘障鞘上丈丞乗冗剰城場壌嬢常情擾条杖浄状畳穣蒸譲醸錠嘱埴飾���".split("");for(a=0;a!=t[143].length;++a)if(t[143][a].charCodeAt(0)!==65533){r[t[143][a]]=36608+a;e[36608+a]=t[143][a]}t[144]="����������������������������������������������������������������拭植殖燭織職色触食蝕辱尻伸信侵唇娠寝審心慎振新晋森榛浸深申疹真神秦紳臣芯薪親診身辛進針震人仁刃塵壬尋甚尽腎訊迅陣靭笥諏須酢図厨�逗吹垂帥推水炊睡粋翠衰遂酔錐錘随瑞髄崇嵩数枢趨雛据杉椙菅頗雀裾澄摺寸世瀬畝是凄制勢姓征性成政整星晴棲栖正清牲生盛精聖声製西誠誓請逝醒青静斉税脆隻席惜戚斥昔析石積籍績脊責赤跡蹟碩切拙接摂折設窃節説雪絶舌蝉仙先千占宣専尖川戦扇撰栓栴泉浅洗染潜煎煽旋穿箭線���".split("");for(a=0;a!=t[144].length;++a)if(t[144][a].charCodeAt(0)!==65533){r[t[144][a]]=36864+a;e[36864+a]=t[144][a]}t[145]="����������������������������������������������������������������繊羨腺舛船薦詮賎践選遷銭銑閃鮮前善漸然全禅繕膳糎噌塑岨措曾曽楚狙疏疎礎祖租粗素組蘇訴阻遡鼠僧創双叢倉喪壮奏爽宋層匝惣想捜掃挿掻�操早曹巣槍槽漕燥争痩相窓糟総綜聡草荘葬蒼藻装走送遭鎗霜騒像増憎臓蔵贈造促側則即息捉束測足速俗属賊族続卒袖其揃存孫尊損村遜他多太汰詑唾堕妥惰打柁舵楕陀駄騨体堆対耐岱帯待怠態戴替泰滞胎腿苔袋貸退逮隊黛鯛代台大第醍題鷹滝瀧卓啄宅托択拓沢濯琢託鐸濁諾茸凧蛸只���".split("");for(a=0;a!=t[145].length;++a)if(t[145][a].charCodeAt(0)!==65533){r[t[145][a]]=37120+a;e[37120+a]=t[145][a]}t[146]="����������������������������������������������������������������叩但達辰奪脱巽竪辿棚谷狸鱈樽誰丹単嘆坦担探旦歎淡湛炭短端箪綻耽胆蛋誕鍛団壇弾断暖檀段男談値知地弛恥智池痴稚置致蜘遅馳築畜竹筑蓄�逐秩窒茶嫡着中仲宙忠抽昼柱注虫衷註酎鋳駐樗瀦猪苧著貯丁兆凋喋寵帖帳庁弔張彫徴懲挑暢朝潮牒町眺聴脹腸蝶調諜超跳銚長頂鳥勅捗直朕沈珍賃鎮陳津墜椎槌追鎚痛通塚栂掴槻佃漬柘辻蔦綴鍔椿潰坪壷嬬紬爪吊釣鶴亭低停偵剃貞呈堤定帝底庭廷弟悌抵挺提梯汀碇禎程締艇訂諦蹄逓���".split("");for(a=0;a!=t[146].length;++a)if(t[146][a].charCodeAt(0)!==65533){r[t[146][a]]=37376+a;e[37376+a]=t[146][a]}t[147]="����������������������������������������������������������������邸鄭釘鼎泥摘擢敵滴的笛適鏑溺哲徹撤轍迭鉄典填天展店添纏甜貼転顛点伝殿澱田電兎吐堵塗妬屠徒斗杜渡登菟賭途都鍍砥砺努度土奴怒倒党冬�凍刀唐塔塘套宕島嶋悼投搭東桃梼棟盗淘湯涛灯燈当痘祷等答筒糖統到董蕩藤討謄豆踏逃透鐙陶頭騰闘働動同堂導憧撞洞瞳童胴萄道銅峠鴇匿得徳涜特督禿篤毒独読栃橡凸突椴届鳶苫寅酉瀞噸屯惇敦沌豚遁頓呑曇鈍奈那内乍凪薙謎灘捺鍋楢馴縄畷南楠軟難汝二尼弐迩匂賑肉虹廿日乳入���".split("");for(a=0;a!=t[147].length;++a)if(t[147][a].charCodeAt(0)!==65533){r[t[147][a]]=37632+a;e[37632+a]=t[147][a]}t[148]="����������������������������������������������������������������如尿韮任妊忍認濡禰祢寧葱猫熱年念捻撚燃粘乃廼之埜嚢悩濃納能脳膿農覗蚤巴把播覇杷波派琶破婆罵芭馬俳廃拝排敗杯盃牌背肺輩配倍培媒梅�楳煤狽買売賠陪這蝿秤矧萩伯剥博拍柏泊白箔粕舶薄迫曝漠爆縛莫駁麦函箱硲箸肇筈櫨幡肌畑畠八鉢溌発醗髪伐罰抜筏閥鳩噺塙蛤隼伴判半反叛帆搬斑板氾汎版犯班畔繁般藩販範釆煩頒飯挽晩番盤磐蕃蛮匪卑否妃庇彼悲扉批披斐比泌疲皮碑秘緋罷肥被誹費避非飛樋簸備尾微枇毘琵眉美���".split("");for(a=0;a!=t[148].length;++a)if(t[148][a].charCodeAt(0)!==65533){r[t[148][a]]=37888+a;e[37888+a]=t[148][a]}t[149]="����������������������������������������������������������������鼻柊稗匹疋髭彦膝菱肘弼必畢筆逼桧姫媛紐百謬俵彪標氷漂瓢票表評豹廟描病秒苗錨鋲蒜蛭鰭品彬斌浜瀕貧賓頻敏瓶不付埠夫婦富冨布府怖扶敷�斧普浮父符腐膚芙譜負賦赴阜附侮撫武舞葡蕪部封楓風葺蕗伏副復幅服福腹複覆淵弗払沸仏物鮒分吻噴墳憤扮焚奮粉糞紛雰文聞丙併兵塀幣平弊柄並蔽閉陛米頁僻壁癖碧別瞥蔑箆偏変片篇編辺返遍便勉娩弁鞭保舗鋪圃捕歩甫補輔穂募墓慕戊暮母簿菩倣俸包呆報奉宝峰峯崩庖抱捧放方朋���".split("");for(a=0;a!=t[149].length;++a)if(t[149][a].charCodeAt(0)!==65533){r[t[149][a]]=38144+a;e[38144+a]=t[149][a]}t[150]="����������������������������������������������������������������法泡烹砲縫胞芳萌蓬蜂褒訪豊邦鋒飽鳳鵬乏亡傍剖坊妨帽忘忙房暴望某棒冒紡肪膨謀貌貿鉾防吠頬北僕卜墨撲朴牧睦穆釦勃没殆堀幌奔本翻凡盆�摩磨魔麻埋妹昧枚毎哩槙幕膜枕鮪柾鱒桝亦俣又抹末沫迄侭繭麿万慢満漫蔓味未魅巳箕岬密蜜湊蓑稔脈妙粍民眠務夢無牟矛霧鵡椋婿娘冥名命明盟迷銘鳴姪牝滅免棉綿緬面麺摸模茂妄孟毛猛盲網耗蒙儲木黙目杢勿餅尤戻籾貰問悶紋門匁也冶夜爺耶野弥矢厄役約薬訳躍靖柳薮鑓愉愈油癒���".split("");for(a=0;a!=t[150].length;++a)if(t[150][a].charCodeAt(0)!==65533){r[t[150][a]]=38400+a;e[38400+a]=t[150][a]}t[151]="����������������������������������������������������������������諭輸唯佑優勇友宥幽悠憂揖有柚湧涌猶猷由祐裕誘遊邑郵雄融夕予余与誉輿預傭幼妖容庸揚揺擁曜楊様洋溶熔用窯羊耀葉蓉要謡踊遥陽養慾抑欲�沃浴翌翼淀羅螺裸来莱頼雷洛絡落酪乱卵嵐欄濫藍蘭覧利吏履李梨理璃痢裏裡里離陸律率立葎掠略劉流溜琉留硫粒隆竜龍侶慮旅虜了亮僚両凌寮料梁涼猟療瞭稜糧良諒遼量陵領力緑倫厘林淋燐琳臨輪隣鱗麟瑠塁涙累類令伶例冷励嶺怜玲礼苓鈴隷零霊麗齢暦歴列劣烈裂廉恋憐漣煉簾練聯���".split("");for(a=0;a!=t[151].length;++a)if(t[151][a].charCodeAt(0)!==65533){r[t[151][a]]=38656+a;e[38656+a]=t[151][a]}t[152]="����������������������������������������������������������������蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑枠鷲亙亘鰐詫藁蕨椀湾碗腕��������������������������������������������弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆偃假會偕偐偈做偖偬偸傀傚傅傴傲���".split("");for(a=0;a!=t[152].length;++a)if(t[152][a].charCodeAt(0)!==65533){r[t[152][a]]=38912+a;e[38912+a]=t[152][a]}t[153]="����������������������������������������������������������������僉僊傳僂僖僞僥僭僣僮價僵儉儁儂儖儕儔儚儡儺儷儼儻儿兀兒兌兔兢竸兩兪兮冀冂囘册冉冏冑冓冕冖冤冦冢冩冪冫决冱冲冰况冽凅凉凛几處凩凭�凰凵凾刄刋刔刎刧刪刮刳刹剏剄剋剌剞剔剪剴剩剳剿剽劍劔劒剱劈劑辨辧劬劭劼劵勁勍勗勞勣勦飭勠勳勵勸勹匆匈甸匍匐匏匕匚匣匯匱匳匸區卆卅丗卉卍凖卞卩卮夘卻卷厂厖厠厦厥厮厰厶參簒雙叟曼燮叮叨叭叺吁吽呀听吭吼吮吶吩吝呎咏呵咎呟呱呷呰咒呻咀呶咄咐咆哇咢咸咥咬哄哈咨���".split("");for(a=0;a!=t[153].length;++a)if(t[153][a].charCodeAt(0)!==65533){r[t[153][a]]=39168+a;e[39168+a]=t[153][a]}t[154]="����������������������������������������������������������������咫哂咤咾咼哘哥哦唏唔哽哮哭哺哢唹啀啣啌售啜啅啖啗唸唳啝喙喀咯喊喟啻啾喘喞單啼喃喩喇喨嗚嗅嗟嗄嗜嗤嗔嘔嗷嘖嗾嗽嘛嗹噎噐營嘴嘶嘲嘸�噫噤嘯噬噪嚆嚀嚊嚠嚔嚏嚥嚮嚶嚴囂嚼囁囃囀囈囎囑囓囗囮囹圀囿圄圉圈國圍圓團圖嗇圜圦圷圸坎圻址坏坩埀垈坡坿垉垓垠垳垤垪垰埃埆埔埒埓堊埖埣堋堙堝塲堡塢塋塰毀塒堽塹墅墹墟墫墺壞墻墸墮壅壓壑壗壙壘壥壜壤壟壯壺壹壻壼壽夂夊夐夛梦夥夬夭夲夸夾竒奕奐奎奚奘奢奠奧奬奩���".split("");for(a=0;a!=t[154].length;++a)if(t[154][a].charCodeAt(0)!==65533){r[t[154][a]]=39424+a;e[39424+a]=t[154][a]}t[155]="����������������������������������������������������������������奸妁妝佞侫妣妲姆姨姜妍姙姚娥娟娑娜娉娚婀婬婉娵娶婢婪媚媼媾嫋嫂媽嫣嫗嫦嫩嫖嫺嫻嬌嬋嬖嬲嫐嬪嬶嬾孃孅孀孑孕孚孛孥孩孰孳孵學斈孺宀�它宦宸寃寇寉寔寐寤實寢寞寥寫寰寶寳尅將專對尓尠尢尨尸尹屁屆屎屓屐屏孱屬屮乢屶屹岌岑岔妛岫岻岶岼岷峅岾峇峙峩峽峺峭嶌峪崋崕崗嵜崟崛崑崔崢崚崙崘嵌嵒嵎嵋嵬嵳嵶嶇嶄嶂嶢嶝嶬嶮嶽嶐嶷嶼巉巍巓巒巖巛巫已巵帋帚帙帑帛帶帷幄幃幀幎幗幔幟幢幤幇幵并幺麼广庠廁廂廈廐廏���".split("");for(a=0;a!=t[155].length;++a)if(t[155][a].charCodeAt(0)!==65533){r[t[155][a]]=39680+a;e[39680+a]=t[155][a]}t[156]="����������������������������������������������������������������廖廣廝廚廛廢廡廨廩廬廱廳廰廴廸廾弃弉彝彜弋弑弖弩弭弸彁彈彌彎弯彑彖彗彙彡彭彳彷徃徂彿徊很徑徇從徙徘徠徨徭徼忖忻忤忸忱忝悳忿怡恠�怙怐怩怎怱怛怕怫怦怏怺恚恁恪恷恟恊恆恍恣恃恤恂恬恫恙悁悍惧悃悚悄悛悖悗悒悧悋惡悸惠惓悴忰悽惆悵惘慍愕愆惶惷愀惴惺愃愡惻惱愍愎慇愾愨愧慊愿愼愬愴愽慂慄慳慷慘慙慚慫慴慯慥慱慟慝慓慵憙憖憇憬憔憚憊憑憫憮懌懊應懷懈懃懆憺懋罹懍懦懣懶懺懴懿懽懼懾戀戈戉戍戌戔戛���".split("");for(a=0;a!=t[156].length;++a)if(t[156][a].charCodeAt(0)!==65533){r[t[156][a]]=39936+a;e[39936+a]=t[156][a]}t[157]="����������������������������������������������������������������戞戡截戮戰戲戳扁扎扞扣扛扠扨扼抂抉找抒抓抖拔抃抔拗拑抻拏拿拆擔拈拜拌拊拂拇抛拉挌拮拱挧挂挈拯拵捐挾捍搜捏掖掎掀掫捶掣掏掉掟掵捫�捩掾揩揀揆揣揉插揶揄搖搴搆搓搦搶攝搗搨搏摧摯摶摎攪撕撓撥撩撈撼據擒擅擇撻擘擂擱擧舉擠擡抬擣擯攬擶擴擲擺攀擽攘攜攅攤攣攫攴攵攷收攸畋效敖敕敍敘敞敝敲數斂斃變斛斟斫斷旃旆旁旄旌旒旛旙无旡旱杲昊昃旻杳昵昶昴昜晏晄晉晁晞晝晤晧晨晟晢晰暃暈暎暉暄暘暝曁暹曉暾暼���".split("");for(a=0;a!=t[157].length;++a)if(t[157][a].charCodeAt(0)!==65533){r[t[157][a]]=40192+a;e[40192+a]=t[157][a]}t[158]="����������������������������������������������������������������曄暸曖曚曠昿曦曩曰曵曷朏朖朞朦朧霸朮朿朶杁朸朷杆杞杠杙杣杤枉杰枩杼杪枌枋枦枡枅枷柯枴柬枳柩枸柤柞柝柢柮枹柎柆柧檜栞框栩桀桍栲桎�梳栫桙档桷桿梟梏梭梔條梛梃檮梹桴梵梠梺椏梍桾椁棊椈棘椢椦棡椌棍棔棧棕椶椒椄棗棣椥棹棠棯椨椪椚椣椡棆楹楷楜楸楫楔楾楮椹楴椽楙椰楡楞楝榁楪榲榮槐榿槁槓榾槎寨槊槝榻槃榧樮榑榠榜榕榴槞槨樂樛槿權槹槲槧樅榱樞槭樔槫樊樒櫁樣樓橄樌橲樶橸橇橢橙橦橈樸樢檐檍檠檄檢檣���".split("");for(a=0;a!=t[158].length;++a)if(t[158][a].charCodeAt(0)!==65533){r[t[158][a]]=40448+a;e[40448+a]=t[158][a]}t[159]="����������������������������������������������������������������檗蘗檻櫃櫂檸檳檬櫞櫑櫟檪櫚櫪櫻欅蘖櫺欒欖鬱欟欸欷盜欹飮歇歃歉歐歙歔歛歟歡歸歹歿殀殄殃殍殘殕殞殤殪殫殯殲殱殳殷殼毆毋毓毟毬毫毳毯�麾氈氓气氛氤氣汞汕汢汪沂沍沚沁沛汾汨汳沒沐泄泱泓沽泗泅泝沮沱沾沺泛泯泙泪洟衍洶洫洽洸洙洵洳洒洌浣涓浤浚浹浙涎涕濤涅淹渕渊涵淇淦涸淆淬淞淌淨淒淅淺淙淤淕淪淮渭湮渮渙湲湟渾渣湫渫湶湍渟湃渺湎渤滿渝游溂溪溘滉溷滓溽溯滄溲滔滕溏溥滂溟潁漑灌滬滸滾漿滲漱滯漲滌���".split("");for(a=0;a!=t[159].length;++a)if(t[159][a].charCodeAt(0)!==65533){r[t[159][a]]=40704+a;e[40704+a]=t[159][a]}t[224]="����������������������������������������������������������������漾漓滷澆潺潸澁澀潯潛濳潭澂潼潘澎澑濂潦澳澣澡澤澹濆澪濟濕濬濔濘濱濮濛瀉瀋濺瀑瀁瀏濾瀛瀚潴瀝瀘瀟瀰瀾瀲灑灣炙炒炯烱炬炸炳炮烟烋烝�烙焉烽焜焙煥煕熈煦煢煌煖煬熏燻熄熕熨熬燗熹熾燒燉燔燎燠燬燧燵燼燹燿爍爐爛爨爭爬爰爲爻爼爿牀牆牋牘牴牾犂犁犇犒犖犢犧犹犲狃狆狄狎狒狢狠狡狹狷倏猗猊猜猖猝猴猯猩猥猾獎獏默獗獪獨獰獸獵獻獺珈玳珎玻珀珥珮珞璢琅瑯琥珸琲琺瑕琿瑟瑙瑁瑜瑩瑰瑣瑪瑶瑾璋璞璧瓊瓏瓔珱���".split("");for(a=0;a!=t[224].length;++a)if(t[224][a].charCodeAt(0)!==65533){r[t[224][a]]=57344+a;e[57344+a]=t[224][a]}t[225]="����������������������������������������������������������������瓠瓣瓧瓩瓮瓲瓰瓱瓸瓷甄甃甅甌甎甍甕甓甞甦甬甼畄畍畊畉畛畆畚畩畤畧畫畭畸當疆疇畴疊疉疂疔疚疝疥疣痂疳痃疵疽疸疼疱痍痊痒痙痣痞痾痿�痼瘁痰痺痲痳瘋瘍瘉瘟瘧瘠瘡瘢瘤瘴瘰瘻癇癈癆癜癘癡癢癨癩癪癧癬癰癲癶癸發皀皃皈皋皎皖皓皙皚皰皴皸皹皺盂盍盖盒盞盡盥盧盪蘯盻眈眇眄眩眤眞眥眦眛眷眸睇睚睨睫睛睥睿睾睹瞎瞋瞑瞠瞞瞰瞶瞹瞿瞼瞽瞻矇矍矗矚矜矣矮矼砌砒礦砠礪硅碎硴碆硼碚碌碣碵碪碯磑磆磋磔碾碼磅磊磬���".split("");for(a=0;a!=t[225].length;++a)if(t[225][a].charCodeAt(0)!==65533){r[t[225][a]]=57600+a;e[57600+a]=t[225][a]}t[226]="����������������������������������������������������������������磧磚磽磴礇礒礑礙礬礫祀祠祗祟祚祕祓祺祿禊禝禧齋禪禮禳禹禺秉秕秧秬秡秣稈稍稘稙稠稟禀稱稻稾稷穃穗穉穡穢穩龝穰穹穽窈窗窕窘窖窩竈窰�窶竅竄窿邃竇竊竍竏竕竓站竚竝竡竢竦竭竰笂笏笊笆笳笘笙笞笵笨笶筐筺笄筍笋筌筅筵筥筴筧筰筱筬筮箝箘箟箍箜箚箋箒箏筝箙篋篁篌篏箴篆篝篩簑簔篦篥籠簀簇簓篳篷簗簍篶簣簧簪簟簷簫簽籌籃籔籏籀籐籘籟籤籖籥籬籵粃粐粤粭粢粫粡粨粳粲粱粮粹粽糀糅糂糘糒糜糢鬻糯糲糴糶糺紆���".split("");for(a=0;a!=t[226].length;++a)if(t[226][a].charCodeAt(0)!==65533){r[t[226][a]]=57856+a;e[57856+a]=t[226][a]}t[227]="����������������������������������������������������������������紂紜紕紊絅絋紮紲紿紵絆絳絖絎絲絨絮絏絣經綉絛綏絽綛綺綮綣綵緇綽綫總綢綯緜綸綟綰緘緝緤緞緻緲緡縅縊縣縡縒縱縟縉縋縢繆繦縻縵縹繃縷�縲縺繧繝繖繞繙繚繹繪繩繼繻纃緕繽辮繿纈纉續纒纐纓纔纖纎纛纜缸缺罅罌罍罎罐网罕罔罘罟罠罨罩罧罸羂羆羃羈羇羌羔羞羝羚羣羯羲羹羮羶羸譱翅翆翊翕翔翡翦翩翳翹飜耆耄耋耒耘耙耜耡耨耿耻聊聆聒聘聚聟聢聨聳聲聰聶聹聽聿肄肆肅肛肓肚肭冐肬胛胥胙胝胄胚胖脉胯胱脛脩脣脯腋���".split("");for(a=0;a!=t[227].length;++a)if(t[227][a].charCodeAt(0)!==65533){r[t[227][a]]=58112+a;e[58112+a]=t[227][a]}t[228]="����������������������������������������������������������������隋腆脾腓腑胼腱腮腥腦腴膃膈膊膀膂膠膕膤膣腟膓膩膰膵膾膸膽臀臂膺臉臍臑臙臘臈臚臟臠臧臺臻臾舁舂舅與舊舍舐舖舩舫舸舳艀艙艘艝艚艟艤�艢艨艪艫舮艱艷艸艾芍芒芫芟芻芬苡苣苟苒苴苳苺莓范苻苹苞茆苜茉苙茵茴茖茲茱荀茹荐荅茯茫茗茘莅莚莪莟莢莖茣莎莇莊荼莵荳荵莠莉莨菴萓菫菎菽萃菘萋菁菷萇菠菲萍萢萠莽萸蔆菻葭萪萼蕚蒄葷葫蒭葮蒂葩葆萬葯葹萵蓊葢蒹蒿蒟蓙蓍蒻蓚蓐蓁蓆蓖蒡蔡蓿蓴蔗蔘蔬蔟蔕蔔蓼蕀蕣蕘蕈���".split("");for(a=0;a!=t[228].length;++a)if(t[228][a].charCodeAt(0)!==65533){r[t[228][a]]=58368+a;e[58368+a]=t[228][a]}t[229]="����������������������������������������������������������������蕁蘂蕋蕕薀薤薈薑薊薨蕭薔薛藪薇薜蕷蕾薐藉薺藏薹藐藕藝藥藜藹蘊蘓蘋藾藺蘆蘢蘚蘰蘿虍乕虔號虧虱蚓蚣蚩蚪蚋蚌蚶蚯蛄蛆蚰蛉蠣蚫蛔蛞蛩蛬�蛟蛛蛯蜒蜆蜈蜀蜃蛻蜑蜉蜍蛹蜊蜴蜿蜷蜻蜥蜩蜚蝠蝟蝸蝌蝎蝴蝗蝨蝮蝙蝓蝣蝪蠅螢螟螂螯蟋螽蟀蟐雖螫蟄螳蟇蟆螻蟯蟲蟠蠏蠍蟾蟶蟷蠎蟒蠑蠖蠕蠢蠡蠱蠶蠹蠧蠻衄衂衒衙衞衢衫袁衾袞衵衽袵衲袂袗袒袮袙袢袍袤袰袿袱裃裄裔裘裙裝裹褂裼裴裨裲褄褌褊褓襃褞褥褪褫襁襄褻褶褸襌褝襠襞���".split("");for(a=0;a!=t[229].length;++a)if(t[229][a].charCodeAt(0)!==65533){r[t[229][a]]=58624+a;e[58624+a]=t[229][a]}t[230]="����������������������������������������������������������������襦襤襭襪襯襴襷襾覃覈覊覓覘覡覩覦覬覯覲覺覽覿觀觚觜觝觧觴觸訃訖訐訌訛訝訥訶詁詛詒詆詈詼詭詬詢誅誂誄誨誡誑誥誦誚誣諄諍諂諚諫諳諧�諤諱謔諠諢諷諞諛謌謇謚諡謖謐謗謠謳鞫謦謫謾謨譁譌譏譎證譖譛譚譫譟譬譯譴譽讀讌讎讒讓讖讙讚谺豁谿豈豌豎豐豕豢豬豸豺貂貉貅貊貍貎貔豼貘戝貭貪貽貲貳貮貶賈賁賤賣賚賽賺賻贄贅贊贇贏贍贐齎贓賍贔贖赧赭赱赳趁趙跂趾趺跏跚跖跌跛跋跪跫跟跣跼踈踉跿踝踞踐踟蹂踵踰踴蹊���".split("");for(a=0;a!=t[230].length;++a)if(t[230][a].charCodeAt(0)!==65533){r[t[230][a]]=58880+a;e[58880+a]=t[230][a]}t[231]="����������������������������������������������������������������蹇蹉蹌蹐蹈蹙蹤蹠踪蹣蹕蹶蹲蹼躁躇躅躄躋躊躓躑躔躙躪躡躬躰軆躱躾軅軈軋軛軣軼軻軫軾輊輅輕輒輙輓輜輟輛輌輦輳輻輹轅轂輾轌轉轆轎轗轜�轢轣轤辜辟辣辭辯辷迚迥迢迪迯邇迴逅迹迺逑逕逡逍逞逖逋逧逶逵逹迸遏遐遑遒逎遉逾遖遘遞遨遯遶隨遲邂遽邁邀邊邉邏邨邯邱邵郢郤扈郛鄂鄒鄙鄲鄰酊酖酘酣酥酩酳酲醋醉醂醢醫醯醪醵醴醺釀釁釉釋釐釖釟釡釛釼釵釶鈞釿鈔鈬鈕鈑鉞鉗鉅鉉鉤鉈銕鈿鉋鉐銜銖銓銛鉚鋏銹銷鋩錏鋺鍄錮���".split("");for(a=0;a!=t[231].length;++a)if(t[231][a].charCodeAt(0)!==65533){r[t[231][a]]=59136+a;e[59136+a]=t[231][a]}t[232]="����������������������������������������������������������������錙錢錚錣錺錵錻鍜鍠鍼鍮鍖鎰鎬鎭鎔鎹鏖鏗鏨鏥鏘鏃鏝鏐鏈鏤鐚鐔鐓鐃鐇鐐鐶鐫鐵鐡鐺鑁鑒鑄鑛鑠鑢鑞鑪鈩鑰鑵鑷鑽鑚鑼鑾钁鑿閂閇閊閔閖閘閙�閠閨閧閭閼閻閹閾闊濶闃闍闌闕闔闖關闡闥闢阡阨阮阯陂陌陏陋陷陜陞陝陟陦陲陬隍隘隕隗險隧隱隲隰隴隶隸隹雎雋雉雍襍雜霍雕雹霄霆霈霓霎霑霏霖霙霤霪霰霹霽霾靄靆靈靂靉靜靠靤靦靨勒靫靱靹鞅靼鞁靺鞆鞋鞏鞐鞜鞨鞦鞣鞳鞴韃韆韈韋韜韭齏韲竟韶韵頏頌頸頤頡頷頽顆顏顋顫顯顰���".split("");for(a=0;a!=t[232].length;++a)if(t[232][a].charCodeAt(0)!==65533){r[t[232][a]]=59392+a;e[59392+a]=t[232][a]}t[233]="����������������������������������������������������������������顱顴顳颪颯颱颶飄飃飆飩飫餃餉餒餔餘餡餝餞餤餠餬餮餽餾饂饉饅饐饋饑饒饌饕馗馘馥馭馮馼駟駛駝駘駑駭駮駱駲駻駸騁騏騅駢騙騫騷驅驂驀驃�騾驕驍驛驗驟驢驥驤驩驫驪骭骰骼髀髏髑髓體髞髟髢髣髦髯髫髮髴髱髷髻鬆鬘鬚鬟鬢鬣鬥鬧鬨鬩鬪鬮鬯鬲魄魃魏魍魎魑魘魴鮓鮃鮑鮖鮗鮟鮠鮨鮴鯀鯊鮹鯆鯏鯑鯒鯣鯢鯤鯔鯡鰺鯲鯱鯰鰕鰔鰉鰓鰌鰆鰈鰒鰊鰄鰮鰛鰥鰤鰡鰰鱇鰲鱆鰾鱚鱠鱧鱶鱸鳧鳬鳰鴉鴈鳫鴃鴆鴪鴦鶯鴣鴟鵄鴕鴒鵁鴿鴾鵆鵈���".split("");for(a=0;a!=t[233].length;++a)if(t[233][a].charCodeAt(0)!==65533){r[t[233][a]]=59648+a;e[59648+a]=t[233][a]}t[234]="����������������������������������������������������������������鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝黠黥黨黯�黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠堯槇遙瑤凜熙�������������������������������������������������������������������������������������������".split("");for(a=0;a!=t[234].length;++a)if(t[234][a].charCodeAt(0)!==65533){r[t[234][a]]=59904+a;e[59904+a]=t[234][a]}t[237]="����������������������������������������������������������������纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏�塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱���".split("");for(a=0;a!=t[237].length;++a)if(t[237][a].charCodeAt(0)!==65533){r[t[237][a]]=60672+a;e[60672+a]=t[237][a]}t[238]="����������������������������������������������������������������犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙�蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑��ⅰⅱⅲⅳⅴⅵⅶⅷⅸⅹ¬¦'"���".split("");for(a=0;a!=t[238].length;++a)if(t[238][a].charCodeAt(0)!==65533){r[t[238][a]]=60928+a;e[60928+a]=t[238][a]}t[250]="����������������������������������������������������������������ⅰⅱⅲⅳⅴⅵⅶⅷⅸⅹⅠⅡⅢⅣⅤⅥⅦⅧⅨⅩ¬¦'"㈱№℡∵纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊�兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯���".split("");for(a=0;a!=t[250].length;++a)if(t[250][a].charCodeAt(0)!==65533){r[t[250][a]]=64e3+a;e[64e3+a]=t[250][a]}t[251]="����������������������������������������������������������������涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神�祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙���".split("");for(a=0;a!=t[251].length;++a)if(t[251][a].charCodeAt(0)!==65533){r[t[251][a]]=64256+a;e[64256+a]=t[251][a]}t[252]="����������������������������������������������������������������髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������".split("");for(a=0;a!=t[252].length;++a)if(t[252][a].charCodeAt(0)!==65533){r[t[252][a]]=64512+a;e[64512+a]=t[252][a]}return{enc:r,dec:e}}();cptable[936]=function(){var e=[],r={},t=[],a;t[0]="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€�������������������������������������������������������������������������������������������������������������������������������".split("");for(a=0;a!=t[0].length;++a)if(t[0][a].charCodeAt(0)!==65533){r[t[0][a]]=0+a;e[0+a]=t[0][a]}t[129]="����������������������������������������������������������������丂丄丅丆丏丒丗丟丠両丣並丩丮丯丱丳丵丷丼乀乁乂乄乆乊乑乕乗乚乛乢乣乤乥乧乨乪乫乬乭乮乯乲乴乵乶乷乸乹乺乻乼乽乿亀亁亂亃亄亅亇亊�亐亖亗亙亜亝亞亣亪亯亰亱亴亶亷亸亹亼亽亾仈仌仏仐仒仚仛仜仠仢仦仧仩仭仮仯仱仴仸仹仺仼仾伀伂伃伄伅伆伇伈伋伌伒伓伔伕伖伜伝伡伣伨伩伬伭伮伱伳伵伷伹伻伾伿佀佁佂佄佅佇佈佉佊佋佌佒佔佖佡佢佦佨佪佫佭佮佱佲併佷佸佹佺佽侀侁侂侅來侇侊侌侎侐侒侓侕侖侘侙侚侜侞侟価侢�".split("");for(a=0;a!=t[129].length;++a)if(t[129][a].charCodeAt(0)!==65533){r[t[129][a]]=33024+a;e[33024+a]=t[129][a]}t[130]="����������������������������������������������������������������侤侫侭侰侱侲侳侴侶侷侸侹侺侻侼侽侾俀俁係俆俇俈俉俋俌俍俒俓俔俕俖俙俛俠俢俤俥俧俫俬俰俲俴俵俶俷俹俻俼俽俿倀倁倂倃倄倅倆倇倈倉倊�個倎倐們倓倕倖倗倛倝倞倠倢倣値倧倫倯倰倱倲倳倴倵倶倷倸倹倻倽倿偀偁偂偄偅偆偉偊偋偍偐偑偒偓偔偖偗偘偙偛偝偞偟偠偡偢偣偤偦偧偨偩偪偫偭偮偯偰偱偲偳側偵偸偹偺偼偽傁傂傃傄傆傇傉傊傋傌傎傏傐傑傒傓傔傕傖傗傘備傚傛傜傝傞傟傠傡傢傤傦傪傫傭傮傯傰傱傳傴債傶傷傸傹傼�".split("");for(a=0;a!=t[130].length;++a)if(t[130][a].charCodeAt(0)!==65533){r[t[130][a]]=33280+a;e[33280+a]=t[130][a]}t[131]="����������������������������������������������������������������傽傾傿僀僁僂僃僄僅僆僇僈僉僊僋僌働僎僐僑僒僓僔僕僗僘僙僛僜僝僞僟僠僡僢僣僤僥僨僩僪僫僯僰僱僲僴僶僷僸價僺僼僽僾僿儀儁儂儃億儅儈�儉儊儌儍儎儏儐儑儓儔儕儖儗儘儙儚儛儜儝儞償儠儢儣儤儥儦儧儨儩優儫儬儭儮儯儰儱儲儳儴儵儶儷儸儹儺儻儼儽儾兂兇兊兌兎兏児兒兓兗兘兙兛兝兞兟兠兡兣兤兦內兩兪兯兲兺兾兿冃冄円冇冊冋冎冏冐冑冓冔冘冚冝冞冟冡冣冦冧冨冩冪冭冮冴冸冹冺冾冿凁凂凃凅凈凊凍凎凐凒凓凔凕凖凗�".split("");for(a=0;a!=t[131].length;++a)if(t[131][a].charCodeAt(0)!==65533){r[t[131][a]]=33536+a;e[33536+a]=t[131][a]}t[132]="����������������������������������������������������������������凘凙凚凜凞凟凢凣凥処凧凨凩凪凬凮凱凲凴凷凾刄刅刉刋刌刏刐刓刔刕刜刞刟刡刢刣別刦刧刪刬刯刱刲刴刵刼刾剄剅剆則剈剉剋剎剏剒剓剕剗剘�剙剚剛剝剟剠剢剣剤剦剨剫剬剭剮剰剱剳剴創剶剷剸剹剺剻剼剾劀劃劄劅劆劇劉劊劋劌劍劎劏劑劒劔劕劖劗劘劙劚劜劤劥劦劧劮劯劰労劵劶劷劸効劺劻劼劽勀勁勂勄勅勆勈勊勌勍勎勏勑勓勔動勗務勚勛勜勝勞勠勡勢勣勥勦勧勨勩勪勫勬勭勮勯勱勲勳勴勵勶勷勸勻勼勽匁匂匃匄匇匉匊匋匌匎�".split("");for(a=0;a!=t[132].length;++a)if(t[132][a].charCodeAt(0)!==65533){r[t[132][a]]=33792+a;e[33792+a]=t[132][a]}t[133]="����������������������������������������������������������������匑匒匓匔匘匛匜匞匟匢匤匥匧匨匩匫匬匭匯匰匱匲匳匴匵匶匷匸匼匽區卂卄卆卋卌卍卐協単卙卛卝卥卨卪卬卭卲卶卹卻卼卽卾厀厁厃厇厈厊厎厏�厐厑厒厓厔厖厗厙厛厜厞厠厡厤厧厪厫厬厭厯厰厱厲厳厴厵厷厸厹厺厼厽厾叀參叄叅叆叇収叏叐叒叓叕叚叜叝叞叡叢叧叴叺叾叿吀吂吅吇吋吔吘吙吚吜吢吤吥吪吰吳吶吷吺吽吿呁呂呄呅呇呉呌呍呎呏呑呚呝呞呟呠呡呣呥呧呩呪呫呬呭呮呯呰呴呹呺呾呿咁咃咅咇咈咉咊咍咑咓咗咘咜咞咟咠咡�".split("");for(a=0;a!=t[133].length;++a)if(t[133][a].charCodeAt(0)!==65533){r[t[133][a]]=34048+a;e[34048+a]=t[133][a]}t[134]="����������������������������������������������������������������咢咥咮咰咲咵咶咷咹咺咼咾哃哅哊哋哖哘哛哠員哢哣哤哫哬哯哰哱哴哵哶哷哸哹哻哾唀唂唃唄唅唈唊唋唌唍唎唒唓唕唖唗唘唙唚唜唝唞唟唡唥唦�唨唩唫唭唲唴唵唶唸唹唺唻唽啀啂啅啇啈啋啌啍啎問啑啒啓啔啗啘啙啚啛啝啞啟啠啢啣啨啩啫啯啰啱啲啳啴啹啺啽啿喅喆喌喍喎喐喒喓喕喖喗喚喛喞喠喡喢喣喤喥喦喨喩喪喫喬喭單喯喰喲喴営喸喺喼喿嗀嗁嗂嗃嗆嗇嗈嗊嗋嗎嗏嗐嗕嗗嗘嗙嗚嗛嗞嗠嗢嗧嗩嗭嗮嗰嗱嗴嗶嗸嗹嗺嗻嗼嗿嘂嘃嘄嘅�".split("");for(a=0;a!=t[134].length;++a)if(t[134][a].charCodeAt(0)!==65533){r[t[134][a]]=34304+a;e[34304+a]=t[134][a]}t[135]="����������������������������������������������������������������嘆嘇嘊嘋嘍嘐嘑嘒嘓嘔嘕嘖嘗嘙嘚嘜嘝嘠嘡嘢嘥嘦嘨嘩嘪嘫嘮嘯嘰嘳嘵嘷嘸嘺嘼嘽嘾噀噁噂噃噄噅噆噇噈噉噊噋噏噐噑噒噓噕噖噚噛噝噞噟噠噡�噣噥噦噧噭噮噯噰噲噳噴噵噷噸噹噺噽噾噿嚀嚁嚂嚃嚄嚇嚈嚉嚊嚋嚌嚍嚐嚑嚒嚔嚕嚖嚗嚘嚙嚚嚛嚜嚝嚞嚟嚠嚡嚢嚤嚥嚦嚧嚨嚩嚪嚫嚬嚭嚮嚰嚱嚲嚳嚴嚵嚶嚸嚹嚺嚻嚽嚾嚿囀囁囂囃囄囅囆囇囈囉囋囌囍囎囏囐囑囒囓囕囖囘囙囜団囥囦囧囨囩囪囬囮囯囲図囶囷囸囻囼圀圁圂圅圇國圌圍圎圏圐圑�".split("");for(a=0;a!=t[135].length;++a)if(t[135][a].charCodeAt(0)!==65533){r[t[135][a]]=34560+a;e[34560+a]=t[135][a]}t[136]="����������������������������������������������������������������園圓圔圕圖圗團圙圚圛圝圞圠圡圢圤圥圦圧圫圱圲圴圵圶圷圸圼圽圿坁坃坄坅坆坈坉坋坒坓坔坕坖坘坙坢坣坥坧坬坮坰坱坲坴坵坸坹坺坽坾坿垀�垁垇垈垉垊垍垎垏垐垑垔垕垖垗垘垙垚垜垝垞垟垥垨垪垬垯垰垱垳垵垶垷垹垺垻垼垽垾垿埀埁埄埅埆埇埈埉埊埌埍埐埑埓埖埗埛埜埞埡埢埣埥埦埧埨埩埪埫埬埮埰埱埲埳埵埶執埻埼埾埿堁堃堄堅堈堉堊堌堎堏堐堒堓堔堖堗堘堚堛堜堝堟堢堣堥堦堧堨堩堫堬堭堮堯報堲堳場堶堷堸堹堺堻堼堽�".split("");for(a=0;a!=t[136].length;++a)if(t[136][a].charCodeAt(0)!==65533){r[t[136][a]]=34816+a;e[34816+a]=t[136][a]}t[137]="����������������������������������������������������������������堾堿塀塁塂塃塅塆塇塈塉塊塋塎塏塐塒塓塕塖塗塙塚塛塜塝塟塠塡塢塣塤塦塧塨塩塪塭塮塯塰塱塲塳塴塵塶塷塸塹塺塻塼塽塿墂墄墆墇墈墊墋墌�墍墎墏墐墑墔墕墖増墘墛墜墝墠墡墢墣墤墥墦墧墪墫墬墭墮墯墰墱墲墳墴墵墶墷墸墹墺墻墽墾墿壀壂壃壄壆壇壈壉壊壋壌壍壎壏壐壒壓壔壖壗壘壙壚壛壜壝壞壟壠壡壢壣壥壦壧壨壩壪壭壯壱売壴壵壷壸壺壻壼壽壾壿夀夁夃夅夆夈変夊夋夌夎夐夑夒夓夗夘夛夝夞夠夡夢夣夦夨夬夰夲夳夵夶夻�".split("");for(a=0;a!=t[137].length;++a)if(t[137][a].charCodeAt(0)!==65533){r[t[137][a]]=35072+a;e[35072+a]=t[137][a]}t[138]="����������������������������������������������������������������夽夾夿奀奃奅奆奊奌奍奐奒奓奙奛奜奝奞奟奡奣奤奦奧奨奩奪奫奬奭奮奯奰奱奲奵奷奺奻奼奾奿妀妅妉妋妌妎妏妐妑妔妕妘妚妛妜妝妟妠妡妢妦�妧妬妭妰妱妳妴妵妶妷妸妺妼妽妿姀姁姂姃姄姅姇姈姉姌姍姎姏姕姖姙姛姞姟姠姡姢姤姦姧姩姪姫姭姮姯姰姱姲姳姴姵姶姷姸姺姼姽姾娀娂娊娋娍娎娏娐娒娔娕娖娗娙娚娛娝娞娡娢娤娦娧娨娪娫娬娭娮娯娰娳娵娷娸娹娺娻娽娾娿婁婂婃婄婅婇婈婋婌婍婎婏婐婑婒婓婔婖婗婘婙婛婜婝婞婟婠�".split("");for(a=0;a!=t[138].length;++a)if(t[138][a].charCodeAt(0)!==65533){r[t[138][a]]=35328+a;e[35328+a]=t[138][a]}t[139]="����������������������������������������������������������������婡婣婤婥婦婨婩婫婬婭婮婯婰婱婲婳婸婹婻婼婽婾媀媁媂媃媄媅媆媇媈媉媊媋媌媍媎媏媐媑媓媔媕媖媗媘媙媜媝媞媟媠媡媢媣媤媥媦媧媨媩媫媬�媭媮媯媰媱媴媶媷媹媺媻媼媽媿嫀嫃嫄嫅嫆嫇嫈嫊嫋嫍嫎嫏嫐嫑嫓嫕嫗嫙嫚嫛嫝嫞嫟嫢嫤嫥嫧嫨嫪嫬嫭嫮嫯嫰嫲嫳嫴嫵嫶嫷嫸嫹嫺嫻嫼嫽嫾嫿嬀嬁嬂嬃嬄嬅嬆嬇嬈嬊嬋嬌嬍嬎嬏嬐嬑嬒嬓嬔嬕嬘嬙嬚嬛嬜嬝嬞嬟嬠嬡嬢嬣嬤嬥嬦嬧嬨嬩嬪嬫嬬嬭嬮嬯嬰嬱嬳嬵嬶嬸嬹嬺嬻嬼嬽嬾嬿孁孂孃孄孅孆孇�".split("");for(a=0;a!=t[139].length;++a)if(t[139][a].charCodeAt(0)!==65533){r[t[139][a]]=35584+a;e[35584+a]=t[139][a]}t[140]="����������������������������������������������������������������孈孉孊孋孌孍孎孏孒孖孞孠孡孧孨孫孭孮孯孲孴孶孷學孹孻孼孾孿宂宆宊宍宎宐宑宒宔宖実宧宨宩宬宭宮宯宱宲宷宺宻宼寀寁寃寈寉寊寋寍寎寏�寑寔寕寖寗寘寙寚寛寜寠寢寣實寧審寪寫寬寭寯寱寲寳寴寵寶寷寽対尀専尃尅將專尋尌對導尐尒尓尗尙尛尞尟尠尡尣尦尨尩尪尫尭尮尯尰尲尳尵尶尷屃屄屆屇屌屍屒屓屔屖屗屘屚屛屜屝屟屢層屧屨屩屪屫屬屭屰屲屳屴屵屶屷屸屻屼屽屾岀岃岄岅岆岇岉岊岋岎岏岒岓岕岝岞岟岠岡岤岥岦岧岨�".split("");for(a=0;a!=t[140].length;++a)if(t[140][a].charCodeAt(0)!==65533){r[t[140][a]]=35840+a;e[35840+a]=t[140][a]}t[141]="����������������������������������������������������������������岪岮岯岰岲岴岶岹岺岻岼岾峀峂峃峅峆峇峈峉峊峌峍峎峏峐峑峓峔峕峖峗峘峚峛峜峝峞峟峠峢峣峧峩峫峬峮峯峱峲峳峴峵島峷峸峹峺峼峽峾峿崀�崁崄崅崈崉崊崋崌崍崏崐崑崒崓崕崗崘崙崚崜崝崟崠崡崢崣崥崨崪崫崬崯崰崱崲崳崵崶崷崸崹崺崻崼崿嵀嵁嵂嵃嵄嵅嵆嵈嵉嵍嵎嵏嵐嵑嵒嵓嵔嵕嵖嵗嵙嵚嵜嵞嵟嵠嵡嵢嵣嵤嵥嵦嵧嵨嵪嵭嵮嵰嵱嵲嵳嵵嵶嵷嵸嵹嵺嵻嵼嵽嵾嵿嶀嶁嶃嶄嶅嶆嶇嶈嶉嶊嶋嶌嶍嶎嶏嶐嶑嶒嶓嶔嶕嶖嶗嶘嶚嶛嶜嶞嶟嶠�".split("");for(a=0;a!=t[141].length;++a)if(t[141][a].charCodeAt(0)!==65533){r[t[141][a]]=36096+a;e[36096+a]=t[141][a]}t[142]="����������������������������������������������������������������嶡嶢嶣嶤嶥嶦嶧嶨嶩嶪嶫嶬嶭嶮嶯嶰嶱嶲嶳嶴嶵嶶嶸嶹嶺嶻嶼嶽嶾嶿巀巁巂巃巄巆巇巈巉巊巋巌巎巏巐巑巒巓巔巕巖巗巘巙巚巜巟巠巣巤巪巬巭�巰巵巶巸巹巺巻巼巿帀帄帇帉帊帋帍帎帒帓帗帞帟帠帡帢帣帤帥帨帩帪師帬帯帰帲帳帴帵帶帹帺帾帿幀幁幃幆幇幈幉幊幋幍幎幏幐幑幒幓幖幗幘幙幚幜幝幟幠幣幤幥幦幧幨幩幪幫幬幭幮幯幰幱幵幷幹幾庁庂広庅庈庉庌庍庎庒庘庛庝庡庢庣庤庨庩庪庫庬庮庯庰庱庲庴庺庻庼庽庿廀廁廂廃廄廅�".split("");for(a=0;a!=t[142].length;++a)if(t[142][a].charCodeAt(0)!==65533){r[t[142][a]]=36352+a;e[36352+a]=t[142][a]}t[143]="����������������������������������������������������������������廆廇廈廋廌廍廎廏廐廔廕廗廘廙廚廜廝廞廟廠廡廢廣廤廥廦廧廩廫廬廭廮廯廰廱廲廳廵廸廹廻廼廽弅弆弇弉弌弍弎弐弒弔弖弙弚弜弝弞弡弢弣弤�弨弫弬弮弰弲弳弴張弶強弸弻弽弾弿彁彂彃彄彅彆彇彈彉彊彋彌彍彎彏彑彔彙彚彛彜彞彟彠彣彥彧彨彫彮彯彲彴彵彶彸彺彽彾彿徃徆徍徎徏徑従徔徖徚徛徝從徟徠徢徣徤徥徦徧復徫徬徯徰徱徲徳徴徶徸徹徺徻徾徿忀忁忂忇忈忊忋忎忓忔忕忚忛応忞忟忢忣忥忦忨忩忬忯忰忲忳忴忶忷忹忺忼怇�".split("");for(a=0;a!=t[143].length;++a)if(t[143][a].charCodeAt(0)!==65533){r[t[143][a]]=36608+a;e[36608+a]=t[143][a]}t[144]="����������������������������������������������������������������怈怉怋怌怐怑怓怗怘怚怞怟怢怣怤怬怭怮怰怱怲怳怴怶怷怸怹怺怽怾恀恄恅恆恇恈恉恊恌恎恏恑恓恔恖恗恘恛恜恞恟恠恡恥恦恮恱恲恴恵恷恾悀�悁悂悅悆悇悈悊悋悎悏悐悑悓悕悗悘悙悜悞悡悢悤悥悧悩悪悮悰悳悵悶悷悹悺悽悾悿惀惁惂惃惄惇惈惉惌惍惎惏惐惒惓惔惖惗惙惛惞惡惢惣惤惥惪惱惲惵惷惸惻惼惽惾惿愂愃愄愅愇愊愋愌愐愑愒愓愔愖愗愘愙愛愜愝愞愡愢愥愨愩愪愬愭愮愯愰愱愲愳愴愵愶愷愸愹愺愻愼愽愾慀慁慂慃慄慅慆�".split("");for(a=0;a!=t[144].length;++a)if(t[144][a].charCodeAt(0)!==65533){r[t[144][a]]=36864+a;e[36864+a]=t[144][a]}t[145]="����������������������������������������������������������������慇慉態慍慏慐慒慓慔慖慗慘慙慚慛慜慞慟慠慡慣慤慥慦慩慪慫慬慭慮慯慱慲慳慴慶慸慹慺慻慼慽慾慿憀憁憂憃憄憅憆憇憈憉憊憌憍憏憐憑憒憓憕�憖憗憘憙憚憛憜憞憟憠憡憢憣憤憥憦憪憫憭憮憯憰憱憲憳憴憵憶憸憹憺憻憼憽憿懀懁懃懄懅懆懇應懌懍懎懏懐懓懕懖懗懘懙懚懛懜懝懞懟懠懡懢懣懤懥懧懨懩懪懫懬懭懮懯懰懱懲懳懴懶懷懸懹懺懻懼懽懾戀戁戂戃戄戅戇戉戓戔戙戜戝戞戠戣戦戧戨戩戫戭戯戰戱戲戵戶戸戹戺戻戼扂扄扅扆扊�".split("");for(a=0;a!=t[145].length;++a)if(t[145][a].charCodeAt(0)!==65533){r[t[145][a]]=37120+a;e[37120+a]=t[145][a]}t[146]="����������������������������������������������������������������扏扐払扖扗扙扚扜扝扞扟扠扡扢扤扥扨扱扲扴扵扷扸扺扻扽抁抂抃抅抆抇抈抋抌抍抎抏抐抔抙抜抝択抣抦抧抩抪抭抮抯抰抲抳抴抶抷抸抺抾拀拁�拃拋拏拑拕拝拞拠拡拤拪拫拰拲拵拸拹拺拻挀挃挄挅挆挊挋挌挍挏挐挒挓挔挕挗挘挙挜挦挧挩挬挭挮挰挱挳挴挵挶挷挸挻挼挾挿捀捁捄捇捈捊捑捒捓捔捖捗捘捙捚捛捜捝捠捤捥捦捨捪捫捬捯捰捲捳捴捵捸捹捼捽捾捿掁掃掄掅掆掋掍掑掓掔掕掗掙掚掛掜掝掞掟採掤掦掫掯掱掲掵掶掹掻掽掿揀�".split("");for(a=0;a!=t[146].length;++a)if(t[146][a].charCodeAt(0)!==65533){r[t[146][a]]=37376+a;e[37376+a]=t[146][a]}t[147]="����������������������������������������������������������������揁揂揃揅揇揈揊揋揌揑揓揔揕揗揘揙揚換揜揝揟揢揤揥揦揧揨揫揬揮揯揰揱揳揵揷揹揺揻揼揾搃搄搆搇搈搉搊損搎搑搒搕搖搗搘搙搚搝搟搢搣搤�搥搧搨搩搫搮搯搰搱搲搳搵搶搷搸搹搻搼搾摀摂摃摉摋摌摍摎摏摐摑摓摕摖摗摙摚摛摜摝摟摠摡摢摣摤摥摦摨摪摫摬摮摯摰摱摲摳摴摵摶摷摻摼摽摾摿撀撁撃撆撈撉撊撋撌撍撎撏撐撓撔撗撘撚撛撜撝撟撠撡撢撣撥撦撧撨撪撫撯撱撲撳撴撶撹撻撽撾撿擁擃擄擆擇擈擉擊擋擌擏擑擓擔擕擖擙據�".split("");for(a=0;a!=t[147].length;++a)if(t[147][a].charCodeAt(0)!==65533){r[t[147][a]]=37632+a;e[37632+a]=t[147][a]}t[148]="����������������������������������������������������������������擛擜擝擟擠擡擣擥擧擨擩擪擫擬擭擮擯擰擱擲擳擴擵擶擷擸擹擺擻擼擽擾擿攁攂攃攄攅攆攇攈攊攋攌攍攎攏攐攑攓攔攕攖攗攙攚攛攜攝攞攟攠攡�攢攣攤攦攧攨攩攪攬攭攰攱攲攳攷攺攼攽敀敁敂敃敄敆敇敊敋敍敎敐敒敓敔敗敘敚敜敟敠敡敤敥敧敨敩敪敭敮敯敱敳敵敶數敹敺敻敼敽敾敿斀斁斂斃斄斅斆斈斉斊斍斎斏斒斔斕斖斘斚斝斞斠斢斣斦斨斪斬斮斱斲斳斴斵斶斷斸斺斻斾斿旀旂旇旈旉旊旍旐旑旓旔旕旘旙旚旛旜旝旞旟旡旣旤旪旫�".split("");for(a=0;a!=t[148].length;++a)if(t[148][a].charCodeAt(0)!==65533){r[t[148][a]]=37888+a;e[37888+a]=t[148][a]}t[149]="����������������������������������������������������������������旲旳旴旵旸旹旻旼旽旾旿昁昄昅昇昈昉昋昍昐昑昒昖昗昘昚昛昜昞昡昢昣昤昦昩昪昫昬昮昰昲昳昷昸昹昺昻昽昿晀時晄晅晆晇晈晉晊晍晎晐晑晘�晙晛晜晝晞晠晢晣晥晧晩晪晫晬晭晱晲晳晵晸晹晻晼晽晿暀暁暃暅暆暈暉暊暋暍暎暏暐暒暓暔暕暘暙暚暛暜暞暟暠暡暢暣暤暥暦暩暪暫暬暭暯暰暱暲暳暵暶暷暸暺暻暼暽暿曀曁曂曃曄曅曆曇曈曉曊曋曌曍曎曏曐曑曒曓曔曕曖曗曘曚曞曟曠曡曢曣曤曥曧曨曪曫曬曭曮曯曱曵曶書曺曻曽朁朂會�".split("");for(a=0;a!=t[149].length;++a)if(t[149][a].charCodeAt(0)!==65533){r[t[149][a]]=38144+a;e[38144+a]=t[149][a]}t[150]="����������������������������������������������������������������朄朅朆朇朌朎朏朑朒朓朖朘朙朚朜朞朠朡朢朣朤朥朧朩朮朰朲朳朶朷朸朹朻朼朾朿杁杄杅杇杊杋杍杒杔杕杗杘杙杚杛杝杢杣杤杦杧杫杬杮東杴杶�杸杹杺杻杽枀枂枃枅枆枈枊枌枍枎枏枑枒枓枔枖枙枛枟枠枡枤枦枩枬枮枱枲枴枹枺枻枼枽枾枿柀柂柅柆柇柈柉柊柋柌柍柎柕柖柗柛柟柡柣柤柦柧柨柪柫柭柮柲柵柶柷柸柹柺査柼柾栁栂栃栄栆栍栐栒栔栕栘栙栚栛栜栞栟栠栢栣栤栥栦栧栨栫栬栭栮栯栰栱栴栵栶栺栻栿桇桋桍桏桒桖桗桘桙桚桛�".split("");for(a=0;a!=t[150].length;++a)if(t[150][a].charCodeAt(0)!==65533){r[t[150][a]]=38400+a;e[38400+a]=t[150][a]}t[151]="����������������������������������������������������������������桜桝桞桟桪桬桭桮桯桰桱桲桳桵桸桹桺桻桼桽桾桿梀梂梄梇梈梉梊梋梌梍梎梐梑梒梔梕梖梘梙梚梛梜條梞梟梠梡梣梤梥梩梪梫梬梮梱梲梴梶梷梸�梹梺梻梼梽梾梿棁棃棄棅棆棇棈棊棌棎棏棐棑棓棔棖棗棙棛棜棝棞棟棡棢棤棥棦棧棨棩棪棫棬棭棯棲棳棴棶棷棸棻棽棾棿椀椂椃椄椆椇椈椉椊椌椏椑椓椔椕椖椗椘椙椚椛検椝椞椡椢椣椥椦椧椨椩椪椫椬椮椯椱椲椳椵椶椷椸椺椻椼椾楀楁楃楄楅楆楇楈楉楊楋楌楍楎楏楐楑楒楓楕楖楘楙楛楜楟�".split("");for(a=0;a!=t[151].length;++a)if(t[151][a].charCodeAt(0)!==65533){r[t[151][a]]=38656+a;e[38656+a]=t[151][a]}t[152]="����������������������������������������������������������������楡楢楤楥楧楨楩楪楬業楯楰楲楳楴極楶楺楻楽楾楿榁榃榅榊榋榌榎榏榐榑榒榓榖榗榙榚榝榞榟榠榡榢榣榤榥榦榩榪榬榮榯榰榲榳榵榶榸榹榺榼榽�榾榿槀槂槃槄槅槆槇槈槉構槍槏槑槒槓槕槖槗様槙槚槜槝槞槡槢槣槤槥槦槧槨槩槪槫槬槮槯槰槱槳槴槵槶槷槸槹槺槻槼槾樀樁樂樃樄樅樆樇樈樉樋樌樍樎樏樐樑樒樓樔樕樖標樚樛樜樝樞樠樢樣樤樥樦樧権樫樬樭樮樰樲樳樴樶樷樸樹樺樻樼樿橀橁橂橃橅橆橈橉橊橋橌橍橎橏橑橒橓橔橕橖橗橚�".split("");for(a=0;a!=t[152].length;++a)if(t[152][a].charCodeAt(0)!==65533){r[t[152][a]]=38912+a;e[38912+a]=t[152][a]; +}t[153]="����������������������������������������������������������������橜橝橞機橠橢橣橤橦橧橨橩橪橫橬橭橮橯橰橲橳橴橵橶橷橸橺橻橽橾橿檁檂檃檅檆檇檈檉檊檋檌檍檏檒檓檔檕檖檘檙檚檛檜檝檞檟檡檢檣檤檥檦�檧檨檪檭檮檯檰檱檲檳檴檵檶檷檸檹檺檻檼檽檾檿櫀櫁櫂櫃櫄櫅櫆櫇櫈櫉櫊櫋櫌櫍櫎櫏櫐櫑櫒櫓櫔櫕櫖櫗櫘櫙櫚櫛櫜櫝櫞櫟櫠櫡櫢櫣櫤櫥櫦櫧櫨櫩櫪櫫櫬櫭櫮櫯櫰櫱櫲櫳櫴櫵櫶櫷櫸櫹櫺櫻櫼櫽櫾櫿欀欁欂欃欄欅欆欇欈欉權欋欌欍欎欏欐欑欒欓欔欕欖欗欘欙欚欛欜欝欞欟欥欦欨欩欪欫欬欭欮�".split("");for(a=0;a!=t[153].length;++a)if(t[153][a].charCodeAt(0)!==65533){r[t[153][a]]=39168+a;e[39168+a]=t[153][a]}t[154]="����������������������������������������������������������������欯欰欱欳欴欵欶欸欻欼欽欿歀歁歂歄歅歈歊歋歍歎歏歐歑歒歓歔歕歖歗歘歚歛歜歝歞歟歠歡歨歩歫歬歭歮歯歰歱歲歳歴歵歶歷歸歺歽歾歿殀殅殈�殌殎殏殐殑殔殕殗殘殙殜殝殞殟殠殢殣殤殥殦殧殨殩殫殬殭殮殯殰殱殲殶殸殹殺殻殼殽殾毀毃毄毆毇毈毉毊毌毎毐毑毘毚毜毝毞毟毠毢毣毤毥毦毧毨毩毬毭毮毰毱毲毴毶毷毸毺毻毼毾毿氀氁氂氃氄氈氉氊氋氌氎氒気氜氝氞氠氣氥氫氬氭氱氳氶氷氹氺氻氼氾氿汃汄汅汈汋汌汍汎汏汑汒汓汖汘�".split("");for(a=0;a!=t[154].length;++a)if(t[154][a].charCodeAt(0)!==65533){r[t[154][a]]=39424+a;e[39424+a]=t[154][a]}t[155]="����������������������������������������������������������������汙汚汢汣汥汦汧汫汬汭汮汯汱汳汵汷汸決汻汼汿沀沄沇沊沋沍沎沑沒沕沖沗沘沚沜沝沞沠沢沨沬沯沰沴沵沶沷沺泀況泂泃泆泇泈泋泍泎泏泑泒泘�泙泚泜泝泟泤泦泧泩泬泭泲泴泹泿洀洂洃洅洆洈洉洊洍洏洐洑洓洔洕洖洘洜洝洟洠洡洢洣洤洦洨洩洬洭洯洰洴洶洷洸洺洿浀浂浄浉浌浐浕浖浗浘浛浝浟浡浢浤浥浧浨浫浬浭浰浱浲浳浵浶浹浺浻浽浾浿涀涁涃涄涆涇涊涋涍涏涐涒涖涗涘涙涚涜涢涥涬涭涰涱涳涴涶涷涹涺涻涼涽涾淁淂淃淈淉淊�".split("");for(a=0;a!=t[155].length;++a)if(t[155][a].charCodeAt(0)!==65533){r[t[155][a]]=39680+a;e[39680+a]=t[155][a]}t[156]="����������������������������������������������������������������淍淎淏淐淒淓淔淕淗淚淛淜淟淢淣淥淧淨淩淪淭淯淰淲淴淵淶淸淺淽淾淿渀渁渂渃渄渆渇済渉渋渏渒渓渕渘渙減渜渞渟渢渦渧渨渪測渮渰渱渳渵�渶渷渹渻渼渽渾渿湀湁湂湅湆湇湈湉湊湋湌湏湐湑湒湕湗湙湚湜湝湞湠湡湢湣湤湥湦湧湨湩湪湬湭湯湰湱湲湳湴湵湶湷湸湹湺湻湼湽満溁溂溄溇溈溊溋溌溍溎溑溒溓溔溕準溗溙溚溛溝溞溠溡溣溤溦溨溩溫溬溭溮溰溳溵溸溹溼溾溿滀滃滄滅滆滈滉滊滌滍滎滐滒滖滘滙滛滜滝滣滧滪滫滬滭滮滯�".split("");for(a=0;a!=t[156].length;++a)if(t[156][a].charCodeAt(0)!==65533){r[t[156][a]]=39936+a;e[39936+a]=t[156][a]}t[157]="����������������������������������������������������������������滰滱滲滳滵滶滷滸滺滻滼滽滾滿漀漁漃漄漅漇漈漊漋漌漍漎漐漑漒漖漗漘漙漚漛漜漝漞漟漡漢漣漥漦漧漨漬漮漰漲漴漵漷漸漹漺漻漼漽漿潀潁潂�潃潄潅潈潉潊潌潎潏潐潑潒潓潔潕潖潗潙潚潛潝潟潠潡潣潤潥潧潨潩潪潫潬潯潰潱潳潵潶潷潹潻潽潾潿澀澁澂澃澅澆澇澊澋澏澐澑澒澓澔澕澖澗澘澙澚澛澝澞澟澠澢澣澤澥澦澨澩澪澫澬澭澮澯澰澱澲澴澵澷澸澺澻澼澽澾澿濁濃濄濅濆濇濈濊濋濌濍濎濏濐濓濔濕濖濗濘濙濚濛濜濝濟濢濣濤濥�".split("");for(a=0;a!=t[157].length;++a)if(t[157][a].charCodeAt(0)!==65533){r[t[157][a]]=40192+a;e[40192+a]=t[157][a]}t[158]="����������������������������������������������������������������濦濧濨濩濪濫濬濭濰濱濲濳濴濵濶濷濸濹濺濻濼濽濾濿瀀瀁瀂瀃瀄瀅瀆瀇瀈瀉瀊瀋瀌瀍瀎瀏瀐瀒瀓瀔瀕瀖瀗瀘瀙瀜瀝瀞瀟瀠瀡瀢瀤瀥瀦瀧瀨瀩瀪�瀫瀬瀭瀮瀯瀰瀱瀲瀳瀴瀶瀷瀸瀺瀻瀼瀽瀾瀿灀灁灂灃灄灅灆灇灈灉灊灋灍灎灐灑灒灓灔灕灖灗灘灙灚灛灜灝灟灠灡灢灣灤灥灦灧灨灩灪灮灱灲灳灴灷灹灺灻災炁炂炃炄炆炇炈炋炌炍炏炐炑炓炗炘炚炛炞炟炠炡炢炣炤炥炦炧炨炩炪炰炲炴炵炶為炾炿烄烅烆烇烉烋烌烍烎烏烐烑烒烓烔烕烖烗烚�".split("");for(a=0;a!=t[158].length;++a)if(t[158][a].charCodeAt(0)!==65533){r[t[158][a]]=40448+a;e[40448+a]=t[158][a]}t[159]="����������������������������������������������������������������烜烝烞烠烡烢烣烥烪烮烰烱烲烳烴烵烶烸烺烻烼烾烿焀焁焂焃焄焅焆焇焈焋焌焍焎焏焑焒焔焗焛焜焝焞焟焠無焢焣焤焥焧焨焩焪焫焬焭焮焲焳焴�焵焷焸焹焺焻焼焽焾焿煀煁煂煃煄煆煇煈煉煋煍煏煐煑煒煓煔煕煖煗煘煙煚煛煝煟煠煡煢煣煥煩煪煫煬煭煯煰煱煴煵煶煷煹煻煼煾煿熀熁熂熃熅熆熇熈熉熋熌熍熎熐熑熒熓熕熖熗熚熛熜熝熞熡熢熣熤熥熦熧熩熪熫熭熮熯熰熱熲熴熶熷熸熺熻熼熽熾熿燀燁燂燄燅燆燇燈燉燊燋燌燍燏燐燑燒燓�".split("");for(a=0;a!=t[159].length;++a)if(t[159][a].charCodeAt(0)!==65533){r[t[159][a]]=40704+a;e[40704+a]=t[159][a]}t[160]="����������������������������������������������������������������燖燗燘燙燚燛燜燝燞營燡燢燣燤燦燨燩燪燫燬燭燯燰燱燲燳燴燵燶燷燸燺燻燼燽燾燿爀爁爂爃爄爅爇爈爉爊爋爌爍爎爏爐爑爒爓爔爕爖爗爘爙爚�爛爜爞爟爠爡爢爣爤爥爦爧爩爫爭爮爯爲爳爴爺爼爾牀牁牂牃牄牅牆牉牊牋牎牏牐牑牓牔牕牗牘牚牜牞牠牣牤牥牨牪牫牬牭牰牱牳牴牶牷牸牻牼牽犂犃犅犆犇犈犉犌犎犐犑犓犔犕犖犗犘犙犚犛犜犝犞犠犡犢犣犤犥犦犧犨犩犪犫犮犱犲犳犵犺犻犼犽犾犿狀狅狆狇狉狊狋狌狏狑狓狔狕狖狘狚狛�".split("");for(a=0;a!=t[160].length;++a)if(t[160][a].charCodeAt(0)!==65533){r[t[160][a]]=40960+a;e[40960+a]=t[160][a]}t[161]="����������������������������������������������������������������������������������������������������������������������������������������������������������������� 、。·ˉˇ¨〃々—~‖…‘’“”〔〕〈〉《》「」『』〖〗【】±×÷∶∧∨∑∏∪∩∈∷√⊥∥∠⌒⊙∫∮≡≌≈∽∝≠≮≯≤≥∞∵∴♂♀°′″℃$¤¢£‰§№☆★○●◎◇◆□■△▲※→←↑↓〓�".split("");for(a=0;a!=t[161].length;++a)if(t[161][a].charCodeAt(0)!==65533){r[t[161][a]]=41216+a;e[41216+a]=t[161][a]}t[162]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������ⅰⅱⅲⅳⅴⅵⅶⅷⅸⅹ������⒈⒉⒊⒋⒌⒍⒎⒏⒐⒑⒒⒓⒔⒕⒖⒗⒘⒙⒚⒛⑴⑵⑶⑷⑸⑹⑺⑻⑼⑽⑾⑿⒀⒁⒂⒃⒄⒅⒆⒇①②③④⑤⑥⑦⑧⑨⑩��㈠㈡㈢㈣㈤㈥㈦㈧㈨㈩��ⅠⅡⅢⅣⅤⅥⅦⅧⅨⅩⅪⅫ���".split("");for(a=0;a!=t[162].length;++a)if(t[162][a].charCodeAt(0)!==65533){r[t[162][a]]=41472+a;e[41472+a]=t[162][a]}t[163]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������!"#¥%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|} ̄�".split("");for(a=0;a!=t[163].length;++a)if(t[163][a].charCodeAt(0)!==65533){r[t[163][a]]=41728+a;e[41728+a]=t[163][a]}t[164]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������ぁあぃいぅうぇえぉおかがきぎくぐけげこごさざしじすずせぜそぞただちぢっつづてでとどなにぬねのはばぱひびぴふぶぷへべぺほぼぽまみむめもゃやゅゆょよらりるれろゎわゐゑをん������������".split("");for(a=0;a!=t[164].length;++a)if(t[164][a].charCodeAt(0)!==65533){r[t[164][a]]=41984+a;e[41984+a]=t[164][a]}t[165]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������ァアィイゥウェエォオカガキギクグケゲコゴサザシジスズセゼソゾタダチヂッツヅテデトドナニヌネノハバパヒビピフブプヘベペホボポマミムメモャヤュユョヨラリルレロヮワヰヱヲンヴヵヶ���������".split("");for(a=0;a!=t[165].length;++a)if(t[165][a].charCodeAt(0)!==65533){r[t[165][a]]=42240+a;e[42240+a]=t[165][a]}t[166]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ��������αβγδεζηθικλμνξοπρστυφχψω�������︵︶︹︺︿﹀︽︾﹁﹂﹃﹄��︻︼︷︸︱�︳︴����������".split("");for(a=0;a!=t[166].length;++a)if(t[166][a].charCodeAt(0)!==65533){r[t[166][a]]=42496+a;e[42496+a]=t[166][a]}t[167]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ���������������абвгдеёжзийклмнопрстуфхцчшщъыьэюя��������������".split("");for(a=0;a!=t[167].length;++a)if(t[167][a].charCodeAt(0)!==65533){r[t[167][a]]=42752+a;e[42752+a]=t[167][a]}t[168]="����������������������������������������������������������������ˊˋ˙–―‥‵℅℉↖↗↘↙∕∟∣≒≦≧⊿═║╒╓╔╕╖╗╘╙╚╛╜╝╞╟╠╡╢╣╤╥╦╧╨╩╪╫╬╭╮╯╰╱╲╳▁▂▃▄▅▆▇�█▉▊▋▌▍▎▏▓▔▕▼▽◢◣◤◥☉⊕〒〝〞�����������āáǎàēéěèīíǐìōóǒòūúǔùǖǘǚǜüêɑ�ńň�ɡ����ㄅㄆㄇㄈㄉㄊㄋㄌㄍㄎㄏㄐㄑㄒㄓㄔㄕㄖㄗㄘㄙㄚㄛㄜㄝㄞㄟㄠㄡㄢㄣㄤㄥㄦㄧㄨㄩ����������������������".split("");for(a=0;a!=t[168].length;++a)if(t[168][a].charCodeAt(0)!==65533){r[t[168][a]]=43008+a;e[43008+a]=t[168][a]}t[169]="����������������������������������������������������������������〡〢〣〤〥〦〧〨〩㊣㎎㎏㎜㎝㎞㎡㏄㏎㏑㏒㏕︰¬¦�℡㈱�‐���ー゛゜ヽヾ〆ゝゞ﹉﹊﹋﹌﹍﹎﹏﹐﹑﹒﹔﹕﹖﹗﹙﹚﹛﹜﹝﹞﹟﹠﹡�﹢﹣﹤﹥﹦﹨﹩﹪﹫�������������〇�������������─━│┃┄┅┆┇┈┉┊┋┌┍┎┏┐┑┒┓└┕┖┗┘┙┚┛├┝┞┟┠┡┢┣┤┥┦┧┨┩┪┫┬┭┮┯┰┱┲┳┴┵┶┷┸┹┺┻┼┽┾┿╀╁╂╃╄╅╆╇╈╉╊╋����������������".split("");for(a=0;a!=t[169].length;++a)if(t[169][a].charCodeAt(0)!==65533){r[t[169][a]]=43264+a;e[43264+a]=t[169][a]}t[170]="����������������������������������������������������������������狜狝狟狢狣狤狥狦狧狪狫狵狶狹狽狾狿猀猂猄猅猆猇猈猉猋猌猍猏猐猑猒猔猘猙猚猟猠猣猤猦猧猨猭猯猰猲猳猵猶猺猻猼猽獀獁獂獃獄獅獆獇獈�獉獊獋獌獎獏獑獓獔獕獖獘獙獚獛獜獝獞獟獡獢獣獤獥獦獧獨獩獪獫獮獰獱�����������������������������������������������������������������������������������������������".split("");for(a=0;a!=t[170].length;++a)if(t[170][a].charCodeAt(0)!==65533){r[t[170][a]]=43520+a;e[43520+a]=t[170][a]}t[171]="����������������������������������������������������������������獲獳獴獵獶獷獸獹獺獻獼獽獿玀玁玂玃玅玆玈玊玌玍玏玐玒玓玔玕玗玘玙玚玜玝玞玠玡玣玤玥玦玧玨玪玬玭玱玴玵玶玸玹玼玽玾玿珁珃珄珅珆珇�珋珌珎珒珓珔珕珖珗珘珚珛珜珝珟珡珢珣珤珦珨珪珫珬珮珯珰珱珳珴珵珶珷�����������������������������������������������������������������������������������������������".split("");for(a=0;a!=t[171].length;++a)if(t[171][a].charCodeAt(0)!==65533){r[t[171][a]]=43776+a;e[43776+a]=t[171][a]}t[172]="����������������������������������������������������������������珸珹珺珻珼珽現珿琀琁琂琄琇琈琋琌琍琎琑琒琓琔琕琖琗琘琙琜琝琞琟琠琡琣琤琧琩琫琭琯琱琲琷琸琹琺琻琽琾琿瑀瑂瑃瑄瑅瑆瑇瑈瑉瑊瑋瑌瑍�瑎瑏瑐瑑瑒瑓瑔瑖瑘瑝瑠瑡瑢瑣瑤瑥瑦瑧瑨瑩瑪瑫瑬瑮瑯瑱瑲瑳瑴瑵瑸瑹瑺�����������������������������������������������������������������������������������������������".split("");for(a=0;a!=t[172].length;++a)if(t[172][a].charCodeAt(0)!==65533){r[t[172][a]]=44032+a;e[44032+a]=t[172][a]}t[173]="����������������������������������������������������������������瑻瑼瑽瑿璂璄璅璆璈璉璊璌璍璏璑璒璓璔璕璖璗璘璙璚璛璝璟璠璡璢璣璤璥璦璪璫璬璭璮璯環璱璲璳璴璵璶璷璸璹璻璼璽璾璿瓀瓁瓂瓃瓄瓅瓆瓇�瓈瓉瓊瓋瓌瓍瓎瓏瓐瓑瓓瓔瓕瓖瓗瓘瓙瓚瓛瓝瓟瓡瓥瓧瓨瓩瓪瓫瓬瓭瓰瓱瓲�����������������������������������������������������������������������������������������������".split("");for(a=0;a!=t[173].length;++a)if(t[173][a].charCodeAt(0)!==65533){r[t[173][a]]=44288+a;e[44288+a]=t[173][a]}t[174]="����������������������������������������������������������������瓳瓵瓸瓹瓺瓻瓼瓽瓾甀甁甂甃甅甆甇甈甉甊甋甌甎甐甒甔甕甖甗甛甝甞甠甡產産甤甦甧甪甮甴甶甹甼甽甿畁畂畃畄畆畇畉畊畍畐畑畒畓畕畖畗畘�畝畞畟畠畡畢畣畤畧畨畩畫畬畭畮畯異畱畳畵當畷畺畻畼畽畾疀疁疂疄疅疇�����������������������������������������������������������������������������������������������".split("");for(a=0;a!=t[174].length;++a)if(t[174][a].charCodeAt(0)!==65533){r[t[174][a]]=44544+a;e[44544+a]=t[174][a]}t[175]="����������������������������������������������������������������疈疉疊疌疍疎疐疓疕疘疛疜疞疢疦疧疨疩疪疭疶疷疺疻疿痀痁痆痋痌痎痏痐痑痓痗痙痚痜痝痟痠痡痥痩痬痭痮痯痲痳痵痶痷痸痺痻痽痾瘂瘄瘆瘇�瘈瘉瘋瘍瘎瘏瘑瘒瘓瘔瘖瘚瘜瘝瘞瘡瘣瘧瘨瘬瘮瘯瘱瘲瘶瘷瘹瘺瘻瘽癁療癄�����������������������������������������������������������������������������������������������".split("");for(a=0;a!=t[175].length;++a)if(t[175][a].charCodeAt(0)!==65533){r[t[175][a]]=44800+a;e[44800+a]=t[175][a]}t[176]="����������������������������������������������������������������癅癆癇癈癉癊癋癎癏癐癑癒癓癕癗癘癙癚癛癝癟癠癡癢癤癥癦癧癨癩癪癬癭癮癰癱癲癳癴癵癶癷癹発發癿皀皁皃皅皉皊皌皍皏皐皒皔皕皗皘皚皛�皜皝皞皟皠皡皢皣皥皦皧皨皩皪皫皬皭皯皰皳皵皶皷皸皹皺皻皼皽皾盀盁盃啊阿埃挨哎唉哀皑癌蔼矮艾碍爱隘鞍氨安俺按暗岸胺案肮昂盎凹敖熬翱袄傲奥懊澳芭捌扒叭吧笆八疤巴拔跋靶把耙坝霸罢爸白柏百摆佰败拜稗斑班搬扳般颁板版扮拌伴瓣半办绊邦帮梆榜膀绑棒磅蚌镑傍谤苞胞包褒剥�".split("");for(a=0;a!=t[176].length;++a)if(t[176][a].charCodeAt(0)!==65533){r[t[176][a]]=45056+a;e[45056+a]=t[176][a]}t[177]="����������������������������������������������������������������盄盇盉盋盌盓盕盙盚盜盝盞盠盡盢監盤盦盧盨盩盪盫盬盭盰盳盵盶盷盺盻盽盿眀眂眃眅眆眊県眎眏眐眑眒眓眔眕眖眗眘眛眜眝眞眡眣眤眥眧眪眫�眬眮眰眱眲眳眴眹眻眽眾眿睂睄睅睆睈睉睊睋睌睍睎睏睒睓睔睕睖睗睘睙睜薄雹保堡饱宝抱报暴豹鲍爆杯碑悲卑北辈背贝钡倍狈备惫焙被奔苯本笨崩绷甭泵蹦迸逼鼻比鄙笔彼碧蓖蔽毕毙毖币庇痹闭敝弊必辟壁臂避陛鞭边编贬扁便变卞辨辩辫遍标彪膘表鳖憋别瘪彬斌濒滨宾摈兵冰柄丙秉饼炳�".split("");for(a=0;a!=t[177].length;++a)if(t[177][a].charCodeAt(0)!==65533){r[t[177][a]]=45312+a;e[45312+a]=t[177][a]}t[178]="����������������������������������������������������������������睝睞睟睠睤睧睩睪睭睮睯睰睱睲睳睴睵睶睷睸睺睻睼瞁瞂瞃瞆瞇瞈瞉瞊瞋瞏瞐瞓瞔瞕瞖瞗瞘瞙瞚瞛瞜瞝瞞瞡瞣瞤瞦瞨瞫瞭瞮瞯瞱瞲瞴瞶瞷瞸瞹瞺�瞼瞾矀矁矂矃矄矅矆矇矈矉矊矋矌矎矏矐矑矒矓矔矕矖矘矙矚矝矞矟矠矡矤病并玻菠播拨钵波博勃搏铂箔伯帛舶脖膊渤泊驳捕卜哺补埠不布步簿部怖擦猜裁材才财睬踩采彩菜蔡餐参蚕残惭惨灿苍舱仓沧藏操糙槽曹草厕策侧册测层蹭插叉茬茶查碴搽察岔差诧拆柴豺搀掺蝉馋谗缠铲产阐颤昌猖�".split("");for(a=0;a!=t[178].length;++a)if(t[178][a].charCodeAt(0)!==65533){r[t[178][a]]=45568+a;e[45568+a]=t[178][a]}t[179]="����������������������������������������������������������������矦矨矪矯矰矱矲矴矵矷矹矺矻矼砃砄砅砆砇砈砊砋砎砏砐砓砕砙砛砞砠砡砢砤砨砪砫砮砯砱砲砳砵砶砽砿硁硂硃硄硆硈硉硊硋硍硏硑硓硔硘硙硚�硛硜硞硟硠硡硢硣硤硥硦硧硨硩硯硰硱硲硳硴硵硶硸硹硺硻硽硾硿碀碁碂碃场尝常长偿肠厂敞畅唱倡超抄钞朝嘲潮巢吵炒车扯撤掣彻澈郴臣辰尘晨忱沉陈趁衬撑称城橙成呈乘程惩澄诚承逞骋秤吃痴持匙池迟弛驰耻齿侈尺赤翅斥炽充冲虫崇宠抽酬畴踌稠愁筹仇绸瞅丑臭初出橱厨躇锄雏滁除楚�".split("");for(a=0;a!=t[179].length;++a)if(t[179][a].charCodeAt(0)!==65533){r[t[179][a]]=45824+a;e[45824+a]=t[179][a]}t[180]="����������������������������������������������������������������碄碅碆碈碊碋碏碐碒碔碕碖碙碝碞碠碢碤碦碨碩碪碫碬碭碮碯碵碶碷碸確碻碼碽碿磀磂磃磄磆磇磈磌磍磎磏磑磒磓磖磗磘磚磛磜磝磞磟磠磡磢磣�磤磥磦磧磩磪磫磭磮磯磰磱磳磵磶磸磹磻磼磽磾磿礀礂礃礄礆礇礈礉礊礋礌础储矗搐触处揣川穿椽传船喘串疮窗幢床闯创吹炊捶锤垂春椿醇唇淳纯蠢戳绰疵茨磁雌辞慈瓷词此刺赐次聪葱囱匆从丛凑粗醋簇促蹿篡窜摧崔催脆瘁粹淬翠村存寸磋撮搓措挫错搭达答瘩打大呆歹傣戴带殆代贷袋待逮�".split("");for(a=0;a!=t[180].length;++a)if(t[180][a].charCodeAt(0)!==65533){r[t[180][a]]=46080+a;e[46080+a]=t[180][a]}t[181]="����������������������������������������������������������������礍礎礏礐礑礒礔礕礖礗礘礙礚礛礜礝礟礠礡礢礣礥礦礧礨礩礪礫礬礭礮礯礰礱礲礳礵礶礷礸礹礽礿祂祃祄祅祇祊祋祌祍祎祏祐祑祒祔祕祘祙祡祣�祤祦祩祪祫祬祮祰祱祲祳祴祵祶祹祻祼祽祾祿禂禃禆禇禈禉禋禌禍禎禐禑禒怠耽担丹单郸掸胆旦氮但惮淡诞弹蛋当挡党荡档刀捣蹈倒岛祷导到稻悼道盗德得的蹬灯登等瞪凳邓堤低滴迪敌笛狄涤翟嫡抵底地蒂第帝弟递缔颠掂滇碘点典靛垫电佃甸店惦奠淀殿碉叼雕凋刁掉吊钓调跌爹碟蝶迭谍叠�".split("");for(a=0;a!=t[181].length;++a)if(t[181][a].charCodeAt(0)!==65533){r[t[181][a]]=46336+a;e[46336+a]=t[181][a]}t[182]="����������������������������������������������������������������禓禔禕禖禗禘禙禛禜禝禞禟禠禡禢禣禤禥禦禨禩禪禫禬禭禮禯禰禱禲禴禵禶禷禸禼禿秂秄秅秇秈秊秌秎秏秐秓秔秖秗秙秚秛秜秝秞秠秡秢秥秨秪�秬秮秱秲秳秴秵秶秷秹秺秼秾秿稁稄稅稇稈稉稊稌稏稐稑稒稓稕稖稘稙稛稜丁盯叮钉顶鼎锭定订丢东冬董懂动栋侗恫冻洞兜抖斗陡豆逗痘都督毒犊独读堵睹赌杜镀肚度渡妒端短锻段断缎堆兑队对墩吨蹲敦顿囤钝盾遁掇哆多夺垛躲朵跺舵剁惰堕蛾峨鹅俄额讹娥恶厄扼遏鄂饿恩而儿耳尔饵洱二�".split("");for(a=0;a!=t[182].length;++a)if(t[182][a].charCodeAt(0)!==65533){r[t[182][a]]=46592+a;e[46592+a]=t[182][a]}t[183]="����������������������������������������������������������������稝稟稡稢稤稥稦稧稨稩稪稫稬稭種稯稰稱稲稴稵稶稸稺稾穀穁穂穃穄穅穇穈穉穊穋穌積穎穏穐穒穓穔穕穖穘穙穚穛穜穝穞穟穠穡穢穣穤穥穦穧穨�穩穪穫穬穭穮穯穱穲穳穵穻穼穽穾窂窅窇窉窊窋窌窎窏窐窓窔窙窚窛窞窡窢贰发罚筏伐乏阀法珐藩帆番翻樊矾钒繁凡烦反返范贩犯饭泛坊芳方肪房防妨仿访纺放菲非啡飞肥匪诽吠肺废沸费芬酚吩氛分纷坟焚汾粉奋份忿愤粪丰封枫蜂峰锋风疯烽逢冯缝讽奉凤佛否夫敷肤孵扶拂辐幅氟符伏俘服�".split("");for(a=0;a!=t[183].length;++a)if(t[183][a].charCodeAt(0)!==65533){r[t[183][a]]=46848+a;e[46848+a]=t[183][a]}t[184]="����������������������������������������������������������������窣窤窧窩窪窫窮窯窰窱窲窴窵窶窷窸窹窺窻窼窽窾竀竁竂竃竄竅竆竇竈竉竊竌竍竎竏竐竑竒竓竔竕竗竘竚竛竜竝竡竢竤竧竨竩竪竫竬竮竰竱竲竳�竴竵競竷竸竻竼竾笀笁笂笅笇笉笌笍笎笐笒笓笖笗笘笚笜笝笟笡笢笣笧笩笭浮涪福袱弗甫抚辅俯釜斧脯腑府腐赴副覆赋复傅付阜父腹负富讣附妇缚咐噶嘎该改概钙盖溉干甘杆柑竿肝赶感秆敢赣冈刚钢缸肛纲岗港杠篙皋高膏羔糕搞镐稿告哥歌搁戈鸽胳疙割革葛格蛤阁隔铬个各给根跟耕更庚羹�".split("");for(a=0;a!=t[184].length;++a)if(t[184][a].charCodeAt(0)!==65533){r[t[184][a]]=47104+a;e[47104+a]=t[184][a]}t[185]="����������������������������������������������������������������笯笰笲笴笵笶笷笹笻笽笿筀筁筂筃筄筆筈筊筍筎筓筕筗筙筜筞筟筡筣筤筥筦筧筨筩筪筫筬筭筯筰筳筴筶筸筺筼筽筿箁箂箃箄箆箇箈箉箊箋箌箎箏�箑箒箓箖箘箙箚箛箞箟箠箣箤箥箮箯箰箲箳箵箶箷箹箺箻箼箽箾箿節篂篃範埂耿梗工攻功恭龚供躬公宫弓巩汞拱贡共钩勾沟苟狗垢构购够辜菇咕箍估沽孤姑鼓古蛊骨谷股故顾固雇刮瓜剐寡挂褂乖拐怪棺关官冠观管馆罐惯灌贯光广逛瑰规圭硅归龟闺轨鬼诡癸桂柜跪贵刽辊滚棍锅郭国果裹过哈�".split("");for(a=0;a!=t[185].length;++a)if(t[185][a].charCodeAt(0)!==65533){r[t[185][a]]=47360+a;e[47360+a]=t[185][a]}t[186]="����������������������������������������������������������������篅篈築篊篋篍篎篏篐篒篔篕篖篗篘篛篜篞篟篠篢篣篤篧篨篩篫篬篭篯篰篲篳篴篵篶篸篹篺篻篽篿簀簁簂簃簄簅簆簈簉簊簍簎簐簑簒簓簔簕簗簘簙�簚簛簜簝簞簠簡簢簣簤簥簨簩簫簬簭簮簯簰簱簲簳簴簵簶簷簹簺簻簼簽簾籂骸孩海氦亥害骇酣憨邯韩含涵寒函喊罕翰撼捍旱憾悍焊汗汉夯杭航壕嚎豪毫郝好耗号浩呵喝荷菏核禾和何合盒貉阂河涸赫褐鹤贺嘿黑痕很狠恨哼亨横衡恒轰哄烘虹鸿洪宏弘红喉侯猴吼厚候后呼乎忽瑚壶葫胡蝴狐糊湖�".split("");for(a=0;a!=t[186].length;++a)if(t[186][a].charCodeAt(0)!==65533){r[t[186][a]]=47616+a;e[47616+a]=t[186][a]}t[187]="����������������������������������������������������������������籃籄籅籆籇籈籉籊籋籌籎籏籐籑籒籓籔籕籖籗籘籙籚籛籜籝籞籟籠籡籢籣籤籥籦籧籨籩籪籫籬籭籮籯籰籱籲籵籶籷籸籹籺籾籿粀粁粂粃粄粅粆粇�粈粊粋粌粍粎粏粐粓粔粖粙粚粛粠粡粣粦粧粨粩粫粬粭粯粰粴粵粶粷粸粺粻弧虎唬护互沪户花哗华猾滑画划化话槐徊怀淮坏欢环桓还缓换患唤痪豢焕涣宦幻荒慌黄磺蝗簧皇凰惶煌晃幌恍谎灰挥辉徽恢蛔回毁悔慧卉惠晦贿秽会烩汇讳诲绘荤昏婚魂浑混豁活伙火获或惑霍货祸击圾基机畸稽积箕�".split("");for(a=0;a!=t[187].length;++a)if(t[187][a].charCodeAt(0)!==65533){r[t[187][a]]=47872+a;e[47872+a]=t[187][a]}t[188]="����������������������������������������������������������������粿糀糂糃糄糆糉糋糎糏糐糑糒糓糔糘糚糛糝糞糡糢糣糤糥糦糧糩糪糫糬糭糮糰糱糲糳糴糵糶糷糹糺糼糽糾糿紀紁紂紃約紅紆紇紈紉紋紌納紎紏紐�紑紒紓純紕紖紗紘紙級紛紜紝紞紟紡紣紤紥紦紨紩紪紬紭紮細紱紲紳紴紵紶肌饥迹激讥鸡姬绩缉吉极棘辑籍集及急疾汲即嫉级挤几脊己蓟技冀季伎祭剂悸济寄寂计记既忌际妓继纪嘉枷夹佳家加荚颊贾甲钾假稼价架驾嫁歼监坚尖笺间煎兼肩艰奸缄茧检柬碱硷拣捡简俭剪减荐槛鉴践贱见键箭件�".split("");for(a=0;a!=t[188].length;++a)if(t[188][a].charCodeAt(0)!==65533){r[t[188][a]]=48128+a;e[48128+a]=t[188][a]}t[189]="����������������������������������������������������������������紷紸紹紺紻紼紽紾紿絀絁終絃組絅絆絇絈絉絊絋経絍絎絏結絑絒絓絔絕絖絗絘絙絚絛絜絝絞絟絠絡絢絣絤絥給絧絨絩絪絫絬絭絯絰統絲絳絴絵絶�絸絹絺絻絼絽絾絿綀綁綂綃綄綅綆綇綈綉綊綋綌綍綎綏綐綑綒經綔綕綖綗綘健舰剑饯渐溅涧建僵姜将浆江疆蒋桨奖讲匠酱降蕉椒礁焦胶交郊浇骄娇嚼搅铰矫侥脚狡角饺缴绞剿教酵轿较叫窖揭接皆秸街阶截劫节桔杰捷睫竭洁结解姐戒藉芥界借介疥诫届巾筋斤金今津襟紧锦仅谨进靳晋禁近烬浸�".split("");for(a=0;a!=t[189].length;++a)if(t[189][a].charCodeAt(0)!==65533){r[t[189][a]]=48384+a;e[48384+a]=t[189][a]}t[190]="����������������������������������������������������������������継続綛綜綝綞綟綠綡綢綣綤綥綧綨綩綪綫綬維綯綰綱網綳綴綵綶綷綸綹綺綻綼綽綾綿緀緁緂緃緄緅緆緇緈緉緊緋緌緍緎総緐緑緒緓緔緕緖緗緘緙�線緛緜緝緞緟締緡緢緣緤緥緦緧編緩緪緫緬緭緮緯緰緱緲緳練緵緶緷緸緹緺尽劲荆兢茎睛晶鲸京惊精粳经井警景颈静境敬镜径痉靖竟竞净炯窘揪究纠玖韭久灸九酒厩救旧臼舅咎就疚鞠拘狙疽居驹菊局咀矩举沮聚拒据巨具距踞锯俱句惧炬剧捐鹃娟倦眷卷绢撅攫抉掘倔爵觉决诀绝均菌钧军君峻�".split("");for(a=0;a!=t[190].length;++a)if(t[190][a].charCodeAt(0)!==65533){r[t[190][a]]=48640+a;e[48640+a]=t[190][a]}t[191]="����������������������������������������������������������������緻緼緽緾緿縀縁縂縃縄縅縆縇縈縉縊縋縌縍縎縏縐縑縒縓縔縕縖縗縘縙縚縛縜縝縞縟縠縡縢縣縤縥縦縧縨縩縪縫縬縭縮縯縰縱縲縳縴縵縶縷縸縹�縺縼總績縿繀繂繃繄繅繆繈繉繊繋繌繍繎繏繐繑繒繓織繕繖繗繘繙繚繛繜繝俊竣浚郡骏喀咖卡咯开揩楷凯慨刊堪勘坎砍看康慷糠扛抗亢炕考拷烤靠坷苛柯棵磕颗科壳咳可渴克刻客课肯啃垦恳坑吭空恐孔控抠口扣寇枯哭窟苦酷库裤夸垮挎跨胯块筷侩快宽款匡筐狂框矿眶旷况亏盔岿窥葵奎魁傀�".split("");for(a=0;a!=t[191].length;++a)if(t[191][a].charCodeAt(0)!==65533){r[t[191][a]]=48896+a;e[48896+a]=t[191][a]}t[192]="����������������������������������������������������������������繞繟繠繡繢繣繤繥繦繧繨繩繪繫繬繭繮繯繰繱繲繳繴繵繶繷繸繹繺繻繼繽繾繿纀纁纃纄纅纆纇纈纉纊纋續纍纎纏纐纑纒纓纔纕纖纗纘纙纚纜纝纞�纮纴纻纼绖绤绬绹缊缐缞缷缹缻缼缽缾缿罀罁罃罆罇罈罉罊罋罌罍罎罏罒罓馈愧溃坤昆捆困括扩廓阔垃拉喇蜡腊辣啦莱来赖蓝婪栏拦篮阑兰澜谰揽览懒缆烂滥琅榔狼廊郎朗浪捞劳牢老佬姥酪烙涝勒乐雷镭蕾磊累儡垒擂肋类泪棱楞冷厘梨犁黎篱狸离漓理李里鲤礼莉荔吏栗丽厉励砾历利傈例俐�".split("");for(a=0;a!=t[192].length;++a)if(t[192][a].charCodeAt(0)!==65533){r[t[192][a]]=49152+a;e[49152+a]=t[192][a]}t[193]="����������������������������������������������������������������罖罙罛罜罝罞罠罣罤罥罦罧罫罬罭罯罰罳罵罶罷罸罺罻罼罽罿羀羂羃羄羅羆羇羈羉羋羍羏羐羑羒羓羕羖羗羘羙羛羜羠羢羣羥羦羨義羪羫羬羭羮羱�羳羴羵羶羷羺羻羾翀翂翃翄翆翇翈翉翋翍翏翐翑習翓翖翗翙翚翛翜翝翞翢翣痢立粒沥隶力璃哩俩联莲连镰廉怜涟帘敛脸链恋炼练粮凉梁粱良两辆量晾亮谅撩聊僚疗燎寥辽潦了撂镣廖料列裂烈劣猎琳林磷霖临邻鳞淋凛赁吝拎玲菱零龄铃伶羚凌灵陵岭领另令溜琉榴硫馏留刘瘤流柳六龙聋咙笼窿�".split("");for(a=0;a!=t[193].length;++a)if(t[193][a].charCodeAt(0)!==65533){r[t[193][a]]=49408+a;e[49408+a]=t[193][a]}t[194]="����������������������������������������������������������������翤翧翨翪翫翬翭翯翲翴翵翶翷翸翹翺翽翾翿耂耇耈耉耊耎耏耑耓耚耛耝耞耟耡耣耤耫耬耭耮耯耰耲耴耹耺耼耾聀聁聄聅聇聈聉聎聏聐聑聓聕聖聗�聙聛聜聝聞聟聠聡聢聣聤聥聦聧聨聫聬聭聮聯聰聲聳聴聵聶職聸聹聺聻聼聽隆垄拢陇楼娄搂篓漏陋芦卢颅庐炉掳卤虏鲁麓碌露路赂鹿潞禄录陆戮驴吕铝侣旅履屡缕虑氯律率滤绿峦挛孪滦卵乱掠略抡轮伦仑沦纶论萝螺罗逻锣箩骡裸落洛骆络妈麻玛码蚂马骂嘛吗埋买麦卖迈脉瞒馒蛮满蔓曼慢漫�".split("");for(a=0;a!=t[194].length;++a)if(t[194][a].charCodeAt(0)!==65533){r[t[194][a]]=49664+a;e[49664+a]=t[194][a]}t[195]="����������������������������������������������������������������聾肁肂肅肈肊肍肎肏肐肑肒肔肕肗肙肞肣肦肧肨肬肰肳肵肶肸肹肻胅胇胈胉胊胋胏胐胑胒胓胔胕胘胟胠胢胣胦胮胵胷胹胻胾胿脀脁脃脄脅脇脈脋�脌脕脗脙脛脜脝脟脠脡脢脣脤脥脦脧脨脩脪脫脭脮脰脳脴脵脷脹脺脻脼脽脿谩芒茫盲氓忙莽猫茅锚毛矛铆卯茂冒帽貌贸么玫枚梅酶霉煤没眉媒镁每美昧寐妹媚门闷们萌蒙檬盟锰猛梦孟眯醚靡糜迷谜弥米秘觅泌蜜密幂棉眠绵冕免勉娩缅面苗描瞄藐秒渺庙妙蔑灭民抿皿敏悯闽明螟鸣铭名命谬摸�".split("");for(a=0;a!=t[195].length;++a)if(t[195][a].charCodeAt(0)!==65533){r[t[195][a]]=49920+a;e[49920+a]=t[195][a]}t[196]="����������������������������������������������������������������腀腁腂腃腄腅腇腉腍腎腏腒腖腗腘腛腜腝腞腟腡腢腣腤腦腨腪腫腬腯腲腳腵腶腷腸膁膃膄膅膆膇膉膋膌膍膎膐膒膓膔膕膖膗膙膚膞膟膠膡膢膤膥�膧膩膫膬膭膮膯膰膱膲膴膵膶膷膸膹膼膽膾膿臄臅臇臈臉臋臍臎臏臐臑臒臓摹蘑模膜磨摩魔抹末莫墨默沫漠寞陌谋牟某拇牡亩姆母墓暮幕募慕木目睦牧穆拿哪呐钠那娜纳氖乃奶耐奈南男难囊挠脑恼闹淖呢馁内嫩能妮霓倪泥尼拟你匿腻逆溺蔫拈年碾撵捻念娘酿鸟尿捏聂孽啮镊镍涅您柠狞凝宁�".split("");for(a=0;a!=t[196].length;++a)if(t[196][a].charCodeAt(0)!==65533){r[t[196][a]]=50176+a;e[50176+a]=t[196][a]}t[197]="����������������������������������������������������������������臔臕臖臗臘臙臚臛臜臝臞臟臠臡臢臤臥臦臨臩臫臮臯臰臱臲臵臶臷臸臹臺臽臿舃與興舉舊舋舎舏舑舓舕舖舗舘舙舚舝舠舤舥舦舧舩舮舲舺舼舽舿�艀艁艂艃艅艆艈艊艌艍艎艐艑艒艓艔艕艖艗艙艛艜艝艞艠艡艢艣艤艥艦艧艩拧泞牛扭钮纽脓浓农弄奴努怒女暖虐疟挪懦糯诺哦欧鸥殴藕呕偶沤啪趴爬帕怕琶拍排牌徘湃派攀潘盘磐盼畔判叛乓庞旁耪胖抛咆刨炮袍跑泡呸胚培裴赔陪配佩沛喷盆砰抨烹澎彭蓬棚硼篷膨朋鹏捧碰坯砒霹批披劈琵毗�".split("");for(a=0;a!=t[197].length;++a)if(t[197][a].charCodeAt(0)!==65533){r[t[197][a]]=50432+a;e[50432+a]=t[197][a]}t[198]="����������������������������������������������������������������艪艫艬艭艱艵艶艷艸艻艼芀芁芃芅芆芇芉芌芐芓芔芕芖芚芛芞芠芢芣芧芲芵芶芺芻芼芿苀苂苃苅苆苉苐苖苙苚苝苢苧苨苩苪苬苭苮苰苲苳苵苶苸�苺苼苽苾苿茀茊茋茍茐茒茓茖茘茙茝茞茟茠茡茢茣茤茥茦茩茪茮茰茲茷茻茽啤脾疲皮匹痞僻屁譬篇偏片骗飘漂瓢票撇瞥拼频贫品聘乒坪苹萍平凭瓶评屏坡泼颇婆破魄迫粕剖扑铺仆莆葡菩蒲埔朴圃普浦谱曝瀑期欺栖戚妻七凄漆柒沏其棋奇歧畦崎脐齐旗祈祁骑起岂乞企启契砌器气迄弃汽泣讫掐�".split("");for(a=0;a!=t[198].length;++a)if(t[198][a].charCodeAt(0)!==65533){r[t[198][a]]=50688+a;e[50688+a]=t[198][a]}t[199]="����������������������������������������������������������������茾茿荁荂荄荅荈荊荋荌荍荎荓荕荖荗荘荙荝荢荰荱荲荳荴荵荶荹荺荾荿莀莁莂莃莄莇莈莊莋莌莍莏莐莑莔莕莖莗莙莚莝莟莡莢莣莤莥莦莧莬莭莮�莯莵莻莾莿菂菃菄菆菈菉菋菍菎菐菑菒菓菕菗菙菚菛菞菢菣菤菦菧菨菫菬菭恰洽牵扦钎铅千迁签仟谦乾黔钱钳前潜遣浅谴堑嵌欠歉枪呛腔羌墙蔷强抢橇锹敲悄桥瞧乔侨巧鞘撬翘峭俏窍切茄且怯窃钦侵亲秦琴勤芹擒禽寝沁青轻氢倾卿清擎晴氰情顷请庆琼穷秋丘邱球求囚酋泅趋区蛆曲躯屈驱渠�".split("");for(a=0;a!=t[199].length;++a)if(t[199][a].charCodeAt(0)!==65533){r[t[199][a]]=50944+a;e[50944+a]=t[199][a]}t[200]="����������������������������������������������������������������菮華菳菴菵菶菷菺菻菼菾菿萀萂萅萇萈萉萊萐萒萓萔萕萖萗萙萚萛萞萟萠萡萢萣萩萪萫萬萭萮萯萰萲萳萴萵萶萷萹萺萻萾萿葀葁葂葃葄葅葇葈葉�葊葋葌葍葎葏葐葒葓葔葕葖葘葝葞葟葠葢葤葥葦葧葨葪葮葯葰葲葴葷葹葻葼取娶龋趣去圈颧权醛泉全痊拳犬券劝缺炔瘸却鹊榷确雀裙群然燃冉染瓤壤攘嚷让饶扰绕惹热壬仁人忍韧任认刃妊纫扔仍日戎茸蓉荣融熔溶容绒冗揉柔肉茹蠕儒孺如辱乳汝入褥软阮蕊瑞锐闰润若弱撒洒萨腮鳃塞赛三叁�".split("");for(a=0;a!=t[200].length;++a)if(t[200][a].charCodeAt(0)!==65533){r[t[200][a]]=51200+a;e[51200+a]=t[200][a]}t[201]="����������������������������������������������������������������葽葾葿蒀蒁蒃蒄蒅蒆蒊蒍蒏蒐蒑蒒蒓蒔蒕蒖蒘蒚蒛蒝蒞蒟蒠蒢蒣蒤蒥蒦蒧蒨蒩蒪蒫蒬蒭蒮蒰蒱蒳蒵蒶蒷蒻蒼蒾蓀蓂蓃蓅蓆蓇蓈蓋蓌蓎蓏蓒蓔蓕蓗�蓘蓙蓚蓛蓜蓞蓡蓢蓤蓧蓨蓩蓪蓫蓭蓮蓯蓱蓲蓳蓴蓵蓶蓷蓸蓹蓺蓻蓽蓾蔀蔁蔂伞散桑嗓丧搔骚扫嫂瑟色涩森僧莎砂杀刹沙纱傻啥煞筛晒珊苫杉山删煽衫闪陕擅赡膳善汕扇缮墒伤商赏晌上尚裳梢捎稍烧芍勺韶少哨邵绍奢赊蛇舌舍赦摄射慑涉社设砷申呻伸身深娠绅神沈审婶甚肾慎渗声生甥牲升绳�".split("");for(a=0;a!=t[201].length;++a)if(t[201][a].charCodeAt(0)!==65533){r[t[201][a]]=51456+a;e[51456+a]=t[201][a]}t[202]="����������������������������������������������������������������蔃蔄蔅蔆蔇蔈蔉蔊蔋蔍蔎蔏蔐蔒蔔蔕蔖蔘蔙蔛蔜蔝蔞蔠蔢蔣蔤蔥蔦蔧蔨蔩蔪蔭蔮蔯蔰蔱蔲蔳蔴蔵蔶蔾蔿蕀蕁蕂蕄蕅蕆蕇蕋蕌蕍蕎蕏蕐蕑蕒蕓蕔蕕�蕗蕘蕚蕛蕜蕝蕟蕠蕡蕢蕣蕥蕦蕧蕩蕪蕫蕬蕭蕮蕯蕰蕱蕳蕵蕶蕷蕸蕼蕽蕿薀薁省盛剩胜圣师失狮施湿诗尸虱十石拾时什食蚀实识史矢使屎驶始式示士世柿事拭誓逝势是嗜噬适仕侍释饰氏市恃室视试收手首守寿授售受瘦兽蔬枢梳殊抒输叔舒淑疏书赎孰熟薯暑曙署蜀黍鼠属术述树束戍竖墅庶数漱�".split("");for(a=0;a!=t[202].length;++a)if(t[202][a].charCodeAt(0)!==65533){r[t[202][a]]=51712+a;e[51712+a]=t[202][a]}t[203]="����������������������������������������������������������������薂薃薆薈薉薊薋薌薍薎薐薑薒薓薔薕薖薗薘薙薚薝薞薟薠薡薢薣薥薦薧薩薫薬薭薱薲薳薴薵薶薸薺薻薼薽薾薿藀藂藃藄藅藆藇藈藊藋藌藍藎藑藒�藔藖藗藘藙藚藛藝藞藟藠藡藢藣藥藦藧藨藪藫藬藭藮藯藰藱藲藳藴藵藶藷藸恕刷耍摔衰甩帅栓拴霜双爽谁水睡税吮瞬顺舜说硕朔烁斯撕嘶思私司丝死肆寺嗣四伺似饲巳松耸怂颂送宋讼诵搜艘擞嗽苏酥俗素速粟僳塑溯宿诉肃酸蒜算虽隋随绥髓碎岁穗遂隧祟孙损笋蓑梭唆缩琐索锁所塌他它她塔�".split("");for(a=0;a!=t[203].length;++a)if(t[203][a].charCodeAt(0)!==65533){r[t[203][a]]=51968+a;e[51968+a]=t[203][a]}t[204]="����������������������������������������������������������������藹藺藼藽藾蘀蘁蘂蘃蘄蘆蘇蘈蘉蘊蘋蘌蘍蘎蘏蘐蘒蘓蘔蘕蘗蘘蘙蘚蘛蘜蘝蘞蘟蘠蘡蘢蘣蘤蘥蘦蘨蘪蘫蘬蘭蘮蘯蘰蘱蘲蘳蘴蘵蘶蘷蘹蘺蘻蘽蘾蘿虀�虁虂虃虄虅虆虇虈虉虊虋虌虒虓處虖虗虘虙虛虜虝號虠虡虣虤虥虦虧虨虩虪獭挞蹋踏胎苔抬台泰酞太态汰坍摊贪瘫滩坛檀痰潭谭谈坦毯袒碳探叹炭汤塘搪堂棠膛唐糖倘躺淌趟烫掏涛滔绦萄桃逃淘陶讨套特藤腾疼誊梯剔踢锑提题蹄啼体替嚏惕涕剃屉天添填田甜恬舔腆挑条迢眺跳贴铁帖厅听烃�".split("");for(a=0;a!=t[204].length;++a)if(t[204][a].charCodeAt(0)!==65533){r[t[204][a]]=52224+a;e[52224+a]=t[204][a]}t[205]="����������������������������������������������������������������虭虯虰虲虳虴虵虶虷虸蚃蚄蚅蚆蚇蚈蚉蚎蚏蚐蚑蚒蚔蚖蚗蚘蚙蚚蚛蚞蚟蚠蚡蚢蚥蚦蚫蚭蚮蚲蚳蚷蚸蚹蚻蚼蚽蚾蚿蛁蛂蛃蛅蛈蛌蛍蛒蛓蛕蛖蛗蛚蛜�蛝蛠蛡蛢蛣蛥蛦蛧蛨蛪蛫蛬蛯蛵蛶蛷蛺蛻蛼蛽蛿蜁蜄蜅蜆蜋蜌蜎蜏蜐蜑蜔蜖汀廷停亭庭挺艇通桐酮瞳同铜彤童桶捅筒统痛偷投头透凸秃突图徒途涂屠土吐兔湍团推颓腿蜕褪退吞屯臀拖托脱鸵陀驮驼椭妥拓唾挖哇蛙洼娃瓦袜歪外豌弯湾玩顽丸烷完碗挽晚皖惋宛婉万腕汪王亡枉网往旺望忘妄威�".split("");for(a=0;a!=t[205].length;++a)if(t[205][a].charCodeAt(0)!==65533){r[t[205][a]]=52480+a;e[52480+a]=t[205][a]}t[206]="����������������������������������������������������������������蜙蜛蜝蜟蜠蜤蜦蜧蜨蜪蜫蜬蜭蜯蜰蜲蜳蜵蜶蜸蜹蜺蜼蜽蝀蝁蝂蝃蝄蝅蝆蝊蝋蝍蝏蝐蝑蝒蝔蝕蝖蝘蝚蝛蝜蝝蝞蝟蝡蝢蝦蝧蝨蝩蝪蝫蝬蝭蝯蝱蝲蝳蝵�蝷蝸蝹蝺蝿螀螁螄螆螇螉螊螌螎螏螐螑螒螔螕螖螘螙螚螛螜螝螞螠螡螢螣螤巍微危韦违桅围唯惟为潍维苇萎委伟伪尾纬未蔚味畏胃喂魏位渭谓尉慰卫瘟温蚊文闻纹吻稳紊问嗡翁瓮挝蜗涡窝我斡卧握沃巫呜钨乌污诬屋无芜梧吾吴毋武五捂午舞伍侮坞戊雾晤物勿务悟误昔熙析西硒矽晰嘻吸锡牺�".split("");for(a=0;a!=t[206].length;++a)if(t[206][a].charCodeAt(0)!==65533){r[t[206][a]]=52736+a;e[52736+a]=t[206][a]}t[207]="����������������������������������������������������������������螥螦螧螩螪螮螰螱螲螴螶螷螸螹螻螼螾螿蟁蟂蟃蟄蟅蟇蟈蟉蟌蟍蟎蟏蟐蟔蟕蟖蟗蟘蟙蟚蟜蟝蟞蟟蟡蟢蟣蟤蟦蟧蟨蟩蟫蟬蟭蟯蟰蟱蟲蟳蟴蟵蟶蟷蟸�蟺蟻蟼蟽蟿蠀蠁蠂蠄蠅蠆蠇蠈蠉蠋蠌蠍蠎蠏蠐蠑蠒蠔蠗蠘蠙蠚蠜蠝蠞蠟蠠蠣稀息希悉膝夕惜熄烯溪汐犀檄袭席习媳喜铣洗系隙戏细瞎虾匣霞辖暇峡侠狭下厦夏吓掀锨先仙鲜纤咸贤衔舷闲涎弦嫌显险现献县腺馅羡宪陷限线相厢镶香箱襄湘乡翔祥详想响享项巷橡像向象萧硝霄削哮嚣销消宵淆晓�".split("");for(a=0;a!=t[207].length;++a)if(t[207][a].charCodeAt(0)!==65533){r[t[207][a]]=52992+a;e[52992+a]=t[207][a]}t[208]="����������������������������������������������������������������蠤蠥蠦蠧蠨蠩蠪蠫蠬蠭蠮蠯蠰蠱蠳蠴蠵蠶蠷蠸蠺蠻蠽蠾蠿衁衂衃衆衇衈衉衊衋衎衏衐衑衒術衕衖衘衚衛衜衝衞衟衠衦衧衪衭衯衱衳衴衵衶衸衹衺�衻衼袀袃袆袇袉袊袌袎袏袐袑袓袔袕袗袘袙袚袛袝袞袟袠袡袣袥袦袧袨袩袪小孝校肖啸笑效楔些歇蝎鞋协挟携邪斜胁谐写械卸蟹懈泄泻谢屑薪芯锌欣辛新忻心信衅星腥猩惺兴刑型形邢行醒幸杏性姓兄凶胸匈汹雄熊休修羞朽嗅锈秀袖绣墟戌需虚嘘须徐许蓄酗叙旭序畜恤絮婿绪续轩喧宣悬旋玄�".split("");for(a=0;a!=t[208].length;++a)if(t[208][a].charCodeAt(0)!==65533){r[t[208][a]]=53248+a;e[53248+a]=t[208][a]}t[209]="����������������������������������������������������������������袬袮袯袰袲袳袴袵袶袸袹袺袻袽袾袿裀裃裄裇裈裊裋裌裍裏裐裑裓裖裗裚裛補裝裞裠裡裦裧裩裪裫裬裭裮裯裲裵裶裷裺裻製裿褀褁褃褄褅褆複褈�褉褋褌褍褎褏褑褔褕褖褗褘褜褝褞褟褠褢褣褤褦褧褨褩褬褭褮褯褱褲褳褵褷选癣眩绚靴薛学穴雪血勋熏循旬询寻驯巡殉汛训讯逊迅压押鸦鸭呀丫芽牙蚜崖衙涯雅哑亚讶焉咽阉烟淹盐严研蜒岩延言颜阎炎沿奄掩眼衍演艳堰燕厌砚雁唁彦焰宴谚验殃央鸯秧杨扬佯疡羊洋阳氧仰痒养样漾邀腰妖瑶�".split("");for(a=0;a!=t[209].length;++a)if(t[209][a].charCodeAt(0)!==65533){r[t[209][a]]=53504+a;e[53504+a]=t[209][a]}t[210]="����������������������������������������������������������������褸褹褺褻褼褽褾褿襀襂襃襅襆襇襈襉襊襋襌襍襎襏襐襑襒襓襔襕襖襗襘襙襚襛襜襝襠襡襢襣襤襥襧襨襩襪襫襬襭襮襯襰襱襲襳襴襵襶襷襸襹襺襼�襽襾覀覂覄覅覇覈覉覊見覌覍覎規覐覑覒覓覔覕視覗覘覙覚覛覜覝覞覟覠覡摇尧遥窑谣姚咬舀药要耀椰噎耶爷野冶也页掖业叶曳腋夜液一壹医揖铱依伊衣颐夷遗移仪胰疑沂宜姨彝椅蚁倚已乙矣以艺抑易邑屹亿役臆逸肄疫亦裔意毅忆义益溢诣议谊译异翼翌绎茵荫因殷音阴姻吟银淫寅饮尹引隐�".split("");for(a=0;a!=t[210].length;++a)if(t[210][a].charCodeAt(0)!==65533){r[t[210][a]]=53760+a;e[53760+a]=t[210][a]}t[211]="����������������������������������������������������������������覢覣覤覥覦覧覨覩親覫覬覭覮覯覰覱覲観覴覵覶覷覸覹覺覻覼覽覾覿觀觃觍觓觔觕觗觘觙觛觝觟觠觡觢觤觧觨觩觪觬觭觮觰觱觲觴觵觶觷觸觹觺�觻觼觽觾觿訁訂訃訄訅訆計訉訊訋訌訍討訏訐訑訒訓訔訕訖託記訙訚訛訜訝印英樱婴鹰应缨莹萤营荧蝇迎赢盈影颖硬映哟拥佣臃痈庸雍踊蛹咏泳涌永恿勇用幽优悠忧尤由邮铀犹油游酉有友右佑釉诱又幼迂淤于盂榆虞愚舆余俞逾鱼愉渝渔隅予娱雨与屿禹宇语羽玉域芋郁吁遇喻峪御愈欲狱育誉�".split("");for(a=0;a!=t[211].length;++a)if(t[211][a].charCodeAt(0)!==65533){r[t[211][a]]=54016+a;e[54016+a]=t[211][a]}t[212]="����������������������������������������������������������������訞訟訠訡訢訣訤訥訦訧訨訩訪訫訬設訮訯訰許訲訳訴訵訶訷訸訹診註証訽訿詀詁詂詃詄詅詆詇詉詊詋詌詍詎詏詐詑詒詓詔評詖詗詘詙詚詛詜詝詞�詟詠詡詢詣詤詥試詧詨詩詪詫詬詭詮詯詰話該詳詴詵詶詷詸詺詻詼詽詾詿誀浴寓裕预豫驭鸳渊冤元垣袁原援辕园员圆猿源缘远苑愿怨院曰约越跃钥岳粤月悦阅耘云郧匀陨允运蕴酝晕韵孕匝砸杂栽哉灾宰载再在咱攒暂赞赃脏葬遭糟凿藻枣早澡蚤躁噪造皂灶燥责择则泽贼怎增憎曾赠扎喳渣札轧�".split("");for(a=0;a!=t[212].length;++a)if(t[212][a].charCodeAt(0)!==65533){r[t[212][a]]=54272+a;e[54272+a]=t[212][a]}t[213]="����������������������������������������������������������������誁誂誃誄誅誆誇誈誋誌認誎誏誐誑誒誔誕誖誗誘誙誚誛誜誝語誟誠誡誢誣誤誥誦誧誨誩說誫説読誮誯誰誱課誳誴誵誶誷誸誹誺誻誼誽誾調諀諁諂�諃諄諅諆談諈諉諊請諌諍諎諏諐諑諒諓諔諕論諗諘諙諚諛諜諝諞諟諠諡諢諣铡闸眨栅榨咋乍炸诈摘斋宅窄债寨瞻毡詹粘沾盏斩辗崭展蘸栈占战站湛绽樟章彰漳张掌涨杖丈帐账仗胀瘴障招昭找沼赵照罩兆肇召遮折哲蛰辙者锗蔗这浙珍斟真甄砧臻贞针侦枕疹诊震振镇阵蒸挣睁征狰争怔整拯正政�".split("");for(a=0;a!=t[213].length;++a)if(t[213][a].charCodeAt(0)!==65533){r[t[213][a]]=54528+a;e[54528+a]=t[213][a]}t[214]="����������������������������������������������������������������諤諥諦諧諨諩諪諫諬諭諮諯諰諱諲諳諴諵諶諷諸諹諺諻諼諽諾諿謀謁謂謃謄謅謆謈謉謊謋謌謍謎謏謐謑謒謓謔謕謖謗謘謙謚講謜謝謞謟謠謡謢謣�謤謥謧謨謩謪謫謬謭謮謯謰謱謲謳謴謵謶謷謸謹謺謻謼謽謾謿譀譁譂譃譄譅帧症郑证芝枝支吱蜘知肢脂汁之织职直植殖执值侄址指止趾只旨纸志挚掷至致置帜峙制智秩稚质炙痔滞治窒中盅忠钟衷终种肿重仲众舟周州洲诌粥轴肘帚咒皱宙昼骤珠株蛛朱猪诸诛逐竹烛煮拄瞩嘱主著柱助蛀贮铸筑�".split("");for(a=0;a!=t[214].length;++a)if(t[214][a].charCodeAt(0)!==65533){r[t[214][a]]=54784+a;e[54784+a]=t[214][a]}t[215]="����������������������������������������������������������������譆譇譈證譊譋譌譍譎譏譐譑譒譓譔譕譖譗識譙譚譛譜譝譞譟譠譡譢譣譤譥譧譨譩譪譫譭譮譯議譱譲譳譴譵譶護譸譹譺譻譼譽譾譿讀讁讂讃讄讅讆�讇讈讉變讋讌讍讎讏讐讑讒讓讔讕讖讗讘讙讚讛讜讝讞讟讬讱讻诇诐诪谉谞住注祝驻抓爪拽专砖转撰赚篆桩庄装妆撞壮状椎锥追赘坠缀谆准捉拙卓桌琢茁酌啄着灼浊兹咨资姿滋淄孜紫仔籽滓子自渍字鬃棕踪宗综总纵邹走奏揍租足卒族祖诅阻组钻纂嘴醉最罪尊遵昨左佐柞做作坐座������".split("");for(a=0;a!=t[215].length;++a)if(t[215][a].charCodeAt(0)!==65533){r[t[215][a]]=55040+a;e[55040+a]=t[215][a]}t[216]="����������������������������������������������������������������谸谹谺谻谼谽谾谿豀豂豃豄豅豈豊豋豍豎豏豐豑豒豓豔豖豗豘豙豛豜豝豞豟豠豣豤豥豦豧豨豩豬豭豮豯豰豱豲豴豵豶豷豻豼豽豾豿貀貁貃貄貆貇�貈貋貍貎貏貐貑貒貓貕貖貗貙貚貛貜貝貞貟負財貢貣貤貥貦貧貨販貪貫責貭亍丌兀丐廿卅丕亘丞鬲孬噩丨禺丿匕乇夭爻卮氐囟胤馗毓睾鼗丶亟鼐乜乩亓芈孛啬嘏仄厍厝厣厥厮靥赝匚叵匦匮匾赜卦卣刂刈刎刭刳刿剀剌剞剡剜蒯剽劂劁劐劓冂罔亻仃仉仂仨仡仫仞伛仳伢佤仵伥伧伉伫佞佧攸佚佝�".split("");for(a=0;a!=t[216].length;++a)if(t[216][a].charCodeAt(0)!==65533){r[t[216][a]]=55296+a;e[55296+a]=t[216][a]}t[217]="����������������������������������������������������������������貮貯貰貱貲貳貴貵貶買貸貹貺費貼貽貾貿賀賁賂賃賄賅賆資賈賉賊賋賌賍賎賏賐賑賒賓賔賕賖賗賘賙賚賛賜賝賞賟賠賡賢賣賤賥賦賧賨賩質賫賬�賭賮賯賰賱賲賳賴賵賶賷賸賹賺賻購賽賾賿贀贁贂贃贄贅贆贇贈贉贊贋贌贍佟佗伲伽佶佴侑侉侃侏佾佻侪佼侬侔俦俨俪俅俚俣俜俑俟俸倩偌俳倬倏倮倭俾倜倌倥倨偾偃偕偈偎偬偻傥傧傩傺僖儆僭僬僦僮儇儋仝氽佘佥俎龠汆籴兮巽黉馘冁夔勹匍訇匐凫夙兕亠兖亳衮袤亵脔裒禀嬴蠃羸冫冱冽冼�".split("");for(a=0;a!=t[217].length;++a)if(t[217][a].charCodeAt(0)!==65533){r[t[217][a]]=55552+a;e[55552+a]=t[217][a]}t[218]="����������������������������������������������������������������贎贏贐贑贒贓贔贕贖贗贘贙贚贛贜贠赑赒赗赟赥赨赩赪赬赮赯赱赲赸赹赺赻赼赽赾赿趀趂趃趆趇趈趉趌趍趎趏趐趒趓趕趖趗趘趙趚趛趜趝趞趠趡�趢趤趥趦趧趨趩趪趫趬趭趮趯趰趲趶趷趹趻趽跀跁跂跅跇跈跉跊跍跐跒跓跔凇冖冢冥讠讦讧讪讴讵讷诂诃诋诏诎诒诓诔诖诘诙诜诟诠诤诨诩诮诰诳诶诹诼诿谀谂谄谇谌谏谑谒谔谕谖谙谛谘谝谟谠谡谥谧谪谫谮谯谲谳谵谶卩卺阝阢阡阱阪阽阼陂陉陔陟陧陬陲陴隈隍隗隰邗邛邝邙邬邡邴邳邶邺�".split("");for(a=0;a!=t[218].length;++a)if(t[218][a].charCodeAt(0)!==65533){r[t[218][a]]=55808+a;e[55808+a]=t[218][a]}t[219]="����������������������������������������������������������������跕跘跙跜跠跡跢跥跦跧跩跭跮跰跱跲跴跶跼跾跿踀踁踂踃踄踆踇踈踋踍踎踐踑踒踓踕踖踗踘踙踚踛踜踠踡踤踥踦踧踨踫踭踰踲踳踴踶踷踸踻踼踾�踿蹃蹅蹆蹌蹍蹎蹏蹐蹓蹔蹕蹖蹗蹘蹚蹛蹜蹝蹞蹟蹠蹡蹢蹣蹤蹥蹧蹨蹪蹫蹮蹱邸邰郏郅邾郐郄郇郓郦郢郜郗郛郫郯郾鄄鄢鄞鄣鄱鄯鄹酃酆刍奂劢劬劭劾哿勐勖勰叟燮矍廴凵凼鬯厶弁畚巯坌垩垡塾墼壅壑圩圬圪圳圹圮圯坜圻坂坩垅坫垆坼坻坨坭坶坳垭垤垌垲埏垧垴垓垠埕埘埚埙埒垸埴埯埸埤埝�".split("");for(a=0;a!=t[219].length;++a)if(t[219][a].charCodeAt(0)!==65533){r[t[219][a]]=56064+a;e[56064+a]=t[219][a]}t[220]="����������������������������������������������������������������蹳蹵蹷蹸蹹蹺蹻蹽蹾躀躂躃躄躆躈躉躊躋躌躍躎躑躒躓躕躖躗躘躙躚躛躝躟躠躡躢躣躤躥躦躧躨躩躪躭躮躰躱躳躴躵躶躷躸躹躻躼躽躾躿軀軁軂�軃軄軅軆軇軈軉車軋軌軍軏軐軑軒軓軔軕軖軗軘軙軚軛軜軝軞軟軠軡転軣軤堋堍埽埭堀堞堙塄堠塥塬墁墉墚墀馨鼙懿艹艽艿芏芊芨芄芎芑芗芙芫芸芾芰苈苊苣芘芷芮苋苌苁芩芴芡芪芟苄苎芤苡茉苷苤茏茇苜苴苒苘茌苻苓茑茚茆茔茕苠苕茜荑荛荜茈莒茼茴茱莛荞茯荏荇荃荟荀茗荠茭茺茳荦荥�".split("");for(a=0;a!=t[220].length;++a)if(t[220][a].charCodeAt(0)!==65533){r[t[220][a]]=56320+a;e[56320+a]=t[220][a]}t[221]="����������������������������������������������������������������軥軦軧軨軩軪軫軬軭軮軯軰軱軲軳軴軵軶軷軸軹軺軻軼軽軾軿輀輁輂較輄輅輆輇輈載輊輋輌輍輎輏輐輑輒輓輔輕輖輗輘輙輚輛輜輝輞輟輠輡輢輣�輤輥輦輧輨輩輪輫輬輭輮輯輰輱輲輳輴輵輶輷輸輹輺輻輼輽輾輿轀轁轂轃轄荨茛荩荬荪荭荮莰荸莳莴莠莪莓莜莅荼莶莩荽莸荻莘莞莨莺莼菁萁菥菘堇萘萋菝菽菖萜萸萑萆菔菟萏萃菸菹菪菅菀萦菰菡葜葑葚葙葳蒇蒈葺蒉葸萼葆葩葶蒌蒎萱葭蓁蓍蓐蓦蒽蓓蓊蒿蒺蓠蒡蒹蒴蒗蓥蓣蔌甍蔸蓰蔹蔟蔺�".split("");for(a=0;a!=t[221].length;++a)if(t[221][a].charCodeAt(0)!==65533){r[t[221][a]]=56576+a;e[56576+a]=t[221][a]}t[222]="����������������������������������������������������������������轅轆轇轈轉轊轋轌轍轎轏轐轑轒轓轔轕轖轗轘轙轚轛轜轝轞轟轠轡轢轣轤轥轪辀辌辒辝辠辡辢辤辥辦辧辪辬辭辮辯農辳辴辵辷辸辺辻込辿迀迃迆�迉迊迋迌迍迏迒迖迗迚迠迡迣迧迬迯迱迲迴迵迶迺迻迼迾迿逇逈逌逎逓逕逘蕖蔻蓿蓼蕙蕈蕨蕤蕞蕺瞢蕃蕲蕻薤薨薇薏蕹薮薜薅薹薷薰藓藁藜藿蘧蘅蘩蘖蘼廾弈夼奁耷奕奚奘匏尢尥尬尴扌扪抟抻拊拚拗拮挢拶挹捋捃掭揶捱捺掎掴捭掬掊捩掮掼揲揸揠揿揄揞揎摒揆掾摅摁搋搛搠搌搦搡摞撄摭撖�".split("");for(a=0;a!=t[222].length;++a)if(t[222][a].charCodeAt(0)!==65533){r[t[222][a]]=56832+a;e[56832+a]=t[222][a]}t[223]="����������������������������������������������������������������這逜連逤逥逧逨逩逪逫逬逰週進逳逴逷逹逺逽逿遀遃遅遆遈遉遊運遌過達違遖遙遚遜遝遞遟遠遡遤遦遧適遪遫遬遯遰遱遲遳遶遷選遹遺遻遼遾邁�還邅邆邇邉邊邌邍邎邏邐邒邔邖邘邚邜邞邟邠邤邥邧邨邩邫邭邲邷邼邽邿郀摺撷撸撙撺擀擐擗擤擢攉攥攮弋忒甙弑卟叱叽叩叨叻吒吖吆呋呒呓呔呖呃吡呗呙吣吲咂咔呷呱呤咚咛咄呶呦咝哐咭哂咴哒咧咦哓哔呲咣哕咻咿哌哙哚哜咩咪咤哝哏哞唛哧唠哽唔哳唢唣唏唑唧唪啧喏喵啉啭啁啕唿啐唼�".split("");for(a=0;a!=t[223].length;++a)if(t[223][a].charCodeAt(0)!==65533){r[t[223][a]]=57088+a;e[57088+a]=t[223][a]}t[224]="����������������������������������������������������������������郂郃郆郈郉郋郌郍郒郔郕郖郘郙郚郞郟郠郣郤郥郩郪郬郮郰郱郲郳郵郶郷郹郺郻郼郿鄀鄁鄃鄅鄆鄇鄈鄉鄊鄋鄌鄍鄎鄏鄐鄑鄒鄓鄔鄕鄖鄗鄘鄚鄛鄜�鄝鄟鄠鄡鄤鄥鄦鄧鄨鄩鄪鄫鄬鄭鄮鄰鄲鄳鄴鄵鄶鄷鄸鄺鄻鄼鄽鄾鄿酀酁酂酄唷啖啵啶啷唳唰啜喋嗒喃喱喹喈喁喟啾嗖喑啻嗟喽喾喔喙嗪嗷嗉嘟嗑嗫嗬嗔嗦嗝嗄嗯嗥嗲嗳嗌嗍嗨嗵嗤辔嘞嘈嘌嘁嘤嘣嗾嘀嘧嘭噘嘹噗嘬噍噢噙噜噌噔嚆噤噱噫噻噼嚅嚓嚯囔囗囝囡囵囫囹囿圄圊圉圜帏帙帔帑帱帻帼�".split("");for(a=0;a!=t[224].length;++a)if(t[224][a].charCodeAt(0)!==65533){r[t[224][a]]=57344+a;e[57344+a]=t[224][a]}t[225]="����������������������������������������������������������������酅酇酈酑酓酔酕酖酘酙酛酜酟酠酦酧酨酫酭酳酺酻酼醀醁醂醃醄醆醈醊醎醏醓醔醕醖醗醘醙醜醝醞醟醠醡醤醥醦醧醨醩醫醬醰醱醲醳醶醷醸醹醻�醼醽醾醿釀釁釂釃釄釅釆釈釋釐釒釓釔釕釖釗釘釙釚釛針釞釟釠釡釢釣釤釥帷幄幔幛幞幡岌屺岍岐岖岈岘岙岑岚岜岵岢岽岬岫岱岣峁岷峄峒峤峋峥崂崃崧崦崮崤崞崆崛嵘崾崴崽嵬嵛嵯嵝嵫嵋嵊嵩嵴嶂嶙嶝豳嶷巅彳彷徂徇徉後徕徙徜徨徭徵徼衢彡犭犰犴犷犸狃狁狎狍狒狨狯狩狲狴狷猁狳猃狺�".split("");for(a=0;a!=t[225].length;++a)if(t[225][a].charCodeAt(0)!==65533){r[t[225][a]]=57600+a;e[57600+a]=t[225][a]}t[226]="����������������������������������������������������������������釦釧釨釩釪釫釬釭釮釯釰釱釲釳釴釵釶釷釸釹釺釻釼釽釾釿鈀鈁鈂鈃鈄鈅鈆鈇鈈鈉鈊鈋鈌鈍鈎鈏鈐鈑鈒鈓鈔鈕鈖鈗鈘鈙鈚鈛鈜鈝鈞鈟鈠鈡鈢鈣鈤�鈥鈦鈧鈨鈩鈪鈫鈬鈭鈮鈯鈰鈱鈲鈳鈴鈵鈶鈷鈸鈹鈺鈻鈼鈽鈾鈿鉀鉁鉂鉃鉄鉅狻猗猓猡猊猞猝猕猢猹猥猬猸猱獐獍獗獠獬獯獾舛夥飧夤夂饣饧饨饩饪饫饬饴饷饽馀馄馇馊馍馐馑馓馔馕庀庑庋庖庥庠庹庵庾庳赓廒廑廛廨廪膺忄忉忖忏怃忮怄忡忤忾怅怆忪忭忸怙怵怦怛怏怍怩怫怊怿怡恸恹恻恺恂�".split("");for(a=0;a!=t[226].length;++a)if(t[226][a].charCodeAt(0)!==65533){r[t[226][a]]=57856+a;e[57856+a]=t[226][a]}t[227]="����������������������������������������������������������������鉆鉇鉈鉉鉊鉋鉌鉍鉎鉏鉐鉑鉒鉓鉔鉕鉖鉗鉘鉙鉚鉛鉜鉝鉞鉟鉠鉡鉢鉣鉤鉥鉦鉧鉨鉩鉪鉫鉬鉭鉮鉯鉰鉱鉲鉳鉵鉶鉷鉸鉹鉺鉻鉼鉽鉾鉿銀銁銂銃銄銅�銆銇銈銉銊銋銌銍銏銐銑銒銓銔銕銖銗銘銙銚銛銜銝銞銟銠銡銢銣銤銥銦銧恪恽悖悚悭悝悃悒悌悛惬悻悱惝惘惆惚悴愠愦愕愣惴愀愎愫慊慵憬憔憧憷懔懵忝隳闩闫闱闳闵闶闼闾阃阄阆阈阊阋阌阍阏阒阕阖阗阙阚丬爿戕氵汔汜汊沣沅沐沔沌汨汩汴汶沆沩泐泔沭泷泸泱泗沲泠泖泺泫泮沱泓泯泾�".split("");for(a=0;a!=t[227].length;++a)if(t[227][a].charCodeAt(0)!==65533){r[t[227][a]]=58112+a;e[58112+a]=t[227][a]}t[228]="����������������������������������������������������������������銨銩銪銫銬銭銯銰銱銲銳銴銵銶銷銸銹銺銻銼銽銾銿鋀鋁鋂鋃鋄鋅鋆鋇鋉鋊鋋鋌鋍鋎鋏鋐鋑鋒鋓鋔鋕鋖鋗鋘鋙鋚鋛鋜鋝鋞鋟鋠鋡鋢鋣鋤鋥鋦鋧鋨�鋩鋪鋫鋬鋭鋮鋯鋰鋱鋲鋳鋴鋵鋶鋷鋸鋹鋺鋻鋼鋽鋾鋿錀錁錂錃錄錅錆錇錈錉洹洧洌浃浈洇洄洙洎洫浍洮洵洚浏浒浔洳涑浯涞涠浞涓涔浜浠浼浣渚淇淅淞渎涿淠渑淦淝淙渖涫渌涮渫湮湎湫溲湟溆湓湔渲渥湄滟溱溘滠漭滢溥溧溽溻溷滗溴滏溏滂溟潢潆潇漤漕滹漯漶潋潴漪漉漩澉澍澌潸潲潼潺濑�".split("");for(a=0;a!=t[228].length;++a)if(t[228][a].charCodeAt(0)!==65533){r[t[228][a]]=58368+a;e[58368+a]=t[228][a]}t[229]="����������������������������������������������������������������錊錋錌錍錎錏錐錑錒錓錔錕錖錗錘錙錚錛錜錝錞錟錠錡錢錣錤錥錦錧錨錩錪錫錬錭錮錯錰錱録錳錴錵錶錷錸錹錺錻錼錽錿鍀鍁鍂鍃鍄鍅鍆鍇鍈鍉�鍊鍋鍌鍍鍎鍏鍐鍑鍒鍓鍔鍕鍖鍗鍘鍙鍚鍛鍜鍝鍞鍟鍠鍡鍢鍣鍤鍥鍦鍧鍨鍩鍫濉澧澹澶濂濡濮濞濠濯瀚瀣瀛瀹瀵灏灞宀宄宕宓宥宸甯骞搴寤寮褰寰蹇謇辶迓迕迥迮迤迩迦迳迨逅逄逋逦逑逍逖逡逵逶逭逯遄遑遒遐遨遘遢遛暹遴遽邂邈邃邋彐彗彖彘尻咫屐屙孱屣屦羼弪弩弭艴弼鬻屮妁妃妍妩妪妣�".split("");for(a=0;a!=t[229].length;++a)if(t[229][a].charCodeAt(0)!==65533){r[t[229][a]]=58624+a;e[58624+a]=t[229][a]}t[230]="����������������������������������������������������������������鍬鍭鍮鍯鍰鍱鍲鍳鍴鍵鍶鍷鍸鍹鍺鍻鍼鍽鍾鍿鎀鎁鎂鎃鎄鎅鎆鎇鎈鎉鎊鎋鎌鎍鎎鎐鎑鎒鎓鎔鎕鎖鎗鎘鎙鎚鎛鎜鎝鎞鎟鎠鎡鎢鎣鎤鎥鎦鎧鎨鎩鎪鎫�鎬鎭鎮鎯鎰鎱鎲鎳鎴鎵鎶鎷鎸鎹鎺鎻鎼鎽鎾鎿鏀鏁鏂鏃鏄鏅鏆鏇鏈鏉鏋鏌鏍妗姊妫妞妤姒妲妯姗妾娅娆姝娈姣姘姹娌娉娲娴娑娣娓婀婧婊婕娼婢婵胬媪媛婷婺媾嫫媲嫒嫔媸嫠嫣嫱嫖嫦嫘嫜嬉嬗嬖嬲嬷孀尕尜孚孥孳孑孓孢驵驷驸驺驿驽骀骁骅骈骊骐骒骓骖骘骛骜骝骟骠骢骣骥骧纟纡纣纥纨纩�".split("");for(a=0;a!=t[230].length;++a)if(t[230][a].charCodeAt(0)!==65533){r[t[230][a]]=58880+a;e[58880+a]=t[230][a]}t[231]="����������������������������������������������������������������鏎鏏鏐鏑鏒鏓鏔鏕鏗鏘鏙鏚鏛鏜鏝鏞鏟鏠鏡鏢鏣鏤鏥鏦鏧鏨鏩鏪鏫鏬鏭鏮鏯鏰鏱鏲鏳鏴鏵鏶鏷鏸鏹鏺鏻鏼鏽鏾鏿鐀鐁鐂鐃鐄鐅鐆鐇鐈鐉鐊鐋鐌鐍�鐎鐏鐐鐑鐒鐓鐔鐕鐖鐗鐘鐙鐚鐛鐜鐝鐞鐟鐠鐡鐢鐣鐤鐥鐦鐧鐨鐩鐪鐫鐬鐭鐮纭纰纾绀绁绂绉绋绌绐绔绗绛绠绡绨绫绮绯绱绲缍绶绺绻绾缁缂缃缇缈缋缌缏缑缒缗缙缜缛缟缡缢缣缤缥缦缧缪缫缬缭缯缰缱缲缳缵幺畿巛甾邕玎玑玮玢玟珏珂珑玷玳珀珉珈珥珙顼琊珩珧珞玺珲琏琪瑛琦琥琨琰琮琬�".split("");for(a=0;a!=t[231].length;++a)if(t[231][a].charCodeAt(0)!==65533){r[t[231][a]]=59136+a;e[59136+a]=t[231][a]}t[232]="����������������������������������������������������������������鐯鐰鐱鐲鐳鐴鐵鐶鐷鐸鐹鐺鐻鐼鐽鐿鑀鑁鑂鑃鑄鑅鑆鑇鑈鑉鑊鑋鑌鑍鑎鑏鑐鑑鑒鑓鑔鑕鑖鑗鑘鑙鑚鑛鑜鑝鑞鑟鑠鑡鑢鑣鑤鑥鑦鑧鑨鑩鑪鑬鑭鑮鑯�鑰鑱鑲鑳鑴鑵鑶鑷鑸鑹鑺鑻鑼鑽鑾鑿钀钁钂钃钄钑钖钘铇铏铓铔铚铦铻锜锠琛琚瑁瑜瑗瑕瑙瑷瑭瑾璜璎璀璁璇璋璞璨璩璐璧瓒璺韪韫韬杌杓杞杈杩枥枇杪杳枘枧杵枨枞枭枋杷杼柰栉柘栊柩枰栌柙枵柚枳柝栀柃枸柢栎柁柽栲栳桠桡桎桢桄桤梃栝桕桦桁桧桀栾桊桉栩梵梏桴桷梓桫棂楮棼椟椠棹�".split("");for(a=0;a!=t[232].length;++a)if(t[232][a].charCodeAt(0)!==65533){r[t[232][a]]=59392+a;e[59392+a]=t[232][a]}t[233]="����������������������������������������������������������������锧锳锽镃镈镋镕镚镠镮镴镵長镸镹镺镻镼镽镾門閁閂閃閄閅閆閇閈閉閊開閌閍閎閏閐閑閒間閔閕閖閗閘閙閚閛閜閝閞閟閠閡関閣閤閥閦閧閨閩閪�閫閬閭閮閯閰閱閲閳閴閵閶閷閸閹閺閻閼閽閾閿闀闁闂闃闄闅闆闇闈闉闊闋椤棰椋椁楗棣椐楱椹楠楂楝榄楫榀榘楸椴槌榇榈槎榉楦楣楹榛榧榻榫榭槔榱槁槊槟榕槠榍槿樯槭樗樘橥槲橄樾檠橐橛樵檎橹樽樨橘橼檑檐檩檗檫猷獒殁殂殇殄殒殓殍殚殛殡殪轫轭轱轲轳轵轶轸轷轹轺轼轾辁辂辄辇辋�".split("");for(a=0;a!=t[233].length;++a)if(t[233][a].charCodeAt(0)!==65533){r[t[233][a]]=59648+a;e[59648+a]=t[233][a]}t[234]="����������������������������������������������������������������闌闍闎闏闐闑闒闓闔闕闖闗闘闙闚闛關闝闞闟闠闡闢闣闤闥闦闧闬闿阇阓阘阛阞阠阣阤阥阦阧阨阩阫阬阭阯阰阷阸阹阺阾陁陃陊陎陏陑陒陓陖陗�陘陙陚陜陝陞陠陣陥陦陫陭陮陯陰陱陳陸陹険陻陼陽陾陿隀隁隂隃隄隇隉隊辍辎辏辘辚軎戋戗戛戟戢戡戥戤戬臧瓯瓴瓿甏甑甓攴旮旯旰昊昙杲昃昕昀炅曷昝昴昱昶昵耆晟晔晁晏晖晡晗晷暄暌暧暝暾曛曜曦曩贲贳贶贻贽赀赅赆赈赉赇赍赕赙觇觊觋觌觎觏觐觑牮犟牝牦牯牾牿犄犋犍犏犒挈挲掰�".split("");for(a=0;a!=t[234].length;++a)if(t[234][a].charCodeAt(0)!==65533){r[t[234][a]]=59904+a;e[59904+a]=t[234][a]}t[235]="����������������������������������������������������������������隌階隑隒隓隕隖隚際隝隞隟隠隡隢隣隤隥隦隨隩險隫隬隭隮隯隱隲隴隵隷隸隺隻隿雂雃雈雊雋雐雑雓雔雖雗雘雙雚雛雜雝雞雟雡離難雤雥雦雧雫�雬雭雮雰雱雲雴雵雸雺電雼雽雿霂霃霅霊霋霌霐霑霒霔霕霗霘霙霚霛霝霟霠搿擘耄毪毳毽毵毹氅氇氆氍氕氘氙氚氡氩氤氪氲攵敕敫牍牒牖爰虢刖肟肜肓肼朊肽肱肫肭肴肷胧胨胩胪胛胂胄胙胍胗朐胝胫胱胴胭脍脎胲胼朕脒豚脶脞脬脘脲腈腌腓腴腙腚腱腠腩腼腽腭腧塍媵膈膂膑滕膣膪臌朦臊膻�".split("");for(a=0;a!=t[235].length;++a)if(t[235][a].charCodeAt(0)!==65533){r[t[235][a]]=60160+a;e[60160+a]=t[235][a]}t[236]="����������������������������������������������������������������霡霢霣霤霥霦霧霨霩霫霬霮霯霱霳霴霵霶霷霺霻霼霽霿靀靁靂靃靄靅靆靇靈靉靊靋靌靍靎靏靐靑靔靕靗靘靚靜靝靟靣靤靦靧靨靪靫靬靭靮靯靰靱�靲靵靷靸靹靺靻靽靾靿鞀鞁鞂鞃鞄鞆鞇鞈鞉鞊鞌鞎鞏鞐鞓鞕鞖鞗鞙鞚鞛鞜鞝臁膦欤欷欹歃歆歙飑飒飓飕飙飚殳彀毂觳斐齑斓於旆旄旃旌旎旒旖炀炜炖炝炻烀炷炫炱烨烊焐焓焖焯焱煳煜煨煅煲煊煸煺熘熳熵熨熠燠燔燧燹爝爨灬焘煦熹戾戽扃扈扉礻祀祆祉祛祜祓祚祢祗祠祯祧祺禅禊禚禧禳忑忐�".split(""); +for(a=0;a!=t[236].length;++a)if(t[236][a].charCodeAt(0)!==65533){r[t[236][a]]=60416+a;e[60416+a]=t[236][a]}t[237]="����������������������������������������������������������������鞞鞟鞡鞢鞤鞥鞦鞧鞨鞩鞪鞬鞮鞰鞱鞳鞵鞶鞷鞸鞹鞺鞻鞼鞽鞾鞿韀韁韂韃韄韅韆韇韈韉韊韋韌韍韎韏韐韑韒韓韔韕韖韗韘韙韚韛韜韝韞韟韠韡韢韣�韤韥韨韮韯韰韱韲韴韷韸韹韺韻韼韽韾響頀頁頂頃頄項順頇須頉頊頋頌頍頎怼恝恚恧恁恙恣悫愆愍慝憩憝懋懑戆肀聿沓泶淼矶矸砀砉砗砘砑斫砭砜砝砹砺砻砟砼砥砬砣砩硎硭硖硗砦硐硇硌硪碛碓碚碇碜碡碣碲碹碥磔磙磉磬磲礅磴礓礤礞礴龛黹黻黼盱眄眍盹眇眈眚眢眙眭眦眵眸睐睑睇睃睚睨�".split("");for(a=0;a!=t[237].length;++a)if(t[237][a].charCodeAt(0)!==65533){r[t[237][a]]=60672+a;e[60672+a]=t[237][a]}t[238]="����������������������������������������������������������������頏預頑頒頓頔頕頖頗領頙頚頛頜頝頞頟頠頡頢頣頤頥頦頧頨頩頪頫頬頭頮頯頰頱頲頳頴頵頶頷頸頹頺頻頼頽頾頿顀顁顂顃顄顅顆顇顈顉顊顋題額�顎顏顐顑顒顓顔顕顖顗願顙顚顛顜顝類顟顠顡顢顣顤顥顦顧顨顩顪顫顬顭顮睢睥睿瞍睽瞀瞌瞑瞟瞠瞰瞵瞽町畀畎畋畈畛畲畹疃罘罡罟詈罨罴罱罹羁罾盍盥蠲钅钆钇钋钊钌钍钏钐钔钗钕钚钛钜钣钤钫钪钭钬钯钰钲钴钶钷钸钹钺钼钽钿铄铈铉铊铋铌铍铎铐铑铒铕铖铗铙铘铛铞铟铠铢铤铥铧铨铪�".split("");for(a=0;a!=t[238].length;++a)if(t[238][a].charCodeAt(0)!==65533){r[t[238][a]]=60928+a;e[60928+a]=t[238][a]}t[239]="����������������������������������������������������������������顯顰顱顲顳顴颋颎颒颕颙颣風颩颪颫颬颭颮颯颰颱颲颳颴颵颶颷颸颹颺颻颼颽颾颿飀飁飂飃飄飅飆飇飈飉飊飋飌飍飏飐飔飖飗飛飜飝飠飡飢飣飤�飥飦飩飪飫飬飭飮飯飰飱飲飳飴飵飶飷飸飹飺飻飼飽飾飿餀餁餂餃餄餅餆餇铩铫铮铯铳铴铵铷铹铼铽铿锃锂锆锇锉锊锍锎锏锒锓锔锕锖锘锛锝锞锟锢锪锫锩锬锱锲锴锶锷锸锼锾锿镂锵镄镅镆镉镌镎镏镒镓镔镖镗镘镙镛镞镟镝镡镢镤镥镦镧镨镩镪镫镬镯镱镲镳锺矧矬雉秕秭秣秫稆嵇稃稂稞稔�".split("");for(a=0;a!=t[239].length;++a)if(t[239][a].charCodeAt(0)!==65533){r[t[239][a]]=61184+a;e[61184+a]=t[239][a]}t[240]="����������������������������������������������������������������餈餉養餋餌餎餏餑餒餓餔餕餖餗餘餙餚餛餜餝餞餟餠餡餢餣餤餥餦餧館餩餪餫餬餭餯餰餱餲餳餴餵餶餷餸餹餺餻餼餽餾餿饀饁饂饃饄饅饆饇饈饉�饊饋饌饍饎饏饐饑饒饓饖饗饘饙饚饛饜饝饞饟饠饡饢饤饦饳饸饹饻饾馂馃馉稹稷穑黏馥穰皈皎皓皙皤瓞瓠甬鸠鸢鸨鸩鸪鸫鸬鸲鸱鸶鸸鸷鸹鸺鸾鹁鹂鹄鹆鹇鹈鹉鹋鹌鹎鹑鹕鹗鹚鹛鹜鹞鹣鹦鹧鹨鹩鹪鹫鹬鹱鹭鹳疒疔疖疠疝疬疣疳疴疸痄疱疰痃痂痖痍痣痨痦痤痫痧瘃痱痼痿瘐瘀瘅瘌瘗瘊瘥瘘瘕瘙�".split("");for(a=0;a!=t[240].length;++a)if(t[240][a].charCodeAt(0)!==65533){r[t[240][a]]=61440+a;e[61440+a]=t[240][a]}t[241]="����������������������������������������������������������������馌馎馚馛馜馝馞馟馠馡馢馣馤馦馧馩馪馫馬馭馮馯馰馱馲馳馴馵馶馷馸馹馺馻馼馽馾馿駀駁駂駃駄駅駆駇駈駉駊駋駌駍駎駏駐駑駒駓駔駕駖駗駘�駙駚駛駜駝駞駟駠駡駢駣駤駥駦駧駨駩駪駫駬駭駮駯駰駱駲駳駴駵駶駷駸駹瘛瘼瘢瘠癀瘭瘰瘿瘵癃瘾瘳癍癞癔癜癖癫癯翊竦穸穹窀窆窈窕窦窠窬窨窭窳衤衩衲衽衿袂袢裆袷袼裉裢裎裣裥裱褚裼裨裾裰褡褙褓褛褊褴褫褶襁襦襻疋胥皲皴矜耒耔耖耜耠耢耥耦耧耩耨耱耋耵聃聆聍聒聩聱覃顸颀颃�".split("");for(a=0;a!=t[241].length;++a)if(t[241][a].charCodeAt(0)!==65533){r[t[241][a]]=61696+a;e[61696+a]=t[241][a]}t[242]="����������������������������������������������������������������駺駻駼駽駾駿騀騁騂騃騄騅騆騇騈騉騊騋騌騍騎騏騐騑騒験騔騕騖騗騘騙騚騛騜騝騞騟騠騡騢騣騤騥騦騧騨騩騪騫騬騭騮騯騰騱騲騳騴騵騶騷騸�騹騺騻騼騽騾騿驀驁驂驃驄驅驆驇驈驉驊驋驌驍驎驏驐驑驒驓驔驕驖驗驘驙颉颌颍颏颔颚颛颞颟颡颢颥颦虍虔虬虮虿虺虼虻蚨蚍蚋蚬蚝蚧蚣蚪蚓蚩蚶蛄蚵蛎蚰蚺蚱蚯蛉蛏蚴蛩蛱蛲蛭蛳蛐蜓蛞蛴蛟蛘蛑蜃蜇蛸蜈蜊蜍蜉蜣蜻蜞蜥蜮蜚蜾蝈蜴蜱蜩蜷蜿螂蜢蝽蝾蝻蝠蝰蝌蝮螋蝓蝣蝼蝤蝙蝥螓螯螨蟒�".split("");for(a=0;a!=t[242].length;++a)if(t[242][a].charCodeAt(0)!==65533){r[t[242][a]]=61952+a;e[61952+a]=t[242][a]}t[243]="����������������������������������������������������������������驚驛驜驝驞驟驠驡驢驣驤驥驦驧驨驩驪驫驲骃骉骍骎骔骕骙骦骩骪骫骬骭骮骯骲骳骴骵骹骻骽骾骿髃髄髆髇髈髉髊髍髎髏髐髒體髕髖髗髙髚髛髜�髝髞髠髢髣髤髥髧髨髩髪髬髮髰髱髲髳髴髵髶髷髸髺髼髽髾髿鬀鬁鬂鬄鬅鬆蟆螈螅螭螗螃螫蟥螬螵螳蟋蟓螽蟑蟀蟊蟛蟪蟠蟮蠖蠓蟾蠊蠛蠡蠹蠼缶罂罄罅舐竺竽笈笃笄笕笊笫笏筇笸笪笙笮笱笠笥笤笳笾笞筘筚筅筵筌筝筠筮筻筢筲筱箐箦箧箸箬箝箨箅箪箜箢箫箴篑篁篌篝篚篥篦篪簌篾篼簏簖簋�".split("");for(a=0;a!=t[243].length;++a)if(t[243][a].charCodeAt(0)!==65533){r[t[243][a]]=62208+a;e[62208+a]=t[243][a]}t[244]="����������������������������������������������������������������鬇鬉鬊鬋鬌鬍鬎鬐鬑鬒鬔鬕鬖鬗鬘鬙鬚鬛鬜鬝鬞鬠鬡鬢鬤鬥鬦鬧鬨鬩鬪鬫鬬鬭鬮鬰鬱鬳鬴鬵鬶鬷鬸鬹鬺鬽鬾鬿魀魆魊魋魌魎魐魒魓魕魖魗魘魙魚�魛魜魝魞魟魠魡魢魣魤魥魦魧魨魩魪魫魬魭魮魯魰魱魲魳魴魵魶魷魸魹魺魻簟簪簦簸籁籀臾舁舂舄臬衄舡舢舣舭舯舨舫舸舻舳舴舾艄艉艋艏艚艟艨衾袅袈裘裟襞羝羟羧羯羰羲籼敉粑粝粜粞粢粲粼粽糁糇糌糍糈糅糗糨艮暨羿翎翕翥翡翦翩翮翳糸絷綦綮繇纛麸麴赳趄趔趑趱赧赭豇豉酊酐酎酏酤�".split("");for(a=0;a!=t[244].length;++a)if(t[244][a].charCodeAt(0)!==65533){r[t[244][a]]=62464+a;e[62464+a]=t[244][a]}t[245]="����������������������������������������������������������������魼魽魾魿鮀鮁鮂鮃鮄鮅鮆鮇鮈鮉鮊鮋鮌鮍鮎鮏鮐鮑鮒鮓鮔鮕鮖鮗鮘鮙鮚鮛鮜鮝鮞鮟鮠鮡鮢鮣鮤鮥鮦鮧鮨鮩鮪鮫鮬鮭鮮鮯鮰鮱鮲鮳鮴鮵鮶鮷鮸鮹鮺�鮻鮼鮽鮾鮿鯀鯁鯂鯃鯄鯅鯆鯇鯈鯉鯊鯋鯌鯍鯎鯏鯐鯑鯒鯓鯔鯕鯖鯗鯘鯙鯚鯛酢酡酰酩酯酽酾酲酴酹醌醅醐醍醑醢醣醪醭醮醯醵醴醺豕鹾趸跫踅蹙蹩趵趿趼趺跄跖跗跚跞跎跏跛跆跬跷跸跣跹跻跤踉跽踔踝踟踬踮踣踯踺蹀踹踵踽踱蹉蹁蹂蹑蹒蹊蹰蹶蹼蹯蹴躅躏躔躐躜躞豸貂貊貅貘貔斛觖觞觚觜�".split("");for(a=0;a!=t[245].length;++a)if(t[245][a].charCodeAt(0)!==65533){r[t[245][a]]=62720+a;e[62720+a]=t[245][a]}t[246]="����������������������������������������������������������������鯜鯝鯞鯟鯠鯡鯢鯣鯤鯥鯦鯧鯨鯩鯪鯫鯬鯭鯮鯯鯰鯱鯲鯳鯴鯵鯶鯷鯸鯹鯺鯻鯼鯽鯾鯿鰀鰁鰂鰃鰄鰅鰆鰇鰈鰉鰊鰋鰌鰍鰎鰏鰐鰑鰒鰓鰔鰕鰖鰗鰘鰙鰚�鰛鰜鰝鰞鰟鰠鰡鰢鰣鰤鰥鰦鰧鰨鰩鰪鰫鰬鰭鰮鰯鰰鰱鰲鰳鰴鰵鰶鰷鰸鰹鰺鰻觥觫觯訾謦靓雩雳雯霆霁霈霏霎霪霭霰霾龀龃龅龆龇龈龉龊龌黾鼋鼍隹隼隽雎雒瞿雠銎銮鋈錾鍪鏊鎏鐾鑫鱿鲂鲅鲆鲇鲈稣鲋鲎鲐鲑鲒鲔鲕鲚鲛鲞鲟鲠鲡鲢鲣鲥鲦鲧鲨鲩鲫鲭鲮鲰鲱鲲鲳鲴鲵鲶鲷鲺鲻鲼鲽鳄鳅鳆鳇鳊鳋�".split("");for(a=0;a!=t[246].length;++a)if(t[246][a].charCodeAt(0)!==65533){r[t[246][a]]=62976+a;e[62976+a]=t[246][a]}t[247]="����������������������������������������������������������������鰼鰽鰾鰿鱀鱁鱂鱃鱄鱅鱆鱇鱈鱉鱊鱋鱌鱍鱎鱏鱐鱑鱒鱓鱔鱕鱖鱗鱘鱙鱚鱛鱜鱝鱞鱟鱠鱡鱢鱣鱤鱥鱦鱧鱨鱩鱪鱫鱬鱭鱮鱯鱰鱱鱲鱳鱴鱵鱶鱷鱸鱹鱺�鱻鱽鱾鲀鲃鲄鲉鲊鲌鲏鲓鲖鲗鲘鲙鲝鲪鲬鲯鲹鲾鲿鳀鳁鳂鳈鳉鳑鳒鳚鳛鳠鳡鳌鳍鳎鳏鳐鳓鳔鳕鳗鳘鳙鳜鳝鳟鳢靼鞅鞑鞒鞔鞯鞫鞣鞲鞴骱骰骷鹘骶骺骼髁髀髅髂髋髌髑魅魃魇魉魈魍魑飨餍餮饕饔髟髡髦髯髫髻髭髹鬈鬏鬓鬟鬣麽麾縻麂麇麈麋麒鏖麝麟黛黜黝黠黟黢黩黧黥黪黯鼢鼬鼯鼹鼷鼽鼾齄�".split("");for(a=0;a!=t[247].length;++a)if(t[247][a].charCodeAt(0)!==65533){r[t[247][a]]=63232+a;e[63232+a]=t[247][a]}t[248]="����������������������������������������������������������������鳣鳤鳥鳦鳧鳨鳩鳪鳫鳬鳭鳮鳯鳰鳱鳲鳳鳴鳵鳶鳷鳸鳹鳺鳻鳼鳽鳾鳿鴀鴁鴂鴃鴄鴅鴆鴇鴈鴉鴊鴋鴌鴍鴎鴏鴐鴑鴒鴓鴔鴕鴖鴗鴘鴙鴚鴛鴜鴝鴞鴟鴠鴡�鴢鴣鴤鴥鴦鴧鴨鴩鴪鴫鴬鴭鴮鴯鴰鴱鴲鴳鴴鴵鴶鴷鴸鴹鴺鴻鴼鴽鴾鴿鵀鵁鵂�����������������������������������������������������������������������������������������������".split("");for(a=0;a!=t[248].length;++a)if(t[248][a].charCodeAt(0)!==65533){r[t[248][a]]=63488+a;e[63488+a]=t[248][a]}t[249]="����������������������������������������������������������������鵃鵄鵅鵆鵇鵈鵉鵊鵋鵌鵍鵎鵏鵐鵑鵒鵓鵔鵕鵖鵗鵘鵙鵚鵛鵜鵝鵞鵟鵠鵡鵢鵣鵤鵥鵦鵧鵨鵩鵪鵫鵬鵭鵮鵯鵰鵱鵲鵳鵴鵵鵶鵷鵸鵹鵺鵻鵼鵽鵾鵿鶀鶁�鶂鶃鶄鶅鶆鶇鶈鶉鶊鶋鶌鶍鶎鶏鶐鶑鶒鶓鶔鶕鶖鶗鶘鶙鶚鶛鶜鶝鶞鶟鶠鶡鶢�����������������������������������������������������������������������������������������������".split("");for(a=0;a!=t[249].length;++a)if(t[249][a].charCodeAt(0)!==65533){r[t[249][a]]=63744+a;e[63744+a]=t[249][a]}t[250]="����������������������������������������������������������������鶣鶤鶥鶦鶧鶨鶩鶪鶫鶬鶭鶮鶯鶰鶱鶲鶳鶴鶵鶶鶷鶸鶹鶺鶻鶼鶽鶾鶿鷀鷁鷂鷃鷄鷅鷆鷇鷈鷉鷊鷋鷌鷍鷎鷏鷐鷑鷒鷓鷔鷕鷖鷗鷘鷙鷚鷛鷜鷝鷞鷟鷠鷡�鷢鷣鷤鷥鷦鷧鷨鷩鷪鷫鷬鷭鷮鷯鷰鷱鷲鷳鷴鷵鷶鷷鷸鷹鷺鷻鷼鷽鷾鷿鸀鸁鸂�����������������������������������������������������������������������������������������������".split("");for(a=0;a!=t[250].length;++a)if(t[250][a].charCodeAt(0)!==65533){r[t[250][a]]=64e3+a;e[64e3+a]=t[250][a]}t[251]="����������������������������������������������������������������鸃鸄鸅鸆鸇鸈鸉鸊鸋鸌鸍鸎鸏鸐鸑鸒鸓鸔鸕鸖鸗鸘鸙鸚鸛鸜鸝鸞鸤鸧鸮鸰鸴鸻鸼鹀鹍鹐鹒鹓鹔鹖鹙鹝鹟鹠鹡鹢鹥鹮鹯鹲鹴鹵鹶鹷鹸鹹鹺鹻鹼鹽麀�麁麃麄麅麆麉麊麌麍麎麏麐麑麔麕麖麗麘麙麚麛麜麞麠麡麢麣麤麥麧麨麩麪�����������������������������������������������������������������������������������������������".split("");for(a=0;a!=t[251].length;++a)if(t[251][a].charCodeAt(0)!==65533){r[t[251][a]]=64256+a;e[64256+a]=t[251][a]}t[252]="����������������������������������������������������������������麫麬麭麮麯麰麱麲麳麵麶麷麹麺麼麿黀黁黂黃黅黆黇黈黊黋黌黐黒黓黕黖黗黙黚點黡黣黤黦黨黫黬黭黮黰黱黲黳黴黵黶黷黸黺黽黿鼀鼁鼂鼃鼄鼅�鼆鼇鼈鼉鼊鼌鼏鼑鼒鼔鼕鼖鼘鼚鼛鼜鼝鼞鼟鼡鼣鼤鼥鼦鼧鼨鼩鼪鼫鼭鼮鼰鼱�����������������������������������������������������������������������������������������������".split("");for(a=0;a!=t[252].length;++a)if(t[252][a].charCodeAt(0)!==65533){r[t[252][a]]=64512+a;e[64512+a]=t[252][a]}t[253]="����������������������������������������������������������������鼲鼳鼴鼵鼶鼸鼺鼼鼿齀齁齂齃齅齆齇齈齉齊齋齌齍齎齏齒齓齔齕齖齗齘齙齚齛齜齝齞齟齠齡齢齣齤齥齦齧齨齩齪齫齬齭齮齯齰齱齲齳齴齵齶齷齸�齹齺齻齼齽齾龁龂龍龎龏龐龑龒龓龔龕龖龗龘龜龝龞龡龢龣龤龥郎凉秊裏隣�����������������������������������������������������������������������������������������������".split("");for(a=0;a!=t[253].length;++a)if(t[253][a].charCodeAt(0)!==65533){r[t[253][a]]=64768+a;e[64768+a]=t[253][a]}t[254]="����������������������������������������������������������������兀嗀﨎﨏﨑﨓﨔礼﨟蘒﨡﨣﨤﨧﨨﨩��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������".split("");for(a=0;a!=t[254].length;++a)if(t[254][a].charCodeAt(0)!==65533){r[t[254][a]]=65024+a;e[65024+a]=t[254][a]}return{enc:r,dec:e}}();cptable[949]=function(){var e=[],r={},t=[],a;t[0]="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~��������������������������������������������������������������������������������������������������������������������������������".split("");for(a=0;a!=t[0].length;++a)if(t[0][a].charCodeAt(0)!==65533){r[t[0][a]]=0+a;e[0+a]=t[0][a]}t[129]="�����������������������������������������������������������������갂갃갅갆갋갌갍갎갏갘갞갟갡갢갣갥갦갧갨갩갪갫갮갲갳갴������갵갶갷갺갻갽갾갿걁걂걃걄걅걆걇걈걉걊걌걎걏걐걑걒걓걕������걖걗걙걚걛걝걞걟걠걡걢걣걤걥걦걧걨걩걪걫걬걭걮걯걲걳걵걶걹걻걼걽걾걿겂겇겈겍겎겏겑겒겓겕겖겗겘겙겚겛겞겢겣겤겥겦겧겫겭겮겱겲겳겴겵겶겷겺겾겿곀곂곃곅곆곇곉곊곋곍곎곏곐곑곒곓곔곖곘곙곚곛곜곝곞곟곢곣곥곦곩곫곭곮곲곴곷곸곹곺곻곾곿괁괂괃괅괇괈괉괊괋괎괐괒괓�".split("");for(a=0;a!=t[129].length;++a)if(t[129][a].charCodeAt(0)!==65533){r[t[129][a]]=33024+a;e[33024+a]=t[129][a]}t[130]="�����������������������������������������������������������������괔괕괖괗괙괚괛괝괞괟괡괢괣괤괥괦괧괨괪괫괮괯괰괱괲괳������괶괷괹괺괻괽괾괿굀굁굂굃굆굈굊굋굌굍굎굏굑굒굓굕굖굗������굙굚굛굜굝굞굟굠굢굤굥굦굧굨굩굪굫굮굯굱굲굷굸굹굺굾궀궃궄궅궆궇궊궋궍궎궏궑궒궓궔궕궖궗궘궙궚궛궞궟궠궡궢궣궥궦궧궨궩궪궫궬궭궮궯궰궱궲궳궴궵궶궸궹궺궻궼궽궾궿귂귃귅귆귇귉귊귋귌귍귎귏귒귔귕귖귗귘귙귚귛귝귞귟귡귢귣귥귦귧귨귩귪귫귬귭귮귯귰귱귲귳귴귵귶귷�".split("");for(a=0;a!=t[130].length;++a)if(t[130][a].charCodeAt(0)!==65533){r[t[130][a]]=33280+a;e[33280+a]=t[130][a]}t[131]="�����������������������������������������������������������������귺귻귽귾긂긃긄긅긆긇긊긌긎긏긐긑긒긓긕긖긗긘긙긚긛긜������긝긞긟긠긡긢긣긤긥긦긧긨긩긪긫긬긭긮긯긲긳긵긶긹긻긼������긽긾긿깂깄깇깈깉깋깏깑깒깓깕깗깘깙깚깛깞깢깣깤깦깧깪깫깭깮깯깱깲깳깴깵깶깷깺깾깿꺀꺁꺂꺃꺆꺇꺈꺉꺊꺋꺍꺎꺏꺐꺑꺒꺓꺔꺕꺖꺗꺘꺙꺚꺛꺜꺝꺞꺟꺠꺡꺢꺣꺤꺥꺦꺧꺨꺩꺪꺫꺬꺭꺮꺯꺰꺱꺲꺳꺴꺵꺶꺷꺸꺹꺺꺻꺿껁껂껃껅껆껇껈껉껊껋껎껒껓껔껕껖껗껚껛껝껞껟껠껡껢껣껤껥�".split("");for(a=0;a!=t[131].length;++a)if(t[131][a].charCodeAt(0)!==65533){r[t[131][a]]=33536+a;e[33536+a]=t[131][a]}t[132]="�����������������������������������������������������������������껦껧껩껪껬껮껯껰껱껲껳껵껶껷껹껺껻껽껾껿꼀꼁꼂꼃꼄꼅������꼆꼉꼊꼋꼌꼎꼏꼑꼒꼓꼔꼕꼖꼗꼘꼙꼚꼛꼜꼝꼞꼟꼠꼡꼢꼣������꼤꼥꼦꼧꼨꼩꼪꼫꼮꼯꼱꼳꼵꼶꼷꼸꼹꼺꼻꼾꽀꽄꽅꽆꽇꽊꽋꽌꽍꽎꽏꽑꽒꽓꽔꽕꽖꽗꽘꽙꽚꽛꽞꽟꽠꽡꽢꽣꽦꽧꽨꽩꽪꽫꽬꽭꽮꽯꽰꽱꽲꽳꽴꽵꽶꽷꽸꽺꽻꽼꽽꽾꽿꾁꾂꾃꾅꾆꾇꾉꾊꾋꾌꾍꾎꾏꾒꾓꾔꾖꾗꾘꾙꾚꾛꾝꾞꾟꾠꾡꾢꾣꾤꾥꾦꾧꾨꾩꾪꾫꾬꾭꾮꾯꾰꾱꾲꾳꾴꾵꾶꾷꾺꾻꾽꾾�".split("");for(a=0;a!=t[132].length;++a)if(t[132][a].charCodeAt(0)!==65533){r[t[132][a]]=33792+a;e[33792+a]=t[132][a]}t[133]="�����������������������������������������������������������������꾿꿁꿂꿃꿄꿅꿆꿊꿌꿏꿐꿑꿒꿓꿕꿖꿗꿘꿙꿚꿛꿝꿞꿟꿠꿡������꿢꿣꿤꿥꿦꿧꿪꿫꿬꿭꿮꿯꿲꿳꿵꿶꿷꿹꿺꿻꿼꿽꿾꿿뀂뀃������뀅뀆뀇뀈뀉뀊뀋뀍뀎뀏뀑뀒뀓뀕뀖뀗뀘뀙뀚뀛뀞뀟뀠뀡뀢뀣뀤뀥뀦뀧뀩뀪뀫뀬뀭뀮뀯뀰뀱뀲뀳뀴뀵뀶뀷뀸뀹뀺뀻뀼뀽뀾뀿끀끁끂끃끆끇끉끋끍끏끐끑끒끖끘끚끛끜끞끟끠끡끢끣끤끥끦끧끨끩끪끫끬끭끮끯끰끱끲끳끴끵끶끷끸끹끺끻끾끿낁낂낃낅낆낇낈낉낊낋낎낐낒낓낔낕낖낗낛낝낞낣낤�".split("");for(a=0;a!=t[133].length;++a)if(t[133][a].charCodeAt(0)!==65533){r[t[133][a]]=34048+a;e[34048+a]=t[133][a]}t[134]="�����������������������������������������������������������������낥낦낧낪낰낲낶낷낹낺낻낽낾낿냀냁냂냃냆냊냋냌냍냎냏냒������냓냕냖냗냙냚냛냜냝냞냟냡냢냣냤냦냧냨냩냪냫냬냭냮냯냰������냱냲냳냴냵냶냷냸냹냺냻냼냽냾냿넀넁넂넃넄넅넆넇넊넍넎넏넑넔넕넖넗넚넞넟넠넡넢넦넧넩넪넫넭넮넯넰넱넲넳넶넺넻넼넽넾넿녂녃녅녆녇녉녊녋녌녍녎녏녒녓녖녗녙녚녛녝녞녟녡녢녣녤녥녦녧녨녩녪녫녬녭녮녯녰녱녲녳녴녵녶녷녺녻녽녾녿놁놃놄놅놆놇놊놌놎놏놐놑놕놖놗놙놚놛놝�".split("");for(a=0;a!=t[134].length;++a)if(t[134][a].charCodeAt(0)!==65533){r[t[134][a]]=34304+a;e[34304+a]=t[134][a]}t[135]="�����������������������������������������������������������������놞놟놠놡놢놣놤놥놦놧놩놪놫놬놭놮놯놰놱놲놳놴놵놶놷놸������놹놺놻놼놽놾놿뇀뇁뇂뇃뇄뇅뇆뇇뇈뇉뇊뇋뇍뇎뇏뇑뇒뇓뇕������뇖뇗뇘뇙뇚뇛뇞뇠뇡뇢뇣뇤뇥뇦뇧뇪뇫뇭뇮뇯뇱뇲뇳뇴뇵뇶뇷뇸뇺뇼뇾뇿눀눁눂눃눆눇눉눊눍눎눏눐눑눒눓눖눘눚눛눜눝눞눟눡눢눣눤눥눦눧눨눩눪눫눬눭눮눯눰눱눲눳눵눶눷눸눹눺눻눽눾눿뉀뉁뉂뉃뉄뉅뉆뉇뉈뉉뉊뉋뉌뉍뉎뉏뉐뉑뉒뉓뉔뉕뉖뉗뉙뉚뉛뉝뉞뉟뉡뉢뉣뉤뉥뉦뉧뉪뉫뉬뉭뉮�".split("");for(a=0;a!=t[135].length;++a)if(t[135][a].charCodeAt(0)!==65533){r[t[135][a]]=34560+a;e[34560+a]=t[135][a]}t[136]="�����������������������������������������������������������������뉯뉰뉱뉲뉳뉶뉷뉸뉹뉺뉻뉽뉾뉿늀늁늂늃늆늇늈늊늋늌늍늎������늏늒늓늕늖늗늛늜늝늞늟늢늤늧늨늩늫늭늮늯늱늲늳늵늶늷������늸늹늺늻늼늽늾늿닀닁닂닃닄닅닆닇닊닋닍닎닏닑닓닔닕닖닗닚닜닞닟닠닡닣닧닩닪닰닱닲닶닼닽닾댂댃댅댆댇댉댊댋댌댍댎댏댒댖댗댘댙댚댛댝댞댟댠댡댢댣댤댥댦댧댨댩댪댫댬댭댮댯댰댱댲댳댴댵댶댷댸댹댺댻댼댽댾댿덀덁덂덃덄덅덆덇덈덉덊덋덌덍덎덏덐덑덒덓덗덙덚덝덠덡덢덣�".split("");for(a=0;a!=t[136].length;++a)if(t[136][a].charCodeAt(0)!==65533){r[t[136][a]]=34816+a;e[34816+a]=t[136][a]}t[137]="�����������������������������������������������������������������덦덨덪덬덭덯덲덳덵덶덷덹덺덻덼덽덾덿뎂뎆뎇뎈뎉뎊뎋뎍������뎎뎏뎑뎒뎓뎕뎖뎗뎘뎙뎚뎛뎜뎝뎞뎟뎢뎣뎤뎥뎦뎧뎩뎪뎫뎭������뎮뎯뎰뎱뎲뎳뎴뎵뎶뎷뎸뎹뎺뎻뎼뎽뎾뎿돀돁돂돃돆돇돉돊돍돏돑돒돓돖돘돚돜돞돟돡돢돣돥돦돧돩돪돫돬돭돮돯돰돱돲돳돴돵돶돷돸돹돺돻돽돾돿됀됁됂됃됄됅됆됇됈됉됊됋됌됍됎됏됑됒됓됔됕됖됗됙됚됛됝됞됟됡됢됣됤됥됦됧됪됬됭됮됯됰됱됲됳됵됶됷됸됹됺됻됼됽됾됿둀둁둂둃둄�".split("");for(a=0;a!=t[137].length;++a)if(t[137][a].charCodeAt(0)!==65533){r[t[137][a]]=35072+a;e[35072+a]=t[137][a]}t[138]="�����������������������������������������������������������������둅둆둇둈둉둊둋둌둍둎둏둒둓둕둖둗둙둚둛둜둝둞둟둢둤둦������둧둨둩둪둫둭둮둯둰둱둲둳둴둵둶둷둸둹둺둻둼둽둾둿뒁뒂������뒃뒄뒅뒆뒇뒉뒊뒋뒌뒍뒎뒏뒐뒑뒒뒓뒔뒕뒖뒗뒘뒙뒚뒛뒜뒞뒟뒠뒡뒢뒣뒥뒦뒧뒩뒪뒫뒭뒮뒯뒰뒱뒲뒳뒴뒶뒸뒺뒻뒼뒽뒾뒿듁듂듃듅듆듇듉듊듋듌듍듎듏듑듒듓듔듖듗듘듙듚듛듞듟듡듢듥듧듨듩듪듫듮듰듲듳듴듵듶듷듹듺듻듼듽듾듿딀딁딂딃딄딅딆딇딈딉딊딋딌딍딎딏딐딑딒딓딖딗딙딚딝�".split("");for(a=0;a!=t[138].length;++a)if(t[138][a].charCodeAt(0)!==65533){r[t[138][a]]=35328+a;e[35328+a]=t[138][a]}t[139]="�����������������������������������������������������������������딞딟딠딡딢딣딦딫딬딭딮딯딲딳딵딶딷딹딺딻딼딽딾딿땂땆������땇땈땉땊땎땏땑땒땓땕땖땗땘땙땚땛땞땢땣땤땥땦땧땨땩땪������땫땬땭땮땯땰땱땲땳땴땵땶땷땸땹땺땻땼땽땾땿떀떁떂떃떄떅떆떇떈떉떊떋떌떍떎떏떐떑떒떓떔떕떖떗떘떙떚떛떜떝떞떟떢떣떥떦떧떩떬떭떮떯떲떶떷떸떹떺떾떿뗁뗂뗃뗅뗆뗇뗈뗉뗊뗋뗎뗒뗓뗔뗕뗖뗗뗙뗚뗛뗜뗝뗞뗟뗠뗡뗢뗣뗤뗥뗦뗧뗨뗩뗪뗫뗭뗮뗯뗰뗱뗲뗳뗴뗵뗶뗷뗸뗹뗺뗻뗼뗽뗾뗿�".split("");for(a=0;a!=t[139].length;++a)if(t[139][a].charCodeAt(0)!==65533){r[t[139][a]]=35584+a;e[35584+a]=t[139][a]}t[140]="�����������������������������������������������������������������똀똁똂똃똄똅똆똇똈똉똊똋똌똍똎똏똒똓똕똖똗똙똚똛똜똝������똞똟똠똡똢똣똤똦똧똨똩똪똫똭똮똯똰똱똲똳똵똶똷똸똹똺������똻똼똽똾똿뙀뙁뙂뙃뙄뙅뙆뙇뙉뙊뙋뙌뙍뙎뙏뙐뙑뙒뙓뙔뙕뙖뙗뙘뙙뙚뙛뙜뙝뙞뙟뙠뙡뙢뙣뙥뙦뙧뙩뙪뙫뙬뙭뙮뙯뙰뙱뙲뙳뙴뙵뙶뙷뙸뙹뙺뙻뙼뙽뙾뙿뚀뚁뚂뚃뚄뚅뚆뚇뚈뚉뚊뚋뚌뚍뚎뚏뚐뚑뚒뚓뚔뚕뚖뚗뚘뚙뚚뚛뚞뚟뚡뚢뚣뚥뚦뚧뚨뚩뚪뚭뚮뚯뚰뚲뚳뚴뚵뚶뚷뚸뚹뚺뚻뚼뚽뚾뚿뛀뛁뛂�".split("");for(a=0;a!=t[140].length;++a)if(t[140][a].charCodeAt(0)!==65533){r[t[140][a]]=35840+a;e[35840+a]=t[140][a]}t[141]="�����������������������������������������������������������������뛃뛄뛅뛆뛇뛈뛉뛊뛋뛌뛍뛎뛏뛐뛑뛒뛓뛕뛖뛗뛘뛙뛚뛛뛜뛝������뛞뛟뛠뛡뛢뛣뛤뛥뛦뛧뛨뛩뛪뛫뛬뛭뛮뛯뛱뛲뛳뛵뛶뛷뛹뛺������뛻뛼뛽뛾뛿뜂뜃뜄뜆뜇뜈뜉뜊뜋뜌뜍뜎뜏뜐뜑뜒뜓뜔뜕뜖뜗뜘뜙뜚뜛뜜뜝뜞뜟뜠뜡뜢뜣뜤뜥뜦뜧뜪뜫뜭뜮뜱뜲뜳뜴뜵뜶뜷뜺뜼뜽뜾뜿띀띁띂띃띅띆띇띉띊띋띍띎띏띐띑띒띓띖띗띘띙띚띛띜띝띞띟띡띢띣띥띦띧띩띪띫띬띭띮띯띲띴띶띷띸띹띺띻띾띿랁랂랃랅랆랇랈랉랊랋랎랓랔랕랚랛랝랞�".split("");for(a=0;a!=t[141].length;++a)if(t[141][a].charCodeAt(0)!==65533){r[t[141][a]]=36096+a;e[36096+a]=t[141][a]}t[142]="�����������������������������������������������������������������랟랡랢랣랤랥랦랧랪랮랯랰랱랲랳랶랷랹랺랻랼랽랾랿럀럁������럂럃럄럅럆럈럊럋럌럍럎럏럐럑럒럓럔럕럖럗럘럙럚럛럜럝������럞럟럠럡럢럣럤럥럦럧럨럩럪럫럮럯럱럲럳럵럶럷럸럹럺럻럾렂렃렄렅렆렊렋렍렎렏렑렒렓렔렕렖렗렚렜렞렟렠렡렢렣렦렧렩렪렫렭렮렯렰렱렲렳렶렺렻렼렽렾렿롁롂롃롅롆롇롈롉롊롋롌롍롎롏롐롒롔롕롖롗롘롙롚롛롞롟롡롢롣롥롦롧롨롩롪롫롮롰롲롳롴롵롶롷롹롺롻롽롾롿뢀뢁뢂뢃뢄�".split("");for(a=0;a!=t[142].length;++a)if(t[142][a].charCodeAt(0)!==65533){r[t[142][a]]=36352+a;e[36352+a]=t[142][a]}t[143]="�����������������������������������������������������������������뢅뢆뢇뢈뢉뢊뢋뢌뢎뢏뢐뢑뢒뢓뢔뢕뢖뢗뢘뢙뢚뢛뢜뢝뢞뢟������뢠뢡뢢뢣뢤뢥뢦뢧뢩뢪뢫뢬뢭뢮뢯뢱뢲뢳뢵뢶뢷뢹뢺뢻뢼뢽������뢾뢿룂룄룆룇룈룉룊룋룍룎룏룑룒룓룕룖룗룘룙룚룛룜룞룠룢룣룤룥룦룧룪룫룭룮룯룱룲룳룴룵룶룷룺룼룾룿뤀뤁뤂뤃뤅뤆뤇뤈뤉뤊뤋뤌뤍뤎뤏뤐뤑뤒뤓뤔뤕뤖뤗뤙뤚뤛뤜뤝뤞뤟뤡뤢뤣뤤뤥뤦뤧뤨뤩뤪뤫뤬뤭뤮뤯뤰뤱뤲뤳뤴뤵뤶뤷뤸뤹뤺뤻뤾뤿륁륂륃륅륆륇륈륉륊륋륍륎륐륒륓륔륕륖륗�".split("");for(a=0;a!=t[143].length;++a)if(t[143][a].charCodeAt(0)!==65533){r[t[143][a]]=36608+a;e[36608+a]=t[143][a]}t[144]="�����������������������������������������������������������������륚륛륝륞륟륡륢륣륤륥륦륧륪륬륮륯륰륱륲륳륶륷륹륺륻륽������륾륿릀릁릂릃릆릈릋릌릏릐릑릒릓릔릕릖릗릘릙릚릛릜릝릞������릟릠릡릢릣릤릥릦릧릨릩릪릫릮릯릱릲릳릵릶릷릸릹릺릻릾맀맂맃맄맅맆맇맊맋맍맓맔맕맖맗맚맜맟맠맢맦맧맩맪맫맭맮맯맰맱맲맳맶맻맼맽맾맿먂먃먄먅먆먇먉먊먋먌먍먎먏먐먑먒먓먔먖먗먘먙먚먛먜먝먞먟먠먡먢먣먤먥먦먧먨먩먪먫먬먭먮먯먰먱먲먳먴먵먶먷먺먻먽먾먿멁멃멄멅멆�".split("");for(a=0;a!=t[144].length;++a)if(t[144][a].charCodeAt(0)!==65533){r[t[144][a]]=36864+a;e[36864+a]=t[144][a]}t[145]="�����������������������������������������������������������������멇멊멌멏멐멑멒멖멗멙멚멛멝멞멟멠멡멢멣멦멪멫멬멭멮멯������멲멳멵멶멷멹멺멻멼멽멾멿몀몁몂몆몈몉몊몋몍몎몏몐몑몒������몓몔몕몖몗몘몙몚몛몜몝몞몟몠몡몢몣몤몥몦몧몪몭몮몯몱몳몴몵몶몷몺몼몾몿뫀뫁뫂뫃뫅뫆뫇뫉뫊뫋뫌뫍뫎뫏뫐뫑뫒뫓뫔뫕뫖뫗뫚뫛뫜뫝뫞뫟뫠뫡뫢뫣뫤뫥뫦뫧뫨뫩뫪뫫뫬뫭뫮뫯뫰뫱뫲뫳뫴뫵뫶뫷뫸뫹뫺뫻뫽뫾뫿묁묂묃묅묆묇묈묉묊묋묌묎묐묒묓묔묕묖묗묙묚묛묝묞묟묡묢묣묤묥묦묧�".split("");for(a=0;a!=t[145].length;++a)if(t[145][a].charCodeAt(0)!==65533){r[t[145][a]]=37120+a;e[37120+a]=t[145][a]}t[146]="�����������������������������������������������������������������묨묪묬묭묮묯묰묱묲묳묷묹묺묿뭀뭁뭂뭃뭆뭈뭊뭋뭌뭎뭑뭒������뭓뭕뭖뭗뭙뭚뭛뭜뭝뭞뭟뭠뭢뭤뭥뭦뭧뭨뭩뭪뭫뭭뭮뭯뭰뭱������뭲뭳뭴뭵뭶뭷뭸뭹뭺뭻뭼뭽뭾뭿뮀뮁뮂뮃뮄뮅뮆뮇뮉뮊뮋뮍뮎뮏뮑뮒뮓뮔뮕뮖뮗뮘뮙뮚뮛뮜뮝뮞뮟뮠뮡뮢뮣뮥뮦뮧뮩뮪뮫뮭뮮뮯뮰뮱뮲뮳뮵뮶뮸뮹뮺뮻뮼뮽뮾뮿믁믂믃믅믆믇믉믊믋믌믍믎믏믑믒믔믕믖믗믘믙믚믛믜믝믞믟믠믡믢믣믤믥믦믧믨믩믪믫믬믭믮믯믰믱믲믳믴믵믶믷믺믻믽믾밁�".split("");for(a=0;a!=t[146].length;++a)if(t[146][a].charCodeAt(0)!==65533){r[t[146][a]]=37376+a;e[37376+a]=t[146][a]}t[147]="�����������������������������������������������������������������밃밄밅밆밇밊밎밐밒밓밙밚밠밡밢밣밦밨밪밫밬밮밯밲밳밵������밶밷밹밺밻밼밽밾밿뱂뱆뱇뱈뱊뱋뱎뱏뱑뱒뱓뱔뱕뱖뱗뱘뱙������뱚뱛뱜뱞뱟뱠뱡뱢뱣뱤뱥뱦뱧뱨뱩뱪뱫뱬뱭뱮뱯뱰뱱뱲뱳뱴뱵뱶뱷뱸뱹뱺뱻뱼뱽뱾뱿벀벁벂벃벆벇벉벊벍벏벐벑벒벓벖벘벛벜벝벞벟벢벣벥벦벩벪벫벬벭벮벯벲벶벷벸벹벺벻벾벿볁볂볃볅볆볇볈볉볊볋볌볎볒볓볔볖볗볙볚볛볝볞볟볠볡볢볣볤볥볦볧볨볩볪볫볬볭볮볯볰볱볲볳볷볹볺볻볽�".split("");for(a=0;a!=t[147].length;++a)if(t[147][a].charCodeAt(0)!==65533){r[t[147][a]]=37632+a;e[37632+a]=t[147][a]}t[148]="�����������������������������������������������������������������볾볿봀봁봂봃봆봈봊봋봌봍봎봏봑봒봓봕봖봗봘봙봚봛봜봝������봞봟봠봡봢봣봥봦봧봨봩봪봫봭봮봯봰봱봲봳봴봵봶봷봸봹������봺봻봼봽봾봿뵁뵂뵃뵄뵅뵆뵇뵊뵋뵍뵎뵏뵑뵒뵓뵔뵕뵖뵗뵚뵛뵜뵝뵞뵟뵠뵡뵢뵣뵥뵦뵧뵩뵪뵫뵬뵭뵮뵯뵰뵱뵲뵳뵴뵵뵶뵷뵸뵹뵺뵻뵼뵽뵾뵿붂붃붅붆붋붌붍붎붏붒붔붖붗붘붛붝붞붟붠붡붢붣붥붦붧붨붩붪붫붬붭붮붯붱붲붳붴붵붶붷붹붺붻붼붽붾붿뷀뷁뷂뷃뷄뷅뷆뷇뷈뷉뷊뷋뷌뷍뷎뷏뷐뷑�".split("");for(a=0;a!=t[148].length;++a)if(t[148][a].charCodeAt(0)!==65533){r[t[148][a]]=37888+a;e[37888+a]=t[148][a]}t[149]="�����������������������������������������������������������������뷒뷓뷖뷗뷙뷚뷛뷝뷞뷟뷠뷡뷢뷣뷤뷥뷦뷧뷨뷪뷫뷬뷭뷮뷯뷱������뷲뷳뷵뷶뷷뷹뷺뷻뷼뷽뷾뷿븁븂븄븆븇븈븉븊븋븎븏븑븒븓������븕븖븗븘븙븚븛븞븠븡븢븣븤븥븦븧븨븩븪븫븬븭븮븯븰븱븲븳븴븵븶븷븸븹븺븻븼븽븾븿빀빁빂빃빆빇빉빊빋빍빏빐빑빒빓빖빘빜빝빞빟빢빣빥빦빧빩빫빬빭빮빯빲빶빷빸빹빺빾빿뺁뺂뺃뺅뺆뺇뺈뺉뺊뺋뺎뺒뺓뺔뺕뺖뺗뺚뺛뺜뺝뺞뺟뺠뺡뺢뺣뺤뺥뺦뺧뺩뺪뺫뺬뺭뺮뺯뺰뺱뺲뺳뺴뺵뺶뺷�".split("");for(a=0;a!=t[149].length;++a)if(t[149][a].charCodeAt(0)!==65533){r[t[149][a]]=38144+a;e[38144+a]=t[149][a]}t[150]="�����������������������������������������������������������������뺸뺹뺺뺻뺼뺽뺾뺿뻀뻁뻂뻃뻄뻅뻆뻇뻈뻉뻊뻋뻌뻍뻎뻏뻒뻓������뻕뻖뻙뻚뻛뻜뻝뻞뻟뻡뻢뻦뻧뻨뻩뻪뻫뻭뻮뻯뻰뻱뻲뻳뻴뻵������뻶뻷뻸뻹뻺뻻뻼뻽뻾뻿뼀뼂뼃뼄뼅뼆뼇뼊뼋뼌뼍뼎뼏뼐뼑뼒뼓뼔뼕뼖뼗뼚뼞뼟뼠뼡뼢뼣뼤뼥뼦뼧뼨뼩뼪뼫뼬뼭뼮뼯뼰뼱뼲뼳뼴뼵뼶뼷뼸뼹뼺뼻뼼뼽뼾뼿뽂뽃뽅뽆뽇뽉뽊뽋뽌뽍뽎뽏뽒뽓뽔뽖뽗뽘뽙뽚뽛뽜뽝뽞뽟뽠뽡뽢뽣뽤뽥뽦뽧뽨뽩뽪뽫뽬뽭뽮뽯뽰뽱뽲뽳뽴뽵뽶뽷뽸뽹뽺뽻뽼뽽뽾뽿뾀뾁뾂�".split("");for(a=0;a!=t[150].length;++a)if(t[150][a].charCodeAt(0)!==65533){r[t[150][a]]=38400+a;e[38400+a]=t[150][a]}t[151]="�����������������������������������������������������������������뾃뾄뾅뾆뾇뾈뾉뾊뾋뾌뾍뾎뾏뾐뾑뾒뾓뾕뾖뾗뾘뾙뾚뾛뾜뾝������뾞뾟뾠뾡뾢뾣뾤뾥뾦뾧뾨뾩뾪뾫뾬뾭뾮뾯뾱뾲뾳뾴뾵뾶뾷뾸������뾹뾺뾻뾼뾽뾾뾿뿀뿁뿂뿃뿄뿆뿇뿈뿉뿊뿋뿎뿏뿑뿒뿓뿕뿖뿗뿘뿙뿚뿛뿝뿞뿠뿢뿣뿤뿥뿦뿧뿨뿩뿪뿫뿬뿭뿮뿯뿰뿱뿲뿳뿴뿵뿶뿷뿸뿹뿺뿻뿼뿽뿾뿿쀀쀁쀂쀃쀄쀅쀆쀇쀈쀉쀊쀋쀌쀍쀎쀏쀐쀑쀒쀓쀔쀕쀖쀗쀘쀙쀚쀛쀜쀝쀞쀟쀠쀡쀢쀣쀤쀥쀦쀧쀨쀩쀪쀫쀬쀭쀮쀯쀰쀱쀲쀳쀴쀵쀶쀷쀸쀹쀺쀻쀽쀾쀿�".split("");for(a=0;a!=t[151].length;++a)if(t[151][a].charCodeAt(0)!==65533){r[t[151][a]]=38656+a;e[38656+a]=t[151][a]}t[152]="�����������������������������������������������������������������쁀쁁쁂쁃쁄쁅쁆쁇쁈쁉쁊쁋쁌쁍쁎쁏쁐쁒쁓쁔쁕쁖쁗쁙쁚쁛������쁝쁞쁟쁡쁢쁣쁤쁥쁦쁧쁪쁫쁬쁭쁮쁯쁰쁱쁲쁳쁴쁵쁶쁷쁸쁹������쁺쁻쁼쁽쁾쁿삀삁삂삃삄삅삆삇삈삉삊삋삌삍삎삏삒삓삕삖삗삙삚삛삜삝삞삟삢삤삦삧삨삩삪삫삮삱삲삷삸삹삺삻삾샂샃샄샆샇샊샋샍샎샏샑샒샓샔샕샖샗샚샞샟샠샡샢샣샦샧샩샪샫샭샮샯샰샱샲샳샶샸샺샻샼샽샾샿섁섂섃섅섆섇섉섊섋섌섍섎섏섑섒섓섔섖섗섘섙섚섛섡섢섥섨섩섪섫섮�".split("");for(a=0;a!=t[152].length;++a)if(t[152][a].charCodeAt(0)!==65533){r[t[152][a]]=38912+a;e[38912+a]=t[152][a]}t[153]="�����������������������������������������������������������������섲섳섴섵섷섺섻섽섾섿셁셂셃셄셅셆셇셊셎셏셐셑셒셓셖셗������셙셚셛셝셞셟셠셡셢셣셦셪셫셬셭셮셯셱셲셳셵셶셷셹셺셻������셼셽셾셿솀솁솂솃솄솆솇솈솉솊솋솏솑솒솓솕솗솘솙솚솛솞솠솢솣솤솦솧솪솫솭솮솯솱솲솳솴솵솶솷솸솹솺솻솼솾솿쇀쇁쇂쇃쇅쇆쇇쇉쇊쇋쇍쇎쇏쇐쇑쇒쇓쇕쇖쇙쇚쇛쇜쇝쇞쇟쇡쇢쇣쇥쇦쇧쇩쇪쇫쇬쇭쇮쇯쇲쇴쇵쇶쇷쇸쇹쇺쇻쇾쇿숁숂숃숅숆숇숈숉숊숋숎숐숒숓숔숕숖숗숚숛숝숞숡숢숣�".split("");for(a=0;a!=t[153].length;++a)if(t[153][a].charCodeAt(0)!==65533){r[t[153][a]]=39168+a;e[39168+a]=t[153][a]}t[154]="�����������������������������������������������������������������숤숥숦숧숪숬숮숰숳숵숶숷숸숹숺숻숼숽숾숿쉀쉁쉂쉃쉄쉅������쉆쉇쉉쉊쉋쉌쉍쉎쉏쉒쉓쉕쉖쉗쉙쉚쉛쉜쉝쉞쉟쉡쉢쉣쉤쉦������쉧쉨쉩쉪쉫쉮쉯쉱쉲쉳쉵쉶쉷쉸쉹쉺쉻쉾슀슂슃슄슅슆슇슊슋슌슍슎슏슑슒슓슔슕슖슗슙슚슜슞슟슠슡슢슣슦슧슩슪슫슮슯슰슱슲슳슶슸슺슻슼슽슾슿싀싁싂싃싄싅싆싇싈싉싊싋싌싍싎싏싐싑싒싓싔싕싖싗싘싙싚싛싞싟싡싢싥싦싧싨싩싪싮싰싲싳싴싵싷싺싽싾싿쌁쌂쌃쌄쌅쌆쌇쌊쌋쌎쌏�".split("");for(a=0;a!=t[154].length;++a)if(t[154][a].charCodeAt(0)!==65533){r[t[154][a]]=39424+a;e[39424+a]=t[154][a]}t[155]="�����������������������������������������������������������������쌐쌑쌒쌖쌗쌙쌚쌛쌝쌞쌟쌠쌡쌢쌣쌦쌧쌪쌫쌬쌭쌮쌯쌰쌱쌲������쌳쌴쌵쌶쌷쌸쌹쌺쌻쌼쌽쌾쌿썀썁썂썃썄썆썇썈썉썊썋썌썍������썎썏썐썑썒썓썔썕썖썗썘썙썚썛썜썝썞썟썠썡썢썣썤썥썦썧썪썫썭썮썯썱썳썴썵썶썷썺썻썾썿쎀쎁쎂쎃쎅쎆쎇쎉쎊쎋쎍쎎쎏쎐쎑쎒쎓쎔쎕쎖쎗쎘쎙쎚쎛쎜쎝쎞쎟쎠쎡쎢쎣쎤쎥쎦쎧쎨쎩쎪쎫쎬쎭쎮쎯쎰쎱쎲쎳쎴쎵쎶쎷쎸쎹쎺쎻쎼쎽쎾쎿쏁쏂쏃쏄쏅쏆쏇쏈쏉쏊쏋쏌쏍쏎쏏쏐쏑쏒쏓쏔쏕쏖쏗쏚�".split("");for(a=0;a!=t[155].length;++a)if(t[155][a].charCodeAt(0)!==65533){r[t[155][a]]=39680+a;e[39680+a]=t[155][a]}t[156]="�����������������������������������������������������������������쏛쏝쏞쏡쏣쏤쏥쏦쏧쏪쏫쏬쏮쏯쏰쏱쏲쏳쏶쏷쏹쏺쏻쏼쏽쏾������쏿쐀쐁쐂쐃쐄쐅쐆쐇쐉쐊쐋쐌쐍쐎쐏쐑쐒쐓쐔쐕쐖쐗쐘쐙쐚������쐛쐜쐝쐞쐟쐠쐡쐢쐣쐥쐦쐧쐨쐩쐪쐫쐭쐮쐯쐱쐲쐳쐵쐶쐷쐸쐹쐺쐻쐾쐿쑀쑁쑂쑃쑄쑅쑆쑇쑉쑊쑋쑌쑍쑎쑏쑐쑑쑒쑓쑔쑕쑖쑗쑘쑙쑚쑛쑜쑝쑞쑟쑠쑡쑢쑣쑦쑧쑩쑪쑫쑭쑮쑯쑰쑱쑲쑳쑶쑷쑸쑺쑻쑼쑽쑾쑿쒁쒂쒃쒄쒅쒆쒇쒈쒉쒊쒋쒌쒍쒎쒏쒐쒑쒒쒓쒕쒖쒗쒘쒙쒚쒛쒝쒞쒟쒠쒡쒢쒣쒤쒥쒦쒧쒨쒩�".split("");for(a=0;a!=t[156].length;++a)if(t[156][a].charCodeAt(0)!==65533){r[t[156][a]]=39936+a;e[39936+a]=t[156][a]}t[157]="�����������������������������������������������������������������쒪쒫쒬쒭쒮쒯쒰쒱쒲쒳쒴쒵쒶쒷쒹쒺쒻쒽쒾쒿쓀쓁쓂쓃쓄쓅������쓆쓇쓈쓉쓊쓋쓌쓍쓎쓏쓐쓑쓒쓓쓔쓕쓖쓗쓘쓙쓚쓛쓜쓝쓞쓟������쓠쓡쓢쓣쓤쓥쓦쓧쓨쓪쓫쓬쓭쓮쓯쓲쓳쓵쓶쓷쓹쓻쓼쓽쓾씂씃씄씅씆씇씈씉씊씋씍씎씏씑씒씓씕씖씗씘씙씚씛씝씞씟씠씡씢씣씤씥씦씧씪씫씭씮씯씱씲씳씴씵씶씷씺씼씾씿앀앁앂앃앆앇앋앏앐앑앒앖앚앛앜앟앢앣앥앦앧앩앪앫앬앭앮앯앲앶앷앸앹앺앻앾앿얁얂얃얅얆얈얉얊얋얎얐얒얓얔�".split("");for(a=0;a!=t[157].length;++a)if(t[157][a].charCodeAt(0)!==65533){r[t[157][a]]=40192+a;e[40192+a]=t[157][a]}t[158]="�����������������������������������������������������������������얖얙얚얛얝얞얟얡얢얣얤얥얦얧얨얪얫얬얭얮얯얰얱얲얳얶������얷얺얿엀엁엂엃엋엍엏엒엓엕엖엗엙엚엛엜엝엞엟엢엤엦엧������엨엩엪엫엯엱엲엳엵엸엹엺엻옂옃옄옉옊옋옍옎옏옑옒옓옔옕옖옗옚옝옞옟옠옡옢옣옦옧옩옪옫옯옱옲옶옸옺옼옽옾옿왂왃왅왆왇왉왊왋왌왍왎왏왒왖왗왘왙왚왛왞왟왡왢왣왤왥왦왧왨왩왪왫왭왮왰왲왳왴왵왶왷왺왻왽왾왿욁욂욃욄욅욆욇욊욌욎욏욐욑욒욓욖욗욙욚욛욝욞욟욠욡욢욣욦�".split("");for(a=0;a!=t[158].length;++a)if(t[158][a].charCodeAt(0)!==65533){r[t[158][a]]=40448+a;e[40448+a]=t[158][a]}t[159]="�����������������������������������������������������������������욨욪욫욬욭욮욯욲욳욵욶욷욻욼욽욾욿웂웄웆웇웈웉웊웋웎������웏웑웒웓웕웖웗웘웙웚웛웞웟웢웣웤웥웦웧웪웫웭웮웯웱웲������웳웴웵웶웷웺웻웼웾웿윀윁윂윃윆윇윉윊윋윍윎윏윐윑윒윓윖윘윚윛윜윝윞윟윢윣윥윦윧윩윪윫윬윭윮윯윲윴윶윸윹윺윻윾윿읁읂읃읅읆읇읈읉읋읎읐읙읚읛읝읞읟읡읢읣읤읥읦읧읩읪읬읭읮읯읰읱읲읳읶읷읹읺읻읿잀잁잂잆잋잌잍잏잒잓잕잙잛잜잝잞잟잢잧잨잩잪잫잮잯잱잲잳잵잶잷�".split("");for(a=0;a!=t[159].length;++a)if(t[159][a].charCodeAt(0)!==65533){r[t[159][a]]=40704+a;e[40704+a]=t[159][a]}t[160]="�����������������������������������������������������������������잸잹잺잻잾쟂쟃쟄쟅쟆쟇쟊쟋쟍쟏쟑쟒쟓쟔쟕쟖쟗쟙쟚쟛쟜������쟞쟟쟠쟡쟢쟣쟥쟦쟧쟩쟪쟫쟭쟮쟯쟰쟱쟲쟳쟴쟵쟶쟷쟸쟹쟺������쟻쟼쟽쟾쟿젂젃젅젆젇젉젋젌젍젎젏젒젔젗젘젙젚젛젞젟젡젢젣젥젦젧젨젩젪젫젮젰젲젳젴젵젶젷젹젺젻젽젾젿졁졂졃졄졅졆졇졊졋졎졏졐졑졒졓졕졖졗졘졙졚졛졜졝졞졟졠졡졢졣졤졥졦졧졨졩졪졫졬졭졮졯졲졳졵졶졷졹졻졼졽졾졿좂좄좈좉좊좎좏좐좑좒좓좕좖좗좘좙좚좛좜좞좠좢좣좤�".split("");for(a=0;a!=t[160].length;++a)if(t[160][a].charCodeAt(0)!==65533){r[t[160][a]]=40960+a;e[40960+a]=t[160][a]}t[161]="�����������������������������������������������������������������좥좦좧좩좪좫좬좭좮좯좰좱좲좳좴좵좶좷좸좹좺좻좾좿죀죁������죂죃죅죆죇죉죊죋죍죎죏죐죑죒죓죖죘죚죛죜죝죞죟죢죣죥������죦죧죨죩죪죫죬죭죮죯죰죱죲죳죴죶죷죸죹죺죻죾죿줁줂줃줇줈줉줊줋줎 、。·‥…¨〃­―∥\∼‘’“”〔〕〈〉《》「」『』【】±×÷≠≤≥∞∴°′″℃Å¢£¥♂♀∠⊥⌒∂∇≡≒§※☆★○●◎◇◆□■△▲▽▼→←↑↓↔〓≪≫√∽∝∵∫∬∈∋⊆⊇⊂⊃∪∩∧∨¬�".split("");for(a=0;a!=t[161].length;++a)if(t[161][a].charCodeAt(0)!==65533){r[t[161][a]]=41216+a;e[41216+a]=t[161][a]}t[162]="�����������������������������������������������������������������줐줒줓줔줕줖줗줙줚줛줜줝줞줟줠줡줢줣줤줥줦줧줨줩줪줫������줭줮줯줰줱줲줳줵줶줷줸줹줺줻줼줽줾줿쥀쥁쥂쥃쥄쥅쥆쥇������쥈쥉쥊쥋쥌쥍쥎쥏쥒쥓쥕쥖쥗쥙쥚쥛쥜쥝쥞쥟쥢쥤쥥쥦쥧쥨쥩쥪쥫쥭쥮쥯⇒⇔∀∃´~ˇ˘˝˚˙¸˛¡¿ː∮∑∏¤℉‰◁◀▷▶♤♠♡♥♧♣⊙◈▣◐◑▒▤▥▨▧▦▩♨☏☎☜☞¶†‡↕↗↙↖↘♭♩♪♬㉿㈜№㏇™㏂㏘℡€®������������������������".split("");for(a=0;a!=t[162].length;++a)if(t[162][a].charCodeAt(0)!==65533){r[t[162][a]]=41472+a;e[41472+a]=t[162][a]}t[163]="�����������������������������������������������������������������쥱쥲쥳쥵쥶쥷쥸쥹쥺쥻쥽쥾쥿즀즁즂즃즄즅즆즇즊즋즍즎즏������즑즒즓즔즕즖즗즚즜즞즟즠즡즢즣즤즥즦즧즨즩즪즫즬즭즮������즯즰즱즲즳즴즵즶즷즸즹즺즻즼즽즾즿짂짃짅짆짉짋짌짍짎짏짒짔짗짘짛!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[₩]^_`abcdefghijklmnopqrstuvwxyz{|} ̄�".split("");for(a=0;a!=t[163].length;++a)if(t[163][a].charCodeAt(0)!==65533){r[t[163][a]]=41728+a;e[41728+a]=t[163][a]}t[164]="�����������������������������������������������������������������짞짟짡짣짥짦짨짩짪짫짮짲짳짴짵짶짷짺짻짽짾짿쨁쨂쨃쨄������쨅쨆쨇쨊쨎쨏쨐쨑쨒쨓쨕쨖쨗쨙쨚쨛쨜쨝쨞쨟쨠쨡쨢쨣쨤쨥������쨦쨧쨨쨪쨫쨬쨭쨮쨯쨰쨱쨲쨳쨴쨵쨶쨷쨸쨹쨺쨻쨼쨽쨾쨿쩀쩁쩂쩃쩄쩅쩆ㄱㄲㄳㄴㄵㄶㄷㄸㄹㄺㄻㄼㄽㄾㄿㅀㅁㅂㅃㅄㅅㅆㅇㅈㅉㅊㅋㅌㅍㅎㅏㅐㅑㅒㅓㅔㅕㅖㅗㅘㅙㅚㅛㅜㅝㅞㅟㅠㅡㅢㅣㅤㅥㅦㅧㅨㅩㅪㅫㅬㅭㅮㅯㅰㅱㅲㅳㅴㅵㅶㅷㅸㅹㅺㅻㅼㅽㅾㅿㆀㆁㆂㆃㆄㆅㆆㆇㆈㆉㆊㆋㆌㆍㆎ�".split("");for(a=0;a!=t[164].length;++a)if(t[164][a].charCodeAt(0)!==65533){r[t[164][a]]=41984+a;e[41984+a]=t[164][a]}t[165]="�����������������������������������������������������������������쩇쩈쩉쩊쩋쩎쩏쩑쩒쩓쩕쩖쩗쩘쩙쩚쩛쩞쩢쩣쩤쩥쩦쩧쩩쩪������쩫쩬쩭쩮쩯쩰쩱쩲쩳쩴쩵쩶쩷쩸쩹쩺쩻쩼쩾쩿쪀쪁쪂쪃쪅쪆������쪇쪈쪉쪊쪋쪌쪍쪎쪏쪐쪑쪒쪓쪔쪕쪖쪗쪙쪚쪛쪜쪝쪞쪟쪠쪡쪢쪣쪤쪥쪦쪧ⅰⅱⅲⅳⅴⅵⅶⅷⅸⅹ�����ⅠⅡⅢⅣⅤⅥⅦⅧⅨⅩ�������ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ��������αβγδεζηθικλμνξοπρστυφχψω�������".split("");for(a=0;a!=t[165].length;++a)if(t[165][a].charCodeAt(0)!==65533){r[t[165][a]]=42240+a;e[42240+a]=t[165][a]}t[166]="�����������������������������������������������������������������쪨쪩쪪쪫쪬쪭쪮쪯쪰쪱쪲쪳쪴쪵쪶쪷쪸쪹쪺쪻쪾쪿쫁쫂쫃쫅������쫆쫇쫈쫉쫊쫋쫎쫐쫒쫔쫕쫖쫗쫚쫛쫜쫝쫞쫟쫡쫢쫣쫤쫥쫦쫧������쫨쫩쫪쫫쫭쫮쫯쫰쫱쫲쫳쫵쫶쫷쫸쫹쫺쫻쫼쫽쫾쫿쬀쬁쬂쬃쬄쬅쬆쬇쬉쬊─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂┒┑┚┙┖┕┎┍┞┟┡┢┦┧┩┪┭┮┱┲┵┶┹┺┽┾╀╁╃╄╅╆╇╈╉╊���������������������������".split("");for(a=0;a!=t[166].length;++a)if(t[166][a].charCodeAt(0)!==65533){r[t[166][a]]=42496+a;e[42496+a]=t[166][a]}t[167]="�����������������������������������������������������������������쬋쬌쬍쬎쬏쬑쬒쬓쬕쬖쬗쬙쬚쬛쬜쬝쬞쬟쬢쬣쬤쬥쬦쬧쬨쬩������쬪쬫쬬쬭쬮쬯쬰쬱쬲쬳쬴쬵쬶쬷쬸쬹쬺쬻쬼쬽쬾쬿쭀쭂쭃쭄������쭅쭆쭇쭊쭋쭍쭎쭏쭑쭒쭓쭔쭕쭖쭗쭚쭛쭜쭞쭟쭠쭡쭢쭣쭥쭦쭧쭨쭩쭪쭫쭬㎕㎖㎗ℓ㎘㏄㎣㎤㎥㎦㎙㎚㎛㎜㎝㎞㎟㎠㎡㎢㏊㎍㎎㎏㏏㎈㎉㏈㎧㎨㎰㎱㎲㎳㎴㎵㎶㎷㎸㎹㎀㎁㎂㎃㎄㎺㎻㎼㎽㎾㎿㎐㎑㎒㎓㎔Ω㏀㏁㎊㎋㎌㏖㏅㎭㎮㎯㏛㎩㎪㎫㎬㏝㏐㏓㏃㏉㏜㏆����������������".split("");for(a=0;a!=t[167].length;++a)if(t[167][a].charCodeAt(0)!==65533){r[t[167][a]]=42752+a;e[42752+a]=t[167][a]}t[168]="�����������������������������������������������������������������쭭쭮쭯쭰쭱쭲쭳쭴쭵쭶쭷쭺쭻쭼쭽쭾쭿쮀쮁쮂쮃쮄쮅쮆쮇쮈������쮉쮊쮋쮌쮍쮎쮏쮐쮑쮒쮓쮔쮕쮖쮗쮘쮙쮚쮛쮝쮞쮟쮠쮡쮢쮣������쮤쮥쮦쮧쮨쮩쮪쮫쮬쮭쮮쮯쮰쮱쮲쮳쮴쮵쮶쮷쮹쮺쮻쮼쮽쮾쮿쯀쯁쯂쯃쯄ÆЪĦ�IJ�ĿŁØŒºÞŦŊ�㉠㉡㉢㉣㉤㉥㉦㉧㉨㉩㉪㉫㉬㉭㉮㉯㉰㉱㉲㉳㉴㉵㉶㉷㉸㉹㉺㉻ⓐⓑⓒⓓⓔⓕⓖⓗⓘⓙⓚⓛⓜⓝⓞⓟⓠⓡⓢⓣⓤⓥⓦⓧⓨⓩ①②③④⑤⑥⑦⑧⑨⑩⑪⑫⑬⑭⑮½⅓⅔¼¾⅛⅜⅝⅞�".split("");for(a=0;a!=t[168].length;++a)if(t[168][a].charCodeAt(0)!==65533){r[t[168][a]]=43008+a;e[43008+a]=t[168][a]}t[169]="�����������������������������������������������������������������쯅쯆쯇쯈쯉쯊쯋쯌쯍쯎쯏쯐쯑쯒쯓쯕쯖쯗쯘쯙쯚쯛쯜쯝쯞쯟������쯠쯡쯢쯣쯥쯦쯨쯪쯫쯬쯭쯮쯯쯰쯱쯲쯳쯴쯵쯶쯷쯸쯹쯺쯻쯼������쯽쯾쯿찀찁찂찃찄찅찆찇찈찉찊찋찎찏찑찒찓찕찖찗찘찙찚찛찞찟찠찣찤æđðħıijĸŀłøœßþŧŋʼn㈀㈁㈂㈃㈄㈅㈆㈇㈈㈉㈊㈋㈌㈍㈎㈏㈐㈑㈒㈓㈔㈕㈖㈗㈘㈙㈚㈛⒜⒝⒞⒟⒠⒡⒢⒣⒤⒥⒦⒧⒨⒩⒪⒫⒬⒭⒮⒯⒰⒱⒲⒳⒴⒵⑴⑵⑶⑷⑸⑹⑺⑻⑼⑽⑾⑿⒀⒁⒂¹²³⁴ⁿ₁₂₃₄�".split("");for(a=0;a!=t[169].length;++a)if(t[169][a].charCodeAt(0)!==65533){r[t[169][a]]=43264+a;e[43264+a]=t[169][a]}t[170]="�����������������������������������������������������������������찥찦찪찫찭찯찱찲찳찴찵찶찷찺찿챀챁챂챃챆챇챉챊챋챍챎������챏챐챑챒챓챖챚챛챜챝챞챟챡챢챣챥챧챩챪챫챬챭챮챯챱챲������챳챴챶챷챸챹챺챻챼챽챾챿첀첁첂첃첄첅첆첇첈첉첊첋첌첍첎첏첐첑첒첓ぁあぃいぅうぇえぉおかがきぎくぐけげこごさざしじすずせぜそぞただちぢっつづてでとどなにぬねのはばぱひびぴふぶぷへべぺほぼぽまみむめもゃやゅゆょよらりるれろゎわゐゑをん������������".split("");for(a=0;a!=t[170].length;++a)if(t[170][a].charCodeAt(0)!==65533){r[t[170][a]]=43520+a;e[43520+a]=t[170][a]}t[171]="�����������������������������������������������������������������첔첕첖첗첚첛첝첞첟첡첢첣첤첥첦첧첪첮첯첰첱첲첳첶첷첹������첺첻첽첾첿쳀쳁쳂쳃쳆쳈쳊쳋쳌쳍쳎쳏쳑쳒쳓쳕쳖쳗쳘쳙쳚������쳛쳜쳝쳞쳟쳠쳡쳢쳣쳥쳦쳧쳨쳩쳪쳫쳭쳮쳯쳱쳲쳳쳴쳵쳶쳷쳸쳹쳺쳻쳼쳽ァアィイゥウェエォオカガキギクグケゲコゴサザシジスズセゼソゾタダチヂッツヅテデトドナニヌネノハバパヒビピフブプヘベペホボポマミムメモャヤュユョヨラリルレロヮワヰヱヲンヴヵヶ���������".split("");for(a=0;a!=t[171].length;++a)if(t[171][a].charCodeAt(0)!==65533){r[t[171][a]]=43776+a;e[43776+a]=t[171][a]}t[172]="�����������������������������������������������������������������쳾쳿촀촂촃촄촅촆촇촊촋촍촎촏촑촒촓촔촕촖촗촚촜촞촟촠������촡촢촣촥촦촧촩촪촫촭촮촯촰촱촲촳촴촵촶촷촸촺촻촼촽촾������촿쵀쵁쵂쵃쵄쵅쵆쵇쵈쵉쵊쵋쵌쵍쵎쵏쵐쵑쵒쵓쵔쵕쵖쵗쵘쵙쵚쵛쵝쵞쵟АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ���������������абвгдеёжзийклмнопрстуфхцчшщъыьэюя��������������".split("");for(a=0;a!=t[172].length;++a)if(t[172][a].charCodeAt(0)!==65533){r[t[172][a]]=44032+a;e[44032+a]=t[172][a]}t[173]="�����������������������������������������������������������������쵡쵢쵣쵥쵦쵧쵨쵩쵪쵫쵮쵰쵲쵳쵴쵵쵶쵷쵹쵺쵻쵼쵽쵾쵿춀������춁춂춃춄춅춆춇춉춊춋춌춍춎춏춐춑춒춓춖춗춙춚춛춝춞춟������춠춡춢춣춦춨춪춫춬춭춮춯춱춲춳춴춵춶춷춸춹춺춻춼춽춾춿췀췁췂췃췅�����������������������������������������������������������������������������������������������".split("");for(a=0;a!=t[173].length;++a)if(t[173][a].charCodeAt(0)!==65533){r[t[173][a]]=44288+a;e[44288+a]=t[173][a]}t[174]="�����������������������������������������������������������������췆췇췈췉췊췋췍췎췏췑췒췓췔췕췖췗췘췙췚췛췜췝췞췟췠췡������췢췣췤췥췦췧췩췪췫췭췮췯췱췲췳췴췵췶췷췺췼췾췿츀츁츂������츃츅츆츇츉츊츋츍츎츏츐츑츒츓츕츖츗츘츚츛츜츝츞츟츢츣츥츦츧츩츪츫�����������������������������������������������������������������������������������������������".split("");for(a=0;a!=t[174].length;++a)if(t[174][a].charCodeAt(0)!==65533){r[t[174][a]]=44544+a;e[44544+a]=t[174][a]}t[175]="�����������������������������������������������������������������츬츭츮츯츲츴츶츷츸츹츺츻츼츽츾츿칀칁칂칃칄칅칆칇칈칉������칊칋칌칍칎칏칐칑칒칓칔칕칖칗칚칛칝칞칢칣칤칥칦칧칪칬������칮칯칰칱칲칳칶칷칹칺칻칽칾칿캀캁캂캃캆캈캊캋캌캍캎캏캒캓캕캖캗캙�����������������������������������������������������������������������������������������������".split("");for(a=0;a!=t[175].length;++a)if(t[175][a].charCodeAt(0)!==65533){r[t[175][a]]=44800+a;e[44800+a]=t[175][a]}t[176]="�����������������������������������������������������������������캚캛캜캝캞캟캢캦캧캨캩캪캫캮캯캰캱캲캳캴캵캶캷캸캹캺������캻캼캽캾캿컀컂컃컄컅컆컇컈컉컊컋컌컍컎컏컐컑컒컓컔컕������컖컗컘컙컚컛컜컝컞컟컠컡컢컣컦컧컩컪컭컮컯컰컱컲컳컶컺컻컼컽컾컿가각간갇갈갉갊감갑값갓갔강갖갗같갚갛개객갠갤갬갭갯갰갱갸갹갼걀걋걍걔걘걜거걱건걷걸걺검겁것겄겅겆겉겊겋게겐겔겜겝겟겠겡겨격겪견겯결겸겹겻겼경곁계곈곌곕곗고곡곤곧골곪곬곯곰곱곳공곶과곽관괄괆�".split("");for(a=0;a!=t[176].length;++a)if(t[176][a].charCodeAt(0)!==65533){r[t[176][a]]=45056+a;e[45056+a]=t[176][a]}t[177]="�����������������������������������������������������������������켂켃켅켆켇켉켊켋켌켍켎켏켒켔켖켗켘켙켚켛켝켞켟켡켢켣������켥켦켧켨켩켪켫켮켲켳켴켵켶켷켹켺켻켼켽켾켿콀콁콂콃콄������콅콆콇콈콉콊콋콌콍콎콏콐콑콒콓콖콗콙콚콛콝콞콟콠콡콢콣콦콨콪콫콬괌괍괏광괘괜괠괩괬괭괴괵괸괼굄굅굇굉교굔굘굡굣구국군굳굴굵굶굻굼굽굿궁궂궈궉권궐궜궝궤궷귀귁귄귈귐귑귓규균귤그극근귿글긁금급긋긍긔기긱긴긷길긺김깁깃깅깆깊까깍깎깐깔깖깜깝깟깠깡깥깨깩깬깰깸�".split("");for(a=0;a!=t[177].length;++a)if(t[177][a].charCodeAt(0)!==65533){r[t[177][a]]=45312+a;e[45312+a]=t[177][a]}t[178]="�����������������������������������������������������������������콭콮콯콲콳콵콶콷콹콺콻콼콽콾콿쾁쾂쾃쾄쾆쾇쾈쾉쾊쾋쾍������쾎쾏쾐쾑쾒쾓쾔쾕쾖쾗쾘쾙쾚쾛쾜쾝쾞쾟쾠쾢쾣쾤쾥쾦쾧쾩������쾪쾫쾬쾭쾮쾯쾱쾲쾳쾴쾵쾶쾷쾸쾹쾺쾻쾼쾽쾾쾿쿀쿁쿂쿃쿅쿆쿇쿈쿉쿊쿋깹깻깼깽꺄꺅꺌꺼꺽꺾껀껄껌껍껏껐껑께껙껜껨껫껭껴껸껼꼇꼈꼍꼐꼬꼭꼰꼲꼴꼼꼽꼿꽁꽂꽃꽈꽉꽐꽜꽝꽤꽥꽹꾀꾄꾈꾐꾑꾕꾜꾸꾹꾼꿀꿇꿈꿉꿋꿍꿎꿔꿜꿨꿩꿰꿱꿴꿸뀀뀁뀄뀌뀐뀔뀜뀝뀨끄끅끈끊끌끎끓끔끕끗끙�".split("");for(a=0;a!=t[178].length;++a)if(t[178][a].charCodeAt(0)!==65533){r[t[178][a]]=45568+a;e[45568+a]=t[178][a]}t[179]="�����������������������������������������������������������������쿌쿍쿎쿏쿐쿑쿒쿓쿔쿕쿖쿗쿘쿙쿚쿛쿜쿝쿞쿟쿢쿣쿥쿦쿧쿩������쿪쿫쿬쿭쿮쿯쿲쿴쿶쿷쿸쿹쿺쿻쿽쿾쿿퀁퀂퀃퀅퀆퀇퀈퀉퀊������퀋퀌퀍퀎퀏퀐퀒퀓퀔퀕퀖퀗퀙퀚퀛퀜퀝퀞퀟퀠퀡퀢퀣퀤퀥퀦퀧퀨퀩퀪퀫퀬끝끼끽낀낄낌낍낏낑나낙낚난낟날낡낢남납낫났낭낮낯낱낳내낵낸낼냄냅냇냈냉냐냑냔냘냠냥너넉넋넌널넒넓넘넙넛넜넝넣네넥넨넬넴넵넷넸넹녀녁년녈념녑녔녕녘녜녠노녹논놀놂놈놉놋농높놓놔놘놜놨뇌뇐뇔뇜뇝�".split("");for(a=0;a!=t[179].length;++a)if(t[179][a].charCodeAt(0)!==65533){r[t[179][a]]=45824+a;e[45824+a]=t[179][a]}t[180]="�����������������������������������������������������������������퀮퀯퀰퀱퀲퀳퀶퀷퀹퀺퀻퀽퀾퀿큀큁큂큃큆큈큊큋큌큍큎큏������큑큒큓큕큖큗큙큚큛큜큝큞큟큡큢큣큤큥큦큧큨큩큪큫큮큯������큱큲큳큵큶큷큸큹큺큻큾큿킀킂킃킄킅킆킇킈킉킊킋킌킍킎킏킐킑킒킓킔뇟뇨뇩뇬뇰뇹뇻뇽누눅눈눋눌눔눕눗눙눠눴눼뉘뉜뉠뉨뉩뉴뉵뉼늄늅늉느늑는늘늙늚늠늡늣능늦늪늬늰늴니닉닌닐닒님닙닛닝닢다닥닦단닫달닭닮닯닳담답닷닸당닺닻닿대댁댄댈댐댑댓댔댕댜더덕덖던덛덜덞덟덤덥�".split("");for(a=0;a!=t[180].length;++a)if(t[180][a].charCodeAt(0)!==65533){r[t[180][a]]=46080+a;e[46080+a]=t[180][a]}t[181]="�����������������������������������������������������������������킕킖킗킘킙킚킛킜킝킞킟킠킡킢킣킦킧킩킪킫킭킮킯킰킱킲������킳킶킸킺킻킼킽킾킿탂탃탅탆탇탊탋탌탍탎탏탒탖탗탘탙탚������탛탞탟탡탢탣탥탦탧탨탩탪탫탮탲탳탴탵탶탷탹탺탻탼탽탾탿턀턁턂턃턄덧덩덫덮데덱덴델뎀뎁뎃뎄뎅뎌뎐뎔뎠뎡뎨뎬도독돈돋돌돎돐돔돕돗동돛돝돠돤돨돼됐되된될됨됩됫됴두둑둔둘둠둡둣둥둬뒀뒈뒝뒤뒨뒬뒵뒷뒹듀듄듈듐듕드득든듣들듦듬듭듯등듸디딕딘딛딜딤딥딧딨딩딪따딱딴딸�".split("");for(a=0;a!=t[181].length;++a)if(t[181][a].charCodeAt(0)!==65533){r[t[181][a]]=46336+a;e[46336+a]=t[181][a]}t[182]="�����������������������������������������������������������������턅턆턇턈턉턊턋턌턎턏턐턑턒턓턔턕턖턗턘턙턚턛턜턝턞턟������턠턡턢턣턤턥턦턧턨턩턪턫턬턭턮턯턲턳턵턶턷턹턻턼턽턾������턿텂텆텇텈텉텊텋텎텏텑텒텓텕텖텗텘텙텚텛텞텠텢텣텤텥텦텧텩텪텫텭땀땁땃땄땅땋때땍땐땔땜땝땟땠땡떠떡떤떨떪떫떰떱떳떴떵떻떼떽뗀뗄뗌뗍뗏뗐뗑뗘뗬또똑똔똘똥똬똴뙈뙤뙨뚜뚝뚠뚤뚫뚬뚱뛔뛰뛴뛸뜀뜁뜅뜨뜩뜬뜯뜰뜸뜹뜻띄띈띌띔띕띠띤띨띰띱띳띵라락란랄람랍랏랐랑랒랖랗�".split("");for(a=0;a!=t[182].length;++a)if(t[182][a].charCodeAt(0)!==65533){r[t[182][a]]=46592+a;e[46592+a]=t[182][a]}t[183]="�����������������������������������������������������������������텮텯텰텱텲텳텴텵텶텷텸텹텺텻텽텾텿톀톁톂톃톅톆톇톉톊������톋톌톍톎톏톐톑톒톓톔톕톖톗톘톙톚톛톜톝톞톟톢톣톥톦톧������톩톪톫톬톭톮톯톲톴톶톷톸톹톻톽톾톿퇁퇂퇃퇄퇅퇆퇇퇈퇉퇊퇋퇌퇍퇎퇏래랙랜랠램랩랫랬랭랴략랸럇량러럭런럴럼럽럿렀렁렇레렉렌렐렘렙렛렝려력련렬렴렵렷렸령례롄롑롓로록론롤롬롭롯롱롸롼뢍뢨뢰뢴뢸룀룁룃룅료룐룔룝룟룡루룩룬룰룸룹룻룽뤄뤘뤠뤼뤽륀륄륌륏륑류륙륜률륨륩�".split("");for(a=0;a!=t[183].length;++a)if(t[183][a].charCodeAt(0)!==65533){r[t[183][a]]=46848+a;e[46848+a]=t[183][a]}t[184]="�����������������������������������������������������������������퇐퇑퇒퇓퇔퇕퇖퇗퇙퇚퇛퇜퇝퇞퇟퇠퇡퇢퇣퇤퇥퇦퇧퇨퇩퇪������퇫퇬퇭퇮퇯퇰퇱퇲퇳퇵퇶퇷퇹퇺퇻퇼퇽퇾퇿툀툁툂툃툄툅툆������툈툊툋툌툍툎툏툑툒툓툔툕툖툗툘툙툚툛툜툝툞툟툠툡툢툣툤툥툦툧툨툩륫륭르륵른를름릅릇릉릊릍릎리릭린릴림립릿링마막만많맏말맑맒맘맙맛망맞맡맣매맥맨맬맴맵맷맸맹맺먀먁먈먕머먹먼멀멂멈멉멋멍멎멓메멕멘멜멤멥멧멨멩며멱면멸몃몄명몇몌모목몫몬몰몲몸몹못몽뫄뫈뫘뫙뫼�".split("");for(a=0;a!=t[184].length;++a)if(t[184][a].charCodeAt(0)!==65533){r[t[184][a]]=47104+a;e[47104+a]=t[184][a]}t[185]="�����������������������������������������������������������������툪툫툮툯툱툲툳툵툶툷툸툹툺툻툾퉀퉂퉃퉄퉅퉆퉇퉉퉊퉋퉌������퉍퉎퉏퉐퉑퉒퉓퉔퉕퉖퉗퉘퉙퉚퉛퉝퉞퉟퉠퉡퉢퉣퉥퉦퉧퉨������퉩퉪퉫퉬퉭퉮퉯퉰퉱퉲퉳퉴퉵퉶퉷퉸퉹퉺퉻퉼퉽퉾퉿튂튃튅튆튇튉튊튋튌묀묄묍묏묑묘묜묠묩묫무묵묶문묻물묽묾뭄뭅뭇뭉뭍뭏뭐뭔뭘뭡뭣뭬뮈뮌뮐뮤뮨뮬뮴뮷므믄믈믐믓미믹민믿밀밂밈밉밋밌밍및밑바박밖밗반받발밝밞밟밤밥밧방밭배백밴밸뱀뱁뱃뱄뱅뱉뱌뱍뱐뱝버벅번벋벌벎범법벗�".split("");for(a=0;a!=t[185].length;++a)if(t[185][a].charCodeAt(0)!==65533){r[t[185][a]]=47360+a;e[47360+a]=t[185][a]}t[186]="�����������������������������������������������������������������튍튎튏튒튓튔튖튗튘튙튚튛튝튞튟튡튢튣튥튦튧튨튩튪튫튭������튮튯튰튲튳튴튵튶튷튺튻튽튾틁틃틄틅틆틇틊틌틍틎틏틐틑������틒틓틕틖틗틙틚틛틝틞틟틠틡틢틣틦틧틨틩틪틫틬틭틮틯틲틳틵틶틷틹틺벙벚베벡벤벧벨벰벱벳벴벵벼벽변별볍볏볐병볕볘볜보복볶본볼봄봅봇봉봐봔봤봬뵀뵈뵉뵌뵐뵘뵙뵤뵨부북분붇불붉붊붐붑붓붕붙붚붜붤붰붸뷔뷕뷘뷜뷩뷰뷴뷸븀븃븅브븍븐블븜븝븟비빅빈빌빎빔빕빗빙빚빛빠빡빤�".split("");for(a=0;a!=t[186].length;++a)if(t[186][a].charCodeAt(0)!==65533){r[t[186][a]]=47616+a;e[47616+a]=t[186][a]}t[187]="�����������������������������������������������������������������틻틼틽틾틿팂팄팆팇팈팉팊팋팏팑팒팓팕팗팘팙팚팛팞팢팣������팤팦팧팪팫팭팮팯팱팲팳팴팵팶팷팺팾팿퍀퍁퍂퍃퍆퍇퍈퍉������퍊퍋퍌퍍퍎퍏퍐퍑퍒퍓퍔퍕퍖퍗퍘퍙퍚퍛퍜퍝퍞퍟퍠퍡퍢퍣퍤퍥퍦퍧퍨퍩빨빪빰빱빳빴빵빻빼빽뺀뺄뺌뺍뺏뺐뺑뺘뺙뺨뻐뻑뻔뻗뻘뻠뻣뻤뻥뻬뼁뼈뼉뼘뼙뼛뼜뼝뽀뽁뽄뽈뽐뽑뽕뾔뾰뿅뿌뿍뿐뿔뿜뿟뿡쀼쁑쁘쁜쁠쁨쁩삐삑삔삘삠삡삣삥사삭삯산삳살삵삶삼삽삿샀상샅새색샌샐샘샙샛샜생샤�".split("");for(a=0;a!=t[187].length;++a)if(t[187][a].charCodeAt(0)!==65533){r[t[187][a]]=47872+a;e[47872+a]=t[187][a]}t[188]="�����������������������������������������������������������������퍪퍫퍬퍭퍮퍯퍰퍱퍲퍳퍴퍵퍶퍷퍸퍹퍺퍻퍾퍿펁펂펃펅펆펇������펈펉펊펋펎펒펓펔펕펖펗펚펛펝펞펟펡펢펣펤펥펦펧펪펬펮������펯펰펱펲펳펵펶펷펹펺펻펽펾펿폀폁폂폃폆폇폊폋폌폍폎폏폑폒폓폔폕폖샥샨샬샴샵샷샹섀섄섈섐섕서석섞섟선섣설섦섧섬섭섯섰성섶세섹센셀셈셉셋셌셍셔셕션셜셤셥셧셨셩셰셴셸솅소속솎손솔솖솜솝솟송솥솨솩솬솰솽쇄쇈쇌쇔쇗쇘쇠쇤쇨쇰쇱쇳쇼쇽숀숄숌숍숏숑수숙순숟술숨숩숫숭�".split("");for(a=0;a!=t[188].length;++a)if(t[188][a].charCodeAt(0)!==65533){r[t[188][a]]=48128+a;e[48128+a]=t[188][a]}t[189]="�����������������������������������������������������������������폗폙폚폛폜폝폞폟폠폢폤폥폦폧폨폩폪폫폮폯폱폲폳폵폶폷������폸폹폺폻폾퐀퐂퐃퐄퐅퐆퐇퐉퐊퐋퐌퐍퐎퐏퐐퐑퐒퐓퐔퐕퐖������퐗퐘퐙퐚퐛퐜퐞퐟퐠퐡퐢퐣퐤퐥퐦퐧퐨퐩퐪퐫퐬퐭퐮퐯퐰퐱퐲퐳퐴퐵퐶퐷숯숱숲숴쉈쉐쉑쉔쉘쉠쉥쉬쉭쉰쉴쉼쉽쉿슁슈슉슐슘슛슝스슥슨슬슭슴습슷승시식신싣실싫심십싯싱싶싸싹싻싼쌀쌈쌉쌌쌍쌓쌔쌕쌘쌜쌤쌥쌨쌩썅써썩썬썰썲썸썹썼썽쎄쎈쎌쏀쏘쏙쏜쏟쏠쏢쏨쏩쏭쏴쏵쏸쐈쐐쐤쐬쐰�".split("");for(a=0;a!=t[189].length;++a)if(t[189][a].charCodeAt(0)!==65533){r[t[189][a]]=48384+a;e[48384+a]=t[189][a]}t[190]="�����������������������������������������������������������������퐸퐹퐺퐻퐼퐽퐾퐿푁푂푃푅푆푇푈푉푊푋푌푍푎푏푐푑푒푓������푔푕푖푗푘푙푚푛푝푞푟푡푢푣푥푦푧푨푩푪푫푬푮푰푱푲������푳푴푵푶푷푺푻푽푾풁풃풄풅풆풇풊풌풎풏풐풑풒풓풕풖풗풘풙풚풛풜풝쐴쐼쐽쑈쑤쑥쑨쑬쑴쑵쑹쒀쒔쒜쒸쒼쓩쓰쓱쓴쓸쓺쓿씀씁씌씐씔씜씨씩씬씰씸씹씻씽아악안앉않알앍앎앓암압앗았앙앝앞애액앤앨앰앱앳앴앵야약얀얄얇얌얍얏양얕얗얘얜얠얩어억언얹얻얼얽얾엄업없엇었엉엊엌엎�".split("");for(a=0;a!=t[190].length;++a)if(t[190][a].charCodeAt(0)!==65533){r[t[190][a]]=48640+a;e[48640+a]=t[190][a]}t[191]="�����������������������������������������������������������������풞풟풠풡풢풣풤풥풦풧풨풪풫풬풭풮풯풰풱풲풳풴풵풶풷풸������풹풺풻풼풽풾풿퓀퓁퓂퓃퓄퓅퓆퓇퓈퓉퓊퓋퓍퓎퓏퓑퓒퓓퓕������퓖퓗퓘퓙퓚퓛퓝퓞퓠퓡퓢퓣퓤퓥퓦퓧퓩퓪퓫퓭퓮퓯퓱퓲퓳퓴퓵퓶퓷퓹퓺퓼에엑엔엘엠엡엣엥여역엮연열엶엷염엽엾엿였영옅옆옇예옌옐옘옙옛옜오옥온올옭옮옰옳옴옵옷옹옻와왁완왈왐왑왓왔왕왜왝왠왬왯왱외왹왼욀욈욉욋욍요욕욘욜욤욥욧용우욱운울욹욺움웁웃웅워웍원월웜웝웠웡웨�".split("");for(a=0;a!=t[191].length;++a)if(t[191][a].charCodeAt(0)!==65533){r[t[191][a]]=48896+a;e[48896+a]=t[191][a]}t[192]="�����������������������������������������������������������������퓾퓿픀픁픂픃픅픆픇픉픊픋픍픎픏픐픑픒픓픖픘픙픚픛픜픝������픞픟픠픡픢픣픤픥픦픧픨픩픪픫픬픭픮픯픰픱픲픳픴픵픶픷������픸픹픺픻픾픿핁핂핃핅핆핇핈핉핊핋핎핐핒핓핔핕핖핗핚핛핝핞핟핡핢핣웩웬웰웸웹웽위윅윈윌윔윕윗윙유육윤율윰윱윳융윷으윽은을읊음읍읏응읒읓읔읕읖읗의읜읠읨읫이익인일읽읾잃임입잇있잉잊잎자작잔잖잗잘잚잠잡잣잤장잦재잭잰잴잼잽잿쟀쟁쟈쟉쟌쟎쟐쟘쟝쟤쟨쟬저적전절젊�".split("");for(a=0;a!=t[192].length;++a)if(t[192][a].charCodeAt(0)!==65533){r[t[192][a]]=49152+a;e[49152+a]=t[192][a]}t[193]="�����������������������������������������������������������������핤핦핧핪핬핮핯핰핱핲핳핶핷핹핺핻핽핾핿햀햁햂햃햆햊햋������햌햍햎햏햑햒햓햔햕햖햗햘햙햚햛햜햝햞햟햠햡햢햣햤햦햧������햨햩햪햫햬햭햮햯햰햱햲햳햴햵햶햷햸햹햺햻햼햽햾햿헀헁헂헃헄헅헆헇점접젓정젖제젝젠젤젬젭젯젱져젼졀졈졉졌졍졔조족존졸졺좀좁좃종좆좇좋좌좍좔좝좟좡좨좼좽죄죈죌죔죕죗죙죠죡죤죵주죽준줄줅줆줌줍줏중줘줬줴쥐쥑쥔쥘쥠쥡쥣쥬쥰쥴쥼즈즉즌즐즘즙즛증지직진짇질짊짐집짓�".split(""); +for(a=0;a!=t[193].length;++a)if(t[193][a].charCodeAt(0)!==65533){r[t[193][a]]=49408+a;e[49408+a]=t[193][a]}t[194]="�����������������������������������������������������������������헊헋헍헎헏헑헓헔헕헖헗헚헜헞헟헠헡헢헣헦헧헩헪헫헭헮������헯헰헱헲헳헶헸헺헻헼헽헾헿혂혃혅혆혇혉혊혋혌혍혎혏혒������혖혗혘혙혚혛혝혞혟혡혢혣혥혦혧혨혩혪혫혬혮혯혰혱혲혳혴혵혶혷혺혻징짖짙짚짜짝짠짢짤짧짬짭짯짰짱째짹짼쨀쨈쨉쨋쨌쨍쨔쨘쨩쩌쩍쩐쩔쩜쩝쩟쩠쩡쩨쩽쪄쪘쪼쪽쫀쫄쫌쫍쫏쫑쫓쫘쫙쫠쫬쫴쬈쬐쬔쬘쬠쬡쭁쭈쭉쭌쭐쭘쭙쭝쭤쭸쭹쮜쮸쯔쯤쯧쯩찌찍찐찔찜찝찡찢찧차착찬찮찰참찹찻�".split("");for(a=0;a!=t[194].length;++a)if(t[194][a].charCodeAt(0)!==65533){r[t[194][a]]=49664+a;e[49664+a]=t[194][a]}t[195]="�����������������������������������������������������������������혽혾혿홁홂홃홄홆홇홊홌홎홏홐홒홓홖홗홙홚홛홝홞홟홠홡������홢홣홤홥홦홨홪홫홬홭홮홯홲홳홵홶홷홸홹홺홻홼홽홾홿횀������횁횂횄횆횇횈횉횊횋횎횏횑횒횓횕횖횗횘횙횚횛횜횞횠횢횣횤횥횦횧횩횪찼창찾채책챈챌챔챕챗챘챙챠챤챦챨챰챵처척천철첨첩첫첬청체첵첸첼쳄쳅쳇쳉쳐쳔쳤쳬쳰촁초촉촌촐촘촙촛총촤촨촬촹최쵠쵤쵬쵭쵯쵱쵸춈추축춘출춤춥춧충춰췄췌췐취췬췰췸췹췻췽츄츈츌츔츙츠측츤츨츰츱츳층�".split("");for(a=0;a!=t[195].length;++a)if(t[195][a].charCodeAt(0)!==65533){r[t[195][a]]=49920+a;e[49920+a]=t[195][a]}t[196]="�����������������������������������������������������������������횫횭횮횯횱횲횳횴횵횶횷횸횺횼횽횾횿훀훁훂훃훆훇훉훊훋������훍훎훏훐훒훓훕훖훘훚훛훜훝훞훟훡훢훣훥훦훧훩훪훫훬훭������훮훯훱훲훳훴훶훷훸훹훺훻훾훿휁휂휃휅휆휇휈휉휊휋휌휍휎휏휐휒휓휔치칙친칟칠칡침칩칫칭카칵칸칼캄캅캇캉캐캑캔캘캠캡캣캤캥캬캭컁커컥컨컫컬컴컵컷컸컹케켁켄켈켐켑켓켕켜켠켤켬켭켯켰켱켸코콕콘콜콤콥콧콩콰콱콴콸쾀쾅쾌쾡쾨쾰쿄쿠쿡쿤쿨쿰쿱쿳쿵쿼퀀퀄퀑퀘퀭퀴퀵퀸퀼�".split("");for(a=0;a!=t[196].length;++a)if(t[196][a].charCodeAt(0)!==65533){r[t[196][a]]=50176+a;e[50176+a]=t[196][a]}t[197]="�����������������������������������������������������������������휕휖휗휚휛휝휞휟휡휢휣휤휥휦휧휪휬휮휯휰휱휲휳휶휷휹������휺휻휽휾휿흀흁흂흃흅흆흈흊흋흌흍흎흏흒흓흕흚흛흜흝흞������흟흢흤흦흧흨흪흫흭흮흯흱흲흳흵흶흷흸흹흺흻흾흿힀힂힃힄힅힆힇힊힋큄큅큇큉큐큔큘큠크큭큰클큼큽킁키킥킨킬킴킵킷킹타탁탄탈탉탐탑탓탔탕태택탠탤탬탭탯탰탱탸턍터턱턴털턺텀텁텃텄텅테텍텐텔템텝텟텡텨텬텼톄톈토톡톤톨톰톱톳통톺톼퇀퇘퇴퇸툇툉툐투툭툰툴툼툽툿퉁퉈퉜�".split("");for(a=0;a!=t[197].length;++a)if(t[197][a].charCodeAt(0)!==65533){r[t[197][a]]=50432+a;e[50432+a]=t[197][a]}t[198]="�����������������������������������������������������������������힍힎힏힑힒힓힔힕힖힗힚힜힞힟힠힡힢힣������������������������������������������������������������������������������퉤튀튁튄튈튐튑튕튜튠튤튬튱트특튼튿틀틂틈틉틋틔틘틜틤틥티틱틴틸팀팁팃팅파팍팎판팔팖팜팝팟팠팡팥패팩팬팰팸팹팻팼팽퍄퍅퍼퍽펀펄펌펍펏펐펑페펙펜펠펨펩펫펭펴편펼폄폅폈평폐폘폡폣포폭폰폴폼폽폿퐁�".split("");for(a=0;a!=t[198].length;++a)if(t[198][a].charCodeAt(0)!==65533){r[t[198][a]]=50688+a;e[50688+a]=t[198][a]}t[199]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������퐈퐝푀푄표푠푤푭푯푸푹푼푿풀풂품풉풋풍풔풩퓌퓐퓔퓜퓟퓨퓬퓰퓸퓻퓽프픈플픔픕픗피픽핀필핌핍핏핑하학한할핥함합핫항해핵핸핼햄햅햇했행햐향허헉헌헐헒험헙헛헝헤헥헨헬헴헵헷헹혀혁현혈혐협혓혔형혜혠�".split("");for(a=0;a!=t[199].length;++a)if(t[199][a].charCodeAt(0)!==65533){r[t[199][a]]=50944+a;e[50944+a]=t[199][a]}t[200]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������혤혭호혹혼홀홅홈홉홋홍홑화확환활홧황홰홱홴횃횅회획횐횔횝횟횡효횬횰횹횻후훅훈훌훑훔훗훙훠훤훨훰훵훼훽휀휄휑휘휙휜휠휨휩휫휭휴휵휸휼흄흇흉흐흑흔흖흗흘흙흠흡흣흥흩희흰흴흼흽힁히힉힌힐힘힙힛힝�".split("");for(a=0;a!=t[200].length;++a)if(t[200][a].charCodeAt(0)!==65533){r[t[200][a]]=51200+a;e[51200+a]=t[200][a]}t[202]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������伽佳假價加可呵哥嘉嫁家暇架枷柯歌珂痂稼苛茄街袈訶賈跏軻迦駕刻却各恪慤殼珏脚覺角閣侃刊墾奸姦干幹懇揀杆柬桿澗癎看磵稈竿簡肝艮艱諫間乫喝曷渴碣竭葛褐蝎鞨勘坎堪嵌感憾戡敢柑橄減甘疳監瞰紺邯鑑鑒龕�".split("");for(a=0;a!=t[202].length;++a)if(t[202][a].charCodeAt(0)!==65533){r[t[202][a]]=51712+a;e[51712+a]=t[202][a]}t[203]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������匣岬甲胛鉀閘剛堈姜岡崗康强彊慷江畺疆糠絳綱羌腔舡薑襁講鋼降鱇介价個凱塏愷愾慨改槪漑疥皆盖箇芥蓋豈鎧開喀客坑更粳羹醵倨去居巨拒据據擧渠炬祛距踞車遽鉅鋸乾件健巾建愆楗腱虔蹇鍵騫乞傑杰桀儉劍劒檢�".split("");for(a=0;a!=t[203].length;++a)if(t[203][a].charCodeAt(0)!==65533){r[t[203][a]]=51968+a;e[51968+a]=t[203][a]}t[204]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������瞼鈐黔劫怯迲偈憩揭擊格檄激膈覡隔堅牽犬甄絹繭肩見譴遣鵑抉決潔結缺訣兼慊箝謙鉗鎌京俓倞傾儆勁勍卿坰境庚徑慶憬擎敬景暻更梗涇炅烱璟璥瓊痙硬磬竟競絅經耕耿脛莖警輕逕鏡頃頸驚鯨係啓堺契季屆悸戒桂械�".split("");for(a=0;a!=t[204].length;++a)if(t[204][a].charCodeAt(0)!==65533){r[t[204][a]]=52224+a;e[52224+a]=t[204][a]}t[205]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������棨溪界癸磎稽系繫繼計誡谿階鷄古叩告呱固姑孤尻庫拷攷故敲暠枯槁沽痼皐睾稿羔考股膏苦苽菰藁蠱袴誥賈辜錮雇顧高鼓哭斛曲梏穀谷鵠困坤崑昆梱棍滾琨袞鯤汨滑骨供公共功孔工恐恭拱控攻珙空蚣貢鞏串寡戈果瓜�".split("");for(a=0;a!=t[205].length;++a)if(t[205][a].charCodeAt(0)!==65533){r[t[205][a]]=52480+a;e[52480+a]=t[205][a]}t[206]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������科菓誇課跨過鍋顆廓槨藿郭串冠官寬慣棺款灌琯瓘管罐菅觀貫關館刮恝括适侊光匡壙廣曠洸炚狂珖筐胱鑛卦掛罫乖傀塊壞怪愧拐槐魁宏紘肱轟交僑咬喬嬌嶠巧攪敎校橋狡皎矯絞翹膠蕎蛟較轎郊餃驕鮫丘久九仇俱具勾�".split("");for(a=0;a!=t[206].length;++a)if(t[206][a].charCodeAt(0)!==65533){r[t[206][a]]=52736+a;e[52736+a]=t[206][a]}t[207]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������區口句咎嘔坵垢寇嶇廐懼拘救枸柩構歐毆毬求溝灸狗玖球瞿矩究絿耉臼舅舊苟衢謳購軀逑邱鉤銶駒驅鳩鷗龜國局菊鞠鞫麴君窘群裙軍郡堀屈掘窟宮弓穹窮芎躬倦券勸卷圈拳捲權淃眷厥獗蕨蹶闕机櫃潰詭軌饋句晷歸貴�".split("");for(a=0;a!=t[207].length;++a)if(t[207][a].charCodeAt(0)!==65533){r[t[207][a]]=52992+a;e[52992+a]=t[207][a]}t[208]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������鬼龜叫圭奎揆槻珪硅窺竅糾葵規赳逵閨勻均畇筠菌鈞龜橘克剋劇戟棘極隙僅劤勤懃斤根槿瑾筋芹菫覲謹近饉契今妗擒昑檎琴禁禽芩衾衿襟金錦伋及急扱汲級給亘兢矜肯企伎其冀嗜器圻基埼夔奇妓寄岐崎己幾忌技旗旣�".split("");for(a=0;a!=t[208].length;++a)if(t[208][a].charCodeAt(0)!==65533){r[t[208][a]]=53248+a;e[53248+a]=t[208][a]}t[209]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������朞期杞棋棄機欺氣汽沂淇玘琦琪璂璣畸畿碁磯祁祇祈祺箕紀綺羈耆耭肌記譏豈起錡錤飢饑騎騏驥麒緊佶吉拮桔金喫儺喇奈娜懦懶拏拿癩羅蘿螺裸邏那樂洛烙珞落諾酪駱亂卵暖欄煖爛蘭難鸞捏捺南嵐枏楠湳濫男藍襤拉�".split("");for(a=0;a!=t[209].length;++a)if(t[209][a].charCodeAt(0)!==65533){r[t[209][a]]=53504+a;e[53504+a]=t[209][a]}t[210]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������納臘蠟衲囊娘廊朗浪狼郎乃來內奈柰耐冷女年撚秊念恬拈捻寧寗努勞奴弩怒擄櫓爐瑙盧老蘆虜路露駑魯鷺碌祿綠菉錄鹿論壟弄濃籠聾膿農惱牢磊腦賂雷尿壘屢樓淚漏累縷陋嫩訥杻紐勒肋凜凌稜綾能菱陵尼泥匿溺多茶�".split("");for(a=0;a!=t[210].length;++a)if(t[210][a].charCodeAt(0)!==65533){r[t[210][a]]=53760+a;e[53760+a]=t[210][a]}t[211]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������丹亶但單團壇彖斷旦檀段湍短端簞緞蛋袒鄲鍛撻澾獺疸達啖坍憺擔曇淡湛潭澹痰聃膽蕁覃談譚錟沓畓答踏遝唐堂塘幢戇撞棠當糖螳黨代垈坮大對岱帶待戴擡玳臺袋貸隊黛宅德悳倒刀到圖堵塗導屠島嶋度徒悼挑掉搗桃�".split("");for(a=0;a!=t[211].length;++a)if(t[211][a].charCodeAt(0)!==65533){r[t[211][a]]=54016+a;e[54016+a]=t[211][a]}t[212]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������棹櫂淘渡滔濤燾盜睹禱稻萄覩賭跳蹈逃途道都鍍陶韜毒瀆牘犢獨督禿篤纛讀墩惇敦旽暾沌焞燉豚頓乭突仝冬凍動同憧東桐棟洞潼疼瞳童胴董銅兜斗杜枓痘竇荳讀豆逗頭屯臀芚遁遯鈍得嶝橙燈登等藤謄鄧騰喇懶拏癩羅�".split("");for(a=0;a!=t[212].length;++a)if(t[212][a].charCodeAt(0)!==65533){r[t[212][a]]=54272+a;e[54272+a]=t[212][a]}t[213]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������蘿螺裸邏樂洛烙珞絡落諾酪駱丹亂卵欄欒瀾爛蘭鸞剌辣嵐擥攬欖濫籃纜藍襤覽拉臘蠟廊朗浪狼琅瑯螂郞來崍徠萊冷掠略亮倆兩凉梁樑粮粱糧良諒輛量侶儷勵呂廬慮戾旅櫚濾礪藜蠣閭驢驪麗黎力曆歷瀝礫轢靂憐戀攣漣�".split("");for(a=0;a!=t[213].length;++a)if(t[213][a].charCodeAt(0)!==65533){r[t[213][a]]=54528+a;e[54528+a]=t[213][a]}t[214]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������煉璉練聯蓮輦連鍊冽列劣洌烈裂廉斂殮濂簾獵令伶囹寧岺嶺怜玲笭羚翎聆逞鈴零靈領齡例澧禮醴隷勞怒撈擄櫓潞瀘爐盧老蘆虜路輅露魯鷺鹵碌祿綠菉錄鹿麓論壟弄朧瀧瓏籠聾儡瀨牢磊賂賚賴雷了僚寮廖料燎療瞭聊蓼�".split("");for(a=0;a!=t[214].length;++a)if(t[214][a].charCodeAt(0)!==65533){r[t[214][a]]=54784+a;e[54784+a]=t[214][a]}t[215]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������遼鬧龍壘婁屢樓淚漏瘻累縷蔞褸鏤陋劉旒柳榴流溜瀏琉瑠留瘤硫謬類六戮陸侖倫崙淪綸輪律慄栗率隆勒肋凜凌楞稜綾菱陵俚利厘吏唎履悧李梨浬犁狸理璃異痢籬罹羸莉裏裡里釐離鯉吝潾燐璘藺躪隣鱗麟林淋琳臨霖砬�".split("");for(a=0;a!=t[215].length;++a)if(t[215][a].charCodeAt(0)!==65533){r[t[215][a]]=55040+a;e[55040+a]=t[215][a]}t[216]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������立笠粒摩瑪痲碼磨馬魔麻寞幕漠膜莫邈万卍娩巒彎慢挽晩曼滿漫灣瞞萬蔓蠻輓饅鰻唜抹末沫茉襪靺亡妄忘忙望網罔芒茫莽輞邙埋妹媒寐昧枚梅每煤罵買賣邁魅脈貊陌驀麥孟氓猛盲盟萌冪覓免冕勉棉沔眄眠綿緬面麵滅�".split("");for(a=0;a!=t[216].length;++a)if(t[216][a].charCodeAt(0)!==65533){r[t[216][a]]=55296+a;e[55296+a]=t[216][a]}t[217]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������蔑冥名命明暝椧溟皿瞑茗蓂螟酩銘鳴袂侮冒募姆帽慕摸摹暮某模母毛牟牡瑁眸矛耗芼茅謀謨貌木沐牧目睦穆鶩歿沒夢朦蒙卯墓妙廟描昴杳渺猫竗苗錨務巫憮懋戊拇撫无楙武毋無珷畝繆舞茂蕪誣貿霧鵡墨默們刎吻問文�".split("");for(a=0;a!=t[217].length;++a)if(t[217][a].charCodeAt(0)!==65533){r[t[217][a]]=55552+a;e[55552+a]=t[217][a]}t[218]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������汶紊紋聞蚊門雯勿沕物味媚尾嵋彌微未梶楣渼湄眉米美薇謎迷靡黴岷悶愍憫敏旻旼民泯玟珉緡閔密蜜謐剝博拍搏撲朴樸泊珀璞箔粕縛膊舶薄迫雹駁伴半反叛拌搬攀斑槃泮潘班畔瘢盤盼磐磻礬絆般蟠返頒飯勃拔撥渤潑�".split("");for(a=0;a!=t[218].length;++a)if(t[218][a].charCodeAt(0)!==65533){r[t[218][a]]=55808+a;e[55808+a]=t[218][a]}t[219]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������發跋醱鉢髮魃倣傍坊妨尨幇彷房放方旁昉枋榜滂磅紡肪膀舫芳蒡蚌訪謗邦防龐倍俳北培徘拜排杯湃焙盃背胚裴裵褙賠輩配陪伯佰帛柏栢白百魄幡樊煩燔番磻繁蕃藩飜伐筏罰閥凡帆梵氾汎泛犯範范法琺僻劈壁擘檗璧癖�".split("");for(a=0;a!=t[219].length;++a)if(t[219][a].charCodeAt(0)!==65533){r[t[219][a]]=56064+a;e[56064+a]=t[219][a]}t[220]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������碧蘗闢霹便卞弁變辨辯邊別瞥鱉鼈丙倂兵屛幷昞昺柄棅炳甁病秉竝輧餠騈保堡報寶普步洑湺潽珤甫菩補褓譜輔伏僕匐卜宓復服福腹茯蔔複覆輹輻馥鰒本乶俸奉封峯峰捧棒烽熢琫縫蓬蜂逢鋒鳳不付俯傅剖副否咐埠夫婦�".split("");for(a=0;a!=t[220].length;++a)if(t[220][a].charCodeAt(0)!==65533){r[t[220][a]]=56320+a;e[56320+a]=t[220][a]}t[221]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������孚孵富府復扶敷斧浮溥父符簿缶腐腑膚艀芙莩訃負賦賻赴趺部釜阜附駙鳧北分吩噴墳奔奮忿憤扮昐汾焚盆粉糞紛芬賁雰不佛弗彿拂崩朋棚硼繃鵬丕備匕匪卑妃婢庇悲憊扉批斐枇榧比毖毗毘沸泌琵痺砒碑秕秘粃緋翡肥�".split("");for(a=0;a!=t[221].length;++a)if(t[221][a].charCodeAt(0)!==65533){r[t[221][a]]=56576+a;e[56576+a]=t[221][a]}t[222]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������脾臂菲蜚裨誹譬費鄙非飛鼻嚬嬪彬斌檳殯浜濱瀕牝玭貧賓頻憑氷聘騁乍事些仕伺似使俟僿史司唆嗣四士奢娑寫寺射巳師徙思捨斜斯柶査梭死沙泗渣瀉獅砂社祀祠私篩紗絲肆舍莎蓑蛇裟詐詞謝賜赦辭邪飼駟麝削數朔索�".split("");for(a=0;a!=t[222].length;++a)if(t[222][a].charCodeAt(0)!==65533){r[t[222][a]]=56832+a;e[56832+a]=t[222][a]}t[223]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������傘刪山散汕珊産疝算蒜酸霰乷撒殺煞薩三參杉森渗芟蔘衫揷澁鈒颯上傷像償商喪嘗孀尙峠常床庠廂想桑橡湘爽牀狀相祥箱翔裳觴詳象賞霜塞璽賽嗇塞穡索色牲生甥省笙墅壻嶼序庶徐恕抒捿敍暑曙書栖棲犀瑞筮絮緖署�".split("");for(a=0;a!=t[223].length;++a)if(t[223][a].charCodeAt(0)!==65533){r[t[223][a]]=57088+a;e[57088+a]=t[223][a]}t[224]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������胥舒薯西誓逝鋤黍鼠夕奭席惜昔晳析汐淅潟石碩蓆釋錫仙僊先善嬋宣扇敾旋渲煽琁瑄璇璿癬禪線繕羨腺膳船蘚蟬詵跣選銑鐥饍鮮卨屑楔泄洩渫舌薛褻設說雪齧剡暹殲纖蟾贍閃陝攝涉燮葉城姓宬性惺成星晟猩珹盛省筬�".split("");for(a=0;a!=t[224].length;++a)if(t[224][a].charCodeAt(0)!==65533){r[t[224][a]]=57344+a;e[57344+a]=t[224][a]}t[225]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������聖聲腥誠醒世勢歲洗稅笹細說貰召嘯塑宵小少巢所掃搔昭梳沼消溯瀟炤燒甦疏疎瘙笑篠簫素紹蔬蕭蘇訴逍遡邵銷韶騷俗屬束涑粟續謖贖速孫巽損蓀遜飡率宋悚松淞訟誦送頌刷殺灑碎鎖衰釗修受嗽囚垂壽嫂守岫峀帥愁�".split("");for(a=0;a!=t[225].length;++a)if(t[225][a].charCodeAt(0)!==65533){r[t[225][a]]=57600+a;e[57600+a]=t[225][a]}t[226]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������戍手授搜收數樹殊水洙漱燧狩獸琇璲瘦睡秀穗竪粹綏綬繡羞脩茱蒐蓚藪袖誰讐輸遂邃酬銖銹隋隧隨雖需須首髓鬚叔塾夙孰宿淑潚熟琡璹肅菽巡徇循恂旬栒楯橓殉洵淳珣盾瞬筍純脣舜荀蓴蕣詢諄醇錞順馴戌術述鉥崇崧�".split("");for(a=0;a!=t[226].length;++a)if(t[226][a].charCodeAt(0)!==65533){r[t[226][a]]=57856+a;e[57856+a]=t[226][a]}t[227]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������嵩瑟膝蝨濕拾習褶襲丞乘僧勝升承昇繩蠅陞侍匙嘶始媤尸屎屍市弑恃施是時枾柴猜矢示翅蒔蓍視試詩諡豕豺埴寔式息拭植殖湜熄篒蝕識軾食飾伸侁信呻娠宸愼新晨燼申神紳腎臣莘薪藎蜃訊身辛辰迅失室實悉審尋心沁�".split("");for(a=0;a!=t[227].length;++a)if(t[227][a].charCodeAt(0)!==65533){r[t[227][a]]=58112+a;e[58112+a]=t[227][a]}t[228]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������沈深瀋甚芯諶什十拾雙氏亞俄兒啞娥峨我牙芽莪蛾衙訝阿雅餓鴉鵝堊岳嶽幄惡愕握樂渥鄂鍔顎鰐齷安岸按晏案眼雁鞍顔鮟斡謁軋閼唵岩巖庵暗癌菴闇壓押狎鴨仰央怏昻殃秧鴦厓哀埃崖愛曖涯碍艾隘靄厄扼掖液縊腋額�".split("");for(a=0;a!=t[228].length;++a)if(t[228][a].charCodeAt(0)!==65533){r[t[228][a]]=58368+a;e[58368+a]=t[228][a]}t[229]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������櫻罌鶯鸚也倻冶夜惹揶椰爺耶若野弱掠略約若葯蒻藥躍亮佯兩凉壤孃恙揚攘敭暘梁楊樣洋瀁煬痒瘍禳穰糧羊良襄諒讓釀陽量養圄御於漁瘀禦語馭魚齬億憶抑檍臆偃堰彦焉言諺孼蘖俺儼嚴奄掩淹嶪業円予余勵呂女如廬�".split("");for(a=0;a!=t[229].length;++a)if(t[229][a].charCodeAt(0)!==65533){r[t[229][a]]=58624+a;e[58624+a]=t[229][a]}t[230]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������旅歟汝濾璵礖礪與艅茹輿轝閭餘驪麗黎亦力域役易曆歷疫繹譯轢逆驛嚥堧姸娟宴年延憐戀捐挻撚椽沇沿涎涓淵演漣烟然煙煉燃燕璉硏硯秊筵緣練縯聯衍軟輦蓮連鉛鍊鳶列劣咽悅涅烈熱裂說閱厭廉念捻染殮炎焰琰艶苒�".split("");for(a=0;a!=t[230].length;++a)if(t[230][a].charCodeAt(0)!==65533){r[t[230][a]]=58880+a;e[58880+a]=t[230][a]}t[231]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������簾閻髥鹽曄獵燁葉令囹塋寧嶺嶸影怜映暎楹榮永泳渶潁濚瀛瀯煐營獰玲瑛瑩瓔盈穎纓羚聆英詠迎鈴鍈零霙靈領乂倪例刈叡曳汭濊猊睿穢芮藝蘂禮裔詣譽豫醴銳隸霓預五伍俉傲午吾吳嗚塢墺奧娛寤悟惡懊敖旿晤梧汚澳�".split("");for(a=0;a!=t[231].length;++a)if(t[231][a].charCodeAt(0)!==65533){r[t[231][a]]=59136+a;e[59136+a]=t[231][a]}t[232]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������烏熬獒筽蜈誤鰲鼇屋沃獄玉鈺溫瑥瘟穩縕蘊兀壅擁瓮甕癰翁邕雍饔渦瓦窩窪臥蛙蝸訛婉完宛梡椀浣玩琓琬碗緩翫脘腕莞豌阮頑曰往旺枉汪王倭娃歪矮外嵬巍猥畏了僚僥凹堯夭妖姚寥寮尿嶢拗搖撓擾料曜樂橈燎燿瑤療�".split("");for(a=0;a!=t[232].length;++a)if(t[232][a].charCodeAt(0)!==65533){r[t[232][a]]=59392+a;e[59392+a]=t[232][a]}t[233]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������窈窯繇繞耀腰蓼蟯要謠遙遼邀饒慾欲浴縟褥辱俑傭冗勇埇墉容庸慂榕涌湧溶熔瑢用甬聳茸蓉踊鎔鏞龍于佑偶優又友右宇寓尤愚憂旴牛玗瑀盂祐禑禹紆羽芋藕虞迂遇郵釪隅雨雩勖彧旭昱栯煜稶郁頊云暈橒殞澐熉耘芸蕓�".split("");for(a=0;a!=t[233].length;++a)if(t[233][a].charCodeAt(0)!==65533){r[t[233][a]]=59648+a;e[59648+a]=t[233][a]}t[234]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������運隕雲韻蔚鬱亐熊雄元原員圓園垣媛嫄寃怨愿援沅洹湲源爰猿瑗苑袁轅遠阮院願鴛月越鉞位偉僞危圍委威尉慰暐渭爲瑋緯胃萎葦蔿蝟衛褘謂違韋魏乳侑儒兪劉唯喩孺宥幼幽庾悠惟愈愉揄攸有杻柔柚柳楡楢油洧流游溜�".split("");for(a=0;a!=t[234].length;++a)if(t[234][a].charCodeAt(0)!==65533){r[t[234][a]]=59904+a;e[59904+a]=t[234][a]}t[235]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������濡猶猷琉瑜由留癒硫紐維臾萸裕誘諛諭踰蹂遊逾遺酉釉鍮類六堉戮毓肉育陸倫允奫尹崙淪潤玧胤贇輪鈗閏律慄栗率聿戎瀜絨融隆垠恩慇殷誾銀隱乙吟淫蔭陰音飮揖泣邑凝應膺鷹依倚儀宜意懿擬椅毅疑矣義艤薏蟻衣誼�".split("");for(a=0;a!=t[235].length;++a)if(t[235][a].charCodeAt(0)!==65533){r[t[235][a]]=60160+a;e[60160+a]=t[235][a]}t[236]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������議醫二以伊利吏夷姨履已弛彛怡易李梨泥爾珥理異痍痢移罹而耳肄苡荑裏裡貽貳邇里離飴餌匿溺瀷益翊翌翼謚人仁刃印吝咽因姻寅引忍湮燐璘絪茵藺蚓認隣靭靷鱗麟一佚佾壹日溢逸鎰馹任壬妊姙恁林淋稔臨荏賃入卄�".split("");for(a=0;a!=t[236].length;++a)if(t[236][a].charCodeAt(0)!==65533){r[t[236][a]]=60416+a;e[60416+a]=t[236][a]}t[237]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������立笠粒仍剩孕芿仔刺咨姉姿子字孜恣慈滋炙煮玆瓷疵磁紫者自茨蔗藉諮資雌作勺嚼斫昨灼炸爵綽芍酌雀鵲孱棧殘潺盞岑暫潛箴簪蠶雜丈仗匠場墻壯奬將帳庄張掌暲杖樟檣欌漿牆狀獐璋章粧腸臟臧莊葬蔣薔藏裝贓醬長�".split("");for(a=0;a!=t[237].length;++a)if(t[237][a].charCodeAt(0)!==65533){r[t[237][a]]=60672+a;e[60672+a]=t[237][a]}t[238]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������障再哉在宰才材栽梓渽滓災縡裁財載齋齎爭箏諍錚佇低儲咀姐底抵杵楮樗沮渚狙猪疽箸紵苧菹著藷詛貯躇這邸雎齟勣吊嫡寂摘敵滴狄炙的積笛籍績翟荻謫賊赤跡蹟迪迹適鏑佃佺傳全典前剪塡塼奠專展廛悛戰栓殿氈澱�".split("");for(a=0;a!=t[238].length;++a)if(t[238][a].charCodeAt(0)!==65533){r[t[238][a]]=60928+a;e[60928+a]=t[238][a]}t[239]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������煎琠田甸畑癲筌箋箭篆纏詮輾轉鈿銓錢鐫電顚顫餞切截折浙癤竊節絶占岾店漸点粘霑鮎點接摺蝶丁井亭停偵呈姃定幀庭廷征情挺政整旌晶晸柾楨檉正汀淀淨渟湞瀞炡玎珽町睛碇禎程穽精綎艇訂諪貞鄭酊釘鉦鋌錠霆靖�".split("");for(a=0;a!=t[239].length;++a)if(t[239][a].charCodeAt(0)!==65533){r[t[239][a]]=61184+a;e[61184+a]=t[239][a]}t[240]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������靜頂鼎制劑啼堤帝弟悌提梯濟祭第臍薺製諸蹄醍除際霽題齊俎兆凋助嘲弔彫措操早晁曺曹朝條棗槽漕潮照燥爪璪眺祖祚租稠窕粗糟組繰肇藻蚤詔調趙躁造遭釣阻雕鳥族簇足鏃存尊卒拙猝倧宗從悰慫棕淙琮種終綜縱腫�".split("");for(a=0;a!=t[240].length;++a)if(t[240][a].charCodeAt(0)!==65533){r[t[240][a]]=61440+a;e[61440+a]=t[240][a]}t[241]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������踪踵鍾鐘佐坐左座挫罪主住侏做姝胄呪周嗾奏宙州廚晝朱柱株注洲湊澍炷珠疇籌紂紬綢舟蛛註誅走躊輳週酎酒鑄駐竹粥俊儁准埈寯峻晙樽浚準濬焌畯竣蠢逡遵雋駿茁中仲衆重卽櫛楫汁葺增憎曾拯烝甑症繒蒸證贈之只�".split("");for(a=0;a!=t[241].length;++a)if(t[241][a].charCodeAt(0)!==65533){r[t[241][a]]=61696+a;e[61696+a]=t[241][a]}t[242]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������咫地址志持指摯支旨智枝枳止池沚漬知砥祉祗紙肢脂至芝芷蜘誌識贄趾遲直稙稷織職唇嗔塵振搢晉晋桭榛殄津溱珍瑨璡畛疹盡眞瞋秦縉縝臻蔯袗診賑軫辰進鎭陣陳震侄叱姪嫉帙桎瓆疾秩窒膣蛭質跌迭斟朕什執潗緝輯�".split("");for(a=0;a!=t[242].length;++a)if(t[242][a].charCodeAt(0)!==65533){r[t[242][a]]=61952+a;e[61952+a]=t[242][a]}t[243]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������鏶集徵懲澄且侘借叉嗟嵯差次此磋箚茶蹉車遮捉搾着窄錯鑿齪撰澯燦璨瓚竄簒纂粲纘讚贊鑽餐饌刹察擦札紮僭參塹慘慙懺斬站讒讖倉倡創唱娼廠彰愴敞昌昶暢槍滄漲猖瘡窓脹艙菖蒼債埰寀寨彩採砦綵菜蔡采釵冊柵策�".split("");for(a=0;a!=t[243].length;++a)if(t[243][a].charCodeAt(0)!==65533){r[t[243][a]]=62208+a;e[62208+a]=t[243][a]}t[244]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������責凄妻悽處倜刺剔尺慽戚拓擲斥滌瘠脊蹠陟隻仟千喘天川擅泉淺玔穿舛薦賤踐遷釧闡阡韆凸哲喆徹撤澈綴輟轍鐵僉尖沾添甛瞻簽籤詹諂堞妾帖捷牒疊睫諜貼輒廳晴淸聽菁請靑鯖切剃替涕滯締諦逮遞體初剿哨憔抄招梢�".split("");for(a=0;a!=t[244].length;++a)if(t[244][a].charCodeAt(0)!==65533){r[t[244][a]]=62464+a;e[62464+a]=t[244][a]}t[245]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������椒楚樵炒焦硝礁礎秒稍肖艸苕草蕉貂超酢醋醮促囑燭矗蜀觸寸忖村邨叢塚寵悤憁摠總聰蔥銃撮催崔最墜抽推椎楸樞湫皺秋芻萩諏趨追鄒酋醜錐錘鎚雛騶鰍丑畜祝竺筑築縮蓄蹙蹴軸逐春椿瑃出朮黜充忠沖蟲衝衷悴膵萃�".split("");for(a=0;a!=t[245].length;++a)if(t[245][a].charCodeAt(0)!==65533){r[t[245][a]]=62720+a;e[62720+a]=t[245][a]}t[246]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������贅取吹嘴娶就炊翠聚脆臭趣醉驟鷲側仄厠惻測層侈値嗤峙幟恥梔治淄熾痔痴癡稚穉緇緻置致蚩輜雉馳齒則勅飭親七柒漆侵寢枕沈浸琛砧針鍼蟄秤稱快他咤唾墮妥惰打拖朶楕舵陀馱駝倬卓啄坼度托拓擢晫柝濁濯琢琸託�".split("");for(a=0;a!=t[246].length;++a)if(t[246][a].charCodeAt(0)!==65533){r[t[246][a]]=62976+a;e[62976+a]=t[246][a]}t[247]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������鐸呑嘆坦彈憚歎灘炭綻誕奪脫探眈耽貪塔搭榻宕帑湯糖蕩兌台太怠態殆汰泰笞胎苔跆邰颱宅擇澤撑攄兎吐土討慟桶洞痛筒統通堆槌腿褪退頹偸套妬投透鬪慝特闖坡婆巴把播擺杷波派爬琶破罷芭跛頗判坂板版瓣販辦鈑�".split("");for(a=0;a!=t[247].length;++a)if(t[247][a].charCodeAt(0)!==65533){r[t[247][a]]=63232+a;e[63232+a]=t[247][a]}t[248]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������阪八叭捌佩唄悖敗沛浿牌狽稗覇貝彭澎烹膨愎便偏扁片篇編翩遍鞭騙貶坪平枰萍評吠嬖幣廢弊斃肺蔽閉陛佈包匍匏咆哺圃布怖抛抱捕暴泡浦疱砲胞脯苞葡蒲袍褒逋鋪飽鮑幅暴曝瀑爆輻俵剽彪慓杓標漂瓢票表豹飇飄驃�".split("");for(a=0;a!=t[248].length;++a)if(t[248][a].charCodeAt(0)!==65533){r[t[248][a]]=63488+a;e[63488+a]=t[248][a]}t[249]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������品稟楓諷豊風馮彼披疲皮被避陂匹弼必泌珌畢疋筆苾馝乏逼下何厦夏廈昰河瑕荷蝦賀遐霞鰕壑學虐謔鶴寒恨悍旱汗漢澣瀚罕翰閑閒限韓割轄函含咸啣喊檻涵緘艦銜陷鹹合哈盒蛤閤闔陜亢伉姮嫦巷恒抗杭桁沆港缸肛航�".split("");for(a=0;a!=t[249].length;++a)if(t[249][a].charCodeAt(0)!==65533){r[t[249][a]]=63744+a;e[63744+a]=t[249][a]}t[250]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������行降項亥偕咳垓奚孩害懈楷海瀣蟹解該諧邂駭骸劾核倖幸杏荇行享向嚮珦鄕響餉饗香噓墟虛許憲櫶獻軒歇險驗奕爀赫革俔峴弦懸晛泫炫玄玹現眩睍絃絢縣舷衒見賢鉉顯孑穴血頁嫌俠協夾峽挾浹狹脅脇莢鋏頰亨兄刑型�".split("");for(a=0;a!=t[250].length;++a)if(t[250][a].charCodeAt(0)!==65533){r[t[250][a]]=64e3+a;e[64e3+a]=t[250][a]}t[251]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������形泂滎瀅灐炯熒珩瑩荊螢衡逈邢鎣馨兮彗惠慧暳蕙蹊醯鞋乎互呼壕壺好岵弧戶扈昊晧毫浩淏湖滸澔濠濩灝狐琥瑚瓠皓祜糊縞胡芦葫蒿虎號蝴護豪鎬頀顥惑或酷婚昏混渾琿魂忽惚笏哄弘汞泓洪烘紅虹訌鴻化和嬅樺火畵�".split("");for(a=0;a!=t[251].length;++a)if(t[251][a].charCodeAt(0)!==65533){r[t[251][a]]=64256+a;e[64256+a]=t[251][a]}t[252]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������禍禾花華話譁貨靴廓擴攫確碻穫丸喚奐宦幻患換歡晥桓渙煥環紈還驩鰥活滑猾豁闊凰幌徨恍惶愰慌晃晄榥況湟滉潢煌璜皇篁簧荒蝗遑隍黃匯回廻徊恢悔懷晦會檜淮澮灰獪繪膾茴蛔誨賄劃獲宖橫鐄哮嚆孝效斅曉梟涍淆�".split("");for(a=0;a!=t[252].length;++a)if(t[252][a].charCodeAt(0)!==65533){r[t[252][a]]=64512+a;e[64512+a]=t[252][a]}t[253]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������爻肴酵驍侯候厚后吼喉嗅帿後朽煦珝逅勛勳塤壎焄熏燻薰訓暈薨喧暄煊萱卉喙毁彙徽揮暉煇諱輝麾休携烋畦虧恤譎鷸兇凶匈洶胸黑昕欣炘痕吃屹紇訖欠欽歆吸恰洽翕興僖凞喜噫囍姬嬉希憙憘戱晞曦熙熹熺犧禧稀羲詰�".split("");for(a=0;a!=t[253].length;++a)if(t[253][a].charCodeAt(0)!==65533){r[t[253][a]]=64768+a;e[64768+a]=t[253][a]}return{enc:r,dec:e}}();cptable[950]=function(){var e=[],r={},t=[],a;t[0]="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~��������������������������������������������������������������������������������������������������������������������������������".split("");for(a=0;a!=t[0].length;++a)if(t[0][a].charCodeAt(0)!==65533){r[t[0][a]]=0+a;e[0+a]=t[0][a]}t[161]="���������������������������������������������������������������� ,、。.‧;:?!︰…‥﹐﹑﹒·﹔﹕﹖﹗|–︱—︳╴︴﹏()︵︶{}︷︸〔〕︹︺【】︻︼《》︽︾〈〉︿﹀「」﹁﹂『』﹃﹄﹙﹚����������������������������������﹛﹜﹝﹞‘’“”〝〞‵′#&*※§〃○●△▲◎☆★◇◆□■▽▼㊣℅¯ ̄_ˍ﹉﹊﹍﹎﹋﹌﹟﹠﹡+-×÷±√<>=≦≧≠∞≒≡﹢﹣﹤﹥﹦~∩∪⊥∠∟⊿㏒㏑∫∮∵∴♀♂⊕⊙↑↓←→↖↗↙↘∥∣/�".split("");for(a=0;a!=t[161].length;++a)if(t[161][a].charCodeAt(0)!==65533){r[t[161][a]]=41216+a;e[41216+a]=t[161][a]}t[162]="����������������������������������������������������������������\∕﹨$¥〒¢£%@℃℉﹩﹪﹫㏕㎜㎝㎞㏎㎡㎎㎏㏄°兙兛兞兝兡兣嗧瓩糎▁▂▃▄▅▆▇█▏▎▍▌▋▊▉┼┴┬┤├▔─│▕┌┐└┘╭����������������������������������╮╰╯═╞╪╡◢◣◥◤╱╲╳0123456789ⅠⅡⅢⅣⅤⅥⅦⅧⅨⅩ〡〢〣〤〥〦〧〨〩十卄卅ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuv�".split("");for(a=0;a!=t[162].length;++a)if(t[162][a].charCodeAt(0)!==65533){r[t[162][a]]=41472+a;e[41472+a]=t[162][a]}t[163]="����������������������������������������������������������������wxyzΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρστυφχψωㄅㄆㄇㄈㄉㄊㄋㄌㄍㄎㄏ����������������������������������ㄐㄑㄒㄓㄔㄕㄖㄗㄘㄙㄚㄛㄜㄝㄞㄟㄠㄡㄢㄣㄤㄥㄦㄧㄨㄩ˙ˉˊˇˋ���������������������������������€������������������������������".split("");for(a=0;a!=t[163].length;++a)if(t[163][a].charCodeAt(0)!==65533){r[t[163][a]]=41728+a;e[41728+a]=t[163][a]}t[164]="����������������������������������������������������������������一乙丁七乃九了二人儿入八几刀刁力匕十卜又三下丈上丫丸凡久么也乞于亡兀刃勺千叉口土士夕大女子孑孓寸小尢尸山川工己已巳巾干廾弋弓才����������������������������������丑丐不中丰丹之尹予云井互五亢仁什仃仆仇仍今介仄元允內六兮公冗凶分切刈勻勾勿化匹午升卅卞厄友及反壬天夫太夭孔少尤尺屯巴幻廿弔引心戈戶手扎支文斗斤方日曰月木欠止歹毋比毛氏水火爪父爻片牙牛犬王丙�".split("");for(a=0;a!=t[164].length;++a)if(t[164][a].charCodeAt(0)!==65533){r[t[164][a]]=41984+a;e[41984+a]=t[164][a]}t[165]="����������������������������������������������������������������世丕且丘主乍乏乎以付仔仕他仗代令仙仞充兄冉冊冬凹出凸刊加功包匆北匝仟半卉卡占卯卮去可古右召叮叩叨叼司叵叫另只史叱台句叭叻四囚外����������������������������������央失奴奶孕它尼巨巧左市布平幼弁弘弗必戊打扔扒扑斥旦朮本未末札正母民氐永汁汀氾犯玄玉瓜瓦甘生用甩田由甲申疋白皮皿目矛矢石示禾穴立丞丟乒乓乩亙交亦亥仿伉伙伊伕伍伐休伏仲件任仰仳份企伋光兇兆先全�".split("");for(a=0;a!=t[165].length;++a)if(t[165][a].charCodeAt(0)!==65533){r[t[165][a]]=42240+a;e[42240+a]=t[165][a]}t[166]="����������������������������������������������������������������共再冰列刑划刎刖劣匈匡匠印危吉吏同吊吐吁吋各向名合吃后吆吒因回囝圳地在圭圬圯圩夙多夷夸妄奸妃好她如妁字存宇守宅安寺尖屹州帆并年����������������������������������式弛忙忖戎戌戍成扣扛托收早旨旬旭曲曳有朽朴朱朵次此死氖汝汗汙江池汐汕污汛汍汎灰牟牝百竹米糸缶羊羽老考而耒耳聿肉肋肌臣自至臼舌舛舟艮色艾虫血行衣西阡串亨位住佇佗佞伴佛何估佐佑伽伺伸佃佔似但佣�".split("");for(a=0;a!=t[166].length;++a)if(t[166][a].charCodeAt(0)!==65533){r[t[166][a]]=42496+a;e[42496+a]=t[166][a]}t[167]="����������������������������������������������������������������作你伯低伶余佝佈佚兌克免兵冶冷別判利刪刨劫助努劬匣即卵吝吭吞吾否呎吧呆呃吳呈呂君吩告吹吻吸吮吵吶吠吼呀吱含吟听囪困囤囫坊坑址坍����������������������������������均坎圾坐坏圻壯夾妝妒妨妞妣妙妖妍妤妓妊妥孝孜孚孛完宋宏尬局屁尿尾岐岑岔岌巫希序庇床廷弄弟彤形彷役忘忌志忍忱快忸忪戒我抄抗抖技扶抉扭把扼找批扳抒扯折扮投抓抑抆改攻攸旱更束李杏材村杜杖杞杉杆杠�".split("");for(a=0;a!=t[167].length;++a)if(t[167][a].charCodeAt(0)!==65533){r[t[167][a]]=42752+a;e[42752+a]=t[167][a]}t[168]="����������������������������������������������������������������杓杗步每求汞沙沁沈沉沅沛汪決沐汰沌汨沖沒汽沃汲汾汴沆汶沍沔沘沂灶灼災灸牢牡牠狄狂玖甬甫男甸皂盯矣私秀禿究系罕肖肓肝肘肛肚育良芒����������������������������������芋芍見角言谷豆豕貝赤走足身車辛辰迂迆迅迄巡邑邢邪邦那酉釆里防阮阱阪阬並乖乳事些亞享京佯依侍佳使佬供例來侃佰併侈佩佻侖佾侏侑佺兔兒兕兩具其典冽函刻券刷刺到刮制剁劾劻卒協卓卑卦卷卸卹取叔受味呵�".split("");for(a=0;a!=t[168].length;++a)if(t[168][a].charCodeAt(0)!==65533){r[t[168][a]]=43008+a;e[43008+a]=t[168][a]}t[169]="����������������������������������������������������������������咖呸咕咀呻呷咄咒咆呼咐呱呶和咚呢周咋命咎固垃坷坪坩坡坦坤坼夜奉奇奈奄奔妾妻委妹妮姑姆姐姍始姓姊妯妳姒姅孟孤季宗定官宜宙宛尚屈居����������������������������������屆岷岡岸岩岫岱岳帘帚帖帕帛帑幸庚店府底庖延弦弧弩往征彿彼忝忠忽念忿怏怔怯怵怖怪怕怡性怩怫怛或戕房戾所承拉拌拄抿拂抹拒招披拓拔拋拈抨抽押拐拙拇拍抵拚抱拘拖拗拆抬拎放斧於旺昔易昌昆昂明昀昏昕昊�".split("");for(a=0;a!=t[169].length;++a)if(t[169][a].charCodeAt(0)!==65533){r[t[169][a]]=43264+a;e[43264+a]=t[169][a]}t[170]="����������������������������������������������������������������昇服朋杭枋枕東果杳杷枇枝林杯杰板枉松析杵枚枓杼杪杲欣武歧歿氓氛泣注泳沱泌泥河沽沾沼波沫法泓沸泄油況沮泗泅泱沿治泡泛泊沬泯泜泖泠����������������������������������炕炎炒炊炙爬爭爸版牧物狀狎狙狗狐玩玨玟玫玥甽疝疙疚的盂盲直知矽社祀祁秉秈空穹竺糾罔羌羋者肺肥肢肱股肫肩肴肪肯臥臾舍芳芝芙芭芽芟芹花芬芥芯芸芣芰芾芷虎虱初表軋迎返近邵邸邱邶采金長門阜陀阿阻附�".split("");for(a=0;a!=t[170].length;++a)if(t[170][a].charCodeAt(0)!==65533){r[t[170][a]]=43520+a;e[43520+a]=t[170][a]}t[171]="����������������������������������������������������������������陂隹雨青非亟亭亮信侵侯便俠俑俏保促侶俘俟俊俗侮俐俄係俚俎俞侷兗冒冑冠剎剃削前剌剋則勇勉勃勁匍南卻厚叛咬哀咨哎哉咸咦咳哇哂咽咪品����������������������������������哄哈咯咫咱咻咩咧咿囿垂型垠垣垢城垮垓奕契奏奎奐姜姘姿姣姨娃姥姪姚姦威姻孩宣宦室客宥封屎屏屍屋峙峒巷帝帥帟幽庠度建弈弭彥很待徊律徇後徉怒思怠急怎怨恍恰恨恢恆恃恬恫恪恤扁拜挖按拼拭持拮拽指拱拷�".split("");for(a=0;a!=t[171].length;++a)if(t[171][a].charCodeAt(0)!==65533){r[t[171][a]]=43776+a;e[43776+a]=t[171][a]}t[172]="����������������������������������������������������������������拯括拾拴挑挂政故斫施既春昭映昧是星昨昱昤曷柿染柱柔某柬架枯柵柩柯柄柑枴柚查枸柏柞柳枰柙柢柝柒歪殃殆段毒毗氟泉洋洲洪流津洌洱洞洗����������������������������������活洽派洶洛泵洹洧洸洩洮洵洎洫炫為炳炬炯炭炸炮炤爰牲牯牴狩狠狡玷珊玻玲珍珀玳甚甭畏界畎畋疫疤疥疢疣癸皆皇皈盈盆盃盅省盹相眉看盾盼眇矜砂研砌砍祆祉祈祇禹禺科秒秋穿突竿竽籽紂紅紀紉紇約紆缸美羿耄�".split("");for(a=0;a!=t[172].length;++a)if(t[172][a].charCodeAt(0)!==65533){r[t[172][a]]=44032+a;e[44032+a]=t[172][a]}t[173]="����������������������������������������������������������������耐耍耑耶胖胥胚胃胄背胡胛胎胞胤胝致舢苧范茅苣苛苦茄若茂茉苒苗英茁苜苔苑苞苓苟苯茆虐虹虻虺衍衫要觔計訂訃貞負赴赳趴軍軌述迦迢迪迥����������������������������������迭迫迤迨郊郎郁郃酋酊重閂限陋陌降面革韋韭音頁風飛食首香乘亳倌倍倣俯倦倥俸倩倖倆值借倚倒們俺倀倔倨俱倡個候倘俳修倭倪俾倫倉兼冤冥冢凍凌准凋剖剜剔剛剝匪卿原厝叟哨唐唁唷哼哥哲唆哺唔哩哭員唉哮哪�".split("");for(a=0;a!=t[173].length;++a)if(t[173][a].charCodeAt(0)!==65533){r[t[173][a]]=44288+a;e[44288+a]=t[173][a]}t[174]="����������������������������������������������������������������哦唧唇哽唏圃圄埂埔埋埃堉夏套奘奚娑娘娜娟娛娓姬娠娣娩娥娌娉孫屘宰害家宴宮宵容宸射屑展屐峭峽峻峪峨峰島崁峴差席師庫庭座弱徒徑徐恙����������������������������������恣恥恐恕恭恩息悄悟悚悍悔悌悅悖扇拳挈拿捎挾振捕捂捆捏捉挺捐挽挪挫挨捍捌效敉料旁旅時晉晏晃晒晌晅晁書朔朕朗校核案框桓根桂桔栩梳栗桌桑栽柴桐桀格桃株桅栓栘桁殊殉殷氣氧氨氦氤泰浪涕消涇浦浸海浙涓�".split("");for(a=0;a!=t[174].length;++a)if(t[174][a].charCodeAt(0)!==65533){r[t[174][a]]=44544+a;e[44544+a]=t[174][a]}t[175]="����������������������������������������������������������������浬涉浮浚浴浩涌涊浹涅浥涔烊烘烤烙烈烏爹特狼狹狽狸狷玆班琉珮珠珪珞畔畝畜畚留疾病症疲疳疽疼疹痂疸皋皰益盍盎眩真眠眨矩砰砧砸砝破砷����������������������������������砥砭砠砟砲祕祐祠祟祖神祝祗祚秤秣秧租秦秩秘窄窈站笆笑粉紡紗紋紊素索純紐紕級紜納紙紛缺罟羔翅翁耆耘耕耙耗耽耿胱脂胰脅胭胴脆胸胳脈能脊胼胯臭臬舀舐航舫舨般芻茫荒荔荊茸荐草茵茴荏茲茹茶茗荀茱茨荃�".split("");for(a=0;a!=t[175].length;++a)if(t[175][a].charCodeAt(0)!==65533){r[t[175][a]]=44800+a;e[44800+a]=t[175][a]}t[176]="����������������������������������������������������������������虔蚊蚪蚓蚤蚩蚌蚣蚜衰衷袁袂衽衹記訐討訌訕訊託訓訖訏訑豈豺豹財貢起躬軒軔軏辱送逆迷退迺迴逃追逅迸邕郡郝郢酒配酌釘針釗釜釙閃院陣陡����������������������������������陛陝除陘陞隻飢馬骨高鬥鬲鬼乾偺偽停假偃偌做偉健偶偎偕偵側偷偏倏偯偭兜冕凰剪副勒務勘動匐匏匙匿區匾參曼商啪啦啄啞啡啃啊唱啖問啕唯啤唸售啜唬啣唳啁啗圈國圉域堅堊堆埠埤基堂堵執培夠奢娶婁婉婦婪婀�".split("");for(a=0;a!=t[176].length;++a)if(t[176][a].charCodeAt(0)!==65533){r[t[176][a]]=45056+a;e[45056+a]=t[176][a]}t[177]="����������������������������������������������������������������娼婢婚婆婊孰寇寅寄寂宿密尉專將屠屜屝崇崆崎崛崖崢崑崩崔崙崤崧崗巢常帶帳帷康庸庶庵庾張強彗彬彩彫得徙從徘御徠徜恿患悉悠您惋悴惦悽����������������������������������情悻悵惜悼惘惕惆惟悸惚惇戚戛扈掠控捲掖探接捷捧掘措捱掩掉掃掛捫推掄授掙採掬排掏掀捻捩捨捺敝敖救教敗啟敏敘敕敔斜斛斬族旋旌旎晝晚晤晨晦晞曹勗望梁梯梢梓梵桿桶梱梧梗械梃棄梭梆梅梔條梨梟梡梂欲殺�".split("");for(a=0;a!=t[177].length;++a)if(t[177][a].charCodeAt(0)!==65533){r[t[177][a]]=45312+a;e[45312+a]=t[177][a]}t[178]="����������������������������������������������������������������毫毬氫涎涼淳淙液淡淌淤添淺清淇淋涯淑涮淞淹涸混淵淅淒渚涵淚淫淘淪深淮淨淆淄涪淬涿淦烹焉焊烽烯爽牽犁猜猛猖猓猙率琅琊球理現琍瓠瓶����������������������������������瓷甜產略畦畢異疏痔痕疵痊痍皎盔盒盛眷眾眼眶眸眺硫硃硎祥票祭移窒窕笠笨笛第符笙笞笮粒粗粕絆絃統紮紹紼絀細紳組累終紲紱缽羞羚翌翎習耜聊聆脯脖脣脫脩脰脤舂舵舷舶船莎莞莘荸莢莖莽莫莒莊莓莉莠荷荻荼�".split("");for(a=0;a!=t[178].length;++a)if(t[178][a].charCodeAt(0)!==65533){r[t[178][a]]=45568+a;e[45568+a]=t[178][a]}t[179]="����������������������������������������������������������������莆莧處彪蛇蛀蚶蛄蚵蛆蛋蚱蚯蛉術袞袈被袒袖袍袋覓規訪訝訣訥許設訟訛訢豉豚販責貫貨貪貧赧赦趾趺軛軟這逍通逗連速逝逐逕逞造透逢逖逛途����������������������������������部郭都酗野釵釦釣釧釭釩閉陪陵陳陸陰陴陶陷陬雀雪雩章竟頂頃魚鳥鹵鹿麥麻傢傍傅備傑傀傖傘傚最凱割剴創剩勞勝勛博厥啻喀喧啼喊喝喘喂喜喪喔喇喋喃喳單喟唾喲喚喻喬喱啾喉喫喙圍堯堪場堤堰報堡堝堠壹壺奠�".split("");for(a=0;a!=t[179].length;++a)if(t[179][a].charCodeAt(0)!==65533){r[t[179][a]]=45824+a;e[45824+a]=t[179][a]}t[180]="����������������������������������������������������������������婷媚婿媒媛媧孳孱寒富寓寐尊尋就嵌嵐崴嵇巽幅帽幀幃幾廊廁廂廄弼彭復循徨惑惡悲悶惠愜愣惺愕惰惻惴慨惱愎惶愉愀愒戟扉掣掌描揀揩揉揆揍����������������������������������插揣提握揖揭揮捶援揪換摒揚揹敞敦敢散斑斐斯普晰晴晶景暑智晾晷曾替期朝棺棕棠棘棗椅棟棵森棧棹棒棲棣棋棍植椒椎棉棚楮棻款欺欽殘殖殼毯氮氯氬港游湔渡渲湧湊渠渥渣減湛湘渤湖湮渭渦湯渴湍渺測湃渝渾滋�".split("");for(a=0;a!=t[180].length;++a)if(t[180][a].charCodeAt(0)!==65533){r[t[180][a]]=46080+a;e[46080+a]=t[180][a]}t[181]="����������������������������������������������������������������溉渙湎湣湄湲湩湟焙焚焦焰無然煮焜牌犄犀猶猥猴猩琺琪琳琢琥琵琶琴琯琛琦琨甥甦畫番痢痛痣痙痘痞痠登發皖皓皴盜睏短硝硬硯稍稈程稅稀窘����������������������������������窗窖童竣等策筆筐筒答筍筋筏筑粟粥絞結絨絕紫絮絲絡給絢絰絳善翔翕耋聒肅腕腔腋腑腎脹腆脾腌腓腴舒舜菩萃菸萍菠菅萋菁華菱菴著萊菰萌菌菽菲菊萸萎萄菜萇菔菟虛蛟蛙蛭蛔蛛蛤蛐蛞街裁裂袱覃視註詠評詞証詁�".split("");for(a=0;a!=t[181].length;++a)if(t[181][a].charCodeAt(0)!==65533){r[t[181][a]]=46336+a;e[46336+a]=t[181][a]}t[182]="����������������������������������������������������������������詔詛詐詆訴診訶詖象貂貯貼貳貽賁費賀貴買貶貿貸越超趁跎距跋跚跑跌跛跆軻軸軼辜逮逵週逸進逶鄂郵鄉郾酣酥量鈔鈕鈣鈉鈞鈍鈐鈇鈑閔閏開閑����������������������������������間閒閎隊階隋陽隅隆隍陲隄雁雅雄集雇雯雲韌項順須飧飪飯飩飲飭馮馭黃黍黑亂傭債傲傳僅傾催傷傻傯僇剿剷剽募勦勤勢勣匯嗟嗨嗓嗦嗎嗜嗇嗑嗣嗤嗯嗚嗡嗅嗆嗥嗉園圓塞塑塘塗塚塔填塌塭塊塢塒塋奧嫁嫉嫌媾媽媼�".split("");for(a=0;a!=t[182].length;++a)if(t[182][a].charCodeAt(0)!==65533){r[t[182][a]]=46592+a;e[46592+a]=t[182][a]}t[183]="����������������������������������������������������������������媳嫂媲嵩嵯幌幹廉廈弒彙徬微愚意慈感想愛惹愁愈慎慌慄慍愾愴愧愍愆愷戡戢搓搾搞搪搭搽搬搏搜搔損搶搖搗搆敬斟新暗暉暇暈暖暄暘暍會榔業����������������������������������楚楷楠楔極椰概楊楨楫楞楓楹榆楝楣楛歇歲毀殿毓毽溢溯滓溶滂源溝滇滅溥溘溼溺溫滑準溜滄滔溪溧溴煎煙煩煤煉照煜煬煦煌煥煞煆煨煖爺牒猷獅猿猾瑯瑚瑕瑟瑞瑁琿瑙瑛瑜當畸瘀痰瘁痲痱痺痿痴痳盞盟睛睫睦睞督�".split("");for(a=0;a!=t[183].length;++a)if(t[183][a].charCodeAt(0)!==65533){r[t[183][a]]=46848+a;e[46848+a]=t[183][a]}t[184]="����������������������������������������������������������������睹睪睬睜睥睨睢矮碎碰碗碘碌碉硼碑碓硿祺祿禁萬禽稜稚稠稔稟稞窟窠筷節筠筮筧粱粳粵經絹綑綁綏絛置罩罪署義羨群聖聘肆肄腱腰腸腥腮腳腫����������������������������������腹腺腦舅艇蒂葷落萱葵葦葫葉葬葛萼萵葡董葩葭葆虞虜號蛹蜓蜈蜇蜀蛾蛻蜂蜃蜆蜊衙裟裔裙補裘裝裡裊裕裒覜解詫該詳試詩詰誇詼詣誠話誅詭詢詮詬詹詻訾詨豢貊貉賊資賈賄貲賃賂賅跡跟跨路跳跺跪跤跦躲較載軾輊�".split(""); +for(a=0;a!=t[184].length;++a)if(t[184][a].charCodeAt(0)!==65533){r[t[184][a]]=47104+a;e[47104+a]=t[184][a]}t[185]="����������������������������������������������������������������辟農運遊道遂達逼違遐遇遏過遍遑逾遁鄒鄗酬酪酩釉鈷鉗鈸鈽鉀鈾鉛鉋鉤鉑鈴鉉鉍鉅鈹鈿鉚閘隘隔隕雍雋雉雊雷電雹零靖靴靶預頑頓頊頒頌飼飴����������������������������������飽飾馳馱馴髡鳩麂鼎鼓鼠僧僮僥僖僭僚僕像僑僱僎僩兢凳劃劂匱厭嗾嘀嘛嘗嗽嘔嘆嘉嘍嘎嗷嘖嘟嘈嘐嗶團圖塵塾境墓墊塹墅塽壽夥夢夤奪奩嫡嫦嫩嫗嫖嫘嫣孵寞寧寡寥實寨寢寤察對屢嶄嶇幛幣幕幗幔廓廖弊彆彰徹慇�".split("");for(a=0;a!=t[185].length;++a)if(t[185][a].charCodeAt(0)!==65533){r[t[185][a]]=47360+a;e[47360+a]=t[185][a]}t[186]="����������������������������������������������������������������愿態慷慢慣慟慚慘慵截撇摘摔撤摸摟摺摑摧搴摭摻敲斡旗旖暢暨暝榜榨榕槁榮槓構榛榷榻榫榴槐槍榭槌榦槃榣歉歌氳漳演滾漓滴漩漾漠漬漏漂漢����������������������������������滿滯漆漱漸漲漣漕漫漯澈漪滬漁滲滌滷熔熙煽熊熄熒爾犒犖獄獐瑤瑣瑪瑰瑭甄疑瘧瘍瘋瘉瘓盡監瞄睽睿睡磁碟碧碳碩碣禎福禍種稱窪窩竭端管箕箋筵算箝箔箏箸箇箄粹粽精綻綰綜綽綾綠緊綴網綱綺綢綿綵綸維緒緇綬�".split("");for(a=0;a!=t[186].length;++a)if(t[186][a].charCodeAt(0)!==65533){r[t[186][a]]=47616+a;e[47616+a]=t[186][a]}t[187]="����������������������������������������������������������������罰翠翡翟聞聚肇腐膀膏膈膊腿膂臧臺與舔舞艋蓉蒿蓆蓄蒙蒞蒲蒜蓋蒸蓀蓓蒐蒼蓑蓊蜿蜜蜻蜢蜥蜴蜘蝕蜷蜩裳褂裴裹裸製裨褚裯誦誌語誣認誡誓誤����������������������������������說誥誨誘誑誚誧豪貍貌賓賑賒赫趙趕跼輔輒輕輓辣遠遘遜遣遙遞遢遝遛鄙鄘鄞酵酸酷酴鉸銀銅銘銖鉻銓銜銨鉼銑閡閨閩閣閥閤隙障際雌雒需靼鞅韶頗領颯颱餃餅餌餉駁骯骰髦魁魂鳴鳶鳳麼鼻齊億儀僻僵價儂儈儉儅凜�".split("");for(a=0;a!=t[187].length;++a)if(t[187][a].charCodeAt(0)!==65533){r[t[187][a]]=47872+a;e[47872+a]=t[187][a]}t[188]="����������������������������������������������������������������劇劈劉劍劊勰厲嘮嘻嘹嘲嘿嘴嘩噓噎噗噴嘶嘯嘰墀墟增墳墜墮墩墦奭嬉嫻嬋嫵嬌嬈寮寬審寫層履嶝嶔幢幟幡廢廚廟廝廣廠彈影德徵慶慧慮慝慕憂����������������������������������慼慰慫慾憧憐憫憎憬憚憤憔憮戮摩摯摹撞撲撈撐撰撥撓撕撩撒撮播撫撚撬撙撢撳敵敷數暮暫暴暱樣樟槨樁樞標槽模樓樊槳樂樅槭樑歐歎殤毅毆漿潼澄潑潦潔澆潭潛潸潮澎潺潰潤澗潘滕潯潠潟熟熬熱熨牖犛獎獗瑩璋璃�".split("");for(a=0;a!=t[188].length;++a)if(t[188][a].charCodeAt(0)!==65533){r[t[188][a]]=48128+a;e[48128+a]=t[188][a]}t[189]="����������������������������������������������������������������瑾璀畿瘠瘩瘟瘤瘦瘡瘢皚皺盤瞎瞇瞌瞑瞋磋磅確磊碾磕碼磐稿稼穀稽稷稻窯窮箭箱範箴篆篇篁箠篌糊締練緯緻緘緬緝編緣線緞緩綞緙緲緹罵罷羯����������������������������������翩耦膛膜膝膠膚膘蔗蔽蔚蓮蔬蔭蔓蔑蔣蔡蔔蓬蔥蓿蔆螂蝴蝶蝠蝦蝸蝨蝙蝗蝌蝓衛衝褐複褒褓褕褊誼諒談諄誕請諸課諉諂調誰論諍誶誹諛豌豎豬賠賞賦賤賬賭賢賣賜質賡赭趟趣踫踐踝踢踏踩踟踡踞躺輝輛輟輩輦輪輜輞�".split("");for(a=0;a!=t[189].length;++a)if(t[189][a].charCodeAt(0)!==65533){r[t[189][a]]=48384+a;e[48384+a]=t[189][a]}t[190]="����������������������������������������������������������������輥適遮遨遭遷鄰鄭鄧鄱醇醉醋醃鋅銻銷鋪銬鋤鋁銳銼鋒鋇鋰銲閭閱霄霆震霉靠鞍鞋鞏頡頫頜颳養餓餒餘駝駐駟駛駑駕駒駙骷髮髯鬧魅魄魷魯鴆鴉����������������������������������鴃麩麾黎墨齒儒儘儔儐儕冀冪凝劑劓勳噙噫噹噩噤噸噪器噥噱噯噬噢噶壁墾壇壅奮嬝嬴學寰導彊憲憑憩憊懍憶憾懊懈戰擅擁擋撻撼據擄擇擂操撿擒擔撾整曆曉暹曄曇暸樽樸樺橙橫橘樹橄橢橡橋橇樵機橈歙歷氅濂澱澡�".split("");for(a=0;a!=t[190].length;++a)if(t[190][a].charCodeAt(0)!==65533){r[t[190][a]]=48640+a;e[48640+a]=t[190][a]}t[191]="����������������������������������������������������������������濃澤濁澧澳激澹澶澦澠澴熾燉燐燒燈燕熹燎燙燜燃燄獨璜璣璘璟璞瓢甌甍瘴瘸瘺盧盥瞠瞞瞟瞥磨磚磬磧禦積穎穆穌穋窺篙簑築篤篛篡篩篦糕糖縊����������������������������������縑縈縛縣縞縝縉縐罹羲翰翱翮耨膳膩膨臻興艘艙蕊蕙蕈蕨蕩蕃蕉蕭蕪蕞螃螟螞螢融衡褪褲褥褫褡親覦諦諺諫諱謀諜諧諮諾謁謂諷諭諳諶諼豫豭貓賴蹄踱踴蹂踹踵輻輯輸輳辨辦遵遴選遲遼遺鄴醒錠錶鋸錳錯錢鋼錫錄錚�".split("");for(a=0;a!=t[191].length;++a)if(t[191][a].charCodeAt(0)!==65533){r[t[191][a]]=48896+a;e[48896+a]=t[191][a]}t[192]="����������������������������������������������������������������錐錦錡錕錮錙閻隧隨險雕霎霑霖霍霓霏靛靜靦鞘頰頸頻頷頭頹頤餐館餞餛餡餚駭駢駱骸骼髻髭鬨鮑鴕鴣鴦鴨鴒鴛默黔龍龜優償儡儲勵嚎嚀嚐嚅嚇����������������������������������嚏壕壓壑壎嬰嬪嬤孺尷屨嶼嶺嶽嶸幫彌徽應懂懇懦懋戲戴擎擊擘擠擰擦擬擱擢擭斂斃曙曖檀檔檄檢檜櫛檣橾檗檐檠歜殮毚氈濘濱濟濠濛濤濫濯澀濬濡濩濕濮濰燧營燮燦燥燭燬燴燠爵牆獰獲璩環璦璨癆療癌盪瞳瞪瞰瞬�".split("");for(a=0;a!=t[192].length;++a)if(t[192][a].charCodeAt(0)!==65533){r[t[192][a]]=49152+a;e[49152+a]=t[192][a]}t[193]="����������������������������������������������������������������瞧瞭矯磷磺磴磯礁禧禪穗窿簇簍篾篷簌篠糠糜糞糢糟糙糝縮績繆縷縲繃縫總縱繅繁縴縹繈縵縿縯罄翳翼聱聲聰聯聳臆臃膺臂臀膿膽臉膾臨舉艱薪����������������������������������薄蕾薜薑薔薯薛薇薨薊虧蟀蟑螳蟒蟆螫螻螺蟈蟋褻褶襄褸褽覬謎謗謙講謊謠謝謄謐豁谿豳賺賽購賸賻趨蹉蹋蹈蹊轄輾轂轅輿避遽還邁邂邀鄹醣醞醜鍍鎂錨鍵鍊鍥鍋錘鍾鍬鍛鍰鍚鍔闊闋闌闈闆隱隸雖霜霞鞠韓顆颶餵騁�".split("");for(a=0;a!=t[193].length;++a)if(t[193][a].charCodeAt(0)!==65533){r[t[193][a]]=49408+a;e[49408+a]=t[193][a]}t[194]="����������������������������������������������������������������駿鮮鮫鮪鮭鴻鴿麋黏點黜黝黛鼾齋叢嚕嚮壙壘嬸彝懣戳擴擲擾攆擺擻擷斷曜朦檳檬櫃檻檸櫂檮檯歟歸殯瀉瀋濾瀆濺瀑瀏燻燼燾燸獷獵璧璿甕癖癘����������������������������������癒瞽瞿瞻瞼礎禮穡穢穠竄竅簫簧簪簞簣簡糧織繕繞繚繡繒繙罈翹翻職聶臍臏舊藏薩藍藐藉薰薺薹薦蟯蟬蟲蟠覆覲觴謨謹謬謫豐贅蹙蹣蹦蹤蹟蹕軀轉轍邇邃邈醫醬釐鎔鎊鎖鎢鎳鎮鎬鎰鎘鎚鎗闔闖闐闕離雜雙雛雞霤鞣鞦�".split("");for(a=0;a!=t[194].length;++a)if(t[194][a].charCodeAt(0)!==65533){r[t[194][a]]=49664+a;e[49664+a]=t[194][a]}t[195]="����������������������������������������������������������������鞭韹額顏題顎顓颺餾餿餽餮馥騎髁鬃鬆魏魎魍鯊鯉鯽鯈鯀鵑鵝鵠黠鼕鼬儳嚥壞壟壢寵龐廬懲懷懶懵攀攏曠曝櫥櫝櫚櫓瀛瀟瀨瀚瀝瀕瀘爆爍牘犢獸����������������������������������獺璽瓊瓣疇疆癟癡矇礙禱穫穩簾簿簸簽簷籀繫繭繹繩繪羅繳羶羹羸臘藩藝藪藕藤藥藷蟻蠅蠍蟹蟾襠襟襖襞譁譜識證譚譎譏譆譙贈贊蹼蹲躇蹶蹬蹺蹴轔轎辭邊邋醱醮鏡鏑鏟鏃鏈鏜鏝鏖鏢鏍鏘鏤鏗鏨關隴難霪霧靡韜韻類�".split("");for(a=0;a!=t[195].length;++a)if(t[195][a].charCodeAt(0)!==65533){r[t[195][a]]=49920+a;e[49920+a]=t[195][a]}t[196]="����������������������������������������������������������������願顛颼饅饉騖騙鬍鯨鯧鯖鯛鶉鵡鵲鵪鵬麒麗麓麴勸嚨嚷嚶嚴嚼壤孀孃孽寶巉懸懺攘攔攙曦朧櫬瀾瀰瀲爐獻瓏癢癥礦礪礬礫竇競籌籃籍糯糰辮繽繼����������������������������������纂罌耀臚艦藻藹蘑藺蘆蘋蘇蘊蠔蠕襤覺觸議譬警譯譟譫贏贍躉躁躅躂醴釋鐘鐃鏽闡霰飄饒饑馨騫騰騷騵鰓鰍鹹麵黨鼯齟齣齡儷儸囁囀囂夔屬巍懼懾攝攜斕曩櫻欄櫺殲灌爛犧瓖瓔癩矓籐纏續羼蘗蘭蘚蠣蠢蠡蠟襪襬覽譴�".split("");for(a=0;a!=t[196].length;++a)if(t[196][a].charCodeAt(0)!==65533){r[t[196][a]]=50176+a;e[50176+a]=t[196][a]}t[197]="����������������������������������������������������������������護譽贓躊躍躋轟辯醺鐮鐳鐵鐺鐸鐲鐫闢霸霹露響顧顥饗驅驃驀騾髏魔魑鰭鰥鶯鶴鷂鶸麝黯鼙齜齦齧儼儻囈囊囉孿巔巒彎懿攤權歡灑灘玀瓤疊癮癬����������������������������������禳籠籟聾聽臟襲襯觼讀贖贗躑躓轡酈鑄鑑鑒霽霾韃韁顫饕驕驍髒鬚鱉鰱鰾鰻鷓鷗鼴齬齪龔囌巖戀攣攫攪曬欐瓚竊籤籣籥纓纖纔臢蘸蘿蠱變邐邏鑣鑠鑤靨顯饜驚驛驗髓體髑鱔鱗鱖鷥麟黴囑壩攬灞癱癲矗罐羈蠶蠹衢讓讒�".split("");for(a=0;a!=t[197].length;++a)if(t[197][a].charCodeAt(0)!==65533){r[t[197][a]]=50432+a;e[50432+a]=t[197][a]}t[198]="����������������������������������������������������������������讖艷贛釀鑪靂靈靄韆顰驟鬢魘鱟鷹鷺鹼鹽鼇齷齲廳欖灣籬籮蠻觀躡釁鑲鑰顱饞髖鬣黌灤矚讚鑷韉驢驥纜讜躪釅鑽鑾鑼鱷鱸黷豔鑿鸚爨驪鬱鸛鸞籲���������������������������������������������������������������������������������������������������������������������������������".split("");for(a=0;a!=t[198].length;++a)if(t[198][a].charCodeAt(0)!==65533){r[t[198][a]]=50688+a;e[50688+a]=t[198][a]}t[201]="����������������������������������������������������������������乂乜凵匚厂万丌乇亍囗兀屮彳丏冇与丮亓仂仉仈冘勼卬厹圠夃夬尐巿旡殳毌气爿丱丼仨仜仩仡仝仚刌匜卌圢圣夗夯宁宄尒尻屴屳帄庀庂忉戉扐氕����������������������������������氶汃氿氻犮犰玊禸肊阞伎优伬仵伔仱伀价伈伝伂伅伢伓伄仴伒冱刓刉刐劦匢匟卍厊吇囡囟圮圪圴夼妀奼妅奻奾奷奿孖尕尥屼屺屻屾巟幵庄异弚彴忕忔忏扜扞扤扡扦扢扙扠扚扥旯旮朾朹朸朻机朿朼朳氘汆汒汜汏汊汔汋�".split("");for(a=0;a!=t[201].length;++a)if(t[201][a].charCodeAt(0)!==65533){r[t[201][a]]=51456+a;e[51456+a]=t[201][a]}t[202]="����������������������������������������������������������������汌灱牞犴犵玎甪癿穵网艸艼芀艽艿虍襾邙邗邘邛邔阢阤阠阣佖伻佢佉体佤伾佧佒佟佁佘伭伳伿佡冏冹刜刞刡劭劮匉卣卲厎厏吰吷吪呔呅吙吜吥吘����������������������������������吽呏呁吨吤呇囮囧囥坁坅坌坉坋坒夆奀妦妘妠妗妎妢妐妏妧妡宎宒尨尪岍岏岈岋岉岒岊岆岓岕巠帊帎庋庉庌庈庍弅弝彸彶忒忑忐忭忨忮忳忡忤忣忺忯忷忻怀忴戺抃抌抎抏抔抇扱扻扺扰抁抈扷扽扲扴攷旰旴旳旲旵杅杇�".split("");for(a=0;a!=t[202].length;++a)if(t[202][a].charCodeAt(0)!==65533){r[t[202][a]]=51712+a;e[51712+a]=t[202][a]}t[203]="����������������������������������������������������������������杙杕杌杈杝杍杚杋毐氙氚汸汧汫沄沋沏汱汯汩沚汭沇沕沜汦汳汥汻沎灴灺牣犿犽狃狆狁犺狅玕玗玓玔玒町甹疔疕皁礽耴肕肙肐肒肜芐芏芅芎芑芓����������������������������������芊芃芄豸迉辿邟邡邥邞邧邠阰阨阯阭丳侘佼侅佽侀侇佶佴侉侄佷佌侗佪侚佹侁佸侐侜侔侞侒侂侕佫佮冞冼冾刵刲刳剆刱劼匊匋匼厒厔咇呿咁咑咂咈呫呺呾呥呬呴呦咍呯呡呠咘呣呧呤囷囹坯坲坭坫坱坰坶垀坵坻坳坴坢�".split("");for(a=0;a!=t[203].length;++a)if(t[203][a].charCodeAt(0)!==65533){r[t[203][a]]=51968+a;e[51968+a]=t[203][a]}t[204]="����������������������������������������������������������������坨坽夌奅妵妺姏姎妲姌姁妶妼姃姖妱妽姀姈妴姇孢孥宓宕屄屇岮岤岠岵岯岨岬岟岣岭岢岪岧岝岥岶岰岦帗帔帙弨弢弣弤彔徂彾彽忞忥怭怦怙怲怋����������������������������������怴怊怗怳怚怞怬怢怍怐怮怓怑怌怉怜戔戽抭抴拑抾抪抶拊抮抳抯抻抩抰抸攽斨斻昉旼昄昒昈旻昃昋昍昅旽昑昐曶朊枅杬枎枒杶杻枘枆构杴枍枌杺枟枑枙枃杽极杸杹枔欥殀歾毞氝沓泬泫泮泙沶泔沭泧沷泐泂沺泃泆泭泲�".split("");for(a=0;a!=t[204].length;++a)if(t[204][a].charCodeAt(0)!==65533){r[t[204][a]]=52224+a;e[52224+a]=t[204][a]}t[205]="����������������������������������������������������������������泒泝沴沊沝沀泞泀洰泍泇沰泹泏泩泑炔炘炅炓炆炄炑炖炂炚炃牪狖狋狘狉狜狒狔狚狌狑玤玡玭玦玢玠玬玝瓝瓨甿畀甾疌疘皯盳盱盰盵矸矼矹矻矺����������������������������������矷祂礿秅穸穻竻籵糽耵肏肮肣肸肵肭舠芠苀芫芚芘芛芵芧芮芼芞芺芴芨芡芩苂芤苃芶芢虰虯虭虮豖迒迋迓迍迖迕迗邲邴邯邳邰阹阽阼阺陃俍俅俓侲俉俋俁俔俜俙侻侳俛俇俖侺俀侹俬剄剉勀勂匽卼厗厖厙厘咺咡咭咥哏�".split("");for(a=0;a!=t[205].length;++a)if(t[205][a].charCodeAt(0)!==65533){r[t[205][a]]=52480+a;e[52480+a]=t[205][a]}t[206]="����������������������������������������������������������������哃茍咷咮哖咶哅哆咠呰咼咢咾呲哞咰垵垞垟垤垌垗垝垛垔垘垏垙垥垚垕壴复奓姡姞姮娀姱姝姺姽姼姶姤姲姷姛姩姳姵姠姾姴姭宨屌峐峘峌峗峋峛����������������������������������峞峚峉峇峊峖峓峔峏峈峆峎峟峸巹帡帢帣帠帤庰庤庢庛庣庥弇弮彖徆怷怹恔恲恞恅恓恇恉恛恌恀恂恟怤恄恘恦恮扂扃拏挍挋拵挎挃拫拹挏挌拸拶挀挓挔拺挕拻拰敁敃斪斿昶昡昲昵昜昦昢昳昫昺昝昴昹昮朏朐柁柲柈枺�".split("");for(a=0;a!=t[206].length;++a)if(t[206][a].charCodeAt(0)!==65533){r[t[206][a]]=52736+a;e[52736+a]=t[206][a]}t[207]="����������������������������������������������������������������柜枻柸柘柀枷柅柫柤柟枵柍枳柷柶柮柣柂枹柎柧柰枲柼柆柭柌枮柦柛柺柉柊柃柪柋欨殂殄殶毖毘毠氠氡洨洴洭洟洼洿洒洊泚洳洄洙洺洚洑洀洝浂����������������������������������洁洘洷洃洏浀洇洠洬洈洢洉洐炷炟炾炱炰炡炴炵炩牁牉牊牬牰牳牮狊狤狨狫狟狪狦狣玅珌珂珈珅玹玶玵玴珫玿珇玾珃珆玸珋瓬瓮甮畇畈疧疪癹盄眈眃眄眅眊盷盻盺矧矨砆砑砒砅砐砏砎砉砃砓祊祌祋祅祄秕种秏秖秎窀�".split("");for(a=0;a!=t[207].length;++a)if(t[207][a].charCodeAt(0)!==65533){r[t[207][a]]=52992+a;e[52992+a]=t[207][a]}t[208]="����������������������������������������������������������������穾竑笀笁籺籸籹籿粀粁紃紈紁罘羑羍羾耇耎耏耔耷胘胇胠胑胈胂胐胅胣胙胜胊胕胉胏胗胦胍臿舡芔苙苾苹茇苨茀苕茺苫苖苴苬苡苲苵茌苻苶苰苪����������������������������������苤苠苺苳苭虷虴虼虳衁衎衧衪衩觓訄訇赲迣迡迮迠郱邽邿郕郅邾郇郋郈釔釓陔陏陑陓陊陎倞倅倇倓倢倰倛俵俴倳倷倬俶俷倗倜倠倧倵倯倱倎党冔冓凊凄凅凈凎剡剚剒剞剟剕剢勍匎厞唦哢唗唒哧哳哤唚哿唄唈哫唑唅哱�".split("");for(a=0;a!=t[208].length;++a)if(t[208][a].charCodeAt(0)!==65533){r[t[208][a]]=53248+a;e[53248+a]=t[208][a]}t[209]="����������������������������������������������������������������唊哻哷哸哠唎唃唋圁圂埌堲埕埒垺埆垽垼垸垶垿埇埐垹埁夎奊娙娖娭娮娕娏娗娊娞娳孬宧宭宬尃屖屔峬峿峮峱峷崀峹帩帨庨庮庪庬弳弰彧恝恚恧����������������������������������恁悢悈悀悒悁悝悃悕悛悗悇悜悎戙扆拲挐捖挬捄捅挶捃揤挹捋捊挼挩捁挴捘捔捙挭捇挳捚捑挸捗捀捈敊敆旆旃旄旂晊晟晇晑朒朓栟栚桉栲栳栻桋桏栖栱栜栵栫栭栯桎桄栴栝栒栔栦栨栮桍栺栥栠欬欯欭欱欴歭肂殈毦毤�".split("");for(a=0;a!=t[209].length;++a)if(t[209][a].charCodeAt(0)!==65533){r[t[209][a]]=53504+a;e[53504+a]=t[209][a]}t[210]="����������������������������������������������������������������毨毣毢毧氥浺浣浤浶洍浡涒浘浢浭浯涑涍淯浿涆浞浧浠涗浰浼浟涂涘洯浨涋浾涀涄洖涃浻浽浵涐烜烓烑烝烋缹烢烗烒烞烠烔烍烅烆烇烚烎烡牂牸����������������������������������牷牶猀狺狴狾狶狳狻猁珓珙珥珖玼珧珣珩珜珒珛珔珝珚珗珘珨瓞瓟瓴瓵甡畛畟疰痁疻痄痀疿疶疺皊盉眝眛眐眓眒眣眑眕眙眚眢眧砣砬砢砵砯砨砮砫砡砩砳砪砱祔祛祏祜祓祒祑秫秬秠秮秭秪秜秞秝窆窉窅窋窌窊窇竘笐�".split("");for(a=0;a!=t[210].length;++a)if(t[210][a].charCodeAt(0)!==65533){r[t[210][a]]=53760+a;e[53760+a]=t[210][a]}t[211]="����������������������������������������������������������������笄笓笅笏笈笊笎笉笒粄粑粊粌粈粍粅紞紝紑紎紘紖紓紟紒紏紌罜罡罞罠罝罛羖羒翃翂翀耖耾耹胺胲胹胵脁胻脀舁舯舥茳茭荄茙荑茥荖茿荁茦茜茢����������������������������������荂荎茛茪茈茼荍茖茤茠茷茯茩荇荅荌荓茞茬荋茧荈虓虒蚢蚨蚖蚍蚑蚞蚇蚗蚆蚋蚚蚅蚥蚙蚡蚧蚕蚘蚎蚝蚐蚔衃衄衭衵衶衲袀衱衿衯袃衾衴衼訒豇豗豻貤貣赶赸趵趷趶軑軓迾迵适迿迻逄迼迶郖郠郙郚郣郟郥郘郛郗郜郤酐�".split("");for(a=0;a!=t[211].length;++a)if(t[211][a].charCodeAt(0)!==65533){r[t[211][a]]=54016+a;e[54016+a]=t[211][a]}t[212]="����������������������������������������������������������������酎酏釕釢釚陜陟隼飣髟鬯乿偰偪偡偞偠偓偋偝偲偈偍偁偛偊偢倕偅偟偩偫偣偤偆偀偮偳偗偑凐剫剭剬剮勖勓匭厜啵啶唼啍啐唴唪啑啢唶唵唰啒啅����������������������������������唌唲啥啎唹啈唭唻啀啋圊圇埻堔埢埶埜埴堀埭埽堈埸堋埳埏堇埮埣埲埥埬埡堎埼堐埧堁堌埱埩埰堍堄奜婠婘婕婧婞娸娵婭婐婟婥婬婓婤婗婃婝婒婄婛婈媎娾婍娹婌婰婩婇婑婖婂婜孲孮寁寀屙崞崋崝崚崠崌崨崍崦崥崏�".split("");for(a=0;a!=t[212].length;++a)if(t[212][a].charCodeAt(0)!==65533){r[t[212][a]]=54272+a;e[54272+a]=t[212][a]}t[213]="����������������������������������������������������������������崰崒崣崟崮帾帴庱庴庹庲庳弶弸徛徖徟悊悐悆悾悰悺惓惔惏惤惙惝惈悱惛悷惊悿惃惍惀挲捥掊掂捽掽掞掭掝掗掫掎捯掇掐据掯捵掜捭掮捼掤挻掟����������������������������������捸掅掁掑掍捰敓旍晥晡晛晙晜晢朘桹梇梐梜桭桮梮梫楖桯梣梬梩桵桴梲梏桷梒桼桫桲梪梀桱桾梛梖梋梠梉梤桸桻梑梌梊桽欶欳欷欸殑殏殍殎殌氪淀涫涴涳湴涬淩淢涷淶淔渀淈淠淟淖涾淥淜淝淛淴淊涽淭淰涺淕淂淏淉�".split("");for(a=0;a!=t[213].length;++a)if(t[213][a].charCodeAt(0)!==65533){r[t[213][a]]=54528+a;e[54528+a]=t[213][a]}t[214]="����������������������������������������������������������������淐淲淓淽淗淍淣涻烺焍烷焗烴焌烰焄烳焐烼烿焆焓焀烸烶焋焂焎牾牻牼牿猝猗猇猑猘猊猈狿猏猞玈珶珸珵琄琁珽琇琀珺珼珿琌琋珴琈畤畣痎痒痏����������������������������������痋痌痑痐皏皉盓眹眯眭眱眲眴眳眽眥眻眵硈硒硉硍硊硌砦硅硐祤祧祩祪祣祫祡离秺秸秶秷窏窔窐笵筇笴笥笰笢笤笳笘笪笝笱笫笭笯笲笸笚笣粔粘粖粣紵紽紸紶紺絅紬紩絁絇紾紿絊紻紨罣羕羜羝羛翊翋翍翐翑翇翏翉耟�".split("");for(a=0;a!=t[214].length;++a)if(t[214][a].charCodeAt(0)!==65533){r[t[214][a]]=54784+a;e[54784+a]=t[214][a]}t[215]="����������������������������������������������������������������耞耛聇聃聈脘脥脙脛脭脟脬脞脡脕脧脝脢舑舸舳舺舴舲艴莐莣莨莍荺荳莤荴莏莁莕莙荵莔莩荽莃莌莝莛莪莋荾莥莯莈莗莰荿莦莇莮荶莚虙虖蚿蚷����������������������������������蛂蛁蛅蚺蚰蛈蚹蚳蚸蛌蚴蚻蚼蛃蚽蚾衒袉袕袨袢袪袚袑袡袟袘袧袙袛袗袤袬袌袓袎覂觖觙觕訰訧訬訞谹谻豜豝豽貥赽赻赹趼跂趹趿跁軘軞軝軜軗軠軡逤逋逑逜逌逡郯郪郰郴郲郳郔郫郬郩酖酘酚酓酕釬釴釱釳釸釤釹釪�".split("");for(a=0;a!=t[215].length;++a)if(t[215][a].charCodeAt(0)!==65533){r[t[215][a]]=55040+a;e[55040+a]=t[215][a]}t[216]="����������������������������������������������������������������釫釷釨釮镺閆閈陼陭陫陱陯隿靪頄飥馗傛傕傔傞傋傣傃傌傎傝偨傜傒傂傇兟凔匒匑厤厧喑喨喥喭啷噅喢喓喈喏喵喁喣喒喤啽喌喦啿喕喡喎圌堩堷����������������������������������堙堞堧堣堨埵塈堥堜堛堳堿堶堮堹堸堭堬堻奡媯媔媟婺媢媞婸媦婼媥媬媕媮娷媄媊媗媃媋媩婻婽媌媜媏媓媝寪寍寋寔寑寊寎尌尰崷嵃嵫嵁嵋崿崵嵑嵎嵕崳崺嵒崽崱嵙嵂崹嵉崸崼崲崶嵀嵅幄幁彘徦徥徫惉悹惌惢惎惄愔�".split("");for(a=0;a!=t[216].length;++a)if(t[216][a].charCodeAt(0)!==65533){r[t[216][a]]=55296+a;e[55296+a]=t[216][a]}t[217]="����������������������������������������������������������������惲愊愖愅惵愓惸惼惾惁愃愘愝愐惿愄愋扊掔掱掰揎揥揨揯揃撝揳揊揠揶揕揲揵摡揟掾揝揜揄揘揓揂揇揌揋揈揰揗揙攲敧敪敤敜敨敥斌斝斞斮旐旒����������������������������������晼晬晻暀晱晹晪晲朁椌棓椄棜椪棬棪棱椏棖棷棫棤棶椓椐棳棡椇棌椈楰梴椑棯棆椔棸棐棽棼棨椋椊椗棎棈棝棞棦棴棑椆棔棩椕椥棇欹欻欿欼殔殗殙殕殽毰毲毳氰淼湆湇渟湉溈渼渽湅湢渫渿湁湝湳渜渳湋湀湑渻渃渮湞�".split("");for(a=0;a!=t[217].length;++a)if(t[217][a].charCodeAt(0)!==65533){r[t[217][a]]=55552+a;e[55552+a]=t[217][a]}t[218]="����������������������������������������������������������������湨湜湡渱渨湠湱湫渹渢渰湓湥渧湸湤湷湕湹湒湦渵渶湚焠焞焯烻焮焱焣焥焢焲焟焨焺焛牋牚犈犉犆犅犋猒猋猰猢猱猳猧猲猭猦猣猵猌琮琬琰琫琖����������������������������������琚琡琭琱琤琣琝琩琠琲瓻甯畯畬痧痚痡痦痝痟痤痗皕皒盚睆睇睄睍睅睊睎睋睌矞矬硠硤硥硜硭硱硪确硰硩硨硞硢祴祳祲祰稂稊稃稌稄窙竦竤筊笻筄筈筌筎筀筘筅粢粞粨粡絘絯絣絓絖絧絪絏絭絜絫絒絔絩絑絟絎缾缿罥�".split("");for(a=0;a!=t[218].length;++a)if(t[218][a].charCodeAt(0)!==65533){r[t[218][a]]=55808+a;e[55808+a]=t[218][a]}t[219]="����������������������������������������������������������������罦羢羠羡翗聑聏聐胾胔腃腊腒腏腇脽腍脺臦臮臷臸臹舄舼舽舿艵茻菏菹萣菀菨萒菧菤菼菶萐菆菈菫菣莿萁菝菥菘菿菡菋菎菖菵菉萉萏菞萑萆菂菳����������������������������������菕菺菇菑菪萓菃菬菮菄菻菗菢萛菛菾蛘蛢蛦蛓蛣蛚蛪蛝蛫蛜蛬蛩蛗蛨蛑衈衖衕袺裗袹袸裀袾袶袼袷袽袲褁裉覕覘覗觝觚觛詎詍訹詙詀詗詘詄詅詒詈詑詊詌詏豟貁貀貺貾貰貹貵趄趀趉跘跓跍跇跖跜跏跕跙跈跗跅軯軷軺�".split("");for(a=0;a!=t[219].length;++a)if(t[219][a].charCodeAt(0)!==65533){r[t[219][a]]=56064+a;e[56064+a]=t[219][a]}t[220]="����������������������������������������������������������������軹軦軮軥軵軧軨軶軫軱軬軴軩逭逴逯鄆鄬鄄郿郼鄈郹郻鄁鄀鄇鄅鄃酡酤酟酢酠鈁鈊鈥鈃鈚鈦鈏鈌鈀鈒釿釽鈆鈄鈧鈂鈜鈤鈙鈗鈅鈖镻閍閌閐隇陾隈����������������������������������隉隃隀雂雈雃雱雰靬靰靮頇颩飫鳦黹亃亄亶傽傿僆傮僄僊傴僈僂傰僁傺傱僋僉傶傸凗剺剸剻剼嗃嗛嗌嗐嗋嗊嗝嗀嗔嗄嗩喿嗒喍嗏嗕嗢嗖嗈嗲嗍嗙嗂圔塓塨塤塏塍塉塯塕塎塝塙塥塛堽塣塱壼嫇嫄嫋媺媸媱媵媰媿嫈媻嫆�".split("");for(a=0;a!=t[220].length;++a)if(t[220][a].charCodeAt(0)!==65533){r[t[220][a]]=56320+a;e[56320+a]=t[220][a]}t[221]="����������������������������������������������������������������媷嫀嫊媴媶嫍媹媐寖寘寙尟尳嵱嵣嵊嵥嵲嵬嵞嵨嵧嵢巰幏幎幊幍幋廅廌廆廋廇彀徯徭惷慉慊愫慅愶愲愮慆愯慏愩慀戠酨戣戥戤揅揱揫搐搒搉搠搤����������������������������������搳摃搟搕搘搹搷搢搣搌搦搰搨摁搵搯搊搚摀搥搧搋揧搛搮搡搎敯斒旓暆暌暕暐暋暊暙暔晸朠楦楟椸楎楢楱椿楅楪椹楂楗楙楺楈楉椵楬椳椽楥棰楸椴楩楀楯楄楶楘楁楴楌椻楋椷楜楏楑椲楒椯楻椼歆歅歃歂歈歁殛嗀毻毼�".split("");for(a=0;a!=t[221].length;++a)if(t[221][a].charCodeAt(0)!==65533){r[t[221][a]]=56576+a;e[56576+a]=t[221][a]}t[222]="����������������������������������������������������������������毹毷毸溛滖滈溏滀溟溓溔溠溱溹滆滒溽滁溞滉溷溰滍溦滏溲溾滃滜滘溙溒溎溍溤溡溿溳滐滊溗溮溣煇煔煒煣煠煁煝煢煲煸煪煡煂煘煃煋煰煟煐煓����������������������������������煄煍煚牏犍犌犑犐犎猼獂猻猺獀獊獉瑄瑊瑋瑒瑑瑗瑀瑏瑐瑎瑂瑆瑍瑔瓡瓿瓾瓽甝畹畷榃痯瘏瘃痷痾痼痹痸瘐痻痶痭痵痽皙皵盝睕睟睠睒睖睚睩睧睔睙睭矠碇碚碔碏碄碕碅碆碡碃硹碙碀碖硻祼禂祽祹稑稘稙稒稗稕稢稓�".split("");for(a=0;a!=t[222].length;++a)if(t[222][a].charCodeAt(0)!==65533){r[t[222][a]]=56832+a;e[56832+a]=t[222][a]}t[223]="����������������������������������������������������������������稛稐窣窢窞竫筦筤筭筴筩筲筥筳筱筰筡筸筶筣粲粴粯綈綆綀綍絿綅絺綎絻綃絼綌綔綄絽綒罭罫罧罨罬羦羥羧翛翜耡腤腠腷腜腩腛腢腲朡腞腶腧腯����������������������������������腄腡舝艉艄艀艂艅蓱萿葖葶葹蒏蒍葥葑葀蒆葧萰葍葽葚葙葴葳葝蔇葞萷萺萴葺葃葸萲葅萩菙葋萯葂萭葟葰萹葎葌葒葯蓅蒎萻葇萶萳葨葾葄萫葠葔葮葐蜋蜄蛷蜌蛺蛖蛵蝍蛸蜎蜉蜁蛶蜍蜅裖裋裍裎裞裛裚裌裐覅覛觟觥觤�".split("");for(a=0;a!=t[223].length;++a)if(t[223][a].charCodeAt(0)!==65533){r[t[223][a]]=57088+a;e[57088+a]=t[223][a]}t[224]="����������������������������������������������������������������觡觠觢觜触詶誆詿詡訿詷誂誄詵誃誁詴詺谼豋豊豥豤豦貆貄貅賌赨赩趑趌趎趏趍趓趔趐趒跰跠跬跱跮跐跩跣跢跧跲跫跴輆軿輁輀輅輇輈輂輋遒逿����������������������������������遄遉逽鄐鄍鄏鄑鄖鄔鄋鄎酮酯鉈鉒鈰鈺鉦鈳鉥鉞銃鈮鉊鉆鉭鉬鉏鉠鉧鉯鈶鉡鉰鈱鉔鉣鉐鉲鉎鉓鉌鉖鈲閟閜閞閛隒隓隑隗雎雺雽雸雵靳靷靸靲頏頍頎颬飶飹馯馲馰馵骭骫魛鳪鳭鳧麀黽僦僔僗僨僳僛僪僝僤僓僬僰僯僣僠�".split("");for(a=0;a!=t[224].length;++a)if(t[224][a].charCodeAt(0)!==65533){r[t[224][a]]=57344+a;e[57344+a]=t[224][a]}t[225]="����������������������������������������������������������������凘劀劁勩勫匰厬嘧嘕嘌嘒嗼嘏嘜嘁嘓嘂嗺嘝嘄嗿嗹墉塼墐墘墆墁塿塴墋塺墇墑墎塶墂墈塻墔墏壾奫嫜嫮嫥嫕嫪嫚嫭嫫嫳嫢嫠嫛嫬嫞嫝嫙嫨嫟孷寠����������������������������������寣屣嶂嶀嵽嶆嵺嶁嵷嶊嶉嶈嵾嵼嶍嵹嵿幘幙幓廘廑廗廎廜廕廙廒廔彄彃彯徶愬愨慁慞慱慳慒慓慲慬憀慴慔慺慛慥愻慪慡慖戩戧戫搫摍摛摝摴摶摲摳摽摵摦撦摎撂摞摜摋摓摠摐摿搿摬摫摙摥摷敳斠暡暠暟朅朄朢榱榶槉�".split("");for(a=0;a!=t[225].length;++a)if(t[225][a].charCodeAt(0)!==65533){r[t[225][a]]=57600+a;e[57600+a]=t[225][a]}t[226]="����������������������������������������������������������������榠槎榖榰榬榼榑榙榎榧榍榩榾榯榿槄榽榤槔榹槊榚槏榳榓榪榡榞槙榗榐槂榵榥槆歊歍歋殞殟殠毃毄毾滎滵滱漃漥滸漷滻漮漉潎漙漚漧漘漻漒滭漊����������������������������������漶潳滹滮漭潀漰漼漵滫漇漎潃漅滽滶漹漜滼漺漟漍漞漈漡熇熐熉熀熅熂熏煻熆熁熗牄牓犗犕犓獃獍獑獌瑢瑳瑱瑵瑲瑧瑮甀甂甃畽疐瘖瘈瘌瘕瘑瘊瘔皸瞁睼瞅瞂睮瞀睯睾瞃碲碪碴碭碨硾碫碞碥碠碬碢碤禘禊禋禖禕禔禓�".split("");for(a=0;a!=t[226].length;++a)if(t[226][a].charCodeAt(0)!==65533){r[t[226][a]]=57856+a;e[57856+a]=t[226][a]}t[227]="����������������������������������������������������������������禗禈禒禐稫穊稰稯稨稦窨窫窬竮箈箜箊箑箐箖箍箌箛箎箅箘劄箙箤箂粻粿粼粺綧綷緂綣綪緁緀緅綝緎緄緆緋緌綯綹綖綼綟綦綮綩綡緉罳翢翣翥翞����������������������������������耤聝聜膉膆膃膇膍膌膋舕蒗蒤蒡蒟蒺蓎蓂蒬蒮蒫蒹蒴蓁蓍蒪蒚蒱蓐蒝蒧蒻蒢蒔蓇蓌蒛蒩蒯蒨蓖蒘蒶蓏蒠蓗蓔蓒蓛蒰蒑虡蜳蜣蜨蝫蝀蜮蜞蜡蜙蜛蝃蜬蝁蜾蝆蜠蜲蜪蜭蜼蜒蜺蜱蜵蝂蜦蜧蜸蜤蜚蜰蜑裷裧裱裲裺裾裮裼裶裻�".split("");for(a=0;a!=t[227].length;++a)if(t[227][a].charCodeAt(0)!==65533){r[t[227][a]]=58112+a;e[58112+a]=t[227][a]}t[228]="����������������������������������������������������������������裰裬裫覝覡覟覞觩觫觨誫誙誋誒誏誖谽豨豩賕賏賗趖踉踂跿踍跽踊踃踇踆踅跾踀踄輐輑輎輍鄣鄜鄠鄢鄟鄝鄚鄤鄡鄛酺酲酹酳銥銤鉶銛鉺銠銔銪銍����������������������������������銦銚銫鉹銗鉿銣鋮銎銂銕銢鉽銈銡銊銆銌銙銧鉾銇銩銝銋鈭隞隡雿靘靽靺靾鞃鞀鞂靻鞄鞁靿韎韍頖颭颮餂餀餇馝馜駃馹馻馺駂馽駇骱髣髧鬾鬿魠魡魟鳱鳲鳵麧僿儃儰僸儆儇僶僾儋儌僽儊劋劌勱勯噈噂噌嘵噁噊噉噆噘�".split("");for(a=0;a!=t[228].length;++a)if(t[228][a].charCodeAt(0)!==65533){r[t[228][a]]=58368+a;e[58368+a]=t[228][a]}t[229]="����������������������������������������������������������������噚噀嘳嘽嘬嘾嘸嘪嘺圚墫墝墱墠墣墯墬墥墡壿嫿嫴嫽嫷嫶嬃嫸嬂嫹嬁嬇嬅嬏屧嶙嶗嶟嶒嶢嶓嶕嶠嶜嶡嶚嶞幩幝幠幜緳廛廞廡彉徲憋憃慹憱憰憢憉����������������������������������憛憓憯憭憟憒憪憡憍慦憳戭摮摰撖撠撅撗撜撏撋撊撌撣撟摨撱撘敶敺敹敻斲斳暵暰暩暲暷暪暯樀樆樗槥槸樕槱槤樠槿槬槢樛樝槾樧槲槮樔槷槧橀樈槦槻樍槼槫樉樄樘樥樏槶樦樇槴樖歑殥殣殢殦氁氀毿氂潁漦潾澇濆澒�".split("");for(a=0;a!=t[229].length;++a)if(t[229][a].charCodeAt(0)!==65533){r[t[229][a]]=58624+a;e[58624+a]=t[229][a]}t[230]="����������������������������������������������������������������澍澉澌潢潏澅潚澖潶潬澂潕潲潒潐潗澔澓潝漀潡潫潽潧澐潓澋潩潿澕潣潷潪潻熲熯熛熰熠熚熩熵熝熥熞熤熡熪熜熧熳犘犚獘獒獞獟獠獝獛獡獚獙����������������������������������獢璇璉璊璆璁瑽璅璈瑼瑹甈甇畾瘥瘞瘙瘝瘜瘣瘚瘨瘛皜皝皞皛瞍瞏瞉瞈磍碻磏磌磑磎磔磈磃磄磉禚禡禠禜禢禛歶稹窲窴窳箷篋箾箬篎箯箹篊箵糅糈糌糋緷緛緪緧緗緡縃緺緦緶緱緰緮緟罶羬羰羭翭翫翪翬翦翨聤聧膣膟�".split("");for(a=0;a!=t[230].length;++a)if(t[230][a].charCodeAt(0)!==65533){r[t[230][a]]=58880+a;e[58880+a]=t[230][a]}t[231]="����������������������������������������������������������������膞膕膢膙膗舖艏艓艒艐艎艑蔤蔻蔏蔀蔩蔎蔉蔍蔟蔊蔧蔜蓻蔫蓺蔈蔌蓴蔪蓲蔕蓷蓫蓳蓼蔒蓪蓩蔖蓾蔨蔝蔮蔂蓽蔞蓶蔱蔦蓧蓨蓰蓯蓹蔘蔠蔰蔋蔙蔯虢����������������������������������蝖蝣蝤蝷蟡蝳蝘蝔蝛蝒蝡蝚蝑蝞蝭蝪蝐蝎蝟蝝蝯蝬蝺蝮蝜蝥蝏蝻蝵蝢蝧蝩衚褅褌褔褋褗褘褙褆褖褑褎褉覢覤覣觭觰觬諏諆誸諓諑諔諕誻諗誾諀諅諘諃誺誽諙谾豍貏賥賟賙賨賚賝賧趠趜趡趛踠踣踥踤踮踕踛踖踑踙踦踧�".split("");for(a=0;a!=t[231].length;++a)if(t[231][a].charCodeAt(0)!==65533){r[t[231][a]]=59136+a;e[59136+a]=t[231][a]}t[232]="����������������������������������������������������������������踔踒踘踓踜踗踚輬輤輘輚輠輣輖輗遳遰遯遧遫鄯鄫鄩鄪鄲鄦鄮醅醆醊醁醂醄醀鋐鋃鋄鋀鋙銶鋏鋱鋟鋘鋩鋗鋝鋌鋯鋂鋨鋊鋈鋎鋦鋍鋕鋉鋠鋞鋧鋑鋓����������������������������������銵鋡鋆銴镼閬閫閮閰隤隢雓霅霈霂靚鞊鞎鞈韐韏頞頝頦頩頨頠頛頧颲餈飺餑餔餖餗餕駜駍駏駓駔駎駉駖駘駋駗駌骳髬髫髳髲髱魆魃魧魴魱魦魶魵魰魨魤魬鳼鳺鳽鳿鳷鴇鴀鳹鳻鴈鴅鴄麃黓鼏鼐儜儓儗儚儑凞匴叡噰噠噮�".split("");for(a=0;a!=t[232].length;++a)if(t[232][a].charCodeAt(0)!==65533){r[t[232][a]]=59392+a;e[59392+a]=t[232][a]}t[233]="����������������������������������������������������������������噳噦噣噭噲噞噷圜圛壈墽壉墿墺壂墼壆嬗嬙嬛嬡嬔嬓嬐嬖嬨嬚嬠嬞寯嶬嶱嶩嶧嶵嶰嶮嶪嶨嶲嶭嶯嶴幧幨幦幯廩廧廦廨廥彋徼憝憨憖懅憴懆懁懌憺����������������������������������憿憸憌擗擖擐擏擉撽撉擃擛擳擙攳敿敼斢曈暾曀曊曋曏暽暻暺曌朣樴橦橉橧樲橨樾橝橭橶橛橑樨橚樻樿橁橪橤橐橏橔橯橩橠樼橞橖橕橍橎橆歕歔歖殧殪殫毈毇氄氃氆澭濋澣濇澼濎濈潞濄澽澞濊澨瀄澥澮澺澬澪濏澿澸�".split("");for(a=0;a!=t[233].length;++a)if(t[233][a].charCodeAt(0)!==65533){r[t[233][a]]=59648+a;e[59648+a]=t[233][a]}t[234]="����������������������������������������������������������������澢濉澫濍澯澲澰燅燂熿熸燖燀燁燋燔燊燇燏熽燘熼燆燚燛犝犞獩獦獧獬獥獫獪瑿璚璠璔璒璕璡甋疀瘯瘭瘱瘽瘳瘼瘵瘲瘰皻盦瞚瞝瞡瞜瞛瞢瞣瞕瞙����������������������������������瞗磝磩磥磪磞磣磛磡磢磭磟磠禤穄穈穇窶窸窵窱窷篞篣篧篝篕篥篚篨篹篔篪篢篜篫篘篟糒糔糗糐糑縒縡縗縌縟縠縓縎縜縕縚縢縋縏縖縍縔縥縤罃罻罼罺羱翯耪耩聬膱膦膮膹膵膫膰膬膴膲膷膧臲艕艖艗蕖蕅蕫蕍蕓蕡蕘�".split("");for(a=0;a!=t[234].length;++a)if(t[234][a].charCodeAt(0)!==65533){r[t[234][a]]=59904+a;e[59904+a]=t[234][a]}t[235]="����������������������������������������������������������������蕀蕆蕤蕁蕢蕄蕑蕇蕣蔾蕛蕱蕎蕮蕵蕕蕧蕠薌蕦蕝蕔蕥蕬虣虥虤螛螏螗螓螒螈螁螖螘蝹螇螣螅螐螑螝螄螔螜螚螉褞褦褰褭褮褧褱褢褩褣褯褬褟觱諠����������������������������������諢諲諴諵諝謔諤諟諰諈諞諡諨諿諯諻貑貒貐賵賮賱賰賳赬赮趥趧踳踾踸蹀蹅踶踼踽蹁踰踿躽輶輮輵輲輹輷輴遶遹遻邆郺鄳鄵鄶醓醐醑醍醏錧錞錈錟錆錏鍺錸錼錛錣錒錁鍆錭錎錍鋋錝鋺錥錓鋹鋷錴錂錤鋿錩錹錵錪錔錌�".split("");for(a=0;a!=t[235].length;++a)if(t[235][a].charCodeAt(0)!==65533){r[t[235][a]]=60160+a;e[60160+a]=t[235][a]}t[236]="����������������������������������������������������������������錋鋾錉錀鋻錖閼闍閾閹閺閶閿閵閽隩雔霋霒霐鞙鞗鞔韰韸頵頯頲餤餟餧餩馞駮駬駥駤駰駣駪駩駧骹骿骴骻髶髺髹髷鬳鮀鮅鮇魼魾魻鮂鮓鮒鮐魺鮕����������������������������������魽鮈鴥鴗鴠鴞鴔鴩鴝鴘鴢鴐鴙鴟麈麆麇麮麭黕黖黺鼒鼽儦儥儢儤儠儩勴嚓嚌嚍嚆嚄嚃噾嚂噿嚁壖壔壏壒嬭嬥嬲嬣嬬嬧嬦嬯嬮孻寱寲嶷幬幪徾徻懃憵憼懧懠懥懤懨懞擯擩擣擫擤擨斁斀斶旚曒檍檖檁檥檉檟檛檡檞檇檓檎�".split("");for(a=0;a!=t[236].length;++a)if(t[236][a].charCodeAt(0)!==65533){r[t[236][a]]=60416+a;e[60416+a]=t[236][a]}t[237]="����������������������������������������������������������������檕檃檨檤檑橿檦檚檅檌檒歛殭氉濌澩濴濔濣濜濭濧濦濞濲濝濢濨燡燱燨燲燤燰燢獳獮獯璗璲璫璐璪璭璱璥璯甐甑甒甏疄癃癈癉癇皤盩瞵瞫瞲瞷瞶����������������������������������瞴瞱瞨矰磳磽礂磻磼磲礅磹磾礄禫禨穜穛穖穘穔穚窾竀竁簅簏篲簀篿篻簎篴簋篳簂簉簃簁篸篽簆篰篱簐簊糨縭縼繂縳顈縸縪繉繀繇縩繌縰縻縶繄縺罅罿罾罽翴翲耬膻臄臌臊臅臇膼臩艛艚艜薃薀薏薧薕薠薋薣蕻薤薚薞�".split("");for(a=0;a!=t[237].length;++a)if(t[237][a].charCodeAt(0)!==65533){r[t[237][a]]=60672+a;e[60672+a]=t[237][a]}t[238]="����������������������������������������������������������������蕷蕼薉薡蕺蕸蕗薎薖薆薍薙薝薁薢薂薈薅蕹蕶薘薐薟虨螾螪螭蟅螰螬螹螵螼螮蟉蟃蟂蟌螷螯蟄蟊螴螶螿螸螽蟞螲褵褳褼褾襁襒褷襂覭覯覮觲觳謞����������������������������������謘謖謑謅謋謢謏謒謕謇謍謈謆謜謓謚豏豰豲豱豯貕貔賹赯蹎蹍蹓蹐蹌蹇轃轀邅遾鄸醚醢醛醙醟醡醝醠鎡鎃鎯鍤鍖鍇鍼鍘鍜鍶鍉鍐鍑鍠鍭鎏鍌鍪鍹鍗鍕鍒鍏鍱鍷鍻鍡鍞鍣鍧鎀鍎鍙闇闀闉闃闅閷隮隰隬霠霟霘霝霙鞚鞡鞜�".split("");for(a=0;a!=t[238].length;++a)if(t[238][a].charCodeAt(0)!==65533){r[t[238][a]]=60928+a;e[60928+a]=t[238][a]}t[239]="����������������������������������������������������������������鞞鞝韕韔韱顁顄顊顉顅顃餥餫餬餪餳餲餯餭餱餰馘馣馡騂駺駴駷駹駸駶駻駽駾駼騃骾髾髽鬁髼魈鮚鮨鮞鮛鮦鮡鮥鮤鮆鮢鮠鮯鴳鵁鵧鴶鴮鴯鴱鴸鴰����������������������������������鵅鵂鵃鴾鴷鵀鴽翵鴭麊麉麍麰黈黚黻黿鼤鼣鼢齔龠儱儭儮嚘嚜嚗嚚嚝嚙奰嬼屩屪巀幭幮懘懟懭懮懱懪懰懫懖懩擿攄擽擸攁攃擼斔旛曚曛曘櫅檹檽櫡櫆檺檶檷櫇檴檭歞毉氋瀇瀌瀍瀁瀅瀔瀎濿瀀濻瀦濼濷瀊爁燿燹爃燽獶�".split("");for(a=0;a!=t[239].length;++a)if(t[239][a].charCodeAt(0)!==65533){r[t[239][a]]=61184+a;e[61184+a]=t[239][a]}t[240]="����������������������������������������������������������������璸瓀璵瓁璾璶璻瓂甔甓癜癤癙癐癓癗癚皦皽盬矂瞺磿礌礓礔礉礐礒礑禭禬穟簜簩簙簠簟簭簝簦簨簢簥簰繜繐繖繣繘繢繟繑繠繗繓羵羳翷翸聵臑臒����������������������������������臐艟艞薴藆藀藃藂薳薵薽藇藄薿藋藎藈藅薱薶藒蘤薸薷薾虩蟧蟦蟢蟛蟫蟪蟥蟟蟳蟤蟔蟜蟓蟭蟘蟣螤蟗蟙蠁蟴蟨蟝襓襋襏襌襆襐襑襉謪謧謣謳謰謵譇謯謼謾謱謥謷謦謶謮謤謻謽謺豂豵貙貘貗賾贄贂贀蹜蹢蹠蹗蹖蹞蹥蹧�".split("");for(a=0;a!=t[240].length;++a)if(t[240][a].charCodeAt(0)!==65533){r[t[240][a]]=61440+a;e[61440+a]=t[240][a]}t[241]="����������������������������������������������������������������蹛蹚蹡蹝蹩蹔轆轇轈轋鄨鄺鄻鄾醨醥醧醯醪鎵鎌鎒鎷鎛鎝鎉鎧鎎鎪鎞鎦鎕鎈鎙鎟鎍鎱鎑鎲鎤鎨鎴鎣鎥闒闓闑隳雗雚巂雟雘雝霣霢霥鞬鞮鞨鞫鞤鞪����������������������������������鞢鞥韗韙韖韘韺顐顑顒颸饁餼餺騏騋騉騍騄騑騊騅騇騆髀髜鬈鬄鬅鬩鬵魊魌魋鯇鯆鯃鮿鯁鮵鮸鯓鮶鯄鮹鮽鵜鵓鵏鵊鵛鵋鵙鵖鵌鵗鵒鵔鵟鵘鵚麎麌黟鼁鼀鼖鼥鼫鼪鼩鼨齌齕儴儵劖勷厴嚫嚭嚦嚧嚪嚬壚壝壛夒嬽嬾嬿巃幰�".split("");for(a=0;a!=t[241].length;++a)if(t[241][a].charCodeAt(0)!==65533){r[t[241][a]]=61696+a;e[61696+a]=t[241][a]}t[242]="����������������������������������������������������������������徿懻攇攐攍攉攌攎斄旞旝曞櫧櫠櫌櫑櫙櫋櫟櫜櫐櫫櫏櫍櫞歠殰氌瀙瀧瀠瀖瀫瀡瀢瀣瀩瀗瀤瀜瀪爌爊爇爂爅犥犦犤犣犡瓋瓅璷瓃甖癠矉矊矄矱礝礛����������������������������������礡礜礗礞禰穧穨簳簼簹簬簻糬糪繶繵繸繰繷繯繺繲繴繨罋罊羃羆羷翽翾聸臗臕艤艡艣藫藱藭藙藡藨藚藗藬藲藸藘藟藣藜藑藰藦藯藞藢蠀蟺蠃蟶蟷蠉蠌蠋蠆蟼蠈蟿蠊蠂襢襚襛襗襡襜襘襝襙覈覷覶觶譐譈譊譀譓譖譔譋譕�".split("");for(a=0;a!=t[242].length;++a)if(t[242][a].charCodeAt(0)!==65533){r[t[242][a]]=61952+a;e[61952+a]=t[242][a]}t[243]="����������������������������������������������������������������譑譂譒譗豃豷豶貚贆贇贉趬趪趭趫蹭蹸蹳蹪蹯蹻軂轒轑轏轐轓辴酀鄿醰醭鏞鏇鏏鏂鏚鏐鏹鏬鏌鏙鎩鏦鏊鏔鏮鏣鏕鏄鏎鏀鏒鏧镽闚闛雡霩霫霬霨霦����������������������������������鞳鞷鞶韝韞韟顜顙顝顗颿颽颻颾饈饇饃馦馧騚騕騥騝騤騛騢騠騧騣騞騜騔髂鬋鬊鬎鬌鬷鯪鯫鯠鯞鯤鯦鯢鯰鯔鯗鯬鯜鯙鯥鯕鯡鯚鵷鶁鶊鶄鶈鵱鶀鵸鶆鶋鶌鵽鵫鵴鵵鵰鵩鶅鵳鵻鶂鵯鵹鵿鶇鵨麔麑黀黼鼭齀齁齍齖齗齘匷嚲�".split("");for(a=0;a!=t[243].length;++a)if(t[243][a].charCodeAt(0)!==65533){r[t[243][a]]=62208+a;e[62208+a]=t[243][a]}t[244]="����������������������������������������������������������������嚵嚳壣孅巆巇廮廯忀忁懹攗攖攕攓旟曨曣曤櫳櫰櫪櫨櫹櫱櫮櫯瀼瀵瀯瀷瀴瀱灂瀸瀿瀺瀹灀瀻瀳灁爓爔犨獽獼璺皫皪皾盭矌矎矏矍矲礥礣礧礨礤礩����������������������������������禲穮穬穭竷籉籈籊籇籅糮繻繾纁纀羺翿聹臛臙舋艨艩蘢藿蘁藾蘛蘀藶蘄蘉蘅蘌藽蠙蠐蠑蠗蠓蠖襣襦覹觷譠譪譝譨譣譥譧譭趮躆躈躄轙轖轗轕轘轚邍酃酁醷醵醲醳鐋鐓鏻鐠鐏鐔鏾鐕鐐鐨鐙鐍鏵鐀鏷鐇鐎鐖鐒鏺鐉鏸鐊鏿�".split("");for(a=0;a!=t[244].length;++a)if(t[244][a].charCodeAt(0)!==65533){r[t[244][a]]=62464+a;e[62464+a]=t[244][a]}t[245]="����������������������������������������������������������������鏼鐌鏶鐑鐆闞闠闟霮霯鞹鞻韽韾顠顢顣顟飁飂饐饎饙饌饋饓騲騴騱騬騪騶騩騮騸騭髇髊髆鬐鬒鬑鰋鰈鯷鰅鰒鯸鱀鰇鰎鰆鰗鰔鰉鶟鶙鶤鶝鶒鶘鶐鶛����������������������������������鶠鶔鶜鶪鶗鶡鶚鶢鶨鶞鶣鶿鶩鶖鶦鶧麙麛麚黥黤黧黦鼰鼮齛齠齞齝齙龑儺儹劘劗囃嚽嚾孈孇巋巏廱懽攛欂櫼欃櫸欀灃灄灊灈灉灅灆爝爚爙獾甗癪矐礭礱礯籔籓糲纊纇纈纋纆纍罍羻耰臝蘘蘪蘦蘟蘣蘜蘙蘧蘮蘡蘠蘩蘞蘥�".split("");for(a=0;a!=t[245].length;++a)if(t[245][a].charCodeAt(0)!==65533){r[t[245][a]]=62720+a;e[62720+a]=t[245][a]}t[246]="����������������������������������������������������������������蠩蠝蠛蠠蠤蠜蠫衊襭襩襮襫觺譹譸譅譺譻贐贔趯躎躌轞轛轝酆酄酅醹鐿鐻鐶鐩鐽鐼鐰鐹鐪鐷鐬鑀鐱闥闤闣霵霺鞿韡顤飉飆飀饘饖騹騽驆驄驂驁騺����������������������������������騿髍鬕鬗鬘鬖鬺魒鰫鰝鰜鰬鰣鰨鰩鰤鰡鶷鶶鶼鷁鷇鷊鷏鶾鷅鷃鶻鶵鷎鶹鶺鶬鷈鶱鶭鷌鶳鷍鶲鹺麜黫黮黭鼛鼘鼚鼱齎齥齤龒亹囆囅囋奱孋孌巕巑廲攡攠攦攢欋欈欉氍灕灖灗灒爞爟犩獿瓘瓕瓙瓗癭皭礵禴穰穱籗籜籙籛籚�".split("");for(a=0;a!=t[246].length;++a)if(t[246][a].charCodeAt(0)!==65533){r[t[246][a]]=62976+a;e[62976+a]=t[246][a]}t[247]="����������������������������������������������������������������糴糱纑罏羇臞艫蘴蘵蘳蘬蘲蘶蠬蠨蠦蠪蠥襱覿覾觻譾讄讂讆讅譿贕躕躔躚躒躐躖躗轠轢酇鑌鑐鑊鑋鑏鑇鑅鑈鑉鑆霿韣顪顩飋饔饛驎驓驔驌驏驈驊����������������������������������驉驒驐髐鬙鬫鬻魖魕鱆鱈鰿鱄鰹鰳鱁鰼鰷鰴鰲鰽鰶鷛鷒鷞鷚鷋鷐鷜鷑鷟鷩鷙鷘鷖鷵鷕鷝麶黰鼵鼳鼲齂齫龕龢儽劙壨壧奲孍巘蠯彏戁戃戄攩攥斖曫欑欒欏毊灛灚爢玂玁玃癰矔籧籦纕艬蘺虀蘹蘼蘱蘻蘾蠰蠲蠮蠳襶襴襳觾�".split("");for(a=0;a!=t[247].length;++a)if(t[247][a].charCodeAt(0)!==65533){r[t[247][a]]=63232+a;e[63232+a]=t[247][a]}t[248]="����������������������������������������������������������������讌讎讋讈豅贙躘轤轣醼鑢鑕鑝鑗鑞韄韅頀驖驙鬞鬟鬠鱒鱘鱐鱊鱍鱋鱕鱙鱌鱎鷻鷷鷯鷣鷫鷸鷤鷶鷡鷮鷦鷲鷰鷢鷬鷴鷳鷨鷭黂黐黲黳鼆鼜鼸鼷鼶齃齏����������������������������������齱齰齮齯囓囍孎屭攭曭曮欓灟灡灝灠爣瓛瓥矕礸禷禶籪纗羉艭虃蠸蠷蠵衋讔讕躞躟躠躝醾醽釂鑫鑨鑩雥靆靃靇韇韥驞髕魙鱣鱧鱦鱢鱞鱠鸂鷾鸇鸃鸆鸅鸀鸁鸉鷿鷽鸄麠鼞齆齴齵齶囔攮斸欘欙欗欚灢爦犪矘矙礹籩籫糶纚�".split("");for(a=0;a!=t[248].length;++a)if(t[248][a].charCodeAt(0)!==65533){r[t[248][a]]=63488+a;e[63488+a]=t[248][a]}t[249]="����������������������������������������������������������������纘纛纙臠臡虆虇虈襹襺襼襻觿讘讙躥躤躣鑮鑭鑯鑱鑳靉顲饟鱨鱮鱭鸋鸍鸐鸏鸒鸑麡黵鼉齇齸齻齺齹圞灦籯蠼趲躦釃鑴鑸鑶鑵驠鱴鱳鱱鱵鸔鸓黶鼊����������������������������������龤灨灥糷虪蠾蠽蠿讞貜躩軉靋顳顴飌饡馫驤驦驧鬤鸕鸗齈戇欞爧虌躨钂钀钁驩驨鬮鸙爩虋讟钃鱹麷癵驫鱺鸝灩灪麤齾齉龘碁銹裏墻恒粧嫺╔╦╗╠╬╣╚╩╝╒╤╕╞╪╡╘╧╛╓╥╖╟╫╢╙╨╜║═╭╮╰╯▓�".split("");for(a=0;a!=t[249].length;++a)if(t[249][a].charCodeAt(0)!==65533){r[t[249][a]]=63744+a;e[63744+a]=t[249][a]}return{enc:r,dec:e}}();cptable[1250]=function(){var e="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€�‚�„…†‡�‰Š‹ŚŤŽŹ�‘’“”•–—�™š›śťžź ˇ˘Ł¤Ą¦§¨©Ş«¬­®Ż°±˛ł´µ¶·¸ąş»Ľ˝ľżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[1251]=function(){var e="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ЂЃ‚ѓ„…†‡€‰Љ‹ЊЌЋЏђ‘’“”•–—�™љ›њќћџ ЎўЈ¤Ґ¦§Ё©Є«¬­®Ї°±Ііґµ¶·ё№є»јЅѕїАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[1252]=function(){var e="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€�‚ƒ„…†‡ˆ‰Š‹Œ�Ž��‘’“”•–—˜™š›œ�žŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[1253]=function(){var e="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€�‚ƒ„…†‡�‰�‹�����‘’“”•–—�™�›���� ΅Ά£¤¥¦§¨©�«¬­®―°±²³΄µ¶·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[1254]=function(){var e="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€�‚ƒ„…†‡ˆ‰Š‹Œ����‘’“”•–—˜™š›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖ×ØÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[1255]=function(){var e="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€�‚ƒ„…†‡ˆ‰�‹�����‘’“”•–—˜™�›���� ¡¢£₪¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾¿ְֱֲֳִֵֶַָֹ�ֻּֽ־ֿ׀ׁׂ׃װױײ׳״�������אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[1256]=function(){var e="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€پ‚ƒ„…†‡ˆ‰ٹ‹Œچژڈگ‘’“”•–—ک™ڑ›œ‌‍ں ،¢£¤¥¦§¨©ھ«¬­®¯°±²³´µ¶·¸¹؛»¼½¾؟ہءآأؤإئابةتثجحخدذرزسشصض×طظعغـفقكàلâمنهوçèéêëىيîïًٌٍَôُِ÷ّùْûü‎‏ے",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[1257]=function(){var e="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€�‚�„…†‡�‰�‹�¨ˇ¸�‘’“”•–—�™�›�¯˛� �¢£¤�¦§Ø©Ŗ«¬­®Æ°±²³´µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž˙",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[1258]=function(){var e="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€�‚ƒ„…†‡ˆ‰�‹Œ����‘’“”•–—˜™�›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖ×ØÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[1e4]=function(){var e="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[10006]=function(){var e="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~Ĺ²É³ÖÜ΅àâä΄¨çéèê룙î‰ôö¦­ùûü†ΓΔΘΛΞΠß®©ΣΪ§≠°·Α±≤≥¥ΒΕΖΗΙΚΜΦΫΨΩάΝ¬ΟΡ≈Τ«»… ΥΧΆΈœ–―“”‘’÷ΉΊΌΎέήίόΏύαβψδεφγηιξκλμνοπώρστθωςχυζϊϋΐΰ�",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[10007]=function(){var e="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°¢£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµ∂ЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[10008]=function(){var e=[],r={},t=[],a;t[0]="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€���������������������������������������������������������������������������������������".split("");for(a=0;a!=t[0].length;++a)if(t[0][a].charCodeAt(0)!==65533){r[t[0][a]]=0+a;e[0+a]=t[0][a]}t[161]="����������������������������������������������������������������������������������������������������������������������������������������������������������������� 、。・ˉˇ¨〃々―~�…‘’“”〔〕〈〉《》「」『』〖〗【】±×÷∶∧∨∑∏∪∩∈∷√⊥∥∠⌒⊙∫∮≡≌≈∽∝≠≮≯≤≥∞∵∴♂♀°′″℃$¤¢£‰§№☆★○●◎◇◆□■△▲※→←↑↓〓�".split("");for(a=0;a!=t[161].length;++a)if(t[161][a].charCodeAt(0)!==65533){r[t[161][a]]=41216+a;e[41216+a]=t[161][a]}t[162]="���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������⒈⒉⒊⒋⒌⒍⒎⒏⒐⒑⒒⒓⒔⒕⒖⒗⒘⒙⒚⒛⑴⑵⑶⑷⑸⑹⑺⑻⑼⑽⑾⑿⒀⒁⒂⒃⒄⒅⒆⒇①②③④⑤⑥⑦⑧⑨⑩��㈠㈡㈢㈣㈤㈥㈦㈧㈨㈩��ⅠⅡⅢⅣⅤⅥⅦⅧⅨⅩⅪⅫ���".split("");for(a=0;a!=t[162].length;++a)if(t[162][a].charCodeAt(0)!==65533){r[t[162][a]]=41472+a;e[41472+a]=t[162][a]}t[163]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������!"#¥%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|} ̄�".split("");for(a=0;a!=t[163].length;++a)if(t[163][a].charCodeAt(0)!==65533){r[t[163][a]]=41728+a;e[41728+a]=t[163][a]}t[164]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������ぁあぃいぅうぇえぉおかがきぎくぐけげこごさざしじすずせぜそぞただちぢっつづてでとどなにぬねのはばぱひびぴふぶぷへべぺほぼぽまみむめもゃやゅゆょよらりるれろゎわゐゑをん������������".split("");for(a=0;a!=t[164].length;++a)if(t[164][a].charCodeAt(0)!==65533){r[t[164][a]]=41984+a;e[41984+a]=t[164][a]}t[165]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������ァアィイゥウェエォオカガキギクグケゲコゴサザシジスズセゼソゾタダチヂッツヅテデトドナニヌネノハバパヒビピフブプヘベペホボポマミムメモャヤュユョヨラリルレロヮワヰヱヲンヴヵヶ���������".split("");for(a=0;a!=t[165].length;++a)if(t[165][a].charCodeAt(0)!==65533){r[t[165][a]]=42240+a;e[42240+a]=t[165][a]}t[166]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ��������αβγδεζηθικλμνξοπρστυφχψω���������������������������������������".split("");for(a=0;a!=t[166].length;++a)if(t[166][a].charCodeAt(0)!==65533){ +r[t[166][a]]=42496+a;e[42496+a]=t[166][a]}t[167]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ���������������абвгдеёжзийклмнопрстуфхцчшщъыьэюя��������������".split("");for(a=0;a!=t[167].length;++a)if(t[167][a].charCodeAt(0)!==65533){r[t[167][a]]=42752+a;e[42752+a]=t[167][a]}t[168]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������āáǎàēéěèīíǐìōóǒòūúǔùǖǘǚǜüê����������ㄅㄆㄇㄈㄉㄊㄋㄌㄍㄎㄏㄐㄑㄒㄓㄔㄕㄖㄗㄘㄙㄚㄛㄜㄝㄞㄟㄠㄡㄢㄣㄤㄥㄦㄧㄨㄩ����������������������".split("");for(a=0;a!=t[168].length;++a)if(t[168][a].charCodeAt(0)!==65533){r[t[168][a]]=43008+a;e[43008+a]=t[168][a]}t[169]="��������������������������������������������������������������������������������������������������������������������������������������������������������������������─━│┃┄┅┆┇┈┉┊┋┌┍┎┏┐┑┒┓└┕┖┗┘┙┚┛├┝┞┟┠┡┢┣┤┥┦┧┨┩┪┫┬┭┮┯┰┱┲┳┴┵┶┷┸┹┺┻┼┽┾┿╀╁╂╃╄╅╆╇╈╉╊╋����������������".split("");for(a=0;a!=t[169].length;++a)if(t[169][a].charCodeAt(0)!==65533){r[t[169][a]]=43264+a;e[43264+a]=t[169][a]}t[176]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������啊阿埃挨哎唉哀皑癌蔼矮艾碍爱隘鞍氨安俺按暗岸胺案肮昂盎凹敖熬翱袄傲奥懊澳芭捌扒叭吧笆八疤巴拔跋靶把耙坝霸罢爸白柏百摆佰败拜稗斑班搬扳般颁板版扮拌伴瓣半办绊邦帮梆榜膀绑棒磅蚌镑傍谤苞胞包褒剥�".split("");for(a=0;a!=t[176].length;++a)if(t[176][a].charCodeAt(0)!==65533){r[t[176][a]]=45056+a;e[45056+a]=t[176][a]}t[177]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������薄雹保堡饱宝抱报暴豹鲍爆杯碑悲卑北辈背贝钡倍狈备惫焙被奔苯本笨崩绷甭泵蹦迸逼鼻比鄙笔彼碧蓖蔽毕毙毖币庇痹闭敝弊必辟壁臂避陛鞭边编贬扁便变卞辨辩辫遍标彪膘表鳖憋别瘪彬斌濒滨宾摈兵冰柄丙秉饼炳�".split("");for(a=0;a!=t[177].length;++a)if(t[177][a].charCodeAt(0)!==65533){r[t[177][a]]=45312+a;e[45312+a]=t[177][a]}t[178]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������病并玻菠播拨钵波博勃搏铂箔伯帛舶脖膊渤泊驳捕卜哺补埠不布步簿部怖擦猜裁材才财睬踩采彩菜蔡餐参蚕残惭惨灿苍舱仓沧藏操糙槽曹草厕策侧册测层蹭插叉茬茶查碴搽察岔差诧拆柴豺搀掺蝉馋谗缠铲产阐颤昌猖�".split("");for(a=0;a!=t[178].length;++a)if(t[178][a].charCodeAt(0)!==65533){r[t[178][a]]=45568+a;e[45568+a]=t[178][a]}t[179]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������场尝常长偿肠厂敞畅唱倡超抄钞朝嘲潮巢吵炒车扯撤掣彻澈郴臣辰尘晨忱沉陈趁衬撑称城橙成呈乘程惩澄诚承逞骋秤吃痴持匙池迟弛驰耻齿侈尺赤翅斥炽充冲虫崇宠抽酬畴踌稠愁筹仇绸瞅丑臭初出橱厨躇锄雏滁除楚�".split("");for(a=0;a!=t[179].length;++a)if(t[179][a].charCodeAt(0)!==65533){r[t[179][a]]=45824+a;e[45824+a]=t[179][a]}t[180]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������础储矗搐触处揣川穿椽传船喘串疮窗幢床闯创吹炊捶锤垂春椿醇唇淳纯蠢戳绰疵茨磁雌辞慈瓷词此刺赐次聪葱囱匆从丛凑粗醋簇促蹿篡窜摧崔催脆瘁粹淬翠村存寸磋撮搓措挫错搭达答瘩打大呆歹傣戴带殆代贷袋待逮�".split("");for(a=0;a!=t[180].length;++a)if(t[180][a].charCodeAt(0)!==65533){r[t[180][a]]=46080+a;e[46080+a]=t[180][a]}t[181]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������怠耽担丹单郸掸胆旦氮但惮淡诞弹蛋当挡党荡档刀捣蹈倒岛祷导到稻悼道盗德得的蹬灯登等瞪凳邓堤低滴迪敌笛狄涤翟嫡抵底地蒂第帝弟递缔颠掂滇碘点典靛垫电佃甸店惦奠淀殿碉叼雕凋刁掉吊钓调跌爹碟蝶迭谍叠�".split("");for(a=0;a!=t[181].length;++a)if(t[181][a].charCodeAt(0)!==65533){r[t[181][a]]=46336+a;e[46336+a]=t[181][a]}t[182]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������丁盯叮钉顶鼎锭定订丢东冬董懂动栋侗恫冻洞兜抖斗陡豆逗痘都督毒犊独读堵睹赌杜镀肚度渡妒端短锻段断缎堆兑队对墩吨蹲敦顿囤钝盾遁掇哆多夺垛躲朵跺舵剁惰堕蛾峨鹅俄额讹娥恶厄扼遏鄂饿恩而儿耳尔饵洱二�".split("");for(a=0;a!=t[182].length;++a)if(t[182][a].charCodeAt(0)!==65533){r[t[182][a]]=46592+a;e[46592+a]=t[182][a]}t[183]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������贰发罚筏伐乏阀法珐藩帆番翻樊矾钒繁凡烦反返范贩犯饭泛坊芳方肪房防妨仿访纺放菲非啡飞肥匪诽吠肺废沸费芬酚吩氛分纷坟焚汾粉奋份忿愤粪丰封枫蜂峰锋风疯烽逢冯缝讽奉凤佛否夫敷肤孵扶拂辐幅氟符伏俘服�".split("");for(a=0;a!=t[183].length;++a)if(t[183][a].charCodeAt(0)!==65533){r[t[183][a]]=46848+a;e[46848+a]=t[183][a]}t[184]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������浮涪福袱弗甫抚辅俯釜斧脯腑府腐赴副覆赋复傅付阜父腹负富讣附妇缚咐噶嘎该改概钙盖溉干甘杆柑竿肝赶感秆敢赣冈刚钢缸肛纲岗港杠篙皋高膏羔糕搞镐稿告哥歌搁戈鸽胳疙割革葛格蛤阁隔铬个各给根跟耕更庚羹�".split("");for(a=0;a!=t[184].length;++a)if(t[184][a].charCodeAt(0)!==65533){r[t[184][a]]=47104+a;e[47104+a]=t[184][a]}t[185]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������埂耿梗工攻功恭龚供躬公宫弓巩汞拱贡共钩勾沟苟狗垢构购够辜菇咕箍估沽孤姑鼓古蛊骨谷股故顾固雇刮瓜剐寡挂褂乖拐怪棺关官冠观管馆罐惯灌贯光广逛瑰规圭硅归龟闺轨鬼诡癸桂柜跪贵刽辊滚棍锅郭国果裹过哈�".split("");for(a=0;a!=t[185].length;++a)if(t[185][a].charCodeAt(0)!==65533){r[t[185][a]]=47360+a;e[47360+a]=t[185][a]}t[186]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������骸孩海氦亥害骇酣憨邯韩含涵寒函喊罕翰撼捍旱憾悍焊汗汉夯杭航壕嚎豪毫郝好耗号浩呵喝荷菏核禾和何合盒貉阂河涸赫褐鹤贺嘿黑痕很狠恨哼亨横衡恒轰哄烘虹鸿洪宏弘红喉侯猴吼厚候后呼乎忽瑚壶葫胡蝴狐糊湖�".split("");for(a=0;a!=t[186].length;++a)if(t[186][a].charCodeAt(0)!==65533){r[t[186][a]]=47616+a;e[47616+a]=t[186][a]}t[187]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������弧虎唬护互沪户花哗华猾滑画划化话槐徊怀淮坏欢环桓还缓换患唤痪豢焕涣宦幻荒慌黄磺蝗簧皇凰惶煌晃幌恍谎灰挥辉徽恢蛔回毁悔慧卉惠晦贿秽会烩汇讳诲绘荤昏婚魂浑混豁活伙火获或惑霍货祸击圾基机畸稽积箕�".split("");for(a=0;a!=t[187].length;++a)if(t[187][a].charCodeAt(0)!==65533){r[t[187][a]]=47872+a;e[47872+a]=t[187][a]}t[188]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������肌饥迹激讥鸡姬绩缉吉极棘辑籍集及急疾汲即嫉级挤几脊己蓟技冀季伎祭剂悸济寄寂计记既忌际妓继纪嘉枷夹佳家加荚颊贾甲钾假稼价架驾嫁歼监坚尖笺间煎兼肩艰奸缄茧检柬碱硷拣捡简俭剪减荐槛鉴践贱见键箭件�".split("");for(a=0;a!=t[188].length;++a)if(t[188][a].charCodeAt(0)!==65533){r[t[188][a]]=48128+a;e[48128+a]=t[188][a]}t[189]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������健舰剑饯渐溅涧建僵姜将浆江疆蒋桨奖讲匠酱降蕉椒礁焦胶交郊浇骄娇嚼搅铰矫侥脚狡角饺缴绞剿教酵轿较叫窖揭接皆秸街阶截劫节桔杰捷睫竭洁结解姐戒藉芥界借介疥诫届巾筋斤金今津襟紧锦仅谨进靳晋禁近烬浸�".split("");for(a=0;a!=t[189].length;++a)if(t[189][a].charCodeAt(0)!==65533){r[t[189][a]]=48384+a;e[48384+a]=t[189][a]}t[190]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������尽劲荆兢茎睛晶鲸京惊精粳经井警景颈静境敬镜径痉靖竟竞净炯窘揪究纠玖韭久灸九酒厩救旧臼舅咎就疚鞠拘狙疽居驹菊局咀矩举沮聚拒据巨具距踞锯俱句惧炬剧捐鹃娟倦眷卷绢撅攫抉掘倔爵觉决诀绝均菌钧军君峻�".split("");for(a=0;a!=t[190].length;++a)if(t[190][a].charCodeAt(0)!==65533){r[t[190][a]]=48640+a;e[48640+a]=t[190][a]}t[191]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������俊竣浚郡骏喀咖卡咯开揩楷凯慨刊堪勘坎砍看康慷糠扛抗亢炕考拷烤靠坷苛柯棵磕颗科壳咳可渴克刻客课肯啃垦恳坑吭空恐孔控抠口扣寇枯哭窟苦酷库裤夸垮挎跨胯块筷侩快宽款匡筐狂框矿眶旷况亏盔岿窥葵奎魁傀�".split("");for(a=0;a!=t[191].length;++a)if(t[191][a].charCodeAt(0)!==65533){r[t[191][a]]=48896+a;e[48896+a]=t[191][a]}t[192]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������馈愧溃坤昆捆困括扩廓阔垃拉喇蜡腊辣啦莱来赖蓝婪栏拦篮阑兰澜谰揽览懒缆烂滥琅榔狼廊郎朗浪捞劳牢老佬姥酪烙涝勒乐雷镭蕾磊累儡垒擂肋类泪棱楞冷厘梨犁黎篱狸离漓理李里鲤礼莉荔吏栗丽厉励砾历利傈例俐�".split("");for(a=0;a!=t[192].length;++a)if(t[192][a].charCodeAt(0)!==65533){r[t[192][a]]=49152+a;e[49152+a]=t[192][a]}t[193]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������痢立粒沥隶力璃哩俩联莲连镰廉怜涟帘敛脸链恋炼练粮凉梁粱良两辆量晾亮谅撩聊僚疗燎寥辽潦了撂镣廖料列裂烈劣猎琳林磷霖临邻鳞淋凛赁吝拎玲菱零龄铃伶羚凌灵陵岭领另令溜琉榴硫馏留刘瘤流柳六龙聋咙笼窿�".split("");for(a=0;a!=t[193].length;++a)if(t[193][a].charCodeAt(0)!==65533){r[t[193][a]]=49408+a;e[49408+a]=t[193][a]}t[194]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������隆垄拢陇楼娄搂篓漏陋芦卢颅庐炉掳卤虏鲁麓碌露路赂鹿潞禄录陆戮驴吕铝侣旅履屡缕虑氯律率滤绿峦挛孪滦卵乱掠略抡轮伦仑沦纶论萝螺罗逻锣箩骡裸落洛骆络妈麻玛码蚂马骂嘛吗埋买麦卖迈脉瞒馒蛮满蔓曼慢漫�".split("");for(a=0;a!=t[194].length;++a)if(t[194][a].charCodeAt(0)!==65533){r[t[194][a]]=49664+a;e[49664+a]=t[194][a]}t[195]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������谩芒茫盲氓忙莽猫茅锚毛矛铆卯茂冒帽貌贸么玫枚梅酶霉煤没眉媒镁每美昧寐妹媚门闷们萌蒙檬盟锰猛梦孟眯醚靡糜迷谜弥米秘觅泌蜜密幂棉眠绵冕免勉娩缅面苗描瞄藐秒渺庙妙蔑灭民抿皿敏悯闽明螟鸣铭名命谬摸�".split("");for(a=0;a!=t[195].length;++a)if(t[195][a].charCodeAt(0)!==65533){r[t[195][a]]=49920+a;e[49920+a]=t[195][a]}t[196]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������摹蘑模膜磨摩魔抹末莫墨默沫漠寞陌谋牟某拇牡亩姆母墓暮幕募慕木目睦牧穆拿哪呐钠那娜纳氖乃奶耐奈南男难囊挠脑恼闹淖呢馁内嫩能妮霓倪泥尼拟你匿腻逆溺蔫拈年碾撵捻念娘酿鸟尿捏聂孽啮镊镍涅您柠狞凝宁�".split("");for(a=0;a!=t[196].length;++a)if(t[196][a].charCodeAt(0)!==65533){r[t[196][a]]=50176+a;e[50176+a]=t[196][a]}t[197]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������拧泞牛扭钮纽脓浓农弄奴努怒女暖虐疟挪懦糯诺哦欧鸥殴藕呕偶沤啪趴爬帕怕琶拍排牌徘湃派攀潘盘磐盼畔判叛乓庞旁耪胖抛咆刨炮袍跑泡呸胚培裴赔陪配佩沛喷盆砰抨烹澎彭蓬棚硼篷膨朋鹏捧碰坯砒霹批披劈琵毗�".split("");for(a=0;a!=t[197].length;++a)if(t[197][a].charCodeAt(0)!==65533){r[t[197][a]]=50432+a;e[50432+a]=t[197][a]}t[198]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������啤脾疲皮匹痞僻屁譬篇偏片骗飘漂瓢票撇瞥拼频贫品聘乒坪苹萍平凭瓶评屏坡泼颇婆破魄迫粕剖扑铺仆莆葡菩蒲埔朴圃普浦谱曝瀑期欺栖戚妻七凄漆柒沏其棋奇歧畦崎脐齐旗祈祁骑起岂乞企启契砌器气迄弃汽泣讫掐�".split("");for(a=0;a!=t[198].length;++a)if(t[198][a].charCodeAt(0)!==65533){r[t[198][a]]=50688+a;e[50688+a]=t[198][a]}t[199]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������恰洽牵扦钎铅千迁签仟谦乾黔钱钳前潜遣浅谴堑嵌欠歉枪呛腔羌墙蔷强抢橇锹敲悄桥瞧乔侨巧鞘撬翘峭俏窍切茄且怯窃钦侵亲秦琴勤芹擒禽寝沁青轻氢倾卿清擎晴氰情顷请庆琼穷秋丘邱球求囚酋泅趋区蛆曲躯屈驱渠�".split("");for(a=0;a!=t[199].length;++a)if(t[199][a].charCodeAt(0)!==65533){r[t[199][a]]=50944+a;e[50944+a]=t[199][a]}t[200]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������取娶龋趣去圈颧权醛泉全痊拳犬券劝缺炔瘸却鹊榷确雀裙群然燃冉染瓤壤攘嚷让饶扰绕惹热壬仁人忍韧任认刃妊纫扔仍日戎茸蓉荣融熔溶容绒冗揉柔肉茹蠕儒孺如辱乳汝入褥软阮蕊瑞锐闰润若弱撒洒萨腮鳃塞赛三叁�".split("");for(a=0;a!=t[200].length;++a)if(t[200][a].charCodeAt(0)!==65533){r[t[200][a]]=51200+a;e[51200+a]=t[200][a]}t[201]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������伞散桑嗓丧搔骚扫嫂瑟色涩森僧莎砂杀刹沙纱傻啥煞筛晒珊苫杉山删煽衫闪陕擅赡膳善汕扇缮墒伤商赏晌上尚裳梢捎稍烧芍勺韶少哨邵绍奢赊蛇舌舍赦摄射慑涉社设砷申呻伸身深娠绅神沈审婶甚肾慎渗声生甥牲升绳�".split("");for(a=0;a!=t[201].length;++a)if(t[201][a].charCodeAt(0)!==65533){r[t[201][a]]=51456+a;e[51456+a]=t[201][a]}t[202]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������省盛剩胜圣师失狮施湿诗尸虱十石拾时什食蚀实识史矢使屎驶始式示士世柿事拭誓逝势是嗜噬适仕侍释饰氏市恃室视试收手首守寿授售受瘦兽蔬枢梳殊抒输叔舒淑疏书赎孰熟薯暑曙署蜀黍鼠属术述树束戍竖墅庶数漱�".split("");for(a=0;a!=t[202].length;++a)if(t[202][a].charCodeAt(0)!==65533){r[t[202][a]]=51712+a;e[51712+a]=t[202][a]}t[203]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������恕刷耍摔衰甩帅栓拴霜双爽谁水睡税吮瞬顺舜说硕朔烁斯撕嘶思私司丝死肆寺嗣四伺似饲巳松耸怂颂送宋讼诵搜艘擞嗽苏酥俗素速粟僳塑溯宿诉肃酸蒜算虽隋随绥髓碎岁穗遂隧祟孙损笋蓑梭唆缩琐索锁所塌他它她塔�".split("");for(a=0;a!=t[203].length;++a)if(t[203][a].charCodeAt(0)!==65533){r[t[203][a]]=51968+a;e[51968+a]=t[203][a]}t[204]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������獭挞蹋踏胎苔抬台泰酞太态汰坍摊贪瘫滩坛檀痰潭谭谈坦毯袒碳探叹炭汤塘搪堂棠膛唐糖倘躺淌趟烫掏涛滔绦萄桃逃淘陶讨套特藤腾疼誊梯剔踢锑提题蹄啼体替嚏惕涕剃屉天添填田甜恬舔腆挑条迢眺跳贴铁帖厅听烃�".split("");for(a=0;a!=t[204].length;++a)if(t[204][a].charCodeAt(0)!==65533){r[t[204][a]]=52224+a;e[52224+a]=t[204][a]}t[205]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������汀廷停亭庭挺艇通桐酮瞳同铜彤童桶捅筒统痛偷投头透凸秃突图徒途涂屠土吐兔湍团推颓腿蜕褪退吞屯臀拖托脱鸵陀驮驼椭妥拓唾挖哇蛙洼娃瓦袜歪外豌弯湾玩顽丸烷完碗挽晚皖惋宛婉万腕汪王亡枉网往旺望忘妄威�".split("");for(a=0;a!=t[205].length;++a)if(t[205][a].charCodeAt(0)!==65533){r[t[205][a]]=52480+a;e[52480+a]=t[205][a]}t[206]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������巍微危韦违桅围唯惟为潍维苇萎委伟伪尾纬未蔚味畏胃喂魏位渭谓尉慰卫瘟温蚊文闻纹吻稳紊问嗡翁瓮挝蜗涡窝我斡卧握沃巫呜钨乌污诬屋无芜梧吾吴毋武五捂午舞伍侮坞戊雾晤物勿务悟误昔熙析西硒矽晰嘻吸锡牺�".split("");for(a=0;a!=t[206].length;++a)if(t[206][a].charCodeAt(0)!==65533){r[t[206][a]]=52736+a;e[52736+a]=t[206][a]}t[207]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������稀息希悉膝夕惜熄烯溪汐犀檄袭席习媳喜铣洗系隙戏细瞎虾匣霞辖暇峡侠狭下厦夏吓掀锨先仙鲜纤咸贤衔舷闲涎弦嫌显险现献县腺馅羡宪陷限线相厢镶香箱襄湘乡翔祥详想响享项巷橡像向象萧硝霄削哮嚣销消宵淆晓�".split("");for(a=0;a!=t[207].length;++a)if(t[207][a].charCodeAt(0)!==65533){r[t[207][a]]=52992+a;e[52992+a]=t[207][a]}t[208]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������小孝校肖啸笑效楔些歇蝎鞋协挟携邪斜胁谐写械卸蟹懈泄泻谢屑薪芯锌欣辛新忻心信衅星腥猩惺兴刑型形邢行醒幸杏性姓兄凶胸匈汹雄熊休修羞朽嗅锈秀袖绣墟戌需虚嘘须徐许蓄酗叙旭序畜恤絮婿绪续轩喧宣悬旋玄�".split("");for(a=0;a!=t[208].length;++a)if(t[208][a].charCodeAt(0)!==65533){r[t[208][a]]=53248+a;e[53248+a]=t[208][a]}t[209]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������选癣眩绚靴薛学穴雪血勋熏循旬询寻驯巡殉汛训讯逊迅压押鸦鸭呀丫芽牙蚜崖衙涯雅哑亚讶焉咽阉烟淹盐严研蜒岩延言颜阎炎沿奄掩眼衍演艳堰燕厌砚雁唁彦焰宴谚验殃央鸯秧杨扬佯疡羊洋阳氧仰痒养样漾邀腰妖瑶�".split("");for(a=0;a!=t[209].length;++a)if(t[209][a].charCodeAt(0)!==65533){r[t[209][a]]=53504+a;e[53504+a]=t[209][a]}t[210]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������摇尧遥窑谣姚咬舀药要耀椰噎耶爷野冶也页掖业叶曳腋夜液一壹医揖铱依伊衣颐夷遗移仪胰疑沂宜姨彝椅蚁倚已乙矣以艺抑易邑屹亿役臆逸肄疫亦裔意毅忆义益溢诣议谊译异翼翌绎茵荫因殷音阴姻吟银淫寅饮尹引隐�".split("");for(a=0;a!=t[210].length;++a)if(t[210][a].charCodeAt(0)!==65533){r[t[210][a]]=53760+a;e[53760+a]=t[210][a]}t[211]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������印英樱婴鹰应缨莹萤营荧蝇迎赢盈影颖硬映哟拥佣臃痈庸雍踊蛹咏泳涌永恿勇用幽优悠忧尤由邮铀犹油游酉有友右佑釉诱又幼迂淤于盂榆虞愚舆余俞逾鱼愉渝渔隅予娱雨与屿禹宇语羽玉域芋郁吁遇喻峪御愈欲狱育誉�".split("");for(a=0;a!=t[211].length;++a)if(t[211][a].charCodeAt(0)!==65533){r[t[211][a]]=54016+a;e[54016+a]=t[211][a]}t[212]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������浴寓裕预豫驭鸳渊冤元垣袁原援辕园员圆猿源缘远苑愿怨院曰约越跃钥岳粤月悦阅耘云郧匀陨允运蕴酝晕韵孕匝砸杂栽哉灾宰载再在咱攒暂赞赃脏葬遭糟凿藻枣早澡蚤躁噪造皂灶燥责择则泽贼怎增憎曾赠扎喳渣札轧�".split("");for(a=0;a!=t[212].length;++a)if(t[212][a].charCodeAt(0)!==65533){r[t[212][a]]=54272+a;e[54272+a]=t[212][a]}t[213]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������铡闸眨栅榨咋乍炸诈摘斋宅窄债寨瞻毡詹粘沾盏斩辗崭展蘸栈占战站湛绽樟章彰漳张掌涨杖丈帐账仗胀瘴障招昭找沼赵照罩兆肇召遮折哲蛰辙者锗蔗这浙珍斟真甄砧臻贞针侦枕疹诊震振镇阵蒸挣睁征狰争怔整拯正政�".split("");for(a=0;a!=t[213].length;++a)if(t[213][a].charCodeAt(0)!==65533){r[t[213][a]]=54528+a;e[54528+a]=t[213][a]}t[214]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������帧症郑证芝枝支吱蜘知肢脂汁之织职直植殖执值侄址指止趾只旨纸志挚掷至致置帜峙制智秩稚质炙痔滞治窒中盅忠钟衷终种肿重仲众舟周州洲诌粥轴肘帚咒皱宙昼骤珠株蛛朱猪诸诛逐竹烛煮拄瞩嘱主著柱助蛀贮铸筑�".split("");for(a=0;a!=t[214].length;++a)if(t[214][a].charCodeAt(0)!==65533){r[t[214][a]]=54784+a;e[54784+a]=t[214][a]}t[215]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������住注祝驻抓爪拽专砖转撰赚篆桩庄装妆撞壮状椎锥追赘坠缀谆准捉拙卓桌琢茁酌啄着灼浊兹咨资姿滋淄孜紫仔籽滓子自渍字鬃棕踪宗综总纵邹走奏揍租足卒族祖诅阻组钻纂嘴醉最罪尊遵昨左佐柞做作坐座������".split("");for(a=0;a!=t[215].length;++a)if(t[215][a].charCodeAt(0)!==65533){r[t[215][a]]=55040+a;e[55040+a]=t[215][a]}t[216]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������亍丌兀丐廿卅丕亘丞鬲孬噩丨禺丿匕乇夭爻卮氐囟胤馗毓睾鼗丶亟鼐乜乩亓芈孛啬嘏仄厍厝厣厥厮靥赝匚叵匦匮匾赜卦卣刂刈刎刭刳刿剀剌剞剡剜蒯剽劂劁劐劓冂罔亻仃仉仂仨仡仫仞伛仳伢佤仵伥伧伉伫佞佧攸佚佝�".split("");for(a=0;a!=t[216].length;++a)if(t[216][a].charCodeAt(0)!==65533){r[t[216][a]]=55296+a;e[55296+a]=t[216][a]}t[217]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������佟佗伲伽佶佴侑侉侃侏佾佻侪佼侬侔俦俨俪俅俚俣俜俑俟俸倩偌俳倬倏倮倭俾倜倌倥倨偾偃偕偈偎偬偻傥傧傩傺僖儆僭僬僦僮儇儋仝氽佘佥俎龠汆籴兮巽黉馘冁夔勹匍訇匐凫夙兕亠兖亳衮袤亵脔裒禀嬴蠃羸冫冱冽冼�".split("");for(a=0;a!=t[217].length;++a)if(t[217][a].charCodeAt(0)!==65533){r[t[217][a]]=55552+a;e[55552+a]=t[217][a]}t[218]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������凇冖冢冥讠讦讧讪讴讵讷诂诃诋诏诎诒诓诔诖诘诙诜诟诠诤诨诩诮诰诳诶诹诼诿谀谂谄谇谌谏谑谒谔谕谖谙谛谘谝谟谠谡谥谧谪谫谮谯谲谳谵谶卩卺阝阢阡阱阪阽阼陂陉陔陟陧陬陲陴隈隍隗隰邗邛邝邙邬邡邴邳邶邺�".split("");for(a=0;a!=t[218].length;++a)if(t[218][a].charCodeAt(0)!==65533){r[t[218][a]]=55808+a;e[55808+a]=t[218][a]}t[219]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������邸邰郏郅邾郐郄郇郓郦郢郜郗郛郫郯郾鄄鄢鄞鄣鄱鄯鄹酃酆刍奂劢劬劭劾哿勐勖勰叟燮矍廴凵凼鬯厶弁畚巯坌垩垡塾墼壅壑圩圬圪圳圹圮圯坜圻坂坩垅坫垆坼坻坨坭坶坳垭垤垌垲埏垧垴垓垠埕埘埚埙埒垸埴埯埸埤埝�".split("");for(a=0;a!=t[219].length;++a)if(t[219][a].charCodeAt(0)!==65533){r[t[219][a]]=56064+a;e[56064+a]=t[219][a]}t[220]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������堋堍埽埭堀堞堙塄堠塥塬墁墉墚墀馨鼙懿艹艽艿芏芊芨芄芎芑芗芙芫芸芾芰苈苊苣芘芷芮苋苌苁芩芴芡芪芟苄苎芤苡茉苷苤茏茇苜苴苒苘茌苻苓茑茚茆茔茕苠苕茜荑荛荜茈莒茼茴茱莛荞茯荏荇荃荟荀茗荠茭茺茳荦荥�".split("");for(a=0;a!=t[220].length;++a)if(t[220][a].charCodeAt(0)!==65533){r[t[220][a]]=56320+a;e[56320+a]=t[220][a]}t[221]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������荨茛荩荬荪荭荮莰荸莳莴莠莪莓莜莅荼莶莩荽莸荻莘莞莨莺莼菁萁菥菘堇萘萋菝菽菖萜萸萑萆菔菟萏萃菸菹菪菅菀萦菰菡葜葑葚葙葳蒇蒈葺蒉葸萼葆葩葶蒌蒎萱葭蓁蓍蓐蓦蒽蓓蓊蒿蒺蓠蒡蒹蒴蒗蓥蓣蔌甍蔸蓰蔹蔟蔺�".split("");for(a=0;a!=t[221].length;++a)if(t[221][a].charCodeAt(0)!==65533){r[t[221][a]]=56576+a;e[56576+a]=t[221][a]}t[222]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������蕖蔻蓿蓼蕙蕈蕨蕤蕞蕺瞢蕃蕲蕻薤薨薇薏蕹薮薜薅薹薷薰藓藁藜藿蘧蘅蘩蘖蘼廾弈夼奁耷奕奚奘匏尢尥尬尴扌扪抟抻拊拚拗拮挢拶挹捋捃掭揶捱捺掎掴捭掬掊捩掮掼揲揸揠揿揄揞揎摒揆掾摅摁搋搛搠搌搦搡摞撄摭撖�".split("");for(a=0;a!=t[222].length;++a)if(t[222][a].charCodeAt(0)!==65533){r[t[222][a]]=56832+a;e[56832+a]=t[222][a]}t[223]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������摺撷撸撙撺擀擐擗擤擢攉攥攮弋忒甙弑卟叱叽叩叨叻吒吖吆呋呒呓呔呖呃吡呗呙吣吲咂咔呷呱呤咚咛咄呶呦咝哐咭哂咴哒咧咦哓哔呲咣哕咻咿哌哙哚哜咩咪咤哝哏哞唛哧唠哽唔哳唢唣唏唑唧唪啧喏喵啉啭啁啕唿啐唼�".split("");for(a=0;a!=t[223].length;++a)if(t[223][a].charCodeAt(0)!==65533){r[t[223][a]]=57088+a;e[57088+a]=t[223][a]}t[224]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������唷啖啵啶啷唳唰啜喋嗒喃喱喹喈喁喟啾嗖喑啻嗟喽喾喔喙嗪嗷嗉嘟嗑嗫嗬嗔嗦嗝嗄嗯嗥嗲嗳嗌嗍嗨嗵嗤辔嘞嘈嘌嘁嘤嘣嗾嘀嘧嘭噘嘹噗嘬噍噢噙噜噌噔嚆噤噱噫噻噼嚅嚓嚯囔囗囝囡囵囫囹囿圄圊圉圜帏帙帔帑帱帻帼�".split("");for(a=0;a!=t[224].length;++a)if(t[224][a].charCodeAt(0)!==65533){r[t[224][a]]=57344+a;e[57344+a]=t[224][a]}t[225]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������帷幄幔幛幞幡岌屺岍岐岖岈岘岙岑岚岜岵岢岽岬岫岱岣峁岷峄峒峤峋峥崂崃崧崦崮崤崞崆崛嵘崾崴崽嵬嵛嵯嵝嵫嵋嵊嵩嵴嶂嶙嶝豳嶷巅彳彷徂徇徉後徕徙徜徨徭徵徼衢彡犭犰犴犷犸狃狁狎狍狒狨狯狩狲狴狷猁狳猃狺�".split("");for(a=0;a!=t[225].length;++a)if(t[225][a].charCodeAt(0)!==65533){r[t[225][a]]=57600+a;e[57600+a]=t[225][a]}t[226]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������狻猗猓猡猊猞猝猕猢猹猥猬猸猱獐獍獗獠獬獯獾舛夥飧夤夂饣饧饨饩饪饫饬饴饷饽馀馄馇馊馍馐馑馓馔馕庀庑庋庖庥庠庹庵庾庳赓廒廑廛廨廪膺忄忉忖忏怃忮怄忡忤忾怅怆忪忭忸怙怵怦怛怏怍怩怫怊怿怡恸恹恻恺恂�".split("");for(a=0;a!=t[226].length;++a)if(t[226][a].charCodeAt(0)!==65533){r[t[226][a]]=57856+a;e[57856+a]=t[226][a]}t[227]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������恪恽悖悚悭悝悃悒悌悛惬悻悱惝惘惆惚悴愠愦愕愣惴愀愎愫慊慵憬憔憧憷懔懵忝隳闩闫闱闳闵闶闼闾阃阄阆阈阊阋阌阍阏阒阕阖阗阙阚丬爿戕氵汔汜汊沣沅沐沔沌汨汩汴汶沆沩泐泔沭泷泸泱泗沲泠泖泺泫泮沱泓泯泾�".split("");for(a=0;a!=t[227].length;++a)if(t[227][a].charCodeAt(0)!==65533){r[t[227][a]]=58112+a;e[58112+a]=t[227][a]}t[228]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������洹洧洌浃浈洇洄洙洎洫浍洮洵洚浏浒浔洳涑浯涞涠浞涓涔浜浠浼浣渚淇淅淞渎涿淠渑淦淝淙渖涫渌涮渫湮湎湫溲湟溆湓湔渲渥湄滟溱溘滠漭滢溥溧溽溻溷滗溴滏溏滂溟潢潆潇漤漕滹漯漶潋潴漪漉漩澉澍澌潸潲潼潺濑�".split("");for(a=0;a!=t[228].length;++a)if(t[228][a].charCodeAt(0)!==65533){r[t[228][a]]=58368+a;e[58368+a]=t[228][a]}t[229]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������濉澧澹澶濂濡濮濞濠濯瀚瀣瀛瀹瀵灏灞宀宄宕宓宥宸甯骞搴寤寮褰寰蹇謇辶迓迕迥迮迤迩迦迳迨逅逄逋逦逑逍逖逡逵逶逭逯遄遑遒遐遨遘遢遛暹遴遽邂邈邃邋彐彗彖彘尻咫屐屙孱屣屦羼弪弩弭艴弼鬻屮妁妃妍妩妪妣�".split("");for(a=0;a!=t[229].length;++a)if(t[229][a].charCodeAt(0)!==65533){r[t[229][a]]=58624+a;e[58624+a]=t[229][a]}t[230]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������妗姊妫妞妤姒妲妯姗妾娅娆姝娈姣姘姹娌娉娲娴娑娣娓婀婧婊婕娼婢婵胬媪媛婷婺媾嫫媲嫒嫔媸嫠嫣嫱嫖嫦嫘嫜嬉嬗嬖嬲嬷孀尕尜孚孥孳孑孓孢驵驷驸驺驿驽骀骁骅骈骊骐骒骓骖骘骛骜骝骟骠骢骣骥骧纟纡纣纥纨纩�".split("");for(a=0;a!=t[230].length;++a)if(t[230][a].charCodeAt(0)!==65533){r[t[230][a]]=58880+a;e[58880+a]=t[230][a]}t[231]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������纭纰纾绀绁绂绉绋绌绐绔绗绛绠绡绨绫绮绯绱绲缍绶绺绻绾缁缂缃缇缈缋缌缏缑缒缗缙缜缛缟缡缢缣缤缥缦缧缪缫缬缭缯缰缱缲缳缵幺畿巛甾邕玎玑玮玢玟珏珂珑玷玳珀珉珈珥珙顼琊珩珧珞玺珲琏琪瑛琦琥琨琰琮琬�".split("");for(a=0;a!=t[231].length;++a)if(t[231][a].charCodeAt(0)!==65533){r[t[231][a]]=59136+a;e[59136+a]=t[231][a]}t[232]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������琛琚瑁瑜瑗瑕瑙瑷瑭瑾璜璎璀璁璇璋璞璨璩璐璧瓒璺韪韫韬杌杓杞杈杩枥枇杪杳枘枧杵枨枞枭枋杷杼柰栉柘栊柩枰栌柙枵柚枳柝栀柃枸柢栎柁柽栲栳桠桡桎桢桄桤梃栝桕桦桁桧桀栾桊桉栩梵梏桴桷梓桫棂楮棼椟椠棹�".split("");for(a=0;a!=t[232].length;++a)if(t[232][a].charCodeAt(0)!==65533){r[t[232][a]]=59392+a;e[59392+a]=t[232][a]}t[233]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������椤棰椋椁楗棣椐楱椹楠楂楝榄楫榀榘楸椴槌榇榈槎榉楦楣楹榛榧榻榫榭槔榱槁槊槟榕槠榍槿樯槭樗樘橥槲橄樾檠橐橛樵檎橹樽樨橘橼檑檐檩檗檫猷獒殁殂殇殄殒殓殍殚殛殡殪轫轭轱轲轳轵轶轸轷轹轺轼轾辁辂辄辇辋�".split("");for(a=0;a!=t[233].length;++a)if(t[233][a].charCodeAt(0)!==65533){r[t[233][a]]=59648+a;e[59648+a]=t[233][a]}t[234]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������辍辎辏辘辚軎戋戗戛戟戢戡戥戤戬臧瓯瓴瓿甏甑甓攴旮旯旰昊昙杲昃昕昀炅曷昝昴昱昶昵耆晟晔晁晏晖晡晗晷暄暌暧暝暾曛曜曦曩贲贳贶贻贽赀赅赆赈赉赇赍赕赙觇觊觋觌觎觏觐觑牮犟牝牦牯牾牿犄犋犍犏犒挈挲掰�".split("");for(a=0;a!=t[234].length;++a)if(t[234][a].charCodeAt(0)!==65533){r[t[234][a]]=59904+a;e[59904+a]=t[234][a]}t[235]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������搿擘耄毪毳毽毵毹氅氇氆氍氕氘氙氚氡氩氤氪氲攵敕敫牍牒牖爰虢刖肟肜肓肼朊肽肱肫肭肴肷胧胨胩胪胛胂胄胙胍胗朐胝胫胱胴胭脍脎胲胼朕脒豚脶脞脬脘脲腈腌腓腴腙腚腱腠腩腼腽腭腧塍媵膈膂膑滕膣膪臌朦臊膻�".split("");for(a=0;a!=t[235].length;++a)if(t[235][a].charCodeAt(0)!==65533){r[t[235][a]]=60160+a;e[60160+a]=t[235][a]}t[236]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������臁膦欤欷欹歃歆歙飑飒飓飕飙飚殳彀毂觳斐齑斓於旆旄旃旌旎旒旖炀炜炖炝炻烀炷炫炱烨烊焐焓焖焯焱煳煜煨煅煲煊煸煺熘熳熵熨熠燠燔燧燹爝爨灬焘煦熹戾戽扃扈扉礻祀祆祉祛祜祓祚祢祗祠祯祧祺禅禊禚禧禳忑忐�".split("");for(a=0;a!=t[236].length;++a)if(t[236][a].charCodeAt(0)!==65533){r[t[236][a]]=60416+a;e[60416+a]=t[236][a]}t[237]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������怼恝恚恧恁恙恣悫愆愍慝憩憝懋懑戆肀聿沓泶淼矶矸砀砉砗砘砑斫砭砜砝砹砺砻砟砼砥砬砣砩硎硭硖硗砦硐硇硌硪碛碓碚碇碜碡碣碲碹碥磔磙磉磬磲礅磴礓礤礞礴龛黹黻黼盱眄眍盹眇眈眚眢眙眭眦眵眸睐睑睇睃睚睨�".split("");for(a=0;a!=t[237].length;++a)if(t[237][a].charCodeAt(0)!==65533){r[t[237][a]]=60672+a;e[60672+a]=t[237][a]}t[238]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������睢睥睿瞍睽瞀瞌瞑瞟瞠瞰瞵瞽町畀畎畋畈畛畲畹疃罘罡罟詈罨罴罱罹羁罾盍盥蠲钅钆钇钋钊钌钍钏钐钔钗钕钚钛钜钣钤钫钪钭钬钯钰钲钴钶钷钸钹钺钼钽钿铄铈铉铊铋铌铍铎铐铑铒铕铖铗铙铘铛铞铟铠铢铤铥铧铨铪�".split("");for(a=0;a!=t[238].length;++a)if(t[238][a].charCodeAt(0)!==65533){r[t[238][a]]=60928+a;e[60928+a]=t[238][a]}t[239]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������铩铫铮铯铳铴铵铷铹铼铽铿锃锂锆锇锉锊锍锎锏锒锓锔锕锖锘锛锝锞锟锢锪锫锩锬锱锲锴锶锷锸锼锾锿镂锵镄镅镆镉镌镎镏镒镓镔镖镗镘镙镛镞镟镝镡镢镤镥镦镧镨镩镪镫镬镯镱镲镳锺矧矬雉秕秭秣秫稆嵇稃稂稞稔�".split("");for(a=0;a!=t[239].length;++a)if(t[239][a].charCodeAt(0)!==65533){r[t[239][a]]=61184+a;e[61184+a]=t[239][a]}t[240]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������稹稷穑黏馥穰皈皎皓皙皤瓞瓠甬鸠鸢鸨鸩鸪鸫鸬鸲鸱鸶鸸鸷鸹鸺鸾鹁鹂鹄鹆鹇鹈鹉鹋鹌鹎鹑鹕鹗鹚鹛鹜鹞鹣鹦鹧鹨鹩鹪鹫鹬鹱鹭鹳疒疔疖疠疝疬疣疳疴疸痄疱疰痃痂痖痍痣痨痦痤痫痧瘃痱痼痿瘐瘀瘅瘌瘗瘊瘥瘘瘕瘙�".split("");for(a=0;a!=t[240].length;++a)if(t[240][a].charCodeAt(0)!==65533){r[t[240][a]]=61440+a;e[61440+a]=t[240][a]}t[241]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������瘛瘼瘢瘠癀瘭瘰瘿瘵癃瘾瘳癍癞癔癜癖癫癯翊竦穸穹窀窆窈窕窦窠窬窨窭窳衤衩衲衽衿袂袢裆袷袼裉裢裎裣裥裱褚裼裨裾裰褡褙褓褛褊褴褫褶襁襦襻疋胥皲皴矜耒耔耖耜耠耢耥耦耧耩耨耱耋耵聃聆聍聒聩聱覃顸颀颃�".split("");for(a=0;a!=t[241].length;++a)if(t[241][a].charCodeAt(0)!==65533){r[t[241][a]]=61696+a;e[61696+a]=t[241][a]}t[242]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������颉颌颍颏颔颚颛颞颟颡颢颥颦虍虔虬虮虿虺虼虻蚨蚍蚋蚬蚝蚧蚣蚪蚓蚩蚶蛄蚵蛎蚰蚺蚱蚯蛉蛏蚴蛩蛱蛲蛭蛳蛐蜓蛞蛴蛟蛘蛑蜃蜇蛸蜈蜊蜍蜉蜣蜻蜞蜥蜮蜚蜾蝈蜴蜱蜩蜷蜿螂蜢蝽蝾蝻蝠蝰蝌蝮螋蝓蝣蝼蝤蝙蝥螓螯螨蟒�".split("");for(a=0;a!=t[242].length;++a)if(t[242][a].charCodeAt(0)!==65533){r[t[242][a]]=61952+a;e[61952+a]=t[242][a]}t[243]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������蟆螈螅螭螗螃螫蟥螬螵螳蟋蟓螽蟑蟀蟊蟛蟪蟠蟮蠖蠓蟾蠊蠛蠡蠹蠼缶罂罄罅舐竺竽笈笃笄笕笊笫笏筇笸笪笙笮笱笠笥笤笳笾笞筘筚筅筵筌筝筠筮筻筢筲筱箐箦箧箸箬箝箨箅箪箜箢箫箴篑篁篌篝篚篥篦篪簌篾篼簏簖簋�".split("");for(a=0;a!=t[243].length;++a)if(t[243][a].charCodeAt(0)!==65533){r[t[243][a]]=62208+a;e[62208+a]=t[243][a]}t[244]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������簟簪簦簸籁籀臾舁舂舄臬衄舡舢舣舭舯舨舫舸舻舳舴舾艄艉艋艏艚艟艨衾袅袈裘裟襞羝羟羧羯羰羲籼敉粑粝粜粞粢粲粼粽糁糇糌糍糈糅糗糨艮暨羿翎翕翥翡翦翩翮翳糸絷綦綮繇纛麸麴赳趄趔趑趱赧赭豇豉酊酐酎酏酤�".split("");for(a=0;a!=t[244].length;++a)if(t[244][a].charCodeAt(0)!==65533){r[t[244][a]]=62464+a;e[62464+a]=t[244][a]}t[245]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������酢酡酰酩酯酽酾酲酴酹醌醅醐醍醑醢醣醪醭醮醯醵醴醺豕鹾趸跫踅蹙蹩趵趿趼趺跄跖跗跚跞跎跏跛跆跬跷跸跣跹跻跤踉跽踔踝踟踬踮踣踯踺蹀踹踵踽踱蹉蹁蹂蹑蹒蹊蹰蹶蹼蹯蹴躅躏躔躐躜躞豸貂貊貅貘貔斛觖觞觚觜�".split("");for(a=0;a!=t[245].length;++a)if(t[245][a].charCodeAt(0)!==65533){r[t[245][a]]=62720+a;e[62720+a]=t[245][a]}t[246]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������觥觫觯訾謦靓雩雳雯霆霁霈霏霎霪霭霰霾龀龃龅龆龇龈龉龊龌黾鼋鼍隹隼隽雎雒瞿雠銎銮鋈錾鍪鏊鎏鐾鑫鱿鲂鲅鲆鲇鲈稣鲋鲎鲐鲑鲒鲔鲕鲚鲛鲞鲟鲠鲡鲢鲣鲥鲦鲧鲨鲩鲫鲭鲮鲰鲱鲲鲳鲴鲵鲶鲷鲺鲻鲼鲽鳄鳅鳆鳇鳊鳋�".split("");for(a=0;a!=t[246].length;++a)if(t[246][a].charCodeAt(0)!==65533){r[t[246][a]]=62976+a;e[62976+a]=t[246][a]}t[247]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������鳌鳍鳎鳏鳐鳓鳔鳕鳗鳘鳙鳜鳝鳟鳢靼鞅鞑鞒鞔鞯鞫鞣鞲鞴骱骰骷鹘骶骺骼髁髀髅髂髋髌髑魅魃魇魉魈魍魑飨餍餮饕饔髟髡髦髯髫髻髭髹鬈鬏鬓鬟鬣麽麾縻麂麇麈麋麒鏖麝麟黛黜黝黠黟黢黩黧黥黪黯鼢鼬鼯鼹鼷鼽鼾齄�".split("");for(a=0;a!=t[247].length;++a)if(t[247][a].charCodeAt(0)!==65533){r[t[247][a]]=63232+a;e[63232+a]=t[247][a]}return{enc:r,dec:e}}();cptable[10029]=function(){var e="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÄĀāÉĄÖÜáąČäčĆć鏟ĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņѬ√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[10079]=function(){var e="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûüÝ°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤ÐðÞþý·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[10081]=function(){var e="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙ�ˆ˜¯˘˙˚¸˝˛ˇ",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[28591]=function(){var e="\0\b\t\n\x0B\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();if(typeof module!=="undefined"&&module.exports&&typeof DO_NOT_EXPORT_CODEPAGE==="undefined")module.exports=cptable;(function(e,r){"use strict";if(typeof cptable==="undefined"){if(typeof require!=="undefined"){var t=cptable;if(typeof module!=="undefined"&&module.exports&&typeof DO_NOT_EXPORT_CODEPAGE==="undefined")module.exports=r(t);else e.cptable=r(t)}else throw new Error("cptable not found")}else cptable=r(cptable)})(this,function(e){"use strict";var r={1200:"utf16le",1201:"utf16be",12000:"utf32le",12001:"utf32be",16969:"utf64le",20127:"ascii",65000:"utf7",65001:"utf8"};var t=[874,1250,1251,1252,1253,1254,1255,1256,1e4];var a=[932,936,949,950];var n=[65001];var i={};var s={};var f={};var l={};var o=function D(e){return String.fromCharCode(e)};var c=function P(e){return e.charCodeAt(0)};var h=typeof Buffer!=="undefined";var u=function(){};if(h){var d=!Buffer.from;if(!d)try{Buffer.from("foo","utf8")}catch(v){d=true}u=d?function(e,r){return r?new Buffer(e,r):new Buffer(e)}:Buffer.from.bind(Buffer);if(!Buffer.allocUnsafe)Buffer.allocUnsafe=function(e){return new Buffer(e)};var p=1024,m=Buffer.allocUnsafe(p);var g=function L(e){var r=Buffer.allocUnsafe(65536);for(var t=0;t<65536;++t)r[t]=0;var a=Object.keys(e),n=a.length;for(var i=0,s=a[i];i<n;++i){if(!(s=a[i]))continue;r[s.charCodeAt(0)]=e[s]}return r};var b=function M(r){var t=g(e[r].enc);return function a(e,r){var a=e.length;var n,i=0,s=0,f=0,l=0;if(typeof e==="string"){n=Buffer.allocUnsafe(a);for(i=0;i<a;++i)n[i]=t[e.charCodeAt(i)]}else if(Buffer.isBuffer(e)){ +n=Buffer.allocUnsafe(2*a);s=0;for(i=0;i<a;++i){f=e[i];if(f<128)n[s++]=t[f];else if(f<224){n[s++]=t[((f&31)<<6)+(e[i+1]&63)];++i}else if(f<240){n[s++]=t[((f&15)<<12)+((e[i+1]&63)<<6)+(e[i+2]&63)];i+=2}else{l=((f&7)<<18)+((e[i+1]&63)<<12)+((e[i+2]&63)<<6)+(e[i+3]&63);i+=3;if(l<65536)n[s++]=t[l];else{l-=65536;n[s++]=t[55296+(l>>10&1023)];n[s++]=t[56320+(l&1023)]}}}n=n.slice(0,s)}else{n=Buffer.allocUnsafe(a);for(i=0;i<a;++i)n[i]=t[e[i].charCodeAt(0)]}if(!r||r==="buf")return n;if(r!=="arr")return n.toString("binary");return[].slice.call(n)}};var w=function U(r){var t=e[r].dec;var a=Buffer.allocUnsafe(131072),n=0,i="";for(n=0;n<t.length;++n){if(!(i=t[n]))continue;var s=i.charCodeAt(0);a[2*n]=s&255;a[2*n+1]=s>>8}return function f(e){var r=e.length,t=0,n=0;if(2*r>p){p=2*r;m=Buffer.allocUnsafe(p)}if(Buffer.isBuffer(e)){for(t=0;t<r;t++){n=2*e[t];m[2*t]=a[n];m[2*t+1]=a[n+1]}}else if(typeof e==="string"){for(t=0;t<r;t++){n=2*e.charCodeAt(t);m[2*t]=a[n];m[2*t+1]=a[n+1]}}else{for(t=0;t<r;t++){n=2*e[t];m[2*t]=a[n];m[2*t+1]=a[n+1]}}return m.slice(0,2*r).toString("ucs2")}};var k=function B(r){var t=e[r].enc;var a=Buffer.allocUnsafe(131072);for(var n=0;n<131072;++n)a[n]=0;var i=Object.keys(t);for(var s=0,f=i[s];s<i.length;++s){if(!(f=i[s]))continue;var l=f.charCodeAt(0);a[2*l]=t[f]&255;a[2*l+1]=t[f]>>8}return function o(e,r){var t=e.length,n=Buffer.allocUnsafe(2*t),i=0,s=0,f=0,l=0,o=0;if(typeof e==="string"){for(i=l=0;i<t;++i){s=e.charCodeAt(i)*2;n[l++]=a[s+1]||a[s];if(a[s+1]>0)n[l++]=a[s]}n=n.slice(0,l)}else if(Buffer.isBuffer(e)){for(i=l=0;i<t;++i){o=e[i];if(o<128)s=o;else if(o<224){s=((o&31)<<6)+(e[i+1]&63);++i}else if(o<240){s=((o&15)<<12)+((e[i+1]&63)<<6)+(e[i+2]&63);i+=2}else{s=((o&7)<<18)+((e[i+1]&63)<<12)+((e[i+2]&63)<<6)+(e[i+3]&63);i+=3}if(s<65536){s*=2;n[l++]=a[s+1]||a[s];if(a[s+1]>0)n[l++]=a[s]}else{f=s-65536;s=2*(55296+(f>>10&1023));n[l++]=a[s+1]||a[s];if(a[s+1]>0)n[l++]=a[s];s=2*(56320+(f&1023));n[l++]=a[s+1]||a[s];if(a[s+1]>0)n[l++]=a[s]}}n=n.slice(0,l)}else{for(i=l=0;i<t;i++){s=e[i].charCodeAt(0)*2;n[l++]=a[s+1]||a[s];if(a[s+1]>0)n[l++]=a[s]}}if(!r||r==="buf")return n;if(r!=="arr")return n.toString("binary");return[].slice.call(n)}};var T=function W(r){var t=e[r].dec;var a=Buffer.allocUnsafe(131072),n=0,i,s=0,f=0,l=0;for(l=0;l<65536;++l){a[2*l]=255;a[2*l+1]=253}for(n=0;n<t.length;++n){if(!(i=t[n]))continue;s=i.charCodeAt(0);f=2*n;a[f]=s&255;a[f+1]=s>>8}return function o(e){var r=e.length,t=Buffer.allocUnsafe(2*r),n=0,i=0,s=0;if(Buffer.isBuffer(e)){for(n=0;n<r;n++){i=2*e[n];if(a[i]===255&&a[i+1]===253){i=2*((e[n]<<8)+e[n+1]);++n}t[s++]=a[i];t[s++]=a[i+1]}}else if(typeof e==="string"){for(n=0;n<r;n++){i=2*e.charCodeAt(n);if(a[i]===255&&a[i+1]===253){i=2*((e.charCodeAt(n)<<8)+e.charCodeAt(n+1));++n}t[s++]=a[i];t[s++]=a[i+1]}}else{for(n=0;n<r;n++){i=2*e[n];if(a[i]===255&&a[i+1]===253){i=2*((e[n]<<8)+e[n+1]);++n}t[s++]=a[i];t[s++]=a[i+1]}}return t.slice(0,s).toString("ucs2")}};i[65001]=function z(e){if(typeof e==="string")return z(e.split("").map(c));var r=e.length,t=0,a=0;if(4*r>p){p=4*r;m=Buffer.allocUnsafe(p)}var n=0;if(r>=3&&e[0]==239)if(e[1]==187&&e[2]==191)n=3;for(var i=1,s=0,f=0;n<r;n+=i){i=1;f=e[n];if(f<128)t=f;else if(f<224){t=(f&31)*64+(e[n+1]&63);i=2}else if(f<240){t=((f&15)<<12)+(e[n+1]&63)*64+(e[n+2]&63);i=3}else{t=(f&7)*262144+((e[n+1]&63)<<12)+(e[n+2]&63)*64+(e[n+3]&63);i=4}if(t<65536){m[s++]=t&255;m[s++]=t>>8}else{t-=65536;a=55296+(t>>10&1023);t=56320+(t&1023);m[s++]=a&255;m[s++]=a>>>8;m[s++]=t&255;m[s++]=t>>>8&255}}return m.slice(0,s).toString("ucs2")};s[65001]=function H(e,r){if(h&&Buffer.isBuffer(e)){if(!r||r==="buf")return e;if(r!=="arr")return e.toString("binary");return[].slice.call(e)}var t=e.length,a=0,n=0,i=0;var s=typeof e==="string";if(4*t>p){p=4*t;m=Buffer.allocUnsafe(p)}for(var f=0;f<t;++f){a=s?e.charCodeAt(f):e[f].charCodeAt(0);if(a<=127)m[i++]=a;else if(a<=2047){m[i++]=192+(a>>6);m[i++]=128+(a&63)}else if(a>=55296&&a<=57343){a-=55296;++f;n=(s?e.charCodeAt(f):e[f].charCodeAt(0))-56320+(a<<10);m[i++]=240+(n>>>18&7);m[i++]=144+(n>>>12&63);m[i++]=128+(n>>>6&63);m[i++]=128+(n&63)}else{m[i++]=224+(a>>12);m[i++]=128+(a>>6&63);m[i++]=128+(a&63)}}if(!r||r==="buf")return m.slice(0,i);if(r!=="arr")return m.slice(0,i).toString("binary");return[].slice.call(m,0,i)}}var A=function V(){if(h){if(f[t[0]])return;var r=0,o=0;for(r=0;r<t.length;++r){o=t[r];if(e[o]){f[o]=w(o);l[o]=b(o)}}for(r=0;r<a.length;++r){o=a[r];if(e[o]){f[o]=T(o);l[o]=k(o)}}for(r=0;r<n.length;++r){o=n[r];if(i[o])f[o]=i[o];if(s[o])l[o]=s[o]}}};var y=function(e,r){void r;return""};var E=function X(e){delete f[e];delete l[e]};var C=function $(){if(h){if(!f[t[0]])return;t.forEach(E);a.forEach(E);n.forEach(E)}O=y;R=0};var _={encache:A,decache:C,sbcs:t,dbcs:a};A();var S="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";var x="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'(),-./:?";var O=y,R=0;var I=function G(t,a,n){if(t===R&&O){return O(a,n)}if(l[t]){O=l[R=t];return O(a,n)}if(h&&Buffer.isBuffer(a))a=a.toString("utf8");var i=a.length;var s=h?Buffer.allocUnsafe(4*i):[],f=0,c=0,d=0,v=0;var p=e[t],m,g="";var b=typeof a==="string";if(p&&(m=p.enc))for(c=0;c<i;++c,++d){f=m[b?a.charAt(c):a[c]];if(f>255){s[d]=f>>8;s[++d]=f&255}else s[d]=f&255}else if(g=r[t])switch(g){case"utf8":if(h&&b){s=u(a,g);d=s.length;break}for(c=0;c<i;++c,++d){f=b?a.charCodeAt(c):a[c].charCodeAt(0);if(f<=127)s[d]=f;else if(f<=2047){s[d]=192+(f>>6);s[++d]=128+(f&63)}else if(f>=55296&&f<=57343){f-=55296;v=(b?a.charCodeAt(++c):a[++c].charCodeAt(0))-56320+(f<<10);s[d]=240+(v>>>18&7);s[++d]=144+(v>>>12&63);s[++d]=128+(v>>>6&63);s[++d]=128+(v&63)}else{s[d]=224+(f>>12);s[++d]=128+(f>>6&63);s[++d]=128+(f&63)}}break;case"ascii":if(h&&typeof a==="string"){s=u(a,g);d=s.length;break}for(c=0;c<i;++c,++d){f=b?a.charCodeAt(c):a[c].charCodeAt(0);if(f<=127)s[d]=f;else throw new Error("bad ascii "+f)}break;case"utf16le":if(h&&typeof a==="string"){s=u(a,g);d=s.length;break}for(c=0;c<i;++c){f=b?a.charCodeAt(c):a[c].charCodeAt(0);s[d++]=f&255;s[d++]=f>>8}break;case"utf16be":for(c=0;c<i;++c){f=b?a.charCodeAt(c):a[c].charCodeAt(0);s[d++]=f>>8;s[d++]=f&255}break;case"utf32le":for(c=0;c<i;++c){f=b?a.charCodeAt(c):a[c].charCodeAt(0);if(f>=55296&&f<=57343)f=65536+(f-55296<<10)+(a[++c].charCodeAt(0)-56320);s[d++]=f&255;f>>=8;s[d++]=f&255;f>>=8;s[d++]=f&255;f>>=8;s[d++]=f&255}break;case"utf32be":for(c=0;c<i;++c){f=b?a.charCodeAt(c):a[c].charCodeAt(0);if(f>=55296&&f<=57343)f=65536+(f-55296<<10)+(a[++c].charCodeAt(0)-56320);s[d+3]=f&255;f>>=8;s[d+2]=f&255;f>>=8;s[d+1]=f&255;f>>=8;s[d]=f&255;d+=4}break;case"utf7":for(c=0;c<i;c++){var w=b?a.charAt(c):a[c].charAt(0);if(w==="+"){s[d++]=43;s[d++]=45;continue}if(x.indexOf(w)>-1){s[d++]=w.charCodeAt(0);continue}var k=G(1201,w);s[d++]=43;s[d++]=S.charCodeAt(k[0]>>2);s[d++]=S.charCodeAt(((k[0]&3)<<4)+((k[1]||0)>>4));s[d++]=S.charCodeAt(((k[1]&15)<<2)+((k[2]||0)>>6));s[d++]=45}break;default:throw new Error("Unsupported magic: "+t+" "+r[t]);}else throw new Error("Unrecognized CP: "+t);s=s.slice(0,d);if(!h)return n=="str"?s.map(o).join(""):s;if(!n||n==="buf")return s;if(n!=="arr")return s.toString("binary");return[].slice.call(s)};var N=function j(t,a){var n;if(n=f[t])return n(a);if(typeof a==="string")return j(t,a.split("").map(c));var i=a.length,s=new Array(i),l="",o=0,u=0,d=1,v=0,p=0;var m=e[t],g,b="";if(m&&(g=m.dec)){for(u=0;u<i;u+=d){d=2;l=g[(a[u]<<8)+a[u+1]];if(!l){d=1;l=g[a[u]]}if(!l)throw new Error("Unrecognized code: "+a[u]+" "+a[u+d-1]+" "+u+" "+d+" "+g[a[u]]);s[v++]=l}}else if(b=r[t])switch(b){case"utf8":if(i>=3&&a[0]==239)if(a[1]==187&&a[2]==191)u=3;for(;u<i;u+=d){d=1;if(a[u]<128)o=a[u];else if(a[u]<224){o=(a[u]&31)*64+(a[u+1]&63);d=2}else if(a[u]<240){o=((a[u]&15)<<12)+(a[u+1]&63)*64+(a[u+2]&63);d=3}else{o=(a[u]&7)*262144+((a[u+1]&63)<<12)+(a[u+2]&63)*64+(a[u+3]&63);d=4}if(o<65536){s[v++]=String.fromCharCode(o)}else{o-=65536;p=55296+(o>>10&1023);o=56320+(o&1023);s[v++]=String.fromCharCode(p);s[v++]=String.fromCharCode(o)}}break;case"ascii":if(h&&Buffer.isBuffer(a))return a.toString(b);for(u=0;u<i;u++)s[u]=String.fromCharCode(a[u]);v=i;break;case"utf16le":if(i>=2&&a[0]==255)if(a[1]==254)u=2;if(h&&Buffer.isBuffer(a))return a.toString(b);d=2;for(;u+1<i;u+=d){s[v++]=String.fromCharCode((a[u+1]<<8)+a[u])}break;case"utf16be":if(i>=2&&a[0]==254)if(a[1]==255)u=2;d=2;for(;u+1<i;u+=d){s[v++]=String.fromCharCode((a[u]<<8)+a[u+1])}break;case"utf32le":if(i>=4&&a[0]==255)if(a[1]==254&&a[2]===0&&a[3]===0)u=4;d=4;for(;u<i;u+=d){o=(a[u+3]<<24)+(a[u+2]<<16)+(a[u+1]<<8)+a[u];if(o>65535){o-=65536;s[v++]=String.fromCharCode(55296+(o>>10&1023));s[v++]=String.fromCharCode(56320+(o&1023))}else s[v++]=String.fromCharCode(o)}break;case"utf32be":if(i>=4&&a[3]==255)if(a[2]==254&&a[1]===0&&a[0]===0)u=4;d=4;for(;u<i;u+=d){o=(a[u]<<24)+(a[u+1]<<16)+(a[u+2]<<8)+a[u+3];if(o>65535){o-=65536;s[v++]=String.fromCharCode(55296+(o>>10&1023));s[v++]=String.fromCharCode(56320+(o&1023))}else s[v++]=String.fromCharCode(o)}break;case"utf7":if(i>=4&&a[0]==43&&a[1]==47&&a[2]==118){if(i>=5&&a[3]==56&&a[4]==45)u=5;else if(a[3]==56||a[3]==57||a[3]==43||a[3]==47)u=4}for(;u<i;u+=d){if(a[u]!==43){d=1;s[v++]=String.fromCharCode(a[u]);continue}d=1;if(a[u+1]===45){d=2;s[v++]="+";continue}while(String.fromCharCode(a[u+d]).match(/[A-Za-z0-9+\/]/))d++;var w=0;if(a[u+d]===45){++d;w=1}var k=[];var T="";var A=0,y=0,E=0;var C=0,_=0,x=0,O=0;for(var R=1;R<d-w;){C=S.indexOf(String.fromCharCode(a[u+R++]));_=S.indexOf(String.fromCharCode(a[u+R++]));A=C<<2|_>>4;k.push(A);x=S.indexOf(String.fromCharCode(a[u+R++]));if(x===-1)break;y=(_&15)<<4|x>>2;k.push(y);O=S.indexOf(String.fromCharCode(a[u+R++]));if(O===-1)break;E=(x&3)<<6|O;if(O<64)k.push(E)}T=j(1201,k);for(R=0;R<T.length;++R)s[v++]=T.charAt(R)}break;default:throw new Error("Unsupported magic: "+t+" "+r[t]);}else throw new Error("Unrecognized CP: "+t);return s.slice(0,v).join("")};var F=function K(t){return!!(e[t]||r[t])};e.utils={decode:N,encode:I,hascp:F,magic:r,cache:_};return e});var XLSX={};function make_xlsx_lib(e){e.version="0.20.1";var r=1200,t=1252;var a;var n=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4];var i={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 s=function(e){if(n.indexOf(e)==-1)return;t=i[0]=e};function f(){s(1252)}var l=function(e){r=e;s(e)};function o(){l(1200);f()}function c(e){var r=[];for(var t=0,a=e.length;t<a;++t)r[t]=e.charCodeAt(t);return r}function h(e){var r=[];for(var t=0;t<e.length>>1;++t)r[t]=String.fromCharCode(e.charCodeAt(2*t)+(e.charCodeAt(2*t+1)<<8));return r.join("")}function u(e){var r=[];for(var t=0;t<e.length>>1;++t)r[t]=String.fromCharCode(e[2*t]+(e[2*t+1]<<8));return r.join("")}function d(e){var r=[];for(var t=0;t<e.length>>1;++t)r[t]=String.fromCharCode(e.charCodeAt(2*t+1)+(e.charCodeAt(2*t)<<8));return r.join("")}var v=function(e){var r=e.charCodeAt(0),t=e.charCodeAt(1);if(r==255&&t==254)return h(e.slice(2));if(r==254&&t==255)return d(e.slice(2));if(r==65279)return e.slice(1);return e};var p=function oT(e){return String.fromCharCode(e)};var m=function cT(e){return String.fromCharCode(e)};function g(e){a=e;l=function(e){r=e;s(e)};v=function(e){if(e.charCodeAt(0)===255&&e.charCodeAt(1)===254){return a.utils.decode(1200,c(e.slice(2)))}return e};p=function n(e){if(r===1200)return String.fromCharCode(e);return a.utils.decode(r,[e&255,e>>8])[0]};m=function i(e){return a.utils.decode(t,[e])[0]};la()}var b=null;var w=true;var k="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function T(e){var r="";var t=0,a=0,n=0,i=0,s=0,f=0,l=0;for(var o=0;o<e.length;){t=e.charCodeAt(o++);i=t>>2;a=e.charCodeAt(o++);s=(t&3)<<4|a>>4;n=e.charCodeAt(o++);f=(a&15)<<2|n>>6;l=n&63;if(isNaN(a)){f=l=64}else if(isNaN(n)){l=64}r+=k.charAt(i)+k.charAt(s)+k.charAt(f)+k.charAt(l)}return r}function A(e){var r="";var t=0,a=0,n=0,i=0,s=0,f=0,l=0;for(var o=0;o<e.length;){t=e.charCodeAt(o++);if(t>255)t=95;i=t>>2;a=e.charCodeAt(o++);if(a>255)a=95;s=(t&3)<<4|a>>4;n=e.charCodeAt(o++);if(n>255)n=95;f=(a&15)<<2|n>>6;l=n&63;if(isNaN(a)){f=l=64}else if(isNaN(n)){l=64}r+=k.charAt(i)+k.charAt(s)+k.charAt(f)+k.charAt(l)}return r}function y(e){var r="";var t=0,a=0,n=0,i=0,s=0,f=0,l=0;for(var o=0;o<e.length;){t=e[o++];i=t>>2;a=e[o++];s=(t&3)<<4|a>>4;n=e[o++];f=(a&15)<<2|n>>6;l=n&63;if(isNaN(a)){f=l=64}else if(isNaN(n)){l=64}r+=k.charAt(i)+k.charAt(s)+k.charAt(f)+k.charAt(l)}return r}function E(e){var r="";var t=0,a=0,n=0,i=0,s=0,f=0,l=0;e=e.replace(/^data:([^\/]+\/[^\/]+)?;base64\,/,"").replace(/[^\w\+\/\=]/g,"");for(var o=0;o<e.length;){i=k.indexOf(e.charAt(o++));s=k.indexOf(e.charAt(o++));t=i<<2|s>>4;r+=String.fromCharCode(t);f=k.indexOf(e.charAt(o++));a=(s&15)<<4|f>>2;if(f!==64){r+=String.fromCharCode(a)}l=k.indexOf(e.charAt(o++));n=(f&3)<<6|l;if(l!==64){r+=String.fromCharCode(n)}}return r}var C=function(){return typeof Buffer!=="undefined"&&typeof undefined!=="undefined"&&typeof{}!=="undefined"&&!!{}.node}();var _=function(){if(typeof Buffer!=="undefined"){var e=!Buffer.from;if(!e)try{Buffer.from("foo","utf8")}catch(r){e=true}return e?function(e,r){return r?new Buffer(e,r):new Buffer(e)}:Buffer.from.bind(Buffer)}return function(){}}();var S=function(){if(typeof Buffer==="undefined")return false;var e=_([65,0]);if(!e)return false;var r=e.toString("utf16le");return r.length==1}();function x(e){if(C)return Buffer.alloc?Buffer.alloc(e):new Buffer(e);return typeof Uint8Array!="undefined"?new Uint8Array(e):new Array(e)}function O(e){if(C)return Buffer.allocUnsafe?Buffer.allocUnsafe(e):new Buffer(e);return typeof Uint8Array!="undefined"?new Uint8Array(e):new Array(e)}var R=function hT(e){if(C)return _(e,"binary");return e.split("").map(function(e){return e.charCodeAt(0)&255})};function I(e){if(typeof ArrayBuffer==="undefined")return R(e);var r=new ArrayBuffer(e.length),t=new Uint8Array(r);for(var a=0;a!=e.length;++a)t[a]=e.charCodeAt(a)&255;return r}function N(e){if(Array.isArray(e))return e.map(function(e){return String.fromCharCode(e)}).join("");var r=[];for(var t=0;t<e.length;++t)r[t]=String.fromCharCode(e[t]);return r.join("")}function F(e){if(typeof Uint8Array==="undefined")throw new Error("Unsupported");return new Uint8Array(e)}function D(e){if(typeof ArrayBuffer=="undefined")throw new Error("Unsupported");if(e instanceof ArrayBuffer)return D(new Uint8Array(e));var r=new Array(e.length);for(var t=0;t<e.length;++t)r[t]=e[t];return r}var P=C?function(e){return Buffer.concat(e.map(function(e){return Buffer.isBuffer(e)?e:_(e)}))}:function(e){if(typeof Uint8Array!=="undefined"){var r=0,t=0;for(r=0;r<e.length;++r)t+=e[r].length;var a=new Uint8Array(t);var n=0;for(r=0,t=0;r<e.length;t+=n,++r){n=e[r].length;if(e[r]instanceof Uint8Array)a.set(e[r],t);else if(typeof e[r]=="string")a.set(new Uint8Array(R(e[r])),t);else a.set(new Uint8Array(e[r]),t)}return a}return[].concat.apply([],e.map(function(e){return Array.isArray(e)?e:[].slice.call(e)}))};function L(e){var r=[],t=0,a=e.length+250;var n=x(e.length+255);for(var i=0;i<e.length;++i){var s=e.charCodeAt(i);if(s<128)n[t++]=s;else if(s<2048){n[t++]=192|s>>6&31;n[t++]=128|s&63}else if(s>=55296&&s<57344){s=(s&1023)+64;var f=e.charCodeAt(++i)&1023;n[t++]=240|s>>8&7;n[t++]=128|s>>2&63;n[t++]=128|f>>6&15|(s&3)<<4;n[t++]=128|f&63}else{n[t++]=224|s>>12&15;n[t++]=128|s>>6&63;n[t++]=128|s&63}if(t>a){r.push(n.slice(0,t));t=0;n=x(65535);a=65530}}r.push(n.slice(0,t));return P(r)}var M=/\u0000/g,U=/[\u0001-\u0006]/g;function B(e){var r="",t=e.length-1;while(t>=0)r+=e.charAt(t--);return r}function W(e,r){var t=""+e;return t.length>=r?t:Ar("0",r-t.length)+t}function z(e,r){var t=""+e;return t.length>=r?t:Ar(" ",r-t.length)+t}function H(e,r){var t=""+e;return t.length>=r?t:t+Ar(" ",r-t.length)}function V(e,r){var t=""+Math.round(e);return t.length>=r?t:Ar("0",r-t.length)+t}function X(e,r){var t=""+e;return t.length>=r?t:Ar("0",r-t.length)+t}var G=Math.pow(2,32);function j(e,r){if(e>G||e<-G)return V(e,r);var t=Math.round(e);return X(t,r)}function K(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 Y=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]];var Z=[["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 J(e){if(!e)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"秒 "';return e}var q={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"上午/下午 "hh"時"mm"分"ss"秒 "'};var Q={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0};var ee={5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',41:'_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function re(e,r,t){var a=e<0?-1:1;var n=e*a;var i=0,s=1,f=0;var l=1,o=0,c=0;var h=Math.floor(n);while(o<r){h=Math.floor(n);f=h*s+i;c=h*o+l;if(n-h<5e-8)break;n=1/(n-h);i=s;s=f;l=o;o=c}if(c>r){if(o>r){c=l;f=i}else{c=o;f=s}}if(!t)return[0,a*f,c];var u=Math.floor(a*f/c);return[u,a*f-u*c,c]}function te(e){var r=e.toPrecision(16);if(r.indexOf("e")>-1){var t=r.slice(0,r.indexOf("e"));t=t.indexOf(".")>-1?t.slice(0,t.slice(0,2)=="0."?17:16):t.slice(0,15)+Ar("0",t.length-15);return t+r.slice(r.indexOf("e"))}var a=r.indexOf(".")>-1?r.slice(0,r.slice(0,2)=="0."?17:16):r.slice(0,15)+Ar("0",r.length-15);return Number(a)}function ae(e,r,t){if(e>2958465||e<0)return null;e=te(e);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 l=new Date(1900,0,1);l.setDate(l.getDate()+a-1);s=[l.getFullYear(),l.getMonth()+1,l.getDate()];i=l.getDay();if(a<60)i=(i+6)%7;if(t)i=ce(l,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}function ne(e){return e.indexOf(".")==-1?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function ie(e){if(e.indexOf("E")==-1)return e;return e.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}function se(e){var r=e<0?12:11;var t=ne(e.toFixed(12));if(t.length<=r)return t;t=e.toPrecision(10);if(t.length<=r)return t;return e.toExponential(5)}function fe(e){var r=ne(e.toFixed(11));return r.length>(e<0?12:11)||r==="0"||r==="-0"?e.toPrecision(6):r}function le(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=se(e);else if(r===10)t=e.toFixed(10).substr(0,12);else t=fe(e);return ne(ie(t.toUpperCase()))}function oe(e,r){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(e|0)===e?e.toString(10):le(e);case"undefined":return"";case"object":if(e==null)return"";if(e instanceof Date)return ze(14,dr(e,r&&r.date1904),r);}throw new Error("unsupported value in General format: "+e)}function ce(e,r){r[0]-=581;var t=e.getDay();if(e<60)t=(t+6)%7;return t}function he(e,r,t,a){var n="",i=0,s=0,f=t.y,l,o=0;switch(e){case 98:f=t.y+543;case 121:switch(r.length){case 1:;case 2:l=f%100;o=2;break;default:l=f%1e4;o=4;break;}break;case 109:switch(r.length){case 1:;case 2:l=t.m;o=r.length;break;case 3:return Z[t.m-1][1];case 5:return Z[t.m-1][0];default:return Z[t.m-1][2];}break;case 100:switch(r.length){case 1:;case 2:l=t.d;o=r.length;break;case 3:return Y[t.q][0];default:return Y[t.q][1];}break;case 104:switch(r.length){case 1:;case 2:l=1+(t.H+11)%12;o=r.length;break;default:throw"bad hour format: "+r;}break;case 72:switch(r.length){case 1:;case 2:l=t.H;o=r.length;break;default:throw"bad hour format: "+r;}break;case 77:switch(r.length){case 1:;case 2:l=t.M;o=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 W(t.S,r.length);if(a>=2)s=a===3?1e3:100;else s=a===1?10:1;i=Math.round(s*(t.S+t.u));if(i>=60*s)i=0;if(r==="s")return i===0?"0":""+i/s;n=W(i,2+a);if(r==="ss")return n.substr(0,2);return"."+n.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+(a==0?Math.round(t.S+t.u):t.S);break;default:throw"bad abstime format: "+r;}o=r.length===3?1:2;break;case 101:l=f;o=1;break;}var c=o>0?W(l,o):"";return c}function ue(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 de=/%/g;function ve(e,r,t){var a=r.replace(de,""),n=r.length-a.length;return Fe(e,a,t*Math.pow(10,2*n))+Ar("%",n)}function pe(e,r,t){var a=r.length-1;while(r.charCodeAt(a-1)===44)--a;return Fe(e,r.substr(0,a),t/Math.pow(10,3*(r.length-a)))}function me(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"-"+me(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 ge=/# (\?+)( ?)\/( ?)(\d+)/;function be(e,r,t){var a=parseInt(e[4],10),n=Math.round(r*a),i=Math.floor(n/a);var s=n-i*a,f=a;return t+(i===0?"":""+i)+" "+(s===0?Ar(" ",e[1].length+1+e[4].length):z(s,e[1].length)+e[2]+"/"+e[3]+W(f,e[4].length))}function we(e,r,t){return t+(r===0?"":""+r)+Ar(" ",e[1].length+2+e[4].length)}var ke=/^#*0*\.([0#]+)/;var Te=/\).*[0#]/;var Ae=/\(###\) ###\\?-####/;function ye(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 Ee(e,r){var t=Math.pow(10,r);return""+Math.round(e*t)/t}function Ce(e,r){var t=e-Math.floor(e),a=Math.pow(10,r);if(r<(""+Math.round(t*a)).length)return 0;return Math.round(t*a)}function _e(e,r){if(r<(""+Math.round((e-Math.floor(e))*Math.pow(10,r))).length){return 1}return 0}function Se(e){if(e<2147483647&&e>-2147483648)return""+(e>=0?e|0:e-1|0);return""+Math.floor(e)}function xe(e,r,t){if(e.charCodeAt(0)===40&&!r.match(Te)){var a=r.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");if(t>=0)return xe("n",a,t);return"("+xe("n",a,-t)+")"}if(r.charCodeAt(r.length-1)===44)return pe(e,r,t);if(r.indexOf("%")!==-1)return ve(e,r,t);if(r.indexOf("E")!==-1)return me(r,t);if(r.charCodeAt(0)===36)return"$"+xe(e,r.substr(r.charAt(1)==" "?2:1),t);var n;var i,s,f,l=Math.abs(t),o=t<0?"-":"";if(r.match(/^00+$/))return o+j(l,r.length);if(r.match(/^[#?]+$/)){n=j(t,0);if(n==="0")n="";return n.length>r.length?n:ye(r.substr(0,r.length-n.length))+n}if(i=r.match(ge))return be(i,l,o);if(r.match(/^#+0+$/))return o+j(l,r.length-r.indexOf("0"));if(i=r.match(ke)){n=Ee(t,i[1].length).replace(/^([^\.]+)$/,"$1."+ye(i[1])).replace(/\.$/,"."+ye(i[1])).replace(/\.(\d*)$/,function(e,r){return"."+r+Ar("0",ye(i[1]).length-r.length)});return r.indexOf("0.")!==-1?n:n.replace(/^0\./,".")}r=r.replace(/^#+([0.])/,"$1");if(i=r.match(/^(0*)\.(#*)$/)){return o+Ee(l,i[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,i[1].length?"0.":".")}if(i=r.match(/^#{1,3},##0(\.?)$/))return o+ue(j(l,0));if(i=r.match(/^#,##0\.([#0]*0)$/)){return t<0?"-"+xe(e,r,-t):ue(""+(Math.floor(t)+_e(t,i[1].length)))+"."+W(Ce(t,i[1].length),i[1].length)}if(i=r.match(/^#,#*,#0/))return xe(e,r.replace(/^#,#*,/,""),t);if(i=r.match(/^([0#]+)(\\?-([0#]+))+$/)){n=B(xe(e,r.replace(/[\\-]/g,""),t));s=0;return B(B(r.replace(/\\/g,"")).replace(/[0#]/g,function(e){return s<n.length?n.charAt(s++):e==="0"?"0":""}))}if(r.match(Ae)){n=xe(e,"##########",t);return"("+n.substr(0,3)+") "+n.substr(3,3)+"-"+n.substr(6)}var c="";if(i=r.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/)){s=Math.min(i[4].length,7);f=re(l,Math.pow(10,s)-1,false);n=""+o;c=Fe("n",i[1],f[1]);if(c.charAt(c.length-1)==" ")c=c.substr(0,c.length-1)+"0";n+=c+i[2]+"/"+i[3];c=H(f[2],s);if(c.length<i[4].length)c=ye(i[4].substr(i[4].length-c.length))+c;n+=c;return n}if(i=r.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/)){s=Math.min(Math.max(i[1].length,i[4].length),7);f=re(l,Math.pow(10,s)-1,true);return o+(f[0]||(f[1]?"":"0"))+" "+(f[1]?z(f[1],s)+i[2]+"/"+i[3]+H(f[2],s):Ar(" ",2*s+1+i[2].length+i[3].length))}if(i=r.match(/^[#0?]+$/)){n=j(t,0);if(r.length<=n.length)return n;return ye(r.substr(0,r.length-n.length))+n}if(i=r.match(/^([#0?]+)\.([#0]+)$/)){n=""+t.toFixed(Math.min(i[2].length,10)).replace(/([^0])0+$/,"$1");s=n.indexOf(".");var h=r.indexOf(".")-s,u=r.length-n.length-h;return ye(r.substr(0,h)+n+r.substr(r.length-u))}if(i=r.match(/^00,000\.([#0]*0)$/)){s=Ce(t,i[1].length);return t<0?"-"+xe(e,r,-t):ue(Se(t)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(e){return"00,"+(e.length<3?W(0,3-e.length):"")+e})+"."+W(s,i[1].length)}switch(r){case"###,##0.00":return xe(e,"#,##0.00",t);case"###,###":;case"##,###":;case"#,###":var d=ue(j(l,0));return d!=="0"?o+d:"";case"###,###.00":return xe(e,"###,##0.00",t).replace(/^0\./,".");case"#,###.00":return xe(e,"#,##0.00",t).replace(/^0\./,".");default:;}throw new Error("unsupported format |"+r+"|")}function Oe(e,r,t){var a=r.length-1;while(r.charCodeAt(a-1)===44)--a;return Fe(e,r.substr(0,a),t/Math.pow(10,3*(r.length-a)))}function Re(e,r,t){var a=r.replace(de,""),n=r.length-a.length;return Fe(e,a,t*Math.pow(10,2*n))+Ar("%",n)}function Ie(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"-"+Ie(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.match(/[Ee]/)){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);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")}function Ne(e,r,t){if(e.charCodeAt(0)===40&&!r.match(Te)){var a=r.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");if(t>=0)return Ne("n",a,t);return"("+Ne("n",a,-t)+")"}if(r.charCodeAt(r.length-1)===44)return Oe(e,r,t);if(r.indexOf("%")!==-1)return Re(e,r,t);if(r.indexOf("E")!==-1)return Ie(r,t);if(r.charCodeAt(0)===36)return"$"+Ne(e,r.substr(r.charAt(1)==" "?2:1),t);var n;var i,s,f,l=Math.abs(t),o=t<0?"-":"";if(r.match(/^00+$/))return o+W(l,r.length);if(r.match(/^[#?]+$/)){n=""+t;if(t===0)n="";return n.length>r.length?n:ye(r.substr(0,r.length-n.length))+n}if(i=r.match(ge))return we(i,l,o);if(r.match(/^#+0+$/))return o+W(l,r.length-r.indexOf("0"));if(i=r.match(ke)){n=(""+t).replace(/^([^\.]+)$/,"$1."+ye(i[1])).replace(/\.$/,"."+ye(i[1]));n=n.replace(/\.(\d*)$/,function(e,r){return"."+r+Ar("0",ye(i[1]).length-r.length)});return r.indexOf("0.")!==-1?n:n.replace(/^0\./,".")}r=r.replace(/^#+([0.])/,"$1");if(i=r.match(/^(0*)\.(#*)$/)){return o+(""+l).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,i[1].length?"0.":".")}if(i=r.match(/^#{1,3},##0(\.?)$/))return o+ue(""+l);if(i=r.match(/^#,##0\.([#0]*0)$/)){return t<0?"-"+Ne(e,r,-t):ue(""+t)+"."+Ar("0",i[1].length)}if(i=r.match(/^#,#*,#0/))return Ne(e,r.replace(/^#,#*,/,""),t);if(i=r.match(/^([0#]+)(\\?-([0#]+))+$/)){n=B(Ne(e,r.replace(/[\\-]/g,""),t));s=0;return B(B(r.replace(/\\/g,"")).replace(/[0#]/g,function(e){return s<n.length?n.charAt(s++):e==="0"?"0":""}))}if(r.match(Ae)){n=Ne(e,"##########",t);return"("+n.substr(0,3)+") "+n.substr(3,3)+"-"+n.substr(6)}var c="";if(i=r.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/)){s=Math.min(i[4].length,7);f=re(l,Math.pow(10,s)-1,false);n=""+o;c=Fe("n",i[1],f[1]);if(c.charAt(c.length-1)==" ")c=c.substr(0,c.length-1)+"0";n+=c+i[2]+"/"+i[3];c=H(f[2],s);if(c.length<i[4].length)c=ye(i[4].substr(i[4].length-c.length))+c;n+=c;return n}if(i=r.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/)){s=Math.min(Math.max(i[1].length,i[4].length),7);f=re(l,Math.pow(10,s)-1,true);return o+(f[0]||(f[1]?"":"0"))+" "+(f[1]?z(f[1],s)+i[2]+"/"+i[3]+H(f[2],s):Ar(" ",2*s+1+i[2].length+i[3].length))}if(i=r.match(/^[#0?]+$/)){n=""+t;if(r.length<=n.length)return n;return ye(r.substr(0,r.length-n.length))+n}if(i=r.match(/^([#0]+)\.([#0]+)$/)){n=""+t.toFixed(Math.min(i[2].length,10)).replace(/([^0])0+$/,"$1");s=n.indexOf(".");var h=r.indexOf(".")-s,u=r.length-n.length-h;return ye(r.substr(0,h)+n+r.substr(r.length-u))}if(i=r.match(/^00,000\.([#0]*0)$/)){return t<0?"-"+Ne(e,r,-t):ue(""+t).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(e){return"00,"+(e.length<3?W(0,3-e.length):"")+e})+"."+W(0,i[1].length)}switch(r){case"###,###":;case"##,###":;case"#,###":var d=ue(""+l);return d!=="0"?o+d:"";default:if(r.match(/\.[0#?]*$/))return Ne(e,r.slice(0,r.lastIndexOf(".")),t)+ye(r.slice(r.lastIndexOf(".")));}throw new Error("unsupported format |"+r+"|")}function Fe(e,r,t){return(t|0)===t?Ne(e,r,t):xe(e,r,t)}function De(e){var r=[];var t=false;for(var a=0,n=0;a<e.length;++a)switch(e.charCodeAt(a)){case 34:t=!t;break;case 95:;case 42:;case 92:++a;break;case 59:r[r.length]=e.substr(n,a-n);n=a+1;}r[r.length]=e.substr(n);if(t===true)throw new Error("Format |"+e+"| unterminated string ");return r}var Pe=/\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;function Le(e){var r=0,t="",a="";while(r<e.length){switch(t=e.charAt(r)){case"G":if(K(e,r))r+=6;r++;break;case'"':for(;e.charCodeAt(++r)!==34&&r<e.length;){}++r;break;case"\\":r+=2;break;case"_":r+=2;break;case"@":++r;break;case"B":;case"b":if(e.charAt(r+1)==="1"||e.charAt(r+1)==="2")return true;case"M":;case"D":;case"Y":;case"H":;case"S":;case"E":;case"m":;case"d":;case"y":;case"h":;case"s":;case"e":;case"g": +return true;case"A":;case"a":;case"上":if(e.substr(r,3).toUpperCase()==="A/P")return true;if(e.substr(r,5).toUpperCase()==="AM/PM")return true;if(e.substr(r,5).toUpperCase()==="上午/下午")return true;++r;break;case"[":a=t;while(e.charAt(r++)!=="]"&&r<e.length)a+=e.charAt(r);if(a.match(Pe))return true;break;case".":;case"0":;case"#":while(r<e.length&&("0#?.,E+-%".indexOf(t=e.charAt(++r))>-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<e.length&&"0123456789".indexOf(e.charAt(++r))>-1){}break;case" ":++r;break;default:++r;break;}}return false}function Me(e,r,t,a){var n=[],i="",s=0,f="",l="t",o,c,h;var u="H";while(s<e.length){switch(f=e.charAt(s)){case"G":if(!K(e,s))throw new Error("unrecognized character "+f+" in "+e);n[n.length]={t:"G",v:"General"};s+=7;break;case'"':for(i="";(h=e.charCodeAt(++s))!==34&&s<e.length;)i+=String.fromCharCode(h);n[n.length]={t:"t",v:i};++s;break;case"\\":var d=e.charAt(++s),v=d==="("||d===")"?d:"t";n[n.length]={t:v,v:d};++s;break;case"_":n[n.length]={t:"t",v:" "};s+=2;break;case"@":n[n.length]={t:"T",v:r};++s;break;case"B":;case"b":if(e.charAt(s+1)==="1"||e.charAt(s+1)==="2"){if(o==null){o=ae(r,t,e.charAt(s+1)==="2");if(o==null)return""}n[n.length]={t:"X",v:e.substr(s,2)};l=f;s+=2;break};case"M":;case"D":;case"Y":;case"H":;case"S":;case"E":f=f.toLowerCase();case"m":;case"d":;case"y":;case"h":;case"s":;case"e":;case"g":if(r<0)return"";if(o==null){o=ae(r,t);if(o==null)return""}i=f;while(++s<e.length&&e.charAt(s).toLowerCase()===f)i+=f;if(f==="m"&&l.toLowerCase()==="h")f="M";if(f==="h")f=u;n[n.length]={t:f,v:i};l=f;break;case"A":;case"a":;case"上":var p={t:f,v:f};if(o==null)o=ae(r,t);if(e.substr(s,3).toUpperCase()==="A/P"){if(o!=null)p.v=o.H>=12?e.charAt(s+2):f;p.t="T";u="h";s+=3}else if(e.substr(s,5).toUpperCase()==="AM/PM"){if(o!=null)p.v=o.H>=12?"PM":"AM";p.t="T";s+=5;u="h"}else if(e.substr(s,5).toUpperCase()==="上午/下午"){if(o!=null)p.v=o.H>=12?"下午":"上午";p.t="T";s+=5;u="h"}else{p.t="t";++s}if(o==null&&p.t==="T")return"";n[n.length]=p;l=f;break;case"[":i=f;while(e.charAt(s++)!=="]"&&s<e.length)i+=e.charAt(s);if(i.slice(-1)!=="]")throw'unterminated "[" block: |'+i+"|";if(i.match(Pe)){if(o==null){o=ae(r,t);if(o==null)return""}n[n.length]={t:"Z",v:i.toLowerCase()};l=i.charAt(1)}else if(i.indexOf("$")>-1){i=(i.match(/\$([^-\[\]]*)/)||[])[1]||"$";if(!Le(e))n[n.length]={t:"t",v:i}}break;case".":if(o!=null){i=f;while(++s<e.length&&(f=e.charAt(s))==="0")i+=f;n[n.length]={t:"s",v:i};break};case"0":;case"#":i=f;while(++s<e.length&&"0#?.,E+-%".indexOf(f=e.charAt(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};l=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<e.length&&"0123456789".indexOf(e.charAt(++s))>-1)i+=e.charAt(s);n[n.length]={t:"D",v:i};break;case" ":n[n.length]={t:f,v:f};++s;break;case"$":n[n.length]={t:"t",v:"$"};++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 m=0,g=0,b;for(s=n.length-1,l="t";s>=0;--s){switch(n[s].t){case"h":;case"H":n[s].t=u;l="h";if(m<1)m=1;break;case"s":if(b=n[s].v.match(/\.0+$/)){g=Math.max(g,b[0].length-1);m=4}if(m<3)m=3;case"d":;case"y":;case"e":l=n[s].t;break;case"M":l=n[s].t;if(m<2)m=2;break;case"m":if(l==="s"){n[s].t="M";if(m<2)m=2}break;case"X":break;case"Z":if(m<1&&n[s].v.match(/[Hh]/))m=1;if(m<2&&n[s].v.match(/[Mm]/))m=2;if(m<3&&n[s].v.match(/[Ss]/))m=3;}}var w;switch(m){case 0:break;case 1:;case 2:;case 3:if(o.u>=.5){o.u=0;++o.S}if(o.S>=60){o.S=0;++o.M}if(o.M>=60){o.M=0;++o.H}if(o.H>=24){o.H=0;++o.D;w=ae(o.D);w.u=o.u;w.S=o.S;w.M=o.M;w.H=o.H;o=w}break;case 4:switch(g){case 1:o.u=Math.round(o.u*10)/10;break;case 2:o.u=Math.round(o.u*100)/100;break;case 3:o.u=Math.round(o.u*1e3)/1e3;break;}if(o.u>=1){o.u=0;++o.S}if(o.S>=60){o.S=0;++o.M}if(o.M>=60){o.M=0;++o.H}if(o.H>=24){o.H=0;++o.D;w=ae(o.D);w.u=o.u;w.S=o.S;w.M=o.M;w.H=o.H;o=w}break;}var k="",T;for(s=0;s<n.length;++s){switch(n[s].t){case"t":;case"T":;case" ":;case"D":break;case"X":n[s].v="";n[s].t=";";break;case"d":;case"m":;case"y":;case"h":;case"H":;case"M":;case"s":;case"e":;case"b":;case"Z":n[s].v=he(n[s].t.charCodeAt(0),n[s].v,o,g);n[s].t="t";break;case"n":;case"?":T=s+1;while(n[T]!=null&&((f=n[T].t)==="?"||f==="D"||(f===" "||f==="t")&&n[T+1]!=null&&(n[T+1].t==="?"||n[T+1].t==="t"&&n[T+1].v==="/")||n[s].t==="("&&(f===" "||f==="n"||f===")")||f==="t"&&(n[T].v==="/"||n[T].v===" "&&n[T+1]!=null&&n[T+1].t=="?"))){n[s].v+=n[T].v;n[T]={v:"",t:";"};++T}k+=n[s].v;s=T-1;break;case"G":n[s].t="t";n[s].v=oe(r,t);break;}}var A="",y,E;if(k.length>0){if(k.charCodeAt(0)==40){y=r<0&&k.charCodeAt(0)===45?-r:r;E=Fe("n",k,y)}else{y=r<0&&a>1?-r:r;E=Fe("n",k,y);if(y<0&&n[0]&&n[0].t=="t"){E=E.substr(1);n[0].v="-"+n[0].v}}T=E.length-1;var C=n.length;for(s=0;s<n.length;++s)if(n[s]!=null&&n[s].t!="t"&&n[s].v.indexOf(".")>-1){C=s;break}var _=n.length;if(C===n.length&&E.indexOf("E")===-1){for(s=n.length-1;s>=0;--s){if(n[s]==null||"n?".indexOf(n[s].t)===-1)continue;if(T>=n[s].v.length-1){T-=n[s].v.length;n[s].v=E.substr(T+1,n[s].v.length)}else if(T<0)n[s].v="";else{n[s].v=E.substr(0,T+1);T=-1}n[s].t="t";_=s}if(T>=0&&_<n.length)n[_].v=E.substr(0,T+1)+n[_].v}else if(C!==n.length&&E.indexOf("E")===-1){T=E.indexOf(".")-1;for(s=C;s>=0;--s){if(n[s]==null||"n?".indexOf(n[s].t)===-1)continue;c=n[s].v.indexOf(".")>-1&&s===C?n[s].v.indexOf(".")-1:n[s].v.length-1;A=n[s].v.substr(c+1);for(;c>=0;--c){if(T>=0&&(n[s].v.charAt(c)==="0"||n[s].v.charAt(c)==="#"))A=E.charAt(T--)+A}n[s].v=A;n[s].t="t";_=s}if(T>=0&&_<n.length)n[_].v=E.substr(0,T+1)+n[_].v;T=E.indexOf(".")+1;for(s=C;s<n.length;++s){if(n[s]==null||"n?(".indexOf(n[s].t)===-1&&s!==C)continue;c=n[s].v.indexOf(".")>-1&&s===C?n[s].v.indexOf(".")+1:0;A=n[s].v.substr(0,c);for(;c<n[s].v.length;++c){if(T<E.length)A+=E.charAt(T++)}n[s].v=A;n[s].t="t";_=s}}}for(s=0;s<n.length;++s)if(n[s]!=null&&"n?".indexOf(n[s].t)>-1){y=a>1&&r<0&&s>0&&n[s-1].v==="-"?-r:r;n[s].v=Fe(n[s].t,n[s].v,y);n[s].t="t"}var S="";for(s=0;s!==n.length;++s)if(n[s]!=null)S+=n[s].v;return S}var Ue=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function Be(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<t)return true;break;case"<>":if(e!=t)return true;break;case">=":if(e>=t)return true;break;case"<=":if(e<=t)return true;break;}return false}function We(e,r){var t=De(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(/\[[=<>]/)!=null||t[1].match(/\[[=<>]/)!=null){var s=t[0].match(Ue);var f=t[1].match(Ue);return Be(r,s)?[a,t[0]]:Be(r,f)?[a,t[1]]:[a,t[s!=null&&f!=null?2:1]]}return[a,i]}function ze(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:q)[e];if(a==null)a=t.table&&t.table[Q[e]]||q[Q[e]];if(a==null)a=ee[e]||"General";break;}if(K(a,0))return oe(r,t);if(r instanceof Date)r=dr(r,t.date1904);var n=We(a,r);if(K(n[1]))return oe(r,t);if(r===true)r="TRUE";else if(r===false)r="FALSE";else if(r===""||r==null)return"";return Me(n[1],r,t,n[0])}function He(e,r){if(typeof r!="number"){r=+r||-1;for(var t=0;t<392;++t){if(q[t]==undefined){if(r<0)r=t;continue}if(q[t]==e){r=t;break}}if(r<0)r=391}q[r]=e;return r}function Ve(e){for(var r=0;r!=392;++r)if(e[r]!==undefined)He(e[r],r)}function Xe(){q=J()}var $e={format:ze,load:He,_table:q,load_table:Ve,parse_date_code:ae,is_date:Le,get_table:function uT(){return $e._table=q}};var Ge={5:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',23:"General",24:"General",25:"General",26:"General",27:"m/d/yy",28:"m/d/yy",29:"m/d/yy",30:"m/d/yy",31:"m/d/yy",32:"h:mm:ss",33:"h:mm:ss",34:"h:mm:ss",35:"h:mm:ss",36:"m/d/yy",41:'_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* (#,##0);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)',50:"m/d/yy",51:"m/d/yy",52:"m/d/yy",53:"m/d/yy",54:"m/d/yy",55:"m/d/yy",56:"m/d/yy",57:"m/d/yy",58:"m/d/yy",59:"0",60:"0.00",61:"#,##0",62:"#,##0.00",63:'"$"#,##0_);\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',67:"0%",68:"0.00%",69:"# ?/?",70:"# ??/??",71:"m/d/yy",72:"m/d/yy",73:"d-mmm-yy",74:"d-mmm",75:"mmm-yy",76:"h:mm",77:"h:mm:ss",78:"m/d/yy h:mm",79:"mm:ss",80:"[h]:mm:ss",81:"mmss.0"};var je=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;function Ke(e){var r=typeof e=="number"?q[e]:e;r=r.replace(je,"(\\d+)");je.lastIndex=0;return new RegExp("^"+r+"$")}function Ye(e,r,t){var a=-1,n=-1,i=-1,s=-1,f=-1,l=-1;(r.match(je)||[]).forEach(function(e,r){var o=parseInt(t[r+1],10);switch(e.toLowerCase().charAt(0)){case"y":a=o;break;case"d":i=o;break;case"h":s=o;break;case"s":l=o;break;case"m":if(s>=0)f=o;else n=o;break;}});je.lastIndex=0;if(l>=0&&f==-1&&n>=0){f=n;n=-1}var o=(""+(a>=0?a:(new Date).getFullYear())).slice(-4)+"-"+("00"+(n>=1?n:1)).slice(-2)+"-"+("00"+(i>=1?i:1)).slice(-2);if(o.length==7)o="0"+o;if(o.length==8)o="20"+o;var c=("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(f>=0?f:0)).slice(-2)+":"+("00"+(l>=0?l:0)).slice(-2);if(s==-1&&f==-1&&l==-1)return o;if(a==-1&&n==-1&&i==-1)return c;return o+"T"+c}var Ze={"d.m":"d\\.m"};function Je(e,r){return He(Ze[e]||e,r)}var qe=function(){var e={};e.version="1.2.0";function r(){var e=0,r=new Array(256);for(var t=0;t!=256;++t){e=t;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;r[t]=e}return typeof Int32Array!=="undefined"?new Int32Array(r):r}var t=r();function a(e){var r=0,t=0,a=0,n=typeof Int32Array!=="undefined"?new Int32Array(4096):new Array(4096);for(a=0;a!=256;++a)n[a]=e[a];for(a=0;a!=256;++a){t=e[a];for(r=256+a;r<4096;r+=256)t=n[r]=t>>>8^e[t&255]}var i=[];for(a=1;a!=16;++a)i[a-1]=typeof Int32Array!=="undefined"&&typeof n.subarray=="function"?n.subarray(a*256,a*256+256):n.slice(a*256,a*256+256);return i}var n=a(t);var i=n[0],s=n[1],f=n[2],l=n[3],o=n[4];var c=n[5],h=n[6],u=n[7],d=n[8],v=n[9];var p=n[10],m=n[11],g=n[12],b=n[13],w=n[14];function k(e,r){var a=r^-1;for(var n=0,i=e.length;n<i;)a=a>>>8^t[(a^e.charCodeAt(n++))&255];return~a}function T(e,r){var a=r^-1,n=e.length-15,k=0;for(;k<n;)a=w[e[k++]^a&255]^b[e[k++]^a>>8&255]^g[e[k++]^a>>16&255]^m[e[k++]^a>>>24]^p[e[k++]]^v[e[k++]]^d[e[k++]]^u[e[k++]]^h[e[k++]]^c[e[k++]]^o[e[k++]]^l[e[k++]]^f[e[k++]]^s[e[k++]]^i[e[k++]]^t[e[k++]];n+=15;while(k<n)a=a>>>8^t[(a^e[k++])&255];return~a}function A(e,r){var a=r^-1;for(var n=0,i=e.length,s=0,f=0;n<i;){s=e.charCodeAt(n++);if(s<128){a=a>>>8^t[(a^s)&255]}else if(s<2048){a=a>>>8^t[(a^(192|s>>6&31))&255];a=a>>>8^t[(a^(128|s&63))&255]}else if(s>=55296&&s<57344){s=(s&1023)+64;f=e.charCodeAt(n++)&1023;a=a>>>8^t[(a^(240|s>>8&7))&255];a=a>>>8^t[(a^(128|s>>2&63))&255];a=a>>>8^t[(a^(128|f>>6&15|(s&3)<<4))&255];a=a>>>8^t[(a^(128|f&63))&255]}else{a=a>>>8^t[(a^(224|s>>12&15))&255];a=a>>>8^t[(a^(128|s>>6&63))&255];a=a>>>8^t[(a^(128|s&63))&255]}}return~a}e.table=t;e.bstr=k;e.buf=T;e.str=A;return e}();var Qe=function dT(){var e={};e.version="1.2.2";function r(e,r){var t=e.split("/"),a=r.split("/");for(var n=0,i=0,s=Math.min(t.length,a.length);n<s;++n){if(i=t[n].length-a[n].length)return i;if(t[n]!=a[n])return t[n]<a[n]?-1:1}return t.length-a.length}function t(e){if(e.charAt(e.length-1)=="/")return e.slice(0,-1).indexOf("/")===-1?e:t(e.slice(0,-1));var r=e.lastIndexOf("/");return r===-1?e:e.slice(0,r+1)}function a(e){if(e.charAt(e.length-1)=="/")return a(e.slice(0,-1));var r=e.lastIndexOf("/");return r===-1?e:e.slice(r+1)}function n(e,r){if(typeof r==="string")r=new Date(r);var t=r.getHours();t=t<<6|r.getMinutes();t=t<<5|r.getSeconds()>>>1;e._W(2,t);var a=r.getFullYear()-1980;a=a<<4|r.getMonth()+1;a=a<<5|r.getDate();e._W(2,a)}function i(e){var r=e._R(2)&65535;var t=e._R(2)&65535;var a=new Date;var n=t&31;t>>>=5;var i=t&15;t>>>=4;a.setMilliseconds(0);a.setFullYear(t+1980);a.setMonth(i-1);a.setDate(n);var s=r&31;r>>>=5;var f=r&63;r>>>=6;a.setHours(r);a.setMinutes(f);a.setSeconds(s<<1);return a}function s(e){Ta(e,0);var r={};var t=0;while(e.l<=e.length-4){var a=e._R(2);var n=e._R(2),i=e.l+n;var s={};switch(a){case 21589:{t=e._R(1);if(t&1)s.mtime=e._R(4);if(n>5){if(t&2)s.atime=e._R(4);if(t&4)s.ctime=e._R(4)}if(s.mtime)s.mt=new Date(s.mtime*1e3)}break;case 1:{var f=e._R(4),l=e._R(4);s.usz=l*Math.pow(2,32)+f;f=e._R(4);l=e._R(4);s.csz=l*Math.pow(2,32)+f}break;}e.l=i;r[a]=s}return r}var f;function l(){return f||(f=er)}function o(e,r){if(e[0]==80&&e[1]==75)return Ie(e,r);if((e[0]|32)==109&&(e[1]|32)==105)return We(e,r);if(e.length<512)throw new Error("CFB file size "+e.length+" < 512");var t=3;var a=512;var n=0;var i=0;var s=0;var f=0;var l=0;var o=[];var v=e.slice(0,512);Ta(v,0);var m=c(v);t=m[0];switch(t){case 3:a=512;break;case 4:a=4096;break;case 0:if(m[1]==0)return Ie(e,r);default:throw new Error("Major Version: Expected 3 or 4 saw "+t);}if(a!==512){v=e.slice(0,a);Ta(v,28)}var w=e.slice(0,a);h(v,t);var k=v._R(4,"i");if(t===3&&k!==0)throw new Error("# Directory Sectors: Expected 0 saw "+k);v.l+=4;s=v._R(4,"i");v.l+=4;v.chk("00100000","Mini Stream Cutoff Size: ");f=v._R(4,"i");n=v._R(4,"i");l=v._R(4,"i");i=v._R(4,"i");for(var T=-1,A=0;A<109;++A){T=v._R(4,"i");if(T<0)break;o[A]=T}var y=u(e,a);p(l,i,y,a,o);var E=g(y,s,o,a);if(s<E.length)E[s].name="!Directory";if(n>0&&f!==L)E[f].name="!MiniFAT";E[o[0]].name="!FAT";E.fat_addrs=o;E.ssz=a;var C={},_=[],S=[],x=[];b(s,E,y,_,n,C,S,f);d(S,x,_);_.shift();var O={FileIndex:S,FullPaths:x};if(r&&r.raw)O.raw={header:w,sectors:y};return O}function c(e){if(e[e.l]==80&&e[e.l+1]==75)return[0,0];e.chk(B,"Header Signature: ");e.l+=16;var r=e._R(2,"u");return[e._R(2,"u"),r]}function h(e,r){var t=9;e.l+=2;switch(t=e._R(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 u(e,r){var t=Math.ceil(e.length/r)-1;var a=[];for(var n=1;n<t;++n)a[n-1]=e.slice(n*r,(n+1)*r);a[t-1]=e.slice(t*r);return a}function d(e,r,t){var a=0,n=0,i=0,s=0,f=0,l=t.length;var o=[],c=[];for(;a<l;++a){o[a]=c[a]=a;r[a]=t[a]}for(;f<c.length;++f){a=c[f];n=e[a].L;i=e[a].R;s=e[a].C;if(o[a]===a){if(n!==-1&&o[n]!==n)o[a]=o[n];if(i!==-1&&o[i]!==i)o[a]=o[i]}if(s!==-1)o[s]=a;if(n!==-1&&a!=o[a]){o[n]=o[a];if(c.lastIndexOf(n)<f)c.push(n)}if(i!==-1&&a!=o[a]){o[i]=o[a];if(c.lastIndexOf(i)<f)c.push(i)}}for(a=1;a<l;++a)if(o[a]===a){if(i!==-1&&o[i]!==i)o[a]=o[i];else if(n!==-1&&o[n]!==n)o[a]=o[n]}for(a=1;a<l;++a){if(e[a].type===0)continue;f=a;if(f!=o[f])do{f=o[f];r[a]=r[f]+"/"+r[a]}while(f!==0&&-1!==o[f]&&f!=o[f]);o[a]=-1}r[0]+="/";for(a=1;a<l;++a){if(e[a].type!==2)r[a]+="/"}}function v(e,r,t){var a=e.start,n=e.size;var i=[];var s=a;while(t&&n>0&&s>=0){i.push(r.slice(s*D,s*D+D));n-=D;s=da(t,s*4)}if(i.length===0)return ya(0);return P(i).slice(0,e.size)}function p(e,r,t,a,n){var i=L;if(e===L){if(r!==0)throw new Error("DIFAT chain shorter than expected")}else if(e!==-1){var s=t[e],f=(a>>>2)-1;if(!s)return;for(var l=0;l<f;++l){if((i=da(s,l*4))===L)break;n.push(i)}if(r>=1)p(da(s,a-4),r-1,t,a,n)}}function m(e,r,t,a,n){var i=[],s=[];if(!n)n=[];var f=a-1,l=0,o=0;for(l=r;l>=0;){n[l]=true;i[i.length]=l;s.push(e[l]);var c=t[Math.floor(l*4/a)];o=l*4&f;if(a<4+o)throw new Error("FAT boundary crossed: "+l+" 4 "+a);if(!e[c])break;l=da(e[c],o)}return{nodes:i,data:Ht([s])}}function g(e,r,t,a){var n=e.length,i=[];var s=[],f=[],l=[];var o=a-1,c=0,h=0,u=0,d=0;for(c=0;c<n;++c){f=[];u=c+r;if(u>=n)u-=n;if(s[u])continue;l=[];var v=[];for(h=u;h>=0;){v[h]=true;s[h]=true;f[f.length]=h;l.push(e[h]);var p=t[Math.floor(h*4/a)];d=h*4&o;if(a<4+d)throw new Error("FAT boundary crossed: "+h+" 4 "+a);if(!e[p])break;h=da(e[p],d);if(v[h])break}i[u]={nodes:f,data:Ht([l])}}return i}function b(e,r,t,a,n,i,s,f){var l=0,o=a.length?2:0;var c=r[e].data;var h=0,u=0,d;for(;h<c.length;h+=128){var p=c.slice(h,h+128);Ta(p,64);u=p._R(2);d=Xt(p,0,u-o);a.push(d);var g={name:d,type:p._R(1),color:p._R(1),L:p._R(4,"i"),R:p._R(4,"i"),C:p._R(4,"i"),clsid:p._R(16),state:p._R(4,"i"),start:0,size:0};var b=p._R(2)+p._R(2)+p._R(2)+p._R(2);if(b!==0)g.ct=w(p,p.l-8);var k=p._R(2)+p._R(2)+p._R(2)+p._R(2);if(k!==0)g.mt=w(p,p.l-8);g.start=p._R(4,"i");g.size=p._R(4,"i");if(g.size<0&&g.start<0){g.size=g.type=0;g.start=L;g.name=""}if(g.type===5){l=g.start;if(n>0&&l!==L)r[l].name="!StreamData"}else if(g.size>=4096){g.storage="fat";if(r[g.start]===undefined)r[g.start]=m(t,g.start,r.fat_addrs,r.ssz);r[g.start].name=g.name;g.content=r[g.start].data.slice(0,g.size)}else{g.storage="minifat";if(g.size<0)g.size=0;else if(l!==L&&g.start!==L&&r[l]){g.content=v(g,r[l].data,(r[f]||{}).data)}}if(g.content)Ta(g.content,0);i[d]=g;s.push(g)}}function w(e,r){return new Date((ua(e,r+4)/1e7*Math.pow(2,32)+ua(e,r)/1e7-11644473600)*1e3)}function k(e,r){l();return o(f.readFileSync(e),r)}function A(e,r){var t=r&&r.type;if(!t){if(C&&Buffer.isBuffer(e))t="buffer"}switch(t||"base64"){case"file":return k(e,r);case"base64":return o(R(E(e)),r);case"binary":return o(R(e),r);}return o(e,r)}function y(e,r){var t=r||{},a=t.root||"Root Entry";if(!e.FullPaths)e.FullPaths=[];if(!e.FileIndex)e.FileIndex=[];if(e.FullPaths.length!==e.FileIndex.length)throw new Error("inconsistent CFB structure");if(e.FullPaths.length===0){e.FullPaths[0]=a+"/";e.FileIndex[0]={name:a,type:5}}if(t.CLSID)e.FileIndex[0].clsid=t.CLSID;S(e)}function S(e){var r="Sh33tJ5";if(Qe.find(e,"/"+r))return;var t=ya(4);t[0]=55;t[1]=t[3]=50;t[2]=54;e.FileIndex.push({name:r,type:2,content:t,size:4,L:69,R:69,C:69});e.FullPaths.push(e.FullPaths[0]+r);I(e)}function I(e,n){y(e);var i=false,s=false;for(var f=e.FullPaths.length-1;f>=0;--f){var l=e.FileIndex[f];switch(l.type){case 0:if(s)i=true;else{e.FileIndex.pop();e.FullPaths.pop()}break;case 1:;case 2:;case 5:s=true;if(isNaN(l.R*l.L*l.C))i=true;if(l.R>-1&&l.L>-1&&l.R==l.L)i=true;break;default:i=true;break;}}if(!i&&!n)return;var o=new Date(1987,1,19),c=0;var h=Object.create?Object.create(null):{};var u=[];for(f=0;f<e.FullPaths.length;++f){h[e.FullPaths[f]]=true;if(e.FileIndex[f].type===0)continue;u.push([e.FullPaths[f],e.FileIndex[f]])}for(f=0;f<u.length;++f){var d=t(u[f][0]);s=h[d];while(!s){while(t(d)&&!h[t(d)])d=t(d);u.push([d,{name:a(d).replace("/",""),type:1,clsid:z,ct:o,mt:o,content:null}]);h[d]=true;d=t(u[f][0]);s=h[d]}}u.sort(function(e,t){return r(e[0],t[0])});e.FullPaths=[];e.FileIndex=[];for(f=0;f<u.length;++f){e.FullPaths[f]=u[f][0];e.FileIndex[f]=u[f][1]}for(f=0;f<u.length;++f){var v=e.FileIndex[f];var p=e.FullPaths[f];v.name=a(p).replace("/","");v.L=v.R=v.C=-(v.color=1);v.size=v.content?v.content.length:0;v.start=0;v.clsid=v.clsid||z;if(f===0){v.C=u.length>1?1:-1;v.size=0;v.type=5}else if(p.slice(-1)=="/"){for(c=f+1;c<u.length;++c)if(t(e.FullPaths[c])==p)break;v.C=c>=u.length?-1:c;for(c=f+1;c<u.length;++c)if(t(e.FullPaths[c])==t(p))break;v.R=c>=u.length?-1:c;v.type=1}else{if(t(e.FullPaths[f+1]||"")==t(p))v.R=f+1;v.type=2}}}function N(e,r){var t=r||{};if(t.fileType=="mad")return ze(e,t);I(e);switch(t.fileType){case"zip":return Fe(e,t);}var a=function(e){var r=0,t=0;for(var a=0;a<e.FileIndex.length;++a){var n=e.FileIndex[a];if(!n.content)continue;var i=n.content.length;if(i>0){if(i<4096)r+=i+63>>6;else t+=i+511>>9}}var s=e.FullPaths.length+3>>2;var f=r+7>>3;var l=r+127>>7;var o=f+t+s+l;var c=o+127>>7;var h=c<=109?0:Math.ceil((c-109)/127);while(o+c+h+127>>7>c)h=++c<=109?0:Math.ceil((c-109)/127);var u=[1,h,c,l,s,t,r,0];e.FileIndex[0].size=r<<6;u[7]=(e.FileIndex[0].start=u[0]+u[1]+u[2]+u[3]+u[4]+u[5])+(u[6]+7>>3);return u}(e);var n=ya(a[7]<<9);var i=0,s=0;{for(i=0;i<8;++i)n._W(1,W[i]);for(i=0;i<8;++i)n._W(2,0);n._W(2,62);n._W(2,3);n._W(2,65534);n._W(2,9);n._W(2,6);for(i=0;i<3;++i)n._W(2,0);n._W(4,0);n._W(4,a[2]);n._W(4,a[0]+a[1]+a[2]+a[3]-1);n._W(4,0);n._W(4,1<<12);n._W(4,a[3]?a[0]+a[1]+a[2]-1:L);n._W(4,a[3]);n._W(-4,a[1]?a[0]-1:L);n._W(4,a[1]);for(i=0;i<109;++i)n._W(-4,i<a[2]?a[1]+i:-1)}if(a[1]){for(s=0;s<a[1];++s){for(;i<236+s*127;++i)n._W(-4,i<a[2]?a[1]+i:-1);n._W(-4,s===a[1]-1?L:s+1)}}var f=function(e){for(s+=e;i<s-1;++i)n._W(-4,i+1);if(e){++i;n._W(-4,L)}};s=i=0;for(s+=a[1];i<s;++i)n._W(-4,H.DIFSECT);for(s+=a[2];i<s;++i)n._W(-4,H.FATSECT);f(a[3]);f(a[4]);var l=0,o=0;var c=e.FileIndex[0];for(;l<e.FileIndex.length;++l){c=e.FileIndex[l];if(!c.content)continue;o=c.content.length;if(o<4096)continue;c.start=s;f(o+511>>9)}f(a[6]+7>>3);while(n.l&511)n._W(-4,H.ENDOFCHAIN);s=i=0;for(l=0;l<e.FileIndex.length;++l){c=e.FileIndex[l];if(!c.content)continue;o=c.content.length;if(!o||o>=4096)continue;c.start=s;f(o+63>>6)}while(n.l&511)n._W(-4,H.ENDOFCHAIN);for(i=0;i<a[4]<<2;++i){var h=e.FullPaths[i];if(!h||h.length===0){for(l=0;l<17;++l)n._W(4,0);for(l=0;l<3;++l)n._W(4,-1);for(l=0;l<12;++l)n._W(4,0);continue}c=e.FileIndex[i];if(i===0)c.start=c.size?c.start-1:L;var u=i===0&&t.root||c.name;if(u.length>32){console.error("Name "+u+" will be truncated to "+u.slice(0,32));u=u.slice(0,32)}o=2*(u.length+1);n._W(64,u,"utf16le");n._W(2,o);n._W(1,c.type);n._W(1,c.color);n._W(-4,c.L);n._W(-4,c.R);n._W(-4,c.C);if(!c.clsid)for(l=0;l<4;++l)n._W(4,0);else n._W(16,c.clsid,"hex");n._W(4,c.state||0);n._W(4,0);n._W(4,0);n._W(4,0);n._W(4,0);n._W(4,c.start);n._W(4,c.size);n._W(4,0)}for(i=1;i<e.FileIndex.length;++i){c=e.FileIndex[i];if(c.size>=4096){n.l=c.start+1<<9;if(C&&Buffer.isBuffer(c.content)){c.content.copy(n,n.l,0,c.size);n.l+=c.size+511&-512}else{for(l=0;l<c.size;++l)n._W(1,c.content[l]);for(;l&511;++l)n._W(1,0)}}}for(i=1;i<e.FileIndex.length;++i){c=e.FileIndex[i];if(c.size>0&&c.size<4096){if(C&&Buffer.isBuffer(c.content)){c.content.copy(n,n.l,0,c.size);n.l+=c.size+63&-64}else{for(l=0;l<c.size;++l)n._W(1,c.content[l]);for(;l&63;++l)n._W(1,0)}}}if(C){n.l=n.length}else{while(n.l<n.length)n._W(1,0)}return n}function F(e,r){var t=e.FullPaths.map(function(e){return e.toUpperCase()});var a=t.map(function(e){var r=e.split("/");return r[r.length-(e.slice(-1)=="/"?2:1)]});var n=false;if(r.charCodeAt(0)===47){n=true;r=t[0].slice(0,-1)+r}else n=r.indexOf("/")!==-1;var i=r.toUpperCase();var s=n===true?t.indexOf(i):a.indexOf(i);if(s!==-1)return e.FileIndex[s];var f=!i.match(U);i=i.replace(M,"");if(f)i=i.replace(U,"!");for(s=0;s<t.length;++s){if((f?t[s].replace(U,"!"):t[s]).replace(M,"")==i)return e.FileIndex[s];if((f?a[s].replace(U,"!"):a[s]).replace(M,"")==i)return e.FileIndex[s]}return null}var D=64;var L=-2;var B="d0cf11e0a1b11ae1";var W=[208,207,17,224,161,177,26,225];var z="00000000000000000000000000000000";var H={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:L,FREESECT:-1,HEADER_SIGNATURE:B,HEADER_MINOR_VERSION:"3e00",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:z,EntryTypes:["unknown","storage","stream","lockbytes","property","root"]};function V(e,r,t){l();var a=N(e,t);f.writeFileSync(r,a)}function X(e){var r=new Array(e.length);for(var t=0;t<e.length;++t)r[t]=String.fromCharCode(e[t]);return r.join("")}function $(e,r){var t=N(e,r);switch(r&&r.type||"buffer"){case"file":l();f.writeFileSync(r.filename,t);return t;case"binary":return typeof t=="string"?t:X(t);case"base64":return T(typeof t=="string"?t:X(t));case"buffer":if(C)return Buffer.isBuffer(t)?t:_(t);case"array":return typeof t=="string"?R(t):t;}return t}var G;function j(e){try{var r=e.InflateRaw;var t=new r;t._processChunk(new Uint8Array([3,0]),t._finishFlushFlag);if(t.bytesRead)G=e;else throw new Error("zlib does not expose bytesRead")}catch(a){console.error("cannot use native zlib: "+(a.message||a))}}function K(e,r){if(!G)return Oe(e,r);var t=G.InflateRaw;var a=new t;var n=a._processChunk(e.slice(e.l),a._finishFlushFlag);e.l+=a.bytesRead;return n}function Y(e){return G?G.deflateRawSync(e):Te(e)}var Z=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];var J=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258];var q=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577];function Q(e){var r=(e<<1|e<<11)&139536|(e<<5|e<<15)&558144;return(r>>16|r>>8|r)&255}var ee=typeof Uint8Array!=="undefined";var re=ee?new Uint8Array(1<<8):[];for(var te=0;te<1<<8;++te)re[te]=Q(te);function ae(e,r){var t=re[e&255];if(r<=8)return t>>>8-r;t=t<<8|re[e>>8&255];if(r<=16)return t>>>16-r;t=t<<8|re[e>>16&255];return t>>>24-r}function ne(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=6?0:e[a+1]<<8))>>>t&3}function ie(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=5?0:e[a+1]<<8))>>>t&7}function se(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=4?0:e[a+1]<<8))>>>t&15}function fe(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=3?0:e[a+1]<<8))>>>t&31}function le(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=1?0:e[a+1]<<8))>>>t&127}function oe(e,r,t){var a=r&7,n=r>>>3,i=(1<<t)-1;var s=e[n]>>>a;if(t<8-a)return s&i;s|=e[n+1]<<8-a;if(t<16-a)return s&i;s|=e[n+2]<<16-a;if(t<24-a)return s&i;s|=e[n+3]<<24-a;return s&i}function ce(e,r,t){var a=r&7,n=r>>>3;if(a<=5)e[n]|=(t&7)<<a;else{e[n]|=t<<a&255;e[n+1]=(t&7)>>8-a}return r+3}function he(e,r,t){var a=r&7,n=r>>>3;t=(t&1)<<a;e[n]|=t;return r+1}function ue(e,r,t){var a=r&7,n=r>>>3;t<<=a;e[n]|=t&255;t>>>=8;e[n+1]=t;return r+8}function de(e,r,t){var a=r&7,n=r>>>3;t<<=a;e[n]|=t&255;t>>>=8;e[n+1]=t&255;e[n+2]=t>>>8;return r+16}function ve(e,r){var t=e.length,a=2*t>r?2*t:r+5,n=0;if(t>=r)return e;if(C){var i=O(a);if(e.copy)e.copy(i);else for(;n<e.length;++n)i[n]=e[n];return i}else if(ee){var s=new Uint8Array(a);if(s.set)s.set(e);else for(;n<t;++n)s[n]=e[n];return s}e.length=a;return e}function pe(e){var r=new Array(e);for(var t=0;t<e;++t)r[t]=0;return r}function me(e,r,t){var a=1,n=0,i=0,s=0,f=0,l=e.length;var o=ee?new Uint16Array(32):pe(32);for(i=0;i<32;++i)o[i]=0;for(i=l;i<t;++i)e[i]=0;l=e.length;var c=ee?new Uint16Array(l):pe(l);for(i=0;i<l;++i){o[n=e[i]]++;if(a<n)a=n;c[i]=0}o[0]=0;for(i=1;i<=a;++i)o[i+16]=f=f+o[i-1]<<1;for(i=0;i<l;++i){f=e[i];if(f!=0)c[i]=o[f+16]++}var h=0;for(i=0;i<l;++i){h=e[i];if(h!=0){f=ae(c[i],a)>>a-h;for(s=(1<<a+4-h)-1;s>=0;--s)r[f|s<<h]=h&15|i<<4}}return a}var ge=ee?new Uint16Array(512):pe(512);var be=ee?new Uint16Array(32):pe(32);if(!ee){for(var we=0;we<512;++we)ge[we]=0;for(we=0;we<32;++we)be[we]=0}(function(){var e=[];var r=0;for(;r<32;r++)e.push(5);me(e,be,32);var t=[];r=0;for(;r<=143;r++)t.push(8);for(;r<=255;r++)t.push(9);for(;r<=279;r++)t.push(7);for(;r<=287;r++)t.push(8);me(t,ge,288)})();var ke=function je(){var e=ee?new Uint8Array(32768):[];var r=0,t=0;for(;r<q.length-1;++r){for(;t<q[r+1];++t)e[t]=r}for(;t<32768;++t)e[t]=29;var a=ee?new Uint8Array(259):[];for(r=0,t=0;r<J.length-1;++r){for(;t<J[r+1];++t)a[t]=r}function n(e,r){var t=0;while(t<e.length){var a=Math.min(65535,e.length-t);var n=t+a==e.length;r._W(1,+n);r._W(2,a);r._W(2,~a&65535);while(a-- >0)r[r.l++]=e[t++]}return r.l}function i(r,t){var n=0;var i=0;var s=ee?new Uint16Array(32768):[];while(i<r.length){var f=Math.min(65535,r.length-i);if(f<10){n=ce(t,n,+!!(i+f==r.length));if(n&7)n+=8-(n&7);t.l=n/8|0;t._W(2,f);t._W(2,~f&65535);while(f-- >0)t[t.l++]=r[i++];n=t.l*8;continue}n=ce(t,n,+!!(i+f==r.length)+2);var l=0;while(f-- >0){var o=r[i];l=(l<<5^o)&32767;var c=-1,h=0;if(c=s[l]){c|=i&~32767;if(c>i)c-=32768;if(c<i)while(r[c+h]==r[i+h]&&h<250)++h}if(h>2){o=a[h];if(o<=22)n=ue(t,n,re[o+1]>>1)-1;else{ue(t,n,3);n+=5;ue(t,n,re[o-23]>>5);n+=3}var u=o<8?0:o-4>>2;if(u>0){de(t,n,h-J[o]);n+=u}o=e[i-c];n=ue(t,n,re[o]>>3);n-=3;var d=o<4?0:o-2>>1;if(d>0){de(t,n,i-c-q[o]);n+=d}for(var v=0;v<h;++v){s[l]=i&32767;l=(l<<5^r[i])&32767;++i}f-=h-1}else{if(o<=143)o=o+48;else n=he(t,n,1);n=ue(t,n,re[o]);s[l]=i&32767;++i}}n=ue(t,n,0)-1}t.l=(n+7)/8|0;return t.l}return function s(e,r){if(e.length<8)return n(e,r);return i(e,r)}}();function Te(e){var r=ya(50+Math.floor(e.length*1.1));var t=ke(e,r);return r.slice(0,t)}var Ae=ee?new Uint16Array(32768):pe(32768);var ye=ee?new Uint16Array(32768):pe(32768);var Ee=ee?new Uint16Array(128):pe(128);var Ce=1,_e=1;function Se(e,r){var t=fe(e,r)+257;r+=5;var a=fe(e,r)+1;r+=5;var n=se(e,r)+4;r+=4;var i=0;var s=ee?new Uint8Array(19):pe(19);var f=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];var l=1;var o=ee?new Uint8Array(8):pe(8);var c=ee?new Uint8Array(8):pe(8);var h=s.length;for(var u=0;u<n;++u){s[Z[u]]=i=ie(e,r);if(l<i)l=i;o[i]++;r+=3}var d=0;o[0]=0;for(u=1;u<=l;++u)c[u]=d=d+o[u-1]<<1;for(u=0;u<h;++u)if((d=s[u])!=0)f[u]=c[d]++;var v=0;for(u=0;u<h;++u){v=s[u];if(v!=0){d=re[f[u]]>>8-v;for(var p=(1<<7-v)-1;p>=0;--p)Ee[d|p<<v]=v&7|u<<3}}var m=[];l=1;for(;m.length<t+a;){d=Ee[le(e,r)];r+=d&7;switch(d>>>=3){case 16:i=3+ne(e,r);r+=2;d=m[m.length-1];while(i-- >0)m.push(d);break;case 17:i=3+ie(e,r);r+=3;while(i-- >0)m.push(0);break;case 18:i=11+le(e,r);r+=7;while(i-- >0)m.push(0);break;default:m.push(d);if(l<d)l=d;break;}}var g=m.slice(0,t),b=m.slice(t);for(u=t;u<286;++u)g[u]=0;for(u=a;u<30;++u)b[u]=0;Ce=me(g,Ae,286);_e=me(b,ye,30);return r}function xe(e,r){if(e[0]==3&&!(e[1]&3)){return[x(r),2]}var t=0;var a=0;var n=O(r?r:1<<18);var i=0;var s=n.length>>>0;var f=0,l=0;while((a&1)==0){a=ie(e,t);t+=3;if(a>>>1==0){if(t&7)t+=8-(t&7);var o=e[t>>>3]|e[(t>>>3)+1]<<8;t+=32;if(o>0){if(!r&&s<i+o){n=ve(n,i+o);s=n.length}while(o-- >0){n[i++]=e[t>>>3];t+=8}}continue}else if(a>>1==1){f=9;l=5}else{t=Se(e,t);f=Ce;l=_e}for(;;){if(!r&&s<i+32767){n=ve(n,i+32767);s=n.length}var c=oe(e,t,f);var h=a>>>1==1?ge[c]:Ae[c];t+=h&15;h>>>=4;if((h>>>8&255)===0)n[i++]=h;else if(h==256)break;else{h-=257;var u=h<8?0:h-4>>2;if(u>5)u=0;var d=i+J[h];if(u>0){d+=oe(e,t,u);t+=u}c=oe(e,t,l);h=a>>>1==1?be[c]:ye[c];t+=h&15;h>>>=4;var v=h<4?0:h-2>>1;var p=q[h];if(v>0){p+=oe(e,t,v);t+=v}if(!r&&s<d){n=ve(n,d+100);s=n.length}while(i<d){n[i]=n[i-p];++i}}}}if(r)return[n,t+7>>>3];return[n.slice(0,i),t+7>>>3]}function Oe(e,r){var t=e.slice(e.l||0);var a=xe(t,r);e.l+=a[1];return a[0]}function Re(e,r){if(e){if(typeof console!=="undefined")console.error(r)}else throw new Error(r)}function Ie(e,r){var t=e;Ta(t,0);var a=[],n=[];var i={FileIndex:a,FullPaths:n};y(i,{root:r.root});var f=t.length-4;while((t[f]!=80||t[f+1]!=75||t[f+2]!=5||t[f+3]!=6)&&f>=0)--f;t.l=f+4;t.l+=4;var l=t._R(2); +t.l+=6;var o=t._R(4);t.l=o;for(f=0;f<l;++f){t.l+=20;var c=t._R(4);var h=t._R(4);var u=t._R(2);var d=t._R(2);var v=t._R(2);t.l+=8;var p=t._R(4);var m=s(t.slice(t.l+u,t.l+u+d));t.l+=u+d+v;var g=t.l;t.l=p+4;if(m&&m[1]){if((m[1]||{}).usz)h=m[1].usz;if((m[1]||{}).csz)c=m[1].csz}Ne(t,c,h,i,m);t.l=g}return i}function Ne(e,r,t,a,n){e.l+=2;var f=e._R(2);var l=e._R(2);var o=i(e);if(f&8257)throw new Error("Unsupported ZIP encryption");var c=e._R(4);var h=e._R(4);var u=e._R(4);var d=e._R(2);var v=e._R(2);var p="";for(var m=0;m<d;++m)p+=String.fromCharCode(e[e.l++]);if(v){var g=s(e.slice(e.l,e.l+v));if((g[21589]||{}).mt)o=g[21589].mt;if((g[1]||{}).usz)u=g[1].usz;if((g[1]||{}).csz)h=g[1].csz;if(n){if((n[21589]||{}).mt)o=n[21589].mt;if((n[1]||{}).usz)u=g[1].usz;if((n[1]||{}).csz)h=g[1].csz}}e.l+=v;var b=e.slice(e.l,e.l+h);switch(l){case 8:b=K(e,u);break;case 0:break;default:throw new Error("Unsupported ZIP Compression method "+l);}var w=false;if(f&8){c=e._R(4);if(c==134695760){c=e._R(4);w=true}h=e._R(4);u=e._R(4)}if(h!=r)Re(w,"Bad compressed size: "+r+" != "+h);if(u!=t)Re(w,"Bad uncompressed size: "+t+" != "+u);Ve(a,p,b,{unsafe:true,mt:o})}function Fe(e,r){var t=r||{};var a=[],i=[];var s=ya(1);var f=t.compression?8:0,l=0;var o=false;if(o)l|=8;var c=0,h=0;var u=0,d=0;var v=e.FullPaths[0],p=v,m=e.FileIndex[0];var g=[];var b=0;for(c=1;c<e.FullPaths.length;++c){p=e.FullPaths[c].slice(v.length);m=e.FileIndex[c];if(!m.size||!m.content||p=="Sh33tJ5")continue;var w=u;var k=ya(p.length);for(h=0;h<p.length;++h)k._W(1,p.charCodeAt(h)&127);k=k.slice(0,k.l);g[d]=typeof m.content=="string"?qe.bstr(m.content,0):qe.buf(m.content,0);var T=typeof m.content=="string"?R(m.content):m.content;if(f==8)T=Y(T);s=ya(30);s._W(4,67324752);s._W(2,20);s._W(2,l);s._W(2,f);if(m.mt)n(s,m.mt);else s._W(4,0);s._W(-4,l&8?0:g[d]);s._W(4,l&8?0:T.length);s._W(4,l&8?0:m.content.length);s._W(2,k.length);s._W(2,0);u+=s.length;a.push(s);u+=k.length;a.push(k);u+=T.length;a.push(T);if(l&8){s=ya(12);s._W(-4,g[d]);s._W(4,T.length);s._W(4,m.content.length);u+=s.l;a.push(s)}s=ya(46);s._W(4,33639248);s._W(2,0);s._W(2,20);s._W(2,l);s._W(2,f);s._W(4,0);s._W(-4,g[d]);s._W(4,T.length);s._W(4,m.content.length);s._W(2,k.length);s._W(2,0);s._W(2,0);s._W(2,0);s._W(2,0);s._W(4,0);s._W(4,w);b+=s.l;i.push(s);b+=k.length;i.push(k);++d}s=ya(22);s._W(4,101010256);s._W(2,0);s._W(2,0);s._W(2,d);s._W(2,d);s._W(4,b);s._W(4,u);s._W(2,0);return P([P(a),P(i),s])}var De={htm:"text/html",xml:"text/xml",gif:"image/gif",jpg:"image/jpeg",png:"image/png",mso:"application/x-mso",thmx:"application/vnd.ms-officetheme",sh33tj5:"application/octet-stream"};function Pe(e,r){if(e.ctype)return e.ctype;var t=e.name||"",a=t.match(/\.([^\.]+)$/);if(a&&De[a[1]])return De[a[1]];if(r){a=(t=r).match(/[\.\\]([^\.\\])+$/);if(a&&De[a[1]])return De[a[1]]}return"application/octet-stream"}function Le(e){var r=T(e);var t=[];for(var a=0;a<r.length;a+=76)t.push(r.slice(a,a+76));return t.join("\r\n")+"\r\n"}function Me(e){var r=e.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF=]/g,function(e){var r=e.charCodeAt(0).toString(16).toUpperCase();return"="+(r.length==1?"0"+r:r)});r=r.replace(/ $/gm,"=20").replace(/\t$/gm,"=09");if(r.charAt(0)=="\n")r="=0D"+r.slice(1);r=r.replace(/\r(?!\n)/gm,"=0D").replace(/\n\n/gm,"\n=0A").replace(/([^\r\n])\n/gm,"$1=0A");var t=[],a=r.split("\r\n");for(var n=0;n<a.length;++n){var i=a[n];if(i.length==0){t.push("");continue}for(var s=0;s<i.length;){var f=76;var l=i.slice(s,s+f);if(l.charAt(f-1)=="=")f--;else if(l.charAt(f-2)=="=")f-=2;else if(l.charAt(f-3)=="=")f-=3;l=i.slice(s,s+f);s+=f;if(s<i.length)l+="=";t.push(l)}}return t.join("\r\n")}function Ue(e){var r=[];for(var t=0;t<e.length;++t){var a=e[t];while(t<=e.length&&a.charAt(a.length-1)=="=")a=a.slice(0,a.length-1)+e[++t];r.push(a)}for(var n=0;n<r.length;++n)r[n]=r[n].replace(/[=][0-9A-Fa-f]{2}/g,function(e){return String.fromCharCode(parseInt(e.slice(1),16))});return R(r.join("\r\n"))}function Be(e,r,t){var a="",n="",i="",s;var f=0;for(;f<10;++f){var l=r[f];if(!l||l.match(/^\s*$/))break;var o=l.match(/^(.*?):\s*([^\s].*)$/);if(o)switch(o[1].toLowerCase()){case"content-location":a=o[2].trim();break;case"content-type":i=o[2].trim();break;case"content-transfer-encoding":n=o[2].trim();break;}}++f;switch(n.toLowerCase()){case"base64":s=R(E(r.slice(f).join("")));break;case"quoted-printable":s=Ue(r.slice(f));break;default:throw new Error("Unsupported Content-Transfer-Encoding "+n);}var c=Ve(e,a.slice(t.length),s,{unsafe:true});if(i)c.ctype=i}function We(e,r){if(X(e.slice(0,13)).toLowerCase()!="mime-version:")throw new Error("Unsupported MAD header");var t=r&&r.root||"";var a=(C&&Buffer.isBuffer(e)?e.toString("binary"):X(e)).split("\r\n");var n=0,i="";for(n=0;n<a.length;++n){i=a[n];if(!/^Content-Location:/i.test(i))continue;i=i.slice(i.indexOf("file"));if(!t)t=i.slice(0,i.lastIndexOf("/")+1);if(i.slice(0,t.length)==t)continue;while(t.length>0){t=t.slice(0,t.length-1);t=t.slice(0,t.lastIndexOf("/")+1);if(i.slice(0,t.length)==t)break}}var s=(a[1]||"").match(/boundary="(.*?)"/);if(!s)throw new Error("MAD cannot find boundary");var f="--"+(s[1]||"");var l=[],o=[];var c={FileIndex:l,FullPaths:o};y(c);var h,u=0;for(n=0;n<a.length;++n){var d=a[n];if(d!==f&&d!==f+"--")continue;if(u++)Be(c,a.slice(h,n),t);h=n}return c}function ze(e,r){var t=r||{};var a=t.boundary||"SheetJS";a="------="+a;var n=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+a.slice(2)+'"',"","",""];var i=e.FullPaths[0],s=i,f=e.FileIndex[0];for(var l=1;l<e.FullPaths.length;++l){s=e.FullPaths[l].slice(i.length);f=e.FileIndex[l];if(!f.size||!f.content||s=="Sh33tJ5")continue;s=s.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF]/g,function(e){return"_x"+e.charCodeAt(0).toString(16)+"_"}).replace(/[\u0080-\uFFFF]/g,function(e){return"_u"+e.charCodeAt(0).toString(16)+"_"});var o=f.content;var c=C&&Buffer.isBuffer(o)?o.toString("binary"):X(o);var h=0,u=Math.min(1024,c.length),d=0;for(var v=0;v<=u;++v)if((d=c.charCodeAt(v))>=32&&d<128)++h;var p=h>=u*4/5;n.push(a);n.push("Content-Location: "+(t.root||"file:///C:/SheetJS/")+s);n.push("Content-Transfer-Encoding: "+(p?"quoted-printable":"base64"));n.push("Content-Type: "+Pe(f,s));n.push("");n.push(p?Me(c):Le(c))}n.push(a+"--\r\n");return n.join("\r\n")}function He(e){var r={};y(r,e);return r}function Ve(e,r,t,n){var i=n&&n.unsafe;if(!i)y(e);var s=!i&&Qe.find(e,r);if(!s){var f=e.FullPaths[0];if(r.slice(0,f.length)==f)f=r;else{if(f.slice(-1)!="/")f+="/";f=(f+r).replace("//","/")}s={name:a(r),type:2};e.FileIndex.push(s);e.FullPaths.push(f);if(!i)Qe.utils.cfb_gc(e)}s.content=t;s.size=t?t.length:0;if(n){if(n.CLSID)s.clsid=n.CLSID;if(n.mt)s.mt=n.mt;if(n.ct)s.ct=n.ct}return s}function Xe(e,r){y(e);var t=Qe.find(e,r);if(t)for(var a=0;a<e.FileIndex.length;++a)if(e.FileIndex[a]==t){e.FileIndex.splice(a,1);e.FullPaths.splice(a,1);return true}return false}function $e(e,r,t){y(e);var n=Qe.find(e,r);if(n)for(var i=0;i<e.FileIndex.length;++i)if(e.FileIndex[i]==n){e.FileIndex[i].name=a(t);e.FullPaths[i]=t;return true}return false}function Ge(e){I(e,true)}e.find=F;e.read=A;e.parse=o;e.write=$;e.writeFile=V;e.utils={cfb_new:He,cfb_add:Ve,cfb_del:Xe,cfb_mov:$e,cfb_gc:Ge,ReadShift:pa,CheckField:ka,prep_blob:Ta,bconcat:P,use_zlib:j,_deflateRaw:Te,_inflateRaw:Oe,consts:H};return e}();var er;function rr(e){er=e}function tr(e){if(typeof e==="string")return I(e);if(Array.isArray(e))return F(e);return e}function ar(e,r,t){if(typeof er!=="undefined"&&er.writeFileSync)return t?er.writeFileSync(e,r,t):er.writeFileSync(e,r);if(typeof Deno!=="undefined"){if(t&&typeof r=="string")switch(t){case"utf8":r=new TextEncoder(t).encode(r);break;case"binary":r=I(r);break;default:throw new Error("Unsupported encoding "+t);}return Deno.writeFileSync(e,r)}var a=t=="utf8"?Tt(r):r;if(typeof IE_SaveFile!=="undefined")return IE_SaveFile(a,e);if(typeof Blob!=="undefined"){var n=new Blob([tr(a)],{type:"application/octet-stream"});if(typeof navigator!=="undefined"&&navigator.msSaveBlob)return navigator.msSaveBlob(n,e);if(typeof saveAs!=="undefined")return saveAs(n,e);if(typeof URL!=="undefined"&&typeof document!=="undefined"&&document.createElement&&URL.createObjectURL){var i=URL.createObjectURL(n);if(typeof chrome==="object"&&typeof(chrome.downloads||{}).download=="function"){if(URL.revokeObjectURL&&typeof setTimeout!=="undefined")setTimeout(function(){URL.revokeObjectURL(i)},6e4);return chrome.downloads.download({url:i,filename:e,saveAs:true})}var s=document.createElement("a");if(s.download!=null){s.download=e;s.href=i;document.body.appendChild(s);s.click();document.body.removeChild(s);if(URL.revokeObjectURL&&typeof setTimeout!=="undefined")setTimeout(function(){URL.revokeObjectURL(i)},6e4);return i}}else if(typeof URL!=="undefined"&&!URL.createObjectURL&&typeof chrome==="object"){var f="data:application/octet-stream;base64,"+y(new Uint8Array(tr(a)));return chrome.downloads.download({url:f,filename:e,saveAs:true})}}if(typeof $!=="undefined"&&typeof File!=="undefined"&&typeof Folder!=="undefined")try{var l=File(e);l.open("w");l.encoding="binary";if(Array.isArray(r))r=N(r);l.write(r);l.close();return r}catch(o){if(!o.message||!o.message.match(/onstruct/))throw o}throw new Error("cannot save file "+e)}function nr(e){if(typeof er!=="undefined")return er.readFileSync(e);if(typeof Deno!=="undefined")return Deno.readFileSync(e);if(typeof $!=="undefined"&&typeof File!=="undefined"&&typeof Folder!=="undefined")try{var r=File(e);r.open("r");r.encoding="binary";var t=r.read();r.close();return t}catch(a){if(!a.message||!a.message.match(/onstruct/))throw a}throw new Error("Cannot access file "+e)}function ir(e){var r=Object.keys(e),t=[];for(var a=0;a<r.length;++a)if(Object.prototype.hasOwnProperty.call(e,r[a]))t.push(r[a]);return t}function sr(e,r){var t=[],a=ir(e);for(var n=0;n!==a.length;++n)if(t[e[a[n]][r]]==null)t[e[a[n]][r]]=a[n];return t}function fr(e){var r=[],t=ir(e);for(var a=0;a!==t.length;++a)r[e[t[a]]]=t[a];return r}function lr(e){var r=[],t=ir(e);for(var a=0;a!==t.length;++a)r[e[t[a]]]=parseInt(t[a],10);return r}function or(e){var r=[],t=ir(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 cr=Date.UTC(1899,11,30,0,0,0);var hr=Date.UTC(1899,11,31,0,0,0);var ur=Date.UTC(1904,0,1,0,0,0);function dr(e,r){var t=e.getTime();var a=(t-cr)/(24*60*60*1e3);if(r){a-=1462;return a<-1402?a-1:a}return a<60?a-1:a}function vr(e){if(e>=60&&e<61)return e;var r=new Date;r.setTime((e>60?e:e+1)*24*60*60*1e3+cr);return r}function pr(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].slice(n[i].length-1)){case"Y":throw new Error("Unsupported ISO Duration Field: "+n[i].slice(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 mr=/^(\d+):(\d+)(:\d+)?(\.\d+)?$/;var gr=/^(\d+)-(\d+)-(\d+)$/;var br=/^(\d+)-(\d+)-(\d+)[T ](\d+):(\d+)(:\d+)?(\.\d+)?$/;function wr(e,r){if(e instanceof Date)return e;var t=e.match(mr);if(t)return new Date((r?ur:hr)+((parseInt(t[1],10)*60+parseInt(t[2],10))*60+(t[3]?parseInt(t[3].slice(1),10):0))*1e3+(t[4]?parseInt((t[4]+"000").slice(1,4),10):0));t=e.match(gr);if(t)return new Date(Date.UTC(+t[1],+t[2]-1,+t[3],0,0,0,0));t=e.match(br);if(t)return new Date(Date.UTC(+t[1],+t[2]-1,+t[3],+t[4],+t[5],t[6]&&parseInt(t[6].slice(1),10)||0,t[7]&&parseInt(t[7].slice(1),10)||0));var a=new Date(e);return a}function kr(e,r){if(C&&Buffer.isBuffer(e)){if(r&&S){if(e[0]==255&&e[1]==254)return Tt(e.slice(2).toString("utf16le"));if(e[1]==254&&e[2]==255)return Tt(d(e.slice(2).toString("binary")))}return e.toString("binary")}if(typeof TextDecoder!=="undefined")try{if(r){if(e[0]==255&&e[1]==254)return Tt(new TextDecoder("utf-16le").decode(e.slice(2)));if(e[0]==254&&e[1]==255)return Tt(new TextDecoder("utf-16be").decode(e.slice(2)))}var t={"€":"€","‚":"‚","ƒ":"ƒ","„":"„","…":"…","†":"†","‡":"‡","ˆ":"ˆ","‰":"‰","Š":"Š","‹":"‹","Œ":"Œ","Ž":"Ž","‘":"‘","’":"’","“":"“","”":"”","•":"•","–":"–","—":"—","˜":"˜","™":"™","š":"š","›":"›","œ":"œ","ž":"ž","Ÿ":"Ÿ"};if(Array.isArray(e))e=new Uint8Array(e);return new TextDecoder("latin1").decode(e).replace(/[€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ]/g,function(e){return t[e]||e})}catch(a){}var n=[],i=0;try{for(i=0;i<e.length-65536;i+=65536)n.push(String.fromCharCode.apply(0,e.slice(i,i+65536)));n.push(String.fromCharCode.apply(0,e.slice(i)))}catch(a){try{for(;i<e.length-16384;i+=16384)n.push(String.fromCharCode.apply(0,e.slice(i,i+16384)));n.push(String.fromCharCode.apply(0,e.slice(i)))}catch(a){for(;i!=e.length;++i)n.push(String.fromCharCode(e[i]))}}return n.join("")}function Tr(e){if(typeof JSON!="undefined"&&!Array.isArray(e))return JSON.parse(JSON.stringify(e));if(typeof e!="object"||e==null)return e;if(e instanceof Date)return new Date(e.getTime());var r={};for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))r[t]=Tr(e[t]);return r}function Ar(e,r){var t="";while(t.length<r)t+=e;return t}function yr(e){var r=Number(e);if(!isNaN(r))return isFinite(r)?r:NaN;if(!/\d/.test(e))return r;var t=1;var a=e.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g,function(){t*=100;return""});if(!isNaN(r=Number(a)))return r/t;a=a.replace(/[(](.*)[)]/,function(e,r){t=-t;return r});if(!isNaN(r=Number(a)))return r/t;return r}var Er=/^(0?\d|1[0-2])(?:|:([0-5]?\d)(?:|(\.\d+)(?:|:([0-5]?\d))|:([0-5]?\d)(|\.\d+)))\s+([ap])m?$/;var Cr=/^([01]?\d|2[0-3])(?:|:([0-5]?\d)(?:|(\.\d+)(?:|:([0-5]?\d))|:([0-5]?\d)(|\.\d+)))$/;var _r=/^(\d+)-(\d+)-(\d+)[T ](\d+):(\d+)(:\d+)(\.\d+)?[Z]?$/;var Sr=new Date("6/9/69 00:00 UTC").valueOf()==-177984e5;function xr(e){if(!e[2])return new Date(Date.UTC(1899,11,31,+e[1]%12+(e[7]=="p"?12:0),0,0,0));if(e[3]){if(e[4])return new Date(Date.UTC(1899,11,31,+e[1]%12+(e[7]=="p"?12:0),+e[2],+e[4],parseFloat(e[3])*1e3));else return new Date(Date.UTC(1899,11,31,e[7]=="p"?12:0,+e[1],+e[2],parseFloat(e[3])*1e3))}else if(e[5])return new Date(Date.UTC(1899,11,31,+e[1]%12+(e[7]=="p"?12:0),+e[2],+e[5],e[6]?parseFloat(e[6])*1e3:0));else return new Date(Date.UTC(1899,11,31,+e[1]%12+(e[7]=="p"?12:0),+e[2],0,0))}function Or(e){if(!e[2])return new Date(Date.UTC(1899,11,31,+e[1],0,0,0));if(e[3]){if(e[4])return new Date(Date.UTC(1899,11,31,+e[1],+e[2],+e[4],parseFloat(e[3])*1e3));else return new Date(Date.UTC(1899,11,31,0,+e[1],+e[2],parseFloat(e[3])*1e3))}else if(e[5])return new Date(Date.UTC(1899,11,31,+e[1],+e[2],+e[5],e[6]?parseFloat(e[6])*1e3:0));else return new Date(Date.UTC(1899,11,31,+e[1],+e[2],0,0))}var Rr=["january","february","march","april","may","june","july","august","september","october","november","december"];function Ir(e){if(_r.test(e))return e.indexOf("Z")==-1?Dr(new Date(e)):new Date(e);var r=e.toLowerCase();var t=r.replace(/\s+/g," ").trim();var a=t.match(Er);if(a)return xr(a);a=t.match(Cr);if(a)return Or(a);a=t.match(br);if(a)return new Date(Date.UTC(+a[1],+a[2]-1,+a[3],+a[4],+a[5],a[6]&&parseInt(a[6].slice(1),10)||0,a[7]&&parseInt(a[7].slice(1),10)||0));var n=new Date(Sr&&e.indexOf("UTC")==-1?e+" UTC":e),i=new Date(NaN);var s=n.getYear(),f=n.getMonth(),l=n.getDate();if(isNaN(l))return i;if(r.match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/)){r=r.replace(/[^a-z]/g,"").replace(/([^a-z]|^)[ap]m?([^a-z]|$)/,"");if(r.length>3&&Rr.indexOf(r)==-1)return i}else if(r.replace(/[ap]m?/,"").match(/[a-z]/))return i;if(s<0||s>8099||e.match(/[^-0-9:,\/\\\ ]/))return i;return n}var Nr=function(){var e="abacaba".split(/(:?b)/i).length==5;return function r(t,a,n){if(e||typeof a=="string")return t.split(a);var i=t.split(a),s=[i[0]];for(var f=1;f<i.length;++f){s.push(n);s.push(i[f])}return s}}();function Fr(e){return new Date(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds())}function Dr(e){return new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()))}function Pr(e){if(!e)return null;if(e.content&&e.type)return kr(e.content,true);if(e.data)return v(e.data);if(e.asNodeBuffer&&C)return v(e.asNodeBuffer().toString("binary"));if(e.asBinary)return v(e.asBinary());if(e._data&&e._data.getContent)return v(kr(Array.prototype.slice.call(e._data.getContent(),0)));return null}function Lr(e){if(!e)return null;if(e.data)return c(e.data);if(e.asNodeBuffer&&C)return e.asNodeBuffer();if(e._data&&e._data.getContent){var r=e._data.getContent();if(typeof r=="string")return c(r);return Array.prototype.slice.call(r)}if(e.content&&e.type)return e.content;return null}function Mr(e){return e&&e.name.slice(-4)===".bin"?Lr(e):Pr(e)}function Ur(e,r){var t=e.FullPaths||ir(e.files);var a=r.toLowerCase().replace(/[\/]/g,"\\"),n=a.replace(/\\/g,"/");for(var i=0;i<t.length;++i){var s=t[i].replace(/^Root Entry[\/]/,"").toLowerCase();if(a==s||n==s)return e.files?e.files[t[i]]:e.FileIndex[i]}return null}function Br(e,r){var t=Ur(e,r);if(t==null)throw new Error("Cannot find file "+r+" in zip");return t}function Wr(e,r,t){if(!t)return Mr(Br(e,r));if(!r)return null;try{return Wr(e,r)}catch(a){return null}}function zr(e,r,t){if(!t)return Pr(Br(e,r));if(!r)return null;try{return zr(e,r)}catch(a){return null}}function Hr(e,r,t){if(!t)return Lr(Br(e,r));if(!r)return null;try{return Hr(e,r)}catch(a){return null}}function Vr(e){var r=e.FullPaths||ir(e.files),t=[];for(var a=0;a<r.length;++a)if(r[a].slice(-1)!="/")t.push(r[a].replace(/^Root Entry[\/]/,""));return t.sort()}function Xr(e,r,t){if(e.FullPaths){if(typeof t=="string"){var a;if(C)a=_(t);else a=L(t);return Qe.utils.cfb_add(e,r,a)}Qe.utils.cfb_add(e,r,t)}else e.file(r,t)}function $r(){return Qe.utils.cfb_new()}function Gr(e,r){switch(r.type){case"base64":return Qe.read(e,{type:"base64"});case"binary":return Qe.read(e,{type:"binary"});case"buffer":;case"array":return Qe.read(e,{type:"buffer"});}throw new Error("Unrecognized type "+r.type)}function jr(e,r){if(e.charAt(0)=="/")return e.slice(1);var t=r.split("/");if(r.slice(-1)!="/")t.pop();var a=e.split("/");while(a.length!==0){var n=a.shift();if(n==="..")t.pop();else if(n!==".")t.push(n)}return t.join("/")}var Kr='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r\n';var Yr=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g;var Zr=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/gm,Jr=/<[^>]*>/g;var qr=Kr.match(Zr)?Zr:Jr;var Qr=/<\w*:/,et=/<(\/?)\w+:/;function rt(e,r,t){var a={};var n=0,i=0;for(;n!==e.length;++n)if((i=e.charCodeAt(n))===32||i===10||i===13)break;if(!r)a[0]=e.slice(0,n);if(n===e.length)return a;var s=e.match(Yr),f=0,l="",o=0,c="",h="",u=1;if(s)for(o=0;o!=s.length;++o){h=s[o];for(i=0;i!=h.length;++i)if(h.charCodeAt(i)===61)break;c=h.slice(0,i).trim();while(h.charCodeAt(i+1)==32)++i;u=(n=h.charCodeAt(i+1))==34||n==39?1:0;l=h.slice(i+1+u,h.length-u);for(f=0;f!=c.length;++f)if(c.charCodeAt(f)===58)break;if(f===c.length){if(c.indexOf("_")>0)c=c.slice(0,c.indexOf("_"));a[c]=l;if(!t)a[c.toLowerCase()]=l}else{var d=(f===5&&c.slice(0,5)==="xmlns"?"xmlns":"")+c.slice(f+1);if(a[d]&&c.slice(f-3,f)=="ext")continue;a[d]=l;if(!t)a[d.toLowerCase()]=l}}return a}function tt(e){return e.replace(et,"<$1")}var at={""":'"',"'":"'",">":">","<":"<","&":"&"};var nt=fr(at);var it=function(){var e=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/gi,r=/_x([\da-fA-F]{4})_/gi;function t(a){var n=a+"",i=n.indexOf("<![CDATA[");if(i==-1)return n.replace(e,function(e,r){return at[e]||String.fromCharCode(parseInt(r,e.indexOf("x")>-1?16:10))||e}).replace(r,function(e,r){return String.fromCharCode(parseInt(r,16))});var s=n.indexOf("]]>");return t(n.slice(0,i))+n.slice(i+9,s)+t(n.slice(s+3))}return function a(e,r){var a=t(e);return r?a.replace(/\r\n/g,"\n"):a}}();var st=/[&<>'"]/g,ft=/[\u0000-\u0008\u000b-\u001f\uFFFE-\uFFFF]/g;function lt(e){var r=e+"";return r.replace(st,function(e){return nt[e]}).replace(ft,function(e){return"_x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+"_"})}function ot(e){return lt(e).replace(/ /g,"_x0020_")}var ct=/[\u0000-\u001f]/g;function ht(e){var r=e+"";return r.replace(st,function(e){return nt[e]}).replace(/\n/g,"<br/>").replace(ct,function(e){return"&#x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+";"})}function ut(e){var r=e+"";return r.replace(st,function(e){return nt[e]}).replace(ct,function(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"})}var dt=function(){var e=/&#(\d+);/g;function r(e,r){return String.fromCharCode(parseInt(r,10))}return function t(a){return a.replace(e,r)}}();function vt(e){return e.replace(/(\r\n|[\r\n])/g," ")}function pt(e){switch(e){case 1:;case true:;case"1":;case"true":return true;case 0:;case false:;case"0":;case"false":return false;}return false}function mt(e){var r="",t=0,a=0,n=0,i=0,s=0,f=0;while(t<e.length){a=e.charCodeAt(t++);if(a<128){r+=String.fromCharCode(a);continue}n=e.charCodeAt(t++);if(a>191&&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}function gt(e){var r=x(2*e.length),t,a,n=1,i=0,s=0,f;for(a=0;a<e.length;a+=n){n=1;if((f=e.charCodeAt(a))<128)t=f;else if(f<224){t=(f&31)*64+(e.charCodeAt(a+1)&63);n=2}else if(f<240){t=(f&15)*4096+(e.charCodeAt(a+1)&63)*64+(e.charCodeAt(a+2)&63);n=3}else{n=4;t=(f&7)*262144+(e.charCodeAt(a+1)&63)*4096+(e.charCodeAt(a+2)&63)*64+(e.charCodeAt(a+3)&63);t-=65536;s=55296+(t>>>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")}function bt(e){return _(e,"binary").toString("utf8")}var wt="foo bar baz☃🍣";var kt=C&&(bt(wt)==mt(wt)&&bt||gt(wt)==mt(wt)&>)||mt;var Tt=C?function(e){return _(e,"utf8").toString("binary")}:function(e){var r=[],t=0,a=0,n=0;while(t<e.length){a=e.charCodeAt(t++);switch(true){case a<128:r.push(String.fromCharCode(a));break;case a<2048:r.push(String.fromCharCode(192+(a>>6)));r.push(String.fromCharCode(128+(a&63)));break;case a>=55296&&a<57344:a-=55296;n=e.charCodeAt(t++)-56320+(a<<10);r.push(String.fromCharCode(240+(n>>18&7)));r.push(String.fromCharCode(144+(n>>12&63)));r.push(String.fromCharCode(128+(n>>6&63)));r.push(String.fromCharCode(128+(n&63)));break;default:r.push(String.fromCharCode(224+(a>>12)));r.push(String.fromCharCode(128+(a>>6&63)));r.push(String.fromCharCode(128+(a&63)));}}return r.join("")};var At=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]*?)</(?:\\w+:)?'+t+">",a||"")}}();var yt=function(){var e=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map(function(e){return[new RegExp("&"+e[0]+";","ig"),e[1]]});return function r(t){var a=t.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+</g,"<").replace(/[\t\n\r ]+/g," ").replace(/<\s*[bB][rR]\s*\/?>/g,"\n").replace(/<[^>]*>/g,"");for(var n=0;n<e.length;++n)a=a.replace(e[n][0],e[n][1]);return a}}();var Et=function(){var e={};return function r(t){if(e[t]!==undefined)return e[t];return e[t]=new RegExp("<(?:vt:)?"+t+">([\\s\\S]*?)</(?:vt:)?"+t+">","g")}}();var Ct=/<\/?(?:vt:)?variant>/g,_t=/<(?:vt:)([^>]*)>([\s\S]*)</;function St(e,r){var t=rt(e);var a=e.match(Et(t.baseType))||[];var n=[];if(a.length!=t.size){if(r.WTF)throw new Error("unexpected vector length "+a.length+" != "+t.size);return n}a.forEach(function(e){var r=e.replace(Ct,"").match(_t);if(r)n.push({v:kt(r[2]),t:r[1]})});return n}var xt=/(^\s|\s$|\n)/;function Ot(e,r){return"<"+e+(r.match(xt)?' xml:space="preserve"':"")+">"+r+"</"+e+">"}function Rt(e){return ir(e).map(function(r){return" "+r+'="'+e[r]+'"'}).join("")}function It(e,r,t){return"<"+e+(t!=null?Rt(t):"")+(r!=null?(r.match(xt)?' xml:space="preserve"':"")+">"+r+"</"+e:"/")+">"}function Nt(e,r){try{return e.toISOString().replace(/\.\d*/,"")}catch(t){if(r)throw t}return""}function Ft(e,r){switch(typeof e){case"string":var t=It("vt:lpwstr",lt(e));if(r)t=t.replace(/"/g,"_x0022_");return t;case"number":return It((e|0)==e?"vt:i4":"vt:r8",lt(String(e)));case"boolean":return It("vt:bool",e?"true":"false");}if(e instanceof Date)return It("vt:filetime",Nt(e));throw new Error("Unable to serialize "+e)}function Dt(e){if(C&&Buffer.isBuffer(e))return e.toString("utf8");if(typeof e==="string")return e;if(typeof Uint8Array!=="undefined"&&e instanceof Uint8Array)return kt(N(D(e)));throw new Error("Bad input format: expected Buffer or string")}var Pt=/<(\/?)([^\s?><!\/:]*:|)([^\s?<>:\/]+)(?:[\s?:\/](?:[^>=]|="[^"]*?")*)?>/gm;var Lt={CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",CT:"http://schemas.openxmlformats.org/package/2006/content-types",RELS:"http://schemas.openxmlformats.org/package/2006/relationships",TCMNT:"http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments",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"};var Mt=["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 Ut={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 Bt(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 Wt(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 if(s==0)n=i=0;else{n=Math.floor(Math.log(s)/Math.LN2);i=s*Math.pow(2,52-n);if(n<=-1023&&(!isFinite(i)||i<Math.pow(2,52))){n=-1022}else{i-=Math.pow(2,52);n+=1023}}for(var f=0;f<=5;++f,i/=256)e[t+f]=i&255;e[t+6]=(n&15)<<4|i&15;e[t+7]=n>>4|a}var zt=function(e){var r=[],t=10240;for(var a=0;a<e[0].length;++a)if(e[0][a])for(var n=0,i=e[0][a].length;n<i;n+=t)r.push.apply(r,e[0][a].slice(n,n+t));return r};var Ht=C?function(e){return e[0].length>0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0].map(function(e){return Buffer.isBuffer(e)?e:_(e)})):zt(e)}:zt;var Vt=function(e,r,t){var a=[];for(var n=r;n<t;n+=2)a.push(String.fromCharCode(ca(e,n)));return a.join("").replace(M,"")};var Xt=C?function(e,r,t){if(!Buffer.isBuffer(e)||!S)return Vt(e,r,t);return e.toString("utf16le",r,t).replace(M,"")}:Vt;var $t=function(e,r,t){var a=[];for(var n=r;n<r+t;++n)a.push(("0"+e[n].toString(16)).slice(-2));return a.join("")};var Gt=C?function(e,r,t){return Buffer.isBuffer(e)?e.toString("hex",r,r+t):$t(e,r,t)}:$t;var jt=function(e,r,t){var a=[];for(var n=r;n<t;n++)a.push(String.fromCharCode(oa(e,n)));return a.join("")};var Kt=C?function vT(e,r,t){return Buffer.isBuffer(e)?e.toString("utf8",r,t):jt(e,r,t)}:jt;var Yt=function(e,r){var t=ua(e,r);return t>0?Kt(e,r+4,r+4+t-1):""};var Zt=Yt;var Jt=function(e,r){var t=ua(e,r);return t>0?Kt(e,r+4,r+4+t-1):""};var qt=Jt;var Qt=function(e,r){var t=2*ua(e,r);return t>0?Kt(e,r+4,r+4+t-1):""};var ea=Qt;var ra=function pT(e,r){var t=ua(e,r);return t>0?Xt(e,r+4,r+4+t):""};var ta=ra;var aa=function(e,r){var t=ua(e,r);return t>0?Kt(e,r+4,r+4+t):""};var na=aa;var ia=function(e,r){return Bt(e,r)};var sa=ia;var fa=function mT(e){return Array.isArray(e)||typeof Uint8Array!=="undefined"&&e instanceof Uint8Array};if(C){Zt=function gT(e,r){if(!Buffer.isBuffer(e))return Yt(e,r);var t=e.readUInt32LE(r);return t>0?e.toString("utf8",r+4,r+4+t-1):""};qt=function bT(e,r){if(!Buffer.isBuffer(e))return Jt(e,r);var t=e.readUInt32LE(r);return t>0?e.toString("utf8",r+4,r+4+t-1):""};ea=function wT(e,r){if(!Buffer.isBuffer(e)||!S)return Qt(e,r);var t=2*e.readUInt32LE(r);return e.toString("utf16le",r+4,r+4+t-1)};ta=function kT(e,r){if(!Buffer.isBuffer(e)||!S)return ra(e,r);var t=e.readUInt32LE(r);return e.toString("utf16le",r+4,r+4+t)};na=function TT(e,r){if(!Buffer.isBuffer(e))return aa(e,r);var t=e.readUInt32LE(r);return e.toString("utf8",r+4,r+4+t)};sa=function AT(e,r){if(Buffer.isBuffer(e))return e.readDoubleLE(r);return ia(e,r)};fa=function yT(e){return Buffer.isBuffer(e)||Array.isArray(e)||typeof Uint8Array!=="undefined"&&e instanceof Uint8Array}}function la(){Xt=function(e,r,t){return a.utils.decode(1200,e.slice(r,t)).replace(M,"")};Kt=function(e,r,t){return a.utils.decode(65001,e.slice(r,t))};Zt=function(e,r){var n=ua(e,r);return n>0?a.utils.decode(t,e.slice(r+4,r+4+n-1)):""};qt=function(e,t){var n=ua(e,t);return n>0?a.utils.decode(r,e.slice(t+4,t+4+n-1)):""};ea=function(e,r){var t=2*ua(e,r);return t>0?a.utils.decode(1200,e.slice(r+4,r+4+t-1)):""};ta=function(e,r){var t=ua(e,r);return t>0?a.utils.decode(1200,e.slice(r+4,r+4+t)):""};na=function(e,r){var t=ua(e,r);return t>0?a.utils.decode(65001,e.slice(r+4,r+4+t)):""}}if(typeof a!=="undefined")la();var oa=function(e,r){return e[r]};var ca=function(e,r){return e[r+1]*(1<<8)+e[r]};var ha=function(e,r){var t=e[r+1]*(1<<8)+e[r];return t<32768?t:(65535-t+1)*-1};var ua=function(e,r){return e[r+3]*(1<<24)+(e[r+2]<<16)+(e[r+1]<<8)+e[r]};var da=function(e,r){return e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]};var va=function(e,r){return e[r]<<24|e[r+1]<<16|e[r+2]<<8|e[r+3]};function pa(e,t){var n="",i,s,f=[],l,o,c,h;switch(t){case"dbcs":h=this.l;if(C&&Buffer.isBuffer(this)&&S)n=this.slice(this.l,this.l+2*e).toString("utf16le");else for(c=0;c<e;++c){n+=String.fromCharCode(ca(this,h));h+=2}e*=2;break;case"utf8":n=Kt(this,this.l,this.l+e);break;case"utf16le":e*=2;n=Xt(this,this.l,this.l+e);break;case"wstr":if(typeof a!=="undefined")n=a.utils.decode(r,this.slice(this.l,this.l+2*e));else return pa.call(this,e,"dbcs");e=2*e;break;case"lpstr-ansi":n=Zt(this,this.l);e=4+ua(this,this.l);break;case"lpstr-cp":n=qt(this,this.l);e=4+ua(this,this.l);break;case"lpwstr":n=ea(this,this.l);e=4+2*ua(this,this.l);break;case"lpp4":e=4+ua(this,this.l);n=ta(this,this.l);if(e&2)e+=2;break;case"8lpp4":e=4+ua(this,this.l);n=na(this,this.l);if(e&3)e+=4-(e&3);break;case"cstr":e=0;n="";while((l=oa(this,this.l+e++))!==0)f.push(p(l));n=f.join("");break;case"_wstr":e=0;n="";while((l=ca(this,this.l+e))!==0){f.push(p(l));e+=2}e+=2;n=f.join("");break;case"dbcs-cont":n="";h=this.l;for(c=0;c<e;++c){if(this.lens&&this.lens.indexOf(h)!==-1){l=oa(this,h);this.l=h+1;o=pa.call(this,e-c,l?"dbcs-cont":"sbcs-cont");return f.join("")+o}f.push(p(ca(this,h)));h+=2}n=f.join("");e*=2; +break;case"cpstr":if(typeof a!=="undefined"){n=a.utils.decode(r,this.slice(this.l,this.l+e));break};case"sbcs-cont":n="";h=this.l;for(c=0;c!=e;++c){if(this.lens&&this.lens.indexOf(h)!==-1){l=oa(this,h);this.l=h+1;o=pa.call(this,e-c,l?"dbcs-cont":"sbcs-cont");return f.join("")+o}f.push(p(oa(this,h)));h+=1}n=f.join("");break;default:switch(e){case 1:i=oa(this,this.l);this.l++;return i;case 2:i=(t==="i"?ha:ca)(this,this.l);this.l+=2;return i;case 4:;case-4:if(t==="i"||(this[this.l+3]&128)===0){i=(e>0?da:va)(this,this.l);this.l+=4;return i}else{s=ua(this,this.l);this.l+=4}return s;case 8:;case-8:if(t==="f"){if(e==8)s=sa(this,this.l);else s=sa([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0);this.l+=8;return s}else e=8;case 16:n=Gt(this,this.l,e);break;};}this.l+=e;return n}var ma=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 ga=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 ba=function(e,r,t){e[t]=r&255;e[t+1]=r>>>8&255};function wa(e,n,i){var s=0,f=0;if(i==="dbcs"){for(f=0;f!=n.length;++f)ba(this,n.charCodeAt(f),this.l+2*f);s=2*n.length}else if(i==="sbcs"||i=="cpstr"){if(typeof a!=="undefined"&&t==874){for(f=0;f!=n.length;++f){var l=a.utils.encode(t,n.charAt(f));this[this.l+f]=l[0]}s=n.length}else if(typeof a!=="undefined"&&i=="cpstr"){l=a.utils.encode(r,n);if(l.length==n.length)for(f=0;f<n.length;++f)if(l[f]==0&&n.charCodeAt(f)!=0)l[f]=95;if(l.length==2*n.length)for(f=0;f<n.length;++f)if(l[2*f]==0&&l[2*f+1]==0&&n.charCodeAt(f)!=0)l[2*f]=95;for(f=0;f<l.length;++f)this[this.l+f]=l[f];s=l.length}else{n=n.replace(/[^\x00-\x7F]/g,"_");for(f=0;f!=n.length;++f)this[this.l+f]=n.charCodeAt(f)&255;s=n.length}}else if(i==="hex"){for(;f<e;++f){this[this.l++]=parseInt(n.slice(2*f,2*f+2),16)||0}return this}else if(i==="utf16le"){var o=Math.min(this.l+e,this.length);for(f=0;f<Math.min(n.length,e);++f){var c=n.charCodeAt(f);this[this.l++]=c&255;this[this.l++]=c>>8}while(this.l<o)this[this.l++]=0;return this}else switch(e){case 1:s=1;this[this.l]=n&255;break;case 2:s=2;this[this.l]=n&255;n>>>=8;this[this.l+1]=n&255;break;case 3:s=3;this[this.l]=n&255;n>>>=8;this[this.l+1]=n&255;n>>>=8;this[this.l+2]=n&255;break;case 4:s=4;ma(this,n,this.l);break;case 8:s=8;if(i==="f"){Wt(this,n,this.l);break};case 16:break;case-4:s=4;ga(this,n,this.l);break;}this.l+=s;return this}function ka(e,r){var t=Gt(this,this.l,e.length>>1);if(t!==e)throw new Error(r+"Expected "+e+" saw "+t);this.l+=e.length>>1}function Ta(e,r){e.l=r;e._R=pa;e.chk=ka;e._W=wa}function Aa(e,r){e.l+=r}function ya(e){var r=x(e);Ta(r,0);return r}function Ea(e,r,t){if(!e)return;var a,n,i;Ta(e,e.l||0);var s=e.length,f=0,l=0;while(e.l<s){f=e._R(1);if(f&128)f=(f&127)+((e._R(1)&127)<<7);var o=Qg[f]||Qg[65535];a=e._R(1);i=a&127;for(n=1;n<4&&a&128;++n)i+=((a=e._R(1))&127)<<7*n;l=e.l+i;var c=o.f&&o.f(e,i,t);e.l=l;if(r(c,o,f))return}}function Ca(){var e=[],r=C?256:2048;var t=function l(e){var r=ya(e);Ta(r,0);return r};var a=t(r);var n=function o(){if(!a)return;if(a.l){if(a.length>a.l){a=a.slice(0,a.l);a.l=a.length}if(a.length>0)e.push(a)}a=null};var i=function c(e){if(a&&e<a.length-a.l)return a;n();return a=t(Math.max(e+1,r))};var s=function h(){n();return P(e)};var f=function u(e){n();a=e;if(a.l==null)a.l=a.length;i(r)};return{next:i,push:f,end:s,_bufs:e}}function _a(e,r,t,a){var n=+r,i;if(isNaN(n))return;if(!a)a=Qg[n].p||(t||[]).length||0;i=1+(n>=128?1:0)+1;if(a>=128)++i;if(a>=16384)++i;if(a>=2097152)++i;var s=e.next(i);if(n<=127)s._W(1,n);else{s._W(1,(n&127)+128);s._W(1,n>>7)}for(var f=0;f!=4;++f){if(a>=128){s._W(1,(a&127)+128);a>>=7}else{s._W(1,a);break}}if(a>0&&fa(t))e.push(t)}function Sa(e,r,t){var a=Tr(e);if(r.s){if(a.cRel)a.c+=r.s.c;if(a.rRel)a.r+=r.s.r}else{if(a.cRel)a.c+=r.c;if(a.rRel)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 xa(e,r,t){var a=Tr(e);a.s=Sa(a.s,r.s,t);a.e=Sa(a.e,r.s,t);return a}function Oa(e,r){if(e.cRel&&e.c<0){e=Tr(e);while(e.c<0)e.c+=r>8?16384:256}if(e.rRel&&e.r<0){e=Tr(e);while(e.r<0)e.r+=r>8?1048576:r>5?65536:16384}var t=za(e);if(!e.cRel&&e.cRel!=null)t=Ma(t);if(!e.rRel&&e.rRel!=null)t=Fa(t);return t}function Ra(e,r){if(e.s.r==0&&!e.s.rRel){if(e.e.r==(r.biff>=12?1048575:r.biff>=8?65536:16384)&&!e.e.rRel){return(e.s.cRel?"":"$")+La(e.s.c)+":"+(e.e.cRel?"":"$")+La(e.e.c)}}if(e.s.c==0&&!e.s.cRel){if(e.e.c==(r.biff>=12?16383:255)&&!e.e.cRel){return(e.s.rRel?"":"$")+Na(e.s.r)+":"+(e.e.rRel?"":"$")+Na(e.e.r)}}return Oa(e.s,r.biff)+":"+Oa(e.e,r.biff)}if(typeof cptable!=="undefined")g(cptable);else if(typeof module!=="undefined"&&typeof require!=="undefined"){g(undefined)}function Ia(e){return parseInt(Da(e),10)-1}function Na(e){return""+(e+1)}function Fa(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}function Da(e){return e.replace(/\$(\d+)$/,"$1")}function Pa(e){var r=Ua(e),t=0,a=0;for(;a!==r.length;++a)t=26*t+r.charCodeAt(a)-64;return t-1}function La(e){if(e<0)throw new Error("invalid column "+e);var r="";for(++e;e;e=Math.floor((e-1)/26))r=String.fromCharCode((e-1)%26+65)+r;return r}function Ma(e){return e.replace(/^([A-Z])/,"$$$1")}function Ua(e){return e.replace(/^\$([A-Z])/,"$1")}function Ba(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function Wa(e){var r=0,t=0;for(var a=0;a<e.length;++a){var n=e.charCodeAt(a);if(n>=48&&n<=57)r=10*r+(n-48);else if(n>=65&&n<=90)t=26*t+(n-64)}return{c:t-1,r:r-1}}function za(e){var r=e.c+1;var t="";for(;r;r=(r-1)/26|0)t=String.fromCharCode((r-1)%26+65)+t;return t+(e.r+1)}function Ha(e){var r=e.indexOf(":");if(r==-1)return{s:Wa(e),e:Wa(e)};return{s:Wa(e.slice(0,r)),e:Wa(e.slice(r+1))}}function Va(e,r){if(typeof r==="undefined"||typeof r==="number"){return Va(e.s,e.e)}if(typeof e!=="string")e=za(e);if(typeof r!=="string")r=za(r);return e==r?e:e+":"+r}function Xa(e){var r=Ha(e);return"$"+La(r.s.c)+"$"+Na(r.s.r)+":$"+La(r.e.c)+"$"+Na(r.e.r)}function $a(e,r){if(!e&&!(r&&r.biff<=5&&r.biff>=2))throw new Error("empty sheet name");if(/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(e))return"'"+e.replace(/'/g,"''")+"'";return e}function Ga(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;a<i;++a){if((n=e.charCodeAt(a)-64)<1||n>26)break;t=26*t+n}r.s.c=--t;for(t=0;a<i;++a){if((n=e.charCodeAt(a)-48)<0||n>9)break;t=10*t+n}r.s.r=--t;if(a===i||n!=10){r.e.c=r.s.c;r.e.r=r.s.r;return r}++a;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 ja(e,r){var t=e.t=="d"&&r instanceof Date;if(e.z!=null)try{return e.w=ze(e.z,t?dr(r):r)}catch(a){}try{return e.w=ze((e.XF||{}).numFmtId||(t?14:0),t?dr(r):r)}catch(a){return""+r}}function Ka(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(e.t=="e")return ti[e.v]||e.v;if(r==undefined)return ja(e,e.v);return ja(e,r)}function Ya(e,r){var t=r&&r.sheet?r.sheet:"Sheet1";var a={};a[t]=e;return{SheetNames:[t],Sheets:a}}function Za(e){var r={};var t=e||{};if(t.dense)r["!data"]=[];return r}function Ja(e,r,t){var a=t||{};var n=e?e["!data"]!=null:a.dense;if(b!=null&&n==null)n=b;var i=e||{};if(n&&!i["!data"])i["!data"]=[];var s=0,f=0;if(i&&a.origin!=null){if(typeof a.origin=="number")s=a.origin;else{var l=typeof a.origin=="string"?Wa(a.origin):a.origin;s=l.r;f=l.c}if(!i["!ref"])i["!ref"]="A1:A1"}var o={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(i["!ref"]){var c=Ga(i["!ref"]);o.s.c=c.s.c;o.s.r=c.s.r;o.e.c=Math.max(o.e.c,c.e.c);o.e.r=Math.max(o.e.r,c.e.r);if(s==-1)o.e.r=s=c.e.r+1}var h=[];for(var u=0;u!=r.length;++u){if(!r[u])continue;if(!Array.isArray(r[u]))throw new Error("aoa_to_sheet expects an array of arrays");var d=s+u,v=""+(d+1);if(n){if(!i["!data"][d])i["!data"][d]=[];h=i["!data"][d]}for(var p=0;p!=r[u].length;++p){if(typeof r[u][p]==="undefined")continue;var m={v:r[u][p]};var g=f+p;if(o.s.r>d)o.s.r=d;if(o.s.c>g)o.s.c=g;if(o.e.r<d)o.e.r=d;if(o.e.c<g)o.e.c=g;if(r[u][p]&&typeof r[u][p]==="object"&&!Array.isArray(r[u][p])&&!(r[u][p]instanceof Date))m=r[u][p];else{if(Array.isArray(m.v)){m.f=r[u][p][1];m.v=m.v[0]}if(m.v===null){if(m.f)m.t="n";else if(a.nullError){m.t="e";m.v=0}else if(!a.sheetStubs)continue;else m.t="z"}else if(typeof m.v==="number")m.t="n";else if(typeof m.v==="boolean")m.t="b";else if(m.v instanceof Date){m.z=a.dateNF||q[14];if(!a.UTC)m.v=Dr(m.v);if(a.cellDates){m.t="d";m.w=ze(m.z,dr(m.v,a.date1904))}else{m.t="n";m.v=dr(m.v,a.date1904);m.w=ze(m.z,m.v)}}else m.t="s"}if(n){if(h[g]&&h[g].z)m.z=h[g].z;h[g]=m}else{var w=La(g)+v;if(i[w]&&i[w].z)m.z=i[w].z;i[w]=m}}}if(o.s.c<1e7)i["!ref"]=Va(o);return i}function qa(e,r){return Ja(null,e,r)}function Qa(e){return e._R(4,"i")}function en(e,r){if(!r)r=ya(4);r._W(4,e);return r}function rn(e){var r=e._R(4);return r===0?"":e._R(r,"dbcs")}function tn(e,r){var t=false;if(r==null){t=true;r=ya(4+2*e.length)}r._W(4,e.length);if(e.length>0)r._W(0,e,"dbcs");return t?r.slice(0,r.l):r}function an(e){return{ich:e._R(2),ifnt:e._R(2)}}function nn(e,r){if(!r)r=ya(4);r._W(2,e.ich||0);r._W(2,e.ifnt||0);return r}function sn(e,r){var t=e.l;var a=e._R(1);var n=rn(e);var i=[];var s={t:n,h:n};if((a&1)!==0){var f=e._R(4);for(var l=0;l!=f;++l)i.push(an(e));s.r=i}else s.r=[{ich:0,ifnt:0}];e.l=t+r;return s}function fn(e,r){var t=false;if(r==null){t=true;r=ya(15+4*e.t.length)}r._W(1,0);tn(e.t,r);return t?r.slice(0,r.l):r}var ln=sn;function on(e,r){var t=false;if(r==null){t=true;r=ya(23+4*e.t.length)}r._W(1,1);tn(e.t,r);r._W(4,1);nn({ich:0,ifnt:0},r);return t?r.slice(0,r.l):r}function cn(e){var r=e._R(4);var t=e._R(2);t+=e._R(1)<<16;e.l++;return{c:r,iStyleRef:t}}function hn(e,r){if(r==null)r=ya(8);r._W(-4,e.c);r._W(3,e.iStyleRef||e.s);r._W(1,0);return r}function un(e){var r=e._R(2);r+=e._R(1)<<16;e.l++;return{c:-1,iStyleRef:r}}function dn(e,r){if(r==null)r=ya(4);r._W(3,e.iStyleRef||e.s);r._W(1,0);return r}var vn=rn;var pn=tn;function mn(e){var r=e._R(4);return r===0||r===4294967295?"":e._R(r,"dbcs")}function gn(e,r){var t=false;if(r==null){t=true;r=ya(127)}r._W(4,e.length>0?e.length:4294967295);if(e.length>0)r._W(0,e,"dbcs");return t?r.slice(0,r.l):r}var bn=rn;var wn=mn;var kn=gn;function Tn(e){var r=e.slice(e.l,e.l+4);var t=r[0]&1,a=r[0]&2;e.l+=4;var n=a===0?sa([0,0,0,0,r[0]&252,r[1],r[2],r[3]],0):da(r,0)>>2;return t?n/100:n}function An(e,r){if(r==null)r=ya(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._W(-4,((t?n:e)<<2)+(t+2));else throw new Error("unsupported RkNumber "+e)}function yn(e){var r={s:{},e:{}};r.s.r=e._R(4);r.e.r=e._R(4);r.s.c=e._R(4);r.e.c=e._R(4);return r}function En(e,r){if(!r)r=ya(16);r._W(4,e.s.r);r._W(4,e.e.r);r._W(4,e.s.c);r._W(4,e.e.c);return r}var Cn=yn;var _n=En;function Sn(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e._R(8,"f")}function xn(e,r){return(r||ya(8))._W(8,e,"f")}function On(e){var r={};var t=e._R(1);var a=t>>>1;var n=e._R(1);var i=e._R(2,"i");var s=e._R(1);var f=e._R(1);var l=e._R(1);e.l++;switch(a){case 0:r.auto=1;break;case 1:r.index=n;var o=ri[n];if(o)r.rgb=$o(o);break;case 2:r.rgb=$o([s,f,l]);break;case 3:r.theme=n;break;}if(i!=0)r.tint=i>0?i/32767:i/32768;return r}function Rn(e,r){if(!r)r=ya(8);if(!e||e.auto){r._W(4,0);r._W(4,0);return r}if(e.index!=null){r._W(1,2);r._W(1,e.index)}else if(e.theme!=null){r._W(1,6);r._W(1,e.theme)}else{r._W(1,5);r._W(1,0)}var t=e.tint||0;if(t>0)t*=32767;else if(t<0)t*=32768;r._W(2,t);if(!e.rgb||e.theme!=null){r._W(2,0);r._W(1,0);r._W(1,0)}else{var a=e.rgb||"FFFFFF";if(typeof a=="number")a=("000000"+a.toString(16)).slice(-6);r._W(1,parseInt(a.slice(0,2),16));r._W(1,parseInt(a.slice(2,4),16));r._W(1,parseInt(a.slice(4,6),16));r._W(1,255)}return r}function In(e){var r=e._R(1);e.l++;var t={fBold:r&1,fItalic:r&2,fUnderline:r&4,fStrikeout:r&8,fOutline:r&16,fShadow:r&32,fCondense:r&64,fExtend:r&128};return t}function Nn(e,r){if(!r)r=ya(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._W(1,t);r._W(1,0);return r}function Fn(e,r){var t={2:"BITMAP",3:"METAFILEPICT",8:"DIB",14:"ENHMETAFILE"};var a=e._R(4);switch(a){case 0:return"";case 4294967295:;case 4294967294:return t[e._R(4)]||"";}if(a>400)throw new Error("Unsupported Clipboard: "+a.toString(16));e.l-=4;return e._R(0,r==1?"lpstr":"lpwstr")}function Dn(e){return Fn(e,1)}function Pn(e){return Fn(e,2)}var Ln=2;var Mn=3;var Un=11;var Bn=12;var Wn=19;var zn=64;var Hn=65;var Vn=71;var Xn=4108;var $n=4126;var Gn=80;var jn=81;var Kn=[Gn,jn];var Yn={1:{n:"CodePage",t:Ln},2:{n:"Category",t:Gn},3:{n:"PresentationFormat",t:Gn},4:{n:"ByteCount",t:Mn},5:{n:"LineCount",t:Mn},6:{n:"ParagraphCount",t:Mn},7:{n:"SlideCount",t:Mn},8:{n:"NoteCount",t:Mn},9:{n:"HiddenCount",t:Mn},10:{n:"MultimediaClipCount",t:Mn},11:{n:"ScaleCrop",t:Un},12:{n:"HeadingPairs",t:Xn},13:{n:"TitlesOfParts",t:$n},14:{n:"Manager",t:Gn},15:{n:"Company",t:Gn},16:{n:"LinksUpToDate",t:Un},17:{n:"CharacterCount",t:Mn},19:{n:"SharedDoc",t:Un},22:{n:"HyperlinksChanged",t:Un},23:{n:"AppVersion",t:Mn,p:"version"},24:{n:"DigSig",t:Hn},26:{n:"ContentType",t:Gn},27:{n:"ContentStatus",t:Gn},28:{n:"Language",t:Gn},29:{n:"Version",t:Gn},255:{},2147483648:{n:"Locale",t:Wn},2147483651:{n:"Behavior",t:Wn},1919054434:{}};var Zn={1:{n:"CodePage",t:Ln},2:{n:"Title",t:Gn},3:{n:"Subject",t:Gn},4:{n:"Author",t:Gn},5:{n:"Keywords",t:Gn},6:{n:"Comments",t:Gn},7:{n:"Template",t:Gn},8:{n:"LastAuthor",t:Gn},9:{n:"RevNumber",t:Gn},10:{n:"EditTime",t:zn},11:{n:"LastPrinted",t:zn},12:{n:"CreatedDate",t:zn},13:{n:"ModifiedDate",t:zn},14:{n:"PageCount",t:Mn},15:{n:"WordCount",t:Mn},16:{n:"CharCount",t:Mn},17:{n:"Thumbnail",t:Vn},18:{n:"Application",t:Gn},19:{n:"DocSecurity",t:Mn},255:{},2147483648:{n:"Locale",t:Wn},2147483651:{n:"Behavior",t:Wn},1919054434:{}};var Jn={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 qn=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];function Qn(e){return e.map(function(e){return[e>>16&255,e>>8&255,e&255]})}var ei=Qn([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,0,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);var ri=Tr(ei);var ti={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"};var ai={"#NULL!":0,"#DIV/0!":7,"#VALUE!":15,"#REF!":23,"#NAME?":29,"#NUM!":36,"#N/A":42,"#GETTING_DATA":43,"#WTF?":255};var ni=["_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"];var ii={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.sheet.macroEnabled.main+xml":"workbooks","application/vnd.ms-excel.sheet.binary.macroEnabled.main":"workbooks","application/vnd.ms-excel.addin.macroEnabled.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":"sheets","application/vnd.ms-excel.worksheet":"sheets","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"charts","application/vnd.ms-excel.chartsheet":"charts","application/vnd.ms-excel.macrosheet+xml":"macros","application/vnd.ms-excel.macrosheet":"macros","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"dialogs","application/vnd.ms-excel.dialogsheet":"dialogs","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":"strs","application/vnd.ms-excel.sharedStrings":"strs","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":"styles","application/vnd.ms-excel.styles":"styles","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.openxmlformats-officedocument.spreadsheetml.comments+xml":"comments","application/vnd.ms-excel.comments":"comments","application/vnd.ms-excel.threadedcomments+xml":"threadedcomments","application/vnd.ms-excel.person+xml":"people","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"metadata","application/vnd.ms-excel.sheetMetadata":"metadata","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+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.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":"TODO","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.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 si={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",xlam:"application/vnd.ms-excel.addin.macroEnabled.main+xml",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"},metadata:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml",xlsb:"application/vnd.ms-excel.sheetMetadata"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};function fi(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""}}function li(e){var r=fi();if(!e||!e.match)return r;var t={};(e.match(qr)||[]).forEach(function(e){var a=rt(e);switch(a[0].replace(Qr,"<")){case"<?xml":break;case"<Types":r.xmlns=a["xmlns"+(a[0].match(/<(\w+):/)||["",""])[1]];break;case"<Default":t[a.Extension.toLowerCase()]=a.ContentType;break;case"<Override":if(r[ii[a.ContentType]]!==undefined)r[ii[a.ContentType]].push(a.PartName);break;}});if(r.xmlns!==Lt.CT)throw new Error("Unknown Namespace: "+r.xmlns);r.calcchain=r.calcchains.length>0?r.calcchains[0]:"";r.sst=r.strs.length>0?r.strs[0]:"";r.style=r.styles.length>0?r.styles[0]:"";r.defaults=t;delete r.calcchains;return r}function oi(e,r,t){var a=or(ii);var n=[],i;if(!t){n[n.length]=Kr;n[n.length]=It("Types",null,{xmlns:Lt.CT,"xmlns:xsd":Lt.xsd,"xmlns:xsi":Lt.xsi});n=n.concat([["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["data","application/vnd.openxmlformats-officedocument.model+data"],["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","application/vnd.openxmlformats-package.relationships+xml"]].map(function(e){return It("Default",null,{Extension:e[0],ContentType:e[1]})}))}var s=function(t){if(e[t]&&e[t].length>0){i=e[t][0];n[n.length]=It("Override",null,{PartName:(i[0]=="/"?"":"/")+i,ContentType:si[t][r.bookType]||si[t]["xlsx"]})}};var f=function(t){(e[t]||[]).forEach(function(e){n[n.length]=It("Override",null,{PartName:(e[0]=="/"?"":"/")+e,ContentType:si[t][r.bookType]||si[t]["xlsx"]})})};var l=function(r){(e[r]||[]).forEach(function(e){n[n.length]=It("Override",null,{PartName:(e[0]=="/"?"":"/")+e,ContentType:a[r][0]})})};s("workbooks");f("sheets");f("charts");l("themes");["strs","styles"].forEach(s);["coreprops","extprops","custprops"].forEach(l);l("vba");l("comments");l("threadedcomments");l("drawings");f("metadata");l("people");if(!t&&n.length>2){n[n.length]="</Types>";n[1]=n[1].replace("/>",">")}return n.join("")}var ci={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",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",CMNT:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",SST:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",STY:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",THEME:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",CHART:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",CHARTEX:"http://schemas.microsoft.com/office/2014/relationships/chartEx",CS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet",WS:["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"],DS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",MS:"http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet",IMG:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",DRAW:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",XLMETA:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata",TCMNT:"http://schemas.microsoft.com/office/2017/10/relationships/threadedComment",PEOPLE:"http://schemas.microsoft.com/office/2017/10/relationships/person",CONN:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/connections",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function hi(e){var r=e.lastIndexOf("/");return e.slice(0,r+1)+"_rels/"+e.slice(r+1)+".rels"}function ui(e,r){var t={"!id":{}};if(!e)return t;if(r.charAt(0)!=="/"){r="/"+r}var a={};(e.match(qr)||[]).forEach(function(e){var n=rt(e);if(n[0]==="<Relationship"){var i={};i.Type=n.Type;i.Target=it(n.Target);i.Id=n.Id;if(n.TargetMode)i.TargetMode=n.TargetMode;var s=n.TargetMode==="External"?n.Target:jr(n.Target,r);t[s]=i;a[n.Id]=i}});t["!id"]=a;return t}function di(e){var r=[Kr,It("Relationships",null,{xmlns:Lt.RELS})];ir(e["!id"]).forEach(function(t){r[r.length]=It("Relationship",null,e["!id"][t])});if(r.length>2){r[r.length]="</Relationships>";r[1]=r[1].replace("/>",">")}return r.join("")}function vi(e,r,t,a,n,i){if(!n)n={};if(!e["!id"])e["!id"]={};if(!e["!idx"])e["!idx"]=1;if(r<0)for(r=e["!idx"];e["!id"]["rId"+r];++r){}e["!idx"]=r+1;n.Id="rId"+r;n.Type=a;n.Target=t;if(i)n.TargetMode=i;else if([ci.HLINK,ci.XPATH,ci.XMISS].indexOf(n.Type)>-1)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 pi="application/vnd.oasis.opendocument.spreadsheet";function mi(e,r){var t=Dt(e);var a;var n;while(a=Pt.exec(t))switch(a[3]){case"manifest":break;case"file-entry":n=rt(a[0],false);if(n.path=="/"&&n.type!==pi)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 gi(e){var r=[Kr];r.push('<manifest:manifest xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0" manifest:version="1.2">\n');r.push(' <manifest:file-entry manifest:full-path="/" manifest:version="1.2" manifest:media-type="application/vnd.oasis.opendocument.spreadsheet"/>\n');for(var t=0;t<e.length;++t)r.push(' <manifest:file-entry manifest:full-path="'+e[t][0]+'" manifest:media-type="'+e[t][1]+'"/>\n');r.push("</manifest:manifest>");return r.join("")}function bi(e,r,t){return[' <rdf:Description rdf:about="'+e+'">\n',' <rdf:type rdf:resource="http://docs.oasis-open.org/ns/office/1.2/meta/'+(t||"odf")+"#"+r+'"/>\n'," </rdf:Description>\n"].join("")}function wi(e,r){return[' <rdf:Description rdf:about="'+e+'">\n',' <ns0:hasPart xmlns:ns0="http://docs.oasis-open.org/ns/office/1.2/meta/pkg#" rdf:resource="'+r+'"/>\n'," </rdf:Description>\n"].join("")}function ki(e){var r=[Kr];r.push('<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">\n');for(var t=0;t!=e.length;++t){r.push(bi(e[t][0],e[t][1]));r.push(wi("",e[t][0]))}r.push(bi("","Document","pkg"));r.push("</rdf:RDF>");return r.join("")}function Ti(r,t){return'<office:document-meta xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xlink="http://www.w3.org/1999/xlink" office:version="1.2"><office:meta><meta:generator>SheetJS '+e.version+"</meta:generator></office:meta></office:document-meta>"}var Ai=[["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"]];var yi=function(){ +var e=new Array(Ai.length);for(var r=0;r<Ai.length;++r){var t=Ai[r];var a="(?:"+t[0].slice(0,t[0].indexOf(":"))+":)"+t[0].slice(t[0].indexOf(":")+1);e[r]=new RegExp("<"+a+"[^>]*>([\\s\\S]*?)</"+a+">")}return e}();function Ei(e){var r={};e=kt(e);for(var t=0;t<Ai.length;++t){var a=Ai[t],n=e.match(yi[t]);if(n!=null&&n.length>0)r[a[1]]=it(n[1]);if(a[2]==="date"&&r[a[1]])r[a[1]]=wr(r[a[1]])}return r}function Ci(e,r,t,a,n){if(n[e]!=null||r==null||r==="")return;n[e]=r;r=lt(r);a[a.length]=t?It(e,r,t):Ot(e,r)}function _i(e,r){var t=r||{};var a=[Kr,It("cp:coreProperties",null,{"xmlns:cp":Lt.CORE_PROPS,"xmlns:dc":Lt.dc,"xmlns:dcterms":Lt.dcterms,"xmlns:dcmitype":Lt.dcmitype,"xmlns:xsi":Lt.xsi})],n={};if(!e&&!t.Props)return a.join("");if(e){if(e.CreatedDate!=null)Ci("dcterms:created",typeof e.CreatedDate==="string"?e.CreatedDate:Nt(e.CreatedDate,t.WTF),{"xsi:type":"dcterms:W3CDTF"},a,n);if(e.ModifiedDate!=null)Ci("dcterms:modified",typeof e.ModifiedDate==="string"?e.ModifiedDate:Nt(e.ModifiedDate,t.WTF),{"xsi:type":"dcterms:W3CDTF"},a,n)}for(var i=0;i!=Ai.length;++i){var s=Ai[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)Ci(s[0],f,null,a,n)}if(a.length>2){a[a.length]="</cp:coreProperties>";a[1]=a[1].replace("/>",">")}return a.join("")}var Si=[["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"]];var xi=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function Oi(e,r,t,a){var n=[];if(typeof e=="string")n=St(e,a);else for(var i=0;i<e.length;++i)n=n.concat(e[i].map(function(e){return{v:e}}));var s=typeof r=="string"?St(r,a).map(function(e){return e.v}):r;var f=0,l=0;if(s.length>0)for(var o=0;o!==n.length;o+=2){l=+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"Hojas de cálculo":;case"Werkbladen":t.Worksheets=l;t.SheetNames=s.slice(f,f+l);break;case"Named Ranges":;case"Rangos con nombre":;case"名前付き一覧":;case"Benannte Bereiche":;case"Navngivne områder":t.NamedRanges=l;t.DefinedNames=s.slice(f,f+l);break;case"Charts":;case"Diagramme":t.Chartsheets=l;t.ChartNames=s.slice(f,f+l);break;}f+=l}}function Ri(e,r,t){var a={};if(!r)r={};e=kt(e);Si.forEach(function(t){var n=(e.match(At(t[0]))||[])[1];switch(t[2]){case"string":if(n)r[t[1]]=it(n);break;case"bool":r[t[1]]=n==="true";break;case"raw":var i=e.match(new RegExp("<"+t[0]+"[^>]*>([\\s\\S]*?)</"+t[0]+">"));if(i&&i.length>0)a[t[1]]=i[1];break;}});if(a.HeadingPairs&&a.TitlesOfParts)Oi(a.HeadingPairs,a.TitlesOfParts,r,t);return r}function Ii(e){var r=[],t=It;if(!e)e={};e.Application="SheetJS";r[r.length]=Kr;r[r.length]=It("Properties",null,{xmlns:Lt.EXT_PROPS,"xmlns:vt":Lt.vt});Si.forEach(function(a){if(e[a[1]]===undefined)return;var n;switch(a[2]){case"string":n=lt(String(e[a[1]]));break;case"bool":n=e[a[1]]?"true":"false";break;}if(n!==undefined)r[r.length]=t(a[0],n)});r[r.length]=t("HeadingPairs",t("vt:vector",t("vt:variant","<vt:lpstr>Worksheets</vt:lpstr>")+t("vt:variant",t("vt:i4",String(e.Worksheets))),{size:2,baseType:"variant"}));r[r.length]=t("TitlesOfParts",t("vt:vector",e.SheetNames.map(function(e){return"<vt:lpstr>"+lt(e)+"</vt:lpstr>"}).join(""),{size:e.Worksheets,baseType:"lpstr"}));if(r.length>2){r[r.length]="</Properties>";r[1]=r[1].replace("/>",">")}return r.join("")}var Ni=/<[^>]+>[^<]*/g;function Fi(e,r){var t={},a="";var n=e.match(Ni);if(n)for(var i=0;i!=n.length;++i){var s=n[i],f=rt(s);switch(tt(f[0])){case"<?xml":break;case"<Properties":break;case"<property":a=it(f.name);break;case"</property>":a=null;break;default:if(s.indexOf("<vt:")===0){var l=s.split(">");var o=l[0].slice(4),c=l[1];switch(o){case"lpstr":;case"bstr":;case"lpwstr":t[a]=it(c);break;case"bool":t[a]=pt(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]=wr(c);break;case"cy":;case"error":t[a]=it(c);break;default:if(o.slice(-1)=="/")break;if(r.WTF&&typeof console!=="undefined")console.warn("Unexpected",s,o,l);}}else if(s.slice(0,2)==="</"){}else if(r.WTF)throw new Error(s);}}return t}function Di(e){var r=[Kr,It("Properties",null,{xmlns:Lt.CUST_PROPS,"xmlns:vt":Lt.vt})];if(!e)return r.join("");var t=1;ir(e).forEach(function a(n){++t;r[r.length]=It("property",Ft(e[n],true),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:t,name:lt(n)})});if(r.length>2){r[r.length]="</Properties>";r[1]=r[1].replace("/>",">")}return r.join("")}var Pi={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 Li;function Mi(e,r,t){if(!Li)Li=fr(Pi);r=Li[r]||r;e[r]=t}function Ui(e,r){var t=[];ir(Pi).map(function(e){for(var r=0;r<Ai.length;++r)if(Ai[r][1]==e)return Ai[r];for(r=0;r<Si.length;++r)if(Si[r][1]==e)return Si[r];throw e}).forEach(function(a){if(e[a[1]]==null)return;var n=r&&r.Props&&r.Props[a[1]]!=null?r.Props[a[1]]:e[a[1]];switch(a[2]){case"date":n=new Date(n).toISOString().replace(/\.\d*Z/,"Z");break;}if(typeof n=="number")n=String(n);else if(n===true||n===false){n=n?"1":"0"}else if(n instanceof Date)n=new Date(n).toISOString().replace(/\.\d*Z/,"");t.push(Ot(Pi[a[1]]||a[1],n))});return It("DocumentProperties",t.join(""),{xmlns:Ut.o})}function Bi(e,r){var t=["Worksheets","SheetNames"];var a="CustomDocumentProperties";var n=[];if(e)ir(e).forEach(function(r){if(!Object.prototype.hasOwnProperty.call(e,r))return;for(var a=0;a<Ai.length;++a)if(r==Ai[a][1])return;for(a=0;a<Si.length;++a)if(r==Si[a][1])return;for(a=0;a<t.length;++a)if(r==t[a])return;var i=e[r];var s="string";if(typeof i=="number"){s="float";i=String(i)}else if(i===true||i===false){s="boolean";i=i?"1":"0"}else i=String(i);n.push(It(ot(r),i,{"dt:dt":s}))});if(r)ir(r).forEach(function(t){if(!Object.prototype.hasOwnProperty.call(r,t))return;if(e&&Object.prototype.hasOwnProperty.call(e,t))return;var a=r[t];var i="string";if(typeof a=="number"){i="float";a=String(a)}else if(a===true||a===false){i="boolean";a=a?"1":"0"}else if(a instanceof Date){i="dateTime.tz";a=a.toISOString()}else a=String(a);n.push(It(ot(t),a,{"dt:dt":i}))});return"<"+a+' xmlns="'+Ut.o+'">'+n.join("")+"</"+a+">"}function Wi(e){var r=e._R(4),t=e._R(4);return new Date((t/1e7*Math.pow(2,32)+r/1e7-11644473600)*1e3).toISOString().replace(/\.000/,"")}function zi(e){var r=typeof e=="string"?new Date(Date.parse(e)):e;var t=r.getTime()/1e3+11644473600;var a=t%Math.pow(2,32),n=(t-a)/Math.pow(2,32);a*=1e7;n*=1e7;var i=a/Math.pow(2,32)|0;if(i>0){a=a%Math.pow(2,32);n+=i}var s=ya(8);s._W(4,a);s._W(4,n);return s}function Hi(e,r,t){var a=e.l;var n=e._R(0,"lpstr-cp");if(t)while(e.l-a&3)++e.l;return n}function Vi(e,r,t){var a=e._R(0,"lpwstr");if(t)e.l+=4-(a.length+1&3)&3;return a}function Xi(e,r,t){if(r===31)return Vi(e);return Hi(e,r,t)}function $i(e,r,t){return Xi(e,r,t===false?0:4)}function Gi(e,r){if(!r)throw new Error("VtUnalignedString must have positive length");return Xi(e,r,0)}function ji(e){var r=e._R(4);var t=[];for(var a=0;a!=r;++a){var n=e.l;t[a]=e._R(0,"lpwstr").replace(M,"");if(e.l-n&2)e.l+=2}return t}function Ki(e){var r=e._R(4);var t=[];for(var a=0;a!=r;++a)t[a]=e._R(0,"lpstr-cp").replace(M,"");return t}function Yi(e){var r=e.l;var t=es(e,jn);if(e[e.l]==0&&e[e.l+1]==0&&e.l-r&2)e.l+=2;var a=es(e,Mn);return[t,a]}function Zi(e){var r=e._R(4);var t=[];for(var a=0;a<r/2;++a)t.push(Yi(e));return t}function Ji(e,r){var t=e._R(4);var a={};for(var n=0;n!=t;++n){var i=e._R(4);var s=e._R(4);a[i]=e._R(s,r===1200?"utf16le":"utf8").replace(M,"").replace(U,"!");if(r===1200&&s%2)e.l+=2}if(e.l&3)e.l=e.l>>2+1<<2;return a}function qi(e){var r=e._R(4);var t=e.slice(e.l,e.l+r);e.l+=r;if((r&3)>0)e.l+=4-(r&3)&3;return t}function Qi(e){var r={};r.Size=e._R(4);e.l+=r.Size+3-(r.Size-1)%4;return r}function es(e,r,t){var a=e._R(2),n,i=t||{};e.l+=2;if(r!==Bn)if(a!==r&&Kn.indexOf(r)===-1&&!((r&65534)==4126&&(a&65534)==4126))throw new Error("Expected type "+r+" saw "+a);switch(r===Bn?a:r){case 2:n=e._R(2,"i");if(!i.raw)e.l+=2;return n;case 3:n=e._R(4,"i");return n;case 11:return e._R(4)!==0;case 19:n=e._R(4);return n;case 30:return Hi(e,a,4).replace(M,"");case 31:return Vi(e);case 64:return Wi(e);case 65:return qi(e);case 71:return Qi(e);case 80:return $i(e,a,!i.raw).replace(M,"");case 81:return Gi(e,a).replace(M,"");case 4108:return Zi(e);case 4126:;case 4127:return a==4127?ji(e):Ki(e);default:throw new Error("TypedPropertyValue unrecognized type "+r+" "+a);}}function rs(e,r){var t=ya(4),a=ya(4);t._W(4,e==80?31:e);switch(e){case 3:a._W(-4,r);break;case 5:a=ya(8);a._W(8,r,"f");break;case 11:a._W(4,r?1:0);break;case 64:a=zi(r);break;case 31:;case 80:a=ya(4+2*(r.length+1)+(r.length%2?0:2));a._W(4,r.length+1);a._W(0,r,"dbcs");while(a.l!=a.length)a._W(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+r);}return P([t,a])}function ts(e,r){var t=e.l;var a=e._R(4);var n=e._R(4);var i=[],s=0;var f=0;var o=-1,c={};for(s=0;s!=n;++s){var h=e._R(4);var u=e._R(4);i[s]=[h,u+t]}i.sort(function(e,r){return e[1]-r[1]});var d={};for(s=0;s!=n;++s){if(e.l!==i[s][1]){var v=true;if(s>0&&r)switch(r[i[s-1][0]].t){case 2:if(e.l+2===i[s][1]){e.l+=2;v=false}break;case 80:if(e.l<=i[s][1]){e.l=i[s][1];v=false}break;case 4108:if(e.l<=i[s][1]){e.l=i[s][1];v=false}break;}if((!r||s==0)&&e.l<=i[s][1]){v=false;e.l=i[s][1]}if(v)throw new Error("Read Error: Expected address "+i[s][1]+" at "+e.l+" :"+s)}if(r){if(i[s][0]==0&&i.length>s+1&&i[s][1]==i[s+1][1])continue;var p=r[i[s][0]];d[p.n]=es(e,p.t,{raw:true});if(p.p==="version")d[p.n]=String(d[p.n]>>16)+"."+("0000"+String(d[p.n]&65535)).slice(-4);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:l(f=d[p.n]>>>0&65535);break;default:throw new Error("Unsupported CodePage: "+d[p.n]);}}else{if(i[s][0]===1){f=d.CodePage=es(e,Ln);l(f);if(o!==-1){var m=e.l;e.l=i[o][1];c=Ji(e,f);e.l=m}}else if(i[s][0]===0){if(f===0){o=s;e.l=i[s+1][1];continue}c=Ji(e,f)}else{var g=c[i[s][0]];var b;switch(e[e.l]){case 65:e.l+=4;b=qi(e);break;case 30:e.l+=4;b=$i(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 31:e.l+=4;b=$i(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 3:e.l+=4;b=e._R(4,"i");break;case 19:e.l+=4;b=e._R(4);break;case 5:e.l+=4;b=e._R(8,"f");break;case 11:e.l+=4;b=hs(e,4);break;case 64:e.l+=4;b=wr(Wi(e));break;default:throw new Error("unparsed value: "+e[e.l]);}d[g]=b}}}e.l=t+a;return d}var as=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"];function ns(e){switch(typeof e){case"boolean":return 11;case"number":return(e|0)==e?3:5;case"string":return 31;case"object":if(e instanceof Date)return 64;break;}return-1}function is(e,r,t){var a=ya(8),n=[],i=[];var s=8,f=0;var l=ya(8),o=ya(8);l._W(4,2);l._W(4,1200);o._W(4,1);i.push(l);n.push(o);s+=8+l.length;if(!r){o=ya(8);o._W(4,0);n.unshift(o);var c=[ya(4)];c[0]._W(4,e.length);for(f=0;f<e.length;++f){var h=e[f][0];l=ya(4+4+2*(h.length+1)+(h.length%2?0:2));l._W(4,f+2);l._W(4,h.length+1);l._W(0,h,"dbcs");while(l.l!=l.length)l._W(1,0);c.push(l)}l=P(c);i.unshift(l);s+=8+l.length}for(f=0;f<e.length;++f){if(r&&!r[e[f][0]])continue;if(as.indexOf(e[f][0])>-1||xi.indexOf(e[f][0])>-1)continue;if(e[f][1]==null)continue;var u=e[f][1],d=0;if(r){d=+r[e[f][0]];var v=t[d];if(v.p=="version"&&typeof u=="string"){var p=u.split(".");u=(+p[0]<<16)+(+p[1]||0)}l=rs(v.t,u)}else{var m=ns(u);if(m==-1){m=31;u=String(u)}l=rs(m,u)}i.push(l);o=ya(8);o._W(4,!r?2+f:d);n.push(o);s+=8+l.length}var g=8*(i.length+1);for(f=0;f<i.length;++f){n[f]._W(4,g);g+=i[f].length}a._W(4,s);a._W(4,i.length);return P([a].concat(n).concat(i))}function ss(e,r,t){var a=e.content;if(!a)return{};Ta(a,0);var n,i,s,f,l=0;a.chk("feff","Byte Order: ");a._R(2);var o=a._R(4);var c=a._R(16);if(c!==Qe.utils.consts.HEADER_CLSID&&c!==t)throw new Error("Bad PropertySet CLSID "+c);n=a._R(4);if(n!==1&&n!==2)throw new Error("Unrecognized #Sets: "+n);i=a._R(16);f=a._R(4);if(n===1&&f!==a.l)throw new Error("Length mismatch: "+f+" !== "+a.l);else if(n===2){s=a._R(16);l=a._R(4)}var h=ts(a,r);var u={SystemIdentifier:o};for(var d in h)u[d]=h[d];u.FMTID=i;if(n===1)return u;if(l-a.l==2)a.l+=2;if(a.l!==l)throw new Error("Length mismatch 2: "+a.l+" !== "+l);var v;try{v=ts(a,null)}catch(p){}for(d in v)u[d]=v[d];u.FMTID=[i,s];return u}function fs(e,r,t,a,n,i){var s=ya(n?68:48);var f=[s];s._W(2,65534);s._W(2,0);s._W(4,842412599);s._W(16,Qe.utils.consts.HEADER_CLSID,"hex");s._W(4,n?2:1);s._W(16,r,"hex");s._W(4,n?68:48);var l=is(e,t,a);f.push(l);if(n){var o=is(n,null,null);s._W(16,i,"hex");s._W(4,68+l.length);f.push(o)}return P(f)}function ls(e,r){e._R(r);return null}function os(e,r){if(!r)r=ya(e);for(var t=0;t<e;++t)r._W(1,0);return r}function cs(e,r,t){var a=[],n=e.l+r;while(e.l<n)a.push(t(e,n-e.l));if(n!==e.l)throw new Error("Slurp error");return a}function hs(e,r){return e._R(r)===1}function us(e,r){if(!r)r=ya(2);r._W(2,+!!e);return r}function ds(e){return e._R(2,"u")}function vs(e,r){if(!r)r=ya(2);r._W(2,e);return r}function ps(e,r){return cs(e,r,ds)}function ms(e){var r=e._R(1),t=e._R(1);return t===1?r:r===1}function gs(e,r,t){if(!t)t=ya(2);t._W(1,r=="e"?+e:+!!e);t._W(1,r=="e"?1:0);return t}function bs(e,t,a){var n=e._R(a&&a.biff>=12?2:1);var i="sbcs-cont";var s=r;if(a&&a.biff>=8)r=1200;if(!a||a.biff==8){var f=e._R(1);if(f){i="dbcs-cont"}}else if(a.biff==12){i="wstr"}if(a.biff>=2&&a.biff<=5)i="cpstr";var l=n?e._R(n,i):"";r=s;return l}function ws(e){var t=r;r=1200;var a=e._R(2),n=e._R(1);var i=n&4,s=n&8;var f=1+(n&1);var l=0,o;var c={};if(s)l=e._R(2);if(i)o=e._R(4);var h=f==2?"dbcs-cont":"sbcs-cont";var u=a===0?"":e._R(a,h);if(s)e.l+=4*l;if(i)e.l+=o;c.t=u;if(!s){c.raw="<t>"+c.t+"</t>";c.r=c.t}r=t;return c}function ks(e){var r=e.t||"",t=1;var a=ya(3+(t>1?2:0));a._W(2,r.length);a._W(1,(t>1?8:0)|1);if(t>1)a._W(2,t);var n=ya(2*r.length);n._W(2*r.length,r,"utf16le");var i=[a,n];return P(i)}function Ts(e,r,t){var a;if(t){if(t.biff>=2&&t.biff<=5)return e._R(r,"cpstr");if(t.biff>=12)return e._R(r,"dbcs-cont")}var n=e._R(1);if(n===0){a=e._R(r,"sbcs-cont")}else{a=e._R(r,"dbcs-cont")}return a}function As(e,r,t){var a=e._R(t&&t.biff==2?1:2);if(a===0){e.l++;return""}return Ts(e,a,t)}function ys(e,r,t){if(t.biff>5)return As(e,r,t);var a=e._R(1);if(a===0){e.l++;return""}return e._R(a,t.biff<=4||!e.lens?"cpstr":"sbcs-cont")}function Es(e,r,t){if(!t)t=ya(3+2*e.length);t._W(2,e.length);t._W(1,1);t._W(31,e,"utf16le");return t}function Cs(e){var r=e._R(1);e.l++;var t=e._R(2);e.l+=2;return[r,t]}function _s(e){var r=e._R(4),t=e.l;var a=false;if(r>24){e.l+=r-24;if(e._R(16)==="795881f43b1d7f48af2c825dc4852763")a=true;e.l=t}var n=e._R((a?r-24:r)>>1,"utf16le").replace(M,"");if(a)e.l+=24;return n}function Ss(e){var r=e._R(2);var t="";while(r-- >0)t+="../";var a=e._R(0,"lpstr-ansi");e.l+=2;if(e._R(2)!=57005)throw new Error("Bad FileMoniker");var n=e._R(4);if(n===0)return t+a.replace(/\\/g,"/");var i=e._R(4);if(e._R(2)!=3)throw new Error("Bad FileMoniker");var s=e._R(i>>1,"utf16le").replace(M,"");return t+s}function xs(e,r){var t=e._R(16);r-=16;switch(t){case"e0c9ea79f9bace118c8200aa004ba90b":return _s(e,r);case"0303000000000000c000000000000046":return Ss(e,r);default:throw new Error("Unsupported Moniker "+t);}}function Os(e){var r=e._R(4);var t=r>0?e._R(r,"utf16le").replace(M,""):"";return t}function Rs(e,r){if(!r)r=ya(6+e.length*2);r._W(4,1+e.length);for(var t=0;t<e.length;++t)r._W(2,e.charCodeAt(t));r._W(2,0);return r}function Is(e,r){var t=e.l+r;var a=e._R(4);if(a!==2)throw new Error("Unrecognized streamVersion: "+a);var n=e._R(2);e.l+=2;var i,s,f,l,o="",c,h;if(n&16)i=Os(e,t-e.l);if(n&128)s=Os(e,t-e.l);if((n&257)===257)f=Os(e,t-e.l);if((n&257)===1)l=xs(e,t-e.l);if(n&8)o=Os(e,t-e.l);if(n&32)c=e._R(16);if(n&64)h=Wi(e);e.l=t;var u=s||f||l||"";if(u&&o)u+="#"+o;if(!u)u="#"+o;if(n&2&&u.charAt(0)=="/"&&u.charAt(1)!="/")u="file://"+u;var d={Target:u};if(c)d.guid=c;if(h)d.time=h;if(i)d.Tooltip=i;return d}function Ns(e){var r=ya(512),t=0;var a=e.Target;if(a.slice(0,7)=="file://")a=a.slice(7);var n=a.indexOf("#");var i=n>-1?31:23;switch(a.charAt(0)){case"#":i=28;break;case".":i&=~2;break;}r._W(4,2);r._W(4,i);var s=[8,6815827,6619237,4849780,83];for(t=0;t<s.length;++t)r._W(4,s[t]);if(i==28){a=a.slice(1);Rs(a,r)}else if(i&2){s="e0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" ");for(t=0;t<s.length;++t)r._W(1,parseInt(s[t],16));var f=n>-1?a.slice(0,n):a;r._W(4,2*(f.length+1));for(t=0;t<f.length;++t)r._W(2,f.charCodeAt(t));r._W(2,0);if(i&8)Rs(n>-1?a.slice(n+1):"",r)}else{s="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" ");for(t=0;t<s.length;++t)r._W(1,parseInt(s[t],16));var l=0;while(a.slice(l*3,l*3+3)=="../"||a.slice(l*3,l*3+3)=="..\\")++l;r._W(2,l);r._W(4,a.length-3*l+1);for(t=0;t<a.length-3*l;++t)r._W(1,a.charCodeAt(t+3*l)&255);r._W(1,0);r._W(2,65535);r._W(2,57005);for(t=0;t<6;++t)r._W(4,0)}return r.slice(0,r.l)}function Fs(e){var r=e._R(1),t=e._R(1),a=e._R(1),n=e._R(1);return[r,t,a,n]}function Ds(e,r){var t=Fs(e,r);t[3]=0;return t}function Ps(e,r,t){var a=e._R(2);var n=e._R(2);var i={r:a,c:n,ixfe:0};if(t&&t.biff==2||r==7){var s=e._R(1);i.ixfe=s&63;e.l+=2}else i.ixfe=e._R(2);return i}function Ls(e,r,t,a){if(!a)a=ya(6);a._W(2,e);a._W(2,r);a._W(2,t||0);return a}function Ms(e){var r=e._R(2);var t=e._R(2);e.l+=8;return{type:r,flags:t}}function Us(e,r,t){return r===0?"":ys(e,r,t)}function Bs(e,r,t){var a=t.biff>8?4:2;var n=e._R(a),i=e._R(a,"i"),s=e._R(a,"i");return[n,i,s]}function Ws(e){var r=e._R(2);var t=Tn(e);return[r,t]}function zs(e,r,t){e.l+=4;r-=4;var a=e.l+r;var n=bs(e,r,t);var i=e._R(2);a-=e.l;if(i!==a)throw new Error("Malformed AddinUdf: padding = "+a+" != "+i);e.l+=i;return n}function Hs(e){var r=e._R(2);var t=e._R(2);var a=e._R(2);var n=e._R(2);return{s:{c:a,r:r},e:{c:n,r:t}}}function Vs(e,r){if(!r)r=ya(8);r._W(2,e.s.r);r._W(2,e.e.r);r._W(2,e.s.c);r._W(2,e.e.c);return r}function Xs(e){var r=e._R(2);var t=e._R(2);var a=e._R(1);var n=e._R(1);return{s:{c:a,r:r},e:{c:n,r:t}}}var $s=Xs;function Gs(e){e.l+=4;var r=e._R(2);var t=e._R(2);var a=e._R(2);e.l+=12;return[t,r,a]}function js(e){var r={};e.l+=4;e.l+=16;r.fSharedNote=e._R(2);e.l+=4;return r}function Ks(e){var r={};e.l+=4;e.cf=e._R(2);return r}function Ys(e){e.l+=2;e.l+=e._R(2)}var Zs={0:Ys,4:Ys,5:Ys,6:Ys,7:Ks,8:Ys,9:Ys,10:Ys,11:Ys,12:Ys,13:js,14:Ys,15:Ys,16:Ys,17:Ys,18:Ys,19:Ys,20:Ys,21:Gs};function Js(e,r){var t=e.l+r;var a=[];while(e.l<t){var n=e._R(2);e.l-=2;try{a[n]=Zs[n](e,t-e.l)}catch(i){e.l=t;return a}}if(e.l!=t)e.l=t;return a}function qs(e,r){var t={BIFFVer:0,dt:0};t.BIFFVer=e._R(2);r-=2;if(r>=2){t.dt=e._R(2);e.l-=2}switch(t.BIFFVer){case 1536:;case 1280:;case 1024:;case 768:;case 512:;case 2:;case 7:break;default:if(r>6)throw new Error("Unexpected BIFF Ver "+t.BIFFVer);}e._R(r);return t}function Qs(e,r,t){var a=1536,n=16;switch(t.bookType){case"biff8":break;case"biff5":a=1280;n=8;break;case"biff4":a=4;n=6;break;case"biff3":a=3;n=6;break;case"biff2":a=2;n=4;break;case"xla":break;default:throw new Error("unsupported BIFF version");}var i=ya(n);i._W(2,a);i._W(2,r);if(n>4)i._W(2,29282);if(n>6)i._W(2,1997);if(n>8){i._W(2,49161);i._W(2,1);i._W(2,1798);i._W(2,0)}return i}function ef(e,r){if(r===0)return 1200;if(e._R(2)!==1200){}return 1200}function rf(e,r,t){if(t.enc){e.l+=r;return""}var a=e.l;var n=ys(e,0,t);e._R(r+a-e.l);return n}function tf(e,r){var t=!r||r.biff==8;var a=ya(t?112:54);a._W(r.biff==8?2:1,7);if(t)a._W(1,0);a._W(4,859007059);a._W(4,5458548|(t?0:536870912));while(a.l<a.length)a._W(1,t?0:32);return a}function af(e,r,t){var a=t&&t.biff==8||r==2?e._R(2):(e.l+=r,0);return{fDialog:a&16,fBelow:a&64,fRight:a&128}}function nf(e,r,t){var a="";if(t.biff==4){a=bs(e,0,t);if(a.length===0)a="Sheet1";return{name:a}}var n=e._R(4);var i=e._R(1)&3;var s=e._R(1);switch(s){case 0:s="Worksheet";break;case 1:s="Macrosheet";break;case 2:s="Chartsheet";break;case 6:s="VBAModule";break;}a=bs(e,0,t);if(a.length===0)a="Sheet1";return{pos:n,hs:i,dt:s,name:a}}function sf(e,r){var t=!r||r.biff>=8?2:1;var a=ya(8+t*e.name.length);a._W(4,e.pos);a._W(1,e.hs||0);a._W(1,e.dt);a._W(1,e.name.length);if(r.biff>=8)a._W(1,1);a._W(t*e.name.length,e.name,r.biff<8?"sbcs":"utf16le");var n=a.slice(0,a.l);n.l=a.l;return n}function ff(e,r){var t=e.l+r;var a=e._R(4);var n=e._R(4);var i=[];for(var s=0;s!=n&&e.l<t;++s){i.push(ws(e))}i.Count=a;i.Unique=n;return i}function lf(e,r){var t=ya(8);t._W(4,e.Count);t._W(4,e.Unique);var a=[];for(var n=0;n<e.length;++n)a[n]=ks(e[n],r);var i=P([t].concat(a));i.parts=[t.length].concat(a.map(function(e){return e.length}));return i}function of(e,r){var t={};t.dsst=e._R(2);e.l+=r-2;return t}function cf(e){var r={};r.r=e._R(2);r.c=e._R(2);r.cnt=e._R(2)-r.c;var t=e._R(2);e.l+=4;var a=e._R(1);e.l+=3;if(a&7)r.level=a&7;if(a&32)r.hidden=true;if(a&64)r.hpt=t/20;return r}function hf(e){var r=Ms(e);if(r.type!=2211)throw new Error("Invalid Future Record "+r.type);var t=e._R(4);return t!==0}function uf(e){e._R(2);return e._R(4)}function df(e,r,t){var a=0;if(!(t&&t.biff==2)){a=e._R(2)}var n=e._R(2);if(t&&t.biff==2){a=1-(n>>15);n&=32767}var i={Unsynced:a&1,DyZero:(a&2)>>1,ExAsc:(a&4)>>2,ExDsc:(a&8)>>3};return[i,n]}function vf(e){var r=e._R(2),t=e._R(2),a=e._R(2),n=e._R(2);var i=e._R(2),s=e._R(2),f=e._R(2);var l=e._R(2),o=e._R(2);return{Pos:[r,t],Dim:[a,n],Flags:i,CurTab:s,FirstTab:f,Selected:l,TabRatio:o}}function pf(){var e=ya(18);e._W(2,0);e._W(2,0);e._W(2,29280);e._W(2,17600);e._W(2,56);e._W(2,0);e._W(2,0);e._W(2,1);e._W(2,500);return e}function mf(e,r,t){if(t&&t.biff>=2&&t.biff<5)return{};var a=e._R(2);return{RTL:a&64}}function gf(e){var r=ya(18),t=1718;if(e&&e.RTL)t|=64;r._W(2,t);r._W(4,0);r._W(4,64);r._W(4,0);r._W(4,0);return r}function bf(){}function wf(e,r,t){var a={dyHeight:e._R(2),fl:e._R(2)};switch(t&&t.biff||8){case 2:break;case 3:;case 4:e.l+=2;break;default:e.l+=10;break;}a.name=bs(e,0,t);return a}function kf(e,r){var t=e.name||"Arial";var a=r&&r.biff==5,n=a?15+t.length:16+2*t.length;var i=ya(n);i._W(2,(e.sz||12)*20);i._W(4,0);i._W(2,400);i._W(4,0);i._W(2,0);i._W(1,t.length);if(!a)i._W(1,1);i._W((a?1:2)*t.length,t,a?"sbcs":"utf16le");return i}function Tf(e,r,t){var a=Ps(e,r,t);a.isst=e._R(4);return a}function Af(e,r,t,a){var n=ya(10);Ls(e,r,a,n);n._W(4,t);return n}function yf(e,r,t){if(t.biffguess&&t.biff==2)t.biff=5;var a=e.l+r;var n=Ps(e,r,t);var i=As(e,a-e.l,t);n.val=i;return n}function Ef(e,r,t,a,n){var i=!n||n.biff==8;var s=ya(6+2+ +i+(1+i)*t.length);Ls(e,r,a,s);s._W(2,t.length);if(i)s._W(1,1);s._W((1+i)*t.length,t,i?"utf16le":"sbcs");return s}function Cf(e,r,t){var a=e._R(2);var n=ys(e,0,t);return[a,n]}function _f(e,r,t,a){var n=t&&t.biff==5;if(!a)a=ya(n?3+r.length:5+2*r.length);a._W(2,e);a._W(n?1:2,r.length);if(!n)a._W(1,1);a._W((n?1:2)*r.length,r,n?"sbcs":"utf16le");var i=a.length>a.l?a.slice(0,a.l):a;if(i.l==null)i.l=i.length;return i}var Sf=ys;function xf(e){var r=ya(1+e.length);r._W(1,e.length);r._W(e.length,e,"sbcs");return r}function Of(e){var r=ya(3+e.length);r.l+=2;r._W(1,e.length);r._W(e.length,e,"sbcs");return r}function Rf(e,r,t){var a=e.l+r;var n=t.biff==8||!t.biff?4:2;var i=e._R(n),s=e._R(n);var f=e._R(2),l=e._R(2);e.l=a;return{s:{r:i,c:f},e:{r:s,c:l}}}function If(e,r){var t=r.biff==8||!r.biff?4:2;var a=ya(2*t+6);a._W(t,e.s.r);a._W(t,e.e.r+1);a._W(2,e.s.c);a._W(2,e.e.c+1);a._W(2,0);return a}function Nf(e){var r=e._R(2),t=e._R(2);var a=Ws(e);return{r:r,c:t,ixfe:a[0],rknum:a[1]}}function Ff(e,r){var t=e.l+r-2;var a=e._R(2),n=e._R(2);var i=[];while(e.l<t)i.push(Ws(e));if(e.l!==t)throw new Error("MulRK read error");var s=e._R(2);if(i.length!=s-n+1)throw new Error("MulRK length mismatch");return{r:a,c:n,C:s,rkrec:i}}function Df(e,r){var t=e.l+r-2;var a=e._R(2),n=e._R(2);var i=[];while(e.l<t)i.push(e._R(2));if(e.l!==t)throw new Error("MulBlank read error");var s=e._R(2);if(i.length!=s-n+1)throw new Error("MulBlank length mismatch");return{r:a,c:n,C:s,ixfe:i}}function Pf(e,r,t,a){var n={};var i=e._R(4),s=e._R(4);var f=e._R(4),l=e._R(2);n.patternType=qn[f>>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=l&127;n.icvBack=l>>7&127;n.fsxButton=l>>14&1;return n}function Lf(e,r,t){var a={};a.ifnt=e._R(2);a.numFmtId=e._R(2);a.flags=e._R(2);a.fStyle=a.flags>>2&1;r-=6;a.data=Pf(e,r,a.fStyle,t);return a}function Mf(e,r,t,a){var n=t&&t.biff==5;if(!a)a=ya(n?16:20);a._W(2,0);if(e.style){a._W(2,e.numFmtId||0);a._W(2,65524)}else{a._W(2,e.numFmtId||0);a._W(2,r<<4)}var i=0;if(e.numFmtId>0&&n)i|=1024;a._W(4,i);a._W(4,0);if(!n)a._W(4,0);a._W(2,0);return a}function Uf(e){var r={};r.ifnt=e._R(1);e.l++;r.flags=e._R(1);r.numFmtId=r.flags&63;r.flags>>=6;r.fStyle=0;r.data={};return r}function Bf(e){var r=ya(4);r.l+=2;r._W(1,e.numFmtId);r.l++;return r}function Wf(e){var r=ya(12);r.l++;r._W(1,e.numFmtId);r.l+=10;return r}var zf=Wf;function Hf(e){var r={};r.ifnt=e._R(1);r.numFmtId=e._R(1);r.flags=e._R(2);r.fStyle=r.flags>>2&1;r.data={};return r}function Vf(e){var r={};r.ifnt=e._R(1);r.numFmtId=e._R(1);r.flags=e._R(2);r.fStyle=r.flags>>2&1;r.data={};return r}function Xf(e){e.l+=4;var r=[e._R(2),e._R(2)];if(r[0]!==0)r[0]--;if(r[1]!==0)r[1]--;if(r[0]>7||r[1]>7)throw new Error("Bad Gutters: "+r.join("|"));return r}function $f(e){var r=ya(8);r._W(4,0);r._W(2,e[0]?e[0]+1:0);r._W(2,e[1]?e[1]+1:0);return r}function Gf(e,r,t){var a=Ps(e,6,t);var n=ms(e,2);a.val=n;a.t=n===true||n===false?"b":"e";return a}function jf(e,r,t,a,n,i){var s=ya(8);Ls(e,r,a,s);gs(t,i,s);return s}function Kf(e,r,t){if(t.biffguess&&t.biff==2)t.biff=5;var a=Ps(e,6,t);var n=Sn(e,8);a.val=n;return a}function Yf(e,r,t,a){var n=ya(14);Ls(e,r,a,n);xn(t,n);return n}var Zf=Us;function Jf(e,r,t){var a=e.l+r;var n=e._R(2);var i=e._R(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=Ts(e,i);var f=[];while(a>e.l)f.push(As(e));return[i,n,s,f]}function qf(e,r,t){var a=e._R(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=zs(e,r-2,t);i.body=n||e._R(r-2);if(typeof n==="string")i.Name=n;return i}function Qf(e,r,t){var a=e.l+r;var n=e._R(2);var i=e._R(1);var s=e._R(1);var f=e._R(t&&t.biff==2?1:2);var l=0;if(!t||t.biff>=5){if(t.biff!=5)e.l+=2;l=e._R(2);if(t.biff==5)e.l+=2;e.l+=4}var o=Ts(e,s,t);if(n&32)o=ni[o.charCodeAt(0)];var c=a-e.l;if(t&&t.biff==2)--c;var h=a==e.l||f===0||!(c>0)?[]:Wd(e,c,t,f);return{chKey:i,Name:o,itab:l,rgce:h}}function el(e,r,t){if(t.biff<8)return rl(e,r,t);if(!(t.biff>8)&&r==e[e.l]+(e[e.l+1]==3?1:0)+1)return rl(e,r,t);var a=[],n=e.l+r,i=e._R(t.biff>8?4:2);while(i--!==0)a.push(Bs(e,t.biff>8?12:6,t));if(e.l!=n)throw new Error("Bad ExternSheet: "+e.l+" != "+n);return a}function rl(e,r,t){if(e[e.l+1]==3)e[e.l]++;var a=bs(e,r,t);return a.charCodeAt(0)==3?a.slice(1):a}function tl(e,r,t){if(t.biff<8){e.l+=r;return}var a=e._R(2);var n=e._R(2);var i=Ts(e,a,t);var s=Ts(e,n,t);return[i,s]}function al(e,r,t){var a=Xs(e,6);e.l++;var n=e._R(1);r-=8;return[zd(e,r,t),n,a]}function nl(e,r,t){var a=$s(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,Ud(e,r,t,a)]}function il(e){var r=e._R(4)!==0;var t=e._R(4)!==0;var a=e._R(4);return[r,t,a]}function sl(e,r,t){var a=e._R(2),n=e._R(2);var i=e._R(2),s=e._R(2);var f=ys(e,0,t);return[{r:a,c:n},f,s,i]}function fl(e,r,t){if(t&&t.biff<8){var a=e._R(2),n=e._R(2);if(a==65535||a==-1)return;var i=e._R(2);var s=e._R(Math.min(i,2048),"cpstr");return[{r:a,c:n},s]}return sl(e,r,t)}function ll(e,r,t,a){var n=ya(6+(a||e.length));n._W(2,r);n._W(2,t);n._W(2,a||e.length);n._W(e.length,e,"sbcs");return n}function ol(e,r){var t=[];var a=e._R(2);while(a--)t.push(Hs(e,r));return t}function cl(e){var r=ya(2+e.length*8);r._W(2,e.length);for(var t=0;t<e.length;++t)Vs(e[t],r);return r}function hl(e,r,t){ +if(t&&t.biff<8)return dl(e,r,t);var a=Gs(e,22);var n=Js(e,r-22,a[1]);return{cmo:a,ft:n}}var ul={8:function(e,r){var t=e.l+r;e.l+=10;var a=e._R(2);e.l+=4;e.l+=2;e.l+=2;e.l+=2;e.l+=4;var n=e._R(1);e.l+=n;e.l=t;return{fmt:a}}};function dl(e,r,t){e.l+=4;var a=e._R(2);var n=e._R(2);var i=e._R(2);e.l+=2;e.l+=2;e.l+=2;e.l+=2;e.l+=2;e.l+=2;e.l+=2;e.l+=2;e.l+=2;e.l+=6;r-=36;var s=[];s.push((ul[a]||Aa)(e,r,t));return{cmo:[n,a,i],ft:s}}function vl(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=Cs(e,6,t);var f=e._R(2);e._R(2);ds(e,2);var l=e._R(2);e.l+=l;for(var o=1;o<e.lens.length-1;++o){if(e.l-a!=e.lens[o])throw new Error("TxO: bad continue record");var c=e[e.l];var h=Ts(e,e.lens[o+1]-e.lens[o]-1);n+=h;if(n.length>=(c?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(u){e.l=a+r;return{t:n}}}function pl(e,r){var t=Hs(e,8);e.l+=16;var a=Is(e,r-24);return[t,a]}function ml(e){var r=ya(24);var t=Wa(e[0]);r._W(2,t.r);r._W(2,t.r);r._W(2,t.c);r._W(2,t.c);var a="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" ");for(var n=0;n<16;++n)r._W(1,parseInt(a[n],16));return P([r,Ns(e[1])])}function gl(e,r){e._R(2);var t=Hs(e,8);var a=e._R((r-10)/2,"dbcs-cont");a=a.replace(M,"");return[t,a]}function bl(e){var r=e[1].Tooltip;var t=ya(10+2*(r.length+1));t._W(2,2048);var a=Wa(e[0]);t._W(2,a.r);t._W(2,a.r);t._W(2,a.c);t._W(2,a.c);for(var n=0;n<r.length;++n)t._W(2,r.charCodeAt(n));t._W(2,0);return t}function wl(e){var r=[0,0],t;t=e._R(2);r[0]=Jn[t]||t;t=e._R(2);r[1]=Jn[t]||t;return r}function kl(e){if(!e)e=ya(4);e._W(2,1);e._W(2,1);return e}function Tl(e){var r=e._R(2);var t=[];while(r-- >0)t.push(Ds(e,8));return t}function Al(e){var r=e._R(2);var t=[];while(r-- >0)t.push(Ds(e,8));return t}function yl(e){e.l+=2;var r={cxfs:0,crc:0};r.cxfs=e._R(2);r.crc=e._R(4);return r}function El(e,r,t){if(!t.cellStyles)return Aa(e,r);var a=t&&t.biff>=12?4:2;var n=e._R(a);var i=e._R(a);var s=e._R(a);var f=e._R(a);var l=e._R(2);if(a==2)e.l+=2;var o={s:n,e:i,w:s,ixfe:f,flags:l};if(t.biff>=5||!t.biff)o.level=l>>8&7;return o}function Cl(e,r){var t=ya(12);t._W(2,r);t._W(2,r);t._W(2,e.width*256);t._W(2,0);var a=0;if(e.hidden)a|=1;t._W(1,a);a=e.level||0;t._W(1,a);t._W(2,0);return t}function _l(e,r){var t={};if(r<32)return t;e.l+=16;t.header=Sn(e,8);t.footer=Sn(e,8);e.l+=2;return t}function Sl(e,r,t){var a={area:false};if(t.biff!=5){e.l+=r;return a}var n=e._R(1);e.l+=3;if(n&16)a.area=true;return a}function xl(e){var r=ya(2*e);for(var t=0;t<e;++t)r._W(2,t+1);return r}var Ol=Ps;var Rl=ps;var Il=As;function Nl(e){var r=e._R(2);var t=e._R(2);var a=e._R(4);var n={fmt:r,env:t,len:a,data:e.slice(e.l,e.l+a)};e.l+=a;return n}function Fl(e,r,t,a,n){if(!e)e=ya(7);e._W(2,r);e._W(2,t);e._W(1,a||0);e._W(1,n||0);e._W(1,0);return e}function Dl(e,r,t){if(t.biffguess&&t.biff==5)t.biff=2;var a=Ps(e,7,t);var n=ys(e,r-7,t);a.t="str";a.val=n;return a}function Pl(e,r,t){var a=Ps(e,7,t);var n=Sn(e,8);a.t="n";a.val=n;return a}function Ll(e,r,t,a,n){var i=ya(15);Fl(i,e,r,a||0,n||0);i._W(8,t,"f");return i}function Ml(e,r,t){var a=Ps(e,7,t);var n=e._R(2);a.t="n";a.val=n;return a}function Ul(e,r,t,a,n){var i=ya(9);Fl(i,e,r,a||0,n||0);i._W(2,t);return i}function Bl(e){var r=e._R(1);if(r===0){e.l++;return""}return e._R(r,"sbcs-cont")}function Wl(e,r,t){var a=e.l+7;var n=Ps(e,6,t);e.l=a;var i=ms(e,2);n.val=i;n.t=i===true||i===false?"b":"e";return n}function zl(e,r){e.l+=6;e.l+=2;e.l+=1;e.l+=3;e.l+=1;e.l+=r-13}function Hl(e,r,t){var a=e.l+r;var n=Ps(e,6,t);var i=e._R(2);var s=Ts(e,i,t);e.l=a;n.t="str";n.val=s;return n}function Vl(e){var r=e._R(4);var t=e._R(1),a=e._R(t,"sbcs");if(a.length===0)a="Sheet1";return{flags:r,name:a}}var Xl=[2,3,48,49,131,139,140,245];var $l=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,108:863,134:737,135:852,136:857,204:1257,255:16969};var n=fr({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});function i(r,t){var n=[];var i=x(1);switch(t.type){case"base64":i=R(E(r));break;case"binary":i=R(r);break;case"buffer":;case"array":i=r;break;}Ta(i,0);var s=i._R(1);var f=!!(s&136);var l=false,o=false;switch(s){case 2:break;case 3:break;case 48:l=true;f=true;break;case 49:l=true;f=true;break;case 131:break;case 139:break;case 140:o=true;break;case 245:break;default:throw new Error("DBF Unsupported Version: "+s.toString(16));}var c=0,h=521;if(s==2)c=i._R(2);i.l+=3;if(s!=2)c=i._R(4);if(c>1048576)c=1e6;if(s!=2)h=i._R(2);var u=i._R(2);var d=t.codepage||1252;if(s!=2){i.l+=16;i._R(1);if(i[i.l]!==0)d=e[i[i.l]];i.l+=1;i.l+=2}if(o)i.l+=36;var v=[],p={};var m=Math.min(i.length,s==2?521:h-10-(l?264:0));var g=o?32:11;while(i.l<m&&i[i.l]!=13){p={};p.name=(typeof a!=="undefined"?a.utils.decode(d,i.slice(i.l,i.l+g)):N(i.slice(i.l,i.l+g))).replace(/[\u0000\r\n].*$/g,"");i.l+=g;p.type=String.fromCharCode(i._R(1));if(s!=2&&!o)p.offset=i._R(4);p.len=i._R(1);if(s==2)p.offset=i._R(2);p.dec=i._R(1);if(p.name.length)v.push(p);if(s!=2)i.l+=o?13:14;switch(p.type){case"B":if((!l||p.len!=8)&&t.WTF)console.log("Skipping "+p.name+":"+p.type);break;case"G":;case"P":if(t.WTF)console.log("Skipping "+p.name+":"+p.type);break;case"+":;case"0":;case"@":;case"C":;case"D":;case"F":;case"I":;case"L":;case"M":;case"N":;case"O":;case"T":;case"Y":break;default:throw new Error("Unknown Field Type: "+p.type);}}if(i[i.l]!==13)i.l=h-1;if(i._R(1)!==13)throw new Error("DBF Terminator not found "+i.l+" "+i[i.l]);i.l=h;var b=0,w=0;n[0]=[];for(w=0;w!=v.length;++w)n[0][w]=v[w].name;while(c-- >0){if(i[i.l]===42){i.l+=u;continue}++i.l;n[++b]=[];w=0;for(w=0;w!=v.length;++w){var k=i.slice(i.l,i.l+v[w].len);i.l+=v[w].len;Ta(k,0);var T=typeof a!=="undefined"?a.utils.decode(d,k):N(k);switch(v[w].type){case"C":if(T.trim().length)n[b][w]=T.replace(/\s+$/,"");break;case"D":if(T.length===8){n[b][w]=new Date(Date.UTC(+T.slice(0,4),+T.slice(4,6)-1,+T.slice(6,8),0,0,0,0));if(!(t&&t.UTC)){n[b][w]=Fr(n[b][w])}}else n[b][w]=T;break;case"F":n[b][w]=parseFloat(T.trim());break;case"+":;case"I":n[b][w]=o?k._R(-4,"i")^2147483648:k._R(4,"i");break;case"L":switch(T.trim().toUpperCase()){case"Y":;case"T":n[b][w]=true;break;case"N":;case"F":n[b][w]=false;break;case"":;case"\0":;case"?":break;default:throw new Error("DBF Unrecognized L:|"+T+"|");}break;case"M":if(!f)throw new Error("DBF Unexpected MEMO for type "+s.toString(16));n[b][w]="##MEMO##"+(o?parseInt(T.trim(),10):k._R(4));break;case"N":T=T.replace(/\u0000/g,"").trim();if(T&&T!=".")n[b][w]=+T||0;break;case"@":n[b][w]=new Date(k._R(-8,"f")-621356832e5);break;case"T":{var A=k._R(4),y=k._R(4);if(A==0&&y==0)break;n[b][w]=new Date((A-2440588)*864e5+y);if(!(t&&t.UTC))n[b][w]=Fr(n[b][w])}break;case"Y":n[b][w]=k._R(4,"i")/1e4+k._R(4,"i")/1e4*Math.pow(2,32);break;case"O":n[b][w]=-k._R(-8,"f");break;case"B":if(l&&v[w].len==8){n[b][w]=k._R(8,"f");break};case"G":;case"P":k.l+=v[w].len;break;case"0":if(v[w].name==="_NullFlags")break;default:throw new Error("DBF Unsupported data type "+v[w].type);}}}if(s!=2)if(i.l<i.length&&i[i.l++]!=26)throw new Error("DBF EOF Marker missing "+(i.l-1)+" of "+i.length+" "+i[i.l-1].toString(16));if(t&&t.sheetRows)n=n.slice(0,t.sheetRows);t.DBF=v;return n}function s(e,r){var t=r||{};if(!t.dateNF)t.dateNF="yyyymmdd";var a=qa(i(e,t),t);a["!cols"]=t.DBF.map(function(e){return{wch:e.len,DBF:e}});delete t.DBF;return a}function f(e,r){try{var t=Ya(s(e,r),r);t.bookType="dbf";return t}catch(a){if(r&&r.WTF)throw a}return{SheetNames:[],Sheets:{}}}var o={B:8,C:250,L:1,D:8,"?":0,"":0};function c(i,s){if(!i["!ref"])throw new Error("Cannot export empty sheet to DBF");var f=s||{};var c=r;if(+f.codepage>=0)l(+f.codepage);if(f.type=="string")throw new Error("Cannot write DBF to JS string");var h=Ca();var u=Mk(i,{header:1,raw:true,cellDates:true});var d=u[0],v=u.slice(1),p=i["!cols"]||[];var m=0,g=0,b=0,w=1;for(m=0;m<d.length;++m){if(((p[m]||{}).DBF||{}).name){d[m]=p[m].DBF.name;++b;continue}if(d[m]==null)continue;++b;if(typeof d[m]==="number")d[m]=d[m].toString(10);if(typeof d[m]!=="string")throw new Error("DBF Invalid column name "+d[m]+" |"+typeof d[m]+"|");if(d.indexOf(d[m])!==m)for(g=0;g<1024;++g)if(d.indexOf(d[m]+"_"+g)==-1){d[m]+="_"+g;break}}var k=Ga(i["!ref"]);var T=[];var A=[];var y=[];for(m=0;m<=k.e.c-k.s.c;++m){var E="",C="",_=0;var S=[];for(g=0;g<v.length;++g){if(v[g][m]!=null)S.push(v[g][m])}if(S.length==0||d[m]==null){T[m]="?";continue}for(g=0;g<S.length;++g){switch(typeof S[g]){case"number":C="B";break;case"string":C="C";break;case"boolean":C="L";break;case"object":C=S[g]instanceof Date?"D":"C";break;default:C="C";}_=Math.max(_,(typeof a!=="undefined"&&typeof S[g]=="string"?a.utils.encode(t,S[g]):String(S[g])).length);E=E&&E!=C?"C":C}if(_>250)_=250;C=((p[m]||{}).DBF||{}).type;if(C=="C"){if(p[m].DBF.len>_)_=p[m].DBF.len}if(E=="B"&&C=="N"){E="N";y[m]=p[m].DBF.dec;_=p[m].DBF.len}A[m]=E=="C"||C=="N"?_:o[E]||0;w+=A[m];T[m]=E}var x=h.next(32);x._W(4,318902576);x._W(4,v.length);x._W(2,296+32*b);x._W(2,w);for(m=0;m<4;++m)x._W(4,0);var O=+n[r]||3;x._W(4,0|O<<8);if(e[O]!=+f.codepage){if(f.codepage)console.error("DBF Unsupported codepage "+r+", using 1252");r=1252}for(m=0,g=0;m<d.length;++m){if(d[m]==null)continue;var R=h.next(32);var I=(d[m].slice(-10)+"\0\0\0\0\0\0\0\0\0\0\0").slice(0,11);R._W(1,I,"sbcs");R._W(1,T[m]=="?"?"C":T[m],"sbcs");R._W(4,g);R._W(1,A[m]||o[T[m]]||0);R._W(1,y[m]||0);R._W(1,2);R._W(4,0);R._W(1,0);R._W(4,0);R._W(4,0);g+=A[m]||o[T[m]]||0}var N=h.next(264);N._W(4,13);for(m=0;m<65;++m)N._W(4,0);for(m=0;m<v.length;++m){var F=h.next(w);F._W(1,0);for(g=0;g<d.length;++g){if(d[g]==null)continue;switch(T[g]){case"L":F._W(1,v[m][g]==null?63:v[m][g]?84:70);break;case"B":F._W(8,v[m][g]||0,"f");break;case"N":var D="0";if(typeof v[m][g]=="number")D=v[m][g].toFixed(y[g]||0);if(D.length>A[g])D=D.slice(0,A[g]);for(b=0;b<A[g]-D.length;++b)F._W(1,32);F._W(1,D,"sbcs");break;case"D":if(!v[m][g])F._W(8,"00000000","sbcs");else{F._W(4,("0000"+v[m][g].getFullYear()).slice(-4),"sbcs");F._W(2,("00"+(v[m][g].getMonth()+1)).slice(-2),"sbcs");F._W(2,("00"+v[m][g].getDate()).slice(-2),"sbcs")}break;case"C":var P=F.l;var L=String(v[m][g]!=null?v[m][g]:"").slice(0,A[g]);F._W(1,L,"cpstr");P+=A[g]-F.l;for(b=0;b<P;++b)F._W(1,32);break;}}}r=c;h.next(1)._W(1,26);return h.end()}return{to_workbook:f,to_sheet:s,from_sheet:c}}();var Gl=function(){var e={AA:"À",BA:"Á",CA:"Â",DA:195,HA:"Ä",JA:197,AE:"È",BE:"É",CE:"Ê",HE:"Ë",AI:"Ì",BI:"Í",CI:"Î",HI:"Ï",AO:"Ò",BO:"Ó",CO:"Ô",DO:213,HO:"Ö",AU:"Ù",BU:"Ú",CU:"Û",HU:"Ü",Aa:"à",Ba:"á",Ca:"â",Da:227,Ha:"ä",Ja:229,Ae:"è",Be:"é",Ce:"ê",He:"ë",Ai:"ì",Bi:"í",Ci:"î",Hi:"ï",Ao:"ò",Bo:"ó",Co:"ô",Do:245,Ho:"ö",Au:"ù",Bu:"ú",Cu:"û",Hu:"ü",KC:"Ç",Kc:"ç",q:"æ",z:"œ",a:"Æ",j:"Œ",DN:209,Dn:241,Hy:255,S:169,c:170,R:174,"B ":180,0:176,1:177,2:178,3:179,5:181,6:182,7:183,Q:185,k:186,b:208,i:216,l:222,s:240,y:248,"!":161,'"':162,"#":163,"(":164,"%":165,"'":167,"H ":168,"+":171,";":187,"<":188,"=":189,">":190,"?":191,"{":223};var r=new RegExp("N("+ir(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1").replace("{","\\{")+"|\\|)","gm");try{r=new RegExp("N("+ir(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm")}catch(t){}var n=function(r,t){var a=e[t];return typeof a=="number"?m(a):a};var i=function(e,r,t){var a=r.charCodeAt(0)-32<<4|t.charCodeAt(0)-48;return a==59?e:m(a)};e["|"]=254;var s=function(e){return e.replace(/\n/g," :").replace(/\r/g," =")};function f(e,r){switch(r.type){case"base64":return o(E(e),r);case"binary":return o(e,r);case"buffer":return o(C&&Buffer.isBuffer(e)?e.toString("binary"):N(e),r);case"array":return o(kr(e),r);}throw new Error("Unrecognized type "+r.type)}function o(e,t){var s=e.split(/[\n\r]+/),f=-1,o=-1,c=0,h=0,u=[];var d=[];var v=null;var p={},m=[],g=[],b=[];var w=0,k;var T={Workbook:{WBProps:{},Names:[]}};if(+t.codepage>=0)l(+t.codepage);for(;c!==s.length;++c){w=0;var A=s[c].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,i).replace(r,n);var y=A.replace(/;;/g,"\0").split(";").map(function(e){return e.replace(/\u0000/g,";")});var E=y[0],C;if(A.length>0)switch(E){case"ID":break;case"E":break;case"B":break;case"O":for(h=1;h<y.length;++h)switch(y[h].charAt(0)){case"V":{var _=parseInt(y[h].slice(1),10);if(_>=1&&_<=4)T.Workbook.WBProps.date1904=true}break;}break;case"W":break;case"P":switch(y[1].charAt(0)){case"P":d.push(A.slice(3).replace(/;;/g,";"));break;}break;case"NN":{var S={Sheet:0};for(h=1;h<y.length;++h)switch(y[h].charAt(0)){case"N":S.Name=y[h].slice(1);break;case"E":S.Ref=(t&&t.sheet||"Sheet1")+"!"+ru(y[h].slice(1));break;}T.Workbook.Names.push(S)}break;case"C":var x=false,O=false,R=false,I=false,N=-1,F=-1,D="",P="z";var L="";for(h=1;h<y.length;++h)switch(y[h].charAt(0)){case"A":L=y[h].slice(1);break;case"X":o=parseInt(y[h].slice(1),10)-1;O=true;break;case"Y":f=parseInt(y[h].slice(1),10)-1;if(!O)o=0;for(k=u.length;k<=f;++k)u[k]=[];break;case"K":C=y[h].slice(1);if(C.charAt(0)==='"'){C=C.slice(1,C.length-1);P="s"}else if(C==="TRUE"||C==="FALSE"){C=C==="TRUE";P="b"}else if(!isNaN(yr(C))){C=yr(C);P="n";if(v!==null&&Le(v)&&t.cellDates){C=vr(T.Workbook.WBProps.date1904?C+1462:C);P=typeof C=="number"?"n":"d"}}if(typeof a!=="undefined"&&typeof C=="string"&&(t||{}).type!="string"&&(t||{}).codepage)C=a.utils.decode(t.codepage,C);x=true;break;case"E":I=true;D=ru(y[h].slice(1),{r:f,c:o});break;case"S":R=true;break;case"G":break;case"R":N=parseInt(y[h].slice(1),10)-1;break;case"C":F=parseInt(y[h].slice(1),10)-1;break;default:if(t&&t.WTF)throw new Error("SYLK bad record "+A);}if(x){if(!u[f][o])u[f][o]={t:P,v:C};else{u[f][o].t=P;u[f][o].v=C}if(v)u[f][o].z=v;if(t.cellText!==false&&v)u[f][o].w=ze(u[f][o].z,u[f][o].v,{date1904:T.Workbook.WBProps.date1904});v=null}if(R){if(I)throw new Error("SYLK shared formula cannot have own formula");var M=N>-1&&u[N][F];if(!M||!M[1])throw new Error("SYLK shared formula cannot find base");D=iu(M[1],{r:f-N,c:o-F})}if(D){if(!u[f][o])u[f][o]={t:"n",f:D};else u[f][o].f=D}if(L){if(!u[f][o])u[f][o]={t:"z"};u[f][o].c=[{a:"SheetJSYLK",t:L}]}break;case"F":var U=0;for(h=1;h<y.length;++h)switch(y[h].charAt(0)){case"X":o=parseInt(y[h].slice(1),10)-1;++U;break;case"Y":f=parseInt(y[h].slice(1),10)-1;for(k=u.length;k<=f;++k)u[k]=[];break;case"M":w=parseInt(y[h].slice(1),10)/20;break;case"F":break;case"G":break;case"P":v=d[parseInt(y[h].slice(1),10)];break;case"S":break;case"D":break;case"N":break;case"W":b=y[h].slice(1).split(" ");for(k=parseInt(b[0],10);k<=parseInt(b[1],10);++k){w=parseInt(b[2],10);g[k-1]=w===0?{hidden:true}:{wch:w}}break;case"C":o=parseInt(y[h].slice(1),10)-1;if(!g[o])g[o]={};break;case"R":f=parseInt(y[h].slice(1),10)-1;if(!m[f])m[f]={};if(w>0){m[f].hpt=w;m[f].hpx=lc(w)}else if(w===0)m[f].hidden=true;break;default:if(t&&t.WTF)throw new Error("SYLK bad record "+A);}if(U<1)v=null;break;default:if(t&&t.WTF)throw new Error("SYLK bad record "+A);}}if(m.length>0)p["!rows"]=m;if(g.length>0)p["!cols"]=g;g.forEach(function(e){nc(e)});if(t&&t.sheetRows)u=u.slice(0,t.sheetRows);return[u,p,T]}function c(e,r){var t=f(e,r);var a=t[0],n=t[1],i=t[2];var s=Tr(r);s.date1904=(((i||{}).Workbook||{}).WBProps||{}).date1904;var l=qa(a,s);ir(n).forEach(function(e){l[e]=n[e]});var o=Ya(l,r);ir(i).forEach(function(e){o[e]=i[e]});o.bookType="sylk";return o}function h(e,r,t,a,n,i){var s="C;Y"+(t+1)+";X"+(a+1)+";K";switch(e.t){case"n":s+=e.v||0;if(e.f&&!e.F)s+=";E"+nu(e.f,{r:t,c:a});break;case"b":s+=e.v?"TRUE":"FALSE";break;case"e":s+=e.w||e.v;break;case"d":s+=dr(wr(e.v,i),i);break;case"s":s+='"'+(e.v==null?"":String(e.v)).replace(/"/g,"").replace(/;/g,";;")+'"';break;}return s}function u(e,r,t){var a="C;Y"+(r+1)+";X"+(t+1)+";A";a+=s(e.map(function(e){return e.t}).join(""));return a}function d(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)r.wpx=Qo(r.width);if(typeof r.wpx=="number"&&!r.wch)r.wch=ec(r.wpx);if(typeof r.wch=="number")a+=Math.round(r.wch)}if(a.charAt(a.length-1)!=" ")e.push(a)})}function v(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*fc(r.hpx)+";";if(a.length>2)e.push(a+"R"+(t+1))})}function p(e,r,t){if(!r)r={};r._formats=["General"];var a=["ID;PSheetJS;N;E"],n=[];var i=Ga(e["!ref"]||"A1"),s;var f=e["!data"]!=null;var l="\r\n";var o=(((t||{}).Workbook||{}).WBProps||{}).date1904;var c="General";a.push("P;PGeneral");var p=i.s.r,m=i.s.c,g=[];if(e["!ref"])for(p=i.s.r;p<=i.e.r;++p){if(f&&!e["!data"][p])continue;g=[];for(m=i.s.c;m<=i.e.c;++m){s=f?e["!data"][p][m]:e[La(m)+Na(p)];if(!s||!s.c)continue;g.push(u(s.c,p,m))}if(g.length)n.push(g.join(l))}if(e["!ref"])for(p=i.s.r;p<=i.e.r;++p){if(f&&!e["!data"][p])continue;g=[];for(m=i.s.c;m<=i.e.c;++m){s=f?e["!data"][p][m]:e[La(m)+Na(p)];if(!s||s.v==null&&(!s.f||s.F))continue;if((s.z||(s.t=="d"?q[14]:"General"))!=c){var b=r._formats.indexOf(s.z);if(b==-1){r._formats.push(s.z);b=r._formats.length-1;a.push("P;P"+s.z.replace(/;/g,";;"))}g.push("F;P"+b+";Y"+(p+1)+";X"+(m+1))}g.push(h(s,e,p,m,r,o))}n.push(g.join(l))}a.push("F;P0;DG0G8;M255");if(e["!cols"])d(a,e["!cols"]);if(e["!rows"])v(a,e["!rows"]);if(e["!ref"])a.push("B;Y"+(i.e.r-i.s.r+1)+";X"+(i.e.c-i.s.c+1)+";D"+[i.s.c,i.s.r,i.e.c,i.e.r].join(" "));a.push("O;L;D;B"+(o?";V4":"")+";K47;G100 0.001");delete r._formats;return a.join(l)+l+n.join(l)+l+"E"+l}return{to_workbook:c,from_sheet:p}}();var jl=function(){function e(e,t){switch(t.type){case"base64":return r(E(e),t);case"binary":return r(e,t);case"buffer":return r(C&&Buffer.isBuffer(e)?e.toString("binary"):N(e),t);case"array":return r(kr(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 l=f[0],o=f[1];++i;var c=t[i]||"";while((c.match(/["]/g)||[]).length&1&&i<t.length-1)c+="\n"+t[++i];c=c.trim();switch(+l){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(!isNaN(yr(o)))s[a][n]=yr(o);else if(!isNaN(Ir(o).getDate())){s[a][n]=wr(o);if(!(r&&r.UTC)){s[a][n]=Fr(s[a][n])}}else s[a][n]=o;++n;break;case 1:c=c.slice(1,c.length-1);c=c.replace(/""/g,'"');if(w&&c&&c.match(/^=".*"$/))c=c.slice(2,-1);s[a][n++]=c!==""?c:null;break;}if(c==="EOD")break}if(r&&r.sheetRows)s=s.slice(0,r.sheetRows);return s}function t(r,t){return qa(e(r,t),t)}function a(e,r){var a=Ya(t(e,r),r);a.bookType="dif";return a}function n(e,r){return"0,"+String(e)+"\r\n"+r}function i(e){return'1,0\r\n"'+e.replace(/"/g,'""')+'"'}function s(e){var r=w;if(!e["!ref"])throw new Error("Cannot export empty sheet to DIF");var t=Ga(e["!ref"]);var a=e["!data"]!=null;var s=['TABLE\r\n0,1\r\n"sheetjs"\r\n',"VECTORS\r\n0,"+(t.e.r-t.s.r+1)+'\r\n""\r\n',"TUPLES\r\n0,"+(t.e.c-t.s.c+1)+'\r\n""\r\n','DATA\r\n0,0\r\n""\r\n'];for(var f=t.s.r;f<=t.e.r;++f){var l=a?e["!data"][f]:[];var o="-1,0\r\nBOT\r\n";for(var c=t.s.c;c<=t.e.c;++c){var h=a?l&&l[c]:e[za({r:f,c:c})];if(h==null){o+='1,0\r\n""\r\n';continue}switch(h.t){case"n":if(r){if(h.w!=null)o+="0,"+h.w+"\r\nV";else if(h.v!=null)o+=n(h.v,"V");else if(h.f!=null&&!h.F)o+=i("="+h.f);else o+='1,0\r\n""'}else{if(h.v==null)o+='1,0\r\n""';else o+=n(h.v,"V")}break;case"b":o+=h.v?n(1,"TRUE"):n(0,"FALSE");break;case"s":o+=i(!r||isNaN(+h.v)?h.v:'="'+h.v+'"');break;case"d":if(!h.w)h.w=ze(h.z||q[14],dr(wr(h.v)));if(r)o+=n(h.w,"V");else o+=i(h.w);break;default:o+='1,0\r\n""';}o+="\r\n"}s.push(o)}return s.join("")+"-1,0\r\nEOD"}return{to_workbook:a,to_sheet:t,from_sheet:s}}();var Kl=function(){function e(e){return e.replace(/\\b/g,"\\").replace(/\\c/g,":").replace(/\\n/g,"\n")}function r(e){return e.replace(/\\/g,"\\b").replace(/:/g,"\\c").replace(/\n/g,"\\n")}function t(r,t){var a=r.split("\n"),n=-1,i=-1,s=0,f=[];for(;s!==a.length;++s){var l=a[s].trim().split(":");if(l[0]!=="cell")continue;var o=Wa(l[1]);if(f.length<=o.r)for(n=f.length;n<=o.r;++n)if(!f[n])f[n]=[];n=o.r;i=o.c;switch(l[2]){case"t":f[n][i]=e(l[3]);break;case"v":f[n][i]=+l[3];break;case"vtf":var c=l[l.length-1];case"vtc":switch(l[3]){case"nl":f[n][i]=+l[4]?true:false;break;default:f[n][i]=+l[4];break;}if(l[2]=="vtf")f[n][i]=[f[n][i],c];}}if(t&&t.sheetRows)f=f.slice(0,t.sheetRows);return f}function a(e,r){return qa(t(e,r),r)}function n(e,r){return Ya(a(e,r),r)}var i=["socialcalc:version:1.5","MIME-Version: 1.0","Content-Type: multipart/mixed; boundary=SocialCalcSpreadsheetControlSave"].join("\n");var s=["--SocialCalcSpreadsheetControlSave","Content-type: text/plain; charset=UTF-8"].join("\n")+"\n";var f=["# SocialCalc Spreadsheet Control Save","part:sheet"].join("\n");var l="--SocialCalcSpreadsheetControlSave--";function o(e){if(!e||!e["!ref"])return"";var t=[],a=[],n,i="";var s=Ha(e["!ref"]);var f=e["!data"]!=null;for(var l=s.s.r;l<=s.e.r;++l){for(var o=s.s.c;o<=s.e.c;++o){i=za({r:l,c:o});n=f?(e["!data"][l]||[])[o]:e[i];if(!n||n.v==null||n.t==="z")continue;a=["cell",i,"t"];switch(n.t){case"s":;case"str":a.push(r(n.v));break;case"n":if(!n.f){a[2]="v";a[3]=n.v}else{a[2]="vtf";a[3]="n";a[4]=n.v;a[5]=r(n.f)}break;case"b":a[2]="vt"+(n.f?"f":"c");a[3]="nl";a[4]=n.v?"1":"0";a[5]=r(n.f||(n.v?"TRUE":"FALSE"));break;case"d":var c=dr(wr(n.v));a[2]="vtc";a[3]="nd";a[4]=""+c;a[5]=n.w||ze(n.z||q[14],c);break;case"e":continue;}t.push(a.join(":"))}}t.push("sheet:c:"+(s.e.c-s.s.c+1)+":r:"+(s.e.r-s.s.r+1)+":tvf:1");t.push("valueformat:1:text-wiki");return t.join("\n")}function c(e){return[i,s,f,s,o(e),l].join("\n")}return{to_workbook:n,to_sheet:a,from_sheet:c}}();var Yl=function(){function e(e,r,t,a,n){if(n.raw)r[t][a]=e;else if(e===""){}else if(e==="TRUE")r[t][a]=true;else if(e==="FALSE")r[t][a]=false;else if(!isNaN(yr(e)))r[t][a]=yr(e);else if(!isNaN(Ir(e).getDate()))r[t][a]=wr(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,l=0;var o=0;for(;o<=s;++o){l=i[o].indexOf(" ");if(l==-1)l=i[o].length;else l++;f=Math.max(f,l)}for(o=0;o<=s;++o){n[o]=[];var c=0;e(i[o].slice(0,f).trim(),n,o,c,a);for(c=1;c<=(i[o].length-f)/10+1;++c)e(i[o].slice(f+(c-1)*10,f+c*10).trim(),n,o,c,a)}if(a.sheetRows)n=n.slice(0,a.sheetRows);return n}var t={44:",",9:"\t",59:";",124:"|"};var n={44:3,9:2,59:1,124:0};function i(e){var r={},a=false,i=0,s=0;for(;i<e.length;++i){if((s=e.charCodeAt(i))==34)a=!a;else if(!a&&s in t)r[s]=(r[s]||0)+1}s=[];for(i in r)if(Object.prototype.hasOwnProperty.call(r,i)){s.push([r[i],i])}if(!s.length){r=n;for(i in r)if(Object.prototype.hasOwnProperty.call(r,i)){s.push([r[i],i])}}s.sort(function(e,r){return e[0]-r[0]||n[e[1]]-n[r[1]]});return t[s.pop()[1]]||44}function s(e,r){var t=r||{};var a="";if(b!=null&&t.dense==null)t.dense=b;var n={};if(t.dense)n["!data"]=[];var s={s:{c:0,r:0},e:{c:0,r:0}};if(e.slice(0,4)=="sep="){if(e.charCodeAt(5)==13&&e.charCodeAt(6)==10){a=e.charAt(4);e=e.slice(7)}else if(e.charCodeAt(5)==13||e.charCodeAt(5)==10){a=e.charAt(4);e=e.slice(6)}else a=i(e.slice(0,1024))}else if(t&&t.FS)a=t.FS;else a=i(e.slice(0,1024));var f=0,l=0,o=0;var c=0,h=0,u=a.charCodeAt(0),d=false,v=0,p=e.charCodeAt(0);var m=t.dateNF!=null?Ke(t.dateNF):null;function g(){var r=e.slice(c,h);if(r.slice(-1)=="\r")r=r.slice(0,-1);var a={};if(r.charAt(0)=='"'&&r.charAt(r.length-1)=='"')r=r.slice(1,-1).replace(/""/g,'"');if(t.cellText!==false)a.w=r;if(r.length===0)a.t="z";else if(t.raw){a.t="s";a.v=r}else if(r.trim().length===0){a.t="s";a.v=r}else if(r.charCodeAt(0)==61){if(r.charCodeAt(1)==34&&r.charCodeAt(r.length-1)==34){a.t="s";a.v=r.slice(2,-1).replace(/""/g,'"')}else if(fu(r)){a.t="s";a.f=r.slice(1);a.v=r}else{a.t="s";a.v=r}}else if(r=="TRUE"){a.t="b";a.v=true}else if(r=="FALSE"){a.t="b";a.v=false}else if(!isNaN(o=yr(r))){a.t="n";a.v=o}else if(!isNaN((o=Ir(r)).getDate())||m&&r.match(m)){a.z=t.dateNF||q[14];if(m&&r.match(m)){var i=Ye(r,t.dateNF,r.match(m)||[]);o=wr(i);if(t&&t.UTC===false)o=Fr(o)}else if(t&&t.UTC===false)o=Fr(o);else if(t.cellText!==false&&t.dateNF)a.w=ze(a.z,o);if(t.cellDates){a.t="d";a.v=o}else{a.t="n";a.v=dr(o)}if(!t.cellNF)delete a.z}else{a.t="s";a.v=r}if(a.t=="z"){}else if(t.dense){if(!n["!data"][f])n["!data"][f]=[];n["!data"][f][l]=a}else n[za({c:l,r:f})]=a;c=h+1;p=e.charCodeAt(c);if(s.e.c<l)s.e.c=l;if(s.e.r<f)s.e.r=f;if(v==u)++l;else{l=0;++f;if(t.sheetRows&&t.sheetRows<=f)return true}}e:for(;h<e.length;++h)switch(v=e.charCodeAt(h)){case 34:if(p===34)d=!d;break;case 13:if(d)break;if(e.charCodeAt(h+1)==10)++h;case u:;case 10:if(!d&&g())break e;break;default:break;}if(h-c>0)g();n["!ref"]=Va(s);return n}function f(e,t){if(!(t&&t.PRN))return s(e,t);if(t.FS)return s(e,t);if(e.slice(0,4)=="sep=")return s(e,t);if(e.indexOf("\t")>=0||e.indexOf(",")>=0||e.indexOf(";")>=0)return s(e,t);return qa(r(e,t),t)}function l(e,r){var t="",n=r.type=="string"?[0,0,0,0]:hk(e,r);switch(r.type){case"base64":t=E(e);break;case"binary":t=e;break;case"buffer":if(r.codepage==65001)t=e.toString("utf8");else if(r.codepage&&typeof a!=="undefined")t=a.utils.decode(r.codepage,e);else t=C&&Buffer.isBuffer(e)?e.toString("binary"):N(e);break;case"array":t=kr(e);break;case"string":t=e;break;default:throw new Error("Unrecognized type "+r.type);}if(n[0]==239&&n[1]==187&&n[2]==191)t=kt(t.slice(3));else if(r.type!="string"&&r.type!="buffer"&&r.codepage==65001)t=kt(t);else if(r.type=="binary"&&typeof a!=="undefined"&&r.codepage)t=a.utils.decode(r.codepage,a.utils.encode(28591,t));if(t.slice(0,19)=="socialcalc:version:")return Kl.to_sheet(r.type=="string"?t:kt(t),r);return f(t,r)}function o(e,r){return Ya(l(e,r),r)}function c(e){var r=[];if(!e["!ref"])return"";var t=Ga(e["!ref"]),a;var n=e["!data"]!=null;for(var i=t.s.r;i<=t.e.r;++i){var s=[];for(var f=t.s.c;f<=t.e.c;++f){var l=za({r:i,c:f});a=n?(e["!data"][i]||[])[f]:e[l];if(!a||a.v==null){s.push(" ");continue}var o=(a.w||(Ka(a),a.w)||"").slice(0,10);while(o.length<10)o+=" ";s.push(o+(f===0?" ":""))}r.push(s.join(""))}return r.join("\n")}return{to_workbook:o,to_sheet:l,from_sheet:c}}();function Zl(e,r){var t=r||{},a=!!t.WTF;t.WTF=true;try{var n=Gl.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 Yl.to_workbook(e,r)}}var Jl=function(){function e(e,r,t){if(!e)return;Ta(e,e.l||0);var a=t.Enum||V;while(e.l<e.length){var n=e._R(2);var i=a[n]||a[65535];var s=e._R(2);var f=e.l+s;var l=i.f&&i.f(e,s,t);e.l=f;if(r(l,i,n))return}}function r(e,r){switch(r.type){case"base64":return a(R(E(e)),r);case"binary":return a(R(e),r);case"buffer":;case"array":return a(e,r);}throw"Unsupported type "+r.type}var t=["mmmm","dd-mmm-yyyy","dd-mmm","mmm-yyyy","@","mm/dd","hh:mm:ss AM/PM","hh:mm AM/PM","mm/dd/yyyy","mm/dd","hh:mm:ss","hh:mm"];function a(r,a){if(!r)return r;var n=a||{};if(b!=null&&n.dense==null)n.dense=b;var i={},s="Sheet1",f="",l=0;var o={},c=[],h=[],u=[];if(n.dense)u=i["!data"]=[];var d={s:{r:0,c:0},e:{r:0,c:0}};var v=n.sheetRows||0;var p={};if(r[4]==81&&r[5]==80&&r[6]==87)return j(r,a);if(r[2]==0){if(r[3]==8||r[3]==9){if(r.length>=16&&r[14]==5&&r[15]===108)throw new Error("Unsupported Works 3 for Mac file")}}if(r[2]==2){n.Enum=V;e(r,function(e,r,a){switch(a){case 0:n.vers=e;if(e>=4096)n.qpro=true;break;case 255:n.vers=e;n.works=true;break;case 6:d=e;break;case 204:if(e)f=e;break;case 222:f=e;break;case 15:;case 51:if((!n.qpro&&!n.works||a==51)&&e[1].v.charCodeAt(0)<48)e[1].v=e[1].v.slice(1);if(n.works||n.works2)e[1].v=e[1].v.replace(/\r\n/g,"\n");case 13:;case 14:;case 16:if((e[2]&112)==112&&(e[2]&15)>1&&(e[2]&15)<15){e[1].z=n.dateNF||t[(e[2]&15)-1]||q[14];if(n.cellDates){e[1].v=vr(e[1].v);e[1].t=typeof e[1].v=="number"?"n":"d"}}if(n.qpro){if(e[3]>l){i["!ref"]=Va(d);o[s]=i;c.push(s);i={};if(n.dense)u=i["!data"]=[];d={s:{r:0,c:0},e:{r:0,c:0}};l=e[3];s=f||"Sheet"+(l+1);f=""}}var h=n.dense?(u[e[0].r]||[])[e[0].c]:i[za(e[0])];if(h){h.t=e[1].t;h.v=e[1].v;if(e[1].z!=null)h.z=e[1].z;if(e[1].f!=null)h.f=e[1].f;p=h;break}if(n.dense){if(!u[e[0].r])u[e[0].r]=[];u[e[0].r][e[0].c]=e[1]}else i[za(e[0])]=e[1];p=e[1];break;case 21509:n.works2=true;break;case 21506:{if(e==5281){p.z="hh:mm:ss";if(n.cellDates&&p.t=="n"){p.v=vr(p.v);p.t=typeof p.v=="number"?"n":"d"}}}break;}},n)}else if(r[2]==26||r[2]==14){n.Enum=X;if(r[2]==14){n.qpro=true;r.l=0}e(r,function(e,r,t){switch(t){case 204:s=e;break;case 22:if(e[1].v.charCodeAt(0)<48)e[1].v=e[1].v.slice(1);e[1].v=e[1].v.replace(/\x0F./g,function(e){return String.fromCharCode(e.charCodeAt(1)-32)}).replace(/\r\n/g,"\n");case 23:;case 24:;case 25:;case 37:;case 39:;case 40:if(e[3]>l){i["!ref"]=Va(d);o[s]=i;c.push(s);i={};if(n.dense)u=i["!data"]=[];d={s:{r:0,c:0},e:{r:0,c:0}};l=e[3];s="Sheet"+(l+1)}if(v>0&&e[0].r>=v)break;if(n.dense){if(!u[e[0].r])u[e[0].r]=[];u[e[0].r][e[0].c]=e[1]}else i[za(e[0])]=e[1];if(d.e.c<e[0].c)d.e.c=e[0].c;if(d.e.r<e[0].r)d.e.r=e[0].r;break;case 27:if(e[14e3])h[e[14e3][0]]=e[14e3][1];break;case 1537:h[e[0]]=e[1];if(e[0]==l)s=e[1];break;default:break;}},n)}else throw new Error("Unrecognized LOTUS BOF "+r[2]);i["!ref"]=Va(d);o[f||s]=i;c.push(f||s);if(!h.length)return{SheetNames:c,Sheets:o};var m={},g=[];for(var w=0;w<h.length;++w)if(o[c[w]]){g.push(h[w]||c[w]);m[h[w]]=o[h[w]]||o[c[w]]}else{g.push(h[w]);m[h[w]]={"!ref":"A1"}}return{SheetNames:g,Sheets:m}}function n(e,r){var t=r||{};if(+t.codepage>=0)l(+t.codepage);if(t.type=="string")throw new Error("Cannot write WK1 to JS string");var a=Ca();if(!e["!ref"])throw new Error("Cannot export empty sheet to WK1");var n=Ga(e["!ref"]);var i=e["!data"]!=null;var f=[];rb(a,0,s(1030));rb(a,6,c(n));var o=Math.min(n.e.r,8191);for(var h=n.s.c;h<=n.e.c;++h)f[h]=La(h);for(var u=n.s.r;u<=o;++u){var d=Na(u);for(h=n.s.c;h<=n.e.c;++h){var p=i?(e["!data"][u]||[])[h]:e[f[h]+d];if(!p||p.t=="z")continue;switch(p.t){case"n":if((p.v|0)==p.v&&p.v>=-32768&&p.v<=32767)rb(a,13,g(u,h,p));else rb(a,14,k(u,h,p));break;case"d":var m=dr(p.v);if((m|0)==m&&m>=-32768&&m<=32767)rb(a,13,g(u,h,{t:"n",v:m,z:p.z||q[14]}));else rb(a,14,k(u,h,{t:"n",v:m,z:p.z||q[14]}));break;default:var b=Ka(p);rb(a,15,v(u,h,b.slice(0,239)));}}}rb(a,1);return a.end()}function i(e,r){var t=r||{};if(+t.codepage>=0)l(+t.codepage);if(t.type=="string")throw new Error("Cannot write WK3 to JS string");var a=Ca();rb(a,0,f(e));for(var n=0,i=0;n<e.SheetNames.length;++n)if((e.Sheets[e.SheetNames[n]]||{})["!ref"])rb(a,27,H(e.SheetNames[n],i++));var s=0;for(n=0;n<e.SheetNames.length;++n){var o=e.Sheets[e.SheetNames[n]];if(!o||!o["!ref"])continue; +var c=Ga(o["!ref"]);var h=o["!data"]!=null;var u=[];var d=Math.min(c.e.r,8191);for(var v=c.s.r;v<=d;++v){var p=Na(v);for(var m=c.s.c;m<=c.e.c;++m){if(v===c.s.r)u[m]=La(m);var g=u[m]+p;var b=h?(o["!data"][v]||[])[m]:o[g];if(!b||b.t=="z")continue;if(b.t=="n"){rb(a,23,F(v,m,s,b.v))}else{var w=Ka(b);rb(a,22,O(v,m,s,w.slice(0,239)))}}}++s}rb(a,1);return a.end()}function s(e){var r=ya(2);r._W(2,e);return r}function f(e){var r=ya(26);r._W(2,4096);r._W(2,4);r._W(4,0);var t=0,a=0,n=0;for(var i=0;i<e.SheetNames.length;++i){var s=e.SheetNames[i];var f=e.Sheets[s];if(!f||!f["!ref"])continue;++n;var l=Ha(f["!ref"]);if(t<l.e.r)t=l.e.r;if(a<l.e.c)a=l.e.c}if(t>8191)t=8191;r._W(2,t);r._W(1,n);r._W(1,a);r._W(2,0);r._W(2,0);r._W(1,1);r._W(1,2);r._W(4,0);r._W(4,0);return r}function o(e,r,t){var a={s:{c:0,r:0},e:{c:0,r:0}};if(r==8&&t.qpro){a.s.c=e._R(1);e.l++;a.s.r=e._R(2);a.e.c=e._R(1);e.l++;a.e.r=e._R(2);return a}a.s.c=e._R(2);a.s.r=e._R(2);if(r==12&&t.qpro)e.l+=2;a.e.c=e._R(2);a.e.r=e._R(2);if(r==12&&t.qpro)e.l+=2;if(a.s.c==65535)a.s.c=a.e.c=a.s.r=a.e.r=0;return a}function c(e){var r=ya(8);r._W(2,e.s.c);r._W(2,e.s.r);r._W(2,e.e.c);r._W(2,e.e.r);return r}function h(e,r,t){var a=[{c:0,r:0},{t:"n",v:0},0,0];if(t.qpro&&t.vers!=20768){a[0].c=e._R(1);a[3]=e._R(1);a[0].r=e._R(2);e.l+=2}else if(t.works){a[0].c=e._R(2);a[0].r=e._R(2);a[2]=e._R(2)}else{a[2]=e._R(1);a[0].c=e._R(2);a[0].r=e._R(2)}return a}function u(e){if(e.z&&Le(e.z)){return 240|(t.indexOf(e.z)+1||2)}return 255}function d(e,r,t){var a=e.l+r;var n=h(e,r,t);n[1].t="s";if((t.vers&65534)==20768){e.l++;var i=e._R(1);n[1].v=e._R(i,"utf8");return n}if(t.qpro)e.l++;n[1].v=e._R(a-e.l,"cstr");return n}function v(e,r,t){var a=ya(7+t.length);a._W(1,255);a._W(2,r);a._W(2,e);a._W(1,39);for(var n=0;n<a.length;++n){var i=t.charCodeAt(n);a._W(1,i>=128?95:i)}a._W(1,0);return a}function p(e,r,t){var a=e.l+r;var n=h(e,r,t);n[1].t="s";if(t.vers==20768){var i=e._R(1);n[1].v=e._R(i,"utf8");return n}n[1].v=e._R(a-e.l,"cstr");return n}function m(e,r,t){var a=h(e,r,t);a[1].v=e._R(2,"i");return a}function g(e,r,t){var a=ya(7);a._W(1,u(t));a._W(2,r);a._W(2,e);a._W(2,t.v,"i");return a}function w(e,r,t){var a=h(e,r,t);a[1].v=e._R(8,"f");return a}function k(e,r,t){var a=ya(13);a._W(1,u(t));a._W(2,r);a._W(2,e);a._W(8,t.v,"f");return a}function T(e,r,t){var a=e.l+r;var n=h(e,r,t);n[1].v=e._R(8,"f");if(t.qpro)e.l=a;else{var i=e._R(2);_(e.slice(e.l,e.l+i),n);e.l+=i}return n}function A(e,r,t){var a=r&32768;r&=~32768;r=(a?e:0)+(r>=8192?r-16384:r);return(a?"":"$")+(t?La(r):Na(r))}var y={31:["NA",0],33:["ABS",1],34:["TRUNC",1],35:["SQRT",1],36:["LOG",1],37:["LN",1],38:["PI",0],39:["SIN",1],40:["COS",1],41:["TAN",1],42:["ATAN2",2],43:["ATAN",1],44:["ASIN",1],45:["ACOS",1],46:["EXP",1],47:["MOD",2],49:["ISNA",1],50:["ISERR",1],51:["FALSE",0],52:["TRUE",0],53:["RAND",0],54:["DATE",3],63:["ROUND",2],64:["TIME",3],68:["ISNUMBER",1],69:["ISTEXT",1],70:["LEN",1],71:["VALUE",1],73:["MID",3],74:["CHAR",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],102:["UPPER",1],103:["LOWER",1],107:["PROPER",1],109:["TRIM",1],111:["T",1]};var C=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function _(e,r){Ta(e,0);var t=[],a=0,n="",i="",s="",f="";while(e.l<e.length){var l=e[e.l++];switch(l){case 0:t.push(e._R(8,"f"));break;case 1:{i=A(r[0].c,e._R(2),true);n=A(r[0].r,e._R(2),false);t.push(i+n)}break;case 2:{var o=A(r[0].c,e._R(2),true);var c=A(r[0].r,e._R(2),false);i=A(r[0].c,e._R(2),true);n=A(r[0].r,e._R(2),false);t.push(o+c+":"+i+n)}break;case 3:if(e.l<e.length){console.error("WK1 premature formula end");return}break;case 4:t.push("("+t.pop()+")");break;case 5:t.push(e._R(2));break;case 6:{var h="";while(l=e[e.l++])h+=String.fromCharCode(l);t.push('"'+h.replace(/"/g,'""')+'"')}break;case 8:t.push("-"+t.pop());break;case 23:t.push("+"+t.pop());break;case 22:t.push("NOT("+t.pop()+")");break;case 20:;case 21:{f=t.pop();s=t.pop();t.push(["AND","OR"][l-20]+"("+s+","+f+")")}break;default:if(l<32&&C[l]){f=t.pop();s=t.pop();t.push(s+C[l]+f)}else if(y[l]){a=y[l][1];if(a==69)a=e[e.l++];if(a>t.length){console.error("WK1 bad formula parse 0x"+l.toString(16)+":|"+t.join("|")+"|");return}var u=t.slice(-a);t.length-=a;t.push(y[l][0]+"("+u.join(",")+")")}else if(l<=7)return console.error("WK1 invalid opcode "+l.toString(16));else if(l<=24)return console.error("WK1 unsupported op "+l.toString(16));else if(l<=30)return console.error("WK1 invalid opcode "+l.toString(16));else if(l<=115)return console.error("WK1 unsupported function opcode "+l.toString(16));else return console.error("WK1 unrecognized opcode "+l.toString(16));}}if(t.length==1)r[1].f=""+t[0];else console.error("WK1 bad formula parse |"+t.join("|")+"|")}function S(e){var r=[{c:0,r:0},{t:"n",v:0},0];r[0].r=e._R(2);r[3]=e[e.l++];r[0].c=e[e.l++];return r}function x(e,r){var t=S(e,r);t[1].t="s";t[1].v=e._R(r-4,"cstr");return t}function O(e,r,t,a){var n=ya(6+a.length);n._W(2,e);n._W(1,t);n._W(1,r);n._W(1,39);for(var i=0;i<a.length;++i){var s=a.charCodeAt(i);n._W(1,s>=128?95:s)}n._W(1,0);return n}function I(e,r){var t=S(e,r);t[1].v=e._R(2);var a=t[1].v>>1;if(t[1].v&1){switch(a&7){case 0:a=(a>>3)*5e3;break;case 1:a=(a>>3)*500;break;case 2:a=(a>>3)/20;break;case 3:a=(a>>3)/200;break;case 4:a=(a>>3)/2e3;break;case 5:a=(a>>3)/2e4;break;case 6:a=(a>>3)/16;break;case 7:a=(a>>3)/64;break;}}t[1].v=a;return t}function N(e,r){var t=S(e,r);var a=e._R(4);var n=e._R(4);var i=e._R(2);if(i==65535){if(a===0&&n===3221225472){t[1].t="e";t[1].v=15}else if(a===0&&n===3489660928){t[1].t="e";t[1].v=42}else t[1].v=0;return t}var s=i&32768;i=(i&32767)-16446;t[1].v=(1-s*2)*(n*Math.pow(2,i+32)+a*Math.pow(2,i));return t}function F(e,r,t,a){var n=ya(14);n._W(2,e);n._W(1,t);n._W(1,r);if(a==0){n._W(4,0);n._W(4,0);n._W(2,65535);return n}var i=0,s=0,f=0,l=0;if(a<0){i=1;a=-a}s=Math.log2(a)|0;a/=Math.pow(2,s-31);l=a>>>0;if((l&2147483648)==0){a/=2;++s;l=a>>>0}a-=l;l|=2147483648;l>>>=0;a*=Math.pow(2,32);f=a>>>0;n._W(4,f);n._W(4,l);s+=16383+(i?32768:0);n._W(2,s);return n}function D(e,r){var t=N(e,14);e.l+=r-14;return t}function P(e,r){var t=S(e,r);var a=e._R(4);t[1].v=a>>6;return t}function L(e,r){var t=S(e,r);var a=e._R(8,"f");t[1].v=a;return t}function M(e,r){var t=L(e,12);e.l+=r-12;return t}function U(e,r){return e[e.l+r-1]==0?e._R(r,"cstr"):""}function B(e,r){var t=e[e.l++];if(t>r-1)t=r-1;var a="";while(a.length<t)a+=String.fromCharCode(e[e.l++]);return a}function W(e,r,t){if(!t.qpro||r<21)return;var a=e._R(1);e.l+=17;e.l+=1;e.l+=2;var n=e._R(r-21,"cstr");return[a,n]}function z(e,r){var t={},a=e.l+r;while(e.l<a){var n=e._R(2);if(n==14e3){t[n]=[0,""];t[n][0]=e._R(2);while(e[e.l]){t[n][1]+=String.fromCharCode(e[e.l]);e.l++}e.l++}}return t}function H(e,r){var t=ya(5+e.length);t._W(2,14e3);t._W(2,r);for(var a=0;a<e.length;++a){var n=e.charCodeAt(a);t[t.l++]=n>127?95:n}t[t.l++]=0;return t}var V={0:{n:"BOF",f:ds},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:o},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:m},14:{n:"NUMBER",f:w},15:{n:"LABEL",f:d},16:{n:"FORMULA",f:T},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:p},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},102:{n:"PRANGES??"},103:{n:"RRANGES??"},104:{n:"FNAME??"},105:{n:"MRANGES??"},204:{n:"SHEETNAMECS",f:U},222:{n:"SHEETNAMELP",f:B},255:{n:"BOF",f:ds},21506:{n:"WKSNF",f:ds},65535:{n:""}};var X={0:{n:"BOF"},1:{n:"EOF"},2:{n:"PASSWORD"},3:{n:"CALCSET"},4:{n:"WINDOWSET"},5:{n:"SHEETCELLPTR"},6:{n:"SHEETLAYOUT"},7:{n:"COLUMNWIDTH"},8:{n:"HIDDENCOLUMN"},9:{n:"USERRANGE"},10:{n:"SYSTEMRANGE"},11:{n:"ZEROFORCE"},12:{n:"SORTKEYDIR"},13:{n:"FILESEAL"},14:{n:"DATAFILLNUMS"},15:{n:"PRINTMAIN"},16:{n:"PRINTSTRING"},17:{n:"GRAPHMAIN"},18:{n:"GRAPHSTRING"},19:{n:"??"},20:{n:"ERRCELL"},21:{n:"NACELL"},22:{n:"LABEL16",f:x},23:{n:"NUMBER17",f:N},24:{n:"NUMBER18",f:I},25:{n:"FORMULA19",f:D},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:z},28:{n:"DTLABELMISC"},29:{n:"DTLABELCELL"},30:{n:"GRAPHWINDOW"},31:{n:"CPA"},32:{n:"LPLAUTO"},33:{n:"QUERY"},34:{n:"HIDDENSHEET"},35:{n:"??"},37:{n:"NUMBER25",f:P},38:{n:"??"},39:{n:"NUMBER27",f:L},40:{n:"FORMULA28",f:M},142:{n:"??"},147:{n:"??"},150:{n:"??"},151:{n:"??"},152:{n:"??"},153:{n:"??"},154:{n:"??"},155:{n:"??"},156:{n:"??"},163:{n:"??"},174:{n:"??"},175:{n:"??"},176:{n:"??"},177:{n:"??"},184:{n:"??"},185:{n:"??"},186:{n:"??"},187:{n:"??"},188:{n:"??"},195:{n:"??"},201:{n:"??"},204:{n:"SHEETNAMECS",f:U},205:{n:"??"},206:{n:"??"},207:{n:"??"},208:{n:"??"},256:{n:"??"},259:{n:"??"},260:{n:"??"},261:{n:"??"},262:{n:"??"},263:{n:"??"},265:{n:"??"},266:{n:"??"},267:{n:"??"},268:{n:"??"},270:{n:"??"},271:{n:"??"},384:{n:"??"},389:{n:"??"},390:{n:"??"},393:{n:"??"},396:{n:"??"},512:{n:"??"},514:{n:"??"},513:{n:"??"},516:{n:"??"},517:{n:"??"},640:{n:"??"},641:{n:"??"},642:{n:"??"},643:{n:"??"},644:{n:"??"},645:{n:"??"},646:{n:"??"},647:{n:"??"},648:{n:"??"},658:{n:"??"},659:{n:"??"},660:{n:"??"},661:{n:"??"},662:{n:"??"},665:{n:"??"},666:{n:"??"},768:{n:"??"},772:{n:"??"},1537:{n:"SHEETINFOQP",f:W},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}};var $={5:"dd-mmm-yy",6:"dd-mmm",7:"mmm-yy",8:"mm/dd/yy",10:"hh:mm:ss AM/PM",11:"hh:mm AM/PM",14:"dd-mmm-yyyy",15:"mmm-yyyy",34:"0.00",50:"0.00;[Red]0.00",66:"0.00;(0.00)",82:"0.00;[Red](0.00)",162:'"$"#,##0.00;\\("$"#,##0.00\\)',288:"0%",304:"0E+00",320:"# ?/?"};function G(e){var r=e._R(2);var t=e._R(1);if(t!=0)throw"unsupported QPW string type "+t.toString(16);return e._R(r,"sbcs-cont")}function j(e,r){Ta(e,0);var t=r||{};if(b!=null&&t.dense==null)t.dense=b;var a={};if(t.dense)a["!data"]=[];var n=[],i="",s=[];var f={s:{r:-1,c:-1},e:{r:-1,c:-1}};var l=0,o=0,c=0,h=0;var u={SheetNames:[],Sheets:{}};var d=[];e:while(e.l<e.length){var v=e._R(2),p=e._R(2);var m=e.slice(e.l,e.l+p);Ta(m,0);switch(v){case 1:if(m._R(4)!=962023505)throw"Bad QPW9 BOF!";break;case 2:break e;case 8:break;case 10:{var g=m._R(4);var w=(m.length-m.l)/g|0;for(var k=0;k<g;++k){var T=m.l+w;var A={};m.l+=2;A.numFmtId=m._R(2);if($[A.numFmtId])A.z=$[A.numFmtId];m.l=T;d.push(A)}}break;case 1025:break;case 1026:break;case 1031:{m.l+=12;while(m.l<m.length){l=m._R(2);o=m._R(1);n.push(m._R(l,"cstr"))}}break;case 1032:{}break;case 1537:{var y=m._R(2);a={};if(t.dense)a["!data"]=[];f.s.c=m._R(2);f.e.c=m._R(2);f.s.r=m._R(4);f.e.r=m._R(4);m.l+=4;if(m.l+2<m.length){l=m._R(2);o=m._R(1);i=l==0?"":m._R(l,"cstr")}if(!i)i=La(y)}break;case 1538:{if(f.s.c>255||f.s.r>999999)break;if(f.e.c<f.s.c)f.e.c=f.s.c;if(f.e.r<f.s.r)f.e.r=f.s.r;a["!ref"]=Va(f);Kk(u,a,i)}break;case 2561:{c=m._R(2);if(f.e.c<c)f.e.c=c;if(f.s.c>c)f.s.c=c;h=m._R(4);if(f.s.r>h)f.s.r=h;h=m._R(4);if(f.e.r<h)f.e.r=h}break;case 3073:{h=m._R(4),l=m._R(4);if(f.s.r>h)f.s.r=h;if(f.e.r<h+l-1)f.e.r=h+l-1;var E=La(c);while(m.l<m.length){var C={t:"z"};var _=m._R(1),S=-1;if(_&128)S=m._R(2);var x=_&64?m._R(2)-1:0;switch(_&31){case 0:break;case 1:break;case 2:C={t:"n",v:m._R(2)};break;case 3:C={t:"n",v:m._R(2,"i")};break;case 4:C={t:"n",v:Tn(m)};break;case 5:C={t:"n",v:m._R(8,"f")};break;case 7:C={t:"s",v:n[o=m._R(4)-1]};break;case 8:C={t:"n",v:m._R(8,"f")};m.l+=2;m.l+=4;if(isNaN(C.v))C={t:"e",v:15};break;default:throw"Unrecognized QPW cell type "+(_&31);}if(S!=-1&&(d[S-1]||{}).z)C.z=d[S-1].z;var O=0;if(_&32)switch(_&31){case 2:O=m._R(2);break;case 3:O=m._R(2,"i");break;case 7:O=m._R(2);break;default:throw"Unsupported delta for QPW cell type "+(_&31);}if(!(!t.sheetStubs&&C.t=="z")){var R=Tr(C);if(C.t=="n"&&C.z&&Le(C.z)&&t.cellDates){R.v=vr(C.v);R.t=typeof R.v=="number"?"n":"d"}if(a["!data"]!=null){if(!a["!data"][h])a["!data"][h]=[];a["!data"][h][c]=R}else a[E+Na(h)]=R}++h;--l;while(x-- >0&&l>=0){if(_&32)switch(_&31){case 2:C={t:"n",v:C.v+O&65535};break;case 3:C={t:"n",v:C.v+O&65535};if(C.v>32767)C.v-=65536;break;case 7:C={t:"s",v:n[o=o+O>>>0]};break;default:throw"Cannot apply delta for QPW cell type "+(_&31);}else switch(_&31){case 1:C={t:"z"};break;case 2:C={t:"n",v:m._R(2)};break;case 7:C={t:"s",v:n[o=m._R(4)-1]};break;default:throw"Cannot apply repeat for QPW cell type "+(_&31);}if(S!=-1);if(!(!t.sheetStubs&&C.t=="z")){if(a["!data"]!=null){if(!a["!data"][h])a["!data"][h]=[];a["!data"][h][c]=C}else a[E+Na(h)]=C}++h;--l}}}break;case 3074:{c=m._R(2);h=m._R(4);var I=G(m);if(a["!data"]!=null){if(!a["!data"][h])a["!data"][h]=[];a["!data"][h][c]={t:"s",v:I}}else a[La(c)+Na(h)]={t:"s",v:I}}break;default:break;}e.l+=p}return u}return{sheet_to_wk1:n,book_to_wk3:i,to_workbook:r}}();function ql(e){var r={},t=e.match(qr),a=0;var n=false;if(t)for(;a!=t.length;++a){var s=rt(t[a]);switch(s[0].replace(/\w*:/g,"")){case"<condense":break;case"<extend":break;case"<shadow":if(!s.val)break;case"<shadow>":;case"<shadow/>":r.shadow=1;break;case"</shadow>":break;case"<charset":if(s.val=="1")break;r.cp=i[parseInt(s.val,10)];break;case"<outline":if(!s.val)break;case"<outline>":;case"<outline/>":r.outline=1;break;case"</outline>":break;case"<rFont":r.name=s.val;break;case"<sz":r.sz=s.val;break;case"<strike":if(!s.val)break;case"<strike>":;case"<strike/>":r.strike=1;break;case"</strike>":break;case"<u":if(!s.val)break;switch(s.val){case"double":r.uval="double";break;case"singleAccounting":r.uval="single-accounting";break;case"doubleAccounting":r.uval="double-accounting";break;};case"<u>":;case"<u/>":r.u=1;break;case"</u>":break;case"<b":if(s.val=="0")break;case"<b>":;case"<b/>":r.b=1;break;case"</b>":break;case"<i":if(s.val=="0")break;case"<i>":;case"<i/>":r.i=1;break;case"</i>":break;case"<color":if(s.rgb)r.color=s.rgb.slice(2,8);break;case"<color>":;case"<color/>":;case"</color>":break;case"<family":r.family=s.val;break;case"<family>":;case"<family/>":;case"</family>":break;case"<vertAlign":r.valign=s.val;break;case"<vertAlign>":;case"<vertAlign/>":;case"</vertAlign>":break;case"<scheme":break;case"<scheme>":;case"<scheme/>":;case"</scheme>":break;case"<extLst":;case"<extLst>":;case"</extLst>":break;case"<ext":n=true;break;case"</ext>":n=false;break;default:if(s[0].charCodeAt(1)!==47&&!n)throw new Error("Unrecognized rich format "+s[0]);}}return r}var Ql=function(){var e=At("t"),r=At("rPr");function t(t){var a=t.match(e);if(!a)return{t:"s",v:""};var n={t:"s",v:it(a[1])};var i=t.match(r);if(i)n.s=ql(i[1]);return n}var a=/<(?:\w+:)?r>/g,n=/<\/(?:\w+:)?r>/;return function i(e){return e.replace(a,"").split(n).map(t).filter(function(e){return e.v})}}();var eo=function ET(){var e=/(\r\n|\n)/g;function r(e,r,t){var a=[];if(e.u)a.push("text-decoration: underline;");if(e.uval)a.push("text-underline-style:"+e.uval+";");if(e.sz)a.push("font-size:"+e.sz+"pt;");if(e.outline)a.push("text-effect: outline;");if(e.shadow)a.push("text-shadow: auto;");r.push('<span style="'+a.join("")+'">');if(e.b){r.push("<b>");t.push("</b>")}if(e.i){r.push("<i>");t.push("</i>")}if(e.strike){r.push("<s>");t.push("</s>")}var n=e.valign||"";if(n=="superscript"||n=="super")n="sup";else if(n=="subscript")n="sub";if(n!=""){r.push("<"+n+">");t.push("</"+n+">")}t.push("</span>");return e}function t(t){var a=[[],t.v,[]];if(!t.v)return"";if(t.s)r(t.s,a[0],a[2]);return a[0].join("")+a[1].replace(e,"<br/>")+a[2].join("")}return function a(e){return e.map(t).join("")}}();var ro=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,to=/<(?:\w+:)?r\b[^>]*>/;var ao=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g;function no(e,r){var t=r?r.cellHTML:true;var a={};if(!e)return{t:""};if(e.match(/^\s*<(?:\w+:)?t[^>]*>/)){a.t=it(kt(e.slice(e.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||""),true);a.r=kt(e);if(t)a.h=ht(a.t)}else if(e.match(to)){a.r=kt(e);a.t=it(kt((e.replace(ao,"").match(ro)||[]).join("").replace(qr,"")),true);if(t)a.h=eo(Ql(a.r))}return a}var io=/<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/;var so=/<(?:\w+:)?(?:si|sstItem)>/g;var fo=/<\/(?:\w+:)?(?:si|sstItem)>/;function lo(e,r){var t=[],a="";if(!e)return t;var n=e.match(io);if(n){a=n[2].replace(so,"").split(fo);for(var i=0;i!=a.length;++i){var s=no(a[i].trim(),r);if(s!=null)t[t.length]=s}n=rt(n[1]);t.Count=n.count;t.Unique=n.uniqueCount}return t}var oo=/^\s|\s$|[\t\n\r]/;function co(e,r){if(!r.bookSST)return"";var t=[Kr];t[t.length]=It("sst",null,{xmlns:Mt[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="<si>";if(n.r)i+=n.r;else{i+="<t";if(!n.t)n.t="";if(typeof n.t!=="string")n.t=String(n.t);if(n.t.match(oo))i+=' xml:space="preserve"';i+=">"+lt(n.t)+"</t>"}i+="</si>";t[t.length]=i}if(t.length>2){t[t.length]="</sst>";t[1]=t[1].replace("/>",">")}return t.join("")}function ho(e){return[e._R(4),e._R(4)]}function uo(e,r){var t=[];var a=false;Ea(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.T){}if(!a||r.WTF)throw new Error("Unexpected record 0x"+s.toString(16));}});return t}function vo(e,r){if(!r)r=ya(8);r._W(4,e.Count);r._W(4,e.Unique);return r}var po=fn;function mo(e){var r=Ca();_a(r,159,vo(e));for(var t=0;t<e.length;++t)_a(r,19,po(e[t]));_a(r,160);return r.end()}function go(e){if(typeof a!=="undefined")return a.utils.encode(t,e);var r=[],n=e.split("");for(var i=0;i<n.length;++i)r[i]=n[i].charCodeAt(0);return r}function bo(e,r){var t={};t.Major=e._R(2);t.Minor=e._R(2);if(r>=4)e.l+=r-4;return t}function wo(e){var r={};r.id=e._R(0,"lpp4");r.R=bo(e,4);r.U=bo(e,4);r.W=bo(e,4);return r}function ko(e){var r=e._R(4);var t=e.l+r-4;var a={};var n=e._R(4);var i=[];while(n-- >0)i.push({t:e._R(4),v:e._R(0,"lpp4")});a.name=e._R(0,"lpp4");a.comps=i;if(e.l!=t)throw new Error("Bad DataSpaceMapEntry: "+e.l+" != "+t);return a}function To(e){var r=[];e.l+=4;var t=e._R(4);while(t-- >0)r.push(ko(e));return r}function Ao(e){var r=[];e.l+=4;var t=e._R(4);while(t-- >0)r.push(e._R(0,"lpp4"));return r}function yo(e){var r={};e._R(4);e.l+=4;r.id=e._R(0,"lpp4");r.name=e._R(0,"lpp4");r.R=bo(e,4);r.U=bo(e,4);r.W=bo(e,4);return r}function Eo(e){var r=yo(e);r.ename=e._R(0,"8lpp4");r.blksz=e._R(4);r.cmode=e._R(4);if(e._R(4)!=4)throw new Error("Bad !Primary record");return r}function Co(e,r){var t=e.l+r;var a={};a.Flags=e._R(4)&63;e.l+=4;a.AlgID=e._R(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._R(4);a.KeySize=e._R(4);a.ProviderType=e._R(4);e.l+=8;a.CSPName=e._R(t-e.l>>1,"utf16le");e.l=t;return a}function _o(e,r){var t={},a=e.l+r;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;e._R(4);t.VerifierHash=e.slice(e.l,a);e.l=a;return t}function So(e){var r=bo(e);switch(r.Minor){case 2:return[r.Minor,xo(e,r)];case 3:return[r.Minor,Oo(e,r)];case 4:return[r.Minor,Ro(e,r)];}throw new Error("ECMA-376 Encrypted file unrecognized Version: "+r.Minor)}function xo(e){var r=e._R(4);if((r&63)!=36)throw new Error("EncryptionInfo mismatch");var t=e._R(4);var a=Co(e,t);var n=_o(e,e.length-e.l);return{t:"Std",h:a,v:n}}function Oo(){throw new Error("File is password-protected: ECMA-376 Extensible")}function Ro(e){var r=["saltSize","blockSize","keyBits","hashSize","cipherAlgorithm","cipherChaining","hashAlgorithm","saltValue"];e.l+=4;var t=e._R(e.length-e.l,"utf8");var a={};t.replace(qr,function n(e){var t=rt(e);switch(tt(t[0])){case"<?xml":break;case"<encryption":;case"</encryption>":break;case"<keyData":r.forEach(function(e){a[e]=t[e]});break;case"<dataIntegrity":a.encryptedHmacKey=t.encryptedHmacKey;a.encryptedHmacValue=t.encryptedHmacValue;break;case"<keyEncryptors>":;case"<keyEncryptors":a.encs=[];break;case"</keyEncryptors>":break;case"<keyEncryptor":a.uri=t.uri;break;case"</keyEncryptor>":break;case"<encryptedKey":a.encs.push(t);break;default:throw t[0];}});return a}function Io(e,r){var t={};var a=t.EncryptionVersionInfo=bo(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._R(4);r-=4;var n=e._R(4);r-=4;t.EncryptionHeader=Co(e,n);r-=n;t.EncryptionVerifier=_o(e,r);return t}function No(e){var r={};var t=r.EncryptionVersionInfo=bo(e,4);if(t.Major!=1||t.Minor!=1)throw"unrecognized version code "+t.Major+" : "+t.Minor;r.Salt=e._R(16);r.EncryptedVerifier=e._R(16);r.EncryptedVerifierHash=e._R(16);return r}function Fo(e){var r=0,t;var a=go(e);var n=a.length+1,i,s;var f,l,o;t=x(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;l=r<<1&32767;o=f|l;r=o^s}return r^52811}var Do=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=go(r);var a=i(t);var s=t.length;var f=x(16);for(var l=0;l!=16;++l)f[l]=0;var o,c,h;if((s&1)===1){o=a>>8;f[s]=n(e[0],o);--s;o=a&255;c=t[t.length-1];f[s]=n(c,o)}while(s>0){--s;o=a>>8;f[s]=n(t[s],o);--s;o=a&255;f[s]=n(t[s],o)}s=15;h=15-t.length;while(h>0){o=a>>8;f[s]=n(e[h],o);--s;--h;o=a&255;f[s]=n(t[s],o);--s;--h}return f}}();var Po=function(e,r,t,a,n){if(!n)n=r;if(!a)a=Do(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 Lo=function(e){var r=0,t=Do(e);return function(e){var a=Po("",e,r,t);r=a[1];return a[0]}};function Mo(e,r,t,a){var n={key:ds(e),verificationBytes:ds(e)};if(t.password)n.verifier=Fo(t.password);a.valid=n.verificationBytes===n.verifier;if(a.valid)a.insitu=Lo(t.password);return n}function Uo(e,r,t){var a=t||{};a.Info=e._R(2);e.l-=2;if(a.Info===1)a.Data=No(e,r);else a.Data=Io(e,r);return a}function Bo(e,r,t){var a={Type:t.biff>=8?e._R(2):0};if(a.Type)Uo(e,r-2,a);else Mo(e,t.biff>=8?r:r-2,t,a);return a}function Wo(e,r){switch(r.type){case"base64":return zo(E(e),r);case"binary":return zo(e,r);case"buffer":return zo(C&&Buffer.isBuffer(e)?e.toString("binary"):N(e),r);case"array":return zo(kr(e),r);}throw new Error("Unrecognized type "+r.type)}function zo(e,r){var t=r||{};var a={};var n=t.dense;if(n)a["!data"]=[];var i=e.match(/\\trowd[\s\S]*?\\row\b/g);if(!i)throw new Error("RTF missing table");var s={s:{c:0,r:0},e:{c:0,r:i.length-1}};var f=[];i.forEach(function(e,r){if(n)f=a["!data"][r]=[];var i=/\\[\w\-]+\b/g;var l=0;var o;var c=-1;var h=[];while((o=i.exec(e))!=null){var u=e.slice(l,i.lastIndex-o[0].length);if(u.charCodeAt(0)==32)u=u.slice(1);if(u.length)h.push(u);switch(o[0]){case"\\cell":++c;if(h.length){var d={v:h.join(""),t:"s"};if(d.v=="TRUE"||d.v=="FALSE"){d.v=d.v=="TRUE";d.t="b"}else if(!isNaN(yr(d.v))){d.t="n";if(t.cellText!==false)d.w=d.v;d.v=yr(d.v)}if(n)f[c]=d;else a[za({r:r,c:c})]=d}h=[];break;case"\\par":h.push("\n");break;}l=i.lastIndex}if(c>s.e.c)s.e.c=c});a["!ref"]=Va(s);return a}function Ho(e,r){var t=Ya(Wo(e,r),r);t.bookType="rtf";return t}function Vo(e,r){var t=["{\\rtf1\\ansi"];if(!e["!ref"])return t[0]+"}";var a=Ga(e["!ref"]),n;var i=e["!data"]!=null,s=[];for(var f=a.s.r;f<=a.e.r;++f){t.push("\\trowd\\trautofit1");for(var l=a.s.c;l<=a.e.c;++l)t.push("\\cellx"+(l+1));t.push("\\pard\\intbl");if(i)s=e["!data"][f]||[];for(l=a.s.c;l<=a.e.c;++l){var o=za({r:f,c:l});n=i?s[l]:e[o];if(!n||n.v==null&&(!n.f||n.F)){t.push(" \\cell");continue}t.push(" "+(n.w||(Ka(n),n.w)||"").replace(/[\r\n]/g,"\\par "));t.push("\\cell")}t.push("\\pard\\intbl\\row")}return t.join("")+"}"}function Xo(e){var r=e.slice(e[0]==="#"?1:0).slice(0,6);return[parseInt(r.slice(0,2),16),parseInt(r.slice(2,4),16),parseInt(r.slice(4,6),16)]}function $o(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().slice(1)}function Go(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,l=0,o=n+i;l=s/(o>1?2-o:o);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,l,o/2]}function jo(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 l;if(t!==0)switch(f|0){case 0:;case 6:l=n*f;s[0]+=n;s[1]+=l;break;case 1:l=n*(2-f);s[0]+=l;s[1]+=n;break;case 2:l=n*(f-2);s[1]+=n;s[2]+=l;break;case 3:l=n*(4-f);s[1]+=l;s[2]+=n;break;case 4:l=n*(f-4);s[2]+=n;s[0]+=l;break;case 5:l=n*(6-f);s[2]+=l;s[0]+=n;break;}for(var o=0;o!=3;++o)s[o]=Math.round(s[o]*255);return s}function Ko(e,r){if(r===0)return e;var t=Go(Xo(e));if(r<0)t[2]=t[2]*(1+r);else t[2]=1-(1-t[2])*(1-r);return $o(jo(t))}var Yo=6,Zo=15,Jo=1,qo=Yo;function Qo(e){return Math.floor((e+Math.round(128/qo)/256)*qo)}function ec(e){return Math.floor((e-5)/qo*100+.5)/100}function rc(e){return Math.round((e*qo+5)/qo*256)/256}function tc(e){return rc(ec(Qo(e)))}function ac(e){var r=Math.abs(e-tc(e)),t=qo;if(r>.005)for(qo=Jo;qo<Zo;++qo)if(Math.abs(e-tc(e))<=r){r=Math.abs(e-tc(e));t=qo}qo=t}function nc(e){if(e.width){e.wpx=Qo(e.width);e.wch=ec(e.wpx);e.MDW=qo}else if(e.wpx){e.wch=ec(e.wpx);e.width=rc(e.wch);e.MDW=qo}else if(typeof e.wch=="number"){e.width=rc(e.wch);e.wpx=Qo(e.width);e.MDW=qo}if(e.customWidth)delete e.customWidth}var ic=96,sc=ic;function fc(e){return e*96/sc}function lc(e){return e*sc/96}var oc={None:"none",Solid:"solid",Gray50:"mediumGray",Gray75:"darkGray",Gray25:"lightGray",HorzStripe:"darkHorizontal",VertStripe:"darkVertical",ReverseDiagStripe:"darkDown",DiagStripe:"darkUp",DiagCross:"darkGrid",ThickDiagCross:"darkTrellis",ThinHorzStripe:"lightHorizontal",ThinVertStripe:"lightVertical",ThinReverseDiagStripe:"lightDown",ThinHorzCross:"lightGrid"};function cc(e,r,t,a){r.Borders=[];var n={};var i=false;(e[0].match(qr)||[]).forEach(function(e){var t=rt(e);switch(tt(t[0])){case"<borders":;case"<borders>":;case"</borders>":break;case"<border":;case"<border>":;case"<border/>":n={};if(t.diagonalUp)n.diagonalUp=pt(t.diagonalUp);if(t.diagonalDown)n.diagonalDown=pt(t.diagonalDown);r.Borders.push(n);break;case"</border>":break;case"<left/>":break;case"<left":;case"<left>":break;case"</left>":break;case"<right/>":break;case"<right":;case"<right>":break;case"</right>":break;case"<top/>":break;case"<top":;case"<top>":break;case"</top>":break;case"<bottom/>":break;case"<bottom":;case"<bottom>":break;case"</bottom>":break;case"<diagonal":;case"<diagonal>":;case"<diagonal/>":break;case"</diagonal>":break;case"<horizontal":;case"<horizontal>":;case"<horizontal/>":break;case"</horizontal>":break;case"<vertical":;case"<vertical>":;case"<vertical/>":break;case"</vertical>":break;case"<start":;case"<start>":;case"<start/>":break;case"</start>":break;case"<end":;case"<end>":;case"<end/>":break;case"</end>":break;case"<color":;case"<color>":break;case"<color/>":;case"</color>":break;case"<extLst":;case"<extLst>":;case"</extLst>":break;case"<ext":i=true;break;case"</ext>":i=false;break;default:if(a&&a.WTF){if(!i)throw new Error("unrecognized "+t[0]+" in borders")};}})}function hc(e,r,t,a){r.Fills=[];var n={};var i=false;(e[0].match(qr)||[]).forEach(function(e){var t=rt(e);switch(tt(t[0])){case"<fills":;case"<fills>":;case"</fills>":break;case"<fill>":;case"<fill":;case"<fill/>":n={};r.Fills.push(n);break;case"</fill>":break;case"<gradientFill>":break;case"<gradientFill":;case"</gradientFill>":r.Fills.push(n);n={};break;case"<patternFill":;case"<patternFill>":if(t.patternType)n.patternType=t.patternType;break;case"<patternFill/>":;case"</patternFill>":break;case"<bgColor":if(!n.bgColor)n.bgColor={};if(t.indexed)n.bgColor.indexed=parseInt(t.indexed,10);if(t.theme)n.bgColor.theme=parseInt(t.theme,10);if(t.tint)n.bgColor.tint=parseFloat(t.tint);if(t.rgb)n.bgColor.rgb=t.rgb.slice(-6);break;case"<bgColor/>":;case"</bgColor>":break;case"<fgColor":if(!n.fgColor)n.fgColor={};if(t.theme)n.fgColor.theme=parseInt(t.theme,10);if(t.tint)n.fgColor.tint=parseFloat(t.tint);if(t.rgb!=null)n.fgColor.rgb=t.rgb.slice(-6);break;case"<fgColor/>":;case"</fgColor>":break;case"<stop":;case"<stop/>":break;case"</stop>":break;case"<color":;case"<color/>":break;case"</color>":break;case"<extLst":;case"<extLst>":;case"</extLst>":break;case"<ext":i=true;break;case"</ext>":i=false;break;default:if(a&&a.WTF){if(!i)throw new Error("unrecognized "+t[0]+" in fills")};}})}function uc(e,r,t,a){r.Fonts=[];var n={};var s=false;(e[0].match(qr)||[]).forEach(function(e){var f=rt(e);switch(tt(f[0])){case"<fonts":;case"<fonts>":;case"</fonts>":break;case"<font":;case"<font>":break;case"</font>":;case"<font/>":r.Fonts.push(n);n={};break;case"<name":if(f.val)n.name=kt(f.val);break;case"<name/>":;case"</name>":break;case"<b":n.bold=f.val?pt(f.val):1;break;case"<b/>":n.bold=1;break;case"<i":n.italic=f.val?pt(f.val):1;break;case"<i/>":n.italic=1;break;case"<u":switch(f.val){case"none":n.underline=0;break;case"single":n.underline=1;break;case"double":n.underline=2;break;case"singleAccounting":n.underline=33;break;case"doubleAccounting":n.underline=34;break;}break;case"<u/>":n.underline=1;break;case"<strike":n.strike=f.val?pt(f.val):1;break;case"<strike/>":n.strike=1;break;case"<outline":n.outline=f.val?pt(f.val):1;break;case"<outline/>":n.outline=1; +break;case"<shadow":n.shadow=f.val?pt(f.val):1;break;case"<shadow/>":n.shadow=1;break;case"<condense":n.condense=f.val?pt(f.val):1;break;case"<condense/>":n.condense=1;break;case"<extend":n.extend=f.val?pt(f.val):1;break;case"<extend/>":n.extend=1;break;case"<sz":if(f.val)n.sz=+f.val;break;case"<sz/>":;case"</sz>":break;case"<vertAlign":if(f.val)n.vertAlign=f.val;break;case"<vertAlign/>":;case"</vertAlign>":break;case"<family":if(f.val)n.family=parseInt(f.val,10);break;case"<family/>":;case"</family>":break;case"<scheme":if(f.val)n.scheme=f.val;break;case"<scheme/>":;case"</scheme>":break;case"<charset":if(f.val=="1")break;f.codepage=i[parseInt(f.val,10)];break;case"<color":if(!n.color)n.color={};if(f.auto)n.color.auto=pt(f.auto);if(f.rgb)n.color.rgb=f.rgb.slice(-6);else if(f.indexed){n.color.index=parseInt(f.indexed,10);var l=ri[n.color.index];if(n.color.index==81)l=ri[1];if(!l)l=ri[1];n.color.rgb=l[0].toString(16)+l[1].toString(16)+l[2].toString(16)}else if(f.theme){n.color.theme=parseInt(f.theme,10);if(f.tint)n.color.tint=parseFloat(f.tint);if(f.theme&&t.themeElements&&t.themeElements.clrScheme){n.color.rgb=Ko(t.themeElements.clrScheme[n.color.theme].rgb,n.color.tint||0)}}break;case"<color/>":;case"</color>":break;case"<AlternateContent":s=true;break;case"</AlternateContent>":s=false;break;case"<extLst":;case"<extLst>":;case"</extLst>":break;case"<ext":s=true;break;case"</ext>":s=false;break;default:if(a&&a.WTF){if(!s)throw new Error("unrecognized "+f[0]+" in fonts")};}})}function dc(e,r,t){r.NumberFmt=[];var a=ir(q);for(var n=0;n<a.length;++n)r.NumberFmt[a[n]]=q[a[n]];var i=e[0].match(qr);if(!i)return;for(n=0;n<i.length;++n){var s=rt(i[n]);switch(tt(s[0])){case"<numFmts":;case"</numFmts>":;case"<numFmts/>":;case"<numFmts>":break;case"<numFmt":{var f=it(kt(s.formatCode)),l=parseInt(s.numFmtId,10);r.NumberFmt[l]=f;if(l>0){if(l>392){for(l=392;l>60;--l)if(r.NumberFmt[l]==null)break;r.NumberFmt[l]=f}Je(f,l)}}break;case"</numFmt>":break;default:if(t.WTF)throw new Error("unrecognized "+s[0]+" in numFmts");}}}function vc(e){var r=["<numFmts>"];[[5,8],[23,26],[41,44],[50,392]].forEach(function(t){for(var a=t[0];a<=t[1];++a)if(e[a]!=null)r[r.length]=It("numFmt",null,{numFmtId:a,formatCode:lt(e[a])})});if(r.length===1)return"";r[r.length]="</numFmts>";r[0]=It("numFmts",null,{count:r.length-2}).replace("/>",">");return r.join("")}var pc=["numFmtId","fillId","fontId","borderId","xfId"];var mc=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"];function gc(e,r,t){r.CellXf=[];var a;var n=false;(e[0].match(qr)||[]).forEach(function(e){var i=rt(e),s=0;switch(tt(i[0])){case"<cellXfs":;case"<cellXfs>":;case"<cellXfs/>":;case"</cellXfs>":break;case"<xf":;case"<xf/>":;case"<xf>":a=i;delete a[0];for(s=0;s<pc.length;++s)if(a[pc[s]])a[pc[s]]=parseInt(a[pc[s]],10);for(s=0;s<mc.length;++s)if(a[mc[s]])a[mc[s]]=pt(a[mc[s]]);if(r.NumberFmt&&a.numFmtId>392){for(s=392;s>60;--s)if(r.NumberFmt[a.numFmtId]==r.NumberFmt[s]){a.numFmtId=s;break}}r.CellXf.push(a);break;case"</xf>":break;case"<alignment":;case"<alignment/>":;case"<alignment>":var f={};if(i.vertical)f.vertical=i.vertical;if(i.horizontal)f.horizontal=i.horizontal;if(i.textRotation!=null)f.textRotation=i.textRotation;if(i.indent)f.indent=i.indent;if(i.wrapText)f.wrapText=pt(i.wrapText);a.alignment=f;break;case"</alignment>":break;case"<protection":;case"<protection>":break;case"</protection>":;case"<protection/>":break;case"<AlternateContent":;case"<AlternateContent>":n=true;break;case"</AlternateContent>":n=false;break;case"<extLst":;case"<extLst>":;case"</extLst>":break;case"<ext":n=true;break;case"</ext>":n=false;break;default:if(t&&t.WTF){if(!n)throw new Error("unrecognized "+i[0]+" in cellXfs")};}})}function bc(e){var r=[];r[r.length]=It("cellXfs",null);e.forEach(function(e){r[r.length]=It("xf",null,e)});r[r.length]="</cellXfs>";if(r.length===2)return"";r[0]=It("cellXfs",null,{count:r.length-2}).replace("/>",">");return r.join("")}var wc=function CT(){var e=/<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/;var r=/<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/;var t=/<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/;var a=/<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/;var n=/<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/;return function i(s,f,l){var o={};if(!s)return o;s=s.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"");var c;if(c=s.match(e))dc(c,o,l);if(c=s.match(a))uc(c,o,f,l);if(c=s.match(t))hc(c,o,f,l);if(c=s.match(n))cc(c,o,f,l);if(c=s.match(r))gc(c,o,l);return o}}();function kc(e,r){var t=[Kr,It("styleSheet",null,{xmlns:Mt[0],"xmlns:vt":Lt.vt})],a;if(e.SSF&&(a=vc(e.SSF))!=null)t[t.length]=a;t[t.length]='<fonts count="1"><font><sz val="12"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font></fonts>';t[t.length]='<fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills>';t[t.length]='<borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders>';t[t.length]='<cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs>';if(a=bc(r.cellXfs))t[t.length]=a;t[t.length]='<cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0"/></cellStyles>';t[t.length]='<dxfs count="0"/>';t[t.length]='<tableStyles count="0" defaultTableStyle="TableStyleMedium9" defaultPivotStyle="PivotStyleMedium4"/>';if(t.length>2){t[t.length]="</styleSheet>";t[1]=t[1].replace("/>",">")}return t.join("")}function Tc(e,r){var t=e._R(2);var a=rn(e,r-2);return[t,a]}function Ac(e,r,t){if(!t)t=ya(6+4*r.length);t._W(2,e);tn(r,t);var a=t.length>t.l?t.slice(0,t.l):t;if(t.l==null)t.l=t.length;return a}function yc(e,r,t){var a={};a.sz=e._R(2)/20;var n=In(e,2,t);if(n.fItalic)a.italic=1;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;var i=e._R(2);if(i===700)a.bold=1;switch(e._R(2)){case 1:a.vertAlign="superscript";break;case 2:a.vertAlign="subscript";break;}var s=e._R(1);if(s!=0)a.underline=s;var f=e._R(1);if(f>0)a.family=f;var l=e._R(1);if(l>0)a.charset=l;e.l++;a.color=On(e,8);switch(e._R(1)){case 1:a.scheme="major";break;case 2:a.scheme="minor";break;}a.name=rn(e,r-21);return a}function Ec(e,r){if(!r)r=ya(25+4*32);r._W(2,e.sz*20);Nn(e,r);r._W(2,e.bold?700:400);var t=0;if(e.vertAlign=="superscript")t=1;else if(e.vertAlign=="subscript")t=2;r._W(2,t);r._W(1,e.underline||0);r._W(1,e.family||0);r._W(1,e.charset||0);r._W(1,0);Rn(e.color,r);var a=0;if(e.scheme=="major")a=1;if(e.scheme=="minor")a=2;r._W(1,a);tn(e.name,r);return r.length>r.l?r.slice(0,r.l):r}var Cc=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];var _c;var Sc=Aa;function xc(e,r){if(!r)r=ya(4*3+8*7+16*1);if(!_c)_c=fr(Cc);var t=_c[e.patternType];if(t==null)t=40;r._W(4,t);var a=0;if(t!=40){Rn({auto:1},r);Rn({auto:1},r);for(;a<12;++a)r._W(4,0)}else{for(;a<4;++a)r._W(4,0);for(;a<12;++a)r._W(4,0)}return r.length>r.l?r.slice(0,r.l):r}function Oc(e,r){var t=e.l+r;var a=e._R(2);var n=e._R(2);e.l=t;return{ixfe:a,numFmtId:n}}function Rc(e,r,t){if(!t)t=ya(16);t._W(2,r||0);t._W(2,e.numFmtId||0);t._W(2,0);t._W(2,0);t._W(2,0);t._W(1,0);t._W(1,0);var a=0;t._W(1,a);t._W(1,0);t._W(1,0);t._W(1,0);return t}function Ic(e,r){if(!r)r=ya(10);r._W(1,0);r._W(1,0);r._W(4,0);r._W(4,0);return r}var Nc=Aa;function Fc(e,r){if(!r)r=ya(51);r._W(1,0);Ic(null,r);Ic(null,r);Ic(null,r);Ic(null,r);Ic(null,r);return r.length>r.l?r.slice(0,r.l):r}function Dc(e,r){if(!r)r=ya(12+4*10);r._W(4,e.xfId);r._W(2,1);r._W(1,+e.builtinId);r._W(1,0);gn(e.name||"",r);return r.length>r.l?r.slice(0,r.l):r}function Pc(e,r,t){var a=ya(4+256*2*4);a._W(4,e);gn(r,a);gn(t,a);return a.length>a.l?a.slice(0,a.l):a}function Lc(e,r,t){var a={};a.NumberFmt=[];for(var n in q)a.NumberFmt[n]=q[n];a.CellXf=[];a.Fonts=[];var i=[];var s=false;Ea(e,function f(e,n,l){switch(l){case 44:a.NumberFmt[e[0]]=e[1];Je(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=Ko(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]==617){a.CellXf.push(e)}break;case 48:;case 507:;case 572:;case 475:break;case 1171:;case 2102:;case 1130:;case 512:;case 2095:;case 3072:break;case 35:s=true;break;case 36:s=false;break;case 37:i.push(l);s=true;break;case 38:i.pop();s=false;break;default:if(n.T>0)i.push(l);else if(n.T<0)i.pop();else if(!s||t.WTF&&i[i.length-1]!=37)throw new Error("Unexpected record 0x"+l.toString(16));}});return a}function Mc(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;_a(e,615,en(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)_a(e,44,Ac(a,r[a]))});_a(e,616)}function Uc(e){var r=1;if(r==0)return;_a(e,611,en(r));_a(e,43,Ec({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}));_a(e,612)}function Bc(e){var r=2;if(r==0)return;_a(e,603,en(r));_a(e,45,xc({patternType:"none"}));_a(e,45,xc({patternType:"gray125"}));_a(e,604)}function Wc(e){var r=1;if(r==0)return;_a(e,613,en(r));_a(e,46,Fc({}));_a(e,614)}function zc(e){var r=1;_a(e,626,en(r));_a(e,47,Rc({numFmtId:0,fontId:0,fillId:0,borderId:0},65535));_a(e,627)}function Hc(e,r){_a(e,617,en(r.length));r.forEach(function(r){_a(e,47,Rc(r,0))});_a(e,618)}function Vc(e){var r=1;_a(e,619,en(r));_a(e,48,Dc({xfId:0,builtinId:0,name:"Normal"}));_a(e,620)}function Xc(e){var r=0;_a(e,505,en(r));_a(e,506)}function $c(e){var r=0;_a(e,508,Pc(r,"TableStyleMedium9","PivotStyleMedium4"));_a(e,509)}function Gc(){return}function jc(e,r){var t=Ca();_a(t,278);Mc(t,e.SSF);Uc(t,e);Bc(t,e);Wc(t,e);zc(t,e);Hc(t,r.cellXfs);Vc(t,e);Xc(t,e);$c(t,e);Gc(t,e);_a(t,279);return t.end()}var Kc=["</a:lt1>","</a:dk1>","</a:lt2>","</a:dk2>","</a:accent1>","</a:accent2>","</a:accent3>","</a:accent4>","</a:accent5>","</a:accent6>","</a:hlink>","</a:folHlink>"];function Yc(e,r,t){r.themeElements.clrScheme=[];var a={};(e[0].match(qr)||[]).forEach(function(e){var n=rt(e);switch(n[0]){case"<a:clrScheme":;case"</a:clrScheme>":break;case"<a:srgbClr":a.rgb=n.val;break;case"<a:sysClr":a.rgb=n.lastClr;break;case"<a:dk1>":;case"</a:dk1>":;case"<a:lt1>":;case"</a:lt1>":;case"<a:dk2>":;case"</a:dk2>":;case"<a:lt2>":;case"</a:lt2>":;case"<a:accent1>":;case"</a:accent1>":;case"<a:accent2>":;case"</a:accent2>":;case"<a:accent3>":;case"</a:accent3>":;case"<a:accent4>":;case"</a:accent4>":;case"<a:accent5>":;case"</a:accent5>":;case"<a:accent6>":;case"</a:accent6>":;case"<a:hlink>":;case"</a:hlink>":;case"<a:folHlink>":;case"</a:folHlink>":if(n[0].charAt(1)==="/"){r.themeElements.clrScheme[Kc.indexOf(n[0])]=a;a={}}else{a.name=n[0].slice(3,n[0].length-1)}break;default:if(t&&t.WTF)throw new Error("Unrecognized "+n[0]+" in clrScheme");}})}function Zc(){}function Jc(){}var qc=/<a:clrScheme([^>]*)>[\s\S]*<\/a:clrScheme>/;var Qc=/<a:fontScheme([^>]*)>[\s\S]*<\/a:fontScheme>/;var eh=/<a:fmtScheme([^>]*)>[\s\S]*<\/a:fmtScheme>/;function rh(e,r,t){r.themeElements={};var a;[["clrScheme",qc,Yc],["fontScheme",Qc,Zc],["fmtScheme",eh,Jc]].forEach(function(n){if(!(a=e.match(n[1])))throw new Error(n[0]+" not found in themeElements");n[2](a,r,t)})}var th=/<a:themeElements([^>]*)>[\s\S]*<\/a:themeElements>/;function ah(e,r){if(!e||e.length===0)e=nh();var t;var a={};if(!(t=e.match(th)))throw new Error("themeElements not found in theme");rh(t[0],a,r);a.raw=e;return a}function nh(e,r){if(r&&r.themeXLSX)return r.themeXLSX;if(e&&typeof e.raw=="string")return e.raw;var t=[Kr];t[t.length]='<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">';t[t.length]="<a:themeElements>";t[t.length]='<a:clrScheme name="Office">';t[t.length]='<a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1>';t[t.length]='<a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1>';t[t.length]='<a:dk2><a:srgbClr val="1F497D"/></a:dk2>';t[t.length]='<a:lt2><a:srgbClr val="EEECE1"/></a:lt2>';t[t.length]='<a:accent1><a:srgbClr val="4F81BD"/></a:accent1>';t[t.length]='<a:accent2><a:srgbClr val="C0504D"/></a:accent2>';t[t.length]='<a:accent3><a:srgbClr val="9BBB59"/></a:accent3>';t[t.length]='<a:accent4><a:srgbClr val="8064A2"/></a:accent4>';t[t.length]='<a:accent5><a:srgbClr val="4BACC6"/></a:accent5>';t[t.length]='<a:accent6><a:srgbClr val="F79646"/></a:accent6>';t[t.length]='<a:hlink><a:srgbClr val="0000FF"/></a:hlink>';t[t.length]='<a:folHlink><a:srgbClr val="800080"/></a:folHlink>';t[t.length]="</a:clrScheme>";t[t.length]='<a:fontScheme name="Office">';t[t.length]="<a:majorFont>";t[t.length]='<a:latin typeface="Cambria"/>';t[t.length]='<a:ea typeface=""/>';t[t.length]='<a:cs typeface=""/>';t[t.length]='<a:font script="Jpan" typeface="MS Pゴシック"/>';t[t.length]='<a:font script="Hang" typeface="맑은 고딕"/>';t[t.length]='<a:font script="Hans" typeface="宋体"/>';t[t.length]='<a:font script="Hant" typeface="新細明體"/>';t[t.length]='<a:font script="Arab" typeface="Times New Roman"/>';t[t.length]='<a:font script="Hebr" typeface="Times New Roman"/>';t[t.length]='<a:font script="Thai" typeface="Tahoma"/>';t[t.length]='<a:font script="Ethi" typeface="Nyala"/>';t[t.length]='<a:font script="Beng" typeface="Vrinda"/>';t[t.length]='<a:font script="Gujr" typeface="Shruti"/>';t[t.length]='<a:font script="Khmr" typeface="MoolBoran"/>';t[t.length]='<a:font script="Knda" typeface="Tunga"/>';t[t.length]='<a:font script="Guru" typeface="Raavi"/>';t[t.length]='<a:font script="Cans" typeface="Euphemia"/>';t[t.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>';t[t.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>';t[t.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>';t[t.length]='<a:font script="Thaa" typeface="MV Boli"/>';t[t.length]='<a:font script="Deva" typeface="Mangal"/>';t[t.length]='<a:font script="Telu" typeface="Gautami"/>';t[t.length]='<a:font script="Taml" typeface="Latha"/>';t[t.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>';t[t.length]='<a:font script="Orya" typeface="Kalinga"/>';t[t.length]='<a:font script="Mlym" typeface="Kartika"/>';t[t.length]='<a:font script="Laoo" typeface="DokChampa"/>';t[t.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>';t[t.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>';t[t.length]='<a:font script="Viet" typeface="Times New Roman"/>';t[t.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>';t[t.length]='<a:font script="Geor" typeface="Sylfaen"/>';t[t.length]="</a:majorFont>";t[t.length]="<a:minorFont>";t[t.length]='<a:latin typeface="Calibri"/>';t[t.length]='<a:ea typeface=""/>';t[t.length]='<a:cs typeface=""/>';t[t.length]='<a:font script="Jpan" typeface="MS Pゴシック"/>';t[t.length]='<a:font script="Hang" typeface="맑은 고딕"/>';t[t.length]='<a:font script="Hans" typeface="宋体"/>';t[t.length]='<a:font script="Hant" typeface="新細明體"/>';t[t.length]='<a:font script="Arab" typeface="Arial"/>';t[t.length]='<a:font script="Hebr" typeface="Arial"/>';t[t.length]='<a:font script="Thai" typeface="Tahoma"/>';t[t.length]='<a:font script="Ethi" typeface="Nyala"/>';t[t.length]='<a:font script="Beng" typeface="Vrinda"/>';t[t.length]='<a:font script="Gujr" typeface="Shruti"/>';t[t.length]='<a:font script="Khmr" typeface="DaunPenh"/>';t[t.length]='<a:font script="Knda" typeface="Tunga"/>';t[t.length]='<a:font script="Guru" typeface="Raavi"/>';t[t.length]='<a:font script="Cans" typeface="Euphemia"/>';t[t.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>';t[t.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>';t[t.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>';t[t.length]='<a:font script="Thaa" typeface="MV Boli"/>';t[t.length]='<a:font script="Deva" typeface="Mangal"/>';t[t.length]='<a:font script="Telu" typeface="Gautami"/>';t[t.length]='<a:font script="Taml" typeface="Latha"/>';t[t.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>';t[t.length]='<a:font script="Orya" typeface="Kalinga"/>';t[t.length]='<a:font script="Mlym" typeface="Kartika"/>';t[t.length]='<a:font script="Laoo" typeface="DokChampa"/>';t[t.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>';t[t.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>';t[t.length]='<a:font script="Viet" typeface="Arial"/>';t[t.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>';t[t.length]='<a:font script="Geor" typeface="Sylfaen"/>';t[t.length]="</a:minorFont>";t[t.length]="</a:fontScheme>";t[t.length]='<a:fmtScheme name="Office">';t[t.length]="<a:fillStyleLst>";t[t.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>';t[t.length]='<a:gradFill rotWithShape="1">';t[t.length]="<a:gsLst>";t[t.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="50000"/><a:satMod val="300000"/></a:schemeClr></a:gs>';t[t.length]='<a:gs pos="35000"><a:schemeClr val="phClr"><a:tint val="37000"/><a:satMod val="300000"/></a:schemeClr></a:gs>';t[t.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="15000"/><a:satMod val="350000"/></a:schemeClr></a:gs>';t[t.length]="</a:gsLst>";t[t.length]='<a:lin ang="16200000" scaled="1"/>';t[t.length]="</a:gradFill>";t[t.length]='<a:gradFill rotWithShape="1">';t[t.length]="<a:gsLst>";t[t.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="100000"/><a:shade val="100000"/><a:satMod val="130000"/></a:schemeClr></a:gs>';t[t.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="50000"/><a:shade val="100000"/><a:satMod val="350000"/></a:schemeClr></a:gs>';t[t.length]="</a:gsLst>";t[t.length]='<a:lin ang="16200000" scaled="0"/>';t[t.length]="</a:gradFill>";t[t.length]="</a:fillStyleLst>";t[t.length]="<a:lnStyleLst>";t[t.length]='<a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"><a:shade val="95000"/><a:satMod val="105000"/></a:schemeClr></a:solidFill><a:prstDash val="solid"/></a:ln>';t[t.length]='<a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>';t[t.length]='<a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>';t[t.length]="</a:lnStyleLst>";t[t.length]="<a:effectStyleLst>";t[t.length]="<a:effectStyle>";t[t.length]="<a:effectLst>";t[t.length]='<a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="38000"/></a:srgbClr></a:outerShdw>';t[t.length]="</a:effectLst>";t[t.length]="</a:effectStyle>";t[t.length]="<a:effectStyle>";t[t.length]="<a:effectLst>";t[t.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>';t[t.length]="</a:effectLst>";t[t.length]="</a:effectStyle>";t[t.length]="<a:effectStyle>";t[t.length]="<a:effectLst>";t[t.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>';t[t.length]="</a:effectLst>";t[t.length]='<a:scene3d><a:camera prst="orthographicFront"><a:rot lat="0" lon="0" rev="0"/></a:camera><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="1200000"/></a:lightRig></a:scene3d>';t[t.length]='<a:sp3d><a:bevelT w="63500" h="25400"/></a:sp3d>';t[t.length]="</a:effectStyle>";t[t.length]="</a:effectStyleLst>";t[t.length]="<a:bgFillStyleLst>";t[t.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>';t[t.length]='<a:gradFill rotWithShape="1">';t[t.length]="<a:gsLst>";t[t.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="40000"/><a:satMod val="350000"/></a:schemeClr></a:gs>';t[t.length]='<a:gs pos="40000"><a:schemeClr val="phClr"><a:tint val="45000"/><a:shade val="99000"/><a:satMod val="350000"/></a:schemeClr></a:gs>';t[t.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="20000"/><a:satMod val="255000"/></a:schemeClr></a:gs>';t[t.length]="</a:gsLst>";t[t.length]='<a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000"/></a:path>';t[t.length]="</a:gradFill>";t[t.length]='<a:gradFill rotWithShape="1">';t[t.length]="<a:gsLst>";t[t.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="80000"/><a:satMod val="300000"/></a:schemeClr></a:gs>';t[t.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="30000"/><a:satMod val="200000"/></a:schemeClr></a:gs>';t[t.length]="</a:gsLst>";t[t.length]='<a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000"/></a:path>';t[t.length]="</a:gradFill>";t[t.length]="</a:bgFillStyleLst>";t[t.length]="</a:fmtScheme>";t[t.length]="</a:themeElements>";t[t.length]="<a:objectDefaults>";t[t.length]="<a:spDef>";t[t.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="1"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="3"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="2"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="lt1"/></a:fontRef></a:style>';t[t.length]="</a:spDef>";t[t.length]="<a:lnDef>";t[t.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="2"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="0"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="1"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="tx1"/></a:fontRef></a:style>';t[t.length]="</a:lnDef>";t[t.length]="</a:objectDefaults>";t[t.length]="<a:extraClrSchemeLst/>";t[t.length]="</a:theme>";return t.join("")}function ih(e,r,t){var a=e.l+r;var n=e._R(4);if(n===124226)return;if(!t.cellStyles){e.l=a;return}var i=e.slice(e.l);e.l=a;var s;try{s=Gr(i,{type:"array"})}catch(f){return}var l=zr(s,"theme/theme/theme1.xml",true);if(!l)return;return ah(l,t)}function sh(e){return e._R(4)}function fh(e){var r={};r.xclrType=e._R(2);r.nTintShade=e._R(2);switch(r.xclrType){case 0:e.l+=4;break;case 1:r.xclrValue=lh(e,4);break;case 2:r.xclrValue=Fs(e,4);break;case 3:r.xclrValue=sh(e,4);break;case 4:e.l+=4;break;}e.l+=8;return r}function lh(e,r){return Aa(e,r)}function oh(e,r){return Aa(e,r)}function ch(e){var r=e._R(2);var t=e._R(2)-4;var a=[r];switch(r){case 4:;case 5:;case 7:;case 8:;case 9:;case 10:;case 11:;case 13:a[1]=fh(e,t);break;case 6:a[1]=oh(e,t);break;case 14:;case 15:a[1]=e._R(t===1?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+r+" "+t);}return a}function hh(e,r){var t=e.l+r;e.l+=2;var a=e._R(2);e.l+=2;var n=e._R(2);var i=[];while(n-- >0)i.push(ch(e,t-e.l));return{ixfe:a,ext:i}}function uh(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 dh(e,r){return{flags:e._R(4),version:e._R(4),name:rn(e,r-8)}}function vh(e){var r=ya(12+2*e.name.length);r._W(4,e.flags);r._W(4,e.version);tn(e.name,r);return r.slice(0,r.l)}function ph(e){var r=[];var t=e._R(4);while(t-- >0)r.push([e._R(4),e._R(4)]);return r}function mh(e){var r=ya(4+8*e.length);r._W(4,e.length);for(var t=0;t<e.length;++t){r._W(4,e[t][0]);r._W(4,e[t][1])}return r}function gh(e,r){var t=ya(8+2*r.length);t._W(4,e);tn(r,t);return t.slice(0,t.l)}function bh(e){e.l+=4;return e._R(4)!=0}function wh(e,r){var t=ya(8);t._W(4,e);t._W(4,r?1:0);return t}function kh(e,r,t){var a={Types:[],Cell:[],Value:[]};var n=t||{};var i=[];var s=false;var f=2;Ea(e,function(e,r,t){switch(t){case 335:a.Types.push({name:e.name});break;case 51:e.forEach(function(e){if(f==1)a.Cell.push({type:a.Types[e[0]-1].name,index:e[1]});else if(f==0)a.Value.push({type:a.Types[e[0]-1].name,index:e[1]})});break;case 337:f=e?1:0;break;case 338:f=2;break;case 35:i.push(t);s=true;break;case 36:i.pop();s=false;break;default:if(r.T){}else if(!s||n.WTF&&i[i.length-1]!=35)throw new Error("Unexpected record 0x"+t.toString(16));}});return a}function Th(){var e=Ca();_a(e,332);_a(e,334,en(1));_a(e,335,vh({name:"XLDAPR",version:12e4,flags:3496657072}));_a(e,336);_a(e,339,gh(1,"XLDAPR"));_a(e,52);_a(e,35,en(514));_a(e,4096,en(0));_a(e,4097,vs(1));_a(e,36);_a(e,53);_a(e,340);_a(e,337,wh(1,true));_a(e,51,mh([[1,0]]));_a(e,338);_a(e,333);return e.end()}function Ah(e,r,t){var a={Types:[],Cell:[],Value:[]};if(!e)return a;var n=false;var i=2;var s;e.replace(qr,function(e){var r=rt(e);switch(tt(r[0])){case"<?xml":break;case"<metadata":;case"</metadata>":break;case"<metadataTypes":;case"</metadataTypes>":break;case"<metadataType":a.Types.push({name:r.name});break;case"</metadataType>":break;case"<futureMetadata":for(var f=0;f<a.Types.length;++f)if(a.Types[f].name==r.name)s=a.Types[f];break;case"</futureMetadata>":break;case"<bk>":break;case"</bk>":break;case"<rc":if(i==1)a.Cell.push({type:a.Types[r.t-1].name,index:+r.v});else if(i==0)a.Value.push({type:a.Types[r.t-1].name,index:+r.v});break;case"</rc>":break;case"<cellMetadata":i=1;break;case"</cellMetadata>":i=2;break;case"<valueMetadata":i=0;break;case"</valueMetadata>":i=2;break;case"<extLst":;case"<extLst>":;case"</extLst>":;case"<extLst/>":break;case"<ext":n=true;break;case"</ext>":n=false;break;case"<rvb":if(!s)break;if(!s.offsets)s.offsets=[];s.offsets.push(+r.i);break;default:if(!n&&(t==null?void 0:t.WTF))throw new Error("unrecognized "+r[0]+" in metadata");}return e});return a}function yh(){var e=[Kr];e.push('<metadata xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:xlrd="http://schemas.microsoft.com/office/spreadsheetml/2017/richdata" xmlns:xda="http://schemas.microsoft.com/office/spreadsheetml/2017/dynamicarray">\n <metadataTypes count="1">\n <metadataType name="XLDAPR" minSupportedVersion="120000" copy="1" pasteAll="1" pasteValues="1" merge="1" splitFirst="1" rowColShift="1" clearFormats="1" clearComments="1" assign="1" coerce="1" cellMeta="1"/>\n </metadataTypes>\n <futureMetadata name="XLDAPR" count="1">\n <bk>\n <extLst>\n <ext uri="{bdbb8cdc-fa1e-496e-a857-3c3f30c029c3}">\n <xda:dynamicArrayProperties fDynamic="1" fCollapsed="0"/>\n </ext>\n </extLst>\n </bk>\n </futureMetadata>\n <cellMetadata count="1">\n <bk>\n <rc t="1" v="0"/>\n </bk>\n </cellMetadata>\n</metadata>');return e.join("")}function Eh(e){var r=[];if(!e)return r;var t=1;(e.match(qr)||[]).forEach(function(e){var a=rt(e);switch(a[0]){case"<?xml":break;case"<calcChain":;case"<calcChain>":;case"</calcChain>":break;case"<c":delete a[0];if(a.i)t=a.i;else a.i=t;r.push(a);break;}});return r}function Ch(e){var r={};r.i=e._R(4);var t={};t.r=e._R(4);t.c=e._R(4);r.r=za(t);var a=e._R(1);if(a&2)r.l="1";if(a&8)r.a="1";return r}function _h(e,r,t){var a=[];var n=false;Ea(e,function i(e,r,s){switch(s){case 63:a.push(e);break;default:if(r.T){}else if(!n||t.WTF)throw new Error("Unexpected record 0x"+s.toString(16));}});return a}function Sh(){}function xh(e,r,t,a){if(!e)return e;var n=a||{};var i=false,s=false;Ea(e,function f(e,r,t){if(s)return;switch(t){case 359:;case 363:;case 364:;case 366:;case 367:;case 368:;case 369:;case 370:;case 371:;case 472:;case 577:;case 578:;case 579:;case 580:;case 581:;case 582:;case 583:;case 584:;case 585:;case 586:;case 587:break;case 35:i=true;break;case 36:i=false;break;default:if(r.T){}else if(!i||n.WTF)throw new Error("Unexpected record 0x"+t.toString(16));}},n)}function Oh(e,r){if(!e)return"??";var t=(e.match(/<c:chart [^>]*r:id="([^"]*)"/)||["",""])[1];return r["!id"][t].Target}var Rh=/<(?:\w+:)?shape(?:[^\w][^>]*)?>([\s\S]*?)<\/(?:\w+:)?shape>/g;function Ih(e,r,t){var a=0;(e.match(Rh)||[]).forEach(function(e){var n="";var i=true;var s=-1;var f=-1,l=-1;e.replace(qr,function(r,t){var a=rt(r);switch(tt(a[0])){case"<ClientData":if(a.ObjectType)n=a.ObjectType;break;case"<Visible":;case"<Visible/>":i=false;break;case"<Row":;case"<Row>":s=t+r.length;break;case"</Row>":f=+e.slice(s,t).trim();break;case"<Column":;case"<Column>":s=t+r.length;break;case"</Column>":l=+e.slice(s,t).trim();break;}return""});switch(n){case"Note":var o=$k(r,f>=0&&l>=0?za({r:f,c:l}):t[a].ref);if(o.c){o.c.hidden=i}++a;break;}})}function Nh(e,r,t){var a=[21600,21600];var n=["m0,0l0",a[1],a[0],a[1],a[0],"0xe"].join(",");var i=[It("xml",null,{"xmlns:v":Ut.v,"xmlns:o":Ut.o,"xmlns:x":Ut.x,"xmlns:mv":Ut.mv}).replace(/\/>/,">"),It("o:shapelayout",It("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"})];var s=65536*e;var f=r||[];if(f.length>0)i.push(It("v:shapetype",[It("v:stroke",null,{joinstyle:"miter"}),It("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202",coordsize:a.join(","),"o:spt":202,path:n}));f.forEach(function(e){++s;i.push(Fh(e,s))});i.push("</xml>");return i.join("")}function Fh(e,r,t){var a=Wa(e[0]);var n={color2:"#BEFF82",type:"gradient"};if(n.type=="gradient")n.angle="-180";var i=n.type=="gradient"?It("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null;var s=It("v:fill",i,n);var f={on:"t",obscured:"t"};return["<v:shape"+Rt({id:"_x0000_s"+r,type:"#_x0000_t202",style:"position:absolute; margin-left:80pt;margin-top:5pt;width:104pt;height:64pt;z-index:10"+(e[1].hidden?";visibility:hidden":""),fillcolor:"#ECFAD4",strokecolor:"#edeaa1"})+">",s,It("v:shadow",null,f),It("v:path",null,{"o:connecttype":"none"}),'<v:textbox><div style="text-align:left"></div></v:textbox>','<x:ClientData ObjectType="Note">',"<x:MoveWithCells/>","<x:SizeWithCells/>",Ot("x:Anchor",[a.c+1,0,a.r+1,0,a.c+3,20,a.r+5,20].join(",")),Ot("x:AutoFill","False"),Ot("x:Row",String(a.r)),Ot("x:Column",String(a.c)),e[1].hidden?"":"<x:Visible/>","</x:ClientData>","</v:shape>"].join("")}function Dh(e,r,t,a){var n=e["!data"]!=null;var i;r.forEach(function(r){var s=Wa(r.ref);if(s.r<0||s.c<0)return;if(n){if(!e["!data"][s.r])e["!data"][s.r]=[];i=e["!data"][s.r][s.c]}else i=e[r.ref];if(!i){i={t:"z"};if(n)e["!data"][s.r][s.c]=i;else e[r.ref]=i;var f=Ga(e["!ref"]||"BDWGO1000001:A1");if(f.s.r>s.r)f.s.r=s.r;if(f.e.r<s.r)f.e.r=s.r;if(f.s.c>s.c)f.s.c=s.c;if(f.e.c<s.c)f.e.c=s.c;var l=Va(f);e["!ref"]=l}if(!i.c)i.c=[];var o={a:r.author,t:r.t,r:r.r,T:t};if(r.h)o.h=r.h;for(var c=i.c.length-1;c>=0;--c){if(!t&&i.c[c].T)return;if(t&&!i.c[c].T)i.c.splice(c,1)}if(t&&a)for(c=0;c<a.length;++c){if(o.a==a[c].id){o.a=a[c].name||o.a;break}}i.c.push(o)})}function Ph(e,r){if(e.match(/<(?:\w+:)?comments *\/>/))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){if(e===""||e.trim()==="")return;var n=e.match(/<(?:\w+:)?comment[^>]*>/);if(!n)return;var i=rt(n[0]);var s={author:i.authorId&&t[i.authorId]||"sheetjsghost",ref:i.ref,guid:i.guid};var f=Wa(i.ref);if(r.sheetRows&&r.sheetRows<=f.r)return;var l=e.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/);var o=!!l&&!!l[1]&&no(l[1])||{r:"",t:"",h:""};s.r=o.r;if(o.r=="<t></t>")o.t=o.h="";s.t=(o.t||"").replace(/\r\n/g,"\n").replace(/\r/g,"\n");if(r.cellHTML)s.h=o.h; +a.push(s)});return a}function Lh(e){var r=[Kr,It("comments",null,{xmlns:Mt[0]})];var t=[];r.push("<authors>");e.forEach(function(e){e[1].forEach(function(e){var a=lt(e.a);if(t.indexOf(a)==-1){t.push(a);r.push("<author>"+a+"</author>")}if(e.T&&e.ID&&t.indexOf("tc="+e.ID)==-1){t.push("tc="+e.ID);r.push("<author>"+"tc="+e.ID+"</author>")}})});if(t.length==0){t.push("SheetJ5");r.push("<author>SheetJ5</author>")}r.push("</authors>");r.push("<commentList>");e.forEach(function(e){var a=0,n=[],i=0;if(e[1][0]&&e[1][0].T&&e[1][0].ID)a=t.indexOf("tc="+e[1][0].ID);e[1].forEach(function(e){if(e.a)a=t.indexOf(lt(e.a));if(e.T)++i;n.push(e.t==null?"":lt(e.t))});if(i===0){e[1].forEach(function(a){r.push('<comment ref="'+e[0]+'" authorId="'+t.indexOf(lt(a.a))+'"><text>');r.push(Ot("t",a.t==null?"":lt(a.t)));r.push("</text></comment>")})}else{if(e[1][0]&&e[1][0].T&&e[1][0].ID)a=t.indexOf("tc="+e[1][0].ID);r.push('<comment ref="'+e[0]+'" authorId="'+a+'"><text>');var s="Comment:\n "+n[0]+"\n";for(var f=1;f<n.length;++f)s+="Reply:\n "+n[f]+"\n";r.push(Ot("t",lt(s)));r.push("</text></comment>")}});r.push("</commentList>");if(r.length>2){r[r.length]="</comments>";r[1]=r[1].replace("/>",">")}return r.join("")}function Mh(e,r){var t=[];var a=false,n={},i=0;e.replace(qr,function s(f,l){var o=rt(f);switch(tt(o[0])){case"<?xml":break;case"<ThreadedComments":break;case"</ThreadedComments>":break;case"<threadedComment":n={author:o.personId,guid:o.id,ref:o.ref,T:1};break;case"</threadedComment>":if(n.t!=null)t.push(n);break;case"<text>":;case"<text":i=l+f.length;break;case"</text>":n.t=e.slice(i,l).replace(/\r\n/g,"\n").replace(/\r/g,"\n");break;case"<mentions":;case"<mentions>":a=true;break;case"</mentions>":a=false;break;case"<extLst":;case"<extLst>":;case"</extLst>":;case"<extLst/>":break;case"<ext":a=true;break;case"</ext>":a=false;break;default:if(!a&&r.WTF)throw new Error("unrecognized "+o[0]+" in threaded comments");}return f});return t}function Uh(e,r,t){var a=[Kr,It("ThreadedComments",null,{xmlns:Lt.TCMNT}).replace(/[\/]>/,">")];e.forEach(function(e){var n="";(e[1]||[]).forEach(function(i,s){if(!i.T){delete i.ID;return}if(i.a&&r.indexOf(i.a)==-1)r.push(i.a);var f={ref:e[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+t.tcid++).slice(-12)+"}"};if(s==0)n=f.id;else f.parentId=n;i.ID=f.id;if(i.a)f.personId="{54EE7950-7262-4200-6969-"+("000000000000"+r.indexOf(i.a)).slice(-12)+"}";a.push(It("threadedComment",Ot("text",i.t||""),f))})});a.push("</ThreadedComments>");return a.join("")}function Bh(e,r){var t=[];var a=false;e.replace(qr,function n(e){var n=rt(e);switch(tt(n[0])){case"<?xml":break;case"<personList":break;case"</personList>":break;case"<person":t.push({name:n.displayname,id:n.id});break;case"</person>":break;case"<extLst":;case"<extLst>":;case"</extLst>":;case"<extLst/>":break;case"<ext":a=true;break;case"</ext>":a=false;break;default:if(!a&&r.WTF)throw new Error("unrecognized "+n[0]+" in threaded comments");}return e});return t}function Wh(e){var r=[Kr,It("personList",null,{xmlns:Lt.TCMNT,"xmlns:x":Mt[0]}).replace(/[\/]>/,">")];e.forEach(function(e,t){r.push(It("person",null,{displayName:e,id:"{54EE7950-7262-4200-6969-"+("000000000000"+t).slice(-12)+"}",userId:e,providerId:"None"}))});r.push("</personList>");return r.join("")}function zh(e){var r={};r.iauthor=e._R(4);var t=Cn(e,16);r.rfx=t.s;r.ref=za(t.s);e.l+=16;return r}function Hh(e,r){if(r==null)r=ya(36);r._W(4,e[1].iauthor);_n(e[0],r);r._W(4,0);r._W(4,0);r._W(4,0);r._W(4,0);return r}var Vh=rn;function Xh(e){return tn(e.slice(0,54))}function $h(e,r){var t=[];var a=[];var n={};var i=false;Ea(e,function s(e,f,l){switch(l){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&&n.rfx&&r.sheetRows<=n.rfx.r)break;if(!n.t)n.t="";delete n.rfx;t.push(n);break;case 3072:break;case 35:i=true;break;case 36:i=false;break;case 37:break;case 38:break;default:if(f.T){}else if(!i||r.WTF)throw new Error("Unexpected record 0x"+l.toString(16));}});return t}function Gh(e){var r=Ca();var t=[];_a(r,628);_a(r,630);e.forEach(function(e){e[1].forEach(function(e){if(t.indexOf(e.a)>-1)return;t.push(e.a.slice(0,54));_a(r,632,Xh(e.a));if(e.T&&e.ID&&t.indexOf("tc="+e.ID)==-1){t.push("tc="+e.ID);_a(r,632,Xh("tc="+e.ID))}})});_a(r,631);_a(r,633);e.forEach(function(e){e[1].forEach(function(a){var n=-1;if(a.ID)n=t.indexOf("tc="+a.ID);if(n==-1&&e[1][0].T&&e[1][0].ID)n=t.indexOf("tc="+e[1][0].ID);if(n==-1)n=t.indexOf(a.a);a.iauthor=n;var i={s:Wa(e[0]),e:Wa(e[0])};_a(r,635,Hh([i,a]));if(a.t&&a.t.length>0)_a(r,637,on(a));_a(r,636);delete a.iauthor})});_a(r,634);_a(r,629);return r.end()}var jh="application/vnd.ms-office.vbaProject";function Kh(e){var r=Qe.utils.cfb_new({root:"R"});e.FullPaths.forEach(function(t,a){if(t.slice(-1)==="/"||!t.match(/_VBA_PROJECT_CUR/))return;var n=t.replace(/^[^\/]*/,"R").replace(/\/_VBA_PROJECT_CUR\u0000*/,"");Qe.utils.cfb_add(r,n,e.FileIndex[a].content)});return Qe.write(r)}function Yh(e,r){r.FullPaths.forEach(function(t,a){if(a==0)return;var n=t.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");if(n.slice(-1)!=="/")Qe.utils.cfb_add(e,n,r.FileIndex[a].content)})}var Zh=["xlsb","xlsm","xlam","biff8","xla"];function Jh(){return{"!type":"dialog"}}function qh(){return{"!type":"dialog"}}function Qh(){return{"!type":"macro"}}function eu(){return{"!type":"macro"}}var ru=function(){var e=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g;var r={r:0,c:0};function t(e,t,a,n){var i=false,s=false;if(a.length==0)s=true;else if(a.charAt(0)=="["){s=true;a=a.slice(1,-1)}if(n.length==0)i=true;else if(n.charAt(0)=="["){i=true;n=n.slice(1,-1)}var f=a.length>0?parseInt(a,10)|0:0,l=n.length>0?parseInt(n,10)|0:0;if(i)l+=r.c;else--l;if(s)f+=r.r;else--f;return t+(i?"":"$")+La(l)+(s?"":"$")+Na(f)}return function a(n,i){r=i;return n.replace(e,t)}}();var tu=/(^|[^._A-Z0-9])(\$?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])(\$?)(\d{1,7})(?![_.\(A-Za-z0-9])/g;try{tu=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g}catch(au){}var nu=function(){return function e(r,t){return r.replace(tu,function(e,r,a,n,i,s){var f=Pa(n)-(a?0:t.c);var l=Ia(s)-(i?0:t.r);var o=i=="$"?l+1:l==0?"":"["+l+"]";var c=a=="$"?f+1:f==0?"":"["+f+"]";return r+"R"+o+"C"+c})}}();function iu(e,r){return e.replace(tu,function(e,t,a,n,i,s){return t+(a=="$"?a+n:La(Pa(n)+r.c))+(i=="$"?i+s:Na(Ia(s)+r.r))})}function su(e,r,t){var a=Ha(r),n=a.s,i=Wa(t);var s={r:i.r-n.r,c:i.c-n.c};return iu(e,s)}function fu(e){if(e.length==1)return false;return true}function lu(e){return e.replace(/_xlfn\./g,"")}function ou(e){e.l+=1;return}function cu(e,r){var t=e._R(r==1?1:2);return[t&16383,t>>14&1,t>>15&1]}function hu(e,r,t){var a=2;if(t){if(t.biff>=2&&t.biff<=5)return uu(e,r,t);else if(t.biff==12)a=4}var n=e._R(a),i=e._R(a);var s=cu(e,2);var f=cu(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 uu(e){var r=cu(e,2),t=cu(e,2);var a=e._R(1);var n=e._R(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 du(e,r,t){if(t.biff<8)return uu(e,r,t);var a=e._R(t.biff==12?4:2),n=e._R(t.biff==12?4:2);var i=cu(e,2);var s=cu(e,2);return{s:{r:a,c:i[0],cRel:i[1],rRel:i[2]},e:{r:n,c:s[0],cRel:s[1],rRel:s[2]}}}function vu(e,r,t){if(t&&t.biff>=2&&t.biff<=5)return pu(e,r,t);var a=e._R(t&&t.biff==12?4:2);var n=cu(e,2);return{r:a,c:n[0],cRel:n[1],rRel:n[2]}}function pu(e){var r=cu(e,2);var t=e._R(1);return{r:r[0],c:t,cRel:r[1],rRel:r[2]}}function mu(e){var r=e._R(2);var t=e._R(2);return{r:r,c:t&255,fQuoted:!!(t&16384),cRel:t>>15,rRel:t>>15}}function gu(e,r,t){var a=t&&t.biff?t.biff:8;if(a>=2&&a<=5)return bu(e,r,t);var n=e._R(a>=12?4:2);var i=e._R(2);var s=(i&16384)>>14,f=(i&32768)>>15;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 bu(e){var r=e._R(2);var t=e._R(1);var a=(r&32768)>>15,n=(r&16384)>>14;r&=16383;if(a==1&&r>=8192)r=r-16384;if(n==1&&t>=128)t=t-256;return{r:r,c:t,cRel:n,rRel:a}}function wu(e,r,t){var a=(e[e.l++]&96)>>5;var n=hu(e,t.biff>=2&&t.biff<=5?6:8,t);return[a,n]}function ku(e,r,t){var a=(e[e.l++]&96)>>5;var n=e._R(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=hu(e,i,t);return[a,n,s]}function Tu(e,r,t){var a=(e[e.l++]&96)>>5;e.l+=t&&t.biff>8?12:t.biff<8?6:8;return[a]}function Au(e,r,t){var a=(e[e.l++]&96)>>5;var n=e._R(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 yu(e,r,t){var a=(e[e.l++]&96)>>5;var n=du(e,r-1,t);return[a,n]}function Eu(e,r,t){var a=(e[e.l++]&96)>>5;e.l+=t.biff==2?6:t.biff==12?14:7;return[a]}function Cu(e){var r=e[e.l+1]&1;var t=1;e.l+=4;return[r,t]}function _u(e,r,t){e.l+=2;var a=e._R(t&&t.biff==2?1:2);var n=[];for(var i=0;i<=a;++i)n.push(e._R(t&&t.biff==2?1:2));return n}function Su(e,r,t){var a=e[e.l+1]&255?1:0;e.l+=2;return[a,e._R(t&&t.biff==2?1:2)]}function xu(e,r,t){var a=e[e.l+1]&255?1:0;e.l+=2;return[a,e._R(t&&t.biff==2?1:2)]}function Ou(e){var r=e[e.l+1]&255?1:0;e.l+=2;return[r,e._R(2)]}function Ru(e,r,t){var a=e[e.l+1]&255?1:0;e.l+=t&&t.biff==2?3:4;return[a]}function Iu(e){var r=e._R(1),t=e._R(1);return[r,t]}function Nu(e){e._R(2);return Iu(e,2)}function Fu(e){e._R(2);return Iu(e,2)}function Du(e,r,t){var a=(e[e.l]&96)>>5;e.l+=1;var n=vu(e,0,t);return[a,n]}function Pu(e,r,t){var a=(e[e.l]&96)>>5;e.l+=1;var n=gu(e,0,t);return[a,n]}function Lu(e,r,t){var a=(e[e.l]&96)>>5;e.l+=1;var n=e._R(2);if(t&&t.biff==5)e.l+=12;var i=vu(e,0,t);return[a,n,i]}function Mu(e,r,t){var a=(e[e.l]&96)>>5;e.l+=1;var n=e._R(t&&t.biff<=3?1:2);return[hv[n],cv[n],a]}function Uu(e,r,t){var a=e[e.l++];var n=e._R(1),i=t&&t.biff<=3?[a==88?-1:0,e._R(1)]:Bu(e);return[n,(i[0]===0?cv:ov)[i[1]]]}function Bu(e){return[e[e.l+1]>>7,e._R(2)&32767]}function Wu(e,r,t){e.l+=t&&t.biff==2?3:4;return}function zu(e,r,t){e.l++;if(t&&t.biff==12)return[e._R(4,"i"),0];var a=e._R(2);var n=e._R(t&&t.biff==2?1:2);return[a,n]}function Hu(e){e.l++;return ti[e._R(1)]}function Vu(e){e.l++;return e._R(2)}function Xu(e){e.l++;return e._R(1)!==0}function $u(e){e.l++;return Sn(e,8)}function Gu(e,r,t){e.l++;return bs(e,r-1,t)}function ju(e,r){var t=[e._R(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]=hs(e,1)?"TRUE":"FALSE";if(r!=12)e.l+=7;break;case 37:;case 16:t[1]=ti[e[e.l]];e.l+=r==12?4:8;break;case 0:e.l+=8;break;case 1:t[1]=Sn(e,8);break;case 2:t[1]=ys(e,0,{biff:r>0&&r<8?2:r});break;default:throw new Error("Bad SerAr: "+t[0]);}return t}function Ku(e,r,t){var a=e._R(t.biff==12?4:2);var n=[];for(var i=0;i!=a;++i)n.push((t.biff==12?Cn:Hs)(e,8));return n}function Yu(e,r,t){var a=0,n=0;if(t.biff==12){a=e._R(4);n=e._R(4)}else{n=1+e._R(1);a=1+e._R(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]=ju(e,t.biff);return s}function Zu(e,r,t){var a=e._R(1)>>>5&3;var n=!t||t.biff>=8?4:2;var i=e._R(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 Ju(e,r,t){if(t.biff==5)return qu(e,r,t);var a=e._R(1)>>>5&3;var n=e._R(2);var i=e._R(4);return[a,n,i]}function qu(e){var r=e._R(1)>>>5&3;var t=e._R(2,"i");e.l+=8;var a=e._R(2);e.l+=12;return[r,t,a]}function Qu(e,r,t){var a=e._R(1)>>>5&3;e.l+=t&&t.biff==2?3:4;var n=e._R(t&&t.biff==2?1:2);return[a,n]}function ed(e,r,t){var a=e._R(1)>>>5&3;var n=e._R(t&&t.biff==2?1:2);return[a,n]}function rd(e,r,t){var a=e._R(1)>>>5&3;e.l+=4;if(t.biff<8)e.l--;if(t.biff==12)e.l+=2;return[a]}function td(e,r,t){var a=(e[e.l++]&96)>>5;var n=e._R(2);var i=4;if(t)switch(t.biff){case 5:i=15;break;case 12:i=6;break;}e.l+=i;return[a,n]}var ad=Aa;var nd=Aa;var id=Aa;function sd(e,r,t){e.l+=2;return[mu(e,4,t)]}function fd(e){e.l+=6;return[]}var ld=sd;var od=fd;var cd=fd;var hd=sd;function ud(e){e.l+=2;return[ds(e),e._R(2)&1]}var dd=sd;var vd=ud;var pd=fd;var md=sd;var gd=sd;var bd=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];function wd(e){e.l+=2;var r=e._R(2);var t=e._R(2);var a=e._R(4);var n=e._R(2);var i=e._R(2);var s=bd[t>>2&31];return{ixti:r,coltype:t&3,rt:s,idx:a,c:n,C:i}}function kd(e){e.l+=2;return[e._R(4)]}function Td(e,r,t){e.l+=5;e.l+=2;e.l+=t.biff==2?1:4;return["PTGSHEET"]}function Ad(e,r,t){e.l+=t.biff==2?4:5;return["PTGENDSHEET"]}function yd(e){var r=e._R(1)>>>5&3;var t=e._R(2);return[r,t]}function Ed(e){var r=e._R(1)>>>5&3;var t=e._R(2);return[r,t]}function Cd(e){e.l+=4;return[0,0]}var _d={1:{n:"PtgExp",f:zu},2:{n:"PtgTbl",f:id},3:{n:"PtgAdd",f:ou},4:{n:"PtgSub",f:ou},5:{n:"PtgMul",f:ou},6:{n:"PtgDiv",f:ou},7:{n:"PtgPower",f:ou},8:{n:"PtgConcat",f:ou},9:{n:"PtgLt",f:ou},10:{n:"PtgLe",f:ou},11:{n:"PtgEq",f:ou},12:{n:"PtgGe",f:ou},13:{n:"PtgGt",f:ou},14:{n:"PtgNe",f:ou},15:{n:"PtgIsect",f:ou},16:{n:"PtgUnion",f:ou},17:{n:"PtgRange",f:ou},18:{n:"PtgUplus",f:ou},19:{n:"PtgUminus",f:ou},20:{n:"PtgPercent",f:ou},21:{n:"PtgParen",f:ou},22:{n:"PtgMissArg",f:ou},23:{n:"PtgStr",f:Gu},26:{n:"PtgSheet",f:Td},27:{n:"PtgEndSheet",f:Ad},28:{n:"PtgErr",f:Hu},29:{n:"PtgBool",f:Xu},30:{n:"PtgInt",f:Vu},31:{n:"PtgNum",f:$u},32:{n:"PtgArray",f:Eu},33:{n:"PtgFunc",f:Mu},34:{n:"PtgFuncVar",f:Uu},35:{n:"PtgName",f:Zu},36:{n:"PtgRef",f:Du},37:{n:"PtgArea",f:wu},38:{n:"PtgMemArea",f:Qu},39:{n:"PtgMemErr",f:ad},40:{n:"PtgMemNoMem",f:nd},41:{n:"PtgMemFunc",f:ed},42:{n:"PtgRefErr",f:rd},43:{n:"PtgAreaErr",f:Tu},44:{n:"PtgRefN",f:Pu},45:{n:"PtgAreaN",f:yu},46:{n:"PtgMemAreaN",f:yd},47:{n:"PtgMemNoMemN",f:Ed},57:{n:"PtgNameX",f:Ju},58:{n:"PtgRef3d",f:Lu},59:{n:"PtgArea3d",f:ku},60:{n:"PtgRefErr3d",f:td},61:{n:"PtgAreaErr3d",f:Au},255:{}};var Sd={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,78:46,110:46,79:47,111:47,88:34,120:34,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61};var xd={1:{n:"PtgElfLel",f:ud},2:{n:"PtgElfRw",f:md},3:{n:"PtgElfCol",f:ld},6:{n:"PtgElfRwV",f:gd},7:{n:"PtgElfColV",f:hd},10:{n:"PtgElfRadical",f:dd},11:{n:"PtgElfRadicalS",f:pd},13:{n:"PtgElfColS",f:od},15:{n:"PtgElfColSV",f:cd},16:{n:"PtgElfRadicalLel",f:vd},25:{n:"PtgList",f:wd},29:{n:"PtgSxName",f:kd},255:{}};var Od={0:{n:"PtgAttrNoop",f:Cd},1:{n:"PtgAttrSemi",f:Ru},2:{n:"PtgAttrIf",f:xu},4:{n:"PtgAttrChoose",f:_u},8:{n:"PtgAttrGoto",f:Su},16:{n:"PtgAttrSum",f:Wu},32:{n:"PtgAttrBaxcel",f:Cu},33:{n:"PtgAttrBaxcel",f:Cu},64:{n:"PtgAttrSpace",f:Nu},65:{n:"PtgAttrSpaceSemi",f:Fu},128:{n:"PtgAttrIfError",f:Ou},255:{}};function Rd(e,r,t,a){if(a.biff<8)return Aa(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]=Yu(e,0,a);i.push(t[s][1]);break;case"PtgMemArea":t[s][2]=Ku(e,t[s][1],a);i.push(t[s][2]);break;case"PtgExp":if(a&&a.biff==12){t[s][1][1]=e._R(4);i.push(t[s][1])}break;case"PtgList":;case"PtgElfRadicalS":;case"PtgElfColS":;case"PtgElfColSV":throw"Unsupported "+t[s][0];default:break;}}r=n-e.l;if(r!==0)i.push(Aa(e,r));return i}function Id(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=_d[i]||_d[Sd[i]];if(i===24||i===25)n=(i===24?xd:Od)[e[e.l+1]];if(!n||!n.f){Aa(e,r)}else{s.push([n.n,n.f(e,r,t)])}}return s}function Nd(e){var r=[];for(var t=0;t<e.length;++t){var a=e[t],n=[];for(var i=0;i<a.length;++i){var s=a[i];if(s)switch(s[0]){case 2:n.push('"'+s[1].replace(/"/g,'""')+'"');break;default:n.push(s[1]);}else n.push("")}r.push(n.join(","))}return r.join(";")}var Fd={PtgAdd:"+",PtgConcat:"&",PtgDiv:"/",PtgEq:"=",PtgGe:">=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function Dd(e,r){var t=e.lastIndexOf("!"),a=r.lastIndexOf("!");if(t==-1&&a==-1)return e+":"+r;if(t>0&&a>0&&e.slice(0,t).toLowerCase()==r.slice(0,a).toLowerCase())return e+":"+r.slice(a+1);console.error("Cannot hydrate range",e,r);return e+":"+r}function Pd(e,r,t){if(!e)return"SH33TJSERR0";if(t.biff>8&&(!e.XTI||!e.XTI[r]))return e.SheetNames[r];if(!e.XTI)return"SH33TJSERR6";var a=e.XTI[r];if(t.biff<8){if(r>1e4)r-=65536;if(r<0)r=-r;return r==0?"":e.XTI[r-1]}if(!a)return"SH33TJSERR1";var n="";if(t.biff>8)switch(e[a[0]][0]){case 357:n=a[1]==-1?"#REF":e.SheetNames[a[1]];return a[1]==a[2]?n:n+":"+e.SheetNames[a[2]];case 358:if(t.SID!=null)return e.SheetNames[t.SID];return"SH33TJSSAME"+e[a[0]][0];case 355:;default:return"SH33TJSSRC"+e[a[0]][0];}switch(e[a[0]][0][0]){case 1025:n=a[1]==-1?"#REF":e.SheetNames[a[1]]||"SH33TJSERR3";return a[1]==a[2]?n:n+":"+e.SheetNames[a[2]];case 14849:return e[a[0]].slice(1).map(function(e){return e.Name}).join(";;");default:if(!e[a[0]][0][3])return"SH33TJSERR2";n=a[1]==-1?"#REF":e[a[0]][0][3][a[1]]||"SH33TJSERR4";return a[1]==a[2]?n:n+":"+e[a[0]][0][3][a[2]];}}function Ld(e,r,t){var a=Pd(e,r,t);return a=="#REF"?a:$a(a,t)}function Md(e,r,t,a,n){var i=n&&n.biff||8;var s={s:{c:0,r:0},e:{c:0,r:0}};var f=[],l,o,c,h=0,u=0,d,v="";if(!e[0]||!e[0][0])return"";var p=-1,m="";for(var g=0,b=e[0].length;g<b;++g){var w=e[0][g];switch(w[0]){case"PtgUminus":f.push("-"+f.pop());break;case"PtgUplus":f.push("+"+f.pop());break;case"PtgPercent":f.push(f.pop()+"%");break;case"PtgAdd":;case"PtgConcat":;case"PtgDiv":;case"PtgEq":;case"PtgGe":;case"PtgGt":;case"PtgLe":;case"PtgLt":;case"PtgMul":;case"PtgNe":;case"PtgPower":;case"PtgSub":l=f.pop();o=f.pop();if(p>=0){switch(e[0][p][1][0]){case 0:m=Ar(" ",e[0][p][1][1]);break;case 1:m=Ar("\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}f.push(o+Fd[w[0]]+l);break;case"PtgIsect":l=f.pop();o=f.pop();f.push(o+" "+l);break;case"PtgUnion":l=f.pop();o=f.pop();f.push(o+","+l);break;case"PtgRange":l=f.pop();o=f.pop();f.push(Dd(o,l));break;case"PtgAttrChoose":break;case"PtgAttrGoto":break;case"PtgAttrIf":break;case"PtgAttrIfError":break;case"PtgRef":c=Sa(w[1][1],s,n);f.push(Oa(c,i));break;case"PtgRefN":c=t?Sa(w[1][1],t,n):w[1][1];f.push(Oa(c,i));break;case"PtgRef3d":h=w[1][1];c=Sa(w[1][2],s,n);v=Ld(a,h,n);var k=v;f.push(v+"!"+Oa(c,i));break;case"PtgFunc":;case"PtgFuncVar":var T=w[1][0],A=w[1][1];if(!T)T=0;T&=127;var y=T==0?[]:f.slice(-T);f.length-=T;if(A==="User")A=y.shift();f.push(A+"("+y.join(",")+")");break;case"PtgBool":f.push(w[1]?"TRUE":"FALSE");break;case"PtgInt":f.push(w[1]);break;case"PtgNum":f.push(String(w[1]));break;case"PtgStr":f.push('"'+w[1].replace(/"/g,'""')+'"');break;case"PtgErr":f.push(w[1]);break;case"PtgAreaN":d=xa(w[1][1],t?{s:t}:s,n);f.push(Ra(d,n));break;case"PtgArea":d=xa(w[1][1],s,n);f.push(Ra(d,n));break;case"PtgArea3d":h=w[1][1];d=w[1][2];v=Ld(a,h,n);f.push(v+"!"+Ra(d,n));break;case"PtgAttrSum":f.push("SUM("+f.pop()+")");break;case"PtgAttrBaxcel":;case"PtgAttrSemi":break;case"PtgName":u=w[1][2];var E=(a.names||[])[u-1]||(a[0]||[])[u];var C=E?E.Name:"SH33TJSNAME"+String(u);if(C&&C.slice(0,6)=="_xlfn."&&!n.xlfn)C=C.slice(6);f.push(C);break;case"PtgNameX":var _=w[1][1];u=w[1][2];var S;if(n.biff<=5){if(_<0)_=-_;if(a[_])S=a[_][u]}else{var x="";if(((a[_]||[])[0]||[])[0]==14849){}else if(((a[_]||[])[0]||[])[0]==1025){if(a[_][u]&&a[_][u].itab>0){x=a.SheetNames[a[_][u].itab-1]+"!"}}else x=a.SheetNames[u-1]+"!";if(a[_]&&a[_][u])x+=a[_][u].Name;else if(a[0]&&a[0][u])x+=a[0][u].Name;else{var O=(Pd(a,_,n)||"").split(";;");if(O[u-1])x=O[u-1];else x+="SH33TJSERRX"}f.push(x);break}if(!S)S={Name:"SH33TJSERRY"};f.push(S.Name);break;case"PtgParen":var R="(",I=")";if(p>=0){m="";switch(e[0][p][1][0]){case 2:R=Ar(" ",e[0][p][1][1])+R;break;case 3:R=Ar("\r",e[0][p][1][1])+R;break;case 4:I=Ar(" ",e[0][p][1][1])+I;break;case 5:I=Ar("\r",e[0][p][1][1])+I;break;default:if(n.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][p][1][0]);}p=-1}f.push(R+f.pop()+I);break;case"PtgRefErr":f.push("#REF!");break;case"PtgRefErr3d":f.push("#REF!");break;case"PtgExp":c={c:w[1][1],r:w[1][0]};var N={c:t.c,r:t.r};if(a.sharedf[za(c)]){var F=a.sharedf[za(c)];f.push(Md(F,s,N,a,n))}else{var D=false;for(l=0;l!=a.arrayf.length;++l){o=a.arrayf[l];if(c.c<o[0].s.c||c.c>o[0].e.c)continue;if(c.r<o[0].s.r||c.r>o[0].e.r)continue;f.push(Md(o[1],s,N,a,n));D=true;break}if(!D)f.push(w[1])}break;case"PtgArray":f.push("{"+Nd(w[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":;case"PtgAttrSpaceSemi":p=g;break;case"PtgTbl":break;case"PtgMemErr":break;case"PtgMissArg":f.push("");break;case"PtgAreaErr":f.push("#REF!");break;case"PtgAreaErr3d":f.push("#REF!");break;case"PtgList":f.push("Table"+w[1].idx+"[#"+w[1].rt+"]");break;case"PtgMemAreaN":;case"PtgMemNoMemN":;case"PtgAttrNoop":;case"PtgSheet":;case"PtgEndSheet":break;case"PtgMemFunc":break;case"PtgMemNoMem":break;case"PtgElfCol":;case"PtgElfColS":;case"PtgElfColSV":;case"PtgElfColV":;case"PtgElfLel":;case"PtgElfRadical":;case"PtgElfRadicalLel":;case"PtgElfRadicalS":;case"PtgElfRw":;case"PtgElfRwV":throw new Error("Unsupported ELFs");case"PtgSxName":throw new Error("Unrecognized Formula Token: "+String(w));default:throw new Error("Unrecognized Formula Token: "+String(w));}var P=["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"];if(n.biff!=3)if(p>=0&&P.indexOf(e[0][g][0])==-1){w=e[0][p];var L=true;switch(w[1][0]){case 4:L=false;case 0:m=Ar(" ",w[1][1]);break;case 5:L=false;case 1:m=Ar("\r",w[1][1]);break;default:m="";if(n.WTF)throw new Error("Unexpected PtgAttrSpaceType "+w[1][0]);}f.push((L?m:"")+f.pop()+(L?"":m));p=-1}}if(f.length>1&&n.WTF)throw new Error("bad formula stack");if(f[0]=="TRUE")return true;if(f[0]=="FALSE")return false;return f[0]}function Ud(e,r,t){var a=e.l+r,n=t.biff==2?1:2;var i,s=e._R(n);if(s==65535)return[[],Aa(e,r-2)];var f=Id(e,s,t);if(r!==s+n)i=Rd(e,r-s-n,f,t);e.l=a;return[f,i]}function Bd(e,r,t){var a=e.l+r,n=t.biff==2?1:2;var i,s=e._R(n);if(s==65535)return[[],Aa(e,r-2)];var f=Id(e,s,t);if(r!==s+n)i=Rd(e,r-s-n,f,t);e.l=a;return[f,i]}function Wd(e,r,t,a){var n=e.l+r;var i=Id(e,a,t);var s;if(n!==e.l)s=Rd(e,n-e.l,i,t);return[i,s]}function zd(e,r,t){var a=e.l+r;var n,i=e._R(2);var s=Id(e,i,t);if(i==65535)return[[],Aa(e,r-2)];if(r!==i+2)n=Rd(e,a-i-2,s,t);return[s,n]}function Hd(e){var r;if(ca(e,e.l+6)!==65535)return[Sn(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 Vd(e){if(e==null){var r=ya(8);r._W(1,3);r._W(1,0);r._W(2,0);r._W(2,0);r._W(2,65535);return r}else if(typeof e=="number")return xn(e);return xn(0)}function Xd(e,r,t){var a=e.l+r;var n=Ps(e,6,t);var i=Hd(e,8);var s=e._R(1);if(t.biff!=2){e._R(1);if(t.biff>=5){e._R(4)}}var f=Bd(e,a-e.l,t);return{cell:n,val:i[0],formula:f,shared:s>>3&1,tt:i[1]}}function $d(e,r,t,a,n){var i=Ls(r,t,n);var s=Vd(e.v);var f=ya(6);var l=1|32;f._W(2,l);f._W(4,0);var o=ya(e.bf.length);for(var c=0;c<e.bf.length;++c)o[c]=e.bf[c];var h=P([i,s,f,o]);return h}function Gd(e,r,t){var a=e._R(4);var n=Id(e,a,t);var i=e._R(4);var s=i>0?Rd(e,i,n,t):null;return[n,s]}var jd=Gd;var Kd=Gd;var Yd=Gd;var Zd=Gd;function Jd(e){if((e|0)==e&&e<Math.pow(2,16)&&e>=0){var r=ya(11);r._W(4,3);r._W(1,30);r._W(2,e);r._W(4,0);return r}var t=ya(17);t._W(4,11);t._W(1,31);t._W(8,e);t._W(4,0);return t}function qd(e){var r=ya(10);r._W(4,2);r._W(1,28);r._W(1,e);r._W(4,0);return r}function Qd(e){var r=ya(10);r._W(4,2);r._W(1,29);r._W(1,e?1:0);r._W(4,0);return r}function ev(e){var r=ya(7);r._W(4,3+2*e.length);r._W(1,23);r._W(2,e.length);var t=ya(2*e.length);t._W(2*e.length,e,"utf16le");var a=ya(4);a._W(4,0);return P([r,t,a])}function rv(e){var r=Wa(e);var t=ya(15);t._W(4,7);t._W(1,4|1<<5);t._W(4,r.r);t._W(2,r.c|(e.charAt(0)=="$"?0:1)<<14|(e.match(/\$\d/)?0:1)<<15);t._W(4,0);return t}function tv(e,r){var t=e.lastIndexOf("!");var a=e.slice(0,t);e=e.slice(t+1);var n=Wa(e);if(a.charAt(0)=="'")a=a.slice(1,-1).replace(/''/g,"'");var i=ya(17);i._W(4,9);i._W(1,26|1<<5);i._W(2,2+r.SheetNames.map(function(e){return e.toLowerCase()}).indexOf(a.toLowerCase()));i._W(4,n.r);i._W(2,n.c|(e.charAt(0)=="$"?0:1)<<14|(e.match(/\$\d/)?0:1)<<15);i._W(4,0);return i}function av(e,r){var t=e.lastIndexOf("!");var a=e.slice(0,t);e=e.slice(t+1);if(a.charAt(0)=="'")a=a.slice(1,-1).replace(/''/g,"'");var n=ya(17);n._W(4,9);n._W(1,28|1<<5);n._W(2,2+r.SheetNames.map(function(e){return e.toLowerCase()}).indexOf(a.toLowerCase()));n._W(4,0);n._W(2,0);n._W(4,0);return n}function nv(e){var r=e.split(":"),t=r[0];var a=ya(23);a._W(4,15);t=r[0];var n=Wa(t);a._W(1,4|1<<5);a._W(4,n.r);a._W(2,n.c|(t.charAt(0)=="$"?0:1)<<14|(t.match(/\$\d/)?0:1)<<15);a._W(4,0);t=r[1];n=Wa(t);a._W(1,4|1<<5);a._W(4,n.r);a._W(2,n.c|(t.charAt(0)=="$"?0:1)<<14|(t.match(/\$\d/)?0:1)<<15);a._W(4,0);a._W(1,17);a._W(4,0);return a}function iv(e,r){var t=e.lastIndexOf("!");var a=e.slice(0,t);e=e.slice(t+1);if(a.charAt(0)=="'")a=a.slice(1,-1).replace(/''/g,"'");var n=e.split(":");var i=ya(27);i._W(4,19);var s=n[0],f=Wa(s);i._W(1,26|1<<5);i._W(2,2+r.SheetNames.map(function(e){return e.toLowerCase()}).indexOf(a.toLowerCase()));i._W(4,f.r);i._W(2,f.c|(s.charAt(0)=="$"?0:1)<<14|(s.match(/\$\d/)?0:1)<<15);s=n[1];f=Wa(s);i._W(1,26|1<<5);i._W(2,2+r.SheetNames.map(function(e){return e.toLowerCase()}).indexOf(a.toLowerCase()));i._W(4,f.r);i._W(2,f.c|(s.charAt(0)=="$"?0:1)<<14|(s.match(/\$\d/)?0:1)<<15);i._W(1,17);i._W(4,0);return i}function sv(e,r){var t=e.lastIndexOf("!");var a=e.slice(0,t);e=e.slice(t+1);if(a.charAt(0)=="'")a=a.slice(1,-1).replace(/''/g,"'");var n=Ha(e);var i=ya(23);i._W(4,15);i._W(1,27|1<<5);i._W(2,2+r.SheetNames.map(function(e){return e.toLowerCase()}).indexOf(a.toLowerCase()));i._W(4,n.s.r);i._W(4,n.e.r);i._W(2,n.s.c);i._W(2,n.e.c);i._W(4,0);return i}function fv(e,r){if(typeof e=="number")return Jd(e);if(typeof e=="boolean")return Qd(e);if(/^#(DIV\/0!|GETTING_DATA|N\/A|NAME\?|NULL!|NUM!|REF!|VALUE!)$/.test(e))return qd(+ai[e]);if(e.match(/^\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?:10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})$/))return rv(e);if(e.match(/^\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?:10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5}):\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?:10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})$/))return nv(e);if(e.match(/^#REF!\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?:10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5}):\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?:10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})$/))return sv(e,r);if(e.match(/^(?:'[^\\\/?*\[\]:]*'|[^'][^\\\/?*\[\]:'`~!@#$%^()\-=+{}|;,<.>]*)!\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?:10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})$/))return tv(e,r);if(e.match(/^(?:'[^\\\/?*\[\]:]*'|[^'][^\\\/?*\[\]:'`~!@#$%^()\-=+{}|;,<.>]*)!\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?:10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5}):\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?:10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})$/))return iv(e,r);if(/^(?:'[^\\\/?*\[\]:]*'|[^'][^\\\/?*\[\]:'`~!@#$%^()\-=+{}|;,<.>]*)!#REF!$/.test(e))return av(e,r);if(/^".*"$/.test(e))return ev(e);if(/^[+-]\d+$/.test(e))return Jd(parseInt(e,10));throw"Formula |"+e+"| not supported for XLSB"}var lv=fv;var ov={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 cv={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 hv={2:1,3:1,10:0,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,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,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,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186: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,225:0,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};function uv(e){if(e.slice(0,3)=="of:")e=e.slice(3);if(e.charCodeAt(0)==61){e=e.slice(1);if(e.charCodeAt(0)==61)e=e.slice(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(/\$'([^']|'')+'/g,function(e){return e.slice(1)});e=e.replace(/\$([^\]\. #$]+)/g,function(e,r){return r.match(/^([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])?(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})?$/)?e:r});e=e.replace(/\[.(#[A-Z]*[?!])\]/g,"$1");return e.replace(/[;~]/g,",").replace(/\|/g,";")}function dv(e){var r="of:="+e.replace(tu,"$1[.$2$3$4$5]").replace(/\]:\[/g,":");return r.replace(/;/g,"|").replace(/,/g,";")}function vv(e){e=e.replace(/\$'([^']|'')+'/g,function(e){return e.slice(1)});e=e.replace(/\$([^\]\. #$]+)/g,function(e,r){return r.match(/^([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])?(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})?$/)?e:r});var r=e.split(":");var t=r[0].split(".")[0];return[t,r[0].split(".")[1]+(r.length>1?":"+(r[1].split(".")[1]||r[1].split(".")[0]):"")]}function pv(e){return e.replace(/!/,".").replace(/:/,":.")}var mv={};var gv={};var bv=typeof Map!=="undefined";function wv(e,r,t){var a=0,n=e.length;if(t){if(bv?t.has(r):Object.prototype.hasOwnProperty.call(t,r)){var i=bv?t.get(r):t[r];for(;a<i.length;++a){if(e[i[a]].t===r){e.Count++;return i[a]}}}}else for(;a<n;++a){if(e[a].t===r){e.Count++;return a}}e[n]={t:r};e.Count++;e.Unique++;if(t){if(bv){if(!t.has(r))t.set(r,[]);t.get(r).push(n)}else{if(!Object.prototype.hasOwnProperty.call(t,r))t[r]=[];t[r].push(n)}}return n}function kv(e,r){var t={min:e+1,max:e+1};var a=-1;if(r.MDW)qo=r.MDW;if(r.width!=null)t.customWidth=1;else if(r.wpx!=null)a=ec(r.wpx);else if(r.wch!=null)a=r.wch;if(a>-1){t.width=rc(a);t.customWidth=1}else if(r.width!=null)t.width=r.width;if(r.hidden)t.hidden=true;if(r.level!=null){t.outlineLevel=t.level=r.level}return t}function Tv(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 Av(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){Je(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 yv(e,r,t,a,n,i,s){try{if(a.cellNF)e.z=q[r]}catch(f){if(a.WTF)throw f}if(e.t==="z"&&!a.cellStyles)return;if(e.t==="d"&&typeof e.v==="string")e.v=wr(e.v);if((!a||a.cellText!==false)&&e.t!=="z")try{if(q[r]==null)Je(Ge[r]||"General",r);if(e.t==="e")e.w=e.w||ti[e.v];else if(r===0){if(e.t==="n"){if((e.v|0)===e.v)e.w=e.v.toString(10);else e.w=le(e.v)}else if(e.t==="d"){var l=dr(e.v,!!s);if((l|0)===l)e.w=l.toString(10);else e.w=le(l)}else if(e.v===undefined)return"";else e.w=oe(e.v,gv)}else if(e.t==="d")e.w=ze(r,dr(e.v,!!s),gv);else e.w=ze(r,e.v,gv)}catch(f){if(a.WTF)throw f}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=Ko(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=Ko(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(f){if(a.WTF&&i.Fills)throw f}}function Ev(e,r,t){if(e&&e["!ref"]){var a=Ga(e["!ref"]);if(a.e.c<a.s.c||a.e.r<a.s.r)throw new Error("Bad range ("+t+"): "+e["!ref"])}}function Cv(e,r){var t=Ga(r);if(t.s.r<=t.e.r&&t.s.c<=t.e.c&&t.s.r>=0&&t.s.c>=0)e["!ref"]=Va(t)}var _v=/<(?:\w:)?mergeCell ref=["'][A-Z0-9:]+['"]\s*[\/]?>/g;var Sv=/<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/;var xv=/<(?:\w:)?hyperlink [^>]*>/gm;var Ov=/"(\w*:\w*)"/;var Rv=/<(?:\w:)?col\b[^>]*[\/]?>/g;var Iv=/<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g;var Nv=/<(?:\w:)?pageMargins[^>]*\/>/g;var Fv=/<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/;var Dv=/<(?:\w:)?sheetPr[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetPr)>/;var Pv=/<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/;function Lv(e,r,t,a,n,i,s){if(!e)return e;if(!a)a={"!id":{}};if(b!=null&&r.dense==null)r.dense=b;var f={};if(r.dense)f["!data"]=[];var l={s:{r:2e6,c:2e6},e:{r:0,c:0}};var o="",c="";var h=e.match(Sv);if(h){o=e.slice(0,h.index);c=e.slice(h.index+h[0].length)}else o=c=e;var u=o.match(Fv);if(u)Uv(u[0],f,n,t);else if(u=o.match(Dv))Bv(u[0],u[1]||"",f,n,t,s,i);var d=(o.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(d>0){var v=o.slice(d,d+50).match(Ov);if(v&&!(r&&r.nodim))Cv(f,v[1])}var p=o.match(Pv);if(p&&p[1])qv(p[1],n);var m=[];if(r.cellStyles){var g=o.match(Rv);if(g)jv(m,g)}if(h)rp(h[1],f,r,l,i,s,n);var w=c.match(Iv);if(w)f["!autofilter"]=Yv(w[0]);var k=[];var T=c.match(_v);if(T)for(d=0;d!=T.length;++d)k[d]=Ga(T[d].slice(T[d].indexOf('"')+1));var A=c.match(xv);if(A)Xv(f,A,a);var y=c.match(Nv);if(y)f["!margins"]=$v(rt(y[0]));var E;if(E=c.match(/legacyDrawing r:id="(.*?)"/))f["!legrel"]=E[1];if(r&&r.nodim)l.s.c=l.s.r=0;if(!f["!ref"]&&l.e.c>=l.s.c&&l.e.r>=l.s.r)f["!ref"]=Va(l);if(r.sheetRows>0&&f["!ref"]){var C=Ga(f["!ref"]);if(r.sheetRows<=+C.e.r){C.e.r=r.sheetRows-1;if(C.e.r>l.e.r)C.e.r=l.e.r;if(C.e.r<C.s.r)C.s.r=C.e.r;if(C.e.c>l.e.c)C.e.c=l.e.c;if(C.e.c<C.s.c)C.s.c=C.e.c;f["!fullref"]=f["!ref"];f["!ref"]=Va(C)}}if(m.length>0)f["!cols"]=m;if(k.length>0)f["!merges"]=k;if(a["!id"][f["!legrel"]])f["!legdrawel"]=a["!id"][f["!legrel"]];return f}function Mv(e){if(e.length===0)return"";var r='<mergeCells count="'+e.length+'">';for(var t=0;t!=e.length;++t)r+='<mergeCell ref="'+Va(e[t])+'"/>';return r+"</mergeCells>"}function Uv(e,r,t,a){var n=rt(e);if(!t.Sheets[a])t.Sheets[a]={};if(n.codeName)t.Sheets[a].CodeName=it(kt(n.codeName))}function Bv(e,r,t,a,n){Uv(e.slice(0,e.indexOf(">")),t,a,n)}function Wv(e,r,t,a,n){var i=false;var s={},f=null;if(a.bookType!=="xlsx"&&r.vbaraw){var l=r.SheetNames[t];try{if(r.Workbook)l=r.Workbook.Sheets[t].CodeName||l}catch(o){}i=true;s.codeName=Tt(lt(l))}if(e&&e["!outline"]){var c={summaryBelow:1,summaryRight:1};if(e["!outline"].above)c.summaryBelow=0;if(e["!outline"].left)c.summaryRight=0;f=(f||"")+It("outlinePr",null,c)}if(!i&&!f)return;n[n.length]=It("sheetPr",f,s)}var zv=["objects","scenarios","selectLockedCells","selectUnlockedCells"];var Hv=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];function Vv(e){var r={sheet:1};zv.forEach(function(t){if(e[t]!=null&&e[t])r[t]="1"});Hv.forEach(function(t){if(e[t]!=null&&!e[t])r[t]="0"});if(e.password)r.password=Fo(e.password).toString(16).toUpperCase();return It("sheetProtection",null,r)}function Xv(e,r,t){var a=e["!data"]!=null;for(var n=0;n!=r.length;++n){var i=rt(kt(r[n]),true);if(!i.ref)return;var s=((t||{})["!id"]||[])[i.id];if(s){i.Target=s.Target;if(i.location)i.Target+="#"+it(i.location)}else{i.Target="#"+it(i.location);s={Target:i.Target,TargetMode:"Internal"}}i.Rel=s;if(i.tooltip){i.Tooltip=i.tooltip;delete i.tooltip}var f=Ga(i.ref);for(var l=f.s.r;l<=f.e.r;++l)for(var o=f.s.c;o<=f.e.c;++o){var c=La(o)+Na(l);if(a){if(!e["!data"][l])e["!data"][l]=[];if(!e["!data"][l][o])e["!data"][l][o]={t:"z",v:undefined};e["!data"][l][o].l=i}else{if(!e[c])e[c]={t:"z",v:undefined};e[c].l=i}}}}function $v(e){var r={};["left","right","top","bottom","header","footer"].forEach(function(t){if(e[t])r[t]=parseFloat(e[t])});return r}function Gv(e){Tv(e);return It("pageMargins",null,e)}function jv(e,r){var t=false;for(var a=0;a!=r.length;++a){var n=rt(r[a],true);if(n.hidden)n.hidden=pt(n.hidden);var i=parseInt(n.min,10)-1,s=parseInt(n.max,10)-1;if(n.outlineLevel)n.level=+n.outlineLevel||0;delete n.min;delete n.max;n.width=+n.width;if(!t&&n.width){t=true;ac(n.width)}nc(n);while(i<=s)e[i++]=Tr(n)}}function Kv(e,r){var t=["<cols>"],a;for(var n=0;n!=r.length;++n){if(!(a=r[n]))continue;t[t.length]=It("col",null,kv(n,a))}t[t.length]="</cols>";return t.join("")}function Yv(e){var r={ref:(e.match(/ref="([^"]*)"/)||[])[1]};return r}function Zv(e,r,t,a){var n=typeof e.ref=="string"?e.ref:Va(e.ref);if(!t.Workbook)t.Workbook={Sheets:[]};if(!t.Workbook.Names)t.Workbook.Names=[];var i=t.Workbook.Names;var s=Ha(n);if(s.s.r==s.e.r){s.e.r=Ha(r["!ref"]).e.r;n=Va(s)}for(var f=0;f<i.length;++f){var l=i[f];if(l.Name!="_xlnm._FilterDatabase")continue;if(l.Sheet!=a)continue;l.Ref=$a(t.SheetNames[a])+"!"+Xa(n);break}if(f==i.length)i.push({Name:"_xlnm._FilterDatabase",Sheet:a,Ref:"'"+t.SheetNames[a]+"'!"+n});return It("autoFilter",null,{ref:n})}var Jv=/<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/?>/g;function qv(e,r){if(!r.Views)r.Views=[{}];(e.match(Jv)||[]).forEach(function(e,t){var a=rt(e);if(!r.Views[t])r.Views[t]={};if(+a.zoomScale)r.Views[t].zoom=+a.zoomScale;if(a.rightToLeft&&pt(a.rightToLeft))r.Views[t].RTL=true})}function Qv(e,r,t,a){var n={workbookViewId:"0"};if((((a||{}).Workbook||{}).Views||[])[0])n.rightToLeft=a.Workbook.Views[0].RTL?"1":"0";return It("sheetViews",It("sheetView",null,n),{})}function ep(e,r,t,a,n,i,s){if(e.c)t["!comments"].push([r,e.c]);if((e.v===undefined||e.t==="z"&&!(a||{}).sheetStubs)&&typeof e.f!=="string"&&typeof e.z=="undefined")return"";var f="";var l=e.t,o=e.v;if(e.t!=="z")switch(e.t){case"b":f=e.v?"1":"0";break;case"n":if(isNaN(e.v)){e.t="e";f=ti[e.v=36]}else if(!isFinite(e.v)){e.t="e";f=ti[e.v=7]}else f=""+e.v;break;case"e":f=ti[e.v];break;case"d":if(a&&a.cellDates){var c=wr(e.v,s);f=c.toISOString();if(c.getUTCFullYear()<1900)f=f.slice(f.indexOf("T")+1).replace("Z","")}else{e=Tr(e);e.t="n";f=""+(e.v=dr(wr(e.v,s),s))}if(typeof e.z==="undefined")e.z=q[14];break;default:f=e.v;break;}var h=e.t=="z"||e.v==null?"":Ot("v",lt(f)),u={r:r};var d=Av(a.cellXfs,e,a);if(d!==0)u.s=d;switch(e.t){case"n":break;case"d":u.t="d";break;case"b":u.t="b";break;case"e":u.t="e";break;case"z":break;default:if(e.v==null){delete e.t;break}if(e.v.length>32767)throw new Error("Text length must not exceed 32767 characters");if(a&&a.bookSST){h=Ot("v",""+wv(a.Strings,e.v,a.revStrings));u.t="s";break}else u.t="str";break;}if(e.t!=l){e.t=l;e.v=o}if(typeof e.f=="string"&&e.f){var v=e.F&&e.F.slice(0,r.length)==r?{t:"array",ref:e.F}:null;h=It("f",lt(e.f),v)+(e.v!=null?h:"")}if(e.l){e.l.display=lt(f);t["!links"].push([r,e.l])}if(e.D)u.cm=1;return It("c",h,u)}var rp=function(){var e=/<(?:\w+:)?c[ \/>]/,r=/<\/(?:\w+:)?row>/;var t=/r=["']([^"']*)["']/,a=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/;var n=/ref=["']([^"']*)["']/;var i=At("v"),s=At("f");return function f(l,o,c,h,u,d,v){var p=0,m="",g=[],b=[],w=0,k=0,T=0,A="",y;var E,C=0,_=0;var S,x;var O=0,R=0;var I=Array.isArray(d.CellXf),N;var F=[];var D=[];var P=o["!data"]!=null;var L=[],M={},U=false;var B=!!c.sheetStubs;var W=!!((v||{}).WBProps||{}).date1904;for(var z=l.split(r),H=0,V=z.length;H!=V;++H){m=z[H].trim();var X=m.length;if(X===0)continue;var $=0;e:for(p=0;p<X;++p)switch(m[p]){case">":if(m[p-1]!="/"){++p;break e}if(c&&c.cellStyles){E=rt(m.slice($,p),true);C=E.r!=null?parseInt(E.r,10):C+1;_=-1;if(c.sheetRows&&c.sheetRows<C)continue;M={};U=false;if(E.ht){U=true;M.hpt=parseFloat(E.ht);M.hpx=lc(M.hpt)}if(E.hidden&&pt(E.hidden)){U=true;M.hidden=true}if(E.outlineLevel!=null){U=true;M.level=+E.outlineLevel}if(U)L[C-1]=M}break;case"<":$=p;break;}if($>=p)break;E=rt(m.slice($,p),true);C=E.r!=null?parseInt(E.r,10):C+1;_=-1;if(c.sheetRows&&c.sheetRows<C)continue;if(!c.nodim){if(h.s.r>C-1)h.s.r=C-1;if(h.e.r<C-1)h.e.r=C-1}if(c&&c.cellStyles){M={};U=false;if(E.ht){U=true;M.hpt=parseFloat(E.ht);M.hpx=lc(M.hpt)}if(E.hidden&&pt(E.hidden)){U=true;M.hidden=true}if(E.outlineLevel!=null){U=true;M.level=+E.outlineLevel}if(U)L[C-1]=M}g=m.slice(p).split(e);for(var G=0;G!=g.length;++G)if(g[G].trim().charAt(0)!="<")break;g=g.slice(G);for(p=0;p!=g.length;++p){m=g[p].trim();if(m.length===0)continue;b=m.match(t);w=p;k=0;T=0;m="<c "+(m.slice(0,1)=="<"?">":"")+m;if(b!=null&&b.length===2){w=0;A=b[1];for(k=0;k!=A.length;++k){if((T=A.charCodeAt(k)-64)<1||T>26)break;w=26*w+T}--w;_=w}else++_;for(k=0;k!=m.length;++k)if(m.charCodeAt(k)===62)break;++k;E=rt(m.slice(0,k),true);if(!E.r)E.r=za({r:C-1,c:_});A=m.slice(k);y={t:""};if((b=A.match(i))!=null&&b[1]!=="")y.v=it(b[1]);if(c.cellFormula){if((b=A.match(s))!=null){if(b[1]==""){if(b[0].indexOf('t="shared"')>-1){x=rt(b[0]);if(D[x.si])y.f=su(D[x.si][1],D[x.si][2],E.r)}}else{y.f=it(kt(b[1]),true);if(!c.xlfn)y.f=lu(y.f);if(b[0].indexOf('t="array"')>-1){y.F=(A.match(n)||[])[1];if(y.F.indexOf(":")>-1)F.push([Ga(y.F),y.F])}else if(b[0].indexOf('t="shared"')>-1){x=rt(b[0]);var j=it(kt(b[1]));if(!c.xlfn)j=lu(j);D[parseInt(x.si,10)]=[x,j,E.r]}}}else if(b=A.match(/<f[^>]*\/>/)){x=rt(b[0]);if(D[x.si])y.f=su(D[x.si][1],D[x.si][2],E.r)}var K=Wa(E.r);for(k=0;k<F.length;++k)if(K.r>=F[k][0].s.r&&K.r<=F[k][0].e.r)if(K.c>=F[k][0].s.c&&K.c<=F[k][0].e.c)y.F=F[k][1]}if(E.t==null&&y.v===undefined){if(y.f||y.F){y.v=0;y.t="n"}else if(!B)continue;else y.t="z"}else y.t=E.t||"n";if(h.s.c>_)h.s.c=_;if(h.e.c<_)h.e.c=_;switch(y.t){case"n":if(y.v==""||y.v==null){if(!B)continue;y.t="z"}else y.v=parseFloat(y.v);break;case"s":if(typeof y.v=="undefined"){if(!B)continue;y.t="z"}else{S=mv[parseInt(y.v,10)];y.v=S.t;y.r=S.r;if(c.cellHTML)y.h=S.h}break;case"str":y.t="s";y.v=y.v!=null?it(kt(y.v),true):"";if(c.cellHTML)y.h=ht(y.v);break;case"inlineStr":b=A.match(a);y.t="s";if(b!=null&&(S=no(b[1]))){y.v=S.t;if(c.cellHTML)y.h=S.h}else y.v="";break;case"b":y.v=pt(y.v);break;case"d":if(c.cellDates)y.v=wr(y.v,W);else{y.v=dr(wr(y.v,W),W);y.t="n"}break;case"e":if(!c||c.cellText!==false)y.w=y.v;y.v=ai[y.v];break;}O=R=0;N=null;if(I&&E.s!==undefined){N=d.CellXf[E.s];if(N!=null){if(N.numFmtId!=null)O=N.numFmtId;if(c.cellStyles){if(N.fillId!=null)R=N.fillId}}}yv(y,O,R,c,u,d,W);if(c.cellDates&&I&&y.t=="n"&&Le(q[O])){y.v=vr(y.v+(W?1462:0));y.t=typeof y.v=="number"?"n":"d"}if(E.cm&&c.xlmeta){var Y=(c.xlmeta.Cell||[])[+E.cm-1];if(Y&&Y.type=="XLDAPR")y.D=true}var Z;if(c.nodim){Z=Wa(E.r);if(h.s.r>Z.r)h.s.r=Z.r;if(h.e.r<Z.r)h.e.r=Z.r}if(P){Z=Wa(E.r);if(!o["!data"][Z.r])o["!data"][Z.r]=[];o["!data"][Z.r][Z.c]=y}else o[E.r]=y}}if(L.length>0)o["!rows"]=L}}();function tp(e,r,t,a){var n=[],i=[],s=Ga(e["!ref"]),f="",l,o="",c=[],h=0,u=0,d=e["!rows"];var v=e["!data"]!=null;var p={r:o},m,g=-1;var b=(((a||{}).Workbook||{}).WBProps||{}).date1904;for(u=s.s.c;u<=s.e.c;++u)c[u]=La(u);for(h=s.s.r;h<=s.e.r;++h){i=[];o=Na(h);for(u=s.s.c;u<=s.e.c;++u){l=c[u]+o;var w=v?(e["!data"][h]||[])[u]:e[l];if(w===undefined)continue;if((f=ep(w,l,e,r,t,a,b))!=null)i.push(f)}if(i.length>0||d&&d[h]){p={r:o};if(d&&d[h]){m=d[h];if(m.hidden)p.hidden=1;g=-1;if(m.hpx)g=fc(m.hpx);else if(m.hpt)g=m.hpt;if(g>-1){p.ht=g;p.customHeight=1}if(m.level){p.outlineLevel=m.level}}n[n.length]=It("row",i.join(""),p)}}if(d)for(;h<d.length;++h){if(d&&d[h]){p={r:h+1};m=d[h];if(m.hidden)p.hidden=1;g=-1;if(m.hpx)g=fc(m.hpx);else if(m.hpt)g=m.hpt;if(g>-1){p.ht=g;p.customHeight=1}if(m.level){p.outlineLevel=m.level}n[n.length]=It("row","",p)}}return n.join("")}function ap(e,r,t,a){var n=[Kr,It("worksheet",null,{xmlns:Mt[0],"xmlns:r":Lt.r})];var i=t.SheetNames[e],s=0,f="";var l=t.Sheets[i];if(l==null)l={};var o=l["!ref"]||"A1";var c=Ga(o);if(c.e.c>16383||c.e.r>1048575){if(r.WTF)throw new Error("Range "+o+" exceeds format limit A1:XFD1048576");c.e.c=Math.min(c.e.c,16383);c.e.r=Math.min(c.e.c,1048575);o=Va(c)}if(!a)a={};l["!comments"]=[];var h=[];Wv(l,t,e,r,n);n[n.length]=It("dimension",null,{ref:o});n[n.length]=Qv(l,r,e,t);if(r.sheetFormat)n[n.length]=It("sheetFormatPr",null,{defaultRowHeight:r.sheetFormat.defaultRowHeight||"16",baseColWidth:r.sheetFormat.baseColWidth||"10",outlineLevelRow:r.sheetFormat.outlineLevelRow||"7"});if(l["!cols"]!=null&&l["!cols"].length>0)n[n.length]=Kv(l,l["!cols"]);n[s=n.length]="<sheetData/>";l["!links"]=[];if(l["!ref"]!=null){f=tp(l,r,e,t,a);if(f.length>0)n[n.length]=f}if(n.length>s+1){n[n.length]="</sheetData>";n[s]=n[s].replace("/>",">")}if(l["!protect"])n[n.length]=Vv(l["!protect"]);if(l["!autofilter"]!=null)n[n.length]=Zv(l["!autofilter"],l,t,e);if(l["!merges"]!=null&&l["!merges"].length>0)n[n.length]=Mv(l["!merges"]);var u=-1,d,v=-1;if(l["!links"].length>0){n[n.length]="<hyperlinks>";l["!links"].forEach(function(e){if(!e[1].Target)return;d={ref:e[0]};if(e[1].Target.charAt(0)!="#"){v=vi(a,-1,lt(e[1].Target).replace(/#.*$/,""),ci.HLINK);d["r:id"]="rId"+v}if((u=e[1].Target.indexOf("#"))>-1)d.location=lt(e[1].Target.slice(u+1));if(e[1].Tooltip)d.tooltip=lt(e[1].Tooltip);d.display=e[1].display;n[n.length]=It("hyperlink",null,d)});n[n.length]="</hyperlinks>"}delete l["!links"];if(l["!margins"]!=null)n[n.length]=Gv(l["!margins"]);if(!r||r.ignoreEC||r.ignoreEC==void 0)n[n.length]=Ot("ignoredErrors",It("ignoredError",null,{numberStoredAsText:1,sqref:o}));if(h.length>0){v=vi(a,-1,"../drawings/drawing"+(e+1)+".xml",ci.DRAW);n[n.length]=It("drawing",null,{"r:id":"rId"+v});l["!drawing"]=h}if(l["!comments"].length>0){v=vi(a,-1,"../drawings/vmlDrawing"+(e+1)+".vml",ci.VML);n[n.length]=It("legacyDrawing",null,{"r:id":"rId"+v});l["!legacy"]=v}if(n.length>1){n[n.length]="</worksheet>";n[1]=n[1].replace("/>",">")}return n.join("")}function np(e,r){var t={};var a=e.l+r;t.r=e._R(4);e.l+=4;var n=e._R(2);e.l+=1;var i=e._R(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 ip(e,r,t){var a=ya(17+8*16);var n=(t["!rows"]||[])[e]||{};a._W(4,e);a._W(4,0);var i=320;if(n.hpx)i=fc(n.hpx)*20;else if(n.hpt)i=n.hpt*20;a._W(2,i);a._W(1,0);var s=0;if(n.level)s|=n.level;if(n.hidden)s|=16;if(n.hpx||n.hpt)s|=32;a._W(1,s);a._W(1,0);var f=0,l=a.l;a.l+=4;var o={r:e,c:0};var c=t["!data"]!=null;for(var h=0;h<16;++h){if(r.s.c>h+1<<10||r.e.c<h<<10)continue;var u=-1,d=-1;for(var v=h<<10;v<h+1<<10;++v){o.c=v;var p=c?(t["!data"][o.r]||[])[o.c]:t[za(o)];if(p){if(u<0)u=v;d=v}}if(u<0)continue;++f;a._W(4,u);a._W(4,d)}var m=a.l;a.l=l;a._W(4,f);a.l=m;return a.length>a.l?a.slice(0,a.l):a}function sp(e,r,t,a){var n=ip(a,t,r);if(n.length>17||(r["!rows"]||[])[a])_a(e,0,n)}var fp=Cn;var lp=_n;function op(){}function cp(e,r){var t={};var a=e[e.l];++e.l;t.above=!(a&64);t.left=!(a&128);e.l+=18;t.name=vn(e,r-19);return t}function hp(e,r,t){if(t==null)t=ya(84+4*e.length);var a=192;if(r){if(r.above)a&=~64;if(r.left)a&=~128}t._W(1,a);for(var n=1;n<3;++n)t._W(1,0);Rn({auto:1},t);t._W(-4,-1);t._W(-4,-1);pn(e,t);return t.slice(0,t.l)}function up(e){var r=cn(e);return[r]}function dp(e,r,t){if(t==null)t=ya(8);return hn(r,t)}function vp(e){var r=un(e);return[r]}function pp(e,r,t){if(t==null)t=ya(4);return dn(r,t)}function mp(e){var r=cn(e);var t=e._R(1);return[r,t,"b"]}function gp(e,r,t){if(t==null)t=ya(9);hn(r,t);t._W(1,e.v?1:0);return t}function bp(e){var r=un(e);var t=e._R(1);return[r,t,"b"]}function wp(e,r,t){if(t==null)t=ya(5);dn(r,t);t._W(1,e.v?1:0);return t}function kp(e){var r=cn(e);var t=e._R(1);return[r,t,"e"]}function Tp(e,r,t){if(t==null)t=ya(9);hn(r,t);t._W(1,e.v);return t}function Ap(e){var r=un(e);var t=e._R(1);return[r,t,"e"]}function yp(e,r,t){if(t==null)t=ya(8);dn(r,t);t._W(1,e.v);t._W(2,0);t._W(1,0);return t}function Ep(e){var r=cn(e);var t=e._R(4);return[r,t,"s"]}function Cp(e,r,t){if(t==null)t=ya(12);hn(r,t);t._W(4,r.v);return t}function _p(e){var r=un(e);var t=e._R(4);return[r,t,"s"]}function Sp(e,r,t){if(t==null)t=ya(8); +dn(r,t);t._W(4,r.v);return t}function xp(e){var r=cn(e);var t=Sn(e);return[r,t,"n"]}function Op(e,r,t){if(t==null)t=ya(16);hn(r,t);xn(e.v,t);return t}function Rp(e){var r=un(e);var t=Sn(e);return[r,t,"n"]}function Ip(e,r,t){if(t==null)t=ya(12);dn(r,t);xn(e.v,t);return t}function Np(e){var r=cn(e);var t=Tn(e);return[r,t,"n"]}function Fp(e,r,t){if(t==null)t=ya(12);hn(r,t);An(e.v,t);return t}function Dp(e){var r=un(e);var t=Tn(e);return[r,t,"n"]}function Pp(e,r,t){if(t==null)t=ya(8);dn(r,t);An(e.v,t);return t}function Lp(e){var r=cn(e);var t=sn(e);return[r,t,"is"]}function Mp(e){var r=cn(e);var t=rn(e);return[r,t,"str"]}function Up(e,r,t){var a=e.v==null?"":String(e.v);if(t==null)t=ya(12+4*e.v.length);hn(r,t);tn(a,t);return t.length>t.l?t.slice(0,t.l):t}function Bp(e){var r=un(e);var t=rn(e);return[r,t,"str"]}function Wp(e,r,t){var a=e.v==null?"":String(e.v);if(t==null)t=ya(8+4*a.length);dn(r,t);tn(a,t);return t.length>t.l?t.slice(0,t.l):t}function zp(e,r,t){var a=e.l+r;var n=cn(e);n.r=t["!row"];var i=e._R(1);var s=[n,i,"b"];if(t.cellFormula){e.l+=2;var f=Kd(e,a-e.l,t);s[3]=Md(f,null,n,t.supbooks,t)}else e.l=a;return s}function Hp(e,r,t){var a=e.l+r;var n=cn(e);n.r=t["!row"];var i=e._R(1);var s=[n,i,"e"];if(t.cellFormula){e.l+=2;var f=Kd(e,a-e.l,t);s[3]=Md(f,null,n,t.supbooks,t)}else e.l=a;return s}function Vp(e,r,t){var a=e.l+r;var n=cn(e);n.r=t["!row"];var i=Sn(e);var s=[n,i,"n"];if(t.cellFormula){e.l+=2;var f=Kd(e,a-e.l,t);s[3]=Md(f,null,n,t.supbooks,t)}else e.l=a;return s}function Xp(e,r,t){var a=e.l+r;var n=cn(e);n.r=t["!row"];var i=rn(e);var s=[n,i,"str"];if(t.cellFormula){e.l+=2;var f=Kd(e,a-e.l,t);s[3]=Md(f,null,n,t.supbooks,t)}else e.l=a;return s}var $p=Cn;var Gp=_n;function jp(e,r){if(r==null)r=ya(4);r._W(4,e);return r}function Kp(e,r){var t=e.l+r;var a=Cn(e,16);var n=mn(e);var i=rn(e);var s=rn(e);var f=rn(e);e.l=t;var l={rfx:a,relId:n,loc:i,display:f};if(s)l.Tooltip=s;return l}function Yp(e,r){var t=ya(50+4*(e[1].Target.length+(e[1].Tooltip||"").length));_n({s:Wa(e[0]),e:Wa(e[0])},t);kn("rId"+r,t);var a=e[1].Target.indexOf("#");var n=a==-1?"":e[1].Target.slice(a+1);tn(n||"",t);tn(e[1].Tooltip||"",t);tn("",t);return t.slice(0,t.l)}function Zp(){}function Jp(e,r,t){var a=e.l+r;var n=yn(e,16);var i=e._R(1);var s=[n];s[2]=i;if(t.cellFormula){var f=jd(e,a-e.l,t);s[1]=f}else e.l=a;return s}function qp(e,r,t){var a=e.l+r;var n=Cn(e,16);var i=[n];if(t.cellFormula){var s=Zd(e,a-e.l,t);i[1]=s;e.l=a}else e.l=a;return i}function Qp(e,r,t){if(t==null)t=ya(18);var a=kv(e,r);t._W(-4,e);t._W(-4,e);t._W(4,(a.width||10)*256);t._W(4,0);var n=0;if(r.hidden)n|=1;if(typeof a.width=="number")n|=2;if(r.level)n|=r.level<<8;t._W(2,n);return t}var em=["left","right","top","bottom","header","footer"];function rm(e){var r={};em.forEach(function(t){r[t]=Sn(e,8)});return r}function tm(e,r){if(r==null)r=ya(6*8);Tv(e);em.forEach(function(t){xn(e[t],r)});return r}function am(e){var r=e._R(2);e.l+=28;return{RTL:r&32}}function nm(e,r,t){if(t==null)t=ya(30);var a=924;if((((r||{}).Views||[])[0]||{}).RTL)a|=32;t._W(2,a);t._W(4,0);t._W(4,0);t._W(4,0);t._W(1,0);t._W(1,0);t._W(2,0);t._W(2,100);t._W(2,0);t._W(2,0);t._W(2,0);t._W(4,0);return t}function im(e){var r=ya(24);r._W(4,4);r._W(4,1);_n(e,r);return r}function sm(e,r){if(r==null)r=ya(16*4+2);r._W(2,e.password?Fo(e.password):0);r._W(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._W(4,e[t[0]]!=null&&!e[t[0]]?1:0);else r._W(4,e[t[0]]!=null&&e[t[0]]?0:1)});return r}function fm(){}function lm(){}function om(e,r,t,a,n,i,s){if(!e)return e;var f=r||{};if(!a)a={"!id":{}};if(b!=null&&f.dense==null)f.dense=b;var l={};if(f.dense)l["!data"]=[];var o;var c={s:{r:2e6,c:2e6},e:{r:0,c:0}};var h=[];var u=false,d=false;var v,p,m,g,w,k,T,A,y;var E=[];f.biff=12;f["!row"]=0;var C=0,_=false;var S=[];var x={};var O=f.supbooks||n.supbooks||[[]];O.sharedf=x;O.arrayf=S;O.SheetNames=n.SheetNames||n.Sheets.map(function(e){return e.name});if(!f.supbooks){f.supbooks=O;if(n.Names)for(var R=0;R<n.Names.length;++R)O[0][R+1]=n.Names[R]}var I=[],N=[];var F=false;Qg[16]={n:"BrtShortReal",f:Rp};var D,P;var L=1462*+!!((n||{}).WBProps||{}).date1904;Ea(e,function U(e,r,b){if(d)return;switch(b){case 148:o=e;break;case 0:v=e;if(f.sheetRows&&f.sheetRows<=v.r)d=true;A=Na(g=v.r);f["!row"]=v.r;if(e.hidden||e.hpt||e.level!=null){if(e.hpt)e.hpx=lc(e.hpt);N[e.r]=e}break;case 2:;case 3:;case 4:;case 5:;case 6:;case 7:;case 8:;case 9:;case 10:;case 11:;case 13:;case 14:;case 15:;case 16:;case 17:;case 18:;case 62:p={t:e[2]};switch(e[2]){case"n":p.v=e[1];break;case"s":T=mv[e[1]];p.v=T.t;p.r=T.r;break;case"b":p.v=e[1]?true:false;break;case"e":p.v=e[1];if(f.cellText!==false)p.w=ti[p.v];break;case"str":p.t="s";p.v=e[1];break;case"is":p.t="s";p.v=e[1].t;break;}if(m=s.CellXf[e[0].iStyleRef])yv(p,m.numFmtId,null,f,i,s,L>0);w=e[0].c==-1?w+1:e[0].c;if(f.dense){if(!l["!data"][g])l["!data"][g]=[];l["!data"][g][w]=p}else l[La(w)+A]=p;if(f.cellFormula){_=false;for(C=0;C<S.length;++C){var R=S[C];if(v.r>=R[0].s.r&&v.r<=R[0].e.r)if(w>=R[0].s.c&&w<=R[0].e.c){p.F=Va(R[0]);_=true}}if(!_&&e.length>3)p.f=e[3]}if(c.s.r>v.r)c.s.r=v.r;if(c.s.c>w)c.s.c=w;if(c.e.r<v.r)c.e.r=v.r;if(c.e.c<w)c.e.c=w;if(f.cellDates&&m&&p.t=="n"&&Le(q[m.numFmtId])){var M=ae(p.v+L);if(M){p.t="d";p.v=new Date(Date.UTC(M.y,M.m-1,M.d,M.H,M.M,M.S,M.u))}}if(D){if(D.type=="XLDAPR")p.D=true;D=void 0}if(P)P=void 0;break;case 1:;case 12:if(!f.sheetStubs||u)break;p={t:"z",v:void 0};w=e[0].c==-1?w+1:e[0].c;if(f.dense){if(!l["!data"][g])l["!data"][g]=[];l["!data"][g][w]=p}else l[La(w)+A]=p;if(c.s.r>v.r)c.s.r=v.r;if(c.s.c>w)c.s.c=w;if(c.e.r<v.r)c.e.r=v.r;if(c.e.c<w)c.e.c=w;if(D){if(D.type=="XLDAPR")p.D=true;D=void 0}if(P)P=void 0;break;case 176:E.push(e);break;case 49:{D=((f.xlmeta||{}).Cell||[])[e-1]}break;case 494:var U=a["!id"][e.relId];if(U){e.Target=U.Target;if(e.loc)e.Target+="#"+e.loc;e.Rel=U}else if(e.relId==""){e.Target="#"+e.loc}for(g=e.rfx.s.r;g<=e.rfx.e.r;++g)for(w=e.rfx.s.c;w<=e.rfx.e.c;++w){if(f.dense){if(!l["!data"][g])l["!data"][g]=[];if(!l["!data"][g][w])l["!data"][g][w]={t:"z",v:undefined};l["!data"][g][w].l=e}else{k=La(w)+Na(g);if(!l[k])l[k]={t:"z",v:undefined};l[k].l=e}}break;case 426:if(!f.cellFormula)break;S.push(e);y=f.dense?l["!data"][g][w]:l[La(w)+A];y.f=Md(e[1],c,{r:v.r,c:w},O,f);y.F=Va(e[0]);break;case 427:if(!f.cellFormula)break;x[za(e[0].s)]=e[1];y=f.dense?l["!data"][g][w]:l[La(w)+A];y.f=Md(e[1],c,{r:v.r,c:w},O,f);break;case 60:if(!f.cellStyles)break;while(e.e>=e.s){I[e.e--]={width:e.w/256,hidden:!!(e.flags&1),level:e.level};if(!F){F=true;ac(e.w/256)}nc(I[e.e+1])}break;case 551:if(e)l["!legrel"]=e;break;case 161:l["!autofilter"]={ref:Va(e)};break;case 476:l["!margins"]=e;break;case 147:if(!n.Sheets[t])n.Sheets[t]={};if(e.name)n.Sheets[t].CodeName=e.name;if(e.above||e.left)l["!outline"]={above:e.above,left:e.left};break;case 137:if(!n.Views)n.Views=[{}];if(!n.Views[0])n.Views[0]={};if(e.RTL)n.Views[0].RTL=true;break;case 485:break;case 64:;case 1053:break;case 151:break;case 152:;case 175:;case 644:;case 625:;case 562:;case 396:;case 1112:;case 1146:;case 471:;case 1050:;case 649:;case 1105:;case 589:;case 607:;case 564:;case 1055:;case 168:;case 174:;case 1180:;case 499:;case 507:;case 550:;case 171:;case 167:;case 1177:;case 169:;case 1181:;case 552:;case 661:;case 639:;case 478:;case 537:;case 477:;case 536:;case 1103:;case 680:;case 1104:;case 1024:;case 663:;case 535:;case 678:;case 504:;case 1043:;case 428:;case 170:;case 3072:;case 50:;case 2070:;case 1045:break;case 35:u=true;break;case 36:u=false;break;case 37:h.push(b);u=true;break;case 38:h.pop();u=false;break;default:if(r.T){}else if(!u||f.WTF)throw new Error("Unexpected record 0x"+b.toString(16));}},f);delete f.supbooks;delete f["!row"];if(!l["!ref"]&&(c.s.r<2e6||o&&(o.e.r>0||o.e.c>0||o.s.r>0||o.s.c>0)))l["!ref"]=Va(o||c);if(f.sheetRows&&l["!ref"]){var M=Ga(l["!ref"]);if(f.sheetRows<=+M.e.r){M.e.r=f.sheetRows-1;if(M.e.r>c.e.r)M.e.r=c.e.r;if(M.e.r<M.s.r)M.s.r=M.e.r;if(M.e.c>c.e.c)M.e.c=c.e.c;if(M.e.c<M.s.c)M.s.c=M.e.c;l["!fullref"]=l["!ref"];l["!ref"]=Va(M)}}if(E.length>0)l["!merges"]=E;if(I.length>0)l["!cols"]=I;if(N.length>0)l["!rows"]=N;if(a["!id"][l["!legrel"]])l["!legdrawel"]=a["!id"][l["!legrel"]];return l}function cm(e,r,t,a,n,i,s,f){var l={r:t,c:a};if(r.c)i["!comments"].push([za(l),r.c]);if(r.v===undefined)return false;var o="";switch(r.t){case"b":o=r.v?"1":"0";break;case"d":r=Tr(r);r.z=r.z||q[14];r.v=dr(wr(r.v,f),f);r.t="n";break;case"n":;case"e":o=""+r.v;break;default:o=r.v;break;}l.s=Av(n.cellXfs,r,n);if(r.l)i["!links"].push([za(l),r.l]);switch(r.t){case"s":;case"str":if(n.bookSST){o=wv(n.Strings,r.v==null?"":String(r.v),n.revStrings);l.t="s";l.v=o;if(s)_a(e,18,Sp(r,l));else _a(e,7,Cp(r,l))}else{l.t="str";if(s)_a(e,17,Wp(r,l));else _a(e,6,Up(r,l))}return true;case"n":if(r.v==(r.v|0)&&r.v>-1e3&&r.v<1e3){if(s)_a(e,13,Pp(r,l));else _a(e,2,Fp(r,l))}else if(isNaN(r.v)){if(s)_a(e,14,yp({t:"e",v:36},l));else _a(e,3,Tp({t:"e",v:36},l))}else if(!isFinite(r.v)){if(s)_a(e,14,yp({t:"e",v:7},l));else _a(e,3,Tp({t:"e",v:7},l))}else{if(s)_a(e,16,Ip(r,l));else _a(e,5,Op(r,l))}return true;case"b":l.t="b";if(s)_a(e,15,wp(r,l));else _a(e,4,gp(r,l));return true;case"e":l.t="e";if(s)_a(e,14,yp(r,l));else _a(e,3,Tp(r,l));return true;}if(s)_a(e,12,pp(r,l));else _a(e,1,dp(r,l));return true}function hm(e,r,t,a,n){var i=Ga(r["!ref"]||"A1"),s,f="",l=[];var o=(((n||{}).Workbook||{}).WBProps||{}).date1904;_a(e,145);var c=r["!data"]!=null;var h=i.e.r;if(r["!rows"])h=Math.max(i.e.r,r["!rows"].length-1);for(var u=i.s.r;u<=h;++u){f=Na(u);sp(e,r,i,u);var d=false;if(u<=i.e.r)for(var v=i.s.c;v<=i.e.c;++v){if(u===i.s.r)l[v]=La(v);s=l[v]+f;var p=c?(r["!data"][u]||[])[v]:r[s];if(!p){d=false;continue}d=cm(e,p,u,v,a,r,d,o)}}_a(e,146)}function um(e,r){if(!r||!r["!merges"])return;_a(e,177,jp(r["!merges"].length));r["!merges"].forEach(function(r){_a(e,176,Gp(r))});_a(e,178)}function dm(e,r){if(!r||!r["!cols"])return;_a(e,390);r["!cols"].forEach(function(r,t){if(r)_a(e,60,Qp(t,r))});_a(e,391)}function vm(e,r){if(!r||!r["!ref"])return;_a(e,648);_a(e,649,im(Ga(r["!ref"])));_a(e,650)}function pm(e,r,t){r["!links"].forEach(function(r){if(!r[1].Target)return;var a=vi(t,-1,r[1].Target.replace(/#.*$/,""),ci.HLINK);_a(e,494,Yp(r,a))});delete r["!links"]}function mm(e,r,t,a){if(r["!comments"].length>0){var n=vi(a,-1,"../drawings/vmlDrawing"+(t+1)+".vml",ci.VML);_a(e,551,kn("rId"+n));r["!legacy"]=n}}function gm(e,r,t,a){if(!r["!autofilter"])return;var n=r["!autofilter"];var i=typeof n.ref==="string"?n.ref:Va(n.ref);if(!t.Workbook)t.Workbook={Sheets:[]};if(!t.Workbook.Names)t.Workbook.Names=[];var s=t.Workbook.Names;var f=Ha(i);if(f.s.r==f.e.r){f.e.r=Ha(r["!ref"]).e.r;i=Va(f)}for(var l=0;l<s.length;++l){var o=s[l];if(o.Name!="_xlnm._FilterDatabase")continue;if(o.Sheet!=a)continue;o.Ref=$a(t.SheetNames[a])+"!"+Xa(i);break}if(l==s.length)s.push({Name:"_xlnm._FilterDatabase",Sheet:a,Ref:$a(t.SheetNames[a])+"!"+Xa(i)});_a(e,161,_n(Ga(i)));_a(e,162)}function bm(e,r,t){_a(e,133);{_a(e,137,nm(r,t));_a(e,138)}_a(e,134)}function wm(){}function km(e,r){if(!r["!protect"])return;_a(e,535,sm(r["!protect"]))}function Tm(e,r,t,a){var n=Ca();var i=t.SheetNames[e],s=t.Sheets[i]||{};var f=i;try{if(t&&t.Workbook)f=t.Workbook.Sheets[e].CodeName||f}catch(l){}var o=Ga(s["!ref"]||"A1");if(o.e.c>16383||o.e.r>1048575){if(r.WTF)throw new Error("Range "+(s["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");o.e.c=Math.min(o.e.c,16383);o.e.r=Math.min(o.e.c,1048575)}s["!links"]=[];s["!comments"]=[];_a(n,129);if(t.vbaraw||s["!outline"])_a(n,147,hp(f,s["!outline"]));_a(n,148,lp(o));bm(n,s,t.Workbook);wm(n,s);dm(n,s,e,r,t);hm(n,s,e,r,t);km(n,s);gm(n,s,t,e);um(n,s);pm(n,s,a);if(s["!margins"])_a(n,476,tm(s["!margins"]));if(!r||r.ignoreEC||r.ignoreEC==void 0)vm(n,s);mm(n,s,e,a);_a(n,130);return n.end()}function Am(e){var r=[];var t=e.match(/^<c:numCache>/);var a;(e.match(/<c:pt idx="(\d*)">(.*?)<\/c:pt>/gm)||[]).forEach(function(e){var a=e.match(/<c:pt idx="(\d*?)"><c:v>(.*)<\/c:v><\/c:pt>/);if(!a)return;r[+a[1]]=t?+a[2]:a[2]});var n=it((e.match(/<c:formatCode>([\s\S]*?)<\/c:formatCode>/)||["","General"])[1]);(e.match(/<c:f>(.*?)<\/c:f>/gm)||[]).forEach(function(e){a=e.replace(/<.*?>/g,"")});return[r,n,a]}function ym(e,r,t,a,n,i){var s=i||{"!type":"chart"};if(!e)return i;var f=0,l=0,o="A";var c={s:{r:2e6,c:2e6},e:{r:0,c:0}};(e.match(/<c:numCache>[\s\S]*?<\/c:numCache>/gm)||[]).forEach(function(e){var r=Am(e);c.s.r=c.s.c=0;c.e.c=f;o=La(f);r[0].forEach(function(e,t){if(s["!data"]){if(!s["!data"][t])s["!data"][t]=[];s["!data"][t][f]={t:"n",v:e,z:r[1]}}else s[o+Na(t)]={t:"n",v:e,z:r[1]};l=t});if(c.e.r<l)c.e.r=l;++f});if(f>0)s["!ref"]=Va(c);return s}function Em(e,r,t,a,n){if(!e)return e;if(!a)a={"!id":{}};var i={"!type":"chart","!drawel":null,"!rel":""};var s;var f=e.match(Fv);if(f)Uv(f[0],i,n,t);if(s=e.match(/drawing r:id="(.*?)"/))i["!rel"]=s[1];if(a["!id"][i["!rel"]])i["!drawel"]=a["!id"][i["!rel"]];return i}function Cm(e,r){e.l+=10;var t=rn(e,r-10);return{name:t}}function _m(e,r,t,a,n){if(!e)return e;if(!a)a={"!id":{}};var i={"!type":"chart","!drawel":null,"!rel":""};var s=[];var f=false;Ea(e,function l(e,a,o){switch(o){case 550:i["!rel"]=e;break;case 651:if(!n.Sheets[t])n.Sheets[t]={};if(e.name)n.Sheets[t].CodeName=e.name;break;case 562:;case 652:;case 669:;case 679:;case 551:;case 552:;case 476:;case 3072:break;case 35:f=true;break;case 36:f=false;break;case 37:s.push(o);break;case 38:s.pop();break;default:if(a.T>0)s.push(o);else if(a.T<0)s.pop();else if(!f||r.WTF)throw new Error("Unexpected record 0x"+o.toString(16));}},r);if(a["!id"][i["!rel"]])i["!drawel"]=a["!id"][i["!rel"]];return i}var Sm=[["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 xm=[["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 Om=[];var Rm=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function Im(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]]=pt(a[i[0]]);break;case"int":if(typeof a[i[0]]=="string")a[i[0]]=parseInt(a[i[0]],10);break;}}}}function Nm(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]]=pt(e[a[0]]);break;case"int":if(typeof e[a[0]]=="string")e[a[0]]=parseInt(e[a[0]],10);break;}}}function Fm(e){Nm(e.WBProps,Sm);Nm(e.CalcPr,Rm);Im(e.WBView,xm);Im(e.Sheets,Om);gv.date1904=pt(e.WBProps.date1904)}function Dm(e){if(!e.Workbook)return"false";if(!e.Workbook.WBProps)return"false";return pt(e.Workbook.WBProps.date1904)?"true":"false"}var Pm=":][*?/\\".split("");function Lm(e,r){try{if(e=="")throw new Error("Sheet name cannot be blank");if(e.length>31)throw new Error("Sheet name cannot exceed 31 chars");if(e.charCodeAt(0)==39||e.charCodeAt(e.length-1)==39)throw new Error("Sheet name cannot start or end with apostrophe (')");if(e.toLowerCase()=="history")throw new Error("Sheet name cannot be 'History'");Pm.forEach(function(r){if(e.indexOf(r)==-1)return;throw new Error("Sheet name cannot contain : \\ / ? * [ ]")})}catch(t){if(r)return false;throw t}return true}function Mm(e,r,t){e.forEach(function(a,n){Lm(a);for(var i=0;i<n;++i)if(a==e[i])throw new Error("Duplicate Sheet Name: "+a);if(t){var s=r&&r[n]&&r[n].CodeName||a;if(s.charCodeAt(0)==95&&s.length>22)throw new Error("Bad Code Name: Worksheet"+s)}})}function Um(e){if(!e||!e.SheetNames||!e.Sheets)throw new Error("Invalid Workbook");if(!e.SheetNames.length)throw new Error("Workbook is empty");var r=e.Workbook&&e.Workbook.Sheets||[];Mm(e.SheetNames,r,!!e.vbaraw);for(var t=0;t<e.SheetNames.length;++t)Ev(e.Sheets[e.SheetNames[t]],e.SheetNames[t],t);e.SheetNames.forEach(function(r,t){var a=e.Sheets[r];if(!a||!a["!autofilter"])return;var n;if(!e.Workbook)e.Workbook={};if(!e.Workbook.Names)e.Workbook.Names=[];e.Workbook.Names.forEach(function(e){if(e.Name=="_xlnm._FilterDatabase"&&e.Sheet==t)n=e});var i=$a(r)+"!"+Xa(a["!autofilter"].ref);if(n)n.Ref=i;else e.Workbook.Names.push({Name:"_xlnm._FilterDatabase",Sheet:t,Ref:i})})}var Bm=/<\w+:workbook/;function Wm(e,r){if(!e)throw new Error("Could not find file");var t={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},Names:[],xmlns:""};var a=false,n="xmlns";var i={},s=0;e.replace(qr,function f(l,o){var c=rt(l);switch(tt(c[0])){case"<?xml":break;case"<workbook":if(l.match(Bm))n="xmlns"+l.match(/<(\w+):/)[1];t.xmlns=c[n];break;case"</workbook>":break;case"<fileVersion":delete c[0];t.AppVersion=c;break;case"<fileVersion/>":;case"</fileVersion>":break;case"<fileSharing":break;case"<fileSharing/>":break;case"<workbookPr":;case"<workbookPr/>":Sm.forEach(function(e){if(c[e[0]]==null)return;switch(e[2]){case"bool":t.WBProps[e[0]]=pt(c[e[0]]);break;case"int":t.WBProps[e[0]]=parseInt(c[e[0]],10);break;default:t.WBProps[e[0]]=c[e[0]];}});if(c.codeName)t.WBProps.CodeName=kt(c.codeName);break;case"</workbookPr>":break;case"<workbookProtection":break;case"<workbookProtection/>":break;case"<bookViews":;case"<bookViews>":;case"</bookViews>":break;case"<workbookView":;case"<workbookView/>":delete c[0];t.WBView.push(c);break;case"</workbookView>":break;case"<sheets":;case"<sheets>":;case"</sheets>":break;case"<sheet":switch(c.state){case"hidden":c.Hidden=1;break;case"veryHidden":c.Hidden=2;break;default:c.Hidden=0;}delete c.state;c.name=it(kt(c.name));delete c[0];t.Sheets.push(c);break;case"</sheet>":break;case"<functionGroups":;case"<functionGroups/>":break;case"<functionGroup":break;case"<externalReferences":;case"</externalReferences>":;case"<externalReferences>":break;case"<externalReference":break;case"<definedNames/>":break;case"<definedNames>":;case"<definedNames":a=true;break;case"</definedNames>":a=false;break;case"<definedName":{i={};i.Name=kt(c.name);if(c.comment)i.Comment=c.comment;if(c.localSheetId)i.Sheet=+c.localSheetId;if(pt(c.hidden||"0"))i.Hidden=true;s=o+l.length}break;case"</definedName>":{i.Ref=it(kt(e.slice(s,o)));t.Names.push(i)}break;case"<definedName/>":break;case"<calcPr":delete c[0];t.CalcPr=c;break;case"<calcPr/>":delete c[0];t.CalcPr=c;break;case"</calcPr>":break;case"<oleSize":break;case"<customWorkbookViews>":;case"</customWorkbookViews>":;case"<customWorkbookViews":break;case"<customWorkbookView":;case"</customWorkbookView>":break;case"<pivotCaches>":;case"</pivotCaches>":;case"<pivotCaches":break;case"<pivotCache":break;case"<smartTagPr":;case"<smartTagPr/>":break;case"<smartTagTypes":;case"<smartTagTypes>":;case"</smartTagTypes>":break;case"<smartTagType":break;case"<webPublishing":;case"<webPublishing/>":break;case"<fileRecoveryPr":;case"<fileRecoveryPr/>":break;case"<webPublishObjects>":;case"<webPublishObjects":;case"</webPublishObjects>":break;case"<webPublishObject":break;case"<extLst":;case"<extLst>":;case"</extLst>":;case"<extLst/>":break;case"<ext":a=true;break;case"</ext>":a=false;break;case"<ArchID":break;case"<AlternateContent":;case"<AlternateContent>":a=true;break;case"</AlternateContent>":a=false;break;case"<revisionPtr":break;default:if(!a&&r.WTF)throw new Error("unrecognized "+c[0]+" in workbook");}return l});if(Mt.indexOf(t.xmlns)===-1)throw new Error("Unknown Namespace: "+t.xmlns);Fm(t);return t}function zm(e){var r=[Kr];r[r.length]=It("workbook",null,{xmlns:Mt[0],"xmlns:r":Lt.r});var t=e.Workbook&&(e.Workbook.Names||[]).length>0;var a={codeName:"ThisWorkbook"};if(e.Workbook&&e.Workbook.WBProps){Sm.forEach(function(r){if(e.Workbook.WBProps[r[0]]==null)return;if(e.Workbook.WBProps[r[0]]==r[1])return;a[r[0]]=e.Workbook.WBProps[r[0]]});if(e.Workbook.WBProps.CodeName){a.codeName=e.Workbook.WBProps.CodeName;delete a.CodeName}}r[r.length]=It("workbookPr",null,a);var n=e.Workbook&&e.Workbook.Sheets||[];var i=0;if(n&&n[0]&&!!n[0].Hidden){r[r.length]="<bookViews>";for(i=0;i!=e.SheetNames.length;++i){if(!n[i])break;if(!n[i].Hidden)break}if(i==e.SheetNames.length)i=0;r[r.length]='<workbookView firstSheet="'+i+'" activeTab="'+i+'"/>';r[r.length]="</bookViews>"}r[r.length]="<sheets>";for(i=0;i!=e.SheetNames.length;++i){var s={name:lt(e.SheetNames[i].slice(0,31))};s.sheetId=""+(i+1);s["r:id"]="rId"+(i+1);if(n[i])switch(n[i].Hidden){case 1:s.state="hidden";break;case 2:s.state="veryHidden";break;}r[r.length]=It("sheet",null,s)}r[r.length]="</sheets>";if(t){r[r.length]="<definedNames>";if(e.Workbook&&e.Workbook.Names)e.Workbook.Names.forEach(function(e){var t={name:e.Name};if(e.Comment)t.comment=e.Comment;if(e.Sheet!=null)t.localSheetId=""+e.Sheet;if(e.Hidden)t.hidden="1";if(!e.Ref)return;r[r.length]=It("definedName",lt(e.Ref),t)});r[r.length]="</definedNames>"}if(r.length>2){r[r.length]="</workbook>";r[1]=r[1].replace("/>",">")}return r.join("")}function Hm(e,r){var t={};t.Hidden=e._R(4);t.iTabID=e._R(4);t.strRelID=wn(e,r-8);t.name=rn(e);return t}function Vm(e,r){if(!r)r=ya(127);r._W(4,e.Hidden);r._W(4,e.iTabID);kn(e.strRelID,r);tn(e.name.slice(0,31),r);return r.length>r.l?r.slice(0,r.l):r}function Xm(e,r){var t={};var a=e._R(4);t.defaultThemeVersion=e._R(4);var n=r>8?rn(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 $m(e,r){if(!r)r=ya(72);var t=0;if(e){if(e.date1904)t|=1;if(e.filterPrivacy)t|=8}r._W(4,t);r._W(4,0);pn(e&&e.CodeName||"ThisWorkbook",r);return r.slice(0,r.l)}function Gm(e,r){var t={};e._R(4);t.ArchID=e._R(4);e.l+=r-8;return t}function jm(e,r,t){var a=e.l+r;var n=e._R(4);e.l+=1;var i=e._R(4);var s=bn(e);var f=Yd(e,0,t);var l=mn(e);if(n&32)s="_xlnm."+s;e.l=a;var o={Name:s,Ptg:f,Flags:n};if(i<268435455)o.Sheet=i;if(l)o.Comment=l;return o}function Km(e,r){var t=ya(9);var a=0;var n=e.Name;if(ni.indexOf(n)>-1){a|=32;n=n.slice(6)}t._W(4,a);t._W(1,0);t._W(4,e.Sheet==null?4294967295:e.Sheet);var i=[t,tn(n),lv(e.Ref,r)];if(e.Comment)i.push(gn(e.Comment));else{var s=ya(4);s._W(4,4294967295);i.push(s)}return P(i)}function Ym(e,r){var t={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""};var a=[];var n=false;if(!r)r={};r.biff=12;var i=[];var s=[[]];s.SheetNames=[];s.XTI=[];Qg[16]={n:"BrtFRTArchID$",f:Gm};Ea(e,function f(e,l,o){switch(o){case 156:s.SheetNames.push(e.name);t.Sheets.push(e);break;case 153:t.WBProps=e;break;case 39:if(e.Sheet!=null)r.SID=e.Sheet;e.Ref=Md(e.Ptg,null,null,s,r);delete r.SID;delete e.Ptg;i.push(e);break;case 1036:break;case 357:;case 358:;case 355:;case 667:if(!s[0].length)s[0]=[o,e];else s.push([o,e]);s[s.length-1].XTI=[];break;case 362:if(s.length===0){s[0]=[];s[0].XTI=[]}s[s.length-1].XTI=s[s.length-1].XTI.concat(e);s.XTI=s.XTI.concat(e);break;case 361:break;case 2071:;case 158:;case 143:;case 664:;case 353:break;case 3072:;case 3073:;case 534:;case 677:;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.push(o);n=true;break;case 36:a.pop();n=false;break;case 37:a.push(o);n=true;break;case 38:a.pop();n=false;break;case 16:break;default:if(l.T){}else if(!n||r.WTF&&a[a.length-1]!=37&&a[a.length-1]!=35)throw new Error("Unexpected record 0x"+o.toString(16));}},r);Fm(t);t.Names=i;t.supbooks=s;return t}function Zm(e,r){_a(e,143);for(var t=0;t!=r.SheetNames.length;++t){var a=r.Workbook&&r.Workbook.Sheets&&r.Workbook.Sheets[t]&&r.Workbook.Sheets[t].Hidden||0;var n={Hidden:a,iTabID:t+1,strRelID:"rId"+(t+1),name:r.SheetNames[t]};_a(e,156,Vm(n))}_a(e,144)}function Jm(r,t){if(!t)t=ya(127);for(var a=0;a!=4;++a)t._W(4,0);tn("SheetJS",t);tn(e.version,t);tn(e.version,t);tn("7262",t);return t.length>t.l?t.slice(0,t.l):t}function qm(e,r){if(!r)r=ya(29);r._W(-4,0);r._W(-4,460);r._W(4,28800);r._W(4,17600);r._W(4,500);r._W(4,e);r._W(4,e);var t=120;r._W(1,t);return r.length>r.l?r.slice(0,r.l):r}function Qm(e,r){if(!r.Workbook||!r.Workbook.Sheets)return;var t=r.Workbook.Sheets;var a=0,n=-1,i=-1;for(;a<t.length;++a){if(!t[a]||!t[a].Hidden&&n==-1)n=a;else if(t[a].Hidden==1&&i==-1)i=a}if(i>n)return;_a(e,135);_a(e,158,qm(n));_a(e,136)}function eg(e,r){if(!r.Workbook||!r.Workbook.Names)return;r.Workbook.Names.forEach(function(t){try{if(t.Flags&14)return;_a(e,39,Km(t,r))}catch(a){console.error("Could not serialize defined name "+JSON.stringify(t))}})}function rg(e){var r=e.SheetNames.length;var t=ya(12*r+28);t._W(4,r+2);t._W(4,0);t._W(4,-2);t._W(4,-2);t._W(4,0);t._W(4,-1);t._W(4,-1);for(var a=0;a<r;++a){t._W(4,0);t._W(4,a);t._W(4,a)}return t}function tg(e,r){_a(e,353);_a(e,357);_a(e,362,rg(r,0));_a(e,354)}function ag(e,r){var t=Ca();_a(t,131);_a(t,128,Jm());_a(t,153,$m(e.Workbook&&e.Workbook.WBProps||null));Qm(t,e,r);Zm(t,e,r);tg(t,e);if((e.Workbook||{}).Names)eg(t,e);_a(t,132);return t.end()}function ng(e,r,t){if(r.slice(-4)===".bin")return Ym(e,t);return Wm(e,t)}function ig(e,r,t,a,n,i,s,f){if(r.slice(-4)===".bin")return om(e,a,t,n,i,s,f);return Lv(e,a,t,n,i,s,f)}function sg(e,r,t,a,n,i,s,f){if(r.slice(-4)===".bin")return _m(e,a,t,n,i,s,f);return Em(e,a,t,n,i,s,f)}function fg(e,r,t,a,n,i,s,f){if(r.slice(-4)===".bin")return Qh(e,a,t,n,i,s,f);return eu(e,a,t,n,i,s,f)}function lg(e,r,t,a,n,i,s,f){if(r.slice(-4)===".bin")return Jh(e,a,t,n,i,s,f);return qh(e,a,t,n,i,s,f)}function og(e,r,t,a){if(r.slice(-4)===".bin")return Lc(e,t,a);return wc(e,t,a)}function cg(e,r,t){if(r.slice(-4)===".bin")return uo(e,t);return lo(e,t)}function hg(e,r,t){if(r.slice(-4)===".bin")return $h(e,t);return Ph(e,t)}function ug(e,r,t){if(r.slice(-4)===".bin")return _h(e,r,t);return Eh(e,r,t)}function dg(e,r,t,a){if(t.slice(-4)===".bin")return xh(e,r,t,a);return Sh(e,r,t,a)}function vg(e,r,t){if(r.slice(-4)===".bin")return kh(e,r,t);return Ah(e,r,t)}var pg=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g;var mg=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;function gg(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(pg),i,s,f,l;if(n)for(l=0;l!=n.length;++l){i=n[l].match(mg);if((s=i[1].indexOf(":"))===-1)a[i[1]]=i[2].slice(1,i[2].length-1);else{if(i[1].slice(0,6)==="xmlns:")f="xmlns"+i[1].slice(6);else f=i[1].slice(s+1);a[f]=i[2].slice(1,i[2].length-1)}}return a}function bg(e){var r=e.split(/\s+/);var t={};if(r.length===1)return t;var a=e.match(pg),n,i,s,f;if(a)for(f=0;f!=a.length;++f){n=a[f].match(mg);if((i=n[1].indexOf(":"))===-1)t[n[1]]=n[2].slice(1,n[2].length-1);else{if(n[1].slice(0,6)==="xmlns:")s="xmlns"+n[1].slice(6);else s=n[1].slice(i+1);t[s]=n[2].slice(1,n[2].length-1)}}return t}var wg;function kg(e,r,t){var a=wg[e]||it(e);if(a==="General")return oe(r);return ze(a,r,{date1904:!!t})}function Tg(e,r,t,a){var n=a;switch((t[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":n=pt(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=wr(a);break;case"i8":;case"string":;case"fixed":;case"uuid":;case"bin.base64":break;default:throw new Error("bad custprop:"+t[0]);}e[it(r)]=n}function Ag(e,r,t,a){if(e.t==="z")return;if(!t||t.cellText!==false)try{if(e.t==="e"){e.w=e.w||ti[e.v]}else if(r==="General"){if(e.t==="n"){if((e.v|0)===e.v)e.w=e.v.toString(10);else e.w=le(e.v)}else e.w=oe(e.v)}else e.w=kg(r||"General",e.v,a)}catch(n){if(t.WTF)throw n}try{var i=wg[r]||r||"General";if(t.cellNF)e.z=i;if(t.cellDates&&e.t=="n"&&Le(i)){var s=ae(e.v+(a?1462:0));if(s){e.t="d";e.v=new Date(Date.UTC(s.y,s.m-1,s.d,s.H,s.M,s.S,s.u))}}}catch(n){if(t.WTF)throw n}}function yg(e,r,t){if(t.cellStyles){if(r.Interior){var a=r.Interior;if(a.Pattern)a.patternType=oc[a.Pattern]||a.Pattern}}e[r.ID]=r}function Eg(e,r,t,a,n,i,s,f,l,o,c){var h="General",u=a.StyleID,d={};o=o||{};var v=[];var p=0;if(u===undefined&&f)u=f.StyleID;if(u===undefined&&s)u=s.StyleID;while(i[u]!==undefined){if(i[u].nf)h=i[u].nf;if(i[u].Interior)v.push(i[u].Interior);if(!i[u].Parent)break;u=i[u].Parent}switch(t.Type){case"Boolean":a.t="b";a.v=pt(e);break;case"String":a.t="s";a.r=dt(it(e));a.v=e.indexOf("<")>-1?it(r||e).replace(/<.*?>/g,""):a.r;break;case"DateTime":if(e.slice(-1)!="Z")e+="Z";a.v=dr(wr(e,c),c);if(a.v!==a.v)a.v=it(e);if(!h||h=="General")h="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=ai[e];if(o.cellText!==false)a.w=e;break;default:if(e==""&&r==""){a.t="z"}else{a.t="s";a.v=dt(r||e)}break;}Ag(a,h,o,c);if(o.cellFormula!==false){if(a.Formula){var m=it(a.Formula);if(m.charCodeAt(0)==61)m=m.slice(1);a.f=ru(m,n);delete a.Formula;if(a.ArrayRange=="RC")a.F=ru("RC:RC",n);else if(a.ArrayRange){a.F=ru(a.ArrayRange,n);l.push([Ga(a.F),a.F])}}else{for(p=0;p<l.length;++p)if(n.r>=l[p][0].s.r&&n.r<=l[p][0].e.r)if(n.c>=l[p][0].s.c&&n.c<=l[p][0].e.c)a.F=l[p][1]}}if(o.cellStyles){v.forEach(function(e){if(!d.patternType&&e.patternType)d.patternType=e.patternType});a.s=d}if(a.StyleID!==undefined)a.ixfe=a.StyleID}function Cg(e){return ni.indexOf("_xlnm."+e)>-1?"_xlnm."+e:e}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 Sg(e,r){var t=r||{};Xe();var n=v(Dt(e));if(t.type=="binary"||t.type=="array"||t.type=="base64"){if(typeof a!=="undefined")n=a.utils.decode(65001,c(n));else n=kt(n)}var i=n.slice(0,1024).toLowerCase(),s=false;i=i.replace(/".*?"/g,"");if((i.indexOf(">")&1023)>Math.min(i.indexOf(",")&1023,i.indexOf(";")&1023)){var f=Tr(t);f.type="string";return Yl.to_workbook(n,f)}if(i.indexOf("<?xml")==-1)["html","table","head","meta","script","style","div"].forEach(function(e){if(i.indexOf("<"+e)>=0)s=true});if(s)return xb(n,t);wg={"General Number":"General","General Date":q[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":q[15],"Short Date":q[14],"Long Time":q[19],"Medium Time":q[18],"Short Time":q[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:q[2],Standard:q[4],Percent:q[10],Scientific:q[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'};var l;var o=[],h;if(b!=null&&t.dense==null)t.dense=b; +var u={},d=[],p={},m="";if(t.dense)p["!data"]=[];var g={},w={};var k=gg('<Data ss:Type="String">'),T=0;var A=0,y=0;var E={s:{r:2e6,c:2e6},e:{r:0,c:0}};var C={},_={};var S="",x=0;var O=[];var R={},I={},N=0,F=[];var D=[],P={};var L=[],M,U=false;var B=[];var W=[],z={},H=0,V=0;var X={Sheets:[],WBProps:{date1904:false}},$={};Pt.lastIndex=0;n=n.replace(/<!--([\s\S]*?)-->/gm,"");var G="";while(l=Pt.exec(n))switch(l[3]=(G=l[3]).toLowerCase()){case"data":if(G=="data"){if(l[1]==="/"){if((h=o.pop())[0]!==l[3])throw new Error("Bad state: "+h.join("|"))}else if(l[0].charAt(l[0].length-2)!=="/")o.push([l[3],true]);break}if(o[o.length-1][1])break;if(l[1]==="/")Eg(n.slice(T,l.index),S,k,o[o.length-1][0]=="comment"?P:g,{c:A,r:y},C,L[A],w,B,t,X.WBProps.date1904);else{S="";k=gg(l[0]);T=l.index+l[0].length}break;case"cell":if(l[1]==="/"){if(D.length>0)g.c=D;if((!t.sheetRows||t.sheetRows>y)&&g.v!==void 0){if(t.dense){if(!p["!data"][y])p["!data"][y]=[];p["!data"][y][A]=g}else p[La(A)+Na(y)]=g}if(g.HRef){g.l={Target:it(g.HRef)};if(g.HRefScreenTip)g.l.Tooltip=g.HRefScreenTip;delete g.HRef;delete g.HRefScreenTip}if(g.MergeAcross||g.MergeDown){H=A+(parseInt(g.MergeAcross,10)|0);V=y+(parseInt(g.MergeDown,10)|0);if(H>A||V>y)O.push({s:{c:A,r:y},e:{c:H,r:V}})}if(!t.sheetStubs){if(g.MergeAcross)A=H+1;else++A}else if(g.MergeAcross||g.MergeDown){for(var j=A;j<=H;++j){for(var K=y;K<=V;++K){if(j>A||K>y){if(t.dense){if(!p["!data"][K])p["!data"][K]=[];p["!data"][K][j]={t:"z"}}else p[La(j)+Na(K)]={t:"z"}}}}A=H+1}else++A}else{g=bg(l[0]);if(g.Index)A=+g.Index-1;if(A<E.s.c)E.s.c=A;if(A>E.e.c)E.e.c=A;if(l[0].slice(-2)==="/>")++A;D=[]}break;case"row":if(l[1]==="/"||l[0].slice(-2)==="/>"){if(y<E.s.r)E.s.r=y;if(y>E.e.r)E.e.r=y;if(l[0].slice(-2)==="/>"){w=gg(l[0]);if(w.Index)y=+w.Index-1}A=0;++y}else{w=gg(l[0]);if(w.Index)y=+w.Index-1;z={};if(w.AutoFitHeight=="0"||w.Height){z.hpx=parseInt(w.Height,10);z.hpt=fc(z.hpx);W[y]=z}if(w.Hidden=="1"){z.hidden=true;W[y]=z}}break;case"worksheet":if(l[1]==="/"){if((h=o.pop())[0]!==l[3])throw new Error("Bad state: "+h.join("|"));d.push(m);if(E.s.r<=E.e.r&&E.s.c<=E.e.c){p["!ref"]=Va(E);if(t.sheetRows&&t.sheetRows<=E.e.r){p["!fullref"]=p["!ref"];E.e.r=t.sheetRows-1;p["!ref"]=Va(E)}}if(O.length)p["!merges"]=O;if(L.length>0)p["!cols"]=L;if(W.length>0)p["!rows"]=W;u[m]=p}else{E={s:{r:2e6,c:2e6},e:{r:0,c:0}};y=A=0;o.push([l[3],false]);h=gg(l[0]);m=it(h.Name);p={};if(t.dense)p["!data"]=[];O=[];B=[];W=[];$={name:m,Hidden:0};X.Sheets.push($)}break;case"table":if(l[1]==="/"){if((h=o.pop())[0]!==l[3])throw new Error("Bad state: "+h.join("|"))}else if(l[0].slice(-2)=="/>")break;else{o.push([l[3],false]);L=[];U=false}break;case"style":if(l[1]==="/")yg(C,_,t);else _=gg(l[0]);break;case"numberformat":_.nf=it(gg(l[0]).Format||"General");if(wg[_.nf])_.nf=wg[_.nf];for(var Y=0;Y!=392;++Y)if(q[Y]==_.nf)break;if(Y==392)for(Y=57;Y!=392;++Y)if(q[Y]==null){Je(_.nf,Y);break}break;case"column":if(o[o.length-1][0]!=="table")break;if(l[1]==="/")break;M=gg(l[0]);if(M.Hidden){M.hidden=true;delete M.Hidden}if(M.Width)M.wpx=parseInt(M.Width,10);if(!U&&M.wpx>10){U=true;qo=Yo;for(var Z=0;Z<L.length;++Z)if(L[Z])nc(L[Z])}if(U)nc(M);L[M.Index-1||L.length]=M;for(var J=0;J<+M.Span;++J)L[L.length]=Tr(M);break;case"namedrange":if(l[1]==="/")break;if(!X.Names)X.Names=[];var Q=rt(l[0]);var ee={Name:Cg(Q.Name),Ref:ru(Q.RefersTo.slice(1),{r:0,c:0})};if(X.Sheets.length>0)ee.Sheet=X.Sheets.length-1;X.Names.push(ee);break;case"namedcell":break;case"b":break;case"i":break;case"u":break;case"s":break;case"em":break;case"h2":break;case"h3":break;case"sub":break;case"sup":break;case"span":break;case"alignment":break;case"borders":break;case"border":break;case"font":if(l[0].slice(-2)==="/>")break;else if(l[1]==="/")S+=n.slice(x,l.index);else x=l.index+l[0].length;break;case"interior":if(!t.cellStyles)break;_.Interior=gg(l[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":;case"appname":if(l[0].slice(-2)==="/>")break;else if(l[1]==="/")Mi(R,G,n.slice(N,l.index));else N=l.index+l[0].length;break;case"paragraphs":break;case"styles":;case"workbook":if(l[1]==="/"){if((h=o.pop())[0]!==l[3])throw new Error("Bad state: "+h.join("|"))}else o.push([l[3],false]);break;case"comment":if(l[1]==="/"){if((h=o.pop())[0]!==l[3])throw new Error("Bad state: "+h.join("|"));_g(P);D.push(P)}else{o.push([l[3],false]);h=gg(l[0]);if(!pt(h["ShowAlways"]||"0"))D.hidden=true;P={a:h.Author}}break;case"autofilter":if(l[1]==="/"){if((h=o.pop())[0]!==l[3])throw new Error("Bad state: "+h.join("|"))}else if(l[0].charAt(l[0].length-2)!=="/"){var re=gg(l[0]);p["!autofilter"]={ref:ru(re.Range).replace(/\$/g,"")};o.push([l[3],true])}break;case"name":break;case"datavalidation":if(l[1]==="/"){if((h=o.pop())[0]!==l[3])throw new Error("Bad state: "+h.join("|"))}else{if(l[0].charAt(l[0].length-2)!=="/")o.push([l[3],true])}break;case"pixelsperinch":break;case"componentoptions":;case"documentproperties":;case"customdocumentproperties":;case"officedocumentsettings":;case"pivottable":;case"pivotcache":;case"names":;case"mapinfo":;case"pagebreaks":;case"querytable":;case"sorting":;case"schema":;case"conditionalformatting":;case"smarttagtype":;case"smarttags":;case"excelworkbook":;case"workbookoptions":;case"worksheetoptions":if(l[1]==="/"){if((h=o.pop())[0]!==l[3])throw new Error("Bad state: "+h.join("|"))}else if(l[0].charAt(l[0].length-2)!=="/")o.push([l[3],true]);break;case"null":break;default:if(o.length==0&&l[3]=="document")return Wb(n,t);if(o.length==0&&l[3]=="uof")return Wb(n,t);var te=true;switch(o[o.length-1][0]){case"officedocumentsettings":switch(l[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"targetscreensize":break;case"readonlyrecommended":break;default:te=false;}break;case"componentoptions":switch(l[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:te=false;}break;case"excelworkbook":switch(l[3]){case"date1904":X.WBProps.date1904=true;break;case"hidehorizontalscrollbar":break;case"hideverticalscrollbar":break;case"hideworkbooktabs":break;case"windowheight":break;case"windowwidth":break;case"windowtopx":break;case"windowtopy":break;case"tabratio":break;case"protectstructure":break;case"protectwindow":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:te=false;}break;case"workbookoptions":switch(l[3]){case"owcversion":break;case"height":break;case"width":break;default:te=false;}break;case"worksheetoptions":switch(l[3]){case"visible":if(l[0].slice(-2)==="/>"){}else if(l[1]==="/")switch(n.slice(N,l.index)){case"SheetHidden":$.Hidden=1;break;case"SheetVeryHidden":$.Hidden=2;break;}else N=l.index+l[0].length;break;case"header":if(!p["!margins"])Tv(p["!margins"]={},"xlml");if(!isNaN(+rt(l[0]).Margin))p["!margins"].header=+rt(l[0]).Margin;break;case"footer":if(!p["!margins"])Tv(p["!margins"]={},"xlml");if(!isNaN(+rt(l[0]).Margin))p["!margins"].footer=+rt(l[0]).Margin;break;case"pagemargins":var ae=rt(l[0]);if(!p["!margins"])Tv(p["!margins"]={},"xlml");if(!isNaN(+ae.Top))p["!margins"].top=+ae.Top;if(!isNaN(+ae.Left))p["!margins"].left=+ae.Left;if(!isNaN(+ae.Right))p["!margins"].right=+ae.Right;if(!isNaN(+ae.Bottom))p["!margins"].bottom=+ae.Bottom;break;case"displayrighttoleft":if(!X.Views)X.Views=[];if(!X.Views[0])X.Views[0]={};X.Views[0].RTL=true;break;case"freezepanes":break;case"frozennosplit":break;case"splithorizontal":;case"splitvertical":break;case"donotdisplaygridlines":break;case"activerow":break;case"activecol":break;case"toprowbottompane":break;case"leftcolumnrightpane":break;case"unsynced":break;case"print":break;case"printerrors":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"activepane":break;case"toprowvisible":break;case"leftcolumnvisible":break;case"fittopage":break;case"rangeselection":break;case"papersizeindex":break;case"pagelayoutzoom":break;case"pagebreakzoom":break;case"filteron":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":if(!p["!outline"])p["!outline"]={};p["!outline"].above=true;break;case"tabcolorindex":break;case"donotdisplayheadings":break;case"showpagelayoutzoom":break;case"nosummarycolumnsrightdetail":if(!p["!outline"])p["!outline"]={};p["!outline"].left=true;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:te=false;}break;case"pivottable":;case"pivotcache":switch(l[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:te=false;}break;case"pagebreaks":switch(l[3]){case"colbreaks":break;case"colbreak":break;case"rowbreaks":break;case"rowbreak":break;case"colstart":break;case"colend":break;case"rowend":break;default:te=false;}break;case"autofilter":switch(l[3]){case"autofiltercolumn":break;case"autofiltercondition":break;case"autofilterand":break;case"autofilteror":break;default:te=false;}break;case"querytable":switch(l[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:te=false;}break;case"datavalidation":switch(l[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"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;case"cellrangelist":break;default:te=false;}break;case"sorting":;case"conditionalformatting":switch(l[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:te=false;}break;case"mapinfo":;case"schema":;case"data":switch(l[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:te=false;}break;case"smarttags":break;default:te=false;break;}if(te)break;if(l[3].match(/!\[CDATA/))break;if(!o[o.length-1][1])throw"Unrecognized tag: "+l[3]+"|"+o.join("|");if(o[o.length-1][0]==="customdocumentproperties"){if(l[0].slice(-2)==="/>")break;else if(l[1]==="/")Tg(I,G,F,n.slice(N,l.index));else{F=l;N=l.index+l[0].length}break}if(t.WTF)throw"Unrecognized tag: "+l[3]+"|"+o.join("|");}var ne={};if(!t.bookSheets&&!t.bookProps)ne.Sheets=u;ne.SheetNames=d;ne.Workbook=X;ne.SSF=Tr(q);ne.Props=R;ne.Custprops=I;ne.bookType="xlml";return ne}function xg(e,r){ek(r=r||{});switch(r.type||"base64"){case"base64":return Sg(E(e),r);case"binary":;case"buffer":;case"file":return Sg(e,r);case"array":return Sg(N(e),r);}}function Og(e,r){var t=[];if(e.Props)t.push(Ui(e.Props,r));if(e.Custprops)t.push(Bi(e.Props,e.Custprops,r));return t.join("")}function Rg(e){if((((e||{}).Workbook||{}).WBProps||{}).date1904)return'<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel"><Date1904/></ExcelWorkbook>';return""}function Ig(e,r){var t=['<Style ss:ID="Default" ss:Name="Normal"><NumberFormat/></Style>'];r.cellXfs.forEach(function(e,r){var a=[];a.push(It("NumberFormat",null,{"ss:Format":lt(q[e.numFmtId])}));var n={"ss:ID":"s"+(21+r)};t.push(It("Style",a.join(""),n))});return It("Styles",t.join(""))}function Ng(e){return It("NamedRange",null,{"ss:Name":e.Name.slice(0,6)=="_xlnm."?e.Name.slice(6):e.Name,"ss:RefersTo":"="+nu(e.Ref,{r:0,c:0})})}function Fg(e){if(!((e||{}).Workbook||{}).Names)return"";var r=e.Workbook.Names;var t=[];for(var a=0;a<r.length;++a){var n=r[a];if(n.Sheet!=null)continue;if(n.Name.match(/^_xlfn\./))continue;t.push(Ng(n))}return It("Names",t.join(""))}function Dg(e,r,t,a){if(!e)return"";if(!((a||{}).Workbook||{}).Names)return"";var n=a.Workbook.Names;var i=[];for(var s=0;s<n.length;++s){var f=n[s];if(f.Sheet!=t)continue;if(f.Name.match(/^_xlfn\./))continue;i.push(Ng(f))}return i.join("")}function Pg(e,r,t,a){if(!e)return"";var n=[];if(e["!margins"]){n.push("<PageSetup>");if(e["!margins"].header)n.push(It("Header",null,{"x:Margin":e["!margins"].header}));if(e["!margins"].footer)n.push(It("Footer",null,{"x:Margin":e["!margins"].footer}));n.push(It("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("</PageSetup>")}if(a&&a.Workbook&&a.Workbook.Sheets&&a.Workbook.Sheets[t]){if(a.Workbook.Sheets[t].Hidden)n.push(It("Visible",a.Workbook.Sheets[t].Hidden==1?"SheetHidden":"SheetVeryHidden",{}));else{for(var i=0;i<t;++i)if(a.Workbook.Sheets[i]&&!a.Workbook.Sheets[i].Hidden)break;if(i==t)n.push("<Selected/>")}}if(((((a||{}).Workbook||{}).Views||[])[0]||{}).RTL)n.push("<DisplayRightToLeft/>");if(e["!protect"]){n.push(Ot("ProtectContents","True"));if(e["!protect"].objects)n.push(Ot("ProtectObjects","True"));if(e["!protect"].scenarios)n.push(Ot("ProtectScenarios","True"));if(e["!protect"].selectLockedCells!=null&&!e["!protect"].selectLockedCells)n.push(Ot("EnableSelection","NoSelection"));else if(e["!protect"].selectUnlockedCells!=null&&!e["!protect"].selectUnlockedCells)n.push(Ot("EnableSelection","UnlockedCells"));[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","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 It("WorksheetOptions",n.join(""),{xmlns:Ut.x})}function Lg(e){return e.map(function(r){var t=vt(r.t||"");var a=It("ss:Data",t,{xmlns:"http://www.w3.org/TR/REC-html40"});var n={};if(r.a)n["ss:Author"]=r.a;if(!e.hidden)n["ss:ShowAlways"]="1";return It("Comment",a,n)}).join("")}function Mg(e,r,t,a,n,i,s){if(!e||e.v==undefined&&e.f==undefined)return"";var f={};if(e.f)f["ss:Formula"]="="+lt(nu(e.f,s));if(e.F&&e.F.slice(0,r.length)==r){var l=Wa(e.F.slice(r.length+1));f["ss:ArrayRange"]="RC:R"+(l.r==s.r?"":"["+(l.r-s.r)+"]")+"C"+(l.c==s.c?"":"["+(l.c-s.c)+"]")}if(e.l&&e.l.Target){f["ss:HRef"]=lt(e.l.Target);if(e.l.Tooltip)f["x:HRefScreenTip"]=lt(e.l.Tooltip)}if(t["!merges"]){var o=t["!merges"];for(var c=0;c!=o.length;++c){if(o[c].s.c!=s.c||o[c].s.r!=s.r)continue;if(o[c].e.c>o[c].s.c)f["ss:MergeAcross"]=o[c].e.c-o[c].s.c;if(o[c].e.r>o[c].s.r)f["ss:MergeDown"]=o[c].e.r-o[c].s.r}}var h="",u="";switch(e.t){case"z":if(!a.sheetStubs)return"";break;case"n":h="Number";u=String(e.v);break;case"b":h="Boolean";u=e.v?"1":"0";break;case"e":h="Error";u=ti[e.v];break;case"d":h="DateTime";u=new Date(e.v).toISOString();if(e.z==null)e.z=e.z||q[14];break;case"s":h="String";u=ut(e.v||"");break;}var d=Av(a.cellXfs,e,a);f["ss:StyleID"]="s"+(21+d);f["ss:Index"]=s.c+1;var v=e.v!=null?u:"";var p=e.t=="z"?"":'<Data ss:Type="'+h+'">'+v+"</Data>";if((e.c||[]).length>0)p+=Lg(e.c);return It("Cell",p,f)}function Ug(e,r){var t='<Row ss:Index="'+(e+1)+'"';if(r){if(r.hpt&&!r.hpx)r.hpx=lc(r.hpt);if(r.hpx)t+=' ss:AutoFitHeight="0" ss:Height="'+r.hpx+'"';if(r.hidden)t+=' ss:Hidden="1"'}return t+">"}function Bg(e,r,t,a){if(!e["!ref"])return"";var n=Ga(e["!ref"]);var i=e["!merges"]||[],s=0;var f=[];if(e["!cols"])e["!cols"].forEach(function(e,r){nc(e);var t=!!e.width;var a=kv(r,e);var n={"ss:Index":r+1};if(t)n["ss:Width"]=Qo(a.width);if(e.hidden)n["ss:Hidden"]="1";f.push(It("Column",null,n))});var l=e["!data"]!=null;for(var o=n.s.r;o<=n.e.r;++o){var c=[Ug(o,(e["!rows"]||[])[o])];for(var h=n.s.c;h<=n.e.c;++h){var u=false;for(s=0;s!=i.length;++s){if(i[s].s.c>h)continue;if(i[s].s.r>o)continue;if(i[s].e.c<h)continue;if(i[s].e.r<o)continue;if(i[s].s.c!=h||i[s].s.r!=o)u=true;break}if(u)continue;var d={r:o,c:h};var v=La(h)+Na(o),p=l?(e["!data"][o]||[])[h]:e[v];c.push(Mg(p,v,e,r,t,a,d))}c.push("</Row>");if(c.length>2)f.push(c.join(""))}return f.join("")}function Wg(e,r,t){var a=[];var n=t.SheetNames[e];var i=t.Sheets[n];var s=i?Dg(i,r,e,t):"";if(s.length>0)a.push("<Names>"+s+"</Names>");s=i?Bg(i,r,e,t):"";if(s.length>0)a.push("<Table>"+s+"</Table>");a.push(Pg(i,r,e,t));if(i["!autofilter"])a.push('<AutoFilter x:Range="'+nu(Xa(i["!autofilter"].ref),{r:0,c:0})+'" xmlns="urn:schemas-microsoft-com:office:excel"></AutoFilter>');return a.join("")}function zg(e,r){if(!r)r={};if(!e.SSF)e.SSF=Tr(q);if(e.SSF){Xe();Ve(e.SSF);r.revssf=lr(e.SSF);r.revssf[e.SSF[65535]]=0;r.ssf=e.SSF;r.cellXfs=[];Av(r.cellXfs,{},{revssf:{General:0}})}var t=[];t.push(Og(e,r));t.push(Rg(e,r));t.push("");t.push("");for(var a=0;a<e.SheetNames.length;++a)t.push(It("Worksheet",Wg(a,r,e),{"ss:Name":lt(e.SheetNames[a])}));t[2]=Ig(e,r);t[3]=Fg(e,r);return Kr+It("Workbook",t.join(""),{xmlns:Ut.ss,"xmlns:o":Ut.o,"xmlns:x":Ut.x,"xmlns:ss":Ut.ss,"xmlns:dt":Ut.dt,"xmlns:html":Ut.html})}function Hg(e){var r={};var t=e.content;t.l=28;r.AnsiUserType=t._R(0,"lpstr-ansi");r.AnsiClipboardFormat=Dn(t);if(t.length-t.l<=4)return r;var a=t._R(4);if(a==0||a>40)return r;t.l-=4;r.Reserved1=t._R(0,"lpstr-ansi");if(t.length-t.l<=4)return r;a=t._R(4);if(a!==1907505652)return r;r.UnicodeClipboardFormat=Pn(t);a=t._R(4);if(a==0||a>40)return r;t.l-=4;r.Reserved2=t._R(0,"lpwstr")}var Vg=[60,1084,2066,2165,2175];function Xg(e,r,t,a,n){var i=a;var s=[];var f=t.slice(t.l,t.l+i);if(n&&n.enc&&n.enc.insitu&&f.length>0)switch(e){case 9:;case 521:;case 1033:;case 2057:;case 47:;case 405:;case 225:;case 406:;case 312:;case 404:;case 10:break;case 133:break;default:n.enc.insitu(f);}s.push(f);t.l+=i;var l=ca(t,t.l),o=eb[l];var c=0;while(o!=null&&Vg.indexOf(l)>-1){i=ca(t,t.l+2);c=t.l+4;if(l==2066)c+=4;else if(l==2165||l==2175){c+=12}f=t.slice(c,t.l+4+i);s.push(f);t.l+=4+i;o=eb[l=ca(t,t.l)]}var h=P(s);Ta(h,0);var u=0;h.lens=[];for(var d=0;d<s.length;++d){h.lens.push(u);u+=s[d].length}if(h.length<a)throw"XLS Record 0x"+e.toString(16)+" Truncated: "+h.length+" < "+a;return r.f(h,h.length,n)}function $g(e,r,t){if(e.t==="z")return;if(!e.XF)return;var a=0;try{a=e.z||e.XF.numFmtId||0;if(r.cellNF&&e.z==null)e.z=q[a]}catch(n){if(r.WTF)throw n}if(!r||r.cellText!==false)try{if(e.t==="e"){e.w=e.w||ti[e.v]}else if(a===0||a=="General"){if(e.t==="n"){if((e.v|0)===e.v)e.w=e.v.toString(10);else e.w=le(e.v)}else e.w=oe(e.v)}else e.w=ze(a,e.v,{date1904:!!t,dateNF:r&&r.dateNF})}catch(n){if(r.WTF)throw n}if(r.cellDates&&a&&e.t=="n"&&Le(q[a]||String(a))){var i=ae(e.v+(t?1462:0));if(i){e.t="d";e.v=new Date(Date.UTC(i.y,i.m-1,i.d,i.H,i.M,i.S,i.u))}}}function Gg(e,r,t){return{v:e,ixfe:r,t:t}}function jg(e,r){var t={opts:{}};var a={};if(b!=null&&r.dense==null)r.dense=b;var n={};if(r.dense)n["!data"]=[];var i={};var s={};var f=null;var o=[];var c="";var h={};var u,d="",v,p,m,g;var w={};var k=[];var T;var A;var y=[];var E=[];var C={Sheets:[],WBProps:{date1904:false},Views:[{}]},_={};var S=false;var x=function pe(e){if(e<8)return ri[e];if(e<64)return E[e-8]||ri[e];return ri[e]};var O=function me(e,r,t){var a=r.XF.data;if(!a||!a.patternType||!t||!t.cellStyles)return;r.s={};r.s.patternType=a.patternType;var n;if(n=$o(x(a.icvFore))){r.s.fgColor={rgb:n}}if(n=$o(x(a.icvBack))){r.s.bgColor={rgb:n}}};var R=function ge(e,r,t){if(!S&&W>1)return;if(t.sheetRows&&e.r>=t.sheetRows)return;if(t.cellStyles&&r.XF&&r.XF.data)O(e,r,t);delete r.ixfe;delete r.XF;u=e;d=za(e);if(!s||!s.s||!s.e)s={s:{r:0,c:0},e:{r:0,c:0}};if(e.r<s.s.r)s.s.r=e.r;if(e.c<s.s.c)s.s.c=e.c;if(e.r+1>s.e.r)s.e.r=e.r+1;if(e.c+1>s.e.c)s.e.c=e.c+1;if(t.cellFormula&&r.f){for(var a=0;a<k.length;++a){if(k[a][0].s.c>e.c||k[a][0].s.r>e.r)continue;if(k[a][0].e.c<e.c||k[a][0].e.r<e.r)continue;r.F=Va(k[a][0]);if(k[a][0].s.c!=e.c||k[a][0].s.r!=e.r)delete r.f;if(r.f)r.f=""+Md(k[a][1],s,e,U,I);break}}{if(t.dense){if(!n["!data"][e.r])n["!data"][e.r]=[];n["!data"][e.r][e.c]=r}else n[d]=r}};var I={enc:false,sbcch:0,snames:[],sharedf:w,arrayf:k,rrtabid:[],lastuser:"",biff:8,codepage:0,winlocked:0,cellStyles:!!r&&!!r.cellStyles,WTF:!!r&&!!r.wtf};if(r.password)I.password=r.password;var N;var F=[];var D=[];var P=[],L=[];var M=false;var U=[];U.SheetNames=I.snames;U.sharedf=I.sharedf;U.arrayf=I.arrayf;U.names=[];U.XTI=[];var B=0;var W=0;var z=0,H=[];var V=[];var X;I.codepage=1200;l(1200);var $=false;while(e.l<e.length-1){var G=e.l;var j=e._R(2);if(j===0&&B===10)break;var K=e.l===e.length?0:e._R(2);var Y=eb[j];if(W==0&&[9,521,1033,2057].indexOf(j)==-1)break;if(Y&&Y.f){if(r.bookSheets){if(B===133&&j!==133)break}B=j;if(Y.r===2||Y.r==12){var Z=e._R(2);K-=2;if(!I.enc&&Z!==j&&((Z&255)<<8|Z>>8)!==j)throw new Error("rt mismatch: "+Z+"!="+j);if(Y.r==12){e.l+=10;K-=10}}var J={};if(j===10)J=Y.f(e,K,I);else J=Xg(j,Y,e,K,I);if(W==0&&[9,521,1033,2057].indexOf(B)===-1)continue;switch(j){case 34:t.opts.Date1904=C.WBProps.date1904=J;break;case 134:t.opts.WriteProtect=true;break;case 47:if(!I.enc)e.l=0;I.enc=J;if(!r.password)throw new Error("File is password-protected");if(J.valid==null)throw new Error("Encryption scheme unsupported");if(!J.valid)throw new Error("Password is incorrect");break;case 92:I.lastuser=J;break;case 66:var Q=Number(J);switch(Q){case 21010:Q=1200;break;case 32768:Q=1e4;break;case 32769:Q=1252;break;}l(I.codepage=Q);$=true;break;case 317:I.rrtabid=J;break;case 25:I.winlocked=J;break;case 439:t.opts["RefreshAll"]=J;break;case 12:t.opts["CalcCount"]=J;break;case 16:t.opts["CalcDelta"]=J;break;case 17:t.opts["CalcIter"]=J;break;case 13:t.opts["CalcMode"]=J;break;case 14:t.opts["CalcPrecision"]=J;break;case 95:t.opts["CalcSaveRecalc"]=J;break;case 15:I.CalcRefMode=J;break;case 2211:t.opts.FullCalc=J;break;case 129:if(J.fDialog)n["!type"]="dialog";if(!J.fBelow)(n["!outline"]||(n["!outline"]={})).above=true;if(!J.fRight)(n["!outline"]||(n["!outline"]={})).left=true;break;case 67:;case 579:;case 1091:;case 224:y.push(J);break;case 430:U.push([J]);U[U.length-1].XTI=[];break;case 35:;case 547:U[U.length-1].push(J);break;case 24:;case 536:X={Name:J.Name,Ref:Md(J.rgce,s,null,U,I)};if(J.itab>0)X.Sheet=J.itab-1;U.names.push(X);if(!U[0]){U[0]=[];U[0].XTI=[]}U[U.length-1].push(J);if(J.Name=="_xlnm._FilterDatabase"&&J.itab>0)if(J.rgce&&J.rgce[0]&&J.rgce[0][0]&&J.rgce[0][0][0]=="PtgArea3d")V[J.itab-1]={ref:Va(J.rgce[0][0][1][2])};break;case 22:I.ExternCount=J;break;case 23:if(U.length==0){U[0]=[];U[0].XTI=[]}U[U.length-1].XTI=U[U.length-1].XTI.concat(J);U.XTI=U.XTI.concat(J);break;case 2196:if(I.biff<8)break;if(X!=null)X.Comment=J[1];break;case 18:n["!protect"]=J;break;case 19:if(J!==0&&I.WTF)console.error("Password verifier: "+J);break;case 133:{i[I.biff==4?I.snames.length:J.pos]=J;I.snames.push(J.name)}break;case 10:{if(--W?!S:S)break;if(s.e){if(s.e.r>0&&s.e.c>0){s.e.r--;s.e.c--;n["!ref"]=Va(s);if(r.sheetRows&&r.sheetRows<=s.e.r){var ee=s.e.r;s.e.r=r.sheetRows-1;n["!fullref"]=n["!ref"];n["!ref"]=Va(s);s.e.r=ee}s.e.r++;s.e.c++}if(F.length>0)n["!merges"]=F;if(D.length>0)n["!objects"]=D;if(P.length>0)n["!cols"]=P;if(L.length>0)n["!rows"]=L;C.Sheets.push(_)}if(c==="")h=n;else a[c]=n;n={};if(r.dense)n["!data"]=[]}break;case 9:;case 521:;case 1033:;case 2057:{if(I.biff===8)I.biff={9:2,521:3,1033:4}[j]||{512:2,768:3,1024:4,1280:5,1536:8,2:2,7:2}[J.BIFFVer]||8;I.biffguess=J.BIFFVer==0;if(J.BIFFVer==0&&J.dt==4096){I.biff=5;$=true;l(I.codepage=28591)}if(I.biff==4&&J.dt&256)S=true;if(I.biff==8&&J.BIFFVer==0&&J.dt==16)I.biff=2;if(W++&&!S)break;n={};if(r.dense)n["!data"]=[];if(I.biff<8&&!$){$=true;l(I.codepage=r.codepage||1252)}if(I.biff==4&&S){c=(i[I.snames.indexOf(c)+1]||{name:""}).name}else if(I.biff<5||J.BIFFVer==0&&J.dt==4096){if(c==="")c="Sheet1";s={s:{r:0,c:0},e:{r:0,c:0}};var re={pos:e.l-K,name:c};i[re.pos]=re;I.snames.push(c)}else c=(i[G]||{name:""}).name;if(J.dt==32)n["!type"]="chart";if(J.dt==64)n["!type"]="macro";F=[];D=[];I.arrayf=k=[];P=[];L=[];M=false;_={Hidden:(i[G]||{hs:0}).hs,name:c}}break;case 515:;case 3:;case 2:{if(n["!type"]=="chart")if(r.dense?(n["!data"][J.r]||[])[J.c]:n[La(J.c)+Na(J.r)])++J.c;T={ixfe:J.ixfe,XF:y[J.ixfe]||{},v:J.val,t:"n"};if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63];$g(T,r,t.opts.Date1904);R({c:J.c,r:J.r},T,r)}break;case 5:;case 517:{T={ixfe:J.ixfe,XF:y[J.ixfe],v:J.val,t:J.t};if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63];$g(T,r,t.opts.Date1904);R({c:J.c,r:J.r},T,r)}break;case 638:{T={ixfe:J.ixfe,XF:y[J.ixfe],v:J.rknum,t:"n"};if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63];$g(T,r,t.opts.Date1904);R({c:J.c,r:J.r},T,r)}break;case 189:{for(var te=J.c;te<=J.C;++te){var ae=J.rkrec[te-J.c][0];T={ixfe:ae,XF:y[ae],v:J.rkrec[te-J.c][1],t:"n"};if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63];$g(T,r,t.opts.Date1904);R({c:te,r:J.r},T,r)}}break;case 6:;case 518:;case 1030:{if(J.val=="String"){f=J;break}T=Gg(J.val,J.cell.ixfe,J.tt);T.XF=y[T.ixfe];if(r.cellFormula){var ne=J.formula;if(ne&&ne[0]&&ne[0][0]&&ne[0][0][0]=="PtgExp"){var ie=ne[0][0][1][0],se=ne[0][0][1][1];var fe=za({r:ie,c:se});if(w[fe])T.f=""+Md(J.formula,s,J.cell,U,I);else T.F=((r.dense?(n["!data"][ie]||[])[se]:n[fe])||{}).F}else T.f=""+Md(J.formula,s,J.cell,U,I)}if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63];$g(T,r,t.opts.Date1904);R(J.cell,T,r);f=J}break;case 7:;case 519:{if(f){f.val=J;T=Gg(J,f.cell.ixfe,"s");T.XF=y[T.ixfe];if(r.cellFormula){T.f=""+Md(f.formula,s,f.cell,U,I)}if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63];$g(T,r,t.opts.Date1904);R(f.cell,T,r);f=null}else throw new Error("String record expects Formula")}break;case 33:;case 545:{k.push(J);var le=za(J[0].s);v=r.dense?(n["!data"][J[0].s.r]||[])[J[0].s.c]:n[le];if(r.cellFormula&&v){if(!f)break;if(!le||!v)break;v.f=""+Md(J[1],s,J[0],U,I);v.F=Va(J[0])}}break;case 1212:{if(!r.cellFormula)break;if(d){if(!f)break;w[za(f.cell)]=J[0];v=r.dense?(n["!data"][f.cell.r]||[])[f.cell.c]:n[za(f.cell)];(v||{}).f=""+Md(J[0],s,u,U,I)}}break;case 253:T=Gg(o[J.isst].t,J.ixfe,"s");if(o[J.isst].h)T.h=o[J.isst].h;T.XF=y[T.ixfe];if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63];$g(T,r,t.opts.Date1904);R({c:J.c,r:J.r},T,r);break;case 513:if(r.sheetStubs){T={ixfe:J.ixfe,XF:y[J.ixfe],t:"z"};if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63];$g(T,r,t.opts.Date1904);R({c:J.c,r:J.r},T,r)}break;case 190:if(r.sheetStubs){for(var oe=J.c;oe<=J.C;++oe){var ce=J.ixfe[oe-J.c];T={ixfe:ce,XF:y[ce],t:"z"};if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63];$g(T,r,t.opts.Date1904);R({c:oe,r:J.r},T,r)}}break;case 214:;case 516:;case 4:T=Gg(J.val,J.ixfe,"s");T.XF=y[T.ixfe];if(z>0)T.z=T.XF&&T.XF.numFmtId&&H[T.XF.numFmtId]||H[T.ixfe>>8&63];$g(T,r,t.opts.Date1904);R({c:J.c,r:J.r},T,r);break;case 0:;case 512:{if(W===1)s=J}break;case 252:{o=J}break;case 1054:{if(I.biff>=3&&I.biff<=4){H[z++]=J[1];for(var he=0;he<z+163;++he)if(q[he]==J[1])break;if(he>=163)Je(J[1],z+163)}else Je(J[1],J[0])}break;case 30:{H[z++]=J;for(var ue=0;ue<z+163;++ue)if(q[ue]==J)break;if(ue>=163)Je(J,z+163)}break;case 229:F=F.concat(J);break;case 93:D[J.cmo[0]]=I.lastobj=J;break;case 438:I.lastobj.TxO=J;break;case 127:I.lastobj.ImData=J;break;case 440:{for(g=J[0].s.r;g<=J[0].e.r;++g)for(m=J[0].s.c;m<=J[0].e.c;++m){v=r.dense?(n["!data"][g]||[])[m]:n[za({c:m,r:g})];if(v)v.l=J[1]}}break;case 2048:{for(g=J[0].s.r;g<=J[0].e.r;++g)for(m=J[0].s.c;m<=J[0].e.c;++m){v=r.dense?(n["!data"][g]||[])[m]:n[za({c:m,r:g})];if(v&&v.l)v.l.Tooltip=J[1]}}break;case 28:{v=r.dense?(n["!data"][J[0].r]||[])[J[0].c]:n[za(J[0])];if(!v){if(r.dense){if(!n["!data"][J[0].r])n["!data"][J[0].r]=[];v=n["!data"][J[0].r][J[0].c]={t:"z"}}else{v=n[za(J[0])]={ +t:"z"}}s.e.r=Math.max(s.e.r,J[0].r);s.s.r=Math.min(s.s.r,J[0].r);s.e.c=Math.max(s.e.c,J[0].c);s.s.c=Math.min(s.s.c,J[0].c)}if(!v.c)v.c=[];if(I.biff<=5&&I.biff>=2)p={a:"SheetJ5",t:J[1]};else{var de=D[J[2]];p={a:J[1],t:de.TxO.t};if(J[3]!=null&&!(J[3]&2))v.c.hidden=true}v.c.push(p)}break;case 2173:uh(y[J.ixfe],J.ext);break;case 125:{if(!I.cellStyles)break;while(J.e>=J.s){P[J.e--]={width:J.w/256,level:J.level||0,hidden:!!(J.flags&1)};if(!M){M=true;ac(J.w/256)}nc(P[J.e+1])}}break;case 520:{var ve={};if(J.level!=null){L[J.r]=ve;ve.level=J.level}if(J.hidden){L[J.r]=ve;ve.hidden=true}if(J.hpt){L[J.r]=ve;ve.hpt=J.hpt;ve.hpx=lc(J.hpt)}}break;case 38:;case 39:;case 40:;case 41:if(!n["!margins"])Tv(n["!margins"]={});n["!margins"][{38:"left",39:"right",40:"top",41:"bottom"}[j]]=J;break;case 161:if(!n["!margins"])Tv(n["!margins"]={});n["!margins"].header=J.header;n["!margins"].footer=J.footer;break;case 574:if(J.RTL)C.Views[0].RTL=true;break;case 146:E=J;break;case 2198:N=J;break;case 140:A=J;break;case 442:{if(!c)C.WBProps.CodeName=J||"ThisWorkbook";else _.CodeName=J||_.name}break;}}else{if(!Y)console.error("Missing Info for XLS Record 0x"+j.toString(16));e.l+=K}}t.SheetNames=ir(i).sort(function(e,r){return Number(e)-Number(r)}).map(function(e){return i[e].name});if(!r.bookSheets)t.Sheets=a;if(!t.SheetNames.length&&h["!ref"]){t.SheetNames.push("Sheet1");if(t.Sheets)t.Sheets["Sheet1"]=h}else t.Preamble=h;if(t.Sheets)V.forEach(function(e,r){t.Sheets[t.SheetNames[r]]["!autofilter"]=e});t.Strings=o;t.SSF=Tr(q);if(I.enc)t.Encryption=I.enc;if(N)t.Themes=N;t.Metadata={};if(A!==undefined)t.Metadata.Country=A;if(U.names.length>0)C.Names=U.names;t.Workbook=C;return t}var Kg={SI:"e0859ff2f94f6810ab9108002b27b3d9",DSI:"02d5cdd59c2e1b10939708002b2cf9ae",UDI:"05d5cdd59c2e1b10939708002b2cf9ae"};function Yg(e,r,t){var a=Qe.find(e,"/!DocumentSummaryInformation");if(a&&a.size>0)try{var n=ss(a,Yn,Kg.DSI);for(var i in n)r[i]=n[i]}catch(s){if(t.WTF)throw s}var f=Qe.find(e,"/!SummaryInformation");if(f&&f.size>0)try{var l=ss(f,Zn,Kg.SI);for(var o in l)if(r[o]==null)r[o]=l[o]}catch(s){if(t.WTF)throw s}if(r.HeadingPairs&&r.TitlesOfParts){Oi(r.HeadingPairs,r.TitlesOfParts,r,t);delete r.HeadingPairs;delete r.TitlesOfParts}}function Zg(e,r){var t=[],a=[],n=[];var i=0,s;var f=sr(Yn,"n");var l=sr(Zn,"n");if(e.Props){s=ir(e.Props);for(i=0;i<s.length;++i)(Object.prototype.hasOwnProperty.call(f,s[i])?t:Object.prototype.hasOwnProperty.call(l,s[i])?a:n).push([s[i],e.Props[s[i]]])}if(e.Custprops){s=ir(e.Custprops);for(i=0;i<s.length;++i)if(!Object.prototype.hasOwnProperty.call(e.Props||{},s[i]))(Object.prototype.hasOwnProperty.call(f,s[i])?t:Object.prototype.hasOwnProperty.call(l,s[i])?a:n).push([s[i],e.Custprops[s[i]]])}var o=[];for(i=0;i<n.length;++i){if(as.indexOf(n[i][0])>-1||xi.indexOf(n[i][0])>-1)continue;if(n[i][1]==null)continue;o.push(n[i])}if(a.length)Qe.utils.cfb_add(r,"/SummaryInformation",fs(a,Kg.SI,l,Zn));if(t.length||o.length)Qe.utils.cfb_add(r,"/DocumentSummaryInformation",fs(t,Kg.DSI,f,Yn,o.length?o:null,Kg.UDI))}function Jg(e,r){if(!r)r={};ek(r);o();if(r.codepage)s(r.codepage);var t,a;if(e.FullPaths){if(Qe.find(e,"/encryption"))throw new Error("File is password-protected");t=Qe.find(e,"!CompObj");a=Qe.find(e,"/Workbook")||Qe.find(e,"/Book")}else{switch(r.type){case"base64":e=R(E(e));break;case"binary":e=R(e);break;case"buffer":break;case"array":if(!Array.isArray(e))e=Array.prototype.slice.call(e);break;}Ta(e,0);a={content:e}}var n;var i;if(t)Hg(t);if(r.bookProps&&!r.bookSheets)n={};else{var f=C?"buffer":"array";if(a&&a.content)n=jg(a.content,r);else if((i=Qe.find(e,"PerfectOffice_MAIN"))&&i.content)n=Jl.to_workbook(i.content,(r.type=f,r));else if((i=Qe.find(e,"NativeContent_MAIN"))&&i.content)n=Jl.to_workbook(i.content,(r.type=f,r));else if((i=Qe.find(e,"MN0"))&&i.content)throw new Error("Unsupported Works 4 for Mac file");else throw new Error("Cannot find Workbook stream");if(r.bookVBA&&e.FullPaths&&Qe.find(e,"/_VBA_PROJECT_CUR/VBA/dir"))n.vbaraw=Kh(e)}var l={};if(e.FullPaths)Yg(e,l,r);n.Props=n.Custprops=l;if(r.bookFiles)n.cfb=e;return n}function qg(e,r){var t=r||{};var a=Qe.utils.cfb_new({root:"R"});var n="/Workbook";switch(t.bookType||"xls"){case"xls":t.bookType="biff8";case"xla":if(!t.bookType)t.bookType="xla";case"biff8":n="/Workbook";t.biff=8;break;case"biff5":n="/Book";t.biff=5;break;default:throw new Error("invalid type "+t.bookType+" for XLS CFB");}Qe.utils.cfb_add(a,n,yb(e,t));if(t.biff==8&&(e.Props||e.Custprops))Zg(e,a);if(t.biff==8&&e.vbaraw)Yh(a,Qe.read(e.vbaraw,{type:typeof e.vbaraw=="string"?"binary":"buffer"}));return a}var Qg={0:{f:np},1:{f:up},2:{f:Np},3:{f:kp},4:{f:mp},5:{f:xp},6:{f:Mp},7:{f:Ep},8:{f:Xp},9:{f:Vp},10:{f:zp},11:{f:Hp},12:{f:vp},13:{f:Dp},14:{f:Ap},15:{f:bp},16:{f:Rp},17:{f:Bp},18:{f:_p},19:{f:sn},20:{},21:{},22:{},23:{},24:{},25:{},26:{},27:{},28:{},29:{},30:{},31:{},32:{},33:{},34:{},35:{T:1},36:{T:-1},37:{T:1},38:{T:-1},39:{f:jm},40:{},42:{},43:{f:yc},44:{f:Tc},45:{f:Sc},46:{f:Nc},47:{f:Oc},48:{},49:{f:Qa},50:{},51:{f:ph},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:El},62:{f:Lp},63:{f:Ch},64:{f:fm},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:Aa,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:am},138:{T:-1},139:{T:1},140:{T:-1},141:{T:1},142:{T:-1},143:{T:1},144:{T:-1},145:{T:1},146:{T:-1},147:{f:cp},148:{f:fp,p:16},151:{f:Zp},152:{},153:{f:Xm},154:{},155:{},156:{f:Hm},157:{},158:{},159:{T:1,f:ho},160:{T:-1},161:{T:1,f:Cn},162:{T:-1},163:{T:1},164:{T:-1},165:{T:1},166:{T:-1},167:{},168:{},169:{},170:{},171:{},172:{T:1},173:{T:-1},174:{},175:{},176:{f:$p},177:{T:1},178:{T:-1},179:{T:1},180:{T:-1},181:{T:1},182:{T:-1},183:{T:1},184:{T:-1},185:{T:1},186:{T:-1},187:{T:1},188:{T:-1},189:{T:1},190:{T:-1},191:{T:1},192:{T:-1},193:{T:1},194:{T:-1},195:{T:1},196:{T:-1},197:{T:1},198:{T:-1},199:{T:1},200:{T:-1},201:{T:1},202:{T:-1},203:{T:1},204:{T:-1},205:{T:1},206:{T:-1},207:{T:1},208:{T:-1},209:{T:1},210:{T:-1},211:{T:1},212:{T:-1},213:{T:1},214:{T:-1},215:{T:1},216:{T:-1},217:{T:1},218:{T:-1},219:{T:1},220:{T:-1},221:{T:1},222:{T:-1},223:{T:1},224:{T:-1},225:{T:1},226:{T:-1},227:{T:1},228:{T:-1},229:{T:1},230:{T:-1},231:{T:1},232:{T:-1},233:{T:1},234:{T:-1},235:{T:1},236:{T:-1},237:{T:1},238:{T:-1},239:{T:1},240:{T:-1},241:{T:1},242:{T:-1},243:{T:1},244:{T:-1},245:{T:1},246:{T:-1},247:{T:1},248:{T:-1},249:{T:1},250:{T:-1},251:{T:1},252:{T:-1},253:{T:1},254:{T:-1},255:{T:1},256:{T:-1},257:{T:1},258:{T:-1},259:{T:1},260:{T:-1},261:{T:1},262:{T:-1},263:{T:1},264:{T:-1},265:{T:1},266:{T:-1},267:{T:1},268:{T:-1},269:{T:1},270:{T:-1},271:{T:1},272:{T:-1},273:{T:1},274:{T:-1},275:{T:1},276:{T:-1},277:{},278:{T:1},279:{T:-1},280:{T:1},281:{T:-1},282:{T:1},283:{T:1},284:{T:-1},285:{T:1},286:{T:-1},287:{T:1},288:{T:-1},289:{T:1},290:{T:-1},291:{T:1},292:{T:-1},293:{T:1},294:{T:-1},295:{T:1},296:{T:-1},297:{T:1},298:{T:-1},299:{T:1},300:{T:-1},301:{T:1},302:{T:-1},303:{T:1},304:{T:-1},305:{T:1},306:{T:-1},307:{T:1},308:{T:-1},309:{T:1},310:{T:-1},311:{T:1},312:{T:-1},313:{T:-1},314:{T:1},315:{T:-1},316:{T:1},317:{T:-1},318:{T:1},319:{T:-1},320:{T:1},321:{T:-1},322:{T:1},323:{T:-1},324:{T:1},325:{T:-1},326:{T:1},327:{T:-1},328:{T:1},329:{T:-1},330:{T:1},331:{T:-1},332:{T:1},333:{T:-1},334:{T:1},335:{f:dh},336:{T:-1},337:{f:bh,T:1},338:{T:-1},339:{T:1},340:{T:-1},341:{T:1},342:{T:-1},343:{T:1},344:{T:-1},345:{T:1},346:{T:-1},347:{T:1},348:{T:-1},349:{T:1},350:{T:-1},351:{},352:{},353:{T:1},354:{T:-1},355:{f:wn},357:{},358:{},359:{},360:{T:1},361:{},362:{f:el},363:{},364:{},366:{},367:{},368:{},369:{},370:{},371:{},372:{T:1},373:{T:-1},374:{T:1},375:{T:-1},376:{T:1},377:{T:-1},378:{T:1},379:{T:-1},380:{T:1},381:{T:-1},382:{T:1},383:{T:-1},384:{T:1},385:{T:-1},386:{T:1},387:{T:-1},388:{T:1},389:{T:-1},390:{T:1},391:{T:-1},392:{T:1},393:{T:-1},394:{T:1},395:{T:-1},396:{},397:{},398:{},399:{},400:{},401:{T:1},403:{},404:{},405:{},406:{},407:{},408:{},409:{},410:{},411:{},412:{},413:{},414:{},415:{},416:{},417:{},418:{},419:{},420:{},421:{},422:{T:1},423:{T:1},424:{T:-1},425:{T:-1},426:{f:Jp},427:{f:qp},428:{},429:{T:1},430:{T:-1},431:{T:1},432:{T:-1},433:{T:1},434:{T:-1},435:{T:1},436:{T:-1},437:{T:1},438:{T:-1},439:{T:1},440:{T:-1},441:{T:1},442:{T:-1},443:{T:1},444:{T:-1},445:{T:1},446:{T:-1},447:{T:1},448:{T:-1},449:{T:1},450:{T:-1},451:{T:1},452:{T:-1},453:{T:1},454:{T:-1},455:{T:1},456:{T:-1},457:{T:1},458:{T:-1},459:{T:1},460:{T:-1},461:{T:1},462:{T:-1},463:{T:1},464:{T:-1},465:{T:1},466:{T:-1},467:{T:1},468:{T:-1},469:{T:1},470:{T:-1},471:{},472:{},473:{T:1},474:{T:-1},475:{},476:{f:rm},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:op},486:{T:1},487:{T:-1},488:{T:1},489:{T:-1},490:{T:1},491:{T:-1},492:{T:1},493:{T:-1},494:{f:Kp},495:{T:1},496:{T:-1},497:{T:1},498:{T:-1},499:{},500:{T:1},501:{T:-1},502:{T:1},503:{T:-1},504:{},505:{T:1},506:{T:-1},507:{},508:{T:1},509:{T:-1},510:{T:1},511:{T:-1},512:{},513:{},514:{T:1},515:{T:-1},516:{T:1},517:{T:-1},518:{T:1},519:{T:-1},520:{T:1},521:{T:-1},522:{},523:{},524:{},525:{},526:{},527:{},528:{T:1},529:{T:-1},530:{T:1},531:{T:-1},532:{T:1},533:{T:-1},534:{},535:{},536:{},537:{},538:{T:1},539:{T:-1},540:{T:1},541:{T:-1},542:{T:1},548:{},549:{},550:{f:wn},551:{f:mn},552:{},553:{},554:{T:1},555:{T:-1},556:{T:1},557:{T:-1},558:{T:1},559:{T:-1},560:{T:1},561:{T:-1},562:{},564:{},565:{T:1},566:{T:-1},569:{T:1},570:{T:-1},572:{},573:{T:1},574:{T:-1},577:{},578:{},579:{},580:{},581:{},582:{},583:{},584:{},585:{},586:{},587:{},588:{T:-1},589:{},590:{T:1},591:{T:-1},592:{T:1},593:{T:-1},594:{T:1},595:{T:-1},596:{},597:{T:1},598:{T:-1},599:{T:1},600:{T:-1},601:{T:1},602:{T:-1},603:{T:1},604:{T:-1},605:{T:1},606:{T:-1},607:{},608:{T:1},609:{T:-1},610:{},611:{T:1},612:{T:-1},613:{T:1},614:{T:-1},615:{T:1},616:{T:-1},617:{T:1},618:{T:-1},619:{T:1},620:{T:-1},625:{},626:{T:1},627:{T:-1},628:{T:1},629:{T:-1},630:{T:1},631:{T:-1},632:{f:Vh},633:{T:1},634:{T:-1},635:{T:1,f:zh},636:{T:-1},637:{f:ln},638:{T:1},639:{},640:{T:-1},641:{T:1},642:{T:-1},643:{T:1},644:{},645:{T:-1},646:{T:1},648:{T:1},649:{},650:{T:-1},651:{f:Cm},652:{},653:{T:1},654:{T:-1},655:{T:1},656:{T:-1},657:{T:1},658:{T:-1},659:{},660:{T:1},661:{},662:{T:-1},663:{},664:{T:1},665:{},666:{T:-1},667:{},668:{},669:{},671:{T:1},672:{T:-1},673:{T:1},674:{T:-1},675:{},676:{},677:{},678:{},679:{},680:{},681:{},1024:{},1025:{},1026:{T:1},1027:{T:-1},1028:{T:1},1029:{T:-1},1030:{},1031:{T:1},1032:{T:-1},1033:{T:1},1034:{T:-1},1035:{},1036:{},1037:{},1038:{T:1},1039:{T:-1},1040:{},1041:{T:1},1042:{T:-1},1043:{},1044:{},1045:{},1046:{T:1},1047:{T:-1},1048:{T:1},1049:{T:-1},1050:{},1051:{T:1},1052:{T:1},1053:{f:lm},1054:{T:1},1055:{},1056:{T:1},1057:{T:-1},1058:{T:1},1059:{T:-1},1061:{},1062:{T:1},1063:{T:-1},1064:{T:1},1065:{T:-1},1066:{T:1},1067:{T:-1},1068:{T:1},1069:{T:-1},1070:{T:1},1071:{T:-1},1072:{T:1},1073:{T:-1},1075:{T:1},1076:{T:-1},1077:{T:1},1078:{T:-1},1079:{T:1},1080:{T:-1},1081:{T:1},1082:{T:-1},1083:{T:1},1084:{T:-1},1085:{},1086:{T:1},1087:{T:-1},1088:{T:1},1089:{T:-1},1090:{T:1},1091:{T:-1},1092:{T:1},1093:{T:-1},1094:{T:1},1095:{T:-1},1096:{},1097:{T:1},1098:{},1099:{T:-1},1100:{T:1},1101:{T:-1},1102:{},1103:{},1104:{},1105:{},1111:{},1112:{},1113:{T:1},1114:{T:-1},1115:{T:1},1116:{T:-1},1117:{},1118:{T:1},1119:{T:-1},1120:{T:1},1121:{T:-1},1122:{T:1},1123:{T:-1},1124:{T:1},1125:{T:-1},1126:{},1128:{T:1},1129:{T:-1},1130:{},1131:{T:1},1132:{T:-1},1133:{T:1},1134:{T:-1},1135:{T:1},1136:{T:-1},1137:{T:1},1138:{T:-1},1139:{T:1},1140:{T:-1},1141:{},1142:{T:1},1143:{T:-1},1144:{T:1},1145:{T:-1},1146:{},1147:{T:1},1148:{T:-1},1149:{T:1},1150:{T:-1},1152:{T:1},1153:{T:-1},1154:{T:-1},1155:{T:-1},1156:{T:-1},1157:{T:1},1158:{T:-1},1159:{T:1},1160:{T:-1},1161:{T:1},1162:{T:-1},1163:{T:1},1164:{T:-1},1165:{T:1},1166:{T:-1},1167:{T:1},1168:{T:-1},1169:{T:1},1170:{T:-1},1171:{},1172:{T:1},1173:{T:-1},1177:{},1178:{T:1},1180:{},1181:{},1182:{},2048:{T:1},2049:{T:-1},2050:{},2051:{T:1},2052:{T:-1},2053:{},2054:{},2055:{T:1},2056:{T:-1},2057:{T:1},2058:{T:-1},2060:{},2067:{},2068:{T:1},2069:{T:-1},2070:{},2071:{},2072:{T:1},2073:{T:-1},2075:{},2076:{},2077:{T:1},2078:{T:-1},2079:{},2080:{T:1},2081:{T:-1},2082:{},2083:{T:1},2084:{T:-1},2085:{T:1},2086:{T:-1},2087:{T:1},2088:{T:-1},2089:{T:1},2090:{T:-1},2091:{},2092:{},2093:{T:1},2094:{T:-1},2095:{},2096:{T:1},2097:{T:-1},2098:{T:1},2099:{T:-1},2100:{T:1},2101:{T:-1},2102:{},2103:{T:1},2104:{T:-1},2105:{},2106:{T:1},2107:{T:-1},2108:{},2109:{T:1},2110:{T:-1},2111:{T:1},2112:{T:-1},2113:{T:1},2114:{T:-1},2115:{},2116:{},2117:{},2118:{T:1},2119:{T:-1},2120:{},2121:{T:1},2122:{T:-1},2123:{T:1},2124:{T:-1},2125:{},2126:{T:1},2127:{T:-1},2128:{},2129:{T:1},2130:{T:-1},2131:{T:1},2132:{T:-1},2133:{T:1},2134:{},2135:{},2136:{},2137:{T:1},2138:{T:-1},2139:{T:1},2140:{T:-1},2141:{},3072:{},3073:{},4096:{T:1},4097:{T:-1},5002:{T:1},5003:{T:-1},5081:{T:1},5082:{T:-1},5083:{},5084:{T:1},5085:{T:-1},5086:{T:1},5087:{T:-1},5088:{},5089:{},5090:{},5092:{T:1},5093:{T:-1},5094:{},5095:{T:1},5096:{T:-1},5097:{},5099:{},65535:{n:""}};var eb={6:{f:Xd},10:{f:ls},12:{f:ds},13:{f:ds},14:{f:hs},15:{f:hs},16:{f:Sn},17:{f:hs},18:{f:hs},19:{f:ds},20:{f:Zf},21:{f:Zf},23:{f:el},24:{f:Qf},25:{f:hs},26:{},27:{},28:{f:fl},29:{},34:{f:hs},35:{f:qf},38:{f:Sn},39:{f:Sn},40:{f:Sn},41:{f:Sn},42:{f:hs},43:{f:hs},47:{f:Bo},49:{f:wf},51:{f:ds},60:{},61:{f:vf},64:{f:hs},65:{f:bf},66:{f:ds},77:{},80:{},81:{},82:{},85:{f:ds},89:{},90:{},91:{},92:{f:rf},93:{f:hl},94:{},95:{f:hs},96:{},97:{},99:{f:hs},125:{f:El},128:{f:Xf},129:{f:af},130:{f:ds},131:{f:hs},132:{f:hs},133:{f:nf},134:{},140:{f:wl},141:{f:ds},144:{},146:{f:Al},151:{},152:{},153:{},154:{},155:{},156:{f:ds},157:{},158:{},160:{f:Rl},161:{f:_l},174:{},175:{},176:{},177:{},178:{},180:{},181:{},182:{},184:{},185:{},189:{f:Ff},190:{f:Df},193:{f:ls},197:{},198:{},199:{},200:{},201:{},202:{f:hs},203:{},204:{},205:{},206:{},207:{},208:{},209:{},210:{},211:{},213:{},215:{},216:{},217:{},218:{f:ds},220:{},221:{f:hs},222:{},224:{f:Lf},225:{f:ef},226:{f:ls},227:{},229:{f:ol},233:{},235:{},236:{},237:{},239:{},240:{},241:{},242:{},244:{},245:{},246:{},247:{},248:{},249:{},251:{},252:{f:ff},253:{f:Tf},255:{f:of},256:{},259:{},290:{},311:{},312:{},315:{},317:{f:ps},318:{},319:{},320:{},330:{},331:{},333:{},334:{},335:{},336:{},337:{},338:{},339:{},340:{},351:{},352:{f:hs},353:{f:ls},401:{},402:{},403:{},404:{},405:{},406:{},407:{},408:{},425:{},426:{},427:{},428:{},429:{},430:{f:Jf},431:{f:hs},432:{},433:{},434:{},437:{},438:{f:vl},439:{f:hs},440:{f:pl},441:{},442:{f:As},443:{},444:{f:ds},445:{},446:{},448:{f:ls},449:{f:uf,r:2},450:{f:ls},512:{f:Rf},513:{f:Ol},515:{f:Kf},516:{f:yf},517:{f:Gf},519:{f:Il},520:{f:cf},523:{},545:{f:nl},549:{f:df},566:{},574:{f:mf},638:{f:Nf},659:{},1048:{},1054:{f:Cf},1084:{},1212:{f:al},2048:{f:gl},2049:{},2050:{},2051:{},2052:{},2053:{},2054:{},2055:{},2056:{},2057:{f:qs},2058:{},2059:{},2060:{},2061:{},2062:{},2063:{},2064:{},2066:{},2067:{},2128:{},2129:{},2130:{},2131:{},2132:{},2133:{},2134:{},2135:{},2136:{},2137:{},2138:{},2146:{},2147:{r:12},2148:{},2149:{},2150:{},2151:{f:ls},2152:{},2154:{},2155:{},2156:{},2161:{},2162:{},2164:{},2165:{},2166:{},2167:{},2168:{},2169:{},2170:{},2171:{},2172:{f:yl,r:12},2173:{f:hh,r:12},2174:{},2175:{},2180:{},2181:{},2182:{},2183:{},2184:{},2185:{},2186:{},2187:{},2188:{f:hs,r:12},2189:{},2190:{r:12},2191:{},2192:{},2194:{},2195:{},2196:{f:tl,r:12},2197:{},2198:{f:ih,r:12},2199:{},2200:{},2201:{},2202:{f:il,r:12},2203:{f:ls},2204:{},2205:{},2206:{},2207:{},2211:{f:hf},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:{f:ds},4135:{},4146:{},4147:{},4148:{},4149:{},4154:{},4156:{},4157:{},4158:{},4159:{},4160:{},4161:{},4163:{},4164:{f:Sl},4165:{},4166:{},4168:{},4170:{},4171:{},4174:{},4175:{},4176:{},4177:{},4187:{},4188:{f:Tl},4189:{},4191:{},4192:{},4193:{},4194:{},4195:{},4196:{},4197:{},4198:{},4199:{},4200:{},0:{f:Rf},1:{},2:{f:Ml},3:{f:Pl},4:{f:Dl},5:{f:Wl},7:{f:Bl},8:{},9:{f:qs},11:{},22:{f:ds},30:{f:Sf},31:{},32:{},33:{f:nl},36:{},37:{f:df},50:{f:zl},62:{},52:{},67:{f:Uf},68:{f:ds},69:{},86:{},126:{},127:{f:Nl},135:{},136:{},137:{},143:{f:Vl},145:{},148:{},149:{},150:{},169:{},171:{},188:{},191:{},192:{},194:{},195:{},214:{f:Hl},223:{},234:{},354:{},421:{},518:{f:Xd},521:{f:qs},536:{f:Qf},547:{f:qf},561:{},579:{f:Hf},1030:{f:Xd},1033:{f:qs},1091:{f:Vf},2157:{},2163:{},2177:{},2240:{},2241:{},2242:{},2243:{},2244:{},2245:{},2246:{},2247:{},2248:{},2249:{},2250:{},2251:{},2262:{r:12},101:{},102:{},105:{},106:{},107:{},109:{},112:{},114:{},29282:{}};function rb(e,r,t,a){var n=r;if(isNaN(n))return;var i=a||(t||[]).length||0;var s=e.next(4);s._W(2,n);s._W(2,i);if(i>0&&fa(t))e.push(t)}function tb(e,r,t,a){var n=a||(t||[]).length||0;if(n<=8224)return rb(e,r,t,n);var i=r;if(isNaN(i))return;var s=t.parts||[],f=0;var l=0,o=0;while(o+(s[f]||8224)<=8224){o+=s[f]||8224;f++}var c=e.next(4);c._W(2,i);c._W(2,o);e.push(t.slice(l,l+o));l+=o;while(l<n){c=e.next(4);c._W(2,60);o=0;while(o+(s[f]||8224)<=8224){o+=s[f]||8224;f++}c._W(2,o);e.push(t.slice(l,l+o));l+=o}}function ab(e,r,t,a){var n=ya(9);Fl(n,e,r);gs(t,a||"b",n);return n}function nb(e,r,t){var a=ya(8+2*t.length);Fl(a,e,r);a._W(1,t.length);a._W(t.length,t,"sbcs");return a.l<a.length?a.slice(0,a.l):a}function ib(e,r){r.forEach(function(r){var t=r[0].map(function(e){return e.t}).join("");if(t.length<=2048)return rb(e,28,ll(t,r[1],r[2]));rb(e,28,ll(t.slice(0,2048),r[1],r[2],t.length));for(var a=2048;a<t.length;a+=2048)rb(e,28,ll(t.slice(a,Math.min(a+2048,t.length)),-1,-1,Math.min(2048,t.length-a)))})}function sb(e,r,t,a,n,i){var s=0;if(r.z!=null){s=n._BIFF2FmtTable.indexOf(r.z);if(s==-1){n._BIFF2FmtTable.push(r.z);s=n._BIFF2FmtTable.length-1}}var f=0;if(r.z!=null){for(;f<n.cellXfs.length;++f)if(n.cellXfs[f].numFmtId==s)break;if(f==n.cellXfs.length)n.cellXfs.push({numFmtId:s})}if(r.v!=null)switch(r.t){case"d":;case"n":var l=r.t=="d"?dr(wr(r.v,i),i):r.v;if(n.biff==2&&l==(l|0)&&l>=0&&l<65536)rb(e,2,Ul(t,a,l,f,s));else if(isNaN(l))rb(e,5,ab(t,a,36,"e"));else if(!isFinite(l))rb(e,5,ab(t,a,7,"e"));else rb(e,3,Ll(t,a,l,f,s));return;case"b":;case"e":rb(e,5,ab(t,a,r.v,r.t));return;case"s":;case"str":rb(e,4,nb(t,a,r.v==null?"":String(r.v).slice(0,255)));return;}rb(e,1,Fl(null,t,a))}function fb(e,r,t,a,n){var i=r["!data"]!=null;var s=Ga(r["!ref"]||"A1"),f,l="",o=[];if(s.e.c>255||s.e.r>16383){if(a.WTF)throw new Error("Range "+(r["!ref"]||"A1")+" exceeds format limit A1:IV16384");s.e.c=Math.min(s.e.c,255);s.e.r=Math.min(s.e.c,16383)}var c=(((n||{}).Workbook||{}).WBProps||{}).date1904;var h=[],u=[];for(var d=s.s.c;d<=s.e.c;++d)o[d]=La(d);for(var v=s.s.r;v<=s.e.r;++v){if(i)h=r["!data"][v]||[];l=Na(v);for(d=s.s.c;d<=s.e.c;++d){var p=i?h[d]:r[o[d]+l];if(!p)continue;sb(e,p,v,d,a,c);if(p.c)u.push([p.c,v,d])}}ib(e,u)}function lb(e,r){var t=r||{};var a=Ca();var n=0;for(var i=0;i<e.SheetNames.length;++i)if(e.SheetNames[i]==t.sheet)n=i;if(n==0&&!!t.sheet&&e.SheetNames[0]!=t.sheet)throw new Error("Sheet not found: "+t.sheet);rb(a,t.biff==4?1033:t.biff==3?521:9,Qs(e,16,t));if(((e.Workbook||{}).WBProps||{}).date1904)rb(a,34,us(true));t.cellXfs=[{numFmtId:0}];t._BIFF2FmtTable=["General"];t._Fonts=[];var s=Ca();fb(s,e.Sheets[e.SheetNames[n]],n,t,e);t._BIFF2FmtTable.forEach(function(e){if(t.biff<=3)rb(a,30,xf(e));else rb(a,1054,Of(e))});t.cellXfs.forEach(function(e){switch(t.biff){case 2:rb(a,67,Bf(e));break;case 3:rb(a,579,Wf(e));break;case 4:rb(a,1091,zf(e));break;}});delete t._BIFF2FmtTable;delete t.cellXfs;delete t._Fonts;a.push(s.end());rb(a,10);return a.end()}var ob=1,cb=[];function hb(){var e=ya(82+8*cb.length);e._W(2,15);e._W(2,61440);e._W(4,74+8*cb.length);{e._W(2,0);e._W(2,61446);e._W(4,16+8*cb.length);{e._W(4,ob);e._W(4,cb.length+1);var r=0;for(var t=0;t<cb.length;++t)r+=cb[t]&&cb[t][1]||0;e._W(4,r);e._W(4,cb.length)}cb.forEach(function(r){e._W(4,r[0]);e._W(4,r[2])})}{e._W(2,51);e._W(2,61451);e._W(4,18);e._W(2,191);e._W(4,524296);e._W(2,385);e._W(4,134217793);e._W(2,448);e._W(4,134217792)}{e._W(2,64);e._W(2,61726);e._W(4,16);e._W(4,134217741);e._W(4,134217740);e._W(4,134217751);e._W(4,268435703)}return e}function ub(e,r){var t=[],a=0,n=Ca(),i=ob;var s;r.forEach(function(e,r){var i="";var f=e[0].map(function(e){if(e.a&&!i)i=e.a;return e.t}).join("");++ob;{var l=ya(150);l._W(2,15);l._W(2,61444);l._W(4,150);{l._W(2,3234);l._W(2,61450);l._W(4,8);l._W(4,ob);l._W(4,2560)}{l._W(2,227);l._W(2,61451);l._W(4,84);l._W(2,128);l._W(4,0);l._W(2,139);l._W(4,2);l._W(2,191);l._W(4,524296);l._W(2,344);l.l+=4;l._W(2,385);l._W(4,134217808);l._W(2,387);l._W(4,134217808);l._W(2,389);l._W(4,268435700);l._W(2,447);l._W(4,1048592);l._W(2,448);l._W(4,134217809);l._W(2,451);l._W(4,268435700);l._W(2,513);l._W(4,134217809);l._W(2,515);l._W(4,268435700);l._W(2,575);l._W(4,196609);l._W(2,959);l._W(4,131072|(e[0].hidden?2:0))}{l.l+=2;l._W(2,61456);l._W(4,18);l._W(2,3);l._W(2,e[2]+2);l.l+=2;l._W(2,e[1]+1);l.l+=2;l._W(2,e[2]+4);l.l+=2;l._W(2,e[1]+5);l.l+=2}{l.l+=2;l._W(2,61457);l.l+=4}l.l=150;if(r==0)s=l;else rb(n,236,l)}a+=150;{var o=ya(52);o._W(2,21);o._W(2,18);o._W(2,25);o._W(2,ob);o._W(2,0);o.l=22;o._W(2,13);o._W(2,22);o._W(4,1651663474);o._W(4,2503426821);o._W(4,2150634280);o._W(4,1768515844+ob*256);o._W(2,0);o._W(4,0);o.l+=4;rb(n,93,o)}{var c=ya(8);c.l+=2;c._W(2,61453);c.l+=4;rb(n,236,c)}a+=8;{var h=ya(18);h._W(2,18);h.l+=8;h._W(2,f.length);h._W(2,16);h.l+=4;rb(n,438,h);{var u=ya(1+f.length);u._W(1,0);u._W(f.length,f,"sbcs");rb(n,60,u)}{var d=ya(16);d.l+=8;d._W(2,f.length);d.l+=6;rb(n,60,d)}}{var v=ya(12+i.length);v._W(2,e[1]);v._W(2,e[2]);v._W(2,0|(e[0].hidden?0:2));v._W(2,ob);v._W(2,i.length);v._W(1,0);v._W(i.length,i,"sbcs");v.l++;t.push(v)}});{var f=ya(80);f._W(2,15);f._W(2,61442);f._W(4,a+f.length-8);{f._W(2,16);f._W(2,61448);f._W(4,8);f._W(4,r.length+1);f._W(4,ob)}{f._W(2,15);f._W(2,61443);f._W(4,a+48);{f._W(2,15);f._W(2,61444);f._W(4,40);{f._W(2,1);f._W(2,61449);f._W(4,16);f.l+=16}{f._W(2,2);f._W(2,61450);f._W(4,8);f._W(4,i);f._W(4,5)}}}rb(e,236,s?P([f,s]):f)}e.push(n.end());t.forEach(function(r){rb(e,28,r)});cb.push([i,r.length+1,ob]);++ob}function db(e,r,t){rb(e,49,kf({sz:12,color:{theme:1},name:"Arial",family:2,scheme:"minor"},t))}function vb(e,r,t){if(!r)return;[[5,8],[23,26],[41,44],[50,392]].forEach(function(a){for(var n=a[0];n<=a[1];++n)if(r[n]!=null)rb(e,1054,_f(n,r[n],t))})}function pb(e,r){var t=ya(19);t._W(4,2151);t._W(4,0);t._W(4,0);t._W(2,3);t._W(1,1);t._W(4,0);rb(e,2151,t);t=ya(39);t._W(4,2152);t._W(4,0);t._W(4,0);t._W(2,3);t._W(1,0);t._W(4,0);t._W(2,1);t._W(4,4);t._W(2,0);Vs(Ga(r["!ref"]||"A1"),t);t._W(4,4);rb(e,2152,t)}function mb(e,r){for(var t=0;t<16;++t)rb(e,224,Mf({numFmtId:0,style:true},0,r));r.cellXfs.forEach(function(t){rb(e,224,Mf(t,0,r))})}function gb(e,r){for(var t=0;t<r["!links"].length;++t){var a=r["!links"][t];rb(e,440,ml(a));if(a[1].Tooltip)rb(e,2048,bl(a))}delete r["!links"]}function bb(e,r){if(!r)return;var t=0;r.forEach(function(r,a){if(++t<=256&&r){rb(e,125,Cl(kv(a,r),a))}})}function wb(e,r,t,a,n,i){var s=16+Av(n.cellXfs,r,n);if(r.v==null&&!r.bf){rb(e,513,Ls(t,a,s));return}if(r.bf)rb(e,6,$d(r,t,a,n,s));else switch(r.t){case"d":;case"n":var f=r.t=="d"?dr(wr(r.v,i),i):r.v;if(isNaN(f))rb(e,517,jf(t,a,36,s,n,"e"));else if(!isFinite(f))rb(e,517,jf(t,a,7,s,n,"e"));else rb(e,515,Yf(t,a,f,s,n));break;case"b":;case"e":rb(e,517,jf(t,a,r.v,s,n,r.t));break;case"s":;case"str":if(n.bookSST){var l=wv(n.Strings,r.v==null?"":String(r.v),n.revStrings);rb(e,253,Af(t,a,l,s,n))}else rb(e,516,Ef(t,a,(r.v==null?"":String(r.v)).slice(0,255),s,n));break;default:rb(e,513,Ls(t,a,s));}}function kb(e,r,t){var a=Ca();var n=t.SheetNames[e],i=t.Sheets[n]||{};var s=(t||{}).Workbook||{};var f=(s.Sheets||[])[e]||{};var l=i["!data"]!=null;var o=r.biff==8;var c,h="",u=[];var d=Ga(i["!ref"]||"A1");var v=o?65536:16384;if(d.e.c>255||d.e.r>=v){if(r.WTF)throw new Error("Range "+(i["!ref"]||"A1")+" exceeds format limit A1:IV16384");d.e.c=Math.min(d.e.c,255);d.e.r=Math.min(d.e.c,v-1)}rb(a,2057,Qs(t,16,r));rb(a,13,vs(1));rb(a,12,vs(100));rb(a,15,us(true));rb(a,17,us(false));rb(a,16,xn(.001));rb(a,95,us(true));rb(a,42,us(false));rb(a,43,us(false));rb(a,130,vs(1));rb(a,128,$f([0,0]));rb(a,131,us(false));rb(a,132,us(false));if(o)bb(a,i["!cols"]);rb(a,512,If(d,r));var p=(((t||{}).Workbook||{}).WBProps||{}).date1904;if(o)i["!links"]=[];var m=[];var g=[];for(var b=d.s.c;b<=d.e.c;++b)u[b]=La(b);for(var w=d.s.r;w<=d.e.r;++w){if(l)g=i["!data"][w]||[];h=Na(w);for(b=d.s.c;b<=d.e.c;++b){c=u[b]+h;var k=l?g[b]:i[c];if(!k)continue;wb(a,k,w,b,r,p);if(o&&k.l)i["!links"].push([c,k.l]);if(k.c)m.push([k.c,w,b])}}var T=f.CodeName||f.name||n;if(o)ub(a,m);else ib(a,m);if(o)rb(a,574,gf((s.Views||[])[0]));if(o&&(i["!merges"]||[]).length)rb(a,229,cl(i["!merges"]));if(o)gb(a,i);rb(a,442,Es(T,r));if(o)pb(a,i);rb(a,10);return a.end()}function Tb(e,r,t){var a=Ca();var n=(e||{}).Workbook||{};var i=n.Sheets||[];var s=n.WBProps||{};var f=t.biff==8,l=t.biff==5;rb(a,2057,Qs(e,5,t));if(t.bookType=="xla")rb(a,135);rb(a,225,f?vs(1200):null);rb(a,193,os(2));if(l)rb(a,191);if(l)rb(a,192);rb(a,226);rb(a,92,tf("SheetJS",t));rb(a,66,vs(f?1200:1252));if(f)rb(a,353,vs(0));if(f)rb(a,448);rb(a,317,xl(e.SheetNames.length));if(f&&e.vbaraw)rb(a,211);if(f&&e.vbaraw){var o=s.CodeName||"ThisWorkbook";rb(a,442,Es(o,t))}rb(a,156,vs(17));rb(a,25,us(false));rb(a,18,us(false));rb(a,19,vs(0));if(f)rb(a,431,us(false));if(f)rb(a,444,vs(0));rb(a,61,pf(t));rb(a,64,us(false));rb(a,141,vs(0));rb(a,34,us(Dm(e)=="true"));rb(a,14,us(true));if(f)rb(a,439,us(false));rb(a,218,vs(0));db(a,e,t);vb(a,e.SSF,t);mb(a,t);if(f)rb(a,352,us(false));var c=a.end();var h=Ca();if(f)rb(h,140,kl());if(f&&cb.length)rb(h,235,hb());if(f&&t.Strings)tb(h,252,lf(t.Strings,t));rb(h,10);var u=h.end();var d=Ca();var v=0,p=0;for(p=0;p<e.SheetNames.length;++p)v+=(f?12:11)+(f?2:1)*e.SheetNames[p].length;var m=c.length+v+u.length;for(p=0;p<e.SheetNames.length;++p){var g=i[p]||{};rb(d,133,sf({pos:m,hs:g.Hidden||0,dt:0,name:e.SheetNames[p]},t));m+=r[p].length}var b=d.end();if(v!=b.length)throw new Error("BS8 "+v+" != "+b.length);var w=[];if(c.length)w.push(c);if(b.length)w.push(b);if(u.length)w.push(u);return P(w)}function Ab(e,r){var t=r||{};var a=[];if(e&&!e.SSF){e.SSF=Tr(q)}if(e&&e.SSF){Xe();Ve(e.SSF);t.revssf=lr(e.SSF);t.revssf[e.SSF[65535]]=0;t.ssf=e.SSF}ob=1;cb=[];t.Strings=[];t.Strings.Count=0;t.Strings.Unique=0;rk(t);t.cellXfs=[];Av(t.cellXfs,{},{revssf:{General:0}});if(!e.Props)e.Props={};for(var n=0;n<e.SheetNames.length;++n)a[a.length]=kb(n,t,e);a.unshift(Tb(e,a,t));return P(a)}function yb(e,r){for(var t=0;t<=e.SheetNames.length;++t){var a=e.Sheets[e.SheetNames[t]];if(!a||!a["!ref"])continue;var n=Ha(a["!ref"]);if(n.e.c>255){if(typeof console!="undefined"&&console.error)console.error("Worksheet '"+e.SheetNames[t]+"' extends beyond column IV (255). Data may be lost.")}}var i=r||{};switch(i.biff||2){case 8:;case 5:return Ab(e,r);case 4:;case 3:;case 2:return lb(e,r);}throw new Error("invalid type "+i.bookType+" for BIFF")}function Eb(e,r){var t=r||{};var a=t.dense!=null?t.dense:b;var n={};if(a)n["!data"]=[];e=e.replace(/<!--.*?-->/g,"");var i=e.match(/<table/i);if(!i)throw new Error("Invalid HTML: could not find <table>");var s=e.match(/<\/table/i);var f=i.index,l=s&&s.index||e.length;var o=Nr(e.slice(f,l),/(:?<tr[^>]*>)/i,"<tr>");var c=-1,h=0,u=0,d=0;var v={s:{r:1e7,c:1e7},e:{r:0,c:0}};var p=[];for(f=0;f<o.length;++f){var m=o[f].trim();var g=m.slice(0,3).toLowerCase();if(g=="<tr"){++c;if(t.sheetRows&&t.sheetRows<=c){--c;break}h=0;continue}if(g!="<td"&&g!="<th")continue;var w=m.split(/<\/t[dh]>/i);for(l=0;l<w.length;++l){var k=w[l].trim();if(!k.match(/<t[dh]/i))continue;var T=k,A=0;while(T.charAt(0)=="<"&&(A=T.indexOf(">"))>-1)T=T.slice(A+1);for(var y=0;y<p.length;++y){var E=p[y];if(E.s.c==h&&E.s.r<c&&c<=E.e.r){h=E.e.c+1;y=-1}}var C=rt(k.slice(0,k.indexOf(">")));d=C.colspan?+C.colspan:1;if((u=+C.rowspan)>1||d>1)p.push({s:{r:c,c:h},e:{r:c+(u||1)-1,c:h+d-1}});var _=C.t||C["data-t"]||"";if(!T.length){h+=d;continue}T=yt(T);if(v.s.r>c)v.s.r=c;if(v.e.r<c)v.e.r=c;if(v.s.c>h)v.s.c=h;if(v.e.c<h)v.e.c=h;if(!T.length){h+=d;continue}var S={t:"s",v:T};if(t.raw||!T.trim().length||_=="s"){}else if(T==="TRUE")S={t:"b",v:true};else if(T==="FALSE")S={t:"b",v:false};else if(!isNaN(yr(T)))S={t:"n",v:yr(T)};else if(!isNaN(Ir(T).getDate())){S={t:"d",v:wr(T)};if(t.UTC===false)S.v=Fr(S.v);if(!t.cellDates)S={t:"n",v:dr(S.v)};S.z=t.dateNF||q[14]}if(S.cellText!==false)S.w=T;if(a){if(!n["!data"][c])n["!data"][c]=[];n["!data"][c][h]=S}else n[za({r:c,c:h})]=S;h+=d}}n["!ref"]=Va(v);if(p.length)n["!merges"]=p;return n}function Cb(e,r,t,a){var n=e["!merges"]||[];var i=[];var s={};var f=e["!data"]!=null;for(var l=r.s.c;l<=r.e.c;++l){var o=0,c=0;for(var h=0;h<n.length;++h){if(n[h].s.r>t||n[h].s.c>l)continue;if(n[h].e.r<t||n[h].e.c<l)continue;if(n[h].s.r<t||n[h].s.c<l){o=-1;break}o=n[h].e.r-n[h].s.r+1;c=n[h].e.c-n[h].s.c+1;break}if(o<0)continue;var u=La(l)+Na(t);var d=f?(e["!data"][t]||[])[l]:e[u];var v=d&&d.v!=null&&(d.h||ht(d.w||(Ka(d),d.w)||""))||"";s={};if(o>1)s.rowspan=o;if(c>1)s.colspan=c;if(a.editable)v='<span contenteditable="true">'+v+"</span>";else if(d){s["data-t"]=d&&d.t||"z";if(d.v!=null)s["data-v"]=d.v instanceof Date?d.v.toISOString():d.v;if(d.z!=null)s["data-z"]=d.z;if(d.l&&(d.l.Target||"#").charAt(0)!="#")v='<a href="'+ht(d.l.Target)+'">'+v+"</a>"}s.id=(a.id||"sjs")+"-"+u;i.push(It("td",v,s))}var p="<tr>";return p+i.join("")+"</tr>"}var _b='<html><head><meta charset="utf-8"/><title>SheetJS Table Export';var Sb="";function xb(e,r){var t=e.match(/[\s\S]*?<\/table>/gi);if(!t||t.length==0)throw new Error("Invalid HTML: could not find
");if(t.length==1){var a=Ya(Eb(t[0],r),r);a.bookType="html";return a}var n=jk();t.forEach(function(e,t){Kk(n,Eb(e,r),"Sheet"+(t+1))});n.bookType="html";return n}function Ob(e,r,t){var a=[];return a.join("")+""}function Rb(e,r){var t=r||{};var a=t.header!=null?t.header:_b;var n=t.footer!=null?t.footer:Sb;var i=[a];var s=Ha(e["!ref"]||"A1");i.push(Ob(e,s,t));if(e["!ref"])for(var f=s.s.r;f<=s.e.r;++f)i.push(Cb(e,s,f,t));i.push("
"+n);return i.join("")}function Ib(e,r,t){var a=r.rows;if(!a){throw"Unsupported origin when "+r.tagName+" is not a TABLE"}var n=t||{};var i=e["!data"]!=null;var s=0,f=0;if(n.origin!=null){if(typeof n.origin=="number")s=n.origin;else{var l=typeof n.origin=="string"?Wa(n.origin):n.origin;s=l.r;f=l.c}}var o=Math.min(n.sheetRows||1e7,a.length); +var c={s:{r:0,c:0},e:{r:s,c:f}};if(e["!ref"]){var h=Ha(e["!ref"]);c.s.r=Math.min(c.s.r,h.s.r);c.s.c=Math.min(c.s.c,h.s.c);c.e.r=Math.max(c.e.r,h.e.r);c.e.c=Math.max(c.e.c,h.e.c);if(s==-1)c.e.r=s=h.e.r+1}var u=[],d=0;var v=e["!rows"]||(e["!rows"]=[]);var p=0,m=0,g=0,b=0,w=0,k=0;if(!e["!cols"])e["!cols"]=[];for(;p1||k>1)u.push({s:{r:m+s,c:b+f},e:{r:m+s+(w||1)-1,c:b+f+(k||1)-1}});var S={t:"s",v:E};var x=y.getAttribute("data-t")||y.getAttribute("t")||"";if(E!=null){if(E.length==0)S.t=x||"z";else if(n.raw||E.trim().length==0||x=="s"){}else if(E==="TRUE")S={t:"b",v:true};else if(E==="FALSE")S={t:"b",v:false};else if(!isNaN(yr(E)))S={t:"n",v:yr(E)};else if(!isNaN(Ir(E).getDate())){S={t:"d",v:wr(E)};if(n.UTC)S.v=Dr(S.v);if(!n.cellDates)S={t:"n",v:dr(S.v)};S.z=n.dateNF||q[14]}}if(S.z===undefined&&C!=null)S.z=C;var O="",R=y.getElementsByTagName("A");if(R&&R.length)for(var I=0;I=o)e["!fullref"]=Va((c.e.r=a.length-p+m-1+s,c));return e}function Nb(e,r){var t=r||{};var a={};if(t.dense)a["!data"]=[];return Ib(a,e,r)}function Fb(e,r){var t=Ya(Nb(e,r),r);return t}function Db(e){var r="";var t=Pb(e);if(t)r=t(e).getPropertyValue("display");if(!r)r=e.style&&e.style.display;return r==="none"}function Pb(e){if(e.ownerDocument.defaultView&&typeof e.ownerDocument.defaultView.getComputedStyle==="function")return e.ownerDocument.defaultView.getComputedStyle;if(typeof getComputedStyle==="function")return getComputedStyle;return null}function Lb(e){var r=e.replace(/[\t\r\n]/g," ").trim().replace(/ +/g," ").replace(//g," ").replace(//g,function(e,r){return Array(parseInt(r,10)+1).join(" ")}).replace(/]*\/>/g,"\t").replace(//g,"\n");var t=it(r.replace(/<[^>]*>/g,""));return[t]}function Mb(e,r,t){var a=t||{};var n=Dt(e);Pt.lastIndex=0;n=n.replace(//gm,"").replace(//gm,"");var i,s,f="",l="",o,c=0,h=-1,u=false,d="";while(i=Pt.exec(n)){switch(i[3]=i[3].replace(/_.*$/,"")){case"number-style":;case"currency-style":;case"percentage-style":;case"date-style":;case"time-style":;case"text-style":if(i[1]==="/"){u=false;if(s["truncate-on-overflow"]=="false"){if(f.match(/h/))f=f.replace(/h+/,"[$&]");else if(f.match(/m/))f=f.replace(/m+/,"[$&]");else if(f.match(/s/))f=f.replace(/s+/,"[$&]")}a[s.name]=f;f=""}else if(i[0].charAt(i[0].length-2)!=="/"){u=true;f="";s=rt(i[0],false)}break;case"boolean-style":if(i[1]==="/"){u=false;a[s.name]="General";f=""}else if(i[0].charAt(i[0].length-2)!=="/"){u=true;f="";s=rt(i[0],false)}break;case"boolean":f+="General";break;case"text":if(i[1]==="/"){d=n.slice(h,Pt.lastIndex-i[0].length);if(d=="%"&&s[0]=="=0")f=a[o["apply-style-name"]]+";"+f;else console.error("ODS number format may be incorrect: "+o["condition"]);break;case"number":if(i[1]==="/")break;o=rt(i[0],false);l="";l+=Ar("0",+o["min-integer-digits"]||1);if(pt(o["grouping"]))l=ue(Ar("#",Math.max(0,4-l.length))+l);if(+o["min-decimal-places"]||+o["decimal-places"])l+=".";if(+o["min-decimal-places"])l+=Ar("0",+o["min-decimal-places"]||1);if(+o["decimal-places"]-(+o["min-decimal-places"]||0))l+=Ar("0",+o["decimal-places"]-(+o["min-decimal-places"]||0));f+=l;break;case"embedded-text":if(i[1]==="/"){if(c==0)f+='"'+n.slice(h,Pt.lastIndex-i[0].length).replace(/"/g,'""')+'"';else f=f.slice(0,c)+'"'+n.slice(h,Pt.lastIndex-i[0].length).replace(/"/g,'""')+'"'+f.slice(c)}else if(i[0].charAt(i[0].length-2)!=="/"){h=Pt.lastIndex;c=-+rt(i[0],false)["position"]||0}break;}}return a}function Ub(e,r,t){var a=r||{};if(b!=null&&a.dense==null)a.dense=b;var n=Dt(e);var i=[],s;var f;var l,o="",c=0;var h;var u;var d={},v=[];var p={};if(a.dense)p["!data"]=[];var m,g;var w={value:""};var k="",T=0,A,y="",E=0;var C=[],_=[];var S=-1,x=-1,O={s:{r:1e6,c:1e7},e:{r:0,c:0}};var R=0;var I=t||{},N={};var F=[],D={},P=0,L=0;var M=[],U=1,B=1;var W=[];var z={Names:[],WBProps:{}};var H={};var V=["",""];var X=[],$={};var G="",j=0;var K=false,Y=false;var Z=0;Pt.lastIndex=0;n=n.replace(//gm,"").replace(//gm,"");while(m=Pt.exec(n))switch(m[3]=m[3].replace(/_.*$/,"")){case"table":;case"工作表":if(m[1]==="/"){if(O.e.c>=O.s.c&&O.e.r>=O.s.r)p["!ref"]=Va(O);else p["!ref"]="A1:A1";if(a.sheetRows>0&&a.sheetRows<=O.e.r){p["!fullref"]=p["!ref"];O.e.r=a.sheetRows-1;p["!ref"]=Va(O)}if(F.length)p["!merges"]=F;if(M.length)p["!rows"]=M;h.name=h["名称"]||h.name;if(typeof JSON!=="undefined")JSON.stringify(h);v.push(h.name);d[h.name]=p;Y=false}else if(m[0].charAt(m[0].length-2)!=="/"){h=rt(m[0],false);S=x=-1;O.s.r=O.s.c=1e7;O.e.r=O.e.c=0;p={};if(a.dense)p["!data"]=[];F=[];M=[];Y=true}break;case"table-row-group":if(m[1]==="/")--R;else++R;break;case"table-row":;case"行":if(m[1]==="/"){S+=U;U=1;break}u=rt(m[0],false);if(u["行号"])S=u["行号"]-1;else if(S==-1)S=0;U=+u["number-rows-repeated"]||1;if(U<10)for(Z=0;Z0)M[S+Z]={level:R};x=-1;break;case"covered-table-cell":if(m[1]!=="/")++x;if(a.sheetStubs){if(a.dense){if(!p["!data"][S])p["!data"][S]=[];p["!data"][S][x]={t:"z"}}else p[za({r:S,c:x})]={t:"z"}}k="";C=[];break;case"table-cell":;case"数据":if(m[0].charAt(m[0].length-2)==="/"){++x;w=rt(m[0],false);B=parseInt(w["number-columns-repeated"]||"1",10);g={t:"z",v:null};if(w.formula&&a.cellFormula!=false)g.f=uv(it(w.formula));if(w["style-name"]&&N[w["style-name"]])g.z=N[w["style-name"]];if((w["数据类型"]||w["value-type"])=="string"){g.t="s";g.v=it(w["string-value"]||"");if(a.dense){if(!p["!data"][S])p["!data"][S]=[];p["!data"][S][x]=g}else{p[La(x)+Na(S)]=g}}x+=B-1}else if(m[1]!=="/"){++x;k=y="";T=E=0;C=[];_=[];B=1;var J=U?S+U-1:S;if(x>O.e.c)O.e.c=x;if(xO.e.r)O.e.r=J;w=rt(m[0],false);X=[];$={};g={t:w["数据类型"]||w["value-type"],v:null};if(w["style-name"]&&N[w["style-name"]])g.z=N[w["style-name"]];if(a.cellFormula){if(w.formula)w.formula=it(w.formula);if(w["number-matrix-columns-spanned"]&&w["number-matrix-rows-spanned"]){P=parseInt(w["number-matrix-rows-spanned"],10)||0;L=parseInt(w["number-matrix-columns-spanned"],10)||0;D={s:{r:S,c:x},e:{r:S+P-1,c:x+L-1}};g.F=Va(D);W.push([D,g.F])}if(w.formula)g.f=uv(w.formula);else for(Z=0;Z=W[Z][0].s.r&&S<=W[Z][0].e.r)if(x>=W[Z][0].s.c&&x<=W[Z][0].e.c)g.F=W[Z][1]}if(w["number-columns-spanned"]||w["number-rows-spanned"]){P=parseInt(w["number-rows-spanned"],10)||0;L=parseInt(w["number-columns-spanned"],10)||0;D={s:{r:S,c:x},e:{r:S+P-1,c:x+L-1}};F.push(D)}if(w["number-columns-repeated"])B=parseInt(w["number-columns-repeated"],10);switch(g.t){case"boolean":g.t="b";g.v=pt(w["boolean-value"])||+w["boolean-value"]>=1;break;case"float":g.t="n";g.v=parseFloat(w.value);if(a.cellDates&&g.z&&Le(g.z)){g.v=vr(g.v+(z.WBProps.date1904?1462:0));g.t=typeof g.v=="number"?"n":"d"}break;case"percentage":g.t="n";g.v=parseFloat(w.value);break;case"currency":g.t="n";g.v=parseFloat(w.value);break;case"date":g.t="d";g.v=wr(w["date-value"],z.WBProps.date1904);if(!a.cellDates){g.t="n";g.v=dr(g.v,z.WBProps.date1904)}if(!g.z)g.z="m/d/yy";break;case"time":g.t="n";g.v=pr(w["time-value"])/86400;if(a.cellDates){g.v=vr(g.v);g.t=typeof g.v=="number"?"n":"d"}if(!g.z)g.z="HH:MM:SS";break;case"number":g.t="n";g.v=parseFloat(w["数据数值"]);break;default:if(g.t==="string"||g.t==="text"||!g.t){g.t="s";if(w["string-value"]!=null){k=it(w["string-value"]);C=[]}}else throw new Error("Unsupported value type "+g.t);}}else{K=false;if(g.t==="s"){g.v=k||"";if(C.length)g.R=C;K=T==0}if(H.Target)g.l=H;if(X.length>0){g.c=X;X=[]}if(k&&a.cellText!==false)g.w=k;if(K){g.t="z";delete g.v}if(!K||a.sheetStubs){if(!(a.sheetRows&&a.sheetRows<=S)){for(var q=0;q0)p["!data"][S+q][x+B]=Tr(g)}else{p[za({r:S+q,c:x})]=g;while(--B>0)p[za({r:S+q,c:x+B})]=Tr(g)}if(O.e.c<=x)O.e.c=x}}}B=parseInt(w["number-columns-repeated"]||"1",10);x+=B-1;B=0;g={};k="";C=[]}H={};break;case"document":;case"document-content":;case"电子表格文档":;case"spreadsheet":;case"主体":;case"scripts":;case"styles":;case"font-face-decls":;case"master-styles":if(m[1]==="/"){if((s=i.pop())[0]!==m[3])throw"Bad state: "+s}else if(m[0].charAt(m[0].length-2)!=="/")i.push([m[3],true]);break;case"annotation":if(m[1]==="/"){if((s=i.pop())[0]!==m[3])throw"Bad state: "+s;$.t=k;if(C.length)$.R=C;$.a=G;X.push($);k=y;T=E;C=_}else if(m[0].charAt(m[0].length-2)!=="/"){i.push([m[3],false]);var Q=rt(m[0],true);if(!(Q["display"]&&pt(Q["display"])))X.hidden=true;y=k;E=T;_=C;k="";T=0;C=[]}G="";j=0;break;case"creator":if(m[1]==="/"){G=n.slice(j,m.index)}else j=m.index+m[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":;case"chart":if(m[1]==="/"){if((s=i.pop())[0]!==m[3])throw"Bad state: "+s}else if(m[0].charAt(m[0].length-2)!=="/")i.push([m[3],false]);k="";T=0;C=[];break;case"scientific-number":;case"currency-symbol":;case"fill-character":break;case"text-style":;case"boolean-style":;case"number-style":;case"currency-style":;case"percentage-style":;case"date-style":;case"time-style":if(m[1]==="/"){var ee=Pt.lastIndex;Mb(n.slice(l,Pt.lastIndex),r,I);Pt.lastIndex=ee}else if(m[0].charAt(m[0].length-2)!=="/"){l=Pt.lastIndex-m[0].length}break;case"script":break;case"libraries":break;case"automatic-styles":break;case"default-style":;case"page-layout":break;case"style":{var re=rt(m[0],false);if(re["family"]=="table-cell"&&I[re["data-style-name"]])N[re["name"]]=I[re["data-style-name"]]}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":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":break;case"boolean":break;case"text":if(m[0].slice(-2)==="/>")break;else if(m[1]==="/")switch(i[i.length-1][0]){case"number-style":;case"date-style":;case"time-style":o+=n.slice(c,m.index);break;}else c=m.index+m[0].length;break;case"named-range":f=rt(m[0],false);V=vv(f["cell-range-address"]);var te={Name:f.name,Ref:V[0]+"!"+V[1]};if(Y)te.Sheet=v.length;z.Names.push(te);break;case"text-content":break;case"text-properties":break;case"embedded-text":break;case"body":;case"电子表格":break;case"forms":break;case"table-column":break;case"table-header-rows":break;case"table-rows":break;case"table-column-group":break;case"table-header-columns":break;case"table-columns":break;case"null-date":f=rt(m[0],false);switch(f["date-value"]){case"1904-01-01":z.WBProps.date1904=true;break;}break;case"graphic-properties":break;case"calculation-settings":break;case"named-expressions":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(["master-styles"].indexOf(i[i.length-1][0])>-1)break;if(m[1]==="/"&&(!w||!w["string-value"])){var ae=Lb(n.slice(T,m.index),A);k=(k.length>0?k+"\n":"")+ae[0]}else if(m[0].slice(-2)=="/>"){k+="\n"}else{A=rt(m[0],false);T=m.index+m[0].length}break;case"s":break;case"database-range":if(m[1]==="/")break;try{V=vv(rt(m[0])["target-range-address"]);d[V[0]]["!autofilter"]={ref:V[1]}}catch(ne){}break;case"date":break;case"object":break;case"title":;case"标题":break;case"desc":break;case"binary-data":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"filter-set-item":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"print-date":;case"generator":;case"document-statistic":;case"user-defined":;case"editing-duration":;case"editing-cycles":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":if(m[1]!=="/"){H=rt(m[0],false);if(!H.href)break;H.Target=it(H.href);delete H.href;if(H.Target.charAt(0)=="#"&&H.Target.indexOf(".")>-1){V=vv(H.Target.slice(1));H.Target="#"+V[0]+"!"+V[1]}else if(H.Target.match(/^\.\.[\\\/]/))H.Target=H.Target.slice(3)}break;case"table-protection":break;case"data-pilot-grand-total":break;case"office-document-common-attrs":break;default:switch(m[2]){case"dc:":;case"calcext:":;case"loext:":;case"ooo:":;case"chartooo:":;case"draw:":;case"style:":;case"chart:":;case"form:":;case"uof:":;case"表:":;case"字:":break;default:if(a.WTF)throw new Error(m);};}var ie={Sheets:d,SheetNames:v,Workbook:z};if(a.bookSheets)delete ie.Sheets;return ie}function Bb(e,r){r=r||{};if(Ur(e,"META-INF/manifest.xml"))mi(Wr(e,"META-INF/manifest.xml"),r);var t=zr(e,"styles.xml");var a=t&&Mb(kt(t),r);var n=zr(e,"content.xml");if(!n)throw new Error("Missing content.xml in ODS / UOF file");var i=Ub(kt(n),r,a);if(Ur(e,"meta.xml"))i.Props=Ei(Wr(e,"meta.xml"));i.bookType="ods";return i}function Wb(e,r){var t=Ub(e,r);t.bookType="fods";return t}var zb=function(){var e=["",'',"",'',"",'',"",""].join("");var r=""+e+"";return function t(){return Kr+r}}();function Hb(e,r){var t="number",a="",n={"style:name":r},i="",s=0;e=e.replace(/"[$]"/g,"$");e:{if(e.indexOf(";")>-1){console.error("Unsupported ODS Style Map exported. Using first branch of "+e);e=e.slice(0,e.indexOf(";"))}if(e=="@"){t="text";a="";break e}if(e.indexOf(/\$/)>-1){t="currency"}if(e[s]=='"'){i="";while(e[++s]!='"'||e[++s]=='"')i+=e[s];--s;if(e[s+1]=="*"){s++;a+=""+lt(i.replace(/""/g,'"'))+""}else{a+=""+lt(i.replace(/""/g,'"'))+""}e=e.slice(s+1);s=0}var f=e.match(/# (\?+)\/(\?+)/);if(f){a+=It("number:fraction",null,{"number:min-integer-digits":0,"number:min-numerator-digits":f[1].length,"number:max-denominator-value":Math.max(+f[1].replace(/./g,"9"),+f[2].replace(/./g,"9"))});break e}if(f=e.match(/# (\?+)\/(\d+)/)){a+=It("number:fraction",null,{"number:min-integer-digits":0,"number:min-numerator-digits":f[1].length,"number:denominator-value":+f[2]});break e}if(f=e.match(/(\d+)(|\.\d+)%/)){t="percentage";a+=It("number:number",null,{"number:decimal-places":f[2]&&f.length-1||0,"number:min-decimal-places":f[2]&&f.length-1||0,"number:min-integer-digits":f[1].length})+"%";break e}var l=false;if(["y","m","d"].indexOf(e[0])>-1){t="date";r:for(;s";break;case"yyy":;case"yyyy":a+='';break;case"mmmmm":console.error("ODS has no equivalent of format |mmmmm|");case"m":;case"mm":;case"mmm":;case"mmmm":a+='';break;case"d":;case"dd":a+='';break;case"ddd":;case"dddd":a+='';break;}break;case'"':while(e[++s]!='"'||e[++s]=='"')i+=e[s];--s;a+=""+lt(i.slice(1).replace(/""/g,'"'))+"";break;case"\\":i=e[++s];a+=""+lt(i)+"";break;case"/":;case":":a+=""+lt(i)+"";break;default:console.error("unrecognized character "+i+" in ODF format "+e);}if(!l)break e;e=e.slice(s+1);s=0}if(e.match(/^\[?[hms]/)){if(t=="number")t="time";if(e.match(/\[/)){e=e.replace(/[\[\]]/g,"");n["number:truncate-on-overflow"]="false"}for(;s';break;case"m":;case"mm":a+='';break;case"s":;case"ss":if(e[s+1]==".")do{i+=e[s+1];++s}while(e[s+1]=="0");a+='";break;}break;case'"':while(e[++s]!='"'||e[++s]=='"')i+=e[s];--s;a+=""+lt(i.slice(1).replace(/""/g,'"'))+"";break;case"/":;case":":a+=""+lt(i)+"";break;case"a":if(e.slice(s,s+3).toLowerCase()=="a/p"){a+="";s+=2;break}if(e.slice(s,s+5).toLowerCase()=="am/pm"){a+="";s+=4;break};default:console.error("unrecognized character "+i+" in ODF format "+e);}break e}if(e.indexOf(/\$/)>-1){t="currency"}if(e[0]=="$"){a+='$';e=e.slice(1);s=0}s=0;if(e[s]=='"'){while(e[++s]!='"'||e[++s]=='"')i+=e[s];--s;if(e[s+1]=="*"){s++;a+=""+lt(i.replace(/""/g,'"'))+""}else{a+=""+lt(i.replace(/""/g,'"'))+""}e=e.slice(s+1);s=0}var c=e.match(/([#0][0#,]*)(\.[0#]*|)(E[+]?0*|)/i);if(!c||!c[0])console.error("Could not find numeric part of "+e);else{var h=c[1].replace(/,/g,"");a+="-1?' number:grouping="true"':"")+(c[2]&&' number:decimal-places="'+(c[2].length-1)+'"'||' number:decimal-places="0"')+(c[3]&&c[3].indexOf("+")>-1?' number:forced-exponent-sign="true"':"")+(c[3]?' number:min-exponent-digits="'+c[3].match(/0+/)[0].length+'"':"")+">"+"";s=c.index+c[0].length}if(e[s]=='"'){i="";while(e[++s]!='"'||e[++s]=='"')i+=e[s];--s;a+=""+lt(i.replace(/""/g,'"'))+""}}if(!a){console.error("Could not generate ODS number format for |"+e+"|");return""}return It("number:"+t+"-style",a,n)}function Vb(e,r,t){var a=[];for(var n=0;n\n"+a.map(function(e){var r=(t==-1?"$":"")+pv(e.Ref);return" "+It("table:named-range",null,{"table:name":e.Name,"table:cell-range-address":r,"table:base-cell-address":r.replace(/[\.]?[^\.]*$/,".$A$1")})}).join("\n")+"\n \n"}var Xb=function(){var e=function(e){return lt(e).replace(/ +/g,function(e){return''}).replace(/\t/g,"").replace(/\n/g,"").replace(/^ /,"").replace(/ $/,"")};var r=" \n";var t=function(t,a,n,i,s,f){var l=[];l.push(' \n');var o=0,c=0,h=Ha(t["!ref"]||"A1");var u=t["!merges"]||[],d=0;var v=t["!data"]!=null;if(t["!cols"]){for(c=0;c<=h.e.c;++c)l.push(" \n")}var p="",m=t["!rows"]||[];for(o=0;o\n")}for(;o<=h.e.r;++o){p=m[o]?' table:style-name="ro'+m[o].ods+'"':"";l.push(" \n");for(c=0;cc)continue;if(u[d].s.r>o)continue;if(u[d].e.c\n");continue}var k=za({r:o,c:c}),T=v?(t["!data"][o]||[])[c]:t[k];if(T&&T.f){b["table:formula"]=lt(dv(T.f));if(T.F){if(T.F.slice(0,k.length)==k){var A=Ha(T.F);b["table:number-matrix-columns-spanned"]=A.e.c-A.s.c+1;b["table:number-matrix-rows-spanned"]=A.e.r-A.s.r+1}}}if(!T){l.push(r);continue}switch(T.t){case"b":w=T.v?"TRUE":"FALSE";b["office:value-type"]="boolean";b["office:boolean-value"]=T.v?"true":"false";break;case"n":w=T.w||String(T.v||0);b["office:value-type"]="float";b["office:value"]=T.v||0;break;case"s":;case"str":w=T.v==null?"":T.v;b["office:value-type"]="string";break;case"d":w=T.w||wr(T.v,f).toISOString();b["office:value-type"]="date";b["office:date-value"]=wr(T.v,f).toISOString();b["table:style-name"]="ce1";break;default:l.push(r);continue;}var y=e(w);if(T.l&&T.l.Target){var E=T.l.Target;E=E.charAt(0)=="#"?"#"+pv(E.slice(1)):E;if(E.charAt(0)!="#"&&!E.match(/^\w+:/))E="../"+E;y=It("text:a",y,{"xlink:href":E.replace(/&/g,"&")})}if(s[T.z])b["table:style-name"]="ce"+s[T.z].slice(1);var C=It("text:p",y,{});if(T.c){var _="",S="",x={};for(var O=0;O"+e(T.c[O].t)+""}if(!T.c.hidden)x["office:display"]=true;C=It("office:annotation",S,x)+C}l.push(" "+It("table:table-cell",C,b)+"\n")}l.push(" \n")}if((a.Workbook||{}).Names)l.push(Vb(a.Workbook.Names,a.SheetNames,n));l.push(" \n");return l.join("")};var a=function(e,r){e.push(" \n");var t=0;r.SheetNames.map(function(e){return r.Sheets[e]}).forEach(function(r){if(!r)return;if(r["!cols"]){for(var a=0;a\n');e.push(' \n');e.push(" \n");++t}}});var a=0;r.SheetNames.map(function(e){return r.Sheets[e]}).forEach(function(r){if(!r)return;if(r["!rows"]){for(var t=0;t\n');e.push(' \n');e.push(" \n");++a}}});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");var n={};var i=69;r.SheetNames.map(function(e){return r.Sheets[e]}).forEach(function(r){if(!r)return;var t=r["!data"]!=null;if(!r["!ref"])return;var a=Ha(r["!ref"]);for(var s=0;s<=a.e.r;++s)for(var f=0;f<=a.e.c;++f){var l=t?(r["!data"][s]||[])[f]:r[za({r:s,c:f})];if(!l||!l.z||l.z.toLowerCase()=="general")continue;if(!n[l.z]){var o=Hb(l.z,"N"+i);if(o){n[l.z]="N"+i;++i;e.push(o+"\n")}}}});e.push(' \n');ir(n).forEach(function(r){e.push('\n')});e.push(" \n");return n};return function n(e,r){var n=[Kr];var i=Rt({"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=Rt({"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");n.push(Ti().replace(//,"").replace(/<\/office:document-meta>/,"")+"\n")}else n.push("\n"); +var f=a(n,e);n.push(" \n");n.push(" \n");if(((e.Workbook||{}).WBProps||{}).date1904)n.push(' \n \n \n');for(var l=0;l!=e.SheetNames.length;++l)n.push(t(e.Sheets[e.SheetNames[l]],e,l,r,f,((e.Workbook||{}).WBProps||{}).date1904));if((e.Workbook||{}).Names)n.push(Vb(e.Workbook.Names,e.SheetNames,-1));n.push(" \n");n.push(" \n");if(r.bookType=="fods")n.push("");else n.push("");return n.join("")}}();function $b(e,r){if(r.bookType=="fods")return Xb(e,r);var t=$r();var a="";var n=[];var i=[];a="mimetype";Xr(t,a,"application/vnd.oasis.opendocument.spreadsheet");a="content.xml";Xr(t,a,Xb(e,r));n.push([a,"text/xml"]);i.push([a,"ContentFile"]);a="styles.xml";Xr(t,a,zb(e,r));n.push([a,"text/xml"]);i.push([a,"StylesFile"]);a="meta.xml";Xr(t,a,Kr+Ti());n.push([a,"text/xml"]);i.push([a,"MetadataFile"]);a="manifest.rdf";Xr(t,a,ki(i));n.push([a,"application/rdf+xml"]);a="META-INF/manifest.xml";Xr(t,a,gi(n));return t}var Gb=function(){try{if(typeof Uint8Array=="undefined")return"slice";if(typeof Uint8Array.prototype.subarray=="undefined")return"slice";if(typeof Buffer!=="undefined"){if(typeof Buffer.prototype.subarray=="undefined")return"slice";if((typeof Buffer.from=="function"?Buffer.from([72,62]):new Buffer([72,62]))instanceof Uint8Array)return"subarray";return"slice"}return"subarray"}catch(e){return"slice"}}();function jb(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function Kb(e){return typeof TextDecoder!="undefined"?(new TextDecoder).decode(e):kt(N(e))}function Yb(e){return typeof TextEncoder!="undefined"?(new TextEncoder).encode(e):R(Tt(e))}function Zb(e){var r=0;for(var t=0;t>1&1431655765;e=(e&858993459)+(e>>2&858993459);return(e+(e>>4)&252645135)*16843009>>>24}function qb(e,r){var t=(e[r+15]&127)<<7|e[r+14]>>1;var a=e[r+14]&1;for(var n=r+13;n>=r;--n)a=a*256+e[n];return(e[r+15]&128?-a:a)*Math.pow(10,t-6176)}function Qb(e,r,t){var a=Math.floor(t==0?0:Math.LOG10E*Math.log(Math.abs(t)))+6176-16;var n=t/Math.pow(10,a-6176);e[r+15]|=a>>7;e[r+14]|=(a&127)<<1;for(var i=0;n>=1;++i,n/=256)e[r+i]=n&255;e[r+15]|=t>=0?0:128}function ew(e,r){var t=r.l;var a=e[t]&127;e:if(e[t++]>=128){a|=(e[t]&127)<<7;if(e[t++]<128)break e;a|=(e[t]&127)<<14;if(e[t++]<128)break e;a|=(e[t]&127)<<21;if(e[t++]<128)break e;a+=(e[t]&127)*Math.pow(2,28);++t;if(e[t++]<128)break e;a+=(e[t]&127)*Math.pow(2,35);++t;if(e[t++]<128)break e;a+=(e[t]&127)*Math.pow(2,42);++t;if(e[t++]<128)break e}r.l=t;return a}function rw(e){var r=new Uint8Array(7);r[0]=e&127;var t=1;e:if(e>127){r[t-1]|=128;r[t]=e>>7&127;++t;if(e<=16383)break e;r[t-1]|=128;r[t]=e>>14&127;++t;if(e<=2097151)break e;r[t-1]|=128;r[t]=e>>21&127;++t;if(e<=268435455)break e;r[t-1]|=128;r[t]=e/256>>>21&127;++t;if(e<=34359738367)break e;r[t-1]|=128;r[t]=e/65536>>>21&127;++t;if(e<=4398046511103)break e;r[t-1]|=128;r[t]=e/16777216>>>21&127;++t}return r[Gb](0,t)}function tw(e){var r={l:0};var t=[];while(r.l=128){t|=(e[r]&127)<<7;if(e[r++]<128)break e;t|=(e[r]&127)<<14;if(e[r++]<128)break e;t|=(e[r]&127)<<21;if(e[r++]<128)break e;t|=(e[r]&127)<<28;a=e[r]>>4&7;if(e[r++]<128)break e;a|=(e[r]&127)<<3;if(e[r++]<128)break e;a|=(e[r]&127)<<10;if(e[r++]<128)break e;a|=(e[r]&127)<<17;if(e[r++]<128)break e;a|=(e[r]&127)<<24;if(e[r++]<128)break e;a|=(e[r]&127)<<31}return[t>>>0,a>>>0]}function sw(e){var r=[],t={l:0};while(t.l=128);s=e[Gb](t.l,f);t.l=f}break;case 1:{s=e[Gb](f,f+8);t.l=f+8}break;case 2:{var l=ew(e,t);s=e[Gb](t.l,t.l+l);t.l+=l}break;case 5:{s=e[Gb](f,f+4);t.l=f+4}break;default:throw new Error("PB Type ".concat(i," for Field ").concat(n," at offset ").concat(a));}var o={data:s,type:i};if(r[n]==null)r[n]=[];r[n].push(o)}return r}function fw(e){var r=[];e.forEach(function(e,t){if(t==0)return;e.forEach(function(e){if(!e.data)return;r.push(rw(t*8+e.type));if(e.type==2)r.push(rw(e.data.length));r.push(e.data)})});return Zb(r)}function lw(e,r){return(e==null?void 0:e.map(function(e){return r(e.data)}))||[]}function ow(e){var r;var t=[],a={l:0};while(a.l>>0>0;t.push(s)}return t}function cw(e){var r=[];e.forEach(function(e){var t=[[],[{data:rw(e.id),type:0}],[]];if(e.merge!=null)t[3]=[{data:rw(+!!e.merge),type:0}];var a=[];e.messages.forEach(function(e){a.push(e.data);e.meta[3]=[{type:0,data:rw(e.data.length)}];t[2].push({data:fw(e.meta),type:2})});var n=fw(t);r.push(rw(n.length));r.push(n);a.forEach(function(e){return r.push(e)})});return Zb(r)}function hw(e,r){if(e!=0)throw new Error("Unexpected Snappy chunk type ".concat(e));var t={l:0};var a=ew(r,t);var n=[];var i=t.l;while(i>2;if(f<60)++f;else{var l=f-59;f=r[i];if(l>1)f|=r[i+1]<<8;if(l>2)f|=r[i+2]<<16;if(l>3)f|=r[i+3]<<24;f>>>=0;f++;i+=l}n.push(r[Gb](i,i+f));i+=f;continue}else{var o=0,c=0;if(s==1){c=(r[i]>>2&7)+4;o=(r[i++]&224)<<3;o|=r[i++]}else{c=(r[i++]>>2)+1;if(s==2){o=r[i]|r[i+1]<<8;i+=2}else{o=(r[i]|r[i+1]<<8|r[i+2]<<16|r[i+3]<<24)>>>0;i+=4}}if(o==0)throw new Error("Invalid offset 0");var h=n.length-1,u=o;while(h>=0&&u>=n[h].length){u-=n[h].length;--h}if(h<0){if(u==0)u=n[h=0].length;else throw new Error("Invalid offset beyond length")}if(c0){n.push(n[h][Gb](n[h].length-u));c-=u}++h;while(c>=n[h].length){n.push(n[h]);c-=n[h].length;++h}if(c)n.push(n[h][Gb](0,c))}if(n.length>25)n=[Zb(n)]}}var d=0;for(var v=0;v>8&255]))}else if(a<=16777216){s+=4;r.push(new Uint8Array([248,a-1&255,a-1>>8&255,a-1>>16&255]))}else if(a<=4294967296){s+=5;r.push(new Uint8Array([252,a-1&255,a-1>>8&255,a-1>>16&255,a-1>>>24&255]))}r.push(e[Gb](t,t+a));s+=a;n[0]=0;n[1]=s&255;n[2]=s>>8&255;n[3]=s>>16&255;t+=a}return Zb(r)}var vw=function(){return{sst:[],rsst:[],ofmt:[],nfmt:[],fmla:[],ferr:[],cmnt:[]}};function pw(e,r,t,a,n){var i,s,f,l;var o=r&255,c=r>>8;var h=c>=5?n:a;e:if(t&(c>4?8:4)&&e.t=="n"&&o==7){var u=((i=h[7])==null?void 0:i[0])?nw(h[7][0].data):-1;if(u==-1)break e;var d=((s=h[15])==null?void 0:s[0])?nw(h[15][0].data):-1;var v=((f=h[16])==null?void 0:f[0])?nw(h[16][0].data):-1;var p=((l=h[40])==null?void 0:l[0])?nw(h[40][0].data):-1;var m=e.v,g=m;r:if(p){if(m==0){d=v=2;break r}if(m>=604800)d=1;else if(m>=86400)d=2;else if(m>=3600)d=4;else if(m>=60)d=8;else if(m>=1)d=16;else d=32;if(Math.floor(m)!=m)v=32;else if(m%60)v=16;else if(m%3600)v=8;else if(m%86400)v=4;else if(m%604800)v=2;if(v=2){g=m/86400;if(v>2){g|=0;m-=86400*g}w.push('d"d"');b.push(g+(u==2?" day"+(g==1?"":"s"):u==1?"d":""))}if(d<=4&&v>=4){g=m/3600;if(v>4){g|=0;m-=3600*g}w.push((d>=4?"[h]":"h")+'"h"');b.push(g+(u==2?" hour"+(g==1?"":"s"):u==1?"h":""))}if(d<=8&&v>=8){g=m/60;if(v>8){g|=0;m-=60*g}w.push((d>=8?"[m]":"m")+'"m"');if(u==0)b.push((d==8&&v==8||g>=10?"":"0")+g);else b.push(g+(u==2?" minute"+(g==1?"":"s"):u==1?"m":""))}if(d<=16&&v>=16){g=m;if(v>16){g|=0;m-=g}w.push((d>=16?"[s]":"s")+'"s"');if(u==0)b.push((v==16&&d==16||g>=10?"":"0")+g);else b.push(g+(u==2?" second"+(g==1?"":"s"):u==1?"s":""))}if(v>=32){g=Math.round(1e3*m);if(d<32)w.push('.000"ms"');if(u==0)b.push((g>=100?"":g>=10?"0":"00")+g);else b.push(g+(u==2?" millisecond"+(g==1?"":"s"):u==1?"ms":""))}e.w=b.join(u==0?":":" ");e.z=w.join(u==0?'":"':" ");if(u==0)e.w=e.w.replace(/:(\d\d\d)$/,".$1")}}function mw(e,r,t,a){var n=jb(e);var i=n.getUint32(4,true);var s=-1,f=-1,l=-1,o=NaN,c=0,h=new Date(Date.UTC(2001,0,1));var u=t>1?12:8;if(i&2){l=n.getUint32(u,true);u+=4}u+=Jb(i&(t>1?3468:396))*4;if(i&512){s=n.getUint32(u,true);u+=4}u+=Jb(i&(t>1?12288:4096))*4;if(i&16){f=n.getUint32(u,true);u+=4}if(i&32){o=n.getFloat64(u,true);u+=8}if(i&64){h.setTime(h.getTime()+(c=n.getFloat64(u,true))*1e3);u+=8}if(t>1){i=n.getUint32(8,true)>>>16;if(i&255){if(l==-1)l=n.getUint32(u,true);u+=4}}var d;var v=e[t>=4?1:2];switch(v){case 0:return void 0;case 2:d={t:"n",v:o};break;case 3:d={t:"s",v:r.sst[f]};break;case 5:{if(a==null?void 0:a.cellDates)d={t:"d",v:h};else d={t:"n",v:c/86400+35430,z:q[14]}}break;case 6:d={t:"b",v:o>0};break;case 7:d={t:"n",v:o};break;case 8:d={t:"e",v:0};break;case 9:{if(s>-1){var p=r.rsst[s];d={t:"s",v:p.v};if(p.l)d.l={Target:p.l}}else throw new Error("Unsupported cell type ".concat(e[Gb](0,4)))}break;default:throw new Error("Unsupported cell type ".concat(e[Gb](0,4)));}if(l>-1)pw(d,v|t<<8,i,r.ofmt[l],r.nfmt[l]);if(v==7)d.v/=86400;return d}function gw(e,r,t){var a=jb(e);var n=a.getUint32(4,true);var i=a.getUint32(8,true);var s=12;var f=-1,l=-1,o=-1,c=NaN,h=NaN,u=0,d=new Date(Date.UTC(2001,0,1)),v=-1,p=-1;if(i&1){c=qb(e,s);s+=16}if(i&2){h=a.getFloat64(s,true);s+=8}if(i&4){d.setTime(d.getTime()+(u=a.getFloat64(s,true))*1e3);s+=8}if(i&8){l=a.getUint32(s,true);s+=4}if(i&16){f=a.getUint32(s,true);s+=4}s+=Jb(i&480)*4;if(i&512){p=a.getUint32(s,true);s+=4}s+=Jb(i&1024)*4;if(i&2048){v=a.getUint32(s,true);s+=4}var m;var g=e[1];switch(g){case 0:m={t:"z"};break;case 2:m={t:"n",v:c};break;case 3:m={t:"s",v:r.sst[l]};break;case 5:{if(t==null?void 0:t.cellDates)m={t:"d",v:d};else m={t:"n",v:u/86400+35430,z:q[14]}}break;case 6:m={t:"b",v:h>0};break;case 7:m={t:"n",v:h};break;case 8:m={t:"e",v:0};break;case 9:{if(f>-1){var b=r.rsst[f];m={t:"s",v:b.v};if(b.l)m.l={Target:b.l}}else throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(i&31," : ").concat(e[Gb](0,4)))}break;case 10:m={t:"n",v:c};break;default:throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(i&31," : ").concat(e[Gb](0,4)));}s+=Jb(i&4096)*4;if(i&516096){if(o==-1)o=a.getUint32(s,true);s+=4}if(i&524288){var w=a.getUint32(s,true);s+=4;if(r.cmnt[w])m.c=Ow(r.cmnt[w])}if(o>-1)pw(m,g|5<<8,i>>13,r.ofmt[o],r.nfmt[o]);if(g==7)m.v/=86400;return m}function bw(e,r){var t=new Uint8Array(32),a=jb(t),n=12,i=0;t[0]=5;switch(e.t){case"n":if(e.z&&Le(e.z)){t[1]=5;a.setFloat64(n,(vr(e.v+1462).getTime()-Date.UTC(2001,0,1))/1e3,true);i|=4;n+=8;break}else{t[1]=2;Qb(t,n,e.v);i|=1;n+=16}break;case"b":t[1]=6;a.setFloat64(n,e.v?1:0,true);i|=2;n+=8;break;case"s":{var s=e.v==null?"":String(e.v);if(e.l){var f=r.rsst.findIndex(function(r){var t;return r.v==s&&r.l==((t=e.l)==null?void 0:t.Target)});if(f==-1)r.rsst[f=r.rsst.length]={v:s,l:e.l.Target};t[1]=9;a.setUint32(n,f,true);i|=16;n+=4}else{var l=r.sst.indexOf(s);if(l==-1)r.sst[l=r.sst.length]=s;t[1]=3;a.setUint32(n,l,true);i|=8;n+=4}}break;case"d":t[1]=5;a.setFloat64(n,(e.v.getTime()-Date.UTC(2001,0,1))/1e3,true);i|=4;n+=8;break;case"z":t[1]=0;break;default:throw"unsupported cell type "+e.t;}if(e.c){r.cmnt.push(Rw(e.c));a.setUint32(n,r.cmnt.length-1,true);i|=524288;n+=4}a.setUint32(8,i,true);return t[Gb](0,n)}function ww(e,r){var t=new Uint8Array(32),a=jb(t),n=12,i=0,s="";t[0]=4;switch(e.t){case"n":break;case"b":break;case"s":{s=e.v==null?"":String(e.v);if(e.l){var f=r.rsst.findIndex(function(r){var t;return r.v==s&&r.l==((t=e.l)==null?void 0:t.Target)});if(f==-1)r.rsst[f=r.rsst.length]={v:s,l:e.l.Target};t[1]=9;a.setUint32(n,f,true);i|=512;n+=4}else{}}break;case"d":break;case"e":break;case"z":break;default:throw"unsupported cell type "+e.t;}if(e.c){a.setUint32(n,r.cmnt.length-1,true);i|=4096;n+=4}switch(e.t){case"n":t[1]=2;a.setFloat64(n,e.v,true);i|=32;n+=8;break;case"b":t[1]=6;a.setFloat64(n,e.v?1:0,true);i|=32;n+=8;break;case"s":{s=e.v==null?"":String(e.v);if(e.l){}else{var l=r.sst.indexOf(s);if(l==-1)r.sst[l=r.sst.length]=s;t[1]=3;a.setUint32(n,l,true);i|=16;n+=4}}break;case"d":t[1]=5;a.setFloat64(n,(e.v.getTime()-Date.UTC(2001,0,1))/1e3,true);i|=64;n+=8;break;case"z":t[1]=0;break;default:throw"unsupported cell type "+e.t;}a.setUint32(8,i,true);return t[Gb](0,n)}function kw(e,r,t){switch(e[0]){case 0:;case 1:;case 2:;case 3:;case 4:return mw(e,r,e[0],t);case 5:return gw(e,r,t);default:throw new Error("Unsupported payload version ".concat(e[0]));}}function Tw(e){var r=sw(e);return nw(r[1][0].data)}function Aw(e){return fw([[],[{type:0,data:rw(e)}]])}function yw(e,r){var t;var a=((t=e.messages[0].meta[5])==null?void 0:t[0])?tw(e.messages[0].meta[5][0].data):[];var n=a.indexOf(r);if(n==-1){a.push(r);e.messages[0].meta[5]=[{type:2,data:aw(a)}]}}function Ew(e,r){var t;var a=((t=e.messages[0].meta[5])==null?void 0:t[0])?tw(e.messages[0].meta[5][0].data):[];e.messages[0].meta[5]=[{type:2,data:aw(a.filter(function(e){return e!=r}))}]}function Cw(e,r){var t=sw(r.data);var a=nw(t[1][0].data);var n=t[3];var i=[];(n||[]).forEach(function(r){var t,n;var s=sw(r.data);if(!s[1])return;var f=nw(s[1][0].data)>>>0;switch(a){case 1:i[f]=Kb(s[3][0].data);break;case 8:{var l=e[Tw(s[9][0].data)][0];var o=sw(l.data);var c=e[Tw(o[1][0].data)][0];var h=nw(c.meta[1][0].data);if(h!=2001)throw new Error("2000 unexpected reference to ".concat(h));var u=sw(c.data);var d={v:u[3].map(function(e){return Kb(e.data)}).join("")};i[f]=d;e:if((t=u==null?void 0:u[11])==null?void 0:t[0]){var v=(n=sw(u[11][0].data))==null?void 0:n[1];if(!v)break e;v.forEach(function(r){var t,a,n;var i=sw(r.data);if((t=i[2])==null?void 0:t[0]){var s=e[Tw((a=i[2])==null?void 0:a[0].data)][0];var f=nw(s.meta[1][0].data);switch(f){case 2032:var l=sw(s.data);if(((n=l==null?void 0:l[2])==null?void 0:n[0])&&!d.l)d.l=Kb(l[2][0].data);break;case 2039:break;default:console.log("unrecognized ObjectAttribute type ".concat(f));}}})}}break;case 2:i[f]=sw(s[6][0].data);break;case 3:i[f]=sw(s[5][0].data);break;case 10:{var p=e[Tw(s[10][0].data)][0];i[f]=xw(e,p.data)}break;default:throw a;}});return i}function _w(e,r){var t,a,n,i,s,f,l,o,c,h,u,d,v,p;var m=sw(e);var g=nw(m[1][0].data)>>>0;var b=nw(m[2][0].data)>>>0;var w=((a=(t=m[8])==null?void 0:t[0])==null?void 0:a.data)&&nw(m[8][0].data)>0||false;var k,T;if(((i=(n=m[7])==null?void 0:n[0])==null?void 0:i.data)&&r!=0){k=(f=(s=m[7])==null?void 0:s[0])==null?void 0:f.data;T=(o=(l=m[6])==null?void 0:l[0])==null?void 0:o.data}else if(((h=(c=m[4])==null?void 0:c[0])==null?void 0:h.data)&&r!=1){k=(d=(u=m[4])==null?void 0:u[0])==null?void 0:d.data;T=(p=(v=m[3])==null?void 0:v[0])==null?void 0:p.data}else throw"NUMBERS Tile missing ".concat(r," cell storage");var A=w?4:1;var y=jb(k);var E=[];for(var C=0;C=1)S[E[E.length-1][0]]=T[Gb](E[E.length-1][1]*A);return{R:g,cells:S}}function Sw(e,r){var t;var a=sw(r.data);var n=-1;if((t=a==null?void 0:a[7])==null?void 0:t[0]){if(nw(a[7][0].data)>>>0)n=1;else n=0}var i=lw(a[5],function(e){return _w(e,n)});return{nrows:nw(a[4][0].data)>>>0,data:i.reduce(function(e,r){if(!e[r.R])e[r.R]=[];r.cells.forEach(function(t,a){if(e[r.R][a])throw new Error("Duplicate cell r=".concat(r.R," c=").concat(a));e[r.R][a]=t});return e},[])}}function xw(e,r){var t,a,n,i,s,f,l,o,c,h;var u={t:"",a:""};var d=sw(r);if((a=(t=d==null?void 0:d[1])==null?void 0:t[0])==null?void 0:a.data)u.t=Kb((i=(n=d==null?void 0:d[1])==null?void 0:n[0])==null?void 0:i.data)||"";if((f=(s=d==null?void 0:d[3])==null?void 0:s[0])==null?void 0:f.data){var v=e[Tw((o=(l=d==null?void 0:d[3])==null?void 0:l[0])==null?void 0:o.data)][0];var p=sw(v.data);if((h=(c=p[1])==null?void 0:c[0])==null?void 0:h.data)u.a=Kb(p[1][0].data)}if(d==null?void 0:d[4]){u.replies=[];d[4].forEach(function(r){var t=e[Tw(r.data)][0];u.replies.push(xw(e,t.data))})}return u}function Ow(e){var r=[];r.push({t:e.t||"",a:e.a,T:e.replies&&e.replies.length>0});if(e.replies)e.replies.forEach(function(e){r.push({t:e.t||"",a:e.a,T:true})});return r}function Rw(e){var r={a:"",t:"",replies:[]};for(var t=0;t>>0)-1;if(p.e.r<0)throw new Error("Invalid row varint ".concat(v[6][0].data));p.e.c=(nw(v[7][0].data)>>>0)-1;if(p.e.c<0)throw new Error("Invalid col varint ".concat(v[7][0].data));t["!ref"]=Va(p);var m=t["!data"]!=null,g=t;var b=sw(v[4][0].data);var w=vw();if((n=b[4])==null?void 0:n[0])w.sst=Cw(e,e[Tw(b[4][0].data)][0]);if((i=b[6])==null?void 0:i[0])w.fmla=Cw(e,e[Tw(b[6][0].data)][0]);if((s=b[11])==null?void 0:s[0])w.ofmt=Cw(e,e[Tw(b[11][0].data)][0]);if((f=b[12])==null?void 0:f[0])w.ferr=Cw(e,e[Tw(b[12][0].data)][0]);if((l=b[17])==null?void 0:l[0])w.rsst=Cw(e,e[Tw(b[17][0].data)][0]);if((o=b[19])==null?void 0:o[0])w.cmnt=Cw(e,e[Tw(b[19][0].data)][0]);if((c=b[22])==null?void 0:c[0])w.nfmt=Cw(e,e[Tw(b[22][0].data)][0]);var k=sw(b[3][0].data);var T=0;if(!((h=b[9])==null?void 0:h[0]))throw"NUMBERS file missing row tree";var A=sw(b[9][0].data)[1].map(function(e){return sw(e.data)});A.forEach(function(r){T=nw(r[1][0].data);var n=nw(r[2][0].data);var i=k[1][n];if(!i)throw"NUMBERS missing tile "+n;var s=sw(i.data);var f=e[Tw(s[2][0].data)][0];var l=nw(f.meta[1][0].data);if(l!=6002)throw new Error("6001 unexpected reference to ".concat(l));var o=Sw(e,f);o.data.forEach(function(e,r){e.forEach(function(e,n){var i=kw(e,w,a);if(i){if(m){if(!g["!data"][T+r])g["!data"][T+r]=[];g["!data"][T+r][n]=i}else{t[La(n)+Na(T+r)]=i}}})});T+=o.nrows});if((u=b[13])==null?void 0:u[0]){var y=e[Tw(b[13][0].data)][0];var E=nw(y.meta[1][0].data);if(E!=6144)throw new Error("Expected merge type 6144, found ".concat(E));t["!merges"]=(d=sw(y.data))==null?void 0:d[1].map(function(e){var r=sw(e.data);var t=jb(sw(r[1][0].data)[1][0].data),a=jb(sw(r[2][0].data)[1][0].data);return{s:{r:t.getUint16(0,true),c:t.getUint16(2,true)},e:{r:t.getUint16(0,true)+a.getUint16(0,true)-1,c:t.getUint16(2,true)+a.getUint16(2,true)-1}}})}}function Nw(e,r,t){var a=sw(r.data);var n={"!ref":"A1"};if(t==null?void 0:t.dense)n["!data"]=[];var i=e[Tw(a[2][0].data)];var s=nw(i[0].meta[1][0].data);if(s!=6001)throw new Error("6000 unexpected reference to ".concat(s));Iw(e,i[0],n,t);return n}function Fw(e,r,t){var a;var n=sw(r.data);var i={name:((a=n[1])==null?void 0:a[0])?Kb(n[1][0].data):"",sheets:[]};var s=lw(n[2],Tw);s.forEach(function(r){e[r].forEach(function(r){var a=nw(r.meta[1][0].data);if(a==6e3)i.sheets.push(Nw(e,r,t))})});return i}function Dw(e,r,t){var a;var n=jk();n.Workbook={WBProps:{date1904:true}};var i=sw(r.data);if((a=i[2])==null?void 0:a[0])throw new Error("Keynote presentations are not supported");var s=lw(i[1],Tw);s.forEach(function(r){e[r].forEach(function(r){var a=nw(r.meta[1][0].data);if(a==2){var i=Fw(e,r,t);i.sheets.forEach(function(e,r){Kk(n,e,r==0?i.name:i.name+"_"+r,true)})}})});if(n.SheetNames.length==0)throw new Error("Empty NUMBERS file");n.bookType="numbers";return n}function Pw(e,r){var t,a,n,i,s,f,l;var o={},c=[];e.FullPaths.forEach(function(e){if(e.match(/\.iwpv2/))throw new Error("Unsupported password protection")});e.FileIndex.forEach(function(e){if(!e.name.match(/\.iwa$/))return;if(e.content[0]!=0)return;var r;try{r=uw(e.content)}catch(t){return console.log("?? "+e.content.length+" "+(t.message||t))}var a;try{a=ow(r)}catch(t){return console.log("## "+(t.message||t))}a.forEach(function(e){o[e.id]=e.messages;c.push(e.id)})});if(!c.length)throw new Error("File has no messages");if(((n=(a=(t=o==null?void 0:o[1])==null?void 0:t[0].meta)==null?void 0:a[1])==null?void 0:n[0].data)&&nw(o[1][0].meta[1][0].data)==1e4)throw new Error("Pages documents are not supported");var h=((l=(f=(s=(i=o==null?void 0:o[1])==null?void 0:i[0])==null?void 0:s.meta)==null?void 0:f[1])==null?void 0:l[0].data)&&nw(o[1][0].meta[1][0].data)==1&&o[1][0];if(!h)c.forEach(function(e){o[e].forEach(function(e){var r=nw(e.meta[1][0].data)>>>0;if(r==1){if(!h)h=e;else throw new Error("Document has multiple roots")}})});if(!h)throw new Error("Cannot find Document root");return Dw(o,h,r)}function Lw(e,r,t){var a,n,i;var s=[[],[{type:0,data:rw(0)}],[{type:0,data:rw(0)}],[{type:2,data:new Uint8Array([])}],[{type:2,data:new Uint8Array(Array.from({length:510},function(){return 255}))}],[{type:0,data:rw(5)}],[{type:2,data:new Uint8Array([])}],[{type:2,data:new Uint8Array(Array.from({length:510},function(){return 255}))}],[{type:0,data:rw(1)}]];if(!((a=s[6])==null?void 0:a[0])||!((n=s[7])==null?void 0:n[0]))throw"Mutation only works on post-BNC storages!";var f=0;if(s[7][0].data.length<2*e.length){var l=new Uint8Array(2*e.length);l.set(s[7][0].data);s[7][0].data=l}if(s[4][0].data.length<2*e.length){var o=new Uint8Array(2*e.length);o.set(s[4][0].data);s[4][0].data=o}var c=jb(s[7][0].data),h=0,u=[];var d=jb(s[4][0].data),v=0,p=[];var m=t?4:1;for(var g=0;g1)throw new Error("Template NUMBERS file must have exactly one sheet");e.SheetNames.forEach(function(r,s){if(s>=1){Yw(t,a,s+1);n=Xw(t,a,1);i=lw(sw(n.messages[0].data)[1],Tw)}Zw(t,a,e.Sheets[r],r,s,i[s])});return t}function Vw(e,r,t,a){var n=Qe.find(e,r[t].location);if(!n)throw"Could not find ".concat(r[t].location," in Numbers template");var i=ow(uw(n.content));var s=i.find(function(e){return e.id==t});a(s,i);n.content=dw(cw(i));n.size=n.content.length}function Xw(e,r,t){var a=Qe.find(e,r[t].location);if(!a)throw"Could not find ".concat(r[t].location," in Numbers template");var n=ow(uw(a.content));var i=n.find(function(e){return e.id==t});return i}function $w(e,r,t){e[3].push({type:2,data:fw([[],[{type:0,data:rw(r)}],[{type:2,data:Yb(t.replace(/-.*$/,""))}],[{type:2,data:Yb(t)}],[{type:2,data:new Uint8Array([2,0,0])}],[{type:2,data:new Uint8Array([2,0,0])}],[],[],[],[],[{type:0,data:rw(0)}],[],[{type:0,data:rw(0)}]])});e[1]=[{type:0,data:rw(Math.max(r+1,nw(e[1][0].data)))}]}function Gw(e,r,t,a,n,i){if(!i)i=Uw({deps:[],location:"",type:r},n);var s="".concat(a,"-").concat(i,".iwa");n[i].location="Root Entry"+s;Qe.utils.cfb_add(e,s,dw(cw([{id:i,messages:[Mw(r,fw(t))]}])));var f=s.replace(/^[\/]/,"").replace(/^Index\//,"").replace(/\.iwa$/,"");Vw(e,n,2,function(e){var r=sw(e.messages[0].data);$w(r,i||0,f);e.messages[0].data=fw(r)});return i}function jw(e,r,t,a){var n=r[t].location.replace(/^Root Entry\//,"").replace(/^Index\//,"").replace(/\.iwa$/,"");var i=e[3].findIndex(function(e){var r,t;var a=sw(e.data);if((r=a[3])==null?void 0:r[0])return Kb(a[3][0].data)==n;if(((t=a[2])==null?void 0:t[0])&&Kb(a[2][0].data)==n)return true;return false});var s=sw(e[3][i].data);if(!s[6])s[6]=[];(Array.isArray(a)?a:[a]).forEach(function(e){s[6].push({type:2,data:fw([[],[{type:0,data:rw(e)}]])})});e[3][i].data=fw(s)}function Kw(e,r,t,a){var n=r[t].location.replace(/^Root Entry\//,"").replace(/^Index\//,"").replace(/\.iwa$/,"");var i=e[3].findIndex(function(e){var r,t;var a=sw(e.data);if((r=a[3])==null?void 0:r[0])return Kb(a[3][0].data)==n;if(((t=a[2])==null?void 0:t[0])&&Kb(a[2][0].data)==n)return true;return false});var s=sw(e[3][i].data);if(!s[6])s[6]=[];s[6]=s[6].filter(function(e){return nw(sw(e.data)[1][0].data)!=a});e[3][i].data=fw(s)}function Yw(e,r,t){var a=-1,n=-1;var i={};Vw(e,r,1,function(t,s){var f=sw(t.messages[0].data);a=Tw(sw(t.messages[0].data)[1][0].data);n=Uw({deps:[1],location:r[a].location,type:2},r);i[a]=n;yw(t,n);f[1].push({type:2,data:Aw(n)});var l=Xw(e,r,a);l.id=n;if(r[1].location==r[n].location)s.push(l);else Vw(e,r,n,function(e,r){return r.push(l)});t.messages[0].data=fw(f)});var s=-1;Vw(e,r,n,function(t,a){var f=sw(t.messages[0].data);for(var l=3;l<=69;++l)delete f[l];var o=lw(f[2],Tw);o.forEach(function(e){return Ew(t,e)});s=Uw({deps:[n],location:r[o[0]].location,type:r[o[0]].type},r);yw(t,s);i[o[0]]=s;f[2]=[{type:2,data:Aw(s)}];var c=Xw(e,r,o[0]);c.id=s;if(r[o[0]].location==r[n].location)a.push(c);else{Vw(e,r,2,function(e){var t=sw(e.messages[0].data);jw(t,r,n,s);e.messages[0].data=fw(t)});Vw(e,r,s,function(e,r){return r.push(c)})}t.messages[0].data=fw(f)});var f=-1;Vw(e,r,s,function(t,a){var n=sw(t.messages[0].data);var l=sw(n[1][0].data);for(var o=3;o<=69;++o)delete l[o];var c=Tw(l[2][0].data);l[2][0].data=Aw(i[c]);n[1][0].data=fw(l);var h=Tw(n[2][0].data);Ew(t,h);f=Uw({deps:[s],location:r[h].location,type:r[h].type},r);yw(t,f);i[h]=f;n[2][0].data=Aw(f);var u=Xw(e,r,h);u.id=f;if(r[s].location==r[f].location)a.push(u);else Vw(e,r,f,function(e,r){return r.push(u)});t.messages[0].data=fw(n)});Vw(e,r,f,function(a,n){var s,l;var o=sw(a.messages[0].data);var c=Kb(o[1][0].data),h=c.replace(/-[A-Z0-9]*/,"-".concat(("0000"+t.toString(16)).slice(-4)));o[1][0].data=Yb(h);[12,13,29,31,32,33,39,44,47,81,82,84].forEach(function(e){return delete o[e]});if(o[45]){var u=sw(o[45][0].data);var d=Tw(u[1][0].data);Ew(a,d);delete o[45]}if(o[70]){var v=sw(o[70][0].data);(s=v[2])==null?void 0:s.forEach(function(e){var r=sw(e.data);[2,3].map(function(e){return r[e][0]}).forEach(function(e){var r=sw(e.data);if(!r[8])return;var t=Tw(r[8][0].data);Ew(a,t)})});delete o[70]}[46,30,34,35,36,38,48,49,60,61,62,63,64,71,72,73,74,75,85,86,87,88,89].forEach(function(e){if(!o[e])return;var r=Tw(o[e][0].data);delete o[e];Ew(a,r)});var p=sw(o[4][0].data);{[2,4,5,6,11,12,13,15,16,17,18,19,20,21,22].forEach(function(t){var s;if(!((s=p[t])==null?void 0:s[0]))return;var l=Tw(p[t][0].data);var o=Uw({deps:[f],location:r[l].location,type:r[l].type},r);Ew(a,l);yw(a,o);i[l]=o;var c=Xw(e,r,l);c.id=o;if(r[l].location==r[f].location)n.push(c);else{r[o].location=r[l].location.replace(l.toString(),o.toString());if(r[o].location==r[l].location)r[o].location=r[o].location.replace(/\.iwa/,"-".concat(o,".iwa"));Qe.utils.cfb_add(e,r[o].location,dw(cw([c])));var h=r[o].location.replace(/^Root Entry\//,"").replace(/^Index\//,"").replace(/\.iwa$/,"");Vw(e,r,2,function(e){var t=sw(e.messages[0].data);$w(t,o,h);jw(t,r,f,o);e.messages[0].data=fw(t)})}p[t][0].data=Aw(o)});var m=sw(p[1][0].data);{(l=m[2])==null?void 0:l.forEach(function(t){var s=Tw(t.data);var l=Uw({deps:[f],location:r[s].location,type:r[s].type},r);Ew(a,s);yw(a,l);i[s]=l;var o=Xw(e,r,s);o.id=l;if(r[s].location==r[f].location){n.push(o)}else{r[l].location=r[s].location.replace(s.toString(),l.toString());if(r[l].location==r[s].location)r[l].location=r[l].location.replace(/\.iwa/,"-".concat(l,".iwa"));Qe.utils.cfb_add(e,r[l].location,dw(cw([o])));var c=r[l].location.replace(/^Root Entry\//,"").replace(/^Index\//,"").replace(/\.iwa$/,"");Vw(e,r,2,function(e){var t=sw(e.messages[0].data);$w(t,l,c);jw(t,r,f,l);e.messages[0].data=fw(t)})}t.data=Aw(l)})}p[1][0].data=fw(m);var g=sw(p[3][0].data);{g[1].forEach(function(t){var n=sw(t.data);var s=Tw(n[2][0].data);var l=i[s];if(!i[s]){l=Uw({deps:[f],location:"",type:r[s].type},r);r[l].location="Root Entry/Index/Tables/Tile-".concat(l,".iwa");i[s]=l;var o=Xw(e,r,s);o.id=l;Ew(a,s);yw(a,l);Qe.utils.cfb_add(e,"/Index/Tables/Tile-".concat(l,".iwa"),dw(cw([o])));Vw(e,r,2,function(e){var t=sw(e.messages[0].data);t[3].push({type:2,data:fw([[],[{type:0,data:rw(l)}],[{type:2,data:Yb("Tables/Tile")}],[{type:2,data:Yb("Tables/Tile-".concat(l))}],[{type:2,data:new Uint8Array([2,0,0])}],[{type:2,data:new Uint8Array([2,0,0])}],[],[],[],[],[{type:0,data:rw(0)}],[],[{type:0,data:rw(0)}]])});t[1]=[{type:0,data:rw(Math.max(l+1,nw(t[1][0].data)))}];jw(t,r,f,l);e.messages[0].data=fw(t)})}n[2][0].data=Aw(l);t.data=fw(n)})}p[3][0].data=fw(g)}o[4][0].data=fw(p);a.messages[0].data=fw(o)})}function Zw(e,r,t,a,n,i){var s=[];Vw(e,r,i,function(e){var r=sw(e.messages[0].data);{r[1]=[{type:2,data:Yb(a)}];s=lw(r[2],Tw)}e.messages[0].data=fw(r)});var f=Xw(e,r,s[0]);var l=Tw(sw(f.messages[0].data)[2][0].data);Vw(e,r,l,function(a,n){return qw(e,r,t,a,n,l)})}var Jw=true;function qw(e,r,t,a,n,i){if(!t["!ref"])throw new Error("Cannot export empty sheet to NUMBERS");var s=Ha(t["!ref"]);s.s.r=s.s.c=0;var f=false;if(s.e.c>999){f=true;s.e.c=999}if(s.e.r>999999){f=true;s.e.r=999999}if(f)console.error("Truncating to ".concat(Va(s)));var l=[];if(t["!data"])l=t["!data"];else{var o=[];for(var c=0;c<=s.e.c;++c)o[c]=La(c);for(var h=0;h<=s.e.r;++h){l[h]=[];var u=""+(h+1);for(c=0;c<=s.e.c;++c){ +var d=t[o[c]+u];if(!d)continue;l[h][c]=d}}}var v={cmnt:[{a:"~54ee77S~",t:"... the people who are crazy enough to think they can change the world, are the ones who do."}],ferr:[],fmla:[],nfmt:[],ofmt:[],rsst:[{v:"~54ee77S~",l:"https://sheetjs.com/"}],sst:["~Sh33tJ5~"]};var p=sw(a.messages[0].data);{p[6][0].data=rw(s.e.r+1);p[7][0].data=rw(s.e.c+1);delete p[46];var m=sw(p[4][0].data);{var g=Tw(sw(m[1][0].data)[2][0].data);Vw(e,r,g,function(e,r){var t;var a=sw(e.messages[0].data);if((t=a==null?void 0:a[2])==null?void 0:t[0])for(var n=0;n1){var P=Tw(m[19][0].data);var L={},M=0;Vw(e,r,P,function(t){var a=sw(t.messages[0].data);{a[3]=[];v.cmnt.forEach(function(n,i){if(i==0)return;var s=[];if(n.replies)n.replies.forEach(function(t){if(!L[t.a||""])L[t.a||""]=Gw(e,212,[[],[{type:2,data:Yb(t.a||"")}],[{type:2,data:zw(++M)}],[],[{type:0,data:rw(0)}]],"/Index/Tables/DataList",r);var a=L[t.a||""];var n=Gw(e,3056,[[],[{type:2,data:Yb(t.t||"")}],[{type:2,data:fw([[],[{type:1,data:new Uint8Array([0,0,0,128,116,109,182,65])}]])}],[{type:2,data:Aw(a)}]],"/Index/Tables/DataList",r);Vw(e,r,n,function(e){return yw(e,a)});s.push(n);Vw(e,r,2,function(e){var t=sw(e.messages[0].data);jw(t,r,n,a);e.messages[0].data=fw(t)})});if(!L[n.a||""])L[n.a||""]=Gw(e,212,[[],[{type:2,data:Yb(n.a||"")}],[{type:2,data:zw(++M)}],[],[{type:0,data:rw(0)}]],"/Index/Tables/DataList",r);var f=L[n.a||""];var l=Gw(e,3056,[[],[{type:2,data:Yb(n.t||"")}],[{type:2,data:fw([[],[{type:1,data:new Uint8Array([0,0,0,128,116,109,182,65])}]])}],[{type:2,data:Aw(f)}],s.map(function(e){return{type:2,data:Aw(e)}}),[{type:2,data:fw([[],[{type:0,data:rw(i)}],[{type:0,data:rw(0)}]])}]],"/Index/Tables/DataList",r);Vw(e,r,l,function(e){yw(e,f);s.forEach(function(r){return yw(e,r)})});a[3].push({type:2,data:fw([[],[{type:0,data:rw(i)}],[{type:0,data:rw(1)}],[],[],[],[],[],[],[],[{type:2,data:Aw(l)}]])});yw(t,l);Vw(e,r,2,function(e){var t=sw(e.messages[0].data);jw(t,r,P,l);jw(t,r,l,f);if(s.length)jw(t,r,l,s);e.messages[0].data=fw(t)})})}a[2][0].data=rw(v.cmnt.length+1);t.messages[0].data=fw(a)})}}p[4][0].data=fw(m)}a.messages[0].data=fw(p)}function Qw(e){return function r(t){for(var a=0;a!=e.length;++a){var n=e[a];if(t[n[0]]===undefined)t[n[0]]=n[1];if(n[2]==="n")t[n[0]]=Number(t[n[0]])}}}function ek(e){Qw([["cellNF",false],["cellHTML",true],["cellFormula",true],["cellStyles",false],["cellText",true],["cellDates",false],["sheetStubs",false],["sheetRows",0,"n"],["bookDeps",false],["bookSheets",false],["bookProps",false],["bookFiles",false],["bookVBA",false],["password",""],["WTF",false]])(e)}function rk(e){Qw([["cellDates",false],["bookSST",false],["bookType","xlsx"],["compression",false],["WTF",false]])(e)}function tk(e){if(ci.WS.indexOf(e)>-1)return"sheet";if(ci.CS&&e==ci.CS)return"chart";if(ci.DS&&e==ci.DS)return"dialog";if(ci.MS&&e==ci.MS)return"macro";return e&&e.length?e:"sheet"}function ak(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,tk(e["!id"][r.id].Type)]})}catch(t){return null}return!e||e.length===0?null:e}function nk(e,r,t,a,n,i,s,f){if(!e||!e["!legdrawel"])return;var l=jr(e["!legdrawel"].Target,a);var o=zr(t,l,true);if(o)Ih(kt(o),e,f||[])}function ik(e,r,t,a,n,i,s,f,l,o,c,h){try{i[a]=ui(zr(e,t,true),r);var u=Wr(e,r);var d;switch(f){case"sheet":d=ig(u,r,n,l,i[a],o,c,h);break;case"chart":d=sg(u,r,n,l,i[a],o,c,h);if(!d||!d["!drawel"])break;var v=jr(d["!drawel"].Target,r);var p=hi(v);var m=Oh(zr(e,v,true),ui(zr(e,p,true),v));var g=jr(m,v);var b=hi(g);d=ym(zr(e,g,true),g,l,ui(zr(e,b,true),g),o,d);break;case"macro":d=fg(u,r,n,l,i[a],o,c,h);break;case"dialog":d=lg(u,r,n,l,i[a],o,c,h);break;default:throw new Error("Unrecognized sheet type "+f);}s[a]=d;var w=[],k=[];if(i&&i[a])ir(i[a]).forEach(function(t){var n="";if(i[a][t].Type==ci.CMNT){n=jr(i[a][t].Target,r);w=hg(Wr(e,n,true),n,l);if(!w||!w.length)return;Dh(d,w,false)}if(i[a][t].Type==ci.TCMNT){n=jr(i[a][t].Target,r);k=k.concat(Mh(Wr(e,n,true),l))}});if(k&&k.length)Dh(d,k,true,l.people||[]);nk(d,f,e,r,n,l,o,w)}catch(T){if(l.WTF)throw T}}function sk(e){return e.charAt(0)=="/"?e.slice(1):e}function fk(e,r){Xe();r=r||{};ek(r);if(Ur(e,"META-INF/manifest.xml"))return Bb(e,r);if(Ur(e,"objectdata.xml"))return Bb(e,r);if(Ur(e,"Index/Document.iwa")){if(typeof Uint8Array=="undefined")throw new Error("NUMBERS file parsing requires Uint8Array support");if(typeof Pw!="undefined"){if(e.FileIndex)return Pw(e,r);var t=Qe.utils.cfb_new();Vr(e).forEach(function(r){Xr(t,r,Hr(e,r))});return Pw(t,r)}throw new Error("Unsupported NUMBERS file")}if(!Ur(e,"[Content_Types].xml")){if(Ur(e,"index.xml.gz"))throw new Error("Unsupported NUMBERS 08 file");if(Ur(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");var a=Qe.find(e,"Index.zip");if(a){r=Tr(r);delete r.type;if(typeof a.content=="string")r.type="binary";if(typeof Bun!=="undefined"&&Buffer.isBuffer(a.content))return wk(new Uint8Array(a.content),r);return wk(a.content,r)}throw new Error("Unsupported ZIP file")}var n=Vr(e);var i=li(zr(e,"[Content_Types].xml"));var s=false;var f,l;if(i.workbooks.length===0){l="xl/workbook.xml";if(Wr(e,l,true))i.workbooks.push(l)}if(i.workbooks.length===0){l="xl/workbook.bin";if(!Wr(e,l,true))throw new Error("Could not find workbook");i.workbooks.push(l);s=true}if(i.workbooks[0].slice(-3)=="bin")s=true;var o={};var c={};if(!r.bookSheets&&!r.bookProps){mv=[];if(i.sst)try{mv=cg(Wr(e,sk(i.sst)),i.sst,r)}catch(h){if(r.WTF)throw h}if(r.cellStyles&&i.themes.length)o=ah(zr(e,i.themes[0].replace(/^\//,""),true)||"",r);if(i.style)c=og(Wr(e,sk(i.style)),i.style,o,r)}i.links.map(function(t){try{var a=ui(zr(e,hi(sk(t))),t);return dg(Wr(e,sk(t)),a,t,r)}catch(n){}});var u=ng(Wr(e,sk(i.workbooks[0])),i.workbooks[0],r);var d={},v="";if(i.coreprops.length){v=Wr(e,sk(i.coreprops[0]),true);if(v)d=Ei(v);if(i.extprops.length!==0){v=Wr(e,sk(i.extprops[0]),true);if(v)Ri(v,d,r)}}var p={};if(!r.bookSheets||r.bookProps){if(i.custprops.length!==0){v=zr(e,sk(i.custprops[0]),true);if(v)p=Fi(v,r)}}var m={};if(r.bookSheets||r.bookProps){if(u.Sheets)f=u.Sheets.map(function N(e){return e.name});else if(d.Worksheets&&d.SheetNames.length>0)f=d.SheetNames;if(r.bookProps){m.Props=d;m.Custprops=p}if(r.bookSheets&&typeof f!=="undefined")m.SheetNames=f;if(r.bookSheets?m.SheetNames:r.bookProps)return m}f={};var g={};if(r.bookDeps&&i.calcchain)g=ug(Wr(e,sk(i.calcchain)),i.calcchain,r);var b=0;var w={};var k,T;{var A=u.Sheets;d.Worksheets=A.length;d.SheetNames=[];for(var y=0;y!=A.length;++y){d.SheetNames[y]=A[y].name}}var E=s?"bin":"xml";var C=i.workbooks[0].lastIndexOf("/");var _=(i.workbooks[0].slice(0,C+1)+"_rels/"+i.workbooks[0].slice(C+1)+".rels").replace(/^\//,"");if(!Ur(e,_))_="xl/_rels/workbook."+E+".rels";var S=ui(zr(e,_,true),_.replace(/_rels.*/,"s5s"));if((i.metadata||[]).length>=1){r.xlmeta=vg(Wr(e,sk(i.metadata[0])),i.metadata[0],r)}if((i.people||[]).length>=1){r.people=Bh(Wr(e,sk(i.people[0])),r)}if(S)S=ak(S,u.Sheets);var x=Wr(e,"xl/worksheets/sheet.xml",true)?1:0;e:for(b=0;b!=d.Worksheets;++b){var O="sheet";if(S&&S[b]){k="xl/"+S[b][1].replace(/[\/]?xl\//,"");if(!Ur(e,k))k=S[b][1];if(!Ur(e,k))k=_.replace(/_rels\/.*$/,"")+S[b][1];O=S[b][2]}else{k="xl/worksheets/sheet"+(b+1-x)+"."+E;k=k.replace(/sheet0\./,"sheet.")}T=k.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels");if(r&&r.sheets!=null)switch(typeof r.sheets){case"number":if(b!=r.sheets)continue e;break;case"string":if(d.SheetNames[b].toLowerCase()!=r.sheets.toLowerCase())continue e;break;default:if(Array.isArray&&Array.isArray(r.sheets)){var R=false;for(var I=0;I!=r.sheets.length;++I){if(typeof r.sheets[I]=="number"&&r.sheets[I]==b)R=1;if(typeof r.sheets[I]=="string"&&r.sheets[I].toLowerCase()==d.SheetNames[b].toLowerCase())R=1}if(!R)continue e};}ik(e,k,T,d.SheetNames[b],b,w,f,O,r,u,o,c)}m={Directory:i,Workbook:u,Props:d,Custprops:p,Deps:g,Sheets:f,SheetNames:d.SheetNames,Strings:mv,Styles:c,Themes:o,SSF:Tr(q)};if(r&&r.bookFiles){if(e.files){m.keys=n;m.files=e.files}else{m.keys=[];m.files={};e.FullPaths.forEach(function(r,t){r=r.replace(/^Root Entry[\/]/,"");m.keys.push(r);m.files[r]=e.FileIndex[t]})}}if(r&&r.bookVBA){if(i.vba.length>0)m.vbaraw=Wr(e,sk(i.vba[0]),true);else if(i.defaults&&i.defaults.bin===jh)m.vbaraw=Wr(e,"xl/vbaProject.bin",true)}m.bookType=s?"xlsb":"xlsx";return m}function lk(e,r){var t=r||{};var a="Workbook",n=Qe.find(e,a);try{a="/!DataSpaces/Version";n=Qe.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);wo(n.content);a="/!DataSpaces/DataSpaceMap";n=Qe.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var i=To(n.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 "+a);a="/!DataSpaces/DataSpaceInfo/StrongEncryptionDataSpace";n=Qe.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var s=Ao(n.content);if(s.length!=1||s[0]!="StrongEncryptionTransform")throw new Error("ECMA-376 Encrypted file bad "+a);a="/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary";n=Qe.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);Eo(n.content)}catch(f){}a="/EncryptionInfo";n=Qe.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var l=So(n.content);a="/EncryptedPackage";n=Qe.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);if(l[0]==4&&typeof decrypt_agile!=="undefined")return decrypt_agile(l[1],n.content,t.password||"",t);if(l[0]==2&&typeof decrypt_std76!=="undefined")return decrypt_std76(l[1],n.content,t.password||"",t);throw new Error("File is password-protected")}function ok(e,r){if(e&&!e.SSF){e.SSF=Tr(q)}if(e&&e.SSF){Xe();Ve(e.SSF);r.revssf=lr(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;if(bv)r.revStrings=new Map;else{r.revStrings={};r.revStrings.foo=[];delete r.revStrings.foo}var t="bin";var a=true;var n=fi();rk(r=r||{});var i=$r();var s="",f=0;r.cellXfs=[];Av(r.cellXfs,{},{revssf:{General:0}});if(!e.Props)e.Props={};s="docProps/core.xml";Xr(i,s,_i(e.Props,r));n.coreprops.push(s);vi(r.rels,2,s,ci.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{var l=[];for(var o=0;o0){s="docProps/custom.xml";Xr(i,s,Di(e.Custprops,r));n.custprops.push(s);vi(r.rels,4,s,ci.CUST_PROPS)}var c=["SheetJ5"];r.tcid=0;for(f=1;f<=e.SheetNames.length;++f){var h={"!id":{}};var u=e.Sheets[e.SheetNames[f-1]];var d=(u||{})["!type"]||"sheet";switch(d){case"chart":;default:s="xl/worksheets/sheet"+f+"."+t;Xr(i,s,Tm(f-1,r,e,h));n.sheets.push(s);vi(r.wbrels,-1,"worksheets/sheet"+f+"."+t,ci.WS[0]);}if(u){var v=u["!comments"];var p=false;var m="";if(v&&v.length>0){var g=false;v.forEach(function(e){e[1].forEach(function(e){if(e.T==true)g=true})});if(g){m="xl/threadedComments/threadedComment"+f+".xml";Xr(i,m,Uh(v,c,r));n.threadedcomments.push(m);vi(h,-1,"../threadedComments/threadedComment"+f+".xml",ci.TCMNT)}m="xl/comments"+f+"."+t;Xr(i,m,Gh(v,r));n.comments.push(m);vi(h,-1,"../comments"+f+"."+t,ci.CMNT);p=true}if(u["!legacy"]){if(p)Xr(i,"xl/drawings/vmlDrawing"+f+".vml",Nh(f,u["!comments"]))}delete u["!comments"];delete u["!legacy"]}if(h["!id"].rId1)Xr(i,hi(s),di(h))}if(r.Strings!=null&&r.Strings.length>0){s="xl/sharedStrings."+t;Xr(i,s,mo(r.Strings,r));n.strs.push(s);vi(r.wbrels,-1,"sharedStrings."+t,ci.SST)}s="xl/workbook."+t;Xr(i,s,ag(e,r));n.workbooks.push(s);vi(r.rels,1,s,ci.WB);s="xl/theme/theme1.xml";var b=nh(e.Themes,r);Xr(i,s,b);n.themes.push(s);vi(r.wbrels,-1,"theme/theme1.xml",ci.THEME);s="xl/styles."+t;Xr(i,s,jc(e,r));n.styles.push(s);vi(r.wbrels,-1,"styles."+t,ci.STY);if(e.vbaraw&&a){s="xl/vbaProject.bin";Xr(i,s,e.vbaraw);n.vba.push(s);vi(r.wbrels,-1,"vbaProject.bin",ci.VBA)}s="xl/metadata."+t;Xr(i,s,Th());n.metadata.push(s);vi(r.wbrels,-1,"metadata."+t,ci.XLMETA);if(c.length>1){s="xl/persons/person.xml";Xr(i,s,Wh(c,r));n.people.push(s);vi(r.wbrels,-1,"persons/person.xml",ci.PEOPLE)}Xr(i,"[Content_Types].xml",oi(n,r));Xr(i,"_rels/.rels",di(r.rels));Xr(i,"xl/_rels/workbook."+t+".rels",di(r.wbrels));delete r.revssf;delete r.ssf;return i}function ck(e,r){if(e&&!e.SSF){e.SSF=Tr(q)}if(e&&e.SSF){Xe();Ve(e.SSF);r.revssf=lr(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;if(bv)r.revStrings=new Map;else{r.revStrings={};r.revStrings.foo=[];delete r.revStrings.foo}var t="xml";var a=Zh.indexOf(r.bookType)>-1;var n=fi();rk(r=r||{});var i=$r();var s="",f=0;r.cellXfs=[];Av(r.cellXfs,{},{revssf:{General:0}});if(!e.Props)e.Props={};s="docProps/core.xml";Xr(i,s,_i(e.Props,r));n.coreprops.push(s);vi(r.rels,2,s,ci.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{var l=[];for(var o=0;o0){s="docProps/custom.xml";Xr(i,s,Di(e.Custprops,r));n.custprops.push(s);vi(r.rels,4,s,ci.CUST_PROPS)}var c=["SheetJ5"];r.tcid=0;for(f=1;f<=e.SheetNames.length;++f){var h={"!id":{}};var u=e.Sheets[e.SheetNames[f-1]];var d=(u||{})["!type"]||"sheet";switch(d){case"chart":;default:s="xl/worksheets/sheet"+f+"."+t;Xr(i,s,ap(f-1,r,e,h));n.sheets.push(s);vi(r.wbrels,-1,"worksheets/sheet"+f+"."+t,ci.WS[0]);}if(u){var v=u["!comments"];var p=false;var m="";if(v&&v.length>0){var g=false;v.forEach(function(e){e[1].forEach(function(e){if(e.T==true)g=true})});if(g){m="xl/threadedComments/threadedComment"+f+".xml";Xr(i,m,Uh(v,c,r));n.threadedcomments.push(m);vi(h,-1,"../threadedComments/threadedComment"+f+".xml",ci.TCMNT)}m="xl/comments"+f+"."+t;Xr(i,m,Lh(v,r));n.comments.push(m);vi(h,-1,"../comments"+f+"."+t,ci.CMNT);p=true}if(u["!legacy"]){if(p)Xr(i,"xl/drawings/vmlDrawing"+f+".vml",Nh(f,u["!comments"]))}delete u["!comments"];delete u["!legacy"]}if(h["!id"].rId1)Xr(i,hi(s),di(h))}if(r.Strings!=null&&r.Strings.length>0){s="xl/sharedStrings."+t;Xr(i,s,co(r.Strings,r));n.strs.push(s);vi(r.wbrels,-1,"sharedStrings."+t,ci.SST)}s="xl/workbook."+t;Xr(i,s,zm(e,r));n.workbooks.push(s);vi(r.rels,1,s,ci.WB);s="xl/theme/theme1.xml";Xr(i,s,nh(e.Themes,r));n.themes.push(s);vi(r.wbrels,-1,"theme/theme1.xml",ci.THEME);s="xl/styles."+t;Xr(i,s,kc(e,r));n.styles.push(s);vi(r.wbrels,-1,"styles."+t,ci.STY);if(e.vbaraw&&a){s="xl/vbaProject.bin";Xr(i,s,e.vbaraw);n.vba.push(s);vi(r.wbrels,-1,"vbaProject.bin",ci.VBA)}s="xl/metadata."+t;Xr(i,s,yh());n.metadata.push(s);vi(r.wbrels,-1,"metadata."+t,ci.XLMETA);if(c.length>1){s="xl/persons/person.xml";Xr(i,s,Wh(c,r));n.people.push(s);vi(r.wbrels,-1,"persons/person.xml",ci.PEOPLE)}Xr(i,"[Content_Types].xml",oi(n,r));Xr(i,"_rels/.rels",di(r.rels));Xr(i,"xl/_rels/workbook."+t+".rels",di(r.wbrels));delete r.revssf;delete r.ssf;return i}function hk(e,r){var t="";switch((r||{}).type||"base64"){case"buffer":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":t=E(e.slice(0,12));break;case"binary":t=e;break;case"array":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];default:throw new Error("Unrecognized type "+(r&&r.type||"undefined"));}return[t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3),t.charCodeAt(4),t.charCodeAt(5),t.charCodeAt(6),t.charCodeAt(7)]}function uk(e,r){if(Qe.find(e,"EncryptedPackage"))return lk(e,r);return Jg(e,r)}function dk(e,r){var t,a=e;var n=r||{};if(!n.type)n.type=C&&Buffer.isBuffer(e)?"buffer":"base64";t=Gr(a,n);return fk(t,n)}function vk(e,r){var t=0;e:while(t=2&&i[3]===0)return Jl.to_workbook(n,t);if(i[2]===0&&(i[3]===8||i[3]===9))return Jl.to_workbook(n,t)}break;case 3:;case 131:;case 139:;case 140:return $l.to_workbook(n,t);case 123:if(i[1]===92&&i[2]===114&&i[3]===116)return Ho(n,t);break;case 10:;case 13:;case 32:return pk(n,t);case 137:if(i[1]===80&&i[2]===78&&i[3]===71)throw new Error("PNG Image File is not a spreadsheet");break;case 8:if(i[1]===231)throw new Error("Unsupported Multiplan 1.x file!");break;case 12:if(i[1]===236)throw new Error("Unsupported Multiplan 2.x file!");if(i[1]===237)throw new Error("Unsupported Multiplan 3.x file!");break;}if(Xl.indexOf(i[0])>-1&&i[2]<=12&&i[3]<=31)return $l.to_workbook(n,t);return bk(e,n,t,s)}function kk(e,r){var t=r||{};t.type="file";return wk(e,t)}function Tk(e,r){switch(r.type){case"base64":;case"binary":break;case"buffer":;case"array":r.type="";break;case"file":return ar(r.file,Qe.write(e,{type:C?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+r.bookType+"' files");default:throw new Error("Unrecognized type "+r.type);}return Qe.write(e,r)}function Ak(e,r){switch(r.bookType){case"ods":return $b(e,r);case"numbers":return Hw(e,r);case"xlsb":return ok(e,r);default:return ck(e,r);}}function yk(e,r){var t=Tr(r||{});var a=Ak(e,t);return Ck(a,t)}function Ek(e,r){var t=Tr(r||{});var a=ck(e,t);return Ck(a,t)}function Ck(e,r){var t={};var a=C?"nodebuffer":typeof Uint8Array!=="undefined"?"array":"string";if(r.compression)t.compression="DEFLATE";if(r.password)t.type=a;else switch(r.type){case"base64":t.type="base64";break;case"binary":t.type="string";break;case"string":throw new Error("'string' output type invalid for '"+r.bookType+"' files");case"buffer":;case"file":t.type=a;break;default:throw new Error("Unrecognized type "+r.type);}var n=e.FullPaths?Qe.write(e,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[t.type]||t.type,compression:!!r.compression}):e.generate(t);if(typeof Deno!=="undefined"){if(typeof n=="string"){if(r.type=="binary"||r.type=="base64")return n;n=new Uint8Array(I(n))}}if(r.password&&typeof encrypt_agile!=="undefined")return Tk(encrypt_agile(n,r.password),r);if(r.type==="file")return ar(r.file,n);return r.type=="string"?kt(n):n}function _k(e,r){var t=r||{};var a=qg(e,t);return Tk(a,t)}function Sk(e,r,t){if(!t)t="";var a=t+e;switch(r.type){case"base64":return T(Tt(a));case"binary":return Tt(a);case"string":return e;case"file":return ar(r.file,a,"utf8");case"buffer":{if(C)return _(a,"utf8");else if(typeof TextEncoder!=="undefined")return(new TextEncoder).encode(a);else return Sk(a,{type:"binary"}).split("").map(function(e){return e.charCodeAt(0)})};}throw new Error("Unrecognized type "+r.type)}function xk(e,r){switch(r.type){case"base64":return A(e);case"binary":return e;case"string":return e;case"file":return ar(r.file,e,"binary");case"buffer":{if(C)return _(e,"binary");else return e.split("").map(function(e){return e.charCodeAt(0)})};}throw new Error("Unrecognized type "+r.type)}function Ok(e,r){switch(r.type){case"string":;case"base64":;case"binary":var t="";for(var a=0;a0)n=0;var h=Na(l.s.r);var u=[];var d=[];var v=0,p=0;var m=e["!data"]!=null;var g=l.s.r,b=0;var w={};if(m&&!e["!data"][g])e["!data"][g]=[];var k=o.skipHidden&&e["!cols"]||[];var T=o.skipHidden&&e["!rows"]||[];for(b=l.s.c;b<=l.e.c;++b){if((k[b]||{}).hidden)continue;u[b]=La(b);t=m?e["!data"][g][b]:e[u[b]+h];switch(a){case 1:i[b]=b-l.s.c;break;case 2:i[b]=u[b];break;case 3:i[b]=o.header[b-l.s.c];break;default:if(t==null)t={w:"__EMPTY",t:"s"};f=s=Ka(t,null,o);p=w[s]||0;if(!p)w[s]=1;else{do{f=s+"_"+p++}while(w[f]);w[s]=p;w[f]=1}i[b]=f;}}for(g=l.s.r+n;g<=l.e.r;++g){if((T[g]||{}).hidden)continue;var A=Lk(e,l,g,u,a,i,o);if(A.isempty===false||(a===1?o.blankrows!==false:!!o.blankrows))d[v++]=A.row}d.length=v;return d}var Uk=/"/g;function Bk(e,r,t,a,n,i,s,f){var l=true;var o=[],c="",h=Na(t);var u=e["!data"]!=null;var d=u&&e["!data"][t]||[];for(var v=r.s.c;v<=r.e.c;++v){if(!a[v])continue;var p=u?d[v]:e[a[v]+h];if(p==null)c="";else if(p.v!=null){l=false;c=""+(f.rawNumbers&&p.t=="n"?p.v:Ka(p,null,f));for(var m=0,g=0;m!==c.length;++m)if((g=c.charCodeAt(m))===n||g===i||g===34||f.forceQuotes){c='"'+c.replace(Uk,'""')+'"';break}if(c=="ID")c='"ID"'}else if(p.f!=null&&!p.F){l=false;c="="+p.f;if(c.indexOf(",")>=0)c='"'+c.replace(Uk,'""')+'"'}else c="";o.push(c)}if(f.blankrows===false&&l)return null;return o.join(s)}function Wk(e,r){var t=[];var a=r==null?{}:r;if(e==null||e["!ref"]==null)return"";var n=Ga(e["!ref"]);var i=a.FS!==undefined?a.FS:",",s=i.charCodeAt(0);var f=a.RS!==undefined?a.RS:"\n",l=f.charCodeAt(0);var o=new RegExp((i=="|"?"\\|":i)+"+$"); +var c="",h=[];var u=a.skipHidden&&e["!cols"]||[];var d=a.skipHidden&&e["!rows"]||[];for(var v=n.s.c;v<=n.e.c;++v)if(!(u[v]||{}).hidden)h[v]=La(v);var p=0;for(var m=n.s.r;m<=n.e.r;++m){if((d[m]||{}).hidden)continue;c=Bk(e,n,m,h,s,l,i,a);if(c==null){continue}if(a.strip)c=c.replace(o,"");if(c||a.blankrows!==false)t.push((p++?f:"")+c)}return t.join("")}function zk(e,r){if(!r)r={};r.FS="\t";r.RS="\n";var t=Wk(e,r);if(typeof a=="undefined"||r.type=="string")return t;var n=a.utils.encode(1200,t,"str");return String.fromCharCode(255)+String.fromCharCode(254)+n}function Hk(e){var r="",t,a="";if(e==null||e["!ref"]==null)return[];var n=Ga(e["!ref"]),i="",s=[],f;var l=[];var o=e["!data"]!=null;for(f=n.s.c;f<=n.e.c;++f)s[f]=La(f);for(var c=n.s.r;c<=n.e.r;++c){i=Na(c);for(f=n.s.c;f<=n.e.c;++f){r=s[f]+i;t=o?(e["!data"][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;l[l.length]=r+"="+a}}return l}function Vk(e,r,t){var a=t||{};var n=e?e["!data"]!=null:a.dense;if(b!=null&&n==null)n=b;var i=+!a.skipHeader;var s=e||{};if(!e&&n)s["!data"]=[];var f=0,l=0;if(s&&a.origin!=null){if(typeof a.origin=="number")f=a.origin;else{var o=typeof a.origin=="string"?Wa(a.origin):a.origin;f=o.r;l=o.c}}var c={s:{c:0,r:0},e:{c:l,r:f+r.length-1+i}};if(s["!ref"]){var h=Ga(s["!ref"]);c.e.c=Math.max(c.e.c,h.e.c);c.e.r=Math.max(c.e.r,h.e.r);if(f==-1){f=h.e.r+1;c.e.r=f+r.length-1+i}}else{if(f==-1){f=0;c.e.r=r.length-1+i}}var u=a.header||[],d=0;var v=[];r.forEach(function(e,r){if(n&&!s["!data"][f+r+i])s["!data"][f+r+i]=[];if(n)v=s["!data"][f+r+i];ir(e).forEach(function(t){if((d=u.indexOf(t))==-1)u[d=u.length]=t;var o=e[t];var c="z";var h="";var p=n?"":La(l+d)+Na(f+r+i);var m=n?v[l+d]:s[p];if(o&&typeof o==="object"&&!(o instanceof Date)){if(n)v[l+d]=o;else s[p]=o}else{if(typeof o=="number")c="n";else if(typeof o=="boolean")c="b";else if(typeof o=="string")c="s";else if(o instanceof Date){c="d";if(!a.UTC)o=Dr(o);if(!a.cellDates){c="n";o=dr(o)}h=m!=null&&m.z&&Le(m.z)?m.z:a.dateNF||q[14]}else if(o===null&&a.nullError){c="e";o=0}if(!m){if(!n)s[p]=m={t:c,v:o};else v[l+d]=m={t:c,v:o}}else{m.t=c;m.v=o;delete m.w;delete m.R;if(h)m.z=h}if(h)m.z=h}})});c.e.c=Math.max(c.e.c,l+u.length-1);var p=Na(f);if(n&&!s["!data"][f])s["!data"][f]=[];if(i)for(d=0;d=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+"|")}function jk(e,r){var t={SheetNames:[],Sheets:{}};if(e)Kk(t,e,r||"Sheet1");return t}function Kk(e,r,t,a){var n=1;if(!t)for(;n<=65535;++n,t=undefined)if(e.SheetNames.indexOf(t="Sheet"+n)==-1)break;if(!t||e.SheetNames.length>=65535)throw new Error("Too many worksheets");if(a&&e.SheetNames.indexOf(t)>=0){var i=t.match(/(^.*?)(\d+)$/);n=i&&+i[2]||0;var s=i&&i[1]||t;for(++n;n<=65535;++n)if(e.SheetNames.indexOf(t=s+n)==-1)break}Lm(t);if(e.SheetNames.indexOf(t)>=0)throw new Error("Worksheet with name |"+t+"| already exists!");e.SheetNames.push(t);e.Sheets[t]=r;return t}function Yk(e,r,t){if(!e.Workbook)e.Workbook={};if(!e.Workbook.Sheets)e.Workbook.Sheets=[];var a=Gk(e,r);if(!e.Workbook.Sheets[a])e.Workbook.Sheets[a]={};switch(t){case 0:;case 1:;case 2:break;default:throw new Error("Bad sheet visibility setting "+t);}e.Workbook.Sheets[a].Hidden=t}function Zk(e,r){e.z=r;return e}function Jk(e,r,t){if(!r){delete e.l}else{e.l={Target:r};if(t)e.l.Tooltip=t}return e}function qk(e,r,t){return Jk(e,"#"+r,t)}function Qk(e,r,t){if(!e.c)e.c=[];e.c.push({t:r,a:t||"SheetJS"})}function eT(e,r,t,a){var n=typeof r!="string"?r:Ga(r);var i=typeof r=="string"?r:Va(r);for(var s=n.s.r;s<=n.e.r;++s)for(var f=n.s.c;f<=n.e.c;++f){var l=$k(e,s,f);l.t="n";l.F=i;delete l.v;if(s==n.s.r&&f==n.s.c){l.f=t;if(a)l.D=true}}var o=Ha(e["!ref"]);if(o.s.r>n.s.r)o.s.r=n.s.r;if(o.s.c>n.s.c)o.s.c=n.s.c;if(o.e.rs.e.r){if(!l){l=true;t.push(""+i)}return t.push(null)}while(f<=s.e.r){t.push(Cb(e,s,f,a));++f;break}};return t}function sT(e,r){var t=tT({objectMode:true});if(e==null||e["!ref"]==null){t.push(null);return t}var a={t:"n",v:0},n=0,i=1,s=[],f=0,l="";var o={s:{r:0,c:0},e:{r:0,c:0}};var c=r||{};var h=c.range!=null?c.range:e["!ref"];if(c.header===1)n=1;else if(c.header==="A")n=2;else if(Array.isArray(c.header))n=3;switch(typeof h){case"string":o=Ga(h);break;case"number":o=Ga(e["!ref"]);o.s.r=h;break;default:o=h;}if(n>0)i=0;var u=Na(o.s.r);var d=[];var v=0;var p=e["!data"]!=null;var m=o.s.r,g=0;var b={};if(p&&!e["!data"][m])e["!data"][m]=[];var w=c.skipHidden&&e["!cols"]||[];var k=c.skipHidden&&e["!rows"]||[];for(g=o.s.c;g<=o.e.c;++g){if((w[g]||{}).hidden)continue;d[g]=La(g);a=p?e["!data"][m][g]:e[d[g]+u];switch(n){case 1:s[g]=g-o.s.c;break;case 2:s[g]=d[g];break;case 3:s[g]=c.header[g-o.s.c];break;default:if(a==null)a={w:"__EMPTY",t:"s"};l=f=Ka(a,null,c);v=b[f]||0;if(!v)b[f]=1;else{do{l=f+"_"+v++}while(b[l]);b[f]=v;b[l]=1}s[g]=l;}}m=o.s.r+i;t._read=function(){while(m<=o.e.r){if((k[m-1]||{}).hidden)continue;var r=Lk(e,o,m,d,n,s,c);++m;if(r.isempty===false||(n===1?c.blankrows!==false:!!c.blankrows)){t.push(r.row);return}}return t.push(null)};return t}var fT={to_json:sT,to_html:iT,to_csv:nT,set_readable:aT};if(typeof Jg!=="undefined")e.parse_xlscfb=Jg;e.parse_zip=fk;e.read=wk;e.readFile=kk;e.readFileSync=kk;e.write=Ik;e.writeFile=Fk;e.writeFileSync=Fk;e.writeFileAsync=Pk;e.utils=rT;e.writeXLSX=Rk;e.writeFileXLSX=Dk;e.set_fs=rr;e.set_cptable=g;e.SSF=$e;if(typeof fT!=="undefined")e.stream=fT;if(typeof Qe!=="undefined")e.CFB=Qe;if(typeof require!=="undefined"){var lT=undefined;if((lT||{}).Readable)aT(lT.Readable);try{er=undefined}catch(au){}}}if(typeof exports!=="undefined")make_xlsx_lib(exports);else if(typeof module!=="undefined"&&module.exports)make_xlsx_lib(module.exports);else if(typeof define==="function"&&define.amd)define("xlsx",function(){if(!XLSX.version)make_xlsx_lib(XLSX);return XLSX});else make_xlsx_lib(XLSX);if(typeof window!=="undefined"&&!window.XLSX)try{window.XLSX=XLSX}catch(e){} diff --git a/xlsx.js b/xlsx.js index 5a3ced0..d58fd63 100644 --- a/xlsx.js +++ b/xlsx.js @@ -1,10 +1,10 @@ /*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */ /* vim: set ts=2: */ /*exported XLSX */ -/*global global, exports, module, require:false, process:false, Buffer:false, ArrayBuffer:false, DataView:false, Deno:false, Float32Array:false */ +/*global global, exports, module, require:false, process:false, Buffer:false, ArrayBuffer:false, DataView:false, Deno:false, Set:false, Float32Array:false */ var XLSX = {}; function make_xlsx_lib(XLSX){ -XLSX.version = '0.20.1'; +XLSX.version = '0.20.2'; var current_codepage = 1200, current_ansi = 1252; /*global cptable:true, window */ var $cptable; @@ -12,26 +12,26 @@ var $cptable; var VALID_ANSI = [ 874, 932, 936, 949, 950, 1250, 1251, 1252, 1253, 1254, 1255, 1256, 1257, 1258, 10000 ]; /* ECMA-376 Part I 18.4.1 charset to codepage mapping */ var CS2CP = ({ -0: 1252, /* ANSI */ -1: 65001, /* DEFAULT */ -2: 65001, /* SYMBOL */ -77: 10000, /* MAC */ -128: 932, /* SHIFTJIS */ -129: 949, /* HANGUL */ -130: 1361, /* JOHAB */ -134: 936, /* GB2312 */ -136: 950, /* CHINESEBIG5 */ -161: 1253, /* GREEK */ -162: 1254, /* TURKISH */ -163: 1258, /* VIETNAMESE */ -177: 1255, /* HEBREW */ -178: 1256, /* ARABIC */ -186: 1257, /* BALTIC */ -204: 1251, /* RUSSIAN */ -222: 874, /* THAI */ -238: 1250, /* EASTEUROPE */ -255: 1252, /* OEM */ -69: 6969 /* MISC */ + 0: 1252, /* ANSI */ + 1: 65001, /* DEFAULT */ + 2: 65001, /* SYMBOL */ + 77: 10000, /* MAC */ + 128: 932, /* SHIFTJIS */ + 129: 949, /* HANGUL */ + 130: 1361, /* JOHAB */ + 134: 936, /* GB2312 */ + 136: 950, /* CHINESEBIG5 */ + 161: 1253, /* GREEK */ + 162: 1254, /* TURKISH */ + 163: 1258, /* VIETNAMESE */ + 177: 1255, /* HEBREW */ + 178: 1256, /* ARABIC */ + 186: 1257, /* BALTIC */ + 204: 1251, /* RUSSIAN */ + 222: 874, /* THAI */ + 238: 1250, /* EASTEUROPE */ + 255: 1252, /* OEM */ + 69: 6969 /* MISC */ }); var set_ansi = function(cp) { if(VALID_ANSI.indexOf(cp) == -1) return; current_ansi = CS2CP[0] = cp; }; @@ -157,7 +157,12 @@ function Base64_encode_arr(input) { function Base64_decode(input) { var o = ""; var c1 = 0, c2 = 0, c3 = 0, e1 = 0, e2 = 0, e3 = 0, e4 = 0; - input = input.replace(/^data:([^\/]+\/[^\/]+)?;base64\,/, "").replace(/[^\w\+\/\=]/g, ""); + if (input.slice(0, 5) == "data:") { + var i = input.slice(0, 1024).indexOf(";base64,"); + if (i > -1) + input = input.slice(i + 8); + } + input = input.replace(/[^\w\+\/\=]/g, ""); for (var i = 0; i < input.length; ) { e1 = Base64_map.indexOf(input.charAt(i++)); e2 = Base64_map.indexOf(input.charAt(i++)); @@ -698,7 +703,7 @@ function write_num_f2(r, aval, sign) { return sign + (aval === 0 ? "" : ""+aval) + fill(" ", r[1].length + 2 + r[4].length); } var dec1 = /^#*0*\.([0#]+)/; -var closeparen = /\).*[0#]/; +var closeparen = /\)[^)]*[0#]/; var phone = /\(###\) ###\\?-####/; function hashq(str) { var o = "", cc; @@ -2111,9 +2116,9 @@ flen = file.content.length; file = cfb.FileIndex[i]; if(i === 0) file.start = file.size ? file.start - 1 : ENDOFCHAIN; var _nm = (i === 0 && _opts.root) || file.name; - if(_nm.length > 32) { - console.error("Name " + _nm + " will be truncated to " + _nm.slice(0,32)); - _nm = _nm.slice(0, 32); + if(_nm.length > 31) { + console.error("Name " + _nm + " will be truncated to " + _nm.slice(0,31)); + _nm = _nm.slice(0, 31); } flen = 2*(_nm.length+1); o.write_shift(64, _nm, "utf16le"); @@ -3022,7 +3027,7 @@ function parse_mime(cfb, data, root) { for(;di < 10; ++di) { var line = data[di]; if(!line || line.match(/^\s*$/)) break; - var m = line.match(/^(.*?):\s*([^\s].*)$/); + var m = line.match(/^([^:]*?):\s*([^\s].*)$/); if(m) switch(m[1].toLowerCase()) { case "content-location": fname = m[2].trim(); break; case "content-type": ctype = m[2].trim(); break; @@ -3261,7 +3266,7 @@ document.body.removeChild(a); var out = File(fname); out.open("w"); out.encoding = "binary"; if(Array.isArray(payload)) payload = a2s(payload); out.write(payload); out.close(); return payload; - } catch(e) { if(!e.message || !e.message.match(/onstruct/)) throw e; } + } catch(e) { if(!e.message || e.message.indexOf("onstruct") == -1) throw e; } throw new Error("cannot save file " + fname); } @@ -3275,7 +3280,7 @@ function read_binary(path) { var infile = File(path); infile.open("r"); infile.encoding = "binary"; var data = infile.read(); infile.close(); return data; - } catch(e) { if(!e.message || !e.message.match(/onstruct/)) throw e; } + } catch(e) { if(!e.message || e.message.indexOf("onstruct") == -1) throw e; } throw new Error("Cannot access file " + path); } function keys(o) { @@ -3367,7 +3372,7 @@ function parseDate(str, date1904) { if(m) return new Date(Date.UTC(+m[1], +m[2]-1, +m[3], 0, 0, 0, 0)); /* TODO: 1900-02-29T00:00:00.000 should return a flag to treat as a date code (affects xlml) */ m = str.match(pdre3); - if(m) return new Date(Date.UTC(+m[1], +m[2]-1, +m[3], +m[4], +m[5], ((m[6] && parseInt(m[6].slice(1), 10))|| 0), ((m[7] && parseInt(m[7].slice(1), 10))||0))); + if(m) return new Date(Date.UTC(+m[1], +m[2]-1, +m[3], +m[4], +m[5], ((m[6] && parseInt(m[6].slice(1), 10))|| 0), ((m[7] && parseInt((m[7] + "0000").slice(1,4), 10))||0))); var d = new Date(str); return d; } @@ -3434,7 +3439,7 @@ function fuzzynum(s) { var wt = 1; var ss = s.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g, function() { wt *= 100; return "";}); if(!isNaN(v = Number(ss))) return v / wt; - ss = ss.replace(/[(](.*)[)]/,function($$, $1) { wt = -wt; return $1;}); + ss = ss.replace(/[(]([^()]*)[)]/,function($$, $1) { wt = -wt; return $1;}); if(!isNaN(v = Number(ss))) return v / wt; return v; } @@ -3475,7 +3480,7 @@ function fuzzydate(s) { M = lnos.match(FDRE2); if(M) return fuzzytime2(M); M = lnos.match(pdre3); - if(M) return new Date(Date.UTC(+M[1], +M[2]-1, +M[3], +M[4], +M[5], ((M[6] && parseInt(M[6].slice(1), 10))|| 0), ((M[7] && parseInt(M[7].slice(1), 10))||0))); + if(M) return new Date(Date.UTC(+M[1], +M[2]-1, +M[3], +M[4], +M[5], ((M[6] && parseInt(M[6].slice(1), 10))|| 0), ((M[7] && parseInt((M[7] + "0000").slice(1,4), 10))||0))); var o = new Date(utc_append_works && s.indexOf("UTC") == -1 ? s + " UTC": s), n = new Date(NaN); var y = o.getYear(), m = o.getMonth(), d = o.getDate(); if(isNaN(d)) return n; @@ -3503,6 +3508,161 @@ function utc_to_local(utc) { function local_to_utc(local) { return new Date(Date.UTC(local.getFullYear(), local.getMonth(), local.getDate(), local.getHours(), local.getMinutes(), local.getSeconds(), local.getMilliseconds())); } + +function remove_doctype(str) { + var preamble = str.slice(0, 1024); + var si = preamble.indexOf("/g) --> str_match_ng(str, "") */ +function str_match_ng(str, s, e) { + var out = []; + + var si = str.indexOf(s); + while(si > -1) { + var ei = str.indexOf(e, si + s.length); + if(ei == -1) break; + + out.push(str.slice(si, ei + e.length)); + si = str.indexOf(s, ei + e.length); + } + + return out.length > 0 ? out : null; +} + +/* str.replace(//g, "") --> str_remove_ng(str, "") */ +function str_remove_ng(str, s, e) { + var out = [], last = 0; + + var si = str.indexOf(s); + if(si == -1) return str; + while(si > -1) { + out.push(str.slice(last, si)); + var ei = str.indexOf(e, si + s.length); + if(ei == -1) break; + + if((si = str.indexOf(s, (last = ei + e.length))) == -1) out.push(str.slice(last)); + } + + return out.join(""); +} + +/* str.match(/]*?>([\s\S]*?)/) --> str_match_xml(str, "tag") */ +var xml_boundary = { " ": 1, "\t": 1, "\r": 1, "\n": 1, ">": 1 }; +function str_match_xml(str, tag) { + var si = str.indexOf('<' + tag), w = tag.length + 1, L = str.length; + while(si >= 0 && si <= L - w && !xml_boundary[str.charAt(si + w)]) si = str.indexOf('<' + tag, si+1); + if(si === -1) return null; + var sf = str.indexOf(">", si + tag.length); + if(sf === -1) return null; + var et = ""; + var ei = str.indexOf(et, sf); + if(ei == -1) return null; + return [str.slice(si, ei + et.length), str.slice(sf + 1, ei)]; +} + +/* str.match(/<(?:\w+:)?tag\b[^<>]*?>([\s\S]*?)<\/(?:\w+:)?tag>/) --> str_match_xml(str, "tag") */ +var str_match_xml_ns = (function() { + var str_match_xml_ns_cache = {}; + return function str_match_xml_ns(str, tag) { + var res = str_match_xml_ns_cache[tag]; + if(!res) str_match_xml_ns_cache[tag] = res = [ + new RegExp('<(?:\\w+:)?'+tag+'\\b[^<>]*>', "g"), + new RegExp('', "g") + ]; + res[0].lastIndex = res[1].lastIndex = 0; + var m = res[0].exec(str); + if(!m) return null; + var si = m.index; + var sf = res[0].lastIndex; + res[1].lastIndex = res[0].lastIndex; + m = res[1].exec(str); + if(!m) return null; + var ei = m.index; + var ef = res[1].lastIndex; + return [str.slice(si, ef), str.slice(sf, ei)]; + }; +})(); + +/* str.match(/<(?:\w+:)?tag\b[^<>]*?>([\s\S]*?)<\/(?:\w+:)?tag>/g) --> str_match_xml_ns_g(str, "tag") */ +var str_match_xml_ns_g = (function() { + var str_match_xml_ns_cache = {}; + return function str_match_xml_ns(str, tag) { + var out = []; + var res = str_match_xml_ns_cache[tag]; + if(!res) str_match_xml_ns_cache[tag] = res = [ + new RegExp('<(?:\\w+:)?'+tag+'\\b[^<>]*>', "g"), + new RegExp('', "g") + ]; + res[0].lastIndex = res[1].lastIndex = 0; + var m; + while((m = res[0].exec(str))) { + var si = m.index; + res[1].lastIndex = res[0].lastIndex; + m = res[1].exec(str); + if(!m) return null; + var ef = res[1].lastIndex; + out.push(str.slice(si, ef)); + res[0].lastIndex = res[1].lastIndex; + } + return out.length == 0 ? null : out; + }; +})(); +var str_remove_xml_ns_g = (function() { + var str_remove_xml_ns_cache = {}; + return function str_remove_xml_ns_g(str, tag) { + var out = []; + var res = str_remove_xml_ns_cache[tag]; + if(!res) str_remove_xml_ns_cache[tag] = res = [ + new RegExp('<(?:\\w+:)?'+tag+'\\b[^<>]*>', "g"), + new RegExp('', "g") + ]; + res[0].lastIndex = res[1].lastIndex = 0; + var m; + var si = 0, ef = 0; + while((m = res[0].exec(str))) { + si = m.index; + out.push(str.slice(ef, si)); + ef = si; + res[1].lastIndex = res[0].lastIndex; + m = res[1].exec(str); + if(!m) return null; + ef = res[1].lastIndex; + res[0].lastIndex = res[1].lastIndex; + } + out.push(str.slice(ef)); + return out.length == 0 ? "" : out.join(""); + }; +})(); + +/* str.match(/<(?:\w+:)?tag\b[^>]*?>([\s\S]*?)<\/(?:\w+:)?tag>/gi) --> str_match_xml_ns_ig(str, "tag") */ +var str_match_xml_ig = (function() { + var str_match_xml_ns_cache = {}; + return function str_match_xml_ns(str, tag) { + var out = []; + var res = str_match_xml_ns_cache[tag]; + if(!res) str_match_xml_ns_cache[tag] = res = [ + new RegExp('<'+tag+'\\b[^<>]*>', "ig"), + new RegExp('', "ig") + ]; + res[0].lastIndex = res[1].lastIndex = 0; + var m; + while((m = res[0].exec(str))) { + var si = m.index; + res[1].lastIndex = res[0].lastIndex; + m = res[1].exec(str); + if(!m) return null; + var ef = res[1].lastIndex; + out.push(str.slice(si, ef)); + res[0].lastIndex = res[1].lastIndex; + } + return out.length == 0 ? null : out; + }; +})(); function getdatastr(data) { if(!data) return null; if(data.content && data.type) return cc2str(data.content, true); @@ -3609,8 +3769,8 @@ function resolve_path(path, base) { return result.join('/'); } var XML_HEADER = '\r\n'; -var attregexg=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g; -var tagregex1=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/mg, tagregex2 = /<[^>]*>/g; +var attregexg=/\s([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g; +var tagregex1=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?<>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'"<>\s=]+))*\s*[\/\?]?>/mg, tagregex2 = /<[^<>]*>/g; var tagregex = XML_HEADER.match(tagregex1) ? tagregex1 : tagregex2; var nsregex=/<\w*:/, nsregex2 = /<(\/?)\w+:/; function parsexmltag(tag, skip_root, skip_LC) { @@ -3621,7 +3781,7 @@ function parsexmltag(tag, skip_root, skip_LC) { if(eq === tag.length) return z; var m = tag.match(attregexg), j=0, v="", i=0, q="", cc="", quot = 1; if(m) for(i = 0; i != m.length; ++i) { - cc = m[i]; + cc = m[i].slice(1); for(c=0; c != cc.length; ++c) if(cc.charCodeAt(c) === 61) break; q = cc.slice(0,c).trim(); while(cc.charCodeAt(c+1) == 32) ++c; @@ -3771,16 +3931,6 @@ var utf8write = has_buf ? function(data) { return Buffer_from(data, 'utf8').toSt return out.join(""); }; -// matches ... extracts content -var matchtag = (function() { - var mtcache = ({}); - return function matchtag(f,g) { - var t = f+"|"+(g||""); - if(mtcache[t]) return mtcache[t]; - return (mtcache[t] = new RegExp('<(?:\\w+:)?'+f+'(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)',((g||"")))); - }; -})(); - var htmldecode = (function() { var entities = [ ['nbsp', ' '], ['middot', '·'], @@ -3791,30 +3941,25 @@ var htmldecode = (function() { // Remove new lines and spaces from start of content .replace(/^[\t\n\r ]+/, "") // Remove new lines and spaces from end of content - .replace(/[\t\n\r ]+$/,"") + .replace(/(^|[^\t\n\r ])[\t\n\r ]+$/,"$1") // Added line which removes any white space characters after and before html tags - .replace(/>\s+/g,">").replace(/\s+\s+/g,">").replace(/\b\s+ tags with new lines .replace(/<\s*[bB][rR]\s*\/?>/g,"\n") // Strip HTML elements - .replace(/<[^>]*>/g,""); + .replace(/<[^<>]*>/g,""); for(var i = 0; i < entities.length; ++i) o = o.replace(entities[i][0], entities[i][1]); return o; }; })(); -var vtregex = (function(){ var vt_cache = {}; - return function vt_regex(bt) { - if(vt_cache[bt] !== undefined) return vt_cache[bt]; - return (vt_cache[bt] = new RegExp("<(?:vt:)?" + bt + ">([\\s\\S]*?)", 'g') ); -};})(); -var vtvregex = /<\/?(?:vt:)?variant>/g, vtmregex = /<(?:vt:)([^>]*)>([\s\S]*)/g, vtmregex = /<(?:vt:)([^<"'>]*)>([\s\S]*):\/]+)(?:[\s?:\/](?:[^>=]|="[^"]*?")*)?>/mg; -//var xlmlregex = /<(\/?)([a-z0-9]*:|)(\w+)[^>]*>/mg; +/* UOS uses CJK in tags, ODS uses invalid XML */ +var xlmlregex = /<([\/]?)([^\s?>:\/"]+)(?:\s+[^<>=?"'\s]+="[^"]*?")*\s*[\/]?>/mg; var XMLNS = ({ CORE_PROPS: 'http://schemas.openxmlformats.org/package/2006/metadata/core-properties', @@ -4392,22 +4536,24 @@ function sheet_add_aoa(_ws, data, opts) { var _origin = typeof o.origin == "string" ? decode_cell(o.origin) : o.origin; _R = _origin.r; _C = _origin.c; } - if(!ws["!ref"]) ws["!ref"] = "A1:A1"; } var range = ({s: {c:10000000, r:10000000}, e: {c:0, r:0}}); - if(ws['!ref']) { + if(ws["!ref"]){ var _range = safe_decode_range(ws['!ref']); range.s.c = _range.s.c; range.s.r = _range.s.r; range.e.c = Math.max(range.e.c, _range.e.c); range.e.r = Math.max(range.e.r, _range.e.r); - if(_R == -1) range.e.r = _R = _range.e.r + 1; + if(_R == -1) range.e.r = _R = (ws["!ref"] ? _range.e.r + 1 : 0); + } else { + range.s.c = range.e.c = range.s.r = range.e.r = 0; } - var row = []; + var row = [], seen = false; for(var R = 0; R != data.length; ++R) { if(!data[R]) continue; if(!Array.isArray(data[R])) throw new Error("aoa_to_sheet expects an array of arrays"); var __R = _R + R, __Rstr = "" + (__R + 1); + //console.log("!!", R, _R, __R); if(dense) { if(!ws["!data"][__R]) ws["!data"][__R] = []; row = ws["!data"][__R]; @@ -4420,6 +4566,7 @@ function sheet_add_aoa(_ws, data, opts) { if(range.s.c > __C) range.s.c = __C; if(range.e.r < __R) range.e.r = __R; if(range.e.c < __C) range.e.c = __C; + seen = true; if(data[R][C] && typeof data[R][C] === 'object' && !Array.isArray(data[R][C]) && !(data[R][C] instanceof Date)) cell = data[R][C]; else { if(Array.isArray(cell.v)) { cell.f = data[R][C][1]; cell.v = cell.v[0]; } @@ -4449,7 +4596,7 @@ function sheet_add_aoa(_ws, data, opts) { } } } - if(range.s.c < 10000000) ws['!ref'] = encode_range(range); + if(seen && range.s.c < 10400000) ws['!ref'] = encode_range(range); return ws; } function aoa_to_sheet(data, opts) { return sheet_add_aoa(null, data, opts); } @@ -4811,118 +4958,118 @@ var VT_CUSTOM = [VT_STRING, VT_USTR]; /* [MS-OSHARED] 2.3.3.2.2.1 Document Summary Information PIDDSI */ var DocSummaryPIDDSI = { -0x01: { n: 'CodePage', t: VT_I2 }, -0x02: { n: 'Category', t: VT_STRING }, -0x03: { n: 'PresentationFormat', t: VT_STRING }, -0x04: { n: 'ByteCount', t: VT_I4 }, -0x05: { n: 'LineCount', t: VT_I4 }, -0x06: { n: 'ParagraphCount', t: VT_I4 }, -0x07: { n: 'SlideCount', t: VT_I4 }, -0x08: { n: 'NoteCount', t: VT_I4 }, -0x09: { n: 'HiddenCount', t: VT_I4 }, -0x0a: { n: 'MultimediaClipCount', t: VT_I4 }, -0x0b: { n: 'ScaleCrop', t: VT_BOOL }, -0x0c: { n: 'HeadingPairs', t: VT_VECTOR_VARIANT /* VT_VECTOR | VT_VARIANT */ }, -0x0d: { n: 'TitlesOfParts', t: VT_VECTOR_LPSTR /* VT_VECTOR | VT_LPSTR */ }, -0x0e: { n: 'Manager', t: VT_STRING }, -0x0f: { n: 'Company', t: VT_STRING }, -0x10: { n: 'LinksUpToDate', t: VT_BOOL }, -0x11: { n: 'CharacterCount', t: VT_I4 }, -0x13: { n: 'SharedDoc', t: VT_BOOL }, -0x16: { n: 'HyperlinksChanged', t: VT_BOOL }, -0x17: { n: 'AppVersion', t: VT_I4, p: 'version' }, -0x18: { n: 'DigSig', t: VT_BLOB }, -0x1A: { n: 'ContentType', t: VT_STRING }, -0x1B: { n: 'ContentStatus', t: VT_STRING }, -0x1C: { n: 'Language', t: VT_STRING }, -0x1D: { n: 'Version', t: VT_STRING }, -0xFF: {}, + 0x01: { n: 'CodePage', t: VT_I2 }, + 0x02: { n: 'Category', t: VT_STRING }, + 0x03: { n: 'PresentationFormat', t: VT_STRING }, + 0x04: { n: 'ByteCount', t: VT_I4 }, + 0x05: { n: 'LineCount', t: VT_I4 }, + 0x06: { n: 'ParagraphCount', t: VT_I4 }, + 0x07: { n: 'SlideCount', t: VT_I4 }, + 0x08: { n: 'NoteCount', t: VT_I4 }, + 0x09: { n: 'HiddenCount', t: VT_I4 }, + 0x0a: { n: 'MultimediaClipCount', t: VT_I4 }, + 0x0b: { n: 'ScaleCrop', t: VT_BOOL }, + 0x0c: { n: 'HeadingPairs', t: VT_VECTOR_VARIANT /* VT_VECTOR | VT_VARIANT */ }, + 0x0d: { n: 'TitlesOfParts', t: VT_VECTOR_LPSTR /* VT_VECTOR | VT_LPSTR */ }, + 0x0e: { n: 'Manager', t: VT_STRING }, + 0x0f: { n: 'Company', t: VT_STRING }, + 0x10: { n: 'LinksUpToDate', t: VT_BOOL }, + 0x11: { n: 'CharacterCount', t: VT_I4 }, + 0x13: { n: 'SharedDoc', t: VT_BOOL }, + 0x16: { n: 'HyperlinksChanged', t: VT_BOOL }, + 0x17: { n: 'AppVersion', t: VT_I4, p: 'version' }, + 0x18: { n: 'DigSig', t: VT_BLOB }, + 0x1A: { n: 'ContentType', t: VT_STRING }, + 0x1B: { n: 'ContentStatus', t: VT_STRING }, + 0x1C: { n: 'Language', t: VT_STRING }, + 0x1D: { n: 'Version', t: VT_STRING }, + 0xFF: {}, /* [MS-OLEPS] 2.18 */ -0x80000000: { n: 'Locale', t: VT_UI4 }, -0x80000003: { n: 'Behavior', t: VT_UI4 }, -0x72627262: {} + 0x80000000: { n: 'Locale', t: VT_UI4 }, + 0x80000003: { n: 'Behavior', t: VT_UI4 }, + 0x72627262: {} }; /* [MS-OSHARED] 2.3.3.2.1.1 Summary Information Property Set PIDSI */ var SummaryPIDSI = { -0x01: { n: 'CodePage', t: VT_I2 }, -0x02: { n: 'Title', t: VT_STRING }, -0x03: { n: 'Subject', t: VT_STRING }, -0x04: { n: 'Author', t: VT_STRING }, -0x05: { n: 'Keywords', t: VT_STRING }, -0x06: { n: 'Comments', t: VT_STRING }, -0x07: { n: 'Template', t: VT_STRING }, -0x08: { n: 'LastAuthor', t: VT_STRING }, -0x09: { n: 'RevNumber', t: VT_STRING }, -0x0A: { n: 'EditTime', t: VT_FILETIME }, -0x0B: { n: 'LastPrinted', t: VT_FILETIME }, -0x0C: { n: 'CreatedDate', t: VT_FILETIME }, -0x0D: { n: 'ModifiedDate', t: VT_FILETIME }, -0x0E: { n: 'PageCount', t: VT_I4 }, -0x0F: { n: 'WordCount', t: VT_I4 }, -0x10: { n: 'CharCount', t: VT_I4 }, -0x11: { n: 'Thumbnail', t: VT_CF }, -0x12: { n: 'Application', t: VT_STRING }, -0x13: { n: 'DocSecurity', t: VT_I4 }, -0xFF: {}, + 0x01: { n: 'CodePage', t: VT_I2 }, + 0x02: { n: 'Title', t: VT_STRING }, + 0x03: { n: 'Subject', t: VT_STRING }, + 0x04: { n: 'Author', t: VT_STRING }, + 0x05: { n: 'Keywords', t: VT_STRING }, + 0x06: { n: 'Comments', t: VT_STRING }, + 0x07: { n: 'Template', t: VT_STRING }, + 0x08: { n: 'LastAuthor', t: VT_STRING }, + 0x09: { n: 'RevNumber', t: VT_STRING }, + 0x0A: { n: 'EditTime', t: VT_FILETIME }, + 0x0B: { n: 'LastPrinted', t: VT_FILETIME }, + 0x0C: { n: 'CreatedDate', t: VT_FILETIME }, + 0x0D: { n: 'ModifiedDate', t: VT_FILETIME }, + 0x0E: { n: 'PageCount', t: VT_I4 }, + 0x0F: { n: 'WordCount', t: VT_I4 }, + 0x10: { n: 'CharCount', t: VT_I4 }, + 0x11: { n: 'Thumbnail', t: VT_CF }, + 0x12: { n: 'Application', t: VT_STRING }, + 0x13: { n: 'DocSecurity', t: VT_I4 }, + 0xFF: {}, /* [MS-OLEPS] 2.18 */ -0x80000000: { n: 'Locale', t: VT_UI4 }, -0x80000003: { n: 'Behavior', t: VT_UI4 }, -0x72627262: {} + 0x80000000: { n: 'Locale', t: VT_UI4 }, + 0x80000003: { n: 'Behavior', t: VT_UI4 }, + 0x72627262: {} }; /* [MS-XLS] 2.4.63 Country/Region codes */ var CountryEnum = { -0x0001: "US", // United States -0x0002: "CA", // Canada -0x0003: "", // Latin America (except Brazil) -0x0007: "RU", // Russia -0x0014: "EG", // Egypt -0x001E: "GR", // Greece -0x001F: "NL", // Netherlands -0x0020: "BE", // Belgium -0x0021: "FR", // France -0x0022: "ES", // Spain -0x0024: "HU", // Hungary -0x0027: "IT", // Italy -0x0029: "CH", // Switzerland -0x002B: "AT", // Austria -0x002C: "GB", // United Kingdom -0x002D: "DK", // Denmark -0x002E: "SE", // Sweden -0x002F: "NO", // Norway -0x0030: "PL", // Poland -0x0031: "DE", // Germany -0x0034: "MX", // Mexico -0x0037: "BR", // Brazil -0x003d: "AU", // Australia -0x0040: "NZ", // New Zealand -0x0042: "TH", // Thailand -0x0051: "JP", // Japan -0x0052: "KR", // Korea -0x0054: "VN", // Viet Nam -0x0056: "CN", // China -0x005A: "TR", // Turkey -0x0069: "JS", // Ramastan -0x00D5: "DZ", // Algeria -0x00D8: "MA", // Morocco -0x00DA: "LY", // Libya -0x015F: "PT", // Portugal -0x0162: "IS", // Iceland -0x0166: "FI", // Finland -0x01A4: "CZ", // Czech Republic -0x0376: "TW", // Taiwan -0x03C1: "LB", // Lebanon -0x03C2: "JO", // Jordan -0x03C3: "SY", // Syria -0x03C4: "IQ", // Iraq -0x03C5: "KW", // Kuwait -0x03C6: "SA", // Saudi Arabia -0x03CB: "AE", // United Arab Emirates -0x03CC: "IL", // Israel -0x03CE: "QA", // Qatar -0x03D5: "IR", // Iran -0xFFFF: "US" // United States + 0x0001: "US", // United States + 0x0002: "CA", // Canada + 0x0003: "", // Latin America (except Brazil) + 0x0007: "RU", // Russia + 0x0014: "EG", // Egypt + 0x001E: "GR", // Greece + 0x001F: "NL", // Netherlands + 0x0020: "BE", // Belgium + 0x0021: "FR", // France + 0x0022: "ES", // Spain + 0x0024: "HU", // Hungary + 0x0027: "IT", // Italy + 0x0029: "CH", // Switzerland + 0x002B: "AT", // Austria + 0x002C: "GB", // United Kingdom + 0x002D: "DK", // Denmark + 0x002E: "SE", // Sweden + 0x002F: "NO", // Norway + 0x0030: "PL", // Poland + 0x0031: "DE", // Germany + 0x0034: "MX", // Mexico + 0x0037: "BR", // Brazil + 0x003d: "AU", // Australia + 0x0040: "NZ", // New Zealand + 0x0042: "TH", // Thailand + 0x0051: "JP", // Japan + 0x0052: "KR", // Korea + 0x0054: "VN", // Viet Nam + 0x0056: "CN", // China + 0x005A: "TR", // Turkey + 0x0069: "JS", // Ramastan + 0x00D5: "DZ", // Algeria + 0x00D8: "MA", // Morocco + 0x00DA: "LY", // Libya + 0x015F: "PT", // Portugal + 0x0162: "IS", // Iceland + 0x0166: "FI", // Finland + 0x01A4: "CZ", // Czech Republic + 0x0376: "TW", // Taiwan + 0x03C1: "LB", // Lebanon + 0x03C2: "JO", // Jordan + 0x03C3: "SY", // Syria + 0x03C4: "IQ", // Iraq + 0x03C5: "KW", // Kuwait + 0x03C6: "SA", // Saudi Arabia + 0x03CB: "AE", // United Arab Emirates + 0x03CC: "IL", // Israel + 0x03CE: "QA", // Qatar + 0x03D5: "IR", // Iran + 0xFFFF: "US" // United States }; /* [MS-XLS] 2.5.127 */ @@ -5048,15 +5195,15 @@ var XLSIcv = dup(_XLSIcv); /* [MS-XLSB] 2.5.97.2 */ var BErr = { -0x00: "#NULL!", -0x07: "#DIV/0!", -0x0F: "#VALUE!", -0x17: "#REF!", -0x1D: "#NAME?", -0x24: "#NUM!", -0x2A: "#N/A", -0x2B: "#GETTING_DATA", -0xFF: "#WTF?" + 0x00: "#NULL!", + 0x07: "#DIV/0!", + 0x0F: "#VALUE!", + 0x17: "#REF!", + 0x1D: "#NAME?", + 0x24: "#NUM!", + 0x2A: "#N/A", + 0x2B: "#GETTING_DATA", + 0xFF: "#WTF?" }; //var RBErr = evert_num(BErr); var RBErr = { @@ -5594,22 +5741,12 @@ var CORE_PROPS = [ ["dcterms:modified", "ModifiedDate", 'date'] ]; -var CORE_PROPS_REGEX = (function() { - var r = new Array(CORE_PROPS.length); - for(var i = 0; i < CORE_PROPS.length; ++i) { - var f = CORE_PROPS[i]; - var g = "(?:"+ f[0].slice(0,f[0].indexOf(":")) +":)"+ f[0].slice(f[0].indexOf(":")+1); - r[i] = new RegExp("<" + g + "[^>]*>([\\s\\S]*?)<\/" + g + ">"); - } - return r; -})(); - function parse_core_props(data) { var p = {}; data = utf8read(data); for(var i = 0; i < CORE_PROPS.length; ++i) { - var f = CORE_PROPS[i], cur = data.match(CORE_PROPS_REGEX[i]); + var f = CORE_PROPS[i], cur = str_match_xml(data, f[0]); if(cur != null && cur.length > 0) p[f[1]] = unescapexml(cur[1]); if(f[2] === 'date' && p[f[1]]) p[f[1]] = parseDate(p[f[1]]); } @@ -5725,12 +5862,12 @@ function parse_ext_props(data, p, opts) { data = utf8read(data); EXT_PROPS.forEach(function(f) { - var xml = (data.match(matchtag(f[0]))||[])[1]; + var xml = (str_match_xml_ns(data, f[0])||[])[1]; switch(f[2]) { case "string": if(xml) p[f[1]] = unescapexml(xml); break; case "bool": p[f[1]] = xml === "true"; break; case "raw": - var cur = data.match(new RegExp("<" + f[0] + "[^>]*>([\\s\\S]*?)<\/" + f[0] + ">")); + var cur = str_match_xml(data, f[0]); if(cur && cur.length > 0) q[f[1]] = cur[1]; break; } @@ -5768,7 +5905,7 @@ function write_ext_props(cp) { return o.join(""); } /* 15.2.12.2 Custom File Properties Part */ -var custregex = /<[^>]+>[^<]*/g; +var custregex = /<[^<>]+>[^<]*/g; function parse_cust_props(data, opts) { var p = {}, name = ""; var m = data.match(custregex); @@ -6154,8 +6291,8 @@ function parse_PropertySet(blob, PIDSI) { /* [MS-OSHARED] 2.3.3.2.3.1.2 + PROPVARIANT */ switch(blob[blob.l]) { case 0x41 /*VT_BLOB*/: blob.l += 4; val = parse_BLOB(blob); break; - case 0x1E /*VT_LPSTR*/: blob.l += 4; val = parse_VtString(blob, blob[blob.l-4]).replace(/\u0000+$/,""); break; - case 0x1F /*VT_LPWSTR*/: blob.l += 4; val = parse_VtString(blob, blob[blob.l-4]).replace(/\u0000+$/,""); break; + case 0x1E /*VT_LPSTR*/: blob.l += 4; val = parse_VtString(blob, blob[blob.l-4]).replace(/(^|[^\u0000])\u0000+$/,"$1"); break; + case 0x1F /*VT_LPWSTR*/: blob.l += 4; val = parse_VtString(blob, blob[blob.l-4]).replace(/(^|[^\u0000])\u0000+$/,"$1"); break; case 0x03 /*VT_I4*/: blob.l += 4; val = blob.read_shift(4, 'i'); break; case 0x13 /*VT_UI4*/: blob.l += 4; val = blob.read_shift(4); break; case 0x05 /*VT_R8*/: blob.l += 4; val = blob.read_shift(8, 'f'); break; @@ -6680,25 +6817,25 @@ function parse_FtCf(blob) { /* [MS-XLS] 2.5.140 - 2.5.154 and friends */ function parse_FtSkip(blob) { blob.l += 2; blob.l += blob.read_shift(2); } var FtTab = { -0x00: parse_FtSkip, /* FtEnd */ -0x04: parse_FtSkip, /* FtMacro */ -0x05: parse_FtSkip, /* FtButton */ -0x06: parse_FtSkip, /* FtGmo */ -0x07: parse_FtCf, /* FtCf */ -0x08: parse_FtSkip, /* FtPioGrbit */ -0x09: parse_FtSkip, /* FtPictFmla */ -0x0A: parse_FtSkip, /* FtCbls */ -0x0B: parse_FtSkip, /* FtRbo */ -0x0C: parse_FtSkip, /* FtSbs */ -0x0D: parse_FtNts, /* FtNts */ -0x0E: parse_FtSkip, /* FtSbsFmla */ -0x0F: parse_FtSkip, /* FtGboData */ -0x10: parse_FtSkip, /* FtEdoData */ -0x11: parse_FtSkip, /* FtRboData */ -0x12: parse_FtSkip, /* FtCblsData */ -0x13: parse_FtSkip, /* FtLbsData */ -0x14: parse_FtSkip, /* FtCblsFmla */ -0x15: parse_FtCmo + 0x00: parse_FtSkip, /* FtEnd */ + 0x04: parse_FtSkip, /* FtMacro */ + 0x05: parse_FtSkip, /* FtButton */ + 0x06: parse_FtSkip, /* FtGmo */ + 0x07: parse_FtCf, /* FtCf */ + 0x08: parse_FtSkip, /* FtPioGrbit */ + 0x09: parse_FtSkip, /* FtPictFmla */ + 0x0A: parse_FtSkip, /* FtCbls */ + 0x0B: parse_FtSkip, /* FtRbo */ + 0x0C: parse_FtSkip, /* FtSbs */ + 0x0D: parse_FtNts, /* FtNts */ + 0x0E: parse_FtSkip, /* FtSbsFmla */ + 0x0F: parse_FtSkip, /* FtGboData */ + 0x10: parse_FtSkip, /* FtEdoData */ + 0x11: parse_FtSkip, /* FtRboData */ + 0x12: parse_FtSkip, /* FtCblsData */ + 0x13: parse_FtSkip, /* FtLbsData */ + 0x14: parse_FtSkip, /* FtCblsFmla */ + 0x15: parse_FtCmo }; function parse_FtArray(blob, length) { var tgt = blob.l + length; @@ -7748,60 +7885,60 @@ function parse_BIFF4SheetInfo(blob) { var DBF = (function() { var dbf_codepage_map = { /* Code Pages Supported by Visual FoxPro */ -0x01: 437, 0x02: 850, -0x03: 1252, 0x04: 10000, -0x64: 852, 0x65: 866, -0x66: 865, 0x67: 861, -0x68: 895, 0x69: 620, -0x6A: 737, 0x6B: 857, -0x78: 950, 0x79: 949, -0x7A: 936, 0x7B: 932, -0x7C: 874, 0x7D: 1255, -0x7E: 1256, 0x96: 10007, -0x97: 10029, 0x98: 10006, -0xC8: 1250, 0xC9: 1251, -0xCA: 1254, 0xCB: 1253, + 0x01: 437, 0x02: 850, + 0x03: 1252, 0x04: 10000, + 0x64: 852, 0x65: 866, + 0x66: 865, 0x67: 861, + 0x68: 895, 0x69: 620, + 0x6A: 737, 0x6B: 857, + 0x78: 950, 0x79: 949, + 0x7A: 936, 0x7B: 932, + 0x7C: 874, 0x7D: 1255, + 0x7E: 1256, 0x96: 10007, + 0x97: 10029, 0x98: 10006, + 0xC8: 1250, 0xC9: 1251, + 0xCA: 1254, 0xCB: 1253, /* shapefile DBF extension */ -0x00: 20127, 0x08: 865, -0x09: 437, 0x0A: 850, -0x0B: 437, 0x0D: 437, -0x0E: 850, 0x0F: 437, -0x10: 850, 0x11: 437, -0x12: 850, 0x13: 932, -0x14: 850, 0x15: 437, -0x16: 850, 0x17: 865, -0x18: 437, 0x19: 437, -0x1A: 850, 0x1B: 437, -0x1C: 863, 0x1D: 850, -0x1F: 852, 0x22: 852, -0x23: 852, 0x24: 860, -0x25: 850, 0x26: 866, -0x37: 850, 0x40: 852, -0x4D: 936, 0x4E: 949, -0x4F: 950, 0x50: 874, -0x57: 1252, 0x58: 1252, -0x59: 1252, 0x6C: 863, -0x86: 737, 0x87: 852, -0x88: 857, 0xCC: 1257, + 0x00: 20127, 0x08: 865, + 0x09: 437, 0x0A: 850, + 0x0B: 437, 0x0D: 437, + 0x0E: 850, 0x0F: 437, + 0x10: 850, 0x11: 437, + 0x12: 850, 0x13: 932, + 0x14: 850, 0x15: 437, + 0x16: 850, 0x17: 865, + 0x18: 437, 0x19: 437, + 0x1A: 850, 0x1B: 437, + 0x1C: 863, 0x1D: 850, + 0x1F: 852, 0x22: 852, + 0x23: 852, 0x24: 860, + 0x25: 850, 0x26: 866, + 0x37: 850, 0x40: 852, + 0x4D: 936, 0x4E: 949, + 0x4F: 950, 0x50: 874, + 0x57: 1252, 0x58: 1252, + 0x59: 1252, 0x6C: 863, + 0x86: 737, 0x87: 852, + 0x88: 857, 0xCC: 1257, -0xFF: 16969 + 0xFF: 16969 }; var dbf_reverse_map = evert({ -0x01: 437, 0x02: 850, -0x03: 1252, 0x04: 10000, -0x64: 852, 0x65: 866, -0x66: 865, 0x67: 861, -0x68: 895, 0x69: 620, -0x6A: 737, 0x6B: 857, -0x78: 950, 0x79: 949, -0x7A: 936, 0x7B: 932, -0x7C: 874, 0x7D: 1255, -0x7E: 1256, 0x96: 10007, -0x97: 10029, 0x98: 10006, -0xC8: 1250, 0xC9: 1251, -0xCA: 1254, 0xCB: 1253, -0x00: 20127 + 0x01: 437, 0x02: 850, + 0x03: 1252, 0x04: 10000, + 0x64: 852, 0x65: 866, + 0x66: 865, 0x67: 861, + 0x68: 895, 0x69: 620, + 0x6A: 737, 0x6B: 857, + 0x78: 950, 0x79: 949, + 0x7A: 936, 0x7B: 932, + 0x7C: 874, 0x7D: 1255, + 0x7E: 1256, 0x96: 10007, + 0x97: 10029, 0x98: 10006, + 0xC8: 1250, 0xC9: 1251, + 0xCA: 1254, 0xCB: 1253, + 0x00: 20127 }); /* TODO: find an actual specification */ function dbf_to_aoa(buf, opts) { @@ -7863,7 +8000,7 @@ var fields = [], field = ({}); var ww = l7 ? 32 : 11; while(d.l < hend && d[d.l] != 0x0d) { field = ({}); - field.name = (typeof $cptable !== "undefined" ? $cptable.utils.decode(current_cp, d.slice(d.l, d.l+ww)) : a2s(d.slice(d.l, d.l + ww))).replace(/[\u0000\r\n].*$/g,""); + field.name = (typeof $cptable !== "undefined" ? $cptable.utils.decode(current_cp, d.slice(d.l, d.l+ww)) : a2s(d.slice(d.l, d.l + ww))).replace(/[\u0000\r\n][\S\s]*$/g,""); d.l += ww; field.type = String.fromCharCode(d.read_shift(1)); if(ft != 0x02 && !l7) field.offset = d.read_shift(4); @@ -7921,7 +8058,7 @@ var fields = [], field = ({}); switch(fields[C].type) { case 'C': // NOTE: it is conventional to write ' / / ' for empty dates - if(s.trim().length) out[R][C] = s.replace(/\s+$/,""); + if(s.trim().length) out[R][C] = s.replace(/([^\s])\s+$/,"$1"); break; case 'D': if(s.length === 8) { @@ -8149,9 +8286,9 @@ var SYLK = (function() { KC:'Ç', Kc:'ç', q:'æ', z:'œ', a:'Æ', j:'Œ', DN:209, Dn:241, Hy:255, S:169, c:170, R:174, "B ":180, -0:176, 1:177, 2:178, -3:179, 5:181, 6:182, -7:183, Q:185, k:186, b:208, i:216, l:222, s:240, y:248, + 0:176, 1:177, 2:178, + 3:179, 5:181, 6:182, + 7:183, Q:185, k:186, b:208, i:216, l:222, s:240, y:248, "!":161, '"':162, "#":163, "(":164, "%":165, "'":167, "H ":168, "+":171, ";":187, "<":188, "=":189, ">":190, "?":191, "{":223 }); @@ -8228,6 +8365,7 @@ var SYLK = (function() { val = record[rj].slice(1); if(val.charAt(0) === '"') { val = val.slice(1,val.length - 1); cell_t = "s"; } else if(val === 'TRUE' || val === 'FALSE') { val = val === 'TRUE'; cell_t = "b"; } + else if(val.charAt(0) == "#" && RBErr[val] != null) { cell_t = "e"; val = RBErr[val]; } else if(!isNaN(fuzzynum(val))) { val = fuzzynum(val); cell_t = "n"; if(next_cell_format !== null && fmt_is_date(next_cell_format) && opts.cellDates) { @@ -8340,7 +8478,7 @@ var SYLK = (function() { o += (cell.v||0); if(cell.f && !cell.F) o += ";E" + a1_to_rc(cell.f, {r:R, c:C}); break; case 'b': o += cell.v ? "TRUE" : "FALSE"; break; - case 'e': o += cell.w || cell.v; break; + case 'e': o += cell.w || BErr[cell.v] || cell.v; break; case 'd': o += datenum(parseDate(cell.v, date1904), date1904); break; case 's': o += '"' + (cell.v == null ? "" : String(cell.v)).replace(/"/g,"").replace(/;/g, ";;") + '"'; break; } @@ -8685,18 +8823,18 @@ var PRN = (function() { // List of accepted CSV separators var guess_seps = { -0x2C: ',', -0x09: "\t", -0x3B: ';', -0x7C: '|' + 0x2C: ',', + 0x09: "\t", + 0x3B: ';', + 0x7C: '|' }; // CSV separator weights to be used in case of equal numbers var guess_sep_weights = { -0x2C: 3, -0x09: 2, -0x3B: 1, -0x7C: 0 + 0x2C: 3, + 0x09: 2, + 0x3B: 1, + 0x7C: 0 }; function guess_sep(str) { @@ -8865,7 +9003,7 @@ function read_wb_ID(d, opts) { return out; } catch(e) { o.WTF = OLD_WTF; - if(!e.message.match(/SYLK bad record ID/) && OLD_WTF) throw e; + if((e.message.indexOf("SYLK bad record ID") == -1) && OLD_WTF) throw e; return PRN.to_workbook(d, opts); } } @@ -9635,68 +9773,68 @@ var WK_ = (function() { } var WK1Enum = { -0x0000: { n:"BOF", f:parseuint16 }, -0x0001: { n:"EOF" }, -0x0002: { n:"CALCMODE" }, -0x0003: { n:"CALCORDER" }, -0x0004: { n:"SPLIT" }, -0x0005: { n:"SYNC" }, -0x0006: { n:"RANGE", f:parse_RANGE }, -0x0007: { n:"WINDOW1" }, -0x0008: { n:"COLW1" }, -0x0009: { n:"WINTWO" }, -0x000A: { n:"COLW2" }, -0x000B: { n:"NAME" }, -0x000C: { n:"BLANK" }, -0x000D: { n:"INTEGER", f:parse_INTEGER }, -0x000E: { n:"NUMBER", f:parse_NUMBER }, -0x000F: { n:"LABEL", f:parse_LABEL }, -0x0010: { n:"FORMULA", f:parse_FORMULA }, -0x0018: { n:"TABLE" }, -0x0019: { n:"ORANGE" }, -0x001A: { n:"PRANGE" }, -0x001B: { n:"SRANGE" }, -0x001C: { n:"FRANGE" }, -0x001D: { n:"KRANGE1" }, -0x0020: { n:"HRANGE" }, -0x0023: { n:"KRANGE2" }, -0x0024: { n:"PROTEC" }, -0x0025: { n:"FOOTER" }, -0x0026: { n:"HEADER" }, -0x0027: { n:"SETUP" }, -0x0028: { n:"MARGINS" }, -0x0029: { n:"LABELFMT" }, -0x002A: { n:"TITLES" }, -0x002B: { n:"SHEETJS" }, -0x002D: { n:"GRAPH" }, -0x002E: { n:"NGRAPH" }, -0x002F: { n:"CALCCOUNT" }, -0x0030: { n:"UNFORMATTED" }, -0x0031: { n:"CURSORW12" }, -0x0032: { n:"WINDOW" }, -0x0033: { n:"STRING", f:parse_STRING }, -0x0037: { n:"PASSWORD" }, -0x0038: { n:"LOCKED" }, -0x003C: { n:"QUERY" }, -0x003D: { n:"QUERYNAME" }, -0x003E: { n:"PRINT" }, -0x003F: { n:"PRINTNAME" }, -0x0040: { n:"GRAPH2" }, -0x0041: { n:"GRAPHNAME" }, -0x0042: { n:"ZOOM" }, -0x0043: { n:"SYMSPLIT" }, -0x0044: { n:"NSROWS" }, -0x0045: { n:"NSCOLS" }, -0x0046: { n:"RULER" }, -0x0047: { n:"NNAME" }, -0x0048: { n:"ACOMM" }, -0x0049: { n:"AMACRO" }, -0x004A: { n:"PARSE" }, + 0x0000: { n:"BOF", f:parseuint16 }, + 0x0001: { n:"EOF" }, + 0x0002: { n:"CALCMODE" }, + 0x0003: { n:"CALCORDER" }, + 0x0004: { n:"SPLIT" }, + 0x0005: { n:"SYNC" }, + 0x0006: { n:"RANGE", f:parse_RANGE }, + 0x0007: { n:"WINDOW1" }, + 0x0008: { n:"COLW1" }, + 0x0009: { n:"WINTWO" }, + 0x000A: { n:"COLW2" }, + 0x000B: { n:"NAME" }, + 0x000C: { n:"BLANK" }, + 0x000D: { n:"INTEGER", f:parse_INTEGER }, + 0x000E: { n:"NUMBER", f:parse_NUMBER }, + 0x000F: { n:"LABEL", f:parse_LABEL }, + 0x0010: { n:"FORMULA", f:parse_FORMULA }, + 0x0018: { n:"TABLE" }, + 0x0019: { n:"ORANGE" }, + 0x001A: { n:"PRANGE" }, + 0x001B: { n:"SRANGE" }, + 0x001C: { n:"FRANGE" }, + 0x001D: { n:"KRANGE1" }, + 0x0020: { n:"HRANGE" }, + 0x0023: { n:"KRANGE2" }, + 0x0024: { n:"PROTEC" }, + 0x0025: { n:"FOOTER" }, + 0x0026: { n:"HEADER" }, + 0x0027: { n:"SETUP" }, + 0x0028: { n:"MARGINS" }, + 0x0029: { n:"LABELFMT" }, + 0x002A: { n:"TITLES" }, + 0x002B: { n:"SHEETJS" }, + 0x002D: { n:"GRAPH" }, + 0x002E: { n:"NGRAPH" }, + 0x002F: { n:"CALCCOUNT" }, + 0x0030: { n:"UNFORMATTED" }, + 0x0031: { n:"CURSORW12" }, + 0x0032: { n:"WINDOW" }, + 0x0033: { n:"STRING", f:parse_STRING }, + 0x0037: { n:"PASSWORD" }, + 0x0038: { n:"LOCKED" }, + 0x003C: { n:"QUERY" }, + 0x003D: { n:"QUERYNAME" }, + 0x003E: { n:"PRINT" }, + 0x003F: { n:"PRINTNAME" }, + 0x0040: { n:"GRAPH2" }, + 0x0041: { n:"GRAPHNAME" }, + 0x0042: { n:"ZOOM" }, + 0x0043: { n:"SYMSPLIT" }, + 0x0044: { n:"NSROWS" }, + 0x0045: { n:"NSCOLS" }, + 0x0046: { n:"RULER" }, + 0x0047: { n:"NNAME" }, + 0x0048: { n:"ACOMM" }, + 0x0049: { n:"AMACRO" }, + 0x004A: { n:"PARSE" }, // 0x0064 -0x0066: { n:"PRANGES??" }, -0x0067: { n:"RRANGES??" }, -0x0068: { n:"FNAME??" }, -0x0069: { n:"MRANGES??" }, + 0x0066: { n:"PRANGES??" }, + 0x0067: { n:"RRANGES??" }, + 0x0068: { n:"FNAME??" }, + 0x0069: { n:"MRANGES??" }, // 0x0096 // 0x0099 // 0x009A @@ -9705,160 +9843,160 @@ var WK_ = (function() { // 0x00C0 // 0x00C7 // 0x00C9 -0x00CC: { n:"SHEETNAMECS", f:parse_SHEETNAMECS }, + 0x00CC: { n:"SHEETNAMECS", f:parse_SHEETNAMECS }, // 0x00CD -0x00DE: { n:"SHEETNAMELP", f:parse_SHEETNAMELP }, -0x00FF: { n:"BOF", f:parseuint16 }, -0x5402: { n:"WKSNF", f:parseuint16 }, -0xFFFF: { n:"" } + 0x00DE: { n:"SHEETNAMELP", f:parse_SHEETNAMELP }, + 0x00FF: { n:"BOF", f:parseuint16 }, + 0x5402: { n:"WKSNF", f:parseuint16 }, + 0xFFFF: { n:"" } }; var WK3Enum = { -0x0000: { n:"BOF" }, -0x0001: { n:"EOF" }, -0x0002: { n:"PASSWORD" }, -0x0003: { n:"CALCSET" }, -0x0004: { n:"WINDOWSET" }, -0x0005: { n:"SHEETCELLPTR" }, -0x0006: { n:"SHEETLAYOUT" }, -0x0007: { n:"COLUMNWIDTH" }, -0x0008: { n:"HIDDENCOLUMN" }, -0x0009: { n:"USERRANGE" }, -0x000A: { n:"SYSTEMRANGE" }, -0x000B: { n:"ZEROFORCE" }, -0x000C: { n:"SORTKEYDIR" }, -0x000D: { n:"FILESEAL" }, -0x000E: { n:"DATAFILLNUMS" }, -0x000F: { n:"PRINTMAIN" }, -0x0010: { n:"PRINTSTRING" }, -0x0011: { n:"GRAPHMAIN" }, -0x0012: { n:"GRAPHSTRING" }, -0x0013: { n:"??" }, -0x0014: { n:"ERRCELL" }, -0x0015: { n:"NACELL" }, -0x0016: { n:"LABEL16", f:parse_LABEL_16}, -0x0017: { n:"NUMBER17", f:parse_NUMBER_17 }, -0x0018: { n:"NUMBER18", f:parse_NUMBER_18 }, -0x0019: { n:"FORMULA19", f:parse_FORMULA_19}, -0x001A: { n:"FORMULA1A" }, -0x001B: { n:"XFORMAT", f:parse_XFORMAT }, -0x001C: { n:"DTLABELMISC" }, -0x001D: { n:"DTLABELCELL" }, -0x001E: { n:"GRAPHWINDOW" }, -0x001F: { n:"CPA" }, -0x0020: { n:"LPLAUTO" }, -0x0021: { n:"QUERY" }, -0x0022: { n:"HIDDENSHEET" }, -0x0023: { n:"??" }, -0x0025: { n:"NUMBER25", f:parse_NUMBER_25 }, -0x0026: { n:"??" }, -0x0027: { n:"NUMBER27", f:parse_NUMBER_27 }, -0x0028: { n:"FORMULA28", f:parse_FORMULA_28 }, -0x008E: { n:"??" }, -0x0093: { n:"??" }, -0x0096: { n:"??" }, -0x0097: { n:"??" }, -0x0098: { n:"??" }, -0x0099: { n:"??" }, -0x009A: { n:"??" }, -0x009B: { n:"??" }, -0x009C: { n:"??" }, -0x00A3: { n:"??" }, -0x00AE: { n:"??" }, -0x00AF: { n:"??" }, -0x00B0: { n:"??" }, -0x00B1: { n:"??" }, -0x00B8: { n:"??" }, -0x00B9: { n:"??" }, -0x00BA: { n:"??" }, -0x00BB: { n:"??" }, -0x00BC: { n:"??" }, -0x00C3: { n:"??" }, -0x00C9: { n:"??" }, -0x00CC: { n:"SHEETNAMECS", f:parse_SHEETNAMECS }, -0x00CD: { n:"??" }, -0x00CE: { n:"??" }, -0x00CF: { n:"??" }, -0x00D0: { n:"??" }, -0x0100: { n:"??" }, -0x0103: { n:"??" }, -0x0104: { n:"??" }, -0x0105: { n:"??" }, -0x0106: { n:"??" }, -0x0107: { n:"??" }, -0x0109: { n:"??" }, -0x010A: { n:"??" }, -0x010B: { n:"??" }, -0x010C: { n:"??" }, -0x010E: { n:"??" }, -0x010F: { n:"??" }, -0x0180: { n:"??" }, -0x0185: { n:"??" }, -0x0186: { n:"??" }, -0x0189: { n:"??" }, -0x018C: { n:"??" }, -0x0200: { n:"??" }, -0x0202: { n:"??" }, -0x0201: { n:"??" }, -0x0204: { n:"??" }, -0x0205: { n:"??" }, -0x0280: { n:"??" }, -0x0281: { n:"??" }, -0x0282: { n:"??" }, -0x0283: { n:"??" }, -0x0284: { n:"??" }, -0x0285: { n:"??" }, -0x0286: { n:"??" }, -0x0287: { n:"??" }, -0x0288: { n:"??" }, -0x0292: { n:"??" }, -0x0293: { n:"??" }, -0x0294: { n:"??" }, -0x0295: { n:"??" }, -0x0296: { n:"??" }, -0x0299: { n:"??" }, -0x029A: { n:"??" }, -0x0300: { n:"??" }, -0x0304: { n:"??" }, -0x0601: { n:"SHEETINFOQP", f:parse_SHEETINFOQP }, -0x0640: { n:"??" }, -0x0642: { n:"??" }, -0x0701: { n:"??" }, -0x0702: { n:"??" }, -0x0703: { n:"??" }, -0x0704: { n:"??" }, -0x0780: { n:"??" }, -0x0800: { n:"??" }, -0x0801: { n:"??" }, -0x0804: { n:"??" }, -0x0A80: { n:"??" }, -0x2AF6: { n:"??" }, -0x3231: { n:"??" }, -0x6E49: { n:"??" }, -0x6F44: { n:"??" }, -0xFFFF: { n:"" } + 0x0000: { n:"BOF" }, + 0x0001: { n:"EOF" }, + 0x0002: { n:"PASSWORD" }, + 0x0003: { n:"CALCSET" }, + 0x0004: { n:"WINDOWSET" }, + 0x0005: { n:"SHEETCELLPTR" }, + 0x0006: { n:"SHEETLAYOUT" }, + 0x0007: { n:"COLUMNWIDTH" }, + 0x0008: { n:"HIDDENCOLUMN" }, + 0x0009: { n:"USERRANGE" }, + 0x000A: { n:"SYSTEMRANGE" }, + 0x000B: { n:"ZEROFORCE" }, + 0x000C: { n:"SORTKEYDIR" }, + 0x000D: { n:"FILESEAL" }, + 0x000E: { n:"DATAFILLNUMS" }, + 0x000F: { n:"PRINTMAIN" }, + 0x0010: { n:"PRINTSTRING" }, + 0x0011: { n:"GRAPHMAIN" }, + 0x0012: { n:"GRAPHSTRING" }, + 0x0013: { n:"??" }, + 0x0014: { n:"ERRCELL" }, + 0x0015: { n:"NACELL" }, + 0x0016: { n:"LABEL16", f:parse_LABEL_16}, + 0x0017: { n:"NUMBER17", f:parse_NUMBER_17 }, + 0x0018: { n:"NUMBER18", f:parse_NUMBER_18 }, + 0x0019: { n:"FORMULA19", f:parse_FORMULA_19}, + 0x001A: { n:"FORMULA1A" }, + 0x001B: { n:"XFORMAT", f:parse_XFORMAT }, + 0x001C: { n:"DTLABELMISC" }, + 0x001D: { n:"DTLABELCELL" }, + 0x001E: { n:"GRAPHWINDOW" }, + 0x001F: { n:"CPA" }, + 0x0020: { n:"LPLAUTO" }, + 0x0021: { n:"QUERY" }, + 0x0022: { n:"HIDDENSHEET" }, + 0x0023: { n:"??" }, + 0x0025: { n:"NUMBER25", f:parse_NUMBER_25 }, + 0x0026: { n:"??" }, + 0x0027: { n:"NUMBER27", f:parse_NUMBER_27 }, + 0x0028: { n:"FORMULA28", f:parse_FORMULA_28 }, + 0x008E: { n:"??" }, + 0x0093: { n:"??" }, + 0x0096: { n:"??" }, + 0x0097: { n:"??" }, + 0x0098: { n:"??" }, + 0x0099: { n:"??" }, + 0x009A: { n:"??" }, + 0x009B: { n:"??" }, + 0x009C: { n:"??" }, + 0x00A3: { n:"??" }, + 0x00AE: { n:"??" }, + 0x00AF: { n:"??" }, + 0x00B0: { n:"??" }, + 0x00B1: { n:"??" }, + 0x00B8: { n:"??" }, + 0x00B9: { n:"??" }, + 0x00BA: { n:"??" }, + 0x00BB: { n:"??" }, + 0x00BC: { n:"??" }, + 0x00C3: { n:"??" }, + 0x00C9: { n:"??" }, + 0x00CC: { n:"SHEETNAMECS", f:parse_SHEETNAMECS }, + 0x00CD: { n:"??" }, + 0x00CE: { n:"??" }, + 0x00CF: { n:"??" }, + 0x00D0: { n:"??" }, + 0x0100: { n:"??" }, + 0x0103: { n:"??" }, + 0x0104: { n:"??" }, + 0x0105: { n:"??" }, + 0x0106: { n:"??" }, + 0x0107: { n:"??" }, + 0x0109: { n:"??" }, + 0x010A: { n:"??" }, + 0x010B: { n:"??" }, + 0x010C: { n:"??" }, + 0x010E: { n:"??" }, + 0x010F: { n:"??" }, + 0x0180: { n:"??" }, + 0x0185: { n:"??" }, + 0x0186: { n:"??" }, + 0x0189: { n:"??" }, + 0x018C: { n:"??" }, + 0x0200: { n:"??" }, + 0x0202: { n:"??" }, + 0x0201: { n:"??" }, + 0x0204: { n:"??" }, + 0x0205: { n:"??" }, + 0x0280: { n:"??" }, + 0x0281: { n:"??" }, + 0x0282: { n:"??" }, + 0x0283: { n:"??" }, + 0x0284: { n:"??" }, + 0x0285: { n:"??" }, + 0x0286: { n:"??" }, + 0x0287: { n:"??" }, + 0x0288: { n:"??" }, + 0x0292: { n:"??" }, + 0x0293: { n:"??" }, + 0x0294: { n:"??" }, + 0x0295: { n:"??" }, + 0x0296: { n:"??" }, + 0x0299: { n:"??" }, + 0x029A: { n:"??" }, + 0x0300: { n:"??" }, + 0x0304: { n:"??" }, + 0x0601: { n:"SHEETINFOQP", f:parse_SHEETINFOQP }, + 0x0640: { n:"??" }, + 0x0642: { n:"??" }, + 0x0701: { n:"??" }, + 0x0702: { n:"??" }, + 0x0703: { n:"??" }, + 0x0704: { n:"??" }, + 0x0780: { n:"??" }, + 0x0800: { n:"??" }, + 0x0801: { n:"??" }, + 0x0804: { n:"??" }, + 0x0A80: { n:"??" }, + 0x2AF6: { n:"??" }, + 0x3231: { n:"??" }, + 0x6E49: { n:"??" }, + 0x6F44: { n:"??" }, + 0xFFFF: { n:"" } }; /* TODO: fill out and verify this table across QP versions */ var QPWNFTable = { -0x05: "dd-mmm-yy", -0x06: "dd-mmm", -0x07: "mmm-yy", -0x08: "mm/dd/yy", // Long Date Intl -0x0A: "hh:mm:ss AM/PM", -0x0B: "hh:mm AM/PM", -0x0E: "dd-mmm-yyyy", -0x0F: "mmm-yyyy", + 0x05: "dd-mmm-yy", + 0x06: "dd-mmm", + 0x07: "mmm-yy", + 0x08: "mm/dd/yy", // Long Date Intl + 0x0A: "hh:mm:ss AM/PM", + 0x0B: "hh:mm AM/PM", + 0x0E: "dd-mmm-yyyy", + 0x0F: "mmm-yyyy", /* It is suspected that the the low nybble specifies decimal places */ -0x0022: "0.00", -0x0032: "0.00;[Red]0.00", -0x0042: "0.00;\(0.00\)", -0x0052: "0.00;[Red]\(0.00\)", -0x00A2: '"$"#,##0.00;\\("$"#,##0.00\\)', -0x0120: '0%', -0x0130: '0E+00', -0x0140: '# ?/?' + 0x0022: "0.00", + 0x0032: "0.00;[Red]0.00", + 0x0042: "0.00;\(0.00\)", + 0x0052: "0.00;[Red]\(0.00\)", + 0x00A2: '"$"#,##0.00;\\("$"#,##0.00\\)', + 0x0120: '0%', + 0x0130: '0E+00', + 0x0140: '# ?/?' }; function parse_qpw_str(p) { @@ -10059,7 +10197,7 @@ function parse_rpr(rpr) { var pass = false; if(m) for(;i!=m.length; ++i) { var y = parsexmltag(m[i]); - switch(y[0].replace(/\w*:/g,"")) { + switch(y[0].replace(/<\w*:/g,"<")) { /* 18.8.12 condense CT_BooleanProperty */ /* ** not required . */ case ']*>([^<]*)<\/(?:\w+:)?t>/g, sirregex = /<(?:\w+:)?r\b[^>]*>/; -var sirphregex = /<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g; +var sitregex = /<(?:\w+:)?t\b[^<>]*>([^<]*)<\/(?:\w+:)?t>/g, sirregex = /<(?:\w+:)?r\b[^<>]*>/; function parse_si(x, opts) { var html = opts ? opts.cellHTML : true; var z = {}; @@ -10240,7 +10376,7 @@ function parse_si(x, opts) { /* 18.4.4 r CT_RElt (Rich Text Run) */ else if((/*y = */x.match(sirregex))) { z.r = utf8read(x); - z.t = unescapexml(utf8read((x.replace(sirphregex, '').match(sitregex)||[]).join("").replace(tagregex,"")), true); + z.t = unescapexml(utf8read((str_remove_xml_ns_g(x, "rPh").match(sitregex)||[]).join("").replace(tagregex,"")), true); if(html) z.h = rs_to_html(parse_rs(z.r)); } /* 18.4.3 phoneticPr CT_PhoneticPr (TODO: needed for Asian support) */ @@ -10249,21 +10385,20 @@ function parse_si(x, opts) { } /* 18.4 Shared String Table */ -var sstr0 = /<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/; var sstr1 = /<(?:\w+:)?(?:si|sstItem)>/g; var sstr2 = /<\/(?:\w+:)?(?:si|sstItem)>/; function parse_sst_xml(data, opts) { var s = ([]), ss = ""; if(!data) return s; /* 18.4.9 sst CT_Sst */ - var sst = data.match(sstr0); + var sst = str_match_xml_ns(data, "sst"); if(sst) { - ss = sst[2].replace(sstr1,"").split(sstr2); + ss = sst[1].replace(sstr1,"").split(sstr2); for(var i = 0; i != ss.length; ++i) { var o = parse_si(ss[i].trim(), opts); if(o != null) s[s.length] = o; } - sst = parsexmltag(sst[1]); s.Count = sst.count; s.Unique = sst.uniqueCount; + sst = parsexmltag(sst[0].slice(0, sst[0].indexOf(">"))); s.Count = sst.count; s.Unique = sst.uniqueCount; } return s; } @@ -10676,7 +10811,7 @@ function rtf_to_sheet_str(str, opts) { var dense = o.dense; if (dense) ws["!data"] = []; - var rows = str.match(/\\trowd[\s\S]*?\\row\b/g); + var rows = str_match_ng(str, "\\trowd", "\\row"); if (!rows) throw new Error("RTF missing table"); var range = { s: { c: 0, r: 0 }, e: { c: 0, r: rows.length - 1 } }; @@ -10883,7 +11018,7 @@ function parse_borders(t, styles, themes, opts) { styles.Borders = []; var border = {}; var pass = false; - (t[0].match(tagregex)||[]).forEach(function(x) { + (t.match(tagregex)||[]).forEach(function(x) { var y = parsexmltag(x); switch(strip_ns(y[0])) { case '': case '': break; @@ -10958,7 +11093,7 @@ function parse_fills(t, styles, themes, opts) { styles.Fills = []; var fill = {}; var pass = false; - (t[0].match(tagregex)||[]).forEach(function(x) { + (t.match(tagregex)||[]).forEach(function(x) { var y = parsexmltag(x); switch(strip_ns(y[0])) { case '': case '': break; @@ -11024,7 +11159,7 @@ function parse_fonts(t, styles, themes, opts) { styles.Fonts = []; var font = {}; var pass = false; - (t[0].match(tagregex)||[]).forEach(function(x) { + (t.match(tagregex)||[]).forEach(function(x) { var y = parsexmltag(x); switch(strip_ns(y[0])) { case '': case '': break; @@ -11144,7 +11279,7 @@ function parse_numFmts(t, styles, opts) { styles.NumberFmt = []; var k/*Array*/ = (keys(table_fmt)); for(var i=0; i < k.length; ++i) styles.NumberFmt[k[i]] = table_fmt[k[i]]; - var m = t[0].match(tagregex); + var m = t.match(tagregex); if(!m) return; for(i=0; i < m.length; ++i) { var y = parsexmltag(m[i]); @@ -11185,7 +11320,7 @@ function parse_cellXfs(t, styles, opts) { styles.CellXf = []; var xf; var pass = false; - (t[0].match(tagregex)||[]).forEach(function(x) { + (t.match(tagregex)||[]).forEach(function(x) { var y = parsexmltag(x), i = 0; switch(strip_ns(y[0])) { case '': case '': case '': break; @@ -11250,36 +11385,31 @@ function write_cellXfs(cellXfs) { /* 18.8 Styles CT_Stylesheet*/ var parse_sty_xml= (function make_pstyx() { -var numFmtRegex = /<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/; -var cellXfRegex = /<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/; -var fillsRegex = /<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/; -var fontsRegex = /<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/; -var bordersRegex = /<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/; return function parse_sty_xml(data, themes, opts) { var styles = {}; if(!data) return styles; - data = data.replace(//mg,"").replace(//gm,""); + data = remove_doctype(str_remove_ng(data, "")); /* 18.8.39 styleSheet CT_Stylesheet */ var t; /* 18.8.31 numFmts CT_NumFmts ? */ - if((t=data.match(numFmtRegex))) parse_numFmts(t, styles, opts); + if((t=str_match_xml_ns(data, "numFmts"))) parse_numFmts(t[0], styles, opts); /* 18.8.23 fonts CT_Fonts ? */ - if((t=data.match(fontsRegex))) parse_fonts(t, styles, themes, opts); + if((t=str_match_xml_ns(data, "fonts"))) parse_fonts(t[0], styles, themes, opts); /* 18.8.21 fills CT_Fills ? */ - if((t=data.match(fillsRegex))) parse_fills(t, styles, themes, opts); + if((t=str_match_xml_ns(data, "fills"))) parse_fills(t[0], styles, themes, opts); /* 18.8.5 borders CT_Borders ? */ - if((t=data.match(bordersRegex))) parse_borders(t, styles, themes, opts); + if((t=str_match_xml_ns(data, "borders"))) parse_borders(t[0], styles, themes, opts); /* 18.8.9 cellStyleXfs CT_CellStyleXfs ? */ /* 18.8.8 cellStyles CT_CellStyles ? */ /* 18.8.10 cellXfs CT_CellXfs ? */ - if((t=data.match(cellXfRegex))) parse_cellXfs(t, styles, opts); + if((t=str_match_xml_ns(data, "cellXfs"))) parse_cellXfs(t[0], styles, opts); /* 18.8.15 dxfs CT_Dxfs ? */ /* 18.8.42 tableStyles CT_TableStyles ? */ @@ -11719,10 +11849,12 @@ function parse_clrScheme(t, themes, opts) { /* 20.1.2.3.32 srgbClr CT_SRgbColor */ case '': break; /* 20.1.2.3.33 sysClr CT_SystemColor */ case '': break; /* 20.1.4.1.1 accent1 (Accent 1) */ /* 20.1.4.1.2 accent2 (Accent 2) */ @@ -11736,8 +11868,10 @@ function parse_clrScheme(t, themes, opts) { /* 20.1.4.1.19 hlink (Hyperlink) */ /* 20.1.4.1.22 lt1 (Light 1) */ /* 20.1.4.1.23 lt2 (Light 2) */ - case '': case '': - case '': case '': + case '
': + case '': + case '': + case '': case '': case '': case '': case '': case '': case '': @@ -11767,30 +11901,24 @@ function parse_fontScheme() { } /* 20.1.4.1.15 fmtScheme CT_StyleMatrix */ function parse_fmtScheme() { } -var clrsregex = /]*)>[\s\S]*<\/a:clrScheme>/; -var fntsregex = /]*)>[\s\S]*<\/a:fontScheme>/; -var fmtsregex = /]*)>[\s\S]*<\/a:fmtScheme>/; - /* 20.1.6.10 themeElements CT_BaseStyles */ function parse_themeElements(data, themes, opts) { themes.themeElements = {}; var t; - [ - /* clrScheme CT_ColorScheme */ - ['clrScheme', clrsregex, parse_clrScheme], - /* fontScheme CT_FontScheme */ - ['fontScheme', fntsregex, parse_fontScheme], - /* fmtScheme CT_StyleMatrix */ - ['fmtScheme', fmtsregex, parse_fmtScheme] - ].forEach(function(m) { - if(!(t=data.match(m[1]))) throw new Error(m[0] + ' not found in themeElements'); - m[2](t, themes, opts); - }); -} + /* clrScheme CT_ColorScheme */ + if(!(t=str_match_xml(data, "a:clrScheme"))) throw new Error('clrScheme not found in themeElements'); + parse_clrScheme(t, themes, opts); -var themeltregex = /]*)>[\s\S]*<\/a:themeElements>/; + /* fontScheme CT_FontScheme */ + if(!(t=str_match_xml(data, "a:fontScheme"))) throw new Error('fontScheme not found in themeElements'); + parse_fontScheme(t, themes, opts); + + /* fmtScheme CT_StyleMatrix */ + if(!(t=str_match_xml(data, "a:fmtScheme"))) throw new Error('fmtScheme not found in themeElements'); + parse_fmtScheme(t, themes, opts); +} /* 14.2.7 Theme Part */ function parse_theme_xml(data, opts) { @@ -11801,7 +11929,7 @@ function parse_theme_xml(data, opts) { var themes = {}; /* themeElements CT_BaseStyles */ - if(!(t=data.match(themeltregex))) throw new Error('themeElements not found in theme'); + if(!(t=str_match_xml(data, "a:themeElements"))) throw new Error('themeElements not found in theme'); parse_themeElements(t[0], themes, opts); themes.raw = data; return themes; @@ -12382,16 +12510,15 @@ function parse_drawing(data, rels) { the actual type is based on the URI of the graphicData TODO: handle embedded charts and other types of graphics */ - var id = (data.match(/]*r:id="([^"]*)"/)||["",""])[1]; + var id = (data.match(/]*r:id="([^<>"]*)"/)||["",""])[1]; return rels['!id'][id].Target; } /* L.5.5.2 SpreadsheetML Comments + VML Schema */ -var shapevmlregex = /<(?:\w+:)?shape(?:[^\w][^>]*)?>([\s\S]*?)<\/(?:\w+:)?shape>/g; function parse_vml(data, sheet, comments) { var cidx = 0; - (data.match(shapevmlregex)||[]).forEach(function(m) { + (str_match_xml_ns_g(data, "shape")||[]).forEach(function(m) { var type = ""; var hidden = true; var aidx = -1; @@ -12526,22 +12653,22 @@ function parse_comments_xml(data, opts) { if(data.match(/<(?:\w+:)?comments *\/>/)) return []; var authors = []; var commentList = []; - var authtag = data.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/); + var authtag = str_match_xml_ns(data, "authors"); if(authtag && authtag[1]) authtag[1].split(/<\/\w*:?author>/).forEach(function(x) { if(x === "" || x.trim() === "") return; - var a = x.match(/<(?:\w+:)?author[^>]*>(.*)/); + var a = x.match(/<(?:\w+:)?author[^<>]*>(.*)/); if(a) authors.push(a[1]); }); - var cmnttag = data.match(/<(?:\w+:)?commentList>([\s\S]*)<\/(?:\w+:)?commentList>/); + var cmnttag = str_match_xml_ns(data, "commentList"); if(cmnttag && cmnttag[1]) cmnttag[1].split(/<\/\w*:?comment>/).forEach(function(x) { if(x === "" || x.trim() === "") return; - var cm = x.match(/<(?:\w+:)?comment[^>]*>/); + var cm = x.match(/<(?:\w+:)?comment[^<>]*>/); if(!cm) return; var y = parsexmltag(cm[0]); var comment = ({ author: y.authorId && authors[y.authorId] || "sheetjsghost", ref: y.ref, guid: y.guid }); var cell = decode_cell(y.ref); if(opts.sheetRows && opts.sheetRows <= cell.r) return; - var textMatch = x.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/); + var textMatch = str_match_xml_ns(x, "text"); var rt = !!textMatch && !!textMatch[1] && parse_si(textMatch[1]) || {r:"",t:"",h:""}; comment.r = rt.r; if(rt.r == "") rt.t = rt.h = ""; @@ -12825,7 +12952,7 @@ function fill_vba_xls(cfb, vba) { vba.FullPaths.forEach(function(p, i) { if (i == 0) return; - var newpath = p.replace(/[^\/]*[\/]/, "/_VBA_PROJECT_CUR/"); + var newpath = p.replace(/^[\/]*[^\/]*[\/]/, "/_VBA_PROJECT_CUR/"); if (newpath.slice(-1) !== "/") CFB.utils.cfb_add(cfb, newpath, vba.FileIndex[i].content); }); @@ -13396,112 +13523,112 @@ function parse_PtgAttrNoop(blob) { /* [MS-XLS] 2.5.198.25 ; [MS-XLSB] 2.5.97.16 */ var PtgTypes = { -0x01: { n:'PtgExp', f:parse_PtgExp }, -0x02: { n:'PtgTbl', f:parse_PtgTbl }, -0x03: { n:'PtgAdd', f:parseread1 }, -0x04: { n:'PtgSub', f:parseread1 }, -0x05: { n:'PtgMul', f:parseread1 }, -0x06: { n:'PtgDiv', f:parseread1 }, -0x07: { n:'PtgPower', f:parseread1 }, -0x08: { n:'PtgConcat', f:parseread1 }, -0x09: { n:'PtgLt', f:parseread1 }, -0x0A: { n:'PtgLe', f:parseread1 }, -0x0B: { n:'PtgEq', f:parseread1 }, -0x0C: { n:'PtgGe', f:parseread1 }, -0x0D: { n:'PtgGt', f:parseread1 }, -0x0E: { n:'PtgNe', f:parseread1 }, -0x0F: { n:'PtgIsect', f:parseread1 }, -0x10: { n:'PtgUnion', f:parseread1 }, -0x11: { n:'PtgRange', f:parseread1 }, -0x12: { n:'PtgUplus', f:parseread1 }, -0x13: { n:'PtgUminus', f:parseread1 }, -0x14: { n:'PtgPercent', f:parseread1 }, -0x15: { n:'PtgParen', f:parseread1 }, -0x16: { n:'PtgMissArg', f:parseread1 }, -0x17: { n:'PtgStr', f:parse_PtgStr }, -0x1A: { n:'PtgSheet', f:parse_PtgSheet }, -0x1B: { n:'PtgEndSheet', f:parse_PtgEndSheet }, -0x1C: { n:'PtgErr', f:parse_PtgErr }, -0x1D: { n:'PtgBool', f:parse_PtgBool }, -0x1E: { n:'PtgInt', f:parse_PtgInt }, -0x1F: { n:'PtgNum', f:parse_PtgNum }, -0x20: { n:'PtgArray', f:parse_PtgArray }, -0x21: { n:'PtgFunc', f:parse_PtgFunc }, -0x22: { n:'PtgFuncVar', f:parse_PtgFuncVar }, -0x23: { n:'PtgName', f:parse_PtgName }, -0x24: { n:'PtgRef', f:parse_PtgRef }, -0x25: { n:'PtgArea', f:parse_PtgArea }, -0x26: { n:'PtgMemArea', f:parse_PtgMemArea }, -0x27: { n:'PtgMemErr', f:parse_PtgMemErr }, -0x28: { n:'PtgMemNoMem', f:parse_PtgMemNoMem }, -0x29: { n:'PtgMemFunc', f:parse_PtgMemFunc }, -0x2A: { n:'PtgRefErr', f:parse_PtgRefErr }, -0x2B: { n:'PtgAreaErr', f:parse_PtgAreaErr }, -0x2C: { n:'PtgRefN', f:parse_PtgRefN }, -0x2D: { n:'PtgAreaN', f:parse_PtgAreaN }, -0x2E: { n:'PtgMemAreaN', f:parse_PtgMemAreaN }, -0x2F: { n:'PtgMemNoMemN', f:parse_PtgMemNoMemN }, -0x39: { n:'PtgNameX', f:parse_PtgNameX }, -0x3A: { n:'PtgRef3d', f:parse_PtgRef3d }, -0x3B: { n:'PtgArea3d', f:parse_PtgArea3d }, -0x3C: { n:'PtgRefErr3d', f:parse_PtgRefErr3d }, -0x3D: { n:'PtgAreaErr3d', f:parse_PtgAreaErr3d }, -0xFF: {} + 0x01: { n:'PtgExp', f:parse_PtgExp }, + 0x02: { n:'PtgTbl', f:parse_PtgTbl }, + 0x03: { n:'PtgAdd', f:parseread1 }, + 0x04: { n:'PtgSub', f:parseread1 }, + 0x05: { n:'PtgMul', f:parseread1 }, + 0x06: { n:'PtgDiv', f:parseread1 }, + 0x07: { n:'PtgPower', f:parseread1 }, + 0x08: { n:'PtgConcat', f:parseread1 }, + 0x09: { n:'PtgLt', f:parseread1 }, + 0x0A: { n:'PtgLe', f:parseread1 }, + 0x0B: { n:'PtgEq', f:parseread1 }, + 0x0C: { n:'PtgGe', f:parseread1 }, + 0x0D: { n:'PtgGt', f:parseread1 }, + 0x0E: { n:'PtgNe', f:parseread1 }, + 0x0F: { n:'PtgIsect', f:parseread1 }, + 0x10: { n:'PtgUnion', f:parseread1 }, + 0x11: { n:'PtgRange', f:parseread1 }, + 0x12: { n:'PtgUplus', f:parseread1 }, + 0x13: { n:'PtgUminus', f:parseread1 }, + 0x14: { n:'PtgPercent', f:parseread1 }, + 0x15: { n:'PtgParen', f:parseread1 }, + 0x16: { n:'PtgMissArg', f:parseread1 }, + 0x17: { n:'PtgStr', f:parse_PtgStr }, + 0x1A: { n:'PtgSheet', f:parse_PtgSheet }, + 0x1B: { n:'PtgEndSheet', f:parse_PtgEndSheet }, + 0x1C: { n:'PtgErr', f:parse_PtgErr }, + 0x1D: { n:'PtgBool', f:parse_PtgBool }, + 0x1E: { n:'PtgInt', f:parse_PtgInt }, + 0x1F: { n:'PtgNum', f:parse_PtgNum }, + 0x20: { n:'PtgArray', f:parse_PtgArray }, + 0x21: { n:'PtgFunc', f:parse_PtgFunc }, + 0x22: { n:'PtgFuncVar', f:parse_PtgFuncVar }, + 0x23: { n:'PtgName', f:parse_PtgName }, + 0x24: { n:'PtgRef', f:parse_PtgRef }, + 0x25: { n:'PtgArea', f:parse_PtgArea }, + 0x26: { n:'PtgMemArea', f:parse_PtgMemArea }, + 0x27: { n:'PtgMemErr', f:parse_PtgMemErr }, + 0x28: { n:'PtgMemNoMem', f:parse_PtgMemNoMem }, + 0x29: { n:'PtgMemFunc', f:parse_PtgMemFunc }, + 0x2A: { n:'PtgRefErr', f:parse_PtgRefErr }, + 0x2B: { n:'PtgAreaErr', f:parse_PtgAreaErr }, + 0x2C: { n:'PtgRefN', f:parse_PtgRefN }, + 0x2D: { n:'PtgAreaN', f:parse_PtgAreaN }, + 0x2E: { n:'PtgMemAreaN', f:parse_PtgMemAreaN }, + 0x2F: { n:'PtgMemNoMemN', f:parse_PtgMemNoMemN }, + 0x39: { n:'PtgNameX', f:parse_PtgNameX }, + 0x3A: { n:'PtgRef3d', f:parse_PtgRef3d }, + 0x3B: { n:'PtgArea3d', f:parse_PtgArea3d }, + 0x3C: { n:'PtgRefErr3d', f:parse_PtgRefErr3d }, + 0x3D: { n:'PtgAreaErr3d', f:parse_PtgAreaErr3d }, + 0xFF: {} }; /* These are duplicated in the PtgTypes table */ var PtgDupes = { -0x40: 0x20, 0x60: 0x20, -0x41: 0x21, 0x61: 0x21, -0x42: 0x22, 0x62: 0x22, -0x43: 0x23, 0x63: 0x23, -0x44: 0x24, 0x64: 0x24, -0x45: 0x25, 0x65: 0x25, -0x46: 0x26, 0x66: 0x26, -0x47: 0x27, 0x67: 0x27, -0x48: 0x28, 0x68: 0x28, -0x49: 0x29, 0x69: 0x29, -0x4A: 0x2A, 0x6A: 0x2A, -0x4B: 0x2B, 0x6B: 0x2B, -0x4C: 0x2C, 0x6C: 0x2C, -0x4D: 0x2D, 0x6D: 0x2D, -0x4E: 0x2E, 0x6E: 0x2E, -0x4F: 0x2F, 0x6F: 0x2F, -0x58: 0x22, 0x78: 0x22, -0x59: 0x39, 0x79: 0x39, -0x5A: 0x3A, 0x7A: 0x3A, -0x5B: 0x3B, 0x7B: 0x3B, -0x5C: 0x3C, 0x7C: 0x3C, -0x5D: 0x3D, 0x7D: 0x3D + 0x40: 0x20, 0x60: 0x20, + 0x41: 0x21, 0x61: 0x21, + 0x42: 0x22, 0x62: 0x22, + 0x43: 0x23, 0x63: 0x23, + 0x44: 0x24, 0x64: 0x24, + 0x45: 0x25, 0x65: 0x25, + 0x46: 0x26, 0x66: 0x26, + 0x47: 0x27, 0x67: 0x27, + 0x48: 0x28, 0x68: 0x28, + 0x49: 0x29, 0x69: 0x29, + 0x4A: 0x2A, 0x6A: 0x2A, + 0x4B: 0x2B, 0x6B: 0x2B, + 0x4C: 0x2C, 0x6C: 0x2C, + 0x4D: 0x2D, 0x6D: 0x2D, + 0x4E: 0x2E, 0x6E: 0x2E, + 0x4F: 0x2F, 0x6F: 0x2F, + 0x58: 0x22, 0x78: 0x22, + 0x59: 0x39, 0x79: 0x39, + 0x5A: 0x3A, 0x7A: 0x3A, + 0x5B: 0x3B, 0x7B: 0x3B, + 0x5C: 0x3C, 0x7C: 0x3C, + 0x5D: 0x3D, 0x7D: 0x3D }; var Ptg18 = { -0x01: { n:'PtgElfLel', f:parse_PtgElfLel }, -0x02: { n:'PtgElfRw', f:parse_PtgElfRw }, -0x03: { n:'PtgElfCol', f:parse_PtgElfCol }, -0x06: { n:'PtgElfRwV', f:parse_PtgElfRwV }, -0x07: { n:'PtgElfColV', f:parse_PtgElfColV }, -0x0A: { n:'PtgElfRadical', f:parse_PtgElfRadical }, -0x0B: { n:'PtgElfRadicalS', f:parse_PtgElfRadicalS }, -0x0D: { n:'PtgElfColS', f:parse_PtgElfColS }, -0x0F: { n:'PtgElfColSV', f:parse_PtgElfColSV }, -0x10: { n:'PtgElfRadicalLel', f:parse_PtgElfRadicalLel }, -0x19: { n:'PtgList', f:parse_PtgList }, -0x1D: { n:'PtgSxName', f:parse_PtgSxName }, -0xFF: {} + 0x01: { n:'PtgElfLel', f:parse_PtgElfLel }, + 0x02: { n:'PtgElfRw', f:parse_PtgElfRw }, + 0x03: { n:'PtgElfCol', f:parse_PtgElfCol }, + 0x06: { n:'PtgElfRwV', f:parse_PtgElfRwV }, + 0x07: { n:'PtgElfColV', f:parse_PtgElfColV }, + 0x0A: { n:'PtgElfRadical', f:parse_PtgElfRadical }, + 0x0B: { n:'PtgElfRadicalS', f:parse_PtgElfRadicalS }, + 0x0D: { n:'PtgElfColS', f:parse_PtgElfColS }, + 0x0F: { n:'PtgElfColSV', f:parse_PtgElfColSV }, + 0x10: { n:'PtgElfRadicalLel', f:parse_PtgElfRadicalLel }, + 0x19: { n:'PtgList', f:parse_PtgList }, + 0x1D: { n:'PtgSxName', f:parse_PtgSxName }, + 0xFF: {} }; var Ptg19 = { -0x00: { n:'PtgAttrNoop', f:parse_PtgAttrNoop }, -0x01: { n:'PtgAttrSemi', f:parse_PtgAttrSemi }, -0x02: { n:'PtgAttrIf', f:parse_PtgAttrIf }, -0x04: { n:'PtgAttrChoose', f:parse_PtgAttrChoose }, -0x08: { n:'PtgAttrGoto', f:parse_PtgAttrGoto }, -0x10: { n:'PtgAttrSum', f:parse_PtgAttrSum }, -0x20: { n:'PtgAttrBaxcel', f:parse_PtgAttrBaxcel }, -0x21: { n:'PtgAttrBaxcel', f:parse_PtgAttrBaxcel }, -0x40: { n:'PtgAttrSpace', f:parse_PtgAttrSpace }, -0x41: { n:'PtgAttrSpaceSemi', f:parse_PtgAttrSpaceSemi }, -0x80: { n:'PtgAttrIfError', f:parse_PtgAttrIfError }, -0xFF: {} + 0x00: { n:'PtgAttrNoop', f:parse_PtgAttrNoop }, + 0x01: { n:'PtgAttrSemi', f:parse_PtgAttrSemi }, + 0x02: { n:'PtgAttrIf', f:parse_PtgAttrIf }, + 0x04: { n:'PtgAttrChoose', f:parse_PtgAttrChoose }, + 0x08: { n:'PtgAttrGoto', f:parse_PtgAttrGoto }, + 0x10: { n:'PtgAttrSum', f:parse_PtgAttrSum }, + 0x20: { n:'PtgAttrBaxcel', f:parse_PtgAttrBaxcel }, + 0x21: { n:'PtgAttrBaxcel', f:parse_PtgAttrBaxcel }, + 0x40: { n:'PtgAttrSpace', f:parse_PtgAttrSpace }, + 0x41: { n:'PtgAttrSpaceSemi', f:parse_PtgAttrSpaceSemi }, + 0x80: { n:'PtgAttrIfError', f:parse_PtgAttrIfError }, + 0xFF: {} }; /* [MS-XLS] 2.5.198.103 ; [MS-XLSB] 2.5.97.87 */ @@ -15577,16 +15704,13 @@ function parse_ws_xml_dim(ws, s) { var d = safe_decode_range(s); if(d.s.r<=d.e.r && d.s.c<=d.e.c && d.s.r>=0 && d.s.c>=0) ws["!ref"] = encode_range(d); } -var mergecregex = /<(?:\w:)?mergeCell ref=["'][A-Z0-9:]+['"]\s*[\/]?>/g; -var sheetdataregex = /<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/; -var hlinkregex = /<(?:\w:)?hyperlink [^>]*>/mg; +var mergecregex = /<(?:\w+:)?mergeCell ref=["'][A-Z0-9:]+['"]\s*[\/]?>/g; +var hlinkregex = /<(?:\w+:)?hyperlink [^<>]*>/mg; var dimregex = /"(\w*:\w*)"/; -var colregex = /<(?:\w:)?col\b[^>]*[\/]?>/g; -var afregex = /<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g; -var marginregex= /<(?:\w:)?pageMargins[^>]*\/>/g; -var sheetprregex = /<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/; -var sheetprregex2= /<(?:\w:)?sheetPr[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetPr)>/; -var svsregex = /<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/; +var colregex = /<(?:\w+:)?col\b[^<>]*[\/]?>/g; +var afregex = /<(?:\w+:)?autoFilter[^>]*/g; +var marginregex= /<(?:\w+:)?pageMargins[^<>]*\/>/g; +var sheetprregex = /<(?:\w+:)?sheetPr\b[^<>]*?\/>/; /* 18.3 Worksheets */ function parse_ws_xml(data, opts, idx, rels, wb, themes, styles) { @@ -15599,7 +15723,7 @@ function parse_ws_xml(data, opts, idx, rels, wb, themes, styles) { var refguess = ({s: {r:2000000, c:2000000}, e: {r:0, c:0} }); var data1 = "", data2 = ""; - var mtch = data.match(sheetdataregex); + var mtch = str_match_xml_ns(data, "sheetData"); if(mtch) { data1 = data.slice(0, mtch.index); data2 = data.slice(mtch.index + mtch[0].length); @@ -15608,7 +15732,7 @@ function parse_ws_xml(data, opts, idx, rels, wb, themes, styles) { /* 18.3.1.82 sheetPr CT_SheetPr */ var sheetPr = data1.match(sheetprregex); if(sheetPr) parse_ws_xml_sheetpr(sheetPr[0], s, wb, idx); - else if((sheetPr = data1.match(sheetprregex2))) parse_ws_xml_sheetpr2(sheetPr[0], sheetPr[1]||"", s, wb, idx, styles, themes); + else if((sheetPr = str_match_xml_ns(data1, "sheetPr"))) parse_ws_xml_sheetpr2(sheetPr[0], sheetPr[1]||"", s, wb, idx, styles, themes); /* 18.3.1.35 dimension CT_SheetDimension */ var ridx = (data1.match(/<(?:\w*:)?dimension/)||{index:-1}).index; @@ -15618,7 +15742,7 @@ function parse_ws_xml(data, opts, idx, rels, wb, themes, styles) { } /* 18.3.1.88 sheetViews CT_SheetViews */ - var svs = data1.match(svsregex); + var svs = str_match_xml_ns(data1, "sheetViews"); if(svs && svs[1]) parse_ws_xml_sheetviews(svs[1], wb); /* 18.3.1.17 cols CT_Cols */ @@ -15817,7 +15941,7 @@ function write_ws_xml_autofilter(data, ws, wb, idx) { /* 18.3.1.88 sheetViews CT_SheetViews */ /* 18.3.1.87 sheetView CT_SheetView */ -var sviewregex = /<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/?>/g; +var sviewregex = /<(?:\w:)?sheetView(?:[^<>a-z][^<>]*)?\/?>/g; function parse_ws_xml_sheetviews(data, wb) { if(!wb.Views) wb.Views = [{}]; (data.match(sviewregex)||[]).forEach(function(r, i) { @@ -15896,9 +16020,8 @@ function write_ws_xml_cell(cell, ref, ws, opts, idx, wb, date1904) { var parse_ws_xml_data = (function() { var cellregex = /<(?:\w+:)?c[ \/>]/, rowregex = /<\/(?:\w+:)?row>/; - var rregex = /r=["']([^"']*)["']/, isregex = /<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/; + var rregex = /r=["']([^"']*)["']/; var refregex = /ref=["']([^"']*)["']/; - var match_v = matchtag("v"), match_f = matchtag("f"); return function parse_ws_xml_data(sdata, s, opts, guess, themes, styles, wb) { var ri = 0, x = "", cells = [], cref = [], idx=0, i=0, cc=0, d="", p; @@ -15977,9 +16100,9 @@ return function parse_ws_xml_data(sdata, s, opts, guess, themes, styles, wb) { d = x.slice(i); p = ({t:""}); - if((cref=d.match(match_v))!= null && cref[1] !== '') p.v=unescapexml(cref[1]); + if((cref=str_match_xml_ns(d, "v"))!= null && cref[1] !== '') p.v=unescapexml(cref[1]); if(opts.cellFormula) { - if((cref=d.match(match_f))!= null ) { + if((cref=str_match_xml_ns(d, "f"))!= null ) { if(cref[1] == "") { if(cref[0].indexOf('t="shared"') > -1) { // TODO: parse formula @@ -16001,7 +16124,7 @@ return function parse_ws_xml_data(sdata, s, opts, guess, themes, styles, wb) { sharedf[parseInt(ftag.si, 10)] = [ftag, ___f, tag.r]; } } - } else if((cref=d.match(/]*\/>/))) { + } else if((cref=d.match(/]*\/>/))) { ftag = parsexmltag(cref[0]); if(sharedf[ftag.si]) p.f = shift_formula_xlsx(sharedf[ftag.si][1], sharedf[ftag.si][2]/*[0].ref*/, tag.r); } @@ -16047,7 +16170,7 @@ return function parse_ws_xml_data(sdata, s, opts, guess, themes, styles, wb) { if(opts.cellHTML) p.h = escapehtml(p.v); break; case 'inlineStr': - cref = d.match(isregex); + cref = str_match_xml_ns(d, "is"); p.t = 's'; if(cref != null && (sstr = parse_si(cref[1]))) { p.v = sstr.t; @@ -16212,7 +16335,7 @@ ws['!links'].forEach(function(l) { if(!l[1].Target) return; rel = ({"ref":l[0]}); if(l[1].Target.charAt(0) != "#") { - rId = add_rels(rels, -1, escapexml(l[1].Target).replace(/#.*$/, ""), RELS.HLINK); + rId = add_rels(rels, -1, escapexml(l[1].Target).replace(/#[\s\S]*$/, ""), RELS.HLINK); rel["r:id"] = "rId"+rId; } if((relc = l[1].Target.indexOf("#")) > -1) rel.location = escapexml(l[1].Target.slice(relc+1)); @@ -17187,7 +17310,7 @@ function write_HLINKS(ba, ws, rels) { /* *BrtHLink */ ws['!links'].forEach(function(l) { if(!l[1].Target) return; - var rId = add_rels(rels, -1, l[1].Target.replace(/#.*$/, ""), RELS.HLINK); + var rId = add_rels(rels, -1, l[1].Target.replace(/#[\s\S]*$/, ""), RELS.HLINK); write_record(ba, 0x01EE /* BrtHLink */, write_BrtHLink(l, rId)); }); delete ws['!links']; @@ -17314,16 +17437,16 @@ function parse_Cache(data) { var f; /* 21.2.2.150 pt CT_NumVal */ - (data.match(/(.*?)<\/c:pt>/mg)||[]).forEach(function(pt) { - var q = pt.match(/(.*)<\/c:v><\/c:pt>/); + (data.match(/\/]*>([^<])<\/c:v><\/c:pt>/mg)||[]).forEach(function(pt) { + var q = pt.match(/\/]*>([^<]*)<\/c:v><\/c:pt>/); if(!q) return; col[+q[1]] = num ? +q[2] : q[2]; }); /* 21.2.2.71 formatCode CT_Xstring */ - var nf = unescapexml((data.match(/([\s\S]*?)<\/c:formatCode>/) || ["","General"])[1]); + var nf = unescapexml((str_match_xml(data, "c:formatCode") || ["","General"])[1]); - (data.match(/(.*?)<\/c:f>/mg)||[]).forEach(function(F) { f = F.replace(/<.*?>/g,""); }); + (str_match_ng(data, "", "")||[]).forEach(function(F) { f = F.replace(/<[^<>]*>/g,""); }); return [col, nf, f]; } @@ -17338,7 +17461,7 @@ function parse_chart(data, name, opts, rels, wb, csheet) { var refguess = {s: {r:2000000, c:2000000}, e: {r:0, c:0} }; /* 21.2.2.120 numCache CT_NumData */ - (data.match(/[\s\S]*?<\/c:numCache>/gm)||[]).forEach(function(nc) { + (str_match_ng(data, "", "")||[]).forEach(function(nc) { var cache = parse_Cache(nc); refguess.s.r = refguess.s.c = 0; refguess.e.c = C; @@ -17932,8 +18055,14 @@ function parse_BrtName(data, length, opts) { data.l += 1; //var chKey = data.read_shift(1); var itab = data.read_shift(4); var name = parse_XLNameWideString(data); - var formula = parse_XLSBNameParsedFormula(data, 0, opts); - var comment = parse_XLNullableWideString(data); + var formula; + var comment = ""; + try { + formula = parse_XLSBNameParsedFormula(data, 0, opts); + try { + comment = parse_XLNullableWideString(data); + } catch(e){} + } catch(e) { console.error("Could not parse defined name " + name); } if(flags & 0x20) name = "_xlnm." + name; //if(0 /* fProc */) { // unusedstring1: XLNullableWideString @@ -18004,7 +18133,7 @@ function parse_wb_bin(data, opts) { case 0x0027: /* 'BrtName' */ if(val.Sheet != null) opts.SID = val.Sheet; - val.Ref = stringify_formula(val.Ptg, null, null, supbooks, opts); + val.Ref = val.Ptg ? stringify_formula(val.Ptg, null, null, supbooks, opts) : "#REF!"; delete opts.SID; delete val.Ptg; Names.push(val); @@ -18271,8 +18400,8 @@ function parse_xlmeta(data, name, opts) { if(name.slice(-4)===".bin") return parse_xlmeta_bin((data), name, opts); return parse_xlmeta_xml((data), name, opts); } -var attregexg2=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g; -var attregex2=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/; +var attregexg2=/\b((?:\w+:)?[\w]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g; +var attregex2=/\b((?:\w+:)?[\w]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/; function xlml_parsexmltag(tag, skip_root) { var words = tag.split(/\s+/); var z = ([]); if(!skip_root) z[0] = words[0]; @@ -18370,10 +18499,11 @@ function parse_xlml_data(xml, ss, data, cell, base, styles, csty, row, arrayf, o if(sid === undefined && row) sid = row.StyleID; if(sid === undefined && csty) sid = csty.StyleID; while(styles[sid] !== undefined) { - if(styles[sid].nf) nf = styles[sid].nf; - if(styles[sid].Interior) interiors.push(styles[sid].Interior); - if(!styles[sid].Parent) break; - sid = styles[sid].Parent; + var ssid = styles[sid]; + if(ssid.nf) nf = ssid.nf; + if(ssid.Interior) interiors.push(ssid.Interior); + if(!ssid.Parent) break; + sid = ssid.Parent; } switch(data.Type) { case 'Boolean': @@ -18382,7 +18512,7 @@ function parse_xlml_data(xml, ss, data, cell, base, styles, csty, row, arrayf, o break; case 'String': cell.t = 's'; cell.r = xlml_fixstr(unescapexml(xml)); - cell.v = (xml.indexOf("<") > -1 ? unescapexml(ss||xml).replace(/<.*?>/g, "") : cell.r); // todo: BR etc + cell.v = (xml.indexOf("<") > -1 ? unescapexml(ss||xml).replace(/<[^<>]*>/g, "") : cell.r); // todo: BR etc break; case 'DateTime': if(xml.slice(-1) != "Z") xml += "Z"; @@ -18492,7 +18622,7 @@ function parse_xlml_xml(d, _opts) { var rowinfo = [], rowobj = {}, cc = 0, rr = 0; var Workbook = ({ Sheets:[], WBProps:{date1904:false} }), wsprops = {}; xlmlregex.lastIndex = 0; - str = str.replace(//mg,""); + str = str_remove_ng(str, ""); var raw_Rn3 = ""; while((Rn = xlmlregex.exec(str))) switch((Rn[3] = (raw_Rn3 = Rn[3]).toLowerCase())) { case 'data' /*case 'Data'*/: @@ -19646,7 +19776,7 @@ function parse_workbook(blob, options) { if(icv < 64) return palette[icv-8] || XLSIcv[icv]; return XLSIcv[icv]; }; - var process_cell_style = function pcs(cell, line, options) { + var process_cell_style = function pcs(line, options) { var xfd = line.XF.data; if(!xfd || !xfd.patternType || !options || !options.cellStyles) return; line.s = ({}); @@ -19658,7 +19788,7 @@ function parse_workbook(blob, options) { var addcell = function addcell(cell, line, options) { if(!biff4w && file_depth > 1) return; if(options.sheetRows && cell.r >= options.sheetRows) return; - if(options.cellStyles && line.XF && line.XF.data) process_cell_style(cell, line, options); + if(options.cellStyles && line.XF && line.XF.data) process_cell_style(line, options); delete line.ixfe; delete line.XF; lastcell = cell; last_cell = encode_cell(cell); @@ -19849,17 +19979,17 @@ wb.opts.Date1904 = Workbook.WBProps.date1904 = val; break; } break; case 0x0009: case 0x0209: case 0x0409: case 0x0809 /* BOF */: { if(opts.biff === 8) opts.biff = { -0x0009:2, -0x0209:3, -0x0409:4 + 0x0009: 2, + 0x0209: 3, + 0x0409: 4 }[RecordType] || { -0x0200:2, -0x0300:3, -0x0400:4, -0x0500:5, -0x0600:8, -0x0002:2, -0x0007:2 + 0x0200: 2, + 0x0300: 3, + 0x0400: 4, + 0x0500: 5, + 0x0600: 8, + 0x0002: 2, + 0x0007: 2 }[val.BIFFVer] || 8; opts.biffguess = val.BIFFVer == 0; if(val.BIFFVer == 0 && val.dt == 0x1000) { opts.biff = 5; seen_codepage = true; set_cp(opts.codepage = 28591); } @@ -20253,1244 +20383,1244 @@ function write_xlscfb(wb, opts) { } /* [MS-XLSB] 2.3 Record Enumeration */ var XLSBRecordEnum = { -0x0000: { /* n:"BrtRowHdr", */ f:parse_BrtRowHdr }, -0x0001: { /* n:"BrtCellBlank", */ f:parse_BrtCellBlank }, -0x0002: { /* n:"BrtCellRk", */ f:parse_BrtCellRk }, -0x0003: { /* n:"BrtCellError", */ f:parse_BrtCellError }, -0x0004: { /* n:"BrtCellBool", */ f:parse_BrtCellBool }, -0x0005: { /* n:"BrtCellReal", */ f:parse_BrtCellReal }, -0x0006: { /* n:"BrtCellSt", */ f:parse_BrtCellSt }, -0x0007: { /* n:"BrtCellIsst", */ f:parse_BrtCellIsst }, -0x0008: { /* n:"BrtFmlaString", */ f:parse_BrtFmlaString }, -0x0009: { /* n:"BrtFmlaNum", */ f:parse_BrtFmlaNum }, -0x000A: { /* n:"BrtFmlaBool", */ f:parse_BrtFmlaBool }, -0x000B: { /* n:"BrtFmlaError", */ f:parse_BrtFmlaError }, -0x000C: { /* n:"BrtShortBlank", */ f:parse_BrtShortBlank }, -0x000D: { /* n:"BrtShortRk", */ f:parse_BrtShortRk }, -0x000E: { /* n:"BrtShortError", */ f:parse_BrtShortError }, -0x000F: { /* n:"BrtShortBool", */ f:parse_BrtShortBool }, -0x0010: { /* n:"BrtShortReal", */ f:parse_BrtShortReal }, -0x0011: { /* n:"BrtShortSt", */ f:parse_BrtShortSt }, -0x0012: { /* n:"BrtShortIsst", */ f:parse_BrtShortIsst }, -0x0013: { /* n:"BrtSSTItem", */ f:parse_RichStr }, -0x0014: { /* n:"BrtPCDIMissing" */ }, -0x0015: { /* n:"BrtPCDINumber" */ }, -0x0016: { /* n:"BrtPCDIBoolean" */ }, -0x0017: { /* n:"BrtPCDIError" */ }, -0x0018: { /* n:"BrtPCDIString" */ }, -0x0019: { /* n:"BrtPCDIDatetime" */ }, -0x001A: { /* n:"BrtPCDIIndex" */ }, -0x001B: { /* n:"BrtPCDIAMissing" */ }, -0x001C: { /* n:"BrtPCDIANumber" */ }, -0x001D: { /* n:"BrtPCDIABoolean" */ }, -0x001E: { /* n:"BrtPCDIAError" */ }, -0x001F: { /* n:"BrtPCDIAString" */ }, -0x0020: { /* n:"BrtPCDIADatetime" */ }, -0x0021: { /* n:"BrtPCRRecord" */ }, -0x0022: { /* n:"BrtPCRRecordDt" */ }, -0x0023: { /* n:"BrtFRTBegin", */ T:1 }, -0x0024: { /* n:"BrtFRTEnd", */ T:-1 }, -0x0025: { /* n:"BrtACBegin", */ T:1 }, -0x0026: { /* n:"BrtACEnd", */ T:-1 }, -0x0027: { /* n:"BrtName", */ f:parse_BrtName }, -0x0028: { /* n:"BrtIndexRowBlock" */ }, -0x002A: { /* n:"BrtIndexBlock" */ }, -0x002B: { /* n:"BrtFont", */ f:parse_BrtFont }, -0x002C: { /* n:"BrtFmt", */ f:parse_BrtFmt }, -0x002D: { /* n:"BrtFill", */ f:parse_BrtFill }, -0x002E: { /* n:"BrtBorder", */ f:parse_BrtBorder }, -0x002F: { /* n:"BrtXF", */ f:parse_BrtXF }, -0x0030: { /* n:"BrtStyle" */ }, -0x0031: { /* n:"BrtCellMeta", */ f:parse_Int32LE }, -0x0032: { /* n:"BrtValueMeta" */ }, -0x0033: { /* n:"BrtMdb" */ f:parse_BrtMdb }, -0x0034: { /* n:"BrtBeginFmd", */ T:1 }, -0x0035: { /* n:"BrtEndFmd", */ T:-1 }, -0x0036: { /* n:"BrtBeginMdx", */ T:1 }, -0x0037: { /* n:"BrtEndMdx", */ T:-1 }, -0x0038: { /* n:"BrtBeginMdxTuple", */ T:1 }, -0x0039: { /* n:"BrtEndMdxTuple", */ T:-1 }, -0x003A: { /* n:"BrtMdxMbrIstr" */ }, -0x003B: { /* n:"BrtStr" */ }, -0x003C: { /* n:"BrtColInfo", */ f:parse_ColInfo }, -0x003E: { /* n:"BrtCellRString", */ f:parse_BrtCellRString }, -0x003F: { /* n:"BrtCalcChainItem$", */ f:parse_BrtCalcChainItem$ }, -0x0040: { /* n:"BrtDVal", */ f:parse_BrtDVal }, -0x0041: { /* n:"BrtSxvcellNum" */ }, -0x0042: { /* n:"BrtSxvcellStr" */ }, -0x0043: { /* n:"BrtSxvcellBool" */ }, -0x0044: { /* n:"BrtSxvcellErr" */ }, -0x0045: { /* n:"BrtSxvcellDate" */ }, -0x0046: { /* n:"BrtSxvcellNil" */ }, -0x0080: { /* n:"BrtFileVersion" */ }, -0x0081: { /* n:"BrtBeginSheet", */ T:1 }, -0x0082: { /* n:"BrtEndSheet", */ T:-1 }, -0x0083: { /* n:"BrtBeginBook", */ T:1, f:parsenoop, p:0 }, -0x0084: { /* n:"BrtEndBook", */ T:-1 }, -0x0085: { /* n:"BrtBeginWsViews", */ T:1 }, -0x0086: { /* n:"BrtEndWsViews", */ T:-1 }, -0x0087: { /* n:"BrtBeginBookViews", */ T:1 }, -0x0088: { /* n:"BrtEndBookViews", */ T:-1 }, -0x0089: { /* n:"BrtBeginWsView", */ T:1, f:parse_BrtBeginWsView }, -0x008A: { /* n:"BrtEndWsView", */ T:-1 }, -0x008B: { /* n:"BrtBeginCsViews", */ T:1 }, -0x008C: { /* n:"BrtEndCsViews", */ T:-1 }, -0x008D: { /* n:"BrtBeginCsView", */ T:1 }, -0x008E: { /* n:"BrtEndCsView", */ T:-1 }, -0x008F: { /* n:"BrtBeginBundleShs", */ T:1 }, -0x0090: { /* n:"BrtEndBundleShs", */ T:-1 }, -0x0091: { /* n:"BrtBeginSheetData", */ T:1 }, -0x0092: { /* n:"BrtEndSheetData", */ T:-1 }, -0x0093: { /* n:"BrtWsProp", */ f:parse_BrtWsProp }, -0x0094: { /* n:"BrtWsDim", */ f:parse_BrtWsDim, p:16 }, -0x0097: { /* n:"BrtPane", */ f:parse_BrtPane }, -0x0098: { /* n:"BrtSel" */ }, -0x0099: { /* n:"BrtWbProp", */ f:parse_BrtWbProp }, -0x009A: { /* n:"BrtWbFactoid" */ }, -0x009B: { /* n:"BrtFileRecover" */ }, -0x009C: { /* n:"BrtBundleSh", */ f:parse_BrtBundleSh }, -0x009D: { /* n:"BrtCalcProp" */ }, -0x009E: { /* n:"BrtBookView" */ }, -0x009F: { /* n:"BrtBeginSst", */ T:1, f:parse_BrtBeginSst }, -0x00A0: { /* n:"BrtEndSst", */ T:-1 }, -0x00A1: { /* n:"BrtBeginAFilter", */ T:1, f:parse_UncheckedRfX }, -0x00A2: { /* n:"BrtEndAFilter", */ T:-1 }, -0x00A3: { /* n:"BrtBeginFilterColumn", */ T:1 }, -0x00A4: { /* n:"BrtEndFilterColumn", */ T:-1 }, -0x00A5: { /* n:"BrtBeginFilters", */ T:1 }, -0x00A6: { /* n:"BrtEndFilters", */ T:-1 }, -0x00A7: { /* n:"BrtFilter" */ }, -0x00A8: { /* n:"BrtColorFilter" */ }, -0x00A9: { /* n:"BrtIconFilter" */ }, -0x00AA: { /* n:"BrtTop10Filter" */ }, -0x00AB: { /* n:"BrtDynamicFilter" */ }, -0x00AC: { /* n:"BrtBeginCustomFilters", */ T:1 }, -0x00AD: { /* n:"BrtEndCustomFilters", */ T:-1 }, -0x00AE: { /* n:"BrtCustomFilter" */ }, -0x00AF: { /* n:"BrtAFilterDateGroupItem" */ }, -0x00B0: { /* n:"BrtMergeCell", */ f:parse_BrtMergeCell }, -0x00B1: { /* n:"BrtBeginMergeCells", */ T:1 }, -0x00B2: { /* n:"BrtEndMergeCells", */ T:-1 }, -0x00B3: { /* n:"BrtBeginPivotCacheDef", */ T:1 }, -0x00B4: { /* n:"BrtEndPivotCacheDef", */ T:-1 }, -0x00B5: { /* n:"BrtBeginPCDFields", */ T:1 }, -0x00B6: { /* n:"BrtEndPCDFields", */ T:-1 }, -0x00B7: { /* n:"BrtBeginPCDField", */ T:1 }, -0x00B8: { /* n:"BrtEndPCDField", */ T:-1 }, -0x00B9: { /* n:"BrtBeginPCDSource", */ T:1 }, -0x00BA: { /* n:"BrtEndPCDSource", */ T:-1 }, -0x00BB: { /* n:"BrtBeginPCDSRange", */ T:1 }, -0x00BC: { /* n:"BrtEndPCDSRange", */ T:-1 }, -0x00BD: { /* n:"BrtBeginPCDFAtbl", */ T:1 }, -0x00BE: { /* n:"BrtEndPCDFAtbl", */ T:-1 }, -0x00BF: { /* n:"BrtBeginPCDIRun", */ T:1 }, -0x00C0: { /* n:"BrtEndPCDIRun", */ T:-1 }, -0x00C1: { /* n:"BrtBeginPivotCacheRecords", */ T:1 }, -0x00C2: { /* n:"BrtEndPivotCacheRecords", */ T:-1 }, -0x00C3: { /* n:"BrtBeginPCDHierarchies", */ T:1 }, -0x00C4: { /* n:"BrtEndPCDHierarchies", */ T:-1 }, -0x00C5: { /* n:"BrtBeginPCDHierarchy", */ T:1 }, -0x00C6: { /* n:"BrtEndPCDHierarchy", */ T:-1 }, -0x00C7: { /* n:"BrtBeginPCDHFieldsUsage", */ T:1 }, -0x00C8: { /* n:"BrtEndPCDHFieldsUsage", */ T:-1 }, -0x00C9: { /* n:"BrtBeginExtConnection", */ T:1 }, -0x00CA: { /* n:"BrtEndExtConnection", */ T:-1 }, -0x00CB: { /* n:"BrtBeginECDbProps", */ T:1 }, -0x00CC: { /* n:"BrtEndECDbProps", */ T:-1 }, -0x00CD: { /* n:"BrtBeginECOlapProps", */ T:1 }, -0x00CE: { /* n:"BrtEndECOlapProps", */ T:-1 }, -0x00CF: { /* n:"BrtBeginPCDSConsol", */ T:1 }, -0x00D0: { /* n:"BrtEndPCDSConsol", */ T:-1 }, -0x00D1: { /* n:"BrtBeginPCDSCPages", */ T:1 }, -0x00D2: { /* n:"BrtEndPCDSCPages", */ T:-1 }, -0x00D3: { /* n:"BrtBeginPCDSCPage", */ T:1 }, -0x00D4: { /* n:"BrtEndPCDSCPage", */ T:-1 }, -0x00D5: { /* n:"BrtBeginPCDSCPItem", */ T:1 }, -0x00D6: { /* n:"BrtEndPCDSCPItem", */ T:-1 }, -0x00D7: { /* n:"BrtBeginPCDSCSets", */ T:1 }, -0x00D8: { /* n:"BrtEndPCDSCSets", */ T:-1 }, -0x00D9: { /* n:"BrtBeginPCDSCSet", */ T:1 }, -0x00DA: { /* n:"BrtEndPCDSCSet", */ T:-1 }, -0x00DB: { /* n:"BrtBeginPCDFGroup", */ T:1 }, -0x00DC: { /* n:"BrtEndPCDFGroup", */ T:-1 }, -0x00DD: { /* n:"BrtBeginPCDFGItems", */ T:1 }, -0x00DE: { /* n:"BrtEndPCDFGItems", */ T:-1 }, -0x00DF: { /* n:"BrtBeginPCDFGRange", */ T:1 }, -0x00E0: { /* n:"BrtEndPCDFGRange", */ T:-1 }, -0x00E1: { /* n:"BrtBeginPCDFGDiscrete", */ T:1 }, -0x00E2: { /* n:"BrtEndPCDFGDiscrete", */ T:-1 }, -0x00E3: { /* n:"BrtBeginPCDSDTupleCache", */ T:1 }, -0x00E4: { /* n:"BrtEndPCDSDTupleCache", */ T:-1 }, -0x00E5: { /* n:"BrtBeginPCDSDTCEntries", */ T:1 }, -0x00E6: { /* n:"BrtEndPCDSDTCEntries", */ T:-1 }, -0x00E7: { /* n:"BrtBeginPCDSDTCEMembers", */ T:1 }, -0x00E8: { /* n:"BrtEndPCDSDTCEMembers", */ T:-1 }, -0x00E9: { /* n:"BrtBeginPCDSDTCEMember", */ T:1 }, -0x00EA: { /* n:"BrtEndPCDSDTCEMember", */ T:-1 }, -0x00EB: { /* n:"BrtBeginPCDSDTCQueries", */ T:1 }, -0x00EC: { /* n:"BrtEndPCDSDTCQueries", */ T:-1 }, -0x00ED: { /* n:"BrtBeginPCDSDTCQuery", */ T:1 }, -0x00EE: { /* n:"BrtEndPCDSDTCQuery", */ T:-1 }, -0x00EF: { /* n:"BrtBeginPCDSDTCSets", */ T:1 }, -0x00F0: { /* n:"BrtEndPCDSDTCSets", */ T:-1 }, -0x00F1: { /* n:"BrtBeginPCDSDTCSet", */ T:1 }, -0x00F2: { /* n:"BrtEndPCDSDTCSet", */ T:-1 }, -0x00F3: { /* n:"BrtBeginPCDCalcItems", */ T:1 }, -0x00F4: { /* n:"BrtEndPCDCalcItems", */ T:-1 }, -0x00F5: { /* n:"BrtBeginPCDCalcItem", */ T:1 }, -0x00F6: { /* n:"BrtEndPCDCalcItem", */ T:-1 }, -0x00F7: { /* n:"BrtBeginPRule", */ T:1 }, -0x00F8: { /* n:"BrtEndPRule", */ T:-1 }, -0x00F9: { /* n:"BrtBeginPRFilters", */ T:1 }, -0x00FA: { /* n:"BrtEndPRFilters", */ T:-1 }, -0x00FB: { /* n:"BrtBeginPRFilter", */ T:1 }, -0x00FC: { /* n:"BrtEndPRFilter", */ T:-1 }, -0x00FD: { /* n:"BrtBeginPNames", */ T:1 }, -0x00FE: { /* n:"BrtEndPNames", */ T:-1 }, -0x00FF: { /* n:"BrtBeginPName", */ T:1 }, -0x0100: { /* n:"BrtEndPName", */ T:-1 }, -0x0101: { /* n:"BrtBeginPNPairs", */ T:1 }, -0x0102: { /* n:"BrtEndPNPairs", */ T:-1 }, -0x0103: { /* n:"BrtBeginPNPair", */ T:1 }, -0x0104: { /* n:"BrtEndPNPair", */ T:-1 }, -0x0105: { /* n:"BrtBeginECWebProps", */ T:1 }, -0x0106: { /* n:"BrtEndECWebProps", */ T:-1 }, -0x0107: { /* n:"BrtBeginEcWpTables", */ T:1 }, -0x0108: { /* n:"BrtEndECWPTables", */ T:-1 }, -0x0109: { /* n:"BrtBeginECParams", */ T:1 }, -0x010A: { /* n:"BrtEndECParams", */ T:-1 }, -0x010B: { /* n:"BrtBeginECParam", */ T:1 }, -0x010C: { /* n:"BrtEndECParam", */ T:-1 }, -0x010D: { /* n:"BrtBeginPCDKPIs", */ T:1 }, -0x010E: { /* n:"BrtEndPCDKPIs", */ T:-1 }, -0x010F: { /* n:"BrtBeginPCDKPI", */ T:1 }, -0x0110: { /* n:"BrtEndPCDKPI", */ T:-1 }, -0x0111: { /* n:"BrtBeginDims", */ T:1 }, -0x0112: { /* n:"BrtEndDims", */ T:-1 }, -0x0113: { /* n:"BrtBeginDim", */ T:1 }, -0x0114: { /* n:"BrtEndDim", */ T:-1 }, -0x0115: { /* n:"BrtIndexPartEnd" */ }, -0x0116: { /* n:"BrtBeginStyleSheet", */ T:1 }, -0x0117: { /* n:"BrtEndStyleSheet", */ T:-1 }, -0x0118: { /* n:"BrtBeginSXView", */ T:1 }, -0x0119: { /* n:"BrtEndSXVI", */ T:-1 }, -0x011A: { /* n:"BrtBeginSXVI", */ T:1 }, -0x011B: { /* n:"BrtBeginSXVIs", */ T:1 }, -0x011C: { /* n:"BrtEndSXVIs", */ T:-1 }, -0x011D: { /* n:"BrtBeginSXVD", */ T:1 }, -0x011E: { /* n:"BrtEndSXVD", */ T:-1 }, -0x011F: { /* n:"BrtBeginSXVDs", */ T:1 }, -0x0120: { /* n:"BrtEndSXVDs", */ T:-1 }, -0x0121: { /* n:"BrtBeginSXPI", */ T:1 }, -0x0122: { /* n:"BrtEndSXPI", */ T:-1 }, -0x0123: { /* n:"BrtBeginSXPIs", */ T:1 }, -0x0124: { /* n:"BrtEndSXPIs", */ T:-1 }, -0x0125: { /* n:"BrtBeginSXDI", */ T:1 }, -0x0126: { /* n:"BrtEndSXDI", */ T:-1 }, -0x0127: { /* n:"BrtBeginSXDIs", */ T:1 }, -0x0128: { /* n:"BrtEndSXDIs", */ T:-1 }, -0x0129: { /* n:"BrtBeginSXLI", */ T:1 }, -0x012A: { /* n:"BrtEndSXLI", */ T:-1 }, -0x012B: { /* n:"BrtBeginSXLIRws", */ T:1 }, -0x012C: { /* n:"BrtEndSXLIRws", */ T:-1 }, -0x012D: { /* n:"BrtBeginSXLICols", */ T:1 }, -0x012E: { /* n:"BrtEndSXLICols", */ T:-1 }, -0x012F: { /* n:"BrtBeginSXFormat", */ T:1 }, -0x0130: { /* n:"BrtEndSXFormat", */ T:-1 }, -0x0131: { /* n:"BrtBeginSXFormats", */ T:1 }, -0x0132: { /* n:"BrtEndSxFormats", */ T:-1 }, -0x0133: { /* n:"BrtBeginSxSelect", */ T:1 }, -0x0134: { /* n:"BrtEndSxSelect", */ T:-1 }, -0x0135: { /* n:"BrtBeginISXVDRws", */ T:1 }, -0x0136: { /* n:"BrtEndISXVDRws", */ T:-1 }, -0x0137: { /* n:"BrtBeginISXVDCols", */ T:1 }, -0x0138: { /* n:"BrtEndISXVDCols", */ T:-1 }, -0x0139: { /* n:"BrtEndSXLocation", */ T:-1 }, -0x013A: { /* n:"BrtBeginSXLocation", */ T:1 }, -0x013B: { /* n:"BrtEndSXView", */ T:-1 }, -0x013C: { /* n:"BrtBeginSXTHs", */ T:1 }, -0x013D: { /* n:"BrtEndSXTHs", */ T:-1 }, -0x013E: { /* n:"BrtBeginSXTH", */ T:1 }, -0x013F: { /* n:"BrtEndSXTH", */ T:-1 }, -0x0140: { /* n:"BrtBeginISXTHRws", */ T:1 }, -0x0141: { /* n:"BrtEndISXTHRws", */ T:-1 }, -0x0142: { /* n:"BrtBeginISXTHCols", */ T:1 }, -0x0143: { /* n:"BrtEndISXTHCols", */ T:-1 }, -0x0144: { /* n:"BrtBeginSXTDMPS", */ T:1 }, -0x0145: { /* n:"BrtEndSXTDMPs", */ T:-1 }, -0x0146: { /* n:"BrtBeginSXTDMP", */ T:1 }, -0x0147: { /* n:"BrtEndSXTDMP", */ T:-1 }, -0x0148: { /* n:"BrtBeginSXTHItems", */ T:1 }, -0x0149: { /* n:"BrtEndSXTHItems", */ T:-1 }, -0x014A: { /* n:"BrtBeginSXTHItem", */ T:1 }, -0x014B: { /* n:"BrtEndSXTHItem", */ T:-1 }, -0x014C: { /* n:"BrtBeginMetadata", */ T:1 }, -0x014D: { /* n:"BrtEndMetadata", */ T:-1 }, -0x014E: { /* n:"BrtBeginEsmdtinfo", */ T:1 }, -0x014F: { /* n:"BrtMdtinfo", */ f:parse_BrtMdtinfo }, -0x0150: { /* n:"BrtEndEsmdtinfo", */ T:-1 }, -0x0151: { /* n:"BrtBeginEsmdb", */ f:parse_BrtBeginEsmdb, T:1 }, -0x0152: { /* n:"BrtEndEsmdb", */ T:-1 }, -0x0153: { /* n:"BrtBeginEsfmd", */ T:1 }, -0x0154: { /* n:"BrtEndEsfmd", */ T:-1 }, -0x0155: { /* n:"BrtBeginSingleCells", */ T:1 }, -0x0156: { /* n:"BrtEndSingleCells", */ T:-1 }, -0x0157: { /* n:"BrtBeginList", */ T:1 }, -0x0158: { /* n:"BrtEndList", */ T:-1 }, -0x0159: { /* n:"BrtBeginListCols", */ T:1 }, -0x015A: { /* n:"BrtEndListCols", */ T:-1 }, -0x015B: { /* n:"BrtBeginListCol", */ T:1 }, -0x015C: { /* n:"BrtEndListCol", */ T:-1 }, -0x015D: { /* n:"BrtBeginListXmlCPr", */ T:1 }, -0x015E: { /* n:"BrtEndListXmlCPr", */ T:-1 }, -0x015F: { /* n:"BrtListCCFmla" */ }, -0x0160: { /* n:"BrtListTrFmla" */ }, -0x0161: { /* n:"BrtBeginExternals", */ T:1 }, -0x0162: { /* n:"BrtEndExternals", */ T:-1 }, -0x0163: { /* n:"BrtSupBookSrc", */ f:parse_RelID}, -0x0165: { /* n:"BrtSupSelf" */ }, -0x0166: { /* n:"BrtSupSame" */ }, -0x0167: { /* n:"BrtSupTabs" */ }, -0x0168: { /* n:"BrtBeginSupBook", */ T:1 }, -0x0169: { /* n:"BrtPlaceholderName" */ }, -0x016A: { /* n:"BrtExternSheet", */ f:parse_ExternSheet }, -0x016B: { /* n:"BrtExternTableStart" */ }, -0x016C: { /* n:"BrtExternTableEnd" */ }, -0x016E: { /* n:"BrtExternRowHdr" */ }, -0x016F: { /* n:"BrtExternCellBlank" */ }, -0x0170: { /* n:"BrtExternCellReal" */ }, -0x0171: { /* n:"BrtExternCellBool" */ }, -0x0172: { /* n:"BrtExternCellError" */ }, -0x0173: { /* n:"BrtExternCellString" */ }, -0x0174: { /* n:"BrtBeginEsmdx", */ T:1 }, -0x0175: { /* n:"BrtEndEsmdx", */ T:-1 }, -0x0176: { /* n:"BrtBeginMdxSet", */ T:1 }, -0x0177: { /* n:"BrtEndMdxSet", */ T:-1 }, -0x0178: { /* n:"BrtBeginMdxMbrProp", */ T:1 }, -0x0179: { /* n:"BrtEndMdxMbrProp", */ T:-1 }, -0x017A: { /* n:"BrtBeginMdxKPI", */ T:1 }, -0x017B: { /* n:"BrtEndMdxKPI", */ T:-1 }, -0x017C: { /* n:"BrtBeginEsstr", */ T:1 }, -0x017D: { /* n:"BrtEndEsstr", */ T:-1 }, -0x017E: { /* n:"BrtBeginPRFItem", */ T:1 }, -0x017F: { /* n:"BrtEndPRFItem", */ T:-1 }, -0x0180: { /* n:"BrtBeginPivotCacheIDs", */ T:1 }, -0x0181: { /* n:"BrtEndPivotCacheIDs", */ T:-1 }, -0x0182: { /* n:"BrtBeginPivotCacheID", */ T:1 }, -0x0183: { /* n:"BrtEndPivotCacheID", */ T:-1 }, -0x0184: { /* n:"BrtBeginISXVIs", */ T:1 }, -0x0185: { /* n:"BrtEndISXVIs", */ T:-1 }, -0x0186: { /* n:"BrtBeginColInfos", */ T:1 }, -0x0187: { /* n:"BrtEndColInfos", */ T:-1 }, -0x0188: { /* n:"BrtBeginRwBrk", */ T:1 }, -0x0189: { /* n:"BrtEndRwBrk", */ T:-1 }, -0x018A: { /* n:"BrtBeginColBrk", */ T:1 }, -0x018B: { /* n:"BrtEndColBrk", */ T:-1 }, -0x018C: { /* n:"BrtBrk" */ }, -0x018D: { /* n:"BrtUserBookView" */ }, -0x018E: { /* n:"BrtInfo" */ }, -0x018F: { /* n:"BrtCUsr" */ }, -0x0190: { /* n:"BrtUsr" */ }, -0x0191: { /* n:"BrtBeginUsers", */ T:1 }, -0x0193: { /* n:"BrtEOF" */ }, -0x0194: { /* n:"BrtUCR" */ }, -0x0195: { /* n:"BrtRRInsDel" */ }, -0x0196: { /* n:"BrtRREndInsDel" */ }, -0x0197: { /* n:"BrtRRMove" */ }, -0x0198: { /* n:"BrtRREndMove" */ }, -0x0199: { /* n:"BrtRRChgCell" */ }, -0x019A: { /* n:"BrtRREndChgCell" */ }, -0x019B: { /* n:"BrtRRHeader" */ }, -0x019C: { /* n:"BrtRRUserView" */ }, -0x019D: { /* n:"BrtRRRenSheet" */ }, -0x019E: { /* n:"BrtRRInsertSh" */ }, -0x019F: { /* n:"BrtRRDefName" */ }, -0x01A0: { /* n:"BrtRRNote" */ }, -0x01A1: { /* n:"BrtRRConflict" */ }, -0x01A2: { /* n:"BrtRRTQSIF" */ }, -0x01A3: { /* n:"BrtRRFormat" */ }, -0x01A4: { /* n:"BrtRREndFormat" */ }, -0x01A5: { /* n:"BrtRRAutoFmt" */ }, -0x01A6: { /* n:"BrtBeginUserShViews", */ T:1 }, -0x01A7: { /* n:"BrtBeginUserShView", */ T:1 }, -0x01A8: { /* n:"BrtEndUserShView", */ T:-1 }, -0x01A9: { /* n:"BrtEndUserShViews", */ T:-1 }, -0x01AA: { /* n:"BrtArrFmla", */ f:parse_BrtArrFmla }, -0x01AB: { /* n:"BrtShrFmla", */ f:parse_BrtShrFmla }, -0x01AC: { /* n:"BrtTable" */ }, -0x01AD: { /* n:"BrtBeginExtConnections", */ T:1 }, -0x01AE: { /* n:"BrtEndExtConnections", */ T:-1 }, -0x01AF: { /* n:"BrtBeginPCDCalcMems", */ T:1 }, -0x01B0: { /* n:"BrtEndPCDCalcMems", */ T:-1 }, -0x01B1: { /* n:"BrtBeginPCDCalcMem", */ T:1 }, -0x01B2: { /* n:"BrtEndPCDCalcMem", */ T:-1 }, -0x01B3: { /* n:"BrtBeginPCDHGLevels", */ T:1 }, -0x01B4: { /* n:"BrtEndPCDHGLevels", */ T:-1 }, -0x01B5: { /* n:"BrtBeginPCDHGLevel", */ T:1 }, -0x01B6: { /* n:"BrtEndPCDHGLevel", */ T:-1 }, -0x01B7: { /* n:"BrtBeginPCDHGLGroups", */ T:1 }, -0x01B8: { /* n:"BrtEndPCDHGLGroups", */ T:-1 }, -0x01B9: { /* n:"BrtBeginPCDHGLGroup", */ T:1 }, -0x01BA: { /* n:"BrtEndPCDHGLGroup", */ T:-1 }, -0x01BB: { /* n:"BrtBeginPCDHGLGMembers", */ T:1 }, -0x01BC: { /* n:"BrtEndPCDHGLGMembers", */ T:-1 }, -0x01BD: { /* n:"BrtBeginPCDHGLGMember", */ T:1 }, -0x01BE: { /* n:"BrtEndPCDHGLGMember", */ T:-1 }, -0x01BF: { /* n:"BrtBeginQSI", */ T:1 }, -0x01C0: { /* n:"BrtEndQSI", */ T:-1 }, -0x01C1: { /* n:"BrtBeginQSIR", */ T:1 }, -0x01C2: { /* n:"BrtEndQSIR", */ T:-1 }, -0x01C3: { /* n:"BrtBeginDeletedNames", */ T:1 }, -0x01C4: { /* n:"BrtEndDeletedNames", */ T:-1 }, -0x01C5: { /* n:"BrtBeginDeletedName", */ T:1 }, -0x01C6: { /* n:"BrtEndDeletedName", */ T:-1 }, -0x01C7: { /* n:"BrtBeginQSIFs", */ T:1 }, -0x01C8: { /* n:"BrtEndQSIFs", */ T:-1 }, -0x01C9: { /* n:"BrtBeginQSIF", */ T:1 }, -0x01CA: { /* n:"BrtEndQSIF", */ T:-1 }, -0x01CB: { /* n:"BrtBeginAutoSortScope", */ T:1 }, -0x01CC: { /* n:"BrtEndAutoSortScope", */ T:-1 }, -0x01CD: { /* n:"BrtBeginConditionalFormatting", */ T:1 }, -0x01CE: { /* n:"BrtEndConditionalFormatting", */ T:-1 }, -0x01CF: { /* n:"BrtBeginCFRule", */ T:1 }, -0x01D0: { /* n:"BrtEndCFRule", */ T:-1 }, -0x01D1: { /* n:"BrtBeginIconSet", */ T:1 }, -0x01D2: { /* n:"BrtEndIconSet", */ T:-1 }, -0x01D3: { /* n:"BrtBeginDatabar", */ T:1 }, -0x01D4: { /* n:"BrtEndDatabar", */ T:-1 }, -0x01D5: { /* n:"BrtBeginColorScale", */ T:1 }, -0x01D6: { /* n:"BrtEndColorScale", */ T:-1 }, -0x01D7: { /* n:"BrtCFVO" */ }, -0x01D8: { /* n:"BrtExternValueMeta" */ }, -0x01D9: { /* n:"BrtBeginColorPalette", */ T:1 }, -0x01DA: { /* n:"BrtEndColorPalette", */ T:-1 }, -0x01DB: { /* n:"BrtIndexedColor" */ }, -0x01DC: { /* n:"BrtMargins", */ f:parse_BrtMargins }, -0x01DD: { /* n:"BrtPrintOptions" */ }, -0x01DE: { /* n:"BrtPageSetup" */ }, -0x01DF: { /* n:"BrtBeginHeaderFooter", */ T:1 }, -0x01E0: { /* n:"BrtEndHeaderFooter", */ T:-1 }, -0x01E1: { /* n:"BrtBeginSXCrtFormat", */ T:1 }, -0x01E2: { /* n:"BrtEndSXCrtFormat", */ T:-1 }, -0x01E3: { /* n:"BrtBeginSXCrtFormats", */ T:1 }, -0x01E4: { /* n:"BrtEndSXCrtFormats", */ T:-1 }, -0x01E5: { /* n:"BrtWsFmtInfo", */ f:parse_BrtWsFmtInfo }, -0x01E6: { /* n:"BrtBeginMgs", */ T:1 }, -0x01E7: { /* n:"BrtEndMGs", */ T:-1 }, -0x01E8: { /* n:"BrtBeginMGMaps", */ T:1 }, -0x01E9: { /* n:"BrtEndMGMaps", */ T:-1 }, -0x01EA: { /* n:"BrtBeginMG", */ T:1 }, -0x01EB: { /* n:"BrtEndMG", */ T:-1 }, -0x01EC: { /* n:"BrtBeginMap", */ T:1 }, -0x01ED: { /* n:"BrtEndMap", */ T:-1 }, -0x01EE: { /* n:"BrtHLink", */ f:parse_BrtHLink }, -0x01EF: { /* n:"BrtBeginDCon", */ T:1 }, -0x01F0: { /* n:"BrtEndDCon", */ T:-1 }, -0x01F1: { /* n:"BrtBeginDRefs", */ T:1 }, -0x01F2: { /* n:"BrtEndDRefs", */ T:-1 }, -0x01F3: { /* n:"BrtDRef" */ }, -0x01F4: { /* n:"BrtBeginScenMan", */ T:1 }, -0x01F5: { /* n:"BrtEndScenMan", */ T:-1 }, -0x01F6: { /* n:"BrtBeginSct", */ T:1 }, -0x01F7: { /* n:"BrtEndSct", */ T:-1 }, -0x01F8: { /* n:"BrtSlc" */ }, -0x01F9: { /* n:"BrtBeginDXFs", */ T:1 }, -0x01FA: { /* n:"BrtEndDXFs", */ T:-1 }, -0x01FB: { /* n:"BrtDXF" */ }, -0x01FC: { /* n:"BrtBeginTableStyles", */ T:1 }, -0x01FD: { /* n:"BrtEndTableStyles", */ T:-1 }, -0x01FE: { /* n:"BrtBeginTableStyle", */ T:1 }, -0x01FF: { /* n:"BrtEndTableStyle", */ T:-1 }, -0x0200: { /* n:"BrtTableStyleElement" */ }, -0x0201: { /* n:"BrtTableStyleClient" */ }, -0x0202: { /* n:"BrtBeginVolDeps", */ T:1 }, -0x0203: { /* n:"BrtEndVolDeps", */ T:-1 }, -0x0204: { /* n:"BrtBeginVolType", */ T:1 }, -0x0205: { /* n:"BrtEndVolType", */ T:-1 }, -0x0206: { /* n:"BrtBeginVolMain", */ T:1 }, -0x0207: { /* n:"BrtEndVolMain", */ T:-1 }, -0x0208: { /* n:"BrtBeginVolTopic", */ T:1 }, -0x0209: { /* n:"BrtEndVolTopic", */ T:-1 }, -0x020A: { /* n:"BrtVolSubtopic" */ }, -0x020B: { /* n:"BrtVolRef" */ }, -0x020C: { /* n:"BrtVolNum" */ }, -0x020D: { /* n:"BrtVolErr" */ }, -0x020E: { /* n:"BrtVolStr" */ }, -0x020F: { /* n:"BrtVolBool" */ }, -0x0210: { /* n:"BrtBeginCalcChain$", */ T:1 }, -0x0211: { /* n:"BrtEndCalcChain$", */ T:-1 }, -0x0212: { /* n:"BrtBeginSortState", */ T:1 }, -0x0213: { /* n:"BrtEndSortState", */ T:-1 }, -0x0214: { /* n:"BrtBeginSortCond", */ T:1 }, -0x0215: { /* n:"BrtEndSortCond", */ T:-1 }, -0x0216: { /* n:"BrtBookProtection" */ }, -0x0217: { /* n:"BrtSheetProtection" */ }, -0x0218: { /* n:"BrtRangeProtection" */ }, -0x0219: { /* n:"BrtPhoneticInfo" */ }, -0x021A: { /* n:"BrtBeginECTxtWiz", */ T:1 }, -0x021B: { /* n:"BrtEndECTxtWiz", */ T:-1 }, -0x021C: { /* n:"BrtBeginECTWFldInfoLst", */ T:1 }, -0x021D: { /* n:"BrtEndECTWFldInfoLst", */ T:-1 }, -0x021E: { /* n:"BrtBeginECTwFldInfo", */ T:1 }, -0x0224: { /* n:"BrtFileSharing" */ }, -0x0225: { /* n:"BrtOleSize" */ }, -0x0226: { /* n:"BrtDrawing", */ f:parse_RelID }, -0x0227: { /* n:"BrtLegacyDrawing", */ f:parse_XLNullableWideString }, -0x0228: { /* n:"BrtLegacyDrawingHF" */ }, -0x0229: { /* n:"BrtWebOpt" */ }, -0x022A: { /* n:"BrtBeginWebPubItems", */ T:1 }, -0x022B: { /* n:"BrtEndWebPubItems", */ T:-1 }, -0x022C: { /* n:"BrtBeginWebPubItem", */ T:1 }, -0x022D: { /* n:"BrtEndWebPubItem", */ T:-1 }, -0x022E: { /* n:"BrtBeginSXCondFmt", */ T:1 }, -0x022F: { /* n:"BrtEndSXCondFmt", */ T:-1 }, -0x0230: { /* n:"BrtBeginSXCondFmts", */ T:1 }, -0x0231: { /* n:"BrtEndSXCondFmts", */ T:-1 }, -0x0232: { /* n:"BrtBkHim" */ }, -0x0234: { /* n:"BrtColor" */ }, -0x0235: { /* n:"BrtBeginIndexedColors", */ T:1 }, -0x0236: { /* n:"BrtEndIndexedColors", */ T:-1 }, -0x0239: { /* n:"BrtBeginMRUColors", */ T:1 }, -0x023A: { /* n:"BrtEndMRUColors", */ T:-1 }, -0x023C: { /* n:"BrtMRUColor" */ }, -0x023D: { /* n:"BrtBeginDVals", */ T:1 }, -0x023E: { /* n:"BrtEndDVals", */ T:-1 }, -0x0241: { /* n:"BrtSupNameStart" */ }, -0x0242: { /* n:"BrtSupNameValueStart" */ }, -0x0243: { /* n:"BrtSupNameValueEnd" */ }, -0x0244: { /* n:"BrtSupNameNum" */ }, -0x0245: { /* n:"BrtSupNameErr" */ }, -0x0246: { /* n:"BrtSupNameSt" */ }, -0x0247: { /* n:"BrtSupNameNil" */ }, -0x0248: { /* n:"BrtSupNameBool" */ }, -0x0249: { /* n:"BrtSupNameFmla" */ }, -0x024A: { /* n:"BrtSupNameBits" */ }, -0x024B: { /* n:"BrtSupNameEnd" */ }, -0x024C: { /* n:"BrtEndSupBook", */ T:-1 }, -0x024D: { /* n:"BrtCellSmartTagProperty" */ }, -0x024E: { /* n:"BrtBeginCellSmartTag", */ T:1 }, -0x024F: { /* n:"BrtEndCellSmartTag", */ T:-1 }, -0x0250: { /* n:"BrtBeginCellSmartTags", */ T:1 }, -0x0251: { /* n:"BrtEndCellSmartTags", */ T:-1 }, -0x0252: { /* n:"BrtBeginSmartTags", */ T:1 }, -0x0253: { /* n:"BrtEndSmartTags", */ T:-1 }, -0x0254: { /* n:"BrtSmartTagType" */ }, -0x0255: { /* n:"BrtBeginSmartTagTypes", */ T:1 }, -0x0256: { /* n:"BrtEndSmartTagTypes", */ T:-1 }, -0x0257: { /* n:"BrtBeginSXFilters", */ T:1 }, -0x0258: { /* n:"BrtEndSXFilters", */ T:-1 }, -0x0259: { /* n:"BrtBeginSXFILTER", */ T:1 }, -0x025A: { /* n:"BrtEndSXFilter", */ T:-1 }, -0x025B: { /* n:"BrtBeginFills", */ T:1 }, -0x025C: { /* n:"BrtEndFills", */ T:-1 }, -0x025D: { /* n:"BrtBeginCellWatches", */ T:1 }, -0x025E: { /* n:"BrtEndCellWatches", */ T:-1 }, -0x025F: { /* n:"BrtCellWatch" */ }, -0x0260: { /* n:"BrtBeginCRErrs", */ T:1 }, -0x0261: { /* n:"BrtEndCRErrs", */ T:-1 }, -0x0262: { /* n:"BrtCrashRecErr" */ }, -0x0263: { /* n:"BrtBeginFonts", */ T:1 }, -0x0264: { /* n:"BrtEndFonts", */ T:-1 }, -0x0265: { /* n:"BrtBeginBorders", */ T:1 }, -0x0266: { /* n:"BrtEndBorders", */ T:-1 }, -0x0267: { /* n:"BrtBeginFmts", */ T:1 }, -0x0268: { /* n:"BrtEndFmts", */ T:-1 }, -0x0269: { /* n:"BrtBeginCellXFs", */ T:1 }, -0x026A: { /* n:"BrtEndCellXFs", */ T:-1 }, -0x026B: { /* n:"BrtBeginStyles", */ T:1 }, -0x026C: { /* n:"BrtEndStyles", */ T:-1 }, -0x0271: { /* n:"BrtBigName" */ }, -0x0272: { /* n:"BrtBeginCellStyleXFs", */ T:1 }, -0x0273: { /* n:"BrtEndCellStyleXFs", */ T:-1 }, -0x0274: { /* n:"BrtBeginComments", */ T:1 }, -0x0275: { /* n:"BrtEndComments", */ T:-1 }, -0x0276: { /* n:"BrtBeginCommentAuthors", */ T:1 }, -0x0277: { /* n:"BrtEndCommentAuthors", */ T:-1 }, -0x0278: { /* n:"BrtCommentAuthor", */ f:parse_BrtCommentAuthor }, -0x0279: { /* n:"BrtBeginCommentList", */ T:1 }, -0x027A: { /* n:"BrtEndCommentList", */ T:-1 }, -0x027B: { /* n:"BrtBeginComment", */ T:1, f:parse_BrtBeginComment}, -0x027C: { /* n:"BrtEndComment", */ T:-1 }, -0x027D: { /* n:"BrtCommentText", */ f:parse_BrtCommentText }, -0x027E: { /* n:"BrtBeginOleObjects", */ T:1 }, -0x027F: { /* n:"BrtOleObject" */ }, -0x0280: { /* n:"BrtEndOleObjects", */ T:-1 }, -0x0281: { /* n:"BrtBeginSxrules", */ T:1 }, -0x0282: { /* n:"BrtEndSxRules", */ T:-1 }, -0x0283: { /* n:"BrtBeginActiveXControls", */ T:1 }, -0x0284: { /* n:"BrtActiveX" */ }, -0x0285: { /* n:"BrtEndActiveXControls", */ T:-1 }, -0x0286: { /* n:"BrtBeginPCDSDTCEMembersSortBy", */ T:1 }, -0x0288: { /* n:"BrtBeginCellIgnoreECs", */ T:1 }, -0x0289: { /* n:"BrtCellIgnoreEC" */ }, -0x028A: { /* n:"BrtEndCellIgnoreECs", */ T:-1 }, -0x028B: { /* n:"BrtCsProp", */ f:parse_BrtCsProp }, -0x028C: { /* n:"BrtCsPageSetup" */ }, -0x028D: { /* n:"BrtBeginUserCsViews", */ T:1 }, -0x028E: { /* n:"BrtEndUserCsViews", */ T:-1 }, -0x028F: { /* n:"BrtBeginUserCsView", */ T:1 }, -0x0290: { /* n:"BrtEndUserCsView", */ T:-1 }, -0x0291: { /* n:"BrtBeginPcdSFCIEntries", */ T:1 }, -0x0292: { /* n:"BrtEndPCDSFCIEntries", */ T:-1 }, -0x0293: { /* n:"BrtPCDSFCIEntry" */ }, -0x0294: { /* n:"BrtBeginListParts", */ T:1 }, -0x0295: { /* n:"BrtListPart" */ }, -0x0296: { /* n:"BrtEndListParts", */ T:-1 }, -0x0297: { /* n:"BrtSheetCalcProp" */ }, -0x0298: { /* n:"BrtBeginFnGroup", */ T:1 }, -0x0299: { /* n:"BrtFnGroup" */ }, -0x029A: { /* n:"BrtEndFnGroup", */ T:-1 }, -0x029B: { /* n:"BrtSupAddin" */ }, -0x029C: { /* n:"BrtSXTDMPOrder" */ }, -0x029D: { /* n:"BrtCsProtection" */ }, -0x029F: { /* n:"BrtBeginWsSortMap", */ T:1 }, -0x02A0: { /* n:"BrtEndWsSortMap", */ T:-1 }, -0x02A1: { /* n:"BrtBeginRRSort", */ T:1 }, -0x02A2: { /* n:"BrtEndRRSort", */ T:-1 }, -0x02A3: { /* n:"BrtRRSortItem" */ }, -0x02A4: { /* n:"BrtFileSharingIso" */ }, -0x02A5: { /* n:"BrtBookProtectionIso" */ }, -0x02A6: { /* n:"BrtSheetProtectionIso" */ }, -0x02A7: { /* n:"BrtCsProtectionIso" */ }, -0x02A8: { /* n:"BrtRangeProtectionIso" */ }, -0x02A9: { /* n:"BrtDValList" */ }, -0x0400: { /* n:"BrtRwDescent" */ }, -0x0401: { /* n:"BrtKnownFonts" */ }, -0x0402: { /* n:"BrtBeginSXTupleSet", */ T:1 }, -0x0403: { /* n:"BrtEndSXTupleSet", */ T:-1 }, -0x0404: { /* n:"BrtBeginSXTupleSetHeader", */ T:1 }, -0x0405: { /* n:"BrtEndSXTupleSetHeader", */ T:-1 }, -0x0406: { /* n:"BrtSXTupleSetHeaderItem" */ }, -0x0407: { /* n:"BrtBeginSXTupleSetData", */ T:1 }, -0x0408: { /* n:"BrtEndSXTupleSetData", */ T:-1 }, -0x0409: { /* n:"BrtBeginSXTupleSetRow", */ T:1 }, -0x040A: { /* n:"BrtEndSXTupleSetRow", */ T:-1 }, -0x040B: { /* n:"BrtSXTupleSetRowItem" */ }, -0x040C: { /* n:"BrtNameExt" */ }, -0x040D: { /* n:"BrtPCDH14" */ }, -0x040E: { /* n:"BrtBeginPCDCalcMem14", */ T:1 }, -0x040F: { /* n:"BrtEndPCDCalcMem14", */ T:-1 }, -0x0410: { /* n:"BrtSXTH14" */ }, -0x0411: { /* n:"BrtBeginSparklineGroup", */ T:1 }, -0x0412: { /* n:"BrtEndSparklineGroup", */ T:-1 }, -0x0413: { /* n:"BrtSparkline" */ }, -0x0414: { /* n:"BrtSXDI14" */ }, -0x0415: { /* n:"BrtWsFmtInfoEx14" */ }, -0x0416: { /* n:"BrtBeginConditionalFormatting14", */ T:1 }, -0x0417: { /* n:"BrtEndConditionalFormatting14", */ T:-1 }, -0x0418: { /* n:"BrtBeginCFRule14", */ T:1 }, -0x0419: { /* n:"BrtEndCFRule14", */ T:-1 }, -0x041A: { /* n:"BrtCFVO14" */ }, -0x041B: { /* n:"BrtBeginDatabar14", */ T:1 }, -0x041C: { /* n:"BrtBeginIconSet14", */ T:1 }, -0x041D: { /* n:"BrtDVal14", */ f: parse_BrtDVal14 }, -0x041E: { /* n:"BrtBeginDVals14", */ T:1 }, -0x041F: { /* n:"BrtColor14" */ }, -0x0420: { /* n:"BrtBeginSparklines", */ T:1 }, -0x0421: { /* n:"BrtEndSparklines", */ T:-1 }, -0x0422: { /* n:"BrtBeginSparklineGroups", */ T:1 }, -0x0423: { /* n:"BrtEndSparklineGroups", */ T:-1 }, -0x0425: { /* n:"BrtSXVD14" */ }, -0x0426: { /* n:"BrtBeginSXView14", */ T:1 }, -0x0427: { /* n:"BrtEndSXView14", */ T:-1 }, -0x0428: { /* n:"BrtBeginSXView16", */ T:1 }, -0x0429: { /* n:"BrtEndSXView16", */ T:-1 }, -0x042A: { /* n:"BrtBeginPCD14", */ T:1 }, -0x042B: { /* n:"BrtEndPCD14", */ T:-1 }, -0x042C: { /* n:"BrtBeginExtConn14", */ T:1 }, -0x042D: { /* n:"BrtEndExtConn14", */ T:-1 }, -0x042E: { /* n:"BrtBeginSlicerCacheIDs", */ T:1 }, -0x042F: { /* n:"BrtEndSlicerCacheIDs", */ T:-1 }, -0x0430: { /* n:"BrtBeginSlicerCacheID", */ T:1 }, -0x0431: { /* n:"BrtEndSlicerCacheID", */ T:-1 }, -0x0433: { /* n:"BrtBeginSlicerCache", */ T:1 }, -0x0434: { /* n:"BrtEndSlicerCache", */ T:-1 }, -0x0435: { /* n:"BrtBeginSlicerCacheDef", */ T:1 }, -0x0436: { /* n:"BrtEndSlicerCacheDef", */ T:-1 }, -0x0437: { /* n:"BrtBeginSlicersEx", */ T:1 }, -0x0438: { /* n:"BrtEndSlicersEx", */ T:-1 }, -0x0439: { /* n:"BrtBeginSlicerEx", */ T:1 }, -0x043A: { /* n:"BrtEndSlicerEx", */ T:-1 }, -0x043B: { /* n:"BrtBeginSlicer", */ T:1 }, -0x043C: { /* n:"BrtEndSlicer", */ T:-1 }, -0x043D: { /* n:"BrtSlicerCachePivotTables" */ }, -0x043E: { /* n:"BrtBeginSlicerCacheOlapImpl", */ T:1 }, -0x043F: { /* n:"BrtEndSlicerCacheOlapImpl", */ T:-1 }, -0x0440: { /* n:"BrtBeginSlicerCacheLevelsData", */ T:1 }, -0x0441: { /* n:"BrtEndSlicerCacheLevelsData", */ T:-1 }, -0x0442: { /* n:"BrtBeginSlicerCacheLevelData", */ T:1 }, -0x0443: { /* n:"BrtEndSlicerCacheLevelData", */ T:-1 }, -0x0444: { /* n:"BrtBeginSlicerCacheSiRanges", */ T:1 }, -0x0445: { /* n:"BrtEndSlicerCacheSiRanges", */ T:-1 }, -0x0446: { /* n:"BrtBeginSlicerCacheSiRange", */ T:1 }, -0x0447: { /* n:"BrtEndSlicerCacheSiRange", */ T:-1 }, -0x0448: { /* n:"BrtSlicerCacheOlapItem" */ }, -0x0449: { /* n:"BrtBeginSlicerCacheSelections", */ T:1 }, -0x044A: { /* n:"BrtSlicerCacheSelection" */ }, -0x044B: { /* n:"BrtEndSlicerCacheSelections", */ T:-1 }, -0x044C: { /* n:"BrtBeginSlicerCacheNative", */ T:1 }, -0x044D: { /* n:"BrtEndSlicerCacheNative", */ T:-1 }, -0x044E: { /* n:"BrtSlicerCacheNativeItem" */ }, -0x044F: { /* n:"BrtRangeProtection14" */ }, -0x0450: { /* n:"BrtRangeProtectionIso14" */ }, -0x0451: { /* n:"BrtCellIgnoreEC14" */ }, -0x0457: { /* n:"BrtList14" */ }, -0x0458: { /* n:"BrtCFIcon" */ }, -0x0459: { /* n:"BrtBeginSlicerCachesPivotCacheIDs", */ T:1 }, -0x045A: { /* n:"BrtEndSlicerCachesPivotCacheIDs", */ T:-1 }, -0x045B: { /* n:"BrtBeginSlicers", */ T:1 }, -0x045C: { /* n:"BrtEndSlicers", */ T:-1 }, -0x045D: { /* n:"BrtWbProp14" */ }, -0x045E: { /* n:"BrtBeginSXEdit", */ T:1 }, -0x045F: { /* n:"BrtEndSXEdit", */ T:-1 }, -0x0460: { /* n:"BrtBeginSXEdits", */ T:1 }, -0x0461: { /* n:"BrtEndSXEdits", */ T:-1 }, -0x0462: { /* n:"BrtBeginSXChange", */ T:1 }, -0x0463: { /* n:"BrtEndSXChange", */ T:-1 }, -0x0464: { /* n:"BrtBeginSXChanges", */ T:1 }, -0x0465: { /* n:"BrtEndSXChanges", */ T:-1 }, -0x0466: { /* n:"BrtSXTupleItems" */ }, -0x0468: { /* n:"BrtBeginSlicerStyle", */ T:1 }, -0x0469: { /* n:"BrtEndSlicerStyle", */ T:-1 }, -0x046A: { /* n:"BrtSlicerStyleElement" */ }, -0x046B: { /* n:"BrtBeginStyleSheetExt14", */ T:1 }, -0x046C: { /* n:"BrtEndStyleSheetExt14", */ T:-1 }, -0x046D: { /* n:"BrtBeginSlicerCachesPivotCacheID", */ T:1 }, -0x046E: { /* n:"BrtEndSlicerCachesPivotCacheID", */ T:-1 }, -0x046F: { /* n:"BrtBeginConditionalFormattings", */ T:1 }, -0x0470: { /* n:"BrtEndConditionalFormattings", */ T:-1 }, -0x0471: { /* n:"BrtBeginPCDCalcMemExt", */ T:1 }, -0x0472: { /* n:"BrtEndPCDCalcMemExt", */ T:-1 }, -0x0473: { /* n:"BrtBeginPCDCalcMemsExt", */ T:1 }, -0x0474: { /* n:"BrtEndPCDCalcMemsExt", */ T:-1 }, -0x0475: { /* n:"BrtPCDField14" */ }, -0x0476: { /* n:"BrtBeginSlicerStyles", */ T:1 }, -0x0477: { /* n:"BrtEndSlicerStyles", */ T:-1 }, -0x0478: { /* n:"BrtBeginSlicerStyleElements", */ T:1 }, -0x0479: { /* n:"BrtEndSlicerStyleElements", */ T:-1 }, -0x047A: { /* n:"BrtCFRuleExt" */ }, -0x047B: { /* n:"BrtBeginSXCondFmt14", */ T:1 }, -0x047C: { /* n:"BrtEndSXCondFmt14", */ T:-1 }, -0x047D: { /* n:"BrtBeginSXCondFmts14", */ T:1 }, -0x047E: { /* n:"BrtEndSXCondFmts14", */ T:-1 }, -0x0480: { /* n:"BrtBeginSortCond14", */ T:1 }, -0x0481: { /* n:"BrtEndSortCond14", */ T:-1 }, -0x0482: { /* n:"BrtEndDVals14", */ T:-1 }, -0x0483: { /* n:"BrtEndIconSet14", */ T:-1 }, -0x0484: { /* n:"BrtEndDatabar14", */ T:-1 }, -0x0485: { /* n:"BrtBeginColorScale14", */ T:1 }, -0x0486: { /* n:"BrtEndColorScale14", */ T:-1 }, -0x0487: { /* n:"BrtBeginSxrules14", */ T:1 }, -0x0488: { /* n:"BrtEndSxrules14", */ T:-1 }, -0x0489: { /* n:"BrtBeginPRule14", */ T:1 }, -0x048A: { /* n:"BrtEndPRule14", */ T:-1 }, -0x048B: { /* n:"BrtBeginPRFilters14", */ T:1 }, -0x048C: { /* n:"BrtEndPRFilters14", */ T:-1 }, -0x048D: { /* n:"BrtBeginPRFilter14", */ T:1 }, -0x048E: { /* n:"BrtEndPRFilter14", */ T:-1 }, -0x048F: { /* n:"BrtBeginPRFItem14", */ T:1 }, -0x0490: { /* n:"BrtEndPRFItem14", */ T:-1 }, -0x0491: { /* n:"BrtBeginCellIgnoreECs14", */ T:1 }, -0x0492: { /* n:"BrtEndCellIgnoreECs14", */ T:-1 }, -0x0493: { /* n:"BrtDxf14" */ }, -0x0494: { /* n:"BrtBeginDxF14s", */ T:1 }, -0x0495: { /* n:"BrtEndDxf14s", */ T:-1 }, -0x0499: { /* n:"BrtFilter14" */ }, -0x049A: { /* n:"BrtBeginCustomFilters14", */ T:1 }, -0x049C: { /* n:"BrtCustomFilter14" */ }, -0x049D: { /* n:"BrtIconFilter14" */ }, -0x049E: { /* n:"BrtPivotCacheConnectionName" */ }, -0x0800: { /* n:"BrtBeginDecoupledPivotCacheIDs", */ T:1 }, -0x0801: { /* n:"BrtEndDecoupledPivotCacheIDs", */ T:-1 }, -0x0802: { /* n:"BrtDecoupledPivotCacheID" */ }, -0x0803: { /* n:"BrtBeginPivotTableRefs", */ T:1 }, -0x0804: { /* n:"BrtEndPivotTableRefs", */ T:-1 }, -0x0805: { /* n:"BrtPivotTableRef" */ }, -0x0806: { /* n:"BrtSlicerCacheBookPivotTables" */ }, -0x0807: { /* n:"BrtBeginSxvcells", */ T:1 }, -0x0808: { /* n:"BrtEndSxvcells", */ T:-1 }, -0x0809: { /* n:"BrtBeginSxRow", */ T:1 }, -0x080A: { /* n:"BrtEndSxRow", */ T:-1 }, -0x080C: { /* n:"BrtPcdCalcMem15" */ }, -0x0813: { /* n:"BrtQsi15" */ }, -0x0814: { /* n:"BrtBeginWebExtensions", */ T:1 }, -0x0815: { /* n:"BrtEndWebExtensions", */ T:-1 }, -0x0816: { /* n:"BrtWebExtension" */ }, -0x0817: { /* n:"BrtAbsPath15" */ }, -0x0818: { /* n:"BrtBeginPivotTableUISettings", */ T:1 }, -0x0819: { /* n:"BrtEndPivotTableUISettings", */ T:-1 }, -0x081B: { /* n:"BrtTableSlicerCacheIDs" */ }, -0x081C: { /* n:"BrtTableSlicerCacheID" */ }, -0x081D: { /* n:"BrtBeginTableSlicerCache", */ T:1 }, -0x081E: { /* n:"BrtEndTableSlicerCache", */ T:-1 }, -0x081F: { /* n:"BrtSxFilter15" */ }, -0x0820: { /* n:"BrtBeginTimelineCachePivotCacheIDs", */ T:1 }, -0x0821: { /* n:"BrtEndTimelineCachePivotCacheIDs", */ T:-1 }, -0x0822: { /* n:"BrtTimelineCachePivotCacheID" */ }, -0x0823: { /* n:"BrtBeginTimelineCacheIDs", */ T:1 }, -0x0824: { /* n:"BrtEndTimelineCacheIDs", */ T:-1 }, -0x0825: { /* n:"BrtBeginTimelineCacheID", */ T:1 }, -0x0826: { /* n:"BrtEndTimelineCacheID", */ T:-1 }, -0x0827: { /* n:"BrtBeginTimelinesEx", */ T:1 }, -0x0828: { /* n:"BrtEndTimelinesEx", */ T:-1 }, -0x0829: { /* n:"BrtBeginTimelineEx", */ T:1 }, -0x082A: { /* n:"BrtEndTimelineEx", */ T:-1 }, -0x082B: { /* n:"BrtWorkBookPr15" */ }, -0x082C: { /* n:"BrtPCDH15" */ }, -0x082D: { /* n:"BrtBeginTimelineStyle", */ T:1 }, -0x082E: { /* n:"BrtEndTimelineStyle", */ T:-1 }, -0x082F: { /* n:"BrtTimelineStyleElement" */ }, -0x0830: { /* n:"BrtBeginTimelineStylesheetExt15", */ T:1 }, -0x0831: { /* n:"BrtEndTimelineStylesheetExt15", */ T:-1 }, -0x0832: { /* n:"BrtBeginTimelineStyles", */ T:1 }, -0x0833: { /* n:"BrtEndTimelineStyles", */ T:-1 }, -0x0834: { /* n:"BrtBeginTimelineStyleElements", */ T:1 }, -0x0835: { /* n:"BrtEndTimelineStyleElements", */ T:-1 }, -0x0836: { /* n:"BrtDxf15" */ }, -0x0837: { /* n:"BrtBeginDxfs15", */ T:1 }, -0x0838: { /* n:"BrtEndDxfs15", */ T:-1 }, -0x0839: { /* n:"BrtSlicerCacheHideItemsWithNoData" */ }, -0x083A: { /* n:"BrtBeginItemUniqueNames", */ T:1 }, -0x083B: { /* n:"BrtEndItemUniqueNames", */ T:-1 }, -0x083C: { /* n:"BrtItemUniqueName" */ }, -0x083D: { /* n:"BrtBeginExtConn15", */ T:1 }, -0x083E: { /* n:"BrtEndExtConn15", */ T:-1 }, -0x083F: { /* n:"BrtBeginOledbPr15", */ T:1 }, -0x0840: { /* n:"BrtEndOledbPr15", */ T:-1 }, -0x0841: { /* n:"BrtBeginDataFeedPr15", */ T:1 }, -0x0842: { /* n:"BrtEndDataFeedPr15", */ T:-1 }, -0x0843: { /* n:"BrtTextPr15" */ }, -0x0844: { /* n:"BrtRangePr15" */ }, -0x0845: { /* n:"BrtDbCommand15" */ }, -0x0846: { /* n:"BrtBeginDbTables15", */ T:1 }, -0x0847: { /* n:"BrtEndDbTables15", */ T:-1 }, -0x0848: { /* n:"BrtDbTable15" */ }, -0x0849: { /* n:"BrtBeginDataModel", */ T:1 }, -0x084A: { /* n:"BrtEndDataModel", */ T:-1 }, -0x084B: { /* n:"BrtBeginModelTables", */ T:1 }, -0x084C: { /* n:"BrtEndModelTables", */ T:-1 }, -0x084D: { /* n:"BrtModelTable" */ }, -0x084E: { /* n:"BrtBeginModelRelationships", */ T:1 }, -0x084F: { /* n:"BrtEndModelRelationships", */ T:-1 }, -0x0850: { /* n:"BrtModelRelationship" */ }, -0x0851: { /* n:"BrtBeginECTxtWiz15", */ T:1 }, -0x0852: { /* n:"BrtEndECTxtWiz15", */ T:-1 }, -0x0853: { /* n:"BrtBeginECTWFldInfoLst15", */ T:1 }, -0x0854: { /* n:"BrtEndECTWFldInfoLst15", */ T:-1 }, -0x0855: { /* n:"BrtBeginECTWFldInfo15", */ T:1 }, -0x0856: { /* n:"BrtFieldListActiveItem" */ }, -0x0857: { /* n:"BrtPivotCacheIdVersion" */ }, -0x0858: { /* n:"BrtSXDI15" */ }, -0x0859: { /* n:"BrtBeginModelTimeGroupings", */ T:1 }, -0x085A: { /* n:"BrtEndModelTimeGroupings", */ T:-1 }, -0x085B: { /* n:"BrtBeginModelTimeGrouping", */ T:1 }, -0x085C: { /* n:"BrtEndModelTimeGrouping", */ T:-1 }, -0x085D: { /* n:"BrtModelTimeGroupingCalcCol" */ }, -0x0C00: { /* n:"BrtUid" */ }, -0x0C01: { /* n:"BrtRevisionPtr" */ }, -0x1000: { /* n:"BrtBeginDynamicArrayPr", */ T:1 }, -0x1001: { /* n:"BrtEndDynamicArrayPr", */ T:-1 }, -0x138A: { /* n:"BrtBeginRichValueBlock", */ T:1 }, -0x138B: { /* n:"BrtEndRichValueBlock", */ T:-1 }, -0x13D9: { /* n:"BrtBeginRichFilters", */ T:1 }, -0x13DA: { /* n:"BrtEndRichFilters", */ T:-1 }, -0x13DB: { /* n:"BrtRichFilter" */ }, -0x13DC: { /* n:"BrtBeginRichFilterColumn", */ T:1 }, -0x13DD: { /* n:"BrtEndRichFilterColumn", */ T:-1 }, -0x13DE: { /* n:"BrtBeginCustomRichFilters", */ T:1 }, -0x13DF: { /* n:"BrtEndCustomRichFilters", */ T:-1 }, -0x13E0: { /* n:"BrtCustomRichFilter" */ }, -0x13E1: { /* n:"BrtTop10RichFilter" */ }, -0x13E2: { /* n:"BrtDynamicRichFilter" */ }, -0x13E4: { /* n:"BrtBeginRichSortCondition", */ T:1 }, -0x13E5: { /* n:"BrtEndRichSortCondition", */ T:-1 }, -0x13E6: { /* n:"BrtRichFilterDateGroupItem" */ }, -0x13E7: { /* n:"BrtBeginCalcFeatures", */ T:1 }, -0x13E8: { /* n:"BrtEndCalcFeatures", */ T:-1 }, -0x13E9: { /* n:"BrtCalcFeature" */ }, -0x13EB: { /* n:"BrtExternalLinksPr" */ }, -0xFFFF: { n:"" } + 0x0000: { /* n:"BrtRowHdr", */ f:parse_BrtRowHdr }, + 0x0001: { /* n:"BrtCellBlank", */ f:parse_BrtCellBlank }, + 0x0002: { /* n:"BrtCellRk", */ f:parse_BrtCellRk }, + 0x0003: { /* n:"BrtCellError", */ f:parse_BrtCellError }, + 0x0004: { /* n:"BrtCellBool", */ f:parse_BrtCellBool }, + 0x0005: { /* n:"BrtCellReal", */ f:parse_BrtCellReal }, + 0x0006: { /* n:"BrtCellSt", */ f:parse_BrtCellSt }, + 0x0007: { /* n:"BrtCellIsst", */ f:parse_BrtCellIsst }, + 0x0008: { /* n:"BrtFmlaString", */ f:parse_BrtFmlaString }, + 0x0009: { /* n:"BrtFmlaNum", */ f:parse_BrtFmlaNum }, + 0x000A: { /* n:"BrtFmlaBool", */ f:parse_BrtFmlaBool }, + 0x000B: { /* n:"BrtFmlaError", */ f:parse_BrtFmlaError }, + 0x000C: { /* n:"BrtShortBlank", */ f:parse_BrtShortBlank }, + 0x000D: { /* n:"BrtShortRk", */ f:parse_BrtShortRk }, + 0x000E: { /* n:"BrtShortError", */ f:parse_BrtShortError }, + 0x000F: { /* n:"BrtShortBool", */ f:parse_BrtShortBool }, + 0x0010: { /* n:"BrtShortReal", */ f:parse_BrtShortReal }, + 0x0011: { /* n:"BrtShortSt", */ f:parse_BrtShortSt }, + 0x0012: { /* n:"BrtShortIsst", */ f:parse_BrtShortIsst }, + 0x0013: { /* n:"BrtSSTItem", */ f:parse_RichStr }, + 0x0014: { /* n:"BrtPCDIMissing" */ }, + 0x0015: { /* n:"BrtPCDINumber" */ }, + 0x0016: { /* n:"BrtPCDIBoolean" */ }, + 0x0017: { /* n:"BrtPCDIError" */ }, + 0x0018: { /* n:"BrtPCDIString" */ }, + 0x0019: { /* n:"BrtPCDIDatetime" */ }, + 0x001A: { /* n:"BrtPCDIIndex" */ }, + 0x001B: { /* n:"BrtPCDIAMissing" */ }, + 0x001C: { /* n:"BrtPCDIANumber" */ }, + 0x001D: { /* n:"BrtPCDIABoolean" */ }, + 0x001E: { /* n:"BrtPCDIAError" */ }, + 0x001F: { /* n:"BrtPCDIAString" */ }, + 0x0020: { /* n:"BrtPCDIADatetime" */ }, + 0x0021: { /* n:"BrtPCRRecord" */ }, + 0x0022: { /* n:"BrtPCRRecordDt" */ }, + 0x0023: { /* n:"BrtFRTBegin", */ T:1 }, + 0x0024: { /* n:"BrtFRTEnd", */ T:-1 }, + 0x0025: { /* n:"BrtACBegin", */ T:1 }, + 0x0026: { /* n:"BrtACEnd", */ T:-1 }, + 0x0027: { /* n:"BrtName", */ f:parse_BrtName }, + 0x0028: { /* n:"BrtIndexRowBlock" */ }, + 0x002A: { /* n:"BrtIndexBlock" */ }, + 0x002B: { /* n:"BrtFont", */ f:parse_BrtFont }, + 0x002C: { /* n:"BrtFmt", */ f:parse_BrtFmt }, + 0x002D: { /* n:"BrtFill", */ f:parse_BrtFill }, + 0x002E: { /* n:"BrtBorder", */ f:parse_BrtBorder }, + 0x002F: { /* n:"BrtXF", */ f:parse_BrtXF }, + 0x0030: { /* n:"BrtStyle" */ }, + 0x0031: { /* n:"BrtCellMeta", */ f:parse_Int32LE }, + 0x0032: { /* n:"BrtValueMeta" */ }, + 0x0033: { /* n:"BrtMdb" */ f:parse_BrtMdb }, + 0x0034: { /* n:"BrtBeginFmd", */ T:1 }, + 0x0035: { /* n:"BrtEndFmd", */ T:-1 }, + 0x0036: { /* n:"BrtBeginMdx", */ T:1 }, + 0x0037: { /* n:"BrtEndMdx", */ T:-1 }, + 0x0038: { /* n:"BrtBeginMdxTuple", */ T:1 }, + 0x0039: { /* n:"BrtEndMdxTuple", */ T:-1 }, + 0x003A: { /* n:"BrtMdxMbrIstr" */ }, + 0x003B: { /* n:"BrtStr" */ }, + 0x003C: { /* n:"BrtColInfo", */ f:parse_ColInfo }, + 0x003E: { /* n:"BrtCellRString", */ f:parse_BrtCellRString }, + 0x003F: { /* n:"BrtCalcChainItem$", */ f:parse_BrtCalcChainItem$ }, + 0x0040: { /* n:"BrtDVal", */ f:parse_BrtDVal }, + 0x0041: { /* n:"BrtSxvcellNum" */ }, + 0x0042: { /* n:"BrtSxvcellStr" */ }, + 0x0043: { /* n:"BrtSxvcellBool" */ }, + 0x0044: { /* n:"BrtSxvcellErr" */ }, + 0x0045: { /* n:"BrtSxvcellDate" */ }, + 0x0046: { /* n:"BrtSxvcellNil" */ }, + 0x0080: { /* n:"BrtFileVersion" */ }, + 0x0081: { /* n:"BrtBeginSheet", */ T:1 }, + 0x0082: { /* n:"BrtEndSheet", */ T:-1 }, + 0x0083: { /* n:"BrtBeginBook", */ T:1, f:parsenoop, p:0 }, + 0x0084: { /* n:"BrtEndBook", */ T:-1 }, + 0x0085: { /* n:"BrtBeginWsViews", */ T:1 }, + 0x0086: { /* n:"BrtEndWsViews", */ T:-1 }, + 0x0087: { /* n:"BrtBeginBookViews", */ T:1 }, + 0x0088: { /* n:"BrtEndBookViews", */ T:-1 }, + 0x0089: { /* n:"BrtBeginWsView", */ T:1, f:parse_BrtBeginWsView }, + 0x008A: { /* n:"BrtEndWsView", */ T:-1 }, + 0x008B: { /* n:"BrtBeginCsViews", */ T:1 }, + 0x008C: { /* n:"BrtEndCsViews", */ T:-1 }, + 0x008D: { /* n:"BrtBeginCsView", */ T:1 }, + 0x008E: { /* n:"BrtEndCsView", */ T:-1 }, + 0x008F: { /* n:"BrtBeginBundleShs", */ T:1 }, + 0x0090: { /* n:"BrtEndBundleShs", */ T:-1 }, + 0x0091: { /* n:"BrtBeginSheetData", */ T:1 }, + 0x0092: { /* n:"BrtEndSheetData", */ T:-1 }, + 0x0093: { /* n:"BrtWsProp", */ f:parse_BrtWsProp }, + 0x0094: { /* n:"BrtWsDim", */ f:parse_BrtWsDim, p:16 }, + 0x0097: { /* n:"BrtPane", */ f:parse_BrtPane }, + 0x0098: { /* n:"BrtSel" */ }, + 0x0099: { /* n:"BrtWbProp", */ f:parse_BrtWbProp }, + 0x009A: { /* n:"BrtWbFactoid" */ }, + 0x009B: { /* n:"BrtFileRecover" */ }, + 0x009C: { /* n:"BrtBundleSh", */ f:parse_BrtBundleSh }, + 0x009D: { /* n:"BrtCalcProp" */ }, + 0x009E: { /* n:"BrtBookView" */ }, + 0x009F: { /* n:"BrtBeginSst", */ T:1, f:parse_BrtBeginSst }, + 0x00A0: { /* n:"BrtEndSst", */ T:-1 }, + 0x00A1: { /* n:"BrtBeginAFilter", */ T:1, f:parse_UncheckedRfX }, + 0x00A2: { /* n:"BrtEndAFilter", */ T:-1 }, + 0x00A3: { /* n:"BrtBeginFilterColumn", */ T:1 }, + 0x00A4: { /* n:"BrtEndFilterColumn", */ T:-1 }, + 0x00A5: { /* n:"BrtBeginFilters", */ T:1 }, + 0x00A6: { /* n:"BrtEndFilters", */ T:-1 }, + 0x00A7: { /* n:"BrtFilter" */ }, + 0x00A8: { /* n:"BrtColorFilter" */ }, + 0x00A9: { /* n:"BrtIconFilter" */ }, + 0x00AA: { /* n:"BrtTop10Filter" */ }, + 0x00AB: { /* n:"BrtDynamicFilter" */ }, + 0x00AC: { /* n:"BrtBeginCustomFilters", */ T:1 }, + 0x00AD: { /* n:"BrtEndCustomFilters", */ T:-1 }, + 0x00AE: { /* n:"BrtCustomFilter" */ }, + 0x00AF: { /* n:"BrtAFilterDateGroupItem" */ }, + 0x00B0: { /* n:"BrtMergeCell", */ f:parse_BrtMergeCell }, + 0x00B1: { /* n:"BrtBeginMergeCells", */ T:1 }, + 0x00B2: { /* n:"BrtEndMergeCells", */ T:-1 }, + 0x00B3: { /* n:"BrtBeginPivotCacheDef", */ T:1 }, + 0x00B4: { /* n:"BrtEndPivotCacheDef", */ T:-1 }, + 0x00B5: { /* n:"BrtBeginPCDFields", */ T:1 }, + 0x00B6: { /* n:"BrtEndPCDFields", */ T:-1 }, + 0x00B7: { /* n:"BrtBeginPCDField", */ T:1 }, + 0x00B8: { /* n:"BrtEndPCDField", */ T:-1 }, + 0x00B9: { /* n:"BrtBeginPCDSource", */ T:1 }, + 0x00BA: { /* n:"BrtEndPCDSource", */ T:-1 }, + 0x00BB: { /* n:"BrtBeginPCDSRange", */ T:1 }, + 0x00BC: { /* n:"BrtEndPCDSRange", */ T:-1 }, + 0x00BD: { /* n:"BrtBeginPCDFAtbl", */ T:1 }, + 0x00BE: { /* n:"BrtEndPCDFAtbl", */ T:-1 }, + 0x00BF: { /* n:"BrtBeginPCDIRun", */ T:1 }, + 0x00C0: { /* n:"BrtEndPCDIRun", */ T:-1 }, + 0x00C1: { /* n:"BrtBeginPivotCacheRecords", */ T:1 }, + 0x00C2: { /* n:"BrtEndPivotCacheRecords", */ T:-1 }, + 0x00C3: { /* n:"BrtBeginPCDHierarchies", */ T:1 }, + 0x00C4: { /* n:"BrtEndPCDHierarchies", */ T:-1 }, + 0x00C5: { /* n:"BrtBeginPCDHierarchy", */ T:1 }, + 0x00C6: { /* n:"BrtEndPCDHierarchy", */ T:-1 }, + 0x00C7: { /* n:"BrtBeginPCDHFieldsUsage", */ T:1 }, + 0x00C8: { /* n:"BrtEndPCDHFieldsUsage", */ T:-1 }, + 0x00C9: { /* n:"BrtBeginExtConnection", */ T:1 }, + 0x00CA: { /* n:"BrtEndExtConnection", */ T:-1 }, + 0x00CB: { /* n:"BrtBeginECDbProps", */ T:1 }, + 0x00CC: { /* n:"BrtEndECDbProps", */ T:-1 }, + 0x00CD: { /* n:"BrtBeginECOlapProps", */ T:1 }, + 0x00CE: { /* n:"BrtEndECOlapProps", */ T:-1 }, + 0x00CF: { /* n:"BrtBeginPCDSConsol", */ T:1 }, + 0x00D0: { /* n:"BrtEndPCDSConsol", */ T:-1 }, + 0x00D1: { /* n:"BrtBeginPCDSCPages", */ T:1 }, + 0x00D2: { /* n:"BrtEndPCDSCPages", */ T:-1 }, + 0x00D3: { /* n:"BrtBeginPCDSCPage", */ T:1 }, + 0x00D4: { /* n:"BrtEndPCDSCPage", */ T:-1 }, + 0x00D5: { /* n:"BrtBeginPCDSCPItem", */ T:1 }, + 0x00D6: { /* n:"BrtEndPCDSCPItem", */ T:-1 }, + 0x00D7: { /* n:"BrtBeginPCDSCSets", */ T:1 }, + 0x00D8: { /* n:"BrtEndPCDSCSets", */ T:-1 }, + 0x00D9: { /* n:"BrtBeginPCDSCSet", */ T:1 }, + 0x00DA: { /* n:"BrtEndPCDSCSet", */ T:-1 }, + 0x00DB: { /* n:"BrtBeginPCDFGroup", */ T:1 }, + 0x00DC: { /* n:"BrtEndPCDFGroup", */ T:-1 }, + 0x00DD: { /* n:"BrtBeginPCDFGItems", */ T:1 }, + 0x00DE: { /* n:"BrtEndPCDFGItems", */ T:-1 }, + 0x00DF: { /* n:"BrtBeginPCDFGRange", */ T:1 }, + 0x00E0: { /* n:"BrtEndPCDFGRange", */ T:-1 }, + 0x00E1: { /* n:"BrtBeginPCDFGDiscrete", */ T:1 }, + 0x00E2: { /* n:"BrtEndPCDFGDiscrete", */ T:-1 }, + 0x00E3: { /* n:"BrtBeginPCDSDTupleCache", */ T:1 }, + 0x00E4: { /* n:"BrtEndPCDSDTupleCache", */ T:-1 }, + 0x00E5: { /* n:"BrtBeginPCDSDTCEntries", */ T:1 }, + 0x00E6: { /* n:"BrtEndPCDSDTCEntries", */ T:-1 }, + 0x00E7: { /* n:"BrtBeginPCDSDTCEMembers", */ T:1 }, + 0x00E8: { /* n:"BrtEndPCDSDTCEMembers", */ T:-1 }, + 0x00E9: { /* n:"BrtBeginPCDSDTCEMember", */ T:1 }, + 0x00EA: { /* n:"BrtEndPCDSDTCEMember", */ T:-1 }, + 0x00EB: { /* n:"BrtBeginPCDSDTCQueries", */ T:1 }, + 0x00EC: { /* n:"BrtEndPCDSDTCQueries", */ T:-1 }, + 0x00ED: { /* n:"BrtBeginPCDSDTCQuery", */ T:1 }, + 0x00EE: { /* n:"BrtEndPCDSDTCQuery", */ T:-1 }, + 0x00EF: { /* n:"BrtBeginPCDSDTCSets", */ T:1 }, + 0x00F0: { /* n:"BrtEndPCDSDTCSets", */ T:-1 }, + 0x00F1: { /* n:"BrtBeginPCDSDTCSet", */ T:1 }, + 0x00F2: { /* n:"BrtEndPCDSDTCSet", */ T:-1 }, + 0x00F3: { /* n:"BrtBeginPCDCalcItems", */ T:1 }, + 0x00F4: { /* n:"BrtEndPCDCalcItems", */ T:-1 }, + 0x00F5: { /* n:"BrtBeginPCDCalcItem", */ T:1 }, + 0x00F6: { /* n:"BrtEndPCDCalcItem", */ T:-1 }, + 0x00F7: { /* n:"BrtBeginPRule", */ T:1 }, + 0x00F8: { /* n:"BrtEndPRule", */ T:-1 }, + 0x00F9: { /* n:"BrtBeginPRFilters", */ T:1 }, + 0x00FA: { /* n:"BrtEndPRFilters", */ T:-1 }, + 0x00FB: { /* n:"BrtBeginPRFilter", */ T:1 }, + 0x00FC: { /* n:"BrtEndPRFilter", */ T:-1 }, + 0x00FD: { /* n:"BrtBeginPNames", */ T:1 }, + 0x00FE: { /* n:"BrtEndPNames", */ T:-1 }, + 0x00FF: { /* n:"BrtBeginPName", */ T:1 }, + 0x0100: { /* n:"BrtEndPName", */ T:-1 }, + 0x0101: { /* n:"BrtBeginPNPairs", */ T:1 }, + 0x0102: { /* n:"BrtEndPNPairs", */ T:-1 }, + 0x0103: { /* n:"BrtBeginPNPair", */ T:1 }, + 0x0104: { /* n:"BrtEndPNPair", */ T:-1 }, + 0x0105: { /* n:"BrtBeginECWebProps", */ T:1 }, + 0x0106: { /* n:"BrtEndECWebProps", */ T:-1 }, + 0x0107: { /* n:"BrtBeginEcWpTables", */ T:1 }, + 0x0108: { /* n:"BrtEndECWPTables", */ T:-1 }, + 0x0109: { /* n:"BrtBeginECParams", */ T:1 }, + 0x010A: { /* n:"BrtEndECParams", */ T:-1 }, + 0x010B: { /* n:"BrtBeginECParam", */ T:1 }, + 0x010C: { /* n:"BrtEndECParam", */ T:-1 }, + 0x010D: { /* n:"BrtBeginPCDKPIs", */ T:1 }, + 0x010E: { /* n:"BrtEndPCDKPIs", */ T:-1 }, + 0x010F: { /* n:"BrtBeginPCDKPI", */ T:1 }, + 0x0110: { /* n:"BrtEndPCDKPI", */ T:-1 }, + 0x0111: { /* n:"BrtBeginDims", */ T:1 }, + 0x0112: { /* n:"BrtEndDims", */ T:-1 }, + 0x0113: { /* n:"BrtBeginDim", */ T:1 }, + 0x0114: { /* n:"BrtEndDim", */ T:-1 }, + 0x0115: { /* n:"BrtIndexPartEnd" */ }, + 0x0116: { /* n:"BrtBeginStyleSheet", */ T:1 }, + 0x0117: { /* n:"BrtEndStyleSheet", */ T:-1 }, + 0x0118: { /* n:"BrtBeginSXView", */ T:1 }, + 0x0119: { /* n:"BrtEndSXVI", */ T:-1 }, + 0x011A: { /* n:"BrtBeginSXVI", */ T:1 }, + 0x011B: { /* n:"BrtBeginSXVIs", */ T:1 }, + 0x011C: { /* n:"BrtEndSXVIs", */ T:-1 }, + 0x011D: { /* n:"BrtBeginSXVD", */ T:1 }, + 0x011E: { /* n:"BrtEndSXVD", */ T:-1 }, + 0x011F: { /* n:"BrtBeginSXVDs", */ T:1 }, + 0x0120: { /* n:"BrtEndSXVDs", */ T:-1 }, + 0x0121: { /* n:"BrtBeginSXPI", */ T:1 }, + 0x0122: { /* n:"BrtEndSXPI", */ T:-1 }, + 0x0123: { /* n:"BrtBeginSXPIs", */ T:1 }, + 0x0124: { /* n:"BrtEndSXPIs", */ T:-1 }, + 0x0125: { /* n:"BrtBeginSXDI", */ T:1 }, + 0x0126: { /* n:"BrtEndSXDI", */ T:-1 }, + 0x0127: { /* n:"BrtBeginSXDIs", */ T:1 }, + 0x0128: { /* n:"BrtEndSXDIs", */ T:-1 }, + 0x0129: { /* n:"BrtBeginSXLI", */ T:1 }, + 0x012A: { /* n:"BrtEndSXLI", */ T:-1 }, + 0x012B: { /* n:"BrtBeginSXLIRws", */ T:1 }, + 0x012C: { /* n:"BrtEndSXLIRws", */ T:-1 }, + 0x012D: { /* n:"BrtBeginSXLICols", */ T:1 }, + 0x012E: { /* n:"BrtEndSXLICols", */ T:-1 }, + 0x012F: { /* n:"BrtBeginSXFormat", */ T:1 }, + 0x0130: { /* n:"BrtEndSXFormat", */ T:-1 }, + 0x0131: { /* n:"BrtBeginSXFormats", */ T:1 }, + 0x0132: { /* n:"BrtEndSxFormats", */ T:-1 }, + 0x0133: { /* n:"BrtBeginSxSelect", */ T:1 }, + 0x0134: { /* n:"BrtEndSxSelect", */ T:-1 }, + 0x0135: { /* n:"BrtBeginISXVDRws", */ T:1 }, + 0x0136: { /* n:"BrtEndISXVDRws", */ T:-1 }, + 0x0137: { /* n:"BrtBeginISXVDCols", */ T:1 }, + 0x0138: { /* n:"BrtEndISXVDCols", */ T:-1 }, + 0x0139: { /* n:"BrtEndSXLocation", */ T:-1 }, + 0x013A: { /* n:"BrtBeginSXLocation", */ T:1 }, + 0x013B: { /* n:"BrtEndSXView", */ T:-1 }, + 0x013C: { /* n:"BrtBeginSXTHs", */ T:1 }, + 0x013D: { /* n:"BrtEndSXTHs", */ T:-1 }, + 0x013E: { /* n:"BrtBeginSXTH", */ T:1 }, + 0x013F: { /* n:"BrtEndSXTH", */ T:-1 }, + 0x0140: { /* n:"BrtBeginISXTHRws", */ T:1 }, + 0x0141: { /* n:"BrtEndISXTHRws", */ T:-1 }, + 0x0142: { /* n:"BrtBeginISXTHCols", */ T:1 }, + 0x0143: { /* n:"BrtEndISXTHCols", */ T:-1 }, + 0x0144: { /* n:"BrtBeginSXTDMPS", */ T:1 }, + 0x0145: { /* n:"BrtEndSXTDMPs", */ T:-1 }, + 0x0146: { /* n:"BrtBeginSXTDMP", */ T:1 }, + 0x0147: { /* n:"BrtEndSXTDMP", */ T:-1 }, + 0x0148: { /* n:"BrtBeginSXTHItems", */ T:1 }, + 0x0149: { /* n:"BrtEndSXTHItems", */ T:-1 }, + 0x014A: { /* n:"BrtBeginSXTHItem", */ T:1 }, + 0x014B: { /* n:"BrtEndSXTHItem", */ T:-1 }, + 0x014C: { /* n:"BrtBeginMetadata", */ T:1 }, + 0x014D: { /* n:"BrtEndMetadata", */ T:-1 }, + 0x014E: { /* n:"BrtBeginEsmdtinfo", */ T:1 }, + 0x014F: { /* n:"BrtMdtinfo", */ f:parse_BrtMdtinfo }, + 0x0150: { /* n:"BrtEndEsmdtinfo", */ T:-1 }, + 0x0151: { /* n:"BrtBeginEsmdb", */ f:parse_BrtBeginEsmdb, T:1 }, + 0x0152: { /* n:"BrtEndEsmdb", */ T:-1 }, + 0x0153: { /* n:"BrtBeginEsfmd", */ T:1 }, + 0x0154: { /* n:"BrtEndEsfmd", */ T:-1 }, + 0x0155: { /* n:"BrtBeginSingleCells", */ T:1 }, + 0x0156: { /* n:"BrtEndSingleCells", */ T:-1 }, + 0x0157: { /* n:"BrtBeginList", */ T:1 }, + 0x0158: { /* n:"BrtEndList", */ T:-1 }, + 0x0159: { /* n:"BrtBeginListCols", */ T:1 }, + 0x015A: { /* n:"BrtEndListCols", */ T:-1 }, + 0x015B: { /* n:"BrtBeginListCol", */ T:1 }, + 0x015C: { /* n:"BrtEndListCol", */ T:-1 }, + 0x015D: { /* n:"BrtBeginListXmlCPr", */ T:1 }, + 0x015E: { /* n:"BrtEndListXmlCPr", */ T:-1 }, + 0x015F: { /* n:"BrtListCCFmla" */ }, + 0x0160: { /* n:"BrtListTrFmla" */ }, + 0x0161: { /* n:"BrtBeginExternals", */ T:1 }, + 0x0162: { /* n:"BrtEndExternals", */ T:-1 }, + 0x0163: { /* n:"BrtSupBookSrc", */ f:parse_RelID}, + 0x0165: { /* n:"BrtSupSelf" */ }, + 0x0166: { /* n:"BrtSupSame" */ }, + 0x0167: { /* n:"BrtSupTabs" */ }, + 0x0168: { /* n:"BrtBeginSupBook", */ T:1 }, + 0x0169: { /* n:"BrtPlaceholderName" */ }, + 0x016A: { /* n:"BrtExternSheet", */ f:parse_ExternSheet }, + 0x016B: { /* n:"BrtExternTableStart" */ }, + 0x016C: { /* n:"BrtExternTableEnd" */ }, + 0x016E: { /* n:"BrtExternRowHdr" */ }, + 0x016F: { /* n:"BrtExternCellBlank" */ }, + 0x0170: { /* n:"BrtExternCellReal" */ }, + 0x0171: { /* n:"BrtExternCellBool" */ }, + 0x0172: { /* n:"BrtExternCellError" */ }, + 0x0173: { /* n:"BrtExternCellString" */ }, + 0x0174: { /* n:"BrtBeginEsmdx", */ T:1 }, + 0x0175: { /* n:"BrtEndEsmdx", */ T:-1 }, + 0x0176: { /* n:"BrtBeginMdxSet", */ T:1 }, + 0x0177: { /* n:"BrtEndMdxSet", */ T:-1 }, + 0x0178: { /* n:"BrtBeginMdxMbrProp", */ T:1 }, + 0x0179: { /* n:"BrtEndMdxMbrProp", */ T:-1 }, + 0x017A: { /* n:"BrtBeginMdxKPI", */ T:1 }, + 0x017B: { /* n:"BrtEndMdxKPI", */ T:-1 }, + 0x017C: { /* n:"BrtBeginEsstr", */ T:1 }, + 0x017D: { /* n:"BrtEndEsstr", */ T:-1 }, + 0x017E: { /* n:"BrtBeginPRFItem", */ T:1 }, + 0x017F: { /* n:"BrtEndPRFItem", */ T:-1 }, + 0x0180: { /* n:"BrtBeginPivotCacheIDs", */ T:1 }, + 0x0181: { /* n:"BrtEndPivotCacheIDs", */ T:-1 }, + 0x0182: { /* n:"BrtBeginPivotCacheID", */ T:1 }, + 0x0183: { /* n:"BrtEndPivotCacheID", */ T:-1 }, + 0x0184: { /* n:"BrtBeginISXVIs", */ T:1 }, + 0x0185: { /* n:"BrtEndISXVIs", */ T:-1 }, + 0x0186: { /* n:"BrtBeginColInfos", */ T:1 }, + 0x0187: { /* n:"BrtEndColInfos", */ T:-1 }, + 0x0188: { /* n:"BrtBeginRwBrk", */ T:1 }, + 0x0189: { /* n:"BrtEndRwBrk", */ T:-1 }, + 0x018A: { /* n:"BrtBeginColBrk", */ T:1 }, + 0x018B: { /* n:"BrtEndColBrk", */ T:-1 }, + 0x018C: { /* n:"BrtBrk" */ }, + 0x018D: { /* n:"BrtUserBookView" */ }, + 0x018E: { /* n:"BrtInfo" */ }, + 0x018F: { /* n:"BrtCUsr" */ }, + 0x0190: { /* n:"BrtUsr" */ }, + 0x0191: { /* n:"BrtBeginUsers", */ T:1 }, + 0x0193: { /* n:"BrtEOF" */ }, + 0x0194: { /* n:"BrtUCR" */ }, + 0x0195: { /* n:"BrtRRInsDel" */ }, + 0x0196: { /* n:"BrtRREndInsDel" */ }, + 0x0197: { /* n:"BrtRRMove" */ }, + 0x0198: { /* n:"BrtRREndMove" */ }, + 0x0199: { /* n:"BrtRRChgCell" */ }, + 0x019A: { /* n:"BrtRREndChgCell" */ }, + 0x019B: { /* n:"BrtRRHeader" */ }, + 0x019C: { /* n:"BrtRRUserView" */ }, + 0x019D: { /* n:"BrtRRRenSheet" */ }, + 0x019E: { /* n:"BrtRRInsertSh" */ }, + 0x019F: { /* n:"BrtRRDefName" */ }, + 0x01A0: { /* n:"BrtRRNote" */ }, + 0x01A1: { /* n:"BrtRRConflict" */ }, + 0x01A2: { /* n:"BrtRRTQSIF" */ }, + 0x01A3: { /* n:"BrtRRFormat" */ }, + 0x01A4: { /* n:"BrtRREndFormat" */ }, + 0x01A5: { /* n:"BrtRRAutoFmt" */ }, + 0x01A6: { /* n:"BrtBeginUserShViews", */ T:1 }, + 0x01A7: { /* n:"BrtBeginUserShView", */ T:1 }, + 0x01A8: { /* n:"BrtEndUserShView", */ T:-1 }, + 0x01A9: { /* n:"BrtEndUserShViews", */ T:-1 }, + 0x01AA: { /* n:"BrtArrFmla", */ f:parse_BrtArrFmla }, + 0x01AB: { /* n:"BrtShrFmla", */ f:parse_BrtShrFmla }, + 0x01AC: { /* n:"BrtTable" */ }, + 0x01AD: { /* n:"BrtBeginExtConnections", */ T:1 }, + 0x01AE: { /* n:"BrtEndExtConnections", */ T:-1 }, + 0x01AF: { /* n:"BrtBeginPCDCalcMems", */ T:1 }, + 0x01B0: { /* n:"BrtEndPCDCalcMems", */ T:-1 }, + 0x01B1: { /* n:"BrtBeginPCDCalcMem", */ T:1 }, + 0x01B2: { /* n:"BrtEndPCDCalcMem", */ T:-1 }, + 0x01B3: { /* n:"BrtBeginPCDHGLevels", */ T:1 }, + 0x01B4: { /* n:"BrtEndPCDHGLevels", */ T:-1 }, + 0x01B5: { /* n:"BrtBeginPCDHGLevel", */ T:1 }, + 0x01B6: { /* n:"BrtEndPCDHGLevel", */ T:-1 }, + 0x01B7: { /* n:"BrtBeginPCDHGLGroups", */ T:1 }, + 0x01B8: { /* n:"BrtEndPCDHGLGroups", */ T:-1 }, + 0x01B9: { /* n:"BrtBeginPCDHGLGroup", */ T:1 }, + 0x01BA: { /* n:"BrtEndPCDHGLGroup", */ T:-1 }, + 0x01BB: { /* n:"BrtBeginPCDHGLGMembers", */ T:1 }, + 0x01BC: { /* n:"BrtEndPCDHGLGMembers", */ T:-1 }, + 0x01BD: { /* n:"BrtBeginPCDHGLGMember", */ T:1 }, + 0x01BE: { /* n:"BrtEndPCDHGLGMember", */ T:-1 }, + 0x01BF: { /* n:"BrtBeginQSI", */ T:1 }, + 0x01C0: { /* n:"BrtEndQSI", */ T:-1 }, + 0x01C1: { /* n:"BrtBeginQSIR", */ T:1 }, + 0x01C2: { /* n:"BrtEndQSIR", */ T:-1 }, + 0x01C3: { /* n:"BrtBeginDeletedNames", */ T:1 }, + 0x01C4: { /* n:"BrtEndDeletedNames", */ T:-1 }, + 0x01C5: { /* n:"BrtBeginDeletedName", */ T:1 }, + 0x01C6: { /* n:"BrtEndDeletedName", */ T:-1 }, + 0x01C7: { /* n:"BrtBeginQSIFs", */ T:1 }, + 0x01C8: { /* n:"BrtEndQSIFs", */ T:-1 }, + 0x01C9: { /* n:"BrtBeginQSIF", */ T:1 }, + 0x01CA: { /* n:"BrtEndQSIF", */ T:-1 }, + 0x01CB: { /* n:"BrtBeginAutoSortScope", */ T:1 }, + 0x01CC: { /* n:"BrtEndAutoSortScope", */ T:-1 }, + 0x01CD: { /* n:"BrtBeginConditionalFormatting", */ T:1 }, + 0x01CE: { /* n:"BrtEndConditionalFormatting", */ T:-1 }, + 0x01CF: { /* n:"BrtBeginCFRule", */ T:1 }, + 0x01D0: { /* n:"BrtEndCFRule", */ T:-1 }, + 0x01D1: { /* n:"BrtBeginIconSet", */ T:1 }, + 0x01D2: { /* n:"BrtEndIconSet", */ T:-1 }, + 0x01D3: { /* n:"BrtBeginDatabar", */ T:1 }, + 0x01D4: { /* n:"BrtEndDatabar", */ T:-1 }, + 0x01D5: { /* n:"BrtBeginColorScale", */ T:1 }, + 0x01D6: { /* n:"BrtEndColorScale", */ T:-1 }, + 0x01D7: { /* n:"BrtCFVO" */ }, + 0x01D8: { /* n:"BrtExternValueMeta" */ }, + 0x01D9: { /* n:"BrtBeginColorPalette", */ T:1 }, + 0x01DA: { /* n:"BrtEndColorPalette", */ T:-1 }, + 0x01DB: { /* n:"BrtIndexedColor" */ }, + 0x01DC: { /* n:"BrtMargins", */ f:parse_BrtMargins }, + 0x01DD: { /* n:"BrtPrintOptions" */ }, + 0x01DE: { /* n:"BrtPageSetup" */ }, + 0x01DF: { /* n:"BrtBeginHeaderFooter", */ T:1 }, + 0x01E0: { /* n:"BrtEndHeaderFooter", */ T:-1 }, + 0x01E1: { /* n:"BrtBeginSXCrtFormat", */ T:1 }, + 0x01E2: { /* n:"BrtEndSXCrtFormat", */ T:-1 }, + 0x01E3: { /* n:"BrtBeginSXCrtFormats", */ T:1 }, + 0x01E4: { /* n:"BrtEndSXCrtFormats", */ T:-1 }, + 0x01E5: { /* n:"BrtWsFmtInfo", */ f:parse_BrtWsFmtInfo }, + 0x01E6: { /* n:"BrtBeginMgs", */ T:1 }, + 0x01E7: { /* n:"BrtEndMGs", */ T:-1 }, + 0x01E8: { /* n:"BrtBeginMGMaps", */ T:1 }, + 0x01E9: { /* n:"BrtEndMGMaps", */ T:-1 }, + 0x01EA: { /* n:"BrtBeginMG", */ T:1 }, + 0x01EB: { /* n:"BrtEndMG", */ T:-1 }, + 0x01EC: { /* n:"BrtBeginMap", */ T:1 }, + 0x01ED: { /* n:"BrtEndMap", */ T:-1 }, + 0x01EE: { /* n:"BrtHLink", */ f:parse_BrtHLink }, + 0x01EF: { /* n:"BrtBeginDCon", */ T:1 }, + 0x01F0: { /* n:"BrtEndDCon", */ T:-1 }, + 0x01F1: { /* n:"BrtBeginDRefs", */ T:1 }, + 0x01F2: { /* n:"BrtEndDRefs", */ T:-1 }, + 0x01F3: { /* n:"BrtDRef" */ }, + 0x01F4: { /* n:"BrtBeginScenMan", */ T:1 }, + 0x01F5: { /* n:"BrtEndScenMan", */ T:-1 }, + 0x01F6: { /* n:"BrtBeginSct", */ T:1 }, + 0x01F7: { /* n:"BrtEndSct", */ T:-1 }, + 0x01F8: { /* n:"BrtSlc" */ }, + 0x01F9: { /* n:"BrtBeginDXFs", */ T:1 }, + 0x01FA: { /* n:"BrtEndDXFs", */ T:-1 }, + 0x01FB: { /* n:"BrtDXF" */ }, + 0x01FC: { /* n:"BrtBeginTableStyles", */ T:1 }, + 0x01FD: { /* n:"BrtEndTableStyles", */ T:-1 }, + 0x01FE: { /* n:"BrtBeginTableStyle", */ T:1 }, + 0x01FF: { /* n:"BrtEndTableStyle", */ T:-1 }, + 0x0200: { /* n:"BrtTableStyleElement" */ }, + 0x0201: { /* n:"BrtTableStyleClient" */ }, + 0x0202: { /* n:"BrtBeginVolDeps", */ T:1 }, + 0x0203: { /* n:"BrtEndVolDeps", */ T:-1 }, + 0x0204: { /* n:"BrtBeginVolType", */ T:1 }, + 0x0205: { /* n:"BrtEndVolType", */ T:-1 }, + 0x0206: { /* n:"BrtBeginVolMain", */ T:1 }, + 0x0207: { /* n:"BrtEndVolMain", */ T:-1 }, + 0x0208: { /* n:"BrtBeginVolTopic", */ T:1 }, + 0x0209: { /* n:"BrtEndVolTopic", */ T:-1 }, + 0x020A: { /* n:"BrtVolSubtopic" */ }, + 0x020B: { /* n:"BrtVolRef" */ }, + 0x020C: { /* n:"BrtVolNum" */ }, + 0x020D: { /* n:"BrtVolErr" */ }, + 0x020E: { /* n:"BrtVolStr" */ }, + 0x020F: { /* n:"BrtVolBool" */ }, + 0x0210: { /* n:"BrtBeginCalcChain$", */ T:1 }, + 0x0211: { /* n:"BrtEndCalcChain$", */ T:-1 }, + 0x0212: { /* n:"BrtBeginSortState", */ T:1 }, + 0x0213: { /* n:"BrtEndSortState", */ T:-1 }, + 0x0214: { /* n:"BrtBeginSortCond", */ T:1 }, + 0x0215: { /* n:"BrtEndSortCond", */ T:-1 }, + 0x0216: { /* n:"BrtBookProtection" */ }, + 0x0217: { /* n:"BrtSheetProtection" */ }, + 0x0218: { /* n:"BrtRangeProtection" */ }, + 0x0219: { /* n:"BrtPhoneticInfo" */ }, + 0x021A: { /* n:"BrtBeginECTxtWiz", */ T:1 }, + 0x021B: { /* n:"BrtEndECTxtWiz", */ T:-1 }, + 0x021C: { /* n:"BrtBeginECTWFldInfoLst", */ T:1 }, + 0x021D: { /* n:"BrtEndECTWFldInfoLst", */ T:-1 }, + 0x021E: { /* n:"BrtBeginECTwFldInfo", */ T:1 }, + 0x0224: { /* n:"BrtFileSharing" */ }, + 0x0225: { /* n:"BrtOleSize" */ }, + 0x0226: { /* n:"BrtDrawing", */ f:parse_RelID }, + 0x0227: { /* n:"BrtLegacyDrawing", */ f:parse_XLNullableWideString }, + 0x0228: { /* n:"BrtLegacyDrawingHF" */ }, + 0x0229: { /* n:"BrtWebOpt" */ }, + 0x022A: { /* n:"BrtBeginWebPubItems", */ T:1 }, + 0x022B: { /* n:"BrtEndWebPubItems", */ T:-1 }, + 0x022C: { /* n:"BrtBeginWebPubItem", */ T:1 }, + 0x022D: { /* n:"BrtEndWebPubItem", */ T:-1 }, + 0x022E: { /* n:"BrtBeginSXCondFmt", */ T:1 }, + 0x022F: { /* n:"BrtEndSXCondFmt", */ T:-1 }, + 0x0230: { /* n:"BrtBeginSXCondFmts", */ T:1 }, + 0x0231: { /* n:"BrtEndSXCondFmts", */ T:-1 }, + 0x0232: { /* n:"BrtBkHim" */ }, + 0x0234: { /* n:"BrtColor" */ }, + 0x0235: { /* n:"BrtBeginIndexedColors", */ T:1 }, + 0x0236: { /* n:"BrtEndIndexedColors", */ T:-1 }, + 0x0239: { /* n:"BrtBeginMRUColors", */ T:1 }, + 0x023A: { /* n:"BrtEndMRUColors", */ T:-1 }, + 0x023C: { /* n:"BrtMRUColor" */ }, + 0x023D: { /* n:"BrtBeginDVals", */ T:1 }, + 0x023E: { /* n:"BrtEndDVals", */ T:-1 }, + 0x0241: { /* n:"BrtSupNameStart" */ }, + 0x0242: { /* n:"BrtSupNameValueStart" */ }, + 0x0243: { /* n:"BrtSupNameValueEnd" */ }, + 0x0244: { /* n:"BrtSupNameNum" */ }, + 0x0245: { /* n:"BrtSupNameErr" */ }, + 0x0246: { /* n:"BrtSupNameSt" */ }, + 0x0247: { /* n:"BrtSupNameNil" */ }, + 0x0248: { /* n:"BrtSupNameBool" */ }, + 0x0249: { /* n:"BrtSupNameFmla" */ }, + 0x024A: { /* n:"BrtSupNameBits" */ }, + 0x024B: { /* n:"BrtSupNameEnd" */ }, + 0x024C: { /* n:"BrtEndSupBook", */ T:-1 }, + 0x024D: { /* n:"BrtCellSmartTagProperty" */ }, + 0x024E: { /* n:"BrtBeginCellSmartTag", */ T:1 }, + 0x024F: { /* n:"BrtEndCellSmartTag", */ T:-1 }, + 0x0250: { /* n:"BrtBeginCellSmartTags", */ T:1 }, + 0x0251: { /* n:"BrtEndCellSmartTags", */ T:-1 }, + 0x0252: { /* n:"BrtBeginSmartTags", */ T:1 }, + 0x0253: { /* n:"BrtEndSmartTags", */ T:-1 }, + 0x0254: { /* n:"BrtSmartTagType" */ }, + 0x0255: { /* n:"BrtBeginSmartTagTypes", */ T:1 }, + 0x0256: { /* n:"BrtEndSmartTagTypes", */ T:-1 }, + 0x0257: { /* n:"BrtBeginSXFilters", */ T:1 }, + 0x0258: { /* n:"BrtEndSXFilters", */ T:-1 }, + 0x0259: { /* n:"BrtBeginSXFILTER", */ T:1 }, + 0x025A: { /* n:"BrtEndSXFilter", */ T:-1 }, + 0x025B: { /* n:"BrtBeginFills", */ T:1 }, + 0x025C: { /* n:"BrtEndFills", */ T:-1 }, + 0x025D: { /* n:"BrtBeginCellWatches", */ T:1 }, + 0x025E: { /* n:"BrtEndCellWatches", */ T:-1 }, + 0x025F: { /* n:"BrtCellWatch" */ }, + 0x0260: { /* n:"BrtBeginCRErrs", */ T:1 }, + 0x0261: { /* n:"BrtEndCRErrs", */ T:-1 }, + 0x0262: { /* n:"BrtCrashRecErr" */ }, + 0x0263: { /* n:"BrtBeginFonts", */ T:1 }, + 0x0264: { /* n:"BrtEndFonts", */ T:-1 }, + 0x0265: { /* n:"BrtBeginBorders", */ T:1 }, + 0x0266: { /* n:"BrtEndBorders", */ T:-1 }, + 0x0267: { /* n:"BrtBeginFmts", */ T:1 }, + 0x0268: { /* n:"BrtEndFmts", */ T:-1 }, + 0x0269: { /* n:"BrtBeginCellXFs", */ T:1 }, + 0x026A: { /* n:"BrtEndCellXFs", */ T:-1 }, + 0x026B: { /* n:"BrtBeginStyles", */ T:1 }, + 0x026C: { /* n:"BrtEndStyles", */ T:-1 }, + 0x0271: { /* n:"BrtBigName" */ }, + 0x0272: { /* n:"BrtBeginCellStyleXFs", */ T:1 }, + 0x0273: { /* n:"BrtEndCellStyleXFs", */ T:-1 }, + 0x0274: { /* n:"BrtBeginComments", */ T:1 }, + 0x0275: { /* n:"BrtEndComments", */ T:-1 }, + 0x0276: { /* n:"BrtBeginCommentAuthors", */ T:1 }, + 0x0277: { /* n:"BrtEndCommentAuthors", */ T:-1 }, + 0x0278: { /* n:"BrtCommentAuthor", */ f:parse_BrtCommentAuthor }, + 0x0279: { /* n:"BrtBeginCommentList", */ T:1 }, + 0x027A: { /* n:"BrtEndCommentList", */ T:-1 }, + 0x027B: { /* n:"BrtBeginComment", */ T:1, f:parse_BrtBeginComment}, + 0x027C: { /* n:"BrtEndComment", */ T:-1 }, + 0x027D: { /* n:"BrtCommentText", */ f:parse_BrtCommentText }, + 0x027E: { /* n:"BrtBeginOleObjects", */ T:1 }, + 0x027F: { /* n:"BrtOleObject" */ }, + 0x0280: { /* n:"BrtEndOleObjects", */ T:-1 }, + 0x0281: { /* n:"BrtBeginSxrules", */ T:1 }, + 0x0282: { /* n:"BrtEndSxRules", */ T:-1 }, + 0x0283: { /* n:"BrtBeginActiveXControls", */ T:1 }, + 0x0284: { /* n:"BrtActiveX" */ }, + 0x0285: { /* n:"BrtEndActiveXControls", */ T:-1 }, + 0x0286: { /* n:"BrtBeginPCDSDTCEMembersSortBy", */ T:1 }, + 0x0288: { /* n:"BrtBeginCellIgnoreECs", */ T:1 }, + 0x0289: { /* n:"BrtCellIgnoreEC" */ }, + 0x028A: { /* n:"BrtEndCellIgnoreECs", */ T:-1 }, + 0x028B: { /* n:"BrtCsProp", */ f:parse_BrtCsProp }, + 0x028C: { /* n:"BrtCsPageSetup" */ }, + 0x028D: { /* n:"BrtBeginUserCsViews", */ T:1 }, + 0x028E: { /* n:"BrtEndUserCsViews", */ T:-1 }, + 0x028F: { /* n:"BrtBeginUserCsView", */ T:1 }, + 0x0290: { /* n:"BrtEndUserCsView", */ T:-1 }, + 0x0291: { /* n:"BrtBeginPcdSFCIEntries", */ T:1 }, + 0x0292: { /* n:"BrtEndPCDSFCIEntries", */ T:-1 }, + 0x0293: { /* n:"BrtPCDSFCIEntry" */ }, + 0x0294: { /* n:"BrtBeginListParts", */ T:1 }, + 0x0295: { /* n:"BrtListPart" */ }, + 0x0296: { /* n:"BrtEndListParts", */ T:-1 }, + 0x0297: { /* n:"BrtSheetCalcProp" */ }, + 0x0298: { /* n:"BrtBeginFnGroup", */ T:1 }, + 0x0299: { /* n:"BrtFnGroup" */ }, + 0x029A: { /* n:"BrtEndFnGroup", */ T:-1 }, + 0x029B: { /* n:"BrtSupAddin" */ }, + 0x029C: { /* n:"BrtSXTDMPOrder" */ }, + 0x029D: { /* n:"BrtCsProtection" */ }, + 0x029F: { /* n:"BrtBeginWsSortMap", */ T:1 }, + 0x02A0: { /* n:"BrtEndWsSortMap", */ T:-1 }, + 0x02A1: { /* n:"BrtBeginRRSort", */ T:1 }, + 0x02A2: { /* n:"BrtEndRRSort", */ T:-1 }, + 0x02A3: { /* n:"BrtRRSortItem" */ }, + 0x02A4: { /* n:"BrtFileSharingIso" */ }, + 0x02A5: { /* n:"BrtBookProtectionIso" */ }, + 0x02A6: { /* n:"BrtSheetProtectionIso" */ }, + 0x02A7: { /* n:"BrtCsProtectionIso" */ }, + 0x02A8: { /* n:"BrtRangeProtectionIso" */ }, + 0x02A9: { /* n:"BrtDValList" */ }, + 0x0400: { /* n:"BrtRwDescent" */ }, + 0x0401: { /* n:"BrtKnownFonts" */ }, + 0x0402: { /* n:"BrtBeginSXTupleSet", */ T:1 }, + 0x0403: { /* n:"BrtEndSXTupleSet", */ T:-1 }, + 0x0404: { /* n:"BrtBeginSXTupleSetHeader", */ T:1 }, + 0x0405: { /* n:"BrtEndSXTupleSetHeader", */ T:-1 }, + 0x0406: { /* n:"BrtSXTupleSetHeaderItem" */ }, + 0x0407: { /* n:"BrtBeginSXTupleSetData", */ T:1 }, + 0x0408: { /* n:"BrtEndSXTupleSetData", */ T:-1 }, + 0x0409: { /* n:"BrtBeginSXTupleSetRow", */ T:1 }, + 0x040A: { /* n:"BrtEndSXTupleSetRow", */ T:-1 }, + 0x040B: { /* n:"BrtSXTupleSetRowItem" */ }, + 0x040C: { /* n:"BrtNameExt" */ }, + 0x040D: { /* n:"BrtPCDH14" */ }, + 0x040E: { /* n:"BrtBeginPCDCalcMem14", */ T:1 }, + 0x040F: { /* n:"BrtEndPCDCalcMem14", */ T:-1 }, + 0x0410: { /* n:"BrtSXTH14" */ }, + 0x0411: { /* n:"BrtBeginSparklineGroup", */ T:1 }, + 0x0412: { /* n:"BrtEndSparklineGroup", */ T:-1 }, + 0x0413: { /* n:"BrtSparkline" */ }, + 0x0414: { /* n:"BrtSXDI14" */ }, + 0x0415: { /* n:"BrtWsFmtInfoEx14" */ }, + 0x0416: { /* n:"BrtBeginConditionalFormatting14", */ T:1 }, + 0x0417: { /* n:"BrtEndConditionalFormatting14", */ T:-1 }, + 0x0418: { /* n:"BrtBeginCFRule14", */ T:1 }, + 0x0419: { /* n:"BrtEndCFRule14", */ T:-1 }, + 0x041A: { /* n:"BrtCFVO14" */ }, + 0x041B: { /* n:"BrtBeginDatabar14", */ T:1 }, + 0x041C: { /* n:"BrtBeginIconSet14", */ T:1 }, + 0x041D: { /* n:"BrtDVal14", */ f: parse_BrtDVal14 }, + 0x041E: { /* n:"BrtBeginDVals14", */ T:1 }, + 0x041F: { /* n:"BrtColor14" */ }, + 0x0420: { /* n:"BrtBeginSparklines", */ T:1 }, + 0x0421: { /* n:"BrtEndSparklines", */ T:-1 }, + 0x0422: { /* n:"BrtBeginSparklineGroups", */ T:1 }, + 0x0423: { /* n:"BrtEndSparklineGroups", */ T:-1 }, + 0x0425: { /* n:"BrtSXVD14" */ }, + 0x0426: { /* n:"BrtBeginSXView14", */ T:1 }, + 0x0427: { /* n:"BrtEndSXView14", */ T:-1 }, + 0x0428: { /* n:"BrtBeginSXView16", */ T:1 }, + 0x0429: { /* n:"BrtEndSXView16", */ T:-1 }, + 0x042A: { /* n:"BrtBeginPCD14", */ T:1 }, + 0x042B: { /* n:"BrtEndPCD14", */ T:-1 }, + 0x042C: { /* n:"BrtBeginExtConn14", */ T:1 }, + 0x042D: { /* n:"BrtEndExtConn14", */ T:-1 }, + 0x042E: { /* n:"BrtBeginSlicerCacheIDs", */ T:1 }, + 0x042F: { /* n:"BrtEndSlicerCacheIDs", */ T:-1 }, + 0x0430: { /* n:"BrtBeginSlicerCacheID", */ T:1 }, + 0x0431: { /* n:"BrtEndSlicerCacheID", */ T:-1 }, + 0x0433: { /* n:"BrtBeginSlicerCache", */ T:1 }, + 0x0434: { /* n:"BrtEndSlicerCache", */ T:-1 }, + 0x0435: { /* n:"BrtBeginSlicerCacheDef", */ T:1 }, + 0x0436: { /* n:"BrtEndSlicerCacheDef", */ T:-1 }, + 0x0437: { /* n:"BrtBeginSlicersEx", */ T:1 }, + 0x0438: { /* n:"BrtEndSlicersEx", */ T:-1 }, + 0x0439: { /* n:"BrtBeginSlicerEx", */ T:1 }, + 0x043A: { /* n:"BrtEndSlicerEx", */ T:-1 }, + 0x043B: { /* n:"BrtBeginSlicer", */ T:1 }, + 0x043C: { /* n:"BrtEndSlicer", */ T:-1 }, + 0x043D: { /* n:"BrtSlicerCachePivotTables" */ }, + 0x043E: { /* n:"BrtBeginSlicerCacheOlapImpl", */ T:1 }, + 0x043F: { /* n:"BrtEndSlicerCacheOlapImpl", */ T:-1 }, + 0x0440: { /* n:"BrtBeginSlicerCacheLevelsData", */ T:1 }, + 0x0441: { /* n:"BrtEndSlicerCacheLevelsData", */ T:-1 }, + 0x0442: { /* n:"BrtBeginSlicerCacheLevelData", */ T:1 }, + 0x0443: { /* n:"BrtEndSlicerCacheLevelData", */ T:-1 }, + 0x0444: { /* n:"BrtBeginSlicerCacheSiRanges", */ T:1 }, + 0x0445: { /* n:"BrtEndSlicerCacheSiRanges", */ T:-1 }, + 0x0446: { /* n:"BrtBeginSlicerCacheSiRange", */ T:1 }, + 0x0447: { /* n:"BrtEndSlicerCacheSiRange", */ T:-1 }, + 0x0448: { /* n:"BrtSlicerCacheOlapItem" */ }, + 0x0449: { /* n:"BrtBeginSlicerCacheSelections", */ T:1 }, + 0x044A: { /* n:"BrtSlicerCacheSelection" */ }, + 0x044B: { /* n:"BrtEndSlicerCacheSelections", */ T:-1 }, + 0x044C: { /* n:"BrtBeginSlicerCacheNative", */ T:1 }, + 0x044D: { /* n:"BrtEndSlicerCacheNative", */ T:-1 }, + 0x044E: { /* n:"BrtSlicerCacheNativeItem" */ }, + 0x044F: { /* n:"BrtRangeProtection14" */ }, + 0x0450: { /* n:"BrtRangeProtectionIso14" */ }, + 0x0451: { /* n:"BrtCellIgnoreEC14" */ }, + 0x0457: { /* n:"BrtList14" */ }, + 0x0458: { /* n:"BrtCFIcon" */ }, + 0x0459: { /* n:"BrtBeginSlicerCachesPivotCacheIDs", */ T:1 }, + 0x045A: { /* n:"BrtEndSlicerCachesPivotCacheIDs", */ T:-1 }, + 0x045B: { /* n:"BrtBeginSlicers", */ T:1 }, + 0x045C: { /* n:"BrtEndSlicers", */ T:-1 }, + 0x045D: { /* n:"BrtWbProp14" */ }, + 0x045E: { /* n:"BrtBeginSXEdit", */ T:1 }, + 0x045F: { /* n:"BrtEndSXEdit", */ T:-1 }, + 0x0460: { /* n:"BrtBeginSXEdits", */ T:1 }, + 0x0461: { /* n:"BrtEndSXEdits", */ T:-1 }, + 0x0462: { /* n:"BrtBeginSXChange", */ T:1 }, + 0x0463: { /* n:"BrtEndSXChange", */ T:-1 }, + 0x0464: { /* n:"BrtBeginSXChanges", */ T:1 }, + 0x0465: { /* n:"BrtEndSXChanges", */ T:-1 }, + 0x0466: { /* n:"BrtSXTupleItems" */ }, + 0x0468: { /* n:"BrtBeginSlicerStyle", */ T:1 }, + 0x0469: { /* n:"BrtEndSlicerStyle", */ T:-1 }, + 0x046A: { /* n:"BrtSlicerStyleElement" */ }, + 0x046B: { /* n:"BrtBeginStyleSheetExt14", */ T:1 }, + 0x046C: { /* n:"BrtEndStyleSheetExt14", */ T:-1 }, + 0x046D: { /* n:"BrtBeginSlicerCachesPivotCacheID", */ T:1 }, + 0x046E: { /* n:"BrtEndSlicerCachesPivotCacheID", */ T:-1 }, + 0x046F: { /* n:"BrtBeginConditionalFormattings", */ T:1 }, + 0x0470: { /* n:"BrtEndConditionalFormattings", */ T:-1 }, + 0x0471: { /* n:"BrtBeginPCDCalcMemExt", */ T:1 }, + 0x0472: { /* n:"BrtEndPCDCalcMemExt", */ T:-1 }, + 0x0473: { /* n:"BrtBeginPCDCalcMemsExt", */ T:1 }, + 0x0474: { /* n:"BrtEndPCDCalcMemsExt", */ T:-1 }, + 0x0475: { /* n:"BrtPCDField14" */ }, + 0x0476: { /* n:"BrtBeginSlicerStyles", */ T:1 }, + 0x0477: { /* n:"BrtEndSlicerStyles", */ T:-1 }, + 0x0478: { /* n:"BrtBeginSlicerStyleElements", */ T:1 }, + 0x0479: { /* n:"BrtEndSlicerStyleElements", */ T:-1 }, + 0x047A: { /* n:"BrtCFRuleExt" */ }, + 0x047B: { /* n:"BrtBeginSXCondFmt14", */ T:1 }, + 0x047C: { /* n:"BrtEndSXCondFmt14", */ T:-1 }, + 0x047D: { /* n:"BrtBeginSXCondFmts14", */ T:1 }, + 0x047E: { /* n:"BrtEndSXCondFmts14", */ T:-1 }, + 0x0480: { /* n:"BrtBeginSortCond14", */ T:1 }, + 0x0481: { /* n:"BrtEndSortCond14", */ T:-1 }, + 0x0482: { /* n:"BrtEndDVals14", */ T:-1 }, + 0x0483: { /* n:"BrtEndIconSet14", */ T:-1 }, + 0x0484: { /* n:"BrtEndDatabar14", */ T:-1 }, + 0x0485: { /* n:"BrtBeginColorScale14", */ T:1 }, + 0x0486: { /* n:"BrtEndColorScale14", */ T:-1 }, + 0x0487: { /* n:"BrtBeginSxrules14", */ T:1 }, + 0x0488: { /* n:"BrtEndSxrules14", */ T:-1 }, + 0x0489: { /* n:"BrtBeginPRule14", */ T:1 }, + 0x048A: { /* n:"BrtEndPRule14", */ T:-1 }, + 0x048B: { /* n:"BrtBeginPRFilters14", */ T:1 }, + 0x048C: { /* n:"BrtEndPRFilters14", */ T:-1 }, + 0x048D: { /* n:"BrtBeginPRFilter14", */ T:1 }, + 0x048E: { /* n:"BrtEndPRFilter14", */ T:-1 }, + 0x048F: { /* n:"BrtBeginPRFItem14", */ T:1 }, + 0x0490: { /* n:"BrtEndPRFItem14", */ T:-1 }, + 0x0491: { /* n:"BrtBeginCellIgnoreECs14", */ T:1 }, + 0x0492: { /* n:"BrtEndCellIgnoreECs14", */ T:-1 }, + 0x0493: { /* n:"BrtDxf14" */ }, + 0x0494: { /* n:"BrtBeginDxF14s", */ T:1 }, + 0x0495: { /* n:"BrtEndDxf14s", */ T:-1 }, + 0x0499: { /* n:"BrtFilter14" */ }, + 0x049A: { /* n:"BrtBeginCustomFilters14", */ T:1 }, + 0x049C: { /* n:"BrtCustomFilter14" */ }, + 0x049D: { /* n:"BrtIconFilter14" */ }, + 0x049E: { /* n:"BrtPivotCacheConnectionName" */ }, + 0x0800: { /* n:"BrtBeginDecoupledPivotCacheIDs", */ T:1 }, + 0x0801: { /* n:"BrtEndDecoupledPivotCacheIDs", */ T:-1 }, + 0x0802: { /* n:"BrtDecoupledPivotCacheID" */ }, + 0x0803: { /* n:"BrtBeginPivotTableRefs", */ T:1 }, + 0x0804: { /* n:"BrtEndPivotTableRefs", */ T:-1 }, + 0x0805: { /* n:"BrtPivotTableRef" */ }, + 0x0806: { /* n:"BrtSlicerCacheBookPivotTables" */ }, + 0x0807: { /* n:"BrtBeginSxvcells", */ T:1 }, + 0x0808: { /* n:"BrtEndSxvcells", */ T:-1 }, + 0x0809: { /* n:"BrtBeginSxRow", */ T:1 }, + 0x080A: { /* n:"BrtEndSxRow", */ T:-1 }, + 0x080C: { /* n:"BrtPcdCalcMem15" */ }, + 0x0813: { /* n:"BrtQsi15" */ }, + 0x0814: { /* n:"BrtBeginWebExtensions", */ T:1 }, + 0x0815: { /* n:"BrtEndWebExtensions", */ T:-1 }, + 0x0816: { /* n:"BrtWebExtension" */ }, + 0x0817: { /* n:"BrtAbsPath15" */ }, + 0x0818: { /* n:"BrtBeginPivotTableUISettings", */ T:1 }, + 0x0819: { /* n:"BrtEndPivotTableUISettings", */ T:-1 }, + 0x081B: { /* n:"BrtTableSlicerCacheIDs" */ }, + 0x081C: { /* n:"BrtTableSlicerCacheID" */ }, + 0x081D: { /* n:"BrtBeginTableSlicerCache", */ T:1 }, + 0x081E: { /* n:"BrtEndTableSlicerCache", */ T:-1 }, + 0x081F: { /* n:"BrtSxFilter15" */ }, + 0x0820: { /* n:"BrtBeginTimelineCachePivotCacheIDs", */ T:1 }, + 0x0821: { /* n:"BrtEndTimelineCachePivotCacheIDs", */ T:-1 }, + 0x0822: { /* n:"BrtTimelineCachePivotCacheID" */ }, + 0x0823: { /* n:"BrtBeginTimelineCacheIDs", */ T:1 }, + 0x0824: { /* n:"BrtEndTimelineCacheIDs", */ T:-1 }, + 0x0825: { /* n:"BrtBeginTimelineCacheID", */ T:1 }, + 0x0826: { /* n:"BrtEndTimelineCacheID", */ T:-1 }, + 0x0827: { /* n:"BrtBeginTimelinesEx", */ T:1 }, + 0x0828: { /* n:"BrtEndTimelinesEx", */ T:-1 }, + 0x0829: { /* n:"BrtBeginTimelineEx", */ T:1 }, + 0x082A: { /* n:"BrtEndTimelineEx", */ T:-1 }, + 0x082B: { /* n:"BrtWorkBookPr15" */ }, + 0x082C: { /* n:"BrtPCDH15" */ }, + 0x082D: { /* n:"BrtBeginTimelineStyle", */ T:1 }, + 0x082E: { /* n:"BrtEndTimelineStyle", */ T:-1 }, + 0x082F: { /* n:"BrtTimelineStyleElement" */ }, + 0x0830: { /* n:"BrtBeginTimelineStylesheetExt15", */ T:1 }, + 0x0831: { /* n:"BrtEndTimelineStylesheetExt15", */ T:-1 }, + 0x0832: { /* n:"BrtBeginTimelineStyles", */ T:1 }, + 0x0833: { /* n:"BrtEndTimelineStyles", */ T:-1 }, + 0x0834: { /* n:"BrtBeginTimelineStyleElements", */ T:1 }, + 0x0835: { /* n:"BrtEndTimelineStyleElements", */ T:-1 }, + 0x0836: { /* n:"BrtDxf15" */ }, + 0x0837: { /* n:"BrtBeginDxfs15", */ T:1 }, + 0x0838: { /* n:"BrtEndDxfs15", */ T:-1 }, + 0x0839: { /* n:"BrtSlicerCacheHideItemsWithNoData" */ }, + 0x083A: { /* n:"BrtBeginItemUniqueNames", */ T:1 }, + 0x083B: { /* n:"BrtEndItemUniqueNames", */ T:-1 }, + 0x083C: { /* n:"BrtItemUniqueName" */ }, + 0x083D: { /* n:"BrtBeginExtConn15", */ T:1 }, + 0x083E: { /* n:"BrtEndExtConn15", */ T:-1 }, + 0x083F: { /* n:"BrtBeginOledbPr15", */ T:1 }, + 0x0840: { /* n:"BrtEndOledbPr15", */ T:-1 }, + 0x0841: { /* n:"BrtBeginDataFeedPr15", */ T:1 }, + 0x0842: { /* n:"BrtEndDataFeedPr15", */ T:-1 }, + 0x0843: { /* n:"BrtTextPr15" */ }, + 0x0844: { /* n:"BrtRangePr15" */ }, + 0x0845: { /* n:"BrtDbCommand15" */ }, + 0x0846: { /* n:"BrtBeginDbTables15", */ T:1 }, + 0x0847: { /* n:"BrtEndDbTables15", */ T:-1 }, + 0x0848: { /* n:"BrtDbTable15" */ }, + 0x0849: { /* n:"BrtBeginDataModel", */ T:1 }, + 0x084A: { /* n:"BrtEndDataModel", */ T:-1 }, + 0x084B: { /* n:"BrtBeginModelTables", */ T:1 }, + 0x084C: { /* n:"BrtEndModelTables", */ T:-1 }, + 0x084D: { /* n:"BrtModelTable" */ }, + 0x084E: { /* n:"BrtBeginModelRelationships", */ T:1 }, + 0x084F: { /* n:"BrtEndModelRelationships", */ T:-1 }, + 0x0850: { /* n:"BrtModelRelationship" */ }, + 0x0851: { /* n:"BrtBeginECTxtWiz15", */ T:1 }, + 0x0852: { /* n:"BrtEndECTxtWiz15", */ T:-1 }, + 0x0853: { /* n:"BrtBeginECTWFldInfoLst15", */ T:1 }, + 0x0854: { /* n:"BrtEndECTWFldInfoLst15", */ T:-1 }, + 0x0855: { /* n:"BrtBeginECTWFldInfo15", */ T:1 }, + 0x0856: { /* n:"BrtFieldListActiveItem" */ }, + 0x0857: { /* n:"BrtPivotCacheIdVersion" */ }, + 0x0858: { /* n:"BrtSXDI15" */ }, + 0x0859: { /* n:"BrtBeginModelTimeGroupings", */ T:1 }, + 0x085A: { /* n:"BrtEndModelTimeGroupings", */ T:-1 }, + 0x085B: { /* n:"BrtBeginModelTimeGrouping", */ T:1 }, + 0x085C: { /* n:"BrtEndModelTimeGrouping", */ T:-1 }, + 0x085D: { /* n:"BrtModelTimeGroupingCalcCol" */ }, + 0x0C00: { /* n:"BrtUid" */ }, + 0x0C01: { /* n:"BrtRevisionPtr" */ }, + 0x1000: { /* n:"BrtBeginDynamicArrayPr", */ T:1 }, + 0x1001: { /* n:"BrtEndDynamicArrayPr", */ T:-1 }, + 0x138A: { /* n:"BrtBeginRichValueBlock", */ T:1 }, + 0x138B: { /* n:"BrtEndRichValueBlock", */ T:-1 }, + 0x13D9: { /* n:"BrtBeginRichFilters", */ T:1 }, + 0x13DA: { /* n:"BrtEndRichFilters", */ T:-1 }, + 0x13DB: { /* n:"BrtRichFilter" */ }, + 0x13DC: { /* n:"BrtBeginRichFilterColumn", */ T:1 }, + 0x13DD: { /* n:"BrtEndRichFilterColumn", */ T:-1 }, + 0x13DE: { /* n:"BrtBeginCustomRichFilters", */ T:1 }, + 0x13DF: { /* n:"BrtEndCustomRichFilters", */ T:-1 }, + 0x13E0: { /* n:"BrtCustomRichFilter" */ }, + 0x13E1: { /* n:"BrtTop10RichFilter" */ }, + 0x13E2: { /* n:"BrtDynamicRichFilter" */ }, + 0x13E4: { /* n:"BrtBeginRichSortCondition", */ T:1 }, + 0x13E5: { /* n:"BrtEndRichSortCondition", */ T:-1 }, + 0x13E6: { /* n:"BrtRichFilterDateGroupItem" */ }, + 0x13E7: { /* n:"BrtBeginCalcFeatures", */ T:1 }, + 0x13E8: { /* n:"BrtEndCalcFeatures", */ T:-1 }, + 0x13E9: { /* n:"BrtCalcFeature" */ }, + 0x13EB: { /* n:"BrtExternalLinksPr" */ }, + 0xFFFF: { n:"" } }; /* [MS-XLS] 2.3 Record Enumeration (and other sources) */ var XLSRecordEnum = { /* [MS-XLS] 2.3 Record Enumeration 2021-08-17 */ -0x0006: { /* n:"Formula", */ f:parse_Formula }, -0x000a: { /* n:"EOF", */ f:parsenoop2 }, -0x000c: { /* n:"CalcCount", */ f:parseuint16 }, // -0x000d: { /* n:"CalcMode", */ f:parseuint16 }, // -0x000e: { /* n:"CalcPrecision", */ f:parsebool }, // -0x000f: { /* n:"CalcRefMode", */ f:parsebool }, // -0x0010: { /* n:"CalcDelta", */ f:parse_Xnum }, // -0x0011: { /* n:"CalcIter", */ f:parsebool }, // -0x0012: { /* n:"Protect", */ f:parsebool }, -0x0013: { /* n:"Password", */ f:parseuint16 }, -0x0014: { /* n:"Header", */ f:parse_XLHeaderFooter }, -0x0015: { /* n:"Footer", */ f:parse_XLHeaderFooter }, -0x0017: { /* n:"ExternSheet", */ f:parse_ExternSheet }, -0x0018: { /* n:"Lbl", */ f:parse_Lbl }, -0x0019: { /* n:"WinProtect", */ f:parsebool }, -0x001a: { /* n:"VerticalPageBreaks", */ }, -0x001b: { /* n:"HorizontalPageBreaks", */ }, -0x001c: { /* n:"Note", */ f:parse_Note }, -0x001d: { /* n:"Selection", */ }, -0x0022: { /* n:"Date1904", */ f:parsebool }, -0x0023: { /* n:"ExternName", */ f:parse_ExternName }, -0x0026: { /* n:"LeftMargin", */ f:parse_Xnum }, // * -0x0027: { /* n:"RightMargin", */ f:parse_Xnum }, // * -0x0028: { /* n:"TopMargin", */ f:parse_Xnum }, // * -0x0029: { /* n:"BottomMargin", */ f:parse_Xnum }, // * -0x002a: { /* n:"PrintRowCol", */ f:parsebool }, -0x002b: { /* n:"PrintGrid", */ f:parsebool }, -0x002f: { /* n:"FilePass", */ f:parse_FilePass }, -0x0031: { /* n:"Font", */ f:parse_Font }, -0x0033: { /* n:"PrintSize", */ f:parseuint16 }, -0x003c: { /* n:"Continue", */ }, -0x003d: { /* n:"Window1", */ f:parse_Window1 }, -0x0040: { /* n:"Backup", */ f:parsebool }, -0x0041: { /* n:"Pane", */ f:parse_Pane }, -0x0042: { /* n:"CodePage", */ f:parseuint16 }, -0x004d: { /* n:"Pls", */ }, -0x0050: { /* n:"DCon", */ }, -0x0051: { /* n:"DConRef", */ }, -0x0052: { /* n:"DConName", */ }, -0x0055: { /* n:"DefColWidth", */ f:parseuint16 }, -0x0059: { /* n:"XCT", */ }, -0x005a: { /* n:"CRN", */ }, -0x005b: { /* n:"FileSharing", */ }, -0x005c: { /* n:"WriteAccess", */ f:parse_WriteAccess }, -0x005d: { /* n:"Obj", */ f:parse_Obj }, -0x005e: { /* n:"Uncalced", */ }, -0x005f: { /* n:"CalcSaveRecalc", */ f:parsebool }, // -0x0060: { /* n:"Template", */ }, -0x0061: { /* n:"Intl", */ }, -0x0063: { /* n:"ObjProtect", */ f:parsebool }, -0x007d: { /* n:"ColInfo", */ f:parse_ColInfo }, -0x0080: { /* n:"Guts", */ f:parse_Guts }, -0x0081: { /* n:"WsBool", */ f:parse_WsBool }, -0x0082: { /* n:"GridSet", */ f:parseuint16 }, -0x0083: { /* n:"HCenter", */ f:parsebool }, -0x0084: { /* n:"VCenter", */ f:parsebool }, -0x0085: { /* n:"BoundSheet8", */ f:parse_BoundSheet8 }, -0x0086: { /* n:"WriteProtect", */ }, -0x008c: { /* n:"Country", */ f:parse_Country }, -0x008d: { /* n:"HideObj", */ f:parseuint16 }, -0x0090: { /* n:"Sort", */ }, -0x0092: { /* n:"Palette", */ f:parse_Palette }, -0x0097: { /* n:"Sync", */ }, -0x0098: { /* n:"LPr", */ }, -0x0099: { /* n:"DxGCol", */ }, -0x009a: { /* n:"FnGroupName", */ }, -0x009b: { /* n:"FilterMode", */ }, -0x009c: { /* n:"BuiltInFnGroupCount", */ f:parseuint16 }, -0x009d: { /* n:"AutoFilterInfo", */ }, -0x009e: { /* n:"AutoFilter", */ }, -0x00a0: { /* n:"Scl", */ f:parse_Scl }, -0x00a1: { /* n:"Setup", */ f:parse_Setup }, -0x00ae: { /* n:"ScenMan", */ }, -0x00af: { /* n:"SCENARIO", */ }, -0x00b0: { /* n:"SxView", */ }, -0x00b1: { /* n:"Sxvd", */ }, -0x00b2: { /* n:"SXVI", */ }, -0x00b4: { /* n:"SxIvd", */ }, -0x00b5: { /* n:"SXLI", */ }, -0x00b6: { /* n:"SXPI", */ }, -0x00b8: { /* n:"DocRoute", */ }, -0x00b9: { /* n:"RecipName", */ }, -0x00bd: { /* n:"MulRk", */ f:parse_MulRk }, -0x00be: { /* n:"MulBlank", */ f:parse_MulBlank }, -0x00c1: { /* n:"Mms", */ f:parsenoop2 }, -0x00c5: { /* n:"SXDI", */ }, -0x00c6: { /* n:"SXDB", */ }, -0x00c7: { /* n:"SXFDB", */ }, -0x00c8: { /* n:"SXDBB", */ }, -0x00c9: { /* n:"SXNum", */ }, -0x00ca: { /* n:"SxBool", */ f:parsebool }, -0x00cb: { /* n:"SxErr", */ }, -0x00cc: { /* n:"SXInt", */ }, -0x00cd: { /* n:"SXString", */ }, -0x00ce: { /* n:"SXDtr", */ }, -0x00cf: { /* n:"SxNil", */ }, -0x00d0: { /* n:"SXTbl", */ }, -0x00d1: { /* n:"SXTBRGIITM", */ }, -0x00d2: { /* n:"SxTbpg", */ }, -0x00d3: { /* n:"ObProj", */ }, -0x00d5: { /* n:"SXStreamID", */ }, -0x00d7: { /* n:"DBCell", */ }, -0x00d8: { /* n:"SXRng", */ }, -0x00d9: { /* n:"SxIsxoper", */ }, -0x00da: { /* n:"BookBool", */ f:parseuint16 }, -0x00dc: { /* n:"DbOrParamQry", */ }, -0x00dd: { /* n:"ScenarioProtect", */ f:parsebool }, -0x00de: { /* n:"OleObjectSize", */ }, -0x00e0: { /* n:"XF", */ f:parse_XF }, -0x00e1: { /* n:"InterfaceHdr", */ f:parse_InterfaceHdr }, -0x00e2: { /* n:"InterfaceEnd", */ f:parsenoop2 }, -0x00e3: { /* n:"SXVS", */ }, -0x00e5: { /* n:"MergeCells", */ f:parse_MergeCells }, -0x00e9: { /* n:"BkHim", */ }, -0x00eb: { /* n:"MsoDrawingGroup", */ }, -0x00ec: { /* n:"MsoDrawing", */ }, -0x00ed: { /* n:"MsoDrawingSelection", */ }, -0x00ef: { /* n:"PhoneticInfo", */ }, -0x00f0: { /* n:"SxRule", */ }, -0x00f1: { /* n:"SXEx", */ }, -0x00f2: { /* n:"SxFilt", */ }, -0x00f4: { /* n:"SxDXF", */ }, -0x00f5: { /* n:"SxItm", */ }, -0x00f6: { /* n:"SxName", */ }, -0x00f7: { /* n:"SxSelect", */ }, -0x00f8: { /* n:"SXPair", */ }, -0x00f9: { /* n:"SxFmla", */ }, -0x00fb: { /* n:"SxFormat", */ }, -0x00fc: { /* n:"SST", */ f:parse_SST }, -0x00fd: { /* n:"LabelSst", */ f:parse_LabelSst }, -0x00ff: { /* n:"ExtSST", */ f:parse_ExtSST }, -0x0100: { /* n:"SXVDEx", */ }, -0x0103: { /* n:"SXFormula", */ }, -0x0122: { /* n:"SXDBEx", */ }, -0x0137: { /* n:"RRDInsDel", */ }, -0x0138: { /* n:"RRDHead", */ }, -0x013b: { /* n:"RRDChgCell", */ }, -0x013d: { /* n:"RRTabId", */ f:parseuint16a }, -0x013e: { /* n:"RRDRenSheet", */ }, -0x013f: { /* n:"RRSort", */ }, -0x0140: { /* n:"RRDMove", */ }, -0x014a: { /* n:"RRFormat", */ }, -0x014b: { /* n:"RRAutoFmt", */ }, -0x014d: { /* n:"RRInsertSh", */ }, -0x014e: { /* n:"RRDMoveBegin", */ }, -0x014f: { /* n:"RRDMoveEnd", */ }, -0x0150: { /* n:"RRDInsDelBegin", */ }, -0x0151: { /* n:"RRDInsDelEnd", */ }, -0x0152: { /* n:"RRDConflict", */ }, -0x0153: { /* n:"RRDDefName", */ }, -0x0154: { /* n:"RRDRstEtxp", */ }, -0x015f: { /* n:"LRng", */ }, -0x0160: { /* n:"UsesELFs", */ f:parsebool }, -0x0161: { /* n:"DSF", */ f:parsenoop2 }, -0x0191: { /* n:"CUsr", */ }, -0x0192: { /* n:"CbUsr", */ }, -0x0193: { /* n:"UsrInfo", */ }, -0x0194: { /* n:"UsrExcl", */ }, -0x0195: { /* n:"FileLock", */ }, -0x0196: { /* n:"RRDInfo", */ }, -0x0197: { /* n:"BCUsrs", */ }, -0x0198: { /* n:"UsrChk", */ }, -0x01a9: { /* n:"UserBView", */ }, -0x01aa: { /* n:"UserSViewBegin", */ }, -0x01ab: { /* n:"UserSViewEnd", */ }, -0x01ac: { /* n:"RRDUserView", */ }, -0x01ad: { /* n:"Qsi", */ }, -0x01ae: { /* n:"SupBook", */ f:parse_SupBook }, -0x01af: { /* n:"Prot4Rev", */ f:parsebool }, -0x01b0: { /* n:"CondFmt", */ }, -0x01b1: { /* n:"CF", */ }, -0x01b2: { /* n:"DVal", */ }, -0x01b5: { /* n:"DConBin", */ }, -0x01b6: { /* n:"TxO", */ f:parse_TxO }, -0x01b7: { /* n:"RefreshAll", */ f:parsebool }, // -0x01b8: { /* n:"HLink", */ f:parse_HLink }, -0x01b9: { /* n:"Lel", */ }, -0x01ba: { /* n:"CodeName", */ f:parse_XLUnicodeString }, -0x01bb: { /* n:"SXFDBType", */ }, -0x01bc: { /* n:"Prot4RevPass", */ f:parseuint16 }, -0x01bd: { /* n:"ObNoMacros", */ }, -0x01be: { /* n:"Dv", */ }, -0x01c0: { /* n:"Excel9File", */ f:parsenoop2 }, -0x01c1: { /* n:"RecalcId", */ f:parse_RecalcId, r:2}, -0x01c2: { /* n:"EntExU2", */ f:parsenoop2 }, -0x0200: { /* n:"Dimensions", */ f:parse_Dimensions }, -0x0201: { /* n:"Blank", */ f:parse_Blank }, -0x0203: { /* n:"Number", */ f:parse_Number }, -0x0204: { /* n:"Label", */ f:parse_Label }, -0x0205: { /* n:"BoolErr", */ f:parse_BoolErr }, -0x0207: { /* n:"String", */ f:parse_String }, -0x0208: { /* n:"Row", */ f:parse_Row }, -0x020b: { /* n:"Index", */ }, -0x0221: { /* n:"Array", */ f:parse_Array }, -0x0225: { /* n:"DefaultRowHeight", */ f:parse_DefaultRowHeight }, -0x0236: { /* n:"Table", */ }, -0x023e: { /* n:"Window2", */ f:parse_Window2 }, -0x027e: { /* n:"RK", */ f:parse_RK }, -0x0293: { /* n:"Style", */ }, -0x0418: { /* n:"BigName", */ }, -0x041e: { /* n:"Format", */ f:parse_Format }, -0x043c: { /* n:"ContinueBigName", */ }, -0x04bc: { /* n:"ShrFmla", */ f:parse_ShrFmla }, -0x0800: { /* n:"HLinkTooltip", */ f:parse_HLinkTooltip }, -0x0801: { /* n:"WebPub", */ }, -0x0802: { /* n:"QsiSXTag", */ }, -0x0803: { /* n:"DBQueryExt", */ }, -0x0804: { /* n:"ExtString", */ }, -0x0805: { /* n:"TxtQry", */ }, -0x0806: { /* n:"Qsir", */ }, -0x0807: { /* n:"Qsif", */ }, -0x0808: { /* n:"RRDTQSIF", */ }, -0x0809: { /* n:"BOF", */ f:parse_BOF }, -0x080a: { /* n:"OleDbConn", */ }, -0x080b: { /* n:"WOpt", */ }, -0x080c: { /* n:"SXViewEx", */ }, -0x080d: { /* n:"SXTH", */ }, -0x080e: { /* n:"SXPIEx", */ }, -0x080f: { /* n:"SXVDTEx", */ }, -0x0810: { /* n:"SXViewEx9", */ }, -0x0812: { /* n:"ContinueFrt", */ }, -0x0813: { /* n:"RealTimeData", */ }, -0x0850: { /* n:"ChartFrtInfo", */ }, -0x0851: { /* n:"FrtWrapper", */ }, -0x0852: { /* n:"StartBlock", */ }, -0x0853: { /* n:"EndBlock", */ }, -0x0854: { /* n:"StartObject", */ }, -0x0855: { /* n:"EndObject", */ }, -0x0856: { /* n:"CatLab", */ }, -0x0857: { /* n:"YMult", */ }, -0x0858: { /* n:"SXViewLink", */ }, -0x0859: { /* n:"PivotChartBits", */ }, -0x085a: { /* n:"FrtFontList", */ }, -0x0862: { /* n:"SheetExt", */ }, -0x0863: { /* n:"BookExt", */ r:12}, -0x0864: { /* n:"SXAddl", */ }, -0x0865: { /* n:"CrErr", */ }, -0x0866: { /* n:"HFPicture", */ }, -0x0867: { /* n:"FeatHdr", */ f:parsenoop2 }, -0x0868: { /* n:"Feat", */ }, -0x086a: { /* n:"DataLabExt", */ }, -0x086b: { /* n:"DataLabExtContents", */ }, -0x086c: { /* n:"CellWatch", */ }, -0x0871: { /* n:"FeatHdr11", */ }, -0x0872: { /* n:"Feature11", */ }, -0x0874: { /* n:"DropDownObjIds", */ }, -0x0875: { /* n:"ContinueFrt11", */ }, -0x0876: { /* n:"DConn", */ }, -0x0877: { /* n:"List12", */ }, -0x0878: { /* n:"Feature12", */ }, -0x0879: { /* n:"CondFmt12", */ }, -0x087a: { /* n:"CF12", */ }, -0x087b: { /* n:"CFEx", */ }, -0x087c: { /* n:"XFCRC", */ f:parse_XFCRC, r:12 }, -0x087d: { /* n:"XFExt", */ f:parse_XFExt, r:12 }, -0x087e: { /* n:"AutoFilter12", */ }, -0x087f: { /* n:"ContinueFrt12", */ }, -0x0884: { /* n:"MDTInfo", */ }, -0x0885: { /* n:"MDXStr", */ }, -0x0886: { /* n:"MDXTuple", */ }, -0x0887: { /* n:"MDXSet", */ }, -0x0888: { /* n:"MDXProp", */ }, -0x0889: { /* n:"MDXKPI", */ }, -0x088a: { /* n:"MDB", */ }, -0x088b: { /* n:"PLV", */ }, -0x088c: { /* n:"Compat12", */ f:parsebool, r:12 }, -0x088d: { /* n:"DXF", */ }, -0x088e: { /* n:"TableStyles", */ r:12 }, -0x088f: { /* n:"TableStyle", */ }, -0x0890: { /* n:"TableStyleElement", */ }, -0x0892: { /* n:"StyleExt", */ }, -0x0893: { /* n:"NamePublish", */ }, -0x0894: { /* n:"NameCmt", */ f:parse_NameCmt, r:12 }, -0x0895: { /* n:"SortData", */ }, -0x0896: { /* n:"Theme", */ f:parse_Theme, r:12 }, -0x0897: { /* n:"GUIDTypeLib", */ }, -0x0898: { /* n:"FnGrp12", */ }, -0x0899: { /* n:"NameFnGrp12", */ }, -0x089a: { /* n:"MTRSettings", */ f:parse_MTRSettings, r:12 }, -0x089b: { /* n:"CompressPictures", */ f:parsenoop2 }, -0x089c: { /* n:"HeaderFooter", */ }, -0x089d: { /* n:"CrtLayout12", */ }, -0x089e: { /* n:"CrtMlFrt", */ }, -0x089f: { /* n:"CrtMlFrtContinue", */ }, -0x08a3: { /* n:"ForceFullCalculation", */ f:parse_ForceFullCalculation }, -0x08a4: { /* n:"ShapePropsStream", */ }, -0x08a5: { /* n:"TextPropsStream", */ }, -0x08a6: { /* n:"RichTextStream", */ }, -0x08a7: { /* n:"CrtLayout12A", */ }, -0x1001: { /* n:"Units", */ }, -0x1002: { /* n:"Chart", */ }, -0x1003: { /* n:"Series", */ }, -0x1006: { /* n:"DataFormat", */ }, -0x1007: { /* n:"LineFormat", */ }, -0x1009: { /* n:"MarkerFormat", */ }, -0x100a: { /* n:"AreaFormat", */ }, -0x100b: { /* n:"PieFormat", */ }, -0x100c: { /* n:"AttachedLabel", */ }, -0x100d: { /* n:"SeriesText", */ }, -0x1014: { /* n:"ChartFormat", */ }, -0x1015: { /* n:"Legend", */ }, -0x1016: { /* n:"SeriesList", */ }, -0x1017: { /* n:"Bar", */ }, -0x1018: { /* n:"Line", */ }, -0x1019: { /* n:"Pie", */ }, -0x101a: { /* n:"Area", */ }, -0x101b: { /* n:"Scatter", */ }, -0x101c: { /* n:"CrtLine", */ }, -0x101d: { /* n:"Axis", */ }, -0x101e: { /* n:"Tick", */ }, -0x101f: { /* n:"ValueRange", */ }, -0x1020: { /* n:"CatSerRange", */ }, -0x1021: { /* n:"AxisLine", */ }, -0x1022: { /* n:"CrtLink", */ }, -0x1024: { /* n:"DefaultText", */ }, -0x1025: { /* n:"Text", */ }, -0x1026: { /* n:"FontX", */ f:parseuint16 }, -0x1027: { /* n:"ObjectLink", */ }, -0x1032: { /* n:"Frame", */ }, -0x1033: { /* n:"Begin", */ }, -0x1034: { /* n:"End", */ }, -0x1035: { /* n:"PlotArea", */ }, -0x103a: { /* n:"Chart3d", */ }, -0x103c: { /* n:"PicF", */ }, -0x103d: { /* n:"DropBar", */ }, -0x103e: { /* n:"Radar", */ }, -0x103f: { /* n:"Surf", */ }, -0x1040: { /* n:"RadarArea", */ }, -0x1041: { /* n:"AxisParent", */ }, -0x1043: { /* n:"LegendException", */ }, -0x1044: { /* n:"ShtProps", */ f:parse_ShtProps }, -0x1045: { /* n:"SerToCrt", */ }, -0x1046: { /* n:"AxesUsed", */ }, -0x1048: { /* n:"SBaseRef", */ }, -0x104a: { /* n:"SerParent", */ }, -0x104b: { /* n:"SerAuxTrend", */ }, -0x104e: { /* n:"IFmtRecord", */ }, -0x104f: { /* n:"Pos", */ }, -0x1050: { /* n:"AlRuns", */ }, -0x1051: { /* n:"BRAI", */ }, -0x105b: { /* n:"SerAuxErrBar", */ }, -0x105c: { /* n:"ClrtClient", */ f:parse_ClrtClient }, -0x105d: { /* n:"SerFmt", */ }, -0x105f: { /* n:"Chart3DBarShape", */ }, -0x1060: { /* n:"Fbi", */ }, -0x1061: { /* n:"BopPop", */ }, -0x1062: { /* n:"AxcExt", */ }, -0x1063: { /* n:"Dat", */ }, -0x1064: { /* n:"PlotGrowth", */ }, -0x1065: { /* n:"SIIndex", */ }, -0x1066: { /* n:"GelFrame", */ }, -0x1067: { /* n:"BopPopCustom", */ }, -0x1068: { /* n:"Fbi2", */ }, + 0x0006: { /* n:"Formula", */ f:parse_Formula }, + 0x000a: { /* n:"EOF", */ f:parsenoop2 }, + 0x000c: { /* n:"CalcCount", */ f:parseuint16 }, // + 0x000d: { /* n:"CalcMode", */ f:parseuint16 }, // + 0x000e: { /* n:"CalcPrecision", */ f:parsebool }, // + 0x000f: { /* n:"CalcRefMode", */ f:parsebool }, // + 0x0010: { /* n:"CalcDelta", */ f:parse_Xnum }, // + 0x0011: { /* n:"CalcIter", */ f:parsebool }, // + 0x0012: { /* n:"Protect", */ f:parsebool }, + 0x0013: { /* n:"Password", */ f:parseuint16 }, + 0x0014: { /* n:"Header", */ f:parse_XLHeaderFooter }, + 0x0015: { /* n:"Footer", */ f:parse_XLHeaderFooter }, + 0x0017: { /* n:"ExternSheet", */ f:parse_ExternSheet }, + 0x0018: { /* n:"Lbl", */ f:parse_Lbl }, + 0x0019: { /* n:"WinProtect", */ f:parsebool }, + 0x001a: { /* n:"VerticalPageBreaks", */ }, + 0x001b: { /* n:"HorizontalPageBreaks", */ }, + 0x001c: { /* n:"Note", */ f:parse_Note }, + 0x001d: { /* n:"Selection", */ }, + 0x0022: { /* n:"Date1904", */ f:parsebool }, + 0x0023: { /* n:"ExternName", */ f:parse_ExternName }, + 0x0026: { /* n:"LeftMargin", */ f:parse_Xnum }, // * + 0x0027: { /* n:"RightMargin", */ f:parse_Xnum }, // * + 0x0028: { /* n:"TopMargin", */ f:parse_Xnum }, // * + 0x0029: { /* n:"BottomMargin", */ f:parse_Xnum }, // * + 0x002a: { /* n:"PrintRowCol", */ f:parsebool }, + 0x002b: { /* n:"PrintGrid", */ f:parsebool }, + 0x002f: { /* n:"FilePass", */ f:parse_FilePass }, + 0x0031: { /* n:"Font", */ f:parse_Font }, + 0x0033: { /* n:"PrintSize", */ f:parseuint16 }, + 0x003c: { /* n:"Continue", */ }, + 0x003d: { /* n:"Window1", */ f:parse_Window1 }, + 0x0040: { /* n:"Backup", */ f:parsebool }, + 0x0041: { /* n:"Pane", */ f:parse_Pane }, + 0x0042: { /* n:"CodePage", */ f:parseuint16 }, + 0x004d: { /* n:"Pls", */ }, + 0x0050: { /* n:"DCon", */ }, + 0x0051: { /* n:"DConRef", */ }, + 0x0052: { /* n:"DConName", */ }, + 0x0055: { /* n:"DefColWidth", */ f:parseuint16 }, + 0x0059: { /* n:"XCT", */ }, + 0x005a: { /* n:"CRN", */ }, + 0x005b: { /* n:"FileSharing", */ }, + 0x005c: { /* n:"WriteAccess", */ f:parse_WriteAccess }, + 0x005d: { /* n:"Obj", */ f:parse_Obj }, + 0x005e: { /* n:"Uncalced", */ }, + 0x005f: { /* n:"CalcSaveRecalc", */ f:parsebool }, // + 0x0060: { /* n:"Template", */ }, + 0x0061: { /* n:"Intl", */ }, + 0x0063: { /* n:"ObjProtect", */ f:parsebool }, + 0x007d: { /* n:"ColInfo", */ f:parse_ColInfo }, + 0x0080: { /* n:"Guts", */ f:parse_Guts }, + 0x0081: { /* n:"WsBool", */ f:parse_WsBool }, + 0x0082: { /* n:"GridSet", */ f:parseuint16 }, + 0x0083: { /* n:"HCenter", */ f:parsebool }, + 0x0084: { /* n:"VCenter", */ f:parsebool }, + 0x0085: { /* n:"BoundSheet8", */ f:parse_BoundSheet8 }, + 0x0086: { /* n:"WriteProtect", */ }, + 0x008c: { /* n:"Country", */ f:parse_Country }, + 0x008d: { /* n:"HideObj", */ f:parseuint16 }, + 0x0090: { /* n:"Sort", */ }, + 0x0092: { /* n:"Palette", */ f:parse_Palette }, + 0x0097: { /* n:"Sync", */ }, + 0x0098: { /* n:"LPr", */ }, + 0x0099: { /* n:"DxGCol", */ }, + 0x009a: { /* n:"FnGroupName", */ }, + 0x009b: { /* n:"FilterMode", */ }, + 0x009c: { /* n:"BuiltInFnGroupCount", */ f:parseuint16 }, + 0x009d: { /* n:"AutoFilterInfo", */ }, + 0x009e: { /* n:"AutoFilter", */ }, + 0x00a0: { /* n:"Scl", */ f:parse_Scl }, + 0x00a1: { /* n:"Setup", */ f:parse_Setup }, + 0x00ae: { /* n:"ScenMan", */ }, + 0x00af: { /* n:"SCENARIO", */ }, + 0x00b0: { /* n:"SxView", */ }, + 0x00b1: { /* n:"Sxvd", */ }, + 0x00b2: { /* n:"SXVI", */ }, + 0x00b4: { /* n:"SxIvd", */ }, + 0x00b5: { /* n:"SXLI", */ }, + 0x00b6: { /* n:"SXPI", */ }, + 0x00b8: { /* n:"DocRoute", */ }, + 0x00b9: { /* n:"RecipName", */ }, + 0x00bd: { /* n:"MulRk", */ f:parse_MulRk }, + 0x00be: { /* n:"MulBlank", */ f:parse_MulBlank }, + 0x00c1: { /* n:"Mms", */ f:parsenoop2 }, + 0x00c5: { /* n:"SXDI", */ }, + 0x00c6: { /* n:"SXDB", */ }, + 0x00c7: { /* n:"SXFDB", */ }, + 0x00c8: { /* n:"SXDBB", */ }, + 0x00c9: { /* n:"SXNum", */ }, + 0x00ca: { /* n:"SxBool", */ f:parsebool }, + 0x00cb: { /* n:"SxErr", */ }, + 0x00cc: { /* n:"SXInt", */ }, + 0x00cd: { /* n:"SXString", */ }, + 0x00ce: { /* n:"SXDtr", */ }, + 0x00cf: { /* n:"SxNil", */ }, + 0x00d0: { /* n:"SXTbl", */ }, + 0x00d1: { /* n:"SXTBRGIITM", */ }, + 0x00d2: { /* n:"SxTbpg", */ }, + 0x00d3: { /* n:"ObProj", */ }, + 0x00d5: { /* n:"SXStreamID", */ }, + 0x00d7: { /* n:"DBCell", */ }, + 0x00d8: { /* n:"SXRng", */ }, + 0x00d9: { /* n:"SxIsxoper", */ }, + 0x00da: { /* n:"BookBool", */ f:parseuint16 }, + 0x00dc: { /* n:"DbOrParamQry", */ }, + 0x00dd: { /* n:"ScenarioProtect", */ f:parsebool }, + 0x00de: { /* n:"OleObjectSize", */ }, + 0x00e0: { /* n:"XF", */ f:parse_XF }, + 0x00e1: { /* n:"InterfaceHdr", */ f:parse_InterfaceHdr }, + 0x00e2: { /* n:"InterfaceEnd", */ f:parsenoop2 }, + 0x00e3: { /* n:"SXVS", */ }, + 0x00e5: { /* n:"MergeCells", */ f:parse_MergeCells }, + 0x00e9: { /* n:"BkHim", */ }, + 0x00eb: { /* n:"MsoDrawingGroup", */ }, + 0x00ec: { /* n:"MsoDrawing", */ }, + 0x00ed: { /* n:"MsoDrawingSelection", */ }, + 0x00ef: { /* n:"PhoneticInfo", */ }, + 0x00f0: { /* n:"SxRule", */ }, + 0x00f1: { /* n:"SXEx", */ }, + 0x00f2: { /* n:"SxFilt", */ }, + 0x00f4: { /* n:"SxDXF", */ }, + 0x00f5: { /* n:"SxItm", */ }, + 0x00f6: { /* n:"SxName", */ }, + 0x00f7: { /* n:"SxSelect", */ }, + 0x00f8: { /* n:"SXPair", */ }, + 0x00f9: { /* n:"SxFmla", */ }, + 0x00fb: { /* n:"SxFormat", */ }, + 0x00fc: { /* n:"SST", */ f:parse_SST }, + 0x00fd: { /* n:"LabelSst", */ f:parse_LabelSst }, + 0x00ff: { /* n:"ExtSST", */ f:parse_ExtSST }, + 0x0100: { /* n:"SXVDEx", */ }, + 0x0103: { /* n:"SXFormula", */ }, + 0x0122: { /* n:"SXDBEx", */ }, + 0x0137: { /* n:"RRDInsDel", */ }, + 0x0138: { /* n:"RRDHead", */ }, + 0x013b: { /* n:"RRDChgCell", */ }, + 0x013d: { /* n:"RRTabId", */ f:parseuint16a }, + 0x013e: { /* n:"RRDRenSheet", */ }, + 0x013f: { /* n:"RRSort", */ }, + 0x0140: { /* n:"RRDMove", */ }, + 0x014a: { /* n:"RRFormat", */ }, + 0x014b: { /* n:"RRAutoFmt", */ }, + 0x014d: { /* n:"RRInsertSh", */ }, + 0x014e: { /* n:"RRDMoveBegin", */ }, + 0x014f: { /* n:"RRDMoveEnd", */ }, + 0x0150: { /* n:"RRDInsDelBegin", */ }, + 0x0151: { /* n:"RRDInsDelEnd", */ }, + 0x0152: { /* n:"RRDConflict", */ }, + 0x0153: { /* n:"RRDDefName", */ }, + 0x0154: { /* n:"RRDRstEtxp", */ }, + 0x015f: { /* n:"LRng", */ }, + 0x0160: { /* n:"UsesELFs", */ f:parsebool }, + 0x0161: { /* n:"DSF", */ f:parsenoop2 }, + 0x0191: { /* n:"CUsr", */ }, + 0x0192: { /* n:"CbUsr", */ }, + 0x0193: { /* n:"UsrInfo", */ }, + 0x0194: { /* n:"UsrExcl", */ }, + 0x0195: { /* n:"FileLock", */ }, + 0x0196: { /* n:"RRDInfo", */ }, + 0x0197: { /* n:"BCUsrs", */ }, + 0x0198: { /* n:"UsrChk", */ }, + 0x01a9: { /* n:"UserBView", */ }, + 0x01aa: { /* n:"UserSViewBegin", */ }, + 0x01ab: { /* n:"UserSViewEnd", */ }, + 0x01ac: { /* n:"RRDUserView", */ }, + 0x01ad: { /* n:"Qsi", */ }, + 0x01ae: { /* n:"SupBook", */ f:parse_SupBook }, + 0x01af: { /* n:"Prot4Rev", */ f:parsebool }, + 0x01b0: { /* n:"CondFmt", */ }, + 0x01b1: { /* n:"CF", */ }, + 0x01b2: { /* n:"DVal", */ }, + 0x01b5: { /* n:"DConBin", */ }, + 0x01b6: { /* n:"TxO", */ f:parse_TxO }, + 0x01b7: { /* n:"RefreshAll", */ f:parsebool }, // + 0x01b8: { /* n:"HLink", */ f:parse_HLink }, + 0x01b9: { /* n:"Lel", */ }, + 0x01ba: { /* n:"CodeName", */ f:parse_XLUnicodeString }, + 0x01bb: { /* n:"SXFDBType", */ }, + 0x01bc: { /* n:"Prot4RevPass", */ f:parseuint16 }, + 0x01bd: { /* n:"ObNoMacros", */ }, + 0x01be: { /* n:"Dv", */ }, + 0x01c0: { /* n:"Excel9File", */ f:parsenoop2 }, + 0x01c1: { /* n:"RecalcId", */ f:parse_RecalcId, r:2}, + 0x01c2: { /* n:"EntExU2", */ f:parsenoop2 }, + 0x0200: { /* n:"Dimensions", */ f:parse_Dimensions }, + 0x0201: { /* n:"Blank", */ f:parse_Blank }, + 0x0203: { /* n:"Number", */ f:parse_Number }, + 0x0204: { /* n:"Label", */ f:parse_Label }, + 0x0205: { /* n:"BoolErr", */ f:parse_BoolErr }, + 0x0207: { /* n:"String", */ f:parse_String }, + 0x0208: { /* n:"Row", */ f:parse_Row }, + 0x020b: { /* n:"Index", */ }, + 0x0221: { /* n:"Array", */ f:parse_Array }, + 0x0225: { /* n:"DefaultRowHeight", */ f:parse_DefaultRowHeight }, + 0x0236: { /* n:"Table", */ }, + 0x023e: { /* n:"Window2", */ f:parse_Window2 }, + 0x027e: { /* n:"RK", */ f:parse_RK }, + 0x0293: { /* n:"Style", */ }, + 0x0418: { /* n:"BigName", */ }, + 0x041e: { /* n:"Format", */ f:parse_Format }, + 0x043c: { /* n:"ContinueBigName", */ }, + 0x04bc: { /* n:"ShrFmla", */ f:parse_ShrFmla }, + 0x0800: { /* n:"HLinkTooltip", */ f:parse_HLinkTooltip }, + 0x0801: { /* n:"WebPub", */ }, + 0x0802: { /* n:"QsiSXTag", */ }, + 0x0803: { /* n:"DBQueryExt", */ }, + 0x0804: { /* n:"ExtString", */ }, + 0x0805: { /* n:"TxtQry", */ }, + 0x0806: { /* n:"Qsir", */ }, + 0x0807: { /* n:"Qsif", */ }, + 0x0808: { /* n:"RRDTQSIF", */ }, + 0x0809: { /* n:"BOF", */ f:parse_BOF }, + 0x080a: { /* n:"OleDbConn", */ }, + 0x080b: { /* n:"WOpt", */ }, + 0x080c: { /* n:"SXViewEx", */ }, + 0x080d: { /* n:"SXTH", */ }, + 0x080e: { /* n:"SXPIEx", */ }, + 0x080f: { /* n:"SXVDTEx", */ }, + 0x0810: { /* n:"SXViewEx9", */ }, + 0x0812: { /* n:"ContinueFrt", */ }, + 0x0813: { /* n:"RealTimeData", */ }, + 0x0850: { /* n:"ChartFrtInfo", */ }, + 0x0851: { /* n:"FrtWrapper", */ }, + 0x0852: { /* n:"StartBlock", */ }, + 0x0853: { /* n:"EndBlock", */ }, + 0x0854: { /* n:"StartObject", */ }, + 0x0855: { /* n:"EndObject", */ }, + 0x0856: { /* n:"CatLab", */ }, + 0x0857: { /* n:"YMult", */ }, + 0x0858: { /* n:"SXViewLink", */ }, + 0x0859: { /* n:"PivotChartBits", */ }, + 0x085a: { /* n:"FrtFontList", */ }, + 0x0862: { /* n:"SheetExt", */ }, + 0x0863: { /* n:"BookExt", */ r:12}, + 0x0864: { /* n:"SXAddl", */ }, + 0x0865: { /* n:"CrErr", */ }, + 0x0866: { /* n:"HFPicture", */ }, + 0x0867: { /* n:"FeatHdr", */ f:parsenoop2 }, + 0x0868: { /* n:"Feat", */ }, + 0x086a: { /* n:"DataLabExt", */ }, + 0x086b: { /* n:"DataLabExtContents", */ }, + 0x086c: { /* n:"CellWatch", */ }, + 0x0871: { /* n:"FeatHdr11", */ }, + 0x0872: { /* n:"Feature11", */ }, + 0x0874: { /* n:"DropDownObjIds", */ }, + 0x0875: { /* n:"ContinueFrt11", */ }, + 0x0876: { /* n:"DConn", */ }, + 0x0877: { /* n:"List12", */ }, + 0x0878: { /* n:"Feature12", */ }, + 0x0879: { /* n:"CondFmt12", */ }, + 0x087a: { /* n:"CF12", */ }, + 0x087b: { /* n:"CFEx", */ }, + 0x087c: { /* n:"XFCRC", */ f:parse_XFCRC, r:12 }, + 0x087d: { /* n:"XFExt", */ f:parse_XFExt, r:12 }, + 0x087e: { /* n:"AutoFilter12", */ }, + 0x087f: { /* n:"ContinueFrt12", */ }, + 0x0884: { /* n:"MDTInfo", */ }, + 0x0885: { /* n:"MDXStr", */ }, + 0x0886: { /* n:"MDXTuple", */ }, + 0x0887: { /* n:"MDXSet", */ }, + 0x0888: { /* n:"MDXProp", */ }, + 0x0889: { /* n:"MDXKPI", */ }, + 0x088a: { /* n:"MDB", */ }, + 0x088b: { /* n:"PLV", */ }, + 0x088c: { /* n:"Compat12", */ f:parsebool, r:12 }, + 0x088d: { /* n:"DXF", */ }, + 0x088e: { /* n:"TableStyles", */ r:12 }, + 0x088f: { /* n:"TableStyle", */ }, + 0x0890: { /* n:"TableStyleElement", */ }, + 0x0892: { /* n:"StyleExt", */ }, + 0x0893: { /* n:"NamePublish", */ }, + 0x0894: { /* n:"NameCmt", */ f:parse_NameCmt, r:12 }, + 0x0895: { /* n:"SortData", */ }, + 0x0896: { /* n:"Theme", */ f:parse_Theme, r:12 }, + 0x0897: { /* n:"GUIDTypeLib", */ }, + 0x0898: { /* n:"FnGrp12", */ }, + 0x0899: { /* n:"NameFnGrp12", */ }, + 0x089a: { /* n:"MTRSettings", */ f:parse_MTRSettings, r:12 }, + 0x089b: { /* n:"CompressPictures", */ f:parsenoop2 }, + 0x089c: { /* n:"HeaderFooter", */ }, + 0x089d: { /* n:"CrtLayout12", */ }, + 0x089e: { /* n:"CrtMlFrt", */ }, + 0x089f: { /* n:"CrtMlFrtContinue", */ }, + 0x08a3: { /* n:"ForceFullCalculation", */ f:parse_ForceFullCalculation }, + 0x08a4: { /* n:"ShapePropsStream", */ }, + 0x08a5: { /* n:"TextPropsStream", */ }, + 0x08a6: { /* n:"RichTextStream", */ }, + 0x08a7: { /* n:"CrtLayout12A", */ }, + 0x1001: { /* n:"Units", */ }, + 0x1002: { /* n:"Chart", */ }, + 0x1003: { /* n:"Series", */ }, + 0x1006: { /* n:"DataFormat", */ }, + 0x1007: { /* n:"LineFormat", */ }, + 0x1009: { /* n:"MarkerFormat", */ }, + 0x100a: { /* n:"AreaFormat", */ }, + 0x100b: { /* n:"PieFormat", */ }, + 0x100c: { /* n:"AttachedLabel", */ }, + 0x100d: { /* n:"SeriesText", */ }, + 0x1014: { /* n:"ChartFormat", */ }, + 0x1015: { /* n:"Legend", */ }, + 0x1016: { /* n:"SeriesList", */ }, + 0x1017: { /* n:"Bar", */ }, + 0x1018: { /* n:"Line", */ }, + 0x1019: { /* n:"Pie", */ }, + 0x101a: { /* n:"Area", */ }, + 0x101b: { /* n:"Scatter", */ }, + 0x101c: { /* n:"CrtLine", */ }, + 0x101d: { /* n:"Axis", */ }, + 0x101e: { /* n:"Tick", */ }, + 0x101f: { /* n:"ValueRange", */ }, + 0x1020: { /* n:"CatSerRange", */ }, + 0x1021: { /* n:"AxisLine", */ }, + 0x1022: { /* n:"CrtLink", */ }, + 0x1024: { /* n:"DefaultText", */ }, + 0x1025: { /* n:"Text", */ }, + 0x1026: { /* n:"FontX", */ f:parseuint16 }, + 0x1027: { /* n:"ObjectLink", */ }, + 0x1032: { /* n:"Frame", */ }, + 0x1033: { /* n:"Begin", */ }, + 0x1034: { /* n:"End", */ }, + 0x1035: { /* n:"PlotArea", */ }, + 0x103a: { /* n:"Chart3d", */ }, + 0x103c: { /* n:"PicF", */ }, + 0x103d: { /* n:"DropBar", */ }, + 0x103e: { /* n:"Radar", */ }, + 0x103f: { /* n:"Surf", */ }, + 0x1040: { /* n:"RadarArea", */ }, + 0x1041: { /* n:"AxisParent", */ }, + 0x1043: { /* n:"LegendException", */ }, + 0x1044: { /* n:"ShtProps", */ f:parse_ShtProps }, + 0x1045: { /* n:"SerToCrt", */ }, + 0x1046: { /* n:"AxesUsed", */ }, + 0x1048: { /* n:"SBaseRef", */ }, + 0x104a: { /* n:"SerParent", */ }, + 0x104b: { /* n:"SerAuxTrend", */ }, + 0x104e: { /* n:"IFmtRecord", */ }, + 0x104f: { /* n:"Pos", */ }, + 0x1050: { /* n:"AlRuns", */ }, + 0x1051: { /* n:"BRAI", */ }, + 0x105b: { /* n:"SerAuxErrBar", */ }, + 0x105c: { /* n:"ClrtClient", */ f:parse_ClrtClient }, + 0x105d: { /* n:"SerFmt", */ }, + 0x105f: { /* n:"Chart3DBarShape", */ }, + 0x1060: { /* n:"Fbi", */ }, + 0x1061: { /* n:"BopPop", */ }, + 0x1062: { /* n:"AxcExt", */ }, + 0x1063: { /* n:"Dat", */ }, + 0x1064: { /* n:"PlotGrowth", */ }, + 0x1065: { /* n:"SIIndex", */ }, + 0x1066: { /* n:"GelFrame", */ }, + 0x1067: { /* n:"BopPopCustom", */ }, + 0x1068: { /* n:"Fbi2", */ }, -0x0000: { /* n:"Dimensions", */ f:parse_Dimensions }, -0x0001: { /* n:"BIFF2BLANK", */ }, -0x0002: { /* n:"BIFF2INT", */ f:parse_BIFF2INT }, -0x0003: { /* n:"BIFF2NUM", */ f:parse_BIFF2NUM }, -0x0004: { /* n:"BIFF2STR", */ f:parse_BIFF2STR }, -0x0005: { /* n:"BIFF2BOOLERR", */ f:parse_BIFF2BOOLERR }, -0x0007: { /* n:"String", */ f:parse_BIFF2STRING }, -0x0008: { /* n:"BIFF2ROW", */ }, -0x0009: { /* n:"BOF", */ f:parse_BOF }, -0x000b: { /* n:"Index", */ }, -0x0016: { /* n:"ExternCount", */ f:parseuint16 }, -0x001e: { /* n:"BIFF2FORMAT", */ f:parse_BIFF2Format }, -0x001f: { /* n:"BIFF2FMTCNT", */ }, /* 16-bit cnt of BIFF2FORMAT records */ -0x0020: { /* n:"BIFF2COLINFO", */ }, -0x0021: { /* n:"Array", */ f:parse_Array }, -0x0024: { /* n:"COLWIDTH", */ }, -0x0025: { /* n:"DefaultRowHeight", */ f:parse_DefaultRowHeight }, + 0x0000: { /* n:"Dimensions", */ f:parse_Dimensions }, + 0x0001: { /* n:"BIFF2BLANK", */ }, + 0x0002: { /* n:"BIFF2INT", */ f:parse_BIFF2INT }, + 0x0003: { /* n:"BIFF2NUM", */ f:parse_BIFF2NUM }, + 0x0004: { /* n:"BIFF2STR", */ f:parse_BIFF2STR }, + 0x0005: { /* n:"BIFF2BOOLERR", */ f:parse_BIFF2BOOLERR }, + 0x0007: { /* n:"String", */ f:parse_BIFF2STRING }, + 0x0008: { /* n:"BIFF2ROW", */ }, + 0x0009: { /* n:"BOF", */ f:parse_BOF }, + 0x000b: { /* n:"Index", */ }, + 0x0016: { /* n:"ExternCount", */ f:parseuint16 }, + 0x001e: { /* n:"BIFF2FORMAT", */ f:parse_BIFF2Format }, + 0x001f: { /* n:"BIFF2FMTCNT", */ }, /* 16-bit cnt of BIFF2FORMAT records */ + 0x0020: { /* n:"BIFF2COLINFO", */ }, + 0x0021: { /* n:"Array", */ f:parse_Array }, + 0x0024: { /* n:"COLWIDTH", */ }, + 0x0025: { /* n:"DefaultRowHeight", */ f:parse_DefaultRowHeight }, // 0x002c ?? // 0x002d ?? // 0x002e ?? // 0x0030 FONTCOUNT: number of fonts -0x0032: { /* n:"BIFF2FONTXTRA", */ f:parse_BIFF2FONTXTRA }, + 0x0032: { /* n:"BIFF2FONTXTRA", */ f:parse_BIFF2FONTXTRA }, // 0x0035: INFOOPTS // 0x0036: TABLE (BIFF2 only) // 0x0037: TABLE2 (BIFF2 only) @@ -21498,7 +21628,7 @@ var XLSRecordEnum = { // 0x0039 ?? // 0x003a: BEGINPREF // 0x003b: ENDPREF -0x003e: { /* n:"BIFF2WINDOW2", */ }, + 0x003e: { /* n:"BIFF2WINDOW2", */ }, // 0x003f ?? // 0x0046: SHOWSCROLL // 0x0047: SHOWFORMULA @@ -21512,77 +21642,77 @@ var XLSRecordEnum = { // 0x0058: TOOLBAR (BIFF3) /* - - - */ -0x0034: { /* n:"DDEObjName", */ }, -0x0043: { /* n:"BIFF2XF", */ f:parse_BIFF2XF }, -0x0044: { /* n:"BIFF2XFINDEX", */ f:parseuint16 }, -0x0045: { /* n:"BIFF2FONTCLR", */ }, -0x0056: { /* n:"BIFF4FMTCNT", */ }, /* 16-bit cnt, similar to BIFF2 */ -0x007e: { /* n:"RK", */ }, /* Not necessarily same as 0x027e */ -0x007f: { /* n:"ImData", */ f:parse_ImData }, -0x0087: { /* n:"Addin", */ }, -0x0088: { /* n:"Edg", */ }, -0x0089: { /* n:"Pub", */ }, + 0x0034: { /* n:"DDEObjName", */ }, + 0x0043: { /* n:"BIFF2XF", */ f:parse_BIFF2XF }, + 0x0044: { /* n:"BIFF2XFINDEX", */ f:parseuint16 }, + 0x0045: { /* n:"BIFF2FONTCLR", */ }, + 0x0056: { /* n:"BIFF4FMTCNT", */ }, /* 16-bit cnt, similar to BIFF2 */ + 0x007e: { /* n:"RK", */ }, /* Not necessarily same as 0x027e */ + 0x007f: { /* n:"ImData", */ f:parse_ImData }, + 0x0087: { /* n:"Addin", */ }, + 0x0088: { /* n:"Edg", */ }, + 0x0089: { /* n:"Pub", */ }, // 0x8A // 0x8B LH: alternate menu key flag (BIFF3/4) // 0x8E -0x008F: { /* n:"BIFF4SheetInfo", */ f:parse_BIFF4SheetInfo }, -0x0091: { /* n:"Sub", */ }, + 0x008F: { /* n:"BIFF4SheetInfo", */ f:parse_BIFF4SheetInfo }, + 0x0091: { /* n:"Sub", */ }, // 0x93 STYLE -0x0094: { /* n:"LHRecord", */ }, -0x0095: { /* n:"LHNGraph", */ }, -0x0096: { /* n:"Sound", */ }, + 0x0094: { /* n:"LHRecord", */ }, + 0x0095: { /* n:"LHNGraph", */ }, + 0x0096: { /* n:"Sound", */ }, // 0xA2 FNPROTO: function prototypes (BIFF4) // 0xA3 // 0xA8 -0x00a9: { /* n:"CoordList", */ }, -0x00ab: { /* n:"GCW", */ }, -0x00bc: { /* n:"ShrFmla", */ }, /* Not necessarily same as 0x04bc */ -0x00bf: { /* n:"ToolbarHdr", */ }, -0x00c0: { /* n:"ToolbarEnd", */ }, -0x00c2: { /* n:"AddMenu", */ }, -0x00c3: { /* n:"DelMenu", */ }, -0x00d6: { /* n:"RString", */ f:parse_RString }, -0x00df: { /* n:"UDDesc", */ }, -0x00ea: { /* n:"TabIdConf", */ }, -0x0162: { /* n:"XL5Modify", */ }, -0x01a5: { /* n:"FileSharing2", */ }, -0x0206: { /* n:"Formula", */ f:parse_Formula }, -0x0209: { /* n:"BOF", */ f:parse_BOF }, -0x0218: { /* n:"Lbl", */ f:parse_Lbl }, -0x0223: { /* n:"ExternName", */ f:parse_ExternName }, -0x0231: { /* n:"Font", */ }, -0x0243: { /* n:"BIFF3XF", */ f:parse_BIFF3XF }, -0x0406: { /* n:"Formula", */ f:parse_Formula }, -0x0409: { /* n:"BOF", */ f:parse_BOF }, -0x0443: { /* n:"BIFF4XF", */ f:parse_BIFF4XF }, -0x086d: { /* n:"FeatInfo", */ }, -0x0873: { /* n:"FeatInfo11", */ }, -0x0881: { /* n:"SXAddl12", */ }, -0x08c0: { /* n:"AutoWebPub", */ }, -0x08c1: { /* n:"ListObj", */ }, -0x08c2: { /* n:"ListField", */ }, -0x08c3: { /* n:"ListDV", */ }, -0x08c4: { /* n:"ListCondFmt", */ }, -0x08c5: { /* n:"ListCF", */ }, -0x08c6: { /* n:"FMQry", */ }, -0x08c7: { /* n:"FMSQry", */ }, -0x08c8: { /* n:"PLV", */ }, -0x08c9: { /* n:"LnExt", */ }, -0x08ca: { /* n:"MkrExt", */ }, -0x08cb: { /* n:"CrtCoopt", */ }, -0x08d6: { /* n:"FRTArchId$", */ r:12 }, + 0x00a9: { /* n:"CoordList", */ }, + 0x00ab: { /* n:"GCW", */ }, + 0x00bc: { /* n:"ShrFmla", */ }, /* Not necessarily same as 0x04bc */ + 0x00bf: { /* n:"ToolbarHdr", */ }, + 0x00c0: { /* n:"ToolbarEnd", */ }, + 0x00c2: { /* n:"AddMenu", */ }, + 0x00c3: { /* n:"DelMenu", */ }, + 0x00d6: { /* n:"RString", */ f:parse_RString }, + 0x00df: { /* n:"UDDesc", */ }, + 0x00ea: { /* n:"TabIdConf", */ }, + 0x0162: { /* n:"XL5Modify", */ }, + 0x01a5: { /* n:"FileSharing2", */ }, + 0x0206: { /* n:"Formula", */ f:parse_Formula }, + 0x0209: { /* n:"BOF", */ f:parse_BOF }, + 0x0218: { /* n:"Lbl", */ f:parse_Lbl }, + 0x0223: { /* n:"ExternName", */ f:parse_ExternName }, + 0x0231: { /* n:"Font", */ }, + 0x0243: { /* n:"BIFF3XF", */ f:parse_BIFF3XF }, + 0x0406: { /* n:"Formula", */ f:parse_Formula }, + 0x0409: { /* n:"BOF", */ f:parse_BOF }, + 0x0443: { /* n:"BIFF4XF", */ f:parse_BIFF4XF }, + 0x086d: { /* n:"FeatInfo", */ }, + 0x0873: { /* n:"FeatInfo11", */ }, + 0x0881: { /* n:"SXAddl12", */ }, + 0x08c0: { /* n:"AutoWebPub", */ }, + 0x08c1: { /* n:"ListObj", */ }, + 0x08c2: { /* n:"ListField", */ }, + 0x08c3: { /* n:"ListDV", */ }, + 0x08c4: { /* n:"ListCondFmt", */ }, + 0x08c5: { /* n:"ListCF", */ }, + 0x08c6: { /* n:"FMQry", */ }, + 0x08c7: { /* n:"FMSQry", */ }, + 0x08c8: { /* n:"PLV", */ }, + 0x08c9: { /* n:"LnExt", */ }, + 0x08ca: { /* n:"MkrExt", */ }, + 0x08cb: { /* n:"CrtCoopt", */ }, + 0x08d6: { /* n:"FRTArchId$", */ r:12 }, /* --- multiplan 4 records --- */ -0x0065: { /* n:"", */ }, // one per window -0x0066: { /* n:"", */ }, // calc settings -0x0069: { /* n:"", */ }, // print header -0x006a: { /* n:"", */ }, // print footer -0x006b: { /* n:"", */ }, // print settings -0x006d: { /* n:"", */ }, // one per window -0x0070: { /* n:"", */ }, // includes default col width -0x0072: { /* n:"", */ }, // includes selected cell + 0x0065: { /* n:"", */ }, // one per window + 0x0066: { /* n:"", */ }, // calc settings + 0x0069: { /* n:"", */ }, // print header + 0x006a: { /* n:"", */ }, // print footer + 0x006b: { /* n:"", */ }, // print settings + 0x006d: { /* n:"", */ }, // one per window + 0x0070: { /* n:"", */ }, // includes default col width + 0x0072: { /* n:"", */ }, // includes selected cell -0x7262: {} + 0x7262: {} }; function write_biff_rec(ba, type, payload, length) { @@ -21688,7 +21818,7 @@ function write_ws_biff2_cell(ba, cell, R, C, opts, date1904) { function write_ws_biff2(ba, ws, idx, opts, wb) { var dense = ws["!data"] != null; - var range = safe_decode_range(ws['!ref'] || "A1"), ref, rr = "", cols = []; + var range = safe_decode_range(ws['!ref'] || "A1"), rr = "", cols = []; if(range.e.c > 0xFF || range.e.r > 0x3FFF) { if(opts.WTF) throw new Error("Range " + (ws['!ref'] || "A1") + " exceeds format limit A1:IV16384"); range.e.c = Math.min(range.e.c, 0xFF); @@ -22131,9 +22261,9 @@ function write_ws_biff8(idx, opts, wb) { var date1904 = (((wb||{}).Workbook||{}).WBProps||{}).date1904; if(b8) ws['!links'] = []; + for(var C = range.s.c; C <= range.e.c; ++C) cols[C] = encode_col(C); var comments = []; var row = []; - for(var C = range.s.c; C <= range.e.c; ++C) cols[C] = encode_col(C); for(var R = range.s.r; R <= range.e.r; ++R) { if(dense) row = ws["!data"][R] || []; rr = encode_row(R); @@ -22301,12 +22431,12 @@ function html_to_sheet(str, _opts) { var opts = _opts || {}; var dense = (opts.dense != null) ? opts.dense : DENSE; var ws = ({}); if(dense) ws["!data"] = []; - str = str.replace(//g, ""); + str = str_remove_ng(str, ""); var mtch = str.match(/"); var mtch2 = str.match(/<\/table/i); var i = mtch.index, j = mtch2 && mtch2.index || str.length; - var rows = split_regex(str.slice(i, j), /(:?]*>)/i, ""); + var rows = split_regex(str.slice(i, j), /(:?]*>)/i, ""); var R = -1, C = 0, RS = 0, CS = 0; var range = {s:{r:10000000, c:10000000},e:{r:0,c:0}}; var merges = []; @@ -22382,7 +22512,7 @@ function make_html_row(ws, r, R, o) { else if(cell) { sp["data-t"] = cell && cell.t || 'z'; // note: data-v is unaffected by the timezone interpretation - if(cell.v != null) sp["data-v"] = cell.v instanceof Date ? cell.v.toISOString() : cell.v; + if(cell.v != null) sp["data-v"] = escapehtml(cell.v instanceof Date ? cell.v.toISOString() : cell.v); if(cell.z != null) sp["data-z"] = cell.z; if(cell.l && (cell.l.Target || "#").charAt(0) != "#") w = '' + w + ''; } @@ -22397,7 +22527,7 @@ var HTML_BEGIN = 'SheetJS Table Export var HTML_END = '</body></html>'; function html_to_workbook(str, opts) { - var mtch = str.match(/<table[\s\S]*?>[\s\S]*?<\/table>/gi); + var mtch = str_match_xml_ig(str, "table"); if(!mtch || mtch.length == 0) throw new Error("Invalid HTML: could not find <table>"); if(mtch.length == 1) { var w = sheet_to_workbook(html_to_sheet(mtch[0], opts), opts); @@ -22550,9 +22680,9 @@ function parse_text_p(text) { .replace(/[\t\r\n]/g, " ").trim().replace(/ +/g, " ") .replace(/<text:s\/>/g," ") .replace(/<text:s text:c="(\d+)"\/>/g, function($$,$1) { return Array(parseInt($1,10)+1).join(" "); }) - .replace(/<text:tab[^>]*\/>/g,"\t") + .replace(/<text:tab[^<>]*\/>/g,"\t") .replace(/<text:line-break\/>/g,"\n"); - var v = unescapexml(fixed.replace(/<[^>]*>/g,"")); + var v = unescapexml(fixed.replace(/<[^<>]*>/g,"")); return [v]; } @@ -22562,10 +22692,10 @@ function parse_ods_styles(d, _opts, _nfm) { var number_format_map = _nfm || {}; var str = xlml_normalize(d); xlmlregex.lastIndex = 0; - str = str.replace(/<!--([\s\S]*?)-->/mg,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,""); + str = remove_doctype(str_remove_ng(str, "<!--", "-->")); var Rn, NFtag, NF = "", tNF = "", y, etpos = 0, tidx = -1, infmt = false, payload = ""; while((Rn = xlmlregex.exec(str))) { - switch((Rn[3]=Rn[3].replace(/_.*$/,""))) { + switch((Rn[3]=Rn[3].replace(/_[\s\S]*$/,""))) { /* Number Format Definitions */ case 'number-style': // <number:number-style> 16.29.2 case 'currency-style': // <number:currency-style> 16.29.8 @@ -22809,8 +22939,8 @@ function parse_content_xml(d, _opts, _nfm) { var isstub = false, intable = false; var i = 0; xlmlregex.lastIndex = 0; - str = str.replace(/<!--([\s\S]*?)-->/mg,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,""); - while((Rn = xlmlregex.exec(str))) switch((Rn[3]=Rn[3].replace(/_.*$/,""))) { + str = remove_doctype(str_remove_ng(str, "<!--", "-->")); + while((Rn = xlmlregex.exec(str))) switch((Rn[3]=Rn[3].replace(/_[\s\S]*$/,""))) { case 'table': case '工作表': // 9.1.2 <table:table> if(Rn[1]==='/') { @@ -23407,7 +23537,7 @@ function write_number_format_ods(nf, nfidx) { if((t=nf.match(/# (\?+)\/(\d+)/))) { payload += writextag("number:fraction", null, {"number:min-integer-digits":0, "number:min-numerator-digits": t[1].length, "number:denominator-value": +t[2]}); break j; } /* percentages */ - if((t=nf.match(/(\d+)(|\.\d+)%/))) { type = "percentage"; payload += writextag("number:number", null, {"number:decimal-places": t[2] && t.length - 1 || 0, "number:min-decimal-places": t[2] && t.length - 1 || 0, "number:min-integer-digits": t[1].length }) + "<number:text>%</number:text>"; break j; } + if((t=nf.match(/\b(\d+)(|\.\d+)%/))) { type = "percentage"; payload += writextag("number:number", null, {"number:decimal-places": t[2] && t.length - 1 || 0, "number:min-decimal-places": t[2] && t.length - 1 || 0, "number:min-integer-digits": t[1].length }) + "<number:text>%</number:text>"; break j; } /* datetime */ var has_time = false; @@ -23536,17 +23666,17 @@ function write_names_ods(Names, SheetNames, idx) { return " " + writextag("table:named-range", null, { "table:name": name.Name, "table:cell-range-address": odsref, - "table:base-cell-address": odsref.replace(/[\.]?[^\.]*$/, ".$A$1") + "table:base-cell-address": odsref.replace(/[\.][^\.]*$/, ".$A$1") }); }).join("\n") + "\n </table:named-expressions>\n"; } var write_content_ods = /* @__PURE__ */(function() { /* 6.1.2 White Space Characters */ - var write_text_p = function(text) { + var write_text_p = function(text, span) { return escapexml(text) .replace(/ +/g, function($$){return '<text:s text:c="'+$$.length+'"/>';}) .replace(/\t/g, "<text:tab/>") - .replace(/\n/g, "</text:p><text:p>") + .replace(/\n/g, span ? "<text:line-break/>": "</text:p><text:p>") .replace(/^ /, "<text:s/>").replace(/ $/, "<text:s/>"); }; @@ -23776,7 +23906,7 @@ var write_content_ods = /* @__PURE__ */(function() { if(opts.bookType == "fods") { o.push('<office:document' + attr + fods + '>\n'); - o.push(write_meta_ods().replace(/<office:document-meta.*?>/, "").replace(/<\/office:document-meta>/, "") + "\n"); + o.push(write_meta_ods().replace(/<office:document-meta[^<>]*?>/, "").replace(/<\/office:document-meta>/, "") + "\n"); // TODO: settings (equiv of settings.xml for ODS) } else o.push('<office:document-content' + attr + '>\n'); // o.push(' <office:scripts/>\n'); @@ -25351,7 +25481,7 @@ function numbers_add_meta(mlist, newid, newloc) { mlist[3].push({ type: 2, data: write_shallow([ [], [{ type: 0, data: write_varint49(newid) }], - [{ type: 2, data: stru8(newloc.replace(/-.*$/, "")) }], + [{ type: 2, data: stru8(newloc.replace(/-[\s\S]*$/, "")) }], [{ type: 2, data: stru8(newloc) }], [{ type: 2, data: new Uint8Array([2, 0, 0]) }], [{ type: 2, data: new Uint8Array([2, 0, 0]) }], @@ -26353,7 +26483,7 @@ function parse_zip(zip, opts) { if(wbrels && wbrels[i]) { path = 'xl/' + (wbrels[i][1]).replace(/[\/]?xl\//, ""); if(!safegetzipfile(zip, path)) path = wbrels[i][1]; - if(!safegetzipfile(zip, path)) path = wbrelsfile.replace(/_rels\/.*$/,"") + wbrels[i][1]; + if(!safegetzipfile(zip, path)) path = wbrelsfile.replace(/_rels\/[\S\s]*$/,"") + wbrels[i][1]; stype = wbrels[i][2]; } else { path = 'xl/worksheets/sheet'+(i+1-nmode)+"." + wbext; @@ -26406,7 +26536,7 @@ function parse_zip(zip, opts) { if(dir.vba.length > 0) out.vbaraw = getzipdata(zip,strip_front_slash(dir.vba[0]),true); else if(dir.defaults && dir.defaults.bin === CT_VBA) out.vbaraw = getzipdata(zip, 'xl/vbaProject.bin',true); } - // TODO: pass back content types metdata for xlsm/xlsx resolution + // TODO: pass back content types metadata for xlsm/xlsx resolution out.bookType = xlsb ? "xlsb" : "xlsx"; return out; } @@ -27217,6 +27347,7 @@ function make_csv_row(sheet, r, R, cols, fs, rs, FS, o) { /* NOTE: Excel CSV does not support array formulae */ row.push(txt); } + if(o.strip) while(row[row.length - 1] === "") --row.length; if(o.blankrows === false && isempty) return null; return row.join(FS); } @@ -27228,7 +27359,6 @@ function sheet_to_csv(sheet, opts) { var r = safe_decode_range(sheet["!ref"]); var FS = o.FS !== undefined ? o.FS : ",", fs = FS.charCodeAt(0); var RS = o.RS !== undefined ? o.RS : "\n", rs = RS.charCodeAt(0); - var endregex = new RegExp((FS=="|" ? "\\|" : FS)+"+$"); var row = "", cols = []; var colinfo = o.skipHidden && sheet["!cols"] || []; var rowinfo = o.skipHidden && sheet["!rows"] || []; @@ -27238,7 +27368,6 @@ function sheet_to_csv(sheet, opts) { if ((rowinfo[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,""); if(row || (o.blankrows !== false)) out.push((w++ ? RS : "") + row); } return out.join(""); @@ -27401,10 +27530,10 @@ function book_append_sheet(wb, ws, name, roll) { var i = 1; if(!name) for(; i <= 0xFFFF; ++i, name = undefined) if(wb.SheetNames.indexOf(name = "Sheet" + i) == -1) break; if(!name || wb.SheetNames.length >= 0xFFFF) throw new Error("Too many worksheets"); - if(roll && wb.SheetNames.indexOf(name) >= 0) { - var m = name.match(/(^.*?)(\d+)$/); - i = m && +m[2] || 0; - var root = m && m[1] || name; + if(roll && wb.SheetNames.indexOf(name) >= 0 && name.length < 32) { + var m = name.match(/\d+$/); // at this point, name length is capped at 32 + i = m && +m[0] || 0; + var root = m && name.slice(0, m.index) || name; for(++i; i <= 0xFFFF; ++i) if(wb.SheetNames.indexOf(name = root + i) == -1) break; } check_ws_name(name); @@ -27530,7 +27659,6 @@ function write_csv_stream(sheet, opts) { var r = safe_decode_range(sheet["!ref"]); var FS = o.FS !== undefined ? o.FS : ",", fs = FS.charCodeAt(0); var RS = o.RS !== undefined ? o.RS : "\n", rs = RS.charCodeAt(0); - var endregex = new RegExp((FS=="|" ? "\\|" : FS)+"+$"); var row = "", cols = []; var colinfo = o.skipHidden && sheet["!cols"] || []; var rowinfo = o.skipHidden && sheet["!rows"] || []; @@ -27544,7 +27672,6 @@ function write_csv_stream(sheet, opts) { if ((rowinfo[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,""); if(row || (o.blankrows !== false)) return stream.push((w++ ? RS : "") + row); } } diff --git a/xlsx.mini.flow.js b/xlsx.mini.flow.js index 47659ce..410494b 100644 --- a/xlsx.mini.flow.js +++ b/xlsx.mini.flow.js @@ -1,10 +1,10 @@ /*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */ /* vim: set ts=2: */ /*exported XLSX */ -/*global global, exports, module, require:false, process:false, Buffer:false, ArrayBuffer:false, DataView:false, Deno:false, Float32Array:false */ +/*global global, exports, module, require:false, process:false, Buffer:false, ArrayBuffer:false, DataView:false, Deno:false, Set:false, Float32Array:false */ var XLSX = {}; function make_xlsx_lib(XLSX){ -XLSX.version = '0.20.1'; +XLSX.version = '0.20.2'; var current_codepage = 1200, current_ansi = 1252; /*:: declare var cptable:any; */ /*global cptable:true, window */ @@ -13,26 +13,26 @@ var $cptable; var VALID_ANSI = [ 874, 932, 936, 949, 950, 1250, 1251, 1252, 1253, 1254, 1255, 1256, 1257, 1258, 10000 ]; /* ECMA-376 Part I 18.4.1 charset to codepage mapping */ var CS2CP = ({ - /*::[*/0/*::]*/: 1252, /* ANSI */ - /*::[*/1/*::]*/: 65001, /* DEFAULT */ - /*::[*/2/*::]*/: 65001, /* SYMBOL */ - /*::[*/77/*::]*/: 10000, /* MAC */ - /*::[*/128/*::]*/: 932, /* SHIFTJIS */ - /*::[*/129/*::]*/: 949, /* HANGUL */ - /*::[*/130/*::]*/: 1361, /* JOHAB */ - /*::[*/134/*::]*/: 936, /* GB2312 */ - /*::[*/136/*::]*/: 950, /* CHINESEBIG5 */ - /*::[*/161/*::]*/: 1253, /* GREEK */ - /*::[*/162/*::]*/: 1254, /* TURKISH */ - /*::[*/163/*::]*/: 1258, /* VIETNAMESE */ - /*::[*/177/*::]*/: 1255, /* HEBREW */ - /*::[*/178/*::]*/: 1256, /* ARABIC */ - /*::[*/186/*::]*/: 1257, /* BALTIC */ - /*::[*/204/*::]*/: 1251, /* RUSSIAN */ - /*::[*/222/*::]*/: 874, /* THAI */ - /*::[*/238/*::]*/: 1250, /* EASTEUROPE */ - /*::[*/255/*::]*/: 1252, /* OEM */ - /*::[*/69/*::]*/: 6969 /* MISC */ + 0: 1252, /* ANSI */ + 1: 65001, /* DEFAULT */ + 2: 65001, /* SYMBOL */ + 77: 10000, /* MAC */ + 128: 932, /* SHIFTJIS */ + 129: 949, /* HANGUL */ + 130: 1361, /* JOHAB */ + 134: 936, /* GB2312 */ + 136: 950, /* CHINESEBIG5 */ + 161: 1253, /* GREEK */ + 162: 1254, /* TURKISH */ + 163: 1258, /* VIETNAMESE */ + 177: 1255, /* HEBREW */ + 178: 1256, /* ARABIC */ + 186: 1257, /* BALTIC */ + 204: 1251, /* RUSSIAN */ + 222: 874, /* THAI */ + 238: 1250, /* EASTEUROPE */ + 255: 1252, /* OEM */ + 69: 6969 /* MISC */ }/*:any*/); var set_ansi = function(cp/*:number*/) { if(VALID_ANSI.indexOf(cp) == -1) return; current_ansi = CS2CP[0] = cp; }; @@ -158,7 +158,12 @@ function Base64_encode_arr(input) { function Base64_decode(input) { var o = ""; var c1 = 0, c2 = 0, c3 = 0, e1 = 0, e2 = 0, e3 = 0, e4 = 0; - input = input.replace(/^data:([^\/]+\/[^\/]+)?;base64\,/, "").replace(/[^\w\+\/\=]/g, ""); + if (input.slice(0, 5) == "data:") { + var i = input.slice(0, 1024).indexOf(";base64,"); + if (i > -1) + input = input.slice(i + 8); + } + input = input.replace(/[^\w\+\/\=]/g, ""); for (var i = 0; i < input.length; ) { e1 = Base64_map.indexOf(input.charAt(i++)); e2 = Base64_map.indexOf(input.charAt(i++)); @@ -719,7 +724,7 @@ function write_num_f2(r/*:Array<string>*/, aval/*:number*/, sign/*:string*/)/*:s return sign + (aval === 0 ? "" : ""+aval) + fill(" ", r[1].length + 2 + r[4].length); } var dec1 = /^#*0*\.([0#]+)/; -var closeparen = /\).*[0#]/; +var closeparen = /\)[^)]*[0#]/; var phone = /\(###\) ###\\?-####/; function hashq(str/*:string*/)/*:string*/ { var o = "", cc; @@ -2173,9 +2178,9 @@ function _write(cfb/*:CFBContainer*/, options/*:CFBWriteOpts*/)/*:RawBytes|strin file = cfb.FileIndex[i]; if(i === 0) file.start = file.size ? file.start - 1 : ENDOFCHAIN; var _nm/*:string*/ = (i === 0 && _opts.root) || file.name; - if(_nm.length > 32) { - console.error("Name " + _nm + " will be truncated to " + _nm.slice(0,32)); - _nm = _nm.slice(0, 32); + if(_nm.length > 31) { + console.error("Name " + _nm + " will be truncated to " + _nm.slice(0,31)); + _nm = _nm.slice(0, 31); } flen = 2*(_nm.length+1); o.write_shift(64, _nm, "utf16le"); @@ -3087,7 +3092,7 @@ function parse_mime(cfb/*:CFBContainer*/, data/*:Array<string>*/, root/*:string* for(;di < 10; ++di) { var line = data[di]; if(!line || line.match(/^\s*$/)) break; - var m = line.match(/^(.*?):\s*([^\s].*)$/); + var m = line.match(/^([^:]*?):\s*([^\s].*)$/); if(m) switch(m[1].toLowerCase()) { case "content-location": fname = m[2].trim(); break; case "content-type": ctype = m[2].trim(); break; @@ -3332,7 +3337,7 @@ function write_dl(fname/*:string*/, payload/*:any*/, enc/*:?string*/) { var out = File(fname); out.open("w"); out.encoding = "binary"; if(Array.isArray(payload)) payload = a2s(payload); out.write(payload); out.close(); return payload; - } catch(e) { if(!e.message || !e.message.match(/onstruct/)) throw e; } + } catch(e) { if(!e.message || e.message.indexOf("onstruct") == -1) throw e; } throw new Error("cannot save file " + fname); } @@ -3346,7 +3351,7 @@ function read_binary(path/*:string*/) { var infile = File(path); infile.open("r"); infile.encoding = "binary"; var data = infile.read(); infile.close(); return data; - } catch(e) { if(!e.message || !e.message.match(/onstruct/)) throw e; } + } catch(e) { if(!e.message || e.message.indexOf("onstruct") == -1) throw e; } throw new Error("Cannot access file " + path); } function keys(o/*:any*/)/*:Array<any>*/ { @@ -3438,7 +3443,7 @@ function parseDate(str/*:string*/, date1904/*:boolean*/)/*:Date*/ { if(m) return new Date(Date.UTC(+m[1], +m[2]-1, +m[3], 0, 0, 0, 0)); /* TODO: 1900-02-29T00:00:00.000 should return a flag to treat as a date code (affects xlml) */ m = str.match(pdre3); - if(m) return new Date(Date.UTC(+m[1], +m[2]-1, +m[3], +m[4], +m[5], ((m[6] && parseInt(m[6].slice(1), 10))|| 0), ((m[7] && parseInt(m[7].slice(1), 10))||0))); + if(m) return new Date(Date.UTC(+m[1], +m[2]-1, +m[3], +m[4], +m[5], ((m[6] && parseInt(m[6].slice(1), 10))|| 0), ((m[7] && parseInt((m[7] + "0000").slice(1,4), 10))||0))); var d = new Date(str); return d; } @@ -3505,7 +3510,7 @@ function fuzzynum(s/*:string*/)/*:number*/ { var wt = 1; var ss = s.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g, function() { wt *= 100; return "";}); if(!isNaN(v = Number(ss))) return v / wt; - ss = ss.replace(/[(](.*)[)]/,function($$, $1) { wt = -wt; return $1;}); + ss = ss.replace(/[(]([^()]*)[)]/,function($$, $1) { wt = -wt; return $1;}); if(!isNaN(v = Number(ss))) return v / wt; return v; } @@ -3546,7 +3551,7 @@ function fuzzydate(s/*:string*/)/*:Date*/ { M = lnos.match(FDRE2); if(M) return fuzzytime2(M); M = lnos.match(pdre3); - if(M) return new Date(Date.UTC(+M[1], +M[2]-1, +M[3], +M[4], +M[5], ((M[6] && parseInt(M[6].slice(1), 10))|| 0), ((M[7] && parseInt(M[7].slice(1), 10))||0))); + if(M) return new Date(Date.UTC(+M[1], +M[2]-1, +M[3], +M[4], +M[5], ((M[6] && parseInt(M[6].slice(1), 10))|| 0), ((M[7] && parseInt((M[7] + "0000").slice(1,4), 10))||0))); var o = new Date(utc_append_works && s.indexOf("UTC") == -1 ? s + " UTC": s), n = new Date(NaN); var y = o.getYear(), m = o.getMonth(), d = o.getDate(); if(isNaN(d)) return n; @@ -3574,6 +3579,161 @@ function utc_to_local(utc) { function local_to_utc(local) { return new Date(Date.UTC(local.getFullYear(), local.getMonth(), local.getDate(), local.getHours(), local.getMinutes(), local.getSeconds(), local.getMilliseconds())); } + +function remove_doctype(str) { + var preamble = str.slice(0, 1024); + var si = preamble.indexOf("<!DOCTYPE"); + if(si == -1) return str; + var m = str.match(/<[\w]/); + if(!m) return str; + return str.slice(0, si) + str.slice(m.index); +} + +/* str.match(/<!--[\s\S]*?-->/g) --> str_match_ng(str, "<!--", "-->") */ +function str_match_ng(str, s, e) { + var out = []; + + var si = str.indexOf(s); + while(si > -1) { + var ei = str.indexOf(e, si + s.length); + if(ei == -1) break; + + out.push(str.slice(si, ei + e.length)); + si = str.indexOf(s, ei + e.length); + } + + return out.length > 0 ? out : null; +} + +/* str.replace(/<!--[\s\S]*?-->/g, "") --> str_remove_ng(str, "<!--", "-->") */ +function str_remove_ng(str, s, e) { + var out = [], last = 0; + + var si = str.indexOf(s); + if(si == -1) return str; + while(si > -1) { + out.push(str.slice(last, si)); + var ei = str.indexOf(e, si + s.length); + if(ei == -1) break; + + if((si = str.indexOf(s, (last = ei + e.length))) == -1) out.push(str.slice(last)); + } + + return out.join(""); +} + +/* str.match(/<tag\b[^>]*?>([\s\S]*?)</tag>/) --> str_match_xml(str, "tag") */ +var xml_boundary = { " ": 1, "\t": 1, "\r": 1, "\n": 1, ">": 1 }; +function str_match_xml(str, tag) { + var si = str.indexOf('<' + tag), w = tag.length + 1, L = str.length; + while(si >= 0 && si <= L - w && !xml_boundary[str.charAt(si + w)]) si = str.indexOf('<' + tag, si+1); + if(si === -1) return null; + var sf = str.indexOf(">", si + tag.length); + if(sf === -1) return null; + var et = "</" + tag + ">"; + var ei = str.indexOf(et, sf); + if(ei == -1) return null; + return [str.slice(si, ei + et.length), str.slice(sf + 1, ei)]; +} + +/* str.match(/<(?:\w+:)?tag\b[^<>]*?>([\s\S]*?)<\/(?:\w+:)?tag>/) --> str_match_xml(str, "tag") */ +var str_match_xml_ns = /*#__PURE__*/(function() { + var str_match_xml_ns_cache = {}; + return function str_match_xml_ns(str, tag) { + var res = str_match_xml_ns_cache[tag]; + if(!res) str_match_xml_ns_cache[tag] = res = [ + new RegExp('<(?:\\w+:)?'+tag+'\\b[^<>]*>', "g"), + new RegExp('</(?:\\w+:)?'+tag+'>', "g") + ]; + res[0].lastIndex = res[1].lastIndex = 0; + var m = res[0].exec(str); + if(!m) return null; + var si = m.index; + var sf = res[0].lastIndex; + res[1].lastIndex = res[0].lastIndex; + m = res[1].exec(str); + if(!m) return null; + var ei = m.index; + var ef = res[1].lastIndex; + return [str.slice(si, ef), str.slice(sf, ei)]; + }; +})(); + +/* str.match(/<(?:\w+:)?tag\b[^<>]*?>([\s\S]*?)<\/(?:\w+:)?tag>/g) --> str_match_xml_ns_g(str, "tag") */ +var str_match_xml_ns_g = /*#__PURE__*/(function() { + var str_match_xml_ns_cache = {}; + return function str_match_xml_ns(str, tag) { + var out = []; + var res = str_match_xml_ns_cache[tag]; + if(!res) str_match_xml_ns_cache[tag] = res = [ + new RegExp('<(?:\\w+:)?'+tag+'\\b[^<>]*>', "g"), + new RegExp('</(?:\\w+:)?'+tag+'>', "g") + ]; + res[0].lastIndex = res[1].lastIndex = 0; + var m; + while((m = res[0].exec(str))) { + var si = m.index; + res[1].lastIndex = res[0].lastIndex; + m = res[1].exec(str); + if(!m) return null; + var ef = res[1].lastIndex; + out.push(str.slice(si, ef)); + res[0].lastIndex = res[1].lastIndex; + } + return out.length == 0 ? null : out; + }; +})(); +var str_remove_xml_ns_g = /*#__PURE__*/(function() { + var str_remove_xml_ns_cache = {}; + return function str_remove_xml_ns_g(str, tag) { + var out = []; + var res = str_remove_xml_ns_cache[tag]; + if(!res) str_remove_xml_ns_cache[tag] = res = [ + new RegExp('<(?:\\w+:)?'+tag+'\\b[^<>]*>', "g"), + new RegExp('</(?:\\w+:)?'+tag+'>', "g") + ]; + res[0].lastIndex = res[1].lastIndex = 0; + var m; + var si = 0, ef = 0; + while((m = res[0].exec(str))) { + si = m.index; + out.push(str.slice(ef, si)); + ef = si; + res[1].lastIndex = res[0].lastIndex; + m = res[1].exec(str); + if(!m) return null; + ef = res[1].lastIndex; + res[0].lastIndex = res[1].lastIndex; + } + out.push(str.slice(ef)); + return out.length == 0 ? "" : out.join(""); + }; +})(); + +/* str.match(/<(?:\w+:)?tag\b[^>]*?>([\s\S]*?)<\/(?:\w+:)?tag>/gi) --> str_match_xml_ns_ig(str, "tag") */ +var str_match_xml_ig = /*#__PURE__*/(function() { + var str_match_xml_ns_cache = {}; + return function str_match_xml_ns(str, tag) { + var out = []; + var res = str_match_xml_ns_cache[tag]; + if(!res) str_match_xml_ns_cache[tag] = res = [ + new RegExp('<'+tag+'\\b[^<>]*>', "ig"), + new RegExp('</'+tag+'>', "ig") + ]; + res[0].lastIndex = res[1].lastIndex = 0; + var m; + while((m = res[0].exec(str))) { + var si = m.index; + res[1].lastIndex = res[0].lastIndex; + m = res[1].exec(str); + if(!m) return null; + var ef = res[1].lastIndex; + out.push(str.slice(si, ef)); + res[0].lastIndex = res[1].lastIndex; + } + return out.length == 0 ? null : out; + }; +})(); function getdatastr(data)/*:?string*/ { if(!data) return null; if(data.content && data.type) return cc2str(data.content, true); @@ -3680,8 +3840,8 @@ function resolve_path(path/*:string*/, base/*:string*/)/*:string*/ { return result.join('/'); } var XML_HEADER = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r\n'; -var attregexg=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g; -var tagregex1=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/mg, tagregex2 = /<[^>]*>/g; +var attregexg=/\s([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g; +var tagregex1=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?<>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'"<>\s=]+))*\s*[\/\?]?>/mg, tagregex2 = /<[^<>]*>/g; var tagregex = /*#__PURE__*/XML_HEADER.match(tagregex1) ? tagregex1 : tagregex2; var nsregex=/<\w*:/, nsregex2 = /<(\/?)\w+:/; function parsexmltag(tag/*:string*/, skip_root/*:?boolean*/, skip_LC/*:?boolean*/)/*:any*/ { @@ -3692,7 +3852,7 @@ function parsexmltag(tag/*:string*/, skip_root/*:?boolean*/, skip_LC/*:?boolean* if(eq === tag.length) return z; var m = tag.match(attregexg), j=0, v="", i=0, q="", cc="", quot = 1; if(m) for(i = 0; i != m.length; ++i) { - cc = m[i]; + cc = m[i].slice(1); for(c=0; c != cc.length; ++c) if(cc.charCodeAt(c) === 61) break; q = cc.slice(0,c).trim(); while(cc.charCodeAt(c+1) == 32) ++c; @@ -3842,16 +4002,6 @@ var utf8write/*:StringConv*/ = has_buf ? function(data) { return Buffer_from(dat return out.join(""); }; -// matches <foo>...</foo> extracts content -var matchtag = /*#__PURE__*/(function() { - var mtcache/*:{[k:string]:RegExp}*/ = ({}/*:any*/); - return function matchtag(f/*:string*/,g/*:?string*/)/*:RegExp*/ { - var t = f+"|"+(g||""); - if(mtcache[t]) return mtcache[t]; - return (mtcache[t] = new RegExp('<(?:\\w+:)?'+f+'(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)</(?:\\w+:)?'+f+'>',((g||"")/*:any*/))); - }; -})(); - var htmldecode/*:{(s:string):string}*/ = /*#__PURE__*/(function() { var entities/*:Array<[RegExp, string]>*/ = [ ['nbsp', ' '], ['middot', '·'], @@ -3862,30 +4012,25 @@ var htmldecode/*:{(s:string):string}*/ = /*#__PURE__*/(function() { // Remove new lines and spaces from start of content .replace(/^[\t\n\r ]+/, "") // Remove new lines and spaces from end of content - .replace(/[\t\n\r ]+$/,"") + .replace(/(^|[^\t\n\r ])[\t\n\r ]+$/,"$1") // Added line which removes any white space characters after and before html tags - .replace(/>\s+/g,">").replace(/\s+</g,"<") + .replace(/>\s+/g,">").replace(/\b\s+</g,"<") // Replace remaining new lines and spaces with space .replace(/[\t\n\r ]+/g, " ") // Replace <br> tags with new lines .replace(/<\s*[bB][rR]\s*\/?>/g,"\n") // Strip HTML elements - .replace(/<[^>]*>/g,""); + .replace(/<[^<>]*>/g,""); for(var i = 0; i < entities.length; ++i) o = o.replace(entities[i][0], entities[i][1]); return o; }; })(); -var vtregex = /*#__PURE__*/(function(){ var vt_cache = {}; - return function vt_regex(bt) { - if(vt_cache[bt] !== undefined) return vt_cache[bt]; - return (vt_cache[bt] = new RegExp("<(?:vt:)?" + bt + ">([\\s\\S]*?)</(?:vt:)?" + bt + ">", 'g') ); -};})(); -var vtvregex = /<\/?(?:vt:)?variant>/g, vtmregex = /<(?:vt:)([^>]*)>([\s\S]*)</; +var vtvregex = /<\/?(?:vt:)?variant>/g, vtmregex = /<(?:vt:)([^<"'>]*)>([\s\S]*)</; function parseVector(data/*:string*/, opts)/*:Array<{v:string,t:string}>*/ { var h = parsexmltag(data); - var matches/*:Array<string>*/ = data.match(vtregex(h.baseType))||[]; + var matches/*:Array<string>*/ = str_match_xml_ns_g(data, h.baseType)||[]; var res/*:Array<any>*/ = []; if(matches.length != h.size) { if(opts.WTF) throw new Error("unexpected vector length " + matches.length + " != " + h.size); @@ -3926,9 +4071,8 @@ function xlml_normalize(d)/*:string*/ { if(typeof Uint8Array !== 'undefined' && d instanceof Uint8Array) return utf8read(a2s(ab2a(d))); throw new Error("Bad input format: expected Buffer or string"); } -/* UOS uses CJK in tags */ -var xlmlregex = /<(\/?)([^\s?><!\/:]*:|)([^\s?<>:\/]+)(?:[\s?:\/](?:[^>=]|="[^"]*?")*)?>/mg; -//var xlmlregex = /<(\/?)([a-z0-9]*:|)(\w+)[^>]*>/mg; +/* UOS uses CJK in tags, ODS uses invalid XML */ +var xlmlregex = /<([\/]?)([^\s?><!\/:"]*:|)([^\s?<>:\/"]+)(?:\s+[^<>=?"'\s]+="[^"]*?")*\s*[\/]?>/mg; var XMLNS = ({ CORE_PROPS: 'http://schemas.openxmlformats.org/package/2006/metadata/core-properties', @@ -4470,22 +4614,24 @@ function sheet_add_aoa(_ws/*:?Worksheet*/, data/*:AOA*/, opts/*:?any*/)/*:Worksh var _origin/*:CellAddress*/ = typeof o.origin == "string" ? decode_cell(o.origin) : o.origin; _R = _origin.r; _C = _origin.c; } - if(!ws["!ref"]) ws["!ref"] = "A1:A1"; } var range/*:Range*/ = ({s: {c:10000000, r:10000000}, e: {c:0, r:0}}/*:any*/); - if(ws['!ref']) { + if(ws["!ref"]){ var _range = safe_decode_range(ws['!ref']); range.s.c = _range.s.c; range.s.r = _range.s.r; range.e.c = Math.max(range.e.c, _range.e.c); range.e.r = Math.max(range.e.r, _range.e.r); - if(_R == -1) range.e.r = _R = _range.e.r + 1; + if(_R == -1) range.e.r = _R = (ws["!ref"] ? _range.e.r + 1 : 0); + } else { + range.s.c = range.e.c = range.s.r = range.e.r = 0; } - var row = []; + var row = [], seen = false; for(var R = 0; R != data.length; ++R) { if(!data[R]) continue; if(!Array.isArray(data[R])) throw new Error("aoa_to_sheet expects an array of arrays"); var __R = _R + R, __Rstr = "" + (__R + 1); + //console.log("!!", R, _R, __R); if(dense) { if(!ws["!data"][__R]) ws["!data"][__R] = []; row = ws["!data"][__R]; @@ -4498,6 +4644,7 @@ function sheet_add_aoa(_ws/*:?Worksheet*/, data/*:AOA*/, opts/*:?any*/)/*:Worksh if(range.s.c > __C) range.s.c = __C; if(range.e.r < __R) range.e.r = __R; if(range.e.c < __C) range.e.c = __C; + seen = true; if(data[R][C] && typeof data[R][C] === 'object' && !Array.isArray(data[R][C]) && !(data[R][C] instanceof Date)) cell = data[R][C]; else { if(Array.isArray(cell.v)) { cell.f = data[R][C][1]; cell.v = cell.v[0]; } @@ -4527,7 +4674,7 @@ function sheet_add_aoa(_ws/*:?Worksheet*/, data/*:AOA*/, opts/*:?any*/)/*:Worksh } } } - if(range.s.c < 10000000) ws['!ref'] = encode_range(range); + if(seen && range.s.c < 10400000) ws['!ref'] = encode_range(range); return ws; } function aoa_to_sheet(data/*:AOA*/, opts/*:?any*/)/*:Worksheet*/ { return sheet_add_aoa(null, data, opts); } @@ -4578,118 +4725,118 @@ var VT_CUSTOM = [VT_STRING, VT_USTR]; /* [MS-OSHARED] 2.3.3.2.2.1 Document Summary Information PIDDSI */ var DocSummaryPIDDSI = { - /*::[*/0x01/*::]*/: { n: 'CodePage', t: VT_I2 }, - /*::[*/0x02/*::]*/: { n: 'Category', t: VT_STRING }, - /*::[*/0x03/*::]*/: { n: 'PresentationFormat', t: VT_STRING }, - /*::[*/0x04/*::]*/: { n: 'ByteCount', t: VT_I4 }, - /*::[*/0x05/*::]*/: { n: 'LineCount', t: VT_I4 }, - /*::[*/0x06/*::]*/: { n: 'ParagraphCount', t: VT_I4 }, - /*::[*/0x07/*::]*/: { n: 'SlideCount', t: VT_I4 }, - /*::[*/0x08/*::]*/: { n: 'NoteCount', t: VT_I4 }, - /*::[*/0x09/*::]*/: { n: 'HiddenCount', t: VT_I4 }, - /*::[*/0x0a/*::]*/: { n: 'MultimediaClipCount', t: VT_I4 }, - /*::[*/0x0b/*::]*/: { n: 'ScaleCrop', t: VT_BOOL }, - /*::[*/0x0c/*::]*/: { n: 'HeadingPairs', t: VT_VECTOR_VARIANT /* VT_VECTOR | VT_VARIANT */ }, - /*::[*/0x0d/*::]*/: { n: 'TitlesOfParts', t: VT_VECTOR_LPSTR /* VT_VECTOR | VT_LPSTR */ }, - /*::[*/0x0e/*::]*/: { n: 'Manager', t: VT_STRING }, - /*::[*/0x0f/*::]*/: { n: 'Company', t: VT_STRING }, - /*::[*/0x10/*::]*/: { n: 'LinksUpToDate', t: VT_BOOL }, - /*::[*/0x11/*::]*/: { n: 'CharacterCount', t: VT_I4 }, - /*::[*/0x13/*::]*/: { n: 'SharedDoc', t: VT_BOOL }, - /*::[*/0x16/*::]*/: { n: 'HyperlinksChanged', t: VT_BOOL }, - /*::[*/0x17/*::]*/: { n: 'AppVersion', t: VT_I4, p: 'version' }, - /*::[*/0x18/*::]*/: { n: 'DigSig', t: VT_BLOB }, - /*::[*/0x1A/*::]*/: { n: 'ContentType', t: VT_STRING }, - /*::[*/0x1B/*::]*/: { n: 'ContentStatus', t: VT_STRING }, - /*::[*/0x1C/*::]*/: { n: 'Language', t: VT_STRING }, - /*::[*/0x1D/*::]*/: { n: 'Version', t: VT_STRING }, - /*::[*/0xFF/*::]*/: {}, + 0x01: { n: 'CodePage', t: VT_I2 }, + 0x02: { n: 'Category', t: VT_STRING }, + 0x03: { n: 'PresentationFormat', t: VT_STRING }, + 0x04: { n: 'ByteCount', t: VT_I4 }, + 0x05: { n: 'LineCount', t: VT_I4 }, + 0x06: { n: 'ParagraphCount', t: VT_I4 }, + 0x07: { n: 'SlideCount', t: VT_I4 }, + 0x08: { n: 'NoteCount', t: VT_I4 }, + 0x09: { n: 'HiddenCount', t: VT_I4 }, + 0x0a: { n: 'MultimediaClipCount', t: VT_I4 }, + 0x0b: { n: 'ScaleCrop', t: VT_BOOL }, + 0x0c: { n: 'HeadingPairs', t: VT_VECTOR_VARIANT /* VT_VECTOR | VT_VARIANT */ }, + 0x0d: { n: 'TitlesOfParts', t: VT_VECTOR_LPSTR /* VT_VECTOR | VT_LPSTR */ }, + 0x0e: { n: 'Manager', t: VT_STRING }, + 0x0f: { n: 'Company', t: VT_STRING }, + 0x10: { n: 'LinksUpToDate', t: VT_BOOL }, + 0x11: { n: 'CharacterCount', t: VT_I4 }, + 0x13: { n: 'SharedDoc', t: VT_BOOL }, + 0x16: { n: 'HyperlinksChanged', t: VT_BOOL }, + 0x17: { n: 'AppVersion', t: VT_I4, p: 'version' }, + 0x18: { n: 'DigSig', t: VT_BLOB }, + 0x1A: { n: 'ContentType', t: VT_STRING }, + 0x1B: { n: 'ContentStatus', t: VT_STRING }, + 0x1C: { n: 'Language', t: VT_STRING }, + 0x1D: { n: 'Version', t: VT_STRING }, + 0xFF: {}, /* [MS-OLEPS] 2.18 */ - /*::[*/0x80000000/*::]*/: { n: 'Locale', t: VT_UI4 }, - /*::[*/0x80000003/*::]*/: { n: 'Behavior', t: VT_UI4 }, - /*::[*/0x72627262/*::]*/: {} + 0x80000000: { n: 'Locale', t: VT_UI4 }, + 0x80000003: { n: 'Behavior', t: VT_UI4 }, + 0x72627262: {} }; /* [MS-OSHARED] 2.3.3.2.1.1 Summary Information Property Set PIDSI */ var SummaryPIDSI = { - /*::[*/0x01/*::]*/: { n: 'CodePage', t: VT_I2 }, - /*::[*/0x02/*::]*/: { n: 'Title', t: VT_STRING }, - /*::[*/0x03/*::]*/: { n: 'Subject', t: VT_STRING }, - /*::[*/0x04/*::]*/: { n: 'Author', t: VT_STRING }, - /*::[*/0x05/*::]*/: { n: 'Keywords', t: VT_STRING }, - /*::[*/0x06/*::]*/: { n: 'Comments', t: VT_STRING }, - /*::[*/0x07/*::]*/: { n: 'Template', t: VT_STRING }, - /*::[*/0x08/*::]*/: { n: 'LastAuthor', t: VT_STRING }, - /*::[*/0x09/*::]*/: { n: 'RevNumber', t: VT_STRING }, - /*::[*/0x0A/*::]*/: { n: 'EditTime', t: VT_FILETIME }, - /*::[*/0x0B/*::]*/: { n: 'LastPrinted', t: VT_FILETIME }, - /*::[*/0x0C/*::]*/: { n: 'CreatedDate', t: VT_FILETIME }, - /*::[*/0x0D/*::]*/: { n: 'ModifiedDate', t: VT_FILETIME }, - /*::[*/0x0E/*::]*/: { n: 'PageCount', t: VT_I4 }, - /*::[*/0x0F/*::]*/: { n: 'WordCount', t: VT_I4 }, - /*::[*/0x10/*::]*/: { n: 'CharCount', t: VT_I4 }, - /*::[*/0x11/*::]*/: { n: 'Thumbnail', t: VT_CF }, - /*::[*/0x12/*::]*/: { n: 'Application', t: VT_STRING }, - /*::[*/0x13/*::]*/: { n: 'DocSecurity', t: VT_I4 }, - /*::[*/0xFF/*::]*/: {}, + 0x01: { n: 'CodePage', t: VT_I2 }, + 0x02: { n: 'Title', t: VT_STRING }, + 0x03: { n: 'Subject', t: VT_STRING }, + 0x04: { n: 'Author', t: VT_STRING }, + 0x05: { n: 'Keywords', t: VT_STRING }, + 0x06: { n: 'Comments', t: VT_STRING }, + 0x07: { n: 'Template', t: VT_STRING }, + 0x08: { n: 'LastAuthor', t: VT_STRING }, + 0x09: { n: 'RevNumber', t: VT_STRING }, + 0x0A: { n: 'EditTime', t: VT_FILETIME }, + 0x0B: { n: 'LastPrinted', t: VT_FILETIME }, + 0x0C: { n: 'CreatedDate', t: VT_FILETIME }, + 0x0D: { n: 'ModifiedDate', t: VT_FILETIME }, + 0x0E: { n: 'PageCount', t: VT_I4 }, + 0x0F: { n: 'WordCount', t: VT_I4 }, + 0x10: { n: 'CharCount', t: VT_I4 }, + 0x11: { n: 'Thumbnail', t: VT_CF }, + 0x12: { n: 'Application', t: VT_STRING }, + 0x13: { n: 'DocSecurity', t: VT_I4 }, + 0xFF: {}, /* [MS-OLEPS] 2.18 */ - /*::[*/0x80000000/*::]*/: { n: 'Locale', t: VT_UI4 }, - /*::[*/0x80000003/*::]*/: { n: 'Behavior', t: VT_UI4 }, - /*::[*/0x72627262/*::]*/: {} + 0x80000000: { n: 'Locale', t: VT_UI4 }, + 0x80000003: { n: 'Behavior', t: VT_UI4 }, + 0x72627262: {} }; /* [MS-XLS] 2.4.63 Country/Region codes */ var CountryEnum = { - /*::[*/0x0001/*::]*/: "US", // United States - /*::[*/0x0002/*::]*/: "CA", // Canada - /*::[*/0x0003/*::]*/: "", // Latin America (except Brazil) - /*::[*/0x0007/*::]*/: "RU", // Russia - /*::[*/0x0014/*::]*/: "EG", // Egypt - /*::[*/0x001E/*::]*/: "GR", // Greece - /*::[*/0x001F/*::]*/: "NL", // Netherlands - /*::[*/0x0020/*::]*/: "BE", // Belgium - /*::[*/0x0021/*::]*/: "FR", // France - /*::[*/0x0022/*::]*/: "ES", // Spain - /*::[*/0x0024/*::]*/: "HU", // Hungary - /*::[*/0x0027/*::]*/: "IT", // Italy - /*::[*/0x0029/*::]*/: "CH", // Switzerland - /*::[*/0x002B/*::]*/: "AT", // Austria - /*::[*/0x002C/*::]*/: "GB", // United Kingdom - /*::[*/0x002D/*::]*/: "DK", // Denmark - /*::[*/0x002E/*::]*/: "SE", // Sweden - /*::[*/0x002F/*::]*/: "NO", // Norway - /*::[*/0x0030/*::]*/: "PL", // Poland - /*::[*/0x0031/*::]*/: "DE", // Germany - /*::[*/0x0034/*::]*/: "MX", // Mexico - /*::[*/0x0037/*::]*/: "BR", // Brazil - /*::[*/0x003d/*::]*/: "AU", // Australia - /*::[*/0x0040/*::]*/: "NZ", // New Zealand - /*::[*/0x0042/*::]*/: "TH", // Thailand - /*::[*/0x0051/*::]*/: "JP", // Japan - /*::[*/0x0052/*::]*/: "KR", // Korea - /*::[*/0x0054/*::]*/: "VN", // Viet Nam - /*::[*/0x0056/*::]*/: "CN", // China - /*::[*/0x005A/*::]*/: "TR", // Turkey - /*::[*/0x0069/*::]*/: "JS", // Ramastan - /*::[*/0x00D5/*::]*/: "DZ", // Algeria - /*::[*/0x00D8/*::]*/: "MA", // Morocco - /*::[*/0x00DA/*::]*/: "LY", // Libya - /*::[*/0x015F/*::]*/: "PT", // Portugal - /*::[*/0x0162/*::]*/: "IS", // Iceland - /*::[*/0x0166/*::]*/: "FI", // Finland - /*::[*/0x01A4/*::]*/: "CZ", // Czech Republic - /*::[*/0x0376/*::]*/: "TW", // Taiwan - /*::[*/0x03C1/*::]*/: "LB", // Lebanon - /*::[*/0x03C2/*::]*/: "JO", // Jordan - /*::[*/0x03C3/*::]*/: "SY", // Syria - /*::[*/0x03C4/*::]*/: "IQ", // Iraq - /*::[*/0x03C5/*::]*/: "KW", // Kuwait - /*::[*/0x03C6/*::]*/: "SA", // Saudi Arabia - /*::[*/0x03CB/*::]*/: "AE", // United Arab Emirates - /*::[*/0x03CC/*::]*/: "IL", // Israel - /*::[*/0x03CE/*::]*/: "QA", // Qatar - /*::[*/0x03D5/*::]*/: "IR", // Iran - /*::[*/0xFFFF/*::]*/: "US" // United States + 0x0001: "US", // United States + 0x0002: "CA", // Canada + 0x0003: "", // Latin America (except Brazil) + 0x0007: "RU", // Russia + 0x0014: "EG", // Egypt + 0x001E: "GR", // Greece + 0x001F: "NL", // Netherlands + 0x0020: "BE", // Belgium + 0x0021: "FR", // France + 0x0022: "ES", // Spain + 0x0024: "HU", // Hungary + 0x0027: "IT", // Italy + 0x0029: "CH", // Switzerland + 0x002B: "AT", // Austria + 0x002C: "GB", // United Kingdom + 0x002D: "DK", // Denmark + 0x002E: "SE", // Sweden + 0x002F: "NO", // Norway + 0x0030: "PL", // Poland + 0x0031: "DE", // Germany + 0x0034: "MX", // Mexico + 0x0037: "BR", // Brazil + 0x003d: "AU", // Australia + 0x0040: "NZ", // New Zealand + 0x0042: "TH", // Thailand + 0x0051: "JP", // Japan + 0x0052: "KR", // Korea + 0x0054: "VN", // Viet Nam + 0x0056: "CN", // China + 0x005A: "TR", // Turkey + 0x0069: "JS", // Ramastan + 0x00D5: "DZ", // Algeria + 0x00D8: "MA", // Morocco + 0x00DA: "LY", // Libya + 0x015F: "PT", // Portugal + 0x0162: "IS", // Iceland + 0x0166: "FI", // Finland + 0x01A4: "CZ", // Czech Republic + 0x0376: "TW", // Taiwan + 0x03C1: "LB", // Lebanon + 0x03C2: "JO", // Jordan + 0x03C3: "SY", // Syria + 0x03C4: "IQ", // Iraq + 0x03C5: "KW", // Kuwait + 0x03C6: "SA", // Saudi Arabia + 0x03CB: "AE", // United Arab Emirates + 0x03CC: "IL", // Israel + 0x03CE: "QA", // Qatar + 0x03D5: "IR", // Iran + 0xFFFF: "US" // United States }; /* [MS-XLS] 2.5.127 */ @@ -4815,15 +4962,15 @@ var XLSIcv = /*#__PURE__*/dup(_XLSIcv); /* [MS-XLSB] 2.5.97.2 */ var BErr = { - /*::[*/0x00/*::]*/: "#NULL!", - /*::[*/0x07/*::]*/: "#DIV/0!", - /*::[*/0x0F/*::]*/: "#VALUE!", - /*::[*/0x17/*::]*/: "#REF!", - /*::[*/0x1D/*::]*/: "#NAME?", - /*::[*/0x24/*::]*/: "#NUM!", - /*::[*/0x2A/*::]*/: "#N/A", - /*::[*/0x2B/*::]*/: "#GETTING_DATA", - /*::[*/0xFF/*::]*/: "#WTF?" + 0x00: "#NULL!", + 0x07: "#DIV/0!", + 0x0F: "#VALUE!", + 0x17: "#REF!", + 0x1D: "#NAME?", + 0x24: "#NUM!", + 0x2A: "#N/A", + 0x2B: "#GETTING_DATA", + 0xFF: "#WTF?" }; //var RBErr = evert_num(BErr); var RBErr = { @@ -5361,22 +5508,12 @@ var CORE_PROPS/*:Array<Array<string> >*/ = [ ["dcterms:modified", "ModifiedDate", 'date'] ]; -var CORE_PROPS_REGEX/*:Array<RegExp>*/ = /*#__PURE__*/(function() { - var r = new Array(CORE_PROPS.length); - for(var i = 0; i < CORE_PROPS.length; ++i) { - var f = CORE_PROPS[i]; - var g = "(?:"+ f[0].slice(0,f[0].indexOf(":")) +":)"+ f[0].slice(f[0].indexOf(":")+1); - r[i] = new RegExp("<" + g + "[^>]*>([\\s\\S]*?)<\/" + g + ">"); - } - return r; -})(); - function parse_core_props(data) { var p = {}; data = utf8read(data); for(var i = 0; i < CORE_PROPS.length; ++i) { - var f = CORE_PROPS[i], cur = data.match(CORE_PROPS_REGEX[i]); + var f = CORE_PROPS[i], cur = str_match_xml(data, f[0]); if(cur != null && cur.length > 0) p[f[1]] = unescapexml(cur[1]); if(f[2] === 'date' && p[f[1]]) p[f[1]] = parseDate(p[f[1]]); } @@ -5492,12 +5629,12 @@ function parse_ext_props(data, p, opts) { data = utf8read(data); EXT_PROPS.forEach(function(f) { - var xml = (data.match(matchtag(f[0]))||[])[1]; + var xml = (str_match_xml_ns(data, f[0])||[])[1]; switch(f[2]) { case "string": if(xml) p[f[1]] = unescapexml(xml); break; case "bool": p[f[1]] = xml === "true"; break; case "raw": - var cur = data.match(new RegExp("<" + f[0] + "[^>]*>([\\s\\S]*?)<\/" + f[0] + ">")); + var cur = str_match_xml(data, f[0]); if(cur && cur.length > 0) q[f[1]] = cur[1]; break; } @@ -5535,7 +5672,7 @@ function write_ext_props(cp/*::, opts*/)/*:string*/ { return o.join(""); } /* 15.2.12.2 Custom File Properties Part */ -var custregex = /<[^>]+>[^<]*/g; +var custregex = /<[^<>]+>[^<]*/g; function parse_cust_props(data/*:string*/, opts) { var p = {}, name = ""; var m = data.match(custregex); @@ -5601,60 +5738,60 @@ var DBF_SUPPORTED_VERSIONS = [0x02, 0x03, 0x30, 0x31, 0x83, 0x8B, 0x8C, 0xF5]; var DBF = /*#__PURE__*/(function() { var dbf_codepage_map = { /* Code Pages Supported by Visual FoxPro */ - /*::[*/0x01/*::]*/: 437, /*::[*/0x02/*::]*/: 850, - /*::[*/0x03/*::]*/: 1252, /*::[*/0x04/*::]*/: 10000, - /*::[*/0x64/*::]*/: 852, /*::[*/0x65/*::]*/: 866, - /*::[*/0x66/*::]*/: 865, /*::[*/0x67/*::]*/: 861, - /*::[*/0x68/*::]*/: 895, /*::[*/0x69/*::]*/: 620, - /*::[*/0x6A/*::]*/: 737, /*::[*/0x6B/*::]*/: 857, - /*::[*/0x78/*::]*/: 950, /*::[*/0x79/*::]*/: 949, - /*::[*/0x7A/*::]*/: 936, /*::[*/0x7B/*::]*/: 932, - /*::[*/0x7C/*::]*/: 874, /*::[*/0x7D/*::]*/: 1255, - /*::[*/0x7E/*::]*/: 1256, /*::[*/0x96/*::]*/: 10007, - /*::[*/0x97/*::]*/: 10029, /*::[*/0x98/*::]*/: 10006, - /*::[*/0xC8/*::]*/: 1250, /*::[*/0xC9/*::]*/: 1251, - /*::[*/0xCA/*::]*/: 1254, /*::[*/0xCB/*::]*/: 1253, + 0x01: 437, 0x02: 850, + 0x03: 1252, 0x04: 10000, + 0x64: 852, 0x65: 866, + 0x66: 865, 0x67: 861, + 0x68: 895, 0x69: 620, + 0x6A: 737, 0x6B: 857, + 0x78: 950, 0x79: 949, + 0x7A: 936, 0x7B: 932, + 0x7C: 874, 0x7D: 1255, + 0x7E: 1256, 0x96: 10007, + 0x97: 10029, 0x98: 10006, + 0xC8: 1250, 0xC9: 1251, + 0xCA: 1254, 0xCB: 1253, /* shapefile DBF extension */ - /*::[*/0x00/*::]*/: 20127, /*::[*/0x08/*::]*/: 865, - /*::[*/0x09/*::]*/: 437, /*::[*/0x0A/*::]*/: 850, - /*::[*/0x0B/*::]*/: 437, /*::[*/0x0D/*::]*/: 437, - /*::[*/0x0E/*::]*/: 850, /*::[*/0x0F/*::]*/: 437, - /*::[*/0x10/*::]*/: 850, /*::[*/0x11/*::]*/: 437, - /*::[*/0x12/*::]*/: 850, /*::[*/0x13/*::]*/: 932, - /*::[*/0x14/*::]*/: 850, /*::[*/0x15/*::]*/: 437, - /*::[*/0x16/*::]*/: 850, /*::[*/0x17/*::]*/: 865, - /*::[*/0x18/*::]*/: 437, /*::[*/0x19/*::]*/: 437, - /*::[*/0x1A/*::]*/: 850, /*::[*/0x1B/*::]*/: 437, - /*::[*/0x1C/*::]*/: 863, /*::[*/0x1D/*::]*/: 850, - /*::[*/0x1F/*::]*/: 852, /*::[*/0x22/*::]*/: 852, - /*::[*/0x23/*::]*/: 852, /*::[*/0x24/*::]*/: 860, - /*::[*/0x25/*::]*/: 850, /*::[*/0x26/*::]*/: 866, - /*::[*/0x37/*::]*/: 850, /*::[*/0x40/*::]*/: 852, - /*::[*/0x4D/*::]*/: 936, /*::[*/0x4E/*::]*/: 949, - /*::[*/0x4F/*::]*/: 950, /*::[*/0x50/*::]*/: 874, - /*::[*/0x57/*::]*/: 1252, /*::[*/0x58/*::]*/: 1252, - /*::[*/0x59/*::]*/: 1252, /*::[*/0x6C/*::]*/: 863, - /*::[*/0x86/*::]*/: 737, /*::[*/0x87/*::]*/: 852, - /*::[*/0x88/*::]*/: 857, /*::[*/0xCC/*::]*/: 1257, + 0x00: 20127, 0x08: 865, + 0x09: 437, 0x0A: 850, + 0x0B: 437, 0x0D: 437, + 0x0E: 850, 0x0F: 437, + 0x10: 850, 0x11: 437, + 0x12: 850, 0x13: 932, + 0x14: 850, 0x15: 437, + 0x16: 850, 0x17: 865, + 0x18: 437, 0x19: 437, + 0x1A: 850, 0x1B: 437, + 0x1C: 863, 0x1D: 850, + 0x1F: 852, 0x22: 852, + 0x23: 852, 0x24: 860, + 0x25: 850, 0x26: 866, + 0x37: 850, 0x40: 852, + 0x4D: 936, 0x4E: 949, + 0x4F: 950, 0x50: 874, + 0x57: 1252, 0x58: 1252, + 0x59: 1252, 0x6C: 863, + 0x86: 737, 0x87: 852, + 0x88: 857, 0xCC: 1257, - /*::[*/0xFF/*::]*/: 16969 + 0xFF: 16969 }; var dbf_reverse_map = evert({ - /*::[*/0x01/*::]*/: 437, /*::[*/0x02/*::]*/: 850, - /*::[*/0x03/*::]*/: 1252, /*::[*/0x04/*::]*/: 10000, - /*::[*/0x64/*::]*/: 852, /*::[*/0x65/*::]*/: 866, - /*::[*/0x66/*::]*/: 865, /*::[*/0x67/*::]*/: 861, - /*::[*/0x68/*::]*/: 895, /*::[*/0x69/*::]*/: 620, - /*::[*/0x6A/*::]*/: 737, /*::[*/0x6B/*::]*/: 857, - /*::[*/0x78/*::]*/: 950, /*::[*/0x79/*::]*/: 949, - /*::[*/0x7A/*::]*/: 936, /*::[*/0x7B/*::]*/: 932, - /*::[*/0x7C/*::]*/: 874, /*::[*/0x7D/*::]*/: 1255, - /*::[*/0x7E/*::]*/: 1256, /*::[*/0x96/*::]*/: 10007, - /*::[*/0x97/*::]*/: 10029, /*::[*/0x98/*::]*/: 10006, - /*::[*/0xC8/*::]*/: 1250, /*::[*/0xC9/*::]*/: 1251, - /*::[*/0xCA/*::]*/: 1254, /*::[*/0xCB/*::]*/: 1253, - /*::[*/0x00/*::]*/: 20127 + 0x01: 437, 0x02: 850, + 0x03: 1252, 0x04: 10000, + 0x64: 852, 0x65: 866, + 0x66: 865, 0x67: 861, + 0x68: 895, 0x69: 620, + 0x6A: 737, 0x6B: 857, + 0x78: 950, 0x79: 949, + 0x7A: 936, 0x7B: 932, + 0x7C: 874, 0x7D: 1255, + 0x7E: 1256, 0x96: 10007, + 0x97: 10029, 0x98: 10006, + 0xC8: 1250, 0xC9: 1251, + 0xCA: 1254, 0xCB: 1253, + 0x00: 20127 }); /* TODO: find an actual specification */ function dbf_to_aoa(buf, opts)/*:AOA*/ { @@ -5717,7 +5854,7 @@ function dbf_to_aoa(buf, opts)/*:AOA*/ { var ww = l7 ? 32 : 11; while(d.l < hend && d[d.l] != 0x0d) { field = ({}/*:any*/); - field.name = (typeof $cptable !== "undefined" ? $cptable.utils.decode(current_cp, d.slice(d.l, d.l+ww)) : a2s(d.slice(d.l, d.l + ww))).replace(/[\u0000\r\n].*$/g,""); + field.name = (typeof $cptable !== "undefined" ? $cptable.utils.decode(current_cp, d.slice(d.l, d.l+ww)) : a2s(d.slice(d.l, d.l + ww))).replace(/[\u0000\r\n][\S\s]*$/g,""); d.l += ww; field.type = String.fromCharCode(d.read_shift(1)); if(ft != 0x02 && !l7) field.offset = d.read_shift(4); @@ -5775,7 +5912,7 @@ function dbf_to_aoa(buf, opts)/*:AOA*/ { switch(fields[C].type) { case 'C': // NOTE: it is conventional to write ' / / ' for empty dates - if(s.trim().length) out[R][C] = s.replace(/\s+$/,""); + if(s.trim().length) out[R][C] = s.replace(/([^\s])\s+$/,"$1"); break; case 'D': if(s.length === 8) { @@ -6003,9 +6140,9 @@ var SYLK = /*#__PURE__*/(function() { KC:'Ç', Kc:'ç', q:'æ', z:'œ', a:'Æ', j:'Œ', DN:209, Dn:241, Hy:255, S:169, c:170, R:174, "B ":180, - /*::[*/0/*::]*/:176, /*::[*/1/*::]*/:177, /*::[*/2/*::]*/:178, - /*::[*/3/*::]*/:179, /*::[*/5/*::]*/:181, /*::[*/6/*::]*/:182, - /*::[*/7/*::]*/:183, Q:185, k:186, b:208, i:216, l:222, s:240, y:248, + 0:176, 1:177, 2:178, + 3:179, 5:181, 6:182, + 7:183, Q:185, k:186, b:208, i:216, l:222, s:240, y:248, "!":161, '"':162, "#":163, "(":164, "%":165, "'":167, "H ":168, "+":171, ";":187, "<":188, "=":189, ">":190, "?":191, "{":223 }/*:any*/); @@ -6082,6 +6219,7 @@ var SYLK = /*#__PURE__*/(function() { val = record[rj].slice(1); if(val.charAt(0) === '"') { val = val.slice(1,val.length - 1); cell_t = "s"; } else if(val === 'TRUE' || val === 'FALSE') { val = val === 'TRUE'; cell_t = "b"; } + else if(val.charAt(0) == "#" && RBErr[val] != null) { cell_t = "e"; val = RBErr[val]; } else if(!isNaN(fuzzynum(val))) { val = fuzzynum(val); cell_t = "n"; if(next_cell_format !== null && fmt_is_date(next_cell_format) && opts.cellDates) { @@ -6194,7 +6332,7 @@ var SYLK = /*#__PURE__*/(function() { o += (cell.v||0); if(cell.f && !cell.F) o += ";E" + a1_to_rc(cell.f, {r:R, c:C}); break; case 'b': o += cell.v ? "TRUE" : "FALSE"; break; - case 'e': o += cell.w || cell.v; break; + case 'e': o += cell.w || BErr[cell.v] || cell.v; break; case 'd': o += datenum(parseDate(cell.v, date1904), date1904); break; case 's': o += '"' + (cell.v == null ? "" : String(cell.v)).replace(/"/g,"").replace(/;/g, ";;") + '"'; break; } @@ -6539,18 +6677,18 @@ var PRN = /*#__PURE__*/(function() { // List of accepted CSV separators var guess_seps = { - /*::[*/0x2C/*::]*/: ',', - /*::[*/0x09/*::]*/: "\t", - /*::[*/0x3B/*::]*/: ';', - /*::[*/0x7C/*::]*/: '|' + 0x2C: ',', + 0x09: "\t", + 0x3B: ';', + 0x7C: '|' }; // CSV separator weights to be used in case of equal numbers var guess_sep_weights = { - /*::[*/0x2C/*::]*/: 3, - /*::[*/0x09/*::]*/: 2, - /*::[*/0x3B/*::]*/: 1, - /*::[*/0x7C/*::]*/: 0 + 0x2C: 3, + 0x09: 2, + 0x3B: 1, + 0x7C: 0 }; function guess_sep(str) { @@ -6719,7 +6857,7 @@ function read_wb_ID(d, opts) { return out; } catch(e) { o.WTF = OLD_WTF; - if(!e.message.match(/SYLK bad record ID/) && OLD_WTF) throw e; + if((e.message.indexOf("SYLK bad record ID") == -1) && OLD_WTF) throw e; return PRN.to_workbook(d, opts); } } @@ -6730,7 +6868,7 @@ function parse_rpr(rpr) { var pass = false; if(m) for(;i!=m.length; ++i) { var y = parsexmltag(m[i]); - switch(y[0].replace(/\w*:/g,"")) { + switch(y[0].replace(/<\w*:/g,"<")) { /* 18.8.12 condense CT_BooleanProperty */ /* ** not required . */ case '<condense': break; @@ -6833,15 +6971,14 @@ function parse_rpr(rpr) { } var parse_rs = /*#__PURE__*/(function() { - var tregex = matchtag("t"), rpregex = matchtag("rPr"); /* 18.4.4 r CT_RElt */ function parse_r(r) { /* 18.4.12 t ST_Xstring */ - var t = r.match(tregex)/*, cp = 65001*/; + var t = str_match_xml_ns(r, "t")/*, cp = 65001*/; if(!t) return {t:"s", v:""}; var o/*:Cell*/ = ({t:'s', v:unescapexml(t[1])}/*:any*/); - var rpr = r.match(rpregex); + var rpr = str_match_xml_ns(r, "rPr"); if(rpr) o.s = parse_rpr(rpr[1]); return o; } @@ -6894,8 +7031,7 @@ var rs_to_html = /*#__PURE__*/(function parse_rs_factory() { })(); /* 18.4.8 si CT_Rst */ -var sitregex = /<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g, sirregex = /<(?:\w+:)?r\b[^>]*>/; -var sirphregex = /<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g; +var sitregex = /<(?:\w+:)?t\b[^<>]*>([^<]*)<\/(?:\w+:)?t>/g, sirregex = /<(?:\w+:)?r\b[^<>]*>/; function parse_si(x, opts) { var html = opts ? opts.cellHTML : true; var z = {}; @@ -6911,7 +7047,7 @@ function parse_si(x, opts) { /* 18.4.4 r CT_RElt (Rich Text Run) */ else if((/*y = */x.match(sirregex))) { z.r = utf8read(x); - z.t = unescapexml(utf8read((x.replace(sirphregex, '').match(sitregex)||[]).join("").replace(tagregex,"")), true); + z.t = unescapexml(utf8read((str_remove_xml_ns_g(x, "rPh").match(sitregex)||[]).join("").replace(tagregex,"")), true); if(html) z.h = rs_to_html(parse_rs(z.r)); } /* 18.4.3 phoneticPr CT_PhoneticPr (TODO: needed for Asian support) */ @@ -6920,21 +7056,20 @@ function parse_si(x, opts) { } /* 18.4 Shared String Table */ -var sstr0 = /<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/; var sstr1 = /<(?:\w+:)?(?:si|sstItem)>/g; var sstr2 = /<\/(?:\w+:)?(?:si|sstItem)>/; function parse_sst_xml(data/*:string*/, opts)/*:SST*/ { var s/*:SST*/ = ([]/*:any*/), ss = ""; if(!data) return s; /* 18.4.9 sst CT_Sst */ - var sst = data.match(sstr0); + var sst = str_match_xml_ns(data, "sst"); if(sst) { - ss = sst[2].replace(sstr1,"").split(sstr2); + ss = sst[1].replace(sstr1,"").split(sstr2); for(var i = 0; i != ss.length; ++i) { var o = parse_si(ss[i].trim(), opts); if(o != null) s[s.length] = o; } - sst = parsexmltag(sst[1]); s.Count = sst.count; s.Unique = sst.uniqueCount; + sst = parsexmltag(sst[0].slice(0, sst[0].indexOf(">"))); s.Count = sst.count; s.Unique = sst.uniqueCount; } return s; } @@ -7088,7 +7223,7 @@ function parse_borders(t, styles, themes, opts) { styles.Borders = []; var border = {}; var pass = false; - (t[0].match(tagregex)||[]).forEach(function(x) { + (t.match(tagregex)||[]).forEach(function(x) { var y = parsexmltag(x); switch(strip_ns(y[0])) { case '<borders': case '<borders>': case '</borders>': break; @@ -7163,7 +7298,7 @@ function parse_fills(t, styles, themes, opts) { styles.Fills = []; var fill = {}; var pass = false; - (t[0].match(tagregex)||[]).forEach(function(x) { + (t.match(tagregex)||[]).forEach(function(x) { var y = parsexmltag(x); switch(strip_ns(y[0])) { case '<fills': case '<fills>': case '</fills>': break; @@ -7229,7 +7364,7 @@ function parse_fonts(t, styles, themes, opts) { styles.Fonts = []; var font = {}; var pass = false; - (t[0].match(tagregex)||[]).forEach(function(x) { + (t.match(tagregex)||[]).forEach(function(x) { var y = parsexmltag(x); switch(strip_ns(y[0])) { case '<fonts': case '<fonts>': case '</fonts>': break; @@ -7349,7 +7484,7 @@ function parse_numFmts(t, styles, opts) { styles.NumberFmt = []; var k/*Array<number>*/ = (keys(table_fmt)/*:any*/); for(var i=0; i < k.length; ++i) styles.NumberFmt[k[i]] = table_fmt[k[i]]; - var m = t[0].match(tagregex); + var m = t.match(tagregex); if(!m) return; for(i=0; i < m.length; ++i) { var y = parsexmltag(m[i]); @@ -7390,7 +7525,7 @@ function parse_cellXfs(t, styles, opts) { styles.CellXf = []; var xf; var pass = false; - (t[0].match(tagregex)||[]).forEach(function(x) { + (t.match(tagregex)||[]).forEach(function(x) { var y = parsexmltag(x), i = 0; switch(strip_ns(y[0])) { case '<cellXfs': case '<cellXfs>': case '<cellXfs/>': case '</cellXfs>': break; @@ -7455,36 +7590,31 @@ function write_cellXfs(cellXfs)/*:string*/ { /* 18.8 Styles CT_Stylesheet*/ var parse_sty_xml= /*#__PURE__*/(function make_pstyx() { -var numFmtRegex = /<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/; -var cellXfRegex = /<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/; -var fillsRegex = /<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/; -var fontsRegex = /<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/; -var bordersRegex = /<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/; return function parse_sty_xml(data, themes, opts) { var styles = {}; if(!data) return styles; - data = data.replace(/<!--([\s\S]*?)-->/mg,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,""); + data = remove_doctype(str_remove_ng(data, "<!--", "-->")); /* 18.8.39 styleSheet CT_Stylesheet */ var t; /* 18.8.31 numFmts CT_NumFmts ? */ - if((t=data.match(numFmtRegex))) parse_numFmts(t, styles, opts); + if((t=str_match_xml_ns(data, "numFmts"))) parse_numFmts(t[0], styles, opts); /* 18.8.23 fonts CT_Fonts ? */ - if((t=data.match(fontsRegex))) parse_fonts(t, styles, themes, opts); + if((t=str_match_xml_ns(data, "fonts"))) parse_fonts(t[0], styles, themes, opts); /* 18.8.21 fills CT_Fills ? */ - if((t=data.match(fillsRegex))) parse_fills(t, styles, themes, opts); + if((t=str_match_xml_ns(data, "fills"))) parse_fills(t[0], styles, themes, opts); /* 18.8.5 borders CT_Borders ? */ - if((t=data.match(bordersRegex))) parse_borders(t, styles, themes, opts); + if((t=str_match_xml_ns(data, "borders"))) parse_borders(t[0], styles, themes, opts); /* 18.8.9 cellStyleXfs CT_CellStyleXfs ? */ /* 18.8.8 cellStyles CT_CellStyles ? */ /* 18.8.10 cellXfs CT_CellXfs ? */ - if((t=data.match(cellXfRegex))) parse_cellXfs(t, styles, opts); + if((t=str_match_xml_ns(data, "cellXfs"))) parse_cellXfs(t[0], styles, opts); /* 18.8.15 dxfs CT_Dxfs ? */ /* 18.8.42 tableStyles CT_TableStyles ? */ @@ -7533,10 +7663,12 @@ function parse_clrScheme(t, themes, opts) { /* 20.1.2.3.32 srgbClr CT_SRgbColor */ case '<a:srgbClr': color.rgb = y.val; break; + case '</a:srgbClr>': break; /* 20.1.2.3.33 sysClr CT_SystemColor */ case '<a:sysClr': color.rgb = y.lastClr; break; + case '</a:sysClr>': break; /* 20.1.4.1.1 accent1 (Accent 1) */ /* 20.1.4.1.2 accent2 (Accent 2) */ @@ -7550,8 +7682,10 @@ function parse_clrScheme(t, themes, opts) { /* 20.1.4.1.19 hlink (Hyperlink) */ /* 20.1.4.1.22 lt1 (Light 1) */ /* 20.1.4.1.23 lt2 (Light 2) */ - case '<a:dk1>': case '</a:dk1>': - case '<a:lt1>': case '</a:lt1>': + case '</a:dk1>': + case '</a:lt1>': + case '<a:dk1>': + case '<a:lt1>': case '<a:dk2>': case '</a:dk2>': case '<a:lt2>': case '</a:lt2>': case '<a:accent1>': case '</a:accent1>': @@ -7581,30 +7715,24 @@ function parse_fontScheme(/*::t, themes, opts*/) { } /* 20.1.4.1.15 fmtScheme CT_StyleMatrix */ function parse_fmtScheme(/*::t, themes, opts*/) { } -var clrsregex = /<a:clrScheme([^>]*)>[\s\S]*<\/a:clrScheme>/; -var fntsregex = /<a:fontScheme([^>]*)>[\s\S]*<\/a:fontScheme>/; -var fmtsregex = /<a:fmtScheme([^>]*)>[\s\S]*<\/a:fmtScheme>/; - /* 20.1.6.10 themeElements CT_BaseStyles */ function parse_themeElements(data, themes, opts) { themes.themeElements = {}; var t; - [ - /* clrScheme CT_ColorScheme */ - ['clrScheme', clrsregex, parse_clrScheme], - /* fontScheme CT_FontScheme */ - ['fontScheme', fntsregex, parse_fontScheme], - /* fmtScheme CT_StyleMatrix */ - ['fmtScheme', fmtsregex, parse_fmtScheme] - ].forEach(function(m) { - if(!(t=data.match(m[1]))) throw new Error(m[0] + ' not found in themeElements'); - m[2](t, themes, opts); - }); -} + /* clrScheme CT_ColorScheme */ + if(!(t=str_match_xml(data, "a:clrScheme"))) throw new Error('clrScheme not found in themeElements'); + parse_clrScheme(t, themes, opts); -var themeltregex = /<a:themeElements([^>]*)>[\s\S]*<\/a:themeElements>/; + /* fontScheme CT_FontScheme */ + if(!(t=str_match_xml(data, "a:fontScheme"))) throw new Error('fontScheme not found in themeElements'); + parse_fontScheme(t, themes, opts); + + /* fmtScheme CT_StyleMatrix */ + if(!(t=str_match_xml(data, "a:fmtScheme"))) throw new Error('fmtScheme not found in themeElements'); + parse_fmtScheme(t, themes, opts); +} /* 14.2.7 Theme Part */ function parse_theme_xml(data/*:string*/, opts) { @@ -7615,7 +7743,7 @@ function parse_theme_xml(data/*:string*/, opts) { var themes = {}; /* themeElements CT_BaseStyles */ - if(!(t=data.match(themeltregex))) throw new Error('themeElements not found in theme'); + if(!(t=str_match_xml(data, "a:themeElements"))) throw new Error('themeElements not found in theme'); parse_themeElements(t[0], themes, opts); themes.raw = data; return themes; @@ -7942,16 +8070,15 @@ function parse_drawing(data, rels/*:any*/) { the actual type is based on the URI of the graphicData TODO: handle embedded charts and other types of graphics */ - var id = (data.match(/<c:chart [^>]*r:id="([^"]*)"/)||["",""])[1]; + var id = (data.match(/<c:chart [^<>]*r:id="([^<>"]*)"/)||["",""])[1]; return rels['!id'][id].Target; } /* L.5.5.2 SpreadsheetML Comments + VML Schema */ -var shapevmlregex = /<(?:\w+:)?shape(?:[^\w][^>]*)?>([\s\S]*?)<\/(?:\w+:)?shape>/g; function parse_vml(data/*:string*/, sheet, comments) { var cidx = 0; - (data.match(shapevmlregex)||[]).forEach(function(m) { + (str_match_xml_ns_g(data, "shape")||[]).forEach(function(m) { var type = ""; var hidden = true; var aidx = -1; @@ -8086,22 +8213,22 @@ function parse_comments_xml(data/*:string*/, opts)/*:Array<RawComment>*/ { if(data.match(/<(?:\w+:)?comments *\/>/)) return []; var authors/*:Array<string>*/ = []; var commentList/*:Array<RawComment>*/ = []; - var authtag = data.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/); + var authtag = str_match_xml_ns(data, "authors"); if(authtag && authtag[1]) authtag[1].split(/<\/\w*:?author>/).forEach(function(x) { if(x === "" || x.trim() === "") return; - var a = x.match(/<(?:\w+:)?author[^>]*>(.*)/); + var a = x.match(/<(?:\w+:)?author[^<>]*>(.*)/); if(a) authors.push(a[1]); }); - var cmnttag = data.match(/<(?:\w+:)?commentList>([\s\S]*)<\/(?:\w+:)?commentList>/); + var cmnttag = str_match_xml_ns(data, "commentList"); if(cmnttag && cmnttag[1]) cmnttag[1].split(/<\/\w*:?comment>/).forEach(function(x) { if(x === "" || x.trim() === "") return; - var cm = x.match(/<(?:\w+:)?comment[^>]*>/); + var cm = x.match(/<(?:\w+:)?comment[^<>]*>/); if(!cm) return; var y = parsexmltag(cm[0]); var comment/*:RawComment*/ = ({ author: y.authorId && authors[y.authorId] || "sheetjsghost", ref: y.ref, guid: y.guid }/*:any*/); var cell = decode_cell(y.ref); if(opts.sheetRows && opts.sheetRows <= cell.r) return; - var textMatch = x.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/); + var textMatch = str_match_xml_ns(x, "text"); var rt = !!textMatch && !!textMatch[1] && parse_si(textMatch[1]) || {r:"",t:"",h:""}; comment.r = rt.r; if(rt.r == "<t></t>") rt.t = rt.h = ""; @@ -8281,7 +8408,7 @@ function fill_vba_xls(cfb, vba) { vba.FullPaths.forEach(function(p, i) { if (i == 0) return; - var newpath = p.replace(/[^\/]*[\/]/, "/_VBA_PROJECT_CUR/"); + var newpath = p.replace(/^[\/]*[^\/]*[\/]/, "/_VBA_PROJECT_CUR/"); if (newpath.slice(-1) !== "/") CFB.utils.cfb_add(cfb, newpath, vba.FileIndex[i].content); }); @@ -8523,16 +8650,13 @@ function parse_ws_xml_dim(ws/*:Worksheet*/, s/*:string*/) { var d = safe_decode_range(s); if(d.s.r<=d.e.r && d.s.c<=d.e.c && d.s.r>=0 && d.s.c>=0) ws["!ref"] = encode_range(d); } -var mergecregex = /<(?:\w:)?mergeCell ref=["'][A-Z0-9:]+['"]\s*[\/]?>/g; -var sheetdataregex = /<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/; -var hlinkregex = /<(?:\w:)?hyperlink [^>]*>/mg; +var mergecregex = /<(?:\w+:)?mergeCell ref=["'][A-Z0-9:]+['"]\s*[\/]?>/g; +var hlinkregex = /<(?:\w+:)?hyperlink [^<>]*>/mg; var dimregex = /"(\w*:\w*)"/; -var colregex = /<(?:\w:)?col\b[^>]*[\/]?>/g; -var afregex = /<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g; -var marginregex= /<(?:\w:)?pageMargins[^>]*\/>/g; -var sheetprregex = /<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/; -var sheetprregex2= /<(?:\w:)?sheetPr[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetPr)>/; -var svsregex = /<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/; +var colregex = /<(?:\w+:)?col\b[^<>]*[\/]?>/g; +var afregex = /<(?:\w+:)?autoFilter[^>]*/g; +var marginregex= /<(?:\w+:)?pageMargins[^<>]*\/>/g; +var sheetprregex = /<(?:\w+:)?sheetPr\b[^<>]*?\/>/; /* 18.3 Worksheets */ function parse_ws_xml(data/*:?string*/, opts, idx/*:number*/, rels, wb/*:WBWBProps*/, themes, styles)/*:Worksheet*/ { @@ -8545,7 +8669,7 @@ function parse_ws_xml(data/*:?string*/, opts, idx/*:number*/, rels, wb/*:WBWBPro var refguess/*:Range*/ = ({s: {r:2000000, c:2000000}, e: {r:0, c:0} }/*:any*/); var data1 = "", data2 = ""; - var mtch/*:?any*/ = data.match(sheetdataregex); + var mtch/*:?any*/ = str_match_xml_ns(data, "sheetData"); if(mtch) { data1 = data.slice(0, mtch.index); data2 = data.slice(mtch.index + mtch[0].length); @@ -8554,7 +8678,7 @@ function parse_ws_xml(data/*:?string*/, opts, idx/*:number*/, rels, wb/*:WBWBPro /* 18.3.1.82 sheetPr CT_SheetPr */ var sheetPr = data1.match(sheetprregex); if(sheetPr) parse_ws_xml_sheetpr(sheetPr[0], s, wb, idx); - else if((sheetPr = data1.match(sheetprregex2))) parse_ws_xml_sheetpr2(sheetPr[0], sheetPr[1]||"", s, wb, idx, styles, themes); + else if((sheetPr = str_match_xml_ns(data1, "sheetPr"))) parse_ws_xml_sheetpr2(sheetPr[0], sheetPr[1]||"", s, wb, idx, styles, themes); /* 18.3.1.35 dimension CT_SheetDimension */ var ridx = (data1.match(/<(?:\w*:)?dimension/)||{index:-1}).index; @@ -8564,7 +8688,7 @@ function parse_ws_xml(data/*:?string*/, opts, idx/*:number*/, rels, wb/*:WBWBPro } /* 18.3.1.88 sheetViews CT_SheetViews */ - var svs = data1.match(svsregex); + var svs = str_match_xml_ns(data1, "sheetViews"); if(svs && svs[1]) parse_ws_xml_sheetviews(svs[1], wb); /* 18.3.1.17 cols CT_Cols */ @@ -8763,7 +8887,7 @@ function write_ws_xml_autofilter(data, ws, wb, idx)/*:string*/ { /* 18.3.1.88 sheetViews CT_SheetViews */ /* 18.3.1.87 sheetView CT_SheetView */ -var sviewregex = /<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/?>/g; +var sviewregex = /<(?:\w:)?sheetView(?:[^<>a-z][^<>]*)?\/?>/g; function parse_ws_xml_sheetviews(data, wb/*:WBWBProps*/) { if(!wb.Views) wb.Views = [{}]; (data.match(sviewregex)||[]).forEach(function(r/*:string*/, i/*:number*/) { @@ -8842,9 +8966,8 @@ function write_ws_xml_cell(cell/*:Cell*/, ref, ws, opts, idx, wb, date1904)/*:st var parse_ws_xml_data = /*#__PURE__*/(function() { var cellregex = /<(?:\w+:)?c[ \/>]/, rowregex = /<\/(?:\w+:)?row>/; - var rregex = /r=["']([^"']*)["']/, isregex = /<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/; + var rregex = /r=["']([^"']*)["']/; var refregex = /ref=["']([^"']*)["']/; - var match_v = matchtag("v"), match_f = matchtag("f"); return function parse_ws_xml_data(sdata/*:string*/, s, opts, guess/*:Range*/, themes, styles, wb) { var ri = 0, x = "", cells/*:Array<string>*/ = [], cref/*:?Array<string>*/ = [], idx=0, i=0, cc=0, d="", p/*:any*/; @@ -8923,9 +9046,9 @@ return function parse_ws_xml_data(sdata/*:string*/, s, opts, guess/*:Range*/, th d = x.slice(i); p = ({t:""}/*:any*/); - if((cref=d.match(match_v))!= null && /*::cref != null && */cref[1] !== '') p.v=unescapexml(cref[1]); + if((cref=str_match_xml_ns(d, "v"))!= null && /*::cref != null && */cref[1] !== '') p.v=unescapexml(cref[1]); if(opts.cellFormula) { - if((cref=d.match(match_f))!= null /*:: && cref != null*/) { + if((cref=str_match_xml_ns(d, "f"))!= null /*:: && cref != null*/) { if(cref[1] == "") { if(/*::cref != null && cref[0] != null && */cref[0].indexOf('t="shared"') > -1) { // TODO: parse formula @@ -8947,7 +9070,7 @@ return function parse_ws_xml_data(sdata/*:string*/, s, opts, guess/*:Range*/, th sharedf[parseInt(ftag.si, 10)] = [ftag, ___f, tag.r]; } } - } else if((cref=d.match(/<f[^>]*\/>/))) { + } else if((cref=d.match(/<f[^<>]*\/>/))) { ftag = parsexmltag(cref[0]); if(sharedf[ftag.si]) p.f = shift_formula_xlsx(sharedf[ftag.si][1], sharedf[ftag.si][2]/*[0].ref*/, tag.r); } @@ -8993,7 +9116,7 @@ return function parse_ws_xml_data(sdata/*:string*/, s, opts, guess/*:Range*/, th if(opts.cellHTML) p.h = escapehtml(p.v); break; case 'inlineStr': - cref = d.match(isregex); + cref = str_match_xml_ns(d, "is"); p.t = 's'; if(cref != null && (sstr = parse_si(cref[1]))) { p.v = sstr.t; @@ -9158,7 +9281,7 @@ function write_ws_xml(idx/*:number*/, opts, wb/*:Workbook*/, rels)/*:string*/ { if(!l[1].Target) return; rel = ({"ref":l[0]}/*:any*/); if(l[1].Target.charAt(0) != "#") { - rId = add_rels(rels, -1, escapexml(l[1].Target).replace(/#.*$/, ""), RELS.HLINK); + rId = add_rels(rels, -1, escapexml(l[1].Target).replace(/#[\s\S]*$/, ""), RELS.HLINK); rel["r:id"] = "rId"+rId; } if((relc = l[1].Target.indexOf("#")) > -1) rel.location = escapexml(l[1].Target.slice(relc+1)); @@ -9214,16 +9337,16 @@ function parse_Cache(data/*:string*/)/*:[Array<number|string>, string, ?string]* var f; /* 21.2.2.150 pt CT_NumVal */ - (data.match(/<c:pt idx="(\d*)">(.*?)<\/c:pt>/mg)||[]).forEach(function(pt) { - var q = pt.match(/<c:pt idx="(\d*?)"><c:v>(.*)<\/c:v><\/c:pt>/); + (data.match(/<c:pt idx="(\d*)"[^<>\/]*><c:v>([^<])<\/c:v><\/c:pt>/mg)||[]).forEach(function(pt) { + var q = pt.match(/<c:pt idx="(\d*)"[^<>\/]*><c:v>([^<]*)<\/c:v><\/c:pt>/); if(!q) return; col[+q[1]] = num ? +q[2] : q[2]; }); /* 21.2.2.71 formatCode CT_Xstring */ - var nf = unescapexml((data.match(/<c:formatCode>([\s\S]*?)<\/c:formatCode>/) || ["","General"])[1]); + var nf = unescapexml((str_match_xml(data, "c:formatCode") || ["","General"])[1]); - (data.match(/<c:f>(.*?)<\/c:f>/mg)||[]).forEach(function(F) { f = F.replace(/<.*?>/g,""); }); + (str_match_ng(data, "<c:f>", "</c:f>")||[]).forEach(function(F) { f = F.replace(/<[^<>]*>/g,""); }); return [col, nf, f]; } @@ -9238,7 +9361,7 @@ function parse_chart(data/*:?string*/, name/*:string*/, opts, rels, wb, csheet) var refguess = {s: {r:2000000, c:2000000}, e: {r:0, c:0} }; /* 21.2.2.120 numCache CT_NumData */ - (data.match(/<c:numCache>[\s\S]*?<\/c:numCache>/gm)||[]).forEach(function(nc) { + (str_match_ng(data, "<c:numCache>", "</c:numCache>")||[]).forEach(function(nc) { var cache = parse_Cache(nc); refguess.s.r = refguess.s.c = 0; refguess.e.c = C; @@ -9748,12 +9871,12 @@ function html_to_sheet(str/*:string*/, _opts)/*:Workbook*/ { var opts = _opts || {}; var dense = (opts.dense != null) ? opts.dense : DENSE; var ws/*:Worksheet*/ = ({}/*:any*/); if(dense) ws["!data"] = []; - str = str.replace(/<!--.*?-->/g, ""); + str = str_remove_ng(str, "<!--", "-->"); var mtch/*:any*/ = str.match(/<table/i); if(!mtch) throw new Error("Invalid HTML: could not find <table>"); var mtch2/*:any*/ = str.match(/<\/table/i); var i/*:number*/ = mtch.index, j/*:number*/ = mtch2 && mtch2.index || str.length; - var rows = split_regex(str.slice(i, j), /(:?<tr[^>]*>)/i, "<tr>"); + var rows = split_regex(str.slice(i, j), /(:?<tr[^<>]*>)/i, "<tr>"); var R = -1, C = 0, RS = 0, CS = 0; var range/*:Range*/ = {s:{r:10000000, c:10000000},e:{r:0,c:0}}; var merges/*:Array<Range>*/ = []; @@ -9829,7 +9952,7 @@ function make_html_row(ws/*:Worksheet*/, r/*:Range*/, R/*:number*/, o/*:Sheet2HT else if(cell) { sp["data-t"] = cell && cell.t || 'z'; // note: data-v is unaffected by the timezone interpretation - if(cell.v != null) sp["data-v"] = cell.v instanceof Date ? cell.v.toISOString() : cell.v; + if(cell.v != null) sp["data-v"] = escapehtml(cell.v instanceof Date ? cell.v.toISOString() : cell.v); if(cell.z != null) sp["data-z"] = cell.z; if(cell.l && (cell.l.Target || "#").charAt(0) != "#") w = '<a href="' + escapehtml(cell.l.Target) +'">' + w + '</a>'; } @@ -9844,7 +9967,7 @@ var HTML_BEGIN = '<html><head><meta charset="utf-8"/><title>SheetJS Table Export var HTML_END = '</body></html>'; function html_to_workbook(str/*:string*/, opts)/*:Workbook*/ { - var mtch = str.match(/<table[\s\S]*?>[\s\S]*?<\/table>/gi); + var mtch = str_match_xml_ig(str, "table"); if(!mtch || mtch.length == 0) throw new Error("Invalid HTML: could not find <table>"); if(mtch.length == 1) { var w = sheet_to_workbook(html_to_sheet(mtch[0], opts), opts); @@ -9997,9 +10120,9 @@ function parse_text_p(text/*:string*//*::, tag*/)/*:Array<any>*/ { .replace(/[\t\r\n]/g, " ").trim().replace(/ +/g, " ") .replace(/<text:s\/>/g," ") .replace(/<text:s text:c="(\d+)"\/>/g, function($$,$1) { return Array(parseInt($1,10)+1).join(" "); }) - .replace(/<text:tab[^>]*\/>/g,"\t") + .replace(/<text:tab[^<>]*\/>/g,"\t") .replace(/<text:line-break\/>/g,"\n"); - var v = unescapexml(fixed.replace(/<[^>]*>/g,"")); + var v = unescapexml(fixed.replace(/<[^<>]*>/g,"")); return [v]; } @@ -10009,10 +10132,10 @@ function parse_ods_styles(d/*:string*/, _opts, _nfm) { var number_format_map = _nfm || {}; var str = xlml_normalize(d); xlmlregex.lastIndex = 0; - str = str.replace(/<!--([\s\S]*?)-->/mg,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,""); + str = remove_doctype(str_remove_ng(str, "<!--", "-->")); var Rn, NFtag, NF = "", tNF = "", y, etpos = 0, tidx = -1, infmt = false, payload = ""; while((Rn = xlmlregex.exec(str))) { - switch((Rn[3]=Rn[3].replace(/_.*$/,""))) { + switch((Rn[3]=Rn[3].replace(/_[\s\S]*$/,""))) { /* Number Format Definitions */ case 'number-style': // <number:number-style> 16.29.2 case 'currency-style': // <number:currency-style> 16.29.8 @@ -10256,8 +10379,8 @@ function parse_content_xml(d/*:string*/, _opts, _nfm)/*:Workbook*/ { var isstub = false, intable = false; var i = 0; xlmlregex.lastIndex = 0; - str = str.replace(/<!--([\s\S]*?)-->/mg,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,""); - while((Rn = xlmlregex.exec(str))) switch((Rn[3]=Rn[3].replace(/_.*$/,""))) { + str = remove_doctype(str_remove_ng(str, "<!--", "-->")); + while((Rn = xlmlregex.exec(str))) switch((Rn[3]=Rn[3].replace(/_[\s\S]*$/,""))) { case 'table': case '工作表': // 9.1.2 <table:table> if(Rn[1]==='/') { @@ -10854,7 +10977,7 @@ function write_number_format_ods(nf/*:string*/, nfidx/*:string*/)/*:string*/ { if((t=nf.match(/# (\?+)\/(\d+)/))) { payload += writextag("number:fraction", null, {"number:min-integer-digits":0, "number:min-numerator-digits": t[1].length, "number:denominator-value": +t[2]}); break j; } /* percentages */ - if((t=nf.match(/(\d+)(|\.\d+)%/))) { type = "percentage"; payload += writextag("number:number", null, {"number:decimal-places": t[2] && t.length - 1 || 0, "number:min-decimal-places": t[2] && t.length - 1 || 0, "number:min-integer-digits": t[1].length }) + "<number:text>%</number:text>"; break j; } + if((t=nf.match(/\b(\d+)(|\.\d+)%/))) { type = "percentage"; payload += writextag("number:number", null, {"number:decimal-places": t[2] && t.length - 1 || 0, "number:min-decimal-places": t[2] && t.length - 1 || 0, "number:min-integer-digits": t[1].length }) + "<number:text>%</number:text>"; break j; } /* datetime */ var has_time = false; @@ -10983,17 +11106,17 @@ function write_names_ods(Names, SheetNames, idx) { return " " + writextag("table:named-range", null, { "table:name": name.Name, "table:cell-range-address": odsref, - "table:base-cell-address": odsref.replace(/[\.]?[^\.]*$/, ".$A$1") + "table:base-cell-address": odsref.replace(/[\.][^\.]*$/, ".$A$1") }); }).join("\n") + "\n </table:named-expressions>\n"; } var write_content_ods/*:{(wb:any, opts:any):string}*/ = /* @__PURE__ */(function() { /* 6.1.2 White Space Characters */ - var write_text_p = function(text/*:string*/)/*:string*/ { + var write_text_p = function(text/*:string*/, span)/*:string*/ { return escapexml(text) .replace(/ +/g, function($$){return '<text:s text:c="'+$$.length+'"/>';}) .replace(/\t/g, "<text:tab/>") - .replace(/\n/g, "</text:p><text:p>") + .replace(/\n/g, span ? "<text:line-break/>": "</text:p><text:p>") .replace(/^ /, "<text:s/>").replace(/ $/, "<text:s/>"); }; @@ -11223,7 +11346,7 @@ var write_content_ods/*:{(wb:any, opts:any):string}*/ = /* @__PURE__ */(function if(opts.bookType == "fods") { o.push('<office:document' + attr + fods + '>\n'); - o.push(write_meta_ods().replace(/<office:document-meta.*?>/, "").replace(/<\/office:document-meta>/, "") + "\n"); + o.push(write_meta_ods().replace(/<office:document-meta[^<>]*?>/, "").replace(/<\/office:document-meta>/, "") + "\n"); // TODO: settings (equiv of settings.xml for ODS) } else o.push('<office:document-content' + attr + '>\n'); // o.push(' <office:scripts/>\n'); @@ -11536,7 +11659,7 @@ function parse_zip(zip/*:ZIP*/, opts/*:?ParseOpts*/)/*:Workbook*/ { if(wbrels && wbrels[i]) { path = 'xl/' + (wbrels[i][1]).replace(/[\/]?xl\//, ""); if(!safegetzipfile(zip, path)) path = wbrels[i][1]; - if(!safegetzipfile(zip, path)) path = wbrelsfile.replace(/_rels\/.*$/,"") + wbrels[i][1]; + if(!safegetzipfile(zip, path)) path = wbrelsfile.replace(/_rels\/[\S\s]*$/,"") + wbrels[i][1]; stype = wbrels[i][2]; } else { path = 'xl/worksheets/sheet'+(i+1-nmode)+"." + wbext; @@ -11589,7 +11712,7 @@ function parse_zip(zip/*:ZIP*/, opts/*:?ParseOpts*/)/*:Workbook*/ { if(dir.vba.length > 0) out.vbaraw = getzipdata(zip,strip_front_slash(dir.vba[0]),true); else if(dir.defaults && dir.defaults.bin === CT_VBA) out.vbaraw = getzipdata(zip, 'xl/vbaProject.bin',true); } - // TODO: pass back content types metdata for xlsm/xlsx resolution + // TODO: pass back content types metadata for xlsm/xlsx resolution out.bookType = xlsb ? "xlsb" : "xlsx"; return out; } @@ -12411,6 +12534,7 @@ function make_csv_row(sheet/*:Worksheet*/, r/*:Range*/, R/*:number*/, cols/*:Arr /* NOTE: Excel CSV does not support array formulae */ row.push(txt); } + if(o.strip) while(row[row.length - 1] === "") --row.length; if(o.blankrows === false && isempty) return null; return row.join(FS); } @@ -12422,7 +12546,6 @@ function sheet_to_csv(sheet/*:Worksheet*/, opts/*:?Sheet2CSVOpts*/)/*:string*/ { var r = safe_decode_range(sheet["!ref"]); var FS = o.FS !== undefined ? o.FS : ",", fs = FS.charCodeAt(0); var RS = o.RS !== undefined ? o.RS : "\n", rs = RS.charCodeAt(0); - var endregex = new RegExp((FS=="|" ? "\\|" : FS)+"+$"); var row = "", cols/*:Array<string>*/ = []; var colinfo/*:Array<ColInfo>*/ = o.skipHidden && sheet["!cols"] || []; var rowinfo/*:Array<ColInfo>*/ = o.skipHidden && sheet["!rows"] || []; @@ -12432,7 +12555,6 @@ function sheet_to_csv(sheet/*:Worksheet*/, opts/*:?Sheet2CSVOpts*/)/*:string*/ { if ((rowinfo[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,""); if(row || (o.blankrows !== false)) out.push((w++ ? RS : "") + row); } return out.join(""); @@ -12595,10 +12717,10 @@ function book_append_sheet(wb/*:Workbook*/, ws/*:Worksheet*/, name/*:?string*/, var i = 1; if(!name) for(; i <= 0xFFFF; ++i, name = undefined) if(wb.SheetNames.indexOf(name = "Sheet" + i) == -1) break; if(!name || wb.SheetNames.length >= 0xFFFF) throw new Error("Too many worksheets"); - if(roll && wb.SheetNames.indexOf(name) >= 0) { - var m = name.match(/(^.*?)(\d+)$/); - i = m && +m[2] || 0; - var root = m && m[1] || name; + if(roll && wb.SheetNames.indexOf(name) >= 0 && name.length < 32) { + var m = name.match(/\d+$/); // at this point, name length is capped at 32 + i = m && +m[0] || 0; + var root = m && name.slice(0, m.index) || name; for(++i; i <= 0xFFFF; ++i) if(wb.SheetNames.indexOf(name = root + i) == -1) break; } check_ws_name(name); diff --git a/xlsx.mini.js b/xlsx.mini.js index 77b7c58..e7629d1 100644 --- a/xlsx.mini.js +++ b/xlsx.mini.js @@ -1,10 +1,10 @@ /*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */ /* vim: set ts=2: */ /*exported XLSX */ -/*global global, exports, module, require:false, process:false, Buffer:false, ArrayBuffer:false, DataView:false, Deno:false, Float32Array:false */ +/*global global, exports, module, require:false, process:false, Buffer:false, ArrayBuffer:false, DataView:false, Deno:false, Set:false, Float32Array:false */ var XLSX = {}; function make_xlsx_lib(XLSX){ -XLSX.version = '0.20.1'; +XLSX.version = '0.20.2'; var current_codepage = 1200, current_ansi = 1252; /*global cptable:true, window */ var $cptable; @@ -12,26 +12,26 @@ var $cptable; var VALID_ANSI = [ 874, 932, 936, 949, 950, 1250, 1251, 1252, 1253, 1254, 1255, 1256, 1257, 1258, 10000 ]; /* ECMA-376 Part I 18.4.1 charset to codepage mapping */ var CS2CP = ({ -0: 1252, /* ANSI */ -1: 65001, /* DEFAULT */ -2: 65001, /* SYMBOL */ -77: 10000, /* MAC */ -128: 932, /* SHIFTJIS */ -129: 949, /* HANGUL */ -130: 1361, /* JOHAB */ -134: 936, /* GB2312 */ -136: 950, /* CHINESEBIG5 */ -161: 1253, /* GREEK */ -162: 1254, /* TURKISH */ -163: 1258, /* VIETNAMESE */ -177: 1255, /* HEBREW */ -178: 1256, /* ARABIC */ -186: 1257, /* BALTIC */ -204: 1251, /* RUSSIAN */ -222: 874, /* THAI */ -238: 1250, /* EASTEUROPE */ -255: 1252, /* OEM */ -69: 6969 /* MISC */ + 0: 1252, /* ANSI */ + 1: 65001, /* DEFAULT */ + 2: 65001, /* SYMBOL */ + 77: 10000, /* MAC */ + 128: 932, /* SHIFTJIS */ + 129: 949, /* HANGUL */ + 130: 1361, /* JOHAB */ + 134: 936, /* GB2312 */ + 136: 950, /* CHINESEBIG5 */ + 161: 1253, /* GREEK */ + 162: 1254, /* TURKISH */ + 163: 1258, /* VIETNAMESE */ + 177: 1255, /* HEBREW */ + 178: 1256, /* ARABIC */ + 186: 1257, /* BALTIC */ + 204: 1251, /* RUSSIAN */ + 222: 874, /* THAI */ + 238: 1250, /* EASTEUROPE */ + 255: 1252, /* OEM */ + 69: 6969 /* MISC */ }); var set_ansi = function(cp) { if(VALID_ANSI.indexOf(cp) == -1) return; current_ansi = CS2CP[0] = cp; }; @@ -157,7 +157,12 @@ function Base64_encode_arr(input) { function Base64_decode(input) { var o = ""; var c1 = 0, c2 = 0, c3 = 0, e1 = 0, e2 = 0, e3 = 0, e4 = 0; - input = input.replace(/^data:([^\/]+\/[^\/]+)?;base64\,/, "").replace(/[^\w\+\/\=]/g, ""); + if (input.slice(0, 5) == "data:") { + var i = input.slice(0, 1024).indexOf(";base64,"); + if (i > -1) + input = input.slice(i + 8); + } + input = input.replace(/[^\w\+\/\=]/g, ""); for (var i = 0; i < input.length; ) { e1 = Base64_map.indexOf(input.charAt(i++)); e2 = Base64_map.indexOf(input.charAt(i++)); @@ -698,7 +703,7 @@ function write_num_f2(r, aval, sign) { return sign + (aval === 0 ? "" : ""+aval) + fill(" ", r[1].length + 2 + r[4].length); } var dec1 = /^#*0*\.([0#]+)/; -var closeparen = /\).*[0#]/; +var closeparen = /\)[^)]*[0#]/; var phone = /\(###\) ###\\?-####/; function hashq(str) { var o = "", cc; @@ -2111,9 +2116,9 @@ flen = file.content.length; file = cfb.FileIndex[i]; if(i === 0) file.start = file.size ? file.start - 1 : ENDOFCHAIN; var _nm = (i === 0 && _opts.root) || file.name; - if(_nm.length > 32) { - console.error("Name " + _nm + " will be truncated to " + _nm.slice(0,32)); - _nm = _nm.slice(0, 32); + if(_nm.length > 31) { + console.error("Name " + _nm + " will be truncated to " + _nm.slice(0,31)); + _nm = _nm.slice(0, 31); } flen = 2*(_nm.length+1); o.write_shift(64, _nm, "utf16le"); @@ -3022,7 +3027,7 @@ function parse_mime(cfb, data, root) { for(;di < 10; ++di) { var line = data[di]; if(!line || line.match(/^\s*$/)) break; - var m = line.match(/^(.*?):\s*([^\s].*)$/); + var m = line.match(/^([^:]*?):\s*([^\s].*)$/); if(m) switch(m[1].toLowerCase()) { case "content-location": fname = m[2].trim(); break; case "content-type": ctype = m[2].trim(); break; @@ -3261,7 +3266,7 @@ document.body.removeChild(a); var out = File(fname); out.open("w"); out.encoding = "binary"; if(Array.isArray(payload)) payload = a2s(payload); out.write(payload); out.close(); return payload; - } catch(e) { if(!e.message || !e.message.match(/onstruct/)) throw e; } + } catch(e) { if(!e.message || e.message.indexOf("onstruct") == -1) throw e; } throw new Error("cannot save file " + fname); } @@ -3275,7 +3280,7 @@ function read_binary(path) { var infile = File(path); infile.open("r"); infile.encoding = "binary"; var data = infile.read(); infile.close(); return data; - } catch(e) { if(!e.message || !e.message.match(/onstruct/)) throw e; } + } catch(e) { if(!e.message || e.message.indexOf("onstruct") == -1) throw e; } throw new Error("Cannot access file " + path); } function keys(o) { @@ -3367,7 +3372,7 @@ function parseDate(str, date1904) { if(m) return new Date(Date.UTC(+m[1], +m[2]-1, +m[3], 0, 0, 0, 0)); /* TODO: 1900-02-29T00:00:00.000 should return a flag to treat as a date code (affects xlml) */ m = str.match(pdre3); - if(m) return new Date(Date.UTC(+m[1], +m[2]-1, +m[3], +m[4], +m[5], ((m[6] && parseInt(m[6].slice(1), 10))|| 0), ((m[7] && parseInt(m[7].slice(1), 10))||0))); + if(m) return new Date(Date.UTC(+m[1], +m[2]-1, +m[3], +m[4], +m[5], ((m[6] && parseInt(m[6].slice(1), 10))|| 0), ((m[7] && parseInt((m[7] + "0000").slice(1,4), 10))||0))); var d = new Date(str); return d; } @@ -3434,7 +3439,7 @@ function fuzzynum(s) { var wt = 1; var ss = s.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g, function() { wt *= 100; return "";}); if(!isNaN(v = Number(ss))) return v / wt; - ss = ss.replace(/[(](.*)[)]/,function($$, $1) { wt = -wt; return $1;}); + ss = ss.replace(/[(]([^()]*)[)]/,function($$, $1) { wt = -wt; return $1;}); if(!isNaN(v = Number(ss))) return v / wt; return v; } @@ -3475,7 +3480,7 @@ function fuzzydate(s) { M = lnos.match(FDRE2); if(M) return fuzzytime2(M); M = lnos.match(pdre3); - if(M) return new Date(Date.UTC(+M[1], +M[2]-1, +M[3], +M[4], +M[5], ((M[6] && parseInt(M[6].slice(1), 10))|| 0), ((M[7] && parseInt(M[7].slice(1), 10))||0))); + if(M) return new Date(Date.UTC(+M[1], +M[2]-1, +M[3], +M[4], +M[5], ((M[6] && parseInt(M[6].slice(1), 10))|| 0), ((M[7] && parseInt((M[7] + "0000").slice(1,4), 10))||0))); var o = new Date(utc_append_works && s.indexOf("UTC") == -1 ? s + " UTC": s), n = new Date(NaN); var y = o.getYear(), m = o.getMonth(), d = o.getDate(); if(isNaN(d)) return n; @@ -3503,6 +3508,161 @@ function utc_to_local(utc) { function local_to_utc(local) { return new Date(Date.UTC(local.getFullYear(), local.getMonth(), local.getDate(), local.getHours(), local.getMinutes(), local.getSeconds(), local.getMilliseconds())); } + +function remove_doctype(str) { + var preamble = str.slice(0, 1024); + var si = preamble.indexOf("<!DOCTYPE"); + if(si == -1) return str; + var m = str.match(/<[\w]/); + if(!m) return str; + return str.slice(0, si) + str.slice(m.index); +} + +/* str.match(/<!--[\s\S]*?-->/g) --> str_match_ng(str, "<!--", "-->") */ +function str_match_ng(str, s, e) { + var out = []; + + var si = str.indexOf(s); + while(si > -1) { + var ei = str.indexOf(e, si + s.length); + if(ei == -1) break; + + out.push(str.slice(si, ei + e.length)); + si = str.indexOf(s, ei + e.length); + } + + return out.length > 0 ? out : null; +} + +/* str.replace(/<!--[\s\S]*?-->/g, "") --> str_remove_ng(str, "<!--", "-->") */ +function str_remove_ng(str, s, e) { + var out = [], last = 0; + + var si = str.indexOf(s); + if(si == -1) return str; + while(si > -1) { + out.push(str.slice(last, si)); + var ei = str.indexOf(e, si + s.length); + if(ei == -1) break; + + if((si = str.indexOf(s, (last = ei + e.length))) == -1) out.push(str.slice(last)); + } + + return out.join(""); +} + +/* str.match(/<tag\b[^>]*?>([\s\S]*?)</tag>/) --> str_match_xml(str, "tag") */ +var xml_boundary = { " ": 1, "\t": 1, "\r": 1, "\n": 1, ">": 1 }; +function str_match_xml(str, tag) { + var si = str.indexOf('<' + tag), w = tag.length + 1, L = str.length; + while(si >= 0 && si <= L - w && !xml_boundary[str.charAt(si + w)]) si = str.indexOf('<' + tag, si+1); + if(si === -1) return null; + var sf = str.indexOf(">", si + tag.length); + if(sf === -1) return null; + var et = "</" + tag + ">"; + var ei = str.indexOf(et, sf); + if(ei == -1) return null; + return [str.slice(si, ei + et.length), str.slice(sf + 1, ei)]; +} + +/* str.match(/<(?:\w+:)?tag\b[^<>]*?>([\s\S]*?)<\/(?:\w+:)?tag>/) --> str_match_xml(str, "tag") */ +var str_match_xml_ns = (function() { + var str_match_xml_ns_cache = {}; + return function str_match_xml_ns(str, tag) { + var res = str_match_xml_ns_cache[tag]; + if(!res) str_match_xml_ns_cache[tag] = res = [ + new RegExp('<(?:\\w+:)?'+tag+'\\b[^<>]*>', "g"), + new RegExp('</(?:\\w+:)?'+tag+'>', "g") + ]; + res[0].lastIndex = res[1].lastIndex = 0; + var m = res[0].exec(str); + if(!m) return null; + var si = m.index; + var sf = res[0].lastIndex; + res[1].lastIndex = res[0].lastIndex; + m = res[1].exec(str); + if(!m) return null; + var ei = m.index; + var ef = res[1].lastIndex; + return [str.slice(si, ef), str.slice(sf, ei)]; + }; +})(); + +/* str.match(/<(?:\w+:)?tag\b[^<>]*?>([\s\S]*?)<\/(?:\w+:)?tag>/g) --> str_match_xml_ns_g(str, "tag") */ +var str_match_xml_ns_g = (function() { + var str_match_xml_ns_cache = {}; + return function str_match_xml_ns(str, tag) { + var out = []; + var res = str_match_xml_ns_cache[tag]; + if(!res) str_match_xml_ns_cache[tag] = res = [ + new RegExp('<(?:\\w+:)?'+tag+'\\b[^<>]*>', "g"), + new RegExp('</(?:\\w+:)?'+tag+'>', "g") + ]; + res[0].lastIndex = res[1].lastIndex = 0; + var m; + while((m = res[0].exec(str))) { + var si = m.index; + res[1].lastIndex = res[0].lastIndex; + m = res[1].exec(str); + if(!m) return null; + var ef = res[1].lastIndex; + out.push(str.slice(si, ef)); + res[0].lastIndex = res[1].lastIndex; + } + return out.length == 0 ? null : out; + }; +})(); +var str_remove_xml_ns_g = (function() { + var str_remove_xml_ns_cache = {}; + return function str_remove_xml_ns_g(str, tag) { + var out = []; + var res = str_remove_xml_ns_cache[tag]; + if(!res) str_remove_xml_ns_cache[tag] = res = [ + new RegExp('<(?:\\w+:)?'+tag+'\\b[^<>]*>', "g"), + new RegExp('</(?:\\w+:)?'+tag+'>', "g") + ]; + res[0].lastIndex = res[1].lastIndex = 0; + var m; + var si = 0, ef = 0; + while((m = res[0].exec(str))) { + si = m.index; + out.push(str.slice(ef, si)); + ef = si; + res[1].lastIndex = res[0].lastIndex; + m = res[1].exec(str); + if(!m) return null; + ef = res[1].lastIndex; + res[0].lastIndex = res[1].lastIndex; + } + out.push(str.slice(ef)); + return out.length == 0 ? "" : out.join(""); + }; +})(); + +/* str.match(/<(?:\w+:)?tag\b[^>]*?>([\s\S]*?)<\/(?:\w+:)?tag>/gi) --> str_match_xml_ns_ig(str, "tag") */ +var str_match_xml_ig = (function() { + var str_match_xml_ns_cache = {}; + return function str_match_xml_ns(str, tag) { + var out = []; + var res = str_match_xml_ns_cache[tag]; + if(!res) str_match_xml_ns_cache[tag] = res = [ + new RegExp('<'+tag+'\\b[^<>]*>', "ig"), + new RegExp('</'+tag+'>', "ig") + ]; + res[0].lastIndex = res[1].lastIndex = 0; + var m; + while((m = res[0].exec(str))) { + var si = m.index; + res[1].lastIndex = res[0].lastIndex; + m = res[1].exec(str); + if(!m) return null; + var ef = res[1].lastIndex; + out.push(str.slice(si, ef)); + res[0].lastIndex = res[1].lastIndex; + } + return out.length == 0 ? null : out; + }; +})(); function getdatastr(data) { if(!data) return null; if(data.content && data.type) return cc2str(data.content, true); @@ -3609,8 +3769,8 @@ function resolve_path(path, base) { return result.join('/'); } var XML_HEADER = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r\n'; -var attregexg=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g; -var tagregex1=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/mg, tagregex2 = /<[^>]*>/g; +var attregexg=/\s([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g; +var tagregex1=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?<>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'"<>\s=]+))*\s*[\/\?]?>/mg, tagregex2 = /<[^<>]*>/g; var tagregex = XML_HEADER.match(tagregex1) ? tagregex1 : tagregex2; var nsregex=/<\w*:/, nsregex2 = /<(\/?)\w+:/; function parsexmltag(tag, skip_root, skip_LC) { @@ -3621,7 +3781,7 @@ function parsexmltag(tag, skip_root, skip_LC) { if(eq === tag.length) return z; var m = tag.match(attregexg), j=0, v="", i=0, q="", cc="", quot = 1; if(m) for(i = 0; i != m.length; ++i) { - cc = m[i]; + cc = m[i].slice(1); for(c=0; c != cc.length; ++c) if(cc.charCodeAt(c) === 61) break; q = cc.slice(0,c).trim(); while(cc.charCodeAt(c+1) == 32) ++c; @@ -3771,16 +3931,6 @@ var utf8write = has_buf ? function(data) { return Buffer_from(data, 'utf8').toSt return out.join(""); }; -// matches <foo>...</foo> extracts content -var matchtag = (function() { - var mtcache = ({}); - return function matchtag(f,g) { - var t = f+"|"+(g||""); - if(mtcache[t]) return mtcache[t]; - return (mtcache[t] = new RegExp('<(?:\\w+:)?'+f+'(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)</(?:\\w+:)?'+f+'>',((g||"")))); - }; -})(); - var htmldecode = (function() { var entities = [ ['nbsp', ' '], ['middot', '·'], @@ -3791,30 +3941,25 @@ var htmldecode = (function() { // Remove new lines and spaces from start of content .replace(/^[\t\n\r ]+/, "") // Remove new lines and spaces from end of content - .replace(/[\t\n\r ]+$/,"") + .replace(/(^|[^\t\n\r ])[\t\n\r ]+$/,"$1") // Added line which removes any white space characters after and before html tags - .replace(/>\s+/g,">").replace(/\s+</g,"<") + .replace(/>\s+/g,">").replace(/\b\s+</g,"<") // Replace remaining new lines and spaces with space .replace(/[\t\n\r ]+/g, " ") // Replace <br> tags with new lines .replace(/<\s*[bB][rR]\s*\/?>/g,"\n") // Strip HTML elements - .replace(/<[^>]*>/g,""); + .replace(/<[^<>]*>/g,""); for(var i = 0; i < entities.length; ++i) o = o.replace(entities[i][0], entities[i][1]); return o; }; })(); -var vtregex = (function(){ var vt_cache = {}; - return function vt_regex(bt) { - if(vt_cache[bt] !== undefined) return vt_cache[bt]; - return (vt_cache[bt] = new RegExp("<(?:vt:)?" + bt + ">([\\s\\S]*?)</(?:vt:)?" + bt + ">", 'g') ); -};})(); -var vtvregex = /<\/?(?:vt:)?variant>/g, vtmregex = /<(?:vt:)([^>]*)>([\s\S]*)</; +var vtvregex = /<\/?(?:vt:)?variant>/g, vtmregex = /<(?:vt:)([^<"'>]*)>([\s\S]*)</; function parseVector(data, opts) { var h = parsexmltag(data); - var matches = data.match(vtregex(h.baseType))||[]; + var matches = str_match_xml_ns_g(data, h.baseType)||[]; var res = []; if(matches.length != h.size) { if(opts.WTF) throw new Error("unexpected vector length " + matches.length + " != " + h.size); @@ -3855,9 +4000,8 @@ function xlml_normalize(d) { if(typeof Uint8Array !== 'undefined' && d instanceof Uint8Array) return utf8read(a2s(ab2a(d))); throw new Error("Bad input format: expected Buffer or string"); } -/* UOS uses CJK in tags */ -var xlmlregex = /<(\/?)([^\s?><!\/:]*:|)([^\s?<>:\/]+)(?:[\s?:\/](?:[^>=]|="[^"]*?")*)?>/mg; -//var xlmlregex = /<(\/?)([a-z0-9]*:|)(\w+)[^>]*>/mg; +/* UOS uses CJK in tags, ODS uses invalid XML */ +var xlmlregex = /<([\/]?)([^\s?><!\/:"]*:|)([^\s?<>:\/"]+)(?:\s+[^<>=?"'\s]+="[^"]*?")*\s*[\/]?>/mg; var XMLNS = ({ CORE_PROPS: 'http://schemas.openxmlformats.org/package/2006/metadata/core-properties', @@ -4388,22 +4532,24 @@ function sheet_add_aoa(_ws, data, opts) { var _origin = typeof o.origin == "string" ? decode_cell(o.origin) : o.origin; _R = _origin.r; _C = _origin.c; } - if(!ws["!ref"]) ws["!ref"] = "A1:A1"; } var range = ({s: {c:10000000, r:10000000}, e: {c:0, r:0}}); - if(ws['!ref']) { + if(ws["!ref"]){ var _range = safe_decode_range(ws['!ref']); range.s.c = _range.s.c; range.s.r = _range.s.r; range.e.c = Math.max(range.e.c, _range.e.c); range.e.r = Math.max(range.e.r, _range.e.r); - if(_R == -1) range.e.r = _R = _range.e.r + 1; + if(_R == -1) range.e.r = _R = (ws["!ref"] ? _range.e.r + 1 : 0); + } else { + range.s.c = range.e.c = range.s.r = range.e.r = 0; } - var row = []; + var row = [], seen = false; for(var R = 0; R != data.length; ++R) { if(!data[R]) continue; if(!Array.isArray(data[R])) throw new Error("aoa_to_sheet expects an array of arrays"); var __R = _R + R, __Rstr = "" + (__R + 1); + //console.log("!!", R, _R, __R); if(dense) { if(!ws["!data"][__R]) ws["!data"][__R] = []; row = ws["!data"][__R]; @@ -4416,6 +4562,7 @@ function sheet_add_aoa(_ws, data, opts) { if(range.s.c > __C) range.s.c = __C; if(range.e.r < __R) range.e.r = __R; if(range.e.c < __C) range.e.c = __C; + seen = true; if(data[R][C] && typeof data[R][C] === 'object' && !Array.isArray(data[R][C]) && !(data[R][C] instanceof Date)) cell = data[R][C]; else { if(Array.isArray(cell.v)) { cell.f = data[R][C][1]; cell.v = cell.v[0]; } @@ -4445,7 +4592,7 @@ function sheet_add_aoa(_ws, data, opts) { } } } - if(range.s.c < 10000000) ws['!ref'] = encode_range(range); + if(seen && range.s.c < 10400000) ws['!ref'] = encode_range(range); return ws; } function aoa_to_sheet(data, opts) { return sheet_add_aoa(null, data, opts); } @@ -4496,118 +4643,118 @@ var VT_CUSTOM = [VT_STRING, VT_USTR]; /* [MS-OSHARED] 2.3.3.2.2.1 Document Summary Information PIDDSI */ var DocSummaryPIDDSI = { -0x01: { n: 'CodePage', t: VT_I2 }, -0x02: { n: 'Category', t: VT_STRING }, -0x03: { n: 'PresentationFormat', t: VT_STRING }, -0x04: { n: 'ByteCount', t: VT_I4 }, -0x05: { n: 'LineCount', t: VT_I4 }, -0x06: { n: 'ParagraphCount', t: VT_I4 }, -0x07: { n: 'SlideCount', t: VT_I4 }, -0x08: { n: 'NoteCount', t: VT_I4 }, -0x09: { n: 'HiddenCount', t: VT_I4 }, -0x0a: { n: 'MultimediaClipCount', t: VT_I4 }, -0x0b: { n: 'ScaleCrop', t: VT_BOOL }, -0x0c: { n: 'HeadingPairs', t: VT_VECTOR_VARIANT /* VT_VECTOR | VT_VARIANT */ }, -0x0d: { n: 'TitlesOfParts', t: VT_VECTOR_LPSTR /* VT_VECTOR | VT_LPSTR */ }, -0x0e: { n: 'Manager', t: VT_STRING }, -0x0f: { n: 'Company', t: VT_STRING }, -0x10: { n: 'LinksUpToDate', t: VT_BOOL }, -0x11: { n: 'CharacterCount', t: VT_I4 }, -0x13: { n: 'SharedDoc', t: VT_BOOL }, -0x16: { n: 'HyperlinksChanged', t: VT_BOOL }, -0x17: { n: 'AppVersion', t: VT_I4, p: 'version' }, -0x18: { n: 'DigSig', t: VT_BLOB }, -0x1A: { n: 'ContentType', t: VT_STRING }, -0x1B: { n: 'ContentStatus', t: VT_STRING }, -0x1C: { n: 'Language', t: VT_STRING }, -0x1D: { n: 'Version', t: VT_STRING }, -0xFF: {}, + 0x01: { n: 'CodePage', t: VT_I2 }, + 0x02: { n: 'Category', t: VT_STRING }, + 0x03: { n: 'PresentationFormat', t: VT_STRING }, + 0x04: { n: 'ByteCount', t: VT_I4 }, + 0x05: { n: 'LineCount', t: VT_I4 }, + 0x06: { n: 'ParagraphCount', t: VT_I4 }, + 0x07: { n: 'SlideCount', t: VT_I4 }, + 0x08: { n: 'NoteCount', t: VT_I4 }, + 0x09: { n: 'HiddenCount', t: VT_I4 }, + 0x0a: { n: 'MultimediaClipCount', t: VT_I4 }, + 0x0b: { n: 'ScaleCrop', t: VT_BOOL }, + 0x0c: { n: 'HeadingPairs', t: VT_VECTOR_VARIANT /* VT_VECTOR | VT_VARIANT */ }, + 0x0d: { n: 'TitlesOfParts', t: VT_VECTOR_LPSTR /* VT_VECTOR | VT_LPSTR */ }, + 0x0e: { n: 'Manager', t: VT_STRING }, + 0x0f: { n: 'Company', t: VT_STRING }, + 0x10: { n: 'LinksUpToDate', t: VT_BOOL }, + 0x11: { n: 'CharacterCount', t: VT_I4 }, + 0x13: { n: 'SharedDoc', t: VT_BOOL }, + 0x16: { n: 'HyperlinksChanged', t: VT_BOOL }, + 0x17: { n: 'AppVersion', t: VT_I4, p: 'version' }, + 0x18: { n: 'DigSig', t: VT_BLOB }, + 0x1A: { n: 'ContentType', t: VT_STRING }, + 0x1B: { n: 'ContentStatus', t: VT_STRING }, + 0x1C: { n: 'Language', t: VT_STRING }, + 0x1D: { n: 'Version', t: VT_STRING }, + 0xFF: {}, /* [MS-OLEPS] 2.18 */ -0x80000000: { n: 'Locale', t: VT_UI4 }, -0x80000003: { n: 'Behavior', t: VT_UI4 }, -0x72627262: {} + 0x80000000: { n: 'Locale', t: VT_UI4 }, + 0x80000003: { n: 'Behavior', t: VT_UI4 }, + 0x72627262: {} }; /* [MS-OSHARED] 2.3.3.2.1.1 Summary Information Property Set PIDSI */ var SummaryPIDSI = { -0x01: { n: 'CodePage', t: VT_I2 }, -0x02: { n: 'Title', t: VT_STRING }, -0x03: { n: 'Subject', t: VT_STRING }, -0x04: { n: 'Author', t: VT_STRING }, -0x05: { n: 'Keywords', t: VT_STRING }, -0x06: { n: 'Comments', t: VT_STRING }, -0x07: { n: 'Template', t: VT_STRING }, -0x08: { n: 'LastAuthor', t: VT_STRING }, -0x09: { n: 'RevNumber', t: VT_STRING }, -0x0A: { n: 'EditTime', t: VT_FILETIME }, -0x0B: { n: 'LastPrinted', t: VT_FILETIME }, -0x0C: { n: 'CreatedDate', t: VT_FILETIME }, -0x0D: { n: 'ModifiedDate', t: VT_FILETIME }, -0x0E: { n: 'PageCount', t: VT_I4 }, -0x0F: { n: 'WordCount', t: VT_I4 }, -0x10: { n: 'CharCount', t: VT_I4 }, -0x11: { n: 'Thumbnail', t: VT_CF }, -0x12: { n: 'Application', t: VT_STRING }, -0x13: { n: 'DocSecurity', t: VT_I4 }, -0xFF: {}, + 0x01: { n: 'CodePage', t: VT_I2 }, + 0x02: { n: 'Title', t: VT_STRING }, + 0x03: { n: 'Subject', t: VT_STRING }, + 0x04: { n: 'Author', t: VT_STRING }, + 0x05: { n: 'Keywords', t: VT_STRING }, + 0x06: { n: 'Comments', t: VT_STRING }, + 0x07: { n: 'Template', t: VT_STRING }, + 0x08: { n: 'LastAuthor', t: VT_STRING }, + 0x09: { n: 'RevNumber', t: VT_STRING }, + 0x0A: { n: 'EditTime', t: VT_FILETIME }, + 0x0B: { n: 'LastPrinted', t: VT_FILETIME }, + 0x0C: { n: 'CreatedDate', t: VT_FILETIME }, + 0x0D: { n: 'ModifiedDate', t: VT_FILETIME }, + 0x0E: { n: 'PageCount', t: VT_I4 }, + 0x0F: { n: 'WordCount', t: VT_I4 }, + 0x10: { n: 'CharCount', t: VT_I4 }, + 0x11: { n: 'Thumbnail', t: VT_CF }, + 0x12: { n: 'Application', t: VT_STRING }, + 0x13: { n: 'DocSecurity', t: VT_I4 }, + 0xFF: {}, /* [MS-OLEPS] 2.18 */ -0x80000000: { n: 'Locale', t: VT_UI4 }, -0x80000003: { n: 'Behavior', t: VT_UI4 }, -0x72627262: {} + 0x80000000: { n: 'Locale', t: VT_UI4 }, + 0x80000003: { n: 'Behavior', t: VT_UI4 }, + 0x72627262: {} }; /* [MS-XLS] 2.4.63 Country/Region codes */ var CountryEnum = { -0x0001: "US", // United States -0x0002: "CA", // Canada -0x0003: "", // Latin America (except Brazil) -0x0007: "RU", // Russia -0x0014: "EG", // Egypt -0x001E: "GR", // Greece -0x001F: "NL", // Netherlands -0x0020: "BE", // Belgium -0x0021: "FR", // France -0x0022: "ES", // Spain -0x0024: "HU", // Hungary -0x0027: "IT", // Italy -0x0029: "CH", // Switzerland -0x002B: "AT", // Austria -0x002C: "GB", // United Kingdom -0x002D: "DK", // Denmark -0x002E: "SE", // Sweden -0x002F: "NO", // Norway -0x0030: "PL", // Poland -0x0031: "DE", // Germany -0x0034: "MX", // Mexico -0x0037: "BR", // Brazil -0x003d: "AU", // Australia -0x0040: "NZ", // New Zealand -0x0042: "TH", // Thailand -0x0051: "JP", // Japan -0x0052: "KR", // Korea -0x0054: "VN", // Viet Nam -0x0056: "CN", // China -0x005A: "TR", // Turkey -0x0069: "JS", // Ramastan -0x00D5: "DZ", // Algeria -0x00D8: "MA", // Morocco -0x00DA: "LY", // Libya -0x015F: "PT", // Portugal -0x0162: "IS", // Iceland -0x0166: "FI", // Finland -0x01A4: "CZ", // Czech Republic -0x0376: "TW", // Taiwan -0x03C1: "LB", // Lebanon -0x03C2: "JO", // Jordan -0x03C3: "SY", // Syria -0x03C4: "IQ", // Iraq -0x03C5: "KW", // Kuwait -0x03C6: "SA", // Saudi Arabia -0x03CB: "AE", // United Arab Emirates -0x03CC: "IL", // Israel -0x03CE: "QA", // Qatar -0x03D5: "IR", // Iran -0xFFFF: "US" // United States + 0x0001: "US", // United States + 0x0002: "CA", // Canada + 0x0003: "", // Latin America (except Brazil) + 0x0007: "RU", // Russia + 0x0014: "EG", // Egypt + 0x001E: "GR", // Greece + 0x001F: "NL", // Netherlands + 0x0020: "BE", // Belgium + 0x0021: "FR", // France + 0x0022: "ES", // Spain + 0x0024: "HU", // Hungary + 0x0027: "IT", // Italy + 0x0029: "CH", // Switzerland + 0x002B: "AT", // Austria + 0x002C: "GB", // United Kingdom + 0x002D: "DK", // Denmark + 0x002E: "SE", // Sweden + 0x002F: "NO", // Norway + 0x0030: "PL", // Poland + 0x0031: "DE", // Germany + 0x0034: "MX", // Mexico + 0x0037: "BR", // Brazil + 0x003d: "AU", // Australia + 0x0040: "NZ", // New Zealand + 0x0042: "TH", // Thailand + 0x0051: "JP", // Japan + 0x0052: "KR", // Korea + 0x0054: "VN", // Viet Nam + 0x0056: "CN", // China + 0x005A: "TR", // Turkey + 0x0069: "JS", // Ramastan + 0x00D5: "DZ", // Algeria + 0x00D8: "MA", // Morocco + 0x00DA: "LY", // Libya + 0x015F: "PT", // Portugal + 0x0162: "IS", // Iceland + 0x0166: "FI", // Finland + 0x01A4: "CZ", // Czech Republic + 0x0376: "TW", // Taiwan + 0x03C1: "LB", // Lebanon + 0x03C2: "JO", // Jordan + 0x03C3: "SY", // Syria + 0x03C4: "IQ", // Iraq + 0x03C5: "KW", // Kuwait + 0x03C6: "SA", // Saudi Arabia + 0x03CB: "AE", // United Arab Emirates + 0x03CC: "IL", // Israel + 0x03CE: "QA", // Qatar + 0x03D5: "IR", // Iran + 0xFFFF: "US" // United States }; /* [MS-XLS] 2.5.127 */ @@ -4733,15 +4880,15 @@ var XLSIcv = dup(_XLSIcv); /* [MS-XLSB] 2.5.97.2 */ var BErr = { -0x00: "#NULL!", -0x07: "#DIV/0!", -0x0F: "#VALUE!", -0x17: "#REF!", -0x1D: "#NAME?", -0x24: "#NUM!", -0x2A: "#N/A", -0x2B: "#GETTING_DATA", -0xFF: "#WTF?" + 0x00: "#NULL!", + 0x07: "#DIV/0!", + 0x0F: "#VALUE!", + 0x17: "#REF!", + 0x1D: "#NAME?", + 0x24: "#NUM!", + 0x2A: "#N/A", + 0x2B: "#GETTING_DATA", + 0xFF: "#WTF?" }; //var RBErr = evert_num(BErr); var RBErr = { @@ -5279,22 +5426,12 @@ var CORE_PROPS = [ ["dcterms:modified", "ModifiedDate", 'date'] ]; -var CORE_PROPS_REGEX = (function() { - var r = new Array(CORE_PROPS.length); - for(var i = 0; i < CORE_PROPS.length; ++i) { - var f = CORE_PROPS[i]; - var g = "(?:"+ f[0].slice(0,f[0].indexOf(":")) +":)"+ f[0].slice(f[0].indexOf(":")+1); - r[i] = new RegExp("<" + g + "[^>]*>([\\s\\S]*?)<\/" + g + ">"); - } - return r; -})(); - function parse_core_props(data) { var p = {}; data = utf8read(data); for(var i = 0; i < CORE_PROPS.length; ++i) { - var f = CORE_PROPS[i], cur = data.match(CORE_PROPS_REGEX[i]); + var f = CORE_PROPS[i], cur = str_match_xml(data, f[0]); if(cur != null && cur.length > 0) p[f[1]] = unescapexml(cur[1]); if(f[2] === 'date' && p[f[1]]) p[f[1]] = parseDate(p[f[1]]); } @@ -5410,12 +5547,12 @@ function parse_ext_props(data, p, opts) { data = utf8read(data); EXT_PROPS.forEach(function(f) { - var xml = (data.match(matchtag(f[0]))||[])[1]; + var xml = (str_match_xml_ns(data, f[0])||[])[1]; switch(f[2]) { case "string": if(xml) p[f[1]] = unescapexml(xml); break; case "bool": p[f[1]] = xml === "true"; break; case "raw": - var cur = data.match(new RegExp("<" + f[0] + "[^>]*>([\\s\\S]*?)<\/" + f[0] + ">")); + var cur = str_match_xml(data, f[0]); if(cur && cur.length > 0) q[f[1]] = cur[1]; break; } @@ -5453,7 +5590,7 @@ function write_ext_props(cp) { return o.join(""); } /* 15.2.12.2 Custom File Properties Part */ -var custregex = /<[^>]+>[^<]*/g; +var custregex = /<[^<>]+>[^<]*/g; function parse_cust_props(data, opts) { var p = {}, name = ""; var m = data.match(custregex); @@ -5519,60 +5656,60 @@ var DBF_SUPPORTED_VERSIONS = [0x02, 0x03, 0x30, 0x31, 0x83, 0x8B, 0x8C, 0xF5]; var DBF = (function() { var dbf_codepage_map = { /* Code Pages Supported by Visual FoxPro */ -0x01: 437, 0x02: 850, -0x03: 1252, 0x04: 10000, -0x64: 852, 0x65: 866, -0x66: 865, 0x67: 861, -0x68: 895, 0x69: 620, -0x6A: 737, 0x6B: 857, -0x78: 950, 0x79: 949, -0x7A: 936, 0x7B: 932, -0x7C: 874, 0x7D: 1255, -0x7E: 1256, 0x96: 10007, -0x97: 10029, 0x98: 10006, -0xC8: 1250, 0xC9: 1251, -0xCA: 1254, 0xCB: 1253, + 0x01: 437, 0x02: 850, + 0x03: 1252, 0x04: 10000, + 0x64: 852, 0x65: 866, + 0x66: 865, 0x67: 861, + 0x68: 895, 0x69: 620, + 0x6A: 737, 0x6B: 857, + 0x78: 950, 0x79: 949, + 0x7A: 936, 0x7B: 932, + 0x7C: 874, 0x7D: 1255, + 0x7E: 1256, 0x96: 10007, + 0x97: 10029, 0x98: 10006, + 0xC8: 1250, 0xC9: 1251, + 0xCA: 1254, 0xCB: 1253, /* shapefile DBF extension */ -0x00: 20127, 0x08: 865, -0x09: 437, 0x0A: 850, -0x0B: 437, 0x0D: 437, -0x0E: 850, 0x0F: 437, -0x10: 850, 0x11: 437, -0x12: 850, 0x13: 932, -0x14: 850, 0x15: 437, -0x16: 850, 0x17: 865, -0x18: 437, 0x19: 437, -0x1A: 850, 0x1B: 437, -0x1C: 863, 0x1D: 850, -0x1F: 852, 0x22: 852, -0x23: 852, 0x24: 860, -0x25: 850, 0x26: 866, -0x37: 850, 0x40: 852, -0x4D: 936, 0x4E: 949, -0x4F: 950, 0x50: 874, -0x57: 1252, 0x58: 1252, -0x59: 1252, 0x6C: 863, -0x86: 737, 0x87: 852, -0x88: 857, 0xCC: 1257, + 0x00: 20127, 0x08: 865, + 0x09: 437, 0x0A: 850, + 0x0B: 437, 0x0D: 437, + 0x0E: 850, 0x0F: 437, + 0x10: 850, 0x11: 437, + 0x12: 850, 0x13: 932, + 0x14: 850, 0x15: 437, + 0x16: 850, 0x17: 865, + 0x18: 437, 0x19: 437, + 0x1A: 850, 0x1B: 437, + 0x1C: 863, 0x1D: 850, + 0x1F: 852, 0x22: 852, + 0x23: 852, 0x24: 860, + 0x25: 850, 0x26: 866, + 0x37: 850, 0x40: 852, + 0x4D: 936, 0x4E: 949, + 0x4F: 950, 0x50: 874, + 0x57: 1252, 0x58: 1252, + 0x59: 1252, 0x6C: 863, + 0x86: 737, 0x87: 852, + 0x88: 857, 0xCC: 1257, -0xFF: 16969 + 0xFF: 16969 }; var dbf_reverse_map = evert({ -0x01: 437, 0x02: 850, -0x03: 1252, 0x04: 10000, -0x64: 852, 0x65: 866, -0x66: 865, 0x67: 861, -0x68: 895, 0x69: 620, -0x6A: 737, 0x6B: 857, -0x78: 950, 0x79: 949, -0x7A: 936, 0x7B: 932, -0x7C: 874, 0x7D: 1255, -0x7E: 1256, 0x96: 10007, -0x97: 10029, 0x98: 10006, -0xC8: 1250, 0xC9: 1251, -0xCA: 1254, 0xCB: 1253, -0x00: 20127 + 0x01: 437, 0x02: 850, + 0x03: 1252, 0x04: 10000, + 0x64: 852, 0x65: 866, + 0x66: 865, 0x67: 861, + 0x68: 895, 0x69: 620, + 0x6A: 737, 0x6B: 857, + 0x78: 950, 0x79: 949, + 0x7A: 936, 0x7B: 932, + 0x7C: 874, 0x7D: 1255, + 0x7E: 1256, 0x96: 10007, + 0x97: 10029, 0x98: 10006, + 0xC8: 1250, 0xC9: 1251, + 0xCA: 1254, 0xCB: 1253, + 0x00: 20127 }); /* TODO: find an actual specification */ function dbf_to_aoa(buf, opts) { @@ -5634,7 +5771,7 @@ var fields = [], field = ({}); var ww = l7 ? 32 : 11; while(d.l < hend && d[d.l] != 0x0d) { field = ({}); - field.name = (typeof $cptable !== "undefined" ? $cptable.utils.decode(current_cp, d.slice(d.l, d.l+ww)) : a2s(d.slice(d.l, d.l + ww))).replace(/[\u0000\r\n].*$/g,""); + field.name = (typeof $cptable !== "undefined" ? $cptable.utils.decode(current_cp, d.slice(d.l, d.l+ww)) : a2s(d.slice(d.l, d.l + ww))).replace(/[\u0000\r\n][\S\s]*$/g,""); d.l += ww; field.type = String.fromCharCode(d.read_shift(1)); if(ft != 0x02 && !l7) field.offset = d.read_shift(4); @@ -5692,7 +5829,7 @@ var fields = [], field = ({}); switch(fields[C].type) { case 'C': // NOTE: it is conventional to write ' / / ' for empty dates - if(s.trim().length) out[R][C] = s.replace(/\s+$/,""); + if(s.trim().length) out[R][C] = s.replace(/([^\s])\s+$/,"$1"); break; case 'D': if(s.length === 8) { @@ -5920,9 +6057,9 @@ var SYLK = (function() { KC:'Ç', Kc:'ç', q:'æ', z:'œ', a:'Æ', j:'Œ', DN:209, Dn:241, Hy:255, S:169, c:170, R:174, "B ":180, -0:176, 1:177, 2:178, -3:179, 5:181, 6:182, -7:183, Q:185, k:186, b:208, i:216, l:222, s:240, y:248, + 0:176, 1:177, 2:178, + 3:179, 5:181, 6:182, + 7:183, Q:185, k:186, b:208, i:216, l:222, s:240, y:248, "!":161, '"':162, "#":163, "(":164, "%":165, "'":167, "H ":168, "+":171, ";":187, "<":188, "=":189, ">":190, "?":191, "{":223 }); @@ -5999,6 +6136,7 @@ var SYLK = (function() { val = record[rj].slice(1); if(val.charAt(0) === '"') { val = val.slice(1,val.length - 1); cell_t = "s"; } else if(val === 'TRUE' || val === 'FALSE') { val = val === 'TRUE'; cell_t = "b"; } + else if(val.charAt(0) == "#" && RBErr[val] != null) { cell_t = "e"; val = RBErr[val]; } else if(!isNaN(fuzzynum(val))) { val = fuzzynum(val); cell_t = "n"; if(next_cell_format !== null && fmt_is_date(next_cell_format) && opts.cellDates) { @@ -6111,7 +6249,7 @@ var SYLK = (function() { o += (cell.v||0); if(cell.f && !cell.F) o += ";E" + a1_to_rc(cell.f, {r:R, c:C}); break; case 'b': o += cell.v ? "TRUE" : "FALSE"; break; - case 'e': o += cell.w || cell.v; break; + case 'e': o += cell.w || BErr[cell.v] || cell.v; break; case 'd': o += datenum(parseDate(cell.v, date1904), date1904); break; case 's': o += '"' + (cell.v == null ? "" : String(cell.v)).replace(/"/g,"").replace(/;/g, ";;") + '"'; break; } @@ -6456,18 +6594,18 @@ var PRN = (function() { // List of accepted CSV separators var guess_seps = { -0x2C: ',', -0x09: "\t", -0x3B: ';', -0x7C: '|' + 0x2C: ',', + 0x09: "\t", + 0x3B: ';', + 0x7C: '|' }; // CSV separator weights to be used in case of equal numbers var guess_sep_weights = { -0x2C: 3, -0x09: 2, -0x3B: 1, -0x7C: 0 + 0x2C: 3, + 0x09: 2, + 0x3B: 1, + 0x7C: 0 }; function guess_sep(str) { @@ -6636,7 +6774,7 @@ function read_wb_ID(d, opts) { return out; } catch(e) { o.WTF = OLD_WTF; - if(!e.message.match(/SYLK bad record ID/) && OLD_WTF) throw e; + if((e.message.indexOf("SYLK bad record ID") == -1) && OLD_WTF) throw e; return PRN.to_workbook(d, opts); } } @@ -6647,7 +6785,7 @@ function parse_rpr(rpr) { var pass = false; if(m) for(;i!=m.length; ++i) { var y = parsexmltag(m[i]); - switch(y[0].replace(/\w*:/g,"")) { + switch(y[0].replace(/<\w*:/g,"<")) { /* 18.8.12 condense CT_BooleanProperty */ /* ** not required . */ case '<condense': break; @@ -6750,15 +6888,14 @@ function parse_rpr(rpr) { } var parse_rs = (function() { - var tregex = matchtag("t"), rpregex = matchtag("rPr"); /* 18.4.4 r CT_RElt */ function parse_r(r) { /* 18.4.12 t ST_Xstring */ - var t = r.match(tregex)/*, cp = 65001*/; + var t = str_match_xml_ns(r, "t")/*, cp = 65001*/; if(!t) return {t:"s", v:""}; var o = ({t:'s', v:unescapexml(t[1])}); - var rpr = r.match(rpregex); + var rpr = str_match_xml_ns(r, "rPr"); if(rpr) o.s = parse_rpr(rpr[1]); return o; } @@ -6811,8 +6948,7 @@ var rs_to_html = (function parse_rs_factory() { })(); /* 18.4.8 si CT_Rst */ -var sitregex = /<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g, sirregex = /<(?:\w+:)?r\b[^>]*>/; -var sirphregex = /<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g; +var sitregex = /<(?:\w+:)?t\b[^<>]*>([^<]*)<\/(?:\w+:)?t>/g, sirregex = /<(?:\w+:)?r\b[^<>]*>/; function parse_si(x, opts) { var html = opts ? opts.cellHTML : true; var z = {}; @@ -6828,7 +6964,7 @@ function parse_si(x, opts) { /* 18.4.4 r CT_RElt (Rich Text Run) */ else if((/*y = */x.match(sirregex))) { z.r = utf8read(x); - z.t = unescapexml(utf8read((x.replace(sirphregex, '').match(sitregex)||[]).join("").replace(tagregex,"")), true); + z.t = unescapexml(utf8read((str_remove_xml_ns_g(x, "rPh").match(sitregex)||[]).join("").replace(tagregex,"")), true); if(html) z.h = rs_to_html(parse_rs(z.r)); } /* 18.4.3 phoneticPr CT_PhoneticPr (TODO: needed for Asian support) */ @@ -6837,21 +6973,20 @@ function parse_si(x, opts) { } /* 18.4 Shared String Table */ -var sstr0 = /<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/; var sstr1 = /<(?:\w+:)?(?:si|sstItem)>/g; var sstr2 = /<\/(?:\w+:)?(?:si|sstItem)>/; function parse_sst_xml(data, opts) { var s = ([]), ss = ""; if(!data) return s; /* 18.4.9 sst CT_Sst */ - var sst = data.match(sstr0); + var sst = str_match_xml_ns(data, "sst"); if(sst) { - ss = sst[2].replace(sstr1,"").split(sstr2); + ss = sst[1].replace(sstr1,"").split(sstr2); for(var i = 0; i != ss.length; ++i) { var o = parse_si(ss[i].trim(), opts); if(o != null) s[s.length] = o; } - sst = parsexmltag(sst[1]); s.Count = sst.count; s.Unique = sst.uniqueCount; + sst = parsexmltag(sst[0].slice(0, sst[0].indexOf(">"))); s.Count = sst.count; s.Unique = sst.uniqueCount; } return s; } @@ -7005,7 +7140,7 @@ function parse_borders(t, styles, themes, opts) { styles.Borders = []; var border = {}; var pass = false; - (t[0].match(tagregex)||[]).forEach(function(x) { + (t.match(tagregex)||[]).forEach(function(x) { var y = parsexmltag(x); switch(strip_ns(y[0])) { case '<borders': case '<borders>': case '</borders>': break; @@ -7080,7 +7215,7 @@ function parse_fills(t, styles, themes, opts) { styles.Fills = []; var fill = {}; var pass = false; - (t[0].match(tagregex)||[]).forEach(function(x) { + (t.match(tagregex)||[]).forEach(function(x) { var y = parsexmltag(x); switch(strip_ns(y[0])) { case '<fills': case '<fills>': case '</fills>': break; @@ -7146,7 +7281,7 @@ function parse_fonts(t, styles, themes, opts) { styles.Fonts = []; var font = {}; var pass = false; - (t[0].match(tagregex)||[]).forEach(function(x) { + (t.match(tagregex)||[]).forEach(function(x) { var y = parsexmltag(x); switch(strip_ns(y[0])) { case '<fonts': case '<fonts>': case '</fonts>': break; @@ -7266,7 +7401,7 @@ function parse_numFmts(t, styles, opts) { styles.NumberFmt = []; var k/*Array<number>*/ = (keys(table_fmt)); for(var i=0; i < k.length; ++i) styles.NumberFmt[k[i]] = table_fmt[k[i]]; - var m = t[0].match(tagregex); + var m = t.match(tagregex); if(!m) return; for(i=0; i < m.length; ++i) { var y = parsexmltag(m[i]); @@ -7307,7 +7442,7 @@ function parse_cellXfs(t, styles, opts) { styles.CellXf = []; var xf; var pass = false; - (t[0].match(tagregex)||[]).forEach(function(x) { + (t.match(tagregex)||[]).forEach(function(x) { var y = parsexmltag(x), i = 0; switch(strip_ns(y[0])) { case '<cellXfs': case '<cellXfs>': case '<cellXfs/>': case '</cellXfs>': break; @@ -7372,36 +7507,31 @@ function write_cellXfs(cellXfs) { /* 18.8 Styles CT_Stylesheet*/ var parse_sty_xml= (function make_pstyx() { -var numFmtRegex = /<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/; -var cellXfRegex = /<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/; -var fillsRegex = /<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/; -var fontsRegex = /<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/; -var bordersRegex = /<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/; return function parse_sty_xml(data, themes, opts) { var styles = {}; if(!data) return styles; - data = data.replace(/<!--([\s\S]*?)-->/mg,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,""); + data = remove_doctype(str_remove_ng(data, "<!--", "-->")); /* 18.8.39 styleSheet CT_Stylesheet */ var t; /* 18.8.31 numFmts CT_NumFmts ? */ - if((t=data.match(numFmtRegex))) parse_numFmts(t, styles, opts); + if((t=str_match_xml_ns(data, "numFmts"))) parse_numFmts(t[0], styles, opts); /* 18.8.23 fonts CT_Fonts ? */ - if((t=data.match(fontsRegex))) parse_fonts(t, styles, themes, opts); + if((t=str_match_xml_ns(data, "fonts"))) parse_fonts(t[0], styles, themes, opts); /* 18.8.21 fills CT_Fills ? */ - if((t=data.match(fillsRegex))) parse_fills(t, styles, themes, opts); + if((t=str_match_xml_ns(data, "fills"))) parse_fills(t[0], styles, themes, opts); /* 18.8.5 borders CT_Borders ? */ - if((t=data.match(bordersRegex))) parse_borders(t, styles, themes, opts); + if((t=str_match_xml_ns(data, "borders"))) parse_borders(t[0], styles, themes, opts); /* 18.8.9 cellStyleXfs CT_CellStyleXfs ? */ /* 18.8.8 cellStyles CT_CellStyles ? */ /* 18.8.10 cellXfs CT_CellXfs ? */ - if((t=data.match(cellXfRegex))) parse_cellXfs(t, styles, opts); + if((t=str_match_xml_ns(data, "cellXfs"))) parse_cellXfs(t[0], styles, opts); /* 18.8.15 dxfs CT_Dxfs ? */ /* 18.8.42 tableStyles CT_TableStyles ? */ @@ -7450,10 +7580,12 @@ function parse_clrScheme(t, themes, opts) { /* 20.1.2.3.32 srgbClr CT_SRgbColor */ case '<a:srgbClr': color.rgb = y.val; break; + case '</a:srgbClr>': break; /* 20.1.2.3.33 sysClr CT_SystemColor */ case '<a:sysClr': color.rgb = y.lastClr; break; + case '</a:sysClr>': break; /* 20.1.4.1.1 accent1 (Accent 1) */ /* 20.1.4.1.2 accent2 (Accent 2) */ @@ -7467,8 +7599,10 @@ function parse_clrScheme(t, themes, opts) { /* 20.1.4.1.19 hlink (Hyperlink) */ /* 20.1.4.1.22 lt1 (Light 1) */ /* 20.1.4.1.23 lt2 (Light 2) */ - case '<a:dk1>': case '</a:dk1>': - case '<a:lt1>': case '</a:lt1>': + case '</a:dk1>': + case '</a:lt1>': + case '<a:dk1>': + case '<a:lt1>': case '<a:dk2>': case '</a:dk2>': case '<a:lt2>': case '</a:lt2>': case '<a:accent1>': case '</a:accent1>': @@ -7498,30 +7632,24 @@ function parse_fontScheme() { } /* 20.1.4.1.15 fmtScheme CT_StyleMatrix */ function parse_fmtScheme() { } -var clrsregex = /<a:clrScheme([^>]*)>[\s\S]*<\/a:clrScheme>/; -var fntsregex = /<a:fontScheme([^>]*)>[\s\S]*<\/a:fontScheme>/; -var fmtsregex = /<a:fmtScheme([^>]*)>[\s\S]*<\/a:fmtScheme>/; - /* 20.1.6.10 themeElements CT_BaseStyles */ function parse_themeElements(data, themes, opts) { themes.themeElements = {}; var t; - [ - /* clrScheme CT_ColorScheme */ - ['clrScheme', clrsregex, parse_clrScheme], - /* fontScheme CT_FontScheme */ - ['fontScheme', fntsregex, parse_fontScheme], - /* fmtScheme CT_StyleMatrix */ - ['fmtScheme', fmtsregex, parse_fmtScheme] - ].forEach(function(m) { - if(!(t=data.match(m[1]))) throw new Error(m[0] + ' not found in themeElements'); - m[2](t, themes, opts); - }); -} + /* clrScheme CT_ColorScheme */ + if(!(t=str_match_xml(data, "a:clrScheme"))) throw new Error('clrScheme not found in themeElements'); + parse_clrScheme(t, themes, opts); -var themeltregex = /<a:themeElements([^>]*)>[\s\S]*<\/a:themeElements>/; + /* fontScheme CT_FontScheme */ + if(!(t=str_match_xml(data, "a:fontScheme"))) throw new Error('fontScheme not found in themeElements'); + parse_fontScheme(t, themes, opts); + + /* fmtScheme CT_StyleMatrix */ + if(!(t=str_match_xml(data, "a:fmtScheme"))) throw new Error('fmtScheme not found in themeElements'); + parse_fmtScheme(t, themes, opts); +} /* 14.2.7 Theme Part */ function parse_theme_xml(data, opts) { @@ -7532,7 +7660,7 @@ function parse_theme_xml(data, opts) { var themes = {}; /* themeElements CT_BaseStyles */ - if(!(t=data.match(themeltregex))) throw new Error('themeElements not found in theme'); + if(!(t=str_match_xml(data, "a:themeElements"))) throw new Error('themeElements not found in theme'); parse_themeElements(t[0], themes, opts); themes.raw = data; return themes; @@ -7859,16 +7987,15 @@ function parse_drawing(data, rels) { the actual type is based on the URI of the graphicData TODO: handle embedded charts and other types of graphics */ - var id = (data.match(/<c:chart [^>]*r:id="([^"]*)"/)||["",""])[1]; + var id = (data.match(/<c:chart [^<>]*r:id="([^<>"]*)"/)||["",""])[1]; return rels['!id'][id].Target; } /* L.5.5.2 SpreadsheetML Comments + VML Schema */ -var shapevmlregex = /<(?:\w+:)?shape(?:[^\w][^>]*)?>([\s\S]*?)<\/(?:\w+:)?shape>/g; function parse_vml(data, sheet, comments) { var cidx = 0; - (data.match(shapevmlregex)||[]).forEach(function(m) { + (str_match_xml_ns_g(data, "shape")||[]).forEach(function(m) { var type = ""; var hidden = true; var aidx = -1; @@ -8003,22 +8130,22 @@ function parse_comments_xml(data, opts) { if(data.match(/<(?:\w+:)?comments *\/>/)) return []; var authors = []; var commentList = []; - var authtag = data.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/); + var authtag = str_match_xml_ns(data, "authors"); if(authtag && authtag[1]) authtag[1].split(/<\/\w*:?author>/).forEach(function(x) { if(x === "" || x.trim() === "") return; - var a = x.match(/<(?:\w+:)?author[^>]*>(.*)/); + var a = x.match(/<(?:\w+:)?author[^<>]*>(.*)/); if(a) authors.push(a[1]); }); - var cmnttag = data.match(/<(?:\w+:)?commentList>([\s\S]*)<\/(?:\w+:)?commentList>/); + var cmnttag = str_match_xml_ns(data, "commentList"); if(cmnttag && cmnttag[1]) cmnttag[1].split(/<\/\w*:?comment>/).forEach(function(x) { if(x === "" || x.trim() === "") return; - var cm = x.match(/<(?:\w+:)?comment[^>]*>/); + var cm = x.match(/<(?:\w+:)?comment[^<>]*>/); if(!cm) return; var y = parsexmltag(cm[0]); var comment = ({ author: y.authorId && authors[y.authorId] || "sheetjsghost", ref: y.ref, guid: y.guid }); var cell = decode_cell(y.ref); if(opts.sheetRows && opts.sheetRows <= cell.r) return; - var textMatch = x.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/); + var textMatch = str_match_xml_ns(x, "text"); var rt = !!textMatch && !!textMatch[1] && parse_si(textMatch[1]) || {r:"",t:"",h:""}; comment.r = rt.r; if(rt.r == "<t></t>") rt.t = rt.h = ""; @@ -8198,7 +8325,7 @@ function fill_vba_xls(cfb, vba) { vba.FullPaths.forEach(function(p, i) { if (i == 0) return; - var newpath = p.replace(/[^\/]*[\/]/, "/_VBA_PROJECT_CUR/"); + var newpath = p.replace(/^[\/]*[^\/]*[\/]/, "/_VBA_PROJECT_CUR/"); if (newpath.slice(-1) !== "/") CFB.utils.cfb_add(cfb, newpath, vba.FileIndex[i].content); }); @@ -8440,16 +8567,13 @@ function parse_ws_xml_dim(ws, s) { var d = safe_decode_range(s); if(d.s.r<=d.e.r && d.s.c<=d.e.c && d.s.r>=0 && d.s.c>=0) ws["!ref"] = encode_range(d); } -var mergecregex = /<(?:\w:)?mergeCell ref=["'][A-Z0-9:]+['"]\s*[\/]?>/g; -var sheetdataregex = /<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/; -var hlinkregex = /<(?:\w:)?hyperlink [^>]*>/mg; +var mergecregex = /<(?:\w+:)?mergeCell ref=["'][A-Z0-9:]+['"]\s*[\/]?>/g; +var hlinkregex = /<(?:\w+:)?hyperlink [^<>]*>/mg; var dimregex = /"(\w*:\w*)"/; -var colregex = /<(?:\w:)?col\b[^>]*[\/]?>/g; -var afregex = /<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g; -var marginregex= /<(?:\w:)?pageMargins[^>]*\/>/g; -var sheetprregex = /<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/; -var sheetprregex2= /<(?:\w:)?sheetPr[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetPr)>/; -var svsregex = /<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/; +var colregex = /<(?:\w+:)?col\b[^<>]*[\/]?>/g; +var afregex = /<(?:\w+:)?autoFilter[^>]*/g; +var marginregex= /<(?:\w+:)?pageMargins[^<>]*\/>/g; +var sheetprregex = /<(?:\w+:)?sheetPr\b[^<>]*?\/>/; /* 18.3 Worksheets */ function parse_ws_xml(data, opts, idx, rels, wb, themes, styles) { @@ -8462,7 +8586,7 @@ function parse_ws_xml(data, opts, idx, rels, wb, themes, styles) { var refguess = ({s: {r:2000000, c:2000000}, e: {r:0, c:0} }); var data1 = "", data2 = ""; - var mtch = data.match(sheetdataregex); + var mtch = str_match_xml_ns(data, "sheetData"); if(mtch) { data1 = data.slice(0, mtch.index); data2 = data.slice(mtch.index + mtch[0].length); @@ -8471,7 +8595,7 @@ function parse_ws_xml(data, opts, idx, rels, wb, themes, styles) { /* 18.3.1.82 sheetPr CT_SheetPr */ var sheetPr = data1.match(sheetprregex); if(sheetPr) parse_ws_xml_sheetpr(sheetPr[0], s, wb, idx); - else if((sheetPr = data1.match(sheetprregex2))) parse_ws_xml_sheetpr2(sheetPr[0], sheetPr[1]||"", s, wb, idx, styles, themes); + else if((sheetPr = str_match_xml_ns(data1, "sheetPr"))) parse_ws_xml_sheetpr2(sheetPr[0], sheetPr[1]||"", s, wb, idx, styles, themes); /* 18.3.1.35 dimension CT_SheetDimension */ var ridx = (data1.match(/<(?:\w*:)?dimension/)||{index:-1}).index; @@ -8481,7 +8605,7 @@ function parse_ws_xml(data, opts, idx, rels, wb, themes, styles) { } /* 18.3.1.88 sheetViews CT_SheetViews */ - var svs = data1.match(svsregex); + var svs = str_match_xml_ns(data1, "sheetViews"); if(svs && svs[1]) parse_ws_xml_sheetviews(svs[1], wb); /* 18.3.1.17 cols CT_Cols */ @@ -8680,7 +8804,7 @@ function write_ws_xml_autofilter(data, ws, wb, idx) { /* 18.3.1.88 sheetViews CT_SheetViews */ /* 18.3.1.87 sheetView CT_SheetView */ -var sviewregex = /<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/?>/g; +var sviewregex = /<(?:\w:)?sheetView(?:[^<>a-z][^<>]*)?\/?>/g; function parse_ws_xml_sheetviews(data, wb) { if(!wb.Views) wb.Views = [{}]; (data.match(sviewregex)||[]).forEach(function(r, i) { @@ -8759,9 +8883,8 @@ function write_ws_xml_cell(cell, ref, ws, opts, idx, wb, date1904) { var parse_ws_xml_data = (function() { var cellregex = /<(?:\w+:)?c[ \/>]/, rowregex = /<\/(?:\w+:)?row>/; - var rregex = /r=["']([^"']*)["']/, isregex = /<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/; + var rregex = /r=["']([^"']*)["']/; var refregex = /ref=["']([^"']*)["']/; - var match_v = matchtag("v"), match_f = matchtag("f"); return function parse_ws_xml_data(sdata, s, opts, guess, themes, styles, wb) { var ri = 0, x = "", cells = [], cref = [], idx=0, i=0, cc=0, d="", p; @@ -8840,9 +8963,9 @@ return function parse_ws_xml_data(sdata, s, opts, guess, themes, styles, wb) { d = x.slice(i); p = ({t:""}); - if((cref=d.match(match_v))!= null && cref[1] !== '') p.v=unescapexml(cref[1]); + if((cref=str_match_xml_ns(d, "v"))!= null && cref[1] !== '') p.v=unescapexml(cref[1]); if(opts.cellFormula) { - if((cref=d.match(match_f))!= null ) { + if((cref=str_match_xml_ns(d, "f"))!= null ) { if(cref[1] == "") { if(cref[0].indexOf('t="shared"') > -1) { // TODO: parse formula @@ -8864,7 +8987,7 @@ return function parse_ws_xml_data(sdata, s, opts, guess, themes, styles, wb) { sharedf[parseInt(ftag.si, 10)] = [ftag, ___f, tag.r]; } } - } else if((cref=d.match(/<f[^>]*\/>/))) { + } else if((cref=d.match(/<f[^<>]*\/>/))) { ftag = parsexmltag(cref[0]); if(sharedf[ftag.si]) p.f = shift_formula_xlsx(sharedf[ftag.si][1], sharedf[ftag.si][2]/*[0].ref*/, tag.r); } @@ -8910,7 +9033,7 @@ return function parse_ws_xml_data(sdata, s, opts, guess, themes, styles, wb) { if(opts.cellHTML) p.h = escapehtml(p.v); break; case 'inlineStr': - cref = d.match(isregex); + cref = str_match_xml_ns(d, "is"); p.t = 's'; if(cref != null && (sstr = parse_si(cref[1]))) { p.v = sstr.t; @@ -9075,7 +9198,7 @@ ws['!links'].forEach(function(l) { if(!l[1].Target) return; rel = ({"ref":l[0]}); if(l[1].Target.charAt(0) != "#") { - rId = add_rels(rels, -1, escapexml(l[1].Target).replace(/#.*$/, ""), RELS.HLINK); + rId = add_rels(rels, -1, escapexml(l[1].Target).replace(/#[\s\S]*$/, ""), RELS.HLINK); rel["r:id"] = "rId"+rId; } if((relc = l[1].Target.indexOf("#")) > -1) rel.location = escapexml(l[1].Target.slice(relc+1)); @@ -9131,16 +9254,16 @@ function parse_Cache(data) { var f; /* 21.2.2.150 pt CT_NumVal */ - (data.match(/<c:pt idx="(\d*)">(.*?)<\/c:pt>/mg)||[]).forEach(function(pt) { - var q = pt.match(/<c:pt idx="(\d*?)"><c:v>(.*)<\/c:v><\/c:pt>/); + (data.match(/<c:pt idx="(\d*)"[^<>\/]*><c:v>([^<])<\/c:v><\/c:pt>/mg)||[]).forEach(function(pt) { + var q = pt.match(/<c:pt idx="(\d*)"[^<>\/]*><c:v>([^<]*)<\/c:v><\/c:pt>/); if(!q) return; col[+q[1]] = num ? +q[2] : q[2]; }); /* 21.2.2.71 formatCode CT_Xstring */ - var nf = unescapexml((data.match(/<c:formatCode>([\s\S]*?)<\/c:formatCode>/) || ["","General"])[1]); + var nf = unescapexml((str_match_xml(data, "c:formatCode") || ["","General"])[1]); - (data.match(/<c:f>(.*?)<\/c:f>/mg)||[]).forEach(function(F) { f = F.replace(/<.*?>/g,""); }); + (str_match_ng(data, "<c:f>", "</c:f>")||[]).forEach(function(F) { f = F.replace(/<[^<>]*>/g,""); }); return [col, nf, f]; } @@ -9155,7 +9278,7 @@ function parse_chart(data, name, opts, rels, wb, csheet) { var refguess = {s: {r:2000000, c:2000000}, e: {r:0, c:0} }; /* 21.2.2.120 numCache CT_NumData */ - (data.match(/<c:numCache>[\s\S]*?<\/c:numCache>/gm)||[]).forEach(function(nc) { + (str_match_ng(data, "<c:numCache>", "</c:numCache>")||[]).forEach(function(nc) { var cache = parse_Cache(nc); refguess.s.r = refguess.s.c = 0; refguess.e.c = C; @@ -9663,12 +9786,12 @@ function html_to_sheet(str, _opts) { var opts = _opts || {}; var dense = (opts.dense != null) ? opts.dense : DENSE; var ws = ({}); if(dense) ws["!data"] = []; - str = str.replace(/<!--.*?-->/g, ""); + str = str_remove_ng(str, "<!--", "-->"); var mtch = str.match(/<table/i); if(!mtch) throw new Error("Invalid HTML: could not find <table>"); var mtch2 = str.match(/<\/table/i); var i = mtch.index, j = mtch2 && mtch2.index || str.length; - var rows = split_regex(str.slice(i, j), /(:?<tr[^>]*>)/i, "<tr>"); + var rows = split_regex(str.slice(i, j), /(:?<tr[^<>]*>)/i, "<tr>"); var R = -1, C = 0, RS = 0, CS = 0; var range = {s:{r:10000000, c:10000000},e:{r:0,c:0}}; var merges = []; @@ -9744,7 +9867,7 @@ function make_html_row(ws, r, R, o) { else if(cell) { sp["data-t"] = cell && cell.t || 'z'; // note: data-v is unaffected by the timezone interpretation - if(cell.v != null) sp["data-v"] = cell.v instanceof Date ? cell.v.toISOString() : cell.v; + if(cell.v != null) sp["data-v"] = escapehtml(cell.v instanceof Date ? cell.v.toISOString() : cell.v); if(cell.z != null) sp["data-z"] = cell.z; if(cell.l && (cell.l.Target || "#").charAt(0) != "#") w = '<a href="' + escapehtml(cell.l.Target) +'">' + w + '</a>'; } @@ -9759,7 +9882,7 @@ var HTML_BEGIN = '<html><head><meta charset="utf-8"/><title>SheetJS Table Export var HTML_END = '</body></html>'; function html_to_workbook(str, opts) { - var mtch = str.match(/<table[\s\S]*?>[\s\S]*?<\/table>/gi); + var mtch = str_match_xml_ig(str, "table"); if(!mtch || mtch.length == 0) throw new Error("Invalid HTML: could not find <table>"); if(mtch.length == 1) { var w = sheet_to_workbook(html_to_sheet(mtch[0], opts), opts); @@ -9912,9 +10035,9 @@ function parse_text_p(text) { .replace(/[\t\r\n]/g, " ").trim().replace(/ +/g, " ") .replace(/<text:s\/>/g," ") .replace(/<text:s text:c="(\d+)"\/>/g, function($$,$1) { return Array(parseInt($1,10)+1).join(" "); }) - .replace(/<text:tab[^>]*\/>/g,"\t") + .replace(/<text:tab[^<>]*\/>/g,"\t") .replace(/<text:line-break\/>/g,"\n"); - var v = unescapexml(fixed.replace(/<[^>]*>/g,"")); + var v = unescapexml(fixed.replace(/<[^<>]*>/g,"")); return [v]; } @@ -9924,10 +10047,10 @@ function parse_ods_styles(d, _opts, _nfm) { var number_format_map = _nfm || {}; var str = xlml_normalize(d); xlmlregex.lastIndex = 0; - str = str.replace(/<!--([\s\S]*?)-->/mg,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,""); + str = remove_doctype(str_remove_ng(str, "<!--", "-->")); var Rn, NFtag, NF = "", tNF = "", y, etpos = 0, tidx = -1, infmt = false, payload = ""; while((Rn = xlmlregex.exec(str))) { - switch((Rn[3]=Rn[3].replace(/_.*$/,""))) { + switch((Rn[3]=Rn[3].replace(/_[\s\S]*$/,""))) { /* Number Format Definitions */ case 'number-style': // <number:number-style> 16.29.2 case 'currency-style': // <number:currency-style> 16.29.8 @@ -10171,8 +10294,8 @@ function parse_content_xml(d, _opts, _nfm) { var isstub = false, intable = false; var i = 0; xlmlregex.lastIndex = 0; - str = str.replace(/<!--([\s\S]*?)-->/mg,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,""); - while((Rn = xlmlregex.exec(str))) switch((Rn[3]=Rn[3].replace(/_.*$/,""))) { + str = remove_doctype(str_remove_ng(str, "<!--", "-->")); + while((Rn = xlmlregex.exec(str))) switch((Rn[3]=Rn[3].replace(/_[\s\S]*$/,""))) { case 'table': case '工作表': // 9.1.2 <table:table> if(Rn[1]==='/') { @@ -10769,7 +10892,7 @@ function write_number_format_ods(nf, nfidx) { if((t=nf.match(/# (\?+)\/(\d+)/))) { payload += writextag("number:fraction", null, {"number:min-integer-digits":0, "number:min-numerator-digits": t[1].length, "number:denominator-value": +t[2]}); break j; } /* percentages */ - if((t=nf.match(/(\d+)(|\.\d+)%/))) { type = "percentage"; payload += writextag("number:number", null, {"number:decimal-places": t[2] && t.length - 1 || 0, "number:min-decimal-places": t[2] && t.length - 1 || 0, "number:min-integer-digits": t[1].length }) + "<number:text>%</number:text>"; break j; } + if((t=nf.match(/\b(\d+)(|\.\d+)%/))) { type = "percentage"; payload += writextag("number:number", null, {"number:decimal-places": t[2] && t.length - 1 || 0, "number:min-decimal-places": t[2] && t.length - 1 || 0, "number:min-integer-digits": t[1].length }) + "<number:text>%</number:text>"; break j; } /* datetime */ var has_time = false; @@ -10898,17 +11021,17 @@ function write_names_ods(Names, SheetNames, idx) { return " " + writextag("table:named-range", null, { "table:name": name.Name, "table:cell-range-address": odsref, - "table:base-cell-address": odsref.replace(/[\.]?[^\.]*$/, ".$A$1") + "table:base-cell-address": odsref.replace(/[\.][^\.]*$/, ".$A$1") }); }).join("\n") + "\n </table:named-expressions>\n"; } var write_content_ods = /* @__PURE__ */(function() { /* 6.1.2 White Space Characters */ - var write_text_p = function(text) { + var write_text_p = function(text, span) { return escapexml(text) .replace(/ +/g, function($$){return '<text:s text:c="'+$$.length+'"/>';}) .replace(/\t/g, "<text:tab/>") - .replace(/\n/g, "</text:p><text:p>") + .replace(/\n/g, span ? "<text:line-break/>": "</text:p><text:p>") .replace(/^ /, "<text:s/>").replace(/ $/, "<text:s/>"); }; @@ -11138,7 +11261,7 @@ var write_content_ods = /* @__PURE__ */(function() { if(opts.bookType == "fods") { o.push('<office:document' + attr + fods + '>\n'); - o.push(write_meta_ods().replace(/<office:document-meta.*?>/, "").replace(/<\/office:document-meta>/, "") + "\n"); + o.push(write_meta_ods().replace(/<office:document-meta[^<>]*?>/, "").replace(/<\/office:document-meta>/, "") + "\n"); // TODO: settings (equiv of settings.xml for ODS) } else o.push('<office:document-content' + attr + '>\n'); // o.push(' <office:scripts/>\n'); @@ -11451,7 +11574,7 @@ function parse_zip(zip, opts) { if(wbrels && wbrels[i]) { path = 'xl/' + (wbrels[i][1]).replace(/[\/]?xl\//, ""); if(!safegetzipfile(zip, path)) path = wbrels[i][1]; - if(!safegetzipfile(zip, path)) path = wbrelsfile.replace(/_rels\/.*$/,"") + wbrels[i][1]; + if(!safegetzipfile(zip, path)) path = wbrelsfile.replace(/_rels\/[\S\s]*$/,"") + wbrels[i][1]; stype = wbrels[i][2]; } else { path = 'xl/worksheets/sheet'+(i+1-nmode)+"." + wbext; @@ -11504,7 +11627,7 @@ function parse_zip(zip, opts) { if(dir.vba.length > 0) out.vbaraw = getzipdata(zip,strip_front_slash(dir.vba[0]),true); else if(dir.defaults && dir.defaults.bin === CT_VBA) out.vbaraw = getzipdata(zip, 'xl/vbaProject.bin',true); } - // TODO: pass back content types metdata for xlsm/xlsx resolution + // TODO: pass back content types metadata for xlsm/xlsx resolution out.bookType = xlsb ? "xlsb" : "xlsx"; return out; } @@ -12315,6 +12438,7 @@ function make_csv_row(sheet, r, R, cols, fs, rs, FS, o) { /* NOTE: Excel CSV does not support array formulae */ row.push(txt); } + if(o.strip) while(row[row.length - 1] === "") --row.length; if(o.blankrows === false && isempty) return null; return row.join(FS); } @@ -12326,7 +12450,6 @@ function sheet_to_csv(sheet, opts) { var r = safe_decode_range(sheet["!ref"]); var FS = o.FS !== undefined ? o.FS : ",", fs = FS.charCodeAt(0); var RS = o.RS !== undefined ? o.RS : "\n", rs = RS.charCodeAt(0); - var endregex = new RegExp((FS=="|" ? "\\|" : FS)+"+$"); var row = "", cols = []; var colinfo = o.skipHidden && sheet["!cols"] || []; var rowinfo = o.skipHidden && sheet["!rows"] || []; @@ -12336,7 +12459,6 @@ function sheet_to_csv(sheet, opts) { if ((rowinfo[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,""); if(row || (o.blankrows !== false)) out.push((w++ ? RS : "") + row); } return out.join(""); @@ -12499,10 +12621,10 @@ function book_append_sheet(wb, ws, name, roll) { var i = 1; if(!name) for(; i <= 0xFFFF; ++i, name = undefined) if(wb.SheetNames.indexOf(name = "Sheet" + i) == -1) break; if(!name || wb.SheetNames.length >= 0xFFFF) throw new Error("Too many worksheets"); - if(roll && wb.SheetNames.indexOf(name) >= 0) { - var m = name.match(/(^.*?)(\d+)$/); - i = m && +m[2] || 0; - var root = m && m[1] || name; + if(roll && wb.SheetNames.indexOf(name) >= 0 && name.length < 32) { + var m = name.match(/\d+$/); // at this point, name length is capped at 32 + i = m && +m[0] || 0; + var root = m && name.slice(0, m.index) || name; for(++i; i <= 0xFFFF; ++i) if(wb.SheetNames.indexOf(name = root + i) == -1) break; } check_ws_name(name); diff --git a/xlsx.mjs b/xlsx.mjs index 5726def..0c09498 100644 --- a/xlsx.mjs +++ b/xlsx.mjs @@ -3,7 +3,7 @@ /*exported XLSX */ /*global process:false, Buffer:false, ArrayBuffer:false, DataView:false, Deno:false */ var XLSX = {}; -XLSX.version = '0.20.1'; +XLSX.version = '0.20.2'; var current_codepage = 1200, current_ansi = 1252; /*:: declare var cptable:any; */ /*global cptable:true, window */ @@ -12,26 +12,26 @@ var $cptable; var VALID_ANSI = [ 874, 932, 936, 949, 950, 1250, 1251, 1252, 1253, 1254, 1255, 1256, 1257, 1258, 10000 ]; /* ECMA-376 Part I 18.4.1 charset to codepage mapping */ var CS2CP = ({ - /*::[*/0/*::]*/: 1252, /* ANSI */ - /*::[*/1/*::]*/: 65001, /* DEFAULT */ - /*::[*/2/*::]*/: 65001, /* SYMBOL */ - /*::[*/77/*::]*/: 10000, /* MAC */ - /*::[*/128/*::]*/: 932, /* SHIFTJIS */ - /*::[*/129/*::]*/: 949, /* HANGUL */ - /*::[*/130/*::]*/: 1361, /* JOHAB */ - /*::[*/134/*::]*/: 936, /* GB2312 */ - /*::[*/136/*::]*/: 950, /* CHINESEBIG5 */ - /*::[*/161/*::]*/: 1253, /* GREEK */ - /*::[*/162/*::]*/: 1254, /* TURKISH */ - /*::[*/163/*::]*/: 1258, /* VIETNAMESE */ - /*::[*/177/*::]*/: 1255, /* HEBREW */ - /*::[*/178/*::]*/: 1256, /* ARABIC */ - /*::[*/186/*::]*/: 1257, /* BALTIC */ - /*::[*/204/*::]*/: 1251, /* RUSSIAN */ - /*::[*/222/*::]*/: 874, /* THAI */ - /*::[*/238/*::]*/: 1250, /* EASTEUROPE */ - /*::[*/255/*::]*/: 1252, /* OEM */ - /*::[*/69/*::]*/: 6969 /* MISC */ + 0: 1252, /* ANSI */ + 1: 65001, /* DEFAULT */ + 2: 65001, /* SYMBOL */ + 77: 10000, /* MAC */ + 128: 932, /* SHIFTJIS */ + 129: 949, /* HANGUL */ + 130: 1361, /* JOHAB */ + 134: 936, /* GB2312 */ + 136: 950, /* CHINESEBIG5 */ + 161: 1253, /* GREEK */ + 162: 1254, /* TURKISH */ + 163: 1258, /* VIETNAMESE */ + 177: 1255, /* HEBREW */ + 178: 1256, /* ARABIC */ + 186: 1257, /* BALTIC */ + 204: 1251, /* RUSSIAN */ + 222: 874, /* THAI */ + 238: 1250, /* EASTEUROPE */ + 255: 1252, /* OEM */ + 69: 6969 /* MISC */ }/*:any*/); var set_ansi = function(cp/*:number*/) { if(VALID_ANSI.indexOf(cp) == -1) return; current_ansi = CS2CP[0] = cp; }; @@ -157,7 +157,12 @@ function Base64_encode_arr(input) { function Base64_decode(input) { var o = ""; var c1 = 0, c2 = 0, c3 = 0, e1 = 0, e2 = 0, e3 = 0, e4 = 0; - input = input.replace(/^data:([^\/]+\/[^\/]+)?;base64\,/, "").replace(/[^\w\+\/\=]/g, ""); + if (input.slice(0, 5) == "data:") { + var i = input.slice(0, 1024).indexOf(";base64,"); + if (i > -1) + input = input.slice(i + 8); + } + input = input.replace(/[^\w\+\/\=]/g, ""); for (var i = 0; i < input.length; ) { e1 = Base64_map.indexOf(input.charAt(i++)); e2 = Base64_map.indexOf(input.charAt(i++)); @@ -718,7 +723,7 @@ function write_num_f2(r/*:Array<string>*/, aval/*:number*/, sign/*:string*/)/*:s return sign + (aval === 0 ? "" : ""+aval) + fill(" ", r[1].length + 2 + r[4].length); } var dec1 = /^#*0*\.([0#]+)/; -var closeparen = /\).*[0#]/; +var closeparen = /\)[^)]*[0#]/; var phone = /\(###\) ###\\?-####/; function hashq(str/*:string*/)/*:string*/ { var o = "", cc; @@ -2172,9 +2177,9 @@ function _write(cfb/*:CFBContainer*/, options/*:CFBWriteOpts*/)/*:RawBytes|strin file = cfb.FileIndex[i]; if(i === 0) file.start = file.size ? file.start - 1 : ENDOFCHAIN; var _nm/*:string*/ = (i === 0 && _opts.root) || file.name; - if(_nm.length > 32) { - console.error("Name " + _nm + " will be truncated to " + _nm.slice(0,32)); - _nm = _nm.slice(0, 32); + if(_nm.length > 31) { + console.error("Name " + _nm + " will be truncated to " + _nm.slice(0,31)); + _nm = _nm.slice(0, 31); } flen = 2*(_nm.length+1); o.write_shift(64, _nm, "utf16le"); @@ -3086,7 +3091,7 @@ function parse_mime(cfb/*:CFBContainer*/, data/*:Array<string>*/, root/*:string* for(;di < 10; ++di) { var line = data[di]; if(!line || line.match(/^\s*$/)) break; - var m = line.match(/^(.*?):\s*([^\s].*)$/); + var m = line.match(/^([^:]*?):\s*([^\s].*)$/); if(m) switch(m[1].toLowerCase()) { case "content-location": fname = m[2].trim(); break; case "content-type": ctype = m[2].trim(); break; @@ -3331,7 +3336,7 @@ function write_dl(fname/*:string*/, payload/*:any*/, enc/*:?string*/) { var out = File(fname); out.open("w"); out.encoding = "binary"; if(Array.isArray(payload)) payload = a2s(payload); out.write(payload); out.close(); return payload; - } catch(e) { if(!e.message || !e.message.match(/onstruct/)) throw e; } + } catch(e) { if(!e.message || e.message.indexOf("onstruct") == -1) throw e; } throw new Error("cannot save file " + fname); } @@ -3345,7 +3350,7 @@ function read_binary(path/*:string*/) { var infile = File(path); infile.open("r"); infile.encoding = "binary"; var data = infile.read(); infile.close(); return data; - } catch(e) { if(!e.message || !e.message.match(/onstruct/)) throw e; } + } catch(e) { if(!e.message || e.message.indexOf("onstruct") == -1) throw e; } throw new Error("Cannot access file " + path); } function keys(o/*:any*/)/*:Array<any>*/ { @@ -3437,7 +3442,7 @@ function parseDate(str/*:string*/, date1904/*:boolean*/)/*:Date*/ { if(m) return new Date(Date.UTC(+m[1], +m[2]-1, +m[3], 0, 0, 0, 0)); /* TODO: 1900-02-29T00:00:00.000 should return a flag to treat as a date code (affects xlml) */ m = str.match(pdre3); - if(m) return new Date(Date.UTC(+m[1], +m[2]-1, +m[3], +m[4], +m[5], ((m[6] && parseInt(m[6].slice(1), 10))|| 0), ((m[7] && parseInt(m[7].slice(1), 10))||0))); + if(m) return new Date(Date.UTC(+m[1], +m[2]-1, +m[3], +m[4], +m[5], ((m[6] && parseInt(m[6].slice(1), 10))|| 0), ((m[7] && parseInt((m[7] + "0000").slice(1,4), 10))||0))); var d = new Date(str); return d; } @@ -3504,7 +3509,7 @@ function fuzzynum(s/*:string*/)/*:number*/ { var wt = 1; var ss = s.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g, function() { wt *= 100; return "";}); if(!isNaN(v = Number(ss))) return v / wt; - ss = ss.replace(/[(](.*)[)]/,function($$, $1) { wt = -wt; return $1;}); + ss = ss.replace(/[(]([^()]*)[)]/,function($$, $1) { wt = -wt; return $1;}); if(!isNaN(v = Number(ss))) return v / wt; return v; } @@ -3545,7 +3550,7 @@ function fuzzydate(s/*:string*/)/*:Date*/ { M = lnos.match(FDRE2); if(M) return fuzzytime2(M); M = lnos.match(pdre3); - if(M) return new Date(Date.UTC(+M[1], +M[2]-1, +M[3], +M[4], +M[5], ((M[6] && parseInt(M[6].slice(1), 10))|| 0), ((M[7] && parseInt(M[7].slice(1), 10))||0))); + if(M) return new Date(Date.UTC(+M[1], +M[2]-1, +M[3], +M[4], +M[5], ((M[6] && parseInt(M[6].slice(1), 10))|| 0), ((M[7] && parseInt((M[7] + "0000").slice(1,4), 10))||0))); var o = new Date(utc_append_works && s.indexOf("UTC") == -1 ? s + " UTC": s), n = new Date(NaN); var y = o.getYear(), m = o.getMonth(), d = o.getDate(); if(isNaN(d)) return n; @@ -3573,6 +3578,161 @@ function utc_to_local(utc) { function local_to_utc(local) { return new Date(Date.UTC(local.getFullYear(), local.getMonth(), local.getDate(), local.getHours(), local.getMinutes(), local.getSeconds(), local.getMilliseconds())); } + +function remove_doctype(str) { + var preamble = str.slice(0, 1024); + var si = preamble.indexOf("<!DOCTYPE"); + if(si == -1) return str; + var m = str.match(/<[\w]/); + if(!m) return str; + return str.slice(0, si) + str.slice(m.index); +} + +/* str.match(/<!--[\s\S]*?-->/g) --> str_match_ng(str, "<!--", "-->") */ +function str_match_ng(str, s, e) { + var out = []; + + var si = str.indexOf(s); + while(si > -1) { + var ei = str.indexOf(e, si + s.length); + if(ei == -1) break; + + out.push(str.slice(si, ei + e.length)); + si = str.indexOf(s, ei + e.length); + } + + return out.length > 0 ? out : null; +} + +/* str.replace(/<!--[\s\S]*?-->/g, "") --> str_remove_ng(str, "<!--", "-->") */ +function str_remove_ng(str, s, e) { + var out = [], last = 0; + + var si = str.indexOf(s); + if(si == -1) return str; + while(si > -1) { + out.push(str.slice(last, si)); + var ei = str.indexOf(e, si + s.length); + if(ei == -1) break; + + if((si = str.indexOf(s, (last = ei + e.length))) == -1) out.push(str.slice(last)); + } + + return out.join(""); +} + +/* str.match(/<tag\b[^>]*?>([\s\S]*?)</tag>/) --> str_match_xml(str, "tag") */ +var xml_boundary = { " ": 1, "\t": 1, "\r": 1, "\n": 1, ">": 1 }; +function str_match_xml(str, tag) { + var si = str.indexOf('<' + tag), w = tag.length + 1, L = str.length; + while(si >= 0 && si <= L - w && !xml_boundary[str.charAt(si + w)]) si = str.indexOf('<' + tag, si+1); + if(si === -1) return null; + var sf = str.indexOf(">", si + tag.length); + if(sf === -1) return null; + var et = "</" + tag + ">"; + var ei = str.indexOf(et, sf); + if(ei == -1) return null; + return [str.slice(si, ei + et.length), str.slice(sf + 1, ei)]; +} + +/* str.match(/<(?:\w+:)?tag\b[^<>]*?>([\s\S]*?)<\/(?:\w+:)?tag>/) --> str_match_xml(str, "tag") */ +var str_match_xml_ns = /*#__PURE__*/(function() { + var str_match_xml_ns_cache = {}; + return function str_match_xml_ns(str, tag) { + var res = str_match_xml_ns_cache[tag]; + if(!res) str_match_xml_ns_cache[tag] = res = [ + new RegExp('<(?:\\w+:)?'+tag+'\\b[^<>]*>', "g"), + new RegExp('</(?:\\w+:)?'+tag+'>', "g") + ]; + res[0].lastIndex = res[1].lastIndex = 0; + var m = res[0].exec(str); + if(!m) return null; + var si = m.index; + var sf = res[0].lastIndex; + res[1].lastIndex = res[0].lastIndex; + m = res[1].exec(str); + if(!m) return null; + var ei = m.index; + var ef = res[1].lastIndex; + return [str.slice(si, ef), str.slice(sf, ei)]; + }; +})(); + +/* str.match(/<(?:\w+:)?tag\b[^<>]*?>([\s\S]*?)<\/(?:\w+:)?tag>/g) --> str_match_xml_ns_g(str, "tag") */ +var str_match_xml_ns_g = /*#__PURE__*/(function() { + var str_match_xml_ns_cache = {}; + return function str_match_xml_ns(str, tag) { + var out = []; + var res = str_match_xml_ns_cache[tag]; + if(!res) str_match_xml_ns_cache[tag] = res = [ + new RegExp('<(?:\\w+:)?'+tag+'\\b[^<>]*>', "g"), + new RegExp('</(?:\\w+:)?'+tag+'>', "g") + ]; + res[0].lastIndex = res[1].lastIndex = 0; + var m; + while((m = res[0].exec(str))) { + var si = m.index; + res[1].lastIndex = res[0].lastIndex; + m = res[1].exec(str); + if(!m) return null; + var ef = res[1].lastIndex; + out.push(str.slice(si, ef)); + res[0].lastIndex = res[1].lastIndex; + } + return out.length == 0 ? null : out; + }; +})(); +var str_remove_xml_ns_g = /*#__PURE__*/(function() { + var str_remove_xml_ns_cache = {}; + return function str_remove_xml_ns_g(str, tag) { + var out = []; + var res = str_remove_xml_ns_cache[tag]; + if(!res) str_remove_xml_ns_cache[tag] = res = [ + new RegExp('<(?:\\w+:)?'+tag+'\\b[^<>]*>', "g"), + new RegExp('</(?:\\w+:)?'+tag+'>', "g") + ]; + res[0].lastIndex = res[1].lastIndex = 0; + var m; + var si = 0, ef = 0; + while((m = res[0].exec(str))) { + si = m.index; + out.push(str.slice(ef, si)); + ef = si; + res[1].lastIndex = res[0].lastIndex; + m = res[1].exec(str); + if(!m) return null; + ef = res[1].lastIndex; + res[0].lastIndex = res[1].lastIndex; + } + out.push(str.slice(ef)); + return out.length == 0 ? "" : out.join(""); + }; +})(); + +/* str.match(/<(?:\w+:)?tag\b[^>]*?>([\s\S]*?)<\/(?:\w+:)?tag>/gi) --> str_match_xml_ns_ig(str, "tag") */ +var str_match_xml_ig = /*#__PURE__*/(function() { + var str_match_xml_ns_cache = {}; + return function str_match_xml_ns(str, tag) { + var out = []; + var res = str_match_xml_ns_cache[tag]; + if(!res) str_match_xml_ns_cache[tag] = res = [ + new RegExp('<'+tag+'\\b[^<>]*>', "ig"), + new RegExp('</'+tag+'>', "ig") + ]; + res[0].lastIndex = res[1].lastIndex = 0; + var m; + while((m = res[0].exec(str))) { + var si = m.index; + res[1].lastIndex = res[0].lastIndex; + m = res[1].exec(str); + if(!m) return null; + var ef = res[1].lastIndex; + out.push(str.slice(si, ef)); + res[0].lastIndex = res[1].lastIndex; + } + return out.length == 0 ? null : out; + }; +})(); function getdatastr(data)/*:?string*/ { if(!data) return null; if(data.content && data.type) return cc2str(data.content, true); @@ -3679,8 +3839,8 @@ function resolve_path(path/*:string*/, base/*:string*/)/*:string*/ { return result.join('/'); } var XML_HEADER = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r\n'; -var attregexg=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g; -var tagregex1=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/mg, tagregex2 = /<[^>]*>/g; +var attregexg=/\s([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g; +var tagregex1=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?<>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'"<>\s=]+))*\s*[\/\?]?>/mg, tagregex2 = /<[^<>]*>/g; var tagregex = /*#__PURE__*/XML_HEADER.match(tagregex1) ? tagregex1 : tagregex2; var nsregex=/<\w*:/, nsregex2 = /<(\/?)\w+:/; function parsexmltag(tag/*:string*/, skip_root/*:?boolean*/, skip_LC/*:?boolean*/)/*:any*/ { @@ -3691,7 +3851,7 @@ function parsexmltag(tag/*:string*/, skip_root/*:?boolean*/, skip_LC/*:?boolean* if(eq === tag.length) return z; var m = tag.match(attregexg), j=0, v="", i=0, q="", cc="", quot = 1; if(m) for(i = 0; i != m.length; ++i) { - cc = m[i]; + cc = m[i].slice(1); for(c=0; c != cc.length; ++c) if(cc.charCodeAt(c) === 61) break; q = cc.slice(0,c).trim(); while(cc.charCodeAt(c+1) == 32) ++c; @@ -3841,16 +4001,6 @@ var utf8write/*:StringConv*/ = has_buf ? function(data) { return Buffer_from(dat return out.join(""); }; -// matches <foo>...</foo> extracts content -var matchtag = /*#__PURE__*/(function() { - var mtcache/*:{[k:string]:RegExp}*/ = ({}/*:any*/); - return function matchtag(f/*:string*/,g/*:?string*/)/*:RegExp*/ { - var t = f+"|"+(g||""); - if(mtcache[t]) return mtcache[t]; - return (mtcache[t] = new RegExp('<(?:\\w+:)?'+f+'(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)</(?:\\w+:)?'+f+'>',((g||"")/*:any*/))); - }; -})(); - var htmldecode/*:{(s:string):string}*/ = /*#__PURE__*/(function() { var entities/*:Array<[RegExp, string]>*/ = [ ['nbsp', ' '], ['middot', '·'], @@ -3861,30 +4011,25 @@ var htmldecode/*:{(s:string):string}*/ = /*#__PURE__*/(function() { // Remove new lines and spaces from start of content .replace(/^[\t\n\r ]+/, "") // Remove new lines and spaces from end of content - .replace(/[\t\n\r ]+$/,"") + .replace(/(^|[^\t\n\r ])[\t\n\r ]+$/,"$1") // Added line which removes any white space characters after and before html tags - .replace(/>\s+/g,">").replace(/\s+</g,"<") + .replace(/>\s+/g,">").replace(/\b\s+</g,"<") // Replace remaining new lines and spaces with space .replace(/[\t\n\r ]+/g, " ") // Replace <br> tags with new lines .replace(/<\s*[bB][rR]\s*\/?>/g,"\n") // Strip HTML elements - .replace(/<[^>]*>/g,""); + .replace(/<[^<>]*>/g,""); for(var i = 0; i < entities.length; ++i) o = o.replace(entities[i][0], entities[i][1]); return o; }; })(); -var vtregex = /*#__PURE__*/(function(){ var vt_cache = {}; - return function vt_regex(bt) { - if(vt_cache[bt] !== undefined) return vt_cache[bt]; - return (vt_cache[bt] = new RegExp("<(?:vt:)?" + bt + ">([\\s\\S]*?)</(?:vt:)?" + bt + ">", 'g') ); -};})(); -var vtvregex = /<\/?(?:vt:)?variant>/g, vtmregex = /<(?:vt:)([^>]*)>([\s\S]*)</; +var vtvregex = /<\/?(?:vt:)?variant>/g, vtmregex = /<(?:vt:)([^<"'>]*)>([\s\S]*)</; function parseVector(data/*:string*/, opts)/*:Array<{v:string,t:string}>*/ { var h = parsexmltag(data); - var matches/*:Array<string>*/ = data.match(vtregex(h.baseType))||[]; + var matches/*:Array<string>*/ = str_match_xml_ns_g(data, h.baseType)||[]; var res/*:Array<any>*/ = []; if(matches.length != h.size) { if(opts.WTF) throw new Error("unexpected vector length " + matches.length + " != " + h.size); @@ -3925,9 +4070,8 @@ function xlml_normalize(d)/*:string*/ { if(typeof Uint8Array !== 'undefined' && d instanceof Uint8Array) return utf8read(a2s(ab2a(d))); throw new Error("Bad input format: expected Buffer or string"); } -/* UOS uses CJK in tags */ -var xlmlregex = /<(\/?)([^\s?><!\/:]*:|)([^\s?<>:\/]+)(?:[\s?:\/](?:[^>=]|="[^"]*?")*)?>/mg; -//var xlmlregex = /<(\/?)([a-z0-9]*:|)(\w+)[^>]*>/mg; +/* UOS uses CJK in tags, ODS uses invalid XML */ +var xlmlregex = /<([\/]?)([^\s?><!\/:"]*:|)([^\s?<>:\/"]+)(?:\s+[^<>=?"'\s]+="[^"]*?")*\s*[\/]?>/mg; var XMLNS = ({ CORE_PROPS: 'http://schemas.openxmlformats.org/package/2006/metadata/core-properties', @@ -4469,22 +4613,24 @@ function sheet_add_aoa(_ws/*:?Worksheet*/, data/*:AOA*/, opts/*:?any*/)/*:Worksh var _origin/*:CellAddress*/ = typeof o.origin == "string" ? decode_cell(o.origin) : o.origin; _R = _origin.r; _C = _origin.c; } - if(!ws["!ref"]) ws["!ref"] = "A1:A1"; } var range/*:Range*/ = ({s: {c:10000000, r:10000000}, e: {c:0, r:0}}/*:any*/); - if(ws['!ref']) { + if(ws["!ref"]){ var _range = safe_decode_range(ws['!ref']); range.s.c = _range.s.c; range.s.r = _range.s.r; range.e.c = Math.max(range.e.c, _range.e.c); range.e.r = Math.max(range.e.r, _range.e.r); - if(_R == -1) range.e.r = _R = _range.e.r + 1; + if(_R == -1) range.e.r = _R = (ws["!ref"] ? _range.e.r + 1 : 0); + } else { + range.s.c = range.e.c = range.s.r = range.e.r = 0; } - var row = []; + var row = [], seen = false; for(var R = 0; R != data.length; ++R) { if(!data[R]) continue; if(!Array.isArray(data[R])) throw new Error("aoa_to_sheet expects an array of arrays"); var __R = _R + R, __Rstr = "" + (__R + 1); + //console.log("!!", R, _R, __R); if(dense) { if(!ws["!data"][__R]) ws["!data"][__R] = []; row = ws["!data"][__R]; @@ -4497,6 +4643,7 @@ function sheet_add_aoa(_ws/*:?Worksheet*/, data/*:AOA*/, opts/*:?any*/)/*:Worksh if(range.s.c > __C) range.s.c = __C; if(range.e.r < __R) range.e.r = __R; if(range.e.c < __C) range.e.c = __C; + seen = true; if(data[R][C] && typeof data[R][C] === 'object' && !Array.isArray(data[R][C]) && !(data[R][C] instanceof Date)) cell = data[R][C]; else { if(Array.isArray(cell.v)) { cell.f = data[R][C][1]; cell.v = cell.v[0]; } @@ -4526,7 +4673,7 @@ function sheet_add_aoa(_ws/*:?Worksheet*/, data/*:AOA*/, opts/*:?any*/)/*:Worksh } } } - if(range.s.c < 10000000) ws['!ref'] = encode_range(range); + if(seen && range.s.c < 10400000) ws['!ref'] = encode_range(range); return ws; } function aoa_to_sheet(data/*:AOA*/, opts/*:?any*/)/*:Worksheet*/ { return sheet_add_aoa(null, data, opts); } @@ -4888,118 +5035,118 @@ var VT_CUSTOM = [VT_STRING, VT_USTR]; /* [MS-OSHARED] 2.3.3.2.2.1 Document Summary Information PIDDSI */ var DocSummaryPIDDSI = { - /*::[*/0x01/*::]*/: { n: 'CodePage', t: VT_I2 }, - /*::[*/0x02/*::]*/: { n: 'Category', t: VT_STRING }, - /*::[*/0x03/*::]*/: { n: 'PresentationFormat', t: VT_STRING }, - /*::[*/0x04/*::]*/: { n: 'ByteCount', t: VT_I4 }, - /*::[*/0x05/*::]*/: { n: 'LineCount', t: VT_I4 }, - /*::[*/0x06/*::]*/: { n: 'ParagraphCount', t: VT_I4 }, - /*::[*/0x07/*::]*/: { n: 'SlideCount', t: VT_I4 }, - /*::[*/0x08/*::]*/: { n: 'NoteCount', t: VT_I4 }, - /*::[*/0x09/*::]*/: { n: 'HiddenCount', t: VT_I4 }, - /*::[*/0x0a/*::]*/: { n: 'MultimediaClipCount', t: VT_I4 }, - /*::[*/0x0b/*::]*/: { n: 'ScaleCrop', t: VT_BOOL }, - /*::[*/0x0c/*::]*/: { n: 'HeadingPairs', t: VT_VECTOR_VARIANT /* VT_VECTOR | VT_VARIANT */ }, - /*::[*/0x0d/*::]*/: { n: 'TitlesOfParts', t: VT_VECTOR_LPSTR /* VT_VECTOR | VT_LPSTR */ }, - /*::[*/0x0e/*::]*/: { n: 'Manager', t: VT_STRING }, - /*::[*/0x0f/*::]*/: { n: 'Company', t: VT_STRING }, - /*::[*/0x10/*::]*/: { n: 'LinksUpToDate', t: VT_BOOL }, - /*::[*/0x11/*::]*/: { n: 'CharacterCount', t: VT_I4 }, - /*::[*/0x13/*::]*/: { n: 'SharedDoc', t: VT_BOOL }, - /*::[*/0x16/*::]*/: { n: 'HyperlinksChanged', t: VT_BOOL }, - /*::[*/0x17/*::]*/: { n: 'AppVersion', t: VT_I4, p: 'version' }, - /*::[*/0x18/*::]*/: { n: 'DigSig', t: VT_BLOB }, - /*::[*/0x1A/*::]*/: { n: 'ContentType', t: VT_STRING }, - /*::[*/0x1B/*::]*/: { n: 'ContentStatus', t: VT_STRING }, - /*::[*/0x1C/*::]*/: { n: 'Language', t: VT_STRING }, - /*::[*/0x1D/*::]*/: { n: 'Version', t: VT_STRING }, - /*::[*/0xFF/*::]*/: {}, + 0x01: { n: 'CodePage', t: VT_I2 }, + 0x02: { n: 'Category', t: VT_STRING }, + 0x03: { n: 'PresentationFormat', t: VT_STRING }, + 0x04: { n: 'ByteCount', t: VT_I4 }, + 0x05: { n: 'LineCount', t: VT_I4 }, + 0x06: { n: 'ParagraphCount', t: VT_I4 }, + 0x07: { n: 'SlideCount', t: VT_I4 }, + 0x08: { n: 'NoteCount', t: VT_I4 }, + 0x09: { n: 'HiddenCount', t: VT_I4 }, + 0x0a: { n: 'MultimediaClipCount', t: VT_I4 }, + 0x0b: { n: 'ScaleCrop', t: VT_BOOL }, + 0x0c: { n: 'HeadingPairs', t: VT_VECTOR_VARIANT /* VT_VECTOR | VT_VARIANT */ }, + 0x0d: { n: 'TitlesOfParts', t: VT_VECTOR_LPSTR /* VT_VECTOR | VT_LPSTR */ }, + 0x0e: { n: 'Manager', t: VT_STRING }, + 0x0f: { n: 'Company', t: VT_STRING }, + 0x10: { n: 'LinksUpToDate', t: VT_BOOL }, + 0x11: { n: 'CharacterCount', t: VT_I4 }, + 0x13: { n: 'SharedDoc', t: VT_BOOL }, + 0x16: { n: 'HyperlinksChanged', t: VT_BOOL }, + 0x17: { n: 'AppVersion', t: VT_I4, p: 'version' }, + 0x18: { n: 'DigSig', t: VT_BLOB }, + 0x1A: { n: 'ContentType', t: VT_STRING }, + 0x1B: { n: 'ContentStatus', t: VT_STRING }, + 0x1C: { n: 'Language', t: VT_STRING }, + 0x1D: { n: 'Version', t: VT_STRING }, + 0xFF: {}, /* [MS-OLEPS] 2.18 */ - /*::[*/0x80000000/*::]*/: { n: 'Locale', t: VT_UI4 }, - /*::[*/0x80000003/*::]*/: { n: 'Behavior', t: VT_UI4 }, - /*::[*/0x72627262/*::]*/: {} + 0x80000000: { n: 'Locale', t: VT_UI4 }, + 0x80000003: { n: 'Behavior', t: VT_UI4 }, + 0x72627262: {} }; /* [MS-OSHARED] 2.3.3.2.1.1 Summary Information Property Set PIDSI */ var SummaryPIDSI = { - /*::[*/0x01/*::]*/: { n: 'CodePage', t: VT_I2 }, - /*::[*/0x02/*::]*/: { n: 'Title', t: VT_STRING }, - /*::[*/0x03/*::]*/: { n: 'Subject', t: VT_STRING }, - /*::[*/0x04/*::]*/: { n: 'Author', t: VT_STRING }, - /*::[*/0x05/*::]*/: { n: 'Keywords', t: VT_STRING }, - /*::[*/0x06/*::]*/: { n: 'Comments', t: VT_STRING }, - /*::[*/0x07/*::]*/: { n: 'Template', t: VT_STRING }, - /*::[*/0x08/*::]*/: { n: 'LastAuthor', t: VT_STRING }, - /*::[*/0x09/*::]*/: { n: 'RevNumber', t: VT_STRING }, - /*::[*/0x0A/*::]*/: { n: 'EditTime', t: VT_FILETIME }, - /*::[*/0x0B/*::]*/: { n: 'LastPrinted', t: VT_FILETIME }, - /*::[*/0x0C/*::]*/: { n: 'CreatedDate', t: VT_FILETIME }, - /*::[*/0x0D/*::]*/: { n: 'ModifiedDate', t: VT_FILETIME }, - /*::[*/0x0E/*::]*/: { n: 'PageCount', t: VT_I4 }, - /*::[*/0x0F/*::]*/: { n: 'WordCount', t: VT_I4 }, - /*::[*/0x10/*::]*/: { n: 'CharCount', t: VT_I4 }, - /*::[*/0x11/*::]*/: { n: 'Thumbnail', t: VT_CF }, - /*::[*/0x12/*::]*/: { n: 'Application', t: VT_STRING }, - /*::[*/0x13/*::]*/: { n: 'DocSecurity', t: VT_I4 }, - /*::[*/0xFF/*::]*/: {}, + 0x01: { n: 'CodePage', t: VT_I2 }, + 0x02: { n: 'Title', t: VT_STRING }, + 0x03: { n: 'Subject', t: VT_STRING }, + 0x04: { n: 'Author', t: VT_STRING }, + 0x05: { n: 'Keywords', t: VT_STRING }, + 0x06: { n: 'Comments', t: VT_STRING }, + 0x07: { n: 'Template', t: VT_STRING }, + 0x08: { n: 'LastAuthor', t: VT_STRING }, + 0x09: { n: 'RevNumber', t: VT_STRING }, + 0x0A: { n: 'EditTime', t: VT_FILETIME }, + 0x0B: { n: 'LastPrinted', t: VT_FILETIME }, + 0x0C: { n: 'CreatedDate', t: VT_FILETIME }, + 0x0D: { n: 'ModifiedDate', t: VT_FILETIME }, + 0x0E: { n: 'PageCount', t: VT_I4 }, + 0x0F: { n: 'WordCount', t: VT_I4 }, + 0x10: { n: 'CharCount', t: VT_I4 }, + 0x11: { n: 'Thumbnail', t: VT_CF }, + 0x12: { n: 'Application', t: VT_STRING }, + 0x13: { n: 'DocSecurity', t: VT_I4 }, + 0xFF: {}, /* [MS-OLEPS] 2.18 */ - /*::[*/0x80000000/*::]*/: { n: 'Locale', t: VT_UI4 }, - /*::[*/0x80000003/*::]*/: { n: 'Behavior', t: VT_UI4 }, - /*::[*/0x72627262/*::]*/: {} + 0x80000000: { n: 'Locale', t: VT_UI4 }, + 0x80000003: { n: 'Behavior', t: VT_UI4 }, + 0x72627262: {} }; /* [MS-XLS] 2.4.63 Country/Region codes */ var CountryEnum = { - /*::[*/0x0001/*::]*/: "US", // United States - /*::[*/0x0002/*::]*/: "CA", // Canada - /*::[*/0x0003/*::]*/: "", // Latin America (except Brazil) - /*::[*/0x0007/*::]*/: "RU", // Russia - /*::[*/0x0014/*::]*/: "EG", // Egypt - /*::[*/0x001E/*::]*/: "GR", // Greece - /*::[*/0x001F/*::]*/: "NL", // Netherlands - /*::[*/0x0020/*::]*/: "BE", // Belgium - /*::[*/0x0021/*::]*/: "FR", // France - /*::[*/0x0022/*::]*/: "ES", // Spain - /*::[*/0x0024/*::]*/: "HU", // Hungary - /*::[*/0x0027/*::]*/: "IT", // Italy - /*::[*/0x0029/*::]*/: "CH", // Switzerland - /*::[*/0x002B/*::]*/: "AT", // Austria - /*::[*/0x002C/*::]*/: "GB", // United Kingdom - /*::[*/0x002D/*::]*/: "DK", // Denmark - /*::[*/0x002E/*::]*/: "SE", // Sweden - /*::[*/0x002F/*::]*/: "NO", // Norway - /*::[*/0x0030/*::]*/: "PL", // Poland - /*::[*/0x0031/*::]*/: "DE", // Germany - /*::[*/0x0034/*::]*/: "MX", // Mexico - /*::[*/0x0037/*::]*/: "BR", // Brazil - /*::[*/0x003d/*::]*/: "AU", // Australia - /*::[*/0x0040/*::]*/: "NZ", // New Zealand - /*::[*/0x0042/*::]*/: "TH", // Thailand - /*::[*/0x0051/*::]*/: "JP", // Japan - /*::[*/0x0052/*::]*/: "KR", // Korea - /*::[*/0x0054/*::]*/: "VN", // Viet Nam - /*::[*/0x0056/*::]*/: "CN", // China - /*::[*/0x005A/*::]*/: "TR", // Turkey - /*::[*/0x0069/*::]*/: "JS", // Ramastan - /*::[*/0x00D5/*::]*/: "DZ", // Algeria - /*::[*/0x00D8/*::]*/: "MA", // Morocco - /*::[*/0x00DA/*::]*/: "LY", // Libya - /*::[*/0x015F/*::]*/: "PT", // Portugal - /*::[*/0x0162/*::]*/: "IS", // Iceland - /*::[*/0x0166/*::]*/: "FI", // Finland - /*::[*/0x01A4/*::]*/: "CZ", // Czech Republic - /*::[*/0x0376/*::]*/: "TW", // Taiwan - /*::[*/0x03C1/*::]*/: "LB", // Lebanon - /*::[*/0x03C2/*::]*/: "JO", // Jordan - /*::[*/0x03C3/*::]*/: "SY", // Syria - /*::[*/0x03C4/*::]*/: "IQ", // Iraq - /*::[*/0x03C5/*::]*/: "KW", // Kuwait - /*::[*/0x03C6/*::]*/: "SA", // Saudi Arabia - /*::[*/0x03CB/*::]*/: "AE", // United Arab Emirates - /*::[*/0x03CC/*::]*/: "IL", // Israel - /*::[*/0x03CE/*::]*/: "QA", // Qatar - /*::[*/0x03D5/*::]*/: "IR", // Iran - /*::[*/0xFFFF/*::]*/: "US" // United States + 0x0001: "US", // United States + 0x0002: "CA", // Canada + 0x0003: "", // Latin America (except Brazil) + 0x0007: "RU", // Russia + 0x0014: "EG", // Egypt + 0x001E: "GR", // Greece + 0x001F: "NL", // Netherlands + 0x0020: "BE", // Belgium + 0x0021: "FR", // France + 0x0022: "ES", // Spain + 0x0024: "HU", // Hungary + 0x0027: "IT", // Italy + 0x0029: "CH", // Switzerland + 0x002B: "AT", // Austria + 0x002C: "GB", // United Kingdom + 0x002D: "DK", // Denmark + 0x002E: "SE", // Sweden + 0x002F: "NO", // Norway + 0x0030: "PL", // Poland + 0x0031: "DE", // Germany + 0x0034: "MX", // Mexico + 0x0037: "BR", // Brazil + 0x003d: "AU", // Australia + 0x0040: "NZ", // New Zealand + 0x0042: "TH", // Thailand + 0x0051: "JP", // Japan + 0x0052: "KR", // Korea + 0x0054: "VN", // Viet Nam + 0x0056: "CN", // China + 0x005A: "TR", // Turkey + 0x0069: "JS", // Ramastan + 0x00D5: "DZ", // Algeria + 0x00D8: "MA", // Morocco + 0x00DA: "LY", // Libya + 0x015F: "PT", // Portugal + 0x0162: "IS", // Iceland + 0x0166: "FI", // Finland + 0x01A4: "CZ", // Czech Republic + 0x0376: "TW", // Taiwan + 0x03C1: "LB", // Lebanon + 0x03C2: "JO", // Jordan + 0x03C3: "SY", // Syria + 0x03C4: "IQ", // Iraq + 0x03C5: "KW", // Kuwait + 0x03C6: "SA", // Saudi Arabia + 0x03CB: "AE", // United Arab Emirates + 0x03CC: "IL", // Israel + 0x03CE: "QA", // Qatar + 0x03D5: "IR", // Iran + 0xFFFF: "US" // United States }; /* [MS-XLS] 2.5.127 */ @@ -5125,15 +5272,15 @@ var XLSIcv = /*#__PURE__*/dup(_XLSIcv); /* [MS-XLSB] 2.5.97.2 */ var BErr = { - /*::[*/0x00/*::]*/: "#NULL!", - /*::[*/0x07/*::]*/: "#DIV/0!", - /*::[*/0x0F/*::]*/: "#VALUE!", - /*::[*/0x17/*::]*/: "#REF!", - /*::[*/0x1D/*::]*/: "#NAME?", - /*::[*/0x24/*::]*/: "#NUM!", - /*::[*/0x2A/*::]*/: "#N/A", - /*::[*/0x2B/*::]*/: "#GETTING_DATA", - /*::[*/0xFF/*::]*/: "#WTF?" + 0x00: "#NULL!", + 0x07: "#DIV/0!", + 0x0F: "#VALUE!", + 0x17: "#REF!", + 0x1D: "#NAME?", + 0x24: "#NUM!", + 0x2A: "#N/A", + 0x2B: "#GETTING_DATA", + 0xFF: "#WTF?" }; //var RBErr = evert_num(BErr); var RBErr = { @@ -5671,22 +5818,12 @@ var CORE_PROPS/*:Array<Array<string> >*/ = [ ["dcterms:modified", "ModifiedDate", 'date'] ]; -var CORE_PROPS_REGEX/*:Array<RegExp>*/ = /*#__PURE__*/(function() { - var r = new Array(CORE_PROPS.length); - for(var i = 0; i < CORE_PROPS.length; ++i) { - var f = CORE_PROPS[i]; - var g = "(?:"+ f[0].slice(0,f[0].indexOf(":")) +":)"+ f[0].slice(f[0].indexOf(":")+1); - r[i] = new RegExp("<" + g + "[^>]*>([\\s\\S]*?)<\/" + g + ">"); - } - return r; -})(); - function parse_core_props(data) { var p = {}; data = utf8read(data); for(var i = 0; i < CORE_PROPS.length; ++i) { - var f = CORE_PROPS[i], cur = data.match(CORE_PROPS_REGEX[i]); + var f = CORE_PROPS[i], cur = str_match_xml(data, f[0]); if(cur != null && cur.length > 0) p[f[1]] = unescapexml(cur[1]); if(f[2] === 'date' && p[f[1]]) p[f[1]] = parseDate(p[f[1]]); } @@ -5802,12 +5939,12 @@ function parse_ext_props(data, p, opts) { data = utf8read(data); EXT_PROPS.forEach(function(f) { - var xml = (data.match(matchtag(f[0]))||[])[1]; + var xml = (str_match_xml_ns(data, f[0])||[])[1]; switch(f[2]) { case "string": if(xml) p[f[1]] = unescapexml(xml); break; case "bool": p[f[1]] = xml === "true"; break; case "raw": - var cur = data.match(new RegExp("<" + f[0] + "[^>]*>([\\s\\S]*?)<\/" + f[0] + ">")); + var cur = str_match_xml(data, f[0]); if(cur && cur.length > 0) q[f[1]] = cur[1]; break; } @@ -5845,7 +5982,7 @@ function write_ext_props(cp/*::, opts*/)/*:string*/ { return o.join(""); } /* 15.2.12.2 Custom File Properties Part */ -var custregex = /<[^>]+>[^<]*/g; +var custregex = /<[^<>]+>[^<]*/g; function parse_cust_props(data/*:string*/, opts) { var p = {}, name = ""; var m = data.match(custregex); @@ -6234,8 +6371,8 @@ function parse_PropertySet(blob, PIDSI) { /* [MS-OSHARED] 2.3.3.2.3.1.2 + PROPVARIANT */ switch(blob[blob.l]) { case 0x41 /*VT_BLOB*/: blob.l += 4; val = parse_BLOB(blob); break; - case 0x1E /*VT_LPSTR*/: blob.l += 4; val = parse_VtString(blob, blob[blob.l-4]).replace(/\u0000+$/,""); break; - case 0x1F /*VT_LPWSTR*/: blob.l += 4; val = parse_VtString(blob, blob[blob.l-4]).replace(/\u0000+$/,""); break; + case 0x1E /*VT_LPSTR*/: blob.l += 4; val = parse_VtString(blob, blob[blob.l-4]).replace(/(^|[^\u0000])\u0000+$/,"$1"); break; + case 0x1F /*VT_LPWSTR*/: blob.l += 4; val = parse_VtString(blob, blob[blob.l-4]).replace(/(^|[^\u0000])\u0000+$/,"$1"); break; case 0x03 /*VT_I4*/: blob.l += 4; val = blob.read_shift(4, 'i'); break; case 0x13 /*VT_UI4*/: blob.l += 4; val = blob.read_shift(4); break; case 0x05 /*VT_R8*/: blob.l += 4; val = blob.read_shift(8, 'f'); break; @@ -6761,25 +6898,25 @@ function parse_FtCf(blob) { /* [MS-XLS] 2.5.140 - 2.5.154 and friends */ function parse_FtSkip(blob) { blob.l += 2; blob.l += blob.read_shift(2); } var FtTab = { - /*::[*/0x00/*::]*/: parse_FtSkip, /* FtEnd */ - /*::[*/0x04/*::]*/: parse_FtSkip, /* FtMacro */ - /*::[*/0x05/*::]*/: parse_FtSkip, /* FtButton */ - /*::[*/0x06/*::]*/: parse_FtSkip, /* FtGmo */ - /*::[*/0x07/*::]*/: parse_FtCf, /* FtCf */ - /*::[*/0x08/*::]*/: parse_FtSkip, /* FtPioGrbit */ - /*::[*/0x09/*::]*/: parse_FtSkip, /* FtPictFmla */ - /*::[*/0x0A/*::]*/: parse_FtSkip, /* FtCbls */ - /*::[*/0x0B/*::]*/: parse_FtSkip, /* FtRbo */ - /*::[*/0x0C/*::]*/: parse_FtSkip, /* FtSbs */ - /*::[*/0x0D/*::]*/: parse_FtNts, /* FtNts */ - /*::[*/0x0E/*::]*/: parse_FtSkip, /* FtSbsFmla */ - /*::[*/0x0F/*::]*/: parse_FtSkip, /* FtGboData */ - /*::[*/0x10/*::]*/: parse_FtSkip, /* FtEdoData */ - /*::[*/0x11/*::]*/: parse_FtSkip, /* FtRboData */ - /*::[*/0x12/*::]*/: parse_FtSkip, /* FtCblsData */ - /*::[*/0x13/*::]*/: parse_FtSkip, /* FtLbsData */ - /*::[*/0x14/*::]*/: parse_FtSkip, /* FtCblsFmla */ - /*::[*/0x15/*::]*/: parse_FtCmo + 0x00: parse_FtSkip, /* FtEnd */ + 0x04: parse_FtSkip, /* FtMacro */ + 0x05: parse_FtSkip, /* FtButton */ + 0x06: parse_FtSkip, /* FtGmo */ + 0x07: parse_FtCf, /* FtCf */ + 0x08: parse_FtSkip, /* FtPioGrbit */ + 0x09: parse_FtSkip, /* FtPictFmla */ + 0x0A: parse_FtSkip, /* FtCbls */ + 0x0B: parse_FtSkip, /* FtRbo */ + 0x0C: parse_FtSkip, /* FtSbs */ + 0x0D: parse_FtNts, /* FtNts */ + 0x0E: parse_FtSkip, /* FtSbsFmla */ + 0x0F: parse_FtSkip, /* FtGboData */ + 0x10: parse_FtSkip, /* FtEdoData */ + 0x11: parse_FtSkip, /* FtRboData */ + 0x12: parse_FtSkip, /* FtCblsData */ + 0x13: parse_FtSkip, /* FtLbsData */ + 0x14: parse_FtSkip, /* FtCblsFmla */ + 0x15: parse_FtCmo }; function parse_FtArray(blob, length/*::, ot*/) { var tgt = blob.l + length; @@ -7829,60 +7966,60 @@ function parse_BIFF4SheetInfo(blob/*::, length, opts*/) { var DBF = /*#__PURE__*/(function() { var dbf_codepage_map = { /* Code Pages Supported by Visual FoxPro */ - /*::[*/0x01/*::]*/: 437, /*::[*/0x02/*::]*/: 850, - /*::[*/0x03/*::]*/: 1252, /*::[*/0x04/*::]*/: 10000, - /*::[*/0x64/*::]*/: 852, /*::[*/0x65/*::]*/: 866, - /*::[*/0x66/*::]*/: 865, /*::[*/0x67/*::]*/: 861, - /*::[*/0x68/*::]*/: 895, /*::[*/0x69/*::]*/: 620, - /*::[*/0x6A/*::]*/: 737, /*::[*/0x6B/*::]*/: 857, - /*::[*/0x78/*::]*/: 950, /*::[*/0x79/*::]*/: 949, - /*::[*/0x7A/*::]*/: 936, /*::[*/0x7B/*::]*/: 932, - /*::[*/0x7C/*::]*/: 874, /*::[*/0x7D/*::]*/: 1255, - /*::[*/0x7E/*::]*/: 1256, /*::[*/0x96/*::]*/: 10007, - /*::[*/0x97/*::]*/: 10029, /*::[*/0x98/*::]*/: 10006, - /*::[*/0xC8/*::]*/: 1250, /*::[*/0xC9/*::]*/: 1251, - /*::[*/0xCA/*::]*/: 1254, /*::[*/0xCB/*::]*/: 1253, + 0x01: 437, 0x02: 850, + 0x03: 1252, 0x04: 10000, + 0x64: 852, 0x65: 866, + 0x66: 865, 0x67: 861, + 0x68: 895, 0x69: 620, + 0x6A: 737, 0x6B: 857, + 0x78: 950, 0x79: 949, + 0x7A: 936, 0x7B: 932, + 0x7C: 874, 0x7D: 1255, + 0x7E: 1256, 0x96: 10007, + 0x97: 10029, 0x98: 10006, + 0xC8: 1250, 0xC9: 1251, + 0xCA: 1254, 0xCB: 1253, /* shapefile DBF extension */ - /*::[*/0x00/*::]*/: 20127, /*::[*/0x08/*::]*/: 865, - /*::[*/0x09/*::]*/: 437, /*::[*/0x0A/*::]*/: 850, - /*::[*/0x0B/*::]*/: 437, /*::[*/0x0D/*::]*/: 437, - /*::[*/0x0E/*::]*/: 850, /*::[*/0x0F/*::]*/: 437, - /*::[*/0x10/*::]*/: 850, /*::[*/0x11/*::]*/: 437, - /*::[*/0x12/*::]*/: 850, /*::[*/0x13/*::]*/: 932, - /*::[*/0x14/*::]*/: 850, /*::[*/0x15/*::]*/: 437, - /*::[*/0x16/*::]*/: 850, /*::[*/0x17/*::]*/: 865, - /*::[*/0x18/*::]*/: 437, /*::[*/0x19/*::]*/: 437, - /*::[*/0x1A/*::]*/: 850, /*::[*/0x1B/*::]*/: 437, - /*::[*/0x1C/*::]*/: 863, /*::[*/0x1D/*::]*/: 850, - /*::[*/0x1F/*::]*/: 852, /*::[*/0x22/*::]*/: 852, - /*::[*/0x23/*::]*/: 852, /*::[*/0x24/*::]*/: 860, - /*::[*/0x25/*::]*/: 850, /*::[*/0x26/*::]*/: 866, - /*::[*/0x37/*::]*/: 850, /*::[*/0x40/*::]*/: 852, - /*::[*/0x4D/*::]*/: 936, /*::[*/0x4E/*::]*/: 949, - /*::[*/0x4F/*::]*/: 950, /*::[*/0x50/*::]*/: 874, - /*::[*/0x57/*::]*/: 1252, /*::[*/0x58/*::]*/: 1252, - /*::[*/0x59/*::]*/: 1252, /*::[*/0x6C/*::]*/: 863, - /*::[*/0x86/*::]*/: 737, /*::[*/0x87/*::]*/: 852, - /*::[*/0x88/*::]*/: 857, /*::[*/0xCC/*::]*/: 1257, + 0x00: 20127, 0x08: 865, + 0x09: 437, 0x0A: 850, + 0x0B: 437, 0x0D: 437, + 0x0E: 850, 0x0F: 437, + 0x10: 850, 0x11: 437, + 0x12: 850, 0x13: 932, + 0x14: 850, 0x15: 437, + 0x16: 850, 0x17: 865, + 0x18: 437, 0x19: 437, + 0x1A: 850, 0x1B: 437, + 0x1C: 863, 0x1D: 850, + 0x1F: 852, 0x22: 852, + 0x23: 852, 0x24: 860, + 0x25: 850, 0x26: 866, + 0x37: 850, 0x40: 852, + 0x4D: 936, 0x4E: 949, + 0x4F: 950, 0x50: 874, + 0x57: 1252, 0x58: 1252, + 0x59: 1252, 0x6C: 863, + 0x86: 737, 0x87: 852, + 0x88: 857, 0xCC: 1257, - /*::[*/0xFF/*::]*/: 16969 + 0xFF: 16969 }; var dbf_reverse_map = evert({ - /*::[*/0x01/*::]*/: 437, /*::[*/0x02/*::]*/: 850, - /*::[*/0x03/*::]*/: 1252, /*::[*/0x04/*::]*/: 10000, - /*::[*/0x64/*::]*/: 852, /*::[*/0x65/*::]*/: 866, - /*::[*/0x66/*::]*/: 865, /*::[*/0x67/*::]*/: 861, - /*::[*/0x68/*::]*/: 895, /*::[*/0x69/*::]*/: 620, - /*::[*/0x6A/*::]*/: 737, /*::[*/0x6B/*::]*/: 857, - /*::[*/0x78/*::]*/: 950, /*::[*/0x79/*::]*/: 949, - /*::[*/0x7A/*::]*/: 936, /*::[*/0x7B/*::]*/: 932, - /*::[*/0x7C/*::]*/: 874, /*::[*/0x7D/*::]*/: 1255, - /*::[*/0x7E/*::]*/: 1256, /*::[*/0x96/*::]*/: 10007, - /*::[*/0x97/*::]*/: 10029, /*::[*/0x98/*::]*/: 10006, - /*::[*/0xC8/*::]*/: 1250, /*::[*/0xC9/*::]*/: 1251, - /*::[*/0xCA/*::]*/: 1254, /*::[*/0xCB/*::]*/: 1253, - /*::[*/0x00/*::]*/: 20127 + 0x01: 437, 0x02: 850, + 0x03: 1252, 0x04: 10000, + 0x64: 852, 0x65: 866, + 0x66: 865, 0x67: 861, + 0x68: 895, 0x69: 620, + 0x6A: 737, 0x6B: 857, + 0x78: 950, 0x79: 949, + 0x7A: 936, 0x7B: 932, + 0x7C: 874, 0x7D: 1255, + 0x7E: 1256, 0x96: 10007, + 0x97: 10029, 0x98: 10006, + 0xC8: 1250, 0xC9: 1251, + 0xCA: 1254, 0xCB: 1253, + 0x00: 20127 }); /* TODO: find an actual specification */ function dbf_to_aoa(buf, opts)/*:AOA*/ { @@ -7945,7 +8082,7 @@ function dbf_to_aoa(buf, opts)/*:AOA*/ { var ww = l7 ? 32 : 11; while(d.l < hend && d[d.l] != 0x0d) { field = ({}/*:any*/); - field.name = (typeof $cptable !== "undefined" ? $cptable.utils.decode(current_cp, d.slice(d.l, d.l+ww)) : a2s(d.slice(d.l, d.l + ww))).replace(/[\u0000\r\n].*$/g,""); + field.name = (typeof $cptable !== "undefined" ? $cptable.utils.decode(current_cp, d.slice(d.l, d.l+ww)) : a2s(d.slice(d.l, d.l + ww))).replace(/[\u0000\r\n][\S\s]*$/g,""); d.l += ww; field.type = String.fromCharCode(d.read_shift(1)); if(ft != 0x02 && !l7) field.offset = d.read_shift(4); @@ -8003,7 +8140,7 @@ function dbf_to_aoa(buf, opts)/*:AOA*/ { switch(fields[C].type) { case 'C': // NOTE: it is conventional to write ' / / ' for empty dates - if(s.trim().length) out[R][C] = s.replace(/\s+$/,""); + if(s.trim().length) out[R][C] = s.replace(/([^\s])\s+$/,"$1"); break; case 'D': if(s.length === 8) { @@ -8231,9 +8368,9 @@ var SYLK = /*#__PURE__*/(function() { KC:'Ç', Kc:'ç', q:'æ', z:'œ', a:'Æ', j:'Œ', DN:209, Dn:241, Hy:255, S:169, c:170, R:174, "B ":180, - /*::[*/0/*::]*/:176, /*::[*/1/*::]*/:177, /*::[*/2/*::]*/:178, - /*::[*/3/*::]*/:179, /*::[*/5/*::]*/:181, /*::[*/6/*::]*/:182, - /*::[*/7/*::]*/:183, Q:185, k:186, b:208, i:216, l:222, s:240, y:248, + 0:176, 1:177, 2:178, + 3:179, 5:181, 6:182, + 7:183, Q:185, k:186, b:208, i:216, l:222, s:240, y:248, "!":161, '"':162, "#":163, "(":164, "%":165, "'":167, "H ":168, "+":171, ";":187, "<":188, "=":189, ">":190, "?":191, "{":223 }/*:any*/); @@ -8310,6 +8447,7 @@ var SYLK = /*#__PURE__*/(function() { val = record[rj].slice(1); if(val.charAt(0) === '"') { val = val.slice(1,val.length - 1); cell_t = "s"; } else if(val === 'TRUE' || val === 'FALSE') { val = val === 'TRUE'; cell_t = "b"; } + else if(val.charAt(0) == "#" && RBErr[val] != null) { cell_t = "e"; val = RBErr[val]; } else if(!isNaN(fuzzynum(val))) { val = fuzzynum(val); cell_t = "n"; if(next_cell_format !== null && fmt_is_date(next_cell_format) && opts.cellDates) { @@ -8422,7 +8560,7 @@ var SYLK = /*#__PURE__*/(function() { o += (cell.v||0); if(cell.f && !cell.F) o += ";E" + a1_to_rc(cell.f, {r:R, c:C}); break; case 'b': o += cell.v ? "TRUE" : "FALSE"; break; - case 'e': o += cell.w || cell.v; break; + case 'e': o += cell.w || BErr[cell.v] || cell.v; break; case 'd': o += datenum(parseDate(cell.v, date1904), date1904); break; case 's': o += '"' + (cell.v == null ? "" : String(cell.v)).replace(/"/g,"").replace(/;/g, ";;") + '"'; break; } @@ -8767,18 +8905,18 @@ var PRN = /*#__PURE__*/(function() { // List of accepted CSV separators var guess_seps = { - /*::[*/0x2C/*::]*/: ',', - /*::[*/0x09/*::]*/: "\t", - /*::[*/0x3B/*::]*/: ';', - /*::[*/0x7C/*::]*/: '|' + 0x2C: ',', + 0x09: "\t", + 0x3B: ';', + 0x7C: '|' }; // CSV separator weights to be used in case of equal numbers var guess_sep_weights = { - /*::[*/0x2C/*::]*/: 3, - /*::[*/0x09/*::]*/: 2, - /*::[*/0x3B/*::]*/: 1, - /*::[*/0x7C/*::]*/: 0 + 0x2C: 3, + 0x09: 2, + 0x3B: 1, + 0x7C: 0 }; function guess_sep(str) { @@ -8947,7 +9085,7 @@ function read_wb_ID(d, opts) { return out; } catch(e) { o.WTF = OLD_WTF; - if(!e.message.match(/SYLK bad record ID/) && OLD_WTF) throw e; + if((e.message.indexOf("SYLK bad record ID") == -1) && OLD_WTF) throw e; return PRN.to_workbook(d, opts); } } @@ -9717,68 +9855,68 @@ var WK_ = /*#__PURE__*/(function() { } var WK1Enum = { - /*::[*/0x0000/*::]*/: { n:"BOF", f:parseuint16 }, - /*::[*/0x0001/*::]*/: { n:"EOF" }, - /*::[*/0x0002/*::]*/: { n:"CALCMODE" }, - /*::[*/0x0003/*::]*/: { n:"CALCORDER" }, - /*::[*/0x0004/*::]*/: { n:"SPLIT" }, - /*::[*/0x0005/*::]*/: { n:"SYNC" }, - /*::[*/0x0006/*::]*/: { n:"RANGE", f:parse_RANGE }, - /*::[*/0x0007/*::]*/: { n:"WINDOW1" }, - /*::[*/0x0008/*::]*/: { n:"COLW1" }, - /*::[*/0x0009/*::]*/: { n:"WINTWO" }, - /*::[*/0x000A/*::]*/: { n:"COLW2" }, - /*::[*/0x000B/*::]*/: { n:"NAME" }, - /*::[*/0x000C/*::]*/: { n:"BLANK" }, - /*::[*/0x000D/*::]*/: { n:"INTEGER", f:parse_INTEGER }, - /*::[*/0x000E/*::]*/: { n:"NUMBER", f:parse_NUMBER }, - /*::[*/0x000F/*::]*/: { n:"LABEL", f:parse_LABEL }, - /*::[*/0x0010/*::]*/: { n:"FORMULA", f:parse_FORMULA }, - /*::[*/0x0018/*::]*/: { n:"TABLE" }, - /*::[*/0x0019/*::]*/: { n:"ORANGE" }, - /*::[*/0x001A/*::]*/: { n:"PRANGE" }, - /*::[*/0x001B/*::]*/: { n:"SRANGE" }, - /*::[*/0x001C/*::]*/: { n:"FRANGE" }, - /*::[*/0x001D/*::]*/: { n:"KRANGE1" }, - /*::[*/0x0020/*::]*/: { n:"HRANGE" }, - /*::[*/0x0023/*::]*/: { n:"KRANGE2" }, - /*::[*/0x0024/*::]*/: { n:"PROTEC" }, - /*::[*/0x0025/*::]*/: { n:"FOOTER" }, - /*::[*/0x0026/*::]*/: { n:"HEADER" }, - /*::[*/0x0027/*::]*/: { n:"SETUP" }, - /*::[*/0x0028/*::]*/: { n:"MARGINS" }, - /*::[*/0x0029/*::]*/: { n:"LABELFMT" }, - /*::[*/0x002A/*::]*/: { n:"TITLES" }, - /*::[*/0x002B/*::]*/: { n:"SHEETJS" }, - /*::[*/0x002D/*::]*/: { n:"GRAPH" }, - /*::[*/0x002E/*::]*/: { n:"NGRAPH" }, - /*::[*/0x002F/*::]*/: { n:"CALCCOUNT" }, - /*::[*/0x0030/*::]*/: { n:"UNFORMATTED" }, - /*::[*/0x0031/*::]*/: { n:"CURSORW12" }, - /*::[*/0x0032/*::]*/: { n:"WINDOW" }, - /*::[*/0x0033/*::]*/: { n:"STRING", f:parse_STRING }, - /*::[*/0x0037/*::]*/: { n:"PASSWORD" }, - /*::[*/0x0038/*::]*/: { n:"LOCKED" }, - /*::[*/0x003C/*::]*/: { n:"QUERY" }, - /*::[*/0x003D/*::]*/: { n:"QUERYNAME" }, - /*::[*/0x003E/*::]*/: { n:"PRINT" }, - /*::[*/0x003F/*::]*/: { n:"PRINTNAME" }, - /*::[*/0x0040/*::]*/: { n:"GRAPH2" }, - /*::[*/0x0041/*::]*/: { n:"GRAPHNAME" }, - /*::[*/0x0042/*::]*/: { n:"ZOOM" }, - /*::[*/0x0043/*::]*/: { n:"SYMSPLIT" }, - /*::[*/0x0044/*::]*/: { n:"NSROWS" }, - /*::[*/0x0045/*::]*/: { n:"NSCOLS" }, - /*::[*/0x0046/*::]*/: { n:"RULER" }, - /*::[*/0x0047/*::]*/: { n:"NNAME" }, - /*::[*/0x0048/*::]*/: { n:"ACOMM" }, - /*::[*/0x0049/*::]*/: { n:"AMACRO" }, - /*::[*/0x004A/*::]*/: { n:"PARSE" }, + 0x0000: { n:"BOF", f:parseuint16 }, + 0x0001: { n:"EOF" }, + 0x0002: { n:"CALCMODE" }, + 0x0003: { n:"CALCORDER" }, + 0x0004: { n:"SPLIT" }, + 0x0005: { n:"SYNC" }, + 0x0006: { n:"RANGE", f:parse_RANGE }, + 0x0007: { n:"WINDOW1" }, + 0x0008: { n:"COLW1" }, + 0x0009: { n:"WINTWO" }, + 0x000A: { n:"COLW2" }, + 0x000B: { n:"NAME" }, + 0x000C: { n:"BLANK" }, + 0x000D: { n:"INTEGER", f:parse_INTEGER }, + 0x000E: { n:"NUMBER", f:parse_NUMBER }, + 0x000F: { n:"LABEL", f:parse_LABEL }, + 0x0010: { n:"FORMULA", f:parse_FORMULA }, + 0x0018: { n:"TABLE" }, + 0x0019: { n:"ORANGE" }, + 0x001A: { n:"PRANGE" }, + 0x001B: { n:"SRANGE" }, + 0x001C: { n:"FRANGE" }, + 0x001D: { n:"KRANGE1" }, + 0x0020: { n:"HRANGE" }, + 0x0023: { n:"KRANGE2" }, + 0x0024: { n:"PROTEC" }, + 0x0025: { n:"FOOTER" }, + 0x0026: { n:"HEADER" }, + 0x0027: { n:"SETUP" }, + 0x0028: { n:"MARGINS" }, + 0x0029: { n:"LABELFMT" }, + 0x002A: { n:"TITLES" }, + 0x002B: { n:"SHEETJS" }, + 0x002D: { n:"GRAPH" }, + 0x002E: { n:"NGRAPH" }, + 0x002F: { n:"CALCCOUNT" }, + 0x0030: { n:"UNFORMATTED" }, + 0x0031: { n:"CURSORW12" }, + 0x0032: { n:"WINDOW" }, + 0x0033: { n:"STRING", f:parse_STRING }, + 0x0037: { n:"PASSWORD" }, + 0x0038: { n:"LOCKED" }, + 0x003C: { n:"QUERY" }, + 0x003D: { n:"QUERYNAME" }, + 0x003E: { n:"PRINT" }, + 0x003F: { n:"PRINTNAME" }, + 0x0040: { n:"GRAPH2" }, + 0x0041: { n:"GRAPHNAME" }, + 0x0042: { n:"ZOOM" }, + 0x0043: { n:"SYMSPLIT" }, + 0x0044: { n:"NSROWS" }, + 0x0045: { n:"NSCOLS" }, + 0x0046: { n:"RULER" }, + 0x0047: { n:"NNAME" }, + 0x0048: { n:"ACOMM" }, + 0x0049: { n:"AMACRO" }, + 0x004A: { n:"PARSE" }, // 0x0064 - /*::[*/0x0066/*::]*/: { n:"PRANGES??" }, - /*::[*/0x0067/*::]*/: { n:"RRANGES??" }, - /*::[*/0x0068/*::]*/: { n:"FNAME??" }, - /*::[*/0x0069/*::]*/: { n:"MRANGES??" }, + 0x0066: { n:"PRANGES??" }, + 0x0067: { n:"RRANGES??" }, + 0x0068: { n:"FNAME??" }, + 0x0069: { n:"MRANGES??" }, // 0x0096 // 0x0099 // 0x009A @@ -9787,160 +9925,160 @@ var WK_ = /*#__PURE__*/(function() { // 0x00C0 // 0x00C7 // 0x00C9 - /*::[*/0x00CC/*::]*/: { n:"SHEETNAMECS", f:parse_SHEETNAMECS }, + 0x00CC: { n:"SHEETNAMECS", f:parse_SHEETNAMECS }, // 0x00CD - /*::[*/0x00DE/*::]*/: { n:"SHEETNAMELP", f:parse_SHEETNAMELP }, - /*::[*/0x00FF/*::]*/: { n:"BOF", f:parseuint16 }, - /*::[*/0x5402/*::]*/: { n:"WKSNF", f:parseuint16 }, - /*::[*/0xFFFF/*::]*/: { n:"" } + 0x00DE: { n:"SHEETNAMELP", f:parse_SHEETNAMELP }, + 0x00FF: { n:"BOF", f:parseuint16 }, + 0x5402: { n:"WKSNF", f:parseuint16 }, + 0xFFFF: { n:"" } }; var WK3Enum = { - /*::[*/0x0000/*::]*/: { n:"BOF" }, - /*::[*/0x0001/*::]*/: { n:"EOF" }, - /*::[*/0x0002/*::]*/: { n:"PASSWORD" }, - /*::[*/0x0003/*::]*/: { n:"CALCSET" }, - /*::[*/0x0004/*::]*/: { n:"WINDOWSET" }, - /*::[*/0x0005/*::]*/: { n:"SHEETCELLPTR" }, - /*::[*/0x0006/*::]*/: { n:"SHEETLAYOUT" }, - /*::[*/0x0007/*::]*/: { n:"COLUMNWIDTH" }, - /*::[*/0x0008/*::]*/: { n:"HIDDENCOLUMN" }, - /*::[*/0x0009/*::]*/: { n:"USERRANGE" }, - /*::[*/0x000A/*::]*/: { n:"SYSTEMRANGE" }, - /*::[*/0x000B/*::]*/: { n:"ZEROFORCE" }, - /*::[*/0x000C/*::]*/: { n:"SORTKEYDIR" }, - /*::[*/0x000D/*::]*/: { n:"FILESEAL" }, - /*::[*/0x000E/*::]*/: { n:"DATAFILLNUMS" }, - /*::[*/0x000F/*::]*/: { n:"PRINTMAIN" }, - /*::[*/0x0010/*::]*/: { n:"PRINTSTRING" }, - /*::[*/0x0011/*::]*/: { n:"GRAPHMAIN" }, - /*::[*/0x0012/*::]*/: { n:"GRAPHSTRING" }, - /*::[*/0x0013/*::]*/: { n:"??" }, - /*::[*/0x0014/*::]*/: { n:"ERRCELL" }, - /*::[*/0x0015/*::]*/: { n:"NACELL" }, - /*::[*/0x0016/*::]*/: { n:"LABEL16", f:parse_LABEL_16}, - /*::[*/0x0017/*::]*/: { n:"NUMBER17", f:parse_NUMBER_17 }, - /*::[*/0x0018/*::]*/: { n:"NUMBER18", f:parse_NUMBER_18 }, - /*::[*/0x0019/*::]*/: { n:"FORMULA19", f:parse_FORMULA_19}, - /*::[*/0x001A/*::]*/: { n:"FORMULA1A" }, - /*::[*/0x001B/*::]*/: { n:"XFORMAT", f:parse_XFORMAT }, - /*::[*/0x001C/*::]*/: { n:"DTLABELMISC" }, - /*::[*/0x001D/*::]*/: { n:"DTLABELCELL" }, - /*::[*/0x001E/*::]*/: { n:"GRAPHWINDOW" }, - /*::[*/0x001F/*::]*/: { n:"CPA" }, - /*::[*/0x0020/*::]*/: { n:"LPLAUTO" }, - /*::[*/0x0021/*::]*/: { n:"QUERY" }, - /*::[*/0x0022/*::]*/: { n:"HIDDENSHEET" }, - /*::[*/0x0023/*::]*/: { n:"??" }, - /*::[*/0x0025/*::]*/: { n:"NUMBER25", f:parse_NUMBER_25 }, - /*::[*/0x0026/*::]*/: { n:"??" }, - /*::[*/0x0027/*::]*/: { n:"NUMBER27", f:parse_NUMBER_27 }, - /*::[*/0x0028/*::]*/: { n:"FORMULA28", f:parse_FORMULA_28 }, - /*::[*/0x008E/*::]*/: { n:"??" }, - /*::[*/0x0093/*::]*/: { n:"??" }, - /*::[*/0x0096/*::]*/: { n:"??" }, - /*::[*/0x0097/*::]*/: { n:"??" }, - /*::[*/0x0098/*::]*/: { n:"??" }, - /*::[*/0x0099/*::]*/: { n:"??" }, - /*::[*/0x009A/*::]*/: { n:"??" }, - /*::[*/0x009B/*::]*/: { n:"??" }, - /*::[*/0x009C/*::]*/: { n:"??" }, - /*::[*/0x00A3/*::]*/: { n:"??" }, - /*::[*/0x00AE/*::]*/: { n:"??" }, - /*::[*/0x00AF/*::]*/: { n:"??" }, - /*::[*/0x00B0/*::]*/: { n:"??" }, - /*::[*/0x00B1/*::]*/: { n:"??" }, - /*::[*/0x00B8/*::]*/: { n:"??" }, - /*::[*/0x00B9/*::]*/: { n:"??" }, - /*::[*/0x00BA/*::]*/: { n:"??" }, - /*::[*/0x00BB/*::]*/: { n:"??" }, - /*::[*/0x00BC/*::]*/: { n:"??" }, - /*::[*/0x00C3/*::]*/: { n:"??" }, - /*::[*/0x00C9/*::]*/: { n:"??" }, - /*::[*/0x00CC/*::]*/: { n:"SHEETNAMECS", f:parse_SHEETNAMECS }, - /*::[*/0x00CD/*::]*/: { n:"??" }, - /*::[*/0x00CE/*::]*/: { n:"??" }, - /*::[*/0x00CF/*::]*/: { n:"??" }, - /*::[*/0x00D0/*::]*/: { n:"??" }, - /*::[*/0x0100/*::]*/: { n:"??" }, - /*::[*/0x0103/*::]*/: { n:"??" }, - /*::[*/0x0104/*::]*/: { n:"??" }, - /*::[*/0x0105/*::]*/: { n:"??" }, - /*::[*/0x0106/*::]*/: { n:"??" }, - /*::[*/0x0107/*::]*/: { n:"??" }, - /*::[*/0x0109/*::]*/: { n:"??" }, - /*::[*/0x010A/*::]*/: { n:"??" }, - /*::[*/0x010B/*::]*/: { n:"??" }, - /*::[*/0x010C/*::]*/: { n:"??" }, - /*::[*/0x010E/*::]*/: { n:"??" }, - /*::[*/0x010F/*::]*/: { n:"??" }, - /*::[*/0x0180/*::]*/: { n:"??" }, - /*::[*/0x0185/*::]*/: { n:"??" }, - /*::[*/0x0186/*::]*/: { n:"??" }, - /*::[*/0x0189/*::]*/: { n:"??" }, - /*::[*/0x018C/*::]*/: { n:"??" }, - /*::[*/0x0200/*::]*/: { n:"??" }, - /*::[*/0x0202/*::]*/: { n:"??" }, - /*::[*/0x0201/*::]*/: { n:"??" }, - /*::[*/0x0204/*::]*/: { n:"??" }, - /*::[*/0x0205/*::]*/: { n:"??" }, - /*::[*/0x0280/*::]*/: { n:"??" }, - /*::[*/0x0281/*::]*/: { n:"??" }, - /*::[*/0x0282/*::]*/: { n:"??" }, - /*::[*/0x0283/*::]*/: { n:"??" }, - /*::[*/0x0284/*::]*/: { n:"??" }, - /*::[*/0x0285/*::]*/: { n:"??" }, - /*::[*/0x0286/*::]*/: { n:"??" }, - /*::[*/0x0287/*::]*/: { n:"??" }, - /*::[*/0x0288/*::]*/: { n:"??" }, - /*::[*/0x0292/*::]*/: { n:"??" }, - /*::[*/0x0293/*::]*/: { n:"??" }, - /*::[*/0x0294/*::]*/: { n:"??" }, - /*::[*/0x0295/*::]*/: { n:"??" }, - /*::[*/0x0296/*::]*/: { n:"??" }, - /*::[*/0x0299/*::]*/: { n:"??" }, - /*::[*/0x029A/*::]*/: { n:"??" }, - /*::[*/0x0300/*::]*/: { n:"??" }, - /*::[*/0x0304/*::]*/: { n:"??" }, - /*::[*/0x0601/*::]*/: { n:"SHEETINFOQP", f:parse_SHEETINFOQP }, - /*::[*/0x0640/*::]*/: { n:"??" }, - /*::[*/0x0642/*::]*/: { n:"??" }, - /*::[*/0x0701/*::]*/: { n:"??" }, - /*::[*/0x0702/*::]*/: { n:"??" }, - /*::[*/0x0703/*::]*/: { n:"??" }, - /*::[*/0x0704/*::]*/: { n:"??" }, - /*::[*/0x0780/*::]*/: { n:"??" }, - /*::[*/0x0800/*::]*/: { n:"??" }, - /*::[*/0x0801/*::]*/: { n:"??" }, - /*::[*/0x0804/*::]*/: { n:"??" }, - /*::[*/0x0A80/*::]*/: { n:"??" }, - /*::[*/0x2AF6/*::]*/: { n:"??" }, - /*::[*/0x3231/*::]*/: { n:"??" }, - /*::[*/0x6E49/*::]*/: { n:"??" }, - /*::[*/0x6F44/*::]*/: { n:"??" }, - /*::[*/0xFFFF/*::]*/: { n:"" } + 0x0000: { n:"BOF" }, + 0x0001: { n:"EOF" }, + 0x0002: { n:"PASSWORD" }, + 0x0003: { n:"CALCSET" }, + 0x0004: { n:"WINDOWSET" }, + 0x0005: { n:"SHEETCELLPTR" }, + 0x0006: { n:"SHEETLAYOUT" }, + 0x0007: { n:"COLUMNWIDTH" }, + 0x0008: { n:"HIDDENCOLUMN" }, + 0x0009: { n:"USERRANGE" }, + 0x000A: { n:"SYSTEMRANGE" }, + 0x000B: { n:"ZEROFORCE" }, + 0x000C: { n:"SORTKEYDIR" }, + 0x000D: { n:"FILESEAL" }, + 0x000E: { n:"DATAFILLNUMS" }, + 0x000F: { n:"PRINTMAIN" }, + 0x0010: { n:"PRINTSTRING" }, + 0x0011: { n:"GRAPHMAIN" }, + 0x0012: { n:"GRAPHSTRING" }, + 0x0013: { n:"??" }, + 0x0014: { n:"ERRCELL" }, + 0x0015: { n:"NACELL" }, + 0x0016: { n:"LABEL16", f:parse_LABEL_16}, + 0x0017: { n:"NUMBER17", f:parse_NUMBER_17 }, + 0x0018: { n:"NUMBER18", f:parse_NUMBER_18 }, + 0x0019: { n:"FORMULA19", f:parse_FORMULA_19}, + 0x001A: { n:"FORMULA1A" }, + 0x001B: { n:"XFORMAT", f:parse_XFORMAT }, + 0x001C: { n:"DTLABELMISC" }, + 0x001D: { n:"DTLABELCELL" }, + 0x001E: { n:"GRAPHWINDOW" }, + 0x001F: { n:"CPA" }, + 0x0020: { n:"LPLAUTO" }, + 0x0021: { n:"QUERY" }, + 0x0022: { n:"HIDDENSHEET" }, + 0x0023: { n:"??" }, + 0x0025: { n:"NUMBER25", f:parse_NUMBER_25 }, + 0x0026: { n:"??" }, + 0x0027: { n:"NUMBER27", f:parse_NUMBER_27 }, + 0x0028: { n:"FORMULA28", f:parse_FORMULA_28 }, + 0x008E: { n:"??" }, + 0x0093: { n:"??" }, + 0x0096: { n:"??" }, + 0x0097: { n:"??" }, + 0x0098: { n:"??" }, + 0x0099: { n:"??" }, + 0x009A: { n:"??" }, + 0x009B: { n:"??" }, + 0x009C: { n:"??" }, + 0x00A3: { n:"??" }, + 0x00AE: { n:"??" }, + 0x00AF: { n:"??" }, + 0x00B0: { n:"??" }, + 0x00B1: { n:"??" }, + 0x00B8: { n:"??" }, + 0x00B9: { n:"??" }, + 0x00BA: { n:"??" }, + 0x00BB: { n:"??" }, + 0x00BC: { n:"??" }, + 0x00C3: { n:"??" }, + 0x00C9: { n:"??" }, + 0x00CC: { n:"SHEETNAMECS", f:parse_SHEETNAMECS }, + 0x00CD: { n:"??" }, + 0x00CE: { n:"??" }, + 0x00CF: { n:"??" }, + 0x00D0: { n:"??" }, + 0x0100: { n:"??" }, + 0x0103: { n:"??" }, + 0x0104: { n:"??" }, + 0x0105: { n:"??" }, + 0x0106: { n:"??" }, + 0x0107: { n:"??" }, + 0x0109: { n:"??" }, + 0x010A: { n:"??" }, + 0x010B: { n:"??" }, + 0x010C: { n:"??" }, + 0x010E: { n:"??" }, + 0x010F: { n:"??" }, + 0x0180: { n:"??" }, + 0x0185: { n:"??" }, + 0x0186: { n:"??" }, + 0x0189: { n:"??" }, + 0x018C: { n:"??" }, + 0x0200: { n:"??" }, + 0x0202: { n:"??" }, + 0x0201: { n:"??" }, + 0x0204: { n:"??" }, + 0x0205: { n:"??" }, + 0x0280: { n:"??" }, + 0x0281: { n:"??" }, + 0x0282: { n:"??" }, + 0x0283: { n:"??" }, + 0x0284: { n:"??" }, + 0x0285: { n:"??" }, + 0x0286: { n:"??" }, + 0x0287: { n:"??" }, + 0x0288: { n:"??" }, + 0x0292: { n:"??" }, + 0x0293: { n:"??" }, + 0x0294: { n:"??" }, + 0x0295: { n:"??" }, + 0x0296: { n:"??" }, + 0x0299: { n:"??" }, + 0x029A: { n:"??" }, + 0x0300: { n:"??" }, + 0x0304: { n:"??" }, + 0x0601: { n:"SHEETINFOQP", f:parse_SHEETINFOQP }, + 0x0640: { n:"??" }, + 0x0642: { n:"??" }, + 0x0701: { n:"??" }, + 0x0702: { n:"??" }, + 0x0703: { n:"??" }, + 0x0704: { n:"??" }, + 0x0780: { n:"??" }, + 0x0800: { n:"??" }, + 0x0801: { n:"??" }, + 0x0804: { n:"??" }, + 0x0A80: { n:"??" }, + 0x2AF6: { n:"??" }, + 0x3231: { n:"??" }, + 0x6E49: { n:"??" }, + 0x6F44: { n:"??" }, + 0xFFFF: { n:"" } }; /* TODO: fill out and verify this table across QP versions */ var QPWNFTable = { - /*::[*/0x05/*::*/: "dd-mmm-yy", - /*::[*/0x06/*::*/: "dd-mmm", - /*::[*/0x07/*::*/: "mmm-yy", - /*::[*/0x08/*::*/: "mm/dd/yy", // Long Date Intl - /*::[*/0x0A/*::*/: "hh:mm:ss AM/PM", - /*::[*/0x0B/*::*/: "hh:mm AM/PM", - /*::[*/0x0E/*::*/: "dd-mmm-yyyy", - /*::[*/0x0F/*::*/: "mmm-yyyy", + 0x05: "dd-mmm-yy", + 0x06: "dd-mmm", + 0x07: "mmm-yy", + 0x08: "mm/dd/yy", // Long Date Intl + 0x0A: "hh:mm:ss AM/PM", + 0x0B: "hh:mm AM/PM", + 0x0E: "dd-mmm-yyyy", + 0x0F: "mmm-yyyy", /* It is suspected that the the low nybble specifies decimal places */ - /*::[*/0x0022/*::*/: "0.00", - /*::[*/0x0032/*::*/: "0.00;[Red]0.00", - /*::[*/0x0042/*::*/: "0.00;\(0.00\)", - /*::[*/0x0052/*::*/: "0.00;[Red]\(0.00\)", - /*::[*/0x00A2/*::*/: '"$"#,##0.00;\\("$"#,##0.00\\)', - /*::[*/0x0120/*::*/: '0%', - /*::[*/0x0130/*::*/: '0E+00', - /*::[*/0x0140/*::*/: '# ?/?' + 0x0022: "0.00", + 0x0032: "0.00;[Red]0.00", + 0x0042: "0.00;\(0.00\)", + 0x0052: "0.00;[Red]\(0.00\)", + 0x00A2: '"$"#,##0.00;\\("$"#,##0.00\\)', + 0x0120: '0%', + 0x0130: '0E+00', + 0x0140: '# ?/?' }; function parse_qpw_str(p) { @@ -10141,7 +10279,7 @@ function parse_rpr(rpr) { var pass = false; if(m) for(;i!=m.length; ++i) { var y = parsexmltag(m[i]); - switch(y[0].replace(/\w*:/g,"")) { + switch(y[0].replace(/<\w*:/g,"<")) { /* 18.8.12 condense CT_BooleanProperty */ /* ** not required . */ case '<condense': break; @@ -10244,15 +10382,14 @@ function parse_rpr(rpr) { } var parse_rs = /*#__PURE__*/(function() { - var tregex = matchtag("t"), rpregex = matchtag("rPr"); /* 18.4.4 r CT_RElt */ function parse_r(r) { /* 18.4.12 t ST_Xstring */ - var t = r.match(tregex)/*, cp = 65001*/; + var t = str_match_xml_ns(r, "t")/*, cp = 65001*/; if(!t) return {t:"s", v:""}; var o/*:Cell*/ = ({t:'s', v:unescapexml(t[1])}/*:any*/); - var rpr = r.match(rpregex); + var rpr = str_match_xml_ns(r, "rPr"); if(rpr) o.s = parse_rpr(rpr[1]); return o; } @@ -10305,8 +10442,7 @@ var rs_to_html = /*#__PURE__*/(function parse_rs_factory() { })(); /* 18.4.8 si CT_Rst */ -var sitregex = /<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g, sirregex = /<(?:\w+:)?r\b[^>]*>/; -var sirphregex = /<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g; +var sitregex = /<(?:\w+:)?t\b[^<>]*>([^<]*)<\/(?:\w+:)?t>/g, sirregex = /<(?:\w+:)?r\b[^<>]*>/; function parse_si(x, opts) { var html = opts ? opts.cellHTML : true; var z = {}; @@ -10322,7 +10458,7 @@ function parse_si(x, opts) { /* 18.4.4 r CT_RElt (Rich Text Run) */ else if((/*y = */x.match(sirregex))) { z.r = utf8read(x); - z.t = unescapexml(utf8read((x.replace(sirphregex, '').match(sitregex)||[]).join("").replace(tagregex,"")), true); + z.t = unescapexml(utf8read((str_remove_xml_ns_g(x, "rPh").match(sitregex)||[]).join("").replace(tagregex,"")), true); if(html) z.h = rs_to_html(parse_rs(z.r)); } /* 18.4.3 phoneticPr CT_PhoneticPr (TODO: needed for Asian support) */ @@ -10331,21 +10467,20 @@ function parse_si(x, opts) { } /* 18.4 Shared String Table */ -var sstr0 = /<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/; var sstr1 = /<(?:\w+:)?(?:si|sstItem)>/g; var sstr2 = /<\/(?:\w+:)?(?:si|sstItem)>/; function parse_sst_xml(data/*:string*/, opts)/*:SST*/ { var s/*:SST*/ = ([]/*:any*/), ss = ""; if(!data) return s; /* 18.4.9 sst CT_Sst */ - var sst = data.match(sstr0); + var sst = str_match_xml_ns(data, "sst"); if(sst) { - ss = sst[2].replace(sstr1,"").split(sstr2); + ss = sst[1].replace(sstr1,"").split(sstr2); for(var i = 0; i != ss.length; ++i) { var o = parse_si(ss[i].trim(), opts); if(o != null) s[s.length] = o; } - sst = parsexmltag(sst[1]); s.Count = sst.count; s.Unique = sst.uniqueCount; + sst = parsexmltag(sst[0].slice(0, sst[0].indexOf(">"))); s.Count = sst.count; s.Unique = sst.uniqueCount; } return s; } @@ -10759,7 +10894,7 @@ function rtf_to_sheet_str(str, opts) { var dense = o.dense; if (dense) ws["!data"] = []; - var rows = str.match(/\\trowd[\s\S]*?\\row\b/g); + var rows = str_match_ng(str, "\\trowd", "\\row"); if (!rows) throw new Error("RTF missing table"); var range = { s: { c: 0, r: 0 }, e: { c: 0, r: rows.length - 1 } }; @@ -10966,7 +11101,7 @@ function parse_borders(t, styles, themes, opts) { styles.Borders = []; var border = {}; var pass = false; - (t[0].match(tagregex)||[]).forEach(function(x) { + (t.match(tagregex)||[]).forEach(function(x) { var y = parsexmltag(x); switch(strip_ns(y[0])) { case '<borders': case '<borders>': case '</borders>': break; @@ -11041,7 +11176,7 @@ function parse_fills(t, styles, themes, opts) { styles.Fills = []; var fill = {}; var pass = false; - (t[0].match(tagregex)||[]).forEach(function(x) { + (t.match(tagregex)||[]).forEach(function(x) { var y = parsexmltag(x); switch(strip_ns(y[0])) { case '<fills': case '<fills>': case '</fills>': break; @@ -11107,7 +11242,7 @@ function parse_fonts(t, styles, themes, opts) { styles.Fonts = []; var font = {}; var pass = false; - (t[0].match(tagregex)||[]).forEach(function(x) { + (t.match(tagregex)||[]).forEach(function(x) { var y = parsexmltag(x); switch(strip_ns(y[0])) { case '<fonts': case '<fonts>': case '</fonts>': break; @@ -11227,7 +11362,7 @@ function parse_numFmts(t, styles, opts) { styles.NumberFmt = []; var k/*Array<number>*/ = (keys(table_fmt)/*:any*/); for(var i=0; i < k.length; ++i) styles.NumberFmt[k[i]] = table_fmt[k[i]]; - var m = t[0].match(tagregex); + var m = t.match(tagregex); if(!m) return; for(i=0; i < m.length; ++i) { var y = parsexmltag(m[i]); @@ -11268,7 +11403,7 @@ function parse_cellXfs(t, styles, opts) { styles.CellXf = []; var xf; var pass = false; - (t[0].match(tagregex)||[]).forEach(function(x) { + (t.match(tagregex)||[]).forEach(function(x) { var y = parsexmltag(x), i = 0; switch(strip_ns(y[0])) { case '<cellXfs': case '<cellXfs>': case '<cellXfs/>': case '</cellXfs>': break; @@ -11333,36 +11468,31 @@ function write_cellXfs(cellXfs)/*:string*/ { /* 18.8 Styles CT_Stylesheet*/ var parse_sty_xml= /*#__PURE__*/(function make_pstyx() { -var numFmtRegex = /<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/; -var cellXfRegex = /<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/; -var fillsRegex = /<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/; -var fontsRegex = /<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/; -var bordersRegex = /<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/; return function parse_sty_xml(data, themes, opts) { var styles = {}; if(!data) return styles; - data = data.replace(/<!--([\s\S]*?)-->/mg,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,""); + data = remove_doctype(str_remove_ng(data, "<!--", "-->")); /* 18.8.39 styleSheet CT_Stylesheet */ var t; /* 18.8.31 numFmts CT_NumFmts ? */ - if((t=data.match(numFmtRegex))) parse_numFmts(t, styles, opts); + if((t=str_match_xml_ns(data, "numFmts"))) parse_numFmts(t[0], styles, opts); /* 18.8.23 fonts CT_Fonts ? */ - if((t=data.match(fontsRegex))) parse_fonts(t, styles, themes, opts); + if((t=str_match_xml_ns(data, "fonts"))) parse_fonts(t[0], styles, themes, opts); /* 18.8.21 fills CT_Fills ? */ - if((t=data.match(fillsRegex))) parse_fills(t, styles, themes, opts); + if((t=str_match_xml_ns(data, "fills"))) parse_fills(t[0], styles, themes, opts); /* 18.8.5 borders CT_Borders ? */ - if((t=data.match(bordersRegex))) parse_borders(t, styles, themes, opts); + if((t=str_match_xml_ns(data, "borders"))) parse_borders(t[0], styles, themes, opts); /* 18.8.9 cellStyleXfs CT_CellStyleXfs ? */ /* 18.8.8 cellStyles CT_CellStyles ? */ /* 18.8.10 cellXfs CT_CellXfs ? */ - if((t=data.match(cellXfRegex))) parse_cellXfs(t, styles, opts); + if((t=str_match_xml_ns(data, "cellXfs"))) parse_cellXfs(t[0], styles, opts); /* 18.8.15 dxfs CT_Dxfs ? */ /* 18.8.42 tableStyles CT_TableStyles ? */ @@ -11804,10 +11934,12 @@ function parse_clrScheme(t, themes, opts) { /* 20.1.2.3.32 srgbClr CT_SRgbColor */ case '<a:srgbClr': color.rgb = y.val; break; + case '</a:srgbClr>': break; /* 20.1.2.3.33 sysClr CT_SystemColor */ case '<a:sysClr': color.rgb = y.lastClr; break; + case '</a:sysClr>': break; /* 20.1.4.1.1 accent1 (Accent 1) */ /* 20.1.4.1.2 accent2 (Accent 2) */ @@ -11821,8 +11953,10 @@ function parse_clrScheme(t, themes, opts) { /* 20.1.4.1.19 hlink (Hyperlink) */ /* 20.1.4.1.22 lt1 (Light 1) */ /* 20.1.4.1.23 lt2 (Light 2) */ - case '<a:dk1>': case '</a:dk1>': - case '<a:lt1>': case '</a:lt1>': + case '</a:dk1>': + case '</a:lt1>': + case '<a:dk1>': + case '<a:lt1>': case '<a:dk2>': case '</a:dk2>': case '<a:lt2>': case '</a:lt2>': case '<a:accent1>': case '</a:accent1>': @@ -11852,30 +11986,24 @@ function parse_fontScheme(/*::t, themes, opts*/) { } /* 20.1.4.1.15 fmtScheme CT_StyleMatrix */ function parse_fmtScheme(/*::t, themes, opts*/) { } -var clrsregex = /<a:clrScheme([^>]*)>[\s\S]*<\/a:clrScheme>/; -var fntsregex = /<a:fontScheme([^>]*)>[\s\S]*<\/a:fontScheme>/; -var fmtsregex = /<a:fmtScheme([^>]*)>[\s\S]*<\/a:fmtScheme>/; - /* 20.1.6.10 themeElements CT_BaseStyles */ function parse_themeElements(data, themes, opts) { themes.themeElements = {}; var t; - [ - /* clrScheme CT_ColorScheme */ - ['clrScheme', clrsregex, parse_clrScheme], - /* fontScheme CT_FontScheme */ - ['fontScheme', fntsregex, parse_fontScheme], - /* fmtScheme CT_StyleMatrix */ - ['fmtScheme', fmtsregex, parse_fmtScheme] - ].forEach(function(m) { - if(!(t=data.match(m[1]))) throw new Error(m[0] + ' not found in themeElements'); - m[2](t, themes, opts); - }); -} + /* clrScheme CT_ColorScheme */ + if(!(t=str_match_xml(data, "a:clrScheme"))) throw new Error('clrScheme not found in themeElements'); + parse_clrScheme(t, themes, opts); -var themeltregex = /<a:themeElements([^>]*)>[\s\S]*<\/a:themeElements>/; + /* fontScheme CT_FontScheme */ + if(!(t=str_match_xml(data, "a:fontScheme"))) throw new Error('fontScheme not found in themeElements'); + parse_fontScheme(t, themes, opts); + + /* fmtScheme CT_StyleMatrix */ + if(!(t=str_match_xml(data, "a:fmtScheme"))) throw new Error('fmtScheme not found in themeElements'); + parse_fmtScheme(t, themes, opts); +} /* 14.2.7 Theme Part */ function parse_theme_xml(data/*:string*/, opts) { @@ -11886,7 +12014,7 @@ function parse_theme_xml(data/*:string*/, opts) { var themes = {}; /* themeElements CT_BaseStyles */ - if(!(t=data.match(themeltregex))) throw new Error('themeElements not found in theme'); + if(!(t=str_match_xml(data, "a:themeElements"))) throw new Error('themeElements not found in theme'); parse_themeElements(t[0], themes, opts); themes.raw = data; return themes; @@ -12467,16 +12595,15 @@ function parse_drawing(data, rels/*:any*/) { the actual type is based on the URI of the graphicData TODO: handle embedded charts and other types of graphics */ - var id = (data.match(/<c:chart [^>]*r:id="([^"]*)"/)||["",""])[1]; + var id = (data.match(/<c:chart [^<>]*r:id="([^<>"]*)"/)||["",""])[1]; return rels['!id'][id].Target; } /* L.5.5.2 SpreadsheetML Comments + VML Schema */ -var shapevmlregex = /<(?:\w+:)?shape(?:[^\w][^>]*)?>([\s\S]*?)<\/(?:\w+:)?shape>/g; function parse_vml(data/*:string*/, sheet, comments) { var cidx = 0; - (data.match(shapevmlregex)||[]).forEach(function(m) { + (str_match_xml_ns_g(data, "shape")||[]).forEach(function(m) { var type = ""; var hidden = true; var aidx = -1; @@ -12611,22 +12738,22 @@ function parse_comments_xml(data/*:string*/, opts)/*:Array<RawComment>*/ { if(data.match(/<(?:\w+:)?comments *\/>/)) return []; var authors/*:Array<string>*/ = []; var commentList/*:Array<RawComment>*/ = []; - var authtag = data.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/); + var authtag = str_match_xml_ns(data, "authors"); if(authtag && authtag[1]) authtag[1].split(/<\/\w*:?author>/).forEach(function(x) { if(x === "" || x.trim() === "") return; - var a = x.match(/<(?:\w+:)?author[^>]*>(.*)/); + var a = x.match(/<(?:\w+:)?author[^<>]*>(.*)/); if(a) authors.push(a[1]); }); - var cmnttag = data.match(/<(?:\w+:)?commentList>([\s\S]*)<\/(?:\w+:)?commentList>/); + var cmnttag = str_match_xml_ns(data, "commentList"); if(cmnttag && cmnttag[1]) cmnttag[1].split(/<\/\w*:?comment>/).forEach(function(x) { if(x === "" || x.trim() === "") return; - var cm = x.match(/<(?:\w+:)?comment[^>]*>/); + var cm = x.match(/<(?:\w+:)?comment[^<>]*>/); if(!cm) return; var y = parsexmltag(cm[0]); var comment/*:RawComment*/ = ({ author: y.authorId && authors[y.authorId] || "sheetjsghost", ref: y.ref, guid: y.guid }/*:any*/); var cell = decode_cell(y.ref); if(opts.sheetRows && opts.sheetRows <= cell.r) return; - var textMatch = x.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/); + var textMatch = str_match_xml_ns(x, "text"); var rt = !!textMatch && !!textMatch[1] && parse_si(textMatch[1]) || {r:"",t:"",h:""}; comment.r = rt.r; if(rt.r == "<t></t>") rt.t = rt.h = ""; @@ -12910,7 +13037,7 @@ function fill_vba_xls(cfb, vba) { vba.FullPaths.forEach(function(p, i) { if (i == 0) return; - var newpath = p.replace(/[^\/]*[\/]/, "/_VBA_PROJECT_CUR/"); + var newpath = p.replace(/^[\/]*[^\/]*[\/]/, "/_VBA_PROJECT_CUR/"); if (newpath.slice(-1) !== "/") CFB.utils.cfb_add(cfb, newpath, vba.FileIndex[i].content); }); @@ -13481,112 +13608,112 @@ function parse_PtgAttrNoop(blob/*::, length, opts*/) { /* [MS-XLS] 2.5.198.25 ; [MS-XLSB] 2.5.97.16 */ var PtgTypes = { - /*::[*/0x01/*::]*/: { n:'PtgExp', f:parse_PtgExp }, - /*::[*/0x02/*::]*/: { n:'PtgTbl', f:parse_PtgTbl }, - /*::[*/0x03/*::]*/: { n:'PtgAdd', f:parseread1 }, - /*::[*/0x04/*::]*/: { n:'PtgSub', f:parseread1 }, - /*::[*/0x05/*::]*/: { n:'PtgMul', f:parseread1 }, - /*::[*/0x06/*::]*/: { n:'PtgDiv', f:parseread1 }, - /*::[*/0x07/*::]*/: { n:'PtgPower', f:parseread1 }, - /*::[*/0x08/*::]*/: { n:'PtgConcat', f:parseread1 }, - /*::[*/0x09/*::]*/: { n:'PtgLt', f:parseread1 }, - /*::[*/0x0A/*::]*/: { n:'PtgLe', f:parseread1 }, - /*::[*/0x0B/*::]*/: { n:'PtgEq', f:parseread1 }, - /*::[*/0x0C/*::]*/: { n:'PtgGe', f:parseread1 }, - /*::[*/0x0D/*::]*/: { n:'PtgGt', f:parseread1 }, - /*::[*/0x0E/*::]*/: { n:'PtgNe', f:parseread1 }, - /*::[*/0x0F/*::]*/: { n:'PtgIsect', f:parseread1 }, - /*::[*/0x10/*::]*/: { n:'PtgUnion', f:parseread1 }, - /*::[*/0x11/*::]*/: { n:'PtgRange', f:parseread1 }, - /*::[*/0x12/*::]*/: { n:'PtgUplus', f:parseread1 }, - /*::[*/0x13/*::]*/: { n:'PtgUminus', f:parseread1 }, - /*::[*/0x14/*::]*/: { n:'PtgPercent', f:parseread1 }, - /*::[*/0x15/*::]*/: { n:'PtgParen', f:parseread1 }, - /*::[*/0x16/*::]*/: { n:'PtgMissArg', f:parseread1 }, - /*::[*/0x17/*::]*/: { n:'PtgStr', f:parse_PtgStr }, - /*::[*/0x1A/*::]*/: { n:'PtgSheet', f:parse_PtgSheet }, - /*::[*/0x1B/*::]*/: { n:'PtgEndSheet', f:parse_PtgEndSheet }, - /*::[*/0x1C/*::]*/: { n:'PtgErr', f:parse_PtgErr }, - /*::[*/0x1D/*::]*/: { n:'PtgBool', f:parse_PtgBool }, - /*::[*/0x1E/*::]*/: { n:'PtgInt', f:parse_PtgInt }, - /*::[*/0x1F/*::]*/: { n:'PtgNum', f:parse_PtgNum }, - /*::[*/0x20/*::]*/: { n:'PtgArray', f:parse_PtgArray }, - /*::[*/0x21/*::]*/: { n:'PtgFunc', f:parse_PtgFunc }, - /*::[*/0x22/*::]*/: { n:'PtgFuncVar', f:parse_PtgFuncVar }, - /*::[*/0x23/*::]*/: { n:'PtgName', f:parse_PtgName }, - /*::[*/0x24/*::]*/: { n:'PtgRef', f:parse_PtgRef }, - /*::[*/0x25/*::]*/: { n:'PtgArea', f:parse_PtgArea }, - /*::[*/0x26/*::]*/: { n:'PtgMemArea', f:parse_PtgMemArea }, - /*::[*/0x27/*::]*/: { n:'PtgMemErr', f:parse_PtgMemErr }, - /*::[*/0x28/*::]*/: { n:'PtgMemNoMem', f:parse_PtgMemNoMem }, - /*::[*/0x29/*::]*/: { n:'PtgMemFunc', f:parse_PtgMemFunc }, - /*::[*/0x2A/*::]*/: { n:'PtgRefErr', f:parse_PtgRefErr }, - /*::[*/0x2B/*::]*/: { n:'PtgAreaErr', f:parse_PtgAreaErr }, - /*::[*/0x2C/*::]*/: { n:'PtgRefN', f:parse_PtgRefN }, - /*::[*/0x2D/*::]*/: { n:'PtgAreaN', f:parse_PtgAreaN }, - /*::[*/0x2E/*::]*/: { n:'PtgMemAreaN', f:parse_PtgMemAreaN }, - /*::[*/0x2F/*::]*/: { n:'PtgMemNoMemN', f:parse_PtgMemNoMemN }, - /*::[*/0x39/*::]*/: { n:'PtgNameX', f:parse_PtgNameX }, - /*::[*/0x3A/*::]*/: { n:'PtgRef3d', f:parse_PtgRef3d }, - /*::[*/0x3B/*::]*/: { n:'PtgArea3d', f:parse_PtgArea3d }, - /*::[*/0x3C/*::]*/: { n:'PtgRefErr3d', f:parse_PtgRefErr3d }, - /*::[*/0x3D/*::]*/: { n:'PtgAreaErr3d', f:parse_PtgAreaErr3d }, - /*::[*/0xFF/*::]*/: {} + 0x01: { n:'PtgExp', f:parse_PtgExp }, + 0x02: { n:'PtgTbl', f:parse_PtgTbl }, + 0x03: { n:'PtgAdd', f:parseread1 }, + 0x04: { n:'PtgSub', f:parseread1 }, + 0x05: { n:'PtgMul', f:parseread1 }, + 0x06: { n:'PtgDiv', f:parseread1 }, + 0x07: { n:'PtgPower', f:parseread1 }, + 0x08: { n:'PtgConcat', f:parseread1 }, + 0x09: { n:'PtgLt', f:parseread1 }, + 0x0A: { n:'PtgLe', f:parseread1 }, + 0x0B: { n:'PtgEq', f:parseread1 }, + 0x0C: { n:'PtgGe', f:parseread1 }, + 0x0D: { n:'PtgGt', f:parseread1 }, + 0x0E: { n:'PtgNe', f:parseread1 }, + 0x0F: { n:'PtgIsect', f:parseread1 }, + 0x10: { n:'PtgUnion', f:parseread1 }, + 0x11: { n:'PtgRange', f:parseread1 }, + 0x12: { n:'PtgUplus', f:parseread1 }, + 0x13: { n:'PtgUminus', f:parseread1 }, + 0x14: { n:'PtgPercent', f:parseread1 }, + 0x15: { n:'PtgParen', f:parseread1 }, + 0x16: { n:'PtgMissArg', f:parseread1 }, + 0x17: { n:'PtgStr', f:parse_PtgStr }, + 0x1A: { n:'PtgSheet', f:parse_PtgSheet }, + 0x1B: { n:'PtgEndSheet', f:parse_PtgEndSheet }, + 0x1C: { n:'PtgErr', f:parse_PtgErr }, + 0x1D: { n:'PtgBool', f:parse_PtgBool }, + 0x1E: { n:'PtgInt', f:parse_PtgInt }, + 0x1F: { n:'PtgNum', f:parse_PtgNum }, + 0x20: { n:'PtgArray', f:parse_PtgArray }, + 0x21: { n:'PtgFunc', f:parse_PtgFunc }, + 0x22: { n:'PtgFuncVar', f:parse_PtgFuncVar }, + 0x23: { n:'PtgName', f:parse_PtgName }, + 0x24: { n:'PtgRef', f:parse_PtgRef }, + 0x25: { n:'PtgArea', f:parse_PtgArea }, + 0x26: { n:'PtgMemArea', f:parse_PtgMemArea }, + 0x27: { n:'PtgMemErr', f:parse_PtgMemErr }, + 0x28: { n:'PtgMemNoMem', f:parse_PtgMemNoMem }, + 0x29: { n:'PtgMemFunc', f:parse_PtgMemFunc }, + 0x2A: { n:'PtgRefErr', f:parse_PtgRefErr }, + 0x2B: { n:'PtgAreaErr', f:parse_PtgAreaErr }, + 0x2C: { n:'PtgRefN', f:parse_PtgRefN }, + 0x2D: { n:'PtgAreaN', f:parse_PtgAreaN }, + 0x2E: { n:'PtgMemAreaN', f:parse_PtgMemAreaN }, + 0x2F: { n:'PtgMemNoMemN', f:parse_PtgMemNoMemN }, + 0x39: { n:'PtgNameX', f:parse_PtgNameX }, + 0x3A: { n:'PtgRef3d', f:parse_PtgRef3d }, + 0x3B: { n:'PtgArea3d', f:parse_PtgArea3d }, + 0x3C: { n:'PtgRefErr3d', f:parse_PtgRefErr3d }, + 0x3D: { n:'PtgAreaErr3d', f:parse_PtgAreaErr3d }, + 0xFF: {} }; /* These are duplicated in the PtgTypes table */ var PtgDupes = { - /*::[*/0x40/*::]*/: 0x20, /*::[*/0x60/*::]*/: 0x20, - /*::[*/0x41/*::]*/: 0x21, /*::[*/0x61/*::]*/: 0x21, - /*::[*/0x42/*::]*/: 0x22, /*::[*/0x62/*::]*/: 0x22, - /*::[*/0x43/*::]*/: 0x23, /*::[*/0x63/*::]*/: 0x23, - /*::[*/0x44/*::]*/: 0x24, /*::[*/0x64/*::]*/: 0x24, - /*::[*/0x45/*::]*/: 0x25, /*::[*/0x65/*::]*/: 0x25, - /*::[*/0x46/*::]*/: 0x26, /*::[*/0x66/*::]*/: 0x26, - /*::[*/0x47/*::]*/: 0x27, /*::[*/0x67/*::]*/: 0x27, - /*::[*/0x48/*::]*/: 0x28, /*::[*/0x68/*::]*/: 0x28, - /*::[*/0x49/*::]*/: 0x29, /*::[*/0x69/*::]*/: 0x29, - /*::[*/0x4A/*::]*/: 0x2A, /*::[*/0x6A/*::]*/: 0x2A, - /*::[*/0x4B/*::]*/: 0x2B, /*::[*/0x6B/*::]*/: 0x2B, - /*::[*/0x4C/*::]*/: 0x2C, /*::[*/0x6C/*::]*/: 0x2C, - /*::[*/0x4D/*::]*/: 0x2D, /*::[*/0x6D/*::]*/: 0x2D, - /*::[*/0x4E/*::]*/: 0x2E, /*::[*/0x6E/*::]*/: 0x2E, - /*::[*/0x4F/*::]*/: 0x2F, /*::[*/0x6F/*::]*/: 0x2F, - /*::[*/0x58/*::]*/: 0x22, /*::[*/0x78/*::]*/: 0x22, - /*::[*/0x59/*::]*/: 0x39, /*::[*/0x79/*::]*/: 0x39, - /*::[*/0x5A/*::]*/: 0x3A, /*::[*/0x7A/*::]*/: 0x3A, - /*::[*/0x5B/*::]*/: 0x3B, /*::[*/0x7B/*::]*/: 0x3B, - /*::[*/0x5C/*::]*/: 0x3C, /*::[*/0x7C/*::]*/: 0x3C, - /*::[*/0x5D/*::]*/: 0x3D, /*::[*/0x7D/*::]*/: 0x3D + 0x40: 0x20, 0x60: 0x20, + 0x41: 0x21, 0x61: 0x21, + 0x42: 0x22, 0x62: 0x22, + 0x43: 0x23, 0x63: 0x23, + 0x44: 0x24, 0x64: 0x24, + 0x45: 0x25, 0x65: 0x25, + 0x46: 0x26, 0x66: 0x26, + 0x47: 0x27, 0x67: 0x27, + 0x48: 0x28, 0x68: 0x28, + 0x49: 0x29, 0x69: 0x29, + 0x4A: 0x2A, 0x6A: 0x2A, + 0x4B: 0x2B, 0x6B: 0x2B, + 0x4C: 0x2C, 0x6C: 0x2C, + 0x4D: 0x2D, 0x6D: 0x2D, + 0x4E: 0x2E, 0x6E: 0x2E, + 0x4F: 0x2F, 0x6F: 0x2F, + 0x58: 0x22, 0x78: 0x22, + 0x59: 0x39, 0x79: 0x39, + 0x5A: 0x3A, 0x7A: 0x3A, + 0x5B: 0x3B, 0x7B: 0x3B, + 0x5C: 0x3C, 0x7C: 0x3C, + 0x5D: 0x3D, 0x7D: 0x3D }; var Ptg18 = { - /*::[*/0x01/*::]*/: { n:'PtgElfLel', f:parse_PtgElfLel }, - /*::[*/0x02/*::]*/: { n:'PtgElfRw', f:parse_PtgElfRw }, - /*::[*/0x03/*::]*/: { n:'PtgElfCol', f:parse_PtgElfCol }, - /*::[*/0x06/*::]*/: { n:'PtgElfRwV', f:parse_PtgElfRwV }, - /*::[*/0x07/*::]*/: { n:'PtgElfColV', f:parse_PtgElfColV }, - /*::[*/0x0A/*::]*/: { n:'PtgElfRadical', f:parse_PtgElfRadical }, - /*::[*/0x0B/*::]*/: { n:'PtgElfRadicalS', f:parse_PtgElfRadicalS }, - /*::[*/0x0D/*::]*/: { n:'PtgElfColS', f:parse_PtgElfColS }, - /*::[*/0x0F/*::]*/: { n:'PtgElfColSV', f:parse_PtgElfColSV }, - /*::[*/0x10/*::]*/: { n:'PtgElfRadicalLel', f:parse_PtgElfRadicalLel }, - /*::[*/0x19/*::]*/: { n:'PtgList', f:parse_PtgList }, - /*::[*/0x1D/*::]*/: { n:'PtgSxName', f:parse_PtgSxName }, - /*::[*/0xFF/*::]*/: {} + 0x01: { n:'PtgElfLel', f:parse_PtgElfLel }, + 0x02: { n:'PtgElfRw', f:parse_PtgElfRw }, + 0x03: { n:'PtgElfCol', f:parse_PtgElfCol }, + 0x06: { n:'PtgElfRwV', f:parse_PtgElfRwV }, + 0x07: { n:'PtgElfColV', f:parse_PtgElfColV }, + 0x0A: { n:'PtgElfRadical', f:parse_PtgElfRadical }, + 0x0B: { n:'PtgElfRadicalS', f:parse_PtgElfRadicalS }, + 0x0D: { n:'PtgElfColS', f:parse_PtgElfColS }, + 0x0F: { n:'PtgElfColSV', f:parse_PtgElfColSV }, + 0x10: { n:'PtgElfRadicalLel', f:parse_PtgElfRadicalLel }, + 0x19: { n:'PtgList', f:parse_PtgList }, + 0x1D: { n:'PtgSxName', f:parse_PtgSxName }, + 0xFF: {} }; var Ptg19 = { - /*::[*/0x00/*::]*/: { n:'PtgAttrNoop', f:parse_PtgAttrNoop }, - /*::[*/0x01/*::]*/: { n:'PtgAttrSemi', f:parse_PtgAttrSemi }, - /*::[*/0x02/*::]*/: { n:'PtgAttrIf', f:parse_PtgAttrIf }, - /*::[*/0x04/*::]*/: { n:'PtgAttrChoose', f:parse_PtgAttrChoose }, - /*::[*/0x08/*::]*/: { n:'PtgAttrGoto', f:parse_PtgAttrGoto }, - /*::[*/0x10/*::]*/: { n:'PtgAttrSum', f:parse_PtgAttrSum }, - /*::[*/0x20/*::]*/: { n:'PtgAttrBaxcel', f:parse_PtgAttrBaxcel }, - /*::[*/0x21/*::]*/: { n:'PtgAttrBaxcel', f:parse_PtgAttrBaxcel }, - /*::[*/0x40/*::]*/: { n:'PtgAttrSpace', f:parse_PtgAttrSpace }, - /*::[*/0x41/*::]*/: { n:'PtgAttrSpaceSemi', f:parse_PtgAttrSpaceSemi }, - /*::[*/0x80/*::]*/: { n:'PtgAttrIfError', f:parse_PtgAttrIfError }, - /*::[*/0xFF/*::]*/: {} + 0x00: { n:'PtgAttrNoop', f:parse_PtgAttrNoop }, + 0x01: { n:'PtgAttrSemi', f:parse_PtgAttrSemi }, + 0x02: { n:'PtgAttrIf', f:parse_PtgAttrIf }, + 0x04: { n:'PtgAttrChoose', f:parse_PtgAttrChoose }, + 0x08: { n:'PtgAttrGoto', f:parse_PtgAttrGoto }, + 0x10: { n:'PtgAttrSum', f:parse_PtgAttrSum }, + 0x20: { n:'PtgAttrBaxcel', f:parse_PtgAttrBaxcel }, + 0x21: { n:'PtgAttrBaxcel', f:parse_PtgAttrBaxcel }, + 0x40: { n:'PtgAttrSpace', f:parse_PtgAttrSpace }, + 0x41: { n:'PtgAttrSpaceSemi', f:parse_PtgAttrSpaceSemi }, + 0x80: { n:'PtgAttrIfError', f:parse_PtgAttrIfError }, + 0xFF: {} }; /* [MS-XLS] 2.5.198.103 ; [MS-XLSB] 2.5.97.87 */ @@ -15663,16 +15790,13 @@ function parse_ws_xml_dim(ws/*:Worksheet*/, s/*:string*/) { var d = safe_decode_range(s); if(d.s.r<=d.e.r && d.s.c<=d.e.c && d.s.r>=0 && d.s.c>=0) ws["!ref"] = encode_range(d); } -var mergecregex = /<(?:\w:)?mergeCell ref=["'][A-Z0-9:]+['"]\s*[\/]?>/g; -var sheetdataregex = /<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/; -var hlinkregex = /<(?:\w:)?hyperlink [^>]*>/mg; +var mergecregex = /<(?:\w+:)?mergeCell ref=["'][A-Z0-9:]+['"]\s*[\/]?>/g; +var hlinkregex = /<(?:\w+:)?hyperlink [^<>]*>/mg; var dimregex = /"(\w*:\w*)"/; -var colregex = /<(?:\w:)?col\b[^>]*[\/]?>/g; -var afregex = /<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g; -var marginregex= /<(?:\w:)?pageMargins[^>]*\/>/g; -var sheetprregex = /<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/; -var sheetprregex2= /<(?:\w:)?sheetPr[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetPr)>/; -var svsregex = /<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/; +var colregex = /<(?:\w+:)?col\b[^<>]*[\/]?>/g; +var afregex = /<(?:\w+:)?autoFilter[^>]*/g; +var marginregex= /<(?:\w+:)?pageMargins[^<>]*\/>/g; +var sheetprregex = /<(?:\w+:)?sheetPr\b[^<>]*?\/>/; /* 18.3 Worksheets */ function parse_ws_xml(data/*:?string*/, opts, idx/*:number*/, rels, wb/*:WBWBProps*/, themes, styles)/*:Worksheet*/ { @@ -15685,7 +15809,7 @@ function parse_ws_xml(data/*:?string*/, opts, idx/*:number*/, rels, wb/*:WBWBPro var refguess/*:Range*/ = ({s: {r:2000000, c:2000000}, e: {r:0, c:0} }/*:any*/); var data1 = "", data2 = ""; - var mtch/*:?any*/ = data.match(sheetdataregex); + var mtch/*:?any*/ = str_match_xml_ns(data, "sheetData"); if(mtch) { data1 = data.slice(0, mtch.index); data2 = data.slice(mtch.index + mtch[0].length); @@ -15694,7 +15818,7 @@ function parse_ws_xml(data/*:?string*/, opts, idx/*:number*/, rels, wb/*:WBWBPro /* 18.3.1.82 sheetPr CT_SheetPr */ var sheetPr = data1.match(sheetprregex); if(sheetPr) parse_ws_xml_sheetpr(sheetPr[0], s, wb, idx); - else if((sheetPr = data1.match(sheetprregex2))) parse_ws_xml_sheetpr2(sheetPr[0], sheetPr[1]||"", s, wb, idx, styles, themes); + else if((sheetPr = str_match_xml_ns(data1, "sheetPr"))) parse_ws_xml_sheetpr2(sheetPr[0], sheetPr[1]||"", s, wb, idx, styles, themes); /* 18.3.1.35 dimension CT_SheetDimension */ var ridx = (data1.match(/<(?:\w*:)?dimension/)||{index:-1}).index; @@ -15704,7 +15828,7 @@ function parse_ws_xml(data/*:?string*/, opts, idx/*:number*/, rels, wb/*:WBWBPro } /* 18.3.1.88 sheetViews CT_SheetViews */ - var svs = data1.match(svsregex); + var svs = str_match_xml_ns(data1, "sheetViews"); if(svs && svs[1]) parse_ws_xml_sheetviews(svs[1], wb); /* 18.3.1.17 cols CT_Cols */ @@ -15903,7 +16027,7 @@ function write_ws_xml_autofilter(data, ws, wb, idx)/*:string*/ { /* 18.3.1.88 sheetViews CT_SheetViews */ /* 18.3.1.87 sheetView CT_SheetView */ -var sviewregex = /<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/?>/g; +var sviewregex = /<(?:\w:)?sheetView(?:[^<>a-z][^<>]*)?\/?>/g; function parse_ws_xml_sheetviews(data, wb/*:WBWBProps*/) { if(!wb.Views) wb.Views = [{}]; (data.match(sviewregex)||[]).forEach(function(r/*:string*/, i/*:number*/) { @@ -15982,9 +16106,8 @@ function write_ws_xml_cell(cell/*:Cell*/, ref, ws, opts, idx, wb, date1904)/*:st var parse_ws_xml_data = /*#__PURE__*/(function() { var cellregex = /<(?:\w+:)?c[ \/>]/, rowregex = /<\/(?:\w+:)?row>/; - var rregex = /r=["']([^"']*)["']/, isregex = /<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/; + var rregex = /r=["']([^"']*)["']/; var refregex = /ref=["']([^"']*)["']/; - var match_v = matchtag("v"), match_f = matchtag("f"); return function parse_ws_xml_data(sdata/*:string*/, s, opts, guess/*:Range*/, themes, styles, wb) { var ri = 0, x = "", cells/*:Array<string>*/ = [], cref/*:?Array<string>*/ = [], idx=0, i=0, cc=0, d="", p/*:any*/; @@ -16063,9 +16186,9 @@ return function parse_ws_xml_data(sdata/*:string*/, s, opts, guess/*:Range*/, th d = x.slice(i); p = ({t:""}/*:any*/); - if((cref=d.match(match_v))!= null && /*::cref != null && */cref[1] !== '') p.v=unescapexml(cref[1]); + if((cref=str_match_xml_ns(d, "v"))!= null && /*::cref != null && */cref[1] !== '') p.v=unescapexml(cref[1]); if(opts.cellFormula) { - if((cref=d.match(match_f))!= null /*:: && cref != null*/) { + if((cref=str_match_xml_ns(d, "f"))!= null /*:: && cref != null*/) { if(cref[1] == "") { if(/*::cref != null && cref[0] != null && */cref[0].indexOf('t="shared"') > -1) { // TODO: parse formula @@ -16087,7 +16210,7 @@ return function parse_ws_xml_data(sdata/*:string*/, s, opts, guess/*:Range*/, th sharedf[parseInt(ftag.si, 10)] = [ftag, ___f, tag.r]; } } - } else if((cref=d.match(/<f[^>]*\/>/))) { + } else if((cref=d.match(/<f[^<>]*\/>/))) { ftag = parsexmltag(cref[0]); if(sharedf[ftag.si]) p.f = shift_formula_xlsx(sharedf[ftag.si][1], sharedf[ftag.si][2]/*[0].ref*/, tag.r); } @@ -16133,7 +16256,7 @@ return function parse_ws_xml_data(sdata/*:string*/, s, opts, guess/*:Range*/, th if(opts.cellHTML) p.h = escapehtml(p.v); break; case 'inlineStr': - cref = d.match(isregex); + cref = str_match_xml_ns(d, "is"); p.t = 's'; if(cref != null && (sstr = parse_si(cref[1]))) { p.v = sstr.t; @@ -16298,7 +16421,7 @@ function write_ws_xml(idx/*:number*/, opts, wb/*:Workbook*/, rels)/*:string*/ { if(!l[1].Target) return; rel = ({"ref":l[0]}/*:any*/); if(l[1].Target.charAt(0) != "#") { - rId = add_rels(rels, -1, escapexml(l[1].Target).replace(/#.*$/, ""), RELS.HLINK); + rId = add_rels(rels, -1, escapexml(l[1].Target).replace(/#[\s\S]*$/, ""), RELS.HLINK); rel["r:id"] = "rId"+rId; } if((relc = l[1].Target.indexOf("#")) > -1) rel.location = escapexml(l[1].Target.slice(relc+1)); @@ -17274,7 +17397,7 @@ function write_HLINKS(ba, ws/*:Worksheet*/, rels) { /* *BrtHLink */ ws['!links'].forEach(function(l) { if(!l[1].Target) return; - var rId = add_rels(rels, -1, l[1].Target.replace(/#.*$/, ""), RELS.HLINK); + var rId = add_rels(rels, -1, l[1].Target.replace(/#[\s\S]*$/, ""), RELS.HLINK); write_record(ba, 0x01EE /* BrtHLink */, write_BrtHLink(l, rId)); }); delete ws['!links']; @@ -17401,16 +17524,16 @@ function parse_Cache(data/*:string*/)/*:[Array<number|string>, string, ?string]* var f; /* 21.2.2.150 pt CT_NumVal */ - (data.match(/<c:pt idx="(\d*)">(.*?)<\/c:pt>/mg)||[]).forEach(function(pt) { - var q = pt.match(/<c:pt idx="(\d*?)"><c:v>(.*)<\/c:v><\/c:pt>/); + (data.match(/<c:pt idx="(\d*)"[^<>\/]*><c:v>([^<])<\/c:v><\/c:pt>/mg)||[]).forEach(function(pt) { + var q = pt.match(/<c:pt idx="(\d*)"[^<>\/]*><c:v>([^<]*)<\/c:v><\/c:pt>/); if(!q) return; col[+q[1]] = num ? +q[2] : q[2]; }); /* 21.2.2.71 formatCode CT_Xstring */ - var nf = unescapexml((data.match(/<c:formatCode>([\s\S]*?)<\/c:formatCode>/) || ["","General"])[1]); + var nf = unescapexml((str_match_xml(data, "c:formatCode") || ["","General"])[1]); - (data.match(/<c:f>(.*?)<\/c:f>/mg)||[]).forEach(function(F) { f = F.replace(/<.*?>/g,""); }); + (str_match_ng(data, "<c:f>", "</c:f>")||[]).forEach(function(F) { f = F.replace(/<[^<>]*>/g,""); }); return [col, nf, f]; } @@ -17425,7 +17548,7 @@ function parse_chart(data/*:?string*/, name/*:string*/, opts, rels, wb, csheet) var refguess = {s: {r:2000000, c:2000000}, e: {r:0, c:0} }; /* 21.2.2.120 numCache CT_NumData */ - (data.match(/<c:numCache>[\s\S]*?<\/c:numCache>/gm)||[]).forEach(function(nc) { + (str_match_ng(data, "<c:numCache>", "</c:numCache>")||[]).forEach(function(nc) { var cache = parse_Cache(nc); refguess.s.r = refguess.s.c = 0; refguess.e.c = C; @@ -18021,8 +18144,14 @@ function parse_BrtName(data, length, opts) { data.l += 1; //var chKey = data.read_shift(1); var itab = data.read_shift(4); var name = parse_XLNameWideString(data); - var formula = parse_XLSBNameParsedFormula(data, 0, opts); - var comment = parse_XLNullableWideString(data); + var formula; + var comment = ""; + try { + formula = parse_XLSBNameParsedFormula(data, 0, opts); + try { + comment = parse_XLNullableWideString(data); + } catch(e){} + } catch(e) { console.error("Could not parse defined name " + name); } if(flags & 0x20) name = "_xlnm." + name; //if(0 /* fProc */) { // unusedstring1: XLNullableWideString @@ -18093,7 +18222,7 @@ function parse_wb_bin(data, opts)/*:WorkbookFile*/ { case 0x0027: /* 'BrtName' */ if(val.Sheet != null) opts.SID = val.Sheet; - val.Ref = stringify_formula(val.Ptg, null, null, supbooks, opts); + val.Ref = val.Ptg ? stringify_formula(val.Ptg, null, null, supbooks, opts) : "#REF!"; delete opts.SID; delete val.Ptg; Names.push(val); @@ -18360,8 +18489,8 @@ function parse_xlmeta(data, name/*:string*/, opts) { if(name.slice(-4)===".bin") return parse_xlmeta_bin((data/*:any*/), name, opts); return parse_xlmeta_xml((data/*:any*/), name, opts); } -var attregexg2=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g; -var attregex2=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/; +var attregexg2=/\b((?:\w+:)?[\w]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g; +var attregex2=/\b((?:\w+:)?[\w]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/; function xlml_parsexmltag(tag/*:string*/, skip_root/*:?boolean*/) { var words = tag.split(/\s+/); var z/*:any*/ = ([]/*:any*/); if(!skip_root) z[0] = words[0]; @@ -18461,10 +18590,11 @@ function parse_xlml_data(xml, ss, data, cell/*:any*/, base, styles, csty, row, a if(sid === undefined && row) sid = row.StyleID; if(sid === undefined && csty) sid = csty.StyleID; while(styles[sid] !== undefined) { - if(styles[sid].nf) nf = styles[sid].nf; - if(styles[sid].Interior) interiors.push(styles[sid].Interior); - if(!styles[sid].Parent) break; - sid = styles[sid].Parent; + var ssid = styles[sid]; + if(ssid.nf) nf = ssid.nf; + if(ssid.Interior) interiors.push(ssid.Interior); + if(!ssid.Parent) break; + sid = ssid.Parent; } switch(data.Type) { case 'Boolean': @@ -18473,7 +18603,7 @@ function parse_xlml_data(xml, ss, data, cell/*:any*/, base, styles, csty, row, a break; case 'String': cell.t = 's'; cell.r = xlml_fixstr(unescapexml(xml)); - cell.v = (xml.indexOf("<") > -1 ? unescapexml(ss||xml).replace(/<.*?>/g, "") : cell.r); // todo: BR etc + cell.v = (xml.indexOf("<") > -1 ? unescapexml(ss||xml).replace(/<[^<>]*>/g, "") : cell.r); // todo: BR etc break; case 'DateTime': if(xml.slice(-1) != "Z") xml += "Z"; @@ -18583,7 +18713,7 @@ function parse_xlml_xml(d, _opts)/*:Workbook*/ { var rowinfo/*:Array<RowInfo>*/ = [], rowobj = {}, cc = 0, rr = 0; var Workbook/*:WBWBProps*/ = ({ Sheets:[], WBProps:{date1904:false} }/*:any*/), wsprops = {}; xlmlregex.lastIndex = 0; - str = str.replace(/<!--([\s\S]*?)-->/mg,""); + str = str_remove_ng(str, "<!--", "-->"); var raw_Rn3 = ""; while((Rn = xlmlregex.exec(str))) switch((Rn[3] = (raw_Rn3 = Rn[3]).toLowerCase())) { case 'data' /*case 'Data'*/: @@ -19744,7 +19874,7 @@ function parse_workbook(blob, options/*:ParseOpts*/)/*:Workbook*/ { if(icv < 64) return palette[icv-8] || XLSIcv[icv]; return XLSIcv[icv]; }; - var process_cell_style = function pcs(cell, line/*:any*/, options) { + var process_cell_style = function pcs(line/*:any*/, options) { var xfd = line.XF.data; if(!xfd || !xfd.patternType || !options || !options.cellStyles) return; line.s = ({}/*:any*/); @@ -19756,7 +19886,7 @@ function parse_workbook(blob, options/*:ParseOpts*/)/*:Workbook*/ { var addcell = function addcell(cell/*:any*/, line/*:any*/, options/*:any*/) { if(!biff4w && file_depth > 1) return; if(options.sheetRows && cell.r >= options.sheetRows) return; - if(options.cellStyles && line.XF && line.XF.data) process_cell_style(cell, line, options); + if(options.cellStyles && line.XF && line.XF.data) process_cell_style(line, options); delete line.ixfe; delete line.XF; lastcell = cell; last_cell = encode_cell(cell); @@ -19949,17 +20079,17 @@ function parse_workbook(blob, options/*:ParseOpts*/)/*:Workbook*/ { } break; case 0x0009: case 0x0209: case 0x0409: case 0x0809 /* BOF */: { if(opts.biff === 8) opts.biff = { - /*::[*/0x0009/*::]*/:2, - /*::[*/0x0209/*::]*/:3, - /*::[*/0x0409/*::]*/:4 + 0x0009: 2, + 0x0209: 3, + 0x0409: 4 }[RecordType] || { - /*::[*/0x0200/*::]*/:2, - /*::[*/0x0300/*::]*/:3, - /*::[*/0x0400/*::]*/:4, - /*::[*/0x0500/*::]*/:5, - /*::[*/0x0600/*::]*/:8, - /*::[*/0x0002/*::]*/:2, - /*::[*/0x0007/*::]*/:2 + 0x0200: 2, + 0x0300: 3, + 0x0400: 4, + 0x0500: 5, + 0x0600: 8, + 0x0002: 2, + 0x0007: 2 }[val.BIFFVer] || 8; opts.biffguess = val.BIFFVer == 0; if(val.BIFFVer == 0 && val.dt == 0x1000) { opts.biff = 5; seen_codepage = true; set_cp(opts.codepage = 28591); } @@ -20354,1244 +20484,1244 @@ function write_xlscfb(wb/*:Workbook*/, opts/*:WriteOpts*/)/*:CFBContainer*/ { } /* [MS-XLSB] 2.3 Record Enumeration */ var XLSBRecordEnum = { - /*::[*/0x0000/*::]*/: { /* n:"BrtRowHdr", */ f:parse_BrtRowHdr }, - /*::[*/0x0001/*::]*/: { /* n:"BrtCellBlank", */ f:parse_BrtCellBlank }, - /*::[*/0x0002/*::]*/: { /* n:"BrtCellRk", */ f:parse_BrtCellRk }, - /*::[*/0x0003/*::]*/: { /* n:"BrtCellError", */ f:parse_BrtCellError }, - /*::[*/0x0004/*::]*/: { /* n:"BrtCellBool", */ f:parse_BrtCellBool }, - /*::[*/0x0005/*::]*/: { /* n:"BrtCellReal", */ f:parse_BrtCellReal }, - /*::[*/0x0006/*::]*/: { /* n:"BrtCellSt", */ f:parse_BrtCellSt }, - /*::[*/0x0007/*::]*/: { /* n:"BrtCellIsst", */ f:parse_BrtCellIsst }, - /*::[*/0x0008/*::]*/: { /* n:"BrtFmlaString", */ f:parse_BrtFmlaString }, - /*::[*/0x0009/*::]*/: { /* n:"BrtFmlaNum", */ f:parse_BrtFmlaNum }, - /*::[*/0x000A/*::]*/: { /* n:"BrtFmlaBool", */ f:parse_BrtFmlaBool }, - /*::[*/0x000B/*::]*/: { /* n:"BrtFmlaError", */ f:parse_BrtFmlaError }, - /*::[*/0x000C/*::]*/: { /* n:"BrtShortBlank", */ f:parse_BrtShortBlank }, - /*::[*/0x000D/*::]*/: { /* n:"BrtShortRk", */ f:parse_BrtShortRk }, - /*::[*/0x000E/*::]*/: { /* n:"BrtShortError", */ f:parse_BrtShortError }, - /*::[*/0x000F/*::]*/: { /* n:"BrtShortBool", */ f:parse_BrtShortBool }, - /*::[*/0x0010/*::]*/: { /* n:"BrtShortReal", */ f:parse_BrtShortReal }, - /*::[*/0x0011/*::]*/: { /* n:"BrtShortSt", */ f:parse_BrtShortSt }, - /*::[*/0x0012/*::]*/: { /* n:"BrtShortIsst", */ f:parse_BrtShortIsst }, - /*::[*/0x0013/*::]*/: { /* n:"BrtSSTItem", */ f:parse_RichStr }, - /*::[*/0x0014/*::]*/: { /* n:"BrtPCDIMissing" */ }, - /*::[*/0x0015/*::]*/: { /* n:"BrtPCDINumber" */ }, - /*::[*/0x0016/*::]*/: { /* n:"BrtPCDIBoolean" */ }, - /*::[*/0x0017/*::]*/: { /* n:"BrtPCDIError" */ }, - /*::[*/0x0018/*::]*/: { /* n:"BrtPCDIString" */ }, - /*::[*/0x0019/*::]*/: { /* n:"BrtPCDIDatetime" */ }, - /*::[*/0x001A/*::]*/: { /* n:"BrtPCDIIndex" */ }, - /*::[*/0x001B/*::]*/: { /* n:"BrtPCDIAMissing" */ }, - /*::[*/0x001C/*::]*/: { /* n:"BrtPCDIANumber" */ }, - /*::[*/0x001D/*::]*/: { /* n:"BrtPCDIABoolean" */ }, - /*::[*/0x001E/*::]*/: { /* n:"BrtPCDIAError" */ }, - /*::[*/0x001F/*::]*/: { /* n:"BrtPCDIAString" */ }, - /*::[*/0x0020/*::]*/: { /* n:"BrtPCDIADatetime" */ }, - /*::[*/0x0021/*::]*/: { /* n:"BrtPCRRecord" */ }, - /*::[*/0x0022/*::]*/: { /* n:"BrtPCRRecordDt" */ }, - /*::[*/0x0023/*::]*/: { /* n:"BrtFRTBegin", */ T:1 }, - /*::[*/0x0024/*::]*/: { /* n:"BrtFRTEnd", */ T:-1 }, - /*::[*/0x0025/*::]*/: { /* n:"BrtACBegin", */ T:1 }, - /*::[*/0x0026/*::]*/: { /* n:"BrtACEnd", */ T:-1 }, - /*::[*/0x0027/*::]*/: { /* n:"BrtName", */ f:parse_BrtName }, - /*::[*/0x0028/*::]*/: { /* n:"BrtIndexRowBlock" */ }, - /*::[*/0x002A/*::]*/: { /* n:"BrtIndexBlock" */ }, - /*::[*/0x002B/*::]*/: { /* n:"BrtFont", */ f:parse_BrtFont }, - /*::[*/0x002C/*::]*/: { /* n:"BrtFmt", */ f:parse_BrtFmt }, - /*::[*/0x002D/*::]*/: { /* n:"BrtFill", */ f:parse_BrtFill }, - /*::[*/0x002E/*::]*/: { /* n:"BrtBorder", */ f:parse_BrtBorder }, - /*::[*/0x002F/*::]*/: { /* n:"BrtXF", */ f:parse_BrtXF }, - /*::[*/0x0030/*::]*/: { /* n:"BrtStyle" */ }, - /*::[*/0x0031/*::]*/: { /* n:"BrtCellMeta", */ f:parse_Int32LE }, - /*::[*/0x0032/*::]*/: { /* n:"BrtValueMeta" */ }, - /*::[*/0x0033/*::]*/: { /* n:"BrtMdb" */ f:parse_BrtMdb }, - /*::[*/0x0034/*::]*/: { /* n:"BrtBeginFmd", */ T:1 }, - /*::[*/0x0035/*::]*/: { /* n:"BrtEndFmd", */ T:-1 }, - /*::[*/0x0036/*::]*/: { /* n:"BrtBeginMdx", */ T:1 }, - /*::[*/0x0037/*::]*/: { /* n:"BrtEndMdx", */ T:-1 }, - /*::[*/0x0038/*::]*/: { /* n:"BrtBeginMdxTuple", */ T:1 }, - /*::[*/0x0039/*::]*/: { /* n:"BrtEndMdxTuple", */ T:-1 }, - /*::[*/0x003A/*::]*/: { /* n:"BrtMdxMbrIstr" */ }, - /*::[*/0x003B/*::]*/: { /* n:"BrtStr" */ }, - /*::[*/0x003C/*::]*/: { /* n:"BrtColInfo", */ f:parse_ColInfo }, - /*::[*/0x003E/*::]*/: { /* n:"BrtCellRString", */ f:parse_BrtCellRString }, - /*::[*/0x003F/*::]*/: { /* n:"BrtCalcChainItem$", */ f:parse_BrtCalcChainItem$ }, - /*::[*/0x0040/*::]*/: { /* n:"BrtDVal", */ f:parse_BrtDVal }, - /*::[*/0x0041/*::]*/: { /* n:"BrtSxvcellNum" */ }, - /*::[*/0x0042/*::]*/: { /* n:"BrtSxvcellStr" */ }, - /*::[*/0x0043/*::]*/: { /* n:"BrtSxvcellBool" */ }, - /*::[*/0x0044/*::]*/: { /* n:"BrtSxvcellErr" */ }, - /*::[*/0x0045/*::]*/: { /* n:"BrtSxvcellDate" */ }, - /*::[*/0x0046/*::]*/: { /* n:"BrtSxvcellNil" */ }, - /*::[*/0x0080/*::]*/: { /* n:"BrtFileVersion" */ }, - /*::[*/0x0081/*::]*/: { /* n:"BrtBeginSheet", */ T:1 }, - /*::[*/0x0082/*::]*/: { /* n:"BrtEndSheet", */ T:-1 }, - /*::[*/0x0083/*::]*/: { /* n:"BrtBeginBook", */ T:1, f:parsenoop, p:0 }, - /*::[*/0x0084/*::]*/: { /* n:"BrtEndBook", */ T:-1 }, - /*::[*/0x0085/*::]*/: { /* n:"BrtBeginWsViews", */ T:1 }, - /*::[*/0x0086/*::]*/: { /* n:"BrtEndWsViews", */ T:-1 }, - /*::[*/0x0087/*::]*/: { /* n:"BrtBeginBookViews", */ T:1 }, - /*::[*/0x0088/*::]*/: { /* n:"BrtEndBookViews", */ T:-1 }, - /*::[*/0x0089/*::]*/: { /* n:"BrtBeginWsView", */ T:1, f:parse_BrtBeginWsView }, - /*::[*/0x008A/*::]*/: { /* n:"BrtEndWsView", */ T:-1 }, - /*::[*/0x008B/*::]*/: { /* n:"BrtBeginCsViews", */ T:1 }, - /*::[*/0x008C/*::]*/: { /* n:"BrtEndCsViews", */ T:-1 }, - /*::[*/0x008D/*::]*/: { /* n:"BrtBeginCsView", */ T:1 }, - /*::[*/0x008E/*::]*/: { /* n:"BrtEndCsView", */ T:-1 }, - /*::[*/0x008F/*::]*/: { /* n:"BrtBeginBundleShs", */ T:1 }, - /*::[*/0x0090/*::]*/: { /* n:"BrtEndBundleShs", */ T:-1 }, - /*::[*/0x0091/*::]*/: { /* n:"BrtBeginSheetData", */ T:1 }, - /*::[*/0x0092/*::]*/: { /* n:"BrtEndSheetData", */ T:-1 }, - /*::[*/0x0093/*::]*/: { /* n:"BrtWsProp", */ f:parse_BrtWsProp }, - /*::[*/0x0094/*::]*/: { /* n:"BrtWsDim", */ f:parse_BrtWsDim, p:16 }, - /*::[*/0x0097/*::]*/: { /* n:"BrtPane", */ f:parse_BrtPane }, - /*::[*/0x0098/*::]*/: { /* n:"BrtSel" */ }, - /*::[*/0x0099/*::]*/: { /* n:"BrtWbProp", */ f:parse_BrtWbProp }, - /*::[*/0x009A/*::]*/: { /* n:"BrtWbFactoid" */ }, - /*::[*/0x009B/*::]*/: { /* n:"BrtFileRecover" */ }, - /*::[*/0x009C/*::]*/: { /* n:"BrtBundleSh", */ f:parse_BrtBundleSh }, - /*::[*/0x009D/*::]*/: { /* n:"BrtCalcProp" */ }, - /*::[*/0x009E/*::]*/: { /* n:"BrtBookView" */ }, - /*::[*/0x009F/*::]*/: { /* n:"BrtBeginSst", */ T:1, f:parse_BrtBeginSst }, - /*::[*/0x00A0/*::]*/: { /* n:"BrtEndSst", */ T:-1 }, - /*::[*/0x00A1/*::]*/: { /* n:"BrtBeginAFilter", */ T:1, f:parse_UncheckedRfX }, - /*::[*/0x00A2/*::]*/: { /* n:"BrtEndAFilter", */ T:-1 }, - /*::[*/0x00A3/*::]*/: { /* n:"BrtBeginFilterColumn", */ T:1 }, - /*::[*/0x00A4/*::]*/: { /* n:"BrtEndFilterColumn", */ T:-1 }, - /*::[*/0x00A5/*::]*/: { /* n:"BrtBeginFilters", */ T:1 }, - /*::[*/0x00A6/*::]*/: { /* n:"BrtEndFilters", */ T:-1 }, - /*::[*/0x00A7/*::]*/: { /* n:"BrtFilter" */ }, - /*::[*/0x00A8/*::]*/: { /* n:"BrtColorFilter" */ }, - /*::[*/0x00A9/*::]*/: { /* n:"BrtIconFilter" */ }, - /*::[*/0x00AA/*::]*/: { /* n:"BrtTop10Filter" */ }, - /*::[*/0x00AB/*::]*/: { /* n:"BrtDynamicFilter" */ }, - /*::[*/0x00AC/*::]*/: { /* n:"BrtBeginCustomFilters", */ T:1 }, - /*::[*/0x00AD/*::]*/: { /* n:"BrtEndCustomFilters", */ T:-1 }, - /*::[*/0x00AE/*::]*/: { /* n:"BrtCustomFilter" */ }, - /*::[*/0x00AF/*::]*/: { /* n:"BrtAFilterDateGroupItem" */ }, - /*::[*/0x00B0/*::]*/: { /* n:"BrtMergeCell", */ f:parse_BrtMergeCell }, - /*::[*/0x00B1/*::]*/: { /* n:"BrtBeginMergeCells", */ T:1 }, - /*::[*/0x00B2/*::]*/: { /* n:"BrtEndMergeCells", */ T:-1 }, - /*::[*/0x00B3/*::]*/: { /* n:"BrtBeginPivotCacheDef", */ T:1 }, - /*::[*/0x00B4/*::]*/: { /* n:"BrtEndPivotCacheDef", */ T:-1 }, - /*::[*/0x00B5/*::]*/: { /* n:"BrtBeginPCDFields", */ T:1 }, - /*::[*/0x00B6/*::]*/: { /* n:"BrtEndPCDFields", */ T:-1 }, - /*::[*/0x00B7/*::]*/: { /* n:"BrtBeginPCDField", */ T:1 }, - /*::[*/0x00B8/*::]*/: { /* n:"BrtEndPCDField", */ T:-1 }, - /*::[*/0x00B9/*::]*/: { /* n:"BrtBeginPCDSource", */ T:1 }, - /*::[*/0x00BA/*::]*/: { /* n:"BrtEndPCDSource", */ T:-1 }, - /*::[*/0x00BB/*::]*/: { /* n:"BrtBeginPCDSRange", */ T:1 }, - /*::[*/0x00BC/*::]*/: { /* n:"BrtEndPCDSRange", */ T:-1 }, - /*::[*/0x00BD/*::]*/: { /* n:"BrtBeginPCDFAtbl", */ T:1 }, - /*::[*/0x00BE/*::]*/: { /* n:"BrtEndPCDFAtbl", */ T:-1 }, - /*::[*/0x00BF/*::]*/: { /* n:"BrtBeginPCDIRun", */ T:1 }, - /*::[*/0x00C0/*::]*/: { /* n:"BrtEndPCDIRun", */ T:-1 }, - /*::[*/0x00C1/*::]*/: { /* n:"BrtBeginPivotCacheRecords", */ T:1 }, - /*::[*/0x00C2/*::]*/: { /* n:"BrtEndPivotCacheRecords", */ T:-1 }, - /*::[*/0x00C3/*::]*/: { /* n:"BrtBeginPCDHierarchies", */ T:1 }, - /*::[*/0x00C4/*::]*/: { /* n:"BrtEndPCDHierarchies", */ T:-1 }, - /*::[*/0x00C5/*::]*/: { /* n:"BrtBeginPCDHierarchy", */ T:1 }, - /*::[*/0x00C6/*::]*/: { /* n:"BrtEndPCDHierarchy", */ T:-1 }, - /*::[*/0x00C7/*::]*/: { /* n:"BrtBeginPCDHFieldsUsage", */ T:1 }, - /*::[*/0x00C8/*::]*/: { /* n:"BrtEndPCDHFieldsUsage", */ T:-1 }, - /*::[*/0x00C9/*::]*/: { /* n:"BrtBeginExtConnection", */ T:1 }, - /*::[*/0x00CA/*::]*/: { /* n:"BrtEndExtConnection", */ T:-1 }, - /*::[*/0x00CB/*::]*/: { /* n:"BrtBeginECDbProps", */ T:1 }, - /*::[*/0x00CC/*::]*/: { /* n:"BrtEndECDbProps", */ T:-1 }, - /*::[*/0x00CD/*::]*/: { /* n:"BrtBeginECOlapProps", */ T:1 }, - /*::[*/0x00CE/*::]*/: { /* n:"BrtEndECOlapProps", */ T:-1 }, - /*::[*/0x00CF/*::]*/: { /* n:"BrtBeginPCDSConsol", */ T:1 }, - /*::[*/0x00D0/*::]*/: { /* n:"BrtEndPCDSConsol", */ T:-1 }, - /*::[*/0x00D1/*::]*/: { /* n:"BrtBeginPCDSCPages", */ T:1 }, - /*::[*/0x00D2/*::]*/: { /* n:"BrtEndPCDSCPages", */ T:-1 }, - /*::[*/0x00D3/*::]*/: { /* n:"BrtBeginPCDSCPage", */ T:1 }, - /*::[*/0x00D4/*::]*/: { /* n:"BrtEndPCDSCPage", */ T:-1 }, - /*::[*/0x00D5/*::]*/: { /* n:"BrtBeginPCDSCPItem", */ T:1 }, - /*::[*/0x00D6/*::]*/: { /* n:"BrtEndPCDSCPItem", */ T:-1 }, - /*::[*/0x00D7/*::]*/: { /* n:"BrtBeginPCDSCSets", */ T:1 }, - /*::[*/0x00D8/*::]*/: { /* n:"BrtEndPCDSCSets", */ T:-1 }, - /*::[*/0x00D9/*::]*/: { /* n:"BrtBeginPCDSCSet", */ T:1 }, - /*::[*/0x00DA/*::]*/: { /* n:"BrtEndPCDSCSet", */ T:-1 }, - /*::[*/0x00DB/*::]*/: { /* n:"BrtBeginPCDFGroup", */ T:1 }, - /*::[*/0x00DC/*::]*/: { /* n:"BrtEndPCDFGroup", */ T:-1 }, - /*::[*/0x00DD/*::]*/: { /* n:"BrtBeginPCDFGItems", */ T:1 }, - /*::[*/0x00DE/*::]*/: { /* n:"BrtEndPCDFGItems", */ T:-1 }, - /*::[*/0x00DF/*::]*/: { /* n:"BrtBeginPCDFGRange", */ T:1 }, - /*::[*/0x00E0/*::]*/: { /* n:"BrtEndPCDFGRange", */ T:-1 }, - /*::[*/0x00E1/*::]*/: { /* n:"BrtBeginPCDFGDiscrete", */ T:1 }, - /*::[*/0x00E2/*::]*/: { /* n:"BrtEndPCDFGDiscrete", */ T:-1 }, - /*::[*/0x00E3/*::]*/: { /* n:"BrtBeginPCDSDTupleCache", */ T:1 }, - /*::[*/0x00E4/*::]*/: { /* n:"BrtEndPCDSDTupleCache", */ T:-1 }, - /*::[*/0x00E5/*::]*/: { /* n:"BrtBeginPCDSDTCEntries", */ T:1 }, - /*::[*/0x00E6/*::]*/: { /* n:"BrtEndPCDSDTCEntries", */ T:-1 }, - /*::[*/0x00E7/*::]*/: { /* n:"BrtBeginPCDSDTCEMembers", */ T:1 }, - /*::[*/0x00E8/*::]*/: { /* n:"BrtEndPCDSDTCEMembers", */ T:-1 }, - /*::[*/0x00E9/*::]*/: { /* n:"BrtBeginPCDSDTCEMember", */ T:1 }, - /*::[*/0x00EA/*::]*/: { /* n:"BrtEndPCDSDTCEMember", */ T:-1 }, - /*::[*/0x00EB/*::]*/: { /* n:"BrtBeginPCDSDTCQueries", */ T:1 }, - /*::[*/0x00EC/*::]*/: { /* n:"BrtEndPCDSDTCQueries", */ T:-1 }, - /*::[*/0x00ED/*::]*/: { /* n:"BrtBeginPCDSDTCQuery", */ T:1 }, - /*::[*/0x00EE/*::]*/: { /* n:"BrtEndPCDSDTCQuery", */ T:-1 }, - /*::[*/0x00EF/*::]*/: { /* n:"BrtBeginPCDSDTCSets", */ T:1 }, - /*::[*/0x00F0/*::]*/: { /* n:"BrtEndPCDSDTCSets", */ T:-1 }, - /*::[*/0x00F1/*::]*/: { /* n:"BrtBeginPCDSDTCSet", */ T:1 }, - /*::[*/0x00F2/*::]*/: { /* n:"BrtEndPCDSDTCSet", */ T:-1 }, - /*::[*/0x00F3/*::]*/: { /* n:"BrtBeginPCDCalcItems", */ T:1 }, - /*::[*/0x00F4/*::]*/: { /* n:"BrtEndPCDCalcItems", */ T:-1 }, - /*::[*/0x00F5/*::]*/: { /* n:"BrtBeginPCDCalcItem", */ T:1 }, - /*::[*/0x00F6/*::]*/: { /* n:"BrtEndPCDCalcItem", */ T:-1 }, - /*::[*/0x00F7/*::]*/: { /* n:"BrtBeginPRule", */ T:1 }, - /*::[*/0x00F8/*::]*/: { /* n:"BrtEndPRule", */ T:-1 }, - /*::[*/0x00F9/*::]*/: { /* n:"BrtBeginPRFilters", */ T:1 }, - /*::[*/0x00FA/*::]*/: { /* n:"BrtEndPRFilters", */ T:-1 }, - /*::[*/0x00FB/*::]*/: { /* n:"BrtBeginPRFilter", */ T:1 }, - /*::[*/0x00FC/*::]*/: { /* n:"BrtEndPRFilter", */ T:-1 }, - /*::[*/0x00FD/*::]*/: { /* n:"BrtBeginPNames", */ T:1 }, - /*::[*/0x00FE/*::]*/: { /* n:"BrtEndPNames", */ T:-1 }, - /*::[*/0x00FF/*::]*/: { /* n:"BrtBeginPName", */ T:1 }, - /*::[*/0x0100/*::]*/: { /* n:"BrtEndPName", */ T:-1 }, - /*::[*/0x0101/*::]*/: { /* n:"BrtBeginPNPairs", */ T:1 }, - /*::[*/0x0102/*::]*/: { /* n:"BrtEndPNPairs", */ T:-1 }, - /*::[*/0x0103/*::]*/: { /* n:"BrtBeginPNPair", */ T:1 }, - /*::[*/0x0104/*::]*/: { /* n:"BrtEndPNPair", */ T:-1 }, - /*::[*/0x0105/*::]*/: { /* n:"BrtBeginECWebProps", */ T:1 }, - /*::[*/0x0106/*::]*/: { /* n:"BrtEndECWebProps", */ T:-1 }, - /*::[*/0x0107/*::]*/: { /* n:"BrtBeginEcWpTables", */ T:1 }, - /*::[*/0x0108/*::]*/: { /* n:"BrtEndECWPTables", */ T:-1 }, - /*::[*/0x0109/*::]*/: { /* n:"BrtBeginECParams", */ T:1 }, - /*::[*/0x010A/*::]*/: { /* n:"BrtEndECParams", */ T:-1 }, - /*::[*/0x010B/*::]*/: { /* n:"BrtBeginECParam", */ T:1 }, - /*::[*/0x010C/*::]*/: { /* n:"BrtEndECParam", */ T:-1 }, - /*::[*/0x010D/*::]*/: { /* n:"BrtBeginPCDKPIs", */ T:1 }, - /*::[*/0x010E/*::]*/: { /* n:"BrtEndPCDKPIs", */ T:-1 }, - /*::[*/0x010F/*::]*/: { /* n:"BrtBeginPCDKPI", */ T:1 }, - /*::[*/0x0110/*::]*/: { /* n:"BrtEndPCDKPI", */ T:-1 }, - /*::[*/0x0111/*::]*/: { /* n:"BrtBeginDims", */ T:1 }, - /*::[*/0x0112/*::]*/: { /* n:"BrtEndDims", */ T:-1 }, - /*::[*/0x0113/*::]*/: { /* n:"BrtBeginDim", */ T:1 }, - /*::[*/0x0114/*::]*/: { /* n:"BrtEndDim", */ T:-1 }, - /*::[*/0x0115/*::]*/: { /* n:"BrtIndexPartEnd" */ }, - /*::[*/0x0116/*::]*/: { /* n:"BrtBeginStyleSheet", */ T:1 }, - /*::[*/0x0117/*::]*/: { /* n:"BrtEndStyleSheet", */ T:-1 }, - /*::[*/0x0118/*::]*/: { /* n:"BrtBeginSXView", */ T:1 }, - /*::[*/0x0119/*::]*/: { /* n:"BrtEndSXVI", */ T:-1 }, - /*::[*/0x011A/*::]*/: { /* n:"BrtBeginSXVI", */ T:1 }, - /*::[*/0x011B/*::]*/: { /* n:"BrtBeginSXVIs", */ T:1 }, - /*::[*/0x011C/*::]*/: { /* n:"BrtEndSXVIs", */ T:-1 }, - /*::[*/0x011D/*::]*/: { /* n:"BrtBeginSXVD", */ T:1 }, - /*::[*/0x011E/*::]*/: { /* n:"BrtEndSXVD", */ T:-1 }, - /*::[*/0x011F/*::]*/: { /* n:"BrtBeginSXVDs", */ T:1 }, - /*::[*/0x0120/*::]*/: { /* n:"BrtEndSXVDs", */ T:-1 }, - /*::[*/0x0121/*::]*/: { /* n:"BrtBeginSXPI", */ T:1 }, - /*::[*/0x0122/*::]*/: { /* n:"BrtEndSXPI", */ T:-1 }, - /*::[*/0x0123/*::]*/: { /* n:"BrtBeginSXPIs", */ T:1 }, - /*::[*/0x0124/*::]*/: { /* n:"BrtEndSXPIs", */ T:-1 }, - /*::[*/0x0125/*::]*/: { /* n:"BrtBeginSXDI", */ T:1 }, - /*::[*/0x0126/*::]*/: { /* n:"BrtEndSXDI", */ T:-1 }, - /*::[*/0x0127/*::]*/: { /* n:"BrtBeginSXDIs", */ T:1 }, - /*::[*/0x0128/*::]*/: { /* n:"BrtEndSXDIs", */ T:-1 }, - /*::[*/0x0129/*::]*/: { /* n:"BrtBeginSXLI", */ T:1 }, - /*::[*/0x012A/*::]*/: { /* n:"BrtEndSXLI", */ T:-1 }, - /*::[*/0x012B/*::]*/: { /* n:"BrtBeginSXLIRws", */ T:1 }, - /*::[*/0x012C/*::]*/: { /* n:"BrtEndSXLIRws", */ T:-1 }, - /*::[*/0x012D/*::]*/: { /* n:"BrtBeginSXLICols", */ T:1 }, - /*::[*/0x012E/*::]*/: { /* n:"BrtEndSXLICols", */ T:-1 }, - /*::[*/0x012F/*::]*/: { /* n:"BrtBeginSXFormat", */ T:1 }, - /*::[*/0x0130/*::]*/: { /* n:"BrtEndSXFormat", */ T:-1 }, - /*::[*/0x0131/*::]*/: { /* n:"BrtBeginSXFormats", */ T:1 }, - /*::[*/0x0132/*::]*/: { /* n:"BrtEndSxFormats", */ T:-1 }, - /*::[*/0x0133/*::]*/: { /* n:"BrtBeginSxSelect", */ T:1 }, - /*::[*/0x0134/*::]*/: { /* n:"BrtEndSxSelect", */ T:-1 }, - /*::[*/0x0135/*::]*/: { /* n:"BrtBeginISXVDRws", */ T:1 }, - /*::[*/0x0136/*::]*/: { /* n:"BrtEndISXVDRws", */ T:-1 }, - /*::[*/0x0137/*::]*/: { /* n:"BrtBeginISXVDCols", */ T:1 }, - /*::[*/0x0138/*::]*/: { /* n:"BrtEndISXVDCols", */ T:-1 }, - /*::[*/0x0139/*::]*/: { /* n:"BrtEndSXLocation", */ T:-1 }, - /*::[*/0x013A/*::]*/: { /* n:"BrtBeginSXLocation", */ T:1 }, - /*::[*/0x013B/*::]*/: { /* n:"BrtEndSXView", */ T:-1 }, - /*::[*/0x013C/*::]*/: { /* n:"BrtBeginSXTHs", */ T:1 }, - /*::[*/0x013D/*::]*/: { /* n:"BrtEndSXTHs", */ T:-1 }, - /*::[*/0x013E/*::]*/: { /* n:"BrtBeginSXTH", */ T:1 }, - /*::[*/0x013F/*::]*/: { /* n:"BrtEndSXTH", */ T:-1 }, - /*::[*/0x0140/*::]*/: { /* n:"BrtBeginISXTHRws", */ T:1 }, - /*::[*/0x0141/*::]*/: { /* n:"BrtEndISXTHRws", */ T:-1 }, - /*::[*/0x0142/*::]*/: { /* n:"BrtBeginISXTHCols", */ T:1 }, - /*::[*/0x0143/*::]*/: { /* n:"BrtEndISXTHCols", */ T:-1 }, - /*::[*/0x0144/*::]*/: { /* n:"BrtBeginSXTDMPS", */ T:1 }, - /*::[*/0x0145/*::]*/: { /* n:"BrtEndSXTDMPs", */ T:-1 }, - /*::[*/0x0146/*::]*/: { /* n:"BrtBeginSXTDMP", */ T:1 }, - /*::[*/0x0147/*::]*/: { /* n:"BrtEndSXTDMP", */ T:-1 }, - /*::[*/0x0148/*::]*/: { /* n:"BrtBeginSXTHItems", */ T:1 }, - /*::[*/0x0149/*::]*/: { /* n:"BrtEndSXTHItems", */ T:-1 }, - /*::[*/0x014A/*::]*/: { /* n:"BrtBeginSXTHItem", */ T:1 }, - /*::[*/0x014B/*::]*/: { /* n:"BrtEndSXTHItem", */ T:-1 }, - /*::[*/0x014C/*::]*/: { /* n:"BrtBeginMetadata", */ T:1 }, - /*::[*/0x014D/*::]*/: { /* n:"BrtEndMetadata", */ T:-1 }, - /*::[*/0x014E/*::]*/: { /* n:"BrtBeginEsmdtinfo", */ T:1 }, - /*::[*/0x014F/*::]*/: { /* n:"BrtMdtinfo", */ f:parse_BrtMdtinfo }, - /*::[*/0x0150/*::]*/: { /* n:"BrtEndEsmdtinfo", */ T:-1 }, - /*::[*/0x0151/*::]*/: { /* n:"BrtBeginEsmdb", */ f:parse_BrtBeginEsmdb, T:1 }, - /*::[*/0x0152/*::]*/: { /* n:"BrtEndEsmdb", */ T:-1 }, - /*::[*/0x0153/*::]*/: { /* n:"BrtBeginEsfmd", */ T:1 }, - /*::[*/0x0154/*::]*/: { /* n:"BrtEndEsfmd", */ T:-1 }, - /*::[*/0x0155/*::]*/: { /* n:"BrtBeginSingleCells", */ T:1 }, - /*::[*/0x0156/*::]*/: { /* n:"BrtEndSingleCells", */ T:-1 }, - /*::[*/0x0157/*::]*/: { /* n:"BrtBeginList", */ T:1 }, - /*::[*/0x0158/*::]*/: { /* n:"BrtEndList", */ T:-1 }, - /*::[*/0x0159/*::]*/: { /* n:"BrtBeginListCols", */ T:1 }, - /*::[*/0x015A/*::]*/: { /* n:"BrtEndListCols", */ T:-1 }, - /*::[*/0x015B/*::]*/: { /* n:"BrtBeginListCol", */ T:1 }, - /*::[*/0x015C/*::]*/: { /* n:"BrtEndListCol", */ T:-1 }, - /*::[*/0x015D/*::]*/: { /* n:"BrtBeginListXmlCPr", */ T:1 }, - /*::[*/0x015E/*::]*/: { /* n:"BrtEndListXmlCPr", */ T:-1 }, - /*::[*/0x015F/*::]*/: { /* n:"BrtListCCFmla" */ }, - /*::[*/0x0160/*::]*/: { /* n:"BrtListTrFmla" */ }, - /*::[*/0x0161/*::]*/: { /* n:"BrtBeginExternals", */ T:1 }, - /*::[*/0x0162/*::]*/: { /* n:"BrtEndExternals", */ T:-1 }, - /*::[*/0x0163/*::]*/: { /* n:"BrtSupBookSrc", */ f:parse_RelID}, - /*::[*/0x0165/*::]*/: { /* n:"BrtSupSelf" */ }, - /*::[*/0x0166/*::]*/: { /* n:"BrtSupSame" */ }, - /*::[*/0x0167/*::]*/: { /* n:"BrtSupTabs" */ }, - /*::[*/0x0168/*::]*/: { /* n:"BrtBeginSupBook", */ T:1 }, - /*::[*/0x0169/*::]*/: { /* n:"BrtPlaceholderName" */ }, - /*::[*/0x016A/*::]*/: { /* n:"BrtExternSheet", */ f:parse_ExternSheet }, - /*::[*/0x016B/*::]*/: { /* n:"BrtExternTableStart" */ }, - /*::[*/0x016C/*::]*/: { /* n:"BrtExternTableEnd" */ }, - /*::[*/0x016E/*::]*/: { /* n:"BrtExternRowHdr" */ }, - /*::[*/0x016F/*::]*/: { /* n:"BrtExternCellBlank" */ }, - /*::[*/0x0170/*::]*/: { /* n:"BrtExternCellReal" */ }, - /*::[*/0x0171/*::]*/: { /* n:"BrtExternCellBool" */ }, - /*::[*/0x0172/*::]*/: { /* n:"BrtExternCellError" */ }, - /*::[*/0x0173/*::]*/: { /* n:"BrtExternCellString" */ }, - /*::[*/0x0174/*::]*/: { /* n:"BrtBeginEsmdx", */ T:1 }, - /*::[*/0x0175/*::]*/: { /* n:"BrtEndEsmdx", */ T:-1 }, - /*::[*/0x0176/*::]*/: { /* n:"BrtBeginMdxSet", */ T:1 }, - /*::[*/0x0177/*::]*/: { /* n:"BrtEndMdxSet", */ T:-1 }, - /*::[*/0x0178/*::]*/: { /* n:"BrtBeginMdxMbrProp", */ T:1 }, - /*::[*/0x0179/*::]*/: { /* n:"BrtEndMdxMbrProp", */ T:-1 }, - /*::[*/0x017A/*::]*/: { /* n:"BrtBeginMdxKPI", */ T:1 }, - /*::[*/0x017B/*::]*/: { /* n:"BrtEndMdxKPI", */ T:-1 }, - /*::[*/0x017C/*::]*/: { /* n:"BrtBeginEsstr", */ T:1 }, - /*::[*/0x017D/*::]*/: { /* n:"BrtEndEsstr", */ T:-1 }, - /*::[*/0x017E/*::]*/: { /* n:"BrtBeginPRFItem", */ T:1 }, - /*::[*/0x017F/*::]*/: { /* n:"BrtEndPRFItem", */ T:-1 }, - /*::[*/0x0180/*::]*/: { /* n:"BrtBeginPivotCacheIDs", */ T:1 }, - /*::[*/0x0181/*::]*/: { /* n:"BrtEndPivotCacheIDs", */ T:-1 }, - /*::[*/0x0182/*::]*/: { /* n:"BrtBeginPivotCacheID", */ T:1 }, - /*::[*/0x0183/*::]*/: { /* n:"BrtEndPivotCacheID", */ T:-1 }, - /*::[*/0x0184/*::]*/: { /* n:"BrtBeginISXVIs", */ T:1 }, - /*::[*/0x0185/*::]*/: { /* n:"BrtEndISXVIs", */ T:-1 }, - /*::[*/0x0186/*::]*/: { /* n:"BrtBeginColInfos", */ T:1 }, - /*::[*/0x0187/*::]*/: { /* n:"BrtEndColInfos", */ T:-1 }, - /*::[*/0x0188/*::]*/: { /* n:"BrtBeginRwBrk", */ T:1 }, - /*::[*/0x0189/*::]*/: { /* n:"BrtEndRwBrk", */ T:-1 }, - /*::[*/0x018A/*::]*/: { /* n:"BrtBeginColBrk", */ T:1 }, - /*::[*/0x018B/*::]*/: { /* n:"BrtEndColBrk", */ T:-1 }, - /*::[*/0x018C/*::]*/: { /* n:"BrtBrk" */ }, - /*::[*/0x018D/*::]*/: { /* n:"BrtUserBookView" */ }, - /*::[*/0x018E/*::]*/: { /* n:"BrtInfo" */ }, - /*::[*/0x018F/*::]*/: { /* n:"BrtCUsr" */ }, - /*::[*/0x0190/*::]*/: { /* n:"BrtUsr" */ }, - /*::[*/0x0191/*::]*/: { /* n:"BrtBeginUsers", */ T:1 }, - /*::[*/0x0193/*::]*/: { /* n:"BrtEOF" */ }, - /*::[*/0x0194/*::]*/: { /* n:"BrtUCR" */ }, - /*::[*/0x0195/*::]*/: { /* n:"BrtRRInsDel" */ }, - /*::[*/0x0196/*::]*/: { /* n:"BrtRREndInsDel" */ }, - /*::[*/0x0197/*::]*/: { /* n:"BrtRRMove" */ }, - /*::[*/0x0198/*::]*/: { /* n:"BrtRREndMove" */ }, - /*::[*/0x0199/*::]*/: { /* n:"BrtRRChgCell" */ }, - /*::[*/0x019A/*::]*/: { /* n:"BrtRREndChgCell" */ }, - /*::[*/0x019B/*::]*/: { /* n:"BrtRRHeader" */ }, - /*::[*/0x019C/*::]*/: { /* n:"BrtRRUserView" */ }, - /*::[*/0x019D/*::]*/: { /* n:"BrtRRRenSheet" */ }, - /*::[*/0x019E/*::]*/: { /* n:"BrtRRInsertSh" */ }, - /*::[*/0x019F/*::]*/: { /* n:"BrtRRDefName" */ }, - /*::[*/0x01A0/*::]*/: { /* n:"BrtRRNote" */ }, - /*::[*/0x01A1/*::]*/: { /* n:"BrtRRConflict" */ }, - /*::[*/0x01A2/*::]*/: { /* n:"BrtRRTQSIF" */ }, - /*::[*/0x01A3/*::]*/: { /* n:"BrtRRFormat" */ }, - /*::[*/0x01A4/*::]*/: { /* n:"BrtRREndFormat" */ }, - /*::[*/0x01A5/*::]*/: { /* n:"BrtRRAutoFmt" */ }, - /*::[*/0x01A6/*::]*/: { /* n:"BrtBeginUserShViews", */ T:1 }, - /*::[*/0x01A7/*::]*/: { /* n:"BrtBeginUserShView", */ T:1 }, - /*::[*/0x01A8/*::]*/: { /* n:"BrtEndUserShView", */ T:-1 }, - /*::[*/0x01A9/*::]*/: { /* n:"BrtEndUserShViews", */ T:-1 }, - /*::[*/0x01AA/*::]*/: { /* n:"BrtArrFmla", */ f:parse_BrtArrFmla }, - /*::[*/0x01AB/*::]*/: { /* n:"BrtShrFmla", */ f:parse_BrtShrFmla }, - /*::[*/0x01AC/*::]*/: { /* n:"BrtTable" */ }, - /*::[*/0x01AD/*::]*/: { /* n:"BrtBeginExtConnections", */ T:1 }, - /*::[*/0x01AE/*::]*/: { /* n:"BrtEndExtConnections", */ T:-1 }, - /*::[*/0x01AF/*::]*/: { /* n:"BrtBeginPCDCalcMems", */ T:1 }, - /*::[*/0x01B0/*::]*/: { /* n:"BrtEndPCDCalcMems", */ T:-1 }, - /*::[*/0x01B1/*::]*/: { /* n:"BrtBeginPCDCalcMem", */ T:1 }, - /*::[*/0x01B2/*::]*/: { /* n:"BrtEndPCDCalcMem", */ T:-1 }, - /*::[*/0x01B3/*::]*/: { /* n:"BrtBeginPCDHGLevels", */ T:1 }, - /*::[*/0x01B4/*::]*/: { /* n:"BrtEndPCDHGLevels", */ T:-1 }, - /*::[*/0x01B5/*::]*/: { /* n:"BrtBeginPCDHGLevel", */ T:1 }, - /*::[*/0x01B6/*::]*/: { /* n:"BrtEndPCDHGLevel", */ T:-1 }, - /*::[*/0x01B7/*::]*/: { /* n:"BrtBeginPCDHGLGroups", */ T:1 }, - /*::[*/0x01B8/*::]*/: { /* n:"BrtEndPCDHGLGroups", */ T:-1 }, - /*::[*/0x01B9/*::]*/: { /* n:"BrtBeginPCDHGLGroup", */ T:1 }, - /*::[*/0x01BA/*::]*/: { /* n:"BrtEndPCDHGLGroup", */ T:-1 }, - /*::[*/0x01BB/*::]*/: { /* n:"BrtBeginPCDHGLGMembers", */ T:1 }, - /*::[*/0x01BC/*::]*/: { /* n:"BrtEndPCDHGLGMembers", */ T:-1 }, - /*::[*/0x01BD/*::]*/: { /* n:"BrtBeginPCDHGLGMember", */ T:1 }, - /*::[*/0x01BE/*::]*/: { /* n:"BrtEndPCDHGLGMember", */ T:-1 }, - /*::[*/0x01BF/*::]*/: { /* n:"BrtBeginQSI", */ T:1 }, - /*::[*/0x01C0/*::]*/: { /* n:"BrtEndQSI", */ T:-1 }, - /*::[*/0x01C1/*::]*/: { /* n:"BrtBeginQSIR", */ T:1 }, - /*::[*/0x01C2/*::]*/: { /* n:"BrtEndQSIR", */ T:-1 }, - /*::[*/0x01C3/*::]*/: { /* n:"BrtBeginDeletedNames", */ T:1 }, - /*::[*/0x01C4/*::]*/: { /* n:"BrtEndDeletedNames", */ T:-1 }, - /*::[*/0x01C5/*::]*/: { /* n:"BrtBeginDeletedName", */ T:1 }, - /*::[*/0x01C6/*::]*/: { /* n:"BrtEndDeletedName", */ T:-1 }, - /*::[*/0x01C7/*::]*/: { /* n:"BrtBeginQSIFs", */ T:1 }, - /*::[*/0x01C8/*::]*/: { /* n:"BrtEndQSIFs", */ T:-1 }, - /*::[*/0x01C9/*::]*/: { /* n:"BrtBeginQSIF", */ T:1 }, - /*::[*/0x01CA/*::]*/: { /* n:"BrtEndQSIF", */ T:-1 }, - /*::[*/0x01CB/*::]*/: { /* n:"BrtBeginAutoSortScope", */ T:1 }, - /*::[*/0x01CC/*::]*/: { /* n:"BrtEndAutoSortScope", */ T:-1 }, - /*::[*/0x01CD/*::]*/: { /* n:"BrtBeginConditionalFormatting", */ T:1 }, - /*::[*/0x01CE/*::]*/: { /* n:"BrtEndConditionalFormatting", */ T:-1 }, - /*::[*/0x01CF/*::]*/: { /* n:"BrtBeginCFRule", */ T:1 }, - /*::[*/0x01D0/*::]*/: { /* n:"BrtEndCFRule", */ T:-1 }, - /*::[*/0x01D1/*::]*/: { /* n:"BrtBeginIconSet", */ T:1 }, - /*::[*/0x01D2/*::]*/: { /* n:"BrtEndIconSet", */ T:-1 }, - /*::[*/0x01D3/*::]*/: { /* n:"BrtBeginDatabar", */ T:1 }, - /*::[*/0x01D4/*::]*/: { /* n:"BrtEndDatabar", */ T:-1 }, - /*::[*/0x01D5/*::]*/: { /* n:"BrtBeginColorScale", */ T:1 }, - /*::[*/0x01D6/*::]*/: { /* n:"BrtEndColorScale", */ T:-1 }, - /*::[*/0x01D7/*::]*/: { /* n:"BrtCFVO" */ }, - /*::[*/0x01D8/*::]*/: { /* n:"BrtExternValueMeta" */ }, - /*::[*/0x01D9/*::]*/: { /* n:"BrtBeginColorPalette", */ T:1 }, - /*::[*/0x01DA/*::]*/: { /* n:"BrtEndColorPalette", */ T:-1 }, - /*::[*/0x01DB/*::]*/: { /* n:"BrtIndexedColor" */ }, - /*::[*/0x01DC/*::]*/: { /* n:"BrtMargins", */ f:parse_BrtMargins }, - /*::[*/0x01DD/*::]*/: { /* n:"BrtPrintOptions" */ }, - /*::[*/0x01DE/*::]*/: { /* n:"BrtPageSetup" */ }, - /*::[*/0x01DF/*::]*/: { /* n:"BrtBeginHeaderFooter", */ T:1 }, - /*::[*/0x01E0/*::]*/: { /* n:"BrtEndHeaderFooter", */ T:-1 }, - /*::[*/0x01E1/*::]*/: { /* n:"BrtBeginSXCrtFormat", */ T:1 }, - /*::[*/0x01E2/*::]*/: { /* n:"BrtEndSXCrtFormat", */ T:-1 }, - /*::[*/0x01E3/*::]*/: { /* n:"BrtBeginSXCrtFormats", */ T:1 }, - /*::[*/0x01E4/*::]*/: { /* n:"BrtEndSXCrtFormats", */ T:-1 }, - /*::[*/0x01E5/*::]*/: { /* n:"BrtWsFmtInfo", */ f:parse_BrtWsFmtInfo }, - /*::[*/0x01E6/*::]*/: { /* n:"BrtBeginMgs", */ T:1 }, - /*::[*/0x01E7/*::]*/: { /* n:"BrtEndMGs", */ T:-1 }, - /*::[*/0x01E8/*::]*/: { /* n:"BrtBeginMGMaps", */ T:1 }, - /*::[*/0x01E9/*::]*/: { /* n:"BrtEndMGMaps", */ T:-1 }, - /*::[*/0x01EA/*::]*/: { /* n:"BrtBeginMG", */ T:1 }, - /*::[*/0x01EB/*::]*/: { /* n:"BrtEndMG", */ T:-1 }, - /*::[*/0x01EC/*::]*/: { /* n:"BrtBeginMap", */ T:1 }, - /*::[*/0x01ED/*::]*/: { /* n:"BrtEndMap", */ T:-1 }, - /*::[*/0x01EE/*::]*/: { /* n:"BrtHLink", */ f:parse_BrtHLink }, - /*::[*/0x01EF/*::]*/: { /* n:"BrtBeginDCon", */ T:1 }, - /*::[*/0x01F0/*::]*/: { /* n:"BrtEndDCon", */ T:-1 }, - /*::[*/0x01F1/*::]*/: { /* n:"BrtBeginDRefs", */ T:1 }, - /*::[*/0x01F2/*::]*/: { /* n:"BrtEndDRefs", */ T:-1 }, - /*::[*/0x01F3/*::]*/: { /* n:"BrtDRef" */ }, - /*::[*/0x01F4/*::]*/: { /* n:"BrtBeginScenMan", */ T:1 }, - /*::[*/0x01F5/*::]*/: { /* n:"BrtEndScenMan", */ T:-1 }, - /*::[*/0x01F6/*::]*/: { /* n:"BrtBeginSct", */ T:1 }, - /*::[*/0x01F7/*::]*/: { /* n:"BrtEndSct", */ T:-1 }, - /*::[*/0x01F8/*::]*/: { /* n:"BrtSlc" */ }, - /*::[*/0x01F9/*::]*/: { /* n:"BrtBeginDXFs", */ T:1 }, - /*::[*/0x01FA/*::]*/: { /* n:"BrtEndDXFs", */ T:-1 }, - /*::[*/0x01FB/*::]*/: { /* n:"BrtDXF" */ }, - /*::[*/0x01FC/*::]*/: { /* n:"BrtBeginTableStyles", */ T:1 }, - /*::[*/0x01FD/*::]*/: { /* n:"BrtEndTableStyles", */ T:-1 }, - /*::[*/0x01FE/*::]*/: { /* n:"BrtBeginTableStyle", */ T:1 }, - /*::[*/0x01FF/*::]*/: { /* n:"BrtEndTableStyle", */ T:-1 }, - /*::[*/0x0200/*::]*/: { /* n:"BrtTableStyleElement" */ }, - /*::[*/0x0201/*::]*/: { /* n:"BrtTableStyleClient" */ }, - /*::[*/0x0202/*::]*/: { /* n:"BrtBeginVolDeps", */ T:1 }, - /*::[*/0x0203/*::]*/: { /* n:"BrtEndVolDeps", */ T:-1 }, - /*::[*/0x0204/*::]*/: { /* n:"BrtBeginVolType", */ T:1 }, - /*::[*/0x0205/*::]*/: { /* n:"BrtEndVolType", */ T:-1 }, - /*::[*/0x0206/*::]*/: { /* n:"BrtBeginVolMain", */ T:1 }, - /*::[*/0x0207/*::]*/: { /* n:"BrtEndVolMain", */ T:-1 }, - /*::[*/0x0208/*::]*/: { /* n:"BrtBeginVolTopic", */ T:1 }, - /*::[*/0x0209/*::]*/: { /* n:"BrtEndVolTopic", */ T:-1 }, - /*::[*/0x020A/*::]*/: { /* n:"BrtVolSubtopic" */ }, - /*::[*/0x020B/*::]*/: { /* n:"BrtVolRef" */ }, - /*::[*/0x020C/*::]*/: { /* n:"BrtVolNum" */ }, - /*::[*/0x020D/*::]*/: { /* n:"BrtVolErr" */ }, - /*::[*/0x020E/*::]*/: { /* n:"BrtVolStr" */ }, - /*::[*/0x020F/*::]*/: { /* n:"BrtVolBool" */ }, - /*::[*/0x0210/*::]*/: { /* n:"BrtBeginCalcChain$", */ T:1 }, - /*::[*/0x0211/*::]*/: { /* n:"BrtEndCalcChain$", */ T:-1 }, - /*::[*/0x0212/*::]*/: { /* n:"BrtBeginSortState", */ T:1 }, - /*::[*/0x0213/*::]*/: { /* n:"BrtEndSortState", */ T:-1 }, - /*::[*/0x0214/*::]*/: { /* n:"BrtBeginSortCond", */ T:1 }, - /*::[*/0x0215/*::]*/: { /* n:"BrtEndSortCond", */ T:-1 }, - /*::[*/0x0216/*::]*/: { /* n:"BrtBookProtection" */ }, - /*::[*/0x0217/*::]*/: { /* n:"BrtSheetProtection" */ }, - /*::[*/0x0218/*::]*/: { /* n:"BrtRangeProtection" */ }, - /*::[*/0x0219/*::]*/: { /* n:"BrtPhoneticInfo" */ }, - /*::[*/0x021A/*::]*/: { /* n:"BrtBeginECTxtWiz", */ T:1 }, - /*::[*/0x021B/*::]*/: { /* n:"BrtEndECTxtWiz", */ T:-1 }, - /*::[*/0x021C/*::]*/: { /* n:"BrtBeginECTWFldInfoLst", */ T:1 }, - /*::[*/0x021D/*::]*/: { /* n:"BrtEndECTWFldInfoLst", */ T:-1 }, - /*::[*/0x021E/*::]*/: { /* n:"BrtBeginECTwFldInfo", */ T:1 }, - /*::[*/0x0224/*::]*/: { /* n:"BrtFileSharing" */ }, - /*::[*/0x0225/*::]*/: { /* n:"BrtOleSize" */ }, - /*::[*/0x0226/*::]*/: { /* n:"BrtDrawing", */ f:parse_RelID }, - /*::[*/0x0227/*::]*/: { /* n:"BrtLegacyDrawing", */ f:parse_XLNullableWideString }, - /*::[*/0x0228/*::]*/: { /* n:"BrtLegacyDrawingHF" */ }, - /*::[*/0x0229/*::]*/: { /* n:"BrtWebOpt" */ }, - /*::[*/0x022A/*::]*/: { /* n:"BrtBeginWebPubItems", */ T:1 }, - /*::[*/0x022B/*::]*/: { /* n:"BrtEndWebPubItems", */ T:-1 }, - /*::[*/0x022C/*::]*/: { /* n:"BrtBeginWebPubItem", */ T:1 }, - /*::[*/0x022D/*::]*/: { /* n:"BrtEndWebPubItem", */ T:-1 }, - /*::[*/0x022E/*::]*/: { /* n:"BrtBeginSXCondFmt", */ T:1 }, - /*::[*/0x022F/*::]*/: { /* n:"BrtEndSXCondFmt", */ T:-1 }, - /*::[*/0x0230/*::]*/: { /* n:"BrtBeginSXCondFmts", */ T:1 }, - /*::[*/0x0231/*::]*/: { /* n:"BrtEndSXCondFmts", */ T:-1 }, - /*::[*/0x0232/*::]*/: { /* n:"BrtBkHim" */ }, - /*::[*/0x0234/*::]*/: { /* n:"BrtColor" */ }, - /*::[*/0x0235/*::]*/: { /* n:"BrtBeginIndexedColors", */ T:1 }, - /*::[*/0x0236/*::]*/: { /* n:"BrtEndIndexedColors", */ T:-1 }, - /*::[*/0x0239/*::]*/: { /* n:"BrtBeginMRUColors", */ T:1 }, - /*::[*/0x023A/*::]*/: { /* n:"BrtEndMRUColors", */ T:-1 }, - /*::[*/0x023C/*::]*/: { /* n:"BrtMRUColor" */ }, - /*::[*/0x023D/*::]*/: { /* n:"BrtBeginDVals", */ T:1 }, - /*::[*/0x023E/*::]*/: { /* n:"BrtEndDVals", */ T:-1 }, - /*::[*/0x0241/*::]*/: { /* n:"BrtSupNameStart" */ }, - /*::[*/0x0242/*::]*/: { /* n:"BrtSupNameValueStart" */ }, - /*::[*/0x0243/*::]*/: { /* n:"BrtSupNameValueEnd" */ }, - /*::[*/0x0244/*::]*/: { /* n:"BrtSupNameNum" */ }, - /*::[*/0x0245/*::]*/: { /* n:"BrtSupNameErr" */ }, - /*::[*/0x0246/*::]*/: { /* n:"BrtSupNameSt" */ }, - /*::[*/0x0247/*::]*/: { /* n:"BrtSupNameNil" */ }, - /*::[*/0x0248/*::]*/: { /* n:"BrtSupNameBool" */ }, - /*::[*/0x0249/*::]*/: { /* n:"BrtSupNameFmla" */ }, - /*::[*/0x024A/*::]*/: { /* n:"BrtSupNameBits" */ }, - /*::[*/0x024B/*::]*/: { /* n:"BrtSupNameEnd" */ }, - /*::[*/0x024C/*::]*/: { /* n:"BrtEndSupBook", */ T:-1 }, - /*::[*/0x024D/*::]*/: { /* n:"BrtCellSmartTagProperty" */ }, - /*::[*/0x024E/*::]*/: { /* n:"BrtBeginCellSmartTag", */ T:1 }, - /*::[*/0x024F/*::]*/: { /* n:"BrtEndCellSmartTag", */ T:-1 }, - /*::[*/0x0250/*::]*/: { /* n:"BrtBeginCellSmartTags", */ T:1 }, - /*::[*/0x0251/*::]*/: { /* n:"BrtEndCellSmartTags", */ T:-1 }, - /*::[*/0x0252/*::]*/: { /* n:"BrtBeginSmartTags", */ T:1 }, - /*::[*/0x0253/*::]*/: { /* n:"BrtEndSmartTags", */ T:-1 }, - /*::[*/0x0254/*::]*/: { /* n:"BrtSmartTagType" */ }, - /*::[*/0x0255/*::]*/: { /* n:"BrtBeginSmartTagTypes", */ T:1 }, - /*::[*/0x0256/*::]*/: { /* n:"BrtEndSmartTagTypes", */ T:-1 }, - /*::[*/0x0257/*::]*/: { /* n:"BrtBeginSXFilters", */ T:1 }, - /*::[*/0x0258/*::]*/: { /* n:"BrtEndSXFilters", */ T:-1 }, - /*::[*/0x0259/*::]*/: { /* n:"BrtBeginSXFILTER", */ T:1 }, - /*::[*/0x025A/*::]*/: { /* n:"BrtEndSXFilter", */ T:-1 }, - /*::[*/0x025B/*::]*/: { /* n:"BrtBeginFills", */ T:1 }, - /*::[*/0x025C/*::]*/: { /* n:"BrtEndFills", */ T:-1 }, - /*::[*/0x025D/*::]*/: { /* n:"BrtBeginCellWatches", */ T:1 }, - /*::[*/0x025E/*::]*/: { /* n:"BrtEndCellWatches", */ T:-1 }, - /*::[*/0x025F/*::]*/: { /* n:"BrtCellWatch" */ }, - /*::[*/0x0260/*::]*/: { /* n:"BrtBeginCRErrs", */ T:1 }, - /*::[*/0x0261/*::]*/: { /* n:"BrtEndCRErrs", */ T:-1 }, - /*::[*/0x0262/*::]*/: { /* n:"BrtCrashRecErr" */ }, - /*::[*/0x0263/*::]*/: { /* n:"BrtBeginFonts", */ T:1 }, - /*::[*/0x0264/*::]*/: { /* n:"BrtEndFonts", */ T:-1 }, - /*::[*/0x0265/*::]*/: { /* n:"BrtBeginBorders", */ T:1 }, - /*::[*/0x0266/*::]*/: { /* n:"BrtEndBorders", */ T:-1 }, - /*::[*/0x0267/*::]*/: { /* n:"BrtBeginFmts", */ T:1 }, - /*::[*/0x0268/*::]*/: { /* n:"BrtEndFmts", */ T:-1 }, - /*::[*/0x0269/*::]*/: { /* n:"BrtBeginCellXFs", */ T:1 }, - /*::[*/0x026A/*::]*/: { /* n:"BrtEndCellXFs", */ T:-1 }, - /*::[*/0x026B/*::]*/: { /* n:"BrtBeginStyles", */ T:1 }, - /*::[*/0x026C/*::]*/: { /* n:"BrtEndStyles", */ T:-1 }, - /*::[*/0x0271/*::]*/: { /* n:"BrtBigName" */ }, - /*::[*/0x0272/*::]*/: { /* n:"BrtBeginCellStyleXFs", */ T:1 }, - /*::[*/0x0273/*::]*/: { /* n:"BrtEndCellStyleXFs", */ T:-1 }, - /*::[*/0x0274/*::]*/: { /* n:"BrtBeginComments", */ T:1 }, - /*::[*/0x0275/*::]*/: { /* n:"BrtEndComments", */ T:-1 }, - /*::[*/0x0276/*::]*/: { /* n:"BrtBeginCommentAuthors", */ T:1 }, - /*::[*/0x0277/*::]*/: { /* n:"BrtEndCommentAuthors", */ T:-1 }, - /*::[*/0x0278/*::]*/: { /* n:"BrtCommentAuthor", */ f:parse_BrtCommentAuthor }, - /*::[*/0x0279/*::]*/: { /* n:"BrtBeginCommentList", */ T:1 }, - /*::[*/0x027A/*::]*/: { /* n:"BrtEndCommentList", */ T:-1 }, - /*::[*/0x027B/*::]*/: { /* n:"BrtBeginComment", */ T:1, f:parse_BrtBeginComment}, - /*::[*/0x027C/*::]*/: { /* n:"BrtEndComment", */ T:-1 }, - /*::[*/0x027D/*::]*/: { /* n:"BrtCommentText", */ f:parse_BrtCommentText }, - /*::[*/0x027E/*::]*/: { /* n:"BrtBeginOleObjects", */ T:1 }, - /*::[*/0x027F/*::]*/: { /* n:"BrtOleObject" */ }, - /*::[*/0x0280/*::]*/: { /* n:"BrtEndOleObjects", */ T:-1 }, - /*::[*/0x0281/*::]*/: { /* n:"BrtBeginSxrules", */ T:1 }, - /*::[*/0x0282/*::]*/: { /* n:"BrtEndSxRules", */ T:-1 }, - /*::[*/0x0283/*::]*/: { /* n:"BrtBeginActiveXControls", */ T:1 }, - /*::[*/0x0284/*::]*/: { /* n:"BrtActiveX" */ }, - /*::[*/0x0285/*::]*/: { /* n:"BrtEndActiveXControls", */ T:-1 }, - /*::[*/0x0286/*::]*/: { /* n:"BrtBeginPCDSDTCEMembersSortBy", */ T:1 }, - /*::[*/0x0288/*::]*/: { /* n:"BrtBeginCellIgnoreECs", */ T:1 }, - /*::[*/0x0289/*::]*/: { /* n:"BrtCellIgnoreEC" */ }, - /*::[*/0x028A/*::]*/: { /* n:"BrtEndCellIgnoreECs", */ T:-1 }, - /*::[*/0x028B/*::]*/: { /* n:"BrtCsProp", */ f:parse_BrtCsProp }, - /*::[*/0x028C/*::]*/: { /* n:"BrtCsPageSetup" */ }, - /*::[*/0x028D/*::]*/: { /* n:"BrtBeginUserCsViews", */ T:1 }, - /*::[*/0x028E/*::]*/: { /* n:"BrtEndUserCsViews", */ T:-1 }, - /*::[*/0x028F/*::]*/: { /* n:"BrtBeginUserCsView", */ T:1 }, - /*::[*/0x0290/*::]*/: { /* n:"BrtEndUserCsView", */ T:-1 }, - /*::[*/0x0291/*::]*/: { /* n:"BrtBeginPcdSFCIEntries", */ T:1 }, - /*::[*/0x0292/*::]*/: { /* n:"BrtEndPCDSFCIEntries", */ T:-1 }, - /*::[*/0x0293/*::]*/: { /* n:"BrtPCDSFCIEntry" */ }, - /*::[*/0x0294/*::]*/: { /* n:"BrtBeginListParts", */ T:1 }, - /*::[*/0x0295/*::]*/: { /* n:"BrtListPart" */ }, - /*::[*/0x0296/*::]*/: { /* n:"BrtEndListParts", */ T:-1 }, - /*::[*/0x0297/*::]*/: { /* n:"BrtSheetCalcProp" */ }, - /*::[*/0x0298/*::]*/: { /* n:"BrtBeginFnGroup", */ T:1 }, - /*::[*/0x0299/*::]*/: { /* n:"BrtFnGroup" */ }, - /*::[*/0x029A/*::]*/: { /* n:"BrtEndFnGroup", */ T:-1 }, - /*::[*/0x029B/*::]*/: { /* n:"BrtSupAddin" */ }, - /*::[*/0x029C/*::]*/: { /* n:"BrtSXTDMPOrder" */ }, - /*::[*/0x029D/*::]*/: { /* n:"BrtCsProtection" */ }, - /*::[*/0x029F/*::]*/: { /* n:"BrtBeginWsSortMap", */ T:1 }, - /*::[*/0x02A0/*::]*/: { /* n:"BrtEndWsSortMap", */ T:-1 }, - /*::[*/0x02A1/*::]*/: { /* n:"BrtBeginRRSort", */ T:1 }, - /*::[*/0x02A2/*::]*/: { /* n:"BrtEndRRSort", */ T:-1 }, - /*::[*/0x02A3/*::]*/: { /* n:"BrtRRSortItem" */ }, - /*::[*/0x02A4/*::]*/: { /* n:"BrtFileSharingIso" */ }, - /*::[*/0x02A5/*::]*/: { /* n:"BrtBookProtectionIso" */ }, - /*::[*/0x02A6/*::]*/: { /* n:"BrtSheetProtectionIso" */ }, - /*::[*/0x02A7/*::]*/: { /* n:"BrtCsProtectionIso" */ }, - /*::[*/0x02A8/*::]*/: { /* n:"BrtRangeProtectionIso" */ }, - /*::[*/0x02A9/*::]*/: { /* n:"BrtDValList" */ }, - /*::[*/0x0400/*::]*/: { /* n:"BrtRwDescent" */ }, - /*::[*/0x0401/*::]*/: { /* n:"BrtKnownFonts" */ }, - /*::[*/0x0402/*::]*/: { /* n:"BrtBeginSXTupleSet", */ T:1 }, - /*::[*/0x0403/*::]*/: { /* n:"BrtEndSXTupleSet", */ T:-1 }, - /*::[*/0x0404/*::]*/: { /* n:"BrtBeginSXTupleSetHeader", */ T:1 }, - /*::[*/0x0405/*::]*/: { /* n:"BrtEndSXTupleSetHeader", */ T:-1 }, - /*::[*/0x0406/*::]*/: { /* n:"BrtSXTupleSetHeaderItem" */ }, - /*::[*/0x0407/*::]*/: { /* n:"BrtBeginSXTupleSetData", */ T:1 }, - /*::[*/0x0408/*::]*/: { /* n:"BrtEndSXTupleSetData", */ T:-1 }, - /*::[*/0x0409/*::]*/: { /* n:"BrtBeginSXTupleSetRow", */ T:1 }, - /*::[*/0x040A/*::]*/: { /* n:"BrtEndSXTupleSetRow", */ T:-1 }, - /*::[*/0x040B/*::]*/: { /* n:"BrtSXTupleSetRowItem" */ }, - /*::[*/0x040C/*::]*/: { /* n:"BrtNameExt" */ }, - /*::[*/0x040D/*::]*/: { /* n:"BrtPCDH14" */ }, - /*::[*/0x040E/*::]*/: { /* n:"BrtBeginPCDCalcMem14", */ T:1 }, - /*::[*/0x040F/*::]*/: { /* n:"BrtEndPCDCalcMem14", */ T:-1 }, - /*::[*/0x0410/*::]*/: { /* n:"BrtSXTH14" */ }, - /*::[*/0x0411/*::]*/: { /* n:"BrtBeginSparklineGroup", */ T:1 }, - /*::[*/0x0412/*::]*/: { /* n:"BrtEndSparklineGroup", */ T:-1 }, - /*::[*/0x0413/*::]*/: { /* n:"BrtSparkline" */ }, - /*::[*/0x0414/*::]*/: { /* n:"BrtSXDI14" */ }, - /*::[*/0x0415/*::]*/: { /* n:"BrtWsFmtInfoEx14" */ }, - /*::[*/0x0416/*::]*/: { /* n:"BrtBeginConditionalFormatting14", */ T:1 }, - /*::[*/0x0417/*::]*/: { /* n:"BrtEndConditionalFormatting14", */ T:-1 }, - /*::[*/0x0418/*::]*/: { /* n:"BrtBeginCFRule14", */ T:1 }, - /*::[*/0x0419/*::]*/: { /* n:"BrtEndCFRule14", */ T:-1 }, - /*::[*/0x041A/*::]*/: { /* n:"BrtCFVO14" */ }, - /*::[*/0x041B/*::]*/: { /* n:"BrtBeginDatabar14", */ T:1 }, - /*::[*/0x041C/*::]*/: { /* n:"BrtBeginIconSet14", */ T:1 }, - /*::[*/0x041D/*::]*/: { /* n:"BrtDVal14", */ f: parse_BrtDVal14 }, - /*::[*/0x041E/*::]*/: { /* n:"BrtBeginDVals14", */ T:1 }, - /*::[*/0x041F/*::]*/: { /* n:"BrtColor14" */ }, - /*::[*/0x0420/*::]*/: { /* n:"BrtBeginSparklines", */ T:1 }, - /*::[*/0x0421/*::]*/: { /* n:"BrtEndSparklines", */ T:-1 }, - /*::[*/0x0422/*::]*/: { /* n:"BrtBeginSparklineGroups", */ T:1 }, - /*::[*/0x0423/*::]*/: { /* n:"BrtEndSparklineGroups", */ T:-1 }, - /*::[*/0x0425/*::]*/: { /* n:"BrtSXVD14" */ }, - /*::[*/0x0426/*::]*/: { /* n:"BrtBeginSXView14", */ T:1 }, - /*::[*/0x0427/*::]*/: { /* n:"BrtEndSXView14", */ T:-1 }, - /*::[*/0x0428/*::]*/: { /* n:"BrtBeginSXView16", */ T:1 }, - /*::[*/0x0429/*::]*/: { /* n:"BrtEndSXView16", */ T:-1 }, - /*::[*/0x042A/*::]*/: { /* n:"BrtBeginPCD14", */ T:1 }, - /*::[*/0x042B/*::]*/: { /* n:"BrtEndPCD14", */ T:-1 }, - /*::[*/0x042C/*::]*/: { /* n:"BrtBeginExtConn14", */ T:1 }, - /*::[*/0x042D/*::]*/: { /* n:"BrtEndExtConn14", */ T:-1 }, - /*::[*/0x042E/*::]*/: { /* n:"BrtBeginSlicerCacheIDs", */ T:1 }, - /*::[*/0x042F/*::]*/: { /* n:"BrtEndSlicerCacheIDs", */ T:-1 }, - /*::[*/0x0430/*::]*/: { /* n:"BrtBeginSlicerCacheID", */ T:1 }, - /*::[*/0x0431/*::]*/: { /* n:"BrtEndSlicerCacheID", */ T:-1 }, - /*::[*/0x0433/*::]*/: { /* n:"BrtBeginSlicerCache", */ T:1 }, - /*::[*/0x0434/*::]*/: { /* n:"BrtEndSlicerCache", */ T:-1 }, - /*::[*/0x0435/*::]*/: { /* n:"BrtBeginSlicerCacheDef", */ T:1 }, - /*::[*/0x0436/*::]*/: { /* n:"BrtEndSlicerCacheDef", */ T:-1 }, - /*::[*/0x0437/*::]*/: { /* n:"BrtBeginSlicersEx", */ T:1 }, - /*::[*/0x0438/*::]*/: { /* n:"BrtEndSlicersEx", */ T:-1 }, - /*::[*/0x0439/*::]*/: { /* n:"BrtBeginSlicerEx", */ T:1 }, - /*::[*/0x043A/*::]*/: { /* n:"BrtEndSlicerEx", */ T:-1 }, - /*::[*/0x043B/*::]*/: { /* n:"BrtBeginSlicer", */ T:1 }, - /*::[*/0x043C/*::]*/: { /* n:"BrtEndSlicer", */ T:-1 }, - /*::[*/0x043D/*::]*/: { /* n:"BrtSlicerCachePivotTables" */ }, - /*::[*/0x043E/*::]*/: { /* n:"BrtBeginSlicerCacheOlapImpl", */ T:1 }, - /*::[*/0x043F/*::]*/: { /* n:"BrtEndSlicerCacheOlapImpl", */ T:-1 }, - /*::[*/0x0440/*::]*/: { /* n:"BrtBeginSlicerCacheLevelsData", */ T:1 }, - /*::[*/0x0441/*::]*/: { /* n:"BrtEndSlicerCacheLevelsData", */ T:-1 }, - /*::[*/0x0442/*::]*/: { /* n:"BrtBeginSlicerCacheLevelData", */ T:1 }, - /*::[*/0x0443/*::]*/: { /* n:"BrtEndSlicerCacheLevelData", */ T:-1 }, - /*::[*/0x0444/*::]*/: { /* n:"BrtBeginSlicerCacheSiRanges", */ T:1 }, - /*::[*/0x0445/*::]*/: { /* n:"BrtEndSlicerCacheSiRanges", */ T:-1 }, - /*::[*/0x0446/*::]*/: { /* n:"BrtBeginSlicerCacheSiRange", */ T:1 }, - /*::[*/0x0447/*::]*/: { /* n:"BrtEndSlicerCacheSiRange", */ T:-1 }, - /*::[*/0x0448/*::]*/: { /* n:"BrtSlicerCacheOlapItem" */ }, - /*::[*/0x0449/*::]*/: { /* n:"BrtBeginSlicerCacheSelections", */ T:1 }, - /*::[*/0x044A/*::]*/: { /* n:"BrtSlicerCacheSelection" */ }, - /*::[*/0x044B/*::]*/: { /* n:"BrtEndSlicerCacheSelections", */ T:-1 }, - /*::[*/0x044C/*::]*/: { /* n:"BrtBeginSlicerCacheNative", */ T:1 }, - /*::[*/0x044D/*::]*/: { /* n:"BrtEndSlicerCacheNative", */ T:-1 }, - /*::[*/0x044E/*::]*/: { /* n:"BrtSlicerCacheNativeItem" */ }, - /*::[*/0x044F/*::]*/: { /* n:"BrtRangeProtection14" */ }, - /*::[*/0x0450/*::]*/: { /* n:"BrtRangeProtectionIso14" */ }, - /*::[*/0x0451/*::]*/: { /* n:"BrtCellIgnoreEC14" */ }, - /*::[*/0x0457/*::]*/: { /* n:"BrtList14" */ }, - /*::[*/0x0458/*::]*/: { /* n:"BrtCFIcon" */ }, - /*::[*/0x0459/*::]*/: { /* n:"BrtBeginSlicerCachesPivotCacheIDs", */ T:1 }, - /*::[*/0x045A/*::]*/: { /* n:"BrtEndSlicerCachesPivotCacheIDs", */ T:-1 }, - /*::[*/0x045B/*::]*/: { /* n:"BrtBeginSlicers", */ T:1 }, - /*::[*/0x045C/*::]*/: { /* n:"BrtEndSlicers", */ T:-1 }, - /*::[*/0x045D/*::]*/: { /* n:"BrtWbProp14" */ }, - /*::[*/0x045E/*::]*/: { /* n:"BrtBeginSXEdit", */ T:1 }, - /*::[*/0x045F/*::]*/: { /* n:"BrtEndSXEdit", */ T:-1 }, - /*::[*/0x0460/*::]*/: { /* n:"BrtBeginSXEdits", */ T:1 }, - /*::[*/0x0461/*::]*/: { /* n:"BrtEndSXEdits", */ T:-1 }, - /*::[*/0x0462/*::]*/: { /* n:"BrtBeginSXChange", */ T:1 }, - /*::[*/0x0463/*::]*/: { /* n:"BrtEndSXChange", */ T:-1 }, - /*::[*/0x0464/*::]*/: { /* n:"BrtBeginSXChanges", */ T:1 }, - /*::[*/0x0465/*::]*/: { /* n:"BrtEndSXChanges", */ T:-1 }, - /*::[*/0x0466/*::]*/: { /* n:"BrtSXTupleItems" */ }, - /*::[*/0x0468/*::]*/: { /* n:"BrtBeginSlicerStyle", */ T:1 }, - /*::[*/0x0469/*::]*/: { /* n:"BrtEndSlicerStyle", */ T:-1 }, - /*::[*/0x046A/*::]*/: { /* n:"BrtSlicerStyleElement" */ }, - /*::[*/0x046B/*::]*/: { /* n:"BrtBeginStyleSheetExt14", */ T:1 }, - /*::[*/0x046C/*::]*/: { /* n:"BrtEndStyleSheetExt14", */ T:-1 }, - /*::[*/0x046D/*::]*/: { /* n:"BrtBeginSlicerCachesPivotCacheID", */ T:1 }, - /*::[*/0x046E/*::]*/: { /* n:"BrtEndSlicerCachesPivotCacheID", */ T:-1 }, - /*::[*/0x046F/*::]*/: { /* n:"BrtBeginConditionalFormattings", */ T:1 }, - /*::[*/0x0470/*::]*/: { /* n:"BrtEndConditionalFormattings", */ T:-1 }, - /*::[*/0x0471/*::]*/: { /* n:"BrtBeginPCDCalcMemExt", */ T:1 }, - /*::[*/0x0472/*::]*/: { /* n:"BrtEndPCDCalcMemExt", */ T:-1 }, - /*::[*/0x0473/*::]*/: { /* n:"BrtBeginPCDCalcMemsExt", */ T:1 }, - /*::[*/0x0474/*::]*/: { /* n:"BrtEndPCDCalcMemsExt", */ T:-1 }, - /*::[*/0x0475/*::]*/: { /* n:"BrtPCDField14" */ }, - /*::[*/0x0476/*::]*/: { /* n:"BrtBeginSlicerStyles", */ T:1 }, - /*::[*/0x0477/*::]*/: { /* n:"BrtEndSlicerStyles", */ T:-1 }, - /*::[*/0x0478/*::]*/: { /* n:"BrtBeginSlicerStyleElements", */ T:1 }, - /*::[*/0x0479/*::]*/: { /* n:"BrtEndSlicerStyleElements", */ T:-1 }, - /*::[*/0x047A/*::]*/: { /* n:"BrtCFRuleExt" */ }, - /*::[*/0x047B/*::]*/: { /* n:"BrtBeginSXCondFmt14", */ T:1 }, - /*::[*/0x047C/*::]*/: { /* n:"BrtEndSXCondFmt14", */ T:-1 }, - /*::[*/0x047D/*::]*/: { /* n:"BrtBeginSXCondFmts14", */ T:1 }, - /*::[*/0x047E/*::]*/: { /* n:"BrtEndSXCondFmts14", */ T:-1 }, - /*::[*/0x0480/*::]*/: { /* n:"BrtBeginSortCond14", */ T:1 }, - /*::[*/0x0481/*::]*/: { /* n:"BrtEndSortCond14", */ T:-1 }, - /*::[*/0x0482/*::]*/: { /* n:"BrtEndDVals14", */ T:-1 }, - /*::[*/0x0483/*::]*/: { /* n:"BrtEndIconSet14", */ T:-1 }, - /*::[*/0x0484/*::]*/: { /* n:"BrtEndDatabar14", */ T:-1 }, - /*::[*/0x0485/*::]*/: { /* n:"BrtBeginColorScale14", */ T:1 }, - /*::[*/0x0486/*::]*/: { /* n:"BrtEndColorScale14", */ T:-1 }, - /*::[*/0x0487/*::]*/: { /* n:"BrtBeginSxrules14", */ T:1 }, - /*::[*/0x0488/*::]*/: { /* n:"BrtEndSxrules14", */ T:-1 }, - /*::[*/0x0489/*::]*/: { /* n:"BrtBeginPRule14", */ T:1 }, - /*::[*/0x048A/*::]*/: { /* n:"BrtEndPRule14", */ T:-1 }, - /*::[*/0x048B/*::]*/: { /* n:"BrtBeginPRFilters14", */ T:1 }, - /*::[*/0x048C/*::]*/: { /* n:"BrtEndPRFilters14", */ T:-1 }, - /*::[*/0x048D/*::]*/: { /* n:"BrtBeginPRFilter14", */ T:1 }, - /*::[*/0x048E/*::]*/: { /* n:"BrtEndPRFilter14", */ T:-1 }, - /*::[*/0x048F/*::]*/: { /* n:"BrtBeginPRFItem14", */ T:1 }, - /*::[*/0x0490/*::]*/: { /* n:"BrtEndPRFItem14", */ T:-1 }, - /*::[*/0x0491/*::]*/: { /* n:"BrtBeginCellIgnoreECs14", */ T:1 }, - /*::[*/0x0492/*::]*/: { /* n:"BrtEndCellIgnoreECs14", */ T:-1 }, - /*::[*/0x0493/*::]*/: { /* n:"BrtDxf14" */ }, - /*::[*/0x0494/*::]*/: { /* n:"BrtBeginDxF14s", */ T:1 }, - /*::[*/0x0495/*::]*/: { /* n:"BrtEndDxf14s", */ T:-1 }, - /*::[*/0x0499/*::]*/: { /* n:"BrtFilter14" */ }, - /*::[*/0x049A/*::]*/: { /* n:"BrtBeginCustomFilters14", */ T:1 }, - /*::[*/0x049C/*::]*/: { /* n:"BrtCustomFilter14" */ }, - /*::[*/0x049D/*::]*/: { /* n:"BrtIconFilter14" */ }, - /*::[*/0x049E/*::]*/: { /* n:"BrtPivotCacheConnectionName" */ }, - /*::[*/0x0800/*::]*/: { /* n:"BrtBeginDecoupledPivotCacheIDs", */ T:1 }, - /*::[*/0x0801/*::]*/: { /* n:"BrtEndDecoupledPivotCacheIDs", */ T:-1 }, - /*::[*/0x0802/*::]*/: { /* n:"BrtDecoupledPivotCacheID" */ }, - /*::[*/0x0803/*::]*/: { /* n:"BrtBeginPivotTableRefs", */ T:1 }, - /*::[*/0x0804/*::]*/: { /* n:"BrtEndPivotTableRefs", */ T:-1 }, - /*::[*/0x0805/*::]*/: { /* n:"BrtPivotTableRef" */ }, - /*::[*/0x0806/*::]*/: { /* n:"BrtSlicerCacheBookPivotTables" */ }, - /*::[*/0x0807/*::]*/: { /* n:"BrtBeginSxvcells", */ T:1 }, - /*::[*/0x0808/*::]*/: { /* n:"BrtEndSxvcells", */ T:-1 }, - /*::[*/0x0809/*::]*/: { /* n:"BrtBeginSxRow", */ T:1 }, - /*::[*/0x080A/*::]*/: { /* n:"BrtEndSxRow", */ T:-1 }, - /*::[*/0x080C/*::]*/: { /* n:"BrtPcdCalcMem15" */ }, - /*::[*/0x0813/*::]*/: { /* n:"BrtQsi15" */ }, - /*::[*/0x0814/*::]*/: { /* n:"BrtBeginWebExtensions", */ T:1 }, - /*::[*/0x0815/*::]*/: { /* n:"BrtEndWebExtensions", */ T:-1 }, - /*::[*/0x0816/*::]*/: { /* n:"BrtWebExtension" */ }, - /*::[*/0x0817/*::]*/: { /* n:"BrtAbsPath15" */ }, - /*::[*/0x0818/*::]*/: { /* n:"BrtBeginPivotTableUISettings", */ T:1 }, - /*::[*/0x0819/*::]*/: { /* n:"BrtEndPivotTableUISettings", */ T:-1 }, - /*::[*/0x081B/*::]*/: { /* n:"BrtTableSlicerCacheIDs" */ }, - /*::[*/0x081C/*::]*/: { /* n:"BrtTableSlicerCacheID" */ }, - /*::[*/0x081D/*::]*/: { /* n:"BrtBeginTableSlicerCache", */ T:1 }, - /*::[*/0x081E/*::]*/: { /* n:"BrtEndTableSlicerCache", */ T:-1 }, - /*::[*/0x081F/*::]*/: { /* n:"BrtSxFilter15" */ }, - /*::[*/0x0820/*::]*/: { /* n:"BrtBeginTimelineCachePivotCacheIDs", */ T:1 }, - /*::[*/0x0821/*::]*/: { /* n:"BrtEndTimelineCachePivotCacheIDs", */ T:-1 }, - /*::[*/0x0822/*::]*/: { /* n:"BrtTimelineCachePivotCacheID" */ }, - /*::[*/0x0823/*::]*/: { /* n:"BrtBeginTimelineCacheIDs", */ T:1 }, - /*::[*/0x0824/*::]*/: { /* n:"BrtEndTimelineCacheIDs", */ T:-1 }, - /*::[*/0x0825/*::]*/: { /* n:"BrtBeginTimelineCacheID", */ T:1 }, - /*::[*/0x0826/*::]*/: { /* n:"BrtEndTimelineCacheID", */ T:-1 }, - /*::[*/0x0827/*::]*/: { /* n:"BrtBeginTimelinesEx", */ T:1 }, - /*::[*/0x0828/*::]*/: { /* n:"BrtEndTimelinesEx", */ T:-1 }, - /*::[*/0x0829/*::]*/: { /* n:"BrtBeginTimelineEx", */ T:1 }, - /*::[*/0x082A/*::]*/: { /* n:"BrtEndTimelineEx", */ T:-1 }, - /*::[*/0x082B/*::]*/: { /* n:"BrtWorkBookPr15" */ }, - /*::[*/0x082C/*::]*/: { /* n:"BrtPCDH15" */ }, - /*::[*/0x082D/*::]*/: { /* n:"BrtBeginTimelineStyle", */ T:1 }, - /*::[*/0x082E/*::]*/: { /* n:"BrtEndTimelineStyle", */ T:-1 }, - /*::[*/0x082F/*::]*/: { /* n:"BrtTimelineStyleElement" */ }, - /*::[*/0x0830/*::]*/: { /* n:"BrtBeginTimelineStylesheetExt15", */ T:1 }, - /*::[*/0x0831/*::]*/: { /* n:"BrtEndTimelineStylesheetExt15", */ T:-1 }, - /*::[*/0x0832/*::]*/: { /* n:"BrtBeginTimelineStyles", */ T:1 }, - /*::[*/0x0833/*::]*/: { /* n:"BrtEndTimelineStyles", */ T:-1 }, - /*::[*/0x0834/*::]*/: { /* n:"BrtBeginTimelineStyleElements", */ T:1 }, - /*::[*/0x0835/*::]*/: { /* n:"BrtEndTimelineStyleElements", */ T:-1 }, - /*::[*/0x0836/*::]*/: { /* n:"BrtDxf15" */ }, - /*::[*/0x0837/*::]*/: { /* n:"BrtBeginDxfs15", */ T:1 }, - /*::[*/0x0838/*::]*/: { /* n:"BrtEndDxfs15", */ T:-1 }, - /*::[*/0x0839/*::]*/: { /* n:"BrtSlicerCacheHideItemsWithNoData" */ }, - /*::[*/0x083A/*::]*/: { /* n:"BrtBeginItemUniqueNames", */ T:1 }, - /*::[*/0x083B/*::]*/: { /* n:"BrtEndItemUniqueNames", */ T:-1 }, - /*::[*/0x083C/*::]*/: { /* n:"BrtItemUniqueName" */ }, - /*::[*/0x083D/*::]*/: { /* n:"BrtBeginExtConn15", */ T:1 }, - /*::[*/0x083E/*::]*/: { /* n:"BrtEndExtConn15", */ T:-1 }, - /*::[*/0x083F/*::]*/: { /* n:"BrtBeginOledbPr15", */ T:1 }, - /*::[*/0x0840/*::]*/: { /* n:"BrtEndOledbPr15", */ T:-1 }, - /*::[*/0x0841/*::]*/: { /* n:"BrtBeginDataFeedPr15", */ T:1 }, - /*::[*/0x0842/*::]*/: { /* n:"BrtEndDataFeedPr15", */ T:-1 }, - /*::[*/0x0843/*::]*/: { /* n:"BrtTextPr15" */ }, - /*::[*/0x0844/*::]*/: { /* n:"BrtRangePr15" */ }, - /*::[*/0x0845/*::]*/: { /* n:"BrtDbCommand15" */ }, - /*::[*/0x0846/*::]*/: { /* n:"BrtBeginDbTables15", */ T:1 }, - /*::[*/0x0847/*::]*/: { /* n:"BrtEndDbTables15", */ T:-1 }, - /*::[*/0x0848/*::]*/: { /* n:"BrtDbTable15" */ }, - /*::[*/0x0849/*::]*/: { /* n:"BrtBeginDataModel", */ T:1 }, - /*::[*/0x084A/*::]*/: { /* n:"BrtEndDataModel", */ T:-1 }, - /*::[*/0x084B/*::]*/: { /* n:"BrtBeginModelTables", */ T:1 }, - /*::[*/0x084C/*::]*/: { /* n:"BrtEndModelTables", */ T:-1 }, - /*::[*/0x084D/*::]*/: { /* n:"BrtModelTable" */ }, - /*::[*/0x084E/*::]*/: { /* n:"BrtBeginModelRelationships", */ T:1 }, - /*::[*/0x084F/*::]*/: { /* n:"BrtEndModelRelationships", */ T:-1 }, - /*::[*/0x0850/*::]*/: { /* n:"BrtModelRelationship" */ }, - /*::[*/0x0851/*::]*/: { /* n:"BrtBeginECTxtWiz15", */ T:1 }, - /*::[*/0x0852/*::]*/: { /* n:"BrtEndECTxtWiz15", */ T:-1 }, - /*::[*/0x0853/*::]*/: { /* n:"BrtBeginECTWFldInfoLst15", */ T:1 }, - /*::[*/0x0854/*::]*/: { /* n:"BrtEndECTWFldInfoLst15", */ T:-1 }, - /*::[*/0x0855/*::]*/: { /* n:"BrtBeginECTWFldInfo15", */ T:1 }, - /*::[*/0x0856/*::]*/: { /* n:"BrtFieldListActiveItem" */ }, - /*::[*/0x0857/*::]*/: { /* n:"BrtPivotCacheIdVersion" */ }, - /*::[*/0x0858/*::]*/: { /* n:"BrtSXDI15" */ }, - /*::[*/0x0859/*::]*/: { /* n:"BrtBeginModelTimeGroupings", */ T:1 }, - /*::[*/0x085A/*::]*/: { /* n:"BrtEndModelTimeGroupings", */ T:-1 }, - /*::[*/0x085B/*::]*/: { /* n:"BrtBeginModelTimeGrouping", */ T:1 }, - /*::[*/0x085C/*::]*/: { /* n:"BrtEndModelTimeGrouping", */ T:-1 }, - /*::[*/0x085D/*::]*/: { /* n:"BrtModelTimeGroupingCalcCol" */ }, - /*::[*/0x0C00/*::]*/: { /* n:"BrtUid" */ }, - /*::[*/0x0C01/*::]*/: { /* n:"BrtRevisionPtr" */ }, - /*::[*/0x1000/*::]*/: { /* n:"BrtBeginDynamicArrayPr", */ T:1 }, - /*::[*/0x1001/*::]*/: { /* n:"BrtEndDynamicArrayPr", */ T:-1 }, - /*::[*/0x138A/*::]*/: { /* n:"BrtBeginRichValueBlock", */ T:1 }, - /*::[*/0x138B/*::]*/: { /* n:"BrtEndRichValueBlock", */ T:-1 }, - /*::[*/0x13D9/*::]*/: { /* n:"BrtBeginRichFilters", */ T:1 }, - /*::[*/0x13DA/*::]*/: { /* n:"BrtEndRichFilters", */ T:-1 }, - /*::[*/0x13DB/*::]*/: { /* n:"BrtRichFilter" */ }, - /*::[*/0x13DC/*::]*/: { /* n:"BrtBeginRichFilterColumn", */ T:1 }, - /*::[*/0x13DD/*::]*/: { /* n:"BrtEndRichFilterColumn", */ T:-1 }, - /*::[*/0x13DE/*::]*/: { /* n:"BrtBeginCustomRichFilters", */ T:1 }, - /*::[*/0x13DF/*::]*/: { /* n:"BrtEndCustomRichFilters", */ T:-1 }, - /*::[*/0x13E0/*::]*/: { /* n:"BrtCustomRichFilter" */ }, - /*::[*/0x13E1/*::]*/: { /* n:"BrtTop10RichFilter" */ }, - /*::[*/0x13E2/*::]*/: { /* n:"BrtDynamicRichFilter" */ }, - /*::[*/0x13E4/*::]*/: { /* n:"BrtBeginRichSortCondition", */ T:1 }, - /*::[*/0x13E5/*::]*/: { /* n:"BrtEndRichSortCondition", */ T:-1 }, - /*::[*/0x13E6/*::]*/: { /* n:"BrtRichFilterDateGroupItem" */ }, - /*::[*/0x13E7/*::]*/: { /* n:"BrtBeginCalcFeatures", */ T:1 }, - /*::[*/0x13E8/*::]*/: { /* n:"BrtEndCalcFeatures", */ T:-1 }, - /*::[*/0x13E9/*::]*/: { /* n:"BrtCalcFeature" */ }, - /*::[*/0x13EB/*::]*/: { /* n:"BrtExternalLinksPr" */ }, - /*::[*/0xFFFF/*::]*/: { n:"" } + 0x0000: { /* n:"BrtRowHdr", */ f:parse_BrtRowHdr }, + 0x0001: { /* n:"BrtCellBlank", */ f:parse_BrtCellBlank }, + 0x0002: { /* n:"BrtCellRk", */ f:parse_BrtCellRk }, + 0x0003: { /* n:"BrtCellError", */ f:parse_BrtCellError }, + 0x0004: { /* n:"BrtCellBool", */ f:parse_BrtCellBool }, + 0x0005: { /* n:"BrtCellReal", */ f:parse_BrtCellReal }, + 0x0006: { /* n:"BrtCellSt", */ f:parse_BrtCellSt }, + 0x0007: { /* n:"BrtCellIsst", */ f:parse_BrtCellIsst }, + 0x0008: { /* n:"BrtFmlaString", */ f:parse_BrtFmlaString }, + 0x0009: { /* n:"BrtFmlaNum", */ f:parse_BrtFmlaNum }, + 0x000A: { /* n:"BrtFmlaBool", */ f:parse_BrtFmlaBool }, + 0x000B: { /* n:"BrtFmlaError", */ f:parse_BrtFmlaError }, + 0x000C: { /* n:"BrtShortBlank", */ f:parse_BrtShortBlank }, + 0x000D: { /* n:"BrtShortRk", */ f:parse_BrtShortRk }, + 0x000E: { /* n:"BrtShortError", */ f:parse_BrtShortError }, + 0x000F: { /* n:"BrtShortBool", */ f:parse_BrtShortBool }, + 0x0010: { /* n:"BrtShortReal", */ f:parse_BrtShortReal }, + 0x0011: { /* n:"BrtShortSt", */ f:parse_BrtShortSt }, + 0x0012: { /* n:"BrtShortIsst", */ f:parse_BrtShortIsst }, + 0x0013: { /* n:"BrtSSTItem", */ f:parse_RichStr }, + 0x0014: { /* n:"BrtPCDIMissing" */ }, + 0x0015: { /* n:"BrtPCDINumber" */ }, + 0x0016: { /* n:"BrtPCDIBoolean" */ }, + 0x0017: { /* n:"BrtPCDIError" */ }, + 0x0018: { /* n:"BrtPCDIString" */ }, + 0x0019: { /* n:"BrtPCDIDatetime" */ }, + 0x001A: { /* n:"BrtPCDIIndex" */ }, + 0x001B: { /* n:"BrtPCDIAMissing" */ }, + 0x001C: { /* n:"BrtPCDIANumber" */ }, + 0x001D: { /* n:"BrtPCDIABoolean" */ }, + 0x001E: { /* n:"BrtPCDIAError" */ }, + 0x001F: { /* n:"BrtPCDIAString" */ }, + 0x0020: { /* n:"BrtPCDIADatetime" */ }, + 0x0021: { /* n:"BrtPCRRecord" */ }, + 0x0022: { /* n:"BrtPCRRecordDt" */ }, + 0x0023: { /* n:"BrtFRTBegin", */ T:1 }, + 0x0024: { /* n:"BrtFRTEnd", */ T:-1 }, + 0x0025: { /* n:"BrtACBegin", */ T:1 }, + 0x0026: { /* n:"BrtACEnd", */ T:-1 }, + 0x0027: { /* n:"BrtName", */ f:parse_BrtName }, + 0x0028: { /* n:"BrtIndexRowBlock" */ }, + 0x002A: { /* n:"BrtIndexBlock" */ }, + 0x002B: { /* n:"BrtFont", */ f:parse_BrtFont }, + 0x002C: { /* n:"BrtFmt", */ f:parse_BrtFmt }, + 0x002D: { /* n:"BrtFill", */ f:parse_BrtFill }, + 0x002E: { /* n:"BrtBorder", */ f:parse_BrtBorder }, + 0x002F: { /* n:"BrtXF", */ f:parse_BrtXF }, + 0x0030: { /* n:"BrtStyle" */ }, + 0x0031: { /* n:"BrtCellMeta", */ f:parse_Int32LE }, + 0x0032: { /* n:"BrtValueMeta" */ }, + 0x0033: { /* n:"BrtMdb" */ f:parse_BrtMdb }, + 0x0034: { /* n:"BrtBeginFmd", */ T:1 }, + 0x0035: { /* n:"BrtEndFmd", */ T:-1 }, + 0x0036: { /* n:"BrtBeginMdx", */ T:1 }, + 0x0037: { /* n:"BrtEndMdx", */ T:-1 }, + 0x0038: { /* n:"BrtBeginMdxTuple", */ T:1 }, + 0x0039: { /* n:"BrtEndMdxTuple", */ T:-1 }, + 0x003A: { /* n:"BrtMdxMbrIstr" */ }, + 0x003B: { /* n:"BrtStr" */ }, + 0x003C: { /* n:"BrtColInfo", */ f:parse_ColInfo }, + 0x003E: { /* n:"BrtCellRString", */ f:parse_BrtCellRString }, + 0x003F: { /* n:"BrtCalcChainItem$", */ f:parse_BrtCalcChainItem$ }, + 0x0040: { /* n:"BrtDVal", */ f:parse_BrtDVal }, + 0x0041: { /* n:"BrtSxvcellNum" */ }, + 0x0042: { /* n:"BrtSxvcellStr" */ }, + 0x0043: { /* n:"BrtSxvcellBool" */ }, + 0x0044: { /* n:"BrtSxvcellErr" */ }, + 0x0045: { /* n:"BrtSxvcellDate" */ }, + 0x0046: { /* n:"BrtSxvcellNil" */ }, + 0x0080: { /* n:"BrtFileVersion" */ }, + 0x0081: { /* n:"BrtBeginSheet", */ T:1 }, + 0x0082: { /* n:"BrtEndSheet", */ T:-1 }, + 0x0083: { /* n:"BrtBeginBook", */ T:1, f:parsenoop, p:0 }, + 0x0084: { /* n:"BrtEndBook", */ T:-1 }, + 0x0085: { /* n:"BrtBeginWsViews", */ T:1 }, + 0x0086: { /* n:"BrtEndWsViews", */ T:-1 }, + 0x0087: { /* n:"BrtBeginBookViews", */ T:1 }, + 0x0088: { /* n:"BrtEndBookViews", */ T:-1 }, + 0x0089: { /* n:"BrtBeginWsView", */ T:1, f:parse_BrtBeginWsView }, + 0x008A: { /* n:"BrtEndWsView", */ T:-1 }, + 0x008B: { /* n:"BrtBeginCsViews", */ T:1 }, + 0x008C: { /* n:"BrtEndCsViews", */ T:-1 }, + 0x008D: { /* n:"BrtBeginCsView", */ T:1 }, + 0x008E: { /* n:"BrtEndCsView", */ T:-1 }, + 0x008F: { /* n:"BrtBeginBundleShs", */ T:1 }, + 0x0090: { /* n:"BrtEndBundleShs", */ T:-1 }, + 0x0091: { /* n:"BrtBeginSheetData", */ T:1 }, + 0x0092: { /* n:"BrtEndSheetData", */ T:-1 }, + 0x0093: { /* n:"BrtWsProp", */ f:parse_BrtWsProp }, + 0x0094: { /* n:"BrtWsDim", */ f:parse_BrtWsDim, p:16 }, + 0x0097: { /* n:"BrtPane", */ f:parse_BrtPane }, + 0x0098: { /* n:"BrtSel" */ }, + 0x0099: { /* n:"BrtWbProp", */ f:parse_BrtWbProp }, + 0x009A: { /* n:"BrtWbFactoid" */ }, + 0x009B: { /* n:"BrtFileRecover" */ }, + 0x009C: { /* n:"BrtBundleSh", */ f:parse_BrtBundleSh }, + 0x009D: { /* n:"BrtCalcProp" */ }, + 0x009E: { /* n:"BrtBookView" */ }, + 0x009F: { /* n:"BrtBeginSst", */ T:1, f:parse_BrtBeginSst }, + 0x00A0: { /* n:"BrtEndSst", */ T:-1 }, + 0x00A1: { /* n:"BrtBeginAFilter", */ T:1, f:parse_UncheckedRfX }, + 0x00A2: { /* n:"BrtEndAFilter", */ T:-1 }, + 0x00A3: { /* n:"BrtBeginFilterColumn", */ T:1 }, + 0x00A4: { /* n:"BrtEndFilterColumn", */ T:-1 }, + 0x00A5: { /* n:"BrtBeginFilters", */ T:1 }, + 0x00A6: { /* n:"BrtEndFilters", */ T:-1 }, + 0x00A7: { /* n:"BrtFilter" */ }, + 0x00A8: { /* n:"BrtColorFilter" */ }, + 0x00A9: { /* n:"BrtIconFilter" */ }, + 0x00AA: { /* n:"BrtTop10Filter" */ }, + 0x00AB: { /* n:"BrtDynamicFilter" */ }, + 0x00AC: { /* n:"BrtBeginCustomFilters", */ T:1 }, + 0x00AD: { /* n:"BrtEndCustomFilters", */ T:-1 }, + 0x00AE: { /* n:"BrtCustomFilter" */ }, + 0x00AF: { /* n:"BrtAFilterDateGroupItem" */ }, + 0x00B0: { /* n:"BrtMergeCell", */ f:parse_BrtMergeCell }, + 0x00B1: { /* n:"BrtBeginMergeCells", */ T:1 }, + 0x00B2: { /* n:"BrtEndMergeCells", */ T:-1 }, + 0x00B3: { /* n:"BrtBeginPivotCacheDef", */ T:1 }, + 0x00B4: { /* n:"BrtEndPivotCacheDef", */ T:-1 }, + 0x00B5: { /* n:"BrtBeginPCDFields", */ T:1 }, + 0x00B6: { /* n:"BrtEndPCDFields", */ T:-1 }, + 0x00B7: { /* n:"BrtBeginPCDField", */ T:1 }, + 0x00B8: { /* n:"BrtEndPCDField", */ T:-1 }, + 0x00B9: { /* n:"BrtBeginPCDSource", */ T:1 }, + 0x00BA: { /* n:"BrtEndPCDSource", */ T:-1 }, + 0x00BB: { /* n:"BrtBeginPCDSRange", */ T:1 }, + 0x00BC: { /* n:"BrtEndPCDSRange", */ T:-1 }, + 0x00BD: { /* n:"BrtBeginPCDFAtbl", */ T:1 }, + 0x00BE: { /* n:"BrtEndPCDFAtbl", */ T:-1 }, + 0x00BF: { /* n:"BrtBeginPCDIRun", */ T:1 }, + 0x00C0: { /* n:"BrtEndPCDIRun", */ T:-1 }, + 0x00C1: { /* n:"BrtBeginPivotCacheRecords", */ T:1 }, + 0x00C2: { /* n:"BrtEndPivotCacheRecords", */ T:-1 }, + 0x00C3: { /* n:"BrtBeginPCDHierarchies", */ T:1 }, + 0x00C4: { /* n:"BrtEndPCDHierarchies", */ T:-1 }, + 0x00C5: { /* n:"BrtBeginPCDHierarchy", */ T:1 }, + 0x00C6: { /* n:"BrtEndPCDHierarchy", */ T:-1 }, + 0x00C7: { /* n:"BrtBeginPCDHFieldsUsage", */ T:1 }, + 0x00C8: { /* n:"BrtEndPCDHFieldsUsage", */ T:-1 }, + 0x00C9: { /* n:"BrtBeginExtConnection", */ T:1 }, + 0x00CA: { /* n:"BrtEndExtConnection", */ T:-1 }, + 0x00CB: { /* n:"BrtBeginECDbProps", */ T:1 }, + 0x00CC: { /* n:"BrtEndECDbProps", */ T:-1 }, + 0x00CD: { /* n:"BrtBeginECOlapProps", */ T:1 }, + 0x00CE: { /* n:"BrtEndECOlapProps", */ T:-1 }, + 0x00CF: { /* n:"BrtBeginPCDSConsol", */ T:1 }, + 0x00D0: { /* n:"BrtEndPCDSConsol", */ T:-1 }, + 0x00D1: { /* n:"BrtBeginPCDSCPages", */ T:1 }, + 0x00D2: { /* n:"BrtEndPCDSCPages", */ T:-1 }, + 0x00D3: { /* n:"BrtBeginPCDSCPage", */ T:1 }, + 0x00D4: { /* n:"BrtEndPCDSCPage", */ T:-1 }, + 0x00D5: { /* n:"BrtBeginPCDSCPItem", */ T:1 }, + 0x00D6: { /* n:"BrtEndPCDSCPItem", */ T:-1 }, + 0x00D7: { /* n:"BrtBeginPCDSCSets", */ T:1 }, + 0x00D8: { /* n:"BrtEndPCDSCSets", */ T:-1 }, + 0x00D9: { /* n:"BrtBeginPCDSCSet", */ T:1 }, + 0x00DA: { /* n:"BrtEndPCDSCSet", */ T:-1 }, + 0x00DB: { /* n:"BrtBeginPCDFGroup", */ T:1 }, + 0x00DC: { /* n:"BrtEndPCDFGroup", */ T:-1 }, + 0x00DD: { /* n:"BrtBeginPCDFGItems", */ T:1 }, + 0x00DE: { /* n:"BrtEndPCDFGItems", */ T:-1 }, + 0x00DF: { /* n:"BrtBeginPCDFGRange", */ T:1 }, + 0x00E0: { /* n:"BrtEndPCDFGRange", */ T:-1 }, + 0x00E1: { /* n:"BrtBeginPCDFGDiscrete", */ T:1 }, + 0x00E2: { /* n:"BrtEndPCDFGDiscrete", */ T:-1 }, + 0x00E3: { /* n:"BrtBeginPCDSDTupleCache", */ T:1 }, + 0x00E4: { /* n:"BrtEndPCDSDTupleCache", */ T:-1 }, + 0x00E5: { /* n:"BrtBeginPCDSDTCEntries", */ T:1 }, + 0x00E6: { /* n:"BrtEndPCDSDTCEntries", */ T:-1 }, + 0x00E7: { /* n:"BrtBeginPCDSDTCEMembers", */ T:1 }, + 0x00E8: { /* n:"BrtEndPCDSDTCEMembers", */ T:-1 }, + 0x00E9: { /* n:"BrtBeginPCDSDTCEMember", */ T:1 }, + 0x00EA: { /* n:"BrtEndPCDSDTCEMember", */ T:-1 }, + 0x00EB: { /* n:"BrtBeginPCDSDTCQueries", */ T:1 }, + 0x00EC: { /* n:"BrtEndPCDSDTCQueries", */ T:-1 }, + 0x00ED: { /* n:"BrtBeginPCDSDTCQuery", */ T:1 }, + 0x00EE: { /* n:"BrtEndPCDSDTCQuery", */ T:-1 }, + 0x00EF: { /* n:"BrtBeginPCDSDTCSets", */ T:1 }, + 0x00F0: { /* n:"BrtEndPCDSDTCSets", */ T:-1 }, + 0x00F1: { /* n:"BrtBeginPCDSDTCSet", */ T:1 }, + 0x00F2: { /* n:"BrtEndPCDSDTCSet", */ T:-1 }, + 0x00F3: { /* n:"BrtBeginPCDCalcItems", */ T:1 }, + 0x00F4: { /* n:"BrtEndPCDCalcItems", */ T:-1 }, + 0x00F5: { /* n:"BrtBeginPCDCalcItem", */ T:1 }, + 0x00F6: { /* n:"BrtEndPCDCalcItem", */ T:-1 }, + 0x00F7: { /* n:"BrtBeginPRule", */ T:1 }, + 0x00F8: { /* n:"BrtEndPRule", */ T:-1 }, + 0x00F9: { /* n:"BrtBeginPRFilters", */ T:1 }, + 0x00FA: { /* n:"BrtEndPRFilters", */ T:-1 }, + 0x00FB: { /* n:"BrtBeginPRFilter", */ T:1 }, + 0x00FC: { /* n:"BrtEndPRFilter", */ T:-1 }, + 0x00FD: { /* n:"BrtBeginPNames", */ T:1 }, + 0x00FE: { /* n:"BrtEndPNames", */ T:-1 }, + 0x00FF: { /* n:"BrtBeginPName", */ T:1 }, + 0x0100: { /* n:"BrtEndPName", */ T:-1 }, + 0x0101: { /* n:"BrtBeginPNPairs", */ T:1 }, + 0x0102: { /* n:"BrtEndPNPairs", */ T:-1 }, + 0x0103: { /* n:"BrtBeginPNPair", */ T:1 }, + 0x0104: { /* n:"BrtEndPNPair", */ T:-1 }, + 0x0105: { /* n:"BrtBeginECWebProps", */ T:1 }, + 0x0106: { /* n:"BrtEndECWebProps", */ T:-1 }, + 0x0107: { /* n:"BrtBeginEcWpTables", */ T:1 }, + 0x0108: { /* n:"BrtEndECWPTables", */ T:-1 }, + 0x0109: { /* n:"BrtBeginECParams", */ T:1 }, + 0x010A: { /* n:"BrtEndECParams", */ T:-1 }, + 0x010B: { /* n:"BrtBeginECParam", */ T:1 }, + 0x010C: { /* n:"BrtEndECParam", */ T:-1 }, + 0x010D: { /* n:"BrtBeginPCDKPIs", */ T:1 }, + 0x010E: { /* n:"BrtEndPCDKPIs", */ T:-1 }, + 0x010F: { /* n:"BrtBeginPCDKPI", */ T:1 }, + 0x0110: { /* n:"BrtEndPCDKPI", */ T:-1 }, + 0x0111: { /* n:"BrtBeginDims", */ T:1 }, + 0x0112: { /* n:"BrtEndDims", */ T:-1 }, + 0x0113: { /* n:"BrtBeginDim", */ T:1 }, + 0x0114: { /* n:"BrtEndDim", */ T:-1 }, + 0x0115: { /* n:"BrtIndexPartEnd" */ }, + 0x0116: { /* n:"BrtBeginStyleSheet", */ T:1 }, + 0x0117: { /* n:"BrtEndStyleSheet", */ T:-1 }, + 0x0118: { /* n:"BrtBeginSXView", */ T:1 }, + 0x0119: { /* n:"BrtEndSXVI", */ T:-1 }, + 0x011A: { /* n:"BrtBeginSXVI", */ T:1 }, + 0x011B: { /* n:"BrtBeginSXVIs", */ T:1 }, + 0x011C: { /* n:"BrtEndSXVIs", */ T:-1 }, + 0x011D: { /* n:"BrtBeginSXVD", */ T:1 }, + 0x011E: { /* n:"BrtEndSXVD", */ T:-1 }, + 0x011F: { /* n:"BrtBeginSXVDs", */ T:1 }, + 0x0120: { /* n:"BrtEndSXVDs", */ T:-1 }, + 0x0121: { /* n:"BrtBeginSXPI", */ T:1 }, + 0x0122: { /* n:"BrtEndSXPI", */ T:-1 }, + 0x0123: { /* n:"BrtBeginSXPIs", */ T:1 }, + 0x0124: { /* n:"BrtEndSXPIs", */ T:-1 }, + 0x0125: { /* n:"BrtBeginSXDI", */ T:1 }, + 0x0126: { /* n:"BrtEndSXDI", */ T:-1 }, + 0x0127: { /* n:"BrtBeginSXDIs", */ T:1 }, + 0x0128: { /* n:"BrtEndSXDIs", */ T:-1 }, + 0x0129: { /* n:"BrtBeginSXLI", */ T:1 }, + 0x012A: { /* n:"BrtEndSXLI", */ T:-1 }, + 0x012B: { /* n:"BrtBeginSXLIRws", */ T:1 }, + 0x012C: { /* n:"BrtEndSXLIRws", */ T:-1 }, + 0x012D: { /* n:"BrtBeginSXLICols", */ T:1 }, + 0x012E: { /* n:"BrtEndSXLICols", */ T:-1 }, + 0x012F: { /* n:"BrtBeginSXFormat", */ T:1 }, + 0x0130: { /* n:"BrtEndSXFormat", */ T:-1 }, + 0x0131: { /* n:"BrtBeginSXFormats", */ T:1 }, + 0x0132: { /* n:"BrtEndSxFormats", */ T:-1 }, + 0x0133: { /* n:"BrtBeginSxSelect", */ T:1 }, + 0x0134: { /* n:"BrtEndSxSelect", */ T:-1 }, + 0x0135: { /* n:"BrtBeginISXVDRws", */ T:1 }, + 0x0136: { /* n:"BrtEndISXVDRws", */ T:-1 }, + 0x0137: { /* n:"BrtBeginISXVDCols", */ T:1 }, + 0x0138: { /* n:"BrtEndISXVDCols", */ T:-1 }, + 0x0139: { /* n:"BrtEndSXLocation", */ T:-1 }, + 0x013A: { /* n:"BrtBeginSXLocation", */ T:1 }, + 0x013B: { /* n:"BrtEndSXView", */ T:-1 }, + 0x013C: { /* n:"BrtBeginSXTHs", */ T:1 }, + 0x013D: { /* n:"BrtEndSXTHs", */ T:-1 }, + 0x013E: { /* n:"BrtBeginSXTH", */ T:1 }, + 0x013F: { /* n:"BrtEndSXTH", */ T:-1 }, + 0x0140: { /* n:"BrtBeginISXTHRws", */ T:1 }, + 0x0141: { /* n:"BrtEndISXTHRws", */ T:-1 }, + 0x0142: { /* n:"BrtBeginISXTHCols", */ T:1 }, + 0x0143: { /* n:"BrtEndISXTHCols", */ T:-1 }, + 0x0144: { /* n:"BrtBeginSXTDMPS", */ T:1 }, + 0x0145: { /* n:"BrtEndSXTDMPs", */ T:-1 }, + 0x0146: { /* n:"BrtBeginSXTDMP", */ T:1 }, + 0x0147: { /* n:"BrtEndSXTDMP", */ T:-1 }, + 0x0148: { /* n:"BrtBeginSXTHItems", */ T:1 }, + 0x0149: { /* n:"BrtEndSXTHItems", */ T:-1 }, + 0x014A: { /* n:"BrtBeginSXTHItem", */ T:1 }, + 0x014B: { /* n:"BrtEndSXTHItem", */ T:-1 }, + 0x014C: { /* n:"BrtBeginMetadata", */ T:1 }, + 0x014D: { /* n:"BrtEndMetadata", */ T:-1 }, + 0x014E: { /* n:"BrtBeginEsmdtinfo", */ T:1 }, + 0x014F: { /* n:"BrtMdtinfo", */ f:parse_BrtMdtinfo }, + 0x0150: { /* n:"BrtEndEsmdtinfo", */ T:-1 }, + 0x0151: { /* n:"BrtBeginEsmdb", */ f:parse_BrtBeginEsmdb, T:1 }, + 0x0152: { /* n:"BrtEndEsmdb", */ T:-1 }, + 0x0153: { /* n:"BrtBeginEsfmd", */ T:1 }, + 0x0154: { /* n:"BrtEndEsfmd", */ T:-1 }, + 0x0155: { /* n:"BrtBeginSingleCells", */ T:1 }, + 0x0156: { /* n:"BrtEndSingleCells", */ T:-1 }, + 0x0157: { /* n:"BrtBeginList", */ T:1 }, + 0x0158: { /* n:"BrtEndList", */ T:-1 }, + 0x0159: { /* n:"BrtBeginListCols", */ T:1 }, + 0x015A: { /* n:"BrtEndListCols", */ T:-1 }, + 0x015B: { /* n:"BrtBeginListCol", */ T:1 }, + 0x015C: { /* n:"BrtEndListCol", */ T:-1 }, + 0x015D: { /* n:"BrtBeginListXmlCPr", */ T:1 }, + 0x015E: { /* n:"BrtEndListXmlCPr", */ T:-1 }, + 0x015F: { /* n:"BrtListCCFmla" */ }, + 0x0160: { /* n:"BrtListTrFmla" */ }, + 0x0161: { /* n:"BrtBeginExternals", */ T:1 }, + 0x0162: { /* n:"BrtEndExternals", */ T:-1 }, + 0x0163: { /* n:"BrtSupBookSrc", */ f:parse_RelID}, + 0x0165: { /* n:"BrtSupSelf" */ }, + 0x0166: { /* n:"BrtSupSame" */ }, + 0x0167: { /* n:"BrtSupTabs" */ }, + 0x0168: { /* n:"BrtBeginSupBook", */ T:1 }, + 0x0169: { /* n:"BrtPlaceholderName" */ }, + 0x016A: { /* n:"BrtExternSheet", */ f:parse_ExternSheet }, + 0x016B: { /* n:"BrtExternTableStart" */ }, + 0x016C: { /* n:"BrtExternTableEnd" */ }, + 0x016E: { /* n:"BrtExternRowHdr" */ }, + 0x016F: { /* n:"BrtExternCellBlank" */ }, + 0x0170: { /* n:"BrtExternCellReal" */ }, + 0x0171: { /* n:"BrtExternCellBool" */ }, + 0x0172: { /* n:"BrtExternCellError" */ }, + 0x0173: { /* n:"BrtExternCellString" */ }, + 0x0174: { /* n:"BrtBeginEsmdx", */ T:1 }, + 0x0175: { /* n:"BrtEndEsmdx", */ T:-1 }, + 0x0176: { /* n:"BrtBeginMdxSet", */ T:1 }, + 0x0177: { /* n:"BrtEndMdxSet", */ T:-1 }, + 0x0178: { /* n:"BrtBeginMdxMbrProp", */ T:1 }, + 0x0179: { /* n:"BrtEndMdxMbrProp", */ T:-1 }, + 0x017A: { /* n:"BrtBeginMdxKPI", */ T:1 }, + 0x017B: { /* n:"BrtEndMdxKPI", */ T:-1 }, + 0x017C: { /* n:"BrtBeginEsstr", */ T:1 }, + 0x017D: { /* n:"BrtEndEsstr", */ T:-1 }, + 0x017E: { /* n:"BrtBeginPRFItem", */ T:1 }, + 0x017F: { /* n:"BrtEndPRFItem", */ T:-1 }, + 0x0180: { /* n:"BrtBeginPivotCacheIDs", */ T:1 }, + 0x0181: { /* n:"BrtEndPivotCacheIDs", */ T:-1 }, + 0x0182: { /* n:"BrtBeginPivotCacheID", */ T:1 }, + 0x0183: { /* n:"BrtEndPivotCacheID", */ T:-1 }, + 0x0184: { /* n:"BrtBeginISXVIs", */ T:1 }, + 0x0185: { /* n:"BrtEndISXVIs", */ T:-1 }, + 0x0186: { /* n:"BrtBeginColInfos", */ T:1 }, + 0x0187: { /* n:"BrtEndColInfos", */ T:-1 }, + 0x0188: { /* n:"BrtBeginRwBrk", */ T:1 }, + 0x0189: { /* n:"BrtEndRwBrk", */ T:-1 }, + 0x018A: { /* n:"BrtBeginColBrk", */ T:1 }, + 0x018B: { /* n:"BrtEndColBrk", */ T:-1 }, + 0x018C: { /* n:"BrtBrk" */ }, + 0x018D: { /* n:"BrtUserBookView" */ }, + 0x018E: { /* n:"BrtInfo" */ }, + 0x018F: { /* n:"BrtCUsr" */ }, + 0x0190: { /* n:"BrtUsr" */ }, + 0x0191: { /* n:"BrtBeginUsers", */ T:1 }, + 0x0193: { /* n:"BrtEOF" */ }, + 0x0194: { /* n:"BrtUCR" */ }, + 0x0195: { /* n:"BrtRRInsDel" */ }, + 0x0196: { /* n:"BrtRREndInsDel" */ }, + 0x0197: { /* n:"BrtRRMove" */ }, + 0x0198: { /* n:"BrtRREndMove" */ }, + 0x0199: { /* n:"BrtRRChgCell" */ }, + 0x019A: { /* n:"BrtRREndChgCell" */ }, + 0x019B: { /* n:"BrtRRHeader" */ }, + 0x019C: { /* n:"BrtRRUserView" */ }, + 0x019D: { /* n:"BrtRRRenSheet" */ }, + 0x019E: { /* n:"BrtRRInsertSh" */ }, + 0x019F: { /* n:"BrtRRDefName" */ }, + 0x01A0: { /* n:"BrtRRNote" */ }, + 0x01A1: { /* n:"BrtRRConflict" */ }, + 0x01A2: { /* n:"BrtRRTQSIF" */ }, + 0x01A3: { /* n:"BrtRRFormat" */ }, + 0x01A4: { /* n:"BrtRREndFormat" */ }, + 0x01A5: { /* n:"BrtRRAutoFmt" */ }, + 0x01A6: { /* n:"BrtBeginUserShViews", */ T:1 }, + 0x01A7: { /* n:"BrtBeginUserShView", */ T:1 }, + 0x01A8: { /* n:"BrtEndUserShView", */ T:-1 }, + 0x01A9: { /* n:"BrtEndUserShViews", */ T:-1 }, + 0x01AA: { /* n:"BrtArrFmla", */ f:parse_BrtArrFmla }, + 0x01AB: { /* n:"BrtShrFmla", */ f:parse_BrtShrFmla }, + 0x01AC: { /* n:"BrtTable" */ }, + 0x01AD: { /* n:"BrtBeginExtConnections", */ T:1 }, + 0x01AE: { /* n:"BrtEndExtConnections", */ T:-1 }, + 0x01AF: { /* n:"BrtBeginPCDCalcMems", */ T:1 }, + 0x01B0: { /* n:"BrtEndPCDCalcMems", */ T:-1 }, + 0x01B1: { /* n:"BrtBeginPCDCalcMem", */ T:1 }, + 0x01B2: { /* n:"BrtEndPCDCalcMem", */ T:-1 }, + 0x01B3: { /* n:"BrtBeginPCDHGLevels", */ T:1 }, + 0x01B4: { /* n:"BrtEndPCDHGLevels", */ T:-1 }, + 0x01B5: { /* n:"BrtBeginPCDHGLevel", */ T:1 }, + 0x01B6: { /* n:"BrtEndPCDHGLevel", */ T:-1 }, + 0x01B7: { /* n:"BrtBeginPCDHGLGroups", */ T:1 }, + 0x01B8: { /* n:"BrtEndPCDHGLGroups", */ T:-1 }, + 0x01B9: { /* n:"BrtBeginPCDHGLGroup", */ T:1 }, + 0x01BA: { /* n:"BrtEndPCDHGLGroup", */ T:-1 }, + 0x01BB: { /* n:"BrtBeginPCDHGLGMembers", */ T:1 }, + 0x01BC: { /* n:"BrtEndPCDHGLGMembers", */ T:-1 }, + 0x01BD: { /* n:"BrtBeginPCDHGLGMember", */ T:1 }, + 0x01BE: { /* n:"BrtEndPCDHGLGMember", */ T:-1 }, + 0x01BF: { /* n:"BrtBeginQSI", */ T:1 }, + 0x01C0: { /* n:"BrtEndQSI", */ T:-1 }, + 0x01C1: { /* n:"BrtBeginQSIR", */ T:1 }, + 0x01C2: { /* n:"BrtEndQSIR", */ T:-1 }, + 0x01C3: { /* n:"BrtBeginDeletedNames", */ T:1 }, + 0x01C4: { /* n:"BrtEndDeletedNames", */ T:-1 }, + 0x01C5: { /* n:"BrtBeginDeletedName", */ T:1 }, + 0x01C6: { /* n:"BrtEndDeletedName", */ T:-1 }, + 0x01C7: { /* n:"BrtBeginQSIFs", */ T:1 }, + 0x01C8: { /* n:"BrtEndQSIFs", */ T:-1 }, + 0x01C9: { /* n:"BrtBeginQSIF", */ T:1 }, + 0x01CA: { /* n:"BrtEndQSIF", */ T:-1 }, + 0x01CB: { /* n:"BrtBeginAutoSortScope", */ T:1 }, + 0x01CC: { /* n:"BrtEndAutoSortScope", */ T:-1 }, + 0x01CD: { /* n:"BrtBeginConditionalFormatting", */ T:1 }, + 0x01CE: { /* n:"BrtEndConditionalFormatting", */ T:-1 }, + 0x01CF: { /* n:"BrtBeginCFRule", */ T:1 }, + 0x01D0: { /* n:"BrtEndCFRule", */ T:-1 }, + 0x01D1: { /* n:"BrtBeginIconSet", */ T:1 }, + 0x01D2: { /* n:"BrtEndIconSet", */ T:-1 }, + 0x01D3: { /* n:"BrtBeginDatabar", */ T:1 }, + 0x01D4: { /* n:"BrtEndDatabar", */ T:-1 }, + 0x01D5: { /* n:"BrtBeginColorScale", */ T:1 }, + 0x01D6: { /* n:"BrtEndColorScale", */ T:-1 }, + 0x01D7: { /* n:"BrtCFVO" */ }, + 0x01D8: { /* n:"BrtExternValueMeta" */ }, + 0x01D9: { /* n:"BrtBeginColorPalette", */ T:1 }, + 0x01DA: { /* n:"BrtEndColorPalette", */ T:-1 }, + 0x01DB: { /* n:"BrtIndexedColor" */ }, + 0x01DC: { /* n:"BrtMargins", */ f:parse_BrtMargins }, + 0x01DD: { /* n:"BrtPrintOptions" */ }, + 0x01DE: { /* n:"BrtPageSetup" */ }, + 0x01DF: { /* n:"BrtBeginHeaderFooter", */ T:1 }, + 0x01E0: { /* n:"BrtEndHeaderFooter", */ T:-1 }, + 0x01E1: { /* n:"BrtBeginSXCrtFormat", */ T:1 }, + 0x01E2: { /* n:"BrtEndSXCrtFormat", */ T:-1 }, + 0x01E3: { /* n:"BrtBeginSXCrtFormats", */ T:1 }, + 0x01E4: { /* n:"BrtEndSXCrtFormats", */ T:-1 }, + 0x01E5: { /* n:"BrtWsFmtInfo", */ f:parse_BrtWsFmtInfo }, + 0x01E6: { /* n:"BrtBeginMgs", */ T:1 }, + 0x01E7: { /* n:"BrtEndMGs", */ T:-1 }, + 0x01E8: { /* n:"BrtBeginMGMaps", */ T:1 }, + 0x01E9: { /* n:"BrtEndMGMaps", */ T:-1 }, + 0x01EA: { /* n:"BrtBeginMG", */ T:1 }, + 0x01EB: { /* n:"BrtEndMG", */ T:-1 }, + 0x01EC: { /* n:"BrtBeginMap", */ T:1 }, + 0x01ED: { /* n:"BrtEndMap", */ T:-1 }, + 0x01EE: { /* n:"BrtHLink", */ f:parse_BrtHLink }, + 0x01EF: { /* n:"BrtBeginDCon", */ T:1 }, + 0x01F0: { /* n:"BrtEndDCon", */ T:-1 }, + 0x01F1: { /* n:"BrtBeginDRefs", */ T:1 }, + 0x01F2: { /* n:"BrtEndDRefs", */ T:-1 }, + 0x01F3: { /* n:"BrtDRef" */ }, + 0x01F4: { /* n:"BrtBeginScenMan", */ T:1 }, + 0x01F5: { /* n:"BrtEndScenMan", */ T:-1 }, + 0x01F6: { /* n:"BrtBeginSct", */ T:1 }, + 0x01F7: { /* n:"BrtEndSct", */ T:-1 }, + 0x01F8: { /* n:"BrtSlc" */ }, + 0x01F9: { /* n:"BrtBeginDXFs", */ T:1 }, + 0x01FA: { /* n:"BrtEndDXFs", */ T:-1 }, + 0x01FB: { /* n:"BrtDXF" */ }, + 0x01FC: { /* n:"BrtBeginTableStyles", */ T:1 }, + 0x01FD: { /* n:"BrtEndTableStyles", */ T:-1 }, + 0x01FE: { /* n:"BrtBeginTableStyle", */ T:1 }, + 0x01FF: { /* n:"BrtEndTableStyle", */ T:-1 }, + 0x0200: { /* n:"BrtTableStyleElement" */ }, + 0x0201: { /* n:"BrtTableStyleClient" */ }, + 0x0202: { /* n:"BrtBeginVolDeps", */ T:1 }, + 0x0203: { /* n:"BrtEndVolDeps", */ T:-1 }, + 0x0204: { /* n:"BrtBeginVolType", */ T:1 }, + 0x0205: { /* n:"BrtEndVolType", */ T:-1 }, + 0x0206: { /* n:"BrtBeginVolMain", */ T:1 }, + 0x0207: { /* n:"BrtEndVolMain", */ T:-1 }, + 0x0208: { /* n:"BrtBeginVolTopic", */ T:1 }, + 0x0209: { /* n:"BrtEndVolTopic", */ T:-1 }, + 0x020A: { /* n:"BrtVolSubtopic" */ }, + 0x020B: { /* n:"BrtVolRef" */ }, + 0x020C: { /* n:"BrtVolNum" */ }, + 0x020D: { /* n:"BrtVolErr" */ }, + 0x020E: { /* n:"BrtVolStr" */ }, + 0x020F: { /* n:"BrtVolBool" */ }, + 0x0210: { /* n:"BrtBeginCalcChain$", */ T:1 }, + 0x0211: { /* n:"BrtEndCalcChain$", */ T:-1 }, + 0x0212: { /* n:"BrtBeginSortState", */ T:1 }, + 0x0213: { /* n:"BrtEndSortState", */ T:-1 }, + 0x0214: { /* n:"BrtBeginSortCond", */ T:1 }, + 0x0215: { /* n:"BrtEndSortCond", */ T:-1 }, + 0x0216: { /* n:"BrtBookProtection" */ }, + 0x0217: { /* n:"BrtSheetProtection" */ }, + 0x0218: { /* n:"BrtRangeProtection" */ }, + 0x0219: { /* n:"BrtPhoneticInfo" */ }, + 0x021A: { /* n:"BrtBeginECTxtWiz", */ T:1 }, + 0x021B: { /* n:"BrtEndECTxtWiz", */ T:-1 }, + 0x021C: { /* n:"BrtBeginECTWFldInfoLst", */ T:1 }, + 0x021D: { /* n:"BrtEndECTWFldInfoLst", */ T:-1 }, + 0x021E: { /* n:"BrtBeginECTwFldInfo", */ T:1 }, + 0x0224: { /* n:"BrtFileSharing" */ }, + 0x0225: { /* n:"BrtOleSize" */ }, + 0x0226: { /* n:"BrtDrawing", */ f:parse_RelID }, + 0x0227: { /* n:"BrtLegacyDrawing", */ f:parse_XLNullableWideString }, + 0x0228: { /* n:"BrtLegacyDrawingHF" */ }, + 0x0229: { /* n:"BrtWebOpt" */ }, + 0x022A: { /* n:"BrtBeginWebPubItems", */ T:1 }, + 0x022B: { /* n:"BrtEndWebPubItems", */ T:-1 }, + 0x022C: { /* n:"BrtBeginWebPubItem", */ T:1 }, + 0x022D: { /* n:"BrtEndWebPubItem", */ T:-1 }, + 0x022E: { /* n:"BrtBeginSXCondFmt", */ T:1 }, + 0x022F: { /* n:"BrtEndSXCondFmt", */ T:-1 }, + 0x0230: { /* n:"BrtBeginSXCondFmts", */ T:1 }, + 0x0231: { /* n:"BrtEndSXCondFmts", */ T:-1 }, + 0x0232: { /* n:"BrtBkHim" */ }, + 0x0234: { /* n:"BrtColor" */ }, + 0x0235: { /* n:"BrtBeginIndexedColors", */ T:1 }, + 0x0236: { /* n:"BrtEndIndexedColors", */ T:-1 }, + 0x0239: { /* n:"BrtBeginMRUColors", */ T:1 }, + 0x023A: { /* n:"BrtEndMRUColors", */ T:-1 }, + 0x023C: { /* n:"BrtMRUColor" */ }, + 0x023D: { /* n:"BrtBeginDVals", */ T:1 }, + 0x023E: { /* n:"BrtEndDVals", */ T:-1 }, + 0x0241: { /* n:"BrtSupNameStart" */ }, + 0x0242: { /* n:"BrtSupNameValueStart" */ }, + 0x0243: { /* n:"BrtSupNameValueEnd" */ }, + 0x0244: { /* n:"BrtSupNameNum" */ }, + 0x0245: { /* n:"BrtSupNameErr" */ }, + 0x0246: { /* n:"BrtSupNameSt" */ }, + 0x0247: { /* n:"BrtSupNameNil" */ }, + 0x0248: { /* n:"BrtSupNameBool" */ }, + 0x0249: { /* n:"BrtSupNameFmla" */ }, + 0x024A: { /* n:"BrtSupNameBits" */ }, + 0x024B: { /* n:"BrtSupNameEnd" */ }, + 0x024C: { /* n:"BrtEndSupBook", */ T:-1 }, + 0x024D: { /* n:"BrtCellSmartTagProperty" */ }, + 0x024E: { /* n:"BrtBeginCellSmartTag", */ T:1 }, + 0x024F: { /* n:"BrtEndCellSmartTag", */ T:-1 }, + 0x0250: { /* n:"BrtBeginCellSmartTags", */ T:1 }, + 0x0251: { /* n:"BrtEndCellSmartTags", */ T:-1 }, + 0x0252: { /* n:"BrtBeginSmartTags", */ T:1 }, + 0x0253: { /* n:"BrtEndSmartTags", */ T:-1 }, + 0x0254: { /* n:"BrtSmartTagType" */ }, + 0x0255: { /* n:"BrtBeginSmartTagTypes", */ T:1 }, + 0x0256: { /* n:"BrtEndSmartTagTypes", */ T:-1 }, + 0x0257: { /* n:"BrtBeginSXFilters", */ T:1 }, + 0x0258: { /* n:"BrtEndSXFilters", */ T:-1 }, + 0x0259: { /* n:"BrtBeginSXFILTER", */ T:1 }, + 0x025A: { /* n:"BrtEndSXFilter", */ T:-1 }, + 0x025B: { /* n:"BrtBeginFills", */ T:1 }, + 0x025C: { /* n:"BrtEndFills", */ T:-1 }, + 0x025D: { /* n:"BrtBeginCellWatches", */ T:1 }, + 0x025E: { /* n:"BrtEndCellWatches", */ T:-1 }, + 0x025F: { /* n:"BrtCellWatch" */ }, + 0x0260: { /* n:"BrtBeginCRErrs", */ T:1 }, + 0x0261: { /* n:"BrtEndCRErrs", */ T:-1 }, + 0x0262: { /* n:"BrtCrashRecErr" */ }, + 0x0263: { /* n:"BrtBeginFonts", */ T:1 }, + 0x0264: { /* n:"BrtEndFonts", */ T:-1 }, + 0x0265: { /* n:"BrtBeginBorders", */ T:1 }, + 0x0266: { /* n:"BrtEndBorders", */ T:-1 }, + 0x0267: { /* n:"BrtBeginFmts", */ T:1 }, + 0x0268: { /* n:"BrtEndFmts", */ T:-1 }, + 0x0269: { /* n:"BrtBeginCellXFs", */ T:1 }, + 0x026A: { /* n:"BrtEndCellXFs", */ T:-1 }, + 0x026B: { /* n:"BrtBeginStyles", */ T:1 }, + 0x026C: { /* n:"BrtEndStyles", */ T:-1 }, + 0x0271: { /* n:"BrtBigName" */ }, + 0x0272: { /* n:"BrtBeginCellStyleXFs", */ T:1 }, + 0x0273: { /* n:"BrtEndCellStyleXFs", */ T:-1 }, + 0x0274: { /* n:"BrtBeginComments", */ T:1 }, + 0x0275: { /* n:"BrtEndComments", */ T:-1 }, + 0x0276: { /* n:"BrtBeginCommentAuthors", */ T:1 }, + 0x0277: { /* n:"BrtEndCommentAuthors", */ T:-1 }, + 0x0278: { /* n:"BrtCommentAuthor", */ f:parse_BrtCommentAuthor }, + 0x0279: { /* n:"BrtBeginCommentList", */ T:1 }, + 0x027A: { /* n:"BrtEndCommentList", */ T:-1 }, + 0x027B: { /* n:"BrtBeginComment", */ T:1, f:parse_BrtBeginComment}, + 0x027C: { /* n:"BrtEndComment", */ T:-1 }, + 0x027D: { /* n:"BrtCommentText", */ f:parse_BrtCommentText }, + 0x027E: { /* n:"BrtBeginOleObjects", */ T:1 }, + 0x027F: { /* n:"BrtOleObject" */ }, + 0x0280: { /* n:"BrtEndOleObjects", */ T:-1 }, + 0x0281: { /* n:"BrtBeginSxrules", */ T:1 }, + 0x0282: { /* n:"BrtEndSxRules", */ T:-1 }, + 0x0283: { /* n:"BrtBeginActiveXControls", */ T:1 }, + 0x0284: { /* n:"BrtActiveX" */ }, + 0x0285: { /* n:"BrtEndActiveXControls", */ T:-1 }, + 0x0286: { /* n:"BrtBeginPCDSDTCEMembersSortBy", */ T:1 }, + 0x0288: { /* n:"BrtBeginCellIgnoreECs", */ T:1 }, + 0x0289: { /* n:"BrtCellIgnoreEC" */ }, + 0x028A: { /* n:"BrtEndCellIgnoreECs", */ T:-1 }, + 0x028B: { /* n:"BrtCsProp", */ f:parse_BrtCsProp }, + 0x028C: { /* n:"BrtCsPageSetup" */ }, + 0x028D: { /* n:"BrtBeginUserCsViews", */ T:1 }, + 0x028E: { /* n:"BrtEndUserCsViews", */ T:-1 }, + 0x028F: { /* n:"BrtBeginUserCsView", */ T:1 }, + 0x0290: { /* n:"BrtEndUserCsView", */ T:-1 }, + 0x0291: { /* n:"BrtBeginPcdSFCIEntries", */ T:1 }, + 0x0292: { /* n:"BrtEndPCDSFCIEntries", */ T:-1 }, + 0x0293: { /* n:"BrtPCDSFCIEntry" */ }, + 0x0294: { /* n:"BrtBeginListParts", */ T:1 }, + 0x0295: { /* n:"BrtListPart" */ }, + 0x0296: { /* n:"BrtEndListParts", */ T:-1 }, + 0x0297: { /* n:"BrtSheetCalcProp" */ }, + 0x0298: { /* n:"BrtBeginFnGroup", */ T:1 }, + 0x0299: { /* n:"BrtFnGroup" */ }, + 0x029A: { /* n:"BrtEndFnGroup", */ T:-1 }, + 0x029B: { /* n:"BrtSupAddin" */ }, + 0x029C: { /* n:"BrtSXTDMPOrder" */ }, + 0x029D: { /* n:"BrtCsProtection" */ }, + 0x029F: { /* n:"BrtBeginWsSortMap", */ T:1 }, + 0x02A0: { /* n:"BrtEndWsSortMap", */ T:-1 }, + 0x02A1: { /* n:"BrtBeginRRSort", */ T:1 }, + 0x02A2: { /* n:"BrtEndRRSort", */ T:-1 }, + 0x02A3: { /* n:"BrtRRSortItem" */ }, + 0x02A4: { /* n:"BrtFileSharingIso" */ }, + 0x02A5: { /* n:"BrtBookProtectionIso" */ }, + 0x02A6: { /* n:"BrtSheetProtectionIso" */ }, + 0x02A7: { /* n:"BrtCsProtectionIso" */ }, + 0x02A8: { /* n:"BrtRangeProtectionIso" */ }, + 0x02A9: { /* n:"BrtDValList" */ }, + 0x0400: { /* n:"BrtRwDescent" */ }, + 0x0401: { /* n:"BrtKnownFonts" */ }, + 0x0402: { /* n:"BrtBeginSXTupleSet", */ T:1 }, + 0x0403: { /* n:"BrtEndSXTupleSet", */ T:-1 }, + 0x0404: { /* n:"BrtBeginSXTupleSetHeader", */ T:1 }, + 0x0405: { /* n:"BrtEndSXTupleSetHeader", */ T:-1 }, + 0x0406: { /* n:"BrtSXTupleSetHeaderItem" */ }, + 0x0407: { /* n:"BrtBeginSXTupleSetData", */ T:1 }, + 0x0408: { /* n:"BrtEndSXTupleSetData", */ T:-1 }, + 0x0409: { /* n:"BrtBeginSXTupleSetRow", */ T:1 }, + 0x040A: { /* n:"BrtEndSXTupleSetRow", */ T:-1 }, + 0x040B: { /* n:"BrtSXTupleSetRowItem" */ }, + 0x040C: { /* n:"BrtNameExt" */ }, + 0x040D: { /* n:"BrtPCDH14" */ }, + 0x040E: { /* n:"BrtBeginPCDCalcMem14", */ T:1 }, + 0x040F: { /* n:"BrtEndPCDCalcMem14", */ T:-1 }, + 0x0410: { /* n:"BrtSXTH14" */ }, + 0x0411: { /* n:"BrtBeginSparklineGroup", */ T:1 }, + 0x0412: { /* n:"BrtEndSparklineGroup", */ T:-1 }, + 0x0413: { /* n:"BrtSparkline" */ }, + 0x0414: { /* n:"BrtSXDI14" */ }, + 0x0415: { /* n:"BrtWsFmtInfoEx14" */ }, + 0x0416: { /* n:"BrtBeginConditionalFormatting14", */ T:1 }, + 0x0417: { /* n:"BrtEndConditionalFormatting14", */ T:-1 }, + 0x0418: { /* n:"BrtBeginCFRule14", */ T:1 }, + 0x0419: { /* n:"BrtEndCFRule14", */ T:-1 }, + 0x041A: { /* n:"BrtCFVO14" */ }, + 0x041B: { /* n:"BrtBeginDatabar14", */ T:1 }, + 0x041C: { /* n:"BrtBeginIconSet14", */ T:1 }, + 0x041D: { /* n:"BrtDVal14", */ f: parse_BrtDVal14 }, + 0x041E: { /* n:"BrtBeginDVals14", */ T:1 }, + 0x041F: { /* n:"BrtColor14" */ }, + 0x0420: { /* n:"BrtBeginSparklines", */ T:1 }, + 0x0421: { /* n:"BrtEndSparklines", */ T:-1 }, + 0x0422: { /* n:"BrtBeginSparklineGroups", */ T:1 }, + 0x0423: { /* n:"BrtEndSparklineGroups", */ T:-1 }, + 0x0425: { /* n:"BrtSXVD14" */ }, + 0x0426: { /* n:"BrtBeginSXView14", */ T:1 }, + 0x0427: { /* n:"BrtEndSXView14", */ T:-1 }, + 0x0428: { /* n:"BrtBeginSXView16", */ T:1 }, + 0x0429: { /* n:"BrtEndSXView16", */ T:-1 }, + 0x042A: { /* n:"BrtBeginPCD14", */ T:1 }, + 0x042B: { /* n:"BrtEndPCD14", */ T:-1 }, + 0x042C: { /* n:"BrtBeginExtConn14", */ T:1 }, + 0x042D: { /* n:"BrtEndExtConn14", */ T:-1 }, + 0x042E: { /* n:"BrtBeginSlicerCacheIDs", */ T:1 }, + 0x042F: { /* n:"BrtEndSlicerCacheIDs", */ T:-1 }, + 0x0430: { /* n:"BrtBeginSlicerCacheID", */ T:1 }, + 0x0431: { /* n:"BrtEndSlicerCacheID", */ T:-1 }, + 0x0433: { /* n:"BrtBeginSlicerCache", */ T:1 }, + 0x0434: { /* n:"BrtEndSlicerCache", */ T:-1 }, + 0x0435: { /* n:"BrtBeginSlicerCacheDef", */ T:1 }, + 0x0436: { /* n:"BrtEndSlicerCacheDef", */ T:-1 }, + 0x0437: { /* n:"BrtBeginSlicersEx", */ T:1 }, + 0x0438: { /* n:"BrtEndSlicersEx", */ T:-1 }, + 0x0439: { /* n:"BrtBeginSlicerEx", */ T:1 }, + 0x043A: { /* n:"BrtEndSlicerEx", */ T:-1 }, + 0x043B: { /* n:"BrtBeginSlicer", */ T:1 }, + 0x043C: { /* n:"BrtEndSlicer", */ T:-1 }, + 0x043D: { /* n:"BrtSlicerCachePivotTables" */ }, + 0x043E: { /* n:"BrtBeginSlicerCacheOlapImpl", */ T:1 }, + 0x043F: { /* n:"BrtEndSlicerCacheOlapImpl", */ T:-1 }, + 0x0440: { /* n:"BrtBeginSlicerCacheLevelsData", */ T:1 }, + 0x0441: { /* n:"BrtEndSlicerCacheLevelsData", */ T:-1 }, + 0x0442: { /* n:"BrtBeginSlicerCacheLevelData", */ T:1 }, + 0x0443: { /* n:"BrtEndSlicerCacheLevelData", */ T:-1 }, + 0x0444: { /* n:"BrtBeginSlicerCacheSiRanges", */ T:1 }, + 0x0445: { /* n:"BrtEndSlicerCacheSiRanges", */ T:-1 }, + 0x0446: { /* n:"BrtBeginSlicerCacheSiRange", */ T:1 }, + 0x0447: { /* n:"BrtEndSlicerCacheSiRange", */ T:-1 }, + 0x0448: { /* n:"BrtSlicerCacheOlapItem" */ }, + 0x0449: { /* n:"BrtBeginSlicerCacheSelections", */ T:1 }, + 0x044A: { /* n:"BrtSlicerCacheSelection" */ }, + 0x044B: { /* n:"BrtEndSlicerCacheSelections", */ T:-1 }, + 0x044C: { /* n:"BrtBeginSlicerCacheNative", */ T:1 }, + 0x044D: { /* n:"BrtEndSlicerCacheNative", */ T:-1 }, + 0x044E: { /* n:"BrtSlicerCacheNativeItem" */ }, + 0x044F: { /* n:"BrtRangeProtection14" */ }, + 0x0450: { /* n:"BrtRangeProtectionIso14" */ }, + 0x0451: { /* n:"BrtCellIgnoreEC14" */ }, + 0x0457: { /* n:"BrtList14" */ }, + 0x0458: { /* n:"BrtCFIcon" */ }, + 0x0459: { /* n:"BrtBeginSlicerCachesPivotCacheIDs", */ T:1 }, + 0x045A: { /* n:"BrtEndSlicerCachesPivotCacheIDs", */ T:-1 }, + 0x045B: { /* n:"BrtBeginSlicers", */ T:1 }, + 0x045C: { /* n:"BrtEndSlicers", */ T:-1 }, + 0x045D: { /* n:"BrtWbProp14" */ }, + 0x045E: { /* n:"BrtBeginSXEdit", */ T:1 }, + 0x045F: { /* n:"BrtEndSXEdit", */ T:-1 }, + 0x0460: { /* n:"BrtBeginSXEdits", */ T:1 }, + 0x0461: { /* n:"BrtEndSXEdits", */ T:-1 }, + 0x0462: { /* n:"BrtBeginSXChange", */ T:1 }, + 0x0463: { /* n:"BrtEndSXChange", */ T:-1 }, + 0x0464: { /* n:"BrtBeginSXChanges", */ T:1 }, + 0x0465: { /* n:"BrtEndSXChanges", */ T:-1 }, + 0x0466: { /* n:"BrtSXTupleItems" */ }, + 0x0468: { /* n:"BrtBeginSlicerStyle", */ T:1 }, + 0x0469: { /* n:"BrtEndSlicerStyle", */ T:-1 }, + 0x046A: { /* n:"BrtSlicerStyleElement" */ }, + 0x046B: { /* n:"BrtBeginStyleSheetExt14", */ T:1 }, + 0x046C: { /* n:"BrtEndStyleSheetExt14", */ T:-1 }, + 0x046D: { /* n:"BrtBeginSlicerCachesPivotCacheID", */ T:1 }, + 0x046E: { /* n:"BrtEndSlicerCachesPivotCacheID", */ T:-1 }, + 0x046F: { /* n:"BrtBeginConditionalFormattings", */ T:1 }, + 0x0470: { /* n:"BrtEndConditionalFormattings", */ T:-1 }, + 0x0471: { /* n:"BrtBeginPCDCalcMemExt", */ T:1 }, + 0x0472: { /* n:"BrtEndPCDCalcMemExt", */ T:-1 }, + 0x0473: { /* n:"BrtBeginPCDCalcMemsExt", */ T:1 }, + 0x0474: { /* n:"BrtEndPCDCalcMemsExt", */ T:-1 }, + 0x0475: { /* n:"BrtPCDField14" */ }, + 0x0476: { /* n:"BrtBeginSlicerStyles", */ T:1 }, + 0x0477: { /* n:"BrtEndSlicerStyles", */ T:-1 }, + 0x0478: { /* n:"BrtBeginSlicerStyleElements", */ T:1 }, + 0x0479: { /* n:"BrtEndSlicerStyleElements", */ T:-1 }, + 0x047A: { /* n:"BrtCFRuleExt" */ }, + 0x047B: { /* n:"BrtBeginSXCondFmt14", */ T:1 }, + 0x047C: { /* n:"BrtEndSXCondFmt14", */ T:-1 }, + 0x047D: { /* n:"BrtBeginSXCondFmts14", */ T:1 }, + 0x047E: { /* n:"BrtEndSXCondFmts14", */ T:-1 }, + 0x0480: { /* n:"BrtBeginSortCond14", */ T:1 }, + 0x0481: { /* n:"BrtEndSortCond14", */ T:-1 }, + 0x0482: { /* n:"BrtEndDVals14", */ T:-1 }, + 0x0483: { /* n:"BrtEndIconSet14", */ T:-1 }, + 0x0484: { /* n:"BrtEndDatabar14", */ T:-1 }, + 0x0485: { /* n:"BrtBeginColorScale14", */ T:1 }, + 0x0486: { /* n:"BrtEndColorScale14", */ T:-1 }, + 0x0487: { /* n:"BrtBeginSxrules14", */ T:1 }, + 0x0488: { /* n:"BrtEndSxrules14", */ T:-1 }, + 0x0489: { /* n:"BrtBeginPRule14", */ T:1 }, + 0x048A: { /* n:"BrtEndPRule14", */ T:-1 }, + 0x048B: { /* n:"BrtBeginPRFilters14", */ T:1 }, + 0x048C: { /* n:"BrtEndPRFilters14", */ T:-1 }, + 0x048D: { /* n:"BrtBeginPRFilter14", */ T:1 }, + 0x048E: { /* n:"BrtEndPRFilter14", */ T:-1 }, + 0x048F: { /* n:"BrtBeginPRFItem14", */ T:1 }, + 0x0490: { /* n:"BrtEndPRFItem14", */ T:-1 }, + 0x0491: { /* n:"BrtBeginCellIgnoreECs14", */ T:1 }, + 0x0492: { /* n:"BrtEndCellIgnoreECs14", */ T:-1 }, + 0x0493: { /* n:"BrtDxf14" */ }, + 0x0494: { /* n:"BrtBeginDxF14s", */ T:1 }, + 0x0495: { /* n:"BrtEndDxf14s", */ T:-1 }, + 0x0499: { /* n:"BrtFilter14" */ }, + 0x049A: { /* n:"BrtBeginCustomFilters14", */ T:1 }, + 0x049C: { /* n:"BrtCustomFilter14" */ }, + 0x049D: { /* n:"BrtIconFilter14" */ }, + 0x049E: { /* n:"BrtPivotCacheConnectionName" */ }, + 0x0800: { /* n:"BrtBeginDecoupledPivotCacheIDs", */ T:1 }, + 0x0801: { /* n:"BrtEndDecoupledPivotCacheIDs", */ T:-1 }, + 0x0802: { /* n:"BrtDecoupledPivotCacheID" */ }, + 0x0803: { /* n:"BrtBeginPivotTableRefs", */ T:1 }, + 0x0804: { /* n:"BrtEndPivotTableRefs", */ T:-1 }, + 0x0805: { /* n:"BrtPivotTableRef" */ }, + 0x0806: { /* n:"BrtSlicerCacheBookPivotTables" */ }, + 0x0807: { /* n:"BrtBeginSxvcells", */ T:1 }, + 0x0808: { /* n:"BrtEndSxvcells", */ T:-1 }, + 0x0809: { /* n:"BrtBeginSxRow", */ T:1 }, + 0x080A: { /* n:"BrtEndSxRow", */ T:-1 }, + 0x080C: { /* n:"BrtPcdCalcMem15" */ }, + 0x0813: { /* n:"BrtQsi15" */ }, + 0x0814: { /* n:"BrtBeginWebExtensions", */ T:1 }, + 0x0815: { /* n:"BrtEndWebExtensions", */ T:-1 }, + 0x0816: { /* n:"BrtWebExtension" */ }, + 0x0817: { /* n:"BrtAbsPath15" */ }, + 0x0818: { /* n:"BrtBeginPivotTableUISettings", */ T:1 }, + 0x0819: { /* n:"BrtEndPivotTableUISettings", */ T:-1 }, + 0x081B: { /* n:"BrtTableSlicerCacheIDs" */ }, + 0x081C: { /* n:"BrtTableSlicerCacheID" */ }, + 0x081D: { /* n:"BrtBeginTableSlicerCache", */ T:1 }, + 0x081E: { /* n:"BrtEndTableSlicerCache", */ T:-1 }, + 0x081F: { /* n:"BrtSxFilter15" */ }, + 0x0820: { /* n:"BrtBeginTimelineCachePivotCacheIDs", */ T:1 }, + 0x0821: { /* n:"BrtEndTimelineCachePivotCacheIDs", */ T:-1 }, + 0x0822: { /* n:"BrtTimelineCachePivotCacheID" */ }, + 0x0823: { /* n:"BrtBeginTimelineCacheIDs", */ T:1 }, + 0x0824: { /* n:"BrtEndTimelineCacheIDs", */ T:-1 }, + 0x0825: { /* n:"BrtBeginTimelineCacheID", */ T:1 }, + 0x0826: { /* n:"BrtEndTimelineCacheID", */ T:-1 }, + 0x0827: { /* n:"BrtBeginTimelinesEx", */ T:1 }, + 0x0828: { /* n:"BrtEndTimelinesEx", */ T:-1 }, + 0x0829: { /* n:"BrtBeginTimelineEx", */ T:1 }, + 0x082A: { /* n:"BrtEndTimelineEx", */ T:-1 }, + 0x082B: { /* n:"BrtWorkBookPr15" */ }, + 0x082C: { /* n:"BrtPCDH15" */ }, + 0x082D: { /* n:"BrtBeginTimelineStyle", */ T:1 }, + 0x082E: { /* n:"BrtEndTimelineStyle", */ T:-1 }, + 0x082F: { /* n:"BrtTimelineStyleElement" */ }, + 0x0830: { /* n:"BrtBeginTimelineStylesheetExt15", */ T:1 }, + 0x0831: { /* n:"BrtEndTimelineStylesheetExt15", */ T:-1 }, + 0x0832: { /* n:"BrtBeginTimelineStyles", */ T:1 }, + 0x0833: { /* n:"BrtEndTimelineStyles", */ T:-1 }, + 0x0834: { /* n:"BrtBeginTimelineStyleElements", */ T:1 }, + 0x0835: { /* n:"BrtEndTimelineStyleElements", */ T:-1 }, + 0x0836: { /* n:"BrtDxf15" */ }, + 0x0837: { /* n:"BrtBeginDxfs15", */ T:1 }, + 0x0838: { /* n:"BrtEndDxfs15", */ T:-1 }, + 0x0839: { /* n:"BrtSlicerCacheHideItemsWithNoData" */ }, + 0x083A: { /* n:"BrtBeginItemUniqueNames", */ T:1 }, + 0x083B: { /* n:"BrtEndItemUniqueNames", */ T:-1 }, + 0x083C: { /* n:"BrtItemUniqueName" */ }, + 0x083D: { /* n:"BrtBeginExtConn15", */ T:1 }, + 0x083E: { /* n:"BrtEndExtConn15", */ T:-1 }, + 0x083F: { /* n:"BrtBeginOledbPr15", */ T:1 }, + 0x0840: { /* n:"BrtEndOledbPr15", */ T:-1 }, + 0x0841: { /* n:"BrtBeginDataFeedPr15", */ T:1 }, + 0x0842: { /* n:"BrtEndDataFeedPr15", */ T:-1 }, + 0x0843: { /* n:"BrtTextPr15" */ }, + 0x0844: { /* n:"BrtRangePr15" */ }, + 0x0845: { /* n:"BrtDbCommand15" */ }, + 0x0846: { /* n:"BrtBeginDbTables15", */ T:1 }, + 0x0847: { /* n:"BrtEndDbTables15", */ T:-1 }, + 0x0848: { /* n:"BrtDbTable15" */ }, + 0x0849: { /* n:"BrtBeginDataModel", */ T:1 }, + 0x084A: { /* n:"BrtEndDataModel", */ T:-1 }, + 0x084B: { /* n:"BrtBeginModelTables", */ T:1 }, + 0x084C: { /* n:"BrtEndModelTables", */ T:-1 }, + 0x084D: { /* n:"BrtModelTable" */ }, + 0x084E: { /* n:"BrtBeginModelRelationships", */ T:1 }, + 0x084F: { /* n:"BrtEndModelRelationships", */ T:-1 }, + 0x0850: { /* n:"BrtModelRelationship" */ }, + 0x0851: { /* n:"BrtBeginECTxtWiz15", */ T:1 }, + 0x0852: { /* n:"BrtEndECTxtWiz15", */ T:-1 }, + 0x0853: { /* n:"BrtBeginECTWFldInfoLst15", */ T:1 }, + 0x0854: { /* n:"BrtEndECTWFldInfoLst15", */ T:-1 }, + 0x0855: { /* n:"BrtBeginECTWFldInfo15", */ T:1 }, + 0x0856: { /* n:"BrtFieldListActiveItem" */ }, + 0x0857: { /* n:"BrtPivotCacheIdVersion" */ }, + 0x0858: { /* n:"BrtSXDI15" */ }, + 0x0859: { /* n:"BrtBeginModelTimeGroupings", */ T:1 }, + 0x085A: { /* n:"BrtEndModelTimeGroupings", */ T:-1 }, + 0x085B: { /* n:"BrtBeginModelTimeGrouping", */ T:1 }, + 0x085C: { /* n:"BrtEndModelTimeGrouping", */ T:-1 }, + 0x085D: { /* n:"BrtModelTimeGroupingCalcCol" */ }, + 0x0C00: { /* n:"BrtUid" */ }, + 0x0C01: { /* n:"BrtRevisionPtr" */ }, + 0x1000: { /* n:"BrtBeginDynamicArrayPr", */ T:1 }, + 0x1001: { /* n:"BrtEndDynamicArrayPr", */ T:-1 }, + 0x138A: { /* n:"BrtBeginRichValueBlock", */ T:1 }, + 0x138B: { /* n:"BrtEndRichValueBlock", */ T:-1 }, + 0x13D9: { /* n:"BrtBeginRichFilters", */ T:1 }, + 0x13DA: { /* n:"BrtEndRichFilters", */ T:-1 }, + 0x13DB: { /* n:"BrtRichFilter" */ }, + 0x13DC: { /* n:"BrtBeginRichFilterColumn", */ T:1 }, + 0x13DD: { /* n:"BrtEndRichFilterColumn", */ T:-1 }, + 0x13DE: { /* n:"BrtBeginCustomRichFilters", */ T:1 }, + 0x13DF: { /* n:"BrtEndCustomRichFilters", */ T:-1 }, + 0x13E0: { /* n:"BrtCustomRichFilter" */ }, + 0x13E1: { /* n:"BrtTop10RichFilter" */ }, + 0x13E2: { /* n:"BrtDynamicRichFilter" */ }, + 0x13E4: { /* n:"BrtBeginRichSortCondition", */ T:1 }, + 0x13E5: { /* n:"BrtEndRichSortCondition", */ T:-1 }, + 0x13E6: { /* n:"BrtRichFilterDateGroupItem" */ }, + 0x13E7: { /* n:"BrtBeginCalcFeatures", */ T:1 }, + 0x13E8: { /* n:"BrtEndCalcFeatures", */ T:-1 }, + 0x13E9: { /* n:"BrtCalcFeature" */ }, + 0x13EB: { /* n:"BrtExternalLinksPr" */ }, + 0xFFFF: { n:"" } }; /* [MS-XLS] 2.3 Record Enumeration (and other sources) */ var XLSRecordEnum = { /* [MS-XLS] 2.3 Record Enumeration 2021-08-17 */ - /*::[*/0x0006/*::]*/: { /* n:"Formula", */ f:parse_Formula }, - /*::[*/0x000a/*::]*/: { /* n:"EOF", */ f:parsenoop2 }, - /*::[*/0x000c/*::]*/: { /* n:"CalcCount", */ f:parseuint16 }, // - /*::[*/0x000d/*::]*/: { /* n:"CalcMode", */ f:parseuint16 }, // - /*::[*/0x000e/*::]*/: { /* n:"CalcPrecision", */ f:parsebool }, // - /*::[*/0x000f/*::]*/: { /* n:"CalcRefMode", */ f:parsebool }, // - /*::[*/0x0010/*::]*/: { /* n:"CalcDelta", */ f:parse_Xnum }, // - /*::[*/0x0011/*::]*/: { /* n:"CalcIter", */ f:parsebool }, // - /*::[*/0x0012/*::]*/: { /* n:"Protect", */ f:parsebool }, - /*::[*/0x0013/*::]*/: { /* n:"Password", */ f:parseuint16 }, - /*::[*/0x0014/*::]*/: { /* n:"Header", */ f:parse_XLHeaderFooter }, - /*::[*/0x0015/*::]*/: { /* n:"Footer", */ f:parse_XLHeaderFooter }, - /*::[*/0x0017/*::]*/: { /* n:"ExternSheet", */ f:parse_ExternSheet }, - /*::[*/0x0018/*::]*/: { /* n:"Lbl", */ f:parse_Lbl }, - /*::[*/0x0019/*::]*/: { /* n:"WinProtect", */ f:parsebool }, - /*::[*/0x001a/*::]*/: { /* n:"VerticalPageBreaks", */ }, - /*::[*/0x001b/*::]*/: { /* n:"HorizontalPageBreaks", */ }, - /*::[*/0x001c/*::]*/: { /* n:"Note", */ f:parse_Note }, - /*::[*/0x001d/*::]*/: { /* n:"Selection", */ }, - /*::[*/0x0022/*::]*/: { /* n:"Date1904", */ f:parsebool }, - /*::[*/0x0023/*::]*/: { /* n:"ExternName", */ f:parse_ExternName }, - /*::[*/0x0026/*::]*/: { /* n:"LeftMargin", */ f:parse_Xnum }, // * - /*::[*/0x0027/*::]*/: { /* n:"RightMargin", */ f:parse_Xnum }, // * - /*::[*/0x0028/*::]*/: { /* n:"TopMargin", */ f:parse_Xnum }, // * - /*::[*/0x0029/*::]*/: { /* n:"BottomMargin", */ f:parse_Xnum }, // * - /*::[*/0x002a/*::]*/: { /* n:"PrintRowCol", */ f:parsebool }, - /*::[*/0x002b/*::]*/: { /* n:"PrintGrid", */ f:parsebool }, - /*::[*/0x002f/*::]*/: { /* n:"FilePass", */ f:parse_FilePass }, - /*::[*/0x0031/*::]*/: { /* n:"Font", */ f:parse_Font }, - /*::[*/0x0033/*::]*/: { /* n:"PrintSize", */ f:parseuint16 }, - /*::[*/0x003c/*::]*/: { /* n:"Continue", */ }, - /*::[*/0x003d/*::]*/: { /* n:"Window1", */ f:parse_Window1 }, - /*::[*/0x0040/*::]*/: { /* n:"Backup", */ f:parsebool }, - /*::[*/0x0041/*::]*/: { /* n:"Pane", */ f:parse_Pane }, - /*::[*/0x0042/*::]*/: { /* n:"CodePage", */ f:parseuint16 }, - /*::[*/0x004d/*::]*/: { /* n:"Pls", */ }, - /*::[*/0x0050/*::]*/: { /* n:"DCon", */ }, - /*::[*/0x0051/*::]*/: { /* n:"DConRef", */ }, - /*::[*/0x0052/*::]*/: { /* n:"DConName", */ }, - /*::[*/0x0055/*::]*/: { /* n:"DefColWidth", */ f:parseuint16 }, - /*::[*/0x0059/*::]*/: { /* n:"XCT", */ }, - /*::[*/0x005a/*::]*/: { /* n:"CRN", */ }, - /*::[*/0x005b/*::]*/: { /* n:"FileSharing", */ }, - /*::[*/0x005c/*::]*/: { /* n:"WriteAccess", */ f:parse_WriteAccess }, - /*::[*/0x005d/*::]*/: { /* n:"Obj", */ f:parse_Obj }, - /*::[*/0x005e/*::]*/: { /* n:"Uncalced", */ }, - /*::[*/0x005f/*::]*/: { /* n:"CalcSaveRecalc", */ f:parsebool }, // - /*::[*/0x0060/*::]*/: { /* n:"Template", */ }, - /*::[*/0x0061/*::]*/: { /* n:"Intl", */ }, - /*::[*/0x0063/*::]*/: { /* n:"ObjProtect", */ f:parsebool }, - /*::[*/0x007d/*::]*/: { /* n:"ColInfo", */ f:parse_ColInfo }, - /*::[*/0x0080/*::]*/: { /* n:"Guts", */ f:parse_Guts }, - /*::[*/0x0081/*::]*/: { /* n:"WsBool", */ f:parse_WsBool }, - /*::[*/0x0082/*::]*/: { /* n:"GridSet", */ f:parseuint16 }, - /*::[*/0x0083/*::]*/: { /* n:"HCenter", */ f:parsebool }, - /*::[*/0x0084/*::]*/: { /* n:"VCenter", */ f:parsebool }, - /*::[*/0x0085/*::]*/: { /* n:"BoundSheet8", */ f:parse_BoundSheet8 }, - /*::[*/0x0086/*::]*/: { /* n:"WriteProtect", */ }, - /*::[*/0x008c/*::]*/: { /* n:"Country", */ f:parse_Country }, - /*::[*/0x008d/*::]*/: { /* n:"HideObj", */ f:parseuint16 }, - /*::[*/0x0090/*::]*/: { /* n:"Sort", */ }, - /*::[*/0x0092/*::]*/: { /* n:"Palette", */ f:parse_Palette }, - /*::[*/0x0097/*::]*/: { /* n:"Sync", */ }, - /*::[*/0x0098/*::]*/: { /* n:"LPr", */ }, - /*::[*/0x0099/*::]*/: { /* n:"DxGCol", */ }, - /*::[*/0x009a/*::]*/: { /* n:"FnGroupName", */ }, - /*::[*/0x009b/*::]*/: { /* n:"FilterMode", */ }, - /*::[*/0x009c/*::]*/: { /* n:"BuiltInFnGroupCount", */ f:parseuint16 }, - /*::[*/0x009d/*::]*/: { /* n:"AutoFilterInfo", */ }, - /*::[*/0x009e/*::]*/: { /* n:"AutoFilter", */ }, - /*::[*/0x00a0/*::]*/: { /* n:"Scl", */ f:parse_Scl }, - /*::[*/0x00a1/*::]*/: { /* n:"Setup", */ f:parse_Setup }, - /*::[*/0x00ae/*::]*/: { /* n:"ScenMan", */ }, - /*::[*/0x00af/*::]*/: { /* n:"SCENARIO", */ }, - /*::[*/0x00b0/*::]*/: { /* n:"SxView", */ }, - /*::[*/0x00b1/*::]*/: { /* n:"Sxvd", */ }, - /*::[*/0x00b2/*::]*/: { /* n:"SXVI", */ }, - /*::[*/0x00b4/*::]*/: { /* n:"SxIvd", */ }, - /*::[*/0x00b5/*::]*/: { /* n:"SXLI", */ }, - /*::[*/0x00b6/*::]*/: { /* n:"SXPI", */ }, - /*::[*/0x00b8/*::]*/: { /* n:"DocRoute", */ }, - /*::[*/0x00b9/*::]*/: { /* n:"RecipName", */ }, - /*::[*/0x00bd/*::]*/: { /* n:"MulRk", */ f:parse_MulRk }, - /*::[*/0x00be/*::]*/: { /* n:"MulBlank", */ f:parse_MulBlank }, - /*::[*/0x00c1/*::]*/: { /* n:"Mms", */ f:parsenoop2 }, - /*::[*/0x00c5/*::]*/: { /* n:"SXDI", */ }, - /*::[*/0x00c6/*::]*/: { /* n:"SXDB", */ }, - /*::[*/0x00c7/*::]*/: { /* n:"SXFDB", */ }, - /*::[*/0x00c8/*::]*/: { /* n:"SXDBB", */ }, - /*::[*/0x00c9/*::]*/: { /* n:"SXNum", */ }, - /*::[*/0x00ca/*::]*/: { /* n:"SxBool", */ f:parsebool }, - /*::[*/0x00cb/*::]*/: { /* n:"SxErr", */ }, - /*::[*/0x00cc/*::]*/: { /* n:"SXInt", */ }, - /*::[*/0x00cd/*::]*/: { /* n:"SXString", */ }, - /*::[*/0x00ce/*::]*/: { /* n:"SXDtr", */ }, - /*::[*/0x00cf/*::]*/: { /* n:"SxNil", */ }, - /*::[*/0x00d0/*::]*/: { /* n:"SXTbl", */ }, - /*::[*/0x00d1/*::]*/: { /* n:"SXTBRGIITM", */ }, - /*::[*/0x00d2/*::]*/: { /* n:"SxTbpg", */ }, - /*::[*/0x00d3/*::]*/: { /* n:"ObProj", */ }, - /*::[*/0x00d5/*::]*/: { /* n:"SXStreamID", */ }, - /*::[*/0x00d7/*::]*/: { /* n:"DBCell", */ }, - /*::[*/0x00d8/*::]*/: { /* n:"SXRng", */ }, - /*::[*/0x00d9/*::]*/: { /* n:"SxIsxoper", */ }, - /*::[*/0x00da/*::]*/: { /* n:"BookBool", */ f:parseuint16 }, - /*::[*/0x00dc/*::]*/: { /* n:"DbOrParamQry", */ }, - /*::[*/0x00dd/*::]*/: { /* n:"ScenarioProtect", */ f:parsebool }, - /*::[*/0x00de/*::]*/: { /* n:"OleObjectSize", */ }, - /*::[*/0x00e0/*::]*/: { /* n:"XF", */ f:parse_XF }, - /*::[*/0x00e1/*::]*/: { /* n:"InterfaceHdr", */ f:parse_InterfaceHdr }, - /*::[*/0x00e2/*::]*/: { /* n:"InterfaceEnd", */ f:parsenoop2 }, - /*::[*/0x00e3/*::]*/: { /* n:"SXVS", */ }, - /*::[*/0x00e5/*::]*/: { /* n:"MergeCells", */ f:parse_MergeCells }, - /*::[*/0x00e9/*::]*/: { /* n:"BkHim", */ }, - /*::[*/0x00eb/*::]*/: { /* n:"MsoDrawingGroup", */ }, - /*::[*/0x00ec/*::]*/: { /* n:"MsoDrawing", */ }, - /*::[*/0x00ed/*::]*/: { /* n:"MsoDrawingSelection", */ }, - /*::[*/0x00ef/*::]*/: { /* n:"PhoneticInfo", */ }, - /*::[*/0x00f0/*::]*/: { /* n:"SxRule", */ }, - /*::[*/0x00f1/*::]*/: { /* n:"SXEx", */ }, - /*::[*/0x00f2/*::]*/: { /* n:"SxFilt", */ }, - /*::[*/0x00f4/*::]*/: { /* n:"SxDXF", */ }, - /*::[*/0x00f5/*::]*/: { /* n:"SxItm", */ }, - /*::[*/0x00f6/*::]*/: { /* n:"SxName", */ }, - /*::[*/0x00f7/*::]*/: { /* n:"SxSelect", */ }, - /*::[*/0x00f8/*::]*/: { /* n:"SXPair", */ }, - /*::[*/0x00f9/*::]*/: { /* n:"SxFmla", */ }, - /*::[*/0x00fb/*::]*/: { /* n:"SxFormat", */ }, - /*::[*/0x00fc/*::]*/: { /* n:"SST", */ f:parse_SST }, - /*::[*/0x00fd/*::]*/: { /* n:"LabelSst", */ f:parse_LabelSst }, - /*::[*/0x00ff/*::]*/: { /* n:"ExtSST", */ f:parse_ExtSST }, - /*::[*/0x0100/*::]*/: { /* n:"SXVDEx", */ }, - /*::[*/0x0103/*::]*/: { /* n:"SXFormula", */ }, - /*::[*/0x0122/*::]*/: { /* n:"SXDBEx", */ }, - /*::[*/0x0137/*::]*/: { /* n:"RRDInsDel", */ }, - /*::[*/0x0138/*::]*/: { /* n:"RRDHead", */ }, - /*::[*/0x013b/*::]*/: { /* n:"RRDChgCell", */ }, - /*::[*/0x013d/*::]*/: { /* n:"RRTabId", */ f:parseuint16a }, - /*::[*/0x013e/*::]*/: { /* n:"RRDRenSheet", */ }, - /*::[*/0x013f/*::]*/: { /* n:"RRSort", */ }, - /*::[*/0x0140/*::]*/: { /* n:"RRDMove", */ }, - /*::[*/0x014a/*::]*/: { /* n:"RRFormat", */ }, - /*::[*/0x014b/*::]*/: { /* n:"RRAutoFmt", */ }, - /*::[*/0x014d/*::]*/: { /* n:"RRInsertSh", */ }, - /*::[*/0x014e/*::]*/: { /* n:"RRDMoveBegin", */ }, - /*::[*/0x014f/*::]*/: { /* n:"RRDMoveEnd", */ }, - /*::[*/0x0150/*::]*/: { /* n:"RRDInsDelBegin", */ }, - /*::[*/0x0151/*::]*/: { /* n:"RRDInsDelEnd", */ }, - /*::[*/0x0152/*::]*/: { /* n:"RRDConflict", */ }, - /*::[*/0x0153/*::]*/: { /* n:"RRDDefName", */ }, - /*::[*/0x0154/*::]*/: { /* n:"RRDRstEtxp", */ }, - /*::[*/0x015f/*::]*/: { /* n:"LRng", */ }, - /*::[*/0x0160/*::]*/: { /* n:"UsesELFs", */ f:parsebool }, - /*::[*/0x0161/*::]*/: { /* n:"DSF", */ f:parsenoop2 }, - /*::[*/0x0191/*::]*/: { /* n:"CUsr", */ }, - /*::[*/0x0192/*::]*/: { /* n:"CbUsr", */ }, - /*::[*/0x0193/*::]*/: { /* n:"UsrInfo", */ }, - /*::[*/0x0194/*::]*/: { /* n:"UsrExcl", */ }, - /*::[*/0x0195/*::]*/: { /* n:"FileLock", */ }, - /*::[*/0x0196/*::]*/: { /* n:"RRDInfo", */ }, - /*::[*/0x0197/*::]*/: { /* n:"BCUsrs", */ }, - /*::[*/0x0198/*::]*/: { /* n:"UsrChk", */ }, - /*::[*/0x01a9/*::]*/: { /* n:"UserBView", */ }, - /*::[*/0x01aa/*::]*/: { /* n:"UserSViewBegin", */ }, - /*::[*/0x01ab/*::]*/: { /* n:"UserSViewEnd", */ }, - /*::[*/0x01ac/*::]*/: { /* n:"RRDUserView", */ }, - /*::[*/0x01ad/*::]*/: { /* n:"Qsi", */ }, - /*::[*/0x01ae/*::]*/: { /* n:"SupBook", */ f:parse_SupBook }, - /*::[*/0x01af/*::]*/: { /* n:"Prot4Rev", */ f:parsebool }, - /*::[*/0x01b0/*::]*/: { /* n:"CondFmt", */ }, - /*::[*/0x01b1/*::]*/: { /* n:"CF", */ }, - /*::[*/0x01b2/*::]*/: { /* n:"DVal", */ }, - /*::[*/0x01b5/*::]*/: { /* n:"DConBin", */ }, - /*::[*/0x01b6/*::]*/: { /* n:"TxO", */ f:parse_TxO }, - /*::[*/0x01b7/*::]*/: { /* n:"RefreshAll", */ f:parsebool }, // - /*::[*/0x01b8/*::]*/: { /* n:"HLink", */ f:parse_HLink }, - /*::[*/0x01b9/*::]*/: { /* n:"Lel", */ }, - /*::[*/0x01ba/*::]*/: { /* n:"CodeName", */ f:parse_XLUnicodeString }, - /*::[*/0x01bb/*::]*/: { /* n:"SXFDBType", */ }, - /*::[*/0x01bc/*::]*/: { /* n:"Prot4RevPass", */ f:parseuint16 }, - /*::[*/0x01bd/*::]*/: { /* n:"ObNoMacros", */ }, - /*::[*/0x01be/*::]*/: { /* n:"Dv", */ }, - /*::[*/0x01c0/*::]*/: { /* n:"Excel9File", */ f:parsenoop2 }, - /*::[*/0x01c1/*::]*/: { /* n:"RecalcId", */ f:parse_RecalcId, r:2}, - /*::[*/0x01c2/*::]*/: { /* n:"EntExU2", */ f:parsenoop2 }, - /*::[*/0x0200/*::]*/: { /* n:"Dimensions", */ f:parse_Dimensions }, - /*::[*/0x0201/*::]*/: { /* n:"Blank", */ f:parse_Blank }, - /*::[*/0x0203/*::]*/: { /* n:"Number", */ f:parse_Number }, - /*::[*/0x0204/*::]*/: { /* n:"Label", */ f:parse_Label }, - /*::[*/0x0205/*::]*/: { /* n:"BoolErr", */ f:parse_BoolErr }, - /*::[*/0x0207/*::]*/: { /* n:"String", */ f:parse_String }, - /*::[*/0x0208/*::]*/: { /* n:"Row", */ f:parse_Row }, - /*::[*/0x020b/*::]*/: { /* n:"Index", */ }, - /*::[*/0x0221/*::]*/: { /* n:"Array", */ f:parse_Array }, - /*::[*/0x0225/*::]*/: { /* n:"DefaultRowHeight", */ f:parse_DefaultRowHeight }, - /*::[*/0x0236/*::]*/: { /* n:"Table", */ }, - /*::[*/0x023e/*::]*/: { /* n:"Window2", */ f:parse_Window2 }, - /*::[*/0x027e/*::]*/: { /* n:"RK", */ f:parse_RK }, - /*::[*/0x0293/*::]*/: { /* n:"Style", */ }, - /*::[*/0x0418/*::]*/: { /* n:"BigName", */ }, - /*::[*/0x041e/*::]*/: { /* n:"Format", */ f:parse_Format }, - /*::[*/0x043c/*::]*/: { /* n:"ContinueBigName", */ }, - /*::[*/0x04bc/*::]*/: { /* n:"ShrFmla", */ f:parse_ShrFmla }, - /*::[*/0x0800/*::]*/: { /* n:"HLinkTooltip", */ f:parse_HLinkTooltip }, - /*::[*/0x0801/*::]*/: { /* n:"WebPub", */ }, - /*::[*/0x0802/*::]*/: { /* n:"QsiSXTag", */ }, - /*::[*/0x0803/*::]*/: { /* n:"DBQueryExt", */ }, - /*::[*/0x0804/*::]*/: { /* n:"ExtString", */ }, - /*::[*/0x0805/*::]*/: { /* n:"TxtQry", */ }, - /*::[*/0x0806/*::]*/: { /* n:"Qsir", */ }, - /*::[*/0x0807/*::]*/: { /* n:"Qsif", */ }, - /*::[*/0x0808/*::]*/: { /* n:"RRDTQSIF", */ }, - /*::[*/0x0809/*::]*/: { /* n:"BOF", */ f:parse_BOF }, - /*::[*/0x080a/*::]*/: { /* n:"OleDbConn", */ }, - /*::[*/0x080b/*::]*/: { /* n:"WOpt", */ }, - /*::[*/0x080c/*::]*/: { /* n:"SXViewEx", */ }, - /*::[*/0x080d/*::]*/: { /* n:"SXTH", */ }, - /*::[*/0x080e/*::]*/: { /* n:"SXPIEx", */ }, - /*::[*/0x080f/*::]*/: { /* n:"SXVDTEx", */ }, - /*::[*/0x0810/*::]*/: { /* n:"SXViewEx9", */ }, - /*::[*/0x0812/*::]*/: { /* n:"ContinueFrt", */ }, - /*::[*/0x0813/*::]*/: { /* n:"RealTimeData", */ }, - /*::[*/0x0850/*::]*/: { /* n:"ChartFrtInfo", */ }, - /*::[*/0x0851/*::]*/: { /* n:"FrtWrapper", */ }, - /*::[*/0x0852/*::]*/: { /* n:"StartBlock", */ }, - /*::[*/0x0853/*::]*/: { /* n:"EndBlock", */ }, - /*::[*/0x0854/*::]*/: { /* n:"StartObject", */ }, - /*::[*/0x0855/*::]*/: { /* n:"EndObject", */ }, - /*::[*/0x0856/*::]*/: { /* n:"CatLab", */ }, - /*::[*/0x0857/*::]*/: { /* n:"YMult", */ }, - /*::[*/0x0858/*::]*/: { /* n:"SXViewLink", */ }, - /*::[*/0x0859/*::]*/: { /* n:"PivotChartBits", */ }, - /*::[*/0x085a/*::]*/: { /* n:"FrtFontList", */ }, - /*::[*/0x0862/*::]*/: { /* n:"SheetExt", */ }, - /*::[*/0x0863/*::]*/: { /* n:"BookExt", */ r:12}, - /*::[*/0x0864/*::]*/: { /* n:"SXAddl", */ }, - /*::[*/0x0865/*::]*/: { /* n:"CrErr", */ }, - /*::[*/0x0866/*::]*/: { /* n:"HFPicture", */ }, - /*::[*/0x0867/*::]*/: { /* n:"FeatHdr", */ f:parsenoop2 }, - /*::[*/0x0868/*::]*/: { /* n:"Feat", */ }, - /*::[*/0x086a/*::]*/: { /* n:"DataLabExt", */ }, - /*::[*/0x086b/*::]*/: { /* n:"DataLabExtContents", */ }, - /*::[*/0x086c/*::]*/: { /* n:"CellWatch", */ }, - /*::[*/0x0871/*::]*/: { /* n:"FeatHdr11", */ }, - /*::[*/0x0872/*::]*/: { /* n:"Feature11", */ }, - /*::[*/0x0874/*::]*/: { /* n:"DropDownObjIds", */ }, - /*::[*/0x0875/*::]*/: { /* n:"ContinueFrt11", */ }, - /*::[*/0x0876/*::]*/: { /* n:"DConn", */ }, - /*::[*/0x0877/*::]*/: { /* n:"List12", */ }, - /*::[*/0x0878/*::]*/: { /* n:"Feature12", */ }, - /*::[*/0x0879/*::]*/: { /* n:"CondFmt12", */ }, - /*::[*/0x087a/*::]*/: { /* n:"CF12", */ }, - /*::[*/0x087b/*::]*/: { /* n:"CFEx", */ }, - /*::[*/0x087c/*::]*/: { /* n:"XFCRC", */ f:parse_XFCRC, r:12 }, - /*::[*/0x087d/*::]*/: { /* n:"XFExt", */ f:parse_XFExt, r:12 }, - /*::[*/0x087e/*::]*/: { /* n:"AutoFilter12", */ }, - /*::[*/0x087f/*::]*/: { /* n:"ContinueFrt12", */ }, - /*::[*/0x0884/*::]*/: { /* n:"MDTInfo", */ }, - /*::[*/0x0885/*::]*/: { /* n:"MDXStr", */ }, - /*::[*/0x0886/*::]*/: { /* n:"MDXTuple", */ }, - /*::[*/0x0887/*::]*/: { /* n:"MDXSet", */ }, - /*::[*/0x0888/*::]*/: { /* n:"MDXProp", */ }, - /*::[*/0x0889/*::]*/: { /* n:"MDXKPI", */ }, - /*::[*/0x088a/*::]*/: { /* n:"MDB", */ }, - /*::[*/0x088b/*::]*/: { /* n:"PLV", */ }, - /*::[*/0x088c/*::]*/: { /* n:"Compat12", */ f:parsebool, r:12 }, - /*::[*/0x088d/*::]*/: { /* n:"DXF", */ }, - /*::[*/0x088e/*::]*/: { /* n:"TableStyles", */ r:12 }, - /*::[*/0x088f/*::]*/: { /* n:"TableStyle", */ }, - /*::[*/0x0890/*::]*/: { /* n:"TableStyleElement", */ }, - /*::[*/0x0892/*::]*/: { /* n:"StyleExt", */ }, - /*::[*/0x0893/*::]*/: { /* n:"NamePublish", */ }, - /*::[*/0x0894/*::]*/: { /* n:"NameCmt", */ f:parse_NameCmt, r:12 }, - /*::[*/0x0895/*::]*/: { /* n:"SortData", */ }, - /*::[*/0x0896/*::]*/: { /* n:"Theme", */ f:parse_Theme, r:12 }, - /*::[*/0x0897/*::]*/: { /* n:"GUIDTypeLib", */ }, - /*::[*/0x0898/*::]*/: { /* n:"FnGrp12", */ }, - /*::[*/0x0899/*::]*/: { /* n:"NameFnGrp12", */ }, - /*::[*/0x089a/*::]*/: { /* n:"MTRSettings", */ f:parse_MTRSettings, r:12 }, - /*::[*/0x089b/*::]*/: { /* n:"CompressPictures", */ f:parsenoop2 }, - /*::[*/0x089c/*::]*/: { /* n:"HeaderFooter", */ }, - /*::[*/0x089d/*::]*/: { /* n:"CrtLayout12", */ }, - /*::[*/0x089e/*::]*/: { /* n:"CrtMlFrt", */ }, - /*::[*/0x089f/*::]*/: { /* n:"CrtMlFrtContinue", */ }, - /*::[*/0x08a3/*::]*/: { /* n:"ForceFullCalculation", */ f:parse_ForceFullCalculation }, - /*::[*/0x08a4/*::]*/: { /* n:"ShapePropsStream", */ }, - /*::[*/0x08a5/*::]*/: { /* n:"TextPropsStream", */ }, - /*::[*/0x08a6/*::]*/: { /* n:"RichTextStream", */ }, - /*::[*/0x08a7/*::]*/: { /* n:"CrtLayout12A", */ }, - /*::[*/0x1001/*::]*/: { /* n:"Units", */ }, - /*::[*/0x1002/*::]*/: { /* n:"Chart", */ }, - /*::[*/0x1003/*::]*/: { /* n:"Series", */ }, - /*::[*/0x1006/*::]*/: { /* n:"DataFormat", */ }, - /*::[*/0x1007/*::]*/: { /* n:"LineFormat", */ }, - /*::[*/0x1009/*::]*/: { /* n:"MarkerFormat", */ }, - /*::[*/0x100a/*::]*/: { /* n:"AreaFormat", */ }, - /*::[*/0x100b/*::]*/: { /* n:"PieFormat", */ }, - /*::[*/0x100c/*::]*/: { /* n:"AttachedLabel", */ }, - /*::[*/0x100d/*::]*/: { /* n:"SeriesText", */ }, - /*::[*/0x1014/*::]*/: { /* n:"ChartFormat", */ }, - /*::[*/0x1015/*::]*/: { /* n:"Legend", */ }, - /*::[*/0x1016/*::]*/: { /* n:"SeriesList", */ }, - /*::[*/0x1017/*::]*/: { /* n:"Bar", */ }, - /*::[*/0x1018/*::]*/: { /* n:"Line", */ }, - /*::[*/0x1019/*::]*/: { /* n:"Pie", */ }, - /*::[*/0x101a/*::]*/: { /* n:"Area", */ }, - /*::[*/0x101b/*::]*/: { /* n:"Scatter", */ }, - /*::[*/0x101c/*::]*/: { /* n:"CrtLine", */ }, - /*::[*/0x101d/*::]*/: { /* n:"Axis", */ }, - /*::[*/0x101e/*::]*/: { /* n:"Tick", */ }, - /*::[*/0x101f/*::]*/: { /* n:"ValueRange", */ }, - /*::[*/0x1020/*::]*/: { /* n:"CatSerRange", */ }, - /*::[*/0x1021/*::]*/: { /* n:"AxisLine", */ }, - /*::[*/0x1022/*::]*/: { /* n:"CrtLink", */ }, - /*::[*/0x1024/*::]*/: { /* n:"DefaultText", */ }, - /*::[*/0x1025/*::]*/: { /* n:"Text", */ }, - /*::[*/0x1026/*::]*/: { /* n:"FontX", */ f:parseuint16 }, - /*::[*/0x1027/*::]*/: { /* n:"ObjectLink", */ }, - /*::[*/0x1032/*::]*/: { /* n:"Frame", */ }, - /*::[*/0x1033/*::]*/: { /* n:"Begin", */ }, - /*::[*/0x1034/*::]*/: { /* n:"End", */ }, - /*::[*/0x1035/*::]*/: { /* n:"PlotArea", */ }, - /*::[*/0x103a/*::]*/: { /* n:"Chart3d", */ }, - /*::[*/0x103c/*::]*/: { /* n:"PicF", */ }, - /*::[*/0x103d/*::]*/: { /* n:"DropBar", */ }, - /*::[*/0x103e/*::]*/: { /* n:"Radar", */ }, - /*::[*/0x103f/*::]*/: { /* n:"Surf", */ }, - /*::[*/0x1040/*::]*/: { /* n:"RadarArea", */ }, - /*::[*/0x1041/*::]*/: { /* n:"AxisParent", */ }, - /*::[*/0x1043/*::]*/: { /* n:"LegendException", */ }, - /*::[*/0x1044/*::]*/: { /* n:"ShtProps", */ f:parse_ShtProps }, - /*::[*/0x1045/*::]*/: { /* n:"SerToCrt", */ }, - /*::[*/0x1046/*::]*/: { /* n:"AxesUsed", */ }, - /*::[*/0x1048/*::]*/: { /* n:"SBaseRef", */ }, - /*::[*/0x104a/*::]*/: { /* n:"SerParent", */ }, - /*::[*/0x104b/*::]*/: { /* n:"SerAuxTrend", */ }, - /*::[*/0x104e/*::]*/: { /* n:"IFmtRecord", */ }, - /*::[*/0x104f/*::]*/: { /* n:"Pos", */ }, - /*::[*/0x1050/*::]*/: { /* n:"AlRuns", */ }, - /*::[*/0x1051/*::]*/: { /* n:"BRAI", */ }, - /*::[*/0x105b/*::]*/: { /* n:"SerAuxErrBar", */ }, - /*::[*/0x105c/*::]*/: { /* n:"ClrtClient", */ f:parse_ClrtClient }, - /*::[*/0x105d/*::]*/: { /* n:"SerFmt", */ }, - /*::[*/0x105f/*::]*/: { /* n:"Chart3DBarShape", */ }, - /*::[*/0x1060/*::]*/: { /* n:"Fbi", */ }, - /*::[*/0x1061/*::]*/: { /* n:"BopPop", */ }, - /*::[*/0x1062/*::]*/: { /* n:"AxcExt", */ }, - /*::[*/0x1063/*::]*/: { /* n:"Dat", */ }, - /*::[*/0x1064/*::]*/: { /* n:"PlotGrowth", */ }, - /*::[*/0x1065/*::]*/: { /* n:"SIIndex", */ }, - /*::[*/0x1066/*::]*/: { /* n:"GelFrame", */ }, - /*::[*/0x1067/*::]*/: { /* n:"BopPopCustom", */ }, - /*::[*/0x1068/*::]*/: { /* n:"Fbi2", */ }, + 0x0006: { /* n:"Formula", */ f:parse_Formula }, + 0x000a: { /* n:"EOF", */ f:parsenoop2 }, + 0x000c: { /* n:"CalcCount", */ f:parseuint16 }, // + 0x000d: { /* n:"CalcMode", */ f:parseuint16 }, // + 0x000e: { /* n:"CalcPrecision", */ f:parsebool }, // + 0x000f: { /* n:"CalcRefMode", */ f:parsebool }, // + 0x0010: { /* n:"CalcDelta", */ f:parse_Xnum }, // + 0x0011: { /* n:"CalcIter", */ f:parsebool }, // + 0x0012: { /* n:"Protect", */ f:parsebool }, + 0x0013: { /* n:"Password", */ f:parseuint16 }, + 0x0014: { /* n:"Header", */ f:parse_XLHeaderFooter }, + 0x0015: { /* n:"Footer", */ f:parse_XLHeaderFooter }, + 0x0017: { /* n:"ExternSheet", */ f:parse_ExternSheet }, + 0x0018: { /* n:"Lbl", */ f:parse_Lbl }, + 0x0019: { /* n:"WinProtect", */ f:parsebool }, + 0x001a: { /* n:"VerticalPageBreaks", */ }, + 0x001b: { /* n:"HorizontalPageBreaks", */ }, + 0x001c: { /* n:"Note", */ f:parse_Note }, + 0x001d: { /* n:"Selection", */ }, + 0x0022: { /* n:"Date1904", */ f:parsebool }, + 0x0023: { /* n:"ExternName", */ f:parse_ExternName }, + 0x0026: { /* n:"LeftMargin", */ f:parse_Xnum }, // * + 0x0027: { /* n:"RightMargin", */ f:parse_Xnum }, // * + 0x0028: { /* n:"TopMargin", */ f:parse_Xnum }, // * + 0x0029: { /* n:"BottomMargin", */ f:parse_Xnum }, // * + 0x002a: { /* n:"PrintRowCol", */ f:parsebool }, + 0x002b: { /* n:"PrintGrid", */ f:parsebool }, + 0x002f: { /* n:"FilePass", */ f:parse_FilePass }, + 0x0031: { /* n:"Font", */ f:parse_Font }, + 0x0033: { /* n:"PrintSize", */ f:parseuint16 }, + 0x003c: { /* n:"Continue", */ }, + 0x003d: { /* n:"Window1", */ f:parse_Window1 }, + 0x0040: { /* n:"Backup", */ f:parsebool }, + 0x0041: { /* n:"Pane", */ f:parse_Pane }, + 0x0042: { /* n:"CodePage", */ f:parseuint16 }, + 0x004d: { /* n:"Pls", */ }, + 0x0050: { /* n:"DCon", */ }, + 0x0051: { /* n:"DConRef", */ }, + 0x0052: { /* n:"DConName", */ }, + 0x0055: { /* n:"DefColWidth", */ f:parseuint16 }, + 0x0059: { /* n:"XCT", */ }, + 0x005a: { /* n:"CRN", */ }, + 0x005b: { /* n:"FileSharing", */ }, + 0x005c: { /* n:"WriteAccess", */ f:parse_WriteAccess }, + 0x005d: { /* n:"Obj", */ f:parse_Obj }, + 0x005e: { /* n:"Uncalced", */ }, + 0x005f: { /* n:"CalcSaveRecalc", */ f:parsebool }, // + 0x0060: { /* n:"Template", */ }, + 0x0061: { /* n:"Intl", */ }, + 0x0063: { /* n:"ObjProtect", */ f:parsebool }, + 0x007d: { /* n:"ColInfo", */ f:parse_ColInfo }, + 0x0080: { /* n:"Guts", */ f:parse_Guts }, + 0x0081: { /* n:"WsBool", */ f:parse_WsBool }, + 0x0082: { /* n:"GridSet", */ f:parseuint16 }, + 0x0083: { /* n:"HCenter", */ f:parsebool }, + 0x0084: { /* n:"VCenter", */ f:parsebool }, + 0x0085: { /* n:"BoundSheet8", */ f:parse_BoundSheet8 }, + 0x0086: { /* n:"WriteProtect", */ }, + 0x008c: { /* n:"Country", */ f:parse_Country }, + 0x008d: { /* n:"HideObj", */ f:parseuint16 }, + 0x0090: { /* n:"Sort", */ }, + 0x0092: { /* n:"Palette", */ f:parse_Palette }, + 0x0097: { /* n:"Sync", */ }, + 0x0098: { /* n:"LPr", */ }, + 0x0099: { /* n:"DxGCol", */ }, + 0x009a: { /* n:"FnGroupName", */ }, + 0x009b: { /* n:"FilterMode", */ }, + 0x009c: { /* n:"BuiltInFnGroupCount", */ f:parseuint16 }, + 0x009d: { /* n:"AutoFilterInfo", */ }, + 0x009e: { /* n:"AutoFilter", */ }, + 0x00a0: { /* n:"Scl", */ f:parse_Scl }, + 0x00a1: { /* n:"Setup", */ f:parse_Setup }, + 0x00ae: { /* n:"ScenMan", */ }, + 0x00af: { /* n:"SCENARIO", */ }, + 0x00b0: { /* n:"SxView", */ }, + 0x00b1: { /* n:"Sxvd", */ }, + 0x00b2: { /* n:"SXVI", */ }, + 0x00b4: { /* n:"SxIvd", */ }, + 0x00b5: { /* n:"SXLI", */ }, + 0x00b6: { /* n:"SXPI", */ }, + 0x00b8: { /* n:"DocRoute", */ }, + 0x00b9: { /* n:"RecipName", */ }, + 0x00bd: { /* n:"MulRk", */ f:parse_MulRk }, + 0x00be: { /* n:"MulBlank", */ f:parse_MulBlank }, + 0x00c1: { /* n:"Mms", */ f:parsenoop2 }, + 0x00c5: { /* n:"SXDI", */ }, + 0x00c6: { /* n:"SXDB", */ }, + 0x00c7: { /* n:"SXFDB", */ }, + 0x00c8: { /* n:"SXDBB", */ }, + 0x00c9: { /* n:"SXNum", */ }, + 0x00ca: { /* n:"SxBool", */ f:parsebool }, + 0x00cb: { /* n:"SxErr", */ }, + 0x00cc: { /* n:"SXInt", */ }, + 0x00cd: { /* n:"SXString", */ }, + 0x00ce: { /* n:"SXDtr", */ }, + 0x00cf: { /* n:"SxNil", */ }, + 0x00d0: { /* n:"SXTbl", */ }, + 0x00d1: { /* n:"SXTBRGIITM", */ }, + 0x00d2: { /* n:"SxTbpg", */ }, + 0x00d3: { /* n:"ObProj", */ }, + 0x00d5: { /* n:"SXStreamID", */ }, + 0x00d7: { /* n:"DBCell", */ }, + 0x00d8: { /* n:"SXRng", */ }, + 0x00d9: { /* n:"SxIsxoper", */ }, + 0x00da: { /* n:"BookBool", */ f:parseuint16 }, + 0x00dc: { /* n:"DbOrParamQry", */ }, + 0x00dd: { /* n:"ScenarioProtect", */ f:parsebool }, + 0x00de: { /* n:"OleObjectSize", */ }, + 0x00e0: { /* n:"XF", */ f:parse_XF }, + 0x00e1: { /* n:"InterfaceHdr", */ f:parse_InterfaceHdr }, + 0x00e2: { /* n:"InterfaceEnd", */ f:parsenoop2 }, + 0x00e3: { /* n:"SXVS", */ }, + 0x00e5: { /* n:"MergeCells", */ f:parse_MergeCells }, + 0x00e9: { /* n:"BkHim", */ }, + 0x00eb: { /* n:"MsoDrawingGroup", */ }, + 0x00ec: { /* n:"MsoDrawing", */ }, + 0x00ed: { /* n:"MsoDrawingSelection", */ }, + 0x00ef: { /* n:"PhoneticInfo", */ }, + 0x00f0: { /* n:"SxRule", */ }, + 0x00f1: { /* n:"SXEx", */ }, + 0x00f2: { /* n:"SxFilt", */ }, + 0x00f4: { /* n:"SxDXF", */ }, + 0x00f5: { /* n:"SxItm", */ }, + 0x00f6: { /* n:"SxName", */ }, + 0x00f7: { /* n:"SxSelect", */ }, + 0x00f8: { /* n:"SXPair", */ }, + 0x00f9: { /* n:"SxFmla", */ }, + 0x00fb: { /* n:"SxFormat", */ }, + 0x00fc: { /* n:"SST", */ f:parse_SST }, + 0x00fd: { /* n:"LabelSst", */ f:parse_LabelSst }, + 0x00ff: { /* n:"ExtSST", */ f:parse_ExtSST }, + 0x0100: { /* n:"SXVDEx", */ }, + 0x0103: { /* n:"SXFormula", */ }, + 0x0122: { /* n:"SXDBEx", */ }, + 0x0137: { /* n:"RRDInsDel", */ }, + 0x0138: { /* n:"RRDHead", */ }, + 0x013b: { /* n:"RRDChgCell", */ }, + 0x013d: { /* n:"RRTabId", */ f:parseuint16a }, + 0x013e: { /* n:"RRDRenSheet", */ }, + 0x013f: { /* n:"RRSort", */ }, + 0x0140: { /* n:"RRDMove", */ }, + 0x014a: { /* n:"RRFormat", */ }, + 0x014b: { /* n:"RRAutoFmt", */ }, + 0x014d: { /* n:"RRInsertSh", */ }, + 0x014e: { /* n:"RRDMoveBegin", */ }, + 0x014f: { /* n:"RRDMoveEnd", */ }, + 0x0150: { /* n:"RRDInsDelBegin", */ }, + 0x0151: { /* n:"RRDInsDelEnd", */ }, + 0x0152: { /* n:"RRDConflict", */ }, + 0x0153: { /* n:"RRDDefName", */ }, + 0x0154: { /* n:"RRDRstEtxp", */ }, + 0x015f: { /* n:"LRng", */ }, + 0x0160: { /* n:"UsesELFs", */ f:parsebool }, + 0x0161: { /* n:"DSF", */ f:parsenoop2 }, + 0x0191: { /* n:"CUsr", */ }, + 0x0192: { /* n:"CbUsr", */ }, + 0x0193: { /* n:"UsrInfo", */ }, + 0x0194: { /* n:"UsrExcl", */ }, + 0x0195: { /* n:"FileLock", */ }, + 0x0196: { /* n:"RRDInfo", */ }, + 0x0197: { /* n:"BCUsrs", */ }, + 0x0198: { /* n:"UsrChk", */ }, + 0x01a9: { /* n:"UserBView", */ }, + 0x01aa: { /* n:"UserSViewBegin", */ }, + 0x01ab: { /* n:"UserSViewEnd", */ }, + 0x01ac: { /* n:"RRDUserView", */ }, + 0x01ad: { /* n:"Qsi", */ }, + 0x01ae: { /* n:"SupBook", */ f:parse_SupBook }, + 0x01af: { /* n:"Prot4Rev", */ f:parsebool }, + 0x01b0: { /* n:"CondFmt", */ }, + 0x01b1: { /* n:"CF", */ }, + 0x01b2: { /* n:"DVal", */ }, + 0x01b5: { /* n:"DConBin", */ }, + 0x01b6: { /* n:"TxO", */ f:parse_TxO }, + 0x01b7: { /* n:"RefreshAll", */ f:parsebool }, // + 0x01b8: { /* n:"HLink", */ f:parse_HLink }, + 0x01b9: { /* n:"Lel", */ }, + 0x01ba: { /* n:"CodeName", */ f:parse_XLUnicodeString }, + 0x01bb: { /* n:"SXFDBType", */ }, + 0x01bc: { /* n:"Prot4RevPass", */ f:parseuint16 }, + 0x01bd: { /* n:"ObNoMacros", */ }, + 0x01be: { /* n:"Dv", */ }, + 0x01c0: { /* n:"Excel9File", */ f:parsenoop2 }, + 0x01c1: { /* n:"RecalcId", */ f:parse_RecalcId, r:2}, + 0x01c2: { /* n:"EntExU2", */ f:parsenoop2 }, + 0x0200: { /* n:"Dimensions", */ f:parse_Dimensions }, + 0x0201: { /* n:"Blank", */ f:parse_Blank }, + 0x0203: { /* n:"Number", */ f:parse_Number }, + 0x0204: { /* n:"Label", */ f:parse_Label }, + 0x0205: { /* n:"BoolErr", */ f:parse_BoolErr }, + 0x0207: { /* n:"String", */ f:parse_String }, + 0x0208: { /* n:"Row", */ f:parse_Row }, + 0x020b: { /* n:"Index", */ }, + 0x0221: { /* n:"Array", */ f:parse_Array }, + 0x0225: { /* n:"DefaultRowHeight", */ f:parse_DefaultRowHeight }, + 0x0236: { /* n:"Table", */ }, + 0x023e: { /* n:"Window2", */ f:parse_Window2 }, + 0x027e: { /* n:"RK", */ f:parse_RK }, + 0x0293: { /* n:"Style", */ }, + 0x0418: { /* n:"BigName", */ }, + 0x041e: { /* n:"Format", */ f:parse_Format }, + 0x043c: { /* n:"ContinueBigName", */ }, + 0x04bc: { /* n:"ShrFmla", */ f:parse_ShrFmla }, + 0x0800: { /* n:"HLinkTooltip", */ f:parse_HLinkTooltip }, + 0x0801: { /* n:"WebPub", */ }, + 0x0802: { /* n:"QsiSXTag", */ }, + 0x0803: { /* n:"DBQueryExt", */ }, + 0x0804: { /* n:"ExtString", */ }, + 0x0805: { /* n:"TxtQry", */ }, + 0x0806: { /* n:"Qsir", */ }, + 0x0807: { /* n:"Qsif", */ }, + 0x0808: { /* n:"RRDTQSIF", */ }, + 0x0809: { /* n:"BOF", */ f:parse_BOF }, + 0x080a: { /* n:"OleDbConn", */ }, + 0x080b: { /* n:"WOpt", */ }, + 0x080c: { /* n:"SXViewEx", */ }, + 0x080d: { /* n:"SXTH", */ }, + 0x080e: { /* n:"SXPIEx", */ }, + 0x080f: { /* n:"SXVDTEx", */ }, + 0x0810: { /* n:"SXViewEx9", */ }, + 0x0812: { /* n:"ContinueFrt", */ }, + 0x0813: { /* n:"RealTimeData", */ }, + 0x0850: { /* n:"ChartFrtInfo", */ }, + 0x0851: { /* n:"FrtWrapper", */ }, + 0x0852: { /* n:"StartBlock", */ }, + 0x0853: { /* n:"EndBlock", */ }, + 0x0854: { /* n:"StartObject", */ }, + 0x0855: { /* n:"EndObject", */ }, + 0x0856: { /* n:"CatLab", */ }, + 0x0857: { /* n:"YMult", */ }, + 0x0858: { /* n:"SXViewLink", */ }, + 0x0859: { /* n:"PivotChartBits", */ }, + 0x085a: { /* n:"FrtFontList", */ }, + 0x0862: { /* n:"SheetExt", */ }, + 0x0863: { /* n:"BookExt", */ r:12}, + 0x0864: { /* n:"SXAddl", */ }, + 0x0865: { /* n:"CrErr", */ }, + 0x0866: { /* n:"HFPicture", */ }, + 0x0867: { /* n:"FeatHdr", */ f:parsenoop2 }, + 0x0868: { /* n:"Feat", */ }, + 0x086a: { /* n:"DataLabExt", */ }, + 0x086b: { /* n:"DataLabExtContents", */ }, + 0x086c: { /* n:"CellWatch", */ }, + 0x0871: { /* n:"FeatHdr11", */ }, + 0x0872: { /* n:"Feature11", */ }, + 0x0874: { /* n:"DropDownObjIds", */ }, + 0x0875: { /* n:"ContinueFrt11", */ }, + 0x0876: { /* n:"DConn", */ }, + 0x0877: { /* n:"List12", */ }, + 0x0878: { /* n:"Feature12", */ }, + 0x0879: { /* n:"CondFmt12", */ }, + 0x087a: { /* n:"CF12", */ }, + 0x087b: { /* n:"CFEx", */ }, + 0x087c: { /* n:"XFCRC", */ f:parse_XFCRC, r:12 }, + 0x087d: { /* n:"XFExt", */ f:parse_XFExt, r:12 }, + 0x087e: { /* n:"AutoFilter12", */ }, + 0x087f: { /* n:"ContinueFrt12", */ }, + 0x0884: { /* n:"MDTInfo", */ }, + 0x0885: { /* n:"MDXStr", */ }, + 0x0886: { /* n:"MDXTuple", */ }, + 0x0887: { /* n:"MDXSet", */ }, + 0x0888: { /* n:"MDXProp", */ }, + 0x0889: { /* n:"MDXKPI", */ }, + 0x088a: { /* n:"MDB", */ }, + 0x088b: { /* n:"PLV", */ }, + 0x088c: { /* n:"Compat12", */ f:parsebool, r:12 }, + 0x088d: { /* n:"DXF", */ }, + 0x088e: { /* n:"TableStyles", */ r:12 }, + 0x088f: { /* n:"TableStyle", */ }, + 0x0890: { /* n:"TableStyleElement", */ }, + 0x0892: { /* n:"StyleExt", */ }, + 0x0893: { /* n:"NamePublish", */ }, + 0x0894: { /* n:"NameCmt", */ f:parse_NameCmt, r:12 }, + 0x0895: { /* n:"SortData", */ }, + 0x0896: { /* n:"Theme", */ f:parse_Theme, r:12 }, + 0x0897: { /* n:"GUIDTypeLib", */ }, + 0x0898: { /* n:"FnGrp12", */ }, + 0x0899: { /* n:"NameFnGrp12", */ }, + 0x089a: { /* n:"MTRSettings", */ f:parse_MTRSettings, r:12 }, + 0x089b: { /* n:"CompressPictures", */ f:parsenoop2 }, + 0x089c: { /* n:"HeaderFooter", */ }, + 0x089d: { /* n:"CrtLayout12", */ }, + 0x089e: { /* n:"CrtMlFrt", */ }, + 0x089f: { /* n:"CrtMlFrtContinue", */ }, + 0x08a3: { /* n:"ForceFullCalculation", */ f:parse_ForceFullCalculation }, + 0x08a4: { /* n:"ShapePropsStream", */ }, + 0x08a5: { /* n:"TextPropsStream", */ }, + 0x08a6: { /* n:"RichTextStream", */ }, + 0x08a7: { /* n:"CrtLayout12A", */ }, + 0x1001: { /* n:"Units", */ }, + 0x1002: { /* n:"Chart", */ }, + 0x1003: { /* n:"Series", */ }, + 0x1006: { /* n:"DataFormat", */ }, + 0x1007: { /* n:"LineFormat", */ }, + 0x1009: { /* n:"MarkerFormat", */ }, + 0x100a: { /* n:"AreaFormat", */ }, + 0x100b: { /* n:"PieFormat", */ }, + 0x100c: { /* n:"AttachedLabel", */ }, + 0x100d: { /* n:"SeriesText", */ }, + 0x1014: { /* n:"ChartFormat", */ }, + 0x1015: { /* n:"Legend", */ }, + 0x1016: { /* n:"SeriesList", */ }, + 0x1017: { /* n:"Bar", */ }, + 0x1018: { /* n:"Line", */ }, + 0x1019: { /* n:"Pie", */ }, + 0x101a: { /* n:"Area", */ }, + 0x101b: { /* n:"Scatter", */ }, + 0x101c: { /* n:"CrtLine", */ }, + 0x101d: { /* n:"Axis", */ }, + 0x101e: { /* n:"Tick", */ }, + 0x101f: { /* n:"ValueRange", */ }, + 0x1020: { /* n:"CatSerRange", */ }, + 0x1021: { /* n:"AxisLine", */ }, + 0x1022: { /* n:"CrtLink", */ }, + 0x1024: { /* n:"DefaultText", */ }, + 0x1025: { /* n:"Text", */ }, + 0x1026: { /* n:"FontX", */ f:parseuint16 }, + 0x1027: { /* n:"ObjectLink", */ }, + 0x1032: { /* n:"Frame", */ }, + 0x1033: { /* n:"Begin", */ }, + 0x1034: { /* n:"End", */ }, + 0x1035: { /* n:"PlotArea", */ }, + 0x103a: { /* n:"Chart3d", */ }, + 0x103c: { /* n:"PicF", */ }, + 0x103d: { /* n:"DropBar", */ }, + 0x103e: { /* n:"Radar", */ }, + 0x103f: { /* n:"Surf", */ }, + 0x1040: { /* n:"RadarArea", */ }, + 0x1041: { /* n:"AxisParent", */ }, + 0x1043: { /* n:"LegendException", */ }, + 0x1044: { /* n:"ShtProps", */ f:parse_ShtProps }, + 0x1045: { /* n:"SerToCrt", */ }, + 0x1046: { /* n:"AxesUsed", */ }, + 0x1048: { /* n:"SBaseRef", */ }, + 0x104a: { /* n:"SerParent", */ }, + 0x104b: { /* n:"SerAuxTrend", */ }, + 0x104e: { /* n:"IFmtRecord", */ }, + 0x104f: { /* n:"Pos", */ }, + 0x1050: { /* n:"AlRuns", */ }, + 0x1051: { /* n:"BRAI", */ }, + 0x105b: { /* n:"SerAuxErrBar", */ }, + 0x105c: { /* n:"ClrtClient", */ f:parse_ClrtClient }, + 0x105d: { /* n:"SerFmt", */ }, + 0x105f: { /* n:"Chart3DBarShape", */ }, + 0x1060: { /* n:"Fbi", */ }, + 0x1061: { /* n:"BopPop", */ }, + 0x1062: { /* n:"AxcExt", */ }, + 0x1063: { /* n:"Dat", */ }, + 0x1064: { /* n:"PlotGrowth", */ }, + 0x1065: { /* n:"SIIndex", */ }, + 0x1066: { /* n:"GelFrame", */ }, + 0x1067: { /* n:"BopPopCustom", */ }, + 0x1068: { /* n:"Fbi2", */ }, - /*::[*/0x0000/*::]*/: { /* n:"Dimensions", */ f:parse_Dimensions }, - /*::[*/0x0001/*::]*/: { /* n:"BIFF2BLANK", */ }, - /*::[*/0x0002/*::]*/: { /* n:"BIFF2INT", */ f:parse_BIFF2INT }, - /*::[*/0x0003/*::]*/: { /* n:"BIFF2NUM", */ f:parse_BIFF2NUM }, - /*::[*/0x0004/*::]*/: { /* n:"BIFF2STR", */ f:parse_BIFF2STR }, - /*::[*/0x0005/*::]*/: { /* n:"BIFF2BOOLERR", */ f:parse_BIFF2BOOLERR }, - /*::[*/0x0007/*::]*/: { /* n:"String", */ f:parse_BIFF2STRING }, - /*::[*/0x0008/*::]*/: { /* n:"BIFF2ROW", */ }, - /*::[*/0x0009/*::]*/: { /* n:"BOF", */ f:parse_BOF }, - /*::[*/0x000b/*::]*/: { /* n:"Index", */ }, - /*::[*/0x0016/*::]*/: { /* n:"ExternCount", */ f:parseuint16 }, - /*::[*/0x001e/*::]*/: { /* n:"BIFF2FORMAT", */ f:parse_BIFF2Format }, - /*::[*/0x001f/*::]*/: { /* n:"BIFF2FMTCNT", */ }, /* 16-bit cnt of BIFF2FORMAT records */ - /*::[*/0x0020/*::]*/: { /* n:"BIFF2COLINFO", */ }, - /*::[*/0x0021/*::]*/: { /* n:"Array", */ f:parse_Array }, - /*::[*/0x0024/*::]*/: { /* n:"COLWIDTH", */ }, - /*::[*/0x0025/*::]*/: { /* n:"DefaultRowHeight", */ f:parse_DefaultRowHeight }, + 0x0000: { /* n:"Dimensions", */ f:parse_Dimensions }, + 0x0001: { /* n:"BIFF2BLANK", */ }, + 0x0002: { /* n:"BIFF2INT", */ f:parse_BIFF2INT }, + 0x0003: { /* n:"BIFF2NUM", */ f:parse_BIFF2NUM }, + 0x0004: { /* n:"BIFF2STR", */ f:parse_BIFF2STR }, + 0x0005: { /* n:"BIFF2BOOLERR", */ f:parse_BIFF2BOOLERR }, + 0x0007: { /* n:"String", */ f:parse_BIFF2STRING }, + 0x0008: { /* n:"BIFF2ROW", */ }, + 0x0009: { /* n:"BOF", */ f:parse_BOF }, + 0x000b: { /* n:"Index", */ }, + 0x0016: { /* n:"ExternCount", */ f:parseuint16 }, + 0x001e: { /* n:"BIFF2FORMAT", */ f:parse_BIFF2Format }, + 0x001f: { /* n:"BIFF2FMTCNT", */ }, /* 16-bit cnt of BIFF2FORMAT records */ + 0x0020: { /* n:"BIFF2COLINFO", */ }, + 0x0021: { /* n:"Array", */ f:parse_Array }, + 0x0024: { /* n:"COLWIDTH", */ }, + 0x0025: { /* n:"DefaultRowHeight", */ f:parse_DefaultRowHeight }, // 0x002c ?? // 0x002d ?? // 0x002e ?? // 0x0030 FONTCOUNT: number of fonts - /*::[*/0x0032/*::]*/: { /* n:"BIFF2FONTXTRA", */ f:parse_BIFF2FONTXTRA }, + 0x0032: { /* n:"BIFF2FONTXTRA", */ f:parse_BIFF2FONTXTRA }, // 0x0035: INFOOPTS // 0x0036: TABLE (BIFF2 only) // 0x0037: TABLE2 (BIFF2 only) @@ -21599,7 +21729,7 @@ var XLSRecordEnum = { // 0x0039 ?? // 0x003a: BEGINPREF // 0x003b: ENDPREF - /*::[*/0x003e/*::]*/: { /* n:"BIFF2WINDOW2", */ }, + 0x003e: { /* n:"BIFF2WINDOW2", */ }, // 0x003f ?? // 0x0046: SHOWSCROLL // 0x0047: SHOWFORMULA @@ -21613,77 +21743,77 @@ var XLSRecordEnum = { // 0x0058: TOOLBAR (BIFF3) /* - - - */ - /*::[*/0x0034/*::]*/: { /* n:"DDEObjName", */ }, - /*::[*/0x0043/*::]*/: { /* n:"BIFF2XF", */ f:parse_BIFF2XF }, - /*::[*/0x0044/*::]*/: { /* n:"BIFF2XFINDEX", */ f:parseuint16 }, - /*::[*/0x0045/*::]*/: { /* n:"BIFF2FONTCLR", */ }, - /*::[*/0x0056/*::]*/: { /* n:"BIFF4FMTCNT", */ }, /* 16-bit cnt, similar to BIFF2 */ - /*::[*/0x007e/*::]*/: { /* n:"RK", */ }, /* Not necessarily same as 0x027e */ - /*::[*/0x007f/*::]*/: { /* n:"ImData", */ f:parse_ImData }, - /*::[*/0x0087/*::]*/: { /* n:"Addin", */ }, - /*::[*/0x0088/*::]*/: { /* n:"Edg", */ }, - /*::[*/0x0089/*::]*/: { /* n:"Pub", */ }, + 0x0034: { /* n:"DDEObjName", */ }, + 0x0043: { /* n:"BIFF2XF", */ f:parse_BIFF2XF }, + 0x0044: { /* n:"BIFF2XFINDEX", */ f:parseuint16 }, + 0x0045: { /* n:"BIFF2FONTCLR", */ }, + 0x0056: { /* n:"BIFF4FMTCNT", */ }, /* 16-bit cnt, similar to BIFF2 */ + 0x007e: { /* n:"RK", */ }, /* Not necessarily same as 0x027e */ + 0x007f: { /* n:"ImData", */ f:parse_ImData }, + 0x0087: { /* n:"Addin", */ }, + 0x0088: { /* n:"Edg", */ }, + 0x0089: { /* n:"Pub", */ }, // 0x8A // 0x8B LH: alternate menu key flag (BIFF3/4) // 0x8E - /*::[*/0x008F/*::]*/: { /* n:"BIFF4SheetInfo", */ f:parse_BIFF4SheetInfo }, - /*::[*/0x0091/*::]*/: { /* n:"Sub", */ }, + 0x008F: { /* n:"BIFF4SheetInfo", */ f:parse_BIFF4SheetInfo }, + 0x0091: { /* n:"Sub", */ }, // 0x93 STYLE - /*::[*/0x0094/*::]*/: { /* n:"LHRecord", */ }, - /*::[*/0x0095/*::]*/: { /* n:"LHNGraph", */ }, - /*::[*/0x0096/*::]*/: { /* n:"Sound", */ }, + 0x0094: { /* n:"LHRecord", */ }, + 0x0095: { /* n:"LHNGraph", */ }, + 0x0096: { /* n:"Sound", */ }, // 0xA2 FNPROTO: function prototypes (BIFF4) // 0xA3 // 0xA8 - /*::[*/0x00a9/*::]*/: { /* n:"CoordList", */ }, - /*::[*/0x00ab/*::]*/: { /* n:"GCW", */ }, - /*::[*/0x00bc/*::]*/: { /* n:"ShrFmla", */ }, /* Not necessarily same as 0x04bc */ - /*::[*/0x00bf/*::]*/: { /* n:"ToolbarHdr", */ }, - /*::[*/0x00c0/*::]*/: { /* n:"ToolbarEnd", */ }, - /*::[*/0x00c2/*::]*/: { /* n:"AddMenu", */ }, - /*::[*/0x00c3/*::]*/: { /* n:"DelMenu", */ }, - /*::[*/0x00d6/*::]*/: { /* n:"RString", */ f:parse_RString }, - /*::[*/0x00df/*::]*/: { /* n:"UDDesc", */ }, - /*::[*/0x00ea/*::]*/: { /* n:"TabIdConf", */ }, - /*::[*/0x0162/*::]*/: { /* n:"XL5Modify", */ }, - /*::[*/0x01a5/*::]*/: { /* n:"FileSharing2", */ }, - /*::[*/0x0206/*::]*/: { /* n:"Formula", */ f:parse_Formula }, - /*::[*/0x0209/*::]*/: { /* n:"BOF", */ f:parse_BOF }, - /*::[*/0x0218/*::]*/: { /* n:"Lbl", */ f:parse_Lbl }, - /*::[*/0x0223/*::]*/: { /* n:"ExternName", */ f:parse_ExternName }, - /*::[*/0x0231/*::]*/: { /* n:"Font", */ }, - /*::[*/0x0243/*::]*/: { /* n:"BIFF3XF", */ f:parse_BIFF3XF }, - /*::[*/0x0406/*::]*/: { /* n:"Formula", */ f:parse_Formula }, - /*::[*/0x0409/*::]*/: { /* n:"BOF", */ f:parse_BOF }, - /*::[*/0x0443/*::]*/: { /* n:"BIFF4XF", */ f:parse_BIFF4XF }, - /*::[*/0x086d/*::]*/: { /* n:"FeatInfo", */ }, - /*::[*/0x0873/*::]*/: { /* n:"FeatInfo11", */ }, - /*::[*/0x0881/*::]*/: { /* n:"SXAddl12", */ }, - /*::[*/0x08c0/*::]*/: { /* n:"AutoWebPub", */ }, - /*::[*/0x08c1/*::]*/: { /* n:"ListObj", */ }, - /*::[*/0x08c2/*::]*/: { /* n:"ListField", */ }, - /*::[*/0x08c3/*::]*/: { /* n:"ListDV", */ }, - /*::[*/0x08c4/*::]*/: { /* n:"ListCondFmt", */ }, - /*::[*/0x08c5/*::]*/: { /* n:"ListCF", */ }, - /*::[*/0x08c6/*::]*/: { /* n:"FMQry", */ }, - /*::[*/0x08c7/*::]*/: { /* n:"FMSQry", */ }, - /*::[*/0x08c8/*::]*/: { /* n:"PLV", */ }, - /*::[*/0x08c9/*::]*/: { /* n:"LnExt", */ }, - /*::[*/0x08ca/*::]*/: { /* n:"MkrExt", */ }, - /*::[*/0x08cb/*::]*/: { /* n:"CrtCoopt", */ }, - /*::[*/0x08d6/*::]*/: { /* n:"FRTArchId$", */ r:12 }, + 0x00a9: { /* n:"CoordList", */ }, + 0x00ab: { /* n:"GCW", */ }, + 0x00bc: { /* n:"ShrFmla", */ }, /* Not necessarily same as 0x04bc */ + 0x00bf: { /* n:"ToolbarHdr", */ }, + 0x00c0: { /* n:"ToolbarEnd", */ }, + 0x00c2: { /* n:"AddMenu", */ }, + 0x00c3: { /* n:"DelMenu", */ }, + 0x00d6: { /* n:"RString", */ f:parse_RString }, + 0x00df: { /* n:"UDDesc", */ }, + 0x00ea: { /* n:"TabIdConf", */ }, + 0x0162: { /* n:"XL5Modify", */ }, + 0x01a5: { /* n:"FileSharing2", */ }, + 0x0206: { /* n:"Formula", */ f:parse_Formula }, + 0x0209: { /* n:"BOF", */ f:parse_BOF }, + 0x0218: { /* n:"Lbl", */ f:parse_Lbl }, + 0x0223: { /* n:"ExternName", */ f:parse_ExternName }, + 0x0231: { /* n:"Font", */ }, + 0x0243: { /* n:"BIFF3XF", */ f:parse_BIFF3XF }, + 0x0406: { /* n:"Formula", */ f:parse_Formula }, + 0x0409: { /* n:"BOF", */ f:parse_BOF }, + 0x0443: { /* n:"BIFF4XF", */ f:parse_BIFF4XF }, + 0x086d: { /* n:"FeatInfo", */ }, + 0x0873: { /* n:"FeatInfo11", */ }, + 0x0881: { /* n:"SXAddl12", */ }, + 0x08c0: { /* n:"AutoWebPub", */ }, + 0x08c1: { /* n:"ListObj", */ }, + 0x08c2: { /* n:"ListField", */ }, + 0x08c3: { /* n:"ListDV", */ }, + 0x08c4: { /* n:"ListCondFmt", */ }, + 0x08c5: { /* n:"ListCF", */ }, + 0x08c6: { /* n:"FMQry", */ }, + 0x08c7: { /* n:"FMSQry", */ }, + 0x08c8: { /* n:"PLV", */ }, + 0x08c9: { /* n:"LnExt", */ }, + 0x08ca: { /* n:"MkrExt", */ }, + 0x08cb: { /* n:"CrtCoopt", */ }, + 0x08d6: { /* n:"FRTArchId$", */ r:12 }, /* --- multiplan 4 records --- */ - /*::[*/0x0065/*::]*/: { /* n:"", */ }, // one per window - /*::[*/0x0066/*::]*/: { /* n:"", */ }, // calc settings - /*::[*/0x0069/*::]*/: { /* n:"", */ }, // print header - /*::[*/0x006a/*::]*/: { /* n:"", */ }, // print footer - /*::[*/0x006b/*::]*/: { /* n:"", */ }, // print settings - /*::[*/0x006d/*::]*/: { /* n:"", */ }, // one per window - /*::[*/0x0070/*::]*/: { /* n:"", */ }, // includes default col width - /*::[*/0x0072/*::]*/: { /* n:"", */ }, // includes selected cell + 0x0065: { /* n:"", */ }, // one per window + 0x0066: { /* n:"", */ }, // calc settings + 0x0069: { /* n:"", */ }, // print header + 0x006a: { /* n:"", */ }, // print footer + 0x006b: { /* n:"", */ }, // print settings + 0x006d: { /* n:"", */ }, // one per window + 0x0070: { /* n:"", */ }, // includes default col width + 0x0072: { /* n:"", */ }, // includes selected cell - /*::[*/0x7262/*::]*/: {} + 0x7262: {} }; function write_biff_rec(ba/*:BufArray*/, type/*:number*/, payload, length/*:?number*/)/*:void*/ { @@ -21719,7 +21849,7 @@ function write_biff_continue(ba/*:BufArray*/, type/*:number*/, payload, length/* } } -function write_BIFF2BERR(r/*:number*/, c/*:number*/, val, t/*:string*/) { +function write_BIFF2BERR(r/*:number*/, c/*:number*/, val, t/*:?string*/) { var out = new_buf(9); write_BIFF2Cell(out, r, c); write_Bes(val, t || 'b', out); @@ -21789,7 +21919,7 @@ function write_ws_biff2_cell(ba/*:BufArray*/, cell/*:Cell*/, R/*:number*/, C/*:n function write_ws_biff2(ba/*:BufArray*/, ws/*:Worksheet*/, idx/*:number*/, opts, wb/*:Workbook*/) { var dense = ws["!data"] != null; - var range = safe_decode_range(ws['!ref'] || "A1"), ref/*:string*/, rr = "", cols/*:Array<string>*/ = []; + var range = safe_decode_range(ws['!ref'] || "A1"), rr = "", cols/*:Array<string>*/ = []; if(range.e.c > 0xFF || range.e.r > 0x3FFF) { if(opts.WTF) throw new Error("Range " + (ws['!ref'] || "A1") + " exceeds format limit A1:IV16384"); range.e.c = Math.min(range.e.c, 0xFF); @@ -22233,9 +22363,9 @@ function write_ws_biff8(idx/*:number*/, opts, wb/*:Workbook*/) { var date1904 = (((wb||{}).Workbook||{}).WBProps||{}).date1904; if(b8) ws['!links'] = []; + for(var C = range.s.c; C <= range.e.c; ++C) cols[C] = encode_col(C); var comments = []; var row = []; - for(var C = range.s.c; C <= range.e.c; ++C) cols[C] = encode_col(C); for(var R = range.s.r; R <= range.e.r; ++R) { if(dense) row = ws["!data"][R] || []; rr = encode_row(R); @@ -22403,12 +22533,12 @@ function html_to_sheet(str/*:string*/, _opts)/*:Workbook*/ { var opts = _opts || {}; var dense = (opts.dense != null) ? opts.dense : DENSE; var ws/*:Worksheet*/ = ({}/*:any*/); if(dense) ws["!data"] = []; - str = str.replace(/<!--.*?-->/g, ""); + str = str_remove_ng(str, "<!--", "-->"); var mtch/*:any*/ = str.match(/<table/i); if(!mtch) throw new Error("Invalid HTML: could not find <table>"); var mtch2/*:any*/ = str.match(/<\/table/i); var i/*:number*/ = mtch.index, j/*:number*/ = mtch2 && mtch2.index || str.length; - var rows = split_regex(str.slice(i, j), /(:?<tr[^>]*>)/i, "<tr>"); + var rows = split_regex(str.slice(i, j), /(:?<tr[^<>]*>)/i, "<tr>"); var R = -1, C = 0, RS = 0, CS = 0; var range/*:Range*/ = {s:{r:10000000, c:10000000},e:{r:0,c:0}}; var merges/*:Array<Range>*/ = []; @@ -22484,7 +22614,7 @@ function make_html_row(ws/*:Worksheet*/, r/*:Range*/, R/*:number*/, o/*:Sheet2HT else if(cell) { sp["data-t"] = cell && cell.t || 'z'; // note: data-v is unaffected by the timezone interpretation - if(cell.v != null) sp["data-v"] = cell.v instanceof Date ? cell.v.toISOString() : cell.v; + if(cell.v != null) sp["data-v"] = escapehtml(cell.v instanceof Date ? cell.v.toISOString() : cell.v); if(cell.z != null) sp["data-z"] = cell.z; if(cell.l && (cell.l.Target || "#").charAt(0) != "#") w = '<a href="' + escapehtml(cell.l.Target) +'">' + w + '</a>'; } @@ -22499,7 +22629,7 @@ var HTML_BEGIN = '<html><head><meta charset="utf-8"/><title>SheetJS Table Export var HTML_END = '</body></html>'; function html_to_workbook(str/*:string*/, opts)/*:Workbook*/ { - var mtch = str.match(/<table[\s\S]*?>[\s\S]*?<\/table>/gi); + var mtch = str_match_xml_ig(str, "table"); if(!mtch || mtch.length == 0) throw new Error("Invalid HTML: could not find <table>"); if(mtch.length == 1) { var w = sheet_to_workbook(html_to_sheet(mtch[0], opts), opts); @@ -22652,9 +22782,9 @@ function parse_text_p(text/*:string*//*::, tag*/)/*:Array<any>*/ { .replace(/[\t\r\n]/g, " ").trim().replace(/ +/g, " ") .replace(/<text:s\/>/g," ") .replace(/<text:s text:c="(\d+)"\/>/g, function($$,$1) { return Array(parseInt($1,10)+1).join(" "); }) - .replace(/<text:tab[^>]*\/>/g,"\t") + .replace(/<text:tab[^<>]*\/>/g,"\t") .replace(/<text:line-break\/>/g,"\n"); - var v = unescapexml(fixed.replace(/<[^>]*>/g,"")); + var v = unescapexml(fixed.replace(/<[^<>]*>/g,"")); return [v]; } @@ -22664,10 +22794,10 @@ function parse_ods_styles(d/*:string*/, _opts, _nfm) { var number_format_map = _nfm || {}; var str = xlml_normalize(d); xlmlregex.lastIndex = 0; - str = str.replace(/<!--([\s\S]*?)-->/mg,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,""); + str = remove_doctype(str_remove_ng(str, "<!--", "-->")); var Rn, NFtag, NF = "", tNF = "", y, etpos = 0, tidx = -1, infmt = false, payload = ""; while((Rn = xlmlregex.exec(str))) { - switch((Rn[3]=Rn[3].replace(/_.*$/,""))) { + switch((Rn[3]=Rn[3].replace(/_[\s\S]*$/,""))) { /* Number Format Definitions */ case 'number-style': // <number:number-style> 16.29.2 case 'currency-style': // <number:currency-style> 16.29.8 @@ -22911,8 +23041,8 @@ function parse_content_xml(d/*:string*/, _opts, _nfm)/*:Workbook*/ { var isstub = false, intable = false; var i = 0; xlmlregex.lastIndex = 0; - str = str.replace(/<!--([\s\S]*?)-->/mg,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,""); - while((Rn = xlmlregex.exec(str))) switch((Rn[3]=Rn[3].replace(/_.*$/,""))) { + str = remove_doctype(str_remove_ng(str, "<!--", "-->")); + while((Rn = xlmlregex.exec(str))) switch((Rn[3]=Rn[3].replace(/_[\s\S]*$/,""))) { case 'table': case '工作表': // 9.1.2 <table:table> if(Rn[1]==='/') { @@ -23509,7 +23639,7 @@ function write_number_format_ods(nf/*:string*/, nfidx/*:string*/)/*:string*/ { if((t=nf.match(/# (\?+)\/(\d+)/))) { payload += writextag("number:fraction", null, {"number:min-integer-digits":0, "number:min-numerator-digits": t[1].length, "number:denominator-value": +t[2]}); break j; } /* percentages */ - if((t=nf.match(/(\d+)(|\.\d+)%/))) { type = "percentage"; payload += writextag("number:number", null, {"number:decimal-places": t[2] && t.length - 1 || 0, "number:min-decimal-places": t[2] && t.length - 1 || 0, "number:min-integer-digits": t[1].length }) + "<number:text>%</number:text>"; break j; } + if((t=nf.match(/\b(\d+)(|\.\d+)%/))) { type = "percentage"; payload += writextag("number:number", null, {"number:decimal-places": t[2] && t.length - 1 || 0, "number:min-decimal-places": t[2] && t.length - 1 || 0, "number:min-integer-digits": t[1].length }) + "<number:text>%</number:text>"; break j; } /* datetime */ var has_time = false; @@ -23638,17 +23768,17 @@ function write_names_ods(Names, SheetNames, idx) { return " " + writextag("table:named-range", null, { "table:name": name.Name, "table:cell-range-address": odsref, - "table:base-cell-address": odsref.replace(/[\.]?[^\.]*$/, ".$A$1") + "table:base-cell-address": odsref.replace(/[\.][^\.]*$/, ".$A$1") }); }).join("\n") + "\n </table:named-expressions>\n"; } var write_content_ods/*:{(wb:any, opts:any):string}*/ = /* @__PURE__ */(function() { /* 6.1.2 White Space Characters */ - var write_text_p = function(text/*:string*/)/*:string*/ { + var write_text_p = function(text/*:string*/, span)/*:string*/ { return escapexml(text) .replace(/ +/g, function($$){return '<text:s text:c="'+$$.length+'"/>';}) .replace(/\t/g, "<text:tab/>") - .replace(/\n/g, "</text:p><text:p>") + .replace(/\n/g, span ? "<text:line-break/>": "</text:p><text:p>") .replace(/^ /, "<text:s/>").replace(/ $/, "<text:s/>"); }; @@ -23878,7 +24008,7 @@ var write_content_ods/*:{(wb:any, opts:any):string}*/ = /* @__PURE__ */(function if(opts.bookType == "fods") { o.push('<office:document' + attr + fods + '>\n'); - o.push(write_meta_ods().replace(/<office:document-meta.*?>/, "").replace(/<\/office:document-meta>/, "") + "\n"); + o.push(write_meta_ods().replace(/<office:document-meta[^<>]*?>/, "").replace(/<\/office:document-meta>/, "") + "\n"); // TODO: settings (equiv of settings.xml for ODS) } else o.push('<office:document-content' + attr + '>\n'); // o.push(' <office:scripts/>\n'); @@ -25453,7 +25583,7 @@ function numbers_add_meta(mlist, newid, newloc) { mlist[3].push({ type: 2, data: write_shallow([ [], [{ type: 0, data: write_varint49(newid) }], - [{ type: 2, data: stru8(newloc.replace(/-.*$/, "")) }], + [{ type: 2, data: stru8(newloc.replace(/-[\s\S]*$/, "")) }], [{ type: 2, data: stru8(newloc) }], [{ type: 2, data: new Uint8Array([2, 0, 0]) }], [{ type: 2, data: new Uint8Array([2, 0, 0]) }], @@ -26455,7 +26585,7 @@ function parse_zip(zip/*:ZIP*/, opts/*:?ParseOpts*/)/*:Workbook*/ { if(wbrels && wbrels[i]) { path = 'xl/' + (wbrels[i][1]).replace(/[\/]?xl\//, ""); if(!safegetzipfile(zip, path)) path = wbrels[i][1]; - if(!safegetzipfile(zip, path)) path = wbrelsfile.replace(/_rels\/.*$/,"") + wbrels[i][1]; + if(!safegetzipfile(zip, path)) path = wbrelsfile.replace(/_rels\/[\S\s]*$/,"") + wbrels[i][1]; stype = wbrels[i][2]; } else { path = 'xl/worksheets/sheet'+(i+1-nmode)+"." + wbext; @@ -26508,7 +26638,7 @@ function parse_zip(zip/*:ZIP*/, opts/*:?ParseOpts*/)/*:Workbook*/ { if(dir.vba.length > 0) out.vbaraw = getzipdata(zip,strip_front_slash(dir.vba[0]),true); else if(dir.defaults && dir.defaults.bin === CT_VBA) out.vbaraw = getzipdata(zip, 'xl/vbaProject.bin',true); } - // TODO: pass back content types metdata for xlsm/xlsx resolution + // TODO: pass back content types metadata for xlsm/xlsx resolution out.bookType = xlsb ? "xlsb" : "xlsx"; return out; } @@ -27330,6 +27460,7 @@ function make_csv_row(sheet/*:Worksheet*/, r/*:Range*/, R/*:number*/, cols/*:Arr /* NOTE: Excel CSV does not support array formulae */ row.push(txt); } + if(o.strip) while(row[row.length - 1] === "") --row.length; if(o.blankrows === false && isempty) return null; return row.join(FS); } @@ -27341,7 +27472,6 @@ function sheet_to_csv(sheet/*:Worksheet*/, opts/*:?Sheet2CSVOpts*/)/*:string*/ { var r = safe_decode_range(sheet["!ref"]); var FS = o.FS !== undefined ? o.FS : ",", fs = FS.charCodeAt(0); var RS = o.RS !== undefined ? o.RS : "\n", rs = RS.charCodeAt(0); - var endregex = new RegExp((FS=="|" ? "\\|" : FS)+"+$"); var row = "", cols/*:Array<string>*/ = []; var colinfo/*:Array<ColInfo>*/ = o.skipHidden && sheet["!cols"] || []; var rowinfo/*:Array<ColInfo>*/ = o.skipHidden && sheet["!rows"] || []; @@ -27351,7 +27481,6 @@ function sheet_to_csv(sheet/*:Worksheet*/, opts/*:?Sheet2CSVOpts*/)/*:string*/ { if ((rowinfo[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,""); if(row || (o.blankrows !== false)) out.push((w++ ? RS : "") + row); } return out.join(""); @@ -27514,10 +27643,10 @@ function book_append_sheet(wb/*:Workbook*/, ws/*:Worksheet*/, name/*:?string*/, var i = 1; if(!name) for(; i <= 0xFFFF; ++i, name = undefined) if(wb.SheetNames.indexOf(name = "Sheet" + i) == -1) break; if(!name || wb.SheetNames.length >= 0xFFFF) throw new Error("Too many worksheets"); - if(roll && wb.SheetNames.indexOf(name) >= 0) { - var m = name.match(/(^.*?)(\d+)$/); - i = m && +m[2] || 0; - var root = m && m[1] || name; + if(roll && wb.SheetNames.indexOf(name) >= 0 && name.length < 32) { + var m = name.match(/\d+$/); // at this point, name length is capped at 32 + i = m && +m[0] || 0; + var root = m && name.slice(0, m.index) || name; for(++i; i <= 0xFFFF; ++i) if(wb.SheetNames.indexOf(name = root + i) == -1) break; } check_ws_name(name); @@ -27643,7 +27772,6 @@ function write_csv_stream(sheet/*:Worksheet*/, opts/*:?Sheet2CSVOpts*/) { var r = safe_decode_range(sheet["!ref"]); var FS = o.FS !== undefined ? o.FS : ",", fs = FS.charCodeAt(0); var RS = o.RS !== undefined ? o.RS : "\n", rs = RS.charCodeAt(0); - var endregex = new RegExp((FS=="|" ? "\\|" : FS)+"+$"); var row/*:?string*/ = "", cols/*:Array<string>*/ = []; var colinfo/*:Array<ColInfo>*/ = o.skipHidden && sheet["!cols"] || []; var rowinfo/*:Array<RowInfo>*/ = o.skipHidden && sheet["!rows"] || []; @@ -27657,7 +27785,6 @@ function write_csv_stream(sheet/*:Worksheet*/, opts/*:?Sheet2CSVOpts*/) { if ((rowinfo[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,""); if(row || (o.blankrows !== false)) return stream.push((w++ ? RS : "") + row); } }