>8-p;for(var m=(1<<7-p)-1;m>=0;--m)te[d|m<>>=3){case 16:for(o=3+V(e,t),t+=2,d=g[g.length-1];o-- >0;)g.push(d);break;case 17:for(o=3+H(e,t),t+=3;o-- >0;)g.push(0);break;case 18:for(o=11+z(e,t),t+=7;o-- >0;)g.push(0);break;default:g.push(d),c>>0,s=0,c=0;0==(1&n);)if(n=H(e,r),r+=3,n>>>1!=0)for(n>>>1==1?(s=9,c=5):(r=ae(e,r),s=re,c=ne),!t&&i>>1==1?q[l]:Q[l];if(r+=15&u,0===((u>>>=4)>>>8&255))a[o++]=u;else{if(256==u)break;var f=(u-=257)<8?0:u-4>>2;f>5&&(f=0);var h=o+D[u];f>0&&(h+=Y(e,r,f),r+=f),l=Y(e,r,c),r+=15&(u=n>>>1==1?Z[l]:ee[l]);var d=(u>>>=4)<4?0:u-2>>1,p=I[u];for(d>0&&(p+=Y(e,r,d),r+=d),!t&&i>>3]|e[1+(r>>>3)]<<8;if(r+=32,!t&&i>>3,(r>>>3)+m),o+=m,r+=8*m;else for(;m-- >0;)a[o++]=e[r>>>3],r+=8}return[t?a:a.slice(0,o),r+7>>>3]}(e.slice(e.l||0),t);return e.l+=r[1],r[0]}function ie(e,t){if(!e)throw new Error(t);"undefined"!==typeof console&&console.error(t)}function se(e,t){var r=e;Lt(r,0);var n={FileIndex:[],FullPaths:[]};h(n,{root:t.root});for(var a=r.length-4;(80!=r[a]||75!=r[a+1]||5!=r[a+2]||6!=r[a+3])&&a>=0;)--a;r.l=a+4,r.l+=4;var o=r.read_shift(2);r.l+=6;var s=r.read_shift(4);for(r.l=s,a=0;a>>=5);r>>>=4,n.setMilliseconds(0),n.setFullYear(r+1980),n.setMonth(o-1),n.setDate(a);var i=31&t,s=63&(t>>>=5);return t>>>=6,n.setHours(t),n.setMinutes(s),n.setSeconds(i<<1),n}(e);if(8257&o)throw new Error("Unsupported ZIP encryption");for(var l=e.read_shift(4),u=e.read_shift(4),f=e.read_shift(4),h=e.read_shift(2),d=e.read_shift(2),p="",g=0;g>0!=w>>0&&ie(y,"Bad CRC32 checksum: "+l+" != "+w),le(n,p,b,{unsafe:!0,mt:c})}function le(e,t,r,n){var o=n&&n.unsafe;o||h(e);var i=!o&&j.find(e,t);if(!i){var s=e.FullPaths[0];t.slice(0,s.length)==s?s=t:("/"!=s.slice(-1)&&(s+="/"),s=(s+t).replace("//","/")),i={name:a(t),type:2},e.FileIndex.push(i),e.FullPaths.push(s),o||j.utils.cfb_gc(e)}return i.content=r,i.size=r?r.length:0,n&&(n.CLSID&&(i.clsid=n.CLSID),n.mt&&(i.mt=n.mt),n.ct&&(i.ct=n.ct)),i}return t.find=function(e,t){var r=e.FullPaths.map((function(e){return e.toUpperCase()})),n=r.map((function(e){var t=e.split("/");return t[t.length-("/"==e.slice(-1)?2:1)]})),a=!1;47===t.charCodeAt(0)?(a=!0,t=r[0].slice(0,-1)+t):a=-1!==t.indexOf("/");var o=t.toUpperCase(),i=!0===a?r.indexOf(o):n.indexOf(o);if(-1!==i)return e.FileIndex[i];var s=!o.match(B);for(o=o.replace(T,""),s&&(o=o.replace(B,"!")),i=0;i3&&(n=!0),a[o].slice(a[o].length-1)){case"Y":throw new Error("Unsupported ISO Duration Field: "+a[o].slice(a[o].length-1));case"D":r*=24;case"H":r*=60;case"M":if(!n)throw new Error("Unsupported ISO Duration Field: M");r*=60}t+=r*parseInt(a[o],10)}return t}var Q=new Date("2017-02-19T19:06:09.000Z");isNaN(Q.getFullYear())&&(Q=new Date("2/19/17"));var ee=2017==Q.getFullYear();function te(e,t){var r=new Date(e);if(ee)return t>0?r.setTime(r.getTime()+60*r.getTimezoneOffset()*1e3):t<0&&r.setTime(r.getTime()-60*r.getTimezoneOffset()*1e3),r;if(e instanceof Date)return e;if(1917==Q.getFullYear()&&!isNaN(r.getFullYear())){var n=r.getFullYear();return e.indexOf(""+n)>-1||r.setFullYear(r.getFullYear()+100),r}var a=e.match(/\d+/g)||["2017","2","19","0","0","0"],o=new Date(+a[0],+a[1]-1,+a[2],+a[3]||0,+a[4]||0,+a[5]||0);return e.indexOf("Z")>-1&&(o=new Date(o.getTime()-60*o.getTimezoneOffset()*1e3)),o}function re(e){for(var t="",r=0;r!=e.length;++r)t+=String.fromCharCode(e[r]);return t}function ne(e){if("undefined"!=typeof JSON&&!Array.isArray(e))return JSON.parse(JSON.stringify(e));if("object"!=typeof e||null==e)return e;if(e instanceof Date)return new Date(e.getTime());var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=ne(e[r]));return t}function ae(e,t){for(var r="";r.length8099?r:(a>0||o>1)&&101!=n||e.toLowerCase().match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/)?t:e.match(/[^-0-9:,\/\\]/)?r:t}var se,ce=5=="abacaba".split(/(:?b)/i).length;function le(e){return e?e.data?m(e.data):e.asNodeBuffer&&y?m(e.asNodeBuffer().toString("binary")):e.asBinary?m(e.asBinary()):e._data&&e._data.getContent?m(re(Array.prototype.slice.call(e._data.getContent(),0))):e.content&&e.type?m(re(e.content)):null:null}function ue(e){return e&&".bin"===e.name.slice(-4)?function(e){if(!e)return null;if(e.data)return p(e.data);if(e.asNodeBuffer&&y)return e.asNodeBuffer();if(e._data&&e._data.getContent){var t=e._data.getContent();return"string"==typeof t?p(t):Array.prototype.slice.call(t)}return e.content&&e.type?e.content:null}(e):le(e)}function fe(e,t){for(var r=e.FullPaths||V(e.files),n=t.toLowerCase().replace(/[\/]/g,"\\"),a=n.replace(/\\/g,"/"),o=0;o\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g,Ee=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/gm;ye.match(Ee)||(Ee=/<[^>]*>/g);var Ce=/<\w*:/,Se=/<(\/?)\w+:/;function _e(e,t,r){for(var n={},a=0,o=0;a!==e.length&&(32!==(o=e.charCodeAt(a))&&10!==o&&13!==o);++a);if(t||(n[0]=e.slice(0,a)),a===e.length)return n;var i=e.match(we),s=0,c="",l=0,u="",f="",h=1;if(i)for(l=0;l!=i.length;++l){for(f=i[l],o=0;o!=f.length&&61!==f.charCodeAt(o);++o);for(u=f.slice(0,o).trim();32==f.charCodeAt(o+1);)++o;for(h=34==(a=f.charCodeAt(o+1))||39==a?1:0,c=f.slice(o+1+h,f.length-h),s=0;s!=u.length&&58!==u.charCodeAt(s);++s);if(s===u.length)u.indexOf("_")>0&&(u=u.slice(0,u.indexOf("_"))),n[u]=c,r||(n[u.toLowerCase()]=c);else{var d=(5===s&&"xmlns"===u.slice(0,5)?"xmlns":"")+u.slice(s+1);if(n[d]&&"ext"==u.slice(s-3,s))continue;n[d]=c,r||(n[d.toLowerCase()]=c)}}return n}function Oe(e){return e.replace(Se,"<$1")}var ke={""":'"',"'":"'",">":">","<":"<","&":"&"},xe=W(ke),Ae=function(){var e=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/gi,t=/_x([\da-fA-F]{4})_/gi;return function r(n){var a=n+"",o=a.indexOf("-1?16:10))||e})).replace(t,(function(e,t){return String.fromCharCode(parseInt(t,16))}));var i=a.indexOf("]]>");return r(a.slice(0,o))+a.slice(o+9,i)+r(a.slice(i+3))}}(),Te=/[&<>'"]/g,Be=/[\u0000-\u0008\u000b-\u001f]/g;function Pe(e){return(e+"").replace(Te,(function(e){return xe[e]})).replace(Be,(function(e){return"_x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+"_"}))}function De(e){return Pe(e).replace(/ /g,"_x0020_")}var Re=/[\u0000-\u001f]/g;function Ie(e){return(e+"").replace(Te,(function(e){return xe[e]})).replace(/\n/g,"
").replace(Re,(function(e){return""+("000"+e.charCodeAt(0).toString(16)).slice(-4)+";"}))}var Ne=function(){var e=/(\d+);/g;function t(e,t){return String.fromCharCode(parseInt(t,10))}return function(r){return r.replace(e,t)}}(),Fe=function(e){return e.replace(/(\r\n|[\r\n])/g,"
")};function Me(e){switch(e){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}var je=function(e){for(var t="",r=0,n=0,a=0,o=0,i=0,s=0;r191&&n<224?(i=(31&n)<<6,i|=63&a,t+=String.fromCharCode(i)):(o=e.charCodeAt(r++),n<240?t+=String.fromCharCode((15&n)<<12|(63&a)<<6|63&o):(s=((7&n)<<18|(63&a)<<12|(63&o)<<6|63&(i=e.charCodeAt(r++)))-65536,t+=String.fromCharCode(55296+(s>>>10&1023)),t+=String.fromCharCode(56320+(1023&s)))));return t},Le=function(e){for(var t=[],r=0,n=0,a=0;r>6))),t.push(String.fromCharCode(128+(63&n)));break;case n>=55296&&n<57344:n-=55296,a=e.charCodeAt(r++)-56320+(n<<10),t.push(String.fromCharCode(240+(a>>18&7))),t.push(String.fromCharCode(144+(a>>12&63))),t.push(String.fromCharCode(128+(a>>6&63))),t.push(String.fromCharCode(128+(63&a)));break;default:t.push(String.fromCharCode(224+(n>>12))),t.push(String.fromCharCode(128+(n>>6&63))),t.push(String.fromCharCode(128+(63&n)))}return t.join("")};if(y){var Ue=function(e){var t,r,n,o=a.alloc(2*e.length),i=1,s=0,c=0;for(r=0;r>>10&1023),t=56320+(1023&t)),0!==c&&(o[s++]=255&c,o[s++]=c>>>8,c=0),o[s++]=t%256,o[s++]=t>>>8;return o.slice(0,s).toString("ucs2")},Ve="foo bar baz\xe2\x98\x83\xf0\x9f\x8d\xa3";je(Ve)==Ue(Ve)&&(je=Ue);var He=function(e){return w(e,"binary").toString("utf8")};je(Ve)==He(Ve)&&(je=He),Le=function(e){return w(e,"utf8").toString("binary")}}var We=function(){var e={};return function(t,r){var n=t+"|"+(r||"");return e[n]?e[n]:e[n]=new RegExp("<(?:\\w+:)?"+t+'(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)(?:\\w+:)?'+t+">",r||"")}}(),ze=function(){var e=[["nbsp"," "],["middot","\xb7"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map((function(e){return[new RegExp("&"+e[0]+";","ig"),e[1]]}));return function(t){for(var r=t.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+/g,"\n").replace(/<[^>]*>/g,""),n=0;n([\\s\\S]*?)(?:vt:)?"+t+">","g")}}(),Ge=/<\/?(?:vt:)?variant>/g,Xe=/<(?:vt:)([^>]*)>([\s\S]*);function Ke(e,t){var r=_e(e),n=e.match(Ye(r.baseType))||[],a=[];if(n.length!=r.size){if(t.WTF)throw new Error("unexpected vector length "+n.length+" != "+r.size);return a}return n.forEach((function(e){var t=e.replace(Ge,"").match(Xe);t&&a.push({v:je(t[2]),t:t[1]})})),a}var $e=/(^\s|\s$|\n)/;function qe(e,t){return"<"+e+(t.match($e)?' xml:space="preserve"':"")+">"+t+""+e+">"}function Ze(e){return V(e).map((function(t){return" "+t+'="'+e[t]+'"'})).join("")}function Je(e,t,r){return"<"+e+(null!=r?Ze(r):"")+(null!=t?(t.match($e)?' xml:space="preserve"':"")+">"+t+""+e:"/")+">"}function Qe(e,t){try{return e.toISOString().replace(/\.\d*/,"")}catch(pu){if(t)throw pu}return""}var et,tt,rt={dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",mx:"http://schemas.microsoft.com/office/mac/excel/2008/main",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",sjs:"http://schemas.openxmlformats.org/package/2006/sheetjs/core-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",xsd:"http://www.w3.org/2001/XMLSchema",main:["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"]},nt="urn:schemas-microsoft-com:office:office",at="urn:schemas-microsoft-com:office:excel",ot="urn:schemas-microsoft-com:office:spreadsheet",it="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882",st="http://macVmlSchemaUri",ct="urn:schemas-microsoft-com:vml",lt="http://www.w3.org/TR/REC-html40",ut=function(e){for(var t=[],r=0;r0?gt(e,t+4,t+4+r-1):""},yt=bt,wt=function(e,t){var r=Dt(e,t);return r>0?gt(e,t+4,t+4+r-1):""},Et=wt,Ct=function(e,t){var r=2*Dt(e,t);return r>0?gt(e,t+4,t+4+r-1):""},St=Ct;et=tt=function(e,t){var r=Dt(e,t);return r>0?ht(e,t+4,t+4+r):""};var _t,Ot,kt=function(e,t){var r=Dt(e,t);return r>0?gt(e,t+4,t+4+r):""},xt=kt;_t=Ot=function(e,t){return function(e,t){for(var r=1-2*(e[t+7]>>>7),n=((127&e[t+7])<<4)+(e[t+6]>>>4&15),a=15&e[t+6],o=5;o>=0;--o)a=256*a+e[t+o];return 2047==n?0==a?r*(1/0):NaN:(0==n?n=-1022:(n-=1023,a+=Math.pow(2,52)),r*Math.pow(2,n-52)*a)}(e,t)};var At=function(e){return Array.isArray(e)};y&&(ht=function(e,t,r){return a.isBuffer(e)?e.toString("utf16le",t,r).replace(T,""):dt(e,t,r)},pt=function(e,t,r){return a.isBuffer(e)?e.toString("hex",t,t+r):mt(e,t,r)},bt=function(e,t){if(!a.isBuffer(e))return yt(e,t);var r=e.readUInt32LE(t);return r>0?e.toString("utf8",t+4,t+4+r-1):""},wt=function(e,t){if(!a.isBuffer(e))return Et(e,t);var r=e.readUInt32LE(t);return r>0?e.toString("utf8",t+4,t+4+r-1):""},Ct=function(e,t){if(!a.isBuffer(e))return St(e,t);var r=2*e.readUInt32LE(t);return e.toString("utf16le",t+4,t+4+r-1)},et=function(e,t){if(!a.isBuffer(e))return tt(e,t);var r=e.readUInt32LE(t);return e.toString("utf16le",t+4,t+4+r)},kt=function(e,t){if(!a.isBuffer(e))return xt(e,t);var r=e.readUInt32LE(t);return e.toString("utf8",t+4,t+4+r)},gt=function(e,t,r){return a.isBuffer(e)?e.toString("utf8",t,r):vt(e,t,r)},ut=function(e){return e[0].length>0&&a.isBuffer(e[0][0])?a.concat(e[0]):ft(e)},A=function(e){return a.isBuffer(e[0])?a.concat(e):[].concat.apply([],e)},_t=function(e,t){return a.isBuffer(e)?e.readDoubleLE(t):Ot(e,t)},At=function(e){return a.isBuffer(e)||Array.isArray(e)}),"undefined"!==typeof cptable&&(ht=function(e,t,r){return cptable.utils.decode(1200,e.slice(t,r)).replace(T,"")},gt=function(e,t,r){return cptable.utils.decode(65001,e.slice(t,r))},bt=function(e,t){var r=Dt(e,t);return r>0?cptable.utils.decode(s,e.slice(t+4,t+4+r-1)):""},wt=function(e,t){var r=Dt(e,t);return r>0?cptable.utils.decode(i,e.slice(t+4,t+4+r-1)):""},Ct=function(e,t){var r=2*Dt(e,t);return r>0?cptable.utils.decode(1200,e.slice(t+4,t+4+r-1)):""},et=function(e,t){var r=Dt(e,t);return r>0?cptable.utils.decode(1200,e.slice(t+4,t+4+r)):""},kt=function(e,t){var r=Dt(e,t);return r>0?cptable.utils.decode(65001,e.slice(t+4,t+4+r)):""});var Tt=function(e,t){return e[t]},Bt=function(e,t){return 256*e[t+1]+e[t]},Pt=function(e,t){var r=256*e[t+1]+e[t];return r<32768?r:-1*(65535-r+1)},Dt=function(e,t){return e[t+3]*(1<<24)+(e[t+2]<<16)+(e[t+1]<<8)+e[t]},Rt=function(e,t){return e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]},It=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]};function Nt(e,t){var r,n,o,s,c,l,u="",f=[];switch(t){case"dbcs":if(l=this.l,y&&a.isBuffer(this))u=this.slice(this.l,this.l+2*e).toString("utf16le");else for(c=0;c0?Rt:It)(this,this.l),this.l+=4,r):(n=Dt(this,this.l),this.l+=4,n);case 8:case-8:if("f"===t)return n=8==e?_t(this,this.l):_t([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0),this.l+=8,n;e=8;case 16:u=pt(this,this.l,e)}}return this.l+=e,u}var Ft=function(e,t,r){e[r]=255&t,e[r+1]=t>>>8&255};function Mt(e,t,r){var n=0,a=0;if("dbcs"===r){for(a=0;a!=t.length;++a)Ft(this,t.charCodeAt(a),this.l+2*a);n=2*t.length}else if("sbcs"===r){if("undefined"!==typeof cptable&&874==s)for(a=0;a!=t.length;++a){var o=cptable.utils.encode(s,t.charAt(a));this[this.l+a]=o[0]}else for(t=t.replace(/[^\x00-\x7F]/g,"_"),a=0;a!=t.length;++a)this[this.l+a]=255&t.charCodeAt(a);n=t.length}else{if("hex"===r){for(;a>8}for(;this.l>>=8,this[this.l+1]=255&t;break;case 3:n=3,this[this.l]=255&t,t>>>=8,this[this.l+1]=255&t,t>>>=8,this[this.l+2]=255&t;break;case 4:n=4,function(e,t,r){e[r]=255&t,e[r+1]=t>>>8&255,e[r+2]=t>>>16&255,e[r+3]=t>>>24&255}(this,t,this.l);break;case 8:if(n=8,"f"===r){!function(e,t,r){var n=(t<0||1/t==-1/0?1:0)<<7,a=0,o=0,i=n?-t:t;isFinite(i)?0==i?a=o=0:(a=Math.floor(Math.log(i)/Math.LN2),o=i*Math.pow(2,52-a),a<=-1023&&(!isFinite(o)||o>4|n}(this,t,this.l);break}case 16:break;case-4:n=4,function(e,t,r){e[r]=255&t,e[r+1]=t>>8&255,e[r+2]=t>>16&255,e[r+3]=t>>24&255}(this,t,this.l)}}return this.l+=n,this}function jt(e,t){var r=pt(this,this.l,e.length>>1);if(r!==e)throw new Error(t+"Expected "+e+" saw "+r);this.l+=e.length>>1}function Lt(e,t){e.l=t,e.read_shift=Nt,e.chk=jt,e.write_shift=Mt}function Ut(e,t){e.l+=t}function Vt(e){var t=C(e);return Lt(t,0),t}function Ht(e,t,r){if(e){var n,a,o;Lt(e,e.l||0);for(var i=e.length,s=0,c=0;e.ln.l&&((n=n.slice(0,n.l)).l=n.length),n.length>0&&e.push(n),n=null)},o=function(e){return n&&e=128?1:0)+1,n>=128&&++a,n>=16384&&++a,n>=2097152&&++a;var i=e.next(a);o<=127?i.write_shift(1,o):(i.write_shift(1,128+(127&o)),i.write_shift(1,o>>7));for(var s=0;4!=s;++s){if(!(n>=128)){i.write_shift(1,n);break}i.write_shift(1,128+(127&n)),n>>=7}n>0&&At(r)&&e.push(r)}}function Yt(e,t,r){var n=ne(e);if(t.s?(n.cRel&&(n.c+=t.s.c),n.rRel&&(n.r+=t.s.r)):(n.cRel&&(n.c+=t.c),n.rRel&&(n.r+=t.r)),!r||r.biff<12){for(;n.c>=256;)n.c-=256;for(;n.r>=65536;)n.r-=65536}return n}function Gt(e,t,r){var n=ne(e);return n.s=Yt(n.s,t.s,r),n.e=Yt(n.e,t.s,r),n}function Xt(e,t){if(e.cRel&&e.c<0)for(e=ne(e);e.c<0;)e.c+=t>8?16384:256;if(e.rRel&&e.r<0)for(e=ne(e);e.r<0;)e.r+=t>8?1048576:t>5?65536:16384;var r=er(e);return e.cRel||null==e.cRel||(r=r.replace(/^([A-Z])/,"$$$1")),e.rRel||null==e.rRel||(r=function(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}(r)),r}function Kt(e,t){return 0!=e.s.r||e.s.rRel||e.e.r!=(t.biff>=12?1048575:t.biff>=8?65536:16384)||e.e.rRel?0!=e.s.c||e.s.cRel||e.e.c!=(t.biff>=12?16383:255)||e.e.cRel?Xt(e.s,t.biff)+":"+Xt(e.e,t.biff):(e.s.rRel?"":"$")+qt(e.s.r)+":"+(e.e.rRel?"":"$")+qt(e.e.r):(e.s.cRel?"":"$")+Jt(e.s.c)+":"+(e.e.cRel?"":"$")+Jt(e.e.c)}function $t(e){return parseInt(e.replace(/\$(\d+)$/,"$1"),10)-1}function qt(e){return""+(e+1)}function Zt(e){for(var t=e.replace(/^\$([A-Z])/,"$1"),r=0,n=0;n!==t.length;++n)r=26*r+t.charCodeAt(n)-64;return r-1}function Jt(e){if(e<0)throw new Error("invalid column "+e);var t="";for(++e;e;e=Math.floor((e-1)/26))t=String.fromCharCode((e-1)%26+65)+t;return t}function Qt(e){for(var t=0,r=0,n=0;n=48&&a<=57?t=10*t+(a-48):a>=65&&a<=90&&(r=26*r+(a-64))}return{c:r-1,r:t-1}}function er(e){for(var t=e.c+1,r="";t;t=(t-1)/26|0)r=String.fromCharCode((t-1)%26+65)+r;return r+(e.r+1)}function tr(e){var t=e.indexOf(":");return-1==t?{s:Qt(e),e:Qt(e)}:{s:Qt(e.slice(0,t)),e:Qt(e.slice(t+1))}}function rr(e,t){return"undefined"===typeof t||"number"===typeof t?rr(e.s,e.e):("string"!==typeof e&&(e=er(e)),"string"!==typeof t&&(t=er(t)),e==t?e:e+":"+t)}function nr(e){var t={s:{c:0,r:0},e:{c:0,r:0}},r=0,n=0,a=0,o=e.length;for(r=0;n26);++n)r=26*r+a;for(t.s.c=--r,r=0;n9);++n)r=10*r+a;if(t.s.r=--r,n===o||10!=a)return t.e.c=t.s.c,t.e.r=t.s.r,t;for(++n,r=0;n!=o&&!((a=e.charCodeAt(n)-64)<1||a>26);++n)r=26*r+a;for(t.e.c=--r,r=0;n!=o&&!((a=e.charCodeAt(n)-48)<0||a>9);++n)r=10*r+a;return t.e.r=--r,t}function ar(e,t){var r="d"==e.t&&t instanceof Date;if(null!=e.z)try{return e.w=P.format(e.z,r?G(t):t)}catch(pu){}try{return e.w=P.format((e.XF||{}).numFmtId||(r?14:0),r?G(t):t)}catch(pu){return""+t}}function or(e,t,r){return null==e||null==e.t||"z"==e.t?"":void 0!==e.w?e.w:("d"==e.t&&!e.z&&r&&r.dateNF&&(e.z=r.dateNF),"e"==e.t?zr[e.v]||e.v:ar(e,void 0==t?e.v:t))}function ir(e,t){var r=t&&t.sheet?t.sheet:"Sheet1",n={};return n[r]=e,{SheetNames:[r],Sheets:n}}function sr(e,t,r){var n=r||{},a=e?Array.isArray(e):n.dense;var o=e||(a?[]:{}),i=0,s=0;if(o&&null!=n.origin){if("number"==typeof n.origin)i=n.origin;else{var c="string"==typeof n.origin?Qt(n.origin):n.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=nr(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"),r?t.slice(0,t.l):t}function hr(e){return{ich:e.read_shift(2),ifnt:e.read_shift(2)}}function dr(e,t){var r=e.l,n=e.read_shift(1),a=ur(e),o=[],i={t:a,h:a};if(0!==(1&n)){for(var s=e.read_shift(4),c=0;c!=s;++c)o.push(hr(e));i.r=o}else i.r=[{ich:0,ifnt:0}];return e.l=r+t,i}!function(e,t){var n;if("undefined"!==typeof t)n=t;else{try{n=r(709)}catch(pu){n=null}}e.rc4=function(e,t){var r=new Array(256),n=0,a=0,o=0,i=0;for(a=0;256!=a;++a)r[a]=a;for(a=0;256!=a;++a)o=o+r[a]+e[a%e.length].charCodeAt(0)&255,i=r[a],r[a]=r[o],r[o]=i;a=o=0;var s=C(t.length);for(n=0;n!=t.length;++n)o=(o+r[a=a+1&255])%256,i=r[a],r[a]=r[o],r[o]=i,s[n]=t[n]^r[r[a]+r[o]&255];return s},e.md5=function(e){if(!n)throw new Error("Unsupported crypto");return n.createHash("md5").update(e).digest("hex")}}({},"undefined"!==typeof crypto?crypto:void 0);var pr=dr;function mr(e,t){var r=!1;return null==t&&(r=!0,t=Vt(23+4*e.t.length)),t.write_shift(1,1),fr(e.t,t),t.write_shift(4,1),function(e,t){t||(t=Vt(4)),t.write_shift(2,e.ich||0),t.write_shift(2,e.ifnt||0)}({ich:0,ifnt:0},t),r?t.slice(0,t.l):t}function gr(e){var t=e.read_shift(4),r=e.read_shift(2);return r+=e.read_shift(1)<<16,e.l++,{c:t,iStyleRef:r}}function vr(e,t){return null==t&&(t=Vt(8)),t.write_shift(-4,e.c),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}function br(e){var t=e.read_shift(2);return t+=e.read_shift(1)<<16,e.l++,{c:-1,iStyleRef:t}}function yr(e,t){return null==t&&(t=Vt(4)),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}var wr=ur,Er=fr;function Cr(e){var t=e.read_shift(4);return 0===t||4294967295===t?"":e.read_shift(t,"dbcs")}function Sr(e,t){var r=!1;return null==t&&(r=!0,t=Vt(127)),t.write_shift(4,e.length>0?e.length:4294967295),e.length>0&&t.write_shift(0,e,"dbcs"),r?t.slice(0,t.l):t}var _r=ur,Or=Cr,kr=Sr;function xr(e){var t=e.slice(e.l,e.l+4),r=1&t[0],n=2&t[0];e.l+=4,t[0]&=252;var a=0===n?_t([0,0,0,0,t[0],t[1],t[2],t[3]],0):Rt(t,0)>>2;return r?a/100:a}function Ar(e,t){null==t&&(t=Vt(4));var r=0,n=0,a=100*e;if(e==(0|e)&&e>=-(1<<29)&&e<1<<29?n=1:a==(0|a)&&a>=-(1<<29)&&a<1<<29&&(n=1,r=1),!n)throw new Error("unsupported RkNumber "+e);t.write_shift(-4,((r?a:e)<<2)+(r+2))}function Tr(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 Br=Tr,Pr=function(e,t){return t||(t=Vt(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 Dr(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e.read_shift(8,"f")}function Rr(e,t){return(t||Vt(8)).write_shift(8,e,"f")}function Ir(e,t){if(t||(t=Vt(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 r=e.tint||0;if(r>0?r*=32767:r<0&&(r*=32768),t.write_shift(2,r),e.rgb&&null==e.theme){var n=e.rgb||"FFFFFF";"number"==typeof n&&(n=("000000"+n.toString(16)).slice(-6)),t.write_shift(1,parseInt(n.slice(0,2),16)),t.write_shift(1,parseInt(n.slice(2,4),16)),t.write_shift(1,parseInt(n.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 Nr(e,t){var r=e.read_shift(4);switch(r){case 0:return"";case 4294967295:case 4294967294:return{2:"BITMAP",3:"METAFILEPICT",8:"DIB",14:"ENHMETAFILE"}[e.read_shift(4)]||""}if(r>400)throw new Error("Unsupported Clipboard: "+r.toString(16));return e.l-=4,e.read_shift(0,1==t?"lpstr":"lpwstr")}var Fr=[80,81],Mr={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:{}},jr={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:{}},Lr=H(Mr,"n"),Ur=H(jr,"n"),Vr={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"},Hr=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"],Wr=ne([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]}))),zr={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},Yr=z(zr),Gr={"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"},Xr=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 V(e).forEach((function(t){["xlsm","xlam"].forEach((function(r){e[t][r]||(e[t][r]=e[t].xlsx)}))})),V(e).forEach((function(t){V(e[t]).forEach((function(r){Gr[e[t][r]]=t}))})),e}(),Kr=function(e){for(var t=[],r=V(e),n=0;n!==r.length;++n)null==t[e[r[n]]]&&(t[e[r[n]]]=[]),t[e[r[n]]].push(r[n]);return t}(Gr);rt.CT="http://schemas.openxmlformats.org/package/2006/content-types";var $r=Je("Types",null,{xmlns:rt.CT,"xmlns:xsd":rt.xsd,"xmlns:xsi":rt.xsi}),qr=[["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",Kr.rels[0]]].map((function(e){return Je("Default",null,{Extension:e[0],ContentType:e[1]})})),Zr={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 Jr(e){var t=e.lastIndexOf("/");return e.slice(0,t+1)+"_rels/"+e.slice(t+1)+".rels"}function Qr(e,t){var r={"!id":{}};if(!e)return r;"/"!==t.charAt(0)&&(t="/"+t);var n={};return(e.match(Ee)||[]).forEach((function(e){var a=_e(e);if("2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}var rn=[Zr.HLINK,Zr.XPATH,Zr.XMISS];function nn(e,t,r,n,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=n,a.Target=r,o?a.TargetMode=o:rn.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 an(e,t,r){return[' \n',' \n'," \n"].join("")}var on=function(){var e='SheetJS '+t.version+"";return function(){return e}}(),sn=[["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"]];rt.CORE_PROPS="http://schemas.openxmlformats.org/package/2006/metadata/core-properties",Zr.CORE_PROPS="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties";var cn=function(){for(var e=new Array(sn.length),t=0;t]*>([\\s\\S]*?)"+n+">")}return e}();function ln(e){var t={};e=je(e);for(var r=0;r0&&(t[n[1]]=Ae(a[1])),"date"===n[2]&&t[n[1]]&&(t[n[1]]=te(t[n[1]]))}return t}var un=Je("cp:coreProperties",null,{"xmlns:cp":rt.CORE_PROPS,"xmlns:dc":rt.dc,"xmlns:dcterms":rt.dcterms,"xmlns:dcmitype":rt.dcmitype,"xmlns:xsi":rt.xsi});function fn(e,t,r,n,a){null==a[e]&&null!=t&&""!==t&&(a[e]=t,t=Pe(t),n[n.length]=r?Je(e,t,r):qe(e,t))}var hn=[["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 dn(e,t,r,n){var a=[];if("string"==typeof e)a=Ke(e,n);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":r.Worksheets=c,r.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":r.NamedRanges=c,r.DefinedNames=i.slice(s,s+c);break;case"Charts":case"Diagramme":r.Chartsheets=c,r.ChartNames=i.slice(s,s+c)}s+=c}}rt.EXT_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",Zr.EXT_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties";var pn=Je("Properties",null,{xmlns:rt.EXT_PROPS,"xmlns:vt":rt.vt});rt.CUST_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",Zr.CUST_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties";var mn=/<[^>]+>[^<]*/g,gn=Je("Properties",null,{xmlns:rt.CUST_PROPS,"xmlns:vt":rt.vt});function vn(e){var t=[ye,gn];if(!e)return t.join("");var r=1;return V(e).forEach((function(n){++r,t[t.length]=Je("property",function(e,t){switch(typeof e){case"string":var r=Je("vt:lpwstr",Pe(e));return t&&(r=r.replace(/"/g,"_x0022_")),r;case"number":return Je((0|e)==e?"vt:i4":"vt:r8",Pe(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[n],!0),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:r,name:Pe(n)})})),t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}var bn={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"},yn=W(bn);function wn(e,t,r){e[t=yn[t]||t]=r}function En(e){var t=e.read_shift(4),r=e.read_shift(4);return new Date(1e3*(r/1e7*Math.pow(2,32)+t/1e7-11644473600)).toISOString().replace(/\.000/,"")}function Cn(e,t,r){var n=e.l,a=e.read_shift(0,"lpstr-cp");if(r)for(;e.l-n&3;)++e.l;return a}function Sn(e,t,r){var n=e.read_shift(0,"lpwstr");return r&&(e.l+=4-(n.length+1&3)&3),n}function _n(e,t,r){return 31===t?Sn(e):Cn(e,0,r)}function On(e,t,r){return _n(e,t,!1===r?0:4)}function kn(e){var t=e.l,r=Tn(e,81);return 0==e[e.l]&&0==e[e.l+1]&&e.l-t&2&&(e.l+=2),[r,Tn(e,3)]}function xn(e,t){for(var r=e.read_shift(4),n={},a=0;a!=r;++a){var o=e.read_shift(4),i=e.read_shift(4);n[o]=e.read_shift(i,1200===t?"utf16le":"utf8").replace(T,"").replace(B,"!"),1200===t&&i%2&&(e.l+=2)}return 3&e.l&&(e.l=e.l>>3<<2),n}function An(e){var t=e.read_shift(4),r=e.slice(e.l,e.l+t);return e.l+=t,(3&t)>0&&(e.l+=4-(3&t)&3),r}function Tn(e,t,r){var n,a=e.read_shift(2),o=r||{};if(e.l+=2,12!==t&&a!==t&&-1===Fr.indexOf(t)&&(4126!=(65534&t)||4126!=(65534&a)))throw new Error("Expected type "+t+" saw "+a);switch(12===t?a:t){case 2:return n=e.read_shift(2,"i"),o.raw||(e.l+=2),n;case 3:return n=e.read_shift(4,"i");case 11:return 0!==e.read_shift(4);case 19:return n=e.read_shift(4);case 30:return Cn(e,0,4).replace(T,"");case 31:return Sn(e);case 64:return En(e);case 65:return An(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 On(e,a,!o.raw).replace(T,"");case 81:return function(e,t){if(!t)throw new Error("VtUnalignedString must have positive length");return _n(e,t,0)}(e,a).replace(T,"");case 4108:return function(e){for(var t=e.read_shift(4),r=[],n=0;n0&&(r%=Math.pow(2,32),n+=a);var o=Vt(8);return o.write_shift(4,r),o.write_shift(4,n),o}(t);break;case 31:case 80:for((n=Vt(4+2*(t.length+1)+(t.length%2?0:2))).write_shift(4,t.length+1),n.write_shift(0,t,"dbcs");n.l!=n.length;)n.write_shift(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+t)}return A([r,n])}function Pn(e,t){var r=e.l,n=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+r]}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]=Tn(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=Tn(e,2),h(s),-1!==c){var g=e.l;e.l=o[c][1],l=xn(e,s),e.l=g}}else if(0===o[i][0]){if(0===s){c=i,e.l=o[i+1][1];continue}l=xn(e,s)}else{var v,b=l[o[i][0]];switch(e[e.l]){case 65:e.l+=4,v=An(e);break;case 30:case 31:e.l+=4,v=On(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=jn(e,4);break;case 64:e.l+=4,v=te(En(e));break;default:throw new Error("unparsed value: "+e[e.l])}d[b]=v}}return e.l=r+n,d}var Dn=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"].concat(["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"]);function Rn(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 In(e,t,r){var n=Vt(8),a=[],o=[],i=8,s=0,c=Vt(8),l=Vt(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=Vt(8)).write_shift(4,0),a.unshift(l);var u=[Vt(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=r[d=+t[e[s][0]]];if("version"==p.p&&"string"==typeof h){var m=h.split(".");h=(+m[0]<<16)+(+m[1]||0)}c=Bn(p.t,h)}else{var g=Rn(h);-1==g&&(g=31,h=String(h)),c=Bn(g,h)}o.push(c),(l=Vt(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;(r&&r.biff>=8&&(i=1200),r&&8!=r.biff)?12==r.biff&&(a="wstr"):e.read_shift(1)&&(a="dbcs-cont");r.biff>=2&&r.biff<=5&&(a="cpstr");var s=n?e.read_shift(n,a):"";return i=o,s}function Yn(e){var t=i;i=1200;var r,n=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&&(r=e.read_shift(4));var f=2==c?"dbcs-cont":"sbcs-cont",h=0===n?"":e.read_shift(n,f);return s&&(e.l+=4*l),o&&(e.l+=r),u.t=h,s||(u.raw=""+u.t+"",u.r=u.t),i=t,u}function Gn(e){var t=e.t||"",r=Vt(3);r.write_shift(2,t.length),r.write_shift(1,1);var n=Vt(2*t.length);return n.write_shift(2*t.length,t,"utf16le"),A([r,n])}function Xn(e,t,r){if(r){if(r.biff>=2&&r.biff<=5)return e.read_shift(t,"cpstr");if(r.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 Kn(e,t,r){var n=e.read_shift(r&&2==r.biff?1:2);return 0===n?(e.l++,""):Xn(e,n,r)}function $n(e,t,r){if(r.biff>5)return Kn(e,0,r);var n=e.read_shift(1);return 0===n?(e.l++,""):e.read_shift(n,r.biff<=4||!e.lens?"cpstr":"sbcs-cont")}function qn(e,t,r){return r||(r=Vt(3+2*e.length)),r.write_shift(2,e.length),r.write_shift(1,1),r.write_shift(31,e,"utf16le"),r}function Zn(e,t){var r=e.read_shift(16);switch(16,r){case"e0c9ea79f9bace118c8200aa004ba90b":return function(e){var t=e.read_shift(4),r=e.l,n=!1;t>24&&(e.l+=t-24,"795881f43b1d7f48af2c825dc4852763"===e.read_shift(16)&&(n=!0),e.l=r);var a=e.read_shift((n?t-24:t)>>1,"utf16le").replace(T,"");return n&&(e.l+=24),a}(e);case"0303000000000000c000000000000046":return function(e){for(var t=e.read_shift(2),r="";t-- >0;)r+="../";var n=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 r+n.replace(/\\/g,"/");var a=e.read_shift(4);if(3!=e.read_shift(2))throw new Error("Bad FileMoniker");return r+e.read_shift(a>>1,"utf16le").replace(T,"")}(e);default:throw new Error("Unsupported Moniker "+r)}}function Jn(e){var t=e.read_shift(4);return t>0?e.read_shift(t,"utf16le").replace(T,""):""}function Qn(e,t){t||(t=Vt(6+2*e.length)),t.write_shift(4,1+e.length);for(var r=0;r-1?31:23;switch(n.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(r=0;r-1?n.slice(0,a):n;for(t.write_shift(4,2*(s.length+1)),r=0;r-1?n.slice(a+1):"",t)}else{for(i="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" "),r=0;r8?4:2;return[e.read_shift(n),e.read_shift(n,"i"),e.read_shift(n,"i")]}function ia(e){return[e.read_shift(2),xr(e)]}function sa(e){var t=e.read_shift(2),r=e.read_shift(2);return{s:{c:e.read_shift(2),r:t},e:{c:e.read_shift(2),r:r}}}function ca(e,t){return t||(t=Vt(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),r=e.read_shift(2);return{s:{c:e.read_shift(1),r:t},e:{c:e.read_shift(1),r:r}}}var ua=la;function fa(e){e.l+=4;var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(2);return e.l+=12,[r,t,n]}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 r={BIFFVer:0,dt:0};switch(r.BIFFVer=e.read_shift(2),(t-=2)>=2&&(r.dt=e.read_shift(2),e.l-=2),r.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 "+r.BIFFVer)}return e.read_shift(t),r}function ma(e,t,r){var n=1536,a=16;switch(r.bookType){case"biff8":break;case"biff5":n=1280,a=8;break;case"biff4":n=4,a=6;break;case"biff3":n=3,a=6;break;case"biff2":n=2,a=4;break;case"xla":break;default:throw new Error("unsupported BIFF version")}var o=Vt(a);return o.write_shift(2,n),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 r=!t||t.biff>=8?2:1,n=Vt(8+r*e.name.length);n.write_shift(4,e.pos),n.write_shift(1,e.hs||0),n.write_shift(1,e.dt),n.write_shift(1,e.name.length),t.biff>=8&&n.write_shift(1,1),n.write_shift(r*e.name.length,e.name,t.biff<8?"sbcs":"utf16le");var a=n.slice(0,n.l);return a.l=n.l,a}function va(e,t,r){var n=0;r&&2==r.biff||(n=e.read_shift(2));var a=e.read_shift(2);return r&&2==r.biff&&(n=1-(a>>15),a&=32767),[{Unsynced:1&n,DyZero:(2&n)>>1,ExAsc:(4&n)>>2,ExDsc:(8&n)>>3},a]}function ba(e,t,r,n){var a=r&&5==r.biff;n||(n=Vt(a?3+t.length:5+2*t.length)),n.write_shift(2,e),n.write_shift(a?1:2,t.length),a||n.write_shift(1,1),n.write_shift((a?1:2)*t.length,t,a?"sbcs":"utf16le");var o=n.length>n.l?n.slice(0,n.l):n;return null==o.l&&(o.l=o.length),o}var ya=$n;function wa(e,t,r){var n=e.l+t,a=8!=r.biff&&r.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=n,{s:{r:o,c:s},e:{r:i,c:c}}}function Ea(e,t,r,n){var a=r&&5==r.biff;n||(n=Vt(a?16:20)),n.write_shift(2,0),e.style?(n.write_shift(2,e.numFmtId||0),n.write_shift(2,65524)):(n.write_shift(2,e.numFmtId||0),n.write_shift(2,t<<4));var o=0;return e.numFmtId>0&&a&&(o|=1024),n.write_shift(4,o),n.write_shift(4,0),a||n.write_shift(4,0),n.write_shift(2,0),n}function Ca(e,t,r){var n=na(e);2!=r.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 n.val=a,n.t=!0===a||!1===a?"b":"e",n}var Sa=function(e,t,r){return 0===t?"":$n(e,0,r)};function _a(e,t,r){var n,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===r.sbcch&&(n=function(e,t,r){e.l+=4,t-=4;var n=e.l+t,a=zn(e,0,r),o=e.read_shift(2);if(o!==(n-=e.l))throw new Error("Malformed AddinUdf: padding = "+n+" != "+o);return e.l+=o,a}(e,t-2,r)),o.body=n||e.read_shift(t-2),"string"===typeof n&&(o.Name=n),o}var Oa=["_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 ka(e,t,r){var n=e.l+t,a=e.read_shift(2),o=e.read_shift(1),i=e.read_shift(1),s=e.read_shift(r&&2==r.biff?1:2),c=0;(!r||r.biff>=5)&&(5!=r.biff&&(e.l+=2),c=e.read_shift(2),5==r.biff&&(e.l+=2),e.l+=4);var l=Xn(e,i,r);32&a&&(l=Oa[l.charCodeAt(0)]);var u=n-e.l;return r&&2==r.biff&&--u,{chKey:o,Name:l,itab:c,rgce:n!=e.l&&0!==s&&u>0?function(e,t,r,n){var a,o=e.l+t,i=zi(e,n,r);o!==e.l&&(a=Wi(e,o-e.l,i,r));return[i,a]}(e,u,r,s):[]}}function xa(e,t,r){if(r.biff<8)return function(e,t,r){3==e[e.l+1]&&e[e.l]++;var n=zn(e,0,r);return 3==n.charCodeAt(0)?n.slice(1):n}(e,0,r);for(var n=[],a=e.l+t,o=e.read_shift(r.biff>8?4:2);0!==o--;)n.push(oa(e,r.biff,r));if(e.l!=a)throw new Error("Bad ExternSheet: "+e.l+" != "+a);return n}function Aa(e,t,r){var n=ua(e,6);switch(r.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[n,Zi(e,t,r)]}var Ta=[];function Ba(e){var t=Vt(24),r=Qt(e[0]);t.write_shift(2,r.r),t.write_shift(2,r.r),t.write_shift(2,r.c),t.write_shift(2,r.c);for(var n="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(n[a],16));return A([t,ea(e[1])])}function Pa(e){var t=e[1].Tooltip,r=Vt(10+2*(t.length+1));r.write_shift(2,2048);var n=Qt(e[0]);r.write_shift(2,n.r),r.write_shift(2,n.r),r.write_shift(2,n.c),r.write_shift(2,n.c);for(var a=0;a=12?4:2,a=e.read_shift(n),o=e.read_shift(n),i=e.read_shift(n),s=e.read_shift(n),c=e.read_shift(2);2==n&&(e.l+=2);var l={s:a,e:o,w:i,ixfe:s,flags:c};return(r.biff>=5||!r.biff)&&(l.level=c>>8&7),l}Ta[8]=function(e,t){var r=e.l+t;e.l+=10;var n=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=r,{fmt:n}};var Ra=na,Ia=Hn,Na=Kn,Fa=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=W({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 r(t,r){var n=r||{};return n.dateNF||(n.dateNF="yyyymmdd"),cr(function(t,r){var n=[],a=C(1);switch(r.type){case"base64":a=_(b.decode(t));break;case"binary":a=_(t);break;case"buffer":case"array":a=t}Lt(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=r.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,n[++v]=[],y=0,y=0;y!=d.length;++y){var w=a.slice(a.l,a.l+d[y].len);a.l+=d[y].len,Lt(w,0);var E=cptable.utils.decode(h,w);switch(d[y].type){case"C":E.trim().length&&(n[v][y]=E.replace(/\s+$/,""));break;case"D":8===E.length?n[v][y]=new Date(+E.slice(0,4),+E.slice(4,6)-1,+E.slice(6,8)):n[v][y]=E;break;case"F":n[v][y]=parseFloat(E.trim());break;case"+":case"I":n[v][y]=c?2147483648^w.read_shift(-4,"i"):w.read_shift(4,"i");break;case"L":switch(E.trim().toUpperCase()){case"Y":case"T":n[v][y]=!0;break;case"N":case"F":n[v][y]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+E+"|")}break;case"M":if(!i)throw new Error("DBF Unexpected MEMO for type "+o.toString(16));n[v][y]="##MEMO##"+(c?parseInt(E.trim(),10):w.read_shift(4));break;case"N":(E=E.replace(/\u0000/g,"").trim())&&"."!=E&&(n[v][y]=+E||0);break;case"@":n[v][y]=new Date(w.read_shift(-8,"f")-621356832e5);break;case"T":n[v][y]=new Date(864e5*(w.read_shift(4)-2440588)+w.read_shift(4));break;case"Y":n[v][y]=w.read_shift(4,"i")/1e4;break;case"O":n[v][y]=-w.read_shift(-8,"f");break;case"B":if(s&&8==d[y].len){n[v][y]=w.read_shift(8,"f");break}case"G":case"P":w.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=Wt(),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("+V(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),r=function(t,r){var n=e[r];return"number"==typeof n?v(n):n},n=function(e,t,r){var n=t.charCodeAt(0)-32<<4|r.charCodeAt(0)-48;return 59==n?e:v(n)};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,E=i[l].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,n).replace(t,r),C=E.replace(/;;/g,"\0").split(";").map((function(e){return e.replace(/\u0000/g,";")})),S=C[0];if(E.length>0)switch(S){case"ID":case"E":case"B":case"O":case"W":break;case"P":"P"==C[1].charAt(0)&&d.push(E.slice(3).replace(/;;/g,";"));break;case"C":var _=!1,O=!1,k=!1,x=!1,A=-1,T=-1;for(u=1;u-1&&f[A][T];if(!D||!D[1])throw new Error("SYLK shared formula cannot find base");f[s][c][1]=di(D[1],{r:s-A,c:c-T})}break;case"F":var R=0;for(u=1;u0?(g[s].hpt=y,g[s].hpx=ko(y)):0===y&&(g[s].hidden=!0);break;default:if(a&&a.WTF)throw new Error("SYLK bad record "+E)}R<1&&(p=null);break;default:if(a&&a.WTF)throw new Error("SYLK bad record "+E)}}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 r=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"):k(e),t);case"array":return o(re(e),t)}throw new Error("Unrecognized type "+t.type)}(e,t),n=r[0],i=r[1],s=cr(n,t);return V(i).forEach((function(e){s[e]=i[e]})),s}function s(e,t,r,n){var a="C;Y"+(r+1)+";X"+(n+1)+";K";switch(e.t){case"n":a+=e.v||0,e.f&&!e.F&&(a+=";E"+hi(e.f,{r:r,c:n}));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 ir(i(e,t),t)},to_sheet:i,from_sheet:function(e,t){var r,n,a=["ID;PWXL;N;E"],o=[],i=nr(e["!ref"]),c=Array.isArray(e),l="\r\n";a.push("P;PGeneral"),a.push("F;P0;DG0G8;M255"),e["!cols"]&&(n=a,e["!cols"].forEach((function(e,t){var r="F;W"+(t+1)+" "+(t+1)+" ";e.hidden?r+="0":("number"!=typeof e.width||e.wpx||(e.wpx=yo(e.width)),"number"!=typeof e.wpx||e.wch||(e.wch=wo(e.wpx)),"number"==typeof e.wch&&(r+=Math.round(e.wch)))," "!=r.charAt(r.length-1)&&n.push(r)}))),e["!rows"]&&function(e,t){t.forEach((function(t,r){var n="F;";t.hidden?n+="M0;":t.hpt?n+="M"+20*t.hpt+";":t.hpx&&(n+="M"+20*Oo(t.hpx)+";"),n.length>2&&e.push(n+"R"+(r+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=er({r:u,c:f});(r=c?(e[u]||[])[f]:e[h])&&(null!=r.v||r.f&&!r.F)&&o.push(s(r,0,u,f))}return a.join(l)+l+o.join(l)+l+"E"+l}}}(),ja=function(){function e(e,t){for(var r=e.split("\n"),n=-1,a=-1,o=0,i=[];o!==r.length;++o)if("BOT"!==r[o].trim()){if(!(n<0)){for(var s=r[o].trim().split(","),c=s[0],l=s[1],u=r[++o]||"";1&(u.match(/["]/g)||[]).length&&o=0?s=l:a=l}})),c>=0&&-1==s&&a>=0&&(s=a,a=-1);var l=(""+(n>=0?n:(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==n&&-1==a&&-1==o?u:l+"T"+u}(0,r.dateNF,t.match(g)||[]),a=1),r.cellDates?(n.t="d",n.v=te(t,a)):(n.t="n",n.v=G(te(t,a))),!1!==r.cellText&&(n.w=P.format(n.z,n.v instanceof Date?G(n.v):n.v)),r.cellNF||delete n.z}else n.t="s",n.v=t;else n.t="n",!1!==r.cellText&&(n.w=t),n.v=l;if("z"==n.t||(r.dense?(o[s]||(o[s]=[]),o[s][c]=n):o[er({c:c,r:s})]=n),u=f+1,m=e.charCodeAt(u),i.e.c0&&v(),o["!ref"]=rr(i),o}function i(t,r){return r&&r.PRN?r.FS||"sep="==t.slice(0,4)||t.indexOf("\t")>=0||t.indexOf(",")>=0||t.indexOf(";")>=0?o(t,r):cr(function(t,r){var n=r||{},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,n),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,n)}return n.sheetRows&&(a=a.slice(0,n.sheetRows)),a}(t,r),r):o(t,r)}function s(e,t){var r="",n="string"==t.type?[0,0,0,0]:Kl(e,t);switch(t.type){case"base64":r=b.decode(e);break;case"binary":r=e;break;case"buffer":r=65001==t.codepage?e.toString("utf8"):t.codepage&&"undefined"!==typeof cptable?cptable.utils.decode(t.codepage,e):y&&a.isBuffer(e)?e.toString("binary"):k(e);break;case"array":r=re(e);break;case"string":r=e;break;default:throw new Error("Unrecognized type "+t.type)}return 239==n[0]&&187==n[1]&&191==n[2]?r=je(r.slice(3)):"string"!=t.type&&65001==t.codepage?r=je(r):"binary"==t.type&&"undefined"!==typeof cptable&&t.codepage&&(r=cptable.utils.decode(t.codepage,cptable.utils.encode(28591,r))),"socialcalc:version:"==r.slice(0,19)?La.to_sheet("string"==t.type?r:je(r),t):i(r,t)}return{to_workbook:function(e,t){return ir(s(e,t),t)},to_sheet:s,from_sheet:function(e){for(var t,r=[],n=nr(e["!ref"]),a=Array.isArray(e),o=n.s.r;o<=n.e.r;++o){for(var i=[],s=n.s.c;s<=n.e.c;++s){var c=er({r:o,c:s});if((t=a?(e[o]||[])[s]:e[c])&&null!=t.v){for(var l=(t.w||(or(t),t.w)||"").slice(0,10);l.length<10;)l+=" ";i.push(l+(0===s?" ":""))}else i.push(" ")}r.push(i.join(""))}return r.join("\n")}}}(),Va=function(){function e(e,t,r){if(e){Lt(e,e.l||0);for(var n=r.Enum||y;e.l=16&&5==t[14]&&108===t[15])throw new Error("Unsupported Works 3 for Mac file");if(2==t[2])n.Enum=y,e(t,(function(e,t,r){switch(r){case 0:n.vers=e,e>=4096&&(n.qpro=!0);break;case 6:f=e;break;case 204:e&&(i=e);break;case 222:i=e;break;case 15:case 51:n.qpro||(e[1].v=e[1].v.slice(1));case 13:case 14:case 16:14==r&&112==(112&e[2])&&(15&e[2])>1&&(15&e[2])<15&&(e[1].z=n.dateNF||P._table[14],n.cellDates&&(e[1].t="d",e[1].v=Z(e[1].v))),n.qpro&&e[3]>s&&(a["!ref"]=rr(f),c[o]=a,l.push(o),a=n.dense?[]:{},f={s:{r:0,c:0},e:{r:0,c:0}},s=e[3],o=i||"Sheet"+(s+1),i="");var u=n.dense?(a[e[0].r]||[])[e[0].c]:a[er(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}n.dense?(a[e[0].r]||(a[e[0].r]=[]),a[e[0].r][e[0].c]=e[1]):a[er(e[0])]=e[1]}}),n);else{if(26!=t[2]&&14!=t[2])throw new Error("Unrecognized LOTUS BOF "+t[2]);n.Enum=w,14==t[2]&&(n.qpro=!0,t.l=0),e(t,(function(e,t,r){switch(r){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"]=rr(f),c[o]=a,l.push(o),a=n.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;n.dense?(a[e[0].r]||(a[e[0].r]=[]),a[e[0].r][e[0].c]=e[1]):a[er(e[0])]=e[1],f.e.c=128?95:o)}return n.write_shift(1,0),n}function o(e,t,r){var n=Vt(7);return n.write_shift(1,255),n.write_shift(2,t),n.write_shift(2,e),n.write_shift(2,r,"i"),n}function i(e,t,r){var n=Vt(13);return n.write_shift(1,255),n.write_shift(2,t),n.write_shift(2,e),n.write_shift(8,r,"f"),n}function s(e,t,r){var n=32768&t;return t=(n?e:0)+((t&=-32769)>=8192?t-16384:t),(n?"":"$")+(r?Jt(t):qt(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,r,n){var a=Vt(6+n.length);a.write_shift(2,e),a.write_shift(1,r),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 r=u(e),n=e.read_shift(4),a=e.read_shift(4),o=e.read_shift(2);if(65535==o)return 0===n&&3221225472===a?(r[1].t="e",r[1].v=15):0===n&&3489660928===a?(r[1].t="e",r[1].v=42):r[1].v=0,r;var i=32768&o;return o=(32767&o)-16446,r[1].v=(1-2*i)*(a*Math.pow(2,o+32)+n*Math.pow(2,o)),r}function p(e,t,r,n){var a=Vt(14);if(a.write_shift(2,e),a.write_shift(1,r),a.write_shift(1,t),0==n)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 n<0&&(i=1,n=-n),s=0|Math.log2(n),0==(2147483648&(c=(n/=Math.pow(2,s-31))>>>0))&&(++s,c=(n/=2)>>>0),n-=c,c|=2147483648,c>>>=0,o=(n*=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 r=u(e),n=e.read_shift(8,"f");return r[1].v=n,r}function g(e,t){return 0==e[e.l+t-1]?e.read_shift(t,"cstr"):""}function v(e,t){var r=Vt(5+e.length);r.write_shift(2,14e3),r.write_shift(2,t);for(var n=0;n127?95:a}return r[r.l++]=0,r}var y={0:{n:"BOF",f:Un},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:function(e,t,r){var n={s:{c:0,r:0},e:{c:0,r:0}};return 8==t&&r.qpro?(n.s.c=e.read_shift(1),e.l++,n.s.r=e.read_shift(2),n.e.c=e.read_shift(1),e.l++,n.e.r=e.read_shift(2),n):(n.s.c=e.read_shift(2),n.s.r=e.read_shift(2),12==t&&r.qpro&&(e.l+=2),n.e.c=e.read_shift(2),n.e.r=e.read_shift(2),12==t&&r.qpro&&(e.l+=2),65535==n.s.c&&(n.s.c=n.e.c=n.s.r=n.e.r=0),n)}},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,n){var a=r(e,0,n);return a[1].v=e.read_shift(2,"i"),a}},14:{n:"NUMBER",f:function(e,t,n){var a=r(e,0,n);return a[1].v=e.read_shift(8,"f"),a}},15:{n:"LABEL",f:n},16:{n:"FORMULA",f:function(e,t,n){var a=e.l+t,o=r(e,0,n);if(o[1].v=e.read_shift(8,"f"),n.qpro)e.l=a;else{var i=e.read_shift(2);!function(e,t){Lt(e,0);var r=[],n=0,a="",o="",i="",u="";for(;e.lr.length)return void console.error("WK1 bad formula parse 0x"+f.toString(16)+":|"+r.join("|")+"|");var m=r.slice(-n);r.length-=n,r.push(c[f][0]+"("+m.join(",")+")")}}}1==r.length?t[1].f=""+r[0]:console.error("WK1 bad formula parse |"+r.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:n},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 r=e[e.l++];r>t-1&&(r=t-1);for(var n="";n.length>1;if(1&r[1].v)switch(7&n){case 0:n=5e3*(n>>3);break;case 1:n=500*(n>>3);break;case 2:n=(n>>3)/20;break;case 3:n=(n>>3)/200;break;case 4:n=(n>>3)/2e3;break;case 5:n=(n>>3)/2e4;break;case 6:n=(n>>3)/16;break;case 7:n=(n>>3)/64}return r[1].v=n,r}},25:{n:"FORMULA19",f:function(e,t){var r=d(e);return e.l+=t-14,r}},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:function(e,t){for(var r={},n=e.l+t;e.l>6,r}},38:{n:"??"},39:{n:"NUMBER27",f:m},40:{n:"FORMULA28",f:function(e,t){var r=m(e);return e.l+=t-10,r}},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,r){if(r.qpro&&!(t<21)){var n=e.read_shift(1);e.l+=17;e.read_shift(1);return e.l+=2,[n,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 r=t||{};if(+r.codepage>=0&&h(+r.codepage),"string"==r.type)throw new Error("Cannot write WK1 to JS string");var n=Wt(),s=nr(e["!ref"]),c=Array.isArray(e),l=[];ll(n,0,function(e){var t=Vt(2);return t.write_shift(2,e),t}(1030)),ll(n,6,function(e){var t=Vt(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=qt(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(n,13,o(f,p,g.v)):ll(n,14,i(f,p,g.v));else ll(n,15,a(f,p,or(g).slice(0,239)))}return ll(n,1),n.end()},book_to_wk3:function(e,t){var r=t||{};if(+r.codepage>=0&&h(+r.codepage),"string"==r.type)throw new Error("Cannot write WK3 to JS string");var n=Wt();ll(n,0,function(e){var t=Vt(26);t.write_shift(2,4096),t.write_shift(2,4),t.write_shift(4,0);for(var r=0,n=0,a=0,o=0;o8191&&(r=8191);return t.write_shift(2,r),t.write_shift(1,a),t.write_shift(1,n),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 n=/<(?:\w+:)?r>/g,a=/<\/(?:\w+:)?r>/;return function(e){return e.replace(n,"").split(a).map(r).filter((function(e){return e.v}))}}(),Wa=function(){var e=/(\r\n|\n)/g;function t(t){var r=[[],t.v,[]];return t.v?(t.s&&function(e,t,r){var n=[];e.u&&n.push("text-decoration: underline;"),e.uval&&n.push("text-underline-style:"+e.uval+";"),e.sz&&n.push("font-size:"+e.sz+"pt;"),e.outline&&n.push("text-effect: outline;"),e.shadow&&n.push("text-shadow: auto;"),t.push(''),e.b&&(t.push(""),r.push("")),e.i&&(t.push(""),r.push("")),e.strike&&(t.push(""),r.push(""));var a=e.valign||"";"superscript"==a||"super"==a?a="sup":"subscript"==a&&(a="sub"),""!=a&&(t.push("<"+a+">"),r.push(""+a+">")),r.push("")}(t.s,r[0],r[2]),r[0].join("")+r[1].replace(e,"
")+r[2].join("")):""}return function(e){return e.map(t).join("")}}(),za=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,Ya=/<(?:\w+:)?r>/,Ga=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g;function Xa(e,t){var r=!t||t.cellHTML,n={};return e?(e.match(/^\s*<(?:\w+:)?t[^>]*>/)?(n.t=Ae(je(e.slice(e.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||"")),n.r=je(e),r&&(n.h=Ie(n.t))):e.match(Ya)&&(n.r=je(e),n.t=Ae(je((e.replace(Ga,"").match(za)||[]).join("").replace(Ee,""))),r&&(n.h=Wa(Ha(n.r)))),n):{t:""}}var Ka=/<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/,$a=/<(?:\w+:)?(?:si|sstItem)>/g,qa=/<\/(?:\w+:)?(?:si|sstItem)>/;Zr.SST="http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings";var Za=/^\s|\s$|[\t\n\r]/;function Ja(e,t){if(!t.bookSST)return"";var r=[ye];r[r.length]=Je("sst",null,{xmlns:rt.main[0],count:e.Count,uniqueCount:e.Unique});for(var n=0;n!=e.length;++n)if(null!=e[n]){var a=e[n],o="";a.r?o+=a.r:(o+=""+Pe(a.t)+""),o+="",r[r.length]=o}return r.length>2&&(r[r.length]="",r[1]=r[1].replace("/>",">")),r.join("")}var Qa=function(e,t){var r=!1;return null==t&&(r=!0,t=Vt(15+4*e.t.length)),t.write_shift(1,0),fr(e.t,t),r?t.slice(0,t.l):t};function eo(e){var t=Wt();zt(t,"BrtBeginSst",function(e,t){return t||(t=Vt(8)),t.write_shift(4,e.Count),t.write_shift(4,e.Unique),t}(e));for(var r=0;r=4&&(e.l+=t-4),r}function no(e){for(var t=e.read_shift(4),r=e.l+t-4,n={},a=e.read_shift(4),o=[];a-- >0;)o.push({t:e.read_shift(4),v:e.read_shift(0,"lpp4")});if(n.name=e.read_shift(0,"lpp4"),n.comps=o,e.l!=r)throw new Error("Bad DataSpaceMapEntry: "+e.l+" != "+r);return n}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=ro(e,4),t.U=ro(e,4),t.W=ro(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 r=e.l+t,n={};n.Flags=63&e.read_shift(4),e.l+=4,n.AlgID=e.read_shift(4);var a=!1;switch(n.AlgID){case 26126:case 26127:case 26128:a=36==n.Flags;break;case 26625:a=4==n.Flags;break;case 0:a=16==n.Flags||4==n.Flags||36==n.Flags;break;default:throw"Unrecognized encryption algorithm: "+n.AlgID}if(!a)throw new Error("Encryption Flags/AlgID mismatch");return n.AlgIDHash=e.read_shift(4),n.KeySize=e.read_shift(4),n.ProviderType=e.read_shift(4),e.l+=8,n.CSPName=e.read_shift(r-e.l>>1,"utf16le"),e.l=r,n}function io(e,t){var r={},n=e.l+t;return e.l+=4,r.Salt=e.slice(e.l,e.l+16),e.l+=16,r.Verifier=e.slice(e.l,e.l+16),e.l+=16,e.read_shift(4),r.VerifierHash=e.slice(e.l,n),e.l=n,r}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 r=e.read_shift(e.length-e.l,"utf8"),n={};return r.replace(Ee,(function(e){var r=_e(e);switch(Oe(r[0])){case"":break;case"":case"":break;case"":break;case"=0;--r)n=((0===(16384&n)?0:1)|n<<1&32767)^t[r];return 52811^n}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],r=[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],n=function(e,t){return 255&((r=e^t)/2|128*r);var r};return function(a){for(var o,i,s,c=to(a),l=function(e){for(var n=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&&(n^=r[a]),i*=2,--a;return n}(c),u=c.length,f=C(16),h=0;16!=h;++h)f[h]=0;for(1===(1&u)&&(o=l>>8,f[u]=n(e[0],o),--u,o=255&l,i=c[c.length-1],f[u]=n(i,o));u>0;)o=l>>8,f[--u]=n(c[u],o),o=255&l,f[--u]=n(c[u],o);for(u=15,s=15-c.length;s>0;)o=l>>8,f[u]=n(e[s],o),--s,o=255&l,f[--u]=n(c[u],o),--u,--s;return f}}(),ho=function(e){var t=0,r=fo(e);return function(e){var n=function(e,t,r,n,a){var o,i;for(a||(a=t),n||(n=fo(e)),o=0;o!=t.length;++o)i=t[o],i=255&((i^=n[r])>>5|i<<3),a[o]=i,++r;return[a,r,n]}("",e,t,r);return t=n[1],n[0]}};function po(e,t,r){var n=r||{};return n.Info=e.read_shift(2),e.l-=2,1===n.Info?n.Data=function(e){var t={},r=t.EncryptionVersionInfo=ro(e,4);if(1!=r.Major||1!=r.Minor)throw"unrecognized version code "+r.Major+" : "+r.Minor;return t.Salt=e.read_shift(16),t.EncryptedVerifier=e.read_shift(16),t.EncryptedVerifierHash=e.read_shift(16),t}(e):n.Data=function(e,t){var r={},n=r.EncryptionVersionInfo=ro(e,4);if(t-=4,2!=n.Minor)throw new Error("unrecognized minor version code: "+n.Minor);if(n.Major>4||n.Major<2)throw new Error("unrecognized major version code: "+n.Major);r.Flags=e.read_shift(4),t-=4;var a=e.read_shift(4);return t-=4,r.EncryptionHeader=oo(e,a),t-=a,r.EncryptionVerifier=io(e,t),r}(e,t),n}var mo=function(){function e(e,r){switch(r.type){case"base64":return t(b.decode(e),r);case"binary":return t(e,r);case"buffer":return t(y&&a.isBuffer(e)?e.toString("binary"):k(e),r);case"array":return t(re(e),r)}throw new Error("Unrecognized type "+r.type)}function t(e,t){var r=(t||{}).dense?[]:{},n=e.match(/\\trowd.*?\\row\b/g);if(!n.length)throw new Error("RTF missing table");var a={s:{c:0,r:0},e:{c:0,r:n.length-1}};return n.forEach((function(e,t){Array.isArray(r)&&(r[t]=[]);for(var n,o=/\\\w+\b/g,i=0,s=-1;n=o.exec(e);){switch(n[0]){case"\\cell":var c=e.slice(i,o.lastIndex-n[0].length);if(" "==c[0]&&(c=c.slice(1)),++s,c.length){var l={v:c,t:"s"};Array.isArray(r)?r[t][s]=l:r[er({r:t,c:s})]=l}}i=o.lastIndex}s>a.e.c&&(a.e.c=s)})),r["!ref"]=rr(a),r}return{to_workbook:function(t,r){return ir(e(t,r),r)},to_sheet:e,from_sheet:function(e){for(var t,r=["{\\rtf1\\ansi"],n=nr(e["!ref"]),a=Array.isArray(e),o=n.s.r;o<=n.e.r;++o){r.push("\\trowd\\trautofit1");for(var i=n.s.c;i<=n.e.c;++i)r.push("\\cellx"+(i+1));for(r.push("\\pard\\intbl"),i=n.s.c;i<=n.e.c;++i){var s=er({r:o,c:i});(t=a?(e[o]||[])[i]:e[s])&&(null!=t.v||t.f&&!t.F)&&(r.push(" "+(t.w||(or(t),t.w))),r.push("\\cell"))}r.push("\\pard\\intbl\\row")}return r.join("")+"}"}}}();function go(e){for(var t=0,r=1;3!=t;++t)r=256*r+(e[t]>255?255:e[t]<0?0:e[t]);return r.toString(16).toUpperCase().slice(1)}function vo(e,t){if(0===t)return e;var r=function(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255,a=Math.max(t,r,n),o=Math.min(t,r,n),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=((r-n)/i+6)%6;break;case r:c=(n-t)/i+2;break;case n:c=(t-r)/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 r[2]=t<0?r[2]*(1+t):1-(1-r[2])*(1-t),go(function(e){var t,r=e[0],n=e[1],a=e[2],o=2*n*(a<.5?a:1-a),i=a-o/2,s=[i,i,i],c=6*r;if(0!==n)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}(r))}var bo=6;function yo(e){return Math.floor((e+Math.round(128/bo)/256)*bo)}function wo(e){return Math.floor((e-5)/bo*100+.5)/100}function Eo(e){return Math.round((e*bo+5)/bo*256)/256}function Co(e){return Eo(wo(yo(e)))}function So(e){var t=Math.abs(e-Co(e)),r=bo;if(t>.005)for(bo=1;bo<15;++bo)Math.abs(e-Co(e))<=t&&(t=Math.abs(e-Co(e)),r=bo);bo=r}function _o(e){e.width?(e.wpx=yo(e.width),e.wch=wo(e.wpx),e.MDW=bo):e.wpx?(e.wch=wo(e.wpx),e.width=Eo(e.wch),e.MDW=bo):"number"==typeof e.wch&&(e.width=Eo(e.wch),e.wpx=yo(e.width),e.MDW=bo),e.customWidth&&delete e.customWidth}function Oo(e){return 96*e/96}function ko(e){return 96*e/96}var xo={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"},Ao=["numFmtId","fillId","fontId","borderId","xfId"],To=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"],Bo=function(){var e=/<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/,t=/<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/,r=/<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/,n=/<(?:\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,r){t.NumberFmt=[];for(var n=V(P._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}P.load(s,c)}break;case"":break;default:if(r.WTF)throw new Error("unrecognized "+i[0]+" in numFmts")}}}(c,l,s),(c=o.match(n))&&function(e,t,r,n){t.Fonts=[];var a={},o=!1;(e[0].match(Ee)||[]).forEach((function(e){var i=_e(e);switch(Oe(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(n&&n.WTF&&!o)throw new Error("unrecognized "+i[0]+" in fonts")}}))}(c,l,i,s),(c=o.match(r))&&function(e,t,r,n){t.Fills=[];var a={},o=!1;(e[0].match(Ee)||[]).forEach((function(e){var r=_e(e);switch(Oe(r[0])){case"":case"":break;case"":case"":a={},t.Fills.push(a);break;case"":case"":break;case"":t.Fills.push(a),a={};break;case"":r.patternType&&(a.patternType=r.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(n&&n.WTF&&!o)throw new Error("unrecognized "+r[0]+" in fills")}}))}(c,l,0,s),(c=o.match(a))&&function(e,t,r,n){t.Borders=[];var a={},o=!1;(e[0].match(Ee)||[]).forEach((function(e){var r=_e(e);switch(Oe(r[0])){case"":case"":break;case"":case"":a={},r.diagonalUp&&(a.diagonalUp=Me(r.diagonalUp)),r.diagonalDown&&(a.diagonalDown=Me(r.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(n&&n.WTF&&!o)throw new Error("unrecognized "+r[0]+" in borders")}}))}(c,l,0,s),(c=o.match(t))&&function(e,t,r){var n;t.CellXf=[];var a=!1;(e[0].match(Ee)||[]).forEach((function(e){var o=_e(e),i=0;switch(Oe(o[0])){case"":case"":case"":break;case"":for(delete(n=o)[0],i=0;i392)for(i=392;i>60;--i)if(t.NumberFmt[n.numFmtId]==t.NumberFmt[i]){n.numFmtId=i;break}t.CellXf.push(n);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=Me(o.wrapText)),n.alignment=s;break;case"":case"":case"":break;case"":a=!1;break;case"":case"":break;case"":a=!1;break;default:if(r&&r.WTF&&!a)throw new Error("unrecognized "+o[0]+" in cellXfs")}}))}(c,l,s),l):l}}(),Po=Je("styleSheet",null,{xmlns:rt.main[0],"xmlns:vt":rt.vt});function Do(e,t){var r,n=[ye,Po];return e.SSF&&null!=(r=function(e){var t=[""];return[[5,8],[23,26],[41,44],[50,392]].forEach((function(r){for(var n=r[0];n<=r[1];++n)null!=e[n]&&(t[t.length]=Je("numFmt",null,{numFmtId:n,formatCode:Pe(e[n])}))})),1===t.length?"":(t[t.length]="",t[0]=Je("numFmts",null,{count:t.length-2}).replace("/>",">"),t.join(""))}(e.SSF))&&(n[n.length]=r),n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',(r=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))&&(n[n.length]=r),n[n.length]='',n[n.length]='',n[n.length]='',n.length>2&&(n[n.length]="",n[1]=n[1].replace("/>",">")),n.join("")}function Ro(e,t,r){r||(r=Vt(6+4*t.length)),r.write_shift(2,e),fr(t,r);var n=r.length>r.l?r.slice(0,r.l):r;return null==r.l&&(r.l=r.length),n}function Io(e,t){t||(t=Vt(153)),t.write_shift(2,20*e.sz),function(e,t){t||(t=Vt(2));var r=(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,r),t.write_shift(1,0)}(e,t),t.write_shift(2,e.bold?700:400);var r=0;"superscript"==e.vertAlign?r=1:"subscript"==e.vertAlign&&(r=2),t.write_shift(2,r),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),Ir(e.color,t);var n=0;return"major"==e.scheme&&(n=1),"minor"==e.scheme&&(n=2),t.write_shift(1,n),fr(e.name,t),t.length>t.l?t.slice(0,t.l):t}Zr.STY="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles";var No=W(["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"]),Fo=Ut;function Mo(e,t){t||(t=Vt(84));var r=No[e.patternType];null==r&&(r=40),t.write_shift(4,r);var n=0;if(40!=r)for(Ir({auto:1},t),Ir({auto:1},t);n<12;++n)t.write_shift(4,0);else{for(;n<4;++n)t.write_shift(4,0);for(;n<12;++n)t.write_shift(4,0)}return t.length>t.l?t.slice(0,t.l):t}function jo(e,t,r){r||(r=Vt(16)),r.write_shift(2,t||0),r.write_shift(2,e.numFmtId||0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(1,0),r.write_shift(1,0);return r.write_shift(1,0),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(1,0),r}function Lo(e,t){return t||(t=Vt(10)),t.write_shift(1,0),t.write_shift(1,0),t.write_shift(4,0),t.write_shift(4,0),t}var Uo=Ut;function Vo(e){var t;zt(e,"BrtBeginBorders",lr(1)),zt(e,"BrtBorder",(t||(t=Vt(51)),t.write_shift(1,0),Lo(0,t),Lo(0,t),Lo(0,t),Lo(0,t),Lo(0,t),t.length>t.l?t.slice(0,t.l):t)),zt(e,"BrtEndBorders")}function Ho(e){var t,r;zt(e,"BrtBeginStyles",lr(1)),zt(e,"BrtStyle",(t={xfId:0,builtinId:0,name:"Normal"},r||(r=Vt(52)),r.write_shift(4,t.xfId),r.write_shift(2,1),r.write_shift(1,+t.builtinId),r.write_shift(1,0),Sr(t.name||"",r),r.length>r.l?r.slice(0,r.l):r)),zt(e,"BrtEndStyles")}function Wo(e){zt(e,"BrtBeginTableStyles",function(e,t,r){var n=Vt(2052);return n.write_shift(4,e),Sr(t,n),Sr(r,n),n.length>n.l?n.slice(0,n.l):n}(0,"TableStyleMedium9","PivotStyleMedium4")),zt(e,"BrtEndTableStyles")}function zo(e,t){var r=Wt();return zt(r,"BrtBeginStyleSheet"),function(e,t){if(t){var r=0;[[5,8],[23,26],[41,44],[50,392]].forEach((function(e){for(var n=e[0];n<=e[1];++n)null!=t[n]&&++r})),0!=r&&(zt(e,"BrtBeginFmts",lr(r)),[[5,8],[23,26],[41,44],[50,392]].forEach((function(r){for(var n=r[0];n<=r[1];++n)null!=t[n]&&zt(e,"BrtFmt",Ro(n,t[n]))})),zt(e,"BrtEndFmts"))}}(r,e.SSF),function(e){zt(e,"BrtBeginFonts",lr(1)),zt(e,"BrtFont",Io({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"})),zt(e,"BrtEndFonts")}(r),function(e){zt(e,"BrtBeginFills",lr(2)),zt(e,"BrtFill",Mo({patternType:"none"})),zt(e,"BrtFill",Mo({patternType:"gray125"})),zt(e,"BrtEndFills")}(r),Vo(r),function(e){zt(e,"BrtBeginCellStyleXFs",lr(1)),zt(e,"BrtXF",jo({numFmtId:0,fontId:0,fillId:0,borderId:0},65535)),zt(e,"BrtEndCellStyleXFs")}(r),function(e,t){zt(e,"BrtBeginCellXFs",lr(t.length)),t.forEach((function(t){zt(e,"BrtXF",jo(t,0))})),zt(e,"BrtEndCellXFs")}(r,t.cellXfs),Ho(r),function(e){zt(e,"BrtBeginDXFs",lr(0)),zt(e,"BrtEndDXFs")}(r),Wo(r),zt(r,"BrtEndStyleSheet"),r.end()}Zr.THEME="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme";var Yo=["","","","","","","","","","","",""];function Go(e,t,r){t.themeElements.clrScheme=[];var n={};(e[0].match(Ee)||[]).forEach((function(e){var a=_e(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])]=n,n={}):n.name=a[0].slice(3,a[0].length-1);break;default:if(r&&r.WTF)throw new Error("Unrecognized "+a[0]+" in clrScheme")}}))}function Xo(){}function Ko(){}var $o=/]*)>[\s\S]*<\/a:clrScheme>/,qo=/]*)>[\s\S]*<\/a:fontScheme>/,Zo=/]*)>[\s\S]*<\/a:fmtScheme>/,Jo=/]*)>[\s\S]*<\/a:themeElements>/;function Qo(e,t){if(!e||0===e.length)return Qo(ei());var r,n={};if(!(r=e.match(Jo)))throw new Error("themeElements not found in theme");return function(e,t,r){var n;t.themeElements={},[["clrScheme",$o,Go],["fontScheme",qo,Xo],["fmtScheme",Zo,Ko]].forEach((function(a){if(!(n=e.match(a[1])))throw new Error(a[0]+" not found in themeElements");a[2](n,t,r)}))}(r[0],n,t),n.raw=e,n}function ei(e,t){if(t&&t.themeXLSX)return t.themeXLSX;if(e&&"string"==typeof e.raw)return e.raw;var r=[ye];return r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r.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 Ut(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 ri(e){var t=e.read_shift(2),r=e.read_shift(2)-4,n=[t];switch(t){case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 13:n[1]=ti(e);break;case 6:n[1]=function(e,t){return Ut(e,t)}(e,r);break;case 14:case 15:n[1]=e.read_shift(1===r?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+t+" "+r)}return n}Zr.IMG="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",Zr.DRAW="http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing";var ni=1024;function ai(e,t){for(var r=[21600,21600],n=["m0,0l0",r[1],r[0],r[1],r[0],"0xe"].join(","),a=[Je("xml",null,{"xmlns:v":ct,"xmlns:o":nt,"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:r.join(","),path:n})];ni<1e3*e;)ni+=1e3;return t.forEach((function(e){var t=Qt(e[0]),r={color2:"#BEFF82",type:"gradient"};"gradient"==r.type&&(r.angle="-180");var n="gradient"==r.type?Je("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null,o=Je("v:fill",n,r);++ni,a=a.concat(["",o,Je("v:shadow",null,{on:"t",obscured:"t"}),Je("v:path",null,{"o:connecttype":"none"}),'','',"","",qe("x:Anchor",[t.c+1,0,t.r+1,0,t.c+3,20,t.r+5,20].join(",")),qe("x:AutoFill","False"),qe("x:Row",String(t.r)),qe("x:Column",String(t.c)),e[1].hidden?"":"","",""])})),a.push(""),a.join("")}Zr.CMNT="http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments";var oi=Je("comments",null,{xmlns:rt.main[0]});function ii(e){var t=[ye,oi],r=[];return t.push(""),e.forEach((function(e){e[1].forEach((function(e){var n=Pe(e.a);r.indexOf(n)>-1||(r.push(n),t.push(""+n+""))}))})),t.push(""),t.push(""),e.forEach((function(e){e[1].forEach((function(n){t.push(''),t.push(qe("t",null==n.t?"":Pe(n.t))),t.push("")}))})),t.push(""),t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}var si=ur;function ci(e){var t=Wt(),r=[];return zt(t,"BrtBeginComments"),zt(t,"BrtBeginCommentAuthors"),e.forEach((function(e){e[1].forEach((function(e){r.indexOf(e.a)>-1||(r.push(e.a.slice(0,54)),zt(t,"BrtCommentAuthor",function(e){return fr(e.slice(0,54))}(e.a)))}))})),zt(t,"BrtEndCommentAuthors"),zt(t,"BrtBeginCommentList"),e.forEach((function(e){e[1].forEach((function(n){n.iauthor=r.indexOf(n.a);var a={s:Qt(e[0]),e:Qt(e[0])};zt(t,"BrtBeginComment",function(e,t){return null==t&&(t=Vt(36)),t.write_shift(4,e[1].iauthor),Pr(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,n])),n.t&&n.t.length>0&&zt(t,"BrtCommentText",mr(n)),zt(t,"BrtEndComment"),delete n.iauthor}))})),zt(t,"BrtEndCommentList"),zt(t,"BrtEndComments"),t.end()}var li=["xlsb","xlsm","xlam","biff8","xla"];Zr.DS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",Zr.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 r(e,r,n,a){var o=!1,i=!1;0==n.length?i=!0:"["==n.charAt(0)&&(i=!0,n=n.slice(1,-1)),0==a.length?o=!0:"["==a.charAt(0)&&(o=!0,a=a.slice(1,-1));var s=n.length>0?0|parseInt(n,10):0,c=a.length>0?0|parseInt(a,10):0;return o?c+=t.c:--c,i?s+=t.r:--s,r+(o?"":"$")+Jt(c)+(i?"":"$")+qt(s)}return function(n,a){return t=a,n.replace(e,r)}}(),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,r,n,a,o,i){var s=Zt(a)-(n?0:t.c),c=$t(i)-(o?0:t.r);return r+"R"+(0==c?"":o?c+1:"["+c+"]")+"C"+(0==s?"":n?s+1:"["+s+"]")}))};function di(e,t){return e.replace(fi,(function(e,r,n,a,o,i){return r+("$"==n?n+a:Jt(Zt(a)+t.c))+("$"==o?o+i:qt($t(i)+t.r))}))}function pi(e,t,r){var n=tr(t).s,a=Qt(r);return di(e,{r:a.r-n.r,c:a.c-n.c})}function mi(e){return e.replace(/_xlfn\./g,"")}function gi(e){e.l+=1}function vi(e,t){var r=e.read_shift(1==t?1:2);return[16383&r,r>>14&1,r>>15&1]}function bi(e,t,r){var n=2;if(r){if(r.biff>=2&&r.biff<=5)return yi(e);12==r.biff&&(n=4)}var a=e.read_shift(n),o=e.read_shift(n),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),r=vi(e,2),n=e.read_shift(1),a=e.read_shift(1);return{s:{r:t[0],c:n,cRel:t[1],rRel:t[2]},e:{r:r[0],c:a,cRel:r[1],rRel:r[2]}}}function wi(e,t,r){if(r&&r.biff>=2&&r.biff<=5)return function(e){var t=vi(e,2),r=e.read_shift(1);return{r:t[0],c:r,cRel:t[1],rRel:t[2]}}(e);var n=e.read_shift(r&&12==r.biff?4:2),a=vi(e,2);return{r:n,c:a[0],cRel:a[1],rRel:a[2]}}function Ei(e){var t=e.read_shift(2),r=e.read_shift(2);return{r:t,c:255&r,fQuoted:!!(16384&r),cRel:r>>15,rRel:r>>15}}function Ci(e){return[e.read_shift(1),e.read_shift(1)]}function Si(e,t){var r=[e.read_shift(1)];if(12==t)switch(r[0]){case 2:r[0]=4;break;case 4:r[0]=16;break;case 0:r[0]=1;break;case 1:r[0]=2}switch(r[0]){case 4:r[1]=jn(e,1)?"TRUE":"FALSE",12!=t&&(e.l+=7);break;case 37:case 16:r[1]=zr[e[e.l]],e.l+=12==t?4:8;break;case 0:e.l+=8;break;case 1:r[1]=Dr(e);break;case 2:r[1]=$n(e,0,{biff:t>0&&t<8?2:t});break;default:throw new Error("Bad SerAr: "+r[0])}return r}function _i(e,t,r){for(var n=e.read_shift(12==r.biff?4:2),a=[],o=0;o!=n;++o)a.push((12==r.biff?Br:sa)(e,8));return a}function Oi(e,t,r){var n=0,a=0;12==r.biff?(n=e.read_shift(4),a=e.read_shift(4)):(a=1+e.read_shift(1),n=1+e.read_shift(2)),r.biff>=2&&r.biff<8&&(--n,0==--a&&(a=256));for(var o=0,i=[];o!=n&&(i[o]=[]);++o)for(var s=0;s!=a;++s)i[o][s]=Si(e,r.biff);return i}function ki(e,t,r){return e.l+=2,[Ei(e)]}function xi(e){return e.l+=6,[]}var Ai=ki,Ti=xi,Bi=xi,Pi=ki;function Di(e){return e.l+=2,[Un(e),1&e.read_shift(2)]}var Ri=ki,Ii=Di,Ni=xi,Fi=ki,Mi=ki,ji=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"],Li={1:{n:"PtgExp",f:function(e,t,r){return e.l++,r&&12==r.biff?[e.read_shift(4,"i"),0]:[e.read_shift(2),e.read_shift(r&&2==r.biff?1:2)]}},2:{n:"PtgTbl",f:Ut},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,r){return e.l++,zn(e,0,r)}},26:{n:"PtgSheet",f:function(e,t,r){return e.l+=5,e.l+=2,e.l+=2==r.biff?1:4,["PTGSHEET"]}},27:{n:"PtgEndSheet",f:function(e,t,r){return e.l+=2==r.biff?4:5,["PTGENDSHEET"]}},28:{n:"PtgErr",f:function(e){return e.l++,zr[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++,Dr(e)}},32:{n:"PtgArray",f:function(e,t,r){var n=(96&e[e.l++])>>5;return e.l+=2==r.biff?6:12==r.biff?14:7,[n]}},33:{n:"PtgFunc",f:function(e,t,r){var n=(96&e[e.l])>>5;e.l+=1;var a=e.read_shift(r&&r.biff<=3?1:2);return[cs[a],ss[a],n]}},34:{n:"PtgFuncVar",f:function(e,t,r){var n=e[e.l++],a=e.read_shift(1),o=r&&r.biff<=3?[88==n?-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,r){var n=e.read_shift(1)>>>5&3,a=!r||r.biff>=8?4:2,o=e.read_shift(a);switch(r.biff){case 2:e.l+=5;break;case 3:case 4:e.l+=8;break;case 5:e.l+=12}return[n,0,o]}},36:{n:"PtgRef",f:function(e,t,r){var n=(96&e[e.l])>>5;return e.l+=1,[n,wi(e,0,r)]}},37:{n:"PtgArea",f:function(e,t,r){return[(96&e[e.l++])>>5,bi(e,r.biff>=2&&r.biff,r)]}},38:{n:"PtgMemArea",f:function(e,t,r){var n=e.read_shift(1)>>>5&3;return e.l+=r&&2==r.biff?3:4,[n,e.read_shift(r&&2==r.biff?1:2)]}},39:{n:"PtgMemErr",f:Ut},40:{n:"PtgMemNoMem",f:Ut},41:{n:"PtgMemFunc",f:function(e,t,r){return[e.read_shift(1)>>>5&3,e.read_shift(r&&2==r.biff?1:2)]}},42:{n:"PtgRefErr",f:function(e,t,r){var n=e.read_shift(1)>>>5&3;return e.l+=4,r.biff<8&&e.l--,12==r.biff&&(e.l+=2),[n]}},43:{n:"PtgAreaErr",f:function(e,t,r){var n=(96&e[e.l++])>>5;return e.l+=r&&r.biff>8?12:r.biff<8?6:8,[n]}},44:{n:"PtgRefN",f:function(e,t,r){var n=(96&e[e.l])>>5;return e.l+=1,[n,function(e,t,r){var n=r&&r.biff?r.biff:8;if(n>=2&&n<=5)return function(e){var t=e.read_shift(2),r=e.read_shift(1),n=(32768&t)>>15,a=(16384&t)>>14;t&=16383,1==n&&t>=8192&&(t-=16384);1==a&&r>=128&&(r-=256);return{r:t,c:r,cRel:a,rRel:n}}(e);var a=e.read_shift(n>=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,r)]}},45:{n:"PtgAreaN",f:function(e,t,r){return[(96&e[e.l++])>>5,function(e,t,r){if(r.biff<8)return yi(e);var n=e.read_shift(12==r.biff?4:2),a=e.read_shift(12==r.biff?4:2),o=vi(e,2),i=vi(e,2);return{s:{r:n,c:o[0],cRel:o[1],rRel:o[2]},e:{r:a,c:i[0],cRel:i[1],rRel:i[2]}}}(e,0,r)]}},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,r){return 5==r.biff?function(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2,"i");e.l+=8;var n=e.read_shift(2);return e.l+=12,[t,r,n]}(e):[e.read_shift(1)>>>5&3,e.read_shift(2),e.read_shift(4)]}},58:{n:"PtgRef3d",f:function(e,t,r){var n=(96&e[e.l])>>5;e.l+=1;var a=e.read_shift(2);return r&&5==r.biff&&(e.l+=12),[n,a,wi(e,0,r)]}},59:{n:"PtgArea3d",f:function(e,t,r){var n=(96&e[e.l++])>>5,a=e.read_shift(2,"i");if(r)switch(r.biff){case 5:e.l+=12,6;break;case 12:12}return[n,a,bi(e,0,r)]}},60:{n:"PtgRefErr3d",f:function(e,t,r){var n=(96&e[e.l++])>>5,a=e.read_shift(2),o=4;if(r)switch(r.biff){case 5:o=15;break;case 12:o=6}return e.l+=o,[n,a]}},61:{n:"PtgAreaErr3d",f:function(e,t,r){var n=(96&e[e.l++])>>5,a=e.read_shift(2),o=8;if(r)switch(r.biff){case 5:e.l+=12,o=6;break;case 12:o=12}return e.l+=o,[n,a]}},255:{}},Ui={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 Ui)Li[e]=Li[Ui[e]]}();var Vi={1:{n:"PtgElfLel",f:Di},2:{n:"PtgElfRw",f:Fi},3:{n:"PtgElfCol",f:Ai},6:{n:"PtgElfRwV",f:Mi},7:{n:"PtgElfColV",f:Pi},10:{n:"PtgElfRadical",f:Ri},11:{n:"PtgElfRadicalS",f:Ni},13:{n:"PtgElfColS",f:Ti},15:{n:"PtgElfColSV",f:Bi},16:{n:"PtgElfRadicalLel",f:Ii},25:{n:"PtgList",f:function(e){e.l+=2;var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(4),a=e.read_shift(2),o=e.read_shift(2);return{ixti:t,coltype:3&r,rt:ji[r>>2&31],idx:n,c:a,C:o}}},29:{n:"PtgSxName",f:function(e){return e.l+=2,[e.read_shift(4)]}},255:{}},Hi={0:{n:"PtgAttrNoop",f:function(e){return e.l+=4,[0,0]}},1:{n:"PtgAttrSemi",f:function(e,t,r){var n=255&e[e.l+1]?1:0;return e.l+=r&&2==r.biff?3:4,[n]}},2:{n:"PtgAttrIf",f:function(e,t,r){var n=255&e[e.l+1]?1:0;return e.l+=2,[n,e.read_shift(r&&2==r.biff?1:2)]}},4:{n:"PtgAttrChoose",f:function(e,t,r){e.l+=2;for(var n=e.read_shift(r&&2==r.biff?1:2),a=[],o=0;o<=n;++o)a.push(e.read_shift(r&&2==r.biff?1:2));return a}},8:{n:"PtgAttrGoto",f:function(e,t,r){var n=255&e[e.l+1]?1:0;return e.l+=2,[n,e.read_shift(r&&2==r.biff?1:2)]}},16:{n:"PtgAttrSum",f:function(e,t,r){e.l+=r&&2==r.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),Ci(e)}},65:{n:"PtgAttrSpaceSemi",f:function(e){return e.read_shift(2),Ci(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 Wi(e,t,r,n){if(n.biff<8)return Ut(e,t);for(var a=e.l+t,o=[],i=0;i!==r.length;++i)switch(r[i][0]){case"PtgArray":r[i][1]=Oi(e,0,n),o.push(r[i][1]);break;case"PtgMemArea":r[i][2]=_i(e,r[i][1],n),o.push(r[i][2]);break;case"PtgExp":n&&12==n.biff&&(r[i][1][1]=e.read_shift(4),o.push(r[i][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+r[i][0]}return 0!==(t=a-e.l)&&o.push(Ut(e,t)),o}function zi(e,t,r){for(var n,a,o=e.l+t,i=[];o!=e.l;)t=o-e.l,a=e[e.l],n=Li[a],24!==a&&25!==a||(n=(24===a?Vi:Hi)[e[e.l+1]]),n&&n.f?i.push([n.n,n.f(e,t,r)]):Ut(e,t);return i}function Yi(e){for(var t=[],r=0;r=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"},Xi=new RegExp(/[^\w\u4E00-\u9FFF\u3040-\u30FF]/);function Ki(e,t,r){if(!e)return"SH33TJSERR0";if(r.biff>8&&(!e.XTI||!e.XTI[t]))return e.SheetNames[t];if(!e.XTI)return"SH33TJSERR6";var n=e.XTI[t];if(r.biff<8)return t>1e4&&(t-=65536),t<0&&(t=-t),0==t?"":e.XTI[t-1];if(!n)return"SH33TJSERR1";var a="";if(r.biff>8)switch(e[n[0]][0]){case 357:return a=-1==n[1]?"#REF":e.SheetNames[n[1]],n[1]==n[2]?a:a+":"+e.SheetNames[n[2]];case 358:return null!=r.SID?e.SheetNames[r.SID]:"SH33TJSSAME"+e[n[0]][0];case 355:default:return"SH33TJSSRC"+e[n[0]][0]}switch(e[n[0]][0][0]){case 1025:return a=-1==n[1]?"#REF":e.SheetNames[n[1]]||"SH33TJSERR3",n[1]==n[2]?a:a+":"+e.SheetNames[n[2]];case 14849:return e[n[0]].slice(1).map((function(e){return e.Name})).join(";;");default:return e[n[0]][0][3]?(a=-1==n[1]?"#REF":e[n[0]][0][3][n[1]]||"SH33TJSERR4",n[1]==n[2]?a:a+":"+e[n[0]][0][3][n[2]]):"SH33TJSERR2"}}function $i(e,t,r){var n=Ki(e,t,r);return"#REF"==n?n:function(e,t){if(!e&&!(t&&t.biff<=5&&t.biff>=2))throw new Error("empty sheet name");return Xi.test(e)?"'"+e+"'":e}(n,r)}function qi(e,t,r,n,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+Gi[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(Xt(s,l));break;case"PtgRefN":s=r?Yt(y[1][1],r,a):y[1][1],f.push(Xt(s,l));break;case"PtgRef3d":h=y[1][1],s=Yt(y[1][2],u,a);p=$i(n,h,a);f.push(p+"!"+Xt(s,l));break;case"PtgFunc":case"PtgFuncVar":var w=y[1][0],E=y[1][1];w||(w=0);var C=0==(w&=127)?[]:f.slice(-w);f.length-=w,"User"===E&&(E=C.shift()),f.push(E+"("+C.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=Gt(y[1][1],r?{s:r}:u,a),f.push(Kt(c,a));break;case"PtgArea":c=Gt(y[1][1],u,a),f.push(Kt(c,a));break;case"PtgArea3d":h=y[1][1],c=y[1][2],p=$i(n,h,a),f.push(p+"!"+Kt(c,a));break;case"PtgAttrSum":f.push("SUM("+f.pop()+")");break;case"PtgAttrBaxcel":case"PtgAttrSemi":break;case"PtgName":d=y[1][2];var S=(n.names||[])[d-1]||(n[0]||[])[d],_=S?S.Name:"SH33TJSNAME"+String(d);_ in ls&&(_=ls[_]),f.push(_);break;case"PtgNameX":var O,k=y[1][1];if(d=y[1][2],!(a.biff<=5)){var x="";if(14849==((n[k]||[])[0]||[])[0]||(1025==((n[k]||[])[0]||[])[0]?n[k][d]&&n[k][d].itab>0&&(x=n.SheetNames[n[k][d].itab-1]+"!"):x=n.SheetNames[d-1]+"!"),n[k]&&n[k][d])x+=n[k][d].Name;else if(n[0]&&n[0][d])x+=n[0][d].Name;else{var A=(Ki(n,k,a)||"").split(";;");A[d-1]?x=A[d-1]:x+="SH33TJSERRX"}f.push(x);break}k<0&&(k=-k),n[k]&&(O=n[k][d]),O||(O={Name:"SH33TJSERRY"}),f.push(O.Name);break;case"PtgParen":var T="(",B=")";if(m>=0){switch(g="",e[0][m][1][0]){case 2:T=ae(" ",e[0][m][1][1])+T;break;case 3:T=ae("\r",e[0][m][1][1])+T;break;case 4:B=ae(" ",e[0][m][1][1])+B;break;case 5:B=ae("\r",e[0][m][1][1])+B;break;default:if(a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][m][1][0])}m=-1}f.push(T+f.pop()+B);break;case"PtgRefErr":case"PtgRefErr3d":f.push("#REF!");break;case"PtgExp":s={c:y[1][1],r:y[1][0]};var P={c:r.c,r:r.r};if(n.sharedf[er(s)]){var D=n.sharedf[er(s)];f.push(qi(D,u,P,n,a))}else{var R=!1;for(o=0;o!=n.arrayf.length;++o)if(i=n.arrayf[o],!(s.ci[0].e.c)&&!(s.ri[0].e.r)){f.push(qi(i[1],u,P,n,a)),R=!0;break}R||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 Zi(e,t,r){var n,a=e.l+t,o=2==r.biff?1:2,i=e.read_shift(o);if(65535==i)return[[],Ut(e,t-2)];var s=zi(e,i,r);return t!==i+o&&(n=Wi(e,t-i-o,s,r)),e.l=a,[s,n]}function Ji(e,t,r){var n,a=e.l+t,o=e.read_shift(2),i=zi(e,o,r);return 65535==o?[[],Ut(e,t-2)]:(t!==o+2&&(n=Wi(e,a-o-2,i,r)),[i,n])}function Qi(e,t,r){var n=e.l+t,a=na(e);2==r.biff&&++e.l;var o=function(e){var t;if(65535!==Bt(e,e.l+6))return[Dr(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!=r.biff&&(e.read_shift(1),r.biff>=5&&e.read_shift(4));var s=function(e,t,r){var n,a=e.l+t,o=2==r.biff?1:2,i=e.read_shift(o);if(65535==i)return[[],Ut(e,t-2)];var s=zi(e,i,r);return t!==i+o&&(n=Wi(e,t-i-o,s,r)),e.l=a,[s,n]}(e,n-e.l,r);return{cell:a,val:o[0],formula:s,shared:i>>3&1,tt:o[1]}}function es(e,t,r,n,a){var o=aa(t,r,a),i=function(e){if(null==e){var t=Vt(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 Rr("number"==typeof e?e:0)}(e.v),s=Vt(6);s.write_shift(2,33),s.write_shift(4,0);for(var c=Vt(e.bf.length),l=0;l0?Wi(e,o,a,r):null]}var rs=ts,ns=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={};Zr.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,r){var n=0,a=e.length;if(r){if(ps?r.has(t):Object.prototype.hasOwnProperty.call(r,t))for(var o=ps?r.get(t):r[t];n-1?(r.width=Eo(n),r.customWidth=1):null!=t.width&&(r.width=t.width),t.hidden&&(r.hidden=!0),null!=t.level&&(r.outlineLevel=r.level=t.level),r}function vs(e,t){if(e){var r=[.7,.7,.75,.75,.3,.3];"xlml"==t&&(r=[1,1,1,1,.5,.5]),null==e.left&&(e.left=r[0]),null==e.right&&(e.right=r[1]),null==e.top&&(e.top=r[2]),null==e.bottom&&(e.bottom=r[3]),null==e.header&&(e.header=r[4]),null==e.footer&&(e.footer=r[5])}}function bs(e,t,r){var n=r.revssf[null!=t.z?t.z:"General"],a=60,o=e.length;if(null==n&&r.ssf)for(;a<392;++a)if(null==r.ssf[a]){P.load(t.z,a),r.ssf[a]=t.z,r.revssf[t.z]=n=a;break}for(a=0;a!=o;++a)if(e[a].numFmtId===n)return a;return e[o]={numFmtId:n,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},o}function ys(e,t,r,n,a,o){try{n.cellNF&&(e.z=P._table[t])}catch(pu){if(n.WTF)throw pu}if("z"!==e.t||n.cellStyles){if("d"===e.t&&"string"===typeof e.v&&(e.v=te(e.v)),(!n||!1!==n.cellText)&&"z"!==e.t)try{if(null==P._table[t]&&P.load(N[t]||"General",t),"e"===e.t)e.w=e.w||zr[e.v];else if(0===t)if("n"===e.t)(0|e.v)===e.v?e.w=P._general_int(e.v):e.w=P._general_num(e.v);else if("d"===e.t){var i=G(e.v);e.w=(0|i)===i?P._general_int(i):P._general_num(i)}else{if(void 0===e.v)return"";e.w=P._general(e.v,ds)}else"d"===e.t?e.w=P.format(t,G(e.v),ds):e.w=P.format(t,e.v,ds)}catch(pu){if(n.WTF)throw pu}if(n.cellStyles&&null!=r)try{e.s=o.Fills[r],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),n.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),n.WTF&&(e.s.bgColor.raw_rgb=a.themeElements.clrScheme[e.s.bgColor.theme].rgb))}catch(pu){if(n.WTF&&o.Fills)throw pu}}}function ws(e,t,r){if(e&&e["!ref"]){var n=nr(e["!ref"]);if(n.e.c/g,Cs=/<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/,Ss=/<(?:\w:)?hyperlink [^>]*>/gm,_s=/"(\w*:\w*)"/,Os=/<(?:\w:)?col\b[^>]*[\/]?>/g,ks=/<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g,xs=/<(?:\w:)?pageMargins[^>]*\/>/g,As=/<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/,Ts=/<(?:\w:)?sheetPr[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetPr)>/,Bs=/<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/;function Ps(e,t,r,n,a,o,i){if(!e)return e;n||(n={"!id":{}});var s=t.dense?[]:{},c={s:{r:2e6,c:2e6},e:{r:0,c:0}},l="",u="",f=e.match(Cs);f?(l=e.slice(0,f.index),u=e.slice(f.index+f[0].length)):l=u=e;var h=l.match(As);h?Ds(h[0],s,a,r):(h=l.match(Ts))&&function(e,t,r,n,a,o,i){Ds(e.slice(0,e.indexOf(">")),r,n,a)}(h[0],h[1],s,a,r);var d=(l.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(d>0){var p=l.slice(d,d+50).match(_s);p&&function(e,t){var r=nr(t);r.s.r<=r.e.r&&r.s.c<=r.e.c&&r.s.r>=0&&r.s.c>=0&&(e["!ref"]=rr(r))}(s,p[1])}var m=l.match(Bs);m&&m[1]&&function(e,t){t.Views||(t.Views=[{}]);(e.match(Ns)||[]).forEach((function(e,r){var n=_e(e);t.Views[r]||(t.Views[r]={}),+n.zoomScale&&(t.Views[r].zoom=+n.zoomScale),Me(n.rightToLeft)&&(t.Views[r].RTL=!0)}))}(m[1],a);var g=[];if(t.cellStyles){var v=l.match(Os);v&&function(e,t){for(var r=!1,n=0;n!=t.length;++n){var a=_e(t[n],!0);a.hidden&&(a.hidden=Me(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,!r&&a.width&&(r=!0,So(a.width)),_o(a);o<=i;)e[o++]=ne(a)}}(g,v)}f&&Ms(f[1],s,t,c,o,i);var b=u.match(ks);b&&(s["!autofilter"]=function(e){return{ref:(e.match(/ref="([^"]*)"/)||[])[1]}}(b[0]));var y=[],w=u.match(Es);if(w)for(d=0;d!=w.length;++d)y[d]=nr(w[d].slice(w[d].indexOf('"')+1));var E=u.match(Ss);E&&function(e,t,r){for(var n=Array.isArray(e),a=0;a!=t.length;++a){var o=_e(je(t[a]),!0);if(!o.ref)return;var i=((r||{})["!id"]||[])[o.id];i?(o.Target=i.Target,o.location&&(o.Target+="#"+Ae(o.location))):(o.Target="#"+Ae(o.location),i={Target:o.Target,TargetMode:"Internal"}),o.Rel=i,o.tooltip&&(o.Tooltip=o.tooltip,delete o.tooltip);for(var s=nr(o.ref),c=s.s.r;c<=s.e.r;++c)for(var l=s.s.c;l<=s.e.c;++l){var u=er({c:l,r:c});n?(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,E,n);var C=u.match(xs);if(C&&(s["!margins"]=function(e){var t={};return["left","right","top","bottom","header","footer"].forEach((function(r){e[r]&&(t[r]=parseFloat(e[r]))})),t}(_e(C[0]))),!s["!ref"]&&c.e.c>=c.s.c&&c.e.r>=c.s.r&&(s["!ref"]=rr(c)),t.sheetRows>0&&s["!ref"]){var S=nr(s["!ref"]);t.sheetRows<=+S.e.r&&(S.e.r=t.sheetRows-1,S.e.r>c.e.r&&(S.e.r=c.e.r),S.e.rc.e.c&&(S.e.c=c.e.c),S.e.c0&&(s["!cols"]=g),y.length>0&&(s["!merges"]=y),s}function Ds(e,t,r,n){var a=_e(e);r.Sheets[n]||(r.Sheets[n]={}),a.codeName&&(r.Sheets[n].CodeName=Ae(je(a.codeName)))}var Rs=["objects","scenarios","selectLockedCells","selectUnlockedCells"],Is=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"],Ns=/<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/?>/;function Fs(e,t,r,n){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=zr[e.v];break;case"d":n&&n.cellDates?a=te(e.v,-1).toISOString():((e=ne(e)).t="n",a=""+(e.v=G(te(e.v)))),"undefined"===typeof e.z&&(e.z=P._table[14]);break;default:a=e.v}var s=qe("v",Pe(a)),c={r:t},l=bs(n.cellXfs,e,n);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(n&&n.bookSST){s=qe("v",""+ms(n.Strings,e.v,n.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",Pe(e.f),u)+(null!=e.v?s:"")}return e.l&&r["!links"].push([t,e.l]),e.c&&r["!comments"].push([t,e.c]),Je("c",s,c)}var Ms=function(){var e=/<(?:\w+:)?c[ \/>]/,t=/<\/(?:\w+:)?row>/,r=/r=["']([^"']*)["']/,n=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/,a=/ref=["']([^"']*)["']/,o=We("v"),i=We("f");return function(s,c,l,u,f,h){for(var d,p,m,g,v,b=0,y="",w=[],E=[],C=0,S=0,_=0,O="",k=0,x=0,A=0,T=0,B=Array.isArray(h.CellXf),D=[],R=[],I=Array.isArray(c),N=[],F={},M=!1,j=!!l.sheetStubs,L=s.split(t),U=0,V=L.length;U!=V;++U){var H=(y=L[U].trim()).length;if(0!==H){var W=0;e:for(b=0;b":if("/"!=y[b-1]){++b;break e}if(l&&l.cellStyles){if(k=null!=(p=_e(y.slice(W,b),!0)).r?parseInt(p.r,10):k+1,x=-1,l.sheetRows&&l.sheetRows=b)break;if(k=null!=(p=_e(y.slice(W,b),!0)).r?parseInt(p.r,10):k+1,x=-1,!(l.sheetRows&&l.sheetRowsk-1&&(u.s.r=k-1),u.e.r":"")+y,null!=E&&2===E.length){for(C=0,O=E[1],S=0;S!=O.length&&!((_=O.charCodeAt(S)-64)<1||_>26);++S)C=26*C+_;x=--C}else++x;for(S=0;S!=y.length&&62!==y.charCodeAt(S);++S);if(++S,(p=_e(y.slice(0,S),!0)).r||(p.r=er({r:k-1,c:x})),d={t:""},null!=(E=(O=y.slice(S)).match(o))&&""!==E[1]&&(d.v=Ae(E[1])),l.cellFormula){if(null!=(E=O.match(i))&&""!==E[1]){if(d.f=Ae(je(E[1])).replace(/\r\n/g,"\n"),l.xlfn||(d.f=mi(d.f)),E[0].indexOf('t="array"')>-1)d.F=(O.match(a)||[])[1],d.F.indexOf(":")>-1&&D.push([nr(d.F),d.F]);else if(E[0].indexOf('t="shared"')>-1){g=_e(E[0]);var Y=Ae(je(E[1]));l.xlfn||(Y=mi(Y)),R[parseInt(g.si,10)]=[g,Y,p.r]}}else(E=O.match(/]*\/>/))&&R[(g=_e(E[0])).si]&&(d.f=pi(R[g.si][1],R[g.si][2],p.r));var X=Qt(p.r);for(S=0;S=D[S][0].s.r&&X.r<=D[S][0].e.r&&X.c>=D[S][0].s.c&&X.c<=D[S][0].e.c&&(d.F=D[S][1])}if(null==p.t&&void 0===d.v)if(d.f||d.F)d.v=0,d.t="n";else{if(!j)continue;d.t="z"}else d.t=p.t||"n";switch(u.s.c>x&&(u.s.c=x),u.e.c0&&(c["!rows"]=N)}}(),js=Je("worksheet",null,{xmlns:rt.main[0],"xmlns:r":rt.r});function Ls(e,t,r,n){var a,o=[ye,js],i=r.SheetNames[e],s="",c=r.Sheets[i];null==c&&(c={});var l=c["!ref"]||"A1",u=nr(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=rr(u)}n||(n={}),c["!comments"]=[];var f=[];!function(e,t,r,n,a){var o=!1,i={},s=null;if("xlsx"!==n.bookType&&t.vbaraw){var c=t.SheetNames[r];try{t.Workbook&&(c=t.Workbook.Sheets[r].CodeName||c)}catch(pu){}o=!0,i.codeName=Le(Pe(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,r,e,t,o),o[o.length]=Je("dimension",null,{ref:l}),o[o.length]=function(e,t,r,n){var a={workbookViewId:"0"};return(((n||{}).Workbook||{}).Views||[])[0]&&(a.rightToLeft=n.Workbook.Views[0].RTL?"1":"0"),Je("sheetViews",Je("sheetView",null,a),{})}(0,0,0,r),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 r,n=[""],a=0;a!=t.length;++a)(r=t[a])&&(n[n.length]=Je("col",null,gs(a,r)));return n[n.length]="",n.join("")}(0,c["!cols"])),o[a=o.length]="",c["!links"]=[],null!=c["!ref"]&&(s=function(e,t,r,n){var a,o,i=[],s=[],c=nr(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=qt(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=Fs(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=Oo(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 Rs.forEach((function(r){null!=e[r]&&e[r]&&(t[r]="1")})),Is.forEach((function(r){null==e[r]||e[r]||(t[r]="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,r,n){var a="string"==typeof e.ref?e.ref:rr(e.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var o=r.Workbook.Names,i=tr(a);i.s.r==i.e.r&&(i.e.r=tr(t["!ref"]).e.r,a=rr(i));for(var s=0;s0&&(o[o.length]=function(e){if(0===e.length)return"";for(var t='',r=0;r!=e.length;++r)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=nn(n,-1,Pe(e[1].Target).replace(/#.*$/,""),Zr.HLINK),h["r:id"]="rId"+m),(p=e[1].Target.indexOf("#"))>-1&&(h.location=Pe(e[1].Target.slice(p+1))),e[1].Tooltip&&(h.tooltip=Pe(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]=qe("ignoredErrors",Je("ignoredError",null,{numberStoredAsText:1,sqref:l}))),f.length>0&&(m=nn(n,-1,"../drawings/drawing"+(e+1)+".xml",Zr.DRAW),o[o.length]=Je("drawing",null,{"r:id":"rId"+m}),c["!drawing"]=f),c["!comments"].length>0&&(m=nn(n,-1,"../drawings/vmlDrawing"+(e+1)+".vml",Zr.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 Us(e,t,r,n){var a=function(e,t,r){var n=Vt(145),a=(r["!rows"]||[])[e]||{};n.write_shift(4,e),n.write_shift(4,0);var o=320;a.hpx?o=20*Oo(a.hpx):a.hpt&&(o=20*a.hpt),n.write_shift(2,o),n.write_shift(1,0);var i=0;a.level&&(i|=a.level),a.hidden&&(i|=16),(a.hpx||a.hpt)&&(i|=32),n.write_shift(1,i),n.write_shift(1,0);var s=0,c=n.l;n.l+=4;for(var l={r:e,c:0},u=0;u<16;++u)if(!(t.s.c>u+1<<10||t.e.cn.l?n.slice(0,n.l):n}(n,r,t);(a.length>17||(t["!rows"]||[])[n])&&zt(e,"BrtRowHdr",a)}var Vs=Br,Hs=Pr;function Ws(e){return[br(e),Dr(e),"n"]}var zs=Br,Ys=Pr,Gs=["left","right","top","bottom","header","footer"];function Xs(e,t,r,n,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=ne(t)).z=t.z||P._table[14],t.v=G(te(t.v)),t.t="n";break;case"n":case"e":s=""+t.v;break;default:s=t.v}var c={r:r,c:n};switch(c.s=bs(a.cellXfs,t,a),t.l&&o["!links"].push([er(c),t.l]),t.c&&o["!comments"].push([er(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?zt(e,"BrtShortIsst",function(e,t,r){return null==r&&(r=Vt(8)),yr(t,r),r.write_shift(4,t.v),r}(0,c)):zt(e,"BrtCellIsst",function(e,t,r){return null==r&&(r=Vt(12)),vr(t,r),r.write_shift(4,t.v),r}(0,c))):(c.t="str",i?zt(e,"BrtShortSt",function(e,t,r){return null==r&&(r=Vt(8+4*e.v.length)),yr(t,r),fr(e.v,r),r.length>r.l?r.slice(0,r.l):r}(t,c)):zt(e,"BrtCellSt",function(e,t,r){return null==r&&(r=Vt(12+4*e.v.length)),vr(t,r),fr(e.v,r),r.length>r.l?r.slice(0,r.l):r}(t,c))),!0;case"n":return t.v==(0|t.v)&&t.v>-1e3&&t.v<1e3?i?zt(e,"BrtShortRk",function(e,t,r){return null==r&&(r=Vt(8)),yr(t,r),Ar(e.v,r),r}(t,c)):zt(e,"BrtCellRk",function(e,t,r){return null==r&&(r=Vt(12)),vr(t,r),Ar(e.v,r),r}(t,c)):i?zt(e,"BrtShortReal",function(e,t,r){return null==r&&(r=Vt(12)),yr(t,r),Rr(e.v,r),r}(t,c)):zt(e,"BrtCellReal",function(e,t,r){return null==r&&(r=Vt(16)),vr(t,r),Rr(e.v,r),r}(t,c)),!0;case"b":return c.t="b",i?zt(e,"BrtShortBool",function(e,t,r){return null==r&&(r=Vt(5)),yr(t,r),r.write_shift(1,e.v?1:0),r}(t,c)):zt(e,"BrtCellBool",function(e,t,r){return null==r&&(r=Vt(9)),vr(t,r),r.write_shift(1,e.v?1:0),r}(t,c)),!0;case"e":return c.t="e",i?zt(e,"BrtShortError",function(e,t,r){return null==r&&(r=Vt(8)),yr(t,r),r.write_shift(1,e.v),r.write_shift(2,0),r.write_shift(1,0),r}(t,c)):zt(e,"BrtCellError",function(e,t,r){return null==r&&(r=Vt(9)),vr(t,r),r.write_shift(1,e.v),r}(t,c)),!0}return i?zt(e,"BrtShortBlank",function(e,t,r){return null==r&&(r=Vt(4)),yr(t,r)}(0,c)):zt(e,"BrtCellBlank",function(e,t,r){return null==r&&(r=Vt(8)),vr(t,r)}(0,c)),!0}function Ks(e,t){var r,n;t&&t["!merges"]&&(zt(e,"BrtBeginMergeCells",(r=t["!merges"].length,null==n&&(n=Vt(4)),n.write_shift(4,r),n)),t["!merges"].forEach((function(t){zt(e,"BrtMergeCell",Ys(t))})),zt(e,"BrtEndMergeCells"))}function $s(e,t){t&&t["!cols"]&&(zt(e,"BrtBeginColInfos"),t["!cols"].forEach((function(t,r){t&&zt(e,"BrtColInfo",function(e,t,r){null==r&&(r=Vt(18));var n=gs(e,t);r.write_shift(-4,e),r.write_shift(-4,e),r.write_shift(4,256*(n.width||10)),r.write_shift(4,0);var a=0;return t.hidden&&(a|=1),"number"==typeof n.width&&(a|=2),t.level&&(a|=t.level<<8),r.write_shift(2,a),r}(r,t))})),zt(e,"BrtEndColInfos"))}function qs(e,t){t&&t["!ref"]&&(zt(e,"BrtBeginCellIgnoreECs"),zt(e,"BrtCellIgnoreEC",function(e){var t=Vt(24);return t.write_shift(4,4),t.write_shift(4,1),Pr(e,t),t}(nr(t["!ref"]))),zt(e,"BrtEndCellIgnoreECs"))}function Zs(e,t,r){t["!links"].forEach((function(t){if(t[1].Target){var n=nn(r,-1,t[1].Target.replace(/#.*$/,""),Zr.HLINK);zt(e,"BrtHLink",function(e,t){var r=Vt(50+4*(e[1].Target.length+(e[1].Tooltip||"").length));Pr({s:Qt(e[0]),e:Qt(e[0])},r),kr("rId"+t,r);var n=e[1].Target.indexOf("#");return fr((-1==n?"":e[1].Target.slice(n+1))||"",r),fr(e[1].Tooltip||"",r),fr("",r),r.slice(0,r.l)}(t,n))}})),delete t["!links"]}function Js(e,t,r){zt(e,"BrtBeginWsViews"),zt(e,"BrtBeginWsView",function(e,t,r){null==r&&(r=Vt(30));var n=924;return(((t||{}).Views||[])[0]||{}).RTL&&(n|=32),r.write_shift(2,n),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(2,0),r.write_shift(2,100),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(4,0),r}(0,r)),zt(e,"BrtEndWsView"),zt(e,"BrtEndWsViews")}function Qs(e,t){var r,n;t["!protect"]&&zt(e,"BrtSheetProtection",(r=t["!protect"],null==n&&(n=Vt(66)),n.write_shift(2,r.password?uo(r.password):0),n.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]?n.write_shift(4,null==r[e[0]]||r[e[0]]?0:1):n.write_shift(4,null!=r[e[0]]&&r[e[0]]?0:1)})),n))}function ec(e,t,r,n){var a=Wt(),o=r.SheetNames[e],i=r.Sheets[o]||{},s=o;try{r&&r.Workbook&&(s=r.Workbook.Sheets[e].CodeName||s)}catch(pu){}var c,l,u=nr(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"]=[],zt(a,"BrtBeginSheet"),(r.vbaraw||i["!outline"])&&zt(a,"BrtWsProp",function(e,t,r){null==r&&(r=Vt(84+4*e.length));var n=192;t&&(t.above&&(n&=-65),t.left&&(n&=-129)),r.write_shift(1,n);for(var a=1;a<3;++a)r.write_shift(1,0);return Ir({auto:1},r),r.write_shift(-4,-1),r.write_shift(-4,-1),Er(e,r),r.slice(0,r.l)}(s,i["!outline"])),zt(a,"BrtWsDim",Hs(u)),Js(a,0,r.Workbook),$s(a,i),function(e,t,r,n){var a,o=nr(t["!ref"]||"A1"),i="",s=[];zt(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=qt(u),Us(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=Xs(e,d,u,h,n,t,f):f=!1}}zt(e,"BrtEndSheetData")}(a,i,0,t),Qs(a,i),function(e,t,r,n){if(t["!autofilter"]){var a=t["!autofilter"],o="string"===typeof a.ref?a.ref:rr(a.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var i=r.Workbook.Names,s=tr(o);s.s.r==s.e.r&&(s.e.r=tr(t["!ref"]).e.r,o=rr(s));for(var c=0;c0){var a=nn(n,-1,"../drawings/vmlDrawing"+(r+1)+".vml",Zr.VML);zt(e,"BrtLegacyDrawing",kr("rId"+a)),t["!legacy"]=a}}(a,i,e,n),zt(a,"BrtEndSheet"),a.end()}function tc(e,t,r,n,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,r=[],n=e.match(/^/);(e.match(/(.*?)<\/c:pt>/gm)||[]).forEach((function(e){var t=e.match(/(.*)<\/c:v><\/c:pt>/);t&&(r[+t[1]]=n?+t[2]:t[2])}));var a=Ae((e.match(/([\s\S]*?)<\/c:formatCode>/)||["","General"])[1]);return(e.match(/(.*?)<\/c:f>/gm)||[]).forEach((function(e){t=e.replace(/<.*?>/g,"")})),[r,a,t]}(e);u.s.r=u.s.c=0,u.e.c=s,l=Jt(s),t[0].forEach((function(e,r){i[l+qt(r)]={t:"n",v:e,z:t[1]},c=r})),u.e.r0&&(i["!ref"]=rr(u)),i}Zr.CHART="http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",Zr.CHARTEX="http://schemas.microsoft.com/office/2014/relationships/chartEx",Zr.CS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet",Je("chartsheet",null,{xmlns:rt.main[0],"xmlns:r":rt.r});var rc=[["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"]],nc=[["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 r=0;r!=e.length;++r)for(var n=e[r],a=0;a!=t.length;++a){var o=t[a];if(null==n[o[0]])n[o[0]]=o[1];else switch(o[2]){case"bool":"string"==typeof n[o[0]]&&(n[o[0]]=Me(n[o[0]]));break;case"int":"string"==typeof n[o[0]]&&(n[o[0]]=parseInt(n[o[0]],10))}}}function sc(e,t){for(var r=0;r!=t.length;++r){var n=t[r];if(null==e[n[0]])e[n[0]]=n[1];else switch(n[2]){case"bool":"string"==typeof e[n[0]]&&(e[n[0]]=Me(e[n[0]]));break;case"int":"string"==typeof e[n[0]]&&(e[n[0]]=parseInt(e[n[0]],10))}}}function cc(e){sc(e.WBProps,rc),sc(e.CalcPr,oc),ic(e.WBView,nc),ic(e.Sheets,ac),ds.date1904=Me(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 r=!0;return lc.forEach((function(n){if(-1!=e.indexOf(n)){if(!t)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");r=!1}})),r}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,r,n,a=e.Workbook&&e.Workbook.Sheets||[];t=e.SheetNames,r=a,n=!!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;o