sheetjs/xlsx.core.min.js

16 lines
420 KiB
JavaScript
Raw Normal View History

2016-12-31 08:11:36 +00:00
/* xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
2017-08-05 06:58:40 +00:00
var DO_NOT_EXPORT_CODEPAGE=true;var DO_NOT_EXPORT_JSZIP=true;(function(e){if("object"==typeof exports&&"undefined"!=typeof module&&"undefined"==typeof DO_NOT_EXPORT_JSZIP)module.exports=e();else if("function"==typeof define&&define.amd){JSZip=e();define([],e)}else{var r;"undefined"!=typeof window?r=window:"undefined"!=typeof global?r=global:"undefined"!=typeof $&&$.global?r=$.global:"undefined"!=typeof self&&(r=self),r.JSZip=e()}})(function(){var e,r,t;return function a(e,r,t){function n(s,f){if(!r[s]){if(!e[s]){var o=typeof require=="function"&&require;if(!f&&o)return o(s,!0);if(i)return i(s,!0);throw new Error("Cannot find module '"+s+"'")}var l=r[s]={exports:{}};e[s][0].call(l.exports,function(r){var t=e[s][1][r];return n(t?t:r)},l,l.exports,a,e,r,t)}return r[s].exports}var i=typeof require=="function"&&require;for(var s=0;s<t.length;s++)n(t[s]);return n}({1:[function(e,r,t){"use strict";var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";t.encode=function(e,r){var t="";var n,i,s,f,o,l,c;var u=0;while(u<e.length){n=e.charCodeAt(u++);i=e.charCodeAt(u++);s=e.charCodeAt(u++);f=n>>2;o=(n&3)<<4|i>>4;l=(i&15)<<2|s>>6;c=s&63;if(isNaN(i)){l=c=64}else if(isNaN(s)){c=64}t=t+a.charAt(f)+a.charAt(o)+a.charAt(l)+a.charAt(c)}return t};t.decode=function(e,r){var t="";var n,i,s;var f,o,l,c;var u=0;e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(u<e.length){f=a.indexOf(e.charAt(u++));o=a.indexOf(e.charAt(u++));l=a.indexOf(e.charAt(u++));c=a.indexOf(e.charAt(u++));n=f<<2|o>>4;i=(o&15)<<4|l>>2;s=(l&3)<<6|c;t=t+String.fromCharCode(n);if(l!=64){t=t+String.fromCharCode(i)}if(c!=64){t=t+String.fromCharCode(s)}}return t}},{}],2:[function(e,r,t){"use strict";function a(){this.compressedSize=0;this.uncompressedSize=0;this.crc32=0;this.compressionMethod=null;this.compressedContent=null}a.prototype={getContent:function(){return null},getCompressedContent:function(){return null}};r.exports=a},{}],3:[function(e,r,t){"use strict";t.STORE={magic:"\0\0",compress:function(e){return e},uncompress:function(e){return e},compressInputType:null,uncompressInputType:null};t.DEFLATE=e("./flate")},{"./flate":8}],4:[function(e,r,t){"use strict";var a=e("./utils");var n=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628
}return null}};r.exports=f},{"./compressedObject":2,"./object":13,"./stringReader":15,"./utils":21}],24:[function(e,r,t){"use strict";var a=e("./lib/utils/common").assign;var n=e("./lib/deflate");var i=e("./lib/inflate");var s=e("./lib/zlib/constants");var f={};a(f,n,i,s);r.exports=f},{"./lib/deflate":25,"./lib/inflate":26,"./lib/utils/common":27,"./lib/zlib/constants":30}],25:[function(e,r,t){"use strict";var a=e("./zlib/deflate.js");var n=e("./utils/common");var i=e("./utils/strings");var s=e("./zlib/messages");var f=e("./zlib/zstream");var o=0;var l=4;var c=0;var u=1;var h=-1;var d=0;var v=8;var p=function(e){this.options=n.assign({level:h,method:v,chunkSize:16384,windowBits:15,memLevel:8,strategy:d,to:""},e||{});var r=this.options;if(r.raw&&r.windowBits>0){r.windowBits=-r.windowBits}else if(r.gzip&&r.windowBits>0&&r.windowBits<16){r.windowBits+=16}this.err=0;this.msg="";this.ended=false;this.chunks=[];this.strm=new f;this.strm.avail_out=0;var t=a.deflateInit2(this.strm,r.level,r.method,r.windowBits,r.memLevel,r.strategy);if(t!==c){throw new Error(s[t])}if(r.header){a.deflateSetHeader(this.strm,r.header)}};p.prototype.push=function(e,r){var t=this.strm;var s=this.options.chunkSize;var f,h;if(this.ended){return false}h=r===~~r?r:r===true?l:o;if(typeof e==="string"){t.input=i.string2buf(e)}else{t.input=e}t.next_in=0;t.avail_in=t.input.length;do{if(t.avail_out===0){t.output=new n.Buf8(s);t.next_out=0;t.avail_out=s}f=a.deflate(t,h);if(f!==u&&f!==c){this.onEnd(f);this.ended=true;return false}if(t.avail_out===0||t.avail_in===0&&h===l){if(this.options.to==="string"){this.onData(i.buf2binstring(n.shrinkBuf(t.output,t.next_out)))}else{this.onData(n.shrinkBuf(t.output,t.next_out))}}}while((t.avail_in>0||t.avail_out===0)&&f!==u);if(h===l){f=a.deflateEnd(this.strm);this.onEnd(f);this.ended=true;return f===c}return true};p.prototype.onData=function(e){this.chunks.push(e)};p.prototype.onEnd=function(e){if(e===c){if(this.options.to==="string"){this.result=this.chunks.join("")}else{this.result=n.flattenChunks(this.chunks)}}this.chunks=[];this.err=e;this.msg=this.strm.msg};function b(e,r){var t=new p(r);t.push(e,true);if(t.err){throw t.msg}return t.result}function m(e,r){r=r||{};r.raw=true;return b(e,r)}function g(e,r){r=r||{};r.gzip=true;return b(e,r)}t.Deflate=p;t.deflate=b;t.deflateRaw=m;t.gzip=g},{"./utils/common":27,"./utils/strings":28,"./zlib/deflate.js":32,"./zlib/messages":37,"./zlib/zstream":39}],26:[function(e,r,t){"use strict";var a=e("./zlib/inflate.js");var n=e("./utils/common");var i=e("./utils/strings");var s=e("./zlib/constants");var f=e("./zlib/messages");var o=e("./zlib/zstream");var l=e("./zlib/gzheader");var c=function(e){this.options=n.assign({chunkSize:16384,windowBits:0,to:""},e||{});var r=this.options;if(r.raw&&r.windowBits>=0&&r.windowBits<16){r.windowBits=-r.windowBits;if(r.windowBits===0){r.windowBits=-15}}if(r.windowBits>=0&&r.windowBits<16&&!(e&&e.windowBits)){r.windowBits+=32}if(r.windowBits>15&&r.windowBits<48){if((r.windowBits&15)===0){r.windowBits|=15}}this.err=0;this.msg="";this.ended=false;this.chunks=[];this.strm=new o;this.strm.avail_out=0;var t=a.inflateInit2(this.strm,r.windowBits);if(t!==s.Z_OK){throw new Error(f[t])}this.header=new l;a.inflateGetHeader(this.strm,this.header)};c.prototype.push=function(e,r){var t=this.strm;var f=this.options.chunkSize;var o,l;var c,u,h;if(this.ended){return false}l=r===~~r?r:r===true?s.Z_FINISH:s.Z_NO_FLUSH;if(typeof e==="string"){t.input=i.binstring2buf(e)}else{t.input=e}t.next_in=0;t.avail_in=t.input.length;do{if(t.avail_out===0){t.output=new n.Buf8(f);t.next_out=0;t.avail_out=f}o=a.inflate(t,s.Z_NO_FLUSH);if(o!==s.Z_STREAM_END&&o!==s.Z_OK){this.onEnd(o);this.ended=true;return false}if(t.next_out){if(t.avail_out===0||o===s.Z_STREAM_END||t.avail_in===0&&l===s.Z_FINISH){if(this.options.to==="string"){c=i.utf8border(t.output,t.next_out);u=t.next_out-c;h=i.buf2string(t.output,c);t.next_out=u;t.avail_out=f-u;if(u){n.arraySet(t.output,t.output,c,u,0)}this.onData(h)}else{this.onData(n.shrinkBuf(t.output,t.next_out))}}}}while(t.avail_in>0&&o!==s.Z_STREAM_END);if(o==
2017-08-10 23:55:45 +00:00
fe>>>=oe&7;oe-=oe&7;while(oe<32){if(ie===0){break e}ie--;fe+=ee[te++]<<oe;oe+=8}if((fe&65535)!==(fe>>>16^65535)){e.msg="invalid stored block lengths";t.mode=Q;break}t.length=fe&65535;fe=0;oe=0;t.mode=N;if(r===d){break e};case N:t.mode=L;case L:ue=t.length;if(ue){if(ue>ie){ue=ie}if(ue>se){ue=se}if(ue===0){break e}a.arraySet(re,ee,te,ue,ae);ie-=ue;te+=ue;se-=ue;ae+=ue;t.length-=ue;break}t.mode=O;break;case M:while(oe<14){if(ie===0){break e}ie--;fe+=ee[te++]<<oe;oe+=8}t.nlen=(fe&31)+257;fe>>>=5;oe-=5;t.ndist=(fe&31)+1;fe>>>=5;oe-=5;t.ncode=(fe&15)+4;fe>>>=4;oe-=4;if(t.nlen>286||t.ndist>30){e.msg="too many length or distance symbols";t.mode=Q;break}t.have=0;t.mode=U;case U:while(t.have<t.ncode){while(oe<3){if(ie===0){break e}ie--;fe+=ee[te++]<<oe;oe+=8}t.lens[Ie[t.have++]]=fe&7;fe>>>=3;oe-=3}while(t.have<19){t.lens[Ie[t.have++]]=0}t.lencode=t.lendyn;t.lenbits=7;Te={bits:t.lenbits};Ce=f(o,t.lens,0,19,t.lencode,0,t.work,Te);t.lenbits=Te.bits;if(Ce){e.msg="invalid code lengths set";t.mode=Q;break}t.have=0;t.mode=H;case H:while(t.have<t.nlen+t.ndist){for(;;){be=t.lencode[fe&(1<<t.lenbits)-1];me=be>>>24;ge=be>>>16&255;Ee=be&65535;if(me<=oe){break}if(ie===0){break e}ie--;fe+=ee[te++]<<oe;oe+=8}if(Ee<16){fe>>>=me;oe-=me;t.lens[t.have++]=Ee}else{if(Ee===16){xe=me+2;while(oe<xe){if(ie===0){break e}ie--;fe+=ee[te++]<<oe;oe+=8}fe>>>=me;oe-=me;if(t.have===0){e.msg="invalid bit length repeat";t.mode=Q;break}Be=t.lens[t.have-1];ue=3+(fe&3);fe>>>=2;oe-=2}else if(Ee===17){xe=me+3;while(oe<xe){if(ie===0){break e}ie--;fe+=ee[te++]<<oe;oe+=8}fe>>>=me;oe-=me;Be=0;ue=3+(fe&7);fe>>>=3;oe-=3}else{xe=me+7;while(oe<xe){if(ie===0){break e}ie--;fe+=ee[te++]<<oe;oe+=8}fe>>>=me;oe-=me;Be=0;ue=11+(fe&127);fe>>>=7;oe-=7}if(t.have+ue>t.nlen+t.ndist){e.msg="invalid bit length repeat";t.mode=Q;break}while(ue--){t.lens[t.have++]=Be}}}if(t.mode===Q){break}if(t.lens[256]===0){e.msg="invalid code -- missing end-of-block";t.mode=Q;break}t.lenbits=9;Te={bits:t.lenbits};Ce=f(l,t.lens,0,t.nlen,t.lencode,0,t.work,Te);t.lenbits=Te.bits;if(Ce){e.msg="invalid literal/lengths set";t.mode=Q;break}t.distbits=6;t.distcode=t.distdyn;Te={bits:t.distbits};Ce=f(c,t.lens,t.nlen,t.ndist,t.distcode,0,t.work,Te);t.distbits=Te.bits;if(Ce){e.msg="invalid distances set";t.mode=Q;break}t.mode=W;if(r===d){break e};case W:t.mode=V;case V:if(ie>=6&&se>=258){e.next_out=ae;e.avail_out=se;e.next_in=te;e.avail_in=ie;t.hold=fe;t.bits=oe;s(e,ce);ae=e.next_out;re=e.output;se=e.avail_out;te=e.next_in;ee=e.input;ie=e.avail_in;fe=t.hold;oe=t.bits;if(t.mode===O){t.back=-1}break}t.back=0;for(;;){be=t.lencode[fe&(1<<t.lenbits)-1];me=be>>>24;ge=be>>>16&255;Ee=be&65535;if(me<=oe){break}if(ie===0){break e}ie--;fe+=ee[te++]<<oe;oe+=8}if(ge&&(ge&240)===0){ke=me;Se=ge;we=Ee;for(;;){be=t.lencode[we+((fe&(1<<ke+Se)-1)>>ke)];me=be>>>24;ge=be>>>16&255;Ee=be&65535;if(ke+me<=oe){break}if(ie===0){break e}ie--;fe+=ee[te++]<<oe;oe+=8}fe>>>=ke;oe-=ke;t.back+=ke}fe>>>=me;oe-=me;t.back+=me;t.length=Ee;if(ge===0){t.mode=K;break}if(ge&32){t.back=-1;t.mode=O;break}if(ge&64){e.msg="invalid literal/length code";t.mode=Q;break}t.extra=ge&15;t.mode=z;case z:if(t.extra){xe=t.extra;while(oe<xe){if(ie===0){break e}ie--;fe+=ee[te++]<<oe;oe+=8}t.length+=fe&(1<<t.extra)-1;fe>>>=t.extra;oe-=t.extra;t.back+=t.extra}t.was=t.length;t.mode=X;case X:for(;;){be=t.distcode[fe&(1<<t.distbits)-1];me=be>>>24;ge=be>>>16&255;Ee=be&65535;if(me<=oe){break}if(ie===0){break e}ie--;fe+=ee[te++]<<oe;oe+=8}if((ge&240)===0){ke=me;Se=ge;we=Ee;for(;;){be=t.distcode[we+((fe&(1<<ke+Se)-1)>>ke)];me=be>>>24;ge=be>>>16&255;Ee=be&65535;if(ke+me<=oe){break}if(ie===0){break e}ie--;fe+=ee[te++]<<oe;oe+=8}fe>>>=ke;oe-=ke;t.back+=ke}fe>>>=me;oe-=me;t.back+=me;if(ge&64){e.msg="invalid distance code";t.mode=Q;break}t.offset=Ee;t.extra=ge&15;t.mode=G;case G:if(t.extra){xe=t.extra;while(oe<xe){if(ie===0){break e}ie--;fe+=ee[te++]<<oe;oe+=8}t.offset+=fe&(1<<t.extra)-1;fe>>>=t.extra;oe-=t.extra;t.back+=t.extra}if(t.offset>t.dmax){e.msg="invalid distance too far back";t.mode=Q;break}t.mode=j;case j:if(se===0){break e}ue=ce-se;if(t.offset>ue){ue=t.offset-ue;if(ue>t.whave)
return m(s.substr(0,s.length-l.length))+l}if(u=s.match(/^([#0]+)\.([#0]+)$/)){l=""+f.toFixed(Math.min(u[2].length,10)).replace(/([^0])0+$/,"$1");g=l.indexOf(".");var A=s.indexOf(".")-g,y=s.length-l.length-A;return m(s.substr(0,A)+l+s.substr(s.length-y))}if(u=s.match(/^00,000\.([#0]*0)$/)){return f<0?"-"+I(e,s,-f):T(""+f).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(e){return"00,"+(e.length<3?a(0,3-e.length):"")+e})+"."+a(0,u[1].length)}switch(s){case"###,###":;case"##,###":;case"#,###":var R=T(""+k);return R!=="0"?S+R:"";default:if(s.match(/\.[0#?]*$/))return I(e,s.slice(0,s.lastIndexOf(".")),f)+m(s.slice(s.lastIndexOf(".")));}throw new Error("unsupported format |"+s+"|")}return function A(e,r,t){return(t|0)===t?I(e,r,t):w(e,r,t)}}();function I(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}e._split=I;var A=/\[[HhMmSs]*\]/;function y(e){var r=0,t="",a="";while(r<e.length){switch(t=e.charAt(r)){case"G":if(c(e,r))r+=6;r++;break;case'"':for(;e.charCodeAt(++r)!==34&&r<e.length;)++r;++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":if(e.substr(r,3).toUpperCase()==="A/P")return true;if(e.substr(r,5).toUpperCase()==="AM/PM")return true;++r;break;case"[":a=t;while(e.charAt(r++)!=="]"&&r<e.length)a+=e.charAt(r);if(a.match(A))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}e.is_date=y;function R(e,r,t,a){var n=[],i="",s=0,f="",o="t",l,u,h;var d="H";while(s<e.length){switch(f=e.charAt(s)){case"G":if(!c(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 v=e.charAt(++s),p=v==="("||v===")"?v:"t";n[n.length]={t:p,v:v};++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(l==null){l=b(r,t,e.charAt(s+1)==="2");if(l==null)return""}n[n.length]={t:"X",v:e.substr(s,2)};o=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(l==null){l=b(r,t);if(l==null)return""}i=f;while(++s<e.length&&e.charAt(s).toLowerCase()===f)i+=f;if(f==="m"&&o.toLowerCase()==="h")f="M";if(f==="h")f=d;n[n.length]={t:f,v:i};o=f;break;case"A":;case"a":var m={t:f,v:f};if(l==null)l=b(r,t);if(e.substr(s,3).toUpperCase()==="A/P"){if(l!=null)m.v=l.H>=12?"P":"A";m.t="T";d="h";s+=3}else if(e.substr(s,5).toUpperCase()==="AM/PM"){if(l!=null)m.v=l.H>=12?"PM":"AM";m.t="T";s+=5;d="h"}else{m.t="t";++s}if(l==null&&m.t==="T")return"";n[n.length]=m;o=f;break;case"[":i=f;while(e.charAt(s++)!=="]"&&s<e.length)i+=e.charAt(s);if(i.slice(-1)!=="]")throw'unterminated "[" block: |'+i+"|";if(i.match(A)){if(l==null){l=b(r,t);if(l==null)return""}n[n.length]={t:"Z",v:i.toLowerCase()};o=i.charAt(1)}else if(i.indexOf("$")>-1){i=(i.match(/\$([^-\[\]]*)/)||[])[1]||"$";if(!y(e))n[n.length]={t:"t",v:i}}break;case".":if(l!=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||f=="\\"&&e.charAt(s+
}else if(t==="sbcs"){for(n=0;n!=r.length;++n)this[this.l+n]=r.charCodeAt(n)&255;a=r.length}else switch(e){case 1:a=1;this[this.l]=r&255;break;case 2:a=2;this[this.l]=r&255;r>>>=8;this[this.l+1]=r&255;break;case 3:a=3;this[this.l]=r&255;r>>>=8;this[this.l+1]=r&255;r>>>=8;this[this.l+2]=r&255;break;case 4:a=4;gr(this,r,this.l);break;case 8:a=8;if(t==="f"){ze(this,r,this.l);break};case 16:break;case-4:a=4;Er(this,r,this.l);break;}this.l+=a;return this}function Sr(e,r){var t=Ye(this,this.l,e.length>>1);if(t!==e)throw r+"Expected "+e+" saw "+t;this.l+=e.length>>1}function wr(e,r){e.l=r;e.read_shift=br;e.chk=Sr;e.write_shift=kr}function Br(e,r){e.l+=r}function Cr(e,r){if(typeof console!="undefined")console.log(e.slice(e.l,e.l+r));e.l+=r}function _r(e,r){e.l+=r}function Tr(e){var r=v(e);wr(r,0);return r}function xr(e,r,t){if(!e)return;var a,n,i;wr(e,e.l||0);var s=e.length,f=0,o=0;while(e.l<s){f=e.read_shift(1);if(f&128)f=(f&127)+((e.read_shift(1)&127)<<7);var l=xE[f]||xE[65535];a=e.read_shift(1);i=a&127;for(n=1;n<4&&a&128;++n)i+=((a=e.read_shift(1))&127)<<7*n;o=e.l+i;var c=l.f(e,i,t);e.l=o;if(r(c,l.n,f))return}}function Ir(){var e=[],r=2048;var t=function o(e){var r=Tr(e);wr(r,0);return r};var a=t(r);var n=function l(){if(!a)return;if(a.length>a.l)a=a.slice(0,a.l);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 Xe([e])};var f=function h(e){n();a=e;i(r)};return{next:i,push:f,end:s,_bufs:e}}function Ar(e,r,t,a){var n=Number(IE[r]),i;if(isNaN(n))return;if(!a)a=xE[n].p||(t||[]).length||0;i=1+(n>=128?1:0)+1+a;if(a>=128)++i;if(a>=16384)++i;if(a>=2097152)++i;var s=e.next(i);if(n<=127)s.write_shift(1,n);else{s.write_shift(1,(n&127)+128);s.write_shift(1,n>>7)}for(var f=0;f!=4;++f){if(a>=128){s.write_shift(1,(a&127)+128);a>>=7}else{s.write_shift(1,a);break}}if(a>0&&or(t))e.push(t)}function yr(e,r,t){var a=z(e);if(r.s){if(a.cRel)a.c+=r.s.c;if(a.rRel)a.r+=r.s.r}else{a.c+=r.c;a.r+=r.r}if(!t||t.biff<12){while(a.c>=256)a.c-=256;while(a.r>=65536)a.r-=65536}return a}function Rr(e,r,t){var a=z(e);a.s=yr(a.s,r.s,t);a.e=yr(a.e,r.s,t);return a}function Dr(e){var r=jr(e);if(e.cRel===0)r=Vr(r);if(e.rRel===0)r=Mr(r);return r}function Or(e,r){if(e.s.r==0&&!e.s.rRel){if(e.e.r==(r.biff>=12?1048575:65535)&&!e.e.rRel){return(e.s.cRel?"":"$")+Wr(e.s.c)+":"+(e.e.cRel?"":"$")+Wr(e.e.c)}}if(e.s.c==0&&!e.s.cRel){if(e.e.c==(r.biff>=12?65535:255)&&!e.e.cRel){return(e.s.rRel?"":"$")+Lr(e.s.r)+":"+(e.e.rRel?"":"$")+Lr(e.e.r)}}return Dr(e.s)+":"+Dr(e.e)}var Fr={};var Pr=function(e,r){var t;if(typeof r!=="undefined")t=r;else if(typeof require!=="undefined"){try{t=undefined}catch(a){t=null}}e.rc4=function(e,r){var t=new Array(256);var a=0,n=0,i=0,s=0;for(n=0;n!=256;++n)t[n]=n;for(n=0;n!=256;++n){i=i+t[n]+e[n%e.length].charCodeAt(0)&255;s=t[n];t[n]=t[i];t[i]=s}n=i=0;var f=Buffer(r.length);for(a=0;a!=r.length;++a){n=n+1&255;i=(i+t[n])%256;s=t[n];t[n]=t[i];t[i]=s;f[a]=r[a]^t[t[n]+t[i]&255]}return f};e.md5=function(e){if(!t)throw new Error("Unsupported crypto");return t.createHash("md5").update(e).digest("hex")}};Pr(Fr,typeof crypto!=="undefined"?crypto:undefined);function Nr(e){return parseInt(Ur(e),10)-1}function Lr(e){return""+(e+1)}function Mr(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}function Ur(e){return e.replace(/\$(\d+)$/,"$1")}function Hr(e){var r=zr(e),t=0,a=0;for(;a!==r.length;++a)t=26*t+r.charCodeAt(a)-64;return t-1}function Wr(e){var r="";for(++e;e;e=Math.floor((e-1)/26))r=String.fromCharCode((e-1)%26+65)+r;return r}function Vr(e){return e.replace(/^([A-Z])/,"$$$1")}function zr(e){return e.replace(/^\$([A-Z])/,"$1")}function Xr(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function Gr(e){var r=Xr(e);return{c:Hr(r[0]),r:Nr(r[1])}}function jr(e){return Wr(e.c)+Lr(e.r)}function Kr(e){return Vr(Mr(e))}function Yr(e){return zr(Ur(e))}function $r(e){var r=e.split(":").map(Gr);return{s:r[0],e:r[r.length-1]}}function Zr(e,r){if(typeof r==="undefined"||typeof r==="number"){return Zr(e.s,e.e)}if(typeof e!=="string")e=jr(e);if(typeof r!=="string")r=jr
return Xa(e,r,0)}function Ka(e){var r=e.read_shift(4);var t=[];for(var a=0;a!=r;++a)t[a]=e.read_shift(0,"lpstr");return t}function Ya(e){return Ka(e)}function $a(e){var r=tn(e,jt);var t=tn(e,Nt);return[r,t]}function Za(e){var r=e.read_shift(4);var t=[];for(var a=0;a!=r/2;++a)t.push($a(e));return t}function Qa(e){return Za(e)}function Ja(e,r){var t=e.read_shift(4);var a={};for(var n=0;n!=t;++n){var i=e.read_shift(4);var s=e.read_shift(4);a[i]=e.read_shift(s,r===1200?"utf16le":"utf8").replace(m,"").replace(g,"!")}if(e.l&3)e.l=e.l>>2+1<<2;return a}function qa(e){var r=e.read_shift(4);var t=e.slice(e.l,e.l+r);if((r&3)>0)e.l+=4-(r&3)&3;return t}function en(e){var r={};r.Size=e.read_shift(4);e.l+=r.Size;return r}function rn(e,r){}function tn(e,r,t){var a=e.read_shift(2),n,i=t||{};e.l+=2;if(r!==Mt)if(a!==r&&Kt.indexOf(r)===-1)throw new Error("Expected type "+r+" saw "+a);switch(r===Mt?a:r){case 2:n=e.read_shift(2,"i");if(!i.raw)e.l+=2;return n;case 3:n=e.read_shift(4,"i");return n;case 11:return e.read_shift(4)!==0;case 19:n=e.read_shift(4);return n;case 30:return Va(e,a,4).replace(m,"");case 31:return za(e);case 64:return Wa(e);case 65:return qa(e);case 71:return en(e);case 80:return Ga(e,a,!i.raw).replace(m,"");case 81:return ja(e,a).replace(m,"");case 4108:return Qa(e);case 4126:return Ya(e);default:throw new Error("TypedPropertyValue unrecognized type "+r+" "+a);}}function an(e,r){var t=e.l;var a=e.read_shift(4);var i=e.read_shift(4);var s=[],f=0;var o=0;var l=-1,c={};for(f=0;f!=i;++f){var u=e.read_shift(4);var h=e.read_shift(4);s[f]=[u,h+t]}var d={};for(f=0;f!=i;++f){if(e.l!==s[f][1]){var v=true;if(f>0&&r)switch(r[s[f-1][0]].t){case 2:if(e.l+2===s[f][1]){e.l+=2;v=false}break;case 80:if(e.l<=s[f][1]){e.l=s[f][1];v=false}break;case 4108:if(e.l<=s[f][1]){e.l=s[f][1];v=false}break;}if(!r&&e.l<=s[f][1]){v=false;e.l=s[f][1]}if(v)throw new Error("Read Error: Expected address "+s[f][1]+" at "+e.l+" :"+f)}if(r){var p=r[s[f][0]];d[p.n]=tn(e,p.t,{raw:true});if(p.p==="version")d[p.n]=String(d[p.n]>>16)+"."+String(d[p.n]&65535);if(p.n=="CodePage")switch(d[p.n]){case 0:d[p.n]=1252;case 874:;case 932:;case 936:;case 949:;case 950:;case 1250:;case 1251:;case 1253:;case 1254:;case 1255:;case 1256:;case 1257:;case 1258:;case 1e4:;case 1200:;case 1201:;case 1252:;case 65e3:;case-536:;case 65001:;case-535:n(o=d[p.n]);break;default:throw new Error("Unsupported CodePage: "+d[p.n]);}}else{if(s[f][0]===1){o=d.CodePage=tn(e,Pt);n(o);if(l!==-1){var b=e.l;e.l=s[l][1];c=Ja(e,o);e.l=b}}else if(s[f][0]===0){if(o===0){l=f;e.l=s[f+1][1];continue}c=Ja(e,o)}else{var m=c[s[f][0]];var g;switch(e[e.l]){case 65:e.l+=4;g=qa(e);break;case 30:e.l+=4;g=Ga(e,e[e.l-4]);break;case 31:e.l+=4;g=Ga(e,e[e.l-4]);break;case 3:e.l+=4;g=e.read_shift(4,"i");break;case 19:e.l+=4;g=e.read_shift(4);break;case 5:e.l+=4;g=e.read_shift(8,"f");break;case 11:e.l+=4;g=on(e,4);break;case 64:e.l+=4;g=H(Wa(e));break;default:throw new Error("unparsed value: "+e[e.l]);}d[m]=g}}}e.l=t+a;return d}function nn(e,r){var t=e.content;wr(t,0);var a,n,i,s,f=0;t.chk("feff","Byte Order: ");var o=t.read_shift(2);var l=t.read_shift(4);t.chk(T.utils.consts.HEADER_CLSID,"CLSID: ");a=t.read_shift(4);if(a!==1&&a!==2)throw new Error("Unrecognized #Sets: "+a);n=t.read_shift(16);s=t.read_shift(4);if(a===1&&s!==t.l)throw new Error("Length mismatch: "+s+" !== "+t.l);else if(a===2){i=t.read_shift(16);f=t.read_shift(4)}var c=an(t,r);var u={SystemIdentifier:l};for(var h in c)u[h]=c[h];u.FMTID=n;if(a===1)return u;if(t.l!==f)throw new Error("Length mismatch 2: "+t.l+" !== "+f);var d;try{d=an(t,null)}catch(v){}for(h in d)u[h]=d[h];u.FMTID=[n,i];return u}function sn(e,r){e.read_shift(r);return null}function fn(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 on(e,r){return e.read_shift(r)===1}function ln(e){return e.read_shift(2,"u")}function cn(e,r){return fn(e,r,ln)}var un=on;function hn(e){var r=e.read_shift(1),t=e.read_shift(1);return t===1?r:r===1}function dn(e,r,a){var n=e.read_shift(a&&a.biff>=12?2:1);var i=1,s="sbcs-cont";var f=t;if(a&&a.biff>=
if(!n||n.v==null){f.push(" ");continue}var c=(n.w||(qr(n),n.w)||"").substr(0,10);while(c.length<10)c+=" ";f.push(c+(o==0?" ":""))}t.push(f.join(""))}return t.join("\n")}return{to_workbook:i,to_sheet:n,from_sheet:s}}();function Uu(e,r){var t=r||{},a=!!t.WTF;t.WTF=true;try{var n=Nu.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 Mu.to_workbook(e,r)}}var Hu=function(){function e(e,r,t){if(!e)return;wr(e,e.l||0);var a=t.Enum||S;while(e.l<e.length){var n=e.read_shift(2);var i=a[n]||a[255];var s=e.read_shift(2);var f=e.l+s;var o=i.f(e,s,t);e.l=f;if(r(o,i.n,n))return}}function r(e,r){switch(r.type){case"base64":return t(p(h.decode(e)),r);case"binary":return t(p(e),r);case"buffer":;case"array":return t(e,r);}throw"Unsupported type "+r.type}function t(r,t){if(!r)return r;var a=t||{};if(c!=null&&a.dense==null)a.dense=c;var n=a.dense?[]:{},i="Sheet1",s=0;var f={},o=[i];var l={s:{r:0,c:0},e:{r:0,c:0}};if(r[2]==2)a.Enum=S;else if(r[2]==26)a.Enum=w;else if(r[2]==14){a.Enum=w;a.qpro=true;r.l=0}else throw new Error("Unrecognized LOTUS BOF "+r[2]);e(r,function(e,t,c){if(r[2]==2)switch(c){case 0:a.vers=e;if(e>=4096)a.qpro=true;break;case 6:l=e;break;case 15:if(!a.qpro)e[1].v=e[1].v.substr(1);case 13:;case 14:;case 16:;case 51:if(c==14&&(e[2]&112)==112&&(e[2]&15)>1&&(e[2]&15)<15){e[1].z=a.dateNF||E._table[14];if(a.cellDates){e[1].t="d";e[1].v=N(e[1].v)}}if(a.dense){if(!n[e[0].r])n[e[0].r]=[];n[e[0].r][e[0].c]=e[1]}else n[jr(e[0])]=e[1];break;}else switch(c){case 22:e[1].v=e[1].v.substr(1);case 23:;case 24:;case 25:;case 37:;case 39:;case 40:if(e[3]>s){n["!ref"]=Zr(l);f[i]=n;n=a.dense?[]:{};l={s:{r:0,c:0},e:{r:0,c:0}};s=e[3];i="Sheet"+(s+1);o.push(i)}n[jr(e[0])]=e[1];if(l.e.c<e[0].c)l.e.c=e[0].c;if(l.e.r<e[0].r)l.e.r=e[0].r;break;default:break;}},a);n["!ref"]=Zr(l);f[i]=n;return{SheetNames:o,Sheets:f}}function a(e,r){var t={s:{c:0,r:0},e:{c:0,r:0}};t.s.c=e.read_shift(2);t.s.r=e.read_shift(2);t.e.c=e.read_shift(2);t.e.r=e.read_shift(2);if(t.s.c==65535)t.s.c=t.e.c=t.s.r=t.e.r=0;return t}function n(e,r,t){var a=[{c:0,r:0},{t:"n",v:0},0];if(t.qpro&&t.vers!=20768){a[0].c=e.read_shift(1);e.l++;a[0].r=e.read_shift(2);e.l+=2}else{a[2]=e.read_shift(1);a[0].c=e.read_shift(2);a[0].r=e.read_shift(2)}return a}function i(e,r,t){var a=e.l+r;var i=n(e,r,t);i[1].t="s";if(t.vers==20768){e.l++;var s=e.read_shift(1);i[1].v=e.read_shift(s,"utf8");return i}if(t.qpro)e.l++;i[1].v=e.read_shift(a-e.l,"cstr");return i}function s(e,r,t){var a=n(e,r,t);a[1].v=e.read_shift(2,"i");return a}function f(e,r,t){var a=n(e,r,t);a[1].v=e.read_shift(8,"f");return a}function o(e,r,t){var a=e.l+r;var i=n(e,r,t);i[1].v=e.read_shift(8,"f");if(t.qpro)e.l=a;else{var s=e.read_shift(2);e.l+=s}return i}function l(e,r){var t=[{c:0,r:0},{t:"n",v:0},0];t[0].r=e.read_shift(2);t[3]=e[e.l++];t[0].c=e[e.l++];return t}function u(e,r){var t=l(e,r);t[1].t="s";t[1].v=e.read_shift(r-4,"cstr");return t}function d(e,r){var t=l(e,r);t[1].v=e.read_shift(2);var a=t[1].v>>1;if(t[1].v&1){switch(a&7){case 1:a=(a>>3)*500;break;case 2:a=(a>>3)/20;break;case 4:a=(a>>3)/2e3;break;case 6:a=(a>>3)/16;break;case 7:a=(a>>3)/64;break;default:throw"unknown NUMBER_18 encoding "+(a&7);}}t[1].v=a;return t}function v(e,r){var t=l(e,r);var a=e.read_shift(4);var n=e.read_shift(4);var i=e.read_shift(2);if(i==65535){t[1].v=0;return t}var s=i&32768;i=(i&32767)-16446;t[1].v=(i>0?n<<i:n>>>-i)+(i>-32?a<<i+32:a>>>-(i+32));return t}function b(e,r){var t=v(e,14);e.l+=r-14;return t}function m(e,r){var t=l(e,r);var a=e.read_shift(4);t[1].v=a>>6;return t}function g(e,r){var t=l(e,r);var a=e.read_shift(8,"f");t[1].v=a;return t}function k(e,r){var t=g(e,14);e.l+=r-10;return t}var S={0:{n:"BOF",f:ln},1:{n:"EOF",f:Br},2:{n:"CALCMODE",f:Br},3:{n:"CALCORDER",f:Br},4:{n:"SPLIT",f:Br},5:{n:"SYNC",f:Br},6:{n:"RANGE",f:a},7:{n:"WINDOW1",f:Br},8:{n:"COLW1",f:Br},9:{n:"WINTWO",f:Br},10:{n:"COLW2",f:Br},11:{n:"NAME",f:Br},12:{n:"BLANK",f:Br},13:{n:"INTEGER",f:s},14:{n:"NUMBER",f:f},15:{n:"LABEL",f:i},16:{n:"FORMULA",f:o},24:{n:"TABLE",f:Br},25:{n:"ORANGE",f:Br},26:{n:"PRANGE
if(n[0].charAt(1)==="/"){r.themeElements.clrScheme.push(a);a={}}else{a.name=n[0].substring(3,n[0].length-1)}break;default:if(t&&t.WTF)throw new Error("Unrecognized "+n[0]+" in clrScheme");}})}function Ld(e,r,t){}function Md(e,r,t){}var Ud=/<a:clrScheme([^>]*)>[\s\S]*<\/a:clrScheme>/;var Hd=/<a:fontScheme([^>]*)>[\s\S]*<\/a:fontScheme>/;var Wd=/<a:fmtScheme([^>]*)>[\s\S]*<\/a:fmtScheme>/;function Vd(e,r,t){r.themeElements={};var a;[["clrScheme",Ud,Nd],["fontScheme",Hd,Ld],["fmtScheme",Wd,Md]].forEach(function(n){if(!(a=e.match(n[1])))throw new Error(n[0]+" not found in themeElements");n[2](a,r,t)})}var zd=/<a:themeElements([^>]*)>[\s\S]*<\/a:themeElements>/;function Xd(e,r){if(!e||e.length===0)return Xd(Gd());var t;var a={};if(!(t=e.match(zd)))throw new Error("themeElements not found in theme");Vd(t[0],a,r);return a}function Gd(e,r){if(r&&r.themeXLSX)return r.themeXLSX;var t=[Ue];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=" 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=" Pゴシ<EFBFBD><EFBFBD>
s.push(ob(o[1],i,D,a,n));F=true;break}if(!F)s.push(E[1])}break;case"PtgArray":s.push("{"+ab(E[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":;case"PtgAttrSpaceSemi":p=m;break;case"PtgTbl":break;case"PtgMemErr":break;case"PtgMissArg":s.push("");break;case"PtgAreaErr":s.push("#REF!");break;case"PtgAreaErr3d":s.push("#REF!");break;case"PtgMemFunc":break;default:throw new Error("Unrecognized Formula Token: "+String(E));}var P=["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"];if(p>=0&&P.indexOf(e[0][m][0])==-1){E=e[0][p];var N=true;switch(E[1][0]){case 4:N=false;case 0:b=X(" ",E[1][1]);break;case 5:N=false;case 1:b=X("\r",E[1][1]);break;default:b="";if(n.WTF)throw new Error("Unexpected PtgAttrSpaceType "+E[1][0]);}s.push((N?b:"")+s.pop()+(N?"":b));p=-1}}if(s.length>1&&n.WTF)throw new Error("bad formula stack");return s[0]}function lb(e,r,t){var a=e.l+r;var n=e.read_shift(4);var i=tb(e,n,t);var s=e.read_shift(4);var f=s>0?Qp(e,s,i,t):null;return[i,f]}var cb=lb;var ub=lb;var hb=lb;var db=lb;var vb={1:"REFERENCE",2:"VALUE",3:"ARRAY"};var pb={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:"S
var d=n.length;n[n.length]="";if(o["!drawing"].length>0){h=va(a,-1,"../drawings/drawing"+(e+1)+".xml",la.DRAW);n[n.length]=Ne("drawing",null,{"r:id":"rId"+h})}else delete o["!drawing"];if(o["!comments"].length>0){h=va(a,-1,"../drawings/vmlDrawing"+(e+1)+".vml",la.VML);n[n.length]=Ne("legacyDrawing",null,{"r:id":"rId"+h});o["!legacy"]=h}if(n.length>2){n[n.length]="</worksheet>";n[1]=n[1].replace("/>",">")}return n.join("")}function qb(e,r){var t={};var a=e.l+r;t.r=e.read_shift(4);e.l+=4;var n=e.read_shift(2);e.l+=1;var i=e.read_shift(1);e.l=a;if(i&7)t.level=i&7;if(i&16)t.hidden=true;if(i&32)t.hpt=n/20;return t}function em(e,r,t){var a=Tr(17+8*16);var n=(t["!rows"]||[])[e]||{};a.write_shift(4,e);a.write_shift(4,0);var i=320;if(n.hpx)i=Yh(n.hpx)*20;else if(n.hpt)i=n.hpt*20;a.write_shift(2,i);a.write_shift(1,0);var s=0;if(n.level)s|=n.level;if(n.hidden)s|=16;if(n.hpx||n.hpt)s|=32;a.write_shift(1,s);a.write_shift(1,0);var f=0,o=a.l;a.l+=4;var l={r:e,c:0};for(var c=0;c<16;++c){if(r.s.c>c+1<<10||r.e.c<c<<10)continue;var u=-1,h=-1;for(var d=c<<10;d<c+1<<10;++d){l.c=d;var v=Array.isArray(t)?(t[l.r]||[])[l.c]:t[jr(l)];if(v){if(u<0)u=d;h=d}}if(u<0)continue;++f;a.write_shift(4,u);a.write_shift(4,h)}var p=a.l;a.l=o;a.write_shift(4,f);a.l=p;return a.length>a.l?a.slice(0,a.l):a}function rm(e,r,t,a){var n=em(a,t,r);if(n.length>17||(r["!rows"]||[])[a])Ar(e,"BrtRowHdr",n)}var tm=_t;var am=Tt;function nm(e,r){}function im(e,r){var t={};e.l+=19;t.name=dt(e,r-19);return t}function sm(e,r){if(r==null)r=Tr(84+4*e.length);for(var t=0;t<3;++t)r.write_shift(1,0);Dt({auto:1},r);r.write_shift(-4,-1);r.write_shift(-4,-1);vt(e,r);return r.slice(0,r.l)}function fm(e,r){var t=ut(e);return[t]}function om(e,r,t){if(t==null)t=Tr(8);return ht(r,t)}function lm(e,r){var t=ut(e);var a=e.read_shift(1);return[t,a,"b"]}function cm(e,r,t){if(t==null)t=Tr(9);ht(r,t);t.write_shift(1,e.v?1:0);return t}function um(e,r){var t=ut(e);var a=e.read_shift(1);return[t,a,"e"]}function hm(e,r){var t=ut(e);var a=e.read_shift(4);return[t,a,"s"]}function dm(e,r,t){if(t==null)t=Tr(12);ht(r,t);t.write_shift(4,r.v);return t}function vm(e,r){var t=ut(e);var a=xt(e);return[t,a,"n"]}function pm(e,r,t){if(t==null)t=Tr(16);ht(r,t);It(e.v,t);return t}function bm(e,r){var t=ut(e);var a=St(e);return[t,a,"n"]}function mm(e,r,t){if(t==null)t=Tr(12);ht(r,t);wt(e.v,t);return t}function gm(e,r){var t=ut(e);var a=at(e);return[t,a,"str"]}function Em(e,r,t){if(t==null)t=Tr(12+4*e.v.length);ht(r,t);nt(e.v,t);return t.length>t.l?t.slice(0,t.l):t}function km(e,r,t){var a=e.l+r;var n=ut(e);n.r=t["!row"];var i=e.read_shift(1);var s=[n,i,"b"];if(t.cellFormula){e.l+=2;var f=ub(e,a-e.l,t);s[3]=ob(f,null,n,t.supbooks,t)}else e.l=a;return s}function Sm(e,r,t){var a=e.l+r;var n=ut(e);n.r=t["!row"];var i=e.read_shift(1);var s=[n,i,"e"];if(t.cellFormula){e.l+=2;var f=ub(e,a-e.l,t);s[3]=ob(f,null,n,t.supbooks,t)}else e.l=a;return s}function wm(e,r,t){var a=e.l+r;var n=ut(e);n.r=t["!row"];var i=xt(e);var s=[n,i,"n"];if(t.cellFormula){e.l+=2;var f=ub(e,a-e.l,t);s[3]=ob(f,null,n,t.supbooks,t)}else e.l=a;return s}function Bm(e,r,t){var a=e.l+r;var n=ut(e);n.r=t["!row"];var i=at(e);var s=[n,i,"str"];if(t.cellFormula){e.l+=2;var f=ub(e,a-e.l,t);s[3]=ob(f,null,n,t.supbooks,t)}else e.l=a;return s}var Cm=_t;var _m=Tt;function Tm(e,r){if(r==null)r=Tr(4);r.write_shift(4,e);return r}function xm(e,r,t){var a=e.l+r;var n=_t(e,16);var i=pt(e);var s=at(e);var f=at(e);var o=at(e);e.l=a;return{rfx:n,relId:i,loc:s,Tooltip:f,display:o}}function Im(e,r,t){if(t==null)t=Tr(50+4*e[1].Target.length);Tt({s:Gr(e[0]),e:Gr(e[0])},t);kt("rId"+r,t);var a=e[1].Target.indexOf("#");var n=a==-1?"":e[1].Target.substr(a+1);nt(n||"",t);nt(e[1].Tooltip||"",t);nt("",t);return t.slice(0,t.l)}function Am(e,r,t){var a=e.l+r;var n=Bt(e,16);var i=e.read_shift(1);var s=[n];s[2]=i;if(t.cellFormula){var f=cb(e,a-e.l,t);s[1]=f}else e.l=a;return s}function ym(e,r,t){var a=e.l+r;var n=_t(e,16);var i=[n];if(t.cellFormula){var s=db(e,a-e.l,t);i[1]=s;e.l=a}else e.l=a;return i}function Rm(e,r,t){if(t==null)t=Tr(18);var a=_b(e,r);t.write_shift(-4,e);t.write_shift(-
}if(U.Width)U.wpx=parseInt(U.Width,10);if(!H&&U.wpx>10){H=true;Nh=Oh;for(var J=0;J<M.length;++J)if(M[J])Gh(M[J])}if(H)Gh(U);M[U.Index-1||M.length]=U;for(var q=0;q<+U.Span;++q)M[M.length]=z(U);break;case"NamedRange":if(!G.Names)G.Names=[];var ee=ce(f[0]);var re={Name:ee.Name,Ref:Bv(ee.RefersTo.substr(1))};if(G.Sheets.length>0)re.Sheet=G.Sheets.length-1;G.Names.push(re);break;case"NamedCell":break;case"B":break;case"I":break;case"U":break;case"S":break;case"Sub":break;case"Sup":break;case"Span":break;case"Border":break;case"Alignment":break;case"Borders":break;case"Font":if(f[0].slice(-2)==="/>")break;else if(f[1]==="/")A+=a.slice(y,f.index);else y=f.index+f[0].length;break;case"Interior":if(!t.cellStyles)break;I.Interior=Qg(f[0]);break;case"Protection":break;case"Author":;case"Title":;case"Description":;case"Created":;case"Keywords":;case"Subject":;case"Category":;case"Company":;case"LastAuthor":;case"LastSaved":;case"LastPrinted":;case"Version":;case"Revision":;case"TotalTime":;case"HyperlinkBase":;case"Manager":;case"ContentStatus":;case"Identifier":;case"Language":if(f[0].slice(-2)==="/>")break;else if(f[1]==="/")Ma(D,f[3],a.slice(F,f.index));else F=f.index+f[0].length;break;case"Paragraphs":break;case"Styles":;case"Workbook":if(f[1]==="/"){if((u=l.pop())[0]!==f[3])throw new Error("Bad state: "+u.join("|"))}else l.push([f[3],false]);break;case"Comment":if(f[1]==="/"){if((u=l.pop())[0]!==f[3])throw new Error("Bad state: "+u.join("|"));nE(L);N.push(L)}else{l.push([f[3],false]);u=Qg(f[0]);L={a:u.Author}}break;case"AutoFilter":if(f[1]==="/"){if((u=l.pop())[0]!==f[3])throw new Error("Bad state: "+u.join("|"))}else if(f[0].charAt(f[0].length-2)!=="/"){var te=Qg(f[0]);v["!autofilter"]={ref:Bv(te.Range).replace(/\$/g,"")};l.push([f[3],true])}break;case"Name":break;case"ComponentOptions":;case"DocumentProperties":;case"CustomDocumentProperties":;case"OfficeDocumentSettings":;case"PivotTable":;case"PivotCache":;case"Names":;case"MapInfo":;case"PageBreaks":;case"QueryTable":;case"DataValidation":;case"Sorting":;case"Schema":;case"data":;case"ConditionalFormatting":;case"SmartTagType":;case"SmartTags":;case"ExcelWorkbook":;case"WorkbookOptions":;case"WorksheetOptions":if(f[1]==="/"){if((u=l.pop())[0]!==f[3])throw new Error("Bad state: "+u.join("|"))}else if(f[0].charAt(f[0].length-2)!=="/")l.push([f[3],true]);break;default:if(l.length==0&&f[3]=="document")return GE(a,t);if(l.length==0&&f[3]=="UOF")return GE(a,t);var ae=true;switch(l[l.length-1][0]){case"OfficeDocumentSettings":switch(f[3]){case"AllowPNG":break;case"RemovePersonalInformation":break;case"DownloadComponents":break;case"LocationOfComponents":break;case"Colors":break;case"Color":break;case"Index":break;case"RGB":break;case"PixelsPerInch":break;case"TargetScreenSize":break;case"ReadOnlyRecommended":break;default:ae=false;}break;case"ComponentOptions":switch(f[3]){case"Toolbar":break;case"HideOfficeLogo":break;case"SpreadsheetAutoFit":break;case"Label":break;case"Caption":break;case"MaxHeight":break;case"MaxWidth":break;case"NextSheetNumber":break;default:ae=false;}break;case"ExcelWorkbook":switch(f[3]){case"Date1904":G.WBProps.date1904=true;break;case"WindowHeight":break;case"WindowWidth":break;case"WindowTopX":break;case"WindowTopY":break;case"TabRatio":break;case"ProtectStructure":break;case"ProtectWindows":break;case"ActiveSheet":break;case"DisplayInkNotes":break;case"FirstVisibleSheet":break;case"SupBook":break;case"SheetName":break;case"SheetIndex":break;case"SheetIndexFirst":break;case"SheetIndexLast":break;case"Dll":break;case"AcceptLabelsInFormulas":break;case"DoNotSaveLinkValues":break;case"Iteration":break;case"MaxIterations":break;case"MaxChange":break;case"Path":break;case"Xct":break;case"Count":break;case"SelectedSheets":break;case"Calculation":break;case"Uncalced":break;case"StartupPrompt":break;case"Crn":break;case"ExternName":break;case"Formula":break;case"ColFirst":break;case"ColLast":break;case"WantAdvise":break;case"Boolean":break;case"Error":break;case"Text":break;case"OLE":break;case"NoAutoRecover":break;case"PublishObjects":break;case"DoNotCalcula
var c={};for(var u in e.Summary)c[u]=e.Summary[u];for(u in e.DocSummary)c[u]=e.DocSummary[u];o.Props=o.Custprops=c;if(r.bookFiles)o.cfb=e;return o}var xE={0:{n:"BrtRowHdr",f:qb},1:{n:"BrtCellBlank",f:fm},2:{n:"BrtCellRk",f:bm},3:{n:"BrtCellError",f:um},4:{n:"BrtCellBool",f:lm},5:{n:"BrtCellReal",f:vm},6:{n:"BrtCellSt",f:gm},7:{n:"BrtCellIsst",f:hm},8:{n:"BrtFmlaString",f:Bm},9:{n:"BrtFmlaNum",f:wm},10:{n:"BrtFmlaBool",f:km},11:{n:"BrtFmlaError",f:Sm},16:{n:"BrtFRTArchID$",f:wg},19:{n:"BrtSSTItem",f:ft},20:{n:"BrtPCDIMissing",f:Br},21:{n:"BrtPCDINumber",f:Br},22:{n:"BrtPCDIBoolean",f:Br},23:{n:"BrtPCDIError",f:Br},24:{n:"BrtPCDIString",f:Br},25:{n:"BrtPCDIDatetime",f:Br},26:{n:"BrtPCDIIndex",f:Br},27:{n:"BrtPCDIAMissing",f:Br},28:{n:"BrtPCDIANumber",f:Br},29:{n:"BrtPCDIABoolean",f:Br},30:{n:"BrtPCDIAError",f:Br},31:{n:"BrtPCDIAString",f:Br},32:{n:"BrtPCDIADatetime",f:Br},33:{n:"BrtPCRRecord",f:Br},34:{n:"BrtPCRRecordDt",f:Br},35:{n:"BrtFRTBegin",f:Br},36:{n:"BrtFRTEnd",f:Br},37:{n:"BrtACBegin",f:Br},38:{n:"BrtACEnd",f:Br},39:{n:"BrtName",f:Bg},40:{n:"BrtIndexRowBlock",f:Br},42:{n:"BrtIndexBlock",f:Br},43:{n:"BrtFont",f:ud},44:{n:"BrtFmt",f:ld},45:{n:"BrtFill",f:pd},46:{n:"BrtBorder",f:kd},47:{n:"BrtXF",f:md},48:{n:"BrtStyle",f:Br},49:{n:"BrtCellMeta",f:Br},50:{n:"BrtValueMeta",f:Br},51:{n:"BrtMdb",f:Br},52:{n:"BrtBeginFmd",f:Br},53:{n:"BrtEndFmd",f:Br},54:{n:"BrtBeginMdx",f:Br},55:{n:"BrtEndMdx",f:Br},56:{n:"BrtBeginMdxTuple",f:Br},57:{n:"BrtEndMdxTuple",f:Br},58:{n:"BrtMdxMbrIstr",f:Br},59:{n:"BrtStr",f:Br},60:{n:"BrtColInfo",f:Vi},62:{n:"BrtCellRString",f:Br},63:{n:"BrtCalcChainItem$",f:tv},64:{n:"BrtDVal",f:Br},65:{n:"BrtSxvcellNum",f:Br},66:{n:"BrtSxvcellStr",f:Br},67:{n:"BrtSxvcellBool",f:Br},68:{n:"BrtSxvcellErr",f:Br},69:{n:"BrtSxvcellDate",f:Br},70:{n:"BrtSxvcellNil",f:Br},128:{n:"BrtFileVersion",f:Br},129:{n:"BrtBeginSheet",f:Br},130:{n:"BrtEndSheet",f:Br},131:{n:"BrtBeginBook",f:Br,p:0},132:{n:"BrtEndBook",f:Br},133:{n:"BrtBeginWsViews",f:Br},134:{n:"BrtEndWsViews",f:Br},135:{n:"BrtBeginBookViews",f:Br},136:{n:"BrtEndBookViews",f:Br},137:{n:"BrtBeginWsView",f:Br},138:{n:"BrtEndWsView",f:Br},139:{n:"BrtBeginCsViews",f:Br},140:{n:"BrtEndCsViews",f:Br},141:{n:"BrtBeginCsView",f:Br},142:{n:"BrtEndCsView",f:Br},143:{n:"BrtBeginBundleShs",f:Br},144:{n:"BrtEndBundleShs",f:Br},145:{n:"BrtBeginSheetData",f:Br},146:{n:"BrtEndSheetData",f:Br},147:{n:"BrtWsProp",f:im},148:{n:"BrtWsDim",f:tm,p:16},151:{n:"BrtPane",f:Br},152:{n:"BrtSel",f:Br},153:{n:"BrtWbProp",f:kg},154:{n:"BrtWbFactoid",f:Br},155:{n:"BrtFileRecover",f:Br},156:{n:"BrtBundleSh",f:gg},157:{n:"BrtCalcProp",f:Br},158:{n:"BrtBookView",f:Br},159:{n:"BrtBeginSst",f:qu},160:{n:"BrtEndSst",f:Br},161:{n:"BrtBeginAFilter",f:_t},162:{n:"BrtEndAFilter",f:Br},163:{n:"BrtBeginFilterColumn",f:Br},164:{n:"BrtEndFilterColumn",f:Br},165:{n:"BrtBeginFilters",f:Br},166:{n:"BrtEndFilters",f:Br},167:{n:"BrtFilter",f:Br},168:{n:"BrtColorFilter",f:Br},169:{n:"BrtIconFilter",f:Br},170:{n:"BrtTop10Filter",f:Br},171:{n:"BrtDynamicFilter",f:Br},172:{n:"BrtBeginCustomFilters",f:Br},173:{n:"BrtEndCustomFilters",f:Br},174:{n:"BrtCustomFilter",f:Br},175:{n:"BrtAFilterDateGroupItem",f:Br},176:{n:"BrtMergeCell",f:Cm},177:{n:"BrtBeginMergeCells",f:Br},178:{n:"BrtEndMergeCells",f:Br},179:{n:"BrtBeginPivotCacheDef",f:Br},180:{n:"BrtEndPivotCacheDef",f:Br},181:{n:"BrtBeginPCDFields",f:Br},182:{n:"BrtEndPCDFields",f:Br},183:{n:"BrtBeginPCDField",f:Br},184:{n:"BrtEndPCDField",f:Br},185:{n:"BrtBeginPCDSource",f:Br},186:{n:"BrtEndPCDSource",f:Br},187:{n:"BrtBeginPCDSRange",f:Br},188:{n:"BrtEndPCDSRange",f:Br},189:{n:"BrtBeginPCDFAtbl",f:Br},190:{n:"BrtEndPCDFAtbl",f:Br},191:{n:"BrtBeginPCDIRun",f:Br},192:{n:"BrtEndPCDIRun",f:Br},193:{n:"BrtBeginPivotCacheRecords",f:Br},194:{n:"BrtEndPivotCacheRecords",f:Br},195:{n:"BrtBeginPCDHierarchies",f:Br},196:{n:"BrtEndPCDHierarchies",f:Br},197:{n:"BrtBeginPCDHierarchy",f:Br},198:{n:"BrtEndPCDHierarchy",f:Br},199:{n:"BrtBeginPCDHFieldsUsage",f:Br},200:{n:"BrtEndPCDHFieldsUsage",f:Br},201:{n:"BrtBeginExtConnection",f:Br},202:{n:"BrtEndExtConnection",f:Br},203:{
f:Il},2147:{n:"BookExt",f:Al,r:12},2148:{n:"SXAddl",f:yl},2149:{n:"CrErr",f:Rl},2150:{n:"HFPicture",f:Dl},2151:{n:"FeatHdr",f:ds},2152:{n:"Feat",f:Ol},2154:{n:"DataLabExt",f:Fl},2155:{n:"DataLabExtContents",f:Pl},2156:{n:"CellWatch",f:Nl},2161:{n:"FeatHdr11",f:Ll},2162:{n:"Feature11",f:Ml},2164:{n:"DropDownObjIds",f:Ul},2165:{n:"ContinueFrt11",f:Hl},2166:{n:"DConn",f:Wl},2167:{n:"List12",f:Vl},2168:{n:"Feature12",f:zl},2169:{n:"CondFmt12",f:Xl},2170:{n:"CF12",f:Gl},2171:{n:"CFEx",f:jl},2172:{n:"XFCRC",f:Wi,r:12},2173:{n:"XFExt",f:Jd,r:12},2174:{n:"AutoFilter12",f:Kl},2175:{n:"ContinueFrt12",f:Yl},2180:{n:"MDTInfo",f:$l},2181:{n:"MDXStr",f:Zl},2182:{n:"MDXTuple",f:Ql},2183:{n:"MDXSet",f:Jl},2184:{n:"MDXProp",f:ql},2185:{n:"MDXKPI",f:ec},2186:{n:"MDB",f:rc},2187:{n:"PLV",f:tc},2188:{n:"Compat12",f:ss,r:12},2189:{n:"DXF",f:ac},2190:{n:"TableStyles",f:nc,r:12},2191:{n:"TableStyle",f:ic},2192:{n:"TableStyleElement",f:sc},2194:{n:"StyleExt",f:ji},2195:{n:"NamePublish",f:fc},2196:{n:"NameCmt",f:_i,r:12},2197:{n:"SortData",f:oc},2198:{n:"Theme",f:jd,r:12},2199:{n:"GUIDTypeLib",f:lc},2200:{n:"FnGrp12",f:cc},2201:{n:"NameFnGrp12",f:uc},2202:{n:"MTRSettings",f:Ii,r:12},2203:{n:"CompressPictures",f:Qn},2204:{n:"HeaderFooter",f:hc},2205:{n:"CrtLayout12",f:dc},2206:{n:"CrtMlFrt",f:vc},2207:{n:"CrtMlFrtContinue",f:pc},2211:{n:"ForceFullCalculation",f:Zn},2212:{n:"ShapePropsStream",f:bc},2213:{n:"TextPropsStream",f:mc},2214:{n:"RichTextStream",f:gc},2215:{n:"CrtLayout12A",f:Ec},4097:{n:"Units",f:kc},4098:{n:"Chart",f:Sc},4099:{n:"Series",f:wc},4102:{n:"DataFormat",f:Bc},4103:{n:"LineFormat",f:Cc},4105:{n:"MarkerFormat",f:_c},4106:{n:"AreaFormat",f:Tc},4107:{n:"PieFormat",f:xc},4108:{n:"AttachedLabel",f:Ic},4109:{n:"SeriesText",f:Ac},4116:{n:"ChartFormat",f:yc},4117:{n:"Legend",f:Rc},4118:{n:"SeriesList",f:Dc},4119:{n:"Bar",f:Oc},4120:{n:"Line",f:Fc},4121:{n:"Pie",f:Pc},4122:{n:"Area",f:Nc},4123:{n:"Scatter",f:Lc},4124:{n:"CrtLine",f:Mc},4125:{n:"Axis",f:Uc},4126:{n:"Tick",f:Hc},4127:{n:"ValueRange",f:Wc},4128:{n:"CatSerRange",f:Vc},4129:{n:"AxisLine",f:zc},4130:{n:"CrtLink",f:Xc},4132:{n:"DefaultText",f:Gc},4133:{n:"Text",f:jc},4134:{n:"FontX",f:vs},4135:{n:"ObjectLink",f:Kc},4146:{n:"Frame",f:Yc},4147:{n:"Begin",f:$c},4148:{n:"End",f:Zc},4149:{n:"PlotArea",f:Qc},4154:{n:"Chart3d",f:Jc},4156:{n:"PicF",f:qc},4157:{n:"DropBar",f:eu},4158:{n:"Radar",f:ru},4159:{n:"Surf",f:tu},4160:{n:"RadarArea",f:au},4161:{n:"AxisParent",f:nu},4163:{n:"LegendException",f:iu},4164:{n:"ShtProps",f:Xi},4165:{n:"SerToCrt",f:su},4166:{n:"AxesUsed",f:fu},4168:{n:"SBaseRef",f:ou},4170:{n:"SerParent",f:lu},4171:{n:"SerAuxTrend",f:cu},4174:{n:"IFmtRecord",f:uu},4175:{n:"Pos",f:hu},4176:{n:"AlRuns",f:du},4177:{n:"BRAI",f:vu},4187:{n:"SerAuxErrBar",f:pu},4188:{n:"ClrtClient",f:Ui},4189:{n:"SerFmt",f:bu},4191:{n:"Chart3DBarShape",f:mu},4192:{n:"Fbi",f:gu},4193:{n:"BopPop",f:Eu},4194:{n:"AxcExt",f:ku},4195:{n:"Dat",f:Su},4196:{n:"PlotGrowth",f:wu},4197:{n:"SIIndex",f:Bu},4198:{n:"GelFrame",f:Cu},4199:{n:"BopPopCustom",f:_u},4200:{n:"Fbi2",f:Tu},0:{n:"Dimensions",f:si},2:{n:"BIFF2INT",f:Ru},5:{n:"BoolErr",f:pi},7:{n:"String",f:Du},8:{n:"BIFF2ROW",f:Br},11:{n:"Index",f:Zo},22:{n:"ExternCount",f:Ci},30:{n:"BIFF2FORMAT",f:ii},31:{n:"BIFF2FMTCNT",f:Br},32:{n:"BIFF2COLINFO",f:Br},33:{n:"Array",f:xi},37:{n:"DefaultRowHeight",f:qn},50:{n:"BIFF2FONTXTRA",f:Ou},62:{n:"BIFF2WINDOW2",f:Br},69:{n:"BIFF2FONTCLR",f:Br},86:{n:"BIFF4FMTCNT",f:Br},126:{n:"RK",f:Br},127:{n:"ImData",f:xu},135:{n:"Addin",f:Br},136:{n:"Edg",f:Br},137:{n:"Pub",f:Br},145:{n:"Sub",f:Br},148:{n:"LHRecord",f:Br},149:{n:"LHNGraph",f:Br},150:{n:"Sound",f:Br},169:{n:"CoordList",f:Br},171:{n:"GCW",f:Br},188:{n:"ShrFmla",f:Br},194:{n:"AddMenu",f:Br},195:{n:"DelMenu",f:Br},214:{n:"RString",f:Fu},223:{n:"UDDesc",f:Br},234:{n:"TabIdConf",f:Br},354:{n:"XL5Modify",f:Br},421:{n:"FileSharing2",f:Br},521:{n:"BOF",f:zn},536:{n:"Lbl",f:Si},547:{n:"ExternName",f:Ei},561:{n:"Font",f:Br},1033:{n:"BOF",f:zn},2157:{n:"FeatInfo",f:Br},2163:{n:"FeatInfo11",f:Br},2177:{n:"SXAddl12",f:Br},2240:{n:"AutoWebPub",f:Br},2241:{n:"ListObj",
}if(r.Strings!=null&&r.Strings.length>0){s="xl/sharedStrings."+t;i.file(s,jg(r.Strings,s,r));n.strs.push(s);va(r.wbrels,-1,"sharedStrings."+t,la.SST)}s="xl/theme/theme1.xml";i.file(s,Gd(e.Themes,r));n.themes.push(s);va(r.wbrels,-1,"theme/theme1.xml",la.THEME);s="xl/styles."+t;i.file(s,Gg(e,s,r));n.styles.push(s);va(r.wbrels,-1,"styles."+t,la.STY);if(e.vbaraw&&a){s="xl/vbaProject.bin";i.file(s,e.vbaraw);n.vba.push(s);va(r.wbrels,-1,"vbaProject.bin",la.VBA)}i.file("[Content_Types].xml",oa(n,r));i.file("_rels/.rels",da(r.rels));i.file("xl/_rels/workbook."+t+".rels",da(r.wbrels));delete r.revssf;delete r.ssf;return i}function dk(e,r){var t="";switch((r||{}).type||"base64"){case"buffer":return[e[0],e[1],e[2],e[3]];case"base64":t=h.decode(e.substr(0,24));break;case"binary":t=e;break;case"array":return[e[0],e[1],e[2],e[3]];default:throw new Error("Unrecognized type "+(r&&r.type||"undefined"));}return[t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3)]}function vk(e,r){if(T.find(e,"EncryptedPackage"))return uk(e,r);return TE(e,r)}function pk(e,r){var t,a=e;var n=r||{};if(!n.type)n.type=d&&Buffer.isBuffer(e)?"buffer":"base64";switch(n.type){case"base64":t=new ae(a,{base64:true});break;case"binary":;case"array":t=new ae(a,{base64:false});break;case"buffer":t=new ae(a);break;default:throw new Error("Unrecognized type "+n.type);}return ck(t,n)}function bk(e,r){var t=0;e:while(t<e.length)switch(e.charCodeAt(t)){case 10:;case 13:;case 32:++t;break;case 60:return lE(e.slice(t),r);default:break e;}return Mu.to_workbook(e,r)}function mk(e,r){var t="",a=dk(e,r);switch(r.type){case"base64":t=h.decode(e);break;case"binary":t=e;break;case"buffer":t=e.toString("binary");break;case"array":t=W(e);break;default:throw new Error("Unrecognized type "+r.type);}if(a[0]==239&&a[1]==187&&a[2]==191)t=Ce(t);return bk(t,r)}function gk(e,r){var t=e;if(r.type=="base64")t=h.decode(t);t=cptable.utils.decode(1200,t.slice(2),"str");r.type="binary";return bk(t,r)}function Ek(e,r){var t,a=e,n=[0];var i=r||{};Bb={};if(i.dateNF)Bb.dateNF=i.dateNF;if(!i.type)i.type=d&&Buffer.isBuffer(e)?"buffer":"base64";if(i.type=="file"){i.type="buffer";a=te.readFileSync(e)}switch((n=dk(a,i))[0]){case 208:return vk(T.read(a,i),i);case 9:return TE(p(i.type==="base64"?h.decode(a):a),i);case 60:return lE(a,i);case 73:if(n[1]==68)return Uu(a,i);break;case 84:if(n[1]==65&&n[2]==66&&n[3]==76)return Lu.to_workbook(a,i);break;case 80:if(n[1]==75&&n[2]<32&&n[3]<32)return pk(a,i);break;case 239:return n[3]==60?lE(a,i):Mu.to_workbook(a,i);case 255:if(n[1]==254){return gk(a,i)}break;case 0:if(n[1]==0&&n[2]>=2&&n[3]==0)return Hu.to_workbook(a,i);break;case 3:;case 131:;case 139:return Pu.to_workbook(a,i);case 123:if(n[1]==92&&n[2]==114&&n[3]==116)return xh.to_workbook(a,i);break;case 10:;case 13:;case 32:return mk(a,i);}if(n[2]<=12&&n[3]<=31)return Pu.to_workbook(a,i);if(32>n[0]||n[0]>127)throw new Error("Unsupported file "+n.join("|"));return Mu.to_workbook(a,i)}function kk(e,r){var t=r||{};t.type="file";return Ek(e,t)}function Sk(e,r){var t=r||{};var a=hk(e,t);var n={};if(t.compression)n.compression="DEFLATE";switch(t.type){case"base64":n.type="base64";break;case"binary":n.type="string";break;case"buffer":;case"file":n.type="nodebuffer";break;default:throw new Error("Unrecognized type "+t.type);}if(t.type==="file")return te.writeFileSync(t.file,a.generate(n));return a.generate(n)}function wk(e,r){switch(r.type){case"base64":return h.encode(e);case"binary":return e;case"file":return te.writeFileSync(r.file,e,"binary");case"buffer":{if(d)return new Buffer(e,"binary");else return e.split("").map(function(e){return e.charCodeAt(0)})};}throw new Error("Unrecognized type "+r.type)}function Bk(e,r){switch(r.type){case"base64":return h.encode(e);case"binary":return e;case"file":return te.writeFileSync(r.file,e,"utf8");case"buffer":{if(d)return new Buffer(e,"utf8");else return e.split("").map(function(e){return e.charCodeAt(0)})};}throw new Error("Unrecognized type "+r.type)}function Ck(e,r){switch(r.type){case"base64":;case"binary":var t="";for(var a=0;a<e.length;++a)t+=String.fromChar