/* xlsx-js-style 1.2.3 @ 2024-11-16T05:34:40.194Z */ var XLSX={};function make_xlsx_lib(r){r.version="0.20.3",r.style_version="1.2.3";var ae,C=1200,I=1252,t=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4],l={0:1252,1:65001,2:65001,77:1e4,128:932,129:949,130:1361,134:936,136:950,161:1253,162:1254,163:1258,177:1255,178:1256,186:1257,204:1251,222:874,238:1250,255:1252,69:6969},c=function(e){-1!=t.indexOf(e)&&(I=l[0]=e)};var ce=function(e){c(C=e)};function f(){ce(1200),c(1252)}function ne(e){for(var t=[],r=0,a=e.length;r>1;++r)t[r]=String.fromCharCode(e.charCodeAt(2*r)+(e.charCodeAt(2*r+1)<<8));return t.join("")}function s(e){for(var t=[],r=0;r>1;++r)t[r]=String.fromCharCode(e.charCodeAt(2*r+1)+(e.charCodeAt(2*r)<<8));return t.join("")}var se=function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1);return 255==t&&254==r?a(e.slice(2)):254==t&&255==r?s(e.slice(2)):65279==t?e.slice(1):e},h=function(e){return String.fromCharCode(e)},n=function(e){return String.fromCharCode(e)};function e(e){ae=e,ce=function(e){c(C=e)},se=function(e){return 255===e.charCodeAt(0)&&254===e.charCodeAt(1)?ae.utils.decode(1200,ne(e.slice(2))):e},h=function(e){return 1200===C?String.fromCharCode(e):ae.utils.decode(C,[255&e,e>>8])[0]},n=function(e){return ae.utils.decode(I,[e])[0]},Lr()}var le=null,u=!0,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function ee(e){for(var t,r,a,n,s,i="",o=0,c=0,l=0;l>2,s=(3&t)<<4|(r=e.charCodeAt(l++))>>4,o=(15&r)<<2|(a=e.charCodeAt(l++))>>6,c=63&a,isNaN(r)?o=c=64:isNaN(a)&&(c=64),i+=d.charAt(n)+d.charAt(s)+d.charAt(o)+d.charAt(c);return i}function te(e){var t,r,a,n,s,i,o="";e=(e="data:"==e.slice(0,5)&&-1<(c=e.slice(0,1024).indexOf(";base64,"))?e.slice(c+8):e).replace(/[^\w\+\/\=]/g,"");for(var c=0;c>4,o+=String.fromCharCode(t),r=(15&n)<<4|(s=d.indexOf(e.charAt(c++)))>>2,64!==s&&(o+=String.fromCharCode(r)),a=(3&s)<<6|(i=d.indexOf(e.charAt(c++))),64!==i&&(o+=String.fromCharCode(a));return o}var re="undefined"!=typeof Buffer&&"undefined"!=typeof process&&void 0!==process.versions&&!!process.versions.node,ie=function(){if("undefined"==typeof Buffer)return function(){};var t=!Buffer.from;if(!t)try{Buffer.from("foo","utf8")}catch(e){t=!0}return t?function(e,t){return t?new Buffer(e,t):new Buffer(e)}:Buffer.from.bind(Buffer)}(),p=function(){if("undefined"==typeof Buffer)return!1;var e=ie([65,0]);return!!e&&1==e.toString("utf16le").length}();function oe(e){return re?Buffer.alloc?Buffer.alloc(e):new Buffer(e):new("undefined"!=typeof Uint8Array?Uint8Array:Array)(e)}function fe(e){return re?Buffer.allocUnsafe?Buffer.allocUnsafe(e):new Buffer(e):new("undefined"!=typeof Uint8Array?Uint8Array:Array)(e)}var he=function(e){return re?ie(e,"binary"):e.split("").map(function(e){return 255&e.charCodeAt(0)})};function o(e){if("undefined"==typeof ArrayBuffer)return he(e);for(var t=new ArrayBuffer(e.length),r=new Uint8Array(t),a=0;a!=e.length;++a)r[a]=255&e.charCodeAt(a);return t}function k(e){if(Array.isArray(e))return e.map(function(e){return String.fromCharCode(e)}).join("");for(var t=[],r=0;r=7+t&&103==(32|e.charCodeAt(t))&&101==(32|e.charCodeAt(t+1))&&110==(32|e.charCodeAt(t+2))&&101==(32|e.charCodeAt(t+3))&&114==(32|e.charCodeAt(t+4))&&97==(32|e.charCodeAt(t+5))&&108==(32|e.charCodeAt(t+6))}var R=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],N=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]];var me={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"上午/下午 "hh"時"mm"分"ss"秒 "'},g={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0},b={5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',41:'_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function E(e,t,r){for(var a=e<0?-1:1,n=e*a,s=0,i=1,o=0,c=1,l=0,f=0,h=Math.floor(n);l(e<0?12:11)||"0"===s||"-0"===s?e.toPrecision(6):s;return _(-1==(s=s.toUpperCase()).indexOf("E")?s:s.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2"))}function F(e,t){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(0|e)===e?e.toString(10):S(e);case"undefined":return"";case"object":if(null==e)return"";if(e instanceof Date)return q(14,Me(e,t&&t.date1904),t)}throw new Error("unsupported value in General format: "+e)}function x(e){if(e.length<=3)return e;for(var t=e.length%3,r=e.substr(0,t);t!=e.length;t+=3)r+=(0t.length?n:W(t.substr(0,t.length-n.length))+n;if(s=t.match(P))return h=s,o=u,c=d,l=parseInt(h[4],10),f=Math.round(o*l),o=Math.floor(f/l),l,c+(0===o?"":""+o)+" "+(0==(f-=o*l)?Ve(" ",h[1].length+1+h[4].length):w(f,h[1].length)+h[2]+"/"+h[3]+A(l,h[4].length));if(t.match(/^#+0+$/))return d+y(u,t.length-t.indexOf("0"));if(s=t.match(M))return n=z(r,s[1].length).replace(/^([^\.]+)$/,"$1."+W(s[1])).replace(/\.$/,"."+W(s[1])).replace(/\.(\d*)$/,function(e,t){return"."+t+Ve("0",W(s[1]).length-t.length)}),-1!==t.indexOf("0.")?n:n.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),s=t.match(/^(0*)\.(#*)$/))return d+z(u,s[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,s[1].length?"0.":".");if(s=t.match(/^#{1,3},##0(\.?)$/))return d+x(y(u,0));if(s=t.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+V(e,t,-r):x(""+(Math.floor(r)+(h=r,(p=s[1].length)<(""+Math.round((h-Math.floor(h))*Math.pow(10,p))).length?1:0)))+"."+A(H(r,s[1].length),s[1].length);if(s=t.match(/^#,#*,#0/))return V(e,t.replace(/^#,#*,/,""),r);if(s=t.match(/^([0#]+)(\\?-([0#]+))+$/))return n=v(V(e,t.replace(/[\\-]/g,""),r)),i=0,v(v(t.replace(/\\/g,"")).replace(/[0#]/g,function(e){return it.length?o:W(t.substr(0,t.length-o.length))+o;if(c=t.match(P))return h+(0===(u=f)?"":""+u)+Ve(" ",(u=c)[1].length+2+u[4].length);if(t.match(/^#+0+$/))return h+A(f,t.length-t.indexOf("0"));if(c=t.match(M))return o=(o=(""+r).replace(/^([^\.]+)$/,"$1."+W(c[1])).replace(/\.$/,"."+W(c[1]))).replace(/\.(\d*)$/,function(e,t){return"."+t+Ve("0",W(c[1]).length-t.length)}),-1!==t.indexOf("0.")?o:o.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),c=t.match(/^(0*)\.(#*)$/))return h+(""+f).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,c[1].length?"0.":".");if(c=t.match(/^#{1,3},##0(\.?)$/))return h+x(""+f);if(c=t.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+X(e,t,-r):x(""+r)+"."+Ve("0",c[1].length);if(c=t.match(/^#,#*,#0/))return X(e,t.replace(/^#,#*,/,""),r);if(c=t.match(/^([0#]+)(\\?-([0#]+))+$/))return o=v(X(e,t.replace(/[\\-]/g,""),r)),l=0,v(v(t.replace(/\\/g,"")).replace(/[0#]/g,function(e){return l=€acfijklopqrtuvwxzP".indexOf(f))throw new Error("unrecognized character "+f+" in "+e);o[o.length]={t:"t",v:f},++l}var m,g,b=0,v=0;for(l=o.length-1,h="t";0<=l;--l)switch(o[l].t){case"h":case"H":o[l].t=u,h="h",b<1&&(b=1);break;case"s":(m=o[l].v.match(/\.0+$/))&&(v=Math.max(v,m[0].length-1),b=4),b<3&&(b=3);case"d":case"y":case"e":h=o[l].t;break;case"M":h=o[l].t,b<2&&(b=2);break;case"m":"s"===h&&(o[l].t="M",b<2&&(b=2));break;case"X":break;case"Z":(b=(b=b<1&&o[l].v.match(/[Hh]/)?1:b)<2&&o[l].v.match(/[Mm]/)?2:b)<3&&o[l].v.match(/[Ss]/)&&(b=3)}switch(b){case 0:break;case 1:case 2:case 3:.5<=n.u&&(n.u=0,++n.S),60<=n.S&&(n.S=0,++n.M),60<=n.M&&(n.M=0,++n.H),24<=n.H&&(n.H=0,++n.D,(g=L(n.D)).u=n.u,g.S=n.S,g.M=n.M,g.H=n.H,n=g);break;case 4:switch(v){case 1:n.u=Math.round(10*n.u)/10;break;case 2:n.u=Math.round(100*n.u)/100;break;case 3:n.u=Math.round(1e3*n.u)/1e3}1<=n.u&&(n.u=0,++n.S),60<=n.S&&(n.S=0,++n.M),60<=n.M&&(n.M=0,++n.H),24<=n.H&&(n.H=0,++n.D,(g=L(n.D)).u=n.u,g.S=n.S,g.M=n.M,g.H=n.H,n=g)}var w,T="";for(l=0;l=o[l].v.length-1?(w-=o[l].v.length,o[l].v=k.substr(w+1,o[l].v.length)):w<0?o[l].v="":(o[l].v=k.substr(0,w+1),w=-1),o[l].t="t",S=l);0<=w&&S[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function Z(e,t){if(null!=t){var r=parseFloat(t[2]);switch(t[1]){case"=":if(e==r)return 1;break;case">":if(r":if(e!=r)return 1;break;case">=":if(r<=e)return 1;break;case"<=":if(e<=r)return 1}}}function J(e,t){var r=function(e){for(var t=[],r=!1,a=0,n=0;a]/)&&null==r[1].match(/\[[=<>]/))return[a,s];e=r[0].match(Y),s=r[1].match(Y);return Z(t,e)?[a,r[0]]:Z(t,s)?[a,r[1]]:[a,r[null!=e&&null!=s?2:1]]}function q(e,t,r){null==r&&(r={});var a="";switch(typeof e){case"string":a="m/d/yy"==e&&r.dateNF?r.dateNF:e;break;case"number":null==(a=null==(a=14==e&&r.dateNF?r.dateNF:(null!=r.table?r.table:me)[e])?r.table&&r.table[g[e]]||me[g[e]]:a)&&(a=b[e]||"General")}if(O(a,0))return F(t,r);var n=J(a,t=t instanceof Date?Me(t,r.date1904):t);if(O(n[1]))return F(t,r);if(!0===t)t="TRUE";else if(!1===t)t="FALSE";else{if(""===t||null==t)return"";if(isNaN(t)&&-1>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1,t[r]=e;return"undefined"!=typeof Int32Array?new Int32Array(t):t}();var t=function(e){for(var t=0,r=0,a=0,n=new("undefined"!=typeof Int32Array?Int32Array:Array)(4096),a=0;256!=a;++a)n[a]=e[a];for(a=0;256!=a;++a)for(r=e[a],t=256+a;t<4096;t+=256)r=n[t]=r>>>8^e[255&r];var s=[];for(a=1;16!=a;++a)s[a-1]="undefined"!=typeof Int32Array&&"function"==typeof n.subarray?n.subarray(256*a,256*a+256):n.slice(256*a,256*a+256);return s}(o),s=t[0],i=t[1],c=t[2],l=t[3],f=t[4],h=t[5],u=t[6],d=t[7],p=t[8],m=t[9],g=t[10],b=t[11],v=t[12],w=t[13],T=t[14];return e.table=o,e.bstr=function(e,t){for(var r=-1^t,a=0,n=e.length;a>>8^o[255&(r^e.charCodeAt(a++))];return~r},e.buf=function(e,t){for(var r=-1^t,a=e.length-15,n=0;n>8&255]^v[e[n++]^r>>16&255]^b[e[n++]^r>>>24]^g[e[n++]]^m[e[n++]]^p[e[n++]]^d[e[n++]]^u[e[n++]]^h[e[n++]]^f[e[n++]]^l[e[n++]]^c[e[n++]]^i[e[n++]]^s[e[n++]]^o[e[n++]];for(a+=15;n>>8^o[255&(r^e[n++])];return~r},e.str=function(e,t){for(var r,a=-1^t,n=0,s=e.length,i=0;n>>8^o[255&(a^i)]:i<2048?(a=a>>>8^o[255&(a^(192|i>>6&31))])>>>8^o[255&(a^(128|63&i))]:55296<=i&&i<57344?(i=64+(1023&i),r=1023&e.charCodeAt(n++),(a=(a=(a=a>>>8^o[255&(a^(240|i>>8&7))])>>>8^o[255&(a^(128|i>>2&63))])>>>8^o[255&(a^(128|r>>6&15|(3&i)<<4))])>>>8^o[255&(a^(128|63&r))]):(a=(a=a>>>8^o[255&(a^(224|i>>12&15))])>>>8^o[255&(a^(128|i>>6&63))])>>>8^o[255&(a^(128|63&i))];return~a},e}(),xe=function(){var s,e={};function d(e){if("/"==e.charAt(e.length-1))return-1===e.slice(0,-1).indexOf("/")?e:d(e.slice(0,-1));var t=e.lastIndexOf("/");return-1===t?e:e.slice(0,t+1)}function p(e){if("/"==e.charAt(e.length-1))return p(e.slice(0,-1));var t=e.lastIndexOf("/");return-1===t?e:e.slice(t+1)}function g(e){Zr(e,0);for(var t,r={};e.l<=e.length-4;){var a=e.read_shift(2),n=e.read_shift(2),s=e.l+n,i={};switch(a){case 21589:1&(t=e.read_shift(1))&&(i.mtime=e.read_shift(4)),5>>2)-1;if(o){for(var l=0;l=l.length?-1:o,o=n+1;o=l.length?-1:o,h.type=1}else d(e.FullPaths[n+1]||"")==d(u)&&(h.R=n+1),h.type=2}}}function a(e,t){var r=t||{};if("mad"==r.fileType)return function(e,t){for(var r=t||{},a=r.boundary||"SheetJS",n=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+(a="------="+a).slice(2)+'"',"","",""],s=e.FullPaths[0],i=s,o=e.FileIndex[0],c=1;c>>1,e.write_shift(2,r),r=(r=(r=t.getFullYear()-1980)<<4|t.getMonth()+1)<<5|t.getDate(),e.write_shift(2,r)}(n,d.mt):n.write_shift(4,0),n.write_shift(-4,8&i?0:p[f]),n.write_shift(4,8&i?0:v.length),n.write_shift(4,8&i?0:d.content.length),n.write_shift(2,b.length),n.write_shift(2,0),l+=n.length,r.push(n),l+=b.length,r.push(b),l+=v.length,r.push(v),8&i&&((n=qr(12)).write_shift(-4,p[f]),n.write_shift(4,v.length),n.write_shift(4,d.content.length),l+=n.l,r.push(n)),(n=qr(46)).write_shift(4,33639248),n.write_shift(2,0),n.write_shift(2,20),n.write_shift(2,i),n.write_shift(2,s),n.write_shift(4,0),n.write_shift(-4,p[f]),n.write_shift(4,v.length),n.write_shift(4,d.content.length),n.write_shift(2,b.length),n.write_shift(2,0),n.write_shift(2,0),n.write_shift(2,0),n.write_shift(2,0),n.write_shift(4,0),n.write_shift(4,g),m+=n.l,a.push(n),m+=b.length,a.push(b),++f}return(n=qr(22)).write_shift(4,101010256),n.write_shift(2,0),n.write_shift(2,0),n.write_shift(2,f),n.write_shift(2,f),n.write_shift(4,m),n.write_shift(4,l),n.write_shift(2,0),ue([ue(r),ue(a),n])}(e,r);for(var a=function(e){for(var t=0,r=0,a=0;a>6:r+=n+511>>9))}for(var s=e.FullPaths.length+3>>2,i=t+127>>7,o=(t+7>>3)+r+s+i,c=o+127>>7,l=c<=109?0:Math.ceil((c-109)/127);c>7;)l=++c<=109?0:Math.ceil((c-109)/127);s=[1,l,c,i,s,r,t,0];return e.FileIndex[0].size=t<<6,s[7]=(e.FileIndex[0].start=s[0]+s[1]+s[2]+s[3]+s[4]+s[5])+(s[6]+7>>3),s}(e),n=qr(a[7]<<9),s=0,i=0,s=0;s<8;++s)n.write_shift(1,m[s]);for(s=0;s<8;++s)n.write_shift(2,0);for(n.write_shift(2,62),n.write_shift(2,3),n.write_shift(2,65534),n.write_shift(2,9),n.write_shift(2,6),s=0;s<3;++s)n.write_shift(2,0);for(n.write_shift(4,0),n.write_shift(4,a[2]),n.write_shift(4,a[0]+a[1]+a[2]+a[3]-1),n.write_shift(4,0),n.write_shift(4,4096),n.write_shift(4,a[3]?a[0]+a[1]+a[2]-1:k),n.write_shift(4,a[3]),n.write_shift(-4,a[1]?a[0]-1:k),n.write_shift(4,a[1]),s=0;s<109;++s)n.write_shift(-4,s>9)));for(o(a[6]+7>>3);511&n.l;)n.write_shift(-4,_.ENDOFCHAIN);for(c=i=s=0;c>6)));for(;511&n.l;)n.write_shift(-4,_.ENDOFCHAIN);for(s=0;s>16|t>>8|t);function R(e,t){var r=7&t,t=t>>>3;return(e[t]|(r<=5?0:e[1+t]<<8))>>>r&7}function N(e,t){var r=7&t,t=t>>>3;return(e[t]|(r<=3?0:e[1+t]<<8))>>>r&31}function F(e,t){var r=7&t,t=t>>>3;return(e[t]|(r<=1?0:e[1+t]<<8))>>>r&127}function D(e,t,r){var a=7&t,n=t>>>3,s=(1<>>a;return r<8-a?t&s:(t|=e[1+n]<<8-a,r<16-a?t&s:(t|=e[2+n]<<16-a,r<24-a?t&s:(t|=e[3+n]<<24-a)&s))}function P(e,t,r){var a=7&t,n=t>>>3;return a<=5?e[n]|=(7&r)<>8-a),t+3}function M(e,t,r){var a=t>>>3;return r<<=7&t,e[a]|=255&r,r>>>=8,e[1+a]=r,t+8}function L(e,t,r){var a=t>>>3;return r<<=7&t,e[a]|=255&r,r>>>=8,e[1+a]=255&r,e[2+a]=r>>>8,t+16}function U(e,t){var r=e.length,a=t<2*r?2*r:t+5,n=0;if(t<=r)return e;if(re){var s=fe(a);if(e.copy)e.copy(s);else for(;n>>8-d:(p=p<<8|O[u>>8&255],d<=16?p>>>16-d:(p=p<<8|O[u>>16&255])>>>24-d))>>n-h,i=(1<>1)-1:(M(t,r,3),M(t,r+=5,O[o-23]>>5),r+=3);var f=o<8?0:o-4>>2;0>3),r-=3;var h=o<4?0:o-2>>1;0>>3]|=f,r=h+1),r=M(t,r,O[o]),n[i]=32767&a,++a}r=M(t,r,0)-1}}return t.l=(r+7)/8|0,t.l})(e,t)}}();function $(e){var t=qr(50+Math.floor(1.1*e.length)),e=c(e,t);return t.slice(0,e)}var V=I?new Uint16Array(32768):B(32768),X=I?new Uint16Array(32768):B(32768),G=I?new Uint16Array(128):B(128),j=1,K=1;function l(e,t){if(3==e[0]&&!(3&e[1]))return[oe(t),2];for(var r=0,a=0,n=fe(t||1<<18),s=0,i=n.length>>>0,o=0,c=0;0==(1&a);)if(a=R(e,r),r+=3,a>>>1!=0)for(c=a>>1==1?(o=9,5):(r=function(e,t){var r,a,n,s=N(e,t)+257,i=N(e,t+=5)+1,o=(n=7&(a=t+=5),4+(((r=e)[a=a>>>3]|(n<=4?0:r[1+a]<<8))>>>n&15));t+=4;for(var c=0,l=I?new Uint8Array(19):B(19),f=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],h=1,u=I?new Uint8Array(8):B(8),d=I?new Uint8Array(8):B(8),p=l.length,m=0;m>8-b;for(var v=(1<<7-b)-1;0<=v;--v)G[g|v<>>=3){case 16:for(c=3+(y=void 0,y=7&(T=t),((w=e)[T=T>>>3]|(y<=6?0:w[1+T]<<8))>>>y&3),t+=2,g=k[k.length-1];0>>1==1?z:V)[l];if(r+=15&f,0==((f>>>=4)>>>8&255))n[s++]=f;else{if(256==f)break;var h=(f-=257)<8?0:f-4>>2;5>>1==1?H:X)[l]);var l=(f>>>=4)<4?0:f-2>>1,d=C[f];for(0>>3]|e[1+(r>>>3)]<<8;if(r+=32,0>>3],r+=8}return t?[n,r+7>>>3]:[n.slice(0,s),r+7>>>3]}function Y(e,t){t=l(e.slice(e.l||0),t);return e.l+=t[1],t[0]}function Z(e,t){if(!e)throw new Error(t);"undefined"!=typeof console&&console.error(t)}function J(e,t){var r=e;Zr(r,0);var a={FileIndex:[],FullPaths:[]};w(a,{root:t.root});for(var n=r.length-4;(80!=r[n]||75!=r[n+1]||5!=r[n+2]||6!=r[n+3])&&0<=n;)--n;r.l=n+4,r.l+=4;var s=r.read_shift(2);r.l+=6;t=r.read_shift(4);for(r.l=t,n=0;n>>=5);return r>>>=4,a.setMilliseconds(0),a.setFullYear(1980+r),a.setMonth(e-1),a.setDate(n),e=31&t,n=63&(t>>>=5),t>>>=6,a.setHours(t),a.setMinutes(n),a.setSeconds(e<<1),a}(e);if(8257&s)throw new Error("Unsupported ZIP encryption");e.read_shift(4);for(var c,l=e.read_shift(4),f=e.read_shift(4),h=e.read_shift(2),u=e.read_shift(2),d="",p=0;p>2,n=(3&r)<<4|(t=e[c++])>>4,i=(15&t)<<2|(r=e[c++])>>6,o=63&r,isNaN(t)?i=o=64:isNaN(r)&&(o=64),s+=d.charAt(a)+d.charAt(n)+d.charAt(i)+d.charAt(o);return s}(new Uint8Array(Ae(a)));return chrome.downloads.download({url:a,filename:e,saveAs:!0})}}if("undefined"!=typeof $&&"undefined"!=typeof File&&"undefined"!=typeof Folder)try{var i=File(e);return i.open("w"),i.encoding="binary",Array.isArray(t)&&(t=k(t)),i.write(t),i.close(),t}catch(e){if(!e.message||-1==e.message.indexOf("onstruct"))throw e}throw new Error("cannot save file "+e)}function Ie(e){for(var t=Object.keys(e),r=[],a=0;a":1};function it(e,t){for(var r=e.indexOf("<"+t),a=t.length+1,n=e.length;0<=r&&r<=n-a&&!st[e.charAt(r+a)];)r=e.indexOf("<"+t,r+1);if(-1===r)return null;var s=e.indexOf(">",r+t.length);if(-1===s)return null;var i="",o=e.indexOf(i,s);return-1==o?null:[e.slice(r,o+i.length),e.slice(s+1,o)]}var ot,ct,lt,ft,ht=(ot={},function(e,t){var r=ot[t];r||(ot[t]=r=[new RegExp("<(?:\\w+:)?"+t+"\\b[^<>]*>","g"),new RegExp("","g")]),r[0].lastIndex=r[1].lastIndex=0;var a=r[0].exec(e);if(!a)return null;var n=a.index,t=r[0].lastIndex;if(r[1].lastIndex=r[0].lastIndex,!(a=r[1].exec(e)))return null;a=a.index,r=r[1].lastIndex;return[e.slice(n,r),e.slice(t,a)]}),ut=(ct={},function(e,t){var r=[],a=ct[t];for(a||(ct[t]=a=[new RegExp("<(?:\\w+:)?"+t+"\\b[^<>]*>","g"),new RegExp("","g")]),a[0].lastIndex=a[1].lastIndex=0;s=a[0].exec(e);){var n=s.index;if(a[1].lastIndex=a[0].lastIndex,!a[1].exec(e))return null;var s=a[1].lastIndex;r.push(e.slice(n,s)),a[0].lastIndex=a[1].lastIndex}return 0==r.length?null:r}),dt=(lt={},function(e,t){var r,a=[],n=lt[t];n||(lt[t]=n=[new RegExp("<(?:\\w+:)?"+t+"\\b[^<>]*>","g"),new RegExp("","g")]);for(var s=n[0].lastIndex=n[1].lastIndex=0,i=0;r=n[0].exec(e);){if(s=r.index,a.push(e.slice(i,s)),i=s,n[1].lastIndex=n[0].lastIndex,!n[1].exec(e))return null;i=n[1].lastIndex,n[0].lastIndex=n[1].lastIndex}return a.push(e.slice(i)),0==a.length?"":a.join("")}),pt=(ft={},function(e,t){var r=[],a=ft[t];for(a||(ft[t]=a=[new RegExp("<"+t+"\\b[^<>]*>","ig"),new RegExp("","ig")]),a[0].lastIndex=a[1].lastIndex=0;s=a[0].exec(e);){var n=s.index;if(a[1].lastIndex=a[0].lastIndex,!a[1].exec(e))return null;var s=a[1].lastIndex;r.push(e.slice(n,s)),a[0].lastIndex=a[1].lastIndex}return 0==r.length?null:r});function mt(e){return e?e.content&&e.type?He(e.content,!0):e.data?se(e.data):e.asNodeBuffer&&re?se(e.asNodeBuffer().toString("binary")):e.asBinary?se(e.asBinary()):e._data&&e._data.getContent?se(He(Array.prototype.slice.call(e._data.getContent(),0))):null:null}function gt(e){if(!e)return null;if(e.data)return ne(e.data);if(e.asNodeBuffer&&re)return e.asNodeBuffer();if(e._data&&e._data.getContent){var t=e._data.getContent();return"string"==typeof t?ne(t):Array.prototype.slice.call(t)}return e.content&&e.type?e.content:null}function bt(e,t){for(var r=e.FullPaths||Ie(e.files),a=t.toLowerCase().replace(/[\/]/g,"\\"),n=a.replace(/\\/g,"/"),s=0;s>6&31,n[r++]=128|63&o):55296<=o&&o<57344?(o=64+(1023&o),i=1023&e.charCodeAt(++s),n[r++]=240|o>>8&7,n[r++]=128|o>>2&63,n[r++]=128|i>>6&15|(3&o)<<4,n[r++]=128|63&i):(n[r++]=224|o>>12&15,n[r++]=128|o>>6&63,n[r++]=128|63&o),a\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g,Ct=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?<>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'"<>\s=]+))*\s*[\/\?]?>/gm,It=xt.match(Ct)?Ct:/<[^<>]*>/g,Ot=/<\w*:/,Rt=/<(\/?)\w+:/;function Nt(e,t,r){for(var a={},n=0,s=0;n!==e.length&&(32!==(s=e.charCodeAt(n))&&10!==s&&13!==s);++n);if(t||(a[0]=e.slice(0,n)),n===e.length)return a;var i,o,c,l=e.match(At),f=0,h=0,u="",d="";if(l)for(h=0;h!=l.length;++h){for(d=l[h].slice(1),s=0;s!=d.length&&61!==d.charCodeAt(s);++s);for(u=d.slice(0,s).trim();32==d.charCodeAt(s+1);)++s;for(o=34==(n=d.charCodeAt(s+1))||39==n?1:0,i=d.slice(s+1+o,d.length-o),f=0;f!=u.length&&58!==u.charCodeAt(f);++f);f===u.length?(a[u=0","<":"<","&":"&"},Lt=Re(Mt),Ut=(Dt=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/gi,Pt=/_x([\da-fA-F]{4})_/gi,function(e,t){e=function e(t){var r=t+"",a=r.indexOf("");return e(r.slice(0,a))+r.slice(a+9,t)+e(r.slice(t+3))}(e);return t?e.replace(/\r\n/g,"\n"):e}),Bt=/[&<>'"]/g,Wt=/[\u0000-\u0008\u000b-\u001f\uFFFE-\uFFFF]/g;function zt(e){return(e+"").replace(Bt,function(e){return Lt[e]}).replace(Wt,function(e){return"_x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+"_"})}function Ht(e){return zt(e).replace(/ /g,"_x0020_")}var $t=/[\u0000-\u001f]/g;function Vt(e){return(e+"").replace(Bt,function(e){return Lt[e]}).replace(/\n/g,"
").replace($t,function(e){return"&#x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+";"})}var Xt,Gt=(Xt=/&#(\d+);/g,function(e){return e.replace(Xt,jt)});function jt(e,t){return String.fromCharCode(parseInt(t,10))}function Kt(e){switch(e){case 1:case!0:case"1":case"true":return!0;case 0:case!1:case"0":case"false":return!1}return!1}function Yt(e){for(var t,r,a,n,s="",i=0,o=0;i>>10&1023)),s+=String.fromCharCode(56320+(1023&n)))));return s}function Zt(e){for(var t,r,a=oe(2*e.length),n=1,s=0,i=0,o=0;o>>10&1023),t=56320+(1023&t)),0!==i&&(a[s++]=255&i,a[s++]=i>>>8,i=0),a[s++]=t%256,a[s++]=t>>>8;return a.slice(0,s).toString("ucs2")}function Jt(e){return ie(e,"binary").toString("utf8")}var qt,Qt="foo bar baz☃🍣",er=re&&(Jt(Qt)==Yt(Qt)?Jt:Zt(Qt)==Yt(Qt)&&Zt)||Yt,tr=re?function(e){return ie(e,"utf8").toString("binary")}:function(e){for(var t,r=[],a=0,n=0;a>6))),r.push(String.fromCharCode(128+(63&n)));break;case 55296<=n&&n<57344:n-=55296,t=e.charCodeAt(a++)-56320+(n<<10),r.push(String.fromCharCode(240+(t>>18&7))),r.push(String.fromCharCode(144+(t>>12&63))),r.push(String.fromCharCode(128+(t>>6&63))),r.push(String.fromCharCode(128+(63&t)));break;default:r.push(String.fromCharCode(224+(n>>12))),r.push(String.fromCharCode(128+(n>>6&63))),r.push(String.fromCharCode(128+(63&n)))}return r.join("")},rr=(qt=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map(function(e){return[new RegExp("&"+e[0]+";","ig"),e[1]]}),function(e){for(var t=e.replace(/^[\t\n\r ]+/,"").replace(/(^|[^\t\n\r ])[\t\n\r ]+$/,"$1").replace(/>\s+/g,">").replace(/\b\s+/g,"\n").replace(/<[^<>]*>/g,""),r=0;r/g,nr=/<(?:vt:)([^<"'>]*)>([\s\S]*)"+t+""}function cr(t){return Ie(t).map(function(e){return" "+e+'="'+t[e]+'"'}).join("")}function lr(e,t,r){return"<"+e+(null!=r?cr(r):"")+(null!=t?(t.match(ir)?' xml:space="preserve"':"")+">"+t+""}function fr(e,t){try{return e.toISOString().replace(/\.\d*/,"")}catch(e){if(t)throw e}return""}function hr(e){if(re&&Buffer.isBuffer(e))return e.toString("utf8");if("string"==typeof e)return e;if("undefined"!=typeof Uint8Array&&e instanceof Uint8Array)return er(k(m(e)));throw new Error("Bad input format: expected Buffer or string")}var ur=/<([\/]?)([^\s?>:\/"]+)(?:\s+[^<>=?"'\s]+="[^"]*?")*\s*[\/]?>/gm,dr={CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",CT:"http://schemas.openxmlformats.org/package/2006/content-types",RELS:"http://schemas.openxmlformats.org/package/2006/relationships",TCMNT:"http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments",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"},pr=["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"],mr={o:"urn:schemas-microsoft-com:office:office",x:"urn:schemas-microsoft-com:office:excel",ss:"urn:schemas-microsoft-com:office:spreadsheet",dt:"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882",mv:"http://macVmlSchemaUri",v:"urn:schemas-microsoft-com:vml",html:"http://www.w3.org/TR/REC-html40"};function gr(e){for(var t=[],r=0;r>>7),a=((127&e[t+7])<<4)+(e[t+6]>>>4&15),n=15&e[t+6],s=5;0<=s;--s)n=256*n+e[t+s];return 2047==a?0==n?1/0*r:NaN:(0==a?a=-1022:(a-=1023,n+=Math.pow(2,52)),r*Math.pow(2,a-52)*n)}var xr=re?function(e){return 0>>8&255,e[r+2]=t>>>16&255,e[r+3]=t>>>24&255},Gr=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},jr=function(e,t,r){e[r]=255&t,e[r+1]=t>>>8&255};function Kr(e,t,r){var a=0,n=0;if("dbcs"===r){for(n=0;n!=t.length;++n)jr(this,t.charCodeAt(n),this.l+2*n);a=2*t.length}else if("sbcs"===r||"cpstr"==r)if(void 0!==ae&&874==I){for(n=0;n!=t.length;++n){var s=ae.utils.encode(I,t.charAt(n));this[this.l+n]=s[0]}a=t.length}else if(void 0!==ae&&"cpstr"==r){if((s=ae.utils.encode(C,t)).length==t.length)for(n=0;n>8}for(;this.l>>=8,this[this.l+1]=255&t;break;case 3:a=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:a=4,Xr(this,t,this.l);break;case 8:if(a=8,"f"===r){!function(e,t,r){var a=(t<0||1/t==-1/0?1:0)<<7,n=0,s=0,i=a?-t:t;isFinite(i)?0==i?n=s=0:(n=Math.floor(Math.log(i)/Math.LN2),s=i*Math.pow(2,52-n),n<=-1023&&(!isFinite(s)||s>4|a}(this,t,this.l);break}case 16:break;case-4:a=4,Gr(this,t,this.l)}}return this.l+=a,this}function Yr(e,t){var r=Cr(this,this.l,e.length>>1);if(r!==e)throw new Error(t+"Expected "+e+" saw "+r);this.l+=e.length>>1}function Zr(e,t){e.l=t,e.read_shift=Vr,e.chk=Yr,e.write_shift=Kr}function Jr(e,t){e.l+=t}function qr(e){e=oe(e);return Zr(e,0),e}function Qr(e,t,r){if(e){Zr(e,e.l||0);for(var a,n=e.length,s=0;e.ls.l&&((s=s.slice(0,s.l)).l=s.length),0>7));for(var i=0;4!=i;++i){if(!(128<=a)){s.write_shift(1,a);break}s.write_shift(1,128+(127&a)),a>>=7}0d&&(l.s.r=d),l.s.c>b&&(l.s.c=b),l.e.r>2;return r?t/100:t}function Wa(e,t){null==t&&(t=qr(4));var r=0,a=0,n=100*e;if(e==(0|e)&&-(1<<29)<=e&&e<1<<29?a=1:n==(0|n)&&-(1<<29)<=n&&n<1<<29&&(r=a=1),!a)throw new Error("unsupported RkNumber "+e);t.write_shift(-4,((r?n:e)<<2)+(r+2))}function za(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 Ha=za,$a=function(e,t){return(t=t||qr(16)).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 Va(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e.read_shift(8,"f")}function Xa(e,t){return(t||qr(8)).write_shift(8,e,"f")}function Ga(e,t){if(t=t||qr(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;return 0>16&255,e>>8&255,255&e]})),nn={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},sn={"#NULL!":0,"#DIV/0!":7,"#VALUE!":15,"#REF!":23,"#NAME?":29,"#NUM!":36,"#N/A":42,"#GETTING_DATA":43,"#WTF?":255},on=["_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"],cn={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.sheet.macroEnabled.main+xml":"workbooks","application/vnd.ms-excel.sheet.binary.macroEnabled.main":"workbooks","application/vnd.ms-excel.addin.macroEnabled.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":"sheets","application/vnd.ms-excel.worksheet":"sheets","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"charts","application/vnd.ms-excel.chartsheet":"charts","application/vnd.ms-excel.macrosheet+xml":"macros","application/vnd.ms-excel.macrosheet":"macros","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"dialogs","application/vnd.ms-excel.dialogsheet":"dialogs","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":"strs","application/vnd.ms-excel.sharedStrings":"strs","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":"styles","application/vnd.ms-excel.styles":"styles","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.openxmlformats-officedocument.spreadsheetml.comments+xml":"comments","application/vnd.ms-excel.comments":"comments","application/vnd.ms-excel.threadedcomments+xml":"threadedcomments","application/vnd.ms-excel.person+xml":"people","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"metadata","application/vnd.ms-excel.sheetMetadata":"metadata","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.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":"TODO","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"},ln={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"},metadata:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml",xlsb:"application/vnd.ms-excel.sheetMetadata"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};function fn(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""}}function hn(r,a,e){var t,n=function(e){for(var t=[],r=Ie(e),a=0;a!==r.length;++a)null==t[e[r[a]]]&&(t[e[r[a]]]=[]),t[e[r[a]]].push(r[a]);return t}(cn),s=[];e||(s[s.length]=xt,s[s.length]=lr("Types",null,{xmlns:dr.CT,"xmlns:xsd":dr.xsd,"xmlns:xsi":dr.xsi}),s=s.concat([["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","application/vnd.openxmlformats-package.relationships+xml"]].map(function(e){return lr("Default",null,{Extension:e[0],ContentType:e[1]})})));function i(e){r[e]&&0",">")),s.join("")}var un={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",CMNT:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",SST:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",STY:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",THEME:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",CHART:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",CHARTEX:"http://schemas.microsoft.com/office/2014/relationships/chartEx",CS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet",WS:["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"],DS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",MS:"http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet",IMG:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",DRAW:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",XLMETA:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata",TCMNT:"http://schemas.microsoft.com/office/2017/10/relationships/threadedComment",PEOPLE:"http://schemas.microsoft.com/office/2017/10/relationships/person",CONN:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/connections",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function dn(e){var t=e.lastIndexOf("/");return e.slice(0,t+1)+"_rels/"+e.slice(t+1)+".rels"}function pn(e,a){var n={"!id":{}};if(!e)return n;"/"!==a.charAt(0)&&(a="/"+a);var s={};return(e.match(It)||[]).forEach(function(e){var t,r=Nt(e);"",r[1]=r[1].replace("/>",">")),r.join("")}function gn(e,t,r,a,n,s){if(n=n||{},e["!id"]||(e["!id"]={}),e["!idx"]||(e["!idx"]=1),t<0)for(t=e["!idx"];e["!id"]["rId"+t];++t);if(e["!idx"]=t+1,n.Id="rId"+t,n.Type=a,n.Target=r,s?n.TargetMode=s:-1<[un.HLINK,un.XPATH,un.XMISS].indexOf(n.Type)&&(n.TargetMode="External"),e["!id"][n.Id])throw new Error("Cannot rewrite rId "+t);return e["!id"][n.Id]=n,e[("/"+n.Target).replace("//","/")]=n,t}var bn="application/vnd.oasis.opendocument.spreadsheet";function vn(e,t,r){return[' \n',' \n'," \n"].join("")}function wn(){return'SheetJS '+r.version+""}var Tn=[["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"]];function yn(e){var t={};e=er(e);for(var r=0;r",">")),a.join("")}var _n=[["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"]],Sn=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function xn(e,t,r,a){var n=[];if("string"==typeof e)n=sr(e,a);else for(var s=0;sWorksheets")+n("vt:variant",n("vt:i4",String(r.Worksheets))),{size:2,baseType:"variant"})),a[a.length]=n("TitlesOfParts",n("vt:vector",r.SheetNames.map(function(e){return""+zt(e)+""}).join(""),{size:r.Worksheets,baseType:"lpstr"})),2",a[1]=a[1].replace("/>",">")),a.join("")}var Cn=/<[^<>]+>[^<]*/g;function In(t){var r=[xt,lr("Properties",null,{xmlns:dr.CUST_PROPS,"xmlns:vt":dr.vt})];if(!t)return r.join("");var a=1;return Ie(t).forEach(function(e){++a,r[r.length]=lr("property",function(e,t){switch(typeof e){case"string":var r=lr("vt:lpwstr",zt(e));return r=t?r.replace(/"/g,"_x0022_"):r;case"number":return lr((0|e)==e?"vt:i4":"vt:r8",zt(String(e)));case"boolean":return lr("vt:bool",e?"true":"false")}if(e instanceof Date)return lr("vt:filetime",fr(e));throw new Error("Unable to serialize "+e)}(t[e],!0),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:a,name:zt(e)})}),2",r[1]=r[1].replace("/>",">")),r.join("")}var On,Rn={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"};function Nn(e){var t=e.read_shift(4),e=e.read_shift(4);return new Date(1e3*(e/1e7*Math.pow(2,32)+t/1e7-11644473600)).toISOString().replace(/\.000/,"")}function Fn(e,t,r){return 31===t?(t=(a=e).read_shift(0,"lpwstr"),n&&(a.l+=4-(t.length+1&3)&3),t):function(e,t){var r=e.l,a=e.read_shift(0,"lpstr-cp");if(t)for(;e.l-r&3;)++e.l;return a}(e,r);var a,n}function Dn(e,t,r){return Fn(e,t,!1===r?0:4)}function Pn(e){for(var t,r,a,n=e.read_shift(4),s=[],i=0;i>3<<2),a}function Ln(e){var t=e.read_shift(4),r=e.slice(e.l,e.l+t);return e.l+=t,0<(3&t)&&(e.l+=4-(3&t)&3),r}function Un(e,t,r){var a,n,s=e.read_shift(2),i=r||{};if(e.l+=2,t!==Za&&s!==t&&-1===qa.indexOf(t)&&(4126!=(65534&t)||4126!=(65534&s)))throw new Error("Expected type "+t+" saw "+s);switch(t===Za?s:t){case 2:return a=e.read_shift(2,"i"),i.raw||(e.l+=2),a;case 3:return a=e.read_shift(4,"i");case 11:return 0!==e.read_shift(4);case 19:return a=e.read_shift(4);case 30:case 31:e.l+=4,val=Dn(e,e[e.l-4]).replace(/(^|[^\u0000])\u0000+$/,"$1");break;case 64:return Nn(e);case 65:return Ln(e);case 71:return(n={}).Size=(a=e).read_shift(4),a.l+=n.Size+3-(n.Size-1)%4,n;case 80:return Dn(e,s,!i.raw).replace(de,"");case 81:return function(e,t){if(!t)throw new Error("VtUnalignedString must have positive length");return Fn(e,t,0)}(e,s).replace(de,"");case 4108:return Pn(e);case 4126:case 4127:return(4127==s?function(e){for(var t=e.read_shift(4),r=[],a=0;a!=t;++a){var n=e.l;r[a]=e.read_shift(0,"lpwstr").replace(de,""),e.l-n&2&&(e.l+=2)}return r}:function(e){for(var t=e.read_shift(4),r=[],a=0;a!=t;++a)r[a]=e.read_shift(0,"lpstr-cp").replace(de,"");return r})(e);default:throw new Error("TypedPropertyValue unrecognized type "+t+" "+s)}}function Bn(e,t){var r,a,n,s=qr(4),i=qr(4);switch(s.write_shift(4,80==e?31:e),e){case 3:i.write_shift(-4,t);break;case 5:(i=qr(8)).write_shift(8,t,"f");break;case 11:i.write_shift(4,t?1:0);break;case 64:a=("string"==typeof(r=t)?new Date(Date.parse(r)):r).getTime()/1e3+11644473600,n=a%Math.pow(2,32),r=(a-n)/Math.pow(2,32),r*=1e7,0<(a=(n*=1e7)/Math.pow(2,32)|0)&&(n%=Math.pow(2,32),r+=a),(a=qr(8)).write_shift(4,n),a.write_shift(4,r),i=a;break;case 31:case 80:for((i=qr(4+2*(t.length+1)+(t.length%2?0:2))).write_shift(4,t.length+1),i.write_shift(0,t,"dbcs");i.l!=i.length;)i.write_shift(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+t)}return ue([s,i])}function Wn(e,t){for(var r=e.l,a=e.read_shift(4),n=e.read_shift(4),s=[],i=0,o=0,c=-1,l={},i=0;i!=n;++i){var f=e.read_shift(4),h=e.read_shift(4);s[i]=[f,h+r]}s.sort(function(e,t){return e[1]-t[1]});var u={};for(i=0;i!=n;++i){if(e.l!==s[i][1]){var d=!0;if(0i+1&&s[i][1]==s[i+1][1])){var p=t[s[i][0]];if(u[p.n]=Un(e,p.t,{raw:!0}),"version"===p.p&&(u[p.n]=String(u[p.n]>>16)+"."+("0000"+String(65535&u[p.n])).slice(-4)),"CodePage"==p.n)switch(u[p.n]){case 0:u[p.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:ce(o=u[p.n]>>>0&65535);break;default:throw new Error("Unsupported CodePage: "+u[p.n])}}}else if(1===s[i][0]){o=u.CodePage=Un(e,Ka);ce(o),-1!==c&&(g=e.l,e.l=s[c][1],l=Mn(e,o),e.l=g)}else if(0===s[i][0])0!==o?l=Mn(e,o):(c=i,e.l=s[i+1][1]);else{var m,g=l[s[i][0]];switch(e[e.l]){case 65:e.l+=4,m=Ln(e);break;case 30:case 31:e.l+=4,m=Dn(e,e[e.l-4]).replace(/(^|[^\u0000])\u0000+$/,"$1");break;case 3:e.l+=4,m=e.read_shift(4,"i");break;case 19:e.l+=4,m=e.read_shift(4);break;case 5:e.l+=4,m=e.read_shift(8,"f");break;case 11:e.l+=4,m=Gn(e,4);break;case 64:e.l+=4,m=ze(Nn(e));break;default:throw new Error("unparsed value: "+e[e.l])}u[g]=m}}return e.l=r+a,u}var zn=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"];function Hn(e,t,r){var a,n,s,i,o=qr(8),c=[],l=[],f=8,h=0,u=qr(8),d=qr(8);if(u.write_shift(4,2),u.write_shift(4,1200),d.write_shift(4,1),l.push(u),c.push(d),f+=8+u.length,!t){(d=qr(8)).write_shift(4,0),c.unshift(d);var p=[qr(4)];for(p[0].write_shift(4,e.length),h=0;h>1,"utf16le").replace(de,""),n&&(t.l+=24),r;case"0303000000000000c000000000000046":return function(e){for(var t=e.read_shift(2),r="";0>1,"utf16le").replace(de,"")}(e);default:throw new Error("Unsupported Moniker "+s)}}function ss(e){var t=e.read_shift(4);return 0>15),e&=32767),[{Unsynced:1&a,DyZero:(2&a)>>1,ExAsc:(4&a)>>2,ExDsc:(8&a)>>3},e]}var Es=rs;function _s(e,t,r){var a=e.l+t,n=8!=r.biff&&r.biff?2:4,s=e.read_shift(n),t=e.read_shift(n),r=e.read_shift(2),n=e.read_shift(2);return e.l=a,{s:{r:s,c:r},e:{r:t,c:n}}}function Ss(e,t,r,a){r=r&&5==r.biff;(a=a||qr(r?16:20)).write_shift(2,0),e.style?(a.write_shift(2,e.numFmtId||0),a.write_shift(2,65524)):(a.write_shift(2,e.numFmtId||0),a.write_shift(2,t<<4));t=0;return 0>>1&1,fWantPict:n>>>2&1,fOle:n>>>3&1,fOleLink:n>>>4&1,cf:n>>>5&1023,fIcon:n>>>15&1};return 14849===r.sbcch&&(a=function(e,t,r){e.l+=4,t-=4;var a=e.l+t,t=Qn(e,0,r);if((r=e.read_shift(2))!==(a-=e.l))throw new Error("Malformed AddinUdf: padding = "+a+" != "+r);return e.l+=r,t}(e,t-2,r)),n.body=a||e.read_shift(t-2),"string"==typeof a&&(n.Name=a),n}function Rs(e,t,r){var a=e.l+t,n=e.read_shift(2),s=e.read_shift(1),i=e.read_shift(1),o=e.read_shift(r&&2==r.biff?1:2),t=0;(!r||5<=r.biff)&&(5!=r.biff&&(e.l+=2),t=e.read_shift(2),5==r.biff&&(e.l+=2),e.l+=4);i=es(e,i,r);32&n&&(i=on[i.charCodeAt(0)]);n=a-e.l;return r&&2==r.biff&&--n,{chKey:s,Name:i,itab:t,rgce:a!=e.l&&0!==o&&0>8&7),o}var Bs=ls,Ws=Zn,zs=ts;function Hs(e,t,r,a,n){return(e=e||qr(7)).write_shift(2,t),e.write_shift(2,r),e.write_shift(1,a||0),e.write_shift(1,n||0),e.write_shift(1,0),e}var $s,Vs,Xs,Gs=[2,3,48,49,131,139,140,245],js=($s={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},Vs=Re({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}),Xs={B:8,C:250,L:1,D:8,"?":0,"":0},{to_workbook:function(e,t){try{var r=wa(Ks(e,t),t);return r.bookType="dbf",r}catch(e){if(t&&t.WTF)throw e}return{SheetNames:[],Sheets:{}}},to_sheet:Ks,from_sheet:function(e,t){if(!e["!ref"])throw new Error("Cannot export empty sheet to DBF");var r=t||{},a=C;if(0<=+r.codepage&&ce(+r.codepage),"string"==r.type)throw new Error("Cannot write DBF to JS string");for(var n=ea(),s=(t=Wu(e,{header:1,raw:!0,cellDates:!0}))[0],i=t.slice(1),o=e["!cols"]||[],c=0,l=0,f=0,h=1,c=0;cv&&(v=o[c].DBF.len),"B"==g&&"N"==b&&(g="N",m[c]=o[c].DBF.dec,v=o[c].DBF.len),p[c]="C"==g||"N"==b?v:Xs[g]||0,h+=p[c],d[c]=g}else d[c]="?"}var T=n.next(32);for(T.write_shift(4,318902576),T.write_shift(4,i.length),T.write_shift(2,296+32*f),T.write_shift(2,h),c=0;c<4;++c)T.write_shift(4,0);var y,k,e=+Vs[C]||3;for(T.write_shift(4,0|e<<8),$s[e]!=+r.codepage&&(r.codepage&&console.error("DBF Unsupported codepage "+C+", using 1252"),C=1252),l=c=0;cp[l]&&(S=S.slice(0,p[l])),f=0;f":190,"?":191,"{":223},F=new RegExp("N("+Ie(r).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1").replace("{","\\{")+"|\\|)","gm");try{F=new RegExp("N("+Ie(r).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm")}catch(e){}var D=function(e,t){t=r[t];return"number"==typeof t?n(t):t},P=function(e,t,r){r=t.charCodeAt(0)-32<<4|r.charCodeAt(0)-48;return 59==r?e:n(r)};r["|"]=254;var v=function(e){return e.replace(/\n/g," :").replace(/\r/g," =")};function o(e,t){var r,a,n=e.split(/[\n\r]+/),s=-1,i=-1,o=0,c=0,l=[],f=[],h=null,e={},u=[],d=[],p=0,m={Workbook:{WBProps:{},Names:[]}};for(0<=+t.codepage&&ce(+t.codepage);o!==n.length;++o){p=0;var g,b,v=n[o].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,P).replace(F,D),w=v.replace(/;;/g,"\0").split(";").map(function(e){return e.replace(/\u0000/g,";")}),T=w[0];if(0","<=",">=","<",">","","","","","&","","","","","","",""],wi={0:{n:"BOF",f:Kn},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:function(e,t,r){var a={s:{c:0,r:0},e:{c:0,r:0}};return 8==t&&r.qpro?(a.s.c=e.read_shift(1),e.l++,a.s.r=e.read_shift(2),a.e.c=e.read_shift(1),e.l++,a.e.r=e.read_shift(2)):(a.s.c=e.read_shift(2),a.s.r=e.read_shift(2),12==t&&r.qpro&&(e.l+=2),a.e.c=e.read_shift(2),a.e.r=e.read_shift(2),12==t&&r.qpro&&(e.l+=2),65535==a.s.c&&(a.s.c=a.e.c=a.s.r=a.e.r=0)),a}},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:function(e,t,r){return(r=Si(e,0,r))[1].v=e.read_shift(2,"i"),r}},14:{n:"NUMBER",f:function(e,t,r){return(r=Si(e,0,r))[1].v=e.read_shift(8,"f"),r}},15:{n:"LABEL",f:function(e,t,r){var a=e.l+t;return(t=Si(e,0,r))[1].t="s",20768!=(65534&r.vers)?(r.qpro&&e.l++,t[1].v=e.read_shift(a-e.l,"cstr")):(e.l++,a=e.read_shift(1),t[1].v=e.read_shift(a,"utf8")),t}},16:{n:"FORMULA",f:function(e,t,r){var a=e.l+t;return(t=Si(e,0,r))[1].v=e.read_shift(8,"f"),r.qpro?e.l=a:(a=e.read_shift(2),function(e,t){Zr(e,0);for(var r=[],a=0,n="",s="",i="",o="";e.lr.length)return console.error("WK1 bad formula parse 0x"+c.toString(16)+":|"+r.join("|")+"|");f=r.slice(-a);r.length-=a,r.push(bi[c][0]+"("+f.join(",")+")")}}}1==r.length?t[1].f=""+r[0]:console.error("WK1 bad formula parse |"+r.join("|")+"|")}(e.slice(e.l,e.l+a),t),e.l+=a),t}},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:function(e,t,r){var a=e.l+t;return(t=Si(e,0,r))[1].t="s",20768!=r.vers?t[1].v=e.read_shift(a-e.l,"cstr"):(a=e.read_shift(1),t[1].v=e.read_shift(a,"utf8")),t}},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:Fi},222:{n:"SHEETNAMELP",f:function(e,t){var r=e[e.l++];t-1>1;if(1&r[1].v)switch(7&a){case 0:a=5e3*(a>>3);break;case 1:a=500*(a>>3);break;case 2:a=(a>>3)/20;break;case 3:a=(a>>3)/200;break;case 4:a=(a>>3)/2e3;break;case 5:a=(a>>3)/2e4;break;case 6:a=(a>>3)/16;break;case 7:a=(a>>3)/64}return r[1].v=a,r}},25:{n:"FORMULA19",f:function(e,t){var r=Ri(e);return e.l+=t-14,r}},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:function(e,t){for(var r={},a=e.l+t;e.l>6,r}},38:{n:"??"},39:{n:"NUMBER27",f:Ni},40:{n:"FORMULA28",f:function(e,t){var r=Ni(e);return e.l+=t-12,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:Fi},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)){r=e.read_shift(1);return e.l+=17,e.l+=1,e.l+=2,[r,e.read_shift(t-21,"cstr")]}}},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}},yi={5:"dd-mmm-yy",6:"dd-mmm",7:"mmm-yy",8:"mm/dd/yy",10:"hh:mm:ss AM/PM",11:"hh:mm AM/PM",14:"dd-mmm-yyyy",15:"mmm-yyyy",34:"0.00",50:"0.00;[Red]0.00",66:"0.00;(0.00)",82:"0.00;[Red](0.00)",162:'"$"#,##0.00;\\("$"#,##0.00\\)',288:"0%",304:"0E+00",320:"# ?/?"},{sheet_to_wk1:function(e,t){var r=t||{};if(0<=+r.codepage&&ce(+r.codepage),"string"==r.type)throw new Error("Cannot write WK1 to JS string");var a=ea();if(!e["!ref"])throw new Error("Cannot export empty sheet to WK1");var n=ga(e["!ref"]),s=null!=e["!data"],i=[];Xf(a,0,(t=1030,(r=qr(2)).write_shift(2,t),r)),Xf(a,6,(t=n,(r=qr(8)).write_shift(2,t.s.c),r.write_shift(2,t.s.r),r.write_shift(2,t.e.c),r.write_shift(2,t.e.r),r));for(var o=Math.min(n.e.r,8191),c=n.s.c;c<=n.e.c;++c)i[c]=la(c);for(var l=n.s.r;l<=o;++l)for(var f=oa(l),c=n.s.c;c<=n.e.c;++c){var h=s?(e["!data"][l]||[])[c]:e[i[c]+f];if(h&&"z"!=h.t)switch(h.t){case"n":(0|h.v)==h.v&&-32768<=h.v&&h.v<=32767?Xf(a,13,Ai(l,c,h)):Xf(a,14,Ci(l,c,h));break;case"d":var u=Me(h.v);(0|u)==u&&-32768<=u&&u<=32767?Xf(a,13,Ai(l,c,{t:"n",v:u,z:h.z||me[14]})):Xf(a,14,Ci(l,c,{t:"n",v:u,z:h.z||me[14]}));break;default:Xf(a,15,function(e,t,r){var a=qr(7+r.length);a.write_shift(1,255),a.write_shift(2,t),a.write_shift(2,e),a.write_shift(1,39);for(var n=0;n>>0))&&(++e,t=(a/=2)>>>0);return a-=t,t|=2147483648,t>>>=0,a*=Math.pow(2,32),r=a>>>0,n.write_shift(4,r),n.write_shift(4,t),e+=16383+(s?32768:0),n.write_shift(2,e),n}(h,d,s,p.v)):Xf(r,22,function(e,t,r,a){var n=qr(6+a.length);n.write_shift(2,e),n.write_shift(1,r),n.write_shift(1,t),n.write_shift(1,39);for(var s=0;sl&&(i.s.c=l),f=m.read_shift(4),i.s.r>f&&(i.s.r=f),f=m.read_shift(4),i.e.rf&&(i.s.r=f),i.e.r>>0]};break;default:throw"Cannot apply delta for QPW cell type "+(31&_)}else switch(31&_){case 1:E={t:"z"};break;case 2:E={t:"n",v:m.read_shift(2)};break;case 7:E={t:"s",v:n[c=m.read_shift(4)-1]};break;default:throw"Cannot apply repeat for QPW cell type "+(31&_)}!r.sheetStubs&&"z"==E.t||(null!=a["!data"]?(a["!data"][f]||(a["!data"][f]=[]),a["!data"][f][l]=E):a[k+oa(f)]=E),++f,--o}}break;case 3074:l=m.read_shift(2),f=m.read_shift(4);y=function(e){var t=e.read_shift(2),r=e.read_shift(1);if(0!=r)throw"unsupported QPW string type "+r.toString(16);return e.read_shift(t,"sbcs-cont")}(m);null!=a["!data"]?(a["!data"][f]||(a["!data"][f]=[]),a["!data"][f][l]={t:"s",v:y}):a[la(l)+oa(f)]={t:"s",v:y}}e.l+=p}return h}(e,t);if(0==e[2]&&(8==e[3]||9==e[3])&&16<=e.length&&5==e[14]&&108===e[15])throw new Error("Unsupported Works 3 for Mac file");if(2==e[2])n.Enum=wi,Ei(e,function(e,t,r){switch(r){case 0:4096<=(n.vers=e)&&(n.qpro=!0);break;case 255:n.vers=e,n.works=!0;break;case 6:u=e;break;case 204:e&&(o=e);break;case 222:o=e;break;case 15:case 51:(!n.qpro&&!n.works||51==r)&&e[1].v.charCodeAt(0)<48&&(e[1].v=e[1].v.slice(1)),(n.works||n.works2)&&(e[1].v=e[1].v.replace(/\r\n/g,"\n"));case 13:case 14:case 16:112==(112&e[2])&&1<(15&e[2])&&(15&e[2])<15&&(e[1].z=n.dateNF||gi[(15&e[2])-1]||me[14],n.cellDates&&(e[1].v=Le(e[1].v),e[1].t="number"==typeof e[1].v?"n":"d")),n.qpro&&e[3]>c&&(s["!ref"]=da(u),l[i]=s,f.push(i),s={},n.dense&&(h=s["!data"]=[]),u={s:{r:0,c:0},e:{r:0,c:0}},c=e[3],i=o||"Sheet"+(c+1),o="");var a=n.dense?(h[e[0].r]||[])[e[0].c]:s[ha(e[0])];if(a){a.t=e[1].t,a.v=e[1].v,null!=e[1].z&&(a.z=e[1].z),null!=e[1].f&&(a.f=e[1].f),p=a;break}n.dense?(h[e[0].r]||(h[e[0].r]=[]),h[e[0].r][e[0].c]=e[1]):s[ha(e[0])]=e[1],p=e[1];break;case 21509:n.works2=!0;break;case 21506:5281==e&&(p.z="hh:mm:ss",n.cellDates&&"n"==p.t&&(p.v=Le(p.v),p.t="number"==typeof p.v?"n":"d"))}},n);else{if(26!=e[2]&&14!=e[2])throw new Error("Unrecognized LOTUS BOF "+e[2]);n.Enum=Ti,14==e[2]&&(n.qpro=!0,e.l=0),Ei(e,function(e,t,r){switch(r){case 204:i=e;break;case 22:e[1].v.charCodeAt(0)<48&&(e[1].v=e[1].v.slice(1)),e[1].v=e[1].v.replace(/\x0F./g,function(e){return String.fromCharCode(e.charCodeAt(1)-32)}).replace(/\r\n/g,"\n");case 23:case 24:case 25:case 37:case 39:case 40:if(e[3]>c&&(s["!ref"]=da(u),l[i]=s,f.push(i),s={},n.dense&&(h=s["!data"]=[]),u={s:{r:0,c:0},e:{r:0,c:0}},c=e[3],i="Sheet"+(c+1)),0=d)break;n.dense?(h[e[0].r]||(h[e[0].r]=[]),h[e[0].r][e[0].c]=e[1]):s[ha(e[0])]=e[1],u.e.c/g,Pi=/<\/(?:\w+:)?r>/,function(e){return e.replace(Di,"").split(Pi).map(Li).filter(function(e){return e.v})});function Li(e){var t=ht(e,"t");if(!t)return{t:"s",v:""};t={t:"s",v:Ut(t[1])},e=ht(e,"rPr");return e&&(t.s=function(e){var t={},r=e.match(It),a=0,n=!1;if(r)for(;a!=r.length;++a){var s=Nt(r[a]);switch(s[0].replace(/<\w*:/g,"<")){case"":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"":case"":break;case"":case"":case"":break;case"":case"":case"":case"":case"":case"":break;case"":case"":break;case"":n=!1;break;default:if(47!==s[0].charCodeAt(1)&&!n)throw new Error("Unrecognized rich format "+s[0])}}return t}(e[1])),t}var Ui,Bi=(Ui=/(\r\n|\n)/g,function(e){return e.map(Wi).join("")});function Wi(e){var t,r,a,n=[[],e.v,[]];return e.v?(e.s&&(t=e.s,r=n[0],a=n[2],e=[],t.u&&e.push("text-decoration: underline;"),t.uval&&e.push("text-underline-style:"+t.uval+";"),t.sz&&e.push("font-size:"+t.sz+"pt;"),t.outline&&e.push("text-effect: outline;"),t.shadow&&e.push("text-shadow: auto;"),r.push(''),t.b&&(r.push(""),a.push("")),t.i&&(r.push(""),a.push("")),t.strike&&(r.push(""),a.push("")),"superscript"==(e=t.valign||"")||"super"==e?e="sup":"subscript"==e&&(e="sub"),""!=e&&(r.push("<"+e+">"),a.push("")),a.push("")),n[0].join("")+n[1].replace(Ui,"
")+n[2].join("")):""}var zi=/<(?:\w+:)?t\b[^<>]*>([^<]*)<\/(?:\w+:)?t>/g,Hi=/<(?:\w+:)?r\b[^<>]*>/;function $i(e,t){var r=!t||t.cellHTML,t={};return e?(e.match(/^\s*<(?:\w+:)?t[^>]*>/)?(t.t=Ut(er(e.slice(e.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||""),!0),t.r=er(e),r&&(t.h=Vt(t.t))):e.match(Hi)&&(t.r=er(e),t.t=Ut(er((dt(e,"rPh").match(zi)||[]).join("").replace(It,"")),!0),r&&(t.h=Bi(Mi(t.r)))),t):{t:""}}var Vi=/<(?:\w+:)?(?:si|sstItem)>/g,Xi=/<\/(?:\w+:)?(?:si|sstItem)>/;var Gi=/^\s|\s$|[\t\n\r]/;var ji=function(e,t){var r=!1;return null==t&&(r=!0,t=qr(15+4*e.t.length)),t.write_shift(1,0),_a(e.t,t),r?t.slice(0,t.l):t};function Ki(e){var t,r,a=ea();ta(a,159,(t=e,(r=r||qr(8)).write_shift(4,t.Count),r.write_shift(4,t.Unique),r));for(var n=0;n>1,"utf16le"),e.l=t,r}function eo(e,t){var r={},t=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,t),e.l=t,r}function to(e){var t=Zi(e);switch(t.Minor){case 2:return[t.Minor,function(e){if(36!=(63&e.read_shift(4)))throw new Error("EncryptionInfo mismatch");var t=e.read_shift(4),t=Qi(e,t),e=eo(e,e.length-e.l);return{t:"Std",h:t,v:e}}(e)];case 3:return[t.Minor,function(){throw new Error("File is password-protected: ECMA-376 Extensible")}()];case 4:return[t.Minor,function(e){var r=["saltSize","blockSize","keyBits","hashSize","cipherAlgorithm","cipherChaining","hashAlgorithm","saltValue"];e.l+=4;var e=e.read_shift(e.length-e.l,"utf8"),a={};return e.replace(It,function(e){var t=Nt(e);switch(Ft(t[0])){case"":break;case"":case"":break;case"":break;case">8,i[s]=oo(ao[0],t),--s,t=255&n,e=a[a.length-1],i[s]=oo(e,t));0>8,i[--s]=oo(a[s],t),t=255&n,i[--s]=oo(a[s],t);for(r=(s=15)-a.length;0>8,i[s]=oo(ao[r],t),--r,t=255&n,i[--s]=oo(a[s],t),--s,--r;return i});function oo(e,t){return 255&((t=e^t)/2|128*t)}var co=function(e){var t=0,r=io(e);return function(e){e=function(e,t,r,a,n){var s,i;for(n=n||t,a=a||io(e),s=0;s!=t.length;++s)i=t[s],i=255&((i^=a[r])>>5|i<<3),n[s]=i,++r;return[n,r,a]}("",e,t,r);return t=e[1],e[0]}};function lo(e,t,r){r=r||{};return r.Info=e.read_shift(2),e.l-=2,1===r.Info?r.Data=function(e){var t={},r=t.EncryptionVersionInfo=Zi(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):r.Data=function(e,t){var r={},a=r.EncryptionVersionInfo=Zi(e,4);if(t-=4,2!=a.Minor)throw new Error("unrecognized minor version code: "+a.Minor);if(4u.e.c&&(u.e.c=s)}),f["!ref"]=da(u),f}function ho(e,t){t=wa(function(e,t){switch(t.type){case"base64":return fo(te(e),t);case"binary":return fo(e,t);case"buffer":return fo(re&&Buffer.isBuffer(e)?e.toString("binary"):k(e),t);case"array":return fo(He(e),t)}throw new Error("Unrecognized type "+t.type)}(e,t),t);return t.bookType="rtf",t}function uo(e){for(var t=0,r=1;3!=t;++t)r=256*r+(255":case"":case"":break;case"":break;default:if(r.WTF)throw new Error("unrecognized "+i[0]+" in numFmts")}}}(a[0],c,r),(a=ht(e,"fonts"))&&function(e,a,n,s){a.Fonts=[];var i={},o=!1;(e.match(It)||[]).forEach(function(e){var t,r=Nt(e);switch(Ft(r[0])){case"":case"":break;case"":break;case"":case"":a.Fonts.push(i),i={};break;case"":case"":break;case"":i.bold=1;break;case"":case"":i.italic=1;break;case"":case"":i.underline=1;break;case"":case"":i.strike=1;break;case"":case"":i.outline=1;break;case"":case"":i.shadow=1;break;case"":case"":i.condense=1;break;case"":case"":i.extend=1;break;case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":break;case"":o=!1;break;default:if(s&&s.WTF&&!o)throw new Error("unrecognized "+r[0]+" in fonts")}})}(a[0],c,t,r),(a=ht(e,"fills"))&&function(e,r,a){r.Fills=[];var n={},s=!1;(e.match(It)||[]).forEach(function(e){var t=Nt(e);switch(Ft(t[0])){case"":case"":break;case"":case"":n={},r.Fills.push(n);break;case"":case"":break;case"":r.Fills.push(n),n={};break;case"":t.patternType&&(n.patternType=t.patternType);break;case"":case"":break;case"":case"":break;case"":case"":break;case"":case"":break;case"":case"":break;case"":case"":break;case"":s=!1;break;default:if(a&&a.WTF&&!s)throw new Error("unrecognized "+t[0]+" in fills")}})}(a[0],c,r),(a=ht(e,"borders"))&&function(e,r,a){r.Borders=[];var n={},s=!1;(e.match(It)||[]).forEach(function(e){var t=Nt(e);switch(Ft(t[0])){case"":case"":break;case"":case"":n={},t.diagonalUp&&(n.diagonalUp=Kt(t.diagonalUp)),t.diagonalDown&&(n.diagonalDown=Kt(t.diagonalDown)),r.Borders.push(n);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"":s=!1;break;default:if(a&&a.WTF&&!s)throw new Error("unrecognized "+t[0]+" in borders")}})}(a[0],c,r),(a=ht(e,"cellXfs"))&&(a=a[0],s=r,o=!((n=c).CellXf=[]),(a.match(It)||[]).forEach(function(e){var t=Nt(e),r=0;switch(Ft(t[0])){case"":case"":case"":break;case"":case"":for(delete(i=t)[0],r=0;r":break;case"":case"":var a={};t.vertical&&(a.vertical=t.vertical),t.horizontal&&(a.horizontal=t.horizontal),null!=t.textRotation&&(a.textRotation=t.textRotation),t.indent&&(a.indent=t.indent),t.wrapText&&(a.wrapText=Kt(t.wrapText)),i.alignment=a;break;case"":break;case"":break;case"":case"":break;case"":o=!0;break;case"":o=!1;break;case"":case"":break;case"":o=!1;break;default:if(s&&s.WTF&&!o)throw new Error("unrecognized "+t[0]+" in cellXfs")}}))),c};function Fo(e,t){if(void 0!==Ro)return Ro.toXml();var r,a,n,s,i=[xt,lr("styleSheet",null,{xmlns:pr[0],"xmlns:vt":dr.vt})];return e.SSF&&null!=(a=e.SSF,n=[""],[[5,8],[23,26],[41,44],[50,392]].forEach(function(e){for(var t=e[0];t<=e[1];++t)null!=a[t]&&(n[n.length]=lr("numFmt",null,{numFmtId:t,formatCode:zt(a[t])}))}),r=1===n.length?"":(n[n.length]="",n[0]=lr("numFmts",null,{count:n.length-2}).replace("/>",">"),n.join("")))&&(i[i.length]=r),i[i.length]='',i[i.length]='',i[i.length]='',i[i.length]='',t=t.cellXfs,(s=[])[s.length]="",t.forEach(function(e){s[s.length]=lr("xf",null,e)}),s[s.length]="",(r=2===s.length?"":(s[0]=lr("cellXfs",null,{count:s.length-2}).replace("/>",">"),s.join("")))&&(i[i.length]=r),i[i.length]='',i[i.length]='',i[i.length]='',2",i[1]=i[1].replace("/>",">")),i.join("")}function Do(e,t){var r;(t=t||qr(153)).write_shift(2,20*e.sz),r=e,a=(a=t)||qr(2),r=(r.italic?2:0)|(r.strike?8:0)|(r.outline?16:0)|(r.shadow?32:0)|(r.condense?64:0)|(r.extend?128:0),a.write_shift(1,r),a.write_shift(1,0),t.write_shift(2,e.bold?700:400);var a=0;"superscript"==e.vertAlign?a=1:"subscript"==e.vertAlign&&(a=2),t.write_shift(2,a),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),Ga(e.color,t);a=0;return"major"==e.scheme&&(a=1),"minor"==e.scheme&&(a=2),t.write_shift(1,a),_a(e.name,t),t.length>t.l?t.slice(0,t.l):t}var Po,Mo=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"],Lo=Jr;function Uo(e,t){t=t||qr(84);e=(Po=Po||Re(Mo))[e.patternType];null==e&&(e=40),t.write_shift(4,e);var r=0;if(40!=e)for(Ga({auto:1},t),Ga({auto:1},t);r<12;++r)t.write_shift(4,0);else{for(;r<4;++r)t.write_shift(4,0);for(;r<12;++r)t.write_shift(4,0)}return t.length>t.l?t.slice(0,t.l):t}function Bo(e,t,r){(r=r||qr(16)).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 Wo(e,t){return(t=t||qr(10)).write_shift(1,0),t.write_shift(1,0),t.write_shift(4,0),t.write_shift(4,0),t}var zo=Jr;function Ho(s,i){var r;i&&(r=0,[[5,8],[23,26],[41,44],[50,392]].forEach(function(e){for(var t=e[0];t<=e[1];++t)null!=i[t]&&++r}),0!=r&&(ta(s,615,ka(r)),[[5,8],[23,26],[41,44],[50,392]].forEach(function(e){for(var t,r,a,n=e[0];n<=e[1];++n)null!=i[n]&&ta(s,44,(t=n,r=i[n],(a=(a=void 0)||qr(6+4*r.length)).write_shift(2,t),_a(r,a),r=a.length>a.l?a.slice(0,a.l):a,null==a.l&&(a.l=a.length),r))}),ta(s,616)))}function $o(e){var t;ta(e,613,ka(1)),ta(e,46,((t=t||qr(51)).write_shift(1,0),Wo(0,t),Wo(0,t),Wo(0,t),Wo(0,t),Wo(0,t),t.length>t.l?t.slice(0,t.l):t)),ta(e,614)}function Vo(e){var t,r;ta(e,619,ka(1)),ta(e,48,(t={xfId:0,builtinId:0,name:"Normal"},(r=r||qr(52)).write_shift(4,t.xfId),r.write_shift(2,1),r.write_shift(1,+t.builtinId),r.write_shift(1,0),Pa(t.name||"",r),r.length>r.l?r.slice(0,r.l):r)),ta(e,620)}function Xo(e){var t,r,a,n;ta(e,508,(t=0,r="TableStyleMedium9",a="PivotStyleMedium4",(n=qr(2052)).write_shift(4,t),Pa(r,n),Pa(a,n),n.length>n.l?n.slice(0,n.l):n)),ta(e,509)}function Go(e,t){var r,a=ea();return ta(a,278),Ho(a,e.SSF),ta(e=a,611,ka(1)),ta(e,43,Do({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"})),ta(e,612),ta(e=a,603,ka(2)),ta(e,45,Uo({patternType:"none"})),ta(e,45,Uo({patternType:"gray125"})),ta(e,604),$o(a),ta(e=a,626,ka(1)),ta(e,47,Bo({numFmtId:0,fontId:0,fillId:0,borderId:0},65535)),ta(e,627),r=a,t=t.cellXfs,ta(r,617,ka(t.length)),t.forEach(function(e){ta(r,47,Bo(e,0))}),ta(r,618),Vo(a),ta(t=a,505,ka(0)),ta(t,506),Xo(a),ta(a,279),a.end()}var jo=["","","","","","","","","","","",""];function Ko(e,t,r){var a;if(t.themeElements={},!(a=it(e,"a:clrScheme")))throw new Error("clrScheme not found in themeElements");if(!function(e,r,a){r.themeElements.clrScheme=[];var n={};(e[0].match(It)||[]).forEach(function(e){var t=Nt(e);switch(t[0]){case"":break;case"":break;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"":"/"===t[0].charAt(1)?(r.themeElements.clrScheme[jo.indexOf(t[0])]=n,n={}):n.name=t[0].slice(3,t[0].length-1);break;default:if(a&&a.WTF)throw new Error("Unrecognized "+t[0]+" in clrScheme")}})}(a,t,r),!it(e,"a:fontScheme"))throw new Error("fontScheme not found in themeElements");if(!it(e,"a:fmtScheme"))throw new Error("fmtScheme not found in themeElements")}function Yo(e,t){var r,a={};if(!(r=it(e=!e||0===e.length?Zo():e,"a:themeElements")))throw new Error("themeElements not found in theme");return Ko(r[0],a,t),a.raw=e,a}function Zo(e,t){if(t&&t.themeXLSX)return t.themeXLSX;if(e&&"string"==typeof e.raw)return e.raw;e=[xt];return e[e.length]='',e[e.length]="",e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]="",e[e.length]='',e[e.length]="",e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]="",e[e.length]="",e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]="",e[e.length]="",e[e.length]='',e[e.length]="",e[e.length]='',e[e.length]='',e[e.length]="",e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]="",e[e.length]='',e[e.length]="",e[e.length]='',e[e.length]="",e[e.length]='',e[e.length]='',e[e.length]="",e[e.length]='',e[e.length]="",e[e.length]="",e[e.length]="",e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]="",e[e.length]="",e[e.length]="",e[e.length]="",e[e.length]='',e[e.length]="",e[e.length]="",e[e.length]="",e[e.length]="",e[e.length]='',e[e.length]="",e[e.length]="",e[e.length]="",e[e.length]="",e[e.length]='',e[e.length]="",e[e.length]='',e[e.length]='',e[e.length]="",e[e.length]="",e[e.length]="",e[e.length]='',e[e.length]='',e[e.length]="",e[e.length]='',e[e.length]='',e[e.length]='',e[e.length]="",e[e.length]='',e[e.length]="",e[e.length]='',e[e.length]="",e[e.length]='',e[e.length]='',e[e.length]="",e[e.length]='',e[e.length]="",e[e.length]="",e[e.length]="",e[e.length]="",e[e.length]="",e[e.length]="",e[e.length]='',e[e.length]="",e[e.length]="",e[e.length]='',e[e.length]="",e[e.length]="",e[e.length]="",e[e.length]="",e.join("")}function Jo(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=Jr(e,4);break;case 2:t.xclrValue=os(e);break;case 3:t.xclrValue=e.read_shift(4);break;case 4:e.l+=4}return e.l+=8,t}function qo(e){var t=e.read_shift(2),r=e.read_shift(2)-4,a=[t];switch(t){case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 13:a[1]=Jo(e);break;case 6:a[1]=Jr(e,r);break;case 14:case 15:a[1]=e.read_shift(1==r?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+t+" "+r)}return a}function Qo(){var e,t,r,a=ea();return ta(a,332),ta(a,334,ka(1)),ta(a,335,((r=qr(12+2*(t={name:"XLDAPR",version:12e4,flags:3496657072}).name.length)).write_shift(4,t.flags),r.write_shift(4,t.version),_a(t.name,r),r.slice(0,r.l))),ta(a,336),ta(a,339,(e=1,(r=qr(8+2*(t="XLDAPR").length)).write_shift(4,e),_a(t,r),r.slice(0,r.l))),ta(a,52),ta(a,35,ka(514)),ta(a,4096,ka(0)),ta(a,4097,Yn(1)),ta(a,36),ta(a,53),ta(a,340),ta(a,337,(e=1,t=!0,(r=qr(8)).write_shift(4,e),r.write_shift(4,t?1:0),r)),ta(a,51,function(e){var t=qr(4+8*e.length);t.write_shift(4,e.length);for(var r=0;r/,">"),lr("o:shapelayout",lr("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"})],s=65536*e,t=t||[];return 0",a,lr("v:shadow",null,{on:"t",obscured:"t"}),lr("v:path",null,{"o:connecttype":"none"}),'
','',"","",or("x:Anchor",[r.c+1,0,r.r+1,0,r.c+3,20,r.r+5,20].join(",")),or("x:AutoFill","False"),or("x:Row",String(r.r)),or("x:Column",String(r.c)),e[1].hidden?"":"","",""].join("")}(e,s))}),n.push(""),n.join("")}function tc(s,e,i,o){var c,l=null!=s["!data"];e.forEach(function(e){var t,r=fa(e.ref);if(!(r.r<0||r.c<0)){(c=l?(s["!data"][r.r]||(s["!data"][r.r]=[]),s["!data"][r.r][r.c]):s[e.ref])||(c={t:"z"},l?s["!data"][r.r][r.c]=c:s[e.ref]=c,(t=ga(s["!ref"]||"BDWGO1000001:A1")).s.r>r.r&&(t.s.r=r.r),t.e.rr.c&&(t.s.c=r.c),t.e.c/,">")];return e.forEach(function(a){var n="";(a[1]||[]).forEach(function(e,t){var r;e.T?(e.a&&-1==s.indexOf(e.a)&&s.push(e.a),r={ref:a[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+i.tcid++).slice(-12)+"}"},0==t?n=r.id:r.parentId=n,e.ID=r.id,e.a&&(r.personId="{54EE7950-7262-4200-6969-"+("000000000000"+s.indexOf(e.a)).slice(-12)+"}"),o.push(lr("threadedComment",or("text",e.t||""),r))):delete e.ID})}),o.push(""),o.join("")}function ac(e){var r=[xt,lr("personList",null,{xmlns:dr.TCMNT,"xmlns:x":pr[0]}).replace(/[\/]>/,">")];return e.forEach(function(e,t){r.push(lr("person",null,{displayName:e,id:"{54EE7950-7262-4200-6969-"+("000000000000"+t).slice(-12)+"}",userId:e,providerId:"None"}))}),r.push(""),r.join("")}var nc=Ea;function sc(e){return _a(e.slice(0,54))}function ic(e){var n=ea(),s=[];return ta(n,628),ta(n,630),e.forEach(function(e){e[1].forEach(function(e){-1>14&1,t>>15&1]}function Tc(e,t,r){var a=2;if(r){if(2<=r.biff&&r.biff<=5)return yc(e);12==r.biff&&(a=4)}var n=e.read_shift(a),r=e.read_shift(a),a=wc(e,2),e=wc(e,2);return{s:{r:n,c:a[0],cRel:a[1],rRel:a[2]},e:{r:r,c:e[0],cRel:e[1],rRel:e[2]}}}function yc(e){var t=wc(e,2),r=wc(e,2),a=e.read_shift(1),e=e.read_shift(1);return{s:{r:t[0],c:a,cRel:t[1],rRel:t[2]},e:{r:r[0],c:e,cRel:r[1],rRel:r[2]}}}function kc(e,t,r){if(r&&2<=r.biff&&r.biff<=5)return n=wc(a=e,2),a=a.read_shift(1),{r:n[0],c:a,cRel:n[1],rRel:n[2]};var a,n,r=e.read_shift(r&&12==r.biff?4:2),e=wc(e,2);return{r:r,c:e[0],cRel:e[1],rRel:e[2]}}function Ec(e,t,r){r=r&&r.biff?r.biff:8;if(2<=r&&r<=5)return function(e){var t=e.read_shift(2),r=e.read_shift(1),a=(32768&t)>>15,e=(16384&t)>>14;t&=16383,1==a&&8192<=t&&(t-=16384);1==e&&128<=r&&(r-=256);return{r:t,c:r,cRel:e,rRel:a}}(e);var a=e.read_shift(12<=r?4:2),n=e.read_shift(2),r=(16384&n)>>14,e=(32768&n)>>15;if(n&=16383,1==e)for(;524287>15,rRel:a>>15})];var a}function Cc(e){return e.l+=6,[]}function Ic(e){return e.l+=2,[Kn(e),1&e.read_shift(2)]}var Oc=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];var Rc={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:Jr},3:{n:"PtgAdd",f:vc},4:{n:"PtgSub",f:vc},5:{n:"PtgMul",f:vc},6:{n:"PtgDiv",f:vc},7:{n:"PtgPower",f:vc},8:{n:"PtgConcat",f:vc},9:{n:"PtgLt",f:vc},10:{n:"PtgLe",f:vc},11:{n:"PtgEq",f:vc},12:{n:"PtgGe",f:vc},13:{n:"PtgGt",f:vc},14:{n:"PtgNe",f:vc},15:{n:"PtgIsect",f:vc},16:{n:"PtgUnion",f:vc},17:{n:"PtgRange",f:vc},18:{n:"PtgUplus",f:vc},19:{n:"PtgUminus",f:vc},20:{n:"PtgPercent",f:vc},21:{n:"PtgParen",f:vc},22:{n:"PtgMissArg",f:vc},23:{n:"PtgStr",f:function(e,t,r){return e.l++,Qn(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++,nn[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++,Va(e)}},32:{n:"PtgArray",f:function(e,t,r){var a=(96&e[e.l++])>>5;return e.l+=2==r.biff?6:12==r.biff?14:7,[a]}},33:{n:"PtgFunc",f:function(e,t,r){var a=(96&e[e.l])>>5;return e.l+=1,r=e.read_shift(r&&r.biff<=3?1:2),[qc[r],Jc[r],a]}},34:{n:"PtgFuncVar",f:function(e,t,r){var a=e[e.l++],n=e.read_shift(1),s=r&&r.biff<=3?[88==a?-1:0,e.read_shift(1)]:[(s=e)[s.l+1]>>7,32767&s.read_shift(2)];return[n,(0===s[0]?Jc:Zc)[s[1]]]}},35:{n:"PtgName",f:function(e,t,r){var a=e.read_shift(1)>>>5&3,n=!r||8<=r.biff?4:2,n=e.read_shift(n);switch(r.biff){case 2:e.l+=5;break;case 3:case 4:e.l+=8;break;case 5:e.l+=12}return[a,0,n]}},36:{n:"PtgRef",f:function(e,t,r){var a=(96&e[e.l])>>5;return e.l+=1,[a,kc(e,0,r)]}},37:{n:"PtgArea",f:function(e,t,r){return[(96&e[e.l++])>>5,Tc(e,2<=r.biff&&r.biff,r)]}},38:{n:"PtgMemArea",f:function(e,t,r){var a=e.read_shift(1)>>>5&3;return e.l+=r&&2==r.biff?3:4,[a,e.read_shift(r&&2==r.biff?1:2)]}},39:{n:"PtgMemErr",f:Jr},40:{n:"PtgMemNoMem",f:Jr},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 a=e.read_shift(1)>>>5&3;return e.l+=4,r.biff<8&&e.l--,12==r.biff&&(e.l+=2),[a]}},43:{n:"PtgAreaErr",f:function(e,t,r){var a=(96&e[e.l++])>>5;return e.l+=r&&8>5;return e.l+=1,[a,Ec(e,0,r)]}},45:{n:"PtgAreaN",f:function(e,t,r){return[(96&e[e.l++])>>5,function(e,t){if(t.biff<8)return yc(e);var r=e.read_shift(12==t.biff?4:2),a=e.read_shift(12==t.biff?4:2),t=wc(e,2),e=wc(e,2);return{s:{r:r,c:t[0],cRel:t[1],rRel:t[2]},e:{r:a,c:e[0],cRel:e[1],rRel:e[2]}}}(e,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 a=e.read_shift(2);return e.l+=12,[t,r,a]}(e):[e.read_shift(1)>>>5&3,e.read_shift(2),e.read_shift(4)]}},58:{n:"PtgRef3d",f:function(e,t,r){var a=(96&e[e.l])>>5;e.l+=1;var n=e.read_shift(2);return r&&5==r.biff&&(e.l+=12),[a,n,kc(e,0,r)]}},59:{n:"PtgArea3d",f:function(e,t,r){var a=(96&e[e.l++])>>5,n=e.read_shift(2,"i");if(r)switch(r.biff){case 5:e.l+=12,0;break;case 12:0}return[a,n,Tc(e,0,r)]}},60:{n:"PtgRefErr3d",f:function(e,t,r){var a=(96&e[e.l++])>>5,n=e.read_shift(2),s=4;if(r)switch(r.biff){case 5:s=15;break;case 12:s=6}return e.l+=s,[a,n]}},61:{n:"PtgAreaErr3d",f:function(e,t,r){var a=(96&e[e.l++])>>5,n=e.read_shift(2),s=8;if(r)switch(r.biff){case 5:e.l+=12,s=6;break;case 12:s=12}return e.l+=s,[a,n]}},255:{}},Nc={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},Fc={1:{n:"PtgElfLel",f:Ic},2:{n:"PtgElfRw",f:Ac},3:{n:"PtgElfCol",f:Ac},6:{n:"PtgElfRwV",f:Ac},7:{n:"PtgElfColV",f:Ac},10:{n:"PtgElfRadical",f:Ac},11:{n:"PtgElfRadicalS",f:Cc},13:{n:"PtgElfColS",f:Cc},15:{n:"PtgElfColSV",f:Cc},16:{n:"PtgElfRadicalLel",f:Ic},25:{n:"PtgList",f:function(e){e.l+=2;var t=e.read_shift(2),r=e.read_shift(2),a=e.read_shift(4),n=e.read_shift(2),e=e.read_shift(2);return{ixti:t,coltype:3&r,rt:Oc[r>>2&31],idx:a,c:n,C:e}}},29:{n:"PtgSxName",f:function(e){return e.l+=2,[e.read_shift(4)]}},255:{}},Dc={0:{n:"PtgAttrNoop",f:function(e){return e.l+=4,[0,0]}},1:{n:"PtgAttrSemi",f:function(e,t,r){var a=255&e[e.l+1]?1:0;return e.l+=r&&2==r.biff?3:4,[a]}},2:{n:"PtgAttrIf",f:function(e,t,r){var a=255&e[e.l+1]?1:0;return e.l+=2,[a,e.read_shift(r&&2==r.biff?1:2)]}},4:{n:"PtgAttrChoose",f:function(e,t,r){e.l+=2;for(var a=e.read_shift(r&&2==r.biff?1:2),n=[],s=0;s<=a;++s)n.push(e.read_shift(r&&2==r.biff?1:2));return n}},8:{n:"PtgAttrGoto",f:function(e,t,r){var a=255&e[e.l+1]?1:0;return e.l+=2,[a,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:_c},33:{n:"PtgAttrBaxcel",f:_c},64:{n:"PtgAttrSpace",f:function(e){return e.read_shift(2),Sc(e)}},65:{n:"PtgAttrSpaceSemi",f:function(e){return e.read_shift(2),Sc(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 Pc(e,t,r,a){if(a.biff<8)return Jr(e,t);for(var n=e.l+t,s=[],i=0;i!==r.length;++i)switch(r[i][0]){case"PtgArray":r[i][1]=xc(e,0,a),s.push(r[i][1]);break;case"PtgMemArea":r[i][2]=function(e,t){for(var r=e.read_shift(12==t.biff?4:2),a=[],n=0;n!=r;++n)a.push((12==t.biff?Ha:us)(e,8));return a}(e,(r[i][1],a)),s.push(r[i][2]);break;case"PtgExp":a&&12==a.biff&&(r[i][1][1]=e.read_shift(4),s.push(r[i][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+r[i][0]}return 0!==(t=n-e.l)&&s.push(Jr(e,t)),s}function Mc(e,t,r){for(var a,n,s=e.l+t,i=[];s!=e.l;)t=s-e.l,n=e[e.l],a=Rc[n]||Rc[Nc[n]],(a=24===n||25===n?(24===n?Fc:Dc)[e[e.l+1]]:a)&&a.f?i.push([a.n,a.f(e,t,r)]):Jr(e,t);return i}var Lc={PtgAdd:"+",PtgConcat:"&",PtgDiv:"/",PtgEq:"=",PtgGe:">=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function Uc(e,t,r){if(!e)return"SH33TJSERR0";if(8s[0].e.c||i.rs[0].e.r)){f.push(Wc(s[1],0,I,a,n)),O=!0;break}O||f.push(w[1])}break;case"PtgArray":f.push("{"+function(e){for(var t=[],r=0;r>3&1,tt:s[1]}}function Hc(e,t,r,a,n){t=fs(t,r,n),n=null!=(r=e.v)?Xa("number"==typeof r?r:0):((r=qr(8)).write_shift(1,3),r.write_shift(1,0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(2,65535),r),r=qr(6);r.write_shift(2,33),r.write_shift(4,0);for(var s=qr(e.bf.length),i=0;i]*)!\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?: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})$/))return l=t,d=(h=e).lastIndexOf("!"),f=h.slice(0,d),u=fa(h=h.slice(d+1)),"'"==f.charAt(0)&&(f=f.slice(1,-1).replace(/''/g,"'")),(d=qr(17)).write_shift(4,9),d.write_shift(1,58),d.write_shift(2,2+l.SheetNames.map(function(e){return e.toLowerCase()}).indexOf(f.toLowerCase())),d.write_shift(4,u.r),d.write_shift(2,u.c|("$"==h.charAt(0)?0:1)<<14|(h.match(/\$\d/)?0:1)<<15),d.write_shift(4,0),d;if(e.match(/^(?:'[^\\\/?*\[\]:]*'|[^'][^\\\/?*\[\]:'`~!@#$%^()\-=+{}|;,<.>]*)!\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?: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-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?: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})$/))return function(e,t){var r=e.lastIndexOf("!"),a=e.slice(0,r);e=e.slice(r+1),"'"==a.charAt(0)&&(a=a.slice(1,-1).replace(/''/g,"'"));var n=e.split(":"),s=qr(27);return s.write_shift(4,19),r=n[0],e=fa(r),s.write_shift(1,58),s.write_shift(2,2+t.SheetNames.map(function(e){return e.toLowerCase()}).indexOf(a.toLowerCase())),s.write_shift(4,e.r),s.write_shift(2,e.c|("$"==r.charAt(0)?0:1)<<14|(r.match(/\$\d/)?0:1)<<15),e=fa(r=n[1]),s.write_shift(1,58),s.write_shift(2,2+t.SheetNames.map(function(e){return e.toLowerCase()}).indexOf(a.toLowerCase())),s.write_shift(4,e.r),s.write_shift(2,e.c|("$"==r.charAt(0)?0:1)<<14|(r.match(/\$\d/)?0:1)<<15),s.write_shift(1,17),s.write_shift(4,0),s}(e,t);if(/^(?:'[^\\\/?*\[\]:]*'|[^'][^\\\/?*\[\]:'`~!@#$%^()\-=+{}|;,<.>]*)!#REF!$/.test(e))return u=t,d=(h=e).lastIndexOf("!"),t=h.slice(0,d),h=h.slice(d+1),"'"==t.charAt(0)&&(t=t.slice(1,-1).replace(/''/g,"'")),(h=qr(17)).write_shift(4,9),h.write_shift(1,60),h.write_shift(2,2+u.SheetNames.map(function(e){return e.toLowerCase()}).indexOf(t.toLowerCase())),h.write_shift(4,0),h.write_shift(2,0),h.write_shift(4,0),h;if(/^".*"$/.test(e))return function(e){var t=qr(7);t.write_shift(4,3+2*e.length),t.write_shift(1,23),t.write_shift(2,e.length);var r=qr(2*e.length);return r.write_shift(2*e.length,e,"utf16le"),(e=qr(4)).write_shift(4,0),ue([t,r,e])}(e);if(/^[+-]\d+$/.test(e))return Kc(parseInt(e,10));throw"Formula |"+e+"| not supported for XLSB"},Zc={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"},Jc={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"},qc={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};function Qc(e){return(e=(e=(e=(e=(e=(e=61==(e="of:"==e.slice(0,3)?e.slice(3):e).charCodeAt(0)&&61==(e=e.slice(1)).charCodeAt(0)?e.slice(1):e).replace(/COM\.MICROSOFT\./g,"")).replace(/\[((?:\.[A-Z]+[0-9]+)(?::\.[A-Z]+[0-9]+)?)\]/g,function(e,t){return t.replace(/\./g,"")})).replace(/\$'([^']|'')+'/g,function(e){return e.slice(1)})).replace(/\$([^\]\. #$]+)/g,function(e,t){return t.match(/^([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})?$/)?e:t})).replace(/\[.(#[A-Z]*[?!])\]/g,"$1")).replace(/[;~]/g,",").replace(/\|/g,";")}function el(e){e=(e=(e=e.replace(/\$'([^']|'')+'/g,function(e){return e.slice(1)})).replace(/\$([^\]\. #$]+)/g,function(e,t){return t.match(/^([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})?$/)?e:t})).split(":");return[e[0].split(".")[0],e[0].split(".")[1]+(1/g,hl=/<(?:\w+:)?hyperlink [^<>]*>/gm,ul=/"(\w*:\w*)"/,dl=/<(?:\w+:)?col\b[^<>]*[\/]?>/g,pl=/<(?:\w+:)?autoFilter[^>]*/g,ml=/<(?:\w+:)?pageMargins[^<>]*\/>/g,gl=/<(?:\w+:)?sheetPr\b[^<>]*?\/>/;function bl(e,t,r,a,n,s,i){if(!e)return e;a=a||{"!id":{}},null!=le&&null==t.dense&&(t.dense=le);var o={};t.dense&&(o["!data"]=[]);var c={s:{r:2e6,c:2e6},e:{r:0,c:0}},l="",f="",h=ht(e,"sheetData");h?(l=e.slice(0,h.index),f=e.slice(h.index+h[0].length)):l=f=e;var u=l.match(gl);u?vl(u[0],0,n,r):(u=ht(l,"sheetPr"))&&(e=u[0],u[1],u=o,d=n,p=r,vl(e.slice(0,e.indexOf(">")),0,d,p));var d,p,m=(l.match(/<(?:\w*:)?dimension/)||{index:-1}).index;0=c.s.c&&c.e.r>=c.s.r&&(o["!ref"]=da(c)),0c.e.r&&(f.e.r=c.e.r),f.e.rc.e.c&&(f.e.c=c.e.c),f.e.ca-z][^<>]*)?\/?>/g;var kl,El,_l,Sl,xl=function(e,t,r,a,n,s,i){for(var o,c,l,f,h,u=0,d="",p=[],m=[],g=0,b=0,v="",w=0,T=0,y=0,k=0,E=Array.isArray(s.CellXf),_=[],S=[],x=null!=t["!data"],A=[],C={},I=!1,O=!!r.sheetStubs,R=!!((i||{}).WBProps||{}).date1904,N=e.split(El),F=0,D=N.length;F!=D;++F){var P=(d=N[F].trim()).length;if(0!==P){var M=0;e:for(u=0;u":if("/"!=d[u-1]){++u;break e}if(r&&r.cellStyles){if(w=null!=(l=Nt(d.slice(M,u),!0)).r?parseInt(l.r,10):w+1,T=-1,r.sheetRows&&r.sheetRowsw-1&&(a.s.r=w-1),a.e.r":"")+d,null!=m&&2===m.length){for(g=0,v=m[1],b=0;b!=v.length&&!((o=v.charCodeAt(b)-64)<1||26]*\/>/))&&S[(h=Nt(m[0])).si]&&(c.f=gc(S[h.si][1],S[h.si][2],l.r));for(var U=fa(l.r),b=0;b<_.length;++b)U.r>=_[b][0].s.r&&U.r<=_[b][0].e.r&&U.c>=_[b][0].s.c&&U.c<=_[b][0].e.c&&(c.F=_[b][1])}if(null==l.t&&void 0===c.v)if(c.f||c.F)c.v=0,c.t="n";else{if(!O)continue;c.t="z"}else c.t=l.t||"n";switch(a.s.c>T&&(a.s.c=T),a.e.cB.r&&(a.s.r=B.r),a.e.r"],a=0;a!=e.length;++a)(t=e[a])&&(r[r.length]=lr("col",null,il(a,t)));return r[r.length]="",r.join("")}(c["!cols"])),i[n=i.length]="",c["!links"]=[],null!=c["!ref"]&&0<(s=Al(c,t,0,r)).length&&(i[i.length]=s),i.length>n+1&&(i[i.length]="",i[n]=i[n].replace("/>",">")),c["!protect"]&&(i[i.length]=(h=c["!protect"],u={sheet:1},wl.forEach(function(e){null!=h[e]&&h[e]&&(u[e]="1")}),Tl.forEach(function(e){null==h[e]||h[e]||(u[e]="0")}),h.password&&(u.password=ro(h.password).toString(16).toUpperCase()),lr("sheetProtection",null,u))),null!=c["!autofilter"]&&(i[i.length]=function(e,t,r,a){var n="string"==typeof e.ref?e.ref:da(e.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var s=r.Workbook.Names;(e=ua(n)).s.r==e.e.r&&(e.e.r=ua(t["!ref"]).e.r,n=da(e));for(var i=0;i',r=0;r!=e.length;++r)t+='';return t+""}(c["!merges"]));var p,m,g=-1;return 0",c["!links"].forEach(function(e){e[1].Target&&(m={ref:e[0]},"#"!=e[1].Target.charAt(0)&&(g=gn(a,-1,zt(e[1].Target).replace(/#[\s\S]*$/,""),un.HLINK),m["r:id"]="rId"+g),-1<(p=e[1].Target.indexOf("#"))&&(m.location=zt(e[1].Target.slice(p+1))),e[1].Tooltip&&(m.tooltip=zt(e[1].Tooltip)),m.display=e[1].display,i[i.length]=lr("hyperlink",null,m))}),i[i.length]=""),delete c["!links"],null!=c["!margins"]&&(i[i.length]=(ol(r=c["!margins"]),lr("pageMargins",null,r))),t&&!t.ignoreEC&&null!=t.ignoreEC||(i[i.length]=or("ignoredErrors",lr("ignoredError",null,{numberStoredAsText:1,sqref:l}))),0",i[1]=i[1].replace("/>",">")),i.join("")}function Il(e,t,r,a){r=function(e,t,r){var a=qr(145),n=(r["!rows"]||[])[e]||{};a.write_shift(4,e),a.write_shift(4,0);var s=320;n.hpx?s=20*xo(n.hpx):n.hpt&&(s=20*n.hpt),a.write_shift(2,s),a.write_shift(1,0),s=0,n.level&&(s|=n.level),n.hidden&&(s|=16),(n.hpx||n.hpt)&&(s|=32),a.write_shift(1,s),a.write_shift(1,0);var i=0,s=a.l;a.l+=4;for(var o={r:e,c:0},c=null!=r["!data"],l=0;l<16;++l)if(!(t.s.c>l+1<<10||t.e.ca.l?a.slice(0,a.l):a}(a,r,t);(17y.l?y.slice(0,y.l):y)):ta(e,6,(k=c,w=null==(T=t).v?"":String(T.v),Ia(k,v=null==v?qr(12+4*T.v.length):v),_a(w,v),v.length>v.l?v.slice(0,v.l):v))),!0;case"n":return t.v==(0|t.v)&&-1e3","")||[]).forEach(function(e){var r=function(e){var t,r=[],a=e.match(/^/);(e.match(/\/]*>([^<])<\/c:v><\/c:pt>/gm)||[]).forEach(function(e){e=e.match(/\/]*>([^<]*)<\/c:v><\/c:pt>/);e&&(r[+e[1]]=a?+e[2]:e[2])});var n=Ut((it(e,"c:formatCode")||["","General"])[1]);return(at(e,"","")||[]).forEach(function(e){t=e.replace(/<[^<>]*>/g,"")}),[r,n,t]}(e);f.s.r=f.s.c=0,f.e.c=c,o=la(c),r[0].forEach(function(e,t){i["!data"]?(i["!data"][t]||(i["!data"][t]=[]),i["!data"][t][c]={t:"n",v:e,z:r[1]}):i[o+oa(t)]={t:"n",v:e,z:r[1]},l=t}),f.e.r/),"bool"],["CodeName",""],["date1904",!(kl=/<(?:\w+:)?c[ \/>]/),"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"]],Gl=[["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"]],jl=[],Kl=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function Yl(e,t){for(var r=0;r!=e.length;++r)for(var a=e[r],n=0;n!=t.length;++n){var s=t[n];if(null==a[s[0]])a[s[0]]=s[1];else switch(s[2]){case"bool":"string"==typeof a[s[0]]&&(a[s[0]]=Kt(a[s[0]]));break;case"int":"string"==typeof a[s[0]]&&(a[s[0]]=parseInt(a[s[0]],10))}}}function Zl(e,t){for(var r=0;r!=t.length;++r){var a=t[r];if(null==e[a[0]])e[a[0]]=a[1];else switch(a[2]){case"bool":"string"==typeof e[a[0]]&&(e[a[0]]=Kt(e[a[0]]));break;case"int":"string"==typeof e[a[0]]&&(e[a[0]]=parseInt(e[a[0]],10))}}}function Jl(e){Zl(e.WBProps,Xl),Zl(e.CalcPr,Kl),Yl(e.WBView,Gl),Yl(e.Sheets,jl),al.date1904=Kt(e.WBProps.date1904)}var ql=":][*?/\\".split("");function Ql(t,r){try{if(""==t)throw new Error("Sheet name cannot be blank");if(31n.l?n.slice(0,n.l):n))}ta(e,144)}function nf(e,t){if(t.Workbook&&t.Workbook.Sheets){for(var r,a=t.Workbook.Sheets,n=0,s=-1,i=-1;nr.l?r.slice(0,r.l):r)),ta(e,136))}}function sf(i,o){o.Workbook&&o.Workbook.Names&&o.Workbook.Names.forEach(function(t){try{if(14&t.Flags)return;ta(i,39,(e=t,r=o,a=qr(9),n=0,s=e.Name,-1e.l?e.slice(0,e.l):e}()),ta(t,153,function(e,t){t=t||qr(72);var r=0;return e&&(e.date1904&&(r|=1),e.filterPrivacy&&(r|=8)),t.write_shift(4,r),t.write_shift(4,0),Fa(e&&e.CodeName||"ThisWorkbook",t),t.slice(0,t.l)}(e.Workbook&&e.Workbook.WBProps||null)),nf(t,e),af(t,e),of(t,e),(e.Workbook||{}).Names&&sf(t,e),ta(t,132),t.end()}function lf(e,t,r){return(".bin"===t.slice(-4)?function(e,a){var n={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""},s=[],i=!1;(a=a||{}).biff=12;var o=[],c=[[]];return c.SheetNames=[],c.XTI=[],$f[16]={n:"BrtFRTArchID$",f:rf},Qr(e,function(e,t,r){switch(r){case 156:c.SheetNames.push(e.name),n.Sheets.push(e);break;case 153:n.WBProps=e;break;case 39:null!=e.Sheet&&(a.SID=e.Sheet),e.Ref=e.Ptg?Wc(e.Ptg,0,null,c,a):"#REF!",delete a.SID,delete e.Ptg,o.push(e);break;case 1036:break;case 357:case 358:case 355:case 667:c[0].length?c.push([r,e]):c[0]=[r,e],c[c.length-1].XTI=[];break;case 362:0===c.length&&(c[0]=[],c[0].XTI=[]),c[c.length-1].XTI=c[c.length-1].XTI.concat(e),c.XTI=c.XTI.concat(e);break;case 361:break;case 2071:case 158:case 143:case 664:case 353:break;case 3072:case 3073:case 534:case 677:case 157:case 610:case 2050:case 155:case 548:case 676:case 128:case 665:case 2128:case 2125:case 549:case 2053:case 596:case 2076:case 2075:case 2082:case 397:case 154:case 1117:case 553:case 2091:break;case 35:s.push(r),i=!0;break;case 36:s.pop(),i=!1;break;case 37:s.push(r),i=!0;break;case 38:s.pop(),i=!1;break;case 16:break;default:if(!t.T&&(!i||a.WTF&&37!=s[s.length-1]&&35!=s[s.length-1]))throw new Error("Unexpected record 0x"+r.toString(16))}},a),Jl(n),n.Names=o,n.supbooks=c,n}:function(a,n){if(!a)throw new Error("Could not find file");var s={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},Names:[],xmlns:""},i=!1,o="xmlns",c={},l=0;if(a.replace(It,function(e,t){var r=Nt(e);switch(Ft(r[0])){case"":break;case"":case"":case"":break;case"":Xl.forEach(function(e){if(null!=r[e[0]])switch(e[2]){case"bool":s.WBProps[e[0]]=Kt(r[e[0]]);break;case"int":s.WBProps[e[0]]=parseInt(r[e[0]],10);break;default:s.WBProps[e[0]]=r[e[0]]}}),r.codeName&&(s.WBProps.CodeName=er(r.codeName));break;case"":case"":break;case"":case"":break;case"":delete r[0],s.WBView.push(r);break;case"":break;case"":case"":break;case"":break;case"":case"":case"":case"":break;case"":case"":i=!1;break;case"":c.Ref=Ut(er(a.slice(l,t))),s.Names.push(c);break;case"":break;case"":delete r[0],s.CalcPr=r;break;case"":case"":case"":case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":break;case"":case"":case"":case"":case"":break;case"":i=!1;break;case"":i=!0;break;case"":i=!1;break;case"=a[0].s.r&&d.r<=a[0].e.r&&b>=a[0].s.c&&b<=a[0].e.c&&(p.F=da(a[0]),C=!0)}!C&&3d.r&&(k.s.r=d.r),k.s.c>b&&(k.s.c=b),k.e.rd.r&&(k.s.r=d.r),k.s.c>b&&(k.s.c=b),k.e.r=e.s;)F[e.e--]={width:e.w/256,hidden:!!(1&e.flags),level:e.level},P||(P=!0,Eo(e.w/256)),_o(F[e.e+1]);break;case 551:e&&(u["!legrel"]=e);break;case 161:u["!autofilter"]={ref:da(e)};break;case 476:u["!margins"]=e;break;case 147:o.Sheets[s]||(o.Sheets[s]={}),e.name&&(o.Sheets[s].CodeName=e.name),(e.above||e.left)&&(u["!outline"]={above:e.above,left:e.left});break;case 137:o.Views||(o.Views=[{}]),o.Views[0]||(o.Views[0]={}),e.RTL&&(o.Views[0].RTL=!0);break;case 485:break;case 64:case 1053:case 151:break;case 152:case 175:case 644:case 625:case 562:case 396:case 1112:case 1146:case 471:case 1050:case 649:case 1105:case 589:case 607:case 564:case 1055:case 168:case 174:case 1180:case 499:case 507:case 550:case 171:case 167:case 1177:case 169:case 1181:case 552:case 661:case 639:case 478:case 537:case 477:case 536:case 1103:case 680:case 1104:case 1024:case 663:case 535:case 678:case 504:case 1043:case 428:case 170:case 3072:case 50:case 2070:case 1045:break;case 35:_=!0;break;case 36:_=!1;break;case 37:E.push(r),_=!0;break;case 38:E.pop(),_=!1;break;default:if(!t.T&&(!_||f.WTF))throw new Error("Unexpected record 0x"+r.toString(16))}},f),delete f.supbooks,delete f["!row"],!u["!ref"]&&(k.s.r<2e6||h&&(0k.e.r&&(e.e.r=k.e.r),e.e.rk.e.c&&(e.e.c=k.e.c),e.e.c"))),r.Count=e.count,r.Unique=e.uniqueCount}return r}(e,r);var a,n,s}function pf(e,t,r){return".bin"===t.slice(-4)?(a=r,n=[],s=[],o=!(i={}),Qr(e,function(e,t,r){switch(r){case 632:s.push(e);break;case 635:i=e;break;case 637:i.t=e.t,i.h=e.h,i.r=e.r;break;case 636:if(i.author=s[i.iauthor],delete i.iauthor,a.sheetRows&&i.rfx&&a.sheetRows<=i.rfx.r)break;i.t||(i.t=""),delete i.rfx,n.push(i);break;case 3072:break;case 35:o=!0;break;case 36:o=!1;break;case 37:case 38:break;default:if(!t.T&&(!o||a.WTF))throw new Error("Unexpected record 0x"+r.toString(16))}}),n):function(e,a){if(e.match(/<(?:\w+:)?comments *\/>/))return[];var n=[],s=[],t=ht(e,"authors");return t&&t[1]&&t[1].split(/<\/\w*:?author>/).forEach(function(e){""===e||""===e.trim()||(e=e.match(/<(?:\w+:)?author[^<>]*>(.*)/))&&n.push(e[1])}),(e=ht(e,"commentList"))&&e[1]&&e[1].split(/<\/\w*:?comment>/).forEach(function(e){var t,r;""===e||""===e.trim()||(t=e.match(/<(?:\w+:)?comment[^<>]*>/))&&(t={author:(r=Nt(t[0])).authorId&&n[r.authorId]||"sheetjsghost",ref:r.ref,guid:r.guid},r=fa(r.ref),a.sheetRows&&a.sheetRows<=r.r||(e=!!(e=ht(e,"text"))&&!!e[1]&&$i(e[1])||{r:"",t:"",h:""},t.r=e.r,""==e.r&&(e.t=e.h=""),t.t=(e.t||"").replace(/\r\n/g,"\n").replace(/\r/g,"\n"),a.cellHTML&&(t.h=e.h),s.push(t)))}),s}(e,r);var a,n,s,i,o}function mf(e,t){return".bin"===t.slice(-4)?(a=[],Qr(e,function(e,t,r){if(63===r)a.push(e);else if(!t.T)throw new Error("Unexpected record 0x"+r.toString(16))}),a):function(e){var r=[];if(!e)return r;var a=1;return(e.match(It)||[]).forEach(function(e){var t=Nt(e);switch(t[0]){case"":case"":break;case"":break;case"":break;case"":break;case"":case"":case"":break;case"":break;case"":o=2;break;case"":o=2;break;case"":case"":case"":break;case"":i=!1;break;case""))>Math.min(1023&s.indexOf(","),1023&s.indexOf(";"))){var o=$e(r);return o.type="string",fi.to_workbook(n,o)}if(-1==s.indexOf("");if(1==t.length){e=wa(ih(t[0],r),r);return e.bookType="html",e}var a=ju();return t.forEach(function(e,t){Ku(a,ih(e,r),"Sheet"+(t+1))}),a.bookType="html",a}(n,r);vf={"General Number":"General","General Date":me[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":me[15],"Short Date":me[14],"Long Time":me[19],"Medium Time":me[18],"Short Time":me[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:me[2],Standard:me[4],Percent:me[10],Scientific:me[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'};var c,l=[];null!=le&&null==r.dense&&(r.dense=le);var f={},h=[],u={},d="";r.dense&&(u["!data"]=[]);var p,m={},g={},b=yf(''),v=0,w=0,T=0,y={s:{r:2e6,c:2e6},e:{r:0,c:0}},k={},E={},_="",S=0,x=[],A={},C={},I=0,O=[],R=[],N={},F=[],D=!1,P=[],M=[],L={},U=0,B=0,W={Sheets:[],WBProps:{date1904:!1}},z={};ur.lastIndex=0,n=nt(n,"\x3c!--","--\x3e");for(var H,$,V,X,G,j="";a=ur.exec(n);)switch(a[3]=(j=a[3]).toLowerCase()){case"data":if("data"==j){if("/"===a[1]){if((c=l.pop())[0]!==a[3])throw new Error("Bad state: "+c.join("|"))}else"/"!==a[0].charAt(a[0].length-2)&&l.push([a[3],!0]);break}if(l[l.length-1][1])break;"/"===a[1]?function(e,t,r,a,n,s,i,o,c,l,f){var h="General",u=a.StyleID,d={};l=l||{};var p=[],m=0;for(void 0===(u=void 0===u&&o?o.StyleID:u)&&i&&(u=i.StyleID);void 0!==s[u];){var g=s[u];if(g.nf&&(h=g.nf),g.Interior&&p.push(g.Interior),!g.Parent)break;u=g.Parent}switch(r.Type){case"Boolean":a.t="b",a.v=Kt(e);break;case"String":a.t="s",a.r=Gt(Ut(e)),a.v=-1]*>/g,""):a.r;break;case"DateTime":"Z"!=e.slice(-1)&&(e+="Z"),a.v=Me(ze(e,f),f),a.v!=a.v&&(a.v=Ut(e)),h&&"General"!=h||(h="yyyy-mm-dd");case"Number":void 0===a.v&&(a.v=+e),a.t||(a.t="n");break;case"Error":a.t="e",a.v=sn[e],!1!==l.cellText&&(a.w=e);break;default:""==e&&""==t?a.t="z":(a.t="s",a.v=Gt(t||e))}if(kf(a,h,l,f),!1!==l.cellFormula)if(a.Formula){r=Ut(a.Formula);61==r.charCodeAt(0)&&(r=r.slice(1)),a.f=hc(r,n),delete a.Formula,"RC"==a.ArrayRange?a.F=hc("RC:RC",n):a.ArrayRange&&(a.F=hc(a.ArrayRange,n),c.push([ga(a.F),a.F]))}else for(m=0;m=c[m][0].s.r&&n.r<=c[m][0].e.r&&n.c>=c[m][0].s.c&&n.c<=c[m][0].e.c&&(a.F=c[m][1]);l.cellStyles&&(p.forEach(function(e){!d.patternType&&e.patternType&&(d.patternType=e.patternType)}),a.s=d),void 0!==a.StyleID&&(a.ixfe=a.StyleID)}(n.slice(v,a.index),_,b,"comment"==l[l.length-1][0]?N:m,{c:w,r:T},k,F[w],g,P,r,W.WBProps.date1904):(_="",b=yf(a[0]),v=a.index+a[0].length);break;case"cell":if("/"===a[1])if(0T)&&void 0!==m.v&&(r.dense?(u["!data"][T]||(u["!data"][T]=[]),u["!data"][T][w]=m):u[la(w)+oa(T)]=m),m.HRef&&(m.l={Target:Ut(m.HRef)},m.HRefScreenTip&&(m.l.Tooltip=m.HRefScreenTip),delete m.HRef,delete m.HRefScreenTip),(m.MergeAcross||m.MergeDown)&&(U=w+(0|parseInt(m.MergeAcross,10)),B=T+(0|parseInt(m.MergeDown,10)),(wy.e.c&&(y.e.c=w),"/>"===a[0].slice(-2)&&++w,R=[];break;case"row":"/"===a[1]||"/>"===a[0].slice(-2)?(Ty.e.r&&(y.e.r=T),"/>"===a[0].slice(-2)&&(g=yf(a[0])).Index&&(T=+g.Index-1),w=0,++T):((g=yf(a[0])).Index&&(T=+g.Index-1),L={},"0"!=g.AutoFitHeight&&!g.Height||(L.hpx=parseInt(g.Height,10),L.hpt=xo(L.hpx),M[T]=L),"1"==g.Hidden&&(L.hidden=!0,M[T]=L));break;case"worksheet":if("/"===a[1]){if((c=l.pop())[0]!==a[3])throw new Error("Bad state: "+c.join("|"));h.push(d),y.s.r<=y.e.r&&y.s.c<=y.e.c&&(u["!ref"]=da(y),r.sheetRows&&r.sheetRows<=y.e.r&&(u["!fullref"]=u["!ref"],y.e.r=r.sheetRows-1,u["!ref"]=da(y))),x.length&&(u["!merges"]=x),0"==a[0].slice(-2))break;l.push([a[3],!1]),D=!(F=[])}break;case"style":"/"===a[1]?(V=k,X=E,(G=r).cellStyles&&(!X.Interior||(G=X.Interior).Pattern&&(G.patternType=Co[G.Pattern]||G.Pattern)),V[X.ID]=X):E=yf(a[0]);break;case"numberformat":E.nf=Ut(yf(a[0]).Format||"General"),vf[E.nf]&&(E.nf=vf[E.nf]);for(var Z=0;392!=Z&&me[Z]!=E.nf;++Z);if(392==Z)for(Z=57;392!=Z;++Z)if(null==me[Z]){Ee(E.nf,Z);break}break;case"column":if("table"!==l[l.length-1][0])break;if("/"===a[1])break;if((p=yf(a[0])).Hidden&&(p.hidden=!0,delete p.Hidden),p.Width&&(p.wpx=parseInt(p.Width,10)),!D&&10"===a[0].slice(-2))break;"/"===a[1]?_+=n.slice(S,a.index):S=a.index+a[0].length;break;case"interior":if(!r.cellStyles)break;E.Interior=yf(a[0]);break;case"protection":break;case"author":case"title":case"description":case"created":case"keywords":case"subject":case"category":case"company":case"lastauthor":case"lastsaved":case"lastprinted":case"version":case"revision":case"totaltime":case"hyperlinkbase":case"manager":case"contentstatus":case"identifier":case"language":case"appname":if("/>"===a[0].slice(-2))break;"/"===a[1]?($=A,Q=j,ee=n.slice(I,a.index),$[Q=(On=On||Re(Rn))[Q]||Q]=ee):I=a.index+a[0].length;break;case"paragraphs":break;case"styles":case"workbook":if("/"===a[1]){if((c=l.pop())[0]!==a[3])throw new Error("Bad state: "+c.join("|"))}else l.push([a[3],!1]);break;case"comment":if("/"===a[1]){if((c=l.pop())[0]!==a[3])throw new Error("Bad state: "+c.join("|"));(H=N).t=H.v||"",H.t=H.t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),H.v=H.w=H.ixfe=void 0,R.push(N)}else l.push([a[3],!1]),Kt((c=yf(a[0])).ShowAlways||"0")||(R.hidden=!0),N={a:c.Author};break;case"autofilter":if("/"===a[1]){if((c=l.pop())[0]!==a[3])throw new Error("Bad state: "+c.join("|"))}else"/"!==a[0].charAt(a[0].length-2)&&(H=yf(a[0]),u["!autofilter"]={ref:hc(H.Range).replace(/\$/g,"")},l.push([a[3],!0]));break;case"name":break;case"datavalidation":if("/"===a[1]){if((c=l.pop())[0]!==a[3])throw new Error("Bad state: "+c.join("|"))}else"/"!==a[0].charAt(a[0].length-2)&&l.push([a[3],!0]);break;case"pixelsperinch":break;case"componentoptions":case"documentproperties":case"customdocumentproperties":case"officedocumentsettings":case"pivottable":case"pivotcache":case"names":case"mapinfo":case"pagebreaks":case"querytable":case"sorting":case"schema":case"conditionalformatting":case"smarttagtype":case"smarttags":case"excelworkbook":case"workbookoptions":case"worksheetoptions":if("/"===a[1]){if((c=l.pop())[0]!==a[3])throw new Error("Bad state: "+c.join("|"))}else"/"!==a[0].charAt(a[0].length-2)&&l.push([a[3],!0]);break;case"null":break;default:if(0==l.length&&"document"==a[3])return vh(n,r);if(0==l.length&&"uof"==a[3])return vh(n,r);var te=!0;switch(l[l.length-1][0]){case"officedocumentsettings":switch(a[3]){case"allowpng":case"removepersonalinformation":case"downloadcomponents":case"locationofcomponents":case"colors":case"color":case"index":case"rgb":case"targetscreensize":case"readonlyrecommended":break;default:te=!1}break;case"componentoptions":switch(a[3]){case"toolbar":case"hideofficelogo":case"spreadsheetautofit":case"label":case"caption":case"maxheight":case"maxwidth":case"nextsheetnumber":break;default:te=!1}break;case"excelworkbook":switch(a[3]){case"date1904":W.WBProps.date1904=!0;break;case"hidehorizontalscrollbar":case"hideverticalscrollbar":case"hideworkbooktabs":case"windowheight":case"windowwidth":case"windowtopx":case"windowtopy":case"tabratio":case"protectstructure":case"protectwindow":case"protectwindows":case"activesheet":case"displayinknotes":case"firstvisiblesheet":case"supbook":case"sheetname":case"sheetindex":case"sheetindexfirst":case"sheetindexlast":case"dll":case"acceptlabelsinformulas":case"donotsavelinkvalues":case"iteration":case"maxiterations":case"maxchange":case"path":case"xct":case"count":case"selectedsheets":case"calculation":case"uncalced":case"startupprompt":case"crn":case"externname":case"formula":case"colfirst":case"collast":case"wantadvise":case"boolean":case"error":case"text":case"ole":case"noautorecover":case"publishobjects":case"donotcalculatebeforesave":case"number":case"refmoder1c1":case"embedsavesmarttags":break;default:te=!1}break;case"workbookoptions":switch(a[3]){case"owcversion":case"height":case"width":break;default:te=!1}break;case"worksheetoptions":switch(a[3]){case"visible":if("/>"!==a[0].slice(-2))if("/"===a[1])switch(n.slice(I,a.index)){case"SheetHidden":z.Hidden=1;break;case"SheetVeryHidden":z.Hidden=2}else I=a.index+a[0].length;break;case"header":u["!margins"]||ol(u["!margins"]={},"xlml"),isNaN(+Nt(a[0]).Margin)||(u["!margins"].header=+Nt(a[0]).Margin);break;case"footer":u["!margins"]||ol(u["!margins"]={},"xlml"),isNaN(+Nt(a[0]).Margin)||(u["!margins"].footer=+Nt(a[0]).Margin);break;case"pagemargins":var re=Nt(a[0]);u["!margins"]||ol(u["!margins"]={},"xlml"),isNaN(+re.Top)||(u["!margins"].top=+re.Top),isNaN(+re.Left)||(u["!margins"].left=+re.Left),isNaN(+re.Right)||(u["!margins"].right=+re.Right),isNaN(+re.Bottom)||(u["!margins"].bottom=+re.Bottom);break;case"displayrighttoleft":W.Views||(W.Views=[]),W.Views[0]||(W.Views[0]={}),W.Views[0].RTL=!0;break;case"freezepanes":case"frozennosplit":break;case"splithorizontal":case"splitvertical":case"donotdisplaygridlines":case"activerow":case"activecol":case"toprowbottompane":case"leftcolumnrightpane":case"unsynced":case"print":case"printerrors":case"panes":case"scale":case"pane":case"number":case"layout":case"pagesetup":case"selected":case"protectobjects":case"enableselection":case"protectscenarios":case"validprinterinfo":case"horizontalresolution":case"verticalresolution":case"numberofcopies":case"activepane":case"toprowvisible":case"leftcolumnvisible":case"fittopage":case"rangeselection":case"papersizeindex":case"pagelayoutzoom":case"pagebreakzoom":case"filteron":case"fitwidth":case"fitheight":case"commentslayout":case"zoom":case"lefttoright":case"gridlines":case"allowsort":case"allowfilter":case"allowinsertrows":case"allowdeleterows":case"allowinsertcols":case"allowdeletecols":case"allowinserthyperlinks":case"allowformatcells":case"allowsizecols":case"allowsizerows":break;case"nosummaryrowsbelowdetail":u["!outline"]||(u["!outline"]={}),u["!outline"].above=!0;break;case"tabcolorindex":case"donotdisplayheadings":case"showpagelayoutzoom":break;case"nosummarycolumnsrightdetail":u["!outline"]||(u["!outline"]={}),u["!outline"].left=!0;break;case"blackandwhite":case"donotdisplayzeros":case"displaypagebreak":case"rowcolheadings":case"donotdisplayoutline":case"noorientation":case"allowusepivottables":case"zeroheight":case"viewablerange":case"selection":case"protectcontents":break;default:te=!1}break;case"pivottable":case"pivotcache":switch(a[3]){case"immediateitemsondrop":case"showpagemultipleitemlabel":case"compactrowindent":case"location":case"pivotfield":case"orientation":case"layoutform":case"layoutsubtotallocation":case"layoutcompactrow":case"position":case"pivotitem":case"datatype":case"datafield":case"sourcename":case"parentfield":case"ptlineitems":case"ptlineitem":case"countofsameitems":case"item":case"itemtype":case"ptsource":case"cacheindex":case"consolidationreference":case"filename":case"reference":case"nocolumngrand":case"norowgrand":case"blanklineafteritems":case"hidden":case"subtotal":case"basefield":case"mapchilditems":case"function":case"refreshonfileopen":case"printsettitles":case"mergelabels":case"defaultversion":case"refreshname":case"refreshdate":case"refreshdatecopy":case"versionlastrefresh":case"versionlastupdate":case"versionupdateablemin":case"versionrefreshablemin":case"calculation":break;default:te=!1}break;case"pagebreaks":switch(a[3]){case"colbreaks":case"colbreak":case"rowbreaks":case"rowbreak":case"colstart":case"colend":case"rowend":break;default:te=!1}break;case"autofilter":switch(a[3]){case"autofiltercolumn":case"autofiltercondition":case"autofilterand":case"autofilteror":break;default:te=!1}break;case"querytable":switch(a[3]){case"id":case"autoformatfont":case"autoformatpattern":case"querysource":case"querytype":case"enableredirections":case"refreshedinxl9":case"urlstring":case"htmltables":case"connection":case"commandtext":case"refreshinfo":case"notitles":case"nextid":case"columninfo":case"overwritecells":case"donotpromptforfile":case"textwizardsettings":case"source":case"number":case"decimal":case"thousandseparator":case"trailingminusnumbers":case"formatsettings":case"fieldtype":case"delimiters":case"tab":case"comma":case"autoformatname":case"versionlastedit":case"versionlastrefresh":break;default:te=!1}break;case"datavalidation":switch(a[3]){case"range":case"type":case"min":case"max":case"sort":case"descending":case"order":case"casesensitive":case"value":case"errorstyle":case"errormessage":case"errortitle":case"inputmessage":case"inputtitle":case"combohide":case"inputhide":case"condition":case"qualifier":case"useblank":case"value1":case"value2":case"format":case"cellrangelist":break;default:te=!1}break;case"sorting":case"conditionalformatting":switch(a[3]){case"range":case"type":case"min":case"max":case"sort":case"descending":case"order":case"casesensitive":case"value":case"errorstyle":case"errormessage":case"errortitle":case"cellrangelist":case"inputmessage":case"inputtitle":case"combohide":case"inputhide":case"condition":case"qualifier":case"useblank":case"value1":case"value2":case"format":break;default:te=!1}break;case"mapinfo":case"schema":case"data":switch(a[3]){case"map":case"entry":case"range":case"xpath":case"field":case"xsdtype":case"filteron":case"aggregate":case"elementtype":case"attributetype":break;case"schema":case"element":case"complextype":case"datatype":case"all":case"attribute":case"extends":case"row":break;default:te=!1}break;case"smarttags":break;default:te=!1}if(te)break;if(a[3].match(/!\[CDATA/))break;if(!l[l.length-1][1])throw"Unrecognized tag: "+a[3]+"|"+l.join("|");if("customdocumentproperties"===l[l.length-1][0]){if("/>"===a[0].slice(-2))break;"/"===a[1]?function(e,t,r,a){var n=a;switch((r[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":n=Kt(a);break;case"i2":case"int":n=parseInt(a,10);break;case"r4":case"float":n=parseFloat(a);break;case"date":case"dateTime.tz":n=ze(a);break;case"i8":case"string":case"fixed":case"uuid":case"bin.base64":break;default:throw new Error("bad custprop:"+r[0])}e[Ut(t)]=n}(C,j,O,n.slice(I,a.index)):I=(O=a).index+a[0].length;break}if(r.WTF)throw"Unrecognized tag: "+a[3]+"|"+l.join("|")}o={};return r.bookSheets||r.bookProps||(o.Sheets=f),o.SheetNames=h,o.Workbook=W,o.SSF=$e(me),o.Props=A,o.Custprops=C,o.bookType="xlml",o}function _f(e,t){switch(pu(t=t||{}),t.type||"base64"){case"base64":return Ef(te(e),t);case"binary":case"buffer":case"file":return Ef(e,t);case"array":return Ef(k(e),t)}}function Sf(e,t){var r,a,n,s,i,o,c,l=[];return e.Props&&l.push((r=e.Props,a=t,n=[],Ie(Rn).map(function(e){for(var t=0;t'+c.join("")+"")),l.join("")}function xf(e){return(((e||{}).Workbook||{}).WBProps||{}).date1904?'':""}function Af(e,t){var a=[''];return t.cellXfs.forEach(function(e,t){var r=[];r.push(lr("NumberFormat",null,{"ss:Format":zt(me[e.numFmtId])}));t={"ss:ID":"s"+(21+t)};a.push(lr("Style",r.join(""),t))}),lr("Styles",a.join(""))}function Cf(e){return lr("NamedRange",null,{"ss:Name":"_xlnm."==e.Name.slice(0,6)?e.Name.slice(6):e.Name,"ss:RefersTo":"="+pc(e.Ref,{r:0,c:0})})}function If(e){if(!((e||{}).Workbook||{}).Names)return"";for(var t=e.Workbook.Names,r=[],a=0;a"),t["!margins"].header&&n.push(lr("Header",null,{"x:Margin":t["!margins"].header})),t["!margins"].footer&&n.push(lr("Footer",null,{"x:Margin":t["!margins"].footer})),n.push(lr("PageMargins",null,{"x:Bottom":t["!margins"].bottom||"0.75","x:Left":t["!margins"].left||"0.7","x:Right":t["!margins"].right||"0.7","x:Top":t["!margins"].top||"0.75"})),n.push("")),a&&a.Workbook&&a.Workbook.Sheets&&a.Workbook.Sheets[r])if(a.Workbook.Sheets[r].Hidden)n.push(lr("Visible",1==a.Workbook.Sheets[r].Hidden?"SheetHidden":"SheetVeryHidden",{}));else{for(var s=0;s")}return((((a||{}).Workbook||{}).Views||[])[0]||{}).RTL&&n.push(""),t["!protect"]&&(n.push(or("ProtectContents","True")),t["!protect"].objects&&n.push(or("ProtectObjects","True")),t["!protect"].scenarios&&n.push(or("ProtectScenarios","True")),null==t["!protect"].selectLockedCells||t["!protect"].selectLockedCells?null==t["!protect"].selectUnlockedCells||t["!protect"].selectUnlockedCells||n.push(or("EnableSelection","UnlockedCells")):n.push(or("EnableSelection","NoSelection")),[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","AllowSizeRows"],["insertColumns","AllowInsertCols"],["insertRows","AllowInsertRows"],["insertHyperlinks","AllowInsertHyperlinks"],["deleteColumns","AllowDeleteCols"],["deleteRows","AllowDeleteRows"],["sort","AllowSort"],["autoFilter","AllowFilter"],["pivotTables","AllowUsePivotTables"]].forEach(function(e){t["!protect"][e[0]]&&n.push("<"+e[1]+"/>")})),0==n.length?"":lr("WorksheetOptions",n.join(""),{xmlns:mr.x})}function Nf(e,t,r,a,n,s,i){if(!e||null==e.v&&null==e.f)return"";var o={};if(e.f&&(o["ss:Formula"]="="+zt(pc(e.f,i))),e.F&&e.F.slice(0,t.length)==t&&(t=fa(e.F.slice(t.length+1)),o["ss:ArrayRange"]="RC:R"+(t.r==i.r?"":"["+(t.r-i.r)+"]")+"C"+(t.c==i.c?"":"["+(t.c-i.c)+"]")),e.l&&e.l.Target&&(o["ss:HRef"]=zt(e.l.Target),e.l.Tooltip&&(o["x:HRefScreenTip"]=zt(e.l.Tooltip))),r["!merges"])for(var c=r["!merges"],l=0;l!=c.length;++l)c[l].s.c==i.c&&c[l].s.r==i.r&&(c[l].e.c>c[l].s.c&&(o["ss:MergeAcross"]=c[l].e.c-c[l].s.c),c[l].e.r>c[l].s.r&&(o["ss:MergeDown"]=c[l].e.r-c[l].s.r));var f="",h="";switch(e.t){case"z":if(!a.sheetStubs)return"";break;case"n":h=isFinite(e.v)?(f="Number",String(e.v)):(f="Error",nn[isNaN(e.v)?36:7]);break;case"b":f="Boolean",h=e.v?"1":"0";break;case"e":f="Error",h=nn[e.v];break;case"d":f="DateTime",h=new Date(e.v).toISOString(),null==e.z&&(e.z=e.z||me[14]);break;case"s":f="String",h=((e.v||"")+"").replace(Bt,function(e){return Lt[e]}).replace($t,function(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"})}r=cl(a.cellXfs,e,a);o["ss:StyleID"]="s"+(21+r),o["ss:Index"]=i.c+1;var u,r=null!=e.v?h:"",r="z"==e.t?"":''+r+"";return 0<(e.c||[]).length&&(r+=(u=e.c).map(function(e){var t=lr("ss:Data",(e.t||"").replace(/(\r\n|[\r\n])/g," "),{xmlns:"http://www.w3.org/TR/REC-html40"}),r={};return e.a&&(r["ss:Author"]=e.a),u.hidden||(r["ss:ShowAlways"]="1"),lr("Comment",t,r)}).join("")),lr("Cell",r,o)}function Ff(e,t){e='"}function Df(e,t,r){var a=[],n=r.SheetNames[e],s=r.Sheets[n],n=s?Of(s,0,e,r):"";return 0"+n+""),0<(n=s?function(e,t){if(!e["!ref"])return"";var r=ga(e["!ref"]),a=e["!merges"]||[],n=0,s=[];e["!cols"]&&e["!cols"].forEach(function(e,t){_o(e);var r=!!e.width,a=il(t,e),t={"ss:Index":t+1};r&&(t["ss:Width"]=wo(a.width)),e.hidden&&(t["ss:Hidden"]="1"),s.push(lr("Column",null,t))});for(var i=null!=e["!data"],o={r:0,c:0},c=r.s.r;c<=r.e.r;++c){var l=[Ff(c,(e["!rows"]||[])[c])];o.r=c;for(var f=r.s.c;f<=r.e.c;++f){o.c=f;for(var h,u,d=!1,n=0;n!=a.length;++n)if(!(a[n].s.c>f||a[n].s.r>c||a[n].e.c"),2"+n+""),a.push(Rf(s,0,e,r)),s&&s["!autofilter"]&&a.push(''),a.join("")}function Pf(e){var t={},r=e.content;if(r.l=28,t.AnsiUserType=r.read_shift(0,"lpstr-ansi"),t.AnsiClipboardFormat=ja(r,1),r.length-r.l<=4)return t;e=r.read_shift(4);return 0==e||40=r.sheetRows)){var a,n,s;if(r.cellStyles&&t.XF&&t.XF.data&&(n=r,(s=(a=t).XF.data)&&s.patternType&&n&&n.cellStyles&&(a.s={},a.s.patternType=s.patternType,(n=uo(c(s.icvFore)))&&(a.s.fgColor={rgb:n}),(n=uo(c(s.icvBack)))&&(a.s.bgColor={rgb:n}))),delete t.ixfe,delete t.XF,v=ha(l=e),d&&d.s&&d.e||(d={s:{r:0,c:0},e:{r:0,c:0}}),e.rd.e.r&&(d.e.r=e.r+1),e.c+1>d.e.c&&(d.e.c=e.c+1),r.cellFormula&&t.f)for(var i=0;ie.c||T[i][0].s.r>e.r||T[i][0].e.c>8)!==z)throw new Error("rt mismatch: "+V+"!="+z);12==$.r&&(e.l+=10,H-=10)}var X,G,j,K,Y={},Y=10===z?$.f(e,H,x):function(e,t,r,a,n){var s=a,i=[],o=r.slice(r.l,r.l+s);if(n&&n.enc&&n.enc.insitu&&0>8&63]),Lf(ee,t,r.opts.Date1904),n({c:Y.c,r:Y.r},ee,t);break;case 5:case 517:ee={ixfe:Y.ixfe,XF:y[Y.ixfe],v:Y.val,t:Y.t},0>8&63]),Lf(ee,t,r.opts.Date1904),n({c:Y.c,r:Y.r},ee,t);break;case 638:ee={ixfe:Y.ixfe,XF:y[Y.ixfe],v:Y.rknum,t:"n"},0>8&63]),Lf(ee,t,r.opts.Date1904),n({c:Y.c,r:Y.r},ee,t);break;case 189:for(var q=Y.c;q<=Y.C;++q){var Q=Y.rkrec[q-Y.c][0],ee={ixfe:Q,XF:y[Q],v:Y.rkrec[q-Y.c][1],t:"n"};0>8&63]),Lf(ee,t,r.opts.Date1904),n({c:q,r:Y.r},ee,t)}break;case 6:case 518:case 1030:if("String"==Y.val){p=Y;break}(ee=Uf(Y.val,Y.cell.ixfe,Y.tt)).XF=y[ee.ixfe],t.cellFormula&&(!((te=Y.formula)&&te[0]&&te[0][0]&&"PtgExp"==te[0][0][0])||w[j=ha({r:X=te[0][0][1][0],c:G=te[0][0][1][1]})]?ee.f=""+Wc(Y.formula,0,Y.cell,N,x):ee.F=((t.dense?(o["!data"][X]||[])[G]:o[j])||{}).F),0>8&63]),Lf(ee,t,r.opts.Date1904),n(Y.cell,ee,t),p=Y;break;case 7:case 519:if(!p)throw new Error("String record expects Formula");(ee=Uf(p.val=Y,p.cell.ixfe,"s")).XF=y[ee.ixfe],t.cellFormula&&(ee.f=""+Wc(p.formula,0,p.cell,N,x)),0>8&63]),Lf(ee,t,r.opts.Date1904),n(p.cell,ee,t),p=null;break;case 33:case 545:T.push(Y);var te=ha(Y[0].s),re=t.dense?(o["!data"][Y[0].s.r]||[])[Y[0].s.c]:o[te];if(t.cellFormula&&re){if(!p)break;if(!te||!re)break;re.f=""+Wc(Y[1],0,Y[0],N,x),re.F=da(Y[0])}break;case 1212:if(!t.cellFormula)break;if(v){if(!p)break;w[ha(p.cell)]=Y[0],((re=t.dense?(o["!data"][p.cell.r]||[])[p.cell.c]:o[ha(p.cell)])||{}).f=""+Wc(Y[0],0,l,N,x)}break;case 253:ee=Uf(m[Y.isst].t,Y.ixfe,"s"),m[Y.isst].h&&(ee.h=m[Y.isst].h),ee.XF=y[ee.ixfe],0>8&63]),Lf(ee,t,r.opts.Date1904),n({c:Y.c,r:Y.r},ee,t);break;case 513:t.sheetStubs&&(ee={ixfe:Y.ixfe,XF:y[Y.ixfe],t:"z"},0>8&63]),Lf(ee,t,r.opts.Date1904),n({c:Y.c,r:Y.r},ee,t));break;case 190:if(t.sheetStubs)for(var ae=Y.c;ae<=Y.C;++ae){var ne=Y.ixfe[ae-Y.c];ee={ixfe:ne,XF:y[ne],t:"z"},0>8&63]),Lf(ee,t,r.opts.Date1904),n({c:ae,r:Y.r},ee,t)}break;case 214:case 516:case 4:(ee=Uf(Y.val,Y.ixfe,"s")).XF=y[ee.ixfe],0>8&63]),Lf(ee,t,r.opts.Date1904),n({c:Y.c,r:Y.r},ee,t);break;case 0:case 512:1===P&&(d=Y);break;case 252:m=Y;break;case 1054:if(3<=x.biff&&x.biff<=4){L[M++]=Y[1];for(var se=0;se=Y.s;)I[Y.e--]={width:Y.w/256,level:Y.level||0,hidden:!!(1&Y.flags)},R||(R=!0,Eo(Y.w/256)),_o(I[Y.e+1]);break;case 520:var oe={};null!=Y.level&&((O[Y.r]=oe).level=Y.level),Y.hidden&&((O[Y.r]=oe).hidden=!0),Y.hpt&&((O[Y.r]=oe).hpt=Y.hpt,oe.hpx=Ao(Y.hpt));break;case 38:case 39:case 40:case 41:o["!margins"]||ol(o["!margins"]={}),o["!margins"][{38:"left",39:"right",40:"top",41:"bottom"}[z]]=Y;break;case 161:o["!margins"]||ol(o["!margins"]={}),o["!margins"].header=Y.header,o["!margins"].footer=Y.footer;break;case 574:Y.RTL&&(E.Views[0].RTL=!0);break;case 146:k=Y;break;case 2198:h=Y;break;case 140:f=Y;break;case 442:g?_.CodeName=Y||_.name:E.WBProps.CodeName=Y||"ThisWorkbook"}}else $||console.error("Missing Info for XLS Record 0x"+z.toString(16)),e.l+=H}return r.SheetNames=Ie(u).sort(function(e,t){return Number(e)-Number(t)}).map(function(e){return u[e].name}),t.bookSheets||(r.Sheets=a),!r.SheetNames.length&&b["!ref"]?(r.SheetNames.push("Sheet1"),r.Sheets&&(r.Sheets.Sheet1=b)):r.Preamble=b,r.Sheets&&U.forEach(function(e,t){r.Sheets[r.SheetNames[t]]["!autofilter"]=e}),r.Strings=m,r.SSF=$e(me),x.enc&&(r.Encryption=x.enc),h&&(r.Themes=h),r.Metadata={},void 0!==f&&(r.Metadata.Country=f),0>>1,a=e.read_shift(1),n=e.read_shift(2,"i"),s=e.read_shift(1),i=e.read_shift(1),o=e.read_shift(1);switch(e.l++,r){case 0:t.auto=1;break;case 1:t.index=a;var c=an[a];c&&(t.rgb=uo(c));break;case 2:t.rgb=uo([s,i,o]);break;case 3:t.theme=a}return 0!=n&&(t.tint=0>13&3],r.showPivotChartFilter=!!(32768&a),r.updateLinks=["userSet","never","always"][a>>8&3],r}},154:{},155:{},156:{f:function(e,t){var r={};return r.Hidden=e.read_shift(4),r.iTabID=e.read_shift(4),r.strRelID=La(e,t-8),r.name=Ea(e),r}},157:{},158:{},159:{T:1,f:function(e){return[e.read_shift(4),e.read_shift(4)]}},160:{T:-1},161:{T:1,f:Ha},162:{T:-1},163:{T:1},164:{T:-1},165:{T:1},166:{T:-1},167:{},168:{},169:{},170:{},171:{},172:{T:1},173:{T:-1},174:{},175:{},176:{f:Qt},177:{T:1},178:{T:-1},179:{T:1},180:{T:-1},181:{T:1},182:{T:-1},183:{T:1},184:{T:-1},185:{T:1},186:{T:-1},187:{T:1},188:{T:-1},189:{T:1},190:{T:-1},191:{T:1},192:{T:-1},193:{T:1},194:{T:-1},195:{T:1},196:{T:-1},197:{T:1},198:{T:-1},199:{T:1},200:{T:-1},201:{T:1},202:{T:-1},203:{T:1},204:{T:-1},205:{T:1},206:{T:-1},207:{T:1},208:{T:-1},209:{T:1},210:{T:-1},211:{T:1},212:{T:-1},213:{T:1},214:{T:-1},215:{T:1},216:{T:-1},217:{T:1},218:{T:-1},219:{T:1},220:{T:-1},221:{T:1},222:{T:-1},223:{T:1},224:{T:-1},225:{T:1},226:{T:-1},227:{T:1},228:{T:-1},229:{T:1},230:{T:-1},231:{T:1},232:{T:-1},233:{T:1},234:{T:-1},235:{T:1},236:{T:-1},237:{T:1},238:{T:-1},239:{T:1},240:{T:-1},241:{T:1},242:{T:-1},243:{T:1},244:{T:-1},245:{T:1},246:{T:-1},247:{T:1},248:{T:-1},249:{T:1},250:{T:-1},251:{T:1},252:{T:-1},253:{T:1},254:{T:-1},255:{T:1},256:{T:-1},257:{T:1},258:{T:-1},259:{T:1},260:{T:-1},261:{T:1},262:{T:-1},263:{T:1},264:{T:-1},265:{T:1},266:{T:-1},267:{T:1},268:{T:-1},269:{T:1},270:{T:-1},271:{T:1},272:{T:-1},273:{T:1},274:{T:-1},275:{T:1},276:{T:-1},277:{},278:{T:1},279:{T:-1},280:{T:1},281:{T:-1},282:{T:1},283:{T:1},284:{T:-1},285:{T:1},286:{T:-1},287:{T:1},288:{T:-1},289:{T:1},290:{T:-1},291:{T:1},292:{T:-1},293:{T:1},294:{T:-1},295:{T:1},296:{T:-1},297:{T:1},298:{T:-1},299:{T:1},300:{T:-1},301:{T:1},302:{T:-1},303:{T:1},304:{T:-1},305:{T:1},306:{T:-1},307:{T:1},308:{T:-1},309:{T:1},310:{T:-1},311:{T:1},312:{T:-1},313:{T:-1},314:{T:1},315:{T:-1},316:{T:1},317:{T:-1},318:{T:1},319:{T:-1},320:{T:1},321:{T:-1},322:{T:1},323:{T:-1},324:{T:1},325:{T:-1},326:{T:1},327:{T:-1},328:{T:1},329:{T:-1},330:{T:1},331:{T:-1},332:{T:1},333:{T:-1},334:{T:1},335:{f:function(e,t){return{flags:e.read_shift(4),version:e.read_shift(4),name:Ea(e)}}},336:{T:-1},337:{f:function(e){return e.l+=4,0!=e.read_shift(4)},T:1},338:{T:-1},339:{T:1},340:{T:-1},341:{T:1},342:{T:-1},343:{T:1},344:{T:-1},345:{T:1},346:{T:-1},347:{T:1},348:{T:-1},349:{T:1},350:{T:-1},351:{},352:{},353:{T:1},354:{T:-1},355:{f:La},357:{},358:{},359:{},360:{T:1},361:{},362:{f:Ns},363:{},364:{},366:{},367:{},368:{},369:{},370:{},371:{},372:{T:1},373:{T:-1},374:{T:1},375:{T:-1},376:{T:1},377:{T:-1},378:{T:1},379:{T:-1},380:{T:1},381:{T:-1},382:{T:1},383:{T:-1},384:{T:1},385:{T:-1},386:{T:1},387:{T:-1},388:{T:1},389:{T:-1},390:{T:1},391:{T:-1},392:{T:1},393:{T:-1},394:{T:1},395:{T:-1},396:{},397:{},398:{},399:{},400:{},401:{T:1},403:{},404:{},405:{},406:{},407:{},408:{},409:{},410:{},411:{},412:{},413:{},414:{},415:{},416:{},417:{},418:{},419:{},420:{},421:{},422:{T:1},423:{T:1},424:{T:-1},425:{T:-1},426:{f:function(e,t,r){var a=e.l+t,n=za(e),t=e.read_shift(1);return(n=[n])[2]=t,r.cellFormula?(r=Vc(e,a-e.l,r),n[1]=r):e.l=a,n}},427:{f:function(e,t,r){var a=e.l+t,t=[Ha(e,16)];return r.cellFormula&&(r=jc(e,a-e.l,r),t[1]=r),e.l=a,t}},428:{},429:{T:1},430:{T:-1},431:{T:1},432:{T:-1},433:{T:1},434:{T:-1},435:{T:1},436:{T:-1},437:{T:1},438:{T:-1},439:{T:1},440:{T:-1},441:{T:1},442:{T:-1},443:{T:1},444:{T:-1},445:{T:1},446:{T:-1},447:{T:1},448:{T:-1},449:{T:1},450:{T:-1},451:{T:1},452:{T:-1},453:{T:1},454:{T:-1},455:{T:1},456:{T:-1},457:{T:1},458:{T:-1},459:{T:1},460:{T:-1},461:{T:1},462:{T:-1},463:{T:1},464:{T:-1},465:{T:1},466:{T:-1},467:{T:1},468:{T:-1},469:{T:1},470:{T:-1},471:{},472:{},473:{T:1},474:{T:-1},475:{},476:{f:function(t){var r={};return Pl.forEach(function(e){r[e]=Va(t)}),r}},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:function(){}},486:{T:1},487:{T:-1},488:{T:1},489:{T:-1},490:{T:1},491:{T:-1},492:{T:1},493:{T:-1},494:{f:function(e,t){var r=e.l+t,a=Ha(e,16),n=Da(e),s=Ea(e),i=Ea(e),t=Ea(e);return e.l=r,t={rfx:a,relId:n,loc:s,display:t},i&&(t.Tooltip=i),t}},495:{T:1},496:{T:-1},497:{T:1},498:{T:-1},499:{},500:{T:1},501:{T:-1},502:{T:1},503:{T:-1},504:{},505:{T:1},506:{T:-1},507:{},508:{T:1},509:{T:-1},510:{T:1},511:{T:-1},512:{},513:{},514:{T:1},515:{T:-1},516:{T:1},517:{T:-1},518:{T:1},519:{T:-1},520:{T:1},521:{T:-1},522:{},523:{},524:{},525:{},526:{},527:{},528:{T:1},529:{T:-1},530:{T:1},531:{T:-1},532:{T:1},533:{T:-1},534:{},535:{},536:{},537:{},538:{T:1},539:{T:-1},540:{T:1},541:{T:-1},542:{T:1},548:{},549:{},550:{f:La},551:{f:Da},552:{},553:{},554:{T:1},555:{T:-1},556:{T:1},557:{T:-1},558:{T:1},559:{T:-1},560:{T:1},561:{T:-1},562:{},564:{},565:{T:1},566:{T:-1},569:{T:1},570:{T:-1},572:{},573:{T:1},574:{T:-1},577:{},578:{},579:{},580:{},581:{},582:{},583:{},584:{},585:{},586:{},587:{},588:{T:-1},589:{},590:{T:1},591:{T:-1},592:{T:1},593:{T:-1},594:{T:1},595:{T:-1},596:{},597:{T:1},598:{T:-1},599:{T:1},600:{T:-1},601:{T:1},602:{T:-1},603:{T:1},604:{T:-1},605:{T:1},606:{T:-1},607:{},608:{T:1},609:{T:-1},610:{},611:{T:1},612:{T:-1},613:{T:1},614:{T:-1},615:{T:1},616:{T:-1},617:{T:1},618:{T:-1},619:{T:1},620:{T:-1},625:{},626:{T:1},627:{T:-1},628:{T:1},629:{T:-1},630:{T:1},631:{T:-1},632:{f:nc},633:{T:1},634:{T:-1},635:{T:1,f:function(e){var t={};t.iauthor=e.read_shift(4);var r=Ha(e,16);return t.rfx=r.s,t.ref=ha(r.s),e.l+=16,t}},636:{T:-1},637:{f:xa},638:{T:1},639:{},640:{T:-1},641:{T:1},642:{T:-1},643:{T:1},644:{},645:{T:-1},646:{T:1},648:{T:1},649:{},650:{T:-1},651:{f:function(e,t){return e.l+=10,{name:Ea(e)}}},652:{},653:{T:1},654:{T:-1},655:{T:1},656:{T:-1},657:{T:1},658:{T:-1},659:{},660:{T:1},661:{},662:{T:-1},663:{},664:{T:1},665:{},666:{T:-1},667:{},668:{},669:{},671:{T:1},672:{T:-1},673:{T:1},674:{T:-1},675:{},676:{},677:{},678:{},679:{},680:{},681:{},1024:{},1025:{},1026:{T:1},1027:{T:-1},1028:{T:1},1029:{T:-1},1030:{},1031:{T:1},1032:{T:-1},1033:{T:1},1034:{T:-1},1035:{},1036:{},1037:{},1038:{T:1},1039:{T:-1},1040:{},1041:{T:1},1042:{T:-1},1043:{},1044:{},1045:{},1046:{T:1},1047:{T:-1},1048:{T:1},1049:{T:-1},1050:{},1051:{T:1},1052:{T:1},1053:{f:function(){}},1054:{T:1},1055:{},1056:{T:1},1057:{T:-1},1058:{T:1},1059:{T:-1},1061:{},1062:{T:1},1063:{T:-1},1064:{T:1},1065:{T:-1},1066:{T:1},1067:{T:-1},1068:{T:1},1069:{T:-1},1070:{T:1},1071:{T:-1},1072:{T:1},1073:{T:-1},1075:{T:1},1076:{T:-1},1077:{T:1},1078:{T:-1},1079:{T:1},1080:{T:-1},1081:{T:1},1082:{T:-1},1083:{T:1},1084:{T:-1},1085:{},1086:{T:1},1087:{T:-1},1088:{T:1},1089:{T:-1},1090:{T:1},1091:{T:-1},1092:{T:1},1093:{T:-1},1094:{T:1},1095:{T:-1},1096:{},1097:{T:1},1098:{},1099:{T:-1},1100:{T:1},1101:{T:-1},1102:{},1103:{},1104:{},1105:{},1111:{},1112:{},1113:{T:1},1114:{T:-1},1115:{T:1},1116:{T:-1},1117:{},1118:{T:1},1119:{T:-1},1120:{T:1},1121:{T:-1},1122:{T:1},1123:{T:-1},1124:{T:1},1125:{T:-1},1126:{},1128:{T:1},1129:{T:-1},1130:{},1131:{T:1},1132:{T:-1},1133:{T:1},1134:{T:-1},1135:{T:1},1136:{T:-1},1137:{T:1},1138:{T:-1},1139:{T:1},1140:{T:-1},1141:{},1142:{T:1},1143:{T:-1},1144:{T:1},1145:{T:-1},1146:{},1147:{T:1},1148:{T:-1},1149:{T:1},1150:{T:-1},1152:{T:1},1153:{T:-1},1154:{T:-1},1155:{T:-1},1156:{T:-1},1157:{T:1},1158:{T:-1},1159:{T:1},1160:{T:-1},1161:{T:1},1162:{T:-1},1163:{T:1},1164:{T:-1},1165:{T:1},1166:{T:-1},1167:{T:1},1168:{T:-1},1169:{T:1},1170:{T:-1},1171:{},1172:{T:1},1173:{T:-1},1177:{},1178:{T:1},1180:{},1181:{},1182:{},2048:{T:1},2049:{T:-1},2050:{},2051:{T:1},2052:{T:-1},2053:{},2054:{},2055:{T:1},2056:{T:-1},2057:{T:1},2058:{T:-1},2060:{},2067:{},2068:{T:1},2069:{T:-1},2070:{},2071:{},2072:{T:1},2073:{T:-1},2075:{},2076:{},2077:{T:1},2078:{T:-1},2079:{},2080:{T:1},2081:{T:-1},2082:{},2083:{T:1},2084:{T:-1},2085:{T:1},2086:{T:-1},2087:{T:1},2088:{T:-1},2089:{T:1},2090:{T:-1},2091:{},2092:{},2093:{T:1},2094:{T:-1},2095:{},2096:{T:1},2097:{T:-1},2098:{T:1},2099:{T:-1},2100:{T:1},2101:{T:-1},2102:{},2103:{T:1},2104:{T:-1},2105:{},2106:{T:1},2107:{T:-1},2108:{},2109:{T:1},2110:{T:-1},2111:{T:1},2112:{T:-1},2113:{T:1},2114:{T:-1},2115:{},2116:{},2117:{},2118:{T:1},2119:{T:-1},2120:{},2121:{T:1},2122:{T:-1},2123:{T:1},2124:{T:-1},2125:{},2126:{T:1},2127:{T:-1},2128:{},2129:{T:1},2130:{T:-1},2131:{T:1},2132:{T:-1},2133:{T:1},2134:{},2135:{},2136:{},2137:{T:1},2138:{T:-1},2139:{T:1},2140:{T:-1},2141:{},3072:{},3073:{},4096:{T:1},4097:{T:-1},5002:{T:1},5003:{T:-1},5081:{T:1},5082:{T:-1},5083:{},5084:{T:1},5085:{T:-1},5086:{T:1},5087:{T:-1},5088:{},5089:{},5090:{},5092:{T:1},5093:{T:-1},5094:{},5095:{T:1},5096:{T:-1},5097:{},5099:{},65535:{n:""}},Vf={6:{f:zc},10:{f:Xn},12:{f:Kn},13:{f:Kn},14:{f:Gn},15:{f:Gn},16:{f:Va},17:{f:Gn},18:{f:Gn},19:{f:Kn},20:{f:Is},21:{f:Is},23:{f:Ns},24:{f:Rs},25:{f:Gn},26:{},27:{},28:{f:function(e,t,r){if(r&&r.biff<8){var a=e.read_shift(2),n=e.read_shift(2);if(65535==a||-1==a)return;var s=e.read_shift(2);return[{r:a,c:n},e.read_shift(Math.min(s,2048),"cpstr")]}return i=r,n=(a=e).read_shift(2),s=a.read_shift(2),r=a.read_shift(2),e=a.read_shift(2),[{r:n,c:s},rs(a,0,i),e,r];var i}},29:{},34:{f:Gn},35:{f:Os},38:{f:Va},39:{f:Va},40:{f:Va},41:{f:Va},42:{f:Gn},43:{f:Gn},47:{f:function(e,t,r){var a={Type:8<=r.biff?e.read_shift(2):0};return a.Type?lo(e,t-2,a):(t=e,r.biff,e=r,r=a,t={key:Kn(t),verificationBytes:Kn(t)},e.password&&(t.verifier=ro(e.password)),r.valid=t.verificationBytes===t.verifier,r.valid&&(r.insitu=co(e.password))),a}},49:{f:function(e,t,r){var a={dyHeight:e.read_shift(2),fl:e.read_shift(2)};switch(r&&r.biff||8){case 2:break;case 3:case 4:e.l+=2;break;default:e.l+=10}return a.name=Qn(e,0,r),a}},51:{f:Kn},60:{},61:{f:function(e){return{Pos:[e.read_shift(2),e.read_shift(2)],Dim:[e.read_shift(2),e.read_shift(2)],Flags:e.read_shift(2),CurTab:e.read_shift(2),FirstTab:e.read_shift(2),Selected:e.read_shift(2),TabRatio:e.read_shift(2)}}},64:{f:Gn},65:{f:function(){}},66:{f:Kn},77:{},80:{},81:{},82:{},85:{f:Kn},89:{},90:{},91:{},92:{f:function(e,t,r){if(r.enc)return e.l+=t,"";var a=e.l,r=rs(e,0,r);return e.read_shift(t+a-e.l),r}},93:{f:function(e,t,r){return r&&r.biff<8?function(e,t,r){e.l+=4;var a=e.read_shift(2),n=e.read_shift(2),s=e.read_shift(2);e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=6,t-=36;var i=[];return i.push((Ms[a]||Jr)(e,t,r)),{cmo:[n,a,s],ft:i}}(e,t,r):{cmo:r=gs(e),ft:function(t,e){for(var r=t.l+e,a=[];t.l>2&1,t-=6,i.data=(a=e,i.fStyle,n=r,s={},t=a.read_shift(4),e=a.read_shift(4),r=a.read_shift(4),a=a.read_shift(2),s.patternType=rn[r>>26],n.cellStyles&&(s.alc=7&t,s.fWrap=t>>3&1,s.alcV=t>>4&7,s.fJustLast=t>>7&1,s.trot=t>>8&255,s.cIndent=t>>16&15,s.fShrinkToFit=t>>20&1,s.iReadOrder=t>>22&2,s.fAtrNum=t>>26&1,s.fAtrFnt=t>>27&1,s.fAtrAlc=t>>28&1,s.fAtrBdr=t>>29&1,s.fAtrPat=t>>30&1,s.fAtrProt=t>>31&1,s.dgLeft=15&e,s.dgRight=e>>4&15,s.dgTop=e>>8&15,s.dgBottom=e>>12&15,s.icvLeft=e>>16&127,s.icvRight=e>>23&127,s.grbitDiag=e>>30&3,s.icvTop=127&r,s.icvBottom=r>>7&127,s.icvDiag=r>>14&127,s.dgDiag=r>>21&15,s.icvFore=127&a,s.icvBack=a>>7&127,s.fsxButton=a>>14&1),s),i}},225:{f:function(e,t){return 0===t||e.read_shift(2),1200}},226:{f:Xn},227:{},229:{f:function(e,t){for(var r=[],a=e.read_shift(2);a--;)r.push(us(e));return r}},233:{},235:{},236:{},237:{},239:{},240:{},241:{},242:{},244:{},245:{},246:{},247:{},248:{},249:{},251:{},252:{f:function(e,t){for(var r=e.l+t,t=e.read_shift(4),a=e.read_shift(4),n=[],s=0;s!=a&&e.l"+c.t+"",c.r=c.t),C=t,c}(e));return n.Count=t,n.Unique=a,n}},253:{f:function(e,t,r){return(r=ls(e,t,r)).isst=e.read_shift(4),r}},255:{f:function(e,t){var r={};return r.dsst=e.read_shift(2),e.l+=t-2,r}},256:{},259:{},290:{},311:{},312:{},315:{},317:{f:Zn},318:{},319:{},320:{},330:{},331:{},333:{},334:{},335:{},336:{},337:{},338:{},339:{},340:{},351:{},352:{f:Gn},353:{f:Xn},401:{},402:{},403:{},404:{},405:{},406:{},407:{},408:{},425:{},426:{},427:{},428:{},429:{},430:{f:function(e,t,r){var a=e.l+t,n=e.read_shift(2),t=e.read_shift(2);if(1025==(r.sbcch=t)||14849==t)return[t,n];if(t<1||255e.l;)s.push(ts(e));return[t,n,r,s]}},431:{f:Gn},432:{},433:{},434:{},437:{},438:{f:function(t,r,e){var a=t.l,n="";try{t.l+=4;var s=(e.lastobj||{cmo:[0,0]}).cmo[1];-1==[0,5,7,11,12,14].indexOf(s)?t.l+=6:function(e){var t=e.read_shift(1);e.l++;var r=e.read_shift(2);e.l+=2}(t);var i=t.read_shift(2);t.read_shift(2),Kn(t);s=t.read_shift(2);t.l+=s;for(var o=1;o=(c?i:2*i))break}if(n.length!==i&&n.length!==2*i)throw new Error("cchText: "+i+" != "+n.length);return t.l=a+r,{t:n}}catch(e){return t.l=a+r,{t:n}}}},439:{f:Gn},440:{f:function(e,t){var r=us(e);return e.l+=16,[r,function(e,t){var r=e.l+t;if(2!==(c=e.read_shift(4)))throw new Error("Unrecognized streamVersion: "+c);t=e.read_shift(2),e.l+=2;var a,n,s,i,o,c="";16&t&&(a=ss(e,e.l)),128&t&&(n=ss(e,e.l)),257==(257&t)&&(s=ss(e,e.l)),1==(257&t)&&(l=ns(e,e.l)),8&t&&(c=ss(e,e.l)),32&t&&(i=e.read_shift(16)),64&t&&(o=Nn(e)),e.l=r;var l=n||s||l||"";return l&&c&&(l+="#"+c),l=l||"#"+c,l={Target:l=2&t&&"/"==l.charAt(0)&&"/"!=l.charAt(1)?"file://"+l:l},i&&(l.guid=i),o&&(l.time=o),a&&(l.Tooltip=a),l}(e,t-24)]}},441:{},442:{f:ts},443:{},444:{f:Kn},445:{},446:{},448:{f:Xn},449:{f:function(e){return e.read_shift(2),e.read_shift(4)},r:2},450:{f:Xn},512:{f:_s},513:{f:Bs},515:{f:function(e,t,r){return r.biffguess&&2==r.biff&&(r.biff=5),r=ls(e,6,r),e=Va(e),r.val=e,r}},516:{f:function(e,t,r){return r.biffguess&&2==r.biff&&(r.biff=5),e.l,t=ls(e,t,r),r=ts(e,e.l,r),t.val=r,t}},517:{f:function(e,t,r){return r=ls(e,6,r),e=Jn(e),r.val=e,r.t=!0===e||!1===e?"b":"e",r}},519:{f:zs},520:{f:function(e){var t={};t.r=e.read_shift(2),t.c=e.read_shift(2),t.cnt=e.read_shift(2)-t.c;var r=e.read_shift(2);e.l+=4;var a=e.read_shift(1);return e.l+=3,7&a&&(t.level=7&a),32&a&&(t.hidden=!0),64&a&&(t.hpt=r/20),t}},523:{},545:{f:Ds},549:{f:ks},566:{},574:{f:function(e,t,r){return r&&2<=r.biff&&r.biff<5?{}:{RTL:64&e.read_shift(2)}}},638:{f:function(e){var t=e.read_shift(2),r=e.read_shift(2),e=hs(e);return{r:t,c:r,ixfe:e[0],rknum:e[1]}}},659:{},1048:{},1054:{f:function(e,t,r){return[e.read_shift(2),rs(e,0,r)]}},1084:{},1212:{f:function(e,t,r){var a=ps(e);e.l++;var n=e.read_shift(1);return[function(e,t,r){var a,n=e.l+t,s=e.read_shift(2),i=Mc(e,s,r);if(65535==s)return[[],Jr(e,t-2)];t!==s+2&&(a=Pc(e,n-s-2,i,r));return[i,a]}(e,t-=8,r),n,a]}},2048:{f:function(e,t){return e.read_shift(2),[us(e),e.read_shift((t-10)/2,"dbcs-cont").replace(de,"")]}},2049:{},2050:{},2051:{},2052:{},2053:{},2054:{},2055:{},2056:{},2057:{f:ws},2058:{},2059:{},2060:{},2061:{},2062:{},2063:{},2064:{},2066:{},2067:{},2128:{},2129:{},2130:{},2131:{},2132:{},2133:{},2134:{},2135:{},2136:{},2137:{},2138:{},2146:{},2147:{r:12},2148:{},2149:{},2150:{},2151:{f:Xn},2152:{},2154:{},2155:{},2156:{},2161:{},2162:{},2164:{},2165:{},2166:{},2167:{},2168:{},2169:{},2170:{},2171:{},2172:{f:function(e){e.l+=2;var t={cxfs:0,crc:0};return t.cxfs=e.read_shift(2),t.crc=e.read_shift(4),t},r:12},2173:{f:function(e,t){e.l,e.l+=2,t=e.read_shift(2),e.l+=2;for(var r=e.read_shift(2),a=[];0>=6,t.fStyle=0,t.data={},t}},68:{f:Kn},69:{},86:{},126:{},127:{f:function(e){var t=e.read_shift(2),r=e.read_shift(2),a=e.read_shift(4),r={fmt:t,env:r,len:a,data:e.slice(e.l,e.l+a)};return e.l+=a,r}},135:{},136:{},137:{},143:{f:function(e){var t=e.read_shift(4),r=e.read_shift(1),r=e.read_shift(r,"sbcs");return{flags:t,name:r=0===r.length?"Sheet1":r}}},145:{},148:{},149:{},150:{},169:{},171:{},188:{},191:{},192:{},194:{},195:{},214:{f:function(e,t,r){var a=e.l+t,n=ls(e,6,r),t=e.read_shift(2),r=es(e,t,r);return e.l=a,n.t="str",n.val=r,n}},223:{},234:{},354:{},421:{},518:{f:zc},521:{f:ws},536:{f:Rs},547:{f:Os},561:{},579:{f:function(e){var t={};return t.ifnt=e.read_shift(1),t.numFmtId=e.read_shift(1),t.flags=e.read_shift(2),t.fStyle=t.flags>>2&1,t.data={},t}},1030:{f:zc},1033:{f:ws},1091:{f:function(e){var t={};return t.ifnt=e.read_shift(1),t.numFmtId=e.read_shift(1),t.flags=e.read_shift(2),t.fStyle=t.flags>>2&1,t.data={},t}},2157:{},2163:{},2177:{},2240:{},2241:{},2242:{},2243:{},2244:{},2245:{},2246:{},2247:{},2248:{},2249:{},2250:{},2251:{},2262:{r:12},101:{},102:{},105:{},106:{},107:{},109:{},112:{},114:{},29282:{}};function Xf(e,t,r,a){var n=t;isNaN(n)||(t=a||(r||[]).length||0,(a=e.next(4)).write_shift(2,n),a.write_shift(2,t),0n.l?n.slice(0,n.l):n).l&&(n.l=n.length),n))})}function eh(e,t){for(var r=0;r=p){if(t.WTF)throw new Error("Range "+(o["!ref"]||"A1")+" exceeds format limit A1:IV"+p);d.e.c=Math.min(d.e.c,255),d.e.r=Math.min(d.e.r,p-1)}Xf(s,2057,Ts(0,16,t)),Xf(s,13,Yn(1)),Xf(s,12,Yn(100)),Xf(s,15,jn(!0)),Xf(s,17,jn(!1)),Xf(s,16,Xa(.001)),Xf(s,95,jn(!0)),Xf(s,42,jn(!1)),Xf(s,43,jn(!1)),Xf(s,130,Yn(1)),Xf(s,128,(n=[0,0],(e=qr(8)).write_shift(4,0),e.write_shift(2,n[0]?n[0]+1:0),e.write_shift(2,n[1]?n[1]+1:0),e)),Xf(s,131,jn(!1)),Xf(s,132,jn(!1)),h&&th(s,o["!cols"]),Xf(s,512,(p=d,(n=qr(2*(e=8!=(n=t).biff&&n.biff?2:4)+6)).write_shift(e,p.s.r),n.write_shift(e,p.e.r+1),n.write_shift(2,p.s.c),n.write_shift(2,p.e.c+1),n.write_shift(2,0),n));var m=(((r||{}).Workbook||{}).WBProps||{}).date1904;h&&(o["!links"]=[]);for(var g=d.s.c;g<=d.e.c;++g)u[g]=la(g);for(var b=[],v=[],w=d.s.r;w<=d.e.r;++w)for(f&&(v=o["!data"][w]||[]),a=oa(w),g=d.s.c;g<=d.e.c;++g){var T=f?v[g]:o[u[g]+a];T&&(rh(s,T,w,g,t,m),h&&T.l&&o["!links"].push([u[g]+a,T.l]),T.c&&b.push([T.c,w,g]))}var y,k,i=l.CodeName||l.name||i;return(h?function(t,e){var s,i=[],o=0,c=ea(),r=Zf;e.forEach(function(e,t){var r="",a=e[0].map(function(e){return e.a&&!r&&(r=e.a),e.t}).join("");++Zf;var n=qr(150);n.write_shift(2,15),n.write_shift(2,61444),n.write_shift(4,150),n.write_shift(2,3234),n.write_shift(2,61450),n.write_shift(4,8),n.write_shift(4,Zf),n.write_shift(4,2560),n.write_shift(2,227),n.write_shift(2,61451),n.write_shift(4,84),n.write_shift(2,128),n.write_shift(4,0),n.write_shift(2,139),n.write_shift(4,2),n.write_shift(2,191),n.write_shift(4,524296),n.write_shift(2,344),n.l+=4,n.write_shift(2,385),n.write_shift(4,134217808),n.write_shift(2,387),n.write_shift(4,134217808),n.write_shift(2,389),n.write_shift(4,268435700),n.write_shift(2,447),n.write_shift(4,1048592),n.write_shift(2,448),n.write_shift(4,134217809),n.write_shift(2,451),n.write_shift(4,268435700),n.write_shift(2,513),n.write_shift(4,134217809),n.write_shift(2,515),n.write_shift(4,268435700),n.write_shift(2,575),n.write_shift(4,196609),n.write_shift(2,959),n.write_shift(4,131072|(e[0].hidden?2:0)),n.l+=2,n.write_shift(2,61456),n.write_shift(4,18),n.write_shift(2,3),n.write_shift(2,e[2]+2),n.l+=2,n.write_shift(2,e[1]+1),n.l+=2,n.write_shift(2,e[2]+4),n.l+=2,n.write_shift(2,e[1]+5),n.l+=2,n.l+=2,n.write_shift(2,61457),n.l+=4,n.l=150,0==t?s=n:Xf(c,236,n),o+=150;n=qr(52);n.write_shift(2,21),n.write_shift(2,18),n.write_shift(2,25),n.write_shift(2,Zf),n.write_shift(2,0),n.l=22,n.write_shift(2,13),n.write_shift(2,22),n.write_shift(4,1651663474),n.write_shift(4,2503426821),n.write_shift(4,2150634280),n.write_shift(4,1768515844+256*Zf),n.write_shift(2,0),n.write_shift(4,0),n.l+=4,Xf(c,93,n);n=qr(8);n.l+=2,n.write_shift(2,61453),n.l+=4,Xf(c,236,n),o+=8;n=qr(18);n.write_shift(2,18),n.l+=8,n.write_shift(2,a.length),n.write_shift(2,16),n.l+=4,Xf(c,438,n);n=qr(1+a.length);n.write_shift(1,0),n.write_shift(a.length,a,"sbcs"),Xf(c,60,n);n=qr(16);n.l+=8,n.write_shift(2,a.length),n.l+=6,Xf(c,60,n);n=qr(12+r.length);n.write_shift(2,e[1]),n.write_shift(2,e[2]),n.write_shift(2,0|(e[0].hidden?0:2)),n.write_shift(2,Zf),n.write_shift(2,r.length),n.write_shift(1,0),n.write_shift(r.length,r,"sbcs"),n.l++,i.push(n)});var a=qr(80);a.write_shift(2,15),a.write_shift(2,61442),a.write_shift(4,o+a.length-8),a.write_shift(2,16),a.write_shift(2,61448),a.write_shift(4,8),a.write_shift(4,e.length+1),a.write_shift(4,Zf),a.write_shift(2,15),a.write_shift(2,61443),a.write_shift(4,o+48),a.write_shift(2,15),a.write_shift(2,61444),a.write_shift(4,40),a.write_shift(2,1),a.write_shift(2,61449),a.write_shift(4,16),a.l+=16,a.write_shift(2,2),a.write_shift(2,61450),a.write_shift(4,8),a.write_shift(4,r),a.write_shift(4,5),Xf(t,236,s?ue([a,s]):a),t.push(c.end()),i.forEach(function(e){Xf(t,28,e)}),Jf.push([r,e.length+1,Zf]),++Zf}:jf)(s,b),h&&Xf(s,574,(c=(c.Views||[])[0],k=qr(18),y=1718,c&&c.RTL&&(y|=64),k.write_shift(2,y),k.write_shift(4,0),k.write_shift(4,64),k.write_shift(4,0),k.write_shift(4,0),k)),h&&(o["!merges"]||[]).length&&Xf(s,229,function(e){var t=qr(2+8*e.length);t.write_shift(2,e.length);for(var r=0;r");for(var i,t=e.match(/<\/table/i),o=s.index,c=t&&t.index||e.length,l=Qe(e.slice(o,c),/(:?]*>)/i,""),f=-1,h=0,u={s:{r:1e7,c:1e7},e:{r:0,c:0}},d=[],o=0;o/i),c=0;c"));)v=v.slice(w+1);for(var T=0;T"))),E=k.colspan?+k.colspan:1;(1<(i=+k.rowspan)||1f&&(u.s.r=f),u.e.rh&&(u.s.c=h),u.e.cr||n[p].s.c>c||n[p].e.r'+h+"":f&&(i["data-t"]=f&&f.t||"z",null!=f.v&&(i["data-v"]=Vt(f.v instanceof Date?f.v.toISOString():f.v)),null!=f.z&&(i["data-z"]=f.z),f.l&&"#"!=(f.l.Target||"#").charAt(0)&&(h=''+h+"")),i.id=(a.id||"sjs")+"-"+l,s.push(lr("td",h,i)))}return""+s.join("")+""}var ch='SheetJS Table Export',lh="";function fh(e,t,r){return[].join("")+""}function hh(e,t){var r=t||{},t=null!=r.footer?r.footer:lh,a=[null!=r.header?r.header:ch],n=ua(e["!ref"]||"A1");if(a.push(fh(0,0,r)),e["!ref"])for(var s=n.s.r;s<=n.e.r;++s)a.push(oh(e,n,s,r));return a.push(""+t),a.join("")}function uh(e,t,r){var a=t.rows;if(!a)throw"Unsupported origin when "+t.tagName+" is not a TABLE";var n=r||{},s=null!=e["!data"],i=0,o=0;null!=n.origin&&("number"==typeof n.origin?i=n.origin:(i=(c="string"==typeof n.origin?fa(n.origin):n.origin).r,o=c.c));var c,l=Math.min(n.sheetRows||1e7,a.length),f={s:{r:0,c:0},e:{r:i,c:o}};e["!ref"]&&(c=ua(e["!ref"]),f.s.r=Math.min(f.s.r,c.s.r),f.s.c=Math.min(f.s.c,c.s.c),f.e.r=Math.max(f.e.r,c.e.r),f.e.c=Math.max(f.e.c,c.e.c),-1==i&&(f.e.r=i=c.e.r+1));var h,u,d=[],p=0,m=e["!rows"]||(e["!rows"]=[]),g=0,b=0,v=0,w=0;for(e["!cols"]||(e["!cols"]=[]);g=0"==Ut(o.condition)?c=a[o["apply-style-name"]]+";"+c:console.error("ODS number format may be incorrect: "+o.condition);break;case"number":if("/"===s[1])break;l="",l+=Ve("0",+(o=Nt(s[0],!1))["min-integer-digits"]||1),Kt(o.grouping)&&(l=x(Ve("#",Math.max(0,4-l.length))+l)),(+o["min-decimal-places"]||+o["decimal-places"])&&(l+="."),+o["min-decimal-places"]&&(l+=Ve("0",+o["min-decimal-places"]||1)),+o["decimal-places"]-(+o["min-decimal-places"]||0)&&(l+=Ve("0",+o["decimal-places"]-(+o["min-decimal-places"]||0))),c+=l;break;case"embedded-text":"/"===s[1]?0==f?c+='"'+n.slice(h,ur.lastIndex-s[0].length).replace(/"/g,'""')+'"':c=c.slice(0,f)+'"'+n.slice(h,ur.lastIndex-s[0].length).replace(/"/g,'""')+'"'+c.slice(f):"/"!==s[0].charAt(s[0].length-2)&&(h=ur.lastIndex,f=-+Nt(s[0],!1).position||0)}return a}function gh(e,t,r){var a=t||{};null!=le&&null==a.dense&&(a.dense=le);var n,s,i,o,c,l,f,h=hr(e),u=[],d=0,p={},m=[],g={};a.dense&&(g["!data"]=[]);var b={value:""},v={},w="",T=0,y="",k=0,E=[],_=[],S=-1,x=-1,A={s:{r:1e6,c:1e7},e:{r:0,c:0}},C=0,I=r||{},O={},R=[],N={},F=0,D=0,P=[],M=1,L=1,U=[],B={Names:[],WBProps:{}},W={},z=["",""],H=[],$={},V="",X=0,G=!1,j=!1,K=0;for(ur.lastIndex=0,h=rt(nt(h,"\x3c!--","--\x3e"));l=ur.exec(h);)switch(l[3]=l[3].replace(/_[\s\S]*$/,"")){case"table":case"工作表":"/"===l[1]?(A.e.c>=A.s.c&&A.e.r>=A.s.r?g["!ref"]=da(A):g["!ref"]="A1:A1",0A.e.c&&(A.e.c=x),xA.e.r&&(A.e.r=Y),b=Nt(l[0],!1),v=function(e,t,r){for(var a={},n=0,s=0;n!==e.length&&(32!==(s=e.charCodeAt(n))&&10!==s&&13!==s);++n);if(t||(a[0]=e.slice(0,n)),n===e.length)return a;var i,o=e.match(At),c=0,l="",f="";if(o)for(c=0;c!=o.length;++c){for(f=o[c].slice(1),s=0;s!=f.length&&61!==f.charCodeAt(s);++s);for(l=f.slice(0,s).trim();32==f.charCodeAt(s+1);)++s;i=34==(n=f.charCodeAt(s+1))||39==n?1:0,i=f.slice(s+1+i,f.length-i),a[l=0=U[K][0].s.r&&S<=U[K][0].e.r&&x>=U[K][0].s.c&&x<=U[K][0].e.c&&(f.F=U[K][1]);switch((b["number-columns-spanned"]||b["number-rows-spanned"])&&1<(F=parseInt(b["number-rows-spanned"]||"1",10)||1)*(D=parseInt(b["number-columns-spanned"]||"1",10)||1)&&(N={s:{r:S,c:x},e:{r:S+F-1,c:x+D-1}},R.push(N)),b["number-columns-repeated"]&&(L=parseInt(b["number-columns-repeated"],10)),f.t){case"boolean":f.t="b",f.v=Kt(b["boolean-value"])||1<=+b["boolean-value"];break;case"float":f.t="n",f.v=parseFloat(b.value),a.cellDates&&f.z&&Q(f.z)&&(f.v=Le(f.v+(B.WBProps.date1904?1462:0)),f.t="number"==typeof f.v?"n":"d");break;case"percentage":case"currency":f.t="n",f.v=parseFloat(b.value);break;case"date":f.t="d",f.v=ze(b["date-value"],B.WBProps.date1904),a.cellDates||(f.t="n",f.v=Me(f.v,B.WBProps.date1904)),f.z||(f.z="m/d/yy");break;case"time":f.t="n",f.v=function(e){var t=0,r=0,a=!1,n=e.match(/P([0-9\.]+Y)?([0-9\.]+M)?([0-9\.]+D)?T([0-9\.]+H)?([0-9\.]+M)?([0-9\.]+S)?/);if(!n)throw new Error("|"+e+"| is not an ISO8601 Duration");for(var s=1;s!=n.length;++s)if(n[s]){switch(r=1,3"===l[0].slice(-2))break;if("/"===l[1])switch(u[u.length-1][0]){case"number-style":case"date-style":case"time-style":h.slice(d,l.index)}else d=l.index+l[0].length;break;case"named-range":z=el((s=Nt(l[0],!1))["cell-range-address"]);var q={Name:s.name,Ref:z[0]+"!"+z[1]};j&&(q.Sheet=m.length),B.Names.push(q);break;case"text-content":case"text-properties":case"embedded-text":break;case"body":case"电子表格":case"forms":case"table-column":case"table-header-rows":case"table-rows":case"table-column-group":case"table-header-columns":case"table-columns":break;case"null-date":"1904-01-01"===(s=Nt(l[0],!1))["date-value"]&&(B.WBProps.date1904=!0);break;case"graphic-properties":case"calculation-settings":case"named-expressions":case"label-range":case"label-ranges":case"named-expression":case"sort":case"sort-by":case"sort-groups":case"tab":case"line-break":case"span":break;case"p":case"文本串":if(-1<["master-styles"].indexOf(u[u.length-1][0]))break;"/"!==l[1]||b&&b["string-value"]?"/>"==l[0].slice(-2)?w+="\n":(Nt(l[0],!1),T=l.index+l[0].length):(q=(q=h.slice(T,l.index)).replace(/[\t\r\n]/g," ").trim().replace(/ +/g," ").replace(//g," ").replace(//g,function(e,t){return Array(parseInt(t,10)+1).join(" ")}).replace(/]*\/>/g,"\t").replace(//g,"\n"),q=[Ut(q.replace(/<[^<>]*>/g,""))],w=(0",'',"",'',"",'',"",""].join(""),t=""+e+"";return function(){return xt+t}}();function Th(e,t,r){for(var a=[],n=0;n\n"+a.map(function(e){var t=(-1==r?"$":"")+tl(e.Ref);return" "+lr("table:named-range",null,{"table:name":e.Name,"table:cell-range-address":t,"table:base-cell-address":t.replace(/[\.][^\.]*$/,".$A$1")})}).join("\n")+"\n \n":""}var yh=function(){function S(e,t){return zt(e).replace(/ +/g,function(e){return''}).replace(/\t/g,"").replace(/\n/g,t?"":"").replace(/^ /,"").replace(/ $/,"")}function o(e,t,r,a,n,s){var i=[];i.push(' \n');var o=0,c=0,l=ua(e["!ref"]||"A1"),f=e["!merges"]||[],h=0,u=null!=e["!data"];if(e["!cols"])for(c=0;c<=l.e.c;++c)i.push(" \n");for(var d="",p=e["!rows"]||[],o=0;o\n");for(;o<=l.e.r;++o){for(d=p[o]?' table:style-name="ro'+p[o].ods+'"':"",i.push(" \n"),c=0;cc||f[h].s.r>o||f[h].e.c\n");else{var v=ha({r:o,c:c}),w=u?(e["!data"][o]||[])[c]:e[v];if(w&&w.f&&(g["table:formula"]=zt(("of:="+w.f.replace(dc,"$1[.$2$3$4$5]").replace(/\]:\[/g,":")).replace(/;/g,"|").replace(/,/g,";")),w.F&&w.F.slice(0,v.length)==v&&(T=ua(w.F),g["table:number-matrix-columns-spanned"]=T.e.c-T.s.c+1,g["table:number-matrix-rows-spanned"]=T.e.r-T.s.r+1)),w){switch(w.t){case"b":b=w.v?"TRUE":"FALSE",g["office:value-type"]="boolean",g["office:boolean-value"]=w.v?"true":"false";break;case"n":isFinite(w.v)?(b=w.w||String(w.v||0),g["office:value-type"]="float",g["office:value"]=w.v||0):(isNaN(w.v)?(b="#NUM!",g["table:formula"]="of:=#NUM!"):(b="#DIV/0!",g["table:formula"]="of:="+(w.v<0?"-":"")+"1/0"),g["office:string-value"]="",g["office:value-type"]="string",g["calcext:value-type"]="error");break;case"s":case"str":b=null==w.v?"":w.v,g["office:value-type"]="string";break;case"d":b=w.w||ze(w.v,s).toISOString(),g["office:value-type"]="date",g["office:date-value"]=ze(w.v,s).toISOString(),g["table:style-name"]="ce1";break;default:i.push(x);continue}var T=S(b);w.l&&w.l.Target&&(T=lr("text:a",T,{"xlink:href":(y="#"!=(y="#"==(y=w.l.Target).charAt(0)?"#"+tl(y.slice(1)):y).charAt(0)&&!y.match(/^\w+:/)?"../"+y:y).replace(/&/g,"&")})),n[w.z]&&(g["table:style-name"]="ce"+n[w.z].slice(1));var y=lr("text:p",T,{});if(w.c){for(var k="",E="",T={},_=0;_"+S(w.c[_].t)+"";w.c.hidden||(T["office:display"]=!0),y=lr("office:annotation",E,T)+y}i.push(" "+lr("table:table-cell",y,g)+"\n")}else i.push(x)}}i.push(" \n")}return(t.Workbook||{}).Names&&i.push(Th(t.Workbook.Names,t.SheetNames,r)),i.push(" \n"),i.join("")}function c(o,t){o.push(" \n");var a=0;t.SheetNames.map(function(e){return t.Sheets[e]}).forEach(function(e){if(e&&e["!cols"])for(var t=0;t\n'),o.push(' \n'),o.push(" \n"),++a}});var n=0;t.SheetNames.map(function(e){return t.Sheets[e]}).forEach(function(e){if(e&&e["!rows"])for(var t,r=0;r\n'),o.push(' \n'),o.push(" \n"),++n)}),o.push(' \n'),o.push(' \n'),o.push(" \n"),o.push(' \n'),o.push(' \n'),o.push(" /\n"),o.push(' \n'),o.push(" /\n"),o.push(" \n"),o.push(" \n");var c={},l=69;return t.SheetNames.map(function(e){return t.Sheets[e]}).forEach(function(e){if(e){var t=null!=e["!data"];if(e["!ref"])for(var r=ua(e["!ref"]),a=0;a<=r.e.r;++a)for(var n=0;n<=r.e.c;++n){var s,i=t?(e["!data"][a]||[])[n]:e[ha({r:a,c:n})];i&&i.z&&"general"!=i.z.toLowerCase()&&(c[i.z]||(s=function(e,t){var r="number",a="",n={"style:name":t},s="",i=0;e:if(-1<(e=e.replace(/"[$]"/g,"$")).indexOf(";")&&(console.error("Unsupported ODS Style Map exported. Using first branch of "+e),e=e.slice(0,e.indexOf(";"))),"@"!=e){if(-1"+zt(s.replace(/""/g,'"'))+""):a+=""+zt(s.replace(/""/g,'"'))+"",e=e.slice(i+1),i=0}var o=e.match(/# (\?+)\/(\?+)/);if(o)a+=lr("number:fraction",null,{"number:min-integer-digits":0,"number:min-numerator-digits":o[1].length,"number:max-denominator-value":Math.max(+o[1].replace(/./g,"9"),+o[2].replace(/./g,"9"))});else if(o=e.match(/# (\?+)\/(\d+)/))a+=lr("number:fraction",null,{"number:min-integer-digits":0,"number:min-numerator-digits":o[1].length,"number:denominator-value":+o[2]});else if(o=e.match(/\b(\d+)(|\.\d+)%/))r="percentage",a+=lr("number:number",null,{"number:decimal-places":o[2]&&o.length-1||0,"number:min-decimal-places":o[2]&&o.length-1||0,"number:min-integer-digits":o[1].length})+"%";else{var c=!1;if(-1<["y","m","d"].indexOf(e[0])){r="date";t:for(;i";break;case"yyy":case"yyyy":a+='';break;case"mmmmm":console.error("ODS has no equivalent of format |mmmmm|");case"m":case"mm":case"mmm":case"mmmm":a+='';break;case"d":case"dd":a+='';break;case"ddd":case"dddd":a+=''}break;case'"':for(;'"'!=e[++i]||'"'==e[++i];)s+=e[i];--i,a+=""+zt(s.slice(1).replace(/""/g,'"'))+"";break;case"\\":a+=""+zt(s=e[++i])+"";break;case"/":case":":a+=""+zt(s)+"";break;default:console.error("unrecognized character "+s+" in ODF format "+e)}if(!c)break e;e=e.slice(i+1),i=0}if(e.match(/^\[?[hms]/))for("number"==r&&(r="time"),e.match(/\[/)&&(e=e.replace(/[\[\]]/g,""),n["number:truncate-on-overflow"]="false");i';break;case"m":case"mm":a+='';break;case"s":case"ss":if("."==e[i+1])for(;s+=e[i+1],++i,"0"==e[i+1];);a+='"}break;case'"':for(;'"'!=e[++i]||'"'==e[++i];)s+=e[i];--i,a+=""+zt(s.slice(1).replace(/""/g,'"'))+"";break;case"/":case":":a+=""+zt(s)+"";break;case"a":if("a/p"==e.slice(i,i+3).toLowerCase()){a+="",i+=2;break}if("am/pm"==e.slice(i,i+5).toLowerCase()){a+="",i+=4;break}default:console.error("unrecognized character "+s+" in ODF format "+e)}else{if(-1$',e=e.slice(1),i=0),'"'==e[i=0]){for(;'"'!=e[++i]||'"'==e[++i];)s+=e[i];"*"==e[--i+1]?(i++,a+=""+zt(s.replace(/""/g,'"'))+""):a+=""+zt(s.replace(/""/g,'"'))+"",e=e.slice(i+1),i=0}var f=e.match(/([#0][0#,]*)(\.[0#]*|)(E[+]?0*|)/i);if(f&&f[0]?(o=f[1].replace(/,/g,""),a+="",i=f.index+f[0].length):console.error("Could not find numeric part of "+e),'"'==e[i]){for(s="";'"'!=e[++i]||'"'==e[++i];)s+=e[i];--i,a+=""+zt(s.replace(/""/g,'"'))+""}}}}else r="text",a="";return a?lr("number:"+r+"-style",a,n):(console.error("Could not generate ODS number format for |"+e+"|"),"")}(i.z,"N"+l))&&(c[i.z]="N"+l,++l,o.push(s+"\n")))}}}),o.push(' \n'),Ie(c).forEach(function(e){o.push('\n')}),o.push(" \n"),c}var x=" \n";return function(e,t){var r=[xt],a=cr({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:meta":"urn:oasis:names:tc:opendocument:xmlns:meta:1.0","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:presentation":"urn:oasis:names:tc:opendocument:xmlns:presentation:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:chart":"urn:oasis:names:tc:opendocument:xmlns:chart:1.0","xmlns:dr3d":"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0","xmlns:math":"http://www.w3.org/1998/Math/MathML","xmlns:form":"urn:oasis:names:tc:opendocument:xmlns:form:1.0","xmlns:script":"urn:oasis:names:tc:opendocument:xmlns:script:1.0","xmlns:ooo":"http://openoffice.org/2004/office","xmlns:ooow":"http://openoffice.org/2004/writer","xmlns:oooc":"http://openoffice.org/2004/calc","xmlns:dom":"http://www.w3.org/2001/xml-events","xmlns:xforms":"http://www.w3.org/2002/xforms","xmlns:xsd":"http://www.w3.org/2001/XMLSchema","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","xmlns:sheet":"urn:oasis:names:tc:opendocument:sh33tjs:1.0","xmlns:rpt":"http://openoffice.org/2005/report","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","xmlns:xhtml":"http://www.w3.org/1999/xhtml","xmlns:grddl":"http://www.w3.org/2003/g/data-view#","xmlns:tableooo":"http://openoffice.org/2009/table","xmlns:drawooo":"http://openoffice.org/2010/draw","xmlns:calcext":"urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0","xmlns:loext":"urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0","xmlns:field":"urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0","xmlns:formx":"urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0","xmlns:css3t":"http://www.w3.org/TR/css3-text/","office:version":"1.2"}),n=cr({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});"fods"==t.bookType?(r.push("\n"),r.push(wn().replace(/]*?>/,"").replace(/<\/office:document-meta>/,"")+"\n")):r.push("\n");var s=c(r,e);r.push(" \n"),r.push(" \n"),((e.Workbook||{}).WBProps||{}).date1904&&r.push(' \n \n \n');for(var i=0;i!=e.SheetNames.length;++i)r.push(o(e.Sheets[e.SheetNames[i]],e,i,0,s,((e.Workbook||{}).WBProps||{}).date1904));return(e.Workbook||{}).Names&&r.push(Th(e.Workbook.Names,e.SheetNames,-1)),r.push(" \n"),r.push(" \n"),"fods"==t.bookType?r.push(""):r.push(""),r.join("")}}();function kh(e,t){if("fods"==t.bookType)return yh(e,t);var r=Et(),a=[],n=[];return kt(r,"mimetype","application/vnd.oasis.opendocument.spreadsheet"),kt(r,"content.xml",yh(e,t)),a.push(["content.xml","text/xml"]),n.push(["content.xml","ContentFile"]),kt(r,"styles.xml",wh(e,t)),a.push(["styles.xml","text/xml"]),n.push(["styles.xml","StylesFile"]),kt(r,"meta.xml",xt+wn()),a.push(["meta.xml","text/xml"]),n.push(["meta.xml","MetadataFile"]),kt(r,"manifest.rdf",function(e){var t=[xt];t.push('\n');for(var r=0;r!=e.length;++r)t.push(vn(e[r][0],e[r][1])),t.push([' \n',' \n'," \n"].join(""));return t.push(vn("","Document","pkg")),t.push(""),t.join("")}(n)),a.push(["manifest.rdf","application/rdf+xml"]),kt(r,"META-INF/manifest.xml",function(e){var t=[xt];t.push('\n'),t.push(' \n');for(var r=0;r\n');return t.push(""),t.join("")}(a)),r}var Eh=function(){try{return"undefined"==typeof Uint8Array?"slice":void 0!==Uint8Array.prototype.subarray&&("undefined"==typeof Buffer||void 0!==Buffer.prototype.subarray&&("function"==typeof Buffer.from?Buffer.from([72,62]):new Buffer([72,62]))instanceof Uint8Array)?"subarray":"slice"}catch(e){return"slice"}}();function _h(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function Sh(e){return"undefined"!=typeof TextDecoder?(new TextDecoder).decode(e):er(k(e))}function xh(e){return"undefined"!=typeof TextEncoder?(new TextEncoder).encode(e):he(tr(e))}function Ah(e){for(var t=0,r=0;r>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135)>>>24}function Ih(e,t){var r=t.l,a=127&e[r];return 128<=e[r++]&&(a|=(127&e[r])<<7,e[r++]<128||(a|=(127&e[r])<<14,e[r++]<128||(a|=(127&e[r])<<21,e[r++]<128||(a+=(127&e[r])*Math.pow(2,28),++r,e[r++]<128||(a+=(127&e[r])*Math.pow(2,35),++r,e[r++]<128||(a+=(127&e[r])*Math.pow(2,42),++r,e[r++])))))),t.l=r,a}function Oh(e){var t=new Uint8Array(7);t[0]=127&e;var r=1;return 127>7&127,++r,e<=16383||(t[r-1]|=128,t[r]=e>>14&127,++r,e<=2097151||(t[r-1]|=128,t[r]=e>>21&127,++r,e<=268435455||(t[r-1]|=128,t[r]=e/256>>>21&127,++r,e<=34359738367||(t[r-1]|=128,t[r]=e/65536>>>21&127,++r,e<=4398046511103||(t[r-1]|=128,t[r]=e/16777216>>>21&127,++r)))))),t[Eh](0,r)}function Rh(e){for(var t={l:0},r=[];t.l>>0),e.push(s)}return e}function Uh(e){var a=[];return e.forEach(function(e){var t=[[],[{data:Oh(e.id),type:0}],[]];null!=e.merge&&(t[3]=[{data:Oh(+!!e.merge),type:0}]);var r=[];e.messages.forEach(function(e){r.push(e.data),e.meta[3]=[{type:0,data:Oh(e.data.length)}],t[2].push({data:Ph(e.meta),type:2})});e=Ph(t);a.push(Oh(e.length)),a.push(e),r.forEach(function(e){return a.push(e)})}),Ah(a)}function Bh(e){Array.isArray(e)&&(e=new Uint8Array(e));for(var t=[],r=0;r>2&7),i=(224&t[n++])<<3,i|=t[n++]):(o=1+(t[n++]>>2),2==s?(i=t[n]|t[n+1]<<8,n+=2):(i=(t[n]|t[n+1]<<8|t[n+2]<<16|t[n+3]<<24)>>>0,n+=4)),0==i)throw new Error("Invalid offset 0");for(var c=a.length-1,l=i;0<=c&&l>=a[c].length;)l-=a[c].length,--c;if(c<0){if(0!=l)throw new Error("Invalid offset beyond length");l=a[c=0].length}if(o=a[c].length;)a.push(a[c]),o-=a[c].length,++c;o&&a.push(a[c][Eh](0,o))}25>2;s<60?++s:(i=s-59,s=t[n],1>>=0,s++,n+=i),a.push(t[Eh](n,n+s)),n+=s}}for(var f=0,h=0;h>8&255]))):a<=16777216?(i+=4,t.push(new Uint8Array([248,a-1&255,a-1>>8&255,a-1>>16&255]))):a<=4294967296&&(i+=5,t.push(new Uint8Array([252,a-1&255,a-1>>8&255,a-1>>16&255,a-1>>>24&255]))),t.push(e[Eh](r,r+a)),i+=a,n[0]=0,n[1]=255&i,n[2]=i>>8&255,n[3]=i>>16&255,r+=a}return Ah(t)}var zh=function(){return{sst:[],rsst:[],ofmt:[],nfmt:[],fmla:[],ferr:[],cmnt:[]}};function Hh(e,t,r,a,n){var s=255&t,i=t>>8,o=5<=i?n:a;r&(4>1,a=1&e[t+14],n=t+13;t<=n;--n)a=256*a+e[n];return(128&e[t+15]?-a:a)*Math.pow(10,r-6176)}(e,s),s+=16),2&n&&(f=a.getFloat64(s,!0),s+=8),4&n&&(u.setTime(u.getTime()+1e3*(h=a.getFloat64(s,!0))),s+=8),8&n&&(o=a.getUint32(s,!0),s+=4),16&n&&(i=a.getUint32(s,!0),s+=4),s+=4*Ch(480&n),512&n&&(a.getUint32(s,!0),s+=4),s+=4*Ch(1024&n),2048&n&&(a.getUint32(s,!0),s+=4);var d=e[1];switch(d){case 0:m={t:"z"};break;case 2:m={t:"n",v:l};break;case 3:m={t:"s",v:t.sst[o]};break;case 5:m=null!=r&&r.cellDates?{t:"d",v:u}:{t:"n",v:h/86400+35430,z:me[14]};break;case 6:m={t:"b",v:0>13,t.ofmt[c],t.nfmt[c]),7==d&&(m.v/=86400),m}function Vh(t,e){var r=new Uint8Array(32),a=_h(r),n=12,s=0;switch(r[0]=5,t.t){case"n":if(t.z&&Q(t.z)){r[1]=5,a.setFloat64(n,(Le(t.v+1462).getTime()-Date.UTC(2001,0,1))/1e3,!0),s|=4,n+=8;break}r[1]=2,function(e,t,r){var a=Math.floor(0==r?0:Math.LOG10E*Math.log(Math.abs(r)))+6176-16,n=r/Math.pow(10,a-6176);e[t+15]|=a>>7,e[t+14]|=(127&a)<<1;for(var s=0;1<=n;++s,n/=256)e[t+s]=255&n;e[t+15]|=0<=r?0:128}(r,n,t.v),s|=1,n+=16;break;case"b":r[1]=6,a.setFloat64(n,t.v?1:0,!0),s|=2,n+=8;break;case"s":var i,o=null==t.v?"":String(t.v);t.l?(-1==(i=e.rsst.findIndex(function(e){return e.v==o&&e.l==(null==(e=t.l)?void 0:e.Target)}))&&(e.rsst[i=e.rsst.length]={v:o,l:t.l.Target}),r[1]=9,a.setUint32(n,i,!0),s|=16):(-1==(i=e.sst.indexOf(o))&&(e.sst[i=e.sst.length]=o),r[1]=3,a.setUint32(n,i,!0),s|=8),n+=4;break;case"d":r[1]=5,a.setFloat64(n,(t.v.getTime()-Date.UTC(2001,0,1))/1e3,!0),s|=4,n+=8;break;case"z":r[1]=0;break;default:throw"unsupported cell type "+t.t}return t.c&&(e.cmnt.push(function(e){for(var t={a:"",t:"",replies:[]},r=0;r>>16)&&(-1==c&&(c=n.getUint32(u,!0)),u+=4),u=e[4<=r?1:2]){case 0:return;case 2:p={t:"n",v:l};break;case 3:p={t:"s",v:t.sst[o]};break;case 5:p=null!=a&&a.cellDates?{t:"d",v:h}:{t:"n",v:f/86400+35430,z:me[14]};break;case 6:p={t:"b",v:0>>0;switch(c){case 1:l[r]=Sh(t[3][0].data);break;case 8:var a=Dh(o[jh(t[9][0].data)][0].data),n=o[jh(a[1][0].data)][0],a=Fh(n.meta[1][0].data);if(2001!=a)throw new Error("2000 unexpected reference to ".concat(a));var a=Dh(n.data),i={v:a[3].map(function(e){return Sh(e.data)}).join("")};l[r]=i,null==(n=null==a?void 0:a[11])||!n[0]||(s=null==(s=Dh(a[11][0].data))?void 0:s[1])&&s.forEach(function(e){var t,r=Dh(e.data);if(null!=(e=r[2])&&e[0]){var a=o[jh(null==(r=r[2])?void 0:r[0].data)][0],n=Fh(a.meta[1][0].data);switch(n){case 2032:var s=Dh(a.data);null!=(t=null==s?void 0:s[2])&&t[0]&&!i.l&&(i.l=Sh(s[2][0].data));break;case 2039:break;default:console.log("unrecognized ObjectAttribute type ".concat(n))}}});break;case 2:l[r]=Dh(t[6][0].data);break;case 3:l[r]=Dh(t[5][0].data);break;case 10:var s=o[jh(t[10][0].data)][0];l[r]=function t(r,e){var a={t:"",a:""};var n=Dh(e);null!=(e=null==(e=null==n?void 0:n[1])?void 0:e[0])&&e.data&&(a.t=Sh(null==(i=null==(s=null==n?void 0:n[1])?void 0:s[0])?void 0:i.data)||"");{var s,i;null!=(i=null==(s=null==n?void 0:n[3])?void 0:s[0])&&i.data&&(s=r[jh(null==(i=null==(s=null==n?void 0:n[3])?void 0:s[0])?void 0:i.data)][0],i=Dh(s.data),null!=(s=null==(s=i[1])?void 0:s[0])&&s.data&&(a.a=Sh(i[1][0].data)))}null!=n&&n[4]&&(a.replies=[],n[4].forEach(function(e){var e=r[jh(e.data)][0];a.replies.push(t(r,e.data))}));return a}(o,s.data);break;default:throw c}}}),l}function qh(e,t){var r=Dh(t.data),a=-1;null!=(t=null==r?void 0:r[7])&&t[0]&&(a=Fh(r[7][0].data)>>>0?1:0);t=Mh(r[5],function(e){return function(e,t){var r,a,n,s=Dh(e),i=Fh(s[1][0].data)>>>0,o=Fh(s[2][0].data)>>>0,c=(null==(e=null==(c=s[8])?void 0:c[0])?void 0:e.data)&&0>>0,data:t.reduce(function(r,a){return r[a.R]||(r[a.R]=[]),a.cells.forEach(function(e,t){if(r[a.R][t])throw new Error("Duplicate cell r=".concat(a.R," c=").concat(t));r[a.R][t]=e}),r},[])}}function Qh(e,t,r){var a=Dh(t.data),n={"!ref":"A1"};null!=r&&r.dense&&(n["!data"]=[]);t=e[jh(a[2][0].data)],a=Fh(t[0].meta[1][0].data);if(6001!=a)throw new Error("6000 unexpected reference to ".concat(a));return function(r,e,a,n){var t=Dh(e.data),s={s:{r:0,c:0},e:{r:0,c:0}};if(s.e.r=(Fh(t[6][0].data)>>>0)-1,s.e.r<0)throw new Error("Invalid row varint ".concat(t[6][0].data));if(s.e.c=(Fh(t[7][0].data)>>>0)-1,s.e.c<0)throw new Error("Invalid col varint ".concat(t[7][0].data));a["!ref"]=da(s);var i=null!=a["!data"],o=a,e=Dh(t[4][0].data),c=zh();null!=(s=e[4])&&s[0]&&(c.sst=Jh(r,r[jh(e[4][0].data)][0])),null!=(s=e[6])&&s[0]&&(c.fmla=Jh(r,r[jh(e[6][0].data)][0])),null!=(s=e[11])&&s[0]&&(c.ofmt=Jh(r,r[jh(e[11][0].data)][0])),null!=(s=e[12])&&s[0]&&(c.ferr=Jh(r,r[jh(e[12][0].data)][0])),null!=(s=e[17])&&s[0]&&(c.rsst=Jh(r,r[jh(e[17][0].data)][0])),null!=(s=e[19])&&s[0]&&(c.cmnt=Jh(r,r[jh(e[19][0].data)][0])),null!=(s=e[22])&&s[0]&&(c.nfmt=Jh(r,r[jh(e[22][0].data)][0]));var l,f=Dh(e[3][0].data),h=0;if(null==(s=e[9])||!s[0])throw"NUMBERS file missing row tree";if(Dh(e[9][0].data)[1].map(function(e){return Dh(e.data)}).forEach(function(e){h=Fh(e[1][0].data);var t=Fh(e[2][0].data),e=f[1][t];if(!e)throw"NUMBERS missing tile "+t;t=Dh(e.data),e=r[jh(t[2][0].data)][0],t=Fh(e.meta[1][0].data);if(6002!=t)throw new Error("6001 unexpected reference to ".concat(t));e=qh(0,e);e.data.forEach(function(e,r){e.forEach(function(e,t){e=Gh(e,c,n);e&&(i?(o["!data"][h+r]||(o["!data"][h+r]=[]),o["!data"][h+r][t]=e):a[la(t)+oa(h+r)]=e)})}),h+=e.nrows}),null!=(s=e[13])&&s[0]){var u=r[jh(e[13][0].data)][0],e=Fh(u.meta[1][0].data);if(6144!=e)throw new Error("Expected merge type 6144, found ".concat(e));a["!merges"]=null==(u=Dh(u.data))?void 0:u[1].map(function(e){var t=Dh(e.data),e=_h(Dh(t[1][0].data)[1][0].data),t=_h(Dh(t[2][0].data)[1][0].data);return{s:{r:e.getUint16(0,!0),c:e.getUint16(2,!0)},e:{r:e.getUint16(0,!0)+t.getUint16(0,!0)-1,c:e.getUint16(2,!0)+t.getUint16(2,!0)-1}}})}null!=(u=a["!merges"])&&u.length||null==(l=t[47])||!l[0]||(null==(t=(l=Dh(t[47][0].data))[2])||!t[0]||null!=(l=(t=Dh(l[2][0].data))[3])&&l[0]&&(a["!merges"]=Mh(t[3],function(e){var t=Dh(e),r=Dh(t[2][0].data),e=Dh(r[1][0].data);if(null!=(t=e[1])&&t[0]){r=Dh(e[1][0].data);if(67==Fh(r[1][0].data)){var t=Dh(r[40][0].data);if(null!=(e=t[3])&&e[0]&&null!=(a=t[4])&&a[0]){var r=Dh(t[3][0].data),e=Dh(t[4][0].data),a=Fh(r[1][0].data),t=null!=(t=r[2])&&t[0]?Fh(r[2][0].data):a,r=Fh(e[1][0].data);return{s:{r:r,c:a},e:{r:null!=(a=e[2])&&a[0]?Fh(e[2][0].data):r,c:t}}}}}}).filter(function(e){return null!=e})))}(e,t[0],n,r),n}function eu(i,e,o){var c=ju();c.Workbook={WBProps:{date1904:!0}};var t=Dh(e.data);if(null!=(e=t[2])&&e[0])throw new Error("Keynote presentations are not supported");if(Mh(t[1],jh).forEach(function(e){i[e].forEach(function(e){var r,t,a,n,s;2==Fh(e.meta[1][0].data)&&(t=i,n=o,e=Dh((a=e).data),s={name:null!=(a=e[1])&&a[0]?Sh(e[1][0].data):"",sheets:[]},Mh(e[2],jh).forEach(function(e){t[e].forEach(function(e){6e3==Fh(e.meta[1][0].data)&&s.sheets.push(Qh(t,e,n))})}),(r=s).sheets.forEach(function(e,t){Ku(c,e,0==t?r.name:r.name+"_"+t,!0)}))})}),0==c.SheetNames.length)throw new Error("Empty NUMBERS file");return c.bookType="numbers",c}function tu(e,t){var a={},n=[];if(e.FullPaths.forEach(function(e){if(e.match(/\.iwpv2/))throw new Error("Unsupported password protection")}),e.FileIndex.forEach(function(t){if(t.name.match(/\.iwa$/)&&0==t.content[0]){var e,r;try{e=Bh(t.content)}catch(e){return console.log("?? "+t.content.length+" "+(e.message||e))}try{r=Lh(e)}catch(e){return console.log("## "+(e.message||e))}r.forEach(function(e){a[e.id]=e.messages,n.push(e.id)})}}),!n.length)throw new Error("File has no messages");if(null!=(e=null==(e=null==(e=null==a?void 0:a[1])?void 0:e[0].meta)?void 0:e[1])&&e[0].data&&1e4==Fh(a[1][0].meta[1][0].data))throw new Error("Pages documents are not supported");var r=(null==(e=null==(e=null==(e=null==(e=null==a?void 0:a[1])?void 0:e[0])?void 0:e.meta)?void 0:e[1])?void 0:e[0].data)&&1==Fh(a[1][0].meta[1][0].data)&&a[1][0];if(r||n.forEach(function(e){a[e].forEach(function(e){if(1==Fh(e.meta[1][0].data)>>>0){if(r)throw new Error("Document has multiple roots");r=e}})}),!r)throw new Error("Cannot find Document root");return eu(a,r,t)}function ru(e,t){return{meta:[[],[{type:0,data:Oh(e)}]],data:t}}function au(e,t){t.last||(t.last=927262);for(var r=t.last;r<2e6;++r)if(!t[r])return t[t.last=r]=e,r;throw new Error("Too many messages")}function nu(e,t,r){return Ph([[],[{type:0,data:Oh(1)}],[],[{type:5,data:new Uint8Array(Float32Array.from([e/255]).buffer)}],[{type:5,data:new Uint8Array(Float32Array.from([t/255]).buffer)}],[{type:5,data:new Uint8Array(Float32Array.from([r/255]).buffer)}],[{type:5,data:new Uint8Array(Float32Array.from([1]).buffer)}],[],[],[],[],[],[{type:0,data:Oh(1)}]])}function su(e){switch(e){case 0:return nu(99,222,171);case 1:return nu(162,197,240);case 2:return nu(255,189,189)}return nu(255*Math.random(),255*Math.random(),255*Math.random())}function iu(r,e){if(!e||!e.numbers)throw new Error("Must pass a `numbers` option -- check the README");var a,n,s,i=xe.read(e.numbers,{type:"base64"}),o=(n={},s=[],(a=i).FileIndex.map(function(e,t){return[e,a.FullPaths[t]]}).forEach(function(e){var t=e[0],r=e[1];2==t.type&&t.name.match(/\.iwa/)&&0==t.content[0]&&Lh(Bh(t.content)).forEach(function(e){s.push(e.id),n[e.id]={deps:[],location:r,type:Fh(e.messages[0].meta[1][0].data)}})}),a.FileIndex.forEach(function(e){e.name.match(/\.iwa/)&&0==e.content[0]&&Lh(Bh(e.content)).forEach(function(r){r.messages.forEach(function(t){[5,6].forEach(function(e){t.meta[e]&&t.meta[e].forEach(function(e){n[r.id].deps.push(Fh(e.data))})})})})}),n),c=cu(i,o,1);if(null==c)throw"Could not find message ".concat(1," in Numbers template");var l=Mh(Dh(c.messages[0].data)[1],jh);if(1":s=!1;break;case"":i=t+e.length;break;case"":o=+a.slice(i,t).trim();break;case"":i=t+e.length;break;case"":c=+a.slice(i,t).trim()}return""}),"Note"===n&&((e=Gu(l,0<=o&&0<=c?ha({r:o,c:c}):f[h].ref)).c&&(e.c.hidden=s),++h)})))}function vu(r,l,e,f,t,h,a,n,u,s,i,o){try{h[f]=pn(Tt(r,e,!0),l);var c=wt(r,l);switch(n){case"sheet":g=ff(c,l,t,u,h[f],s,i,o);break;case"chart":if(!(g=hf(c,l,t,u,h[f],s))||!g["!drawel"])break;var d=St(g["!drawel"].Target,l),p=dn(d),m=St((m=Tt(r,d,!0),p=pn(Tt(r,p,!0),d),m?(m=(m.match(/]*r:id="([^<>"]*)"/)||["",""])[1],p["!id"][m].Target):"??"),d),d=dn(m),g=Vl(Tt(r,m,!0),0,0,pn(Tt(r,d,!0),m),0,g);break;case"macro":w=l,h[f],w.slice(-4),g={"!type":"macro"};break;case"dialog":w=l,h[f],w.slice(-4),g={"!type":"dialog"};break;default:throw new Error("Unrecognized sheet type "+n)}a[f]=g;var b=[],v=[];h&&h[f]&&Ie(h[f]).forEach(function(e){var a,n,s,i,o,c,t="";if(h[f][e].Type==un.CMNT){if(t=St(h[f][e].Target,l),!(b=pf(wt(r,t,!0),t,u))||!b.length)return;tc(g,b,!1)}h[f][e].Type==un.TCMNT&&(t=St(h[f][e].Target,l),v=v.concat((a=wt(r,t,!0),n=u,i=!(s=[]),o={},c=0,a.replace(It,function(e,t){var r=Nt(e);switch(Ft(r[0])){case"":break;case"":null!=o.t&&s.push(o);break;case"":case"":o.t=a.slice(c,t).replace(/\r\n/g,"\n").replace(/\r/g,"\n");break;case"":i=!0;break;case"":i=!1;break;case"":case"":case"":break;case"":i=!1;break;default:if(!i&&n.WTF)throw new Error("unrecognized "+r[0]+" in threaded comments")}return e}),s)))}),v&&v.length&&tc(g,v,!0,u.people||[]),bu(g,0,r,l,0,0,0,b)}catch(e){if(u.WTF)throw e}var w,m}function wu(e){return"/"==e.charAt(0)?e.slice(1):e}function Tu(r,t){if(ve(),pu(t=t||{}),bt(r,"META-INF/manifest.xml"))return bh(r,t);if(bt(r,"objectdata.xml"))return bh(r,t);if(bt(r,"Index/Document.iwa")){if("undefined"==typeof Uint8Array)throw new Error("NUMBERS file parsing requires Uint8Array support");if(0,r.FileIndex)return tu(r,t);var a=xe.utils.cfb_new();return yt(r).forEach(function(e){kt(a,e,function e(t,r,a){if(!a)return gt(vt(t,r));if(!r)return null;try{return e(t,r)}catch(e){return null}}(r,e))}),tu(a,t)}if(!bt(r,"[Content_Types].xml")){if(bt(r,"index.xml.gz"))throw new Error("Unsupported NUMBERS 08 file");if(bt(r,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");var e=xe.find(r,"Index.zip");if(e)return delete(t=$e(t)).type,"string"==typeof e.content&&(t.type="binary"),"undefined"!=typeof Bun&&Buffer.isBuffer(e.content)?Au(new Uint8Array(e.content),t):Au(e.content,t);throw new Error("Unsupported ZIP file")}var n,s=yt(r),i=function(e){var r=fn();if(!e||!e.match)return r;var a={};if((e.match(It)||[]).forEach(function(e){var t=Nt(e);switch(t[0].replace(Ot,"<")){case"":a=null;break;default:if(0===i.indexOf(""),l=c[0].slice(4),f=c[1];switch(l){case"lpstr":case"bstr":case"lpwstr":r[a]=Ut(f);break;case"bool":r[a]=Kt(f);break;case"i1":case"i2":case"i4":case"i8":case"int":case"uint":r[a]=parseInt(f,10);break;case"r4":case"r8":case"decimal":r[a]=parseFloat(f);break;case"filetime":case"date":r[a]=ze(f);break;case"cy":case"error":r[a]=Ut(f);break;default:if("/"==l.slice(-1))break;t.WTF&&"undefined"!=typeof console&&console.warn("Unexpected",i,l,c)}}else if("":break;case"":break;case"":case"":case"":break;case"":C=!1;break;default:if(!C&&x.WTF)throw new Error("unrecognized "+t[0]+" in threaded comments")}return e}),A)),I=I&&gu(I,d.Sheets);var O=wt(r,"xl/worksheets/sheet.xml",!0)?1:0;e:for(T=0;T!=p.Worksheets;++T){var R="sheet";if(I&&I[T]?(v="xl/"+I[T][1].replace(/[\/]?xl\//,""),bt(r,v)||(v=I[T][1]),bt(r,v)||(v=S.replace(/_rels\/[\S\s]*$/,"")+I[T][1]),R=I[T][2]):v=(v="xl/worksheets/sheet"+(T+1-O)+"."+_).replace(/sheet0\./,"sheet."),w=v.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels"),t&&null!=t.sheets)switch(typeof t.sheets){case"number":if(T!=t.sheets)continue e;break;case"string":if(p.SheetNames[T].toLowerCase()!=t.sheets.toLowerCase())continue e;break;default:if(Array.isArray&&Array.isArray(t.sheets)){for(var N=!1,F=0;F!=t.sheets.length;++F)"number"==typeof t.sheets[F]&&t.sheets[F]==T&&(N=1),"string"==typeof t.sheets[F]&&t.sheets[F].toLowerCase()==p.SheetNames[T].toLowerCase()&&(N=1);if(!N)continue e}}vu(r,v,w,p.SheetNames[T],T,y,n,R,t,d,c,l)}return g={Directory:i,Workbook:d,Props:p,Custprops:m,Deps:b,Sheets:n,SheetNames:p.SheetNames,Strings:rl,Styles:l,Themes:c,SSF:$e(me)},t&&t.bookFiles&&(r.files?(g.keys=s,g.files=r.files):(g.keys=[],g.files={},r.FullPaths.forEach(function(e,t){e=e.replace(/^Root Entry[\/]/,""),g.keys.push(e),g.files[e]=r.FileIndex[t]}))),t&&t.bookVBA&&(0"),e.forEach(function(e){e[1].forEach(function(e){var t=zt(e.a);-1==o.indexOf(t)&&(o.push(t),i.push(""+t+"")),e.T&&e.ID&&-1==o.indexOf("tc="+e.ID)&&(o.push("tc="+e.ID),i.push("tc="+e.ID+""))})}),0==o.length&&(o.push("SheetJ5"),i.push("SheetJ5")),i.push(""),i.push(""),e.forEach(function(t){var r=0,a=[],n=0;if(t[1][0]&&t[1][0].T&&t[1][0].ID&&(r=o.indexOf("tc="+t[1][0].ID)),t[1].forEach(function(e){e.a&&(r=o.indexOf(zt(e.a))),e.T&&++n,a.push(null==e.t?"":zt(e.t))}),0===n)t[1].forEach(function(e){i.push(''),i.push(or("t",null==e.t?"":zt(e.t))),i.push("")});else{t[1][0]&&t[1][0].T&&t[1][0].ID&&(r=o.indexOf("tc="+t[1][0].ID)),i.push('');for(var e="Comment:\n "+a[0]+"\n",s=1;s")}}),i.push(""),2",i[1]=i[1].replace("/>",">")),i.join("")}(h)),n.comments.push(d),gn(m,-1,"../comments"+o+"."+r,un.CMNT),u=!0),g["!legacy"]&&u&&kt(s,"xl/drawings/vmlDrawing"+o+".vml",ec(o,g["!comments"])),delete g["!comments"],delete g["!legacy"]),m["!id"].rId1&&kt(s,dn(i),mn(m))}return null!=t.Strings&&0",(a=e[s]).r?n+=a.r:(n+=""),n+="",r[r.length]=n);return 2",r[1]=r[1].replace("/>",">")),r.join("")}(t.Strings,t)),n.strs.push(i),gn(t.wbrels,-1,"sharedStrings.xml",un.SST)),kt(s,i="xl/workbook.xml",function(t){var r=[xt];r[r.length]=lr("workbook",null,{xmlns:pr[0],"xmlns:r":dr.r});var e=t.Workbook&&0<(t.Workbook.Names||[]).length,a={codeName:"ThisWorkbook"};t.Workbook&&t.Workbook.WBProps&&(Xl.forEach(function(e){null!=t.Workbook.WBProps[e[0]]&&t.Workbook.WBProps[e[0]]!=e[1]&&(a[e[0]]=t.Workbook.WBProps[e[0]])}),t.Workbook.WBProps.CodeName&&(a.codeName=t.Workbook.WBProps.CodeName,delete a.CodeName)),r[r.length]=lr("workbookPr",null,a);var n=t.Workbook&&t.Workbook.Sheets||[],s=0;if(n&&n[0]&&n[0].Hidden){for(r[r.length]="",s=0;s!=t.SheetNames.length&&n[s]&&n[s].Hidden;++s);s==t.SheetNames.length&&(s=0),r[r.length]='',r[r.length]=""}for(r[r.length]="",s=0;s!=t.SheetNames.length;++s){var i={name:zt(t.SheetNames[s].slice(0,31))};if(i.sheetId=""+(s+1),i["r:id"]="rId"+(s+1),n[s])switch(n[s].Hidden){case 1:i.state="hidden";break;case 2:i.state="veryHidden"}r[r.length]=lr("sheet",null,i)}return r[r.length]="",e&&(r[r.length]="",t.Workbook&&t.Workbook.Names&&t.Workbook.Names.forEach(function(e){var t={name:e.Name};e.Comment&&(t.comment=e.Comment),null!=e.Sheet&&(t.localSheetId=""+e.Sheet),e.Hidden&&(t.hidden="1"),e.Ref&&(r[r.length]=lr("definedName",zt(e.Ref),t))}),r[r.length]=""),2",r[1]=r[1].replace("/>",">")),r.join("")}(e)),n.workbooks.push(i),gn(t.rels,1,i,un.WB),kt(s,i="xl/theme/theme1.xml",Zo(e.Themes,t)),n.themes.push(i),gn(t.wbrels,-1,"theme/theme1.xml",un.THEME),kt(s,i="xl/styles.xml",Fo(e,t)),n.styles.push(i),gn(t.wbrels,-1,"styles.xml",un.STY),e.vbaraw&&a&&(kt(s,i="xl/vbaProject.bin",e.vbaraw),n.vba.push(i),gn(t.wbrels,-1,"vbaProject.bin",un.VBA)),kt(s,i="xl/metadata.xml",((a=[xt]).push('\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n'),a.join(""))),n.metadata.push(i),gn(t.wbrels,-1,"metadata.xml",un.XLMETA),1>1;++r)t[r]=String.fromCharCode(e[2*r]+(e[2*r+1]<<8));return t.join("")}(r.slice(2)):a(r.slice(2)),t.type="binary",_u(r,t)}function xu(e,t,r,a){return a?(r.type="string",fi.to_workbook(e,r)):fi.to_workbook(t,r)}function Au(e,t){f();var r=t||{};if(r.codepage&&void 0===ae&&console.error("Codepage tables are not loaded. Non-ASCII characters may not give expected results"),"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer)return Au(new Uint8Array(e),((r=$e(r)).type="array",r));if("undefined"!=typeof Int8Array&&e instanceof Int8Array)return Au(new Uint8Array(e.buffer,e.byteOffset,e.length),r);"undefined"!=typeof Uint8Array&&e instanceof Uint8Array&&!r.type&&(r.type="undefined"!=typeof Deno?"buffer":"array");var a,n,s,i,o=e,c=!1;if(r.cellStyles&&(r.cellNF=!0,r.sheetStubs=!0),al={},r.dateNF&&(al.dateNF=r.dateNF),r.type||(r.type=re&&Buffer.isBuffer(e)?"buffer":"base64"),"file"==r.type&&(r.type=re?"buffer":"binary",o=function(e){if(void 0!==_e)return _e.readFileSync(e);if("undefined"!=typeof Deno)return Deno.readFileSync(e);if("undefined"!=typeof $&&"undefined"!=typeof File&&"undefined"!=typeof Folder)try{var t=File(e);t.open("r"),t.encoding="binary";var r=t.read();return t.close(),r}catch(e){if(!e.message||-1==e.message.indexOf("onstruct"))throw e}throw new Error("Cannot access file "+e)}(e),"undefined"==typeof Uint8Array||re||(r.type="array")),"string"==r.type&&(c=!0,r.type="binary",r.codepage=65001,o=(l=e).match(/[^\x00-\x7F]/)?tr(l):l),"array"==r.type&&"undefined"!=typeof Uint8Array&&e instanceof Uint8Array&&"undefined"!=typeof ArrayBuffer){var l=new ArrayBuffer(3),l=new Uint8Array(l);if(l.foo="bar",!l.foo)return(r=$e(r)).type="array",Au(m(o),r)}switch((a=Eu(o,r))[0]){case 208:if(207===a[1]&&17===a[2]&&224===a[3]&&161===a[4]&&177===a[5]&&26===a[6]&&225===a[7])return s=xe.read(o,r),i=r,(xe.find(s,"EncryptedPackage")?yu:zf)(s,i);break;case 9:if(a[1]<=8)return zf(o,r);break;case 60:return _f(o,r);case 73:if(73===a[1]&&42===a[2]&&0===a[3])throw new Error("TIFF Image File is not a spreadsheet");if(68===a[1])return function(t,r){var a=r||{},n=!!a.WTF;a.WTF=!0;try{var e=Ys.to_workbook(t,a);return a.WTF=n,e}catch(e){if(a.WTF=n,-1==e.message.indexOf("SYLK bad record ID")&&n)throw e;return fi.to_workbook(t,r)}}(o,r);break;case 84:if(65===a[1]&&66===a[2]&&76===a[3])return Zs.to_workbook(o,r);break;case 80:return 75===a[1]&&a[2]<9&&a[3]<9?(s=n=o,(i=(i=r)||{}).type||(i.type=re&&Buffer.isBuffer(n)?"buffer":"base64"),Tu(_t(s,i),i)):xu(e,o,r,c);case 239:return 60===a[3]?_f(o,r):xu(e,o,r,c);case 255:if(254===a[1])return Su(o,r);if(0===a[1]&&2===a[2]&&0===a[3])return ki.to_workbook(o,r);break;case 0:if(0===a[1]){if(2<=a[2]&&0===a[3])return ki.to_workbook(o,r);if(0===a[2]&&(8===a[3]||9===a[3]))return ki.to_workbook(o,r)}break;case 3:case 131:case 139:case 140:return js.to_workbook(o,r);case 123:if(92===a[1]&&114===a[2]&&116===a[3])return ho(o,r);break;case 10:case 13:case 32:return function(e,t){var r="",a=Eu(e,t);switch(t.type){case"base64":r=te(e);break;case"binary":r=e;break;case"buffer":r=e.toString("binary");break;case"array":r=He(e);break;default:throw new Error("Unrecognized type "+t.type)}return 239==a[0]&&187==a[1]&&191==a[2]&&(r=er(r)),t.type="binary",_u(r,t)}(o,r);case 137:if(80===a[1]&&78===a[2]&&71===a[3])throw new Error("PNG Image File is not a spreadsheet");break;case 8:if(231===a[1])throw new Error("Unsupported Multiplan 1.x file!");break;case 12:if(236===a[1])throw new Error("Unsupported Multiplan 2.x file!");if(237===a[1])throw new Error("Unsupported Multiplan 3.x file!")}return-1>2,r=(3&n)<<4|(s=255<(s=e.charCodeAt(l++))?95:s)>>4,o=(15&s)<<2|(i=255<(i=e.charCodeAt(l++))?95:i)>>6,c=63&i,isNaN(s)?o=c=64:isNaN(i)&&(c=64),a+=d.charAt(t)+d.charAt(r)+d.charAt(o)+d.charAt(c);return a}(e);case"binary":case"string":return e;case"file":return Ce(t.file,e,"binary");case"buffer":return re?ie(e,"binary"):e.split("").map(function(e){return e.charCodeAt(0)})}throw new Error("Unrecognized type "+t.type)}function Du(e,t){switch(t.type){case"string":case"base64":case"binary":for(var r="",a=0;at)return t;throw new Error("Cannot find sheet # "+t)}if("string"!=typeof t)throw new Error("Cannot find sheet |"+t+"|");if(-1<(e=e.SheetNames.indexOf(t)))return e;throw new Error("Cannot find sheet name |"+t+"|")}(e,t),e.Workbook.Sheets[t]||(e.Workbook.Sheets[t]={}),r){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+r)}e.Workbook.Sheets[t].Hidden=r},cell_set_number_format:function(e,t){return e.z=t,e},cell_set_hyperlink:Yu,cell_set_internal_link:function(e,t,r){return Yu(e,"#"+t,r)},cell_add_comment:function(e,t,r){e.c||(e.c=[]),e.c.push({t:t,a:r||"SheetJS"})},sheet_set_array_formula:function(e,t,r,a){for(var n="string"!=typeof t?t:ga(t),s="string"==typeof t?t:da(t),i=n.s.r;i<=n.e.r;++i)for(var o=n.s.c;o<=n.e.c;++o){var c=Gu(e,i,o);c.t="n",c.F=s,delete c.v,i==n.s.r&&o==n.s.c&&(c.f=r,a&&(c.D=!0))}return(t=ua(e["!ref"])).s.r>n.s.r&&(t.s.r=n.s.r),t.s.c>n.s.c&&(t.s.c=n.s.c),t.e.rs.e.r)return o||(o=!0,r.push(""+n)),r.push(null);for(;i<=s.e.r;){r.push(oh(e,s,i,a)),++i;break}},r},to_csv:function(e,t){var r=Zu(),a=null==t?{}:t;if(null==e||null==e["!ref"])return r.push(null),r;for(var n,s=ga(e["!ref"]),i=void 0!==a.FS?a.FS:",",o=i.charCodeAt(0),c=void 0!==a.RS?a.RS:"\n",l=c.charCodeAt(0),f=[],h=a.skipHidden&&e["!cols"]||[],u=a.skipHidden&&e["!rows"]||[],d=s.s.c;d<=s.e.c;++d)(h[d]||{}).hidden||(f[d]=la(d));var p=s.s.r,m=!1,g=0;return r._read=function(){if(!m)return m=!0,r.push("\ufeff");for(;p<=s.e.r;)if(++p,!(u[p-1]||{}).hidden&&(n=Hu(e,s,p-1,f,o,l,i,g,a),null!=n&&(n||!1!==a.blankrows)))return r.push((g++?c:"")+n);return r.push(null)},r},to_xlml:function(l,e){var o=Zu(),f=null==e?{}:e,c=+f.stride||10;l.SSF||(l.SSF=$e(me)),l.SSF&&(ve(),be(l.SSF),f.revssf=Ne(l.SSF),f.revssf[l.SSF[65535]]=0,f.ssf=l.SSF,f.cellXfs=[],cl(f.cellXfs,{},{revssf:{General:0}})),l.SheetNames.forEach(function(e){var t=l.Sheets[e];if(t&&t["!ref"])for(var r=ua(t["!ref"]),a=null!=t["!data"],n=a?t["!data"]:[],s={r:0,c:0},i=r.s.r;i<=r.e.r;++i)if(s.r=i,!a||n[i])for(var o=r.s.c;o<=r.e.c;++o){s.c=o;var c=a?n[i][o]:t[la(o)+oa(i)];c&&("d"==c.t&&null==c.z&&((c=$e(c)).z=me[14]),cl(f.cellXfs,c,f))}});var h=Af(0,f),u=0,d=0,p=l.Sheets[l.SheetNames[d]],m=ga(p),g=-1,b=!1,v=[],w=0,T=!1,y=[],k={r:0,c:0};return o._read=function(){switch(u){case 0:u=1,o.push(xt),o.push("");break;case 1:u=2,o.push(Sf(l,f)),o.push(xf(l));break;case 2:u=3,o.push(h),o.push(If(l));break;case 3:if(b=!1,d>=l.SheetNames.length){u=-1,o.push("");break}if(o.push(""),!(p=l.Sheets[l.SheetNames[d]]))return o.push(""),void++d;var e=Of(p,0,d,l);if(e.length&&o.push(""+e+""),!p["!ref"])return u=5;m=ga(p["!ref"]),g=m.s.r,u=4;break;case 4:if(g<0||g>m.e.r)return b&&o.push(""),void(u=5);g<=m.s.r&&(p["!cols"]&&p["!cols"].forEach(function(e,t){_o(e);var r=!!e.width,a=il(t,e),t={"ss:Index":t+1};r&&(t["ss:Width"]=wo(a.width)),e.hidden&&(t["ss:Hidden"]="1"),b||(b=!0,o.push("")),o.push(lr("Column",null,t))}),(T=null!=p["!data"])&&(y=p["!data"]),k.r=k.c=0);for(var t=0;g<=m.e.r&&ta||v[w].s.r>g||v[w].e.c"),b||(b=!0,o.push("
")),o.push(r.join(""))}break;case 5:return o.push(Rf(p,0,d,l)),p&&p["!autofilter"]&&o.push(''),o.push(""),d++,g=-1,void(u=3);case-1:u=-2,o.push("");break;case-2:o.push(null)}},o},set_readable:Ju},qu=function(){function a(e,t,r){return this instanceof a?(this.tagName=e,this._attributes=t||{},this._children=r||[],this._prefix="",this):new a(e,t,r)}a.prototype.createElement=function(){return new a(arguments)},a.prototype.children=function(){return this._children},a.prototype.append=function(e){return this._children.push(e),this},a.prototype.prefix=function(e){return 0==arguments.length?this._prefix:(this._prefix=e,this)},a.prototype.attr=function(e,t){if(null==t)return delete this._attributes[e],this;if(0==arguments.length)return this._attributes;if("string"==typeof e&&1==arguments.length)return this._attributes.attr[e];if("object"==typeof e&&1==arguments.length)for(var r in e)this._attributes[r]=e[r];else 2==arguments.length&&"string"==typeof e&&(this._attributes[e]=t);return this};return a.prototype.escapeAttributeValue=function(e){return'"'+e.replace(/\"/g,""")+'"'},a.prototype.toXml=function(e){var t=(e=e||this)._prefix;if(t+="<"+e.tagName,e._attributes)for(var r in e._attributes)t+=" "+r+"="+this.escapeAttributeValue(""+e._attributes[r]);if(e._children&&0";for(var a=0;a"}else t+="/>";return t},a}(),Qu=function(e){var t,r=164,a={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"上午/下午 "hh"時"mm"分"ss"秒 "'},n={};for(t in a)n[a[t]]=t;var s={};return{initialize:function(e){this.$fonts=qu("fonts").attr("count",0).attr("x14ac:knownFonts","1"),this.$fills=qu("fills").attr("count",0),this.$borders=qu("borders").attr("count",0),this.$numFmts=qu("numFmts").attr("count",0),this.$cellStyleXfs=qu("cellStyleXfs"),this.$xf=qu("xf").attr("numFmtId",0).attr("fontId",0).attr("fillId",0).attr("borderId",0),this.$cellXfs=qu("cellXfs").attr("count",0),this.$cellStyles=qu("cellStyles").append(qu("cellStyle").attr("name","Normal").attr("xfId",0).attr("builtinId",0)),this.$dxfs=qu("dxfs").attr("count","0"),this.$tableStyles=qu("tableStyles").attr("count","0").attr("defaultTableStyle","TableStyleMedium9").attr("defaultPivotStyle","PivotStyleMedium4"),this.$styles=qu("styleSheet").attr("xmlns:mc","http://schemas.openxmlformats.org/markup-compatibility/2006").attr("xmlns:x14ac","http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac").attr("xmlns","http://schemas.openxmlformats.org/spreadsheetml/2006/main").attr("mc:Ignorable","x14ac").prefix('').append(this.$numFmts).append(this.$fonts).append(this.$fills).append(this.$borders).append(this.$cellStyleXfs.append(this.$xf)).append(this.$cellXfs).append(this.$cellStyles).append(this.$dxfs).append(this.$tableStyles);var t=e.defaultCellStyle||{};t.font||(t.font={name:"Calibri",sz:"11"}),t.font.name||(t.font.name="Calibri"),t.font.sz||(t.font.sz=11),t.fill||(t.fill={patternType:"none",fgColor:{}}),t.border||(t.border={}),t.numFmt||(t.numFmt=0),this.defaultStyle=t;e=JSON.parse(JSON.stringify(t));return e.fill={patternType:"gray125",fgColor:{}},this.addStyles([t,e]),this},addStyle:function(e){var t=JSON.stringify(e),r=s[t];return null==r?(r=this._addXf(e),s[t]=r):r=s[t],r},addStyles:function(e){var t=this;return e.map(function(e){return t.addStyle(e)})},_duckTypeStyle:function(e){return"object"==typeof e&&(e.patternFill||e.fgColor)?{fill:e}:e.font||e.numFmt||e.border||e.fill?e:this._getStyleCSS(e)},_getStyleCSS:function(e){return e},_addXf:function(e){var t=this._addFont(e.font),r=this._addFill(e.fill),a=this._addBorder(e.border),n=this._addNumFmt(e.numFmt),s=qu("xf").attr("numFmtId",n).attr("fontId",t).attr("fillId",r).attr("borderId",a).attr("xfId","0");0/g,">").replace(/"/g,""").replace(/'/g,"'");e=qu("numFmt").attr("numFmtId",++r).attr("formatCode",e);this.$numFmts.append(e);e=this.$numFmts.children().length;return this.$numFmts.attr("count",e),r},_addFill:function(e){if(!e)return 0;var t,r=qu("patternFill").attr("patternType",e.patternType||"solid");e.fgColor&&(t=qu("fgColor"),e.fgColor.rgb?(6==e.fgColor.rgb.length&&(e.fgColor.rgb="FF"+e.fgColor.rgb),t.attr("rgb",e.fgColor.rgb),r.append(t)):e.fgColor.theme&&(t.attr("theme",e.fgColor.theme),e.fgColor.tint&&t.attr("tint",e.fgColor.tint),r.append(t)),e.bgColor||(e.bgColor={indexed:"64"})),e.bgColor&&(e=qu("bgColor").attr(e.bgColor),r.append(e));r=qu("fill").append(r);this.$fills.append(r);r=this.$fills.children().length;return this.$fills.attr("count",r),r-1},_getSubBorder:function(e,t){var r=qu(e);return t&&(r.attr("style",t.style||"medium"),t.color&&(e=qu("color"),t.color.auto?e.attr("auto",t.color.auto):t.color.rgb?e.attr("rgb",t.color.rgb):(t.color.theme||t.color.tint)&&(e.attr("theme",t.color.theme||"1"),e.attr("tint",t.color.tint||"0")),r.append(e))),r},_addBorder:function(t){if(!t)return 0;var r=this,a=qu("border").attr("diagonalUp",t.diagonalUp).attr("diagonalDown",t.diagonalDown);["left","right","top","bottom","diagonal"].forEach(function(e){a.append(r._getSubBorder(e,t[e]))}),this.$borders.append(a);var e=this.$borders.children().length;return this.$borders.attr("count",e),e-1},toXml:function(){return this.$styles.toXml()}}.initialize(e||{})};if(void 0!==zf&&(r.parse_xlscfb=zf),r.parse_zip=Tu,r.read=Au,r.readFile=Cu,r.readFileSync=Cu,r.write=Mu,r.writeFile=Uu,r.writeFileSync=Uu,r.writeFileAsync=function(e,t,r,a){var n=r||{};return n.type="file",n.file=e,Lu(n),n.type="buffer",a instanceof Function||(a=r),_e.writeFile(e,Mu(t,n),a)},r.utils=zs,r.writeXLSX=Pu,r.writeFileXLSX=function(e,t,r){return(r=r||{}).type="file",r.file=t,Lu(r),Pu(e,r)},r.set_fs=function(e){_e=e},r.set_cptable=e,r.SSF=we,void 0!==Es&&(r.stream=Es),void 0!==xe&&(r.CFB=xe),"undefined"!=typeof require){Es=require("stream");(Es||{}).Readable&&Ju(Es.Readable);try{_e=require("fs")}catch(e){}}}if("undefined"!=typeof exports?make_xlsx_lib(exports):"undefined"!=typeof module&&module.exports?make_xlsx_lib(module.exports):"function"==typeof define&&define.amd?define("xlsx",function(){return XLSX.version||make_xlsx_lib(XLSX),XLSX}):make_xlsx_lib(XLSX),"undefined"!=typeof window&&!window.XLSX)try{window.XLSX=XLSX}catch(e){}