varr=newDate;r.setTime(e*24*60*60*1e3+vr);if(r.getTimezoneOffset()!==pr){r.setTime(r.getTime()+(r.getTimezoneOffset()-pr)*6e4)}returnr}functionbr(e){varr=0,t=0,a=false;varn=e.match(/P([0-9\.]+Y)?([0-9\.]+M)?([0-9\.]+D)?T([0-9\.]+H)?([0-9\.]+M)?([0-9\.]+S)?/);if(!n)thrownewError("|"+e+"| is not an ISO8601 Duration");for(vari=1;i!=n.length;++i){if(!n[i])continue;t=1;if(i>3)a=true;switch(n[i].slice(n[i].length-1)){case"Y":thrownewError("Unsupported ISO Duration Field: "+n[i].slice(n[i].length-1));case"D":t*=24;case"H":t*=60;case"M":if(!a)thrownewError("Unsupported ISO Duration Field: M");elset*=60;case"S":break;}r+=t*parseInt(n[i],10)}returnr}vargr=newDate("2017-02-19T19:06:09.000Z");varwr=isNaN(gr.getFullYear())?newDate("2/19/17"):gr;varkr=wr.getFullYear()==2017;functionTr(e,r){vart=newDate(e);if(kr){if(r>0)t.setTime(t.getTime()+t.getTimezoneOffset()*60*1e3);elseif(r<0)t.setTime(t.getTime()-t.getTimezoneOffset()*60*1e3);returnt}if(einstanceofDate)returne;if(wr.getFullYear()==1917&&!isNaN(t.getFullYear())){vara=t.getFullYear();if(e.indexOf(""+a)>-1)returnt;t.setFullYear(t.getFullYear()+100);returnt}varn=e.match(/\d+/g)||["2017","2","19","0","0","0"];vari=newDate(+n[0],+n[1]-1,+n[2],+n[3]||0,+n[4]||0,+n[5]||0);if(e.indexOf("Z")>-1)i=newDate(i.getTime()-i.getTimezoneOffset()*60*1e3);returni}functionEr(e,r){if(y&&Buffer.isBuffer(e)){if(r&&_){if(e[0]==255&&e[1]==254)returnbt(e.slice(2).toString("utf16le"));if(e[1]==254&&e[2]==255)returnbt(h(e.slice(2).toString("binary")))}returne.toString("binary")}if(typeofTextDecoder!=="undefined")try{if(r){if(e[0]==255&&e[1]==254)returnbt(newTextDecoder("utf-16le").decode(e.slice(2)));if(e[0]==254&&e[1]==255)returnbt(newTextDecoder("utf-16be").decode(e.slice(2)))}vart={"€":"","‚":"","ƒ":"","„":"","…":"","†":"","‡":"","ˆ":"","‰":"","Š":"","‹":"","Œ":"","Ž":"","‘":"","’":"","“":"","”":"","•":"","–":"","—":"","˜":"","™":"","š":"","›":"","œ":"","ž":"","Ÿ":""};if(Array.isArray(e))e=newUint8Array(e);returnnewTextDecoder("latin1").decode(e).replace(/[€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ]/g,function(e){returnt[e]||e})}catch(a){}varn=[];for(vari=0;i!=e.length;++i)n.push(String.fromCharCode(e[i]));returnn.join("")}functionyr(e){if(typeofJSON!="undefined"&&!Array.isArray(e))returnJSON.parse(JSON.stringify(e));if(typeofe!="object"||e==null)returne;if(einstanceofDate)returnnewDate(e.getTime());varr={};for(vartine)if(Object.prototype.hasOwnProperty.call(e,t))r[t]=yr(e[t]);returnr}functionSr(e,r){vart="";while(t.length<r)t+=e;returnt}function_r(e){varr=Number(e);if(!isNaN(r))returnisFinite(r)?r:NaN;if(!/\d/.test(e))returnr;vart=1;vara=e.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g,function(){t*=100;return""});if(!isNaN(r=Number(a)))returnr/t;a=a.replace(/[(](.*)[)]/,function(e,r){t=-t;returnr});if(!isNaN(r=Number(a)))returnr/t;returnr}varxr=/^(0?\d|1[0-2])(?:|:([0-5]?\d)(?:|(\.\d+)(?:|:([0-5]?\d))|:([0-5]?\d)(|\.\d+)))\s+([ap])m?$/;functionAr(e){if(!e[2])returnnewDate(1899,11,30,+e[1]%12+(e[7]=="p"?12:0),0,0,0);if(e[3]){if(e[4])returnnewDate(1899,11,30,+e[1]%12+(e[7]=="p"?12:0),+e[2],+e[4],parseFloat(e[3])*1e3);elsereturnnewDate(1899,11,30,e[7]=="p"?12:0,+e[1],+e[2],parseFloat(e[3])*1e3)}elseif(e[5])returnnewDate(1899,11,30,+e[1]%12+(e[7]=="p"?12:0),+e[2],+e[5],e[6]?parseFloat(e[6])*1e3:0);elsereturnnewDate(1899,11,30,+e[1]%12+(e[7]=="p"?12:0),+e[2],0,0)}varCr=["january","february","march","april","may","june","july","august","september","october","november","december"];functionOr(e){varr=e.toLowerCase();vart=r.replace(/\s+/g," ").trim();vara=t.match(xr);if(a)returnAr(a);varn=newDate(e),i=newDate(NaN);vars=n.getYear(),f=n.getMonth(),l=n.getDate();if(isNaN(l))returni;if(r.match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/)){r=r.replace(/[^a-z]/g,"").replace(/([^a-z]|^)[ap]m?([^a-z]|$)/,"");if(r.length>3&&Cr.indexOf(r)==-1)returni}elseif(r.repl
_=_==="TRUE";P="b"}elseif(!isNaN(_r(_))){_=_r(_);P="n";if(v!==null&&Me(v)&&i.cellDates){_=mr(T.Workbook.WBProps.date1904?_+1462:_);P="d"}}elseif(!isNaN(Or(_).getDate())){_=Tr(_);P="d";if(!i.cellDates){P="n";_=hr(_,T.Workbook.WBProps.date1904)}}if(typeofa!=="undefined"&&typeof_=="string"&&(i||{}).type!="string"&&(i||{}).codepage)_=a.utils.decode(i.codepage,_);C=true;break;case"E":I=true;D=Lu(y[u].slice(1),{r:f,c:o});break;case"S":R=true;break;case"G":break;case"R":N=parseInt(y[u].slice(1),10)-1;break;case"C":F=parseInt(y[u].slice(1),10)-1;break;default:if(i&&i.WTF)thrownewError("SYLK bad record "+E);}if(C){if(!h[f][o])h[f][o]={t:P,v:_};else{h[f][o].t=P;h[f][o].v=_}if(v)h[f][o].z=v;if(i.cellText!==false&&v)h[f][o].w=ze(h[f][o].z,h[f][o].v,{date1904:T.Workbook.WBProps.date1904});v=null}if(R){if(I)thrownewError("SYLK shared formula cannot have own formula");varL=N>-1&&h[N][F];if(!L||!L[1])thrownewError("SYLK shared formula cannot find base");D=Bu(L[1],{r:f-N,c:o-F})}if(D){if(!h[f][o])h[f][o]={t:"n",f:D};elseh[f][o].f=D}break;case"F":varM=0;for(u=1;u<y.length;++u)switch(y[u].charAt(0)){case"X":o=parseInt(y[u].slice(1),10)-1;++M;break;case"Y":f=parseInt(y[u].slice(1),10)-1;for(k=h.length;k<=f;++k)h[k]=[];break;case"M":w=parseInt(y[u].slice(1),10)/20;break;case"F":break;case"G":break;case"P":v=d[parseInt(y[u].slice(1),10)];break;case"S":break;case"D":break;case"N":break;case"W":g=y[u].slice(1).split(" ");for(k=parseInt(g[0],10);k<=parseInt(g[1],10);++k){w=parseInt(g[2],10);b[k-1]=w===0?{hidden:true}:{wch:w}}break;case"C":o=parseInt(y[u].slice(1),10)-1;if(!b[o])b[o]={};break;case"R":f=parseInt(y[u].slice(1),10)-1;if(!m[f])m[f]={};if(w>0){m[f].hpt=w;m[f].hpx=Go(w)}elseif(w===0)m[f].hidden=true;break;default:if(i&&i.WTF)thrownewError("SYLK bad record "+E);}if(M<1)v=null;break;default:if(i&&i.WTF)thrownewError("SYLK bad record "+E);}}if(m.length>0)p["!rows"]=m;if(b.length>0)p["!cols"]=b;b.forEach(function(e){Ho(e)});if(i&&i.sheetRows)h=h.slice(0,i.sheetRows);return[h,p,T]}functionf(e,r){vart=i(e,r);vara=t[0],n=t[1],s=t[2];varf=yr(r);f.date1904=(((s||{}).Workbook||{}).WBProps||{}).date1904;varl=Xa(a,f);sr(n).forEach(function(e){l[e]=n[e]});varo=Ga(l,r);sr(s).forEach(function(e){o[e]=s[e]});o.bookType="sylk";returno}functiono(e,r,t,a){varn="C;Y"+(t+1)+";X"+(a+1)+";K";switch(e.t){case"n":n+=e.v||0;if(e.f&&!e.F)n+=";E"+Uu(e.f,{r:t,c:a});break;case"b":n+=e.v?"TRUE":"FALSE";break;case"e":n+=e.w||e.v;break;case"d":n+='"'+(e.w||e.v)+'"';break;case"s":n+='"'+(e.v==null?"":String(e.v)).replace(/"/g,"").replace(/;/g,";;")+'"';break;}returnn}functionc(e,r){r.forEach(function(r,t){vara="F;W"+(t+1)+" "+(t+1)+" ";if(r.hidden)a+="0";else{if(typeofr.width=="number"&&!r.wpx)r.wpx=Lo(r.width);if(typeofr.wpx=="number"&&!r.wch)r.wch=Mo(r.wpx);if(typeofr.wch=="number")a+=Math.round(r.wch)}if(a.charAt(a.length-1)!=" ")e.push(a)})}functionu(e,r){r.forEach(function(r,t){vara="F;";if(r.hidden)a+="M0;";elseif(r.hpt)a+="M"+20*r.hpt+";";elseif(r.hpx)a+="M"+20*$o(r.hpx)+";";if(a.length>2)e.push(a+"R"+(t+1))})}functionh(e,r,t){vara=["ID;PSheetJS;N;E"],n=[];vari=za(e["!ref"]),s;varf=e["!data"]!=null;varl="\r\n";varh=(((t||{}).Workbook||{}).WBProps||{}).date1904;a.push("P;PGeneral");a.push("F;P0;DG0G8;M255");if(e["!cols"])c(a,e["!cols"]);if(e["!rows"])u(a,e["!rows"]);a.push("B;Y"+(i.e.r-i.s.r+1)+";X"+(i.e.c-i.s.c+1)+";D"+[i.s.c,i.s.r,i.e.c,i.e.r].join(" "));a.push("O;L;D;B"+(h?";V4":"")+";K47;G100 0.001");for(vard=i.s.r;d<=i.e.r;++d){if(f&&!e["!data"][d])continue;varv=[];for(varp=i.s.c;p<=i.e.c;++p){s=f?e["!data"][d][p]:e[Na(p)+Ca(d)];if(!s||s.v==null&&(!s.f||s.F))continue;v.push(o(s,e,d,p,r))}n.push(v.join(l))}returna.join(l)+l+n.join(l)+l+"E"+l}return{to_workbook:f,from_sheet:h}}();varRl=function(){functione(e,t){switch(t.type){case"base64":returnr(E(e),t);case"binary":returnr(e,t);case"buffer":returnr(y&&Buffer.isBuffer(e)?e.toString("binary"):R(e),t);case"array":returnr(Er(e),t);}thrownewError("Unrecognized type "+t.type)}functionr(e,r){vart=e.split("\n"),a=-1,n=-1,i=0,s=[];for(;i!==t.length;++i){if(t[i
if(p>=0){switch(e[0][p][1][0]){case0:m=Sr(" ",e[0][p][1][1]);break;case1:m=Sr("\r",e[0][p][1][1]);break;default:m="";if(n.WTF)thrownewError("Unexpected PtgAttrSpaceType "+e[0][p][1][0]);}o=o+m;p=-1}f.push(o+dd[w[0]]+l);break;case"PtgIsect":l=f.pop();o=f.pop();f.push(o+" "+l);break;case"PtgUnion":l=f.pop();o=f.pop();f.push(o+","+l);break;case"PtgRange":l=f.pop();o=f.pop();f.push(vd(o,l));break;case"PtgAttrChoose":break;case"PtgAttrGoto":break;case"PtgAttrIf":break;case"PtgAttrIfError":break;case"PtgRef":c=ya(w[1][1],s,n);f.push(_a(c,i));break;case"PtgRefN":c=t?ya(w[1][1],t,n):w[1][1];f.push(_a(c,i));break;case"PtgRef3d":u=w[1][1];c=ya(w[1][2],s,n);v=md(a,u,n);vark=v;f.push(v+"!"+_a(c,i));break;case"PtgFunc":;case"PtgFuncVar":varT=w[1][0],E=w[1][1];if(!T)T=0;T&=127;vary=T==0?[]:f.slice(-T);f.length-=T;if(E==="User")E=y.shift();f.push(E+"("+y.join(",")+")");break;case"PtgBool":f.push(w[1]?"TRUE":"FALSE");break;case"PtgInt":f.push(w[1]);break;case"PtgNum":f.push(String(w[1]));break;case"PtgStr":f.push('"'+w[1].replace(/"/g,'""')+'"');break;case"PtgErr":f.push(w[1]);break;case"PtgAreaN":d=Sa(w[1][1],t?{s:t}:s,n);f.push(xa(d,n));break;case"PtgArea":d=Sa(w[1][1],s,n);f.push(xa(d,n));break;case"PtgArea3d":u=w[1][1];d=w[1][2];v=md(a,u,n);f.push(v+"!"+xa(d,n));break;case"PtgAttrSum":f.push("SUM("+f.pop()+")");break;case"PtgAttrBaxcel":;case"PtgAttrSemi":break;case"PtgName":h=w[1][2];varS=(a.names||[])[h-1]||(a[0]||[])[h];var_=S?S.Name:"SH33TJSNAME"+String(h);if(_&&_.slice(0,6)=="_xlfn."&&!n.xlfn)_=_.slice(6);f.push(_);break;case"PtgNameX":varx=w[1][1];h=w[1][2];varA;if(n.biff<=5){if(x<0)x=-x;if(a[x])A=a[x][h]}else{varC="";if(((a[x]||[])[0]||[])[0]==14849){}elseif(((a[x]||[])[0]||[])[0]==1025){if(a[x][h]&&a[x][h].itab>0){C=a.SheetNames[a[x][h].itab-1]+"!"}}elseC=a.SheetNames[h-1]+"!";if(a[x]&&a[x][h])C+=a[x][h].Name;elseif(a[0]&&a[0][h])C+=a[0][h].Name;else{varO=(pd(a,x,n)||"").split(";;");if(O[h-1])C=O[h-1];elseC+="SH33TJSERRX"}f.push(C);break}if(!A)A={Name:"SH33TJSERRY"};f.push(A.Name);break;case"PtgParen":varR="(",I=")";if(p>=0){m="";switch(e[0][p][1][0]){case2:R=Sr(" ",e[0][p][1][1])+R;break;case3:R=Sr("\r",e[0][p][1][1])+R;break;case4:I=Sr(" ",e[0][p][1][1])+I;break;case5:I=Sr("\r",e[0][p][1][1])+I;break;default:if(n.WTF)thrownewError("Unexpected PtgAttrSpaceType "+e[0][p][1][0]);}p=-1}f.push(R+f.pop()+I);break;case"PtgRefErr":f.push("#REF!");break;case"PtgRefErr3d":f.push("#REF!");break;case"PtgExp":c={c:w[1][1],r:w[1][0]};varN={c:t.c,r:t.r};if(a.sharedf[Ma(c)]){varF=a.sharedf[Ma(c)];f.push(bd(F,s,N,a,n))}else{varD=false;for(l=0;l!=a.arrayf.length;++l){o=a.arrayf[l];if(c.c<o[0].s.c||c.c>o[0].e.c)continue;if(c.r<o[0].s.r||c.r>o[0].e.r)continue;f.push(bd(o[1],s,N,a,n));D=true;break}if(!D)f.push(w[1])}break;case"PtgArray":f.push("{"+hd(w[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":;case"PtgAttrSpaceSemi":p=b;break;case"PtgTbl":break;case"PtgMemErr":break;case"PtgMissArg":f.push("");break;case"PtgAreaErr":f.push("#REF!");break;case"PtgAreaErr3d":f.push("#REF!");break;case"PtgList":f.push("Table"+w[1].idx+"[#"+w[1].rt+"]");break;case"PtgMemAreaN":;case"PtgMemNoMemN":;case"PtgAttrNoop":;case"PtgSheet":;case"PtgEndSheet":break;case"PtgMemFunc":break;case"PtgMemNoMem":break;case"PtgElfCol":;case"PtgElfColS":;case"PtgElfColSV":;case"PtgElfColV":;case"PtgElfLel":;case"PtgElfRadical":;case"PtgElfRadicalLel":;case"PtgElfRadicalS":;case"PtgElfRw":;case"PtgElfRwV":thrownewError("Unsupported ELFs");case"PtgSxName":thrownewError("Unrecognized Formula Token: "+String(w));default:thrownewError("Unrecognized Formula Token: "+String(w));}varP=["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"];if(n.biff!=3)if(p>=0&&P.indexOf(e[0][b][0])==-1){w=e[0][p];varL=true;switch(w[1][0]){case4:L=false;case0:m=Sr(" ",w[1][1]);break;case5:L=false;case1:m=Sr("\r",w[1][1]);break;default:m="";if(n.WTF)thrownewError("Unexpected PtgAttrSpaceType "+w[1][0]);}f.push((L?m:"")+f.pop()+(L?"":m));p=-1}}if(f.length>1&&n.WTF)thrownewError("bad formula stack");if(f[0]=="TRUE")returntrue;if(f[0]=="FALSE")returnfalse;
}functionwv(e,r,t,a,n){gv(e.slice(0,e.indexOf(">")),t,a,n)}functionkv(e,r,t,a,n){vari=false;vars={},f=null;if(a.bookType!=="xlsx"&&r.vbaraw){varl=r.SheetNames[t];try{if(r.Workbook)l=r.Workbook.Sheets[t].CodeName||l}catch(o){}i=true;s.codeName=bt(nt(l))}if(e&&e["!outline"]){varc={summaryBelow:1,summaryRight:1};if(e["!outline"].above)c.summaryBelow=0;if(e["!outline"].left)c.summaryRight=0;f=(f||"")+At("outlinePr",null,c)}if(!i&&!f)return;n[n.length]=At("sheetPr",f,s)}varTv=["objects","scenarios","selectLockedCells","selectUnlockedCells"];varEv=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];functionyv(e){varr={sheet:1};Tv.forEach(function(t){if(e[t]!=null&&e[t])r[t]="1"});Ev.forEach(function(t){if(e[t]!=null&&!e[t])r[t]="0"});if(e.password)r.password=mo(e.password).toString(16).toUpperCase();returnAt("sheetProtection",null,r)}functionSv(e,r,t){vara=e["!data"]!=null;for(varn=0;n!=r.length;++n){vari=Jr(mt(r[n]),true);if(!i.ref)return;vars=((t||{})["!id"]||[])[i.id];if(s){i.Target=s.Target;if(i.location)i.Target+="#"+rt(i.location)}else{i.Target="#"+rt(i.location);s={Target:i.Target,TargetMode:"Internal"}}i.Rel=s;if(i.tooltip){i.Tooltip=i.tooltip;deletei.tooltip}varf=za(i.ref);for(varl=f.s.r;l<=f.e.r;++l)for(varo=f.s.c;o<=f.e.c;++o){varc=Na(o)+Ca(l);if(a){if(!e["!data"][l])e["!data"][l]=[];if(!e["!data"][l][o])e["!data"][l][o]={t:"z",v:undefined};e["!data"][l][o].l=i}else{if(!e[c])e[c]={t:"z",v:undefined};e[c].l=i}}}}function_v(e){varr={};["left","right","top","bottom","header","footer"].forEach(function(t){if(e[t])r[t]=parseFloat(e[t])});returnr}functionxv(e){rv(e);returnAt("pageMargins",null,e)}functionAv(e,r){vart=false;for(vara=0;a!=r.length;++a){varn=Jr(r[a],true);if(n.hidden)n.hidden=ut(n.hidden);vari=parseInt(n.min,10)-1,s=parseInt(n.max,10)-1;if(n.outlineLevel)n.level=+n.outlineLevel||0;deleten.min;deleten.max;n.width=+n.width;if(!t&&n.width){t=true;Wo(n.width)}Ho(n);while(i<=s)e[i++]=yr(n)}}functionCv(e,r){vart=["<cols>"],a;for(varn=0;n!=r.length;++n){if(!(a=r[n]))continue;t[t.length]=At("col",null,ev(n,a))}t[t.length]="</cols>";returnt.join("")}functionOv(e){varr={ref:(e.match(/ref="([^"]*)"/)||[])[1]};returnr}functionRv(e,r,t,a){varn=typeofe.ref=="string"?e.ref:Ba(e.ref);if(!t.Workbook)t.Workbook={Sheets:[]};if(!t.Workbook.Names)t.Workbook.Names=[];vari=t.Workbook.Names;vars=Ua(n);if(s.s.r==s.e.r){s.e.r=Ua(r["!ref"]).e.r;n=Ba(s)}for(varf=0;f<i.length;++f){varl=i[f];if(l.Name!="_xlnm._FilterDatabase")continue;if(l.Sheet!=a)continue;l.Ref=Ha(t.SheetNames[a])+"!"+Wa(n);break}if(f==i.length)i.push({Name:"_xlnm._FilterDatabase",Sheet:a,Ref:"'"+t.SheetNames[a]+"'!"+n});returnAt("autoFilter",null,{ref:n})}varIv=/<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/?>/g;functionNv(e,r){if(!r.Views)r.Views=[{}];(e.match(Iv)||[]).forEach(function(e,t){vara=Jr(e);if(!r.Views[t])r.Views[t]={};if(+a.zoomScale)r.Views[t].zoom=+a.zoomScale;if(a.rightToLeft&&ut(a.rightToLeft))r.Views[t].RTL=true})}functionFv(e,r,t,a){varn={workbookViewId:"0"};if((((a||{}).Workbook||{}).Views||[])[0])n.rightToLeft=a.Workbook.Views[0].RTL?"1":"0";returnAt("sheetViews",At("sheetView",null,n),{})}functionDv(e,r,t,a){if(e.c)t["!comments"].push([r,e.c]);if((e.v===undefined||e.t==="z"&&!(a||{}).sheetStubs)&&typeofe.f!=="string"&&typeofe.z=="undefined")return"";varn="";vari=e.t,s=e.v;if(e.t!=="z")switch(e.t){case"b":n=e.v?"1":"0";break;case"n":n=""+e.v;break;case"e":n=Jn[e.v];break;case"d":if(a&&a.cellDates)n=Tr(e.v,-1).toISOString();else{e=yr(e);e.t="n";n=""+(e.v=hr(Tr(e.v)))}if(typeofe.z==="undefined")e.z=Z[14];break;default:n=e.v;break;}varf=e.t=="z"||e.v==null?"":_t("v",nt(n)),l={r:r};varo=tv(a.cellXfs,e,a);if(o!==0)l.s=o;switch(e.t){case"n":break;case"d":l.t="d";break;case"b":l.t="b";break;case"e":l.t="e";break;case"z":break;default:if(e.v==null){deletee.t;break}if(e.v.length>32767)thrownewError("Text length must not exceed 32767 characters");if(a&&a.bookSST){f=_t("v",""+Qd(a.Strings,e.v,a.revSt
{i.Ref=rt(mt(e.slice(s,o)));t.Names.push(i)}break;case"<definedName/>":break;case"<calcPr":deletec[0];t.CalcPr=c;break;case"<calcPr/>":deletec[0];t.CalcPr=c;break;case"</calcPr>":break;case"<oleSize":break;case"<customWorkbookViews>":;case"</customWorkbookViews>":;case"<customWorkbookViews":break;case"<customWorkbookView":;case"</customWorkbookView>":break;case"<pivotCaches>":;case"</pivotCaches>":;case"<pivotCaches":break;case"<pivotCache":break;case"<smartTagPr":;case"<smartTagPr/>":break;case"<smartTagTypes":;case"<smartTagTypes>":;case"</smartTagTypes>":break;case"<smartTagType":break;case"<webPublishing":;case"<webPublishing/>":break;case"<fileRecoveryPr":;case"<fileRecoveryPr/>":break;case"<webPublishObjects>":;case"<webPublishObjects":;case"</webPublishObjects>":break;case"<webPublishObject":break;case"<extLst":;case"<extLst>":;case"</extLst>":;case"<extLst/>":break;case"<ext":a=true;break;case"</ext>":a=false;break;case"<ArchID":break;case"<AlternateContent":;case"<AlternateContent>":a=true;break;case"</AlternateContent>":a=false;break;case"<revisionPtr":break;default:if(!a&&r.WTF)thrownewError("unrecognized "+c[0]+" in workbook");}returnl});if(Ft.indexOf(t.xmlns)===-1)thrownewError("Unknown Namespace: "+t.xmlns);dm(t);returnt}functionTm(e){varr=[$r];r[r.length]=At("workbook",null,{xmlns:Ft[0],"xmlns:r":Nt.r});vart=e.Workbook&&(e.Workbook.Names||[]).length>0;vara={codeName:"ThisWorkbook"};if(e.Workbook&&e.Workbook.WBProps){fm.forEach(function(r){if(e.Workbook.WBProps[r[0]]==null)return;if(e.Workbook.WBProps[r[0]]==r[1])return;a[r[0]]=e.Workbook.WBProps[r[0]]});if(e.Workbook.WBProps.CodeName){a.codeName=e.Workbook.WBProps.CodeName;deletea.CodeName}}r[r.length]=At("workbookPr",null,a);varn=e.Workbook&&e.Workbook.Sheets||[];vari=0;if(n&&n[0]&&!!n[0].Hidden){r[r.length]="<bookViews>";for(i=0;i!=e.SheetNames.length;++i){if(!n[i])break;if(!n[i].Hidden)break}if(i==e.SheetNames.length)i=0;r[r.length]='<workbookView firstSheet="'+i+'" activeTab="'+i+'"/>';r[r.length]="</bookViews>"}r[r.length]="<sheets>";for(i=0;i!=e.SheetNames.length;++i){vars={name:nt(e.SheetNames[i].slice(0,31))};s.sheetId=""+(i+1);s["r:id"]="rId"+(i+1);if(n[i])switch(n[i].Hidden){case1:s.state="hidden";break;case2:s.state="veryHidden";break;}r[r.length]=At("sheet",null,s)}r[r.length]="</sheets>";if(t){r[r.length]="<definedNames>";if(e.Workbook&&e.Workbook.Names)e.Workbook.Names.forEach(function(e){vart={name:e.Name};if(e.Comment)t.comment=e.Comment;if(e.Sheet!=null)t.localSheetId=""+e.Sheet;if(e.Hidden)t.hidden="1";if(!e.Ref)return;r[r.length]=At("definedName",nt(e.Ref),t)});r[r.length]="</definedNames>"}if(r.length>2){r[r.length]="</workbook>";r[1]=r[1].replace("/>",">")}returnr.join("")}functionEm(e,r){vart={};t.Hidden=e._R(4);t.iTabID=e._R(4);t.strRelID=vn(e,r-8);t.name=Za(e);returnt}functionym(e,r){if(!r)r=wa(127);r._W(4,e.Hidden);r._W(4,e.iTabID);pn(e.strRelID,r);Ja(e.name.slice(0,31),r);returnr.length>r.l?r.slice(0,r.l):r}functionSm(e,r){vart={};vara=e._R(4);t.defaultThemeVersion=e._R(4);varn=r>8?Za(e):"";if(n.length>0)t.CodeName=n;t.autoCompressPictures=!!(a&65536);t.backupFile=!!(a&64);t.checkCompatibility=!!(a&4096);t.date1904=!!(a&1);t.filterPrivacy=!!(a&8);t.hidePivotFieldList=!!(a&1024);t.promptedSolutions=!!(a&16);t.publishItems=!!(a&2048);t.refreshAllConnections=!!(a&262144);t.saveExternalLinkValues=!!(a&128);t.showBorderUnselectedTables=!!(a&4);t.showInkAnnotation=!!(a&32);t.showObjects=["all","placeholders","none"][a>>13&3];t.showPivotChartFilter=!!(a&32768);t.updateLinks=["userSet","never","always"][a>>8&3];returnt}function_m(e,r){if(!r)r=wa(72);vart=0;if(e){if(e.date1904)t|=1;if(e.filterPrivacy)t|=8}r._W(4,t);r._W(4,0);cn(e&&e.CodeName||"ThisWorkbook",r);returnr.slice(0,r.l)}functionxm(e,r){vart={};e._R(4);t.ArchID=e._R(4);e.l+=r-8;returnt}functionAm(e,r,t){vara=e.l+r;varn=e._R(4);e.l+=1;vari=e._R(4);vars=dn(e);varf=Od(e,0,t);varl=un(e);if(n&32)s="_xlnm."+s;e.l=a;varo={Name:s,Ptg:f,Flags:n};if(i<268435455)o.Sheet=i;if(l)o.Comment=l;returno}functionCm(e,r){vart=wa(9);vara=0;varn=e.Name
break;default:Pb(e,513,Is(t,a,i));}}functionZb(e,r,t){vara=Ta();varn=t.SheetNames[e],i=t.Sheets[n]||{};vars=(t||{}).Workbook||{};varf=(s.Sheets||[])[e]||{};varl=i["!data"]!=null;varo=r.biff==8;varc,u="",h=[];vard=za(i["!ref"]||"A1");varv=o?65536:16384;if(d.e.c>255||d.e.r>=v){if(r.WTF)thrownewError("Range "+(i["!ref"]||"A1")+" exceeds format limit A1:IV16384");d.e.c=Math.min(d.e.c,255);d.e.r=Math.min(d.e.c,v-1)}Pb(a,2057,Ys(t,16,r));Pb(a,13,os(1));Pb(a,12,os(100));Pb(a,15,fs(true));Pb(a,17,fs(false));Pb(a,16,yn(.001));Pb(a,95,fs(true));Pb(a,42,fs(false));Pb(a,43,fs(false));Pb(a,130,os(1));Pb(a,128,Nf([0,0]));Pb(a,131,fs(false));Pb(a,132,fs(false));if(o)Yb(a,i["!cols"]);Pb(a,512,Sf(d,r));if(o)i["!links"]=[];varp=[];varm=[];for(varb=d.s.c;b<=d.e.c;++b)h[b]=Na(b);for(varg=d.s.r;g<=d.e.r;++g){if(l)m=i["!data"][g]||[];u=Ca(g);for(b=d.s.c;b<=d.e.c;++b){c=h[b]+u;varw=l?m[b]:i[c];if(!w)continue;Kb(a,w,g,b,r);if(o&&w.l)i["!links"].push([c,w.l]);if(o&&w.c)p.push([c,w.c])}}vark=f.CodeName||f.name||n;if(o)Pb(a,574,hf((s.Views||[])[0]));if(o&&(i["!merges"]||[]).length)Pb(a,229,Zf(i["!merges"]));if(o)Xb(a,i);Pb(a,442,ws(k,r));if(o)Gb(a,i);Pb(a,10);returna.end()}functionJb(e,r,t){vara=Ta();varn=(e||{}).Workbook||{};vari=n.Sheets||[];vars=n.WBProps||{};varf=t.biff==8,l=t.biff==5;Pb(a,2057,Ys(e,5,t));if(t.bookType=="xla")Pb(a,135);Pb(a,225,f?os(1200):null);Pb(a,193,ns(2));if(l)Pb(a,191);if(l)Pb(a,192);Pb(a,226);Pb(a,92,Js("SheetJS",t));Pb(a,66,os(f?1200:1252));if(f)Pb(a,353,os(0));if(f)Pb(a,448);Pb(a,317,vl(e.SheetNames.length));if(f&&e.vbaraw)Pb(a,211);if(f&&e.vbaraw){varo=s.CodeName||"ThisWorkbook";Pb(a,442,ws(o,t))}Pb(a,156,os(17));Pb(a,25,fs(false));Pb(a,18,fs(false));Pb(a,19,os(0));if(f)Pb(a,431,fs(false));if(f)Pb(a,444,os(0));Pb(a,61,cf(t));Pb(a,64,fs(false));Pb(a,141,os(0));Pb(a,34,fs(vm(e)=="true"));Pb(a,14,fs(true));if(f)Pb(a,439,fs(false));Pb(a,218,os(0));Vb(a,e,t);$b(a,e.SSF,t);jb(a,t);if(f)Pb(a,352,fs(false));varc=a.end();varu=Ta();if(f)Pb(u,140,sl());if(f&&t.Strings)Lb(u,252,tf(t.Strings,t));Pb(u,10);varh=u.end();vard=Ta();varv=0,p=0;for(p=0;p<e.SheetNames.length;++p)v+=(f?12:11)+(f?2:1)*e.SheetNames[p].length;varm=c.length+v+h.length;for(p=0;p<e.SheetNames.length;++p){varb=i[p]||{};Pb(d,133,ef({pos:m,hs:b.Hidden||0,dt:0,name:e.SheetNames[p]},t));m+=r[p].length}varg=d.end();if(v!=g.length)thrownewError("BS8 "+v+" != "+g.length);varw=[];if(c.length)w.push(c);if(g.length)w.push(g);if(h.length)w.push(h);returnF(w)}functionqb(e,r){vart=r||{};vara=[];if(e&&!e.SSF){e.SSF=yr(Z)}if(e&&e.SSF){Ge();$e(e.SSF);t.revssf=or(e.SSF);t.revssf[e.SSF[65535]]=0;t.ssf=e.SSF}t.Strings=[];t.Strings.Count=0;t.Strings.Unique=0;Ew(t);t.cellXfs=[];tv(t.cellXfs,{},{revssf:{General:0}});if(!e.Props)e.Props={};for(varn=0;n<e.SheetNames.length;++n)a[a.length]=Zb(n,t,e);a.unshift(Jb(e,a,t));returnF(a)}functionQb(e,r){for(vart=0;t<=e.SheetNames.length;++t){vara=e.Sheets[e.SheetNames[t]];if(!a||!a["!ref"])continue;varn=Ua(a["!ref"]);if(n.e.c>255){if(typeofconsole!="undefined"&&console.error)console.error("Worksheet '"+e.SheetNames[t]+"' extends beyond column IV (255). Data may be lost.")}}vari=r||{};switch(i.biff||2){case8:;case5:returnqb(e,r);case4:;case3:;case2:returnzb(e,r);}thrownewError("invalid type "+i.bookType+" for BIFF")}functioneg(e,r){vart=r||{};vara=t.dense!=null?t.dense:b;varn={};if(a)n["!data"]=[];e=e.replace(/<!--.*?-->/g,"");vari=e.match(/<table/i);if(!i)thrownewError("Invalid HTML: could not find <table>");vars=e.match(/<\/table/i);varf=i.index,l=s&&s.index||e.length;varo=Rr(e.slice(f,l),/(:?<tr[^>]*>)/i,"<tr>");varc=-1,u=0,h=0,d=0;varv={s:{r:1e7,c:1e7},e:{r:0,c:0}};varp=[];for(f=0;f<o.length;++f){varm=o[f].trim();varg=m.slice(0,3).toLowerCase();if(g=="<tr"){++c;if(t.sheetRows&&t.sheetRows<=c){--c;break}u=0;continue}if(g!="<td"&&g!="<th")continue;varw=m.split(/<\/t[dh]>/i);for(l=0;l<w.length;++l){vark=w[l].trim();if(!k.match(/<t[dh]/i))continue;varT=k,E=0;while(T.charAt(0)=="<"&&(E=T.indexOf(">"))>-1)T=T.slice(E+1);for(vary=0;y<p.length;++y){varS=p[y];if(S.s.c==u