9);++r)n=10*n+a;if(t.s.r=--n,r===o||10!=a)return t.e.c=t.s.c,t.e.r=t.s.r,t;for(++r,n=0;r!=o&&!((a=e.charCodeAt(r)-64)<1||a>26);++r)n=26*n+a;for(t.e.c=--n,n=0;r!=o&&!((a=e.charCodeAt(r)-48)<0||a>9);++r)n=10*n+a;return t.e.r=--n,t}function an(e,t){var n="d"==e.t&&t instanceof Date;if(null!=e.z)try{return e.w=D.format(e.z,n?K(t):t)}catch(pu){}try{return e.w=D.format((e.XF||{}).numFmtId||(n?14:0),n?K(t):t)}catch(pu){return""+t}}function on(e,t,n){return null==e||null==e.t||"z"==e.t?"":void 0!==e.w?e.w:("d"==e.t&&!e.z&&n&&n.dateNF&&(e.z=n.dateNF),"e"==e.t?Yn[e.v]||e.v:an(e,void 0==t?e.v:t))}function sn(e,t){var n=t&&t.sheet?t.sheet:"Sheet1",r={};return r[n]=e,{SheetNames:[n],Sheets:r}}function cn(e,t,n){var r=n||{},a=e?Array.isArray(e):r.dense;var o=e||(a?[]:{}),i=0,s=0;if(o&&null!=r.origin){if("number"==typeof r.origin)i=r.origin;else{var c="string"==typeof r.origin?Qt(r.origin):r.origin;i=c.r,s=c.c}o["!ref"]||(o["!ref"]="A1:A1")}var l={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(o["!ref"]){var u=rn(o["!ref"]);l.s.c=u.s.c,l.s.r=u.s.r,l.e.c=Math.max(l.e.c,u.e.c),l.e.r=Math.max(l.e.r,u.e.r),-1==i&&(l.e.r=i=u.e.r+1)}for(var f=0;f!=t.length;++f)if(t[f]){if(!Array.isArray(t[f]))throw new Error("aoa_to_sheet expects an array of arrays");for(var h=0;h!=t[f].length;++h)if("undefined"!==typeof t[f][h]){var d={v:t[f][h]},p=i+f,m=s+h;if(l.s.r>p&&(l.s.r=p),l.s.c>m&&(l.s.c=m),l.e.r0&&t.write_shift(0,e,"dbcs"),n?t.slice(0,t.l):t}function dn(e){return{ich:e.read_shift(2),ifnt:e.read_shift(2)}}function pn(e,t){var n=e.l,r=e.read_shift(1),a=fn(e),o=[],i={t:a,h:a};if(0!==(1&r)){for(var s=e.read_shift(4),c=0;c!=s;++c)o.push(dn(e));i.r=o}else i.r=[{ich:0,ifnt:0}];return e.l=n+t,i}!function(e,t){var r;if("undefined"!==typeof t)r=t;else{try{r=n(709)}catch(pu){r=null}}e.rc4=function(e,t){var n=new Array(256),r=0,a=0,o=0,i=0;for(a=0;256!=a;++a)n[a]=a;for(a=0;256!=a;++a)o=o+n[a]+e[a%e.length].charCodeAt(0)&255,i=n[a],n[a]=n[o],n[o]=i;a=o=0;var s=E(t.length);for(r=0;r!=t.length;++r)o=(o+n[a=a+1&255])%256,i=n[a],n[a]=n[o],n[o]=i,s[r]=t[r]^n[n[a]+n[o]&255];return s},e.md5=function(e){if(!r)throw new Error("Unsupported crypto");return r.createHash("md5").update(e).digest("hex")}}({},"undefined"!==typeof crypto?crypto:void 0);var mn=pn;function gn(e,t){var n=!1;return null==t&&(n=!0,t=Ut(23+4*e.t.length)),t.write_shift(1,1),hn(e.t,t),t.write_shift(4,1),function(e,t){t||(t=Ut(4)),t.write_shift(2,e.ich||0),t.write_shift(2,e.ifnt||0)}({ich:0,ifnt:0},t),n?t.slice(0,t.l):t}function vn(e){var t=e.read_shift(4),n=e.read_shift(2);return n+=e.read_shift(1)<<16,e.l++,{c:t,iStyleRef:n}}function bn(e,t){return null==t&&(t=Ut(8)),t.write_shift(-4,e.c),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}function yn(e){var t=e.read_shift(2);return t+=e.read_shift(1)<<16,e.l++,{c:-1,iStyleRef:t}}function _n(e,t){return null==t&&(t=Ut(4)),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}var wn=fn,En=hn;function Cn(e){var t=e.read_shift(4);return 0===t||4294967295===t?"":e.read_shift(t,"dbcs")}function On(e,t){var n=!1;return null==t&&(n=!0,t=Ut(127)),t.write_shift(4,e.length>0?e.length:4294967295),e.length>0&&t.write_shift(0,e,"dbcs"),n?t.slice(0,t.l):t}var Sn=fn,xn=Cn,kn=On;function Tn(e){var t=e.slice(e.l,e.l+4),n=1&t[0],r=2&t[0];e.l+=4,t[0]&=252;var a=0===r?Ot([0,0,0,0,t[0],t[1],t[2],t[3]],0):Nt(t,0)>>2;return n?a/100:a}function An(e,t){null==t&&(t=Ut(4));var n=0,r=0,a=100*e;if(e==(0|e)&&e>=-(1<<29)&&e<1<<29?r=1:a==(0|a)&&a>=-(1<<29)&&a<1<<29&&(r=1,n=1),!r)throw new Error("unsupported RkNumber "+e);t.write_shift(-4,((n?a:e)<<2)+(n+2))}function Pn(e){var t={s:{},e:{}};return t.s.r=e.read_shift(4),t.e.r=e.read_shift(4),t.s.c=e.read_shift(4),t.e.c=e.read_shift(4),t}var Dn=Pn,Bn=function(e,t){return t||(t=Ut(16)),t.write_shift(4,e.s.r),t.write_shift(4,e.e.r),t.write_shift(4,e.s.c),t.write_shift(4,e.e.c),t};function Nn(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e.read_shift(8,"f")}function In(e,t){return(t||Ut(8)).write_shift(8,e,"f")}function Rn(e,t){if(t||(t=Ut(8)),!e||e.auto)return t.write_shift(4,0),t.write_shift(4,0),t;null!=e.index?(t.write_shift(1,2),t.write_shift(1,e.index)):null!=e.theme?(t.write_shift(1,6),t.write_shift(1,e.theme)):(t.write_shift(1,5),t.write_shift(1,0));var n=e.tint||0;if(n>0?n*=32767:n<0&&(n*=32768),t.write_shift(2,n),e.rgb&&null==e.theme){var r=e.rgb||"FFFFFF";"number"==typeof r&&(r=("000000"+r.toString(16)).slice(-6)),t.write_shift(1,parseInt(r.slice(0,2),16)),t.write_shift(1,parseInt(r.slice(2,4),16)),t.write_shift(1,parseInt(r.slice(4,6),16)),t.write_shift(1,255)}else t.write_shift(2,0),t.write_shift(1,0),t.write_shift(1,0);return t}function Mn(e,t){var n=e.read_shift(4);switch(n){case 0:return"";case 4294967295:case 4294967294:return{2:"BITMAP",3:"METAFILEPICT",8:"DIB",14:"ENHMETAFILE"}[e.read_shift(4)]||""}if(n>400)throw new Error("Unsupported Clipboard: "+n.toString(16));return e.l-=4,e.read_shift(0,1==t?"lpstr":"lpwstr")}var jn=[80,81],Ln={1:{n:"CodePage",t:2},2:{n:"Category",t:80},3:{n:"PresentationFormat",t:80},4:{n:"ByteCount",t:3},5:{n:"LineCount",t:3},6:{n:"ParagraphCount",t:3},7:{n:"SlideCount",t:3},8:{n:"NoteCount",t:3},9:{n:"HiddenCount",t:3},10:{n:"MultimediaClipCount",t:3},11:{n:"ScaleCrop",t:11},12:{n:"HeadingPairs",t:4108},13:{n:"TitlesOfParts",t:4126},14:{n:"Manager",t:80},15:{n:"Company",t:80},16:{n:"LinksUpToDate",t:11},17:{n:"CharacterCount",t:3},19:{n:"SharedDoc",t:11},22:{n:"HyperlinksChanged",t:11},23:{n:"AppVersion",t:3,p:"version"},24:{n:"DigSig",t:65},26:{n:"ContentType",t:80},27:{n:"ContentStatus",t:80},28:{n:"Language",t:80},29:{n:"Version",t:80},255:{},2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}},Fn={1:{n:"CodePage",t:2},2:{n:"Title",t:80},3:{n:"Subject",t:80},4:{n:"Author",t:80},5:{n:"Keywords",t:80},6:{n:"Comments",t:80},7:{n:"Template",t:80},8:{n:"LastAuthor",t:80},9:{n:"RevNumber",t:80},10:{n:"EditTime",t:64},11:{n:"LastPrinted",t:64},12:{n:"CreatedDate",t:64},13:{n:"ModifiedDate",t:64},14:{n:"PageCount",t:3},15:{n:"WordCount",t:3},16:{n:"CharCount",t:3},17:{n:"Thumbnail",t:71},18:{n:"Application",t:80},19:{n:"DocSecurity",t:3},255:{},2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}},zn=V(Ln,"n"),Un=V(Fn,"n"),Vn={1:"US",2:"CA",3:"",7:"RU",20:"EG",30:"GR",31:"NL",32:"BE",33:"FR",34:"ES",36:"HU",39:"IT",41:"CH",43:"AT",44:"GB",45:"DK",46:"SE",47:"NO",48:"PL",49:"DE",52:"MX",55:"BR",61:"AU",64:"NZ",66:"TH",81:"JP",82:"KR",84:"VN",86:"CN",90:"TR",105:"JS",213:"DZ",216:"MA",218:"LY",351:"PT",354:"IS",358:"FI",420:"CZ",886:"TW",961:"LB",962:"JO",963:"SY",964:"IQ",965:"KW",966:"SA",971:"AE",972:"IL",974:"QA",981:"IR",65535:"US"},Hn=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"],Wn=re([0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0].map((function(e){return[e>>16&255,e>>8&255,255&e]}))),Yn={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},Kn=W(Yn),Gn={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links","application/vnd.ms-excel.sheetMetadata":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"TODO","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"vba","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO","image/png":"TODO",sheet:"js"},Xn=function(){var e={workbooks:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",xlsm:"application/vnd.ms-excel.sheet.macroEnabled.main+xml",xlsb:"application/vnd.ms-excel.sheet.binary.macroEnabled.main",xlam:"application/vnd.ms-excel.addin.macroEnabled.main+xml",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml"},strs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",xlsb:"application/vnd.ms-excel.sharedStrings"},comments:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml",xlsb:"application/vnd.ms-excel.comments"},sheets:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",xlsb:"application/vnd.ms-excel.worksheet"},charts:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml",xlsb:"application/vnd.ms-excel.chartsheet"},dialogs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml",xlsb:"application/vnd.ms-excel.dialogsheet"},macros:{xlsx:"application/vnd.ms-excel.macrosheet+xml",xlsb:"application/vnd.ms-excel.macrosheet"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};return U(e).forEach((function(t){["xlsm","xlam"].forEach((function(n){e[t][n]||(e[t][n]=e[t].xlsx)}))})),U(e).forEach((function(t){U(e[t]).forEach((function(n){Gn[e[t][n]]=t}))})),e}(),Zn=function(e){for(var t=[],n=U(e),r=0;r!==n.length;++r)null==t[e[n[r]]]&&(t[e[n[r]]]=[]),t[e[n[r]]].push(n[r]);return t}(Gn);nt.CT="http://schemas.openxmlformats.org/package/2006/content-types";var $n=Je("Types",null,{xmlns:nt.CT,"xmlns:xsd":nt.xsd,"xmlns:xsi":nt.xsi}),qn=[["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["data","application/vnd.openxmlformats-officedocument.model+data"],["bmp","image/bmp"],["png","image/png"],["gif","image/gif"],["emf","image/x-emf"],["wmf","image/x-wmf"],["jpg","image/jpeg"],["jpeg","image/jpeg"],["tif","image/tiff"],["tiff","image/tiff"],["pdf","application/pdf"],["rels",Zn.rels[0]]].map((function(e){return Je("Default",null,{Extension:e[0],ContentType:e[1]})})),Jn={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",SHEET:"http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument",HLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",VML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function Qn(e){var t=e.lastIndexOf("/");return e.slice(0,t+1)+"_rels/"+e.slice(t+1)+".rels"}function er(e,t){var n={"!id":{}};if(!e)return n;"/"!==t.charAt(0)&&(t="/"+t);var r={};return(e.match(we)||[]).forEach((function(e){var a=Oe(e);if("2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}var rr=[Jn.HLINK,Jn.XPATH,Jn.XMISS];function ar(e,t,n,r,a,o){if(a||(a={}),e["!id"]||(e["!id"]={}),t<0)for(t=1;e["!id"]["rId"+t];++t);if(a.Id="rId"+t,a.Type=r,a.Target=n,o?a.TargetMode=o:rr.indexOf(a.Type)>-1&&(a.TargetMode="External"),e["!id"][a.Id])throw new Error("Cannot rewrite rId "+t);return e["!id"][a.Id]=a,e[("/"+a.Target).replace("//","/")]=a,t}function or(e,t,n){return[' \n',' \n'," \n"].join("")}var ir=function(){var e='SheetJS '+t.version+"";return function(){return e}}(),sr=[["cp:category","Category"],["cp:contentStatus","ContentStatus"],["cp:keywords","Keywords"],["cp:lastModifiedBy","LastAuthor"],["cp:lastPrinted","LastPrinted"],["cp:revision","RevNumber"],["cp:version","Version"],["dc:creator","Author"],["dc:description","Comments"],["dc:identifier","Identifier"],["dc:language","Language"],["dc:subject","Subject"],["dc:title","Title"],["dcterms:created","CreatedDate","date"],["dcterms:modified","ModifiedDate","date"]];nt.CORE_PROPS="http://schemas.openxmlformats.org/package/2006/metadata/core-properties",Jn.CORE_PROPS="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties";var cr=function(){for(var e=new Array(sr.length),t=0;t]*>([\\s\\S]*?)"+r+">")}return e}();function lr(e){var t={};e=Le(e);for(var n=0;n0&&(t[r[1]]=Te(a[1])),"date"===r[2]&&t[r[1]]&&(t[r[1]]=te(t[r[1]]))}return t}var ur=Je("cp:coreProperties",null,{"xmlns:cp":nt.CORE_PROPS,"xmlns:dc":nt.dc,"xmlns:dcterms":nt.dcterms,"xmlns:dcmitype":nt.dcmitype,"xmlns:xsi":nt.xsi});function fr(e,t,n,r,a){null==a[e]&&null!=t&&""!==t&&(a[e]=t,t=De(t),r[r.length]=n?Je(e,t,n):$e(e,t))}var hr=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]];function dr(e,t,n,r){var a=[];if("string"==typeof e)a=Xe(e,r);else for(var o=0;o0)for(var l=0;l!==a.length;l+=2){switch(c=+a[l+1].v,a[l].v){case"Worksheets":case"\u5de5\u4f5c\u8868":case"\u041b\u0438\u0441\u0442\u044b":case"\u0623\u0648\u0631\u0627\u0642 \u0627\u0644\u0639\u0645\u0644":case"\u30ef\u30fc\u30af\u30b7\u30fc\u30c8":case"\u05d2\u05dc\u05d9\u05d5\u05e0\u05d5\u05ea \u05e2\u05d1\u05d5\u05d3\u05d4":case"Arbeitsbl\xe4tter":case"\xc7al\u0131\u015fma Sayfalar\u0131":case"Feuilles de calcul":case"Fogli di lavoro":case"Folhas de c\xe1lculo":case"Planilhas":case"Regneark":case"Hojas de c\xe1lculo":case"Werkbladen":n.Worksheets=c,n.SheetNames=i.slice(s,s+c);break;case"Named Ranges":case"Rangos con nombre":case"\u540d\u524d\u4ed8\u304d\u4e00\u89a7":case"Benannte Bereiche":case"Navngivne omr\xe5der":n.NamedRanges=c,n.DefinedNames=i.slice(s,s+c);break;case"Charts":case"Diagramme":n.Chartsheets=c,n.ChartNames=i.slice(s,s+c)}s+=c}}nt.EXT_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",Jn.EXT_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties";var pr=Je("Properties",null,{xmlns:nt.EXT_PROPS,"xmlns:vt":nt.vt});nt.CUST_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",Jn.CUST_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties";var mr=/<[^>]+>[^<]*/g,gr=Je("Properties",null,{xmlns:nt.CUST_PROPS,"xmlns:vt":nt.vt});function vr(e){var t=[ye,gr];if(!e)return t.join("");var n=1;return U(e).forEach((function(r){++n,t[t.length]=Je("property",function(e,t){switch(typeof e){case"string":var n=Je("vt:lpwstr",De(e));return t&&(n=n.replace(/"/g,"_x0022_")),n;case"number":return Je((0|e)==e?"vt:i4":"vt:r8",De(String(e)));case"boolean":return Je("vt:bool",e?"true":"false")}if(e instanceof Date)return Je("vt:filetime",Qe(e));throw new Error("Unable to serialize "+e)}(e[r],!0),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:n,name:De(r)})})),t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}var br={Title:"Title",Subject:"Subject",Author:"Author",Keywords:"Keywords",Comments:"Description",LastAuthor:"LastAuthor",RevNumber:"Revision",Application:"AppName",LastPrinted:"LastPrinted",CreatedDate:"Created",ModifiedDate:"LastSaved",Category:"Category",Manager:"Manager",Company:"Company",AppVersion:"Version",ContentStatus:"ContentStatus",Identifier:"Identifier",Language:"Language"},yr=H(br);function _r(e,t,n){e[t=yr[t]||t]=n}function wr(e){var t=e.read_shift(4),n=e.read_shift(4);return new Date(1e3*(n/1e7*Math.pow(2,32)+t/1e7-11644473600)).toISOString().replace(/\.000/,"")}function Er(e,t,n){var r=e.l,a=e.read_shift(0,"lpstr-cp");if(n)for(;e.l-r&3;)++e.l;return a}function Cr(e,t,n){var r=e.read_shift(0,"lpwstr");return n&&(e.l+=4-(r.length+1&3)&3),r}function Or(e,t,n){return 31===t?Cr(e):Er(e,0,n)}function Sr(e,t,n){return Or(e,t,!1===n?0:4)}function xr(e){var t=e.l,n=Ar(e,81);return 0==e[e.l]&&0==e[e.l+1]&&e.l-t&2&&(e.l+=2),[n,Ar(e,3)]}function kr(e,t){for(var n=e.read_shift(4),r={},a=0;a!=n;++a){var o=e.read_shift(4),i=e.read_shift(4);r[o]=e.read_shift(i,1200===t?"utf16le":"utf8").replace(A,"").replace(P,"!"),1200===t&&i%2&&(e.l+=2)}return 3&e.l&&(e.l=e.l>>3<<2),r}function Tr(e){var t=e.read_shift(4),n=e.slice(e.l,e.l+t);return e.l+=t,(3&t)>0&&(e.l+=4-(3&t)&3),n}function Ar(e,t,n){var r,a=e.read_shift(2),o=n||{};if(e.l+=2,12!==t&&a!==t&&-1===jn.indexOf(t)&&(4126!=(65534&t)||4126!=(65534&a)))throw new Error("Expected type "+t+" saw "+a);switch(12===t?a:t){case 2:return r=e.read_shift(2,"i"),o.raw||(e.l+=2),r;case 3:return r=e.read_shift(4,"i");case 11:return 0!==e.read_shift(4);case 19:return r=e.read_shift(4);case 30:return Er(e,0,4).replace(A,"");case 31:return Cr(e);case 64:return wr(e);case 65:return Tr(e);case 71:return function(e){var t={};return t.Size=e.read_shift(4),e.l+=t.Size+3-(t.Size-1)%4,t}(e);case 80:return Sr(e,a,!o.raw).replace(A,"");case 81:return function(e,t){if(!t)throw new Error("VtUnalignedString must have positive length");return Or(e,t,0)}(e,a).replace(A,"");case 4108:return function(e){for(var t=e.read_shift(4),n=[],r=0;r0&&(n%=Math.pow(2,32),r+=a);var o=Ut(8);return o.write_shift(4,n),o.write_shift(4,r),o}(t);break;case 31:case 80:for((r=Ut(4+2*(t.length+1)+(t.length%2?0:2))).write_shift(4,t.length+1),r.write_shift(0,t,"dbcs");r.l!=r.length;)r.write_shift(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+t)}return T([n,r])}function Dr(e,t){var n=e.l,r=e.read_shift(4),a=e.read_shift(4),o=[],i=0,s=0,c=-1,l={};for(i=0;i!=a;++i){var u=e.read_shift(4),f=e.read_shift(4);o[i]=[u,f+n]}o.sort((function(e,t){return e[1]-t[1]}));var d={};for(i=0;i!=a;++i){if(e.l!==o[i][1]){var p=!0;if(i>0&&t)switch(t[o[i-1][0]].t){case 2:e.l+2===o[i][1]&&(e.l+=2,p=!1);break;case 80:case 4108:e.l<=o[i][1]&&(e.l=o[i][1],p=!1)}if((!t||0==i)&&e.l<=o[i][1]&&(p=!1,e.l=o[i][1]),p)throw new Error("Read Error: Expected address "+o[i][1]+" at "+e.l+" :"+i)}if(t){var m=t[o[i][0]];if(d[m.n]=Ar(e,m.t,{raw:!0}),"version"===m.p&&(d[m.n]=String(d[m.n]>>16)+"."+("0000"+String(65535&d[m.n])).slice(-4)),"CodePage"==m.n)switch(d[m.n]){case 0:d[m.n]=1252;case 874:case 932:case 936:case 949:case 950:case 1250:case 1251:case 1253:case 1254:case 1255:case 1256:case 1257:case 1258:case 1e4:case 1200:case 1201:case 1252:case 65e3:case-536:case 65001:case-535:h(s=d[m.n]>>>0&65535);break;default:throw new Error("Unsupported CodePage: "+d[m.n])}}else if(1===o[i][0]){if(s=d.CodePage=Ar(e,2),h(s),-1!==c){var g=e.l;e.l=o[c][1],l=kr(e,s),e.l=g}}else if(0===o[i][0]){if(0===s){c=i,e.l=o[i+1][1];continue}l=kr(e,s)}else{var v,b=l[o[i][0]];switch(e[e.l]){case 65:e.l+=4,v=Tr(e);break;case 30:case 31:e.l+=4,v=Sr(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 3:e.l+=4,v=e.read_shift(4,"i");break;case 19:e.l+=4,v=e.read_shift(4);break;case 5:e.l+=4,v=e.read_shift(8,"f");break;case 11:e.l+=4,v=Lr(e,4);break;case 64:e.l+=4,v=te(wr(e));break;default:throw new Error("unparsed value: "+e[e.l])}d[b]=v}}return e.l=n+r,d}var Br=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"].concat(["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"]);function Nr(e){switch(typeof e){case"boolean":return 11;case"number":return(0|e)==e?3:5;case"string":return 31;case"object":if(e instanceof Date)return 64}return-1}function Ir(e,t,n){var r=Ut(8),a=[],o=[],i=8,s=0,c=Ut(8),l=Ut(8);if(c.write_shift(4,2),c.write_shift(4,1200),l.write_shift(4,1),o.push(c),a.push(l),i+=8+c.length,!t){(l=Ut(8)).write_shift(4,0),a.unshift(l);var u=[Ut(4)];for(u[0].write_shift(4,e.length),s=0;s-1)&&null!=e[s][1]){var h=e[s][1],d=0;if(t){var p=n[d=+t[e[s][0]]];if("version"==p.p&&"string"==typeof h){var m=h.split(".");h=(+m[0]<<16)+(+m[1]||0)}c=Pr(p.t,h)}else{var g=Nr(h);-1==g&&(g=31,h=String(h)),c=Pr(g,h)}o.push(c),(l=Ut(8)).write_shift(4,t?d:2+s),a.push(l),i+=8+c.length}var v=8*(o.length+1);for(s=0;s=12?2:1),a="sbcs-cont",o=i;(n&&n.biff>=8&&(i=1200),n&&8!=n.biff)?12==n.biff&&(a="wstr"):e.read_shift(1)&&(a="dbcs-cont");n.biff>=2&&n.biff<=5&&(a="cpstr");var s=r?e.read_shift(r,a):"";return i=o,s}function Yr(e){var t=i;i=1200;var n,r=e.read_shift(2),a=e.read_shift(1),o=4&a,s=8&a,c=1+(1&a),l=0,u={};s&&(l=e.read_shift(2)),o&&(n=e.read_shift(4));var f=2==c?"dbcs-cont":"sbcs-cont",h=0===r?"":e.read_shift(r,f);return s&&(e.l+=4*l),o&&(e.l+=n),u.t=h,s||(u.raw=""+u.t+"",u.r=u.t),i=t,u}function Kr(e){var t=e.t||"",n=Ut(3);n.write_shift(2,t.length),n.write_shift(1,1);var r=Ut(2*t.length);return r.write_shift(2*t.length,t,"utf16le"),T([n,r])}function Gr(e,t,n){if(n){if(n.biff>=2&&n.biff<=5)return e.read_shift(t,"cpstr");if(n.biff>=12)return e.read_shift(t,"dbcs-cont")}return 0===e.read_shift(1)?e.read_shift(t,"sbcs-cont"):e.read_shift(t,"dbcs-cont")}function Xr(e,t,n){var r=e.read_shift(n&&2==n.biff?1:2);return 0===r?(e.l++,""):Gr(e,r,n)}function Zr(e,t,n){if(n.biff>5)return Xr(e,0,n);var r=e.read_shift(1);return 0===r?(e.l++,""):e.read_shift(r,n.biff<=4||!e.lens?"cpstr":"sbcs-cont")}function $r(e,t,n){return n||(n=Ut(3+2*e.length)),n.write_shift(2,e.length),n.write_shift(1,1),n.write_shift(31,e,"utf16le"),n}function qr(e,t){var n=e.read_shift(16);switch(16,n){case"e0c9ea79f9bace118c8200aa004ba90b":return function(e){var t=e.read_shift(4),n=e.l,r=!1;t>24&&(e.l+=t-24,"795881f43b1d7f48af2c825dc4852763"===e.read_shift(16)&&(r=!0),e.l=n);var a=e.read_shift((r?t-24:t)>>1,"utf16le").replace(A,"");return r&&(e.l+=24),a}(e);case"0303000000000000c000000000000046":return function(e){for(var t=e.read_shift(2),n="";t-- >0;)n+="../";var r=e.read_shift(0,"lpstr-ansi");if(e.l+=2,57005!=e.read_shift(2))throw new Error("Bad FileMoniker");if(0===e.read_shift(4))return n+r.replace(/\\/g,"/");var a=e.read_shift(4);if(3!=e.read_shift(2))throw new Error("Bad FileMoniker");return n+e.read_shift(a>>1,"utf16le").replace(A,"")}(e);default:throw new Error("Unsupported Moniker "+n)}}function Jr(e){var t=e.read_shift(4);return t>0?e.read_shift(t,"utf16le").replace(A,""):""}function Qr(e,t){t||(t=Ut(6+2*e.length)),t.write_shift(4,1+e.length);for(var n=0;n-1?31:23;switch(r.charAt(0)){case"#":o=28;break;case".":o&=-3}t.write_shift(4,2),t.write_shift(4,o);var i=[8,6815827,6619237,4849780,83];for(n=0;n-1?r.slice(0,a):r;for(t.write_shift(4,2*(s.length+1)),n=0;n-1?r.slice(a+1):"",t)}else{for(i="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" "),n=0;n8?4:2;return[e.read_shift(r),e.read_shift(r,"i"),e.read_shift(r,"i")]}function ia(e){return[e.read_shift(2),Tn(e)]}function sa(e){var t=e.read_shift(2),n=e.read_shift(2);return{s:{c:e.read_shift(2),r:t},e:{c:e.read_shift(2),r:n}}}function ca(e,t){return t||(t=Ut(8)),t.write_shift(2,e.s.r),t.write_shift(2,e.e.r),t.write_shift(2,e.s.c),t.write_shift(2,e.e.c),t}function la(e){var t=e.read_shift(2),n=e.read_shift(2);return{s:{c:e.read_shift(1),r:t},e:{c:e.read_shift(1),r:n}}}var ua=la;function fa(e){e.l+=4;var t=e.read_shift(2),n=e.read_shift(2),r=e.read_shift(2);return e.l+=12,[n,t,r]}function ha(e){e.l+=2,e.l+=e.read_shift(2)}var da={0:ha,4:ha,5:ha,6:ha,7:function(e){return e.l+=4,e.cf=e.read_shift(2),{}},8:ha,9:ha,10:ha,11:ha,12:ha,13:function(e){var t={};return e.l+=4,e.l+=16,t.fSharedNote=e.read_shift(2),e.l+=4,t},14:ha,15:ha,16:ha,17:ha,18:ha,19:ha,20:ha,21:fa};function pa(e,t){var n={BIFFVer:0,dt:0};switch(n.BIFFVer=e.read_shift(2),(t-=2)>=2&&(n.dt=e.read_shift(2),e.l-=2),n.BIFFVer){case 1536:case 1280:case 1024:case 768:case 512:case 2:case 7:break;default:if(t>6)throw new Error("Unexpected BIFF Ver "+n.BIFFVer)}return e.read_shift(t),n}function ma(e,t,n){var r=1536,a=16;switch(n.bookType){case"biff8":break;case"biff5":r=1280,a=8;break;case"biff4":r=4,a=6;break;case"biff3":r=3,a=6;break;case"biff2":r=2,a=4;break;case"xla":break;default:throw new Error("unsupported BIFF version")}var o=Ut(a);return o.write_shift(2,r),o.write_shift(2,t),a>4&&o.write_shift(2,29282),a>6&&o.write_shift(2,1997),a>8&&(o.write_shift(2,49161),o.write_shift(2,1),o.write_shift(2,1798),o.write_shift(2,0)),o}function ga(e,t){var n=!t||t.biff>=8?2:1,r=Ut(8+n*e.name.length);r.write_shift(4,e.pos),r.write_shift(1,e.hs||0),r.write_shift(1,e.dt),r.write_shift(1,e.name.length),t.biff>=8&&r.write_shift(1,1),r.write_shift(n*e.name.length,e.name,t.biff<8?"sbcs":"utf16le");var a=r.slice(0,r.l);return a.l=r.l,a}function va(e,t,n){var r=0;n&&2==n.biff||(r=e.read_shift(2));var a=e.read_shift(2);return n&&2==n.biff&&(r=1-(a>>15),a&=32767),[{Unsynced:1&r,DyZero:(2&r)>>1,ExAsc:(4&r)>>2,ExDsc:(8&r)>>3},a]}function ba(e,t,n,r){var a=n&&5==n.biff;r||(r=Ut(a?3+t.length:5+2*t.length)),r.write_shift(2,e),r.write_shift(a?1:2,t.length),a||r.write_shift(1,1),r.write_shift((a?1:2)*t.length,t,a?"sbcs":"utf16le");var o=r.length>r.l?r.slice(0,r.l):r;return null==o.l&&(o.l=o.length),o}var ya=Zr;function _a(e,t,n){var r=e.l+t,a=8!=n.biff&&n.biff?2:4,o=e.read_shift(a),i=e.read_shift(a),s=e.read_shift(2),c=e.read_shift(2);return e.l=r,{s:{r:o,c:s},e:{r:i,c:c}}}function wa(e,t,n,r){var a=n&&5==n.biff;r||(r=Ut(a?16:20)),r.write_shift(2,0),e.style?(r.write_shift(2,e.numFmtId||0),r.write_shift(2,65524)):(r.write_shift(2,e.numFmtId||0),r.write_shift(2,t<<4));var o=0;return e.numFmtId>0&&a&&(o|=1024),r.write_shift(4,o),r.write_shift(4,0),a||r.write_shift(4,0),r.write_shift(2,0),r}function Ea(e,t,n){var r=ra(e);2!=n.biff&&9!=t||++e.l;var a=function(e){var t=e.read_shift(1);return 1===e.read_shift(1)?t:1===t}(e);return r.val=a,r.t=!0===a||!1===a?"b":"e",r}var Ca=function(e,t,n){return 0===t?"":Zr(e,0,n)};function Oa(e,t,n){var r,a=e.read_shift(2),o={fBuiltIn:1&a,fWantAdvise:a>>>1&1,fWantPict:a>>>2&1,fOle:a>>>3&1,fOleLink:a>>>4&1,cf:a>>>5&1023,fIcon:a>>>15&1};return 14849===n.sbcch&&(r=function(e,t,n){e.l+=4,t-=4;var r=e.l+t,a=Wr(e,0,n),o=e.read_shift(2);if(o!==(r-=e.l))throw new Error("Malformed AddinUdf: padding = "+r+" != "+o);return e.l+=o,a}(e,t-2,n)),o.body=r||e.read_shift(t-2),"string"===typeof r&&(o.Name=r),o}var Sa=["_xlnm.Consolidate_Area","_xlnm.Auto_Open","_xlnm.Auto_Close","_xlnm.Extract","_xlnm.Database","_xlnm.Criteria","_xlnm.Print_Area","_xlnm.Print_Titles","_xlnm.Recorder","_xlnm.Data_Form","_xlnm.Auto_Activate","_xlnm.Auto_Deactivate","_xlnm.Sheet_Title","_xlnm._FilterDatabase"];function xa(e,t,n){var r=e.l+t,a=e.read_shift(2),o=e.read_shift(1),i=e.read_shift(1),s=e.read_shift(n&&2==n.biff?1:2),c=0;(!n||n.biff>=5)&&(5!=n.biff&&(e.l+=2),c=e.read_shift(2),5==n.biff&&(e.l+=2),e.l+=4);var l=Gr(e,i,n);32&a&&(l=Sa[l.charCodeAt(0)]);var u=r-e.l;return n&&2==n.biff&&--u,{chKey:o,Name:l,itab:c,rgce:r!=e.l&&0!==s&&u>0?function(e,t,n,r){var a,o=e.l+t,i=Wi(e,r,n);o!==e.l&&(a=Hi(e,o-e.l,i,n));return[i,a]}(e,u,n,s):[]}}function ka(e,t,n){if(n.biff<8)return function(e,t,n){3==e[e.l+1]&&e[e.l]++;var r=Wr(e,0,n);return 3==r.charCodeAt(0)?r.slice(1):r}(e,0,n);for(var r=[],a=e.l+t,o=e.read_shift(n.biff>8?4:2);0!==o--;)r.push(oa(e,n.biff,n));if(e.l!=a)throw new Error("Bad ExternSheet: "+e.l+" != "+a);return r}function Ta(e,t,n){var r=ua(e,6);switch(n.biff){case 2:e.l++,t-=7;break;case 3:case 4:e.l+=2,t-=8;break;default:e.l+=6,t-=12}return[r,qi(e,t,n)]}var Aa=[];function Pa(e){var t=Ut(24),n=Qt(e[0]);t.write_shift(2,n.r),t.write_shift(2,n.r),t.write_shift(2,n.c),t.write_shift(2,n.c);for(var r="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),a=0;a<16;++a)t.write_shift(1,parseInt(r[a],16));return T([t,ea(e[1])])}function Da(e){var t=e[1].Tooltip,n=Ut(10+2*(t.length+1));n.write_shift(2,2048);var r=Qt(e[0]);n.write_shift(2,r.r),n.write_shift(2,r.r),n.write_shift(2,r.c),n.write_shift(2,r.c);for(var a=0;a=12?4:2,a=e.read_shift(r),o=e.read_shift(r),i=e.read_shift(r),s=e.read_shift(r),c=e.read_shift(2);2==r&&(e.l+=2);var l={s:a,e:o,w:i,ixfe:s,flags:c};return(n.biff>=5||!n.biff)&&(l.level=c>>8&7),l}Aa[8]=function(e,t){var n=e.l+t;e.l+=10;var r=e.read_shift(2);e.l+=4,e.l+=2,e.l+=2,e.l+=2,e.l+=4;var a=e.read_shift(1);return e.l+=a,e.l=n,{fmt:r}};var Na=ra,Ia=Vr,Ra=Xr,Ma=function(){var e={1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127,8:865,9:437,10:850,11:437,13:437,14:850,15:437,16:850,17:437,18:850,19:932,20:850,21:437,22:850,23:865,24:437,25:437,26:850,27:437,28:863,29:850,31:852,34:852,35:852,36:860,37:850,38:866,55:850,64:852,77:936,78:949,79:950,80:874,87:1252,88:1252,89:1252,108:863,134:737,135:852,136:857,204:1257,255:16969},t=H({1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127});function n(t,n){var r=n||{};return r.dateNF||(r.dateNF="yyyymmdd"),ln(function(t,n){var r=[],a=E(1);switch(n.type){case"base64":a=O(b.decode(t));break;case"binary":a=O(t);break;case"buffer":case"array":a=t}Ft(a,0);var o=a.read_shift(1),i=!!(136&o),s=!1,c=!1;switch(o){case 2:case 3:break;case 48:case 49:s=!0,i=!0;break;case 131:case 139:break;case 140:c=!0;break;case 245:break;default:throw new Error("DBF Unsupported Version: "+o.toString(16))}var l=0,u=521;2==o&&(l=a.read_shift(2)),a.l+=3,2!=o&&(l=a.read_shift(4)),l>1048576&&(l=1e6),2!=o&&(u=a.read_shift(2));var f=a.read_shift(2),h=n.codepage||1252;2!=o&&(a.l+=16,a.read_shift(1),0!==a[a.l]&&(h=e[a[a.l]]),a.l+=1,a.l+=2),c&&(a.l+=36);for(var d=[],p={},m=Math.min(a.length,2==o?521:u-10-(s?264:0)),g=c?32:11;a.l0;)if(42!==a[a.l])for(++a.l,r[++v]=[],y=0,y=0;y!=d.length;++y){var _=a.slice(a.l,a.l+d[y].len);a.l+=d[y].len,Ft(_,0);var w=cptable.utils.decode(h,_);switch(d[y].type){case"C":w.trim().length&&(r[v][y]=w.replace(/\s+$/,""));break;case"D":8===w.length?r[v][y]=new Date(+w.slice(0,4),+w.slice(4,6)-1,+w.slice(6,8)):r[v][y]=w;break;case"F":r[v][y]=parseFloat(w.trim());break;case"+":case"I":r[v][y]=c?2147483648^_.read_shift(-4,"i"):_.read_shift(4,"i");break;case"L":switch(w.trim().toUpperCase()){case"Y":case"T":r[v][y]=!0;break;case"N":case"F":r[v][y]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+w+"|")}break;case"M":if(!i)throw new Error("DBF Unexpected MEMO for type "+o.toString(16));r[v][y]="##MEMO##"+(c?parseInt(w.trim(),10):_.read_shift(4));break;case"N":(w=w.replace(/\u0000/g,"").trim())&&"."!=w&&(r[v][y]=+w||0);break;case"@":r[v][y]=new Date(_.read_shift(-8,"f")-621356832e5);break;case"T":r[v][y]=new Date(864e5*(_.read_shift(4)-2440588)+_.read_shift(4));break;case"Y":r[v][y]=_.read_shift(4,"i")/1e4;break;case"O":r[v][y]=-_.read_shift(-8,"f");break;case"B":if(s&&8==d[y].len){r[v][y]=_.read_shift(8,"f");break}case"G":case"P":_.l+=d[y].len;break;case"0":if("_NullFlags"===d[y].name)break;default:throw new Error("DBF Unsupported data type "+d[y].type)}}else a.l+=f;if(2!=o&&a.l=0&&h(+a.codepage),"string"==a.type)throw new Error("Cannot write DBF to JS string");var o=Ht(),i=iu(e,{header:1,raw:!0,cellDates:!0}),c=i[0],l=i.slice(1),u=0,f=0,d=0,p=1;for(u=0;u":190,"?":191,"{":223},t=new RegExp("\x1bN("+U(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),n=function(t,n){var r=e[n];return"number"==typeof r?v(r):r},r=function(e,t,n){var r=t.charCodeAt(0)-32<<4|n.charCodeAt(0)-48;return 59==r?e:v(r)};function o(e,a){var o,i=e.split(/[\n\r]+/),s=-1,c=-1,l=0,u=0,f=[],d=[],p=null,m={},g=[],v=[],b=[],y=0;for(+a.codepage>=0&&h(+a.codepage);l!==i.length;++l){y=0;var _,w=i[l].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,r).replace(t,n),E=w.replace(/;;/g,"\0").split(";").map((function(e){return e.replace(/\u0000/g,";")})),C=E[0];if(w.length>0)switch(C){case"ID":case"E":case"B":case"O":case"W":break;case"P":"P"==E[1].charAt(0)&&d.push(w.slice(3).replace(/;;/g,";"));break;case"C":var O=!1,S=!1,x=!1,k=!1,T=-1,A=-1;for(u=1;u-1&&f[T][A];if(!B||!B[1])throw new Error("SYLK shared formula cannot find base");f[s][c][1]=di(B[1],{r:s-T,c:c-A})}break;case"F":var N=0;for(u=1;u0?(g[s].hpt=y,g[s].hpx=xo(y)):0===y&&(g[s].hidden=!0);break;default:if(a&&a.WTF)throw new Error("SYLK bad record "+w)}N<1&&(p=null);break;default:if(a&&a.WTF)throw new Error("SYLK bad record "+w)}}return g.length>0&&(m["!rows"]=g),v.length>0&&(m["!cols"]=v),a&&a.sheetRows&&(f=f.slice(0,a.sheetRows)),[f,m]}function i(e,t){var n=function(e,t){switch(t.type){case"base64":return o(b.decode(e),t);case"binary":return o(e,t);case"buffer":return o(y&&a.isBuffer(e)?e.toString("binary"):x(e),t);case"array":return o(ne(e),t)}throw new Error("Unrecognized type "+t.type)}(e,t),r=n[0],i=n[1],s=ln(r,t);return U(i).forEach((function(e){s[e]=i[e]})),s}function s(e,t,n,r){var a="C;Y"+(n+1)+";X"+(r+1)+";K";switch(e.t){case"n":a+=e.v||0,e.f&&!e.F&&(a+=";E"+hi(e.f,{r:n,c:r}));break;case"b":a+=e.v?"TRUE":"FALSE";break;case"e":a+=e.w||e.v;break;case"d":a+='"'+(e.w||e.v)+'"';break;case"s":a+='"'+e.v.replace(/"/g,"")+'"'}return a}return e["|"]=254,{to_workbook:function(e,t){return sn(i(e,t),t)},to_sheet:i,from_sheet:function(e,t){var n,r,a=["ID;PWXL;N;E"],o=[],i=rn(e["!ref"]),c=Array.isArray(e),l="\r\n";a.push("P;PGeneral"),a.push("F;P0;DG0G8;M255"),e["!cols"]&&(r=a,e["!cols"].forEach((function(e,t){var n="F;W"+(t+1)+" "+(t+1)+" ";e.hidden?n+="0":("number"!=typeof e.width||e.wpx||(e.wpx=yo(e.width)),"number"!=typeof e.wpx||e.wch||(e.wch=_o(e.wpx)),"number"==typeof e.wch&&(n+=Math.round(e.wch)))," "!=n.charAt(n.length-1)&&r.push(n)}))),e["!rows"]&&function(e,t){t.forEach((function(t,n){var r="F;";t.hidden?r+="M0;":t.hpt?r+="M"+20*t.hpt+";":t.hpx&&(r+="M"+20*So(t.hpx)+";"),r.length>2&&e.push(r+"R"+(n+1))}))}(a,e["!rows"]),a.push("B;Y"+(i.e.r-i.s.r+1)+";X"+(i.e.c-i.s.c+1)+";D"+[i.s.c,i.s.r,i.e.c,i.e.r].join(" "));for(var u=i.s.r;u<=i.e.r;++u)for(var f=i.s.c;f<=i.e.c;++f){var h=en({r:u,c:f});(n=c?(e[u]||[])[f]:e[h])&&(null!=n.v||n.f&&!n.F)&&o.push(s(n,0,u,f))}return a.join(l)+l+o.join(l)+l+"E"+l}}}(),La=function(){function e(e,t){for(var n=e.split("\n"),r=-1,a=-1,o=0,i=[];o!==n.length;++o)if("BOT"!==n[o].trim()){if(!(r<0)){for(var s=n[o].trim().split(","),c=s[0],l=s[1],u=n[++o]||"";1&(u.match(/["]/g)||[]).length&&o=0?s=l:a=l}})),c>=0&&-1==s&&a>=0&&(s=a,a=-1);var l=(""+(r>=0?r:(new Date).getFullYear())).slice(-4)+"-"+("00"+(a>=1?a:1)).slice(-2)+"-"+("00"+(o>=1?o:1)).slice(-2);7==l.length&&(l="0"+l),8==l.length&&(l="20"+l);var u=("00"+(i>=0?i:0)).slice(-2)+":"+("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(c>=0?c:0)).slice(-2);return-1==i&&-1==s&&-1==c?l:-1==r&&-1==a&&-1==o?u:l+"T"+u}(0,n.dateNF,t.match(g)||[]),a=1),n.cellDates?(r.t="d",r.v=te(t,a)):(r.t="n",r.v=K(te(t,a))),!1!==n.cellText&&(r.w=D.format(r.z,r.v instanceof Date?K(r.v):r.v)),n.cellNF||delete r.z}else r.t="s",r.v=t;else r.t="n",!1!==n.cellText&&(r.w=t),r.v=l;if("z"==r.t||(n.dense?(o[s]||(o[s]=[]),o[s][c]=r):o[en({c:c,r:s})]=r),u=f+1,m=e.charCodeAt(u),i.e.c0&&v(),o["!ref"]=nn(i),o}function i(t,n){return n&&n.PRN?n.FS||"sep="==t.slice(0,4)||t.indexOf("\t")>=0||t.indexOf(",")>=0||t.indexOf(";")>=0?o(t,n):ln(function(t,n){var r=n||{},a=[];if(!t||0===t.length)return a;for(var o=t.split(/[\r\n]/),i=o.length-1;i>=0&&0===o[i].length;)--i;for(var s=10,c=0,l=0;l<=i;++l)-1==(c=o[l].indexOf(" "))?c=o[l].length:c++,s=Math.max(s,c);for(l=0;l<=i;++l){a[l]=[];var u=0;for(e(o[l].slice(0,s).trim(),a,l,u,r),u=1;u<=(o[l].length-s)/10+1;++u)e(o[l].slice(s+10*(u-1),s+10*u).trim(),a,l,u,r)}return r.sheetRows&&(a=a.slice(0,r.sheetRows)),a}(t,n),n):o(t,n)}function s(e,t){var n="",r="string"==t.type?[0,0,0,0]:Xl(e,t);switch(t.type){case"base64":n=b.decode(e);break;case"binary":n=e;break;case"buffer":n=65001==t.codepage?e.toString("utf8"):t.codepage&&"undefined"!==typeof cptable?cptable.utils.decode(t.codepage,e):y&&a.isBuffer(e)?e.toString("binary"):x(e);break;case"array":n=ne(e);break;case"string":n=e;break;default:throw new Error("Unrecognized type "+t.type)}return 239==r[0]&&187==r[1]&&191==r[2]?n=Le(n.slice(3)):"string"!=t.type&&65001==t.codepage?n=Le(n):"binary"==t.type&&"undefined"!==typeof cptable&&t.codepage&&(n=cptable.utils.decode(t.codepage,cptable.utils.encode(28591,n))),"socialcalc:version:"==n.slice(0,19)?Fa.to_sheet("string"==t.type?n:Le(n),t):i(n,t)}return{to_workbook:function(e,t){return sn(s(e,t),t)},to_sheet:s,from_sheet:function(e){for(var t,n=[],r=rn(e["!ref"]),a=Array.isArray(e),o=r.s.r;o<=r.e.r;++o){for(var i=[],s=r.s.c;s<=r.e.c;++s){var c=en({r:o,c:s});if((t=a?(e[o]||[])[s]:e[c])&&null!=t.v){for(var l=(t.w||(on(t),t.w)||"").slice(0,10);l.length<10;)l+=" ";i.push(l+(0===s?" ":""))}else i.push(" ")}n.push(i.join(""))}return n.join("\n")}}}(),Ua=function(){function e(e,t,n){if(e){Ft(e,e.l||0);for(var r=n.Enum||y;e.l=16&&5==t[14]&&108===t[15])throw new Error("Unsupported Works 3 for Mac file");if(2==t[2])r.Enum=y,e(t,(function(e,t,n){switch(n){case 0:r.vers=e,e>=4096&&(r.qpro=!0);break;case 6:f=e;break;case 204:e&&(i=e);break;case 222:i=e;break;case 15:case 51:r.qpro||(e[1].v=e[1].v.slice(1));case 13:case 14:case 16:14==n&&112==(112&e[2])&&(15&e[2])>1&&(15&e[2])<15&&(e[1].z=r.dateNF||D._table[14],r.cellDates&&(e[1].t="d",e[1].v=q(e[1].v))),r.qpro&&e[3]>s&&(a["!ref"]=nn(f),c[o]=a,l.push(o),a=r.dense?[]:{},f={s:{r:0,c:0},e:{r:0,c:0}},s=e[3],o=i||"Sheet"+(s+1),i="");var u=r.dense?(a[e[0].r]||[])[e[0].c]:a[en(e[0])];if(u){u.t=e[1].t,u.v=e[1].v,null!=e[1].z&&(u.z=e[1].z),null!=e[1].f&&(u.f=e[1].f);break}r.dense?(a[e[0].r]||(a[e[0].r]=[]),a[e[0].r][e[0].c]=e[1]):a[en(e[0])]=e[1]}}),r);else{if(26!=t[2]&&14!=t[2])throw new Error("Unrecognized LOTUS BOF "+t[2]);r.Enum=_,14==t[2]&&(r.qpro=!0,t.l=0),e(t,(function(e,t,n){switch(n){case 204:o=e;break;case 22:e[1].v=e[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(e[3]>s&&(a["!ref"]=nn(f),c[o]=a,l.push(o),a=r.dense?[]:{},f={s:{r:0,c:0},e:{r:0,c:0}},s=e[3],o="Sheet"+(s+1)),h>0&&e[0].r>=h)break;r.dense?(a[e[0].r]||(a[e[0].r]=[]),a[e[0].r][e[0].c]=e[1]):a[en(e[0])]=e[1],f.e.c=128?95:o)}return r.write_shift(1,0),r}function o(e,t,n){var r=Ut(7);return r.write_shift(1,255),r.write_shift(2,t),r.write_shift(2,e),r.write_shift(2,n,"i"),r}function i(e,t,n){var r=Ut(13);return r.write_shift(1,255),r.write_shift(2,t),r.write_shift(2,e),r.write_shift(8,n,"f"),r}function s(e,t,n){var r=32768&t;return t=(r?e:0)+((t&=-32769)>=8192?t-16384:t),(r?"":"$")+(n?Jt(t):$t(t))}var c={51:["FALSE",0],52:["TRUE",0],70:["LEN",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],111:["T",1]},l=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function u(e){var t=[{c:0,r:0},{t:"n",v:0},0];return t[0].r=e.read_shift(2),t[3]=e[e.l++],t[0].c=e[e.l++],t}function f(e,t,n,r){var a=Ut(6+r.length);a.write_shift(2,e),a.write_shift(1,n),a.write_shift(1,t),a.write_shift(1,39);for(var o=0;o=128?95:i)}return a.write_shift(1,0),a}function d(e,t){var n=u(e),r=e.read_shift(4),a=e.read_shift(4),o=e.read_shift(2);if(65535==o)return 0===r&&3221225472===a?(n[1].t="e",n[1].v=15):0===r&&3489660928===a?(n[1].t="e",n[1].v=42):n[1].v=0,n;var i=32768&o;return o=(32767&o)-16446,n[1].v=(1-2*i)*(a*Math.pow(2,o+32)+r*Math.pow(2,o)),n}function p(e,t,n,r){var a=Ut(14);if(a.write_shift(2,e),a.write_shift(1,n),a.write_shift(1,t),0==r)return a.write_shift(4,0),a.write_shift(4,0),a.write_shift(2,65535),a;var o,i=0,s=0,c=0;return r<0&&(i=1,r=-r),s=0|Math.log2(r),0==(2147483648&(c=(r/=Math.pow(2,s-31))>>>0))&&(++s,c=(r/=2)>>>0),r-=c,c|=2147483648,c>>>=0,o=(r*=Math.pow(2,32))>>>0,a.write_shift(4,o),a.write_shift(4,c),s+=16383+(i?32768:0),a.write_shift(2,s),a}function m(e,t){var n=u(e),r=e.read_shift(8,"f");return n[1].v=r,n}function g(e,t){return 0==e[e.l+t-1]?e.read_shift(t,"cstr"):""}function v(e,t){var n=Ut(5+e.length);n.write_shift(2,14e3),n.write_shift(2,t);for(var r=0;r127?95:a}return n[n.l++]=0,n}var y={0:{n:"BOF",f:zr},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:function(e,t,n){var r={s:{c:0,r:0},e:{c:0,r:0}};return 8==t&&n.qpro?(r.s.c=e.read_shift(1),e.l++,r.s.r=e.read_shift(2),r.e.c=e.read_shift(1),e.l++,r.e.r=e.read_shift(2),r):(r.s.c=e.read_shift(2),r.s.r=e.read_shift(2),12==t&&n.qpro&&(e.l+=2),r.e.c=e.read_shift(2),r.e.r=e.read_shift(2),12==t&&n.qpro&&(e.l+=2),65535==r.s.c&&(r.s.c=r.e.c=r.s.r=r.e.r=0),r)}},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:function(e,t,r){var a=n(e,0,r);return a[1].v=e.read_shift(2,"i"),a}},14:{n:"NUMBER",f:function(e,t,r){var a=n(e,0,r);return a[1].v=e.read_shift(8,"f"),a}},15:{n:"LABEL",f:r},16:{n:"FORMULA",f:function(e,t,r){var a=e.l+t,o=n(e,0,r);if(o[1].v=e.read_shift(8,"f"),r.qpro)e.l=a;else{var i=e.read_shift(2);!function(e,t){Ft(e,0);var n=[],r=0,a="",o="",i="",u="";for(;e.ln.length)return void console.error("WK1 bad formula parse 0x"+f.toString(16)+":|"+n.join("|")+"|");var m=n.slice(-r);n.length-=r,n.push(c[f][0]+"("+m.join(",")+")")}}}1==n.length?t[1].f=""+n[0]:console.error("WK1 bad formula parse |"+n.join("|")+"|")}(e.slice(e.l,e.l+i),o),e.l+=i}return o}},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:r},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},102:{n:"PRANGES??"},103:{n:"RRANGES??"},104:{n:"FNAME??"},105:{n:"MRANGES??"},204:{n:"SHEETNAMECS",f:g},222:{n:"SHEETNAMELP",f:function(e,t){var n=e[e.l++];n>t-1&&(n=t-1);for(var r="";r.length>1;if(1&n[1].v)switch(7&r){case 0:r=5e3*(r>>3);break;case 1:r=500*(r>>3);break;case 2:r=(r>>3)/20;break;case 3:r=(r>>3)/200;break;case 4:r=(r>>3)/2e3;break;case 5:r=(r>>3)/2e4;break;case 6:r=(r>>3)/16;break;case 7:r=(r>>3)/64}return n[1].v=r,n}},25:{n:"FORMULA19",f:function(e,t){var n=d(e);return e.l+=t-14,n}},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:function(e,t){for(var n={},r=e.l+t;e.l>6,n}},38:{n:"??"},39:{n:"NUMBER27",f:m},40:{n:"FORMULA28",f:function(e,t){var n=m(e);return e.l+=t-10,n}},142:{n:"??"},147:{n:"??"},150:{n:"??"},151:{n:"??"},152:{n:"??"},153:{n:"??"},154:{n:"??"},155:{n:"??"},156:{n:"??"},163:{n:"??"},174:{n:"??"},175:{n:"??"},176:{n:"??"},177:{n:"??"},184:{n:"??"},185:{n:"??"},186:{n:"??"},187:{n:"??"},188:{n:"??"},195:{n:"??"},201:{n:"??"},204:{n:"SHEETNAMECS",f:g},205:{n:"??"},206:{n:"??"},207:{n:"??"},208:{n:"??"},256:{n:"??"},259:{n:"??"},260:{n:"??"},261:{n:"??"},262:{n:"??"},263:{n:"??"},265:{n:"??"},266:{n:"??"},267:{n:"??"},268:{n:"??"},270:{n:"??"},271:{n:"??"},384:{n:"??"},389:{n:"??"},390:{n:"??"},393:{n:"??"},396:{n:"??"},512:{n:"??"},514:{n:"??"},513:{n:"??"},516:{n:"??"},517:{n:"??"},640:{n:"??"},641:{n:"??"},642:{n:"??"},643:{n:"??"},644:{n:"??"},645:{n:"??"},646:{n:"??"},647:{n:"??"},648:{n:"??"},658:{n:"??"},659:{n:"??"},660:{n:"??"},661:{n:"??"},662:{n:"??"},665:{n:"??"},666:{n:"??"},768:{n:"??"},772:{n:"??"},1537:{n:"SHEETINFOQP",f:function(e,t,n){if(n.qpro&&!(t<21)){var r=e.read_shift(1);e.l+=17;e.read_shift(1);return e.l+=2,[r,e.read_shift(t-21,"cstr")]}}},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}};return{sheet_to_wk1:function(e,t){var n=t||{};if(+n.codepage>=0&&h(+n.codepage),"string"==n.type)throw new Error("Cannot write WK1 to JS string");var r=Ht(),s=rn(e["!ref"]),c=Array.isArray(e),l=[];ll(r,0,function(e){var t=Ut(2);return t.write_shift(2,e),t}(1030)),ll(r,6,function(e){var t=Ut(8);return t.write_shift(2,e.s.c),t.write_shift(2,e.s.r),t.write_shift(2,e.e.c),t.write_shift(2,e.e.r),t}(s));for(var u=Math.min(s.e.r,8191),f=s.s.r;f<=u;++f)for(var d=$t(f),p=s.s.c;p<=s.e.c;++p){f===s.s.r&&(l[p]=Jt(p));var m=l[p]+d,g=c?(e[f]||[])[p]:e[m];if(g&&"z"!=g.t)if("n"==g.t)(0|g.v)==g.v&&g.v>=-32768&&g.v<=32767?ll(r,13,o(f,p,g.v)):ll(r,14,i(f,p,g.v));else ll(r,15,a(f,p,on(g).slice(0,239)))}return ll(r,1),r.end()},book_to_wk3:function(e,t){var n=t||{};if(+n.codepage>=0&&h(+n.codepage),"string"==n.type)throw new Error("Cannot write WK3 to JS string");var r=Ht();ll(r,0,function(e){var t=Ut(26);t.write_shift(2,4096),t.write_shift(2,4),t.write_shift(4,0);for(var n=0,r=0,a=0,o=0;o8191&&(n=8191);return t.write_shift(2,n),t.write_shift(1,a),t.write_shift(1,r),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(1,1),t.write_shift(1,2),t.write_shift(4,0),t.write_shift(4,0),t}(e));for(var a=0,o=0;a":case"":t.shadow=1;break;case"":break;case"":case"":t.outline=1;break;case"":break;case"":case"":t.strike=1;break;case"":break;case"":case"":t.u=1;break;case"":break;case"":case"":t.b=1;break;case"":break;case"":case"":t.i=1;break;case"":break;case"":case"":break;case"":a=!1;break;default:if(47!==o[0].charCodeAt(1)&&!a)throw new Error("Unrecognized rich format "+o[0])}}return t}(o[1])),a}var r=/<(?:\w+:)?r>/g,a=/<\/(?:\w+:)?r>/;return function(e){return e.replace(r,"").split(a).map(n).filter((function(e){return e.v}))}}(),Ha=function(){var e=/(\r\n|\n)/g;function t(t){var n=[[],t.v,[]];return t.v?(t.s&&function(e,t,n){var r=[];e.u&&r.push("text-decoration: underline;"),e.uval&&r.push("text-underline-style:"+e.uval+";"),e.sz&&r.push("font-size:"+e.sz+"pt;"),e.outline&&r.push("text-effect: outline;"),e.shadow&&r.push("text-shadow: auto;"),t.push(''),e.b&&(t.push(""),n.push("")),e.i&&(t.push(""),n.push("")),e.strike&&(t.push(""),n.push(""));var a=e.valign||"";"superscript"==a||"super"==a?a="sup":"subscript"==a&&(a="sub"),""!=a&&(t.push("<"+a+">"),n.push(""+a+">")),n.push("")}(t.s,n[0],n[2]),n[0].join("")+n[1].replace(e,"
")+n[2].join("")):""}return function(e){return e.map(t).join("")}}(),Wa=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,Ya=/<(?:\w+:)?r>/,Ka=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g;function Ga(e,t){var n=!t||t.cellHTML,r={};return e?(e.match(/^\s*<(?:\w+:)?t[^>]*>/)?(r.t=Te(Le(e.slice(e.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||"")),r.r=Le(e),n&&(r.h=Ie(r.t))):e.match(Ya)&&(r.r=Le(e),r.t=Te(Le((e.replace(Ka,"").match(Wa)||[]).join("").replace(we,""))),n&&(r.h=Ha(Va(r.r)))),r):{t:""}}var Xa=/<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/,Za=/<(?:\w+:)?(?:si|sstItem)>/g,$a=/<\/(?:\w+:)?(?:si|sstItem)>/;Jn.SST="http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings";var qa=/^\s|\s$|[\t\n\r]/;function Ja(e,t){if(!t.bookSST)return"";var n=[ye];n[n.length]=Je("sst",null,{xmlns:nt.main[0],count:e.Count,uniqueCount:e.Unique});for(var r=0;r!=e.length;++r)if(null!=e[r]){var a=e[r],o="";a.r?o+=a.r:(o+=""+De(a.t)+""),o+="",n[n.length]=o}return n.length>2&&(n[n.length]="",n[1]=n[1].replace("/>",">")),n.join("")}var Qa=function(e,t){var n=!1;return null==t&&(n=!0,t=Ut(15+4*e.t.length)),t.write_shift(1,0),hn(e.t,t),n?t.slice(0,t.l):t};function eo(e){var t=Ht();Wt(t,"BrtBeginSst",function(e,t){return t||(t=Ut(8)),t.write_shift(4,e.Count),t.write_shift(4,e.Unique),t}(e));for(var n=0;n=4&&(e.l+=t-4),n}function ro(e){for(var t=e.read_shift(4),n=e.l+t-4,r={},a=e.read_shift(4),o=[];a-- >0;)o.push({t:e.read_shift(4),v:e.read_shift(0,"lpp4")});if(r.name=e.read_shift(0,"lpp4"),r.comps=o,e.l!=n)throw new Error("Bad DataSpaceMapEntry: "+e.l+" != "+n);return r}function ao(e){var t=function(e){var t={};return e.read_shift(4),e.l+=4,t.id=e.read_shift(0,"lpp4"),t.name=e.read_shift(0,"lpp4"),t.R=no(e,4),t.U=no(e,4),t.W=no(e,4),t}(e);if(t.ename=e.read_shift(0,"8lpp4"),t.blksz=e.read_shift(4),t.cmode=e.read_shift(4),4!=e.read_shift(4))throw new Error("Bad !Primary record");return t}function oo(e,t){var n=e.l+t,r={};r.Flags=63&e.read_shift(4),e.l+=4,r.AlgID=e.read_shift(4);var a=!1;switch(r.AlgID){case 26126:case 26127:case 26128:a=36==r.Flags;break;case 26625:a=4==r.Flags;break;case 0:a=16==r.Flags||4==r.Flags||36==r.Flags;break;default:throw"Unrecognized encryption algorithm: "+r.AlgID}if(!a)throw new Error("Encryption Flags/AlgID mismatch");return r.AlgIDHash=e.read_shift(4),r.KeySize=e.read_shift(4),r.ProviderType=e.read_shift(4),e.l+=8,r.CSPName=e.read_shift(n-e.l>>1,"utf16le"),e.l=n,r}function io(e,t){var n={},r=e.l+t;return e.l+=4,n.Salt=e.slice(e.l,e.l+16),e.l+=16,n.Verifier=e.slice(e.l,e.l+16),e.l+=16,e.read_shift(4),n.VerifierHash=e.slice(e.l,r),e.l=r,n}function so(e){if(36!=(63&e.read_shift(4)))throw new Error("EncryptionInfo mismatch");var t=e.read_shift(4);return{t:"Std",h:oo(e,t),v:io(e,e.length-e.l)}}function co(){throw new Error("File is password-protected: ECMA-376 Extensible")}function lo(e){var t=["saltSize","blockSize","keyBits","hashSize","cipherAlgorithm","cipherChaining","hashAlgorithm","saltValue"];e.l+=4;var n=e.read_shift(e.length-e.l,"utf8"),r={};return n.replace(we,(function(e){var n=Oe(e);switch(Se(n[0])){case"":break;case"":case"":break;case"":break;case"=0;--n)r=((0===(16384&r)?0:1)|r<<1&32767)^t[n];return 52811^r}var fo=function(){var e=[187,255,255,186,255,255,185,128,0,190,15,0,191,15,0],t=[57840,7439,52380,33984,4364,3600,61902,12606,6258,57657,54287,34041,10252,43370,20163],n=[44796,19929,39858,10053,20106,40212,10761,31585,63170,64933,60267,50935,40399,11199,17763,35526,1453,2906,5812,11624,23248,885,1770,3540,7080,14160,28320,56640,55369,41139,20807,41614,21821,43642,17621,28485,56970,44341,19019,38038,14605,29210,60195,50791,40175,10751,21502,43004,24537,18387,36774,3949,7898,15796,31592,63184,47201,24803,49606,37805,14203,28406,56812,17824,35648,1697,3394,6788,13576,27152,43601,17539,35078,557,1114,2228,4456,30388,60776,51953,34243,7079,14158,28316,14128,28256,56512,43425,17251,34502,7597,13105,26210,52420,35241,883,1766,3532,4129,8258,16516,33032,4657,9314,18628],r=function(e,t){return 255&((n=e^t)/2|128*n);var n};return function(a){for(var o,i,s,c=to(a),l=function(e){for(var r=t[e.length-1],a=104,o=e.length-1;o>=0;--o)for(var i=e[o],s=0;7!=s;++s)64&i&&(r^=n[a]),i*=2,--a;return r}(c),u=c.length,f=E(16),h=0;16!=h;++h)f[h]=0;for(1===(1&u)&&(o=l>>8,f[u]=r(e[0],o),--u,o=255&l,i=c[c.length-1],f[u]=r(i,o));u>0;)o=l>>8,f[--u]=r(c[u],o),o=255&l,f[--u]=r(c[u],o);for(u=15,s=15-c.length;s>0;)o=l>>8,f[u]=r(e[s],o),--s,o=255&l,f[--u]=r(c[u],o),--u,--s;return f}}(),ho=function(e){var t=0,n=fo(e);return function(e){var r=function(e,t,n,r,a){var o,i;for(a||(a=t),r||(r=fo(e)),o=0;o!=t.length;++o)i=t[o],i=255&((i^=r[n])>>5|i<<3),a[o]=i,++n;return[a,n,r]}("",e,t,n);return t=r[1],r[0]}};function po(e,t,n){var r=n||{};return r.Info=e.read_shift(2),e.l-=2,1===r.Info?r.Data=function(e){var t={},n=t.EncryptionVersionInfo=no(e,4);if(1!=n.Major||1!=n.Minor)throw"unrecognized version code "+n.Major+" : "+n.Minor;return t.Salt=e.read_shift(16),t.EncryptedVerifier=e.read_shift(16),t.EncryptedVerifierHash=e.read_shift(16),t}(e):r.Data=function(e,t){var n={},r=n.EncryptionVersionInfo=no(e,4);if(t-=4,2!=r.Minor)throw new Error("unrecognized minor version code: "+r.Minor);if(r.Major>4||r.Major<2)throw new Error("unrecognized major version code: "+r.Major);n.Flags=e.read_shift(4),t-=4;var a=e.read_shift(4);return t-=4,n.EncryptionHeader=oo(e,a),t-=a,n.EncryptionVerifier=io(e,t),n}(e,t),r}var mo=function(){function e(e,n){switch(n.type){case"base64":return t(b.decode(e),n);case"binary":return t(e,n);case"buffer":return t(y&&a.isBuffer(e)?e.toString("binary"):x(e),n);case"array":return t(ne(e),n)}throw new Error("Unrecognized type "+n.type)}function t(e,t){var n=(t||{}).dense?[]:{},r=e.match(/\\trowd.*?\\row\b/g);if(!r.length)throw new Error("RTF missing table");var a={s:{c:0,r:0},e:{c:0,r:r.length-1}};return r.forEach((function(e,t){Array.isArray(n)&&(n[t]=[]);for(var r,o=/\\\w+\b/g,i=0,s=-1;r=o.exec(e);){switch(r[0]){case"\\cell":var c=e.slice(i,o.lastIndex-r[0].length);if(" "==c[0]&&(c=c.slice(1)),++s,c.length){var l={v:c,t:"s"};Array.isArray(n)?n[t][s]=l:n[en({r:t,c:s})]=l}}i=o.lastIndex}s>a.e.c&&(a.e.c=s)})),n["!ref"]=nn(a),n}return{to_workbook:function(t,n){return sn(e(t,n),n)},to_sheet:e,from_sheet:function(e){for(var t,n=["{\\rtf1\\ansi"],r=rn(e["!ref"]),a=Array.isArray(e),o=r.s.r;o<=r.e.r;++o){n.push("\\trowd\\trautofit1");for(var i=r.s.c;i<=r.e.c;++i)n.push("\\cellx"+(i+1));for(n.push("\\pard\\intbl"),i=r.s.c;i<=r.e.c;++i){var s=en({r:o,c:i});(t=a?(e[o]||[])[i]:e[s])&&(null!=t.v||t.f&&!t.F)&&(n.push(" "+(t.w||(on(t),t.w))),n.push("\\cell"))}n.push("\\pard\\intbl\\row")}return n.join("")+"}"}}}();function go(e){for(var t=0,n=1;3!=t;++t)n=256*n+(e[t]>255?255:e[t]<0?0:e[t]);return n.toString(16).toUpperCase().slice(1)}function vo(e,t){if(0===t)return e;var n=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255,a=Math.max(t,n,r),o=Math.min(t,n,r),i=a-o;if(0===i)return[0,0,t];var s,c=0,l=a+o;switch(s=i/(l>1?2-l:l),a){case t:c=((n-r)/i+6)%6;break;case n:c=(r-t)/i+2;break;case r:c=(t-n)/i+4}return[c/6,s,l/2]}(function(e){var t=e.slice("#"===e[0]?1:0).slice(0,6);return[parseInt(t.slice(0,2),16),parseInt(t.slice(2,4),16),parseInt(t.slice(4,6),16)]}(e));return n[2]=t<0?n[2]*(1+t):1-(1-n[2])*(1-t),go(function(e){var t,n=e[0],r=e[1],a=e[2],o=2*r*(a<.5?a:1-a),i=a-o/2,s=[i,i,i],c=6*n;if(0!==r)switch(0|c){case 0:case 6:t=o*c,s[0]+=o,s[1]+=t;break;case 1:t=o*(2-c),s[0]+=t,s[1]+=o;break;case 2:t=o*(c-2),s[1]+=o,s[2]+=t;break;case 3:t=o*(4-c),s[1]+=t,s[2]+=o;break;case 4:t=o*(c-4),s[2]+=o,s[0]+=t;break;case 5:t=o*(6-c),s[2]+=t,s[0]+=o}for(var l=0;3!=l;++l)s[l]=Math.round(255*s[l]);return s}(n))}var bo=6;function yo(e){return Math.floor((e+Math.round(128/bo)/256)*bo)}function _o(e){return Math.floor((e-5)/bo*100+.5)/100}function wo(e){return Math.round((e*bo+5)/bo*256)/256}function Eo(e){return wo(_o(yo(e)))}function Co(e){var t=Math.abs(e-Eo(e)),n=bo;if(t>.005)for(bo=1;bo<15;++bo)Math.abs(e-Eo(e))<=t&&(t=Math.abs(e-Eo(e)),n=bo);bo=n}function Oo(e){e.width?(e.wpx=yo(e.width),e.wch=_o(e.wpx),e.MDW=bo):e.wpx?(e.wch=_o(e.wpx),e.width=wo(e.wch),e.MDW=bo):"number"==typeof e.wch&&(e.width=wo(e.wch),e.wpx=yo(e.width),e.MDW=bo),e.customWidth&&delete e.customWidth}function So(e){return 96*e/96}function xo(e){return 96*e/96}var ko={None:"none",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"},To=["numFmtId","fillId","fontId","borderId","xfId"],Ao=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"],Po=function(){var e=/<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/,t=/<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/,n=/<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/,r=/<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/,a=/<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/;return function(o,i,s){var c,l={};return o?((c=(o=o.replace(//gm,"").replace(//gm,"")).match(e))&&function(e,t,n){t.NumberFmt=[];for(var r=U(D._table),a=0;a":case"":case"":break;case"0){if(c>392){for(c=392;c>60&&null!=t.NumberFmt[c];--c);t.NumberFmt[c]=s}D.load(s,c)}break;case"":break;default:if(n.WTF)throw new Error("unrecognized "+i[0]+" in numFmts")}}}(c,l,s),(c=o.match(r))&&function(e,t,n,r){t.Fonts=[];var a={},o=!1;(e[0].match(we)||[]).forEach((function(e){var i=Oe(e);switch(Se(i[0])){case"":case"":break;case"":break;case"":case"":t.Fonts.push(a),a={};break;case"":case"":break;case"":a.bold=1;break;case"":a.italic=1;break;case"":a.underline=1;break;case"":a.strike=1;break;case"":a.outline=1;break;case"":a.shadow=1;break;case"":a.condense=1;break;case"":a.extend=1;break;case"":case"":break;case"":case"":break;case"":case"":break;case"":case"":break;case"":case"":break;case"":o=!1;break;case"":case"":break;case"":o=!1;break;default:if(r&&r.WTF&&!o)throw new Error("unrecognized "+i[0]+" in fonts")}}))}(c,l,i,s),(c=o.match(n))&&function(e,t,n,r){t.Fills=[];var a={},o=!1;(e[0].match(we)||[]).forEach((function(e){var n=Oe(e);switch(Se(n[0])){case"":case"":break;case"":case"":a={},t.Fills.push(a);break;case"":case"":break;case"":t.Fills.push(a),a={};break;case"":n.patternType&&(a.patternType=n.patternType);break;case"":case"":break;case"":case"":break;case"":case"":break;case"":case"":break;case"":case"":break;case"":case"":break;case"":o=!1;break;default:if(r&&r.WTF&&!o)throw new Error("unrecognized "+n[0]+" in fills")}}))}(c,l,0,s),(c=o.match(a))&&function(e,t,n,r){t.Borders=[];var a={},o=!1;(e[0].match(we)||[]).forEach((function(e){var n=Oe(e);switch(Se(n[0])){case"":case"":break;case"":case"":a={},n.diagonalUp&&(a.diagonalUp=je(n.diagonalUp)),n.diagonalDown&&(a.diagonalDown=je(n.diagonalDown)),t.Borders.push(a);break;case"":case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":break;case"":case"":break;case"":case"":break;case"":o=!1;break;default:if(r&&r.WTF&&!o)throw new Error("unrecognized "+n[0]+" in borders")}}))}(c,l,0,s),(c=o.match(t))&&function(e,t,n){var r;t.CellXf=[];var a=!1;(e[0].match(we)||[]).forEach((function(e){var o=Oe(e),i=0;switch(Se(o[0])){case"":case"":case"":break;case"":for(delete(r=o)[0],i=0;i392)for(i=392;i>60;--i)if(t.NumberFmt[r.numFmtId]==t.NumberFmt[i]){r.numFmtId=i;break}t.CellXf.push(r);break;case"":break;case"":var s={};o.vertical&&(s.vertical=o.vertical),o.horizontal&&(s.horizontal=o.horizontal),null!=o.textRotation&&(s.textRotation=o.textRotation),o.indent&&(s.indent=o.indent),o.wrapText&&(s.wrapText=je(o.wrapText)),r.alignment=s;break;case"":case"":case"":break;case"":a=!1;break;case"":case"":break;case"":a=!1;break;default:if(n&&n.WTF&&!a)throw new Error("unrecognized "+o[0]+" in cellXfs")}}))}(c,l,s),l):l}}(),Do=Je("styleSheet",null,{xmlns:nt.main[0],"xmlns:vt":nt.vt});function Bo(e,t){var n,r=[ye,Do];return e.SSF&&null!=(n=function(e){var t=[""];return[[5,8],[23,26],[41,44],[50,392]].forEach((function(n){for(var r=n[0];r<=n[1];++r)null!=e[r]&&(t[t.length]=Je("numFmt",null,{numFmtId:r,formatCode:De(e[r])}))})),1===t.length?"":(t[t.length]="",t[0]=Je("numFmts",null,{count:t.length-2}).replace("/>",">"),t.join(""))}(e.SSF))&&(r[r.length]=n),r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',(n=function(e){var t=[];return t[t.length]=Je("cellXfs",null),e.forEach((function(e){t[t.length]=Je("xf",null,e)})),t[t.length]="",2===t.length?"":(t[0]=Je("cellXfs",null,{count:t.length-2}).replace("/>",">"),t.join(""))}(t.cellXfs))&&(r[r.length]=n),r[r.length]='',r[r.length]='',r[r.length]='',r.length>2&&(r[r.length]="",r[1]=r[1].replace("/>",">")),r.join("")}function No(e,t,n){n||(n=Ut(6+4*t.length)),n.write_shift(2,e),hn(t,n);var r=n.length>n.l?n.slice(0,n.l):n;return null==n.l&&(n.l=n.length),r}function Io(e,t){t||(t=Ut(153)),t.write_shift(2,20*e.sz),function(e,t){t||(t=Ut(2));var n=(e.italic?2:0)|(e.strike?8:0)|(e.outline?16:0)|(e.shadow?32:0)|(e.condense?64:0)|(e.extend?128:0);t.write_shift(1,n),t.write_shift(1,0)}(e,t),t.write_shift(2,e.bold?700:400);var n=0;"superscript"==e.vertAlign?n=1:"subscript"==e.vertAlign&&(n=2),t.write_shift(2,n),t.write_shift(1,e.underline||0),t.write_shift(1,e.family||0),t.write_shift(1,e.charset||0),t.write_shift(1,0),Rn(e.color,t);var r=0;return"major"==e.scheme&&(r=1),"minor"==e.scheme&&(r=2),t.write_shift(1,r),hn(e.name,t),t.length>t.l?t.slice(0,t.l):t}Jn.STY="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles";var Ro=H(["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"]),Mo=zt;function jo(e,t){t||(t=Ut(84));var n=Ro[e.patternType];null==n&&(n=40),t.write_shift(4,n);var r=0;if(40!=n)for(Rn({auto:1},t),Rn({auto:1},t);r<12;++r)t.write_shift(4,0);else{for(;r<4;++r)t.write_shift(4,0);for(;r<12;++r)t.write_shift(4,0)}return t.length>t.l?t.slice(0,t.l):t}function Lo(e,t,n){n||(n=Ut(16)),n.write_shift(2,t||0),n.write_shift(2,e.numFmtId||0),n.write_shift(2,0),n.write_shift(2,0),n.write_shift(2,0),n.write_shift(1,0),n.write_shift(1,0);return n.write_shift(1,0),n.write_shift(1,0),n.write_shift(1,0),n.write_shift(1,0),n}function Fo(e,t){return t||(t=Ut(10)),t.write_shift(1,0),t.write_shift(1,0),t.write_shift(4,0),t.write_shift(4,0),t}var zo=zt;function Uo(e){var t;Wt(e,"BrtBeginBorders",un(1)),Wt(e,"BrtBorder",(t||(t=Ut(51)),t.write_shift(1,0),Fo(0,t),Fo(0,t),Fo(0,t),Fo(0,t),Fo(0,t),t.length>t.l?t.slice(0,t.l):t)),Wt(e,"BrtEndBorders")}function Vo(e){var t,n;Wt(e,"BrtBeginStyles",un(1)),Wt(e,"BrtStyle",(t={xfId:0,builtinId:0,name:"Normal"},n||(n=Ut(52)),n.write_shift(4,t.xfId),n.write_shift(2,1),n.write_shift(1,+t.builtinId),n.write_shift(1,0),On(t.name||"",n),n.length>n.l?n.slice(0,n.l):n)),Wt(e,"BrtEndStyles")}function Ho(e){Wt(e,"BrtBeginTableStyles",function(e,t,n){var r=Ut(2052);return r.write_shift(4,e),On(t,r),On(n,r),r.length>r.l?r.slice(0,r.l):r}(0,"TableStyleMedium9","PivotStyleMedium4")),Wt(e,"BrtEndTableStyles")}function Wo(e,t){var n=Ht();return Wt(n,"BrtBeginStyleSheet"),function(e,t){if(t){var n=0;[[5,8],[23,26],[41,44],[50,392]].forEach((function(e){for(var r=e[0];r<=e[1];++r)null!=t[r]&&++n})),0!=n&&(Wt(e,"BrtBeginFmts",un(n)),[[5,8],[23,26],[41,44],[50,392]].forEach((function(n){for(var r=n[0];r<=n[1];++r)null!=t[r]&&Wt(e,"BrtFmt",No(r,t[r]))})),Wt(e,"BrtEndFmts"))}}(n,e.SSF),function(e){Wt(e,"BrtBeginFonts",un(1)),Wt(e,"BrtFont",Io({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"})),Wt(e,"BrtEndFonts")}(n),function(e){Wt(e,"BrtBeginFills",un(2)),Wt(e,"BrtFill",jo({patternType:"none"})),Wt(e,"BrtFill",jo({patternType:"gray125"})),Wt(e,"BrtEndFills")}(n),Uo(n),function(e){Wt(e,"BrtBeginCellStyleXFs",un(1)),Wt(e,"BrtXF",Lo({numFmtId:0,fontId:0,fillId:0,borderId:0},65535)),Wt(e,"BrtEndCellStyleXFs")}(n),function(e,t){Wt(e,"BrtBeginCellXFs",un(t.length)),t.forEach((function(t){Wt(e,"BrtXF",Lo(t,0))})),Wt(e,"BrtEndCellXFs")}(n,t.cellXfs),Vo(n),function(e){Wt(e,"BrtBeginDXFs",un(0)),Wt(e,"BrtEndDXFs")}(n),Ho(n),Wt(n,"BrtEndStyleSheet"),n.end()}Jn.THEME="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme";var Yo=["","","","","","","","","","","",""];function Ko(e,t,n){t.themeElements.clrScheme=[];var r={};(e[0].match(we)||[]).forEach((function(e){var a=Oe(e);switch(a[0]){case"":break;case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":"/"===a[0].charAt(1)?(t.themeElements.clrScheme[Yo.indexOf(a[0])]=r,r={}):r.name=a[0].slice(3,a[0].length-1);break;default:if(n&&n.WTF)throw new Error("Unrecognized "+a[0]+" in clrScheme")}}))}function Go(){}function Xo(){}var Zo=/]*)>[\s\S]*<\/a:clrScheme>/,$o=/]*)>[\s\S]*<\/a:fontScheme>/,qo=/]*)>[\s\S]*<\/a:fmtScheme>/,Jo=/]*)>[\s\S]*<\/a:themeElements>/;function Qo(e,t){if(!e||0===e.length)return Qo(ei());var n,r={};if(!(n=e.match(Jo)))throw new Error("themeElements not found in theme");return function(e,t,n){var r;t.themeElements={},[["clrScheme",Zo,Ko],["fontScheme",$o,Go],["fmtScheme",qo,Xo]].forEach((function(a){if(!(r=e.match(a[1])))throw new Error(a[0]+" not found in themeElements");a[2](r,t,n)}))}(n[0],r,t),r.raw=e,r}function ei(e,t){if(t&&t.themeXLSX)return t.themeXLSX;if(e&&"string"==typeof e.raw)return e.raw;var n=[ye];return n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]='',n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]='',n[n.length]="",n[n.length]="",n[n.length]="",n[n.length]="",n.join("")}function ti(e){var t={};switch(t.xclrType=e.read_shift(2),t.nTintShade=e.read_shift(2),t.xclrType){case 0:e.l+=4;break;case 1:t.xclrValue=function(e,t){return zt(e,t)}(e,4);break;case 2:t.xclrValue=ta(e);break;case 3:t.xclrValue=function(e){return e.read_shift(4)}(e);break;case 4:e.l+=4}return e.l+=8,t}function ni(e){var t=e.read_shift(2),n=e.read_shift(2)-4,r=[t];switch(t){case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 13:r[1]=ti(e);break;case 6:r[1]=function(e,t){return zt(e,t)}(e,n);break;case 14:case 15:r[1]=e.read_shift(1===n?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+t+" "+n)}return r}Jn.IMG="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",Jn.DRAW="http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing";var ri=1024;function ai(e,t){for(var n=[21600,21600],r=["m0,0l0",n[1],n[0],n[1],n[0],"0xe"].join(","),a=[Je("xml",null,{"xmlns:v":ct,"xmlns:o":rt,"xmlns:x":at,"xmlns:mv":st}).replace(/\/>/,">"),Je("o:shapelayout",Je("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"}),Je("v:shapetype",[Je("v:stroke",null,{joinstyle:"miter"}),Je("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:n.join(","),path:r})];ri<1e3*e;)ri+=1e3;return t.forEach((function(e){var t=Qt(e[0]),n={color2:"#BEFF82",type:"gradient"};"gradient"==n.type&&(n.angle="-180");var r="gradient"==n.type?Je("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null,o=Je("v:fill",r,n);++ri,a=a.concat(["",o,Je("v:shadow",null,{on:"t",obscured:"t"}),Je("v:path",null,{"o:connecttype":"none"}),'','',"","",$e("x:Anchor",[t.c+1,0,t.r+1,0,t.c+3,20,t.r+5,20].join(",")),$e("x:AutoFill","False"),$e("x:Row",String(t.r)),$e("x:Column",String(t.c)),e[1].hidden?"":"","",""])})),a.push(""),a.join("")}Jn.CMNT="http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments";var oi=Je("comments",null,{xmlns:nt.main[0]});function ii(e){var t=[ye,oi],n=[];return t.push(""),e.forEach((function(e){e[1].forEach((function(e){var r=De(e.a);n.indexOf(r)>-1||(n.push(r),t.push(""+r+""))}))})),t.push(""),t.push(""),e.forEach((function(e){e[1].forEach((function(r){t.push(''),t.push($e("t",null==r.t?"":De(r.t))),t.push("")}))})),t.push(""),t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}var si=fn;function ci(e){var t=Ht(),n=[];return Wt(t,"BrtBeginComments"),Wt(t,"BrtBeginCommentAuthors"),e.forEach((function(e){e[1].forEach((function(e){n.indexOf(e.a)>-1||(n.push(e.a.slice(0,54)),Wt(t,"BrtCommentAuthor",function(e){return hn(e.slice(0,54))}(e.a)))}))})),Wt(t,"BrtEndCommentAuthors"),Wt(t,"BrtBeginCommentList"),e.forEach((function(e){e[1].forEach((function(r){r.iauthor=n.indexOf(r.a);var a={s:Qt(e[0]),e:Qt(e[0])};Wt(t,"BrtBeginComment",function(e,t){return null==t&&(t=Ut(36)),t.write_shift(4,e[1].iauthor),Bn(e[0],t),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(4,0),t}([a,r])),r.t&&r.t.length>0&&Wt(t,"BrtCommentText",gn(r)),Wt(t,"BrtEndComment"),delete r.iauthor}))})),Wt(t,"BrtEndCommentList"),Wt(t,"BrtEndComments"),t.end()}var li=["xlsb","xlsm","xlam","biff8","xla"];Jn.DS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",Jn.MS="http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet";var ui=function(){var e=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,t={r:0,c:0};function n(e,n,r,a){var o=!1,i=!1;0==r.length?i=!0:"["==r.charAt(0)&&(i=!0,r=r.slice(1,-1)),0==a.length?o=!0:"["==a.charAt(0)&&(o=!0,a=a.slice(1,-1));var s=r.length>0?0|parseInt(r,10):0,c=a.length>0?0|parseInt(a,10):0;return o?c+=t.c:--c,i?s+=t.r:--s,n+(o?"":"$")+Jt(c)+(i?"":"$")+$t(s)}return function(r,a){return t=a,r.replace(e,n)}}(),fi=/(^|[^._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,hi=function(e,t){return e.replace(fi,(function(e,n,r,a,o,i){var s=qt(a)-(r?0:t.c),c=Zt(i)-(o?0:t.r);return n+"R"+(0==c?"":o?c+1:"["+c+"]")+"C"+(0==s?"":r?s+1:"["+s+"]")}))};function di(e,t){return e.replace(fi,(function(e,n,r,a,o,i){return n+("$"==r?r+a:Jt(qt(a)+t.c))+("$"==o?o+i:$t(Zt(i)+t.r))}))}function pi(e,t,n){var r=tn(t).s,a=Qt(n);return di(e,{r:a.r-r.r,c:a.c-r.c})}function mi(e){return e.replace(/_xlfn\./g,"")}function gi(e){e.l+=1}function vi(e,t){var n=e.read_shift(1==t?1:2);return[16383&n,n>>14&1,n>>15&1]}function bi(e,t,n){var r=2;if(n){if(n.biff>=2&&n.biff<=5)return yi(e);12==n.biff&&(r=4)}var a=e.read_shift(r),o=e.read_shift(r),i=vi(e,2),s=vi(e,2);return{s:{r:a,c:i[0],cRel:i[1],rRel:i[2]},e:{r:o,c:s[0],cRel:s[1],rRel:s[2]}}}function yi(e){var t=vi(e,2),n=vi(e,2),r=e.read_shift(1),a=e.read_shift(1);return{s:{r:t[0],c:r,cRel:t[1],rRel:t[2]},e:{r:n[0],c:a,cRel:n[1],rRel:n[2]}}}function _i(e,t,n){if(n&&n.biff>=2&&n.biff<=5)return function(e){var t=vi(e,2),n=e.read_shift(1);return{r:t[0],c:n,cRel:t[1],rRel:t[2]}}(e);var r=e.read_shift(n&&12==n.biff?4:2),a=vi(e,2);return{r:r,c:a[0],cRel:a[1],rRel:a[2]}}function wi(e){var t=e.read_shift(2),n=e.read_shift(2);return{r:t,c:255&n,fQuoted:!!(16384&n),cRel:n>>15,rRel:n>>15}}function Ei(e){return[e.read_shift(1),e.read_shift(1)]}function Ci(e,t){var n=[e.read_shift(1)];if(12==t)switch(n[0]){case 2:n[0]=4;break;case 4:n[0]=16;break;case 0:n[0]=1;break;case 1:n[0]=2}switch(n[0]){case 4:n[1]=Lr(e,1)?"TRUE":"FALSE",12!=t&&(e.l+=7);break;case 37:case 16:n[1]=Yn[e[e.l]],e.l+=12==t?4:8;break;case 0:e.l+=8;break;case 1:n[1]=Nn(e);break;case 2:n[1]=Zr(e,0,{biff:t>0&&t<8?2:t});break;default:throw new Error("Bad SerAr: "+n[0])}return n}function Oi(e,t,n){for(var r=e.read_shift(12==n.biff?4:2),a=[],o=0;o!=r;++o)a.push((12==n.biff?Dn:sa)(e,8));return a}function Si(e,t,n){var r=0,a=0;12==n.biff?(r=e.read_shift(4),a=e.read_shift(4)):(a=1+e.read_shift(1),r=1+e.read_shift(2)),n.biff>=2&&n.biff<8&&(--r,0==--a&&(a=256));for(var o=0,i=[];o!=r&&(i[o]=[]);++o)for(var s=0;s!=a;++s)i[o][s]=Ci(e,n.biff);return i}function xi(e,t,n){return e.l+=2,[wi(e)]}function ki(e){return e.l+=6,[]}var Ti=xi,Ai=ki,Pi=ki,Di=xi;function Bi(e){return e.l+=2,[zr(e),1&e.read_shift(2)]}var Ni=xi,Ii=Bi,Ri=ki,Mi=xi,ji=xi,Li=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"],Fi={1:{n:"PtgExp",f:function(e,t,n){return e.l++,n&&12==n.biff?[e.read_shift(4,"i"),0]:[e.read_shift(2),e.read_shift(n&&2==n.biff?1:2)]}},2:{n:"PtgTbl",f:zt},3:{n:"PtgAdd",f:gi},4:{n:"PtgSub",f:gi},5:{n:"PtgMul",f:gi},6:{n:"PtgDiv",f:gi},7:{n:"PtgPower",f:gi},8:{n:"PtgConcat",f:gi},9:{n:"PtgLt",f:gi},10:{n:"PtgLe",f:gi},11:{n:"PtgEq",f:gi},12:{n:"PtgGe",f:gi},13:{n:"PtgGt",f:gi},14:{n:"PtgNe",f:gi},15:{n:"PtgIsect",f:gi},16:{n:"PtgUnion",f:gi},17:{n:"PtgRange",f:gi},18:{n:"PtgUplus",f:gi},19:{n:"PtgUminus",f:gi},20:{n:"PtgPercent",f:gi},21:{n:"PtgParen",f:gi},22:{n:"PtgMissArg",f:gi},23:{n:"PtgStr",f:function(e,t,n){return e.l++,Wr(e,0,n)}},26:{n:"PtgSheet",f:function(e,t,n){return e.l+=5,e.l+=2,e.l+=2==n.biff?1:4,["PTGSHEET"]}},27:{n:"PtgEndSheet",f:function(e,t,n){return e.l+=2==n.biff?4:5,["PTGENDSHEET"]}},28:{n:"PtgErr",f:function(e){return e.l++,Yn[e.read_shift(1)]}},29:{n:"PtgBool",f:function(e){return e.l++,0!==e.read_shift(1)}},30:{n:"PtgInt",f:function(e){return e.l++,e.read_shift(2)}},31:{n:"PtgNum",f:function(e){return e.l++,Nn(e)}},32:{n:"PtgArray",f:function(e,t,n){var r=(96&e[e.l++])>>5;return e.l+=2==n.biff?6:12==n.biff?14:7,[r]}},33:{n:"PtgFunc",f:function(e,t,n){var r=(96&e[e.l])>>5;e.l+=1;var a=e.read_shift(n&&n.biff<=3?1:2);return[cs[a],ss[a],r]}},34:{n:"PtgFuncVar",f:function(e,t,n){var r=e[e.l++],a=e.read_shift(1),o=n&&n.biff<=3?[88==r?-1:0,e.read_shift(1)]:function(e){return[e[e.l+1]>>7,32767&e.read_shift(2)]}(e);return[a,(0===o[0]?ss:is)[o[1]]]}},35:{n:"PtgName",f:function(e,t,n){var r=e.read_shift(1)>>>5&3,a=!n||n.biff>=8?4:2,o=e.read_shift(a);switch(n.biff){case 2:e.l+=5;break;case 3:case 4:e.l+=8;break;case 5:e.l+=12}return[r,0,o]}},36:{n:"PtgRef",f:function(e,t,n){var r=(96&e[e.l])>>5;return e.l+=1,[r,_i(e,0,n)]}},37:{n:"PtgArea",f:function(e,t,n){return[(96&e[e.l++])>>5,bi(e,n.biff>=2&&n.biff,n)]}},38:{n:"PtgMemArea",f:function(e,t,n){var r=e.read_shift(1)>>>5&3;return e.l+=n&&2==n.biff?3:4,[r,e.read_shift(n&&2==n.biff?1:2)]}},39:{n:"PtgMemErr",f:zt},40:{n:"PtgMemNoMem",f:zt},41:{n:"PtgMemFunc",f:function(e,t,n){return[e.read_shift(1)>>>5&3,e.read_shift(n&&2==n.biff?1:2)]}},42:{n:"PtgRefErr",f:function(e,t,n){var r=e.read_shift(1)>>>5&3;return e.l+=4,n.biff<8&&e.l--,12==n.biff&&(e.l+=2),[r]}},43:{n:"PtgAreaErr",f:function(e,t,n){var r=(96&e[e.l++])>>5;return e.l+=n&&n.biff>8?12:n.biff<8?6:8,[r]}},44:{n:"PtgRefN",f:function(e,t,n){var r=(96&e[e.l])>>5;return e.l+=1,[r,function(e,t,n){var r=n&&n.biff?n.biff:8;if(r>=2&&r<=5)return function(e){var t=e.read_shift(2),n=e.read_shift(1),r=(32768&t)>>15,a=(16384&t)>>14;t&=16383,1==r&&t>=8192&&(t-=16384);1==a&&n>=128&&(n-=256);return{r:t,c:n,cRel:a,rRel:r}}(e);var a=e.read_shift(r>=12?4:2),o=e.read_shift(2),i=(16384&o)>>14,s=(32768&o)>>15;if(o&=16383,1==s)for(;a>524287;)a-=1048576;if(1==i)for(;o>8191;)o-=16384;return{r:a,c:o,cRel:i,rRel:s}}(e,0,n)]}},45:{n:"PtgAreaN",f:function(e,t,n){return[(96&e[e.l++])>>5,function(e,t,n){if(n.biff<8)return yi(e);var r=e.read_shift(12==n.biff?4:2),a=e.read_shift(12==n.biff?4:2),o=vi(e,2),i=vi(e,2);return{s:{r:r,c:o[0],cRel:o[1],rRel:o[2]},e:{r:a,c:i[0],cRel:i[1],rRel:i[2]}}}(e,0,n)]}},46:{n:"PtgMemAreaN",f:function(e){return[e.read_shift(1)>>>5&3,e.read_shift(2)]}},47:{n:"PtgMemNoMemN",f:function(e){return[e.read_shift(1)>>>5&3,e.read_shift(2)]}},57:{n:"PtgNameX",f:function(e,t,n){return 5==n.biff?function(e){var t=e.read_shift(1)>>>5&3,n=e.read_shift(2,"i");e.l+=8;var r=e.read_shift(2);return e.l+=12,[t,n,r]}(e):[e.read_shift(1)>>>5&3,e.read_shift(2),e.read_shift(4)]}},58:{n:"PtgRef3d",f:function(e,t,n){var r=(96&e[e.l])>>5;e.l+=1;var a=e.read_shift(2);return n&&5==n.biff&&(e.l+=12),[r,a,_i(e,0,n)]}},59:{n:"PtgArea3d",f:function(e,t,n){var r=(96&e[e.l++])>>5,a=e.read_shift(2,"i");if(n)switch(n.biff){case 5:e.l+=12,6;break;case 12:12}return[r,a,bi(e,0,n)]}},60:{n:"PtgRefErr3d",f:function(e,t,n){var r=(96&e[e.l++])>>5,a=e.read_shift(2),o=4;if(n)switch(n.biff){case 5:o=15;break;case 12:o=6}return e.l+=o,[r,a]}},61:{n:"PtgAreaErr3d",f:function(e,t,n){var r=(96&e[e.l++])>>5,a=e.read_shift(2),o=8;if(n)switch(n.biff){case 5:e.l+=12,o=6;break;case 12:o=12}return e.l+=o,[r,a]}},255:{}},zi={64:32,96:32,65:33,97:33,66:34,98:34,67:35,99:35,68:36,100:36,69:37,101:37,70:38,102:38,71:39,103:39,72:40,104:40,73:41,105:41,74:42,106:42,75:43,107:43,76:44,108:44,77:45,109:45,78:46,110:46,79:47,111:47,88:34,120:34,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61};!function(){for(var e in zi)Fi[e]=Fi[zi[e]]}();var Ui={1:{n:"PtgElfLel",f:Bi},2:{n:"PtgElfRw",f:Mi},3:{n:"PtgElfCol",f:Ti},6:{n:"PtgElfRwV",f:ji},7:{n:"PtgElfColV",f:Di},10:{n:"PtgElfRadical",f:Ni},11:{n:"PtgElfRadicalS",f:Ri},13:{n:"PtgElfColS",f:Ai},15:{n:"PtgElfColSV",f:Pi},16:{n:"PtgElfRadicalLel",f:Ii},25:{n:"PtgList",f:function(e){e.l+=2;var t=e.read_shift(2),n=e.read_shift(2),r=e.read_shift(4),a=e.read_shift(2),o=e.read_shift(2);return{ixti:t,coltype:3&n,rt:Li[n>>2&31],idx:r,c:a,C:o}}},29:{n:"PtgSxName",f:function(e){return e.l+=2,[e.read_shift(4)]}},255:{}},Vi={0:{n:"PtgAttrNoop",f:function(e){return e.l+=4,[0,0]}},1:{n:"PtgAttrSemi",f:function(e,t,n){var r=255&e[e.l+1]?1:0;return e.l+=n&&2==n.biff?3:4,[r]}},2:{n:"PtgAttrIf",f:function(e,t,n){var r=255&e[e.l+1]?1:0;return e.l+=2,[r,e.read_shift(n&&2==n.biff?1:2)]}},4:{n:"PtgAttrChoose",f:function(e,t,n){e.l+=2;for(var r=e.read_shift(n&&2==n.biff?1:2),a=[],o=0;o<=r;++o)a.push(e.read_shift(n&&2==n.biff?1:2));return a}},8:{n:"PtgAttrGoto",f:function(e,t,n){var r=255&e[e.l+1]?1:0;return e.l+=2,[r,e.read_shift(n&&2==n.biff?1:2)]}},16:{n:"PtgAttrSum",f:function(e,t,n){e.l+=n&&2==n.biff?3:4}},32:{n:"PtgAttrBaxcel",f:function(e){var t=1&e[e.l+1];return e.l+=4,[t,1]}},64:{n:"PtgAttrSpace",f:function(e){return e.read_shift(2),Ei(e)}},65:{n:"PtgAttrSpaceSemi",f:function(e){return e.read_shift(2),Ei(e)}},128:{n:"PtgAttrIfError",f:function(e){var t=255&e[e.l+1]?1:0;return e.l+=2,[t,e.read_shift(2)]}},255:{}};function Hi(e,t,n,r){if(r.biff<8)return zt(e,t);for(var a=e.l+t,o=[],i=0;i!==n.length;++i)switch(n[i][0]){case"PtgArray":n[i][1]=Si(e,0,r),o.push(n[i][1]);break;case"PtgMemArea":n[i][2]=Oi(e,n[i][1],r),o.push(n[i][2]);break;case"PtgExp":r&&12==r.biff&&(n[i][1][1]=e.read_shift(4),o.push(n[i][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+n[i][0]}return 0!==(t=a-e.l)&&o.push(zt(e,t)),o}function Wi(e,t,n){for(var r,a,o=e.l+t,i=[];o!=e.l;)t=o-e.l,a=e[e.l],r=Fi[a],24!==a&&25!==a||(r=(24===a?Ui:Vi)[e[e.l+1]]),r&&r.f?i.push([r.n,r.f(e,t,n)]):zt(e,t);return i}function Yi(e){for(var t=[],n=0;n=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"},Gi=new RegExp(/[^\w\u4E00-\u9FFF\u3040-\u30FF]/);function Xi(e,t,n){if(!e)return"SH33TJSERR0";if(n.biff>8&&(!e.XTI||!e.XTI[t]))return e.SheetNames[t];if(!e.XTI)return"SH33TJSERR6";var r=e.XTI[t];if(n.biff<8)return t>1e4&&(t-=65536),t<0&&(t=-t),0==t?"":e.XTI[t-1];if(!r)return"SH33TJSERR1";var a="";if(n.biff>8)switch(e[r[0]][0]){case 357:return a=-1==r[1]?"#REF":e.SheetNames[r[1]],r[1]==r[2]?a:a+":"+e.SheetNames[r[2]];case 358:return null!=n.SID?e.SheetNames[n.SID]:"SH33TJSSAME"+e[r[0]][0];case 355:default:return"SH33TJSSRC"+e[r[0]][0]}switch(e[r[0]][0][0]){case 1025:return a=-1==r[1]?"#REF":e.SheetNames[r[1]]||"SH33TJSERR3",r[1]==r[2]?a:a+":"+e.SheetNames[r[2]];case 14849:return e[r[0]].slice(1).map((function(e){return e.Name})).join(";;");default:return e[r[0]][0][3]?(a=-1==r[1]?"#REF":e[r[0]][0][3][r[1]]||"SH33TJSERR4",r[1]==r[2]?a:a+":"+e[r[0]][0][3][r[2]]):"SH33TJSERR2"}}function Zi(e,t,n){var r=Xi(e,t,n);return"#REF"==r?r:function(e,t){if(!e&&!(t&&t.biff<=5&&t.biff>=2))throw new Error("empty sheet name");return Gi.test(e)?"'"+e+"'":e}(r,n)}function $i(e,t,n,r,a){var o,i,s,c,l=a&&a.biff||8,u={s:{c:0,r:0},e:{c:0,r:0}},f=[],h=0,d=0,p="";if(!e[0]||!e[0][0])return"";for(var m=-1,g="",v=0,b=e[0].length;v=0){switch(e[0][m][1][0]){case 0:g=ae(" ",e[0][m][1][1]);break;case 1:g=ae("\r",e[0][m][1][1]);break;default:if(g="",a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][m][1][0])}i+=g,m=-1}f.push(i+Ki[y[0]]+o);break;case"PtgIsect":o=f.pop(),i=f.pop(),f.push(i+" "+o);break;case"PtgUnion":o=f.pop(),i=f.pop(),f.push(i+","+o);break;case"PtgRange":o=f.pop(),i=f.pop(),f.push(i+":"+o);break;case"PtgAttrChoose":case"PtgAttrGoto":case"PtgAttrIf":case"PtgAttrIfError":break;case"PtgRef":s=Yt(y[1][1],u,a),f.push(Gt(s,l));break;case"PtgRefN":s=n?Yt(y[1][1],n,a):y[1][1],f.push(Gt(s,l));break;case"PtgRef3d":h=y[1][1],s=Yt(y[1][2],u,a);p=Zi(r,h,a);f.push(p+"!"+Gt(s,l));break;case"PtgFunc":case"PtgFuncVar":var _=y[1][0],w=y[1][1];_||(_=0);var E=0==(_&=127)?[]:f.slice(-_);f.length-=_,"User"===w&&(w=E.shift()),f.push(w+"("+E.join(",")+")");break;case"PtgBool":f.push(y[1]?"TRUE":"FALSE");break;case"PtgInt":f.push(y[1]);break;case"PtgNum":f.push(String(y[1]));break;case"PtgStr":f.push('"'+y[1].replace(/"/g,'""')+'"');break;case"PtgErr":f.push(y[1]);break;case"PtgAreaN":c=Kt(y[1][1],n?{s:n}:u,a),f.push(Xt(c,a));break;case"PtgArea":c=Kt(y[1][1],u,a),f.push(Xt(c,a));break;case"PtgArea3d":h=y[1][1],c=y[1][2],p=Zi(r,h,a),f.push(p+"!"+Xt(c,a));break;case"PtgAttrSum":f.push("SUM("+f.pop()+")");break;case"PtgAttrBaxcel":case"PtgAttrSemi":break;case"PtgName":d=y[1][2];var C=(r.names||[])[d-1]||(r[0]||[])[d],O=C?C.Name:"SH33TJSNAME"+String(d);O in ls&&(O=ls[O]),f.push(O);break;case"PtgNameX":var S,x=y[1][1];if(d=y[1][2],!(a.biff<=5)){var k="";if(14849==((r[x]||[])[0]||[])[0]||(1025==((r[x]||[])[0]||[])[0]?r[x][d]&&r[x][d].itab>0&&(k=r.SheetNames[r[x][d].itab-1]+"!"):k=r.SheetNames[d-1]+"!"),r[x]&&r[x][d])k+=r[x][d].Name;else if(r[0]&&r[0][d])k+=r[0][d].Name;else{var T=(Xi(r,x,a)||"").split(";;");T[d-1]?k=T[d-1]:k+="SH33TJSERRX"}f.push(k);break}x<0&&(x=-x),r[x]&&(S=r[x][d]),S||(S={Name:"SH33TJSERRY"}),f.push(S.Name);break;case"PtgParen":var A="(",P=")";if(m>=0){switch(g="",e[0][m][1][0]){case 2:A=ae(" ",e[0][m][1][1])+A;break;case 3:A=ae("\r",e[0][m][1][1])+A;break;case 4:P=ae(" ",e[0][m][1][1])+P;break;case 5:P=ae("\r",e[0][m][1][1])+P;break;default:if(a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][m][1][0])}m=-1}f.push(A+f.pop()+P);break;case"PtgRefErr":case"PtgRefErr3d":f.push("#REF!");break;case"PtgExp":s={c:y[1][1],r:y[1][0]};var D={c:n.c,r:n.r};if(r.sharedf[en(s)]){var B=r.sharedf[en(s)];f.push($i(B,u,D,r,a))}else{var N=!1;for(o=0;o!=r.arrayf.length;++o)if(i=r.arrayf[o],!(s.ci[0].e.c)&&!(s.ri[0].e.r)){f.push($i(i[1],u,D,r,a)),N=!0;break}N||f.push(y[1])}break;case"PtgArray":f.push("{"+Yi(y[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":m=v;break;case"PtgTbl":case"PtgMemErr":break;case"PtgMissArg":f.push("");break;case"PtgAreaErr":case"PtgAreaErr3d":f.push("#REF!");break;case"PtgList":f.push("Table"+y[1].idx+"[#"+y[1].rt+"]");break;case"PtgMemAreaN":case"PtgMemNoMemN":case"PtgAttrNoop":case"PtgSheet":case"PtgEndSheet":case"PtgMemFunc":case"PtgMemNoMem":break;case"PtgElfCol":case"PtgElfColS":case"PtgElfColSV":case"PtgElfColV":case"PtgElfLel":case"PtgElfRadical":case"PtgElfRadicalLel":case"PtgElfRadicalS":case"PtgElfRw":case"PtgElfRwV":throw new Error("Unsupported ELFs");case"PtgSxName":default:throw new Error("Unrecognized Formula Token: "+String(y))}if(3!=a.biff&&m>=0&&-1==["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"].indexOf(e[0][v][0])){var I=!0;switch((y=e[0][m])[1][0]){case 4:I=!1;case 0:g=ae(" ",y[1][1]);break;case 5:I=!1;case 1:g=ae("\r",y[1][1]);break;default:if(g="",a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+y[1][0])}f.push((I?g:"")+f.pop()+(I?"":g)),m=-1}}if(f.length>1&&a.WTF)throw new Error("bad formula stack");return f[0]}function qi(e,t,n){var r,a=e.l+t,o=2==n.biff?1:2,i=e.read_shift(o);if(65535==i)return[[],zt(e,t-2)];var s=Wi(e,i,n);return t!==i+o&&(r=Hi(e,t-i-o,s,n)),e.l=a,[s,r]}function Ji(e,t,n){var r,a=e.l+t,o=e.read_shift(2),i=Wi(e,o,n);return 65535==o?[[],zt(e,t-2)]:(t!==o+2&&(r=Hi(e,a-o-2,i,n)),[i,r])}function Qi(e,t,n){var r=e.l+t,a=ra(e);2==n.biff&&++e.l;var o=function(e){var t;if(65535!==Pt(e,e.l+6))return[Nn(e),"n"];switch(e[e.l]){case 0:return e.l+=8,["String","s"];case 1:return t=1===e[e.l+2],e.l+=8,[t,"b"];case 2:return t=e[e.l+2],e.l+=8,[t,"e"];case 3:return e.l+=8,["","s"]}return[]}(e),i=e.read_shift(1);2!=n.biff&&(e.read_shift(1),n.biff>=5&&e.read_shift(4));var s=function(e,t,n){var r,a=e.l+t,o=2==n.biff?1:2,i=e.read_shift(o);if(65535==i)return[[],zt(e,t-2)];var s=Wi(e,i,n);return t!==i+o&&(r=Hi(e,t-i-o,s,n)),e.l=a,[s,r]}(e,r-e.l,n);return{cell:a,val:o[0],formula:s,shared:i>>3&1,tt:o[1]}}function es(e,t,n,r,a){var o=aa(t,n,a),i=function(e){if(null==e){var t=Ut(8);return t.write_shift(1,3),t.write_shift(1,0),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(2,65535),t}return In("number"==typeof e?e:0)}(e.v),s=Ut(6);s.write_shift(2,33),s.write_shift(4,0);for(var c=Ut(e.bf.length),l=0;l0?Hi(e,o,a,n):null]}var ns=ts,rs=ts,as=ts,os=ts,is={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",135:"FREEZE.PANES",136:"SHOW.INFO",137:"SPLIT",138:"ON.WINDOW",139:"ON.DATA",140:"DISABLE.INPUT",142:"OUTLINE",143:"LIST.NAMES",144:"FILE.CLOSE",145:"SAVE.WORKBOOK",146:"DATA.FORM",147:"COPY.CHART",148:"ON.TIME",149:"WAIT",150:"FORMAT.FONT",151:"FILL.UP",152:"FILL.LEFT",153:"DELETE.OVERLAY",155:"SHORT.MENUS",159:"SET.UPDATE.STATUS",161:"COLOR.PALETTE",162:"DELETE.STYLE",163:"WINDOW.RESTORE",164:"WINDOW.MAXIMIZE",166:"CHANGE.LINK",167:"CALCULATE.DOCUMENT",168:"ON.KEY",169:"APP.RESTORE",170:"APP.MOVE",171:"APP.SIZE",172:"APP.MINIMIZE",173:"APP.MAXIMIZE",174:"BRING.TO.FRONT",175:"SEND.TO.BACK",185:"MAIN.CHART.TYPE",186:"OVERLAY.CHART.TYPE",187:"SELECT.END",188:"OPEN.MAIL",189:"SEND.MAIL",190:"STANDARD.FONT",191:"CONSOLIDATE",192:"SORT.SPECIAL",193:"GALLERY.3D.AREA",194:"GALLERY.3D.COLUMN",195:"GALLERY.3D.LINE",196:"GALLERY.3D.PIE",197:"VIEW.3D",198:"GOAL.SEEK",199:"WORKGROUP",200:"FILL.GROUP",201:"UPDATE.LINK",202:"PROMOTE",203:"DEMOTE",204:"SHOW.DETAIL",206:"UNGROUP",207:"OBJECT.PROPERTIES",208:"SAVE.NEW.OBJECT",209:"SHARE",210:"SHARE.NAME",211:"DUPLICATE",212:"APPLY.STYLE",213:"ASSIGN.TO.OBJECT",214:"OBJECT.PROTECTION",215:"HIDE.OBJECT",216:"SET.EXTRACT",217:"CREATE.PUBLISHER",218:"SUBSCRIBE.TO",219:"ATTRIBUTES",220:"SHOW.TOOLBAR",222:"PRINT.PREVIEW",223:"EDIT.COLOR",224:"SHOW.LEVELS",225:"FORMAT.MAIN",226:"FORMAT.OVERLAY",227:"ON.RECALC",228:"EDIT.SERIES",229:"DEFINE.STYLE",240:"LINE.PRINT",243:"ENTER.DATA",249:"GALLERY.RADAR",250:"MERGE.STYLES",251:"EDITION.OPTIONS",252:"PASTE.PICTURE",253:"PASTE.PICTURE.LINK",254:"SPELLING",256:"ZOOM",259:"INSERT.OBJECT",260:"WINDOW.MINIMIZE",265:"SOUND.NOTE",266:"SOUND.PLAY",267:"FORMAT.SHAPE",268:"EXTEND.POLYGON",269:"FORMAT.AUTO",272:"GALLERY.3D.BAR",273:"GALLERY.3D.SURFACE",274:"FILL.AUTO",276:"CUSTOMIZE.TOOLBAR",277:"ADD.TOOL",278:"EDIT.OBJECT",279:"ON.DOUBLECLICK",280:"ON.ENTRY",281:"WORKBOOK.ADD",282:"WORKBOOK.MOVE",283:"WORKBOOK.COPY",284:"WORKBOOK.OPTIONS",285:"SAVE.WORKSPACE",288:"CHART.WIZARD",289:"DELETE.TOOL",290:"MOVE.TOOL",291:"WORKBOOK.SELECT",292:"WORKBOOK.ACTIVATE",293:"ASSIGN.TO.TOOL",295:"COPY.TOOL",296:"RESET.TOOL",297:"CONSTRAIN.NUMERIC",298:"PASTE.TOOL",302:"WORKBOOK.NEW",305:"SCENARIO.CELLS",306:"SCENARIO.DELETE",307:"SCENARIO.ADD",308:"SCENARIO.EDIT",309:"SCENARIO.SHOW",310:"SCENARIO.SHOW.NEXT",311:"SCENARIO.SUMMARY",312:"PIVOT.TABLE.WIZARD",313:"PIVOT.FIELD.PROPERTIES",314:"PIVOT.FIELD",315:"PIVOT.ITEM",316:"PIVOT.ADD.FIELDS",318:"OPTIONS.CALCULATION",319:"OPTIONS.EDIT",320:"OPTIONS.VIEW",321:"ADDIN.MANAGER",322:"MENU.EDITOR",323:"ATTACH.TOOLBARS",324:"VBAActivate",325:"OPTIONS.CHART",328:"VBA.INSERT.FILE",330:"VBA.PROCEDURE.DEFINITION",336:"ROUTING.SLIP",338:"ROUTE.DOCUMENT",339:"MAIL.LOGON",342:"INSERT.PICTURE",343:"EDIT.TOOL",344:"GALLERY.DOUGHNUT",350:"CHART.TREND",352:"PIVOT.ITEM.PROPERTIES",354:"WORKBOOK.INSERT",355:"OPTIONS.TRANSITION",356:"OPTIONS.GENERAL",370:"FILTER.ADVANCED",373:"MAIL.ADD.MAILER",374:"MAIL.DELETE.MAILER",375:"MAIL.REPLY",376:"MAIL.REPLY.ALL",377:"MAIL.FORWARD",378:"MAIL.NEXT.LETTER",379:"DATA.LABEL",380:"INSERT.TITLE",381:"FONT.PROPERTIES",382:"MACRO.OPTIONS",383:"WORKBOOK.HIDE",384:"WORKBOOK.UNHIDE",385:"WORKBOOK.DELETE",386:"WORKBOOK.NAME",388:"GALLERY.CUSTOM",390:"ADD.CHART.AUTOFORMAT",391:"DELETE.CHART.AUTOFORMAT",392:"CHART.ADD.DATA",393:"AUTO.OUTLINE",394:"TAB.ORDER",395:"SHOW.DIALOG",396:"SELECT.ALL",397:"UNGROUP.SHEETS",398:"SUBTOTAL.CREATE",399:"SUBTOTAL.REMOVE",400:"RENAME.OBJECT",412:"WORKBOOK.SCROLL",413:"WORKBOOK.NEXT",414:"WORKBOOK.PREV",415:"WORKBOOK.TAB.SPLIT",416:"FULL.SCREEN",417:"WORKBOOK.PROTECT",420:"SCROLLBAR.PROPERTIES",421:"PIVOT.SHOW.PAGES",422:"TEXT.TO.COLUMNS",423:"FORMAT.CHARTTYPE",424:"LINK.FORMAT",425:"TRACER.DISPLAY",430:"TRACER.NAVIGATE",431:"TRACER.CLEAR",432:"TRACER.ERROR",433:"PIVOT.FIELD.GROUP",434:"PIVOT.FIELD.UNGROUP",435:"CHECKBOX.PROPERTIES",436:"LABEL.PROPERTIES",437:"LISTBOX.PROPERTIES",438:"EDITBOX.PROPERTIES",439:"PIVOT.REFRESH",440:"LINK.COMBO",441:"OPEN.TEXT",442:"HIDE.DIALOG",443:"SET.DIALOG.FOCUS",444:"ENABLE.OBJECT",445:"PUSHBUTTON.PROPERTIES",446:"SET.DIALOG.DEFAULT",447:"FILTER",448:"FILTER.SHOW.ALL",449:"CLEAR.OUTLINE",450:"FUNCTION.WIZARD",451:"ADD.LIST.ITEM",452:"SET.LIST.ITEM",453:"REMOVE.LIST.ITEM",454:"SELECT.LIST.ITEM",455:"SET.CONTROL.VALUE",456:"SAVE.COPY.AS",458:"OPTIONS.LISTS.ADD",459:"OPTIONS.LISTS.DELETE",460:"SERIES.AXES",461:"SERIES.X",462:"SERIES.Y",463:"ERRORBAR.X",464:"ERRORBAR.Y",465:"FORMAT.CHART",466:"SERIES.ORDER",467:"MAIL.LOGOFF",468:"CLEAR.ROUTING.SLIP",469:"APP.ACTIVATE.MICROSOFT",470:"MAIL.EDIT.MAILER",471:"ON.SHEET",472:"STANDARD.WIDTH",473:"SCENARIO.MERGE",474:"SUMMARY.INFO",475:"FIND.FILE",476:"ACTIVE.CELL.FONT",477:"ENABLE.TIPWIZARD",478:"VBA.MAKE.ADDIN",480:"INSERTDATATABLE",481:"WORKGROUP.OPTIONS",482:"MAIL.SEND.MAILER",485:"AUTOCORRECT",489:"POST.DOCUMENT",491:"PICKLIST",493:"VIEW.SHOW",494:"VIEW.DEFINE",495:"VIEW.DELETE",509:"SHEET.BACKGROUND",510:"INSERT.MAP.OBJECT",511:"OPTIONS.MENONO",517:"MSOCHECKS",518:"NORMAL",519:"LAYOUT",520:"RM.PRINT.AREA",521:"CLEAR.PRINT.AREA",522:"ADD.PRINT.AREA",523:"MOVE.BRK",545:"HIDECURR.NOTE",546:"HIDEALL.NOTES",547:"DELETE.NOTE",548:"TRAVERSE.NOTES",549:"ACTIVATE.NOTES",620:"PROTECT.REVISIONS",621:"UNPROTECT.REVISIONS",647:"OPTIONS.ME",653:"WEB.PUBLISH",667:"NEWWEBQUERY",673:"PIVOT.TABLE.CHART",753:"OPTIONS.SAVE",755:"OPTIONS.SPELL",808:"HIDEALL.INKANNOTS"},ss={0:"COUNT",1:"IF",2:"ISNA",3:"ISERROR",4:"SUM",5:"AVERAGE",6:"MIN",7:"MAX",8:"ROW",9:"COLUMN",10:"NA",11:"NPV",12:"STDEV",13:"DOLLAR",14:"FIXED",15:"SIN",16:"COS",17:"TAN",18:"ATAN",19:"PI",20:"SQRT",21:"EXP",22:"LN",23:"LOG10",24:"ABS",25:"INT",26:"SIGN",27:"ROUND",28:"LOOKUP",29:"INDEX",30:"REPT",31:"MID",32:"LEN",33:"VALUE",34:"TRUE",35:"FALSE",36:"AND",37:"OR",38:"NOT",39:"MOD",40:"DCOUNT",41:"DSUM",42:"DAVERAGE",43:"DMIN",44:"DMAX",45:"DSTDEV",46:"VAR",47:"DVAR",48:"TEXT",49:"LINEST",50:"TREND",51:"LOGEST",52:"GROWTH",53:"GOTO",54:"HALT",55:"RETURN",56:"PV",57:"FV",58:"NPER",59:"PMT",60:"RATE",61:"MIRR",62:"IRR",63:"RAND",64:"MATCH",65:"DATE",66:"TIME",67:"DAY",68:"MONTH",69:"YEAR",70:"WEEKDAY",71:"HOUR",72:"MINUTE",73:"SECOND",74:"NOW",75:"AREAS",76:"ROWS",77:"COLUMNS",78:"OFFSET",79:"ABSREF",80:"RELREF",81:"ARGUMENT",82:"SEARCH",83:"TRANSPOSE",84:"ERROR",85:"STEP",86:"TYPE",87:"ECHO",88:"SET.NAME",89:"CALLER",90:"DEREF",91:"WINDOWS",92:"SERIES",93:"DOCUMENTS",94:"ACTIVE.CELL",95:"SELECTION",96:"RESULT",97:"ATAN2",98:"ASIN",99:"ACOS",100:"CHOOSE",101:"HLOOKUP",102:"VLOOKUP",103:"LINKS",104:"INPUT",105:"ISREF",106:"GET.FORMULA",107:"GET.NAME",108:"SET.VALUE",109:"LOG",110:"EXEC",111:"CHAR",112:"LOWER",113:"UPPER",114:"PROPER",115:"LEFT",116:"RIGHT",117:"EXACT",118:"TRIM",119:"REPLACE",120:"SUBSTITUTE",121:"CODE",122:"NAMES",123:"DIRECTORY",124:"FIND",125:"CELL",126:"ISERR",127:"ISTEXT",128:"ISNUMBER",129:"ISBLANK",130:"T",131:"N",132:"FOPEN",133:"FCLOSE",134:"FSIZE",135:"FREADLN",136:"FREAD",137:"FWRITELN",138:"FWRITE",139:"FPOS",140:"DATEVALUE",141:"TIMEVALUE",142:"SLN",143:"SYD",144:"DDB",145:"GET.DEF",146:"REFTEXT",147:"TEXTREF",148:"INDIRECT",149:"REGISTER",150:"CALL",151:"ADD.BAR",152:"ADD.MENU",153:"ADD.COMMAND",154:"ENABLE.COMMAND",155:"CHECK.COMMAND",156:"RENAME.COMMAND",157:"SHOW.BAR",158:"DELETE.MENU",159:"DELETE.COMMAND",160:"GET.CHART.ITEM",161:"DIALOG.BOX",162:"CLEAN",163:"MDETERM",164:"MINVERSE",165:"MMULT",166:"FILES",167:"IPMT",168:"PPMT",169:"COUNTA",170:"CANCEL.KEY",171:"FOR",172:"WHILE",173:"BREAK",174:"NEXT",175:"INITIATE",176:"REQUEST",177:"POKE",178:"EXECUTE",179:"TERMINATE",180:"RESTART",181:"HELP",182:"GET.BAR",183:"PRODUCT",184:"FACT",185:"GET.CELL",186:"GET.WORKSPACE",187:"GET.WINDOW",188:"GET.DOCUMENT",189:"DPRODUCT",190:"ISNONTEXT",191:"GET.NOTE",192:"NOTE",193:"STDEVP",194:"VARP",195:"DSTDEVP",196:"DVARP",197:"TRUNC",198:"ISLOGICAL",199:"DCOUNTA",200:"DELETE.BAR",201:"UNREGISTER",204:"USDOLLAR",205:"FINDB",206:"SEARCHB",207:"REPLACEB",208:"LEFTB",209:"RIGHTB",210:"MIDB",211:"LENB",212:"ROUNDUP",213:"ROUNDDOWN",214:"ASC",215:"DBCS",216:"RANK",219:"ADDRESS",220:"DAYS360",221:"TODAY",222:"VDB",223:"ELSE",224:"ELSE.IF",225:"END.IF",226:"FOR.CELL",227:"MEDIAN",228:"SUMPRODUCT",229:"SINH",230:"COSH",231:"TANH",232:"ASINH",233:"ACOSH",234:"ATANH",235:"DGET",236:"CREATE.OBJECT",237:"VOLATILE",238:"LAST.ERROR",239:"CUSTOM.UNDO",240:"CUSTOM.REPEAT",241:"FORMULA.CONVERT",242:"GET.LINK.INFO",243:"TEXT.BOX",244:"INFO",245:"GROUP",246:"GET.OBJECT",247:"DB",248:"PAUSE",251:"RESUME",252:"FREQUENCY",253:"ADD.TOOLBAR",254:"DELETE.TOOLBAR",255:"User",256:"RESET.TOOLBAR",257:"EVALUATE",258:"GET.TOOLBAR",259:"GET.TOOL",260:"SPELLING.CHECK",261:"ERROR.TYPE",262:"APP.TITLE",263:"WINDOW.TITLE",264:"SAVE.TOOLBAR",265:"ENABLE.TOOL",266:"PRESS.TOOL",267:"REGISTER.ID",268:"GET.WORKBOOK",269:"AVEDEV",270:"BETADIST",271:"GAMMALN",272:"BETAINV",273:"BINOMDIST",274:"CHIDIST",275:"CHIINV",276:"COMBIN",277:"CONFIDENCE",278:"CRITBINOM",279:"EVEN",280:"EXPONDIST",281:"FDIST",282:"FINV",283:"FISHER",284:"FISHERINV",285:"FLOOR",286:"GAMMADIST",287:"GAMMAINV",288:"CEILING",289:"HYPGEOMDIST",290:"LOGNORMDIST",291:"LOGINV",292:"NEGBINOMDIST",293:"NORMDIST",294:"NORMSDIST",295:"NORMINV",296:"NORMSINV",297:"STANDARDIZE",298:"ODD",299:"PERMUT",300:"POISSON",301:"TDIST",302:"WEIBULL",303:"SUMXMY2",304:"SUMX2MY2",305:"SUMX2PY2",306:"CHITEST",307:"CORREL",308:"COVAR",309:"FORECAST",310:"FTEST",311:"INTERCEPT",312:"PEARSON",313:"RSQ",314:"STEYX",315:"SLOPE",316:"TTEST",317:"PROB",318:"DEVSQ",319:"GEOMEAN",320:"HARMEAN",321:"SUMSQ",322:"KURT",323:"SKEW",324:"ZTEST",325:"LARGE",326:"SMALL",327:"QUARTILE",328:"PERCENTILE",329:"PERCENTRANK",330:"MODE",331:"TRIMMEAN",332:"TINV",334:"MOVIE.COMMAND",335:"GET.MOVIE",336:"CONCATENATE",337:"POWER",338:"PIVOT.ADD.DATA",339:"GET.PIVOT.TABLE",340:"GET.PIVOT.FIELD",341:"GET.PIVOT.ITEM",342:"RADIANS",343:"DEGREES",344:"SUBTOTAL",345:"SUMIF",346:"COUNTIF",347:"COUNTBLANK",348:"SCENARIO.GET",349:"OPTIONS.LISTS.GET",350:"ISPMT",351:"DATEDIF",352:"DATESTRING",353:"NUMBERSTRING",354:"ROMAN",355:"OPEN.DIALOG",356:"SAVE.DIALOG",357:"VIEW.GET",358:"GETPIVOTDATA",359:"HYPERLINK",360:"PHONETIC",361:"AVERAGEA",362:"MAXA",363:"MINA",364:"STDEVPA",365:"VARPA",366:"STDEVA",367:"VARA",368:"BAHTTEXT",369:"THAIDAYOFWEEK",370:"THAIDIGIT",371:"THAIMONTHOFYEAR",372:"THAINUMSOUND",373:"THAINUMSTRING",374:"THAISTRINGLENGTH",375:"ISTHAIDIGIT",376:"ROUNDBAHTDOWN",377:"ROUNDBAHTUP",378:"THAIYEAR",379:"RTD",380:"CUBEVALUE",381:"CUBEMEMBER",382:"CUBEMEMBERPROPERTY",383:"CUBERANKEDMEMBER",384:"HEX2BIN",385:"HEX2DEC",386:"HEX2OCT",387:"DEC2BIN",388:"DEC2HEX",389:"DEC2OCT",390:"OCT2BIN",391:"OCT2HEX",392:"OCT2DEC",393:"BIN2DEC",394:"BIN2OCT",395:"BIN2HEX",396:"IMSUB",397:"IMDIV",398:"IMPOWER",399:"IMABS",400:"IMSQRT",401:"IMLN",402:"IMLOG2",403:"IMLOG10",404:"IMSIN",405:"IMCOS",406:"IMEXP",407:"IMARGUMENT",408:"IMCONJUGATE",409:"IMAGINARY",410:"IMREAL",411:"COMPLEX",412:"IMSUM",413:"IMPRODUCT",414:"SERIESSUM",415:"FACTDOUBLE",416:"SQRTPI",417:"QUOTIENT",418:"DELTA",419:"GESTEP",420:"ISEVEN",421:"ISODD",422:"MROUND",423:"ERF",424:"ERFC",425:"BESSELJ",426:"BESSELK",427:"BESSELY",428:"BESSELI",429:"XIRR",430:"XNPV",431:"PRICEMAT",432:"YIELDMAT",433:"INTRATE",434:"RECEIVED",435:"DISC",436:"PRICEDISC",437:"YIELDDISC",438:"TBILLEQ",439:"TBILLPRICE",440:"TBILLYIELD",441:"PRICE",442:"YIELD",443:"DOLLARDE",444:"DOLLARFR",445:"NOMINAL",446:"EFFECT",447:"CUMPRINC",448:"CUMIPMT",449:"EDATE",450:"EOMONTH",451:"YEARFRAC",452:"COUPDAYBS",453:"COUPDAYS",454:"COUPDAYSNC",455:"COUPNCD",456:"COUPNUM",457:"COUPPCD",458:"DURATION",459:"MDURATION",460:"ODDLPRICE",461:"ODDLYIELD",462:"ODDFPRICE",463:"ODDFYIELD",464:"RANDBETWEEN",465:"WEEKNUM",466:"AMORDEGRC",467:"AMORLINC",468:"CONVERT",724:"SHEETJS",469:"ACCRINT",470:"ACCRINTM",471:"WORKDAY",472:"NETWORKDAYS",473:"GCD",474:"MULTINOMIAL",475:"LCM",476:"FVSCHEDULE",477:"CUBEKPIMEMBER",478:"CUBESET",479:"CUBESETCOUNT",480:"IFERROR",481:"COUNTIFS",482:"SUMIFS",483:"AVERAGEIF",484:"AVERAGEIFS"},cs={2:1,3:1,10:0,15:1,16:1,17:1,18:1,19:0,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,144:4,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186:1,189:3,190:1,195:3,196:3,197:1,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,225:0,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,247:4,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,382:3,385:1,392:1,393:1,396:2,397:2,398:2,399:1,400:1,401:1,402:1,403:1,404:1,405:1,406:1,407:1,408:1,409:1,410:1,414:4,415:1,416:1,417:2,420:1,421:1,422:2,424:1,425:2,426:2,427:2,428:2,430:3,438:3,439:3,440:3,443:2,444:2,445:2,446:2,447:6,448:6,449:2,450:2,464:2,468:3,476:2,479:1,480:2,65535:0},ls={"_xlfn.ACOT":"ACOT","_xlfn.ACOTH":"ACOTH","_xlfn.AGGREGATE":"AGGREGATE","_xlfn.ARABIC":"ARABIC","_xlfn.AVERAGEIF":"AVERAGEIF","_xlfn.AVERAGEIFS":"AVERAGEIFS","_xlfn.BASE":"BASE","_xlfn.BETA.DIST":"BETA.DIST","_xlfn.BETA.INV":"BETA.INV","_xlfn.BINOM.DIST":"BINOM.DIST","_xlfn.BINOM.DIST.RANGE":"BINOM.DIST.RANGE","_xlfn.BINOM.INV":"BINOM.INV","_xlfn.BITAND":"BITAND","_xlfn.BITLSHIFT":"BITLSHIFT","_xlfn.BITOR":"BITOR","_xlfn.BITRSHIFT":"BITRSHIFT","_xlfn.BITXOR":"BITXOR","_xlfn.CEILING.MATH":"CEILING.MATH","_xlfn.CEILING.PRECISE":"CEILING.PRECISE","_xlfn.CHISQ.DIST":"CHISQ.DIST","_xlfn.CHISQ.DIST.RT":"CHISQ.DIST.RT","_xlfn.CHISQ.INV":"CHISQ.INV","_xlfn.CHISQ.INV.RT":"CHISQ.INV.RT","_xlfn.CHISQ.TEST":"CHISQ.TEST","_xlfn.COMBINA":"COMBINA","_xlfn.CONCAT":"CONCAT","_xlfn.CONFIDENCE.NORM":"CONFIDENCE.NORM","_xlfn.CONFIDENCE.T":"CONFIDENCE.T","_xlfn.COT":"COT","_xlfn.COTH":"COTH","_xlfn.COUNTIFS":"COUNTIFS","_xlfn.COVARIANCE.P":"COVARIANCE.P","_xlfn.COVARIANCE.S":"COVARIANCE.S","_xlfn.CSC":"CSC","_xlfn.CSCH":"CSCH","_xlfn.DAYS":"DAYS","_xlfn.DECIMAL":"DECIMAL","_xlfn.ECMA.CEILING":"ECMA.CEILING","_xlfn.ERF.PRECISE":"ERF.PRECISE","_xlfn.ERFC.PRECISE":"ERFC.PRECISE","_xlfn.EXPON.DIST":"EXPON.DIST","_xlfn.F.DIST":"F.DIST","_xlfn.F.DIST.RT":"F.DIST.RT","_xlfn.F.INV":"F.INV","_xlfn.F.INV.RT":"F.INV.RT","_xlfn.F.TEST":"F.TEST","_xlfn.FILTERXML":"FILTERXML","_xlfn.FLOOR.MATH":"FLOOR.MATH","_xlfn.FLOOR.PRECISE":"FLOOR.PRECISE","_xlfn.FORECAST.ETS":"FORECAST.ETS","_xlfn.FORECAST.ETS.CONFINT":"FORECAST.ETS.CONFINT","_xlfn.FORECAST.ETS.SEASONALITY":"FORECAST.ETS.SEASONALITY","_xlfn.FORECAST.ETS.STAT":"FORECAST.ETS.STAT","_xlfn.FORECAST.LINEAR":"FORECAST.LINEAR","_xlfn.FORMULATEXT":"FORMULATEXT","_xlfn.GAMMA":"GAMMA","_xlfn.GAMMA.DIST":"GAMMA.DIST","_xlfn.GAMMA.INV":"GAMMA.INV","_xlfn.GAMMALN.PRECISE":"GAMMALN.PRECISE","_xlfn.GAUSS":"GAUSS","_xlfn.HYPGEOM.DIST":"HYPGEOM.DIST","_xlfn.IFERROR":"IFERROR","_xlfn.IFNA":"IFNA","_xlfn.IFS":"IFS","_xlfn.IMCOSH":"IMCOSH","_xlfn.IMCOT":"IMCOT","_xlfn.IMCSC":"IMCSC","_xlfn.IMCSCH":"IMCSCH","_xlfn.IMSEC":"IMSEC","_xlfn.IMSECH":"IMSECH","_xlfn.IMSINH":"IMSINH","_xlfn.IMTAN":"IMTAN","_xlfn.ISFORMULA":"ISFORMULA","_xlfn.ISO.CEILING":"ISO.CEILING","_xlfn.ISOWEEKNUM":"ISOWEEKNUM","_xlfn.LOGNORM.DIST":"LOGNORM.DIST","_xlfn.LOGNORM.INV":"LOGNORM.INV","_xlfn.MAXIFS":"MAXIFS","_xlfn.MINIFS":"MINIFS","_xlfn.MODE.MULT":"MODE.MULT","_xlfn.MODE.SNGL":"MODE.SNGL","_xlfn.MUNIT":"MUNIT","_xlfn.NEGBINOM.DIST":"NEGBINOM.DIST","_xlfn.NETWORKDAYS.INTL":"NETWORKDAYS.INTL","_xlfn.NIGBINOM":"NIGBINOM","_xlfn.NORM.DIST":"NORM.DIST","_xlfn.NORM.INV":"NORM.INV","_xlfn.NORM.S.DIST":"NORM.S.DIST","_xlfn.NORM.S.INV":"NORM.S.INV","_xlfn.NUMBERVALUE":"NUMBERVALUE","_xlfn.PDURATION":"PDURATION","_xlfn.PERCENTILE.EXC":"PERCENTILE.EXC","_xlfn.PERCENTILE.INC":"PERCENTILE.INC","_xlfn.PERCENTRANK.EXC":"PERCENTRANK.EXC","_xlfn.PERCENTRANK.INC":"PERCENTRANK.INC","_xlfn.PERMUTATIONA":"PERMUTATIONA","_xlfn.PHI":"PHI","_xlfn.POISSON.DIST":"POISSON.DIST","_xlfn.QUARTILE.EXC":"QUARTILE.EXC","_xlfn.QUARTILE.INC":"QUARTILE.INC","_xlfn.QUERYSTRING":"QUERYSTRING","_xlfn.RANK.AVG":"RANK.AVG","_xlfn.RANK.EQ":"RANK.EQ","_xlfn.RRI":"RRI","_xlfn.SEC":"SEC","_xlfn.SECH":"SECH","_xlfn.SHEET":"SHEET","_xlfn.SHEETS":"SHEETS","_xlfn.SKEW.P":"SKEW.P","_xlfn.STDEV.P":"STDEV.P","_xlfn.STDEV.S":"STDEV.S","_xlfn.SUMIFS":"SUMIFS","_xlfn.SWITCH":"SWITCH","_xlfn.T.DIST":"T.DIST","_xlfn.T.DIST.2T":"T.DIST.2T","_xlfn.T.DIST.RT":"T.DIST.RT","_xlfn.T.INV":"T.INV","_xlfn.T.INV.2T":"T.INV.2T","_xlfn.T.TEST":"T.TEST","_xlfn.TEXTJOIN":"TEXTJOIN","_xlfn.UNICHAR":"UNICHAR","_xlfn.UNICODE":"UNICODE","_xlfn.VAR.P":"VAR.P","_xlfn.VAR.S":"VAR.S","_xlfn.WEBSERVICE":"WEBSERVICE","_xlfn.WEIBULL.DIST":"WEIBULL.DIST","_xlfn.WORKDAY.INTL":"WORKDAY.INTL","_xlfn.XOR":"XOR","_xlfn.Z.TEST":"Z.TEST"};function us(e){return"of:"==e.slice(0,3)&&(e=e.slice(3)),61==e.charCodeAt(0)&&61==(e=e.slice(1)).charCodeAt(0)&&(e=e.slice(1)),(e=(e=(e=e.replace(/COM\.MICROSOFT\./g,"")).replace(/\[((?:\.[A-Z]+[0-9]+)(?::\.[A-Z]+[0-9]+)?)\]/g,(function(e,t){return t.replace(/\./g,"")}))).replace(/\[.(#[A-Z]*[?!])\]/g,"$1")).replace(/[;~]/g,",").replace(/\|/g,";")}function fs(e){var t=e.split(":");return[t[0].split(".")[0],t[0].split(".")[1]+(t.length>1?":"+(t[1].split(".")[1]||t[1].split(".")[0]):"")]}var hs={},ds={};Jn.WS=["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"];var ps="undefined"!==typeof Map;function ms(e,t,n){var r=0,a=e.length;if(n){if(ps?n.has(t):Object.prototype.hasOwnProperty.call(n,t))for(var o=ps?n.get(t):n[t];r-1?(n.width=wo(r),n.customWidth=1):null!=t.width&&(n.width=t.width),t.hidden&&(n.hidden=!0),null!=t.level&&(n.outlineLevel=n.level=t.level),n}function vs(e,t){if(e){var n=[.7,.7,.75,.75,.3,.3];"xlml"==t&&(n=[1,1,1,1,.5,.5]),null==e.left&&(e.left=n[0]),null==e.right&&(e.right=n[1]),null==e.top&&(e.top=n[2]),null==e.bottom&&(e.bottom=n[3]),null==e.header&&(e.header=n[4]),null==e.footer&&(e.footer=n[5])}}function bs(e,t,n){var r=n.revssf[null!=t.z?t.z:"General"],a=60,o=e.length;if(null==r&&n.ssf)for(;a<392;++a)if(null==n.ssf[a]){D.load(t.z,a),n.ssf[a]=t.z,n.revssf[t.z]=r=a;break}for(a=0;a!=o;++a)if(e[a].numFmtId===r)return a;return e[o]={numFmtId:r,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},o}function ys(e,t,n,r,a,o){try{r.cellNF&&(e.z=D._table[t])}catch(pu){if(r.WTF)throw pu}if("z"!==e.t||r.cellStyles){if("d"===e.t&&"string"===typeof e.v&&(e.v=te(e.v)),(!r||!1!==r.cellText)&&"z"!==e.t)try{if(null==D._table[t]&&D.load(R[t]||"General",t),"e"===e.t)e.w=e.w||Yn[e.v];else if(0===t)if("n"===e.t)(0|e.v)===e.v?e.w=D._general_int(e.v):e.w=D._general_num(e.v);else if("d"===e.t){var i=K(e.v);e.w=(0|i)===i?D._general_int(i):D._general_num(i)}else{if(void 0===e.v)return"";e.w=D._general(e.v,ds)}else"d"===e.t?e.w=D.format(t,K(e.v),ds):e.w=D.format(t,e.v,ds)}catch(pu){if(r.WTF)throw pu}if(r.cellStyles&&null!=n)try{e.s=o.Fills[n],e.s.fgColor&&e.s.fgColor.theme&&!e.s.fgColor.rgb&&(e.s.fgColor.rgb=vo(a.themeElements.clrScheme[e.s.fgColor.theme].rgb,e.s.fgColor.tint||0),r.WTF&&(e.s.fgColor.raw_rgb=a.themeElements.clrScheme[e.s.fgColor.theme].rgb)),e.s.bgColor&&e.s.bgColor.theme&&(e.s.bgColor.rgb=vo(a.themeElements.clrScheme[e.s.bgColor.theme].rgb,e.s.bgColor.tint||0),r.WTF&&(e.s.bgColor.raw_rgb=a.themeElements.clrScheme[e.s.bgColor.theme].rgb))}catch(pu){if(r.WTF&&o.Fills)throw pu}}}function _s(e,t,n){if(e&&e["!ref"]){var r=rn(e["!ref"]);if(r.e.c/g,Es=/<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/,Cs=/<(?:\w:)?hyperlink [^>]*>/gm,Os=/"(\w*:\w*)"/,Ss=/<(?:\w:)?col\b[^>]*[\/]?>/g,xs=/<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g,ks=/<(?:\w:)?pageMargins[^>]*\/>/g,Ts=/<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/,As=/<(?:\w:)?sheetPr[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetPr)>/,Ps=/<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/;function Ds(e,t,n,r,a,o,i){if(!e)return e;r||(r={"!id":{}});var s=t.dense?[]:{},c={s:{r:2e6,c:2e6},e:{r:0,c:0}},l="",u="",f=e.match(Es);f?(l=e.slice(0,f.index),u=e.slice(f.index+f[0].length)):l=u=e;var h=l.match(Ts);h?Bs(h[0],s,a,n):(h=l.match(As))&&function(e,t,n,r,a,o,i){Bs(e.slice(0,e.indexOf(">")),n,r,a)}(h[0],h[1],s,a,n);var d=(l.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(d>0){var p=l.slice(d,d+50).match(Os);p&&function(e,t){var n=rn(t);n.s.r<=n.e.r&&n.s.c<=n.e.c&&n.s.r>=0&&n.s.c>=0&&(e["!ref"]=nn(n))}(s,p[1])}var m=l.match(Ps);m&&m[1]&&function(e,t){t.Views||(t.Views=[{}]);(e.match(Rs)||[]).forEach((function(e,n){var r=Oe(e);t.Views[n]||(t.Views[n]={}),+r.zoomScale&&(t.Views[n].zoom=+r.zoomScale),je(r.rightToLeft)&&(t.Views[n].RTL=!0)}))}(m[1],a);var g=[];if(t.cellStyles){var v=l.match(Ss);v&&function(e,t){for(var n=!1,r=0;r!=t.length;++r){var a=Oe(t[r],!0);a.hidden&&(a.hidden=je(a.hidden));var o=parseInt(a.min,10)-1,i=parseInt(a.max,10)-1;for(a.outlineLevel&&(a.level=+a.outlineLevel||0),delete a.min,delete a.max,a.width=+a.width,!n&&a.width&&(n=!0,Co(a.width)),Oo(a);o<=i;)e[o++]=re(a)}}(g,v)}f&&js(f[1],s,t,c,o,i);var b=u.match(xs);b&&(s["!autofilter"]=function(e){return{ref:(e.match(/ref="([^"]*)"/)||[])[1]}}(b[0]));var y=[],_=u.match(ws);if(_)for(d=0;d!=_.length;++d)y[d]=rn(_[d].slice(_[d].indexOf('"')+1));var w=u.match(Cs);w&&function(e,t,n){for(var r=Array.isArray(e),a=0;a!=t.length;++a){var o=Oe(Le(t[a]),!0);if(!o.ref)return;var i=((n||{})["!id"]||[])[o.id];i?(o.Target=i.Target,o.location&&(o.Target+="#"+Te(o.location))):(o.Target="#"+Te(o.location),i={Target:o.Target,TargetMode:"Internal"}),o.Rel=i,o.tooltip&&(o.Tooltip=o.tooltip,delete o.tooltip);for(var s=rn(o.ref),c=s.s.r;c<=s.e.r;++c)for(var l=s.s.c;l<=s.e.c;++l){var u=en({c:l,r:c});r?(e[c]||(e[c]=[]),e[c][l]||(e[c][l]={t:"z",v:void 0}),e[c][l].l=o):(e[u]||(e[u]={t:"z",v:void 0}),e[u].l=o)}}}(s,w,r);var E=u.match(ks);if(E&&(s["!margins"]=function(e){var t={};return["left","right","top","bottom","header","footer"].forEach((function(n){e[n]&&(t[n]=parseFloat(e[n]))})),t}(Oe(E[0]))),!s["!ref"]&&c.e.c>=c.s.c&&c.e.r>=c.s.r&&(s["!ref"]=nn(c)),t.sheetRows>0&&s["!ref"]){var C=rn(s["!ref"]);t.sheetRows<=+C.e.r&&(C.e.r=t.sheetRows-1,C.e.r>c.e.r&&(C.e.r=c.e.r),C.e.rc.e.c&&(C.e.c=c.e.c),C.e.c0&&(s["!cols"]=g),y.length>0&&(s["!merges"]=y),s}function Bs(e,t,n,r){var a=Oe(e);n.Sheets[r]||(n.Sheets[r]={}),a.codeName&&(n.Sheets[r].CodeName=Te(Le(a.codeName)))}var Ns=["objects","scenarios","selectLockedCells","selectUnlockedCells"],Is=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"],Rs=/<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/?>/;function Ms(e,t,n,r){if(void 0===e.v&&"string"!==typeof e.f||"z"===e.t)return"";var a="",o=e.t,i=e.v;if("z"!==e.t)switch(e.t){case"b":a=e.v?"1":"0";break;case"n":a=""+e.v;break;case"e":a=Yn[e.v];break;case"d":r&&r.cellDates?a=te(e.v,-1).toISOString():((e=re(e)).t="n",a=""+(e.v=K(te(e.v)))),"undefined"===typeof e.z&&(e.z=D._table[14]);break;default:a=e.v}var s=$e("v",De(a)),c={r:t},l=bs(r.cellXfs,e,r);switch(0!==l&&(c.s=l),e.t){case"n":break;case"d":c.t="d";break;case"b":c.t="b";break;case"e":c.t="e";break;case"z":break;default:if(null==e.v){delete e.t;break}if(e.v.length>32767)throw new Error("Text length must not exceed 32767 characters");if(r&&r.bookSST){s=$e("v",""+ms(r.Strings,e.v,r.revStrings)),c.t="s";break}c.t="str"}if(e.t!=o&&(e.t=o,e.v=i),"string"==typeof e.f&&e.f){var u=e.F&&e.F.slice(0,t.length)==t?{t:"array",ref:e.F}:null;s=Je("f",De(e.f),u)+(null!=e.v?s:"")}return e.l&&n["!links"].push([t,e.l]),e.c&&n["!comments"].push([t,e.c]),Je("c",s,c)}var js=function(){var e=/<(?:\w+:)?c[ \/>]/,t=/<\/(?:\w+:)?row>/,n=/r=["']([^"']*)["']/,r=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/,a=/ref=["']([^"']*)["']/,o=He("v"),i=He("f");return function(s,c,l,u,f,h){for(var d,p,m,g,v,b=0,y="",_=[],w=[],E=0,C=0,O=0,S="",x=0,k=0,T=0,A=0,P=Array.isArray(h.CellXf),B=[],N=[],I=Array.isArray(c),R=[],M={},j=!1,L=!!l.sheetStubs,F=s.split(t),z=0,U=F.length;z!=U;++z){var V=(y=F[z].trim()).length;if(0!==V){var H=0;e:for(b=0;b":if("/"!=y[b-1]){++b;break e}if(l&&l.cellStyles){if(x=null!=(p=Oe(y.slice(H,b),!0)).r?parseInt(p.r,10):x+1,k=-1,l.sheetRows&&l.sheetRows=b)break;if(x=null!=(p=Oe(y.slice(H,b),!0)).r?parseInt(p.r,10):x+1,k=-1,!(l.sheetRows&&l.sheetRowsx-1&&(u.s.r=x-1),u.e.r":"")+y,null!=w&&2===w.length){for(E=0,S=w[1],C=0;C!=S.length&&!((O=S.charCodeAt(C)-64)<1||O>26);++C)E=26*E+O;k=--E}else++k;for(C=0;C!=y.length&&62!==y.charCodeAt(C);++C);if(++C,(p=Oe(y.slice(0,C),!0)).r||(p.r=en({r:x-1,c:k})),d={t:""},null!=(w=(S=y.slice(C)).match(o))&&""!==w[1]&&(d.v=Te(w[1])),l.cellFormula){if(null!=(w=S.match(i))&&""!==w[1]){if(d.f=Te(Le(w[1])).replace(/\r\n/g,"\n"),l.xlfn||(d.f=mi(d.f)),w[0].indexOf('t="array"')>-1)d.F=(S.match(a)||[])[1],d.F.indexOf(":")>-1&&B.push([rn(d.F),d.F]);else if(w[0].indexOf('t="shared"')>-1){g=Oe(w[0]);var Y=Te(Le(w[1]));l.xlfn||(Y=mi(Y)),N[parseInt(g.si,10)]=[g,Y,p.r]}}else(w=S.match(/]*\/>/))&&N[(g=Oe(w[0])).si]&&(d.f=pi(N[g.si][1],N[g.si][2],p.r));var G=Qt(p.r);for(C=0;C=B[C][0].s.r&&G.r<=B[C][0].e.r&&G.c>=B[C][0].s.c&&G.c<=B[C][0].e.c&&(d.F=B[C][1])}if(null==p.t&&void 0===d.v)if(d.f||d.F)d.v=0,d.t="n";else{if(!L)continue;d.t="z"}else d.t=p.t||"n";switch(u.s.c>k&&(u.s.c=k),u.e.c0&&(c["!rows"]=R)}}(),Ls=Je("worksheet",null,{xmlns:nt.main[0],"xmlns:r":nt.r});function Fs(e,t,n,r){var a,o=[ye,Ls],i=n.SheetNames[e],s="",c=n.Sheets[i];null==c&&(c={});var l=c["!ref"]||"A1",u=rn(l);if(u.e.c>16383||u.e.r>1048575){if(t.WTF)throw new Error("Range "+l+" exceeds format limit A1:XFD1048576");u.e.c=Math.min(u.e.c,16383),u.e.r=Math.min(u.e.c,1048575),l=nn(u)}r||(r={}),c["!comments"]=[];var f=[];!function(e,t,n,r,a){var o=!1,i={},s=null;if("xlsx"!==r.bookType&&t.vbaraw){var c=t.SheetNames[n];try{t.Workbook&&(c=t.Workbook.Sheets[n].CodeName||c)}catch(pu){}o=!0,i.codeName=Fe(De(c))}if(e&&e["!outline"]){var l={summaryBelow:1,summaryRight:1};e["!outline"].above&&(l.summaryBelow=0),e["!outline"].left&&(l.summaryRight=0),s=(s||"")+Je("outlinePr",null,l)}(o||s)&&(a[a.length]=Je("sheetPr",s,i))}(c,n,e,t,o),o[o.length]=Je("dimension",null,{ref:l}),o[o.length]=function(e,t,n,r){var a={workbookViewId:"0"};return(((r||{}).Workbook||{}).Views||[])[0]&&(a.rightToLeft=r.Workbook.Views[0].RTL?"1":"0"),Je("sheetViews",Je("sheetView",null,a),{})}(0,0,0,n),t.sheetFormat&&(o[o.length]=Je("sheetFormatPr",null,{defaultRowHeight:t.sheetFormat.defaultRowHeight||"16",baseColWidth:t.sheetFormat.baseColWidth||"10",outlineLevelRow:t.sheetFormat.outlineLevelRow||"7"})),null!=c["!cols"]&&c["!cols"].length>0&&(o[o.length]=function(e,t){for(var n,r=[""],a=0;a!=t.length;++a)(n=t[a])&&(r[r.length]=Je("col",null,gs(a,n)));return r[r.length]="",r.join("")}(0,c["!cols"])),o[a=o.length]="",c["!links"]=[],null!=c["!ref"]&&(s=function(e,t,n,r){var a,o,i=[],s=[],c=rn(e["!ref"]),l="",u="",f=[],h=0,d=0,p=e["!rows"],m=Array.isArray(e),g={r:u},v=-1;for(d=c.s.c;d<=c.e.c;++d)f[d]=Jt(d);for(h=c.s.r;h<=c.e.r;++h){for(s=[],u=$t(h),d=c.s.c;d<=c.e.c;++d){a=f[d]+u;var b=m?(e[h]||[])[d]:e[a];void 0!==b&&(null!=(l=Ms(b,a,e,t))&&s.push(l))}(s.length>0||p&&p[h])&&(g={r:u},p&&p[h]&&((o=p[h]).hidden&&(g.hidden=1),v=-1,o.hpx?v=So(o.hpx):o.hpt&&(v=o.hpt),v>-1&&(g.ht=v,g.customHeight=1),o.level&&(g.outlineLevel=o.level)),i[i.length]=Je("row",s.join(""),g))}if(p)for(;h-1&&(g.ht=v,g.customHeight=1),o.level&&(g.outlineLevel=o.level),i[i.length]=Je("row","",g));return i.join("")}(c,t,0,0)).length>0&&(o[o.length]=s),o.length>a+1&&(o[o.length]="",o[a]=o[a].replace("/>",">")),c["!protect"]&&(o[o.length]=function(e){var t={sheet:1};return Ns.forEach((function(n){null!=e[n]&&e[n]&&(t[n]="1")})),Is.forEach((function(n){null==e[n]||e[n]||(t[n]="0")})),e.password&&(t.password=uo(e.password).toString(16).toUpperCase()),Je("sheetProtection",null,t)}(c["!protect"])),null!=c["!autofilter"]&&(o[o.length]=function(e,t,n,r){var a="string"==typeof e.ref?e.ref:nn(e.ref);n.Workbook||(n.Workbook={Sheets:[]}),n.Workbook.Names||(n.Workbook.Names=[]);var o=n.Workbook.Names,i=tn(a);i.s.r==i.e.r&&(i.e.r=tn(t["!ref"]).e.r,a=nn(i));for(var s=0;s0&&(o[o.length]=function(e){if(0===e.length)return"";for(var t='',n=0;n!=e.length;++n)t+='';return t+""}(c["!merges"]));var h,d,p=-1,m=-1;return c["!links"].length>0&&(o[o.length]="",c["!links"].forEach((function(e){e[1].Target&&(h={ref:e[0]},"#"!=e[1].Target.charAt(0)&&(m=ar(r,-1,De(e[1].Target).replace(/#.*$/,""),Jn.HLINK),h["r:id"]="rId"+m),(p=e[1].Target.indexOf("#"))>-1&&(h.location=De(e[1].Target.slice(p+1))),e[1].Tooltip&&(h.tooltip=De(e[1].Tooltip)),o[o.length]=Je("hyperlink",null,h))})),o[o.length]=""),delete c["!links"],null!=c["!margins"]&&(o[o.length]=(vs(d=c["!margins"]),Je("pageMargins",null,d))),t&&!t.ignoreEC&&void 0!=t.ignoreEC||(o[o.length]=$e("ignoredErrors",Je("ignoredError",null,{numberStoredAsText:1,sqref:l}))),f.length>0&&(m=ar(r,-1,"../drawings/drawing"+(e+1)+".xml",Jn.DRAW),o[o.length]=Je("drawing",null,{"r:id":"rId"+m}),c["!drawing"]=f),c["!comments"].length>0&&(m=ar(r,-1,"../drawings/vmlDrawing"+(e+1)+".vml",Jn.VML),o[o.length]=Je("legacyDrawing",null,{"r:id":"rId"+m}),c["!legacy"]=m),o.length>1&&(o[o.length]="",o[1]=o[1].replace("/>",">")),o.join("")}function zs(e,t,n,r){var a=function(e,t,n){var r=Ut(145),a=(n["!rows"]||[])[e]||{};r.write_shift(4,e),r.write_shift(4,0);var o=320;a.hpx?o=20*So(a.hpx):a.hpt&&(o=20*a.hpt),r.write_shift(2,o),r.write_shift(1,0);var i=0;a.level&&(i|=a.level),a.hidden&&(i|=16),(a.hpx||a.hpt)&&(i|=32),r.write_shift(1,i),r.write_shift(1,0);var s=0,c=r.l;r.l+=4;for(var l={r:e,c:0},u=0;u<16;++u)if(!(t.s.c>u+1<<10||t.e.cr.l?r.slice(0,r.l):r}(r,n,t);(a.length>17||(t["!rows"]||[])[r])&&Wt(e,"BrtRowHdr",a)}var Us=Dn,Vs=Bn;function Hs(e){return[yn(e),Nn(e),"n"]}var Ws=Dn,Ys=Bn,Ks=["left","right","top","bottom","header","footer"];function Gs(e,t,n,r,a,o,i){if(void 0===t.v)return!1;var s="";switch(t.t){case"b":s=t.v?"1":"0";break;case"d":(t=re(t)).z=t.z||D._table[14],t.v=K(te(t.v)),t.t="n";break;case"n":case"e":s=""+t.v;break;default:s=t.v}var c={r:n,c:r};switch(c.s=bs(a.cellXfs,t,a),t.l&&o["!links"].push([en(c),t.l]),t.c&&o["!comments"].push([en(c),t.c]),t.t){case"s":case"str":return a.bookSST?(s=ms(a.Strings,t.v,a.revStrings),c.t="s",c.v=s,i?Wt(e,"BrtShortIsst",function(e,t,n){return null==n&&(n=Ut(8)),_n(t,n),n.write_shift(4,t.v),n}(0,c)):Wt(e,"BrtCellIsst",function(e,t,n){return null==n&&(n=Ut(12)),bn(t,n),n.write_shift(4,t.v),n}(0,c))):(c.t="str",i?Wt(e,"BrtShortSt",function(e,t,n){return null==n&&(n=Ut(8+4*e.v.length)),_n(t,n),hn(e.v,n),n.length>n.l?n.slice(0,n.l):n}(t,c)):Wt(e,"BrtCellSt",function(e,t,n){return null==n&&(n=Ut(12+4*e.v.length)),bn(t,n),hn(e.v,n),n.length>n.l?n.slice(0,n.l):n}(t,c))),!0;case"n":return t.v==(0|t.v)&&t.v>-1e3&&t.v<1e3?i?Wt(e,"BrtShortRk",function(e,t,n){return null==n&&(n=Ut(8)),_n(t,n),An(e.v,n),n}(t,c)):Wt(e,"BrtCellRk",function(e,t,n){return null==n&&(n=Ut(12)),bn(t,n),An(e.v,n),n}(t,c)):i?Wt(e,"BrtShortReal",function(e,t,n){return null==n&&(n=Ut(12)),_n(t,n),In(e.v,n),n}(t,c)):Wt(e,"BrtCellReal",function(e,t,n){return null==n&&(n=Ut(16)),bn(t,n),In(e.v,n),n}(t,c)),!0;case"b":return c.t="b",i?Wt(e,"BrtShortBool",function(e,t,n){return null==n&&(n=Ut(5)),_n(t,n),n.write_shift(1,e.v?1:0),n}(t,c)):Wt(e,"BrtCellBool",function(e,t,n){return null==n&&(n=Ut(9)),bn(t,n),n.write_shift(1,e.v?1:0),n}(t,c)),!0;case"e":return c.t="e",i?Wt(e,"BrtShortError",function(e,t,n){return null==n&&(n=Ut(8)),_n(t,n),n.write_shift(1,e.v),n.write_shift(2,0),n.write_shift(1,0),n}(t,c)):Wt(e,"BrtCellError",function(e,t,n){return null==n&&(n=Ut(9)),bn(t,n),n.write_shift(1,e.v),n}(t,c)),!0}return i?Wt(e,"BrtShortBlank",function(e,t,n){return null==n&&(n=Ut(4)),_n(t,n)}(0,c)):Wt(e,"BrtCellBlank",function(e,t,n){return null==n&&(n=Ut(8)),bn(t,n)}(0,c)),!0}function Xs(e,t){var n,r;t&&t["!merges"]&&(Wt(e,"BrtBeginMergeCells",(n=t["!merges"].length,null==r&&(r=Ut(4)),r.write_shift(4,n),r)),t["!merges"].forEach((function(t){Wt(e,"BrtMergeCell",Ys(t))})),Wt(e,"BrtEndMergeCells"))}function Zs(e,t){t&&t["!cols"]&&(Wt(e,"BrtBeginColInfos"),t["!cols"].forEach((function(t,n){t&&Wt(e,"BrtColInfo",function(e,t,n){null==n&&(n=Ut(18));var r=gs(e,t);n.write_shift(-4,e),n.write_shift(-4,e),n.write_shift(4,256*(r.width||10)),n.write_shift(4,0);var a=0;return t.hidden&&(a|=1),"number"==typeof r.width&&(a|=2),t.level&&(a|=t.level<<8),n.write_shift(2,a),n}(n,t))})),Wt(e,"BrtEndColInfos"))}function $s(e,t){t&&t["!ref"]&&(Wt(e,"BrtBeginCellIgnoreECs"),Wt(e,"BrtCellIgnoreEC",function(e){var t=Ut(24);return t.write_shift(4,4),t.write_shift(4,1),Bn(e,t),t}(rn(t["!ref"]))),Wt(e,"BrtEndCellIgnoreECs"))}function qs(e,t,n){t["!links"].forEach((function(t){if(t[1].Target){var r=ar(n,-1,t[1].Target.replace(/#.*$/,""),Jn.HLINK);Wt(e,"BrtHLink",function(e,t){var n=Ut(50+4*(e[1].Target.length+(e[1].Tooltip||"").length));Bn({s:Qt(e[0]),e:Qt(e[0])},n),kn("rId"+t,n);var r=e[1].Target.indexOf("#");return hn((-1==r?"":e[1].Target.slice(r+1))||"",n),hn(e[1].Tooltip||"",n),hn("",n),n.slice(0,n.l)}(t,r))}})),delete t["!links"]}function Js(e,t,n){Wt(e,"BrtBeginWsViews"),Wt(e,"BrtBeginWsView",function(e,t,n){null==n&&(n=Ut(30));var r=924;return(((t||{}).Views||[])[0]||{}).RTL&&(r|=32),n.write_shift(2,r),n.write_shift(4,0),n.write_shift(4,0),n.write_shift(4,0),n.write_shift(1,0),n.write_shift(1,0),n.write_shift(2,0),n.write_shift(2,100),n.write_shift(2,0),n.write_shift(2,0),n.write_shift(2,0),n.write_shift(4,0),n}(0,n)),Wt(e,"BrtEndWsView"),Wt(e,"BrtEndWsViews")}function Qs(e,t){var n,r;t["!protect"]&&Wt(e,"BrtSheetProtection",(n=t["!protect"],null==r&&(r=Ut(66)),r.write_shift(2,n.password?uo(n.password):0),r.write_shift(4,1),[["objects",!1],["scenarios",!1],["formatCells",!0],["formatColumns",!0],["formatRows",!0],["insertColumns",!0],["insertRows",!0],["insertHyperlinks",!0],["deleteColumns",!0],["deleteRows",!0],["selectLockedCells",!1],["sort",!0],["autoFilter",!0],["pivotTables",!0],["selectUnlockedCells",!1]].forEach((function(e){e[1]?r.write_shift(4,null==n[e[0]]||n[e[0]]?0:1):r.write_shift(4,null!=n[e[0]]&&n[e[0]]?0:1)})),r))}function ec(e,t,n,r){var a=Ht(),o=n.SheetNames[e],i=n.Sheets[o]||{},s=o;try{n&&n.Workbook&&(s=n.Workbook.Sheets[e].CodeName||s)}catch(pu){}var c,l,u=rn(i["!ref"]||"A1");if(u.e.c>16383||u.e.r>1048575){if(t.WTF)throw new Error("Range "+(i["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");u.e.c=Math.min(u.e.c,16383),u.e.r=Math.min(u.e.c,1048575)}return i["!links"]=[],i["!comments"]=[],Wt(a,"BrtBeginSheet"),(n.vbaraw||i["!outline"])&&Wt(a,"BrtWsProp",function(e,t,n){null==n&&(n=Ut(84+4*e.length));var r=192;t&&(t.above&&(r&=-65),t.left&&(r&=-129)),n.write_shift(1,r);for(var a=1;a<3;++a)n.write_shift(1,0);return Rn({auto:1},n),n.write_shift(-4,-1),n.write_shift(-4,-1),En(e,n),n.slice(0,n.l)}(s,i["!outline"])),Wt(a,"BrtWsDim",Vs(u)),Js(a,0,n.Workbook),Zs(a,i),function(e,t,n,r){var a,o=rn(t["!ref"]||"A1"),i="",s=[];Wt(e,"BrtBeginSheetData");var c=Array.isArray(t),l=o.e.r;t["!rows"]&&(l=Math.max(o.e.r,t["!rows"].length-1));for(var u=o.s.r;u<=l;++u){i=$t(u),zs(e,t,o,u);var f=!1;if(u<=o.e.r)for(var h=o.s.c;h<=o.e.c;++h){u===o.s.r&&(s[h]=Jt(h)),a=s[h]+i;var d=c?(t[u]||[])[h]:t[a];d?f=Gs(e,d,u,h,r,t,f):f=!1}}Wt(e,"BrtEndSheetData")}(a,i,0,t),Qs(a,i),function(e,t,n,r){if(t["!autofilter"]){var a=t["!autofilter"],o="string"===typeof a.ref?a.ref:nn(a.ref);n.Workbook||(n.Workbook={Sheets:[]}),n.Workbook.Names||(n.Workbook.Names=[]);var i=n.Workbook.Names,s=tn(o);s.s.r==s.e.r&&(s.e.r=tn(t["!ref"]).e.r,o=nn(s));for(var c=0;c0){var a=ar(r,-1,"../drawings/vmlDrawing"+(n+1)+".vml",Jn.VML);Wt(e,"BrtLegacyDrawing",kn("rId"+a)),t["!legacy"]=a}}(a,i,e,r),Wt(a,"BrtEndSheet"),a.end()}function tc(e,t,n,r,a,o){var i=o||{"!type":"chart"};if(!e)return o;var s=0,c=0,l="A",u={s:{r:2e6,c:2e6},e:{r:0,c:0}};return(e.match(/[\s\S]*?<\/c:numCache>/gm)||[]).forEach((function(e){var t=function(e){var t,n=[],r=e.match(/^/);(e.match(/(.*?)<\/c:pt>/gm)||[]).forEach((function(e){var t=e.match(/(.*)<\/c:v><\/c:pt>/);t&&(n[+t[1]]=r?+t[2]:t[2])}));var a=Te((e.match(/([\s\S]*?)<\/c:formatCode>/)||["","General"])[1]);return(e.match(/(.*?)<\/c:f>/gm)||[]).forEach((function(e){t=e.replace(/<.*?>/g,"")})),[n,a,t]}(e);u.s.r=u.s.c=0,u.e.c=s,l=Jt(s),t[0].forEach((function(e,n){i[l+$t(n)]={t:"n",v:e,z:t[1]},c=n})),u.e.r0&&(i["!ref"]=nn(u)),i}Jn.CHART="http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",Jn.CHARTEX="http://schemas.microsoft.com/office/2014/relationships/chartEx",Jn.CS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet",Je("chartsheet",null,{xmlns:nt.main[0],"xmlns:r":nt.r});var nc=[["allowRefreshQuery",!1,"bool"],["autoCompressPictures",!0,"bool"],["backupFile",!1,"bool"],["checkCompatibility",!1,"bool"],["CodeName",""],["date1904",!1,"bool"],["defaultThemeVersion",0,"int"],["filterPrivacy",!1,"bool"],["hidePivotFieldList",!1,"bool"],["promptedSolutions",!1,"bool"],["publishItems",!1,"bool"],["refreshAllConnections",!1,"bool"],["saveExternalLinkValues",!0,"bool"],["showBorderUnselectedTables",!0,"bool"],["showInkAnnotation",!0,"bool"],["showObjects","all"],["showPivotChartFilter",!1,"bool"],["updateLinks","userSet"]],rc=[["activeTab",0,"int"],["autoFilterDateGrouping",!0,"bool"],["firstSheet",0,"int"],["minimized",!1,"bool"],["showHorizontalScroll",!0,"bool"],["showSheetTabs",!0,"bool"],["showVerticalScroll",!0,"bool"],["tabRatio",600,"int"],["visibility","visible"]],ac=[],oc=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function ic(e,t){for(var n=0;n!=e.length;++n)for(var r=e[n],a=0;a!=t.length;++a){var o=t[a];if(null==r[o[0]])r[o[0]]=o[1];else switch(o[2]){case"bool":"string"==typeof r[o[0]]&&(r[o[0]]=je(r[o[0]]));break;case"int":"string"==typeof r[o[0]]&&(r[o[0]]=parseInt(r[o[0]],10))}}}function sc(e,t){for(var n=0;n!=t.length;++n){var r=t[n];if(null==e[r[0]])e[r[0]]=r[1];else switch(r[2]){case"bool":"string"==typeof e[r[0]]&&(e[r[0]]=je(e[r[0]]));break;case"int":"string"==typeof e[r[0]]&&(e[r[0]]=parseInt(e[r[0]],10))}}}function cc(e){sc(e.WBProps,nc),sc(e.CalcPr,oc),ic(e.WBView,rc),ic(e.Sheets,ac),ds.date1904=je(e.WBProps.date1904)}var lc="][*?/\\".split("");function uc(e,t){if(e.length>31){if(t)return!1;throw new Error("Sheet names cannot exceed 31 chars")}var n=!0;return lc.forEach((function(r){if(-1!=e.indexOf(r)){if(!t)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");n=!1}})),n}function fc(e){if(!e||!e.SheetNames||!e.Sheets)throw new Error("Invalid Workbook");if(!e.SheetNames.length)throw new Error("Workbook is empty");var t,n,r,a=e.Workbook&&e.Workbook.Sheets||[];t=e.SheetNames,n=a,r=!!e.vbaraw,t.forEach((function(e,a){uc(e);for(var o=0;o22)throw new Error("Bad Code Name: Worksheet"+i)}}));for(var o=0;o0,r={codeName:"ThisWorkbook"};e.Workbook&&e.Workbook.WBProps&&(nc.forEach((function(t){null!=e.Workbook.WBProps[t[0]]&&e.Workbook.WBProps[t[0]]!=t[1]&&(r[t[0]]=e.Workbook.WBProps[t[0]])})),e.Workbook.WBProps.CodeName&&(r.codeName=e.Workbook.WBProps.CodeName,delete r.CodeName)),t[t.length]=Je("workbookPr",null,r);var a=e.Workbook&&e.Workbook.Sheets||[],o=0;if(a&&a[0]&&a[0].Hidden){for(t[t.length]="",o=0;o!=e.SheetNames.length&&a[o]&&a[o].Hidden;++o);o==e.SheetNames.length&&(o=0),t[t.length]='',t[t.length]=""}for(t[t.length]="",o=0;o!=e.SheetNames.length;++o){var i={name:De(e.SheetNames[o].slice(0,31))};if(i.sheetId=""+(o+1),i["r:id"]="rId"+(o+1),a[o])switch(a[o].Hidden){case 1:i.state="hidden";break;case 2:i.state="veryHidden"}t[t.length]=Je("sheet",null,i)}return t[t.length]="",n&&(t[t.length]="",e.Workbook&&e.Workbook.Names&&e.Workbook.Names.forEach((function(e){var n={name:e.Name};e.Comment&&(n.comment=e.Comment),null!=e.Sheet&&(n.localSheetId=""+e.Sheet),e.Hidden&&(n.hidden="1"),e.Ref&&(t[t.length]=Je("definedName",De(e.Ref),n))})),t[t.length]=""),t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}function mc(e,t){var n={};return e.read_shift(4),n.ArchID=e.read_shift(4),e.l+=t-8,n}function gc(e,t){if(t.Workbook&&t.Workbook.Sheets){for(var n,r,a=t.Workbook.Sheets,o=0,i=-1,s=-1;oi))Wt(e,"BrtBeginBookViews"),Wt(e,"BrtBookView",(n=i,r||(r=Ut(29)),r.write_shift(-4,0),r.write_shift(-4,460),r.write_shift(4,28800),r.write_shift(4,17600),r.write_shift(4,500),r.write_shift(4,n),r.write_shift(4,n),r.write_shift(1,120),r.length>r.l?r.slice(0,r.l):r)),Wt(e,"BrtEndBookViews")}}function vc(e,n){var r=Ht();return Wt(r,"BrtBeginBook"),Wt(r,"BrtFileVersion",function(e,n){n||(n=Ut(127));for(var r=0;4!=r;++r)n.write_shift(4,0);return hn("SheetJS",n),hn(t.version,n),hn(t.version,n),hn("7262",n),n.length>n.l?n.slice(0,n.l):n}()),Wt(r,"BrtWbProp",function(e,t){t||(t=Ut(72));var n=0;return e&&e.filterPrivacy&&(n|=8),t.write_shift(4,n),t.write_shift(4,0),En(e&&e.CodeName||"ThisWorkbook",t),t.slice(0,t.l)}(e.Workbook&&e.Workbook.WBProps||null)),gc(r,e),function(e,t){Wt(e,"BrtBeginBundleShs");for(var n=0;n!=t.SheetNames.length;++n){var r={Hidden:t.Workbook&&t.Workbook.Sheets&&t.Workbook.Sheets[n]&&t.Workbook.Sheets[n].Hidden||0,iTabID:n+1,strRelID:"rId"+(n+1),name:t.SheetNames[n]};Wt(e,"BrtBundleSh",(a=r,(o=void 0)||(o=Ut(127)),o.write_shift(4,a.Hidden),o.write_shift(4,a.iTabID),kn(a.strRelID,o),hn(a.name.slice(0,31),o),o.length>o.l?o.slice(0,o.l):o))}var a,o;Wt(e,"BrtEndBundleShs")}(r,e),Wt(r,"BrtEndBook"),r.end()}function bc(e,t,n){return".bin"===t.slice(-4)?function(e,t){var n={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""},r=[],a=!1;t||(t={}),t.biff=12;var o=[],i=[[]];return i.SheetNames=[],i.XTI=[],ol[16]={n:"BrtFRTArchID$",f:mc},Vt(e,(function(e,s,c){switch(c){case 156:i.SheetNames.push(e.name),n.Sheets.push(e);break;case 153:n.WBProps=e;break;case 39:null!=e.Sheet&&(t.SID=e.Sheet),e.Ref=$i(e.Ptg,0,null,i,t),delete t.SID,delete e.Ptg,o.push(e);break;case 1036:break;case 357:case 358:case 355:case 667:i[0].length?i.push([c,e]):i[0]=[c,e],i[i.length-1].XTI=[];break;case 362:0===i.length&&(i[0]=[],i[0].XTI=[]),i[i.length-1].XTI=i[i.length-1].XTI.concat(e),i.XTI=i.XTI.concat(e);break;case 361:break;case 2071:case 158:case 143:case 664:case 353:break;case 3072:case 3073:case 534:case 677:case 157:case 610:case 2050:case 155:case 548:case 676:case 128:case 665:case 2128:case 2125:case 549:case 2053:case 596:case 2076:case 2075:case 2082:case 397:case 154:case 1117:case 553:case 2091:break;case 35:r.push(s),a=!0;break;case 36:r.pop(),a=!1;break;case 37:r.push(s),a=!0;break;case 38:r.pop(),a=!1;break;case 16:break;default:if((s||"").indexOf("Begin")>0);else if((s||"").indexOf("End")>0);else if(!a||t.WTF&&"BrtACBegin"!=r[r.length-1]&&"BrtFRTBegin"!=r[r.length-1])throw new Error("Unexpected record "+c+" "+s)}}),t),cc(n),n.Names=o,n.supbooks=i,n}(e,n):function(e,t){if(!e)throw new Error("Could not find file");var n={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},Names:[],xmlns:""},r=!1,a="xmlns",o={},i=0;if(e.replace(we,(function(s,c){var l=Oe(s);switch(Se(l[0])){case"":break;case"":case"":case"":break;case"":nc.forEach((function(e){if(null!=l[e[0]])switch(e[2]){case"bool":n.WBProps[e[0]]=je(l[e[0]]);break;case"int":n.WBProps[e[0]]=parseInt(l[e[0]],10);break;default:n.WBProps[e[0]]=l[e[0]]}})),l.codeName&&(n.WBProps.CodeName=Le(l.codeName));break;case"":case"":break;case"":case"":break;case"":delete l[0],n.WBView.push(l);break;case"":break;case"":case"":break;case"":break;case"":case"":case"":case"":break;case"":case"":r=!1;break;case"":o.Ref=Te(Le(e.slice(i,c))),n.Names.push(o);break;case"":break;case"":delete l[0],n.CalcPr=l;break;case"":case"":case"":case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":break;case"":case"":case"":case"":case"":break;case"":r=!1;break;case"":r=!0;break;case"":r=!1;break;case"=I[0].s.r&&l.r<=I[0].e.r&&d>=I[0].s.c&&d<=I[0].e.c&&(u.F=nn(I[0]),S=!0)}!S&&e.length>3&&(u.f=e[3])}if(y.s.r>l.r&&(y.s.r=l.r),y.s.c>d&&(y.s.c=d),y.e.rl.r&&(y.s.r=l.r),y.s.c>d&&(y.s.c=d),y.e.r=e.s;)P[e.e--]={width:e.w/256,hidden:!!(1&e.flags),level:e.level},N||(N=!0,Co(e.w/256)),Oo(P[e.e+1]);break;case 161:b["!autofilter"]={ref:nn(e)};break;case 476:b["!margins"]=e;break;case 147:a.Sheets[n]||(a.Sheets[n]={}),e.name&&(a.Sheets[n].CodeName=e.name),(e.above||e.left)&&(b["!outline"]={above:e.above,left:e.left});break;case 137:a.Views||(a.Views=[{}]),a.Views[0]||(a.Views[0]={}),e.RTL&&(a.Views[0].RTL=!0);break;case 485:break;case 64:case 1053:case 151:break;case 152:case 175:case 644:case 625:case 562:case 396:case 1112:case 1146:case 471:case 1050:case 649:case 1105:case 49:case 589:case 607:case 564:case 1055:case 168:case 174:case 1180:case 499:case 507:case 550:case 171:case 167:case 1177:case 169:case 1181:case 551:case 552:case 661:case 639:case 478:case 537:case 477:case 536:case 1103:case 680:case 1104:case 1024:case 663:case 535:case 678:case 504:case 1043:case 428:case 170:case 3072:case 50:case 2070:case 1045:break;case 35:w=!0;break;case 36:w=!1;break;case 37:_.push(t),w=!0;break;case 38:_.pop(),w=!1;break;default:if((t||"").indexOf("Begin")>0);else if((t||"").indexOf("End")>0);else if(!w||s.WTF)throw new Error("Unexpected record "+A+" "+t)}}),s),delete s.supbooks,delete s["!row"],!b["!ref"]&&(y.s.r<2e6||c&&(c.e.r>0||c.e.c>0||c.s.r>0||c.s.c>0))&&(b["!ref"]=nn(c||y)),s.sheetRows&&b["!ref"]){var I=rn(b["!ref"]);s.sheetRows<=+I.e.r&&(I.e.r=s.sheetRows-1,I.e.r>y.e.r&&(I.e.r=y.e.r),I.e.ry.e.c&&(I.e.c=y.e.c),I.e.c0&&(b["!merges"]=C),P.length>0&&(b["!cols"]=P),B.length>0&&(b["!rows"]=B),b}(e,r,n,a,o,i,s):Ds(e,r,n,a,o,i,s)}function _c(e,t,n,r,a,o,i,s){return".bin"===t.slice(-4)?function(e,t,n,r,a){if(!e)return e;r||(r={"!id":{}});var o={"!type":"chart","!drawel":null,"!rel":""},i=[],s=!1;return Vt(e,(function(e,r,c){switch(c){case 550:o["!rel"]=e;break;case 651:a.Sheets[n]||(a.Sheets[n]={}),e.name&&(a.Sheets[n].CodeName=e.name);break;case 562:case 652:case 669:case 679:case 551:case 552:case 476:case 3072:break;case 35:s=!0;break;case 36:s=!1;break;case 37:i.push(r);break;case 38:i.pop();break;default:if((r||"").indexOf("Begin")>0)i.push(r);else if((r||"").indexOf("End")>0)i.pop();else if(!s||t.WTF)throw new Error("Unexpected record "+c+" "+r)}}),t),r["!id"][o["!rel"]]&&(o["!drawel"]=r["!id"][o["!rel"]]),o}(e,r,n,a,o):function(e,t,n,r,a){if(!e)return e;r||(r={"!id":{}});var o,i={"!type":"chart","!drawel":null,"!rel":""},s=e.match(Ts);return s&&Bs(s[0],0,a,n),(o=e.match(/drawing r:id="(.*?)"/))&&(i["!rel"]=o[1]),r["!id"][i["!rel"]]&&(i["!drawel"]=r["!id"][i["!rel"]]),i}(e,0,n,a,o)}function wc(e,t,n,r){return".bin"===t.slice(-4)?function(e,t,n){var r={NumberFmt:[]};for(var a in D._table)r.NumberFmt[a]=D._table[a];r.CellXf=[],r.Fonts=[];var o=[],i=!1;return Vt(e,(function(e,a,s){switch(s){case 44:r.NumberFmt[e[0]]=e[1],D.load(e[1],e[0]);break;case 43:r.Fonts.push(e),null!=e.color.theme&&t&&t.themeElements&&t.themeElements.clrScheme&&(e.color.rgb=vo(t.themeElements.clrScheme[e.color.theme].rgb,e.color.tint||0));break;case 1025:case 45:case 46:break;case 47:"BrtBeginCellXFs"==o[o.length-1]&&r.CellXf.push(e);break;case 48:case 507:case 572:case 475:break;case 1171:case 2102:case 1130:case 512:case 2095:case 3072:break;case 35:i=!0;break;case 36:i=!1;break;case 37:o.push(a),i=!0;break;case 38:o.pop(),i=!1;break;default:if((a||"").indexOf("Begin")>0)o.push(a);else if((a||"").indexOf("End")>0)o.pop();else if(!i||n.WTF&&"BrtACBegin"!=o[o.length-1])throw new Error("Unexpected record "+s+" "+a)}})),r}(e,n,r):Po(e,n,r)}function Ec(e,t,n){return".bin"===t.slice(-4)?function(e,t){var n=[],r=!1;return Vt(e,(function(e,a,o){switch(o){case 159:n.Count=e[0],n.Unique=e[1];break;case 19:n.push(e);break;case 160:return!0;case 35:r=!0;break;case 36:r=!1;break;default:if(a.indexOf("Begin")>0||a.indexOf("End"),!r||t.WTF)throw new Error("Unexpected record "+o+" "+a)}})),n}(e,n):function(e,t){var n=[],r="";if(!e)return n;var a=e.match(Xa);if(a){r=a[2].replace(Za,"").split($a);for(var o=0;o!=r.length;++o){var i=Ga(r[o].trim(),t);null!=i&&(n[n.length]=i)}a=Oe(a[1]),n.Count=a.count,n.Unique=a.uniqueCount}return n}(e,n)}function Cc(e,t,n){return".bin"===t.slice(-4)?function(e,t){var n=[],r=[],a={},o=!1;return Vt(e,(function(e,i,s){switch(s){case 632:r.push(e);break;case 635:a=e;break;case 637:a.t=e.t,a.h=e.h,a.r=e.r;break;case 636:if(a.author=r[a.iauthor],delete a.iauthor,t.sheetRows&&a.rfx&&t.sheetRows<=a.rfx.r)break;a.t||(a.t=""),delete a.rfx,n.push(a);break;case 3072:break;case 35:o=!0;break;case 36:o=!1;break;case 37:case 38:break;default:if((i||"").indexOf("Begin")>0);else if((i||"").indexOf("End")>0);else if(!o||t.WTF)throw new Error("Unexpected record "+s+" "+i)}})),n}(e,n):function(e,t){if(e.match(/<(?:\w+:)?comments *\/>/))return[];var n=[],r=[],a=e.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/);a&&a[1]&&a[1].split(/<\/\w*:?author>/).forEach((function(e){if(""!==e&&""!==e.trim()){var t=e.match(/<(?:\w+:)?author[^>]*>(.*)/);t&&n.push(t[1])}}));var o=e.match(/<(?:\w+:)?commentList>([\s\S]*)<\/(?:\w+:)?commentList>/);return o&&o[1]&&o[1].split(/<\/\w*:?comment>/).forEach((function(e){if(""!==e&&""!==e.trim()){var a=e.match(/<(?:\w+:)?comment[^>]*>/);if(a){var o=Oe(a[0]),i={author:o.authorId&&n[o.authorId]||"sheetjsghost",ref:o.ref,guid:o.guid},s=Qt(o.ref);if(!(t.sheetRows&&t.sheetRows<=s.r)){var c=e.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/),l=!!c&&!!c[1]&&Ga(c[1])||{r:"",t:"",h:""};i.r=l.r,""==l.r&&(l.t=l.h=""),i.t=(l.t||"").replace(/\r\n/g,"\n").replace(/\r/g,"\n"),t.cellHTML&&(i.h=l.h),r.push(i)}}}})),r}(e,n)}function Oc(e,t,n){return".bin"===t.slice(-4)?function(e,t,n){var r=[];return Vt(e,(function(e,t,n){switch(n){case 63:r.push(e);break;default:if((t||"").indexOf("Begin")>0);else if(!((t||"").indexOf("End")>0))throw new Error("Unexpected record "+n+" "+t)}})),r}(e):function(e){var t=[];if(!e)return t;var n=1;return(e.match(we)||[]).forEach((function(e){var r=Oe(e);switch(r[0]){case"":case"":break;case"0);else if((t||"").indexOf("End")>0);else if(!o||a.WTF)throw new Error("Unexpected record "+n.toString(16)+" "+t)}}),a)}(e,0,0,r)}function xc(e,t,n){return(".bin"===t.slice(-4)?vc:pc)(e,n)}function kc(e,t,n,r,a){return(".bin"===t.slice(-4)?ec:Fs)(e,n,r,a)}function Tc(e,t,n){return(".bin"===t.slice(-4)?eo:Ja)(e,n)}function Ac(e,t,n){return(".bin"===t.slice(-4)?ci:ii)(e,n)}var Pc=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g,Dc=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;function Bc(e,t){var n=e.split(/\s+/),r=[];if(t||(r[0]=n[0]),1===n.length)return r;var a,o,i,s=e.match(Pc);if(s)for(i=0;i!=s.length;++i)-1===(o=(a=s[i].match(Dc))[1].indexOf(":"))?r[a[1]]=a[2].slice(1,a[2].length-1):r["xmlns:"===a[1].slice(0,6)?"xmlns"+a[1].slice(6):a[1].slice(o+1)]=a[2].slice(1,a[2].length-1);return r}function Nc(e){var t={};if(1===e.split(/\s+/).length)return t;var n,r,a,o=e.match(Pc);if(o)for(a=0;a!=o.length;++a)-1===(r=(n=o[a].match(Dc))[1].indexOf(":"))?t[n[1]]=n[2].slice(1,n[2].length-1):t["xmlns:"===n[1].slice(0,6)?"xmlns"+n[1].slice(6):n[1].slice(r+1)]=n[2].slice(1,n[2].length-1);return t}function Ic(e,t,n,r){var a=r;switch((n[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":a=je(r);break;case"i2":case"int":a=parseInt(r,10);break;case"r4":case"float":a=parseFloat(r);break;case"date":case"dateTime.tz":a=te(r);break;case"i8":case"string":case"fixed":case"uuid":case"bin.base64":break;default:throw new Error("bad custprop:"+n[0])}e[Te(t)]=a}function Rc(e,t,n){if("z"!==e.t){if(!n||!1!==n.cellText)try{"e"===e.t?e.w=e.w||Yn[e.v]:"General"===t?"n"===e.t?(0|e.v)===e.v?e.w=D._general_int(e.v):e.w=D._general_num(e.v):e.w=D._general(e.v):e.w=function(e,t){var n=I[e]||Te(e);return"General"===n?D._general(t):D.format(n,t)}(t||"General",e.v)}catch(pu){if(n.WTF)throw pu}try{var r=I[t]||t||"General";if(n.cellNF&&(e.z=r),n.cellDates&&"n"==e.t&&D.is_date(r)){var a=D.parse_date_code(e.v);a&&(e.t="d",e.v=new Date(a.y,a.m-1,a.d,a.H,a.M,a.S,a.u))}}catch(pu){if(n.WTF)throw pu}}}function Mc(e,t,n){if(n.cellStyles&&t.Interior){var r=t.Interior;r.Pattern&&(r.patternType=ko[r.Pattern]||r.Pattern)}e[t.ID]=t}function jc(e,t,n,r,a,o,i,s,c,l){var u="General",f=r.StyleID,h={};l=l||{};var d=[],p=0;for(void 0===f&&s&&(f=s.StyleID),void 0===f&&i&&(f=i.StyleID);void 0!==o[f]&&(o[f].nf&&(u=o[f].nf),o[f].Interior&&d.push(o[f].Interior),o[f].Parent);)f=o[f].Parent;switch(n.Type){case"Boolean":r.t="b",r.v=je(e);break;case"String":r.t="s",r.r=Re(Te(e)),r.v=e.indexOf("<")>-1?Te(t||e).replace(/<.*?>/g,""):r.r;break;case"DateTime":"Z"!=e.slice(-1)&&(e+="Z"),r.v=(te(e)-new Date(Date.UTC(1899,11,30)))/864e5,r.v!==r.v?r.v=Te(e):r.v<60&&(r.v=r.v-1),u&&"General"!=u||(u="yyyy-mm-dd");case"Number":void 0===r.v&&(r.v=+e),r.t||(r.t="n");break;case"Error":r.t="e",r.v=Kn[e],!1!==l.cellText&&(r.w=e);break;default:""==e&&""==t?r.t="z":(r.t="s",r.v=Re(t||e))}if(Rc(r,u,l),!1!==l.cellFormula)if(r.Formula){var m=Te(r.Formula);61==m.charCodeAt(0)&&(m=m.slice(1)),r.f=ui(m,a),delete r.Formula,"RC"==r.ArrayRange?r.F=ui("RC:RC",a):r.ArrayRange&&(r.F=ui(r.ArrayRange,a),c.push([rn(r.F),r.F]))}else for(p=0;p=c[p][0].s.r&&a.r<=c[p][0].e.r&&a.c>=c[p][0].s.c&&a.c<=c[p][0].e.c&&(r.F=c[p][1]);l.cellStyles&&(d.forEach((function(e){!h.patternType&&e.patternType&&(h.patternType=e.patternType)})),r.s=h),void 0!==r.StyleID&&(r.ixfe=r.StyleID)}function Lc(e){e.t=e.v||"",e.t=e.t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),e.v=e.w=e.ixfe=void 0}function Fc(e){if(y&&a.isBuffer(e))return e.toString("utf8");if("string"===typeof e)return e;if("undefined"!==typeof Uint8Array&&e instanceof Uint8Array)return Le(x(k(e)));throw new Error("Bad input format: expected Buffer or string")}var zc=/<(\/?)([^\s?>:\/]+)(?:[\s?:\/][^>]*)?>/gm;function Uc(e,t){var n=t||{};B(D);var r=m(Fc(e));"binary"!=n.type&&"array"!=n.type&&"base64"!=n.type||(r="undefined"!==typeof cptable?cptable.utils.decode(65001,p(r)):Le(r));var a,o=r.slice(0,1024).toLowerCase(),i=!1;if((1023&(o=o.replace(/".*?"/g,"")).indexOf(">"))>Math.min(1023&o.indexOf(","),1023&o.indexOf(";"))){var s=re(n);return s.type="string",za.to_workbook(r,s)}if(-1==o.indexOf("=0&&(i=!0)})),i)return yl.to_workbook(r,n);var c,l=[];var u,f={},h=[],d=n.dense?[]:{},g="",v={},b={},y=Bc(''),_=0,w=0,E=0,C={s:{r:2e6,c:2e6},e:{r:0,c:0}},O={},S={},x="",k=0,T=[],A={},P={},N=0,R=[],M=[],j={},L=[],F=!1,z=[],U=[],V={},H=0,W=0,Y={Sheets:[],WBProps:{date1904:!1}},K={};zc.lastIndex=0,r=r.replace(//gm,"");for(var G="";a=zc.exec(r);)switch(a[3]=(G=a[3]).toLowerCase()){case"data":if("data"==G){if("/"===a[1]){if((c=l.pop())[0]!==a[3])throw new Error("Bad state: "+c.join("|"))}else"/"!==a[0].charAt(a[0].length-2)&&l.push([a[3],!0]);break}if(l[l.length-1][1])break;"/"===a[1]?jc(r.slice(_,a.index),x,y,"comment"==l[l.length-1][0]?j:v,{c:w,r:E},O,L[w],b,z,n):(x="",y=Bc(a[0]),_=a.index+a[0].length);break;case"cell":if("/"===a[1])if(M.length>0&&(v.c=M),(!n.sheetRows||n.sheetRows>E)&&void 0!==v.v&&(n.dense?(d[E]||(d[E]=[]),d[E][w]=v):d[Jt(w)+$t(E)]=v),v.HRef&&(v.l={Target:Te(v.HRef)},v.HRefScreenTip&&(v.l.Tooltip=v.HRefScreenTip),delete v.HRef,delete v.HRefScreenTip),(v.MergeAcross||v.MergeDown)&&(H=w+(0|parseInt(v.MergeAcross,10)),W=E+(0|parseInt(v.MergeDown,10)),T.push({s:{c:w,r:E},e:{c:H,r:W}})),n.sheetStubs)if(v.MergeAcross||v.MergeDown){for(var X=w;X<=H;++X)for(var Z=E;Z<=W;++Z)(X>w||Z>E)&&(n.dense?(d[Z]||(d[Z]=[]),d[Z][X]={t:"z"}):d[Jt(X)+$t(Z)]={t:"z"});w=H+1}else++w;else v.MergeAcross?w=H+1:++w;else(v=Nc(a[0])).Index&&(w=+v.Index-1),wC.e.c&&(C.e.c=w),"/>"===a[0].slice(-2)&&++w,M=[];break;case"row":"/"===a[1]||"/>"===a[0].slice(-2)?(EC.e.r&&(C.e.r=E),"/>"===a[0].slice(-2)&&(b=Bc(a[0])).Index&&(E=+b.Index-1),w=0,++E):((b=Bc(a[0])).Index&&(E=+b.Index-1),V={},("0"==b.AutoFitHeight||b.Height)&&(V.hpx=parseInt(b.Height,10),V.hpt=So(V.hpx),U[E]=V),"1"==b.Hidden&&(V.hidden=!0,U[E]=V));break;case"worksheet":if("/"===a[1]){if((c=l.pop())[0]!==a[3])throw new Error("Bad state: "+c.join("|"));h.push(g),C.s.r<=C.e.r&&C.s.c<=C.e.c&&(d["!ref"]=nn(C),n.sheetRows&&n.sheetRows<=C.e.r&&(d["!fullref"]=d["!ref"],C.e.r=n.sheetRows-1,d["!ref"]=nn(C))),T.length&&(d["!merges"]=T),L.length>0&&(d["!cols"]=L),U.length>0&&(d["!rows"]=U),f[g]=d}else C={s:{r:2e6,c:2e6},e:{r:0,c:0}},E=w=0,l.push([a[3],!1]),c=Bc(a[0]),g=Te(c.Name),d=n.dense?[]:{},T=[],z=[],U=[],K={name:g,Hidden:0},Y.Sheets.push(K);break;case"table":if("/"===a[1]){if((c=l.pop())[0]!==a[3])throw new Error("Bad state: "+c.join("|"))}else{if("/>"==a[0].slice(-2))break;Bc(a[0]),l.push([a[3],!1]),L=[],F=!1}break;case"style":"/"===a[1]?Mc(O,S,n):S=Bc(a[0]);break;case"numberformat":S.nf=Te(Bc(a[0]).Format||"General"),I[S.nf]&&(S.nf=I[S.nf]);for(var $=0;392!=$&&D._table[$]!=S.nf;++$);if(392==$)for($=57;392!=$;++$)if(null==D._table[$]){D.load(S.nf,$);break}break;case"column":if("table"!==l[l.length-1][0])break;if((u=Bc(a[0])).Hidden&&(u.hidden=!0,delete u.Hidden),u.Width&&(u.wpx=parseInt(u.Width,10)),!F&&u.wpx>10){F=!0,bo=6;for(var q=0;q0&&(ee.Sheet=Y.Sheets.length-1),Y.Names.push(ee);break;case"namedcell":case"b":case"i":case"u":case"s":case"em":case"h2":case"h3":case"sub":case"sup":case"span":case"alignment":case"borders":case"border":break;case"font":if("/>"===a[0].slice(-2))break;"/"===a[1]?x+=r.slice(k,a.index):k=a.index+a[0].length;break;case"interior":if(!n.cellStyles)break;S.Interior=Bc(a[0]);break;case"protection":break;case"author":case"title":case"description":case"created":case"keywords":case"subject":case"category":case"company":case"lastauthor":case"lastsaved":case"lastprinted":case"version":case"revision":case"totaltime":case"hyperlinkbase":case"manager":case"contentstatus":case"identifier":case"language":case"appname":if("/>"===a[0].slice(-2))break;"/"===a[1]?_r(A,G,r.slice(N,a.index)):N=a.index+a[0].length;break;case"paragraphs":break;case"styles":case"workbook":if("/"===a[1]){if((c=l.pop())[0]!==a[3])throw new Error("Bad state: "+c.join("|"))}else l.push([a[3],!1]);break;case"comment":if("/"===a[1]){if((c=l.pop())[0]!==a[3])throw new Error("Bad state: "+c.join("|"));Lc(j),M.push(j)}else l.push([a[3],!1]),j={a:(c=Bc(a[0])).Author};break;case"autofilter":if("/"===a[1]){if((c=l.pop())[0]!==a[3])throw new Error("Bad state: "+c.join("|"))}else if("/"!==a[0].charAt(a[0].length-2)){var te=Bc(a[0]);d["!autofilter"]={ref:ui(te.Range).replace(/\$/g,"")},l.push([a[3],!0])}break;case"name":break;case"datavalidation":if("/"===a[1]){if((c=l.pop())[0]!==a[3])throw new Error("Bad state: "+c.join("|"))}else"/"!==a[0].charAt(a[0].length-2)&&l.push([a[3],!0]);break;case"pixelsperinch":break;case"componentoptions":case"documentproperties":case"customdocumentproperties":case"officedocumentsettings":case"pivottable":case"pivotcache":case"names":case"mapinfo":case"pagebreaks":case"querytable":case"sorting":case"schema":case"conditionalformatting":case"smarttagtype":case"smarttags":case"excelworkbook":case"workbookoptions":case"worksheetoptions":if("/"===a[1]){if((c=l.pop())[0]!==a[3])throw new Error("Bad state: "+c.join("|"))}else"/"!==a[0].charAt(a[0].length-2)&&l.push([a[3],!0]);break;case"null":break;default:if(0==l.length&&"document"==a[3])return Sl(r,n);if(0==l.length&&"uof"==a[3])return Sl(r,n);var ne=!0;switch(l[l.length-1][0]){case"officedocumentsettings":switch(a[3]){case"allowpng":case"removepersonalinformation":case"downloadcomponents":case"locationofcomponents":case"colors":case"color":case"index":case"rgb":case"targetscreensize":case"readonlyrecommended":break;default:ne=!1}break;case"componentoptions":switch(a[3]){case"toolbar":case"hideofficelogo":case"spreadsheetautofit":case"label":case"caption":case"maxheight":case"maxwidth":case"nextsheetnumber":break;default:ne=!1}break;case"excelworkbook":switch(a[3]){case"date1904":Y.WBProps.date1904=!0;break;case"windowheight":case"windowwidth":case"windowtopx":case"windowtopy":case"tabratio":case"protectstructure":case"protectwindow":case"protectwindows":case"activesheet":case"displayinknotes":case"firstvisiblesheet":case"supbook":case"sheetname":case"sheetindex":case"sheetindexfirst":case"sheetindexlast":case"dll":case"acceptlabelsinformulas":case"donotsavelinkvalues":case"iteration":case"maxiterations":case"maxchange":case"path":case"xct":case"count":case"selectedsheets":case"calculation":case"uncalced":case"startupprompt":case"crn":case"externname":case"formula":case"colfirst":case"collast":case"wantadvise":case"boolean":case"error":case"text":case"ole":case"noautorecover":case"publishobjects":case"donotcalculatebeforesave":case"number":case"refmoder1c1":case"embedsavesmarttags":break;default:ne=!1}break;case"workbookoptions":switch(a[3]){case"owcversion":case"height":case"width":break;default:ne=!1}break;case"worksheetoptions":switch(a[3]){case"visible":if("/>"===a[0].slice(-2));else if("/"===a[1])switch(r.slice(N,a.index)){case"SheetHidden":K.Hidden=1;break;case"SheetVeryHidden":K.Hidden=2}else N=a.index+a[0].length;break;case"header":d["!margins"]||vs(d["!margins"]={},"xlml"),d["!margins"].header=Oe(a[0]).Margin;break;case"footer":d["!margins"]||vs(d["!margins"]={},"xlml"),d["!margins"].footer=Oe(a[0]).Margin;break;case"pagemargins":var ae=Oe(a[0]);d["!margins"]||vs(d["!margins"]={},"xlml"),ae.Top&&(d["!margins"].top=ae.Top),ae.Left&&(d["!margins"].left=ae.Left),ae.Right&&(d["!margins"].right=ae.Right),ae.Bottom&&(d["!margins"].bottom=ae.Bottom);break;case"displayrighttoleft":Y.Views||(Y.Views=[]),Y.Views[0]||(Y.Views[0]={}),Y.Views[0].RTL=!0;break;case"freezepanes":case"frozennosplit":break;case"splithorizontal":case"splitvertical":case"donotdisplaygridlines":case"activerow":case"activecol":case"toprowbottompane":case"leftcolumnrightpane":case"unsynced":case"print":case"printerrors":case"panes":case"scale":case"pane":case"number":case"layout":case"pagesetup":case"selected":case"protectobjects":case"enableselection":case"protectscenarios":case"validprinterinfo":case"horizontalresolution":case"verticalresolution":case"numberofcopies":case"activepane":case"toprowvisible":case"leftcolumnvisible":case"fittopage":case"rangeselection":case"papersizeindex":case"pagelayoutzoom":case"pagebreakzoom":case"filteron":case"fitwidth":case"fitheight":case"commentslayout":case"zoom":case"lefttoright":case"gridlines":case"allowsort":case"allowfilter":case"allowinsertrows":case"allowdeleterows":case"allowinsertcols":case"allowdeletecols":case"allowinserthyperlinks":case"allowformatcells":case"allowsizecols":case"allowsizerows":break;case"nosummaryrowsbelowdetail":d["!outline"]||(d["!outline"]={}),d["!outline"].above=!0;break;case"tabcolorindex":case"donotdisplayheadings":case"showpagelayoutzoom":break;case"nosummarycolumnsrightdetail":d["!outline"]||(d["!outline"]={}),d["!outline"].left=!0;break;case"blackandwhite":case"donotdisplayzeros":case"displaypagebreak":case"rowcolheadings":case"donotdisplayoutline":case"noorientation":case"allowusepivottables":case"zeroheight":case"viewablerange":case"selection":case"protectcontents":break;default:ne=!1}break;case"pivottable":case"pivotcache":switch(a[3]){case"immediateitemsondrop":case"showpagemultipleitemlabel":case"compactrowindent":case"location":case"pivotfield":case"orientation":case"layoutform":case"layoutsubtotallocation":case"layoutcompactrow":case"position":case"pivotitem":case"datatype":case"datafield":case"sourcename":case"parentfield":case"ptlineitems":case"ptlineitem":case"countofsameitems":case"item":case"itemtype":case"ptsource":case"cacheindex":case"consolidationreference":case"filename":case"reference":case"nocolumngrand":case"norowgrand":case"blanklineafteritems":case"hidden":case"subtotal":case"basefield":case"mapchilditems":case"function":case"refreshonfileopen":case"printsettitles":case"mergelabels":case"defaultversion":case"refreshname":case"refreshdate":case"refreshdatecopy":case"versionlastrefresh":case"versionlastupdate":case"versionupdateablemin":case"versionrefreshablemin":case"calculation":break;default:ne=!1}break;case"pagebreaks":switch(a[3]){case"colbreaks":case"colbreak":case"rowbreaks":case"rowbreak":case"colstart":case"colend":case"rowend":break;default:ne=!1}break;case"autofilter":switch(a[3]){case"autofiltercolumn":case"autofiltercondition":case"autofilterand":case"autofilteror":break;default:ne=!1}break;case"querytable":switch(a[3]){case"id":case"autoformatfont":case"autoformatpattern":case"querysource":case"querytype":case"enableredirections":case"refreshedinxl9":case"urlstring":case"htmltables":case"connection":case"commandtext":case"refreshinfo":case"notitles":case"nextid":case"columninfo":case"overwritecells":case"donotpromptforfile":case"textwizardsettings":case"source":case"number":case"decimal":case"thousandseparator":case"trailingminusnumbers":case"formatsettings":case"fieldtype":case"delimiters":case"tab":case"comma":case"autoformatname":case"versionlastedit":case"versionlastrefresh":break;default:ne=!1}break;case"datavalidation":switch(a[3]){case"range":case"type":case"min":case"max":case"sort":case"descending":case"order":case"casesensitive":case"value":case"errorstyle":case"errormessage":case"errortitle":case"inputmessage":case"inputtitle":case"combohide":case"inputhide":case"condition":case"qualifier":case"useblank":case"value1":case"value2":case"format":case"cellrangelist":break;default:ne=!1}break;case"sorting":case"conditionalformatting":switch(a[3]){case"range":case"type":case"min":case"max":case"sort":case"descending":case"order":case"casesensitive":case"value":case"errorstyle":case"errormessage":case"errortitle":case"cellrangelist":case"inputmessage":case"inputtitle":case"combohide":case"inputhide":case"condition":case"qualifier":case"useblank":case"value1":case"value2":case"format":break;default:ne=!1}break;case"mapinfo":case"schema":case"data":switch(a[3]){case"map":case"entry":case"range":case"xpath":case"field":case"xsdtype":case"filteron":case"aggregate":case"elementtype":case"attributetype":break;case"schema":case"element":case"complextype":case"datatype":case"all":case"attribute":case"extends":case"row":break;default:ne=!1}break;case"smarttags":break;default:ne=!1}if(ne)break;if(a[3].match(/!\[CDATA/))break;if(!l[l.length-1][1])throw"Unrecognized tag: "+a[3]+"|"+l.join("|");if("customdocumentproperties"===l[l.length-1][0]){if("/>"===a[0].slice(-2))break;"/"===a[1]?Ic(P,G,R,r.slice(N,a.index)):(R=a,N=a.index+a[0].length);break}if(n.WTF)throw"Unrecognized tag: "+a[3]+"|"+l.join("|")}var oe={};return n.bookSheets||n.bookProps||(oe.Sheets=f),oe.SheetNames=h,oe.Workbook=Y,oe.SSF=D.get_table(),oe.Props=A,oe.Custprops=P,oe}function Vc(e,t){switch(Ul(t=t||{}),t.type||"base64"){case"base64":return Uc(b.decode(e),t);case"binary":case"buffer":case"file":return Uc(e,t);case"array":return Uc(x(e),t)}}function Hc(e,t){var n=[];return e.Props&&n.push(function(e,t){var n=[];return U(br).map((function(e){for(var t=0;t'+a.join("")+""+r+">"}(e.Props,e.Custprops)),n.join("")}function Wc(e){return Je("NamedRange",null,{"ss:Name":e.Name,"ss:RefersTo":"="+hi(e.Ref,{r:0,c:0})})}function Yc(e,t,n,r,a,o,i){if(!e||void 0==e.v&&void 0==e.f)return"";var s={};if(e.f&&(s["ss:Formula"]="="+De(hi(e.f,i))),e.F&&e.F.slice(0,t.length)==t){var c=Qt(e.F.slice(t.length+1));s["ss:ArrayRange"]="RC:R"+(c.r==i.r?"":"["+(c.r-i.r)+"]")+"C"+(c.c==i.c?"":"["+(c.c-i.c)+"]")}if(e.l&&e.l.Target&&(s["ss:HRef"]=De(e.l.Target),e.l.Tooltip&&(s["x:HRefScreenTip"]=De(e.l.Tooltip))),n["!merges"])for(var l=n["!merges"],u=0;u!=l.length;++u)l[u].s.c==i.c&&l[u].s.r==i.r&&(l[u].e.c>l[u].s.c&&(s["ss:MergeAcross"]=l[u].e.c-l[u].s.c),l[u].e.r>l[u].s.r&&(s["ss:MergeDown"]=l[u].e.r-l[u].s.r));var f="",h="";switch(e.t){case"z":if(!r.sheetStubs)return"";break;case"n":f="Number",h=String(e.v);break;case"b":f="Boolean",h=e.v?"1":"0";break;case"e":f="Error",h=Yn[e.v];break;case"d":f="DateTime",h=new Date(e.v).toISOString(),null==e.z&&(e.z=e.z||D._table[14]);break;case"s":f="String",h=((e.v||"")+"").replace(Ae,(function(e){return ke[e]})).replace(Ne,(function(e){return""+e.charCodeAt(0).toString(16).toUpperCase()+";"}))}var d=bs(r.cellXfs,e,r);s["ss:StyleID"]="s"+(21+d),s["ss:Index"]=i.c+1;var p=null!=e.v?h:"",m="z"==e.t?"":''+p+"";return(e.c||[]).length>0&&(m+=e.c.map((function(e){var t=Je("ss:Data",Me(e.t||""),{xmlns:"http://www.w3.org/TR/REC-html40"});return Je("Comment",t,{"ss:Author":e.a})})).join("")),Je("Cell",m,s)}function Kc(e,t){var n='"}function Gc(e,t,n){var r=[],a=n.SheetNames[e],o=n.Sheets[a],i=o?function(e,t,n,r){if(!e)return"";if(!((r||{}).Workbook||{}).Names)return"";for(var a=r.Workbook.Names,o=[],i=0;i0&&r.push(""+i+""),(i=o?function(e,t,n,r){if(!e["!ref"])return"";var a=rn(e["!ref"]),o=e["!merges"]||[],i=0,s=[];e["!cols"]&&e["!cols"].forEach((function(e,t){Oo(e);var n=!!e.width,r=gs(t,e),a={"ss:Index":t+1};n&&(a["ss:Width"]=yo(r.width)),e.hidden&&(a["ss:Hidden"]="1"),s.push(Je("Column",null,a))}));for(var c=Array.isArray(e),l=a.s.r;l<=a.e.r;++l){for(var u=[Kc(l,(e["!rows"]||[])[l])],f=a.s.c;f<=a.e.c;++f){var h=!1;for(i=0;i!=o.length;++i)if(!(o[i].s.c>f)&&!(o[i].s.r>l)&&!(o[i].e.c"),u.length>2&&s.push(u.join(""))}return s.join("")}(o,t):"").length>0&&r.push(""),r.push(function(e,t,n,r){if(!e)return"";var a=[];if(e["!margins"]&&(a.push(""),e["!margins"].header&&a.push(Je("Header",null,{"x:Margin":e["!margins"].header})),e["!margins"].footer&&a.push(Je("Footer",null,{"x:Margin":e["!margins"].footer})),a.push(Je("PageMargins",null,{"x:Bottom":e["!margins"].bottom||"0.75","x:Left":e["!margins"].left||"0.7","x:Right":e["!margins"].right||"0.7","x:Top":e["!margins"].top||"0.75"})),a.push("")),r&&r.Workbook&&r.Workbook.Sheets&&r.Workbook.Sheets[n])if(r.Workbook.Sheets[n].Hidden)a.push(Je("Visible",1==r.Workbook.Sheets[n].Hidden?"SheetHidden":"SheetVeryHidden",{}));else{for(var o=0;o")}return((((r||{}).Workbook||{}).Views||[])[0]||{}).RTL&&a.push(""),e["!protect"]&&(a.push($e("ProtectContents","True")),e["!protect"].objects&&a.push($e("ProtectObjects","True")),e["!protect"].scenarios&&a.push($e("ProtectScenarios","True")),null==e["!protect"].selectLockedCells||e["!protect"].selectLockedCells?null==e["!protect"].selectUnlockedCells||e["!protect"].selectUnlockedCells||a.push($e("EnableSelection","UnlockedCells")):a.push($e("EnableSelection","NoSelection")),[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","AllowSizeRows"],["insertColumns","AllowInsertCols"],["insertRows","AllowInsertRows"],["insertHyperlinks","AllowInsertHyperlinks"],["deleteColumns","AllowDeleteCols"],["deleteRows","AllowDeleteRows"],["sort","AllowSort"],["autoFilter","AllowFilter"],["pivotTables","AllowUsePivotTables"]].forEach((function(t){e["!protect"][t[0]]&&a.push("<"+t[1]+"/>")}))),0==a.length?"":Je("WorksheetOptions",a.join(""),{xmlns:at})}(o,0,e,n)),r.join("")}function Xc(e,t){t||(t={}),e.SSF||(e.SSF=D.get_table()),e.SSF&&(B(D),D.load_table(e.SSF),t.revssf=W(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF,t.cellXfs=[],bs(t.cellXfs,{},{revssf:{General:0}}));var n=[];n.push(Hc(e,t)),n.push(""),n.push(""),n.push("");for(var r=0;r'];return t.cellXfs.forEach((function(e,t){var r=[];r.push(Je("NumberFormat",null,{"ss:Format":De(D._table[e.numFmtId])}));var a={"ss:ID":"s"+(21+t)};n.push(Je("Style",r.join(""),a))})),Je("Styles",n.join(""))}(0,t),n[3]=function(e){if(!((e||{}).Workbook||{}).Names)return"";for(var t=e.Workbook.Names,n=[],r=0;r40?t:(n.l-=4,t.Reserved1=n.read_shift(0,"lpstr-ansi"),n.length-n.l<=4||1907505652!==(r=n.read_shift(4))?t:(t.UnicodeClipboardFormat=function(e){return Mn(e,2)}(n),0==(r=n.read_shift(4))||r>40?t:(n.l-=4,void(t.Reserved2=n.read_shift(0,"lpwstr")))))}function $c(e,t,n,r){var a=n,o=[],i=t.slice(t.l,t.l+a);if(r&&r.enc&&r.enc.insitu&&i.length>0)switch(e.n){case"BOF":case"FilePass":case"FileLock":case"InterfaceHdr":case"RRDInfo":case"RRDHead":case"UsrExcl":case"EOF":case"BoundSheet8":break;default:r.enc.insitu(i)}o.push(i),t.l+=a;for(var s=sl[Pt(t,t.l)],c=0;null!=s&&"Continue"===s.n.slice(0,8);)a=Pt(t,t.l+2),c=t.l+4,"ContinueFrt"==s.n?c+=4:"ContinueFrt"==s.n.slice(0,11)&&(c+=12),i=t.slice(c,t.l+4+a),o.push(i),t.l+=4+a,s=sl[Pt(t,t.l)];var l=T(o);Ft(l,0);var u=0;l.lens=[];for(var f=0;f1)&&!(n.sheetRows&&e.r>=n.sheetRows)){if(n.cellStyles&&t.XF&&t.XF.data&&function(e,t,n){var r,a=t.XF.data;a&&a.patternType&&n&&n.cellStyles&&(t.s={},t.s.patternType=a.patternType,(r=go(k(a.icvFore)))&&(t.s.fgColor={rgb:r}),(r=go(k(a.icvBack)))&&(t.s.bgColor={rgb:r}))}(0,t,n),delete t.ixfe,delete t.XF,a=e,_=en(e),m&&m.s&&m.e||(m={s:{r:0,c:0},e:{r:0,c:0}}),e.rm.e.r&&(m.e.r=e.r+1),e.c+1>m.e.c&&(m.e.c=e.c+1),n.cellFormula&&t.f)for(var r=0;re.c||E[r][0].s.r>e.r)&&!(E[r][0].e.c>8)!==K)throw new Error("rt mismatch: "+Z+"!="+K);12==X.r&&(e.l+=10,G-=10)}var $={};$="EOF"===X.n?X.f(e,G,A):$c(X,e,G,A);var q=X.n;if(0==F&&"BOF"!=q)continue;switch(q){case"Date1904":n.opts.Date1904=S.WBProps.date1904=$;break;case"WriteProtect":n.opts.WriteProtect=!0;break;case"FilePass":if(A.enc||(e.l=0),A.enc=$,!t.password)throw new Error("File is password-protected");if(null==$.valid)throw new Error("Encryption scheme unsupported");if(!$.valid)throw new Error("Password is incorrect");break;case"WriteAccess":A.lastuser=$;break;case"FileSharing":break;case"CodePage":var J=Number($);switch(J){case 21010:J=1200;break;case 32768:J=1e4;break;case 32769:J=1252}h(A.codepage=J),W=!0;break;case"RRTabId":A.rrtabid=$;break;case"WinProtect":A.winlocked=$;break;case"Template":case"BookBool":case"UsesELFs":case"MTRSettings":break;case"RefreshAll":case"CalcCount":case"CalcDelta":case"CalcIter":case"CalcMode":case"CalcPrecision":case"CalcSaveRecalc":n.opts[q]=$;break;case"CalcRefMode":A.CalcRefMode=$;break;case"Uncalced":break;case"ForceFullCalculation":n.opts.FullCalc=$;break;case"WsBool":$.fDialog&&(d["!type"]="dialog"),$.fBelow||((d["!outline"]||(d["!outline"]={})).above=!0),$.fRight||((d["!outline"]||(d["!outline"]={})).left=!0);break;case"XF":C.push($);break;case"ExtSST":case"BookExt":case"RichTextStream":case"BkHim":break;case"SupBook":M.push([$]),M[M.length-1].XTI=[];break;case"ExternName":M[M.length-1].push($);break;case"Index":break;case"Lbl":j={Name:$.Name,Ref:$i($.rgce,0,null,M,A)},$.itab>0&&(j.Sheet=$.itab-1),M.names.push(j),M[0]||(M[0]=[],M[0].XTI=[]),M[M.length-1].push($),"_xlnm._FilterDatabase"==$.Name&&$.itab>0&&$.rgce&&$.rgce[0]&&$.rgce[0][0]&&"PtgArea3d"==$.rgce[0][0][0]&&(H[$.itab-1]={ref:nn($.rgce[0][0][1][2])});break;case"ExternCount":A.ExternCount=$;break;case"ExternSheet":0==M.length&&(M[0]=[],M[0].XTI=[]),M[M.length-1].XTI=M[M.length-1].XTI.concat($),M.XTI=M.XTI.concat($);break;case"NameCmt":if(A.biff<8)break;null!=j&&(j.Comment=$[1]);break;case"Protect":d["!protect"]=$;break;case"Password":0!==$&&A.WTF&&console.error("Password verifier: "+$);break;case"Prot4Rev":case"Prot4RevPass":break;case"BoundSheet8":p[$.pos]=$,A.snames.push($.name);break;case"EOF":if(--F)break;if(m.e){if(m.e.r>0&&m.e.c>0){if(m.e.r--,m.e.c--,d["!ref"]=nn(m),t.sheetRows&&t.sheetRows<=m.e.r){var Q=m.e.r;m.e.r=t.sheetRows-1,d["!fullref"]=d["!ref"],d["!ref"]=nn(m),m.e.r=Q}m.e.r++,m.e.c++}P.length>0&&(d["!merges"]=P),B.length>0&&(d["!objects"]=B),N.length>0&&(d["!cols"]=N),I.length>0&&(d["!rows"]=I),S.Sheets.push(x)}""===b?y=d:r[b]=d,d=t.dense?[]:{};break;case"BOF":if(8===A.biff&&(A.biff={9:2,521:3,1033:4}[K]||{512:2,768:3,1024:4,1280:5,1536:8,2:2,7:2}[$.BIFFVer]||8),A.biffguess=0==$.BIFFVer,0==$.BIFFVer&&4096==$.dt&&(A.biff=5,W=!0,h(A.codepage=28591)),8==A.biff&&0==$.BIFFVer&&16==$.dt&&(A.biff=2),F++)break;if(d=t.dense?[]:{},A.biff<8&&!W&&(W=!0,h(A.codepage=t.codepage||1252)),A.biff<5||0==$.BIFFVer&&4096==$.dt){""===b&&(b="Sheet1"),m={s:{r:0,c:0},e:{r:0,c:0}};var ee={pos:e.l-G,name:b};p[ee.pos]=ee,A.snames.push(b)}else b=(p[Y]||{name:""}).name;32==$.dt&&(d["!type"]="chart"),64==$.dt&&(d["!type"]="macro"),P=[],B=[],A.arrayf=E=[],N=[],I=[],0,R=!1,x={Hidden:(p[Y]||{hs:0}).hs,name:b};break;case"Number":case"BIFF2NUM":case"BIFF2INT":"chart"==d["!type"]&&(t.dense?(d[$.r]||[])[$.c]:d[en({c:$.c,r:$.r})])&&++$.c,l={ixfe:$.ixfe,XF:C[$.ixfe]||{},v:$.val,t:"n"},z>0&&(l.z=V[l.ixfe>>8&63]),qc(l,t,n.opts.Date1904),T({c:$.c,r:$.r},l,t);break;case"BoolErr":l={ixfe:$.ixfe,XF:C[$.ixfe],v:$.val,t:$.t},z>0&&(l.z=V[l.ixfe>>8&63]),qc(l,t,n.opts.Date1904),T({c:$.c,r:$.r},l,t);break;case"RK":l={ixfe:$.ixfe,XF:C[$.ixfe],v:$.rknum,t:"n"},z>0&&(l.z=V[l.ixfe>>8&63]),qc(l,t,n.opts.Date1904),T({c:$.c,r:$.r},l,t);break;case"MulRk":for(var te=$.c;te<=$.C;++te){var ne=$.rkrec[te-$.c][0];l={ixfe:ne,XF:C[ne],v:$.rkrec[te-$.c][1],t:"n"},z>0&&(l.z=V[l.ixfe>>8&63]),qc(l,t,n.opts.Date1904),T({c:te,r:$.r},l,t)}break;case"Formula":if("String"==$.val){g=$;break}if((l=Jc($.val,$.cell.ixfe,$.tt)).XF=C[l.ixfe],t.cellFormula){var re=$.formula;if(re&&re[0]&&re[0][0]&&"PtgExp"==re[0][0][0]){var ae=re[0][0][1][0],oe=re[0][0][1][1],ie=en({r:ae,c:oe});w[ie]?l.f=""+$i($.formula,0,$.cell,M,A):l.F=((t.dense?(d[ae]||[])[oe]:d[ie])||{}).F}else l.f=""+$i($.formula,0,$.cell,M,A)}z>0&&(l.z=V[l.ixfe>>8&63]),qc(l,t,n.opts.Date1904),T($.cell,l,t),g=$;break;case"String":if(!g)throw new Error("String record expects Formula");g.val=$,(l=Jc($,g.cell.ixfe,"s")).XF=C[l.ixfe],t.cellFormula&&(l.f=""+$i(g.formula,0,g.cell,M,A)),z>0&&(l.z=V[l.ixfe>>8&63]),qc(l,t,n.opts.Date1904),T(g.cell,l,t),g=null;break;case"Array":E.push($);var se=en($[0].s);if(o=t.dense?(d[$[0].s.r]||[])[$[0].s.c]:d[se],t.cellFormula&&o){if(!g)break;if(!se||!o)break;o.f=""+$i($[1],0,$[0],M,A),o.F=nn($[0])}break;case"ShrFmla":if(!t.cellFormula)break;if(_){if(!g)break;w[en(g.cell)]=$[0],((o=t.dense?(d[g.cell.r]||[])[g.cell.c]:d[en(g.cell)])||{}).f=""+$i($[0],0,a,M,A)}break;case"LabelSst":l=Jc(v[$.isst].t,$.ixfe,"s"),v[$.isst].h&&(l.h=v[$.isst].h),l.XF=C[l.ixfe],z>0&&(l.z=V[l.ixfe>>8&63]),qc(l,t,n.opts.Date1904),T({c:$.c,r:$.r},l,t);break;case"Blank":t.sheetStubs&&(l={ixfe:$.ixfe,XF:C[$.ixfe],t:"z"},z>0&&(l.z=V[l.ixfe>>8&63]),qc(l,t,n.opts.Date1904),T({c:$.c,r:$.r},l,t));break;case"MulBlank":if(t.sheetStubs)for(var ce=$.c;ce<=$.C;++ce){var le=$.ixfe[ce-$.c];l={ixfe:le,XF:C[le],t:"z"},z>0&&(l.z=V[l.ixfe>>8&63]),qc(l,t,n.opts.Date1904),T({c:ce,r:$.r},l,t)}break;case"RString":case"Label":case"BIFF2STR":(l=Jc($.val,$.ixfe,"s")).XF=C[l.ixfe],z>0&&(l.z=V[l.ixfe>>8&63]),qc(l,t,n.opts.Date1904),T({c:$.c,r:$.r},l,t);break;case"Dimensions":1===F&&(m=$);break;case"SST":v=$;break;case"Format":if(4==A.biff){V[z++]=$[1];for(var ue=0;ue=163&&D.load($[1],z+163)}else D.load($[1],$[0]);break;case"BIFF2FORMAT":V[z++]=$;for(var fe=0;fe=163&&D.load($,z+163);break;case"MergeCells":P=P.concat($);break;case"Obj":B[$.cmo[0]]=A.lastobj=$;break;case"TxO":A.lastobj.TxO=$;break;case"ImData":A.lastobj.ImData=$;break;case"HLink":for(c=$[0].s.r;c<=$[0].e.r;++c)for(s=$[0].s.c;s<=$[0].e.c;++s)(o=t.dense?(d[c]||[])[s]:d[en({c:s,r:c})])&&(o.l=$[1]);break;case"HLinkTooltip":for(c=$[0].s.r;c<=$[0].e.r;++c)for(s=$[0].s.c;s<=$[0].e.c;++s)(o=t.dense?(d[c]||[])[s]:d[en({c:s,r:c})])&&o.l&&(o.l.Tooltip=$[1]);break;case"Note":if(A.biff<=5&&A.biff>=2)break;o=t.dense?(d[$[0].r]||[])[$[0].c]:d[en($[0])];var he=B[$[2]];o||(t.dense?(d[$[0].r]||(d[$[0].r]=[]),o=d[$[0].r][$[0].c]={t:"z"}):o=d[en($[0])]={t:"z"},m.e.r=Math.max(m.e.r,$[0].r),m.s.r=Math.min(m.s.r,$[0].r),m.e.c=Math.max(m.e.c,$[0].c),m.s.c=Math.min(m.s.c,$[0].c)),o.c||(o.c=[]),i={a:$[1],t:he.TxO.t},o.c.push(i);break;default:switch(X.n){case"ClrtClient":break;case"XFExt":C[$.ixfe],$.ext.forEach((function(e){e[0]}));break;case"DefColWidth":$;break;case"DefaultRowHeight":$[1];break;case"ColInfo":if(!A.cellStyles)break;for(;$.e>=$.s;)N[$.e--]={width:$.w/256,level:$.level||0,hidden:!!(1&$.flags)},R||(R=!0,Co($.w/256)),Oo(N[$.e+1]);break;case"Row":var de={};null!=$.level&&(I[$.r]=de,de.level=$.level),$.hidden&&(I[$.r]=de,de.hidden=!0),$.hpt&&(I[$.r]=de,de.hpt=$.hpt,de.hpx=xo($.hpt));break;case"LeftMargin":case"RightMargin":case"TopMargin":case"BottomMargin":d["!margins"]||vs(d["!margins"]={}),d["!margins"][q.slice(0,-6).toLowerCase()]=$;break;case"Selection":break;case"Setup":d["!margins"]||vs(d["!margins"]={}),d["!margins"].header=$.header,d["!margins"].footer=$.footer;break;case"Window2":$.RTL&&(S.Views[0].RTL=!0);break;case"Header":case"Footer":case"HCenter":case"VCenter":case"Pls":case"GCW":case"LHRecord":case"DBCell":case"EntExU2":case"SxView":case"Sxvd":case"SXVI":case"SXVDEx":case"SxIvd":case"SXString":case"Sync":case"Addin":case"SXDI":case"SXLI":case"SXEx":case"QsiSXTag":case"Feat":break;case"FeatHdr":case"FeatHdr11":break;case"Feature11":case"Feature12":case"List12":break;case"Country":u=$;break;case"RecalcId":case"DxGCol":break;case"Fbi":case"Fbi2":case"GelFrame":case"Font":case"XFCRC":case"Style":case"StyleExt":break;case"Palette":O=$;break;case"Theme":f=$;break;case"ScenarioProtect":case"ObjProtect":case"CondFmt12":case"Table":case"TableStyles":case"TableStyle":case"TableStyleElement":case"SXStreamID":case"SXVS":case"DConRef":case"SXAddl":case"DConBin":case"DConName":case"SXPI":case"SxFormat":case"SxSelect":case"SxRule":case"SxFilt":case"SxItm":case"SxDXF":case"ScenMan":case"DCon":case"CellWatch":case"PrintRowCol":case"PrintGrid":case"PrintSize":case"XCT":case"CRN":case"Scl":case"SheetExt":case"SheetExtOptional":case"ObNoMacros":case"ObProj":break;case"CodeName":b?x.CodeName=$||x.name:S.WBProps.CodeName=$||"ThisWorkbook";break;case"GUIDTypeLib":case"WOpt":case"PhoneticInfo":case"OleObjectSize":break;case"DXF":case"DXFN":case"DXFN12":case"DXFN12List":case"DXFN12NoCB":break;case"Dv":case"DVal":break;case"BRAI":case"Series":case"SeriesText":case"DConn":case"DbOrParamQry":case"DBQueryExt":case"OleDbConn":case"ExtString":case"IFmtRecord":break;case"CondFmt":case"CF":case"CF12":case"CFEx":case"Excel9File":case"Units":break;case"InterfaceHdr":case"Mms":case"InterfaceEnd":case"DSF":case"BuiltInFnGroupCount":break;case"Window1":case"HideObj":case"GridSet":case"Guts":case"UserBView":case"UserSViewBegin":case"UserSViewEnd":case"Pane":break;default:switch(X.n){case"Dat":case"Begin":case"End":case"StartBlock":case"EndBlock":case"Frame":case"Area":case"Axis":case"AxisLine":case"Tick":break;case"AxesUsed":case"CrtLayout12":case"CrtLayout12A":case"CrtLink":case"CrtLine":case"CrtMlFrt":case"CrtMlFrtContinue":break;case"LineFormat":case"AreaFormat":case"Chart":case"Chart3d":case"Chart3DBarShape":case"ChartFormat":case"ChartFrtInfo":break;case"PlotArea":case"PlotGrowth":break;case"SeriesList":case"SerParent":case"SerAuxTrend":break;case"DataFormat":case"SerToCrt":case"FontX":break;case"CatSerRange":case"AxcExt":case"SerFmt":case"ShtProps":break;case"DefaultText":case"Text":case"CatLab":case"DataLabExtContents":break;case"Legend":case"LegendException":break;case"Pie":case"Scatter":break;case"PieFormat":case"MarkerFormat":break;case"StartObject":case"EndObject":break;case"AlRuns":case"ObjectLink":case"SIIndex":break;case"AttachedLabel":case"YMult":break;case"Line":case"Bar":case"Surf":case"AxisParent":case"Pos":case"ValueRange":case"SXViewEx9":case"SXViewLink":case"PivotChartBits":case"SBaseRef":case"TextPropsStream":case"LnExt":case"MkrExt":case"CrtCoopt":break;case"Qsi":case"Qsif":case"Qsir":case"QsiSXTag":case"TxtQry":case"FilterMode":break;case"AutoFilter":case"AutoFilterInfo":case"AutoFilter12":case"DropDownObjIds":case"Sort":case"SortData":case"ShapePropsStream":break;case"MsoDrawing":case"MsoDrawingGroup":case"MsoDrawingSelection":break;case"WebPub":case"AutoWebPub":break;case"HeaderFooter":case"HFPicture":case"PLV":case"HorizontalPageBreaks":case"VerticalPageBreaks":break;case"Backup":case"CompressPictures":case"Compat12":break;case"Continue":case"ContinueFrt12":break;case"FrtFontList":case"FrtWrapper":break;default:switch(X.n){case"TabIdConf":case"Radar":case"RadarArea":case"DropBar":case"Intl":case"CoordList":case"SerAuxErrBar":break;case"BIFF2FONTCLR":case"BIFF2FMTCNT":case"BIFF2FONTXTRA":break;case"BIFF2XF":case"BIFF3XF":case"BIFF4XF":case"BIFF2XFINDEX":break;case"BIFF4FMTCNT":case"BIFF2ROW":case"BIFF2WINDOW2":break;case"SCENARIO":case"DConBin":case"PicF":case"DataLabExt":case"Lel":case"BopPop":case"BopPopCustom":case"RealTimeData":case"Name":break;case"LHNGraph":case"FnGroupName":case"AddMenu":case"LPr":break;case"ListObj":case"ListField":case"RRSort":case"BigName":break;case"ToolbarHdr":case"ToolbarEnd":case"DDEObjName":case"FRTArchId$":break;default:if(t.WTF)throw"Unrecognized Record "+X.n}}}}}else e.l+=G}return n.SheetNames=U(p).sort((function(e,t){return Number(e)-Number(t)})).map((function(e){return p[e].name})),t.bookSheets||(n.Sheets=r),!n.SheetNames.length&&y["!ref"]?(n.SheetNames.push("Sheet1"),n.Sheets&&(n.Sheets.Sheet1=y)):n.Preamble=y,n.Sheets&&H.forEach((function(e,t){n.Sheets[n.SheetNames[t]]["!autofilter"]=e})),n.Strings=v,n.SSF=D.get_table(),A.enc&&(n.Encryption=A.enc),f&&(n.Themes=f),n.Metadata={},void 0!==u&&(n.Metadata.Country=u),M.names.length>0&&(S.Names=M.names),n.Workbook=S,n}var el="e0859ff2f94f6810ab9108002b27b3d9",tl="02d5cdd59c2e1b10939708002b2cf9ae",nl="05d5cdd59c2e1b10939708002b2cf9ae";function rl(e,t){var n,r,a,o;if(t||(t={}),Ul(t),d(),t.codepage&&f(t.codepage),e.FullPaths){if(L.find(e,"/encryption"))throw new Error("File is password-protected");n=L.find(e,"!CompObj"),r=L.find(e,"/Workbook")||L.find(e,"/Book")}else{switch(t.type){case"base64":e=O(b.decode(e));break;case"binary":e=O(e);break;case"buffer":break;case"array":Array.isArray(e)||(e=Array.prototype.slice.call(e))}Ft(e,0),r={content:e}}if(n&&Zc(n),t.bookProps&&!t.bookSheets)a={};else{var i=y?"buffer":"array";if(r&&r.content)a=Qc(r.content,t);else if((o=L.find(e,"PerfectOffice_MAIN"))&&o.content)a=Ua.to_workbook(o.content,(t.type=i,t));else{if(!(o=L.find(e,"NativeContent_MAIN"))||!o.content)throw(o=L.find(e,"MN0"))&&o.content?new Error("Unsupported Works 4 for Mac file"):new Error("Cannot find Workbook stream");a=Ua.to_workbook(o.content,(t.type=i,t))}t.bookVBA&&e.FullPaths&&L.find(e,"/_VBA_PROJECT_CUR/VBA/dir")&&(a.vbaraw=function(e){var t=L.utils.cfb_new({root:"R"});return e.FullPaths.forEach((function(n,r){if("/"!==n.slice(-1)&&n.match(/_VBA_PROJECT_CUR/)){var a=n.replace(/^[^\/]*/,"R").replace(/\/_VBA_PROJECT_CUR\u0000*/,"");L.utils.cfb_add(t,a,e.FileIndex[r].content)}})),L.write(t)}(e))}var s={};return e.FullPaths&&function(e,t,n){var r=L.find(e,"!DocumentSummaryInformation");if(r&&r.size>0)try{var a=Rr(r,Ln,tl);for(var o in a)t[o]=a[o]}catch(pu){if(n.WTF)throw pu}var i=L.find(e,"!SummaryInformation");if(i&&i.size>0)try{var s=Rr(i,Fn,el);for(var c in s)null==t[c]&&(t[c]=s[c])}catch(pu){if(n.WTF)throw pu}t.HeadingPairs&&t.TitlesOfParts&&(dr(t.HeadingPairs,t.TitlesOfParts,t,n),delete t.HeadingPairs,delete t.TitlesOfParts)}(e,s,t),a.Props=a.Custprops=s,t.bookFiles&&(a.cfb=e),a}function al(e,t){var n=t||{},r=L.utils.cfb_new({root:"R"}),a="/Workbook";switch(n.bookType||"xls"){case"xls":n.bookType="biff8";case"xla":n.bookType||(n.bookType="xla");case"biff8":a="/Workbook",n.biff=8;break;case"biff5":a="/Book",n.biff=5;break;default:throw new Error("invalid type "+n.bookType+" for XLS CFB")}return L.utils.cfb_add(r,a,bl(e,n)),8==n.biff&&(e.Props||e.Custprops)&&function(e,t){var n,r=[],a=[],o=[],i=0;if(e.Props)for(n=U(e.Props),i=0;i-1||null!=o[i][1]&&s.push(o[i]);a.length&&L.utils.cfb_add(t,"/\x05SummaryInformation",Mr(a,el,Un,Fn)),(r.length||s.length)&&L.utils.cfb_add(t,"/\x05DocumentSummaryInformation",Mr(r,tl,zn,Ln,s.length?s:null,nl))}(e,r),8==n.biff&&e.vbaraw&&function(e,t){t.FullPaths.forEach((function(n,r){if(0!=r){var a=n.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");"/"!==a.slice(-1)&&L.utils.cfb_add(e,a,t.FileIndex[r].content)}}))}(r,L.read(e.vbaraw,{type:"string"==typeof e.vbaraw?"binary":"buffer"})),r}var ol={0:{n:"BrtRowHdr",f:function(e,t){var n={},r=e.l+t;n.r=e.read_shift(4),e.l+=4;var a=e.read_shift(2);e.l+=1;var o=e.read_shift(1);return e.l=r,7&o&&(n.level=7&o),16&o&&(n.hidden=!0),32&o&&(n.hpt=a/20),n}},1:{n:"BrtCellBlank",f:function(e){return[vn(e)]}},2:{n:"BrtCellRk",f:function(e){return[vn(e),Tn(e),"n"]}},3:{n:"BrtCellError",f:function(e){return[vn(e),e.read_shift(1),"e"]}},4:{n:"BrtCellBool",f:function(e){return[vn(e),e.read_shift(1),"b"]}},5:{n:"BrtCellReal",f:function(e){return[vn(e),Nn(e),"n"]}},6:{n:"BrtCellSt",f:function(e){return[vn(e),fn(e),"str"]}},7:{n:"BrtCellIsst",f:function(e){return[vn(e),e.read_shift(4),"s"]}},8:{n:"BrtFmlaString",f:function(e,t,n){var r=e.l+t,a=vn(e);a.r=n["!row"];var o=[a,fn(e),"str"];if(n.cellFormula){e.l+=2;var i=rs(e,r-e.l,n);o[3]=$i(i,0,a,n.supbooks,n)}else e.l=r;return o}},9:{n:"BrtFmlaNum",f:function(e,t,n){var r=e.l+t,a=vn(e);a.r=n["!row"];var o=[a,Nn(e),"n"];if(n.cellFormula){e.l+=2;var i=rs(e,r-e.l,n);o[3]=$i(i,0,a,n.supbooks,n)}else e.l=r;return o}},10:{n:"BrtFmlaBool",f:function(e,t,n){var r=e.l+t,a=vn(e);a.r=n["!row"];var o=[a,e.read_shift(1),"b"];if(n.cellFormula){e.l+=2;var i=rs(e,r-e.l,n);o[3]=$i(i,0,a,n.supbooks,n)}else e.l=r;return o}},11:{n:"BrtFmlaError",f:function(e,t,n){var r=e.l+t,a=vn(e);a.r=n["!row"];var o=[a,e.read_shift(1),"e"];if(n.cellFormula){e.l+=2;var i=rs(e,r-e.l,n);o[3]=$i(i,0,a,n.supbooks,n)}else e.l=r;return o}},12:{n:"BrtShortBlank",f:function(e){return[yn(e)]}},13:{n:"BrtShortRk",f:function(e){return[yn(e),Tn(e),"n"]}},14:{n:"BrtShortError",f:function(e){return[yn(e),e.read_shift(1),"e"]}},15:{n:"BrtShortBool",f:function(e){return[yn(e),e.read_shift(1),"b"]}},16:{n:"BrtShortReal",f:Hs},17:{n:"BrtShortSt",f:function(e){return[yn(e),fn(e),"str"]}},18:{n:"BrtShortIsst",f:function(e){return[yn(e),e.read_shift(4),"s"]}},19:{n:"BrtSSTItem",f:pn},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:function(e,t,n){var r=e.l+t;e.l+=4,e.l+=1;var a=e.read_shift(4),o=Sn(e),i=as(e,0,n),s=Cn(e);e.l=r;var c={Name:o,Ptg:i};return a<268435455&&(c.Sheet=a),s&&(c.Comment=s),c}},40:{n:"BrtIndexRowBlock"},42:{n:"BrtIndexBlock"},43:{n:"BrtFont",f:function(e,t,n){var r={};r.sz=e.read_shift(2)/20;var a=function(e){var t=e.read_shift(1);return e.l++,{fBold:1&t,fItalic:2&t,fUnderline:4&t,fStrikeout:8&t,fOutline:16&t,fShadow:32&t,fCondense:64&t,fExtend:128&t}}(e);switch(a.fItalic&&(r.italic=1),a.fCondense&&(r.condense=1),a.fExtend&&(r.extend=1),a.fShadow&&(r.shadow=1),a.fOutline&&(r.outline=1),a.fStrikeout&&(r.strike=1),700===e.read_shift(2)&&(r.bold=1),e.read_shift(2)){case 1:r.vertAlign="superscript";break;case 2:r.vertAlign="subscript"}var o=e.read_shift(1);0!=o&&(r.underline=o);var i=e.read_shift(1);i>0&&(r.family=i);var s=e.read_shift(1);switch(s>0&&(r.charset=s),e.l++,r.color=function(e){var t={},n=e.read_shift(1)>>>1,r=e.read_shift(1),a=e.read_shift(2,"i"),o=e.read_shift(1),i=e.read_shift(1),s=e.read_shift(1);switch(e.l++,n){case 0:t.auto=1;break;case 1:t.index=r;var c=Wn[r];c&&(t.rgb=go(c));break;case 2:t.rgb=go([o,i,s]);break;case 3:t.theme=r}return 0!=a&&(t.tint=a>0?a/32767:a/32768),t}(e),e.read_shift(1)){case 1:r.scheme="major";break;case 2:r.scheme="minor"}return r.name=fn(e),r}},44:{n:"BrtFmt",f:function(e,t){return[e.read_shift(2),fn(e)]}},45:{n:"BrtFill",f:Mo},46:{n:"BrtBorder",f:zo},47:{n:"BrtXF",f:function(e,t){var n=e.l+t,r=e.read_shift(2),a=e.read_shift(2);return e.l=n,{ixfe:r,numFmtId:a}}},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:Ba},62:{n:"BrtCellRString"},63:{n:"BrtCalcChainItem$",f:function(e){var t={};t.i=e.read_shift(4);var n={};n.r=e.read_shift(4),n.c=e.read_shift(4),t.r=en(n);var r=e.read_shift(1);return 2&r&&(t.l="1"),8&r&&(t.a="1"),t}},64:{n:"BrtDVal",f:function(){}},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:zt,p:0},132:{n:"BrtEndBook"},133:{n:"BrtBeginWsViews"},134:{n:"BrtEndWsViews"},135:{n:"BrtBeginBookViews"},136:{n:"BrtEndBookViews"},137:{n:"BrtBeginWsView",f:function(e){var t=e.read_shift(2);return e.l+=28,{RTL:32&t}}},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:function(e,t){var n={},r=e[e.l];return++e.l,n.above=!(64&r),n.left=!(128&r),e.l+=18,n.name=wn(e,t-19),n}},148:{n:"BrtWsDim",f:Us,p:16},151:{n:"BrtPane",f:function(){}},152:{n:"BrtSel"},153:{n:"BrtWbProp",f:function(e,t){var n={},r=e.read_shift(4);n.defaultThemeVersion=e.read_shift(4);var a=t>8?fn(e):"";return a.length>0&&(n.CodeName=a),n.autoCompressPictures=!!(65536&r),n.backupFile=!!(64&r),n.checkCompatibility=!!(4096&r),n.date1904=!!(1&r),n.filterPrivacy=!!(8&r),n.hidePivotFieldList=!!(1024&r),n.promptedSolutions=!!(16&r),n.publishItems=!!(2048&r),n.refreshAllConnections=!!(262144&r),n.saveExternalLinkValues=!!(128&r),n.showBorderUnselectedTables=!!(4&r),n.showInkAnnotation=!!(32&r),n.showObjects=["all","placeholders","none"][r>>13&3],n.showPivotChartFilter=!!(32768&r),n.updateLinks=["userSet","never","always"][r>>8&3],n}},154:{n:"BrtWbFactoid"},155:{n:"BrtFileRecover"},156:{n:"BrtBundleSh",f:function(e,t){var n={};return n.Hidden=e.read_shift(4),n.iTabID=e.read_shift(4),n.strRelID=xn(e,t-8),n.name=fn(e),n}},157:{n:"BrtCalcProp"},158:{n:"BrtBookView"},159:{n:"BrtBeginSst",f:function(e){return[e.read_shift(4),e.read_shift(4)]}},160:{n:"BrtEndSst"},161:{n:"BrtBeginAFilter",f:Dn},162:{n:"BrtEndAFilter"},163:{n:"BrtBeginFilterColumn"},164:{n:"BrtEndFilterColumn"},165:{n:"BrtBeginFilters"},166:{n:"BrtEndFilters"},167:{n:"BrtFilter"},168:{n:"BrtColorFilter"},169:{n:"BrtIconFilter"},170:{n:"BrtTop10Filter"},171:{n:"BrtDynamicFilter"},172:{n:"BrtBeginCustomFilters"},173:{n:"BrtEndCustomFilters"},174:{n:"BrtCustomFilter"},175:{n:"BrtAFilterDateGroupItem"},176:{n:"BrtMergeCell",f:Ws},177:{n:"BrtBeginMergeCells"},178:{n:"BrtEndMergeCells"},179:{n:"BrtBeginPivotCacheDef"},180:{n:"BrtEndPivotCacheDef"},181:{n:"BrtBeginPCDFields"},182:{n:"BrtEndPCDFields"},183:{n:"BrtBeginPCDField"},184:{n:"BrtEndPCDField"},185:{n:"BrtBeginPCDSource"},186:{n:"BrtEndPCDSource"},187:{n:"BrtBeginPCDSRange"},188:{n:"BrtEndPCDSRange"},189:{n:"BrtBeginPCDFAtbl"},190:{n:"BrtEndPCDFAtbl"},191:{n:"BrtBeginPCDIRun"},192:{n:"BrtEndPCDIRun"},193:{n:"BrtBeginPivotCacheRecords"},194:{n:"BrtEndPivotCacheRecords"},195:{n:"BrtBeginPCDHierarchies"},196:{n:"BrtEndPCDHierarchies"},197:{n:"BrtBeginPCDHierarchy"},198:{n:"BrtEndPCDHierarchy"},199:{n:"BrtBeginPCDHFieldsUsage"},200:{n:"BrtEndPCDHFieldsUsage"},201:{n:"BrtBeginExtConnection"},202:{n:"BrtEndExtConnection"},203:{n:"BrtBeginECDbProps"},204:{n:"BrtEndECDbProps"},205:{n:"BrtBeginECOlapProps"},206:{n:"BrtEndECOlapProps"},207:{n:"BrtBeginPCDSConsol"},208:{n:"BrtEndPCDSConsol"},209:{n:"BrtBeginPCDSCPages"},210:{n:"BrtEndPCDSCPages"},211:{n:"BrtBeginPCDSCPage"},212:{n:"BrtEndPCDSCPage"},213:{n:"BrtBeginPCDSCPItem"},214:{n:"BrtEndPCDSCPItem"},215:{n:"BrtBeginPCDSCSets"},216:{n:"BrtEndPCDSCSets"},217:{n:"BrtBeginPCDSCSet"},218:{n:"BrtEndPCDSCSet"},219:{n:"BrtBeginPCDFGroup"},220:{n:"BrtEndPCDFGroup"},221:{n:"BrtBeginPCDFGItems"},222:{n:"BrtEndPCDFGItems"},223:{n:"BrtBeginPCDFGRange"},224:{n:"BrtEndPCDFGRange"},225:{n:"BrtBeginPCDFGDiscrete"},226:{n:"BrtEndPCDFGDiscrete"},227:{n:"BrtBeginPCDSDTupleCache"},228:{n:"BrtEndPCDSDTupleCache"},229:{n:"BrtBeginPCDSDTCEntries"},230:{n:"BrtEndPCDSDTCEntries"},231:{n:"BrtBeginPCDSDTCEMembers"},232:{n:"BrtEndPCDSDTCEMembers"},233:{n:"BrtBeginPCDSDTCEMember"},234:{n:"BrtEndPCDSDTCEMember"},235:{n:"BrtBeginPCDSDTCQueries"},236:{n:"BrtEndPCDSDTCQueries"},237:{n:"BrtBeginPCDSDTCQuery"},238:{n:"BrtEndPCDSDTCQuery"},239:{n:"BrtBeginPCDSDTCSets"},240:{n:"BrtEndPCDSDTCSets"},241:{n:"BrtBeginPCDSDTCSet"},242:{n:"BrtEndPCDSDTCSet"},243:{n:"BrtBeginPCDCalcItems"},244:{n:"BrtEndPCDCalcItems"},245:{n:"BrtBeginPCDCalcItem"},246:{n:"BrtEndPCDCalcItem"},247:{n:"BrtBeginPRule"},248:{n:"BrtEndPRule"},249:{n:"BrtBeginPRFilters"},250:{n:"BrtEndPRFilters"},251:{n:"BrtBeginPRFilter"},252:{n:"BrtEndPRFilter"},253:{n:"BrtBeginPNames"},254:{n:"BrtEndPNames"},255:{n:"BrtBeginPName"},256:{n:"BrtEndPName"},257:{n:"BrtBeginPNPairs"},258:{n:"BrtEndPNPairs"},259:{n:"BrtBeginPNPair"},260:{n:"BrtEndPNPair"},261:{n:"BrtBeginECWebProps"},262:{n:"BrtEndECWebProps"},263:{n:"BrtBeginEcWpTables"},264:{n:"BrtEndECWPTables"},265:{n:"BrtBeginECParams"},266:{n:"BrtEndECParams"},267:{n:"BrtBeginECParam"},268:{n:"BrtEndECParam"},269:{n:"BrtBeginPCDKPIs"},270:{n:"BrtEndPCDKPIs"},271:{n:"BrtBeginPCDKPI"},272:{n:"BrtEndPCDKPI"},273:{n:"BrtBeginDims"},274:{n:"BrtEndDims"},275:{n:"BrtBeginDim"},276:{n:"BrtEndDim"},277:{n:"BrtIndexPartEnd"},278:{n:"BrtBeginStyleSheet"},279:{n:"BrtEndStyleSheet"},280:{n:"BrtBeginSXView"},281:{n:"BrtEndSXVI"},282:{n:"BrtBeginSXVI"},283:{n:"BrtBeginSXVIs"},284:{n:"BrtEndSXVIs"},285:{n:"BrtBeginSXVD"},286:{n:"BrtEndSXVD"},287:{n:"BrtBeginSXVDs"},288:{n:"BrtEndSXVDs"},289:{n:"BrtBeginSXPI"},290:{n:"BrtEndSXPI"},291:{n:"BrtBeginSXPIs"},292:{n:"BrtEndSXPIs"},293:{n:"BrtBeginSXDI"},294:{n:"BrtEndSXDI"},295:{n:"BrtBeginSXDIs"},296:{n:"BrtEndSXDIs"},297:{n:"BrtBeginSXLI"},298:{n:"BrtEndSXLI"},299:{n:"BrtBeginSXLIRws"},300:{n:"BrtEndSXLIRws"},301:{n:"BrtBeginSXLICols"},302:{n:"BrtEndSXLICols"},303:{n:"BrtBeginSXFormat"},304:{n:"BrtEndSXFormat"},305:{n:"BrtBeginSXFormats"},306:{n:"BrtEndSxFormats"},307:{n:"BrtBeginSxSelect"},308:{n:"BrtEndSxSelect"},309:{n:"BrtBeginISXVDRws"},310:{n:"BrtEndISXVDRws"},311:{n:"BrtBeginISXVDCols"},312:{n:"BrtEndISXVDCols"},313:{n:"BrtEndSXLocation"},314:{n:"BrtBeginSXLocation"},315:{n:"BrtEndSXView"},316:{n:"BrtBeginSXTHs"},317:{n:"BrtEndSXTHs"},318:{n:"BrtBeginSXTH"},319:{n:"BrtEndSXTH"},320:{n:"BrtBeginISXTHRws"},321:{n:"BrtEndISXTHRws"},322:{n:"BrtBeginISXTHCols"},323:{n:"BrtEndISXTHCols"},324:{n:"BrtBeginSXTDMPS"},325:{n:"BrtEndSXTDMPs"},326:{n:"BrtBeginSXTDMP"},327:{n:"BrtEndSXTDMP"},328:{n:"BrtBeginSXTHItems"},329:{n:"BrtEndSXTHItems"},330:{n:"BrtBeginSXTHItem"},331:{n:"BrtEndSXTHItem"},332:{n:"BrtBeginMetadata"},333:{n:"BrtEndMetadata"},334:{n:"BrtBeginEsmdtinfo"},335:{n:"BrtMdtinfo"},336:{n:"BrtEndEsmdtinfo"},337:{n:"BrtBeginEsmdb"},338:{n:"BrtEndEsmdb"},339:{n:"BrtBeginEsfmd"},340:{n:"BrtEndEsfmd"},341:{n:"BrtBeginSingleCells"},342:{n:"BrtEndSingleCells"},343:{n:"BrtBeginList"},344:{n:"BrtEndList"},345:{n:"BrtBeginListCols"},346:{n:"BrtEndListCols"},347:{n:"BrtBeginListCol"},348:{n:"BrtEndListCol"},349:{n:"BrtBeginListXmlCPr"},350:{n:"BrtEndListXmlCPr"},351:{n:"BrtListCCFmla"},352:{n:"BrtListTrFmla"},353:{n:"BrtBeginExternals"},354:{n:"BrtEndExternals"},355:{n:"BrtSupBookSrc",f:xn},357:{n:"BrtSupSelf"},358:{n:"BrtSupSame"},359:{n:"BrtSupTabs"},360:{n:"BrtBeginSupBook"},361:{n:"BrtPlaceholderName"},362:{n:"BrtExternSheet",f:ka},363:{n:"BrtExternTableStart"},364:{n:"BrtExternTableEnd"},366:{n:"BrtExternRowHdr"},367:{n:"BrtExternCellBlank"},368:{n:"BrtExternCellReal"},369:{n:"BrtExternCellBool"},370:{n:"BrtExternCellError"},371:{n:"BrtExternCellString"},372:{n:"BrtBeginEsmdx"},373:{n:"BrtEndEsmdx"},374:{n:"BrtBeginMdxSet"},375:{n:"BrtEndMdxSet"},376:{n:"BrtBeginMdxMbrProp"},377:{n:"BrtEndMdxMbrProp"},378:{n:"BrtBeginMdxKPI"},379:{n:"BrtEndMdxKPI"},380:{n:"BrtBeginEsstr"},381:{n:"BrtEndEsstr"},382:{n:"BrtBeginPRFItem"},383:{n:"BrtEndPRFItem"},384:{n:"BrtBeginPivotCacheIDs"},385:{n:"BrtEndPivotCacheIDs"},386:{n:"BrtBeginPivotCacheID"},387:{n:"BrtEndPivotCacheID"},388:{n:"BrtBeginISXVIs"},389:{n:"BrtEndISXVIs"},390:{n:"BrtBeginColInfos"},391:{n:"BrtEndColInfos"},392:{n:"BrtBeginRwBrk"},393:{n:"BrtEndRwBrk"},394:{n:"BrtBeginColBrk"},395:{n:"BrtEndColBrk"},396:{n:"BrtBrk"},397:{n:"BrtUserBookView"},398:{n:"BrtInfo"},399:{n:"BrtCUsr"},400:{n:"BrtUsr"},401:{n:"BrtBeginUsers"},403:{n:"BrtEOF"},404:{n:"BrtUCR"},405:{n:"BrtRRInsDel"},406:{n:"BrtRREndInsDel"},407:{n:"BrtRRMove"},408:{n:"BrtRREndMove"},409:{n:"BrtRRChgCell"},410:{n:"BrtRREndChgCell"},411:{n:"BrtRRHeader"},412:{n:"BrtRRUserView"},413:{n:"BrtRRRenSheet"},414:{n:"BrtRRInsertSh"},415:{n:"BrtRRDefName"},416:{n:"BrtRRNote"},417:{n:"BrtRRConflict"},418:{n:"BrtRRTQSIF"},419:{n:"BrtRRFormat"},420:{n:"BrtRREndFormat"},421:{n:"BrtRRAutoFmt"},422:{n:"BrtBeginUserShViews"},423:{n:"BrtBeginUserShView"},424:{n:"BrtEndUserShView"},425:{n:"BrtEndUserShViews"},426:{n:"BrtArrFmla",f:function(e,t,n){var r=e.l+t,a=Pn(e),o=e.read_shift(1),i=[a];if(i[2]=o,n.cellFormula){var s=ns(e,r-e.l,n);i[1]=s}else e.l=r;return i}},427:{n:"BrtShrFmla",f:function(e,t,n){var r=e.l+t,a=[Dn(e,16)];if(n.cellFormula){var o=os(e,r-e.l,n);a[1]=o,e.l=r}else e.l=r;return a}},428:{n:"BrtTable"},429:{n:"BrtBeginExtConnections"},430:{n:"BrtEndExtConnections"},431:{n:"BrtBeginPCDCalcMems"},432:{n:"BrtEndPCDCalcMems"},433:{n:"BrtBeginPCDCalcMem"},434:{n:"BrtEndPCDCalcMem"},435:{n:"BrtBeginPCDHGLevels"},436:{n:"BrtEndPCDHGLevels"},437:{n:"BrtBeginPCDHGLevel"},438:{n:"BrtEndPCDHGLevel"},439:{n:"BrtBeginPCDHGLGroups"},440:{n:"BrtEndPCDHGLGroups"},441:{n:"BrtBeginPCDHGLGroup"},442:{n:"BrtEndPCDHGLGroup"},443:{n:"BrtBeginPCDHGLGMembers"},444:{n:"BrtEndPCDHGLGMembers"},445:{n:"BrtBeginPCDHGLGMember"},446:{n:"BrtEndPCDHGLGMember"},447:{n:"BrtBeginQSI"},448:{n:"BrtEndQSI"},449:{n:"BrtBeginQSIR"},450:{n:"BrtEndQSIR"},451:{n:"BrtBeginDeletedNames"},452:{n:"BrtEndDeletedNames"},453:{n:"BrtBeginDeletedName"},454:{n:"BrtEndDeletedName"},455:{n:"BrtBeginQSIFs"},456:{n:"BrtEndQSIFs"},457:{n:"BrtBeginQSIF"},458:{n:"BrtEndQSIF"},459:{n:"BrtBeginAutoSortScope"},460:{n:"BrtEndAutoSortScope"},461:{n:"BrtBeginConditionalFormatting"},462:{n:"BrtEndConditionalFormatting"},463:{n:"BrtBeginCFRule"},464:{n:"BrtEndCFRule"},465:{n:"BrtBeginIconSet"},466:{n:"BrtEndIconSet"},467:{n:"BrtBeginDatabar"},468:{n:"BrtEndDatabar"},469:{n:"BrtBeginColorScale"},470:{n:"BrtEndColorScale"},471:{n:"BrtCFVO"},472:{n:"BrtExternValueMeta"},473:{n:"BrtBeginColorPalette"},474:{n:"BrtEndColorPalette"},475:{n:"BrtIndexedColor"},476:{n:"BrtMargins",f:function(e){var t={};return Ks.forEach((function(n){t[n]=Nn(e)})),t}},477:{n:"BrtPrintOptions"},478:{n:"BrtPageSetup"},479:{n:"BrtBeginHeaderFooter"},480:{n:"BrtEndHeaderFooter"},481:{n:"BrtBeginSXCrtFormat"},482:{n:"BrtEndSXCrtFormat"},483:{n:"BrtBeginSXCrtFormats"},484:{n:"BrtEndSXCrtFormats"},485:{n:"BrtWsFmtInfo",f:function(){}},486:{n:"BrtBeginMgs"},487:{n:"BrtEndMGs"},488:{n:"BrtBeginMGMaps"},489:{n:"BrtEndMGMaps"},490:{n:"BrtBeginMG"},491:{n:"BrtEndMG"},492:{n:"BrtBeginMap"},493:{n:"BrtEndMap"},494:{n:"BrtHLink",f:function(e,t){var n=e.l+t,r=Dn(e,16),a=Cn(e),o=fn(e),i=fn(e),s=fn(e);e.l=n;var c={rfx:r,relId:a,loc:o,display:s};return i&&(c.Tooltip=i),c}},495:{n:"BrtBeginDCon"},496:{n:"BrtEndDCon"},497:{n:"BrtBeginDRefs"},498:{n:"BrtEndDRefs"},499:{n:"BrtDRef"},500:{n:"BrtBeginScenMan"},501:{n:"BrtEndScenMan"},502:{n:"BrtBeginSct"},503:{n:"BrtEndSct"},504:{n:"BrtSlc"},505:{n:"BrtBeginDXFs"},506:{n:"BrtEndDXFs"},507:{n:"BrtDXF"},508:{n:"BrtBeginTableStyles"},509:{n:"BrtEndTableStyles"},510:{n:"BrtBeginTableStyle"},511:{n:"BrtEndTableStyle"},512:{n:"BrtTableStyleElement"},513:{n:"BrtTableStyleClient"},514:{n:"BrtBeginVolDeps"},515:{n:"BrtEndVolDeps"},516:{n:"BrtBeginVolType"},517:{n:"BrtEndVolType"},518:{n:"BrtBeginVolMain"},519:{n:"BrtEndVolMain"},520:{n:"BrtBeginVolTopic"},521:{n:"BrtEndVolTopic"},522:{n:"BrtVolSubtopic"},523:{n:"BrtVolRef"},524:{n:"BrtVolNum"},525:{n:"BrtVolErr"},526:{n:"BrtVolStr"},527:{n:"BrtVolBool"},528:{n:"BrtBeginCalcChain$"},529:{n:"BrtEndCalcChain$"},530:{n:"BrtBeginSortState"},531:{n:"BrtEndSortState"},532:{n:"BrtBeginSortCond"},533:{n:"BrtEndSortCond"},534:{n:"BrtBookProtection"},535:{n:"BrtSheetProtection"},536:{n:"BrtRangeProtection"},537:{n:"BrtPhoneticInfo"},538:{n:"BrtBeginECTxtWiz"},539:{n:"BrtEndECTxtWiz"},540:{n:"BrtBeginECTWFldInfoLst"},541:{n:"BrtEndECTWFldInfoLst"},542:{n:"BrtBeginECTwFldInfo"},548:{n:"BrtFileSharing"},549:{n:"BrtOleSize"},550:{n:"BrtDrawing",f:xn},551:{n:"BrtLegacyDrawing"},552:{n:"BrtLegacyDrawingHF"},553:{n:"BrtWebOpt"},554:{n:"BrtBeginWebPubItems"},555:{n:"BrtEndWebPubItems"},556:{n:"BrtBeginWebPubItem"},557:{n:"BrtEndWebPubItem"},558:{n:"BrtBeginSXCondFmt"},559:{n:"BrtEndSXCondFmt"},560:{n:"BrtBeginSXCondFmts"},561:{n:"BrtEndSXCondFmts"},562:{n:"BrtBkHim"},564:{n:"BrtColor"},565:{n:"BrtBeginIndexedColors"},566:{n:"BrtEndIndexedColors"},569:{n:"BrtBeginMRUColors"},570:{n:"BrtEndMRUColors"},572:{n:"BrtMRUColor"},573:{n:"BrtBeginDVals"},574:{n:"BrtEndDVals"},577:{n:"BrtSupNameStart"},578:{n:"BrtSupNameValueStart"},579:{n:"BrtSupNameValueEnd"},580:{n:"BrtSupNameNum"},581:{n:"BrtSupNameErr"},582:{n:"BrtSupNameSt"},583:{n:"BrtSupNameNil"},584:{n:"BrtSupNameBool"},585:{n:"BrtSupNameFmla"},586:{n:"BrtSupNameBits"},587:{n:"BrtSupNameEnd"},588:{n:"BrtEndSupBook"},589:{n:"BrtCellSmartTagProperty"},590:{n:"BrtBeginCellSmartTag"},591:{n:"BrtEndCellSmartTag"},592:{n:"BrtBeginCellSmartTags"},593:{n:"BrtEndCellSmartTags"},594:{n:"BrtBeginSmartTags"},595:{n:"BrtEndSmartTags"},596:{n:"BrtSmartTagType"},597:{n:"BrtBeginSmartTagTypes"},598:{n:"BrtEndSmartTagTypes"},599:{n:"BrtBeginSXFilters"},600:{n:"BrtEndSXFilters"},601:{n:"BrtBeginSXFILTER"},602:{n:"BrtEndSXFilter"},603:{n:"BrtBeginFills"},604:{n:"BrtEndFills"},605:{n:"BrtBeginCellWatches"},606:{n:"BrtEndCellWatches"},607:{n:"BrtCellWatch"},608:{n:"BrtBeginCRErrs"},609:{n:"BrtEndCRErrs"},610:{n:"BrtCrashRecErr"},611:{n:"BrtBeginFonts"},612:{n:"BrtEndFonts"},613:{n:"BrtBeginBorders"},614:{n:"BrtEndBorders"},615:{n:"BrtBeginFmts"},616:{n:"BrtEndFmts"},617:{n:"BrtBeginCellXFs"},618:{n:"BrtEndCellXFs"},619:{n:"BrtBeginStyles"},620:{n:"BrtEndStyles"},625:{n:"BrtBigName"},626:{n:"BrtBeginCellStyleXFs"},627:{n:"BrtEndCellStyleXFs"},628:{n:"BrtBeginComments"},629:{n:"BrtEndComments"},630:{n:"BrtBeginCommentAuthors"},631:{n:"BrtEndCommentAuthors"},632:{n:"BrtCommentAuthor",f:si},633:{n:"BrtBeginCommentList"},634:{n:"BrtEndCommentList"},635:{n:"BrtBeginComment",f:function(e){var t={};t.iauthor=e.read_shift(4);var n=Dn(e,16);return t.rfx=n.s,t.ref=en(n.s),e.l+=16,t}},636:{n:"BrtEndComment"},637:{n:"BrtCommentText",f:mn},638:{n:"BrtBeginOleObjects"},639:{n:"BrtOleObject"},640:{n:"BrtEndOleObjects"},641:{n:"BrtBeginSxrules"},642:{n:"BrtEndSxRules"},643:{n:"BrtBeginActiveXControls"},644:{n:"BrtActiveX"},645:{n:"BrtEndActiveXControls"},646:{n:"BrtBeginPCDSDTCEMembersSortBy"},648:{n:"BrtBeginCellIgnoreECs"},649:{n:"BrtCellIgnoreEC"},650:{n:"BrtEndCellIgnoreECs"},651:{n:"BrtCsProp",f:function(e,t){return e.l+=10,{name:fn(e)}}},652:{n:"BrtCsPageSetup"},653:{n:"BrtBeginUserCsViews"},654:{n:"BrtEndUserCsViews"},655:{n:"BrtBeginUserCsView"},656:{n:"BrtEndUserCsView"},657:{n:"BrtBeginPcdSFCIEntries"},658:{n:"BrtEndPCDSFCIEntries"},659:{n:"BrtPCDSFCIEntry"},660:{n:"BrtBeginListParts"},661:{n:"BrtListPart"},662:{n:"BrtEndListParts"},663:{n:"BrtSheetCalcProp"},664:{n:"BrtBeginFnGroup"},665:{n:"BrtFnGroup"},666:{n:"BrtEndFnGroup"},667:{n:"BrtSupAddin"},668:{n:"BrtSXTDMPOrder"},669:{n:"BrtCsProtection"},671:{n:"BrtBeginWsSortMap"},672:{n:"BrtEndWsSortMap"},673:{n:"BrtBeginRRSort"},674:{n:"BrtEndRRSort"},675:{n:"BrtRRSortItem"},676:{n:"BrtFileSharingIso"},677:{n:"BrtBookProtectionIso"},678:{n:"BrtSheetProtectionIso"},679:{n:"BrtCsProtectionIso"},680:{n:"BrtRangeProtectionIso"},681:{n:"BrtDValList"},1024:{n:"BrtRwDescent"},1025:{n:"BrtKnownFonts"},1026:{n:"BrtBeginSXTupleSet"},1027:{n:"BrtEndSXTupleSet"},1028:{n:"BrtBeginSXTupleSetHeader"},1029:{n:"BrtEndSXTupleSetHeader"},1030:{n:"BrtSXTupleSetHeaderItem"},1031:{n:"BrtBeginSXTupleSetData"},1032:{n:"BrtEndSXTupleSetData"},1033:{n:"BrtBeginSXTupleSetRow"},1034:{n:"BrtEndSXTupleSetRow"},1035:{n:"BrtSXTupleSetRowItem"},1036:{n:"BrtNameExt"},1037:{n:"BrtPCDH14"},1038:{n:"BrtBeginPCDCalcMem14"},1039:{n:"BrtEndPCDCalcMem14"},1040:{n:"BrtSXTH14"},1041:{n:"BrtBeginSparklineGroup"},1042:{n:"BrtEndSparklineGroup"},1043:{n:"BrtSparkline"},1044:{n:"BrtSXDI14"},1045:{n:"BrtWsFmtInfoEx14"},1046:{n:"BrtBeginConditionalFormatting14"},1047:{n:"BrtEndConditionalFormatting14"},1048:{n:"BrtBeginCFRule14"},1049:{n:"BrtEndCFRule14"},1050:{n:"BrtCFVO14"},1051:{n:"BrtBeginDatabar14"},1052:{n:"BrtBeginIconSet14"},1053:{n:"BrtDVal14",f:function(){}},1054:{n:"BrtBeginDVals14"},1055:{n:"BrtColor14"},1056:{n:"BrtBeginSparklines"},1057:{n:"BrtEndSparklines"},1058:{n:"BrtBeginSparklineGroups"},1059:{n:"BrtEndSparklineGroups"},1061:{n:"BrtSXVD14"},1062:{n:"BrtBeginSXView14"},1063:{n:"BrtEndSXView14"},1064:{n:"BrtBeginSXView16"},1065:{n:"BrtEndSXView16"},1066:{n:"BrtBeginPCD14"},1067:{n:"BrtEndPCD14"},1068:{n:"BrtBeginExtConn14"},1069:{n:"BrtEndExtConn14"},1070:{n:"BrtBeginSlicerCacheIDs"},1071:{n:"BrtEndSlicerCacheIDs"},1072:{n:"BrtBeginSlicerCacheID"},1073:{n:"BrtEndSlicerCacheID"},1075:{n:"BrtBeginSlicerCache"},1076:{n:"BrtEndSlicerCache"},1077:{n:"BrtBeginSlicerCacheDef"},1078:{n:"BrtEndSlicerCacheDef"},1079:{n:"BrtBeginSlicersEx"},1080:{n:"BrtEndSlicersEx"},1081:{n:"BrtBeginSlicerEx"},1082:{n:"BrtEndSlicerEx"},1083:{n:"BrtBeginSlicer"},1084:{n:"BrtEndSlicer"},1085:{n:"BrtSlicerCachePivotTables"},1086:{n:"BrtBeginSlicerCacheOlapImpl"},1087:{n:"BrtEndSlicerCacheOlapImpl"},1088:{n:"BrtBeginSlicerCacheLevelsData"},1089:{n:"BrtEndSlicerCacheLevelsData"},1090:{n:"BrtBeginSlicerCacheLevelData"},1091:{n:"BrtEndSlicerCacheLevelData"},1092:{n:"BrtBeginSlicerCacheSiRanges"},1093:{n:"BrtEndSlicerCacheSiRanges"},1094:{n:"BrtBeginSlicerCacheSiRange"},1095:{n:"BrtEndSlicerCacheSiRange"},1096:{n:"BrtSlicerCacheOlapItem"},1097:{n:"BrtBeginSlicerCacheSelections"},1098:{n:"BrtSlicerCacheSelection"},1099:{n:"BrtEndSlicerCacheSelections"},1100:{n:"BrtBeginSlicerCacheNative"},1101:{n:"BrtEndSlicerCacheNative"},1102:{n:"BrtSlicerCacheNativeItem"},1103:{n:"BrtRangeProtection14"},1104:{n:"BrtRangeProtectionIso14"},1105:{n:"BrtCellIgnoreEC14"},1111:{n:"BrtList14"},1112:{n:"BrtCFIcon"},1113:{n:"BrtBeginSlicerCachesPivotCacheIDs"},1114:{n:"BrtEndSlicerCachesPivotCacheIDs"},1115:{n:"BrtBeginSlicers"},1116:{n:"BrtEndSlicers"},1117:{n:"BrtWbProp14"},1118:{n:"BrtBeginSXEdit"},1119:{n:"BrtEndSXEdit"},1120:{n:"BrtBeginSXEdits"},1121:{n:"BrtEndSXEdits"},1122:{n:"BrtBeginSXChange"},1123:{n:"BrtEndSXChange"},1124:{n:"BrtBeginSXChanges"},1125:{n:"BrtEndSXChanges"},1126:{n:"BrtSXTupleItems"},1128:{n:"BrtBeginSlicerStyle"},1129:{n:"BrtEndSlicerStyle"},1130:{n:"BrtSlicerStyleElement"},1131:{n:"BrtBeginStyleSheetExt14"},1132:{n:"BrtEndStyleSheetExt14"},1133:{n:"BrtBeginSlicerCachesPivotCacheID"},1134:{n:"BrtEndSlicerCachesPivotCacheID"},1135:{n:"BrtBeginConditionalFormattings"},1136:{n:"BrtEndConditionalFormattings"},1137:{n:"BrtBeginPCDCalcMemExt"},1138:{n:"BrtEndPCDCalcMemExt"},1139:{n:"BrtBeginPCDCalcMemsExt"},1140:{n:"BrtEndPCDCalcMemsExt"},1141:{n:"BrtPCDField14"},1142:{n:"BrtBeginSlicerStyles"},1143:{n:"BrtEndSlicerStyles"},1144:{n:"BrtBeginSlicerStyleElements"},1145:{n:"BrtEndSlicerStyleElements"},1146:{n:"BrtCFRuleExt"},1147:{n:"BrtBeginSXCondFmt14"},1148:{n:"BrtEndSXCondFmt14"},1149:{n:"BrtBeginSXCondFmts14"},1150:{n:"BrtEndSXCondFmts14"},1152:{n:"BrtBeginSortCond14"},1153:{n:"BrtEndSortCond14"},1154:{n:"BrtEndDVals14"},1155:{n:"BrtEndIconSet14"},1156:{n:"BrtEndDatabar14"},1157:{n:"BrtBeginColorScale14"},1158:{n:"BrtEndColorScale14"},1159:{n:"BrtBeginSxrules14"},1160:{n:"BrtEndSxrules14"},1161:{n:"BrtBeginPRule14"},1162:{n:"BrtEndPRule14"},1163:{n:"BrtBeginPRFilters14"},1164:{n:"BrtEndPRFilters14"},1165:{n:"BrtBeginPRFilter14"},1166:{n:"BrtEndPRFilter14"},1167:{n:"BrtBeginPRFItem14"},1168:{n:"BrtEndPRFItem14"},1169:{n:"BrtBeginCellIgnoreECs14"},1170:{n:"BrtEndCellIgnoreECs14"},1171:{n:"BrtDxf14"},1172:{n:"BrtBeginDxF14s"},1173:{n:"BrtEndDxf14s"},1177:{n:"BrtFilter14"},1178:{n:"BrtBeginCustomFilters14"},1180:{n:"BrtCustomFilter14"},1181:{n:"BrtIconFilter14"},1182:{n:"BrtPivotCacheConnectionName"},2048:{n:"BrtBeginDecoupledPivotCacheIDs"},2049:{n:"BrtEndDecoupledPivotCacheIDs"},2050:{n:"BrtDecoupledPivotCacheID"},2051:{n:"BrtBeginPivotTableRefs"},2052:{n:"BrtEndPivotTableRefs"},2053:{n:"BrtPivotTableRef"},2054:{n:"BrtSlicerCacheBookPivotTables"},2055:{n:"BrtBeginSxvcells"},2056:{n:"BrtEndSxvcells"},2057:{n:"BrtBeginSxRow"},2058:{n:"BrtEndSxRow"},2060:{n:"BrtPcdCalcMem15"},2067:{n:"BrtQsi15"},2068:{n:"BrtBeginWebExtensions"},2069:{n:"BrtEndWebExtensions"},2070:{n:"BrtWebExtension"},2071:{n:"BrtAbsPath15"},2072:{n:"BrtBeginPivotTableUISettings"},2073:{n:"BrtEndPivotTableUISettings"},2075:{n:"BrtTableSlicerCacheIDs"},2076:{n:"BrtTableSlicerCacheID"},2077:{n:"BrtBeginTableSlicerCache"},2078:{n:"BrtEndTableSlicerCache"},2079:{n:"BrtSxFilter15"},2080:{n:"BrtBeginTimelineCachePivotCacheIDs"},2081:{n:"BrtEndTimelineCachePivotCacheIDs"},2082:{n:"BrtTimelineCachePivotCacheID"},2083:{n:"BrtBeginTimelineCacheIDs"},2084:{n:"BrtEndTimelineCacheIDs"},2085:{n:"BrtBeginTimelineCacheID"},2086:{n:"BrtEndTimelineCacheID"},2087:{n:"BrtBeginTimelinesEx"},2088:{n:"BrtEndTimelinesEx"},2089:{n:"BrtBeginTimelineEx"},2090:{n:"BrtEndTimelineEx"},2091:{n:"BrtWorkBookPr15"},2092:{n:"BrtPCDH15"},2093:{n:"BrtBeginTimelineStyle"},2094:{n:"BrtEndTimelineStyle"},2095:{n:"BrtTimelineStyleElement"},2096:{n:"BrtBeginTimelineStylesheetExt15"},2097:{n:"BrtEndTimelineStylesheetExt15"},2098:{n:"BrtBeginTimelineStyles"},2099:{n:"BrtEndTimelineStyles"},2100:{n:"BrtBeginTimelineStyleElements"},2101:{n:"BrtEndTimelineStyleElements"},2102:{n:"BrtDxf15"},2103:{n:"BrtBeginDxfs15"},2104:{n:"brtEndDxfs15"},2105:{n:"BrtSlicerCacheHideItemsWithNoData"},2106:{n:"BrtBeginItemUniqueNames"},2107:{n:"BrtEndItemUniqueNames"},2108:{n:"BrtItemUniqueName"},2109:{n:"BrtBeginExtConn15"},2110:{n:"BrtEndExtConn15"},2111:{n:"BrtBeginOledbPr15"},2112:{n:"BrtEndOledbPr15"},2113:{n:"BrtBeginDataFeedPr15"},2114:{n:"BrtEndDataFeedPr15"},2115:{n:"BrtTextPr15"},2116:{n:"BrtRangePr15"},2117:{n:"BrtDbCommand15"},2118:{n:"BrtBeginDbTables15"},2119:{n:"BrtEndDbTables15"},2120:{n:"BrtDbTable15"},2121:{n:"BrtBeginDataModel"},2122:{n:"BrtEndDataModel"},2123:{n:"BrtBeginModelTables"},2124:{n:"BrtEndModelTables"},2125:{n:"BrtModelTable"},2126:{n:"BrtBeginModelRelationships"},2127:{n:"BrtEndModelRelationships"},2128:{n:"BrtModelRelationship"},2129:{n:"BrtBeginECTxtWiz15"},2130:{n:"BrtEndECTxtWiz15"},2131:{n:"BrtBeginECTWFldInfoLst15"},2132:{n:"BrtEndECTWFldInfoLst15"},2133:{n:"BrtBeginECTWFldInfo15"},2134:{n:"BrtFieldListActiveItem"},2135:{n:"BrtPivotCacheIdVersion"},2136:{n:"BrtSXDI15"},2137:{n:"BrtBeginModelTimeGroupings"},2138:{n:"BrtEndModelTimeGroupings"},2139:{n:"BrtBeginModelTimeGrouping"},2140:{n:"BrtEndModelTimeGrouping"},2141:{n:"BrtModelTimeGroupingCalcCol"},3072:{n:"BrtUid"},3073:{n:"BrtRevisionPtr"},5095:{n:"BrtBeginCalcFeatures"},5096:{n:"BrtEndCalcFeatures"},5097:{n:"BrtCalcFeature"},65535:{n:""}},il=V(ol,"n");il.BrtFRTArchID$=16;var sl={6:{n:"Formula",f:Qi},10:{n:"EOF",f:jr},12:{n:"CalcCount",f:zr},13:{n:"CalcMode",f:zr},14:{n:"CalcPrecision",f:Lr},15:{n:"CalcRefMode",f:Lr},16:{n:"CalcDelta",f:Nn},17:{n:"CalcIter",f:Lr},18:{n:"Protect",f:Lr},19:{n:"Password",f:zr},20:{n:"Header",f:Ca},21:{n:"Footer",f:Ca},23:{n:"ExternSheet",f:ka},24:{n:"Lbl",f:xa},25:{n:"WinProtect",f:Lr},26:{n:"VerticalPageBreaks"},27:{n:"HorizontalPageBreaks"},28:{n:"Note",f:function(e,t,n){return function(e,t,n){if(!(n.biff<8)){var r=e.read_shift(2),a=e.read_shift(2),o=e.read_shift(2),i=e.read_shift(2),s=Zr(e,0,n);return n.biff<8&&e.read_shift(1),[{r:r,c:a},s,i,o]}}(e,0,n)}},29:{n:"Selection"},34:{n:"Date1904",f:Lr},35:{n:"ExternName",f:Oa},38:{n:"LeftMargin",f:Nn},39:{n:"RightMargin",f:Nn},40:{n:"TopMargin",f:Nn},41:{n:"BottomMargin",f:Nn},42:{n:"PrintRowCol",f:Lr},43:{n:"PrintGrid",f:Lr},47:{n:"FilePass",f:function(e,t,n){var r={Type:n.biff>=8?e.read_shift(2):0};return r.Type?po(e,t-2,r):function(e,t,n,r){var a={key:zr(e),verificationBytes:zr(e)};n.password&&(a.verifier=uo(n.password)),r.valid=a.verificationBytes===a.verifier,r.valid&&(r.insitu=ho(n.password))}(e,n.biff,n,r),r}},49:{n:"Font",f:function(e,t,n){var r={dyHeight:e.read_shift(2),fl:e.read_shift(2)};switch(n&&n.biff||8){case 2:break;case 3:case 4:e.l+=2;break;default:e.l+=10}return r.name=Wr(e,0,n),r}},51:{n:"PrintSize",f:zr},60:{n:"Continue"},61:{n:"Window1",f:function(e){return{Pos:[e.read_shift(2),e.read_shift(2)],Dim:[e.read_shift(2),e.read_shift(2)],Flags:e.read_shift(2),CurTab:e.read_shift(2),FirstTab:e.read_shift(2),Selected:e.read_shift(2),TabRatio:e.read_shift(2)}}},64:{n:"Backup",f:Lr},65:{n:"Pane",f:function(){}},66:{n:"CodePage",f:zr},77:{n:"Pls"},80:{n:"DCon"},81:{n:"DConRef"},82:{n:"DConName"},85:{n:"DefColWidth",f:zr},89:{n:"XCT"},90:{n:"CRN"},91:{n:"FileSharing"},92:{n:"WriteAccess",f:function(e,t,n){if(n.enc)return e.l+=t,"";var r=e.l,a=Zr(e,0,n);return e.read_shift(t+r-e.l),a}},93:{n:"Obj",f:function(e,t,n){if(n&&n.biff<8)return function(e,t,n){e.l+=4;var r=e.read_shift(2),a=e.read_shift(2),o=e.read_shift(2);e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=6,t-=36;var i=[];return i.push((Aa[r]||zt)(e,t,n)),{cmo:[a,r,o],ft:i}}(e,t,n);var r=fa(e);return{cmo:r,ft:function(e,t){for(var n=e.l+t,r=[];e.l7||t[1]>7)throw new Error("Bad Gutters: "+t.join("|"));return t}},129:{n:"WsBool",f:function(e,t,n){var r=n&&8==n.biff||2==t?e.read_shift(2):(e.l+=t,0);return{fDialog:16&r,fBelow:64&r,fRight:128&r}}},130:{n:"GridSet",f:zr},131:{n:"HCenter",f:Lr},132:{n:"VCenter",f:Lr},133:{n:"BoundSheet8",f:function(e,t,n){var r=e.read_shift(4),a=3&e.read_shift(1),o=e.read_shift(1);switch(o){case 0:o="Worksheet";break;case 1:o="Macrosheet";break;case 2:o="Chartsheet";break;case 6:o="VBAModule"}var i=Wr(e,0,n);return 0===i.length&&(i="Sheet1"),{pos:r,hs:a,dt:o,name:i}}},134:{n:"WriteProtect"},140:{n:"Country",f:function(e){var t,n=[0,0];return t=e.read_shift(2),n[0]=Vn[t]||t,t=e.read_shift(2),n[1]=Vn[t]||t,n}},141:{n:"HideObj",f:zr},144:{n:"Sort"},146:{n:"Palette",f:function(e){for(var t=e.read_shift(2),n=[];t-- >0;)n.push(na(e));return n}},151:{n:"Sync"},152:{n:"LPr"},153:{n:"DxGCol"},154:{n:"FnGroupName"},155:{n:"FilterMode"},156:{n:"BuiltInFnGroupCount",f:zr},157:{n:"AutoFilterInfo"},158:{n:"AutoFilter"},160:{n:"Scl",f:Ia},161:{n:"Setup",f:function(e,t){var n={};return t<32||(e.l+=16,n.header=Nn(e),n.footer=Nn(e),e.l+=2),n}},174:{n:"ScenMan"},175:{n:"SCENARIO"},176:{n:"SxView"},177:{n:"Sxvd"},178:{n:"SXVI"},180:{n:"SxIvd"},181:{n:"SXLI"},182:{n:"SXPI"},184:{n:"DocRoute"},185:{n:"RecipName"},189:{n:"MulRk",f:function(e,t){for(var n=e.l+t-2,r=e.read_shift(2),a=e.read_shift(2),o=[];e.l>2&1,6,r.data=function(e,t,n,r){var a={},o=e.read_shift(4),i=e.read_shift(4),s=e.read_shift(4),c=e.read_shift(2);return a.patternType=Hn[s>>26],r.cellStyles?(a.alc=7&o,a.fWrap=o>>3&1,a.alcV=o>>4&7,a.fJustLast=o>>7&1,a.trot=o>>8&255,a.cIndent=o>>16&15,a.fShrinkToFit=o>>20&1,a.iReadOrder=o>>22&2,a.fAtrNum=o>>26&1,a.fAtrFnt=o>>27&1,a.fAtrAlc=o>>28&1,a.fAtrBdr=o>>29&1,a.fAtrPat=o>>30&1,a.fAtrProt=o>>31&1,a.dgLeft=15&i,a.dgRight=i>>4&15,a.dgTop=i>>8&15,a.dgBottom=i>>12&15,a.icvLeft=i>>16&127,a.icvRight=i>>23&127,a.grbitDiag=i>>30&3,a.icvTop=127&s,a.icvBottom=s>>7&127,a.icvDiag=s>>14&127,a.dgDiag=s>>21&15,a.icvFore=127&c,a.icvBack=c>>7&127,a.fsxButton=c>>14&1,a):a}(e,0,r.fStyle,n),r}},225:{n:"InterfaceHdr",f:function(e,t){return 0===t||e.read_shift(2),1200}},226:{n:"InterfaceEnd",f:jr},227:{n:"SXVS"},229:{n:"MergeCells",f:function(e,t){for(var n=[],r=e.read_shift(2);r--;)n.push(sa(e));return n}},233:{n:"BkHim"},235:{n:"MsoDrawingGroup"},236:{n:"MsoDrawing"},237:{n:"MsoDrawingSelection"},239:{n:"PhoneticInfo"},240:{n:"SxRule"},241:{n:"SXEx"},242:{n:"SxFilt"},244:{n:"SxDXF"},245:{n:"SxItm"},246:{n:"SxName"},247:{n:"SxSelect"},248:{n:"SXPair"},249:{n:"SxFmla"},251:{n:"SxFormat"},252:{n:"SST",f:function(e,t){for(var n=e.l+t,r=e.read_shift(4),a=e.read_shift(4),o=[],i=0;i!=a&&e.l255)throw new Error("Unexpected SupBook type: "+o);for(var i=Gr(e,o),s=[];r>e.l;)s.push(Xr(e));return[o,a,i,s]}},431:{n:"Prot4Rev",f:Lr},432:{n:"CondFmt"},433:{n:"CF"},434:{n:"DVal"},437:{n:"DConBin"},438:{n:"TxO",f:function(e,t,n){var r=e.l,a="";try{e.l+=4;var o=(n.lastobj||{cmo:[0,0]}).cmo[1];-1==[0,5,7,11,12,14].indexOf(o)?e.l+=6:function(e){var t=e.read_shift(1);e.l++;var n=e.read_shift(2);return e.l+=2,[t,n]}(e);var i=e.read_shift(2);e.read_shift(2),zr(e);var s=e.read_shift(2);e.l+=s;for(var c=1;c=(l?i:2*i))break}if(a.length!==i&&a.length!==2*i)throw new Error("cchText: "+i+" != "+a.length);return e.l=r+t,{t:a}}catch(pu){return e.l=r+t,{t:a}}}},439:{n:"RefreshAll",f:Lr},440:{n:"HLink",f:function(e,t){var n=sa(e);return e.l+=16,[n,function(e,t){var n=e.l+t,r=e.read_shift(4);if(2!==r)throw new Error("Unrecognized streamVersion: "+r);var a=e.read_shift(2);e.l+=2;var o,i,s,c,l,u,f="";16&a&&(o=Jr(e,e.l)),128&a&&(i=Jr(e,e.l)),257===(257&a)&&(s=Jr(e,e.l)),1===(257&a)&&(c=qr(e,e.l)),8&a&&(f=Jr(e,e.l)),32&a&&(l=e.read_shift(16)),64&a&&(u=wr(e)),e.l=n;var h=i||s||c||"";h&&f&&(h+="#"+f),h||(h="#"+f),2&a&&"/"==h.charAt(0)&&"/"!=h.charAt(1)&&(h="file://"+h);var d={Target:h};return l&&(d.guid=l),u&&(d.time=u),o&&(d.Tooltip=o),d}(e,t-24)]}},441:{n:"Lel"},442:{n:"CodeName",f:Xr},443:{n:"SXFDBType"},444:{n:"Prot4RevPass",f:zr},445:{n:"ObNoMacros"},446:{n:"Dv"},448:{n:"Excel9File",f:jr},449:{n:"RecalcId",f:function(e){return e.read_shift(2),e.read_shift(4)},r:2},450:{n:"EntExU2",f:jr},512:{n:"Dimensions",f:_a},513:{n:"Blank",f:Na},515:{n:"Number",f:function(e,t,n){n.biffguess&&2==n.biff&&(n.biff=5);var r=ra(e),a=Nn(e);return r.val=a,r}},516:{n:"Label",f:function(e,t,n){n.biffguess&&2==n.biff&&(n.biff=5),e.l;var r=ra(e);2==n.biff&&e.l++;var a=Xr(e,e.l,n);return r.val=a,r}},517:{n:"BoolErr",f:Ea},519:{n:"String",f:Ra},520:{n:"Row",f:function(e){var t={};t.r=e.read_shift(2),t.c=e.read_shift(2),t.cnt=e.read_shift(2)-t.c;var n=e.read_shift(2);e.l+=4;var r=e.read_shift(1);return e.l+=3,7&r&&(t.level=7&r),32&r&&(t.hidden=!0),64&r&&(t.hpt=n/20),t}},523:{n:"Index"},545:{n:"Array",f:Ta},549:{n:"DefaultRowHeight",f:va},566:{n:"Table"},574:{n:"Window2",f:function(e,t,n){return n&&n.biff>=2&&n.biff<5?{}:{RTL:64&e.read_shift(2)}}},638:{n:"RK",f:function(e){var t=e.read_shift(2),n=e.read_shift(2),r=ia(e);return{r:t,c:n,ixfe:r[0],rknum:r[1]}}},659:{n:"Style"},1048:{n:"BigName"},1054:{n:"Format",f:function(e,t,n){return[e.read_shift(2),Zr(e,0,n)]}},1084:{n:"ContinueBigName"},1212:{n:"ShrFmla",f:function(e,t,n){var r=la(e);e.l++;var a=e.read_shift(1);return[Ji(e,t-=8,n),a,r]}},2048:{n:"HLinkTooltip",f:function(e,t){e.read_shift(2);var n=sa(e),r=e.read_shift((t-10)/2,"dbcs-cont");return[n,r=r.replace(A,"")]}},2049:{n:"WebPub"},2050:{n:"QsiSXTag"},2051:{n:"DBQueryExt"},2052:{n:"ExtString"},2053:{n:"TxtQry"},2054:{n:"Qsir"},2055:{n:"Qsif"},2056:{n:"RRDTQSIF"},2057:{n:"BOF",f:pa},2058:{n:"OleDbConn"},2059:{n:"WOpt"},2060:{n:"SXViewEx"},2061:{n:"SXTH"},2062:{n:"SXPIEx"},2063:{n:"SXVDTEx"},2064:{n:"SXViewEx9"},2066:{n:"ContinueFrt"},2067:{n:"RealTimeData"},2128:{n:"ChartFrtInfo"},2129:{n:"FrtWrapper"},2130:{n:"StartBlock"},2131:{n:"EndBlock"},2132:{n:"StartObject"},2133:{n:"EndObject"},2134:{n:"CatLab"},2135:{n:"YMult"},2136:{n:"SXViewLink"},2137:{n:"PivotChartBits"},2138:{n:"FrtFontList"},2146:{n:"SheetExt"},2147:{n:"BookExt",r:12},2148:{n:"SXAddl"},2149:{n:"CrErr"},2150:{n:"HFPicture"},2151:{n:"FeatHdr",f:jr},2152:{n:"Feat"},2154:{n:"DataLabExt"},2155:{n:"DataLabExtContents"},2156:{n:"CellWatch"},2161:{n:"FeatHdr11"},2162:{n:"Feature11"},2164:{n:"DropDownObjIds"},2165:{n:"ContinueFrt11"},2166:{n:"DConn"},2167:{n:"List12"},2168:{n:"Feature12"},2169:{n:"CondFmt12"},2170:{n:"CF12"},2171:{n:"CFEx"},2172:{n:"XFCRC",f:function(e){e.l+=2;var t={cxfs:0,crc:0};return t.cxfs=e.read_shift(2),t.crc=e.read_shift(4),t},r:12},2173:{n:"XFExt",f:function(e,t){e.l,e.l+=2;var n=e.read_shift(2);e.l+=2;for(var r=e.read_shift(2),a=[];r-- >0;)a.push(ni(e,e.l));return{ixfe:n,ext:a}},r:12},2174:{n:"AutoFilter12"},2175:{n:"ContinueFrt12"},2180:{n:"MDTInfo"},2181:{n:"MDXStr"},2182:{n:"MDXTuple"},2183:{n:"MDXSet"},2184:{n:"MDXProp"},2185:{n:"MDXKPI"},2186:{n:"MDB"},2187:{n:"PLV"},2188:{n:"Compat12",f:Lr,r:12},2189:{n:"DXF"},2190:{n:"TableStyles",r:12},2191:{n:"TableStyle"},2192:{n:"TableStyleElement"},2194:{n:"StyleExt"},2195:{n:"NamePublish"},2196:{n:"NameCmt",f:function(e,t,n){if(!(n.biff<8)){var r=e.read_shift(2),a=e.read_shift(2);return[Gr(e,r,n),Gr(e,a,n)]}e.l+=t},r:12},2197:{n:"SortData"},2198:{n:"Theme",f:function(e,t,n){var r=e.l+t;if(124226!==e.read_shift(4))if(n.cellStyles){var a,o=e.slice(e.l);e.l=r;try{a=ve(o,{type:"array"})}catch(pu){return}var i=pe(a,"theme/theme/theme1.xml",!0);if(i)return Qo(i,n)}else e.l=r},r:12},2199:{n:"GUIDTypeLib"},2200:{n:"FnGrp12"},2201:{n:"NameFnGrp12"},2202:{n:"MTRSettings",f:function(e){return[0!==e.read_shift(4),0!==e.read_shift(4),e.read_shift(4)]},r:12},2203:{n:"CompressPictures",f:jr},2204:{n:"HeaderFooter"},2205:{n:"CrtLayout12"},2206:{n:"CrtMlFrt"},2207:{n:"CrtMlFrtContinue"},2211:{n:"ForceFullCalculation",f:function(e){var t=function(e){var t=e.read_shift(2),n=e.read_shift(2);return e.l+=8,{type:t,flags:n}}(e);if(2211!=t.type)throw new Error("Invalid Future Record "+t.type);return 0!==e.read_shift(4)}},2212:{n:"ShapePropsStream"},2213:{n:"TextPropsStream"},2214:{n:"RichTextStream"},2215:{n:"CrtLayout12A"},4097:{n:"Units"},4098:{n:"Chart"},4099:{n:"Series"},4102:{n:"DataFormat"},4103:{n:"LineFormat"},4105:{n:"MarkerFormat"},4106:{n:"AreaFormat"},4107:{n:"PieFormat"},4108:{n:"AttachedLabel"},4109:{n:"SeriesText"},4116:{n:"ChartFormat"},4117:{n:"Legend"},4118:{n:"SeriesList"},4119:{n:"Bar"},4120:{n:"Line"},4121:{n:"Pie"},4122:{n:"Area"},4123:{n:"Scatter"},4124:{n:"CrtLine"},4125:{n:"Axis"},4126:{n:"Tick"},4127:{n:"ValueRange"},4128:{n:"CatSerRange"},4129:{n:"AxisLine"},4130:{n:"CrtLink"},4132:{n:"DefaultText"},4133:{n:"Text"},4134:{n:"FontX",f:zr},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:function(e,t,n){var r={area:!1};if(5!=n.biff)return e.l+=t,r;var a=e.read_shift(1);return e.l+=3,16&a&&(r.area=!0),r}},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:function(e){for(var t=e.read_shift(2),n=[];t-- >0;)n.push(na(e));return n}},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:_a},1:{n:"BIFF2BLANK"},2:{n:"BIFF2INT",f:function(e){var t=ra(e);++e.l;var n=e.read_shift(2);return t.t="n",t.val=n,t}},3:{n:"BIFF2NUM",f:function(e){var t=ra(e);++e.l;var n=Nn(e);return t.t="n",t.val=n,t}},4:{n:"BIFF2STR",f:function(e,t,n){n.biffguess&&5==n.biff&&(n.biff=2);var r=ra(e);++e.l;var a=Zr(e,0,n);return r.t="str",r.val=a,r}},5:{n:"BoolErr",f:Ea},7:{n:"String",f:function(e){var t=e.read_shift(1);return 0===t?(e.l++,""):e.read_shift(t,"sbcs-cont")}},8:{n:"BIFF2ROW"},9:{n:"BOF",f:pa},11:{n:"Index"},22:{n:"ExternCount",f:zr},30:{n:"BIFF2FORMAT",f:ya},31:{n:"BIFF2FMTCNT"},32:{n:"BIFF2COLINFO"},33:{n:"Array",f:Ta},36:{n:"COLWIDTH"},37:{n:"DefaultRowHeight",f:va},50:{n:"BIFF2FONTXTRA",f:function(e,t){e.l+=6,e.l+=2,e.l+=1,e.l+=3,e.l+=1,e.l+=t-13}},62:{n:"BIFF2WINDOW2"},52:{n:"DDEObjName"},67:{n:"BIFF2XF"},68:{n:"BIFF2XFINDEX",f:zr},69:{n:"BIFF2FONTCLR"},86:{n:"BIFF4FMTCNT"},126:{n:"RK"},127:{n:"ImData",f:function(e){var t=e.read_shift(2),n=e.read_shift(2),r=e.read_shift(4),a={fmt:t,env:n,len:r,data:e.slice(e.l,e.l+r)};return e.l+=r,a}},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:function(e,t,n){var r=e.l+t,a=ra(e),o=e.read_shift(2),i=Gr(e,o,n);return e.l=r,a.t="str",a.val=i,a}},223:{n:"UDDesc"},234:{n:"TabIdConf"},354:{n:"XL5Modify"},421:{n:"FileSharing2"},518:{n:"Formula",f:Qi},521:{n:"BOF",f:pa},536:{n:"Lbl",f:xa},547:{n:"ExternName",f:Oa},561:{n:"Font"},579:{n:"BIFF3XF"},1030:{n:"Formula",f:Qi},1033:{n:"BOF",f:pa},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:{}},cl=V(sl,"n");function ll(e,t,n,r){var a="number"==typeof t?t:+t||+cl[t];if(!isNaN(a)){var o=r||(n||[]).length||0,i=e.next(4);i.write_shift(2,a),i.write_shift(2,o),o>0&&Tt(n)&&e.push(n)}}function ul(e,t,n){return e||(e=Ut(7)),e.write_shift(2,t),e.write_shift(2,n),e.write_shift(2,0),e.write_shift(1,0),e}function fl(e,t,n,r){if(null!=t.v)switch(t.t){case"d":case"n":var a="d"==t.t?K(te(t.v)):t.v;return void(a==(0|a)&&a>=0&&a<65536?ll(e,2,function(e,t,n){var r=Ut(9);return ul(r,e,t),r.write_shift(2,n),r}(n,r,a)):ll(e,3,function(e,t,n){var r=Ut(15);return ul(r,e,t),r.write_shift(8,n,"f"),r}(n,r,a)));case"b":case"e":return void ll(e,5,function(e,t,n,r){var a=Ut(9);return ul(a,e,t),Hr(n,r||"b",a),a}(n,r,t.v,t.t));case"s":case"str":return void ll(e,4,function(e,t,n){var r=Ut(8+2*n.length);return ul(r,e,t),r.write_shift(1,n.length),r.write_shift(n.length,n,"sbcs"),r.l255||i.e.r>16383){if(r.WTF)throw new Error("Range "+(t["!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),a=nn(i)}for(var l=i.s.r;l<=i.e.r;++l){s=$t(l);for(var u=i.s.c;u<=i.e.c;++u){l===i.s.r&&(c[u]=Jt(u)),a=c[u]+s;var f=o?(t[l]||[])[u]:t[a];f&&fl(e,f,l,u)}}}(r,e.Sheets[e.SheetNames[a]],0,n),ll(r,10),r.end()}function dl(e,t,n){ll(e,"Font",function(e,t){var n=e.name||"Arial",r=t&&5==t.biff,a=Ut(r?15+n.length:16+2*n.length);return a.write_shift(2,20*(e.sz||12)),a.write_shift(4,0),a.write_shift(2,400),a.write_shift(4,0),a.write_shift(2,0),a.write_shift(1,n.length),r||a.write_shift(1,1),a.write_shift((r?1:2)*n.length,n,r?"sbcs":"utf16le"),a}({sz:12,color:{theme:1},name:"Arial",family:2,scheme:"minor"},n))}function pl(e,t,n){if(t){var r=0;t.forEach((function(t,n){++r<=256&&t&&ll(e,"ColInfo",function(e,t){var n=Ut(12);n.write_shift(2,t),n.write_shift(2,t),n.write_shift(2,256*e.width),n.write_shift(2,0);var r=0;return e.hidden&&(r|=1),n.write_shift(1,r),r=e.level||0,n.write_shift(1,r),n.write_shift(2,0),n}(gs(n,t),n))}))}}function ml(e,t,n,r,a){var o=16+bs(a.cellXfs,t,a);if(null!=t.v||t.bf)if(t.bf)ll(e,"Formula",es(t,n,r,0,o));else switch(t.t){case"d":case"n":ll(e,"Number",function(e,t,n,r){var a=Ut(14);return aa(e,t,r,a),In(n,a),a}(n,r,"d"==t.t?K(te(t.v)):t.v,o));break;case"b":case"e":ll(e,517,function(e,t,n,r,a,o){var i=Ut(8);return aa(e,t,r,i),Hr(n,o,i),i}(n,r,t.v,o,0,t.t));break;case"s":case"str":if(a.bookSST)ll(e,"LabelSst",function(e,t,n,r){var a=Ut(10);return aa(e,t,r,a),a.write_shift(4,n),a}(n,r,ms(a.Strings,t.v,a.revStrings),o));else ll(e,"Label",function(e,t,n,r,a){var o=!a||8==a.biff,i=Ut(+o+8+(1+o)*n.length);return aa(e,t,r,i),i.write_shift(2,n.length),o&&i.write_shift(1,1),i.write_shift((1+o)*n.length,n,o?"utf16le":"sbcs"),i}(n,r,(t.v||"").slice(0,255),o,a));break;default:ll(e,"Blank",aa(n,r,o))}else ll(e,"Blank",aa(n,r,o))}function gl(e,t,n){var r,a=Ht(),o=n.SheetNames[e],i=n.Sheets[o]||{},s=(n||{}).Workbook||{},c=(s.Sheets||[])[e]||{},l=Array.isArray(i),u=8==t.biff,f="",h=[],d=rn(i["!ref"]||"A1"),p=u?65536:16384;if(d.e.c>255||d.e.r>=p){if(t.WTF)throw new Error("Range "+(i["!ref"]||"A1")+" exceeds format limit A1:IV16384");d.e.c=Math.min(d.e.c,255),d.e.r=Math.min(d.e.c,p-1)}ll(a,2057,ma(0,16,t)),ll(a,"CalcMode",Ur(1)),ll(a,"CalcCount",Ur(100)),ll(a,"CalcRefMode",Fr(!0)),ll(a,"CalcIter",Fr(!1)),ll(a,"CalcDelta",In(.001)),ll(a,"CalcSaveRecalc",Fr(!0)),ll(a,"PrintRowCol",Fr(!1)),ll(a,"PrintGrid",Fr(!1)),ll(a,"GridSet",Ur(1)),ll(a,"Guts",function(e){var t=Ut(8);return t.write_shift(4,0),t.write_shift(2,e[0]?e[0]+1:0),t.write_shift(2,e[1]?e[1]+1:0),t}([0,0])),ll(a,"HCenter",Fr(!1)),ll(a,"VCenter",Fr(!1)),u&&pl(a,i["!cols"]),ll(a,512,function(e,t){var n=8!=t.biff&&t.biff?2:4,r=Ut(2*n+6);return r.write_shift(n,e.s.r),r.write_shift(n,e.e.r+1),r.write_shift(2,e.s.c),r.write_shift(2,e.e.c+1),r.write_shift(2,0),r}(d,t)),u&&(i["!links"]=[]);for(var m=d.s.r;m<=d.e.r;++m){f=$t(m);for(var g=d.s.c;g<=d.e.c;++g){m===d.s.r&&(h[g]=Jt(g)),r=h[g]+f;var v=l?(i[m]||[])[g]:i[r];v&&(ml(a,v,m,g,t),u&&v.l&&i["!links"].push([r,v.l]))}}var b=c.CodeName||c.name||o;return u&&ll(a,"Window2",function(e){var t=Ut(18),n=1718;return e&&e.RTL&&(n|=64),t.write_shift(2,n),t.write_shift(4,0),t.write_shift(4,64),t.write_shift(4,0),t.write_shift(4,0),t}((s.Views||[])[0])),u&&(i["!merges"]||[]).length&&ll(a,"MergeCells",function(e){var t=Ut(2+8*e.length);t.write_shift(2,e.length);for(var n=0;n255&&console.error("Worksheet '"+e.SheetNames[n]+"' extends beyond column IV (255). Data may be lost.")}var a=t||{};switch(a.biff||2){case 8:case 5:return function(e,t){var n=t||{},r=[];e&&!e.SSF&&(e.SSF=D.get_table()),e&&e.SSF&&(B(D),D.load_table(e.SSF),n.revssf=W(e.SSF),n.revssf[e.SSF[65535]]=0,n.ssf=e.SSF),n.Strings=[],n.Strings.Count=0,n.Strings.Unique=0,Vl(n),n.cellXfs=[],bs(n.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={});for(var a=0;a/g,"")).match(/");var o=e.match(/<\/table/i),i=a.index,s=o&&o.index||e.length,c=function(e,t,n){if(ce||"string"==typeof t)return e.split(t);for(var r=e.split(t),a=[r[0]],o=1;o]*>)/i,""),l=-1,u=0,f=0,h=0,d={s:{r:1e7,c:1e7},e:{r:0,c:0}},p=[];for(i=0;i/i);for(s=0;s"))>-1;)y=y.slice(_+1);for(var w=0;w")));h=C.colspan?+C.colspan:1,((f=+C.rowspan)>1||h>1)&&p.push({s:{r:l,c:u},e:{r:l+(f||1)-1,c:u+h-1}});var O=C.t||C["data-t"]||"";if(y.length){if(y=We(y),d.s.r>l&&(d.s.r=l),d.e.ru&&(d.s.c=u),d.e.cn||a[l].s.c>i)&&!(a[l].e.r1&&(d.rowspan=s),c>1&&(d.colspan=c),r.editable?h=''+h+"":f&&(d["data-t"]=f&&f.t||"z",null!=f.v&&(d["data-v"]=f.v),null!=f.z&&(d["data-z"]=f.z),f.l&&"#"!=(f.l.Target||"#").charAt(0)&&(h=''+h+"")),d.id=(r.id||"sjs")+"-"+u,o.push(Je("td",h,d))}}return""+o.join("")+"
"}function n(e,t,n){return[].join("")+""}var r='SheetJS Table Export',a="";return{to_workbook:function(t,n){var r=t.match(/[\s\S]*?<\/table>/gi);if(!r||0==r.length)throw new Error("Invalid HTML: could not find ");if(1==r.length)return sn(e(r[0],n),n);var a=du.book_new();return r.forEach((function(t,r){du.book_append_sheet(a,e(t,n),"Sheet"+(r+1))})),a},to_sheet:e,_row:t,BEGIN:r,END:a,_preamble:n,from_sheet:function(e,o){var i=o||{},s=null!=i.header?i.header:r,c=null!=i.footer?i.footer:a,l=[s],u=tn(e["!ref"]);i.dense=Array.isArray(e),l.push(n(0,0,i));for(var f=u.s.r;f<=u.e.r;++f)l.push(t(e,u,f,i));return l.push("
"+c),l.join("")}}}();function _l(e,t,n){var r=n||{};var a=0,o=0;if(null!=r.origin)if("number"==typeof r.origin)a=r.origin;else{var i="string"==typeof r.origin?Qt(r.origin):r.origin;a=i.r,o=i.c}var s=t.getElementsByTagName("tr"),c=Math.min(r.sheetRows||1e7,s.length),l={s:{r:0,c:0},e:{r:a,c:o}};if(e["!ref"]){var u=tn(e["!ref"]);l.s.r=Math.min(l.s.r,u.s.r),l.s.c=Math.min(l.s.c,u.s.c),l.e.r=Math.max(l.e.r,u.e.r),l.e.c=Math.max(l.e.c,u.e.c),-1==a&&(l.e.r=a=u.e.r+1)}var f=[],h=0,d=e["!rows"]||(e["!rows"]=[]),p=0,m=0,g=0,v=0,b=0,y=0;for(e["!cols"]||(e["!cols"]=[]);p1||y>1)&&f.push({s:{r:m+a,c:v+o},e:{r:m+a+(b||1)-1,c:v+o+(y||1)-1}});var x={t:"s",v:C},k=E.getAttribute("data-t")||E.getAttribute("t")||"";null!=C&&(0==C.length?x.t=k||"z":r.raw||0==C.trim().length||"s"==k||("TRUE"===C?x={t:"b",v:!0}:"FALSE"===C?x={t:"b",v:!1}:isNaN(oe(C))?isNaN(ie(C).getDate())||(x={t:"d",v:te(C)},r.cellDates||(x={t:"n",v:K(x.v)}),x.z=r.dateNF||D._table[14]):x={t:"n",v:oe(C)})),void 0===x.z&&null!=O&&(x.z=O);var T="",A=E.getElementsByTagName("A");if(A&&A.length)for(var P=0;P=c&&(e["!fullref"]=nn((l.e.r=s.length-p+m-1+a,l))),e}function wl(e,t){return _l((t||{}).dense?[]:{},e,t)}function El(e){var t="",n=function(e){return e.ownerDocument.defaultView&&"function"===typeof e.ownerDocument.defaultView.getComputedStyle?e.ownerDocument.defaultView.getComputedStyle:"function"===typeof getComputedStyle?getComputedStyle:null}(e);return n&&(t=n(e).getPropertyValue("display")),t||(t=e.style.display),"none"===t}var Cl=function(){var e=function(e){var t=e.replace(/[\t\r\n]/g," ").trim().replace(/ +/g," ").replace(//g," ").replace(//g,(function(e,t){return Array(parseInt(t,10)+1).join(" ")})).replace(/]*\/>/g,"\t").replace(//g,"\n");return[Te(t.replace(/<[^>]*>/g,""))]},t={day:["d","dd"],month:["m","mm"],year:["y","yy"],hours:["h","hh"],minutes:["m","mm"],seconds:["s","ss"],"am-pm":["A/P","AM/PM"],"day-of-week":["ddd","dddd"],era:["e","ee"],quarter:["\\Qm",'m\\"th quarter"']};return function(n,r){var a=r||{};var o,i,s,c,l,u,f=Fc(n),h=[],d={name:""},p="",m=0,g={},v=[],b=a.dense?[]:{},y={value:""},_="",w=0,E=[],C=-1,O=-1,S={s:{r:1e6,c:1e7},e:{r:0,c:0}},x=0,k={},T=[],A={},P=[],D=1,B=1,N=[],I={Names:[]},R={},M=["",""],j=[],L={},F="",z=0,U=!1,V=!1,H=0;for(zc.lastIndex=0,f=f.replace(//gm,"").replace(//gm,"");l=zc.exec(f);)switch(l[3]=l[3].replace(/_.*$/,"")){case"table":case"\u5de5\u4f5c\u8868":"/"===l[1]?(S.e.c>=S.s.c&&S.e.r>=S.s.r?b["!ref"]=nn(S):b["!ref"]="A1:A1",a.sheetRows>0&&a.sheetRows<=S.e.r&&(b["!fullref"]=b["!ref"],S.e.r=a.sheetRows-1,b["!ref"]=nn(S)),T.length&&(b["!merges"]=T),P.length&&(b["!rows"]=P),s.name=s["\u540d\u79f0"]||s.name,"undefined"!==typeof JSON&&JSON.stringify(s),v.push(s.name),g[s.name]=b,V=!1):"/"!==l[0].charAt(l[0].length-2)&&(s=Oe(l[0],!1),C=O=-1,S.s.r=S.s.c=1e7,S.e.r=S.e.c=0,b=a.dense?[]:{},T=[],P=[],V=!0);break;case"table-row-group":"/"===l[1]?--x:++x;break;case"table-row":case"\u884c":if("/"===l[1]){C+=D,D=1;break}if((c=Oe(l[0],!1))["\u884c\u53f7"]?C=c["\u884c\u53f7"]-1:-1==C&&(C=0),(D=+c["number-rows-repeated"]||1)<10)for(H=0;H0&&(P[C+H]={level:x});O=-1;break;case"covered-table-cell":"/"!==l[1]&&++O,a.sheetStubs&&(a.dense?(b[C]||(b[C]=[]),b[C][O]={t:"z"}):b[en({r:C,c:O})]={t:"z"}),_="",E=[];break;case"table-cell":case"\u6570\u636e":if("/"===l[0].charAt(l[0].length-2))++O,y=Oe(l[0],!1),B=parseInt(y["number-columns-repeated"]||"1",10),u={t:"z",v:null},y.formula&&0!=a.cellFormula&&(u.f=us(Te(y.formula))),"string"==(y["\u6570\u636e\u7c7b\u578b"]||y["value-type"])&&(u.t="s",u.v=Te(y["string-value"]||""),a.dense?(b[C]||(b[C]=[]),b[C][O]=u):b[en({r:C,c:O})]=u),O+=B-1;else if("/"!==l[1]){_="",w=0,E=[],B=1;var W=D?C+D-1:C;if(++O>S.e.c&&(S.e.c=O),OS.e.r&&(S.e.r=W),j=[],L={},u={t:(y=Oe(l[0],!1))["\u6570\u636e\u7c7b\u578b"]||y["value-type"],v:null},a.cellFormula)if(y.formula&&(y.formula=Te(y.formula)),y["number-matrix-columns-spanned"]&&y["number-matrix-rows-spanned"]&&(A={s:{r:C,c:O},e:{r:C+(parseInt(y["number-matrix-rows-spanned"],10)||0)-1,c:O+(parseInt(y["number-matrix-columns-spanned"],10)||0)-1}},u.F=nn(A),N.push([A,u.F])),y.formula)u.f=us(y.formula);else for(H=0;H=N[H][0].s.r&&C<=N[H][0].e.r&&O>=N[H][0].s.c&&O<=N[H][0].e.c&&(u.F=N[H][1]);switch((y["number-columns-spanned"]||y["number-rows-spanned"])&&(A={s:{r:C,c:O},e:{r:C+(parseInt(y["number-rows-spanned"],10)||0)-1,c:O+(parseInt(y["number-columns-spanned"],10)||0)-1}},T.push(A)),y["number-columns-repeated"]&&(B=parseInt(y["number-columns-repeated"],10)),u.t){case"boolean":u.t="b",u.v=je(y["boolean-value"]);break;case"float":case"percentage":case"currency":u.t="n",u.v=parseFloat(y.value);break;case"date":u.t="d",u.v=te(y["date-value"]),a.cellDates||(u.t="n",u.v=K(u.v)),u.z="m/d/yy";break;case"time":u.t="n",u.v=J(y["time-value"])/86400,a.cellDates&&(u.t="d",u.v=q(u.v)),u.z="HH:MM:SS";break;case"number":u.t="n",u.v=parseFloat(y["\u6570\u636e\u6570\u503c"]);break;default:if("string"!==u.t&&"text"!==u.t&&u.t)throw new Error("Unsupported value type "+u.t);u.t="s",null!=y["string-value"]&&(_=Te(y["string-value"]),E=[])}}else{if(U=!1,"s"===u.t&&(u.v=_||"",E.length&&(u.R=E),U=0==w),R.Target&&(u.l=R),j.length>0&&(u.c=j,j=[]),_&&!1!==a.cellText&&(u.w=_),U&&(u.t="z",delete u.v),(!U||a.sheetStubs)&&!(a.sheetRows&&a.sheetRows<=C))for(var Y=0;Y0;)b[C+Y][O+B]=re(u);else for(b[en({r:C+Y,c:O})]=u;--B>0;)b[en({r:C+Y,c:O+B})]=re(u);S.e.c<=O&&(S.e.c=O)}O+=(B=parseInt(y["number-columns-repeated"]||"1",10))-1,B=0,u={},_="",E=[]}R={};break;case"document":case"document-content":case"\u7535\u5b50\u8868\u683c\u6587\u6863":case"spreadsheet":case"\u4e3b\u4f53":case"scripts":case"styles":case"font-face-decls":case"master-styles":if("/"===l[1]){if((o=h.pop())[0]!==l[3])throw"Bad state: "+o}else"/"!==l[0].charAt(l[0].length-2)&&h.push([l[3],!0]);break;case"annotation":if("/"===l[1]){if((o=h.pop())[0]!==l[3])throw"Bad state: "+o;L.t=_,E.length&&(L.R=E),L.a=F,j.push(L)}else"/"!==l[0].charAt(l[0].length-2)&&h.push([l[3],!1]);F="",z=0,_="",w=0,E=[];break;case"creator":"/"===l[1]?F=f.slice(z,l.index):z=l.index+l[0].length;break;case"meta":case"\u5143\u6570\u636e":case"settings":case"config-item-set":case"config-item-map-indexed":case"config-item-map-entry":case"config-item-map-named":case"shapes":case"frame":case"text-box":case"image":case"data-pilot-tables":case"list-style":case"form":case"dde-links":case"event-listeners":case"chart":if("/"===l[1]){if((o=h.pop())[0]!==l[3])throw"Bad state: "+o}else"/"!==l[0].charAt(l[0].length-2)&&h.push([l[3],!1]);_="",w=0,E=[];break;case"scientific-number":case"currency-symbol":case"currency-style":break;case"number-style":case"percentage-style":case"date-style":case"time-style":if("/"===l[1]){if(k[d.name]=p,(o=h.pop())[0]!==l[3])throw"Bad state: "+o}else"/"!==l[0].charAt(l[0].length-2)&&(p="",d=Oe(l[0],!1),h.push([l[3],!0]));break;case"script":case"libraries":case"automatic-styles":break;case"default-style":case"page-layout":case"style":case"map":case"font-face":case"paragraph-properties":case"table-properties":case"table-column-properties":case"table-row-properties":case"table-cell-properties":break;case"number":switch(h[h.length-1][0]){case"time-style":case"date-style":i=Oe(l[0],!1),p+=t[l[3]]["long"===i.style?1:0]}break;case"fraction":break;case"day":case"month":case"year":case"era":case"day-of-week":case"week-of-year":case"quarter":case"hours":case"minutes":case"seconds":case"am-pm":switch(h[h.length-1][0]){case"time-style":case"date-style":i=Oe(l[0],!1),p+=t[l[3]]["long"===i.style?1:0]}break;case"boolean-style":case"boolean":case"text-style":break;case"text":if("/>"===l[0].slice(-2))break;if("/"===l[1])switch(h[h.length-1][0]){case"number-style":case"date-style":case"time-style":p+=f.slice(m,l.index)}else m=l.index+l[0].length;break;case"named-range":M=fs((i=Oe(l[0],!1))["cell-range-address"]);var G={Name:i.name,Ref:M[0]+"!"+M[1]};V&&(G.Sheet=v.length),I.Names.push(G);break;case"text-content":case"text-properties":case"embedded-text":break;case"body":case"\u7535\u5b50\u8868\u683c":case"forms":case"table-column":case"table-header-rows":case"table-rows":case"table-column-group":case"table-header-columns":case"table-columns":case"null-date":case"graphic-properties":case"calculation-settings":case"named-expressions":case"label-range":case"label-ranges":case"named-expression":case"sort":case"sort-by":case"sort-groups":case"tab":case"line-break":case"span":break;case"p":case"\u6587\u672c\u4e32":if(["master-styles"].indexOf(h[h.length-1][0])>-1)break;if("/"!==l[1]||y&&y["string-value"])Oe(l[0],!1),w=l.index+l[0].length;else{var X=e(f.slice(w,l.index));_=(_.length>0?_+"\n":"")+X[0]}break;case"s":break;case"database-range":if("/"===l[1])break;try{g[(M=fs(Oe(l[0])["target-range-address"]))[0]]["!autofilter"]={ref:M[1]}}catch(pu){}break;case"date":case"object":break;case"title":case"\u6807\u9898":case"desc":case"binary-data":case"table-source":case"scenario":case"iteration":case"content-validations":case"content-validation":case"help-message":case"error-message":case"database-ranges":case"filter":case"filter-and":case"filter-or":case"filter-condition":case"list-level-style-bullet":case"list-level-style-number":case"list-level-properties":break;case"sender-firstname":case"sender-lastname":case"sender-initials":case"sender-title":case"sender-position":case"sender-email":case"sender-phone-private":case"sender-fax":case"sender-company":case"sender-phone-work":case"sender-street":case"sender-city":case"sender-postal-code":case"sender-country":case"sender-state-or-province":case"author-name":case"author-initials":case"chapter":case"file-name":case"template-name":case"sheet-name":case"event-listener":break;case"initial-creator":case"creation-date":case"print-date":case"generator":case"document-statistic":case"user-defined":case"editing-duration":case"editing-cycles":case"config-item":case"page-number":case"page-count":case"time":case"cell-range-source":case"detective":case"operation":case"highlighted-range":break;case"data-pilot-table":case"source-cell-range":case"source-service":case"data-pilot-field":case"data-pilot-level":case"data-pilot-subtotals":case"data-pilot-subtotal":case"data-pilot-members":case"data-pilot-member":case"data-pilot-display-info":case"data-pilot-sort-info":case"data-pilot-layout-info":case"data-pilot-field-reference":case"data-pilot-groups":case"data-pilot-group":case"data-pilot-group-member":case"rect":break;case"dde-connection-decls":case"dde-connection-decl":case"dde-link":case"dde-source":case"properties":case"property":break;case"a":if("/"!==l[1]){if(!(R=Oe(l[0],!1)).href)break;R.Target=Te(R.href),delete R.href,"#"==R.Target.charAt(0)&&R.Target.indexOf(".")>-1?(M=fs(R.Target.slice(1)),R.Target="#"+M[0]+"!"+M[1]):R.Target.match(/^\.\.[\\\/]/)&&(R.Target=R.Target.slice(3))}break;case"table-protection":case"data-pilot-grand-total":case"office-document-common-attrs":break;default:switch(l[2]){case"dc:":case"calcext:":case"loext:":case"ooo:":case"chartooo:":case"draw:":case"style:":case"chart:":case"form:":case"uof:":case"\u8868:":case"\u5b57:":break;default:if(a.WTF)throw new Error(l)}}var Z={Sheets:g,SheetNames:v,Workbook:I};return a.bookSheets&&delete Z.Sheets,Z}}();function Ol(e,t){t=t||{},fe(e,"META-INF/manifest.xml")&&function(e,t){for(var n,r,a=Fc(e);n=zc.exec(a);)switch(n[3]){case"manifest":break;case"file-entry":if("/"==(r=Oe(n[0],!1)).path&&"application/vnd.oasis.opendocument.spreadsheet"!==r.type)throw new Error("This OpenDocument is not a spreadsheet");break;case"encryption-data":case"algorithm":case"start-key-generation":case"key-derivation":throw new Error("Unsupported ODS Encryption");default:if(t&&t.WTF)throw n}}(de(e,"META-INF/manifest.xml"),t);var n=pe(e,"content.xml");if(!n)throw new Error("Missing content.xml in ODS / UOF file");var r=Cl(Le(n),t);return fe(e,"meta.xml")&&(r.Props=lr(de(e,"meta.xml"))),r}function Sl(e,t){return Cl(e,t)}var xl=function(){var e=["",'',"",'',"",'',"",""].join(""),t=""+e+"";return function(){return ye+t}}(),kl=function(){var e=" \n",t=function(t,n,r){var a=[];a.push(' \n');var o=0,i=0,s=tn(t["!ref"]||"A1"),c=t["!merges"]||[],l=0,u=Array.isArray(t);if(t["!cols"])for(i=0;i<=s.e.c;++i)a.push(" \n");var f="",h=t["!rows"]||[];for(o=0;o\n");for(;o<=s.e.r;++o){for(f=h[o]?' table:style-name="ro'+h[o].ods+'"':"",a.push(" \n"),i=0;ii)&&!(c[l].s.r>o)&&!(c[l].e.c\n");else{var g=en({r:o,c:i}),v=u?(t[o]||[])[i]:t[g];if(v&&v.f&&(p["table:formula"]=De(("of:="+v.f.replace(fi,"$1[.$2$3$4$5]").replace(/\]:\[/g,":")).replace(/;/g,"|").replace(/,/g,";")),v.F&&v.F.slice(0,g.length)==g)){var b=tn(v.F);p["table:number-matrix-columns-spanned"]=b.e.c-b.s.c+1,p["table:number-matrix-rows-spanned"]=b.e.r-b.s.r+1}if(v){switch(v.t){case"b":m=v.v?"TRUE":"FALSE",p["office:value-type"]="boolean",p["office:boolean-value"]=v.v?"true":"false";break;case"n":m=v.w||String(v.v||0),p["office:value-type"]="float",p["office:value"]=v.v||0;break;case"s":case"str":m=null==v.v?"":v.v,p["office:value-type"]="string";break;case"d":m=v.w||te(v.v).toISOString(),p["office:value-type"]="date",p["office:date-value"]=te(v.v).toISOString(),p["table:style-name"]="ce1";break;default:a.push(e);continue}var y=De(m).replace(/ +/g,(function(e){return''})).replace(/\t/g,"").replace(/\n/g,"").replace(/^ /,"").replace(/ $/,"");if(v.l&&v.l.Target){var _=v.l.Target;"#"==(_="#"==_.charAt(0)?"#"+_.slice(1).replace(/\./,"!"):_).charAt(0)||_.match(/^\w+:/)||(_="../"+_),y=Je("text:a",y,{"xlink:href":_.replace(/&/g,"&")})}a.push(" "+Je("table:table-cell",Je("text:p",y,{}),p)+"\n")}else a.push(e)}}a.push(" \n")}return a.push(" \n"),a.join("")};return function(e,n){var r=[ye],a=qe({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:meta":"urn:oasis:names:tc:opendocument:xmlns:meta:1.0","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:presentation":"urn:oasis:names:tc:opendocument:xmlns:presentation:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:chart":"urn:oasis:names:tc:opendocument:xmlns:chart:1.0","xmlns:dr3d":"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0","xmlns:math":"http://www.w3.org/1998/Math/MathML","xmlns:form":"urn:oasis:names:tc:opendocument:xmlns:form:1.0","xmlns:script":"urn:oasis:names:tc:opendocument:xmlns:script:1.0","xmlns:ooo":"http://openoffice.org/2004/office","xmlns:ooow":"http://openoffice.org/2004/writer","xmlns:oooc":"http://openoffice.org/2004/calc","xmlns:dom":"http://www.w3.org/2001/xml-events","xmlns:xforms":"http://www.w3.org/2002/xforms","xmlns:xsd":"http://www.w3.org/2001/XMLSchema","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","xmlns:sheet":"urn:oasis:names:tc:opendocument:sh33tjs:1.0","xmlns:rpt":"http://openoffice.org/2005/report","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","xmlns:xhtml":"http://www.w3.org/1999/xhtml","xmlns:grddl":"http://www.w3.org/2003/g/data-view#","xmlns:tableooo":"http://openoffice.org/2009/table","xmlns:drawooo":"http://openoffice.org/2010/draw","xmlns:calcext":"urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0","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"}),o=qe({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});"fods"==n.bookType?(r.push("\n"),r.push(ir().replace(/office:document-meta/g,"office:meta"))):r.push("\n"),function(e,t){e.push(" \n"),e.push(' \n'),e.push(' \n'),e.push(" /\n"),e.push(' \n'),e.push(" /\n"),e.push(" \n"),e.push(" \n");var n=0;t.SheetNames.map((function(e){return t.Sheets[e]})).forEach((function(t){if(t&&t["!cols"])for(var r=0;r\n'),e.push(' \n'),e.push(" \n"),++n}}));var r=0;t.SheetNames.map((function(e){return t.Sheets[e]})).forEach((function(t){if(t&&t["!rows"])for(var n=0;n\n'),e.push(' \n'),e.push(" \n"),++r}})),e.push(' \n'),e.push(' \n'),e.push(" \n"),e.push(' \n'),e.push(" \n")}(r,e),r.push(" \n"),r.push(" \n");for(var i=0;i!=e.SheetNames.length;++i)r.push(t(e.Sheets[e.SheetNames[i]],e,i));return r.push(" \n"),r.push(" \n"),"fods"==n.bookType?r.push(""):r.push(""),r.join("")}}();function Tl(e,t){if("fods"==t.bookType)return kl(e,t);var n=ge(),r="",a=[],o=[];return me(n,r="mimetype","application/vnd.oasis.opendocument.spreadsheet"),me(n,r="content.xml",kl(e,t)),a.push([r,"text/xml"]),o.push([r,"ContentFile"]),me(n,r="styles.xml",xl(e,t)),a.push([r,"text/xml"]),o.push([r,"StylesFile"]),me(n,r="meta.xml",ye+ir()),a.push([r,"text/xml"]),o.push([r,"MetadataFile"]),me(n,r="manifest.rdf",function(e){var t,n,r=[ye];r.push('\n');for(var a=0;a!=e.length;++a)r.push(or(e[a][0],e[a][1])),r.push((t="",n=e[a][0],[' \n',' \n'," \n"].join("")));return r.push(or("","Document","pkg")),r.push(""),r.join("")}(o)),a.push([r,"application/rdf+xml"]),me(n,r="META-INF/manifest.xml",function(e){var t=[ye];t.push('\n'),t.push(' \n');for(var n=0;n\n');return t.push(""),t.join("")}(a)),n}function Al(e){return function(t,n){var r=function(e,t){if(!t)return 0;var n=e.SheetNames.indexOf(t);if(-1==n)throw new Error("Sheet not found: "+t);return n}(t,n.sheet);return e.from_sheet(t.Sheets[t.SheetNames[r]],n,t)}}var Pl=Al(yl),Dl=Al({from_sheet:lu}),Bl=Al("undefined"!==typeof ja?ja:{}),Nl=Al("undefined"!==typeof La?La:{}),Il=Al("undefined"!==typeof za?za:{}),Rl=Al("undefined"!==typeof mo?mo:{}),Ml=Al({from_sheet:uu}),jl=Al("undefined"!==typeof Ma?Ma:{}),Ll=Al("undefined"!==typeof Fa?Fa:{}),Fl=Al("undefined"!==typeof Ua?{from_sheet:Ua.sheet_to_wk1}:{});function zl(e){return function(t){for(var n=0;n!=e.length;++n){var r=e[n];void 0===t[r[0]]&&(t[r[0]]=r[1]),"n"===r[2]&&(t[r[0]]=Number(t[r[0]]))}}}var Ul=function(e){zl([["cellNF",!1],["cellHTML",!0],["cellFormula",!0],["cellStyles",!1],["cellText",!0],["cellDates",!1],["sheetStubs",!1],["sheetRows",0,"n"],["bookDeps",!1],["bookSheets",!1],["bookProps",!1],["bookFiles",!1],["bookVBA",!1],["password",""],["WTF",!1]])(e)},Vl=zl([["cellDates",!1],["bookSST",!1],["bookType","xlsx"],["compression",!1],["WTF",!1]]);function Hl(e,t,n,r,a,o,i,s,c,l,u,f){try{o[r]=er(pe(e,n,!0),t);var h,d=de(e,t);switch(s){case"sheet":h=yc(d,t,a,c,o[r],l,u,f);break;case"chart":if(!(h=_c(d,t,a,c,o[r],l))||!h["!drawel"])break;var p=be(h["!drawel"].Target,t),m=Qn(p),g=be(function(e,t){if(!e)return"??";var n=(e.match(/]*r:id="([^"]*)"/)||["",""])[1];return t["!id"][n].Target}(pe(e,p,!0),er(pe(e,m,!0),p)),p),v=Qn(g);h=tc(pe(e,g,!0),0,0,er(pe(e,v,!0),g),0,h);break;case"macro":y=t,o[r],y.slice(-4),h={"!type":"macro"};break;case"dialog":h=function(e,t,n,r,a,o,i,s){return t.slice(-4),{"!type":"dialog"}}(0,t,0,0,o[r]);break;default:throw new Error("Unrecognized sheet type "+s)}i[r]=h;var b=[];o&&o[r]&&U(o[r]).forEach((function(n){if(o[r][n].Type==Jn.CMNT){var a=be(o[r][n].Target,t);if(!(b=Cc(de(e,a,!0),a,c))||!b.length)return;!function(e,t){var n,r=Array.isArray(e);t.forEach((function(t){var a=Qt(t.ref);if(r?(e[a.r]||(e[a.r]=[]),n=e[a.r][a.c]):n=e[t.ref],!n){n={t:"z"},r?e[a.r][a.c]=n:e[t.ref]=n;var o=rn(e["!ref"]||"BDWGO1000001:A1");o.s.r>a.r&&(o.s.r=a.r),o.e.ra.c&&(o.s.c=a.c),o.e.c0?t.calcchains[0]:"",t.sst=t.strs.length>0?t.strs[0]:"",t.style=t.styles.length>0?t.styles[0]:"",t.defaults=n,delete t.calcchains,t}(pe(e,"[Content_Types].xml")),i=!1;if(0===o.workbooks.length&&de(e,r="xl/workbook.xml",!0)&&o.workbooks.push(r),0===o.workbooks.length){if(!de(e,r="xl/workbook.bin",!0))throw new Error("Could not find workbook");o.workbooks.push(r),i=!0}"bin"==o.workbooks[0].slice(-3)&&(i=!0);var s={},c={};if(!t.bookSheets&&!t.bookProps){if(hs=[],o.sst)try{hs=Ec(de(e,Wl(o.sst)),o.sst,t)}catch(pu){if(t.WTF)throw pu}t.cellStyles&&o.themes.length&&(s=function(e,t,n){return Qo(e,n)}(pe(e,o.themes[0].replace(/^\//,""),!0)||"",o.themes[0],t)),o.style&&(c=wc(de(e,Wl(o.style)),o.style,s,t))}o.links.map((function(n){try{er(pe(e,Qn(Wl(n))),n);return Sc(de(e,Wl(n)),0,n,t)}catch(pu){}}));var l=bc(de(e,Wl(o.workbooks[0])),o.workbooks[0],t),u={},f="";o.coreprops.length&&((f=de(e,Wl(o.coreprops[0]),!0))&&(u=lr(f)),0!==o.extprops.length&&(f=de(e,Wl(o.extprops[0]),!0))&&function(e,t,n){var r={};t||(t={}),e=Le(e),hr.forEach((function(n){var a=(e.match(He(n[0]))||[])[1];switch(n[2]){case"string":a&&(t[n[1]]=Te(a));break;case"bool":t[n[1]]="true"===a;break;case"raw":var o=e.match(new RegExp("<"+n[0]+"[^>]*>([\\s\\S]*?)"+n[0]+">"));o&&o.length>0&&(r[n[1]]=o[1])}})),r.HeadingPairs&&r.TitlesOfParts&&dr(r.HeadingPairs,r.TitlesOfParts,t,n)}(f,u,t));var h={};t.bookSheets&&!t.bookProps||0!==o.custprops.length&&(f=pe(e,Wl(o.custprops[0]),!0))&&(h=function(e,t){var n={},r="",a=e.match(mr);if(a)for(var o=0;o!=a.length;++o){var i=a[o],s=Oe(i);switch(s[0]){case"":r=null;break;default:if(0===i.indexOf(""),l=c[0].slice(4),u=c[1];switch(l){case"lpstr":case"bstr":case"lpwstr":n[r]=Te(u);break;case"bool":n[r]=je(u);break;case"i1":case"i2":case"i4":case"i8":case"int":case"uint":n[r]=parseInt(u,10);break;case"r4":case"r8":case"decimal":n[r]=parseFloat(u);break;case"filetime":case"date":n[r]=te(u);break;case"cy":case"error":n[r]=Te(u);break;default:if("/"==l.slice(-1))break;t.WTF&&"undefined"!==typeof console&&console.warn("Unexpected",i,l,c)}}else if(""===i.slice(0,2));else if(t.WTF)throw new Error(i)}}return n}(f,t));var d={};if((t.bookSheets||t.bookProps)&&(l.Sheets?n=l.Sheets.map((function(e){return e.name})):u.Worksheets&&u.SheetNames.length>0&&(n=u.SheetNames),t.bookProps&&(d.Props=u,d.Custprops=h),t.bookSheets&&"undefined"!==typeof n&&(d.SheetNames=n),t.bookSheets?d.SheetNames:t.bookProps))return d;n={};var p={};t.bookDeps&&o.calcchain&&(p=Oc(de(e,Wl(o.calcchain)),o.calcchain));var m,g,v=0,b={},y=l.Sheets;u.Worksheets=y.length,u.SheetNames=[];for(var _=0;_!=y.length;++_)u.SheetNames[_]=y[_].name;var w=i?"bin":"xml",E=o.workbooks[0].lastIndexOf("/"),C=(o.workbooks[0].slice(0,E+1)+"_rels/"+o.workbooks[0].slice(E+1)+".rels").replace(/^\//,"");fe(e,C)||(C="xl/_rels/workbook."+w+".rels");var O=er(pe(e,C,!0),C);O&&(O=function(e,t){if(!e)return 0;try{e=t.map((function(t){return t.id||(t.id=t.strRelID),[t.name,e["!id"][t.id].Target,(n=e["!id"][t.id].Type,Jn.WS.indexOf(n)>-1?"sheet":Jn.CS&&n==Jn.CS?"chart":Jn.DS&&n==Jn.DS?"dialog":Jn.MS&&n==Jn.MS?"macro":n&&n.length?n:"sheet")];var n}))}catch(pu){return null}return e&&0!==e.length?e:null}(O,l.Sheets));var S=de(e,"xl/worksheets/sheet.xml",!0)?1:0;e:for(v=0;v!=u.Worksheets;++v){var x="sheet";if(O&&O[v]?(m="xl/"+O[v][1].replace(/[\/]?xl\//,""),fe(e,m)||(m=O[v][1]),fe(e,m)||(m=C.replace(/_rels\/.*$/,"")+O[v][1]),x=O[v][2]):m=(m="xl/worksheets/sheet"+(v+1-S)+"."+w).replace(/sheet0\./,"sheet."),g=m.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels"),t&&null!=t.sheets)switch(typeof t.sheets){case"number":if(v!=t.sheets)continue e;break;case"string":if(u.SheetNames[v].toLowerCase()!=t.sheets.toLowerCase())continue e;break;default:if(Array.isArray&&Array.isArray(t.sheets)){for(var k=!1,T=0;T!=t.sheets.length;++T)"number"==typeof t.sheets[T]&&t.sheets[T]==v&&(k=1),"string"==typeof t.sheets[T]&&t.sheets[T].toLowerCase()==u.SheetNames[v].toLowerCase()&&(k=1);if(!k)continue e}}Hl(e,m,g,u.SheetNames[v],v,b,n,x,t,l,s,c)}return d={Directory:o,Workbook:l,Props:u,Custprops:h,Deps:p,Sheets:n,SheetNames:u.SheetNames,Strings:hs,Styles:c,Themes:s,SSF:D.get_table()},t&&t.bookFiles&&(e.files?(d.keys=a,d.files=e.files):(d.keys=[],d.files={},e.FullPaths.forEach((function(t,n){t=t.replace(/^Root Entry[\/]/,""),d.keys.push(t),d.files[t]=e.FileIndex[n]})))),t&&t.bookVBA&&(o.vba.length>0?d.vbaraw=de(e,Wl(o.vba[0]),!0):o.defaults&&"application/vnd.ms-office.vbaProject"===o.defaults.bin&&(d.vbaraw=de(e,"xl/vbaProject.bin",!0))),d}function Kl(e,t){var n=t||{},r="Workbook",a=L.find(e,r);try{if(r="/!DataSpaces/Version",!(a=L.find(e,r))||!a.content)throw new Error("ECMA-376 Encrypted file missing "+r);if(function(e){var t={};t.id=e.read_shift(0,"lpp4"),t.R=no(e,4),t.U=no(e,4),t.W=no(e,4)}(a.content),r="/!DataSpaces/DataSpaceMap",!(a=L.find(e,r))||!a.content)throw new Error("ECMA-376 Encrypted file missing "+r);var o=function(e){var t=[];e.l+=4;for(var n=e.read_shift(4);n-- >0;)t.push(ro(e));return t}(a.content);if(1!==o.length||1!==o[0].comps.length||0!==o[0].comps[0].t||"StrongEncryptionDataSpace"!==o[0].name||"EncryptedPackage"!==o[0].comps[0].v)throw new Error("ECMA-376 Encrypted file bad "+r);if(r="/!DataSpaces/DataSpaceInfo/StrongEncryptionDataSpace",!(a=L.find(e,r))||!a.content)throw new Error("ECMA-376 Encrypted file missing "+r);var i=function(e){var t=[];e.l+=4;for(var n=e.read_shift(4);n-- >0;)t.push(e.read_shift(0,"lpp4"));return t}(a.content);if(1!=i.length||"StrongEncryptionTransform"!=i[0])throw new Error("ECMA-376 Encrypted file bad "+r);if(r="/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary",!(a=L.find(e,r))||!a.content)throw new Error("ECMA-376 Encrypted file missing "+r);ao(a.content)}catch(pu){}if(r="/EncryptionInfo",!(a=L.find(e,r))||!a.content)throw new Error("ECMA-376 Encrypted file missing "+r);var s=function(e){var t=no(e);switch(t.Minor){case 2:return[t.Minor,so(e)];case 3:return[t.Minor,co()];case 4:return[t.Minor,lo(e)]}throw new Error("ECMA-376 Encrypted file unrecognized Version: "+t.Minor)}(a.content);if(r="/EncryptedPackage",!(a=L.find(e,r))||!a.content)throw new Error("ECMA-376 Encrypted file missing "+r);if(4==s[0]&&"undefined"!==typeof decrypt_agile)return decrypt_agile(s[1],a.content,n.password||"",n);if(2==s[0]&&"undefined"!==typeof decrypt_std76)return decrypt_std76(s[1],a.content,n.password||"",n);throw new Error("File is password-protected")}function Gl(e,t){if(ri=1024,"ods"==t.bookType)return Tl(e,t);e&&!e.SSF&&(e.SSF=D.get_table()),e&&e.SSF&&(B(D),D.load_table(e.SSF),t.revssf=W(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF),t.rels={},t.wbrels={},t.Strings=[],t.Strings.Count=0,t.Strings.Unique=0,ps?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var n="xlsb"==t.bookType?"bin":"xml",r=li.indexOf(t.bookType)>-1,a={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],TODO:[],xmlns:""};Vl(t=t||{});var o=ge(),i="",s=0;if(t.cellXfs=[],bs(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),me(o,i="docProps/core.xml",function(e,t){var n=t||{},r=[ye,ur],a={};if(!e&&!n.Props)return r.join("");e&&(null!=e.CreatedDate&&fr("dcterms:created","string"===typeof e.CreatedDate?e.CreatedDate:Qe(e.CreatedDate,n.WTF),{"xsi:type":"dcterms:W3CDTF"},r,a),null!=e.ModifiedDate&&fr("dcterms:modified","string"===typeof e.ModifiedDate?e.ModifiedDate:Qe(e.ModifiedDate,n.WTF),{"xsi:type":"dcterms:W3CDTF"},r,a));for(var o=0;o!=sr.length;++o){var i=sr[o],s=n.Props&&null!=n.Props[i[1]]?n.Props[i[1]]:e?e[i[1]]:null;!0===s?s="1":!1===s?s="0":"number"==typeof s&&(s=String(s)),null!=s&&fr(i[0],s,null,r,a)}return r.length>2&&(r[r.length]="",r[1]=r[1].replace("/>",">")),r.join("")}(e.Props,t)),a.coreprops.push(i),ar(t.rels,2,i,Jn.CORE_PROPS),i="docProps/app.xml",e.Props&&e.Props.SheetNames);else if(e.Workbook&&e.Workbook.Sheets){for(var c=[],l=0;lWorksheets")+n("vt:variant",n("vt:i4",String(e.Worksheets))),{size:2,baseType:"variant"})),t[t.length]=n("TitlesOfParts",n("vt:vector",e.SheetNames.map((function(e){return""+De(e)+""})).join(""),{size:e.Worksheets,baseType:"lpstr"})),t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}(e.Props)),a.extprops.push(i),ar(t.rels,3,i,Jn.EXT_PROPS),e.Custprops!==e.Props&&U(e.Custprops||{}).length>0&&(me(o,i="docProps/custom.xml",vr(e.Custprops)),a.custprops.push(i),ar(t.rels,4,i,Jn.CUST_PROPS)),s=1;s<=e.SheetNames.length;++s){var u={"!id":{}},f=e.Sheets[e.SheetNames[s-1]];switch((f||{})["!type"]||"sheet"){case"chart":default:me(o,i="xl/worksheets/sheet"+s+"."+n,kc(s-1,i,t,e,u)),a.sheets.push(i),ar(t.wbrels,-1,"worksheets/sheet"+s+"."+n,Jn.WS[0])}if(f){var h=f["!comments"],d=!1;if(h&&h.length>0){var p="xl/comments"+s+"."+n;me(o,p,Ac(h,p,t)),a.comments.push(p),ar(u,-1,"../comments"+s+"."+n,Jn.CMNT),d=!0}f["!legacy"]&&d&&me(o,"xl/drawings/vmlDrawing"+s+".vml",ai(s,f["!comments"])),delete f["!comments"],delete f["!legacy"]}u["!id"].rId1&&me(o,Qn(i),nr(u))}return null!=t.Strings&&t.Strings.length>0&&(me(o,i="xl/sharedStrings."+n,Tc(t.Strings,i,t)),a.strs.push(i),ar(t.wbrels,-1,"sharedStrings."+n,Jn.SST)),me(o,i="xl/workbook."+n,xc(e,i,t)),a.workbooks.push(i),ar(t.rels,1,i,Jn.WB),me(o,i="xl/theme/theme1.xml",ei(e.Themes,t)),a.themes.push(i),ar(t.wbrels,-1,"theme/theme1.xml",Jn.THEME),me(o,i="xl/styles."+n,function(e,t,n){return(".bin"===t.slice(-4)?Wo:Bo)(e,n)}(e,i,t)),a.styles.push(i),ar(t.wbrels,-1,"styles."+n,Jn.STY),e.vbaraw&&r&&(me(o,i="xl/vbaProject.bin",e.vbaraw),a.vba.push(i),ar(t.wbrels,-1,"vbaProject.bin",Jn.VBA)),me(o,"[Content_Types].xml",function(e,t){var n,r=[];r[r.length]=ye,r[r.length]=$n,r=r.concat(qn);var a=function(a){e[a]&&e[a].length>0&&(n=e[a][0],r[r.length]=Je("Override",null,{PartName:("/"==n[0]?"":"/")+n,ContentType:Xn[a][t.bookType||"xlsx"]}))},o=function(n){(e[n]||[]).forEach((function(e){r[r.length]=Je("Override",null,{PartName:("/"==e[0]?"":"/")+e,ContentType:Xn[n][t.bookType||"xlsx"]})}))},i=function(t){(e[t]||[]).forEach((function(e){r[r.length]=Je("Override",null,{PartName:("/"==e[0]?"":"/")+e,ContentType:Zn[t][0]})}))};return a("workbooks"),o("sheets"),o("charts"),i("themes"),["strs","styles"].forEach(a),["coreprops","extprops","custprops"].forEach(i),i("vba"),i("comments"),i("drawings"),r.length>2&&(r[r.length]="",r[1]=r[1].replace("/>",">")),r.join("")}(a,t)),me(o,"_rels/.rels",nr(t.rels)),me(o,"xl/_rels/workbook."+n+".rels",nr(t.wbrels)),delete t.revssf,delete t.ssf,o}function Xl(e,t){var n="";switch((t||{}).type||"base64"){case"buffer":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":n=b.decode(e.slice(0,12));break;case"binary":n=e;break;case"array":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];default:throw new Error("Unrecognized type "+(t&&t.type||"undefined"))}return[n.charCodeAt(0),n.charCodeAt(1),n.charCodeAt(2),n.charCodeAt(3),n.charCodeAt(4),n.charCodeAt(5),n.charCodeAt(6),n.charCodeAt(7)]}function Zl(e,t){var n=0;e:for(;n=2&&0===r[3])return Ua.to_workbook(o,n);if(0===r[2]&&(8===r[3]||9===r[3]))return Ua.to_workbook(o,n)}break;case 3:case 131:case 139:case 140:return Ma.to_workbook(o,n);case 123:if(92===r[1]&&114===r[2]&&116===r[3])return mo.to_workbook(o,n);break;case 10:case 13:case 32:return function(e,t){var n="",r=Xl(e,t);switch(t.type){case"base64":n=b.decode(e);break;case"binary":n=e;break;case"buffer":n=e.toString("binary");break;case"array":n=ne(e);break;default:throw new Error("Unrecognized type "+t.type)}return 239==r[0]&&187==r[1]&&191==r[2]&&(n=Le(n)),Zl(n,t)}(o,n);case 137:if(80===r[1]&&78===r[2]&&71===r[3])throw new Error("PNG Image File is not a spreadsheet")}return Ma.versions.indexOf(r[0])>-1&&r[2]<=12&&r[3]<=31?Ma.to_workbook(o,n):$l(e,o,n,i)}function Jl(e,t){var n=t||{};return n.type="file",ql(e,n)}function Ql(e,t){switch(t.type){case"base64":case"binary":break;case"buffer":case"array":t.type="";break;case"file":return z(t.file,L.write(e,{type:y?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");default:throw new Error("Unrecognized type "+t.type)}return L.write(e,t)}function eu(e,t,n){n||(n="");var r=n+e;switch(t.type){case"base64":return b.encode(Fe(r));case"binary":return Fe(r);case"string":return e;case"file":return z(t.file,r,"utf8");case"buffer":return y?_(r,"utf8"):eu(r,{type:"binary"}).split("").map((function(e){return e.charCodeAt(0)}))}throw new Error("Unrecognized type "+t.type)}function tu(e,t){switch(t.type){case"string":case"base64":case"binary":for(var n="",r=0;r0&&(a=0);var f=$t(c.s.r),h=[],d=[],p=0,m=0,g=Array.isArray(e),v=c.s.r,b=0,y=0;for(g&&!e[v]&&(e[v]=[]),b=c.s.c;b<=c.e.c;++b)switch(h[b]=Jt(b),n=g?e[v][b]:e[h[b]+f],r){case 1:o[b]=b-c.s.c;break;case 2:o[b]=h[b];break;case 3:o[b]=l.header[b-c.s.c];break;default:for(null==n&&(n={w:"__EMPTY",t:"s"}),s=i=on(n,null,l),m=0,y=0;y=0&&(u='"'+u.replace(su,'""')+'"'));l.push(u)}return!1===s.blankrows&&c?null:l.join(i)}function lu(e,t){var n=[],r=null==t?{}:t;if(null==e||null==e["!ref"])return"";var a=rn(e["!ref"]),o=void 0!==r.FS?r.FS:",",i=o.charCodeAt(0),s=void 0!==r.RS?r.RS:"\n",c=s.charCodeAt(0),l=new RegExp(("|"==o?"\\|":o)+"+$"),u="",f=[];r.dense=Array.isArray(e);for(var h=r.skipHidden&&e["!cols"]||[],d=r.skipHidden&&e["!rows"]||[],p=a.s.c;p<=a.e.c;++p)(h[p]||{}).hidden||(f[p]=Jt(p));for(var m=a.s.r;m<=a.e.r;++m)(d[m]||{}).hidden||null!=(u=cu(e,a,m,f,i,c,o,r))&&(r.strip&&(u=u.replace(l,"")),n.push(u+s));return delete r.dense,n.join("")}function uu(e,t){t||(t={}),t.FS="\t",t.RS="\n";var n=lu(e,t);if("undefined"==typeof cptable||"string"==t.type)return n;var r=cptable.utils.encode(1200,n,"str");return String.fromCharCode(255)+String.fromCharCode(254)+r}function fu(e){var t,n="",r="";if(null==e||null==e["!ref"])return[];var a,o=rn(e["!ref"]),i="",s=[],c=[],l=Array.isArray(e);for(a=o.s.c;a<=o.e.c;++a)s[a]=Jt(a);for(var u=o.s.r;u<=o.e.r;++u)for(i=$t(u),a=o.s.c;a<=o.e.c;++a)if(n=s[a]+i,r="",void 0!==(t=l?(e[u]||[])[a]:e[n])){if(null!=t.F){if(n=t.F,!t.f)continue;r=t.f,-1==n.indexOf(":")&&(n=n+":"+n)}if(null!=t.f)r=t.f;else{if("z"==t.t)continue;if("n"==t.t&&null!=t.v)r=""+t.v;else if("b"==t.t)r=t.v?"TRUE":"FALSE";else if(void 0!==t.w)r="'"+t.w;else{if(void 0===t.v)continue;r="s"==t.t?"'"+t.v:""+t.v}}c[c.length]=n+"="+r}return c}function hu(e,t,n){var r,a=n||{},o=+!a.skipHeader,i=e||{},s=0,c=0;if(i&&null!=a.origin)if("number"==typeof a.origin)s=a.origin;else{var l="string"==typeof a.origin?Qt(a.origin):a.origin;s=l.r,c=l.c}var u={s:{c:0,r:0},e:{c:c,r:s+t.length-1+o}};if(i["!ref"]){var f=rn(i["!ref"]);u.e.c=Math.max(u.e.c,f.e.c),u.e.r=Math.max(u.e.r,f.e.r),-1==s&&(s=f.e.r+1,u.e.r=s+t.length-1+o)}else-1==s&&(s=0,u.e.r=t.length-1+o);var h=a.header||[],d=0;t.forEach((function(e,t){U(e).forEach((function(n){-1==(d=h.indexOf(n))&&(h[d=h.length]=n);var l=e[n],u="z",f="",p=en({c:c+d,r:s+t+o});r=du.sheet_get_cell(i,p),!l||"object"!==typeof l||l instanceof Date?("number"==typeof l?u="n":"boolean"==typeof l?u="b":"string"==typeof l?u="s":l instanceof Date?(u="d",a.cellDates||(u="n",l=K(l)),f=a.dateNF||D._table[14]):null===l&&a.nullError&&(u="e",l=0),r?(r.t=u,r.v=l,delete r.w,delete r.R,f&&(r.z=f)):i[p]=r={t:u,v:l},f&&(r.z=f)):i[p]=l}))})),u.e.c=Math.max(u.e.c,c+h.length-1);var p=$t(s);if(o)for(d=0;d=65535)throw new Error("Too many worksheets");if(uc(n),e.SheetNames.indexOf(n)>=0)throw new Error("Worksheet with name |"+n+"| already exists!");e.SheetNames.push(n),e.Sheets[n]=t},e.book_set_sheet_visibility=function(e,n,r){t(e,"Workbook",{}),t(e.Workbook,"Sheets",[]);var a=function(e,t){if("number"==typeof t){if(t>=0&&e.SheetNames.length>t)return t;throw new Error("Cannot find sheet # "+t)}if("string"==typeof t){var n=e.SheetNames.indexOf(t);if(n>-1)return n;throw new Error("Cannot find sheet name |"+t+"|")}throw new Error("Cannot find sheet |"+t+"|")}(e,n);switch(t(e.Workbook.Sheets,a,{}),r){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+r)}e.Workbook.Sheets[a].Hidden=r},[["SHEET_VISIBLE",0],["SHEET_HIDDEN",1],["SHEET_VERY_HIDDEN",2]].forEach((function(t){e.consts[t[0]]=t[1]})),e.cell_set_number_format=function(e,t){return e.z=t,e},e.cell_set_hyperlink=function(e,t,n){return t?(e.l={Target:t},n&&(e.l.Tooltip=n)):delete e.l,e},e.cell_set_internal_link=function(t,n,r){return e.cell_set_hyperlink(t,"#"+n,r)},e.cell_add_comment=function(e,t,n){e.c||(e.c=[]),e.c.push({t:t,a:n||"SheetJS"})},e.sheet_set_array_formula=function(e,t,r){for(var a="string"!=typeof t?t:rn(t),o="string"==typeof t?t:nn(t),i=a.s.r;i<=a.e.r;++i)for(var s=a.s.c;s<=a.e.c;++s){var c=n(e,i,s);c.t="n",c.F=o,delete c.v,i==a.s.r&&s==a.s.c&&(c.f=r)}return e}}(du),y&&function(){var e=n(710);if(e){var r=e.Readable;if(r){t.stream={to_json:function(e,t){var n=r({objectMode:!0});if(null==e||null==e["!ref"])return n.push(null),n;var a={t:"n",v:0},o=0,i=1,s=[],c=0,l="",u={s:{r:0,c:0},e:{r:0,c:0}},f=t||{},h=null!=f.range?f.range:e["!ref"];switch(1===f.header?o=1:"A"===f.header?o=2:Array.isArray(f.header)&&(o=3),typeof h){case"string":u=rn(h);break;case"number":(u=rn(e["!ref"])).s.r=h;break;default:u=h}o>0&&(i=0);var d=$t(u.s.r),p=[],m=0,g=Array.isArray(e),v=u.s.r,b=0,y=0;for(g&&!e[v]&&(e[v]=[]),b=u.s.c;b<=u.e.c;++b)switch(p[b]=Jt(b),a=g?e[v][b]:e[p[b]+d],o){case 1:s[b]=b-u.s.c;break;case 2:s[b]=p[b];break;case 3:s[b]=f.header[b-u.s.c];break;default:for(null==a&&(a={w:"__EMPTY",t:"s"}),l=c=on(a,null,f),m=0,y=0;yu.e.r)return n.push(null);for(;v<=u.e.r;){var t=ou(e,u,v,p,o,s,g,f);if(++v,!1===t.isempty||(1===o?!1!==f.blankrows:f.blankrows)){n.push(t.row);break}}},n},to_html:function(e,t){var n=r(),a=t||{},o=null!=a.header?a.header:yl.BEGIN,i=null!=a.footer?a.footer:yl.END;n.push(o);var s=tn(e["!ref"]);a.dense=Array.isArray(e),n.push(yl._preamble(e,s,a));var c=s.s.r,l=!1;return n._read=function(){if(c>s.e.r)return l||(l=!0,n.push("
"+i)),n.push(null);for(;c<=s.e.r;){n.push(yl._row(e,s,c,a)),++c;break}},n},to_csv:function(e,t){var n=r(),a=null==t?{}:t;if(null==e||null==e["!ref"])return n.push(null),n;var o=rn(e["!ref"]),i=void 0!==a.FS?a.FS:",",s=i.charCodeAt(0),c=void 0!==a.RS?a.RS:"\n",l=c.charCodeAt(0),u=new RegExp(("|"==i?"\\|":i)+"+$"),f="",h=[];a.dense=Array.isArray(e);for(var d=a.skipHidden&&e["!cols"]||[],p=a.skipHidden&&e["!rows"]||[],m=o.s.c;m<=o.e.c;++m)(d[m]||{}).hidden||(h[m]=Jt(m));var g=o.s.r,v=!1;return n._read=function(){if(!v)return v=!0,n.push("\ufeff");for(;g<=o.e.r;)if(++g,!(p[g-1]||{}).hidden&&null!=(f=cu(e,o,g-1,h,s,l,i,a))){a.strip&&(f=f.replace(u,"")),n.push(f+c);break}return g>o.e.r?n.push(null):void 0},n}}}}}(),t.parse_xlscfb=rl,t.parse_zip=Yl,t.read=ql,t.readFile=Jl,t.readFileSync=Jl,t.write=nu,t.writeFile=au,t.writeFileSync=au,t.writeFileAsync=function(e,t,n,r){var a=n||{};a.type="file",a.file=e,ru(a),a.type="buffer";var o=r;return o instanceof Function||(o=n),j.writeFile(e,nu(t,a),o)},t.utils=du,t.SSF=D,"undefined"!==typeof L&&(t.CFB=L)}(t),"undefined"!==typeof window&&!window.XLSX)try{window.XLSX=i}catch(s){}}).call(this,n(100),n(600).Buffer,n(428))},702:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2),a=r.createContext(null)},708:function(e,t,n){(function(n,r){var a,o,i;!function(n){if("undefined"==typeof DO_NOT_EXPORT_JSZIP)e.exports=n();else if("undefined"==typeof DO_NOT_EXPORT_JSZIP)JSZipSync=n(),o=[],void 0===(i="function"===typeof(a=n)?a.apply(t,o):a)||(e.exports=i);else{var s;"undefined"!=typeof globalThis?s=globalThis:"undefined"!=typeof window?s=window:"undefined"!=typeof r?s=r:"undefined"!=typeof $&&$.global?s=$.global:"undefined"!=typeof self&&(s=self),s.JSZipSync=n()}}((function(){return function e(t,n,r){function a(i,s){if(!n[i]){if(!t[i]){if(o)return o(i,!0);throw new Error("Cannot find module '"+i+"'")}var c=n[i]={exports:{}};t[i][0].call(c.exports,(function(e){var n=t[i][1][e];return a(n||e)}),c,c.exports,e,t,n,r)}return n[i].exports}for(var o=!1,i=0;i>2,s=(3&n)<<4|(a=e.charCodeAt(f++))>>4,c=(15&a)<<2|(o=e.charCodeAt(f++))>>6,l=63&o,isNaN(a)?c=l=64:isNaN(o)&&(l=64),u=u+r.charAt(i)+r.charAt(s)+r.charAt(c)+r.charAt(l);return u},n.decode=function(e,t){var n,a,o,i,s,c,l="",u=0;for(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");u>4,a=(15&i)<<4|(s=r.indexOf(e.charAt(u++)))>>2,o=(3&s)<<6|(c=r.indexOf(e.charAt(u++))),l+=String.fromCharCode(n),64!=s&&(l+=String.fromCharCode(a)),64!=c&&(l+=String.fromCharCode(o));return l}},{}],2:[function(e,t,n){"use strict";function r(){this.compressedSize=0,this.uncompressedSize=0,this.crc32=0,this.compressionMethod=null,this.compressedContent=null}r.prototype={getContent:function(){return null},getCompressedContent:function(){return null}},t.exports=r},{}],3:[function(e,t,n){"use strict";n.STORE={magic:"\0\0",compress:function(e){return e},uncompress:function(e){return e},compressInputType:null,uncompressInputType:null},n.DEFLATE=e("./flate")},{"./flate":8}],4:[function(e,t,n){"use strict";var r=e("./utils"),a=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];t.exports=function(e,t){if("undefined"===typeof e||!e.length)return 0;var n="string"!==r.getTypeOf(e);"undefined"==typeof t&&(t=0);var o=0;t^=-1;for(var i=0,s=e.length;i>>8^a[255&(t^o)];return-1^t}},{"./utils":21}],5:[function(e,t,n){"use strict";var r=e("./utils");function a(e){this.data=null,this.length=0,this.index=0}a.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length=this.index;t--)n=(n<<8)+this.byteAt(t);return this.index+=e,n},readString:function(e){return r.transformTo("string",this.readData(e))},readData:function(e){},lastIndexOfSignature:function(e){},readDate:function(){var e=this.readInt(4);return new Date(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1)}},t.exports=a},{"./utils":21}],6:[function(e,t,n){"use strict";n.base64=!1,n.binary=!1,n.dir=!1,n.createFolders=!1,n.date=null,n.compression=null,n.comment=null},{}],7:[function(e,t,n){"use strict";var r=e("./utils");n.string2binary=function(e){return r.string2binary(e)},n.string2Uint8Array=function(e){return r.transformTo("uint8array",e)},n.uint8Array2String=function(e){return r.transformTo("string",e)},n.string2Blob=function(e){var t=r.transformTo("arraybuffer",e);return r.arrayBuffer2Blob(t)},n.arrayBuffer2Blob=function(e){return r.arrayBuffer2Blob(e)},n.transformTo=function(e,t){return r.transformTo(e,t)},n.getTypeOf=function(e){return r.getTypeOf(e)},n.checkSupport=function(e){return r.checkSupport(e)},n.MAX_VALUE_16BITS=r.MAX_VALUE_16BITS,n.MAX_VALUE_32BITS=r.MAX_VALUE_32BITS,n.pretty=function(e){return r.pretty(e)},n.findCompression=function(e){return r.findCompression(e)},n.isRegExp=function(e){return r.isRegExp(e)}},{"./utils":21}],8:[function(e,t,n){"use strict";var r="undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint16Array&&"undefined"!==typeof Uint32Array,a=e("pako");n.uncompressInputType=r?"uint8array":"array",n.compressInputType=r?"uint8array":"array",n.magic="\b\0",n.compress=function(e){return a.deflateRaw(e)},n.uncompress=function(e){return a.inflateRaw(e)}},{pako:24}],9:[function(e,t,n){"use strict";var r=e("./base64");function a(e,t){if(!(this instanceof a))return new a(e,t);this.files={},this.comment=null,this.root="",e&&this.load(e,t),this.clone=function(){var e=new a;for(var t in this)"function"!==typeof this[t]&&(e[t]=this[t]);return e}}a.prototype=e("./object"),a.prototype.load=e("./load"),a.support=e("./support"),a.defaults=e("./defaults"),a.utils=e("./deprecatedPublicUtils"),a.base64={encode:function(e){return r.encode(e)},decode:function(e){return r.decode(e)}},a.compressions=e("./compressions"),t.exports=a},{"./base64":1,"./compressions":3,"./defaults":6,"./deprecatedPublicUtils":7,"./load":10,"./object":13,"./support":17}],10:[function(e,t,n){"use strict";var r=e("./base64"),a=e("./zipEntries");t.exports=function(e,t){var n,o,i,s;for((t=t||{}).base64&&(e=r.decode(e)),n=(o=new a(e,t)).files,i=0;i>>=8;return r},_=function(){var e,t,n={};for(e=0;e0?e.substring(0,t):""},C=function(e,t){return"/"!=e.slice(-1)&&(e+="/"),t="undefined"!==typeof t&&t,this.files[e]||w.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]},O=function(e,t){var n,r=new u;return e._data instanceof u?(r.uncompressedSize=e._data.uncompressedSize,r.crc32=e._data.crc32,0===r.uncompressedSize||e.dir?(t=l.STORE,r.compressedContent="",r.crc32=0):e._data.compressionMethod===t.magic?r.compressedContent=e._data.getCompressedContent():(n=e._data.getContent(),r.compressedContent=t.compress(a.transformTo(t.compressInputType,n)))):((n=g(e))&&0!==n.length&&!e.dir||(t=l.STORE,n=""),r.uncompressedSize=n.length,r.crc32=o(n),r.compressedContent=t.compress(a.transformTo(t.compressInputType,n))),r.compressedSize=r.compressedContent.length,r.compressionMethod=t.magic,r},S=function(e,t,n,r){n.compressedContent;var s,c,l,u,f=a.transformTo("string",h.utf8encode(t.name)),d=t.comment||"",p=a.transformTo("string",h.utf8encode(d)),m=f.length!==t.name.length,g=p.length!==d.length,v=t.options,b="",_="",w="";l=t._initialMetadata.dir!==t.dir?t.dir:v.dir,s=(u=t._initialMetadata.date!==t.date?t.date:v.date).getHours(),s<<=6,s|=u.getMinutes(),s<<=5,s|=u.getSeconds()/2,c=u.getFullYear()-1980,c<<=4,c|=u.getMonth()+1,c<<=5,c|=u.getDate(),m&&(_=y(1,1)+y(o(f),4)+f,b+="up"+y(_.length,2)+_),g&&(w=y(1,1)+y(this.crc32(p),4)+p,b+="uc"+y(w.length,2)+w);var E="";return E+="\n\0",E+=m||g?"\0\b":"\0\0",E+=n.compressionMethod,E+=y(s,2),E+=y(c,2),E+=y(n.crc32,4),E+=y(n.compressedSize,4),E+=y(n.uncompressedSize,4),E+=y(f.length,2),E+=y(b.length,2),{fileRecord:i.LOCAL_FILE_HEADER+E+f+b,dirRecord:i.CENTRAL_FILE_HEADER+"\x14\0"+E+y(p.length,2)+"\0\0\0\0"+(!0===l?"\x10\0\0\0":"\0\0\0\0")+y(r,4)+f+b+p,compressedObject:n}},x={load:function(e,t){throw new Error("Load method is not defined. Is the file jszip-load.js included ?")},filter:function(e){var t,n,r,a,o=[];for(t in this.files)this.files.hasOwnProperty(t)&&(r=this.files[t],a=new b(r.name,r._data,_(r.options)),n=t.slice(this.root.length,t.length),t.slice(0,this.root.length)===this.root&&e(n,a)&&o.push(a));return o},file:function(e,t,n){if(1===arguments.length){if(a.isRegExp(e)){var r=e;return this.filter((function(e,t){return!t.dir&&r.test(e)}))}return this.filter((function(t,n){return!n.dir&&t===e}))[0]||null}return e=this.root+e,w.call(this,e,t,n),this},folder:function(e){if(!e)return this;if(a.isRegExp(e))return this.filter((function(t,n){return n.dir&&e.test(t)}));var t=this.root+e,n=C.call(this,t),r=this.clone();return r.root=n.name,r},remove:function(e){e=this.root+e;var t=this.files[e];if(t||("/"!=e.slice(-1)&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var n=this.filter((function(t,n){return n.name.slice(0,e.length)===e})),r=0;r=0;--o)if(this.data[o]===t&&this.data[o+1]===n&&this.data[o+2]===r&&this.data[o+3]===a)return o;return-1},a.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.index,this.index+e);return this.index+=e,t},t.exports=a},{"./dataReader":5}],19:[function(e,t,n){"use strict";var r=e("./utils"),a=function(e){this.data=new Uint8Array(e),this.index=0};a.prototype={append:function(e){0!==e.length&&(e=r.transformTo("uint8array",e),this.data.set(e,this.index),this.index+=e.length)},finalize:function(){return this.data}},t.exports=a},{"./utils":21}],20:[function(e,t,n){"use strict";for(var r=e("./utils"),a=e("./support"),o=e("./nodeBuffer"),i=new Array(256),s=0;s<256;s++)i[s]=s>=252?6:s>=248?5:s>=240?4:s>=224?3:s>=192?2:1;i[254]=i[254]=1;var c=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;n>=0&&128===(192&e[n]);)n--;return n<0||0===n?t:n+i[e[n]]>t?n:t},l=function(e){var t,n,a,o,s=e.length,c=new Array(2*s);for(n=0,t=0;t4)c[n++]=65533,t+=o-1;else{for(a&=2===o?31:3===o?15:7;o>1&&t1?c[n++]=65533:a<65536?c[n++]=a:(a-=65536,c[n++]=55296|a>>10&1023,c[n++]=56320|1023&a)}return c.length!==n&&(c.subarray?c=c.subarray(0,n):c.length=n),r.applyFromCharCode(c)};n.utf8encode=function(e){return a.nodebuffer?o(e,"utf-8"):function(e){var t,n,r,o,i,s=e.length,c=0;for(o=0;o>>6,t[i++]=128|63&n):n<65536?(t[i++]=224|n>>>12,t[i++]=128|n>>>6&63,t[i++]=128|63&n):(t[i++]=240|n>>>18,t[i++]=128|n>>>12&63,t[i++]=128|n>>>6&63,t[i++]=128|63&n);return t}(e)},n.utf8decode=function(e){if(a.nodebuffer)return r.transformTo("nodebuffer",e).toString("utf-8");for(var t=[],n=0,o=(e=r.transformTo(a.uint8array?"uint8array":"array",e)).length;n1;)try{"array"===i||"nodebuffer"===i?r.push(String.fromCharCode.apply(null,e.slice(s,Math.min(s+t,a)))):r.push(String.fromCharCode.apply(null,e.subarray(s,Math.min(s+t,a)))),s+=t}catch(f){t=Math.floor(t/2)}return r.join("")}function l(e,t){for(var n=0;n1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var n=r.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(0!==n)throw new Error(i[n]);t.header&&r.deflateSetHeader(this.strm,t.header)};function l(e,t){var n=new c(t);if(n.push(e,!0),n.err)throw n.msg;return n.result}c.prototype.push=function(e,t){var n,i,s=this.strm,c=this.options.chunkSize;if(this.ended)return!1;i=t===~~t?t:!0===t?4:0,s.input="string"===typeof e?o.string2buf(e):e,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new a.Buf8(c),s.next_out=0,s.avail_out=c),1!==(n=r.deflate(s,i))&&0!==n)return this.onEnd(n),this.ended=!0,!1;(0===s.avail_out||0===s.avail_in&&4===i)&&("string"===this.options.to?this.onData(o.buf2binstring(a.shrinkBuf(s.output,s.next_out))):this.onData(a.shrinkBuf(s.output,s.next_out)))}while((s.avail_in>0||0===s.avail_out)&&1!==n);return 4!==i||(n=r.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,0===n)},c.prototype.onData=function(e){this.chunks.push(e)},c.prototype.onEnd=function(e){0===e&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=a.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Deflate=c,n.deflate=l,n.deflateRaw=function(e,t){return(t=t||{}).raw=!0,l(e,t)},n.gzip=function(e,t){return(t=t||{}).gzip=!0,l(e,t)}},{"./utils/common":27,"./utils/strings":28,"./zlib/deflate.js":32,"./zlib/messages":37,"./zlib/zstream":39}],26:[function(e,t,n){"use strict";var r=e("./zlib/inflate.js"),a=e("./utils/common"),o=e("./utils/strings"),i=e("./zlib/constants"),s=e("./zlib/messages"),c=e("./zlib/zstream"),l=e("./zlib/gzheader"),u=function(e){this.options=a.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&0===(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new c,this.strm.avail_out=0;var n=r.inflateInit2(this.strm,t.windowBits);if(n!==i.Z_OK)throw new Error(s[n]);this.header=new l,r.inflateGetHeader(this.strm,this.header)};function f(e,t){var n=new u(t);if(n.push(e,!0),n.err)throw n.msg;return n.result}u.prototype.push=function(e,t){var n,s,c,l,u,f=this.strm,h=this.options.chunkSize;if(this.ended)return!1;s=t===~~t?t:!0===t?i.Z_FINISH:i.Z_NO_FLUSH,f.input="string"===typeof e?o.binstring2buf(e):e,f.next_in=0,f.avail_in=f.input.length;do{if(0===f.avail_out&&(f.output=new a.Buf8(h),f.next_out=0,f.avail_out=h),(n=r.inflate(f,i.Z_NO_FLUSH))!==i.Z_STREAM_END&&n!==i.Z_OK)return this.onEnd(n),this.ended=!0,!1;f.next_out&&(0===f.avail_out||n===i.Z_STREAM_END||0===f.avail_in&&s===i.Z_FINISH)&&("string"===this.options.to?(c=o.utf8border(f.output,f.next_out),l=f.next_out-c,u=o.buf2string(f.output,c),f.next_out=l,f.avail_out=h-l,l&&a.arraySet(f.output,f.output,c,l,0),this.onData(u)):this.onData(a.shrinkBuf(f.output,f.next_out)))}while(f.avail_in>0&&n!==i.Z_STREAM_END);return n===i.Z_STREAM_END&&(s=i.Z_FINISH),s!==i.Z_FINISH||(n=r.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===i.Z_OK)},u.prototype.onData=function(e){this.chunks.push(e)},u.prototype.onEnd=function(e){e===i.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=a.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Inflate=u,n.inflate=f,n.inflateRaw=function(e,t){return(t=t||{}).raw=!0,f(e,t)},n.ungzip=f},{"./utils/common":27,"./utils/strings":28,"./zlib/constants":30,"./zlib/gzheader":33,"./zlib/inflate.js":35,"./zlib/messages":37,"./zlib/zstream":39}],27:[function(e,t,n){"use strict";var r="undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint16Array&&"undefined"!==typeof Int32Array;n.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(n){if("object"!==typeof n)throw new TypeError(n+"must be non-object");for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}}return e},n.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var a={arraySet:function(e,t,n,r,a){if(t.subarray&&e.subarray)e.set(t.subarray(n,n+r),a);else for(var o=0;o=252?6:s>=248?5:s>=240?4:s>=224?3:s>=192?2:1;function c(e,t){if(t<65537&&(e.subarray&&o||!e.subarray&&a))return String.fromCharCode.apply(null,r.shrinkBuf(e,t));for(var n="",i=0;i>>6,t[i++]=128|63&n):n<65536?(t[i++]=224|n>>>12,t[i++]=128|n>>>6&63,t[i++]=128|63&n):(t[i++]=240|n>>>18,t[i++]=128|n>>>12&63,t[i++]=128|n>>>6&63,t[i++]=128|63&n);return t},n.buf2binstring=function(e){return c(e,e.length)},n.binstring2buf=function(e){for(var t=new r.Buf8(e.length),n=0,a=t.length;n4)l[r++]=65533,n+=o-1;else{for(a&=2===o?31:3===o?15:7;o>1&&n1?l[r++]=65533:a<65536?l[r++]=a:(a-=65536,l[r++]=55296|a>>10&1023,l[r++]=56320|1023&a)}return c(l,r)},n.utf8border=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;n>=0&&128===(192&e[n]);)n--;return n<0||0===n?t:n+i[e[n]]>t?n:t}},{"./common":27}],29:[function(e,t,n){"use strict";t.exports=function(e,t,n,r){for(var a=65535&e|0,o=e>>>16&65535|0,i=0;0!==n;){n-=i=n>2e3?2e3:n;do{o=o+(a=a+t[r++]|0)|0}while(--i);a%=65521,o%=65521}return a|o<<16|0}},{}],30:[function(e,t,n){t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],31:[function(e,t,n){"use strict";var r=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t,n,a){var o=r,i=a+n;e^=-1;for(var s=a;s>>8^o[255&(e^t[s])];return-1^e}},{}],32:[function(e,t,n){"use strict";var r=e("../utils/common"),a=e("./trees"),o=e("./adler32"),i=e("./crc32"),s=e("./messages");function c(e,t){return e.msg=s[t],t}function l(e){return(e<<1)-(e>4?9:0)}function u(e){for(var t=e.length;--t>=0;)e[t]=0}function f(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(r.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))}function h(e,t){a._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,f(e.strm)}function d(e,t){e.pending_buf[e.pending++]=t}function p(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function m(e,t,n,a){var s=e.avail_in;return s>a&&(s=a),0===s?0:(e.avail_in-=s,r.arraySet(t,e.input,e.next_in,s,n),1===e.state.wrap?e.adler=o(e.adler,t,s,n):2===e.state.wrap&&(e.adler=i(e.adler,t,s,n)),e.next_in+=s,e.total_in+=s,s)}function g(e,t){var n,r,a=e.max_chain_length,o=e.strstart,i=e.prev_length,s=e.nice_match,c=e.strstart>e.w_size-262?e.strstart-(e.w_size-262):0,l=e.window,u=e.w_mask,f=e.prev,h=e.strstart+258,d=l[o+i-1],p=l[o+i];e.prev_length>=e.good_match&&(a>>=2),s>e.lookahead&&(s=e.lookahead);do{if(l[(n=t)+i]===p&&l[n+i-1]===d&&l[n]===l[o]&&l[++n]===l[o+1]){o+=2,n++;do{}while(l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&oi){if(e.match_start=t,i=r,r>=s)break;d=l[o+i-1],p=l[o+i]}}}while((t=f[t&u])>c&&0!==--a);return i<=e.lookahead?i:e.lookahead}function v(e){var t,n,a,o,i,s=e.w_size;do{if(o=e.window_size-e.lookahead-e.strstart,e.strstart>=s+(s-262)){r.arraySet(e.window,e.window,s,s,0),e.match_start-=s,e.strstart-=s,e.block_start-=s,t=n=e.hash_size;do{a=e.head[--t],e.head[t]=a>=s?a-s:0}while(--n);t=n=s;do{a=e.prev[--t],e.prev[t]=a>=s?a-s:0}while(--n);o+=s}if(0===e.strm.avail_in)break;if(n=m(e.strm,e.window,e.strstart+e.lookahead,o),e.lookahead+=n,e.lookahead+e.insert>=3)for(i=e.strstart-e.insert,e.ins_h=e.window[i],e.ins_h=(e.ins_h<=3&&(e.ins_h=(e.ins_h<=3)if(r=a._tr_tally(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<=3&&(e.ins_h=(e.ins_h<4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){o=e.strstart+e.lookahead-3,r=a._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=o&&(e.ins_h=(e.ins_h<15&&(s=2,a-=16),o<1||o>9||8!==n||a<8||a>15||t<0||t>9||i<0||i>4)return c(e,-2);8===a&&(a=9);var l=new E;return e.state=l,l.strm=e,l.wrap=s,l.gzhead=null,l.w_bits=a,l.w_size=1<>1,l.l_buf=3*l.lit_bufsize,l.level=t,l.strategy=i,l.method=n,O(e)}_=[new w(0,0,0,0,(function(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(v(e),0===e.lookahead&&0===t)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((0===e.strstart||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,h(e,!1),0===e.strm.avail_out))return 1;if(e.strstart-e.block_start>=e.w_size-262&&(h(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(h(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&(h(e,!1),e.strm.avail_out),1)})),new w(4,4,8,4,b),new w(4,5,16,8,b),new w(4,6,32,32,b),new w(4,4,16,16,y),new w(8,16,32,32,y),new w(8,16,128,128,y),new w(8,32,128,256,y),new w(32,128,258,1024,y),new w(32,258,258,4096,y)],n.deflateInit=function(e,t){return S(e,t,8,15,8,0)},n.deflateInit2=S,n.deflateReset=O,n.deflateResetKeep=C,n.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?-2:(e.state.gzhead=t,0):-2},n.deflate=function(e,t){var n,r,o,s;if(!e||!e.state||t>5||t<0)return e?c(e,-2):-2;if(r=e.state,!e.output||!e.input&&0!==e.avail_in||666===r.status&&4!==t)return c(e,0===e.avail_out?-5:-2);if(r.strm=e,n=r.last_flush,r.last_flush=t,42===r.status)if(2===r.wrap)e.adler=0,d(r,31),d(r,139),d(r,8),r.gzhead?(d(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),d(r,255&r.gzhead.time),d(r,r.gzhead.time>>8&255),d(r,r.gzhead.time>>16&255),d(r,r.gzhead.time>>24&255),d(r,9===r.level?2:r.strategy>=2||r.level<2?4:0),d(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(d(r,255&r.gzhead.extra.length),d(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(e.adler=i(e.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(d(r,0),d(r,0),d(r,0),d(r,0),d(r,0),d(r,9===r.level?2:r.strategy>=2||r.level<2?4:0),d(r,3),r.status=113);else{var m=8+(r.w_bits-8<<4)<<8;m|=(r.strategy>=2||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(m|=32),m+=31-m%31,r.status=113,p(r,m),0!==r.strstart&&(p(r,e.adler>>>16),p(r,65535&e.adler)),e.adler=1}if(69===r.status)if(r.gzhead.extra){for(o=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>o&&(e.adler=i(e.adler,r.pending_buf,r.pending-o,o)),f(e),o=r.pending,r.pending!==r.pending_buf_size));)d(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>o&&(e.adler=i(e.adler,r.pending_buf,r.pending-o,o)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(73===r.status)if(r.gzhead.name){o=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>o&&(e.adler=i(e.adler,r.pending_buf,r.pending-o,o)),f(e),o=r.pending,r.pending===r.pending_buf_size)){s=1;break}s=r.gzindexo&&(e.adler=i(e.adler,r.pending_buf,r.pending-o,o)),0===s&&(r.gzindex=0,r.status=91)}else r.status=91;if(91===r.status)if(r.gzhead.comment){o=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>o&&(e.adler=i(e.adler,r.pending_buf,r.pending-o,o)),f(e),o=r.pending,r.pending===r.pending_buf_size)){s=1;break}s=r.gzindexo&&(e.adler=i(e.adler,r.pending_buf,r.pending-o,o)),0===s&&(r.status=103)}else r.status=103;if(103===r.status&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&f(e),r.pending+2<=r.pending_buf_size&&(d(r,255&e.adler),d(r,e.adler>>8&255),e.adler=0,r.status=113)):r.status=113),0!==r.pending){if(f(e),0===e.avail_out)return r.last_flush=-1,0}else if(0===e.avail_in&&l(t)<=l(n)&&4!==t)return c(e,-5);if(666===r.status&&0!==e.avail_in)return c(e,-5);if(0!==e.avail_in||0!==r.lookahead||0!==t&&666!==r.status){var g=2===r.strategy?function(e,t){for(var n;;){if(0===e.lookahead&&(v(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,n=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(h(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(h(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(h(e,!1),0===e.strm.avail_out)?1:2}(r,t):3===r.strategy?function(e,t){for(var n,r,o,i,s=e.window;;){if(e.lookahead<=258){if(v(e),e.lookahead<=258&&0===t)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&e.strstart>0&&(r=s[o=e.strstart-1])===s[++o]&&r===s[++o]&&r===s[++o]){i=e.strstart+258;do{}while(r===s[++o]&&r===s[++o]&&r===s[++o]&&r===s[++o]&&r===s[++o]&&r===s[++o]&&r===s[++o]&&r===s[++o]&&oe.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(n=a._tr_tally(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(h(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(h(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(h(e,!1),0===e.strm.avail_out)?1:2}(r,t):_[r.level].func(r,t);if(3!==g&&4!==g||(r.status=666),1===g||3===g)return 0===e.avail_out&&(r.last_flush=-1),0;if(2===g&&(1===t?a._tr_align(r):5!==t&&(a._tr_stored_block(r,0,0,!1),3===t&&(u(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),f(e),0===e.avail_out))return r.last_flush=-1,0}return 4!==t?0:r.wrap<=0?1:(2===r.wrap?(d(r,255&e.adler),d(r,e.adler>>8&255),d(r,e.adler>>16&255),d(r,e.adler>>24&255),d(r,255&e.total_in),d(r,e.total_in>>8&255),d(r,e.total_in>>16&255),d(r,e.total_in>>24&255)):(p(r,e.adler>>>16),p(r,65535&e.adler)),f(e),r.wrap>0&&(r.wrap=-r.wrap),0!==r.pending?0:1)},n.deflateEnd=function(e){var t;return e&&e.state?42!==(t=e.state.status)&&69!==t&&73!==t&&91!==t&&103!==t&&113!==t&&666!==t?c(e,-2):(e.state=null,113===t?c(e,-3):0):-2},n.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":27,"./adler32":29,"./crc32":31,"./messages":37,"./trees":38}],33:[function(e,t,n){"use strict";t.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],34:[function(e,t,n){"use strict";t.exports=function(e,t){var n,r,a,o,i,s,c,l,u,f,h,d,p,m,g,v,b,y,_,w,E,C,O,S,x;n=e.state,r=e.next_in,S=e.input,a=r+(e.avail_in-5),o=e.next_out,x=e.output,i=o-(t-e.avail_out),s=o+(e.avail_out-257),c=n.dmax,l=n.wsize,u=n.whave,f=n.wnext,h=n.window,d=n.hold,p=n.bits,m=n.lencode,g=n.distcode,v=(1<>>=_=y>>>24,p-=_,0===(_=y>>>16&255))x[o++]=65535&y;else{if(!(16&_)){if(0===(64&_)){y=m[(65535&y)+(d&(1<<_)-1)];continue t}if(32&_){n.mode=12;break e}e.msg="invalid literal/length code",n.mode=30;break e}w=65535&y,(_&=15)&&(p<_&&(d+=S[r++]<>>=_,p-=_),p<15&&(d+=S[r++]<
>>=_=y>>>24,p-=_,!(16&(_=y>>>16&255))){if(0===(64&_)){y=g[(65535&y)+(d&(1<<_)-1)];continue n}e.msg="invalid distance code",n.mode=30;break e}if(E=65535&y,p<(_&=15)&&(d+=S[r++]<
c){e.msg="invalid distance too far back",n.mode=30;break e}if(d>>>=_,p-=_,E>(_=o-i)){if((_=E-_)>u&&n.sane){e.msg="invalid distance too far back",n.mode=30;break e}if(C=0,O=h,0===f){if(C+=l-_,_2;)x[o++]=O[C++],x[o++]=O[C++],x[o++]=O[C++],w-=3;w&&(x[o++]=O[C++],w>1&&(x[o++]=O[C++]))}else{C=o-E;do{x[o++]=x[C++],x[o++]=x[C++],x[o++]=x[C++],w-=3}while(w>2);w&&(x[o++]=x[C++],w>1&&(x[o++]=x[C++]))}break}}break}}while(r>3,d&=(1<<(p-=w<<3))-1,e.next_in=r,e.next_out=o,e.avail_in=r>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function l(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new r.Buf16(320),this.work=new r.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function u(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new r.Buf32(852),t.distcode=t.distdyn=new r.Buf32(592),t.sane=1,t.back=-1,0):-2}function f(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,u(e)):-2}function h(e,t){var n,r;return e&&e.state?(r=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?-2:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,f(e))):-2}function d(e,t){var n,r;return e?(r=new l,e.state=r,r.window=null,0!==(n=h(e,t))&&(e.state=null),n):-2}var p,m,g=!0;function v(e){if(g){var t;for(p=new r.Buf32(512),m=new r.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(s(1,e.lens,0,288,p,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;s(2,e.lens,0,32,m,0,e.work,{bits:5}),g=!1}e.lencode=p,e.lenbits=9,e.distcode=m,e.distbits=5}n.inflateReset=f,n.inflateReset2=h,n.inflateResetKeep=u,n.inflateInit=function(e){return d(e,15)},n.inflateInit2=d,n.inflate=function(e,t){var n,l,u,f,h,d,p,m,g,b,y,_,w,E,C,O,S,x,k,T,A,P,D,B,N=0,I=new r.Buf8(4),R=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return-2;12===(n=e.state).mode&&(n.mode=13),h=e.next_out,u=e.output,p=e.avail_out,f=e.next_in,l=e.input,d=e.avail_in,m=n.hold,g=n.bits,b=d,y=p,P=0;e:for(;;)switch(n.mode){case 1:if(0===n.wrap){n.mode=13;break}for(;g<16;){if(0===d)break e;d--,m+=l[f++]<>>8&255,n.check=o(n.check,I,2,0),m=0,g=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&m)<<8)+(m>>8))%31){e.msg="incorrect header check",n.mode=30;break}if(8!==(15&m)){e.msg="unknown compression method",n.mode=30;break}if(g-=4,A=8+(15&(m>>>=4)),0===n.wbits)n.wbits=A;else if(A>n.wbits){e.msg="invalid window size",n.mode=30;break}n.dmax=1<>8&1),512&n.flags&&(I[0]=255&m,I[1]=m>>>8&255,n.check=o(n.check,I,2,0)),m=0,g=0,n.mode=3;case 3:for(;g<32;){if(0===d)break e;d--,m+=l[f++]<>>8&255,I[2]=m>>>16&255,I[3]=m>>>24&255,n.check=o(n.check,I,4,0)),m=0,g=0,n.mode=4;case 4:for(;g<16;){if(0===d)break e;d--,m+=l[f++]<>8),512&n.flags&&(I[0]=255&m,I[1]=m>>>8&255,n.check=o(n.check,I,2,0)),m=0,g=0,n.mode=5;case 5:if(1024&n.flags){for(;g<16;){if(0===d)break e;d--,m+=l[f++]<>>8&255,n.check=o(n.check,I,2,0)),m=0,g=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&((_=n.length)>d&&(_=d),_&&(n.head&&(A=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),r.arraySet(n.head.extra,l,f,_,A)),512&n.flags&&(n.check=o(n.check,l,_,f)),d-=_,f+=_,n.length-=_),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===d)break e;_=0;do{A=l[f+_++],n.head&&A&&n.length<65536&&(n.head.name+=String.fromCharCode(A))}while(A&&_>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=12;break;case 10:for(;g<32;){if(0===d)break e;d--,m+=l[f++]<>>=7&g,g-=7&g,n.mode=27;break}for(;g<3;){if(0===d)break e;d--,m+=l[f++]<>>=1)){case 0:n.mode=14;break;case 1:if(v(n),n.mode=20,6===t){m>>>=2,g-=2;break e}break;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=30}m>>>=2,g-=2;break;case 14:for(m>>>=7&g,g-=7&g;g<32;){if(0===d)break e;d--,m+=l[f++]<>>16^65535)){e.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&m,m=0,g=0,n.mode=15,6===t)break e;case 15:n.mode=16;case 16:if(_=n.length){if(_>d&&(_=d),_>p&&(_=p),0===_)break e;r.arraySet(u,l,f,_,h),d-=_,f+=_,p-=_,h+=_,n.length-=_;break}n.mode=12;break;case 17:for(;g<14;){if(0===d)break e;d--,m+=l[f++]<>>=5,g-=5,n.ndist=1+(31&m),m>>>=5,g-=5,n.ncode=4+(15&m),m>>>=4,g-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=30;break}n.have=0,n.mode=18;case 18:for(;n.have>>=3,g-=3}for(;n.have<19;)n.lens[R[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,D={bits:n.lenbits},P=s(0,n.lens,0,19,n.lencode,0,n.work,D),n.lenbits=D.bits,P){e.msg="invalid code lengths set",n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have>>16&255,S=65535&N,!((C=N>>>24)<=g);){if(0===d)break e;d--,m+=l[f++]<>>=C,g-=C,n.lens[n.have++]=S;else{if(16===S){for(B=C+2;g>>=C,g-=C,0===n.have){e.msg="invalid bit length repeat",n.mode=30;break}A=n.lens[n.have-1],_=3+(3&m),m>>>=2,g-=2}else if(17===S){for(B=C+3;g>>=C)),m>>>=3,g-=3}else{for(B=C+7;g>>=C)),m>>>=7,g-=7}if(n.have+_>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=30;break}for(;_--;)n.lens[n.have++]=A}}if(30===n.mode)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=30;break}if(n.lenbits=9,D={bits:n.lenbits},P=s(1,n.lens,0,n.nlen,n.lencode,0,n.work,D),n.lenbits=D.bits,P){e.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,D={bits:n.distbits},P=s(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,D),n.distbits=D.bits,P){e.msg="invalid distances set",n.mode=30;break}if(n.mode=20,6===t)break e;case 20:n.mode=21;case 21:if(d>=6&&p>=258){e.next_out=h,e.avail_out=p,e.next_in=f,e.avail_in=d,n.hold=m,n.bits=g,i(e,y),h=e.next_out,u=e.output,p=e.avail_out,f=e.next_in,l=e.input,d=e.avail_in,m=n.hold,g=n.bits,12===n.mode&&(n.back=-1);break}for(n.back=0;O=(N=n.lencode[m&(1<>>16&255,S=65535&N,!((C=N>>>24)<=g);){if(0===d)break e;d--,m+=l[f++]<>x)])>>>16&255,S=65535&N,!(x+(C=N>>>24)<=g);){if(0===d)break e;d--,m+=l[f++]<>>=x,g-=x,n.back+=x}if(m>>>=C,g-=C,n.back+=C,n.length=S,0===O){n.mode=26;break}if(32&O){n.back=-1,n.mode=12;break}if(64&O){e.msg="invalid literal/length code",n.mode=30;break}n.extra=15&O,n.mode=22;case 22:if(n.extra){for(B=n.extra;g>>=n.extra,g-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;O=(N=n.distcode[m&(1<>>16&255,S=65535&N,!((C=N>>>24)<=g);){if(0===d)break e;d--,m+=l[f++]<>x)])>>>16&255,S=65535&N,!(x+(C=N>>>24)<=g);){if(0===d)break e;d--,m+=l[f++]<>>=x,g-=x,n.back+=x}if(m>>>=C,g-=C,n.back+=C,64&O){e.msg="invalid distance code",n.mode=30;break}n.offset=S,n.extra=15&O,n.mode=24;case 24:if(n.extra){for(B=n.extra;g>>=n.extra,g-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=30;break}n.mode=25;case 25:if(0===p)break e;if(_=y-p,n.offset>_){if((_=n.offset-_)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=30;break}_>n.wnext?(_-=n.wnext,w=n.wsize-_):w=n.wnext-_,_>n.length&&(_=n.length),E=n.window}else E=u,w=h-n.offset,_=n.length;_>p&&(_=p),p-=_,n.length-=_;do{u[h++]=E[w++]}while(--_);0===n.length&&(n.mode=21);break;case 26:if(0===p)break e;u[h++]=n.length,p--,n.mode=21;break;case 27:if(n.wrap){for(;g<32;){if(0===d)break e;d--,m|=l[f++]<=i.wsize?(r.arraySet(i.window,t,n-i.wsize,i.wsize,0),i.wnext=0,i.whave=i.wsize):((o=i.wsize-i.wnext)>a&&(o=a),r.arraySet(i.window,t,n-a,o,i.wnext),(a-=o)?(r.arraySet(i.window,t,n-a,a,0),i.wnext=a,i.whave=i.wsize):(i.wnext+=o,i.wnext===i.wsize&&(i.wnext=0),i.whave=1&&0===R[x];x--);if(k>x&&(k=x),0===x)return l[u++]=20971520,l[u++]=20971520,h.bits=1,0;for(S=1;S0&&(0===e||1!==x))return-1;for(M[1]=0,C=1;C<15;C++)M[C+1]=M[C]+R[C];for(O=0;O852||2===e&&D>592)return 1;for(;;){y=C-A,f[O]b?(_=j[L+f[O]],w=N[I+f[O]]):(_=96,w=0),d=1<