xsheetjs/xlsx.core.min.js

16 lines
418 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-01 05:51:08 +00:00
(function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd){JSZip=e();define([],e)}else{var r;"undefined"!=typeof window?r=window:"undefined"!=typeof global?r=global:"undefined"!=typeof $&&$.global?r=$.global:"undefined"!=typeof self&&(r=self),r.JSZip=e()}})(function(){var e,r,t;return function a(e,r,t){function n(s,f){if(!r[s]){if(!e[s]){var o=typeof require=="function"&&require;if(!f&&o)return o(s,!0);if(i)return i(s,!0);throw new Error("Cannot find module '"+s+"'")}var l=r[s]={exports:{}};e[s][0].call(l.exports,function(r){var t=e[s][1][r];return n(t?t:r)},l,l.exports,a,e,r,t)}return r[s].exports}var i=typeof require=="function"&&require;for(var s=0;s<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,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,155526195
"./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 m(e,r){var t=new p(r);t.push(e,true);if(t.err){throw t.msg}return t.result}function b(e,r){r=r||{};r.raw=true;return m(e,r)}function g(e,r){r=r||{};r.gzip=true;return m(e,r)}t.Deflate=p;t.deflate=m;t.deflateRaw=b;t.gzip=g},{"./utils/common":27,"./utils/strings":28,"./zlib/deflate.js":32,"./zlib/messages":37,"./zlib/zstream":39}],26:[function(e,r,t){"use strict";var a=e("./zlib/inflate.js");var n=e("./utils/common");var i=e("./utils/strings");var s=e("./zlib/constants");var f=e("./zlib/messages");var o=e("./zlib/zstream");var l=e("./zlib/gzheader");var c=function(e){this.options=n.assign({chunkSize:16384,windowBits:0,to:""},e||{});var r=this.options;if(r.raw&&r.windowBits>=0&&r.windowBits<16){r.windowBits=-r.windowBits;if(r.windowBits===0){r.windowBits=-15}}if(r.windowBits>=0&&r.windowBits<16&&!(e&&e.windowBits)){r.windowBits+=32}if(r.windowBits>15&&r.windowBits<48){if((r.windowBits&15)===0){r.windowBits|=15}}this.err=0;this.msg="";this.ended=false;this.chunks=[];this.strm=new o;this.strm.avail_out=0;var t=a.inflateInit2(this.strm,r.windowBits);if(t!==s.Z_OK){throw new Error(f[t])}this.header=new l;a.inflateGetHeader(this.strm,this.header)};c.prototype.push=function(e,r){var t=this.strm;var f=this.options.chunkSize;var o,l;var c,u,h;if(this.ended){return false}l=r===~~r?r:r===true?s.Z_FINISH:s.Z_NO_FLUSH;if(typeof e==="string"){t.input=i.binstring2buf(e)}else{t.input=e}t.next_in=0;t.avail_in=t.input.length;do{if(t.avail_out===0){t.output=new n.Buf8(f);t.next_out=0;t.avail_out=f}o=a.inflate(t,s.Z_NO_FLUSH);if(o!==s.Z_STREAM_END&&o!==s.Z_OK){this.onEnd(o);this.ended=true;return false}if(t.next_out){if(t.avail_out===0||o===s.Z_STREAM_END||t.avail_in===0&&l===s.Z_FINISH){if(this.options.to==="string"){c=i.utf8border(t.output,t.next_out);u=t.next_out-c;h=i.buf2string(t.output,c);t.next_out=u;t.avail_out=f-u;if(u){n.arraySet(t.output,t.output,c,u,0)}this.onData(h)}else{this.onData(n.shrinkBuf(t.output,t.next_out))}}}}while(t.avail_in>0&&o!==s.Z_STREAM_END);if(o===s.Z_STREAM_END){l=s.Z_FINISH}if(l===s.Z_FINISH){o=a.inflateEnd(this.strm);this.onEnd(
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(;;){me=t.lencode[fe&(1<<t.lenbits)-1];be=me>>>24;ge=me>>>16&255;Ee=me&65535;if(be<=oe){break}if(ie===0){break e}ie--;fe+=ee[te++]<<oe;oe+=8}if(Ee<16){fe>>>=be;oe-=be;t.lens[t.have++]=Ee}else{if(Ee===16){xe=be+2;while(oe<xe){if(ie===0){break e}ie--;fe+=ee[te++]<<oe;oe+=8}fe>>>=be;oe-=be;if(t.have===0){e.msg="invalid bit length repeat";t.mode=Q;break}Be=t.lens[t.have-1];ue=3+(fe&3);fe>>>=2;oe-=2}else if(Ee===17){xe=be+3;while(oe<xe){if(ie===0){break e}ie--;fe+=ee[te++]<<oe;oe+=8}fe>>>=be;oe-=be;Be=0;ue=3+(fe&7);fe>>>=3;oe-=3}else{xe=be+7;while(oe<xe){if(ie===0){break e}ie--;fe+=ee[te++]<<oe;oe+=8}fe>>>=be;oe-=be;Be=0;ue=11+(fe&127);fe>>>=7;oe-=7}if(t.have+ue>t.nlen+t.ndist){e.msg="invalid bit length repeat";t.mode=Q;break}while(ue--){t.lens[t.have++]=Be}}}if(t.mode===Q){break}if(t.lens[256]===0){e.msg="invalid code -- missing end-of-block";t.mode=Q;break}t.lenbits=9;Te={bits:t.lenbits};Ce=f(l,t.lens,0,t.nlen,t.lencode,0,t.work,Te);t.lenbits=Te.bits;if(Ce){e.msg="invalid literal/lengths set";t.mode=Q;break}t.distbits=6;t.distcode=t.distdyn;Te={bits:t.distbits};Ce=f(c,t.lens,t.nlen,t.ndist,t.distcode,0,t.work,Te);t.distbits=Te.bits;if(Ce){e.msg="invalid distances set";t.mode=Q;break}t.mode=W;if(r===d){break e};case W:t.mode=V;case V:if(ie>=6&&se>=258){e.next_out=ae;e.avail_out=se;e.next_in=te;e.avail_in=ie;t.hold=fe;t.bits=oe;s(e,ce);ae=e.next_out;re=e.output;se=e.avail_out;te=e.next_in;ee=e.input;ie=e.avail_in;fe=t.hold;oe=t.bits;if(t.mode===O){t.back=-1}break}t.back=0;for(;;){me=t.lencode[fe&(1<<t.lenbits)-1];be=me>>>24;ge=me>>>16&255;Ee=me&65535;if(be<=oe){break}if(ie===0){break e}ie--;fe+=ee[te++]<<oe;oe+=8}if(ge&&(ge&240)===0){ke=be;Se=ge;we=Ee;for(;;){me=t.lencode[we+((fe&(1<<ke+Se)-1)>>ke)];be=me>>>24;ge=me>>>16&255;Ee=me&65535;if(ke+be<=oe){break}if(ie===0){break e}ie--;fe+=ee[te++]<<oe;oe+=8}fe>>>=ke;oe-=ke;t.back+=ke}fe>>>=be;oe-=be;t.back+=be;t.length=Ee;if(ge===0){t.mode=K;break}if(ge&32){t.back=-1;t.mode=O;break}if(ge&64){e.msg="invalid literal/length code";t.mode=Q;break}t.extra=ge&15;t.mode=z;case z:if(t.extra){xe=t.extra;while(oe<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(;;){me=t.distcode[fe&(1<<t.distbits)-1];be=me>>>24;ge=me>>>16&255;Ee=me&65535;if(be<=oe){break}if(ie===0){break e}ie--;fe+=ee[te++]<<oe;oe+=8}if((ge&240)===0){ke=be;Se=ge;we=Ee;for(;;){me=t.distcode[we+((fe&(1<<ke+Se)-1)>>ke)];be=me>>>24;ge=me>>>16&255;Ee=me&65535;if(ke+be<=oe){break}if(ie===0){break e}ie--;fe+=ee[te++]<<oe;oe+=8}fe>>>=ke;oe-=ke;t.back+=ke}fe>>>=be;oe-=be;t.back+=be;if(ge&64){e.msg="invalid distance code";t.mode=Q;break}t.offset=Ee;t.extra=ge&15;t.mode=G;case G:if(t.extra){xe=t.extra;while(oe<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){if(t.sane){e.msg="invalid distance too far back";t.mode=Q;break}}if(ue>t.wnext){ue-=t.wnext;he=t.wsize-ue}else{h
g=l.indexOf(".");var A=s.indexOf(".")-g,y=s.length-l.length-A;return b(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)+b(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=m(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=m(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 b={t:f,v:f};if(l==null)l=m(r,t);if(e.substr(s,3).toUpperCase()==="A/P"){if(l!=null)b.v=l.H>=12?"P":"A";b.t="T";d="h";s+=3}else if(e.substr(s,5).toUpperCase()==="AM/PM"){if(l!=null)b.v=l.H>=12?"PM":"AM";b.t="T";s+=5;d="h"}else{b.t="t";++s}if(l==null&&b.t==="T")return"";n[n.length]=b;o=f;break;case"[":i=f;while(e.charAt(s++)!=="]"&&s<e.length)i+=e.charAt(s);if(i.slice(-1)!=="]")throw'unterminated "[" block: |'+i+"|";if(i.match(A)){if(l==null){l=m(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+1)=="-"&&s<e.length-2&&"0#".indexOf(e.charAt(s+2))>-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:
o=e.l+i;var c=l.f(e,i,t);e.l=o;if(r(c,l.n,f))return}}function Cr(){var e=[],r=2048;var t=function o(e){var r=wr(e);gr(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 He([e])};var f=function h(e){n();a=e;i(r)};return{next:i,push:f,end:s,_bufs:e}}function _r(e,r,t,a){var n=Number(gE[r]),i;if(isNaN(n))return;if(!a)a=bE[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&&nr(t))e.push(t)}function Tr(e,r,t){var a=z(e);if(r.s){if(a.cRel)a.c+=r.s.c;if(a.rRel)a.r+=r.s.r}else{a.c+=r.c;a.r+=r.r}if(!t||t.biff<12){while(a.c>=256)a.c-=256;while(a.r>=65536)a.r-=65536}return a}function xr(e,r,t){var a=z(e);a.s=Tr(a.s,r.s,t);a.e=Tr(a.e,r.s,t);return a}function Ir(e){var r=Vr(e);if(e.cRel===0)r=Mr(r);if(e.rRel===0)r=Fr(r);return r}function Ar(e,r){if(e.s.r==0&&!e.s.rRel){if(e.e.r==(r.biff>=12?1048575:65535)&&!e.e.rRel){return(e.s.cRel?"":"$")+Lr(e.s.c)+":"+(e.e.cRel?"":"$")+Lr(e.e.c)}}if(e.s.c==0&&!e.s.cRel){if(e.e.c==(r.biff>=12?65535:255)&&!e.e.cRel){return(e.s.rRel?"":"$")+Or(e.s.r)+":"+(e.e.rRel?"":"$")+Or(e.e.r)}}return Ir(e.s)+":"+Ir(e.e)}var yr={};var Rr=function(e,r){var t;if(typeof r!=="undefined")t=r;else if(typeof require!=="undefined"){try{t=null}catch(a){t=null}}e.rc4=function(e,r){var t=new Array(256);var a=0,n=0,i=0,s=0;for(n=0;n!=256;++n)t[n]=n;for(n=0;n!=256;++n){i=i+t[n]+e[n%e.length].charCodeAt(0)&255;s=t[n];t[n]=t[i];t[i]=s}n=i=0;var f=Buffer(r.length);for(a=0;a!=r.length;++a){n=n+1&255;i=(i+t[n])%256;s=t[n];t[n]=t[i];t[i]=s;f[a]=r[a]^t[t[n]+t[i]&255]}return f};e.md5=function(e){if(!t)throw new Error("Unsupported crypto");return t.createHash("md5").update(e).digest("hex")}};Rr(yr,typeof crypto!=="undefined"?crypto:undefined);function Dr(e){return parseInt(Pr(e),10)-1}function Or(e){return""+(e+1)}function Fr(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}function Pr(e){return e.replace(/\$(\d+)$/,"$1")}function Nr(e){var r=Ur(e),t=0,a=0;for(;a!==r.length;++a)t=26*t+r.charCodeAt(a)-64;return t-1}function Lr(e){var r="";for(++e;e;e=Math.floor((e-1)/26))r=String.fromCharCode((e-1)%26+65)+r;return r}function Mr(e){return e.replace(/^([A-Z])/,"$$$1")}function Ur(e){return e.replace(/^\$([A-Z])/,"$1")}function Hr(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function Wr(e){var r=Hr(e);return{c:Nr(r[0]),r:Dr(r[1])}}function Vr(e){return Lr(e.c)+Or(e.r)}function zr(e){return Mr(Fr(e))}function Xr(e){return Ur(Pr(e))}function Gr(e){var r=e.split(":").map(Wr);return{s:r[0],e:r[r.length-1]}}function jr(e,r){if(typeof r==="undefined"||typeof r==="number"){return jr(e.s,e.e)}if(typeof e!=="string")e=Vr(e);if(typeof r!=="string")r=Vr(r);return e==r?e:e+":"+r}function Kr(e){var r={s:{c:0,r:0},e:{c:0,r:0}};var t=0,a=0,n=0;var i=e.length;for(t=0;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||e.charCodeAt(++a)===58){r.e.c=r.s.c;r.e.r=r.s.r;return r}for(t=0;a!=i;++a){if((n=e.charCodeAt(a)-64)<1||n>26)break;t=26*t+n}r.e.c=--t;for(t=0;a!=i;++a){if((n=e.charCodeAt(a)-48)<0||n>9)break;t=10*t+n}r.e.r=--t;return r}function Yr(e,r){var t=e.t=="d"&&r instanceof Date;if(e.z!=null)try{return e.w=E.format(e.z,t?P(r):r)}catch(a){}try{return e.w=E.format((e.XF||{}).numFmtId||(t?14:0),t?P(r):r)}catch(a){return""+r}}function $r(e,r,t){if(e==null||e.t==null||e.t=="z")return"";if(e.w!==undefined)return e.w;if(e.t=="d"&&!e.z&&t&&t.dateNF)e.z=t.dateNF;if(r==undefined)return Yr(e,e.v);return Yr(e,r)}function Zr(e,r){var t=r&&r.sheet?r.sheet:"Sheet1";var a={};a[t]=e;return{SheetNames:[t],Sheets:a}}function Qr(e,r){var t=r||{};if(c!=null&&t.dense==null)t.dense=c;var a=t.dense?[]:{};var n={s:{c:1e7,r:1e7},e:{c
return Ua(e);case 64:return La(e);case 65:return $a(e);case 71:return Za(e);case 80:return Wa(e,a,!i.raw&&4).replace(b,"");case 81:return Va(e,a).replace(b,"");case 4108:return Ka(e);case 4126:return Xa(e);default:throw new Error("TypedPropertyValue unrecognized type "+r+" "+a);}}function qa(e,r){var t=e.l;var a=e.read_shift(4);var i=e.read_shift(4);var s=[],f=0;var o=0;var l=-1,c={};for(f=0;f!=i;++f){var u=e.read_shift(4);var h=e.read_shift(4);s[f]=[u,h+t]}var d={};for(f=0;f!=i;++f){if(e.l!==s[f][1]){var v=true;if(f>0&&r)switch(r[s[f-1][0]].t){case 2:if(e.l+2===s[f][1]){e.l+=2;v=false}break;case 80:if(e.l<=s[f][1]){e.l=s[f][1];v=false}break;case 4108:if(e.l<=s[f][1]){e.l=s[f][1];v=false}break;}if(!r&&e.l<=s[f][1]){v=false;e.l=s[f][1]}if(v)throw new Error("Read Error: Expected address "+s[f][1]+" at "+e.l+" :"+f)}if(r){var p=r[s[f][0]];d[p.n]=Ja(e,p.t,{raw:true});if(p.p==="version")d[p.n]=String(d[p.n]>>16)+"."+String(d[p.n]&65535);if(p.n=="CodePage")switch(d[p.n]){case 0:d[p.n]=1252;case 874:;case 932:;case 936:;case 949:;case 950:;case 1250:;case 1251:;case 1253:;case 1254:;case 1255:;case 1256:;case 1257:;case 1258:;case 1e4:;case 1200:;case 1201:;case 1252:;case 65e3:;case-536:;case 65001:;case-535:n(o=d[p.n]);break;default:throw new Error("Unsupported CodePage: "+d[p.n]);}}else{if(s[f][0]===1){o=d.CodePage=Ja(e,Rt);n(o);if(l!==-1){var m=e.l;e.l=s[l][1];c=Ya(e,o);e.l=m}}else if(s[f][0]===0){if(o===0){l=f;e.l=s[f+1][1];continue}c=Ya(e,o)}else{var b=c[s[f][0]];var g;switch(e[e.l]){case 65:e.l+=4;g=$a(e);break;case 30:e.l+=4;g=Wa(e,e[e.l-4]);break;case 31:e.l+=4;g=Wa(e,e[e.l-4]);break;case 3:e.l+=4;g=e.read_shift(4,"i");break;case 19:e.l+=4;g=e.read_shift(4);break;case 5:e.l+=4;g=e.read_shift(8,"f");break;case 11:e.l+=4;g=an(e,4);break;case 64:e.l+=4;g=H(La(e));break;default:throw new Error("unparsed value: "+e[e.l]);}d[b]=g}}}e.l=t+a;return d}function en(e,r){var t=e.content;gr(t,0);var a,n,i,s,f=0;t.chk("feff","Byte Order: ");var o=t.read_shift(2);var l=t.read_shift(4);t.chk(T.utils.consts.HEADER_CLSID,"CLSID: ");a=t.read_shift(4);if(a!==1&&a!==2)throw new Error("Unrecognized #Sets: "+a);n=t.read_shift(16);s=t.read_shift(4);if(a===1&&s!==t.l)throw new Error("Length mismatch: "+s+" !== "+t.l);else if(a===2){i=t.read_shift(16);f=t.read_shift(4)}var c=qa(t,r);var u={SystemIdentifier:l};for(var h in c)u[h]=c[h];u.FMTID=n;if(a===1)return u;if(t.l!==f)throw new Error("Length mismatch 2: "+t.l+" !== "+f);var d;try{d=qa(t,null)}catch(v){}for(h in d)u[h]=d[h];u.FMTID=[n,i];return u}function rn(e,r){e.read_shift(r);return null}function tn(e,r,t){var a=[],n=e.l+r;while(e.l<n)a.push(t(e,n-e.l));if(n!==e.l)throw new Error("Slurp error");return a}function an(e,r){return e.read_shift(r)===1}function nn(e){return e.read_shift(2,"u")}function sn(e,r){return tn(e,r,nn)}var fn=an;function on(e){var r=e.read_shift(1),t=e.read_shift(1);return t===1?r:r===1}function ln(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>=8)t=1200;if(!a||a.biff==8){var o=e.read_shift(1);if(o){i=2;s="dbcs-cont"}}else if(a.biff==12){i=2;s="wstr"}var l=n?e.read_shift(n,s):"";t=f;return l}function cn(e){var r=t;t=1200;var a=e.read_shift(2),n=e.read_shift(1);var i=n&1,s=n&4,f=n&8;var o=1+(n&1);var l=0,c;var u={};if(f)l=e.read_shift(2);if(s)c=e.read_shift(4);var h=n&1?"dbcs-cont":"sbcs-cont";var d=a===0?"":e.read_shift(a,h);if(f)e.l+=4*l;if(s)e.l+=c;u.t=d;if(!f){u.raw="<t>"+u.t+"</t>";u.r=u.t}t=r;return u}function un(e,r,t){var a;if(t){if(t.biff>=2&&t.biff<=5)return e.read_shift(r,"sbcs-cont");if(t.biff>=12)return e.read_shift(r,"dbcs-cont")}var n=e.read_shift(1);if(n===0){a=e.read_shift(r,"sbcs-cont")}else{a=e.read_shift(r,"dbcs-cont")}return a}function hn(e,r,t){var a=e.read_shift(t&&t.biff==2?1:2);if(a===0){e.l++;return""}return un(e,a,t)}function dn(e,r,t){if(t.biff>5)return hn(e,r,t);var a=e.read_shift(1);if(a===0){e.l++;return""}return e.read_shift(a,"sbcs-cont")}function vn(e,r,t){var a=e.read_shift(1);e.l++;var n=e.read_shift(2);e.l+=2;return[a,n]}var pn=function(e){var r=e.read_shift(4),t=e.l;var a=false;if(r>24){e.l+
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[Vr(e[0])]=e[1];break;}else switch(c){case 22:e[1].v=e[1].v.substr(1);case 23:;case 24:;case 25:;case 37:;case 39:;case 40:if(e[3]>s){n["!ref"]=jr(l);f[i]=n;n=a.dense?[]:{};l={s:{r:0,c:0},e:{r:0,c:0}};s=e[3];i="Sheet"+(s+1);o.push(i)}n[Vr(e[0])]=e[1];if(l.e.c<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"]=jr(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 m(e,r){var t=v(e,14);e.l+=r-14;return t}function b(e,r){var t=l(e,r);var a=e.read_shift(4);t[1].v=a>>6;return t}function g(e,r){var t=l(e,r);var a=e.read_shift(8,"f");t[1].v=a;return t}function k(e,r){var t=g(e,14);e.l+=r-10;return t}var S={0:{n:"BOF",f:nn},1:{n:"EOF",f:Er},2:{n:"CALCMODE",f:Er},3:{n:"CALCORDER",f:Er},4:{n:"SPLIT",f:Er},5:{n:"SYNC",f:Er},6:{n:"RANGE",f:a},7:{n:"WINDOW1",f:Er},8:{n:"COLW1",f:Er},9:{n:"WINTWO",f:Er},10:{n:"COLW2",f:Er},11:{n:"NAME",f:Er},12:{n:"BLANK",f:Er},13:{n:"INTEGER",f:s},14:{n:"NUMBER",f:f},15:{n:"LABEL",f:i},16:{n:"FORMULA",f:o},24:{n:"TABLE",f:Er},25:{n:"ORANGE",f:Er},26:{n:"PRANGE",f:Er},27:{n:"SRANGE",f:Er},28:{n:"FRANGE",f:Er},29:{n:"KRANGE1",f:Er},32:{n:"HRANGE",f:Er},35:{n:"KRANGE2",f:Er},36:{n:"PROTEC",f:Er},37:{n:"FOOTER",f:Er},38:{n:"HEADER",f:Er},39:{n:"SETUP",f:Er},40:{n:"MARGINS",f:Er},41:{n:"LABELFMT",f:Er},42:{n:"TITLES",f:Er},43:{n:"SHEETJS",f:Er},45:{n:"GRAPH",f:Er},46:{n:"NGRAPH",f:Er},47:{n:"CALCCOUNT",f:Er},48:{n:"UNFORMATTED",f:Er},49:{n:"CURSORW12",f:Er},50:{n:"WINDOW",f:Er},51:{n:"STRING",f:i},55:{n:"PASSWORD",f:Er},56:{n:"LOCKED",f:Er},60:{n:"QUERY",f:Er},61:{n:"QUERYNAME",f:Er},62:{n:"PRINT",f:Er},63:{n:"PRINTNAME",f:Er},64:{n:"GRAPH2",f:Er},65:{n:"GRAPHNAME",f:Er},66:{n:"ZOOM",f:Er},67:{n:"SYMSPLIT",f:Er},68:{n:"NSROWS",f:Er},69:{n:"NSCOLS",f:Er},70:{n:"RULER",f:Er},71:{n:"NNAME",f:Er},72:{n:"ACOMM",f:Er},73:{n:"AMACRO",f:Er},74:{n:"PARSE",f:Er},255:{n:"",f:Er}};var w={0:{n:"BOF",f:Er},1:{n:"EOF",f:Er},3:{n:"??",f:Er},4:{n:"??",f:Er},5:{n:"??",f:Er},6:{n:"??",f:Er},7:{n:"??",f:Er},9:{n:"??",f:Er},10:{n:"??",f:Er},11:{n:"??",f:Er},12:{n:"??",f:Er},14:{n:"??",f:Er},15:{n:"??",f:Er},16:{n:"??",f:Er},17:{n:"??",f:Er},18:{n:"??",f:Er},19:{n:"??",f:Er},21:{n:"??",f:Er},22:{n:"LABE
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ゴシック"/>';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" t
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.
r.write_shift(-4,-1);ct(e,r);return r.slice(0,r.l)}function Jm(e,r){var t=ft(e);return[t]}function qm(e,r,t){if(t==null)t=wr(8);return ot(r,t)}function eb(e,r){var t=ft(e);var a=e.read_shift(1);return[t,a,"b"]}function rb(e,r,t){if(t==null)t=wr(9);ot(r,t);t.write_shift(1,e.v?1:0);return t}function tb(e,r){var t=ft(e);var a=e.read_shift(1);return[t,a,"e"]}function ab(e,r){var t=ft(e);var a=e.read_shift(4);return[t,a,"s"]}function nb(e,r,t){if(t==null)t=wr(12);ot(r,t);t.write_shift(4,r.v);return t}function ib(e,r){var t=ft(e);var a=Bt(e);return[t,a,"n"]}function sb(e,r,t){if(t==null)t=wr(16);ot(r,t);Ct(e.v,t);return t}function fb(e,r){var t=ft(e);var a=bt(e);return[t,a,"n"]}function ob(e,r,t){if(t==null)t=wr(12);ot(r,t);gt(e.v,t);return t}function lb(e,r){var t=ft(e);var a=qr(e);return[t,a,"str"]}function cb(e,r,t){if(t==null)t=wr(12+4*e.v.length);ot(r,t);et(e.v,t);return t.length>t.l?t.slice(0,t.l):t}function ub(e,r,t){var a=e.l+r;var n=ft(e);n.r=t["!row"];var i=e.read_shift(1);var s=[n,i,"b"];if(t.cellFormula){e.l+=2;var f=tm(e,a-e.l,t);s[3]=qp(f,null,n,t.supbooks,t)}else e.l=a;return s}function hb(e,r,t){var a=e.l+r;var n=ft(e);n.r=t["!row"];var i=e.read_shift(1);var s=[n,i,"e"];if(t.cellFormula){e.l+=2;var f=tm(e,a-e.l,t);s[3]=qp(f,null,n,t.supbooks,t)}else e.l=a;return s}function db(e,r,t){var a=e.l+r;var n=ft(e);n.r=t["!row"];var i=Bt(e);var s=[n,i,"n"];if(t.cellFormula){e.l+=2;var f=tm(e,a-e.l,t);s[3]=qp(f,null,n,t.supbooks,t)}else e.l=a;return s}function vb(e,r,t){var a=e.l+r;var n=ft(e);n.r=t["!row"];var i=qr(e);var s=[n,i,"str"];if(t.cellFormula){e.l+=2;var f=tm(e,a-e.l,t);s[3]=qp(f,null,n,t.supbooks,t)}else e.l=a;return s}var pb=St;var mb=wt;function bb(e,r){if(r==null)r=wr(4);r.write_shift(4,e);return r}function gb(e,r,t){var a=e.l+r;var n=St(e,16);var i=ut(e);var s=qr(e);var f=qr(e);var o=qr(e);e.l=a;return{rfx:n,relId:i,loc:s,Tooltip:f,display:o}}function Eb(e,r,t){if(t==null)t=wr(50+4*e[1].Target.length);wt({s:Wr(e[0]),e:Wr(e[0])},t);mt("rId"+r,t);var a=e[1].Target.indexOf("#");var n=a==-1?"":e[1].Target.substr(a+1);et(n||"",t);et(e[1].Tooltip||"",t);et("",t);return t.slice(0,t.l)}function kb(e,r,t){var a=e.l+r;var n=Et(e,16);var i=e.read_shift(1);var s=[n];s[2]=i;if(t.cellFormula){var f=rm(e,a-e.l,t);s[1]=f}else e.l=a;return s}function Sb(e,r,t){var a=e.l+r;var n=St(e,16);var i=[n];if(t.cellFormula){var s=nm(e,a-e.l,t);i[1]=s;e.l=a}else e.l=a;return i}function wb(e,r,t){if(t==null)t=wr(18);var a=mm(e,r);t.write_shift(-4,e);t.write_shift(-4,e);t.write_shift(4,(a.width||10)*256);t.write_shift(4,0);var n=0;if(r.hidden)n|=1;if(typeof a.width=="number")n|=2;t.write_shift(1,n);t.write_shift(1,0);return t}function Bb(e,r,t){return{left:Bt(e,8),right:Bt(e,8),top:Bt(e,8),bottom:Bt(e,8),header:Bt(e,8),footer:Bt(e,8)}}function Cb(e,r){if(r==null)r=wr(6*8);bm(e);Ct(e.left,r);Ct(e.right,r);Ct(e.top,r);Ct(e.bottom,r);Ct(e.header,r);Ct(e.footer,r);return r}function _b(e,r){if(r==null)r=wr(30);r.write_shift(2,924);r.write_shift(4,0);r.write_shift(4,0);r.write_shift(4,0);r.write_shift(1,0);r.write_shift(1,0);r.write_shift(2,0);r.write_shift(2,100);r.write_shift(2,0);r.write_shift(2,0);r.write_shift(2,0);r.write_shift(4,0);return r}function Tb(e,r){if(r==null)r=wr(16*4+2);r.write_shift(2,e.password?mh(e.password):0);r.write_shift(4,1);[["objects",false],["scenarios",false],["formatCells",true],["formatColumns",true],["formatRows",true],["insertColumns",true],["insertRows",true],["insertHyperlinks",true],["deleteColumns",true],["deleteRows",true],["selectLockedCells",false],["sort",true],["autoFilter",true],["pivotTables",true],["selectUnlockedCells",false]].forEach(function(t){if(t[1])r.write_shift(4,e[t[0]]!=null&&!e[t[0]]?1:0);else r.write_shift(4,e[t[0]]!=null&&e[t[0]]?0:1)});return r}function xb(e,r,t,a,n,i){if(!e)return e;var s=r||{};if(!t)t={"!id":{}};if(c!=null&&s.dense==null)s.dense=c;var f=s.dense?[]:{};var o;var l={s:{r:2e6,c:2e6},e:{r:0,c:0}};var u=false,h=false;var d,v,p,m,b,g,k,S,w;var B=[];s.biff=12;s["!row"]=0;var C=0,_=false;var T=[];var x={};var I=[[]];I.sharedf=x;I.arrayf=T;I.SheetNames=a.SheetNames||a.She
}else if(f[0].charAt(f[0].length-2)!=="/"){var te=Vg(f[0]);v["!autofilter"]={ref:mv(te.Range).replace(/\$/g,"")};l.push([f[3],true])}break;case"Name":break;case"ComponentOptions":;case"DocumentProperties":;case"CustomDocumentProperties":;case"OfficeDocumentSettings":;case"PivotTable":;case"PivotCache":;case"Names":;case"MapInfo":;case"PageBreaks":;case"QueryTable":;case"DataValidation":;case"Sorting":;case"Schema":;case"data":;case"ConditionalFormatting":;case"SmartTagType":;case"SmartTags":;case"ExcelWorkbook":;case"WorkbookOptions":;case"WorksheetOptions":if(f[1]==="/"){if((u=l.pop())[0]!==f[3])throw new Error("Bad state: "+u.join("|"))}else if(f[0].charAt(f[0].length-2)!=="/")l.push([f[3],true]);break;default:if(l.length==0&&f[3]=="document")return PE(a,t);if(l.length==0&&f[3]=="UOF")return PE(a,t);var ae=true;switch(l[l.length-1][0]){case"OfficeDocumentSettings":switch(f[3]){case"AllowPNG":break;case"RemovePersonalInformation":break;case"DownloadComponents":break;case"LocationOfComponents":break;case"Colors":break;case"Color":break;case"Index":break;case"RGB":break;case"PixelsPerInch":break;case"TargetScreenSize":break;case"ReadOnlyRecommended":break;default:ae=false;}break;case"ComponentOptions":switch(f[3]){case"Toolbar":break;case"HideOfficeLogo":break;case"SpreadsheetAutoFit":break;case"Label":break;case"Caption":break;case"MaxHeight":break;case"MaxWidth":break;case"NextSheetNumber":break;default:ae=false;}break;case"ExcelWorkbook":switch(f[3]){case"Date1904":G.WBProps.date1904=true;break;case"WindowHeight":break;case"WindowWidth":break;case"WindowTopX":break;case"WindowTopY":break;case"TabRatio":break;case"ProtectStructure":break;case"ProtectWindows":break;case"ActiveSheet":break;case"DisplayInkNotes":break;case"FirstVisibleSheet":break;case"SupBook":break;case"SheetName":break;case"SheetIndex":break;case"SheetIndexFirst":break;case"SheetIndexLast":break;case"Dll":break;case"AcceptLabelsInFormulas":break;case"DoNotSaveLinkValues":break;case"Iteration":break;case"MaxIterations":break;case"MaxChange":break;case"Path":break;case"Xct":break;case"Count":break;case"SelectedSheets":break;case"Calculation":break;case"Uncalced":break;case"StartupPrompt":break;case"Crn":break;case"ExternName":break;case"Formula":break;case"ColFirst":break;case"ColLast":break;case"WantAdvise":break;case"Boolean":break;case"Error":break;case"Text":break;case"OLE":break;case"NoAutoRecover":break;case"PublishObjects":break;case"DoNotCalculateBeforeSave":break;case"Number":break;case"RefModeR1C1":break;case"EmbedSaveSmartTags":break;default:ae=false;}break;case"WorkbookOptions":switch(f[3]){case"OWCVersion":break;case"Height":break;case"Width":break;default:ae=false;}break;case"WorksheetOptions":switch(f[3]){case"Visible":if(f[0].slice(-2)==="/>"){}else if(f[1]==="/")switch(a.slice(F,f.index)){case"SheetHidden":j.Hidden=1;break;case"SheetVeryHidden":j.Hidden=2;break;}else F=f.index+f[0].length;break;case"Header":if(!v["!margins"])bm(v["!margins"]={},"xlml");v["!margins"].header=se(f[0]).Margin;break;case"Footer":if(!v["!margins"])bm(v["!margins"]={},"xlml");v["!margins"].footer=se(f[0]).Margin;break;case"PageMargins":var ne=se(f[0]);if(!v["!margins"])bm(v["!margins"]={},"xlml");if(ne.Top)v["!margins"].top=ne.Top;if(ne.Left)v["!margins"].left=ne.Left;if(ne.Right)v["!margins"].right=ne.Right;if(ne.Bottom)v["!margins"].bottom=ne.Bottom;break;case"Unsynced":break;case"Print":break;case"Panes":break;case"Scale":break;case"Pane":break;case"Number":break;case"Layout":break;case"PageSetup":break;case"Selected":break;case"ProtectObjects":break;case"EnableSelection":break;case"ProtectScenarios":break;case"ValidPrinterInfo":break;case"HorizontalResolution":break;case"VerticalResolution":break;case"NumberofCopies":break;case"ActiveRow":break;case"ActiveCol":break;case"ActivePane":break;case"TopRowVisible":break;case"TopRowBottomPane":break;case"LeftColumnVisible":break;case"LeftColumnRightPane":break;case"FitToPage":break;case"RangeSelection":break;case"PaperSizeIndex":break;case"PageLayoutZoom":break;case"PageBreakZoom":break;case"FilterOn":break;case"D
f:Er},66:{n:"BrtSxvcellStr",f:Er},67:{n:"BrtSxvcellBool",f:Er},68:{n:"BrtSxvcellErr",f:Er},69:{n:"BrtSxvcellDate",f:Er},70:{n:"BrtSxvcellNil",f:Er},128:{n:"BrtFileVersion",f:Er},129:{n:"BrtBeginSheet",f:Er},130:{n:"BrtEndSheet",f:Er},131:{n:"BrtBeginBook",f:Er,p:0},132:{n:"BrtEndBook",f:Er},133:{n:"BrtBeginWsViews",f:Er},134:{n:"BrtEndWsViews",f:Er},135:{n:"BrtBeginBookViews",f:Er},136:{n:"BrtEndBookViews",f:Er},137:{n:"BrtBeginWsView",f:Er},138:{n:"BrtEndWsView",f:Er},139:{n:"BrtBeginCsViews",f:Er},140:{n:"BrtEndCsViews",f:Er},141:{n:"BrtBeginCsView",f:Er},142:{n:"BrtEndCsView",f:Er},143:{n:"BrtBeginBundleShs",f:Er},144:{n:"BrtEndBundleShs",f:Er},145:{n:"BrtBeginSheetData",f:Er},146:{n:"BrtEndSheetData",f:Er},147:{n:"BrtWsProp",f:Zm},148:{n:"BrtWsDim",f:Km,p:16},151:{n:"BrtPane",f:Er},152:{n:"BrtSel",f:Er},153:{n:"BrtWbProp",f:ug},154:{n:"BrtWbFactoid",f:Er},155:{n:"BrtFileRecover",f:Er},156:{n:"BrtBundleSh",f:lg},157:{n:"BrtCalcProp",f:Er},158:{n:"BrtBookView",f:Er},159:{n:"BrtBeginSst",f:$u},160:{n:"BrtEndSst",f:Er},161:{n:"BrtBeginAFilter",f:St},162:{n:"BrtEndAFilter",f:Er},163:{n:"BrtBeginFilterColumn",f:Er},164:{n:"BrtEndFilterColumn",f:Er},165:{n:"BrtBeginFilters",f:Er},166:{n:"BrtEndFilters",f:Er},167:{n:"BrtFilter",f:Er},168:{n:"BrtColorFilter",f:Er},169:{n:"BrtIconFilter",f:Er},170:{n:"BrtTop10Filter",f:Er},171:{n:"BrtDynamicFilter",f:Er},172:{n:"BrtBeginCustomFilters",f:Er},173:{n:"BrtEndCustomFilters",f:Er},174:{n:"BrtCustomFilter",f:Er},175:{n:"BrtAFilterDateGroupItem",f:Er},176:{n:"BrtMergeCell",f:pb},177:{n:"BrtBeginMergeCells",f:Er},178:{n:"BrtEndMergeCells",f:Er},179:{n:"BrtBeginPivotCacheDef",f:Er},180:{n:"BrtEndPivotCacheDef",f:Er},181:{n:"BrtBeginPCDFields",f:Er},182:{n:"BrtEndPCDFields",f:Er},183:{n:"BrtBeginPCDField",f:Er},184:{n:"BrtEndPCDField",f:Er},185:{n:"BrtBeginPCDSource",f:Er},186:{n:"BrtEndPCDSource",f:Er},187:{n:"BrtBeginPCDSRange",f:Er},188:{n:"BrtEndPCDSRange",f:Er},189:{n:"BrtBeginPCDFAtbl",f:Er},190:{n:"BrtEndPCDFAtbl",f:Er},191:{n:"BrtBeginPCDIRun",f:Er},192:{n:"BrtEndPCDIRun",f:Er},193:{n:"BrtBeginPivotCacheRecords",f:Er},194:{n:"BrtEndPivotCacheRecords",f:Er},195:{n:"BrtBeginPCDHierarchies",f:Er},196:{n:"BrtEndPCDHierarchies",f:Er},197:{n:"BrtBeginPCDHierarchy",f:Er},198:{n:"BrtEndPCDHierarchy",f:Er},199:{n:"BrtBeginPCDHFieldsUsage",f:Er},200:{n:"BrtEndPCDHFieldsUsage",f:Er},201:{n:"BrtBeginExtConnection",f:Er},202:{n:"BrtEndExtConnection",f:Er},203:{n:"BrtBeginECDbProps",f:Er},204:{n:"BrtEndECDbProps",f:Er},205:{n:"BrtBeginECOlapProps",f:Er},206:{n:"BrtEndECOlapProps",f:Er},207:{n:"BrtBeginPCDSConsol",f:Er},208:{n:"BrtEndPCDSConsol",f:Er},209:{n:"BrtBeginPCDSCPages",f:Er},210:{n:"BrtEndPCDSCPages",f:Er},211:{n:"BrtBeginPCDSCPage",f:Er},212:{n:"BrtEndPCDSCPage",f:Er},213:{n:"BrtBeginPCDSCPItem",f:Er},214:{n:"BrtEndPCDSCPItem",f:Er},215:{n:"BrtBeginPCDSCSets",f:Er},216:{n:"BrtEndPCDSCSets",f:Er},217:{n:"BrtBeginPCDSCSet",f:Er},218:{n:"BrtEndPCDSCSet",f:Er},219:{n:"BrtBeginPCDFGroup",f:Er},220:{n:"BrtEndPCDFGroup",f:Er},221:{n:"BrtBeginPCDFGItems",f:Er},222:{n:"BrtEndPCDFGItems",f:Er},223:{n:"BrtBeginPCDFGRange",f:Er},224:{n:"BrtEndPCDFGRange",f:Er},225:{n:"BrtBeginPCDFGDiscrete",f:Er},226:{n:"BrtEndPCDFGDiscrete",f:Er},227:{n:"BrtBeginPCDSDTupleCache",f:Er},228:{n:"BrtEndPCDSDTupleCache",f:Er},229:{n:"BrtBeginPCDSDTCEntries",f:Er},230:{n:"BrtEndPCDSDTCEntries",f:Er},231:{n:"BrtBeginPCDSDTCEMembers",f:Er},232:{n:"BrtEndPCDSDTCEMembers",f:Er},233:{n:"BrtBeginPCDSDTCEMember",f:Er},234:{n:"BrtEndPCDSDTCEMember",f:Er},235:{n:"BrtBeginPCDSDTCQueries",f:Er},236:{n:"BrtEndPCDSDTCQueries",f:Er},237:{n:"BrtBeginPCDSDTCQuery",f:Er},238:{n:"BrtEndPCDSDTCQuery",f:Er},239:{n:"BrtBeginPCDSDTCSets",f:Er},240:{n:"BrtEndPCDSDTCSets",f:Er},241:{n:"BrtBeginPCDSDTCSet",f:Er},242:{n:"BrtEndPCDSDTCSet",f:Er},243:{n:"BrtBeginPCDCalcItems",f:Er},244:{n:"BrtEndPCDCalcItems",f:Er},245:{n:"BrtBeginPCDCalcItem",f:Er},246:{n:"BrtEndPCDCalcItem",f:Er},247:{n:"BrtBeginPRule",f:Er},248:{n:"BrtEndPRule",f:Er},249:{n:"BrtBeginPRFilters",f:Er},250:{n:"BrtEndPRFilters",f:Er},251:{n:"BrtBeginPRFilter",f:Er},252:{n:"BrtE
f:wc},4107:{n:"PieFormat",f:Bc},4108:{n:"AttachedLabel",f:Cc},4109:{n:"SeriesText",f:_c},4116:{n:"ChartFormat",f:Tc},4117:{n:"Legend",f:xc},4118:{n:"SeriesList",f:Ic},4119:{n:"Bar",f:Ac},4120:{n:"Line",f:yc},4121:{n:"Pie",f:Rc},4122:{n:"Area",f:Dc},4123:{n:"Scatter",f:Oc},4124:{n:"CrtLine",f:Fc},4125:{n:"Axis",f:Pc},4126:{n:"Tick",f:Nc},4127:{n:"ValueRange",f:Lc},4128:{n:"CatSerRange",f:Mc},4129:{n:"AxisLine",f:Uc},4130:{n:"CrtLink",f:Hc},4132:{n:"DefaultText",f:Wc},4133:{n:"Text",f:Vc},4134:{n:"FontX",f:cs},4135:{n:"ObjectLink",f:zc},4146:{n:"Frame",f:Xc},4147:{n:"Begin",f:Gc},4148:{n:"End",f:jc},4149:{n:"PlotArea",f:Kc},4154:{n:"Chart3d",f:Yc},4156:{n:"PicF",f:$c},4157:{n:"DropBar",f:Zc},4158:{n:"Radar",f:Qc},4159:{n:"Surf",f:Jc},4160:{n:"RadarArea",f:qc},4161:{n:"AxisParent",f:eu},4163:{n:"LegendException",f:ru},4164:{n:"ShtProps",f:Hi},4165:{n:"SerToCrt",f:tu},4166:{n:"AxesUsed",f:au},4168:{n:"SBaseRef",f:nu},4170:{n:"SerParent",f:iu},4171:{n:"SerAuxTrend",f:su},4174:{n:"IFmtRecord",f:fu},4175:{n:"Pos",f:ou},4176:{n:"AlRuns",f:lu},4177:{n:"BRAI",f:cu},4187:{n:"SerAuxErrBar",f:uu},4188:{n:"ClrtClient",f:Pi},4189:{n:"SerFmt",f:hu},4191:{n:"Chart3DBarShape",f:du},4192:{n:"Fbi",f:vu},4193:{n:"BopPop",f:pu},4194:{n:"AxcExt",f:mu},4195:{n:"Dat",f:bu},4196:{n:"PlotGrowth",f:gu},4197:{n:"SIIndex",f:Eu},4198:{n:"GelFrame",f:ku},4199:{n:"BopPopCustom",f:Su},4200:{n:"Fbi2",f:wu},0:{n:"Dimensions",f:ti},2:{n:"BIFF2INT",f:xu},5:{n:"BoolErr",f:ui},7:{n:"String",f:Iu},8:{n:"BIFF2ROW",f:Er},11:{n:"Index",f:jo},22:{n:"ExternCount",f:ki},30:{n:"BIFF2FORMAT",f:ri},31:{n:"BIFF2FMTCNT",f:Er},32:{n:"BIFF2COLINFO",f:Er},33:{n:"Array",f:Bi},37:{n:"DefaultRowHeight",f:$n},50:{n:"BIFF2FONTXTRA",f:Au},62:{n:"BIFF2WINDOW2",f:Er},69:{n:"BIFF2FONTCLR",f:Er},86:{n:"BIFF4FMTCNT",f:Er},126:{n:"RK",f:Er},127:{n:"ImData",f:Bu},135:{n:"Addin",f:Er},136:{n:"Edg",f:Er},137:{n:"Pub",f:Er},145:{n:"Sub",f:Er},148:{n:"LHRecord",f:Er},149:{n:"LHNGraph",f:Er},150:{n:"Sound",f:Er},169:{n:"CoordList",f:Er},171:{n:"GCW",f:Er},188:{n:"ShrFmla",f:Er},194:{n:"AddMenu",f:Er},195:{n:"DelMenu",f:Er},214:{n:"RString",f:yu},223:{n:"UDDesc",f:Er},234:{n:"TabIdConf",f:Er},354:{n:"XL5Modify",f:Er},421:{n:"FileSharing2",f:Er},521:{n:"BOF",f:Un},536:{n:"Lbl",f:bi},547:{n:"ExternName",f:pi},561:{n:"Font",f:Er},1033:{n:"BOF",f:Un},2157:{n:"FeatInfo",f:Er},2163:{n:"FeatInfo11",f:Er},2177:{n:"SXAddl12",f:Er},2240:{n:"AutoWebPub",f:Er},2241:{n:"ListObj",f:Er},2242:{n:"ListField",f:Er},2243:{n:"ListDV",f:Er},2244:{n:"ListCondFmt",f:Er},2245:{n:"ListCF",f:Er},2246:{n:"FMQry",f:Er},2247:{n:"FMSQry",f:Er},2248:{n:"PLV",f:Er},2249:{n:"LnExt",f:Er},2250:{n:"MkrExt",f:Er},2251:{n:"CrtCoopt",f:Er},67:{n:"BIFF2XF",f:Er},579:{n:"BIFF3XF",f:Er},1091:{n:"BIFF4XF",f:Er},29282:{}};function kE(e,r,t,a){var n=a||(t||[]).length;var i=e.next(4+n);i.write_shift(2,r);i.write_shift(2,n);if(n>0&&nr(t))e.push(t)}function SE(e,r){if(r.bookType!="biff2")throw"unsupported BIFF version";var t=wr(4);t.write_shift(2,2);t.write_shift(2,16);return t}function wE(e,r,t){if(!e)e=wr(7);e.write_shift(2,r);e.write_shift(2,t);e.write_shift(1,0);e.write_shift(1,0);e.write_shift(1,0);return e}function BE(e,r,t){var a=wr(9);wE(a,e,r);a.write_shift(2,t);return a}function CE(e,r,t){var a=wr(15);wE(a,e,r);a.write_shift(8,t,"f");return a}function _E(e,r,t,a){var n=wr(9);wE(n,e,r);if(a=="e"){n.write_shift(1,t);n.write_shift(1,1)}else{n.write_shift(1,t?1:0);n.write_shift(1,0)}return n}function TE(e,r,t){var a=wr(8+2*t.length);wE(a,e,r);a.write_shift(1,t.length);a.write_shift(t.length,t,"sbcs");return a.l<a.length?a.slice(0,a.l):a}function xE(e,r,t,a,n){if(r.v!=null)switch(r.t){case"d":;case"n":var i=r.t=="d"?P(r.v):r.v;if(i==(i|0)&&i>=0&&i<65536)kE(e,2,BE(t,a,i));else kE(e,3,CE(t,a,i));return;case"b":;case"e":kE(e,5,_E(t,a,r.v,r.t));return;case"s":;case"str":kE(e,4,TE(t,a,r.v));return;}kE(e,1,wE(null,t,a))}function IE(e,r,t,a,n){var i=Array.isArray(r);var s=Kr(r["!ref"]||"A1"),f,o="",l=[];for(var c=s.s.r;c<=s.e.r;++c){o=Or(c);for(var u=s.s.c;u<=s.e.c;++u){if(c===s.s.r)l[u]=Lr(u);f=l[u]+o;var h=i?(r[c]||[])[u]:r[f];if(!h)conti
;}if(a[0]==239&&a[1]==187&&a[2]==191)t=ke(t);return ik(t,r)}function fk(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 ik(t,r)}function ok(e,r){var t,a=e,n=[0];var i=r||{};vm={};if(i.dateNF)vm.dateNF=i.dateNF;if(!i.type)i.type=d&&Buffer.isBuffer(e)?"buffer":"base64";if(i.type=="file"){i.type="buffer";a=q.readFileSync(e)}switch((n=tk(a,i))[0]){case 208:return ak(T.read(a,i),i);case 9:return mE(p(i.type==="base64"?h.decode(a):a),i);case 60:return qg(a,i);case 73:if(n[1]==68)return Pu(a,i);break;case 84:if(n[1]==65&&n[2]==66&&n[3]==76)return Ou.to_workbook(a,i);break;case 80:if(n[1]==75&&n[2]<32&&n[3]<32)return nk(a,i);break;case 239:return n[3]==60?qg(a,i):Fu.to_workbook(a,i);case 255:if(n[1]==254){return fk(a,i)}break;case 0:if(n[1]==0&&n[2]>=2&&n[3]==0)return Nu.to_workbook(a,i);break;case 3:;case 131:;case 139:return Ru.to_workbook(a,i);case 123:if(n[1]==92&&n[2]==114&&n[3]==116)throw new Error("Unsupported RTF");break;case 10:;case 13:;case 32:return sk(a,i);}if(n[2]<=12&&n[3]<=31)return Ru.to_workbook(a,i);if(32>n[0]||n[0]>127)throw new Error("Unsupported file "+n.join("|"));return Fu.to_workbook(a,i)}function lk(e,r){var t=r||{};t.type="file";return ok(e,t)}function ck(e,r){var t=r||{};var a=rk(e,t);var n={};if(t.compression)n.compression="DEFLATE";switch(t.type){case"base64":n.type="base64";break;case"binary":n.type="string";break;case"buffer":;case"file":n.type="nodebuffer";break;default:throw new Error("Unrecognized type "+t.type);}if(t.type==="file")return q.writeFileSync(t.file,a.generate(n));return a.generate(n)}function uk(e,r){switch(r.type){case"base64":return h.encode(e);case"binary":return e;case"file":return q.writeFileSync(r.file,e,"binary");case"buffer":{if(d)return new Buffer(e,"binary");else return e.split("").map(function(e){return e.charCodeAt(0)})};}throw new Error("Unrecognized type "+r.type)}function hk(e,r){switch(r.type){case"base64":return h.encode(e);case"binary":return e;case"file":return q.writeFileSync(r.file,e,"utf8");case"buffer":{if(d)return new Buffer(e,"utf8");else return e.split("").map(function(e){return e.charCodeAt(0)})};}throw new Error("Unrecognized type "+r.type)}function dk(e,r){switch(r.type){case"base64":;case"binary":var t="";for(var a=0;a<e.length;++a)t+=String.fromCharCode(e[a]);return r.type=="base64"?h.encode(t):t;case"file":return q.writeFileSync(r.file,e);case"buffer":return e;default:throw new Error("Unrecognized type "+r.type);}}function vk(e,r){ng(e);var t=r||{};switch(t.bookType||"xlsb"){case"xml":;case"xlml":return hk(lE(e,t),t);case"slk":;case"sylk":return hk(VE(e,t),t);case"html":return hk(HE(e,t),t);case"txt":return uk(GE(e,t),t);case"csv":return hk(WE(e,t),t);case"dif":return hk(zE(e,t),t);case"prn":return hk(XE(e,t),t);case"fods":return hk(ME(e,t),t);case"biff2":return dk(AE(e,t),t);case"xlsx":;case"xlsm":;case"xlsb":;case"ods":return ck(e,t);default:throw new Error("Unrecognized bookType |"+t.bookType+"|");}}function pk(e){if(!e.bookType)switch(e.file.slice(e.file.lastIndexOf(".")).toLowerCase()){case".xlsx":e.bookType="xlsx";break;case".xlsm":e.bookType="xlsm";break;case".xlsb":e.bookType="xlsb";break;case".fods":e.bookType="fods";break;case".xlml":e.bookType="xlml";break;case".sylk":e.bookType="sylk";break;case".html":e.bookType="html";break;case".xls":e.bookType="biff2";break;case".xml":e.bookType="xml";break;case".ods":e.bookType="ods";break;case".csv":e.bookType="csv";break;case".txt":e.bookType="txt";break;case".dif":e.bookType="dif";break;case".prn":e.bookType="prn";break;case".slk":e.bookType="sylk";break;case".htm":e.bookType="html";break;}}function mk(e,r,t){var a=t||{};a.type="file";a.file=r;pk(a);return vk(e,a)}function bk(e,r,t,a){var n=t||{};n.type="file";n.file=e;pk(n);n.type="buffer";var i=a;if(!(i instanceof Function))i=t;return q.writeFile(e,vk(r,n),i)}function gk(e,r){if(e==null||e["!ref"]==null)return[];var t={t:"n",v:0},a=0,n=1,i=[],s=true,f=0,o="";var l={s:{r:0,c:0},e:{r:0,c:0}};var c=r!=null?r:{};var u=c.raw;var h=c.defval;var d=c.range!=null?c.range:e["!ref"];if(c.