sheetjs/dist/xlsx.core.min.js

16 lines
419 KiB
JavaScript
Raw Normal View History

/* xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
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,o){if(!r[s]){if(!e[s]){var l=typeof require=="function"&&require;if(!o&&l)return l(s,!0);if(i)return i(s,!0);throw new Error("Cannot find module '"+s+"'")}var f=r[s]={exports:{}};e[s][0].call(f.exports,function(r){var t=e[s][1][r];return n(t?t:r)},f,f.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,o,l,f,c;var u=0;while(u<e.length){n=e.charCodeAt(u++);i=e.charCodeAt(u++);s=e.charCodeAt(u++);o=n>>2;l=(n&3)<<4|i>>4;f=(i&15)<<2|s>>6;c=s&63;if(isNaN(i)){f=c=64}else if(isNaN(s)){c=64}t=t+a.charAt(o)+a.charAt(l)+a.charAt(f)+a.charAt(c)}return t};t.decode=function(e,r){var t="";var n,i,s;var o,l,f,c;var u=0;e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(u<e.length){o=a.indexOf(e.charAt(u++));l=a.indexOf(e.charAt(u++));f=a.indexOf(e.charAt(u++));c=a.indexOf(e.charAt(u++));n=o<<2|l>>4;i=(l&15)<<4|f>>2;s=(f&3)<<6|c;t=t+String.fromCharCode(n);if(f!=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=o},{"./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 o={};a(o,n,i,s);r.exports=o},{"./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 o=e("./zlib/zstream");var l=0;var f=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 o;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 o,h;if(this.ended){return false}h=r===~~r?r:r===true?f:l;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}o=a.deflate(t,h);if(o!==u&&o!==c){this.onEnd(o);this.ended=true;return false}if(t.avail_out===0||t.avail_in===0&&h===f){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)&&o!==u);if(h===f){o=a.deflateEnd(this.strm);this.onEnd(o);this.ended=true;return o===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 o=e("./zlib/messages");var l=e("./zlib/zstream");var f=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 l;this.strm.avail_out=0;var t=a.inflateInit2(this.strm,r.windowBits);if(t!==s.Z_OK){throw new Error(o[t])}this.header=new f;a.inflateGetHeader(this.strm,this.header)};c.prototype.push=function(e,r){var t=this.strm;var o=this.options.chunkSize;var l,f;var c,u,h;if(this.ended){return false}f=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(o);t.next_out=0;t.avail_out=o}l=a.inflate(t,s.Z_NO_FLUSH);if(l!==s.Z_STREAM_END&&l!==s.Z_OK){this.onEnd(l);this.ended=true;return false}if(t.next_out){if(t.avail_out===0||l===s.Z_STREAM_END||t.avail_in===0&&f===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=o-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&&l!==s.Z_STREAM_END);if(l==
oe>>>=le&7;le-=le&7;while(le<32){if(ie===0){break e}ie--;oe+=ee[te++]<<le;le+=8}if((oe&65535)!==(oe>>>16^65535)){e.msg="invalid stored block lengths";t.mode=Q;break}t.length=oe&65535;oe=0;le=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(le<14){if(ie===0){break e}ie--;oe+=ee[te++]<<le;le+=8}t.nlen=(oe&31)+257;oe>>>=5;le-=5;t.ndist=(oe&31)+1;oe>>>=5;le-=5;t.ncode=(oe&15)+4;oe>>>=4;le-=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(le<3){if(ie===0){break e}ie--;oe+=ee[te++]<<le;le+=8}t.lens[Ie[t.have++]]=oe&7;oe>>>=3;le-=3}while(t.have<19){t.lens[Ie[t.have++]]=0}t.lencode=t.lendyn;t.lenbits=7;Te={bits:t.lenbits};Ce=o(l,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[oe&(1<<t.lenbits)-1];me=be>>>24;ge=be>>>16&255;Ee=be&65535;if(me<=le){break}if(ie===0){break e}ie--;oe+=ee[te++]<<le;le+=8}if(Ee<16){oe>>>=me;le-=me;t.lens[t.have++]=Ee}else{if(Ee===16){xe=me+2;while(le<xe){if(ie===0){break e}ie--;oe+=ee[te++]<<le;le+=8}oe>>>=me;le-=me;if(t.have===0){e.msg="invalid bit length repeat";t.mode=Q;break}Be=t.lens[t.have-1];ue=3+(oe&3);oe>>>=2;le-=2}else if(Ee===17){xe=me+3;while(le<xe){if(ie===0){break e}ie--;oe+=ee[te++]<<le;le+=8}oe>>>=me;le-=me;Be=0;ue=3+(oe&7);oe>>>=3;le-=3}else{xe=me+7;while(le<xe){if(ie===0){break e}ie--;oe+=ee[te++]<<le;le+=8}oe>>>=me;le-=me;Be=0;ue=11+(oe&127);oe>>>=7;le-=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=o(f,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=o(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=z;case z:if(ie>=6&&se>=258){e.next_out=ae;e.avail_out=se;e.next_in=te;e.avail_in=ie;t.hold=oe;t.bits=le;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;oe=t.hold;le=t.bits;if(t.mode===O){t.back=-1}break}t.back=0;for(;;){be=t.lencode[oe&(1<<t.lenbits)-1];me=be>>>24;ge=be>>>16&255;Ee=be&65535;if(me<=le){break}if(ie===0){break e}ie--;oe+=ee[te++]<<le;le+=8}if(ge&&(ge&240)===0){ke=me;Se=ge;we=Ee;for(;;){be=t.lencode[we+((oe&(1<<ke+Se)-1)>>ke)];me=be>>>24;ge=be>>>16&255;Ee=be&65535;if(ke+me<=le){break}if(ie===0){break e}ie--;oe+=ee[te++]<<le;le+=8}oe>>>=ke;le-=ke;t.back+=ke}oe>>>=me;le-=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=V;case V:if(t.extra){xe=t.extra;while(le<xe){if(ie===0){break e}ie--;oe+=ee[te++]<<le;le+=8}t.length+=oe&(1<<t.extra)-1;oe>>>=t.extra;le-=t.extra;t.back+=t.extra}t.was=t.length;t.mode=X;case X:for(;;){be=t.distcode[oe&(1<<t.distbits)-1];me=be>>>24;ge=be>>>16&255;Ee=be&65535;if(me<=le){break}if(ie===0){break e}ie--;oe+=ee[te++]<<le;le+=8}if((ge&240)===0){ke=me;Se=ge;we=Ee;for(;;){be=t.distcode[we+((oe&(1<<ke+Se)-1)>>ke)];me=be>>>24;ge=be>>>16&255;Ee=be&65535;if(ke+me<=le){break}if(ie===0){break e}ie--;oe+=ee[te++]<<le;le+=8}oe>>>=ke;le-=ke;t.back+=ke}oe>>>=me;le-=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(le<xe){if(ie===0){break e}ie--;oe+=ee[te++]<<le;le+=8}t.offset+=oe&(1<<t.extra)-1;oe>>>=t.extra;le-=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-f.length))+f}if(u=s.match(/^([#0]+)\.([#0]+)$/)){f=""+o.toFixed(Math.min(u[2].length,10)).replace(/([^0])0+$/,"$1");g=f.indexOf(".");var A=s.indexOf(".")-g,y=s.length-f.length-A;return m(s.substr(0,A)+f+s.substr(s.length-y))}if(u=s.match(/^00,000\.([#0]*0)$/)){return o<0?"-"+I(e,s,-o):T(""+o).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(".")),o)+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,o="",l="t",f,u,h;var d="H";while(s<e.length){switch(o=e.charAt(s)){case"G":if(!c(e,s))throw new Error("unrecognized character "+o+" 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(f==null){f=b(r,t,e.charAt(s+1)==="2");if(f==null)return""}n[n.length]={t:"X",v:e.substr(s,2)};l=o;s+=2;break};case"M":;case"D":;case"Y":;case"H":;case"S":;case"E":o=o.toLowerCase();case"m":;case"d":;case"y":;case"h":;case"s":;case"e":;case"g":if(r<0)return"";if(f==null){f=b(r,t);if(f==null)return""}i=o;while(++s<e.length&&e.charAt(s).toLowerCase()===o)i+=o;if(o==="m"&&l.toLowerCase()==="h")o="M";if(o==="h")o=d;n[n.length]={t:o,v:i};l=o;break;case"A":;case"a":var m={t:o,v:o};if(f==null)f=b(r,t);if(e.substr(s,3).toUpperCase()==="A/P"){if(f!=null)m.v=f.H>=12?"P":"A";m.t="T";d="h";s+=3}else if(e.substr(s,5).toUpperCase()==="AM/PM"){if(f!=null)m.v=f.H>=12?"PM":"AM";m.t="T";s+=5;d="h"}else{m.t="t";++s}if(f==null&&m.t==="T")return"";n[n.length]=m;l=o;break;case"[":i=o;while(e.charAt(s++)!=="]"&&s<e.length)i+=e.charAt(s);if(i.slice(-1)!=="]")throw'unterminated "[" block: |'+i+"|";if(i.match(A)){if(f==null){f=b(r,t);if(f==null)return""}n[n.length]={t:"Z",v:i.toLowerCase()};l=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(f!=null){i=o;while(++s<e.length&&(o=e.charAt(s))==="0")i+=o;n[n.length]={t:"s",v:i};break};case"0":;case"#":i=o;while(++s<e.length&&"0#?.,E+-%".indexOf(o=e.charAt(s))>-1||o=="\\"&&e.charAt(s+
sjs:"http://schemas.openxmlformats.org/package/2006/sheetjs/core-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",xsd:"http://www.w3.org/2001/XMLSchema"};He.main=["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"];var We={o:"urn:schemas-microsoft-com:office:office",x:"urn:schemas-microsoft-com:office:excel",ss:"urn:schemas-microsoft-com:office:spreadsheet",dt:"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882",mv:"http://macVmlSchemaUri",v:"urn:schemas-microsoft-com:vml",html:"http://www.w3.org/TR/REC-html40"};function ze(e,r){var t=1-2*(e[r+7]>>>7);var a=((e[r+7]&127)<<4)+(e[r+6]>>>4&15);var n=e[r+6]&15;for(var i=5;i>=0;--i)n=n*256+e[r+i];if(a==2047)return n==0?t*Infinity:NaN;if(a==0)a=-1022;else{a-=1023;n+=Math.pow(2,52)}return t*Math.pow(2,a-52)*n}function Ve(e,r,t){var a=(r<0||1/r==-Infinity?1:0)<<7,n=0,i=0;var s=a?-r:r;if(!isFinite(s)){n=2047;i=isNaN(r)?26985:0}else if(s==0)n=i=0;else{n=Math.floor(Math.log(s)/Math.LN2);i=s*Math.pow(2,52-n);if(n<=-1023&&(!isFinite(i)||i<Math.pow(2,52))){n=-1022}else{i-=Math.pow(2,52);n+=1023}}for(var o=0;o<=5;++o,i/=256)e[t+o]=i&255;e[t+6]=(n&15)<<4|i&15;e[t+7]=n>>4|a}var Xe,Ge;Xe=Ge=function Lp(e){var r=[];for(var t=0;t<e[0].length;++t){r.push.apply(r,e[0][t])}return r};var je,Ke;je=Ke=function Mp(e,r,t){var a=[];for(var n=r;n<t;n+=2)a.push(String.fromCharCode(cr(e,n)));return a.join("")};var Ye=function(e,r,t){var a=[];for(var n=r;n<r+t;++n)a.push(("0"+e[n].toString(16)).slice(-2));return a.join("")};var $e=Ye;var Ze,Qe;Ze=Qe=function(e,r,t){var a=[];for(var n=r;n<t;n++)a.push(String.fromCharCode(fr(e,n)));return a.join("")};var Je,qe;Je=qe=function Up(e,r){var t=hr(e,r);return t>0?Ze(e,r+4,r+4+t-1):""};var er,rr;er=rr=function Hp(e,r){var t=2*hr(e,r);return t>0?Ze(e,r+4,r+4+t-1):""};var tr,ar;tr=ar=function Wp(e,r){var t=hr(e,r);return t>0?je(e,r+4,r+4+t):""};var nr,ir;nr=ir=function zp(e,r){var t=hr(e,r);return t>0?Ze(e,r+4,r+4+t):""};var sr,or;sr=or=function(e,r){return ze(e,r)};var lr=function Vp(e){return Array.isArray(e)};if(d){je=function Xp(e,r,t){if(!Buffer.isBuffer(e))return Ke(e,r,t);return e.toString("utf16le",r,t)};Ye=function(e,r,t){return Buffer.isBuffer(e)?e.toString("hex",r,r+t):$e(e,r,t)};Je=function Gp(e,r){if(!Buffer.isBuffer(e))return qe(e,r);var t=e.readUInt32LE(r);return t>0?e.toString("utf8",r+4,r+4+t-1):""};er=function jp(e,r){if(!Buffer.isBuffer(e))return rr(e,r);var t=2*e.readUInt32LE(r);return e.toString("utf16le",r+4,r+4+t-1)};tr=function Kp(e,r){if(!Buffer.isBuffer(e))return ar(e,r);var t=e.readUInt32LE(r);return e.toString("utf16le",r+4,r+4+t)};nr=function Yp(e,r){if(!Buffer.isBuffer(e))return ir(e,r);var t=e.readUInt32LE(r);return e.toString("utf8",r+4,r+4+t)};Ze=function $p(e,r,t){return e.toString("utf8",r,t)};Xe=function(e){return e[0].length>0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0]):Ge(e)};b=function(e){return Buffer.isBuffer(e[0])?Buffer.concat(e):[].concat.apply([],e)};sr=function Zp(e,r){if(Buffer.isBuffer(e))return e.readDoubleLE(r);return or(e,r)};lr=function Qp(e){return Buffer.isBuffer(e)||Array.isArray(e)}}if(typeof cptable!=="undefined"){je=function(e,r,t){return cptable.utils.decode(1200,e.slice(r,t))};Ze=function(e,r,t){return cptable.utils.decode(65001,e.slice(r,t))};Je=function(e,r){var a=hr(e,r);return a>0?cptable.utils.decode(t,e.slice(r+4,r+4+a-1)):""};er=function(e,r){var t=2*hr(e,r);return t>0?cptable.utils.decode(1200,e.slice(r+4,r+4+t-1)):""};tr=function(e,r){var t=hr(e,r);return t>0?cptable.utils.decode(1200,e.slice(r+4,r+4+t)):""};nr=function(e,r){var t=hr(e,r);return t>0?cptable.utils.decode(65001,e.slice(r+4,r+4+t)):""}}var fr=function(e,r){return e[r]};var cr=function(e,r){return e[r+1]*(1<<8)+e[r]};var ur=function(e,r){var t=e[r+1]*(1<<8)+e[r];return t<32768?t:(65535-t+1)*-1};var hr=function(e,r){return e[r+3]*(1<<24)+(e[r+2]<<16)+(e[r+1]<<8)+e[r]};var dr=function(e,r){return e[
},a,n);if(e.ModifiedDate!=null)Ta("dcterms:modified",typeof e.ModifiedDate==="string"?e.ModifiedDate:Me(e.ModifiedDate,t.WTF),{"xsi:type":"dcterms:W3CDTF"},a,n)}for(var i=0;i!=wa.length;++i){var s=wa[i];var o=t.Props&&t.Props[s[1]]!=null?t.Props[s[1]]:e?e[s[1]]:null;if(o===true)o="1";else if(o===false)o="0";else if(typeof o=="number")o=String(o);if(o!=null)Ta(s[0],o,null,a,n)}if(a.length>2){a[a.length]="</cp:coreProperties>";a[1]=a[1].replace("/>",">")}return a.join("")}var Ia=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]];He.EXT_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties";fa.EXT_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties";function Aa(e,r,t){var a={};if(!r)r={};Ia.forEach(function(t){switch(t[2]){case"string":r[t[1]]=(e.match(Ae(t[0]))||[])[1];break;case"bool":r[t[1]]=(e.match(Ae(t[0]))||[])[1]==="true";break;case"raw":var n=e.match(new RegExp("<"+t[0]+"[^>]*>([\\s\\S]*?)</"+t[0]+">"));if(n&&n.length>0)a[t[1]]=n[1];break;}});if(a.HeadingPairs&&a.TitlesOfParts){var n=Oe(a.HeadingPairs,t);var i=Oe(a.TitlesOfParts,t).map(function(e){return e.v});var s=0,o=0;if(i.length>0)for(var l=0;l!==n.length;l+=2){o=+n[l+1].v;switch(n[l].v){case"Worksheets":;case"工作表":;case"Листы":;case"أوراق العمل":;case"ワークシート":;case"גליונות עבודה":;case"Arbeitsblätter":;case"Çalışma Sayfaları":;case"Feuilles de calcul":;case"Fogli di lavoro":;case"Folhas de cálculo":;case"Planilhas":;case"Regneark":;case"Werkbladen":r.Worksheets=o;r.SheetNames=i.slice(s,s+o);break;case"Named Ranges":;case"名前付き一覧":;case"Benannte Bereiche":;case"Navngivne områder":r.NamedRanges=o;r.DefinedNames=i.slice(s,s+o);break;case"Charts":;case"Diagramme":r.Chartsheets=o;r.ChartNames=i.slice(s,s+o);break;}s+=o}}return r}var ya=Le("Properties",null,{xmlns:He.EXT_PROPS,"xmlns:vt":He.vt});function Ra(e,r){var t=[],a={},n=Le;if(!e)e={};e.Application="SheetJS";t[t.length]=se;t[t.length]=ya;Ia.forEach(function(r){if(e[r[1]]===undefined)return;var a;switch(r[2]){case"string":a=String(e[r[1]]);break;case"bool":a=e[r[1]]?"true":"false";break;}if(a!==undefined)t[t.length]=n(r[0],a)});t[t.length]=n("HeadingPairs",n("vt:vector",n("vt:variant","<vt:lpstr>Worksheets</vt:lpstr>")+n("vt:variant",n("vt:i4",String(e.Worksheets))),{size:2,baseType:"variant"}));t[t.length]=n("TitlesOfParts",n("vt:vector",e.SheetNames.map(function(e){return"<vt:lpstr>"+ge(e)+"</vt:lpstr>"}).join(""),{size:e.Worksheets,baseType:"lpstr"}));if(t.length>2){t[t.length]="</Properties>";t[1]=t[1].replace("/>",">")}return t.join("")}He.CUST_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/custom-properties";fa.CUST_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties";var Da=/<[^>]+>[^<]*/g;function Oa(e,r){var t={},a="";var n=e.match(Da);if(n)for(var i=0;i!=n.length;++i){var s=n[i],o=ue(s);switch(o[0]){case"<?xml":break;case"<Properties":break;case"<property":a=o.name;break;case"</property>":a=null;break;default:if(s.indexOf("<vt:")===0){var l=s.split(">");var f=l[0].substring(4),c=l[1];switch(f){case"lpstr":;case"bstr":;case"lpwstr":t[a]=pe(c);break;case"bool":t[a]=Ce(c,"<vt:bool>");break;case"i1":;case"i2":;case"i4":;case"i8":;case"int":;case"uint":t[a]=parseInt(c,10);break;case"r4":;case"r8":;case"decimal":t[a]=parseFloat(c);break;case"filetime":;case"date":t[a]=H(c);break;case"cy":;case"error":t[a]=pe(c);break;default:if(f.slice(-1)=="/")break;if(r.WTF&&typeof console!=="undefined")console.warn("Unexpected",s,f,l);}}else if(s.substr(0,2)==="</"){}else if(r.WTF)throw new Error(s);}}return t}var Fa=Le("Properties",null,{xmlns:He.CUST_PROPS,"xmlns:vt":He.vt});f
}function t(r,t){var a=e(r,t);var n=a[0],i=a[1];var s=rt(n,t);I(i).forEach(function(e){s[e]=i[e]});return s}function a(e,r){return et(t(e,r),r)}function n(e,r,t,a,n){var i="C;Y"+(t+1)+";X"+(a+1)+";K";switch(e.t){case"n":i+=e.v||0;if(e.f&&!e.F)i+=";E"+ff(e.f,{r:t,c:a});break;case"b":i+=e.v?"TRUE":"FALSE";break;case"e":i+=e.w||e.v;break;case"d":i+='"'+(e.w||e.v)+'"';break;case"s":i+='"'+e.v.replace(/"/g,"")+'"';break;}return i}function i(e,r){r.forEach(function(r,t){var a="F;W"+(t+1)+" "+(t+1)+" ";if(r.hidden)a+="0";else{if(typeof r.width=="number")r.wpx=go(r.width);if(typeof r.wpx=="number")r.wch=Eo(r.wpx);if(typeof r.wch=="number")a+=Math.round(r.wch)}if(a.charAt(a.length-1)!=" ")e.push(a)})}function s(e,r){r.forEach(function(r,t){var a="F;";if(r.hidden)a+="M0;";else if(r.hpt)a+="M"+20*r.hpt+";";else if(r.hpx)a+="M"+20*Ao(r.hpx)+";";if(a.length>2)e.push(a+"R"+(t+1))})}function o(e,r){var t=["ID;PWXL;N;E"],a=[];var o=$r(e["!ref"]),l;var f=Array.isArray(e);var c="\r\n";t.push("P;PGeneral");t.push("F;P0;DG0G8;M255");if(e["!cols"])i(t,e["!cols"]);if(e["!rows"])s(t,e["!rows"]);t.push("B;Y"+(o.e.r-o.s.r+1)+";X"+(o.e.c-o.s.c+1)+";D"+[o.s.c,o.s.r,o.e.c,o.e.r].join(" "));for(var u=o.s.r;u<=o.e.r;++u){for(var h=o.s.c;h<=o.e.c;++h){var d=jr({r:u,c:h});l=f?(e[u]||[])[h]:e[d];if(!l||l.v==null&&(!l.f||l.F))continue;a.push(n(l,e,u,h,r))}}return t.join(c)+c+a.join(c)+c+"E"+c}return{to_workbook:a,to_sheet:t,from_sheet:o}}();var ms=function(){function e(e,t){switch(t.type){case"base64":return r(h.decode(e),t);case"binary":return r(e,t);case"buffer":return r(e.toString("binary"),t);case"array":return r(W(e),t);}throw new Error("Unrecognized type "+t.type)}function r(e,r){var t=e.split("\n"),a=-1,n=-1,i=0,s=[];for(;i!==t.length;++i){if(t[i].trim()==="BOT"){s[++a]=[];n=0;continue}if(a<0)continue;var o=t[i].trim().split(",");var l=o[0],f=o[1];++i;var c=t[i].trim();switch(+l){case-1:if(c==="BOT"){s[++a]=[];n=0;continue}else if(c!=="EOD")throw new Error("Unrecognized DIF special command "+c);break;case 0:if(c==="TRUE")s[a][n]=true;else if(c==="FALSE")s[a][n]=false;else if(!isNaN(G(f)))s[a][n]=G(f);else if(!isNaN(j(f).getDate()))s[a][n]=H(f);else s[a][n]=f;++n;break;case 1:c=c.substr(1,c.length-2);s[a][n++]=c!==""?c:null;break;}if(c==="EOD")break}return s}function t(r,t){return rt(e(r,t),t)}function a(e,r){return et(t(e,r),r)}var n=function(){var e=function t(e,r,a,n,i){e.push(r);e.push(a+","+n);e.push('"'+i.replace(/"/g,'""')+'"')};var r=function a(e,r,t,n){e.push(r+","+t);e.push(r==1?'"'+n.replace(/"/g,'""')+'"':n)};return function n(t,a){var n=[];var i=$r(t["!ref"]),s;var o=Array.isArray(t);e(n,"TABLE",0,1,"sheetjs");e(n,"VECTORS",0,i.e.r-i.s.r+1,"");e(n,"TUPLES",0,i.e.c-i.s.c+1,"");e(n,"DATA",0,0,"");for(var l=i.s.r;l<=i.e.r;++l){r(n,-1,0,"BOT");for(var f=i.s.c;f<=i.e.c;++f){var c=jr({r:l,c:f});s=o?(t[l]||[])[f]:t[c];if(!s){r(n,1,0,"");continue}switch(s.t){case"n":var h=u?s.w:s.v;if(!h&&s.v!=null)h=s.v;if(h==null){if(u&&s.f&&!s.F)r(n,1,0,"="+s.f);else r(n,1,0,"")}else r(n,0,h,"V");break;case"b":r(n,0,s.v?1:0,s.v?"TRUE":"FALSE");break;case"s":r(n,1,0,!u||isNaN(s.v)?s.v:'="'+s.v+'"');break;case"d":if(!s.w)s.w=E.format(s.z||E._table[14],P(H(s.v)));if(u)r(n,0,s.w,"V");else r(n,1,0,s.w);break;default:r(n,1,0,"");}}}r(n,-1,0,"EOD");var d="\r\n";var v=n.join(d);return v}}();return{to_workbook:a,to_sheet:t,from_sheet:n}}();var gs=function(){function e(e,r,t,a,n){if(n.raw)r[t][a]=e;else if(e==="TRUE")r[t][a]=true;else if(e==="FALSE")r[t][a]=false;else if(e===""){}else if(!isNaN(G(e)))r[t][a]=G(e);else if(!isNaN(j(e).getDate()))r[t][a]=H(e);else r[t][a]=e}function r(r,t){var a=t||{};var n=[];if(!r||r.length===0)return n;var i=r.split(/[\r\n]/);var s=i.length-1;while(s>=0&&i[s].length===0)--s;var o=10,l=0;var f=0;for(;f<=s;++f){l=i[f].indexOf(" ");if(l==-1)l=i[f].length;else l++;o=Math.max(o,l)}for(f=0;f<=s;++f){n[f]=[];var c=0;e(i[f].slice(0,o).trim(),n,f,c,a);for(c=1;c<=(i[f].length-o)/10+1;++c)e(i[f].slice(o+(c-1)*10,o+c*10).trim(),n,f,c,a)}return n}function t(e){var r=[],t=false,a=0,n=0;for(;a<e.length;++a){if((n=e.charCodeAt(a))==34)t=!t;else if(
if(a=Ho(r.cellXfs))t[t.length]=a;t[t.length]='<cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0"/></cellStyles>';t[t.length]='<dxfs count="0"/>';t[t.length]='<tableStyles count="0" defaultTableStyle="TableStyleMedium9" defaultPivotStyle="PivotStyleMedium4"/>';if(t.length>2){t[t.length]="</styleSheet>";t[1]=t[1].replace("/>",">")}return t.join("")}function Xo(e,r){var t=e._R(2);var a=at(e,r-2);return[t,a]}function Go(e,r,t){if(!t)t=Tr(6+4*r.length);t._W(2,e);nt(r,t);return t.length>t.l?t.slice(0,t.l):t}function jo(e,r,t){var a={};a.sz=e._R(2)/20;var n=Ot(e,2,t);if(n.fCondense)a.condense=1;if(n.fExtend)a.extend=1;if(n.fShadow)a.shadow=1;if(n.fOutline)a.outline=1;if(n.fStrikeout)a.strike=1;if(n.fItalic)a.italic=1;var i=e._R(2);if(i===700)a.bold=1;switch(e._R(2)){case 1:a.vertAlign="superscript";break;case 2:a.vertAlign="subscript";break;}var s=e._R(1);if(s!=0)a.underline=s;var o=e._R(1);if(o>0)a.family=o;var l=e._R(1);if(l>0)a.charset=l;e.l++;a.color=Rt(e,8);switch(e._R(1)){case 1:a.scheme="major";break;case 2:a.scheme="minor";break;}a.name=at(e,r-21);return a}function Ko(e,r){if(!r)r=Tr(25+4*32);r._W(2,e.sz*20);Ft(e,r);r._W(2,e.bold?700:400);var t=0;if(e.vertAlign=="superscript")t=1;else if(e.vertAlign=="subscript")t=2;r._W(2,t);r._W(1,e.underline||0);r._W(1,e.family||0);r._W(1,e.charset||0);r._W(1,0);Dt(e.color,r);var a=0;if(e.scheme=="major")a=1;if(e.scheme=="minor")a=2;r._W(1,a);nt(e.name,r);return r.length>r.l?r.slice(0,r.l):r}var Yo=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];var $o=y(Yo);var Zo=Br;function Qo(e,r){if(!r)r=Tr(4*3+8*7+16*1);var t=$o[e.patternType];if(t==null)t=40;r._W(4,t);var a=0;if(t!=40){Dt({auto:1},r);Dt({auto:1},r);for(;a<12;++a)r._W(4,0)}else{for(;a<4;++a)r._W(4,0);for(;a<12;++a)r._W(4,0)}return r.length>r.l?r.slice(0,r.l):r}function Jo(e,r){var t=e._R(2);var a=e._R(2);Br(e,r-4);return{ixfe:t,numFmtId:a}}function qo(e,r,t){if(!t)t=Tr(16);t._W(2,r||0);t._W(2,e.numFmtId||0);t._W(2,0);t._W(2,0);t._W(2,0);t._W(1,0);t._W(1,0);t._W(1,0);t._W(1,0);t._W(1,0);t._W(1,0);return t}function el(e,r){if(!r)r=Tr(10);r._W(1,0);r._W(1,0);r._W(4,0);r._W(4,0);return r}var rl=Br;function tl(e,r){if(!r)r=Tr(51);r._W(1,0);el(null,r);el(null,r);el(null,r);el(null,r);el(null,r);return r.length>r.l?r.slice(0,r.l):r}function al(e,r){if(!r)r=Tr(12+4*10);r._W(4,e.xfId);r._W(2,1);r._W(1,+e.builtinId);r._W(1,0);bt(e.name||"",r);return r.length>r.l?r.slice(0,r.l):r}function nl(e,r,t){var a=Tr(4+256*2*4);a._W(4,e);bt(r,a);bt(t,a);return a.length>a.l?a.slice(0,a.l):a}function il(e,r,t){var a={};a.NumberFmt=[];for(var n in E._table)a.NumberFmt[n]=E._table[n];a.CellXf=[];a.Fonts=[];var i=[];var s=false;xr(e,function o(e,n,l){switch(l){case 44:a.NumberFmt[e[0]]=e[1];E.load(e[1],e[0]);break;case 43:a.Fonts.push(e);if(e.color.theme!=null&&r&&r.themeElements&&r.themeElements.clrScheme){e.color.rgb=ho(r.themeElements.clrScheme[e.color.theme].rgb,e.color.tint||0)}break;case 1025:break;case 45:break;case 46:break;case 47:if(i[i.length-1]=="BrtBeginCellXFs"){a.CellXf.push(e)}break;case 48:;case 507:;case 572:;case 475:break;case 1171:;case 2102:;case 1130:;case 512:;case 2095:break;case 35:s=true;break;case 36:s=false;break;case 37:i.push(n);break;case 38:i.pop();break;default:if((n||"").indexOf("Begin")>0)i.push(n);else if((n||"").indexOf("End")>0)i.pop();else if(!s||t.WTF)throw new Error("Unexpected record "+l+" "+n);}});return a}function sl(e,r){if(!r)return;var t=0;[[5,8],[23,26],[41,44],[50,392]].forEach(function(e){for(var a=e[0];a<=e[1];++a)if(r[a]!=null)++t});if(t==0)return;Ar(e,"BrtBeginFmts",tt(t));[[5,8],[23,26],[41,44],[50,392]].forEach(function(t){for(var a=t[0];a<=t[1];++a)if(r[a]!=null)Ar(e,"BrtFmt",Go(a,r[a]))});Ar(e,"BrtEndFmts")}function ol(e,r){var t=1;if(t==0)return;Ar(e,"BrtBeginFonts",tt(t));Ar(e,"BrtFont",Ko({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}));Ar(e,"BrtEndFonts")}function ll(e,r){va
var yc={1:{n:"PtgExp",f:jf},2:{n:"PtgTbl",f:Ac},3:{n:"PtgAdd",f:lc},4:{n:"PtgSub",f:Bc},5:{n:"PtgMul",f:mc},6:{n:"PtgDiv",f:fc},7:{n:"PtgPower",f:Sc},8:{n:"PtgConcat",f:Gf},9:{n:"PtgLt",f:pc},10:{n:"PtgLe",f:vc},11:{n:"PtgEq",f:cc},12:{n:"PtgGe",f:uc},13:{n:"PtgGt",f:hc},14:{n:"PtgNe",f:gc},15:{n:"PtgIsect",f:dc},16:{n:"PtgUnion",f:_c},17:{n:"PtgRange",f:wc},18:{n:"PtgUplus",f:Tc},19:{n:"PtgUminus",f:Cc},20:{n:"PtgPercent",f:kc},21:{n:"PtgParen",f:Ec},22:{n:"PtgMissArg",f:bc},23:{n:"PtgStr",f:Qf},28:{n:"PtgErr",f:Kf},29:{n:"PtgBool",f:$f},30:{n:"PtgInt",f:Yf},31:{n:"PtgNum",f:Zf},32:{n:"PtgArray",f:If},33:{n:"PtgFunc",f:Wf},34:{n:"PtgFuncVar",f:zf},35:{n:"PtgName",f:rc},36:{n:"PtgRef",f:Mf},37:{n:"PtgArea",f:Bf},38:{n:"PtgMemArea",f:nc},39:{n:"PtgMemErr",f:xc},40:{n:"PtgMemNoMem",f:Ic},41:{n:"PtgMemFunc",f:ic},42:{n:"PtgRefErr",f:sc},43:{n:"PtgAreaErr",f:_f},44:{n:"PtgRefN",f:Uf},45:{n:"PtgAreaN",f:xf},57:{n:"PtgNameX",f:tc},58:{n:"PtgRef3d",f:Hf},59:{n:"PtgArea3d",f:Cf},60:{n:"PtgRefErr3d",f:oc},61:{n:"PtgAreaErr3d",f:Tf},255:{}};var Rc={64:32,96:32,65:33,97:33,66:34,98:34,67:35,99:35,68:36,100:36,69:37,101:37,70:38,102:38,71:39,103:39,72:40,104:40,73:41,105:41,74:42,106:42,75:43,107:43,76:44,108:44,77:45,109:45,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61};(function(){for(var e in Rc)yc[e]=yc[Rc[e]]})();var Dc={};var Oc={1:{n:"PtgAttrSemi",f:Ff},2:{n:"PtgAttrIf",f:Df},4:{n:"PtgAttrChoose",f:yf},8:{n:"PtgAttrGoto",f:Rf},16:{n:"PtgAttrSum",f:Xf},32:{n:"PtgAttrBaxcel",f:Af},64:{n:"PtgAttrSpace",f:Nf},65:{n:"PtgAttrSpaceSemi",f:Lf},128:{n:"PtgAttrIfError",f:Of},255:{}};function Fc(e,r,t){var a=e.l+r;var n=An(e,6);if(t.biff==2)++e.l;var i=Pc(e,8);var s=e._R(1);if(t.biff!=2){e._R(1);if(t.biff>=5){var o=e._R(4)}}var l=Mc(e,a-e.l,t);return{cell:n,val:i[0],formula:l,shared:s>>3&1,tt:i[1]}}function Pc(e){var r;if(cr(e,e.l+6)!==65535)return[xt(e),"n"];switch(e[e.l]){case 0:e.l+=8;return["String","s"];case 1:r=e[e.l+2]===1;e.l+=8;return[r,"b"];case 2:r=e[e.l+2];e.l+=8;return[r,"e"];case 3:e.l+=8;return["","s"];}return[]}function Nc(e,r,t,a){if(a.biff<8)return Br(e,r);var n=e.l+r;var i=[];for(var s=0;s!==t.length;++s){switch(t[s][0]){case"PtgArray":t[s][1]=ec(e,0,a);i.push(t[s][1]);break;case"PtgMemArea":t[s][2]=qf(e,t[s][1]);i.push(t[s][2]);break;case"PtgExp":if(a&&a.biff==12){t[s][1][1]=e._R(4);i.push(t[s][1])}break;default:break;}}r=n-e.l;if(r!==0)i.push(Br(e,r));return i}function Lc(e,r,t,a){var n=e.l+r;var i=Wc(e,a,t);var s;if(n!==e.l)s=Nc(e,n-e.l,i,t);return[i,s]}function Mc(e,r,t){var a=e.l+r,n=t.biff==2?1:2;var i,s=e._R(n);if(s==65535)return[[],Br(e,r-2)];var o=Wc(e,s,t);if(r!==s+n)i=Nc(e,r-s-n,o,t);return[o,i]}function Uc(e,r,t){var a=e.l+r;var n,i=e._R(2);var s=Wc(e,i,t);if(i==65535)return[[],Br(e,r-2)];if(r!==i+2)n=Nc(e,a-i-2,s,t);return[s,n]}function Hc(e,r,t,a){var n=e.l+r,i=t.biff==2?1:2;var s,o=e._R(i);if(o==65535)return[[],Br(e,r-2)];var l=Wc(e,o,t);if(r!==o+i)s=Nc(e,r-o-i,l,t);return[l,s]}function Wc(e,r,t){var a=e.l+r;var n,i,s=[];while(a!=e.l){r=a-e.l;i=e[e.l];n=yc[i];if(i===24||i===25){i=e[e.l+1];n=(i===24?Dc:Oc)[i]}if(!n||!n.f){Br(e,r)}else{s.push([n.n,n.f(e,r,t)])}}return s}function zc(e){var r=[];for(var t=0;t<e.length;++t){var a=e[t],n=[];for(var i=0;i<a.length;++i){var s=a[i];if(s)switch(s[0]){case 2:n.push('"'+s[1].replace(/"/g,'""')+'"');break;default:n.push(s[1]);}else n.push("")}r.push(n.join(","))}return r.join(";")}var Vc={PtgAdd:"+",PtgConcat:"&",PtgDiv:"/",PtgEq:"=",PtgGe:">=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function Xc(e){if(!e)return"";if(e.indexOf(" ")>-1)return"'"+e+"'";return e}function Gc(e,r,t){return e.SheetNames[r]}function jc(e,r,t){return Xc(Gc(e,r,t))}function Kc(e,r,t,a,n){var i={s:{c:0,r:0},e:{c:0,r:0}};var s=[],o,l,f,c,u=0,h=0,d,v="";if(!e[0]||!e[0][0])return"";var p=-1,b="";for(var m=0,g=e[0].length;m<g;++m){var E=e[0][m];switch(E[0]){case"PtgUminus":s.push("-"+s.pop());break;case"PtgUplus":s.push("+"+s.pop());break;case"PtgPercent":s.push(s.pop()+"%");break;case"PtgAdd":;case"PtgConcat":;case"PtgDiv":;case"PtgEq":;ca
var c=jr({c:f,r:l});if(a){if(!e[l])e[l]=[];if(!e[l][f])e[l][f]={t:"z",v:undefined};e[l][f].l=i}else{if(!e[c])e[c]={t:"z",v:undefined};e[c].l=i}}}}function Tu(e){var r={};["left","right","top","bottom","header","footer"].forEach(function(t){if(e[t])r[t]=parseFloat(e[t])});return r}function xu(e){uu(e);return Le("pageMargins",null,e)}function Iu(e,r){var t=false;for(var a=0;a!=r.length;++a){var n=ue(r[a],true);if(n.hidden)n.hidden=Ce(n.hidden);var i=parseInt(n.min,10)-1,s=parseInt(n.max,10)-1;delete n.min;delete n.max;n.width=+n.width;if(!t&&n.width){t=true;Co(n.width)}To(n);while(i<=s)e[i++]=V(n)}}function Au(e,r){var t=["<cols>"],a,n;for(var i=0;i!=r.length;++i){if(!(a=r[i]))continue;t[t.length]=Le("col",null,cu(i,a))}t[t.length]="</cols>";return t.join("")}function yu(e){var r={ref:(e.match(/ref="([^"]*)"/)||[])[1]};return r}function Ru(e){return Le("autoFilter",null,{ref:e.ref})}function Du(e,r,t,a){return Le("sheetViews",Le("sheetView",null,{workbookViewId:"0"}),{})}function Ou(e,r,t,a,n,i){if(e.v===undefined&&e.f===undefined||e.t==="z")return"";var s="";var o=e.t,l=e.v;switch(e.t){case"b":s=e.v?"1":"0";break;case"n":s=""+e.v;break;case"e":s=At[e.v];break;case"d":if(a.cellDates)s=H(e.v,-1).toISOString();else{e.t="n";s=""+(e.v=P(H(e.v)))}if(typeof e.z==="undefined")e.z=E._table[14];break;default:s=e.v;break;}var f=Pe("v",ge(s)),c={r:r};var u=hu(a.cellXfs,e,a);if(u!==0)c.s=u;switch(e.t){case"n":break;case"d":c.t="d";break;case"b":c.t="b";break;case"e":c.t="e";break;default:if(e.v==null){delete e.t;break}if(a.bookSST){f=Pe("v",""+fu(a.Strings,e.v));c.t="s";break}c.t="str";break;}if(e.t!=o){e.t=o;e.v=l}if(e.f){var h=e.F&&e.F.substr(0,r.length)==r?{t:"array",ref:e.F}:null;f=Le("f",ge(e.f),h)+(e.v!=null?f:"")}if(e.l)t["!links"].push([r,e.l]);if(e.c)t["!comments"].push([r,e.c]);return Le("c",f,c)}var Fu=function eb(){var e=/<(?:\w+:)?c[ >]/,r=/<\/(?:\w+:)?row>/;var t=/r=["']([^"']*)["']/,a=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/;var n=/ref=["']([^"']*)["']/;var i=Ae("v"),s=Ae("f");return function o(l,f,c,u,h,d){var v=0,p="",b=[],m=[],g=0,k=0,S=0,w="",B;var C,_=0,T=0;var x,I;var A=0,y=0;var R=Array.isArray(d.CellXf),D;var O=[];var F=[];var L=Array.isArray(f);var M=[],U={},W=false;for(var z=l.split(r),V=0,X=z.length;V!=X;++V){p=z[V].trim();var G=p.length;if(G===0)continue;for(v=0;v<G;++v)if(p.charCodeAt(v)===62)break;++v;C=ue(p.substr(0,v),true);_=C.r!=null?parseInt(C.r,10):_+1;T=-1;if(c.sheetRows&&c.sheetRows<_)continue;if(u.s.r>_-1)u.s.r=_-1;if(u.e.r<_-1)u.e.r=_-1;if(c&&c.cellStyles){U={};W=false;if(C.ht){W=true;U.hpt=parseFloat(C.ht);U.hpx=yo(U.hpt)}if(C.hidden=="1"){W=true;U.hidden=true}if(C.outlineLevel!=null){W=true;U.level=+C.outlineLevel}if(W)M[_-1]=U}b=p.substr(v).split(e);for(v=0;v!=b.length;++v){p=b[v].trim();if(p.length===0)continue;m=p.match(t);g=v;k=0;S=0;p="<c "+(p.substr(0,1)=="<"?">":"")+p;if(m!=null&&m.length===2){g=0;w=m[1];for(k=0;k!=w.length;++k){if((S=w.charCodeAt(k)-64)<1||S>26)break;g=26*g+S}--g;T=g}else++T;for(k=0;k!=p.length;++k)if(p.charCodeAt(k)===62)break;++k;C=ue(p.substr(0,k),true);if(!C.r)C.r=jr({r:_-1,c:T});w=p.substr(k);B={t:""};if((m=w.match(i))!=null&&m[1]!=="")B.v=pe(m[1]);if(c.cellFormula){if((m=w.match(s))!=null&&m[1]!==""){B.f=pe(_e(m[1])).replace(/_xlfn\./,"");if(m[0].indexOf('t="array"')>-1){B.F=(w.match(n)||[])[1];if(B.F.indexOf(":")>-1)O.push([Qr(B.F),B.F])}else if(m[0].indexOf('t="shared"')>-1){I=ue(m[0]);F[parseInt(I.si,10)]=[I,pe(_e(m[1]))]}}else if(m=w.match(/<f[^>]*\/>/)){I=ue(m[0]);if(F[I.si])B.f=uf(F[I.si][1],F[I.si][0].ref,C.r)}var j=Gr(C.r);for(k=0;k<O.length;++k)if(j.r>=O[k][0].s.r&&j.r<=O[k][0].e.r)if(j.c>=O[k][0].s.c&&j.c<=O[k][0].e.c)B.F=O[k][1]}if(C.t==null&&B.v===undefined){if(B.f||B.F){B.v=0;B.t="n"}else if(!c.sheetStubs)continue;else B.t="z"}else B.t=C.t||"n";if(u.s.c>g)u.s.c=g;if(u.e.c<g)u.e.c=g;switch(B.t){case"n":B.v=parseFloat(B.v);break;case"s":if(typeof B.v=="undefined"){if(!c.sheetStubs)continue;B.t="z"}else{x=ou[parseInt(B.v,10)];B.v=x.t;B.r=x.r;if(c.cellHTML)B.h=x.h}break;case"str":B.t="s";B.v=B.v!=null?_e(B.v):"";if(c.cellHTML)B.h=Se(B.v);break;case"inlin
return Pl(e,r,t)}function xd(e,r,t){if(r.slice(-4)===".bin")return Wl(e,r,t);return Hl(e,r,t)}function Id(e,r,t){return(r.slice(-4)===".bin"?bd:td)(e,t)}function Ad(e,r,t,a,n){return(r.slice(-4)===".bin"?Dh:Lu)(e,t,a,n)}function yd(e,r,t,a,n){return(r.slice(-4)===".bin"?Uh:Lh)(e,t,a,n)}function Rd(e,r,t){return(r.slice(-4)===".bin"?bl:Vo)(e,t)}function Dd(e,r,t){return(r.slice(-4)===".bin"?Ls:Ds)(e,t)}function Od(e,r,t){return(r.slice(-4)===".bin"?rf:$l)(e,t)}var Fd=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g;var Pd=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;var Nd=function(e){return String.fromCharCode(e)};function Ld(e,r){var t=e.split(/\s+/);var a=[];if(!r)a[0]=t[0];if(t.length===1)return a;var n=e.match(Fd),i,s,o,l;if(n)for(l=0;l!=n.length;++l){i=n[l].match(Pd);if((s=i[1].indexOf(":"))===-1)a[i[1]]=i[2].substr(1,i[2].length-2);else{if(i[1].substr(0,6)==="xmlns:")o="xmlns"+i[1].substr(6);else o=i[1].substr(s+1);a[o]=i[2].substr(1,i[2].length-2)}}return a}function Md(e){var r=e.split(/\s+/);var t={};if(r.length===1)return t;var a=e.match(Fd),n,i,s,o;if(a)for(o=0;o!=a.length;++o){n=a[o].match(Pd);if((i=n[1].indexOf(":"))===-1)t[n[1]]=n[2].substr(1,n[2].length-2);else{if(n[1].substr(0,6)==="xmlns:")s="xmlns"+n[1].substr(6);else s=n[1].substr(i+1);t[s]=n[2].substr(1,n[2].length-2)}}return t}function Ud(e,r){var t=S[e]||pe(e);if(t==="General")return E._general(r);return E.format(t,r)}function Hd(e,r,t,a){var n=a;switch((t[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":n=Ce(a);break;case"i2":;case"int":n=parseInt(a,10);break;case"r4":;case"float":n=parseFloat(a);break;case"date":;case"dateTime.tz":n=H(a);break;case"i8":;case"string":;case"fixed":;case"uuid":;case"bin.base64":break;default:throw new Error("bad custprop:"+t[0]);}e[pe(r[3])]=n}function Wd(e,r,t){if(e.t==="z")return;if(!t||t.cellText!==false)try{if(e.t==="e"){e.w=e.w||At[e.v]}else if(r==="General"){if(e.t==="n"){if((e.v|0)===e.v)e.w=E._general_int(e.v);else e.w=E._general_num(e.v)}else e.w=E._general(e.v)}else e.w=Ud(r||"General",e.v)}catch(a){if(t.WTF)throw a}try{var n=S[r]||r||"General";if(t.cellNF)e.z=n;if(t.cellDates&&e.t=="n"&&E.is_date(n)){var i=E.parse_date_code(e.v);if(i){e.t="d";e.v=new Date(i.y,i.m-1,i.d,i.H,i.M,i.S,i.u)}}}catch(a){if(t.WTF)throw a}}function zd(e,r,t){if(t.cellStyles){if(r.Interior){var a=r.Interior;if(a.Pattern)a.patternType=Ro[a.Pattern]||a.Pattern}}e[r.ID]=r}function Vd(e,r,t,a,n,i,s,o,l,f){var c="General",u=a.StyleID,h={};f=f||{};var d=[];var v=0;if(u===undefined&&o)u=o.StyleID;if(u===undefined&&s)u=s.StyleID;while(i[u]!==undefined){if(i[u].nf)c=i[u].nf;if(i[u].Interior)d.push(i[u].Interior);if(!i[u].Parent)break;u=i[u].Parent}switch(t.Type){case"Boolean":a.t="b";a.v=Ce(e);break;case"String":a.t="s";a.r=we(pe(e));a.v=e.indexOf("<")>-1?pe(r):a.r;break;case"DateTime":if(e.slice(-1)!="Z")e+="Z";a.v=(H(e)-new Date(Date.UTC(1899,11,30)))/(24*60*60*1e3);if(a.v!==a.v)a.v=pe(e);else if(a.v<60)a.v=a.v-1;if(!c||c=="General")c="yyyy-mm-dd";case"Number":if(a.v===undefined)a.v=+e;if(!a.t)a.t="n";break;case"Error":a.t="e";a.v=yt[e];if(f.cellText!==false)a.w=e;break;default:a.t="s";a.v=we(r||e);break;}Wd(a,c,f);if(f.cellFormula!==false){if(a.Formula){var p=pe(a.Formula);if(p.charCodeAt(0)==61)p=p.substr(1);a.f=of(p,n);delete a.Formula;if(a.ArrayRange=="RC")a.F=of("RC:RC",n);else if(a.ArrayRange){a.F=of(a.ArrayRange,n);l.push([Qr(a.F),a.F])}}else{for(v=0;v<l.length;++v)if(n.r>=l[v][0].s.r&&n.r<=l[v][0].e.r)if(n.c>=l[v][0].s.c&&n.c<=l[v][0].e.c)a.F=l[v][1]}}if(f.cellStyles){d.forEach(function(e){if(!h.patternType&&e.patternType)h.patternType=e.patternType});a.s=h}a.ixfe=a.StyleID!==undefined?a.StyleID:"Default"}function Xd(e){e.t=e.v||"";e.t=e.t.replace(/\r\n/g,"\n").replace(/\r/g,"\n");e.v=e.w=e.ixfe=undefined}function Gd(e){if(d&&Buffer.isBuffer(e))return e.toString("utf8");if(typeof e==="string")return e;throw new Error("Bad input format: expected Buffer or string")}var jd=/<(\/?)([^\s?>!\/:]*:|)([^\s?>]*[^\s?>\/])[^>]*>/gm;function Kd(e,r){var t=r||{};k(E);var a=l(Gd(e));if(t&&t.type=="binary"&&typeof cptable!=="unde
;case"TxO":F.lastobj.TxO=re;break;case"ImData":F.lastobj.ImData=re;break;case"HLink":{for(S=re[0].s.r;S<=re[0].e.r;++S)for(k=re[0].s.c;k<=re[0].e.c;++k){b=r.dense?(i[S]||[])[k]:i[jr({c:k,r:S})];if(b)b.l=re[1]}}break;case"HLinkTooltip":{for(S=re[0].s.r;S<=re[0].e.r;++S)for(k=re[0].s.c;k<=re[0].e.c;++k){b=r.dense?(i[S]||[])[k]:i[jr({c:k,r:S})];if(b)b.l.Tooltip=re[1]}}break;case"Note":{if(F.biff<=5&&F.biff>=2)break;b=r.dense?(i[re[0].r]||[])[re[0].c]:i[jr(re[0])];var ve=N[re[2]];if(!b)break;if(!b.c)b.c=[];m={a:re[1],t:ve.TxO.t};b.c.push(m)}break;default:switch(q.n){case"ClrtClient":break;case"XFExt":Fl(x[re.ixfe],re.ext);break;case"DefColWidth":U=re;break;case"DefaultRowHeight":H=re[1];break;case"ColInfo":{if(!F.cellStyles)break;while(re.e>=re.s){L[re.e--]={width:re.w/256};if(!W){W=true;Co(re.w/256)}To(L[re.e+1])}}break;case"Row":{var pe={};if(re.level!=null){M[re.r]=pe;pe.level=re.level}if(re.hidden){M[re.r]=pe;pe.hidden=true}if(re.hpt){M[re.r]=pe;pe.hpt=re.hpt;pe.hpx=yo(re.hpt)}}break;case"LeftMargin":;case"RightMargin":;case"TopMargin":;case"BottomMargin":if(!i["!margins"])uu(i["!margins"]={});i["!margins"][te.slice(0,-6).toLowerCase()]=re;break;case"Setup":if(!i["!margins"])uu(i["!margins"]={});i["!margins"].header=re.header;i["!margins"].footer=re.footer;break;case"Header":break;case"Footer":break;case"HCenter":break;case"VCenter":break;case"Pls":break;case"GCW":break;case"LHRecord":break;case"DBCell":break;case"EntExU2":break;case"SxView":break;case"Sxvd":break;case"SXVI":break;case"SXVDEx":break;case"SxIvd":break;case"SXString":break;case"Sync":break;case"Addin":break;case"SXDI":break;case"SXLI":break;case"SXEx":break;case"QsiSXTag":break;case"Selection":break;case"Feat":break;case"FeatHdr":;case"FeatHdr11":break;case"Feature11":;case"Feature12":;case"List12":break;case"Country":_=re;break;case"RecalcId":break;case"DxGCol":break;case"Fbi":;case"Fbi2":;case"GelFrame":break;case"Font":break;case"XFCRC":break;case"Style":break;case"StyleExt":break;case"Palette":I=re;break;case"Theme":break;case"ScenarioProtect":break;case"ObjProtect":break;case"CondFmt12":break;case"Table":break;case"TableStyles":break;case"TableStyle":break;case"TableStyleElement":break;case"SXStreamID":break;case"SXVS":break;case"DConRef":break;case"SXAddl":break;case"DConBin":break;case"DConName":break;case"SXPI":break;case"SxFormat":break;case"SxSelect":break;case"SxRule":break;case"SxFilt":break;case"SxItm":break;case"SxDXF":break;case"ScenMan":break;case"DCon":break;case"CellWatch":break;case"PrintRowCol":break;case"PrintGrid":break;case"PrintSize":break;case"XCT":break;case"CRN":break;case"Scl":{}break;case"SheetExt":{}break;case"SheetExtOptional":{}break;case"ObNoMacros":{}break;case"ObProj":{}break;case"CodeName":{}break;case"GUIDTypeLib":{}break;case"WOpt":break;case"PhoneticInfo":break;case"OleObjectSize":break;case"DXF":;case"DXFN":;case"DXFN12":;case"DXFN12List":;case"DXFN12NoCB":break;case"Dv":;case"DVal":break;case"BRAI":;case"Series":;case"SeriesText":break;case"DConn":break;case"DbOrParamQry":break;case"DBQueryExt":break;case"OleDbConn":break;case"ExtString":break;case"IFmtRecord":break;case"CondFmt":;case"CF":;case"CF12":;case"CFEx":break;case"Excel9File":break;case"Units":break;case"InterfaceHdr":;case"Mms":;case"InterfaceEnd":;case"DSF":break;case"BuiltInFnGroupCount":break;case"Window1":;case"Window2":;case"HideObj":;case"GridSet":;case"Guts":;case"UserBView":;case"UserSViewBegin":;case"UserSViewEnd":;case"Pane":break;default:switch(q.n){case"Dat":;case"Begin":;case"End":;case"StartBlock":;case"EndBlock":;case"Frame":;case"Area":;case"Axis":;case"AxisLine":;case"Tick":break;case"AxesUsed":;case"CrtLayout12":;case"CrtLayout12A":;case"CrtLink":;case"CrtLine":;case"CrtMlFrt":;case"CrtMlFrtContinue":break;case"LineFormat":;case"AreaFormat":;case"Chart":;case"Chart3d":;case"Chart3DBarShape":;case"ChartFormat":;case"ChartFrtInfo":break;case"PlotArea":;case"PlotGrowth":break;case"SeriesList":;case"SerParent":;case"SerAuxTrend":break;case"DataFormat":;case"SerToCrt":;case"FontX":break;case"CatSerRange":;case"AxcExt":;case"SerFmt":break;cas
n:"DocRoute"},185:{n:"RecipName"},189:{n:"MulRk",f:pi},190:{n:"MulBlank",f:bi},193:{n:"Mms",f:sn},197:{n:"SXDI"},198:{n:"SXDB"},199:{n:"SXFDB"},200:{n:"SXDBB"},201:{n:"SXNum"},202:{n:"SxBool",f:fn},203:{n:"SxErr"},204:{n:"SXInt"},205:{n:"SXString"},206:{n:"SXDtr"},207:{n:"SxNil"},208:{n:"SXTbl"},209:{n:"SXTBRGIITM"},210:{n:"SxTbpg"},211:{n:"ObProj"},213:{n:"SXStreamID"},215:{n:"DBCell"},216:{n:"SXRng"},217:{n:"SxIsxoper"},218:{n:"BookBool",f:un},220:{n:"DbOrParamQry"},221:{n:"ScenarioProtect",f:fn},222:{n:"OleObjectSize"},224:{n:"XF",f:ki},225:{n:"InterfaceHdr",f:Kn},226:{n:"InterfaceEnd",f:sn},227:{n:"SXVS"},229:{n:"MergeCells",f:Hi},233:{n:"BkHim"},235:{n:"MsoDrawingGroup"},236:{n:"MsoDrawing"},237:{n:"MsoDrawingSelection"},239:{n:"PhoneticInfo"},240:{n:"SxRule"},241:{n:"SXEx"},242:{n:"SxFilt"},244:{n:"SxDXF"},245:{n:"SxItm"},246:{n:"SxName"},247:{n:"SxSelect"},248:{n:"SXPair"},249:{n:"SxFmla"},251:{n:"SxFormat"},252:{n:"SST",f:Jn},253:{n:"LabelSst",f:oi},255:{n:"ExtSST",f:qn},256:{n:"SXVDEx"},259:{n:"SXFormula"},290:{n:"SXDBEx"},311:{n:"RRDInsDel"},312:{n:"RRDHead"},315:{n:"RRDChgCell"},317:{n:"RRTabId",f:dn},318:{n:"RRDRenSheet"},319:{n:"RRSort"},320:{n:"RRDMove"},330:{n:"RRFormat"},331:{n:"RRAutoFmt"},333:{n:"RRInsertSh"},334:{n:"RRDMoveBegin"},335:{n:"RRDMoveEnd"},336:{n:"RRDInsDelBegin"},337:{n:"RRDInsDelEnd"},338:{n:"RRDConflict"},339:{n:"RRDDefName"},340:{n:"RRDRstEtxp"},351:{n:"LRng"},352:{n:"UsesELFs",f:fn},353:{n:"DSF",f:sn},401:{n:"CUsr"},402:{n:"CbUsr"},403:{n:"UsrInfo"},404:{n:"UsrExcl"},405:{n:"FileLock"},406:{n:"RRDInfo"},407:{n:"BCUsrs"},408:{n:"UsrChk"},425:{n:"UserBView"},426:{n:"UserSViewBegin"},427:{n:"UserSViewEnd"},428:{n:"RRDUserView"},429:{n:"Qsi"},430:{n:"SupBook",f:Ii},431:{n:"Prot4Rev",f:fn},432:{n:"CondFmt"},433:{n:"CF"},434:{n:"DVal"},437:{n:"DConBin"},438:{n:"TxO",f:Xi},439:{n:"RefreshAll",f:fn},440:{n:"HLink",f:Gi},441:{n:"Lel"},442:{n:"CodeName",f:En},443:{n:"SXFDBType"},444:{n:"Prot4RevPass",f:un},445:{n:"ObNoMacros"},446:{n:"Dv"},448:{n:"Excel9File",f:sn},449:{n:"RecalcId",f:ti,r:2},450:{n:"EntExU2",f:sn},512:{n:"Dimensions",f:hi},513:{n:"Blank",f:ts},515:{n:"Number",f:_i},516:{n:"Label",f:li},517:{n:"BoolErr",f:Bi},518:{n:"Formula",f:Fc},519:{n:"String",f:ns},520:{n:"Row",f:ei},523:{n:"Index"},545:{n:"Array",f:Ni},549:{n:"DefaultRowHeight",f:ai},566:{n:"Table"},574:{n:"Window2",f:Br},638:{n:"RK",f:vi},659:{n:"Style",f:Br},1030:{n:"Formula",f:Fc},1048:{n:"BigName"},1054:{n:"Format",f:ci},1084:{n:"ContinueBigName"},1212:{n:"ShrFmla",f:Pi},2048:{n:"HLinkTooltip",f:ji},2049:{n:"WebPub"},2050:{n:"QsiSXTag"},2051:{n:"DBQueryExt"},2052:{n:"ExtString"},2053:{n:"TxtQry"},2054:{n:"Qsir"},2055:{n:"Qsif"},2056:{n:"RRDTQSIF"},2057:{n:"BOF",f:Gn},2058:{n:"OleDbConn"},2059:{n:"WOpt"},2060:{n:"SXViewEx"},2061:{n:"SXTH"},2062:{n:"SXPIEx"},2063:{n:"SXVDTEx"},2064:{n:"SXViewEx9"},2066:{n:"ContinueFrt"},2067:{n:"RealTimeData"},2128:{n:"ChartFrtInfo"},2129:{n:"FrtWrapper"},2130:{n:"StartBlock"},2131:{n:"EndBlock"},2132:{n:"StartObject"},2133:{n:"EndObject"},2134:{n:"CatLab"},2135:{n:"YMult"},2136:{n:"SXViewLink"},2137:{n:"PivotChartBits"},2138:{n:"FrtFontList"},2146:{n:"SheetExt"},2147:{n:"BookExt",r:12},2148:{n:"SXAddl"},2149:{n:"CrErr"},2150:{n:"HFPicture"},2151:{n:"FeatHdr",f:sn},2152:{n:"Feat"},2154:{n:"DataLabExt"},2155:{n:"DataLabExtContents"},2156:{n:"CellWatch"},2161:{n:"FeatHdr11"},2162:{n:"Feature11"},2164:{n:"DropDownObjIds"},2165:{n:"ContinueFrt11"},2166:{n:"DConn"},2167:{n:"List12"},2168:{n:"Feature12"},2169:{n:"CondFmt12"},2170:{n:"CF12"},2171:{n:"CFEx"},2172:{n:"XFCRC",f:Qi,r:12},2173:{n:"XFExt",f:Ol,r:12},2174:{n:"AutoFilter12"},2175:{n:"ContinueFrt12"},2180:{n:"MDTInfo"},2181:{n:"MDXStr"},2182:{n:"MDXTuple"},2183:{n:"MDXSet"},2184:{n:"MDXProp"},2185:{n:"MDXKPI"},2186:{n:"MDB"},2187:{n:"PLV"},2188:{n:"Compat12",f:fn,r:12},2189:{n:"DXF"},2190:{n:"TableStyles",r:12},2191:{n:"TableStyle"},2192:{n:"TableStyleElement"},2194:{n:"StyleExt",f:Br},2195:{n:"NamePublish"},2196:{n:"NameCmt",f:Fi,r:12},2197:{n:"SortData"},2198:{n:"Theme",f:xl,r:12},2199:{n:"GUIDTypeLib"},2200:{n:"FnGrp12"},2201:{n:"Na
var s=false;var o,l;if(i.workbooks.length===0){l="xl/workbook.xml";if(ee(e,l,true))i.workbooks.push(l)}if(i.workbooks.length===0){l="xl/workbook.bin";if(!ee(e,l,true))throw new Error("Could not find workbook");i.workbooks.push(l);s=true}if(i.workbooks[0].slice(-3)=="bin")s=true;if(s)n(1200);var f={};var c={};if(!r.bookSheets&&!r.bookProps){ou=[];if(i.sst)ou=Cd(ee(e,ep(i.sst)),i.sst,r);if(r.cellStyles&&i.themes.length)f=Bd(re(e,i.themes[0].replace(/^\//,""),true)||"",i.themes[0],r);if(i.style)c=wd(ee(e,ep(i.style)),i.style,f,r)}var u=i.links.map(function(t){return xd(ee(e,ep(t)),t,r)});var h=md(ee(e,ep(i.workbooks[0])),i.workbooks[0],r);var d={},v="";if(i.coreprops.length){v=re(e,ep(i.coreprops[0]),true);if(v)d=Ca(v);if(i.extprops.length!==0){v=re(e,ep(i.extprops[0]),true);if(v)Aa(v,d,r)}}var p={};if(!r.bookSheets||r.bookProps){if(i.custprops.length!==0){v=re(e,ep(i.custprops[0]),true);if(v)p=Oa(v,r)}}var b={};if(r.bookSheets||r.bookProps){if(h.Sheets)o=h.Sheets.map(function D(e){return e.name});else if(d.Worksheets&&d.SheetNames.length>0)o=d.SheetNames;if(r.bookProps){b.Props=d;b.Custprops=p}if(r.bookSheets&&typeof o!=="undefined")b.SheetNames=o;if(r.bookSheets?b.SheetNames:r.bookProps)return b}o={};var m={};if(r.bookDeps&&i.calcchain)m=Td(ee(e,ep(i.calcchain)),i.calcchain,r);var g=0;var S={};var w,B;{var C=h.Sheets;d.Worksheets=C.length;d.SheetNames=[];for(var _=0;_!=C.length;++_){d.SheetNames[_]=C[_].name}}var T=s?"bin":"xml";var x="xl/_rels/workbook."+T+".rels";var A=ua(re(e,x,true),x);if(A)A=Qv(A,h.Sheets);var y=ee(e,"xl/worksheets/sheet.xml",true)?1:0;for(g=0;g!=d.Worksheets;++g){var R="sheet";if(A&&A[g]){w="xl/"+A[g][1].replace(/[\/]?xl\//,"");R=A[g][2]}else{w="xl/worksheets/sheet"+(g+1-y)+"."+T;w=w.replace(/sheet0\./,"sheet.")}B=w.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels");Jv(e,w,B,d.SheetNames[g],S,o,R,r,h,f,c)}if(i.comments)Gl(e,i.comments,o,S,r);b={Directory:i,Workbook:h,Props:d,Custprops:p,Deps:m,Sheets:o,SheetNames:d.SheetNames,Strings:ou,Styles:c,Themes:f,SSF:E.get_table()};if(r.bookFiles){b.keys=t;b.files=e.files}if(r.bookVBA){if(i.vba.length>0)b.vbaraw=ee(e,ep(i.vba[0]),true);else if(i.defaults&&i.defaults.bin==="application/vnd.ms-office.vbaProject")b.vbaraw=ee(e,"xl/vbaProject.bin",true)}return b}function tp(e,r){var t="Version";var a=T.find(e,t);if(!a||!a.content)throw new Error("ECMA-376 Encrypted file missing "+t);var n=Hs(a.content);t="DataSpaceMap";a=T.find(e,t);if(!a||!a.content)throw new Error("ECMA-376 Encrypted file missing "+t);var i=zs(a.content);if(i.length!=1||i[0].comps.length!=1||i[0].comps[0].t!=0||i[0].name!="StrongEncryptionDataSpace"||i[0].comps[0].v!="EncryptedPackage")throw new Error("ECMA-376 Encrypted file bad "+t);t="StrongEncryptionDataSpace";a=T.find(e,t);if(!a||!a.content)throw new Error("ECMA-376 Encrypted file missing "+t);var s=Vs(a.content);if(s.length!=1||s[0]!="StrongEncryptionTransform")throw new Error("ECMA-376 Encrypted file bad "+t);t="!Primary";a=T.find(e,t);if(!a||!a.content)throw new Error("ECMA-376 Encrypted file missing "+t);var o=Gs(a.content);t="EncryptionInfo";a=T.find(e,t);if(!a||!a.content)throw new Error("ECMA-376 Encrypted file missing "+t);var l=Ys(a.content);throw new Error("File is password-protected")}function ap(e,r){Vl=1024;if(r.bookType=="ods")return Mv(e,r);if(e&&!e.SSF){e.SSF=E.get_table()}if(e&&e.SSF){k(E);E.load_table(e.SSF);r.revssf=R(e.SSF);r.revssf[e.SSF[65535]]=0;r.ssf=e.SSF}r.rels={};r.wbrels={};r.Strings=[];r.Strings.Count=0;r.Strings.Unique=0;var t=r.bookType=="xlsb"?"bin":"xml";var a=r.bookType=="xlsb"||r.bookType=="xlsm";var n=na();$v(r=r||{});var i=new ae;var s="",o=0;r.cellXfs=[];hu(r.cellXfs,{},{revssf:{General:0}});if(!e.Props)e.Props={};s="docProps/core.xml";i.file(s,xa(e.Props,r));n.coreprops.push(s);va(r.rels,2,s,fa.CORE_PROPS);s="docProps/app.xml";if(e.Props&&e.Props.SheetNames){}else if(!e.Workbook||!e.Workbook.Sheets)e.Props.SheetNames=e.SheetNames;else e.Props.SheetNames=e.SheetNames.map(function(r,t){return[(e.Workbook.Sheets[t]||{}).Hidden!=2,r]}).filter(function(e){return e[0]}).map(function(e){return e[1]});e.Props