thrownewError("Unsupported ELFs");case"PtgSxName":thrownewError("Unrecognized Formula Token: "+String(E));default:thrownewError("Unrecognized Formula Token: "+String(E));}varP=["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"];if(n.biff!=3)if(p>=0&&P.indexOf(e[0][m][0])==-1){E=e[0][p];varN=true;switch(E[1][0]){case4:N=false;case0:b=ue(" ",E[1][1]);break;case5:N=false;case1:b=ue("\r",E[1][1]);break;default:b="";if(n.WTF)thrownewError("Unexpected PtgAttrSpaceType "+E[1][0]);}f.push((N?b:"")+f.pop()+(N?"":b));p=-1}}if(f.length>1&&n.WTF)thrownewError("bad formula stack");returnf[0]}functionWu(e,r,t){vara=e.l+r,n=t.biff==2?1:2;vari,s=e._R(n);if(s==65535)return[[],Qr(e,r-2)];varf=Du(e,s,t);if(r!==s+n)i=Fu(e,r-s-n,f,t);e.l=a;return[f,i]}functionVu(e,r,t){vara=e.l+r,n=t.biff==2?1:2;vari,s=e._R(n);if(s==65535)return[[],Qr(e,r-2)];varf=Du(e,s,t);if(r!==s+n)i=Fu(e,r-s-n,f,t);e.l=a;return[f,i]}functionXu(e,r,t,a){varn=e.l+r;vari=Du(e,a,t);vars;if(n!==e.l)s=Fu(e,n-e.l,i,t);return[i,s]}functionGu(e,r,t){vara=e.l+r;varn,i=e._R(2);vars=Du(e,i,t);if(i==65535)return[[],Qr(e,r-2)];if(r!==i+2)n=Fu(e,a-i-2,s,t);return[s,n]}functionzu(e){varr;if(Lr(e,e.l+6)!==65535)return[Qt(e),"n"];switch(e[e.l]){case0:e.l+=8;return["String","s"];case1:r=e[e.l+2]===1;e.l+=8;return[r,"b"];case2:r=e[e.l+2];e.l+=8;return[r,"e"];case3:e.l+=8;return["","s"];}return[]}functionju(e){if(e==null){varr=Jr(8);r._W(1,3);r._W(1,0);r._W(2,0);r._W(2,0);r._W(2,65535);returnr}elseif(typeofe=="number")returnJt(e);returnJt(0)}function$u(e,r,t){vara=e.l+r;varn=pi(e,6);if(t.biff==2)++e.l;vari=zu(e,8);vars=e._R(1);if(t.biff!=2){e._R(1);if(t.biff>=5){e._R(4)}}varf=Vu(e,a-e.l,t);return{cell:n,val:i[0],formula:f,shared:s>>3&1,tt:i[1]}}functionKu(e,r,t,a,n){vari=bi(r,t,n);vars=ju(e.v);varf=Jr(6);varl=1|32;f._W(2,l);f._W(4,0);varo=Jr(e.bf.length);for(varc=0;c<e.bf.length;++c)o[c]=e.bf[c];varu=I([i,s,f,o]);returnu}functionYu(e,r,t){vara=e._R(4);varn=Du(e,a,t);vari=e._R(4);vars=i>0?Fu(e,i,n,t):null;return[n,s]}varQu=Yu;varJu=Yu;varZu=Yu;varqu=Yu;vareh={0:"BEEP",1:"OPEN",2:"OPEN.LINKS",3:"CLOSE.ALL",4:"SAVE",5:"SAVE.AS",6:"FILE.DELETE",7:"PAGE.SETUP",8:"PRINT",9:"PRINTER.SETUP",10:"QUIT",11:"NEW.WINDOW",12:"ARRANGE.ALL",13:"WINDOW.SIZE",14:"WINDOW.MOVE",15:"FULL",16:"CLOSE",17:"RUN",22:"SET.PRINT.AREA",23:"SET.PRINT.TITLES",24:"SET.PAGE.BREAK",25:"REMOVE.PAGE.BREAK",26:"FONT",27:"DISPLAY",28:"PROTECT.DOCUMENT",29:"PRECISION",30:"A1.R1C1",31:"CALCULATE.NOW",32:"CALCULATION",34:"DATA.FIND",35:"EXTRACT",36:"DATA.DELETE",37:"SET.DATABASE",38:"SET.CRITERIA",39:"SORT",40:"DATA.SERIES",41:"TABLE",42:"FORMAT.NUMBER",43:"ALIGNMENT",44:"STYLE",45:"BORDER",46:"CELL.PROTECTION",47:"COLUMN.WIDTH",48:"UNDO",49:"CUT",50:"COPY",51:"PASTE",52:"CLEAR",53:"PASTE.SPECIAL",54:"EDIT.DELETE",55:"INSERT",56:"FILL.RIGHT",57:"FILL.DOWN",61:"DEFINE.NAME",62:"CREATE.NAMES",63:"FORMULA.GOTO",64:"FORMULA.FIND",65:"SELECT.LAST.CELL",66:"SHOW.ACTIVE.CELL",67:"GALLERY.AREA",68:"GALLERY.BAR",69:"GALLERY.COLUMN",70:"GALLERY.LINE",71:"GALLERY.PIE",72:"GALLERY.SCATTER",73:"COMBINATION",74:"PREFERRED",75:"ADD.OVERLAY",76:"GRIDLINES",77:"SET.PREFERRED",78:"AXES",79:"LEGEND",80:"ATTACH.TEXT",81:"ADD.ARROW",82:"SELECT.CHART",83:"SELECT.PLOT.AREA",84:"PATTERNS",85:"MAIN.CHART",86:"OVERLAY",87:"SCALE",88:"FORMAT.LEGEND",89:"FORMAT.TEXT",90:"EDIT.REPEAT",91:"PARSE",92:"JUSTIFY",93:"HIDE",94:"UNHIDE",95:"WORKSPACE",96:"FORMULA",97:"FORMULA.FILL",98:"FORMULA.ARRAY",99:"DATA.FIND.NEXT",100:"DATA.FIND.PREV",101:"FORMULA.FIND.NEXT",102:"FORMULA.FIND.PREV",103:"ACTIVATE",104:"ACTIVATE.NEXT",105:"ACTIVATE.PREV",106:"UNLOCKED.NEXT",107:"UNLOCKED.PREV",108:"COPY.PICTURE",109:"SELECT",110:"DELETE.NAME",111:"DELETE.FORMAT",112:"VLINE",113:"HLINE",114:"VPAGE",115:"HPAGE",116:"VSCROLL",117:"HSCROLL",118:"ALERT",119:"NEW",120:"CANCEL.COPY",121:"SHOW.CLIPBOARD",122:"MESSAGE",124:"PASTE.LINK",125:"APP.ACTIVATE",126:"DELETE.ARROW",127:"ROW.HEIGHT",128:"FORMAT.MOVE",129:"FORMAT.SIZE",130:"FORMULA.REPLACE",131:"SEND.KEYS",132:"SELECT.SPECIAL",133:"APPLY.NAMES",134:"REPLACE.FONT",
}--g;T=g}else++T;for(E=0;E!=p.length;++E)if(p.charCodeAt(E)===62)break;++E;B=Oe(p.slice(0,E),true);if(!B.r)B.r=mt({r:C-1,c:T});w=p.slice(E);S={t:""};if((m=w.match(i))!=null&&m[1]!=="")S.v=Le(m[1]);if(c.cellFormula){if((m=w.match(s))!=null&&m[1]!==""){S.f=Le(Ye(m[1])).replace(/\r\n/g,"\n");if(!c.xlfn)S.f=cc(S.f);if(m[0].indexOf('t="array"')>-1){S.F=(w.match(n)||[])[1];if(S.F.indexOf(":")>-1)F.push([kt(S.F),S.F])}elseif(m[0].indexOf('t="shared"')>-1){x=Oe(m[0]);varz=Le(Ye(m[1]));if(!c.xlfn)z=cc(z);O[parseInt(x.si,10)]=[x,z,B.r]}}elseif(m=w.match(/<f[^>]*\/>/)){x=Oe(m[0]);if(O[x.si])S.f=lc(O[x.si][1],O[x.si][2],B.r)}varj=bt(B.r);for(E=0;E<F.length;++E)if(j.r>=F[E][0].s.r&&j.r<=F[E][0].e.r)if(j.c>=F[E][0].s.c&&j.c<=F[E][0].e.c)S.F=F[E][1]}if(B.t==null&&S.v===undefined){if(S.f||S.F){S.v=0;S.t="n"}elseif(!U)continue;elseS.t="z"}elseS.t=B.t||"n";if(u.s.c>T)u.s.c=T;if(u.e.c<T)u.e.c=T;switch(S.t){case"n":if(S.v==""||S.v==null){if(!U)continue;S.t="z"}elseS.v=parseFloat(S.v);break;case"s":if(typeofS.v=="undefined"){if(!U)continue;S.t="z"}else{_=lh[parseInt(S.v,10)];S.v=_.t;S.r=_.r;if(c.cellHTML)S.h=_.h}break;case"str":S.t="s";S.v=S.v!=null?Ye(S.v):"";if(c.cellHTML)S.h=Ge(S.v);break;case"inlineStr":m=w.match(a);S.t="s";if(m!=null&&(_=Tf(m[1]))){S.v=_.t;if(c.cellHTML)S.h=_.h}elseS.v="";break;case"b":S.v=Ke(S.v);break;case"d":if(c.cellDates)S.v=le(S.v,1);else{S.v=ee(le(S.v,1));S.t="n"}break;case"e":if(!c||c.cellText!==false)S.w=S.v;S.v=ya[S.v];break;}A=y=0;R=null;if(I&&B.s!==undefined){R=d.CellXf[B.s];if(R!=null){if(R.numFmtId!=null)A=R.numFmtId;if(c.cellStyles){if(R.fillId!=null)y=R.fillId}}}ph(S,A,y,c,h,d);if(c.cellDates&&I&&S.t=="n"&&D.is_date(D._table[A])){S.t="d";S.v=ne(S.v)}if(P){var$=bt(B.r);if(!o[$.r])o[$.r]=[];o[$.r][$.c]=S}elseo[B.r]=S}}if(N.length>0)o["!rows"]=N}}();functionjh(e,r,t,a){varn=[],i=[],s=kt(e["!ref"]),f="",l,o="",c=[],u=0,h=0,d=e["!rows"];varv=Array.isArray(e);varp={r:o},b,m=-1;for(h=s.s.c;h<=s.e.c;++h)c[h]=ht(h);for(u=s.s.r;u<=s.e.r;++u){i=[];o=lt(u);for(h=s.s.c;h<=s.e.c;++h){l=c[h]+o;varg=v?(e[u]||[])[h]:e[l];if(g===undefined)continue;if((f=Gh(g,l,e,r,t,a))!=null)i.push(f)}if(i.length>0||d&&d[u]){p={r:o};if(d&&d[u]){b=d[u];if(b.hidden)p.hidden=1;m=-1;if(b.hpx)m=Cl(b.hpx);elseif(b.hpt)m=b.hpt;if(m>-1){p.ht=m;p.customHeight=1}if(b.level){p.outlineLevel=b.level}}n[n.length]=or("row",i.join(""),p)}}if(d)for(;u<d.length;++u){if(d&&d[u]){p={r:u+1};b=d[u];if(b.hidden)p.hidden=1;m=-1;if(b.hpx)m=Cl(b.hpx);elseif(b.hpt)m=b.hpt;if(m>-1){p.ht=m;p.customHeight=1}if(b.level){p.outlineLevel=b.level}n[n.length]=or("row","",p)}}returnn.join("")}var$h=or("worksheet",null,{xmlns:hr.main[0],"xmlns:r":hr.r});functionKh(e,r,t,a){varn=[ye,$h];vari=t.SheetNames[e],s=0,f="";varl=t.Sheets[i];if(l==null)l={};varo=l["!ref"]||"A1";varc=kt(o);if(c.e.c>16383||c.e.r>1048575){if(r.WTF)thrownewError("Range "+o+" exceeds format limit A1:XFD1048576");c.e.c=Math.min(c.e.c,16383);c.e.r=Math.min(c.e.c,1048575);o=Et(c)}if(!a)a={};l["!comments"]=[];varu=[];Ih(l,t,e,r,n);n[n.length]=or("dimension",null,{ref:o});n[n.length]=Xh(l,r,e,t);if(r.sheetFormat)n[n.length]=or("sheetFormatPr",null,{defaultRowHeight:r.sheetFormat.defaultRowHeight||"16",baseColWidth:r.sheetFormat.baseColWidth||"10",outlineLevelRow:r.sheetFormat.outlineLevelRow||"7"});if(l["!cols"]!=null&&l["!cols"].length>0)n[n.length]=Lh(l,l["!cols"]);n[s=n.length]="<sheetData/>";l["!links"]=[];if(l["!ref"]!=null){f=jh(l,r,e,t,a);if(f.length>0)n[n.length]=f}if(n.length>s+1){n[n.length]="</sheetData>";n[s]=n[s].replace("/>",">")}if(l["!protect"]!=null)n[n.length]=Dh(l["!protect"]);if(l["!autofilter"]!=null)n[n.length]=Hh(l["!autofilter"],l,t,e);if(l["!merges"]!=null&&l["!merges"].length>0)n[n.length]=Ah(l["!merges"]);varh=-1,d,v=-1;if(l["!links"].length>0){n[n.length]="<hyperlinks>";l["!links"].forEach(function(e){if(!e[1].Target)return;d={ref:e[0]};if(e[1].Target.charAt(0)!="#"){v=Ga(a,-1,We(e[1].Target).replace(/#.*$/,""),La.HLINK);d["r:id"]="rId"+v}if((h=e[1].Target.indexOf("#"))>-1)d.location=We(e[1].Target.slice(h+1));if(e[1].Tooltip)d.tooltip=We(e[1].Tooltip)
}functionjv(e,r,t,a,n){return(r.slice(-4)===".bin"?nv:rv)(e,t,a,n)}function$v(e,r,t){return(r.slice(-4)===".bin"?uo:Ll)(e,t)}functionKv(e,r,t){return(r.slice(-4)===".bin"?Nf:Rf)(e,t)}functionYv(e,r,t){return(r.slice(-4)===".bin"?Yo:Xo)(e,t)}varQv=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g;varJv=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;functionZv(e,r){vart=e.split(/\s+/);vara=[];if(!r)a[0]=t[0];if(t.length===1)returna;varn=e.match(Qv),i,s,f,l;if(n)for(l=0;l!=n.length;++l){i=n[l].match(Jv);if((s=i[1].indexOf(":"))===-1)a[i[1]]=i[2].slice(1,i[2].length-1);else{if(i[1].slice(0,6)==="xmlns:")f="xmlns"+i[1].slice(6);elsef=i[1].slice(s+1);a[f]=i[2].slice(1,i[2].length-1)}}returna}functionqv(e){varr=e.split(/\s+/);vart={};if(r.length===1)returnt;vara=e.match(Qv),n,i,s,f;if(a)for(f=0;f!=a.length;++f){n=a[f].match(Jv);if((i=n[1].indexOf(":"))===-1)t[n[1]]=n[2].slice(1,n[2].length-1);else{if(n[1].slice(0,6)==="xmlns:")s="xmlns"+n[1].slice(6);elses=n[1].slice(i+1);t[s]=n[2].slice(1,n[2].length-1)}}returnt}functionep(e,r){vart=P[e]||Le(e);if(t==="General")returnD._general(r);returnD.format(t,r)}functionrp(e,r,t,a){varn=a;switch((t[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":n=Ke(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=le(a);break;case"i8":;case"string":;case"fixed":;case"uuid":;case"bin.base64":break;default:thrownewError("bad custprop:"+t[0]);}e[Le(r)]=n}functiontp(e,r,t){if(e.t==="z")return;if(!t||t.cellText!==false)try{if(e.t==="e"){e.w=e.w||Aa[e.v]}elseif(r==="General"){if(e.t==="n"){if((e.v|0)===e.v)e.w=D._general_int(e.v);elsee.w=D._general_num(e.v)}elsee.w=D._general(e.v)}elsee.w=ep(r||"General",e.v)}catch(a){if(t.WTF)throwa}try{varn=P[r]||r||"General";if(t.cellNF)e.z=n;if(t.cellDates&&e.t=="n"&&D.is_date(n)){vari=D.parse_date_code(e.v);if(i){e.t="d";e.v=newDate(i.y,i.m-1,i.d,i.H,i.M,i.S,i.u)}}}catch(a){if(t.WTF)throwa}}functionap(e,r,t){if(t.cellStyles){if(r.Interior){vara=r.Interior;if(a.Pattern)a.patternType=_l[a.Pattern]||a.Pattern}}e[r.ID]=r}functionnp(e,r,t,a,n,i,s,f,l,o){varc="General",u=a.StyleID,h={};o=o||{};vard=[];varv=0;if(u===undefined&&f)u=f.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=Ke(e);break;case"String":a.t="s";a.r=je(Le(e));a.v=e.indexOf("<")>-1?Le(r||e).replace(/<.*?>/g,""):a.r;break;case"DateTime":if(e.slice(-1)!="Z")e+="Z";a.v=(le(e)-newDate(Date.UTC(1899,11,30)))/(24*60*60*1e3);if(a.v!==a.v)a.v=Le(e);elseif(a.v<60)a.v=a.v-1;if(!c||c=="General")c="yyyy-mm-dd";case"Number":if(a.v===undefined)a.v=+e;if(!a.t)a.t="n";break;case"Error":a.t="e";a.v=ya[e];if(o.cellText!==false)a.w=e;break;default:if(e==""&&r==""){a.t="z"}else{a.t="s";a.v=je(r||e)}break;}tp(a,c,o);if(o.cellFormula!==false){if(a.Formula){varp=Le(a.Formula);if(p.charCodeAt(0)==61)p=p.slice(1);a.f=nc(p,n);deletea.Formula;if(a.ArrayRange=="RC")a.F=nc("RC:RC",n);elseif(a.ArrayRange){a.F=nc(a.ArrayRange,n);l.push([kt(a.F),a.F])}}else{for(v=0;v<l.length;++v)if(n.r>=l[v][0].s.r&&n.r<=l[v][0].e.r)if(n.c>=l[v][0].s.c&&n.c<=l[v][0].e.c)a.F=l[v][1]}}if(o.cellStyles){d.forEach(function(e){if(!h.patternType&&e.patternType)h.patternType=e.patternType});a.s=h}if(a.StyleID!==undefined)a.ixfe=a.StyleID}functionip(e){e.t=e.v||"";e.t=e.t.replace(/\r\n/g,"\n").replace(/\r/g,"\n");e.v=e.w=e.ixfe=undefined}functionsp(e){if(E&&Buffer.isBuffer(e))returne.toString("utf8");if(typeofe==="string")returne;if(typeofUint8Array!=="undefined"&&einstanceofUint8Array)returnYe(x(y(e)));thrownewError("Bad input format: expected Buffer or string")}varfp=/<(\/?)([^\s?><!\/:]*:|)([^\s?<>:\/]+)(?:[\s?:\/][^>]*)?>/gm;functionlp(e,r){vart=r||{};O(D);vara=d(sp(e));if(t.type=="binary"||t.type=="array"||t.type=="base64"){if(typeofcptable!=="undefined")a=cptable.utils.decode(65001,c(a));elsea=Ye(a)}varn=a.slice(0,1024).toLowerCase(),i=false;if(n.indexOf
ixfe:re.ixfe,XF:C[re.ixfe],v:re.rknum,t:"n"};if(G>0)w.z=z[w.ixfe>>8&31];Tp(w,r,t.opts.Date1904);I({c:re.c,r:re.r},w,r)}break;case"MulRk":{for(varse=re.c;se<=re.C;++se){varfe=re.rkrec[se-re.c][0];w={ixfe:fe,XF:C[fe],v:re.rkrec[se-re.c][1],t:"n"};if(G>0)w.z=z[w.ixfe>>8&31];Tp(w,r,t.opts.Date1904);I({c:se,r:re.r},w,r)}}break;case"Formula":{if(re.val=="String"){f=re;break}w=_p(re.val,re.cell.ixfe,re.tt);w.XF=C[w.ixfe];if(r.cellFormula){varle=re.formula;if(le&&le[0]&&le[0][0]&&le[0][0][0]=="PtgExp"){varoe=le[0][0][1][0],ce=le[0][0][1][1];varue=mt({r:oe,c:ce});if(E[ue])w.f=""+Hu(re.formula,s,re.cell,W,R);elsew.F=((r.dense?(n[oe]||[])[ce]:n[ue])||{}).F}elsew.f=""+Hu(re.formula,s,re.cell,W,R)}if(G>0)w.z=z[w.ixfe>>8&31];Tp(w,r,t.opts.Date1904);I(re.cell,w,r);f=re}break;case"String":{if(f){f.val=re;w=_p(re,f.cell.ixfe,"s");w.XF=C[w.ixfe];if(r.cellFormula){w.f=""+Hu(f.formula,s,f.cell,W,R)}if(G>0)w.z=z[w.ixfe>>8&31];Tp(w,r,t.opts.Date1904);I(f.cell,w,r);f=null}elsethrownewError("String record expects Formula")}break;case"Array":{k.push(re);varhe=mt(re[0].s);v=r.dense?(n[re[0].s.r]||[])[re[0].s.c]:n[he];if(r.cellFormula&&v){if(!f)break;if(!he||!v)break;v.f=""+Hu(re[1],s,re[0],W,R);v.F=Et(re[0])}}break;case"ShrFmla":{if(!B)break;if(!r.cellFormula)break;if(d){if(!f)break;E[mt(f.cell)]=re[0];v=r.dense?(n[f.cell.r]||[])[f.cell.c]:n[mt(f.cell)];(v||{}).f=""+Hu(re[0],s,h,W,R)}}break;case"LabelSst":w=_p(o[re.isst].t,re.ixfe,"s");if(o[re.isst].h)w.h=o[re.isst].h;w.XF=C[w.ixfe];if(G>0)w.z=z[w.ixfe>>8&31];Tp(w,r,t.opts.Date1904);I({c:re.c,r:re.r},w,r);break;case"Blank":if(r.sheetStubs){w={ixfe:re.ixfe,XF:C[re.ixfe],t:"z"};if(G>0)w.z=z[w.ixfe>>8&31];Tp(w,r,t.opts.Date1904);I({c:re.c,r:re.r},w,r)}break;case"MulBlank":if(r.sheetStubs){for(varde=re.c;de<=re.C;++de){varve=re.ixfe[de-re.c];w={ixfe:ve,XF:C[ve],t:"z"};if(G>0)w.z=z[w.ixfe>>8&31];Tp(w,r,t.opts.Date1904);I({c:de,r:re.r},w,r)}}break;case"RString":;case"Label":;case"BIFF2STR":w=_p(re.val,re.ixfe,"s");w.XF=C[w.ixfe];if(G>0)w.z=z[w.ixfe>>8&31];Tp(w,r,t.opts.Date1904);I({c:re.c,r:re.r},w,r);break;case"Dimensions":{if(X===1)s=re}break;case"SST":{o=re}break;case"Format":{if(R.biff==4){z[G++]=re[1];for(varpe=0;pe<G+163;++pe)if(D._table[pe]==re[1])break;if(pe>=163)D.load(re[1],G+163)}elseD.load(re[1],re[0])}break;case"BIFF2FORMAT":{z[G++]=re;for(varbe=0;be<G+163;++be)if(D._table[be]==re)break;if(be>=163)D.load(re,G+163)}break;case"MergeCells":O=O.concat(re);break;case"Obj":P[re.cmo[0]]=R.lastobj=re;break;case"TxO":R.lastobj.TxO=re;break;case"ImData":R.lastobj.ImData=re;break;case"HLink":{for(g=re[0].s.r;g<=re[0].e.r;++g)for(m=re[0].s.c;m<=re[0].e.c;++m){v=r.dense?(n[g]||[])[m]:n[mt({c:m,r:g})];if(v)v.l=re[1]}}break;case"HLinkTooltip":{for(g=re[0].s.r;g<=re[0].e.r;++g)for(m=re[0].s.c;m<=re[0].e.c;++m){v=r.dense?(n[g]||[])[m]:n[mt({c:m,r:g})];if(v&&v.l)v.l.Tooltip=re[1]}}break;case"Note":{if(R.biff<=5&&R.biff>=2)break;v=r.dense?(n[re[0].r]||[])[re[0].c]:n[mt(re[0])];varme=P[re[2]];if(!v){if(r.dense){if(!n[re[0].r])n[re[0].r]=[];v=n[re[0].r][re[0].c]={t:"z"}}else{v=n[mt(re[0])]={t:"z"}}s.e.r=Math.max(s.e.r,re[0].r);s.s.r=Math.min(s.s.r,re[0].r);s.e.c=Math.max(s.e.c,re[0].c);s.s.c=Math.min(s.s.c,re[0].c)}if(!v.c)v.c=[];p={a:re[1],t:me.TxO.t};v.c.push(p)}break;default:switch(q.n){case"ClrtClient":break;case"XFExt":Ro(C[re.ixfe],re.ext);break;case"DefColWidth":L=re;break;case"DefaultRowHeight":U=re[1];break;case"ColInfo":{if(!R.cellStyles)break;while(re.e>=re.s){N[re.e--]={width:re.w/256};if(!H){H=true;kl(re.w/256)}wl(N[re.e+1])}}break;case"Row":{varge={};if(re.level!=null){M[re.r]=ge;ge.level=re.level}if(re.hidden){M[re.r]=ge;ge.hidden=true}if(re.hpt){M[re.r]=ge;ge.hpt=re.hpt;ge.hpx=Tl(re.hpt)}}break;case"LeftMargin":;case"RightMargin":;case"TopMargin":;case"BottomMargin":if(!n["!margins"])dh(n["!margins"]={});n["!margins"][te.slice(0,-6).toLowerCase()]=re;break;case"Setup":if(!n["!margins"])dh(n["!margins"]={});n["!margins"].header=re.header;n["!margins"].footer=re.footer;break;case"Window2":if(re.RTL)_.Views[0].RTL=true;break;case"Header":break;case"Footer":break;case"HCenter":br