le+=8}t.last=fe&1;fe>>>=1;le-=1;switch(fe&3){case0:t.mode=P;break;case1:ve(t);t.mode=W;if(r===d){fe>>>=2;le-=2;breake}break;case2:t.mode=M;break;case3:e.msg="invalid block type";t.mode=Q;}fe>>>=2;le-=2;break;caseP:fe>>>=le&7;le-=le&7;while(le<32){if(ie===0){breake}ie--;fe+=ee[te++]<<le;le+=8}if((fe&65535)!==(fe>>>16^65535)){e.msg="invalid stored block lengths";t.mode=Q;break}t.length=fe&65535;fe=0;le=0;t.mode=N;if(r===d){breake};caseN:t.mode=L;caseL:ue=t.length;if(ue){if(ue>ie){ue=ie}if(ue>se){ue=se}if(ue===0){breake}a.arraySet(re,ee,te,ue,ae);ie-=ue;te+=ue;se-=ue;ae+=ue;t.length-=ue;break}t.mode=O;break;caseM:while(le<14){if(ie===0){breake}ie--;fe+=ee[te++]<<le;le+=8}t.nlen=(fe&31)+257;fe>>>=5;le-=5;t.ndist=(fe&31)+1;fe>>>=5;le-=5;t.ncode=(fe&15)+4;fe>>>=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;caseU:while(t.have<t.ncode){while(le<3){if(ie===0){breake}ie--;fe+=ee[te++]<<le;le+=8}t.lens[ye[t.have++]]=fe&7;fe>>>=3;le-=3}while(t.have<19){t.lens[ye[t.have++]]=0}t.lencode=t.lendyn;t.lenbits=7;Te={bits:t.lenbits};Ce=f(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;caseH:while(t.have<t.nlen+t.ndist){for(;;){me=t.lencode[fe&(1<<t.lenbits)-1];be=me>>>24;ge=me>>>16&255;we=me&65535;if(be<=le){break}if(ie===0){breake}ie--;fe+=ee[te++]<<le;le+=8}if(we<16){fe>>>=be;le-=be;t.lens[t.have++]=we}else{if(we===16){xe=be+2;while(le<xe){if(ie===0){breake}ie--;fe+=ee[te++]<<le;le+=8}fe>>>=be;le-=be;if(t.have===0){e.msg="invalid bit length repeat";t.mode=Q;break}_e=t.lens[t.have-1];ue=3+(fe&3);fe>>>=2;le-=2}elseif(we===17){xe=be+3;while(le<xe){if(ie===0){breake}ie--;fe+=ee[te++]<<le;le+=8}fe>>>=be;le-=be;_e=0;ue=3+(fe&7);fe>>>=3;le-=3}else{xe=be+7;while(le<xe){if(ie===0){breake}ie--;fe+=ee[te++]<<le;le+=8}fe>>>=be;le-=be;_e=0;ue=11+(fe&127);fe>>>=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++]=_e}}}if(t.mode===Q){break}if(t.lens[256]===0){e.msg="invalid code -- missing end-of-block";t.mode=Q;break}t.lenbits=9;Te={bits:t.lenbits};Ce=f(o,t.lens,0,t.nlen,t.lencode,0,t.work,Te);t.lenbits=Te.bits;if(Ce){e.msg="invalid literal/lengths set";t.mode=Q;break}t.distbits=6;t.distcode=t.distdyn;Te={bits:t.distbits};Ce=f(c,t.lens,t.nlen,t.ndist,t.distcode,0,t.work,Te);t.distbits=Te.bits;if(Ce){e.msg="invalid distances set";t.mode=Q;break}t.mode=W;if(r===d){breake};caseW:t.mode=V;caseV:if(ie>=6&&se>=258){e.next_out=ae;e.avail_out=se;e.next_in=te;e.avail_in=ie;t.hold=fe;t.bits=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;fe=t.hold;le=t.bits;if(t.mode===O){t.back=-1}break}t.back=0;for(;;){me=t.lencode[fe&(1<<t.lenbits)-1];be=me>>>24;ge=me>>>16&255;we=me&65535;if(be<=le){break}if(ie===0){breake}ie--;fe+=ee[te++]<<le;le+=8}if(ge&&(ge&240)===0){Ee=be;ke=ge;Se=we;for(;;){me=t.lencode[Se+((fe&(1<<Ee+ke)-1)>>Ee)];be=me>>>24;ge=me>>>16&255;we=me&65535;if(Ee+be<=le){break}if(ie===0){breake}ie--;fe+=ee[te++]<<le;le+=8}fe>>>=Ee;le-=Ee;t.back+=Ee}fe>>>=be;le-=be;t.back+=be;t.length=we;if(ge===0){t.mode=K;break}if(ge&32){t.back=-1;t.mode=O;break}if(ge&64){e.msg="invalid literal/length code";t.mode=Q;break}t.extra=ge&15;t.mode=z;casez:if(t.extra){xe=t.extra;while(le<xe){if(ie===0){breake}ie--;fe+=ee[te++]<<le;le+=8}t.length+=fe&(1<<t.extra)-1;fe>>>=t.extra;le-=t.extra;t.back+=t.extra}t.was=t.length;t.mode=X;caseX:for(;;){me=t.distcode[fe&(1<<t.distbits)-1];be=me>>>24;ge=me>>>16&255;we=me&65535;if(be<=le){break}if(ie===0){breake}ie--;fe+=ee[te++]<<le;le+=8}if((ge&240)===0){Ee=be;ke=ge;Se=we;for(;;){me=t.distcode[Se+((fe&(1<<Ee+ke)-1)>>Ee)];be=me>>>24;ge=me>>>16&255;we=me&65535;if(Ee+be<=le){break}if(ie===0){breake}ie--;fe+=ee[te++]<<le;le+=8}fe>>>=Ee;le-=Ee;t.back+=Ee}fe>>>=be;le-=be;t.back+=be;if(ge&64){e.msg="invalid distance code";t.mode=Q;break}t.offset=we;t.extra=ge&15;t.mode=G;caseG:if(t.extra){xe=t.extra;while(le<xe){if(ie===0){breake}ie--;fe+=ee[te++]<<le;le+=8}t.offset+=fe
o=(""+f).replace(/^([^\.]+)$/,"$1."+b(u[1])).replace(/\.$/,"."+b(u[1]));o=o.replace(/\.(\d*)$/,function(e,r){return"."+r+t("0",b(u[1]).length-r.length)});returns.indexOf("0.")!==-1?o:o.replace(/^0\./,".")}s=s.replace(/^#+([0.])/,"$1");if(u=s.match(/^(0*)\.(#*)$/)){returnk+(""+E).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,u[1].length?"0.":".")}if(u=s.match(/^#{1,3},##0(\.?)$/))returnk+T(""+E);if(u=s.match(/^#,##0\.([#0]*0)$/)){returnf<0?"-"+y(e,s,-f):T(""+f)+"."+t("0",u[1].length)}if(u=s.match(/^#,#*,#0/))returny(e,s.replace(/^#,#*,/,""),f);if(u=s.match(/^([0#]+)(\\?-([0#]+))+$/)){o=r(y(e,s.replace(/[\\-]/g,""),f));g=0;returnr(r(s.replace(/\\/g,"")).replace(/[0#]/g,function(e){returng<o.length?o.charAt(g++):e==="0"?"0":""}))}if(s.match(m)){o=y(e,"##########",f);return"("+o.substr(0,3)+") "+o.substr(3,3)+"-"+o.substr(6)}varS="";if(u=s.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/)){g=Math.min(u[4].length,7);w=p(E,Math.pow(10,g)-1,false);o=""+k;S=x("n",u[1],w[1]);if(S.charAt(S.length-1)==" ")S=S.substr(0,S.length-1)+"0";o+=S+u[2]+"/"+u[3];S=i(w[2],g);if(S.length<u[4].length)S=b(u[4].substr(u[4].length-S.length))+S;o+=S;returno}if(u=s.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/)){g=Math.min(Math.max(u[1].length,u[4].length),7);w=p(E,Math.pow(10,g)-1,true);returnk+(w[0]||(w[1]?"":"0"))+" "+(w[1]?n(w[1],g)+u[2]+"/"+u[3]+i(w[2],g):t(" ",2*g+1+u[2].length+u[3].length))}if(u=s.match(/^[#0?]+$/)){o=""+f;if(s.length<=o.length)returno;returnb(s.substr(0,s.length-o.length))+o}if(u=s.match(/^([#0]+)\.([#0]+)$/)){o=""+f.toFixed(Math.min(u[2].length,10)).replace(/([^0])0+$/,"$1");g=o.indexOf(".");varI=s.indexOf(".")-g,A=s.length-o.length-I;returnb(s.substr(0,I)+o+s.substr(s.length-A))}if(u=s.match(/^00,000\.([#0]*0)$/)){returnf<0?"-"+y(e,s,-f):T(""+f).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(e){return"00,"+(e.length<3?a(0,3-e.length):"")+e})+"."+a(0,u[1].length)}switch(s){case"###,###":;case"##,###":;case"#,###":varR=T(""+E);returnR!=="0"?k+R:"";default:if(s.match(/\.[0#?]*$/))returny(e,s.slice(0,s.lastIndexOf(".")),f)+b(s.slice(s.lastIndexOf(".")));}thrownewError("unsupported format |"+s+"|")}returnfunctionI(e,r,t){return(t|0)===t?y(e,r,t):S(e,r,t)}}();functiony(e){varr=[];vart=false;for(vara=0,n=0;a<e.length;++a)switch(e.charCodeAt(a)){case34:t=!t;break;case95:;case42:;case92:++a;break;case59:r[r.length]=e.substr(n,a-n);n=a+1;}r[r.length]=e.substr(n);if(t===true)thrownewError("Format |"+e+"| unterminated string ");returnr}e._split=y;varI=/\[[HhMmSs]*\]/;functionA(e){varr=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")returntrue;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":returntrue;case"A":;case"a":if(e.substr(r,3).toUpperCase()==="A/P")returntrue;if(e.substr(r,5).toUpperCase()==="AM/PM")returntrue;++r;break;case"[":a=t;while(e.charAt(r++)!=="]"&&r<e.length)a+=e.charAt(r);if(a.match(I))returntrue;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;}}returnfalse}e.is_date=A;functionR(e,r,t,a){varn=[],i="",s=0,f="",l="t",o,u,h;vard="H";while(s<e.length){switch(f=e.charAt(s)){case"G":if(!c(e,s))thrownewError("unrecognized character "+f+" in "+e);n[n.length]={t:"G",v:"General"};s+=7;break;case'"':for(i="";(h=e.charCodeAt(++s))!==34&&s<e.length;)i+=String.fromCharCode(h);n[n.length]={t:"t",v:i};++s;break;case"\\":varv=e.charAt(++s),p=v==="("||v===")"?v:"t";n[n.length]=
varke=/<[\/\?]?[a-zA-Z0-9:]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s?[\/\?]?>/g;if(!we.match(ke))ke=/<[^>]*>/g;varSe=/<\w*:/,_e=/<(\/?)\w+:/;functionCe(e,r){vart={};vara=0,n=0;for(;a!==e.length;++a)if((n=e.charCodeAt(a))===32||n===10||n===13)break;if(!r)t[0]=e.slice(0,a);if(a===e.length)returnt;vari=e.match(Ee),s=0,f="",l=0,o="",c="",u=1;if(i)for(l=0;l!=i.length;++l){c=i[l];for(n=0;n!=c.length;++n)if(c.charCodeAt(n)===61)break;o=c.slice(0,n).trim();while(c.charCodeAt(n+1)==32)++n;u=(a=c.charCodeAt(n+1))==34||a==39?1:0;f=c.slice(n+1+u,c.length-u);for(s=0;s!=o.length;++s)if(o.charCodeAt(s)===58)break;if(s===o.length){if(o.indexOf("_")>0)o=o.slice(0,o.indexOf("_"));t[o]=f}else{varh=(s===5&&o.slice(0,5)==="xmlns"?"xmlns":"")+o.slice(s+1);if(t[h]&&o.slice(s-3,s)=="ext")continue;t[h]=f}}returnt}functionBe(e){returne.replace(_e,"<$1")}varTe={""":'"',"'":"'",">":">","<":"<","&":"&"};varxe=X(Te);varye=function(){vare=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/g,r=/_x([\da-fA-F]{4})_/g;returnfunctiont(a){varn=a+"",i=n.indexOf("<![CDATA[");if(i==-1)returnn.replace(e,function(e,r){returnTe[e]||String.fromCharCode(parseInt(r,e.indexOf("x")>-1?16:10))||e}).replace(r,function(e,r){returnString.fromCharCode(parseInt(r,16))});vars=n.indexOf("]]>");returnt(n.slice(0,i))+n.slice(i+9,s)+t(n.slice(s+3))}}();varIe=/[&<>'"]/g,Ae=/[\u0000-\u0008\u000b-\u001f]/g;functionRe(e){varr=e+"";returnr.replace(Ie,function(e){returnxe[e]}).replace(Ae,function(e){return"_x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+"_"})}functionDe(e){returnRe(e).replace(/ /g,"_x0020_")}varOe=/[\u0000-\u001f]/g;functionFe(e){varr=e+"";returnr.replace(Ie,function(e){returnxe[e]}).replace(Oe,function(e){return"&#x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+";"})}functionPe(e){varr=e+"";returnr.replace(Ie,function(e){returnxe[e]}).replace(Oe,function(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"})}varNe=function(){vare=/&#(\d+);/g;functionr(e,r){returnString.fromCharCode(parseInt(r,10))}returnfunctiont(a){returna.replace(e,r)}}();varLe=function(){returnfunctione(r){returnr.replace(/(\r\n|[\r\n])/g," ")}}();functionMe(e){switch(e){case1:;casetrue:;case"1":;case"true":;case"TRUE":returntrue;default:returnfalse;}}varUe=functionWm(e){varr="",t=0,a=0,n=0,i=0,s=0,f=0;while(t<e.length){a=e.charCodeAt(t++);if(a<128){r+=String.fromCharCode(a);continue}n=e.charCodeAt(t++);if(a>191&&a<224){s=(a&31)<<6;s|=n&63;r+=String.fromCharCode(s);continue}i=e.charCodeAt(t++);if(a<240){r+=String.fromCharCode((a&15)<<12|(n&63)<<6|i&63);continue}s=e.charCodeAt(t++);f=((a&7)<<18|(n&63)<<12|(i&63)<<6|s&63)-65536;r+=String.fromCharCode(55296+(f>>>10&1023));r+=String.fromCharCode(56320+(f&1023))}returnr};varHe=function(e){varr=[],t=0,a=0,n=0;while(t<e.length){a=e.charCodeAt(t++);switch(true){casea<128:r.push(String.fromCharCode(a));break;casea<2048:r.push(String.fromCharCode(192+(a>>6)));r.push(String.fromCharCode(128+(a&63)));break;casea>=55296&&a<57344:a-=55296;n=e.charCodeAt(t++)-56320+(a<<10);r.push(String.fromCharCode(240+(n>>18&7)));r.push(String.fromCharCode(144+(n>>12&63)));r.push(String.fromCharCode(128+(n>>6&63)));r.push(String.fromCharCode(128+(n&63)));break;default:r.push(String.fromCharCode(224+(a>>12)));r.push(String.fromCharCode(128+(a>>6&63)));r.push(String.fromCharCode(128+(a&63)));}}returnr.join("")};if(g){varWe=functionVm(e){varr=Buffer.alloc(2*e.length),t,a,n=1,i=0,s=0,f;for(a=0;a<e.length;a+=n){n=1;if((f=e.charCodeAt(a))<128)t=f;elseif(f<224){t=(f&31)*64+(e.charCodeAt(a+1)&63);n=2}elseif(f<240){t=(f&15)*4096+(e.charCodeAt(a+1)&63)*64+(e.charCodeAt(a+2)&63);n=3}else{n=4;t=(f&7)*262144+(e.charCodeAt(a+1)&63)*4096+(e.charCodeAt(a+2)&63)*64+(e.charCodeAt(a+3)&63);t-=65536;s=55296+(t>>>10&1023);t=56320+(t&1023)}if(s!==0){r[i++]=s&255;r[i++]=s>>>8;s=0}r[i++]=t%256;r[i++]=t>>>8}returnr.slice(0,i).toString("ucs2")};varVe="foo bar bazâð£";if(Ue(Ve)==We(Ve))Ue=We;varze=functionzm(e){returnBuffer.from(e,"binary").toString("utf8")};if(Ue(Ve)==
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;case"ShtProps":break;case"DefaultText":;case"Text":;case"CatLab":break;case"DataLabExtContents":break;case"Legend":;case"LegendException":break;case"Pie":;case"Scatter":break;case"PieFormat":;case"MarkerFormat":break;case"StartObject":;case"EndObject":break;case"AlRuns":;case"ObjectLink":break;case"SIIndex":break;case"AttachedLabel":;case"YMult":break;case"Line":;case"Bar":break;case"Surf":break;case"AxisParent":break;case"Pos":break;case"ValueRange":break;case"SXViewEx9":break;case"SXViewLink":break;case"PivotChartBits":break;case"SBaseRef":break;case"TextPropsStream":break;case"LnExt":break;case"MkrExt":break;case"CrtCoopt":break;case"Qsi":;case"Qsif":;case"Qsir":;case"QsiSXTag":break;case"TxtQry":break;case"FilterMode":break;case"AutoFilter":;case"AutoFilterInfo":break;case"AutoFilter12":break;case"DropDownObjIds":break;case"Sort":break;case"SortData":break;case"ShapePropsStream":break;case"MsoDrawing":;case"MsoDrawingGroup":;case"MsoDrawingSelection":break;case"WebPub":;case"AutoWebPub":break;case"HeaderFooter":;case"HFPicture":;case"PLV":;case"HorizontalPageBreaks":;case"VerticalPageBreaks":break;case"Backup":;case"CompressPictures":;case"Compat12":break;case"Continue":;case"ContinueFrt12":break;case"FrtFontList":;case"FrtWrapper":break;default:switch(q.n){case"TabIdConf":;case"Radar":;case"RadarArea":;case"DropBar":;case"Intl":;case"CoordList":;case"SerAuxErrBar":break;case"BIFF2FONTCLR":;case"BIFF2FMTCNT":;case"BIFF2FONTXTRA":break;case"BIFF2XF":;case"BIFF3XF":;case"BIFF4XF":break;case"BIFF4FMTCNT":;case"BIFF2ROW":;case"BIFF2WINDOW2":break;case"SCENARIO":;case"DConBin":;case"PicF":;case"DataLabExt":;case"Lel":;case"BopPop":;case"BopPopCustom":;case"RealTimeData":;case"Name":break;case"LHNGraph":;case"FnGroupName":;case"AddMenu":;case"LPr":break;case"ListObj":;case"ListField":break;case"RRSort":break;case"BigName":break;case"ToolbarHdr":;case"ToolbarEnd":break;case"DDEObjName":break;case"FRTArchId$":break;default:if(r.WTF)throw"Unrecognized Record "+q.n;};};};}}elsee.l+=J}t.SheetNames=V(i).sort(function(e,r){returnNumber(e)-Number(r)}).map(function(e){returni[e].name});if(!r.bookSheets)t.Sheets=a;if(t.Sheets)K.forEach(function(e,r){t.Sheets[t.SheetNames[r]]["!autofilter"]=e});t.Preamble=u;t.Strings=o;t.SSF=y.get_table();if(D.enc)t.Encryption=D.enc;if(O)t.Themes=O;t.Metadata={};if(S!==undefined)t.Metadata.Country=S;if(W.names.length>0)T.Names=W.names;t.Workbook=T;returnt}vartp={SI:"e0859ff2f94f6810ab9108002b27b3d9",DSI:"02d5cdd59c2e1b10939708002b2cf9ae",UDI:"05d5cdd59c2e1b10939708002b2cf9ae"};functionap(e,r,t){vara=N.find(e,"!DocumentSummaryInformation");if(a&&a.size>0)try{varn=In(a,ca,tp.DSI);for(variinn)r[i]=n[i]}catch(s){if(t.WTF)throws}varf=N.find(e,"!SummaryInformation");if(f&&f.size>0)try{varl=In(f,ua,tp.SI);for(varoinl)if(r[o]==null)r[o]=l[o]}catch(s){if(t.WTF)throws}if(r.HeadingPairs&&r.TitlesOfParts){Ya(r.HeadingPairs,r.TitlesOfParts,r,t);deleter.HeadingPairs;deleter.TitlesOfParts}}functionnp(e,r){vart=[],a=[],n=[];vari=0,s;if(e.Props){s=V(e.Props);for(i=0;i<s.length;++i)(da.hasOwnProperty(s[i])?t:va.hasOwnProperty(s[i])?a:n).push([s[i],e.Props[s[i]]])}if(e.Custprops){s=V(e.Custprops);for(i=0;i<s.length;++i)if(!(e.Props||{}).hasOwnProperty(s[i]))(da.hasOwnProperty(s[i])?t:va.hasOwnProperty(s[i])?a:n).push([s[i],e.Custprops[s[i]]])}varf=[];for(i=0;i<n.length;++i){if(Tn.indexOf(n[i][0])>-1)continue;if(n[i][1]==null)continue;f.push(n[i])}if(a.length)N.utils.cfb_add(r,"/
returnt.join("")}}();functionMp(e,r){if(r.bookType=="fods")returnLp(e,r);vart=newbe;vara="";varn=[];vari=[];a="mimetype";t.file(a,"application/vnd.oasis.opendocument.spreadsheet");a="content.xml";t.file(a,Lp(e,r));n.push([a,"text/xml"]);i.push([a,"ContentFile"]);a="styles.xml";t.file(a,Np(e,r));n.push([a,"text/xml"]);i.push([a,"StylesFile"]);a="meta.xml";t.file(a,Ua());n.push([a,"text/xml"]);i.push([a,"MetadataFile"]);a="manifest.rdf";t.file(a,Ma(i));n.push([a,"application/rdf+xml"]);a="META-INF/manifest.xml";t.file(a,Pa(n));returnt}functionUp(e,r){if(!r)return0;vart=e.SheetNames.indexOf(r);if(t==-1)thrownewError("Sheet not found: "+r);returnt}functionHp(e){returnfunctionr(t,a){varn=Up(t,a.sheet);returne.from_sheet(t.Sheets[t.SheetNames[n]],a,t)}}varWp=Hp(yp);varVp=Hp({from_sheet:Im});varzp=Hp(Zs);varXp=Hp(Qs);varGp=Hp(qs);varjp=Hp(Vf);varKp=Hp({from_sheet:Am});varYp=Hp($s);var$p=Hp(Js);functionZp(e){returnfunctionr(t){for(vara=0;a!=e.length;++a){varn=e[a];if(t[n[0]]===undefined)t[n[0]]=n[1];if(n[2]==="n")t[n[0]]=Number(t[n[0]])}}}varQp=Zp([["cellNF",false],["cellHTML",true],["cellFormula",true],["cellStyles",false],["cellText",true],["cellDates",false],["sheetStubs",false],["sheetRows",0,"n"],["bookDeps",false],["bookSheets",false],["bookProps",false],["bookFiles",false],["bookVBA",false],["password",""],["WTF",false]]);varJp=Zp([["cellDates",false],["bookSST",false],["bookType","xlsx"],["compression",false],["WTF",false]]);functionqp(e){if(xa.WS.indexOf(e)>-1)return"sheet";if(xa.CS&&e==xa.CS)return"chart";if(xa.DS&&e==xa.DS)return"dialog";if(xa.MS&&e==xa.MS)return"macro";returne&&e.length?e:"sheet"}functionem(e,r){if(!e)return0;try{e=r.map(functiona(r){if(!r.id)r.id=r.strRelID;return[r.name,e["!id"][r.id].Target,qp(e["!id"][r.id].Type)]})}catch(t){returnnull}return!e||e.length===0?null:e}functionrm(e,r,t,a,n,i,s,f,l,o,c,u){try{i[a]=Ia(pe(e,t,true),r);varh=ve(e,r);vard;switch(f){case"sheet":d=fv(h,r,n,l,i[a],o,c,u);break;case"chart":d=lv(h,r,n,l,i[a],o,c,u);if(!d||!d["!chart"])break;varv=ge(d["!chart"].Target,r);varp=ya(v);varm=go(pe(e,v,true),Ia(pe(e,p,true),v));varb=ge(m,v);varg=ya(b);d=Bd(pe(e,b,true),b,l,Ia(pe(e,g,true),b),o,d);break;case"macro":d=ov(h,r,n,l,i[a],o,c,u);break;case"dialog":d=cv(h,r,n,l,i[a],o,c,u);break;}s[a]=d}catch(w){if(l.WTF)throww}}functiontm(e){returne.charAt(0)=="/"?e.slice(1):e}functionam(e,r){I(y);r=r||{};Qp(r);if(he(e,"META-INF/manifest.xml"))returnFp(e,r);if(he(e,"objectdata.xml"))returnFp(e,r);if(he(e,"Index/Document.iwa"))thrownewError("Unsupported NUMBERS file");vart=me(e);vara=_a(pe(e,"[Content_Types].xml"));varn=false;vari,s;if(a.workbooks.length===0){s="xl/workbook.xml";if(ve(e,s,true))a.workbooks.push(s)}if(a.workbooks.length===0){s="xl/workbook.bin";if(!ve(e,s,true))thrownewError("Could not find workbook");a.workbooks.push(s);n=true}if(a.workbooks[0].slice(-3)=="bin")n=true;varf={};varl={};if(!r.bookSheets&&!r.bookProps){Wu=[];if(a.sst)try{Wu=dv(ve(e,tm(a.sst)),a.sst,r)}catch(o){if(r.WTF)throwo}if(r.cellStyles&&a.themes.length)f=hv(pe(e,a.themes[0].replace(/^\//,""),true)||"",a.themes[0],r);if(a.style)l=uv(ve(e,tm(a.style)),a.style,f,r)}a.links.map(function(t){returnmv(ve(e,tm(t)),t,r)});varc=sv(ve(e,tm(a.workbooks[0])),a.workbooks[0],r);varu={},h="";if(a.coreprops.length){h=ve(e,tm(a.coreprops[0]),true);if(h)u=Va(h);if(a.extprops.length!==0){h=ve(e,tm(a.extprops[0]),true);if(h)$a(h,u,r)}}vard={};if(!r.bookSheets||r.bookProps){if(a.custprops.length!==0){h=pe(e,tm(a.custprops[0]),true);if(h)d=qa(h,r)}}varv={};if(r.bookSheets||r.bookProps){if(c.Sheets)i=c.Sheets.map(functionA(e){returne.name});elseif(u.Worksheets&&u.SheetNames.length>0)i=u.SheetNames;if(r.bookProps){v.Props=u;v.Custprops=d}if(r.bookSheets&&typeofi!=="undefined")v.SheetNames=i;if(r.bookSheets?v.SheetNames:r.bookProps)returnv}i={};varp={};if(r.bookDeps&&a.calcchain)p=pv(ve(e,tm(a.calcchain)),a.calcchain,r);varm=0;varb={};varg,w;{varE=c.Sheets;u.Worksheets=E.length;u.SheetNames=[];for(vark=0;k!=E.length;++k){u.SheetNames[k]=E[k].name}}va