(this["webpackJsonpgonzo-test-client"]=this["webpackJsonpgonzo-test-client"]||[]).push([[65],{EUZL:function(e,t,r){(function(n,a,s){(function(t){t.version="0.15.5";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>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>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>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>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(nf){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 A(e){if(Array.isArray(e))return e.map((function(e){return String.fromCharCode(e)})).join("");for(var t=[],r=0;r=0;)t+=e.charAt(r--);return t}function r(e,t){for(var r="";r.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.10.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 "',e[65535]="General"}var u={};function d(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);lt&&(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 p(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=0)}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}h(u),e.parse_date_code=p;var m=new Date(1899,11,31,0,0,0),g=m.getTime(),b=new Date(1900,2,1,0,0,0);function v(e,t){var r=e.getTime();return t?r-=1262304e5:e>=b&&(r+=864e5),(r-(g+6e4*(e.getTimezoneOffset()-m.getTimezoneOffset())))/864e5}function E(e){return e.toString(10)}e._general_int=E;var S=function(){var e=/\.(\d*[1-9])0+$/,t=/\.0*$/,r=/\.(\d*[1-9])0+/,n=/\.0*[Ee]/,a=/(E[+-])(\d)$/;function s(r){return r.indexOf(".")>-1?r.replace(t,"").replace(e,".$1"):r}return function(t){var i,o=Math.floor(Math.log(Math.abs(t))*Math.LOG10E);return i=o>=-4&&o<=-1?t.toPrecision(10+o):Math.abs(o)<=9?function(e){var t=e<0?12:11,r=s(e.toFixed(12));return r.length<=t||(r=e.toPrecision(10)).length<=t?r:e.toExponential(5)}(t):10===o?t.toFixed(10).substr(0,12):function(t){var r=t.toFixed(11).replace(e,".$1");return r.length>(t<0?12:11)&&(r=t.toPrecision(6)),r}(t),s(function(e){for(var t=0;t!=e.length;++t)if(101===(32|e.charCodeAt(t)))return e.replace(r,".$1").replace(n,"E").replace("e","E").replace(a,"$10$2");return e}(i))}}();function w(e,t){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(0|e)===e?E(e):S(e);case"undefined":return"";case"object":if(null==e)return"";if(e instanceof Date)return F(14,v(e,t&&t.date1904),t)}throw new Error("unsupported value in General format: "+e)}function C(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 B(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=S,e._general=w;var T=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 p(e,t){return t<(""+Math.round((e-Math.floor(e))*Math.pow(10,t))).length?0:Math.round((e-Math.floor(e))*Math.pow(10,t))}function m(g,b,v){if(40===g.charCodeAt(0)&&!b.match(l)){var E=b.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return v>=0?m("n",E,v):"("+m("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 T(e,t.substr(0,n),r/Math.pow(10,3*(t.length-n)))}(g,b,v);if(-1!==b.indexOf("%"))return function(t,n,a){var s=n.replace(e,""),i=n.length-s.length;return T(t,s,a*Math.pow(10,2*i))+r("%",i)}(g,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"$"+m(g,b.substr(" "==b.charAt(1)?2:1),v);var S,w,C,k,A=Math.abs(v),x=v<0?"-":"";if(b.match(/^00+$/))return x+o(A,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,A,x);if(b.match(/^#+0+$/))return x+o(A,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(A,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+B(o(A,0));if(w=b.match(/^#,##0\.([#0]*0)$/))return v<0?"-"+m(g,b,-v):B(""+(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(p(v,w[1].length),w[1].length);if(w=b.match(/^#,#*,#0/))return m(g,b.replace(/^#,#*,/,""),v);if(w=b.match(/^([0#]+)(\\?-([0#]+))+$/))return S=t(m(g,b.replace(/[\\-]/g,""),v)),C=0,t(t(b.replace(/\\/g,"")).replace(/[0#]/g,(function(e){return C-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 m(g,"#,##0.00",v);case"###,###":case"##,###":case"#,###":var y=B(o(A,0));return"0"!==y?x+y:"";case"###,###.00":return m(g,"###,##0.00",v).replace(/^0\./,".");case"#,###.00":return m(g,"#,##0.00",v).replace(/^0\./,".")}throw new Error("unsupported format |"+b+"|")}function g(o,u,p){if(40===o.charCodeAt(0)&&!u.match(l)){var m=u.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return p>=0?g("n",m,p):"("+g("n",m,-p)+")"}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 T(e,t.substr(0,n),r/Math.pow(10,3*(t.length-n)))}(o,u,p);if(-1!==u.indexOf("%"))return function(t,n,a){var s=n.replace(e,""),i=n.length-s.length;return T(t,s,a*Math.pow(10,2*i))+r("%",i)}(o,u,p);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,p);if(36===u.charCodeAt(0))return"$"+g(o,u.substr(" "==u.charAt(1)?2:1),p);var b,v,E,S,w=Math.abs(p),C=p<0?"-":"";if(u.match(/^00+$/))return C+n(w,u.length);if(u.match(/^[#?]+$/))return b=""+p,0===p&&(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=(""+p).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+B(""+w);if(v=u.match(/^#,##0\.([#0]*0)$/))return p<0?"-"+g(o,u,-p):B(""+p)+"."+r("0",v[1].length);if(v=u.match(/^#,#*,#0/))return g(o,u.replace(/^#,#*,/,""),p);if(v=u.match(/^([0#]+)(\\?-([0#]+))+$/))return b=t(g(o,u.replace(/[\\-]/g,""),p)),E=0,t(t(u.replace(/\\/g,"")).replace(/[0#]/g,(function(e){return E-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-1;);break;case" ":default:++t}return!1}function I(e,t,r,n){for(var a,s,i,o=[],l="",f=0,h="",u="t",d="H";f=12?"P":"A"),b.t="T",d="h",f+=3):"AM/PM"===e.substr(f,5).toUpperCase()?(null!=a&&(b.v=a.H>=12?"PM":"AM"),b.t="T",f+=5,d="h"):(b.t="t",++f),null==a&&"T"===b.t)return"";o[o.length]=b,u=h;break;case"[":for(l=h;"]"!==e.charAt(f++)&&f-1&&(l=(l.match(/\$([^-\[\]]*)/)||[])[1]||"$",x(e)||(o[o.length]={t:"t",v:l}));break;case".":if(null!=a){for(l=h;++f-1||"\\"==h&&"-"==e.charAt(f+1)&&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-1;)l+=e.charAt(f);o[o.length]={t:"D",v:l};break;case" ":o[o.length]={t:h,v:h},++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 B,k="";for(f=0;f0){40==k.charCodeAt(0)?(I=t<0&&45===k.charCodeAt(0)?-t:t,_=T("(",k,I)):(_=T("n",k,I=t<0&&n>1?-t:t),I<0&&o[0]&&"t"==o[0].t&&(_=_.substr(1),o[0].v="-"+o[0].v)),B=_.length-1;var y=o.length;for(f=0;f-1){y=f;break}var F=o.length;if(y===o.length&&-1===_.indexOf("E")){for(f=o.length-1;f>=0;--f)null!=o[f]&&-1!=="n?(".indexOf(o[f].t)&&(B>=o[f].v.length-1?(B-=o[f].v.length,o[f].v=_.substr(B+1,o[f].v.length)):B<0?o[f].v="":(o[f].v=_.substr(0,B+1),B=-1),o[f].t="t",F=f);B>=0&&F=0;--f)if(null!=o[f]&&-1!=="n?(".indexOf(o[f].t)){for(s=o[f].v.indexOf(".")>-1&&f===y?o[f].v.indexOf(".")-1:o[f].v.length-1,R=o[f].v.substr(s+1);s>=0;--s)B>=0&&("0"===o[f].v.charAt(s)||"#"===o[f].v.charAt(s))&&(R=_.charAt(B--)+R);o[f].v=R,o[f].t="t",F=f}for(B>=0&&F-1&&f===y?o[f].v.indexOf(".")+1:0,R=o[f].v.substr(0,s);s-1&&(I=n>1&&t<0&&f>0&&"-"===o[f-1].v?-t:t,o[f].v=T(o[f].t,o[f].v,I),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=x,e._eval=I;var _=/\[[=<>]/,R=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function y(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":if(e!=r)return!0;break;case">=":if(e>=r)return!0;break;case"<=":if(e<=r)return!0}return!1}function F(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":n=14==e&&r.dateNF?r.dateNF:(null!=r.table?r.table:u)[e]}if(c(n,0))return w(t,r);t instanceof Date&&(t=v(t,r.date1904));var a=function(e,t){var r=k(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(_)||null!=r[1].match(_)){var i=r[0].match(R),o=r[1].match(R);return y(t,i)?[n,r[0]]:y(t,o)?[n,r[1]]:[n,r[null!=i&&null!=o?2:1]]}return[n,s]}(n,t);if(c(a[1]))return w(t,r);if(!0===t)t="TRUE";else if(!1===t)t="FALSE";else if(""===t||null==t)return"";return I(a[1],t,r,a[0])}function D(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=D,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]&&D(e[t],t)},e.init_table=h,e.format=F};F(y);var D,O={"General Number":"General","General Date":y._table[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":y._table[15],"Short Date":y._table[14],"Long Time":y._table[19],"Medium Time":y._table[18],"Short Time":y._table[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:y._table[2],Standard:y._table[4],Percent:y._table[10],Scientific:y._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){e.version="1.2.0";var t=function(){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.table=t,e.bstr=function(e,r){for(var n=-1^r,a=e.length-1,s=0;s>>8^t[255&(n^e.charCodeAt(s++))])>>>8^t[255&(n^e.charCodeAt(s++))];return s===a&&(n=n>>>8^t[255&(n^e.charCodeAt(s))]),-1^n},e.buf=function(e,r){if(e.length>1e4)return function(e,r){for(var n=-1^r,a=e.length-7,s=0;s>>8^t[255&(n^e[s++])])>>>8^t[255&(n^e[s++])])>>>8^t[255&(n^e[s++])])>>>8^t[255&(n^e[s++])])>>>8^t[255&(n^e[s++])])>>>8^t[255&(n^e[s++])])>>>8^t[255&(n^e[s++])])>>>8^t[255&(n^e[s++])];for(;s>>8^t[255&(n^e[s++])];return-1^n}(e,r);for(var n=-1^r,a=e.length-3,s=0;s>>8^t[255&(n^e[s++])])>>>8^t[255&(n^e[s++])])>>>8^t[255&(n^e[s++])])>>>8^t[255&(n^e[s++])];for(;s>>8^t[255&(n^e[s++])];return-1^n},e.str=function(e,r){for(var n,a,s=-1^r,i=0,o=e.length;i>>8^t[255&(s^n)]:n<2048?s=(s=s>>>8^t[255&(s^(192|n>>6&31))])>>>8^t[255&(s^(128|63&n))]:n>=55296&&n<57344?(n=64+(1023&n),a=1023&e.charCodeAt(i++),s=(s=(s=(s=s>>>8^t[255&(s^(240|n>>8&7))])>>>8^t[255&(s^(128|n>>2&63))])>>>8^t[255&(s^(128|a>>6&15|(3&n)<<4))])>>>8^t[255&(s^(128|63&a))]):s=(s=(s=s>>>8^t[255&(s^(224|n>>12&15))])>>>8^t[255&(s^(128|n>>6&63))])>>>8^t[255&(s^(128|63&n))];return-1^s}}(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){Nt(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(1))}function c(e,t){if(80==e[0]&&75==e[1])return oe(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);Nt(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 oe(e,t);default:throw new Error("Major Version: Expected 3 or 4 saw "+r)}512!==c&&Nt(d=e.slice(0,c),28);var m=e.slice(0,c);!function(e,t){var r;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>>2)-1;if(!o)return;for(var l=0;l=a&&(u-=a),!i[u]){for(c=[],h=u;h>=0;){i[h]=!0,o[o.length]=h,c.push(e[h]);var p=r[Math.floor(4*h/n)];if(n<4+(d=4*h&l))throw new Error("FAT boundary crossed: "+h+" 4 "+n);if(!e[p])break;h=Rt(e[p],d)}s[u]={nodes:o,data:ot([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;m0&&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&&Nt(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=[];n0&&i>=0;)s.push(t.slice(i*g,i*g+g)),a-=g,i=Rt(r,4*i);return 0===s.length?Lt(0):I(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=Rt(e[f],l)}return{nodes:s,data:ot([i])}}function h(e,t){return new Date(1e3*(_t(e,t+4)/1e7*Math.pow(2,32)+_t(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=Lt(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;i1?1:-1,d.size=0,d.type=5;else if("/"==p.slice(-1)){for(l=i+1;l=f.length?-1:l,l=i+1;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=Lt(1),o=r.compression?8:0,c=0;0;var l=0,f=0,h=0,u=0,d=e.FullPaths[0],p=d,g=e.FileIndex[0],b=[],v=0;for(l=1;l0&&(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=Lt(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>9)));for(c(n[6]+7>>3);511&a.l;)a.write_shift(-4,A.ENDOFCHAIN);for(o=i=0,l=0;l=4096||(h.start=o,c(f+63>>6)));for(;511&a.l;)a.write_shift(-4,A.ENDOFCHAIN);for(i=0;i=4096){for(a.l=h.start+1<<9,l=0;l0&&h.size<4096){for(l=0;l>16|t>>8|t)}for(var N="undefined"!==typeof Uint8Array,M=N?new Uint8Array(256):[],U=0;U<256;++U)M[U]=P(U);function H(e,t){var r=M[255&e];return t<=8?r>>>8-t:(r=r<<8|M[e>>8&255],t<=16?r>>>16-t:(r=r<<8|M[e>>16&255])>>>24-t)}function W(e,t){var r=7&t,n=t>>>3;return(e[n]|(r<=6?0:e[n+1]<<8))>>>r&3}function V(e,t){var r=7&t,n=t>>>3;return(e[n]|(r<=5?0:e[n+1]<<8))>>>r&7}function X(e,t){var r=7&t,n=t>>>3;return(e[n]|(r<=3?0:e[n+1]<<8))>>>r&31}function G(e,t){var r=7&t,n=t>>>3;return(e[n]|(r<=1?0:e[n+1]<<8))>>>r&127}function z(e,t,r){var n=7&t,a=t>>>3,s=(1<>>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 j(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(;a0;)t[t.l++]=e[r++]}return t.l};return function(t){var r=Lt(50+Math.floor(1.1*t.length)),n=e(t,r);return r.slice(0,n)}}();function Y(e,t,r){var n=1,a=0,s=0,i=0,o=0,c=e.length,l=N?new Uint16Array(32):K(32);for(s=0;s<32;++s)l[s]=0;for(s=c;s>n-h,i=(1<=0;--i)t[o|i<>>3;return(e[n]|(r<=4?0:e[n+1]<<8))>>>r&15}(e,t+=5)+4;t+=4;for(var s=0,i=N?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=N?new Uint8Array(8):K(8),f=N?new Uint8Array(8):K(8),h=i.length,u=0;u>8-p;for(var m=(1<<7-p)-1;m>=0;--m)te[d|m<>>=3){case 16:for(s=3+W(e,t),t+=2,d=g[g.length-1];s-- >0;)g.push(d);break;case 17:for(s=3+V(e,t),t+=3;s-- >0;)g.push(0);break;case 18:for(s=11+G(e,t),t+=7;s-- >0;)g.push(0);break;default:g.push(d),c>>0,o=0,c=0;0==(1&n);)if(n=V(e,r),r+=3,n>>>1!=0)for(n>>>1==1?(o=9,c=5):(r=ae(e,r),o=re,c=ne),!t&&i>>1==1?Q[l]:q[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+F[f];h>0&&(u+=z(e,r,h),r+=h),l=z(e,r,c),r+=15&(f=n>>>1==1?J[l]:ee[l]);var d=(f>>>=4)<4?0:f-2>>1,p=O[f];for(d>0&&(p+=z(e,r,d),r+=d),!t&&i>>3]|e[1+(r>>>3)]<<8;if(r+=32,!t&&i>>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 ie(e,t){if(!e)throw new Error(t);"undefined"!==typeof console&&console.error(t)}function oe(e,t){var r=e;Nt(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>>=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;g3&&(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 J=new Date("2017-02-19T19:06:09.000Z");isNaN(J.getFullYear())&&(J=new Date("2/19/17"));var Z=2017==J.getFullYear();function q(e,t){var r=new Date(e);if(Z)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==J.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 ee(e){for(var t="",r=0;r!=e.length;++r)t+=String.fromCharCode(e[r]);return t}function te(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)e.hasOwnProperty(r)&&(t[r]=te(e[r]));return t}function re(e,t){for(var r="";r.length8099?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 se,ie=5=="abacaba".split(/(:?b)/i).length;function oe(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(ee(Array.prototype.slice.call(e._data.getContent(),0))):e.content&&e.type?m(ee(e.content)):null:null}function ce(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):oe(e)}function le(e,t){for(var r=e.FullPaths||W(e.files),n=t.toLowerCase(),a=n.replace(/\//g,"\\"),s=0;s\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g,ve=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s?[\/\?]?>/g;ge.match(ve)||(ve=/<[^>]*>/g);var Ee=/<\w*:/,Se=/<(\/?)\w+:/;function we(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(be),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 Ce(e){return e.replace(Se,"<$1")}var Be={""":'"',"'":"'",">":">","<":"<","&":"&"},Te=X(Be),ke=function(){var e=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/g,t=/_x([\da-fA-F]{4})_/g;return function r(n){var a=n+"",s=a.indexOf("-1?16:10))||e})).replace(t,(function(e,t){return String.fromCharCode(parseInt(t,16))}));var i=a.indexOf("]]>");return r(a.slice(0,s))+a.slice(s+9,i)+r(a.slice(i+3))}}(),Ae=/[&<>'"]/g,xe=/[\u0000-\u0008\u000b-\u001f]/g;function Ie(e){return(e+"").replace(Ae,(function(e){return Te[e]})).replace(xe,(function(e){return"_x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+"_"}))}function _e(e){return Ie(e).replace(/ /g,"_x0020_")}var Re=/[\u0000-\u001f]/g;function ye(e){return(e+"").replace(Ae,(function(e){return Te[e]})).replace(/\n/g,"
").replace(Re,(function(e){return"&#x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+";"}))}var Fe=function(){var e=/&#(\d+);/g;function t(e,t){return String.fromCharCode(parseInt(t,10))}return function(r){return r.replace(e,t)}}(),De=function(e){return e.replace(/(\r\n|[\r\n])/g," ")};function Oe(e){switch(e){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}var Pe=function(e){for(var t="",r=0,n=0,a=0,s=0,i=0,o=0;r191&&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},Ne=function(e){for(var t=[],r=0,n=0,a=0;r>6))),t.push(String.fromCharCode(128+(63&n)));break;case n>=55296&&n<57344:n-=55296,a=e.charCodeAt(r++)-56320+(n<<10),t.push(String.fromCharCode(240+(a>>18&7))),t.push(String.fromCharCode(144+(a>>12&63))),t.push(String.fromCharCode(128+(a>>6&63))),t.push(String.fromCharCode(128+(63&a)));break;default:t.push(String.fromCharCode(224+(n>>12))),t.push(String.fromCharCode(128+(n>>6&63))),t.push(String.fromCharCode(128+(63&n)))}return t.join("")};if(E){var Me=function(e){var t,r,n,s=a.alloc(2*e.length),i=1,o=0,c=0;for(r=0;r>>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")},Le="foo bar baz\xe2\x98\x83\xf0\x9f\x8d\xa3";Pe(Le)==Me(Le)&&(Pe=Me);var Ue=function(e){return S(e,"binary").toString("utf8")};Pe(Le)==Ue(Le)&&(Pe=Ue),Ne=function(e){return S(e,"utf8").toString("binary")}}var He=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]*?)",r||"")}}(),We=function(){var e=[["nbsp"," "],["middot","\xb7"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map((function(e){return[new RegExp("&"+e[0]+";","g"),e[1]]}));return function(t){for(var r=t.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+/g,"\n").replace(/<[^>]*>/g,""),n=0;n([\\s\\S]*?)","g")}}(),Xe=/<\/?(?:vt:)?variant>/g,Ge=/<(?:vt:)([^>]*)>([\s\S]*)"+t+""}function $e(e){return W(e).map((function(t){return" "+t+'="'+e[t]+'"'})).join("")}function Ye(e,t,r){return"<"+e+(null!=r?$e(r):"")+(null!=t?(t.match(je)?' xml:space="preserve"':"")+">"+t+""}function Qe(e,t){try{return e.toISOString().replace(/\.\d*/,"")}catch(nf){if(t)throw nf}return""}var Je,Ze,qe={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"]},et="urn:schemas-microsoft-com:office:office",tt="urn:schemas-microsoft-com:office:excel",rt="urn:schemas-microsoft-com:office:spreadsheet",nt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882",at="http://macVmlSchemaUri",st="urn:schemas-microsoft-com:vml",it="http://www.w3.org/TR/REC-html40",ot=function(e){for(var t=[],r=0;r0?dt(e,t+4,t+4+r-1):""},gt=mt,bt=function(e,t){var r=_t(e,t);return r>0?dt(e,t+4,t+4+r-1):""},vt=bt,Et=function(e,t){var r=2*_t(e,t);return r>0?dt(e,t+4,t+4+r-1):""},St=Et;Je=Ze=function(e,t){var r=_t(e,t);return r>0?lt(e,t+4,t+4+r):""};var wt,Ct,Bt=function(e,t){var r=_t(e,t);return r>0?dt(e,t+4,t+4+r):""},Tt=Bt;wt=Ct=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 kt=function(e){return Array.isArray(e)};E&&(lt=function(e,t,r){return a.isBuffer(e)?e.toString("utf16le",t,r).replace(_,""):ft(e,t,r)},ht=function(e,t,r){return a.isBuffer(e)?e.toString("hex",t,t+r):ut(e,t,r)},mt=function(e,t){if(!a.isBuffer(e))return gt(e,t);var r=e.readUInt32LE(t);return r>0?e.toString("utf8",t+4,t+4+r-1):""},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=2*e.readUInt32LE(t);return e.toString("utf16le",t+4,t+4+r-1)},Je=function(e,t){if(!a.isBuffer(e))return Ze(e,t);var r=e.readUInt32LE(t);return e.toString("utf16le",t+4,t+4+r)},Bt=function(e,t){if(!a.isBuffer(e))return Tt(e,t);var r=e.readUInt32LE(t);return e.toString("utf8",t+4,t+4+r)},dt=function(e,t,r){return a.isBuffer(e)?e.toString("utf8",t,r):pt(e,t,r)},ot=function(e){return e[0].length>0&&a.isBuffer(e[0][0])?a.concat(e[0]):ct(e)},I=function(e){return a.isBuffer(e[0])?a.concat(e):[].concat.apply([],e)},wt=function(e,t){return a.isBuffer(e)?e.readDoubleLE(t):Ct(e,t)},kt=function(e){return a.isBuffer(e)||Array.isArray(e)}),"undefined"!==typeof cptable&&(lt=function(e,t,r){return cptable.utils.decode(1200,e.slice(t,r)).replace(_,"")},dt=function(e,t,r){return cptable.utils.decode(65001,e.slice(t,r))},mt=function(e,t){var r=_t(e,t);return r>0?cptable.utils.decode(o,e.slice(t+4,t+4+r-1)):""},bt=function(e,t){var r=_t(e,t);return r>0?cptable.utils.decode(i,e.slice(t+4,t+4+r-1)):""},Et=function(e,t){var r=2*_t(e,t);return r>0?cptable.utils.decode(1200,e.slice(t+4,t+4+r-1)):""},Je=function(e,t){var r=_t(e,t);return r>0?cptable.utils.decode(1200,e.slice(t+4,t+4+r)):""},Bt=function(e,t){var r=_t(e,t);return r>0?cptable.utils.decode(65001,e.slice(t+4,t+4+r)):""});var At=function(e,t){return e[t]},xt=function(e,t){return 256*e[t+1]+e[t]},It=function(e,t){var r=256*e[t+1]+e[t];return r<32768?r:-1*(65535-r+1)},_t=function(e,t){return e[t+3]*(1<<24)+(e[t+2]<<16)+(e[t+1]<<8)+e[t]},Rt=function(e,t){return e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]},yt=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]};function Ft(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;c0?Rt:yt)(this,this.l),this.l+=4,r):(n=_t(this,this.l),this.l+=4,n);case 8:case-8:if("f"===t)return n=8==e?wt(this,this.l):wt([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=ht(this,this.l,e)}}return this.l+=e,f}var Dt=function(e,t,r){e[r]=255&t,e[r+1]=t>>>8&255};function Ot(e,t,r){var n=0,a=0;if("dbcs"===r){for(a=0;a!=t.length;++a)Dt(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>8}for(;this.l>>=8,this[this.l+1]=255&t;break;case 3:n=3,this[this.l]=255&t,t>>>=8,this[this.l+1]=255&t,t>>>=8,this[this.l+2]=255&t;break;case 4:n=4,function(e,t,r){e[r]=255&t,e[r+1]=t>>>8&255,e[r+2]=t>>>16&255,e[r+3]=t>>>24&255}(this,t,this.l);break;case 8:if(n=8,"f"===r){!function(e,t,r){var n=(t<0||1/t==-1/0?1:0)<<7,a=0,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>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 Pt(e,t){var r=ht(this,this.l,e.length>>1);if(r!==e)throw new Error(t+"Expected "+e+" saw "+r);this.l+=e.length>>1}function Nt(e,t){e.l=t,e.read_shift=Ft,e.chk=Pt,e.write_shift=Ot}function Mt(e,t){e.l+=t}function Lt(e){var t=C(e);return Nt(t,0),t}function Ut(e,t,r){if(e){var n,a,s;Nt(e,e.l||0);for(var i=e.length,o=0,c=0;e.ln.l&&((n=n.slice(0,n.l)).l=n.length),n.length>0&&e.push(n),n=null)},s=function(e){return n&&e=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&&kt(r)&&e.push(r)}}function Vt(e,t,r){var n=te(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 Xt(e,t,r){var n=te(e);return n.s=Vt(n.s,t.s,r),n.e=Vt(n.e,t.s,r),n}function Gt(e,t){if(e.cRel&&e.c<0)for(e=te(e);e.c<0;)e.c+=t>8?16384:256;if(e.rRel&&e.r<0)for(e=te(e);e.r<0;)e.r+=t>8?1048576:t>5?65536:16384;var r=Zt(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 zt(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?65535:255)||e.e.cRel?Gt(e.s,t.biff)+":"+Gt(e.e,t.biff):(e.s.rRel?"":"$")+Kt(e.s.r)+":"+(e.e.rRel?"":"$")+Kt(e.e.r):(e.s.cRel?"":"$")+Yt(e.s.c)+":"+(e.e.cRel?"":"$")+Yt(e.e.c)}function jt(e){return parseInt(e.replace(/\$(\d+)$/,"$1"),10)-1}function Kt(e){return""+(e+1)}function $t(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 Yt(e){if(e<0)throw new Error("invalid column "+e);var t="";for(++e;e;e=Math.floor((e-1)/26))t=String.fromCharCode((e-1)%26+65)+t;return t}function Qt(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function Jt(e){var t=Qt(e);return{c:$t(t[0]),r:jt(t[1])}}function Zt(e){return Yt(e.c)+Kt(e.r)}function qt(e){var t=e.split(":").map(Jt);return{s:t[0],e:t[t.length-1]}}function er(e,t){return"undefined"===typeof t||"number"===typeof t?er(e.s,e.e):("string"!==typeof e&&(e=Zt(e)),"string"!==typeof t&&(t=Zt(t)),e==t?e:e+":"+t)}function tr(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;n26);++n)r=26*r+a;for(t.s.c=--r,r=0;n9);++n)r=10*r+a;if(t.s.r=--r,n===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 rr(e,t){var r="d"==e.t&&t instanceof Date;if(null!=e.z)try{return e.w=y.format(e.z,r?K(t):t)}catch(nf){}try{return e.w=y.format((e.XF||{}).numFmtId||(r?14:0),r?K(t):t)}catch(nf){return""+t}}function nr(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),rr(e,void 0==t?e.v:t))}function ar(e,t){var r=t&&t.sheet?t.sheet:"Sheet1",n={};return n[r]=e,{SheetNames:[r],Sheets:n}}function sr(e,t,r){var n=r||{},a=e?Array.isArray(e):n.dense;var 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?Jt(n.origin):n.origin;i=c.r,o=c.c}var l={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(s["!ref"]){var f=tr(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.r0&&t.write_shift(0,e,"dbcs"),r?t.slice(0,t.l):t}function fr(e){return{ich:e.read_shift(2),ifnt:e.read_shift(2)}}function hr(e,t){var r=e.l,n=e.read_shift(1),a=cr(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(fr(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(16)}catch(nf){n=null}}e.rc4=function(e,t){var r=new Array(256),n=0,s=0,i=0,o=0;for(s=0;256!=s;++s)r[s]=s;for(s=0;256!=s;++s)i=i+r[s]+e[s%e.length].charCodeAt(0)&255,o=r[s],r[s]=r[i],r[i]=o;s=i=0;var c=a(t.length);for(n=0;n!=t.length;++n)i=(i+r[s=s+1&255])%256,o=r[s],r[s]=r[i],r[i]=o,c[n]=t[n]^r[r[s]+r[i]&255];return c},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 ur=hr;function dr(e,t){var r=!1;return null==t&&(r=!0,t=Lt(23+4*e.t.length)),t.write_shift(1,1),lr(e.t,t),t.write_shift(4,1),function(e,t){t||(t=Lt(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 pr(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 mr(e,t){return null==t&&(t=Lt(8)),t.write_shift(-4,e.c),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}var gr=cr,br=lr;function vr(e){var t=e.read_shift(4);return 0===t||4294967295===t?"":e.read_shift(t,"dbcs")}function Er(e,t){var r=!1;return null==t&&(r=!0,t=Lt(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 Sr=cr,wr=vr,Cr=Er;function Br(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?wt([0,0,0,0,t[0],t[1],t[2],t[3]],0):Rt(t,0)>>2;return r?a/100:a}function Tr(e){var t={s:{},e:{}};return t.s.r=e.read_shift(4),t.e.r=e.read_shift(4),t.s.c=e.read_shift(4),t.e.c=e.read_shift(4),t}var kr=Tr,Ar=function(e,t){return t||(t=Lt(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 xr(e){return e.read_shift(8,"f")}function Ir(e,t){return(t||Lt(8)).write_shift(8,e,"f")}var _r={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},Rr=G(_r);function yr(e,t){if(t||(t=Lt(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 Fr(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 Dr=[80,81],Or={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:{}},Pr={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:{}},Nr={2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}};!function(){for(var e in Nr)Nr.hasOwnProperty(e)&&(Or[e]=Pr[e]=Nr[e])}();var Mr=V(Or,"n"),Lr=V(Pr,"n"),Ur={1:"US",2:"CA",3:"",7:"RU",20:"EG",30:"GR",31:"NL",32:"BE",33:"FR",34:"ES",36:"HU",39:"IT",41:"CH",43:"AT",44:"GB",45:"DK",46:"SE",47:"NO",48:"PL",49:"DE",52:"MX",55:"BR",61:"AU",64:"NZ",66:"TH",81:"JP",82:"KR",84:"VN",86:"CN",90:"TR",105:"JS",213:"DZ",216:"MA",218:"LY",351:"PT",354:"IS",358:"FI",420:"CZ",886:"TW",961:"LB",962:"JO",963:"SY",964:"IQ",965:"KW",966:"SA",971:"AE",972:"IL",974:"QA",981:"IR",65535:"US"},Hr=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"],Wr=te([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]}))),Vr={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links","application/vnd.ms-excel.sheetMetadata":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"TODO","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"vba","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO","image/png":"TODO",sheet:"js"},Xr=function(){var e={workbooks:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",xlsm:"application/vnd.ms-excel.sheet.macroEnabled.main+xml",xlsb:"application/vnd.ms-excel.sheet.binary.macroEnabled.main",xlam:"application/vnd.ms-excel.addin.macroEnabled.main+xml",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml"},strs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",xlsb:"application/vnd.ms-excel.sharedStrings"},comments:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml",xlsb:"application/vnd.ms-excel.comments"},sheets:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",xlsb:"application/vnd.ms-excel.worksheet"},charts:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml",xlsb:"application/vnd.ms-excel.chartsheet"},dialogs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml",xlsb:"application/vnd.ms-excel.dialogsheet"},macros:{xlsx:"application/vnd.ms-excel.macrosheet+xml",xlsb:"application/vnd.ms-excel.macrosheet"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};return 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){Vr[e[t][r]]=t}))})),e}(),Gr=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}(Vr);qe.CT="http://schemas.openxmlformats.org/package/2006/content-types";var zr=Ye("Types",null,{xmlns:qe.CT,"xmlns:xsd":qe.xsd,"xmlns:xsi":qe.xsi}),jr=[["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",Gr.rels[0]]].map((function(e){return Ye("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",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function $r(e){var t=e.lastIndexOf("/");return e.slice(0,t+1)+"_rels/"+e.slice(t+1)+".rels"}function Yr(e,t){var r={"!id":{}};if(!e)return r;"/"!==t.charAt(0)&&(t="/"+t);var n={};return(e.match(ve)||[]).forEach((function(e){var a=we(e);if("2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}var Zr=[Kr.HLINK,Kr.XPATH,Kr.XMISS];function qr(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:Zr.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 en(e,t,r){return[' \n',' \n'," \n"].join("")}var tn=function(){var e='SheetJS '+t.version+"";return function(){return e}}(),rn=[["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"]];qe.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 nn=function(){for(var e=new Array(rn.length),t=0;t]*>([\\s\\S]*?)")}return e}();function an(e){var t={};e=Pe(e);for(var r=0;r0&&(t[n[1]]=ke(a[1])),"date"===n[2]&&t[n[1]]&&(t[n[1]]=q(t[n[1]]))}return t}var sn=Ye("cp:coreProperties",null,{"xmlns:cp":qe.CORE_PROPS,"xmlns:dc":qe.dc,"xmlns:dcterms":qe.dcterms,"xmlns:dcmitype":qe.dcmitype,"xmlns:xsi":qe.xsi});function on(e,t,r,n,a){null==a[e]&&null!=t&&""!==t&&(a[e]=t,t=Ie(t),n[n.length]=r?Ye(e,t,r):Ke(e,t))}var cn=[["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 ln(e,t,r,n){var a=[];if("string"==typeof e)a=ze(e,n);else for(var s=0;s0)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}}qe.EXT_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",Kr.EXT_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties";var fn=Ye("Properties",null,{xmlns:qe.EXT_PROPS,"xmlns:vt":qe.vt});qe.CUST_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",Kr.CUST_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties";var hn=/<[^>]+>[^<]*/g,un=Ye("Properties",null,{xmlns:qe.CUST_PROPS,"xmlns:vt":qe.vt});function dn(e){var t=[ge,un];if(!e)return t.join("");var r=1;return W(e).forEach((function(n){++r,t[t.length]=Ye("property",function(e){switch(typeof e){case"string":return Ye("vt:lpwstr",Ie(e));case"number":return Ye((0|e)==e?"vt:i4":"vt:r8",Ie(String(e)));case"boolean":return Ye("vt:bool",e?"true":"false")}if(e instanceof Date)return Ye("vt:filetime",Qe(e));throw new Error("Unable to serialize "+e)}(e[n]),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:r,name:Ie(n)})})),t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}var pn={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"},mn=X(pn);function gn(e,t,r){e[t=mn[t]||t]=r}function bn(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 vn(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 En(e,t,r){var n=e.read_shift(0,"lpwstr");return r&&(e.l+=4-(n.length+1&3)&3),n}function Sn(e,t,r){return 31===t?En(e):vn(e,0,r)}function wn(e,t,r){return Sn(e,t,!1===r?0:4)}function Cn(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(_,"");return r}(e)}function Bn(e){return[xn(e,81),xn(e,3)]}function Tn(e){return function(e){for(var t=e.read_shift(4),r=[],n=0;n!=t/2;++n)r.push(Bn(e));return r}(e)}function kn(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(_,"").replace(R,"!"),1200===t&&i%2&&(e.l+=2)}return 3&e.l&&(e.l=e.l>>3<<2),n}function An(e){var t=e.read_shift(4),r=e.slice(e.l,e.l+t);return e.l+=t,(3&t)>0&&(e.l+=4-(3&t)&3),r}function xn(e,t,r){var n,a=e.read_shift(2),s=r||{};if(e.l+=2,12!==t&&a!==t&&-1===Dr.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 vn(e,0,4).replace(_,"");case 31:return En(e);case 64:return bn(e);case 65:return An(e);case 71:return function(e){var t={};return t.Size=e.read_shift(4),e.l+=t.Size+3-(t.Size-1)%4,t}(e);case 80:return wn(e,a,!s.raw).replace(_,"");case 81:return function(e,t){if(!t)throw new Error("VtUnalignedString must have positive length");return Sn(e,t,0)}(e,a).replace(_,"");case 4108:return Tn(e);case 4126:return Cn(e);default:throw new Error("TypedPropertyValue unrecognized type "+t+" "+a)}}function In(e,t){var r=Lt(4),n=Lt(4);switch(r.write_shift(4,80==e?31:e),e){case 3:n.write_shift(-4,t);break;case 5:(n=Lt(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=Lt(8);return s.write_shift(4,r),s.write_shift(4,n),s}(t);break;case 31:case 80:for((n=Lt(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 I([r,n])}function _n(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]=xn(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=xn(e,2),u(o),-1!==c){var g=e.l;e.l=s[c][1],l=kn(e,o),e.l=g}}else if(0===s[i][0]){if(0===o){c=i,e.l=s[i+1][1];continue}l=kn(e,o)}else{var b,v=l[s[i][0]];switch(e[e.l]){case 65:e.l+=4,b=An(e);break;case 30:case 31:e.l+=4,b=wn(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=Nn(e,4);break;case 64:e.l+=4,b=q(bn(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 yn(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 Fn(e,t,r){var n=Lt(8),a=[],s=[],i=8,o=0,c=Lt(8),l=Lt(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=Lt(8)).write_shift(4,0),a.unshift(l);var f=[Lt(4)];for(f[0].write_shift(4,e.length),o=0;o-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=yn(u);-1==g&&(g=31,u=String(u)),c=In(g,u)}s.push(c),(l=Lt(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=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 Vn(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=""+f.t+"",f.r=f.t),i=t,f}function Xn(e,t,r){if(r){if(r.biff>=2&&r.biff<=5)return e.read_shift(t,"cpstr");if(r.biff>=12)return e.read_shift(t,"dbcs-cont")}return 0===e.read_shift(1)?e.read_shift(t,"sbcs-cont"):e.read_shift(t,"dbcs-cont")}function Gn(e,t,r){var n=e.read_shift(r&&2==r.biff?1:2);return 0===n?(e.l++,""):Xn(e,n,r)}function zn(e,t,r){if(r.biff>5)return Gn(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 jn(e,t,r){return r||(r=Lt(3+2*e.length)),r.write_shift(2,e.length),r.write_shift(1,1),r.write_shift(31,e,"utf16le"),r}function Kn(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(_,"");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(_,"")}(e);default:throw new Error("Unsupported Moniker "+r)}}function $n(e){var t=e.read_shift(4);return t>0?e.read_shift(t,"utf16le").replace(_,""):""}function Yn(e){var t=Lt(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;r8?4:2;return[e.read_shift(n),e.read_shift(n,"i"),e.read_shift(n,"i")]}function ta(e){return[e.read_shift(2),Br(e)]}function ra(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 na(e,t){return t||(t=Lt(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 aa(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 sa=aa;function ia(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 oa(e){e.l+=2,e.l+=e.read_shift(2)}var ca={0:oa,4:oa,5:oa,6:oa,7:function(e){return e.l+=4,e.cf=e.read_shift(2),{}},8:oa,9:oa,10:oa,11:oa,12:oa,13:function(e){var t={};return e.l+=4,e.l+=16,t.fSharedNote=e.read_shift(2),e.l+=4,t},14:oa,15:oa,16:oa,17:oa,18:oa,19:oa,20:oa,21:ia};function la(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 fa(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=Lt(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 ha(e,t){var r=!t||t.biff>=8?2:1,n=Lt(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 ua(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 da(e,t,r,n){var a=r&&5==r.biff;n||(n=Lt(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 pa=zn;function ma(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 ga(e,t,r,n){var a=r&&5==r.biff;return n||(n=Lt(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 ba(e,t,r){var n=Zn(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 va(e,t,r,n,a,s){var i=Lt(8);return qn(e,t,n,i),function(e,t,r){r||(r=Lt(2)),r.write_shift(1,+e),r.write_shift(1,"e"==t?1:0)}(r,s,i),i}var Ea=function(e,t,r){return 0===t?"":zn(e,0,r)};function Sa(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=Wn(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 wa=["_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 Ca(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=Xn(e,i,r);32&a&&(l=wa[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=Mi(e,n,r);s!==e.l&&(a=Ni(e,s-e.l,i,r));return[i,a]}(e,f,r,o)}}function Ba(e,t,r){if(r.biff<8)return function(e,t,r){3==e[e.l+1]&&e[e.l]++;var n=Wn(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(ea(e,r.biff,r));if(e.l!=a)throw new Error("Bad ExternSheet: "+e.l+" != "+a);return n}function Ta(e,t,r){var n=sa(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,Xi(e,t,r)]}var ka=[];function Aa(e){var t=Lt(24),r=Jt(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 I([t,Yn(e[1])])}function xa(e){var t=e[1].Tooltip,r=Lt(10+2*(t.length+1));r.write_shift(2,2048);var n=Jt(e[0]);r.write_shift(2,n.r),r.write_shift(2,n.r),r.write_shift(2,n.c),r.write_shift(2,n.c);for(var a=0;a=12?4:2,a=e.read_shift(n),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}ka[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 _a=Zn,Ra=Hn,ya=Gn,Fa=function(){var e={1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127,8:865,9:437,10:850,11:437,13:437,14:850,15:437,16:850,17:437,18:850,19:932,20:850,21:437,22:850,23:865,24:437,25:437,26:850,27:437,28:863,29:850,31:852,34:852,35:852,36:860,37:850,38:866,55:850,64:852,77:936,78:949,79:950,80:874,87:1252,88:1252,89:1252,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"),ir(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}Nt(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.l0;)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,Nt(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=0&&u(+a.codepage),"string"==a.type)throw new Error("Cannot write DBF to JS string");var s=Ht(),i=Yl(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":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;f0?(g[o].hpt=E,g[o].hpx=ws(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(ee(e),t)}throw new Error("Unrecognized type "+t.type)}(e,t),n=r[0],s=r[1],i=ir(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"+ii(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 ar(s(e,t),t)},to_sheet:s,from_sheet:function(e,t){var r,n,a=["ID;PWXL;N;E"],s=[],o=tr(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=ps(e.width)),"number"==typeof e.wpx&&(e.wch=ms(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*Ss(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=Zt({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}}}(),Oa=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(ne(l))?isNaN(ae(l).getDate())?i[n][a]=l:i[n][a]=q(l):i[n][a]=ne(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 ir(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(ee(t),r)}throw new Error("Unrecognized type "+r.type)}(t,r),r)}return{to_workbook:function(e,r){return ar(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=tr(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=Zt({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=y.format(n.z||y._table[14],K(q(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")}}()}}(),Pa=function(){function e(e){return e.replace(/\\/g,"\\b").replace(/:/g,"\\c").replace(/\n/g,"\\n")}function t(e,t){return ir(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=Jt(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=qt(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=Zt({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=K(q(r.v));a[2]="vtc",a[3]="nd",a[4]=""+f,a[5]=r.w||y.format(r.z||y._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 ar(t(e,r),r)},to_sheet:t,from_sheet:function(e){return[r,n,a,n,i(e),s].join("\n")}}}(),Na=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(ne(e))?isNaN(ae(e).getDate())?t[r][n]=e:t[r][n]=q(e):t[r][n]=ne(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)&&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=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=q(t,n)):(r.t="n",r.v=K(q(t,n))),!1!==a.cellText&&(r.w=y.format(r.z,r.v instanceof Date?K(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[Zt({c:l,r:c})]=r),h=u+1,o.e.c0&&b(),i["!ref"]=er(o),i}function a(t,r){return"sep="==t.slice(0,4)||t.indexOf("\t")>=0||t.indexOf(",")>=0||t.indexOf(";")>=0?n(t,r):ir(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)}function s(e,t){var r="",n="string"==t.type?[0,0,0,0]:Nl(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=ee(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=Pe(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)?Pa.to_sheet("string"==t.type?r:Pe(r),t):a(r,t)}return{to_workbook:function(e,t){return ar(s(e,t),t)},to_sheet:s,from_sheet:function(e){for(var t,r=[],n=tr(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=Zt({r:s,c:o});if((t=a?(e[s]||[])[o]:e[c])&&null!=t.v){for(var l=(t.w||(nr(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")}}}(),Ma=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){Nt(e,e.l||0);for(var n=r.Enum||i;e.l=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||y._table[14],r.cellDates&&(t[1].t="d",t[1].v=Y(t[1].v))),r.dense?(n[t[0].r]||(n[t[0].r]=[]),n[t[0].r][t[0].c]=t[1]):n[Zt(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"]=er(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[Zt(t[0])]=t[1],f.e.c0?s<>>-i)+(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:Ln},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:Mt}},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:Mt}};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}}}(),La=function(){var e=He("t"),t=He("rPr");function r(r){var n=r.match(e);if(!n)return{t:"s",v:""};var a={t:"s",v:ke(n[1])},s=r.match(t);return s&&(a.s=function(e){var t={},r=e.match(ve),n=0,a=!1;if(r)for(;n!=r.length;++n){var s=we(r[n]);switch(s[0].replace(/\w*:/g,"")){case"":case"":t.shadow=1;break;case"":break;case"":case"":t.outline=1;break;case"":break;case"":case"":t.strike=1;break;case"":break;case"":case"":t.u=1;break;case"":break;case"":case"":t.b=1;break;case"":break;case"":case"":t.i=1;break;case"":break;case"":case"":break;case"":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}))}}(),Ua=function(){var e=/(\r\n|\n)/g;function t(t){var r=[[],t.v,[]];return t.v?(t.s&&function(e,t,r){var n=[];e.u&&n.push("text-decoration: underline;"),e.uval&&n.push("text-underline-style:"+e.uval+";"),e.sz&&n.push("font-size:"+e.sz+"pt;"),e.outline&&n.push("text-effect: outline;"),e.shadow&&n.push("text-shadow: auto;"),t.push(''),e.b&&(t.push(""),r.push("")),e.i&&(t.push(""),r.push("")),e.strike&&(t.push(""),r.push(""));var a=e.valign||"";"superscript"==a||"super"==a?a="sup":"subscript"==a&&(a="sub"),""!=a&&(t.push("<"+a+">"),r.push("")),r.push("")}(t.s,r[0],r[2]),r[0].join("")+r[1].replace(e,"
")+r[2].join("")):""}return function(e){return e.map(t).join("")}}(),Ha=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,Wa=/<(?:\w+:)?r>/,Va=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g;function Xa(e,t){var r=!t||t.cellHTML,n={};return e?(e.match(/^\s*<(?:\w+:)?t[^>]*>/)?(n.t=ke(Pe(e.slice(e.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||"")),n.r=Pe(e),r&&(n.h=ye(n.t))):e.match(Wa)&&(n.r=Pe(e),n.t=ke(Pe((e.replace(Va,"").match(Ha)||[]).join("").replace(ve,""))),r&&(n.h=Ua(La(n.r)))),n):null}var Ga=/<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/,za=/<(?:\w+:)?(?:si|sstItem)>/g,ja=/<\/(?:\w+:)?(?:si|sstItem)>/;Kr.SST="http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings";var Ka=/^\s|\s$|[\t\n\r]/;function $a(e,t){if(!t.bookSST)return"";var r=[ge];r[r.length]=Ye("sst",null,{xmlns:qe.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="";a.r?s+=a.r:(s+=""),s+="",r[r.length]=s}return r.length>2&&(r[r.length]="",r[1]=r[1].replace("/>",">")),r.join("")}var Ya=function(e,t){var r=!1;return null==t&&(r=!0,t=Lt(15+4*e.t.length)),t.write_shift(1,0),lr(e.t,t),r?t.slice(0,t.l):t};function Qa(e){var t=Ht();Wt(t,"BrtBeginSst",function(e,t){return t||(t=Lt(8)),t.write_shift(4,e.Count),t.write_shift(4,e.Unique),t}(e));for(var r=0;r=4&&(e.l+=t-4),r}function qa(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 es(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=Za(e,4),t.U=Za(e,4),t.W=Za(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 ts(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 rs(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 ns(e){if(36!=(63&e.read_shift(4)))throw new Error("EncryptionInfo mismatch");var t=e.read_shift(4);return{t:"Std",h:ts(e,t),v:rs(e,e.length-e.l)}}function as(){throw new Error("File is password-protected: ECMA-376 Extensible")}function ss(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(ve,(function(e){var r=we(e);switch(Ce(r[0])){case"":break;case"":case"":break;case"":break;case"=0;--r)n=((0===(16384&n)?0:1)|n<<1&32767)^t[r];return 52811^n}var os=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=Ja(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}}(),cs=function(e){var t=0,r=os(e);return function(e){var n=function(e,t,r,n,a){var s,i;for(a||(a=t),n||(n=os(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 ls(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=Za(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=Za(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=ts(e,a),t-=a,r.EncryptionVerifier=rs(e,t),r}(e,t),n}var fs=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(ee(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"]=er({s:{c:0,r:0},e:{c:0,r:0}}),r}return{to_workbook:function(t,r){return ar(e(t,r),r)},to_sheet:e,from_sheet:function(e){for(var t,r=["{\\rtf1\\ansi"],n=tr(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=Zt({r:s,c:i});(t=a?(e[s]||[])[i]:e[o])&&(null!=t.v||t.f&&!t.F)&&(r.push(" "+(t.w||(nr(t),t.w))),r.push("\\cell"))}r.push("\\pard\\intbl\\row")}return r.join("")+"}"}}}();function hs(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 us(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),hs(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 ds=6;function ps(e){return Math.floor((e+Math.round(128/ds)/256)*ds)}function ms(e){return Math.floor((e-5)/ds*100+.5)/100}function gs(e){return Math.round((e*ds+5)/ds*256)/256}function bs(e){return gs(ms(ps(e)))}function vs(e){var t=Math.abs(e-bs(e)),r=ds;if(t>.005)for(ds=1;ds<15;++ds)Math.abs(e-bs(e))<=t&&(t=Math.abs(e-bs(e)),r=ds);ds=r}function Es(e){e.width?(e.wpx=ps(e.width),e.wch=ms(e.wpx),e.MDW=ds):e.wpx?(e.wch=ms(e.wpx),e.width=gs(e.wch),e.MDW=ds):"number"==typeof e.wch&&(e.width=gs(e.wch),e.wpx=ps(e.width),e.MDW=ds),e.customWidth&&delete e.customWidth}function Ss(e){return 96*e/96}function ws(e){return 96*e/96}var Cs={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"},Bs=["numFmtId","fillId","fontId","borderId","xfId"],Ts=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"],ks=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(//gm,"").replace(//gm,"")).match(e))&&function(e,t,r){t.NumberFmt=[];for(var n=W(y._table),a=0;a":case"":case"":break;case"0){if(c>392){for(c=392;c>60&&null!=t.NumberFmt[c];--c);t.NumberFmt[c]=o}y.load(o,c)}break;case"":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(ve)||[]).forEach((function(e){var i=we(e);switch(Ce(i[0])){case"":case"":break;case"":break;case"":case"":t.Fonts.push(a),a={};break;case"":case"":break;case"":a.bold=1;break;case"":a.italic=1;break;case"":a.underline=1;break;case"":a.strike=1;break;case"":a.outline=1;break;case"":a.shadow=1;break;case"":a.condense=1;break;case"":a.extend=1;break;case"":case"":break;case"":case"":break;case"":case"":break;case"":case"":break;case"":case"":break;case"":s=!1;break;case"":case"":break;case"":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(ve)||[]).forEach((function(e){var r=we(e);switch(Ce(r[0])){case"":case"":break;case"":case"":a={},t.Fills.push(a);break;case"":case"":break;case"":t.Fills.push(a),a={};break;case"":r.patternType&&(a.patternType=r.patternType);break;case"":case"":break;case"":case"":break;case"":case"":break;case"":case"":break;case"":case"":break;case"":case"":break;case"":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(ve)||[]).forEach((function(e){var r=we(e);switch(Ce(r[0])){case"":case"":break;case"":case"":a={},r.diagonalUp&&(a.diagonalUp=Oe(r.diagonalUp)),r.diagonalDown&&(a.diagonalDown=Oe(r.diagonalDown)),t.Borders.push(a);break;case"":case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":break;case"":case"":break;case"":case"":break;case"":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(ve)||[]).forEach((function(e){var s=we(e),i=0;switch(Ce(s[0])){case"":case"":case"":break;case"":for(delete(n=s)[0],i=0;i392)for(i=392;i>60;--i)if(t.NumberFmt[n.numFmtId]==t.NumberFmt[i]){n.numFmtId=i;break}t.CellXf.push(n);break;case"":break;case"":var 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=Oe(s.wrapText)),n.alignment=o;break;case"":case"":case"":break;case"":a=!1;break;case"":case"":break;case"":a=!1;break;default:if(r&&r.WTF&&!a)throw new Error("unrecognized "+s[0]+" in cellXfs")}}))}(c,l,o),l):l}}(),As=Ye("styleSheet",null,{xmlns:qe.main[0],"xmlns:vt":qe.vt});function xs(e,t){var r,n=[ge,As];return e.SSF&&null!=(r=function(e){var t=[""];return[[5,8],[23,26],[41,44],[50,392]].forEach((function(r){for(var n=r[0];n<=r[1];++n)null!=e[n]&&(t[t.length]=Ye("numFmt",null,{numFmtId:n,formatCode:Ie(e[n])}))})),1===t.length?"":(t[t.length]="",t[0]=Ye("numFmts",null,{count:t.length-2}).replace("/>",">"),t.join(""))}(e.SSF))&&(n[n.length]=r),n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',(r=function(e){var t=[];return t[t.length]=Ye("cellXfs",null),e.forEach((function(e){t[t.length]=Ye("xf",null,e)})),t[t.length]="",2===t.length?"":(t[0]=Ye("cellXfs",null,{count:t.length-2}).replace("/>",">"),t.join(""))}(t.cellXfs))&&(n[n.length]=r),n[n.length]='',n[n.length]='',n[n.length]='',n.length>2&&(n[n.length]="",n[1]=n[1].replace("/>",">")),n.join("")}function Is(e,t,r){r||(r=Lt(6+4*t.length)),r.write_shift(2,e),lr(t,r);var n=r.length>r.l?r.slice(0,r.l):r;return null==r.l&&(r.l=r.length),n}function _s(e,t){t||(t=Lt(153)),t.write_shift(2,20*e.sz),function(e,t){t||(t=Lt(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),lr(e.name,t),t.length>t.l?t.slice(0,t.l):t}Kr.STY="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles";var Rs=X(["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"]),ys=Mt;function Fs(e,t){t||(t=Lt(84));var r=Rs[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 Ds(e,t,r){r||(r=Lt(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 Os(e,t){return t||(t=Lt(10)),t.write_shift(1,0),t.write_shift(1,0),t.write_shift(4,0),t.write_shift(4,0),t}var Ps=Mt;function Ns(e){var t;Wt(e,"BrtBeginBorders",or(1)),Wt(e,"BrtBorder",(t||(t=Lt(51)),t.write_shift(1,0),Os(0,t),Os(0,t),Os(0,t),Os(0,t),Os(0,t),t.length>t.l?t.slice(0,t.l):t)),Wt(e,"BrtEndBorders")}function Ms(e){var t,r;Wt(e,"BrtBeginStyles",or(1)),Wt(e,"BrtStyle",(t={xfId:0,builtinId:0,name:"Normal"},r||(r=Lt(52)),r.write_shift(4,t.xfId),r.write_shift(2,1),r.write_shift(1,+t.builtinId),r.write_shift(1,0),Er(t.name||"",r),r.length>r.l?r.slice(0,r.l):r)),Wt(e,"BrtEndStyles")}function Ls(e){Wt(e,"BrtBeginTableStyles",function(e,t,r){var n=Lt(2052);return n.write_shift(4,e),Er(t,n),Er(r,n),n.length>n.l?n.slice(0,n.l):n}(0,"TableStyleMedium9","PivotStyleMedium4")),Wt(e,"BrtEndTableStyles")}function Us(e,t){var r=Ht();return Wt(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&&(Wt(e,"BrtBeginFmts",or(r)),[[5,8],[23,26],[41,44],[50,392]].forEach((function(r){for(var n=r[0];n<=r[1];++n)null!=t[n]&&Wt(e,"BrtFmt",Is(n,t[n]))})),Wt(e,"BrtEndFmts"))}}(r,e.SSF),function(e){Wt(e,"BrtBeginFonts",or(1)),Wt(e,"BrtFont",_s({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"})),Wt(e,"BrtEndFonts")}(r),function(e){Wt(e,"BrtBeginFills",or(2)),Wt(e,"BrtFill",Fs({patternType:"none"})),Wt(e,"BrtFill",Fs({patternType:"gray125"})),Wt(e,"BrtEndFills")}(r),Ns(r),function(e){Wt(e,"BrtBeginCellStyleXFs",or(1)),Wt(e,"BrtXF",Ds({numFmtId:0,fontId:0,fillId:0,borderId:0},65535)),Wt(e,"BrtEndCellStyleXFs")}(r),function(e,t){Wt(e,"BrtBeginCellXFs",or(t.length)),t.forEach((function(t){Wt(e,"BrtXF",Ds(t,0))})),Wt(e,"BrtEndCellXFs")}(r,t.cellXfs),Ms(r),function(e){Wt(e,"BrtBeginDXFs",or(0)),Wt(e,"BrtEndDXFs")}(r),Ls(r),Wt(r,"BrtEndStyleSheet"),r.end()}function Hs(e,t,r){t.themeElements.clrScheme=[];var n={};(e[0].match(ve)||[]).forEach((function(e){var a=we(e);switch(a[0]){case"":break;case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":"/"===a[0].charAt(1)?(t.themeElements.clrScheme.push(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 Ws(){}function Vs(){}Kr.THEME="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme";var Xs=/]*)>[\s\S]*<\/a:clrScheme>/,Gs=/]*)>[\s\S]*<\/a:fontScheme>/,zs=/]*)>[\s\S]*<\/a:fmtScheme>/,js=/]*)>[\s\S]*<\/a:themeElements>/;function Ks(e,t){if(!e||0===e.length)return Ks($s());var r,n={};if(!(r=e.match(js)))throw new Error("themeElements not found in theme");return function(e,t,r){var n;t.themeElements={},[["clrScheme",Xs,Hs],["fontScheme",Gs,Ws],["fmtScheme",zs,Vs]].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 $s(e,t){if(t&&t.themeXLSX)return t.themeXLSX;if(e&&"string"==typeof e.raw)return e.raw;var r=[ge];return r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r.join("")}function Ys(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 Mt(e,t)}(e,4);break;case 2:t.xclrValue=Qn(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]=Ys(e);break;case 6:n[1]=function(e,t){return Mt(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 Js=1024;function Zs(e,t){for(var r=[21600,21600],n=["m0,0l0",r[1],r[0],r[1],r[0],"0xe"].join(","),a=[Ye("xml",null,{"xmlns:v":st,"xmlns:o":et,"xmlns:x":tt,"xmlns:mv":at}).replace(/\/>/,">"),Ye("o:shapelayout",Ye("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"}),Ye("v:shapetype",[Ye("v:stroke",null,{joinstyle:"miter"}),Ye("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:r.join(","),path:n})];Js<1e3*e;)Js+=1e3;return t.forEach((function(e){var t=Jt(e[0]),r={color2:"#BEFF82",type:"gradient"};"gradient"==r.type&&(r.angle="-180");var n="gradient"==r.type?Ye("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null,s=Ye("v:fill",n,r);++Js,a=a.concat(["",s,Ye("v:shadow",null,{on:"t",obscured:"t"}),Ye("v:path",null,{"o:connecttype":"none"}),'
','',"","",Ke("x:Anchor",[t.c+1,0,t.r+1,0,t.c+3,20,t.r+5,20].join(",")),Ke("x:AutoFill","False"),Ke("x:Row",String(t.r)),Ke("x:Column",String(t.c)),e[1].hidden?"":"","",""])})),a.push(""),a.join("")}Kr.CMNT="http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments";var qs=Ye("comments",null,{xmlns:qe.main[0]});function ei(e){var t=[ge,qs],r=[];return t.push(""),e.forEach((function(e){e[1].forEach((function(e){var n=Ie(e.a);r.indexOf(n)>-1||(r.push(n),t.push(""+n+""))}))})),t.push(""),t.push(""),e.forEach((function(e){e[1].forEach((function(n){t.push(''),t.push(Ke("t",null==n.t?"":Ie(n.t))),t.push("")}))})),t.push(""),t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}var ti=cr;function ri(e){var t=Ht(),r=[];return Wt(t,"BrtBeginComments"),Wt(t,"BrtBeginCommentAuthors"),e.forEach((function(e){e[1].forEach((function(e){r.indexOf(e.a)>-1||(r.push(e.a.slice(0,54)),Wt(t,"BrtCommentAuthor",function(e){return lr(e.slice(0,54))}(e.a)))}))})),Wt(t,"BrtEndCommentAuthors"),Wt(t,"BrtBeginCommentList"),e.forEach((function(e){e[1].forEach((function(n){n.iauthor=r.indexOf(n.a);var a={s:Jt(e[0]),e:Jt(e[0])};Wt(t,"BrtBeginComment",function(e,t){return null==t&&(t=Lt(36)),t.write_shift(4,e[1].iauthor),Ar(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&&Wt(t,"BrtCommentText",dr(n)),Wt(t,"BrtEndComment"),delete n.iauthor}))})),Wt(t,"BrtEndCommentList"),Wt(t,"BrtEndComments"),t.end()}var ni=["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 ai=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?"":"$")+Yt(c)+(i?"":"$")+Kt(o)}return function(n,a){return t=a,n.replace(e,r)}}(),si=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)([1-9]\d{0,5}|10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6])(?![_.\(A-Za-z0-9])/g,ii=function(e,t){return e.replace(si,(function(e,r,n,a,s,i){var o=$t(a)-(n?0:t.c),c=jt(i)-(s?0:t.r);return r+"R"+(0==c?"":s?c+1:"["+c+"]")+"C"+(0==o?"":n?o+1:"["+o+"]")}))};function oi(e,t,r){var n=qt(t).s,a=Jt(r);return function(e,t){return e.replace(si,(function(e,r,n,a,s,i){return r+("$"==n?n+a:Yt($t(a)+t.c))+("$"==s?s+i:Kt(jt(i)+t.r))}))}(e,{r:a.r-n.r,c:a.c-n.c})}function ci(e){return e.replace(/_xlfn\./g,"")}function li(e){e.l+=1}function fi(e,t){var r=e.read_shift(1==t?1:2);return[16383&r,r>>14&1,r>>15&1]}function hi(e,t,r){var n=2;if(r){if(r.biff>=2&&r.biff<=5)return ui(e);12==r.biff&&(n=4)}var a=e.read_shift(n),s=e.read_shift(n),i=fi(e,2),o=fi(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 ui(e){var t=fi(e,2),r=fi(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 di(e,t,r){if(r&&r.biff>=2&&r.biff<=5)return function(e){var t=fi(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=fi(e,2);return{r:n,c:a[0],cRel:a[1],rRel:a[2]}}function pi(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 mi(e){return[e.read_shift(1),e.read_shift(1)]}function gi(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]=Nn(e,1)?"TRUE":"FALSE",12!=t&&(e.l+=7);break;case 37:case 16:r[1]=_r[e[e.l]],e.l+=12==t?4:8;break;case 0:e.l+=8;break;case 1:r[1]=xr(e);break;case 2:r[1]=zn(e,0,{biff:t>0&&t<8?2:t});break;default:throw new Error("Bad SerAr: "+r[0])}return r}function bi(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?kr:ra)(e,8));return a}function vi(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]=gi(e,r.biff);return i}function Ei(e,t,r){return e.l+=2,[pi(e)]}function Si(e){return e.l+=6,[]}var wi=Ei,Ci=Si,Bi=Si,Ti=Ei;function ki(e){return e.l+=2,[Ln(e),1&e.read_shift(2)]}var Ai=Ei,xi=ki,Ii=Si,_i=Ei,Ri=Ei,yi=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"],Fi={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:Mt},3:{n:"PtgAdd",f:li},4:{n:"PtgSub",f:li},5:{n:"PtgMul",f:li},6:{n:"PtgDiv",f:li},7:{n:"PtgPower",f:li},8:{n:"PtgConcat",f:li},9:{n:"PtgLt",f:li},10:{n:"PtgLe",f:li},11:{n:"PtgEq",f:li},12:{n:"PtgGe",f:li},13:{n:"PtgGt",f:li},14:{n:"PtgNe",f:li},15:{n:"PtgIsect",f:li},16:{n:"PtgUnion",f:li},17:{n:"PtgRange",f:li},18:{n:"PtgUplus",f:li},19:{n:"PtgUminus",f:li},20:{n:"PtgPercent",f:li},21:{n:"PtgParen",f:li},22:{n:"PtgMissArg",f:li},23:{n:"PtgStr",f:function(e,t,r){return e.l++,Wn(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++,_r[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++,xr(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[eo[a],qi[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]?qi:Zi)[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,di(e,0,r)]}},37:{n:"PtgArea",f:function(e,t,r){return[(96&e[e.l++])>>5,hi(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:Mt},40:{n:"PtgMemNoMem",f:Mt},41:{n:"PtgMemFunc",f:function(e,t,r){return[e.read_shift(1)>>>5&3,e.read_shift(r&&2==r.biff?1:2)]}},42:{n:"PtgRefErr",f:function(e,t,r){var n=e.read_shift(1)>>>5&3;return e.l+=4,r.biff<8&&e.l--,12==r.biff&&(e.l+=2),[n]}},43:{n:"PtgAreaErr",f:function(e,t,r){var n=(96&e[e.l++])>>5;return e.l+=r&&r.biff>8?12:r.biff<8?6:8,[n]}},44:{n:"PtgRefN",f:function(e,t,r){var n=(96&e[e.l])>>5;return e.l+=1,[n,function(e,t,r){var n=r&&r.biff?r.biff:8;if(n>=2&&n<=5)return function(e){var t=e.read_shift(2),r=e.read_shift(1),n=(32768&t)>>15,a=(16384&t)>>14;t&=16383,1==n&&t>=8192&&(t-=16384);1==a&&r>=128&&(r-=256);return{r:t,c:r,cRel:a,rRel:n}}(e);var a=e.read_shift(n>=12?4:2),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 ui(e);var n=e.read_shift(12==r.biff?4:2),a=e.read_shift(12==r.biff?4:2),s=fi(e,2),i=fi(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,di(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,hi(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:{}},Di={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 Di)Fi[e]=Fi[Di[e]]}();var Oi={1:{n:"PtgElfLel",f:ki},2:{n:"PtgElfRw",f:_i},3:{n:"PtgElfCol",f:wi},6:{n:"PtgElfRwV",f:Ri},7:{n:"PtgElfColV",f:Ti},10:{n:"PtgElfRadical",f:Ai},11:{n:"PtgElfRadicalS",f:Ii},13:{n:"PtgElfColS",f:Ci},15:{n:"PtgElfColSV",f:Bi},16:{n:"PtgElfRadicalLel",f:xi},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:yi[r>>2&31],idx:n,c:a,C:s}}},29:{n:"PtgSxName",f:function(e){return e.l+=2,[e.read_shift(4)]}},255:{}},Pi={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),mi(e)}},65:{n:"PtgAttrSpaceSemi",f:function(e){return e.read_shift(2),mi(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 Ni(e,t,r,n){if(n.biff<8)return Mt(e,t);for(var a=e.l+t,s=[],i=0;i!==r.length;++i)switch(r[i][0]){case"PtgArray":r[i][1]=vi(e,0,n),s.push(r[i][1]);break;case"PtgMemArea":r[i][2]=bi(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(Mt(e,t)),s}function Mi(e,t,r){for(var n,a,s=e.l+t,i=[];s!=e.l;)t=s-e.l,a=e[e.l],n=Fi[a],24!==a&&25!==a||(n=(24===a?Oi:Pi)[e[e.l+1]]),n&&n.f?i.push([n.n,n.f(e,t,r)]):Mt(e,t);return i}function Li(e){for(var t=[],r=0;r=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function Hi(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 Wi(e,t,r){return function(e,t){if(!e&&!(t&&t.biff<=5&&t.biff>=2))throw new Error("empty sheet name");return e.indexOf(" ")>-1?"'"+e+"'":e}(Hi(e,t,r),r)}function Vi(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=0){switch(e[0][m][1][0]){case 0:g=re(" ",e[0][m][1][1]);break;case 1:g=re("\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+Ui[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=Vt(E[1][1],f,a),h.push(Gt(o,l));break;case"PtgRefN":o=r?Vt(E[1][1],r,a):E[1][1],h.push(Gt(o,l));break;case"PtgRef3d":u=E[1][1],o=Vt(E[1][2],f,a);p=Wi(n,u,a);h.push(p+"!"+Gt(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=Xt(E[1][1],r?{s:r}:f,a),h.push(zt(c,a));break;case"PtgArea":c=Xt(E[1][1],f,a),h.push(zt(c,a));break;case"PtgArea3d":u=E[1][1],c=E[1][2],p=Wi(n,u,a),h.push(p+"!"+zt(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 to&&(T=to[T]),h.push(T);break;case"PtgNameX":var k,A=E[1][1];if(d=E[1][2],!(a.biff<=5)){var x="";if(14849==((n[A]||[])[0]||[])[0]||(1025==((n[A]||[])[0]||[])[0]?n[A][d]&&n[A][d].itab>0&&(x=n.SheetNames[n[A][d].itab-1]+"!"):x=n.SheetNames[d-1]+"!"),n[A]&&n[A][d])x+=n[A][d].Name;else if(n[0]&&n[0][d])x+=n[0][d].Name;else{var I=Hi(n,A,a).split(";;");I[d-1]?x=I[d-1]:x+="SH33TJSERRX"}h.push(x);break}A<0&&(A=-A),n[A]&&(k=n[A][d]),k||(k={Name:"SH33TJSERRY"}),h.push(k.Name);break;case"PtgParen":var _="(",R=")";if(m>=0){switch(g="",e[0][m][1][0]){case 2:_=re(" ",e[0][m][1][1])+_;break;case 3:_=re("\r",e[0][m][1][1])+_;break;case 4:R=re(" ",e[0][m][1][1])+R;break;case 5:R=re("\r",e[0][m][1][1])+R;break;default:if(a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][m][1][0])}m=-1}h.push(_+h.pop()+R);break;case"PtgRefErr":case"PtgRefErr3d":h.push("#REF!");break;case"PtgExp":o={c:E[1][1],r:E[1][0]};var y={c:r.c,r:r.r};if(n.sharedf[Zt(o)]){var F=n.sharedf[Zt(o)];h.push(Vi(F,f,y,n,a))}else{var D=!1;for(s=0;s!=n.arrayf.length;++s)if(i=n.arrayf[s],!(o.ci[0].e.c)&&!(o.ri[0].e.r)){h.push(Vi(i[1],f,y,n,a)),D=!0;break}D||h.push(E[1])}break;case"PtgArray":h.push("{"+Li(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=re(" ",E[1][1]);break;case 5:O=!1;case 1:g=re("\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 Xi(e,t,r){var n,a=e.l+t,s=2==r.biff?1:2,i=e.read_shift(s);if(65535==i)return[[],Mt(e,t-2)];var o=Mi(e,i,r);return t!==i+s&&(n=Ni(e,t-i-s,o,r)),e.l=a,[o,n]}function Gi(e,t,r){var n,a=e.l+t,s=e.read_shift(2),i=Mi(e,s,r);return 65535==s?[[],Mt(e,t-2)]:(t!==s+2&&(n=Ni(e,a-s-2,i,r)),[i,n])}function zi(e,t,r){var n=e.l+t,a=Zn(e);2==r.biff&&++e.l;var s=function(e){var t;if(65535!==xt(e,e.l+6))return[xr(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[[],Mt(e,t-2)];var o=Mi(e,i,r);return t!==i+s&&(n=Ni(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 ji(e,t,r,n,a){var s=qn(t,r,a),i=function(e){if(null==e){var t=Lt(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=Lt(6);o.write_shift(2,33),o.write_shift(4,0);for(var c=Lt(e.bf.length),l=0;l0?Ni(e,s,a,r):null]}var $i=Ki,Yi=Ki,Qi=Ki,Ji=Ki,Zi={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"},qi={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"},eo={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},to={"_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 ro(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 no(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 ao={},so={};Kr.WS=["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"];var io="undefined"!==typeof Map;function oo(e,t,r){var n=0,a=e.length;if(r){if(io?r.has(t):r.hasOwnProperty(t))for(var s=io?r.get(t):r[t];n-1?(r.width=gs(n),r.customWidth=1):null!=t.width&&(r.width=t.width),t.hidden&&(r.hidden=!0),r}function lo(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 fo(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]){y.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 ho(e,t,r,n,a,s){try{n.cellNF&&(e.z=y._table[t])}catch(nf){if(n.WTF)throw nf}if("z"!==e.t){if("d"===e.t&&"string"===typeof e.v&&(e.v=q(e.v)),!n||!1!==n.cellText)try{if(null==y._table[t]&&y.load(P[t]||"General",t),"e"===e.t)e.w=e.w||_r[e.v];else if(0===t)if("n"===e.t)(0|e.v)===e.v?e.w=y._general_int(e.v):e.w=y._general_num(e.v);else if("d"===e.t){var i=K(e.v);e.w=(0|i)===i?y._general_int(i):y._general_num(i)}else{if(void 0===e.v)return"";e.w=y._general(e.v,so)}else"d"===e.t?e.w=y.format(t,K(e.v),so):e.w=y.format(t,e.v,so)}catch(nf){if(n.WTF)throw nf}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=us(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=us(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(nf){if(n.WTF&&s.Fills)throw nf}}}function uo(e,t,r){if(e&&e["!ref"]){var n=tr(e["!ref"]);if(n.e.c/g,mo=/<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/,go=/<(?:\w:)?hyperlink [^>]*>/gm,bo=/"(\w*:\w*)"/,vo=/<(?:\w:)?col\b[^>]*[\/]?>/g,Eo=/<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g,So=/<(?:\w:)?pageMargins[^>]*\/>/g,wo=/<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/,Co=/<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/;function Bo(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(mo);h?(l=e.slice(0,h.index),f=e.slice(h.index+h[0].length)):l=f=e;var u=l.match(wo);u&&To(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(bo);p&&function(e,t){var r=tr(t);r.s.r<=r.e.r&&r.s.c<=r.e.c&&r.s.r>=0&&r.s.c>=0&&(e["!ref"]=er(r))}(o,p[1])}var m=l.match(Co);m&&m[1]&&function(e,t){t.Views||(t.Views=[{}]);(e.match(xo)||[]).forEach((function(e,r){var n=we(e);t.Views[r]||(t.Views[r]={}),Oe(n.rightToLeft)&&(t.Views[r].RTL=!0)}))}(m[1],a);var g=[];if(t.cellStyles){var b=l.match(vo);b&&function(e,t){for(var r=!1,n=0;n!=t.length;++n){var a=we(t[n],!0);a.hidden&&(a.hidden=Oe(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,vs(a.width)),Es(a);s<=i;)e[s++]=te(a)}}(g,b)}h&&_o(h[1],o,t,c,s,i);var v=f.match(Eo);v&&(o["!autofilter"]=function(e){return{ref:(e.match(/ref="([^"]*)"/)||[])[1]}}(v[0]));var E=[],S=f.match(po);if(S)for(d=0;d!=S.length;++d)E[d]=tr(S[d].slice(S[d].indexOf('"')+1));var w=f.match(go);w&&function(e,t,r){for(var n=Array.isArray(e),a=0;a!=t.length;++a){var s=we(Pe(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=tr(s.ref),c=o.s.r;c<=o.e.r;++c)for(var l=o.s.c;l<=o.e.c;++l){var f=Zt({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(So);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}(we(C[0]))),!o["!ref"]&&c.e.c>=c.s.c&&c.e.r>=c.s.r&&(o["!ref"]=er(c)),t.sheetRows>0&&o["!ref"]){var B=tr(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.rc.e.c&&(B.e.c=c.e.c),B.e.c0&&(o["!cols"]=g),E.length>0&&(o["!merges"]=E),o}function To(e,t,r,n){var a=we(e);r.Sheets[n]||(r.Sheets[n]={}),a.codeName&&(r.Sheets[n].CodeName=a.codeName)}var ko=["objects","scenarios","selectLockedCells","selectUnlockedCells"],Ao=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"],xo=/<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/?>/;function Io(e,t,r,n){if(void 0===e.v&&void 0===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=_r[e.v];break;case"d":n&&n.cellDates?a=q(e.v,-1).toISOString():((e=te(e)).t="n",a=""+(e.v=K(q(e.v)))),"undefined"===typeof e.z&&(e.z=y._table[14]);break;default:a=e.v}var o=Ke("v",Ie(a)),c={r:t},l=fo(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=Ke("v",""+oo(n.Strings,e.v,n.revStrings)),c.t="s";break}c.t="str"}if(e.t!=s&&(e.t=s,e.v=i),e.f){var f=e.F&&e.F.slice(0,t.length)==t?{t:"array",ref:e.F}:null;o=Ye("f",Ie(e.f),f)+(null!=e.v?o:"")}return e.l&&r["!links"].push([t,e.l]),e.c&&r["!comments"].push([t,e.c]),Ye("c",o,c)}var _o=function(){var e=/<(?:\w+:)?c[ >]/,t=/<\/(?:\w+:)?row>/,r=/r=["']([^"']*)["']/,n=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/,a=/ref=["']([^"']*)["']/,s=He("v"),i=He("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="",A=0,x=0,I=0,_=0,R=Array.isArray(u.CellXf),F=[],D=[],O=Array.isArray(c),P=[],N={},M=!1,L=o.split(t),U=0,H=L.length;U!=H;++U){var W=(E=L[U].trim()).length;if(0!==W){for(v=0;vA-1&&(f.s.r=A-1),f.e.r":"")+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=we(E.slice(0,B),!0)).r||(p.r=Zt({r:A-1,c:x})),d={t:""},null!=(w=(k=E.slice(B)).match(s))&&""!==w[1]&&(d.v=ke(w[1])),l.cellFormula){null!=(w=k.match(i))&&""!==w[1]?(d.f=ci(ke(Pe(w[1]))),w[0].indexOf('t="array"')>-1?(d.F=(k.match(a)||[])[1],d.F.indexOf(":")>-1&&F.push([tr(d.F),d.F])):w[0].indexOf('t="shared"')>-1&&(g=we(w[0]),D[parseInt(g.si,10)]=[g,ci(ke(Pe(w[1]))),p.r])):(w=k.match(/]*\/>/))&&D[(g=we(w[0])).si]&&(d.f=oi(D[g.si][1],D[g.si][2],p.r));var X=Jt(p.r);for(B=0;B=F[B][0].s.r&&X.r<=F[B][0].e.r&&X.c>=F[B][0].s.c&&X.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.sheetStubs)continue;d.t="z"}else d.t=p.t||"n";switch(f.s.c>x&&(f.s.c=x),f.e.c0&&(c["!rows"]=P)}}(),Ro=Ye("worksheet",null,{xmlns:qe.main[0],"xmlns:r":qe.r});function yo(e,t,r,n){var a,s=[ge,Ro],i=r.SheetNames[e],o="",c=r.Sheets[i];null==c&&(c={});var l=c["!ref"]||"A1",f=tr(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=er(f)}n||(n={}),c["!comments"]=[];var h=[];!function(e,t,r,n,a){var s=!1,i={};if("xlsx"!==n.bookType&&t.vbaraw){var o=t.SheetNames[r];try{t.Workbook&&(o=t.Workbook.Sheets[r].CodeName||o)}catch(nf){}s=!0,i.codeName=Ie(o)}s&&(a[a.length]=Ye("sheetPr",null,i))}(0,r,e,t,s),s[s.length]=Ye("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"),Ye("sheetViews",Ye("sheetView",null,a),{})}(0,0,0,r),t.sheetFormat&&(s[s.length]=Ye("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=[""],a=0;a!=t.length;++a)(r=t[a])&&(n[n.length]=Ye("col",null,co(a,r)));return n[n.length]="",n.join("")}(0,c["!cols"])),s[a=s.length]="",c["!links"]=[],null!=c["!ref"]&&(o=function(e,t,r,n){var a,s,i=[],o=[],c=tr(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]=Yt(d);for(u=c.s.r;u<=c.e.r;++u){for(o=[],f=Kt(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=Io(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=Ss(s.hpx):s.hpt&&(b=s.hpt),b>-1&&(g.ht=b,g.customHeight=1),s.level&&(g.outlineLevel=s.level)),i[i.length]=Ye("row",o.join(""),g))}if(p)for(;u-1&&(g.ht=b,g.customHeight=1),s.level&&(g.outlineLevel=s.level),i[i.length]=Ye("row","",g));return i.join("")}(c,t,0,0)).length>0&&(s[s.length]=o),s.length>a+1&&(s[s.length]="",s[a]=s[a].replace("/>",">")),null!=c["!protect"]&&(s[s.length]=function(e){var t={sheet:1};return ko.forEach((function(r){null!=e[r]&&e[r]&&(t[r]="1")})),Ao.forEach((function(r){null==e[r]||e[r]||(t[r]="0")})),e.password&&(t.password=is(e.password).toString(16).toUpperCase()),Ye("sheetProtection",null,t)}(c["!protect"])),null!=c["!autofilter"]&&(s[s.length]=function(e,t,r,n){var a="string"==typeof e.ref?e.ref:er(e.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var s=r.Workbook.Names,i=qt(a);i.s.r==i.e.r&&(i.e.r=qt(t["!ref"]).e.r,a=er(i));for(var o=0;o0&&(s[s.length]=function(e){if(0===e.length)return"";for(var t='',r=0;r!=e.length;++r)t+='';return t+""}(c["!merges"]));var u,d,p=-1,m=-1;return c["!links"].length>0&&(s[s.length]="",c["!links"].forEach((function(e){e[1].Target&&(u={ref:e[0]},"#"!=e[1].Target.charAt(0)&&(m=qr(n,-1,Ie(e[1].Target).replace(/#.*$/,""),Kr.HLINK),u["r:id"]="rId"+m),(p=e[1].Target.indexOf("#"))>-1&&(u.location=Ie(e[1].Target.slice(p+1))),e[1].Tooltip&&(u.tooltip=Ie(e[1].Tooltip)),s[s.length]=Ye("hyperlink",null,u))})),s[s.length]=""),delete c["!links"],null!=c["!margins"]&&(s[s.length]=(lo(d=c["!margins"]),Ye("pageMargins",null,d))),t&&!t.ignoreEC&&void 0!=t.ignoreEC||(s[s.length]=Ke("ignoredErrors",Ye("ignoredError",null,{numberStoredAsText:1,sqref:l}))),h.length>0&&(m=qr(n,-1,"../drawings/drawing"+(e+1)+".xml",Kr.DRAW),s[s.length]=Ye("drawing",null,{"r:id":"rId"+m}),c["!drawing"]=h),c["!comments"].length>0&&(m=qr(n,-1,"../drawings/vmlDrawing"+(e+1)+".vml",Kr.VML),s[s.length]=Ye("legacyDrawing",null,{"r:id":"rId"+m}),c["!legacy"]=m),s.length>1&&(s[s.length]="",s[1]=s[1].replace("/>",">")),s.join("")}function Fo(e,t,r,n){var a=function(e,t,r){var n=Lt(145),a=(r["!rows"]||[])[e]||{};n.write_shift(4,e),n.write_shift(4,0);var s=320;a.hpx?s=20*Ss(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.cn.l?n.slice(0,n.l):n}(n,r,t);(a.length>17||(t["!rows"]||[])[n])&&Wt(e,"BrtRowHdr",a)}var Do=kr,Oo=Ar;function Po(e,t,r){return null==r&&(r=Lt(12)),mr(t,r),function(e,t){null==t&&(t=Lt(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 No=kr,Mo=Ar,Lo=["left","right","top","bottom","header","footer"];function Uo(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=te(t)).z=t.z||y._table[14],t.v=K(q(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=fo(a.cellXfs,t,a),t.l&&s["!links"].push([Zt(o),t.l]),t.c&&s["!comments"].push([Zt(o),t.c]),t.t){case"s":case"str":return void(a.bookSST?(i=oo(a.Strings,t.v,a.revStrings),o.t="s",o.v=i,Wt(e,"BrtCellIsst",function(e,t,r){return null==r&&(r=Lt(12)),mr(t,r),r.write_shift(4,t.v),r}(0,o))):(o.t="str",Wt(e,"BrtCellSt",function(e,t,r){return null==r&&(r=Lt(12+4*e.v.length)),mr(t,r),lr(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?Wt(e,"BrtCellRk",Po(t,o)):Wt(e,"BrtCellReal",function(e,t,r){return null==r&&(r=Lt(16)),mr(t,r),Ir(e.v,r),r}(t,o)));case"b":return o.t="b",void Wt(e,"BrtCellBool",function(e,t,r){return null==r&&(r=Lt(9)),mr(t,r),r.write_shift(1,e.v?1:0),r}(t,o));case"e":o.t="e"}Wt(e,"BrtCellBlank",function(e,t,r){return null==r&&(r=Lt(8)),mr(t,r)}(0,o))}}function Ho(e,t){var r,n;t&&t["!merges"]&&(Wt(e,"BrtBeginMergeCells",(r=t["!merges"].length,null==n&&(n=Lt(4)),n.write_shift(4,r),n)),t["!merges"].forEach((function(t){Wt(e,"BrtMergeCell",Mo(t))})),Wt(e,"BrtEndMergeCells"))}function Wo(e,t){t&&t["!cols"]&&(Wt(e,"BrtBeginColInfos"),t["!cols"].forEach((function(t,r){t&&Wt(e,"BrtColInfo",function(e,t,r){null==r&&(r=Lt(18));var n=co(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))})),Wt(e,"BrtEndColInfos"))}function Vo(e,t){t&&t["!ref"]&&(Wt(e,"BrtBeginCellIgnoreECs"),Wt(e,"BrtCellIgnoreEC",function(e){var t=Lt(24);return t.write_shift(4,4),t.write_shift(4,1),Ar(e,t),t}(tr(t["!ref"]))),Wt(e,"BrtEndCellIgnoreECs"))}function Xo(e,t,r){t["!links"].forEach((function(t){if(t[1].Target){var n=qr(r,-1,t[1].Target.replace(/#.*$/,""),Kr.HLINK);Wt(e,"BrtHLink",function(e,t){var r=Lt(50+4*(e[1].Target.length+(e[1].Tooltip||"").length));Ar({s:Jt(e[0]),e:Jt(e[0])},r),Cr("rId"+t,r);var n=e[1].Target.indexOf("#");return lr((-1==n?"":e[1].Target.slice(n+1))||"",r),lr(e[1].Tooltip||"",r),lr("",r),r.slice(0,r.l)}(t,n))}})),delete t["!links"]}function Go(e,t,r){Wt(e,"BrtBeginWsViews"),Wt(e,"BrtBeginWsView",function(e,t,r){null==r&&(r=Lt(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)),Wt(e,"BrtEndWsView"),Wt(e,"BrtEndWsViews")}function zo(e,t){var r,n;t["!protect"]&&Wt(e,"BrtSheetProtection",(r=t["!protect"],null==n&&(n=Lt(66)),n.write_shift(2,r.password?is(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 jo(e,t,r,n){var a=Ht(),s=r.SheetNames[e],i=r.Sheets[s]||{},o=s;try{r&&r.Workbook&&(o=r.Workbook.Sheets[e].CodeName||o)}catch(nf){}var c,l,f=tr(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"]=[],Wt(a,"BrtBeginSheet"),r.vbaraw&&Wt(a,"BrtWsProp",function(e,t){null==t&&(t=Lt(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),br(e,t),t.slice(0,t.l)}(o)),Wt(a,"BrtWsDim",Oo(f)),Go(a,0,r.Workbook),Wo(a,i),function(e,t,r,n){var a,s=tr(t["!ref"]||"A1"),i="",o=[];Wt(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=Kt(f),Fo(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]=Yt(h)),a=o[h]+i;var u=c?(t[f]||[])[h]:t[a];u&&Uo(e,u,f,h,n,t)}Wt(e,"BrtEndSheetData")}(a,i,0,t),zo(a,i),function(e,t,r,n){if(t["!autofilter"]){var a=t["!autofilter"],s="string"===typeof a.ref?a.ref:er(a.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var i=r.Workbook.Names,o=qt(s);o.s.r==o.e.r&&(o.e.r=qt(t["!ref"]).e.r,s=er(o));for(var c=0;c0){var a=qr(n,-1,"../drawings/vmlDrawing"+(r+1)+".vml",Kr.VML);Wt(e,"BrtLegacyDrawing",Cr("rId"+a)),t["!legacy"]=a}}(a,i,e,n),Wt(a,"BrtEndSheet"),a.end()}function Ko(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(/[\s\S]*?<\/c:numCache>/gm)||[]).forEach((function(e){var t=function(e){var t,r=[],n=e.match(/^/);(e.match(/(.*?)<\/c:pt>/gm)||[]).forEach((function(e){var t=e.match(/(.*)<\/c:v><\/c:pt>/);t&&(r[+t[1]]=n?+t[2]:t[2])}));var a=ke((e.match(/([\s\S]*?)<\/c:formatCode>/)||["","General"])[1]);return(e.match(/(.*?)<\/c:f>/gm)||[]).forEach((function(e){t=e.replace(/<.*?>/g,"")})),[r,a,t]}(e);f.s.r=f.s.c=0,f.e.c=o,l=Yt(o),t[0].forEach((function(e,r){i[l+Kt(r)]={t:"n",v:e,z:t[1]},c=r})),f.e.r0&&(i["!ref"]=er(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",Ye("chartsheet",null,{xmlns:qe.main[0],"xmlns:r":qe.r});var $o=[["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"]],Yo=[["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"]],Qo=[],Jo=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function Zo(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]]=Oe(n[s[0]]));break;case"int":"string"==typeof n[s[0]]&&(n[s[0]]=parseInt(n[s[0]],10))}}}function qo(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]]=Oe(e[n[0]]));break;case"int":"string"==typeof e[n[0]]&&(e[n[0]]=parseInt(e[n[0]],10))}}}function ec(e){qo(e.WBProps,$o),qo(e.CalcPr,Jo),Zo(e.WBView,Yo),Zo(e.Sheets,Qo),so.date1904=Oe(e.WBProps.date1904)}var tc="][*?/\\".split("");function rc(e,t){if(e.length>31){if(t)return!1;throw new Error("Sheet names cannot exceed 31 chars")}var r=!0;return tc.forEach((function(n){if(-1!=e.indexOf(n)){if(!t)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");r=!1}})),r}function nc(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){rc(e);for(var s=0;s22)throw new Error("Bad Code Name: Worksheet"+i)}}));for(var s=0;s0,n={codeName:"ThisWorkbook"};e.Workbook&&e.Workbook.WBProps&&($o.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]=Ye("workbookPr",null,n);var a=e.Workbook&&e.Workbook.Sheets||[],s=0;for(t[t.length]="",s=0;s!=e.SheetNames.length;++s){var i={name:Ie(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]=Ye("sheet",null,i)}return t[t.length]="",r&&(t[t.length]="",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]=Ye("definedName",String(e.Ref).replace(//g,">"),r))})),t[t.length]=""),t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}function oc(e,t){if(t.Workbook&&t.Workbook.Sheets){for(var r,n,a=t.Workbook.Sheets,s=0,i=-1,o=-1;si))Wt(e,"BrtBeginBookViews"),Wt(e,"BrtBookView",(r=i,n||(n=Lt(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)),Wt(e,"BrtEndBookViews")}}function cc(e,r){var n=Ht();return Wt(n,"BrtBeginBook"),Wt(n,"BrtFileVersion",function(e,r){r||(r=Lt(127));for(var n=0;4!=n;++n)r.write_shift(4,0);return lr("SheetJS",r),lr(t.version,r),lr(t.version,r),lr("7262",r),r.length=r.l,r.length>r.l?r.slice(0,r.l):r}()),Wt(n,"BrtWbProp",function(e,t){t||(t=Lt(72));var r=0;return e&&e.filterPrivacy&&(r|=8),t.write_shift(4,r),t.write_shift(4,0),br(e&&e.CodeName||"ThisWorkbook",t),t.slice(0,t.l)}(e.Workbook&&e.Workbook.WBProps||null)),oc(n,e),function(e,t){Wt(e,"BrtBeginBundleShs");for(var r=0;r!=t.SheetNames.length;++r){var 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]};Wt(e,"BrtBundleSh",(a=n,(s=void 0)||(s=Lt(127)),s.write_shift(4,a.Hidden),s.write_shift(4,a.iTabID),Cr(a.strRelID,s),lr(a.name.slice(0,31),s),s.length>s.l?s.slice(0,s.l):s))}var a,s;Wt(e,"BrtEndBundleShs")}(n,e),Wt(n,"BrtEndBook"),n.end()}function lc(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=[],Ut(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=Vi(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),ec(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(ve,(function(o,c){var l=we(o);switch(Ce(l[0])){case"":break;case"":case"":case"":break;case"":$o.forEach((function(e){if(null!=l[e[0]])switch(e[2]){case"bool":r.WBProps[e[0]]=Oe(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=l.codeName);break;case"":case"":break;case"":case"":break;case"":delete l[0],r.WBView.push(l);break;case"":break;case"":case"":break;case"":break;case"":case"":case"":case"":break;case"":case"":n=!1;break;case"":s.Ref=ke(Pe(e.slice(i,c))),r.Names.push(s);break;case"":break;case"":delete l[0],r.CalcPr=l;break;case"":case"":case"":case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":break;case"":case"":case"":case"":case"":break;case"":n=!1;break;case"":n=!0;break;case"":n=!1;break;case"=O[0].s.r&&l.r<=O[0].e.r&&d>=O[0].s.c&&d<=O[0].e.c&&(f.F=er(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.rl.r&&(E.s.r=l.r),E.s.c>d&&(E.s.c=d),E.e.r=e.s;)R[e.e--]={width:e.w/256,hidden:!!(1&e.flags),level:e.level},D||(D=!0,vs(e.w/256)),Es(R[e.e+1]);break;case 161:v["!autofilter"]={ref:er(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 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 "+_+" "+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"]=er(c||E)),o.sheetRows&&v["!ref"]){var O=tr(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.rE.e.c&&(O.e.c=E.e.c),O.e.c0&&(v["!merges"]=B),R.length>0&&(v["!cols"]=R),F.length>0&&(v["!rows"]=F),v}(e,n,r,a,s,i,o):Bo(e,n,r,a,s,i,o)}function hc(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 Ut(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(wo);return o&&To(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 uc(e,t,r,n){return".bin"===t.slice(-4)?function(e,t,r){var n={NumberFmt:[]};for(var a in y._table)n.NumberFmt[a]=y._table[a];n.CellXf=[],n.Fonts=[];var s=[],i=!1;return Ut(e,(function(e,a,o){switch(o){case 44:n.NumberFmt[e[0]]=e[1],y.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=us(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):ks(e,r,n)}function dc(e,t,r){return".bin"===t.slice(-4)?function(e,t){var r=[],n=!1;return Ut(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(Ga);if(a){n=a[2].replace(za,"").split(ja);for(var s=0;s!=n.length;++s){var i=Xa(n[s].trim(),t);null!=i&&(r[r.length]=i)}a=we(a[1]),r.Count=a.count,r.Unique=a.uniqueCount}return r}(e,r)}function pc(e,t,r){return".bin"===t.slice(-4)?function(e,t){var r=[],n=[],a={},s=!1;return Ut(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=we(a[0]),i={author:s.authorId&&r[s.authorId]||"sheetjsghost",ref:s.ref,guid:s.guid},o=Jt(s.ref);if(!(t.sheetRows&&t.sheetRows<=o.r)){var c=e.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/),l=!!c&&!!c[1]&&Xa(c[1])||{r:"",t:"",h:""};i.r=l.r,""==l.r&&(l.t=l.h=""),i.t=l.t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),t.cellHTML&&(i.h=l.h),n.push(i)}}}})),n}(e,r)}function mc(e,t,r){return".bin"===t.slice(-4)?function(e,t,r){var n=[];return Ut(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(ve)||[]).forEach((function(e){var n=we(e);switch(n[0]){case"":case"":break;case"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 bc(e,t,r){return(".bin"===t.slice(-4)?cc:ic)(e,r)}function vc(e,t,r,n,a){return(".bin"===t.slice(-4)?jo:yo)(e,r,n,a)}function Ec(e,t,r){return(".bin"===t.slice(-4)?Qa:$a)(e,r)}function Sc(e,t,r){return(".bin"===t.slice(-4)?ri:ei)(e,r)}var wc=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g,Cc=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;function Bc(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(wc);if(o)for(i=0;i!=o.length;++i)-1===(s=(a=o[i].match(Cc))[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 Tc(e){var t={};if(1===e.split(/\s+/).length)return t;var r,n,a,s=e.match(wc);if(s)for(a=0;a!=s.length;++a)-1===(n=(r=s[a].match(Cc))[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 kc(e,t,r,n){var a=n;switch((r[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":a=Oe(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=q(n);break;case"i8":case"string":case"fixed":case"uuid":case"bin.base64":break;default:throw new Error("bad custprop:"+r[0])}e[ke(t)]=a}function Ac(e,t,r){if("z"!==e.t){if(!r||!1!==r.cellText)try{"e"===e.t?e.w=e.w||_r[e.v]:"General"===t?"n"===e.t?(0|e.v)===e.v?e.w=y._general_int(e.v):e.w=y._general_num(e.v):e.w=y._general(e.v):e.w=function(e,t){var r=O[e]||ke(e);return"General"===r?y._general(t):y.format(r,t)}(t||"General",e.v)}catch(nf){if(r.WTF)throw nf}try{var n=O[t]||t||"General";if(r.cellNF&&(e.z=n),r.cellDates&&"n"==e.t&&y.is_date(n)){var a=y.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(nf){if(r.WTF)throw nf}}}function xc(e,t,r){if(r.cellStyles&&t.Interior){var n=t.Interior;n.Pattern&&(n.patternType=Cs[n.Pattern]||n.Pattern)}e[t.ID]=t}function Ic(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=Oe(e);break;case"String":n.t="s",n.r=Fe(ke(e)),n.v=e.indexOf("<")>-1?ke(t||e):n.r;break;case"DateTime":"Z"!=e.slice(-1)&&(e+="Z"),n.v=(q(e)-new Date(Date.UTC(1899,11,30)))/864e5,n.v!==n.v?n.v=ke(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=Rr[e],!1!==l.cellText&&(n.w=e);break;default:n.t="s",n.v=Fe(t||e)}if(Ac(n,f,l),!1!==l.cellFormula)if(n.Formula){var m=ke(n.Formula);61==m.charCodeAt(0)&&(m=m.slice(1)),n.f=ai(m,a),delete n.Formula,"RC"==n.ArrayRange?n.F=ai("RC:RC",a):n.ArrayRange&&(n.F=ai(n.ArrayRange,a),c.push([tr(n.F),n.F]))}else for(p=0;p=c[p][0].s.r&&a.r<=c[p][0].e.r&&a.c>=c[p][0].s.c&&a.c<=c[p][0].e.c&&(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 _c(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 Rc(e){if(E&&a.isBuffer(e))return e.toString("utf8");if("string"===typeof e)return e;if("undefined"!==typeof Uint8Array&&e instanceof Uint8Array)return Pe(A(x(e)));throw new Error("Bad input format: expected Buffer or string")}var yc=/<(\/?)([^\s?>!\/:]*:|)([^\s?>:\/]+)[^>]*>/gm;function Fc(e,t){var r=t||{};F(y);var n=m(Rc(e));"binary"!=r.type&&"array"!=r.type&&"base64"!=r.type||(n="undefined"!==typeof cptable?cptable.utils.decode(65001,p(n)):Pe(n));var a,s=n.slice(0,1024).toLowerCase(),i=!1;if(-1==s.indexOf("=0&&(i=!0)})),i)return ll.to_workbook(n,r);var o,c=[];var l,f={},h=[],u=r.dense?[]:{},d="",g={},b={},v=Bc(''),E=0,S=0,w=0,C={s:{r:2e6,c:2e6},e:{r:0,c:0}},B={},T={},k="",A=0,x=[],I={},_={},R=0,D=[],P=[],N={},M=[],L=!1,U=[],H=[],W={},V=0,X=0,G={Sheets:[],WBProps:{date1904:!1}},z={};for(yc.lastIndex=0,n=n.replace(//gm,"");a=yc.exec(n);)switch(a[3]){case"Data":if(c[c.length-1][1])break;"/"===a[1]?Ic(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=Bc(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[Yt(S)+Kt(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 j=S;j<=V;++j)for(var K=w;K<=X;++K)(j>S||K>w)&&(r.dense?(u[K]||(u[K]=[]),u[K][j]={t:"z"}):u[Yt(j)+Kt(K)]={t:"z"});S=V+1}else++S;else g.MergeAcross?S=V+1:++S;else(g=Tc(a[0])).Index&&(S=+g.Index-1),SC.e.c&&(C.e.c=S),"/>"===a[0].slice(-2)&&++S,P=[];break;case"Row":"/"===a[1]||"/>"===a[0].slice(-2)?(wC.e.r&&(C.e.r=w),"/>"===a[0].slice(-2)&&(b=Bc(a[0])).Index&&(w=+b.Index-1),S=0,++w):((b=Bc(a[0])).Index&&(w=+b.Index-1),W={},("0"==b.AutoFitHeight||b.Height)&&(W.hpx=parseInt(b.Height,10),W.hpt=Ss(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"]=er(C),r.sheetRows&&r.sheetRows<=C.e.r&&(u["!fullref"]=u["!ref"],C.e.r=r.sheetRows-1,u["!ref"]=er(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=Bc(a[0]),d=ke(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;Bc(a[0]),c.push([a[3],!1]),M=[],L=!1}break;case"Style":"/"===a[1]?xc(B,T,r):T=Bc(a[0]);break;case"NumberFormat":T.nf=ke(Bc(a[0]).Format||"General"),O[T.nf]&&(T.nf=O[T.nf]);for(var $=0;392!=$&&y._table[$]!=T.nf;++$);if(392==$)for($=57;392!=$;++$)if(null==y._table[$]){y.load(T.nf,$);break}break;case"Column":if("Table"!==c[c.length-1][0])break;if((l=Bc(a[0])).Hidden&&(l.hidden=!0,delete l.Hidden),l.Width&&(l.wpx=parseInt(l.Width,10)),!L&&l.wpx>10){L=!0,ds=6;for(var Y=0;Y0&&(Z.Sheet=G.Sheets.length-1),G.Names.push(Z);break;case"NamedCell":case"B":case"I":case"U":case"S":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,a.index):A=a.index+a[0].length;break;case"Interior":if(!r.cellStyles)break;T.Interior=Bc(a[0]);break;case"Protection":break;case"Author":case"Title":case"Description":case"Created":case"Keywords":case"Subject":case"Category":case"Company":case"LastAuthor":case"LastSaved":case"LastPrinted":case"Version":case"Revision":case"TotalTime":case"HyperlinkBase":case"Manager":case"ContentStatus":case"Identifier":case"Language":case"AppName":if("/>"===a[0].slice(-2))break;"/"===a[1]?gn(I,a[3],n.slice(R,a.index)):R=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("|"));_c(N),P.push(N)}else c.push([a[3],!1]),N={a:(o=Bc(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 q=Bc(a[0]);u["!autofilter"]={ref:ai(q.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"ComponentOptions":case"DocumentProperties":case"CustomDocumentProperties":case"OfficeDocumentSettings":case"PivotTable":case"PivotCache":case"Names":case"MapInfo":case"PageBreaks":case"QueryTable":case"Sorting":case"Schema":case"data":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 pl(n,r);if(0==c.length&&"UOF"==a[3])return pl(n,r);var ee=!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"PixelsPerInch":case"TargetScreenSize":case"ReadOnlyRecommended":break;default:ee=!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:ee=!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:ee=!1}break;case"WorkbookOptions":switch(a[3]){case"OWCVersion":case"Height":case"Width":break;default:ee=!1}break;case"WorksheetOptions":switch(a[3]){case"Visible":if("/>"===a[0].slice(-2));else if("/"===a[1])switch(n.slice(R,a.index)){case"SheetHidden":z.Hidden=1;break;case"SheetVeryHidden":z.Hidden=2}else R=a.index+a[0].length;break;case"Header":u["!margins"]||lo(u["!margins"]={},"xlml"),u["!margins"].header=we(a[0]).Margin;break;case"Footer":u["!margins"]||lo(u["!margins"]={},"xlml"),u["!margins"].footer=we(a[0]).Margin;break;case"PageMargins":var re=we(a[0]);u["!margins"]||lo(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"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"ActiveRow":case"ActiveCol":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:ee=!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:ee=!1}break;case"PageBreaks":switch(a[3]){case"ColBreaks":case"ColBreak":case"RowBreaks":case"RowBreak":case"ColStart":case"ColEnd":case"RowEnd":break;default:ee=!1}break;case"AutoFilter":switch(a[3]){case"AutoFilterColumn":case"AutoFilterCondition":case"AutoFilterAnd":case"AutoFilterOr":break;default:ee=!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:ee=!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:ee=!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:ee=!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:ee=!1}break;case"SmartTags":break;default:ee=!1}if(ee)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]?kc(_,a[3],D,n.slice(R,a.index)):(D=a,R=a.index+a[0].length);break}if(r.WTF)throw"Unrecognized tag: "+a[3]+"|"+c.join("|")}var ne={};return r.bookSheets||r.bookProps||(ne.Sheets=f),ne.SheetNames=h,ne.Workbook=G,ne.SSF=y.get_table(),ne.Props=I,ne.Custprops=_,ne}function Dc(e,t){switch(_l(t=t||{}),t.type||"base64"){case"base64":return Fc(v.decode(e),t);case"binary":case"buffer":case"file":return Fc(e,t);case"array":return Fc(A(e),t)}}function Oc(e,t){var r=[];return e.Props&&r.push(function(e,t){var r=[];return W(pn).map((function(e){for(var t=0;t'+a.join("")+""}(e.Props,e.Custprops)),r.join("")}function Pc(e){return Ye("NamedRange",null,{"ss:Name":e.Name,"ss:RefersTo":"="+ii(e.Ref,{r:0,c:0})})}function Nc(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"]="="+Ie(ii(e.f,i))),e.F&&e.F.slice(0,t.length)==t){var c=Jt(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"]=Ie(e.l.Target),e.l.Tooltip&&(o["x:HRefScreenTip"]=Ie(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=_r[e.v];break;case"d":h="DateTime",u=new Date(e.v).toISOString(),null==e.z&&(e.z=e.z||y._table[14]);break;case"s":h="String",u=((e.v||"")+"").replace(Ae,(function(e){return Te[e]})).replace(Re,(function(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}))}var d=fo(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?"":''+p+"";return(e.c||[]).length>0&&(m+=e.c.map((function(e){var t=Ye("ss:Data",De(e.t||""),{xmlns:"http://www.w3.org/TR/REC-html40"});return Ye("Comment",t,{"ss:Author":e.a})})).join("")),Ye("Cell",m,o)}function Mc(e,t){var r='"}function Lc(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;i0&&n.push(""+i+""),(i=s?function(e,t,r,n){if(!e["!ref"])return"";var a=tr(e["!ref"]),s=e["!merges"]||[],i=0,o=[];e["!cols"]&&e["!cols"].forEach((function(e,t){Es(e);var r=!!e.width,n=co(t,e),a={"ss:Index":t+1};r&&(a["ss:Width"]=ps(n.width)),e.hidden&&(a["ss:Hidden"]="1"),o.push(Ye("Column",null,a))}));for(var c=Array.isArray(e),l=a.s.r;l<=a.e.r;++l){for(var f=[Mc(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"),f.length>2&&o.push(f.join(""))}return o.join("")}(s,t):"").length>0&&n.push(""+i+"
"),n.push(function(e,t,r,n){if(!e)return"";var a=[];if(e["!margins"]&&(a.push(""),e["!margins"].header&&a.push(Ye("Header",null,{"x:Margin":e["!margins"].header})),e["!margins"].footer&&a.push(Ye("Footer",null,{"x:Margin":e["!margins"].footer})),a.push(Ye("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("")),n&&n.Workbook&&n.Workbook.Sheets&&n.Workbook.Sheets[r])if(n.Workbook.Sheets[r].Hidden)a.push(Ye("Visible",1==n.Workbook.Sheets[r].Hidden?"SheetHidden":"SheetVeryHidden",{}));else{for(var s=0;s")}return((((n||{}).Workbook||{}).Views||[])[0]||{}).RTL&&a.push(""),e["!protect"]&&(a.push(Ke("ProtectContents","True")),e["!protect"].objects&&a.push(Ke("ProtectObjects","True")),e["!protect"].scenarios&&a.push(Ke("ProtectScenarios","True")),null==e["!protect"].selectLockedCells||e["!protect"].selectLockedCells?null==e["!protect"].selectUnlockedCells||e["!protect"].selectUnlockedCells||a.push(Ke("EnableSelection","UnlockedCells")):a.push(Ke("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?"":Ye("WorksheetOptions",a.join(""),{xmlns:tt})}(s,0,e,r)),n.join("")}function Uc(e,t){t||(t={}),e.SSF||(e.SSF=y.get_table()),e.SSF&&(F(y),y.load_table(e.SSF),t.revssf=G(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF,t.cellXfs=[],fo(t.cellXfs,{},{revssf:{General:0}}));var r=[];r.push(Oc(e,t)),r.push(""),r.push(""),r.push("");for(var n=0;n'];return t.cellXfs.forEach((function(e,t){var n=[];n.push(Ye("NumberFormat",null,{"ss:Format":Ie(y._table[e.numFmtId])})),r.push(Ye("Style",n.join(""),{"ss:ID":"s"+(21+t)}))})),Ye("Styles",r.join(""))}(0,t),r[3]=function(e){if(!((e||{}).Workbook||{}).Names)return"";for(var t=e.Workbook.Names,r=[],n=0;n40?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 Fr(e,2)}(r),0==(n=r.read_shift(4))||n>40?t:(r.l-=4,void(t.Reserved2=r.read_shift(0,"lpwstr")))))}function Wc(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=Zc[xt(t,t.l)],c=0;null!=o&&"Continue"===o.n.slice(0,8);)a=xt(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=Zc[xt(t,t.l)];var l=I(s);Nt(l,0);var f=0;l.lens=[];for(var h=0;h1)&&(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=hs(I(a.icvFore)))&&(t.s.fgColor={rgb:n}),(n=hs(I(a.icvBack)))&&(t.s.bgColor={rgb:n}))}(0,t,r),delete t.ixfe,delete t.XF,a=e,S=Zt(e),m&&m.s&&m.e||(m={s:{r:0,c:0},e:{r:0,c:0}}),e.rm.e.r&&(m.e.r=e.r+1),e.c+1>m.e.c&&(m.e.c=e.c+1),r.cellFormula&&t.f)for(var n=0;ne.c||C[n][0].s.r>e.r)&&!(C[n][0].e.c>8)!==K)throw new Error("rt mismatch: "+Q+"!="+K);12==Y.r&&(e.l+=10,$-=10)}var J={};J="EOF"===Y.n?Y.f(e,$,R):Wc(Y,e,$,R);var Z=Y.n;if(0==H&&"BOF"!=Z)continue;switch(Z){case"Date1904":r.opts.Date1904=A.WBProps.date1904=J;break;case"WriteProtect":r.opts.WriteProtect=!0;break;case"FilePass":if(R.enc||(e.l=0),R.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":R.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(R.codepage=q),z=!0;break;case"RRTabId":R.rrtabid=J;break;case"WinProtect":R.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":R.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:Vi(J.rgce,0,null,M,R)},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:er(J.rgce[0][0][1][2])});break;case"ExternCount":R.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(R.biff<8)break;null!=L&&(L.Comment=J[1]);break;case"Protect":d["!protect"]=J;break;case"Password":0!==J&&R.WTF&&console.error("Password verifier: "+J);break;case"Prot4Rev":case"Prot4RevPass":break;case"BoundSheet8":p[J.pos]=J,R.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"]=er(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"]=er(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),A.Sheets.push(x)}""===v?E=d:n[v]=d,d=t.dense?[]:{};break;case"BOF":if(8===R.biff&&(R.biff={9:2,521:3,1033:4}[K]||{512:2,768:3,1024:4,1280:5,1536:8,2:2,7:2}[J.BIFFVer]||8),8==R.biff&&0==J.BIFFVer&&16==J.dt&&(R.biff=2),H++)break;if(B=!0,d=t.dense?[]:{},R.biff<8&&!z&&(z=!0,u(R.codepage=t.codepage||1252)),R.biff<5){""===v&&(v="Sheet1"),m={s:{r:0,c:0},e:{r:0,c:0}};var te={pos:e.l-$,name:v};p[te.pos]=te,R.snames.push(v)}else v=(p[j]||{name:""}).name;32==J.dt&&(d["!type"]="chart"),64==J.dt&&(d["!type"]="macro"),F=[],D=[],R.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[Zt({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]),Vc(l,t,r.opts.Date1904),_({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]),Vc(l,t,r.opts.Date1904),_({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]),Vc(l,t,r.opts.Date1904),_({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]),Vc(l,t,r.opts.Date1904),_({c:re,r:J.r},l,t)}break;case"Formula":if("String"==J.val){g=J;break}if((l=Xc(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=Zt({r:se,c:ie});w[oe]?l.f=""+Vi(J.formula,0,J.cell,M,R):l.F=((t.dense?(d[se]||[])[ie]:d[oe])||{}).F}else l.f=""+Vi(J.formula,0,J.cell,M,R)}V>0&&(l.z=X[l.ixfe>>8&31]),Vc(l,t,r.opts.Date1904),_(J.cell,l,t),g=J;break;case"String":if(!g)throw new Error("String record expects Formula");g.val=J,(l=Xc(J,g.cell.ixfe,"s")).XF=T[l.ixfe],t.cellFormula&&(l.f=""+Vi(g.formula,0,g.cell,M,R)),V>0&&(l.z=X[l.ixfe>>8&31]),Vc(l,t,r.opts.Date1904),_(g.cell,l,t),g=null;break;case"Array":C.push(J);var ce=Zt(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=""+Vi(J[1],0,J[0],M,R),s.F=er(J[0])}break;case"ShrFmla":if(!B)break;if(!t.cellFormula)break;if(S){if(!g)break;w[Zt(g.cell)]=J[0],((s=t.dense?(d[g.cell.r]||[])[g.cell.c]:d[Zt(g.cell)])||{}).f=""+Vi(J[0],0,a,M,R)}break;case"LabelSst":l=Xc(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]),Vc(l,t,r.opts.Date1904),_({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]),Vc(l,t,r.opts.Date1904),_({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]),Vc(l,t,r.opts.Date1904),_({c:le,r:J.r},l,t)}break;case"RString":case"Label":case"BIFF2STR":(l=Xc(J.val,J.ixfe,"s")).XF=T[l.ixfe],V>0&&(l.z=X[l.ixfe>>8&31]),Vc(l,t,r.opts.Date1904),_({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==R.biff){X[V++]=J[1];for(var he=0;he=163&&y.load(J[1],V+163)}else y.load(J[1],J[0]);break;case"BIFF2FORMAT":X[V++]=J;for(var ue=0;ue=163&&y.load(J,V+163);break;case"MergeCells":F=F.concat(J);break;case"Obj":D[J.cmo[0]]=R.lastobj=J;break;case"TxO":R.lastobj.TxO=J;break;case"ImData":R.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[Zt({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[Zt({c:o,r:c})])&&s.l&&(s.l.Tooltip=J[1]);break;case"Note":if(R.biff<=5&&R.biff>=2)break;s=t.dense?(d[J[0].r]||[])[J[0].c]:d[Zt(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[Zt(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(!R.cellStyles)break;for(;J.e>=J.s;)O[J.e--]={width:J.w/256},N||(N=!0,vs(J.w/256)),Es(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=ws(J.hpt));break;case"LeftMargin":case"RightMargin":case"TopMargin":case"BottomMargin":d["!margins"]||lo(d["!margins"]={}),d["!margins"][Z.slice(0,-6).toLowerCase()]=J;break;case"Setup":d["!margins"]||lo(d["!margins"]={}),d["!margins"].header=J.header,d["!margins"].footer=J.footer;break;case"Window2":J.RTL&&(A.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:A.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+=$}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=y.get_table(),R.enc&&(r.Encryption=R.enc),h&&(r.Themes=h),r.Metadata={},void 0!==f&&(r.Metadata.Country=f),M.names.length>0&&(A.Names=M.names),r.Workbook=A,r}var zc="e0859ff2f94f6810ab9108002b27b3d9",jc="02d5cdd59c2e1b10939708002b2cf9ae",Kc="05d5cdd59c2e1b10939708002b2cf9ae";function $c(e,t){var r,n,a,s;if(t||(t={}),_l(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))}Nt(e,0),n={content:e}}if(r&&Hc(r),t.bookProps&&!t.bookSheets)a={};else{var i=E?"buffer":"array";if(n&&n.content)a=Gc(n.content,t);else if((s=L.find(e,"PerfectOffice_MAIN"))&&s.content)a=Ma.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=Ma.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=Dn(n,Or,jc);for(var s in a)t[s]=a[s]}catch(nf){if(r.WTF)throw nf}var i=L.find(e,"!SummaryInformation");if(i&&i.size>0)try{var o=Dn(i,Pr,zc);for(var c in o)null==t[c]&&(t[c]=o[c])}catch(nf){if(r.WTF)throw nf}t.HeadingPairs&&t.TitlesOfParts&&(ln(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 Yc(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,cl(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-1||null!=s[i][1]&&o.push(s[i]);a.length&&L.utils.cfb_add(t,"/\x05SummaryInformation",On(a,zc,Lr,Pr)),(n.length||o.length)&&L.utils.cfb_add(t,"/\x05DocumentSummaryInformation",On(n,jc,Mr,Or,o.length?o:null,Kc))}(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 Qc={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[pr(e)]}},2:{n:"BrtCellRk",f:function(e){return[pr(e),Br(e),"n"]}},3:{n:"BrtCellError",f:function(e){return[pr(e),e.read_shift(1),"e"]}},4:{n:"BrtCellBool",f:function(e){return[pr(e),e.read_shift(1),"b"]}},5:{n:"BrtCellReal",f:function(e){return[pr(e),xr(e),"n"]}},6:{n:"BrtCellSt",f:function(e){return[pr(e),cr(e),"str"]}},7:{n:"BrtCellIsst",f:function(e){return[pr(e),e.read_shift(4),"s"]}},8:{n:"BrtFmlaString",f:function(e,t,r){var n=e.l+t,a=pr(e);a.r=r["!row"];var s=[a,cr(e),"str"];if(r.cellFormula){e.l+=2;var i=Yi(e,n-e.l,r);s[3]=Vi(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=pr(e);a.r=r["!row"];var s=[a,xr(e),"n"];if(r.cellFormula){e.l+=2;var i=Yi(e,n-e.l,r);s[3]=Vi(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=pr(e);a.r=r["!row"];var s=[a,e.read_shift(1),"b"];if(r.cellFormula){e.l+=2;var i=Yi(e,n-e.l,r);s[3]=Vi(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=pr(e);a.r=r["!row"];var s=[a,e.read_shift(1),"e"];if(r.cellFormula){e.l+=2;var i=Yi(e,n-e.l,r);s[3]=Vi(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:hr},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=Sr(e),i=Qi(e,0,r),o=vr(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=Wr[n];c&&(t.rgb=hs(c));break;case 2:t.rgb=hs([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=cr(e),n}},44:{n:"BrtFmt",f:function(e,t){return[e.read_shift(2),cr(e)]}},45:{n:"BrtFill",f:ys},46:{n:"BrtBorder",f:Ps},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:Ia},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=Zt(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:Mt,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=gr(e,t-19),r}},148:{n:"BrtWsDim",f:Do,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?cr(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=wr(e,t-8),r.name=cr(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:kr},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:No},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:wr},357:{n:"BrtSupSelf"},358:{n:"BrtSupSame"},359:{n:"BrtSupTabs"},360:{n:"BrtBeginSupBook"},361:{n:"BrtPlaceholderName"},362:{n:"BrtExternSheet",f:Ba},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=Tr(e),s=e.read_shift(1),i=[a];if(i[2]=s,r.cellFormula){var o=$i(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=[kr(e,16)];if(r.cellFormula){var s=Ji(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 Lo.forEach((function(r){t[r]=xr(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=kr(e,16),a=vr(e),s=cr(e),i=cr(e),o=cr(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:wr},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:ti},633:{n:"BrtBeginCommentList"},634:{n:"BrtEndCommentList"},635:{n:"BrtBeginComment",f:function(e){var t={};t.iauthor=e.read_shift(4);var r=kr(e,16);return t.rfx=r.s,t.ref=Zt(r.s),e.l+=16,t}},636:{n:"BrtEndComment"},637:{n:"BrtCommentText",f:ur},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:cr(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:""}},Jc=V(Qc,"n"),Zc={3:{n:"BIFF2NUM",f:function(e){var t=Zn(e);++e.l;var r=xr(e);return t.t="n",t.val=r,t}},4:{n:"BIFF2STR",f:function(e,t,r){var n=Zn(e);++e.l;var a=zn(e,0,r);return n.t="str",n.val=a,n}},6:{n:"Formula",f:zi},9:{n:"BOF",f:la},10:{n:"EOF",f:Pn},12:{n:"CalcCount",f:Ln},13:{n:"CalcMode",f:Ln},14:{n:"CalcPrecision",f:Nn},15:{n:"CalcRefMode",f:Nn},16:{n:"CalcDelta",f:xr},17:{n:"CalcIter",f:Nn},18:{n:"Protect",f:Nn},19:{n:"Password",f:Ln},20:{n:"Header",f:Ea},21:{n:"Footer",f:Ea},23:{n:"ExternSheet",f:Ba},24:{n:"Lbl",f:Ca},25:{n:"WinProtect",f:Nn},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=zn(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:Nn},35:{n:"ExternName",f:Sa},36:{n:"COLWIDTH"},38:{n:"LeftMargin",f:xr},39:{n:"RightMargin",f:xr},40:{n:"TopMargin",f:xr},41:{n:"BottomMargin",f:xr},42:{n:"PrintRowCol",f:Nn},43:{n:"PrintGrid",f:Nn},47:{n:"FilePass",f:function(e,t,r){var n={Type:r.biff>=8?e.read_shift(2):0};return n.Type?ls(e,t-2,n):function(e,t,r,n){var a={key:Ln(e),verificationBytes:Ln(e)};r.password&&(a.verifier=is(r.password)),n.valid=a.verificationBytes===a.verifier,n.valid&&(n.insitu=cs(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=Wn(e,0,r),n}},51:{n:"PrintSize",f:Ln},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:Nn},65:{n:"Pane",f:function(){}},66:{n:"CodePage",f:Ln},77:{n:"Pls"},80:{n:"DCon"},81:{n:"DConRef"},82:{n:"DConName"},85:{n:"DefColWidth",f:Ln},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=zn(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((ka[n]||Mt)(e,t,r)),{cmo:[a,n,s],ft:i}}(e,t,r);var n=ia(e);return{cmo:n,ft:function(e,t){for(var r=e.l+t,n=[];e.l7||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:Ln},131:{n:"HCenter",f:Nn},132:{n:"VCenter",f:Nn},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=Wn(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]=Ur[t]||t,t=e.read_shift(2),r[1]=Ur[t]||t,r}},141:{n:"HideObj",f:Ln},144:{n:"Sort"},146:{n:"Palette",f:function(e){for(var t=e.read_shift(2),r=[];t-- >0;)r.push(Jn(e));return r}},151:{n:"Sync"},152:{n:"LPr"},153:{n:"DxGCol"},154:{n:"FnGroupName"},155:{n:"FilterMode"},156:{n:"BuiltInFnGroupCount",f:Ln},157:{n:"AutoFilterInfo"},158:{n:"AutoFilter"},160:{n:"Scl",f:Ra},161:{n:"Setup",f:function(e,t){var r={};return t<32||(e.l+=16,r.header=xr(e),r.footer=xr(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>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=Hr[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:Pn},227:{n:"SXVS"},229:{n:"MergeCells",f:function(e,t){for(var r=[],n=e.read_shift(2);n--;)r.push(ra(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.l255)throw new Error("Unexpected SupBook type: "+s);for(var i=Xn(e,s),o=[];n>e.l;)o.push(Gn(e));return[s,a,i,o]}},431:{n:"Prot4Rev",f:Nn},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),Ln(e);var o=e.read_shift(2);e.l+=o;for(var c=1;c=(l?i:2*i))break}if(a.length!==i&&a.length!==2*i)throw new Error("cchText: "+i+" != "+a.length);return e.l=n+t,{t:a}}catch(nf){return e.l=n+t,{t:a}}}},439:{n:"RefreshAll",f:Nn},440:{n:"HLink",f:function(e,t){var r=ra(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=$n(e,e.l)),128&a&&(i=$n(e,e.l)),257===(257&a)&&(o=$n(e,e.l)),1===(257&a)&&(c=Kn(e,e.l)),8&a&&(h=$n(e,e.l)),32&a&&(l=e.read_shift(16)),64&a&&(f=bn(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:Gn},443:{n:"SXFDBType"},444:{n:"Prot4RevPass",f:Ln},445:{n:"ObNoMacros"},446:{n:"Dv"},448:{n:"Excel9File",f:Pn},449:{n:"RecalcId",f:function(e){return e.read_shift(2),e.read_shift(4)},r:2},450:{n:"EntExU2",f:Pn},512:{n:"Dimensions",f:ma},513:{n:"Blank",f:_a},515:{n:"Number",f:function(e){var t=Zn(e),r=xr(e);return t.val=r,t}},516:{n:"Label",f:function(e,t,r){e.l;var n=Zn(e);2==r.biff&&e.l++;var a=Gn(e,e.l,r);return n.val=a,n}},517:{n:"BoolErr",f:ba},518:{n:"Formula",f:zi},519:{n:"String",f:ya},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:Ta},549:{n:"DefaultRowHeight",f:ua},566:{n:"Table"},574:{n:"Window2",f:function(e,t,r){return r&&r.biff>=2&&r.biff<8?{}:{RTL:64&e.read_shift(2)}}},638:{n:"RK",f:function(e){var t=e.read_shift(2),r=e.read_shift(2),n=ta(e);return{r:t,c:r,ixfe:n[0],rknum:n[1]}}},659:{n:"Style"},1030:{n:"Formula",f:zi},1048:{n:"BigName"},1054:{n:"Format",f:function(e,t,r){return[e.read_shift(2),zn(e,0,r)]}},1084:{n:"ContinueBigName"},1212:{n:"ShrFmla",f:function(e,t,r){var n=aa(e);e.l++;var a=e.read_shift(1);return[Gi(e,t-=8,r),a,n]}},2048:{n:"HLinkTooltip",f:function(e,t){e.read_shift(2);var r=ra(e),n=e.read_shift((t-10)/2,"dbcs-cont");return[r,n=n.replace(_,"")]}},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:la},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:Pn},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:Nn,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[Xn(e,n,r),Xn(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&&se){var a,s=e.slice(e.l);e.l=n;try{a=new se(s)}catch(nf){return}var i=ue(a,"theme/theme/theme1.xml",!0);if(i)return Ks(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:Pn},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:Ln},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(Jn(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:ma},2:{n:"BIFF2INT",f:function(e){var t=Zn(e);++e.l;var r=e.read_shift(2);return t.t="n",t.val=r,t}},5:{n:"BoolErr",f:ba},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:Ln},30:{n:"BIFF2FORMAT",f:pa},31:{n:"BIFF2FMTCNT"},32:{n:"BIFF2COLINFO"},33:{n:"Array",f:Ta},37:{n:"DefaultRowHeight",f:ua},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=Zn(e),s=e.read_shift(2),i=Xn(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:la},536:{n:"Lbl",f:Ca},547:{n:"ExternName",f:Sa},561:{n:"Font"},579:{n:"BIFF3XF"},1033:{n:"BOF",f:la},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:{}},qc=V(Zc,"n");function el(e,t,r,n){var a=+t||+qc[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&&kt(r)&&e.push(r)}}function tl(e,t,r){return e||(e=Lt(7)),e.write_shift(2,t),e.write_shift(2,r),e.write_shift(2,0),e.write_shift(1,0),e}function rl(e,t,r,n){if(null!=t.v)switch(t.t){case"d":case"n":var a="d"==t.t?K(q(t.v)):t.v;return void(a==(0|a)&&a>=0&&a<65536?el(e,2,function(e,t,r){var n=Lt(9);return tl(n,e,t),n.write_shift(2,r),n}(r,n,a)):el(e,3,function(e,t,r){var n=Lt(15);return tl(n,e,t),n.write_shift(8,r,"f"),n}(r,n,a)));case"b":case"e":return void el(e,5,function(e,t,r,n){var a=Lt(9);return tl(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 el(e,4,function(e,t,r){var n=Lt(8+2*r.length);return tl(n,e,t),n.write_shift(1,r.length),n.write_shift(r.length,r,"sbcs"),n.l255||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=er(i)}for(var l=i.s.r;l<=i.e.r;++l){o=Kt(l);for(var f=i.s.c;f<=i.e.c;++f){l===i.s.r&&(c[f]=Yt(f)),a=c[f]+o;var h=s?(t[l]||[])[f]:t[a];h&&rl(e,h,l,f)}}}(n,e.Sheets[e.SheetNames[a]],0,r),el(n,10),n.end()}function al(e,t,r){el(e,"Font",function(e,t){var r=e.name||"Arial",n=t&&5==t.biff,a=Lt(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 sl(e,t,r,n,a){var s=16+fo(a.cellXfs,t,a);if(null!=t.v||t.bf)if(t.bf)el(e,"Formula",ji(t,r,n,0,s));else switch(t.t){case"d":case"n":el(e,"Number",function(e,t,r,n){var a=Lt(14);return qn(e,t,n,a),Ir(r,a),a}(r,n,"d"==t.t?K(q(t.v)):t.v,s));break;case"b":case"e":el(e,517,va(r,n,t.v,s,0,t.t));break;case"s":case"str":el(e,"Label",function(e,t,r,n,a){var s=!a||8==a.biff,i=Lt(+s+8+(1+s)*r.length);return qn(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:el(e,"Blank",qn(r,n,s))}else el(e,"Blank",qn(r,n,s))}function il(e,t,r){var n,a=Ht(),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=tr(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)}el(a,2057,fa(0,16,t)),el(a,"CalcMode",Un(1)),el(a,"CalcCount",Un(100)),el(a,"CalcRefMode",Mn(!0)),el(a,"CalcIter",Mn(!1)),el(a,"CalcDelta",Ir(.001)),el(a,"CalcSaveRecalc",Mn(!0)),el(a,"PrintRowCol",Mn(!1)),el(a,"PrintGrid",Mn(!1)),el(a,"GridSet",Un(1)),el(a,"Guts",function(e){var t=Lt(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])),el(a,"HCenter",Mn(!1)),el(a,"VCenter",Mn(!1)),el(a,512,function(e,t){var r=8!=t.biff&&t.biff?2:4,n=Lt(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=Kt(m);for(var g=d.s.c;g<=d.e.c;++g){m===d.s.r&&(u[g]=Yt(g)),n=u[g]+h;var b=l?(i[m]||[])[g]:i[n];b&&(sl(a,b,m,g,t),f&&b.l&&i["!links"].push([n,b.l]))}}var v=c.CodeName||c.name||s;return f&&o.Views&&el(a,"Window2",function(e){var t=Lt(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&&el(a,"MergeCells",function(e){var t=Lt(2+8*e.length);t.write_shift(2,e.length);for(var r=0;r/g,"")).match(/");var s=e.match(/<\/table/i),i=a.index,o=s&&s.index||e.length,c=function(e,t,r){if(ie||"string"==typeof t)return e.split(t);for(var n=e.split(t),a=[n[0]],s=1;s]*>)/i,""),l=-1,f=0,h=0,u=0,d={s:{r:1e7,c:1e7},e:{r:0,c:0}},p=[];for(i=0;i/i);for(o=0;o"))>-1;)E=E.slice(S+1);for(var w=0;w")));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=We(E),d.s.r>l&&(d.s.r=l),d.e.rf&&(d.s.c=f),d.e.cr||a[l].s.c>i)&&!(a[l].e.r1&&(d.rowspan=o),c>1&&(d.colspan=c),d.t=h&&h.t||"z",n.editable&&(u=''+u+""),d.id=(n.id||"sjs")+"-"+f,s.push(Ye("td",u,d))}}return""+s.join("")+""}function r(e,t,r){return[].join("")+""}var n='SheetJS Table Export',a="";return{to_workbook:function(t,r){return ar(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=qt(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("
"+c),l.join("")}}}();function fl(e,t){var r=t||{};for(var n=r.dense?[]:{},a=e.getElementsByTagName("tr"),s=r.sheetRows||1e7,i={s:{r:0,c:0},e:{r:0,c:0}},o=[],c=0,l=[],f=0,h=0,u=0,d=0,p=0,m=0;f0||m>1)&&o.push({s:{r:h,c:d},e:{r:h+(p||1)-1,c:d+m-1}});var w={t:"s",v:E},C=v.getAttribute("t")||"";null!=E&&(0==E.length?w.t=C||"z":r.raw||0==E.trim().length||"s"==C||("TRUE"===E?w={t:"b",v:!0}:"FALSE"===E?w={t:"b",v:!1}:isNaN(ne(E))?isNaN(ae(E).getDate())||(w={t:"d",v:q(E)},r.cellDates||(w={t:"n",v:K(w.v)}),w.z=r.dateNF||y._table[14]):w={t:"n",v:ne(E)})),r.dense?(n[h]||(n[h]=[]),n[h][d]=w):n[Zt({c:d,r:h})]=w,i.e.c=s&&(n["!fullref"]=er((i.e.r=a.length-f+h-1,i))),n}function hl(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 ul=function(){var e=function(e){var t=e.replace(/[\t\r\n]/g," ").trim().replace(/ +/g," ").replace(//g," ").replace(//g,(function(e,t){return Array(parseInt(t,10)+1).join(" ")})).replace(/]*\/>/g,"\t").replace(//g,"\n");return[ke(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=Rc(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}},A=0,x={},I=[],_={},R=[],y=1,F=1,D=[],O={Names:[]},P={},N=["",""],M=[],L={},U="",H=0,W=!1,V=!1,X=0;for(yc.lastIndex=0,h=h.replace(//gm,"").replace(//gm,"");l=yc.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"]=er(k)),a.sheetRows>0&&a.sheetRows<=k.e.r&&(v["!fullref"]=v["!ref"],k.e.r=a.sheetRows-1,v["!ref"]=er(k)),I.length&&(v["!merges"]=I),R.length&&(v["!rows"]=R),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=we(l[0],!1),B=T=-1,k.s.r=k.s.c=1e7,k.e.r=k.e.c=0,v=a.dense?[]:{},I=[],R=[],V=!0);break;case"table-row-group":"/"===l[1]?--A:++A;break;case"table-row":case"\u884c":if("/"===l[1]){B+=y,y=1;break}if((c=we(l[0],!1))["\u884c\u53f7"]?B=c["\u884c\u53f7"]-1:-1==B&&(B=0),(y=+c["number-rows-repeated"]||1)<10)for(X=0;X0&&(R[B+X]={level:A});T=-1;break;case"covered-table-cell":"/"!==l[1]&&++T,a.sheetStubs&&(a.dense?(v[B]||(v[B]=[]),v[B][T]={t:"z"}):v[Zt({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=we(l[0],!1),F=parseInt(E["number-columns-repeated"]||"1",10),f={t:"z",v:null},E.formula&&0!=a.cellFormula&&(f.f=ro(ke(E.formula))),"string"==(E["\u6570\u636e\u7c7b\u578b"]||E["value-type"])&&(f.t="s",f.v=ke(E["string-value"]||""),a.dense?(v[B]||(v[B]=[]),v[B][T]=f):v[Zt({r:B,c:T})]=f),T+=F-1;else if("/"!==l[1]){F=1;var G=y?B+y-1:B;if(++T>k.e.c&&(k.e.c=T),Tk.e.r&&(k.e.r=G),M=[],L={},f={t:(E=we(l[0],!1))["\u6570\u636e\u7c7b\u578b"]||E["value-type"],v:null},a.cellFormula)if(E.formula&&(E.formula=ke(E.formula)),E["number-matrix-columns-spanned"]&&E["number-matrix-rows-spanned"]&&(_={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=er(_),D.push([_,f.F])),E.formula)f.f=ro(E.formula);else for(X=0;X=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"])&&(_={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}},I.push(_)),E["number-columns-repeated"]&&(F=parseInt(E["number-columns-repeated"],10)),f.t){case"boolean":f.t="b",f.v=Oe(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=q(E["date-value"]),a.cellDates||(f.t="n",f.v=K(f.v)),f.z="m/d/yy";break;case"time":f.t="n",f.v=Q(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=ke(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||a.sheetStubs)&&!(a.sheetRows&&a.sheetRows<=B))for(var z=0;z0;)v[B+z][T+F]=te(f);else for(v[Zt({r:B+z,c:T})]=f;--F>0;)v[Zt({r:B+z,c:T+F})]=te(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":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=we(l[0],!1),u.push([l[3],!0]));break;case"script":case"libraries":case"automatic-styles":case"master-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=we(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=we(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=no((i=we(l[0],!1))["cell-range-address"]);var j={Name:i.name,Ref:N[0]+"!"+N[1]};V&&(j.Sheet=b.length),O.Names.push(j);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("/"!==l[1]||E&&E["string-value"])we(l[0],!1),w=l.index+l[0].length;else{var $=e(h.slice(w,l.index));S=(S.length>0?S+"\n":"")+$[0]}break;case"s":break;case"database-range":if("/"===l[1])break;try{g[(N=no(we(l[0])["target-range-address"]))[0]]["!autofilter"]={ref:N[1]}}catch(nf){}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=we(l[0],!1)).href)break;P.Target=P.href,delete P.href,"#"==P.Target.charAt(0)&&P.Target.indexOf(".")>-1&&(N=no(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 dl(e,t){t=t||{};var r=!!le(e,"objectdata");r&&function(e,t){for(var r,n,a=Rc(e);r=yc.exec(a);)switch(r[3]){case"manifest":break;case"file-entry":if("/"==(n=we(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}}(he(e,"META-INF/manifest.xml"),t);var n=ue(e,"content.xml");if(!n)throw new Error("Missing content.xml in "+(r?"ODS":"UOF")+" file");var a=ul(r?n:Pe(n),t);return le(e,"meta.xml")&&(a.Props=an(he(e,"meta.xml"))),a}function pl(e,t){return ul(e,t)}var ml=function(){var e="";return function(){return ge+e}}(),gl=function(){var e=" \n",t=function(t,r,n){var a=[];a.push(' \n');var s=0,i=0,o=qt(t["!ref"]),c=t["!merges"]||[],l=0,f=Array.isArray(t);for(s=0;s\n");for(;s<=o.e.r;++s){for(a.push(" \n"),i=0;ii)&&!(c[l].s.r>s)&&!(c[l].e.c\n");else{var p=Zt({r:s,c:i}),m=f?(t[s]||[])[i]:t[p];if(m&&m.f&&(u["table:formula"]=Ie(("of:="+m.f.replace(si,"$1[.$2$3$4$5]").replace(/\]:\[/g,":")).replace(/;/g,"|").replace(/,/g,";")),m.F&&m.F.slice(0,p.length)==p)){var g=qt(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=m.v,u["office:value-type"]="string";break;case"d":d=m.w||q(m.v).toISOString(),u["office:value-type"]="date",u["office:date-value"]=q(m.v).toISOString(),u["table:style-name"]="ce1";break;default:a.push(e);continue}var b=Ie(d).replace(/ +/g,(function(e){return''})).replace(/\t/g,"").replace(/\n/g,"").replace(/^ /,"").replace(/ $/,"");if(m.l&&m.l.Target){var v=m.l.Target;b=Ye("text:a",b,{"xlink:href":v="#"==v.charAt(0)?"#"+v.slice(1).replace(/\./,"!"):v})}a.push(" "+Ye("table:table-cell",Ye("text:p",b,{}),u)+"\n")}else a.push(e)}}a.push(" \n")}return a.push(" \n"),a.join("")};return function(e,r){var n=[ge],a=$e({"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=$e({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});"fods"==r.bookType?n.push("\n"):n.push("\n"),function(e){e.push(" \n"),e.push(' \n'),e.push(' \n'),e.push(" /\n"),e.push(' \n'),e.push(" /\n"),e.push(" \n"),e.push(" \n"),e.push(' \n'),e.push(" \n")}(n),n.push(" \n"),n.push(" \n");for(var i=0;i!=e.SheetNames.length;++i)n.push(t(e.Sheets[e.SheetNames[i]],e,i));return n.push(" \n"),n.push(" \n"),"fods"==r.bookType?n.push(""):n.push(""),n.join("")}}();function bl(e,t){if("fods"==t.bookType)return gl(e,t);var r=pe(),n="",a=[],s=[];return de(r,n="mimetype","application/vnd.oasis.opendocument.spreadsheet"),de(r,n="content.xml",gl(e,t)),a.push([n,"text/xml"]),s.push([n,"ContentFile"]),de(r,n="styles.xml",ml(e,t)),a.push([n,"text/xml"]),s.push([n,"StylesFile"]),de(r,n="meta.xml",tn()),a.push([n,"text/xml"]),s.push([n,"MetadataFile"]),de(r,n="manifest.rdf",function(e){var t,r,n=[ge];n.push('\n');for(var a=0;a!=e.length;++a)n.push(en(e[a][0],e[a][1])),n.push((t="",r=e[a][0],[' \n',' \n'," \n"].join("")));return n.push(en("","Document","pkg")),n.push(""),n.join("")}(s)),a.push([n,"application/rdf+xml"]),de(r,n="META-INF/manifest.xml",function(e){var t=[ge];t.push('\n'),t.push(' \n');for(var r=0;r\n');return t.push(""),t.join("")}(a)),r}function vl(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 El=vl(ll),Sl=vl({from_sheet:Zl}),wl=vl("undefined"!==typeof Da?Da:{}),Cl=vl("undefined"!==typeof Oa?Oa:{}),Bl=vl("undefined"!==typeof Na?Na:{}),Tl=vl("undefined"!==typeof fs?fs:{}),kl=vl({from_sheet:ql}),Al=vl("undefined"!==typeof Fa?Fa:{}),xl=vl("undefined"!==typeof Pa?Pa:{});function Il(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 _l=Il([["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]]),Rl=Il([["cellDates",!1],["bookSST",!1],["bookType","xlsx"],["compression",!1],["WTF",!1]]);function yl(e,t,r,n,a,s,i,o,c,l,f,h){try{s[n]=Yr(ue(e,r,!0),t);var u,d=he(e,t);switch(o){case"sheet":u=fc(d,t,a,c,s[n],l,f,h);break;case"chart":if(!(u=hc(d,t,a,c,s[n],l))||!u["!drawel"])break;var p=me(u["!drawel"].Target,t),m=$r(p),g=me(function(e,t){if(!e)return"??";var r=(e.match(/]*r:id="([^"]*)"/)||["",""])[1];return t["!id"][r].Target}(ue(e,p,!0),Yr(ue(e,m,!0),p)),p),b=$r(g);u=Ko(ue(e,g,!0),0,0,Yr(ue(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=me(s[n][r].Target,t);if(!(v=pc(he(e,a,!0),a,c))||!v.length)return;!function(e,t){var r,n=Array.isArray(e);t.forEach((function(t){var a=Jt(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=tr(e["!ref"]||"BDWGO1000001:A1");s.s.r>a.r&&(s.s.r=a.r),s.e.ra.c&&(s.s.c=a.c),s.e.c0?t.calcchains[0]:"",t.sst=t.strs.length>0?t.strs[0]:"",t.style=t.styles.length>0?t.styles[0]:"",t.defaults=r,delete t.calcchains,t}(ue(e,"[Content_Types].xml")),i=!1;if(0===s.workbooks.length&&he(e,n="xl/workbook.xml",!0)&&s.workbooks.push(n),0===s.workbooks.length){if(!he(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(ao=[],s.sst)try{ao=dc(he(e,Fl(s.sst)),s.sst,t)}catch(nf){if(t.WTF)throw nf}t.cellStyles&&s.themes.length&&(o=function(e,t,r){return Ks(e,r)}(ue(e,s.themes[0].replace(/^\//,""),!0)||"",s.themes[0],t)),s.style&&(c=uc(he(e,Fl(s.style)),s.style,o,t))}s.links.map((function(r){try{Yr(ue(e,$r(Fl(r))),r);return gc(he(e,Fl(r)),0,r,t)}catch(nf){}}));var l=lc(he(e,Fl(s.workbooks[0])),s.workbooks[0],t),f={},h="";s.coreprops.length&&((h=he(e,Fl(s.coreprops[0]),!0))&&(f=an(h)),0!==s.extprops.length&&(h=he(e,Fl(s.extprops[0]),!0))&&function(e,t,r){var n={};t||(t={}),e=Pe(e),cn.forEach((function(r){var a=(e.match(He(r[0]))||[])[1];switch(r[2]){case"string":t[r[1]]=ke(a||"");break;case"bool":t[r[1]]="true"===a;break;case"raw":var s=e.match(new RegExp("<"+r[0]+"[^>]*>([\\s\\S]*?)"));s&&s.length>0&&(n[r[1]]=s[1])}})),n.HeadingPairs&&n.TitlesOfParts&&ln(n.HeadingPairs,n.TitlesOfParts,t,r)}(h,f,t));var u={};t.bookSheets&&!t.bookProps||0!==s.custprops.length&&(h=ue(e,Fl(s.custprops[0]),!0))&&(u=function(e,t){var r={},n="",a=e.match(hn);if(a)for(var s=0;s!=a.length;++s){var i=a[s],o=we(i);switch(o[0]){case"":n=null;break;default:if(0===i.indexOf(""),l=c[0].slice(4),f=c[1];switch(l){case"lpstr":case"bstr":case"lpwstr":r[n]=ke(f);break;case"bool":r[n]=Oe(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]=q(f);break;case"cy":case"error":r[n]=ke(f);break;default:if("/"==l.slice(-1))break;t.WTF&&"undefined"!==typeof console&&console.warn("Unexpected",i,l,c)}}else if("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=mc(he(e,Fl(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(/^\//,"");le(e,B)||(B="xl/_rels/workbook."+w+".rels");var T=Yr(ue(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(nf){return null}return e&&0!==e.length?e:null}(T,l.Sheets));var k=he(e,"xl/worksheets/sheet.xml",!0)?1:0;e:for(b=0;b!=f.Worksheets;++b){var A="sheet";if(T&&T[b]?(m="xl/"+T[b][1].replace(/[\/]?xl\//,""),le(e,m)||(m=T[b][1]),le(e,m)||(m=B.replace(/_rels\/.*$/,"")+T[b][1]),A=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,I=0;I!=t.sheets.length;++I)"number"==typeof t.sheets[I]&&t.sheets[I]==b&&(x=1),"string"==typeof t.sheets[I]&&t.sheets[I].toLowerCase()==f.SheetNames[b].toLowerCase()&&(x=1);if(!x)continue e}}yl(e,m,g,f.SheetNames[b],b,v,r,A,t,l,o,c)}return d={Directory:s,Workbook:l,Props:f,Custprops:u,Deps:p,Sheets:r,SheetNames:f.SheetNames,Strings:ao,Styles:c,Themes:o,SSF:y.get_table()},t&&t.bookFiles&&(d.keys=a,d.files=e.files),t&&t.bookVBA&&(s.vba.length>0?d.vbaraw=he(e,Fl(s.vba[0]),!0):s.defaults&&"application/vnd.ms-office.vbaProject"===s.defaults.bin&&(d.vbaraw=he(e,"xl/vbaProject.bin",!0))),d}function Ol(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=Za(e,4),t.U=Za(e,4),t.W=Za(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(qa(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);es(a.content)}catch(nf){}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=Za(e);switch(t.Minor){case 2:return[t.Minor,ns(e)];case 3:return[t.Minor,as()];case 4:return[t.Minor,ss(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 Pl(e,t){if(Js=1024,"ods"==t.bookType)return bl(e,t);e&&!e.SSF&&(e.SSF=y.get_table()),e&&e.SSF&&(F(y),y.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,io?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var r="xlsb"==t.bookType?"bin":"xml",n=ni.indexOf(t.bookType)>-1,a={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],TODO:[],xmlns:""};Rl(t=t||{});var s=pe(),i="",o=0;if(t.cellXfs=[],fo(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),de(s,i="docProps/core.xml",function(e,t){var r=t||{},n=[ge,sn],a={};if(!e&&!r.Props)return n.join("");e&&(null!=e.CreatedDate&&on("dcterms:created","string"===typeof e.CreatedDate?e.CreatedDate:Qe(e.CreatedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},n,a),null!=e.ModifiedDate&&on("dcterms:modified","string"===typeof e.ModifiedDate?e.ModifiedDate:Qe(e.ModifiedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},n,a));for(var s=0;s!=rn.length;++s){var i=rn[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&&on(i[0],o,null,n,a)}return n.length>2&&(n[n.length]="",n[1]=n[1].replace("/>",">")),n.join("")}(e.Props,t)),a.coreprops.push(i),qr(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;lWorksheets")+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""+Ie(e)+""})).join(""),{size:e.Worksheets,baseType:"lpstr"})),t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}(e.Props)),a.extprops.push(i),qr(t.rels,3,i,Kr.EXT_PROPS),e.Custprops!==e.Props&&W(e.Custprops||{}).length>0&&(de(s,i="docProps/custom.xml",dn(e.Custprops)),a.custprops.push(i),qr(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:de(s,i="xl/worksheets/sheet"+o+"."+r,vc(o-1,i,t,e,f)),a.sheets.push(i),qr(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;de(s,p,Sc(u,p,t)),a.comments.push(p),qr(f,-1,"../comments"+o+"."+r,Kr.CMNT),d=!0}h["!legacy"]&&d&&de(s,"xl/drawings/vmlDrawing"+o+".vml",Zs(o,h["!comments"])),delete h["!comments"],delete h["!legacy"]}f["!id"].rId1&&de(s,$r(i),Jr(f))}return null!=t.Strings&&t.Strings.length>0&&(de(s,i="xl/sharedStrings."+r,Ec(t.Strings,i,t)),a.strs.push(i),qr(t.wbrels,-1,"sharedStrings."+r,Kr.SST)),de(s,i="xl/workbook."+r,bc(e,i,t)),a.workbooks.push(i),qr(t.rels,1,i,Kr.WB),de(s,i="xl/theme/theme1.xml",$s(e.Themes,t)),a.themes.push(i),qr(t.wbrels,-1,"theme/theme1.xml",Kr.THEME),de(s,i="xl/styles."+r,function(e,t,r){return(".bin"===t.slice(-4)?Us:xs)(e,r)}(e,i,t)),a.styles.push(i),qr(t.wbrels,-1,"styles."+r,Kr.STY),e.vbaraw&&n&&(de(s,i="xl/vbaProject.bin",e.vbaraw),a.vba.push(i),qr(t.wbrels,-1,"vbaProject.bin",Kr.VBA)),de(s,"[Content_Types].xml",function(e,t){var r,n=[];n[n.length]=ge,n[n.length]=zr,n=n.concat(jr);var a=function(a){e[a]&&e[a].length>0&&(r=e[a][0],n[n.length]=Ye("Override",null,{PartName:("/"==r[0]?"":"/")+r,ContentType:Xr[a][t.bookType||"xlsx"]}))},s=function(r){(e[r]||[]).forEach((function(e){n[n.length]=Ye("Override",null,{PartName:("/"==e[0]?"":"/")+e,ContentType:Xr[r][t.bookType||"xlsx"]})}))},i=function(t){(e[t]||[]).forEach((function(e){n[n.length]=Ye("Override",null,{PartName:("/"==e[0]?"":"/")+e,ContentType:Gr[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]="",n[1]=n[1].replace("/>",">")),n.join("")}(a,t)),de(s,"_rels/.rels",Jr(t.rels)),de(s,"xl/_rels/workbook."+r+".rels",Jr(t.wbrels)),delete t.revssf,delete t.ssf,s}function Nl(e,t){var r="";switch((t||{}).type||"base64"){case"buffer":return[e[0],e[1],e[2],e[3]];case"base64":r=v.decode(e.slice(0,24));break;case"binary":r=e;break;case"array":return[e[0],e[1],e[2],e[3]];default:throw new Error("Unrecognized type "+(t&&t.type||"undefined"))}return[r.charCodeAt(0),r.charCodeAt(1),r.charCodeAt(2),r.charCodeAt(3)]}function Ml(e,t){var r=e,n=t||{};return n.type||(n.type=E&&a.isBuffer(e)?"buffer":"base64"),Dl(function(e,t){var r;if(se)switch(t.type){case"base64":r=new se(e,{base64:!0});break;case"binary":case"array":r=new se(e,{base64:!1});break;case"buffer":r=new se(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 Ll(e,t){var r=0;e:for(;r=2&&0===r[3])return Ma.to_workbook(n,i);break;case 3:case 131:case 139:case 140:return Fa.to_workbook(n,i);case 123:if(92===r[1]&&114===r[2]&&116===r[3])return fs.to_workbook(n,i);break;case 10:case 13:case 32:return function(e,t){var r="",n=Nl(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=ee(e);break;default:throw new Error("Unrecognized type "+t.type)}return 239==n[0]&&187==n[1]&&191==n[2]&&(r=Pe(r)),Ll(r,t)}(n,i)}return r[2]<=12&&r[3]<=31?Fa.to_workbook(n,i):Ul(e,n,i,s)}function Wl(e,t){var r=t||{};return r.type="file",Hl(e,r)}function Vl(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 Xl(e,t,r){r||(r="");var n=r+e;switch(t.type){case"base64":return v.encode(Ne(n));case"binary":return Ne(n);case"string":return e;case"file":return H(t.file,n,"utf8");case"buffer":return E?S(n,"utf8"):Xl(n,{type:"binary"}).split("").map((function(e){return e.charCodeAt(0)}))}throw new Error("Unrecognized type "+t.type)}function Gl(e,t){switch(t.type){case"string":case"base64":case"binary":for(var r="",n=0;n0&&(a=0);var h=Kt(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]=Yt(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=nr(r,null,l),m=0,E=0;E=0&&(f='"'+f.replace(Ql,'""')+'"'));l.push(f)}return!1===o.blankrows&&c?null:l.join(i)}function Zl(e,t){var r=[],n=null==t?{}:t;if(null==e||null==e["!ref"])return"";var a=tr(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]=Yt(p));for(var m=a.s.r;m<=a.e.r;++m)(d[m]||{}).hidden||null!=(f=Jl(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 ql(e,t){t||(t={}),t.FS="\t",t.RS="\n";var r=Zl(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 ef(e){var t,r="",n="";if(null==e||null==e["!ref"])return[];var a,s=tr(e["!ref"]),i="",o=[],c=[],l=Array.isArray(e);for(a=s.s.c;a<=s.e.c;++a)o[a]=Yt(a);for(var f=s.s.r;f<=s.e.r;++f)for(i=Kt(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 tf(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?Jt(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=tr(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=f.e.r+1,f.e.r=o+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=Zt({c:c+d,r:o+t+s});n=rf.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=K(l)),h=a.dateNF||y._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=Kt(o);if(s)for(d=0;d=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:tr(t),s="string"==typeof t?t:er(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}}(rf),E&&function(){var e=r(17).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=tr(u);break;case"number":(f=tr(t["!ref"])).s.r=u;break;default:f=u}s>0&&(i=0);var d=Kt(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]=Yt(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=nr(a,null,h),m=0,E=0;Ef.e.r)return n.push(null);for(;b<=f.e.r;){var e=$l(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:ll.BEGIN,i=null!=a.footer?a.footer:ll.END;n.push(s);var o=qt(t["!ref"]);a.dense=Array.isArray(t),n.push(ll._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(""+i)),n.push(null);for(;c<=o.e.r;){n.push(ll._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=tr(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]=Yt(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=Jl(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=$c,t.parse_zip=Dl,t.read=Hl,t.readFile=Wl,t.readFileSync=Wl,t.write=zl,t.writeFile=Kl,t.writeFileSync=Kl,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,zl(t,a),s)},t.utils=rf,t.SSF=y,"undefined"!==typeof L&&(t.CFB=L)})(t)}).call(this,r("yLpj"),r("tjlA").Buffer,r("8oxB"))}}]); //# sourceMappingURL=main~9ec2d282.b2fb8c1a.chunk.js.map