break;case"e":continue;}t.push(a.join(":"))}}t.push("sheet:c:"+(s.e.c-s.s.c+1)+":r:"+(s.e.r-s.s.r+1)+":tvf:1");t.push("valueformat:1:text-wiki");returnt.join("\n")}functionc(e){return[i,s,f,s,o(e),l].join("\n")}return{to_workbook:n,to_sheet:a,from_sheet:c}}();varSf=function(){functione(e,r,t,a,n){if(n.raw)r[t][a]=e;elseif(e===""){}elseif(e==="TRUE")r[t][a]=true;elseif(e==="FALSE")r[t][a]=false;elseif(!isNaN(de(e)))r[t][a]=de(e);elseif(!isNaN(pe(e).getDate()))r[t][a]=oe(e);elser[t][a]=e}functionr(r,t){vara=t||{};varn=[];if(!r||r.length===0)returnn;vari=r.split(/[\r\n]/);vars=i.length-1;while(s>=0&&i[s].length===0)--s;varf=10,l=0;varo=0;for(;o<=s;++o){l=i[o].indexOf(" ");if(l==-1)l=i[o].length;elsel++;f=Math.max(f,l)}for(o=0;o<=s;++o){n[o]=[];varc=0;e(i[o].slice(0,f).trim(),n,o,c,a);for(c=1;c<=(i[o].length-f)/10+1;++c)e(i[o].slice(f+(c-1)*10,f+c*10).trim(),n,o,c,a)}if(a.sheetRows)n=n.slice(0,a.sheetRows);returnn}vart={44:",",9:"\t",59:";",124:"|"};vara={44:3,9:2,59:1,124:0};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(Object.prototype.hasOwnProperty.call(r,i)){s.push([r[i],i])}if(!s.length){r=a;for(iinr)if(Object.prototype.hasOwnProperty.call(r,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]]||44}functioni(e,r){vart=r||{};vara="";if(m!=null&&t.dense==null)t.dense=m;vari=t.dense?[]:{};vars={s:{c:0,r:0},e:{c:0,r:0}};if(e.slice(0,4)=="sep="){if(e.charCodeAt(5)==13&&e.charCodeAt(6)==10){a=e.charAt(4);e=e.slice(7)}elseif(e.charCodeAt(5)==13||e.charCodeAt(5)==10){a=e.charAt(4);e=e.slice(6)}elsea=n(e.slice(0,1024))}elseif(t&&t.FS)a=t.FS;elsea=n(e.slice(0,1024));varf=0,l=0,o=0;varc=0,u=0,h=a.charCodeAt(0),d=false,v=0,p=e.charCodeAt(0);e=e.replace(/\r\n/gm,"\n");varb=t.dateNF!=null?U(t.dateNF):null;functiong(){varr=e.slice(c,u);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(Cc(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(o=de(r))){a.t="n";if(t.cellText!==false)a.w=r;a.v=o}elseif(!isNaN(pe(r).getDate())||b&&r.match(b)){a.z=t.dateNF||P._table[14];varn=0;if(b&&r.match(b)){r=W(r,t.dateNF,r.match(b)||[]);n=1}if(t.cellDates){a.t="d";a.v=oe(r,n)}else{a.t="n";a.v=re(oe(r,n))}if(t.cellText!==false)a.w=P.format(a.z,a.vinstanceofDate?re(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][l]=a}elsei[kt({c:l,r:f})]=a;c=u+1;p=e.charCodeAt(c);if(s.e.c<l)s.e.c=l;if(s.e.r<f)s.e.r=f;if(v==h)++l;else{l=0;++f;if(t.sheetRows&&t.sheetRows<=f)returntrue}}e:for(;u<e.length;++u)switch(v=e.charCodeAt(u)){case34:if(p===34)d=!d;break;caseh:;case10:;case13:if(!d&&g())breake;break;default:break;}if(u-c>0)g();i["!ref"]=St(s);returni}functions(e,t){if(!(t&&t.PRN))returni(e,t);if(t.FS)returni(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);returnxt(r(e,t),t)}functionf(e,r){vart="",a=r.type=="string"?[0,0,0,0]:sb(e,r);switch(r.type){case"base64":t=g.decode(e);break;case"binary":t=e;break;case"buffer":if(r.codepage==65001)t=e.toString("utf8");elseif(r.codepage&&typeofcptable!=="undefined")t=cptable.utils.decode(r.codepage,e);elset=w&&Buffer.isBuffer(e)?e.toString("binary"):_(e);break;case"array":t=ce(e);break;case"string":t=e;break;default:thrownewError("Unrecognized type "+r.type);}if(a[0]==239&&a[1]==187&&a[2]==191)t=qe(t.slice(3));elseif(r.type!="string"&&r.type!="buffer"&&r.codepage==65001)t=qe(t);elseif(r.type=="binary"&&typeofcptable!=="undefined"&&r.codepage)t=cptable.utils.decode(r.codepage,cptable.utils.encode(28591,t));if(t.slice(0,19)=="socialcalc:version:")re
ThinReverseDiagStripe:"lightDown",ThinHorzCross:"lightGrid"};functionDl(e,r,t,a){r.Borders=[];varn={};vari=false;(e[0].match(De)||[]).forEach(function(e){vart=Ne(e);switch(Le(t[0])){case"<borders":;case"<borders>":;case"</borders>":break;case"<border":;case"<border>":;case"<border/>":n={};if(t.diagonalUp)n.diagonalUp=Je(t.diagonalUp);if(t.diagonalDown)n.diagonalDown=Je(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")};}})}functionPl(e,r,t,a){r.Fills=[];varn={};vari=false;(e[0].match(De)||[]).forEach(function(e){vart=Ne(e);switch(Le(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")};}})}functionOl(e,r,t,a){r.Fonts=[];varn={};vars=false;(e[0].match(De)||[]).forEach(function(e){varf=Ne(e);switch(Le(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=qe(f.val);break;case"<name/>":;case"</name>":break;case"<b":n.bold=f.val?Je(f.val):1;break;case"<b/>":n.bold=1;break;case"<i":n.italic=f.val?Je(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?Je(f.val):1;break;case"<strike/>":n.strike=1;break;case"<outline":n.outline=f.val?Je(f.val):1;break;case"<outline/>":n.outline=1;break;case"<shadow":n.shadow=f.val?Je(f.val):1;break;case"<shadow/>":n.shadow=1;break;case"<condense":n.condense=f.val?Je(f.val):1;break;case"<condense/>":n.condense=1;break;case"<extend":n.extend=f.val?Je(f.val):1;break;case"<extend/>":n.extend=1;break;case"<sz":if(f.val)n.sz=+f.val;break;case"<sz/>":;case"</sz>":break;case"<vertAlign":if(f.val)n.vertAlign=f.val;break;case"<vertAlign/>":;case"</vertAlign>":break;case"<family":if(f.val)n.family=parseInt(f.val,10);break;case"<family/>":;case"</family>":break;case"<scheme":if(f.val)n.
if(!l[g])l[g]=[];l[g][w]=p}elsel[pt(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;if(O){if(O.name=="XLDAPR")p.D=true;O=void0}if(N)N=void0;break;case176:C.push(e);break;case49:{O=((f.xlmeta||{}).Types||[])[e-1]}break;case494:varM=a["!id"][e.relId];if(M){e.Target=M.Target;if(e.loc)e.Target+="#"+e.loc;e.Rel=M}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=kt({c:w,r:g});if(!l[k])l[k]={t:"z",v:undefined};l[k].l=e}}break;case426:if(!f.cellFormula)break;_.push(e);B=f.dense?l[g][w]:l[pt(w)+S];B.f=rh(e[1],c,{r:v.r,c:w},A,f);B.F=St(e[0]);break;case427:if(!f.cellFormula)break;x[kt(e[0].s)]=e[1];B=f.dense?l[g][w]:l[pt(w)+S];B.f=rh(e[1],c,{r:v.r,c:w},A,f);break;case60:if(!f.cellStyles)break;while(e.e>=e.s){F[e.e--]={width:e.w/256,hidden:!!(e.flags&1),level:e.level};if(!D){D=true;Tl(e.w/256)}_l(F[e.e+1])}break;case161:l["!autofilter"]={ref:St(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:;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"]=St(o||c);if(f.sheetRows&&l["!ref"]){varL=Bt(l["!ref"]);if(f.sheetRows<=+L.e.r){L.e.r=f.sheetRows-1;if(L.e.r>c.e.r)L.e.r=c.e.r;if(L.e.r<L.s.r)L.s.r=L.e.r;if(L.e.c>c.e.c)L.e.c=c.e.c;if(L.e.c<L.s.c)L.s.c=L.e.c;l["!fullref"]=l["!ref"];l["!ref"]=St(L)}}if(C.length>0)l["!merges"]=C;if(F.length>0)l["!cols"]=F;if(I.length>0)l["!rows"]=I;returnl}functionbv(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=ue(r);r.z=r.z||P._table[14];r.v=re(oe(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=xh(n.cellXfs,r,n);if(r.l)i["!links"].push([kt(l),r.l]);if(r.c)i["!comments"].push([kt(l),r.c]);switch(r.t){case"s":;case"str":if(n.bookSST){f=yh(n.Strings,r.v,n.revStrings);l.t="s";l.v=f;if(s)it(e,"BrtShortIsst",Pd(r,l));elseit(e,"BrtCellIsst",Id(r,l))}else{l.t="str";if(s)it(e,"BrtShortSt",$d(r,l));elseit(e,"BrtCellSt",zd(r,l))}returntrue;case"n":if(r.v==(r.v|0)&&r.v>-1e3&&r.v<1e3){if(s)it(e,"BrtShortRk",Xd(r,l));elseit(e,"BrtCellRk",Wd(r,l))}else{if(s)it(e,"BrtShortReal",Md(r,l));elseit(e,"BrtCellReal",Nd(r,l))}returntrue;case"b":l.t="b";if(s)it(e,"BrtShortBool",Td(r,l));elseit(e,"BrtCellBool",Cd(r,l));returntrue;case"e":l.t="e";if(s)it(e,"BrtShortError",Rd(r,l));elseit(e,"BrtCellError",xd(r,l));returntrue;}if(s)it(e,"BrtShortBlank",Sd(r,l));elseit(e,"BrtCellBlank",kd(r,l));returntrue}functiongv(e,r,t,a){varn=Bt(r["!ref"]||"A1"),i,s="",f=[];it(e,"BrtBeginSheetData");varl=Array.isArray(r);varo=n.e.r;if(r["!rows"])o=Math.max(n.e.r,r["!rows"].length-1);for(varc=n.s.r;c<=o;++c){s=ut(c);dd(e,r,n,c);varu=false;if(c<=n.e.r)for(varh=n.s.c;h<=n.e.c;++h){if(c===n.s.r)f[h]=pt(h);i=f[h]+s;vard=l?(r[c]||[])[h]:r[i];if(!d){u=false;continue}u=bv(e,d,c,h,a,r,u)}}it(e,"BrtEndSheetData")}functionwv(e,r){if(!r||!r["!
}varf=[];for(i=0;i<n.length;++i){if(Xn.indexOf(n[i][0])>-1)continue;if(n[i][1]==null)continue;f.push(n[i])}if(a.length)V.utils.cfb_add(r,"/SummaryInformation",jn(a,sm.SI,_a,ya));if(t.length||f.length)V.utils.cfb_add(r,"/DocumentSummaryInformation",jn(t,sm.DSI,Ta,Ca,f.length?f:null,sm.UDI))}functionom(e,r){if(!r)r={};Ym(r);o();if(r.codepage)s(r.codepage);vart,a;if(e.FullPaths){if(V.find(e,"/encryption"))thrownewError("File is password-protected");t=V.find(e,"!CompObj");a=V.find(e,"/Workbook")||V.find(e,"/Book")}else{switch(r.type){case"base64":e=y(g.decode(e));break;case"binary":e=y(e);break;case"buffer":break;case"array":if(!Array.isArray(e))e=Array.prototype.slice.call(e);break;}et(e,0);a={content:e}}varn;vari;if(t)rm(t);if(r.bookProps&&!r.bookSheets)n={};else{varf=w?"buffer":"array";if(a&&a.content)n=im(a.content,r);elseif((i=V.find(e,"PerfectOffice_MAIN"))&&i.content)n=Cf.to_workbook(i.content,(r.type=f,r));elseif((i=V.find(e,"NativeContent_MAIN"))&&i.content)n=Cf.to_workbook(i.content,(r.type=f,r));elseif((i=V.find(e,"MN0"))&&i.content)thrownewError("Unsupported Works 4 for Mac file");elsethrownewError("Cannot find Workbook stream");if(r.bookVBA&&e.FullPaths&&V.find(e,"/_VBA_PROJECT_CUR/VBA/dir"))n.vbaraw=hc(e)}varl={};if(e.FullPaths)fm(e,l,r);n.Props=n.Custprops=l;if(r.bookFiles)n.cfb=e;returnn}functioncm(e,r){vart=r||{};vara=V.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");}V.utils.cfb_add(a,n,Pm(e,t));if(t.biff==8&&(e.Props||e.Custprops))lm(e,a);if(t.biff==8&&e.vbaraw)dc(a,V.read(e.vbaraw,{type:typeofe.vbaraw=="string"?"binary":"buffer"}));returna}varum={0:{n:"BrtRowHdr",f:ud},1:{n:"BrtCellBlank",f:wd},2:{n:"BrtCellRk",f:Ud},3:{n:"BrtCellError",f:_d},4:{n:"BrtCellBool",f:Bd},5:{n:"BrtCellReal",f:Od},6:{n:"BrtCellSt",f:Gd},7:{n:"BrtCellIsst",f:Fd},8:{n:"BrtFmlaString",f:qd},9:{n:"BrtFmlaNum",f:Jd},10:{n:"BrtFmlaBool",f:Kd},11:{n:"BrtFmlaError",f:Yd},12:{n:"BrtShortBlank",f:Ed},13:{n:"BrtShortRk",f:Hd},14:{n:"BrtShortError",f:Ad},15:{n:"BrtShortBool",f:yd},16:{n:"BrtShortReal",f:Ld},17:{n:"BrtShortSt",f:jd},18:{n:"BrtShortIsst",f:Dd},19:{n:"BrtSSTItem",f:Ot},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:np},40:{n:"BrtIndexRowBlock"},42:{n:"BrtIndexBlock"},43:{n:"BrtFont",f:$l},44:{n:"BrtFmt",f:zl},45:{n:"BrtFill",f:ql},46:{n:"BrtBorder",f:to},47:{n:"BrtXF",f:Zl},48:{n:"BrtStyle"},49:{n:"BrtCellMeta",f:At},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:ef},62:{n:"BrtCellRString",f:Vd},63:{n:"BrtCalcChainItem$",f:Ko},64:{n:"BrtDVal",f:vv},65:{n:"BrtSxvcellNum"},66:{n:"BrtSxvcellStr"},67:{n:"BrtSxvcellBool"},68:{n:"BrtSxvcellErr"},69:{n:"BrtSxvcellDate"},70:{n:"BrtSxvcellNil"},128:{n:"BrtFileVersion"},129:{n:"BrtBeginSheet"},130:{n:"BrtEndSheet"},131:{n:"BrtBeginBook",f:rt,p:0},132:{n:"BrtEndBook"},133:{n:"BrtBeginWsViews"},134:{n:"BrtEndWsViews"},135:{n:"BrtBeginBookViews"},136:{n:"BrtEndBookViews"},137:{n:"BrtBeginWsView",f:cv},138:{n:"BrtEndWsView"},139:{n:"BrtBeginCsViews"},140:{n:"BrtEndCsViews"},141:{n:"BrtBeginCsView"},142:{n:"BrtEndCsView"},143:{n:"BrtBeginBundleShs"},144:{n:"BrtEndBundleShs"},145:{n:"BrtBeginSheetData"},146:{n:"BrtEndSheetData"},147:{n:"BrtWsProp",f:bd},148:{n:"BrtWsDim",f:vd,p:16},151:{n:"BrtPane",f:av},152:{n:"BrtSel"},153:{n:"BrtWbProp",f:rp},154:{n:"Brt
f:Qn},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:af},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:qs},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:hs},1:{n:"BIFF2BLANK"},2:{n:"BIFF2INT",f:df},3:{n:"BIFF2NUM",f:uf},4:{n:"BIFF2STR",f:cf},5:{n:"BoolErr",f:Ss},7:{n:"String",f:pf},8:{n:"BIFF2ROW"},9:{n:"BOF",f:Li},11:{n:"Index"},22:{n:"ExternCount",f:Qn},30:{n:"BIFF2FORMAT",f:us},31:{n:"BIFF2FMTCNT"},32:{n:"BIFF2COLINFO"},33:{n:"Array",f:Os},36:{n:"COLWIDTH"},37:{n:"DefaultRowHeight",f:qi},50:{n:"BIFF2FONTXTRA",f:mf},62:{n:"BIFF2WINDOW2"},52:{n:"DDEObjName"},67:{n:"BIFF2XF"},68:{n:"BIFF2XFINDEX",f:Qn},69:{n:"BIFF2FONTCLR"},86:{n:"BIFF4FMTCNT"},126:{n:"RK"},127:{n:"ImData",f:of},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:bf},223:{n:"UDDesc"},234:{n:"TabIdConf"},354:{n:"XL5Modify"},421:{n:"FileSharing2"},518:{n:"Formula",f:lh},521:{n:"BOF",f:Li},536:{n:"Lbl",f:Rs},547:{n:"ExternName",f:xs},561:{n:"Font"},579:{n:"BIFF3XF"},1030:{n:"Formula",f:lh},1033:{n:"BOF",f:Li},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:{}};varpm=J(vm,"n");functionmm(e,r,t,a){varn=typeofr=="number"?r:+r||+pm[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&&Wr(t))e.push(t)}functionbm(e,r,t,a){varn=a||(t||[]).length||0;if(n<=8224)returnmm(e,r,t,n);vari=+r||+pm[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}}functiongm(e,r,t){if(!e)e=tt(7);e._W(2,r);e._W(2,t);e._W(2,0);e._W(1,0);returne}functionwm(e,r,t,a){varn=tt(9);gm(n,e,r);ti(t,a||"b",n);returnn}functionkm(e,r,t){vara=tt(8+2*t.length);gm(a,e,r);a._W(1,t.length);a._W(t.length,t,"sbcs");returna.l<a.length?a.slice(0,a.l):a}functionEm(e,r,t,a){if(r.v!=null)switch(r.t){case"d":;case"n":varn=r.t=="d"?re(oe(r.v)):r.v;if(n==(n|0)&&n>=0&&n<65536)mm(e,2,vf(t,a,n));elsemm(e,3,hf(t,a,n));return;case"b":;case"e":mm(e,5,wm(t,a,r.v,r.t));return;case"s":;case"str":mm(e,4,km(t,a,(r.v||"").slice(0,255)));return;}mm(e,1,gm(null,t,a))}functionSm(e,r,t,a){varn=Array.isArray(r);vari=Bt(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=St(i)}for(varo=i.s.r;o<=i.e.r;++o){f=ut(o);for(varc=i.s.c;c<=i.e.c;++c){if(o===i.s.r)l[c]=pt(c);s=l[c]+f;varu=n?(r[o]||[])[c]:r[s];if(!u)continue;Em(e,u,o,c,a)}}}functionBm(e,r){vart=r||{};if(m!=null&&t.dense==null)t.dense=m;vara=nt();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);mm(a,t.biff==4?1033:t.biff==3?521:9,Mi(e,16,t));Sm(a,e.Sheets[e.SheetNames[n]],n,t,e);mm(a,10);returna.end()}functionCm(e,r,t){mm(e,"Font",ns({sz:12,color:{them
;case"biff3":if(!t.biff)t.biff=3;case"biff4":if(!t.biff)t.biff=4;returnPb(Pm(e,t),t);case"biff5":if(!t.biff)t.biff=5;case"biff8":;case"xla":;case"xls":if(!t.biff)t.biff=8;returnFb(e,t);case"xlsx":;case"xlsm":;case"xlam":;case"xlsb":;case"ods":returnxb(e,t);default:thrownewError("Unrecognized bookType |"+t.bookType+"|");}}functionLb(e){if(e.bookType)return;varr={xls:"biff8",htm:"html",slk:"sylk",socialcalc:"eth",Sh33tJS:"WTF"};vart=e.file.slice(e.file.lastIndexOf(".")).toLowerCase();if(t.match(/^\.[a-z]+$/))e.bookType=t.slice(1);e.bookType=r[e.bookType]||e.bookType}functionMb(e,r,t){vara=t||{};a.type="file";a.file=r;Lb(a);returnNb(e,a)}functionUb(e,r,t){vara=t||{};a.type="file";a.file=r;Lb(a);returnOb(e,a)}functionWb(e,r,t,a){varn=t||{};n.type="file";n.file=e;Lb(n);n.type="buffer";vari=a;if(!(iinstanceofFunction))i=t;returnG.writeFile(e,Nb(r,n),i)}functionHb(e,r,t,a,n,i,s,f){varl=ut(t);varo=f.defval,c=f.raw||!Object.prototype.hasOwnProperty.call(f,"raw");varu=true;varh=n===1?[]:{};if(n!==1){if(Object.defineProperty)try{Object.defineProperty(h,"__rowNum__",{value:t,enumerable:false})}catch(d){h.__rowNum__=t}elseh.__rowNum__=t}if(!s||e[t])for(varv=r.s.c;v<=r.e.c;++v){varp=s?e[t][v]:e[a[v]+l];if(p===undefined||p.t===undefined){if(o===undefined)continue;if(i[v]!=null){h[i[v]]=o}continue}varm=p.v;switch(p.t){case"z":if(m==null)break;continue;case"e":m=m==0?null:void0;break;case"s":;case"d":;case"b":;case"n":break;default:thrownewError("unrecognized type "+p.t);}if(i[v]!=null){if(m==null){if(p.t=="e"&&m===null)h[i[v]]=null;elseif(o!==undefined)h[i[v]]=o;elseif(c&&m===null)h[i[v]]=null;elsecontinue}else{h[i[v]]=c||f.rawNumbers&&p.t=="n"?m:yt(p,m,f)}if(m!=null)u=false}}return{row:h,isempty:u}}functionXb(e,r){if(e==null||e["!ref"]==null)return[];vart={t:"n",v:0},a=0,n=1,i=[],s=0,f="";varl={s:{r:0,c:0},e:{r:0,c:0}};varo=r||{};varc=o.range!=null?o.range:e["!ref"];if(o.header===1)a=1;elseif(o.header==="A")a=2;elseif(Array.isArray(o.header))a=3;elseif(o.header==null)a=0;switch(typeofc){case"string":l=Bt(c);break;case"number":l=Bt(e["!ref"]);l.s.r=c;break;default:l=c;}if(a>0)n=0;varu=ut(l.s.r);varh=[];vard=[];varv=0,p=0;varm=Array.isArray(e);varb=l.s.r,g=0,w=0;if(m&&!e[b])e[b]=[];for(g=l.s.c;g<=l.e.c;++g){h[g]=pt(g);t=m?e[b][g]:e[h[g]+u];switch(a){case1:i[g]=g-l.s.c;break;case2:i[g]=h[g];break;case3:i[g]=o.header[g-l.s.c];break;default:if(t==null)t={w:"__EMPTY",t:"s"};f=s=yt(t,null,o);p=0;for(w=0;w<i.length;++w)if(i[w]==f){f=s+"_"+++p;w=-1}i[g]=f;}}for(b=l.s.r+n;b<=l.e.r;++b){vark=Hb(e,l,b,h,a,i,m,o);if(k.isempty===false||(a===1?o.blankrows!==false:!!o.blankrows))d[v++]=k.row}d.length=v;returnd}varVb=/"/g;functionGb(e,r,t,a,n,i,s,f){varl=true;varo=[],c="",u=ut(t);for(varh=r.s.c;h<=r.e.c;++h){if(!a[h])continue;vard=f.dense?(e[t]||[])[h]:e[a[h]+u];if(d==null)c="";elseif(d.v!=null){l=false;c=""+(f.rawNumbers&&d.t=="n"?d.v:yt(d,null,f));for(varv=0,p=0;v!==c.length;++v)if((p=c.charCodeAt(v))===n||p===i||p===34||f.forceQuotes){c='"'+c.replace(Vb,'""')+'"';break}if(c=="ID")c='"ID"'}elseif(d.f!=null&&!d.F){l=false;c="="+d.f;if(c.indexOf(",")>=0)c='"'+c.replace(Vb,'""')+'"'}elsec="";o.push(c)}if(f.blankrows===false&&l)returnnull;returno.join(s)}functionzb(e,r){vart=[];vara=r==null?{}:r;if(e==null||e["!ref"]==null)return"";varn=Bt(e["!ref"]);vari=a.FS!==undefined?a.FS:",",s=i.charCodeAt(0);varf=a.RS!==undefined?a.RS:"\n",l=f.charCodeAt(0);varo=newRegExp((i=="|"?"\\|":i)+"+$");varc="",u=[];a.dense=Array.isArray(e);varh=a.skipHidden&&e["!cols"]||[];vard=a.skipHidden&&e["!rows"]||[];for(varv=n.s.c;v<=n.e.c;++v)if(!(h[v]||{}).hidden)u[v]=pt(v);varp=0;for(varm=n.s.r;m<=n.e.r;++m){if((d[m]||{}).hidden)continue;c=Gb(e,n,m,u,s,l,i,a);if(c==null){continue}if(a.strip)c=c.replace(o,"");if(c||a.blankrows!==false)t.push((p++?f:"")+c)}deletea.dense;returnt.join("")}functionjb(e,r){if(!r)r={};r.FS="\t";r.RS="\n";vart=zb(e,r);if(typeofcptable=="undefined"||r.type=="string")returnt;vara=cptable.utils.encode(1200,t,"str");returnString.fromCharCode(255)+String.fromCharCode(2