for(o=0;o<c.size;++o)n._W(1,c.content[o]);for(;o&63;++o)n._W(1,0)}}while(n.l<n.length)n._W(1,0);returnn}function_(e,r){vart=e.FullPaths.map(function(e){returne.toUpperCase()});vara=t.map(function(e){varr=e.split("/");returnr[r.length-(e.slice(-1)=="/"?2:1)]});varn=false;if(r.charCodeAt(0)===47){n=true;r=t[0].slice(0,-1)+r}elsen=r.indexOf("/")!==-1;vari=r.toUpperCase();vars=n===true?t.indexOf(i):a.indexOf(i);if(s!==-1)returne.FileIndex[s];varf=!i.match(I);i=i.replace(y,"");if(f)i=i.replace(I,"!");for(s=0;s<t.length;++s){if((f?t[s].replace(I,"!"):t[s]).replace(y,"")==i)returne.FileIndex[s];if((f?a[s].replace(I,"!"):a[s]).replace(y,"")==i)returne.FileIndex[s]}returnnull}varB=64;varT=-2;varR="d0cf11e0a1b11ae1";varD=[208,207,17,224,161,177,26,225];varO="00000000000000000000000000000000";varF={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:T,FREESECT:-1,HEADER_SIGNATURE:R,HEADER_MINOR_VERSION:"3e00",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:O,EntryTypes:["unknown","storage","stream","lockbytes","property","root"]};functionP(e,r,t){i();vara=A(e,t);n.writeFileSync(r,a)}functionN(e){varr=newArray(e.length);for(vart=0;t<e.length;++t)r[t]=String.fromCharCode(e[t]);returnr.join("")}functionL(e,r){vart=A(e,r);switch(r&&r.type){case"file":i();n.writeFileSync(r.filename,t);returnt;case"binary":returnN(t);case"base64":returnm.encode(N(t));}returnt}functionM(e){varr={};w(r,e);returnr}functionH(e,r,t,n){vari=n&&n.unsafe;if(!i)w(e);vars=!i&&U.find(e,r);if(!s){varf=e.FullPaths[0];if(r.slice(0,f.length)==f)f=r;else{if(f.slice(-1)!="/")f+="/";f=(f+r).replace("//","/")}s={name:a(r),type:2};e.FileIndex.push(s);e.FullPaths.push(f);if(!i)U.utils.cfb_gc(e)}s.content=t;s.size=t?t.length:0;if(n){if(n.CLSID)s.clsid=n.CLSID}returns}functionW(e,r){w(e);vart=U.find(e,r);if(t)for(vara=0;a<e.FileIndex.length;++a)if(e.FileIndex[a]==t){e.FileIndex.splice(a,1);e.FullPaths.splice(a,1);returntrue}returnfalse}functionV(e,r,t){w(e);varn=U.find(e,r);if(n)for(vari=0;i<e.FileIndex.length;++i)if(e.FileIndex[i]==n){e.FileIndex[i].name=a(t);e.FullPaths[i]=t;returntrue}returnfalse}functionz(e){k(e,true)}e.find=_;e.read=C;e.parse=s;e.write=L;e.writeFile=P;e.utils={cfb_new:M,cfb_add:H,cfb_del:W,cfb_mov:V,cfb_gc:z,ReadShift:Pr,CheckField:Hr,prep_blob:Wr,bconcat:x,consts:F};returne}();if(typeofrequire!=="undefined"&&typeofmodule!=="undefined"&&typeofM==="undefined"){module.exports=U}varH;if(typeofrequire!=="undefined")try{H=require("fs")}catch(E){}functionW(e){if(typeofe==="string")returnA(e);if(Array.isArray(e))returnB(e);returne}functionV(e,r,t){if(typeofH!=="undefined"&&H.writeFileSync)returnt?H.writeFileSync(e,r,t):H.writeFileSync(e,r);vara=t=="utf8"?Ve(r):r;if(typeofIE_SaveFile!=="undefined")returnIE_SaveFile(a,e);if(typeofBlob!=="undefined"){varn=newBlob([W(a)],{type:"application/octet-stream"});if(typeofnavigator!=="undefined"&&navigator.msSaveBlob)returnnavigator.msSaveBlob(n,e);if(typeofsaveAs!=="undefined")returnsaveAs(n,e);if(typeofURL!=="undefined"&&typeofdocument!=="undefined"&&document.createElement&&URL.createObjectURL){vari=URL.createObjectURL(n);if(typeofchrome==="object"&&typeof(chrome.downloads||{}).download=="function"){if(URL.revokeObjectURL&&typeofsetTimeout!=="undefined")setTimeout(function(){URL.revokeObjectURL(i)},6e4);returnchrome.downloads.download({url:i,filename:e,saveAs:true})}vars=document.createElement("a");if(s.download!=null){s.download=e;s.href=i;document.body.appendChild(s);s.click();document.body.removeChild(s);if(URL.revokeObjectURL&&typeofsetTimeout!=="undefined")setTimeout(function(){URL.revokeObjectURL(i)},6e4);returni}}}if(typeof$!=="undefined"&&typeofFile!=="undefined"&&typeofFolder!=="undefined")try{varf=File(e);f.open("w");f.encoding="binary";if(Array.isArray(r))r=_(r);f.write(r);f.close();returnr}catch(o){if(!o.message||!o.message.match(/onstruct/))throwo}thrownewError("cannot save file "+e)}functionz(e){if(typeofH!=="undefined")returnH.readFileSync(e);if(typeof$!=="undefined"&&typeofFile!=="undefined"&&typeofFolder!=="undefined")t
t._W(1,1);t._W(31,e,"utf16le");returnt}function$n(e){varr=e._R(1);e.l++;vart=e._R(2);e.l+=2;return[r,t]}functionZn(e){varr=e._R(4),t=e.l;vara=false;if(r>24){e.l+=r-24;if(e._R(16)==="795881f43b1d7f48af2c825dc4852763")a=true;e.l=t}varn=e._R((a?r-24:r)>>1,"utf16le").replace(y,"");if(a)e.l+=24;returnn}functionQn(e){e.l+=2;varr=e._R(0,"lpstr-ansi");e.l+=2;if(e._R(2)!=57005)thrownewError("Bad FileMoniker");vart=e._R(4);if(t===0)returnr.replace(/\\/g,"/");vara=e._R(4);if(e._R(2)!=3)thrownewError("Bad FileMoniker");varn=e._R(a>>1,"utf16le").replace(y,"");returnn}functionJn(e,r){vart=e._R(16);r-=16;switch(t){case"e0c9ea79f9bace118c8200aa004ba90b":returnZn(e,r);case"0303000000000000c000000000000046":returnQn(e,r);default:thrownewError("Unsupported Moniker "+t);}}functionqn(e){varr=e._R(4);vart=r>0?e._R(r,"utf16le").replace(y,""):"";returnt}functionei(e,r){vart=e.l+r;vara=e._R(4);if(a!==2)thrownewError("Unrecognized streamVersion: "+a);varn=e._R(2);e.l+=2;vari,s,f,o,l="",c,h;if(n&16)i=qn(e,t-e.l);if(n&128)s=qn(e,t-e.l);if((n&257)===257)f=qn(e,t-e.l);if((n&257)===1)o=Jn(e,t-e.l);if(n&8)l=qn(e,t-e.l);if(n&32)c=e._R(16);if(n&64)h=cn(e);e.l=t;varu=s||f||o||"";if(u&&l)u+="#"+l;if(!u)u="#"+l;vard={Target:u};if(c)d.guid=c;if(h)d.time=h;if(i)d.Tooltip=i;returnd}functionri(e){varr=zr(512),t=0;vara=e.Target;varn=a.indexOf("#")>-1?31:23;switch(a.charAt(0)){case"#":n=28;break;case".":n&=~2;break;}r._W(4,2);r._W(4,n);vari=[8,6815827,6619237,4849780,83];for(t=0;t<i.length;++t)r._W(4,i[t]);if(n==28){a=a.slice(1);r._W(4,a.length+1);for(t=0;t<a.length;++t)r._W(2,a.charCodeAt(t));r._W(2,0)}elseif(n&2){i="e0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" ");for(t=0;t<i.length;++t)r._W(1,parseInt(i[t],16));r._W(4,2*(a.length+1));for(t=0;t<a.length;++t)r._W(2,a.charCodeAt(t));r._W(2,0)}else{i="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" ");for(t=0;t<i.length;++t)r._W(1,parseInt(i[t],16));vars=0;while(a.slice(s*3,s*3+3)=="../"||a.slice(s*3,s*3+3)=="..\\")++s;r._W(2,s);r._W(4,a.length+1);for(t=0;t<a.length;++t)r._W(1,a.charCodeAt(t)&255);r._W(1,0);r._W(2,65535);r._W(2,57005);for(t=0;t<6;++t)r._W(4,0)}returnr.slice(0,r.l)}functionti(e){varr=e._R(1),t=e._R(1),a=e._R(1),n=e._R(1);return[r,t,a,n]}functionai(e,r){vart=ti(e,r);t[3]=0;returnt}functionni(e){varr=e._R(2);vart=e._R(2);vara=e._R(2);return{r:r,c:t,ixfe:a}}functionii(e,r,t,a){if(!a)a=zr(6);a._W(2,e);a._W(2,r);a._W(2,t||0);returna}functionsi(e){varr=e._R(2);vart=e._R(2);e.l+=8;return{type:r,flags:t}}functionfi(e,r,t){returnr===0?"":Kn(e,r,t)}functionoi(e,r,t){vara=t.biff>8?4:2;varn=e._R(a),i=e._R(a,"i"),s=e._R(a,"i");return[n,i,s]}functionli(e){varr=e._R(2);vart=Nt(e);return[r,t]}functionci(e,r,t){e.l+=4;r-=4;vara=e.l+r;varn=zn(e,r,t);vari=e._R(2);a-=e.l;if(i!==a)thrownewError("Malformed AddinUdf: padding = "+a+" != "+i);e.l+=i;returnn}functionhi(e){varr=e._R(2);vart=e._R(2);vara=e._R(2);varn=e._R(2);return{s:{c:a,r:r},e:{c:n,r:t}}}functionui(e,r){if(!r)r=zr(8);r._W(2,e.s.r);r._W(2,e.e.r);r._W(2,e.s.c);r._W(2,e.e.c);returnr}functiondi(e){varr=e._R(2);vart=e._R(2);vara=e._R(1);varn=e._R(1);return{s:{c:a,r:r},e:{c:n,r:t}}}varpi=di;functionvi(e){e.l+=4;varr=e._R(2);vart=e._R(2);vara=e._R(2);e.l+=12;return[t,r,a]}functiongi(e){varr={};e.l+=4;e.l+=16;r.fSharedNote=e._R(2);e.l+=4;returnr}functionmi(e){varr={};e.l+=4;e.cf=e._R(2);returnr}functionbi(e){e.l+=2;e.l+=e._R(2)}varCi={0:bi,4:bi,5:bi,6:bi,7:mi,8:bi,9:bi,10:bi,11:bi,12:bi,13:gi,14:bi,15:bi,16:bi,17:bi,18:bi,19:bi,20:bi,21:vi};functionwi(e,r){vart=e.l+r;vara=[];while(e.l<t){varn=e._R(2);e.l-=2;try{a.push(Ci[n](e,t-e.l))}catch(i){e.l=t;returna}}if(e.l!=t)e.l=t;returna}functionEi(e,r){vart={BIFFVer:0,dt:0};t.BIFFVer=e._R(2);r-=2;if(r>=2){t.dt=e._R(2);e.l-=2}switch(t.BIFFVer){case1536:;case1280:;case1024:;case768:;case512:;case2:;case7:break;default:if(r>6)thrownewError("Unexpected BIFF Ver "+t.BIFFVer);}e._R(r);returnt}functionki(e,r,t){vara=1536,n=16;switch(t.bookType){case"biff8":break;case"biff5":a=1280;n=8;br
}if(a.sheetRows)n=n.slice(0,a.sheetRows);returnn}vart={44:",",9:"\t",59:";"};vara={44:3,9:2,59:1};functionn(e){varr={},n=false,i=0,s=0;for(;i<e.length;++i){if((s=e.charCodeAt(i))==34)n=!n;elseif(!n&&sint)r[s]=(r[s]||0)+1}s=[];for(iinr)if(r.hasOwnProperty(i)){s.push([r[i],i])}if(!s.length){r=a;for(iinr)if(r.hasOwnProperty(i)){s.push([r[i],i])}}s.sort(function(e,r){returne[0]-r[0]||a[e[1]]-a[r[1]]});returnt[s.pop()[1]]}functioni(e,r){vart=r||{};vara="";if(v!=null&&t.dense==null)t.dense=v;vari=t.dense?[]:{};vars={s:{c:0,r:0},e:{c:0,r:0}};if(e.slice(0,4)=="sep="&&e.charCodeAt(5)==10){a=e.charAt(4);e=e.slice(6)}elsea=n(e.slice(0,1024));varf=0,o=0,l=0;varc=0,h=0,u=a.charCodeAt(0),d=false,p=0;e=e.replace(/\r\n/gm,"\n");varg=t.dateNF!=null?N(t.dateNF):null;functionm(){varr=e.slice(c,h);vara={};if(r.charAt(0)=='"'&&r.charAt(r.length-1)=='"')r=r.slice(1,-1).replace(/""/g,'"');if(r.length===0)a.t="z";elseif(t.raw){a.t="s";a.v=r}elseif(r.trim().length===0){a.t="s";a.v=r}elseif(r.charCodeAt(0)==61){if(r.charCodeAt(1)==34&&r.charCodeAt(r.length-1)==34){a.t="s";a.v=r.slice(2,-1).replace(/""/g,'"')}elseif(Kl(r)){a.t="n";a.f=r.slice(1)}else{a.t="s";a.v=r}}elseif(r=="TRUE"){a.t="b";a.v=true}elseif(r=="FALSE"){a.t="b";a.v=false}elseif(!isNaN(l=fe(r))){a.t="n";if(t.cellText!==false)a.w=r;a.v=l}elseif(!isNaN(oe(r).getDate())||g&&r.match(g)){a.z=t.dateNF||R._table[14];varn=0;if(g&&r.match(g)){r=L(r,t.dateNF,r.match(g)||[]);n=1}if(t.cellDates){a.t="d";a.v=ae(r,n)}else{a.t="n";a.v=J(ae(r,n))}if(t.cellText!==false)a.w=R.format(a.z,a.vinstanceofDate?J(a.v):a.v);if(!t.cellNF)deletea.z}else{a.t="s";a.v=r}if(a.t=="z"){}elseif(t.dense){if(!i[f])i[f]=[];i[f][o]=a}elsei[lt({c:o,r:f})]=a;c=h+1;if(s.e.c<o)s.e.c=o;if(s.e.r<f)s.e.r=f;if(p==u)++o;else{o=0;++f;if(t.sheetRows&&t.sheetRows<=f)returntrue}}e:for(;h<e.length;++h)switch(p=e.charCodeAt(h)){case34:d=!d;break;caseu:;case10:;case13:if(!d&&m())breake;break;default:break;}if(h-c>0)m();i["!ref"]=ht(s);returni}functions(e,t){if(e.slice(0,4)=="sep=")returni(e,t);if(e.indexOf("\t")>=0||e.indexOf(",")>=0||e.indexOf(";")>=0)returni(e,t);returnmt(r(e,t),t)}functionf(e,r){vart="",a=r.type=="string"?[0,0,0,0]:og(e,r);switch(r.type){case"base64":t=m.decode(e);break;case"binary":t=e;break;case"buffer":t=e.toString("binary");break;case"array":t=ne(e);break;case"string":t=e;break;default:thrownewError("Unrecognized type "+r.type);}if(a[0]==239&&a[1]==187&&a[2]==191)t=We(t.slice(3));elseif((r.type=="binary"||r.type=="buffer")&&typeofcptable!=="undefined"&&r.codepage)t=cptable.utils.decode(r.codepage,cptable.utils.encode(1252,t));if(t.slice(0,19)=="socialcalc:version:")returnef.to_sheet(r.type=="string"?t:We(t),r);returns(t,r)}functiono(e,r){returnvt(f(e,r),r)}functionl(e){varr=[];vart=ut(e["!ref"]),a;varn=Array.isArray(e);for(vari=t.s.r;i<=t.e.r;++i){vars=[];for(varf=t.s.c;f<=t.e.c;++f){varo=lt({r:i,c:f});a=n?(e[i]||[])[f]:e[o];if(!a||a.v==null){s.push(" ");continue}varl=(a.w||(pt(a),a.w)||"").slice(0,10);while(l.length<10)l+=" ";s.push(l+(f===0?" ":""))}r.push(s.join(""))}returnr.join("\n")}return{to_workbook:o,to_sheet:f,from_sheet:l}}();functiontf(e,r){vart=r||{},a=!!t.WTF;t.WTF=true;try{varn=Js.to_workbook(e,t);t.WTF=a;returnn}catch(i){t.WTF=a;if(!i.message.match(/SYLK bad record ID/)&&a)throwi;returnrf.to_workbook(e,r)}}varaf=function(){functione(e,r,t){if(!e)return;Wr(e,e.l||0);vara=t.Enum||C;while(e.l<e.length){varn=e._R(2);vari=a[n]||a[255];vars=e._R(2);varf=e.l+s;varo=(i.f||Vr)(e,s,t);e.l=f;if(r(o,i.n,n))return}}functionr(e,r){switch(r.type){case"base64":returnt(S(m.decode(e)),r);case"binary":returnt(S(e),r);case"buffer":;case"array":returnt(e,r);}throw"Unsupported type "+r.type}functiont(r,t){if(!r)returnr;vara=t||{};if(v!=null&&a.dense==null)a.dense=v;varn=a.dense?[]:{},i="Sheet1",s=0;varf={},o=[i];varl={s:{r:0,c:0},e:{r:0,c:0}};varc=a.sheetRows||0;if(r[2]==2)a.Enum=C;elseif(r[2]==26)a.Enum=w;elseif(r[2]==14){a.Enum=w;a.qpro=true;r.l=0}elsethrownewError("Unrecognized LOTUS BOF "+r[2]);e(r,function
for(;a<12;++a)r._W(4,0)}returnr.length>r.l?r.slice(0,r.l):r}functionDo(e,r){vart=e.l+r;vara=e._R(2);varn=e._R(2);e.l=t;return{ixfe:a,numFmtId:n}}functionOo(e,r,t){if(!t)t=zr(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);returnt}functionFo(e,r){if(!r)r=zr(10);r._W(1,0);r._W(1,0);r._W(4,0);r._W(4,0);returnr}varPo=Vr;functionNo(e,r){if(!r)r=zr(51);r._W(1,0);Fo(null,r);Fo(null,r);Fo(null,r);Fo(null,r);Fo(null,r);returnr.length>r.l?r.slice(0,r.l):r}functionLo(e,r){if(!r)r=zr(12+4*10);r._W(4,e.xfId);r._W(2,1);r._W(1,+e.builtinId);r._W(1,0);Dt(e.name||"",r);returnr.length>r.l?r.slice(0,r.l):r}functionMo(e,r,t){vara=zr(4+256*2*4);a._W(4,e);Dt(r,a);Dt(t,a);returna.length>a.l?a.slice(0,a.l):a}functionUo(e,r,t){vara={};a.NumberFmt=[];for(varninR._table)a.NumberFmt[n]=R._table[n];a.CellXf=[];a.Fonts=[];vari=[];vars=false;Xr(e,functionf(e,n,o){switch(o){case44:a.NumberFmt[e[0]]=e[1];R.load(e[1],e[0]);break;case43:a.Fonts.push(e);if(e.color.theme!=null&&r&&r.themeElements&&r.themeElements.clrScheme){e.color.rgb=$f(r.themeElements.clrScheme[e.color.theme].rgb,e.color.tint||0)}break;case1025:break;case45:break;case46:break;case47:if(i[i.length-1]=="BrtBeginCellXFs"){a.CellXf.push(e)}break;case48:;case507:;case572:;case475:break;case1171:;case2102:;case1130:;case512:;case2095:;case3072:break;case35:s=true;break;case36:s=false;break;case37:i.push(n);break;case38:i.pop();break;default:if((n||"").indexOf("Begin")>0)i.push(n);elseif((n||"").indexOf("End")>0)i.pop();elseif(!s||t.WTF)thrownewError("Unexpected record "+o+" "+n);}});returna}functionHo(e,r){if(!r)return;vart=0;[[5,8],[23,26],[41,44],[50,392]].forEach(function(e){for(vara=e[0];a<=e[1];++a)if(r[a]!=null)++t});if(t==0)return;jr(e,"BrtBeginFmts",bt(t));[[5,8],[23,26],[41,44],[50,392]].forEach(function(t){for(vara=t[0];a<=t[1];++a)if(r[a]!=null)jr(e,"BrtFmt",_o(a,r[a]))});jr(e,"BrtEndFmts")}functionWo(e){varr=1;if(r==0)return;jr(e,"BrtBeginFonts",bt(r));jr(e,"BrtFont",To({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}));jr(e,"BrtEndFonts")}functionVo(e){varr=2;if(r==0)return;jr(e,"BrtBeginFills",bt(r));jr(e,"BrtFill",Ro({patternType:"none"}));jr(e,"BrtFill",Ro({patternType:"gray125"}));jr(e,"BrtEndFills")}functionzo(e){varr=1;if(r==0)return;jr(e,"BrtBeginBorders",bt(r));jr(e,"BrtBorder",No({}));jr(e,"BrtEndBorders")}functionXo(e){varr=1;jr(e,"BrtBeginCellStyleXFs",bt(r));jr(e,"BrtXF",Oo({numFmtId:0,fontId:0,fillId:0,borderId:0},65535));jr(e,"BrtEndCellStyleXFs")}functionGo(e,r){jr(e,"BrtBeginCellXFs",bt(r.length));r.forEach(function(r){jr(e,"BrtXF",Oo(r,0))});jr(e,"BrtEndCellXFs")}functionjo(e){varr=1;jr(e,"BrtBeginStyles",bt(r));jr(e,"BrtStyle",Lo({xfId:0,builtinId:0,name:"Normal"}));jr(e,"BrtEndStyles")}functionKo(e){varr=0;jr(e,"BrtBeginDXFs",bt(r));jr(e,"BrtEndDXFs")}functionYo(e){varr=0;jr(e,"BrtBeginTableStyles",Mo(r,"TableStyleMedium9","PivotStyleMedium4"));jr(e,"BrtEndTableStyles")}function$o(){return}functionZo(e,r){vart=Gr();jr(t,"BrtBeginStyleSheet");Ho(t,e.SSF);Wo(t,e);Vo(t,e);zo(t,e);Xo(t,e);Go(t,r.cellXfs);jo(t,e);Ko(t,e);Yo(t,e);$o(t,e);jr(t,"BrtEndStyleSheet");returnt.end()}ya.THEME="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme";functionQo(e,r,t){r.themeElements.clrScheme=[];vara={};(e[0].match(Se)||[]).forEach(function(e){varn=Be(e);switch(n[0]){case"<a:clrScheme":;case"</a:clrScheme>":break;case"<a:srgbClr":a.rgb=n.val;break;case"<a:sysClr":a.rgb=n.lastClr;break;case"<a:dk1>":;case"</a:dk1>":;case"<a:lt1>":;case"</a:lt1>":;case"<a:dk2>":;case"</a:dk2>":;case"<a:lt2>":;case"</a:lt2>":;case"<a:accent1>":;case"</a:accent1>":;case"<a:accent2>":;case"</a:accent2>":;case"<a:accent3>":;case"</a:accent3>":;case"<a:accent4>":;case"</a:accent4>":;case"<a:accent5>":;case"</a:accent5>":;case"<a:accent6>":;case"</a:accent6>":;case"<a:hlink>":;case"</a:hlink>":;case"<a:folHlink>":;case"</a:folHlink>":if(n[0].charAt(1)==="/"){r.themeElements.clrScheme.push(a);a={}}else{a.name=n[0].
Pt(e.strRelID,r);wt(e.name.slice(0,31),r);returnr.length>r.l?r.slice(0,r.l):r}functionJd(e,r){vart={};vara=e._R(4);t.defaultThemeVersion=e._R(4);varn=r>8?Ct(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}functionqd(e,r){if(!r)r=zr(72);vart=0;if(e){if(e.filterPrivacy)t|=8}r._W(4,t);r._W(4,0);It(e&&e.CodeName||"ThisWorkbook",r);returnr.slice(0,r.l)}functionep(e,r){vart={};e._R(4);t.ArchID=e._R(4);e.l+=r-8;returnt}functionrp(e,r,t){vara=e.l+r;e.l+=4;e.l+=1;varn=e._R(4);vari=Ot(e);vars=Oh(e,0,t);varf=Rt(e);e.l=a;varo={Name:i,Ptg:s};if(n<268435455)o.Sheet=n;if(f)o.Comment=f;returno}functiontp(e,r){vart={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""};vara=false;if(!r)r={};r.biff=12;varn=[];vari=[[]];i.SheetNames=[];i.XTI=[];Xr(e,functions(e,f,o){switch(o){case156:i.SheetNames.push(e.name);t.Sheets.push(e);break;case153:t.WBProps=e;break;case39:if(e.Sheet!=null)r.SID=e.Sheet;e.Ref=Sh(e.Ptg,null,null,i,r);deleter.SID;deletee.Ptg;n.push(e);break;case1036:break;case357:;case358:;case355:;case667:if(!i[0].length)i[0]=[o,e];elsei.push([o,e]);i[i.length-1].XTI=[];break;case362:if(i.length===0){i[0]=[];i[0].XTI=[]}i[i.length-1].XTI=i[i.length-1].XTI.concat(e);i.XTI=i.XTI.concat(e);break;case361:break;case3072:;case3073:;case2071:;case534:;case677:;case158:;case157:;case610:;case2050:;case155:;case548:;case676:;case128:;case665:;case2128:;case2125:;case549:;case2053:;case596:;case2076:;case2075:;case2082:;case397:;case154:;case1117:;case553:;case2091:break;case35:a=true;break;case36:a=false;break;case37:break;case38:break;case16:break;default:if((f||"").indexOf("Begin")>0){}elseif((f||"").indexOf("End")>0){}elseif(!a||r.WTF)thrownewError("Unexpected record "+o+" "+f);}},r);Hd(t);t.Names=n;t.supbooks=i;returnt}functionap(e,r){jr(e,"BrtBeginBundleShs");for(vart=0;t!=r.SheetNames.length;++t){vara=r.Workbook&&r.Workbook.Sheets&&r.Workbook.Sheets[t]&&r.Workbook.Sheets[t].Hidden||0;varn={Hidden:a,iTabID:t+1,strRelID:"rId"+(t+1),name:r.SheetNames[t]};jr(e,"BrtBundleSh",Qd(n))}jr(e,"BrtEndBundleShs")}functionnp(r,t){if(!t)t=zr(127);for(vara=0;a!=4;++a)t._W(4,0);wt("SheetJS",t);wt(e.version,t);wt(e.version,t);wt("7262",t);t.length=t.l;returnt.length>t.l?t.slice(0,t.l):t}functionip(e,r){if(!r)r=zr(29);r._W(-4,0);r._W(-4,460);r._W(4,28800);r._W(4,17600);r._W(4,500);r._W(4,e);r._W(4,e);vart=120;r._W(1,t);returnr.length>r.l?r.slice(0,r.l):r}functionsp(e,r){if(!r.Workbook||!r.Workbook.Sheets)return;vart=r.Workbook.Sheets;vara=0,n=-1,i=-1;for(;a<t.length;++a){if(!t[a]||!t[a].Hidden&&n==-1)n=a;elseif(t[a].Hidden==1&&i==-1)i=a}if(i>n)return;jr(e,"BrtBeginBookViews");jr(e,"BrtBookView",ip(n));jr(e,"BrtEndBookViews")}functionfp(e,r){vart=Gr();jr(t,"BrtBeginBook");jr(t,"BrtFileVersion",np());jr(t,"BrtWbProp",qd(e.Workbook&&e.Workbook.WBProps||null));sp(t,e,r);ap(t,e,r);jr(t,"BrtEndBook");returnt.end()}functionop(e,r,t){if(r.slice(-4)===".bin")returntp(e,t);returnKd(e,t)}functionlp(e,r,t,a,n,i,s,f){if(r.slice(-4)===".bin")returndd(e,a,t,n,i,s,f);returnou(e,a,t,n,i,s,f)}functioncp(e,r,t,a,n,i,s,f){if(r.slice(-4)===".bin")returnDd(e,a,t,n,i,s,f);returnyd(e,a,t,n,i,s,f)}functionhp(e,r,t,a,n,i,s,f){if(r.slice(-4)===".bin")returnHl(e,a,t,n,i,s,f);returnWl(e,a,t,n,i,s,f)}functionup(e,r,t,a,n,i,s,f){if(r.slice(-4)===".bin")returnMl(e,a,t,n,i,s,f);returnUl(e,a,t,n,i,s,f)}functiondp(e,r,t,a){if(r.slice(-4)===".bin")returnUo(e,t,a);returnEo(e,t,a)}functionpp(e,r,t){returnil(e,t)}functionvp(e,r,t){if(r.slice(-4)===".bin")returnmf(e,t);returndf(e,t)}funct
switch(te){case"Date1904":t.opts.Date1904=B.WBProps.date1904=re;break;case"WriteProtect":t.opts.WriteProtect=true;break;case"FilePass":if(!D.enc)e.l=0;D.enc=re;if(!r.password)thrownewError("File is password-protected");if(re.valid==null)thrownewError("Encryption scheme unsupported");if(!re.valid)thrownewError("Password is incorrect");break;case"WriteAccess":D.lastuser=re;break;case"FileSharing":break;case"CodePage":switch(re){case21010:re=1200;break;case32768:re=1e4;break;case32769:re=1252;break;}o(D.codepage=re);$=true;break;case"RRTabId":D.rrtabid=re;break;case"WinProtect":D.winlocked=re;break;case"Template":break;case"BookBool":break;case"UsesELFs":break;case"MTRSettings":break;case"RefreshAll":;case"CalcCount":;case"CalcDelta":;case"CalcIter":;case"CalcMode":;case"CalcPrecision":;case"CalcSaveRecalc":t.opts[te]=re;break;case"CalcRefMode":D.CalcRefMode=re;break;case"Uncalced":break;case"ForceFullCalculation":t.opts.FullCalc=re;break;case"WsBool":if(re.fDialog)n["!type"]="dialog";break;case"XF":A.push(re);break;case"ExtSST":break;case"BookExt":break;case"RichTextStream":break;case"BkHim":break;case"SupBook":W.push([re]);W[W.length-1].XTI=[];break;case"ExternName":W[W.length-1].push(re);break;case"Index":break;case"Lbl":Y={Name:re.Name,Ref:Sh(re.rgce,s,null,W,D)};if(re.itab>0)Y.Sheet=re.itab-1;W.names.push(Y);if(!W[0]){W[0]=[];W[0].XTI=[]}W[W.length-1].push(re);if(re.Name=="_xlnm._FilterDatabase"&&re.itab>0)if(re.rgce&&re.rgce[0]&&re.rgce[0][0]&&re.rgce[0][0][0]=="PtgArea3d")K[re.itab-1]={ref:ht(re.rgce[0][0][1][2])};break;case"ExternCount":D.ExternCount=re;break;case"ExternSheet":if(W.length==0){W[0]=[];W[0].XTI=[]}W[W.length-1].XTI=W[W.length-1].XTI.concat(re);W.XTI=W.XTI.concat(re);break;case"NameCmt":if(D.biff<8)break;if(Y!=null)Y.Comment=re[1];break;case"Protect":n["!protect"]=re;break;case"Password":if(re!==0&&D.WTF)console.error("Password verifier: "+re);break;case"Prot4Rev":;case"Prot4RevPass":break;case"BoundSheet8":{i[re.pos]=re;D.snames.push(re.name)}break;case"EOF":{if(--z)break;if(s.e){if(s.e.r>0&&s.e.c>0){s.e.r--;s.e.c--;n["!ref"]=ht(s);if(r.sheetRows&&r.sheetRows<=s.e.r){varae=s.e.r;s.e.r=r.sheetRows-1;n["!fullref"]=n["!ref"];n["!ref"]=ht(s);s.e.r=ae}s.e.r++;s.e.c++}if(F.length>0)n["!merges"]=F;if(P.length>0)n["!objects"]=P;if(N.length>0)n["!cols"]=N;if(L.length>0)n["!rows"]=L;B.Sheets.push(T)}if(c==="")h=n;elsea[c]=n;n=r.dense?[]:{}}break;case"BOF":{if(D.biff===8)D.biff={9:2,521:3,1033:4}[Q]||{512:2,768:3,1024:4,1280:5,1536:8,2:2,7:2}[re.BIFFVer]||8;if(z++)break;S=true;n=r.dense?[]:{};if(D.biff<8&&!$){$=true;o(D.codepage=r.codepage||1252)}if(D.biff<5){if(c==="")c="Sheet1";s={s:{r:0,c:0},e:{r:0,c:0}};varne={pos:e.l-J,name:c};i[ne.pos]=ne;D.snames.push(c)}elsec=(i[Z]||{name:""}).name;if(re.dt==32)n["!type"]="chart";if(re.dt==64)n["!type"]="macro";F=[];P=[];D.arrayf=w=[];N=[];L=[];M=U=0;H=false;T={Hidden:(i[Z]||{hs:0}).hs,name:c}}break;case"Number":;case"BIFF2NUM":;case"BIFF2INT":{if(n["!type"]=="chart")if(r.dense?(n[re.r]||[])[re.c]:n[lt({c:re.c,r:re.r})])++re.c;E={ixfe:re.ixfe,XF:A[re.ixfe]||{},v:re.val,t:"n"};if(G>0)E.z=j[E.ixfe>>8&31];rv(E,r,t.opts.Date1904);I({c:re.c,r:re.r},E,r)}break;case"BoolErr":{E={ixfe:re.ixfe,XF:A[re.ixfe],v:re.val,t:re.t};if(G>0)E.z=j[E.ixfe>>8&31];rv(E,r,t.opts.Date1904);I({c:re.c,r:re.r},E,r)}break;case"RK":{E={ixfe:re.ixfe,XF:A[re.ixfe],v:re.rknum,t:"n"};if(G>0)E.z=j[E.ixfe>>8&31];rv(E,r,t.opts.Date1904);I({c:re.c,r:re.r},E,r)}break;case"MulRk":{for(varie=re.c;ie<=re.C;++ie){varse=re.rkrec[ie-re.c][0];E={ixfe:se,XF:A[se],v:re.rkrec[ie-re.c][1],t:"n"};if(G>0)E.z=j[E.ixfe>>8&31];rv(E,r,t.opts.Date1904);I({c:ie,r:re.r},E,r)}}break;case"Formula":{if(re.val=="String"){f=re;break}E=tv(re.val,re.cell.ixfe,re.tt);E.XF=A[E.ixfe];if(r.cellFormula){varfe=re.formula;if(fe&&fe[0]&&fe[0][0]&&fe[0][0][0]=="PtgExp"){varoe=fe[0][0][1][0],le=fe[0][0][1][1];varce=lt({r:oe,c:le});if(C[ce])E.f=""+Sh(re.formula,s,re.cell,W,D);elseE.F=((r.dense?(n[oe]||[])[le]:n[ce])||{}).F}elseE.f=""+Sh(re.formula,s,re.cell,W,D)}if(G>0)E.z=j[E.ixfe>>8&31];rv(E,r,t.opts.Date1904);I(re.cell,E,r