(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[8],{EUZL:function(e,t,r){(function(n,a,s){(function(t){t.version="0.16.9";var i=1200,o=1252;"undefined"===typeof cptable&&("undefined"!==typeof n?n.cptable=r("IkRI"):"undefined"!==typeof window&&(window.cptable=r("IkRI")));for(var c=[874,932,936,949,950],l=0;l<=8;++l)c.push(1250+l);var f={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},h=function(e){-1!=c.indexOf(e)&&(o=f[0]=e)},u=function(e){i=e,h(e)};function d(){u(1200),h(1252)}function p(e){for(var t=[],r=0,n=e.length;r<n;++r)t[r]=e.charCodeAt(r);return t}var m=function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1);return 255==t&&254==r?function(e){for(var t=[],r=0;r<e.length>>1;++r)t[r]=String.fromCharCode(e.charCodeAt(2*r)+(e.charCodeAt(2*r+1)<<8));return t.join("")}(e.slice(2)):254==t&&255==r?function(e){for(var t=[],r=0;r<e.length>>1;++r)t[r]=String.fromCharCode(e.charCodeAt(2*r+1)+(e.charCodeAt(2*r)<<8));return t.join("")}(e.slice(2)):65279==t?e.slice(1):e},g=function(e){return String.fromCharCode(e)},b=function(e){return String.fromCharCode(e)};"undefined"!==typeof cptable&&(u=function(e){i=e,h(e)},m=function(e){return 255===e.charCodeAt(0)&&254===e.charCodeAt(1)?cptable.utils.decode(1200,p(e.slice(2))):e},g=function(e){return 1200===i?String.fromCharCode(e):cptable.utils.decode(i,[255&e,e>>8])[0]},b=function(e){return cptable.utils.decode(o,[e])[0]});var v=function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return{encode:function(t){for(var r="",n=0,a=0,s=0,i=0,o=0,c=0,l=0,f=0;f<t.length;)i=(n=t.charCodeAt(f++))>>2,o=(3&n)<<4|(a=t.charCodeAt(f++))>>4,c=(15&a)<<2|(s=t.charCodeAt(f++))>>6,l=63&s,isNaN(a)?c=l=64:isNaN(s)&&(l=64),r+=e.charAt(i)+e.charAt(o)+e.charAt(c)+e.charAt(l);return r},decode:function(t){var r="",n=0,a=0,s=0,i=0,o=0,c=0;t=t.replace(/[^\w\+\/\=]/g,"");for(var l=0;l<t.length;)n=e.indexOf(t.charAt(l++))<<2|(i=e.indexOf(t.charAt(l++)))>>4,r+=String.fromCharCode(n),a=(15&i)<<4|(o=e.indexOf(t.charAt(l++)))>>2,64!==o&&(r+=String.fromCharCode(a)),s=(3&o)<<6|(c=e.indexOf(t.charAt(l++))),64!==c&&(r+=String.fromCharCode(s));return r}}}(),E="undefined"!==typeof a&&"undefined"!==typeof s&&"undefined"!==typeof s.versions&&!!s.versions.node,S=function(){};if("undefined"!==typeof a){var w=!a.from;if(!w)try{a.from("foo","utf8")}catch(lf){w=!0}S=w?function(e,t){return t?new a(e,t):new a(e)}:a.from.bind(a),a.alloc||(a.alloc=function(e){return new a(e)}),a.allocUnsafe||(a.allocUnsafe=function(e){return new a(e)})}function C(e){return E?a.alloc(e):new Array(e)}function B(e){return E?a.allocUnsafe(e):new Array(e)}var T=function(e){return E?S(e,"binary"):e.split("").map((function(e){return 255&e.charCodeAt(0)}))};function k(e){if("undefined"===typeof ArrayBuffer)return T(e);for(var t=new ArrayBuffer(e.length),r=new Uint8Array(t),n=0;n!=e.length;++n)r[n]=255&e.charCodeAt(n);return t}function _(e){if(Array.isArray(e))return e.map((function(e){return String.fromCharCode(e)})).join("");for(var t=[],r=0;r<e.length;++r)t[r]=String.fromCharCode(e[r]);return t.join("")}function x(e){if("undefined"==typeof ArrayBuffer)throw new Error("Unsupported");if(e instanceof ArrayBuffer)return x(new Uint8Array(e));for(var t=new Array(e.length),r=0;r<e.length;++r)t[r]=e[r];return t}var A=function(e){return[].concat.apply([],e)},I=/\u0000/g,y=/[\u0001-\u0006]/g,R={},F=function(e){function t(e){for(var t="",r=e.length-1;r>=0;)t+=e.charAt(r--);return t}function r(e,t){for(var r="";r.length<t;)r+=e;return r}function n(e,t){var n=""+e;return n.length>=t?n:r("0",t-n.length)+n}function a(e,t){var n=""+e;return n.length>=t?n:r(" ",t-n.length)+n}function s(e,t){var n=""+e;return n.length>=t?n:n+r(" ",t-n.length)}e.version="0.11.2";var i=Math.pow(2,32);function o(e,t){return e>i||e<-i?function(e,t){var n=""+Math.round(e);return n.length>=t?n:r("0",t-n.length)+n}(e,t):function(e,t){var n=""+e;return n.length>=t?n:r("0",t-n.length)+n}(Math.round(e),t)}function c(e,t){return t=t||0,e.length>=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 l=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],f=[["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"]];function h(e){e[0]="General",e[1]="0",e[2]="0.00",e[3]="#,##0",e[4]="#,##0.00",e[9]="0%",e[10]="0.00%",e[11]="0.00E+00",e[12]="# ?/?",e[13]="# ??/??",e[14]="m/d/yy",e[15]="d-mmm-yy",e[16]="d-mmm",e[17]="mmm-yy",e[18]="h:mm AM/PM",e[19]="h:mm:ss AM/PM",e[20]="h:mm",e[21]="h:mm:ss",e[22]="m/d/yy h:mm",e[37]="#,##0 ;(#,##0)",e[38]="#,##0 ;[Red](#,##0)",e[39]="#,##0.00;(#,##0.00)",e[40]="#,##0.00;[Red](#,##0.00)",e[45]="mm:ss",e[46]="[h]:mm:ss",e[47]="mmss.0",e[48]="##0.0E+0",e[49]="@",e[56]='"\u4e0a\u5348/\u4e0b\u5348 "hh"\u6642"mm"\u5206"ss"\u79d2 "'}var u={};h(u);var d=[],p=0;for(p=5;p<=8;++p)d[p]=32+p;for(p=23;p<=26;++p)d[p]=0;for(p=27;p<=31;++p)d[p]=14;for(p=50;p<=58;++p)d[p]=14;for(p=59;p<=62;++p)d[p]=p-58;for(p=67;p<=68;++p)d[p]=p-58;for(p=72;p<=75;++p)d[p]=p-58;for(p=67;p<=68;++p)d[p]=p-57;for(p=76;p<=78;++p)d[p]=p-56;for(p=79;p<=81;++p)d[p]=p-34;var m=[];function g(e,t,r){for(var n=e<0?-1:1,a=e*n,s=0,i=1,o=0,c=1,l=0,f=0,h=Math.floor(a);l<t&&(o=(h=Math.floor(a))*i+s,f=h*l+c,!(a-h<5e-8));)a=1/(a-h),s=i,i=o,c=l,l=f;if(f>t&&(l>t?(f=c,o=s):(f=l,o=i)),!r)return[0,n*o,f];var u=Math.floor(n*o/f);return[u,n*o-u*f,f]}function b(e,t,r){if(e>2958465||e<0)return null;var n=0|e,a=Math.floor(86400*(e-n)),s=0,i=[],o={D:n,T:a,u:86400*(e-n)-a,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(o.u)<1e-6&&(o.u=0),t&&t.date1904&&(n+=1462),o.u>.9999&&(o.u=0,86400==++a&&(o.T=a=0,++n,++o.D)),60===n)i=r?[1317,10,29]:[1900,2,29],s=3;else if(0===n)i=r?[1317,8,29]:[1900,1,0],s=6;else{n>60&&--n;var c=new Date(1900,0,1);c.setDate(c.getDate()+n-1),i=[c.getFullYear(),c.getMonth()+1,c.getDate()],s=c.getDay(),n<60&&(s=(s+6)%7),r&&(s=function(e,t){t[0]-=581;var r=e.getDay();e<60&&(r=(r+6)%7);return r}(c,i))}return o.y=i[0],o.m=i[1],o.d=i[2],o.S=a%60,a=Math.floor(a/60),o.M=a%60,a=Math.floor(a/60),o.H=a,o.q=s,o}m[5]=m[63]='"$"#,##0_);\\("$"#,##0\\)',m[6]=m[64]='"$"#,##0_);[Red]\\("$"#,##0\\)',m[7]=m[65]='"$"#,##0.00_);\\("$"#,##0.00\\)',m[8]=m[66]='"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',m[41]='_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',m[42]='_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',m[43]='_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',m[44]='_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)',e.parse_date_code=b;var v=new Date(1899,11,31,0,0,0),E=v.getTime(),S=new Date(1900,2,1,0,0,0);function w(e,t){var r=e.getTime();return t?r-=1262304e5:e>=S&&(r+=864e5),(r-(E+6e4*(e.getTimezoneOffset()-v.getTimezoneOffset())))/864e5}e._general_int=function(e){return e.toString(10)};var C=function(){var e=/(?:\.0*|(\.\d*[1-9])0+)$/;function t(t){return-1==t.indexOf(".")?t:t.replace(e,"$1")}var r=/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,n=/(E[+-])(\d)$/;return function(e){var a,s=Math.floor(Math.log(Math.abs(e))*Math.LOG10E);return a=s>=-4&&s<=-1?e.toPrecision(10+s):Math.abs(s)<=9?function(e){var r=e<0?12:11,n=t(e.toFixed(12));return n.length<=r||(n=e.toPrecision(10)).length<=r?n:e.toExponential(5)}(e):10===s?e.toFixed(10).substr(0,12):function(e){var r=t(e.toFixed(11));return r.length>(e<0?12:11)||"0"===r||"-0"===r?e.toPrecision(6):r}(e),t(function(e){return-1==e.indexOf("E")?e:e.replace(r,"$1E").replace(n,"$10$2")}(a.toUpperCase()))}}();function B(e,t){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(0|e)===e?e.toString(10):C(e);case"undefined":return"";case"object":if(null==e)return"";if(e instanceof Date)return O(14,w(e,t&&t.date1904),t)}throw new Error("unsupported value in General format: "+e)}function T(e,t,r,a){var s,i="",o=0,c=0,h=r.y,u=0;switch(e){case 98:h=r.y+543;case 121:switch(t.length){case 1:case 2:s=h%100,u=2;break;default:s=h%1e4,u=4}break;case 109:switch(t.length){case 1:case 2:s=r.m,u=t.length;break;case 3:return f[r.m-1][1];case 5:return f[r.m-1][0];default:return f[r.m-1][2]}break;case 100:switch(t.length){case 1:case 2:s=r.d,u=t.length;break;case 3:return l[r.q][0];default:return l[r.q][1]}break;case 104:switch(t.length){case 1:case 2:s=1+(r.H+11)%12,u=t.length;break;default:throw"bad hour format: "+t}break;case 72:switch(t.length){case 1:case 2:s=r.H,u=t.length;break;default:throw"bad hour format: "+t}break;case 77:switch(t.length){case 1:case 2:s=r.M,u=t.length;break;default:throw"bad minute format: "+t}break;case 115:if("s"!=t&&"ss"!=t&&".0"!=t&&".00"!=t&&".000"!=t)throw"bad second format: "+t;return 0!==r.u||"s"!=t&&"ss"!=t?(c=a>=2?3===a?1e3:100:1===a?10:1,(o=Math.round(c*(r.S+r.u)))>=60*c&&(o=0),"s"===t?0===o?"0":""+o/c:(i=n(o,2+a),"ss"===t?i.substr(0,2):"."+i.substr(2,t.length-1))):n(r.S,t.length);case 90:switch(t){case"[h]":case"[hh]":s=24*r.D+r.H;break;case"[m]":case"[mm]":s=60*(24*r.D+r.H)+r.M;break;case"[s]":case"[ss]":s=60*(60*(24*r.D+r.H)+r.M)+Math.round(r.S+r.u);break;default:throw"bad abstime format: "+t}u=3===t.length?1:2;break;case 101:s=h,u=1}return u>0?n(s,u):""}function k(e){if(e.length<=3)return e;for(var t=e.length%3,r=e.substr(0,t);t!=e.length;t+=3)r+=(r.length>0?",":"")+e.substr(t,3);return r}e._general_num=C,e._general=B;var _=function(){var e=/%/g;var i=/# (\?+)( ?)\/( ?)(\d+)/;var c=/^#*0*\.([0#]+)/,l=/\).*[0#]/,f=/\(###\) ###\\?-####/;function h(e){for(var t,r="",n=0;n!=e.length;++n)switch(t=e.charCodeAt(n)){case 35:break;case 63:r+=" ";break;case 48:r+="0";break;default:r+=String.fromCharCode(t)}return r}function u(e,t){var r=Math.pow(10,t);return""+Math.round(e*r)/r}function d(e,t){var r=e-Math.floor(e),n=Math.pow(10,t);return t<(""+Math.round(r*n)).length?0:Math.round(r*n)}function p(m,b,v){if(40===m.charCodeAt(0)&&!b.match(l)){var E=b.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return v>=0?p("n",E,v):"("+p("n",E,-v)+")"}if(44===b.charCodeAt(b.length-1))return function(e,t,r){for(var n=t.length-1;44===t.charCodeAt(n-1);)--n;return _(e,t.substr(0,n),r/Math.pow(10,3*(t.length-n)))}(m,b,v);if(-1!==b.indexOf("%"))return function(t,n,a){var s=n.replace(e,""),i=n.length-s.length;return _(t,s,a*Math.pow(10,2*i))+r("%",i)}(m,b,v);if(-1!==b.indexOf("E"))return function e(t,r){var n,a=t.indexOf("E")-t.indexOf(".")-1;if(t.match(/^#+0.0E\+0$/)){if(0==r)return"0.0E+0";if(r<0)return"-"+e(t,-r);var s=t.indexOf(".");-1===s&&(s=t.indexOf("E"));var i=Math.floor(Math.log(r)*Math.LOG10E)%s;if(i<0&&(i+=s),-1===(n=(r/Math.pow(10,i)).toPrecision(a+1+(s+i)%s)).indexOf("e")){var o=Math.floor(Math.log(r)*Math.LOG10E);for(-1===n.indexOf(".")?n=n.charAt(0)+"."+n.substr(1)+"E+"+(o-n.length+i):n+="E+"+(o-i);"0."===n.substr(0,2);)n=(n=n.charAt(0)+n.substr(2,s)+"."+n.substr(2+s)).replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");n=n.replace(/\+-/,"-")}n=n.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,(function(e,t,r,n){return t+r+n.substr(0,(s+i)%s)+"."+n.substr(i)+"E"}))}else n=r.toExponential(a);return t.match(/E\+00$/)&&n.match(/e[+-]\d$/)&&(n=n.substr(0,n.length-1)+"0"+n.charAt(n.length-1)),t.match(/E\-/)&&n.match(/e\+/)&&(n=n.replace(/e\+/,"e")),n.replace("e","E")}(b,v);if(36===b.charCodeAt(0))return"$"+p(m,b.substr(" "==b.charAt(1)?2:1),v);var S,w,C,B,T=Math.abs(v),x=v<0?"-":"";if(b.match(/^00+$/))return x+o(T,b.length);if(b.match(/^[#?]+$/))return"0"===(S=o(v,0))&&(S=""),S.length>b.length?S:h(b.substr(0,b.length-S.length))+S;if(w=b.match(i))return function(e,t,s){var i=parseInt(e[4],10),o=Math.round(t*i),c=Math.floor(o/i),l=o-c*i,f=i;return s+(0===c?"":""+c)+" "+(0===l?r(" ",e[1].length+1+e[4].length):a(l,e[1].length)+e[2]+"/"+e[3]+n(f,e[4].length))}(w,T,x);if(b.match(/^#+0+$/))return x+o(T,b.length-b.indexOf("0"));if(w=b.match(c))return S=u(v,w[1].length).replace(/^([^\.]+)$/,"$1."+h(w[1])).replace(/\.$/,"."+h(w[1])).replace(/\.(\d*)$/,(function(e,t){return"."+t+r("0",h(w[1]).length-t.length)})),-1!==b.indexOf("0.")?S:S.replace(/^0\./,".");if(b=b.replace(/^#+([0.])/,"$1"),w=b.match(/^(0*)\.(#*)$/))return x+u(T,w[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,w[1].length?"0.":".");if(w=b.match(/^#{1,3},##0(\.?)$/))return x+k(o(T,0));if(w=b.match(/^#,##0\.([#0]*0)$/))return v<0?"-"+p(m,b,-v):k(""+(Math.floor(v)+function(e,t){return t<(""+Math.round((e-Math.floor(e))*Math.pow(10,t))).length?1:0}(v,w[1].length)))+"."+n(d(v,w[1].length),w[1].length);if(w=b.match(/^#,#*,#0/))return p(m,b.replace(/^#,#*,/,""),v);if(w=b.match(/^([0#]+)(\\?-([0#]+))+$/))return S=t(p(m,b.replace(/[\\-]/g,""),v)),C=0,t(t(b.replace(/\\/g,"")).replace(/[0#]/g,(function(e){return C<S.length?S.charAt(C++):"0"===e?"0":""})));if(b.match(f))return"("+(S=p(m,"##########",v)).substr(0,3)+") "+S.substr(3,3)+"-"+S.substr(6);var A="";if(w=b.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return C=Math.min(w[4].length,7),B=g(T,Math.pow(10,C)-1,!1),S=""+x," "==(A=_("n",w[1],B[1])).charAt(A.length-1)&&(A=A.substr(0,A.length-1)+"0"),S+=A+w[2]+"/"+w[3],(A=s(B[2],C)).length<w[4].length&&(A=h(w[4].substr(w[4].length-A.length))+A),S+=A;if(w=b.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return C=Math.min(Math.max(w[1].length,w[4].length),7),x+((B=g(T,Math.pow(10,C)-1,!0))[0]||(B[1]?"":"0"))+" "+(B[1]?a(B[1],C)+w[2]+"/"+w[3]+s(B[2],C):r(" ",2*C+1+w[2].length+w[3].length));if(w=b.match(/^[#0?]+$/))return S=o(v,0),b.length<=S.length?S:h(b.substr(0,b.length-S.length))+S;if(w=b.match(/^([#0?]+)\.([#0]+)$/)){S=""+v.toFixed(Math.min(w[2].length,10)).replace(/([^0])0+$/,"$1"),C=S.indexOf(".");var I=b.indexOf(".")-C,y=b.length-S.length-I;return h(b.substr(0,I)+S+b.substr(b.length-y))}if(w=b.match(/^00,000\.([#0]*0)$/))return C=d(v,w[1].length),v<0?"-"+p(m,b,-v):k(function(e){return e<2147483647&&e>-2147483648?""+(e>=0?0|e:e-1|0):""+Math.floor(e)}(v)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,(function(e){return"00,"+(e.length<3?n(0,3-e.length):"")+e}))+"."+n(C,w[1].length);switch(b){case"###,##0.00":return p(m,"#,##0.00",v);case"###,###":case"##,###":case"#,###":var R=k(o(T,0));return"0"!==R?x+R:"";case"###,###.00":return p(m,"###,##0.00",v).replace(/^0\./,".");case"#,###.00":return p(m,"#,##0.00",v).replace(/^0\./,".")}throw new Error("unsupported format |"+b+"|")}function m(o,u,d){if(40===o.charCodeAt(0)&&!u.match(l)){var p=u.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return d>=0?m("n",p,d):"("+m("n",p,-d)+")"}if(44===u.charCodeAt(u.length-1))return function(e,t,r){for(var n=t.length-1;44===t.charCodeAt(n-1);)--n;return _(e,t.substr(0,n),r/Math.pow(10,3*(t.length-n)))}(o,u,d);if(-1!==u.indexOf("%"))return function(t,n,a){var s=n.replace(e,""),i=n.length-s.length;return _(t,s,a*Math.pow(10,2*i))+r("%",i)}(o,u,d);if(-1!==u.indexOf("E"))return function e(t,r){var n,a=t.indexOf("E")-t.indexOf(".")-1;if(t.match(/^#+0.0E\+0$/)){if(0==r)return"0.0E+0";if(r<0)return"-"+e(t,-r);var s=t.indexOf(".");-1===s&&(s=t.indexOf("E"));var i=Math.floor(Math.log(r)*Math.LOG10E)%s;if(i<0&&(i+=s),!(n=(r/Math.pow(10,i)).toPrecision(a+1+(s+i)%s)).match(/[Ee]/)){var o=Math.floor(Math.log(r)*Math.LOG10E);-1===n.indexOf(".")?n=n.charAt(0)+"."+n.substr(1)+"E+"+(o-n.length+i):n+="E+"+(o-i),n=n.replace(/\+-/,"-")}n=n.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,(function(e,t,r,n){return t+r+n.substr(0,(s+i)%s)+"."+n.substr(i)+"E"}))}else n=r.toExponential(a);return t.match(/E\+00$/)&&n.match(/e[+-]\d$/)&&(n=n.substr(0,n.length-1)+"0"+n.charAt(n.length-1)),t.match(/E\-/)&&n.match(/e\+/)&&(n=n.replace(/e\+/,"e")),n.replace("e","E")}(u,d);if(36===u.charCodeAt(0))return"$"+m(o,u.substr(" "==u.charAt(1)?2:1),d);var b,v,E,S,w=Math.abs(d),C=d<0?"-":"";if(u.match(/^00+$/))return C+n(w,u.length);if(u.match(/^[#?]+$/))return b=""+d,0===d&&(b=""),b.length>u.length?b:h(u.substr(0,u.length-b.length))+b;if(v=u.match(i))return function(e,t,n){return n+(0===t?"":""+t)+r(" ",e[1].length+2+e[4].length)}(v,w,C);if(u.match(/^#+0+$/))return C+n(w,u.length-u.indexOf("0"));if(v=u.match(c))return b=(b=(""+d).replace(/^([^\.]+)$/,"$1."+h(v[1])).replace(/\.$/,"."+h(v[1]))).replace(/\.(\d*)$/,(function(e,t){return"."+t+r("0",h(v[1]).length-t.length)})),-1!==u.indexOf("0.")?b:b.replace(/^0\./,".");if(u=u.replace(/^#+([0.])/,"$1"),v=u.match(/^(0*)\.(#*)$/))return C+(""+w).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,v[1].length?"0.":".");if(v=u.match(/^#{1,3},##0(\.?)$/))return C+k(""+w);if(v=u.match(/^#,##0\.([#0]*0)$/))return d<0?"-"+m(o,u,-d):k(""+d)+"."+r("0",v[1].length);if(v=u.match(/^#,#*,#0/))return m(o,u.replace(/^#,#*,/,""),d);if(v=u.match(/^([0#]+)(\\?-([0#]+))+$/))return b=t(m(o,u.replace(/[\\-]/g,""),d)),E=0,t(t(u.replace(/\\/g,"")).replace(/[0#]/g,(function(e){return E<b.length?b.charAt(E++):"0"===e?"0":""})));if(u.match(f))return"("+(b=m(o,"##########",d)).substr(0,3)+") "+b.substr(3,3)+"-"+b.substr(6);var B="";if(v=u.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return E=Math.min(v[4].length,7),S=g(w,Math.pow(10,E)-1,!1),b=""+C," "==(B=_("n",v[1],S[1])).charAt(B.length-1)&&(B=B.substr(0,B.length-1)+"0"),b+=B+v[2]+"/"+v[3],(B=s(S[2],E)).length<v[4].length&&(B=h(v[4].substr(v[4].length-B.length))+B),b+=B;if(v=u.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return E=Math.min(Math.max(v[1].length,v[4].length),7),C+((S=g(w,Math.pow(10,E)-1,!0))[0]||(S[1]?"":"0"))+" "+(S[1]?a(S[1],E)+v[2]+"/"+v[3]+s(S[2],E):r(" ",2*E+1+v[2].length+v[3].length));if(v=u.match(/^[#0?]+$/))return b=""+d,u.length<=b.length?b:h(u.substr(0,u.length-b.length))+b;if(v=u.match(/^([#0]+)\.([#0]+)$/)){b=""+d.toFixed(Math.min(v[2].length,10)).replace(/([^0])0+$/,"$1"),E=b.indexOf(".");var T=u.indexOf(".")-E,x=u.length-b.length-T;return h(u.substr(0,T)+b+u.substr(u.length-x))}if(v=u.match(/^00,000\.([#0]*0)$/))return d<0?"-"+m(o,u,-d):k(""+d).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,(function(e){return"00,"+(e.length<3?n(0,3-e.length):"")+e}))+"."+n(0,v[1].length);switch(u){case"###,###":case"##,###":case"#,###":var A=k(""+w);return"0"!==A?C+A:"";default:if(u.match(/\.[0#?]*$/))return m(o,u.slice(0,u.lastIndexOf(".")),d)+h(u.slice(u.lastIndexOf(".")))}throw new Error("unsupported format |"+u+"|")}return function(e,t,r){return(0|r)===r?m(e,t,r):p(e,t,r)}}();function x(e){for(var t=[],r=!1,n=0,a=0;n<e.length;++n)switch(e.charCodeAt(n)){case 34:r=!r;break;case 95:case 42:case 92:++n;break;case 59:t[t.length]=e.substr(a,n-a),a=n+1}if(t[t.length]=e.substr(a),!0===r)throw new Error("Format |"+e+"| unterminated string ");return t}e._split=x;var A=/\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;function I(e){for(var t=0,r="",n="";t<e.length;)switch(r=e.charAt(t)){case"G":c(e,t)&&(t+=6),t++;break;case'"':for(;34!==e.charCodeAt(++t)&&t<e.length;);++t;break;case"\\":case"_":t+=2;break;case"@":++t;break;case"B":case"b":if("1"===e.charAt(t+1)||"2"===e.charAt(t+1))return!0;case"M":case"D":case"Y":case"H":case"S":case"E":case"m":case"d":case"y":case"h":case"s":case"e":case"g":return!0;case"A":case"a":case"\u4e0a":if("A/P"===e.substr(t,3).toUpperCase())return!0;if("AM/PM"===e.substr(t,5).toUpperCase())return!0;if("\u4e0a\u5348/\u4e0b\u5348"===e.substr(t,5).toUpperCase())return!0;++t;break;case"[":for(n=r;"]"!==e.charAt(t++)&&t<e.length;)n+=e.charAt(t);if(n.match(A))return!0;break;case".":case"0":case"#":for(;t<e.length&&("0#?.,E+-%".indexOf(r=e.charAt(++t))>-1||"\\"==r&&"-"==e.charAt(t+1)&&"0#".indexOf(e.charAt(t+2))>-1););break;case"?":for(;e.charAt(++t)===r;);break;case"*":++t," "!=e.charAt(t)&&"*"!=e.charAt(t)||++t;break;case"(":case")":++t;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;t<e.length&&"0123456789".indexOf(e.charAt(++t))>-1;);break;case" ":default:++t}return!1}function y(e,t,r,n){for(var a,s,i,o=[],l="",f=0,h="",u="t",d="H";f<e.length;)switch(h=e.charAt(f)){case"G":if(!c(e,f))throw new Error("unrecognized character "+h+" in "+e);o[o.length]={t:"G",v:"General"},f+=7;break;case'"':for(l="";34!==(i=e.charCodeAt(++f))&&f<e.length;)l+=String.fromCharCode(i);o[o.length]={t:"t",v:l},++f;break;case"\\":var p=e.charAt(++f),m="("===p||")"===p?p:"t";o[o.length]={t:m,v:p},++f;break;case"_":o[o.length]={t:"t",v:" "},f+=2;break;case"@":o[o.length]={t:"T",v:t},++f;break;case"B":case"b":if("1"===e.charAt(f+1)||"2"===e.charAt(f+1)){if(null==a&&null==(a=b(t,r,"2"===e.charAt(f+1))))return"";o[o.length]={t:"X",v:e.substr(f,2)},u=h,f+=2;break}case"M":case"D":case"Y":case"H":case"S":case"E":h=h.toLowerCase();case"m":case"d":case"y":case"h":case"s":case"e":case"g":if(t<0)return"";if(null==a&&null==(a=b(t,r)))return"";for(l=h;++f<e.length&&e.charAt(f).toLowerCase()===h;)l+=h;"m"===h&&"h"===u.toLowerCase()&&(h="M"),"h"===h&&(h=d),o[o.length]={t:h,v:l},u=h;break;case"A":case"a":case"\u4e0a":var g={t:h,v:h};if(null==a&&(a=b(t,r)),"A/P"===e.substr(f,3).toUpperCase()?(null!=a&&(g.v=a.H>=12?"P":"A"),g.t="T",d="h",f+=3):"AM/PM"===e.substr(f,5).toUpperCase()?(null!=a&&(g.v=a.H>=12?"PM":"AM"),g.t="T",f+=5,d="h"):"\u4e0a\u5348/\u4e0b\u5348"===e.substr(f,5).toUpperCase()?(null!=a&&(g.v=a.H>=12?"\u4e0b\u5348":"\u4e0a\u5348"),g.t="T",f+=5,d="h"):(g.t="t",++f),null==a&&"T"===g.t)return"";o[o.length]=g,u=h;break;case"[":for(l=h;"]"!==e.charAt(f++)&&f<e.length;)l+=e.charAt(f);if("]"!==l.slice(-1))throw'unterminated "[" block: |'+l+"|";if(l.match(A)){if(null==a&&null==(a=b(t,r)))return"";o[o.length]={t:"Z",v:l.toLowerCase()},u=l.charAt(1)}else l.indexOf("$")>-1&&(l=(l.match(/\$([^-\[\]]*)/)||[])[1]||"$",I(e)||(o[o.length]={t:"t",v:l}));break;case".":if(null!=a){for(l=h;++f<e.length&&"0"===(h=e.charAt(f));)l+=h;o[o.length]={t:"s",v:l};break}case"0":case"#":for(l=h;++f<e.length&&"0#?.,E+-%".indexOf(h=e.charAt(f))>-1;)l+=h;o[o.length]={t:"n",v:l};break;case"?":for(l=h;e.charAt(++f)===h;)l+=h;o[o.length]={t:h,v:l},u=h;break;case"*":++f," "!=e.charAt(f)&&"*"!=e.charAt(f)||++f;break;case"(":case")":o[o.length]={t:1===n?"t":h,v:h},++f;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(l=h;f<e.length&&"0123456789".indexOf(e.charAt(++f))>-1;)l+=e.charAt(f);o[o.length]={t:"D",v:l};break;case" ":o[o.length]={t:h,v:h},++f;break;case"$":o[o.length]={t:"t",v:"$"},++f;break;default:if(-1===",$-+/():!^&'~{}<>=\u20acacfijklopqrtuvwxzP".indexOf(h))throw new Error("unrecognized character "+h+" in "+e);o[o.length]={t:"t",v:h},++f}var v,E=0,S=0;for(f=o.length-1,u="t";f>=0;--f)switch(o[f].t){case"h":case"H":o[f].t=d,u="h",E<1&&(E=1);break;case"s":(v=o[f].v.match(/\.0+$/))&&(S=Math.max(S,v[0].length-1)),E<3&&(E=3);case"d":case"y":case"M":case"e":u=o[f].t;break;case"m":"s"===u&&(o[f].t="M",E<2&&(E=2));break;case"X":break;case"Z":E<1&&o[f].v.match(/[Hh]/)&&(E=1),E<2&&o[f].v.match(/[Mm]/)&&(E=2),E<3&&o[f].v.match(/[Ss]/)&&(E=3)}switch(E){case 0:break;case 1:a.u>=.5&&(a.u=0,++a.S),a.S>=60&&(a.S=0,++a.M),a.M>=60&&(a.M=0,++a.H);break;case 2:a.u>=.5&&(a.u=0,++a.S),a.S>=60&&(a.S=0,++a.M)}var w,C="";for(f=0;f<o.length;++f)switch(o[f].t){case"t":case"T":case" ":case"D":break;case"X":o[f].v="",o[f].t=";";break;case"d":case"m":case"y":case"h":case"H":case"M":case"s":case"e":case"b":case"Z":o[f].v=T(o[f].t.charCodeAt(0),o[f].v,a,S),o[f].t="t";break;case"n":case"?":for(w=f+1;null!=o[w]&&("?"===(h=o[w].t)||"D"===h||(" "===h||"t"===h)&&null!=o[w+1]&&("?"===o[w+1].t||"t"===o[w+1].t&&"/"===o[w+1].v)||"("===o[f].t&&(" "===h||"n"===h||")"===h)||"t"===h&&("/"===o[w].v||" "===o[w].v&&null!=o[w+1]&&"?"==o[w+1].t));)o[f].v+=o[w].v,o[w]={v:"",t:";"},++w;C+=o[f].v,f=w-1;break;case"G":o[f].t="t",o[f].v=B(t,r)}var k,x,y="";if(C.length>0){40==C.charCodeAt(0)?(k=t<0&&45===C.charCodeAt(0)?-t:t,x=_("n",C,k)):(x=_("n",C,k=t<0&&n>1?-t:t),k<0&&o[0]&&"t"==o[0].t&&(x=x.substr(1),o[0].v="-"+o[0].v)),w=x.length-1;var R=o.length;for(f=0;f<o.length;++f)if(null!=o[f]&&"t"!=o[f].t&&o[f].v.indexOf(".")>-1){R=f;break}var F=o.length;if(R===o.length&&-1===x.indexOf("E")){for(f=o.length-1;f>=0;--f)null!=o[f]&&-1!=="n?".indexOf(o[f].t)&&(w>=o[f].v.length-1?(w-=o[f].v.length,o[f].v=x.substr(w+1,o[f].v.length)):w<0?o[f].v="":(o[f].v=x.substr(0,w+1),w=-1),o[f].t="t",F=f);w>=0&&F<o.length&&(o[F].v=x.substr(0,w+1)+o[F].v)}else if(R!==o.length&&-1===x.indexOf("E")){for(w=x.indexOf(".")-1,f=R;f>=0;--f)if(null!=o[f]&&-1!=="n?".indexOf(o[f].t)){for(s=o[f].v.indexOf(".")>-1&&f===R?o[f].v.indexOf(".")-1:o[f].v.length-1,y=o[f].v.substr(s+1);s>=0;--s)w>=0&&("0"===o[f].v.charAt(s)||"#"===o[f].v.charAt(s))&&(y=x.charAt(w--)+y);o[f].v=y,o[f].t="t",F=f}for(w>=0&&F<o.length&&(o[F].v=x.substr(0,w+1)+o[F].v),w=x.indexOf(".")+1,f=R;f<o.length;++f)if(null!=o[f]&&(-1!=="n?(".indexOf(o[f].t)||f===R)){for(s=o[f].v.indexOf(".")>-1&&f===R?o[f].v.indexOf(".")+1:0,y=o[f].v.substr(0,s);s<o[f].v.length;++s)w<x.length&&(y+=x.charAt(w++));o[f].v=y,o[f].t="t",F=f}}}for(f=0;f<o.length;++f)null!=o[f]&&"n?".indexOf(o[f].t)>-1&&(k=n>1&&t<0&&f>0&&"-"===o[f-1].v?-t:t,o[f].v=_(o[f].t,o[f].v,k),o[f].t="t");var D="";for(f=0;f!==o.length;++f)null!=o[f]&&(D+=o[f].v);return D}e.is_date=I,e._eval=y;var R=/\[[=<>]/,F=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function D(e,t){if(null==t)return!1;var r=parseFloat(t[2]);switch(t[1]){case"=":if(e==r)return!0;break;case">":if(e>r)return!0;break;case"<":if(e<r)return!0;break;case"<>":if(e!=r)return!0;break;case">=":if(e>=r)return!0;break;case"<=":if(e<=r)return!0}return!1}function O(e,t,r){null==r&&(r={});var n="";switch(typeof e){case"string":n="m/d/yy"==e&&r.dateNF?r.dateNF:e;break;case"number":null==(n=14==e&&r.dateNF?r.dateNF:(null!=r.table?r.table:u)[e])&&(n=r.table&&r.table[d[e]]||u[d[e]]),null==n&&(n=m[e]||"General")}if(c(n,0))return B(t,r);t instanceof Date&&(t=w(t,r.date1904));var a=function(e,t){var r=x(e),n=r.length,a=r[n-1].indexOf("@");if(n<4&&a>-1&&--n,r.length>4)throw new Error("cannot find right format for |"+r.join("|")+"|");if("number"!==typeof t)return[4,4===r.length||a>-1?r[r.length-1]:"@"];switch(r.length){case 1:r=a>-1?["General","General","General",r[0]]:[r[0],r[0],r[0],"@"];break;case 2:r=a>-1?[r[0],r[0],r[0],r[1]]:[r[0],r[1],r[0],"@"];break;case 3:r=a>-1?[r[0],r[1],r[0],r[2]]:[r[0],r[1],r[2],"@"]}var s=t>0?r[0]:t<0?r[1]:r[2];if(-1===r[0].indexOf("[")&&-1===r[1].indexOf("["))return[n,s];if(null!=r[0].match(R)||null!=r[1].match(R)){var i=r[0].match(F),o=r[1].match(F);return D(t,i)?[n,r[0]]:D(t,o)?[n,r[1]]:[n,r[null!=i&&null!=o?2:1]]}return[n,s]}(n,t);if(c(a[1]))return B(t,r);if(!0===t)t="TRUE";else if(!1===t)t="FALSE";else if(""===t||null==t)return"";return y(a[1],t,r,a[0])}function P(e,t){if("number"!=typeof t){t=+t||-1;for(var r=0;r<392;++r)if(void 0!=u[r]){if(u[r]==e){t=r;break}}else t<0&&(t=r);t<0&&(t=391)}return u[t]=e,t}e.load=P,e._table=u,e.get_table=function(){return u},e.load_table=function(e){for(var t=0;392!=t;++t)void 0!==e[t]&&P(e[t],t)},e.init_table=h,e.format=O};F(R);var D,O={"General Number":"General","General Date":R._table[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":R._table[15],"Short Date":R._table[14],"Long Time":R._table[19],"Medium Time":R._table[18],"Short Time":R._table[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:R._table[2],Standard:R._table[4],Percent:R._table[10],Scientific:R._table[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'},P={5:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',23:"General",24:"General",25:"General",26:"General",27:"m/d/yy",28:"m/d/yy",29:"m/d/yy",30:"m/d/yy",31:"m/d/yy",32:"h:mm:ss",33:"h:mm:ss",34:"h:mm:ss",35:"h:mm:ss",36:"m/d/yy",41:'_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* (#,##0);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)',50:"m/d/yy",51:"m/d/yy",52:"m/d/yy",53:"m/d/yy",54:"m/d/yy",55:"m/d/yy",56:"m/d/yy",57:"m/d/yy",58:"m/d/yy",59:"0",60:"0.00",61:"#,##0",62:"#,##0.00",63:'"$"#,##0_);\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',67:"0%",68:"0.00%",69:"# ?/?",70:"# ??/??",71:"m/d/yy",72:"m/d/yy",73:"d-mmm-yy",74:"d-mmm",75:"mmm-yy",76:"h:mm",77:"h:mm:ss",78:"m/d/yy h:mm",79:"mm:ss",80:"[h]:mm:ss",81:"mmss.0"},N=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;!function(e){function t(){for(var e=0,t=new Array(256),r=0;256!=r;++r)e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=r)?-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)?-306674912^e>>>1:e>>>1,t[r]=e;return"undefined"!==typeof Int32Array?new Int32Array(t):t}e.version="1.2.0";var r=t();function n(e,t){for(var n=-1^t,a=e.length-1,s=0;s<a;)n=(n=n>>>8^r[255&(n^e.charCodeAt(s++))])>>>8^r[255&(n^e.charCodeAt(s++))];return s===a&&(n=n>>>8^r[255&(n^e.charCodeAt(s))]),-1^n}function a(e,t){if(e.length>1e4)return s(e,t);for(var n=-1^t,a=e.length-3,i=0;i<a;)n=(n=(n=(n=n>>>8^r[255&(n^e[i++])])>>>8^r[255&(n^e[i++])])>>>8^r[255&(n^e[i++])])>>>8^r[255&(n^e[i++])];for(;i<a+3;)n=n>>>8^r[255&(n^e[i++])];return-1^n}function s(e,t){for(var n=-1^t,a=e.length-7,s=0;s<a;)n=(n=(n=(n=(n=(n=(n=(n=n>>>8^r[255&(n^e[s++])])>>>8^r[255&(n^e[s++])])>>>8^r[255&(n^e[s++])])>>>8^r[255&(n^e[s++])])>>>8^r[255&(n^e[s++])])>>>8^r[255&(n^e[s++])])>>>8^r[255&(n^e[s++])])>>>8^r[255&(n^e[s++])];for(;s<a+7;)n=n>>>8^r[255&(n^e[s++])];return-1^n}function i(e,t){for(var n,a,s=-1^t,i=0,o=e.length;i<o;)(n=e.charCodeAt(i++))<128?s=s>>>8^r[255&(s^n)]:n<2048?s=(s=s>>>8^r[255&(s^(192|n>>6&31))])>>>8^r[255&(s^(128|63&n))]:n>=55296&&n<57344?(n=64+(1023&n),a=1023&e.charCodeAt(i++),s=(s=(s=(s=s>>>8^r[255&(s^(240|n>>8&7))])>>>8^r[255&(s^(128|n>>2&63))])>>>8^r[255&(s^(128|a>>6&15|(3&n)<<4))])>>>8^r[255&(s^(128|63&a))]):s=(s=(s=s>>>8^r[255&(s^(224|n>>12&15))])>>>8^r[255&(s^(128|n>>6&63))])>>>8^r[255&(s^(128|63&n))];return-1^s}e.table=r,e.bstr=n,e.buf=a,e.str=i}(D={});var M,L=function(){var e,t={};function n(e){if("/"==e.charAt(e.length-1))return-1===e.slice(0,-1).indexOf("/")?e:n(e.slice(0,-1));var t=e.lastIndexOf("/");return-1===t?e:e.slice(0,t+1)}function a(e){if("/"==e.charAt(e.length-1))return a(e.slice(0,-1));var t=e.lastIndexOf("/");return-1===t?e:e.slice(t+1)}function s(e,t){"string"===typeof t&&(t=new Date(t));var r=t.getHours();r=(r=r<<6|t.getMinutes())<<5|t.getSeconds()>>>1,e.write_shift(2,r);var n=t.getFullYear()-1980;n=(n=n<<4|t.getMonth()+1)<<5|t.getDate(),e.write_shift(2,n)}function i(e){Lt(e,0);for(var t={},r=0;e.l<=e.length-4;){var n=e.read_shift(2),a=e.read_shift(2),s=e.l+a,i={};switch(n){case 21589:1&(r=e.read_shift(1))&&(i.mtime=e.read_shift(4)),a>5&&(2&r&&(i.atime=e.read_shift(4)),4&r&&(i.ctime=e.read_shift(4))),i.mtime&&(i.mt=new Date(1e3*i.mtime))}e.l=s,t[n]=i}return t}function o(){return e||(e=r(0))}function c(e,t){if(80==e[0]&&75==e[1])return ce(e,t);if(e.length<512)throw new Error("CFB file size "+e.length+" < 512");var r,n,a,s,i,o,c=512,u=[],d=e.slice(0,512);Lt(d,0);var p=function(e){if(80==e[e.l]&&75==e[e.l+1])return[0,0];e.chk(S,"Header Signature: "),e.l+=16;var t=e.read_shift(2,"u");return[e.read_shift(2,"u"),t]}(d);switch(r=p[0]){case 3:c=512;break;case 4:c=4096;break;case 0:if(0==p[1])return ce(e,t);default:throw new Error("Major Version: Expected 3 or 4 saw "+r)}512!==c&&Lt(d=e.slice(0,c),28);var m=e.slice(0,c);!function(e,t){var r=9;switch(e.l+=2,r=e.read_shift(2)){case 9:if(3!=t)throw new Error("Sector Shift: Expected 9 saw "+r);break;case 12:if(4!=t)throw new Error("Sector Shift: Expected 12 saw "+r);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+r)}e.chk("0600","Mini Sector Shift: "),e.chk("000000000000","Reserved: ")}(d,r);var g=d.read_shift(4,"i");if(3===r&&0!==g)throw new Error("# Directory Sectors: Expected 0 saw "+g);d.l+=4,s=d.read_shift(4,"i"),d.l+=4,d.chk("00100000","Mini Stream Cutoff Size: "),i=d.read_shift(4,"i"),n=d.read_shift(4,"i"),o=d.read_shift(4,"i"),a=d.read_shift(4,"i");for(var v=-1,E=0;E<109&&!((v=d.read_shift(4,"i"))<0);++E)u[E]=v;var w=function(e,t){for(var r=Math.ceil(e.length/t)-1,n=[],a=1;a<r;++a)n[a-1]=e.slice(a*t,(a+1)*t);return n[r-1]=e.slice(r*t),n}(e,c);!function e(t,r,n,a,s){var i=b;if(t===b){if(0!==r)throw new Error("DIFAT chain shorter than expected")}else if(-1!==t){var o=n[t],c=(a>>>2)-1;if(!o)return;for(var l=0;l<c&&(i=Ft(o,4*l))!==b;++l)s.push(i);e(Ft(o,a-4),r-1,n,a,s)}}(o,a,w,c,u);var C=function(e,t,r,n){var a=e.length,s=[],i=[],o=[],c=[],l=n-1,f=0,h=0,u=0,d=0;for(f=0;f<a;++f)if(o=[],(u=f+t)>=a&&(u-=a),!i[u]){c=[];var p=[];for(h=u;h>=0;){p[h]=!0,i[h]=!0,o[o.length]=h,c.push(e[h]);var m=r[Math.floor(4*h/n)];if(n<4+(d=4*h&l))throw new Error("FAT boundary crossed: "+h+" 4 "+n);if(!e[m])break;if(p[h=Ft(e[m],d)])break}s[u]={nodes:o,data:lt([c])}}return s}(w,s,u,c);C[s].name="!Directory",n>0&&i!==b&&(C[i].name="!MiniFAT"),C[u[0]].name="!FAT",C.fat_addrs=u,C.ssz=c;var B=[],T=[],k=[];!function(e,t,r,n,a,s,i,o){for(var c,u=0,d=n.length?2:0,p=t[e].data,m=0,g=0;m<p.length;m+=128){var v=p.slice(m,m+128);Lt(v,64),g=v.read_shift(2),c=ht(v,0,g-d),n.push(c);var E={name:c,type:v.read_shift(1),color:v.read_shift(1),L:v.read_shift(4,"i"),R:v.read_shift(4,"i"),C:v.read_shift(4,"i"),clsid:v.read_shift(16),state:v.read_shift(4,"i"),start:0,size:0};0!==v.read_shift(2)+v.read_shift(2)+v.read_shift(2)+v.read_shift(2)&&(E.ct=h(v,v.l-8)),0!==v.read_shift(2)+v.read_shift(2)+v.read_shift(2)+v.read_shift(2)&&(E.mt=h(v,v.l-8)),E.start=v.read_shift(4,"i"),E.size=v.read_shift(4,"i"),E.size<0&&E.start<0&&(E.size=E.type=0,E.start=b,E.name=""),5===E.type?(u=E.start,a>0&&u!==b&&(t[u].name="!StreamData")):E.size>=4096?(E.storage="fat",void 0===t[E.start]&&(t[E.start]=f(r,E.start,t.fat_addrs,t.ssz)),t[E.start].name=E.name,E.content=t[E.start].data.slice(0,E.size)):(E.storage="minifat",E.size<0?E.size=0:u!==b&&E.start!==b&&t[u]&&(E.content=l(E,t[u].data,(t[o]||{}).data))),E.content&&Lt(E.content,0),s[c]=E,i.push(E)}}(s,C,w,B,n,{},T,i),function(e,t,r){for(var n=0,a=0,s=0,i=0,o=0,c=r.length,l=[],f=[];n<c;++n)l[n]=f[n]=n,t[n]=r[n];for(;o<f.length;++o)a=e[n=f[o]].L,s=e[n].R,i=e[n].C,l[n]===n&&(-1!==a&&l[a]!==a&&(l[n]=l[a]),-1!==s&&l[s]!==s&&(l[n]=l[s])),-1!==i&&(l[i]=n),-1!==a&&n!=l[n]&&(l[a]=l[n],f.lastIndexOf(a)<o&&f.push(a)),-1!==s&&n!=l[n]&&(l[s]=l[n],f.lastIndexOf(s)<o&&f.push(s));for(n=1;n<c;++n)l[n]===n&&(-1!==s&&l[s]!==s?l[n]=l[s]:-1!==a&&l[a]!==a&&(l[n]=l[a]));for(n=1;n<c;++n)if(0!==e[n].type){if((o=n)!=l[o])do{o=l[o],t[n]=t[o]+"/"+t[n]}while(0!==o&&-1!==l[o]&&o!=l[o]);l[n]=-1}for(t[0]+="/",n=1;n<c;++n)2!==e[n].type&&(t[n]+="/")}(T,k,B),B.shift();var _={FileIndex:T,FullPaths:k};return t&&t.raw&&(_.raw={header:m,sectors:w}),_}function l(e,t,r){for(var n=e.start,a=e.size,s=[],i=n;r&&a>0&&i>=0;)s.push(t.slice(i*g,i*g+g)),a-=g,i=Ft(r,4*i);return 0===s.length?Ht(0):A(s).slice(0,e.size)}function f(e,t,r,n,a){var s=[],i=[];a||(a=[]);var o=n-1,c=0,l=0;for(c=t;c>=0;){a[c]=!0,s[s.length]=c,i.push(e[c]);var f=r[Math.floor(4*c/n)];if(n<4+(l=4*c&o))throw new Error("FAT boundary crossed: "+c+" 4 "+n);if(!e[f])break;c=Ft(e[f],l)}return{nodes:s,data:lt([i])}}function h(e,t){return new Date(1e3*(Rt(e,t+4)/1e7*Math.pow(2,32)+Rt(e,t)/1e7-11644473600))}function u(e,t){var r=t||{},n=r.root||"Root Entry";if(e.FullPaths||(e.FullPaths=[]),e.FileIndex||(e.FileIndex=[]),e.FullPaths.length!==e.FileIndex.length)throw new Error("inconsistent CFB structure");0===e.FullPaths.length&&(e.FullPaths[0]=n+"/",e.FileIndex[0]={name:n,type:5}),r.CLSID&&(e.FileIndex[0].clsid=r.CLSID),function(e){var t="\x01Sh33tJ5";if(L.find(e,"/"+t))return;var r=Ht(4);r[0]=55,r[1]=r[3]=50,r[2]=54,e.FileIndex.push({name:t,type:2,content:r,size:4,L:69,R:69,C:69}),e.FullPaths.push(e.FullPaths[0]+t),d(e)}(e)}function d(e,t){u(e);for(var r=!1,s=!1,i=e.FullPaths.length-1;i>=0;--i){var o=e.FileIndex[i];switch(o.type){case 0:s?r=!0:(e.FileIndex.pop(),e.FullPaths.pop());break;case 1:case 2:case 5:s=!0,isNaN(o.R*o.L*o.C)&&(r=!0),o.R>-1&&o.L>-1&&o.R==o.L&&(r=!0);break;default:r=!0}}if(r||t){var c=new Date(1987,1,19),l=0,f=[];for(i=0;i<e.FullPaths.length;++i)0!==e.FileIndex[i].type&&f.push([e.FullPaths[i],e.FileIndex[i]]);for(i=0;i<f.length;++i){var h=n(f[i][0]);for(s=!1,l=0;l<f.length;++l)f[l][0]===h&&(s=!0);s||f.push([h,{name:a(h).replace("/",""),type:1,clsid:k,ct:c,mt:c,content:null}])}for(f.sort((function(e,t){return function(e,t){for(var r=e.split("/"),n=t.split("/"),a=0,s=0,i=Math.min(r.length,n.length);a<i;++a){if(s=r[a].length-n[a].length)return s;if(r[a]!=n[a])return r[a]<n[a]?-1:1}return r.length-n.length}(e[0],t[0])})),e.FullPaths=[],e.FileIndex=[],i=0;i<f.length;++i)e.FullPaths[i]=f[i][0],e.FileIndex[i]=f[i][1];for(i=0;i<f.length;++i){var d=e.FileIndex[i],p=e.FullPaths[i];if(d.name=a(p).replace("/",""),d.L=d.R=d.C=-(d.color=1),d.size=d.content?d.content.length:0,d.start=0,d.clsid=d.clsid||k,0===i)d.C=f.length>1?1:-1,d.size=0,d.type=5;else if("/"==p.slice(-1)){for(l=i+1;l<f.length&&n(e.FullPaths[l])!=p;++l);for(d.C=l>=f.length?-1:l,l=i+1;l<f.length&&n(e.FullPaths[l])!=n(p);++l);d.R=l>=f.length?-1:l,d.type=1}else n(e.FullPaths[i+1]||"")==n(p)&&(d.R=i+1),d.type=2}}}function p(e,t){var r=t||{};if(d(e),"zip"==r.fileType)return function(e,t){var r=t||{},n=[],a=[],i=Ht(1),o=r.compression?8:0,c=0;0;var l=0,f=0,h=0,u=0,d=e.FullPaths[0],p=d,m=e.FileIndex[0],g=[],b=0;for(l=1;l<e.FullPaths.length;++l)if(p=e.FullPaths[l].slice(d.length),(m=e.FileIndex[l]).size&&m.content&&"\x01Sh33tJ5"!=p){var v=h,E=Ht(p.length);for(f=0;f<p.length;++f)E.write_shift(1,127&p.charCodeAt(f));E=E.slice(0,E.l),g[u]=D.buf(m.content,0);var S=m.content;8==o&&(S=R(S)),(i=Ht(30)).write_shift(4,67324752),i.write_shift(2,20),i.write_shift(2,c),i.write_shift(2,o),m.mt?s(i,m.mt):i.write_shift(4,0),i.write_shift(-4,8&c?0:g[u]),i.write_shift(4,8&c?0:S.length),i.write_shift(4,8&c?0:m.content.length),i.write_shift(2,E.length),i.write_shift(2,0),h+=i.length,n.push(i),h+=E.length,n.push(E),h+=S.length,n.push(S),8&c&&((i=Ht(12)).write_shift(-4,g[u]),i.write_shift(4,S.length),i.write_shift(4,m.content.length),h+=i.l,n.push(i)),(i=Ht(46)).write_shift(4,33639248),i.write_shift(2,0),i.write_shift(2,20),i.write_shift(2,c),i.write_shift(2,o),i.write_shift(4,0),i.write_shift(-4,g[u]),i.write_shift(4,S.length),i.write_shift(4,m.content.length),i.write_shift(2,E.length),i.write_shift(2,0),i.write_shift(2,0),i.write_shift(2,0),i.write_shift(2,0),i.write_shift(4,0),i.write_shift(4,v),b+=i.l,a.push(i),b+=E.length,a.push(E),++u}return(i=Ht(22)).write_shift(4,101010256),i.write_shift(2,0),i.write_shift(2,0),i.write_shift(2,u),i.write_shift(2,u),i.write_shift(4,b),i.write_shift(4,h),i.write_shift(2,0),A([A(n),A(a),i])}(e,r);var n=function(e){for(var t=0,r=0,n=0;n<e.FileIndex.length;++n){var a=e.FileIndex[n];if(a.content){var s=a.content.length;s>0&&(s<4096?t+=s+63>>6:r+=s+511>>9)}}for(var i=e.FullPaths.length+3>>2,o=t+127>>7,c=(t+7>>3)+r+i+o,l=c+127>>7,f=l<=109?0:Math.ceil((l-109)/127);c+l+f+127>>7>l;)f=++l<=109?0:Math.ceil((l-109)/127);var h=[1,f,l,o,i,r,t,0];return e.FileIndex[0].size=t<<6,h[7]=(e.FileIndex[0].start=h[0]+h[1]+h[2]+h[3]+h[4]+h[5])+(h[6]+7>>3),h}(e),a=Ht(n[7]<<9),i=0,o=0;for(i=0;i<8;++i)a.write_shift(1,w[i]);for(i=0;i<8;++i)a.write_shift(2,0);for(a.write_shift(2,62),a.write_shift(2,3),a.write_shift(2,65534),a.write_shift(2,9),a.write_shift(2,6),i=0;i<3;++i)a.write_shift(2,0);for(a.write_shift(4,0),a.write_shift(4,n[2]),a.write_shift(4,n[0]+n[1]+n[2]+n[3]-1),a.write_shift(4,0),a.write_shift(4,4096),a.write_shift(4,n[3]?n[0]+n[1]+n[2]-1:b),a.write_shift(4,n[3]),a.write_shift(-4,n[1]?n[0]-1:b),a.write_shift(4,n[1]),i=0;i<109;++i)a.write_shift(-4,i<n[2]?n[1]+i:-1);if(n[1])for(o=0;o<n[1];++o){for(;i<236+127*o;++i)a.write_shift(-4,i<n[2]?n[1]+i:-1);a.write_shift(-4,o===n[1]-1?b:o+1)}var c=function(e){for(o+=e;i<o-1;++i)a.write_shift(-4,i+1);e&&(++i,a.write_shift(-4,b))};for(o=i=0,o+=n[1];i<o;++i)a.write_shift(-4,_.DIFSECT);for(o+=n[2];i<o;++i)a.write_shift(-4,_.FATSECT);c(n[3]),c(n[4]);for(var l=0,f=0,h=e.FileIndex[0];l<e.FileIndex.length;++l)(h=e.FileIndex[l]).content&&((f=h.content.length)<4096||(h.start=o,c(f+511>>9)));for(c(n[6]+7>>3);511&a.l;)a.write_shift(-4,_.ENDOFCHAIN);for(o=i=0,l=0;l<e.FileIndex.length;++l)(h=e.FileIndex[l]).content&&(!(f=h.content.length)||f>=4096||(h.start=o,c(f+63>>6)));for(;511&a.l;)a.write_shift(-4,_.ENDOFCHAIN);for(i=0;i<n[4]<<2;++i){var u=e.FullPaths[i];if(u&&0!==u.length){h=e.FileIndex[i],0===i&&(h.start=h.size?h.start-1:b);var p=0===i&&r.root||h.name;if(f=2*(p.length+1),a.write_shift(64,p,"utf16le"),a.write_shift(2,f),a.write_shift(1,h.type),a.write_shift(1,h.color),a.write_shift(-4,h.L),a.write_shift(-4,h.R),a.write_shift(-4,h.C),h.clsid)a.write_shift(16,h.clsid,"hex");else for(l=0;l<4;++l)a.write_shift(4,0);a.write_shift(4,h.state||0),a.write_shift(4,0),a.write_shift(4,0),a.write_shift(4,0),a.write_shift(4,0),a.write_shift(4,h.start),a.write_shift(4,h.size),a.write_shift(4,0)}else{for(l=0;l<17;++l)a.write_shift(4,0);for(l=0;l<3;++l)a.write_shift(4,-1);for(l=0;l<12;++l)a.write_shift(4,0)}}for(i=1;i<e.FileIndex.length;++i)if((h=e.FileIndex[i]).size>=4096){for(a.l=h.start+1<<9,l=0;l<h.size;++l)a.write_shift(1,h.content[l]);for(;511&l;++l)a.write_shift(1,0)}for(i=1;i<e.FileIndex.length;++i)if((h=e.FileIndex[i]).size>0&&h.size<4096){for(l=0;l<h.size;++l)a.write_shift(1,h.content[l]);for(;63&l;++l)a.write_shift(1,0)}for(;a.l<a.length;)a.write_shift(1,0);return a}t.version="1.1.4";var m,g=64,b=-2,S="d0cf11e0a1b11ae1",w=[208,207,17,224,161,177,26,225],k="00000000000000000000000000000000",_={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:b,FREESECT:-1,HEADER_SIGNATURE:S,HEADER_MINOR_VERSION:"3e00",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:k,EntryTypes:["unknown","storage","stream","lockbytes","property","root"]};function x(e){for(var t=new Array(e.length),r=0;r<e.length;++r)t[r]=String.fromCharCode(e[r]);return t.join("")}function R(e){return m?m.deflateRawSync(e):Y(e)}var F=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],O=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258],P=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577];function N(e){var t=139536&(e<<1|e<<11)|558144&(e<<5|e<<15);return 255&(t>>16|t>>8|t)}for(var M="undefined"!==typeof Uint8Array,U=M?new Uint8Array(256):[],H=0;H<256;++H)U[H]=N(H);function W(e,t){var r=U[255&e];return t<=8?r>>>8-t:(r=r<<8|U[e>>8&255],t<=16?r>>>16-t:(r=r<<8|U[e>>16&255])>>>24-t)}function V(e,t){var r=7&t,n=t>>>3;return(e[n]|(r<=6?0:e[n+1]<<8))>>>r&3}function X(e,t){var r=7&t,n=t>>>3;return(e[n]|(r<=5?0:e[n+1]<<8))>>>r&7}function G(e,t){var r=7&t,n=t>>>3;return(e[n]|(r<=3?0:e[n+1]<<8))>>>r&31}function z(e,t){var r=7&t,n=t>>>3;return(e[n]|(r<=1?0:e[n+1]<<8))>>>r&127}function j(e,t,r){var n=7&t,a=t>>>3,s=(1<<r)-1,i=e[a]>>>n;return r<8-n?i&s:(i|=e[a+1]<<8-n,r<16-n?i&s:(i|=e[a+2]<<16-n,r<24-n?i&s:(i|=e[a+3]<<24-n)&s))}function $(e,t){var r=e.length,n=2*r>t?2*r:t+5,a=0;if(r>=t)return e;if(E){var s=B(n);if(e.copy)e.copy(s);else for(;a<e.length;++a)s[a]=e[a];return s}if(M){var i=new Uint8Array(n);if(i.set)i.set(e);else for(;a<e.length;++a)i[a]=e[a];return i}return e.length=n,e}function K(e){for(var t=new Array(e),r=0;r<e;++r)t[r]=0;return t}var Y=function(){var e=function(e,t){for(var r=0;r<e.length;){var n=Math.min(65535,e.length-r),a=r+n==e.length;for(t.write_shift(1,+a),t.write_shift(2,n),t.write_shift(2,65535&~n);n-- >0;)t[t.l++]=e[r++]}return t.l};return function(t){var r=Ht(50+Math.floor(1.1*t.length)),n=e(t,r);return r.slice(0,n)}}();function Q(e,t,r){var n=1,a=0,s=0,i=0,o=0,c=e.length,l=M?new Uint16Array(32):K(32);for(s=0;s<32;++s)l[s]=0;for(s=c;s<r;++s)e[s]=0;c=e.length;var f=M?new Uint16Array(c):K(c);for(s=0;s<c;++s)l[a=e[s]]++,n<a&&(n=a),f[s]=0;for(l[0]=0,s=1;s<=n;++s)l[s+16]=o=o+l[s-1]<<1;for(s=0;s<c;++s)0!=(o=e[s])&&(f[s]=l[o+16]++);var h=0;for(s=0;s<c;++s)if(0!=(h=e[s]))for(o=W(f[s],n)>>n-h,i=(1<<n+4-h)-1;i>=0;--i)t[o|i<<h]=15&h|s<<4;return n}var J=M?new Uint16Array(512):K(512),Z=M?new Uint16Array(32):K(32);if(!M){for(var q=0;q<512;++q)J[q]=0;for(q=0;q<32;++q)Z[q]=0}!function(){for(var e=[],t=0;t<32;t++)e.push(5);Q(e,Z,32);var r=[];for(t=0;t<=143;t++)r.push(8);for(;t<=255;t++)r.push(9);for(;t<=279;t++)r.push(7);for(;t<=287;t++)r.push(8);Q(r,J,288)}();var ee=M?new Uint16Array(32768):K(32768),te=M?new Uint16Array(32768):K(32768),re=M?new Uint16Array(128):K(128),ne=1,ae=1;function se(e,t){var r=G(e,t)+257,n=G(e,t+=5)+1,a=function(e,t){var r=7&t,n=t>>>3;return(e[n]|(r<=4?0:e[n+1]<<8))>>>r&15}(e,t+=5)+4;t+=4;for(var s=0,i=M?new Uint8Array(19):K(19),o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],c=1,l=M?new Uint8Array(8):K(8),f=M?new Uint8Array(8):K(8),h=i.length,u=0;u<a;++u)i[F[u]]=s=X(e,t),c<s&&(c=s),l[s]++,t+=3;var d=0;for(l[0]=0,u=1;u<=c;++u)f[u]=d=d+l[u-1]<<1;for(u=0;u<h;++u)0!=(d=i[u])&&(o[u]=f[d]++);var p=0;for(u=0;u<h;++u)if(0!=(p=i[u])){d=U[o[u]]>>8-p;for(var m=(1<<7-p)-1;m>=0;--m)re[d|m<<p]=7&p|u<<3}var g=[];for(c=1;g.length<r+n;)switch(t+=7&(d=re[z(e,t)]),d>>>=3){case 16:for(s=3+V(e,t),t+=2,d=g[g.length-1];s-- >0;)g.push(d);break;case 17:for(s=3+X(e,t),t+=3;s-- >0;)g.push(0);break;case 18:for(s=11+z(e,t),t+=7;s-- >0;)g.push(0);break;default:g.push(d),c<d&&(c=d)}var b=g.slice(0,r),v=g.slice(r);for(u=r;u<286;++u)b[u]=0;for(u=n;u<30;++u)v[u]=0;return ne=Q(b,ee,286),ae=Q(v,te,30),t}function ie(e,t){var r=function(e,t){if(3==e[0]&&!(3&e[1]))return[C(t),2];for(var r=0,n=0,a=B(t||1<<18),s=0,i=a.length>>>0,o=0,c=0;0==(1&n);)if(n=X(e,r),r+=3,n>>>1!=0)for(n>>>1==1?(o=9,c=5):(r=se(e,r),o=ne,c=ae),!t&&i<s+32767&&(i=(a=$(a,s+32767)).length);;){var l=j(e,r,o),f=n>>>1==1?J[l]:ee[l];if(r+=15&f,0===((f>>>=4)>>>8&255))a[s++]=f;else{if(256==f)break;var h=(f-=257)<8?0:f-4>>2;h>5&&(h=0);var u=s+O[f];h>0&&(u+=j(e,r,h),r+=h),l=j(e,r,c),r+=15&(f=n>>>1==1?Z[l]:te[l]);var d=(f>>>=4)<4?0:f-2>>1,p=P[f];for(d>0&&(p+=j(e,r,d),r+=d),!t&&i<u&&(i=(a=$(a,u)).length);s<u;)a[s]=a[s-p],++s}}else{7&r&&(r+=8-(7&r));var m=e[r>>>3]|e[1+(r>>>3)]<<8;if(r+=32,!t&&i<s+m&&(i=(a=$(a,s+m)).length),"function"===typeof e.copy)e.copy(a,s,r>>>3,(r>>>3)+m),s+=m,r+=8*m;else for(;m-- >0;)a[s++]=e[r>>>3],r+=8}return[t?a:a.slice(0,s),r+7>>>3]}(e.slice(e.l||0),t);return e.l+=r[1],r[0]}function oe(e,t){if(!e)throw new Error(t);"undefined"!==typeof console&&console.error(t)}function ce(e,t){var r=e;Lt(r,0);var n={FileIndex:[],FullPaths:[]};u(n,{root:t.root});for(var a=r.length-4;(80!=r[a]||75!=r[a+1]||5!=r[a+2]||6!=r[a+3])&&a>=0;)--a;r.l=a+4,r.l+=4;var s=r.read_shift(2);r.l+=6;var o=r.read_shift(4);for(r.l=o,a=0;a<s;++a){r.l+=20;var c=r.read_shift(4),l=r.read_shift(4),f=r.read_shift(2),h=r.read_shift(2),d=r.read_shift(2);r.l+=8;var p=r.read_shift(4),m=i(r.slice(r.l+f,r.l+f+h));r.l+=f+h+d;var g=r.l;r.l=p+4,le(r,c,l,n,m),r.l=g}return n}function le(e,t,r,n,a){e.l+=2;var s=e.read_shift(2),o=e.read_shift(2),c=function(e){var t=65535&e.read_shift(2),r=65535&e.read_shift(2),n=new Date,a=31&r,s=15&(r>>>=5);r>>>=4,n.setMilliseconds(0),n.setFullYear(r+1980),n.setMonth(s-1),n.setDate(a);var i=31&t,o=63&(t>>>=5);return t>>>=6,n.setHours(t),n.setMinutes(o),n.setSeconds(i<<1),n}(e);if(8257&s)throw new Error("Unsupported ZIP encryption");for(var l=e.read_shift(4),f=e.read_shift(4),h=e.read_shift(4),u=e.read_shift(2),d=e.read_shift(2),p="",g=0;g<u;++g)p+=String.fromCharCode(e[e.l++]);if(d){var b=i(e.slice(e.l,e.l+d));(b[21589]||{}).mt&&(c=b[21589].mt),((a||{})[21589]||{}).mt&&(c=a[21589].mt)}e.l+=d;var v=e.slice(e.l,e.l+f);switch(o){case 8:v=function(e,t){if(!m)return ie(e,t);var r=new(0,m.InflateRaw),n=r._processChunk(e.slice(e.l),r._finishFlushFlag);return e.l+=r.bytesRead,n}(e,h);break;case 0:break;default:throw new Error("Unsupported ZIP Compression method "+o)}var E=!1;8&s&&(134695760==(l=e.read_shift(4))&&(l=e.read_shift(4),E=!0),f=e.read_shift(4),h=e.read_shift(4)),f!=t&&oe(E,"Bad compressed size: "+t+" != "+f),h!=r&&oe(E,"Bad uncompressed size: "+r+" != "+h);var S=D.buf(v,0);l>>0!=S>>0&&oe(E,"Bad CRC32 checksum: "+l+" != "+S),fe(n,p,v,{unsafe:!0,mt:c})}function fe(e,t,r,n){var s=n&&n.unsafe;s||u(e);var i=!s&&L.find(e,t);if(!i){var o=e.FullPaths[0];t.slice(0,o.length)==o?o=t:("/"!=o.slice(-1)&&(o+="/"),o=(o+t).replace("//","/")),i={name:a(t),type:2},e.FileIndex.push(i),e.FullPaths.push(o),s||L.utils.cfb_gc(e)}return i.content=r,i.size=r?r.length:0,n&&(n.CLSID&&(i.clsid=n.CLSID),n.mt&&(i.mt=n.mt),n.ct&&(i.ct=n.ct)),i}return t.find=function(e,t){var r=e.FullPaths.map((function(e){return e.toUpperCase()})),n=r.map((function(e){var t=e.split("/");return t[t.length-("/"==e.slice(-1)?2:1)]})),a=!1;47===t.charCodeAt(0)?(a=!0,t=r[0].slice(0,-1)+t):a=-1!==t.indexOf("/");var s=t.toUpperCase(),i=!0===a?r.indexOf(s):n.indexOf(s);if(-1!==i)return e.FileIndex[i];var o=!s.match(y);for(s=s.replace(I,""),o&&(s=s.replace(y,"!")),i=0;i<r.length;++i){if((o?r[i].replace(y,"!"):r[i]).replace(I,"")==s)return e.FileIndex[i];if((o?n[i].replace(y,"!"):n[i]).replace(I,"")==s)return e.FileIndex[i]}return null},t.read=function(t,r){switch(r&&r.type||"base64"){case"file":return function(t,r){return o(),c(e.readFileSync(t),r)}(t,r);case"base64":return c(T(v.decode(t)),r);case"binary":return c(T(t),r)}return c(t,r)},t.parse=c,t.write=function(t,r){var n=p(t,r);switch(r&&r.type){case"file":return o(),e.writeFileSync(r.filename,n),n;case"binary":return x(n);case"base64":return v.encode(x(n))}return n},t.writeFile=function(t,r,n){o();var a=p(t,n);e.writeFileSync(r,a)},t.utils={cfb_new:function(e){var t={};return u(t,e),t},cfb_add:fe,cfb_del:function(e,t){u(e);var r=L.find(e,t);if(r)for(var n=0;n<e.FileIndex.length;++n)if(e.FileIndex[n]==r)return e.FileIndex.splice(n,1),e.FullPaths.splice(n,1),!0;return!1},cfb_mov:function(e,t,r){u(e);var n=L.find(e,t);if(n)for(var s=0;s<e.FileIndex.length;++s)if(e.FileIndex[s]==n)return e.FileIndex[s].name=a(r),e.FullPaths[s]=r,!0;return!1},cfb_gc:function(e){d(e,!0)},ReadShift:Ot,CheckField:Mt,prep_blob:Lt,bconcat:A,use_zlib:function(e){try{var t=new(0,e.InflateRaw);if(t._processChunk(new Uint8Array([3,0]),t._finishFlushFlag),!t.bytesRead)throw new Error("zlib does not expose bytesRead");m=e}catch(lf){console.error("cannot use native zlib: "+(lf.message||lf))}},_deflateRaw:Y,_inflateRaw:ie,consts:_},t}();try{M=r(0)}catch(lf){}function U(e){return"string"===typeof e?k(e):Array.isArray(e)?function(e){if("undefined"===typeof Uint8Array)throw new Error("Unsupported");return new Uint8Array(e)}(e):e}function H(e,t,r){if("undefined"!==typeof M&&M.writeFileSync)return r?M.writeFileSync(e,t,r):M.writeFileSync(e,t);var n="utf8"==r?Le(t):t;if("undefined"!==typeof IE_SaveFile)return IE_SaveFile(n,e);if("undefined"!==typeof Blob){var a=new Blob([U(n)],{type:"application/octet-stream"});if("undefined"!==typeof navigator&&navigator.msSaveBlob)return navigator.msSaveBlob(a,e);if("undefined"!==typeof saveAs)return saveAs(a,e);if("undefined"!==typeof URL&&"undefined"!==typeof document&&document.createElement&&URL.createObjectURL){var s=URL.createObjectURL(a);if("object"===typeof chrome&&"function"==typeof(chrome.downloads||{}).download)return URL.revokeObjectURL&&"undefined"!==typeof setTimeout&&setTimeout((function(){URL.revokeObjectURL(s)}),6e4),chrome.downloads.download({url:s,filename:e,saveAs:!0});var i=document.createElement("a");if(null!=i.download)return i.download=e,i.href=s,document.body.appendChild(i),i.click(),document.body.removeChild(i),URL.revokeObjectURL&&"undefined"!==typeof setTimeout&&setTimeout((function(){URL.revokeObjectURL(s)}),6e4),s}}if("undefined"!==typeof $&&"undefined"!==typeof File&&"undefined"!==typeof Folder)try{var o=File(e);return o.open("w"),o.encoding="binary",Array.isArray(t)&&(t=_(t)),o.write(t),o.close(),t}catch(lf){if(!lf.message||!lf.message.match(/onstruct/))throw lf}throw new Error("cannot save file "+e)}function W(e){for(var t=Object.keys(e),r=[],n=0;n<t.length;++n)Object.prototype.hasOwnProperty.call(e,t[n])&&r.push(t[n]);return r}function V(e,t){for(var r=[],n=W(e),a=0;a!==n.length;++a)null==r[e[n[a]][t]]&&(r[e[n[a]][t]]=n[a]);return r}function X(e){for(var t=[],r=W(e),n=0;n!==r.length;++n)t[e[r[n]]]=r[n];return t}function G(e){for(var t=[],r=W(e),n=0;n!==r.length;++n)t[e[r[n]]]=parseInt(r[n],10);return t}var z=new Date(1899,11,30,0,0,0);function j(e,t){var r=e.getTime();return t&&(r-=1263168e5),(r-(z.getTime()+6e4*(e.getTimezoneOffset()-z.getTimezoneOffset())))/864e5}var K=new Date,Y=z.getTime()+6e4*(K.getTimezoneOffset()-z.getTimezoneOffset()),Q=K.getTimezoneOffset();function J(e){var t=new Date;return t.setTime(24*e*60*60*1e3+Y),t.getTimezoneOffset()!==Q&&t.setTime(t.getTime()+6e4*(t.getTimezoneOffset()-Q)),t}function Z(e){var t=0,r=0,n=!1,a=e.match(/P([0-9\.]+Y)?([0-9\.]+M)?([0-9\.]+D)?T([0-9\.]+H)?([0-9\.]+M)?([0-9\.]+S)?/);if(!a)throw new Error("|"+e+"| is not an ISO8601 Duration");for(var s=1;s!=a.length;++s)if(a[s]){switch(r=1,s>3&&(n=!0),a[s].slice(a[s].length-1)){case"Y":throw new Error("Unsupported ISO Duration Field: "+a[s].slice(a[s].length-1));case"D":r*=24;case"H":r*=60;case"M":if(!n)throw new Error("Unsupported ISO Duration Field: M");r*=60}t+=r*parseInt(a[s],10)}return t}var q=new Date("2017-02-19T19:06:09.000Z");isNaN(q.getFullYear())&&(q=new Date("2/19/17"));var ee=2017==q.getFullYear();function te(e,t){var r=new Date(e);if(ee)return t>0?r.setTime(r.getTime()+60*r.getTimezoneOffset()*1e3):t<0&&r.setTime(r.getTime()-60*r.getTimezoneOffset()*1e3),r;if(e instanceof Date)return e;if(1917==q.getFullYear()&&!isNaN(r.getFullYear())){var n=r.getFullYear();return e.indexOf(""+n)>-1||r.setFullYear(r.getFullYear()+100),r}var a=e.match(/\d+/g)||["2017","2","19","0","0","0"],s=new Date(+a[0],+a[1]-1,+a[2],+a[3]||0,+a[4]||0,+a[5]||0);return e.indexOf("Z")>-1&&(s=new Date(s.getTime()-60*s.getTimezoneOffset()*1e3)),s}function re(e){for(var t="",r=0;r!=e.length;++r)t+=String.fromCharCode(e[r]);return t}function ne(e){if("undefined"!=typeof JSON&&!Array.isArray(e))return JSON.parse(JSON.stringify(e));if("object"!=typeof e||null==e)return e;if(e instanceof Date)return new Date(e.getTime());var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=ne(e[r]));return t}function ae(e,t){for(var r="";r.length<t;)r+=e;return r}function se(e){var t=Number(e);if(!isNaN(t))return t;if(!/\d/.test(e))return t;var r=1,n=e.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g,(function(){return r*=100,""}));return isNaN(t=Number(n))?(n=n.replace(/[(](.*)[)]/,(function(e,t){return r=-r,t})),isNaN(t=Number(n))?t:t/r):t/r}function ie(e){var t=new Date(e),r=new Date(NaN),n=t.getYear(),a=t.getMonth(),s=t.getDate();return isNaN(s)||n<0||n>8099?r:(a>0||s>1)&&101!=n||e.toLowerCase().match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/)?t:e.match(/[^-0-9:,\/\\]/)?r:t}var oe,ce=5=="abacaba".split(/(:?b)/i).length;function le(e){return e?e.data?m(e.data):e.asNodeBuffer&&E?m(e.asNodeBuffer().toString("binary")):e.asBinary?m(e.asBinary()):e._data&&e._data.getContent?m(re(Array.prototype.slice.call(e._data.getContent(),0))):e.content&&e.type?m(re(e.content)):null:null}function fe(e){return e&&".bin"===e.name.slice(-4)?function(e){if(!e)return null;if(e.data)return p(e.data);if(e.asNodeBuffer&&E)return e.asNodeBuffer();if(e._data&&e._data.getContent){var t=e._data.getContent();return"string"==typeof t?p(t):Array.prototype.slice.call(t)}return e.content&&e.type?e.content:null}(e):le(e)}function he(e,t){for(var r=e.FullPaths||W(e.files),n=t.toLowerCase(),a=n.replace(/\//g,"\\"),s=0;s<r.length;++s){var i=r[s].toLowerCase();if(n==i||a==i)return e.files[r[s]]}return null}function ue(e,t){var r=he(e,t);if(null==r)throw new Error("Cannot find file "+t+" in zip");return r}function de(e,t,r){if(!r)return fe(ue(e,t));if(!t)return null;try{return de(e,t)}catch(lf){return null}}function pe(e,t,r){if(!r)return le(ue(e,t));if(!t)return null;try{return pe(e,t)}catch(lf){return null}}function me(e,t,r){e.FullPaths?L.utils.cfb_add(e,t,r):e.file(t,r)}function ge(){return oe?new oe:L.utils.cfb_new()}function be(e,t){if("/"==e.charAt(0))return e.slice(1);var r=t.split("/");"/"!=t.slice(-1)&&r.pop();for(var n=e.split("/");0!==n.length;){var a=n.shift();".."===a?r.pop():"."!==a&&r.push(a)}return r.join("/")}"undefined"!==typeof JSZipSync&&(oe=JSZipSync),e.exports&&"undefined"===typeof oe&&(oe=r("FaQm"));var ve='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r\n',Ee=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g,Se=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s?[\/\?]?>/gm;ve.match(Se)||(Se=/<[^>]*>/g);var we=/<\w*:/,Ce=/<(\/?)\w+:/;function Be(e,t,r){for(var n={},a=0,s=0;a!==e.length&&(32!==(s=e.charCodeAt(a))&&10!==s&&13!==s);++a);if(t||(n[0]=e.slice(0,a)),a===e.length)return n;var i=e.match(Ee),o=0,c="",l=0,f="",h="",u=1;if(i)for(l=0;l!=i.length;++l){for(h=i[l],s=0;s!=h.length&&61!==h.charCodeAt(s);++s);for(f=h.slice(0,s).trim();32==h.charCodeAt(s+1);)++s;for(u=34==(a=h.charCodeAt(s+1))||39==a?1:0,c=h.slice(s+1+u,h.length-u),o=0;o!=f.length&&58!==f.charCodeAt(o);++o);if(o===f.length)f.indexOf("_")>0&&(f=f.slice(0,f.indexOf("_"))),n[f]=c,r||(n[f.toLowerCase()]=c);else{var d=(5===o&&"xmlns"===f.slice(0,5)?"xmlns":"")+f.slice(o+1);if(n[d]&&"ext"==f.slice(o-3,o))continue;n[d]=c,r||(n[d.toLowerCase()]=c)}}return n}function Te(e){return e.replace(Ce,"<$1")}var ke={"&quot;":'"',"&apos;":"'","&gt;":">","&lt;":"<","&amp;":"&"},_e=X(ke),xe=function(){var e=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/gi,t=/_x([\da-fA-F]{4})_/gi;return function r(n){var a=n+"",s=a.indexOf("<![CDATA[");if(-1==s)return a.replace(e,(function(e,t){return ke[e]||String.fromCharCode(parseInt(t,e.indexOf("x")>-1?16:10))||e})).replace(t,(function(e,t){return String.fromCharCode(parseInt(t,16))}));var i=a.indexOf("]]>");return r(a.slice(0,s))+a.slice(s+9,i)+r(a.slice(i+3))}}(),Ae=/[&<>'"]/g,Ie=/[\u0000-\u0008\u000b-\u001f]/g;function ye(e){return(e+"").replace(Ae,(function(e){return _e[e]})).replace(Ie,(function(e){return"_x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+"_"}))}function Re(e){return ye(e).replace(/ /g,"_x0020_")}var Fe=/[\u0000-\u001f]/g;function De(e){return(e+"").replace(Ae,(function(e){return _e[e]})).replace(/\n/g,"<br/>").replace(Fe,(function(e){return"&#x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+";"}))}var Oe=function(){var e=/&#(\d+);/g;function t(e,t){return String.fromCharCode(parseInt(t,10))}return function(r){return r.replace(e,t)}}(),Pe=function(e){return e.replace(/(\r\n|[\r\n])/g,"&#10;")};function Ne(e){switch(e){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}var Me=function(e){for(var t="",r=0,n=0,a=0,s=0,i=0,o=0;r<e.length;)(n=e.charCodeAt(r++))<128?t+=String.fromCharCode(n):(a=e.charCodeAt(r++),n>191&&n<224?(i=(31&n)<<6,i|=63&a,t+=String.fromCharCode(i)):(s=e.charCodeAt(r++),n<240?t+=String.fromCharCode((15&n)<<12|(63&a)<<6|63&s):(o=((7&n)<<18|(63&a)<<12|(63&s)<<6|63&(i=e.charCodeAt(r++)))-65536,t+=String.fromCharCode(55296+(o>>>10&1023)),t+=String.fromCharCode(56320+(1023&o)))));return t},Le=function(e){for(var t=[],r=0,n=0,a=0;r<e.length;)switch(n=e.charCodeAt(r++),!0){case n<128:t.push(String.fromCharCode(n));break;case n<2048:t.push(String.fromCharCode(192+(n>>6))),t.push(String.fromCharCode(128+(63&n)));break;case n>=55296&&n<57344:n-=55296,a=e.charCodeAt(r++)-56320+(n<<10),t.push(String.fromCharCode(240+(a>>18&7))),t.push(String.fromCharCode(144+(a>>12&63))),t.push(String.fromCharCode(128+(a>>6&63))),t.push(String.fromCharCode(128+(63&a)));break;default:t.push(String.fromCharCode(224+(n>>12))),t.push(String.fromCharCode(128+(n>>6&63))),t.push(String.fromCharCode(128+(63&n)))}return t.join("")};if(E){var Ue=function(e){var t,r,n,s=a.alloc(2*e.length),i=1,o=0,c=0;for(r=0;r<e.length;r+=i)i=1,(n=e.charCodeAt(r))<128?t=n:n<224?(t=64*(31&n)+(63&e.charCodeAt(r+1)),i=2):n<240?(t=4096*(15&n)+64*(63&e.charCodeAt(r+1))+(63&e.charCodeAt(r+2)),i=3):(i=4,t=262144*(7&n)+4096*(63&e.charCodeAt(r+1))+64*(63&e.charCodeAt(r+2))+(63&e.charCodeAt(r+3)),c=55296+((t-=65536)>>>10&1023),t=56320+(1023&t)),0!==c&&(s[o++]=255&c,s[o++]=c>>>8,c=0),s[o++]=t%256,s[o++]=t>>>8;return s.slice(0,o).toString("ucs2")},He="foo bar baz\xe2\x98\x83\xf0\x9f\x8d\xa3";Me(He)==Ue(He)&&(Me=Ue);var We=function(e){return S(e,"binary").toString("utf8")};Me(He)==We(He)&&(Me=We),Le=function(e){return S(e,"utf8").toString("binary")}}var Ve=function(){var e={};return function(t,r){var n=t+"|"+(r||"");return e[n]?e[n]:e[n]=new RegExp("<(?:\\w+:)?"+t+'(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)</(?:\\w+:)?'+t+">",r||"")}}(),Xe=function(){var e=[["nbsp"," "],["middot","\xb7"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map((function(e){return[new RegExp("&"+e[0]+";","ig"),e[1]]}));return function(t){for(var r=t.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+</g,"<").replace(/[\t\n\r ]+/g," ").replace(/<\s*[bB][rR]\s*\/?>/g,"\n").replace(/<[^>]*>/g,""),n=0;n<e.length;++n)r=r.replace(e[n][0],e[n][1]);return r}}(),Ge=function(){var e={};return function(t){return void 0!==e[t]?e[t]:e[t]=new RegExp("<(?:vt:)?"+t+">([\\s\\S]*?)</(?:vt:)?"+t+">","g")}}(),ze=/<\/?(?:vt:)?variant>/g,je=/<(?:vt:)([^>]*)>([\s\S]*)</;function $e(e,t){var r=Be(e),n=e.match(Ge(r.baseType))||[],a=[];if(n.length!=r.size){if(t.WTF)throw new Error("unexpected vector length "+n.length+" != "+r.size);return a}return n.forEach((function(e){var t=e.replace(ze,"").match(je);t&&a.push({v:Me(t[2]),t:t[1]})})),a}var Ke=/(^\s|\s$|\n)/;function Ye(e,t){return"<"+e+(t.match(Ke)?' xml:space="preserve"':"")+">"+t+"</"+e+">"}function Qe(e){return W(e).map((function(t){return" "+t+'="'+e[t]+'"'})).join("")}function Je(e,t,r){return"<"+e+(null!=r?Qe(r):"")+(null!=t?(t.match(Ke)?' xml:space="preserve"':"")+">"+t+"</"+e:"/")+">"}function Ze(e,t){try{return e.toISOString().replace(/\.\d*/,"")}catch(lf){if(t)throw lf}return""}var qe,et,tt={dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",mx:"http://schemas.microsoft.com/office/mac/excel/2008/main",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",sjs:"http://schemas.openxmlformats.org/package/2006/sheetjs/core-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",xsd:"http://www.w3.org/2001/XMLSchema",main:["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"]},rt="urn:schemas-microsoft-com:office:office",nt="urn:schemas-microsoft-com:office:excel",at="urn:schemas-microsoft-com:office:spreadsheet",st="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882",it="http://macVmlSchemaUri",ot="urn:schemas-microsoft-com:vml",ct="http://www.w3.org/TR/REC-html40",lt=function(e){for(var t=[],r=0;r<e[0].length;++r)if(e[0][r])for(var n=0,a=e[0][r].length;n<a;n+=10240)t.push.apply(t,e[0][r].slice(n,n+10240));return t},ft=lt,ht=function(e,t,r){for(var n=[],a=t;a<r;a+=2)n.push(String.fromCharCode(It(e,a)));return n.join("").replace(I,"")},ut=ht,dt=function(e,t,r){for(var n=[],a=t;a<t+r;++a)n.push(("0"+e[a].toString(16)).slice(-2));return n.join("")},pt=dt,mt=function(e,t,r){for(var n=[],a=t;a<r;a++)n.push(String.fromCharCode(At(e,a)));return n.join("")},gt=mt,bt=function(e,t){var r=Rt(e,t);return r>0?mt(e,t+4,t+4+r-1):""},vt=bt,Et=function(e,t){var r=Rt(e,t);return r>0?mt(e,t+4,t+4+r-1):""},St=Et,wt=function(e,t){var r=2*Rt(e,t);return r>0?mt(e,t+4,t+4+r-1):""},Ct=wt;qe=et=function(e,t){var r=Rt(e,t);return r>0?ht(e,t+4,t+4+r):""};var Bt,Tt,kt=function(e,t){var r=Rt(e,t);return r>0?mt(e,t+4,t+4+r):""},_t=kt;Bt=Tt=function(e,t){return function(e,t){for(var r=1-2*(e[t+7]>>>7),n=((127&e[t+7])<<4)+(e[t+6]>>>4&15),a=15&e[t+6],s=5;s>=0;--s)a=256*a+e[t+s];return 2047==n?0==a?r*(1/0):NaN:(0==n?n=-1022:(n-=1023,a+=Math.pow(2,52)),r*Math.pow(2,n-52)*a)}(e,t)};var xt=function(e){return Array.isArray(e)};E&&(ht=function(e,t,r){return a.isBuffer(e)?e.toString("utf16le",t,r).replace(I,""):ut(e,t,r)},dt=function(e,t,r){return a.isBuffer(e)?e.toString("hex",t,t+r):pt(e,t,r)},bt=function(e,t){if(!a.isBuffer(e))return vt(e,t);var r=e.readUInt32LE(t);return r>0?e.toString("utf8",t+4,t+4+r-1):""},Et=function(e,t){if(!a.isBuffer(e))return St(e,t);var r=e.readUInt32LE(t);return r>0?e.toString("utf8",t+4,t+4+r-1):""},wt=function(e,t){if(!a.isBuffer(e))return Ct(e,t);var r=2*e.readUInt32LE(t);return e.toString("utf16le",t+4,t+4+r-1)},qe=function(e,t){if(!a.isBuffer(e))return et(e,t);var r=e.readUInt32LE(t);return e.toString("utf16le",t+4,t+4+r)},kt=function(e,t){if(!a.isBuffer(e))return _t(e,t);var r=e.readUInt32LE(t);return e.toString("utf8",t+4,t+4+r)},mt=function(e,t,r){return a.isBuffer(e)?e.toString("utf8",t,r):gt(e,t,r)},lt=function(e){return e[0].length>0&&a.isBuffer(e[0][0])?a.concat(e[0]):ft(e)},A=function(e){return a.isBuffer(e[0])?a.concat(e):[].concat.apply([],e)},Bt=function(e,t){return a.isBuffer(e)?e.readDoubleLE(t):Tt(e,t)},xt=function(e){return a.isBuffer(e)||Array.isArray(e)}),"undefined"!==typeof cptable&&(ht=function(e,t,r){return cptable.utils.decode(1200,e.slice(t,r)).replace(I,"")},mt=function(e,t,r){return cptable.utils.decode(65001,e.slice(t,r))},bt=function(e,t){var r=Rt(e,t);return r>0?cptable.utils.decode(o,e.slice(t+4,t+4+r-1)):""},Et=function(e,t){var r=Rt(e,t);return r>0?cptable.utils.decode(i,e.slice(t+4,t+4+r-1)):""},wt=function(e,t){var r=2*Rt(e,t);return r>0?cptable.utils.decode(1200,e.slice(t+4,t+4+r-1)):""},qe=function(e,t){var r=Rt(e,t);return r>0?cptable.utils.decode(1200,e.slice(t+4,t+4+r)):""},kt=function(e,t){var r=Rt(e,t);return r>0?cptable.utils.decode(65001,e.slice(t+4,t+4+r)):""});var At=function(e,t){return e[t]},It=function(e,t){return 256*e[t+1]+e[t]},yt=function(e,t){var r=256*e[t+1]+e[t];return r<32768?r:-1*(65535-r+1)},Rt=function(e,t){return e[t+3]*(1<<24)+(e[t+2]<<16)+(e[t+1]<<8)+e[t]},Ft=function(e,t){return e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]},Dt=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]};function Ot(e,t){var r,n,s,o,c,l,f="",h=[];switch(t){case"dbcs":if(l=this.l,E&&a.isBuffer(this))f=this.slice(this.l,this.l+2*e).toString("utf16le");else for(c=0;c<e;++c)f+=String.fromCharCode(It(this,l)),l+=2;e*=2;break;case"utf8":f=mt(this,this.l,this.l+e);break;case"utf16le":e*=2,f=ht(this,this.l,this.l+e);break;case"wstr":if("undefined"===typeof cptable)return Ot.call(this,e,"dbcs");f=cptable.utils.decode(i,this.slice(this.l,this.l+2*e)),e*=2;break;case"lpstr-ansi":f=bt(this,this.l),e=4+Rt(this,this.l);break;case"lpstr-cp":f=Et(this,this.l),e=4+Rt(this,this.l);break;case"lpwstr":f=wt(this,this.l),e=4+2*Rt(this,this.l);break;case"lpp4":e=4+Rt(this,this.l),f=qe(this,this.l),2&e&&(e+=2);break;case"8lpp4":e=4+Rt(this,this.l),f=kt(this,this.l),3&e&&(e+=4-(3&e));break;case"cstr":for(e=0,f="";0!==(s=At(this,this.l+e++));)h.push(g(s));f=h.join("");break;case"_wstr":for(e=0,f="";0!==(s=It(this,this.l+e));)h.push(g(s)),e+=2;e+=2,f=h.join("");break;case"dbcs-cont":for(f="",l=this.l,c=0;c<e;++c){if(this.lens&&-1!==this.lens.indexOf(l))return s=At(this,l),this.l=l+1,o=Ot.call(this,e-c,s?"dbcs-cont":"sbcs-cont"),h.join("")+o;h.push(g(It(this,l))),l+=2}f=h.join(""),e*=2;break;case"cpstr":if("undefined"!==typeof cptable){f=cptable.utils.decode(i,this.slice(this.l,this.l+e));break}case"sbcs-cont":for(f="",l=this.l,c=0;c!=e;++c){if(this.lens&&-1!==this.lens.indexOf(l))return s=At(this,l),this.l=l+1,o=Ot.call(this,e-c,s?"dbcs-cont":"sbcs-cont"),h.join("")+o;h.push(g(At(this,l))),l+=1}f=h.join("");break;default:switch(e){case 1:return r=At(this,this.l),this.l++,r;case 2:return r=("i"===t?yt:It)(this,this.l),this.l+=2,r;case 4:case-4:return"i"===t||0===(128&this[this.l+3])?(r=(e>0?Ft:Dt)(this,this.l),this.l+=4,r):(n=Rt(this,this.l),this.l+=4,n);case 8:case-8:if("f"===t)return n=8==e?Bt(this,this.l):Bt([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0),this.l+=8,n;e=8;case 16:f=dt(this,this.l,e)}}return this.l+=e,f}var Pt=function(e,t,r){e[r]=255&t,e[r+1]=t>>>8&255};function Nt(e,t,r){var n=0,a=0;if("dbcs"===r){for(a=0;a!=t.length;++a)Pt(this,t.charCodeAt(a),this.l+2*a);n=2*t.length}else if("sbcs"===r){if("undefined"!==typeof cptable&&874==o)for(a=0;a!=t.length;++a){var s=cptable.utils.encode(o,t.charAt(a));this[this.l+a]=s[0]}else for(t=t.replace(/[^\x00-\x7F]/g,"_"),a=0;a!=t.length;++a)this[this.l+a]=255&t.charCodeAt(a);n=t.length}else{if("hex"===r){for(;a<e;++a)this[this.l++]=parseInt(t.slice(2*a,2*a+2),16)||0;return this}if("utf16le"===r){var i=Math.min(this.l+e,this.length);for(a=0;a<Math.min(t.length,e);++a){var c=t.charCodeAt(a);this[this.l++]=255&c,this[this.l++]=c>>8}for(;this.l<i;)this[this.l++]=0;return this}switch(e){case 1:n=1,this[this.l]=255&t;break;case 2:n=2,this[this.l]=255&t,t>>>=8,this[this.l+1]=255&t;break;case 3:n=3,this[this.l]=255&t,t>>>=8,this[this.l+1]=255&t,t>>>=8,this[this.l+2]=255&t;break;case 4:n=4,function(e,t,r){e[r]=255&t,e[r+1]=t>>>8&255,e[r+2]=t>>>16&255,e[r+3]=t>>>24&255}(this,t,this.l);break;case 8:if(n=8,"f"===r){!function(e,t,r){var n=(t<0||1/t==-1/0?1:0)<<7,a=0,s=0,i=n?-t:t;isFinite(i)?0==i?a=s=0:(a=Math.floor(Math.log(i)/Math.LN2),s=i*Math.pow(2,52-a),a<=-1023&&(!isFinite(s)||s<Math.pow(2,52))?a=-1022:(s-=Math.pow(2,52),a+=1023)):(a=2047,s=isNaN(t)?26985:0);for(var o=0;o<=5;++o,s/=256)e[r+o]=255&s;e[r+6]=(15&a)<<4|15&s,e[r+7]=a>>4|n}(this,t,this.l);break}case 16:break;case-4:n=4,function(e,t,r){e[r]=255&t,e[r+1]=t>>8&255,e[r+2]=t>>16&255,e[r+3]=t>>24&255}(this,t,this.l)}}return this.l+=n,this}function Mt(e,t){var r=dt(this,this.l,e.length>>1);if(r!==e)throw new Error(t+"Expected "+e+" saw "+r);this.l+=e.length>>1}function Lt(e,t){e.l=t,e.read_shift=Ot,e.chk=Mt,e.write_shift=Nt}function Ut(e,t){e.l+=t}function Ht(e){var t=C(e);return Lt(t,0),t}function Wt(e,t,r){if(e){var n,a,s;Lt(e,e.l||0);for(var i=e.length,o=0,c=0;e.l<i;){128&(o=e.read_shift(1))&&(o=(127&o)+((127&e.read_shift(1))<<7));var l=el[o]||el[65535];for(s=127&(n=e.read_shift(1)),a=1;a<4&&128&n;++a)s+=(127&(n=e.read_shift(1)))<<7*a;c=e.l+s;var f=(l.f||Ut)(e,s,r);if(e.l=c,t(f,l.n,o))return}}}function Vt(){var e=[],t=E?256:2048,r=function(e){var t=Ht(e);return Lt(t,0),t},n=r(t),a=function(){n&&(n.length>n.l&&((n=n.slice(0,n.l)).l=n.length),n.length>0&&e.push(n),n=null)},s=function(e){return n&&e<n.length-n.l?n:(a(),n=r(Math.max(e+1,t)))};return{next:s,push:function(e){a(),null==(n=e).l&&(n.l=n.length),s(t)},end:function(){return a(),lt([e])},_bufs:e}}function Xt(e,t,r,n){var a,s=+tl[t];if(!isNaN(s)){n||(n=el[s].p||(r||[]).length||0),a=1+(s>=128?1:0)+1,n>=128&&++a,n>=16384&&++a,n>=2097152&&++a;var i=e.next(a);s<=127?i.write_shift(1,s):(i.write_shift(1,128+(127&s)),i.write_shift(1,s>>7));for(var o=0;4!=o;++o){if(!(n>=128)){i.write_shift(1,n);break}i.write_shift(1,128+(127&n)),n>>=7}n>0&&xt(r)&&e.push(r)}}function Gt(e,t,r){var n=ne(e);if(t.s?(n.cRel&&(n.c+=t.s.c),n.rRel&&(n.r+=t.s.r)):(n.cRel&&(n.c+=t.c),n.rRel&&(n.r+=t.r)),!r||r.biff<12){for(;n.c>=256;)n.c-=256;for(;n.r>=65536;)n.r-=65536}return n}function zt(e,t,r){var n=ne(e);return n.s=Gt(n.s,t.s,r),n.e=Gt(n.e,t.s,r),n}function jt(e,t){if(e.cRel&&e.c<0)for(e=ne(e);e.c<0;)e.c+=t>8?16384:256;if(e.rRel&&e.r<0)for(e=ne(e);e.r<0;)e.r+=t>8?1048576:t>5?65536:16384;var r=qt(e);return e.cRel||null==e.cRel||(r=r.replace(/^([A-Z])/,"$$$1")),e.rRel||null==e.rRel||(r=function(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}(r)),r}function $t(e,t){return 0!=e.s.r||e.s.rRel||e.e.r!=(t.biff>=12?1048575:t.biff>=8?65536:16384)||e.e.rRel?0!=e.s.c||e.s.cRel||e.e.c!=(t.biff>=12?16383:255)||e.e.cRel?jt(e.s,t.biff)+":"+jt(e.e,t.biff):(e.s.rRel?"":"$")+Yt(e.s.r)+":"+(e.e.rRel?"":"$")+Yt(e.e.r):(e.s.cRel?"":"$")+Jt(e.s.c)+":"+(e.e.cRel?"":"$")+Jt(e.e.c)}function Kt(e){return parseInt(e.replace(/\$(\d+)$/,"$1"),10)-1}function Yt(e){return""+(e+1)}function Qt(e){for(var t=e.replace(/^\$([A-Z])/,"$1"),r=0,n=0;n!==t.length;++n)r=26*r+t.charCodeAt(n)-64;return r-1}function Jt(e){if(e<0)throw new Error("invalid column "+e);var t="";for(++e;e;e=Math.floor((e-1)/26))t=String.fromCharCode((e-1)%26+65)+t;return t}function Zt(e){for(var t=0,r=0,n=0;n<e.length;++n){var a=e.charCodeAt(n);a>=48&&a<=57?t=10*t+(a-48):a>=65&&a<=90&&(r=26*r+(a-64))}return{c:r-1,r:t-1}}function qt(e){for(var t=e.c+1,r="";t;t=(t-1)/26|0)r=String.fromCharCode((t-1)%26+65)+r;return r+(e.r+1)}function er(e){var t=e.indexOf(":");return-1==t?{s:Zt(e),e:Zt(e)}:{s:Zt(e.slice(0,t)),e:Zt(e.slice(t+1))}}function tr(e,t){return"undefined"===typeof t||"number"===typeof t?tr(e.s,e.e):("string"!==typeof e&&(e=qt(e)),"string"!==typeof t&&(t=qt(t)),e==t?e:e+":"+t)}function rr(e){var t={s:{c:0,r:0},e:{c:0,r:0}},r=0,n=0,a=0,s=e.length;for(r=0;n<s&&!((a=e.charCodeAt(n)-64)<1||a>26);++n)r=26*r+a;for(t.s.c=--r,r=0;n<s&&!((a=e.charCodeAt(n)-48)<0||a>9);++n)r=10*r+a;if(t.s.r=--r,n===s||58===e.charCodeAt(++n))return t.e.c=t.s.c,t.e.r=t.s.r,t;for(r=0;n!=s&&!((a=e.charCodeAt(n)-64)<1||a>26);++n)r=26*r+a;for(t.e.c=--r,r=0;n!=s&&!((a=e.charCodeAt(n)-48)<0||a>9);++n)r=10*r+a;return t.e.r=--r,t}function nr(e,t){var r="d"==e.t&&t instanceof Date;if(null!=e.z)try{return e.w=R.format(e.z,r?j(t):t)}catch(lf){}try{return e.w=R.format((e.XF||{}).numFmtId||(r?14:0),r?j(t):t)}catch(lf){return""+t}}function ar(e,t,r){return null==e||null==e.t||"z"==e.t?"":void 0!==e.w?e.w:("d"==e.t&&!e.z&&r&&r.dateNF&&(e.z=r.dateNF),nr(e,void 0==t?e.v:t))}function sr(e,t){var r=t&&t.sheet?t.sheet:"Sheet1",n={};return n[r]=e,{SheetNames:[r],Sheets:n}}function ir(e,t,r){var n=r||{},a=e?Array.isArray(e):n.dense;var s=e||(a?[]:{}),i=0,o=0;if(s&&null!=n.origin){if("number"==typeof n.origin)i=n.origin;else{var c="string"==typeof n.origin?Zt(n.origin):n.origin;i=c.r,o=c.c}s["!ref"]||(s["!ref"]="A1:A1")}var l={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(s["!ref"]){var f=rr(s["!ref"]);l.s.c=f.s.c,l.s.r=f.s.r,l.e.c=Math.max(l.e.c,f.e.c),l.e.r=Math.max(l.e.r,f.e.r),-1==i&&(l.e.r=i=f.e.r+1)}for(var h=0;h!=t.length;++h)if(t[h]){if(!Array.isArray(t[h]))throw new Error("aoa_to_sheet expects an array of arrays");for(var u=0;u!=t[h].length;++u)if("undefined"!==typeof t[h][u]){var d={v:t[h][u]},p=i+h,m=o+u;if(l.s.r>p&&(l.s.r=p),l.s.c>m&&(l.s.c=m),l.e.r<p&&(l.e.r=p),l.e.c<m&&(l.e.c=m),!t[h][u]||"object"!==typeof t[h][u]||Array.isArray(t[h][u])||t[h][u]instanceof Date)if(Array.isArray(d.v)&&(d.f=t[h][u][1],d.v=d.v[0]),null===d.v)if(d.f)d.t="n";else{if(!n.sheetStubs)continue;d.t="z"}else"number"===typeof d.v?d.t="n":"boolean"===typeof d.v?d.t="b":d.v instanceof Date?(d.z=n.dateNF||R._table[14],n.cellDates?(d.t="d",d.w=R.format(d.z,j(d.v))):(d.t="n",d.v=j(d.v),d.w=R.format(d.z,d.v))):d.t="s";else d=t[h][u];if(a)s[p]||(s[p]=[]),s[p][m]&&s[p][m].z&&(d.z=s[p][m].z),s[p][m]=d;else{var g=qt({c:m,r:p});s[g]&&s[g].z&&(d.z=s[g].z),s[g]=d}}}return l.s.c<1e7&&(s["!ref"]=tr(l)),s}function or(e,t){return ir(null,e,t)}function cr(e,t){return t||(t=Ht(4)),t.write_shift(4,e),t}function lr(e){var t=e.read_shift(4);return 0===t?"":e.read_shift(t,"dbcs")}function fr(e,t){var r=!1;return null==t&&(r=!0,t=Ht(4+2*e.length)),t.write_shift(4,e.length),e.length>0&&t.write_shift(0,e,"dbcs"),r?t.slice(0,t.l):t}function hr(e){return{ich:e.read_shift(2),ifnt:e.read_shift(2)}}function ur(e,t){var r=e.l,n=e.read_shift(1),a=lr(e),s=[],i={t:a,h:a};if(0!==(1&n)){for(var o=e.read_shift(4),c=0;c!=o;++c)s.push(hr(e));i.r=s}else i.r=[{ich:0,ifnt:0}];return e.l=r+t,i}!function(e,t){var n;if("undefined"!==typeof t)n=t;else{try{n=r(2)}catch(lf){n=null}}e.rc4=function(e,t){var r=new Array(256),n=0,a=0,s=0,i=0;for(a=0;256!=a;++a)r[a]=a;for(a=0;256!=a;++a)s=s+r[a]+e[a%e.length].charCodeAt(0)&255,i=r[a],r[a]=r[s],r[s]=i;a=s=0;var o=C(t.length);for(n=0;n!=t.length;++n)s=(s+r[a=a+1&255])%256,i=r[a],r[a]=r[s],r[s]=i,o[n]=t[n]^r[r[a]+r[s]&255];return o},e.md5=function(e){if(!n)throw new Error("Unsupported crypto");return n.createHash("md5").update(e).digest("hex")}}({},"undefined"!==typeof crypto?crypto:void 0);var dr=ur;function pr(e,t){var r=!1;return null==t&&(r=!0,t=Ht(23+4*e.t.length)),t.write_shift(1,1),fr(e.t,t),t.write_shift(4,1),function(e,t){t||(t=Ht(4)),t.write_shift(2,e.ich||0),t.write_shift(2,e.ifnt||0)}({ich:0,ifnt:0},t),r?t.slice(0,t.l):t}function mr(e){var t=e.read_shift(4),r=e.read_shift(2);return r+=e.read_shift(1)<<16,e.l++,{c:t,iStyleRef:r}}function gr(e,t){return null==t&&(t=Ht(8)),t.write_shift(-4,e.c),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}var br=lr,vr=fr;function Er(e){var t=e.read_shift(4);return 0===t||4294967295===t?"":e.read_shift(t,"dbcs")}function Sr(e,t){var r=!1;return null==t&&(r=!0,t=Ht(127)),t.write_shift(4,e.length>0?e.length:4294967295),e.length>0&&t.write_shift(0,e,"dbcs"),r?t.slice(0,t.l):t}var wr=lr,Cr=Er,Br=Sr;function Tr(e){var t=e.slice(e.l,e.l+4),r=1&t[0],n=2&t[0];e.l+=4,t[0]&=252;var a=0===n?Bt([0,0,0,0,t[0],t[1],t[2],t[3]],0):Ft(t,0)>>2;return r?a/100:a}function kr(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 _r=kr,xr=function(e,t){return t||(t=Ht(16)),t.write_shift(4,e.s.r),t.write_shift(4,e.e.r),t.write_shift(4,e.s.c),t.write_shift(4,e.e.c),t};function Ar(e){return e.read_shift(8,"f")}function Ir(e,t){return(t||Ht(8)).write_shift(8,e,"f")}function yr(e,t){if(t||(t=Ht(8)),!e||e.auto)return t.write_shift(4,0),t.write_shift(4,0),t;null!=e.index?(t.write_shift(1,2),t.write_shift(1,e.index)):null!=e.theme?(t.write_shift(1,6),t.write_shift(1,e.theme)):(t.write_shift(1,5),t.write_shift(1,0));var r=e.tint||0;if(r>0?r*=32767:r<0&&(r*=32768),t.write_shift(2,r),e.rgb&&null==e.theme){var n=e.rgb||"FFFFFF";"number"==typeof n&&(n=("000000"+n.toString(16)).slice(-6)),t.write_shift(1,parseInt(n.slice(0,2),16)),t.write_shift(1,parseInt(n.slice(2,4),16)),t.write_shift(1,parseInt(n.slice(4,6),16)),t.write_shift(1,255)}else t.write_shift(2,0),t.write_shift(1,0),t.write_shift(1,0);return t}function Rr(e,t){var r=e.read_shift(4);switch(r){case 0:return"";case 4294967295:case 4294967294:return{2:"BITMAP",3:"METAFILEPICT",8:"DIB",14:"ENHMETAFILE"}[e.read_shift(4)]||""}if(r>400)throw new Error("Unsupported Clipboard: "+r.toString(16));return e.l-=4,e.read_shift(0,1==t?"lpstr":"lpwstr")}var Fr=[80,81],Dr={1:{n:"CodePage",t:2},2:{n:"Category",t:80},3:{n:"PresentationFormat",t:80},4:{n:"ByteCount",t:3},5:{n:"LineCount",t:3},6:{n:"ParagraphCount",t:3},7:{n:"SlideCount",t:3},8:{n:"NoteCount",t:3},9:{n:"HiddenCount",t:3},10:{n:"MultimediaClipCount",t:3},11:{n:"ScaleCrop",t:11},12:{n:"HeadingPairs",t:4108},13:{n:"TitlesOfParts",t:4126},14:{n:"Manager",t:80},15:{n:"Company",t:80},16:{n:"LinksUpToDate",t:11},17:{n:"CharacterCount",t:3},19:{n:"SharedDoc",t:11},22:{n:"HyperlinksChanged",t:11},23:{n:"AppVersion",t:3,p:"version"},24:{n:"DigSig",t:65},26:{n:"ContentType",t:80},27:{n:"ContentStatus",t:80},28:{n:"Language",t:80},29:{n:"Version",t:80},255:{}},Or={1:{n:"CodePage",t:2},2:{n:"Title",t:80},3:{n:"Subject",t:80},4:{n:"Author",t:80},5:{n:"Keywords",t:80},6:{n:"Comments",t:80},7:{n:"Template",t:80},8:{n:"LastAuthor",t:80},9:{n:"RevNumber",t:80},10:{n:"EditTime",t:64},11:{n:"LastPrinted",t:64},12:{n:"CreatedDate",t:64},13:{n:"ModifiedDate",t:64},14:{n:"PageCount",t:3},15:{n:"WordCount",t:3},16:{n:"CharCount",t:3},17:{n:"Thumbnail",t:71},18:{n:"Application",t:80},19:{n:"DocSecurity",t:3},255:{}},Pr={2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}};!function(){for(var e in Pr)Object.prototype.hasOwnProperty.call(Pr,e)&&(Dr[e]=Or[e]=Pr[e])}();var Nr=V(Dr,"n"),Mr=V(Or,"n"),Lr={1:"US",2:"CA",3:"",7:"RU",20:"EG",30:"GR",31:"NL",32:"BE",33:"FR",34:"ES",36:"HU",39:"IT",41:"CH",43:"AT",44:"GB",45:"DK",46:"SE",47:"NO",48:"PL",49:"DE",52:"MX",55:"BR",61:"AU",64:"NZ",66:"TH",81:"JP",82:"KR",84:"VN",86:"CN",90:"TR",105:"JS",213:"DZ",216:"MA",218:"LY",351:"PT",354:"IS",358:"FI",420:"CZ",886:"TW",961:"LB",962:"JO",963:"SY",964:"IQ",965:"KW",966:"SA",971:"AE",972:"IL",974:"QA",981:"IR",65535:"US"},Ur=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"],Hr=ne([0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0].map((function(e){return[e>>16&255,e>>8&255,255&e]}))),Wr={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},Vr=G(Wr),Xr={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links","application/vnd.ms-excel.sheetMetadata":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"TODO","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"vba","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO","image/png":"TODO",sheet:"js"},Gr=function(){var e={workbooks:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",xlsm:"application/vnd.ms-excel.sheet.macroEnabled.main+xml",xlsb:"application/vnd.ms-excel.sheet.binary.macroEnabled.main",xlam:"application/vnd.ms-excel.addin.macroEnabled.main+xml",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml"},strs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",xlsb:"application/vnd.ms-excel.sharedStrings"},comments:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml",xlsb:"application/vnd.ms-excel.comments"},sheets:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",xlsb:"application/vnd.ms-excel.worksheet"},charts:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml",xlsb:"application/vnd.ms-excel.chartsheet"},dialogs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml",xlsb:"application/vnd.ms-excel.dialogsheet"},macros:{xlsx:"application/vnd.ms-excel.macrosheet+xml",xlsb:"application/vnd.ms-excel.macrosheet"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};return W(e).forEach((function(t){["xlsm","xlam"].forEach((function(r){e[t][r]||(e[t][r]=e[t].xlsx)}))})),W(e).forEach((function(t){W(e[t]).forEach((function(r){Xr[e[t][r]]=t}))})),e}(),zr=function(e){for(var t=[],r=W(e),n=0;n!==r.length;++n)null==t[e[r[n]]]&&(t[e[r[n]]]=[]),t[e[r[n]]].push(r[n]);return t}(Xr);tt.CT="http://schemas.openxmlformats.org/package/2006/content-types";var jr=Je("Types",null,{xmlns:tt.CT,"xmlns:xsd":tt.xsd,"xmlns:xsi":tt.xsi}),$r=[["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",zr.rels[0]]].map((function(e){return Je("Default",null,{Extension:e[0],ContentType:e[1]})})),Kr={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",SHEET:"http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument",HLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",VML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function Yr(e){var t=e.lastIndexOf("/");return e.slice(0,t+1)+"_rels/"+e.slice(t+1)+".rels"}function Qr(e,t){var r={"!id":{}};if(!e)return r;"/"!==t.charAt(0)&&(t="/"+t);var n={};return(e.match(Se)||[]).forEach((function(e){var a=Be(e);if("<Relationship"===a[0]){var s={};s.Type=a.Type,s.Target=a.Target,s.Id=a.Id,s.TargetMode=a.TargetMode;var i="External"===a.TargetMode?a.Target:be(a.Target,t);r[i]=s,n[a.Id]=s}})),r["!id"]=n,r}tt.RELS="http://schemas.openxmlformats.org/package/2006/relationships";var Jr=Je("Relationships",null,{xmlns:tt.RELS});function Zr(e){var t=[ve,Jr];return W(e["!id"]).forEach((function(r){t[t.length]=Je("Relationship",null,e["!id"][r])})),t.length>2&&(t[t.length]="</Relationships>",t[1]=t[1].replace("/>",">")),t.join("")}var qr=[Kr.HLINK,Kr.XPATH,Kr.XMISS];function en(e,t,r,n,a,s){if(a||(a={}),e["!id"]||(e["!id"]={}),t<0)for(t=1;e["!id"]["rId"+t];++t);if(a.Id="rId"+t,a.Type=n,a.Target=r,s?a.TargetMode=s:qr.indexOf(a.Type)>-1&&(a.TargetMode="External"),e["!id"][a.Id])throw new Error("Cannot rewrite rId "+t);return e["!id"][a.Id]=a,e[("/"+a.Target).replace("//","/")]=a,t}function tn(e,t,r){return['  <rdf:Description rdf:about="'+e+'">\n','    <rdf:type rdf:resource="http://docs.oasis-open.org/ns/office/1.2/meta/'+(r||"odf")+"#"+t+'"/>\n',"  </rdf:Description>\n"].join("")}var rn=function(){var e='<?xml version="1.0" encoding="UTF-8" standalone="yes"?><office:document-meta xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xlink="http://www.w3.org/1999/xlink" office:version="1.2"><office:meta><meta:generator>SheetJS '+t.version+"</meta:generator></office:meta></office:document-meta>";return function(){return e}}(),nn=[["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"]];tt.CORE_PROPS="http://schemas.openxmlformats.org/package/2006/metadata/core-properties",Kr.CORE_PROPS="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties";var an=function(){for(var e=new Array(nn.length),t=0;t<nn.length;++t){var r=nn[t],n="(?:"+r[0].slice(0,r[0].indexOf(":"))+":)"+r[0].slice(r[0].indexOf(":")+1);e[t]=new RegExp("<"+n+"[^>]*>([\\s\\S]*?)</"+n+">")}return e}();function sn(e){var t={};e=Me(e);for(var r=0;r<nn.length;++r){var n=nn[r],a=e.match(an[r]);null!=a&&a.length>0&&(t[n[1]]=xe(a[1])),"date"===n[2]&&t[n[1]]&&(t[n[1]]=te(t[n[1]]))}return t}var on=Je("cp:coreProperties",null,{"xmlns:cp":tt.CORE_PROPS,"xmlns:dc":tt.dc,"xmlns:dcterms":tt.dcterms,"xmlns:dcmitype":tt.dcmitype,"xmlns:xsi":tt.xsi});function cn(e,t,r,n,a){null==a[e]&&null!=t&&""!==t&&(a[e]=t,t=ye(t),n[n.length]=r?Je(e,t,r):Ye(e,t))}var ln=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]];function fn(e,t,r,n){var a=[];if("string"==typeof e)a=$e(e,n);else for(var s=0;s<e.length;++s)a=a.concat(e[s].map((function(e){return{v:e}})));var i="string"==typeof t?$e(t,n).map((function(e){return e.v})):t,o=0,c=0;if(i.length>0)for(var l=0;l!==a.length;l+=2){switch(c=+a[l+1].v,a[l].v){case"Worksheets":case"\u5de5\u4f5c\u8868":case"\u041b\u0438\u0441\u0442\u044b":case"\u0623\u0648\u0631\u0627\u0642 \u0627\u0644\u0639\u0645\u0644":case"\u30ef\u30fc\u30af\u30b7\u30fc\u30c8":case"\u05d2\u05dc\u05d9\u05d5\u05e0\u05d5\u05ea \u05e2\u05d1\u05d5\u05d3\u05d4":case"Arbeitsbl\xe4tter":case"\xc7al\u0131\u015fma Sayfalar\u0131":case"Feuilles de calcul":case"Fogli di lavoro":case"Folhas de c\xe1lculo":case"Planilhas":case"Regneark":case"Hojas de c\xe1lculo":case"Werkbladen":r.Worksheets=c,r.SheetNames=i.slice(o,o+c);break;case"Named Ranges":case"Rangos con nombre":case"\u540d\u524d\u4ed8\u304d\u4e00\u89a7":case"Benannte Bereiche":case"Navngivne omr\xe5der":r.NamedRanges=c,r.DefinedNames=i.slice(o,o+c);break;case"Charts":case"Diagramme":r.Chartsheets=c,r.ChartNames=i.slice(o,o+c)}o+=c}}tt.EXT_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",Kr.EXT_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties";var hn=Je("Properties",null,{xmlns:tt.EXT_PROPS,"xmlns:vt":tt.vt});tt.CUST_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",Kr.CUST_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties";var un=/<[^>]+>[^<]*/g,dn=Je("Properties",null,{xmlns:tt.CUST_PROPS,"xmlns:vt":tt.vt});function pn(e){var t=[ve,dn];if(!e)return t.join("");var r=1;return W(e).forEach((function(n){++r,t[t.length]=Je("property",function(e,t){switch(typeof e){case"string":var r=Je("vt:lpwstr",ye(e));return t&&(r=r.replace(/&quot;/g,"_x0022_")),r;case"number":return Je((0|e)==e?"vt:i4":"vt:r8",ye(String(e)));case"boolean":return Je("vt:bool",e?"true":"false")}if(e instanceof Date)return Je("vt:filetime",Ze(e));throw new Error("Unable to serialize "+e)}(e[n],!0),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:r,name:ye(n)})})),t.length>2&&(t[t.length]="</Properties>",t[1]=t[1].replace("/>",">")),t.join("")}var mn={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"},gn=X(mn);function bn(e,t,r){e[t=gn[t]||t]=r}function vn(e){var t=e.read_shift(4),r=e.read_shift(4);return new Date(1e3*(r/1e7*Math.pow(2,32)+t/1e7-11644473600)).toISOString().replace(/\.000/,"")}function En(e,t,r){var n=e.l,a=e.read_shift(0,"lpstr-cp");if(r)for(;e.l-n&3;)++e.l;return a}function Sn(e,t,r){var n=e.read_shift(0,"lpwstr");return r&&(e.l+=4-(n.length+1&3)&3),n}function wn(e,t,r){return 31===t?Sn(e):En(e,0,r)}function Cn(e,t,r){return wn(e,t,!1===r?0:4)}function Bn(e){return function(e){for(var t=e.read_shift(4),r=[],n=0;n!=t;++n)r[n]=e.read_shift(0,"lpstr-cp").replace(I,"");return r}(e)}function Tn(e){return[An(e,81),An(e,3)]}function kn(e){return function(e){for(var t=e.read_shift(4),r=[],n=0;n!=t/2;++n)r.push(Tn(e));return r}(e)}function _n(e,t){for(var r=e.read_shift(4),n={},a=0;a!=r;++a){var s=e.read_shift(4),i=e.read_shift(4);n[s]=e.read_shift(i,1200===t?"utf16le":"utf8").replace(I,"").replace(y,"!"),1200===t&&i%2&&(e.l+=2)}return 3&e.l&&(e.l=e.l>>3<<2),n}function xn(e){var t=e.read_shift(4),r=e.slice(e.l,e.l+t);return e.l+=t,(3&t)>0&&(e.l+=4-(3&t)&3),r}function An(e,t,r){var n,a=e.read_shift(2),s=r||{};if(e.l+=2,12!==t&&a!==t&&-1===Fr.indexOf(t))throw new Error("Expected type "+t+" saw "+a);switch(12===t?a:t){case 2:return n=e.read_shift(2,"i"),s.raw||(e.l+=2),n;case 3:return n=e.read_shift(4,"i");case 11:return 0!==e.read_shift(4);case 19:return n=e.read_shift(4);case 30:return En(e,0,4).replace(I,"");case 31:return Sn(e);case 64:return vn(e);case 65:return xn(e);case 71:return function(e){var t={};return t.Size=e.read_shift(4),e.l+=t.Size+3-(t.Size-1)%4,t}(e);case 80:return Cn(e,a,!s.raw).replace(I,"");case 81:return function(e,t){if(!t)throw new Error("VtUnalignedString must have positive length");return wn(e,t,0)}(e,a).replace(I,"");case 4108:return kn(e);case 4126:return Bn(e);default:throw new Error("TypedPropertyValue unrecognized type "+t+" "+a)}}function In(e,t){var r=Ht(4),n=Ht(4);switch(r.write_shift(4,80==e?31:e),e){case 3:n.write_shift(-4,t);break;case 5:(n=Ht(8)).write_shift(8,t,"f");break;case 11:n.write_shift(4,t?1:0);break;case 64:n=function(e){var t=("string"==typeof e?new Date(Date.parse(e)):e).getTime()/1e3+11644473600,r=t%Math.pow(2,32),n=(t-r)/Math.pow(2,32);n*=1e7;var a=(r*=1e7)/Math.pow(2,32)|0;a>0&&(r%=Math.pow(2,32),n+=a);var s=Ht(8);return s.write_shift(4,r),s.write_shift(4,n),s}(t);break;case 31:case 80:for((n=Ht(4+2*(t.length+1)+(t.length%2?0:2))).write_shift(4,t.length+1),n.write_shift(0,t,"dbcs");n.l!=n.length;)n.write_shift(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+t)}return A([r,n])}function yn(e,t){var r=e.l,n=e.read_shift(4),a=e.read_shift(4),s=[],i=0,o=0,c=-1,l={};for(i=0;i!=a;++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 d={};for(i=0;i!=a;++i){if(e.l!==s[i][1]){var p=!0;if(i>0&&t)switch(t[s[i-1][0]].t){case 2:e.l+2===s[i][1]&&(e.l+=2,p=!1);break;case 80:case 4108:e.l<=s[i][1]&&(e.l=s[i][1],p=!1)}if((!t||0==i)&&e.l<=s[i][1]&&(p=!1,e.l=s[i][1]),p)throw new Error("Read Error: Expected address "+s[i][1]+" at "+e.l+" :"+i)}if(t){var m=t[s[i][0]];if(d[m.n]=An(e,m.t,{raw:!0}),"version"===m.p&&(d[m.n]=String(d[m.n]>>16)+"."+("0000"+String(65535&d[m.n])).slice(-4)),"CodePage"==m.n)switch(d[m.n]){case 0:d[m.n]=1252;case 874:case 932:case 936:case 949:case 950:case 1250:case 1251:case 1253:case 1254:case 1255:case 1256:case 1257:case 1258:case 1e4:case 1200:case 1201:case 1252:case 65e3:case-536:case 65001:case-535:u(o=d[m.n]>>>0&65535);break;default:throw new Error("Unsupported CodePage: "+d[m.n])}}else if(1===s[i][0]){if(o=d.CodePage=An(e,2),u(o),-1!==c){var g=e.l;e.l=s[c][1],l=_n(e,o),e.l=g}}else if(0===s[i][0]){if(0===o){c=i,e.l=s[i+1][1];continue}l=_n(e,o)}else{var b,v=l[s[i][0]];switch(e[e.l]){case 65:e.l+=4,b=xn(e);break;case 30:case 31:e.l+=4,b=Cn(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 3:e.l+=4,b=e.read_shift(4,"i");break;case 19:e.l+=4,b=e.read_shift(4);break;case 5:e.l+=4,b=e.read_shift(8,"f");break;case 11:e.l+=4,b=Mn(e,4);break;case 64:e.l+=4,b=te(vn(e));break;default:throw new Error("unparsed value: "+e[e.l])}d[v]=b}}return e.l=r+n,d}var Rn=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"].concat(["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"]);function Fn(e){switch(typeof e){case"boolean":return 11;case"number":return(0|e)==e?3:5;case"string":return 31;case"object":if(e instanceof Date)return 64}return-1}function Dn(e,t,r){var n=Ht(8),a=[],s=[],i=8,o=0,c=Ht(8),l=Ht(8);if(c.write_shift(4,2),c.write_shift(4,1200),l.write_shift(4,1),s.push(c),a.push(l),i+=8+c.length,!t){(l=Ht(8)).write_shift(4,0),a.unshift(l);var f=[Ht(4)];for(f[0].write_shift(4,e.length),o=0;o<e.length;++o){var h=e[o][0];for((c=Ht(8+2*(h.length+1)+(h.length%2?0:2))).write_shift(4,o+2),c.write_shift(4,h.length+1),c.write_shift(0,h,"dbcs");c.l!=c.length;)c.write_shift(1,0);f.push(c)}c=A(f),s.unshift(c),i+=8+c.length}for(o=0;o<e.length;++o)if((!t||t[e[o][0]])&&!(Rn.indexOf(e[o][0])>-1)&&null!=e[o][1]){var u=e[o][1],d=0;if(t){var p=r[d=+t[e[o][0]]];if("version"==p.p&&"string"==typeof u){var m=u.split(".");u=(+m[0]<<16)+(+m[1]||0)}c=In(p.t,u)}else{var g=Fn(u);-1==g&&(g=31,u=String(u)),c=In(g,u)}s.push(c),(l=Ht(8)).write_shift(4,t?d:2+o),a.push(l),i+=8+c.length}var b=8*(s.length+1);for(o=0;o<s.length;++o)a[o].write_shift(4,b),b+=s[o].length;return n.write_shift(4,i),n.write_shift(4,s.length),A([n].concat(a).concat(s))}function On(e,t,r){var n=e.content;if(!n)return{};Lt(n,0);var a,s,i,o,c=0;n.chk("feff","Byte Order: "),n.read_shift(2);var l=n.read_shift(4),f=n.read_shift(16);if(f!==L.utils.consts.HEADER_CLSID&&f!==r)throw new Error("Bad PropertySet CLSID "+f);if(1!==(a=n.read_shift(4))&&2!==a)throw new Error("Unrecognized #Sets: "+a);if(s=n.read_shift(16),o=n.read_shift(4),1===a&&o!==n.l)throw new Error("Length mismatch: "+o+" !== "+n.l);2===a&&(i=n.read_shift(16),c=n.read_shift(4));var h,u=yn(n,t),d={SystemIdentifier:l};for(var p in u)d[p]=u[p];if(d.FMTID=s,1===a)return d;if(c-n.l==2&&(n.l+=2),n.l!==c)throw new Error("Length mismatch 2: "+n.l+" !== "+c);try{h=yn(n,null)}catch(lf){}for(p in h)d[p]=h[p];return d.FMTID=[s,i],d}function Pn(e,t,r,n,a,s){var i=Ht(a?68:48),o=[i];i.write_shift(2,65534),i.write_shift(2,0),i.write_shift(4,842412599),i.write_shift(16,L.utils.consts.HEADER_CLSID,"hex"),i.write_shift(4,a?2:1),i.write_shift(16,t,"hex"),i.write_shift(4,a?68:48);var c=Dn(e,r,n);if(o.push(c),a){var l=Dn(a,null,null);i.write_shift(16,s,"hex"),i.write_shift(4,68+c.length),o.push(l)}return A(o)}function Nn(e,t){return e.read_shift(t),null}function Mn(e,t){return 1===e.read_shift(t)}function Ln(e,t){return t||(t=Ht(2)),t.write_shift(2,+!!e),t}function Un(e){return e.read_shift(2,"u")}function Hn(e,t){return t||(t=Ht(2)),t.write_shift(2,e),t}function Wn(e,t){return function(e,t,r){for(var n=[],a=e.l+t;e.l<a;)n.push(r(e,a-e.l));if(a!==e.l)throw new Error("Slurp error");return n}(e,t,Un)}function Vn(e,t,r){var n=e.read_shift(r&&r.biff>=12?2:1),a="sbcs-cont",s=i;(r&&r.biff>=8&&(i=1200),r&&8!=r.biff)?12==r.biff&&(a="wstr"):e.read_shift(1)&&(a="dbcs-cont");r.biff>=2&&r.biff<=5&&(a="cpstr");var o=n?e.read_shift(n,a):"";return i=s,o}function Xn(e){var t=i;i=1200;var r,n=e.read_shift(2),a=e.read_shift(1),s=4&a,o=8&a,c=1+(1&a),l=0,f={};o&&(l=e.read_shift(2)),s&&(r=e.read_shift(4));var h=2==c?"dbcs-cont":"sbcs-cont",u=0===n?"":e.read_shift(n,h);return o&&(e.l+=4*l),s&&(e.l+=r),f.t=u,o||(f.raw="<t>"+f.t+"</t>",f.r=f.t),i=t,f}function Gn(e){var t=e.t||"",r=Ht(3);r.write_shift(2,t.length),r.write_shift(1,1);var n=Ht(2*t.length);return n.write_shift(2*t.length,t,"utf16le"),A([r,n])}function zn(e,t,r){if(r){if(r.biff>=2&&r.biff<=5)return e.read_shift(t,"cpstr");if(r.biff>=12)return e.read_shift(t,"dbcs-cont")}return 0===e.read_shift(1)?e.read_shift(t,"sbcs-cont"):e.read_shift(t,"dbcs-cont")}function jn(e,t,r){var n=e.read_shift(r&&2==r.biff?1:2);return 0===n?(e.l++,""):zn(e,n,r)}function $n(e,t,r){if(r.biff>5)return jn(e,0,r);var n=e.read_shift(1);return 0===n?(e.l++,""):e.read_shift(n,r.biff<=4||!e.lens?"cpstr":"sbcs-cont")}function Kn(e,t,r){return r||(r=Ht(3+2*e.length)),r.write_shift(2,e.length),r.write_shift(1,1),r.write_shift(31,e,"utf16le"),r}function Yn(e,t){var r=e.read_shift(16);switch(16,r){case"e0c9ea79f9bace118c8200aa004ba90b":return function(e){var t=e.read_shift(4),r=e.l,n=!1;t>24&&(e.l+=t-24,"795881f43b1d7f48af2c825dc4852763"===e.read_shift(16)&&(n=!0),e.l=r);var a=e.read_shift((n?t-24:t)>>1,"utf16le").replace(I,"");return n&&(e.l+=24),a}(e);case"0303000000000000c000000000000046":return function(e){e.l+=2;var t=e.read_shift(0,"lpstr-ansi");if(e.l+=2,57005!=e.read_shift(2))throw new Error("Bad FileMoniker");if(0===e.read_shift(4))return t.replace(/\\/g,"/");var r=e.read_shift(4);if(3!=e.read_shift(2))throw new Error("Bad FileMoniker");return e.read_shift(r>>1,"utf16le").replace(I,"")}(e);default:throw new Error("Unsupported Moniker "+r)}}function Qn(e){var t=e.read_shift(4);return t>0?e.read_shift(t,"utf16le").replace(I,""):""}function Jn(e){var t=Ht(512),r=0,n=e.Target,a=n.indexOf("#")>-1?31:23;switch(n.charAt(0)){case"#":a=28;break;case".":a&=-3}t.write_shift(4,2),t.write_shift(4,a);var s=[8,6815827,6619237,4849780,83];for(r=0;r<s.length;++r)t.write_shift(4,s[r]);if(28==a){for(n=n.slice(1),t.write_shift(4,n.length+1),r=0;r<n.length;++r)t.write_shift(2,n.charCodeAt(r));t.write_shift(2,0)}else if(2&a){for(s="e0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),r=0;r<s.length;++r)t.write_shift(1,parseInt(s[r],16));for(t.write_shift(4,2*(n.length+1)),r=0;r<n.length;++r)t.write_shift(2,n.charCodeAt(r));t.write_shift(2,0)}else{for(s="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" "),r=0;r<s.length;++r)t.write_shift(1,parseInt(s[r],16));for(var i=0;"../"==n.slice(3*i,3*i+3)||"..\\"==n.slice(3*i,3*i+3);)++i;for(t.write_shift(2,i),t.write_shift(4,n.length+1),r=0;r<n.length;++r)t.write_shift(1,255&n.charCodeAt(r));for(t.write_shift(1,0),t.write_shift(2,65535),t.write_shift(2,57005),r=0;r<6;++r)t.write_shift(4,0)}return t.slice(0,t.l)}function Zn(e){return[e.read_shift(1),e.read_shift(1),e.read_shift(1),e.read_shift(1)]}function qn(e,t){var r=Zn(e);return r[3]=0,r}function ea(e){return{r:e.read_shift(2),c:e.read_shift(2),ixfe:e.read_shift(2)}}function ta(e,t,r,n){return n||(n=Ht(6)),n.write_shift(2,e),n.write_shift(2,t),n.write_shift(2,r||0),n}function ra(e,t,r){var n=r.biff>8?4:2;return[e.read_shift(n),e.read_shift(n,"i"),e.read_shift(n,"i")]}function na(e){return[e.read_shift(2),Tr(e)]}function aa(e){var t=e.read_shift(2),r=e.read_shift(2);return{s:{c:e.read_shift(2),r:t},e:{c:e.read_shift(2),r:r}}}function sa(e,t){return t||(t=Ht(8)),t.write_shift(2,e.s.r),t.write_shift(2,e.e.r),t.write_shift(2,e.s.c),t.write_shift(2,e.e.c),t}function ia(e){var t=e.read_shift(2),r=e.read_shift(2);return{s:{c:e.read_shift(1),r:t},e:{c:e.read_shift(1),r:r}}}var oa=ia;function ca(e){e.l+=4;var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(2);return e.l+=12,[r,t,n]}function la(e){e.l+=2,e.l+=e.read_shift(2)}var fa={0:la,4:la,5:la,6:la,7:function(e){return e.l+=4,e.cf=e.read_shift(2),{}},8:la,9:la,10:la,11:la,12:la,13:function(e){var t={};return e.l+=4,e.l+=16,t.fSharedNote=e.read_shift(2),e.l+=4,t},14:la,15:la,16:la,17:la,18:la,19:la,20:la,21:ca};function ha(e,t){var r={BIFFVer:0,dt:0};switch(r.BIFFVer=e.read_shift(2),(t-=2)>=2&&(r.dt=e.read_shift(2),e.l-=2),r.BIFFVer){case 1536:case 1280:case 1024:case 768:case 512:case 2:case 7:break;default:if(t>6)throw new Error("Unexpected BIFF Ver "+r.BIFFVer)}return e.read_shift(t),r}function ua(e,t,r){var n=1536,a=16;switch(r.bookType){case"biff8":break;case"biff5":n=1280,a=8;break;case"biff4":n=4,a=6;break;case"biff3":n=3,a=6;break;case"biff2":n=2,a=4;break;case"xla":break;default:throw new Error("unsupported BIFF version")}var s=Ht(a);return s.write_shift(2,n),s.write_shift(2,t),a>4&&s.write_shift(2,29282),a>6&&s.write_shift(2,1997),a>8&&(s.write_shift(2,49161),s.write_shift(2,1),s.write_shift(2,1798),s.write_shift(2,0)),s}function da(e,t){var r=!t||t.biff>=8?2:1,n=Ht(8+r*e.name.length);n.write_shift(4,e.pos),n.write_shift(1,e.hs||0),n.write_shift(1,e.dt),n.write_shift(1,e.name.length),t.biff>=8&&n.write_shift(1,1),n.write_shift(r*e.name.length,e.name,t.biff<8?"sbcs":"utf16le");var a=n.slice(0,n.l);return a.l=n.l,a}function pa(e,t,r){var n=0;r&&2==r.biff||(n=e.read_shift(2));var a=e.read_shift(2);return r&&2==r.biff&&(n=1-(a>>15),a&=32767),[{Unsynced:1&n,DyZero:(2&n)>>1,ExAsc:(4&n)>>2,ExDsc:(8&n)>>3},a]}function ma(e,t,r,n){var a=r&&5==r.biff;n||(n=Ht(a?3+t.length:5+2*t.length)),n.write_shift(2,e),n.write_shift(a?1:2,t.length),a||n.write_shift(1,1),n.write_shift((a?1:2)*t.length,t,a?"sbcs":"utf16le");var s=n.length>n.l?n.slice(0,n.l):n;return null==s.l&&(s.l=s.length),s}var ga=$n;function ba(e,t,r){var n=e.l+t,a=8!=r.biff&&r.biff?2:4,s=e.read_shift(a),i=e.read_shift(a),o=e.read_shift(2),c=e.read_shift(2);return e.l=n,{s:{r:s,c:o},e:{r:i,c:c}}}function va(e,t,r,n){var a=r&&5==r.biff;return n||(n=Ht(a?16:20)),n.write_shift(2,0),e.style?(n.write_shift(2,e.numFmtId||0),n.write_shift(2,65524)):(n.write_shift(2,e.numFmtId||0),n.write_shift(2,t<<4)),n.write_shift(4,0),n.write_shift(4,0),a||n.write_shift(4,0),n.write_shift(2,0),n}function Ea(e,t,r){var n=ea(e);2==r.biff&&++e.l;var a=function(e){var t=e.read_shift(1);return 1===e.read_shift(1)?t:1===t}(e);return n.val=a,n.t=!0===a||!1===a?"b":"e",n}function Sa(e,t,r,n,a,s){var i=Ht(8);return ta(e,t,n,i),function(e,t,r){r||(r=Ht(2)),r.write_shift(1,+e),r.write_shift(1,"e"==t?1:0)}(r,s,i),i}var wa=function(e,t,r){return 0===t?"":$n(e,0,r)};function Ca(e,t,r){var n,a=e.read_shift(2),s={fBuiltIn:1&a,fWantAdvise:a>>>1&1,fWantPict:a>>>2&1,fOle:a>>>3&1,fOleLink:a>>>4&1,cf:a>>>5&1023,fIcon:a>>>15&1};return 14849===r.sbcch&&(n=function(e,t,r){e.l+=4,t-=4;var n=e.l+t,a=Vn(e,0,r),s=e.read_shift(2);if(s!==(n-=e.l))throw new Error("Malformed AddinUdf: padding = "+n+" != "+s);return e.l+=s,a}(e,t-2,r)),s.body=n||e.read_shift(t-2),"string"===typeof n&&(s.Name=n),s}var Ba=["_xlnm.Consolidate_Area","_xlnm.Auto_Open","_xlnm.Auto_Close","_xlnm.Extract","_xlnm.Database","_xlnm.Criteria","_xlnm.Print_Area","_xlnm.Print_Titles","_xlnm.Recorder","_xlnm.Data_Form","_xlnm.Auto_Activate","_xlnm.Auto_Deactivate","_xlnm.Sheet_Title","_xlnm._FilterDatabase"];function Ta(e,t,r){var n=e.l+t,a=e.read_shift(2),s=e.read_shift(1),i=e.read_shift(1),o=e.read_shift(r&&2==r.biff?1:2),c=0;(!r||r.biff>=5)&&(5!=r.biff&&(e.l+=2),c=e.read_shift(2),5==r.biff&&(e.l+=2),e.l+=4);var l=zn(e,i,r);32&a&&(l=Ba[l.charCodeAt(0)]);var f=n-e.l;return r&&2==r.biff&&--f,{chKey:s,Name:l,itab:c,rgce:n==e.l||0===o?[]:function(e,t,r,n){var a,s=e.l+t,i=Hi(e,n,r);s!==e.l&&(a=Ui(e,s-e.l,i,r));return[i,a]}(e,f,r,o)}}function ka(e,t,r){if(r.biff<8)return function(e,t,r){3==e[e.l+1]&&e[e.l]++;var n=Vn(e,0,r);return 3==n.charCodeAt(0)?n.slice(1):n}(e,0,r);for(var n=[],a=e.l+t,s=e.read_shift(r.biff>8?4:2);0!==s--;)n.push(ra(e,r.biff,r));if(e.l!=a)throw new Error("Bad ExternSheet: "+e.l+" != "+a);return n}function _a(e,t,r){var n=oa(e,6);switch(r.biff){case 2:e.l++,t-=7;break;case 3:case 4:e.l+=2,t-=8;break;default:e.l+=6,t-=12}return[n,$i(e,t,r)]}var xa=[];function Aa(e){var t=Ht(24),r=Zt(e[0]);t.write_shift(2,r.r),t.write_shift(2,r.r),t.write_shift(2,r.c),t.write_shift(2,r.c);for(var n="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),a=0;a<16;++a)t.write_shift(1,parseInt(n[a],16));return A([t,Jn(e[1])])}function Ia(e){var t=e[1].Tooltip,r=Ht(10+2*(t.length+1));r.write_shift(2,2048);var n=Zt(e[0]);r.write_shift(2,n.r),r.write_shift(2,n.r),r.write_shift(2,n.c),r.write_shift(2,n.c);for(var a=0;a<t.length;++a)r.write_shift(2,t.charCodeAt(a));return r.write_shift(2,0),r}function ya(e,t,r){if(!r.cellStyles)return Ut(e,t);var n=r&&r.biff>=12?4:2,a=e.read_shift(n),s=e.read_shift(n),i=e.read_shift(n),o=e.read_shift(n),c=e.read_shift(2);2==n&&(e.l+=2);var l={s:a,e:s,w:i,ixfe:o,flags:c};return(r.biff>=5||!r.biff)&&(l.level=c>>8&7),l}xa[8]=function(e,t){var r=e.l+t;e.l+=10;var n=e.read_shift(2);e.l+=4,e.l+=2,e.l+=2,e.l+=2,e.l+=4;var a=e.read_shift(1);return e.l+=a,e.l=r,{fmt:n}};var Ra=ea,Fa=Wn,Da=jn,Oa=function(){var e={1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127,8:865,9:437,10:850,11:437,13:437,14:850,15:437,16:850,17:437,18:850,19:932,20:850,21:437,22:850,23:865,24:437,25:437,26:850,27:437,28:863,29:850,31:852,34:852,35:852,36:860,37:850,38:866,55:850,64:852,77:936,78:949,79:950,80:874,87:1252,88:1252,89:1252,255:16969},t=X({1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127});function r(t,r){var n=r||{};return n.dateNF||(n.dateNF="yyyymmdd"),or(function(t,r){var n=[],a=C(1);switch(r.type){case"base64":a=T(v.decode(t));break;case"binary":a=T(t);break;case"buffer":case"array":a=t}Lt(a,0);var s=a.read_shift(1),i=!1,o=!1,c=!1;switch(s){case 2:case 3:break;case 48:o=!0,i=!0;break;case 49:o=!0;break;case 131:case 139:i=!0;break;case 140:i=!0,c=!0;break;case 245:i=!0;break;default:throw new Error("DBF Unsupported Version: "+s.toString(16))}var l=0,f=0;2==s&&(l=a.read_shift(2)),a.l+=3,2!=s&&(l=a.read_shift(4)),2!=s&&(f=a.read_shift(2));var h=a.read_shift(2),u=1252;2!=s&&(a.l+=16,a.read_shift(1),0!==a[a.l]&&(u=e[a[a.l]]),a.l+=1,a.l+=2),c&&(a.l+=36);for(var d=[],p={},m=f-10-(o?264:0),g=c?32:11;2==s?a.l<a.length&&13!=a[a.l]:a.l<m;)switch((p={}).name=cptable.utils.decode(u,a.slice(a.l,a.l+g)).replace(/[\u0000\r\n].*$/g,""),a.l+=g,p.type=String.fromCharCode(a.read_shift(1)),2==s||c||(p.offset=a.read_shift(4)),p.len=a.read_shift(1),2==s&&(p.offset=a.read_shift(2)),p.dec=a.read_shift(1),p.name.length&&d.push(p),2!=s&&(a.l+=c?13:14),p.type){case"B":o&&8==p.len||!r.WTF||console.log("Skipping "+p.name+":"+p.type);break;case"G":case"P":r.WTF&&console.log("Skipping "+p.name+":"+p.type);break;case"C":case"D":case"F":case"I":case"L":case"M":case"N":case"O":case"T":case"Y":case"0":case"@":case"+":break;default:throw new Error("Unknown Field Type: "+p.type)}if(13!==a[a.l]?a.l=f-1:2==s&&(a.l=521),2!=s){if(13!==a.read_shift(1))throw new Error("DBF Terminator not found "+a.l+" "+a[a.l]);a.l=f}var b=0,E=0;for(n[0]=[],E=0;E!=d.length;++E)n[0][E]=d[E].name;for(;l-- >0;)if(42!==a[a.l])for(++a.l,n[++b]=[],E=0,E=0;E!=d.length;++E){var S=a.slice(a.l,a.l+d[E].len);a.l+=d[E].len,Lt(S,0);var w=cptable.utils.decode(u,S);switch(d[E].type){case"C":n[b][E]=cptable.utils.decode(u,S),n[b][E]=n[b][E].trim();break;case"D":8===w.length?n[b][E]=new Date(+w.slice(0,4),+w.slice(4,6)-1,+w.slice(6,8)):n[b][E]=w;break;case"F":n[b][E]=parseFloat(w.trim());break;case"+":case"I":n[b][E]=c?2147483648^S.read_shift(-4,"i"):S.read_shift(4,"i");break;case"L":switch(w.toUpperCase()){case"Y":case"T":n[b][E]=!0;break;case"N":case"F":n[b][E]=!1;break;case" ":case"?":n[b][E]=!1;break;default:throw new Error("DBF Unrecognized L:|"+w+"|")}break;case"M":if(!i)throw new Error("DBF Unexpected MEMO for type "+s.toString(16));n[b][E]="##MEMO##"+(c?parseInt(w.trim(),10):S.read_shift(4));break;case"N":n[b][E]=+w.replace(/\u0000/g,"").trim();break;case"@":n[b][E]=new Date(S.read_shift(-8,"f")-621356832e5);break;case"T":n[b][E]=new Date(864e5*(S.read_shift(4)-2440588)+S.read_shift(4));break;case"Y":n[b][E]=S.read_shift(4,"i")/1e4;break;case"O":n[b][E]=-S.read_shift(-8,"f");break;case"B":if(o&&8==d[E].len){n[b][E]=S.read_shift(8,"f");break}case"G":case"P":S.l+=d[E].len;break;case"0":if("_NullFlags"===d[E].name)break;default:throw new Error("DBF Unsupported data type "+d[E].type)}}else a.l+=h;if(2!=s&&a.l<a.length&&26!=a[a.l++])throw new Error("DBF EOF Marker missing "+(a.l-1)+" of "+a.length+" "+a[a.l-1].toString(16));return r&&r.sheetRows&&(n=n.slice(0,r.sheetRows)),n}(t,n),n)}var n={B:8,C:250,L:1,D:8,"?":0,"":0};return{versions:[2,3,48,49,131,139,140,245],to_workbook:function(e,t){try{return sr(r(e,t),t)}catch(lf){if(t&&t.WTF)throw lf}return{SheetNames:[],Sheets:{}}},to_sheet:r,from_sheet:function(e,r){var a=r||{};if(+a.codepage>=0&&u(+a.codepage),"string"==a.type)throw new Error("Cannot write DBF to JS string");var s=Vt(),i=ef(e,{header:1,raw:!0,cellDates:!0}),c=i[0],l=i.slice(1),f=0,h=0,d=0,p=1;for(f=0;f<c.length;++f)if(null!=f){if(++d,"number"===typeof c[f]&&(c[f]=c[f].toString(10)),"string"!==typeof c[f])throw new Error("DBF Invalid column name "+c[f]+" |"+typeof c[f]+"|");if(c.indexOf(c[f])!==f)for(h=0;h<1024;++h)if(-1==c.indexOf(c[f]+"_"+h)){c[f]+="_"+h;break}}var m=rr(e["!ref"]),g=[];for(f=0;f<=m.e.c-m.s.c;++f){var b=[];for(h=0;h<l.length;++h)null!=l[h][f]&&b.push(l[h][f]);if(0!=b.length&&null!=c[f]){var v="",E="";for(h=0;h<b.length;++h){switch(typeof b[h]){case"number":E="B";break;case"string":E="C";break;case"boolean":E="L";break;case"object":E=b[h]instanceof Date?"D":"C";break;default:E="C"}if("C"==(v=v&&v!=E?"C":E))break}p+=n[v]||0,g[f]=v}else g[f]="?"}var S=s.next(32);for(S.write_shift(4,318902576),S.write_shift(4,l.length),S.write_shift(2,296+32*d),S.write_shift(2,p),f=0;f<4;++f)S.write_shift(4,0);for(S.write_shift(4,0|(+t[o]||3)<<8),f=0,h=0;f<c.length;++f)if(null!=c[f]){var w=s.next(32),C=(c[f].slice(-10)+"\0\0\0\0\0\0\0\0\0\0\0").slice(0,11);w.write_shift(1,C,"sbcs"),w.write_shift(1,"?"==g[f]?"C":g[f],"sbcs"),w.write_shift(4,h),w.write_shift(1,n[g[f]]||0),w.write_shift(1,0),w.write_shift(1,2),w.write_shift(4,0),w.write_shift(1,0),w.write_shift(4,0),w.write_shift(4,0),h+=n[g[f]]||0}var B=s.next(264);for(B.write_shift(4,13),f=0;f<65;++f)B.write_shift(4,0);for(f=0;f<l.length;++f){var T=s.next(p);for(T.write_shift(1,0),h=0;h<c.length;++h)if(null!=c[h])switch(g[h]){case"L":T.write_shift(1,null==l[f][h]?63:l[f][h]?84:70);break;case"B":T.write_shift(8,l[f][h]||0,"f");break;case"D":l[f][h]?(T.write_shift(4,("0000"+l[f][h].getFullYear()).slice(-4),"sbcs"),T.write_shift(2,("00"+(l[f][h].getMonth()+1)).slice(-2),"sbcs"),T.write_shift(2,("00"+l[f][h].getDate()).slice(-2),"sbcs")):T.write_shift(8,"00000000","sbcs");break;case"C":var k=String(l[f][h]||"");for(T.write_shift(1,k,"sbcs"),d=0;d<250-k.length;++d)T.write_shift(1,32)}}return s.next(1).write_shift(1,26),s.end()}}}(),Pa=function(){var e={AA:"\xc0",BA:"\xc1",CA:"\xc2",DA:195,HA:"\xc4",JA:197,AE:"\xc8",BE:"\xc9",CE:"\xca",HE:"\xcb",AI:"\xcc",BI:"\xcd",CI:"\xce",HI:"\xcf",AO:"\xd2",BO:"\xd3",CO:"\xd4",DO:213,HO:"\xd6",AU:"\xd9",BU:"\xda",CU:"\xdb",HU:"\xdc",Aa:"\xe0",Ba:"\xe1",Ca:"\xe2",Da:227,Ha:"\xe4",Ja:229,Ae:"\xe8",Be:"\xe9",Ce:"\xea",He:"\xeb",Ai:"\xec",Bi:"\xed",Ci:"\xee",Hi:"\xef",Ao:"\xf2",Bo:"\xf3",Co:"\xf4",Do:245,Ho:"\xf6",Au:"\xf9",Bu:"\xfa",Cu:"\xfb",Hu:"\xfc",KC:"\xc7",Kc:"\xe7",q:"\xe6",z:"\u0153",a:"\xc6",j:"\u0152",DN:209,Dn:241,Hy:255,S:169,c:170,R:174,B:180,0:176,1:177,2:178,3:179,5:181,6:182,7:183,Q:185,k:186,b:208,i:216,l:222,s:240,y:248,"!":161,'"':162,"#":163,"(":164,"%":165,"'":167,"H ":168,"+":171,";":187,"<":188,"=":189,">":190,"?":191,"{":223},t=new RegExp("\x1bN("+W(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),r=function(t,r){var n=e[r];return"number"==typeof n?b(n):n},n=function(e,t,r){var n=t.charCodeAt(0)-32<<4|r.charCodeAt(0)-48;return 59==n?e:b(n)};function a(e,a){var s,i=e.split(/[\n\r]+/),o=-1,c=-1,l=0,f=0,h=[],d=[],p=null,m={},g=[],b=[],v=[],E=0;for(+a.codepage>=0&&u(+a.codepage);l!==i.length;++l){E=0;var S,w=i[l].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,n).replace(t,r),C=w.replace(/;;/g,"\0").split(";").map((function(e){return e.replace(/\u0000/g,";")})),B=C[0];if(w.length>0)switch(B){case"ID":case"E":case"B":case"O":break;case"P":"P"==C[1].charAt(0)&&d.push(w.slice(3).replace(/;;/g,";"));break;case"C":var T=!1,k=!1;for(f=1;f<C.length;++f)switch(C[f].charAt(0)){case"X":c=parseInt(C[f].slice(1))-1,k=!0;break;case"Y":for(o=parseInt(C[f].slice(1))-1,k||(c=0),s=h.length;s<=o;++s)h[s]=[];break;case"K":'"'===(S=C[f].slice(1)).charAt(0)?S=S.slice(1,S.length-1):"TRUE"===S?S=!0:"FALSE"===S?S=!1:isNaN(se(S))?isNaN(ie(S).getDate())||(S=te(S)):(S=se(S),null!==p&&R.is_date(p)&&(S=J(S))),"undefined"!==typeof cptable&&"string"==typeof S&&"string"!=(a||{}).type&&(a||{}).codepage&&(S=cptable.utils.decode(a.codepage,S)),T=!0;break;case"E":var _=oi(C[f].slice(1),{r:o,c:c});h[o][c]=[h[o][c],_];break;default:if(a&&a.WTF)throw new Error("SYLK bad record "+w)}T&&(h[o][c]=S,p=null);break;case"F":var x=0;for(f=1;f<C.length;++f)switch(C[f].charAt(0)){case"X":c=parseInt(C[f].slice(1))-1,++x;break;case"Y":for(o=parseInt(C[f].slice(1))-1,s=h.length;s<=o;++s)h[s]=[];break;case"M":E=parseInt(C[f].slice(1))/20;break;case"F":case"G":break;case"P":p=d[parseInt(C[f].slice(1))];break;case"S":case"D":case"N":break;case"W":for(v=C[f].slice(1).split(" "),s=parseInt(v[0],10);s<=parseInt(v[1],10);++s)E=parseInt(v[2],10),b[s-1]=0===E?{hidden:!0}:{wch:E},ws(b[s-1]);break;case"C":b[c=parseInt(C[f].slice(1))-1]||(b[c]={});break;case"R":g[o=parseInt(C[f].slice(1))-1]||(g[o]={}),E>0?(g[o].hpt=E,g[o].hpx=Bs(E)):0===E&&(g[o].hidden=!0);break;default:if(a&&a.WTF)throw new Error("SYLK bad record "+w)}x<1&&(p=null);break;default:if(a&&a.WTF)throw new Error("SYLK bad record "+w)}}return g.length>0&&(m["!rows"]=g),b.length>0&&(m["!cols"]=b),a&&a.sheetRows&&(h=h.slice(0,a.sheetRows)),[h,m]}function s(e,t){var r=function(e,t){switch(t.type){case"base64":return a(v.decode(e),t);case"binary":return a(e,t);case"buffer":return a(e.toString("binary"),t);case"array":return a(re(e),t)}throw new Error("Unrecognized type "+t.type)}(e,t),n=r[0],s=r[1],i=or(n,t);return W(s).forEach((function(e){i[e]=s[e]})),i}function i(e,t,r,n){var a="C;Y"+(r+1)+";X"+(n+1)+";K";switch(e.t){case"n":a+=e.v||0,e.f&&!e.F&&(a+=";E"+li(e.f,{r:r,c:n}));break;case"b":a+=e.v?"TRUE":"FALSE";break;case"e":a+=e.w||e.v;break;case"d":a+='"'+(e.w||e.v)+'"';break;case"s":a+='"'+e.v.replace(/"/g,"")+'"'}return a}return e["|"]=254,{to_workbook:function(e,t){return sr(s(e,t),t)},to_sheet:s,from_sheet:function(e,t){var r,n,a=["ID;PWXL;N;E"],s=[],o=rr(e["!ref"]),c=Array.isArray(e),l="\r\n";a.push("P;PGeneral"),a.push("F;P0;DG0G8;M255"),e["!cols"]&&(n=a,e["!cols"].forEach((function(e,t){var r="F;W"+(t+1)+" "+(t+1)+" ";e.hidden?r+="0":("number"==typeof e.width&&(e.wpx=gs(e.width)),"number"==typeof e.wpx&&(e.wch=bs(e.wpx)),"number"==typeof e.wch&&(r+=Math.round(e.wch)))," "!=r.charAt(r.length-1)&&n.push(r)}))),e["!rows"]&&function(e,t){t.forEach((function(t,r){var n="F;";t.hidden?n+="M0;":t.hpt?n+="M"+20*t.hpt+";":t.hpx&&(n+="M"+20*Cs(t.hpx)+";"),n.length>2&&e.push(n+"R"+(r+1))}))}(a,e["!rows"]),a.push("B;Y"+(o.e.r-o.s.r+1)+";X"+(o.e.c-o.s.c+1)+";D"+[o.s.c,o.s.r,o.e.c,o.e.r].join(" "));for(var f=o.s.r;f<=o.e.r;++f)for(var h=o.s.c;h<=o.e.c;++h){var u=qt({r:f,c:h});(r=c?(e[f]||[])[h]:e[u])&&(null!=r.v||r.f&&!r.F)&&s.push(i(r,0,f,h))}return a.join(l)+l+s.join(l)+l+"E"+l}}}(),Na=function(){function e(e,t){for(var r=e.split("\n"),n=-1,a=-1,s=0,i=[];s!==r.length;++s)if("BOT"!==r[s].trim()){if(!(n<0)){var o=r[s].trim().split(","),c=o[0],l=o[1],f=r[++s].trim();switch(+c){case-1:if("BOT"===f){i[++n]=[],a=0;continue}if("EOD"!==f)throw new Error("Unrecognized DIF special command "+f);break;case 0:"TRUE"===f?i[n][a]=!0:"FALSE"===f?i[n][a]=!1:isNaN(se(l))?isNaN(ie(l).getDate())?i[n][a]=l:i[n][a]=te(l):i[n][a]=se(l),++a;break;case 1:f=f.slice(1,f.length-1),i[n][a++]=""!==f?f:null}if("EOD"===f)break}}else i[++n]=[],a=0;return t&&t.sheetRows&&(i=i.slice(0,t.sheetRows)),i}function t(t,r){return or(function(t,r){switch(r.type){case"base64":return e(v.decode(t),r);case"binary":return e(t,r);case"buffer":return e(t.toString("binary"),r);case"array":return e(re(t),r)}throw new Error("Unrecognized type "+r.type)}(t,r),r)}return{to_workbook:function(e,r){return sr(t(e,r),r)},to_sheet:t,from_sheet:function(){var e=function(e,t,r,n,a){e.push(t),e.push(r+","+n),e.push('"'+a.replace(/"/g,'""')+'"')},t=function(e,t,r,n){e.push(t+","+r),e.push(1==t?'"'+n.replace(/"/g,'""')+'"':n)};return function(r){var n,a=[],s=rr(r["!ref"]),i=Array.isArray(r);e(a,"TABLE",0,1,"sheetjs"),e(a,"VECTORS",0,s.e.r-s.s.r+1,""),e(a,"TUPLES",0,s.e.c-s.s.c+1,""),e(a,"DATA",0,0,"");for(var o=s.s.r;o<=s.e.r;++o){t(a,-1,0,"BOT");for(var c=s.s.c;c<=s.e.c;++c){var l=qt({r:o,c:c});if(n=i?(r[o]||[])[c]:r[l])switch(n.t){case"n":var f=n.w;f||null==n.v||(f=n.v),null==f?n.f&&!n.F?t(a,1,0,"="+n.f):t(a,1,0,""):t(a,0,f,"V");break;case"b":t(a,0,n.v?1:0,n.v?"TRUE":"FALSE");break;case"s":t(a,1,0,isNaN(n.v)?n.v:'="'+n.v+'"');break;case"d":n.w||(n.w=R.format(n.z||R._table[14],j(te(n.v)))),t(a,0,n.w,"V");break;default:t(a,1,0,"")}else t(a,1,0,"")}}t(a,-1,0,"EOD");return a.join("\r\n")}}()}}(),Ma=function(){function e(e){return e.replace(/\\/g,"\\b").replace(/:/g,"\\c").replace(/\n/g,"\\n")}function t(e,t){return or(function(e,t){for(var r=e.split("\n"),n=-1,a=-1,s=0,i=[];s!==r.length;++s){var o=r[s].trim().split(":");if("cell"===o[0]){var c=Zt(o[1]);if(i.length<=c.r)for(n=i.length;n<=c.r;++n)i[n]||(i[n]=[]);switch(n=c.r,a=c.c,o[2]){case"t":i[n][a]=o[3].replace(/\\b/g,"\\").replace(/\\c/g,":").replace(/\\n/g,"\n");break;case"v":i[n][a]=+o[3];break;case"vtf":var l=o[o.length-1];case"vtc":switch(o[3]){case"nl":i[n][a]=!!+o[4];break;default:i[n][a]=+o[4]}"vtf"==o[2]&&(i[n][a]=[i[n][a],l])}}}return t&&t.sheetRows&&(i=i.slice(0,t.sheetRows)),i}(e,t),t)}var r=["socialcalc:version:1.5","MIME-Version: 1.0","Content-Type: multipart/mixed; boundary=SocialCalcSpreadsheetControlSave"].join("\n"),n=["--SocialCalcSpreadsheetControlSave","Content-type: text/plain; charset=UTF-8"].join("\n")+"\n",a=["# SocialCalc Spreadsheet Control Save","part:sheet"].join("\n"),s="--SocialCalcSpreadsheetControlSave--";function i(t){if(!t||!t["!ref"])return"";for(var r,n=[],a=[],s="",i=er(t["!ref"]),o=Array.isArray(t),c=i.s.r;c<=i.e.r;++c)for(var l=i.s.c;l<=i.e.c;++l)if(s=qt({r:c,c:l}),(r=o?(t[c]||[])[l]:t[s])&&null!=r.v&&"z"!==r.t){switch(a=["cell",s,"t"],r.t){case"s":case"str":a.push(e(r.v));break;case"n":r.f?(a[2]="vtf",a[3]="n",a[4]=r.v,a[5]=e(r.f)):(a[2]="v",a[3]=r.v);break;case"b":a[2]="vt"+(r.f?"f":"c"),a[3]="nl",a[4]=r.v?"1":"0",a[5]=e(r.f||(r.v?"TRUE":"FALSE"));break;case"d":var f=j(te(r.v));a[2]="vtc",a[3]="nd",a[4]=""+f,a[5]=r.w||R.format(r.z||R._table[14],f);break;case"e":continue}n.push(a.join(":"))}return n.push("sheet:c:"+(i.e.c-i.s.c+1)+":r:"+(i.e.r-i.s.r+1)+":tvf:1"),n.push("valueformat:1:text-wiki"),n.join("\n")}return{to_workbook:function(e,r){return sr(t(e,r),r)},to_sheet:t,from_sheet:function(e){return[r,n,a,n,i(e),s].join("\n")}}}(),La=function(){function e(e,t,r,n,a){a.raw?t[r][n]=e:"TRUE"===e?t[r][n]=!0:"FALSE"===e?t[r][n]=!1:""===e||(isNaN(se(e))?isNaN(ie(e).getDate())?t[r][n]=e:t[r][n]=te(e):t[r][n]=se(e))}var t={44:",",9:"\t",59:";"},r={44:3,9:2,59:1};function n(e,n){var a=n||{},s="";var i=a.dense?[]:{},o={s:{c:0,r:0},e:{c:0,r:0}};"sep="==e.slice(0,4)?13==e.charCodeAt(5)&&10==e.charCodeAt(6)?(s=e.charAt(4),e=e.slice(7)):13!=e.charCodeAt(5)&&10!=e.charCodeAt(5)||(s=e.charAt(4),e=e.slice(6)):s=function(e){for(var n={},a=!1,s=0,i=0;s<e.length;++s)34==(i=e.charCodeAt(s))?a=!a:!a&&i in t&&(n[i]=(n[i]||0)+1);for(s in i=[],n)Object.prototype.hasOwnProperty.call(n,s)&&i.push([n[s],s]);if(!i.length)for(s in n=r)Object.prototype.hasOwnProperty.call(n,s)&&i.push([n[s],s]);return i.sort((function(e,t){return e[0]-t[0]||r[e[1]]-r[t[1]]})),t[i.pop()[1]]}(e.slice(0,1024));var c=0,l=0,f=0,h=0,u=0,d=s.charCodeAt(0),p=!1,m=0;e=e.replace(/\r\n/gm,"\n");var g=null!=a.dateNF?function(e){var t="number"==typeof e?R._table[e]:e;return t=t.replace(N,"(\\d+)"),new RegExp("^"+t+"$")}(a.dateNF):null;function b(){var t=e.slice(h,u),r={};if('"'==t.charAt(0)&&'"'==t.charAt(t.length-1)&&(t=t.slice(1,-1).replace(/""/g,'"')),0===t.length)r.t="z";else if(a.raw)r.t="s",r.v=t;else if(0===t.trim().length)r.t="s",r.v=t;else if(61==t.charCodeAt(0))34==t.charCodeAt(1)&&34==t.charCodeAt(t.length-1)?(r.t="s",r.v=t.slice(2,-1).replace(/""/g,'"')):1!=t.length?(r.t="n",r.f=t.slice(1)):(r.t="s",r.v=t);else if("TRUE"==t)r.t="b",r.v=!0;else if("FALSE"==t)r.t="b",r.v=!1;else if(isNaN(f=se(t)))if(!isNaN(ie(t).getDate())||g&&t.match(g)){r.z=a.dateNF||R._table[14];var n=0;g&&t.match(g)&&(t=function(e,t,r){var n=-1,a=-1,s=-1,i=-1,o=-1,c=-1;(t.match(N)||[]).forEach((function(e,t){var l=parseInt(r[t+1],10);switch(e.toLowerCase().charAt(0)){case"y":n=l;break;case"d":s=l;break;case"h":i=l;break;case"s":c=l;break;case"m":i>=0?o=l:a=l}})),c>=0&&-1==o&&a>=0&&(o=a,a=-1);var l=(""+(n>=0?n:(new Date).getFullYear())).slice(-4)+"-"+("00"+(a>=1?a:1)).slice(-2)+"-"+("00"+(s>=1?s:1)).slice(-2);7==l.length&&(l="0"+l),8==l.length&&(l="20"+l);var f=("00"+(i>=0?i:0)).slice(-2)+":"+("00"+(o>=0?o:0)).slice(-2)+":"+("00"+(c>=0?c:0)).slice(-2);return-1==i&&-1==o&&-1==c?l:-1==n&&-1==a&&-1==s?f:l+"T"+f}(0,a.dateNF,t.match(g)||[]),n=1),a.cellDates?(r.t="d",r.v=te(t,n)):(r.t="n",r.v=j(te(t,n))),!1!==a.cellText&&(r.w=R.format(r.z,r.v instanceof Date?j(r.v):r.v)),a.cellNF||delete r.z}else r.t="s",r.v=t;else r.t="n",!1!==a.cellText&&(r.w=t),r.v=f;if("z"==r.t||(a.dense?(i[c]||(i[c]=[]),i[c][l]=r):i[qt({c:l,r:c})]=r),h=u+1,o.e.c<l&&(o.e.c=l),o.e.r<c&&(o.e.r=c),m==d)++l;else if(l=0,++c,a.sheetRows&&a.sheetRows<=c)return!0}e:for(;u<e.length;++u)switch(m=e.charCodeAt(u)){case 34:p=!p;break;case d:case 10:case 13:if(!p&&b())break e}return u-h>0&&b(),i["!ref"]=tr(o),i}function a(t,r){return r&&r.PRN?"sep="==t.slice(0,4)||t.indexOf("\t")>=0||t.indexOf(",")>=0||t.indexOf(";")>=0?n(t,r):or(function(t,r){var n=r||{},a=[];if(!t||0===t.length)return a;for(var s=t.split(/[\r\n]/),i=s.length-1;i>=0&&0===s[i].length;)--i;for(var o=10,c=0,l=0;l<=i;++l)-1==(c=s[l].indexOf(" "))?c=s[l].length:c++,o=Math.max(o,c);for(l=0;l<=i;++l){a[l]=[];var f=0;for(e(s[l].slice(0,o).trim(),a,l,f,n),f=1;f<=(s[l].length-o)/10+1;++f)e(s[l].slice(o+10*(f-1),o+10*f).trim(),a,l,f,n)}return n.sheetRows&&(a=a.slice(0,n.sheetRows)),a}(t,r),r):n(t,r)}function s(e,t){var r="",n="string"==t.type?[0,0,0,0]:Wl(e,t);switch(t.type){case"base64":r=v.decode(e);break;case"binary":r=e;break;case"buffer":r=65001==t.codepage?e.toString("utf8"):t.codepage&&"undefined"!==typeof cptable?cptable.utils.decode(t.codepage,e):e.toString("binary");break;case"array":r=re(e);break;case"string":r=e;break;default:throw new Error("Unrecognized type "+t.type)}return 239==n[0]&&187==n[1]&&191==n[2]?r=Me(r.slice(3)):"binary"==t.type&&"undefined"!==typeof cptable&&t.codepage&&(r=cptable.utils.decode(t.codepage,cptable.utils.encode(1252,r))),"socialcalc:version:"==r.slice(0,19)?Ma.to_sheet("string"==t.type?r:Me(r),t):a(r,t)}return{to_workbook:function(e,t){return sr(s(e,t),t)},to_sheet:s,from_sheet:function(e){for(var t,r=[],n=rr(e["!ref"]),a=Array.isArray(e),s=n.s.r;s<=n.e.r;++s){for(var i=[],o=n.s.c;o<=n.e.c;++o){var c=qt({r:s,c:o});if((t=a?(e[s]||[])[o]:e[c])&&null!=t.v){for(var l=(t.w||(ar(t),t.w)||"").slice(0,10);l.length<10;)l+=" ";i.push(l+(0===o?" ":""))}else i.push("          ")}r.push(i.join(""))}return r.join("\n")}}}(),Ua=function(){function e(e,t){if(!e)return e;var r=t||{};var n=r.dense?[]:{},a="Sheet1",s=0,c={},l=[a],f={s:{r:0,c:0},e:{r:0,c:0}},h=r.sheetRows||0;if(2==e[2])r.Enum=i;else if(26==e[2])r.Enum=o;else{if(14!=e[2])throw new Error("Unrecognized LOTUS BOF "+e[2]);r.Enum=o,r.qpro=!0,e.l=0}return function(e,t,r){if(e){Lt(e,e.l||0);for(var n=r.Enum||i;e.l<e.length;){var a=e.read_shift(2),s=n[a]||n[255],o=e.read_shift(2),c=e.l+o,l=(s.f||Ut)(e,o,r);if(e.l=c,t(l,s.n,a))return}}}(e,(function(t,i,o){if(2==e[2])switch(o){case 0:r.vers=t,t>=4096&&(r.qpro=!0);break;case 6:f=t;break;case 15:r.qpro||(t[1].v=t[1].v.slice(1));case 13:case 14:case 16:case 51:14==o&&112==(112&t[2])&&(15&t[2])>1&&(15&t[2])<15&&(t[1].z=r.dateNF||R._table[14],r.cellDates&&(t[1].t="d",t[1].v=J(t[1].v))),r.dense?(n[t[0].r]||(n[t[0].r]=[]),n[t[0].r][t[0].c]=t[1]):n[qt(t[0])]=t[1]}else switch(o){case 22:t[1].v=t[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(t[3]>s&&(n["!ref"]=tr(f),c[a]=n,n=r.dense?[]:{},f={s:{r:0,c:0},e:{r:0,c:0}},s=t[3],a="Sheet"+(s+1),l.push(a)),h>0&&t[0].r>=h)break;r.dense?(n[t[0].r]||(n[t[0].r]=[]),n[t[0].r][t[0].c]=t[1]):n[qt(t[0])]=t[1],f.e.c<t[0].c&&(f.e.c=t[0].c),f.e.r<t[0].r&&(f.e.r=t[0].r)}}),r),n["!ref"]=tr(f),c[a]=n,{SheetNames:l,Sheets:c}}function t(e,t,r){var n=[{c:0,r:0},{t:"n",v:0},0];return r.qpro&&20768!=r.vers?(n[0].c=e.read_shift(1),e.l++,n[0].r=e.read_shift(2),e.l+=2):(n[2]=e.read_shift(1),n[0].c=e.read_shift(2),n[0].r=e.read_shift(2)),n}function r(e,r,n){var a=e.l+r,s=t(e,0,n);if(s[1].t="s",20768==n.vers){e.l++;var i=e.read_shift(1);return s[1].v=e.read_shift(i,"utf8"),s}return n.qpro&&e.l++,s[1].v=e.read_shift(a-e.l,"cstr"),s}function n(e){var t=[{c:0,r:0},{t:"n",v:0},0];return t[0].r=e.read_shift(2),t[3]=e[e.l++],t[0].c=e[e.l++],t}function a(e,t){var r=n(e),a=e.read_shift(4),s=e.read_shift(4),i=e.read_shift(2);if(65535==i)return r[1].v=0,r;var o=32768&i;return i=(32767&i)-16446,r[1].v=(2*o-1)*((i>0?s<<i:s>>>-i)+(i>-32?a<<i+32:a>>>-(i+32))),r}function s(e,t){var r=n(e),a=e.read_shift(8,"f");return r[1].v=a,r}var i={0:{n:"BOF",f:Un},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:function(e){var t={s:{c:0,r:0},e:{c:0,r:0}};return t.s.c=e.read_shift(2),t.s.r=e.read_shift(2),t.e.c=e.read_shift(2),t.e.r=e.read_shift(2),65535==t.s.c&&(t.s.c=t.e.c=t.s.r=t.e.r=0),t}},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:function(e,r,n){var a=t(e,0,n);return a[1].v=e.read_shift(2,"i"),a}},14:{n:"NUMBER",f:function(e,r,n){var a=t(e,0,n);return a[1].v=e.read_shift(8,"f"),a}},15:{n:"LABEL",f:r},16:{n:"FORMULA",f:function(e,r,n){var a=e.l+r,s=t(e,0,n);if(s[1].v=e.read_shift(8,"f"),n.qpro)e.l=a;else{var i=e.read_shift(2);e.l+=i}return s}},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:r},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},255:{n:"",f:Ut}},o={0:{n:"BOF"},1:{n:"EOF"},3:{n:"??"},4:{n:"??"},5:{n:"??"},6:{n:"??"},7:{n:"??"},9:{n:"??"},10:{n:"??"},11:{n:"??"},12:{n:"??"},14:{n:"??"},15:{n:"??"},16:{n:"??"},17:{n:"??"},18:{n:"??"},19:{n:"??"},21:{n:"??"},22:{n:"LABEL16",f:function(e,t){var r=n(e);return r[1].t="s",r[1].v=e.read_shift(t-4,"cstr"),r}},23:{n:"NUMBER17",f:a},24:{n:"NUMBER18",f:function(e,t){var r=n(e);r[1].v=e.read_shift(2);var a=r[1].v>>1;if(1&r[1].v)switch(7&a){case 1:a=500*(a>>3);break;case 2:a=(a>>3)/20;break;case 4:a=(a>>3)/2e3;break;case 6:a=(a>>3)/16;break;case 7:a=(a>>3)/64;break;default:throw"unknown NUMBER_18 encoding "+(7&a)}return r[1].v=a,r}},25:{n:"FORMULA19",f:function(e,t){var r=a(e);return e.l+=t-14,r}},26:{n:"??"},27:{n:"??"},28:{n:"??"},29:{n:"??"},30:{n:"??"},31:{n:"??"},33:{n:"??"},37:{n:"NUMBER25",f:function(e,t){var r=n(e),a=e.read_shift(4);return r[1].v=a>>6,r}},39:{n:"NUMBER27",f:s},40:{n:"FORMULA28",f:function(e,t){var r=s(e);return e.l+=t-10,r}},255:{n:"",f:Ut}};return{to_workbook:function(t,r){switch(r.type){case"base64":return e(T(v.decode(t)),r);case"binary":return e(T(t),r);case"buffer":case"array":return e(t,r)}throw"Unsupported type "+r.type}}}(),Ha=function(){var e=Ve("t"),t=Ve("rPr");function r(r){var n=r.match(e);if(!n)return{t:"s",v:""};var a={t:"s",v:xe(n[1])},s=r.match(t);return s&&(a.s=function(e){var t={},r=e.match(Se),n=0,a=!1;if(r)for(;n!=r.length;++n){var s=Be(r[n]);switch(s[0].replace(/\w*:/g,"")){case"<condense":case"<extend":break;case"<shadow":if(!s.val)break;case"<shadow>":case"<shadow/>":t.shadow=1;break;case"</shadow>":break;case"<charset":if("1"==s.val)break;t.cp=f[parseInt(s.val,10)];break;case"<outline":if(!s.val)break;case"<outline>":case"<outline/>":t.outline=1;break;case"</outline>":break;case"<rFont":t.name=s.val;break;case"<sz":t.sz=s.val;break;case"<strike":if(!s.val)break;case"<strike>":case"<strike/>":t.strike=1;break;case"</strike>":break;case"<u":if(!s.val)break;switch(s.val){case"double":t.uval="double";break;case"singleAccounting":t.uval="single-accounting";break;case"doubleAccounting":t.uval="double-accounting"}case"<u>":case"<u/>":t.u=1;break;case"</u>":break;case"<b":if("0"==s.val)break;case"<b>":case"<b/>":t.b=1;break;case"</b>":break;case"<i":if("0"==s.val)break;case"<i>":case"<i/>":t.i=1;break;case"</i>":break;case"<color":s.rgb&&(t.color=s.rgb.slice(2,8));break;case"<family":t.family=s.val;break;case"<vertAlign":t.valign=s.val;break;case"<scheme":break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":a=!0;break;case"</ext>":a=!1;break;default:if(47!==s[0].charCodeAt(1)&&!a)throw new Error("Unrecognized rich format "+s[0])}}return t}(s[1])),a}var n=/<(?:\w+:)?r>/g,a=/<\/(?:\w+:)?r>/;return function(e){return e.replace(n,"").split(a).map(r).filter((function(e){return e.v}))}}(),Wa=function(){var e=/(\r\n|\n)/g;function t(t){var r=[[],t.v,[]];return t.v?(t.s&&function(e,t,r){var n=[];e.u&&n.push("text-decoration: underline;"),e.uval&&n.push("text-underline-style:"+e.uval+";"),e.sz&&n.push("font-size:"+e.sz+"pt;"),e.outline&&n.push("text-effect: outline;"),e.shadow&&n.push("text-shadow: auto;"),t.push('<span style="'+n.join("")+'">'),e.b&&(t.push("<b>"),r.push("</b>")),e.i&&(t.push("<i>"),r.push("</i>")),e.strike&&(t.push("<s>"),r.push("</s>"));var a=e.valign||"";"superscript"==a||"super"==a?a="sup":"subscript"==a&&(a="sub"),""!=a&&(t.push("<"+a+">"),r.push("</"+a+">")),r.push("</span>")}(t.s,r[0],r[2]),r[0].join("")+r[1].replace(e,"<br/>")+r[2].join("")):""}return function(e){return e.map(t).join("")}}(),Va=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,Xa=/<(?:\w+:)?r>/,Ga=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g;function za(e,t){var r=!t||t.cellHTML,n={};return e?(e.match(/^\s*<(?:\w+:)?t[^>]*>/)?(n.t=xe(Me(e.slice(e.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||"")),n.r=Me(e),r&&(n.h=De(n.t))):e.match(Xa)&&(n.r=Me(e),n.t=xe(Me((e.replace(Ga,"").match(Va)||[]).join("").replace(Se,""))),r&&(n.h=Wa(Ha(n.r)))),n):{t:""}}var ja=/<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/,$a=/<(?:\w+:)?(?:si|sstItem)>/g,Ka=/<\/(?:\w+:)?(?:si|sstItem)>/;Kr.SST="http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings";var Ya=/^\s|\s$|[\t\n\r]/;function Qa(e,t){if(!t.bookSST)return"";var r=[ve];r[r.length]=Je("sst",null,{xmlns:tt.main[0],count:e.Count,uniqueCount:e.Unique});for(var n=0;n!=e.length;++n)if(null!=e[n]){var a=e[n],s="<si>";a.r?s+=a.r:(s+="<t",a.t||(a.t=""),a.t.match(Ya)&&(s+=' xml:space="preserve"'),s+=">"+ye(a.t)+"</t>"),s+="</si>",r[r.length]=s}return r.length>2&&(r[r.length]="</sst>",r[1]=r[1].replace("/>",">")),r.join("")}var Ja=function(e,t){var r=!1;return null==t&&(r=!0,t=Ht(15+4*e.t.length)),t.write_shift(1,0),fr(e.t,t),r?t.slice(0,t.l):t};function Za(e){var t=Vt();Xt(t,"BrtBeginSst",function(e,t){return t||(t=Ht(8)),t.write_shift(4,e.Count),t.write_shift(4,e.Unique),t}(e));for(var r=0;r<e.length;++r)Xt(t,"BrtSSTItem",Ja(e[r]));return Xt(t,"BrtEndSst"),t.end()}function qa(e){if("undefined"!==typeof cptable)return cptable.utils.encode(o,e);for(var t=[],r=e.split(""),n=0;n<r.length;++n)t[n]=r[n].charCodeAt(0);return t}function es(e,t){var r={};return r.Major=e.read_shift(2),r.Minor=e.read_shift(2),t>=4&&(e.l+=t-4),r}function ts(e){for(var t=e.read_shift(4),r=e.l+t-4,n={},a=e.read_shift(4),s=[];a-- >0;)s.push({t:e.read_shift(4),v:e.read_shift(0,"lpp4")});if(n.name=e.read_shift(0,"lpp4"),n.comps=s,e.l!=r)throw new Error("Bad DataSpaceMapEntry: "+e.l+" != "+r);return n}function rs(e){var t=function(e){var t={};return e.read_shift(4),e.l+=4,t.id=e.read_shift(0,"lpp4"),t.name=e.read_shift(0,"lpp4"),t.R=es(e,4),t.U=es(e,4),t.W=es(e,4),t}(e);if(t.ename=e.read_shift(0,"8lpp4"),t.blksz=e.read_shift(4),t.cmode=e.read_shift(4),4!=e.read_shift(4))throw new Error("Bad !Primary record");return t}function ns(e,t){var r=e.l+t,n={};n.Flags=63&e.read_shift(4),e.l+=4,n.AlgID=e.read_shift(4);var a=!1;switch(n.AlgID){case 26126:case 26127:case 26128:a=36==n.Flags;break;case 26625:a=4==n.Flags;break;case 0:a=16==n.Flags||4==n.Flags||36==n.Flags;break;default:throw"Unrecognized encryption algorithm: "+n.AlgID}if(!a)throw new Error("Encryption Flags/AlgID mismatch");return n.AlgIDHash=e.read_shift(4),n.KeySize=e.read_shift(4),n.ProviderType=e.read_shift(4),e.l+=8,n.CSPName=e.read_shift(r-e.l>>1,"utf16le"),e.l=r,n}function as(e,t){var r={},n=e.l+t;return e.l+=4,r.Salt=e.slice(e.l,e.l+16),e.l+=16,r.Verifier=e.slice(e.l,e.l+16),e.l+=16,e.read_shift(4),r.VerifierHash=e.slice(e.l,n),e.l=n,r}function ss(e){if(36!=(63&e.read_shift(4)))throw new Error("EncryptionInfo mismatch");var t=e.read_shift(4);return{t:"Std",h:ns(e,t),v:as(e,e.length-e.l)}}function is(){throw new Error("File is password-protected: ECMA-376 Extensible")}function os(e){var t=["saltSize","blockSize","keyBits","hashSize","cipherAlgorithm","cipherChaining","hashAlgorithm","saltValue"];e.l+=4;var r=e.read_shift(e.length-e.l,"utf8"),n={};return r.replace(Se,(function(e){var r=Be(e);switch(Te(r[0])){case"<?xml":break;case"<encryption":case"</encryption>":break;case"<keyData":t.forEach((function(e){n[e]=r[e]}));break;case"<dataIntegrity":n.encryptedHmacKey=r.encryptedHmacKey,n.encryptedHmacValue=r.encryptedHmacValue;break;case"<keyEncryptors>":case"<keyEncryptors":n.encs=[];break;case"</keyEncryptors>":break;case"<keyEncryptor":n.uri=r.uri;break;case"</keyEncryptor>":break;case"<encryptedKey":n.encs.push(r);break;default:throw r[0]}})),n}function cs(e){var t,r,n=0,a=qa(e),s=a.length+1;for((t=C(s))[0]=a.length,r=1;r!=s;++r)t[r]=a[r-1];for(r=s-1;r>=0;--r)n=((0===(16384&n)?0:1)|n<<1&32767)^t[r];return 52811^n}var ls=function(){var e=[187,255,255,186,255,255,185,128,0,190,15,0,191,15,0],t=[57840,7439,52380,33984,4364,3600,61902,12606,6258,57657,54287,34041,10252,43370,20163],r=[44796,19929,39858,10053,20106,40212,10761,31585,63170,64933,60267,50935,40399,11199,17763,35526,1453,2906,5812,11624,23248,885,1770,3540,7080,14160,28320,56640,55369,41139,20807,41614,21821,43642,17621,28485,56970,44341,19019,38038,14605,29210,60195,50791,40175,10751,21502,43004,24537,18387,36774,3949,7898,15796,31592,63184,47201,24803,49606,37805,14203,28406,56812,17824,35648,1697,3394,6788,13576,27152,43601,17539,35078,557,1114,2228,4456,30388,60776,51953,34243,7079,14158,28316,14128,28256,56512,43425,17251,34502,7597,13105,26210,52420,35241,883,1766,3532,4129,8258,16516,33032,4657,9314,18628],n=function(e,t){return 255&((r=e^t)/2|128*r);var r};return function(a){for(var s,i,o,c=qa(a),l=function(e){for(var n=t[e.length-1],a=104,s=e.length-1;s>=0;--s)for(var i=e[s],o=0;7!=o;++o)64&i&&(n^=r[a]),i*=2,--a;return n}(c),f=c.length,h=C(16),u=0;16!=u;++u)h[u]=0;for(1===(1&f)&&(s=l>>8,h[f]=n(e[0],s),--f,s=255&l,i=c[c.length-1],h[f]=n(i,s));f>0;)s=l>>8,h[--f]=n(c[f],s),s=255&l,h[--f]=n(c[f],s);for(f=15,o=15-c.length;o>0;)s=l>>8,h[f]=n(e[o],s),--o,s=255&l,h[--f]=n(c[f],s),--f,--o;return h}}(),fs=function(e){var t=0,r=ls(e);return function(e){var n=function(e,t,r,n,a){var s,i;for(a||(a=t),n||(n=ls(e)),s=0;s!=t.length;++s)i=t[s],i=255&((i^=n[r])>>5|i<<3),a[s]=i,++r;return[a,r,n]}("",e,t,r);return t=n[1],n[0]}};function hs(e,t,r){var n=r||{};return n.Info=e.read_shift(2),e.l-=2,1===n.Info?n.Data=function(e){var t={},r=t.EncryptionVersionInfo=es(e,4);if(1!=r.Major||1!=r.Minor)throw"unrecognized version code "+r.Major+" : "+r.Minor;return t.Salt=e.read_shift(16),t.EncryptedVerifier=e.read_shift(16),t.EncryptedVerifierHash=e.read_shift(16),t}(e):n.Data=function(e,t){var r={},n=r.EncryptionVersionInfo=es(e,4);if(t-=4,2!=n.Minor)throw new Error("unrecognized minor version code: "+n.Minor);if(n.Major>4||n.Major<2)throw new Error("unrecognized major version code: "+n.Major);r.Flags=e.read_shift(4),t-=4;var a=e.read_shift(4);return t-=4,r.EncryptionHeader=ns(e,a),t-=a,r.EncryptionVerifier=as(e,t),r}(e,t),n}var us=function(){function e(e,r){switch(r.type){case"base64":return t(v.decode(e),r);case"binary":return t(e,r);case"buffer":return t(e.toString("binary"),r);case"array":return t(re(e),r)}throw new Error("Unrecognized type "+r.type)}function t(e,t){var r=(t||{}).dense?[]:{};if(!e.match(/\\trowd/))throw new Error("RTF missing table");return r["!ref"]=tr({s:{c:0,r:0},e:{c:0,r:0}}),r}return{to_workbook:function(t,r){return sr(e(t,r),r)},to_sheet:e,from_sheet:function(e){for(var t,r=["{\\rtf1\\ansi"],n=rr(e["!ref"]),a=Array.isArray(e),s=n.s.r;s<=n.e.r;++s){r.push("\\trowd\\trautofit1");for(var i=n.s.c;i<=n.e.c;++i)r.push("\\cellx"+(i+1));for(r.push("\\pard\\intbl"),i=n.s.c;i<=n.e.c;++i){var o=qt({r:s,c:i});(t=a?(e[s]||[])[i]:e[o])&&(null!=t.v||t.f&&!t.F)&&(r.push(" "+(t.w||(ar(t),t.w))),r.push("\\cell"))}r.push("\\pard\\intbl\\row")}return r.join("")+"}"}}}();function ds(e){for(var t=0,r=1;3!=t;++t)r=256*r+(e[t]>255?255:e[t]<0?0:e[t]);return r.toString(16).toUpperCase().slice(1)}function ps(e,t){if(0===t)return e;var r=function(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255,a=Math.max(t,r,n),s=Math.min(t,r,n),i=a-s;if(0===i)return[0,0,t];var o,c=0,l=a+s;switch(o=i/(l>1?2-l:l),a){case t:c=((r-n)/i+6)%6;break;case r:c=(n-t)/i+2;break;case n:c=(t-r)/i+4}return[c/6,o,l/2]}(function(e){var t=e.slice("#"===e[0]?1:0).slice(0,6);return[parseInt(t.slice(0,2),16),parseInt(t.slice(2,4),16),parseInt(t.slice(4,6),16)]}(e));return r[2]=t<0?r[2]*(1+t):1-(1-r[2])*(1-t),ds(function(e){var t,r=e[0],n=e[1],a=e[2],s=2*n*(a<.5?a:1-a),i=a-s/2,o=[i,i,i],c=6*r;if(0!==n)switch(0|c){case 0:case 6:t=s*c,o[0]+=s,o[1]+=t;break;case 1:t=s*(2-c),o[0]+=t,o[1]+=s;break;case 2:t=s*(c-2),o[1]+=s,o[2]+=t;break;case 3:t=s*(4-c),o[1]+=t,o[2]+=s;break;case 4:t=s*(c-4),o[2]+=s,o[0]+=t;break;case 5:t=s*(6-c),o[2]+=t,o[0]+=s}for(var l=0;3!=l;++l)o[l]=Math.round(255*o[l]);return o}(r))}var ms=6;function gs(e){return Math.floor((e+Math.round(128/ms)/256)*ms)}function bs(e){return Math.floor((e-5)/ms*100+.5)/100}function vs(e){return Math.round((e*ms+5)/ms*256)/256}function Es(e){return vs(bs(gs(e)))}function Ss(e){var t=Math.abs(e-Es(e)),r=ms;if(t>.005)for(ms=1;ms<15;++ms)Math.abs(e-Es(e))<=t&&(t=Math.abs(e-Es(e)),r=ms);ms=r}function ws(e){e.width?(e.wpx=gs(e.width),e.wch=bs(e.wpx),e.MDW=ms):e.wpx?(e.wch=bs(e.wpx),e.width=vs(e.wch),e.MDW=ms):"number"==typeof e.wch&&(e.width=vs(e.wch),e.wpx=gs(e.width),e.MDW=ms),e.customWidth&&delete e.customWidth}function Cs(e){return 96*e/96}function Bs(e){return 96*e/96}var Ts={None:"none",Solid:"solid",Gray50:"mediumGray",Gray75:"darkGray",Gray25:"lightGray",HorzStripe:"darkHorizontal",VertStripe:"darkVertical",ReverseDiagStripe:"darkDown",DiagStripe:"darkUp",DiagCross:"darkGrid",ThickDiagCross:"darkTrellis",ThinHorzStripe:"lightHorizontal",ThinVertStripe:"lightVertical",ThinReverseDiagStripe:"lightDown",ThinHorzCross:"lightGrid"},ks=["numFmtId","fillId","fontId","borderId","xfId"],_s=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"],xs=function(){var e=/<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/,t=/<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/,r=/<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/,n=/<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/,a=/<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/;return function(s,i,o){var c,l={};return s?((c=(s=s.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"")).match(e))&&function(e,t,r){t.NumberFmt=[];for(var n=W(R._table),a=0;a<n.length;++a)t.NumberFmt[n[a]]=R._table[n[a]];var s=e[0].match(Se);if(s)for(a=0;a<s.length;++a){var i=Be(s[a]);switch(Te(i[0])){case"<numFmts":case"</numFmts>":case"<numFmts/>":case"<numFmts>":break;case"<numFmt":var o=xe(Me(i.formatCode)),c=parseInt(i.numFmtId,10);if(t.NumberFmt[c]=o,c>0){if(c>392){for(c=392;c>60&&null!=t.NumberFmt[c];--c);t.NumberFmt[c]=o}R.load(o,c)}break;case"</numFmt>":break;default:if(r.WTF)throw new Error("unrecognized "+i[0]+" in numFmts")}}}(c,l,o),(c=s.match(n))&&function(e,t,r,n){t.Fonts=[];var a={},s=!1;(e[0].match(Se)||[]).forEach((function(e){var i=Be(e);switch(Te(i[0])){case"<fonts":case"<fonts>":case"</fonts>":break;case"<font":case"<font>":break;case"</font>":case"<font/>":t.Fonts.push(a),a={};break;case"<name":i.val&&(a.name=Me(i.val));break;case"<name/>":case"</name>":break;case"<b":a.bold=i.val?Ne(i.val):1;break;case"<b/>":a.bold=1;break;case"<i":a.italic=i.val?Ne(i.val):1;break;case"<i/>":a.italic=1;break;case"<u":switch(i.val){case"none":a.underline=0;break;case"single":a.underline=1;break;case"double":a.underline=2;break;case"singleAccounting":a.underline=33;break;case"doubleAccounting":a.underline=34}break;case"<u/>":a.underline=1;break;case"<strike":a.strike=i.val?Ne(i.val):1;break;case"<strike/>":a.strike=1;break;case"<outline":a.outline=i.val?Ne(i.val):1;break;case"<outline/>":a.outline=1;break;case"<shadow":a.shadow=i.val?Ne(i.val):1;break;case"<shadow/>":a.shadow=1;break;case"<condense":a.condense=i.val?Ne(i.val):1;break;case"<condense/>":a.condense=1;break;case"<extend":a.extend=i.val?Ne(i.val):1;break;case"<extend/>":a.extend=1;break;case"<sz":i.val&&(a.sz=+i.val);break;case"<sz/>":case"</sz>":break;case"<vertAlign":i.val&&(a.vertAlign=i.val);break;case"<vertAlign/>":case"</vertAlign>":break;case"<family":i.val&&(a.family=parseInt(i.val,10));break;case"<family/>":case"</family>":break;case"<scheme":i.val&&(a.scheme=i.val);break;case"<scheme/>":case"</scheme>":break;case"<charset":if("1"==i.val)break;i.codepage=f[parseInt(i.val,10)];break;case"<color":if(a.color||(a.color={}),i.auto&&(a.color.auto=Ne(i.auto)),i.rgb)a.color.rgb=i.rgb.slice(-6);else if(i.indexed){a.color.index=parseInt(i.indexed,10);var o=Hr[a.color.index];if(81==a.color.index&&(o=Hr[1]),!o)throw new Error(e);a.color.rgb=o[0].toString(16)+o[1].toString(16)+o[2].toString(16)}else i.theme&&(a.color.theme=parseInt(i.theme,10),i.tint&&(a.color.tint=parseFloat(i.tint)),i.theme&&r.themeElements&&r.themeElements.clrScheme&&(a.color.rgb=ps(r.themeElements.clrScheme[a.color.theme].rgb,a.color.tint||0)));break;case"<color/>":case"</color>":break;case"<AlternateContent":s=!0;break;case"</AlternateContent>":s=!1;break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":s=!0;break;case"</ext>":s=!1;break;default:if(n&&n.WTF&&!s)throw new Error("unrecognized "+i[0]+" in fonts")}}))}(c,l,i,o),(c=s.match(r))&&function(e,t,r,n){t.Fills=[];var a={},s=!1;(e[0].match(Se)||[]).forEach((function(e){var r=Be(e);switch(Te(r[0])){case"<fills":case"<fills>":case"</fills>":break;case"<fill>":case"<fill":case"<fill/>":a={},t.Fills.push(a);break;case"</fill>":case"<gradientFill>":break;case"<gradientFill":case"</gradientFill>":t.Fills.push(a),a={};break;case"<patternFill":case"<patternFill>":r.patternType&&(a.patternType=r.patternType);break;case"<patternFill/>":case"</patternFill>":break;case"<bgColor":a.bgColor||(a.bgColor={}),r.indexed&&(a.bgColor.indexed=parseInt(r.indexed,10)),r.theme&&(a.bgColor.theme=parseInt(r.theme,10)),r.tint&&(a.bgColor.tint=parseFloat(r.tint)),r.rgb&&(a.bgColor.rgb=r.rgb.slice(-6));break;case"<bgColor/>":case"</bgColor>":break;case"<fgColor":a.fgColor||(a.fgColor={}),r.theme&&(a.fgColor.theme=parseInt(r.theme,10)),r.tint&&(a.fgColor.tint=parseFloat(r.tint)),null!=r.rgb&&(a.fgColor.rgb=r.rgb.slice(-6));break;case"<fgColor/>":case"</fgColor>":break;case"<stop":case"<stop/>":case"</stop>":break;case"<color":case"<color/>":case"</color>":break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":s=!0;break;case"</ext>":s=!1;break;default:if(n&&n.WTF&&!s)throw new Error("unrecognized "+r[0]+" in fills")}}))}(c,l,0,o),(c=s.match(a))&&function(e,t,r,n){t.Borders=[];var a={},s=!1;(e[0].match(Se)||[]).forEach((function(e){var r=Be(e);switch(Te(r[0])){case"<borders":case"<borders>":case"</borders>":break;case"<border":case"<border>":case"<border/>":a={},r.diagonalUp&&(a.diagonalUp=Ne(r.diagonalUp)),r.diagonalDown&&(a.diagonalDown=Ne(r.diagonalDown)),t.Borders.push(a);break;case"</border>":case"<left/>":break;case"<left":case"<left>":case"</left>":case"<right/>":break;case"<right":case"<right>":case"</right>":case"<top/>":break;case"<top":case"<top>":case"</top>":case"<bottom/>":break;case"<bottom":case"<bottom>":case"</bottom>":break;case"<diagonal":case"<diagonal>":case"<diagonal/>":case"</diagonal>":break;case"<horizontal":case"<horizontal>":case"<horizontal/>":case"</horizontal>":break;case"<vertical":case"<vertical>":case"<vertical/>":case"</vertical>":break;case"<start":case"<start>":case"<start/>":case"</start>":break;case"<end":case"<end>":case"<end/>":case"</end>":break;case"<color":case"<color>":break;case"<color/>":case"</color>":break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":s=!0;break;case"</ext>":s=!1;break;default:if(n&&n.WTF&&!s)throw new Error("unrecognized "+r[0]+" in borders")}}))}(c,l,0,o),(c=s.match(t))&&function(e,t,r){var n;t.CellXf=[];var a=!1;(e[0].match(Se)||[]).forEach((function(e){var s=Be(e),i=0;switch(Te(s[0])){case"<cellXfs":case"<cellXfs>":case"<cellXfs/>":case"</cellXfs>":break;case"<xf":case"<xf/>":for(delete(n=s)[0],i=0;i<ks.length;++i)n[ks[i]]&&(n[ks[i]]=parseInt(n[ks[i]],10));for(i=0;i<_s.length;++i)n[_s[i]]&&(n[_s[i]]=Ne(n[_s[i]]));if(n.numFmtId>392)for(i=392;i>60;--i)if(t.NumberFmt[n.numFmtId]==t.NumberFmt[i]){n.numFmtId=i;break}t.CellXf.push(n);break;case"</xf>":break;case"<alignment":case"<alignment/>":var o={};s.vertical&&(o.vertical=s.vertical),s.horizontal&&(o.horizontal=s.horizontal),null!=s.textRotation&&(o.textRotation=s.textRotation),s.indent&&(o.indent=s.indent),s.wrapText&&(o.wrapText=Ne(s.wrapText)),n.alignment=o;break;case"</alignment>":case"<protection":break;case"</protection>":case"<protection/>":break;case"<AlternateContent":a=!0;break;case"</AlternateContent>":a=!1;break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":a=!0;break;case"</ext>":a=!1;break;default:if(r&&r.WTF&&!a)throw new Error("unrecognized "+s[0]+" in cellXfs")}}))}(c,l,o),l):l}}(),As=Je("styleSheet",null,{xmlns:tt.main[0],"xmlns:vt":tt.vt});function Is(e,t){var r,n=[ve,As];return e.SSF&&null!=(r=function(e){var t=["<numFmts>"];return[[5,8],[23,26],[41,44],[50,392]].forEach((function(r){for(var n=r[0];n<=r[1];++n)null!=e[n]&&(t[t.length]=Je("numFmt",null,{numFmtId:n,formatCode:ye(e[n])}))})),1===t.length?"":(t[t.length]="</numFmts>",t[0]=Je("numFmts",null,{count:t.length-2}).replace("/>",">"),t.join(""))}(e.SSF))&&(n[n.length]=r),n[n.length]='<fonts count="1"><font><sz val="12"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font></fonts>',n[n.length]='<fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills>',n[n.length]='<borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders>',n[n.length]='<cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs>',(r=function(e){var t=[];return t[t.length]=Je("cellXfs",null),e.forEach((function(e){t[t.length]=Je("xf",null,e)})),t[t.length]="</cellXfs>",2===t.length?"":(t[0]=Je("cellXfs",null,{count:t.length-2}).replace("/>",">"),t.join(""))}(t.cellXfs))&&(n[n.length]=r),n[n.length]='<cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0"/></cellStyles>',n[n.length]='<dxfs count="0"/>',n[n.length]='<tableStyles count="0" defaultTableStyle="TableStyleMedium9" defaultPivotStyle="PivotStyleMedium4"/>',n.length>2&&(n[n.length]="</styleSheet>",n[1]=n[1].replace("/>",">")),n.join("")}function ys(e,t,r){r||(r=Ht(6+4*t.length)),r.write_shift(2,e),fr(t,r);var n=r.length>r.l?r.slice(0,r.l):r;return null==r.l&&(r.l=r.length),n}function Rs(e,t){t||(t=Ht(153)),t.write_shift(2,20*e.sz),function(e,t){t||(t=Ht(2));var r=(e.italic?2:0)|(e.strike?8:0)|(e.outline?16:0)|(e.shadow?32:0)|(e.condense?64:0)|(e.extend?128:0);t.write_shift(1,r),t.write_shift(1,0)}(e,t),t.write_shift(2,e.bold?700:400);var r=0;"superscript"==e.vertAlign?r=1:"subscript"==e.vertAlign&&(r=2),t.write_shift(2,r),t.write_shift(1,e.underline||0),t.write_shift(1,e.family||0),t.write_shift(1,e.charset||0),t.write_shift(1,0),yr(e.color,t);var n=0;return"major"==e.scheme&&(n=1),"minor"==e.scheme&&(n=2),t.write_shift(1,n),fr(e.name,t),t.length>t.l?t.slice(0,t.l):t}Kr.STY="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles";var Fs=X(["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"]),Ds=Ut;function Os(e,t){t||(t=Ht(84));var r=Fs[e.patternType];null==r&&(r=40),t.write_shift(4,r);var n=0;if(40!=r)for(yr({auto:1},t),yr({auto:1},t);n<12;++n)t.write_shift(4,0);else{for(;n<4;++n)t.write_shift(4,0);for(;n<12;++n)t.write_shift(4,0)}return t.length>t.l?t.slice(0,t.l):t}function Ps(e,t,r){r||(r=Ht(16)),r.write_shift(2,t||0),r.write_shift(2,e.numFmtId||0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(1,0),r.write_shift(1,0);return r.write_shift(1,0),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(1,0),r}function Ns(e,t){return t||(t=Ht(10)),t.write_shift(1,0),t.write_shift(1,0),t.write_shift(4,0),t.write_shift(4,0),t}var Ms=Ut;function Ls(e){var t;Xt(e,"BrtBeginBorders",cr(1)),Xt(e,"BrtBorder",(t||(t=Ht(51)),t.write_shift(1,0),Ns(0,t),Ns(0,t),Ns(0,t),Ns(0,t),Ns(0,t),t.length>t.l?t.slice(0,t.l):t)),Xt(e,"BrtEndBorders")}function Us(e){var t,r;Xt(e,"BrtBeginStyles",cr(1)),Xt(e,"BrtStyle",(t={xfId:0,builtinId:0,name:"Normal"},r||(r=Ht(52)),r.write_shift(4,t.xfId),r.write_shift(2,1),r.write_shift(1,+t.builtinId),r.write_shift(1,0),Sr(t.name||"",r),r.length>r.l?r.slice(0,r.l):r)),Xt(e,"BrtEndStyles")}function Hs(e){Xt(e,"BrtBeginTableStyles",function(e,t,r){var n=Ht(2052);return n.write_shift(4,e),Sr(t,n),Sr(r,n),n.length>n.l?n.slice(0,n.l):n}(0,"TableStyleMedium9","PivotStyleMedium4")),Xt(e,"BrtEndTableStyles")}function Ws(e,t){var r=Vt();return Xt(r,"BrtBeginStyleSheet"),function(e,t){if(t){var r=0;[[5,8],[23,26],[41,44],[50,392]].forEach((function(e){for(var n=e[0];n<=e[1];++n)null!=t[n]&&++r})),0!=r&&(Xt(e,"BrtBeginFmts",cr(r)),[[5,8],[23,26],[41,44],[50,392]].forEach((function(r){for(var n=r[0];n<=r[1];++n)null!=t[n]&&Xt(e,"BrtFmt",ys(n,t[n]))})),Xt(e,"BrtEndFmts"))}}(r,e.SSF),function(e){Xt(e,"BrtBeginFonts",cr(1)),Xt(e,"BrtFont",Rs({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"})),Xt(e,"BrtEndFonts")}(r),function(e){Xt(e,"BrtBeginFills",cr(2)),Xt(e,"BrtFill",Os({patternType:"none"})),Xt(e,"BrtFill",Os({patternType:"gray125"})),Xt(e,"BrtEndFills")}(r),Ls(r),function(e){Xt(e,"BrtBeginCellStyleXFs",cr(1)),Xt(e,"BrtXF",Ps({numFmtId:0,fontId:0,fillId:0,borderId:0},65535)),Xt(e,"BrtEndCellStyleXFs")}(r),function(e,t){Xt(e,"BrtBeginCellXFs",cr(t.length)),t.forEach((function(t){Xt(e,"BrtXF",Ps(t,0))})),Xt(e,"BrtEndCellXFs")}(r,t.cellXfs),Us(r),function(e){Xt(e,"BrtBeginDXFs",cr(0)),Xt(e,"BrtEndDXFs")}(r),Hs(r),Xt(r,"BrtEndStyleSheet"),r.end()}Kr.THEME="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme";var Vs=["</a:lt1>","</a:dk1>","</a:lt2>","</a:dk2>","</a:accent1>","</a:accent2>","</a:accent3>","</a:accent4>","</a:accent5>","</a:accent6>","</a:hlink>","</a:folHlink>"];function Xs(e,t,r){t.themeElements.clrScheme=[];var n={};(e[0].match(Se)||[]).forEach((function(e){var a=Be(e);switch(a[0]){case"<a:clrScheme":case"</a:clrScheme>":break;case"<a:srgbClr":n.rgb=a.val;break;case"<a:sysClr":n.rgb=a.lastClr;break;case"<a:dk1>":case"</a:dk1>":case"<a:lt1>":case"</a:lt1>":case"<a:dk2>":case"</a:dk2>":case"<a:lt2>":case"</a:lt2>":case"<a:accent1>":case"</a:accent1>":case"<a:accent2>":case"</a:accent2>":case"<a:accent3>":case"</a:accent3>":case"<a:accent4>":case"</a:accent4>":case"<a:accent5>":case"</a:accent5>":case"<a:accent6>":case"</a:accent6>":case"<a:hlink>":case"</a:hlink>":case"<a:folHlink>":case"</a:folHlink>":"/"===a[0].charAt(1)?(t.themeElements.clrScheme[Vs.indexOf(a[0])]=n,n={}):n.name=a[0].slice(3,a[0].length-1);break;default:if(r&&r.WTF)throw new Error("Unrecognized "+a[0]+" in clrScheme")}}))}function Gs(){}function zs(){}var js=/<a:clrScheme([^>]*)>[\s\S]*<\/a:clrScheme>/,$s=/<a:fontScheme([^>]*)>[\s\S]*<\/a:fontScheme>/,Ks=/<a:fmtScheme([^>]*)>[\s\S]*<\/a:fmtScheme>/,Ys=/<a:themeElements([^>]*)>[\s\S]*<\/a:themeElements>/;function Qs(e,t){if(!e||0===e.length)return Qs(Js());var r,n={};if(!(r=e.match(Ys)))throw new Error("themeElements not found in theme");return function(e,t,r){var n;t.themeElements={},[["clrScheme",js,Xs],["fontScheme",$s,Gs],["fmtScheme",Ks,zs]].forEach((function(a){if(!(n=e.match(a[1])))throw new Error(a[0]+" not found in themeElements");a[2](n,t,r)}))}(r[0],n,t),n.raw=e,n}function Js(e,t){if(t&&t.themeXLSX)return t.themeXLSX;if(e&&"string"==typeof e.raw)return e.raw;var r=[ve];return r[r.length]='<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">',r[r.length]="<a:themeElements>",r[r.length]='<a:clrScheme name="Office">',r[r.length]='<a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1>',r[r.length]='<a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1>',r[r.length]='<a:dk2><a:srgbClr val="1F497D"/></a:dk2>',r[r.length]='<a:lt2><a:srgbClr val="EEECE1"/></a:lt2>',r[r.length]='<a:accent1><a:srgbClr val="4F81BD"/></a:accent1>',r[r.length]='<a:accent2><a:srgbClr val="C0504D"/></a:accent2>',r[r.length]='<a:accent3><a:srgbClr val="9BBB59"/></a:accent3>',r[r.length]='<a:accent4><a:srgbClr val="8064A2"/></a:accent4>',r[r.length]='<a:accent5><a:srgbClr val="4BACC6"/></a:accent5>',r[r.length]='<a:accent6><a:srgbClr val="F79646"/></a:accent6>',r[r.length]='<a:hlink><a:srgbClr val="0000FF"/></a:hlink>',r[r.length]='<a:folHlink><a:srgbClr val="800080"/></a:folHlink>',r[r.length]="</a:clrScheme>",r[r.length]='<a:fontScheme name="Office">',r[r.length]="<a:majorFont>",r[r.length]='<a:latin typeface="Cambria"/>',r[r.length]='<a:ea typeface=""/>',r[r.length]='<a:cs typeface=""/>',r[r.length]='<a:font script="Jpan" typeface="\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"/>',r[r.length]='<a:font script="Hang" typeface="\ub9d1\uc740 \uace0\ub515"/>',r[r.length]='<a:font script="Hans" typeface="\u5b8b\u4f53"/>',r[r.length]='<a:font script="Hant" typeface="\u65b0\u7d30\u660e\u9ad4"/>',r[r.length]='<a:font script="Arab" typeface="Times New Roman"/>',r[r.length]='<a:font script="Hebr" typeface="Times New Roman"/>',r[r.length]='<a:font script="Thai" typeface="Tahoma"/>',r[r.length]='<a:font script="Ethi" typeface="Nyala"/>',r[r.length]='<a:font script="Beng" typeface="Vrinda"/>',r[r.length]='<a:font script="Gujr" typeface="Shruti"/>',r[r.length]='<a:font script="Khmr" typeface="MoolBoran"/>',r[r.length]='<a:font script="Knda" typeface="Tunga"/>',r[r.length]='<a:font script="Guru" typeface="Raavi"/>',r[r.length]='<a:font script="Cans" typeface="Euphemia"/>',r[r.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',r[r.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',r[r.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',r[r.length]='<a:font script="Thaa" typeface="MV Boli"/>',r[r.length]='<a:font script="Deva" typeface="Mangal"/>',r[r.length]='<a:font script="Telu" typeface="Gautami"/>',r[r.length]='<a:font script="Taml" typeface="Latha"/>',r[r.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',r[r.length]='<a:font script="Orya" typeface="Kalinga"/>',r[r.length]='<a:font script="Mlym" typeface="Kartika"/>',r[r.length]='<a:font script="Laoo" typeface="DokChampa"/>',r[r.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',r[r.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',r[r.length]='<a:font script="Viet" typeface="Times New Roman"/>',r[r.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',r[r.length]='<a:font script="Geor" typeface="Sylfaen"/>',r[r.length]="</a:majorFont>",r[r.length]="<a:minorFont>",r[r.length]='<a:latin typeface="Calibri"/>',r[r.length]='<a:ea typeface=""/>',r[r.length]='<a:cs typeface=""/>',r[r.length]='<a:font script="Jpan" typeface="\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"/>',r[r.length]='<a:font script="Hang" typeface="\ub9d1\uc740 \uace0\ub515"/>',r[r.length]='<a:font script="Hans" typeface="\u5b8b\u4f53"/>',r[r.length]='<a:font script="Hant" typeface="\u65b0\u7d30\u660e\u9ad4"/>',r[r.length]='<a:font script="Arab" typeface="Arial"/>',r[r.length]='<a:font script="Hebr" typeface="Arial"/>',r[r.length]='<a:font script="Thai" typeface="Tahoma"/>',r[r.length]='<a:font script="Ethi" typeface="Nyala"/>',r[r.length]='<a:font script="Beng" typeface="Vrinda"/>',r[r.length]='<a:font script="Gujr" typeface="Shruti"/>',r[r.length]='<a:font script="Khmr" typeface="DaunPenh"/>',r[r.length]='<a:font script="Knda" typeface="Tunga"/>',r[r.length]='<a:font script="Guru" typeface="Raavi"/>',r[r.length]='<a:font script="Cans" typeface="Euphemia"/>',r[r.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',r[r.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',r[r.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',r[r.length]='<a:font script="Thaa" typeface="MV Boli"/>',r[r.length]='<a:font script="Deva" typeface="Mangal"/>',r[r.length]='<a:font script="Telu" typeface="Gautami"/>',r[r.length]='<a:font script="Taml" typeface="Latha"/>',r[r.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',r[r.length]='<a:font script="Orya" typeface="Kalinga"/>',r[r.length]='<a:font script="Mlym" typeface="Kartika"/>',r[r.length]='<a:font script="Laoo" typeface="DokChampa"/>',r[r.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',r[r.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',r[r.length]='<a:font script="Viet" typeface="Arial"/>',r[r.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',r[r.length]='<a:font script="Geor" typeface="Sylfaen"/>',r[r.length]="</a:minorFont>",r[r.length]="</a:fontScheme>",r[r.length]='<a:fmtScheme name="Office">',r[r.length]="<a:fillStyleLst>",r[r.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="50000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="35000"><a:schemeClr val="phClr"><a:tint val="37000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="15000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:lin ang="16200000" scaled="1"/>',r[r.length]="</a:gradFill>",r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="100000"/><a:shade val="100000"/><a:satMod val="130000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="50000"/><a:shade val="100000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:lin ang="16200000" scaled="0"/>',r[r.length]="</a:gradFill>",r[r.length]="</a:fillStyleLst>",r[r.length]="<a:lnStyleLst>",r[r.length]='<a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"><a:shade val="95000"/><a:satMod val="105000"/></a:schemeClr></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]='<a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]='<a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]="</a:lnStyleLst>",r[r.length]="<a:effectStyleLst>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="38000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]="</a:effectStyle>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]="</a:effectStyle>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]='<a:scene3d><a:camera prst="orthographicFront"><a:rot lat="0" lon="0" rev="0"/></a:camera><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="1200000"/></a:lightRig></a:scene3d>',r[r.length]='<a:sp3d><a:bevelT w="63500" h="25400"/></a:sp3d>',r[r.length]="</a:effectStyle>",r[r.length]="</a:effectStyleLst>",r[r.length]="<a:bgFillStyleLst>",r[r.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="40000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="40000"><a:schemeClr val="phClr"><a:tint val="45000"/><a:shade val="99000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="20000"/><a:satMod val="255000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000"/></a:path>',r[r.length]="</a:gradFill>",r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="80000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="30000"/><a:satMod val="200000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000"/></a:path>',r[r.length]="</a:gradFill>",r[r.length]="</a:bgFillStyleLst>",r[r.length]="</a:fmtScheme>",r[r.length]="</a:themeElements>",r[r.length]="<a:objectDefaults>",r[r.length]="<a:spDef>",r[r.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="1"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="3"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="2"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="lt1"/></a:fontRef></a:style>',r[r.length]="</a:spDef>",r[r.length]="<a:lnDef>",r[r.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="2"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="0"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="1"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="tx1"/></a:fontRef></a:style>',r[r.length]="</a:lnDef>",r[r.length]="</a:objectDefaults>",r[r.length]="<a:extraClrSchemeLst/>",r[r.length]="</a:theme>",r.join("")}function Zs(e){var t={};switch(t.xclrType=e.read_shift(2),t.nTintShade=e.read_shift(2),t.xclrType){case 0:e.l+=4;break;case 1:t.xclrValue=function(e,t){return Ut(e,t)}(e,4);break;case 2:t.xclrValue=Zn(e);break;case 3:t.xclrValue=function(e){return e.read_shift(4)}(e);break;case 4:e.l+=4}return e.l+=8,t}function qs(e){var t=e.read_shift(2),r=e.read_shift(2)-4,n=[t];switch(t){case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 13:n[1]=Zs(e);break;case 6:n[1]=function(e,t){return Ut(e,t)}(e,r);break;case 14:case 15:n[1]=e.read_shift(1===r?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+t+" "+r)}return n}Kr.IMG="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",Kr.DRAW="http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing";var ei=1024;function ti(e,t){for(var r=[21600,21600],n=["m0,0l0",r[1],r[0],r[1],r[0],"0xe"].join(","),a=[Je("xml",null,{"xmlns:v":ot,"xmlns:o":rt,"xmlns:x":nt,"xmlns:mv":it}).replace(/\/>/,">"),Je("o:shapelayout",Je("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"}),Je("v:shapetype",[Je("v:stroke",null,{joinstyle:"miter"}),Je("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:r.join(","),path:n})];ei<1e3*e;)ei+=1e3;return t.forEach((function(e){var t=Zt(e[0]),r={color2:"#BEFF82",type:"gradient"};"gradient"==r.type&&(r.angle="-180");var n="gradient"==r.type?Je("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null,s=Je("v:fill",n,r);++ei,a=a.concat(["<v:shape"+Qe({id:"_x0000_s"+ei,type:"#_x0000_t202",style:"position:absolute; margin-left:80pt;margin-top:5pt;width:104pt;height:64pt;z-index:10"+(e[1].hidden?";visibility:hidden":""),fillcolor:"#ECFAD4",strokecolor:"#edeaa1"})+">",s,Je("v:shadow",null,{on:"t",obscured:"t"}),Je("v:path",null,{"o:connecttype":"none"}),'<v:textbox><div style="text-align:left"></div></v:textbox>','<x:ClientData ObjectType="Note">',"<x:MoveWithCells/>","<x:SizeWithCells/>",Ye("x:Anchor",[t.c+1,0,t.r+1,0,t.c+3,20,t.r+5,20].join(",")),Ye("x:AutoFill","False"),Ye("x:Row",String(t.r)),Ye("x:Column",String(t.c)),e[1].hidden?"":"<x:Visible/>","</x:ClientData>","</v:shape>"])})),a.push("</xml>"),a.join("")}Kr.CMNT="http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments";var ri=Je("comments",null,{xmlns:tt.main[0]});function ni(e){var t=[ve,ri],r=[];return t.push("<authors>"),e.forEach((function(e){e[1].forEach((function(e){var n=ye(e.a);r.indexOf(n)>-1||(r.push(n),t.push("<author>"+n+"</author>"))}))})),t.push("</authors>"),t.push("<commentList>"),e.forEach((function(e){e[1].forEach((function(n){t.push('<comment ref="'+e[0]+'" authorId="'+r.indexOf(ye(n.a))+'"><text>'),t.push(Ye("t",null==n.t?"":ye(n.t))),t.push("</text></comment>")}))})),t.push("</commentList>"),t.length>2&&(t[t.length]="</comments>",t[1]=t[1].replace("/>",">")),t.join("")}var ai=lr;function si(e){var t=Vt(),r=[];return Xt(t,"BrtBeginComments"),Xt(t,"BrtBeginCommentAuthors"),e.forEach((function(e){e[1].forEach((function(e){r.indexOf(e.a)>-1||(r.push(e.a.slice(0,54)),Xt(t,"BrtCommentAuthor",function(e){return fr(e.slice(0,54))}(e.a)))}))})),Xt(t,"BrtEndCommentAuthors"),Xt(t,"BrtBeginCommentList"),e.forEach((function(e){e[1].forEach((function(n){n.iauthor=r.indexOf(n.a);var a={s:Zt(e[0]),e:Zt(e[0])};Xt(t,"BrtBeginComment",function(e,t){return null==t&&(t=Ht(36)),t.write_shift(4,e[1].iauthor),xr(e[0],t),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(4,0),t}([a,n])),n.t&&n.t.length>0&&Xt(t,"BrtCommentText",pr(n)),Xt(t,"BrtEndComment"),delete n.iauthor}))})),Xt(t,"BrtEndCommentList"),Xt(t,"BrtEndComments"),t.end()}var ii=["xlsb","xlsm","xlam","biff8","xla"];Kr.DS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",Kr.MS="http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet";var oi=function(){var e=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,t={r:0,c:0};function r(e,r,n,a){var s=!1,i=!1;0==n.length?i=!0:"["==n.charAt(0)&&(i=!0,n=n.slice(1,-1)),0==a.length?s=!0:"["==a.charAt(0)&&(s=!0,a=a.slice(1,-1));var o=n.length>0?0|parseInt(n,10):0,c=a.length>0?0|parseInt(a,10):0;return s?c+=t.c:--c,i?o+=t.r:--o,r+(s?"":"$")+Jt(c)+(i?"":"$")+Yt(o)}return function(n,a){return t=a,n.replace(e,r)}}(),ci=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g,li=function(e,t){return e.replace(ci,(function(e,r,n,a,s,i){var o=Qt(a)-(n?0:t.c),c=Kt(i)-(s?0:t.r);return r+"R"+(0==c?"":s?c+1:"["+c+"]")+"C"+(0==o?"":n?o+1:"["+o+"]")}))};function fi(e,t,r){var n=er(t).s,a=Zt(r);return function(e,t){return e.replace(ci,(function(e,r,n,a,s,i){return r+("$"==n?n+a:Jt(Qt(a)+t.c))+("$"==s?s+i:Yt(Kt(i)+t.r))}))}(e,{r:a.r-n.r,c:a.c-n.c})}function hi(e){return e.replace(/_xlfn\./g,"")}function ui(e){e.l+=1}function di(e,t){var r=e.read_shift(1==t?1:2);return[16383&r,r>>14&1,r>>15&1]}function pi(e,t,r){var n=2;if(r){if(r.biff>=2&&r.biff<=5)return mi(e);12==r.biff&&(n=4)}var a=e.read_shift(n),s=e.read_shift(n),i=di(e,2),o=di(e,2);return{s:{r:a,c:i[0],cRel:i[1],rRel:i[2]},e:{r:s,c:o[0],cRel:o[1],rRel:o[2]}}}function mi(e){var t=di(e,2),r=di(e,2),n=e.read_shift(1),a=e.read_shift(1);return{s:{r:t[0],c:n,cRel:t[1],rRel:t[2]},e:{r:r[0],c:a,cRel:r[1],rRel:r[2]}}}function gi(e,t,r){if(r&&r.biff>=2&&r.biff<=5)return function(e){var t=di(e,2),r=e.read_shift(1);return{r:t[0],c:r,cRel:t[1],rRel:t[2]}}(e);var n=e.read_shift(r&&12==r.biff?4:2),a=di(e,2);return{r:n,c:a[0],cRel:a[1],rRel:a[2]}}function bi(e){var t=e.read_shift(2),r=e.read_shift(2);return{r:t,c:255&r,fQuoted:!!(16384&r),cRel:r>>15,rRel:r>>15}}function vi(e){return[e.read_shift(1),e.read_shift(1)]}function Ei(e,t){var r=[e.read_shift(1)];if(12==t)switch(r[0]){case 2:r[0]=4;break;case 4:r[0]=16;break;case 0:r[0]=1;break;case 1:r[0]=2}switch(r[0]){case 4:r[1]=Mn(e,1)?"TRUE":"FALSE",12!=t&&(e.l+=7);break;case 37:case 16:r[1]=Wr[e[e.l]],e.l+=12==t?4:8;break;case 0:e.l+=8;break;case 1:r[1]=Ar(e);break;case 2:r[1]=$n(e,0,{biff:t>0&&t<8?2:t});break;default:throw new Error("Bad SerAr: "+r[0])}return r}function Si(e,t,r){for(var n=e.read_shift(12==r.biff?4:2),a=[],s=0;s!=n;++s)a.push((12==r.biff?_r:aa)(e,8));return a}function wi(e,t,r){var n=0,a=0;12==r.biff?(n=e.read_shift(4),a=e.read_shift(4)):(a=1+e.read_shift(1),n=1+e.read_shift(2)),r.biff>=2&&r.biff<8&&(--n,0==--a&&(a=256));for(var s=0,i=[];s!=n&&(i[s]=[]);++s)for(var o=0;o!=a;++o)i[s][o]=Ei(e,r.biff);return i}function Ci(e,t,r){return e.l+=2,[bi(e)]}function Bi(e){return e.l+=6,[]}var Ti=Ci,ki=Bi,_i=Bi,xi=Ci;function Ai(e){return e.l+=2,[Un(e),1&e.read_shift(2)]}var Ii=Ci,yi=Ai,Ri=Bi,Fi=Ci,Di=Ci,Oi=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"],Pi={1:{n:"PtgExp",f:function(e,t,r){return e.l++,r&&12==r.biff?[e.read_shift(4,"i"),0]:[e.read_shift(2),e.read_shift(r&&2==r.biff?1:2)]}},2:{n:"PtgTbl",f:Ut},3:{n:"PtgAdd",f:ui},4:{n:"PtgSub",f:ui},5:{n:"PtgMul",f:ui},6:{n:"PtgDiv",f:ui},7:{n:"PtgPower",f:ui},8:{n:"PtgConcat",f:ui},9:{n:"PtgLt",f:ui},10:{n:"PtgLe",f:ui},11:{n:"PtgEq",f:ui},12:{n:"PtgGe",f:ui},13:{n:"PtgGt",f:ui},14:{n:"PtgNe",f:ui},15:{n:"PtgIsect",f:ui},16:{n:"PtgUnion",f:ui},17:{n:"PtgRange",f:ui},18:{n:"PtgUplus",f:ui},19:{n:"PtgUminus",f:ui},20:{n:"PtgPercent",f:ui},21:{n:"PtgParen",f:ui},22:{n:"PtgMissArg",f:ui},23:{n:"PtgStr",f:function(e,t,r){return e.l++,Vn(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++,Wr[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++,Ar(e)}},32:{n:"PtgArray",f:function(e,t,r){var n=(96&e[e.l++])>>5;return e.l+=2==r.biff?6:12==r.biff?14:7,[n]}},33:{n:"PtgFunc",f:function(e,t,r){var n=(96&e[e.l])>>5;e.l+=1;var a=e.read_shift(r&&r.biff<=3?1:2);return[ao[a],no[a],n]}},34:{n:"PtgFuncVar",f:function(e,t,r){var n=e[e.l++],a=e.read_shift(1),s=r&&r.biff<=3?[88==n?-1:0,e.read_shift(1)]:function(e){return[e[e.l+1]>>7,32767&e.read_shift(2)]}(e);return[a,(0===s[0]?no:ro)[s[1]]]}},35:{n:"PtgName",f:function(e,t,r){var n=e.read_shift(1)>>>5&3,a=!r||r.biff>=8?4:2,s=e.read_shift(a);switch(r.biff){case 2:e.l+=5;break;case 3:case 4:e.l+=8;break;case 5:e.l+=12}return[n,0,s]}},36:{n:"PtgRef",f:function(e,t,r){var n=(96&e[e.l])>>5;return e.l+=1,[n,gi(e,0,r)]}},37:{n:"PtgArea",f:function(e,t,r){return[(96&e[e.l++])>>5,pi(e,r.biff>=2&&r.biff,r)]}},38:{n:"PtgMemArea",f:function(e,t,r){var n=e.read_shift(1)>>>5&3;return e.l+=r&&2==r.biff?3:4,[n,e.read_shift(r&&2==r.biff?1:2)]}},39:{n:"PtgMemErr",f:Ut},40:{n:"PtgMemNoMem",f:Ut},41:{n:"PtgMemFunc",f:function(e,t,r){return[e.read_shift(1)>>>5&3,e.read_shift(r&&2==r.biff?1:2)]}},42:{n:"PtgRefErr",f:function(e,t,r){var n=e.read_shift(1)>>>5&3;return e.l+=4,r.biff<8&&e.l--,12==r.biff&&(e.l+=2),[n]}},43:{n:"PtgAreaErr",f:function(e,t,r){var n=(96&e[e.l++])>>5;return e.l+=r&&r.biff>8?12:r.biff<8?6:8,[n]}},44:{n:"PtgRefN",f:function(e,t,r){var n=(96&e[e.l])>>5;return e.l+=1,[n,function(e,t,r){var n=r&&r.biff?r.biff:8;if(n>=2&&n<=5)return function(e){var t=e.read_shift(2),r=e.read_shift(1),n=(32768&t)>>15,a=(16384&t)>>14;return t&=16383,1==n&&t>=8192&&(t-=16384),1==a&&r>=128&&(r-=256),{r:t,c:r,cRel:a,rRel:n}}(e);var a=e.read_shift(n>=12?4:2),s=e.read_shift(2),i=(16384&s)>>14,o=(32768&s)>>15;if(s&=16383,1==o)for(;a>524287;)a-=1048576;if(1==i)for(;s>8191;)s-=16384;return{r:a,c:s,cRel:i,rRel:o}}(e,0,r)]}},45:{n:"PtgAreaN",f:function(e,t,r){return[(96&e[e.l++])>>5,function(e,t,r){if(r.biff<8)return mi(e);var n=e.read_shift(12==r.biff?4:2),a=e.read_shift(12==r.biff?4:2),s=di(e,2),i=di(e,2);return{s:{r:n,c:s[0],cRel:s[1],rRel:s[2]},e:{r:a,c:i[0],cRel:i[1],rRel:i[2]}}}(e,0,r)]}},46:{n:"PtgMemAreaN",f:function(e){return[e.read_shift(1)>>>5&3,e.read_shift(2)]}},47:{n:"PtgMemNoMemN",f:function(e){return[e.read_shift(1)>>>5&3,e.read_shift(2)]}},57:{n:"PtgNameX",f:function(e,t,r){return 5==r.biff?function(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2,"i");e.l+=8;var n=e.read_shift(2);return e.l+=12,[t,r,n]}(e):[e.read_shift(1)>>>5&3,e.read_shift(2),e.read_shift(4)]}},58:{n:"PtgRef3d",f:function(e,t,r){var n=(96&e[e.l])>>5;e.l+=1;var a=e.read_shift(2);return r&&5==r.biff&&(e.l+=12),[n,a,gi(e,0,r)]}},59:{n:"PtgArea3d",f:function(e,t,r){var n=(96&e[e.l++])>>5,a=e.read_shift(2,"i");if(r)switch(r.biff){case 5:e.l+=12,6;break;case 12:12}return[n,a,pi(e,0,r)]}},60:{n:"PtgRefErr3d",f:function(e,t,r){var n=(96&e[e.l++])>>5,a=e.read_shift(2),s=4;if(r)switch(r.biff){case 5:s=15;break;case 12:s=6}return e.l+=s,[n,a]}},61:{n:"PtgAreaErr3d",f:function(e,t,r){var n=(96&e[e.l++])>>5,a=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,[n,a]}},255:{}},Ni={64:32,96:32,65:33,97:33,66:34,98:34,67:35,99:35,68:36,100:36,69:37,101:37,70:38,102:38,71:39,103:39,72:40,104:40,73:41,105:41,74:42,106:42,75:43,107:43,76:44,108:44,77:45,109:45,78:46,110:46,79:47,111:47,88:34,120:34,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61};!function(){for(var e in Ni)Pi[e]=Pi[Ni[e]]}();var Mi={1:{n:"PtgElfLel",f:Ai},2:{n:"PtgElfRw",f:Fi},3:{n:"PtgElfCol",f:Ti},6:{n:"PtgElfRwV",f:Di},7:{n:"PtgElfColV",f:xi},10:{n:"PtgElfRadical",f:Ii},11:{n:"PtgElfRadicalS",f:Ri},13:{n:"PtgElfColS",f:ki},15:{n:"PtgElfColSV",f:_i},16:{n:"PtgElfRadicalLel",f:yi},25:{n:"PtgList",f:function(e){e.l+=2;var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(4),a=e.read_shift(2),s=e.read_shift(2);return{ixti:t,coltype:3&r,rt:Oi[r>>2&31],idx:n,c:a,C:s}}},29:{n:"PtgSxName",f:function(e){return e.l+=2,[e.read_shift(4)]}},255:{}},Li={0:{n:"PtgAttrNoop",f:function(e){return e.l+=4,[0,0]}},1:{n:"PtgAttrSemi",f:function(e,t,r){var n=255&e[e.l+1]?1:0;return e.l+=r&&2==r.biff?3:4,[n]}},2:{n:"PtgAttrIf",f:function(e,t,r){var n=255&e[e.l+1]?1:0;return e.l+=2,[n,e.read_shift(r&&2==r.biff?1:2)]}},4:{n:"PtgAttrChoose",f:function(e,t,r){e.l+=2;for(var n=e.read_shift(r&&2==r.biff?1:2),a=[],s=0;s<=n;++s)a.push(e.read_shift(r&&2==r.biff?1:2));return a}},8:{n:"PtgAttrGoto",f:function(e,t,r){var n=255&e[e.l+1]?1:0;return e.l+=2,[n,e.read_shift(r&&2==r.biff?1:2)]}},16:{n:"PtgAttrSum",f:function(e,t,r){e.l+=r&&2==r.biff?3:4}},32:{n:"PtgAttrBaxcel",f:function(e){var t=1&e[e.l+1];return e.l+=4,[t,1]}},64:{n:"PtgAttrSpace",f:function(e){return e.read_shift(2),vi(e)}},65:{n:"PtgAttrSpaceSemi",f:function(e){return e.read_shift(2),vi(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 Ui(e,t,r,n){if(n.biff<8)return Ut(e,t);for(var a=e.l+t,s=[],i=0;i!==r.length;++i)switch(r[i][0]){case"PtgArray":r[i][1]=wi(e,0,n),s.push(r[i][1]);break;case"PtgMemArea":r[i][2]=Si(e,r[i][1],n),s.push(r[i][2]);break;case"PtgExp":n&&12==n.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=a-e.l)&&s.push(Ut(e,t)),s}function Hi(e,t,r){for(var n,a,s=e.l+t,i=[];s!=e.l;)t=s-e.l,a=e[e.l],n=Pi[a],24!==a&&25!==a||(n=(24===a?Mi:Li)[e[e.l+1]]),n&&n.f?i.push([n.n,n.f(e,t,r)]):Ut(e,t);return i}function Wi(e){for(var t=[],r=0;r<e.length;++r){for(var n=e[r],a=[],s=0;s<n.length;++s){var i=n[s];if(i)switch(i[0]){case 2:a.push('"'+i[1].replace(/"/g,'""')+'"');break;default:a.push(i[1])}else a.push("")}t.push(a.join(","))}return t.join(";")}Li[33]=Li[32];var Vi={PtgAdd:"+",PtgConcat:"&",PtgDiv:"/",PtgEq:"=",PtgGe:">=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"},Xi=new RegExp(/[^\w\u4E00-\u9FFF\u3040-\u30FF]/);function Gi(e,t,r){if(!e)return"SH33TJSERR0";if(r.biff>8&&(!e.XTI||!e.XTI[t]))return e.SheetNames[t];if(!e.XTI)return"SH33TJSERR6";var n=e.XTI[t];if(r.biff<8)return t>1e4&&(t-=65536),t<0&&(t=-t),0==t?"":e.XTI[t-1];if(!n)return"SH33TJSERR1";var a="";if(r.biff>8)switch(e[n[0]][0]){case 357:return a=-1==n[1]?"#REF":e.SheetNames[n[1]],n[1]==n[2]?a:a+":"+e.SheetNames[n[2]];case 358:return null!=r.SID?e.SheetNames[r.SID]:"SH33TJSSAME"+e[n[0]][0];case 355:default:return"SH33TJSSRC"+e[n[0]][0]}switch(e[n[0]][0][0]){case 1025:return a=-1==n[1]?"#REF":e.SheetNames[n[1]]||"SH33TJSERR3",n[1]==n[2]?a:a+":"+e.SheetNames[n[2]];case 14849:return e[n[0]].slice(1).map((function(e){return e.Name})).join(";;");default:return e[n[0]][0][3]?(a=-1==n[1]?"#REF":e[n[0]][0][3][n[1]]||"SH33TJSERR4",n[1]==n[2]?a:a+":"+e[n[0]][0][3][n[2]]):"SH33TJSERR2"}}function zi(e,t,r){return function(e,t){if(!e&&!(t&&t.biff<=5&&t.biff>=2))throw new Error("empty sheet name");return Xi.test(e)?"'"+e+"'":e}(Gi(e,t,r),r)}function ji(e,t,r,n,a){var s,i,o,c,l=a&&a.biff||8,f={s:{c:0,r:0},e:{c:0,r:0}},h=[],u=0,d=0,p="";if(!e[0]||!e[0][0])return"";for(var m=-1,g="",b=0,v=e[0].length;b<v;++b){var E=e[0][b];switch(E[0]){case"PtgUminus":h.push("-"+h.pop());break;case"PtgUplus":h.push("+"+h.pop());break;case"PtgPercent":h.push(h.pop()+"%");break;case"PtgAdd":case"PtgConcat":case"PtgDiv":case"PtgEq":case"PtgGe":case"PtgGt":case"PtgLe":case"PtgLt":case"PtgMul":case"PtgNe":case"PtgPower":case"PtgSub":if(s=h.pop(),i=h.pop(),m>=0){switch(e[0][m][1][0]){case 0:g=ae(" ",e[0][m][1][1]);break;case 1:g=ae("\r",e[0][m][1][1]);break;default:if(g="",a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][m][1][0])}i+=g,m=-1}h.push(i+Vi[E[0]]+s);break;case"PtgIsect":s=h.pop(),i=h.pop(),h.push(i+" "+s);break;case"PtgUnion":s=h.pop(),i=h.pop(),h.push(i+","+s);break;case"PtgRange":s=h.pop(),i=h.pop(),h.push(i+":"+s);break;case"PtgAttrChoose":case"PtgAttrGoto":case"PtgAttrIf":case"PtgAttrIfError":break;case"PtgRef":o=Gt(E[1][1],f,a),h.push(jt(o,l));break;case"PtgRefN":o=r?Gt(E[1][1],r,a):E[1][1],h.push(jt(o,l));break;case"PtgRef3d":u=E[1][1],o=Gt(E[1][2],f,a);p=zi(n,u,a);h.push(p+"!"+jt(o,l));break;case"PtgFunc":case"PtgFuncVar":var S=E[1][0],w=E[1][1];S||(S=0);var C=0==(S&=127)?[]:h.slice(-S);h.length-=S,"User"===w&&(w=C.shift()),h.push(w+"("+C.join(",")+")");break;case"PtgBool":h.push(E[1]?"TRUE":"FALSE");break;case"PtgInt":h.push(E[1]);break;case"PtgNum":h.push(String(E[1]));break;case"PtgStr":h.push('"'+E[1].replace(/"/g,'""')+'"');break;case"PtgErr":h.push(E[1]);break;case"PtgAreaN":c=zt(E[1][1],r?{s:r}:f,a),h.push($t(c,a));break;case"PtgArea":c=zt(E[1][1],f,a),h.push($t(c,a));break;case"PtgArea3d":u=E[1][1],c=E[1][2],p=zi(n,u,a),h.push(p+"!"+$t(c,a));break;case"PtgAttrSum":h.push("SUM("+h.pop()+")");break;case"PtgAttrBaxcel":case"PtgAttrSemi":break;case"PtgName":d=E[1][2];var B=(n.names||[])[d-1]||(n[0]||[])[d],T=B?B.Name:"SH33TJSNAME"+String(d);T in so&&(T=so[T]),h.push(T);break;case"PtgNameX":var k,_=E[1][1];if(d=E[1][2],!(a.biff<=5)){var x="";if(14849==((n[_]||[])[0]||[])[0]||(1025==((n[_]||[])[0]||[])[0]?n[_][d]&&n[_][d].itab>0&&(x=n.SheetNames[n[_][d].itab-1]+"!"):x=n.SheetNames[d-1]+"!"),n[_]&&n[_][d])x+=n[_][d].Name;else if(n[0]&&n[0][d])x+=n[0][d].Name;else{var A=Gi(n,_,a).split(";;");A[d-1]?x=A[d-1]:x+="SH33TJSERRX"}h.push(x);break}_<0&&(_=-_),n[_]&&(k=n[_][d]),k||(k={Name:"SH33TJSERRY"}),h.push(k.Name);break;case"PtgParen":var I="(",y=")";if(m>=0){switch(g="",e[0][m][1][0]){case 2:I=ae(" ",e[0][m][1][1])+I;break;case 3:I=ae("\r",e[0][m][1][1])+I;break;case 4:y=ae(" ",e[0][m][1][1])+y;break;case 5:y=ae("\r",e[0][m][1][1])+y;break;default:if(a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][m][1][0])}m=-1}h.push(I+h.pop()+y);break;case"PtgRefErr":case"PtgRefErr3d":h.push("#REF!");break;case"PtgExp":o={c:E[1][1],r:E[1][0]};var R={c:r.c,r:r.r};if(n.sharedf[qt(o)]){var F=n.sharedf[qt(o)];h.push(ji(F,f,R,n,a))}else{var D=!1;for(s=0;s!=n.arrayf.length;++s)if(i=n.arrayf[s],!(o.c<i[0].s.c||o.c>i[0].e.c)&&!(o.r<i[0].s.r||o.r>i[0].e.r)){h.push(ji(i[1],f,R,n,a)),D=!0;break}D||h.push(E[1])}break;case"PtgArray":h.push("{"+Wi(E[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":m=b;break;case"PtgTbl":case"PtgMemErr":break;case"PtgMissArg":h.push("");break;case"PtgAreaErr":case"PtgAreaErr3d":h.push("#REF!");break;case"PtgList":h.push("Table"+E[1].idx+"[#"+E[1].rt+"]");break;case"PtgMemAreaN":case"PtgMemNoMemN":case"PtgAttrNoop":case"PtgSheet":case"PtgEndSheet":case"PtgMemFunc":case"PtgMemNoMem":break;case"PtgElfCol":case"PtgElfColS":case"PtgElfColSV":case"PtgElfColV":case"PtgElfLel":case"PtgElfRadical":case"PtgElfRadicalLel":case"PtgElfRadicalS":case"PtgElfRw":case"PtgElfRwV":throw new Error("Unsupported ELFs");case"PtgSxName":default:throw new Error("Unrecognized Formula Token: "+String(E))}if(3!=a.biff&&m>=0&&-1==["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"].indexOf(e[0][b][0])){var O=!0;switch((E=e[0][m])[1][0]){case 4:O=!1;case 0:g=ae(" ",E[1][1]);break;case 5:O=!1;case 1:g=ae("\r",E[1][1]);break;default:if(g="",a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+E[1][0])}h.push((O?g:"")+h.pop()+(O?"":g)),m=-1}}if(h.length>1&&a.WTF)throw new Error("bad formula stack");return h[0]}function $i(e,t,r){var n,a=e.l+t,s=2==r.biff?1:2,i=e.read_shift(s);if(65535==i)return[[],Ut(e,t-2)];var o=Hi(e,i,r);return t!==i+s&&(n=Ui(e,t-i-s,o,r)),e.l=a,[o,n]}function Ki(e,t,r){var n,a=e.l+t,s=e.read_shift(2),i=Hi(e,s,r);return 65535==s?[[],Ut(e,t-2)]:(t!==s+2&&(n=Ui(e,a-s-2,i,r)),[i,n])}function Yi(e,t,r){var n=e.l+t,a=ea(e);2==r.biff&&++e.l;var s=function(e){var t;if(65535!==It(e,e.l+6))return[Ar(e),"n"];switch(e[e.l]){case 0:return e.l+=8,["String","s"];case 1:return t=1===e[e.l+2],e.l+=8,[t,"b"];case 2:return t=e[e.l+2],e.l+=8,[t,"e"];case 3:return e.l+=8,["","s"]}return[]}(e),i=e.read_shift(1);2!=r.biff&&(e.read_shift(1),r.biff>=5&&e.read_shift(4));var o=function(e,t,r){var n,a=e.l+t,s=2==r.biff?1:2,i=e.read_shift(s);if(65535==i)return[[],Ut(e,t-2)];var o=Hi(e,i,r);return t!==i+s&&(n=Ui(e,t-i-s,o,r)),e.l=a,[o,n]}(e,n-e.l,r);return{cell:a,val:s[0],formula:o,shared:i>>3&1,tt:s[1]}}function Qi(e,t,r,n,a){var s=ta(t,r,a),i=function(e){if(null==e){var t=Ht(8);return t.write_shift(1,3),t.write_shift(1,0),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(2,65535),t}return Ir("number"==typeof e?e:0)}(e.v),o=Ht(6);o.write_shift(2,33),o.write_shift(4,0);for(var c=Ht(e.bf.length),l=0;l<e.bf.length;++l)c[l]=e.bf[l];return A([s,i,o,c])}function Ji(e,t,r){var n=e.read_shift(4),a=Hi(e,n,r),s=e.read_shift(4);return[a,s>0?Ui(e,s,a,r):null]}var Zi=Ji,qi=Ji,eo=Ji,to=Ji,ro={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"},no={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"},ao={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},so={"_xlfn.ACOT":"ACOT","_xlfn.ACOTH":"ACOTH","_xlfn.AGGREGATE":"AGGREGATE","_xlfn.ARABIC":"ARABIC","_xlfn.AVERAGEIF":"AVERAGEIF","_xlfn.AVERAGEIFS":"AVERAGEIFS","_xlfn.BASE":"BASE","_xlfn.BETA.DIST":"BETA.DIST","_xlfn.BETA.INV":"BETA.INV","_xlfn.BINOM.DIST":"BINOM.DIST","_xlfn.BINOM.DIST.RANGE":"BINOM.DIST.RANGE","_xlfn.BINOM.INV":"BINOM.INV","_xlfn.BITAND":"BITAND","_xlfn.BITLSHIFT":"BITLSHIFT","_xlfn.BITOR":"BITOR","_xlfn.BITRSHIFT":"BITRSHIFT","_xlfn.BITXOR":"BITXOR","_xlfn.CEILING.MATH":"CEILING.MATH","_xlfn.CEILING.PRECISE":"CEILING.PRECISE","_xlfn.CHISQ.DIST":"CHISQ.DIST","_xlfn.CHISQ.DIST.RT":"CHISQ.DIST.RT","_xlfn.CHISQ.INV":"CHISQ.INV","_xlfn.CHISQ.INV.RT":"CHISQ.INV.RT","_xlfn.CHISQ.TEST":"CHISQ.TEST","_xlfn.COMBINA":"COMBINA","_xlfn.CONCAT":"CONCAT","_xlfn.CONFIDENCE.NORM":"CONFIDENCE.NORM","_xlfn.CONFIDENCE.T":"CONFIDENCE.T","_xlfn.COT":"COT","_xlfn.COTH":"COTH","_xlfn.COUNTIFS":"COUNTIFS","_xlfn.COVARIANCE.P":"COVARIANCE.P","_xlfn.COVARIANCE.S":"COVARIANCE.S","_xlfn.CSC":"CSC","_xlfn.CSCH":"CSCH","_xlfn.DAYS":"DAYS","_xlfn.DECIMAL":"DECIMAL","_xlfn.ECMA.CEILING":"ECMA.CEILING","_xlfn.ERF.PRECISE":"ERF.PRECISE","_xlfn.ERFC.PRECISE":"ERFC.PRECISE","_xlfn.EXPON.DIST":"EXPON.DIST","_xlfn.F.DIST":"F.DIST","_xlfn.F.DIST.RT":"F.DIST.RT","_xlfn.F.INV":"F.INV","_xlfn.F.INV.RT":"F.INV.RT","_xlfn.F.TEST":"F.TEST","_xlfn.FILTERXML":"FILTERXML","_xlfn.FLOOR.MATH":"FLOOR.MATH","_xlfn.FLOOR.PRECISE":"FLOOR.PRECISE","_xlfn.FORECAST.ETS":"FORECAST.ETS","_xlfn.FORECAST.ETS.CONFINT":"FORECAST.ETS.CONFINT","_xlfn.FORECAST.ETS.SEASONALITY":"FORECAST.ETS.SEASONALITY","_xlfn.FORECAST.ETS.STAT":"FORECAST.ETS.STAT","_xlfn.FORECAST.LINEAR":"FORECAST.LINEAR","_xlfn.FORMULATEXT":"FORMULATEXT","_xlfn.GAMMA":"GAMMA","_xlfn.GAMMA.DIST":"GAMMA.DIST","_xlfn.GAMMA.INV":"GAMMA.INV","_xlfn.GAMMALN.PRECISE":"GAMMALN.PRECISE","_xlfn.GAUSS":"GAUSS","_xlfn.HYPGEOM.DIST":"HYPGEOM.DIST","_xlfn.IFERROR":"IFERROR","_xlfn.IFNA":"IFNA","_xlfn.IFS":"IFS","_xlfn.IMCOSH":"IMCOSH","_xlfn.IMCOT":"IMCOT","_xlfn.IMCSC":"IMCSC","_xlfn.IMCSCH":"IMCSCH","_xlfn.IMSEC":"IMSEC","_xlfn.IMSECH":"IMSECH","_xlfn.IMSINH":"IMSINH","_xlfn.IMTAN":"IMTAN","_xlfn.ISFORMULA":"ISFORMULA","_xlfn.ISO.CEILING":"ISO.CEILING","_xlfn.ISOWEEKNUM":"ISOWEEKNUM","_xlfn.LOGNORM.DIST":"LOGNORM.DIST","_xlfn.LOGNORM.INV":"LOGNORM.INV","_xlfn.MAXIFS":"MAXIFS","_xlfn.MINIFS":"MINIFS","_xlfn.MODE.MULT":"MODE.MULT","_xlfn.MODE.SNGL":"MODE.SNGL","_xlfn.MUNIT":"MUNIT","_xlfn.NEGBINOM.DIST":"NEGBINOM.DIST","_xlfn.NETWORKDAYS.INTL":"NETWORKDAYS.INTL","_xlfn.NIGBINOM":"NIGBINOM","_xlfn.NORM.DIST":"NORM.DIST","_xlfn.NORM.INV":"NORM.INV","_xlfn.NORM.S.DIST":"NORM.S.DIST","_xlfn.NORM.S.INV":"NORM.S.INV","_xlfn.NUMBERVALUE":"NUMBERVALUE","_xlfn.PDURATION":"PDURATION","_xlfn.PERCENTILE.EXC":"PERCENTILE.EXC","_xlfn.PERCENTILE.INC":"PERCENTILE.INC","_xlfn.PERCENTRANK.EXC":"PERCENTRANK.EXC","_xlfn.PERCENTRANK.INC":"PERCENTRANK.INC","_xlfn.PERMUTATIONA":"PERMUTATIONA","_xlfn.PHI":"PHI","_xlfn.POISSON.DIST":"POISSON.DIST","_xlfn.QUARTILE.EXC":"QUARTILE.EXC","_xlfn.QUARTILE.INC":"QUARTILE.INC","_xlfn.QUERYSTRING":"QUERYSTRING","_xlfn.RANK.AVG":"RANK.AVG","_xlfn.RANK.EQ":"RANK.EQ","_xlfn.RRI":"RRI","_xlfn.SEC":"SEC","_xlfn.SECH":"SECH","_xlfn.SHEET":"SHEET","_xlfn.SHEETS":"SHEETS","_xlfn.SKEW.P":"SKEW.P","_xlfn.STDEV.P":"STDEV.P","_xlfn.STDEV.S":"STDEV.S","_xlfn.SUMIFS":"SUMIFS","_xlfn.SWITCH":"SWITCH","_xlfn.T.DIST":"T.DIST","_xlfn.T.DIST.2T":"T.DIST.2T","_xlfn.T.DIST.RT":"T.DIST.RT","_xlfn.T.INV":"T.INV","_xlfn.T.INV.2T":"T.INV.2T","_xlfn.T.TEST":"T.TEST","_xlfn.TEXTJOIN":"TEXTJOIN","_xlfn.UNICHAR":"UNICHAR","_xlfn.UNICODE":"UNICODE","_xlfn.VAR.P":"VAR.P","_xlfn.VAR.S":"VAR.S","_xlfn.WEBSERVICE":"WEBSERVICE","_xlfn.WEIBULL.DIST":"WEIBULL.DIST","_xlfn.WORKDAY.INTL":"WORKDAY.INTL","_xlfn.XOR":"XOR","_xlfn.Z.TEST":"Z.TEST"};function io(e){return"of:"==e.slice(0,3)&&(e=e.slice(3)),61==e.charCodeAt(0)&&61==(e=e.slice(1)).charCodeAt(0)&&(e=e.slice(1)),(e=(e=(e=e.replace(/COM\.MICROSOFT\./g,"")).replace(/\[((?:\.[A-Z]+[0-9]+)(?::\.[A-Z]+[0-9]+)?)\]/g,(function(e,t){return t.replace(/\./g,"")}))).replace(/\[.(#[A-Z]*[?!])\]/g,"$1")).replace(/[;~]/g,",").replace(/\|/g,";")}function oo(e){var t=e.split(":");return[t[0].split(".")[0],t[0].split(".")[1]+(t.length>1?":"+(t[1].split(".")[1]||t[1].split(".")[0]):"")]}var co={},lo={};Kr.WS=["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"];var fo="undefined"!==typeof Map;function ho(e,t,r){var n=0,a=e.length;if(r){if(fo?r.has(t):Object.prototype.hasOwnProperty.call(r,t))for(var s=fo?r.get(t):r[t];n<s.length;++n)if(e[s[n]].t===t)return e.Count++,s[n]}else for(;n<a;++n)if(e[n].t===t)return e.Count++,n;return e[a]={t:t},e.Count++,e.Unique++,r&&(fo?(r.has(t)||r.set(t,[]),r.get(t).push(a)):(Object.prototype.hasOwnProperty.call(r,t)||(r[t]=[]),r[t].push(a))),a}function uo(e,t){var r={min:e+1,max:e+1},n=-1;return t.MDW&&(ms=t.MDW),null!=t.width?r.customWidth=1:null!=t.wpx?n=bs(t.wpx):null!=t.wch&&(n=t.wch),n>-1?(r.width=vs(n),r.customWidth=1):null!=t.width&&(r.width=t.width),t.hidden&&(r.hidden=!0),r}function po(e,t){if(e){var r=[.7,.7,.75,.75,.3,.3];"xlml"==t&&(r=[1,1,1,1,.5,.5]),null==e.left&&(e.left=r[0]),null==e.right&&(e.right=r[1]),null==e.top&&(e.top=r[2]),null==e.bottom&&(e.bottom=r[3]),null==e.header&&(e.header=r[4]),null==e.footer&&(e.footer=r[5])}}function mo(e,t,r){var n=r.revssf[null!=t.z?t.z:"General"],a=60,s=e.length;if(null==n&&r.ssf)for(;a<392;++a)if(null==r.ssf[a]){R.load(t.z,a),r.ssf[a]=t.z,r.revssf[t.z]=n=a;break}for(a=0;a!=s;++a)if(e[a].numFmtId===n)return a;return e[s]={numFmtId:n,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},s}function go(e,t,r,n,a,s){try{n.cellNF&&(e.z=R._table[t])}catch(lf){if(n.WTF)throw lf}if("z"!==e.t){if("d"===e.t&&"string"===typeof e.v&&(e.v=te(e.v)),!n||!1!==n.cellText)try{if(null==R._table[t]&&R.load(P[t]||"General",t),"e"===e.t)e.w=e.w||Wr[e.v];else if(0===t)if("n"===e.t)(0|e.v)===e.v?e.w=R._general_int(e.v):e.w=R._general_num(e.v);else if("d"===e.t){var i=j(e.v);e.w=(0|i)===i?R._general_int(i):R._general_num(i)}else{if(void 0===e.v)return"";e.w=R._general(e.v,lo)}else"d"===e.t?e.w=R.format(t,j(e.v),lo):e.w=R.format(t,e.v,lo)}catch(lf){if(n.WTF)throw lf}if(n.cellStyles&&null!=r)try{e.s=s.Fills[r],e.s.fgColor&&e.s.fgColor.theme&&!e.s.fgColor.rgb&&(e.s.fgColor.rgb=ps(a.themeElements.clrScheme[e.s.fgColor.theme].rgb,e.s.fgColor.tint||0),n.WTF&&(e.s.fgColor.raw_rgb=a.themeElements.clrScheme[e.s.fgColor.theme].rgb)),e.s.bgColor&&e.s.bgColor.theme&&(e.s.bgColor.rgb=ps(a.themeElements.clrScheme[e.s.bgColor.theme].rgb,e.s.bgColor.tint||0),n.WTF&&(e.s.bgColor.raw_rgb=a.themeElements.clrScheme[e.s.bgColor.theme].rgb))}catch(lf){if(n.WTF&&s.Fills)throw lf}}}function bo(e,t,r){if(e&&e["!ref"]){var n=rr(e["!ref"]);if(n.e.c<n.s.c||n.e.r<n.s.r)throw new Error("Bad range ("+r+"): "+e["!ref"])}}var vo=/<(?:\w:)?mergeCell ref="[A-Z0-9:]+"\s*[\/]?>/g,Eo=/<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/,So=/<(?:\w:)?hyperlink [^>]*>/gm,wo=/"(\w*:\w*)"/,Co=/<(?:\w:)?col\b[^>]*[\/]?>/g,Bo=/<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g,To=/<(?:\w:)?pageMargins[^>]*\/>/g,ko=/<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/,_o=/<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/;function xo(e,t,r,n,a,s,i){if(!e)return e;n||(n={"!id":{}});var o=t.dense?[]:{},c={s:{r:2e6,c:2e6},e:{r:0,c:0}},l="",f="",h=e.match(Eo);h?(l=e.slice(0,h.index),f=e.slice(h.index+h[0].length)):l=f=e;var u=l.match(ko);u&&Ao(u[0],o,a,r);var d=(l.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(d>0){var p=l.slice(d,d+50).match(wo);p&&function(e,t){var r=rr(t);r.s.r<=r.e.r&&r.s.c<=r.e.c&&r.s.r>=0&&r.s.c>=0&&(e["!ref"]=tr(r))}(o,p[1])}var m=l.match(_o);m&&m[1]&&function(e,t){t.Views||(t.Views=[{}]);(e.match(Ro)||[]).forEach((function(e,r){var n=Be(e);t.Views[r]||(t.Views[r]={}),Ne(n.rightToLeft)&&(t.Views[r].RTL=!0)}))}(m[1],a);var g=[];if(t.cellStyles){var b=l.match(Co);b&&function(e,t){for(var r=!1,n=0;n!=t.length;++n){var a=Be(t[n],!0);a.hidden&&(a.hidden=Ne(a.hidden));var s=parseInt(a.min,10)-1,i=parseInt(a.max,10)-1;for(delete a.min,delete a.max,a.width=+a.width,!r&&a.width&&(r=!0,Ss(a.width)),ws(a);s<=i;)e[s++]=ne(a)}}(g,b)}h&&Do(h[1],o,t,c,s,i);var v=f.match(Bo);v&&(o["!autofilter"]=function(e){return{ref:(e.match(/ref="([^"]*)"/)||[])[1]}}(v[0]));var E=[],S=f.match(vo);if(S)for(d=0;d!=S.length;++d)E[d]=rr(S[d].slice(S[d].indexOf('"')+1));var w=f.match(So);w&&function(e,t,r){for(var n=Array.isArray(e),a=0;a!=t.length;++a){var s=Be(Me(t[a]),!0);if(!s.ref)return;var i=((r||{})["!id"]||[])[s.id];i?(s.Target=i.Target,s.location&&(s.Target+="#"+s.location)):(s.Target="#"+s.location,i={Target:s.Target,TargetMode:"Internal"}),s.Rel=i,s.tooltip&&(s.Tooltip=s.tooltip,delete s.tooltip);for(var o=rr(s.ref),c=o.s.r;c<=o.e.r;++c)for(var l=o.s.c;l<=o.e.c;++l){var f=qt({c:l,r:c});n?(e[c]||(e[c]=[]),e[c][l]||(e[c][l]={t:"z",v:void 0}),e[c][l].l=s):(e[f]||(e[f]={t:"z",v:void 0}),e[f].l=s)}}}(o,w,n);var C=f.match(To);if(C&&(o["!margins"]=function(e){var t={};return["left","right","top","bottom","header","footer"].forEach((function(r){e[r]&&(t[r]=parseFloat(e[r]))})),t}(Be(C[0]))),!o["!ref"]&&c.e.c>=c.s.c&&c.e.r>=c.s.r&&(o["!ref"]=tr(c)),t.sheetRows>0&&o["!ref"]){var B=rr(o["!ref"]);t.sheetRows<=+B.e.r&&(B.e.r=t.sheetRows-1,B.e.r>c.e.r&&(B.e.r=c.e.r),B.e.r<B.s.r&&(B.s.r=B.e.r),B.e.c>c.e.c&&(B.e.c=c.e.c),B.e.c<B.s.c&&(B.s.c=B.e.c),o["!fullref"]=o["!ref"],o["!ref"]=tr(B))}return g.length>0&&(o["!cols"]=g),E.length>0&&(o["!merges"]=E),o}function Ao(e,t,r,n){var a=Be(e);r.Sheets[n]||(r.Sheets[n]={}),a.codeName&&(r.Sheets[n].CodeName=xe(Me(a.codeName)))}var Io=["objects","scenarios","selectLockedCells","selectUnlockedCells"],yo=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"],Ro=/<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/?>/;function Fo(e,t,r,n){if(void 0===e.v&&"string"!==typeof e.f||"z"===e.t)return"";var a="",s=e.t,i=e.v;if("z"!==e.t)switch(e.t){case"b":a=e.v?"1":"0";break;case"n":a=""+e.v;break;case"e":a=Wr[e.v];break;case"d":n&&n.cellDates?a=te(e.v,-1).toISOString():((e=ne(e)).t="n",a=""+(e.v=j(te(e.v)))),"undefined"===typeof e.z&&(e.z=R._table[14]);break;default:a=e.v}var o=Ye("v",ye(a)),c={r:t},l=mo(n.cellXfs,e,n);switch(0!==l&&(c.s=l),e.t){case"n":break;case"d":c.t="d";break;case"b":c.t="b";break;case"e":c.t="e";break;case"z":break;default:if(null==e.v){delete e.t;break}if(n&&n.bookSST){o=Ye("v",""+ho(n.Strings,e.v,n.revStrings)),c.t="s";break}c.t="str"}if(e.t!=s&&(e.t=s,e.v=i),"string"==typeof e.f&&e.f){var f=e.F&&e.F.slice(0,t.length)==t?{t:"array",ref:e.F}:null;o=Je("f",ye(e.f),f)+(null!=e.v?o:"")}return e.l&&r["!links"].push([t,e.l]),e.c&&r["!comments"].push([t,e.c]),Je("c",o,c)}var Do=function(){var e=/<(?:\w+:)?c[ \/>]/,t=/<\/(?:\w+:)?row>/,r=/r=["']([^"']*)["']/,n=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/,a=/ref=["']([^"']*)["']/,s=Ve("v"),i=Ve("f");return function(o,c,l,f,h,u){for(var d,p,m,g,b,v=0,E="",S=[],w=[],C=0,B=0,T=0,k="",_=0,x=0,A=0,I=0,y=Array.isArray(u.CellXf),F=[],D=[],O=Array.isArray(c),P=[],N={},M=!1,L=!!l.sheetStubs,U=o.split(t),H=0,W=U.length;H!=W;++H){var V=(E=U[H].trim()).length;if(0!==V){for(v=0;v<V&&62!==E.charCodeAt(v);++v);if(++v,_=null!=(p=Be(E.slice(0,v),!0)).r?parseInt(p.r,10):_+1,x=-1,!(l.sheetRows&&l.sheetRows<_)){f.s.r>_-1&&(f.s.r=_-1),f.e.r<_-1&&(f.e.r=_-1),l&&l.cellStyles&&(N={},M=!1,p.ht&&(M=!0,N.hpt=parseFloat(p.ht),N.hpx=Bs(N.hpt)),"1"==p.hidden&&(M=!0,N.hidden=!0),null!=p.outlineLevel&&(M=!0,N.level=+p.outlineLevel),M&&(P[_-1]=N)),S=E.slice(v).split(e);for(var X=0;X!=S.length&&"<"==S[X].trim().charAt(0);++X);for(S=S.slice(X),v=0;v!=S.length;++v)if(0!==(E=S[v].trim()).length){if(w=E.match(r),C=v,B=0,T=0,E="<c "+("<"==E.slice(0,1)?">":"")+E,null!=w&&2===w.length){for(C=0,k=w[1],B=0;B!=k.length&&!((T=k.charCodeAt(B)-64)<1||T>26);++B)C=26*C+T;x=--C}else++x;for(B=0;B!=E.length&&62!==E.charCodeAt(B);++B);if(++B,(p=Be(E.slice(0,B),!0)).r||(p.r=qt({r:_-1,c:x})),d={t:""},null!=(w=(k=E.slice(B)).match(s))&&""!==w[1]&&(d.v=xe(w[1])),l.cellFormula){if(null!=(w=k.match(i))&&""!==w[1]){if(d.f=xe(Me(w[1])).replace(/\r\n/g,"\n"),l.xlfn||(d.f=hi(d.f)),w[0].indexOf('t="array"')>-1)d.F=(k.match(a)||[])[1],d.F.indexOf(":")>-1&&F.push([rr(d.F),d.F]);else if(w[0].indexOf('t="shared"')>-1){g=Be(w[0]);var G=xe(Me(w[1]));l.xlfn||(G=hi(G)),D[parseInt(g.si,10)]=[g,G,p.r]}}else(w=k.match(/<f[^>]*\/>/))&&D[(g=Be(w[0])).si]&&(d.f=fi(D[g.si][1],D[g.si][2],p.r));var z=Zt(p.r);for(B=0;B<F.length;++B)z.r>=F[B][0].s.r&&z.r<=F[B][0].e.r&&z.c>=F[B][0].s.c&&z.c<=F[B][0].e.c&&(d.F=F[B][1])}if(null==p.t&&void 0===d.v)if(d.f||d.F)d.v=0,d.t="n";else{if(!L)continue;d.t="z"}else d.t=p.t||"n";switch(f.s.c>x&&(f.s.c=x),f.e.c<x&&(f.e.c=x),d.t){case"n":if(""==d.v||null==d.v){if(!L)continue;d.t="z"}else d.v=parseFloat(d.v);break;case"s":if("undefined"==typeof d.v){if(!L)continue;d.t="z"}else m=co[parseInt(d.v,10)],d.v=m.t,d.r=m.r,l.cellHTML&&(d.h=m.h);break;case"str":d.t="s",d.v=null!=d.v?Me(d.v):"",l.cellHTML&&(d.h=De(d.v));break;case"inlineStr":w=k.match(n),d.t="s",null!=w&&(m=za(w[1]))?(d.v=m.t,l.cellHTML&&(d.h=m.h)):d.v="";break;case"b":d.v=Ne(d.v);break;case"d":l.cellDates?d.v=te(d.v,1):(d.v=j(te(d.v,1)),d.t="n");break;case"e":l&&!1===l.cellText||(d.w=d.v),d.v=Vr[d.v]}if(A=I=0,b=null,y&&void 0!==p.s&&null!=(b=u.CellXf[p.s])&&(null!=b.numFmtId&&(A=b.numFmtId),l.cellStyles&&null!=b.fillId&&(I=b.fillId)),go(d,A,I,l,h,u),l.cellDates&&y&&"n"==d.t&&R.is_date(R._table[A])&&(d.t="d",d.v=J(d.v)),O){var $=Zt(p.r);c[$.r]||(c[$.r]=[]),c[$.r][$.c]=d}else c[p.r]=d}}}}P.length>0&&(c["!rows"]=P)}}(),Oo=Je("worksheet",null,{xmlns:tt.main[0],"xmlns:r":tt.r});function Po(e,t,r,n){var a,s=[ve,Oo],i=r.SheetNames[e],o="",c=r.Sheets[i];null==c&&(c={});var l=c["!ref"]||"A1",f=rr(l);if(f.e.c>16383||f.e.r>1048575){if(t.WTF)throw new Error("Range "+l+" exceeds format limit A1:XFD1048576");f.e.c=Math.min(f.e.c,16383),f.e.r=Math.min(f.e.c,1048575),l=tr(f)}n||(n={}),c["!comments"]=[];var h=[];!function(e,t,r,n,a){var s=!1,i={},o=null;if("xlsx"!==n.bookType&&t.vbaraw){var c=t.SheetNames[r];try{t.Workbook&&(c=t.Workbook.Sheets[r].CodeName||c)}catch(lf){}s=!0,i.codeName=Le(ye(c))}if(e&&e["!outline"]){var l={summaryBelow:1,summaryRight:1};e["!outline"].above&&(l.summaryBelow=0),e["!outline"].left&&(l.summaryRight=0),o=(o||"")+Je("outlinePr",null,l)}(s||o)&&(a[a.length]=Je("sheetPr",o,i))}(c,r,e,t,s),s[s.length]=Je("dimension",null,{ref:l}),s[s.length]=function(e,t,r,n){var a={workbookViewId:"0"};return(((n||{}).Workbook||{}).Views||[])[0]&&(a.rightToLeft=n.Workbook.Views[0].RTL?"1":"0"),Je("sheetViews",Je("sheetView",null,a),{})}(0,0,0,r),t.sheetFormat&&(s[s.length]=Je("sheetFormatPr",null,{defaultRowHeight:t.sheetFormat.defaultRowHeight||"16",baseColWidth:t.sheetFormat.baseColWidth||"10",outlineLevelRow:t.sheetFormat.outlineLevelRow||"7"})),null!=c["!cols"]&&c["!cols"].length>0&&(s[s.length]=function(e,t){for(var r,n=["<cols>"],a=0;a!=t.length;++a)(r=t[a])&&(n[n.length]=Je("col",null,uo(a,r)));return n[n.length]="</cols>",n.join("")}(0,c["!cols"])),s[a=s.length]="<sheetData/>",c["!links"]=[],null!=c["!ref"]&&(o=function(e,t,r,n){var a,s,i=[],o=[],c=rr(e["!ref"]),l="",f="",h=[],u=0,d=0,p=e["!rows"],m=Array.isArray(e),g={r:f},b=-1;for(d=c.s.c;d<=c.e.c;++d)h[d]=Jt(d);for(u=c.s.r;u<=c.e.r;++u){for(o=[],f=Yt(u),d=c.s.c;d<=c.e.c;++d){a=h[d]+f;var v=m?(e[u]||[])[d]:e[a];void 0!==v&&null!=(l=Fo(v,a,e,t))&&o.push(l)}(o.length>0||p&&p[u])&&(g={r:f},p&&p[u]&&((s=p[u]).hidden&&(g.hidden=1),b=-1,s.hpx?b=Cs(s.hpx):s.hpt&&(b=s.hpt),b>-1&&(g.ht=b,g.customHeight=1),s.level&&(g.outlineLevel=s.level)),i[i.length]=Je("row",o.join(""),g))}if(p)for(;u<p.length;++u)p&&p[u]&&(g={r:u+1},(s=p[u]).hidden&&(g.hidden=1),b=-1,s.hpx?b=Cs(s.hpx):s.hpt&&(b=s.hpt),b>-1&&(g.ht=b,g.customHeight=1),s.level&&(g.outlineLevel=s.level),i[i.length]=Je("row","",g));return i.join("")}(c,t,0,0)).length>0&&(s[s.length]=o),s.length>a+1&&(s[s.length]="</sheetData>",s[a]=s[a].replace("/>",">")),null!=c["!protect"]&&(s[s.length]=function(e){var t={sheet:1};return Io.forEach((function(r){null!=e[r]&&e[r]&&(t[r]="1")})),yo.forEach((function(r){null==e[r]||e[r]||(t[r]="0")})),e.password&&(t.password=cs(e.password).toString(16).toUpperCase()),Je("sheetProtection",null,t)}(c["!protect"])),null!=c["!autofilter"]&&(s[s.length]=function(e,t,r,n){var a="string"==typeof e.ref?e.ref:tr(e.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var s=r.Workbook.Names,i=er(a);i.s.r==i.e.r&&(i.e.r=er(t["!ref"]).e.r,a=tr(i));for(var o=0;o<s.length;++o){var c=s[o];if("_xlnm._FilterDatabase"==c.Name&&c.Sheet==n){c.Ref="'"+r.SheetNames[n]+"'!"+a;break}}return o==s.length&&s.push({Name:"_xlnm._FilterDatabase",Sheet:n,Ref:"'"+r.SheetNames[n]+"'!"+a}),Je("autoFilter",null,{ref:a})}(c["!autofilter"],c,r,e)),null!=c["!merges"]&&c["!merges"].length>0&&(s[s.length]=function(e){if(0===e.length)return"";for(var t='<mergeCells count="'+e.length+'">',r=0;r!=e.length;++r)t+='<mergeCell ref="'+tr(e[r])+'"/>';return t+"</mergeCells>"}(c["!merges"]));var u,d,p=-1,m=-1;return c["!links"].length>0&&(s[s.length]="<hyperlinks>",c["!links"].forEach((function(e){e[1].Target&&(u={ref:e[0]},"#"!=e[1].Target.charAt(0)&&(m=en(n,-1,ye(e[1].Target).replace(/#.*$/,""),Kr.HLINK),u["r:id"]="rId"+m),(p=e[1].Target.indexOf("#"))>-1&&(u.location=ye(e[1].Target.slice(p+1))),e[1].Tooltip&&(u.tooltip=ye(e[1].Tooltip)),s[s.length]=Je("hyperlink",null,u))})),s[s.length]="</hyperlinks>"),delete c["!links"],null!=c["!margins"]&&(s[s.length]=(po(d=c["!margins"]),Je("pageMargins",null,d))),t&&!t.ignoreEC&&void 0!=t.ignoreEC||(s[s.length]=Ye("ignoredErrors",Je("ignoredError",null,{numberStoredAsText:1,sqref:l}))),h.length>0&&(m=en(n,-1,"../drawings/drawing"+(e+1)+".xml",Kr.DRAW),s[s.length]=Je("drawing",null,{"r:id":"rId"+m}),c["!drawing"]=h),c["!comments"].length>0&&(m=en(n,-1,"../drawings/vmlDrawing"+(e+1)+".vml",Kr.VML),s[s.length]=Je("legacyDrawing",null,{"r:id":"rId"+m}),c["!legacy"]=m),s.length>1&&(s[s.length]="</worksheet>",s[1]=s[1].replace("/>",">")),s.join("")}function No(e,t,r,n){var a=function(e,t,r){var n=Ht(145),a=(r["!rows"]||[])[e]||{};n.write_shift(4,e),n.write_shift(4,0);var s=320;a.hpx?s=20*Cs(a.hpx):a.hpt&&(s=20*a.hpt),n.write_shift(2,s),n.write_shift(1,0);var i=0;a.level&&(i|=a.level),a.hidden&&(i|=16),(a.hpx||a.hpt)&&(i|=32),n.write_shift(1,i),n.write_shift(1,0);var o=0,c=n.l;n.l+=4;for(var l={r:e,c:0},f=0;f<16;++f)if(!(t.s.c>f+1<<10||t.e.c<f<<10)){for(var h=-1,u=-1,d=f<<10;d<f+1<<10;++d)l.c=d,(Array.isArray(r)?(r[l.r]||[])[l.c]:r[qt(l)])&&(h<0&&(h=d),u=d);h<0||(++o,n.write_shift(4,h),n.write_shift(4,u))}var p=n.l;return n.l=c,n.write_shift(4,o),n.l=p,n.length>n.l?n.slice(0,n.l):n}(n,r,t);(a.length>17||(t["!rows"]||[])[n])&&Xt(e,"BrtRowHdr",a)}var Mo=_r,Lo=xr;function Uo(e,t,r){return null==r&&(r=Ht(12)),gr(t,r),function(e,t){null==t&&(t=Ht(4));var r=0,n=0,a=100*e;if(e==(0|e)&&e>=-(1<<29)&&e<1<<29?n=1:a==(0|a)&&a>=-(1<<29)&&a<1<<29&&(n=1,r=1),!n)throw new Error("unsupported RkNumber "+e);t.write_shift(-4,((r?a:e)<<2)+(r+2))}(e.v,r),r}var Ho=_r,Wo=xr,Vo=["left","right","top","bottom","header","footer"];function Xo(e,t,r,n,a,s){if(void 0!==t.v){var i="";switch(t.t){case"b":i=t.v?"1":"0";break;case"d":(t=ne(t)).z=t.z||R._table[14],t.v=j(te(t.v)),t.t="n";break;case"n":case"e":i=""+t.v;break;default:i=t.v}var o={r:r,c:n};switch(o.s=mo(a.cellXfs,t,a),t.l&&s["!links"].push([qt(o),t.l]),t.c&&s["!comments"].push([qt(o),t.c]),t.t){case"s":case"str":return void(a.bookSST?(i=ho(a.Strings,t.v,a.revStrings),o.t="s",o.v=i,Xt(e,"BrtCellIsst",function(e,t,r){return null==r&&(r=Ht(12)),gr(t,r),r.write_shift(4,t.v),r}(0,o))):(o.t="str",Xt(e,"BrtCellSt",function(e,t,r){return null==r&&(r=Ht(12+4*e.v.length)),gr(t,r),fr(e.v,r),r.length>r.l?r.slice(0,r.l):r}(t,o))));case"n":return void(t.v==(0|t.v)&&t.v>-1e3&&t.v<1e3?Xt(e,"BrtCellRk",Uo(t,o)):Xt(e,"BrtCellReal",function(e,t,r){return null==r&&(r=Ht(16)),gr(t,r),Ir(e.v,r),r}(t,o)));case"b":return o.t="b",void Xt(e,"BrtCellBool",function(e,t,r){return null==r&&(r=Ht(9)),gr(t,r),r.write_shift(1,e.v?1:0),r}(t,o));case"e":o.t="e"}Xt(e,"BrtCellBlank",function(e,t,r){return null==r&&(r=Ht(8)),gr(t,r)}(0,o))}}function Go(e,t){var r,n;t&&t["!merges"]&&(Xt(e,"BrtBeginMergeCells",(r=t["!merges"].length,null==n&&(n=Ht(4)),n.write_shift(4,r),n)),t["!merges"].forEach((function(t){Xt(e,"BrtMergeCell",Wo(t))})),Xt(e,"BrtEndMergeCells"))}function zo(e,t){t&&t["!cols"]&&(Xt(e,"BrtBeginColInfos"),t["!cols"].forEach((function(t,r){t&&Xt(e,"BrtColInfo",function(e,t,r){null==r&&(r=Ht(18));var n=uo(e,t);r.write_shift(-4,e),r.write_shift(-4,e),r.write_shift(4,256*(n.width||10)),r.write_shift(4,0);var a=0;return t.hidden&&(a|=1),"number"==typeof n.width&&(a|=2),t.level&&(a|=t.level<<8),r.write_shift(2,a),r}(r,t))})),Xt(e,"BrtEndColInfos"))}function jo(e,t){t&&t["!ref"]&&(Xt(e,"BrtBeginCellIgnoreECs"),Xt(e,"BrtCellIgnoreEC",function(e){var t=Ht(24);return t.write_shift(4,4),t.write_shift(4,1),xr(e,t),t}(rr(t["!ref"]))),Xt(e,"BrtEndCellIgnoreECs"))}function $o(e,t,r){t["!links"].forEach((function(t){if(t[1].Target){var n=en(r,-1,t[1].Target.replace(/#.*$/,""),Kr.HLINK);Xt(e,"BrtHLink",function(e,t){var r=Ht(50+4*(e[1].Target.length+(e[1].Tooltip||"").length));xr({s:Zt(e[0]),e:Zt(e[0])},r),Br("rId"+t,r);var n=e[1].Target.indexOf("#");return fr((-1==n?"":e[1].Target.slice(n+1))||"",r),fr(e[1].Tooltip||"",r),fr("",r),r.slice(0,r.l)}(t,n))}})),delete t["!links"]}function Ko(e,t,r){Xt(e,"BrtBeginWsViews"),Xt(e,"BrtBeginWsView",function(e,t,r){null==r&&(r=Ht(30));var n=924;return(((t||{}).Views||[])[0]||{}).RTL&&(n|=32),r.write_shift(2,n),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(2,0),r.write_shift(2,100),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(4,0),r}(0,r)),Xt(e,"BrtEndWsView"),Xt(e,"BrtEndWsViews")}function Yo(e,t){var r,n;t["!protect"]&&Xt(e,"BrtSheetProtection",(r=t["!protect"],null==n&&(n=Ht(66)),n.write_shift(2,r.password?cs(r.password):0),n.write_shift(4,1),[["objects",!1],["scenarios",!1],["formatCells",!0],["formatColumns",!0],["formatRows",!0],["insertColumns",!0],["insertRows",!0],["insertHyperlinks",!0],["deleteColumns",!0],["deleteRows",!0],["selectLockedCells",!1],["sort",!0],["autoFilter",!0],["pivotTables",!0],["selectUnlockedCells",!1]].forEach((function(e){e[1]?n.write_shift(4,null==r[e[0]]||r[e[0]]?0:1):n.write_shift(4,null!=r[e[0]]&&r[e[0]]?0:1)})),n))}function Qo(e,t,r,n){var a=Vt(),s=r.SheetNames[e],i=r.Sheets[s]||{},o=s;try{r&&r.Workbook&&(o=r.Workbook.Sheets[e].CodeName||o)}catch(lf){}var c,l,f=rr(i["!ref"]||"A1");if(f.e.c>16383||f.e.r>1048575){if(t.WTF)throw new Error("Range "+(i["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");f.e.c=Math.min(f.e.c,16383),f.e.r=Math.min(f.e.c,1048575)}return i["!links"]=[],i["!comments"]=[],Xt(a,"BrtBeginSheet"),r.vbaraw&&Xt(a,"BrtWsProp",function(e,t){null==t&&(t=Ht(84+4*e.length));for(var r=0;r<3;++r)t.write_shift(1,0);return yr({auto:1},t),t.write_shift(-4,-1),t.write_shift(-4,-1),vr(e,t),t.slice(0,t.l)}(o)),Xt(a,"BrtWsDim",Lo(f)),Ko(a,0,r.Workbook),zo(a,i),function(e,t,r,n){var a,s=rr(t["!ref"]||"A1"),i="",o=[];Xt(e,"BrtBeginSheetData");var c=Array.isArray(t),l=s.e.r;t["!rows"]&&(l=Math.max(s.e.r,t["!rows"].length-1));for(var f=s.s.r;f<=l;++f)if(i=Yt(f),No(e,t,s,f),f<=s.e.r)for(var h=s.s.c;h<=s.e.c;++h){f===s.s.r&&(o[h]=Jt(h)),a=o[h]+i;var u=c?(t[f]||[])[h]:t[a];u&&Xo(e,u,f,h,n,t)}Xt(e,"BrtEndSheetData")}(a,i,0,t),Yo(a,i),function(e,t,r,n){if(t["!autofilter"]){var a=t["!autofilter"],s="string"===typeof a.ref?a.ref:tr(a.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var i=r.Workbook.Names,o=er(s);o.s.r==o.e.r&&(o.e.r=er(t["!ref"]).e.r,s=tr(o));for(var c=0;c<i.length;++c){var l=i[c];if("_xlnm._FilterDatabase"==l.Name&&l.Sheet==n){l.Ref="'"+r.SheetNames[n]+"'!"+s;break}}c==i.length&&i.push({Name:"_xlnm._FilterDatabase",Sheet:n,Ref:"'"+r.SheetNames[n]+"'!"+s}),Xt(e,"BrtBeginAFilter",xr(rr(s))),Xt(e,"BrtEndAFilter")}}(a,i,r,e),Go(a,i),$o(a,i,n),i["!margins"]&&Xt(a,"BrtMargins",(c=i["!margins"],null==l&&(l=Ht(48)),po(c),Vo.forEach((function(e){Ir(c[e],l)})),l)),t&&!t.ignoreEC&&void 0!=t.ignoreEC||jo(a,i),function(e,t,r,n){if(t["!comments"].length>0){var a=en(n,-1,"../drawings/vmlDrawing"+(r+1)+".vml",Kr.VML);Xt(e,"BrtLegacyDrawing",Br("rId"+a)),t["!legacy"]=a}}(a,i,e,n),Xt(a,"BrtEndSheet"),a.end()}function Jo(e,t,r,n,a,s){var i=s||{"!type":"chart"};if(!e)return s;var o=0,c=0,l="A",f={s:{r:2e6,c:2e6},e:{r:0,c:0}};return(e.match(/<c:numCache>[\s\S]*?<\/c:numCache>/gm)||[]).forEach((function(e){var t=function(e){var t,r=[],n=e.match(/^<c:numCache>/);(e.match(/<c:pt idx="(\d*)">(.*?)<\/c:pt>/gm)||[]).forEach((function(e){var t=e.match(/<c:pt idx="(\d*?)"><c:v>(.*)<\/c:v><\/c:pt>/);t&&(r[+t[1]]=n?+t[2]:t[2])}));var a=xe((e.match(/<c:formatCode>([\s\S]*?)<\/c:formatCode>/)||["","General"])[1]);return(e.match(/<c:f>(.*?)<\/c:f>/gm)||[]).forEach((function(e){t=e.replace(/<.*?>/g,"")})),[r,a,t]}(e);f.s.r=f.s.c=0,f.e.c=o,l=Jt(o),t[0].forEach((function(e,r){i[l+Yt(r)]={t:"n",v:e,z:t[1]},c=r})),f.e.r<c&&(f.e.r=c),++o})),o>0&&(i["!ref"]=tr(f)),i}Kr.CHART="http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",Kr.CHARTEX="http://schemas.microsoft.com/office/2014/relationships/chartEx",Kr.CS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet",Je("chartsheet",null,{xmlns:tt.main[0],"xmlns:r":tt.r});var Zo=[["allowRefreshQuery",!1,"bool"],["autoCompressPictures",!0,"bool"],["backupFile",!1,"bool"],["checkCompatibility",!1,"bool"],["CodeName",""],["date1904",!1,"bool"],["defaultThemeVersion",0,"int"],["filterPrivacy",!1,"bool"],["hidePivotFieldList",!1,"bool"],["promptedSolutions",!1,"bool"],["publishItems",!1,"bool"],["refreshAllConnections",!1,"bool"],["saveExternalLinkValues",!0,"bool"],["showBorderUnselectedTables",!0,"bool"],["showInkAnnotation",!0,"bool"],["showObjects","all"],["showPivotChartFilter",!1,"bool"],["updateLinks","userSet"]],qo=[["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"]],ec=[],tc=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function rc(e,t){for(var r=0;r!=e.length;++r)for(var n=e[r],a=0;a!=t.length;++a){var s=t[a];if(null==n[s[0]])n[s[0]]=s[1];else switch(s[2]){case"bool":"string"==typeof n[s[0]]&&(n[s[0]]=Ne(n[s[0]]));break;case"int":"string"==typeof n[s[0]]&&(n[s[0]]=parseInt(n[s[0]],10))}}}function nc(e,t){for(var r=0;r!=t.length;++r){var n=t[r];if(null==e[n[0]])e[n[0]]=n[1];else switch(n[2]){case"bool":"string"==typeof e[n[0]]&&(e[n[0]]=Ne(e[n[0]]));break;case"int":"string"==typeof e[n[0]]&&(e[n[0]]=parseInt(e[n[0]],10))}}}function ac(e){nc(e.WBProps,Zo),nc(e.CalcPr,tc),rc(e.WBView,qo),rc(e.Sheets,ec),lo.date1904=Ne(e.WBProps.date1904)}var sc="][*?/\\".split("");function ic(e,t){if(e.length>31){if(t)return!1;throw new Error("Sheet names cannot exceed 31 chars")}var r=!0;return sc.forEach((function(n){if(-1!=e.indexOf(n)){if(!t)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");r=!1}})),r}function oc(e){if(!e||!e.SheetNames||!e.Sheets)throw new Error("Invalid Workbook");if(!e.SheetNames.length)throw new Error("Workbook is empty");var t,r,n,a=e.Workbook&&e.Workbook.Sheets||[];t=e.SheetNames,r=a,n=!!e.vbaraw,t.forEach((function(e,a){ic(e);for(var s=0;s<a;++s)if(e==t[s])throw new Error("Duplicate Sheet Name: "+e);if(n){var i=r&&r[a]&&r[a].CodeName||e;if(95==i.charCodeAt(0)&&i.length>22)throw new Error("Bad Code Name: Worksheet"+i)}}));for(var s=0;s<e.SheetNames.length;++s)bo(e.Sheets[e.SheetNames[s]],e.SheetNames[s],s)}var cc=/<\w+:workbook/,lc=Je("workbook",null,{xmlns:tt.main[0],"xmlns:r":tt.r});function fc(e){var t=[ve];t[t.length]=lc;var r=e.Workbook&&(e.Workbook.Names||[]).length>0,n={codeName:"ThisWorkbook"};e.Workbook&&e.Workbook.WBProps&&(Zo.forEach((function(t){null!=e.Workbook.WBProps[t[0]]&&e.Workbook.WBProps[t[0]]!=t[1]&&(n[t[0]]=e.Workbook.WBProps[t[0]])})),e.Workbook.WBProps.CodeName&&(n.codeName=e.Workbook.WBProps.CodeName,delete n.CodeName)),t[t.length]=Je("workbookPr",null,n);var a=e.Workbook&&e.Workbook.Sheets||[],s=0;if(a&&a[0]&&a[0].Hidden){for(t[t.length]="<bookViews>",s=0;s!=e.SheetNames.length&&a[s]&&a[s].Hidden;++s);s==e.SheetNames.length&&(s=0),t[t.length]='<workbookView firstSheet="'+s+'" activeTab="'+s+'"/>',t[t.length]="</bookViews>"}for(t[t.length]="<sheets>",s=0;s!=e.SheetNames.length;++s){var i={name:ye(e.SheetNames[s].slice(0,31))};if(i.sheetId=""+(s+1),i["r:id"]="rId"+(s+1),a[s])switch(a[s].Hidden){case 1:i.state="hidden";break;case 2:i.state="veryHidden"}t[t.length]=Je("sheet",null,i)}return t[t.length]="</sheets>",r&&(t[t.length]="<definedNames>",e.Workbook&&e.Workbook.Names&&e.Workbook.Names.forEach((function(e){var r={name:e.Name};e.Comment&&(r.comment=e.Comment),null!=e.Sheet&&(r.localSheetId=""+e.Sheet),e.Hidden&&(r.hidden="1"),e.Ref&&(t[t.length]=Je("definedName",ye(e.Ref),r))})),t[t.length]="</definedNames>"),t.length>2&&(t[t.length]="</workbook>",t[1]=t[1].replace("/>",">")),t.join("")}function hc(e,t){if(t.Workbook&&t.Workbook.Sheets){for(var r,n,a=t.Workbook.Sheets,s=0,i=-1,o=-1;s<a.length;++s)!a[s]||!a[s].Hidden&&-1==i?i=s:1==a[s].Hidden&&-1==o&&(o=s);if(!(o>i))Xt(e,"BrtBeginBookViews"),Xt(e,"BrtBookView",(r=i,n||(n=Ht(29)),n.write_shift(-4,0),n.write_shift(-4,460),n.write_shift(4,28800),n.write_shift(4,17600),n.write_shift(4,500),n.write_shift(4,r),n.write_shift(4,r),n.write_shift(1,120),n.length>n.l?n.slice(0,n.l):n)),Xt(e,"BrtEndBookViews")}}function uc(e,r){var n=Vt();return Xt(n,"BrtBeginBook"),Xt(n,"BrtFileVersion",function(e,r){r||(r=Ht(127));for(var n=0;4!=n;++n)r.write_shift(4,0);return fr("SheetJS",r),fr(t.version,r),fr(t.version,r),fr("7262",r),r.length=r.l,r.length>r.l?r.slice(0,r.l):r}()),Xt(n,"BrtWbProp",function(e,t){t||(t=Ht(72));var r=0;return e&&e.filterPrivacy&&(r|=8),t.write_shift(4,r),t.write_shift(4,0),vr(e&&e.CodeName||"ThisWorkbook",t),t.slice(0,t.l)}(e.Workbook&&e.Workbook.WBProps||null)),hc(n,e),function(e,t){Xt(e,"BrtBeginBundleShs");for(var r=0;r!=t.SheetNames.length;++r){Xt(e,"BrtBundleSh",(n={Hidden:t.Workbook&&t.Workbook.Sheets&&t.Workbook.Sheets[r]&&t.Workbook.Sheets[r].Hidden||0,iTabID:r+1,strRelID:"rId"+(r+1),name:t.SheetNames[r]},(a=void 0)||(a=Ht(127)),a.write_shift(4,n.Hidden),a.write_shift(4,n.iTabID),Br(n.strRelID,a),fr(n.name.slice(0,31),a),a.length>a.l?a.slice(0,a.l):a))}var n,a;Xt(e,"BrtEndBundleShs")}(n,e),Xt(n,"BrtEndBook"),n.end()}function dc(e,t,r){return".bin"===t.slice(-4)?function(e,t){var r={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""},n=[],a=!1;t||(t={}),t.biff=12;var s=[],i=[[]];return i.SheetNames=[],i.XTI=[],Wt(e,(function(e,o,c){switch(c){case 156:i.SheetNames.push(e.name),r.Sheets.push(e);break;case 153:r.WBProps=e;break;case 39:null!=e.Sheet&&(t.SID=e.Sheet),e.Ref=ji(e.Ptg,0,null,i,t),delete t.SID,delete e.Ptg,s.push(e);break;case 1036:break;case 357:case 358:case 355:case 667:i[0].length?i.push([c,e]):i[0]=[c,e],i[i.length-1].XTI=[];break;case 362:0===i.length&&(i[0]=[],i[0].XTI=[]),i[i.length-1].XTI=i[i.length-1].XTI.concat(e),i.XTI=i.XTI.concat(e);break;case 361:break;case 3072:case 3073:case 2071:case 534:case 677:case 158: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:n.push(o),a=!0;break;case 36:n.pop(),a=!1;break;case 37:n.push(o),a=!0;break;case 38:n.pop(),a=!1;break;case 16:break;default:if((o||"").indexOf("Begin")>0);else if((o||"").indexOf("End")>0);else if(!a||t.WTF&&"BrtACBegin"!=n[n.length-1]&&"BrtFRTBegin"!=n[n.length-1])throw new Error("Unexpected record "+c+" "+o)}}),t),ac(r),r.Names=s,r.supbooks=i,r}(e,r):function(e,t){if(!e)throw new Error("Could not find file");var r={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},Names:[],xmlns:""},n=!1,a="xmlns",s={},i=0;if(e.replace(Se,(function(o,c){var l=Be(o);switch(Te(l[0])){case"<?xml":break;case"<workbook":o.match(cc)&&(a="xmlns"+o.match(/<(\w+):/)[1]),r.xmlns=l[a];break;case"</workbook>":break;case"<fileVersion":delete l[0],r.AppVersion=l;break;case"<fileVersion/>":case"</fileVersion>":case"<fileSharing":case"<fileSharing/>":break;case"<workbookPr":case"<workbookPr/>":Zo.forEach((function(e){if(null!=l[e[0]])switch(e[2]){case"bool":r.WBProps[e[0]]=Ne(l[e[0]]);break;case"int":r.WBProps[e[0]]=parseInt(l[e[0]],10);break;default:r.WBProps[e[0]]=l[e[0]]}})),l.codeName&&(r.WBProps.CodeName=Me(l.codeName));break;case"</workbookPr>":case"<workbookProtection":case"<workbookProtection/>":break;case"<bookViews":case"<bookViews>":case"</bookViews>":break;case"<workbookView":case"<workbookView/>":delete l[0],r.WBView.push(l);break;case"</workbookView>":break;case"<sheets":case"<sheets>":case"</sheets>":break;case"<sheet":switch(l.state){case"hidden":l.Hidden=1;break;case"veryHidden":l.Hidden=2;break;default:l.Hidden=0}delete l.state,l.name=xe(Me(l.name)),delete l[0],r.Sheets.push(l);break;case"</sheet>":break;case"<functionGroups":case"<functionGroups/>":case"<functionGroup":break;case"<externalReferences":case"</externalReferences>":case"<externalReferences>":case"<externalReference":case"<definedNames/>":break;case"<definedNames>":case"<definedNames":n=!0;break;case"</definedNames>":n=!1;break;case"<definedName":(s={}).Name=Me(l.name),l.comment&&(s.Comment=l.comment),l.localSheetId&&(s.Sheet=+l.localSheetId),Ne(l.hidden||"0")&&(s.Hidden=!0),i=c+o.length;break;case"</definedName>":s.Ref=xe(Me(e.slice(i,c))),r.Names.push(s);break;case"<definedName/>":break;case"<calcPr":case"<calcPr/>":delete l[0],r.CalcPr=l;break;case"</calcPr>":case"<oleSize":break;case"<customWorkbookViews>":case"</customWorkbookViews>":case"<customWorkbookViews":break;case"<customWorkbookView":case"</customWorkbookView>":break;case"<pivotCaches>":case"</pivotCaches>":case"<pivotCaches":case"<pivotCache":break;case"<smartTagPr":case"<smartTagPr/>":break;case"<smartTagTypes":case"<smartTagTypes>":case"</smartTagTypes>":case"<smartTagType":break;case"<webPublishing":case"<webPublishing/>":break;case"<fileRecoveryPr":case"<fileRecoveryPr/>":break;case"<webPublishObjects>":case"<webPublishObjects":case"</webPublishObjects>":case"<webPublishObject":break;case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<ext":n=!0;break;case"</ext>":n=!1;break;case"<ArchID":break;case"<AlternateContent":case"<AlternateContent>":n=!0;break;case"</AlternateContent>":n=!1;break;case"<revisionPtr":break;default:if(!n&&t.WTF)throw new Error("unrecognized "+l[0]+" in workbook")}return o})),-1===tt.main.indexOf(r.xmlns))throw new Error("Unknown Namespace: "+r.xmlns);return ac(r),r}(e,r)}function pc(e,t,r,n,a,s,i,o){return".bin"===t.slice(-4)?function(e,t,r,n,a,s,i){if(!e)return e;var o=t||{};n||(n={"!id":{}});var c,l,f,h,u,d,p,m,g,b,v=o.dense?[]:{},E={s:{r:2e6,c:2e6},e:{r:0,c:0}},S=[],w=!1,C=!1,B=[];o.biff=12,o["!row"]=0;var T=0,k=!1,_=[],x={},A=o.supbooks||a.supbooks||[[]];if(A.sharedf=x,A.arrayf=_,A.SheetNames=a.SheetNames||a.Sheets.map((function(e){return e.name})),!o.supbooks&&(o.supbooks=A,a.Names))for(var I=0;I<a.Names.length;++I)A[0][I+1]=a.Names[I];var y=[],F=[],D=!1;if(Wt(e,(function(e,t,I){if(!C)switch(I){case 148:c=e;break;case 0:l=e,o.sheetRows&&o.sheetRows<=l.r&&(C=!0),g=Yt(u=l.r),o["!row"]=l.r,(e.hidden||e.hpt||null!=e.level)&&(e.hpt&&(e.hpx=Bs(e.hpt)),F[e.r]=e);break;case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:switch(f={t:e[2]},e[2]){case"n":f.v=e[1];break;case"s":m=co[e[1]],f.v=m.t,f.r=m.r;break;case"b":f.v=!!e[1];break;case"e":f.v=e[1],!1!==o.cellText&&(f.w=Wr[f.v]);break;case"str":f.t="s",f.v=e[1]}if((h=i.CellXf[e[0].iStyleRef])&&go(f,h.numFmtId,null,o,s,i),d=e[0].c,o.dense?(v[u]||(v[u]=[]),v[u][d]=f):v[Jt(d)+g]=f,o.cellFormula){for(k=!1,T=0;T<_.length;++T){var O=_[T];l.r>=O[0].s.r&&l.r<=O[0].e.r&&d>=O[0].s.c&&d<=O[0].e.c&&(f.F=tr(O[0]),k=!0)}!k&&e.length>3&&(f.f=e[3])}if(E.s.r>l.r&&(E.s.r=l.r),E.s.c>d&&(E.s.c=d),E.e.r<l.r&&(E.e.r=l.r),E.e.c<d&&(E.e.c=d),o.cellDates&&h&&"n"==f.t&&R.is_date(R._table[h.numFmtId])){var P=R.parse_date_code(f.v);P&&(f.t="d",f.v=new Date(P.y,P.m-1,P.d,P.H,P.M,P.S,P.u))}break;case 1:if(!o.sheetStubs||w)break;f={t:"z",v:void 0},d=e[0].c,o.dense?(v[u]||(v[u]=[]),v[u][d]=f):v[Jt(d)+g]=f,E.s.r>l.r&&(E.s.r=l.r),E.s.c>d&&(E.s.c=d),E.e.r<l.r&&(E.e.r=l.r),E.e.c<d&&(E.e.c=d);break;case 176:B.push(e);break;case 494:var N=n["!id"][e.relId];for(N?(e.Target=N.Target,e.loc&&(e.Target+="#"+e.loc),e.Rel=N):""==e.relId&&(e.Target="#"+e.loc),u=e.rfx.s.r;u<=e.rfx.e.r;++u)for(d=e.rfx.s.c;d<=e.rfx.e.c;++d)o.dense?(v[u]||(v[u]=[]),v[u][d]||(v[u][d]={t:"z",v:void 0}),v[u][d].l=e):(p=qt({c:d,r:u}),v[p]||(v[p]={t:"z",v:void 0}),v[p].l=e);break;case 426:if(!o.cellFormula)break;_.push(e),(b=o.dense?v[u][d]:v[Jt(d)+g]).f=ji(e[1],0,{r:l.r,c:d},A,o),b.F=tr(e[0]);break;case 427:if(!o.cellFormula)break;x[qt(e[0].s)]=e[1],(b=o.dense?v[u][d]:v[Jt(d)+g]).f=ji(e[1],0,{r:l.r,c:d},A,o);break;case 60:if(!o.cellStyles)break;for(;e.e>=e.s;)y[e.e--]={width:e.w/256,hidden:!!(1&e.flags),level:e.level},D||(D=!0,Ss(e.w/256)),ws(y[e.e+1]);break;case 161:v["!autofilter"]={ref:tr(e)};break;case 476:v["!margins"]=e;break;case 147:a.Sheets[r]||(a.Sheets[r]={}),e.name&&(a.Sheets[r].CodeName=e.name);break;case 137:a.Views||(a.Views=[{}]),a.Views[0]||(a.Views[0]={}),e.RTL&&(a.Views[0].RTL=!0);break;case 485:break;case 64:case 1053:case 151:break;case 175:case 644:case 625:case 562:case 396:case 1112:case 1146:case 471:case 1050:case 649:case 1105:case 49:case 589:case 607:case 564:case 1055:case 168:case 174:case 1180:case 499:case 507:case 550:case 171:case 167:case 1177:case 169:case 1181:case 551:case 552:case 661:case 639:case 478:case 537:case 477:case 536:case 1103:case 680:case 1104:case 1024:case 152:case 663:case 535:case 678:case 504:case 1043:case 428:case 170:case 3072:case 50:case 2070:case 1045:break;case 35:w=!0;break;case 36:w=!1;break;case 37:S.push(t),w=!0;break;case 38:S.pop(),w=!1;break;default:if((t||"").indexOf("Begin")>0);else if((t||"").indexOf("End")>0);else if(!w||o.WTF)throw new Error("Unexpected record "+I+" "+t)}}),o),delete o.supbooks,delete o["!row"],!v["!ref"]&&(E.s.r<2e6||c&&(c.e.r>0||c.e.c>0||c.s.r>0||c.s.c>0))&&(v["!ref"]=tr(c||E)),o.sheetRows&&v["!ref"]){var O=rr(v["!ref"]);o.sheetRows<=+O.e.r&&(O.e.r=o.sheetRows-1,O.e.r>E.e.r&&(O.e.r=E.e.r),O.e.r<O.s.r&&(O.s.r=O.e.r),O.e.c>E.e.c&&(O.e.c=E.e.c),O.e.c<O.s.c&&(O.s.c=O.e.c),v["!fullref"]=v["!ref"],v["!ref"]=tr(O))}return B.length>0&&(v["!merges"]=B),y.length>0&&(v["!cols"]=y),F.length>0&&(v["!rows"]=F),v}(e,n,r,a,s,i,o):xo(e,n,r,a,s,i,o)}function mc(e,t,r,n,a,s,i,o){return".bin"===t.slice(-4)?function(e,t,r,n,a){if(!e)return e;n||(n={"!id":{}});var s={"!type":"chart","!drawel":null,"!rel":""},i=[],o=!1;return Wt(e,(function(e,n,c){switch(c){case 550:s["!rel"]=e;break;case 651:a.Sheets[r]||(a.Sheets[r]={}),e.name&&(a.Sheets[r].CodeName=e.name);break;case 562:case 652:case 669:case 679:case 551:case 552:case 476:case 3072:break;case 35:o=!0;break;case 36:o=!1;break;case 37:i.push(n);break;case 38:i.pop();break;default:if((n||"").indexOf("Begin")>0)i.push(n);else if((n||"").indexOf("End")>0)i.pop();else if(!o||t.WTF)throw new Error("Unexpected record "+c+" "+n)}}),t),n["!id"][s["!rel"]]&&(s["!drawel"]=n["!id"][s["!rel"]]),s}(e,n,r,a,s):function(e,t,r,n,a){if(!e)return e;n||(n={"!id":{}});var s,i={"!type":"chart","!drawel":null,"!rel":""},o=e.match(ko);return o&&Ao(o[0],0,a,r),(s=e.match(/drawing r:id="(.*?)"/))&&(i["!rel"]=s[1]),n["!id"][i["!rel"]]&&(i["!drawel"]=n["!id"][i["!rel"]]),i}(e,0,r,a,s)}function gc(e,t,r,n){return".bin"===t.slice(-4)?function(e,t,r){var n={NumberFmt:[]};for(var a in R._table)n.NumberFmt[a]=R._table[a];n.CellXf=[],n.Fonts=[];var s=[],i=!1;return Wt(e,(function(e,a,o){switch(o){case 44:n.NumberFmt[e[0]]=e[1],R.load(e[1],e[0]);break;case 43:n.Fonts.push(e),null!=e.color.theme&&t&&t.themeElements&&t.themeElements.clrScheme&&(e.color.rgb=ps(t.themeElements.clrScheme[e.color.theme].rgb,e.color.tint||0));break;case 1025:case 45:case 46:break;case 47:"BrtBeginCellXFs"==s[s.length-1]&&n.CellXf.push(e);break;case 48:case 507:case 572:case 475:break;case 1171:case 2102:case 1130:case 512:case 2095:case 3072:break;case 35:i=!0;break;case 36:i=!1;break;case 37:s.push(a),i=!0;break;case 38:s.pop(),i=!1;break;default:if((a||"").indexOf("Begin")>0)s.push(a);else if((a||"").indexOf("End")>0)s.pop();else if(!i||r.WTF&&"BrtACBegin"!=s[s.length-1])throw new Error("Unexpected record "+o+" "+a)}})),n}(e,r,n):xs(e,r,n)}function bc(e,t,r){return".bin"===t.slice(-4)?function(e,t){var r=[],n=!1;return Wt(e,(function(e,a,s){switch(s){case 159:r.Count=e[0],r.Unique=e[1];break;case 19:r.push(e);break;case 160:return!0;case 35:n=!0;break;case 36:n=!1;break;default:if(a.indexOf("Begin")>0||a.indexOf("End"),!n||t.WTF)throw new Error("Unexpected record "+s+" "+a)}})),r}(e,r):function(e,t){var r=[],n="";if(!e)return r;var a=e.match(ja);if(a){n=a[2].replace($a,"").split(Ka);for(var s=0;s!=n.length;++s){var i=za(n[s].trim(),t);null!=i&&(r[r.length]=i)}a=Be(a[1]),r.Count=a.count,r.Unique=a.uniqueCount}return r}(e,r)}function vc(e,t,r){return".bin"===t.slice(-4)?function(e,t){var r=[],n=[],a={},s=!1;return Wt(e,(function(e,i,o){switch(o){case 632:n.push(e);break;case 635:a=e;break;case 637:a.t=e.t,a.h=e.h,a.r=e.r;break;case 636:if(a.author=n[a.iauthor],delete a.iauthor,t.sheetRows&&a.rfx&&t.sheetRows<=a.rfx.r)break;a.t||(a.t=""),delete a.rfx,r.push(a);break;case 3072:break;case 35:s=!0;break;case 36:s=!1;break;case 37:case 38:break;default:if((i||"").indexOf("Begin")>0);else if((i||"").indexOf("End")>0);else if(!s||t.WTF)throw new Error("Unexpected record "+o+" "+i)}})),r}(e,r):function(e,t){if(e.match(/<(?:\w+:)?comments *\/>/))return[];var r=[],n=[],a=e.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/);a&&a[1]&&a[1].split(/<\/\w*:?author>/).forEach((function(e){if(""!==e&&""!==e.trim()){var t=e.match(/<(?:\w+:)?author[^>]*>(.*)/);t&&r.push(t[1])}}));var s=e.match(/<(?:\w+:)?commentList>([\s\S]*)<\/(?:\w+:)?commentList>/);return s&&s[1]&&s[1].split(/<\/\w*:?comment>/).forEach((function(e){if(""!==e&&""!==e.trim()){var a=e.match(/<(?:\w+:)?comment[^>]*>/);if(a){var s=Be(a[0]),i={author:s.authorId&&r[s.authorId]||"sheetjsghost",ref:s.ref,guid:s.guid},o=Zt(s.ref);if(!(t.sheetRows&&t.sheetRows<=o.r)){var c=e.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/),l=!!c&&!!c[1]&&za(c[1])||{r:"",t:"",h:""};i.r=l.r,"<t></t>"==l.r&&(l.t=l.h=""),i.t=l.t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),t.cellHTML&&(i.h=l.h),n.push(i)}}}})),n}(e,r)}function Ec(e,t,r){return".bin"===t.slice(-4)?function(e,t,r){var n=[];return Wt(e,(function(e,t,r){switch(r){case 63:n.push(e);break;default:if((t||"").indexOf("Begin")>0);else if(!((t||"").indexOf("End")>0))throw new Error("Unexpected record "+r+" "+t)}})),n}(e):function(e){var t=[];if(!e)return t;var r=1;return(e.match(Se)||[]).forEach((function(e){var n=Be(e);switch(n[0]){case"<?xml":break;case"<calcChain":case"<calcChain>":case"</calcChain>":break;case"<c":delete n[0],n.i?r=n.i:n.i=r,t.push(n)}})),t}(e)}function Sc(e,t,r,n){if(".bin"===r.slice(-4))return function(e,t,r,n){if(!e)return e;var a=n||{},s=!1;Wt(e,(function(e,t,r){switch(r){case 359:case 363:case 364:case 366:case 367:case 368:case 369:case 370:case 371:case 472:case 577:case 578:case 579:case 580:case 581:case 582:case 583:case 584:case 585:case 586:case 587:break;case 35:s=!0;break;case 36:s=!1;break;default:if((t||"").indexOf("Begin")>0);else if((t||"").indexOf("End")>0);else if(!s||a.WTF)throw new Error("Unexpected record "+r.toString(16)+" "+t)}}),a)}(e,0,0,n)}function wc(e,t,r){return(".bin"===t.slice(-4)?uc:fc)(e,r)}function Cc(e,t,r,n,a){return(".bin"===t.slice(-4)?Qo:Po)(e,r,n,a)}function Bc(e,t,r){return(".bin"===t.slice(-4)?Za:Qa)(e,r)}function Tc(e,t,r){return(".bin"===t.slice(-4)?si:ni)(e,r)}var kc=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g,_c=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;function xc(e,t){var r=e.split(/\s+/),n=[];if(t||(n[0]=r[0]),1===r.length)return n;var a,s,i,o=e.match(kc);if(o)for(i=0;i!=o.length;++i)-1===(s=(a=o[i].match(_c))[1].indexOf(":"))?n[a[1]]=a[2].slice(1,a[2].length-1):n["xmlns:"===a[1].slice(0,6)?"xmlns"+a[1].slice(6):a[1].slice(s+1)]=a[2].slice(1,a[2].length-1);return n}function Ac(e){var t={};if(1===e.split(/\s+/).length)return t;var r,n,a,s=e.match(kc);if(s)for(a=0;a!=s.length;++a)-1===(n=(r=s[a].match(_c))[1].indexOf(":"))?t[r[1]]=r[2].slice(1,r[2].length-1):t["xmlns:"===r[1].slice(0,6)?"xmlns"+r[1].slice(6):r[1].slice(n+1)]=r[2].slice(1,r[2].length-1);return t}function Ic(e,t,r,n){var a=n;switch((r[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":a=Ne(n);break;case"i2":case"int":a=parseInt(n,10);break;case"r4":case"float":a=parseFloat(n);break;case"date":case"dateTime.tz":a=te(n);break;case"i8":case"string":case"fixed":case"uuid":case"bin.base64":break;default:throw new Error("bad custprop:"+r[0])}e[xe(t)]=a}function yc(e,t,r){if("z"!==e.t){if(!r||!1!==r.cellText)try{"e"===e.t?e.w=e.w||Wr[e.v]:"General"===t?"n"===e.t?(0|e.v)===e.v?e.w=R._general_int(e.v):e.w=R._general_num(e.v):e.w=R._general(e.v):e.w=function(e,t){var r=O[e]||xe(e);return"General"===r?R._general(t):R.format(r,t)}(t||"General",e.v)}catch(lf){if(r.WTF)throw lf}try{var n=O[t]||t||"General";if(r.cellNF&&(e.z=n),r.cellDates&&"n"==e.t&&R.is_date(n)){var a=R.parse_date_code(e.v);a&&(e.t="d",e.v=new Date(a.y,a.m-1,a.d,a.H,a.M,a.S,a.u))}}catch(lf){if(r.WTF)throw lf}}}function Rc(e,t,r){if(r.cellStyles&&t.Interior){var n=t.Interior;n.Pattern&&(n.patternType=Ts[n.Pattern]||n.Pattern)}e[t.ID]=t}function Fc(e,t,r,n,a,s,i,o,c,l){var f="General",h=n.StyleID,u={};l=l||{};var d=[],p=0;for(void 0===h&&o&&(h=o.StyleID),void 0===h&&i&&(h=i.StyleID);void 0!==s[h]&&(s[h].nf&&(f=s[h].nf),s[h].Interior&&d.push(s[h].Interior),s[h].Parent);)h=s[h].Parent;switch(r.Type){case"Boolean":n.t="b",n.v=Ne(e);break;case"String":n.t="s",n.r=Oe(xe(e)),n.v=e.indexOf("<")>-1?xe(t||e).replace(/<.*?>/g,""):n.r;break;case"DateTime":"Z"!=e.slice(-1)&&(e+="Z"),n.v=(te(e)-new Date(Date.UTC(1899,11,30)))/864e5,n.v!==n.v?n.v=xe(e):n.v<60&&(n.v=n.v-1),f&&"General"!=f||(f="yyyy-mm-dd");case"Number":void 0===n.v&&(n.v=+e),n.t||(n.t="n");break;case"Error":n.t="e",n.v=Vr[e],!1!==l.cellText&&(n.w=e);break;default:""==e&&""==t?n.t="z":(n.t="s",n.v=Oe(t||e))}if(yc(n,f,l),!1!==l.cellFormula)if(n.Formula){var m=xe(n.Formula);61==m.charCodeAt(0)&&(m=m.slice(1)),n.f=oi(m,a),delete n.Formula,"RC"==n.ArrayRange?n.F=oi("RC:RC",a):n.ArrayRange&&(n.F=oi(n.ArrayRange,a),c.push([rr(n.F),n.F]))}else for(p=0;p<c.length;++p)a.r>=c[p][0].s.r&&a.r<=c[p][0].e.r&&a.c>=c[p][0].s.c&&a.c<=c[p][0].e.c&&(n.F=c[p][1]);l.cellStyles&&(d.forEach((function(e){!u.patternType&&e.patternType&&(u.patternType=e.patternType)})),n.s=u),void 0!==n.StyleID&&(n.ixfe=n.StyleID)}function Dc(e){e.t=e.v||"",e.t=e.t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),e.v=e.w=e.ixfe=void 0}function Oc(e){if(E&&a.isBuffer(e))return e.toString("utf8");if("string"===typeof e)return e;if("undefined"!==typeof Uint8Array&&e instanceof Uint8Array)return Me(_(x(e)));throw new Error("Bad input format: expected Buffer or string")}var Pc=/<(\/?)([^\s?><!\/:]*:|)([^\s?<>:\/]+)(?:[\s?:\/][^>]*)?>/gm;function Nc(e,t){var r=t||{};F(R);var n=m(Oc(e));"binary"!=r.type&&"array"!=r.type&&"base64"!=r.type||(n="undefined"!==typeof cptable?cptable.utils.decode(65001,p(n)):Me(n));var a,s=n.slice(0,1024).toLowerCase(),i=!1;if(-1==s.indexOf("<?xml")&&["html","table","head","meta","script","style","div"].forEach((function(e){s.indexOf("<"+e)>=0&&(i=!0)})),i)return dl.to_workbook(n,r);var o,c=[];var l,f={},h=[],u=r.dense?[]:{},d="",g={},b={},v=xc('<Data ss:Type="String">'),E=0,S=0,w=0,C={s:{r:2e6,c:2e6},e:{r:0,c:0}},B={},T={},k="",_=0,x=[],A={},I={},y=0,D=[],P=[],N={},M=[],L=!1,U=[],H=[],W={},V=0,X=0,G={Sheets:[],WBProps:{date1904:!1}},z={};Pc.lastIndex=0,n=n.replace(/<!--([\s\S]*?)-->/gm,"");for(var j="";a=Pc.exec(n);)switch(a[3]=(j=a[3]).toLowerCase()){case"data":if("data"==j){if("/"===a[1]){if((o=c.pop())[0]!==a[3])throw new Error("Bad state: "+o.join("|"))}else"/"!==a[0].charAt(a[0].length-2)&&c.push([a[3],!0]);break}if(c[c.length-1][1])break;"/"===a[1]?Fc(n.slice(E,a.index),k,v,"comment"==c[c.length-1][0]?N:g,{c:S,r:w},B,M[S],b,U,r):(k="",v=xc(a[0]),E=a.index+a[0].length);break;case"cell":if("/"===a[1])if(P.length>0&&(g.c=P),(!r.sheetRows||r.sheetRows>w)&&void 0!==g.v&&(r.dense?(u[w]||(u[w]=[]),u[w][S]=g):u[Jt(S)+Yt(w)]=g),g.HRef&&(g.l={Target:g.HRef},g.HRefScreenTip&&(g.l.Tooltip=g.HRefScreenTip),delete g.HRef,delete g.HRefScreenTip),(g.MergeAcross||g.MergeDown)&&(V=S+(0|parseInt(g.MergeAcross,10)),X=w+(0|parseInt(g.MergeDown,10)),x.push({s:{c:S,r:w},e:{c:V,r:X}})),r.sheetStubs)if(g.MergeAcross||g.MergeDown){for(var $=S;$<=V;++$)for(var K=w;K<=X;++K)($>S||K>w)&&(r.dense?(u[K]||(u[K]=[]),u[K][$]={t:"z"}):u[Jt($)+Yt(K)]={t:"z"});S=V+1}else++S;else g.MergeAcross?S=V+1:++S;else(g=Ac(a[0])).Index&&(S=+g.Index-1),S<C.s.c&&(C.s.c=S),S>C.e.c&&(C.e.c=S),"/>"===a[0].slice(-2)&&++S,P=[];break;case"row":"/"===a[1]||"/>"===a[0].slice(-2)?(w<C.s.r&&(C.s.r=w),w>C.e.r&&(C.e.r=w),"/>"===a[0].slice(-2)&&(b=xc(a[0])).Index&&(w=+b.Index-1),S=0,++w):((b=xc(a[0])).Index&&(w=+b.Index-1),W={},("0"==b.AutoFitHeight||b.Height)&&(W.hpx=parseInt(b.Height,10),W.hpt=Cs(W.hpx),H[w]=W),"1"==b.Hidden&&(W.hidden=!0,H[w]=W));break;case"worksheet":if("/"===a[1]){if((o=c.pop())[0]!==a[3])throw new Error("Bad state: "+o.join("|"));h.push(d),C.s.r<=C.e.r&&C.s.c<=C.e.c&&(u["!ref"]=tr(C),r.sheetRows&&r.sheetRows<=C.e.r&&(u["!fullref"]=u["!ref"],C.e.r=r.sheetRows-1,u["!ref"]=tr(C))),x.length&&(u["!merges"]=x),M.length>0&&(u["!cols"]=M),H.length>0&&(u["!rows"]=H),f[d]=u}else C={s:{r:2e6,c:2e6},e:{r:0,c:0}},w=S=0,c.push([a[3],!1]),o=xc(a[0]),d=xe(o.Name),u=r.dense?[]:{},x=[],U=[],H=[],z={name:d,Hidden:0},G.Sheets.push(z);break;case"table":if("/"===a[1]){if((o=c.pop())[0]!==a[3])throw new Error("Bad state: "+o.join("|"))}else{if("/>"==a[0].slice(-2))break;xc(a[0]),c.push([a[3],!1]),M=[],L=!1}break;case"style":"/"===a[1]?Rc(B,T,r):T=xc(a[0]);break;case"numberformat":T.nf=xe(xc(a[0]).Format||"General"),O[T.nf]&&(T.nf=O[T.nf]);for(var Y=0;392!=Y&&R._table[Y]!=T.nf;++Y);if(392==Y)for(Y=57;392!=Y;++Y)if(null==R._table[Y]){R.load(T.nf,Y);break}break;case"column":if("table"!==c[c.length-1][0])break;if((l=xc(a[0])).Hidden&&(l.hidden=!0,delete l.Hidden),l.Width&&(l.wpx=parseInt(l.Width,10)),!L&&l.wpx>10){L=!0,ms=6;for(var Q=0;Q<M.length;++Q)M[Q]&&ws(M[Q])}L&&ws(l),M[l.Index-1||M.length]=l;for(var J=0;J<+l.Span;++J)M[M.length]=ne(l);break;case"namedrange":if("/"===a[1])break;G.Names||(G.Names=[]);var Z=Be(a[0]),q={Name:Z.Name,Ref:oi(Z.RefersTo.slice(1),{r:0,c:0})};G.Sheets.length>0&&(q.Sheet=G.Sheets.length-1),G.Names.push(q);break;case"namedcell":case"b":case"i":case"u":case"s":case"em":case"h2":case"h3":case"sub":case"sup":case"span":case"alignment":case"borders":case"border":break;case"font":if("/>"===a[0].slice(-2))break;"/"===a[1]?k+=n.slice(_,a.index):_=a.index+a[0].length;break;case"interior":if(!r.cellStyles)break;T.Interior=xc(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]?bn(A,j,n.slice(y,a.index)):y=a.index+a[0].length;break;case"paragraphs":break;case"styles":case"workbook":if("/"===a[1]){if((o=c.pop())[0]!==a[3])throw new Error("Bad state: "+o.join("|"))}else c.push([a[3],!1]);break;case"comment":if("/"===a[1]){if((o=c.pop())[0]!==a[3])throw new Error("Bad state: "+o.join("|"));Dc(N),P.push(N)}else c.push([a[3],!1]),N={a:(o=xc(a[0])).Author};break;case"autofilter":if("/"===a[1]){if((o=c.pop())[0]!==a[3])throw new Error("Bad state: "+o.join("|"))}else if("/"!==a[0].charAt(a[0].length-2)){var ee=xc(a[0]);u["!autofilter"]={ref:oi(ee.Range).replace(/\$/g,"")},c.push([a[3],!0])}break;case"name":break;case"datavalidation":if("/"===a[1]){if((o=c.pop())[0]!==a[3])throw new Error("Bad state: "+o.join("|"))}else"/"!==a[0].charAt(a[0].length-2)&&c.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((o=c.pop())[0]!==a[3])throw new Error("Bad state: "+o.join("|"))}else"/"!==a[0].charAt(a[0].length-2)&&c.push([a[3],!0]);break;default:if(0==c.length&&"document"==a[3])return El(n,r);if(0==c.length&&"uof"==a[3])return El(n,r);var te=!0;switch(c[c.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":G.WBProps.date1904=!0;break;case"windowheight":case"windowwidth":case"windowtopx":case"windowtopy":case"tabratio":case"protectstructure":case"protectwindow":case"protectwindows":case"activesheet":case"displayinknotes":case"firstvisiblesheet":case"supbook":case"sheetname":case"sheetindex":case"sheetindexfirst":case"sheetindexlast":case"dll":case"acceptlabelsinformulas":case"donotsavelinkvalues":case"iteration":case"maxiterations":case"maxchange":case"path":case"xct":case"count":case"selectedsheets":case"calculation":case"uncalced":case"startupprompt":case"crn":case"externname":case"formula":case"colfirst":case"collast":case"wantadvise":case"boolean":case"error":case"text":case"ole":case"noautorecover":case"publishobjects":case"donotcalculatebeforesave":case"number":case"refmoder1c1":case"embedsavesmarttags":break;default: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));else if("/"===a[1])switch(n.slice(y,a.index)){case"SheetHidden":z.Hidden=1;break;case"SheetVeryHidden":z.Hidden=2}else y=a.index+a[0].length;break;case"header":u["!margins"]||po(u["!margins"]={},"xlml"),u["!margins"].header=Be(a[0]).Margin;break;case"footer":u["!margins"]||po(u["!margins"]={},"xlml"),u["!margins"].footer=Be(a[0]).Margin;break;case"pagemargins":var re=Be(a[0]);u["!margins"]||po(u["!margins"]={},"xlml"),re.Top&&(u["!margins"].top=re.Top),re.Left&&(u["!margins"].left=re.Left),re.Right&&(u["!margins"].right=re.Right),re.Bottom&&(u["!margins"].bottom=re.Bottom);break;case"displayrighttoleft":G.Views||(G.Views=[]),G.Views[0]||(G.Views[0]={}),G.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"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":case"nosummaryrowsbelowdetail":case"tabcolorindex":case"donotdisplayheadings":case"showpagelayoutzoom":case"nosummarycolumnsrightdetail":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(!c[c.length-1][1])throw"Unrecognized tag: "+a[3]+"|"+c.join("|");if("customdocumentproperties"===c[c.length-1][0]){if("/>"===a[0].slice(-2))break;"/"===a[1]?Ic(I,j,D,n.slice(y,a.index)):(D=a,y=a.index+a[0].length);break}if(r.WTF)throw"Unrecognized tag: "+a[3]+"|"+c.join("|")}var ae={};return r.bookSheets||r.bookProps||(ae.Sheets=f),ae.SheetNames=h,ae.Workbook=G,ae.SSF=R.get_table(),ae.Props=A,ae.Custprops=I,ae}function Mc(e,t){switch(Ol(t=t||{}),t.type||"base64"){case"base64":return Nc(v.decode(e),t);case"binary":case"buffer":case"file":return Nc(e,t);case"array":return Nc(_(e),t)}}function Lc(e,t){var r=[];return e.Props&&r.push(function(e,t){var r=[];return W(mn).map((function(e){for(var t=0;t<nn.length;++t)if(nn[t][1]==e)return nn[t];for(t=0;t<ln.length;++t)if(ln[t][1]==e)return ln[t];throw e})).forEach((function(n){if(null!=e[n[1]]){var a=t&&t.Props&&null!=t.Props[n[1]]?t.Props[n[1]]:e[n[1]];switch(n[2]){case"date":a=new Date(a).toISOString().replace(/\.\d*Z/,"Z")}"number"==typeof a?a=String(a):!0===a||!1===a?a=a?"1":"0":a instanceof Date&&(a=new Date(a).toISOString().replace(/\.\d*Z/,"")),r.push(Ye(mn[n[1]]||n[1],a))}})),Je("DocumentProperties",r.join(""),{xmlns:rt})}(e.Props,t)),e.Custprops&&r.push(function(e,t){var r=["Worksheets","SheetNames"],n="CustomDocumentProperties",a=[];return e&&W(e).forEach((function(t){if(Object.prototype.hasOwnProperty.call(e,t)){for(var n=0;n<nn.length;++n)if(t==nn[n][1])return;for(n=0;n<ln.length;++n)if(t==ln[n][1])return;for(n=0;n<r.length;++n)if(t==r[n])return;var s=e[t],i="string";"number"==typeof s?(i="float",s=String(s)):!0===s||!1===s?(i="boolean",s=s?"1":"0"):s=String(s),a.push(Je(Re(t),s,{"dt:dt":i}))}})),t&&W(t).forEach((function(r){if(Object.prototype.hasOwnProperty.call(t,r)&&(!e||!Object.prototype.hasOwnProperty.call(e,r))){var n=t[r],s="string";"number"==typeof n?(s="float",n=String(n)):!0===n||!1===n?(s="boolean",n=n?"1":"0"):n instanceof Date?(s="dateTime.tz",n=n.toISOString()):n=String(n),a.push(Je(Re(r),n,{"dt:dt":s}))}})),"<"+n+' xmlns="'+rt+'">'+a.join("")+"</"+n+">"}(e.Props,e.Custprops)),r.join("")}function Uc(e){return Je("NamedRange",null,{"ss:Name":e.Name,"ss:RefersTo":"="+li(e.Ref,{r:0,c:0})})}function Hc(e,t,r,n,a,s,i){if(!e||void 0==e.v&&void 0==e.f)return"";var o={};if(e.f&&(o["ss:Formula"]="="+ye(li(e.f,i))),e.F&&e.F.slice(0,t.length)==t){var c=Zt(e.F.slice(t.length+1));o["ss:ArrayRange"]="RC:R"+(c.r==i.r?"":"["+(c.r-i.r)+"]")+"C"+(c.c==i.c?"":"["+(c.c-i.c)+"]")}if(e.l&&e.l.Target&&(o["ss:HRef"]=ye(e.l.Target),e.l.Tooltip&&(o["x:HRefScreenTip"]=ye(e.l.Tooltip))),r["!merges"])for(var l=r["!merges"],f=0;f!=l.length;++f)l[f].s.c==i.c&&l[f].s.r==i.r&&(l[f].e.c>l[f].s.c&&(o["ss:MergeAcross"]=l[f].e.c-l[f].s.c),l[f].e.r>l[f].s.r&&(o["ss:MergeDown"]=l[f].e.r-l[f].s.r));var h="",u="";switch(e.t){case"z":if(!n.sheetStubs)return"";break;case"n":h="Number",u=String(e.v);break;case"b":h="Boolean",u=e.v?"1":"0";break;case"e":h="Error",u=Wr[e.v];break;case"d":h="DateTime",u=new Date(e.v).toISOString(),null==e.z&&(e.z=e.z||R._table[14]);break;case"s":h="String",u=((e.v||"")+"").replace(Ae,(function(e){return _e[e]})).replace(Fe,(function(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}))}var d=mo(n.cellXfs,e,n);o["ss:StyleID"]="s"+(21+d),o["ss:Index"]=i.c+1;var p=null!=e.v?u:"",m="z"==e.t?"":'<Data ss:Type="'+h+'">'+p+"</Data>";return(e.c||[]).length>0&&(m+=e.c.map((function(e){var t=Je("ss:Data",Pe(e.t||""),{xmlns:"http://www.w3.org/TR/REC-html40"});return Je("Comment",t,{"ss:Author":e.a})})).join("")),Je("Cell",m,o)}function Wc(e,t){var r='<Row ss:Index="'+(e+1)+'"';return t&&(t.hpt&&!t.hpx&&(t.hpx=Bs(t.hpt)),t.hpx&&(r+=' ss:AutoFitHeight="0" ss:Height="'+t.hpx+'"'),t.hidden&&(r+=' ss:Hidden="1"')),r+">"}function Vc(e,t,r){var n=[],a=r.SheetNames[e],s=r.Sheets[a],i=s?function(e,t,r,n){if(!e)return"";if(!((n||{}).Workbook||{}).Names)return"";for(var a=n.Workbook.Names,s=[],i=0;i<a.length;++i){var o=a[i];o.Sheet==r&&(o.Name.match(/^_xlfn\./)||s.push(Uc(o)))}return s.join("")}(s,0,e,r):"";return i.length>0&&n.push("<Names>"+i+"</Names>"),(i=s?function(e,t,r,n){if(!e["!ref"])return"";var a=rr(e["!ref"]),s=e["!merges"]||[],i=0,o=[];e["!cols"]&&e["!cols"].forEach((function(e,t){ws(e);var r=!!e.width,n=uo(t,e),a={"ss:Index":t+1};r&&(a["ss:Width"]=gs(n.width)),e.hidden&&(a["ss:Hidden"]="1"),o.push(Je("Column",null,a))}));for(var c=Array.isArray(e),l=a.s.r;l<=a.e.r;++l){for(var f=[Wc(l,(e["!rows"]||[])[l])],h=a.s.c;h<=a.e.c;++h){var u=!1;for(i=0;i!=s.length;++i)if(!(s[i].s.c>h)&&!(s[i].s.r>l)&&!(s[i].e.c<h)&&!(s[i].e.r<l)){s[i].s.c==h&&s[i].s.r==l||(u=!0);break}if(!u){var d={r:l,c:h},p=qt(d),m=c?(e[l]||[])[h]:e[p];f.push(Hc(m,p,e,t,0,0,d))}}f.push("</Row>"),f.length>2&&o.push(f.join(""))}return o.join("")}(s,t):"").length>0&&n.push("<Table>"+i+"</Table>"),n.push(function(e,t,r,n){if(!e)return"";var a=[];if(e["!margins"]&&(a.push("<PageSetup>"),e["!margins"].header&&a.push(Je("Header",null,{"x:Margin":e["!margins"].header})),e["!margins"].footer&&a.push(Je("Footer",null,{"x:Margin":e["!margins"].footer})),a.push(Je("PageMargins",null,{"x:Bottom":e["!margins"].bottom||"0.75","x:Left":e["!margins"].left||"0.7","x:Right":e["!margins"].right||"0.7","x:Top":e["!margins"].top||"0.75"})),a.push("</PageSetup>")),n&&n.Workbook&&n.Workbook.Sheets&&n.Workbook.Sheets[r])if(n.Workbook.Sheets[r].Hidden)a.push(Je("Visible",1==n.Workbook.Sheets[r].Hidden?"SheetHidden":"SheetVeryHidden",{}));else{for(var s=0;s<r&&(!n.Workbook.Sheets[s]||n.Workbook.Sheets[s].Hidden);++s);s==r&&a.push("<Selected/>")}return((((n||{}).Workbook||{}).Views||[])[0]||{}).RTL&&a.push("<DisplayRightToLeft/>"),e["!protect"]&&(a.push(Ye("ProtectContents","True")),e["!protect"].objects&&a.push(Ye("ProtectObjects","True")),e["!protect"].scenarios&&a.push(Ye("ProtectScenarios","True")),null==e["!protect"].selectLockedCells||e["!protect"].selectLockedCells?null==e["!protect"].selectUnlockedCells||e["!protect"].selectUnlockedCells||a.push(Ye("EnableSelection","UnlockedCells")):a.push(Ye("EnableSelection","NoSelection")),[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","AllowSizeRows"],["insertColumns","AllowInsertCols"],["insertRows","AllowInsertRows"],["insertHyperlinks","AllowInsertHyperlinks"],["deleteColumns","AllowDeleteCols"],["deleteRows","AllowDeleteRows"],["sort","AllowSort"],["autoFilter","AllowFilter"],["pivotTables","AllowUsePivotTables"]].forEach((function(t){e["!protect"][t[0]]&&a.push("<"+t[1]+"/>")}))),0==a.length?"":Je("WorksheetOptions",a.join(""),{xmlns:nt})}(s,0,e,r)),n.join("")}function Xc(e,t){t||(t={}),e.SSF||(e.SSF=R.get_table()),e.SSF&&(F(R),R.load_table(e.SSF),t.revssf=G(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF,t.cellXfs=[],mo(t.cellXfs,{},{revssf:{General:0}}));var r=[];r.push(Lc(e,t)),r.push(""),r.push(""),r.push("");for(var n=0;n<e.SheetNames.length;++n)r.push(Je("Worksheet",Vc(n,t,e),{"ss:Name":ye(e.SheetNames[n])}));return r[2]=function(e,t){var r=['<Style ss:ID="Default" ss:Name="Normal"><NumberFormat/></Style>'];return t.cellXfs.forEach((function(e,t){var n=[];n.push(Je("NumberFormat",null,{"ss:Format":ye(R._table[e.numFmtId])}));var a={"ss:ID":"s"+(21+t)};r.push(Je("Style",n.join(""),a))})),Je("Styles",r.join(""))}(0,t),r[3]=function(e){if(!((e||{}).Workbook||{}).Names)return"";for(var t=e.Workbook.Names,r=[],n=0;n<t.length;++n){var a=t[n];null==a.Sheet&&(a.Name.match(/^_xlfn\./)||r.push(Uc(a)))}return Je("Names",r.join(""))}(e),ve+Je("Workbook",r.join(""),{xmlns:at,"xmlns:o":rt,"xmlns:x":nt,"xmlns:ss":at,"xmlns:dt":st,"xmlns:html":ct})}function Gc(e){var t={},r=e.content;if(r.l=28,t.AnsiUserType=r.read_shift(0,"lpstr-ansi"),t.AnsiClipboardFormat=function(e){return Rr(e,1)}(r),r.length-r.l<=4)return t;var n=r.read_shift(4);return 0==n||n>40?t:(r.l-=4,t.Reserved1=r.read_shift(0,"lpstr-ansi"),r.length-r.l<=4||1907505652!==(n=r.read_shift(4))?t:(t.UnicodeClipboardFormat=function(e){return Rr(e,2)}(r),0==(n=r.read_shift(4))||n>40?t:(r.l-=4,void(t.Reserved2=r.read_shift(0,"lpwstr")))))}function zc(e,t,r,n){var a=r,s=[],i=t.slice(t.l,t.l+a);if(n&&n.enc&&n.enc.insitu)switch(e.n){case"BOF":case"FilePass":case"FileLock":case"InterfaceHdr":case"RRDInfo":case"RRDHead":case"UsrExcl":break;default:if(0===i.length)break;n.enc.insitu(i)}s.push(i),t.l+=a;for(var o=rl[It(t,t.l)],c=0;null!=o&&"Continue"===o.n.slice(0,8);)a=It(t,t.l+2),c=t.l+4,"ContinueFrt"==o.n?c+=4:"ContinueFrt"==o.n.slice(0,11)&&(c+=12),s.push(t.slice(c,t.l+4+a)),t.l+=4+a,o=rl[It(t,t.l)];var l=A(s);Lt(l,0);var f=0;l.lens=[];for(var h=0;h<s.length;++h)l.lens.push(f),f+=s[h].length;return e.f(l,l.length,n)}function jc(e,t,r){if("z"!==e.t&&e.XF){var n=0;try{n=e.z||e.XF.numFmtId||0,t.cellNF&&(e.z=R._table[n])}catch(lf){if(t.WTF)throw lf}if(!t||!1!==t.cellText)try{"e"===e.t?e.w=e.w||Wr[e.v]:0===n||"General"==n?"n"===e.t?(0|e.v)===e.v?e.w=R._general_int(e.v):e.w=R._general_num(e.v):e.w=R._general(e.v):e.w=R.format(n,e.v,{date1904:!!r})}catch(lf){if(t.WTF)throw lf}if(t.cellDates&&n&&"n"==e.t&&R.is_date(R._table[n]||String(n))){var a=R.parse_date_code(e.v);a&&(e.t="d",e.v=new Date(a.y,a.m-1,a.d,a.H,a.M,a.S,a.u))}}}function $c(e,t,r){return{v:e,ixfe:t,t:r}}function Kc(e,t){var r={opts:{}},n={};var a,s,i,o,c,l,f,h,d=t.dense?[]:{},p={},m={},g=null,b=[],v="",E={},S="",w={},C=[],B=!0,T=[],k=[],_={Sheets:[],WBProps:{date1904:!1},Views:[{}]},x={},A=function(e){return e<8?Hr[e]:e<64&&k[e-8]||Hr[e]},I=function(e,t,r){if(!(H>1)&&(r.sheetRows&&e.r>=r.sheetRows&&(B=!1),B)){if(r.cellStyles&&t.XF&&t.XF.data&&function(e,t,r){var n,a=t.XF.data;a&&a.patternType&&r&&r.cellStyles&&(t.s={},t.s.patternType=a.patternType,(n=ds(A(a.icvFore)))&&(t.s.fgColor={rgb:n}),(n=ds(A(a.icvBack)))&&(t.s.bgColor={rgb:n}))}(0,t,r),delete t.ixfe,delete t.XF,a=e,S=qt(e),m&&m.s&&m.e||(m={s:{r:0,c:0},e:{r:0,c:0}}),e.r<m.s.r&&(m.s.r=e.r),e.c<m.s.c&&(m.s.c=e.c),e.r+1>m.e.r&&(m.e.r=e.r+1),e.c+1>m.e.c&&(m.e.c=e.c+1),r.cellFormula&&t.f)for(var n=0;n<C.length;++n)if(!(C[n][0].s.c>e.c||C[n][0].s.r>e.r)&&!(C[n][0].e.c<e.c||C[n][0].e.r<e.r)){t.F=tr(C[n][0]),C[n][0].s.c==e.c&&C[n][0].s.r==e.r||delete t.f,t.f&&(t.f=""+ji(C[n][1],0,e,M,y));break}r.dense?(d[e.r]||(d[e.r]=[]),d[e.r][e.c]=t):d[S]=t}},y={enc:!1,sbcch:0,snames:[],sharedf:w,arrayf:C,rrtabid:[],lastuser:"",biff:8,codepage:0,winlocked:0,cellStyles:!!t&&!!t.cellStyles,WTF:!!t&&!!t.wtf};t.password&&(y.password=t.password);var F=[],D=[],O=[],P=[],N=!1,M=[];M.SheetNames=y.snames,M.sharedf=y.sharedf,M.arrayf=y.arrayf,M.names=[],M.XTI=[];var L,U="",H=0,V=0,X=[],G=[];y.codepage=1200,u(1200);for(var z=!1;e.l<e.length-1;){var j=e.l,$=e.read_shift(2);if(0===$&&"EOF"===U)break;var K=e.l===e.length?0:e.read_shift(2),Y=rl[$];if(Y&&Y.f){if(t.bookSheets&&"BoundSheet8"===U&&"BoundSheet8"!==Y.n)break;if(U=Y.n,2===Y.r||12==Y.r){var Q=e.read_shift(2);if(K-=2,!y.enc&&Q!==$&&((255&Q)<<8|Q>>8)!==$)throw new Error("rt mismatch: "+Q+"!="+$);12==Y.r&&(e.l+=10,K-=10)}var J={};J="EOF"===Y.n?Y.f(e,K,y):zc(Y,e,K,y);var Z=Y.n;if(0==H&&"BOF"!=Z)continue;switch(Z){case"Date1904":r.opts.Date1904=_.WBProps.date1904=J;break;case"WriteProtect":r.opts.WriteProtect=!0;break;case"FilePass":if(y.enc||(e.l=0),y.enc=J,!t.password)throw new Error("File is password-protected");if(null==J.valid)throw new Error("Encryption scheme unsupported");if(!J.valid)throw new Error("Password is incorrect");break;case"WriteAccess":y.lastuser=J;break;case"FileSharing":break;case"CodePage":var q=Number(J);switch(q){case 21010:q=1200;break;case 32768:q=1e4;break;case 32769:q=1252}u(y.codepage=q),z=!0;break;case"RRTabId":y.rrtabid=J;break;case"WinProtect":y.winlocked=J;break;case"Template":case"BookBool":case"UsesELFs":case"MTRSettings":break;case"RefreshAll":case"CalcCount":case"CalcDelta":case"CalcIter":case"CalcMode":case"CalcPrecision":case"CalcSaveRecalc":r.opts[Z]=J;break;case"CalcRefMode":y.CalcRefMode=J;break;case"Uncalced":break;case"ForceFullCalculation":r.opts.FullCalc=J;break;case"WsBool":J.fDialog&&(d["!type"]="dialog");break;case"XF":T.push(J);break;case"ExtSST":case"BookExt":case"RichTextStream":case"BkHim":break;case"SupBook":M.push([J]),M[M.length-1].XTI=[];break;case"ExternName":M[M.length-1].push(J);break;case"Index":break;case"Lbl":L={Name:J.Name,Ref:ji(J.rgce,0,null,M,y)},J.itab>0&&(L.Sheet=J.itab-1),M.names.push(L),M[0]||(M[0]=[],M[0].XTI=[]),M[M.length-1].push(J),"_xlnm._FilterDatabase"==J.Name&&J.itab>0&&J.rgce&&J.rgce[0]&&J.rgce[0][0]&&"PtgArea3d"==J.rgce[0][0][0]&&(G[J.itab-1]={ref:tr(J.rgce[0][0][1][2])});break;case"ExternCount":y.ExternCount=J;break;case"ExternSheet":0==M.length&&(M[0]=[],M[0].XTI=[]),M[M.length-1].XTI=M[M.length-1].XTI.concat(J),M.XTI=M.XTI.concat(J);break;case"NameCmt":if(y.biff<8)break;null!=L&&(L.Comment=J[1]);break;case"Protect":d["!protect"]=J;break;case"Password":0!==J&&y.WTF&&console.error("Password verifier: "+J);break;case"Prot4Rev":case"Prot4RevPass":break;case"BoundSheet8":p[J.pos]=J,y.snames.push(J.name);break;case"EOF":if(--H)break;if(m.e){if(m.e.r>0&&m.e.c>0){if(m.e.r--,m.e.c--,d["!ref"]=tr(m),t.sheetRows&&t.sheetRows<=m.e.r){var ee=m.e.r;m.e.r=t.sheetRows-1,d["!fullref"]=d["!ref"],d["!ref"]=tr(m),m.e.r=ee}m.e.r++,m.e.c++}F.length>0&&(d["!merges"]=F),D.length>0&&(d["!objects"]=D),O.length>0&&(d["!cols"]=O),P.length>0&&(d["!rows"]=P),_.Sheets.push(x)}""===v?E=d:n[v]=d,d=t.dense?[]:{};break;case"BOF":if(8===y.biff&&(y.biff={9:2,521:3,1033:4}[$]||{512:2,768:3,1024:4,1280:5,1536:8,2:2,7:2}[J.BIFFVer]||8),8==y.biff&&0==J.BIFFVer&&16==J.dt&&(y.biff=2),H++)break;if(B=!0,d=t.dense?[]:{},y.biff<8&&!z&&(z=!0,u(y.codepage=t.codepage||1252)),y.biff<5){""===v&&(v="Sheet1"),m={s:{r:0,c:0},e:{r:0,c:0}};var te={pos:e.l-K,name:v};p[te.pos]=te,y.snames.push(v)}else v=(p[j]||{name:""}).name;32==J.dt&&(d["!type"]="chart"),64==J.dt&&(d["!type"]="macro"),F=[],D=[],y.arrayf=C=[],O=[],P=[],0,N=!1,x={Hidden:(p[j]||{hs:0}).hs,name:v};break;case"Number":case"BIFF2NUM":case"BIFF2INT":"chart"==d["!type"]&&(t.dense?(d[J.r]||[])[J.c]:d[qt({c:J.c,r:J.r})])&&++J.c,l={ixfe:J.ixfe,XF:T[J.ixfe]||{},v:J.val,t:"n"},V>0&&(l.z=X[l.ixfe>>8&31]),jc(l,t,r.opts.Date1904),I({c:J.c,r:J.r},l,t);break;case"BoolErr":l={ixfe:J.ixfe,XF:T[J.ixfe],v:J.val,t:J.t},V>0&&(l.z=X[l.ixfe>>8&31]),jc(l,t,r.opts.Date1904),I({c:J.c,r:J.r},l,t);break;case"RK":l={ixfe:J.ixfe,XF:T[J.ixfe],v:J.rknum,t:"n"},V>0&&(l.z=X[l.ixfe>>8&31]),jc(l,t,r.opts.Date1904),I({c:J.c,r:J.r},l,t);break;case"MulRk":for(var re=J.c;re<=J.C;++re){var ne=J.rkrec[re-J.c][0];l={ixfe:ne,XF:T[ne],v:J.rkrec[re-J.c][1],t:"n"},V>0&&(l.z=X[l.ixfe>>8&31]),jc(l,t,r.opts.Date1904),I({c:re,r:J.r},l,t)}break;case"Formula":if("String"==J.val){g=J;break}if((l=$c(J.val,J.cell.ixfe,J.tt)).XF=T[l.ixfe],t.cellFormula){var ae=J.formula;if(ae&&ae[0]&&ae[0][0]&&"PtgExp"==ae[0][0][0]){var se=ae[0][0][1][0],ie=ae[0][0][1][1],oe=qt({r:se,c:ie});w[oe]?l.f=""+ji(J.formula,0,J.cell,M,y):l.F=((t.dense?(d[se]||[])[ie]:d[oe])||{}).F}else l.f=""+ji(J.formula,0,J.cell,M,y)}V>0&&(l.z=X[l.ixfe>>8&31]),jc(l,t,r.opts.Date1904),I(J.cell,l,t),g=J;break;case"String":if(!g)throw new Error("String record expects Formula");g.val=J,(l=$c(J,g.cell.ixfe,"s")).XF=T[l.ixfe],t.cellFormula&&(l.f=""+ji(g.formula,0,g.cell,M,y)),V>0&&(l.z=X[l.ixfe>>8&31]),jc(l,t,r.opts.Date1904),I(g.cell,l,t),g=null;break;case"Array":C.push(J);var ce=qt(J[0].s);if(s=t.dense?(d[J[0].s.r]||[])[J[0].s.c]:d[ce],t.cellFormula&&s){if(!g)break;if(!ce||!s)break;s.f=""+ji(J[1],0,J[0],M,y),s.F=tr(J[0])}break;case"ShrFmla":if(!B)break;if(!t.cellFormula)break;if(S){if(!g)break;w[qt(g.cell)]=J[0],((s=t.dense?(d[g.cell.r]||[])[g.cell.c]:d[qt(g.cell)])||{}).f=""+ji(J[0],0,a,M,y)}break;case"LabelSst":l=$c(b[J.isst].t,J.ixfe,"s"),b[J.isst].h&&(l.h=b[J.isst].h),l.XF=T[l.ixfe],V>0&&(l.z=X[l.ixfe>>8&31]),jc(l,t,r.opts.Date1904),I({c:J.c,r:J.r},l,t);break;case"Blank":t.sheetStubs&&(l={ixfe:J.ixfe,XF:T[J.ixfe],t:"z"},V>0&&(l.z=X[l.ixfe>>8&31]),jc(l,t,r.opts.Date1904),I({c:J.c,r:J.r},l,t));break;case"MulBlank":if(t.sheetStubs)for(var le=J.c;le<=J.C;++le){var fe=J.ixfe[le-J.c];l={ixfe:fe,XF:T[fe],t:"z"},V>0&&(l.z=X[l.ixfe>>8&31]),jc(l,t,r.opts.Date1904),I({c:le,r:J.r},l,t)}break;case"RString":case"Label":case"BIFF2STR":(l=$c(J.val,J.ixfe,"s")).XF=T[l.ixfe],V>0&&(l.z=X[l.ixfe>>8&31]),jc(l,t,r.opts.Date1904),I({c:J.c,r:J.r},l,t);break;case"Dimensions":1===H&&(m=J);break;case"SST":b=J;break;case"Format":if(4==y.biff){X[V++]=J[1];for(var he=0;he<V+163&&R._table[he]!=J[1];++he);he>=163&&R.load(J[1],V+163)}else R.load(J[1],J[0]);break;case"BIFF2FORMAT":X[V++]=J;for(var ue=0;ue<V+163&&R._table[ue]!=J;++ue);ue>=163&&R.load(J,V+163);break;case"MergeCells":F=F.concat(J);break;case"Obj":D[J.cmo[0]]=y.lastobj=J;break;case"TxO":y.lastobj.TxO=J;break;case"ImData":y.lastobj.ImData=J;break;case"HLink":for(c=J[0].s.r;c<=J[0].e.r;++c)for(o=J[0].s.c;o<=J[0].e.c;++o)(s=t.dense?(d[c]||[])[o]:d[qt({c:o,r:c})])&&(s.l=J[1]);break;case"HLinkTooltip":for(c=J[0].s.r;c<=J[0].e.r;++c)for(o=J[0].s.c;o<=J[0].e.c;++o)(s=t.dense?(d[c]||[])[o]:d[qt({c:o,r:c})])&&s.l&&(s.l.Tooltip=J[1]);break;case"Note":if(y.biff<=5&&y.biff>=2)break;s=t.dense?(d[J[0].r]||[])[J[0].c]:d[qt(J[0])];var de=D[J[2]];s||(t.dense?(d[J[0].r]||(d[J[0].r]=[]),s=d[J[0].r][J[0].c]={t:"z"}):s=d[qt(J[0])]={t:"z"},m.e.r=Math.max(m.e.r,J[0].r),m.s.r=Math.min(m.s.r,J[0].r),m.e.c=Math.max(m.e.c,J[0].c),m.s.c=Math.min(m.s.c,J[0].c)),s.c||(s.c=[]),i={a:J[1],t:de.TxO.t},s.c.push(i);break;default:switch(Y.n){case"ClrtClient":break;case"XFExt":T[J.ixfe],J.ext.forEach((function(e){e[0]}));break;case"DefColWidth":J;break;case"DefaultRowHeight":J[1];break;case"ColInfo":if(!y.cellStyles)break;for(;J.e>=J.s;)O[J.e--]={width:J.w/256},N||(N=!0,Ss(J.w/256)),ws(O[J.e+1]);break;case"Row":var pe={};null!=J.level&&(P[J.r]=pe,pe.level=J.level),J.hidden&&(P[J.r]=pe,pe.hidden=!0),J.hpt&&(P[J.r]=pe,pe.hpt=J.hpt,pe.hpx=Bs(J.hpt));break;case"LeftMargin":case"RightMargin":case"TopMargin":case"BottomMargin":d["!margins"]||po(d["!margins"]={}),d["!margins"][Z.slice(0,-6).toLowerCase()]=J;break;case"Setup":d["!margins"]||po(d["!margins"]={}),d["!margins"].header=J.header,d["!margins"].footer=J.footer;break;case"Window2":J.RTL&&(_.Views[0].RTL=!0);break;case"Header":case"Footer":case"HCenter":case"VCenter":case"Pls":case"GCW":case"LHRecord":case"DBCell":case"EntExU2":case"SxView":case"Sxvd":case"SXVI":case"SXVDEx":case"SxIvd":case"SXString":case"Sync":case"Addin":case"SXDI":case"SXLI":case"SXEx":case"QsiSXTag":case"Selection":case"Feat":break;case"FeatHdr":case"FeatHdr11":break;case"Feature11":case"Feature12":case"List12":break;case"Country":f=J;break;case"RecalcId":case"DxGCol":break;case"Fbi":case"Fbi2":case"GelFrame":case"Font":case"XFCRC":case"Style":case"StyleExt":break;case"Palette":k=J;break;case"Theme":h=J;break;case"ScenarioProtect":case"ObjProtect":case"CondFmt12":case"Table":case"TableStyles":case"TableStyle":case"TableStyleElement":case"SXStreamID":case"SXVS":case"DConRef":case"SXAddl":case"DConBin":case"DConName":case"SXPI":case"SxFormat":case"SxSelect":case"SxRule":case"SxFilt":case"SxItm":case"SxDXF":case"ScenMan":case"DCon":case"CellWatch":case"PrintRowCol":case"PrintGrid":case"PrintSize":case"XCT":case"CRN":case"Scl":case"SheetExt":case"SheetExtOptional":case"ObNoMacros":case"ObProj":break;case"CodeName":v?x.CodeName=J||x.name:_.WBProps.CodeName=J||"ThisWorkbook";break;case"GUIDTypeLib":case"WOpt":case"PhoneticInfo":case"OleObjectSize":break;case"DXF":case"DXFN":case"DXFN12":case"DXFN12List":case"DXFN12NoCB":break;case"Dv":case"DVal":break;case"BRAI":case"Series":case"SeriesText":case"DConn":case"DbOrParamQry":case"DBQueryExt":case"OleDbConn":case"ExtString":case"IFmtRecord":break;case"CondFmt":case"CF":case"CF12":case"CFEx":case"Excel9File":case"Units":break;case"InterfaceHdr":case"Mms":case"InterfaceEnd":case"DSF":case"BuiltInFnGroupCount":break;case"Window1":case"HideObj":case"GridSet":case"Guts":case"UserBView":case"UserSViewBegin":case"UserSViewEnd":case"Pane":break;default:switch(Y.n){case"Dat":case"Begin":case"End":case"StartBlock":case"EndBlock":case"Frame":case"Area":case"Axis":case"AxisLine":case"Tick":break;case"AxesUsed":case"CrtLayout12":case"CrtLayout12A":case"CrtLink":case"CrtLine":case"CrtMlFrt":case"CrtMlFrtContinue":break;case"LineFormat":case"AreaFormat":case"Chart":case"Chart3d":case"Chart3DBarShape":case"ChartFormat":case"ChartFrtInfo":break;case"PlotArea":case"PlotGrowth":break;case"SeriesList":case"SerParent":case"SerAuxTrend":break;case"DataFormat":case"SerToCrt":case"FontX":break;case"CatSerRange":case"AxcExt":case"SerFmt":case"ShtProps":break;case"DefaultText":case"Text":case"CatLab":case"DataLabExtContents":break;case"Legend":case"LegendException":break;case"Pie":case"Scatter":break;case"PieFormat":case"MarkerFormat":break;case"StartObject":case"EndObject":break;case"AlRuns":case"ObjectLink":case"SIIndex":break;case"AttachedLabel":case"YMult":break;case"Line":case"Bar":case"Surf":case"AxisParent":case"Pos":case"ValueRange":case"SXViewEx9":case"SXViewLink":case"PivotChartBits":case"SBaseRef":case"TextPropsStream":case"LnExt":case"MkrExt":case"CrtCoopt":break;case"Qsi":case"Qsif":case"Qsir":case"QsiSXTag":case"TxtQry":case"FilterMode":break;case"AutoFilter":case"AutoFilterInfo":case"AutoFilter12":case"DropDownObjIds":case"Sort":case"SortData":case"ShapePropsStream":break;case"MsoDrawing":case"MsoDrawingGroup":case"MsoDrawingSelection":break;case"WebPub":case"AutoWebPub":break;case"HeaderFooter":case"HFPicture":case"PLV":case"HorizontalPageBreaks":case"VerticalPageBreaks":break;case"Backup":case"CompressPictures":case"Compat12":break;case"Continue":case"ContinueFrt12":break;case"FrtFontList":case"FrtWrapper":break;default:switch(Y.n){case"TabIdConf":case"Radar":case"RadarArea":case"DropBar":case"Intl":case"CoordList":case"SerAuxErrBar":break;case"BIFF2FONTCLR":case"BIFF2FMTCNT":case"BIFF2FONTXTRA":break;case"BIFF2XF":case"BIFF3XF":case"BIFF4XF":break;case"BIFF4FMTCNT":case"BIFF2ROW":case"BIFF2WINDOW2":break;case"SCENARIO":case"DConBin":case"PicF":case"DataLabExt":case"Lel":case"BopPop":case"BopPopCustom":case"RealTimeData":case"Name":break;case"LHNGraph":case"FnGroupName":case"AddMenu":case"LPr":break;case"ListObj":case"ListField":case"RRSort":case"BigName":break;case"ToolbarHdr":case"ToolbarEnd":case"DDEObjName":case"FRTArchId$":break;default:if(t.WTF)throw"Unrecognized Record "+Y.n}}}}}else e.l+=K}return r.SheetNames=W(p).sort((function(e,t){return Number(e)-Number(t)})).map((function(e){return p[e].name})),t.bookSheets||(r.Sheets=n),r.Sheets&&G.forEach((function(e,t){r.Sheets[r.SheetNames[t]]["!autofilter"]=e})),r.Preamble=E,r.Strings=b,r.SSF=R.get_table(),y.enc&&(r.Encryption=y.enc),h&&(r.Themes=h),r.Metadata={},void 0!==f&&(r.Metadata.Country=f),M.names.length>0&&(_.Names=M.names),r.Workbook=_,r}var Yc="e0859ff2f94f6810ab9108002b27b3d9",Qc="02d5cdd59c2e1b10939708002b2cf9ae",Jc="05d5cdd59c2e1b10939708002b2cf9ae";function Zc(e,t){var r,n,a,s;if(t||(t={}),Ol(t),d(),t.codepage&&h(t.codepage),e.FullPaths){if(L.find(e,"/encryption"))throw new Error("File is password-protected");r=L.find(e,"!CompObj"),n=L.find(e,"/Workbook")||L.find(e,"/Book")}else{switch(t.type){case"base64":e=T(v.decode(e));break;case"binary":e=T(e);break;case"buffer":break;case"array":Array.isArray(e)||(e=Array.prototype.slice.call(e))}Lt(e,0),n={content:e}}if(r&&Gc(r),t.bookProps&&!t.bookSheets)a={};else{var i=E?"buffer":"array";if(n&&n.content)a=Kc(n.content,t);else if((s=L.find(e,"PerfectOffice_MAIN"))&&s.content)a=Ua.to_workbook(s.content,(t.type=i,t));else{if(!(s=L.find(e,"NativeContent_MAIN"))||!s.content)throw new Error("Cannot find Workbook stream");a=Ua.to_workbook(s.content,(t.type=i,t))}t.bookVBA&&e.FullPaths&&L.find(e,"/_VBA_PROJECT_CUR/VBA/dir")&&(a.vbaraw=function(e){var t=L.utils.cfb_new({root:"R"});return e.FullPaths.forEach((function(r,n){if("/"!==r.slice(-1)&&r.match(/_VBA_PROJECT_CUR/)){var a=r.replace(/^[^\/]*/,"R").replace(/\/_VBA_PROJECT_CUR\u0000*/,"");L.utils.cfb_add(t,a,e.FileIndex[n].content)}})),L.write(t)}(e))}var o={};return e.FullPaths&&function(e,t,r){var n=L.find(e,"!DocumentSummaryInformation");if(n&&n.size>0)try{var a=On(n,Dr,Qc);for(var s in a)t[s]=a[s]}catch(lf){if(r.WTF)throw lf}var i=L.find(e,"!SummaryInformation");if(i&&i.size>0)try{var o=On(i,Or,Yc);for(var c in o)null==t[c]&&(t[c]=o[c])}catch(lf){if(r.WTF)throw lf}t.HeadingPairs&&t.TitlesOfParts&&(fn(t.HeadingPairs,t.TitlesOfParts,t,r),delete t.HeadingPairs,delete t.TitlesOfParts)}(e,o,t),a.Props=a.Custprops=o,t.bookFiles&&(a.cfb=e),a}function qc(e,t){var r=t||{},n=L.utils.cfb_new({root:"R"}),a="/Workbook";switch(r.bookType||"xls"){case"xls":r.bookType="biff8";case"xla":r.bookType||(r.bookType="xla");case"biff8":a="/Workbook",r.biff=8;break;case"biff5":a="/Book",r.biff=5;break;default:throw new Error("invalid type "+r.bookType+" for XLS CFB")}return L.utils.cfb_add(n,a,ul(e,r)),8==r.biff&&(e.Props||e.Custprops)&&function(e,t){var r,n=[],a=[],s=[],i=0;if(e.Props)for(r=W(e.Props),i=0;i<r.length;++i)(Object.prototype.hasOwnProperty.call(Nr,r[i])?n:Object.prototype.hasOwnProperty.call(Mr,r[i])?a:s).push([r[i],e.Props[r[i]]]);if(e.Custprops)for(r=W(e.Custprops),i=0;i<r.length;++i)Object.prototype.hasOwnProperty.call(e.Props||{},r[i])||(Object.prototype.hasOwnProperty.call(Nr,r[i])?n:Object.prototype.hasOwnProperty.call(Mr,r[i])?a:s).push([r[i],e.Custprops[r[i]]]);var o=[];for(i=0;i<s.length;++i)Rn.indexOf(s[i][0])>-1||null!=s[i][1]&&o.push(s[i]);a.length&&L.utils.cfb_add(t,"/\x05SummaryInformation",Pn(a,Yc,Mr,Or)),(n.length||o.length)&&L.utils.cfb_add(t,"/\x05DocumentSummaryInformation",Pn(n,Qc,Nr,Dr,o.length?o:null,Jc))}(e,n),8==r.biff&&e.vbaraw&&function(e,t){t.FullPaths.forEach((function(r,n){if(0!=n){var a=r.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");"/"!==a.slice(-1)&&L.utils.cfb_add(e,a,t.FileIndex[n].content)}}))}(n,L.read(e.vbaraw,{type:"string"==typeof e.vbaraw?"binary":"buffer"})),n}var el={0:{n:"BrtRowHdr",f:function(e,t){var r={},n=e.l+t;r.r=e.read_shift(4),e.l+=4;var a=e.read_shift(2);e.l+=1;var s=e.read_shift(1);return e.l=n,7&s&&(r.level=7&s),16&s&&(r.hidden=!0),32&s&&(r.hpt=a/20),r}},1:{n:"BrtCellBlank",f:function(e){return[mr(e)]}},2:{n:"BrtCellRk",f:function(e){return[mr(e),Tr(e),"n"]}},3:{n:"BrtCellError",f:function(e){return[mr(e),e.read_shift(1),"e"]}},4:{n:"BrtCellBool",f:function(e){return[mr(e),e.read_shift(1),"b"]}},5:{n:"BrtCellReal",f:function(e){return[mr(e),Ar(e),"n"]}},6:{n:"BrtCellSt",f:function(e){return[mr(e),lr(e),"str"]}},7:{n:"BrtCellIsst",f:function(e){return[mr(e),e.read_shift(4),"s"]}},8:{n:"BrtFmlaString",f:function(e,t,r){var n=e.l+t,a=mr(e);a.r=r["!row"];var s=[a,lr(e),"str"];if(r.cellFormula){e.l+=2;var i=qi(e,n-e.l,r);s[3]=ji(i,0,a,r.supbooks,r)}else e.l=n;return s}},9:{n:"BrtFmlaNum",f:function(e,t,r){var n=e.l+t,a=mr(e);a.r=r["!row"];var s=[a,Ar(e),"n"];if(r.cellFormula){e.l+=2;var i=qi(e,n-e.l,r);s[3]=ji(i,0,a,r.supbooks,r)}else e.l=n;return s}},10:{n:"BrtFmlaBool",f:function(e,t,r){var n=e.l+t,a=mr(e);a.r=r["!row"];var s=[a,e.read_shift(1),"b"];if(r.cellFormula){e.l+=2;var i=qi(e,n-e.l,r);s[3]=ji(i,0,a,r.supbooks,r)}else e.l=n;return s}},11:{n:"BrtFmlaError",f:function(e,t,r){var n=e.l+t,a=mr(e);a.r=r["!row"];var s=[a,e.read_shift(1),"e"];if(r.cellFormula){e.l+=2;var i=qi(e,n-e.l,r);s[3]=ji(i,0,a,r.supbooks,r)}else e.l=n;return s}},16:{n:"BrtFRTArchID$",f:function(e,t){var r={};return e.read_shift(4),r.ArchID=e.read_shift(4),e.l+=t-8,r}},19:{n:"BrtSSTItem",f:ur},20:{n:"BrtPCDIMissing"},21:{n:"BrtPCDINumber"},22:{n:"BrtPCDIBoolean"},23:{n:"BrtPCDIError"},24:{n:"BrtPCDIString"},25:{n:"BrtPCDIDatetime"},26:{n:"BrtPCDIIndex"},27:{n:"BrtPCDIAMissing"},28:{n:"BrtPCDIANumber"},29:{n:"BrtPCDIABoolean"},30:{n:"BrtPCDIAError"},31:{n:"BrtPCDIAString"},32:{n:"BrtPCDIADatetime"},33:{n:"BrtPCRRecord"},34:{n:"BrtPCRRecordDt"},35:{n:"BrtFRTBegin"},36:{n:"BrtFRTEnd"},37:{n:"BrtACBegin"},38:{n:"BrtACEnd"},39:{n:"BrtName",f:function(e,t,r){var n=e.l+t;e.l+=4,e.l+=1;var a=e.read_shift(4),s=wr(e),i=eo(e,0,r),o=Er(e);e.l=n;var c={Name:s,Ptg:i};return a<268435455&&(c.Sheet=a),o&&(c.Comment=o),c}},40:{n:"BrtIndexRowBlock"},42:{n:"BrtIndexBlock"},43:{n:"BrtFont",f:function(e,t,r){var n={};n.sz=e.read_shift(2)/20;var a=function(e){var t=e.read_shift(1);return e.l++,{fBold:1&t,fItalic:2&t,fUnderline:4&t,fStrikeout:8&t,fOutline:16&t,fShadow:32&t,fCondense:64&t,fExtend:128&t}}(e);switch(a.fItalic&&(n.italic=1),a.fCondense&&(n.condense=1),a.fExtend&&(n.extend=1),a.fShadow&&(n.shadow=1),a.fOutline&&(n.outline=1),a.fStrikeout&&(n.strike=1),700===e.read_shift(2)&&(n.bold=1),e.read_shift(2)){case 1:n.vertAlign="superscript";break;case 2:n.vertAlign="subscript"}var s=e.read_shift(1);0!=s&&(n.underline=s);var i=e.read_shift(1);i>0&&(n.family=i);var o=e.read_shift(1);switch(o>0&&(n.charset=o),e.l++,n.color=function(e){var t={},r=e.read_shift(1)>>>1,n=e.read_shift(1),a=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=n;var c=Hr[n];c&&(t.rgb=ds(c));break;case 2:t.rgb=ds([s,i,o]);break;case 3:t.theme=n}return 0!=a&&(t.tint=a>0?a/32767:a/32768),t}(e),e.read_shift(1)){case 1:n.scheme="major";break;case 2:n.scheme="minor"}return n.name=lr(e),n}},44:{n:"BrtFmt",f:function(e,t){return[e.read_shift(2),lr(e)]}},45:{n:"BrtFill",f:Ds},46:{n:"BrtBorder",f:Ms},47:{n:"BrtXF",f:function(e,t){var r=e.l+t,n=e.read_shift(2),a=e.read_shift(2);return e.l=r,{ixfe:n,numFmtId:a}}},48:{n:"BrtStyle"},49:{n:"BrtCellMeta"},50:{n:"BrtValueMeta"},51:{n:"BrtMdb"},52:{n:"BrtBeginFmd"},53:{n:"BrtEndFmd"},54:{n:"BrtBeginMdx"},55:{n:"BrtEndMdx"},56:{n:"BrtBeginMdxTuple"},57:{n:"BrtEndMdxTuple"},58:{n:"BrtMdxMbrIstr"},59:{n:"BrtStr"},60:{n:"BrtColInfo",f:ya},62:{n:"BrtCellRString"},63:{n:"BrtCalcChainItem$",f:function(e){var t={};t.i=e.read_shift(4);var r={};r.r=e.read_shift(4),r.c=e.read_shift(4),t.r=qt(r);var n=e.read_shift(1);return 2&n&&(t.l="1"),8&n&&(t.a="1"),t}},64:{n:"BrtDVal",f:function(){}},65:{n:"BrtSxvcellNum"},66:{n:"BrtSxvcellStr"},67:{n:"BrtSxvcellBool"},68:{n:"BrtSxvcellErr"},69:{n:"BrtSxvcellDate"},70:{n:"BrtSxvcellNil"},128:{n:"BrtFileVersion"},129:{n:"BrtBeginSheet"},130:{n:"BrtEndSheet"},131:{n:"BrtBeginBook",f:Ut,p:0},132:{n:"BrtEndBook"},133:{n:"BrtBeginWsViews"},134:{n:"BrtEndWsViews"},135:{n:"BrtBeginBookViews"},136:{n:"BrtEndBookViews"},137:{n:"BrtBeginWsView",f:function(e){var t=e.read_shift(2);return e.l+=28,{RTL:32&t}}},138:{n:"BrtEndWsView"},139:{n:"BrtBeginCsViews"},140:{n:"BrtEndCsViews"},141:{n:"BrtBeginCsView"},142:{n:"BrtEndCsView"},143:{n:"BrtBeginBundleShs"},144:{n:"BrtEndBundleShs"},145:{n:"BrtBeginSheetData"},146:{n:"BrtEndSheetData"},147:{n:"BrtWsProp",f:function(e,t){var r={};return e.l+=19,r.name=br(e,t-19),r}},148:{n:"BrtWsDim",f:Mo,p:16},151:{n:"BrtPane",f:function(){}},152:{n:"BrtSel"},153:{n:"BrtWbProp",f:function(e,t){var r={},n=e.read_shift(4);r.defaultThemeVersion=e.read_shift(4);var a=t>8?lr(e):"";return a.length>0&&(r.CodeName=a),r.autoCompressPictures=!!(65536&n),r.backupFile=!!(64&n),r.checkCompatibility=!!(4096&n),r.date1904=!!(1&n),r.filterPrivacy=!!(8&n),r.hidePivotFieldList=!!(1024&n),r.promptedSolutions=!!(16&n),r.publishItems=!!(2048&n),r.refreshAllConnections=!!(262144&n),r.saveExternalLinkValues=!!(128&n),r.showBorderUnselectedTables=!!(4&n),r.showInkAnnotation=!!(32&n),r.showObjects=["all","placeholders","none"][n>>13&3],r.showPivotChartFilter=!!(32768&n),r.updateLinks=["userSet","never","always"][n>>8&3],r}},154:{n:"BrtWbFactoid"},155:{n:"BrtFileRecover"},156:{n:"BrtBundleSh",f:function(e,t){var r={};return r.Hidden=e.read_shift(4),r.iTabID=e.read_shift(4),r.strRelID=Cr(e,t-8),r.name=lr(e),r}},157:{n:"BrtCalcProp"},158:{n:"BrtBookView"},159:{n:"BrtBeginSst",f:function(e){return[e.read_shift(4),e.read_shift(4)]}},160:{n:"BrtEndSst"},161:{n:"BrtBeginAFilter",f:_r},162:{n:"BrtEndAFilter"},163:{n:"BrtBeginFilterColumn"},164:{n:"BrtEndFilterColumn"},165:{n:"BrtBeginFilters"},166:{n:"BrtEndFilters"},167:{n:"BrtFilter"},168:{n:"BrtColorFilter"},169:{n:"BrtIconFilter"},170:{n:"BrtTop10Filter"},171:{n:"BrtDynamicFilter"},172:{n:"BrtBeginCustomFilters"},173:{n:"BrtEndCustomFilters"},174:{n:"BrtCustomFilter"},175:{n:"BrtAFilterDateGroupItem"},176:{n:"BrtMergeCell",f:Ho},177:{n:"BrtBeginMergeCells"},178:{n:"BrtEndMergeCells"},179:{n:"BrtBeginPivotCacheDef"},180:{n:"BrtEndPivotCacheDef"},181:{n:"BrtBeginPCDFields"},182:{n:"BrtEndPCDFields"},183:{n:"BrtBeginPCDField"},184:{n:"BrtEndPCDField"},185:{n:"BrtBeginPCDSource"},186:{n:"BrtEndPCDSource"},187:{n:"BrtBeginPCDSRange"},188:{n:"BrtEndPCDSRange"},189:{n:"BrtBeginPCDFAtbl"},190:{n:"BrtEndPCDFAtbl"},191:{n:"BrtBeginPCDIRun"},192:{n:"BrtEndPCDIRun"},193:{n:"BrtBeginPivotCacheRecords"},194:{n:"BrtEndPivotCacheRecords"},195:{n:"BrtBeginPCDHierarchies"},196:{n:"BrtEndPCDHierarchies"},197:{n:"BrtBeginPCDHierarchy"},198:{n:"BrtEndPCDHierarchy"},199:{n:"BrtBeginPCDHFieldsUsage"},200:{n:"BrtEndPCDHFieldsUsage"},201:{n:"BrtBeginExtConnection"},202:{n:"BrtEndExtConnection"},203:{n:"BrtBeginECDbProps"},204:{n:"BrtEndECDbProps"},205:{n:"BrtBeginECOlapProps"},206:{n:"BrtEndECOlapProps"},207:{n:"BrtBeginPCDSConsol"},208:{n:"BrtEndPCDSConsol"},209:{n:"BrtBeginPCDSCPages"},210:{n:"BrtEndPCDSCPages"},211:{n:"BrtBeginPCDSCPage"},212:{n:"BrtEndPCDSCPage"},213:{n:"BrtBeginPCDSCPItem"},214:{n:"BrtEndPCDSCPItem"},215:{n:"BrtBeginPCDSCSets"},216:{n:"BrtEndPCDSCSets"},217:{n:"BrtBeginPCDSCSet"},218:{n:"BrtEndPCDSCSet"},219:{n:"BrtBeginPCDFGroup"},220:{n:"BrtEndPCDFGroup"},221:{n:"BrtBeginPCDFGItems"},222:{n:"BrtEndPCDFGItems"},223:{n:"BrtBeginPCDFGRange"},224:{n:"BrtEndPCDFGRange"},225:{n:"BrtBeginPCDFGDiscrete"},226:{n:"BrtEndPCDFGDiscrete"},227:{n:"BrtBeginPCDSDTupleCache"},228:{n:"BrtEndPCDSDTupleCache"},229:{n:"BrtBeginPCDSDTCEntries"},230:{n:"BrtEndPCDSDTCEntries"},231:{n:"BrtBeginPCDSDTCEMembers"},232:{n:"BrtEndPCDSDTCEMembers"},233:{n:"BrtBeginPCDSDTCEMember"},234:{n:"BrtEndPCDSDTCEMember"},235:{n:"BrtBeginPCDSDTCQueries"},236:{n:"BrtEndPCDSDTCQueries"},237:{n:"BrtBeginPCDSDTCQuery"},238:{n:"BrtEndPCDSDTCQuery"},239:{n:"BrtBeginPCDSDTCSets"},240:{n:"BrtEndPCDSDTCSets"},241:{n:"BrtBeginPCDSDTCSet"},242:{n:"BrtEndPCDSDTCSet"},243:{n:"BrtBeginPCDCalcItems"},244:{n:"BrtEndPCDCalcItems"},245:{n:"BrtBeginPCDCalcItem"},246:{n:"BrtEndPCDCalcItem"},247:{n:"BrtBeginPRule"},248:{n:"BrtEndPRule"},249:{n:"BrtBeginPRFilters"},250:{n:"BrtEndPRFilters"},251:{n:"BrtBeginPRFilter"},252:{n:"BrtEndPRFilter"},253:{n:"BrtBeginPNames"},254:{n:"BrtEndPNames"},255:{n:"BrtBeginPName"},256:{n:"BrtEndPName"},257:{n:"BrtBeginPNPairs"},258:{n:"BrtEndPNPairs"},259:{n:"BrtBeginPNPair"},260:{n:"BrtEndPNPair"},261:{n:"BrtBeginECWebProps"},262:{n:"BrtEndECWebProps"},263:{n:"BrtBeginEcWpTables"},264:{n:"BrtEndECWPTables"},265:{n:"BrtBeginECParams"},266:{n:"BrtEndECParams"},267:{n:"BrtBeginECParam"},268:{n:"BrtEndECParam"},269:{n:"BrtBeginPCDKPIs"},270:{n:"BrtEndPCDKPIs"},271:{n:"BrtBeginPCDKPI"},272:{n:"BrtEndPCDKPI"},273:{n:"BrtBeginDims"},274:{n:"BrtEndDims"},275:{n:"BrtBeginDim"},276:{n:"BrtEndDim"},277:{n:"BrtIndexPartEnd"},278:{n:"BrtBeginStyleSheet"},279:{n:"BrtEndStyleSheet"},280:{n:"BrtBeginSXView"},281:{n:"BrtEndSXVI"},282:{n:"BrtBeginSXVI"},283:{n:"BrtBeginSXVIs"},284:{n:"BrtEndSXVIs"},285:{n:"BrtBeginSXVD"},286:{n:"BrtEndSXVD"},287:{n:"BrtBeginSXVDs"},288:{n:"BrtEndSXVDs"},289:{n:"BrtBeginSXPI"},290:{n:"BrtEndSXPI"},291:{n:"BrtBeginSXPIs"},292:{n:"BrtEndSXPIs"},293:{n:"BrtBeginSXDI"},294:{n:"BrtEndSXDI"},295:{n:"BrtBeginSXDIs"},296:{n:"BrtEndSXDIs"},297:{n:"BrtBeginSXLI"},298:{n:"BrtEndSXLI"},299:{n:"BrtBeginSXLIRws"},300:{n:"BrtEndSXLIRws"},301:{n:"BrtBeginSXLICols"},302:{n:"BrtEndSXLICols"},303:{n:"BrtBeginSXFormat"},304:{n:"BrtEndSXFormat"},305:{n:"BrtBeginSXFormats"},306:{n:"BrtEndSxFormats"},307:{n:"BrtBeginSxSelect"},308:{n:"BrtEndSxSelect"},309:{n:"BrtBeginISXVDRws"},310:{n:"BrtEndISXVDRws"},311:{n:"BrtBeginISXVDCols"},312:{n:"BrtEndISXVDCols"},313:{n:"BrtEndSXLocation"},314:{n:"BrtBeginSXLocation"},315:{n:"BrtEndSXView"},316:{n:"BrtBeginSXTHs"},317:{n:"BrtEndSXTHs"},318:{n:"BrtBeginSXTH"},319:{n:"BrtEndSXTH"},320:{n:"BrtBeginISXTHRws"},321:{n:"BrtEndISXTHRws"},322:{n:"BrtBeginISXTHCols"},323:{n:"BrtEndISXTHCols"},324:{n:"BrtBeginSXTDMPS"},325:{n:"BrtEndSXTDMPs"},326:{n:"BrtBeginSXTDMP"},327:{n:"BrtEndSXTDMP"},328:{n:"BrtBeginSXTHItems"},329:{n:"BrtEndSXTHItems"},330:{n:"BrtBeginSXTHItem"},331:{n:"BrtEndSXTHItem"},332:{n:"BrtBeginMetadata"},333:{n:"BrtEndMetadata"},334:{n:"BrtBeginEsmdtinfo"},335:{n:"BrtMdtinfo"},336:{n:"BrtEndEsmdtinfo"},337:{n:"BrtBeginEsmdb"},338:{n:"BrtEndEsmdb"},339:{n:"BrtBeginEsfmd"},340:{n:"BrtEndEsfmd"},341:{n:"BrtBeginSingleCells"},342:{n:"BrtEndSingleCells"},343:{n:"BrtBeginList"},344:{n:"BrtEndList"},345:{n:"BrtBeginListCols"},346:{n:"BrtEndListCols"},347:{n:"BrtBeginListCol"},348:{n:"BrtEndListCol"},349:{n:"BrtBeginListXmlCPr"},350:{n:"BrtEndListXmlCPr"},351:{n:"BrtListCCFmla"},352:{n:"BrtListTrFmla"},353:{n:"BrtBeginExternals"},354:{n:"BrtEndExternals"},355:{n:"BrtSupBookSrc",f:Cr},357:{n:"BrtSupSelf"},358:{n:"BrtSupSame"},359:{n:"BrtSupTabs"},360:{n:"BrtBeginSupBook"},361:{n:"BrtPlaceholderName"},362:{n:"BrtExternSheet",f:ka},363:{n:"BrtExternTableStart"},364:{n:"BrtExternTableEnd"},366:{n:"BrtExternRowHdr"},367:{n:"BrtExternCellBlank"},368:{n:"BrtExternCellReal"},369:{n:"BrtExternCellBool"},370:{n:"BrtExternCellError"},371:{n:"BrtExternCellString"},372:{n:"BrtBeginEsmdx"},373:{n:"BrtEndEsmdx"},374:{n:"BrtBeginMdxSet"},375:{n:"BrtEndMdxSet"},376:{n:"BrtBeginMdxMbrProp"},377:{n:"BrtEndMdxMbrProp"},378:{n:"BrtBeginMdxKPI"},379:{n:"BrtEndMdxKPI"},380:{n:"BrtBeginEsstr"},381:{n:"BrtEndEsstr"},382:{n:"BrtBeginPRFItem"},383:{n:"BrtEndPRFItem"},384:{n:"BrtBeginPivotCacheIDs"},385:{n:"BrtEndPivotCacheIDs"},386:{n:"BrtBeginPivotCacheID"},387:{n:"BrtEndPivotCacheID"},388:{n:"BrtBeginISXVIs"},389:{n:"BrtEndISXVIs"},390:{n:"BrtBeginColInfos"},391:{n:"BrtEndColInfos"},392:{n:"BrtBeginRwBrk"},393:{n:"BrtEndRwBrk"},394:{n:"BrtBeginColBrk"},395:{n:"BrtEndColBrk"},396:{n:"BrtBrk"},397:{n:"BrtUserBookView"},398:{n:"BrtInfo"},399:{n:"BrtCUsr"},400:{n:"BrtUsr"},401:{n:"BrtBeginUsers"},403:{n:"BrtEOF"},404:{n:"BrtUCR"},405:{n:"BrtRRInsDel"},406:{n:"BrtRREndInsDel"},407:{n:"BrtRRMove"},408:{n:"BrtRREndMove"},409:{n:"BrtRRChgCell"},410:{n:"BrtRREndChgCell"},411:{n:"BrtRRHeader"},412:{n:"BrtRRUserView"},413:{n:"BrtRRRenSheet"},414:{n:"BrtRRInsertSh"},415:{n:"BrtRRDefName"},416:{n:"BrtRRNote"},417:{n:"BrtRRConflict"},418:{n:"BrtRRTQSIF"},419:{n:"BrtRRFormat"},420:{n:"BrtRREndFormat"},421:{n:"BrtRRAutoFmt"},422:{n:"BrtBeginUserShViews"},423:{n:"BrtBeginUserShView"},424:{n:"BrtEndUserShView"},425:{n:"BrtEndUserShViews"},426:{n:"BrtArrFmla",f:function(e,t,r){var n=e.l+t,a=kr(e),s=e.read_shift(1),i=[a];if(i[2]=s,r.cellFormula){var o=Zi(e,n-e.l,r);i[1]=o}else e.l=n;return i}},427:{n:"BrtShrFmla",f:function(e,t,r){var n=e.l+t,a=[_r(e,16)];if(r.cellFormula){var s=to(e,n-e.l,r);a[1]=s,e.l=n}else e.l=n;return a}},428:{n:"BrtTable"},429:{n:"BrtBeginExtConnections"},430:{n:"BrtEndExtConnections"},431:{n:"BrtBeginPCDCalcMems"},432:{n:"BrtEndPCDCalcMems"},433:{n:"BrtBeginPCDCalcMem"},434:{n:"BrtEndPCDCalcMem"},435:{n:"BrtBeginPCDHGLevels"},436:{n:"BrtEndPCDHGLevels"},437:{n:"BrtBeginPCDHGLevel"},438:{n:"BrtEndPCDHGLevel"},439:{n:"BrtBeginPCDHGLGroups"},440:{n:"BrtEndPCDHGLGroups"},441:{n:"BrtBeginPCDHGLGroup"},442:{n:"BrtEndPCDHGLGroup"},443:{n:"BrtBeginPCDHGLGMembers"},444:{n:"BrtEndPCDHGLGMembers"},445:{n:"BrtBeginPCDHGLGMember"},446:{n:"BrtEndPCDHGLGMember"},447:{n:"BrtBeginQSI"},448:{n:"BrtEndQSI"},449:{n:"BrtBeginQSIR"},450:{n:"BrtEndQSIR"},451:{n:"BrtBeginDeletedNames"},452:{n:"BrtEndDeletedNames"},453:{n:"BrtBeginDeletedName"},454:{n:"BrtEndDeletedName"},455:{n:"BrtBeginQSIFs"},456:{n:"BrtEndQSIFs"},457:{n:"BrtBeginQSIF"},458:{n:"BrtEndQSIF"},459:{n:"BrtBeginAutoSortScope"},460:{n:"BrtEndAutoSortScope"},461:{n:"BrtBeginConditionalFormatting"},462:{n:"BrtEndConditionalFormatting"},463:{n:"BrtBeginCFRule"},464:{n:"BrtEndCFRule"},465:{n:"BrtBeginIconSet"},466:{n:"BrtEndIconSet"},467:{n:"BrtBeginDatabar"},468:{n:"BrtEndDatabar"},469:{n:"BrtBeginColorScale"},470:{n:"BrtEndColorScale"},471:{n:"BrtCFVO"},472:{n:"BrtExternValueMeta"},473:{n:"BrtBeginColorPalette"},474:{n:"BrtEndColorPalette"},475:{n:"BrtIndexedColor"},476:{n:"BrtMargins",f:function(e){var t={};return Vo.forEach((function(r){t[r]=Ar(e)})),t}},477:{n:"BrtPrintOptions"},478:{n:"BrtPageSetup"},479:{n:"BrtBeginHeaderFooter"},480:{n:"BrtEndHeaderFooter"},481:{n:"BrtBeginSXCrtFormat"},482:{n:"BrtEndSXCrtFormat"},483:{n:"BrtBeginSXCrtFormats"},484:{n:"BrtEndSXCrtFormats"},485:{n:"BrtWsFmtInfo",f:function(){}},486:{n:"BrtBeginMgs"},487:{n:"BrtEndMGs"},488:{n:"BrtBeginMGMaps"},489:{n:"BrtEndMGMaps"},490:{n:"BrtBeginMG"},491:{n:"BrtEndMG"},492:{n:"BrtBeginMap"},493:{n:"BrtEndMap"},494:{n:"BrtHLink",f:function(e,t){var r=e.l+t,n=_r(e,16),a=Er(e),s=lr(e),i=lr(e),o=lr(e);e.l=r;var c={rfx:n,relId:a,loc:s,display:o};return i&&(c.Tooltip=i),c}},495:{n:"BrtBeginDCon"},496:{n:"BrtEndDCon"},497:{n:"BrtBeginDRefs"},498:{n:"BrtEndDRefs"},499:{n:"BrtDRef"},500:{n:"BrtBeginScenMan"},501:{n:"BrtEndScenMan"},502:{n:"BrtBeginSct"},503:{n:"BrtEndSct"},504:{n:"BrtSlc"},505:{n:"BrtBeginDXFs"},506:{n:"BrtEndDXFs"},507:{n:"BrtDXF"},508:{n:"BrtBeginTableStyles"},509:{n:"BrtEndTableStyles"},510:{n:"BrtBeginTableStyle"},511:{n:"BrtEndTableStyle"},512:{n:"BrtTableStyleElement"},513:{n:"BrtTableStyleClient"},514:{n:"BrtBeginVolDeps"},515:{n:"BrtEndVolDeps"},516:{n:"BrtBeginVolType"},517:{n:"BrtEndVolType"},518:{n:"BrtBeginVolMain"},519:{n:"BrtEndVolMain"},520:{n:"BrtBeginVolTopic"},521:{n:"BrtEndVolTopic"},522:{n:"BrtVolSubtopic"},523:{n:"BrtVolRef"},524:{n:"BrtVolNum"},525:{n:"BrtVolErr"},526:{n:"BrtVolStr"},527:{n:"BrtVolBool"},528:{n:"BrtBeginCalcChain$"},529:{n:"BrtEndCalcChain$"},530:{n:"BrtBeginSortState"},531:{n:"BrtEndSortState"},532:{n:"BrtBeginSortCond"},533:{n:"BrtEndSortCond"},534:{n:"BrtBookProtection"},535:{n:"BrtSheetProtection"},536:{n:"BrtRangeProtection"},537:{n:"BrtPhoneticInfo"},538:{n:"BrtBeginECTxtWiz"},539:{n:"BrtEndECTxtWiz"},540:{n:"BrtBeginECTWFldInfoLst"},541:{n:"BrtEndECTWFldInfoLst"},542:{n:"BrtBeginECTwFldInfo"},548:{n:"BrtFileSharing"},549:{n:"BrtOleSize"},550:{n:"BrtDrawing",f:Cr},551:{n:"BrtLegacyDrawing"},552:{n:"BrtLegacyDrawingHF"},553:{n:"BrtWebOpt"},554:{n:"BrtBeginWebPubItems"},555:{n:"BrtEndWebPubItems"},556:{n:"BrtBeginWebPubItem"},557:{n:"BrtEndWebPubItem"},558:{n:"BrtBeginSXCondFmt"},559:{n:"BrtEndSXCondFmt"},560:{n:"BrtBeginSXCondFmts"},561:{n:"BrtEndSXCondFmts"},562:{n:"BrtBkHim"},564:{n:"BrtColor"},565:{n:"BrtBeginIndexedColors"},566:{n:"BrtEndIndexedColors"},569:{n:"BrtBeginMRUColors"},570:{n:"BrtEndMRUColors"},572:{n:"BrtMRUColor"},573:{n:"BrtBeginDVals"},574:{n:"BrtEndDVals"},577:{n:"BrtSupNameStart"},578:{n:"BrtSupNameValueStart"},579:{n:"BrtSupNameValueEnd"},580:{n:"BrtSupNameNum"},581:{n:"BrtSupNameErr"},582:{n:"BrtSupNameSt"},583:{n:"BrtSupNameNil"},584:{n:"BrtSupNameBool"},585:{n:"BrtSupNameFmla"},586:{n:"BrtSupNameBits"},587:{n:"BrtSupNameEnd"},588:{n:"BrtEndSupBook"},589:{n:"BrtCellSmartTagProperty"},590:{n:"BrtBeginCellSmartTag"},591:{n:"BrtEndCellSmartTag"},592:{n:"BrtBeginCellSmartTags"},593:{n:"BrtEndCellSmartTags"},594:{n:"BrtBeginSmartTags"},595:{n:"BrtEndSmartTags"},596:{n:"BrtSmartTagType"},597:{n:"BrtBeginSmartTagTypes"},598:{n:"BrtEndSmartTagTypes"},599:{n:"BrtBeginSXFilters"},600:{n:"BrtEndSXFilters"},601:{n:"BrtBeginSXFILTER"},602:{n:"BrtEndSXFilter"},603:{n:"BrtBeginFills"},604:{n:"BrtEndFills"},605:{n:"BrtBeginCellWatches"},606:{n:"BrtEndCellWatches"},607:{n:"BrtCellWatch"},608:{n:"BrtBeginCRErrs"},609:{n:"BrtEndCRErrs"},610:{n:"BrtCrashRecErr"},611:{n:"BrtBeginFonts"},612:{n:"BrtEndFonts"},613:{n:"BrtBeginBorders"},614:{n:"BrtEndBorders"},615:{n:"BrtBeginFmts"},616:{n:"BrtEndFmts"},617:{n:"BrtBeginCellXFs"},618:{n:"BrtEndCellXFs"},619:{n:"BrtBeginStyles"},620:{n:"BrtEndStyles"},625:{n:"BrtBigName"},626:{n:"BrtBeginCellStyleXFs"},627:{n:"BrtEndCellStyleXFs"},628:{n:"BrtBeginComments"},629:{n:"BrtEndComments"},630:{n:"BrtBeginCommentAuthors"},631:{n:"BrtEndCommentAuthors"},632:{n:"BrtCommentAuthor",f:ai},633:{n:"BrtBeginCommentList"},634:{n:"BrtEndCommentList"},635:{n:"BrtBeginComment",f:function(e){var t={};t.iauthor=e.read_shift(4);var r=_r(e,16);return t.rfx=r.s,t.ref=qt(r.s),e.l+=16,t}},636:{n:"BrtEndComment"},637:{n:"BrtCommentText",f:dr},638:{n:"BrtBeginOleObjects"},639:{n:"BrtOleObject"},640:{n:"BrtEndOleObjects"},641:{n:"BrtBeginSxrules"},642:{n:"BrtEndSxRules"},643:{n:"BrtBeginActiveXControls"},644:{n:"BrtActiveX"},645:{n:"BrtEndActiveXControls"},646:{n:"BrtBeginPCDSDTCEMembersSortBy"},648:{n:"BrtBeginCellIgnoreECs"},649:{n:"BrtCellIgnoreEC"},650:{n:"BrtEndCellIgnoreECs"},651:{n:"BrtCsProp",f:function(e,t){return e.l+=10,{name:lr(e)}}},652:{n:"BrtCsPageSetup"},653:{n:"BrtBeginUserCsViews"},654:{n:"BrtEndUserCsViews"},655:{n:"BrtBeginUserCsView"},656:{n:"BrtEndUserCsView"},657:{n:"BrtBeginPcdSFCIEntries"},658:{n:"BrtEndPCDSFCIEntries"},659:{n:"BrtPCDSFCIEntry"},660:{n:"BrtBeginListParts"},661:{n:"BrtListPart"},662:{n:"BrtEndListParts"},663:{n:"BrtSheetCalcProp"},664:{n:"BrtBeginFnGroup"},665:{n:"BrtFnGroup"},666:{n:"BrtEndFnGroup"},667:{n:"BrtSupAddin"},668:{n:"BrtSXTDMPOrder"},669:{n:"BrtCsProtection"},671:{n:"BrtBeginWsSortMap"},672:{n:"BrtEndWsSortMap"},673:{n:"BrtBeginRRSort"},674:{n:"BrtEndRRSort"},675:{n:"BrtRRSortItem"},676:{n:"BrtFileSharingIso"},677:{n:"BrtBookProtectionIso"},678:{n:"BrtSheetProtectionIso"},679:{n:"BrtCsProtectionIso"},680:{n:"BrtRangeProtectionIso"},681:{n:"BrtDValList"},1024:{n:"BrtRwDescent"},1025:{n:"BrtKnownFonts"},1026:{n:"BrtBeginSXTupleSet"},1027:{n:"BrtEndSXTupleSet"},1028:{n:"BrtBeginSXTupleSetHeader"},1029:{n:"BrtEndSXTupleSetHeader"},1030:{n:"BrtSXTupleSetHeaderItem"},1031:{n:"BrtBeginSXTupleSetData"},1032:{n:"BrtEndSXTupleSetData"},1033:{n:"BrtBeginSXTupleSetRow"},1034:{n:"BrtEndSXTupleSetRow"},1035:{n:"BrtSXTupleSetRowItem"},1036:{n:"BrtNameExt"},1037:{n:"BrtPCDH14"},1038:{n:"BrtBeginPCDCalcMem14"},1039:{n:"BrtEndPCDCalcMem14"},1040:{n:"BrtSXTH14"},1041:{n:"BrtBeginSparklineGroup"},1042:{n:"BrtEndSparklineGroup"},1043:{n:"BrtSparkline"},1044:{n:"BrtSXDI14"},1045:{n:"BrtWsFmtInfoEx14"},1046:{n:"BrtBeginConditionalFormatting14"},1047:{n:"BrtEndConditionalFormatting14"},1048:{n:"BrtBeginCFRule14"},1049:{n:"BrtEndCFRule14"},1050:{n:"BrtCFVO14"},1051:{n:"BrtBeginDatabar14"},1052:{n:"BrtBeginIconSet14"},1053:{n:"BrtDVal14",f:function(){}},1054:{n:"BrtBeginDVals14"},1055:{n:"BrtColor14"},1056:{n:"BrtBeginSparklines"},1057:{n:"BrtEndSparklines"},1058:{n:"BrtBeginSparklineGroups"},1059:{n:"BrtEndSparklineGroups"},1061:{n:"BrtSXVD14"},1062:{n:"BrtBeginSXView14"},1063:{n:"BrtEndSXView14"},1064:{n:"BrtBeginSXView16"},1065:{n:"BrtEndSXView16"},1066:{n:"BrtBeginPCD14"},1067:{n:"BrtEndPCD14"},1068:{n:"BrtBeginExtConn14"},1069:{n:"BrtEndExtConn14"},1070:{n:"BrtBeginSlicerCacheIDs"},1071:{n:"BrtEndSlicerCacheIDs"},1072:{n:"BrtBeginSlicerCacheID"},1073:{n:"BrtEndSlicerCacheID"},1075:{n:"BrtBeginSlicerCache"},1076:{n:"BrtEndSlicerCache"},1077:{n:"BrtBeginSlicerCacheDef"},1078:{n:"BrtEndSlicerCacheDef"},1079:{n:"BrtBeginSlicersEx"},1080:{n:"BrtEndSlicersEx"},1081:{n:"BrtBeginSlicerEx"},1082:{n:"BrtEndSlicerEx"},1083:{n:"BrtBeginSlicer"},1084:{n:"BrtEndSlicer"},1085:{n:"BrtSlicerCachePivotTables"},1086:{n:"BrtBeginSlicerCacheOlapImpl"},1087:{n:"BrtEndSlicerCacheOlapImpl"},1088:{n:"BrtBeginSlicerCacheLevelsData"},1089:{n:"BrtEndSlicerCacheLevelsData"},1090:{n:"BrtBeginSlicerCacheLevelData"},1091:{n:"BrtEndSlicerCacheLevelData"},1092:{n:"BrtBeginSlicerCacheSiRanges"},1093:{n:"BrtEndSlicerCacheSiRanges"},1094:{n:"BrtBeginSlicerCacheSiRange"},1095:{n:"BrtEndSlicerCacheSiRange"},1096:{n:"BrtSlicerCacheOlapItem"},1097:{n:"BrtBeginSlicerCacheSelections"},1098:{n:"BrtSlicerCacheSelection"},1099:{n:"BrtEndSlicerCacheSelections"},1100:{n:"BrtBeginSlicerCacheNative"},1101:{n:"BrtEndSlicerCacheNative"},1102:{n:"BrtSlicerCacheNativeItem"},1103:{n:"BrtRangeProtection14"},1104:{n:"BrtRangeProtectionIso14"},1105:{n:"BrtCellIgnoreEC14"},1111:{n:"BrtList14"},1112:{n:"BrtCFIcon"},1113:{n:"BrtBeginSlicerCachesPivotCacheIDs"},1114:{n:"BrtEndSlicerCachesPivotCacheIDs"},1115:{n:"BrtBeginSlicers"},1116:{n:"BrtEndSlicers"},1117:{n:"BrtWbProp14"},1118:{n:"BrtBeginSXEdit"},1119:{n:"BrtEndSXEdit"},1120:{n:"BrtBeginSXEdits"},1121:{n:"BrtEndSXEdits"},1122:{n:"BrtBeginSXChange"},1123:{n:"BrtEndSXChange"},1124:{n:"BrtBeginSXChanges"},1125:{n:"BrtEndSXChanges"},1126:{n:"BrtSXTupleItems"},1128:{n:"BrtBeginSlicerStyle"},1129:{n:"BrtEndSlicerStyle"},1130:{n:"BrtSlicerStyleElement"},1131:{n:"BrtBeginStyleSheetExt14"},1132:{n:"BrtEndStyleSheetExt14"},1133:{n:"BrtBeginSlicerCachesPivotCacheID"},1134:{n:"BrtEndSlicerCachesPivotCacheID"},1135:{n:"BrtBeginConditionalFormattings"},1136:{n:"BrtEndConditionalFormattings"},1137:{n:"BrtBeginPCDCalcMemExt"},1138:{n:"BrtEndPCDCalcMemExt"},1139:{n:"BrtBeginPCDCalcMemsExt"},1140:{n:"BrtEndPCDCalcMemsExt"},1141:{n:"BrtPCDField14"},1142:{n:"BrtBeginSlicerStyles"},1143:{n:"BrtEndSlicerStyles"},1144:{n:"BrtBeginSlicerStyleElements"},1145:{n:"BrtEndSlicerStyleElements"},1146:{n:"BrtCFRuleExt"},1147:{n:"BrtBeginSXCondFmt14"},1148:{n:"BrtEndSXCondFmt14"},1149:{n:"BrtBeginSXCondFmts14"},1150:{n:"BrtEndSXCondFmts14"},1152:{n:"BrtBeginSortCond14"},1153:{n:"BrtEndSortCond14"},1154:{n:"BrtEndDVals14"},1155:{n:"BrtEndIconSet14"},1156:{n:"BrtEndDatabar14"},1157:{n:"BrtBeginColorScale14"},1158:{n:"BrtEndColorScale14"},1159:{n:"BrtBeginSxrules14"},1160:{n:"BrtEndSxrules14"},1161:{n:"BrtBeginPRule14"},1162:{n:"BrtEndPRule14"},1163:{n:"BrtBeginPRFilters14"},1164:{n:"BrtEndPRFilters14"},1165:{n:"BrtBeginPRFilter14"},1166:{n:"BrtEndPRFilter14"},1167:{n:"BrtBeginPRFItem14"},1168:{n:"BrtEndPRFItem14"},1169:{n:"BrtBeginCellIgnoreECs14"},1170:{n:"BrtEndCellIgnoreECs14"},1171:{n:"BrtDxf14"},1172:{n:"BrtBeginDxF14s"},1173:{n:"BrtEndDxf14s"},1177:{n:"BrtFilter14"},1178:{n:"BrtBeginCustomFilters14"},1180:{n:"BrtCustomFilter14"},1181:{n:"BrtIconFilter14"},1182:{n:"BrtPivotCacheConnectionName"},2048:{n:"BrtBeginDecoupledPivotCacheIDs"},2049:{n:"BrtEndDecoupledPivotCacheIDs"},2050:{n:"BrtDecoupledPivotCacheID"},2051:{n:"BrtBeginPivotTableRefs"},2052:{n:"BrtEndPivotTableRefs"},2053:{n:"BrtPivotTableRef"},2054:{n:"BrtSlicerCacheBookPivotTables"},2055:{n:"BrtBeginSxvcells"},2056:{n:"BrtEndSxvcells"},2057:{n:"BrtBeginSxRow"},2058:{n:"BrtEndSxRow"},2060:{n:"BrtPcdCalcMem15"},2067:{n:"BrtQsi15"},2068:{n:"BrtBeginWebExtensions"},2069:{n:"BrtEndWebExtensions"},2070:{n:"BrtWebExtension"},2071:{n:"BrtAbsPath15"},2072:{n:"BrtBeginPivotTableUISettings"},2073:{n:"BrtEndPivotTableUISettings"},2075:{n:"BrtTableSlicerCacheIDs"},2076:{n:"BrtTableSlicerCacheID"},2077:{n:"BrtBeginTableSlicerCache"},2078:{n:"BrtEndTableSlicerCache"},2079:{n:"BrtSxFilter15"},2080:{n:"BrtBeginTimelineCachePivotCacheIDs"},2081:{n:"BrtEndTimelineCachePivotCacheIDs"},2082:{n:"BrtTimelineCachePivotCacheID"},2083:{n:"BrtBeginTimelineCacheIDs"},2084:{n:"BrtEndTimelineCacheIDs"},2085:{n:"BrtBeginTimelineCacheID"},2086:{n:"BrtEndTimelineCacheID"},2087:{n:"BrtBeginTimelinesEx"},2088:{n:"BrtEndTimelinesEx"},2089:{n:"BrtBeginTimelineEx"},2090:{n:"BrtEndTimelineEx"},2091:{n:"BrtWorkBookPr15"},2092:{n:"BrtPCDH15"},2093:{n:"BrtBeginTimelineStyle"},2094:{n:"BrtEndTimelineStyle"},2095:{n:"BrtTimelineStyleElement"},2096:{n:"BrtBeginTimelineStylesheetExt15"},2097:{n:"BrtEndTimelineStylesheetExt15"},2098:{n:"BrtBeginTimelineStyles"},2099:{n:"BrtEndTimelineStyles"},2100:{n:"BrtBeginTimelineStyleElements"},2101:{n:"BrtEndTimelineStyleElements"},2102:{n:"BrtDxf15"},2103:{n:"BrtBeginDxfs15"},2104:{n:"brtEndDxfs15"},2105:{n:"BrtSlicerCacheHideItemsWithNoData"},2106:{n:"BrtBeginItemUniqueNames"},2107:{n:"BrtEndItemUniqueNames"},2108:{n:"BrtItemUniqueName"},2109:{n:"BrtBeginExtConn15"},2110:{n:"BrtEndExtConn15"},2111:{n:"BrtBeginOledbPr15"},2112:{n:"BrtEndOledbPr15"},2113:{n:"BrtBeginDataFeedPr15"},2114:{n:"BrtEndDataFeedPr15"},2115:{n:"BrtTextPr15"},2116:{n:"BrtRangePr15"},2117:{n:"BrtDbCommand15"},2118:{n:"BrtBeginDbTables15"},2119:{n:"BrtEndDbTables15"},2120:{n:"BrtDbTable15"},2121:{n:"BrtBeginDataModel"},2122:{n:"BrtEndDataModel"},2123:{n:"BrtBeginModelTables"},2124:{n:"BrtEndModelTables"},2125:{n:"BrtModelTable"},2126:{n:"BrtBeginModelRelationships"},2127:{n:"BrtEndModelRelationships"},2128:{n:"BrtModelRelationship"},2129:{n:"BrtBeginECTxtWiz15"},2130:{n:"BrtEndECTxtWiz15"},2131:{n:"BrtBeginECTWFldInfoLst15"},2132:{n:"BrtEndECTWFldInfoLst15"},2133:{n:"BrtBeginECTWFldInfo15"},2134:{n:"BrtFieldListActiveItem"},2135:{n:"BrtPivotCacheIdVersion"},2136:{n:"BrtSXDI15"},2137:{n:"BrtBeginModelTimeGroupings"},2138:{n:"BrtEndModelTimeGroupings"},2139:{n:"BrtBeginModelTimeGrouping"},2140:{n:"BrtEndModelTimeGrouping"},2141:{n:"BrtModelTimeGroupingCalcCol"},3072:{n:"BrtUid"},3073:{n:"BrtRevisionPtr"},5095:{n:"BrtBeginCalcFeatures"},5096:{n:"BrtEndCalcFeatures"},5097:{n:"BrtCalcFeature"},65535:{n:""}},tl=V(el,"n"),rl={3:{n:"BIFF2NUM",f:function(e){var t=ea(e);++e.l;var r=Ar(e);return t.t="n",t.val=r,t}},4:{n:"BIFF2STR",f:function(e,t,r){var n=ea(e);++e.l;var a=$n(e,0,r);return n.t="str",n.val=a,n}},6:{n:"Formula",f:Yi},9:{n:"BOF",f:ha},10:{n:"EOF",f:Nn},12:{n:"CalcCount",f:Un},13:{n:"CalcMode",f:Un},14:{n:"CalcPrecision",f:Mn},15:{n:"CalcRefMode",f:Mn},16:{n:"CalcDelta",f:Ar},17:{n:"CalcIter",f:Mn},18:{n:"Protect",f:Mn},19:{n:"Password",f:Un},20:{n:"Header",f:wa},21:{n:"Footer",f:wa},23:{n:"ExternSheet",f:ka},24:{n:"Lbl",f:Ta},25:{n:"WinProtect",f:Mn},26:{n:"VerticalPageBreaks"},27:{n:"HorizontalPageBreaks"},28:{n:"Note",f:function(e,t,r){return function(e,t,r){if(!(r.biff<8)){var n=e.read_shift(2),a=e.read_shift(2),s=e.read_shift(2),i=e.read_shift(2),o=$n(e,0,r);return r.biff<8&&e.read_shift(1),[{r:n,c:a},o,i,s]}}(e,0,r)}},29:{n:"Selection"},34:{n:"Date1904",f:Mn},35:{n:"ExternName",f:Ca},36:{n:"COLWIDTH"},38:{n:"LeftMargin",f:Ar},39:{n:"RightMargin",f:Ar},40:{n:"TopMargin",f:Ar},41:{n:"BottomMargin",f:Ar},42:{n:"PrintRowCol",f:Mn},43:{n:"PrintGrid",f:Mn},47:{n:"FilePass",f:function(e,t,r){var n={Type:r.biff>=8?e.read_shift(2):0};return n.Type?hs(e,t-2,n):function(e,t,r,n){var a={key:Un(e),verificationBytes:Un(e)};r.password&&(a.verifier=cs(r.password)),n.valid=a.verificationBytes===a.verifier,n.valid&&(n.insitu=fs(r.password))}(e,r.biff,r,n),n}},49:{n:"Font",f:function(e,t,r){var n={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 n.name=Vn(e,0,r),n}},51:{n:"PrintSize",f:Un},60:{n:"Continue"},61:{n:"Window1",f:function(e){return{Pos:[e.read_shift(2),e.read_shift(2)],Dim:[e.read_shift(2),e.read_shift(2)],Flags:e.read_shift(2),CurTab:e.read_shift(2),FirstTab:e.read_shift(2),Selected:e.read_shift(2),TabRatio:e.read_shift(2)}}},64:{n:"Backup",f:Mn},65:{n:"Pane",f:function(){}},66:{n:"CodePage",f:Un},77:{n:"Pls"},80:{n:"DCon"},81:{n:"DConRef"},82:{n:"DConName"},85:{n:"DefColWidth",f:Un},89:{n:"XCT"},90:{n:"CRN"},91:{n:"FileSharing"},92:{n:"WriteAccess",f:function(e,t,r){if(r.enc)return e.l+=t,"";var n=e.l,a=$n(e,0,r);return e.read_shift(t+n-e.l),a}},93:{n:"Obj",f:function(e,t,r){if(r&&r.biff<8)return function(e,t,r){e.l+=4;var n=e.read_shift(2),a=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((xa[n]||Ut)(e,t,r)),{cmo:[a,n,s],ft:i}}(e,t,r);var n=ca(e);return{cmo:n,ft:function(e,t){for(var r=e.l+t,n=[];e.l<r;){var a=e.read_shift(2);e.l-=2;try{n.push(fa[a](e,r-e.l))}catch(lf){return e.l=r,n}}return e.l!=r&&(e.l=r),n}(e,t-22,n[1])}}},94:{n:"Uncalced"},95:{n:"CalcSaveRecalc",f:Mn},96:{n:"Template"},97:{n:"Intl"},99:{n:"ObjProtect",f:Mn},125:{n:"ColInfo",f:ya},128:{n:"Guts",f:function(e){e.l+=4;var t=[e.read_shift(2),e.read_shift(2)];if(0!==t[0]&&t[0]--,0!==t[1]&&t[1]--,t[0]>7||t[1]>7)throw new Error("Bad Gutters: "+t.join("|"));return t}},129:{n:"WsBool",f:function(e,t,r){return{fDialog:16&(r&&8==r.biff||2==t?e.read_shift(2):(e.l+=t,0))}}},130:{n:"GridSet",f:Un},131:{n:"HCenter",f:Mn},132:{n:"VCenter",f:Mn},133:{n:"BoundSheet8",f:function(e,t,r){var n=e.read_shift(4),a=3&e.read_shift(1),s=e.read_shift(1);switch(s){case 0:s="Worksheet";break;case 1:s="Macrosheet";break;case 2:s="Chartsheet";break;case 6:s="VBAModule"}var i=Vn(e,0,r);return 0===i.length&&(i="Sheet1"),{pos:n,hs:a,dt:s,name:i}}},134:{n:"WriteProtect"},140:{n:"Country",f:function(e){var t,r=[0,0];return t=e.read_shift(2),r[0]=Lr[t]||t,t=e.read_shift(2),r[1]=Lr[t]||t,r}},141:{n:"HideObj",f:Un},144:{n:"Sort"},146:{n:"Palette",f:function(e){for(var t=e.read_shift(2),r=[];t-- >0;)r.push(qn(e));return r}},151:{n:"Sync"},152:{n:"LPr"},153:{n:"DxGCol"},154:{n:"FnGroupName"},155:{n:"FilterMode"},156:{n:"BuiltInFnGroupCount",f:Un},157:{n:"AutoFilterInfo"},158:{n:"AutoFilter"},160:{n:"Scl",f:Fa},161:{n:"Setup",f:function(e,t){var r={};return t<32||(e.l+=16,r.header=Ar(e),r.footer=Ar(e),e.l+=2),r}},174:{n:"ScenMan"},175:{n:"SCENARIO"},176:{n:"SxView"},177:{n:"Sxvd"},178:{n:"SXVI"},180:{n:"SxIvd"},181:{n:"SXLI"},182:{n:"SXPI"},184:{n:"DocRoute"},185:{n:"RecipName"},189:{n:"MulRk",f:function(e,t){for(var r=e.l+t-2,n=e.read_shift(2),a=e.read_shift(2),s=[];e.l<r;)s.push(na(e));if(e.l!==r)throw new Error("MulRK read error");var i=e.read_shift(2);if(s.length!=i-a+1)throw new Error("MulRK length mismatch");return{r:n,c:a,C:i,rkrec:s}}},190:{n:"MulBlank",f:function(e,t){for(var r=e.l+t-2,n=e.read_shift(2),a=e.read_shift(2),s=[];e.l<r;)s.push(e.read_shift(2));if(e.l!==r)throw new Error("MulBlank read error");var i=e.read_shift(2);if(s.length!=i-a+1)throw new Error("MulBlank length mismatch");return{r:n,c:a,C:i,ixfe:s}}},193:{n:"Mms",f:Nn},197:{n:"SXDI"},198:{n:"SXDB"},199:{n:"SXFDB"},200:{n:"SXDBB"},201:{n:"SXNum"},202:{n:"SxBool",f:Mn},203:{n:"SxErr"},204:{n:"SXInt"},205:{n:"SXString"},206:{n:"SXDtr"},207:{n:"SxNil"},208:{n:"SXTbl"},209:{n:"SXTBRGIITM"},210:{n:"SxTbpg"},211:{n:"ObProj"},213:{n:"SXStreamID"},215:{n:"DBCell"},216:{n:"SXRng"},217:{n:"SxIsxoper"},218:{n:"BookBool",f:Un},220:{n:"DbOrParamQry"},221:{n:"ScenarioProtect",f:Mn},222:{n:"OleObjectSize"},224:{n:"XF",f:function(e,t,r){var n={};return n.ifnt=e.read_shift(2),n.numFmtId=e.read_shift(2),n.flags=e.read_shift(2),n.fStyle=n.flags>>2&1,6,n.data=function(e,t,r,n){var a={},s=e.read_shift(4),i=e.read_shift(4),o=e.read_shift(4),c=e.read_shift(2);return a.patternType=Ur[o>>26],n.cellStyles?(a.alc=7&s,a.fWrap=s>>3&1,a.alcV=s>>4&7,a.fJustLast=s>>7&1,a.trot=s>>8&255,a.cIndent=s>>16&15,a.fShrinkToFit=s>>20&1,a.iReadOrder=s>>22&2,a.fAtrNum=s>>26&1,a.fAtrFnt=s>>27&1,a.fAtrAlc=s>>28&1,a.fAtrBdr=s>>29&1,a.fAtrPat=s>>30&1,a.fAtrProt=s>>31&1,a.dgLeft=15&i,a.dgRight=i>>4&15,a.dgTop=i>>8&15,a.dgBottom=i>>12&15,a.icvLeft=i>>16&127,a.icvRight=i>>23&127,a.grbitDiag=i>>30&3,a.icvTop=127&o,a.icvBottom=o>>7&127,a.icvDiag=o>>14&127,a.dgDiag=o>>21&15,a.icvFore=127&c,a.icvBack=c>>7&127,a.fsxButton=c>>14&1,a):a}(e,0,n.fStyle,r),n}},225:{n:"InterfaceHdr",f:function(e,t){return 0===t||e.read_shift(2),1200}},226:{n:"InterfaceEnd",f:Nn},227:{n:"SXVS"},229:{n:"MergeCells",f:function(e,t){for(var r=[],n=e.read_shift(2);n--;)r.push(aa(e));return r}},233:{n:"BkHim"},235:{n:"MsoDrawingGroup"},236:{n:"MsoDrawing"},237:{n:"MsoDrawingSelection"},239:{n:"PhoneticInfo"},240:{n:"SxRule"},241:{n:"SXEx"},242:{n:"SxFilt"},244:{n:"SxDXF"},245:{n:"SxItm"},246:{n:"SxName"},247:{n:"SxSelect"},248:{n:"SXPair"},249:{n:"SxFmla"},251:{n:"SxFormat"},252:{n:"SST",f:function(e,t){for(var r=e.l+t,n=e.read_shift(4),a=e.read_shift(4),s=[],i=0;i!=a&&e.l<r;++i)s.push(Xn(e));return s.Count=n,s.Unique=a,s}},253:{n:"LabelSst",f:function(e){var t=ea(e);return t.isst=e.read_shift(4),t}},255:{n:"ExtSST",f:function(e,t){var r={};return r.dsst=e.read_shift(2),e.l+=t-2,r}},256:{n:"SXVDEx"},259:{n:"SXFormula"},290:{n:"SXDBEx"},311:{n:"RRDInsDel"},312:{n:"RRDHead"},315:{n:"RRDChgCell"},317:{n:"RRTabId",f:Wn},318:{n:"RRDRenSheet"},319:{n:"RRSort"},320:{n:"RRDMove"},330:{n:"RRFormat"},331:{n:"RRAutoFmt"},333:{n:"RRInsertSh"},334:{n:"RRDMoveBegin"},335:{n:"RRDMoveEnd"},336:{n:"RRDInsDelBegin"},337:{n:"RRDInsDelEnd"},338:{n:"RRDConflict"},339:{n:"RRDDefName"},340:{n:"RRDRstEtxp"},351:{n:"LRng"},352:{n:"UsesELFs",f:Mn},353:{n:"DSF",f:Nn},401:{n:"CUsr"},402:{n:"CbUsr"},403:{n:"UsrInfo"},404:{n:"UsrExcl"},405:{n:"FileLock"},406:{n:"RRDInfo"},407:{n:"BCUsrs"},408:{n:"UsrChk"},425:{n:"UserBView"},426:{n:"UserSViewBegin"},427:{n:"UserSViewEnd"},428:{n:"RRDUserView"},429:{n:"Qsi"},430:{n:"SupBook",f:function(e,t,r){var n=e.l+t,a=e.read_shift(2),s=e.read_shift(2);if(r.sbcch=s,1025==s||14849==s)return[s,a];if(s<1||s>255)throw new Error("Unexpected SupBook type: "+s);for(var i=zn(e,s),o=[];n>e.l;)o.push(jn(e));return[s,a,i,o]}},431:{n:"Prot4Rev",f:Mn},432:{n:"CondFmt"},433:{n:"CF"},434:{n:"DVal"},437:{n:"DConBin"},438:{n:"TxO",f:function(e,t,r){var n=e.l,a="";try{e.l+=4;var s=(r.lastobj||{cmo:[0,0]}).cmo[1];-1==[0,5,7,11,12,14].indexOf(s)?e.l+=6:function(e){var t=e.read_shift(1);e.l++;var r=e.read_shift(2);return e.l+=2,[t,r]}(e);var i=e.read_shift(2);e.read_shift(2),Un(e);var o=e.read_shift(2);e.l+=o;for(var c=1;c<e.lens.length-1;++c){if(e.l-n!=e.lens[c])throw new Error("TxO: bad continue record");var l=e[e.l];if((a+=zn(e,e.lens[c+1]-e.lens[c]-1)).length>=(l?i:2*i))break}if(a.length!==i&&a.length!==2*i)throw new Error("cchText: "+i+" != "+a.length);return e.l=n+t,{t:a}}catch(lf){return e.l=n+t,{t:a}}}},439:{n:"RefreshAll",f:Mn},440:{n:"HLink",f:function(e,t){var r=aa(e);return e.l+=16,[r,function(e,t){var r=e.l+t,n=e.read_shift(4);if(2!==n)throw new Error("Unrecognized streamVersion: "+n);var a=e.read_shift(2);e.l+=2;var s,i,o,c,l,f,h="";16&a&&(s=Qn(e,e.l)),128&a&&(i=Qn(e,e.l)),257===(257&a)&&(o=Qn(e,e.l)),1===(257&a)&&(c=Yn(e,e.l)),8&a&&(h=Qn(e,e.l)),32&a&&(l=e.read_shift(16)),64&a&&(f=vn(e)),e.l=r;var u=i||o||c||"";u&&h&&(u+="#"+h),u||(u="#"+h);var d={Target:u};return l&&(d.guid=l),f&&(d.time=f),s&&(d.Tooltip=s),d}(e,t-24)]}},441:{n:"Lel"},442:{n:"CodeName",f:jn},443:{n:"SXFDBType"},444:{n:"Prot4RevPass",f:Un},445:{n:"ObNoMacros"},446:{n:"Dv"},448:{n:"Excel9File",f:Nn},449:{n:"RecalcId",f:function(e){return e.read_shift(2),e.read_shift(4)},r:2},450:{n:"EntExU2",f:Nn},512:{n:"Dimensions",f:ba},513:{n:"Blank",f:Ra},515:{n:"Number",f:function(e){var t=ea(e),r=Ar(e);return t.val=r,t}},516:{n:"Label",f:function(e,t,r){e.l;var n=ea(e);2==r.biff&&e.l++;var a=jn(e,e.l,r);return n.val=a,n}},517:{n:"BoolErr",f:Ea},518:{n:"Formula",f:Yi},519:{n:"String",f:Da},520:{n:"Row",f:function(e){var t={};t.r=e.read_shift(2),t.c=e.read_shift(2),t.cnt=e.read_shift(2)-t.c;var r=e.read_shift(2);e.l+=4;var n=e.read_shift(1);return e.l+=3,7&n&&(t.level=7&n),32&n&&(t.hidden=!0),64&n&&(t.hpt=r/20),t}},523:{n:"Index"},545:{n:"Array",f:_a},549:{n:"DefaultRowHeight",f:pa},566:{n:"Table"},574:{n:"Window2",f:function(e,t,r){return r&&r.biff>=2&&r.biff<5?{}:{RTL:64&e.read_shift(2)}}},638:{n:"RK",f:function(e){var t=e.read_shift(2),r=e.read_shift(2),n=na(e);return{r:t,c:r,ixfe:n[0],rknum:n[1]}}},659:{n:"Style"},1030:{n:"Formula",f:Yi},1048:{n:"BigName"},1054:{n:"Format",f:function(e,t,r){return[e.read_shift(2),$n(e,0,r)]}},1084:{n:"ContinueBigName"},1212:{n:"ShrFmla",f:function(e,t,r){var n=ia(e);e.l++;var a=e.read_shift(1);return[Ki(e,t-=8,r),a,n]}},2048:{n:"HLinkTooltip",f:function(e,t){e.read_shift(2);var r=aa(e),n=e.read_shift((t-10)/2,"dbcs-cont");return[r,n=n.replace(I,"")]}},2049:{n:"WebPub"},2050:{n:"QsiSXTag"},2051:{n:"DBQueryExt"},2052:{n:"ExtString"},2053:{n:"TxtQry"},2054:{n:"Qsir"},2055:{n:"Qsif"},2056:{n:"RRDTQSIF"},2057:{n:"BOF",f:ha},2058:{n:"OleDbConn"},2059:{n:"WOpt"},2060:{n:"SXViewEx"},2061:{n:"SXTH"},2062:{n:"SXPIEx"},2063:{n:"SXVDTEx"},2064:{n:"SXViewEx9"},2066:{n:"ContinueFrt"},2067:{n:"RealTimeData"},2128:{n:"ChartFrtInfo"},2129:{n:"FrtWrapper"},2130:{n:"StartBlock"},2131:{n:"EndBlock"},2132:{n:"StartObject"},2133:{n:"EndObject"},2134:{n:"CatLab"},2135:{n:"YMult"},2136:{n:"SXViewLink"},2137:{n:"PivotChartBits"},2138:{n:"FrtFontList"},2146:{n:"SheetExt"},2147:{n:"BookExt",r:12},2148:{n:"SXAddl"},2149:{n:"CrErr"},2150:{n:"HFPicture"},2151:{n:"FeatHdr",f:Nn},2152:{n:"Feat"},2154:{n:"DataLabExt"},2155:{n:"DataLabExtContents"},2156:{n:"CellWatch"},2161:{n:"FeatHdr11"},2162:{n:"Feature11"},2164:{n:"DropDownObjIds"},2165:{n:"ContinueFrt11"},2166:{n:"DConn"},2167:{n:"List12"},2168:{n:"Feature12"},2169:{n:"CondFmt12"},2170:{n:"CF12"},2171:{n:"CFEx"},2172:{n:"XFCRC",f:function(e){e.l+=2;var t={cxfs:0,crc:0};return t.cxfs=e.read_shift(2),t.crc=e.read_shift(4),t},r:12},2173:{n:"XFExt",f:function(e,t){e.l,e.l+=2;var r=e.read_shift(2);e.l+=2;for(var n=e.read_shift(2),a=[];n-- >0;)a.push(qs(e,e.l));return{ixfe:r,ext:a}},r:12},2174:{n:"AutoFilter12"},2175:{n:"ContinueFrt12"},2180:{n:"MDTInfo"},2181:{n:"MDXStr"},2182:{n:"MDXTuple"},2183:{n:"MDXSet"},2184:{n:"MDXProp"},2185:{n:"MDXKPI"},2186:{n:"MDB"},2187:{n:"PLV"},2188:{n:"Compat12",f:Mn,r:12},2189:{n:"DXF"},2190:{n:"TableStyles",r:12},2191:{n:"TableStyle"},2192:{n:"TableStyleElement"},2194:{n:"StyleExt"},2195:{n:"NamePublish"},2196:{n:"NameCmt",f:function(e,t,r){if(!(r.biff<8)){var n=e.read_shift(2),a=e.read_shift(2);return[zn(e,n,r),zn(e,a,r)]}e.l+=t},r:12},2197:{n:"SortData"},2198:{n:"Theme",f:function(e,t,r){var n=e.l+t;if(124226!==e.read_shift(4))if(r.cellStyles&&oe){var a,s=e.slice(e.l);e.l=n;try{a=new oe(s)}catch(lf){return}var i=pe(a,"theme/theme/theme1.xml",!0);if(i)return Qs(i,r)}else e.l=n},r:12},2199:{n:"GUIDTypeLib"},2200:{n:"FnGrp12"},2201:{n:"NameFnGrp12"},2202:{n:"MTRSettings",f:function(e){return[0!==e.read_shift(4),0!==e.read_shift(4),e.read_shift(4)]},r:12},2203:{n:"CompressPictures",f:Nn},2204:{n:"HeaderFooter"},2205:{n:"CrtLayout12"},2206:{n:"CrtMlFrt"},2207:{n:"CrtMlFrtContinue"},2211:{n:"ForceFullCalculation",f:function(e){var t=function(e){var t=e.read_shift(2),r=e.read_shift(2);return e.l+=8,{type:t,flags:r}}(e);if(2211!=t.type)throw new Error("Invalid Future Record "+t.type);return 0!==e.read_shift(4)}},2212:{n:"ShapePropsStream"},2213:{n:"TextPropsStream"},2214:{n:"RichTextStream"},2215:{n:"CrtLayout12A"},4097:{n:"Units"},4098:{n:"Chart"},4099:{n:"Series"},4102:{n:"DataFormat"},4103:{n:"LineFormat"},4105:{n:"MarkerFormat"},4106:{n:"AreaFormat"},4107:{n:"PieFormat"},4108:{n:"AttachedLabel"},4109:{n:"SeriesText"},4116:{n:"ChartFormat"},4117:{n:"Legend"},4118:{n:"SeriesList"},4119:{n:"Bar"},4120:{n:"Line"},4121:{n:"Pie"},4122:{n:"Area"},4123:{n:"Scatter"},4124:{n:"CrtLine"},4125:{n:"Axis"},4126:{n:"Tick"},4127:{n:"ValueRange"},4128:{n:"CatSerRange"},4129:{n:"AxisLine"},4130:{n:"CrtLink"},4132:{n:"DefaultText"},4133:{n:"Text"},4134:{n:"FontX",f:Un},4135:{n:"ObjectLink"},4146:{n:"Frame"},4147:{n:"Begin"},4148:{n:"End"},4149:{n:"PlotArea"},4154:{n:"Chart3d"},4156:{n:"PicF"},4157:{n:"DropBar"},4158:{n:"Radar"},4159:{n:"Surf"},4160:{n:"RadarArea"},4161:{n:"AxisParent"},4163:{n:"LegendException"},4164:{n:"ShtProps",f:function(e,t,r){var n={area:!1};if(5!=r.biff)return e.l+=t,n;var a=e.read_shift(1);return e.l+=3,16&a&&(n.area=!0),n}},4165:{n:"SerToCrt"},4166:{n:"AxesUsed"},4168:{n:"SBaseRef"},4170:{n:"SerParent"},4171:{n:"SerAuxTrend"},4174:{n:"IFmtRecord"},4175:{n:"Pos"},4176:{n:"AlRuns"},4177:{n:"BRAI"},4187:{n:"SerAuxErrBar"},4188:{n:"ClrtClient",f:function(e){for(var t=e.read_shift(2),r=[];t-- >0;)r.push(qn(e));return r}},4189:{n:"SerFmt"},4191:{n:"Chart3DBarShape"},4192:{n:"Fbi"},4193:{n:"BopPop"},4194:{n:"AxcExt"},4195:{n:"Dat"},4196:{n:"PlotGrowth"},4197:{n:"SIIndex"},4198:{n:"GelFrame"},4199:{n:"BopPopCustom"},4200:{n:"Fbi2"},0:{n:"Dimensions",f:ba},2:{n:"BIFF2INT",f:function(e){var t=ea(e);++e.l;var r=e.read_shift(2);return t.t="n",t.val=r,t}},5:{n:"BoolErr",f:Ea},7:{n:"String",f:function(e){var t=e.read_shift(1);return 0===t?(e.l++,""):e.read_shift(t,"sbcs-cont")}},8:{n:"BIFF2ROW"},11:{n:"Index"},22:{n:"ExternCount",f:Un},30:{n:"BIFF2FORMAT",f:ga},31:{n:"BIFF2FMTCNT"},32:{n:"BIFF2COLINFO"},33:{n:"Array",f:_a},37:{n:"DefaultRowHeight",f:pa},50:{n:"BIFF2FONTXTRA",f:function(e,t){e.l+=6,e.l+=2,e.l+=1,e.l+=3,e.l+=1,e.l+=t-13}},52:{n:"DDEObjName"},62:{n:"BIFF2WINDOW2"},67:{n:"BIFF2XF"},69:{n:"BIFF2FONTCLR"},86:{n:"BIFF4FMTCNT"},126:{n:"RK"},127:{n:"ImData",f:function(e){var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(4),a={fmt:t,env:r,len:n,data:e.slice(e.l,e.l+n)};return e.l+=n,a}},135:{n:"Addin"},136:{n:"Edg"},137:{n:"Pub"},145:{n:"Sub"},148:{n:"LHRecord"},149:{n:"LHNGraph"},150:{n:"Sound"},169:{n:"CoordList"},171:{n:"GCW"},188:{n:"ShrFmla"},191:{n:"ToolbarHdr"},192:{n:"ToolbarEnd"},194:{n:"AddMenu"},195:{n:"DelMenu"},214:{n:"RString",f:function(e,t,r){var n=e.l+t,a=ea(e),s=e.read_shift(2),i=zn(e,s,r);return e.l=n,a.t="str",a.val=i,a}},223:{n:"UDDesc"},234:{n:"TabIdConf"},354:{n:"XL5Modify"},421:{n:"FileSharing2"},521:{n:"BOF",f:ha},536:{n:"Lbl",f:Ta},547:{n:"ExternName",f:Ca},561:{n:"Font"},579:{n:"BIFF3XF"},1033:{n:"BOF",f:ha},1091:{n:"BIFF4XF"},2157:{n:"FeatInfo"},2163:{n:"FeatInfo11"},2177:{n:"SXAddl12"},2240:{n:"AutoWebPub"},2241:{n:"ListObj"},2242:{n:"ListField"},2243:{n:"ListDV"},2244:{n:"ListCondFmt"},2245:{n:"ListCF"},2246:{n:"FMQry"},2247:{n:"FMSQry"},2248:{n:"PLV"},2249:{n:"LnExt"},2250:{n:"MkrExt"},2251:{n:"CrtCoopt"},2262:{n:"FRTArchId$",r:12},29282:{}},nl=V(rl,"n");function al(e,t,r,n){var a=+t||+nl[t];if(!isNaN(a)){var s=n||(r||[]).length||0,i=e.next(4);i.write_shift(2,a),i.write_shift(2,s),s>0&&xt(r)&&e.push(r)}}function sl(e,t,r){return e||(e=Ht(7)),e.write_shift(2,t),e.write_shift(2,r),e.write_shift(2,0),e.write_shift(1,0),e}function il(e,t,r,n){if(null!=t.v)switch(t.t){case"d":case"n":var a="d"==t.t?j(te(t.v)):t.v;return void(a==(0|a)&&a>=0&&a<65536?al(e,2,function(e,t,r){var n=Ht(9);return sl(n,e,t),n.write_shift(2,r),n}(r,n,a)):al(e,3,function(e,t,r){var n=Ht(15);return sl(n,e,t),n.write_shift(8,r,"f"),n}(r,n,a)));case"b":case"e":return void al(e,5,function(e,t,r,n){var a=Ht(9);return sl(a,e,t),"e"==n?(a.write_shift(1,r),a.write_shift(1,1)):(a.write_shift(1,r?1:0),a.write_shift(1,0)),a}(r,n,t.v,t.t));case"s":case"str":return void al(e,4,function(e,t,r){var n=Ht(8+2*r.length);return sl(n,e,t),n.write_shift(1,r.length),n.write_shift(r.length,r,"sbcs"),n.l<n.length?n.slice(0,n.l):n}(r,n,t.v))}al(e,1,sl(null,r,n))}function ol(e,t){var r=t||{};for(var n=Vt(),a=0,s=0;s<e.SheetNames.length;++s)e.SheetNames[s]==r.sheet&&(a=s);if(0==a&&r.sheet&&e.SheetNames[0]!=r.sheet)throw new Error("Sheet not found: "+r.sheet);return al(n,9,ua(0,16,r)),function(e,t,r,n){var a,s=Array.isArray(t),i=rr(t["!ref"]||"A1"),o="",c=[];if(i.e.c>255||i.e.r>16383){if(n.WTF)throw new Error("Range "+(t["!ref"]||"A1")+" exceeds format limit A1:IV16384");i.e.c=Math.min(i.e.c,255),i.e.r=Math.min(i.e.c,16383),a=tr(i)}for(var l=i.s.r;l<=i.e.r;++l){o=Yt(l);for(var f=i.s.c;f<=i.e.c;++f){l===i.s.r&&(c[f]=Jt(f)),a=c[f]+o;var h=s?(t[l]||[])[f]:t[a];h&&il(e,h,l,f)}}}(n,e.Sheets[e.SheetNames[a]],0,r),al(n,10),n.end()}function cl(e,t,r){al(e,"Font",function(e,t){var r=e.name||"Arial",n=t&&5==t.biff,a=Ht(n?15+r.length:16+2*r.length);return a.write_shift(2,20*(e.sz||12)),a.write_shift(4,0),a.write_shift(2,400),a.write_shift(4,0),a.write_shift(2,0),a.write_shift(1,r.length),n||a.write_shift(1,1),a.write_shift((n?1:2)*r.length,r,n?"sbcs":"utf16le"),a}({sz:12,color:{theme:1},name:"Arial",family:2,scheme:"minor"},r))}function ll(e,t,r,n,a){var s=16+mo(a.cellXfs,t,a);if(null!=t.v||t.bf)if(t.bf)al(e,"Formula",Qi(t,r,n,0,s));else switch(t.t){case"d":case"n":al(e,"Number",function(e,t,r,n){var a=Ht(14);return ta(e,t,n,a),Ir(r,a),a}(r,n,"d"==t.t?j(te(t.v)):t.v,s));break;case"b":case"e":al(e,517,Sa(r,n,t.v,s,0,t.t));break;case"s":case"str":if(a.bookSST)al(e,"LabelSst",function(e,t,r,n){var a=Ht(10);return ta(e,t,n,a),a.write_shift(4,r),a}(r,n,ho(a.Strings,t.v,a.revStrings),s));else al(e,"Label",function(e,t,r,n,a){var s=!a||8==a.biff,i=Ht(+s+8+(1+s)*r.length);return ta(e,t,n,i),i.write_shift(2,r.length),s&&i.write_shift(1,1),i.write_shift((1+s)*r.length,r,s?"utf16le":"sbcs"),i}(r,n,t.v,s,a));break;default:al(e,"Blank",ta(r,n,s))}else al(e,"Blank",ta(r,n,s))}function fl(e,t,r){var n,a=Vt(),s=r.SheetNames[e],i=r.Sheets[s]||{},o=(r||{}).Workbook||{},c=(o.Sheets||[])[e]||{},l=Array.isArray(i),f=8==t.biff,h="",u=[],d=rr(i["!ref"]||"A1"),p=f?65536:16384;if(d.e.c>255||d.e.r>=p){if(t.WTF)throw new Error("Range "+(i["!ref"]||"A1")+" exceeds format limit A1:IV16384");d.e.c=Math.min(d.e.c,255),d.e.r=Math.min(d.e.c,p-1)}al(a,2057,ua(0,16,t)),al(a,"CalcMode",Hn(1)),al(a,"CalcCount",Hn(100)),al(a,"CalcRefMode",Ln(!0)),al(a,"CalcIter",Ln(!1)),al(a,"CalcDelta",Ir(.001)),al(a,"CalcSaveRecalc",Ln(!0)),al(a,"PrintRowCol",Ln(!1)),al(a,"PrintGrid",Ln(!1)),al(a,"GridSet",Hn(1)),al(a,"Guts",function(e){var t=Ht(8);return t.write_shift(4,0),t.write_shift(2,e[0]?e[0]+1:0),t.write_shift(2,e[1]?e[1]+1:0),t}([0,0])),al(a,"HCenter",Ln(!1)),al(a,"VCenter",Ln(!1)),al(a,512,function(e,t){var r=8!=t.biff&&t.biff?2:4,n=Ht(2*r+6);return n.write_shift(r,e.s.r),n.write_shift(r,e.e.r+1),n.write_shift(2,e.s.c),n.write_shift(2,e.e.c+1),n.write_shift(2,0),n}(d,t)),f&&(i["!links"]=[]);for(var m=d.s.r;m<=d.e.r;++m){h=Yt(m);for(var g=d.s.c;g<=d.e.c;++g){m===d.s.r&&(u[g]=Jt(g)),n=u[g]+h;var b=l?(i[m]||[])[g]:i[n];b&&(ll(a,b,m,g,t),f&&b.l&&i["!links"].push([n,b.l]))}}var v=c.CodeName||c.name||s;return f&&al(a,"Window2",function(e){var t=Ht(18),r=1718;return e&&e.RTL&&(r|=64),t.write_shift(2,r),t.write_shift(4,0),t.write_shift(4,64),t.write_shift(4,0),t.write_shift(4,0),t}((o.Views||[])[0])),f&&(i["!merges"]||[]).length&&al(a,"MergeCells",function(e){var t=Ht(2+8*e.length);t.write_shift(2,e.length);for(var r=0;r<e.length;++r)sa(e[r],t);return t}(i["!merges"])),f&&function(e,t){for(var r=0;r<t["!links"].length;++r){var n=t["!links"][r];al(e,"HLink",Aa(n)),n[1].Tooltip&&al(e,"HLinkTooltip",Ia(n))}delete t["!links"]}(a,i),al(a,"CodeName",Kn(v)),f&&function(e,t){var r=Ht(19);r.write_shift(4,2151),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(2,3),r.write_shift(1,1),r.write_shift(4,0),al(e,"FeatHdr",r),(r=Ht(39)).write_shift(4,2152),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(2,3),r.write_shift(1,0),r.write_shift(4,0),r.write_shift(2,1),r.write_shift(4,4),r.write_shift(2,0),sa(rr(t["!ref"]||"A1"),r),r.write_shift(4,4),al(e,"Feat",r)}(a,i),al(a,"EOF"),a.end()}function hl(e,t,r){var n=Vt(),a=(e||{}).Workbook||{},s=a.Sheets||[],i=a.WBProps||{},o=8==r.biff,c=5==r.biff;(al(n,2057,ua(0,5,r)),"xla"==r.bookType&&al(n,"Addin"),al(n,"InterfaceHdr",o?Hn(1200):null),al(n,"Mms",function(e,t){t||(t=Ht(e));for(var r=0;r<e;++r)t.write_shift(1,0);return t}(2)),c&&al(n,"ToolbarHdr"),c&&al(n,"ToolbarEnd"),al(n,"InterfaceEnd"),al(n,"WriteAccess",function(e,t){var r=!t||8==t.biff,n=Ht(r?112:54);for(n.write_shift(8==t.biff?2:1,7),r&&n.write_shift(1,0),n.write_shift(4,859007059),n.write_shift(4,5458548|(r?0:536870912));n.l<n.length;)n.write_shift(1,r?0:32);return n}(0,r)),al(n,"CodePage",Hn(o?1200:1252)),o&&al(n,"DSF",Hn(0)),o&&al(n,"Excel9File"),al(n,"RRTabId",function(e){for(var t=Ht(2*e),r=0;r<e;++r)t.write_shift(2,r+1);return t}(e.SheetNames.length)),o&&e.vbaraw&&al(n,"ObProj"),o&&e.vbaraw)&&al(n,"CodeName",Kn(i.CodeName||"ThisWorkbook"));al(n,"BuiltInFnGroupCount",Hn(17)),al(n,"WinProtect",Ln(!1)),al(n,"Protect",Ln(!1)),al(n,"Password",Hn(0)),o&&al(n,"Prot4Rev",Ln(!1)),o&&al(n,"Prot4RevPass",Hn(0)),al(n,"Window1",function(){var e=Ht(18);return e.write_shift(2,0),e.write_shift(2,0),e.write_shift(2,29280),e.write_shift(2,17600),e.write_shift(2,56),e.write_shift(2,0),e.write_shift(2,0),e.write_shift(2,1),e.write_shift(2,500),e}()),al(n,"Backup",Ln(!1)),al(n,"HideObj",Hn(0)),al(n,"Date1904",Ln("true"==function(e){return e.Workbook&&e.Workbook.WBProps&&Ne(e.Workbook.WBProps.date1904)?"true":"false"}(e))),al(n,"CalcPrecision",Ln(!0)),o&&al(n,"RefreshAll",Ln(!1)),al(n,"BookBool",Hn(0)),cl(n,0,r),function(e,t,r){t&&[[5,8],[23,26],[41,44],[50,392]].forEach((function(n){for(var a=n[0];a<=n[1];++a)null!=t[a]&&al(e,"Format",ma(a,t[a],r))}))}(n,e.SSF,r),function(e,t){for(var r=0;r<16;++r)al(e,"XF",va({numFmtId:0,style:!0},0,t));t.cellXfs.forEach((function(r){al(e,"XF",va(r,0,t))}))}(n,r),o&&al(n,"UsesELFs",Ln(!1));var l,f=n.end(),h=Vt();o&&al(h,"Country",(l||(l=Ht(4)),l.write_shift(2,1),l.write_shift(2,1),l)),o&&r.Strings&&function(e,t,r,n){var a=n||(r||[]).length||0;if(a<=8224)return al(e,t,r,a);var s=+t||+nl[t];if(!isNaN(s)){for(var i=r.parts||[],o=0,c=0,l=0;l+(i[o]||8224)<=8224;)l+=i[o]||8224,o++;var f=e.next(4);for(f.write_shift(2,s),f.write_shift(2,l),e.push(r.slice(c,c+l)),c+=l;c<a;){for((f=e.next(4)).write_shift(2,60),l=0;l+(i[o]||8224)<=8224;)l+=i[o]||8224,o++;f.write_shift(2,l),e.push(r.slice(c,c+l)),c+=l}}}(h,"SST",function(e,t){var r=Ht(8);r.write_shift(4,e.Count),r.write_shift(4,e.Unique);for(var n=[],a=0;a<e.length;++a)n[a]=Gn(e[a]);var s=A([r].concat(n));return s.parts=[r.length].concat(n.map((function(e){return e.length}))),s}(r.Strings)),al(h,"EOF");var u=h.end(),d=Vt(),p=0,m=0;for(m=0;m<e.SheetNames.length;++m)p+=(o?12:11)+(o?2:1)*e.SheetNames[m].length;var g=f.length+p+u.length;for(m=0;m<e.SheetNames.length;++m){al(d,"BoundSheet8",da({pos:g,hs:(s[m]||{}).Hidden||0,dt:0,name:e.SheetNames[m]},r)),g+=t[m].length}var b=d.end();if(p!=b.length)throw new Error("BS8 "+p+" != "+b.length);var v=[];return f.length&&v.push(f),b.length&&v.push(b),u.length&&v.push(u),lt([v])}function ul(e,t){var r=t||{};switch(r.biff||2){case 8:case 5:return function(e,t){var r=t||{},n=[];e&&!e.SSF&&(e.SSF=R.get_table()),e&&e.SSF&&(F(R),R.load_table(e.SSF),r.revssf=G(e.SSF),r.revssf[e.SSF[65535]]=0,r.ssf=e.SSF),r.Strings=[],r.Strings.Count=0,r.Strings.Unique=0,Pl(r),r.cellXfs=[],mo(r.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={});for(var a=0;a<e.SheetNames.length;++a)n[n.length]=fl(a,r,e);return n.unshift(hl(e,n,r)),lt([n])}(e,t);case 4:case 3:case 2:return ol(e,t)}throw new Error("invalid type "+r.bookType+" for BIFF")}var dl=function(){function e(e,t){var r=t||{};var n=r.dense?[]:{},a=(e=e.replace(/<!--.*?-->/g,"")).match(/<table/i);if(!a)throw new Error("Invalid HTML: could not find <table>");var s=e.match(/<\/table/i),i=a.index,o=s&&s.index||e.length,c=function(e,t,r){if(ce||"string"==typeof t)return e.split(t);for(var n=e.split(t),a=[n[0]],s=1;s<n.length;++s)a.push(r),a.push(n[s]);return a}(e.slice(i,o),/(:?<tr[^>]*>)/i,"<tr>"),l=-1,f=0,h=0,u=0,d={s:{r:1e7,c:1e7},e:{r:0,c:0}},p=[];for(i=0;i<c.length;++i){var m=c[i].trim(),g=m.slice(0,3).toLowerCase();if("<tr"!=g){if("<td"==g||"<th"==g){var b=m.split(/<\/t[dh]>/i);for(o=0;o<b.length;++o){var v=b[o].trim();if(v.match(/<t[dh]/i)){for(var E=v,S=0;"<"==E.charAt(0)&&(S=E.indexOf(">"))>-1;)E=E.slice(S+1);for(var w=0;w<p.length;++w){var C=p[w];C.s.c==f&&C.s.r<l&&l<=C.e.r&&(f=C.e.c+1,w=-1)}var B=Be(v.slice(0,v.indexOf(">")));u=B.colspan?+B.colspan:1,((h=+B.rowspan)>1||u>1)&&p.push({s:{r:l,c:f},e:{r:l+(h||1)-1,c:f+u-1}});var T=B.t||"";if(E.length){if(E=Xe(E),d.s.r>l&&(d.s.r=l),d.e.r<l&&(d.e.r=l),d.s.c>f&&(d.s.c=f),d.e.c<f&&(d.e.c=f),E.length){var k={t:"s",v:E};r.raw||!E.trim().length||"s"==T||("TRUE"===E?k={t:"b",v:!0}:"FALSE"===E?k={t:"b",v:!1}:isNaN(se(E))?isNaN(ie(E).getDate())||(k={t:"d",v:te(E)},r.cellDates||(k={t:"n",v:j(k.v)}),k.z=r.dateNF||R._table[14]):k={t:"n",v:se(E)}),r.dense?(n[l]||(n[l]=[]),n[l][f]=k):n[qt({r:l,c:f})]=k,f+=u}}else f+=u}}}}else{if(++l,r.sheetRows&&r.sheetRows<=l){--l;break}f=0}}return n["!ref"]=tr(d),p.length&&(n["!merges"]=p),n}function t(e,t,r,n){for(var a=e["!merges"]||[],s=[],i=t.s.c;i<=t.e.c;++i){for(var o=0,c=0,l=0;l<a.length;++l)if(!(a[l].s.r>r||a[l].s.c>i)&&!(a[l].e.r<r||a[l].e.c<i)){if(a[l].s.r<r||a[l].s.c<i){o=-1;break}o=a[l].e.r-a[l].s.r+1,c=a[l].e.c-a[l].s.c+1;break}if(!(o<0)){var f=qt({r:r,c:i}),h=n.dense?(e[r]||[])[i]:e[f],u=h&&null!=h.v&&(h.h||De(h.w||(ar(h),h.w)||""))||"",d={};o>1&&(d.rowspan=o),c>1&&(d.colspan=c),d.t=h&&h.t||"z",n.editable&&(u='<span contenteditable="true">'+u+"</span>"),d.id=(n.id||"sjs")+"-"+f,"z"!=d.t&&(d.v=h.v,null!=h.z&&(d.z=h.z)),s.push(Je("td",u,d))}}return"<tr>"+s.join("")+"</tr>"}function r(e,t,r){return[].join("")+"<table"+(r&&r.id?' id="'+r.id+'"':"")+">"}var n='<html><head><meta charset="utf-8"/><title>SheetJS Table Export</title></head><body>',a="</body></html>";return{to_workbook:function(t,r){return sr(e(t,r),r)},to_sheet:e,_row:t,BEGIN:n,END:a,_preamble:r,from_sheet:function(e,s){var i=s||{},o=null!=i.header?i.header:n,c=null!=i.footer?i.footer:a,l=[o],f=er(e["!ref"]);i.dense=Array.isArray(e),l.push(r(0,0,i));for(var h=f.s.r;h<=f.e.r;++h)l.push(t(e,f,h,i));return l.push("</table>"+c),l.join("")}}}();function pl(e,t,r){var n=r||{};var a=0,s=0;if(null!=n.origin)if("number"==typeof n.origin)a=n.origin;else{var i="string"==typeof n.origin?Zt(n.origin):n.origin;a=i.r,s=i.c}var o=t.getElementsByTagName("tr"),c=Math.min(n.sheetRows||1e7,o.length),l={s:{r:0,c:0},e:{r:a,c:s}};if(e["!ref"]){var f=er(e["!ref"]);l.s.r=Math.min(l.s.r,f.s.r),l.s.c=Math.min(l.s.c,f.s.c),l.e.r=Math.max(l.e.r,f.e.r),l.e.c=Math.max(l.e.c,f.e.c),-1==a&&(l.e.r=a=f.e.r+1)}var h=[],u=0,d=e["!rows"]||(e["!rows"]=[]),p=0,m=0,g=0,b=0,v=0,E=0;for(e["!cols"]||(e["!cols"]=[]);p<o.length&&m<c;++p){var S=o[p];if(gl(S)){if(n.display)continue;d[m]={hidden:!0}}var w=S.children;for(g=b=0;g<w.length;++g){var C=w[g];if(!n.display||!gl(C)){var B=C.hasAttribute("v")?C.getAttribute("v"):Xe(C.innerHTML),T=C.getAttribute("z");for(u=0;u<h.length;++u){var k=h[u];k.s.c==b+s&&k.s.r<m+a&&m+a<=k.e.r&&(b=k.e.c+1-s,u=-1)}E=+C.getAttribute("colspan")||1,((v=+C.getAttribute("rowspan")||1)>1||E>1)&&h.push({s:{r:m+a,c:b+s},e:{r:m+a+(v||1)-1,c:b+s+(E||1)-1}});var _={t:"s",v:B},x=C.getAttribute("t")||"";null!=B&&(0==B.length?_.t=x||"z":n.raw||0==B.trim().length||"s"==x||("TRUE"===B?_={t:"b",v:!0}:"FALSE"===B?_={t:"b",v:!1}:isNaN(se(B))?isNaN(ie(B).getDate())||(_={t:"d",v:te(B)},n.cellDates||(_={t:"n",v:j(_.v)}),_.z=n.dateNF||R._table[14]):_={t:"n",v:se(B)})),void 0===_.z&&null!=T&&(_.z=T),n.dense?(e[m+a]||(e[m+a]=[]),e[m+a][b+s]=_):e[qt({c:b+s,r:m+a})]=_,l.e.c<b+s&&(l.e.c=b+s),b+=E}}++m}return h.length&&(e["!merges"]=(e["!merges"]||[]).concat(h)),l.e.r=Math.max(l.e.r,m-1+a),e["!ref"]=tr(l),m>=c&&(e["!fullref"]=tr((l.e.r=o.length-p+m-1+a,l))),e}function ml(e,t){return pl((t||{}).dense?[]:{},e,t)}function gl(e){var t="",r=function(e){return e.ownerDocument.defaultView&&"function"===typeof e.ownerDocument.defaultView.getComputedStyle?e.ownerDocument.defaultView.getComputedStyle:"function"===typeof getComputedStyle?getComputedStyle:null}(e);return r&&(t=r(e).getPropertyValue("display")),t||(t=e.style.display),"none"===t}var bl=function(){var e=function(e){var t=e.replace(/[\t\r\n]/g," ").trim().replace(/ +/g," ").replace(/<text:s\/>/g," ").replace(/<text:s text:c="(\d+)"\/>/g,(function(e,t){return Array(parseInt(t,10)+1).join(" ")})).replace(/<text:tab[^>]*\/>/g,"\t").replace(/<text:line-break\/>/g,"\n");return[xe(t.replace(/<[^>]*>/g,""))]},t={day:["d","dd"],month:["m","mm"],year:["y","yy"],hours:["h","hh"],minutes:["m","mm"],seconds:["s","ss"],"am-pm":["A/P","AM/PM"],"day-of-week":["ddd","dddd"],era:["e","ee"],quarter:["\\Qm",'m\\"th quarter"']};return function(r,n){var a=n||{};var s,i,o,c,l,f,h=Oc(r),u=[],d={name:""},p="",m=0,g={},b=[],v=a.dense?[]:{},E={value:""},S="",w=0,C=[],B=-1,T=-1,k={s:{r:1e6,c:1e7},e:{r:0,c:0}},_=0,x={},A=[],I={},y=[],R=1,F=1,D=[],O={Names:[]},P={},N=["",""],M=[],L={},U="",H=0,W=!1,V=!1,X=0;for(Pc.lastIndex=0,h=h.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"");l=Pc.exec(h);)switch(l[3]=l[3].replace(/_.*$/,"")){case"table":case"\u5de5\u4f5c\u8868":"/"===l[1]?(k.e.c>=k.s.c&&k.e.r>=k.s.r?v["!ref"]=tr(k):v["!ref"]="A1:A1",a.sheetRows>0&&a.sheetRows<=k.e.r&&(v["!fullref"]=v["!ref"],k.e.r=a.sheetRows-1,v["!ref"]=tr(k)),A.length&&(v["!merges"]=A),y.length&&(v["!rows"]=y),o.name=o["\u540d\u79f0"]||o.name,"undefined"!==typeof JSON&&JSON.stringify(o),b.push(o.name),g[o.name]=v,V=!1):"/"!==l[0].charAt(l[0].length-2)&&(o=Be(l[0],!1),B=T=-1,k.s.r=k.s.c=1e7,k.e.r=k.e.c=0,v=a.dense?[]:{},A=[],y=[],V=!0);break;case"table-row-group":"/"===l[1]?--_:++_;break;case"table-row":case"\u884c":if("/"===l[1]){B+=R,R=1;break}if((c=Be(l[0],!1))["\u884c\u53f7"]?B=c["\u884c\u53f7"]-1:-1==B&&(B=0),(R=+c["number-rows-repeated"]||1)<10)for(X=0;X<R;++X)_>0&&(y[B+X]={level:_});T=-1;break;case"covered-table-cell":"/"!==l[1]&&++T,a.sheetStubs&&(a.dense?(v[B]||(v[B]=[]),v[B][T]={t:"z"}):v[qt({r:B,c:T})]={t:"z"}),S="",C=[];break;case"table-cell":case"\u6570\u636e":if("/"===l[0].charAt(l[0].length-2))++T,E=Be(l[0],!1),F=parseInt(E["number-columns-repeated"]||"1",10),f={t:"z",v:null},E.formula&&0!=a.cellFormula&&(f.f=io(xe(E.formula))),"string"==(E["\u6570\u636e\u7c7b\u578b"]||E["value-type"])&&(f.t="s",f.v=xe(E["string-value"]||""),a.dense?(v[B]||(v[B]=[]),v[B][T]=f):v[qt({r:B,c:T})]=f),T+=F-1;else if("/"!==l[1]){F=1;var G=R?B+R-1:B;if(++T>k.e.c&&(k.e.c=T),T<k.s.c&&(k.s.c=T),B<k.s.r&&(k.s.r=B),G>k.e.r&&(k.e.r=G),M=[],L={},f={t:(E=Be(l[0],!1))["\u6570\u636e\u7c7b\u578b"]||E["value-type"],v:null},a.cellFormula)if(E.formula&&(E.formula=xe(E.formula)),E["number-matrix-columns-spanned"]&&E["number-matrix-rows-spanned"]&&(I={s:{r:B,c:T},e:{r:B+(parseInt(E["number-matrix-rows-spanned"],10)||0)-1,c:T+(parseInt(E["number-matrix-columns-spanned"],10)||0)-1}},f.F=tr(I),D.push([I,f.F])),E.formula)f.f=io(E.formula);else for(X=0;X<D.length;++X)B>=D[X][0].s.r&&B<=D[X][0].e.r&&T>=D[X][0].s.c&&T<=D[X][0].e.c&&(f.F=D[X][1]);switch((E["number-columns-spanned"]||E["number-rows-spanned"])&&(I={s:{r:B,c:T},e:{r:B+(parseInt(E["number-rows-spanned"],10)||0)-1,c:T+(parseInt(E["number-columns-spanned"],10)||0)-1}},A.push(I)),E["number-columns-repeated"]&&(F=parseInt(E["number-columns-repeated"],10)),f.t){case"boolean":f.t="b",f.v=Ne(E["boolean-value"]);break;case"float":case"percentage":case"currency":f.t="n",f.v=parseFloat(E.value);break;case"date":f.t="d",f.v=te(E["date-value"]),a.cellDates||(f.t="n",f.v=j(f.v)),f.z="m/d/yy";break;case"time":f.t="n",f.v=Z(E["time-value"])/86400;break;case"number":f.t="n",f.v=parseFloat(E["\u6570\u636e\u6570\u503c"]);break;default:if("string"!==f.t&&"text"!==f.t&&f.t)throw new Error("Unsupported value type "+f.t);f.t="s",null!=E["string-value"]&&(S=xe(E["string-value"]),C=[])}}else{if(W=!1,"s"===f.t&&(f.v=S||"",C.length&&(f.R=C),W=0==w),P.Target&&(f.l=P),M.length>0&&(f.c=M,M=[]),S&&!1!==a.cellText&&(f.w=S),W&&(f.t="z",delete f.v),(!W||a.sheetStubs)&&!(a.sheetRows&&a.sheetRows<=B))for(var z=0;z<R;++z){if(F=parseInt(E["number-columns-repeated"]||"1",10),a.dense)for(v[B+z]||(v[B+z]=[]),v[B+z][T]=0==z?f:ne(f);--F>0;)v[B+z][T+F]=ne(f);else for(v[qt({r:B+z,c:T})]=f;--F>0;)v[qt({r:B+z,c:T+F})]=ne(f);k.e.c<=T&&(k.e.c=T)}T+=(F=parseInt(E["number-columns-repeated"]||"1",10))-1,F=0,f={},S="",C=[]}P={};break;case"document":case"document-content":case"\u7535\u5b50\u8868\u683c\u6587\u6863":case"spreadsheet":case"\u4e3b\u4f53":case"scripts":case"styles":case"font-face-decls":case"master-styles":if("/"===l[1]){if((s=u.pop())[0]!==l[3])throw"Bad state: "+s}else"/"!==l[0].charAt(l[0].length-2)&&u.push([l[3],!0]);break;case"annotation":if("/"===l[1]){if((s=u.pop())[0]!==l[3])throw"Bad state: "+s;L.t=S,C.length&&(L.R=C),L.a=U,M.push(L)}else"/"!==l[0].charAt(l[0].length-2)&&u.push([l[3],!1]);U="",H=0,S="",w=0,C=[];break;case"creator":"/"===l[1]?U=h.slice(H,l.index):H=l.index+l[0].length;break;case"meta":case"\u5143\u6570\u636e":case"settings":case"config-item-set":case"config-item-map-indexed":case"config-item-map-entry":case"config-item-map-named":case"shapes":case"frame":case"text-box":case"image":case"data-pilot-tables":case"list-style":case"form":case"dde-links":case"event-listeners":case"chart":if("/"===l[1]){if((s=u.pop())[0]!==l[3])throw"Bad state: "+s}else"/"!==l[0].charAt(l[0].length-2)&&u.push([l[3],!1]);S="",w=0,C=[];break;case"scientific-number":case"currency-symbol":case"currency-style":break;case"number-style":case"percentage-style":case"date-style":case"time-style":if("/"===l[1]){if(x[d.name]=p,(s=u.pop())[0]!==l[3])throw"Bad state: "+s}else"/"!==l[0].charAt(l[0].length-2)&&(p="",d=Be(l[0],!1),u.push([l[3],!0]));break;case"script":case"libraries":case"automatic-styles":break;case"default-style":case"page-layout":case"style":case"map":case"font-face":case"paragraph-properties":case"table-properties":case"table-column-properties":case"table-row-properties":case"table-cell-properties":break;case"number":switch(u[u.length-1][0]){case"time-style":case"date-style":i=Be(l[0],!1),p+=t[l[3]]["long"===i.style?1:0]}break;case"fraction":break;case"day":case"month":case"year":case"era":case"day-of-week":case"week-of-year":case"quarter":case"hours":case"minutes":case"seconds":case"am-pm":switch(u[u.length-1][0]){case"time-style":case"date-style":i=Be(l[0],!1),p+=t[l[3]]["long"===i.style?1:0]}break;case"boolean-style":case"boolean":case"text-style":break;case"text":if("/>"===l[0].slice(-2))break;if("/"===l[1])switch(u[u.length-1][0]){case"number-style":case"date-style":case"time-style":p+=h.slice(m,l.index)}else m=l.index+l[0].length;break;case"named-range":N=oo((i=Be(l[0],!1))["cell-range-address"]);var $={Name:i.name,Ref:N[0]+"!"+N[1]};V&&($.Sheet=b.length),O.Names.push($);break;case"text-content":case"text-properties":case"embedded-text":break;case"body":case"\u7535\u5b50\u8868\u683c":case"forms":case"table-column":case"table-header-rows":case"table-rows":case"table-column-group":case"table-header-columns":case"table-columns":case"null-date":case"graphic-properties":case"calculation-settings":case"named-expressions":case"label-range":case"label-ranges":case"named-expression":case"sort":case"sort-by":case"sort-groups":case"tab":case"line-break":case"span":break;case"p":case"\u6587\u672c\u4e32":if(["master-styles"].indexOf(u[u.length-1][0])>-1)break;if("/"!==l[1]||E&&E["string-value"])Be(l[0],!1),w=l.index+l[0].length;else{var K=e(h.slice(w,l.index));S=(S.length>0?S+"\n":"")+K[0]}break;case"s":break;case"database-range":if("/"===l[1])break;try{g[(N=oo(Be(l[0])["target-range-address"]))[0]]["!autofilter"]={ref:N[1]}}catch(lf){}break;case"date":case"object":break;case"title":case"\u6807\u9898":case"desc":case"binary-data":case"table-source":case"scenario":case"iteration":case"content-validations":case"content-validation":case"help-message":case"error-message":case"database-ranges":case"filter":case"filter-and":case"filter-or":case"filter-condition":case"list-level-style-bullet":case"list-level-style-number":case"list-level-properties":break;case"sender-firstname":case"sender-lastname":case"sender-initials":case"sender-title":case"sender-position":case"sender-email":case"sender-phone-private":case"sender-fax":case"sender-company":case"sender-phone-work":case"sender-street":case"sender-city":case"sender-postal-code":case"sender-country":case"sender-state-or-province":case"author-name":case"author-initials":case"chapter":case"file-name":case"template-name":case"sheet-name":case"event-listener":break;case"initial-creator":case"creation-date":case"print-date":case"generator":case"document-statistic":case"user-defined":case"editing-duration":case"editing-cycles":case"config-item":case"page-number":case"page-count":case"time":case"cell-range-source":case"detective":case"operation":case"highlighted-range":break;case"data-pilot-table":case"source-cell-range":case"source-service":case"data-pilot-field":case"data-pilot-level":case"data-pilot-subtotals":case"data-pilot-subtotal":case"data-pilot-members":case"data-pilot-member":case"data-pilot-display-info":case"data-pilot-sort-info":case"data-pilot-layout-info":case"data-pilot-field-reference":case"data-pilot-groups":case"data-pilot-group":case"data-pilot-group-member":case"rect":break;case"dde-connection-decls":case"dde-connection-decl":case"dde-link":case"dde-source":case"properties":case"property":break;case"a":if("/"!==l[1]){if(!(P=Be(l[0],!1)).href)break;P.Target=P.href,delete P.href,"#"==P.Target.charAt(0)&&P.Target.indexOf(".")>-1&&(N=oo(P.Target.slice(1)),P.Target="#"+N[0]+"!"+N[1])}break;case"table-protection":case"data-pilot-grand-total":case"office-document-common-attrs":break;default:switch(l[2]){case"dc:":case"calcext:":case"loext:":case"ooo:":case"chartooo:":case"draw:":case"style:":case"chart:":case"form:":case"uof:":case"\u8868:":case"\u5b57:":break;default:if(a.WTF)throw new Error(l)}}var Y={Sheets:g,SheetNames:b,Workbook:O};return a.bookSheets&&delete Y.Sheets,Y}}();function vl(e,t){t=t||{};var r=!!he(e,"objectdata");r&&function(e,t){for(var r,n,a=Oc(e);r=Pc.exec(a);)switch(r[3]){case"manifest":break;case"file-entry":if("/"==(n=Be(r[0],!1)).path&&"application/vnd.oasis.opendocument.spreadsheet"!==n.type)throw new Error("This OpenDocument is not a spreadsheet");break;case"encryption-data":case"algorithm":case"start-key-generation":case"key-derivation":throw new Error("Unsupported ODS Encryption");default:if(t&&t.WTF)throw r}}(de(e,"META-INF/manifest.xml"),t);var n=pe(e,"content.xml");if(!n)throw new Error("Missing content.xml in "+(r?"ODS":"UOF")+" file");var a=bl(r?n:Me(n),t);return he(e,"meta.xml")&&(a.Props=sn(de(e,"meta.xml"))),a}function El(e,t){return bl(e,t)}var Sl=function(){var e="<office:document-styles "+Qe({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","office:version":"1.2"})+"></office:document-styles>";return function(){return ve+e}}(),wl=function(){var e="          <table:table-cell />\n",t=function(t,r,n){var a=[];a.push('      <table:table table:name="'+ye(r.SheetNames[n])+'" table:style-name="ta1">\n');var s=0,i=0,o=er(t["!ref"]),c=t["!merges"]||[],l=0,f=Array.isArray(t);for(s=0;s<o.s.r;++s)a.push("        <table:table-row></table:table-row>\n");for(;s<=o.e.r;++s){for(a.push("        <table:table-row>\n"),i=0;i<o.s.c;++i)a.push(e);for(;i<=o.e.c;++i){var h=!1,u={},d="";for(l=0;l!=c.length;++l)if(!(c[l].s.c>i)&&!(c[l].s.r>s)&&!(c[l].e.c<i)&&!(c[l].e.r<s)){c[l].s.c==i&&c[l].s.r==s||(h=!0),u["table:number-columns-spanned"]=c[l].e.c-c[l].s.c+1,u["table:number-rows-spanned"]=c[l].e.r-c[l].s.r+1;break}if(h)a.push("          <table:covered-table-cell/>\n");else{var p=qt({r:s,c:i}),m=f?(t[s]||[])[i]:t[p];if(m&&m.f&&(u["table:formula"]=ye(("of:="+m.f.replace(ci,"$1[.$2$3$4$5]").replace(/\]:\[/g,":")).replace(/;/g,"|").replace(/,/g,";")),m.F&&m.F.slice(0,p.length)==p)){var g=er(m.F);u["table:number-matrix-columns-spanned"]=g.e.c-g.s.c+1,u["table:number-matrix-rows-spanned"]=g.e.r-g.s.r+1}if(m){switch(m.t){case"b":d=m.v?"TRUE":"FALSE",u["office:value-type"]="boolean",u["office:boolean-value"]=m.v?"true":"false";break;case"n":d=m.w||String(m.v||0),u["office:value-type"]="float",u["office:value"]=m.v||0;break;case"s":case"str":d=null==m.v?"":m.v,u["office:value-type"]="string";break;case"d":d=m.w||te(m.v).toISOString(),u["office:value-type"]="date",u["office:date-value"]=te(m.v).toISOString(),u["table:style-name"]="ce1";break;default:a.push(e);continue}var b=ye(d).replace(/  +/g,(function(e){return'<text:s text:c="'+e.length+'"/>'})).replace(/\t/g,"<text:tab/>").replace(/\n/g,"<text:line-break/>").replace(/^ /,"<text:s/>").replace(/ $/,"<text:s/>");if(m.l&&m.l.Target){var v=m.l.Target;b=Je("text:a",b,{"xlink:href":v="#"==v.charAt(0)?"#"+v.slice(1).replace(/\./,"!"):v})}a.push("          "+Je("table:table-cell",Je("text:p",b,{}),u)+"\n")}else a.push(e)}}a.push("        </table:table-row>\n")}return a.push("      </table:table>\n"),a.join("")};return function(e,r){var n=[ve],a=Qe({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:meta":"urn:oasis:names:tc:opendocument:xmlns:meta:1.0","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:presentation":"urn:oasis:names:tc:opendocument:xmlns:presentation:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:chart":"urn:oasis:names:tc:opendocument:xmlns:chart:1.0","xmlns:dr3d":"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0","xmlns:math":"http://www.w3.org/1998/Math/MathML","xmlns:form":"urn:oasis:names:tc:opendocument:xmlns:form:1.0","xmlns:script":"urn:oasis:names:tc:opendocument:xmlns:script:1.0","xmlns:ooo":"http://openoffice.org/2004/office","xmlns:ooow":"http://openoffice.org/2004/writer","xmlns:oooc":"http://openoffice.org/2004/calc","xmlns:dom":"http://www.w3.org/2001/xml-events","xmlns:xforms":"http://www.w3.org/2002/xforms","xmlns:xsd":"http://www.w3.org/2001/XMLSchema","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","xmlns:sheet":"urn:oasis:names:tc:opendocument:sh33tjs:1.0","xmlns:rpt":"http://openoffice.org/2005/report","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","xmlns:xhtml":"http://www.w3.org/1999/xhtml","xmlns:grddl":"http://www.w3.org/2003/g/data-view#","xmlns:tableooo":"http://openoffice.org/2009/table","xmlns:drawooo":"http://openoffice.org/2010/draw","xmlns:calcext":"urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0","xmlns:loext":"urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0","xmlns:field":"urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0","xmlns:formx":"urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0","xmlns:css3t":"http://www.w3.org/TR/css3-text/","office:version":"1.2"}),s=Qe({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});"fods"==r.bookType?n.push("<office:document"+a+s+">\n"):n.push("<office:document-content"+a+">\n"),function(e){e.push(" <office:automatic-styles>\n"),e.push('  <number:date-style style:name="N37" number:automatic-order="true">\n'),e.push('   <number:month number:style="long"/>\n'),e.push("   <number:text>/</number:text>\n"),e.push('   <number:day number:style="long"/>\n'),e.push("   <number:text>/</number:text>\n"),e.push("   <number:year/>\n"),e.push("  </number:date-style>\n"),e.push('  <style:style style:name="ta1" style:family="table">\n'),e.push('   <style:table-properties table:display="true" style:writing-mode="lr-tb"/>\n'),e.push("  </style:style>\n"),e.push('  <style:style style:name="ce1" style:family="table-cell" style:parent-style-name="Default" style:data-style-name="N37"/>\n'),e.push(" </office:automatic-styles>\n")}(n),n.push("  <office:body>\n"),n.push("    <office:spreadsheet>\n");for(var i=0;i!=e.SheetNames.length;++i)n.push(t(e.Sheets[e.SheetNames[i]],e,i));return n.push("    </office:spreadsheet>\n"),n.push("  </office:body>\n"),"fods"==r.bookType?n.push("</office:document>"):n.push("</office:document-content>"),n.join("")}}();function Cl(e,t){if("fods"==t.bookType)return wl(e,t);var r=ge(),n="",a=[],s=[];return me(r,n="mimetype","application/vnd.oasis.opendocument.spreadsheet"),me(r,n="content.xml",wl(e,t)),a.push([n,"text/xml"]),s.push([n,"ContentFile"]),me(r,n="styles.xml",Sl(e,t)),a.push([n,"text/xml"]),s.push([n,"StylesFile"]),me(r,n="meta.xml",rn()),a.push([n,"text/xml"]),s.push([n,"MetadataFile"]),me(r,n="manifest.rdf",function(e){var t,r,n=[ve];n.push('<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">\n');for(var a=0;a!=e.length;++a)n.push(tn(e[a][0],e[a][1])),n.push((t="",r=e[a][0],['  <rdf:Description rdf:about="'+t+'">\n','    <ns0:hasPart xmlns:ns0="http://docs.oasis-open.org/ns/office/1.2/meta/pkg#" rdf:resource="'+r+'"/>\n',"  </rdf:Description>\n"].join("")));return n.push(tn("","Document","pkg")),n.push("</rdf:RDF>"),n.join("")}(s)),a.push([n,"application/rdf+xml"]),me(r,n="META-INF/manifest.xml",function(e){var t=[ve];t.push('<manifest:manifest xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0" manifest:version="1.2">\n'),t.push('  <manifest:file-entry manifest:full-path="/" manifest:version="1.2" manifest:media-type="application/vnd.oasis.opendocument.spreadsheet"/>\n');for(var r=0;r<e.length;++r)t.push('  <manifest:file-entry manifest:full-path="'+e[r][0]+'" manifest:media-type="'+e[r][1]+'"/>\n');return t.push("</manifest:manifest>"),t.join("")}(a)),r}function Bl(e){return function(t,r){var n=function(e,t){if(!t)return 0;var r=e.SheetNames.indexOf(t);if(-1==r)throw new Error("Sheet not found: "+t);return r}(t,r.sheet);return e.from_sheet(t.Sheets[t.SheetNames[n]],r,t)}}var Tl=Bl(dl),kl=Bl({from_sheet:nf}),_l=Bl("undefined"!==typeof Pa?Pa:{}),xl=Bl("undefined"!==typeof Na?Na:{}),Al=Bl("undefined"!==typeof La?La:{}),Il=Bl("undefined"!==typeof us?us:{}),yl=Bl({from_sheet:af}),Rl=Bl("undefined"!==typeof Oa?Oa:{}),Fl=Bl("undefined"!==typeof Ma?Ma:{});function Dl(e){return function(t){for(var r=0;r!=e.length;++r){var n=e[r];void 0===t[n[0]]&&(t[n[0]]=n[1]),"n"===n[2]&&(t[n[0]]=Number(t[n[0]]))}}}var Ol=function(e){Dl([["cellNF",!1],["cellHTML",!0],["cellFormula",!0],["cellStyles",!1],["cellText",!0],["cellDates",!1],["sheetStubs",!1],["sheetRows",0,"n"],["bookDeps",!1],["bookSheets",!1],["bookProps",!1],["bookFiles",!1],["bookVBA",!1],["password",""],["WTF",!1]])(e)},Pl=Dl([["cellDates",!1],["bookSST",!1],["bookType","xlsx"],["compression",!1],["WTF",!1]]);function Nl(e,t,r,n,a,s,i,o,c,l,f,h){try{s[n]=Qr(pe(e,r,!0),t);var u,d=de(e,t);switch(o){case"sheet":u=pc(d,t,a,c,s[n],l,f,h);break;case"chart":if(!(u=mc(d,t,a,c,s[n],l))||!u["!drawel"])break;var p=be(u["!drawel"].Target,t),m=Yr(p),g=be(function(e,t){if(!e)return"??";var r=(e.match(/<c:chart [^>]*r:id="([^"]*)"/)||["",""])[1];return t["!id"][r].Target}(pe(e,p,!0),Qr(pe(e,m,!0),p)),p),b=Yr(g);u=Jo(pe(e,g,!0),0,0,Qr(pe(e,b,!0),g),0,u);break;case"macro":E=t,s[n],E.slice(-4),u={"!type":"macro"};break;case"dialog":u=function(e,t,r,n,a,s,i,o){return t.slice(-4),{"!type":"dialog"}}(0,t,0,0,s[n]);break;default:throw new Error("Unrecognized sheet type "+o)}i[n]=u;var v=[];s&&s[n]&&W(s[n]).forEach((function(r){if(s[n][r].Type==Kr.CMNT){var a=be(s[n][r].Target,t);if(!(v=vc(de(e,a,!0),a,c))||!v.length)return;!function(e,t){var r,n=Array.isArray(e);t.forEach((function(t){var a=Zt(t.ref);if(n?(e[a.r]||(e[a.r]=[]),r=e[a.r][a.c]):r=e[t.ref],!r){r={t:"z"},n?e[a.r][a.c]=r:e[t.ref]=r;var s=rr(e["!ref"]||"BDWGO1000001:A1");s.s.r>a.r&&(s.s.r=a.r),s.e.r<a.r&&(s.e.r=a.r),s.s.c>a.c&&(s.s.c=a.c),s.e.c<a.c&&(s.e.c=a.c);var i=tr(s);i!==e["!ref"]&&(e["!ref"]=i)}r.c||(r.c=[]);var o={a:t.author,t:t.t,r:t.r};t.h&&(o.h=t.h),r.c.push(o)}))}(u,v)}}))}catch(lf){if(c.WTF)throw lf}var E}function Ml(e){return"/"==e.charAt(0)?e.slice(1):e}function Ll(e,t){if(F(R),Ol(t=t||{}),he(e,"META-INF/manifest.xml"))return vl(e,t);if(he(e,"objectdata.xml"))return vl(e,t);if(he(e,"Index/Document.iwa"))throw new Error("Unsupported NUMBERS file");var r,n,a=function(e){for(var t=e.FullPaths||W(e.files),r=[],n=0;n<t.length;++n)"/"!=t[n].slice(-1)&&r.push(t[n]);return r.sort()}(e),s=function(e){var t={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],TODO:[],xmlns:""};if(!e||!e.match)return t;var r={};if((e.match(Se)||[]).forEach((function(e){var n=Be(e);switch(n[0].replace(we,"<")){case"<?xml":break;case"<Types":t.xmlns=n["xmlns"+(n[0].match(/<(\w+):/)||["",""])[1]];break;case"<Default":r[n.Extension]=n.ContentType;break;case"<Override":void 0!==t[Xr[n.ContentType]]&&t[Xr[n.ContentType]].push(n.PartName)}})),t.xmlns!==tt.CT)throw new Error("Unknown Namespace: "+t.xmlns);return t.calcchain=t.calcchains.length>0?t.calcchains[0]:"",t.sst=t.strs.length>0?t.strs[0]:"",t.style=t.styles.length>0?t.styles[0]:"",t.defaults=r,delete t.calcchains,t}(pe(e,"[Content_Types].xml")),i=!1;if(0===s.workbooks.length&&de(e,n="xl/workbook.xml",!0)&&s.workbooks.push(n),0===s.workbooks.length){if(!de(e,n="xl/workbook.bin",!0))throw new Error("Could not find workbook");s.workbooks.push(n),i=!0}"bin"==s.workbooks[0].slice(-3)&&(i=!0);var o={},c={};if(!t.bookSheets&&!t.bookProps){if(co=[],s.sst)try{co=bc(de(e,Ml(s.sst)),s.sst,t)}catch(lf){if(t.WTF)throw lf}t.cellStyles&&s.themes.length&&(o=function(e,t,r){return Qs(e,r)}(pe(e,s.themes[0].replace(/^\//,""),!0)||"",s.themes[0],t)),s.style&&(c=gc(de(e,Ml(s.style)),s.style,o,t))}s.links.map((function(r){try{Qr(pe(e,Yr(Ml(r))),r);return Sc(de(e,Ml(r)),0,r,t)}catch(lf){}}));var l=dc(de(e,Ml(s.workbooks[0])),s.workbooks[0],t),f={},h="";s.coreprops.length&&((h=de(e,Ml(s.coreprops[0]),!0))&&(f=sn(h)),0!==s.extprops.length&&(h=de(e,Ml(s.extprops[0]),!0))&&function(e,t,r){var n={};t||(t={}),e=Me(e),ln.forEach((function(r){var a=(e.match(Ve(r[0]))||[])[1];switch(r[2]){case"string":a&&(t[r[1]]=xe(a));break;case"bool":t[r[1]]="true"===a;break;case"raw":var s=e.match(new RegExp("<"+r[0]+"[^>]*>([\\s\\S]*?)</"+r[0]+">"));s&&s.length>0&&(n[r[1]]=s[1])}})),n.HeadingPairs&&n.TitlesOfParts&&fn(n.HeadingPairs,n.TitlesOfParts,t,r)}(h,f,t));var u={};t.bookSheets&&!t.bookProps||0!==s.custprops.length&&(h=pe(e,Ml(s.custprops[0]),!0))&&(u=function(e,t){var r={},n="",a=e.match(un);if(a)for(var s=0;s!=a.length;++s){var i=a[s],o=Be(i);switch(o[0]){case"<?xml":case"<Properties":break;case"<property":n=xe(o.name);break;case"</property>":n=null;break;default:if(0===i.indexOf("<vt:")){var c=i.split(">"),l=c[0].slice(4),f=c[1];switch(l){case"lpstr":case"bstr":case"lpwstr":r[n]=xe(f);break;case"bool":r[n]=Ne(f);break;case"i1":case"i2":case"i4":case"i8":case"int":case"uint":r[n]=parseInt(f,10);break;case"r4":case"r8":case"decimal":r[n]=parseFloat(f);break;case"filetime":case"date":r[n]=te(f);break;case"cy":case"error":r[n]=xe(f);break;default:if("/"==l.slice(-1))break;t.WTF&&"undefined"!==typeof console&&console.warn("Unexpected",i,l,c)}}else if("</"===i.slice(0,2));else if(t.WTF)throw new Error(i)}}return r}(h,t));var d={};if((t.bookSheets||t.bookProps)&&(l.Sheets?r=l.Sheets.map((function(e){return e.name})):f.Worksheets&&f.SheetNames.length>0&&(r=f.SheetNames),t.bookProps&&(d.Props=f,d.Custprops=u),t.bookSheets&&"undefined"!==typeof r&&(d.SheetNames=r),t.bookSheets?d.SheetNames:t.bookProps))return d;r={};var p={};t.bookDeps&&s.calcchain&&(p=Ec(de(e,Ml(s.calcchain)),s.calcchain));var m,g,b=0,v={},E=l.Sheets;f.Worksheets=E.length,f.SheetNames=[];for(var S=0;S!=E.length;++S)f.SheetNames[S]=E[S].name;var w=i?"bin":"xml",C=s.workbooks[0].lastIndexOf("/"),B=(s.workbooks[0].slice(0,C+1)+"_rels/"+s.workbooks[0].slice(C+1)+".rels").replace(/^\//,"");he(e,B)||(B="xl/_rels/workbook."+w+".rels");var T=Qr(pe(e,B,!0),B);T&&(T=function(e,t){if(!e)return 0;try{e=t.map((function(t){return t.id||(t.id=t.strRelID),[t.name,e["!id"][t.id].Target,(r=e["!id"][t.id].Type,Kr.WS.indexOf(r)>-1?"sheet":Kr.CS&&r==Kr.CS?"chart":Kr.DS&&r==Kr.DS?"dialog":Kr.MS&&r==Kr.MS?"macro":r&&r.length?r:"sheet")];var r}))}catch(lf){return null}return e&&0!==e.length?e:null}(T,l.Sheets));var k=de(e,"xl/worksheets/sheet.xml",!0)?1:0;e:for(b=0;b!=f.Worksheets;++b){var _="sheet";if(T&&T[b]?(m="xl/"+T[b][1].replace(/[\/]?xl\//,""),he(e,m)||(m=T[b][1]),he(e,m)||(m=B.replace(/_rels\/.*$/,"")+T[b][1]),_=T[b][2]):m=(m="xl/worksheets/sheet"+(b+1-k)+"."+w).replace(/sheet0\./,"sheet."),g=m.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels"),t&&null!=t.sheets)switch(typeof t.sheets){case"number":if(b!=t.sheets)continue e;break;case"string":if(f.SheetNames[b].toLowerCase()!=t.sheets.toLowerCase())continue e;break;default:if(Array.isArray&&Array.isArray(t.sheets)){for(var x=!1,A=0;A!=t.sheets.length;++A)"number"==typeof t.sheets[A]&&t.sheets[A]==b&&(x=1),"string"==typeof t.sheets[A]&&t.sheets[A].toLowerCase()==f.SheetNames[b].toLowerCase()&&(x=1);if(!x)continue e}}Nl(e,m,g,f.SheetNames[b],b,v,r,_,t,l,o,c)}return d={Directory:s,Workbook:l,Props:f,Custprops:u,Deps:p,Sheets:r,SheetNames:f.SheetNames,Strings:co,Styles:c,Themes:o,SSF:R.get_table()},t&&t.bookFiles&&(d.keys=a,d.files=e.files),t&&t.bookVBA&&(s.vba.length>0?d.vbaraw=de(e,Ml(s.vba[0]),!0):s.defaults&&"application/vnd.ms-office.vbaProject"===s.defaults.bin&&(d.vbaraw=de(e,"xl/vbaProject.bin",!0))),d}function Ul(e,t){var r=t||{},n="Workbook",a=L.find(e,n);try{if(n="/!DataSpaces/Version",!(a=L.find(e,n))||!a.content)throw new Error("ECMA-376 Encrypted file missing "+n);if(function(e){var t={};t.id=e.read_shift(0,"lpp4"),t.R=es(e,4),t.U=es(e,4),t.W=es(e,4)}(a.content),n="/!DataSpaces/DataSpaceMap",!(a=L.find(e,n))||!a.content)throw new Error("ECMA-376 Encrypted file missing "+n);var s=function(e){var t=[];e.l+=4;for(var r=e.read_shift(4);r-- >0;)t.push(ts(e));return t}(a.content);if(1!==s.length||1!==s[0].comps.length||0!==s[0].comps[0].t||"StrongEncryptionDataSpace"!==s[0].name||"EncryptedPackage"!==s[0].comps[0].v)throw new Error("ECMA-376 Encrypted file bad "+n);if(n="/!DataSpaces/DataSpaceInfo/StrongEncryptionDataSpace",!(a=L.find(e,n))||!a.content)throw new Error("ECMA-376 Encrypted file missing "+n);var i=function(e){var t=[];e.l+=4;for(var r=e.read_shift(4);r-- >0;)t.push(e.read_shift(0,"lpp4"));return t}(a.content);if(1!=i.length||"StrongEncryptionTransform"!=i[0])throw new Error("ECMA-376 Encrypted file bad "+n);if(n="/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary",!(a=L.find(e,n))||!a.content)throw new Error("ECMA-376 Encrypted file missing "+n);rs(a.content)}catch(lf){}if(n="/EncryptionInfo",!(a=L.find(e,n))||!a.content)throw new Error("ECMA-376 Encrypted file missing "+n);var o=function(e){var t=es(e);switch(t.Minor){case 2:return[t.Minor,ss(e)];case 3:return[t.Minor,is()];case 4:return[t.Minor,os(e)]}throw new Error("ECMA-376 Encrypted file unrecognized Version: "+t.Minor)}(a.content);if(n="/EncryptedPackage",!(a=L.find(e,n))||!a.content)throw new Error("ECMA-376 Encrypted file missing "+n);if(4==o[0]&&"undefined"!==typeof decrypt_agile)return decrypt_agile(o[1],a.content,r.password||"",r);if(2==o[0]&&"undefined"!==typeof decrypt_std76)return decrypt_std76(o[1],a.content,r.password||"",r);throw new Error("File is password-protected")}function Hl(e,t){if(ei=1024,"ods"==t.bookType)return Cl(e,t);e&&!e.SSF&&(e.SSF=R.get_table()),e&&e.SSF&&(F(R),R.load_table(e.SSF),t.revssf=G(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF),t.rels={},t.wbrels={},t.Strings=[],t.Strings.Count=0,t.Strings.Unique=0,fo?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var r="xlsb"==t.bookType?"bin":"xml",n=ii.indexOf(t.bookType)>-1,a={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],TODO:[],xmlns:""};Pl(t=t||{});var s=ge(),i="",o=0;if(t.cellXfs=[],mo(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),me(s,i="docProps/core.xml",function(e,t){var r=t||{},n=[ve,on],a={};if(!e&&!r.Props)return n.join("");e&&(null!=e.CreatedDate&&cn("dcterms:created","string"===typeof e.CreatedDate?e.CreatedDate:Ze(e.CreatedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},n,a),null!=e.ModifiedDate&&cn("dcterms:modified","string"===typeof e.ModifiedDate?e.ModifiedDate:Ze(e.ModifiedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},n,a));for(var s=0;s!=nn.length;++s){var i=nn[s],o=r.Props&&null!=r.Props[i[1]]?r.Props[i[1]]:e?e[i[1]]:null;!0===o?o="1":!1===o?o="0":"number"==typeof o&&(o=String(o)),null!=o&&cn(i[0],o,null,n,a)}return n.length>2&&(n[n.length]="</cp:coreProperties>",n[1]=n[1].replace("/>",">")),n.join("")}(e.Props,t)),a.coreprops.push(i),en(t.rels,2,i,Kr.CORE_PROPS),i="docProps/app.xml",e.Props&&e.Props.SheetNames);else if(e.Workbook&&e.Workbook.Sheets){for(var c=[],l=0;l<e.SheetNames.length;++l)2!=(e.Workbook.Sheets[l]||{}).Hidden&&c.push(e.SheetNames[l]);e.Props.SheetNames=c}else e.Props.SheetNames=e.SheetNames;for(e.Props.Worksheets=e.Props.SheetNames.length,me(s,i,function(e){var t=[],r=Je;return e||(e={}),e.Application="SheetJS",t[t.length]=ve,t[t.length]=hn,ln.forEach((function(n){if(void 0!==e[n[1]]){var a;switch(n[2]){case"string":a=ye(String(e[n[1]]));break;case"bool":a=e[n[1]]?"true":"false"}void 0!==a&&(t[t.length]=r(n[0],a))}})),t[t.length]=r("HeadingPairs",r("vt:vector",r("vt:variant","<vt:lpstr>Worksheets</vt:lpstr>")+r("vt:variant",r("vt:i4",String(e.Worksheets))),{size:2,baseType:"variant"})),t[t.length]=r("TitlesOfParts",r("vt:vector",e.SheetNames.map((function(e){return"<vt:lpstr>"+ye(e)+"</vt:lpstr>"})).join(""),{size:e.Worksheets,baseType:"lpstr"})),t.length>2&&(t[t.length]="</Properties>",t[1]=t[1].replace("/>",">")),t.join("")}(e.Props)),a.extprops.push(i),en(t.rels,3,i,Kr.EXT_PROPS),e.Custprops!==e.Props&&W(e.Custprops||{}).length>0&&(me(s,i="docProps/custom.xml",pn(e.Custprops)),a.custprops.push(i),en(t.rels,4,i,Kr.CUST_PROPS)),o=1;o<=e.SheetNames.length;++o){var f={"!id":{}},h=e.Sheets[e.SheetNames[o-1]];switch((h||{})["!type"]||"sheet"){case"chart":default:me(s,i="xl/worksheets/sheet"+o+"."+r,Cc(o-1,i,t,e,f)),a.sheets.push(i),en(t.wbrels,-1,"worksheets/sheet"+o+"."+r,Kr.WS[0])}if(h){var u=h["!comments"],d=!1;if(u&&u.length>0){var p="xl/comments"+o+"."+r;me(s,p,Tc(u,p,t)),a.comments.push(p),en(f,-1,"../comments"+o+"."+r,Kr.CMNT),d=!0}h["!legacy"]&&d&&me(s,"xl/drawings/vmlDrawing"+o+".vml",ti(o,h["!comments"])),delete h["!comments"],delete h["!legacy"]}f["!id"].rId1&&me(s,Yr(i),Zr(f))}return null!=t.Strings&&t.Strings.length>0&&(me(s,i="xl/sharedStrings."+r,Bc(t.Strings,i,t)),a.strs.push(i),en(t.wbrels,-1,"sharedStrings."+r,Kr.SST)),me(s,i="xl/workbook."+r,wc(e,i,t)),a.workbooks.push(i),en(t.rels,1,i,Kr.WB),me(s,i="xl/theme/theme1.xml",Js(e.Themes,t)),a.themes.push(i),en(t.wbrels,-1,"theme/theme1.xml",Kr.THEME),me(s,i="xl/styles."+r,function(e,t,r){return(".bin"===t.slice(-4)?Ws:Is)(e,r)}(e,i,t)),a.styles.push(i),en(t.wbrels,-1,"styles."+r,Kr.STY),e.vbaraw&&n&&(me(s,i="xl/vbaProject.bin",e.vbaraw),a.vba.push(i),en(t.wbrels,-1,"vbaProject.bin",Kr.VBA)),me(s,"[Content_Types].xml",function(e,t){var r,n=[];n[n.length]=ve,n[n.length]=jr,n=n.concat($r);var a=function(a){e[a]&&e[a].length>0&&(r=e[a][0],n[n.length]=Je("Override",null,{PartName:("/"==r[0]?"":"/")+r,ContentType:Gr[a][t.bookType||"xlsx"]}))},s=function(r){(e[r]||[]).forEach((function(e){n[n.length]=Je("Override",null,{PartName:("/"==e[0]?"":"/")+e,ContentType:Gr[r][t.bookType||"xlsx"]})}))},i=function(t){(e[t]||[]).forEach((function(e){n[n.length]=Je("Override",null,{PartName:("/"==e[0]?"":"/")+e,ContentType:zr[t][0]})}))};return a("workbooks"),s("sheets"),s("charts"),i("themes"),["strs","styles"].forEach(a),["coreprops","extprops","custprops"].forEach(i),i("vba"),i("comments"),i("drawings"),n.length>2&&(n[n.length]="</Types>",n[1]=n[1].replace("/>",">")),n.join("")}(a,t)),me(s,"_rels/.rels",Zr(t.rels)),me(s,"xl/_rels/workbook."+r+".rels",Zr(t.wbrels)),delete t.revssf,delete t.ssf,s}function Wl(e,t){var r="";switch((t||{}).type||"base64"){case"buffer":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":r=v.decode(e.slice(0,12));break;case"binary":r=e;break;case"array":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];default:throw new Error("Unrecognized type "+(t&&t.type||"undefined"))}return[r.charCodeAt(0),r.charCodeAt(1),r.charCodeAt(2),r.charCodeAt(3),r.charCodeAt(4),r.charCodeAt(5),r.charCodeAt(6),r.charCodeAt(7)]}function Vl(e,t){var r=e,n=t||{};return n.type||(n.type=E&&a.isBuffer(e)?"buffer":"base64"),Ll(function(e,t){var r;if(oe)switch(t.type){case"base64":r=new oe(e,{base64:!0});break;case"binary":case"array":r=new oe(e,{base64:!1});break;case"buffer":r=new oe(e);break;default:throw new Error("Unrecognized type "+t.type)}else switch(t.type){case"base64":r=L.read(e,{type:"base64"});break;case"binary":r=L.read(e,{type:"binary"});break;case"buffer":case"array":r=L.read(e,{type:"buffer"});break;default:throw new Error("Unrecognized type "+t.type)}return r}(r,n),n)}function Xl(e,t){var r=0;e:for(;r<e.length;)switch(e.charCodeAt(r)){case 10:case 13:case 32:++r;break;case 60:return Mc(e.slice(r),t);default:break e}return La.to_workbook(e,t)}function Gl(e,t,r,n){return n?(r.type="string",La.to_workbook(e,r)):La.to_workbook(t,r)}function zl(e,t){if(d(),"undefined"!==typeof ArrayBuffer&&e instanceof ArrayBuffer)return zl(new Uint8Array(e),t);var r,n=e,s=!1,i=t||{};if(i.cellStyles&&(i.cellNF=!0,i.sheetStubs=!0),lo={},i.dateNF&&(lo.dateNF=i.dateNF),i.type||(i.type=E&&a.isBuffer(e)?"buffer":"base64"),"file"==i.type&&(i.type=E?"buffer":"binary",n=function(e){if("undefined"!==typeof M)return M.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(lf){if(!lf.message||!lf.message.match(/onstruct/))throw lf}throw new Error("Cannot access file "+e)}(e)),"string"==i.type&&(s=!0,i.type="binary",i.codepage=65001,n=function(e){return e.match(/[^\x00-\x7F]/)?Le(e):e}(e)),"array"==i.type&&"undefined"!==typeof Uint8Array&&e instanceof Uint8Array&&"undefined"!==typeof ArrayBuffer){var o=new ArrayBuffer(3),c=new Uint8Array(o);if(c.foo="bar",!c.foo)return(i=ne(i)).type="array",zl(x(n),i)}switch((r=Wl(n,i))[0]){case 208:if(207===r[1]&&17===r[2]&&224===r[3]&&161===r[4]&&177===r[5]&&26===r[6]&&225===r[7])return function(e,t){return L.find(e,"EncryptedPackage")?Ul(e,t):Zc(e,t)}(L.read(n,i),i);break;case 9:if(r[1]<=4)return Zc(n,i);break;case 60:return Mc(n,i);case 73:if(68===r[1])return function(e,t){var r=t||{},n=!!r.WTF;r.WTF=!0;try{var a=Pa.to_workbook(e,r);return r.WTF=n,a}catch(lf){if(r.WTF=n,!lf.message.match(/SYLK bad record ID/)&&n)throw lf;return La.to_workbook(e,t)}}(n,i);break;case 84:if(65===r[1]&&66===r[2]&&76===r[3])return Na.to_workbook(n,i);break;case 80:return 75===r[1]&&r[2]<9&&r[3]<9?Vl(n,i):Gl(e,n,i,s);case 239:return 60===r[3]?Mc(n,i):Gl(e,n,i,s);case 255:if(254===r[1])return function(e,t){var r=e;return"base64"==t.type&&(r=v.decode(r)),r=cptable.utils.decode(1200,r.slice(2),"str"),t.type="binary",Xl(r,t)}(n,i);break;case 0:if(0===r[1]&&r[2]>=2&&0===r[3])return Ua.to_workbook(n,i);break;case 3:case 131:case 139:case 140:return Oa.to_workbook(n,i);case 123:if(92===r[1]&&114===r[2]&&116===r[3])return us.to_workbook(n,i);break;case 10:case 13:case 32:return function(e,t){var r="",n=Wl(e,t);switch(t.type){case"base64":r=v.decode(e);break;case"binary":r=e;break;case"buffer":r=e.toString("binary");break;case"array":r=re(e);break;default:throw new Error("Unrecognized type "+t.type)}return 239==n[0]&&187==n[1]&&191==n[2]&&(r=Me(r)),Xl(r,t)}(n,i)}return Oa.versions.indexOf(r[0])>-1&&r[2]<=12&&r[3]<=31?Oa.to_workbook(n,i):Gl(e,n,i,s)}function jl(e,t){var r=t||{};return r.type="file",zl(e,r)}function $l(e,t){switch(t.type){case"base64":case"binary":break;case"buffer":case"array":t.type="";break;case"file":return H(t.file,L.write(e,{type:E?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");default:throw new Error("Unrecognized type "+t.type)}return L.write(e,t)}function Kl(e,t,r){r||(r="");var n=r+e;switch(t.type){case"base64":return v.encode(Le(n));case"binary":return Le(n);case"string":return e;case"file":return H(t.file,n,"utf8");case"buffer":return E?S(n,"utf8"):Kl(n,{type:"binary"}).split("").map((function(e){return e.charCodeAt(0)}))}throw new Error("Unrecognized type "+t.type)}function Yl(e,t){switch(t.type){case"string":case"base64":case"binary":for(var r="",n=0;n<e.length;++n)r+=String.fromCharCode(e[n]);return"base64"==t.type?v.encode(r):"string"==t.type?Me(r):r;case"file":return H(t.file,e);case"buffer":return e;default:throw new Error("Unrecognized type "+t.type)}}function Ql(e,t){d(),oc(e);var r=t||{};if(r.cellStyles&&(r.cellNF=!0,r.sheetStubs=!0),"array"==r.type){r.type="binary";var n=Ql(e,r);return r.type="array",k(n)}switch(r.bookType||"xlsb"){case"xml":case"xlml":return Kl(Xc(e,r),r);case"slk":case"sylk":return Kl(_l(e,r),r);case"htm":case"html":return Kl(Tl(e,r),r);case"txt":return function(e,t){switch(t.type){case"base64":return v.encode(e);case"binary":case"string":return e;case"file":return H(t.file,e,"binary");case"buffer":return E?S(e,"binary"):e.split("").map((function(e){return e.charCodeAt(0)}))}throw new Error("Unrecognized type "+t.type)}(yl(e,r),r);case"csv":return Kl(kl(e,r),r,"\ufeff");case"dif":return Kl(xl(e,r),r);case"dbf":return Yl(Rl(e,r),r);case"prn":return Kl(Al(e,r),r);case"rtf":return Kl(Il(e,r),r);case"eth":return Kl(Fl(e,r),r);case"fods":return Kl(Cl(e,r),r);case"biff2":r.biff||(r.biff=2);case"biff3":r.biff||(r.biff=3);case"biff4":return r.biff||(r.biff=4),Yl(ul(e,r),r);case"biff5":r.biff||(r.biff=5);case"biff8":case"xla":case"xls":return r.biff||(r.biff=8),function(e,t){var r=t||{};return $l(qc(e,r),r)}(e,r);case"xlsx":case"xlsm":case"xlam":case"xlsb":case"ods":return function(e,t){var r=t||{},n=Hl(e,r),a={};if(r.compression&&(a.compression="DEFLATE"),r.password)a.type=E?"nodebuffer":"string";else switch(r.type){case"base64":a.type="base64";break;case"binary":a.type="string";break;case"string":throw new Error("'string' output type invalid for '"+r.bookType+"' files");case"buffer":case"file":a.type=E?"nodebuffer":"string";break;default:throw new Error("Unrecognized type "+r.type)}var s=n.FullPaths?L.write(n,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[a.type]||a.type}):n.generate(a);return r.password&&"undefined"!==typeof encrypt_agile?$l(encrypt_agile(s,r.password),r):"file"===r.type?H(r.file,s):"string"==r.type?Me(s):s}(e,r);default:throw new Error("Unrecognized bookType |"+r.bookType+"|")}}function Jl(e){if(!e.bookType){var t=e.file.slice(e.file.lastIndexOf(".")).toLowerCase();t.match(/^\.[a-z]+$/)&&(e.bookType=t.slice(1)),e.bookType={xls:"biff8",htm:"html",slk:"sylk",socialcalc:"eth",Sh33tJS:"WTF"}[e.bookType]||e.bookType}}function Zl(e,t,r){var n=r||{};return n.type="file",n.file=t,Jl(n),Ql(e,n)}function ql(e,t,r,n,a,s,i,o){var c=Yt(r),l=o.defval,f=o.raw||!Object.prototype.hasOwnProperty.call(o,"raw"),h=!0,u=1===a?[]:{};if(1!==a)if(Object.defineProperty)try{Object.defineProperty(u,"__rowNum__",{value:r,enumerable:!1})}catch(lf){u.__rowNum__=r}else u.__rowNum__=r;if(!i||e[r])for(var d=t.s.c;d<=t.e.c;++d){var p=i?e[r][d]:e[n[d]+c];if(void 0!==p&&void 0!==p.t){var m=p.v;switch(p.t){case"z":if(null==m)break;continue;case"e":m=void 0;break;case"s":case"d":case"b":case"n":break;default:throw new Error("unrecognized type "+p.t)}if(null!=s[d]){if(null==m)if(void 0!==l)u[s[d]]=l;else{if(!f||null!==m)continue;u[s[d]]=null}else u[s[d]]=f||o.rawNumbers&&"n"==p.t?m:ar(p,m,o);null!=m&&(h=!1)}}else{if(void 0===l)continue;null!=s[d]&&(u[s[d]]=l)}}return{row:u,isempty:h}}function ef(e,t){if(null==e||null==e["!ref"])return[];var r={t:"n",v:0},n=0,a=1,s=[],i=0,o="",c={s:{r:0,c:0},e:{r:0,c:0}},l=t||{},f=null!=l.range?l.range:e["!ref"];switch(1===l.header?n=1:"A"===l.header?n=2:Array.isArray(l.header)?n=3:null==l.header&&(n=0),typeof f){case"string":c=rr(f);break;case"number":(c=rr(e["!ref"])).s.r=f;break;default:c=f}n>0&&(a=0);var h=Yt(c.s.r),u=[],d=[],p=0,m=0,g=Array.isArray(e),b=c.s.r,v=0,E=0;for(g&&!e[b]&&(e[b]=[]),v=c.s.c;v<=c.e.c;++v)switch(u[v]=Jt(v),r=g?e[b][v]:e[u[v]+h],n){case 1:s[v]=v-c.s.c;break;case 2:s[v]=u[v];break;case 3:s[v]=l.header[v-c.s.c];break;default:for(null==r&&(r={w:"__EMPTY",t:"s"}),o=i=ar(r,null,l),m=0,E=0;E<s.length;++E)s[E]==o&&(o=i+"_"+ ++m);s[v]=o}for(b=c.s.r+a;b<=c.e.r;++b){var S=ql(e,c,b,u,n,s,g,l);(!1===S.isempty||(1===n?!1!==l.blankrows:l.blankrows))&&(d[p++]=S.row)}return d.length=p,d}var tf=/"/g;function rf(e,t,r,n,a,s,i,o){for(var c=!0,l=[],f="",h=Yt(r),u=t.s.c;u<=t.e.c;++u)if(n[u]){var d=o.dense?(e[r]||[])[u]:e[n[u]+h];if(null==d)f="";else if(null!=d.v){c=!1,f=""+(o.rawNumbers&&"n"==d.t?d.v:ar(d,null,o));for(var p=0,m=0;p!==f.length;++p)if((m=f.charCodeAt(p))===a||m===s||34===m||o.forceQuotes){f='"'+f.replace(tf,'""')+'"';break}"ID"==f&&(f='"ID"')}else null==d.f||d.F?f="":(c=!1,(f="="+d.f).indexOf(",")>=0&&(f='"'+f.replace(tf,'""')+'"'));l.push(f)}return!1===o.blankrows&&c?null:l.join(i)}function nf(e,t){var r=[],n=null==t?{}:t;if(null==e||null==e["!ref"])return"";var a=rr(e["!ref"]),s=void 0!==n.FS?n.FS:",",i=s.charCodeAt(0),o=void 0!==n.RS?n.RS:"\n",c=o.charCodeAt(0),l=new RegExp(("|"==s?"\\|":s)+"+$"),f="",h=[];n.dense=Array.isArray(e);for(var u=n.skipHidden&&e["!cols"]||[],d=n.skipHidden&&e["!rows"]||[],p=a.s.c;p<=a.e.c;++p)(u[p]||{}).hidden||(h[p]=Jt(p));for(var m=a.s.r;m<=a.e.r;++m)(d[m]||{}).hidden||null!=(f=rf(e,a,m,h,i,c,s,n))&&(n.strip&&(f=f.replace(l,"")),r.push(f+o));return delete n.dense,r.join("")}function af(e,t){t||(t={}),t.FS="\t",t.RS="\n";var r=nf(e,t);if("undefined"==typeof cptable||"string"==t.type)return r;var n=cptable.utils.encode(1200,r,"str");return String.fromCharCode(255)+String.fromCharCode(254)+n}function sf(e){var t,r="",n="";if(null==e||null==e["!ref"])return[];var a,s=rr(e["!ref"]),i="",o=[],c=[],l=Array.isArray(e);for(a=s.s.c;a<=s.e.c;++a)o[a]=Jt(a);for(var f=s.s.r;f<=s.e.r;++f)for(i=Yt(f),a=s.s.c;a<=s.e.c;++a)if(r=o[a]+i,n="",void 0!==(t=l?(e[f]||[])[a]:e[r])){if(null!=t.F){if(r=t.F,!t.f)continue;n=t.f,-1==r.indexOf(":")&&(r=r+":"+r)}if(null!=t.f)n=t.f;else{if("z"==t.t)continue;if("n"==t.t&&null!=t.v)n=""+t.v;else if("b"==t.t)n=t.v?"TRUE":"FALSE";else if(void 0!==t.w)n="'"+t.w;else{if(void 0===t.v)continue;n="s"==t.t?"'"+t.v:""+t.v}}c[c.length]=r+"="+n}return c}function of(e,t,r){var n,a=r||{},s=+!a.skipHeader,i=e||{},o=0,c=0;if(i&&null!=a.origin)if("number"==typeof a.origin)o=a.origin;else{var l="string"==typeof a.origin?Zt(a.origin):a.origin;o=l.r,c=l.c}var f={s:{c:0,r:0},e:{c:c,r:o+t.length-1+s}};if(i["!ref"]){var h=rr(i["!ref"]);f.e.c=Math.max(f.e.c,h.e.c),f.e.r=Math.max(f.e.r,h.e.r),-1==o&&(o=h.e.r+1,f.e.r=o+t.length-1+s)}else-1==o&&(o=0,f.e.r=t.length-1+s);var u=a.header||[],d=0;t.forEach((function(e,t){W(e).forEach((function(r){-1==(d=u.indexOf(r))&&(u[d=u.length]=r);var l=e[r],f="z",h="",p=qt({c:c+d,r:o+t+s});n=cf.sheet_get_cell(i,p),!l||"object"!==typeof l||l instanceof Date?("number"==typeof l?f="n":"boolean"==typeof l?f="b":"string"==typeof l?f="s":l instanceof Date&&(f="d",a.cellDates||(f="n",l=j(l)),h=a.dateNF||R._table[14]),n?(n.t=f,n.v=l,delete n.w,delete n.R,h&&(n.z=h)):i[p]=n={t:f,v:l},h&&(n.z=h)):i[p]=l}))})),f.e.c=Math.max(f.e.c,c+u.length-1);var p=Yt(o);if(s)for(d=0;d<u.length;++d)i[Jt(d+c)+p]={t:"s",v:u[d]};return i["!ref"]=tr(f),i}var cf={encode_col:Jt,encode_row:Yt,encode_cell:qt,encode_range:tr,decode_col:Qt,decode_row:Kt,split_cell:function(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")},decode_cell:Zt,decode_range:er,format_cell:ar,get_formulae:sf,make_csv:nf,make_json:ef,make_formulae:sf,sheet_add_aoa:ir,sheet_add_json:of,sheet_add_dom:pl,aoa_to_sheet:or,json_to_sheet:function(e,t){return of(null,e,t)},table_to_sheet:ml,table_to_book:function(e,t){return sr(ml(e,t),t)},sheet_to_csv:nf,sheet_to_txt:af,sheet_to_json:ef,sheet_to_html:dl.from_sheet,sheet_to_formulae:sf,sheet_to_row_object_array:ef};!function(e){function t(e,t,r){return null!=e[t]?e[t]:e[t]=r}function r(e,t,n){if("string"==typeof t){if(Array.isArray(e)){var a=Zt(t);return e[a.r]||(e[a.r]=[]),e[a.r][a.c]||(e[a.r][a.c]={t:"z"})}return e[t]||(e[t]={t:"z"})}return r(e,qt("number"!=typeof t?t:{r:t,c:n||0}))}e.consts=e.consts||{},e.sheet_get_cell=r,e.book_new=function(){return{SheetNames:[],Sheets:{}}},e.book_append_sheet=function(e,t,r){if(!r)for(var n=1;n<=65535&&-1!=e.SheetNames.indexOf(r="Sheet"+n);++n,r=void 0);if(!r||e.SheetNames.length>=65535)throw new Error("Too many worksheets");if(ic(r),e.SheetNames.indexOf(r)>=0)throw new Error("Worksheet with name |"+r+"| already exists!");e.SheetNames.push(r),e.Sheets[r]=t},e.book_set_sheet_visibility=function(e,r,n){t(e,"Workbook",{}),t(e.Workbook,"Sheets",[]);var a=function(e,t){if("number"==typeof t){if(t>=0&&e.SheetNames.length>t)return t;throw new Error("Cannot find sheet # "+t)}if("string"==typeof t){var r=e.SheetNames.indexOf(t);if(r>-1)return r;throw new Error("Cannot find sheet name |"+t+"|")}throw new Error("Cannot find sheet |"+t+"|")}(e,r);switch(t(e.Workbook.Sheets,a,{}),n){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+n)}e.Workbook.Sheets[a].Hidden=n},[["SHEET_VISIBLE",0],["SHEET_HIDDEN",1],["SHEET_VERY_HIDDEN",2]].forEach((function(t){e.consts[t[0]]=t[1]})),e.cell_set_number_format=function(e,t){return e.z=t,e},e.cell_set_hyperlink=function(e,t,r){return t?(e.l={Target:t},r&&(e.l.Tooltip=r)):delete e.l,e},e.cell_set_internal_link=function(t,r,n){return e.cell_set_hyperlink(t,"#"+r,n)},e.cell_add_comment=function(e,t,r){e.c||(e.c=[]),e.c.push({t:t,a:r||"SheetJS"})},e.sheet_set_array_formula=function(e,t,n){for(var a="string"!=typeof t?t:rr(t),s="string"==typeof t?t:tr(t),i=a.s.r;i<=a.e.r;++i)for(var o=a.s.c;o<=a.e.c;++o){var c=r(e,i,o);c.t="n",c.F=s,delete c.v,i==a.s.r&&o==a.s.c&&(c.f=n)}return e}}(cf),E&&function(){var e=r(3).Readable;t.stream={to_json:function(t,r){var n=e({objectMode:!0});if(null==t||null==t["!ref"])return n.push(null),n;var a={t:"n",v:0},s=0,i=1,o=[],c=0,l="",f={s:{r:0,c:0},e:{r:0,c:0}},h=r||{},u=null!=h.range?h.range:t["!ref"];switch(1===h.header?s=1:"A"===h.header?s=2:Array.isArray(h.header)&&(s=3),typeof u){case"string":f=rr(u);break;case"number":(f=rr(t["!ref"])).s.r=u;break;default:f=u}s>0&&(i=0);var d=Yt(f.s.r),p=[],m=0,g=Array.isArray(t),b=f.s.r,v=0,E=0;for(g&&!t[b]&&(t[b]=[]),v=f.s.c;v<=f.e.c;++v)switch(p[v]=Jt(v),a=g?t[b][v]:t[p[v]+d],s){case 1:o[v]=v-f.s.c;break;case 2:o[v]=p[v];break;case 3:o[v]=h.header[v-f.s.c];break;default:for(null==a&&(a={w:"__EMPTY",t:"s"}),l=c=ar(a,null,h),m=0,E=0;E<o.length;++E)o[E]==l&&(l=c+"_"+ ++m);o[v]=l}return b=f.s.r+i,n._read=function(){if(b>f.e.r)return n.push(null);for(;b<=f.e.r;){var e=ql(t,f,b,p,s,o,g,h);if(++b,!1===e.isempty||(1===s?!1!==h.blankrows:h.blankrows)){n.push(e.row);break}}},n},to_html:function(t,r){var n=e(),a=r||{},s=null!=a.header?a.header:dl.BEGIN,i=null!=a.footer?a.footer:dl.END;n.push(s);var o=er(t["!ref"]);a.dense=Array.isArray(t),n.push(dl._preamble(t,o,a));var c=o.s.r,l=!1;return n._read=function(){if(c>o.e.r)return l||(l=!0,n.push("</table>"+i)),n.push(null);for(;c<=o.e.r;){n.push(dl._row(t,o,c,a)),++c;break}},n},to_csv:function(t,r){var n=e(),a=null==r?{}:r;if(null==t||null==t["!ref"])return n.push(null),n;var s=rr(t["!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=new RegExp(("|"==i?"\\|":i)+"+$"),h="",u=[];a.dense=Array.isArray(t);for(var d=a.skipHidden&&t["!cols"]||[],p=a.skipHidden&&t["!rows"]||[],m=s.s.c;m<=s.e.c;++m)(d[m]||{}).hidden||(u[m]=Jt(m));var g=s.s.r,b=!1;return n._read=function(){if(!b)return b=!0,n.push("\ufeff");for(;g<=s.e.r;)if(++g,!(p[g-1]||{}).hidden&&null!=(h=rf(t,s,g-1,u,o,l,i,a))){a.strip&&(h=h.replace(f,"")),n.push(h+c);break}return g>s.e.r?n.push(null):void 0},n}}}(),t.parse_xlscfb=Zc,t.parse_zip=Ll,t.read=zl,t.readFile=jl,t.readFileSync=jl,t.write=Ql,t.writeFile=Zl,t.writeFileSync=Zl,t.writeFileAsync=function(e,t,r,n){var a=r||{};a.type="file",a.file=e,Jl(a),a.type="buffer";var s=n;return s instanceof Function||(s=r),M.writeFile(e,Ql(t,a),s)},t.utils=cf,t.SSF=R,"undefined"!==typeof L&&(t.CFB=L)})(t)}).call(this,r("yLpj"),r("HDXh").Buffer,r("8oxB"))}}]);