t=10*t+n}r.s.r=--t;if(a===i||e.charCodeAt(++a)===58){r.e.c=r.s.c;r.e.r=r.s.r;returnr}for(t=0;a!=i;++a){if((n=e.charCodeAt(a)-64)<1||n>26)break;t=26*t+n}r.e.c=--t;for(t=0;a!=i;++a){if((n=e.charCodeAt(a)-48)<0||n>9)break;t=10*t+n}r.e.r=--t;returnr}functionEt(e,r){vart=e.t=="d"&&rinstanceofDate;if(e.z!=null)try{returne.w=O.format(e.z,t?ee(r):r)}catch(a){}try{returne.w=O.format((e.XF||{}).numFmtId||(t?14:0),t?ee(r):r)}catch(a){return""+r}}functionSt(e,r,t){if(e==null||e.t==null||e.t=="z")return"";if(e.w!==undefined)returne.w;if(e.t=="d"&&!e.z&&t&&t.dateNF)e.z=t.dateNF;if(e.t=="e")returnIa[e.v]||e.v;if(r==undefined)returnEt(e,e.v);returnEt(e,r)}function_t(e,r){vart=r&&r.sheet?r.sheet:"Sheet1";vara={};a[t]=e;return{SheetNames:[t],Sheets:a}}functionBt(e,r,t){vara=t||{};varn=e?Array.isArray(e):a.dense;if(m!=null&&n==null)n=m;vari=e||(n?[]:{});vars=0,f=0;if(i&&a.origin!=null){if(typeofa.origin=="number")s=a.origin;else{varl=typeofa.origin=="string"?mt(a.origin):a.origin;s=l.r;f=l.c}if(!i["!ref"])i["!ref"]="A1:A1"}varo={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(i["!ref"]){varc=kt(i["!ref"]);o.s.c=c.s.c;o.s.r=c.s.r;o.e.c=Math.max(o.e.c,c.e.c);o.e.r=Math.max(o.e.r,c.e.r);if(s==-1)o.e.r=s=c.e.r+1}for(varu=0;u!=r.length;++u){if(!r[u])continue;if(!Array.isArray(r[u]))thrownewError("aoa_to_sheet expects an array of arrays");for(varh=0;h!=r[u].length;++h){if(typeofr[u][h]==="undefined")continue;vard={v:r[u][h]};varv=s+u,p=f+h;if(o.s.r>v)o.s.r=v;if(o.s.c>p)o.s.c=p;if(o.e.r<v)o.e.r=v;if(o.e.c<p)o.e.c=p;if(r[u][h]&&typeofr[u][h]==="object"&&!Array.isArray(r[u][h])&&!(r[u][h]instanceofDate))d=r[u][h];else{if(Array.isArray(d.v)){d.f=r[u][h][1];d.v=d.v[0]}if(d.v===null){if(d.f)d.t="n";elseif(a.nullError){d.t="e";d.v=0}elseif(!a.sheetStubs)continue;elsed.t="z"}elseif(typeofd.v==="number")d.t="n";elseif(typeofd.v==="boolean")d.t="b";elseif(d.vinstanceofDate){d.z=a.dateNF||O._table[14];if(a.cellDates){d.t="d";d.w=O.format(d.z,ee(d.v))}else{d.t="n";d.v=ee(d.v);d.w=O.format(d.z,d.v)}}elsed.t="s"}if(n){if(!i[v])i[v]=[];if(i[v][p]&&i[v][p].z)d.z=i[v][p].z;i[v][p]=d}else{varb=bt({c:p,r:v});if(i[b]&&i[b].z)d.z=i[b].z;i[b]=d}}}if(o.s.c<1e7)i["!ref"]=wt(o);returni}functionCt(e,r){returnBt(null,e,r)}functionTt(e,r){if(!r)r=Jr(4);r._W(4,e);returnr}functionyt(e){varr=e._R(4);returnr===0?"":e._R(r,"dbcs")}functionxt(e,r){vart=false;if(r==null){t=true;r=Jr(4+2*e.length)}r._W(4,e.length);if(e.length>0)r._W(0,e,"dbcs");returnt?r.slice(0,r.l):r}functionAt(e){return{ich:e._R(2),ifnt:e._R(2)}}functionIt(e,r){if(!r)r=Jr(4);r._W(2,e.ich||0);r._W(2,e.ifnt||0);returnr}functionRt(e,r){vart=e.l;vara=e._R(1);varn=yt(e);vari=[];vars={t:n,h:n};if((a&1)!==0){varf=e._R(4);for(varl=0;l!=f;++l)i.push(At(e));s.r=i}elses.r=[{ich:0,ifnt:0}];e.l=t+r;returns}functionFt(e,r){vart=false;if(r==null){t=true;r=Jr(15+4*e.t.length)}r._W(1,0);xt(e.t,r);returnt?r.slice(0,r.l):r}varOt=Rt;functionDt(e,r){vart=false;if(r==null){t=true;r=Jr(23+4*e.t.length)}r._W(1,1);xt(e.t,r);r._W(4,1);It({ich:0,ifnt:0},r);returnt?r.slice(0,r.l):r}functionPt(e){varr=e._R(4);vart=e._R(2);t+=e._R(1)<<16;e.l++;return{c:r,iStyleRef:t}}functionNt(e,r){if(r==null)r=Jr(8);r._W(-4,e.c);r._W(3,e.iStyleRef||e.s);r._W(1,0);returnr}functionLt(e){varr=e._R(2);r+=e._R(1)<<16;e.l++;return{c:-1,iStyleRef:r}}functionMt(e,r){if(r==null)r=Jr(4);r._W(3,e.iStyleRef||e.s);r._W(1,0);returnr}varUt=yt;varzt=xt;functionHt(e){varr=e._R(4);returnr===0||r===4294967295?"":e._R(r,"dbcs")}functionWt(e,r){vart=false;if(r==null){t=true;r=Jr(127)}r._W(4,e.length>0?e.length:4294967295);if(e.length>0)r._W(0,e,"dbcs");returnt?r.slice(0,r.l):r}varVt=yt;varXt=Ht;varGt=Wt;functionjt(e){varr=e.slice(e.l,e.l+4);vart=r[0]&1,a=r[0]&2;e.l+=4;r[0]&=252;varn=a===0?Dr([0,0,0,0,r[0],r[1],r[2],r[3]],0):Hr(r,0)>>2;returnt?n/100:n}functionKt(e,r){if(r==null)r=Jr(4);vart=0,a=0,n=e*100;if(e==(e|0)&&e>=-(1<<29)&&e<1<<29){a=1}elseif(n==(n|0)&&n>=-(1<<29)&&n<1<<29){a=1;t=1}if(a)r._W(-4,((t?n:e)<<2)+(t+2));elsethrownewError("unsupported RkNumber "+e)}function$t(e){var
CA:"Â",DA:195,HA:"Ä",JA:197,AE:"È",BE:"É",CE:"Ê",HE:"Ë",AI:"Ì",BI:"Í",CI:"Î",HI:"Ï",AO:"Ò",BO:"Ó",CO:"Ô",DO:213,HO:"Ö",AU:"Ù",BU:"Ú",CU:"Û",HU:"Ü",Aa:"à",Ba:"á",Ca:"â",Da:227,Ha:"ä",Ja:229,Ae:"è",Be:"é",Ce:"ê",He:"ë",Ai:"ì",Bi:"í",Ci:"î",Hi:"ï",Ao:"ò",Bo:"ó",Co:"ô",Do:245,Ho:"ö",Au:"ù",Bu:"ú",Cu:"û",Hu:"ü",KC:"Ç",Kc:"ç",q:"æ",z:"œ",a:"Æ",j:"Œ",DN:209,Dn:241,Hy:255,S:169,c:170,R:174,"B ":180,0:176,1:177,2:178,3:179,5:181,6:182,7:183,Q:185,k:186,b:208,i:216,l:222,s:240,y:248,"!":161,'"':162,"#":163,"(":164,"%":165,"'":167,"H ":168,"+":171,";":187,"<":188,"=":189,">":190,"?":191,"{":223};varr=newRegExp("N("+K(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm");vart=function(r,t){vara=e[t];returntypeofa=="number"?p(a):a};vara=function(e,r,t){vara=r.charCodeAt(0)-32<<4|t.charCodeAt(0)-48;returna==59?e:p(a)};e["|"]=254;functionn(e,r){switch(r.type){case"base64":returni(g.decode(e),r);case"binary":returni(e,r);case"buffer":returni(w&&Buffer.isBuffer(e)?e.toString("binary"):y(e),r);case"array":returni(oe(e),r);}thrownewError("Unrecognized type "+r.type)}functioni(e,n){vari=e.split(/[\n\r]+/),s=-1,f=-1,o=0,c=0,u=[];varh=[];vard=null;varv={},p=[],m=[],b=[];varg=0,w;if(+n.codepage>=0)l(+n.codepage);for(;o!==i.length;++o){g=0;vark=i[o].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,a).replace(r,t);varE=k.replace(/;;/g,"\0").split(";").map(function(e){returne.replace(/\u0000/g,";")});varS=E[0],_;if(k.length>0)switch(S){case"ID":break;case"E":break;case"B":break;case"O":break;case"W":break;case"P":if(E[1].charAt(0)=="P")h.push(k.slice(3).replace(/;;/g,";"));break;case"C":varB=false,C=false,T=false,y=false,x=-1,A=-1;for(c=1;c<E.length;++c)switch(E[c].charAt(0)){case"A":break;case"X":f=parseInt(E[c].slice(1))-1;C=true;break;case"Y":s=parseInt(E[c].slice(1))-1;if(!C)f=0;for(w=u.length;w<=s;++w)u[w]=[];break;case"K":_=E[c].slice(1);if(_.charAt(0)==='"')_=_.slice(1,_.length-1);elseif(_==="TRUE")_=true;elseif(_==="FALSE")_=false;elseif(!isNaN(he(_))){_=he(_);if(d!==null&&O.is_date(d))_=ne(_)}elseif(!isNaN(de(_).getDate())){_=le(_)}if(typeofcptable!=="undefined"&&typeof_=="string"&&(n||{}).type!="string"&&(n||{}).codepage)_=cptable.utils.decode(n.codepage,_);B=true;break;case"E":y=true;varI=fc(E[c].slice(1),{r:s,c:f});u[s][f]=[u[s][f],I];break;case"S":T=true;u[s][f]=[u[s][f],"S5S"];break;case"G":break;case"R":x=parseInt(E[c].slice(1))-1;break;case"C":A=parseInt(E[c].slice(1))-1;break;default:if(n&&n.WTF)thrownewError("SYLK bad record "+k);}if(B){if(u[s][f]&&u[s][f].length==2)u[s][f][0]=_;elseu[s][f]=_;d=null}if(T){if(y)thrownewError("SYLK shared formula cannot have own formula");varR=x>-1&&u[x][A];if(!R||!R[1])thrownewError("SYLK shared formula cannot find base");u[s][f][1]=cc(R[1],{r:s-x,c:f-A})}break;case"F":varF=0;for(c=1;c<E.length;++c)switch(E[c].charAt(0)){case"X":f=parseInt(E[c].slice(1))-1;++F;break;case"Y":s=parseInt(E[c].slice(1))-1;for(w=u.length;w<=s;++w)u[w]=[];break;case"M":g=parseInt(E[c].slice(1))/20;break;case"F":break;case"G":break;case"P":d=h[parseInt(E[c].slice(1))];break;case"S":break;case"D":break;case"N":break;case"W":b=E[c].slice(1).split(" ");for(w=parseInt(b[0],10);w<=parseInt(b[1],10);++w){g=parseInt(b[2],10);m[w-1]=g===0?{hidden:true}:{wch:g};Bl(m[w-1])}break;case"C":f=parseInt(E[c].slice(1))-1;if(!m[f])m[f]={};break;case"R":s=parseInt(E[c].slice(1))-1;if(!p[s])p[s]={};if(g>0){p[s].hpt=g;p[s].hpx=xl(g)}elseif(g===0)p[s].hidden=true;break;default:if(n&&n.WTF)thrownewError("SYLK bad record "+k);}if(F<1)d=null;break;default:if(n&&n.WTF)thrownewError("SYLK bad record "+k);}}if(p.length>0)v["!rows"]=p;if(m.length>0)v["!cols"]=m;if(n&&n.sheetRows)u=u.slice(0,n.sheetRows);return[u,v]}functions(e,r){vart=n(e,r);vara=t[0],i=t[1];vars=Ct(a,r);K(i).forEach(function(e){s[e]=i[e]});returns}functionf(e,r){return_t(s(e,r),r)}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"+oc(e.f,{r:t,c:a});break;case"b":n+=e.v?"TRUE":"FALSE";break;case"e":n+=e
Solid:"solid",Gray50:"mediumGray",Gray75:"darkGray",Gray25:"lightGray",HorzStripe:"darkHorizontal",VertStripe:"darkVertical",ReverseDiagStripe:"darkDown",DiagStripe:"darkUp",DiagCross:"darkGrid",ThickDiagCross:"darkTrellis",ThinHorzStripe:"lightHorizontal",ThinVertStripe:"lightVertical",ThinReverseDiagStripe:"lightDown",ThinHorzCross:"lightGrid"};functionIl(e,r,t,a){r.Borders=[];varn={};vari=false;(e[0].match(Re)||[]).forEach(function(e){vart=De(e);switch(Pe(t[0])){case"<borders":;case"<borders>":;case"</borders>":break;case"<border":;case"<border>":;case"<border/>":n={};if(t.diagonalUp)n.diagonalUp=$e(t.diagonalUp);if(t.diagonalDown)n.diagonalDown=$e(t.diagonalDown);r.Borders.push(n);break;case"</border>":break;case"<left/>":break;case"<left":;case"<left>":break;case"</left>":break;case"<right/>":break;case"<right":;case"<right>":break;case"</right>":break;case"<top/>":break;case"<top":;case"<top>":break;case"</top>":break;case"<bottom/>":break;case"<bottom":;case"<bottom>":break;case"</bottom>":break;case"<diagonal":;case"<diagonal>":;case"<diagonal/>":break;case"</diagonal>":break;case"<horizontal":;case"<horizontal>":;case"<horizontal/>":break;case"</horizontal>":break;case"<vertical":;case"<vertical>":;case"<vertical/>":break;case"</vertical>":break;case"<start":;case"<start>":;case"<start/>":break;case"</start>":break;case"<end":;case"<end>":;case"<end/>":break;case"</end>":break;case"<color":;case"<color>":break;case"<color/>":;case"</color>":break;case"<extLst":;case"<extLst>":;case"</extLst>":break;case"<ext":i=true;break;case"</ext>":i=false;break;default:if(a&&a.WTF){if(!i)thrownewError("unrecognized "+t[0]+" in borders")};}})}functionRl(e,r,t,a){r.Fills=[];varn={};vari=false;(e[0].match(Re)||[]).forEach(function(e){vart=De(e);switch(Pe(t[0])){case"<fills":;case"<fills>":;case"</fills>":break;case"<fill>":;case"<fill":;case"<fill/>":n={};r.Fills.push(n);break;case"</fill>":break;case"<gradientFill>":break;case"<gradientFill":;case"</gradientFill>":r.Fills.push(n);n={};break;case"<patternFill":;case"<patternFill>":if(t.patternType)n.patternType=t.patternType;break;case"<patternFill/>":;case"</patternFill>":break;case"<bgColor":if(!n.bgColor)n.bgColor={};if(t.indexed)n.bgColor.indexed=parseInt(t.indexed,10);if(t.theme)n.bgColor.theme=parseInt(t.theme,10);if(t.tint)n.bgColor.tint=parseFloat(t.tint);if(t.rgb)n.bgColor.rgb=t.rgb.slice(-6);break;case"<bgColor/>":;case"</bgColor>":break;case"<fgColor":if(!n.fgColor)n.fgColor={};if(t.theme)n.fgColor.theme=parseInt(t.theme,10);if(t.tint)n.fgColor.tint=parseFloat(t.tint);if(t.rgb!=null)n.fgColor.rgb=t.rgb.slice(-6);break;case"<fgColor/>":;case"</fgColor>":break;case"<stop":;case"<stop/>":break;case"</stop>":break;case"<color":;case"<color/>":break;case"</color>":break;case"<extLst":;case"<extLst>":;case"</extLst>":break;case"<ext":i=true;break;case"</ext>":i=false;break;default:if(a&&a.WTF){if(!i)thrownewError("unrecognized "+t[0]+" in fills")};}})}functionFl(e,r,t,a){r.Fonts=[];varn={};vars=false;(e[0].match(Re)||[]).forEach(function(e){varf=De(e);switch(Pe(f[0])){case"<fonts":;case"<fonts>":;case"</fonts>":break;case"<font":;case"<font>":break;case"</font>":;case"<font/>":r.Fonts.push(n);n={};break;case"<name":if(f.val)n.name=Ye(f.val);break;case"<name/>":;case"</name>":break;case"<b":n.bold=f.val?$e(f.val):1;break;case"<b/>":n.bold=1;break;case"<i":n.italic=f.val?$e(f.val):1;break;case"<i/>":n.italic=1;break;case"<u":switch(f.val){case"none":n.underline=0;break;case"single":n.underline=1;break;case"double":n.underline=2;break;case"singleAccounting":n.underline=33;break;case"doubleAccounting":n.underline=34;break;}break;case"<u/>":n.underline=1;break;case"<strike":n.strike=f.val?$e(f.val):1;break;case"<strike/>":n.strike=1;break;case"<outline":n.outline=f.val?$e(f.val):1;break;case"<outline/>":n.outline=1;break;case"<shadow":n.shadow=f.val?$e(f.val):1;break;case"<shadow/>":n.shadow=1;break;case"<condense":n.condense=f.val?$e(f.val):1;break;case"<condense/>":n.condense=1;break;case"<extend":n.extend=f.val?$e(f.val):1;break;case"<extend/>":n.extend=1;br
varl=e.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/);varo=!!l&&!!l[1]&&xf(l[1])||{r:"",t:"",h:""};s.r=o.r;if(o.r=="<t></t>")o.t=o.h="";s.t=(o.t||"").replace(/\r\n/g,"\n").replace(/\r/g,"\n");if(r.cellHTML)s.h=o.h;a.push(s)});returna}varGo=or("comments",null,{xmlns:hr.main[0]});functionjo(e){varr=[Ae,Go];vart=[];r.push("<authors>");e.forEach(function(e){e[1].forEach(function(e){vara=He(e.a);if(t.indexOf(a)>-1)return;t.push(a);r.push("<author>"+a+"</author>")})});r.push("</authors>");r.push("<commentList>");e.forEach(function(e){e[1].forEach(function(a){r.push('<comment ref="'+e[0]+'" authorId="'+t.indexOf(He(a.a))+'"><text>');r.push(fr("t",a.t==null?"":He(a.t)));r.push("</text></comment>")})});r.push("</commentList>");if(r.length>2){r[r.length]="</comments>";r[1]=r[1].replace("/>",">")}returnr.join("")}functionKo(e){varr={};r.iauthor=e._R(4);vart=Zt(e,16);r.rfx=t.s;r.ref=bt(t.s);e.l+=16;returnr}function$o(e,r){if(r==null)r=Jr(36);r._W(4,e[1].iauthor);Jt(e[0],r);r._W(4,0);r._W(4,0);r._W(4,0);r._W(4,0);returnr}varYo=yt;functionZo(e){returnxt(e.slice(0,54))}functionJo(e,r){vart=[];vara=[];varn={};vari=false;Qr(e,functions(e,f,l){switch(l){case632:a.push(e);break;case635:n=e;break;case637:n.t=e.t;n.h=e.h;n.r=e.r;break;case636:n.author=a[n.iauthor];deleten.iauthor;if(r.sheetRows&&n.rfx&&r.sheetRows<=n.rfx.r)break;if(!n.t)n.t="";deleten.rfx;t.push(n);break;case3072:break;case35:i=true;break;case36:i=false;break;case37:break;case38:break;default:if((f||"").indexOf("Begin")>0){}elseif((f||"").indexOf("End")>0){}elseif(!i||r.WTF)thrownewError("Unexpected record "+l+" "+f);}});returnt}functionQo(e){varr=qr();vart=[];et(r,"BrtBeginComments");et(r,"BrtBeginCommentAuthors");e.forEach(function(e){e[1].forEach(function(e){if(t.indexOf(e.a)>-1)return;t.push(e.a.slice(0,54));et(r,"BrtCommentAuthor",Zo(e.a))})});et(r,"BrtEndCommentAuthors");et(r,"BrtBeginCommentList");e.forEach(function(e){e[1].forEach(function(a){a.iauthor=t.indexOf(a.a);varn={s:mt(e[0]),e:mt(e[0])};et(r,"BrtBeginComment",$o([n,a]));if(a.t&&a.t.length>0)et(r,"BrtCommentText",Dt(a));et(r,"BrtEndComment");deletea.iauthor})});et(r,"BrtEndCommentList");et(r,"BrtEndComments");returnr.end()}varqo="application/vnd.ms-office.vbaProject";functionec(e){varr=W.utils.cfb_new({root:"R"});e.FullPaths.forEach(function(t,a){if(t.slice(-1)==="/"||!t.match(/_VBA_PROJECT_CUR/))return;varn=t.replace(/^[^\/]*/,"R").replace(/\/_VBA_PROJECT_CUR\u0000*/,"");W.utils.cfb_add(r,n,e.FileIndex[a].content)});returnW.write(r)}functionrc(e,r){r.FullPaths.forEach(function(t,a){if(a==0)return;varn=t.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");if(n.slice(-1)!=="/")W.utils.cfb_add(e,n,r.FileIndex[a].content)})}vartc=["xlsb","xlsm","xlam","biff8","xla"];za.DS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet";za.MS="http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet";functionac(){return{"!type":"dialog"}}functionnc(){return{"!type":"dialog"}}functionic(){return{"!type":"macro"}}functionsc(){return{"!type":"macro"}}varfc=function(){vare=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g;varr={r:0,c:0};functiont(e,t,a,n){vari=false,s=false;if(a.length==0)s=true;elseif(a.charAt(0)=="["){s=true;a=a.slice(1,-1)}if(n.length==0)i=true;elseif(n.charAt(0)=="["){i=true;n=n.slice(1,-1)}varf=a.length>0?parseInt(a,10)|0:0,l=n.length>0?parseInt(n,10)|0:0;if(i)l+=r.c;else--l;if(s)f+=r.r;else--f;returnt+(i?"":"$")+ht(l)+(s?"":"$")+lt(f)}returnfunctiona(n,i){r=i;returnn.replace(e,t)}}();varlc=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g;varoc=function(){returnfunctione(r,t){returnr.replace(lc,function(e,r,a,n,i,s){varf=ut(n)-(a?0:t.c);varl=ft(s)-(i?0:t.r);varo=l==0?"":!i?"["+l+"]":l+1;varc=f==0?"":!a?"["+f+"]":f+1;returnr+"R"+o+"C"+c})}}();functioncc(e,r){returne.replace(lc,function(e,t,a,n,i,s){returnt+(a=="$"?a+n:ht(ut(n)+r.c))+(i=
p.t="s";p.v=e[1];break;}if(b=s.CellXf[e[0].iStyleRef])gh(p,b.numFmtId,null,f,i,s);w=e[0].c==-1?w+1:e[0].c;if(f.dense){if(!l[g])l[g]=[];l[g][w]=p}elsel[ht(w)+S]=p;if(f.cellFormula){T=false;for(C=0;C<y.length;++C){varI=y[C];if(v.r>=I[0].s.r&&v.r<=I[0].e.r)if(w>=I[0].s.c&&w<=I[0].e.c){p.F=wt(I[0]);T=true}}if(!T&&e.length>3)p.f=e[3]}if(c.s.r>v.r)c.s.r=v.r;if(c.s.c>w)c.s.c=w;if(c.e.r<v.r)c.e.r=v.r;if(c.e.c<w)c.e.c=w;if(f.cellDates&&b&&p.t=="n"&&O.is_date(O._table[b.numFmtId])){varP=O.parse_date_code(p.v);if(P){p.t="d";p.v=newDate(P.y,P.m-1,P.d,P.H,P.M,P.S,P.u)}}break;case1:;case12:if(!f.sheetStubs||h)break;p={t:"z",v:undefined};w=e[0].c==-1?w+1:e[0].c;if(f.dense){if(!l[g])l[g]=[];l[g][w]=p}elsel[ht(w)+S]=p;if(c.s.r>v.r)c.s.r=v.r;if(c.s.c>w)c.s.c=w;if(c.e.r<v.r)c.e.r=v.r;if(c.e.c<w)c.e.c=w;break;case176:B.push(e);break;case494:varN=a["!id"][e.relId];if(N){e.Target=N.Target;if(e.loc)e.Target+="#"+e.loc;e.Rel=N}elseif(e.relId==""){e.Target="#"+e.loc}for(g=e.rfx.s.r;g<=e.rfx.e.r;++g)for(w=e.rfx.s.c;w<=e.rfx.e.c;++w){if(f.dense){if(!l[g])l[g]=[];if(!l[g][w])l[g][w]={t:"z",v:undefined};l[g][w].l=e}else{k=bt({c:w,r:g});if(!l[k])l[k]={t:"z",v:undefined};l[k].l=e}}break;case426:if(!f.cellFormula)break;y.push(e);_=f.dense?l[g][w]:l[ht(w)+S];_.f=Vu(e[1],c,{r:v.r,c:w},A,f);_.F=wt(e[0]);break;case427:if(!f.cellFormula)break;x[bt(e[0].s)]=e[1];_=f.dense?l[g][w]:l[ht(w)+S];_.f=Vu(e[1],c,{r:v.r,c:w},A,f);break;case60:if(!f.cellStyles)break;while(e.e>=e.s){R[e.e--]={width:e.w/256,hidden:!!(e.flags&1),level:e.level};if(!D){D=true;_l(e.w/256)}Bl(R[e.e+1])}break;case161:l["!autofilter"]={ref:wt(e)};break;case476:l["!margins"]=e;break;case147:if(!n.Sheets[t])n.Sheets[t]={};if(e.name)n.Sheets[t].CodeName=e.name;if(e.above||e.left)l["!outline"]={above:e.above,left:e.left};break;case137:if(!n.Views)n.Views=[{}];if(!n.Views[0])n.Views[0]={};if(e.RTL)n.Views[0].RTL=true;break;case485:break;case64:;case1053:break;case151:break;case152:;case175:;case644:;case625:;case562:;case396:;case1112:;case1146:;case471:;case1050:;case649:;case1105:;case49:;case589:;case607:;case564:;case1055:;case168:;case174:;case1180:;case499:;case507:;case550:;case171:;case167:;case1177:;case169:;case1181:;case551:;case552:;case661:;case639:;case478:;case537:;case477:;case536:;case1103:;case680:;case1104:;case1024:;case663:;case535:;case678:;case504:;case1043:;case428:;case170:;case3072:;case50:;case2070:;case1045:break;case35:h=true;break;case36:h=false;break;case37:u.push(r);h=true;break;case38:u.pop();h=false;break;default:if((r||"").indexOf("Begin")>0){}elseif((r||"").indexOf("End")>0){}elseif(!h||f.WTF)thrownewError("Unexpected record "+m+" "+r);}},f);deletef.supbooks;deletef["!row"];if(!l["!ref"]&&(c.s.r<2e6||o&&(o.e.r>0||o.e.c>0||o.s.r>0||o.s.c>0)))l["!ref"]=wt(o||c);if(f.sheetRows&&l["!ref"]){varP=kt(l["!ref"]);if(f.sheetRows<=+P.e.r){P.e.r=f.sheetRows-1;if(P.e.r>c.e.r)P.e.r=c.e.r;if(P.e.r<P.s.r)P.s.r=P.e.r;if(P.e.c>c.e.c)P.e.c=c.e.c;if(P.e.c<P.s.c)P.s.c=P.e.c;l["!fullref"]=l["!ref"];l["!ref"]=wt(P)}}if(B.length>0)l["!merges"]=B;if(R.length>0)l["!cols"]=R;if(F.length>0)l["!rows"]=F;returnl}functioniv(e,r,t,a,n,i,s){if(r.v===undefined)returnfalse;varf="";switch(r.t){case"b":f=r.v?"1":"0";break;case"d":r=ce(r);r.z=r.z||O._table[14];r.v=ee(le(r.v));r.t="n";break;case"n":;case"e":f=""+r.v;break;default:f=r.v;break;}varl={r:t,c:a};l.s=bh(n.cellXfs,r,n);if(r.l)i["!links"].push([bt(l),r.l]);if(r.c)i["!comments"].push([bt(l),r.c]);switch(r.t){case"s":;case"str":if(n.bookSST){f=vh(n.Strings,r.v,n.revStrings);l.t="s";l.v=f;if(s)et(e,"BrtShortIsst",_d(r,l));elseet(e,"BrtCellIsst",Ed(r,l))}else{l.t="str";if(s)et(e,"BrtShortSt",Pd(r,l));elseet(e,"BrtCellSt",Od(r,l))}returntrue;case"n":if(r.v==(r.v|0)&&r.v>-1e3&&r.v<1e3){if(s)et(e,"BrtShortRk",Rd(r,l));elseet(e,"BrtCellRk",Ad(r,l))}else{if(s)et(e,"BrtShortReal",yd(r,l));elseet(e,"BrtCellReal",Cd(r,l))}returntrue;case"b":l.t="b";if(s)et(e,"BrtShortBool",pd(r,l));elseet(e,"BrtCellBool",dd(r,l));returntrue;case"e":l.t="e";if(s)et(e,"BrtShor
if(f&&f.size>0)try{varl=Wn(f,Ea,$p.SI);for(varoinl)if(r[o]==null)r[o]=l[o]}catch(s){if(t.WTF)throws}if(r.HeadingPairs&&r.TitlesOfParts){on(r.HeadingPairs,r.TitlesOfParts,r,t);deleter.HeadingPairs;deleter.TitlesOfParts}}functionZp(e,r){vart=[],a=[],n=[];vari=0,s;if(e.Props){s=K(e.Props);for(i=0;i<s.length;++i)(Object.prototype.hasOwnProperty.call(_a,s[i])?t:Object.prototype.hasOwnProperty.call(Ba,s[i])?a:n).push([s[i],e.Props[s[i]]])}if(e.Custprops){s=K(e.Custprops);for(i=0;i<s.length;++i)if(!Object.prototype.hasOwnProperty.call(e.Props||{},s[i]))(Object.prototype.hasOwnProperty.call(_a,s[i])?t:Object.prototype.hasOwnProperty.call(Ba,s[i])?a:n).push([s[i],e.Custprops[s[i]]])}varf=[];for(i=0;i<n.length;++i){if(Un.indexOf(n[i][0])>-1)continue;if(n[i][1]==null)continue;f.push(n[i])}if(a.length)W.utils.cfb_add(r,"/SummaryInformation",Vn(a,$p.SI,Ba,Ea));if(t.length||f.length)W.utils.cfb_add(r,"/DocumentSummaryInformation",Vn(t,$p.DSI,_a,ka,f.length?f:null,$p.UDI))}functionJp(e,r){if(!r)r={};jm(r);o();if(r.codepage)s(r.codepage);vart,a;if(e.FullPaths){if(W.find(e,"/encryption"))thrownewError("File is password-protected");t=W.find(e,"!CompObj");a=W.find(e,"/Workbook")||W.find(e,"/Book")}else{switch(r.type){case"base64":e=C(g.decode(e));break;case"binary":e=C(e);break;case"buffer":break;case"array":if(!Array.isArray(e))e=Array.prototype.slice.call(e);break;}Yr(e,0);a={content:e}}varn;vari;if(t)Vp(t);if(r.bookProps&&!r.bookSheets)n={};else{varf=w?"buffer":"array";if(a&&a.content)n=Kp(a.content,r);elseif((i=W.find(e,"PerfectOffice_MAIN"))&&i.content)n=Ef.to_workbook(i.content,(r.type=f,r));elseif((i=W.find(e,"NativeContent_MAIN"))&&i.content)n=Ef.to_workbook(i.content,(r.type=f,r));elsethrownewError("Cannot find Workbook stream");if(r.bookVBA&&e.FullPaths&&W.find(e,"/_VBA_PROJECT_CUR/VBA/dir"))n.vbaraw=ec(e)}varl={};if(e.FullPaths)Yp(e,l,r);n.Props=n.Custprops=l;if(r.bookFiles)n.cfb=e;returnn}functionQp(e,r){vart=r||{};vara=W.utils.cfb_new({root:"R"});varn="/Workbook";switch(t.bookType||"xls"){case"xls":t.bookType="biff8";case"xla":if(!t.bookType)t.bookType="xla";case"biff8":n="/Workbook";t.biff=8;break;case"biff5":n="/Book";t.biff=5;break;default:thrownewError("invalid type "+t.bookType+" for XLS CFB");}W.utils.cfb_add(a,n,Em(e,t));if(t.biff==8&&(e.Props||e.Custprops))Zp(e,a);if(t.biff==8&&e.vbaraw)rc(a,W.read(e.vbaraw,{type:typeofe.vbaraw=="string"?"binary":"buffer"}));returna}varqp={0:{n:"BrtRowHdr",f:ed},1:{n:"BrtCellBlank",f:ld},2:{n:"BrtCellRk",f:xd},3:{n:"BrtCellError",f:md},4:{n:"BrtCellBool",f:hd},5:{n:"BrtCellReal",f:Bd},6:{n:"BrtCellSt",f:Fd},7:{n:"BrtCellIsst",f:kd},8:{n:"BrtFmlaString",f:Ud},9:{n:"BrtFmlaNum",f:Md},10:{n:"BrtFmlaBool",f:Nd},11:{n:"BrtFmlaError",f:Ld},12:{n:"BrtShortBlank",f:cd},13:{n:"BrtShortRk",f:Id},14:{n:"BrtShortError",f:gd},15:{n:"BrtShortBool",f:vd},16:{n:"BrtShortReal",f:Td},17:{n:"BrtShortSt",f:Dd},18:{n:"BrtShortIsst",f:Sd},19:{n:"BrtSSTItem",f:Rt},20:{n:"BrtPCDIMissing"},21:{n:"BrtPCDINumber"},22:{n:"BrtPCDIBoolean"},23:{n:"BrtPCDIError"},24:{n:"BrtPCDIString"},25:{n:"BrtPCDIDatetime"},26:{n:"BrtPCDIIndex"},27:{n:"BrtPCDIAMissing"},28:{n:"BrtPCDIANumber"},29:{n:"BrtPCDIABoolean"},30:{n:"BrtPCDIAError"},31:{n:"BrtPCDIAString"},32:{n:"BrtPCDIADatetime"},33:{n:"BrtPCRRecord"},34:{n:"BrtPCRRecordDt"},35:{n:"BrtFRTBegin"},36:{n:"BrtFRTEnd"},37:{n:"BrtACBegin"},38:{n:"BrtACEnd"},39:{n:"BrtName",f:jv},40:{n:"BrtIndexRowBlock"},42:{n:"BrtIndexBlock"},43:{n:"BrtFont",f:Xl},44:{n:"BrtFmt",f:Wl},45:{n:"BrtFill",f:$l},46:{n:"BrtBorder",f:ql},47:{n:"BrtXF",f:Zl},48:{n:"BrtStyle"},49:{n:"BrtCellMeta"},50:{n:"BrtValueMeta"},51:{n:"BrtMdb"},52:{n:"BrtBeginFmd"},53:{n:"BrtEndFmd"},54:{n:"BrtBeginMdx"},55:{n:"BrtEndMdx"},56:{n:"BrtBeginMdxTuple"},57:{n:"BrtEndMdxTuple"},58:{n:"BrtMdxMbrIstr"},59:{n:"BrtStr"},60:{n:"BrtColInfo",f:Js},62:{n:"BrtCellRString"},63:{n:"BrtCalcChainItem$",f:No},64:{n:"BrtDVal",f:tv},65:{n:"BrtSxvcellNum"},66:{n:"BrtSxvcellStr"},67:{n:"BrtSxvcellBool"},68:{n:"BrtSxvcellErr"},69:{n:"BrtSxvcellDate"},70:{n:"BrtSxvcellNil"},128:{n:"BrtFileVersion"},1
},4129:{n:"AxisLine"},4130:{n:"CrtLink"},4132:{n:"DefaultText"},4133:{n:"Text"},4134:{n:"FontX",f:Yn},4135:{n:"ObjectLink"},4146:{n:"Frame"},4147:{n:"Begin"},4148:{n:"End"},4149:{n:"PlotArea"},4154:{n:"Chart3d"},4156:{n:"PicF"},4157:{n:"DropBar"},4158:{n:"Radar"},4159:{n:"Surf"},4160:{n:"RadarArea"},4161:{n:"AxisParent"},4163:{n:"LegendException"},4164:{n:"ShtProps",f:ef},4165:{n:"SerToCrt"},4166:{n:"AxesUsed"},4168:{n:"SBaseRef"},4170:{n:"SerParent"},4171:{n:"SerAuxTrend"},4174:{n:"IFmtRecord"},4175:{n:"Pos"},4176:{n:"AlRuns"},4177:{n:"BRAI"},4187:{n:"SerAuxErrBar"},4188:{n:"ClrtClient",f:$s},4189:{n:"SerFmt"},4191:{n:"Chart3DBarShape"},4192:{n:"Fbi"},4193:{n:"BopPop"},4194:{n:"AxcExt"},4195:{n:"Dat"},4196:{n:"PlotGrowth"},4197:{n:"SIIndex"},4198:{n:"GelFrame"},4199:{n:"BopPopCustom"},4200:{n:"Fbi2"},0:{n:"Dimensions",f:os},2:{n:"BIFF2INT",f:cf},5:{n:"BoolErr",f:ws},7:{n:"String",f:hf},8:{n:"BIFF2ROW"},11:{n:"Index"},22:{n:"ExternCount",f:Yn},30:{n:"BIFF2FORMAT",f:ls},31:{n:"BIFF2FMTCNT"},32:{n:"BIFF2COLINFO"},33:{n:"Array",f:Fs},37:{n:"DefaultRowHeight",f:$i},50:{n:"BIFF2FONTXTRA",f:df},52:{n:"DDEObjName"},62:{n:"BIFF2WINDOW2"},67:{n:"BIFF2XF"},68:{n:"BIFF2XFINDEX",f:Yn},69:{n:"BIFF2FONTCLR"},86:{n:"BIFF4FMTCNT"},126:{n:"RK"},127:{n:"ImData",f:sf},135:{n:"Addin"},136:{n:"Edg"},137:{n:"Pub"},145:{n:"Sub"},148:{n:"LHRecord"},149:{n:"LHNGraph"},150:{n:"Sound"},169:{n:"CoordList"},171:{n:"GCW"},188:{n:"ShrFmla"},191:{n:"ToolbarHdr"},192:{n:"ToolbarEnd"},194:{n:"AddMenu"},195:{n:"DelMenu"},214:{n:"RString",f:vf},223:{n:"UDDesc"},234:{n:"TabIdConf"},354:{n:"XL5Modify"},421:{n:"FileSharing2"},521:{n:"BOF",f:Di},536:{n:"Lbl",f:ys},547:{n:"ExternName",f:Cs},561:{n:"Font"},579:{n:"BIFF3XF"},1033:{n:"BOF",f:Di},1091:{n:"BIFF4XF"},2157:{n:"FeatInfo"},2163:{n:"FeatInfo11"},2177:{n:"SXAddl12"},2240:{n:"AutoWebPub"},2241:{n:"ListObj"},2242:{n:"ListField"},2243:{n:"ListDV"},2244:{n:"ListCondFmt"},2245:{n:"ListCF"},2246:{n:"FMQry"},2247:{n:"FMSQry"},2248:{n:"PLV"},2249:{n:"LnExt"},2250:{n:"MkrExt"},2251:{n:"CrtCoopt"},2262:{n:"FRTArchId$",r:12},29282:{}};vartm=Y(rm,"n");functionam(e,r,t,a){varn=+r||+tm[r];if(isNaN(n))return;vari=a||(t||[]).length||0;vars=e.next(4);s._W(2,n);s._W(2,i);if(i>0&&Nr(t))e.push(t)}functionnm(e,r,t,a){varn=a||(t||[]).length||0;if(n<=8224)returnam(e,r,t,n);vari=+r||+tm[r];if(isNaN(i))return;vars=t.parts||[],f=0;varl=0,o=0;while(o+(s[f]||8224)<=8224){o+=s[f]||8224;f++}varc=e.next(4);c._W(2,i);c._W(2,o);e.push(t.slice(l,l+o));l+=o;while(l<n){c=e.next(4);c._W(2,60);o=0;while(o+(s[f]||8224)<=8224){o+=s[f]||8224;f++}c._W(2,o);e.push(t.slice(l,l+o));l+=o}}functionim(e,r,t){if(!e)e=Jr(7);e._W(2,r);e._W(2,t);e._W(2,0);e._W(1,0);returne}functionsm(e,r,t,a){varn=Jr(9);im(n,e,r);qn(t,a||"b",n);returnn}functionfm(e,r,t){vara=Jr(8+2*t.length);im(a,e,r);a._W(1,t.length);a._W(t.length,t,"sbcs");returna.l<a.length?a.slice(0,a.l):a}functionlm(e,r,t,a){if(r.v!=null)switch(r.t){case"d":;case"n":varn=r.t=="d"?ee(le(r.v)):r.v;if(n==(n|0)&&n>=0&&n<65536)am(e,2,uf(t,a,n));elseam(e,3,of(t,a,n));return;case"b":;case"e":am(e,5,sm(t,a,r.v,r.t));return;case"s":;case"str":am(e,4,fm(t,a,(r.v||"").slice(0,255)));return;}am(e,1,im(null,t,a))}functionom(e,r,t,a){varn=Array.isArray(r);vari=kt(r["!ref"]||"A1"),s,f="",l=[];if(i.e.c>255||i.e.r>16383){if(a.WTF)thrownewError("Range "+(r["!ref"]||"A1")+" exceeds format limit A1:IV16384");i.e.c=Math.min(i.e.c,255);i.e.r=Math.min(i.e.c,16383);s=wt(i)}for(varo=i.s.r;o<=i.e.r;++o){f=lt(o);for(varc=i.s.c;c<=i.e.c;++c){if(o===i.s.r)l[c]=ht(c);s=l[c]+f;varu=n?(r[o]||[])[c]:r[s];if(!u)continue;lm(e,u,o,c,a)}}}functioncm(e,r){vart=r||{};if(m!=null&&t.dense==null)t.dense=m;vara=qr();varn=0;for(vari=0;i<e.SheetNames.length;++i)if(e.SheetNames[i]==t.sheet)n=i;if(n==0&&!!t.sheet&&e.SheetNames[0]!=t.sheet)thrownewError("Sheet not found: "+t.sheet);am(a,t.biff==4?1033:t.biff==3?521:9,Pi(e,16,t));om(a,e.Sheets[e.SheetNames[n]],n,t,e);am(a,10);returna.end()}functionum(e,r,t){am(e,"Font",rs({sz:12,color:{theme:1},name:"Arial",family:2,scheme:"minor"},t))}functionhm(e,r,t){if(!
"xmlns:loext":"urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0","xmlns:field":"urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0","xmlns:formx":"urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0","xmlns:css3t":"http://www.w3.org/TR/css3-text/","office:version":"1.2"});vars=lr({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});if(r.bookType=="fods"){t.push("<office:document"+i+s+">\n");t.push(qa().replace(/office:document-meta/g,"office:meta"))}elset.push("<office:document-content"+i+">\n");n(t,e);t.push(" <office:body>\n");t.push(" <office:spreadsheet>\n");for(varf=0;f!=e.SheetNames.length;++f)t.push(a(e.Sheets[e.SheetNames[f]],e,f,r));t.push(" </office:spreadsheet>\n");t.push(" </office:body>\n");if(r.bookType=="fods")t.push("</office:document>");elset.push("</office:document-content>");returnt.join("")}}();functionOm(e,r){if(r.bookType=="fods")returnFm(e,r);vart=Te();vara="";varn=[];vari=[];a="mimetype";Be(t,a,"application/vnd.oasis.opendocument.spreadsheet");a="content.xml";Be(t,a,Fm(e,r));n.push([a,"text/xml"]);i.push([a,"ContentFile"]);a="styles.xml";Be(t,a,Rm(e,r));n.push([a,"text/xml"]);i.push([a,"StylesFile"]);a="meta.xml";Be(t,a,Ae+qa());n.push([a,"text/xml"]);i.push([a,"MetadataFile"]);a="manifest.rdf";Be(t,a,Qa(i));n.push([a,"application/rdf+xml"]);a="META-INF/manifest.xml";Be(t,a,Ya(n));returnt}functionDm(e,r){if(!r)return0;vart=e.SheetNames.indexOf(r);if(t==-1)thrownewError("Sheet not found: "+r);returnt}functionPm(e){returnfunctionr(t,a){varn=Dm(t,a.sheet);returne.from_sheet(t.Sheets[t.SheetNames[n]],a,t)}}varNm=Pm(Sm);varLm=Pm({from_sheet:Cb});varMm=Pm(typeofmf!=="undefined"?mf:{});varUm=Pm(typeofbf!=="undefined"?bf:{});varzm=Pm(typeofwf!=="undefined"?wf:{});varHm=Pm(typeofol!=="undefined"?ol:{});varWm=Pm({from_sheet:Tb});varVm=Pm(typeofpf!=="undefined"?pf:{});varXm=Pm(typeofgf!=="undefined"?gf:{});functionGm(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]])}}}varjm=function(e){Gm([["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]])(e)};varKm=Gm([["cellDates",false],["bookSST",false],["bookType","xlsx"],["compression",false],["WTF",false]]);function$m(e){if(za.WS.indexOf(e)>-1)return"sheet";if(za.CS&&e==za.CS)return"chart";if(za.DS&&e==za.DS)return"dialog";if(za.MS&&e==za.MS)return"macro";returne&&e.length?e:"sheet"}functionYm(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,$m(e["!id"][r.id].Type)]})}catch(t){returnnull}return!e||e.length===0?null:e}functionZm(e,r,t,a,n,i,s,f,l,o,c,u){try{i[a]=Wa(Se(e,t,true),r);varh=Ee(e,r);vard;switch(f){case"sheet":d=ep(h,r,n,l,i[a],o,c,u);break;case"chart":d=rp(h,r,n,l,i[a],o,c,u);if(!d||!d["!drawel"])break;varv=xe(d["!drawel"].Target,r);varp=Ha(v);varm=zo(Se(e,v,true),Wa(Se(e,p,true),v));varb=xe(m,v);varg=Ha(b);d=gv(Se(e,b,true),b,l,Wa(Se(e,g,true),b),o,d);break;case"macro":d=tp(h,r,n,l,i[a],o,c,u);break;case"dialog":d=ap(h,r,n,l,i[a],o,c,u);break;default:thrownewError("Unrecognized sheet type "+f);}s[a]=d;varw=[];if(i&&i[a])K(i[a]).forEach(function(t){if(i[a][t].Type==za.CMNT){varn=xe(i[a][t].Target,r);w=fp(Ee(e,n,true),n,l);if(!w||!w.length)return;Vo(d,w)}})}catch(k){if(l.WTF)throwk}}functionJm(e){returne.charAt(0)=="/"?e.slice(1):e}functionQm(e,r){D(O);r=r||{};jm(r);if(we(e,"META-INF/manifest.xml"))returnAm(e,r);if(we(e,"objectdata.xml"))returnAm(e,r);if(we(e,"Index/Document.iwa"))thrownewError("Unsupported NUMBERS file");vart=_e(e);vara=Na(Se(e,"[Content_Types].xml"));varn=false;vari,s;if(a.workbooks.length===0){s="xl/workbook.xml";if(Ee(e,s,true))a.workbooks.push(s)}if(a.workbo