sheetjs/xlsx.core.min.js

16 lines
421 KiB
JavaScript
Raw Normal View History

2016-12-31 08:11:36 +00:00
/* xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
2017-09-22 22:40:09 +00:00
var DO_NOT_EXPORT_CODEPAGE=true;var DO_NOT_EXPORT_JSZIP=true;(function(e){if("object"==typeof exports&&"undefined"!=typeof module&&"undefined"==typeof DO_NOT_EXPORT_JSZIP)module.exports=e();else if("function"==typeof define&&define.amd){JSZip=e();define([],e)}else{var r;"undefined"!=typeof window?r=window:"undefined"!=typeof global?r=global:"undefined"!=typeof $&&$.global?r=$.global:"undefined"!=typeof self&&(r=self),r.JSZip=e()}})(function(){var e,r,t;return function a(e,r,t){function n(s,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==
2017-09-30 06:19:01 +00:00
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+
}function Me(e){return I(e).map(function(r){return" "+r+'="'+e[r]+'"'}).join("")}function Ue(e,r,t){return"<"+e+(x(t)?Me(t):"")+(x(r)?(r.match(Ne)?' xml:space="preserve"':"")+">"+r+"</"+e:"/")+">"}function He(e,r){try{return e.toISOString().replace(/\.\d*/,"")}catch(t){if(r)throw t}return""}function We(e){switch(typeof e){case"string":return Ue("vt:lpwstr",e);case"number":return Ue((e|0)==e?"vt:i4":"vt:r8",String(e));case"boolean":return Ue("vt:bool",e?"true":"false");}if(e instanceof Date)return Ue("vt:filetime",He(e));throw new Error("Unable to serialize "+e)}var ze={dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",mx:"http://schemas.microsoft.com/office/mac/excel/2008/main",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",sjs:"http://schemas.openxmlformats.org/package/2006/sheetjs/core-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",xsd:"http://www.w3.org/2001/XMLSchema"};ze.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 Ve={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 Xe(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 Ge(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 je=function(e){var r=[];for(var t=0;t<e[0].length;++t){r.push.apply(r,e[0][t])}return r};var Ke=je;var Ye=function(e,r,t){var a=[];for(var n=r;n<t;n+=2)a.push(String.fromCharCode(hr(e,n)));return a.join("")};var $e=Ye;var Ze=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 Qe=Ze;var Je=function(e,r,t){var a=[];for(var n=r;n<t;n++)a.push(String.fromCharCode(ur(e,n)));return a.join("")};var qe=Je;var er=function(e,r){var t=vr(e,r);return t>0?Je(e,r+4,r+4+t-1):""};var rr=er;var tr=function(e,r){var t=2*vr(e,r);return t>0?Je(e,r+4,r+4+t-1):""};var ar=tr;var nr,ir;nr=ir=function Wp(e,r){var t=vr(e,r);return t>0?Ye(e,r+4,r+4+t):""};var sr=function(e,r){var t=vr(e,r);return t>0?Je(e,r+4,r+4+t):""};var or=sr;var lr,fr;lr=fr=function(e,r){return Xe(e,r)};var cr=function zp(e){return Array.isArray(e)};if(d){Ye=function(e,r,t){if(!Buffer.isBuffer(e))return $e(e,r,t);return e.toString("utf16le",r,t)};Ze=function(e,r,t){return Buffer.isBuffer(e)?e.toString("hex",r,r+t):Qe(e,r,t)};er=function Vp(e,r){if(!Buffer.isBuffer(e))return rr(e,r);var t=e.readUInt32LE(r);return t>0?e.toString("utf8",r+4,r+4+t-1):""};tr=function Xp(e,r){if(!Buffer.isBuffer(e))return ar(e,r);var t=2*e.readUInt32LE(r);return e.toString("utf16le",r+4,r+4+t-1)};nr=function Gp(e,r){if(!Buffer.isBuffer(e))return ir(e,r);var t=e.readUInt32LE(r);return e.toString("utf16le",r+4,r+4+t)};sr=function jp(e,r){if(!Buffer.isBuffer(e))return or(e,r);var t=e.readUInt32LE(r);return e.toString("utf8",r+4,r+4+t)};Je=function Kp(e,r,t){return Buffer.isBuffer(e)?e.toString("utf8",r,t):Je(e,r,t)};je=function(e){return e[0].length>0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0]):Ke(e)};b=function(e){return Buffer.isBuffer(e[0])?Buffer.concat(e):[].concat.apply([],e)};lr=function Yp(e,r){if(Buffer.isBuffer(e))return e.readDoubleLE(r);return fr(e,r)};cr=function $p(e){return Buf
for(var r=0;r<Ca.length;++r){var t=Ca[r];var a="(?:"+t[0].substr(0,t[0].indexOf(":"))+":)"+t[0].substr(t[0].indexOf(":")+1);e[r]=new RegExp("<"+a+"[^>]*>([\\s\\S]*?)</"+a+">")}return e}();function Ta(e){var r={};e=_e(e);for(var t=0;t<Ca.length;++t){var a=Ca[t],n=e.match(_a[t]);if(n!=null&&n.length>0)r[a[1]]=n[1];if(a[2]==="date"&&r[a[1]])r[a[1]]=H(r[a[1]])}return r}var xa=Ue("cp:coreProperties",null,{"xmlns:cp":ze.CORE_PROPS,"xmlns:dc":ze.dc,"xmlns:dcterms":ze.dcterms,"xmlns:dcmitype":ze.dcmitype,"xmlns:xsi":ze.xsi});function Ia(e,r,t,a,n){if(n[e]!=null||r==null||r==="")return;n[e]=r;a[a.length]=t?Ue(e,r,t):Le(e,r)}function Aa(e,r){var t=r||{};var a=[se,xa],n={};if(!e&&!t.Props)return a.join("");if(e){if(e.CreatedDate!=null)Ia("dcterms:created",typeof e.CreatedDate==="string"?e.CreatedDate:He(e.CreatedDate,t.WTF),{"xsi:type":"dcterms:W3CDTF"},a,n);if(e.ModifiedDate!=null)Ia("dcterms:modified",typeof e.ModifiedDate==="string"?e.ModifiedDate:He(e.ModifiedDate,t.WTF),{"xsi:type":"dcterms:W3CDTF"},a,n)}for(var i=0;i!=Ca.length;++i){var s=Ca[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)Ia(s[0],o,null,a,n)}if(a.length>2){a[a.length]="</cp:coreProperties>";a[1]=a[1].replace("/>",">")}return a.join("")}var ya=[["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"]];ze.EXT_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties";ua.EXT_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties";function Ra(e,r,t){var a={};if(!r)r={};e=_e(e);ya.forEach(function(t){switch(t[2]){case"string":r[t[1]]=(e.match(ye(t[0]))||[])[1];break;case"bool":r[t[1]]=(e.match(ye(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=Pe(a.HeadingPairs,t);var i=Pe(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 Da=Ue("Properties",null,{xmlns:ze.EXT_PROPS,"xmlns:vt":ze.vt});function Oa(e,r){var t=[],a={},n=Ue;if(!e)e={};e.Application="SheetJS";t[t.length]=se;t[t.length]=Da;ya.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("")}ze.CUST_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/custom-properties";ua.CUST_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties";var Fa=/<[^>]+>[^<]*/g;function Pa(e,r){var t={},a=
;}break;case"F":var w=0;for(s=1;s<m.length;++s)switch(m[s].charAt(0)){case"X":n=parseInt(m[s].substr(1))-1;++w;break;case"Y":a=parseInt(m[s].substr(1))-1;for(p=o.length;p<=a;++p)o[p]=[];break;case"M":v=parseInt(m[s].substr(1))/20;break;case"F":break;case"P":f=l[parseInt(m[s].substr(1))];break;case"S":break;case"D":break;case"N":break;case"W":d=m[s].substr(1).split(" ");for(p=parseInt(d[0],10);p<=parseInt(d[1],10);++p){v=parseInt(d[2],10);h[p-1]=v==0?{hidden:true}:{wch:v};Io(h[p-1])}break;case"C":n=parseInt(m[s].substr(1))-1;if(!h[n])h[n]={};break;case"R":a=parseInt(m[s].substr(1))-1;if(!u[a])u[a]={};if(v>0){u[a].hpt=v;u[a].hpx=Do(v)}else if(v==0)u[a].hidden=true;break;default:if(r&&r.WTF)throw new Error("SYLK bad record "+b);}if(w<1)f=null;break;default:if(r&&r.WTF)throw new Error("SYLK bad record "+b);}}if(u.length>0)c["!rows"]=u;if(h.length>0)c["!cols"]=h;return[o,c]}function t(r,t){var a=e(r,t);var n=a[0],i=a[1];var s=at(n,t);I(i).forEach(function(e){s[e]=i[e]});return s}function a(e,r){return tt(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"+uf(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=ko(r.width);if(typeof r.wpx=="number")r.wch=So(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*Ro(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=qr(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=Yr({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 Es=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 at(e(r,t),t)}function a(e,r){return tt(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=qr(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=Yr({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
var n=/<borders([^>]*)>[\S\s]*?<\/borders>/;return function i(s,o,l){var f={};if(!s)return f;s=s.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"");var c;if(c=s.match(e))Lo(c,f,l);if(c=s.match(a))No(c,f,o,l);if(c=s.match(t))Po(c,f,o,l);if(c=s.match(n))Fo(c,f,o,l);if(c=s.match(r))Wo(c,f,l);return f}}();var Xo=Ue("styleSheet",null,{xmlns:ze.main[0],"xmlns:vt":ze.vt});ua.STY="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles";function Go(e,r){var t=[se,Xo],a;if(e.SSF&&(a=Mo(e.SSF))!=null)t[t.length]=a;t[t.length]='<fonts count="1"><font><sz val="12"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font></fonts>';t[t.length]='<fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills>';t[t.length]='<borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders>';t[t.length]='<cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs>';if(a=zo(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 jo(e,r){var t=e._R(2);var a=it(e,r-2);return[t,a]}function Ko(e,r,t){if(!t)t=Ir(6+4*r.length);t._W(2,e);st(r,t);return t.length>t.l?t.slice(0,t.l):t}function Yo(e,r,t){var a={};a.sz=e._R(2)/20;var n=Pt(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=Ot(e,8);switch(e._R(1)){case 1:a.scheme="major";break;case 2:a.scheme="minor";break;}a.name=it(e,r-21);return a}function $o(e,r){if(!r)r=Ir(25+4*32);r._W(2,e.sz*20);Nt(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);Ft(e.color,r);var a=0;if(e.scheme=="major")a=1;if(e.scheme=="minor")a=2;r._W(1,a);st(e.name,r);return r.length>r.l?r.slice(0,r.l):r}var Zo=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];var Qo=y(Zo);var Jo=_r;function qo(e,r){if(!r)r=Ir(4*3+8*7+16*1);var t=Qo[e.patternType];if(t==null)t=40;r._W(4,t);var a=0;if(t!=40){Ft({auto:1},r);Ft({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 el(e,r){var t=e._R(2);var a=e._R(2);_r(e,r-4);return{ixfe:t,numFmtId:a}}function rl(e,r,t){if(!t)t=Ir(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 tl(e,r){if(!r)r=Ir(10);r._W(1,0);r._W(1,0);r._W(4,0);r._W(4,0);return r}var al=_r;function nl(e,r){if(!r)r=Ir(51);r._W(1,0);tl(null,r);tl(null,r);tl(null,r);tl(null,r);tl(null,r);return r.length>r.l?r.slice(0,r.l):r}function il(e,r){if(!r)r=Ir(12+4*10);r._W(4,e.xfId);r._W(2,1);r._W(1,+e.builtinId);r._W(1,0);gt(e.name||"",r);return r.length>r.l?r.slice(0,r.l):r}function sl(e,r,t){var a=Ir(4+256*2*4);a._W(4,e);gt(r,a);gt(t,a);return a.length>a.l?a.slice(0,a.l):a}function ol(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;Ar(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=po(r.them
switch(t.biff){case 2:e.l+=5;break;case 3:;case 4:e.l+=8;break;case 5:e.l+=12;break;}return[a,0,i]}function nc(e,r,t){if(t.biff==5)return ic(e,r,t);var a=e._R(1)>>>5&3;var n=e._R(2);var i=e._R(4);return[a,n,i]}function ic(e,r,t){var a=e._R(1)>>>5&3;var n=e._R(2,"i");e.l+=8;var i=e._R(2);e.l+=12;return[a,n,i]}function sc(e,r,t){var a=e._R(1)>>>5&3;e.l+=t&&t.biff==2?3:4;var n=e._R(t&&t.biff==2?1:2);return[a,n]}function oc(e,r,t){var a=e._R(1)>>>5&3;var n=e._R(t&&t.biff==2?1:2);return[a,n]}function lc(e,r,t){var a=e._R(1)>>>5&3;e.l+=4;if(t.biff==12)e.l+=2;return[a]}function fc(e,r,t){var a=(e[e.l++]&96)>>5;var n=e._R(2);var i=4;if(t)switch(t.biff){case 5:throw new Error("PtgRefErr3d -- 5");case 12:i=6;break;}e.l+=i;return[a,n]}var cc=bf;var uc=bf;var hc=bf;var dc=bf;var vc=bf;var pc=bf;var bc=bf;var mc=bf;var gc=bf;var Ec=bf;var kc=bf;var Sc=bf;var wc=bf;var Bc=bf;var Cc=bf;var _c=bf;var Tc=bf;var xc=bf;var Ic=bf;var Ac=_r;var yc=_r;var Rc=_r;var Dc={1:{n:"PtgExp",f:Yf},2:{n:"PtgTbl",f:Rc},3:{n:"PtgAdd",f:cc},4:{n:"PtgSub",f:_c},5:{n:"PtgMul",f:Ec},6:{n:"PtgDiv",f:uc},7:{n:"PtgPower",f:Bc},8:{n:"PtgConcat",f:Kf},9:{n:"PtgLt",f:mc},10:{n:"PtgLe",f:bc},11:{n:"PtgEq",f:hc},12:{n:"PtgGe",f:dc},13:{n:"PtgGt",f:vc},14:{n:"PtgNe",f:kc},15:{n:"PtgIsect",f:pc},16:{n:"PtgUnion",f:xc},17:{n:"PtgRange",f:Cc},18:{n:"PtgUplus",f:Ic},19:{n:"PtgUminus",f:Tc},20:{n:"PtgPercent",f:wc},21:{n:"PtgParen",f:Sc},22:{n:"PtgMissArg",f:gc},23:{n:"PtgStr",f:qf},28:{n:"PtgErr",f:$f},29:{n:"PtgBool",f:Qf},30:{n:"PtgInt",f:Zf},31:{n:"PtgNum",f:Jf},32:{n:"PtgArray",f:yf},33:{n:"PtgFunc",f:Vf},34:{n:"PtgFuncVar",f:Xf},35:{n:"PtgName",f:ac},36:{n:"PtgRef",f:Hf},37:{n:"PtgArea",f:_f},38:{n:"PtgMemArea",f:sc},39:{n:"PtgMemErr",f:Ac},40:{n:"PtgMemNoMem",f:yc},41:{n:"PtgMemFunc",f:oc},42:{n:"PtgRefErr",f:lc},43:{n:"PtgAreaErr",f:xf},44:{n:"PtgRefN",f:Wf},45:{n:"PtgAreaN",f:Af},57:{n:"PtgNameX",f:nc},58:{n:"PtgRef3d",f:zf},59:{n:"PtgArea3d",f:Tf},60:{n:"PtgRefErr3d",f:fc},61:{n:"PtgAreaErr3d",f:If},255:{}};var Oc={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 Oc)Dc[e]=Dc[Oc[e]]})();var Fc={};var Pc={1:{n:"PtgAttrSemi",f:Nf},2:{n:"PtgAttrIf",f:Ff},4:{n:"PtgAttrChoose",f:Df},8:{n:"PtgAttrGoto",f:Of},16:{n:"PtgAttrSum",f:jf},32:{n:"PtgAttrBaxcel",f:Rf},64:{n:"PtgAttrSpace",f:Mf},65:{n:"PtgAttrSpaceSemi",f:Uf},128:{n:"PtgAttrIfError",f:Pf},255:{}};function Nc(e,r,t){var a=e.l+r;var n=Rn(e,6);if(t.biff==2)++e.l;var i=Lc(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=Hc(e,a-e.l,t);return{cell:n,val:i[0],formula:l,shared:s>>3&1,tt:i[1]}}function Lc(e){var r;if(hr(e,e.l+6)!==65535)return[At(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 Mc(e,r,t,a){if(a.biff<8)return _r(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]=tc(e,0,a);i.push(t[s][1]);break;case"PtgMemArea":t[s][2]=rc(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(_r(e,r));return i}function Uc(e,r,t,a){var n=e.l+r;var i=Vc(e,a,t);var s;if(n!==e.l)s=Mc(e,n-e.l,i,t);return[i,s]}function Hc(e,r,t){var a=e.l+r,n=t.biff==2?1:2;var i,s=e._R(n);if(s==65535)return[[],_r(e,r-2)];var o=Vc(e,s,t);if(r!==s+n)i=Mc(e,r-s-n,o,t);return[o,i]}function Wc(e,r,t){var a=e.l+r;var n,i=e._R(2);var s=Vc(e,i,t);if(i==65535)return[[],_r(e,r-2)];if(r!==i+2)n=Mc(e,a-i-2,s,t);return[s,n]}function zc(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[[],_r(e,r-2)];var l=Vc(e,o,t);if(r!==o+i)s=Mc(e,r-o-i,l,t);return[l,s]}function Vc(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=Dc[i];if(i===24||i===25){i=e[e.l+1];n=(i===24?Fc:Pc)[i]}if(!n||!n.f){_r(e,r)}else{s.push([n.n,n.
return s}function _u(e){if(e.length==0)return"";var r='<mergeCells count="'+e.length+'">';for(var t=0;t!=e.length;++t)r+='<mergeCell ref="'+Jr(e[t])+'"/>';return r+"</mergeCells>"}function Tu(e){var r={sheet:1};var t=["objects","scenarios","selectLockedCells","selectUnlockedCells"];var a=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];t.forEach(function(t){if(e[t]!=null&&e[t])r[t]="1"});a.forEach(function(t){if(e[t]!=null&&!e[t])r[t]="0"});if(e.password)r.password=to(e.password).toString(16).toUpperCase();return Ue("sheetProtection",null,r)}function xu(e,r,t){var a=Array.isArray(e);for(var n=0;n!=r.length;++n){var i=ue(_e(r[n]),true);if(!i.ref)return;var s=t?t["!id"][i.id]:null;if(s){i.Target=s.Target;if(i.location)i.Target+="#"+i.location;i.Rel=s}else{i.Target=i.location;s={Target:i.location,TargetMode:"Internal"};i.Rel=s}if(i.tooltip){i.Tooltip=i.tooltip;delete i.tooltip}var o=qr(i.ref);for(var l=o.s.r;l<=o.e.r;++l)for(var f=o.s.c;f<=o.e.c;++f){var c=Yr({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 Iu(e){var r={};["left","right","top","bottom","header","footer"].forEach(function(t){if(e[t])r[t]=parseFloat(e[t])});return r}function Au(e){du(e);return Ue("pageMargins",null,e)}function yu(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;To(n.width)}Io(n);while(i<=s)e[i++]=V(n)}}function Ru(e,r){var t=["<cols>"],a,n;for(var i=0;i!=r.length;++i){if(!(a=r[i]))continue;t[t.length]=Ue("col",null,hu(i,a))}t[t.length]="</cols>";return t.join("")}function Du(e){var r={ref:(e.match(/ref="([^"]*)"/)||[])[1]};return r}function Ou(e){return Ue("autoFilter",null,{ref:e.ref})}function Fu(e,r,t,a){return Ue("sheetViews",Ue("sheetView",null,{workbookViewId:"0"}),{})}function Pu(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=Rt[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=Le("v",ge(s)),c={r:r};var u=vu(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=Le("v",""+uu(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=Ue("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 Ue("c",f,c)}var Nu=function Jp(){var e=/<(?:\w+:)?c[ >]/,r=/<\/(?:\w+:)?row>/;var t=/r=["']([^"']*)["']/,a=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/;var n=/ref=["']([^"']*)["']/;var i=ye("v"),s=ye("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=Do(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)===6
r._W(1,0);return r}function md(e,r){if(!r)r=Ir(1);r._W(1,0);return r}function gd(e,r){var t=yr();Rr(t,"BrtBeginBook");Rr(t,"BrtFileVersion",dd());Rr(t,"BrtWbProp",ld(e.Workbook&&e.Workbook.WBProps||null));pd(t,e,r);hd(t,e,r);Rr(t,"BrtEndBook");return t.end()}function Ed(e,r,t){if(r.slice(-4)===".bin")return ud(e,t);return td(e,t)}function kd(e,r,t,a,n,i,s){if(r.slice(-4)===".bin")return Bh(e,t,a,n,i,s);return Cu(e,t,a,n,i,s)}function Sd(e,r,t,a,n,i,s){if(r.slice(-4)===".bin")return Hh(e,t,a,n,i,s);return Mh(e,t,a,n,i,s)}function wd(e,r,t,a,n,i,s){if(r.slice(-4)===".bin")return of(e,t,a,n,i,s);return lf(e,t,a,n,i,s)}function Bd(e,r,t,a,n,i,s){if(r.slice(-4)===".bin")return nf(e,t,a,n,i,s);return sf(e,t,a,n,i,s)}function Cd(e,r,t,a){if(r.slice(-4)===".bin")return ol(e,t,a);return Vo(e,t,a)}function _d(e,r,t){return xl(e,t)}function Td(e,r,t){if(r.slice(-4)===".bin")return Ns(e,t);return Ds(e,t)}function xd(e,r,t){if(r.slice(-4)===".bin")return tf(e,t);return $l(e,t)}function Id(e,r,t){if(r.slice(-4)===".bin")return Hl(e,r,t);return Ll(e,r,t)}function Ad(e,r,t){if(r.slice(-4)===".bin")return Vl(e,r,t);return zl(e,r,t)}function yd(e,r,t){return(r.slice(-4)===".bin"?gd:nd)(e,t)}function Rd(e,r,t,a,n){return(r.slice(-4)===".bin"?Fh:Uu)(e,t,a,n)}function Dd(e,r,t,a,n){return(r.slice(-4)===".bin"?Wh:Uh)(e,t,a,n)}function Od(e,r,t){return(r.slice(-4)===".bin"?gl:Go)(e,t)}function Fd(e,r,t){return(r.slice(-4)===".bin"?Us:Fs)(e,t)}function Pd(e,r,t){return(r.slice(-4)===".bin"?af:Ql)(e,t)}var Nd=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g;var Ld=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;var Md=function(e){return String.fromCharCode(e)};function Ud(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(Nd),i,s,o,l;if(n)for(l=0;l!=n.length;++l){i=n[l].match(Ld);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 Hd(e){var r=e.split(/\s+/);var t={};if(r.length===1)return t;var a=e.match(Nd),n,i,s,o;if(a)for(o=0;o!=a.length;++o){n=a[o].match(Ld);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 Wd(e,r){var t=S[e]||pe(e);if(t==="General")return E._general(r);return E.format(t,r)}function zd(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 Vd(e,r,t){if(e.t==="z")return;if(!t||t.cellText!==false)try{if(e.t==="e"){e.w=e.w||Rt[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=Wd(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 Xd(e,r,t){if(t.cellStyles){if(r.Interior){var a=r.Interior;if(a.Pattern)a.patternType=Oo[a.Pattern]||a.Pattern}}e[r.ID]=r}function Gd(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";br
C=uv(u[re.isst].t,re.ixfe,"s");C.XF=x[C.ixfe];if(G>0)C.z=j[C.ixfe>>8&31];cv(C,r,t.opts.Date1904);O({c:re.c,r:re.r},C,r);break;case"Blank":if(r.sheetStubs){C={ixfe:re.ixfe,XF:x[re.ixfe],t:"z"};if(G>0)C.z=j[C.ixfe>>8&31];cv(C,r,t.opts.Date1904);O({c:re.c,r:re.r},C,r)}break;case"MulBlank":if(r.sheetStubs){for(var ue=re.c;ue<=re.C;++ue){var he=re.ixfe[ue-re.c];C={ixfe:he,XF:x[he],t:"z"};if(G>0)C.z=j[C.ixfe>>8&31];cv(C,r,t.opts.Date1904);O({c:ue,r:re.r},C,r)}}break;case"RString":;case"Label":;case"BIFF2STR":C=uv(re.val,re.ixfe,"s");C.XF=x[C.ixfe];if(G>0)C.z=j[C.ixfe>>8&31];cv(C,r,t.opts.Date1904);O({c:re.c,r:re.r},C,r);break;case"Dimensions":{if(X===1)l=re}break;case"SST":{u=re}break;case"Format":{E.load(re[1],re[0])}break;case"BIFF2FORMAT":{j[G++]=re;for(var de=0;de<G+163;++de)if(E._table[de]==re)break;if(de>=163)E.load(re,G+163)}break;case"MergeCells":P=P.concat(re);break;case"Obj":N[re.cmo[0]]=F.lastobj=re;break;case"TxO":F.lastobj.TxO=re;break;case"ImData":F.lastobj.ImData=re;break;case"HLink":{for(S=re[0].s.r;S<=re[0].e.r;++S)for(k=re[0].s.c;k<=re[0].e.c;++k){b=r.dense?(i[S]||[])[k]:i[Yr({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[Yr({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[Yr(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":Nl(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;To(re.w/256)}Io(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=Do(re.hpt)}}break;case"LeftMargin":;case"RightMargin":;case"TopMargin":;case"BottomMargin":if(!i["!margins"])du(i["!margins"]={});i["!margins"][te.slice(0,-6).toLowerCase()]=re;break;case"Setup":if(!i["!margins"])du(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"CF
},61:{n:"Window1",f:si},64:{n:"Backup",f:un},65:{n:"Pane"},66:{n:"CodePage",f:dn},77:{n:"Pls"},80:{n:"DCon"},81:{n:"DConRef"},82:{n:"DConName"},85:{n:"DefColWidth",f:dn},89:{n:"XCT"},90:{n:"CRN"},91:{n:"FileSharing"},92:{n:"WriteAccess",f:Zn},93:{n:"Obj",f:Vi},94:{n:"Uncalced"},95:{n:"CalcSaveRecalc",f:un},96:{n:"Template"},97:{n:"Intl"},99:{n:"ObjProtect",f:un},125:{n:"ColInfo",f:es},128:{n:"Guts",f:Bi},129:{n:"WsBool"},130:{n:"GridSet",f:dn},131:{n:"HCenter",f:un},132:{n:"VCenter",f:un},133:{n:"BoundSheet8",f:Jn},134:{n:"WriteProtect"},140:{n:"Country",f:$i},141:{n:"HideObj",f:dn},144:{n:"Sort"},146:{n:"Palette",f:Ji},151:{n:"Sync"},152:{n:"LPr"},153:{n:"DxGCol"},154:{n:"FnGroupName"},155:{n:"FilterMode"},156:{n:"BuiltInFnGroupCount",f:dn},157:{n:"AutoFilterInfo"},158:{n:"AutoFilter"},160:{n:"Scl",f:is},161:{n:"Setup",f:rs},174:{n:"ScenMan"},175:{n:"SCENARIO"},176:{n:"SxView"},177:{n:"Sxvd"},178:{n:"SXVI"},180:{n:"SxIvd"},181:{n:"SXLI"},182:{n:"SXPI"},184:{n:"DocRoute"},185:{n:"RecipName"},189:{n:"MulRk",f:mi},190:{n:"MulBlank",f:gi},193:{n:"Mms",f:ln},197:{n:"SXDI"},198:{n:"SXDB"},199:{n:"SXFDB"},200:{n:"SXDBB"},201:{n:"SXNum"},202:{n:"SxBool",f:un},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:dn},220:{n:"DbOrParamQry"},221:{n:"ScenarioProtect",f:un},222:{n:"OleObjectSize"},224:{n:"XF",f:wi},225:{n:"InterfaceHdr",f:$n},226:{n:"InterfaceEnd",f:ln},227:{n:"SXVS"},229:{n:"MergeCells",f:zi},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:ei},253:{n:"LabelSst",f:fi},255:{n:"ExtSST",f:ri},256:{n:"SXVDEx"},259:{n:"SXFormula"},290:{n:"SXDBEx"},311:{n:"RRDInsDel"},312:{n:"RRDHead"},315:{n:"RRDChgCell"},317:{n:"RRTabId",f:pn},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:un},353:{n:"DSF",f:ln},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:yi},431:{n:"Prot4Rev",f:un},432:{n:"CondFmt"},433:{n:"CF"},434:{n:"DVal"},437:{n:"DConBin"},438:{n:"TxO",f:ji},439:{n:"RefreshAll",f:un},440:{n:"HLink",f:Ki},441:{n:"Lel"},442:{n:"CodeName",f:Sn},443:{n:"SXFDBType"},444:{n:"Prot4RevPass",f:dn},445:{n:"ObNoMacros"},446:{n:"Dv"},448:{n:"Excel9File",f:ln},449:{n:"RecalcId",f:ni,r:2},450:{n:"EntExU2",f:ln},512:{n:"Dimensions",f:vi},513:{n:"Blank",f:ns},515:{n:"Number",f:xi},516:{n:"Label",f:ci},517:{n:"BoolErr",f:_i},518:{n:"Formula",f:Nc},519:{n:"String",f:ss},520:{n:"Row",f:ti},523:{n:"Index"},545:{n:"Array",f:Mi},549:{n:"DefaultRowHeight",f:ii},566:{n:"Table"},574:{n:"Window2",f:_r},638:{n:"RK",f:bi},659:{n:"Style",f:_r},1030:{n:"Formula",f:Nc},1048:{n:"BigName"},1054:{n:"Format",f:hi},1084:{n:"ContinueBigName"},1212:{n:"ShrFmla",f:Li},2048:{n:"HLinkTooltip",f:Yi},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:Kn},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:"Fr
if(ua.DS&&e==ua.DS)return"dialog";if(ua.MS&&e==ua.MS)return"macro";return e&&e.length?e:"sheet"}function qv(e,r){if(!e)return 0;try{e=r.map(function a(r){if(!r.id)r.id=r.strRelID;return[r.name,e["!id"][r.id].Target,Jv(e["!id"][r.id].Type)]})}catch(t){return null}return!e||e.length===0?null:e}function ep(e,r,t,a,n,i,s,o,l,f,c){try{n[a]=da(re(e,t,true),r);var u=ee(e,r);switch(s){case"sheet":i[a]=kd(u,r,o,n[a],l,f,c);break;case"chart":var h=Sd(u,r,o,n[a],l,f,c);i[a]=h;if(!h||!h["!chart"])break;var d=ie(h["!chart"].Target,r);var v=ha(d);var p=Xl(re(e,d,true),da(re(e,v,true),d));var b=ie(p,d);var m=ha(b);h=Nh(re(e,b,true),b,o,da(re(e,m,true),b),l,h);break;case"macro":i[a]=wd(u,r,o,n[a],l,f,c);break;case"dialog":i[a]=Bd(u,r,o,n[a],l,f,c);break;}}catch(g){if(o.WTF)throw g}}var rp=function qp(e){return e.slice(-1)!="/"};function tp(e){return e.charAt(0)=="/"?e.slice(1):e}function ap(e,r){k(E);r=r||{};Zv(r);a();if(J(e,"META-INF/manifest.xml"))return Nv(e,r);if(J(e,"objectdata.xml"))return Nv(e,r);var t=I(e.files).filter(rp).sort();var i=oa(re(e,"[Content_Types].xml"),r);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){fu=[];if(i.sst)fu=Td(ee(e,tp(i.sst)),i.sst,r);if(r.cellStyles&&i.themes.length)f=_d(re(e,i.themes[0].replace(/^\//,""),true)||"",i.themes[0],r);if(i.style)c=Cd(ee(e,tp(i.style)),i.style,f,r)}var u=i.links.map(function(t){return Ad(ee(e,tp(t)),t,r)});var h=Ed(ee(e,tp(i.workbooks[0])),i.workbooks[0],r);var d={},v="";if(i.coreprops.length){v=ee(e,tp(i.coreprops[0]),true);if(v)d=Ta(v);if(i.extprops.length!==0){v=ee(e,tp(i.extprops[0]),true);if(v)Ra(v,d,r)}}var p={};if(!r.bookSheets||r.bookProps){if(i.custprops.length!==0){v=re(e,tp(i.custprops[0]),true);if(v)p=Pa(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=Id(ee(e,tp(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=da(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");ep(e,w,B,d.SheetNames[g],S,o,R,r,h,f,c)}if(i.comments)Kl(e,i.comments,o,S,r);b={Directory:i,Workbook:h,Props:d,Custprops:p,Deps:m,Sheets:o,SheetNames:d.SheetNames,Strings:fu,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,tp(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 np(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=zs(a.content);t="DataSpaceMap";a=T.find(e,t);if(!a||!a.content)throw new Error("ECMA-376 Encrypted file missing "+t);var i=Xs(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=Gs(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 E