var DO_NOT_EXPORT_CODEPAGE=true;var DO_NOT_EXPORT_JSZIP=true;var XLSX={};function make_xlsx_lib(a){a.version="0.14.1";var h=1200,n=1252;if(typeof module!=="undefined"&&typeof require!=="undefined"){if(typeof cptable==="undefined"){if(typeof global!=="undefined")global.cptable=undefined;else if(typeof window!=="undefined")window.cptable=undefined}}var r=[874,932,936,949,950];for(var e=0;e<=8;++e)r.push(1250+e);var d={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};var l=function(e){if(r.indexOf(e)==-1)return;n=d[0]=e};function t(){l(1252)}var ve=function(e){h=e;l(e)};function o(){ve(1200);t()}function q(e){var r=[];for(var t=0,a=e.length;t>1;++t)r[t]=String.fromCharCode(e.charCodeAt(2*t)+(e.charCodeAt(2*t+1)<<8));return r.join("")}function s(e){var r=[];for(var t=0;t>1;++t)r[t]=String.fromCharCode(e.charCodeAt(2*t+1)+(e.charCodeAt(2*t)<<8));return r.join("")}var ee=function(e){var r=e.charCodeAt(0),t=e.charCodeAt(1);if(r==255&&t==254)return i(e.slice(2));if(r==254&&t==255)return s(e.slice(2));if(r==65279)return e.slice(1);return e};var c=function e(r){return String.fromCharCode(r)};if(typeof cptable!=="undefined"){ve=function(e){h=e};ee=function(e){if(e.charCodeAt(0)===255&&e.charCodeAt(1)===254){return cptable.utils.decode(1200,q(e.slice(2)))}return e};c=function e(r){if(h===1200)return String.fromCharCode(r);return cptable.utils.decode(h,[r&255,r>>8])[0]}}var pe=null;var v=true;var Te=function e(){var u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return{encode:function(e){var r="";var t=0,a=0,n=0,i=0,s=0,f=0,l=0;for(var o=0;o>2;a=e.charCodeAt(o++);s=(t&3)<<4|a>>4;n=e.charCodeAt(o++);f=(a&15)<<2|n>>6;l=n&63;if(isNaN(a)){f=l=64}else if(isNaN(n)){l=64}r+=u.charAt(i)+u.charAt(s)+u.charAt(f)+u.charAt(l)}return r},decode:function e(r){var t="";var a=0,n=0,i=0,s=0,f=0,l=0,o=0;r=r.replace(/[^\w\+\/\=]/g,"");for(var c=0;c>4;t+=String.fromCharCode(a);l=u.indexOf(r.charAt(c++));n=(f&15)<<4|l>>2;if(l!==64){t+=String.fromCharCode(n)}o=u.indexOf(r.charAt(c++));i=(l&3)<<6|o;if(o!==64){t+=String.fromCharCode(i)}}return t}}}();var Ie=typeof Buffer!=="undefined"&&typeof process!=="undefined"&&typeof process.versions!=="undefined"&&!!process.versions.node;var f=function(){};if(typeof Buffer!=="undefined"){var u=!Buffer.from;if(!u)try{Buffer.from("foo","utf8")}catch(e){u=true}f=u?function(e,r){return r?new Buffer(e,r):new Buffer(e)}:Buffer.from.bind(Buffer);if(!Buffer.alloc)Buffer.alloc=function(e){return new Buffer(e)};if(!Buffer.allocUnsafe)Buffer.allocUnsafe=function(e){return new Buffer(e)}}function xe(e){return Ie?Buffer.alloc(e):new Array(e)}function _e(e){return Ie?Buffer.allocUnsafe(e):new Array(e)}var Ae=function e(r){if(Ie)return f(r,"binary");return r.split("").map(function(e){return e.charCodeAt(0)&255})};function p(e){if(typeof ArrayBuffer==="undefined")return Ae(e);var r=new ArrayBuffer(e.length),t=new Uint8Array(r);for(var a=0;a!=e.length;++a)t[a]=e.charCodeAt(a)&255;return r}function m(e){if(Array.isArray(e))return e.map(_v).join("");var r=[];for(var t=0;t=0)r+=e.charAt(t--);return r}function O(e,r){var t="";while(t.length=r?t:O("0",r-t.length)+t}function N(e,r){var t=""+e;return t.length>=r?t:O(" ",r-t.length)+t}function M(e,r){var t=""+e;return t.length>=r?t:t+O(" ",r-t.length)}function a(e,r){var t=""+Math.round(e);return t.length>=r?t:O("0",r-t.length)+t}function n(e,r){var t=""+e;return t.length>=r?t:O("0",r-t.length)+t}var i=Math.pow(2,32);function L(e,r){if(e>i||e<-i)return a(e,r);var t=Math.round(e);return n(t,r)}function x(e,r){r=r||0;return e.length>=7+r&&(e.charCodeAt(r)|32)===103&&(e.charCodeAt(r+1)|32)===101&&(e.charCodeAt(r+2)|32)===110&&(e.charCodeAt(r+3)|32)===101&&(e.charCodeAt(r+4)|32)===114&&(e.charCodeAt(r+5)|32)===97&&(e.charCodeAt(r+6)|32)===108}var c=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]];var u=[["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 t(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]='"上午/下午 "hh"時"mm"分"ss"秒 "';e[65535]="General"}var s={};t(s);function U(e,r,t){var a=e<0?-1:1;var n=e*a;var i=0,s=1,f=0;var l=1,o=0,c=0;var u=Math.floor(n);while(or){if(o>r){c=l;f=i}else{c=o;f=s}}if(!t)return[0,a*f,c];var h=Math.floor(a*f/c);return[h,a*f-h*c,c]}function _(e,r,t){if(e>2958465||e<0)return null;var a=e|0,n=Math.floor(86400*(e-a)),i=0;var s=[];var f={D:a,T:n,u:86400*(e-a)-n,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(f.u)<1e-6)f.u=0;if(r&&r.date1904)a+=1462;if(f.u>.9999){f.u=0;if(++n==86400){f.T=n=0;++a;++f.D}}if(a===60){s=t?[1317,10,29]:[1900,2,29];i=3}else if(a===0){s=t?[1317,8,29]:[1900,1,0];i=6}else{if(a>60)--a;var l=new Date(1900,0,1);l.setDate(l.getDate()+a-1);s=[l.getFullYear(),l.getMonth()+1,l.getDate()];i=l.getDay();if(a<60)i=(i+6)%7;if(t)i=p(l,s)}f.y=s[0];f.m=s[1];f.d=s[2];f.S=n%60;n=Math.floor(n/60);f.M=n%60;n=Math.floor(n/60);f.H=n;f.q=i;return f}r.parse_date_code=_;var f=new Date(1899,11,31,0,0,0);var l=f.getTime();var o=new Date(1900,2,1,0,0,0);function h(e,r){var t=e.getTime();if(r)t-=1461*24*60*60*1e3;else if(e>=o)t+=24*60*60*1e3;return(t-(l+(e.getTimezoneOffset()-f.getTimezoneOffset())*6e4))/(24*60*60*1e3)}function d(e){return e.toString(10)}r._general_int=d;var v=function e(){var t=/\.(\d*[1-9])0+$/,r=/\.0*$/,a=/\.(\d*[1-9])0+/,n=/\.0*[Ee]/,i=/(E[+-])(\d)$/;function s(e){var r=e<0?12:11;var t=o(e.toFixed(12));if(t.length<=r)return t;t=e.toPrecision(10);if(t.length<=r)return t;return e.toExponential(5)}function f(e){var r=e.toFixed(11).replace(t,".$1");if(r.length>(e<0?12:11))r=e.toPrecision(6);return r}function l(e){for(var r=0;r!=e.length;++r)if((e.charCodeAt(r)|32)===101)return e.replace(a,".$1").replace(n,"E").replace("e","E").replace(i,"$10$2");return e}function o(e){return e.indexOf(".")>-1?e.replace(r,"").replace(t,".$1"):e}return function e(r){var t=Math.floor(Math.log(Math.abs(r))*Math.LOG10E),a;if(t>=-4&&t<=-1)a=r.toPrecision(10+t);else if(Math.abs(t)<=9)a=s(r);else if(t===10)a=r.toFixed(10).substr(0,12);else a=f(r);return o(l(a))}}();r._general_num=v;function A(e,r){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(e|0)===e?d(e):v(e);case"undefined":return"";case"object":if(e==null)return"";if(e instanceof Date)return w(14,h(e,r&&r.date1904),r)}throw new Error("unsupported value in General format: "+e)}r._general=A;function p(){return 0}function R(e,r,t,a){var n="",i=0,s=0,f=t.y,l,o=0;switch(e){case 98:f=t.y+543;case 121:switch(r.length){case 1:case 2:l=f%100;o=2;break;default:l=f%1e4;o=4;break}break;case 109:switch(r.length){case 1:case 2:l=t.m;o=r.length;break;case 3:return u[t.m-1][1];case 5:return u[t.m-1][0];default:return u[t.m-1][2]}break;case 100:switch(r.length){case 1:case 2:l=t.d;o=r.length;break;case 3:return c[t.q][0];default:return c[t.q][1]}break;case 104:switch(r.length){case 1:case 2:l=1+(t.H+11)%12;o=r.length;break;default:throw"bad hour format: "+r}break;case 72:switch(r.length){case 1:case 2:l=t.H;o=r.length;break;default:throw"bad hour format: "+r}break;case 77:switch(r.length){case 1:case 2:l=t.M;o=r.length;break;default:throw"bad minute format: "+r}break;case 115:if(r!="s"&&r!="ss"&&r!=".0"&&r!=".00"&&r!=".000")throw"bad second format: "+r;if(t.u===0&&(r=="s"||r=="ss"))return P(t.S,r.length);if(a>=2)s=a===3?1e3:100;else s=a===1?10:1;i=Math.round(s*(t.S+t.u));if(i>=60*s)i=0;if(r==="s")return i===0?"0":""+i/s;n=P(i,2+a);if(r==="ss")return n.substr(0,2);return"."+n.substr(2,r.length-1);case 90:switch(r){case"[h]":case"[hh]":l=t.D*24+t.H;break;case"[m]":case"[mm]":l=(t.D*24+t.H)*60+t.M;break;case"[s]":case"[ss]":l=((t.D*24+t.H)*60+t.M)*60+Math.round(t.S+t.u);break;default:throw"bad abstime format: "+r}o=r.length===3?1:2;break;case 101:l=f;o=1}if(o>0)return P(l,o);else return""}function W(e){var r=3;if(e.length<=r)return e;var t=e.length%r,a=e.substr(0,t);for(;t!=e.length;t+=r)a+=(a.length>0?",":"")+e.substr(t,r);return a}var V=function e(){var i=/%/g;function v(e,r,t){var a=r.replace(i,""),n=r.length-a.length;return V(e,a,t*Math.pow(10,2*n))+O("%",n)}function p(e,r,t){var a=r.length-1;while(r.charCodeAt(a-1)===44)--a;return V(e,r.substr(0,a),t/Math.pow(10,3*(r.length-a)))}function m(e,r){var t;var a=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(r==0)return"0.0E+0";else if(r<0)return"-"+m(e,-r);var n=e.indexOf(".");if(n===-1)n=e.indexOf("E");var i=Math.floor(Math.log(r)*Math.LOG10E)%n;if(i<0)i+=n;t=(r/Math.pow(10,i)).toPrecision(a+1+(n+i)%n);if(t.indexOf("e")===-1){var s=Math.floor(Math.log(r)*Math.LOG10E);if(t.indexOf(".")===-1)t=t.charAt(0)+"."+t.substr(1)+"E+"+(s-t.length+i);else t+="E+"+(s-i);while(t.substr(0,2)==="0."){t=t.charAt(0)+t.substr(2,n)+"."+t.substr(2+n);t=t.replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.")}t=t.replace(/\+-/,"-")}t=t.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(e,r,t,a){return r+t+a.substr(0,(n+i)%n)+"."+a.substr(i)+"E"})}else t=r.toExponential(a);if(e.match(/E\+00$/)&&t.match(/e[+-]\d$/))t=t.substr(0,t.length-1)+"0"+t.charAt(t.length-1);if(e.match(/E\-/)&&t.match(/e\+/))t=t.replace(/e\+/,"e");return t.replace("e","E")}var b=/# (\?+)( ?)\/( ?)(\d+)/;function g(e,r,t){var a=parseInt(e[4],10),n=Math.round(r*a),i=Math.floor(n/a);var s=n-i*a,f=a;return t+(i===0?"":""+i)+" "+(s===0?O(" ",e[1].length+1+e[4].length):N(s,e[1].length)+e[2]+"/"+e[3]+P(f,e[4].length))}function E(e,r,t){return t+(r===0?"":""+r)+O(" ",e[1].length+2+e[4].length)}var S=/^#*0*\.([0#]+)/;var k=/\).*[0#]/;var w=/\(###\) ###\\?-####/;function C(e){var r="",t;for(var a=0;a!=e.length;++a)switch(t=e.charCodeAt(a)){case 35:break;case 63:r+=" ";break;case 48:r+="0";break;default:r+=String.fromCharCode(t)}return r}function B(e,r){var t=Math.pow(10,r);return""+Math.round(e*t)/t}function T(e,r){if(r<(""+Math.round((e-Math.floor(e))*Math.pow(10,r))).length){return 0}return Math.round((e-Math.floor(e))*Math.pow(10,r))}function I(e,r){if(r<(""+Math.round((e-Math.floor(e))*Math.pow(10,r))).length){return 1}return 0}function x(e){if(e<2147483647&&e>-2147483648)return""+(e>=0?e|0:e-1|0);return""+Math.floor(e)}function _(e,r,t){if(e.charCodeAt(0)===40&&!r.match(k)){var a=r.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");if(t>=0)return _("n",a,t);return"("+_("n",a,-t)+")"}if(r.charCodeAt(r.length-1)===44)return p(e,r,t);if(r.indexOf("%")!==-1)return v(e,r,t);if(r.indexOf("E")!==-1)return m(r,t);if(r.charCodeAt(0)===36)return"$"+_(e,r.substr(r.charAt(1)==" "?2:1),t);var n;var i,s,f,l=Math.abs(t),o=t<0?"-":"";if(r.match(/^00+$/))return o+L(l,r.length);if(r.match(/^[#?]+$/)){n=L(t,0);if(n==="0")n="";return n.length>r.length?n:C(r.substr(0,r.length-n.length))+n}if(i=r.match(b))return g(i,l,o);if(r.match(/^#+0+$/))return o+L(l,r.length-r.indexOf("0"));if(i=r.match(S)){n=B(t,i[1].length).replace(/^([^\.]+)$/,"$1."+C(i[1])).replace(/\.$/,"."+C(i[1])).replace(/\.(\d*)$/,function(e,r){return"."+r+O("0",C(i[1]).length-r.length)});return r.indexOf("0.")!==-1?n:n.replace(/^0\./,".")}r=r.replace(/^#+([0.])/,"$1");if(i=r.match(/^(0*)\.(#*)$/)){return o+B(l,i[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,i[1].length?"0.":".")}if(i=r.match(/^#{1,3},##0(\.?)$/))return o+W(L(l,0));if(i=r.match(/^#,##0\.([#0]*0)$/)){return t<0?"-"+_(e,r,-t):W(""+(Math.floor(t)+I(t,i[1].length)))+"."+P(T(t,i[1].length),i[1].length)}if(i=r.match(/^#,#*,#0/))return _(e,r.replace(/^#,#*,/,""),t);if(i=r.match(/^([0#]+)(\\?-([0#]+))+$/)){n=D(_(e,r.replace(/[\\-]/g,""),t));s=0;return D(D(r.replace(/\\/g,"")).replace(/[0#]/g,function(e){return s=0)return F("n",a,t);return"("+F("n",a,-t)+")"}if(r.charCodeAt(r.length-1)===44)return A(e,r,t);if(r.indexOf("%")!==-1)return R(e,r,t);if(r.indexOf("E")!==-1)return y(r,t);if(r.charCodeAt(0)===36)return"$"+F(e,r.substr(r.charAt(1)==" "?2:1),t);var n;var i,s,f,l=Math.abs(t),o=t<0?"-":"";if(r.match(/^00+$/))return o+P(l,r.length);if(r.match(/^[#?]+$/)){n=""+t;if(t===0)n="";return n.length>r.length?n:C(r.substr(0,r.length-n.length))+n}if(i=r.match(b))return E(i,l,o);if(r.match(/^#+0+$/))return o+P(l,r.length-r.indexOf("0"));if(i=r.match(S)){n=(""+t).replace(/^([^\.]+)$/,"$1."+C(i[1])).replace(/\.$/,"."+C(i[1]));n=n.replace(/\.(\d*)$/,function(e,r){return"."+r+O("0",C(i[1]).length-r.length)});return r.indexOf("0.")!==-1?n:n.replace(/^0\./,".")}r=r.replace(/^#+([0.])/,"$1");if(i=r.match(/^(0*)\.(#*)$/)){return o+(""+l).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,i[1].length?"0.":".")}if(i=r.match(/^#{1,3},##0(\.?)$/))return o+W(""+l);if(i=r.match(/^#,##0\.([#0]*0)$/)){return t<0?"-"+F(e,r,-t):W(""+t)+"."+O("0",i[1].length)}if(i=r.match(/^#,#*,#0/))return F(e,r.replace(/^#,#*,/,""),t);if(i=r.match(/^([0#]+)(\\?-([0#]+))+$/)){n=D(F(e,r.replace(/[\\-]/g,""),t));s=0;return D(D(r.replace(/\\/g,"")).replace(/[0#]/g,function(e){return s-1||t=="\\"&&e.charAt(r+1)=="-"&&"0#".indexOf(e.charAt(r+2))>-1)){}break;case"?":while(e.charAt(++r)===t){}break;case"*":++r;if(e.charAt(r)==" "||e.charAt(r)=="*")++r;break;case"(":case")":++r;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":while(r-1){}break;case" ":++r;break;default:++r;break}}return false}r.is_date=F;function b(e,r,t,a){var n=[],i="",s=0,f="",l="t",o,c,u;var h="H";while(s=12?"P":"A";p.t="T";h="h";s+=3}else if(e.substr(s,5).toUpperCase()==="AM/PM"){if(o!=null)p.v=o.H>=12?"PM":"AM";p.t="T";s+=5;h="h"}else{p.t="t";++s}if(o==null&&p.t==="T")return"";n[n.length]=p;l=f;break;case"[":i=f;while(e.charAt(s++)!=="]"&&s-1){i=(i.match(/\$([^-\[\]]*)/)||[])[1]||"$";if(!F(e))n[n.length]={t:"t",v:i}}break;case".":if(o!=null){i=f;while(++s-1||f=="\\"&&e.charAt(s+1)=="-"&&s-1)i+=f;n[n.length]={t:"n",v:i};break;case"?":i=f;while(e.charAt(++s)===f)i+=f;n[n.length]={t:f,v:i};l=f;break;case"*":++s;if(e.charAt(s)==" "||e.charAt(s)=="*")++s;break;case"(":case")":n[n.length]={t:a===1?"t":f,v:f};++s;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":i=f;while(s-1)i+=e.charAt(s);n[n.length]={t:"D",v:i};break;case" ":n[n.length]={t:f,v:f};++s;break;default:if(",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP".indexOf(f)===-1)throw new Error("unrecognized character "+f+" in "+e);n[n.length]={t:"t",v:f};++s;break}}var m=0,b=0,g;for(s=n.length-1,l="t";s>=0;--s){switch(n[s].t){case"h":case"H":n[s].t=h;l="h";if(m<1)m=1;break;case"s":if(g=n[s].v.match(/\.0+$/))b=Math.max(b,g[0].length-1);if(m<3)m=3;case"d":case"y":case"M":case"e":l=n[s].t;break;case"m":if(l==="s"){n[s].t="M";if(m<2)m=2}break;case"X":break;case"Z":if(m<1&&n[s].v.match(/[Hh]/))m=1;if(m<2&&n[s].v.match(/[Mm]/))m=2;if(m<3&&n[s].v.match(/[Ss]/))m=3}}switch(m){case 0:break;case 1:if(o.u>=.5){o.u=0;++o.S}if(o.S>=60){o.S=0;++o.M}if(o.M>=60){o.M=0;++o.H}break;case 2:if(o.u>=.5){o.u=0;++o.S}if(o.S>=60){o.S=0;++o.M}break}var E="",S;for(s=0;s0){if(E.charCodeAt(0)==40){w=r<0&&E.charCodeAt(0)===45?-r:r;C=V("(",E,w)}else{w=r<0&&a>1?-r:r;C=V("n",E,w);if(w<0&&n[0]&&n[0].t=="t"){C=C.substr(1);n[0].v="-"+n[0].v}}S=C.length-1;var B=n.length;for(s=0;s-1){B=s;break}var T=n.length;if(B===n.length&&C.indexOf("E")===-1){for(s=n.length-1;s>=0;--s){if(n[s]==null||"n?(".indexOf(n[s].t)===-1)continue;if(S>=n[s].v.length-1){S-=n[s].v.length;n[s].v=C.substr(S+1,n[s].v.length)}else if(S<0)n[s].v="";else{n[s].v=C.substr(0,S+1);S=-1}n[s].t="t";T=s}if(S>=0&&T=0;--s){if(n[s]==null||"n?(".indexOf(n[s].t)===-1)continue;c=n[s].v.indexOf(".")>-1&&s===B?n[s].v.indexOf(".")-1:n[s].v.length-1;k=n[s].v.substr(c+1);for(;c>=0;--c){if(S>=0&&(n[s].v.charAt(c)==="0"||n[s].v.charAt(c)==="#"))k=C.charAt(S--)+k}n[s].v=k;n[s].t="t";T=s}if(S>=0&&T-1&&s===B?n[s].v.indexOf(".")+1:0;k=n[s].v.substr(0,c);for(;c-1){w=a>1&&r<0&&s>0&&n[s-1].v==="-"?-r:r;n[s].v=V(n[s].t,n[s].v,w);n[s].t="t"}var I="";for(s=0;s!==n.length;++s)if(n[s]!=null)I+=n[s].v;return I}r._eval=b;var g=/\[[=<>]/;var E=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function S(e,r){if(r==null)return false;var t=parseFloat(r[2]);switch(r[1]){case"=":if(e==t)return true;break;case">":if(e>t)return true;break;case"<":if(e":if(e!=t)return true;break;case">=":if(e>=t)return true;break;case"<=":if(e<=t)return true;break}return false}function k(e,r){var t=m(e);var a=t.length,n=t[a-1].indexOf("@");if(a<4&&n>-1)--a;if(t.length>4)throw new Error("cannot find right format for |"+t.join("|")+"|");if(typeof r!=="number")return[4,t.length===4||n>-1?t[t.length-1]:"@"];switch(t.length){case 1:t=n>-1?["General","General","General",t[0]]:[t[0],t[0],t[0],"@"];break;case 2:t=n>-1?[t[0],t[0],t[0],t[1]]:[t[0],t[1],t[0],"@"];break;case 3:t=n>-1?[t[0],t[1],t[0],t[2]]:[t[0],t[1],t[2],"@"];break;case 4:break}var i=r>0?t[0]:r<0?t[1]:t[2];if(t[0].indexOf("[")===-1&&t[1].indexOf("[")===-1)return[a,i];if(t[0].match(g)!=null||t[1].match(g)!=null){var s=t[0].match(E);var f=t[1].match(E);return S(r,s)?[a,t[0]]:S(r,f)?[a,t[1]]:[a,t[s!=null&&f!=null?2:1]]}return[a,i]}function w(e,r,t){if(t==null)t={};var a="";switch(typeof e){case"string":if(e=="m/d/yy"&&t.dateNF)a=t.dateNF;else a=e;break;case"number":if(e==14&&t.dateNF)a=t.dateNF;else a=(t.table!=null?t.table:s)[e];break}if(x(a,0))return A(r,t);if(r instanceof Date)r=h(r,t.date1904);var n=k(a,r);if(x(n[1]))return A(r,t);if(r===true)r="TRUE";else if(r===false)r="FALSE";else if(r===""||r==null)return"";return b(n[1],r,t,n[0])}function C(e,r){if(typeof r!="number"){r=+r||-1;for(var t=0;t<392;++t){if(s[t]==undefined){if(r<0)r=t;continue}if(s[t]==e){r=t;break}}if(r<0)r=391}s[r]=e;return r}r.load=C;r._table=s;r.get_table=function e(){return s};r.load_table=function e(r){for(var t=0;t!=392;++t)if(r[t]!==undefined)C(r[t],t)};r.init_table=t;r.format=w};re(me);var te={"General Number":"General","General Date":me._table[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":me._table[15],"Short Date":me._table[14],"Long Time":me._table[19],"Medium Time":me._table[18],"Short Time":me._table[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:me._table[2],Standard:me._table[4],Percent:me._table[10],Scientific:me._table[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'};var E={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"};var S=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;function k(e){var r=typeof e=="number"?me._table[e]:e;r=r.replace(S,"(\\d+)");return new RegExp("^"+r+"$")}function w(e,r,a){var n=-1,i=-1,s=-1,f=-1,l=-1,o=-1;(r.match(S)||[]).forEach(function(e,r){var t=parseInt(a[r+1],10);switch(e.toLowerCase().charAt(0)){case"y":n=t;break;case"d":s=t;break;case"h":f=t;break;case"s":o=t;break;case"m":if(f>=0)l=t;else i=t;break}});if(o>=0&&l==-1&&i>=0){l=i;i=-1}var t=(""+(n>=0?n:(new Date).getFullYear())).slice(-4)+"-"+("00"+(i>=1?i:1)).slice(-2)+"-"+("00"+(s>=1?s:1)).slice(-2);if(t.length==7)t="0"+t;if(t.length==8)t="20"+t;var c=("00"+(f>=0?f:0)).slice(-2)+":"+("00"+(l>=0?l:0)).slice(-2)+":"+("00"+(o>=0?o:0)).slice(-2);if(f==-1&&l==-1&&o==-1)return t;if(n==-1&&i==-1&&s==-1)return c;return t+"T"+c}var C=true;var De;(function(e){e(De={})})(function(e){e.version="1.2.0";function r(){var e=0,r=new Array(256);for(var t=0;t!=256;++t){e=t;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;r[t]=e}return typeof Int32Array!=="undefined"?new Int32Array(r):r}var f=r();function t(e,r){var t=r^-1,a=e.length-1;for(var n=0;n>>8^f[(t^e.charCodeAt(n++))&255];t=t>>>8^f[(t^e.charCodeAt(n++))&255]}if(n===a)t=t>>>8^f[(t^e.charCodeAt(n))&255];return t^-1}function a(e,r){if(e.length>1e4)return i(e,r);var t=r^-1,a=e.length-3;for(var n=0;n>>8^f[(t^e[n++])&255];t=t>>>8^f[(t^e[n++])&255];t=t>>>8^f[(t^e[n++])&255];t=t>>>8^f[(t^e[n++])&255]}while(n>>8^f[(t^e[n++])&255];return t^-1}function i(e,r){var t=r^-1,a=e.length-7;for(var n=0;n>>8^f[(t^e[n++])&255];t=t>>>8^f[(t^e[n++])&255];t=t>>>8^f[(t^e[n++])&255];t=t>>>8^f[(t^e[n++])&255];t=t>>>8^f[(t^e[n++])&255];t=t>>>8^f[(t^e[n++])&255];t=t>>>8^f[(t^e[n++])&255];t=t>>>8^f[(t^e[n++])&255]}while(n>>8^f[(t^e[n++])&255];return t^-1}function n(e,r){var t=r^-1;for(var a=0,n=e.length,i,s;a>>8^f[(t^i)&255]}else if(i<2048){t=t>>>8^f[(t^(192|i>>6&31))&255];t=t>>>8^f[(t^(128|i&63))&255]}else if(i>=55296&&i<57344){i=(i&1023)+64;s=e.charCodeAt(a++)&1023;t=t>>>8^f[(t^(240|i>>8&7))&255];t=t>>>8^f[(t^(128|i>>2&63))&255];t=t>>>8^f[(t^(128|s>>6&15|(i&3)<<4))&255];t=t>>>8^f[(t^(128|s&63))&255]}else{t=t>>>8^f[(t^(224|i>>12&15))&255];t=t>>>8^f[(t^(128|i>>6&63))&255];t=t>>>8^f[(t^(128|i&63))&255]}}return t^-1}e.table=f;e.bstr=t;e.buf=a;e.str=n});var Oe=function e(){var r={};r.version="1.1.0";function h(e,r){var t=e.split("/"),a=r.split("/");for(var n=0,i=0,s=Math.min(t.length,a.length);n>>1;e._W(2,t);var a=r.getFullYear()-1980;a=a<<4|r.getMonth()+1;a=a<<5|r.getDate();e._W(2,a)}function E(e){var r=e._R(2)&65535;var t=e._R(2)&65535;var a=new Date;var n=t&31;t>>>=5;var i=t&15;t>>>=4;a.setMilliseconds(0);a.setFullYear(t+1980);a.setMonth(i-1);a.setDate(n);var s=r&31;r>>>=5;var f=r&63;r>>>=6;a.setHours(r);a.setMinutes(f);a.setSeconds(s<<1);return a}function S(e){Hr(e,0);var r={};var t=0;while(e.l<=e.length-4){var a=e._R(2);var n=e._R(2),i=e.l+n;var s={};switch(a){case 21589:{t=e._R(1);if(t&1)s.mtime=e._R(4);if(n>5){if(t&2)s.atime=e._R(4);if(t&4)s.ctime=e._R(4)}if(s.mtime)s.mt=new Date(s.mtime*1e3)}break}e.l=i;r[a]=s}return r}var n;function i(){return n||(n=require("fs"))}function t(e,r){if(e[0]==80&&e[1]==75)return be(e,r);if(e.length<512)throw new Error("CFB file size "+e.length+" < 512");var t=3;var a=512;var n=0;var i=0;var s=0;var f=0;var l=0;var o=[];var c=e.slice(0,512);Hr(c,0);var u=C(c);t=u[0];switch(t){case 3:a=512;break;case 4:a=4096;break;case 0:if(u[1]==0)return be(e,r);default:throw new Error("Major Version: Expected 3 or 4 saw "+t)}if(a!==512){c=e.slice(0,a);Hr(c,28)}var h=e.slice(0,a);B(c,t);var d=c._R(4,"i");if(t===3&&d!==0)throw new Error("# Directory Sectors: Expected 0 saw "+d);c.l+=4;s=c._R(4,"i");c.l+=4;c.chk("00100000","Mini Stream Cutoff Size: ");f=c._R(4,"i");n=c._R(4,"i");l=c._R(4,"i");i=c._R(4,"i");for(var v=-1,p=0;p<109;++p){v=c._R(4,"i");if(v<0)break;o[p]=v}var m=T(e,a);x(l,i,m,a,o);var b=_(m,s,o,a);b[s].name="!Directory";if(n>0&&f!==y)b[f].name="!MiniFAT";b[o[0]].name="!FAT";b.fat_addrs=o;b.ssz=a;var g={},E=[],S=[],k=[];A(s,b,m,E,n,g,S,f);I(S,k,E);E.shift();var w={FileIndex:S,FullPaths:k};if(r&&r.raw)w.raw={header:h,sectors:m};return w}function C(e){if(e[e.l]==80&&e[e.l+1]==75)return[0,0];e.chk(u,"Header Signature: ");e.chk(F,"CLSID: ");var r=e._R(2,"u");return[e._R(2,"u"),r]}function B(e,r){var t=9;e.l+=2;switch(t=e._R(2)){case 9:if(r!=3)throw new Error("Sector Shift: Expected 9 saw "+t);break;case 12:if(r!=4)throw new Error("Sector Shift: Expected 12 saw "+t);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+t)}e.chk("0600","Mini Sector Shift: ");e.chk("000000000000","Reserved: ")}function T(e,r){var t=Math.ceil(e.length/r)-1;var a=[];for(var n=1;n0&&s>=0){i.push(r.slice(s*c,s*c+c));n-=c;s=Or(t,s*4)}if(i.length===0)return Gr(0);return Re(i).slice(0,e.size)}function x(e,r,t,a,n){var i=y;if(e===y){if(r!==0)throw new Error("DIFAT chain shorter than expected")}else if(e!==-1){var s=t[e],f=(a>>>2)-1;if(!s)return;for(var l=0;l=0;){n[l]=true;i[i.length]=l;s.push(e[l]);var c=t[Math.floor(l*4/a)];o=l*4&f;if(a<4+o)throw new Error("FAT boundary crossed: "+l+" 4 "+a);if(!e[c])break;l=Or(e[c],o)}return{nodes:i,data:or([s])}}function _(e,r,t,a){var n=e.length,i=[];var s=[],f=[],l=[];var o=a-1,c=0,u=0,h=0,d=0;for(c=0;c=n)h-=n;if(s[h])continue;l=[];for(u=h;u>=0;){s[u]=true;f[f.length]=u;l.push(e[u]);var v=t[Math.floor(u*4/a)];d=u*4&o;if(a<4+d)throw new Error("FAT boundary crossed: "+u+" 4 "+a);if(!e[v])break;u=Or(e[v],d)}i[h]={nodes:f,data:or([l])}}return i}function A(e,r,t,a,n,i,s,f){var l=0,o=a.length?2:0;var c=r[e].data;var u=0,h=0,d;for(;u0&&l!==y)r[l].name="!StreamData"}else if(p.size>=4096){p.storage="fat";if(r[p.start]===undefined)r[p.start]=w(t,p.start,r.fat_addrs,r.ssz);r[p.start].name=p.name;p.content=r[p.start].data.slice(0,p.size)}else{p.storage="minifat";if(p.size<0)p.size=0;else if(l!==y&&p.start!==y&&r[l]){p.content=g(p,r[l].data,(r[f]||{}).data)}}if(p.content)Hr(p.content,0);i[d]=p;s.push(p)}}function R(e,r){return new Date((Dr(e,r+4)/1e7*Math.pow(2,32)+Dr(e,r)/1e7-11644473600)*1e3)}function a(e,r){i();return t(n.readFileSync(e),r)}function s(e,r){switch(r&&r.type||"base64"){case"file":return a(e,r);case"base64":return t(Ae(Te.decode(e)),r);case"binary":return t(Ae(e),r)}return t(e,r)}function b(e,r){var t=r||{},a=t.root||"Root Entry";if(!e.FullPaths)e.FullPaths=[];if(!e.FileIndex)e.FileIndex=[];if(e.FullPaths.length!==e.FileIndex.length)throw new Error("inconsistent CFB structure");if(e.FullPaths.length===0){e.FullPaths[0]=a+"/";e.FileIndex[0]={name:a,type:5}}if(t.CLSID)e.FileIndex[0].clsid=t.CLSID;f(e)}function f(e){var r="Sh33tJ5";if(Oe.find(e,"/"+r))return;var t=Gr(4);t[0]=55;t[1]=t[3]=50;t[2]=54;e.FileIndex.push({name:r,type:2,content:t,size:4,L:69,R:69,C:69});e.FullPaths.push(e.FullPaths[0]+r);p(e)}function p(e,r){b(e);var t=false,a=false;for(var n=e.FullPaths.length-1;n>=0;--n){var i=e.FileIndex[n];switch(i.type){case 0:if(a)t=true;else{e.FileIndex.pop();e.FullPaths.pop()}break;case 1:case 2:case 5:a=true;if(isNaN(i.R*i.L*i.C))t=true;if(i.R>-1&&i.L>-1&&i.R==i.L)t=true;break;default:t=true;break}}if(!t&&!r)return;var s=new Date(1987,1,19),f=0;var l=[];for(n=0;n1?1:-1;c.size=0;c.type=5}else if(u.slice(-1)=="/"){for(f=n+1;f=l.length?-1:f;for(f=n+1;f=l.length?-1:f;c.type=1}else{if(d(e.FullPaths[n+1]||"")==d(u))c.R=n+1;c.type=2}}}function l(e,r){var t=r||{};p(e);if(t.fileType=="zip")return Ee(e,t);var a=function(e){var r=0,t=0;for(var a=0;a0){if(i<4096)r+=i+63>>6;else t+=i+511>>9}}var s=e.FullPaths.length+3>>2;var f=r+7>>3;var l=r+127>>7;var o=f+t+s+l;var c=o+127>>7;var u=c<=109?0:Math.ceil((c-109)/127);while(o+c+u+127>>7>c)u=++c<=109?0:Math.ceil((c-109)/127);var h=[1,u,c,l,s,t,r,0];e.FileIndex[0].size=r<<6;h[7]=(e.FileIndex[0].start=h[0]+h[1]+h[2]+h[3]+h[4]+h[5])+(h[6]+7>>3);return h}(e);var n=Gr(a[7]<<9);var i=0,s=0;{for(i=0;i<8;++i)n._W(1,m[i]);for(i=0;i<8;++i)n._W(2,0);n._W(2,62);n._W(2,3);n._W(2,65534);n._W(2,9);n._W(2,6);for(i=0;i<3;++i)n._W(2,0);n._W(4,0);n._W(4,a[2]);n._W(4,a[0]+a[1]+a[2]+a[3]-1);n._W(4,0);n._W(4,1<<12);n._W(4,a[3]?a[0]+a[1]+a[2]-1:y);n._W(4,a[3]);n._W(-4,a[1]?a[0]-1:y);n._W(4,a[1]);for(i=0;i<109;++i)n._W(-4,i>9)}f(a[6]+7>>3);while(n.l&511)n._W(-4,D.ENDOFCHAIN);s=i=0;for(l=0;l=4096)continue;c.start=s;f(o+63>>6)}while(n.l&511)n._W(-4,D.ENDOFCHAIN);for(i=0;i=4096){n.l=c.start+1<<9;for(l=0;l0&&c.size<4096){for(l=0;l>16|r>>8|r)&255}var z=typeof Uint8Array!=="undefined";var j=z?new Uint8Array(1<<8):[];for(var $=0;$<1<<8;++$)j[$]=G($);function K(e,r){var t=j[e&255];if(r<=8)return t>>>8-r;t=t<<8|j[e>>8&255];if(r<=16)return t>>>16-r;t=t<<8|j[e>>16&255];return t>>>24-r}function Y(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=6?0:e[a+1]<<8))>>>t&3}function Q(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=5?0:e[a+1]<<8))>>>t&7}function J(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=4?0:e[a+1]<<8))>>>t&15}function Z(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=3?0:e[a+1]<<8))>>>t&31}function q(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=1?0:e[a+1]<<8))>>>t&127}function ee(e,r,t){var a=r&7,n=r>>>3,i=(1<>>a;if(t<8-a)return s&i;s|=e[n+1]<<8-a;if(t<16-a)return s&i;s|=e[n+2]<<16-a;if(t<24-a)return s&i;s|=e[n+3]<<24-a;return s&i}function re(e,r){var t=e.length,a=2*t>r?2*t:r+5,n=0;if(t>=r)return e;if(Ie){var i=_e(a);if(e.copy)e.copy(i);else for(;n0)t[t.l++]=r[a++]}return t.l}}();return function(e){var r=Gr(50+Math.floor(e.length*1.1));var t=a(e,r);return r.slice(0,t)}}();function ne(e,r,t){var a=1,n=0,i=0,s=0,f=0,l=e.length;var o=z?new Uint16Array(32):te(32);for(i=0;i<32;++i)o[i]=0;for(i=l;i>a-u;for(s=(1<=0;--s)r[f|s<>8-v;for(var p=(1<<7-v)-1;p>=0;--p)ce[d|p<>>=3){case 16:i=3+Y(e,r);r+=2;d=m[m.length-1];while(i-- >0)m.push(d);break;case 17:i=3+Q(e,r);r+=3;while(i-- >0)m.push(0);break;case 18:i=11+q(e,r);r+=7;while(i-- >0)m.push(0);break;default:m.push(d);if(l>>0;var f=0,l=0;while((a&1)==0){a=Q(e,t);t+=3;if(a>>>1==0){if(t&7)t+=8-(t&7);var o=e[t>>>3]|e[(t>>>3)+1]<<8;t+=32;if(!r&&s>>3,(t>>>3)+o);i+=o;t+=8*o}else while(o-- >0){n[i++]=e[t>>>3];t+=8}continue}else if(a>>>1==1){f=9;l=5}else{t=de(e,t);f=ue;l=he}if(!r&&s>>1==1?ie[c]:le[c];t+=u&15;u>>>=4;if((u>>>8&255)===0)n[i++]=u;else if(u==256)break;else{u-=257;var h=u<8?0:u-4>>2;if(h>5)h=0;var d=i+H[u];if(h>0){d+=ee(e,t,h);t+=h}c=ee(e,t,l);u=a>>>1==1?se[c]:oe[c];t+=u&15;u>>>=4;var v=u<4?0:u-2>>1;var p=X[u];if(v>0){p+=ee(e,t,v);t+=v}if(!r&&s>>3]}function pe(e,r){var t=e.slice(e.l||0);var a=ve(t,r);e.l+=a[1];return a[0]}function me(e,r){if(e){if(typeof console!=="undefined")console.error(r)}else throw new Error(r)}function be(e,r){var t=e;Hr(t,0);var a=[],n=[];var i={FileIndex:a,FullPaths:n};b(i,{root:r.root});var s=t.length-4;while((t[s]!=80||t[s+1]!=75||t[s+2]!=5||t[s+3]!=6)&&s>=0)--s;t.l=s+4;t.l+=4;var f=t._R(2);t.l+=6;var l=t._R(4);t.l=l;for(s=0;s3)a=true;switch(n[i].slice(n[i].length-1)){case"Y":throw new Error("Unsupported ISO Duration Field: "+n[i].slice(n[i].length-1));case"D":t*=24;case"H":t*=60;case"M":if(!a)throw new Error("Unsupported ISO Duration Field: M");else t*=60;case"S":break}r+=t*parseInt(n[i],10)}return r}var O=new Date("2017-02-19T19:06:09.000Z");if(isNaN(O.getFullYear()))O=new Date("2/19/17");var P=O.getFullYear()==2017;function ae(e,r){var t=new Date(e);if(P){if(r>0)t.setTime(t.getTime()+t.getTimezoneOffset()*60*1e3);else if(r<0)t.setTime(t.getTime()-t.getTimezoneOffset()*60*1e3);return t}if(e instanceof Date)return e;if(O.getFullYear()==1917&&!isNaN(t.getFullYear())){var a=t.getFullYear();if(e.indexOf(""+a)>-1)return t;t.setFullYear(t.getFullYear()+100);return t}var n=e.match(/\d+/g)||["2017","2","19","0","0","0"];var i=new Date(+n[0],+n[1]-1,+n[2],+n[3]||0,+n[4]||0,+n[5]||0);if(e.indexOf("Z")>-1)i=new Date(i.getTime()-i.getTimezoneOffset()*60*1e3);return i}function N(e){var r="";for(var t=0;t!=e.length;++t)r+=String.fromCharCode(e[t]);return r}function ne(e){if(typeof JSON!="undefined"&&!Array.isArray(e))return JSON.parse(JSON.stringify(e));if(typeof e!="object"||e==null)return e;if(e instanceof Date)return new Date(e.getTime());var r={};for(var t in e)if(e.hasOwnProperty(t))r[t]=ne(e[t]);return r}function M(e,r){var t="";while(t.length8099)return t;if((n>0||i>1)&&a!=101)return r;if(e.toLowerCase().match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/))return r;if(e.match(/[^-0-9:,\/\\]/))return t;return r}var W="abacaba".split(/(:?b)/i).length==5;function V(e,r,t){if(W||typeof r=="string")return e.split(r);var a=e.split(r),n=[a[0]];for(var i=1;i\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g;var ce=/<[\/\?]?[a-zA-Z0-9:]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s?[\/\?]?>/g;if(!le.match(ce))ce=/<[^>]*>/g;var ue=/<\w*:/,he=/<(\/?)\w+:/;function de(e,r){var t={};var a=0,n=0;for(;a!==e.length;++a)if((n=e.charCodeAt(a))===32||n===10||n===13)break;if(!r)t[0]=e.slice(0,a);if(a===e.length)return t;var i=e.match(oe),s=0,f="",l=0,o="",c="",u=1;if(i)for(l=0;l!=i.length;++l){c=i[l];for(n=0;n!=c.length;++n)if(c.charCodeAt(n)===61)break;o=c.slice(0,n).trim();while(c.charCodeAt(n+1)==32)++n;u=(a=c.charCodeAt(n+1))==34||a==39?1:0;f=c.slice(n+1+u,c.length-u);for(s=0;s!=o.length;++s)if(o.charCodeAt(s)===58)break;if(s===o.length){if(o.indexOf("_")>0)o=o.slice(0,o.indexOf("_"));t[o]=f;t[o.toLowerCase()]=f}else{var h=(s===5&&o.slice(0,5)==="xmlns"?"xmlns":"")+o.slice(s+1);if(t[h]&&o.slice(s-3,s)=="ext")continue;t[h]=f;t[h.toLowerCase()]=f}}return t}function ge(e){return e.replace(he,"<$1")}var Ee={""":'"',"'":"'",">":">","<":"<","&":"&"};var Se=A(Ee);var ke=function(){var i=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/g,s=/_x([\da-fA-F]{4})_/g;return function e(r){var t=r+"",a=t.indexOf("-1?16:10))||e}).replace(s,function(e,r){return String.fromCharCode(parseInt(r,16))});var n=t.indexOf("]]>");return e(t.slice(0,a))+t.slice(a+9,n)+e(t.slice(n+3))}}();var we=/[&<>'"]/g,Ce=/[\u0000-\u0008\u000b-\u001f]/g;function Be(e){var r=e+"";return r.replace(we,function(e){return Se[e]}).replace(Ce,function(e){return"_x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+"_"})}function Pe(e){return Be(e).replace(/ /g,"_x0020_")}var Ne=/[\u0000-\u001f]/g;function Me(e){var r=e+"";return r.replace(we,function(e){return Se[e]}).replace(/\n/g,"
").replace(Ne,function(e){return"&#x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+";"})}function Le(e){var r=e+"";return r.replace(we,function(e){return Se[e]}).replace(Ne,function(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"})}var Ue=function(){var t=/&#(\d+);/g;function a(e,r){return String.fromCharCode(parseInt(r,10))}return function e(r){return r.replace(t,a)}}();var We=function(){return function e(r){return r.replace(/(\r\n|[\r\n])/g," ")}}();function Ve(e){switch(e){case 1:case true:case"1":case"true":case"TRUE":return true;default:return false}}var He=function e(r){var t="",a=0,n=0,i=0,s=0,f=0,l=0;while(a191&&n<224){f=(n&31)<<6;f|=i&63;t+=String.fromCharCode(f);continue}s=r.charCodeAt(a++);if(n<240){t+=String.fromCharCode((n&15)<<12|(i&63)<<6|s&63);continue}f=r.charCodeAt(a++);l=((n&7)<<18|(i&63)<<12|(s&63)<<6|f&63)-65536;t+=String.fromCharCode(55296+(l>>>10&1023));t+=String.fromCharCode(56320+(l&1023))}return t};var Xe=function(e){var r=[],t=0,a=0,n=0;while(t>6)));r.push(String.fromCharCode(128+(a&63)));break;case a>=55296&&a<57344:a-=55296;n=e.charCodeAt(t++)-56320+(a<<10);r.push(String.fromCharCode(240+(n>>18&7)));r.push(String.fromCharCode(144+(n>>12&63)));r.push(String.fromCharCode(128+(n>>6&63)));r.push(String.fromCharCode(128+(n&63)));break;default:r.push(String.fromCharCode(224+(a>>12)));r.push(String.fromCharCode(128+(a>>6&63)));r.push(String.fromCharCode(128+(a&63)))}}return r.join("")};if(Ie){var Ge=function e(r){var t=Buffer.alloc(2*r.length),a,n,i=1,s=0,f=0,l;for(n=0;n>>10&1023);a=56320+(a&1023)}if(f!==0){t[s++]=f&255;t[s++]=f>>>8;f=0}t[s++]=a%256;t[s++]=a>>>8}return t.slice(0,s).toString("ucs2")};var ze="foo bar baz☃🍣";if(He(ze)==Ge(ze))He=Ge;var je=function e(r){return f(r,"binary").toString("utf8")};if(He(ze)==je(ze))He=je;Xe=function(e){return f(e,"utf8").toString("binary")}}var $e=function(){var n={};return function e(r,t){var a=r+"|"+(t||"");if(n[a])return n[a];return n[a]=new RegExp("<(?:\\w+:)?"+r+'(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)",t||"")}}();var Ke=function(){var n=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map(function(e){return[new RegExp("&"+e[0]+";","g"),e[1]]});return function e(r){var t=r.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/[\t\n\r ]+/g," ").replace(/<\s*[bB][rR]\s*\/?>/g,"\n").replace(/<[^>]*>/g,"");for(var a=0;a([\\s\\S]*?)","g")}}();var Qe=/<\/?(?:vt:)?variant>/g,Je=/<(?:vt:)([^>]*)>([\s\S]*)"+r+""}function rr(r){return be(r).map(function(e){return" "+e+'="'+r[e]+'"'}).join("")}function tr(e,r,t){return"<"+e+(t!=null?rr(t):"")+(r!=null?(r.match(qe)?' xml:space="preserve"':"")+">"+r+""}function ar(e,r){try{return e.toISOString().replace(/\.\d*/,"")}catch(e){if(r)throw e}return""}function nr(e){switch(typeof e){case"string":return tr("vt:lpwstr",e);case"number":return tr((e|0)==e?"vt:i4":"vt:r8",String(e));case"boolean":return tr("vt:bool",e?"true":"false")}if(e instanceof Date)return tr("vt:filetime",ar(e));throw new Error("Unable to serialize "+e)}var ir={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"};ir.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"];var sr={o:"urn:schemas-microsoft-com:office:office",x:"urn:schemas-microsoft-com:office:excel",ss:"urn:schemas-microsoft-com:office:spreadsheet",dt:"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882",mv:"http://macVmlSchemaUri",v:"urn:schemas-microsoft-com:vml",html:"http://www.w3.org/TR/REC-html40"};function fr(e,r){var t=1-2*(e[r+7]>>>7);var a=((e[r+7]&127)<<4)+(e[r+6]>>>4&15);var n=e[r+6]&15;for(var i=5;i>=0;--i)n=n*256+e[r+i];if(a==2047)return n==0?t*Infinity:NaN;if(a==0)a=-1022;else{a-=1023;n+=Math.pow(2,52)}return t*Math.pow(2,a-52)*n}function lr(e,r,t){var a=(r<0||1/r==-Infinity?1:0)<<7,n=0,i=0;var s=a?-r:r;if(!isFinite(s)){n=2047;i=isNaN(r)?26985:0}else if(s==0)n=i=0;else{n=Math.floor(Math.log(s)/Math.LN2);i=s*Math.pow(2,52-n);if(n<=-1023&&(!isFinite(i)||i>4|a}var or=function(e){var r=[],t=10240;for(var a=0;a0?pr(e,r+4,r+4+t-1):""};var gr=br;var Er=function(e,r){var t=Dr(e,r);return t>0?pr(e,r+4,r+4+t-1):""};var Sr=Er;var kr=function(e,r){var t=2*Dr(e,r);return t>0?pr(e,r+4,r+4+t-1):""};var wr=kr;var Cr,Br;Cr=Br=function e(r,t){var a=Dr(r,t);return a>0?ur(r,t+4,t+4+a):""};var Tr=function(e,r){var t=Dr(e,r);return t>0?pr(e,r+4,r+4+t):""};var Ir=Tr;var xr,_r;xr=_r=function(e,r){return fr(e,r)};var Ar=function e(r){return Array.isArray(r)};if(Ie){ur=function(e,r,t){if(!Buffer.isBuffer(e))return hr(e,r,t);return e.toString("utf16le",r,t).replace(ye,"")};dr=function(e,r,t){return Buffer.isBuffer(e)?e.toString("hex",r,r+t):vr(e,r,t)};br=function e(r,t){if(!Buffer.isBuffer(r))return gr(r,t);var a=r.readUInt32LE(t);return a>0?r.toString("utf8",t+4,t+4+a-1):""};Er=function e(r,t){if(!Buffer.isBuffer(r))return Sr(r,t);var a=r.readUInt32LE(t);return a>0?r.toString("utf8",t+4,t+4+a-1):""};kr=function e(r,t){if(!Buffer.isBuffer(r))return wr(r,t);var a=2*r.readUInt32LE(t);return r.toString("utf16le",t+4,t+4+a-1)};Cr=function e(r,t){if(!Buffer.isBuffer(r))return Br(r,t);var a=r.readUInt32LE(t);return r.toString("utf16le",t+4,t+4+a)};Tr=function e(r,t){if(!Buffer.isBuffer(r))return Ir(r,t);var a=r.readUInt32LE(t);return r.toString("utf8",t+4,t+4+a)};pr=function e(r,t,a){return Buffer.isBuffer(r)?r.toString("utf8",t,a):mr(r,t,a)};or=function(e){return e[0].length>0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0]):cr(e)};Re=function(e){return Buffer.isBuffer(e[0])?Buffer.concat(e):[].concat.apply([],e)};xr=function e(r,t){if(Buffer.isBuffer(r))return r.readDoubleLE(t);return _r(r,t)};Ar=function e(r){return Buffer.isBuffer(r)||Array.isArray(r)}}if(typeof cptable!=="undefined"){ur=function(e,r,t){return cptable.utils.decode(1200,e.slice(r,t)).replace(ye,"")};pr=function(e,r,t){return cptable.utils.decode(65001,e.slice(r,t))};br=function(e,r){var t=Dr(e,r);return t>0?cptable.utils.decode(n,e.slice(r+4,r+4+t-1)):""};Er=function(e,r){var t=Dr(e,r);return t>0?cptable.utils.decode(h,e.slice(r+4,r+4+t-1)):""};kr=function(e,r){var t=2*Dr(e,r);return t>0?cptable.utils.decode(1200,e.slice(r+4,r+4+t-1)):""};Cr=function(e,r){var t=Dr(e,r);return t>0?cptable.utils.decode(1200,e.slice(r+4,r+4+t)):""};Tr=function(e,r){var t=Dr(e,r);return t>0?cptable.utils.decode(65001,e.slice(r+4,r+4+t)):""}}var Rr=function(e,r){return e[r]};var yr=function(e,r){return e[r+1]*(1<<8)+e[r]};var Fr=function(e,r){var t=e[r+1]*(1<<8)+e[r];return t<32768?t:(65535-t+1)*-1};var Dr=function(e,r){return e[r+3]*(1<<24)+(e[r+2]<<16)+(e[r+1]<<8)+e[r]};var Or=function(e,r){return e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]};var Pr=function(e,r){return e[r]<<24|e[r+1]<<16|e[r+2]<<8|e[r+3]};function Nr(e,r){var t="",a,n,i=[],s,f,l,o;switch(r){case"dbcs":o=this.l;if(Ie&&Buffer.isBuffer(this))t=this.slice(this.l,this.l+2*e).toString("utf16le");else for(l=0;l0?Or:Pr)(this,this.l);this.l+=4;return a}else{n=Dr(this,this.l);this.l+=4}return n;case 8:case-8:if(r==="f"){if(e==8)n=xr(this,this.l);else n=xr([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;return n}else e=8;case 16:t=dr(this,this.l,e);break}}this.l+=e;return t}var Mr=function(e,r,t){e[t]=r&255;e[t+1]=r>>>8&255;e[t+2]=r>>>16&255;e[t+3]=r>>>24&255};var Lr=function(e,r,t){e[t]=r&255;e[t+1]=r>>8&255;e[t+2]=r>>16&255;e[t+3]=r>>24&255};var Ur=function(e,r,t){e[t]=r&255;e[t+1]=r>>>8&255};function Wr(e,r,t){var a=0,n=0;if(t==="dbcs"){for(n=0;n!=r.length;++n)Ur(this,r.charCodeAt(n),this.l+2*n);a=2*r.length}else if(t==="sbcs"){r=r.replace(/[^\x00-\x7F]/g,"_");for(n=0;n!=r.length;++n)this[this.l+n]=r.charCodeAt(n)&255;a=r.length}else if(t==="hex"){for(;n>8}while(this.l>>=8;this[this.l+1]=r&255;break;case 3:a=3;this[this.l]=r&255;r>>>=8;this[this.l+1]=r&255;r>>>=8;this[this.l+2]=r&255;break;case 4:a=4;Mr(this,r,this.l);break;case 8:a=8;if(t==="f"){lr(this,r,this.l);break}case 16:break;case-4:a=4;Lr(this,r,this.l);break}this.l+=a;return this}function Vr(e,r){var t=dr(this,this.l,e.length>>1);if(t!==e)throw new Error(r+"Expected "+e+" saw "+t);this.l+=e.length>>1}function Hr(e,r){e.l=r;e._R=Nr;e.chk=Vr;e._W=Wr}function Xr(e,r){e.l+=r}function Gr(e){var r=xe(e);Hr(r,0);return r}function zr(e,r,t){if(!e)return;var a,n,i;Hr(e,e.l||0);var s=e.length,f=0,l=0;while(e.ln.l){n=n.slice(0,n.l);n.l=n.length}if(n.length>0)r.push(n);n=null};var s=function e(r){if(n&&r=128?1:0)+1;if(a>=128)++i;if(a>=16384)++i;if(a>=2097152)++i;var s=e.next(i);if(n<=127)s._W(1,n);else{s._W(1,(n&127)+128);s._W(1,n>>7)}for(var f=0;f!=4;++f){if(a>=128){s._W(1,(a&127)+128);a>>=7}else{s._W(1,a);break}}if(a>0&&Ar(t))e.push(t)}function Kr(e,r,t){var a=ne(e);if(r.s){if(a.cRel)a.c+=r.s.c;if(a.rRel)a.r+=r.s.r}else{if(a.cRel)a.c+=r.c;if(a.rRel)a.r+=r.r}if(!t||t.biff<12){while(a.c>=256)a.c-=256;while(a.r>=65536)a.r-=65536}return a}function Yr(e,r,t){var a=ne(e);a.s=Kr(a.s,r.s,t);a.e=Kr(a.e,r.s,t);return a}function Qr(e,r){if(e.cRel&&e.c<0){e=ne(e);e.c+=r>8?16384:256}if(e.rRel&&e.r<0){e=ne(e);e.r+=r>8?1048576:r>5?65536:16384}var t=ct(e);if(e.cRel===0)t=st(t);if(e.rRel===0)t=tt(t);return t}function Jr(e,r){if(e.s.r==0&&!e.s.rRel){if(e.e.r==(r.biff>=12?1048575:r.biff>=8?65536:16384)&&!e.e.rRel){return(e.s.cRel?"":"$")+it(e.s.c)+":"+(e.e.cRel?"":"$")+it(e.e.c)}}if(e.s.c==0&&!e.s.cRel){if(e.e.c==(r.biff>=12?65535:255)&&!e.e.cRel){return(e.s.rRel?"":"$")+rt(e.s.r)+":"+(e.e.rRel?"":"$")+rt(e.e.r)}}return Qr(e.s,r.biff)+":"+Qr(e.e,r.biff)}var Zr={};var qr=function(e,r){var t;if(typeof r!=="undefined")t=r;else if(typeof require!=="undefined"){try{t=undefined}catch(e){t=null}}e.rc4=function(e,r){var t=new Array(256);var a=0,n=0,i=0,s=0;for(n=0;n!=256;++n)t[n]=n;for(n=0;n!=256;++n){i=i+t[n]+e[n%e.length].charCodeAt(0)&255;s=t[n];t[n]=t[i];t[i]=s}n=i=0;var f=Buffer(r.length);for(a=0;a!=r.length;++a){n=n+1&255;i=(i+t[n])%256;s=t[n];t[n]=t[i];t[i]=s;f[a]=r[a]^t[t[n]+t[i]&255]}return f};e.md5=function(e){if(!t)throw new Error("Unsupported crypto");return t.createHash("md5").update(e).digest("hex")}};qr(Zr,typeof crypto!=="undefined"?crypto:undefined);function et(e){return parseInt(at(e),10)-1}function rt(e){return""+(e+1)}function tt(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}function at(e){return e.replace(/\$(\d+)$/,"$1")}function nt(e){var r=ft(e),t=0,a=0;for(;a!==r.length;++a)t=26*t+r.charCodeAt(a)-64;return t-1}function it(e){var r="";for(++e;e;e=Math.floor((e-1)/26))r=String.fromCharCode((e-1)%26+65)+r;return r}function st(e){return e.replace(/^([A-Z])/,"$$$1")}function ft(e){return e.replace(/^\$([A-Z])/,"$1")}function lt(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function ot(e){var r=lt(e);return{c:nt(r[0]),r:et(r[1])}}function ct(e){return it(e.c)+rt(e.r)}function ut(e){var r=e.split(":").map(ot);return{s:r[0],e:r[r.length-1]}}function ht(e,r){if(typeof r==="undefined"||typeof r==="number"){return ht(e.s,e.e)}if(typeof e!=="string")e=ct(e);if(typeof r!=="string")r=ct(r);return e==r?e:e+":"+r}function dt(e){var r={s:{c:0,r:0},e:{c:0,r:0}};var t=0,a=0,n=0;var i=e.length;for(t=0;a26)break;t=26*t+n}r.s.c=--t;for(t=0;a9)break;t=10*t+n}r.s.r=--t;if(a===i||e.charCodeAt(++a)===58){r.e.c=r.s.c;r.e.r=r.s.r;return r}for(t=0;a!=i;++a){if((n=e.charCodeAt(a)-64)<1||n>26)break;t=26*t+n}r.e.c=--t;for(t=0;a!=i;++a){if((n=e.charCodeAt(a)-48)<0||n>9)break;t=10*t+n}r.e.r=--t;return r}function vt(e,r){var t=e.t=="d"&&r instanceof Date;if(e.z!=null)try{return e.w=me.format(e.z,t?J(r):r)}catch(e){}try{return e.w=me.format((e.XF||{}).numFmtId||(t?14:0),t?J(r):r)}catch(e){return""+r}}function pt(e,r,t){if(e==null||e.t==null||e.t=="z")return"";if(e.w!==undefined)return e.w;if(e.t=="d"&&!e.z&&t&&t.dateNF)e.z=t.dateNF;if(r==undefined)return vt(e,e.v);return vt(e,r)}function mt(e,r){var t=r&&r.sheet?r.sheet:"Sheet1";var a={};a[t]=e;return{SheetNames:[t],Sheets:a}}function bt(e,r,t){var a=t||{};var n=e?Array.isArray(e):a.dense;if(pe!=null&&n==null)n=pe;var i=e||(n?[]:{});var s=0,f=0;if(i&&a.origin!=null){if(typeof a.origin=="number")s=a.origin;else{var l=typeof a.origin=="string"?ot(a.origin):a.origin;s=l.r;f=l.c}}var o={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(i["!ref"]){var c=dt(i["!ref"]);o.s.c=c.s.c;o.s.r=c.s.r;o.e.c=Math.max(o.e.c,c.e.c);o.e.r=Math.max(o.e.r,c.e.r);if(s==-1)o.e.r=s=c.e.r+1}for(var u=0;u!=r.length;++u){if(!r[u])continue;if(!Array.isArray(r[u]))throw new Error("aoa_to_sheet expects an array of arrays");for(var h=0;h!=r[u].length;++h){if(typeof r[u][h]==="undefined")continue;var d={v:r[u][h]};var v=s+u,p=f+h;if(o.s.r>v)o.s.r=v;if(o.s.c>p)o.s.c=p;if(o.e.r0)r._W(0,e,"dbcs");return t?r.slice(0,r.l):r}function wt(e){return{ich:e._R(2),ifnt:e._R(2)}}function Ct(e,r){if(!r)r=Gr(4);r._W(2,e.ich||0);r._W(2,e.ifnt||0);return r}function Bt(e,r){var t=e.l;var a=e._R(1);var n=St(e);var i=[];var s={t:n,h:n};if((a&1)!==0){var f=e._R(4);for(var l=0;l!=f;++l)i.push(wt(e));s.r=i}else s.r=[{ich:0,ifnt:0}];e.l=t+r;return s}function Tt(e,r){var t=false;if(r==null){t=true;r=Gr(15+4*e.t.length)}r._W(1,0);kt(e.t,r);return t?r.slice(0,r.l):r}var It=Bt;function xt(e,r){var t=false;if(r==null){t=true;r=Gr(23+4*e.t.length)}r._W(1,1);kt(e.t,r);r._W(4,1);Ct({ich:0,ifnt:0},r);return t?r.slice(0,r.l):r}function _t(e){var r=e._R(4);var t=e._R(2);t+=e._R(1)<<16;e.l++;return{c:r,iStyleRef:t}}function At(e,r){if(r==null)r=Gr(8);r._W(-4,e.c);r._W(3,e.iStyleRef||e.s);r._W(1,0);return r}var Rt=St;var yt=kt;function Ft(e){var r=e._R(4);return r===0||r===4294967295?"":e._R(r,"dbcs")}function Dt(e,r){var t=false;if(r==null){t=true;r=Gr(127)}r._W(4,e.length>0?e.length:4294967295);if(e.length>0)r._W(0,e,"dbcs");return t?r.slice(0,r.l):r}var Ot=St;var Pt=Ft;var Nt=Dt;function Mt(e){var r=e.slice(e.l,e.l+4);var t=r[0]&1,a=r[0]&2;e.l+=4;r[0]&=252;var n=a===0?xr([0,0,0,0,r[0],r[1],r[2],r[3]],0):Or(r,0)>>2;return t?n/100:n}function Lt(e,r){if(r==null)r=Gr(4);var t=0,a=0,n=e*100;if(e==(e|0)&&e>=-(1<<29)&&e<1<<29){a=1}else if(n==(n|0)&&n>=-(1<<29)&&n<1<<29){a=1;t=1}if(a)r._W(-4,((t?n:e)<<2)+(t+2));else throw new Error("unsupported RkNumber "+e)}function Ut(e){var r={s:{},e:{}};r.s.r=e._R(4);r.e.r=e._R(4);r.s.c=e._R(4);r.e.c=e._R(4);return r}function Wt(e,r){if(!r)r=Gr(16);r._W(4,e.s.r);r._W(4,e.e.r);r._W(4,e.s.c);r._W(4,e.e.c);return r}var Vt=Ut;var Ht=Wt;function Xt(e){return e._R(8,"f")}function Gt(e,r){return(r||Gr(8))._W(8,e,"f")}var zt={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"};var jt=R(zt);function $t(e){var r={};var t=e._R(1);var a=t>>>1;var n=e._R(1);var i=e._R(2,"i");var s=e._R(1);var f=e._R(1);var l=e._R(1);e.l++;switch(a){case 0:r.auto=1;break;case 1:r.index=n;var o=ka[n];if(o)r.rgb=$f(o);break;case 2:r.rgb=$f([s,f,l]);break;case 3:r.theme=n;break}if(i!=0)r.tint=i>0?i/32767:i/32768;return r}function Kt(e,r){if(!r)r=Gr(8);if(!e||e.auto){r._W(4,0);r._W(4,0);return r}if(e.index){r._W(1,2);r._W(1,e.index)}else if(e.theme){r._W(1,6);r._W(1,e.theme)}else{r._W(1,5);r._W(1,0)}var t=e.tint||0;if(t>0)t*=32767;else if(t<0)t*=32768;r._W(2,t);if(!e.rgb){r._W(2,0);r._W(1,0);r._W(1,0)}else{var a=e.rgb||"FFFFFF";r._W(1,parseInt(a.slice(0,2),16));r._W(1,parseInt(a.slice(2,4),16));r._W(1,parseInt(a.slice(4,6),16));r._W(1,255)}return r}function Yt(e){var r=e._R(1);e.l++;var t={fItalic:r&2,fStrikeout:r&8,fOutline:r&16,fShadow:r&32,fCondense:r&64,fExtend:r&128};return t}function Qt(e,r){if(!r)r=Gr(2);var t=(e.italic?2:0)|(e.strike?8:0)|(e.outline?16:0)|(e.shadow?32:0)|(e.condense?64:0)|(e.extend?128:0);r._W(1,t);r._W(1,0);return r}function Jt(e,r){var t={2:"BITMAP",3:"METAFILEPICT",8:"DIB",14:"ENHMETAFILE"};var a=e._R(4);switch(a){case 0:return"";case 4294967295:case 4294967294:return t[e._R(4)]||""}if(a>400)throw new Error("Unsupported Clipboard: "+a.toString(16));e.l-=4;return e._R(0,r==1?"lpstr":"lpwstr")}function Zt(e){return Jt(e,1)}function qt(e){return Jt(e,2)}var ea=2;var ra=3;var ta=11;var aa=12;var na=19;var ia=30;var sa=64;var fa=65;var la=71;var oa=4096;var ca=80;var ua=81;var ha=[ca,ua];var da={1:{n:"CodePage",t:ea},2:{n:"Category",t:ca},3:{n:"PresentationFormat",t:ca},4:{n:"ByteCount",t:ra},5:{n:"LineCount",t:ra},6:{n:"ParagraphCount",t:ra},7:{n:"SlideCount",t:ra},8:{n:"NoteCount",t:ra},9:{n:"HiddenCount",t:ra},10:{n:"MultimediaClipCount",t:ra},11:{n:"ScaleCrop",t:ta},12:{n:"HeadingPairs",t:oa|aa},13:{n:"TitlesOfParts",t:oa|ia},14:{n:"Manager",t:ca},15:{n:"Company",t:ca},16:{n:"LinksUpToDate",t:ta},17:{n:"CharacterCount",t:ra},19:{n:"SharedDoc",t:ta},22:{n:"HyperlinksChanged",t:ta},23:{n:"AppVersion",t:ra,p:"version"},24:{n:"DigSig",t:fa},26:{n:"ContentType",t:ca},27:{n:"ContentStatus",t:ca},28:{n:"Language",t:ca},29:{n:"Version",t:ca},255:{}};var va={1:{n:"CodePage",t:ea},2:{n:"Title",t:ca},3:{n:"Subject",t:ca},4:{n:"Author",t:ca},5:{n:"Keywords",t:ca},6:{n:"Comments",t:ca},7:{n:"Template",t:ca},8:{n:"LastAuthor",t:ca},9:{n:"RevNumber",t:ca},10:{n:"EditTime",t:sa},11:{n:"LastPrinted",t:sa},12:{n:"CreatedDate",t:sa},13:{n:"ModifiedDate",t:sa},14:{n:"PageCount",t:ra},15:{n:"WordCount",t:ra},16:{n:"CharCount",t:ra},17:{n:"Thumbnail",t:la},18:{n:"Application",t:ca},19:{n:"DocSecurity",t:ra},255:{}};var pa={2147483648:{n:"Locale",t:na},2147483651:{n:"Behavior",t:na},1919054434:{}};(function(){for(var e in pa)if(pa.hasOwnProperty(e))da[e]=va[e]=pa[e]})();var ma=_(da,"n");var ba=_(va,"n");var ga={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"};var Ea=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];function Sa(e){return e.map(function(e){return[e>>16&255,e>>8&255,e&255]})}var ka=Sa([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]);var wa={"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.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+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.chart+xml":"TODO","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"};var Ca=function(){var t={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"}};be(t).forEach(function(r){["xlsm","xlam"].forEach(function(e){if(!t[r][e])t[r][e]=t[r].xlsx})});be(t).forEach(function(r){be(t[r]).forEach(function(e){wa[t[r][e]]=r})});return t}();var Ba=y(wa);ir.CT="http://schemas.openxmlformats.org/package/2006/content-types";function Ta(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],TODO:[],xmlns:""}}function Ia(e){var t=Ta();if(!e||!e.match)return t;var a={};(e.match(ce)||[]).forEach(function(e){var r=de(e);switch(r[0].replace(ue,"<")){case"0?t.calcchains[0]:"";t.sst=t.strs.length>0?t.strs[0]:"";t.style=t.styles.length>0?t.styles[0]:"";t.defaults=a;delete t.calcchains;return t}var xa=tr("Types",null,{xmlns:ir.CT,"xmlns:xsd":ir.xsd,"xmlns:xsi":ir.xsi});var _a=[["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["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",Ba.rels[0]]].map(function(e){return tr("Default",null,{Extension:e[0],ContentType:e[1]})});function Aa(t,a){var n=[],r;n[n.length]=le;n[n.length]=xa;n=n.concat(_a);var e=function(e){if(t[e]&&t[e].length>0){r=t[e][0];n[n.length]=tr("Override",null,{PartName:(r[0]=="/"?"":"/")+r,ContentType:Ca[e][a.bookType||"xlsx"]})}};var i=function(r){(t[r]||[]).forEach(function(e){n[n.length]=tr("Override",null,{PartName:(e[0]=="/"?"":"/")+e,ContentType:Ca[r][a.bookType||"xlsx"]})})};var s=function(r){(t[r]||[]).forEach(function(e){n[n.length]=tr("Override",null,{PartName:(e[0]=="/"?"":"/")+e,ContentType:Ba[r][0]})})};e("workbooks");i("sheets");i("charts");s("themes");["strs","styles"].forEach(e);["coreprops","extprops","custprops"].forEach(s);s("vba");s("comments");s("drawings");if(n.length>2){n[n.length]="";n[1]=n[1].replace("/>",">")}return n.join("")}var Ra={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",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function ya(e){var r=e.lastIndexOf("/");return e.slice(0,r+1)+"_rels/"+e.slice(r+1)+".rels"}function Fa(e,n){if(!e)return e;if(n.charAt(0)!=="/"){n="/"+n}var i={};var s={};(e.match(ce)||[]).forEach(function(e){var r=de(e);if(r[0]==="2){t[t.length]="";t[1]=t[1].replace("/>",">")}return t.join("")}function Pa(e,r,t,a,n){if(!n)n={};if(!e["!id"])e["!id"]={};if(r<0)for(r=1;e["!id"]["rId"+r];++r){}n.Id="rId"+r;n.Type=a;n.Target=t;if(n.Type==Ra.HLINK)n.TargetMode="External";if(e["!id"][n.Id])throw new Error("Cannot rewrite rId "+r);e["!id"][n.Id]=n;e[("/"+n.Target).replace("//","/")]=n;return r}var Na="application/vnd.oasis.opendocument.spreadsheet";function Ma(e,r){var t=Mv(e);var a;var n;while(a=Lv.exec(t))switch(a[3]){case"manifest":break;case"file-entry":n=de(a[0],false);if(n.path=="/"&&n.type!==Na)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(r&&r.WTF)throw a}}function La(e){var r=[le];r.push('\n');r.push(' \n');for(var t=0;t\n');r.push("");return r.join("")}function Ua(e,r,t){return[' \n',' \n'," \n"].join("")}function Wa(e,r){return[' \n',' \n'," \n"].join("")}function Va(e){var r=[le];r.push('\n');for(var t=0;t!=e.length;++t){r.push(Ua(e[t][0],e[t][1]));r.push(Wa("",e[t][0]))}r.push(Ua("","Document","pkg"));r.push("");return r.join("")}var Ha=function(){var r='Sheet'+"JS "+a.version+"";return function e(){return r}}();var Xa=[["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"]];ir.CORE_PROPS="http://schemas.openxmlformats.org/package/2006/metadata/core-properties";Ra.CORE_PROPS="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties";var Ga=function(){var e=new Array(Xa.length);for(var r=0;r]*>([\\s\\S]*?)")}return e}();function za(e){var r={};e=He(e);for(var t=0;t0)r[a[1]]=n[1];if(a[2]==="date"&&r[a[1]])r[a[1]]=ae(r[a[1]])}return r}var ja=tr("cp:coreProperties",null,{"xmlns:cp":ir.CORE_PROPS,"xmlns:dc":ir.dc,"xmlns:dcterms":ir.dcterms,"xmlns:dcmitype":ir.dcmitype,"xmlns:xsi":ir.xsi});function $a(e,r,t,a,n){if(n[e]!=null||r==null||r==="")return;n[e]=r;a[a.length]=t?tr(e,r,t):er(e,r)}function Ka(e,r){var t=r||{};var a=[le,ja],n={};if(!e&&!t.Props)return a.join("");if(e){if(e.CreatedDate!=null)$a("dcterms:created",typeof e.CreatedDate==="string"?e.CreatedDate:ar(e.CreatedDate,t.WTF),{"xsi:type":"dcterms:W3CDTF"},a,n);if(e.ModifiedDate!=null)$a("dcterms:modified",typeof e.ModifiedDate==="string"?e.ModifiedDate:ar(e.ModifiedDate,t.WTF),{"xsi:type":"dcterms:W3CDTF"},a,n)}for(var i=0;i!=Xa.length;++i){var s=Xa[i];var f=t.Props&&t.Props[s[1]]!=null?t.Props[s[1]]:e?e[s[1]]:null;if(f===true)f="1";else if(f===false)f="0";else if(typeof f=="number")f=String(f);if(f!=null)$a(s[0],f,null,a,n)}if(a.length>2){a[a.length]="";a[1]=a[1].replace("/>",">")}return a.join("")}var Ya=[["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"]];ir.EXT_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties";Ra.EXT_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties";var Qa=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function Ja(e,r,t,a){var n=[];if(typeof e=="string")n=Ze(e,a);else for(var i=0;i0)for(var o=0;o!==n.length;o+=2){l=+n[o+1].v;switch(n[o].v){case"Worksheets":case"工作表":case"Листы":case"أوراق العمل":case"ワークシート":case"גליונות עבודה":case"Arbeitsblätter":case"Çalışma Sayfaları":case"Feuilles de calcul":case"Fogli di lavoro":case"Folhas de cálculo":case"Planilhas":case"Regneark":case"Werkbladen":t.Worksheets=l;t.SheetNames=s.slice(f,f+l);break;case"Named Ranges":case"名前付き一覧":case"Benannte Bereiche":case"Navngivne områder":t.NamedRanges=l;t.DefinedNames=s.slice(f,f+l);break;case"Charts":case"Diagramme":t.Chartsheets=l;t.ChartNames=s.slice(f,f+l);break}f+=l}}function Za(t,a,e){var n={};if(!a)a={};t=He(t);Ya.forEach(function(e){switch(e[2]){case"string":a[e[1]]=(t.match($e(e[0]))||[])[1];break;case"bool":a[e[1]]=(t.match($e(e[0]))||[])[1]==="true";break;case"raw":var r=t.match(new RegExp("<"+e[0]+"[^>]*>([\\s\\S]*?)"));if(r&&r.length>0)n[e[1]]=r[1];break}});if(n.HeadingPairs&&n.TitlesOfParts)Ja(n.HeadingPairs,n.TitlesOfParts,a,e);return a}var qa=tr("Properties",null,{xmlns:ir.EXT_PROPS,"xmlns:vt":ir.vt});function en(t){var a=[],n=tr;if(!t)t={};t.Application="SheetJS";a[a.length]=le;a[a.length]=qa;Ya.forEach(function(e){if(t[e[1]]===undefined)return;var r;switch(e[2]){case"string":r=String(t[e[1]]);break;case"bool":r=t[e[1]]?"true":"false";break}if(r!==undefined)a[a.length]=n(e[0],r)});a[a.length]=n("HeadingPairs",n("vt:vector",n("vt:variant","Worksheets")+n("vt:variant",n("vt:i4",String(t.Worksheets))),{size:2,baseType:"variant"}));a[a.length]=n("TitlesOfParts",n("vt:vector",t.SheetNames.map(function(e){return""+Be(e)+""}).join(""),{size:t.Worksheets,baseType:"lpstr"}));if(a.length>2){a[a.length]="";a[1]=a[1].replace("/>",">")}return a.join("")}ir.CUST_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/custom-properties";Ra.CUST_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties";var rn=/<[^>]+>[^<]*/g;function tn(e,r){var t={},a="";var n=e.match(rn);if(n)for(var i=0;i!=n.length;++i){var s=n[i],f=de(s);switch(f[0]){case"":a=null;break;default:if(s.indexOf("");var o=l[0].slice(4),c=l[1];switch(o){case"lpstr":case"bstr":case"lpwstr":t[a]=ke(c);break;case"bool":t[a]=Ve(c);break;case"i1":case"i2":case"i4":case"i8":case"int":case"uint":t[a]=parseInt(c,10);break;case"r4":case"r8":case"decimal":t[a]=parseFloat(c);break;case"filetime":case"date":t[a]=ae(c);break;case"cy":case"error":t[a]=ke(c);break;default:if(o.slice(-1)=="/")break;if(r.WTF&&typeof console!=="undefined")console.warn("Unexpected",s,o,l)}}else if(s.slice(0,2)==="2){a[a.length]="";a[1]=a[1].replace("/>",">")}return a.join("")}var sn={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"};var fn=A(sn);function ln(e,r,t){r=fn[r]||r;e[r]=t}function on(t,a){var n=[];be(sn).map(function(e){for(var r=0;r'+s.join("")+""}function un(e){var r=e._R(4),t=e._R(4);return new Date((t/1e7*Math.pow(2,32)+r/1e7-11644473600)*1e3).toISOString().replace(/\.000/,"")}function hn(e){var r=typeof e=="string"?new Date(Date.parse(e)):e;var t=r.getTime()/1e3+11644473600;var a=t%Math.pow(2,32),n=(t-a)/Math.pow(2,32);a*=1e7;n*=1e7;var i=a/Math.pow(2,32)|0;if(i>0){a=a%Math.pow(2,32);n+=i}var s=Gr(8);s._W(4,a);s._W(4,n);return s}function dn(e,r,t){var a=e.l;var n=e._R(0,"lpstr-cp");if(t)while(e.l-a&3)++e.l;return n}function vn(e,r,t){var a=e._R(0,"lpwstr");if(t)e.l+=4-(a.length+1&3)&3;return a}function pn(e,r,t){if(r===31)return vn(e);return dn(e,r,t)}function mn(e,r,t){return pn(e,r,t===false?0:4)}function bn(e,r){if(!r)throw new Error("VtUnalignedString must have positive length");return pn(e,r,0)}function gn(e){var r=e._R(4);var t=[];for(var a=0;a!=r;++a)t[a]=e._R(0,"lpstr-cp").replace(ye,"");return t}function En(e){return gn(e)}function Sn(e){var r=In(e,ua);var t=In(e,ra);return[r,t]}function kn(e){var r=e._R(4);var t=[];for(var a=0;a!=r/2;++a)t.push(Sn(e));return t}function wn(e){return kn(e)}function Cn(e,r){var t=e._R(4);var a={};for(var n=0;n!=t;++n){var i=e._R(4);var s=e._R(4);a[i]=e._R(s,r===1200?"utf16le":"utf8").replace(ye,"").replace(Fe,"!");if(r===1200&&s%2)e.l+=2}if(e.l&3)e.l=e.l>>2+1<<2;return a}function Bn(e){var r=e._R(4);var t=e.slice(e.l,e.l+r);e.l+=r;if((r&3)>0)e.l+=4-(r&3)&3;return t}function Tn(e){var r={};r.Size=e._R(4);e.l+=r.Size+3-(r.Size-1)%4;return r}function In(e,r,t){var a=e._R(2),n,i=t||{};e.l+=2;if(r!==aa)if(a!==r&&ha.indexOf(r)===-1)throw new Error("Expected type "+r+" saw "+a);switch(r===aa?a:r){case 2:n=e._R(2,"i");if(!i.raw)e.l+=2;return n;case 3:n=e._R(4,"i");return n;case 11:return e._R(4)!==0;case 19:n=e._R(4);return n;case 30:return dn(e,a,4).replace(ye,"");case 31:return vn(e);case 64:return un(e);case 65:return Bn(e);case 71:return Tn(e);case 80:return mn(e,a,!i.raw).replace(ye,"");case 81:return bn(e,a).replace(ye,"");case 4108:return wn(e);case 4126:return En(e);default:throw new Error("TypedPropertyValue unrecognized type "+r+" "+a)}}function xn(e,r){var t=Gr(4),a=Gr(4);t._W(4,e==80?31:e);switch(e){case 3:a._W(-4,r);break;case 5:a=Gr(8);a._W(8,r,"f");break;case 11:a._W(4,r?1:0);break;case 64:a=hn(r);break;case 31:case 80:a=Gr(4+2*(r.length+1)+(r.length%2?0:2));a._W(4,r.length+1);a._W(0,r,"dbcs");while(a.l!=a.length)a._W(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+r)}return Re([t,a])}function _n(e,r){var t=e.l;var a=e._R(4);var n=e._R(4);var i=[],s=0;var f=0;var l=-1,o={};for(s=0;s!=n;++s){var c=e._R(4);var u=e._R(4);i[s]=[c,u+t]}i.sort(function(e,r){return e[1]-r[1]});var h={};for(s=0;s!=n;++s){if(e.l!==i[s][1]){var d=true;if(s>0&&r)switch(r[i[s-1][0]].t){case 2:if(e.l+2===i[s][1]){e.l+=2;d=false}break;case 80:if(e.l<=i[s][1]){e.l=i[s][1];d=false}break;case 4108:if(e.l<=i[s][1]){e.l=i[s][1];d=false}break}if((!r||s==0)&&e.l<=i[s][1]){d=false;e.l=i[s][1]}if(d)throw new Error("Read Error: Expected address "+i[s][1]+" at "+e.l+" :"+s)}if(r){var v=r[i[s][0]];h[v.n]=In(e,v.t,{raw:true});if(v.p==="version")h[v.n]=String(h[v.n]>>16)+"."+("0000"+String(h[v.n]&65535)).slice(-4);if(v.n=="CodePage")switch(h[v.n]){case 0:h[v.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:ve(f=h[v.n]>>>0&65535);break;default:throw new Error("Unsupported CodePage: "+h[v.n])}}else{if(i[s][0]===1){f=h.CodePage=In(e,ea);ve(f);if(l!==-1){var p=e.l;e.l=i[l][1];o=Cn(e,f);e.l=p}}else if(i[s][0]===0){if(f===0){l=s;e.l=i[s+1][1];continue}o=Cn(e,f)}else{var m=o[i[s][0]];var b;switch(e[e.l]){case 65:e.l+=4;b=Bn(e);break;case 30:e.l+=4;b=mn(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 31:e.l+=4;b=mn(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 3:e.l+=4;b=e._R(4,"i");break;case 19:e.l+=4;b=e._R(4);break;case 5:e.l+=4;b=e._R(8,"f");break;case 11:e.l+=4;b=Mn(e,4);break;case 64:e.l+=4;b=ae(un(e));break;default:throw new Error("unparsed value: "+e[e.l])}h[m]=b}}}e.l=t+a;return h}var An=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"].concat(Qa);function Rn(e){switch(typeof e){case"boolean":return 11;case"number":return(e|0)==e?3:5;case"string":return 31;case"object":if(e instanceof Date)return 64;break}return-1}function yn(e,r,t){var a=Gr(8),n=[],i=[];var s=8,f=0;var l=Gr(8),o=Gr(8);l._W(4,2);l._W(4,1200);o._W(4,1);i.push(l);n.push(o);s+=8+l.length;if(!r){o=Gr(8);o._W(4,0);n.unshift(o);var c=[Gr(4)];c[0]._W(4,e.length);for(f=0;f-1)continue;if(e[f][1]==null)continue;var h=e[f][1],d=0;if(r){d=+r[e[f][0]];var v=t[d];if(v.p=="version"&&typeof h=="string"){var p=h.split(".");h=(+p[0]<<16)+(+p[1]||0)}l=xn(v.t,h)}else{var m=Rn(h);if(m==-1){m=31;h=String(h)}l=xn(m,h)}i.push(l);o=Gr(8);o._W(4,!r?2+f:d);n.push(o);s+=8+l.length}var b=8*(i.length+1);for(f=0;f=12?2:1);var n="sbcs-cont";var i=h;if(t&&t.biff>=8)h=1200;if(!t||t.biff==8){var s=e._R(1);if(s){n="dbcs-cont"}}else if(t.biff==12){n="wstr"}if(t.biff>=2&&t.biff<=5)n="cpstr";var f=a?e._R(a,n):"";h=i;return f}function zn(e){var r=h;h=1200;var t=e._R(2),a=e._R(1);var n=a&4,i=a&8;var s=1+(a&1);var f=0,l;var o={};if(i)f=e._R(2);if(n)l=e._R(4);var c=s==2?"dbcs-cont":"sbcs-cont";var u=t===0?"":e._R(t,c);if(i)e.l+=4*f;if(n)e.l+=l;o.t=u;if(!i){o.raw=""+o.t+"";o.r=o.t}h=r;return o}function jn(e,r,t){var a;if(t){if(t.biff>=2&&t.biff<=5)return e._R(r,"cpstr");if(t.biff>=12)return e._R(r,"dbcs-cont")}var n=e._R(1);if(n===0){a=e._R(r,"sbcs-cont")}else{a=e._R(r,"dbcs-cont")}return a}function $n(e,r,t){var a=e._R(t&&t.biff==2?1:2);if(a===0){e.l++;return""}return jn(e,a,t)}function Kn(e,r,t){if(t.biff>5)return $n(e,r,t);var a=e._R(1);if(a===0){e.l++;return""}return e._R(a,t.biff<=4||!e.lens?"cpstr":"sbcs-cont")}function Yn(e,r,t){if(!t)t=Gr(3+2*e.length);t._W(2,e.length);t._W(1,1);t._W(31,e,"utf16le");return t}function Qn(e){var r=e._R(1);e.l++;var t=e._R(2);e.l+=2;return[r,t]}function Jn(e){var r=e._R(4),t=e.l;var a=false;if(r>24){e.l+=r-24;if(e._R(16)==="795881f43b1d7f48af2c825dc4852763")a=true;e.l=t}var n=e._R((a?r-24:r)>>1,"utf16le").replace(ye,"");if(a)e.l+=24;return n}function Zn(e){e.l+=2;var r=e._R(0,"lpstr-ansi");e.l+=2;if(e._R(2)!=57005)throw new Error("Bad FileMoniker");var t=e._R(4);if(t===0)return r.replace(/\\/g,"/");var a=e._R(4);if(e._R(2)!=3)throw new Error("Bad FileMoniker");var n=e._R(a>>1,"utf16le").replace(ye,"");return n}function qn(e,r){var t=e._R(16);r-=16;switch(t){case"e0c9ea79f9bace118c8200aa004ba90b":return Jn(e,r);case"0303000000000000c000000000000046":return Zn(e,r);default:throw new Error("Unsupported Moniker "+t)}}function ei(e){var r=e._R(4);var t=r>0?e._R(r,"utf16le").replace(ye,""):"";return t}function ri(e,r){var t=e.l+r;var a=e._R(4);if(a!==2)throw new Error("Unrecognized streamVersion: "+a);var n=e._R(2);e.l+=2;var i,s,f,l,o="",c,u;if(n&16)i=ei(e,t-e.l);if(n&128)s=ei(e,t-e.l);if((n&257)===257)f=ei(e,t-e.l);if((n&257)===1)l=qn(e,t-e.l);if(n&8)o=ei(e,t-e.l);if(n&32)c=e._R(16);if(n&64)u=un(e);e.l=t;var h=s||f||l||"";if(h&&o)h+="#"+o;if(!h)h="#"+o;var d={Target:h};if(c)d.guid=c;if(u)d.time=u;if(i)d.Tooltip=i;return d}function ti(e){var r=Gr(512),t=0;var a=e.Target;var n=a.indexOf("#")>-1?31:23;switch(a.charAt(0)){case"#":n=28;break;case".":n&=~2;break}r._W(4,2);r._W(4,n);var i=[8,6815827,6619237,4849780,83];for(t=0;t8?4:2;var n=e._R(a),i=e._R(a,"i"),s=e._R(a,"i");return[n,i,s]}function ci(e){var r=e._R(2);var t=Mt(e);return[r,t]}function ui(e,r,t){e.l+=4;r-=4;var a=e.l+r;var n=Gn(e,r,t);var i=e._R(2);a-=e.l;if(i!==a)throw new Error("Malformed AddinUdf: padding = "+a+" != "+i);e.l+=i;return n}function hi(e){var r=e._R(2);var t=e._R(2);var a=e._R(2);var n=e._R(2);return{s:{c:a,r:r},e:{c:n,r:t}}}function di(e,r){if(!r)r=Gr(8);r._W(2,e.s.r);r._W(2,e.e.r);r._W(2,e.s.c);r._W(2,e.e.c);return r}function vi(e){var r=e._R(2);var t=e._R(2);var a=e._R(1);var n=e._R(1);return{s:{c:a,r:r},e:{c:n,r:t}}}var pi=vi;function mi(e){e.l+=4;var r=e._R(2);var t=e._R(2);var a=e._R(2);e.l+=12;return[t,r,a]}function bi(e){var r={};e.l+=4;e.l+=16;r.fSharedNote=e._R(2);e.l+=4;return r}function gi(e){var r={};e.l+=4;e.cf=e._R(2);return r}function Ei(e){e.l+=2;e.l+=e._R(2)}var Si={0:Ei,4:Ei,5:Ei,6:Ei,7:gi,8:Ei,9:Ei,10:Ei,11:Ei,12:Ei,13:bi,14:Ei,15:Ei,16:Ei,17:Ei,18:Ei,19:Ei,20:Ei,21:mi};function ki(r,e){var t=r.l+e;var a=[];while(r.l=2){t.dt=e._R(2);e.l-=2}switch(t.BIFFVer){case 1536:case 1280:case 1024:case 768:case 512:case 2:case 7:break;default:if(r>6)throw new Error("Unexpected BIFF Ver "+t.BIFFVer)}e._R(r);return t}function Ci(e,r,t){var a=1536,n=16;switch(t.bookType){case"biff8":break;case"biff5":a=1280;n=8;break;case"biff4":a=4;n=6;break;case"biff3":a=3;n=6;break;case"biff2":a=2;n=4;break;case"xla":break;default:throw new Error("unsupported BIFF version")}var i=Gr(n);i._W(2,a);i._W(2,r);if(n>4)i._W(2,29282);if(n>6)i._W(2,1997);if(n>8){i._W(2,49161);i._W(2,1);i._W(2,1798);i._W(2,0)}return i}function Bi(e,r){if(r===0)return 1200;if(e._R(2)!==1200){}return 1200}function Ti(e,r,t){if(t.enc){e.l+=r;return""}var a=e.l;var n=Kn(e,0,t);e._R(r+a-e.l);return n}function Ii(e,r){var t=!r||r.biff==8;var a=Gr(t?112:54);a._W(r.biff==8?2:1,7);if(t)a._W(1,0);a._W(4,859007059);a._W(4,5458548|(t?0:536870912));while(a.l=8?2:1;var a=Gr(8+t*e.name.length);a._W(4,e.pos);a._W(1,e.hs||0);a._W(1,e.dt);a._W(1,e.name.length);if(r.biff>=8)a._W(1,1);a._W(t*e.name.length,e.name,r.biff<8?"sbcs":"utf16le");var n=a.slice(0,a.l);n.l=a.l;return n}function Ri(e,r){var t=e.l+r;var a=e._R(4);var n=e._R(4);var i=[];for(var s=0;s!=n&&e.l>15);n&=32767}var i={Unsynced:a&1,DyZero:(a&2)>>1,ExAsc:(a&4)>>2,ExDsc:(a&8)>>3};return[i,n]}function Ni(e){var r=e._R(2),t=e._R(2),a=e._R(2),n=e._R(2);var i=e._R(2),s=e._R(2),f=e._R(2);var l=e._R(2),o=e._R(2);return{Pos:[r,t],Dim:[a,n],Flags:i,CurTab:s,FirstTab:f,Selected:l,TabRatio:o}}function Mi(){var e=Gr(18);e._W(2,0);e._W(2,0);e._W(2,29280);e._W(2,17600);e._W(2,56);e._W(2,0);e._W(2,0);e._W(2,1);e._W(2,500);return e}function Li(e,r,t){if(t&&t.biff>=2&&t.biff<8)return{};var a=e._R(2);return{RTL:a&64}}function Ui(e){var r=Gr(18),t=1718;if(e&&e.RTL)t|=64;r._W(2,t);r._W(4,0);r._W(4,64);r._W(4,0);r._W(4,0);return r}function Wi(e,r,t){var a={dyHeight:e._R(2),fl:e._R(2)};switch(t&&t.biff||8){case 2:break;case 3:case 4:e.l+=2;break;default:e.l+=10;break}a.name=Gn(e,0,t);return a}function Vi(e,r){var t=e.name||"Arial";var a=r&&r.biff==5,n=a?15+t.length:16+2*t.length;var i=Gr(n);i._W(2,(e.sz||12)*20);i._W(4,0);i._W(2,400);i._W(4,0);i._W(2,0);i._W(1,t.length);if(!a)i._W(1,1);i._W((a?1:2)*t.length,t,a?"sbcs":"utf16le");return i}function Hi(e){var r=ii(e);r.isst=e._R(4);return r}function Xi(e,r,t){var a=e.l+r;var n=ii(e,6);if(t.biff==2)e.l++;var i=$n(e,a-e.l,t);n.val=i;return n}function Gi(e,r,t,a,n){var i=!n||n.biff==8;var s=Gr(6+2+ +i+(1+i)*t.length);si(e,r,a,s);s._W(2,t.length);if(i)s._W(1,1);s._W((1+i)*t.length,t,i?"utf16le":"sbcs");return s}function zi(e,r,t){var a=e._R(2);var n=Kn(e,0,t);return[a,n]}function ji(e,r,t,a){var n=t&&t.biff==5;if(!a)a=Gr(n?3+r.length:5+2*r.length);a._W(2,e);a._W(n?1:2,r.length);if(!n)a._W(1,1);a._W((n?1:2)*r.length,r,n?"sbcs":"utf16le");var i=a.length>a.l?a.slice(0,a.l):a;if(i.l==null)i.l=i.length;return i}var $i=Kn;function Ki(e,r,t){var a=e.l+r;var n=t.biff==8||!t.biff?4:2;var i=e._R(n),s=e._R(n);var f=e._R(2),l=e._R(2);e.l=a;return{s:{r:i,c:f},e:{r:s,c:l}}}function Yi(e,r){var t=r.biff==8||!r.biff?4:2;var a=Gr(2*t+6);a._W(t,e.s.r);a._W(t,e.e.r+1);a._W(2,e.s.c);a._W(2,e.e.c+1);a._W(2,0);return a}function Qi(e){var r=e._R(2),t=e._R(2);var a=ci(e);return{r:r,c:t,ixfe:a[0],rknum:a[1]}}function Ji(e,r){var t=e.l+r-2;var a=e._R(2),n=e._R(2);var i=[];while(e.l>26];if(!a.cellStyles)return n;n.alc=i&7;n.fWrap=i>>3&1;n.alcV=i>>4&7;n.fJustLast=i>>7&1;n.trot=i>>8&255;n.cIndent=i>>16&15;n.fShrinkToFit=i>>20&1;n.iReadOrder=i>>22&2;n.fAtrNum=i>>26&1;n.fAtrFnt=i>>27&1;n.fAtrAlc=i>>28&1;n.fAtrBdr=i>>29&1;n.fAtrPat=i>>30&1;n.fAtrProt=i>>31&1;n.dgLeft=s&15;n.dgRight=s>>4&15;n.dgTop=s>>8&15;n.dgBottom=s>>12&15;n.icvLeft=s>>16&127;n.icvRight=s>>23&127;n.grbitDiag=s>>30&3;n.icvTop=f&127;n.icvBottom=f>>7&127;n.icvDiag=f>>14&127;n.dgDiag=f>>21&15;n.icvFore=l&127;n.icvBack=l>>7&127;n.fsxButton=l>>14&1;return n}function es(e,r,t){var a={};a.ifnt=e._R(2);a.numFmtId=e._R(2);a.flags=e._R(2);a.fStyle=a.flags>>2&1;r-=6;a.data=qi(e,r,a.fStyle,t);return a}function rs(e,r,t,a){var n=t&&t.biff==5;if(!a)a=Gr(n?16:20);a._W(2,0);if(e.style){a._W(2,e.numFmtId||0);a._W(2,65524)}else{a._W(2,e.numFmtId||0);a._W(2,r<<4)}a._W(4,0);a._W(4,0);if(!n)a._W(4,0);a._W(2,0);return a}function ts(e){e.l+=4;var r=[e._R(2),e._R(2)];if(r[0]!==0)r[0]--;if(r[1]!==0)r[1]--;if(r[0]>7||r[1]>7)throw new Error("Bad Gutters: "+r.join("|"));return r}function as(e){var r=Gr(8);r._W(4,0);r._W(2,e[0]?e[0]+1:0);r._W(2,e[1]?e[1]+1:0);return r}function ns(e,r,t){var a=ii(e,6);if(t.biff==2)++e.l;var n=Hn(e,2);a.val=n;a.t=n===true||n===false?"b":"e";return a}function is(e,r,t,a,n,i){var s=Gr(8);si(e,r,a,s);Xn(t,i,s);return s}function ss(e){var r=ii(e,6);var t=Xt(e,8);r.val=t;return r}function fs(e,r,t,a){var n=Gr(14);si(e,r,a,n);Gt(t,n);return n}var ls=li;function os(e,r,t){var a=e.l+r;var n=e._R(2);var i=e._R(2);t.sbcch=i;if(i==1025||i==14849)return[i,n];if(i<1||i>255)throw new Error("Unexpected SupBook type: "+i);var s=jn(e,i);var f=[];while(a>e.l)f.push($n(e));return[i,n,s,f]}function cs(e,r,t){var a=e._R(2);var n;var i={fBuiltIn:a&1,fWantAdvise:a>>>1&1,fWantPict:a>>>2&1,fOle:a>>>3&1,fOleLink:a>>>4&1,cf:a>>>5&1023,fIcon:a>>>15&1};if(t.sbcch===14849)n=ui(e,r-2,t);i.body=n||e._R(r-2);if(typeof n==="string")i.Name=n;return i}var us=["_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 hs(e,r,t){var a=e.l+r;var n=e._R(2);var i=e._R(1);var s=e._R(1);var f=e._R(t&&t.biff==2?1:2);var l=0;if(!t||t.biff>=5){if(t.biff!=5)e.l+=2;l=e._R(2);if(t.biff==5)e.l+=2;e.l+=4}var o=jn(e,s,t);if(n&32)o=us[o.charCodeAt(0)];var c=a-e.l;if(t&&t.biff==2)--c;var u=a==e.l||f===0?[]:xu(e,c,t,f);return{chKey:i,Name:o,itab:l,rgce:u}}function ds(e,r,t){if(t.biff<8)return vs(e,r,t);var a=[],n=e.l+r,i=e._R(t.biff>8?4:2);while(i--!==0)a.push(oi(e,t.biff>8?12:6,t));if(e.l!=n)throw new Error("Bad ExternSheet: "+e.l+" != "+n);return a}function vs(e,r,t){if(e[e.l+1]==3)e[e.l]++;var a=Gn(e,r,t);return a.charCodeAt(0)==3?a.slice(1):a}function ps(e,r,t){if(t.biff<8){e.l+=r;return}var a=e._R(2);var n=e._R(2);var i=jn(e,a,t);var s=jn(e,n,t);return[i,s]}function ms(e,r,t){var a=vi(e,6);e.l++;var n=e._R(1);r-=8;return[_u(e,r,t),n,a]}function bs(e,r,t){var a=pi(e,6);switch(t.biff){case 2:e.l++;r-=7;break;case 3:case 4:e.l+=2;r-=8;break;default:e.l+=6;r-=12}return[a,Tu(e,r,t,a)]}function gs(e){var r=e._R(4)!==0;var t=e._R(4)!==0;var a=e._R(4);return[r,t,a]}function Es(e,r,t){if(t.biff<8)return;var a=e._R(2),n=e._R(2);var i=e._R(2),s=e._R(2);var f=Kn(e,0,t);if(t.biff<8)e._R(1);return[{r:a,c:n},f,s,i]}function Ss(e,r,t){return Es(e,r,t)}function ks(e,r){var t=[];var a=e._R(2);while(a--)t.push(hi(e,r));return t}function ws(e){var r=Gr(2+e.length*8);r._W(2,e.length);for(var t=0;t=(c?f:2*f))break}if(n.length!==f&&n.length!==f*2){throw new Error("cchText: "+f+" != "+n.length)}r.l=a+t;return{t:n}}catch(e){r.l=a+t;return{t:n}}}function xs(e,r){var t=hi(e,8);e.l+=16;var a=ri(e,r-24);return[t,a]}function _s(e){var r=Gr(24);var t=ot(e[0]);r._W(2,t.r);r._W(2,t.r);r._W(2,t.c);r._W(2,t.c);var a="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" ");for(var n=0;n<16;++n)r._W(1,parseInt(a[n],16));return Re([r,ti(e[1])])}function As(e,r){e._R(2);var t=hi(e,8);var a=e._R((r-10)/2,"dbcs-cont");a=a.replace(ye,"");return[t,a]}function Rs(e){var r=e[1].Tooltip;var t=Gr(10+2*(r.length+1));t._W(2,2048);var a=ot(e[0]);t._W(2,a.r);t._W(2,a.r);t._W(2,a.c);t._W(2,a.c);for(var n=0;n0)t.push(ni(e,8));return t}function Os(e){var r=e._R(2);var t=[];while(r-- >0)t.push(ni(e,8));return t}function Ps(e){e.l+=2;var r={cxfs:0,crc:0};r.cxfs=e._R(2);r.crc=e._R(4);return r}function Ns(e,r,t){if(!t.cellStyles)return Xr(e,r);var a=t&&t.biff>=12?4:2;var n=e._R(a);var i=e._R(a);var s=e._R(a);var f=e._R(a);var l=e._R(2);if(a==2)e.l+=2;return{s:n,e:i,w:s,ixfe:f,flags:l}}function Ms(e,r){var t={};if(r<32)return t;e.l+=16;t.header=Xt(e,8);t.footer=Xt(e,8);e.l+=2;return t}function Ls(e,r,t){var a={area:false};if(t.biff!=5){e.l+=r;return a}var n=e._R(1);e.l+=3;if(n&16)a.area=true;return a}function Us(e){var r=Gr(2*e);for(var t=0;t0){if(a[a.l]===42){a.l+=c;continue}++a.l;t[++m]=[];b=0;for(b=0;b!=h.length;++b){var g=a.slice(a.l,a.l+h[b].len);a.l+=h[b].len;Hr(g,0);var E=cptable.utils.decode(u,g);switch(h[b].type){case"C":t[m][b]=cptable.utils.decode(u,g);t[m][b]=t[m][b].trim();break;case"D":if(E.length===8)t[m][b]=new Date(+E.slice(0,4),+E.slice(4,6)-1,+E.slice(6,8));else t[m][b]=E;break;case"F":t[m][b]=parseFloat(E.trim());break;case"+":case"I":t[m][b]=f?g._R(-4,"i")^2147483648:g._R(4,"i");break;case"L":switch(E.toUpperCase()){case"Y":case"T":t[m][b]=true;break;case"N":case"F":t[m][b]=false;break;case" ":case"?":t[m][b]=false;break;default:throw new Error("DBF Unrecognized L:|"+E+"|")}break;case"M":if(!i)throw new Error("DBF Unexpected MEMO for type "+n.toString(16));t[m][b]="##MEMO##"+(f?parseInt(E.trim(),10):g._R(4));break;case"N":t[m][b]=+E.replace(/\u0000/g,"").trim();break;case"@":t[m][b]=new Date(g._R(-8,"f")-621356832e5);break;case"T":t[m][b]=new Date((g._R(4)-2440588)*864e5+g._R(4));break;case"Y":t[m][b]=g._R(4,"i")/1e4;break;case"O":t[m][b]=-g._R(-8,"f");break;case"B":if(s&&h[b].len==8){t[m][b]=g._R(8,"f");break}case"G":case"P":g.l+=h[b].len;break;case"0":if(h[b].name==="_NullFlags")break;default:throw new Error("DBF Unsupported data type "+h[b].type)}}}if(n!=2)if(a.l0)switch(g){case"ID":break;case"E":break;case"B":break;case"O":break;case"P":if(b[1].charAt(0)=="P")l.push(m.slice(3).replace(/;;/g,";"));break;case"C":var S=false,k=false;for(s=1;s0){u[a].hpt=v;u[a].hpx=cl(v)}else if(v===0)u[a].hidden=true;break;default:if(r&&r.WTF)throw new Error("SYLK bad record "+m)}if(C<1)o=null;break;default:if(r&&r.WTF)throw new Error("SYLK bad record "+m)}}if(u.length>0)c["!rows"]=u;if(h.length>0)c["!cols"]=h;if(r&&r.sheetRows)f=f.slice(0,r.sheetRows);return[f,c]}function a(e,r){var t=s(e,r);var a=t[0],n=t[1];var i=gt(a,r);be(n).forEach(function(e){i[e]=n[e]});return i}function e(e,r){return mt(a(e,r),r)}function u(e,r,t,a){var n="C;Y"+(t+1)+";X"+(a+1)+";K";switch(e.t){case"n":n+=e.v||0;if(e.f&&!e.F)n+=";E"+zo(e.f,{r:t,c:a});break;case"b":n+=e.v?"TRUE":"FALSE";break;case"e":n+=e.w||e.v;break;case"d":n+='"'+(e.w||e.v)+'"';break;case"s":n+='"'+e.v.replace(/"/g,"")+'"';break}return n}function h(a,e){e.forEach(function(e,r){var t="F;W"+(r+1)+" "+(r+1)+" ";if(e.hidden)t+="0";else{if(typeof e.width=="number")e.wpx=rl(e.width);if(typeof e.wpx=="number")e.wch=tl(e.wpx);if(typeof e.wch=="number")t+=Math.round(e.wch)}if(t.charAt(t.length-1)!=" ")a.push(t)})}function d(a,e){e.forEach(function(e,r){var t="F;";if(e.hidden)t+="M0;";else if(e.hpt)t+="M"+20*e.hpt+";";else if(e.hpx)t+="M"+20*ol(e.hpx)+";";if(t.length>2)a.push(t+"R"+(r+1))})}function r(e,r){var t=["ID;PWXL;N;E"],a=[];var n=dt(e["!ref"]),i;var s=Array.isArray(e);var f="\r\n";t.push("P;PGeneral");t.push("F;P0;DG0G8;M255");if(e["!cols"])h(t,e["!cols"]);if(e["!rows"])d(t,e["!rows"]);t.push("B;Y"+(n.e.r-n.s.r+1)+";X"+(n.e.c-n.s.c+1)+";D"+[n.s.c,n.s.r,n.e.c,n.e.r].join(" "));for(var l=n.s.r;l<=n.e.r;++l){for(var o=n.s.c;o<=n.e.c;++o){var c=ct({r:l,c:o});i=s?(e[l]||[])[o]:e[c];if(!i||i.v==null&&(!i.f||i.F))continue;a.push(u(i,e,l,o,r))}}return t.join(f)+f+a.join(f)+f+"E"+f}return{to_workbook:e,to_sheet:a,from_sheet:r}}();var ef=function(){function t(e,r){switch(r.type){case"base64":return a(Te.decode(e),r);case"binary":return a(e,r);case"buffer":return a(e.toString("binary"),r);case"array":return a(N(e),r)}throw new Error("Unrecognized type "+r.type)}function a(e,r){var t=e.split("\n"),a=-1,n=-1,i=0,s=[];for(;i!==t.length;++i){if(t[i].trim()==="BOT"){s[++a]=[];n=0;continue}if(a<0)continue;var f=t[i].trim().split(",");var l=f[0],o=f[1];++i;var c=t[i].trim();switch(+l){case-1:if(c==="BOT"){s[++a]=[];n=0;continue}else if(c!=="EOD")throw new Error("Unrecognized DIF special command "+c);break;case 0:if(c==="TRUE")s[a][n]=true;else if(c==="FALSE")s[a][n]=false;else if(!isNaN(L(o)))s[a][n]=L(o);else if(!isNaN(U(o).getDate()))s[a][n]=ae(o);else s[a][n]=o;++n;break;case 1:c=c.slice(1,c.length-1);s[a][n++]=c!==""?c:null;break}if(c==="EOD")break}if(r&&r.sheetRows)s=s.slice(0,r.sheetRows);return s}function n(e,r){return gt(t(e,r),r)}function e(e,r){return mt(n(e,r),r)}var r=function(){var h=function e(r,t,a,n,i){r.push(t);r.push(a+","+n);r.push('"'+i.replace(/"/g,'""')+'"')};var d=function e(r,t,a,n){r.push(t+","+a);r.push(t==1?'"'+n.replace(/"/g,'""')+'"':n)};return function e(r){var t=[];var a=dt(r["!ref"]),n;var i=Array.isArray(r);h(t,"TABLE",0,1,"sheetjs");h(t,"VECTORS",0,a.e.r-a.s.r+1,"");h(t,"TUPLES",0,a.e.c-a.s.c+1,"");h(t,"DATA",0,0,"");for(var s=a.s.r;s<=a.e.r;++s){d(t,-1,0,"BOT");for(var f=a.s.c;f<=a.e.c;++f){var l=ct({r:s,c:f});n=i?(r[s]||[])[f]:r[l];if(!n){d(t,1,0,"");continue}switch(n.t){case"n":var o=v?n.w:n.v;if(!o&&n.v!=null)o=n.v;if(o==null){if(v&&n.f&&!n.F)d(t,1,0,"="+n.f);else d(t,1,0,"")}else d(t,0,o,"V");break;case"b":d(t,0,n.v?1:0,n.v?"TRUE":"FALSE");break;case"s":d(t,1,0,!v||isNaN(n.v)?n.v:'="'+n.v+'"');break;case"d":if(!n.w)n.w=me.format(n.z||me._table[14],J(ae(n.v)));if(v)d(t,0,n.w,"V");else d(t,1,0,n.w);break;default:d(t,1,0,"")}}}d(t,-1,0,"EOD");var c="\r\n";var u=t.join(c);return u}}();return{to_workbook:e,to_sheet:n,from_sheet:r}}();var rf=function(){function c(e){return e.replace(/\\b/g,"\\").replace(/\\c/g,":").replace(/\\n/g,"\n")}function u(e){return e.replace(/\\/g,"\\b").replace(/:/g,"\\c").replace(/\n/g,"\\n")}function t(e,r){var t=e.split("\n"),a=-1,n=-1,i=0,s=[];for(;i!==t.length;++i){var f=t[i].trim().split(":");if(f[0]!=="cell")continue;var l=ot(f[1]);if(s.length<=l.r)for(a=s.length;a<=l.r;++a)if(!s[a])s[a]=[];a=l.r;n=l.c;switch(f[2]){case"t":s[a][n]=c(f[3]);break;case"v":s[a][n]=+f[3];break;case"vtf":var o=f[f.length-1];case"vtc":switch(f[3]){case"nl":s[a][n]=+f[4]?true:false;break;default:s[a][n]=+f[4];break}if(f[2]=="vtf")s[a][n]=[s[a][n],o]}}if(r&&r.sheetRows)s=s.slice(0,r.sheetRows);return s}function a(e,r){return gt(t(e,r),r)}function e(e,r){return mt(a(e,r),r)}var r=["socialcalc:version:1.5","MIME-Version: 1.0","Content-Type: multipart/mixed; boundary=SocialCalcSpreadsheetControlSave"].join("\n");var n=["--SocialCalcSpreadsheetControlSave","Content-type: text/plain; charset=UTF-8"].join("\n")+"\n";var i=["# SocialCalc Spreadsheet Control Save","part:sheet"].join("\n");var s="--SocialCalcSpreadsheetControlSave--";function f(e){if(!e||!e["!ref"])return"";var r=[],t=[],a,n="";var i=ut(e["!ref"]);var s=Array.isArray(e);for(var f=i.s.r;f<=i.e.r;++f){for(var l=i.s.c;l<=i.e.c;++l){n=ct({r:f,c:l});a=s?(e[f]||[])[l]:e[n];if(!a||a.v==null||a.t==="z")continue;t=["cell",n,"t"];switch(a.t){case"s":case"str":t.push(u(a.v));break;case"n":if(!a.f){t[2]="v";t[3]=a.v}else{t[2]="vtf";t[3]="n";t[4]=a.v;t[5]=u(a.f)}break;case"b":t[2]="vt"+(a.f?"f":"c");t[3]="nl";t[4]=a.v?"1":"0";t[5]=u(a.f||(a.v?"TRUE":"FALSE"));break;case"d":var o=J(ae(a.v));t[2]="vtc";t[3]="nd";t[4]=""+o;t[5]=a.w||me.format(a.z||me._table[14],o);break;case"e":continue}r.push(t.join(":"))}}r.push("sheet:c:"+(i.e.c-i.s.c+1)+":r:"+(i.e.r-i.s.r+1)+":tvf:1");r.push("valueformat:1:text-wiki");return r.join("\n")}function l(e){return[r,n,i,n,f(e),s].join("\n")}return{to_workbook:e,to_sheet:a,from_sheet:l}}();var tf=function(){function c(e,r,t,a,n){if(n.raw)r[t][a]=e;else if(e==="TRUE")r[t][a]=true;else if(e==="FALSE")r[t][a]=false;else if(e===""){}else if(!isNaN(L(e)))r[t][a]=L(e);else if(!isNaN(U(e).getDate()))r[t][a]=ae(e);else r[t][a]=e}function t(e,r){var t=r||{};var a=[];if(!e||e.length===0)return a;var n=e.split(/[\r\n]/);var i=n.length-1;while(i>=0&&n[i].length===0)--i;var s=10,f=0;var l=0;for(;l<=i;++l){f=n[l].indexOf(" ");if(f==-1)f=n[l].length;else f++;s=Math.max(s,f)}for(l=0;l<=i;++l){a[l]=[];var o=0;c(n[l].slice(0,s).trim(),a,l,o,t);for(o=1;o<=(n[l].length-s)/10+1;++o)c(n[l].slice(s+(o-1)*10,s+o*10).trim(),a,l,o,t)}if(t.sheetRows)a=a.slice(0,t.sheetRows);return a}var i={44:",",9:"\t",59:";"};var s={44:3,9:2,59:1};function m(e){var r={},t=false,a=0,n=0;for(;a0)p();i["!ref"]=ht(s);return i}function n(e,r){if(e.slice(0,4)=="sep=")return a(e,r);if(e.indexOf("\t")>=0||e.indexOf(",")>=0||e.indexOf(";")>=0)return a(e,r);return gt(t(e,r),r)}function f(e,r){var t="",a=r.type=="string"?[0,0,0,0]:om(e,r);switch(r.type){case"base64":t=Te.decode(e);break;case"binary":t=e;break;case"buffer":if(r.codepage==65001)t=e.toString("utf8");else if(r.codepage&&typeof cptable!=="undefined")t=cptable.utils.decode(r.codepage,e);else t=e.toString("binary");break;case"array":t=N(e);break;case"string":t=e;break;default:throw new Error("Unrecognized type "+r.type)}if(a[0]==239&&a[1]==187&&a[2]==191)t=He(t.slice(3));else if(r.type=="binary"&&typeof cptable!=="undefined"&&r.codepage)t=cptable.utils.decode(r.codepage,cptable.utils.encode(1252,t));if(t.slice(0,19)=="socialcalc:version:")return rf.to_sheet(r.type=="string"?t:He(t),r);return n(t,r)}function e(e,r){return mt(f(e,r),r)}function r(e){var r=[];var t=dt(e["!ref"]),a;var n=Array.isArray(e);for(var i=t.s.r;i<=t.e.r;++i){var s=[];for(var f=t.s.c;f<=t.e.c;++f){var l=ct({r:i,c:f});a=n?(e[i]||[])[f]:e[l];if(!a||a.v==null){s.push(" ");continue}var o=(a.w||(pt(a),a.w)||"").slice(0,10);while(o.length<10)o+=" ";s.push(o+(f===0?" ":""))}r.push(s.join(""))}return r.join("\n")}return{to_workbook:e,to_sheet:f,from_sheet:r}}();function af(r,t){var a=t||{},n=!!a.WTF;a.WTF=true;try{var e=qs.to_workbook(r,a);a.WTF=n;return e}catch(e){a.WTF=n;if(!e.message.match(/SYLK bad record ID/)&&n)throw e;return tf.to_workbook(r,t)}}var nf=function(){function r(e,r,t){if(!e)return;Hr(e,e.l||0);var a=t.Enum||b;while(e.l=4096)n.qpro=true;break;case 6:c=e;break;case 15:if(!n.qpro)e[1].v=e[1].v.slice(1);case 13:case 14:case 16:case 51:if(t==14&&(e[2]&112)==112&&(e[2]&15)>1&&(e[2]&15)<15){e[1].z=n.dateNF||me._table[14];if(n.cellDates){e[1].t="d";e[1].v=G(e[1].v)}}if(n.dense){if(!i[e[0].r])i[e[0].r]=[];i[e[0].r][e[0].c]=e[1]}else i[ct(e[0])]=e[1];break}else switch(t){case 22:e[1].v=e[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(e[3]>f){i["!ref"]=ht(c);l[s]=i;i=n.dense?[]:{};c={s:{r:0,c:0},e:{r:0,c:0}};f=e[3];s="Sheet"+(f+1);o.push(s)}if(u>0&&e[0].r>=u)break;if(n.dense){if(!i[e[0].r])i[e[0].r]=[];i[e[0].r][e[0].c]=e[1]}else i[ct(e[0])]=e[1];if(c.e.c>1;if(t[1].v&1){switch(a&7){case 1:a=(a>>3)*500;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 "+(a&7)}}t[1].v=a;return t}function h(e,r){var t=o(e,r);var a=e._R(4);var n=e._R(4);var i=e._R(2);if(i==65535){t[1].v=0;return t}var s=i&32768;i=(i&32767)-16446;t[1].v=(s*2-1)*((i>0?n<>>-i)+(i>-32?a<>>-(i+32)));return t}function d(e,r){var t=h(e,14);e.l+=r-14;return t}function v(e,r){var t=o(e,r);var a=e._R(4);t[1].v=a>>6;return t}function p(e,r){var t=o(e,r);var a=e._R(8,"f");t[1].v=a;return t}function m(e,r){var t=p(e,14);e.l+=r-10;return t}var b={0:{n:"BOF",f:Un},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:a},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:i},14:{n:"NUMBER",f:f},15:{n:"LABEL",f:n},16:{n:"FORMULA",f:l},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:n},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},255:{n:"",f:Xr}};var g={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:c},23:{n:"NUMBER17",f:h},24:{n:"NUMBER18",f:u},25:{n:"FORMULA19",f:d},26:{n:"??"},27:{n:"??"},28:{n:"??"},29:{n:"??"},30:{n:"??"},31:{n:"??"},33:{n:"??"},37:{n:"NUMBER25",f:v},39:{n:"NUMBER27",f:p},40:{n:"FORMULA28",f:m},255:{n:"",f:Xr}};return{to_workbook:e}}();var sf=function e(){var n=$e("t"),i=$e("rPr"),t=/<(?:\w+:)?r>/g,a=/<\/(?:\w+:)?r>/,s=/\r\n/g;var f=function e(r,t,a){var n={},i=65001,s="";var f=false;var l=r.match(ce),o=0;if(l)for(;o!=l.length;++o){var c=de(l[o]);switch(c[0].replace(/\w*:/g,"")){case"":case"":n.shadow=1;break;case"":break;case"":case"":n.outline=1;break;case"":break;case"":case"":n.strike=1;break;case"":break;case"":case"":n.u=1;break;case"":break;case"":case"":n.b=1;break;case"":break;case"":case"":n.i=1;break;case"":break;case"":case"":break;case"":f=false;break;default:if(c[0].charCodeAt(1)!==47&&!f)throw new Error("Unrecognized rich format "+c[0])}}var u=[];if(n.u)u.push("text-decoration: underline;");if(n.uval)u.push("text-underline-style:"+n.uval+";");if(n.sz)u.push("font-size:"+n.sz+"pt;");if(n.outline)u.push("text-effect: outline;");if(n.shadow)u.push("text-shadow: auto;");t.push('');if(n.b){t.push("");a.push("")}if(n.i){t.push("");a.push("")}if(n.strike){t.push("");a.push("")}if(s=="superscript")s="sup";else if(s=="subscript")s="sub";if(s!=""){t.push("<"+s+">");a.push("")}a.push("");return i};function l(e){var r=[[],"",[]];var t=e.match(n);if(!t)return"";r[1]=t[1];var a=e.match(i);if(a)f(a[1],r[0],r[2]);return r[0].join("")+r[1].replace(s,"
")+r[2].join("")}return function e(r){return r.replace(t,"").split(a).map(l).join("")}}();var ff=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,lf=/<(?:\w+:)?r>/;var of=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g;function cf(e,r){var t=r?r.cellHTML:true;var a={};if(!e)return null;if(e.match(/^\s*<(?:\w+:)?t[^>]*>/)){a.t=ke(He(e.slice(e.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||""));a.r=He(e);if(t)a.h=Me(a.t)}else if(e.match(lf)){a.r=He(e);a.t=ke(He((e.replace(of,"").match(ff)||[]).join("").replace(ce,"")));if(t)a.h=sf(a.r)}return a}var uf=/<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/;var hf=/<(?:\w+:)?(?:si|sstItem)>/g;var df=/<\/(?:\w+:)?(?:si|sstItem)>/;function vf(e,r){var t=[],a="";if(!e)return t;var n=e.match(uf);if(n){a=n[2].replace(hf,"").split(df);for(var i=0;i!=a.length;++i){var s=cf(a[i].trim(),r);if(s!=null)t[t.length]=s}n=de(n[1]);t.Count=n.count;t.Unique=n.uniqueCount}return t}Ra.SST="http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings";var pf=/^\s|\s$|[\t\n\r]/;function mf(e,r){if(!r.bookSST)return"";var t=[le];t[t.length]=tr("sst",null,{xmlns:ir.main[0],count:e.Count,uniqueCount:e.Unique});for(var a=0;a!=e.length;++a){if(e[a]==null)continue;var n=e[a];var i="";if(n.r)i+=n.r;else{i+=""}i+="";t[t.length]=i}if(t.length>2){t[t.length]="";t[1]=t[1].replace("/>",">")}return t.join("")}function bf(e){return[e._R(4),e._R(4)]}function gf(e,n){var i=[];var s=false;zr(e,function e(r,t,a){switch(a){case 159:i.Count=r[0];i.Unique=r[1];break;case 19:i.push(r);break;case 160:return true;case 35:s=true;break;case 36:s=false;break;default:if(t.indexOf("Begin")>0){}else if(t.indexOf("End")>0){}if(!s||n.WTF)throw new Error("Unexpected record "+a+" "+t)}});return i}function Ef(e,r){if(!r)r=Gr(8);r._W(4,e.Count);r._W(4,e.Unique);return r}var Sf=Tt;function kf(e){var r=jr();$r(r,"BrtBeginSst",Ef(e));for(var t=0;t=4)e.l+=r-4;return t}function Bf(e){var r={};r.id=e._R(0,"lpp4");r.R=Cf(e,4);r.U=Cf(e,4);r.W=Cf(e,4);return r}function Tf(e){var r=e._R(4);var t=e.l+r-4;var a={};var n=e._R(4);var i=[];while(n-- >0)i.push({t:e._R(4),v:e._R(0,"lpp4")});a.name=e._R(0,"lpp4");a.comps=i;if(e.l!=t)throw new Error("Bad DataSpaceMapEntry: "+e.l+" != "+t);return a}function If(e){var r=[];e.l+=4;var t=e._R(4);while(t-- >0)r.push(Tf(e));return r}function xf(e){var r=[];e.l+=4;var t=e._R(4);while(t-- >0)r.push(e._R(0,"lpp4"));return r}function _f(e){var r={};e._R(4);e.l+=4;r.id=e._R(0,"lpp4");r.name=e._R(0,"lpp4");r.R=Cf(e,4);r.U=Cf(e,4);r.W=Cf(e,4);return r}function Af(e){var r=_f(e);r.ename=e._R(0,"8lpp4");r.blksz=e._R(4);r.cmode=e._R(4);if(e._R(4)!=4)throw new Error("Bad !Primary record");return r}function Rf(e,r){var t=e.l+r;var a={};a.Flags=e._R(4)&63;e.l+=4;a.AlgID=e._R(4);var n=false;switch(a.AlgID){case 26126:case 26127:case 26128:n=a.Flags==36;break;case 26625:n=a.Flags==4;break;case 0:n=a.Flags==16||a.Flags==4||a.Flags==36;break;default:throw"Unrecognized encryption algorithm: "+a.AlgID}if(!n)throw new Error("Encryption Flags/AlgID mismatch");a.AlgIDHash=e._R(4);a.KeySize=e._R(4);a.ProviderType=e._R(4);e.l+=8;a.CSPName=e._R(t-e.l>>1,"utf16le");e.l=t;return a}function yf(e,r){var t={},a=e.l+r;e.l+=4;t.Salt=e.slice(e.l,e.l+16);e.l+=16;t.Verifier=e.slice(e.l,e.l+16);e.l+=16;e._R(4);t.VerifierHash=e.slice(e.l,a);e.l=a;return t}function Ff(e){var r=Cf(e);switch(r.Minor){case 2:return[r.Minor,Df(e,r)];case 3:return[r.Minor,Of(e,r)];case 4:return[r.Minor,Pf(e,r)]}throw new Error("ECMA-376 Encrypted file unrecognized Version: "+r.Minor)}function Df(e){var r=e._R(4);if((r&63)!=36)throw new Error("EncryptionInfo mismatch");var t=e._R(4);var a=Rf(e,t);var n=yf(e,e.length-e.l);return{t:"Std",h:a,v:n}}function Of(){throw new Error("File is password-protected: ECMA-376 Extensible")}function Pf(e){var a=["saltSize","blockSize","keyBits","hashSize","cipherAlgorithm","cipherChaining","hashAlgorithm","saltValue"];e.l+=4;var r=e._R(e.length-e.l,"utf8");var n={};r.replace(ce,function e(r){var t=de(r);switch(ge(t[0])){case"":break;case"":case"":break;case"":break;case"4||a.Major<2)throw new Error("unrecognized major version code: "+a.Major);t.Flags=e._R(4);r-=4;var n=e._R(4);r-=4;t.EncryptionHeader=Rf(e,n);r-=n;t.EncryptionVerifier=yf(e,r);return t}function Mf(e){var r={};var t=r.EncryptionVersionInfo=Cf(e,4);if(t.Major!=1||t.Minor!=1)throw"unrecognized version code "+t.Major+" : "+t.Minor;r.Salt=e._R(16);r.EncryptedVerifier=e._R(16);r.EncryptedVerifierHash=e._R(16);return r}function Lf(e){var r=0,t;var a=wf(e);var n=a.length+1,i,s;var f,l,o;t=xe(n);t[0]=a.length;for(i=1;i!=n;++i)t[i]=a[i-1];for(i=n-1;i>=0;--i){s=t[i];f=(r&16384)===0?0:1;l=r<<1&32767;o=f|l;r=o^s}return r^52811}var Uf=function(){var o=[187,255,255,186,255,255,185,128,0,190,15,0,191,15,0];var s=[57840,7439,52380,33984,4364,3600,61902,12606,6258,57657,54287,34041,10252,43370,20163];var f=[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];var t=function(e){return(e/2|e*128)&255};var c=function(e,r){return t(e^r)};var u=function(e){var r=s[e.length-1];var t=104;for(var a=e.length-1;a>=0;--a){var n=e[a];for(var i=0;i!=7;++i){if(n&64)r^=f[t];n*=2;--t}}return r};return function(e){var r=wf(e);var t=u(r);var a=r.length;var n=xe(16);for(var i=0;i!=16;++i)n[i]=0;var s,f,l;if((a&1)===1){s=t>>8;n[a]=c(o[0],s);--a;s=t&255;f=r[r.length-1];n[a]=c(f,s)}while(a>0){--a;s=t>>8;n[a]=c(r[a],s);--a;s=t&255;n[a]=c(r[a],s)}a=15;l=15-r.length;while(l>0){s=t>>8;n[a]=c(o[l],s);--a;--l;s=t&255;n[a]=c(r[a],s);--a;--l}return n}}();var Wf=function(e,r,t,a,n){if(!n)n=r;if(!a)a=Uf(e);var i,s;for(i=0;i!=r.length;++i){s=r[i];s^=a[t];s=(s>>5|s<<3)&255;n[i]=s;++t}return[n,t,a]};var Vf=function(e){var t=0,a=Uf(e);return function(e){var r=Wf("",e,t,a);t=r[1];return r[0]}};function Hf(e,r,t,a){var n={key:Un(e),verificationBytes:Un(e)};if(t.password)n.verifier=Lf(t.password);a.valid=n.verificationBytes===n.verifier;if(a.valid)a.insitu=Vf(t.password);return n}function Xf(e,r,t){var a=t||{};a.Info=e._R(2);e.l-=2;if(a.Info===1)a.Data=Mf(e,r);else a.Data=Nf(e,r);return a}function Gf(e,r,t){var a={Type:t.biff>=8?e._R(2):0};if(a.Type)Xf(e,r-2,a);else Hf(e,t.biff>=8?r:r-2,t,a);return a}var zf=function(){function t(e,r){switch(r.type){case"base64":return a(Te.decode(e),r);case"binary":return a(e,r);case"buffer":return a(e.toString("binary"),r);case"array":return a(N(e),r)}throw new Error("Unrecognized type "+r.type)}function a(e,r){var t=r||{};var a=t.dense?[]:{};var n={s:{c:0,r:0},e:{c:0,r:0}};if(!e.match(/\\trowd/))throw new Error("RTF missing table");a["!ref"]=ht(n);return a}function e(e,r){return mt(t(e,r),r)}function r(e){var r=["{\\rtf1\\ansi"];var t=dt(e["!ref"]),a;var n=Array.isArray(e);for(var i=t.s.r;i<=t.e.r;++i){r.push("\\trowd\\trautofit1");for(var s=t.s.c;s<=t.e.c;++s)r.push("\\cellx"+(s+1));r.push("\\pard\\intbl");for(s=t.s.c;s<=t.e.c;++s){var f=ct({r:i,c:s});a=n?(e[i]||[])[s]:e[f];if(!a||a.v==null&&(!a.f||a.F))continue;r.push(" "+(a.w||(pt(a),a.w)));r.push("\\cell")}r.push("\\pard\\intbl\\row")}return r.join("")+"}"}return{to_workbook:e,to_sheet:t,from_sheet:r}}();function jf(e){var r=e.slice(e[0]==="#"?1:0).slice(0,6);return[parseInt(r.slice(0,2),16),parseInt(r.slice(2,4),16),parseInt(r.slice(4,6),16)]}function $f(e){for(var r=0,t=1;r!=3;++r)t=t*256+(e[r]>255?255:e[r]<0?0:e[r]);return t.toString(16).toUpperCase().slice(1)}function Kf(e){var r=e[0]/255,t=e[1]/255,a=e[2]/255;var n=Math.max(r,t,a),i=Math.min(r,t,a),s=n-i;if(s===0)return[0,0,r];var f=0,l=0,o=n+i;l=s/(o>1?2-o:o);switch(n){case r:f=((t-a)/s+6)%6;break;case t:f=(a-r)/s+2;break;case a:f=(r-t)/s+4;break}return[f/6,l,o/2]}function Yf(e){var r=e[0],t=e[1],a=e[2];var n=t*2*(a<.5?a:1-a),i=a-n/2;var s=[i,i,i],f=6*r;var l;if(t!==0)switch(f|0){case 0:case 6:l=n*f;s[0]+=n;s[1]+=l;break;case 1:l=n*(2-f);s[0]+=l;s[1]+=n;break;case 2:l=n*(f-2);s[1]+=n;s[2]+=l;break;case 3:l=n*(4-f);s[1]+=l;s[2]+=n;break;case 4:l=n*(f-4);s[2]+=n;s[0]+=l;break;case 5:l=n*(6-f);s[2]+=l;s[0]+=n;break}for(var o=0;o!=3;++o)s[o]=Math.round(s[o]*255);return s}function Qf(e,r){if(r===0)return e;var t=Kf(jf(e));if(r<0)t[2]=t[2]*(1+r);else t[2]=1-(1-t[2])*(1-r);return $f(Yf(t))}var Jf=6,Zf=15,qf=1,el=Jf;function rl(e){return Math.floor((e+Math.round(128/el)/256)*el)}function tl(e){return Math.floor((e-5)/el*100+.5)/100}function al(e){return Math.round((e*el+5)/el*256)/256}function nl(e){return al(tl(rl(e)))}function il(e){var r=Math.abs(e-nl(e)),t=el;if(r>.005)for(el=qf;el":case"":break;case"":case"":n={};if(r.diagonalUp){n.diagonalUp=r.diagonalUp}if(r.diagonalDown){n.diagonalDown=r.diagonalDown}t.Borders.push(n);break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":case"":break;case"":break;case"":case"":break;case"":break;case"":case"":break;case"":break;case"":case"":break;case"":break;case"":case"":break;case"":break;case"":break;case"":case"":break;case"":case"":break;case"":i=false;break;default:if(a&&a.WTF){if(!i)throw new Error("unrecognized "+r[0]+" in borders")}}})}function dl(e,t,r,a){t.Fills=[];var n={};var i=false;e[0].match(ce).forEach(function(e){var r=de(e);switch(ge(r[0])){case"":case"":break;case"":case"":n={};t.Fills.push(n);break;case"":break;case"":break;case"":t.Fills.push(n);n={};break;case"":if(r.patternType)n.patternType=r.patternType;break;case"":case"":break;case"":case"":break;case"":case"":break;case"":break;case"":break;case"":break;case"":break;case"":case"":break;case"":i=false;break;default:if(a&&a.WTF){if(!i)throw new Error("unrecognized "+r[0]+" in fills")}}})}function vl(e,a,n,i){a.Fonts=[];var s={};var f=false;e[0].match(ce).forEach(function(e){var r=de(e);switch(ge(r[0])){case"":case"":break;case"":break;case"":case"":a.Fonts.push(s);s={};break;case"":case"":break;case"":s.bold=1;break;case"":s.italic=1;break;case"":s.underline=1;break;case"":s.strike=1;break;case"":s.outline=1;break;case"":s.shadow=1;break;case"":s.condense=1;break;case"":s.extend=1;break;case"":case"":break;case"":case"":break;case"":case"":break;case"":case"":break;case"":case"":break;case"":case"":break;case"":f=false;break;default:if(i&&i.WTF){if(!f)throw new Error("unrecognized "+r[0]+" in fonts")}}})}function pl(e,r,t){r.NumberFmt=[];var a=be(me._table);for(var n=0;n":case"":case"":break;case"0){if(l>392){for(l=392;l>60;--l)if(r.NumberFmt[l]==null)break;r.NumberFmt[l]=f}me.load(f,l)}}break;case"":break;default:if(t.WTF)throw new Error("unrecognized "+s[0]+" in numFmts")}}}function ml(t){var a=[""];[[5,8],[23,26],[41,44],[50,392]].forEach(function(e){for(var r=e[0];r<=e[1];++r)if(t[r]!=null)a[a.length]=tr("numFmt",null,{numFmtId:r,formatCode:Be(t[r])})});if(a.length===1)return"";a[a.length]="";a[0]=tr("numFmts",null,{count:a.length-2}).replace("/>",">");return a.join("")}var bl=["numFmtId","fillId","fontId","borderId","xfId"];var gl=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"];function El(e,n,i){n.CellXf=[];var s;var f=false;e[0].match(ce).forEach(function(e){var r=de(e),t=0;switch(ge(r[0])){case"":case"":case"":break;case"":s=r;delete s[0];for(t=0;t392){for(t=392;t>60;--t)if(n.NumberFmt[s.numFmtId]==n.NumberFmt[t]){s.numFmtId=t;break}}n.CellXf.push(s);break;case"":break;case"":var a={};if(r.vertical)a.vertical=r.vertical;if(r.horizontal)a.horizontal=r.horizontal;if(r.textRotation!=null)a.textRotation=r.textRotation;if(r.indent)a.indent=r.indent;if(r.wrapText)a.wrapText=r.wrapText;s.alignment=a;break;case"":break;case"":case"":break;case"":case"":break;case"":f=false;break;default:if(i&&i.WTF){if(!f)throw new Error("unrecognized "+r[0]+" in cellXfs")}}})}function Sl(e){var t=[];t[t.length]=tr("cellXfs",null);e.forEach(function(e){var r;if(e.applyProtection){r=tr("protection",null,{locked:0})}t[t.length]=tr("xf",r,e)});t[t.length]="";if(t.length===2)return"";t[0]=tr("cellXfs",null,{count:t.length-2}).replace("/>",">");return t.join("")}var kl=function e(){var s=/<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/;var f=/<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/;var l=/<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/;var o=/<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/;var c=/<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/;return function e(r,t,a){var n={};if(!r)return n;r=r.replace(//gm,"").replace(//gm,"");var i;if(i=r.match(s))pl(i,n,a);if(i=r.match(o))vl(i,n,t,a);if(i=r.match(l))dl(i,n,t,a);if(i=r.match(c))hl(i,n,t,a);if(i=r.match(f))El(i,n,a);return n}}();var wl=tr("styleSheet",null,{xmlns:ir.main[0],"xmlns:vt":ir.vt});Ra.STY="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles";function Cl(e,r){var t=[le,wl],a;if(e.SSF&&(a=ml(e.SSF))!=null)t[t.length]=a;t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';if(a=Sl(r.cellXfs))t[t.length]=a;t[t.length]='';t[t.length]='';t[t.length]='';if(t.length>2){t[t.length]="";t[1]=t[1].replace("/>",">")}return t.join("")}function Bl(e,r){var t=e._R(2);var a=St(e,r-2);return[t,a]}function Tl(e,r,t){if(!t)t=Gr(6+4*r.length);t._W(2,e);kt(r,t);var a=t.length>t.l?t.slice(0,t.l):t;if(t.l==null)t.l=t.length;return a}function Il(e,r,t){var a={};a.sz=e._R(2)/20;var n=Yt(e,2,t);if(n.fCondense)a.condense=1;if(n.fExtend)a.extend=1;if(n.fShadow)a.shadow=1;if(n.fOutline)a.outline=1;if(n.fStrikeout)a.strike=1;if(n.fItalic)a.italic=1;var i=e._R(2);if(i===700)a.bold=1;switch(e._R(2)){case 1:a.vertAlign="superscript";break;case 2:a.vertAlign="subscript";break}var s=e._R(1);if(s!=0)a.underline=s;var f=e._R(1);if(f>0)a.family=f;var l=e._R(1);if(l>0)a.charset=l;e.l++;a.color=$t(e,8);switch(e._R(1)){case 1:a.scheme="major";break;case 2:a.scheme="minor";break}a.name=St(e,r-21);return a}function xl(e,r){if(!r)r=Gr(25+4*32);r._W(2,e.sz*20);Qt(e,r);r._W(2,e.bold?700:400);var t=0;if(e.vertAlign=="superscript")t=1;else if(e.vertAlign=="subscript")t=2;r._W(2,t);r._W(1,e.underline||0);r._W(1,e.family||0);r._W(1,e.charset||0);r._W(1,0);Kt(e.color,r);var a=0;if(e.scheme=="major")a=1;if(e.scheme=="minor")a=2;r._W(1,a);kt(e.name,r);return r.length>r.l?r.slice(0,r.l):r}var _l=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];var Al=A(_l);var Rl=Xr;function yl(e,r){if(!r)r=Gr(4*3+8*7+16*1);var t=Al[e.patternType];if(t==null)t=40;r._W(4,t);var a=0;if(t!=40){Kt({auto:1},r);Kt({auto:1},r);for(;a<12;++a)r._W(4,0)}else{for(;a<4;++a)r._W(4,0);for(;a<12;++a)r._W(4,0)}return r.length>r.l?r.slice(0,r.l):r}function Fl(e,r){var t=e.l+r;var a=e._R(2);var n=e._R(2);e.l=t;return{ixfe:a,numFmtId:n}}function Dl(e,r,t){if(!t)t=Gr(16);t._W(2,r||0);t._W(2,e.numFmtId||0);t._W(2,0);t._W(2,0);t._W(2,0);t._W(1,0);t._W(1,0);t._W(1,0);t._W(1,0);t._W(1,0);t._W(1,0);return t}function Ol(e,r){if(!r)r=Gr(10);r._W(1,0);r._W(1,0);r._W(4,0);r._W(4,0);return r}var Pl=Xr;function Nl(e,r){if(!r)r=Gr(51);r._W(1,0);Ol(null,r);Ol(null,r);Ol(null,r);Ol(null,r);Ol(null,r);return r.length>r.l?r.slice(0,r.l):r}function Ml(e,r){if(!r)r=Gr(12+4*10);r._W(4,e.xfId);r._W(2,1);r._W(1,+e.builtinId);r._W(1,0);Dt(e.name||"",r);return r.length>r.l?r.slice(0,r.l):r}function Ll(e,r,t){var a=Gr(4+256*2*4);a._W(4,e);Dt(r,a);Dt(t,a);return a.length>a.l?a.slice(0,a.l):a}function Ul(e,n,i){var s={};s.NumberFmt=[];for(var r in me._table)s.NumberFmt[r]=me._table[r];s.CellXf=[];s.Fonts=[];var f=[];var l=false;zr(e,function e(r,t,a){switch(a){case 44:s.NumberFmt[r[0]]=r[1];me.load(r[1],r[0]);break;case 43:s.Fonts.push(r);if(r.color.theme!=null&&n&&n.themeElements&&n.themeElements.clrScheme){r.color.rgb=Qf(n.themeElements.clrScheme[r.color.theme].rgb,r.color.tint||0)}break;case 1025:break;case 45:break;case 46:break;case 47:if(f[f.length-1]=="BrtBeginCellXFs"){s.CellXf.push(r)}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:l=true;break;case 36:l=false;break;case 37:f.push(t);break;case 38:f.pop();break;default:if((t||"").indexOf("Begin")>0)f.push(t);else if((t||"").indexOf("End")>0)f.pop();else if(!l||i.WTF)throw new Error("Unexpected record "+a+" "+t)}});return s}function Wl(t,a){if(!a)return;var n=0;[[5,8],[23,26],[41,44],[50,392]].forEach(function(e){for(var r=e[0];r<=e[1];++r)if(a[r]!=null)++n});if(n==0)return;$r(t,"BrtBeginFmts",Et(n));[[5,8],[23,26],[41,44],[50,392]].forEach(function(e){for(var r=e[0];r<=e[1];++r)if(a[r]!=null)$r(t,"BrtFmt",Tl(r,a[r]))});$r(t,"BrtEndFmts")}function Vl(e){var r=1;if(r==0)return;$r(e,"BrtBeginFonts",Et(r));$r(e,"BrtFont",xl({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}));$r(e,"BrtEndFonts")}function Hl(e){var r=2;if(r==0)return;$r(e,"BrtBeginFills",Et(r));$r(e,"BrtFill",yl({patternType:"none"}));$r(e,"BrtFill",yl({patternType:"gray125"}));$r(e,"BrtEndFills")}function Xl(e){var r=1;if(r==0)return;$r(e,"BrtBeginBorders",Et(r));$r(e,"BrtBorder",Nl({}));$r(e,"BrtEndBorders")}function Gl(e){var r=1;$r(e,"BrtBeginCellStyleXFs",Et(r));$r(e,"BrtXF",Dl({numFmtId:0,fontId:0,fillId:0,borderId:0},65535));$r(e,"BrtEndCellStyleXFs")}function zl(r,e){$r(r,"BrtBeginCellXFs",Et(e.length));e.forEach(function(e){$r(r,"BrtXF",Dl(e,0))});$r(r,"BrtEndCellXFs")}function jl(e){var r=1;$r(e,"BrtBeginStyles",Et(r));$r(e,"BrtStyle",Ml({xfId:0,builtinId:0,name:"Normal"}));$r(e,"BrtEndStyles")}function $l(e){var r=0;$r(e,"BrtBeginDXFs",Et(r));$r(e,"BrtEndDXFs")}function Kl(e){var r=0;$r(e,"BrtBeginTableStyles",Ll(r,"TableStyleMedium9","PivotStyleMedium4"));$r(e,"BrtEndTableStyles")}function Yl(){return}function Ql(e,r){var t=jr();$r(t,"BrtBeginStyleSheet");Wl(t,e.SSF);Vl(t,e);Hl(t,e);Xl(t,e);Gl(t,e);zl(t,r.cellXfs);jl(t,e);$l(t,e);Kl(t,e);Yl(t,e);$r(t,"BrtEndStyleSheet");return t.end()}Ra.THEME="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme";function Jl(e,t,a){t.themeElements.clrScheme=[];var n={};(e[0].match(ce)||[]).forEach(function(e){var r=de(e);switch(r[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"":if(r[0].charAt(1)==="/"){t.themeElements.clrScheme.push(n);n={}}else{n.name=r[0].slice(3,r[0].length-1)}break;default:if(a&&a.WTF)throw new Error("Unrecognized "+r[0]+" in clrScheme")}})}function Zl(){}function ql(){}var eo=/]*)>[\s\S]*<\/a:clrScheme>/;var ro=/]*)>[\s\S]*<\/a:fontScheme>/;var to=/]*)>[\s\S]*<\/a:fmtScheme>/;function ao(r,t,a){t.themeElements={};var n;[["clrScheme",eo,Jl],["fontScheme",ro,Zl],["fmtScheme",to,ql]].forEach(function(e){if(!(n=r.match(e[1])))throw new Error(e[0]+" not found in themeElements");e[2](n,t,a)})}var no=/]*)>[\s\S]*<\/a:themeElements>/;function io(e,r){if(!e||e.length===0)return io(so());var t;var a={};if(!(t=e.match(no)))throw new Error("themeElements not found in theme");ao(t[0],a,r);return a}function so(e,r){if(r&&r.themeXLSX)return r.themeXLSX;var t=[le];t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]='';t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]='';t[t.length]="";t[t.length]="";t[t.length]="";t[t.length]="";return t.join("")}function fo(e,r,t){var a=e.l+r;var n=e._R(4);if(n===124226)return;if(!t.cellStyles||!se){e.l=a;return}var i=e.slice(e.l);e.l=a;var s;try{s=new se(i)}catch(e){return}var f=Q(s,"theme/theme/theme1.xml",true);if(!f)return;return io(f,t)}function lo(e){return e._R(4)}function oo(e){var r={};r.xclrType=e._R(2);r.nTintShade=e._R(2);switch(r.xclrType){case 0:e.l+=4;break;case 1:r.xclrValue=co(e,4);break;case 2:r.xclrValue=ai(e,4);break;case 3:r.xclrValue=lo(e,4);break;case 4:e.l+=4;break}e.l+=8;return r}function co(e,r){return Xr(e,r)}function uo(e,r){return Xr(e,r)}function ho(e){var r=e._R(2);var t=e._R(2)-4;var a=[r];switch(r){case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 13:a[1]=oo(e,t);break;case 6:a[1]=uo(e,t);break;case 14:case 15:a[1]=e._R(t===1?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+r+" "+t)}return a}function vo(e,r){var t=e.l+r;e.l+=2;var a=e._R(2);e.l+=2;var n=e._R(2);var i=[];while(n-- >0)i.push(ho(e,t-e.l));return{ixfe:a,ext:i}}function po(e,r){r.forEach(function(e){switch(e[0]){case 4:break;case 5:break;case 6:break;case 7:break;case 8:break;case 9:break;case 10:break;case 11:break;case 13:break;case 14:break;case 15:break}})}function mo(e){var t=[];if(!e)return t;var a=1;(e.match(ce)||[]).forEach(function(e){var r=de(e);switch(r[0]){case"":case"":break;case"0){}else if((t||"").indexOf("End")>0){}else if(!s||n.WTF)throw new Error("Unexpected record "+a+" "+t)}});return i}function Eo(){}function So(e,r,t){if(!e)return e;var n=t||{};var i=false,s=false;zr(e,function e(r,t,a){if(s)return;switch(a){case 359:case 363:case 364:case 366:case 367:case 368:case 369:case 370:case 371:case 472:case 577:case 578:case 579:case 580:case 581:case 582:case 583:case 584:case 585:case 586:case 587:break;case 35:i=true;break;case 36:i=false;break;default:if((t||"").indexOf("Begin")>0){}else if((t||"").indexOf("End")>0){}else if(!i||n.WTF)throw new Error("Unexpected record "+a.toString(16)+" "+t)}},n)}Ra.IMG="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image";Ra.DRAW="http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing";function ko(e,r){if(!e)return"??";var t=(e.match(/]*r:id="([^"]*)"/)||["",""])[1];return r["!id"][t].Target}var wo=1024;function Co(e,r){var t=[21600,21600];var a=["m0,0l0",t[1],t[0],t[1],t[0],"0xe"].join(",");var n=[tr("xml",null,{"xmlns:v":sr.v,"xmlns:o":sr.o,"xmlns:x":sr.x,"xmlns:mv":sr.mv}).replace(/\/>/,">"),tr("o:shapelayout",tr("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"}),tr("v:shapetype",[tr("v:stroke",null,{joinstyle:"miter"}),tr("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:t.join(","),path:a})];while(wo",tr("v:fill",tr("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}),{color2:"#BEFF82",angle:"-180",type:"gradient"}),tr("v:shadow",null,{on:"t",obscured:"t"}),tr("v:path",null,{"o:connecttype":"none"}),'
','',"","",er("x:Anchor",[r.c,0,r.r,0,r.c+3,100,r.r+5,100].join(",")),er("x:AutoFill","False"),er("x:Row",String(r.r)),er("x:Column",String(r.c)),e[1].hidden?"":"","",""])});n.push("");return n.join("")}Ra.CMNT="http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments";function Bo(e,r,t,a,n){for(var i=0;i!=r.length;++i){var s=r[i];var f=bv(Y(e,s.replace(/^\//,""),true),s,n);if(!f||!f.length)continue;var l=be(t);for(var o=0;o!=l.length;++o){var c=l[o];var u=a[c];if(u){var h=u[s];if(h)To(c,t[c],f)}}}}function To(e,i,r){var s=Array.isArray(i);var f,l;r.forEach(function(e){if(s){l=ot(e.ref);if(!i[l.r])i[l.r]=[];f=i[l.r][l.c]}else f=i[e.ref];if(!f){f={};if(s)i[l.r][l.c]=f;else i[e.ref]=f;var r=dt(i["!ref"]||"BDWGO1000001:A1");var t=ot(e.ref);if(r.s.r>t.r)r.s.r=t.r;if(r.e.rt.c)r.s.c=t.c;if(r.e.c/))return[];var l=[];var o=[];var r=e.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/);if(r&&r[1])r[1].split(/<\/\w*:?author>/).forEach(function(e){if(e===""||e.trim()==="")return;var r=e.match(/<(?:\w+:)?author[^>]*>(.*)/);if(r)l.push(r[1])});var t=e.match(/<(?:\w+:)?commentList>([\s\S]*)<\/(?:\w+:)?commentList>/);if(t&&t[1])t[1].split(/<\/\w*:?comment>/).forEach(function(e){if(e===""||e.trim()==="")return;var r=e.match(/<(?:\w+:)?comment[^>]*>/);if(!r)return;var t=de(r[0]);var a={author:t.authorId&&l[t.authorId]||"sheetjsghost",ref:t.ref,guid:t.guid};var n=ot(t.ref);if(f.sheetRows&&f.sheetRows<=n.r)return;var i=e.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/);var s=!!i&&!!i[1]&&cf(i[1])||{r:"",t:"",h:""};a.r=s.r;if(s.r=="")s.t=s.h="";a.t=s.t.replace(/\r\n/g,"\n").replace(/\r/g,"\n");if(f.cellHTML)a.h=s.h;o.push(a)});return o}var xo=tr("comments",null,{xmlns:ir.main[0]});function _o(e){var t=[le,xo];var a=[];t.push("");e.forEach(function(e){e[1].forEach(function(e){var r=Be(e.a);if(a.indexOf(r)>-1)return;a.push(r);t.push(""+r+"")})});t.push("");t.push("");e.forEach(function(r){r[1].forEach(function(e){t.push('');t.push(er("t",e.t==null?"":e.t));t.push("")})});t.push("");if(t.length>2){t[t.length]="";t[1]=t[1].replace("/>",">")}return t.join("")}function Ao(e){var r={};r.iauthor=e._R(4);var t=Vt(e,16);r.rfx=t.s;r.ref=ct(t.s);e.l+=16;return r}function Ro(e,r){if(r==null)r=Gr(36);r._W(4,e[1].iauthor);Ht(e[0],r);r._W(4,0);r._W(4,0);r._W(4,0);r._W(4,0);return r}var yo=St;function Fo(e){return kt(e.slice(0,54))}function Do(e,n){var i=[];var s=[];var f={};var l=false;zr(e,function e(r,t,a){switch(a){case 632:s.push(r);break;case 635:f=r;break;case 637:f.t=r.t;f.h=r.h;f.r=r.r;break;case 636:f.author=s[f.iauthor];delete f.iauthor;if(n.sheetRows&&n.sheetRows<=f.rfx.r)break;if(!f.t)f.t="";delete f.rfx;i.push(f);break;case 3072:break;case 35:l=true;break;case 36:l=false;break;case 37:break;case 38:break;default:if((t||"").indexOf("Begin")>0){}else if((t||"").indexOf("End")>0){}else if(!l||n.WTF)throw new Error("Unexpected record "+a+" "+t)}});return i}function Oo(e){var a=jr();var n=[];$r(a,"BrtBeginComments");$r(a,"BrtBeginCommentAuthors");e.forEach(function(e){e[1].forEach(function(e){if(n.indexOf(e.a)>-1)return;n.push(e.a.slice(0,54));$r(a,"BrtCommentAuthor",Fo(e.a))})});$r(a,"BrtEndCommentAuthors");$r(a,"BrtBeginCommentList");e.forEach(function(t){t[1].forEach(function(e){e.iauthor=n.indexOf(e.a);var r={s:ot(t[0]),e:ot(t[0])};$r(a,"BrtBeginComment",Ro([r,e]));if(e.t&&e.t.length>0)$r(a,"BrtCommentText",xt(e));$r(a,"BrtEndComment");delete e.iauthor})});$r(a,"BrtEndCommentList");$r(a,"BrtEndComments");return a.end()}var Po="application/vnd.ms-office.vbaProject";function No(a){var n=Oe.utils.cfb_new({root:"R"});a.FullPaths.forEach(function(e,r){if(e.slice(-1)==="/"||!e.match(/_VBA_PROJECT_CUR/))return;var t=e.replace(/^[^\/]*/,"R").replace(/\/_VBA_PROJECT_CUR\u0000*/,"");Oe.utils.cfb_add(n,t,a.FileIndex[r].content)});return Oe.write(n)}function Mo(a,n){n.FullPaths.forEach(function(e,r){if(r==0)return;var t=e.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");if(t.slice(-1)!=="/")Oe.utils.cfb_add(a,t,n.FileIndex[r].content)})}var Lo=["xlsb","xlsm","xlam","biff8","xla"];Ra.DS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet";Ra.MS="http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet";function Uo(){return{"!type":"dialog"}}function Wo(){return{"!type":"dialog"}}function Vo(){return{"!type":"macro"}}function Ho(){return{"!type":"macro"}}var Xo=function(){var a=/(^|[^A-Za-z])R(\[?)(-?\d+|)\]?C(\[?)(-?\d+|)\]?/g;var c={r:0,c:0};function n(e,r,t,a,n,i){var s=a.length>0?parseInt(a,10)|0:0,f=i.length>0?parseInt(i,10)|0:0;if(f<0&&n.length===0)f=0;var l=false,o=false;if(n.length>0||i.length==0)l=true;if(l)f+=c.c;else--f;if(t.length>0||a.length==0)o=true;if(o)s+=c.r;else--s;return r+(l?"":"$")+it(f)+(o?"":"$")+rt(s)}return function e(r,t){c=t;return r.replace(a,n)}}();var Go=/(^|[^._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;var zo=function(){return function e(r,c){return r.replace(Go,function(e,r,t,a,n,i){var s=nt(a)-(t?0:c.c);var f=et(i)-(n?0:c.r);var l=f==0?"":!n?"["+f+"]":f+1;var o=s==0?"":!t?"["+s+"]":s+1;return r+"R"+l+"C"+o})}}();function jo(e,s){return e.replace(Go,function(e,r,t,a,n,i){return r+(t=="$"?t+a:it(nt(a)+s.c))+(n=="$"?n+i:rt(et(i)+s.r))})}function $o(e,r,t){var a=ut(r),n=a.s,i=ot(t);var s={r:i.r-n.r,c:i.c-n.c};return jo(e,s)}function Ko(e){if(e.length==1)return false;return true}function Yo(e){return e.replace(/_xlfn\./g,"")}function Qo(e){e.l+=1;return}function Jo(e,r){var t=e._R(r==1?1:2);return[t&16383,t>>14&1,t>>15&1]}function Zo(e,r,t){var a=2;if(t){if(t.biff>=2&&t.biff<=5)return qo(e,r,t);else if(t.biff==12)a=4}var n=e._R(a),i=e._R(a);var s=Jo(e,2);var f=Jo(e,2);return{s:{r:n,c:s[0],cRel:s[1],rRel:s[2]},e:{r:i,c:f[0],cRel:f[1],rRel:f[2]}}}function qo(e){var r=Jo(e,2),t=Jo(e,2);var a=e._R(1);var n=e._R(1);return{s:{r:r[0],c:a,cRel:r[1],rRel:r[2]},e:{r:t[0],c:n,cRel:t[1],rRel:t[2]}}}function ec(e,r,t){if(t.biff<8)return qo(e,r,t);var a=e._R(t.biff==12?4:2),n=e._R(t.biff==12?4:2);var i=Jo(e,2);var s=Jo(e,2);return{s:{r:a,c:i[0],cRel:i[1],rRel:i[2]},e:{r:n,c:s[0],cRel:s[1],rRel:s[2]}}}function rc(e,r,t){if(t&&t.biff>=2&&t.biff<=5)return tc(e,r,t);var a=e._R(t&&t.biff==12?4:2);var n=Jo(e,2);return{r:a,c:n[0],cRel:n[1],rRel:n[2]}}function tc(e){var r=Jo(e,2);var t=e._R(1);return{r:r[0],c:t,cRel:r[1],rRel:r[2]}}function ac(e){var r=e._R(2);var t=e._R(2);return{r:r,c:t&255,fQuoted:!!(t&16384),cRel:t>>15,rRel:t>>15}}function nc(e,r,t){var a=t&&t.biff?t.biff:8;if(a>=2&&a<=5)return ic(e,r,t);var n=e._R(a>=12?4:2);var i=e._R(2);var s=(i&16384)>>14,f=(i&32768)>>15;i&=16383;if(f==1)while(n>524287)n-=1048576;if(s==1)while(i>8191)i=i-16384;return{r:n,c:i,cRel:s,rRel:f}}function ic(e){var r=e._R(2);var t=e._R(1);var a=(r&32768)>>15,n=(r&16384)>>14;r&=16383;if(a==1&&r>=8192)r=r-16384;if(n==1&&t>=128)t=t-256;return{r:r,c:t,cRel:n,rRel:a}}function sc(e,r,t){var a=(e[e.l++]&96)>>5;var n=Zo(e,t.biff>=2&&t.biff<=5?6:8,t);return[a,n]}function fc(e,r,t){var a=(e[e.l++]&96)>>5;var n=e._R(2,"i");var i=8;if(t)switch(t.biff){case 5:e.l+=12;i=6;break;case 12:i=12;break}var s=Zo(e,i,t);return[a,n,s]}function lc(e,r,t){var a=(e[e.l++]&96)>>5;e.l+=t&&t.biff>8?12:t.biff<8?6:8;return[a]}function oc(e,r,t){var a=(e[e.l++]&96)>>5;var n=e._R(2);var i=8;if(t)switch(t.biff){case 5:e.l+=12;i=6;break;case 12:i=12;break}e.l+=i;return[a,n]}function cc(e,r,t){var a=(e[e.l++]&96)>>5;var n=ec(e,r-1,t);return[a,n]}function uc(e,r,t){var a=(e[e.l++]&96)>>5;e.l+=t.biff==2?6:t.biff==12?14:7;return[a]}function hc(e){var r=e[e.l+1]&1;var t=1;e.l+=4;return[r,t]}function dc(e,r,t){e.l+=2;var a=e._R(t&&t.biff==2?1:2);var n=[];for(var i=0;i<=a;++i)n.push(e._R(t&&t.biff==2?1:2));return n}function vc(e,r,t){var a=e[e.l+1]&255?1:0;e.l+=2;return[a,e._R(t&&t.biff==2?1:2)]}function pc(e,r,t){var a=e[e.l+1]&255?1:0;e.l+=2;return[a,e._R(t&&t.biff==2?1:2)]}function mc(e){var r=e[e.l+1]&255?1:0;e.l+=2;return[r,e._R(2)]}function bc(e,r,t){var a=e[e.l+1]&255?1:0;e.l+=t&&t.biff==2?3:4;return[a]}function gc(e){var r=e._R(1),t=e._R(1);return[r,t]}function Ec(e){e._R(2);return gc(e,2)}function Sc(e){e._R(2);return gc(e,2)}function kc(e,r,t){var a=(e[e.l]&96)>>5;e.l+=1;var n=rc(e,0,t);return[a,n]}function wc(e,r,t){var a=(e[e.l]&96)>>5;e.l+=1;var n=nc(e,0,t);return[a,n]}function Cc(e,r,t){var a=(e[e.l]&96)>>5;e.l+=1;var n=e._R(2);if(t&&t.biff==5)e.l+=12;var i=rc(e,0,t);return[a,n,i]}function Bc(e,r,t){var a=(e[e.l]&96)>>5;e.l+=1;var n=e._R(t&&t.biff<=3?1:2);return[Lu[n],Mu[n],a]}function Tc(e,r,t){var a=e[e.l++];var n=e._R(1),i=t&&t.biff<=3?[a==88?-1:0,e._R(1)]:Ic(e);return[n,(i[0]===0?Mu:Nu)[i[1]]]}function Ic(e){return[e[e.l+1]>>7,e._R(2)&32767]}function xc(e,r,t){e.l+=t&&t.biff==2?3:4;return}function _c(e,r,t){e.l++;if(t&&t.biff==12)return[e._R(4,"i"),0];var a=e._R(2);var n=e._R(t&&t.biff==2?1:2);return[a,n]}function Ac(e){e.l++;return zt[e._R(1)]}function Rc(e){e.l++;return e._R(2)}function yc(e){e.l++;return e._R(1)!==0}function Fc(e){e.l++;return Xt(e,8)}function Dc(e,r,t){e.l++;return Gn(e,r-1,t)}function Oc(e,r){var t=[e._R(1)];if(r==12)switch(t[0]){case 2:t[0]=4;break;case 4:t[0]=16;break;case 0:t[0]=1;break;case 1:t[0]=2;break}switch(t[0]){case 4:t[1]=Mn(e,1)?"TRUE":"FALSE";if(r!=12)e.l+=7;break;case 37:case 16:t[1]=zt[e[e.l]];e.l+=r==12?4:8;break;case 0:e.l+=8;break;case 1:t[1]=Xt(e,8);break;case 2:t[1]=Kn(e,0,{biff:r>0&&r<8?2:r});break;default:throw new Error("Bad SerAr: "+t[0])}return t}function Pc(e,r,t){var a=e._R(t.biff==12?4:2);var n=[];for(var i=0;i!=a;++i)n.push((t.biff==12?Vt:hi)(e,8));return n}function Nc(e,r,t){var a=0,n=0;if(t.biff==12){a=e._R(4);n=e._R(4)}else{n=1+e._R(1);a=1+e._R(2)}if(t.biff>=2&&t.biff<8){--a;if(--n==0)n=256}for(var i=0,s=[];i!=a&&(s[i]=[]);++i)for(var f=0;f!=n;++f)s[i][f]=Oc(e,t.biff);return s}function Mc(e,r,t){var a=e._R(1)>>>5&3;var n=!t||t.biff>=8?4:2;var i=e._R(n);switch(t.biff){case 2:e.l+=5;break;case 3:case 4:e.l+=8;break;case 5:e.l+=12;break}return[a,0,i]}function Lc(e,r,t){if(t.biff==5)return Uc(e,r,t);var a=e._R(1)>>>5&3;var n=e._R(2);var i=e._R(4);return[a,n,i]}function Uc(e){var r=e._R(1)>>>5&3;var t=e._R(2,"i");e.l+=8;var a=e._R(2);e.l+=12;return[r,t,a]}function Wc(e,r,t){var a=e._R(1)>>>5&3;e.l+=t&&t.biff==2?3:4;var n=e._R(t&&t.biff==2?1:2);return[a,n]}function Vc(e,r,t){var a=e._R(1)>>>5&3;var n=e._R(t&&t.biff==2?1:2);return[a,n]}function Hc(e,r,t){var a=e._R(1)>>>5&3;e.l+=4;if(t.biff<8)e.l--;if(t.biff==12)e.l+=2;return[a]}function Xc(e,r,t){var a=(e[e.l++]&96)>>5;var n=e._R(2);var i=4;if(t)switch(t.biff){case 5:i=15;break;case 12:i=6;break}e.l+=i;return[a,n]}var Gc=Xr;var zc=Xr;var jc=Xr;function $c(e,r,t){e.l+=2;return[ac(e,4,t)]}function Kc(e){e.l+=6;return[]}var Yc=$c;var Qc=Kc;var Jc=Kc;var Zc=$c;function qc(e){e.l+=2;return[Un(e),e._R(2)&1]}var eu=$c;var ru=qc;var tu=Kc;var au=$c;var nu=$c;var iu=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];function su(e){e.l+=2;var r=e._R(2);var t=e._R(2);var a=e._R(4);var n=e._R(2);var i=e._R(2);var s=iu[t>>2&31];return{ixti:r,coltype:t&3,rt:s,idx:a,c:n,C:i}}function fu(e){e.l+=2;return[e._R(4)]}function lu(e,r,t){e.l+=5;e.l+=2;e.l+=t.biff==2?1:4;return["PTGSHEET"]}function ou(e,r,t){e.l+=t.biff==2?4:5;return["PTGENDSHEET"]}function cu(e){var r=e._R(1)>>>5&3;var t=e._R(2);return[r,t]}function uu(e){var r=e._R(1)>>>5&3;var t=e._R(2);return[r,t]}function hu(e){e.l+=4;return[0,0]}var du={1:{n:"PtgExp",f:_c},2:{n:"PtgTbl",f:jc},3:{n:"PtgAdd",f:Qo},4:{n:"PtgSub",f:Qo},5:{n:"PtgMul",f:Qo},6:{n:"PtgDiv",f:Qo},7:{n:"PtgPower",f:Qo},8:{n:"PtgConcat",f:Qo},9:{n:"PtgLt",f:Qo},10:{n:"PtgLe",f:Qo},11:{n:"PtgEq",f:Qo},12:{n:"PtgGe",f:Qo},13:{n:"PtgGt",f:Qo},14:{n:"PtgNe",f:Qo},15:{n:"PtgIsect",f:Qo},16:{n:"PtgUnion",f:Qo},17:{n:"PtgRange",f:Qo},18:{n:"PtgUplus",f:Qo},19:{n:"PtgUminus",f:Qo},20:{n:"PtgPercent",f:Qo},21:{n:"PtgParen",f:Qo},22:{n:"PtgMissArg",f:Qo},23:{n:"PtgStr",f:Dc},26:{n:"PtgSheet",f:lu},27:{n:"PtgEndSheet",f:ou},28:{n:"PtgErr",f:Ac},29:{n:"PtgBool",f:yc},30:{n:"PtgInt",f:Rc},31:{n:"PtgNum",f:Fc},32:{n:"PtgArray",f:uc},33:{n:"PtgFunc",f:Bc},34:{n:"PtgFuncVar",f:Tc},35:{n:"PtgName",f:Mc},36:{n:"PtgRef",f:kc},37:{n:"PtgArea",f:sc},38:{n:"PtgMemArea",f:Wc},39:{n:"PtgMemErr",f:Gc},40:{n:"PtgMemNoMem",f:zc},41:{n:"PtgMemFunc",f:Vc},42:{n:"PtgRefErr",f:Hc},43:{n:"PtgAreaErr",f:lc},44:{n:"PtgRefN",f:wc},45:{n:"PtgAreaN",f:cc},46:{n:"PtgMemAreaN",f:cu},47:{n:"PtgMemNoMemN",f:uu},57:{n:"PtgNameX",f:Lc},58:{n:"PtgRef3d",f:Cc},59:{n:"PtgArea3d",f:fc},60:{n:"PtgRefErr3d",f:Xc},61:{n:"PtgAreaErr3d",f:oc},255:{}};var vu={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 vu)du[e]=du[vu[e]]})();var pu={1:{n:"PtgElfLel",f:qc},2:{n:"PtgElfRw",f:au},3:{n:"PtgElfCol",f:Yc},6:{n:"PtgElfRwV",f:nu},7:{n:"PtgElfColV",f:Zc},10:{n:"PtgElfRadical",f:eu},11:{n:"PtgElfRadicalS",f:tu},13:{n:"PtgElfColS",f:Qc},15:{n:"PtgElfColSV",f:Jc},16:{n:"PtgElfRadicalLel",f:ru},25:{n:"PtgList",f:su},29:{n:"PtgSxName",f:fu},255:{}};var mu={0:{n:"PtgAttrNoop",f:hu},1:{n:"PtgAttrSemi",f:bc},2:{n:"PtgAttrIf",f:pc},4:{n:"PtgAttrChoose",f:dc},8:{n:"PtgAttrGoto",f:vc},16:{n:"PtgAttrSum",f:xc},32:{n:"PtgAttrBaxcel",f:hc},64:{n:"PtgAttrSpace",f:Ec},65:{n:"PtgAttrSpaceSemi",f:Sc},128:{n:"PtgAttrIfError",f:mc},255:{}};mu[33]=mu[32];function bu(e,r,t,a){if(a.biff<8)return Xr(e,r);var n=e.l+r;var i=[];for(var s=0;s!==t.length;++s){switch(t[s][0]){case"PtgArray":t[s][1]=Nc(e,0,a);i.push(t[s][1]);break;case"PtgMemArea":t[s][2]=Pc(e,t[s][1],a);i.push(t[s][2]);break;case"PtgExp":if(a&&a.biff==12){t[s][1][1]=e._R(4);i.push(t[s][1])}break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+t[s][0];default:break}}r=n-e.l;if(r!==0)i.push(Xr(e,r));return i}function gu(e,r,t){var a=e.l+r;var n,i,s=[];while(a!=e.l){r=a-e.l;i=e[e.l];n=du[i];if(i===24||i===25)n=(i===24?pu:mu)[e[e.l+1]];if(!n||!n.f){Xr(e,r)}else{s.push([n.n,n.f(e,r,t)])}}return s}function Eu(e){var r=[];for(var t=0;t=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function ku(e,r){if(!e&&!(r&&r.biff<=5&&r.biff>=2))throw new Error("empty sheet name");if(e.indexOf(" ")>-1)return"'"+e+"'";return e}function wu(e,r,t){if(!e)return"SH33TJSERR0";if(!e.XTI)return"SH33TJSERR6";var a=e.XTI[r];if(t.biff>8&&!e.XTI[r])return e.SheetNames[r];if(t.biff<8){if(r>1e4)r-=65536;if(r<0)r=-r;return r==0?"":e.XTI[r-1]}if(!a)return"SH33TJSERR1";var n="";if(t.biff>8)switch(e[a[0]][0]){case 357:n=a[1]==-1?"#REF":e.SheetNames[a[1]];return a[1]==a[2]?n:n+":"+e.SheetNames[a[2]];case 358:if(t.SID!=null)return e.SheetNames[t.SID];return"SH33TJSSAME"+e[a[0]][0];case 355:default:return"SH33TJSSRC"+e[a[0]][0]}switch(e[a[0]][0][0]){case 1025:n=a[1]==-1?"#REF":e.SheetNames[a[1]]||"SH33TJSERR3";return a[1]==a[2]?n:n+":"+e.SheetNames[a[2]];case 14849:return"SH33TJSERR8";default:if(!e[a[0]][0][3])return"SH33TJSERR2";n=a[1]==-1?"#REF":e[a[0]][0][3][a[1]]||"SH33TJSERR4";return a[1]==a[2]?n:n+":"+e[a[0]][0][3][a[2]]}}function Cu(e,r,t){return ku(wu(e,r,t),t)}function Bu(e,r,t,a,n){var i=n&&n.biff||8;var s={s:{c:0,r:0},e:{c:0,r:0}};var f=[],l,o,c,u=0,h=0,d,v="";if(!e[0]||!e[0][0])return"";var p=-1,m="";for(var b=0,g=e[0].length;b=0){switch(e[0][p][1][0]){case 0:m=M(" ",e[0][p][1][1]);break;case 1:m=M("\r",e[0][p][1][1]);break;default:m="";if(n.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][p][1][0])}o=o+m;p=-1}f.push(o+Su[E[0]]+l);break;case"PtgIsect":l=f.pop();o=f.pop();f.push(o+" "+l);break;case"PtgUnion":l=f.pop();o=f.pop();f.push(o+","+l);break;case"PtgRange":l=f.pop();o=f.pop();f.push(o+":"+l);break;case"PtgAttrChoose":break;case"PtgAttrGoto":break;case"PtgAttrIf":break;case"PtgAttrIfError":break;case"PtgRef":c=Kr(E[1][1],s,n);f.push(Qr(c,i));break;case"PtgRefN":c=t?Kr(E[1][1],t,n):E[1][1];f.push(Qr(c,i));break;case"PtgRef3d":u=E[1][1];c=Kr(E[1][2],s,n);v=Cu(a,u,n);var S=v;f.push(v+"!"+Qr(c,i));break;case"PtgFunc":case"PtgFuncVar":var k=E[1][0],w=E[1][1];if(!k)k=0;k&=127;var C=k==0?[]:f.slice(-k);f.length-=k;if(w==="User")w=C.shift();f.push(w+"("+C.join(",")+")");break;case"PtgBool":f.push(E[1]?"TRUE":"FALSE");break;case"PtgInt":f.push(E[1]);break;case"PtgNum":f.push(String(E[1]));break;case"PtgStr":f.push('"'+E[1]+'"');break;case"PtgErr":f.push(E[1]);break;case"PtgAreaN":d=Yr(E[1][1],t?{s:t}:s,n);f.push(Jr(d,n));break;case"PtgArea":d=Yr(E[1][1],s,n);f.push(Jr(d,n));break;case"PtgArea3d":u=E[1][1];d=E[1][2];v=Cu(a,u,n);f.push(v+"!"+Jr(d,n));break;case"PtgAttrSum":f.push("SUM("+f.pop()+")");break;case"PtgAttrBaxcel":case"PtgAttrSemi":break;case"PtgName":h=E[1][2];var B=(a.names||[])[h-1]||(a[0]||[])[h];var T=B?B.Name:"SH33TJSNAME"+String(h);if(T in Uu)T=Uu[T];f.push(T);break;case"PtgNameX":var I=E[1][1];h=E[1][2];var x;if(n.biff<=5){if(I<0)I=-I;if(a[I])x=a[I][h]}else{var _="";if(((a[I]||[])[0]||[])[0]==14849){}else if(((a[I]||[])[0]||[])[0]==1025){if(a[I][h]&&a[I][h].itab>0){_=a.SheetNames[a[I][h].itab-1]+"!"}}else _=a.SheetNames[h-1]+"!";if(a[I]&&a[I][h])_+=a[I][h].Name;else if(a[0]&&a[0][h])_+=a[0][h].Name;else _+="SH33TJSERRX";f.push(_);break}if(!x)x={Name:"SH33TJSERRY"};f.push(x.Name);break;case"PtgParen":var A="(",R=")";if(p>=0){m="";switch(e[0][p][1][0]){case 2:A=M(" ",e[0][p][1][1])+A;break;case 3:A=M("\r",e[0][p][1][1])+A;break;case 4:R=M(" ",e[0][p][1][1])+R;break;case 5:R=M("\r",e[0][p][1][1])+R;break;default:if(n.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][p][1][0])}p=-1}f.push(A+f.pop()+R);break;case"PtgRefErr":f.push("#REF!");break;case"PtgRefErr3d":f.push("#REF!");break;case"PtgExp":c={c:E[1][1],r:E[1][0]};var y={c:t.c,r:t.r};if(a.sharedf[ct(c)]){var F=a.sharedf[ct(c)];f.push(Bu(F,s,y,a,n))}else{var D=false;for(l=0;l!=a.arrayf.length;++l){o=a.arrayf[l];if(c.co[0].e.c)continue;if(c.ro[0].e.r)continue;f.push(Bu(o[1],s,y,a,n));D=true;break}if(!D)f.push(E[1])}break;case"PtgArray":f.push("{"+Eu(E[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":p=b;break;case"PtgTbl":break;case"PtgMemErr":break;case"PtgMissArg":f.push("");break;case"PtgAreaErr":f.push("#REF!");break;case"PtgAreaErr3d":f.push("#REF!");break;case"PtgList":f.push("Table"+E[1].idx+"[#"+E[1].rt+"]");break;case"PtgMemAreaN":case"PtgMemNoMemN":case"PtgAttrNoop":case"PtgSheet":case"PtgEndSheet":break;case"PtgMemFunc":break;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":throw new Error("Unrecognized Formula Token: "+String(E));default:throw new Error("Unrecognized Formula Token: "+String(E))}var O=["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"];if(n.biff!=3)if(p>=0&&O.indexOf(e[0][b][0])==-1){E=e[0][p];var P=true;switch(E[1][0]){case 4:P=false;case 0:m=M(" ",E[1][1]);break;case 5:P=false;case 1:m=M("\r",E[1][1]);break;default:m="";if(n.WTF)throw new Error("Unexpected PtgAttrSpaceType "+E[1][0])}f.push((P?m:"")+f.pop()+(P?"":m));p=-1}}if(f.length>1&&n.WTF)throw new Error("bad formula stack");return f[0]}function Tu(e,r,t){var a=e.l+r,n=t.biff==2?1:2;var i,s=e._R(n);if(s==65535)return[[],Xr(e,r-2)];var f=gu(e,s,t);if(r!==s+n)i=bu(e,r-s-n,f,t);e.l=a;return[f,i]}function Iu(e,r,t){var a=e.l+r,n=t.biff==2?1:2;var i,s=e._R(n);if(s==65535)return[[],Xr(e,r-2)];var f=gu(e,s,t);if(r!==s+n)i=bu(e,r-s-n,f,t);e.l=a;return[f,i]}function xu(e,r,t,a){var n=e.l+r;var i=gu(e,a,t);var s;if(n!==e.l)s=bu(e,n-e.l,i,t);return[i,s]}function _u(e,r,t){var a=e.l+r;var n,i=e._R(2);var s=gu(e,i,t);if(i==65535)return[[],Xr(e,r-2)];if(r!==i+2)n=bu(e,a-i-2,s,t);return[s,n]}function Au(e){var r;if(yr(e,e.l+6)!==65535)return[Xt(e),"n"];switch(e[e.l]){case 0:e.l+=8;return["String","s"];case 1:r=e[e.l+2]===1;e.l+=8;return[r,"b"];case 2:r=e[e.l+2];e.l+=8;return[r,"e"];case 3:e.l+=8;return["","s"]}return[]}function Ru(e,r,t){var a=e.l+r;var n=ii(e,6);if(t.biff==2)++e.l;var i=Au(e,8);var s=e._R(1);if(t.biff!=2){e._R(1);if(t.biff>=5){e._R(4)}}var f=Iu(e,a-e.l,t);return{cell:n,val:i[0],formula:f,shared:s>>3&1,tt:i[1]}}function yu(e,r,t){var a=e._R(4);var n=gu(e,a,t);var i=e._R(4);var s=i>0?bu(e,i,n,t):null;return[n,s]}var Fu=yu;var Du=yu;var Ou=yu;var Pu=yu;var Nu={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"};var Mu={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"};var Lu={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};var Uu={"_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 Wu(e){if(e.slice(0,3)=="of:")e=e.slice(3);if(e.charCodeAt(0)==61){e=e.slice(1);if(e.charCodeAt(0)==61)e=e.slice(1)}e=e.replace(/COM\.MICROSOFT\./g,"");e=e.replace(/\[((?:\.[A-Z]+[0-9]+)(?::\.[A-Z]+[0-9]+)?)\]/g,function(e,r){return r.replace(/\./g,"")});e=e.replace(/\[.(#[A-Z]*[?!])\]/g,"$1");return e.replace(/[;~]/g,",").replace(/\|/g,";")}function Vu(e){var r="of:="+e.replace(Go,"$1[.$2$3$4$5]").replace(/\]:\[/g,":");return r.replace(/;/g,"|").replace(/,/g,";")}function Hu(e){var r=e.split(":");var t=r[0].split(".")[0];return[t,r[0].split(".")[1]+(r.length>1?":"+(r[1].split(".")[1]||r[1].split(".")[0]):"")]}function Xu(e){return e.replace(/\./,"!")}var Gu={};var zu={};Ra.WS=["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"];var ju=typeof Map!=="undefined";function $u(e,r,t){var a=0,n=e.length;if(t){if(ju?t.has(r):t.hasOwnProperty(r)){var i=ju?t.get(r):t[r];for(;a-1){t.width=al(a);t.customWidth=1}else if(r.width!=null)t.width=r.width;if(r.hidden)t.hidden=true;return t}function Yu(e,r){if(!e)return;var t=[.7,.7,.75,.75,.3,.3];if(r=="xlml")t=[1,1,1,1,.5,.5];if(e.left==null)e.left=t[0];if(e.right==null)e.right=t[1];if(e.top==null)e.top=t[2];if(e.bottom==null)e.bottom=t[3];if(e.header==null)e.header=t[4];if(e.footer==null)e.footer=t[5]}function Qu(e,r,t){var a=t.revssf[r.z!=null?r.z:"General"];var n=60,i;if(a==null&&t.ssf){for(;n<392;++n)if(t.ssf[n]==null){me.load(r.z,n);t.ssf[n]=r.z;t.revssf[r.z]=a=n;break}}if(r.p&&!e.find(function(e){return!!e.applyProtection})){e[e.length]={numFmtId:a,fontId:0,fillId:0,borderId:0,xfId:1,applyNumberFormat:1,applyProtection:1}}for(n=0;n!=e.length;++n){if(e[n].numFmtId===a){if(r.p&&!e[n].applyProtection){continue}i=n;break}}if(i==undefined){var s=e.length;e[s]={numFmtId:a,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1};i=s}return i}function Ju(e,r,t,a,n,i){if(e.t==="z")return;if(e.t==="d"&&typeof e.v==="string")e.v=ae(e.v);try{if(a.cellNF)e.z=me._table[r]}catch(e){if(a.WTF)throw e}if(!a||a.cellText!==false)try{if(me._table[r]==null)me.load(E[r]||"General",r);if(e.t==="e")e.w=e.w||zt[e.v];else if(r===0){if(e.t==="n"){if((e.v|0)===e.v)e.w=me._general_int(e.v);else e.w=me._general_num(e.v)}else if(e.t==="d"){var s=J(e.v);if((s|0)===s)e.w=me._general_int(s);else e.w=me._general_num(s)}else if(e.v===undefined)return"";else e.w=me._general(e.v,zu)}else if(e.t==="d")e.w=me.format(r,J(e.v),zu);else e.w=me.format(r,e.v,zu)}catch(e){if(a.WTF)throw e}if(!a.cellStyles)return;if(t!=null)try{e.s=i.Fills[t];if(e.s.fgColor&&e.s.fgColor.theme&&!e.s.fgColor.rgb){e.s.fgColor.rgb=Qf(n.themeElements.clrScheme[e.s.fgColor.theme].rgb,e.s.fgColor.tint||0);if(a.WTF)e.s.fgColor.raw_rgb=n.themeElements.clrScheme[e.s.fgColor.theme].rgb}if(e.s.bgColor&&e.s.bgColor.theme){e.s.bgColor.rgb=Qf(n.themeElements.clrScheme[e.s.bgColor.theme].rgb,e.s.bgColor.tint||0);if(a.WTF)e.s.bgColor.raw_rgb=n.themeElements.clrScheme[e.s.bgColor.theme].rgb}}catch(e){if(a.WTF&&i.Fills)throw e}}function Zu(e,r,t){if(e&&e["!ref"]){var a=dt(e["!ref"]);if(a.e.c=0&&t.s.c>=0)e["!ref"]=ht(t)}var eh=/<(?:\w:)?mergeCell ref="[A-Z0-9:]+"\s*[\/]?>/g;var rh=/<(?:\w+:)?sheetData>([\s\S]*)<\/(?:\w+:)?sheetData>/;var th=/<(?:\w:)?hyperlink [^>]*>/gm;var ah=/"(\w*:\w*)"/;var nh=/<(?:\w:)?col[^>]*[\/]?>/g;var ih=/<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g;var sh=/<(?:\w:)?pageMargins[^>]*\/>/g;var fh=/<(?:\w:)?sheetPr(?:[^>a-z][^>]*)?\/>/;var lh=/<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/;function oh(e,r,t,a,n,i,s){if(!e)return e;if(pe!=null&&r.dense==null)r.dense=pe;var f=r.dense?[]:{};var l={s:{r:2e6,c:2e6},e:{r:0,c:0}};var o="",c="";var u=e.match(rh);if(u){o=e.slice(0,u.index);c=e.slice(u.index+u[0].length)}else o=c=e;var h=o.match(fh);if(h)uh(h[0],f,n,t);var d=(o.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(d>0){var v=o.slice(d,d+50).match(ah);if(v)qu(f,v[1])}var p=o.match(lh);if(p&&p[1])kh(p[1],n);var m=[];if(r.cellStyles){var b=o.match(nh);if(b)mh(m,b)}if(u)Bh(u[1],f,r,l,i,s);var g=c.match(ih);if(g)f["!autofilter"]=gh(g[0]);var E=[];var S=c.match(eh);if(S)for(d=0;d!=S.length;++d)E[d]=dt(S[d].slice(S[d].indexOf('"')+1));var k=c.match(th);if(k)dh(f,k,a);var w=c.match(sh);if(w)f["!margins"]=vh(de(w[0]));if(!f["!ref"]&&l.e.c>=l.s.c&&l.e.r>=l.s.r)f["!ref"]=ht(l);if(r.sheetRows>0&&f["!ref"]){var C=dt(f["!ref"]);if(r.sheetRows<=+C.e.r){C.e.r=r.sheetRows-1;if(C.e.r>l.e.r)C.e.r=l.e.r;if(C.e.rl.e.c)C.e.c=l.e.c;if(C.e.c0)f["!cols"]=m;if(E.length>0)f["!merges"]=E;return f}function ch(e){if(e.length===0)return"";var r='';for(var t=0;t!=e.length;++t)r+='';return r+""}function uh(e,r,t,a){var n=de(e);if(!t.Sheets[a])t.Sheets[a]={};if(n.codeName)t.Sheets[a].CodeName=n.codeName}function hh(r){var t={sheet:1};var e=["objects","scenarios","selectLockedCells","selectUnlockedCells"];var a=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];e.forEach(function(e){if(r[e]!=null&&r[e])t[e]="1"});a.forEach(function(e){if(r[e]!=null&&!r[e])t[e]="0"});if(r.password)t.password=Lf(r.password).toString(16).toUpperCase();return tr("sheetProtection",null,t)}function dh(e,r,t){var a=Array.isArray(e);for(var n=0;n!=r.length;++n){var i=de(He(r[n]),true);if(!i.ref)return;var s=((t||{})["!id"]||[])[i.id];if(s){i.Target=s.Target;if(i.location)i.Target+="#"+i.location}else{i.Target="#"+i.location;s={Target:i.Target,TargetMode:"Internal"}}i.Rel=s;if(i.tooltip){i.Tooltip=i.tooltip;delete i.tooltip}var f=dt(i.ref);for(var l=f.s.r;l<=f.e.r;++l)for(var o=f.s.c;o<=f.e.c;++o){var c=ct({c:o,r:l});if(a){if(!e[l])e[l]=[];if(!e[l][o])e[l][o]={t:"z",v:undefined};e[l][o].l=i}else{if(!e[c])e[c]={t:"z",v:undefined};e[c].l=i}}}}function vh(r){var t={};["left","right","top","bottom","header","footer"].forEach(function(e){if(r[e])t[e]=parseFloat(r[e])});return t}function ph(e){Yu(e);return tr("pageMargins",null,e)}function mh(e,r){var t=false;for(var a=0;a!=r.length;++a){var n=de(r[a],true);if(n.hidden)n.hidden=Ve(n.hidden);var i=parseInt(n.min,10)-1,s=parseInt(n.max,10)-1;delete n.min;delete n.max;n.width=+n.width;if(!t&&n.width){t=true;il(n.width)}sl(n);while(i<=s)e[i++]=ne(n)}}function bh(e,r){var t=[""],a;for(var n=0;n!=r.length;++n){if(!(a=r[n]))continue;t[t.length]=tr("col",null,Ku(n,a))}t[t.length]="";return t.join("")}function gh(e){var r={ref:(e.match(/ref="([^"]*)"/)||[])[1]};return r}function Eh(e,r,t,a){var n=typeof e.ref=="string"?e.ref:ht(e.ref);if(!t.Workbook)t.Workbook={};if(!t.Workbook.Names)t.Workbook.Names=[];var i=t.Workbook.Names;var s=ut(n);if(s.s.r==s.e.r){s.e.r=ut(r["!ref"]).e.r;n=ht(s)}for(var f=0;fa-z][^>]*)?\/>/;function kh(e,t){(e.match(Sh)||[]).forEach(function(e){var r=de(e);if(Ve(r.rightToLeft)){if(!t.Views)t.Views=[{}];if(!t.Views[0])t.Views[0]={};t.Views[0].RTL=true}})}function wh(e,r,t,a){var n={workbookViewId:"0"};if((((a||{}).Workbook||{}).Views||[])[0])n.rightToLeft=a.Workbook.Views[0].RTL?"1":"0";return tr("sheetViews",tr("sheetView",null,n),{})}function Ch(e,r,t,a){if(e.v===undefined&&e.f===undefined||e.t==="z")return"";var n="";var i=e.t,s=e.v;switch(e.t){case"b":n=e.v?"1":"0";break;case"n":n=""+e.v;break;case"e":n=zt[e.v];break;case"d":if(a.cellDates)n=ae(e.v,-1).toISOString();else{e=ne(e);e.t="n";n=""+(e.v=J(ae(e.v)))}if(typeof e.z==="undefined")e.z=me._table[14];break;default:n=e.v;break}var f=er("v",Be(n)),l={r:r};var o=Qu(a.cellXfs,e,a);if(o!==0)l.s=o;switch(e.t){case"n":break;case"d":l.t="d";break;case"b":l.t="b";break;case"e":l.t="e";break;default:if(e.v==null){delete e.t;break}if(a.bookSST){f=er("v",""+$u(a.Strings,e.v,a.revStrings));l.t="s";break}l.t="str";break}if(e.t!=i){e.t=i;e.v=s}if(e.f){var c=e.F&&e.F.slice(0,r.length)==r?{t:"array",ref:e.F}:null;f=tr("f",Be(e.f),c)+(e.v!=null?f:"")}if(e.l)t["!links"].push([r,e.l]);if(e.c)t["!comments"].push([r,e.c]);return tr("c",f,l)}var Bh=function(){var M=/<(?:\w+:)?c[ >]/,L=/<\/(?:\w+:)?row>/;var U=/r=["']([^"']*)["']/,W=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/;var V=/ref=["']([^"']*)["']/;var H=$e("v"),X=$e("f");return function e(r,t,a,n,i,s){var f=0,l="",o=[],c=[],u=0,h=0,d=0,v="",p;var m,b=0,g=0;var E,S;var k=0,w=0;var C=Array.isArray(s.CellXf),B;var T=[];var I=[];var x=Array.isArray(t);var _=[],A={},R=false;for(var y=r.split(L),F=0,D=y.length;F!=D;++F){l=y[F].trim();var O=l.length;if(O===0)continue;for(f=0;fb-1)n.s.r=b-1;if(n.e.r":"")+l;if(c!=null&&c.length===2){u=0;v=c[1];for(h=0;h!=v.length;++h){if((d=v.charCodeAt(h)-64)<1||d>26)break;u=26*u+d}--u;g=u}else++g;for(h=0;h!=l.length;++h)if(l.charCodeAt(h)===62)break;++h;m=de(l.slice(0,h),true);if(!m.r)m.r=ct({r:b-1,c:g});v=l.slice(h);p={t:""};if((c=v.match(H))!=null&&c[1]!=="")p.v=ke(c[1]);if(a.cellFormula){if((c=v.match(X))!=null&&c[1]!==""){p.f=Yo(ke(He(c[1])));if(c[0].indexOf('t="array"')>-1){p.F=(v.match(V)||[])[1];if(p.F.indexOf(":")>-1)T.push([dt(p.F),p.F])}else if(c[0].indexOf('t="shared"')>-1){S=de(c[0]);I[parseInt(S.si,10)]=[S,Yo(ke(He(c[1])))]}}else if(c=v.match(/]*\/>/)){S=de(c[0]);if(I[S.si])p.f=$o(I[S.si][1],I[S.si][0].ref,m.r)}var P=ot(m.r);for(h=0;h=T[h][0].s.r&&P.r<=T[h][0].e.r)if(P.c>=T[h][0].s.c&&P.c<=T[h][0].e.c)p.F=T[h][1]}if(m.t==null&&p.v===undefined){if(p.f||p.F){p.v=0;p.t="n"}else if(!a.sheetStubs)continue;else p.t="z"}else p.t=m.t||"n";if(n.s.c>g)n.s.c=g;if(n.e.c0)t["!rows"]=_}}();function Th(e,r,t,a){var n=[],i=[],s=dt(e["!ref"]),f="",l,o="",c=[],u=0,h=0,d=e["!rows"];var v=Array.isArray(e);var p={r:o},m,b=-1;for(h=s.s.c;h<=s.e.c;++h)c[h]=it(h);for(u=s.s.r;u<=s.e.r;++u){i=[];o=rt(u);for(h=s.s.c;h<=s.e.c;++h){l=c[h]+o;var g=v?(e[u]||[])[h]:e[l];if(g===undefined)continue;if((f=Ch(g,l,e,r,t,a))!=null)i.push(f)}if(i.length>0||d&&d[u]){p={r:o};if(d&&d[u]){m=d[u];if(m.hidden)p.hidden=1;b=-1;if(m.hpx)b=ol(m.hpx);else if(m.hpt)b=m.hpt;if(b>-1){p.ht=b;p.customHeight=1}if(m.level){p.outlineLevel=m.level}}n[n.length]=tr("row",i.join(""),p)}}if(d)for(;u-1){p.ht=b;p.customHeight=1}if(m.level){p.outlineLevel=m.level}n[n.length]=tr("row","",p)}}return n.join("")}var Ih=tr("worksheet",null,{xmlns:ir.main[0],"xmlns:r":ir.r});function xh(e,r,t,a){var n=[le,Ih];var i=t.SheetNames[e],s=0,f="";var l=t.Sheets[i];if(l==null)l={};var o=l["!ref"]||"A1";var c=dt(o);if(c.e.c>16383||c.e.r>1048575){if(r.WTF)throw new Error("Range "+o+" exceeds format limit A1:XFD1048576");c.e.c=Math.min(c.e.c,16383);c.e.r=Math.min(c.e.c,1048575);o=ht(c)}if(!a)a={};l["!comments"]=[];l["!drawing"]=[];if(r.bookType!=="xlsx"&&t.vbaraw){var u=t.SheetNames[e];try{if(t.Workbook)u=t.Workbook.Sheets[e].CodeName||u}catch(e){}n[n.length]=tr("sheetPr",null,{codeName:Be(u)})}n[n.length]=tr("dimension",null,{ref:o});n[n.length]=wh(l,r,e,t);if(r.sheetFormat)n[n.length]=tr("sheetFormatPr",null,{defaultRowHeight:r.sheetFormat.defaultRowHeight||"16",baseColWidth:r.sheetFormat.baseColWidth||"10",outlineLevelRow:r.sheetFormat.outlineLevelRow||"7"});if(l["!cols"]!=null&&l["!cols"].length>0)n[n.length]=bh(l,l["!cols"]);n[s=n.length]="";l["!links"]=[];if(l["!ref"]!=null){f=Th(l,r,e,t,a);if(f.length>0)n[n.length]=f}if(n.length>s+1){n[n.length]="";n[s]=n[s].replace("/>",">")}if(l["!protect"]!=null)n[n.length]=hh(l["!protect"]);if(l["!autofilter"]!=null)n[n.length]=Eh(l["!autofilter"],l,t,e);if(l["!merges"]!=null&&l["!merges"].length>0)n[n.length]=ch(l["!merges"]);var h=-1,d,v=-1;if(l["!links"].length>0){n[n.length]="";l["!links"].forEach(function(e){if(!e[1].Target)return;d={ref:e[0]};if(e[1].Target.charAt(0)!="#"){v=Pa(a,-1,Be(e[1].Target).replace(/#.*$/,""),Ra.HLINK);d["r:id"]="rId"+v}if((h=e[1].Target.indexOf("#"))>-1)d.location=Be(e[1].Target.slice(h+1));if(e[1].Tooltip)d.tooltip=Be(e[1].Tooltip);n[n.length]=tr("hyperlink",null,d)});n[n.length]=""}delete l["!links"];if(l["!margins"]!=null)n[n.length]=ph(l["!margins"]);n[n.length]="";if(!r||r.ignoreEC||r.ignoreEC==void 0)n[n.length]=er("ignoredErrors",tr("ignoredError",null,{numberStoredAsText:1,sqref:o}));if(l["!drawing"].length>0){v=Pa(a,-1,"../drawings/drawing"+(e+1)+".xml",Ra.DRAW);n[n.length]=tr("drawing",null,{"r:id":"rId"+v})}else delete l["!drawing"];if(l["!comments"].length>0){v=Pa(a,-1,"../drawings/vmlDrawing"+(e+1)+".vml",Ra.VML);n[n.length]=tr("legacyDrawing",null,{"r:id":"rId"+v});l["!legacy"]=v}if(n.length>2){n[n.length]="";n[1]=n[1].replace("/>",">")}return n.join("")}function _h(e,r){var t={};var a=e.l+r;t.r=e._R(4);e.l+=4;var n=e._R(2);e.l+=1;var i=e._R(1);e.l=a;if(i&7)t.level=i&7;if(i&16)t.hidden=true;if(i&32)t.hpt=n/20;return t}function Ah(e,r,t){var a=Gr(17+8*16);var n=(t["!rows"]||[])[e]||{};a._W(4,e);a._W(4,0);var i=320;if(n.hpx)i=ol(n.hpx)*20;else if(n.hpt)i=n.hpt*20;a._W(2,i);a._W(1,0);var s=0;if(n.level)s|=n.level;if(n.hidden)s|=16;if(n.hpx||n.hpt)s|=32;a._W(1,s);a._W(1,0);var f=0,l=a.l;a.l+=4;var o={r:e,c:0};for(var c=0;c<16;++c){if(r.s.c>c+1<<10||r.e.ca.l?a.slice(0,a.l):a}function Rh(e,r,t,a){var n=Ah(a,t,r);if(n.length>17||(r["!rows"]||[])[a])$r(e,"BrtRowHdr",n)}var yh=Vt;var Fh=Ht;function Dh(){}function Oh(e,r){var t={};e.l+=19;t.name=Rt(e,r-19);return t}function Ph(e,r){if(r==null)r=Gr(84+4*e.length);for(var t=0;t<3;++t)r._W(1,0);Kt({auto:1},r);r._W(-4,-1);r._W(-4,-1);yt(e,r);return r.slice(0,r.l)}function Nh(e){var r=_t(e);return[r]}function Mh(e,r,t){if(t==null)t=Gr(8);return At(r,t)}function Lh(e){var r=_t(e);var t=e._R(1);return[r,t,"b"]}function Uh(e,r,t){if(t==null)t=Gr(9);At(r,t);t._W(1,e.v?1:0);return t}function Wh(e){var r=_t(e);var t=e._R(1);return[r,t,"e"]}function Vh(e){var r=_t(e);var t=e._R(4);return[r,t,"s"]}function Hh(e,r,t){if(t==null)t=Gr(12);At(r,t);t._W(4,r.v);return t}function Xh(e){var r=_t(e);var t=Xt(e);return[r,t,"n"]}function Gh(e,r,t){if(t==null)t=Gr(16);At(r,t);Gt(e.v,t);return t}function zh(e){var r=_t(e);var t=Mt(e);return[r,t,"n"]}function jh(e,r,t){if(t==null)t=Gr(12);At(r,t);Lt(e.v,t);return t}function $h(e){var r=_t(e);var t=St(e);return[r,t,"str"]}function Kh(e,r,t){if(t==null)t=Gr(12+4*e.v.length);At(r,t);kt(e.v,t);return t.length>t.l?t.slice(0,t.l):t}function Yh(e,r,t){var a=e.l+r;var n=_t(e);n.r=t["!row"];var i=e._R(1);var s=[n,i,"b"];if(t.cellFormula){e.l+=2;var f=Du(e,a-e.l,t);s[3]=Bu(f,null,n,t.supbooks,t)}else e.l=a;return s}function Qh(e,r,t){var a=e.l+r;var n=_t(e);n.r=t["!row"];var i=e._R(1);var s=[n,i,"e"];if(t.cellFormula){e.l+=2;var f=Du(e,a-e.l,t);s[3]=Bu(f,null,n,t.supbooks,t)}else e.l=a;return s}function Jh(e,r,t){var a=e.l+r;var n=_t(e);n.r=t["!row"];var i=Xt(e);var s=[n,i,"n"];if(t.cellFormula){e.l+=2;var f=Du(e,a-e.l,t);s[3]=Bu(f,null,n,t.supbooks,t)}else e.l=a;return s}function Zh(e,r,t){var a=e.l+r;var n=_t(e);n.r=t["!row"];var i=St(e);var s=[n,i,"str"];if(t.cellFormula){e.l+=2;var f=Du(e,a-e.l,t);s[3]=Bu(f,null,n,t.supbooks,t)}else e.l=a;return s}var qh=Vt;var ed=Ht;function rd(e,r){if(r==null)r=Gr(4);r._W(4,e);return r}function td(e,r){var t=e.l+r;var a=Vt(e,16);var n=Ft(e);var i=St(e);var s=St(e);var f=St(e);e.l=t;var l={rfx:a,relId:n,loc:i,display:f};if(s)l.Tooltip=s;return l}function ad(e,r){var t=Gr(50+4*(e[1].Target.length+(e[1].Tooltip||"").length));Ht({s:ot(e[0]),e:ot(e[0])},t);Nt("rId"+r,t);var a=e[1].Target.indexOf("#");var n=a==-1?"":e[1].Target.slice(a+1);kt(n||"",t);kt(e[1].Tooltip||"",t);kt("",t);return t.slice(0,t.l)}function nd(e,r,t){var a=e.l+r;var n=Ut(e,16);var i=e._R(1);var s=[n];s[2]=i;if(t.cellFormula){var f=Fu(e,a-e.l,t);s[1]=f}else e.l=a;return s}function id(e,r,t){var a=e.l+r;var n=Vt(e,16);var i=[n];if(t.cellFormula){var s=Pu(e,a-e.l,t);i[1]=s;e.l=a}else e.l=a;return i}function sd(e,r,t){if(t==null)t=Gr(18);var a=Ku(e,r);t._W(-4,e);t._W(-4,e);t._W(4,(a.width||10)*256);t._W(4,0);var n=0;if(r.hidden)n|=1;if(typeof a.width=="number")n|=2;t._W(1,n);t._W(1,0);return t}var fd=["left","right","top","bottom","header","footer"];function ld(r){var t={};fd.forEach(function(e){t[e]=Xt(r,8)});return t}function od(r,t){if(t==null)t=Gr(6*8);Yu(r);fd.forEach(function(e){Gt(r[e],t)});return t}function cd(e){var r=e._R(2);e.l+=28;return{RTL:r&32}}function ud(e,r,t){if(t==null)t=Gr(30);var a=924;if((((r||{}).Views||[])[0]||{}).RTL)a|=32;t._W(2,a);t._W(4,0);t._W(4,0);t._W(4,0);t._W(1,0);t._W(1,0);t._W(2,0);t._W(2,100);t._W(2,0);t._W(2,0);t._W(2,0);t._W(4,0);return t}function hd(e){var r=Gr(24);r._W(4,4);r._W(4,1);Ht(e,r);return r}function dd(r,t){if(t==null)t=Gr(16*4+2);t._W(2,r.password?Lf(r.password):0);t._W(4,1);[["objects",false],["scenarios",false],["formatCells",true],["formatColumns",true],["formatRows",true],["insertColumns",true],["insertRows",true],["insertHyperlinks",true],["deleteColumns",true],["deleteRows",true],["selectLockedCells",false],["sort",true],["autoFilter",true],["pivotTables",true],["selectUnlockedCells",false]].forEach(function(e){if(e[1])t._W(4,r[e[0]]!=null&&!r[e[0]]?1:0);else t._W(4,r[e[0]]!=null&&r[e[0]]?0:1)});return t}function vd(e,r,f,l,o,c,u){if(!e)return e;var h=r||{};if(!l)l={"!id":{}};if(pe!=null&&h.dense==null)h.dense=pe;var d=h.dense?[]:{};var v;var p={s:{r:2e6,c:2e6},e:{r:0,c:0}};var m=false,b=false;var g,E,S,k,w,C,B,T,I;var x=[];h.biff=12;h["!row"]=0;var _=0,A=false;var R=[];var y={};var F=h.supbooks||[[]];F.sharedf=y;F.arrayf=R;F.SheetNames=o.SheetNames||o.Sheets.map(function(e){return e.name});if(!h.supbooks){h.supbooks=F;if(o.Names)for(var t=0;t=n[0].s.r&&g.r<=n[0].e.r)if(w>=n[0].s.c&&w<=n[0].e.c){E.F=ht(n[0]);A=true}}if(!A&&r.length>3)E.f=r[3]}if(p.s.r>g.r)p.s.r=g.r;if(p.s.c>w)p.s.c=w;if(p.e.rg.r)p.s.r=g.r;if(p.s.c>w)p.s.c=w;if(p.e.r=r.s){D[r.e--]={width:r.w/256,hidden:!!(r.flags&1)};if(!P){P=true;il(r.w/256)}sl(D[r.e+1])}break;case 161:d["!autofilter"]={ref:ht(r)};break;case 476:d["!margins"]=r;break;case 147:if(!o.Sheets[f])o.Sheets[f]={};if(r.name)o.Sheets[f].CodeName=r.name;break;case 137:if(!o.Views)o.Views=[{}];if(!o.Views[0])o.Views[0]={};if(r.RTL)o.Views[0].RTL=true;break;case 485: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 64:case 1053:case 550:case 171:case 167:case 1177:case 169:case 1181:case 551:case 552:case 661:case 639:case 478:case 151: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:m=true;break;case 36:m=false;break;case 37:break;case 38:break;default:if((t||"").indexOf("Begin")>0){}else if((t||"").indexOf("End")>0){}else if(!m||h.WTF)throw new Error("Unexpected record "+a+" "+t)}},h);delete h.supbooks;delete h["!row"];if(!d["!ref"]&&(p.s.r<2e6||v&&(v.e.r>0||v.e.c>0||v.s.r>0||v.s.c>0)))d["!ref"]=ht(v||p);if(h.sheetRows&&d["!ref"]){var a=dt(d["!ref"]);if(h.sheetRows<=+a.e.r){a.e.r=h.sheetRows-1;if(a.e.r>p.e.r)a.e.r=p.e.r;if(a.e.rp.e.c)a.e.c=p.e.c;if(a.e.c0)d["!merges"]=x;if(D.length>0)d["!cols"]=D;if(O.length>0)d["!rows"]=O;return d}function pd(e,r,t,a,n,i){if(r.v===undefined)return"";var s="";switch(r.t){case"b":s=r.v?"1":"0";break;case"d":r=ne(r);r.z=r.z||me._table[14];r.v=J(ae(r.v));r.t="n";break;case"n":case"e":s=""+r.v;break;default:s=r.v;break}var f={r:t,c:a};f.s=Qu(n.cellXfs,r,n);if(r.l)i["!links"].push([ct(f),r.l]);if(r.c)i["!comments"].push([ct(f),r.c]);switch(r.t){case"s":case"str":if(n.bookSST){s=$u(n.Strings,r.v,n.revStrings);f.t="s";f.v=s;$r(e,"BrtCellIsst",Hh(r,f))}else{f.t="str";$r(e,"BrtCellSt",Kh(r,f))}return;case"n":if(r.v==(r.v|0)&&r.v>-1e3&&r.v<1e3)$r(e,"BrtCellRk",jh(r,f));else $r(e,"BrtCellReal",Gh(r,f));return;case"b":f.t="b";$r(e,"BrtCellBool",Uh(r,f));return;case"e":f.t="e";break}$r(e,"BrtCellBlank",Mh(r,f))}function md(e,r,t,a){var n=dt(r["!ref"]||"A1"),i,s="",f=[];$r(e,"BrtBeginSheetData");var l=Array.isArray(r);var o=n.e.r;if(r["!rows"])o=Math.max(n.e.r,r["!rows"].length-1);for(var c=n.s.r;c<=o;++c){s=rt(c);Rh(e,r,n,c);if(c<=n.e.r)for(var u=n.s.c;u<=n.e.c;++u){if(c===n.s.r)f[u]=it(u);i=f[u]+s;var h=l?(r[c]||[])[u]:r[i];if(!h)continue;pd(e,h,c,u,a,r)}}$r(e,"BrtEndSheetData")}function bd(r,e){if(!e||!e["!merges"])return;$r(r,"BrtBeginMergeCells",rd(e["!merges"].length));e["!merges"].forEach(function(e){$r(r,"BrtMergeCell",ed(e))});$r(r,"BrtEndMergeCells")}function gd(t,e){if(!e||!e["!cols"])return;$r(t,"BrtBeginColInfos");e["!cols"].forEach(function(e,r){if(e)$r(t,"BrtColInfo",sd(r,e))});$r(t,"BrtEndColInfos")}function Ed(e,r){if(!r||!r["!ref"])return;$r(e,"BrtBeginCellIgnoreECs");$r(e,"BrtCellIgnoreEC",hd(dt(r["!ref"])));$r(e,"BrtEndCellIgnoreECs")}function Sd(t,e,a){e["!links"].forEach(function(e){if(!e[1].Target)return;var r=Pa(a,-1,e[1].Target.replace(/#.*$/,""),Ra.HLINK);$r(t,"BrtHLink",ad(e,r))});delete e["!links"]}function kd(e,r,t,a){if(r["!comments"].length>0){var n=Pa(a,-1,"../drawings/vmlDrawing"+(t+1)+".vml",Ra.VML);$r(e,"BrtLegacyDrawing",Nt("rId"+n));r["!legacy"]=n}}function wd(e,r){if(!r["!autofilter"])return;$r(e,"BrtBeginAFilter",Ht(dt(r["!autofilter"].ref)));$r(e,"BrtEndAFilter")}function Cd(e,r,t){$r(e,"BrtBeginWsViews");{$r(e,"BrtBeginWsView",ud(r,t));$r(e,"BrtEndWsView")}$r(e,"BrtEndWsViews")}function Bd(){}function Td(e,r){if(!r["!protect"])return;$r(e,"BrtSheetProtection",dd(r["!protect"]))}function Id(e,r,t,a){var n=jr();var i=t.SheetNames[e],s=t.Sheets[i]||{};var f=i;try{if(t&&t.Workbook)f=t.Workbook.Sheets[e].CodeName||f}catch(e){}var l=dt(s["!ref"]||"A1");if(l.e.c>16383||l.e.r>1048575){if(r.WTF)throw new Error("Range "+(s["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");l.e.c=Math.min(l.e.c,16383);l.e.r=Math.min(l.e.c,1048575)}s["!links"]=[];s["!comments"]=[];$r(n,"BrtBeginSheet");if(t.vbaraw)$r(n,"BrtWsProp",Ph(f));$r(n,"BrtWsDim",Fh(l));Cd(n,s,t.Workbook);Bd(n,s);gd(n,s,e,r,t);md(n,s,e,r,t);Td(n,s);wd(n,s);bd(n,s);Sd(n,s,a);if(s["!margins"])$r(n,"BrtMargins",od(s["!margins"]));if(!r||r.ignoreEC||r.ignoreEC==void 0)Ed(n,s);kd(n,s,e,a);$r(n,"BrtEndSheet");return n.end()}function xd(e){var t=[];(e.match(/(.*?)<\/c:pt>/gm)||[]).forEach(function(e){var r=e.match(/(.*)<\/c:v><\/c:pt>/);if(!r)return;t[+r[1]]=+r[2]});var r=ke((e.match(/([\s\S]*?)<\/c:formatCode>/)||["","General"])[1]);return[t,r]}function _d(e,r,t,a,n,i){var s=i||{"!type":"chart"};if(!e)return i;var f=0,l=0,o="A";var c={s:{r:2e6,c:2e6},e:{r:0,c:0}};(e.match(/[\s\S]*?<\/c:numCache>/gm)||[]).forEach(function(e){var t=xd(e);c.s.r=c.s.c=0;c.e.c=f;o=it(f);t[0].forEach(function(e,r){s[o+rt(r)]={t:"n",v:e,z:t[1]};l=r});if(c.e.r0)s["!ref"]=ht(c);return s}Ra.CS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet";var Ad=tr("chartsheet",null,{xmlns:ir.main[0],"xmlns:r":ir.r});function Rd(e,r,t,a,n){if(!e)return e;if(!a)a={"!id":{}};var i={"!type":"chart","!chart":null,"!rel":""};var s;var f=e.match(fh);if(f)uh(f[0],i,n,t);if(s=e.match(/drawing r:id="(.*?)"/))i["!rel"]=s[1];if(a["!id"][i["!rel"]])i["!chart"]=a["!id"][i["!rel"]];return i}function yd(e,r,t,a){var n=[le,Ad];n[n.length]=tr("drawing",null,{"r:id":"rId1"});Pa(a,-1,"../drawings/drawing"+(e+1)+".xml",Ra.DRAW);if(n.length>2){n[n.length]="";n[1]=n[1].replace("/>",">")}return n.join("")}function Fd(e,r){e.l+=10;var t=St(e,r-10);return{name:t}}function Dd(e,n,i,r,s){if(!e)return e;if(!r)r={"!id":{}};var f={"!type":"chart","!chart":null,"!rel":""};var l=[];var o=false;zr(e,function e(r,t,a){switch(a){case 550:f["!rel"]=r;break;case 651:if(!s.Sheets[i])s.Sheets[i]={};if(r.name)s.Sheets[i].CodeName=r.name;break;case 562:case 652:case 669:case 679:case 551:case 552:case 476:case 3072:break;case 35:o=true;break;case 36:o=false;break;case 37:l.push(t);break;case 38:l.pop();break;default:if((t||"").indexOf("Begin")>0)l.push(t);else if((t||"").indexOf("End")>0)l.pop();else if(!o||n.WTF)throw new Error("Unexpected record "+a+" "+t)}},n);if(r["!id"][f["!rel"]])f["!chart"]=r["!id"][f["!rel"]];return f}function Od(){var e=jr();$r(e,"BrtBeginSheet");$r(e,"BrtEndSheet");return e.end()}var Pd=[["allowRefreshQuery",false,"bool"],["autoCompressPictures",true,"bool"],["backupFile",false,"bool"],["checkCompatibility",false,"bool"],["CodeName",""],["date1904",false,"bool"],["defaultThemeVersion",0,"int"],["filterPrivacy",false,"bool"],["hidePivotFieldList",false,"bool"],["promptedSolutions",false,"bool"],["publishItems",false,"bool"],["refreshAllConnections",false,"bool"],["saveExternalLinkValues",true,"bool"],["showBorderUnselectedTables",true,"bool"],["showInkAnnotation",true,"bool"],["showObjects","all"],["showPivotChartFilter",false,"bool"],["updateLinks","userSet"]];var Nd=[["activeTab",0,"int"],["autoFilterDateGrouping",true,"bool"],["firstSheet",0,"int"],["minimized",false,"bool"],["showHorizontalScroll",true,"bool"],["showSheetTabs",true,"bool"],["showVerticalScroll",true,"bool"],["tabRatio",600,"int"],["visibility","visible"]];var Md=[];var Ld=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function Ud(e,r){for(var t=0;t!=e.length;++t){var a=e[t];for(var n=0;n!=r.length;++n){var i=r[n];if(a[i[0]]==null)a[i[0]]=i[1];else switch(i[2]){case"bool":if(typeof a[i[0]]=="string")a[i[0]]=Ve(a[i[0]]);break;case"int":if(typeof a[i[0]]=="string")a[i[0]]=parseInt(a[i[0]],10);break}}}}function Wd(e,r){for(var t=0;t!=r.length;++t){var a=r[t];if(e[a[0]]==null)e[a[0]]=a[1];else switch(a[2]){case"bool":if(typeof e[a[0]]=="string")e[a[0]]=Ve(e[a[0]]);break;case"int":if(typeof e[a[0]]=="string")e[a[0]]=parseInt(e[a[0]],10);break}}}function Vd(e){Wd(e.WBProps,Pd);Wd(e.CalcPr,Ld);Ud(e.WBView,Nd);Ud(e.Sheets,Md);zu.date1904=Ve(e.WBProps.date1904)}function Hd(e){if(!e.Workbook)return"false";if(!e.Workbook.WBProps)return"false";return Ve(e.Workbook.WBProps.date1904)?"true":"false"}var Xd="][*?/\\".split("");function Gd(r,t){if(r.length>31){if(t)return false;throw new Error("Sheet names cannot exceed 31 chars")}var a=true;Xd.forEach(function(e){if(r.indexOf(e)==-1)return;if(!t)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");a=false});return a}function zd(n,i,s){n.forEach(function(e,r){Gd(e);for(var t=0;t22)throw new Error("Bad Code Name: Worksheet"+a)}})}function jd(e){if(!e||!e.SheetNames||!e.Sheets)throw new Error("Invalid Workbook");if(!e.SheetNames.length)throw new Error("Workbook is empty");var r=e.Workbook&&e.Workbook.Sheets||[];zd(e.SheetNames,r,!!e.vbaraw);for(var t=0;t":break;case"":case"":break;case"":break;case"":Pd.forEach(function(e){if(a[e[0]]==null)return;switch(e[2]){case"bool":s.WBProps[e[0]]=Ve(a[e[0]]);break;case"int":s.WBProps[e[0]]=parseInt(a[e[0]],10);break;default:s.WBProps[e[0]]=a[e[0]]}});if(a.codeName)s.WBProps.CodeName=a.codeName;break;case"":break;case"":break;case"":case"":break;case"":delete a[0];s.WBView.push(a);break;case"":break;case"":case"":break;case"":break;case"":break;case"":case"":break;case"":break;case"":case"":f=false;break;case"":{o.Ref=ke(He(n.slice(c,t)));s.Names.push(o)}break;case"":break;case"":delete a[0];s.CalcPr=a;break;case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":case"":break;case"":break;case"":break;case"":case"":break;case"":case"":case"":break;case"":f=false;break;case"":f=true;break;case"":f=false;break;case"0;var a={codeName:"ThisWorkbook"};if(r.Workbook&&r.Workbook.WBProps){Pd.forEach(function(e){if(r.Workbook.WBProps[e[0]]==null)return;if(r.Workbook.WBProps[e[0]]==e[1])return;a[e[0]]=r.Workbook.WBProps[e[0]]});if(r.Workbook.WBProps.CodeName){a.codeName=r.Workbook.WBProps.CodeName;delete a.CodeName}}t[t.length]=tr("workbookPr",null,a);t[t.length]="";var n=r.Workbook&&r.Workbook.Sheets||[];for(var i=0;i!=r.SheetNames.length;++i){var s={name:Be(r.SheetNames[i].slice(0,31))};s.sheetId=""+(i+1);s["r:id"]="rId"+(i+1);if(n[i])switch(n[i].Hidden){case 1:s.state="hidden";break;case 2:s.state="veryHidden";break}t[t.length]=tr("sheet",null,s)}t[t.length]="";if(e){t[t.length]="";if(r.Workbook&&r.Workbook.Names)r.Workbook.Names.forEach(function(e){var r={name:e.Name};if(e.Comment)r.comment=e.Comment;if(e.Sheet!=null)r.localSheetId=""+e.Sheet;if(!e.Ref)return;t[t.length]=tr("definedName",String(e.Ref),r)});t[t.length]=""}if(t.length>2){t[t.length]="";t[1]=t[1].replace("/>",">")}return t.join("")}function Jd(e,r){var t={};t.Hidden=e._R(4);t.iTabID=e._R(4);t.strRelID=Pt(e,r-8);t.name=St(e);return t}function Zd(e,r){if(!r)r=Gr(127);r._W(4,e.Hidden);r._W(4,e.iTabID);Nt(e.strRelID,r);kt(e.name.slice(0,31),r);return r.length>r.l?r.slice(0,r.l):r}function qd(e,r){var t={};var a=e._R(4);t.defaultThemeVersion=e._R(4);var n=r>8?St(e):"";if(n.length>0)t.CodeName=n;t.autoCompressPictures=!!(a&65536);t.backupFile=!!(a&64);t.checkCompatibility=!!(a&4096);t.date1904=!!(a&1);t.filterPrivacy=!!(a&8);t.hidePivotFieldList=!!(a&1024);t.promptedSolutions=!!(a&16);t.publishItems=!!(a&2048);t.refreshAllConnections=!!(a&262144);t.saveExternalLinkValues=!!(a&128);t.showBorderUnselectedTables=!!(a&4);t.showInkAnnotation=!!(a&32);t.showObjects=["all","placeholders","none"][a>>13&3];t.showPivotChartFilter=!!(a&32768);t.updateLinks=["userSet","never","always"][a>>8&3];return t}function ev(e,r){if(!r)r=Gr(72);var t=0;if(e){if(e.filterPrivacy)t|=8}r._W(4,t);r._W(4,0);yt(e&&e.CodeName||"ThisWorkbook",r);return r.slice(0,r.l)}function rv(e,r){var t={};e._R(4);t.ArchID=e._R(4);e.l+=r-8;return t}function tv(e,r,t){var a=e.l+r;e.l+=4;e.l+=1;var n=e._R(4);var i=Ot(e);var s=Ou(e,0,t);var f=Ft(e);e.l=a;var l={Name:i,Ptg:s};if(n<268435455)l.Sheet=n;if(f)l.Comment=f;return l}function av(e,n){var i={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""};var s=false;if(!n)n={};n.biff=12;var f=[];var l=[[]];l.SheetNames=[];l.XTI=[];zr(e,function e(r,t,a){switch(a){case 156:l.SheetNames.push(r.name);i.Sheets.push(r);break;case 153:i.WBProps=r;break;case 39:if(r.Sheet!=null)n.SID=r.Sheet;r.Ref=Bu(r.Ptg,null,null,l,n);delete n.SID;delete r.Ptg;f.push(r);break;case 1036:break;case 357:case 358:case 355:case 667:if(!l[0].length)l[0]=[a,r];else l.push([a,r]);l[l.length-1].XTI=[];break;case 362:if(l.length===0){l[0]=[];l[0].XTI=[]}l[l.length-1].XTI=l[l.length-1].XTI.concat(r);l.XTI=l.XTI.concat(r);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:s=true;break;case 36:s=false;break;case 37:break;case 38:break;case 16:break;default:if((t||"").indexOf("Begin")>0){}else if((t||"").indexOf("End")>0){}else if(!s||n.WTF)throw new Error("Unexpected record "+a+" "+t)}},n);Vd(i);i.Names=f;i.supbooks=l;return i}function nv(e,r){$r(e,"BrtBeginBundleShs");for(var t=0;t!=r.SheetNames.length;++t){var a=r.Workbook&&r.Workbook.Sheets&&r.Workbook.Sheets[t]&&r.Workbook.Sheets[t].Hidden||0;var n={Hidden:a,iTabID:t+1,strRelID:"rId"+(t+1),name:r.SheetNames[t]};$r(e,"BrtBundleSh",Zd(n))}$r(e,"BrtEndBundleShs")}function iv(e,r){if(!r)r=Gr(127);for(var t=0;t!=4;++t)r._W(4,0);kt("SheetJS",r);kt(a.version,r);kt(a.version,r);kt("7262",r);r.length=r.l;return r.length>r.l?r.slice(0,r.l):r}function sv(e,r){if(!r)r=Gr(29);r._W(-4,0);r._W(-4,460);r._W(4,28800);r._W(4,17600);r._W(4,500);r._W(4,e);r._W(4,e);var t=120;r._W(1,t);return r.length>r.l?r.slice(0,r.l):r}function fv(e,r){if(!r.Workbook||!r.Workbook.Sheets)return;var t=r.Workbook.Sheets;var a=0,n=-1,i=-1;for(;an)return;$r(e,"BrtBeginBookViews");$r(e,"BrtBookView",sv(n));$r(e,"BrtEndBookViews")}function lv(e,r){var t=jr();$r(t,"BrtBeginBook");$r(t,"BrtFileVersion",iv());$r(t,"BrtWbProp",ev(e.Workbook&&e.Workbook.WBProps||null));fv(t,e,r);nv(t,e,r);$r(t,"BrtEndBook");return t.end()}function ov(e,r,t){if(r.slice(-4)===".bin")return av(e,t);return Kd(e,t)}function cv(e,r,t,a,n,i,s,f){if(r.slice(-4)===".bin")return vd(e,a,t,n,i,s,f);return oh(e,a,t,n,i,s,f)}function uv(e,r,t,a,n,i,s,f){if(r.slice(-4)===".bin")return Dd(e,a,t,n,i,s,f);return Rd(e,a,t,n,i,s,f)}function hv(e,r,t,a,n,i,s,f){if(r.slice(-4)===".bin")return Vo(e,a,t,n,i,s,f);return Ho(e,a,t,n,i,s,f)}function dv(e,r,t,a,n,i,s,f){if(r.slice(-4)===".bin")return Uo(e,a,t,n,i,s,f);return Wo(e,a,t,n,i,s,f)}function vv(e,r,t,a){if(r.slice(-4)===".bin")return Ul(e,t,a);return kl(e,t,a)}function pv(e,r,t){return io(e,t)}function mv(e,r,t){if(r.slice(-4)===".bin")return gf(e,t);return vf(e,t)}function bv(e,r,t){if(r.slice(-4)===".bin")return Do(e,t);return Io(e,t)}function gv(e,r,t){if(r.slice(-4)===".bin")return go(e,r,t);return mo(e,r,t)}function Ev(e,r,t){if(r.slice(-4)===".bin")return So(e,r,t);return Eo(e,r,t)}function Sv(e,r,t){return(r.slice(-4)===".bin"?lv:Qd)(e,t)}function kv(e,r,t,a,n){return(r.slice(-4)===".bin"?Id:xh)(e,t,a,n)}function wv(e,r,t,a,n){return(r.slice(-4)===".bin"?Od:yd)(e,t,a,n)}function Cv(e,r,t){return(r.slice(-4)===".bin"?Ql:Cl)(e,t)}function Bv(e,r,t){return(r.slice(-4)===".bin"?kf:mf)(e,t)}function Tv(e,r,t){return(r.slice(-4)===".bin"?Oo:_o)(e,t)}var Iv=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g;var xv=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;var _v=function(e){return String.fromCharCode(e)};function Av(e,r){var t=e.split(/\s+/);var a=[];if(!r)a[0]=t[0];if(t.length===1)return a;var n=e.match(Iv),i,s,f,l;if(n)for(l=0;l!=n.length;++l){i=n[l].match(xv);if((s=i[1].indexOf(":"))===-1)a[i[1]]=i[2].slice(1,i[2].length-1);else{if(i[1].slice(0,6)==="xmlns:")f="xmlns"+i[1].slice(6);else f=i[1].slice(s+1);a[f]=i[2].slice(1,i[2].length-1)}}return a}function Rv(e){var r=e.split(/\s+/);var t={};if(r.length===1)return t;var a=e.match(Iv),n,i,s,f;if(a)for(f=0;f!=a.length;++f){n=a[f].match(xv);if((i=n[1].indexOf(":"))===-1)t[n[1]]=n[2].slice(1,n[2].length-1);else{if(n[1].slice(0,6)==="xmlns:")s="xmlns"+n[1].slice(6);else s=n[1].slice(i+1);t[s]=n[2].slice(1,n[2].length-1)}}return t}function yv(e,r){var t=te[e]||ke(e);if(t==="General")return me._general(r);return me.format(t,r)}function Fv(e,r,t,a){var n=a;switch((t[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":n=Ve(a);break;case"i2":case"int":n=parseInt(a,10);break;case"r4":case"float":n=parseFloat(a);break;case"date":case"dateTime.tz":n=ae(a);break;case"i8":case"string":case"fixed":case"uuid":case"bin.base64":break;default:throw new Error("bad custprop:"+t[0])}e[ke(r)]=n}function Dv(e,r,t){if(e.t==="z")return;if(!t||t.cellText!==false)try{if(e.t==="e"){e.w=e.w||zt[e.v]}else if(r==="General"){if(e.t==="n"){if((e.v|0)===e.v)e.w=me._general_int(e.v);else e.w=me._general_num(e.v)}else e.w=me._general(e.v)}else e.w=yv(r||"General",e.v)}catch(e){if(t.WTF)throw e}try{var a=te[r]||r||"General";if(t.cellNF)e.z=a;if(t.cellDates&&e.t=="n"&&me.is_date(a)){var n=me.parse_date_code(e.v);if(n){e.t="d";e.v=new Date(n.y,n.m-1,n.d,n.H,n.M,n.S,n.u)}}}catch(e){if(t.WTF)throw e}}function Ov(e,r,t){if(t.cellStyles){if(r.Interior){var a=r.Interior;if(a.Pattern)a.patternType=ul[a.Pattern]||a.Pattern}}e[r.ID]=r}function Pv(e,r,t,a,n,i,s,f,l,o){var c="General",u=a.StyleID,h={};o=o||{};var d=[];var v=0;if(u===undefined&&f)u=f.StyleID;if(u===undefined&&s)u=s.StyleID;while(i[u]!==undefined){if(i[u].nf)c=i[u].nf;if(i[u].Interior)d.push(i[u].Interior);if(!i[u].Parent)break;u=i[u].Parent}switch(t.Type){case"Boolean":a.t="b";a.v=Ve(e);break;case"String":a.t="s";a.r=Ue(ke(e));a.v=e.indexOf("<")>-1?ke(r):a.r;break;case"DateTime":if(e.slice(-1)!="Z")e+="Z";a.v=(ae(e)-new Date(Date.UTC(1899,11,30)))/(24*60*60*1e3);if(a.v!==a.v)a.v=ke(e);else if(a.v<60)a.v=a.v-1;if(!c||c=="General")c="yyyy-mm-dd";case"Number":if(a.v===undefined)a.v=+e;if(!a.t)a.t="n";break;case"Error":a.t="e";a.v=jt[e];if(o.cellText!==false)a.w=e;break;default:a.t="s";a.v=Ue(r||e);break}Dv(a,c,o);if(o.cellFormula!==false){if(a.Formula){var p=ke(a.Formula);if(p.charCodeAt(0)==61)p=p.slice(1);a.f=Xo(p,n);delete a.Formula;if(a.ArrayRange=="RC")a.F=Xo("RC:RC",n);else if(a.ArrayRange){a.F=Xo(a.ArrayRange,n);l.push([dt(a.F),a.F])}}else{for(v=0;v=l[v][0].s.r&&n.r<=l[v][0].e.r)if(n.c>=l[v][0].s.c&&n.c<=l[v][0].e.c)a.F=l[v][1]}}if(o.cellStyles){d.forEach(function(e){if(!h.patternType&&e.patternType)h.patternType=e.patternType});a.s=h}if(a.StyleID!==undefined)a.ixfe=a.StyleID}function Nv(e){e.t=e.v||"";e.t=e.t.replace(/\r\n/g,"\n").replace(/\r/g,"\n");e.v=e.w=e.ixfe=undefined}function Mv(e){if(Ie&&Buffer.isBuffer(e))return e.toString("utf8");if(typeof e==="string")return e;if(typeof Uint8Array!=="undefined"&&e instanceof Uint8Array)return He(m(g(e)));throw new Error("Bad input format: expected Buffer or string")}var Lv=/<(\/?)([^\s?>!\/:]*:|)([^\s?>:\/]+)[^>]*>/gm;function Uv(e,r){var t=r||{};re(me);var a=ee(Mv(e));if(t.type=="binary"||t.type=="array"||t.type=="base64"){if(typeof cptable!=="undefined")a=cptable.utils.decode(65001,q(a));else a=He(a)}var n=a.slice(0,1024).toLowerCase(),i=false;if(n.indexOf("=0)i=true});if(i)return yp.to_workbook(a,t);var s;var f=[],l;if(pe!=null&&t.dense==null)t.dense=pe;var o={},c=[],u=t.dense?[]:{},h="";var d={},v={},p={};var m=Av(''),b=0;var g=0,E=0;var S={s:{r:2e6,c:2e6},e:{r:0,c:0}};var k={},w={};var C="",B=0;var T=[];var I={},x={},_=0,A=[];var R=[],y={};var F=[],D,O=false;var P=[];var N=[],M={},L=0,U=0;var W={Sheets:[],WBProps:{date1904:false}},V={};Lv.lastIndex=0;a=a.replace(//gm,"");while(s=Lv.exec(a))switch(s[3]){case"Data":if(f[f.length-1][1])break;if(s[1]==="/")Pv(a.slice(b,s.index),C,m,f[f.length-1][0]=="Comment"?y:v,{c:g,r:E},k,F[g],p,P,t);else{C="";m=Av(s[0]);b=s.index+s[0].length}break;case"Cell":if(s[1]==="/"){if(R.length>0)v.c=R;if((!t.sheetRows||t.sheetRows>E)&&v.v!==undefined){if(t.dense){if(!u[E])u[E]=[];u[E][g]=v}else u[it(g)+rt(E)]=v}if(v.HRef){v.l={Target:v.HRef};if(v.HRefScreenTip)v.l.Tooltip=v.HRefScreenTip;delete v.HRef;delete v.HRefScreenTip}if(v.MergeAcross||v.MergeDown){L=g+(parseInt(v.MergeAcross,10)|0);U=E+(parseInt(v.MergeDown,10)|0);T.push({s:{c:g,r:E},e:{c:L,r:U}})}if(!t.sheetStubs){if(v.MergeAcross)g=L+1;else++g}else if(v.MergeAcross||v.MergeDown){for(var H=g;H<=L;++H){for(var X=E;X<=U;++X){if(H>g||X>E){if(t.dense){if(!u[X])u[X]=[];u[X][H]={t:"z"}}else u[it(H)+rt(X)]={t:"z"}}}}g=L+1}else++g}else{v=Rv(s[0]);if(v.Index)g=+v.Index-1;if(gS.e.c)S.e.c=g;if(s[0].slice(-2)==="/>")++g;R=[]}break;case"Row":if(s[1]==="/"||s[0].slice(-2)==="/>"){if(ES.e.r)S.e.r=E;if(s[0].slice(-2)==="/>"){p=Av(s[0]);if(p.Index)E=+p.Index-1}g=0;++E}else{p=Av(s[0]);if(p.Index)E=+p.Index-1;M={};if(p.AutoFitHeight=="0"||p.Height){M.hpx=parseInt(p.Height,10);M.hpt=ol(M.hpx);N[E]=M}if(p.Hidden=="1"){M.hidden=true;N[E]=M}}break;case"Worksheet":if(s[1]==="/"){if((l=f.pop())[0]!==s[3])throw new Error("Bad state: "+l.join("|"));c.push(h);if(S.s.r<=S.e.r&&S.s.c<=S.e.c){u["!ref"]=ht(S);if(t.sheetRows&&t.sheetRows<=S.e.r){u["!fullref"]=u["!ref"];S.e.r=t.sheetRows-1;u["!ref"]=ht(S)}}if(T.length)u["!merges"]=T;if(F.length>0)u["!cols"]=F;if(N.length>0)u["!rows"]=N;o[h]=u}else{S={s:{r:2e6,c:2e6},e:{r:0,c:0}};E=g=0;f.push([s[3],false]);l=Av(s[0]);h=ke(l.Name);u=t.dense?[]:{};T=[];P=[];N=[];V={name:h,Hidden:0};W.Sheets.push(V)}break;case"Table":if(s[1]==="/"){if((l=f.pop())[0]!==s[3])throw new Error("Bad state: "+l.join("|"))}else if(s[0].slice(-2)=="/>")break;else{d=Av(s[0]);f.push([s[3],false]);F=[];O=false}break;case"Style":if(s[1]==="/")Ov(k,w,t);else w=Av(s[0]);break;case"NumberFormat":w.nf=ke(Av(s[0]).Format||"General");if(te[w.nf])w.nf=te[w.nf];for(var G=0;G!=392;++G)if(me._table[G]==w.nf)break;if(G==392)for(G=57;G!=392;++G)if(me._table[G]==null){me.load(w.nf,G);break}break;case"Column":if(f[f.length-1][0]!=="Table")break;D=Av(s[0]);if(D.Hidden){D.hidden=true;delete D.Hidden}if(D.Width)D.wpx=parseInt(D.Width,10);if(!O&&D.wpx>10){O=true;el=Jf;for(var z=0;z0)K.Sheet=W.Sheets.length-1;W.Names.push(K);break;case"NamedCell":break;case"B":break;case"I":break;case"U":break;case"S":break;case"Sub":break;case"Sup":break;case"Span":break;case"Border":break;case"Alignment":break;case"Borders":break;case"Font":if(s[0].slice(-2)==="/>")break;else if(s[1]==="/")C+=a.slice(B,s.index);else B=s.index+s[0].length;break;case"Interior":if(!t.cellStyles)break;w.Interior=Av(s[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(s[0].slice(-2)==="/>")break;else if(s[1]==="/")ln(I,s[3],a.slice(_,s.index));else _=s.index+s[0].length;break;case"Paragraphs":break;case"Styles":case"Workbook":if(s[1]==="/"){if((l=f.pop())[0]!==s[3])throw new Error("Bad state: "+l.join("|"))}else f.push([s[3],false]);break;case"Comment":if(s[1]==="/"){if((l=f.pop())[0]!==s[3])throw new Error("Bad state: "+l.join("|"));Nv(y);R.push(y)}else{f.push([s[3],false]);l=Av(s[0]);y={a:l.Author}}break;case"AutoFilter":if(s[1]==="/"){if((l=f.pop())[0]!==s[3])throw new Error("Bad state: "+l.join("|"))}else if(s[0].charAt(s[0].length-2)!=="/"){var Y=Av(s[0]);u["!autofilter"]={ref:Xo(Y.Range).replace(/\$/g,"")};f.push([s[3],true])}break;case"Name":break;case"ComponentOptions":case"DocumentProperties":case"CustomDocumentProperties":case"OfficeDocumentSettings":case"PivotTable":case"PivotCache":case"Names":case"MapInfo":case"PageBreaks":case"QueryTable":case"DataValidation":case"Sorting":case"Schema":case"data":case"ConditionalFormatting":case"SmartTagType":case"SmartTags":case"ExcelWorkbook":case"WorkbookOptions":case"WorksheetOptions":if(s[1]==="/"){if((l=f.pop())[0]!==s[3])throw new Error("Bad state: "+l.join("|"))}else if(s[0].charAt(s[0].length-2)!=="/")f.push([s[3],true]);break;default:if(f.length==0&&s[3]=="document")return Lp(a,t);if(f.length==0&&s[3]=="UOF")return Lp(a,t);var Q=true;switch(f[f.length-1][0]){case"OfficeDocumentSettings":switch(s[3]){case"AllowPNG":break;case"RemovePersonalInformation":break;case"DownloadComponents":break;case"LocationOfComponents":break;case"Colors":break;case"Color":break;case"Index":break;case"RGB":break;case"PixelsPerInch":break;case"TargetScreenSize":break;case"ReadOnlyRecommended":break;default:Q=false}break;case"ComponentOptions":switch(s[3]){case"Toolbar":break;case"HideOfficeLogo":break;case"SpreadsheetAutoFit":break;case"Label":break;case"Caption":break;case"MaxHeight":break;case"MaxWidth":break;case"NextSheetNumber":break;default:Q=false}break;case"ExcelWorkbook":switch(s[3]){case"Date1904":W.WBProps.date1904=true;break;case"WindowHeight":break;case"WindowWidth":break;case"WindowTopX":break;case"WindowTopY":break;case"TabRatio":break;case"ProtectStructure":break;case"ProtectWindows":break;case"ActiveSheet":break;case"DisplayInkNotes":break;case"FirstVisibleSheet":break;case"SupBook":break;case"SheetName":break;case"SheetIndex":break;case"SheetIndexFirst":break;case"SheetIndexLast":break;case"Dll":break;case"AcceptLabelsInFormulas":break;case"DoNotSaveLinkValues":break;case"Iteration":break;case"MaxIterations":break;case"MaxChange":break;case"Path":break;case"Xct":break;case"Count":break;case"SelectedSheets":break;case"Calculation":break;case"Uncalced":break;case"StartupPrompt":break;case"Crn":break;case"ExternName":break;case"Formula":break;case"ColFirst":break;case"ColLast":break;case"WantAdvise":break;case"Boolean":break;case"Error":break;case"Text":break;case"OLE":break;case"NoAutoRecover":break;case"PublishObjects":break;case"DoNotCalculateBeforeSave":break;case"Number":break;case"RefModeR1C1":break;case"EmbedSaveSmartTags":break;default:Q=false}break;case"WorkbookOptions":switch(s[3]){case"OWCVersion":break;case"Height":break;case"Width":break;default:Q=false}break;case"WorksheetOptions":switch(s[3]){case"Visible":if(s[0].slice(-2)==="/>"){}else if(s[1]==="/")switch(a.slice(_,s.index)){case"SheetHidden":V.Hidden=1;break;case"SheetVeryHidden":V.Hidden=2;break}else _=s.index+s[0].length;break;case"Header":if(!u["!margins"])Yu(u["!margins"]={},"xlml");u["!margins"].header=de(s[0]).Margin;break;case"Footer":if(!u["!margins"])Yu(u["!margins"]={},"xlml");u["!margins"].footer=de(s[0]).Margin;break;case"PageMargins":var J=de(s[0]);if(!u["!margins"])Yu(u["!margins"]={},"xlml");if(J.Top)u["!margins"].top=J.Top;if(J.Left)u["!margins"].left=J.Left;if(J.Right)u["!margins"].right=J.Right;if(J.Bottom)u["!margins"].bottom=J.Bottom;break;case"DisplayRightToLeft":if(!W.Views)W.Views=[];if(!W.Views[0])W.Views[0]={};W.Views[0].RTL=true;break;case"Unsynced":break;case"Print":break;case"Panes":break;case"Scale":break;case"Pane":break;case"Number":break;case"Layout":break;case"PageSetup":break;case"Selected":break;case"ProtectObjects":break;case"EnableSelection":break;case"ProtectScenarios":break;case"ValidPrinterInfo":break;case"HorizontalResolution":break;case"VerticalResolution":break;case"NumberofCopies":break;case"ActiveRow":break;case"ActiveCol":break;case"ActivePane":break;case"TopRowVisible":break;case"TopRowBottomPane":break;case"LeftColumnVisible":break;case"LeftColumnRightPane":break;case"FitToPage":break;case"RangeSelection":break;case"PaperSizeIndex":break;case"PageLayoutZoom":break;case"PageBreakZoom":break;case"FilterOn":break;case"DoNotDisplayGridlines":break;case"SplitHorizontal":break;case"SplitVertical":break;case"FreezePanes":break;case"FrozenNoSplit":break;case"FitWidth":break;case"FitHeight":break;case"CommentsLayout":break;case"Zoom":break;case"LeftToRight":break;case"Gridlines":break;case"AllowSort":break;case"AllowFilter":break;case"AllowInsertRows":break;case"AllowDeleteRows":break;case"AllowInsertCols":break;case"AllowDeleteCols":break;case"AllowInsertHyperlinks":break;case"AllowFormatCells":break;case"AllowSizeCols":break;case"AllowSizeRows":break;case"NoSummaryRowsBelowDetail":break;case"TabColorIndex":break;case"DoNotDisplayHeadings":break;case"ShowPageLayoutZoom":break;case"NoSummaryColumnsRightDetail":break;case"BlackAndWhite":break;case"DoNotDisplayZeros":break;case"DisplayPageBreak":break;case"RowColHeadings":break;case"DoNotDisplayOutline":break;case"NoOrientation":break;case"AllowUsePivotTables":break;case"ZeroHeight":break;case"ViewableRange":break;case"Selection":break;case"ProtectContents":break;default:Q=false}break;case"PivotTable":case"PivotCache":switch(s[3]){case"ImmediateItemsOnDrop":break;case"ShowPageMultipleItemLabel":break;case"CompactRowIndent":break;case"Location":break;case"PivotField":break;case"Orientation":break;case"LayoutForm":break;case"LayoutSubtotalLocation":break;case"LayoutCompactRow":break;case"Position":break;case"PivotItem":break;case"DataType":break;case"DataField":break;case"SourceName":break;case"ParentField":break;case"PTLineItems":break;case"PTLineItem":break;case"CountOfSameItems":break;case"Item":break;case"ItemType":break;case"PTSource":break;case"CacheIndex":break;case"ConsolidationReference":break;case"FileName":break;case"Reference":break;case"NoColumnGrand":break;case"NoRowGrand":break;case"BlankLineAfterItems":break;case"Hidden":break;case"Subtotal":break;case"BaseField":break;case"MapChildItems":break;case"Function":break;case"RefreshOnFileOpen":break;case"PrintSetTitles":break;case"MergeLabels":break;case"DefaultVersion":break;case"RefreshName":break;case"RefreshDate":break;case"RefreshDateCopy":break;case"VersionLastRefresh":break;case"VersionLastUpdate":break;case"VersionUpdateableMin":break;case"VersionRefreshableMin":break;case"Calculation":break;default:Q=false}break;case"PageBreaks":switch(s[3]){case"ColBreaks":break;case"ColBreak":break;case"RowBreaks":break;case"RowBreak":break;case"ColStart":break;case"ColEnd":break;case"RowEnd":break;default:Q=false}break;case"AutoFilter":switch(s[3]){case"AutoFilterColumn":break;case"AutoFilterCondition":break;case"AutoFilterAnd":break;case"AutoFilterOr":break;default:Q=false}break;case"QueryTable":switch(s[3]){case"Id":break;case"AutoFormatFont":break;case"AutoFormatPattern":break;case"QuerySource":break;case"QueryType":break;case"EnableRedirections":break;case"RefreshedInXl9":break;case"URLString":break;case"HTMLTables":break;case"Connection":break;case"CommandText":break;case"RefreshInfo":break;case"NoTitles":break;case"NextId":break;case"ColumnInfo":break;case"OverwriteCells":break;case"DoNotPromptForFile":break;case"TextWizardSettings":break;case"Source":break;case"Number":break;case"Decimal":break;case"ThousandSeparator":break;case"TrailingMinusNumbers":break;case"FormatSettings":break;case"FieldType":break;case"Delimiters":break;case"Tab":break;case"Comma":break;case"AutoFormatName":break;case"VersionLastEdit":break;case"VersionLastRefresh":break;default:Q=false}break;case"Sorting":case"ConditionalFormatting":case"DataValidation":switch(s[3]){case"Range":break;case"Type":break;case"Min":break;case"Max":break;case"Sort":break;case"Descending":break;case"Order":break;case"CaseSensitive":break;case"Value":break;case"ErrorStyle":break;case"ErrorMessage":break;case"ErrorTitle":break;case"CellRangeList":break;case"InputMessage":break;case"InputTitle":break;case"ComboHide":break;case"InputHide":break;case"Condition":break;case"Qualifier":break;case"UseBlank":break;case"Value1":break;case"Value2":break;case"Format":break;default:Q=false}break;case"MapInfo":case"Schema":case"data":switch(s[3]){case"Map":break;case"Entry":break;case"Range":break;case"XPath":break;case"Field":break;case"XSDType":break;case"FilterOn":break;case"Aggregate":break;case"ElementType":break;case"AttributeType":break;case"schema":case"element":case"complexType":case"datatype":case"all":case"attribute":case"extends":break;case"row":break;default:Q=false}break;case"SmartTags":break;default:Q=false;break}if(Q)break;if(!f[f.length-1][1])throw"Unrecognized tag: "+s[3]+"|"+f.join("|");if(f[f.length-1][0]==="CustomDocumentProperties"){if(s[0].slice(-2)==="/>")break;else if(s[1]==="/")Fv(x,s[3],A,a.slice(_,s.index));else{A=s;_=s.index+s[0].length}break}if(t.WTF)throw"Unrecognized tag: "+s[3]+"|"+f.join("|")}var Z={};if(!t.bookSheets&&!t.bookProps)Z.Sheets=o;Z.SheetNames=c;Z.Workbook=W;Z.SSF=me.get_table();Z.Props=I;Z.Custprops=x;return Z}function Wv(e,r){em(r=r||{});switch(r.type||"base64"){case"base64":return Uv(Te.decode(e),r);case"binary":case"buffer":case"file":return Uv(e,r);case"array":return Uv(m(e),r)}}function Vv(e,r){var t=[];if(e.Props)t.push(on(e.Props,r));if(e.Custprops)t.push(cn(e.Props,e.Custprops,r));return t.join("")}function Hv(){return""}function Xv(e,r){var a=[''];r.cellXfs.forEach(function(e,r){var t=[];t.push(tr("NumberFormat",null,{"ss:Format":Be(me._table[e.numFmtId])}));a.push(tr("Style",t.join(""),{"ss:ID":"s"+(21+r)}))});return tr("Styles",a.join(""))}function Gv(e){return tr("NamedRange",null,{"ss:Name":e.Name,"ss:RefersTo":"="+zo(e.Ref,{r:0,c:0})})}function zv(e){if(!((e||{}).Workbook||{}).Names)return"";var r=e.Workbook.Names;var t=[];for(var a=0;a");if(r["!margins"].header)n.push(tr("Header",null,{"x:Margin":r["!margins"].header}));if(r["!margins"].footer)n.push(tr("Footer",null,{"x:Margin":r["!margins"].footer}));n.push(tr("PageMargins",null,{"x:Bottom":r["!margins"].bottom||"0.75","x:Left":r["!margins"].left||"0.7","x:Right":r["!margins"].right||"0.7","x:Top":r["!margins"].top||"0.75"}));n.push("")}if(a&&a.Workbook&&a.Workbook.Sheets&&a.Workbook.Sheets[t]){if(a.Workbook.Sheets[t].Hidden)n.push(tr("Visible",a.Workbook.Sheets[t].Hidden==1?"SheetHidden":"SheetVeryHidden",{}));else{for(var i=0;i")}}if(((((a||{}).Workbook||{}).Views||[])[0]||{}).RTL)n.push("");if(r["!protect"]){n.push(er("ProtectContents","True"));if(r["!protect"].objects)n.push(er("ProtectObjects","True"));if(r["!protect"].scenarios)n.push(er("ProtectScenarios","True"));if(r["!protect"].selectLockedCells!=null&&!r["!protect"].selectLockedCells)n.push(er("EnableSelection","NoSelection"));else if(r["!protect"].selectUnlockedCells!=null&&!r["!protect"].selectUnlockedCells)n.push(er("EnableSelection","UnlockedCells"));[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","AllowSizeRows"],["insertColumns","AllowInsertCols"],["insertRows","AllowInsertRows"],["insertHyperlinks","AllowInsertHyperlinks"],["deleteColumns","AllowDeleteCols"],["deleteRows","AllowDeleteRows"],["sort","AllowSort"],["autoFilter","AllowFilter"],["pivotTables","AllowUsePivotTables"]].forEach(function(e){if(r["!protect"][e[0]])n.push("<"+e[1]+"/>")})}if(n.length==0)return"";return tr("WorksheetOptions",n.join(""),{xmlns:sr.x})}function Kv(e){return e.map(function(e){var r=We(e.t||"");var t=tr("ss:Data",r,{xmlns:"http://www.w3.org/TR/REC-html40"});return tr("Comment",t,{"ss:Author":e.a})}).join("")}function Yv(e,r,t,a,n,i,s){if(!e||e.v==undefined&&e.f==undefined)return"";var f={};if(e.f)f["ss:Formula"]="="+Be(zo(e.f,s));if(e.F&&e.F.slice(0,r.length)==r){var l=ot(e.F.slice(r.length+1));f["ss:ArrayRange"]="RC:R"+(l.r==s.r?"":"["+(l.r-s.r)+"]")+"C"+(l.c==s.c?"":"["+(l.c-s.c)+"]")}if(e.l&&e.l.Target){f["ss:HRef"]=Be(e.l.Target);if(e.l.Tooltip)f["x:HRefScreenTip"]=Be(e.l.Tooltip)}if(t["!merges"]){var o=t["!merges"];for(var c=0;c!=o.length;++c){if(o[c].s.c!=s.c||o[c].s.r!=s.r)continue;if(o[c].e.c>o[c].s.c)f["ss:MergeAcross"]=o[c].e.c-o[c].s.c;if(o[c].e.r>o[c].s.r)f["ss:MergeDown"]=o[c].e.r-o[c].s.r}}var u="",h="";switch(e.t){case"z":return"";case"n":u="Number";h=String(e.v);break;case"b":u="Boolean";h=e.v?"1":"0";break;case"e":u="Error";h=zt[e.v];break;case"d":u="DateTime";h=new Date(e.v).toISOString();if(e.z==null)e.z=e.z||me._table[14];break;case"s":u="String";h=Le(e.v||"");break}var d=Qu(a.cellXfs,e,a);f["ss:StyleID"]="s"+(21+d);f["ss:Index"]=s.c+1;var v=e.v!=null?h:"";var p=''+v+"";if((e.c||[]).length>0)p+=Kv(e.c);return tr("Cell",p,f)}function Qv(e,r){var t='"}function Jv(e,r,t,a){if(!e["!ref"])return"";var n=dt(e["!ref"]);var i=e["!merges"]||[],s=0;var f=[];if(e["!cols"])e["!cols"].forEach(function(e,r){sl(e);var t=!!e.width;var a=Ku(r,e);var n={"ss:Index":r+1};if(t)n["ss:Width"]=rl(a.width);if(e.hidden)n["ss:Hidden"]="1";f.push(tr("Column",null,n))});var l=Array.isArray(e);for(var o=n.s.r;o<=n.e.r;++o){var c=[Qv(o,(e["!rows"]||[])[o])];for(var u=n.s.c;u<=n.e.c;++u){var h=false;for(s=0;s!=i.length;++s){if(i[s].s.c>u)continue;if(i[s].s.r>o)continue;if(i[s].e.c");if(c.length>2)f.push(c.join(""))}return f.join("")}function Zv(e,r,t){var a=[];var n=t.SheetNames[e];var i=t.Sheets[n];var s=i?jv(i,r,e,t):"";if(s.length>0)a.push(""+s+"");s=i?Jv(i,r,e,t):"";if(s.length>0)a.push(""+s+"
");a.push($v(i,r,e,t));return a.join("")}function qv(e,r){if(!r)r={};if(!e.SSF)e.SSF=me.get_table();if(e.SSF){re(me);me.load_table(e.SSF);r.revssf=R(e.SSF);r.revssf[e.SSF[65535]]=0;r.ssf=e.SSF;r.cellXfs=[];Qu(r.cellXfs,{},{revssf:{General:0}})}var t=[];t.push(Vv(e,r));t.push(Hv(e,r));t.push("");t.push("");for(var a=0;a40)return r;t.l-=4;r.Reserved1=t._R(0,"lpstr-ansi");if(t.length-t.l<=4)return r;a=t._R(4);if(a!==1907505652)return r;r.UnicodeClipboardFormat=qt(t);a=t._R(4);if(a==0||a>40)return r;t.l-=4;r.Reserved2=t._R(0,"lpwstr")}function rp(e,r,t,a){var n=t;var i=[];var s=r.slice(r.l,r.l+n);if(a&&a.enc&&a.enc.insitu)switch(e.n){case"BOF":case"FilePass":case"FileLock":case"InterfaceHdr":case"RRDInfo":case"RRDHead":case"UsrExcl":break;default:if(s.length===0)break;a.enc.insitu(s)}i.push(s);r.l+=n;var f=hp[yr(r,r.l)];var l=0;while(f!=null&&f.n.slice(0,8)==="Continue"){n=yr(r,r.l+2);l=r.l+4;if(f.n=="ContinueFrt")l+=4;else if(f.n.slice(0,11)=="ContinueFrt")l+=12;i.push(r.slice(l,r.l+4+n));r.l+=4+n;f=hp[yr(r,r.l)]}var o=Re(i);Hr(o,0);var c=0;o.lens=[];for(var u=0;u1)return;if(a.sheetRows&&r.r>=a.sheetRows)k=false;if(!k)return;if(a.cellStyles&&t.XF&&t.XF.data)x(r,t,a);delete t.ixfe;delete t.XF;u=r;h=ct(r);if(!s||!s.s||!s.e)s={s:{r:0,c:0},e:{r:0,c:0}};if(r.rs.e.r)s.e.r=r.r+1;if(r.c+1>s.e.c)s.e.c=r.c+1;if(a.cellFormula&&t.f){for(var n=0;nr.c||g[n][0].s.r>r.r)continue;if(g[n][0].e.c>8)!==$)throw new Error("rt mismatch: "+Q+"!="+$);if(Y.r==12){e.l+=10;K-=10}}var J;if(Y.n==="EOF")J=Y.f(e,K,A);else J=rp(Y,e,K,A);var Z=Y.n;if(W==0&&Z!="BOF")continue;switch(Z){case"Date1904":t.opts.Date1904=B.WBProps.date1904=J;break;case"WriteProtect":t.opts.WriteProtect=true;break;case"FilePass":if(!A.enc)e.l=0;A.enc=J;if(!r.password)throw new Error("File is password-protected");if(J.valid==null)throw new Error("Encryption scheme unsupported");if(!J.valid)throw new Error("Password is incorrect");break;case"WriteAccess":A.lastuser=J;break;case"FileSharing":break;case"CodePage":switch(J){case 21010:J=1200;break;case 32768:J=1e4;break;case 32769:J=1252;break}ve(A.codepage=J);z=true;break;case"RRTabId":A.rrtabid=J;break;case"WinProtect":A.winlocked=J;break;case"Template":break;case"BookBool":break;case"UsesELFs":break;case"MTRSettings":break;case"RefreshAll":case"CalcCount":case"CalcDelta":case"CalcIter":case"CalcMode":case"CalcPrecision":case"CalcSaveRecalc":t.opts[Z]=J;break;case"CalcRefMode":A.CalcRefMode=J;break;case"Uncalced":break;case"ForceFullCalculation":t.opts.FullCalc=J;break;case"WsBool":if(J.fDialog)i["!type"]="dialog";break;case"XF":w.push(J);break;case"ExtSST":break;case"BookExt":break;case"RichTextStream":break;case"BkHim":break;case"SupBook":L.push([J]);L[L.length-1].XTI=[];break;case"ExternName":L[L.length-1].push(J);break;case"Index":break;case"Lbl":G={Name:J.Name,Ref:Bu(J.rgce,s,null,L,A)};if(J.itab>0)G.Sheet=J.itab-1;L.names.push(G);if(!L[0]){L[0]=[];L[0].XTI=[]}L[L.length-1].push(J);if(J.Name=="_xlnm._FilterDatabase"&&J.itab>0)if(J.rgce&&J.rgce[0]&&J.rgce[0][0]&&J.rgce[0][0][0]=="PtgArea3d")X[J.itab-1]={ref:ht(J.rgce[0][0][1][2])};break;case"ExternCount":A.ExternCount=J;break;case"ExternSheet":if(L.length==0){L[0]=[];L[0].XTI=[]}L[L.length-1].XTI=L[L.length-1].XTI.concat(J);L.XTI=L.XTI.concat(J);break;case"NameCmt":if(A.biff<8)break;if(G!=null)G.Comment=J[1];break;case"Protect":i["!protect"]=J;break;case"Password":if(J!==0&&A.WTF)console.error("Password verifier: "+J);break;case"Prot4Rev":case"Prot4RevPass":break;case"BoundSheet8":{n[J.pos]=J;A.snames.push(J.name)}break;case"EOF":{if(--W)break;if(s.e){if(s.e.r>0&&s.e.c>0){s.e.r--;s.e.c--;i["!ref"]=ht(s);if(r.sheetRows&&r.sheetRows<=s.e.r){var q=s.e.r;s.e.r=r.sheetRows-1;i["!fullref"]=i["!ref"];i["!ref"]=ht(s);s.e.r=q}s.e.r++;s.e.c++}if(y.length>0)i["!merges"]=y;if(F.length>0)i["!objects"]=F;if(D.length>0)i["!cols"]=D;if(O.length>0)i["!rows"]=O;B.Sheets.push(T)}if(o==="")c=i;else a[o]=i;i=r.dense?[]:{}}break;case"BOF":{if(A.biff===8)A.biff={9:2,521:3,1033:4}[$]||{512:2,768:3,1024:4,1280:5,1536:8,2:2,7:2}[J.BIFFVer]||8;if(A.biff==8&&J.BIFFVer==0&&J.dt==16)A.biff=2;if(W++)break;k=true;i=r.dense?[]:{};if(A.biff<8&&!z){z=true;ve(A.codepage=r.codepage||1252)}if(A.biff<5){if(o==="")o="Sheet1";s={s:{r:0,c:0},e:{r:0,c:0}};var ee={pos:e.l-K,name:o};n[ee.pos]=ee;A.snames.push(o)}else o=(n[j]||{name:""}).name;if(J.dt==32)i["!type"]="chart";if(J.dt==64)i["!type"]="macro";y=[];F=[];A.arrayf=g=[];D=[];O=[];P=N=0;M=false;T={Hidden:(n[j]||{hs:0}).hs,name:o}}break;case"Number":case"BIFF2NUM":case"BIFF2INT":{if(i["!type"]=="chart")if(r.dense?(i[J.r]||[])[J.c]:i[ct({c:J.c,r:J.r})])++J.c;E={ixfe:J.ixfe,XF:w[J.ixfe]||{},v:J.val,t:"n"};if(V>0)E.z=H[E.ixfe>>8&31];tp(E,r,t.opts.Date1904);_({c:J.c,r:J.r},E,r)}break;case"BoolErr":{E={ixfe:J.ixfe,XF:w[J.ixfe],v:J.val,t:J.t};if(V>0)E.z=H[E.ixfe>>8&31];tp(E,r,t.opts.Date1904);_({c:J.c,r:J.r},E,r)}break;case"RK":{E={ixfe:J.ixfe,XF:w[J.ixfe],v:J.rknum,t:"n"};if(V>0)E.z=H[E.ixfe>>8&31];tp(E,r,t.opts.Date1904);_({c:J.c,r:J.r},E,r)}break;case"MulRk":{for(var re=J.c;re<=J.C;++re){var te=J.rkrec[re-J.c][0];E={ixfe:te,XF:w[te],v:J.rkrec[re-J.c][1],t:"n"};if(V>0)E.z=H[E.ixfe>>8&31];tp(E,r,t.opts.Date1904);_({c:re,r:J.r},E,r)}}break;case"Formula":{if(J.val=="String"){f=J;break}E=ap(J.val,J.cell.ixfe,J.tt);E.XF=w[E.ixfe];if(r.cellFormula){var ae=J.formula;if(ae&&ae[0]&&ae[0][0]&&ae[0][0][0]=="PtgExp"){var ne=ae[0][0][1][0],ie=ae[0][0][1][1];var se=ct({r:ne,c:ie});if(b[se])E.f=""+Bu(J.formula,s,J.cell,L,A);else E.F=((r.dense?(i[ne]||[])[ie]:i[se])||{}).F}else E.f=""+Bu(J.formula,s,J.cell,L,A)}if(V>0)E.z=H[E.ixfe>>8&31];tp(E,r,t.opts.Date1904);_(J.cell,E,r);f=J}break;case"String":{if(f){f.val=J;E=ap(J,f.cell.ixfe,"s");E.XF=w[E.ixfe];if(r.cellFormula){E.f=""+Bu(f.formula,s,f.cell,L,A)}if(V>0)E.z=H[E.ixfe>>8&31];tp(E,r,t.opts.Date1904);_(f.cell,E,r);f=null}else throw new Error("String record expects Formula")}break;case"Array":{g.push(J);var fe=ct(J[0].s);d=r.dense?(i[J[0].s.r]||[])[J[0].s.c]:i[fe];if(r.cellFormula&&d){if(!f)break;if(!fe||!d)break;d.f=""+Bu(J[1],s,J[0],L,A);d.F=ht(J[0])}}break;case"ShrFmla":{if(!k)break;if(!r.cellFormula)break;if(h){if(!f)break;b[ct(f.cell)]=J[0];d=r.dense?(i[f.cell.r]||[])[f.cell.c]:i[ct(f.cell)];(d||{}).f=""+Bu(J[0],s,u,L,A)}}break;case"LabelSst":E=ap(l[J.isst].t,J.ixfe,"s");E.XF=w[E.ixfe];if(V>0)E.z=H[E.ixfe>>8&31];tp(E,r,t.opts.Date1904);_({c:J.c,r:J.r},E,r);break;case"Blank":if(r.sheetStubs){E={ixfe:J.ixfe,XF:w[J.ixfe],t:"z"};if(V>0)E.z=H[E.ixfe>>8&31];tp(E,r,t.opts.Date1904);_({c:J.c,r:J.r},E,r)}break;case"MulBlank":if(r.sheetStubs){for(var le=J.c;le<=J.C;++le){var oe=J.ixfe[le-J.c];E={ixfe:oe,XF:w[oe],t:"z"};if(V>0)E.z=H[E.ixfe>>8&31];tp(E,r,t.opts.Date1904);_({c:le,r:J.r},E,r)}}break;case"RString":case"Label":case"BIFF2STR":E=ap(J.val,J.ixfe,"s");E.XF=w[E.ixfe];if(V>0)E.z=H[E.ixfe>>8&31];tp(E,r,t.opts.Date1904);_({c:J.c,r:J.r},E,r);break;case"Dimensions":{if(W===1)s=J}break;case"SST":{l=J}break;case"Format":{if(A.biff==4){H[V++]=J[1];for(var ce=0;ce=163)me.load(J[1],V+163)}else me.load(J[1],J[0])}break;case"BIFF2FORMAT":{H[V++]=J;for(var ue=0;ue=163)me.load(J,V+163)}break;case"MergeCells":y=y.concat(J);break;case"Obj":F[J.cmo[0]]=A.lastobj=J;break;case"TxO":A.lastobj.TxO=J;break;case"ImData":A.lastobj.ImData=J;break;case"HLink":{for(m=J[0].s.r;m<=J[0].e.r;++m)for(p=J[0].s.c;p<=J[0].e.c;++p){d=r.dense?(i[m]||[])[p]:i[ct({c:p,r:m})];if(d)d.l=J[1]}}break;case"HLinkTooltip":{for(m=J[0].s.r;m<=J[0].e.r;++m)for(p=J[0].s.c;p<=J[0].e.c;++p){d=r.dense?(i[m]||[])[p]:i[ct({c:p,r:m})];if(d&&d.l)d.l.Tooltip=J[1]}}break;case"Note":{if(A.biff<=5&&A.biff>=2)break;d=r.dense?(i[J[0].r]||[])[J[0].c]:i[ct(J[0])];var he=F[J[2]];if(!d)break;if(!d.c)d.c=[];v={a:J[1],t:he.TxO.t};d.c.push(v)}break;default:switch(Y.n){case"ClrtClient":break;case"XFExt":po(w[J.ixfe],J.ext);break;case"DefColWidth":P=J;break;case"DefaultRowHeight":N=J[1];break;case"ColInfo":{if(!A.cellStyles)break;while(J.e>=J.s){D[J.e--]={width:J.w/256};if(!M){M=true;il(J.w/256)}sl(D[J.e+1])}}break;case"Row":{var de={};if(J.level!=null){O[J.r]=de;de.level=J.level}if(J.hidden){O[J.r]=de;de.hidden=true}if(J.hpt){O[J.r]=de;de.hpt=J.hpt;de.hpx=cl(J.hpt)}}break;case"LeftMargin":case"RightMargin":case"TopMargin":case"BottomMargin":if(!i["!margins"])Yu(i["!margins"]={});i["!margins"][Z.slice(0,-6).toLowerCase()]=J;break;case"Setup":if(!i["!margins"])Yu(i["!margins"]={});i["!margins"].header=J.header;i["!margins"].footer=J.footer;break;case"Window2":if(J.RTL)B.Views[0].RTL=true;break;case"Header":break;case"Footer":break;case"HCenter":break;case"VCenter":break;case"Pls":break;case"GCW":break;case"LHRecord":break;case"DBCell":break;case"EntExU2":break;case"SxView":break;case"Sxvd":break;case"SXVI":break;case"SXVDEx":break;case"SxIvd":break;case"SXString":break;case"Sync":break;case"Addin":break;case"SXDI":break;case"SXLI":break;case"SXEx":break;case"QsiSXTag":break;case"Selection":break;case"Feat":break;case"FeatHdr":case"FeatHdr11":break;case"Feature11":case"Feature12":case"List12":break;case"Country":S=J;break;case"RecalcId":break;case"DxGCol":break;case"Fbi":case"Fbi2":case"GelFrame":break;case"Font":break;case"XFCRC":break;case"Style":break;case"StyleExt":break;case"Palette":C=J;break;case"Theme":R=J;break;case"ScenarioProtect":break;case"ObjProtect":break;case"CondFmt12":break;case"Table":break;case"TableStyles":break;case"TableStyle":break;case"TableStyleElement":break;case"SXStreamID":break;case"SXVS":break;case"DConRef":break;case"SXAddl":break;case"DConBin":break;case"DConName":break;case"SXPI":break;case"SxFormat":break;case"SxSelect":break;case"SxRule":break;case"SxFilt":break;case"SxItm":break;case"SxDXF":break;case"ScenMan":break;case"DCon":break;case"CellWatch":break;case"PrintRowCol":break;case"PrintGrid":break;case"PrintSize":break;case"XCT":break;case"CRN":break;case"Scl":{}break;case"SheetExt":{}break;case"SheetExtOptional":{}break;case"ObNoMacros":{}break;case"ObProj":{}break;case"CodeName":{if(!o)B.WBProps.CodeName=J||"ThisWorkbook";else T.CodeName=J||T.name}break;case"GUIDTypeLib":{}break;case"WOpt":break;case"PhoneticInfo":break;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":break;case"DConn":break;case"DbOrParamQry":break;case"DBQueryExt":break;case"OleDbConn":break;case"ExtString":break;case"IFmtRecord":break;case"CondFmt":case"CF":case"CF12":case"CFEx":break;case"Excel9File":break;case"Units":break;case"InterfaceHdr":case"Mms":case"InterfaceEnd":case"DSF":break;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":break;case"ShtProps":break;case"DefaultText":case"Text":case"CatLab":break;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":break;case"SIIndex":break;case"AttachedLabel":case"YMult":break;case"Line":case"Bar":break;case"Surf":break;case"AxisParent":break;case"Pos":break;case"ValueRange":break;case"SXViewEx9":break;case"SXViewLink":break;case"PivotChartBits":break;case"SBaseRef":break;case"TextPropsStream":break;case"LnExt":break;case"MkrExt":break;case"CrtCoopt":break;case"Qsi":case"Qsif":case"Qsir":case"QsiSXTag":break;case"TxtQry":break;case"FilterMode":break;case"AutoFilter":case"AutoFilterInfo":break;case"AutoFilter12":break;case"DropDownObjIds":break;case"Sort":break;case"SortData":break;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":break;case"RRSort":break;case"BigName":break;case"ToolbarHdr":case"ToolbarEnd":break;case"DDEObjName":break;case"FRTArchId$":break;default:if(r.WTF)throw"Unrecognized Record "+Y.n}}}}}else e.l+=K}t.SheetNames=be(n).sort(function(e,r){return Number(e)-Number(r)}).map(function(e){return n[e].name});if(!r.bookSheets)t.Sheets=a;if(t.Sheets)X.forEach(function(e,r){t.Sheets[t.SheetNames[r]]["!autofilter"]=e});t.Preamble=c;t.Strings=l;t.SSF=me.get_table();if(A.enc)t.Encryption=A.enc;if(R)t.Themes=R;t.Metadata={};if(S!==undefined)t.Metadata.Country=S;if(L.names.length>0)B.Names=L.names;t.Workbook=B;return t}var ip={SI:"e0859ff2f94f6810ab9108002b27b3d9",DSI:"02d5cdd59c2e1b10939708002b2cf9ae",UDI:"05d5cdd59c2e1b10939708002b2cf9ae"};function sp(e,r,t){var a=Oe.find(e,"!DocumentSummaryInformation");if(a&&a.size>0)try{var n=Fn(a,da,ip.DSI);for(var i in n)r[i]=n[i]}catch(e){if(t.WTF)throw e}var s=Oe.find(e,"!SummaryInformation");if(s&&s.size>0)try{var f=Fn(s,va,ip.SI);for(var l in f)if(r[l]==null)r[l]=f[l]}catch(e){if(t.WTF)throw e}if(r.HeadingPairs&&r.TitlesOfParts){Ja(r.HeadingPairs,r.TitlesOfParts,r,t);delete r.HeadingPairs;delete r.TitlesOfParts}}function fp(e,r){var t=[],a=[],n=[];var i=0,s;if(e.Props){s=be(e.Props);for(i=0;i-1)continue;if(n[i][1]==null)continue;f.push(n[i])}if(a.length)Oe.utils.cfb_add(r,"/SummaryInformation",Dn(a,ip.SI,ba,va));if(t.length||f.length)Oe.utils.cfb_add(r,"/DocumentSummaryInformation",Dn(t,ip.DSI,ma,da,f.length?f:null,ip.UDI))}function lp(e,r){if(!r)r={};em(r);o();if(r.codepage)l(r.codepage);var t,a;if(e.FullPaths){if(Oe.find(e,"/encryption"))throw new Error("File is password-protected");t=Oe.find(e,"!CompObj");a=Oe.find(e,"/Workbook")||Oe.find(e,"/Book")}else{switch(r.type){case"base64":e=Ae(Te.decode(e));break;case"binary":e=Ae(e);break;case"buffer":break;case"array":if(!Array.isArray(e))e=Array.prototype.slice.call(e);break}Hr(e,0);a={content:e}}var n;var i;if(t)ep(t);if(r.bookProps&&!r.bookSheets)n={};else{var s=Ie?"buffer":"array";if(a&&a.content)n=np(a.content,r);else if((i=Oe.find(e,"PerfectOffice_MAIN"))&&i.content)n=nf.to_workbook(i.content,(r.type=s,r));else if((i=Oe.find(e,"NativeContent_MAIN"))&&i.content)n=nf.to_workbook(i.content,(r.type=s,r));else throw new Error("Cannot find Workbook stream");if(r.bookVBA&&e.FullPaths&&Oe.find(e,"/_VBA_PROJECT_CUR/VBA/dir"))n.vbaraw=No(e)}var f={};if(e.FullPaths)sp(e,f,r);n.Props=n.Custprops=f;if(r.bookFiles)n.cfb=e;return n}function op(e,r){var t=r||{};var a=Oe.utils.cfb_new({root:"R"});var n="/Workbook";switch(t.bookType||"xls"){case"xls":t.bookType="biff8";case"xla":if(!t.bookType)t.bookType="xla";case"biff8":n="/Workbook";t.biff=8;break;case"biff5":n="/Book";t.biff=5;break;default:throw new Error("invalid type "+t.bookType+" for XLS CFB")}Oe.utils.cfb_add(a,n,Rp(e,t));if(t.biff==8&&(e.Props||e.Custprops))fp(e,a);if(t.biff==8&&e.vbaraw)Mo(a,Oe.read(e.vbaraw,{type:typeof e.vbaraw=="string"?"binary":"buffer"}));return a}var cp={0:{n:"BrtRowHdr",f:_h},1:{n:"BrtCellBlank",f:Nh},2:{n:"BrtCellRk",f:zh},3:{n:"BrtCellError",f:Wh},4:{n:"BrtCellBool",f:Lh},5:{n:"BrtCellReal",f:Xh},6:{n:"BrtCellSt",f:$h},7:{n:"BrtCellIsst",f:Vh},8:{n:"BrtFmlaString",f:Zh},9:{n:"BrtFmlaNum",f:Jh},10:{n:"BrtFmlaBool",f:Yh},11:{n:"BrtFmlaError",f:Qh},16:{n:"BrtFRTArchID$",f:rv},19:{n:"BrtSSTItem",f:Bt},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:tv},40:{n:"BrtIndexRowBlock"},42:{n:"BrtIndexBlock"},43:{n:"BrtFont",f:Il},44:{n:"BrtFmt",f:Bl},45:{n:"BrtFill",f:Rl},46:{n:"BrtBorder",f:Pl},47:{n:"BrtXF",f:Fl},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:Ns},62:{n:"BrtCellRString"},63:{n:"BrtCalcChainItem$",f:bo},64:{n:"BrtDVal"},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:Xr,p:0},132:{n:"BrtEndBook"},133:{n:"BrtBeginWsViews"},134:{n:"BrtEndWsViews"},135:{n:"BrtBeginBookViews"},136:{n:"BrtEndBookViews"},137:{n:"BrtBeginWsView",f:cd},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:Oh},148:{n:"BrtWsDim",f:yh,p:16},151:{n:"BrtPane"},152:{n:"BrtSel"},153:{n:"BrtWbProp",f:qd},154:{n:"BrtWbFactoid"},155:{n:"BrtFileRecover"},156:{n:"BrtBundleSh",f:Jd},157:{n:"BrtCalcProp"},158:{n:"BrtBookView"},159:{n:"BrtBeginSst",f:bf},160:{n:"BrtEndSst"},161:{n:"BrtBeginAFilter",f:Vt},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:qh},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:Pt},357:{n:"BrtSupSelf"},358:{n:"BrtSupSame"},359:{n:"BrtSupTabs"},360:{n:"BrtBeginSupBook"},361:{n:"BrtPlaceholderName"},362:{n:"BrtExternSheet",f:ds},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:nd},427:{n:"BrtShrFmla",f:id},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:ld},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:Dh},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:td},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:Pt},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:yo},633:{n:"BrtBeginCommentList"},634:{n:"BrtEndCommentList"},635:{n:"BrtBeginComment",f:Ao},636:{n:"BrtEndComment"},637:{n:"BrtCommentText",f:It},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:Fd},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"},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"},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"},65535:{n:""}};var up=_(cp,"n");var hp={3:{n:"BIFF2NUM",f:zs},4:{n:"BIFF2STR",f:Gs},6:{n:"Formula",f:Ru},9:{n:"BOF",f:wi},10:{n:"EOF",f:On},12:{n:"CalcCount",f:Un},13:{n:"CalcMode",f:Un},14:{n:"CalcPrecision",f:Mn},15:{n:"CalcRefMode",f:Mn},16:{n:"CalcDelta",f:Xt},17:{n:"CalcIter",f:Mn},18:{n:"Protect",f:Mn},19:{n:"Password",f:Un},20:{n:"Header",f:ls},21:{n:"Footer",f:ls},23:{n:"ExternSheet",f:ds},24:{n:"Lbl",f:hs},25:{n:"WinProtect",f:Mn},26:{n:"VerticalPageBreaks"},27:{n:"HorizontalPageBreaks"},28:{n:"Note",f:Ss},29:{n:"Selection"},34:{n:"Date1904",f:Mn},35:{n:"ExternName",f:cs},38:{n:"LeftMargin",f:Xt},39:{n:"RightMargin",f:Xt},40:{n:"TopMargin",f:Xt},41:{n:"BottomMargin",f:Xt},42:{n:"PrintRowCol",f:Mn},43:{n:"PrintGrid",f:Mn},47:{n:"FilePass",f:Gf},49:{n:"Font",f:Wi},51:{n:"PrintSize",f:Un},60:{n:"Continue"},61:{n:"Window1",f:Ni},64:{n:"Backup",f:Mn},65:{n:"Pane"},66:{n:"CodePage",f:Un},77:{n:"Pls"},80:{n:"DCon"},81:{n:"DConRef"},82:{n:"DConName"},85:{n:"DefColWidth",f:Un},89:{n:"XCT"},90:{n:"CRN"},91:{n:"FileSharing"},92:{n:"WriteAccess",f:Ti},93:{n:"Obj",f:Cs},94:{n:"Uncalced"},95:{n:"CalcSaveRecalc",f:Mn},96:{n:"Template"},97:{n:"Intl"},99:{n:"ObjProtect",f:Mn},125:{n:"ColInfo",f:Ns},128:{n:"Guts",f:ts},129:{n:"WsBool",f:xi},130:{n:"GridSet",f:Un},131:{n:"HCenter",f:Mn},132:{n:"VCenter",f:Mn},133:{n:"BoundSheet8",f:_i},134:{n:"WriteProtect"},140:{n:"Country",f:ys},141:{n:"HideObj",f:Un},144:{n:"Sort"},146:{n:"Palette",f:Os},151:{n:"Sync"},152:{n:"LPr"},153:{n:"DxGCol"},154:{n:"FnGroupName"},155:{n:"FilterMode"},156:{n:"BuiltInFnGroupCount",f:Un},157:{n:"AutoFilterInfo"},158:{n:"AutoFilter"},160:{n:"Scl",f:Vs},161:{n:"Setup",f:Ms},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:Ji},190:{n:"MulBlank",f:Zi},193:{n:"Mms",f:On},197:{n:"SXDI"},198:{n:"SXDB"},199:{n:"SXFDB"},200:{n:"SXDBB"},201:{n:"SXNum"},202:{n:"SxBool",f:Mn},203:{n:"SxErr"},204:{n:"SXInt"},205:{n:"SXString"},206:{n:"SXDtr"},207:{n:"SxNil"},208:{n:"SXTbl"},209:{n:"SXTBRGIITM"},210:{n:"SxTbpg"},211:{n:"ObProj"},213:{n:"SXStreamID"},215:{n:"DBCell"},216:{n:"SXRng"},217:{n:"SxIsxoper"},218:{n:"BookBool",f:Un},220:{n:"DbOrParamQry"},221:{n:"ScenarioProtect",f:Mn},222:{n:"OleObjectSize"},224:{n:"XF",f:es},225:{n:"InterfaceHdr",f:Bi},226:{n:"InterfaceEnd",f:On},227:{n:"SXVS"},229:{n:"MergeCells",f:ks},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:Ri},253:{n:"LabelSst",f:Hi},255:{n:"ExtSST",f:yi},256:{n:"SXVDEx"},259:{n:"SXFormula"},290:{n:"SXDBEx"},311:{n:"RRDInsDel"},312:{n:"RRDHead"},315:{n:"RRDChgCell"},317:{n:"RRTabId",f:Vn},318:{n:"RRDRenSheet"},319:{n:"RRSort"},320:{n:"RRDMove"},330:{n:"RRFormat"},331:{n:"RRAutoFmt"},333:{n:"RRInsertSh"},334:{n:"RRDMoveBegin"},335:{n:"RRDMoveEnd"},336:{n:"RRDInsDelBegin"},337:{n:"RRDInsDelEnd"},338:{n:"RRDConflict"},339:{n:"RRDDefName"},340:{n:"RRDRstEtxp"},351:{n:"LRng"},352:{n:"UsesELFs",f:Mn},353:{n:"DSF",f:On},401:{n:"CUsr"},402:{n:"CbUsr"},403:{n:"UsrInfo"},404:{n:"UsrExcl"},405:{n:"FileLock"},406:{n:"RRDInfo"},407:{n:"BCUsrs"},408:{n:"UsrChk"},425:{n:"UserBView"},426:{n:"UserSViewBegin"},427:{n:"UserSViewEnd"},428:{n:"RRDUserView"},429:{n:"Qsi"},430:{n:"SupBook",f:os},431:{n:"Prot4Rev",f:Mn},432:{n:"CondFmt"},433:{n:"CF"},434:{n:"DVal"},437:{n:"DConBin"},438:{n:"TxO",f:Is},439:{n:"RefreshAll",f:Mn},440:{n:"HLink",f:xs},441:{n:"Lel"},442:{n:"CodeName",f:$n},443:{n:"SXFDBType"},444:{n:"Prot4RevPass",f:Un},445:{n:"ObNoMacros"},446:{n:"Dv"},448:{n:"Excel9File",f:On},449:{n:"RecalcId",f:Oi,r:2},450:{n:"EntExU2",f:On},512:{n:"Dimensions",f:Ki},513:{n:"Blank",f:Ws},515:{n:"Number",f:ss},516:{n:"Label",f:Xi},517:{n:"BoolErr",f:ns},518:{n:"Formula",f:Ru},519:{n:"String",f:Hs},520:{n:"Row",f:Fi},523:{n:"Index"},545:{n:"Array",f:bs},549:{n:"DefaultRowHeight",f:Pi},566:{n:"Table"},574:{n:"Window2",f:Li},638:{n:"RK",f:Qi},659:{n:"Style"},1030:{n:"Formula",f:Ru},1048:{n:"BigName"},1054:{n:"Format",f:zi},1084:{n:"ContinueBigName"},1212:{n:"ShrFmla",f:ms},2048:{n:"HLinkTooltip",f:As},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:wi},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:On},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:Ps,r:12},2173:{n:"XFExt",f:vo,r:12},2174:{n:"AutoFilter12"},2175:{n:"ContinueFrt12"},2180:{n:"MDTInfo"},2181:{n:"MDXStr"},2182:{n:"MDXTuple"},2183:{n:"MDXSet"},2184:{n:"MDXProp"},2185:{n:"MDXKPI"},2186:{n:"MDB"},2187:{n:"PLV"},2188:{n:"Compat12",f:Mn,r:12},2189:{n:"DXF"},2190:{n:"TableStyles",r:12},2191:{n:"TableStyle"},2192:{n:"TableStyleElement"},2194:{n:"StyleExt"},2195:{n:"NamePublish"},2196:{n:"NameCmt",f:ps,r:12},2197:{n:"SortData"},2198:{n:"Theme",f:fo,r:12},2199:{n:"GUIDTypeLib"},2200:{n:"FnGrp12"},2201:{n:"NameFnGrp12"},2202:{n:"MTRSettings",f:gs,r:12},2203:{n:"CompressPictures",f:On},2204:{n:"HeaderFooter"},2205:{n:"CrtLayout12"},2206:{n:"CrtMlFrt"},2207:{n:"CrtMlFrtContinue"},2211:{n:"ForceFullCalculation",f:Di},2212:{n:"ShapePropsStream"},2213:{n:"TextPropsStream"},2214:{n:"RichTextStream"},2215:{n:"CrtLayout12A"},4097:{n:"Units"},4098:{n:"Chart"},4099:{n:"Series"},4102:{n:"DataFormat"},4103:{n:"LineFormat"},4105:{n:"MarkerFormat"},4106:{n:"AreaFormat"},4107:{n:"PieFormat"},4108:{n:"AttachedLabel"},4109:{n:"SeriesText"},4116:{n:"ChartFormat"},4117:{n:"Legend"},4118:{n:"SeriesList"},4119:{n:"Bar"},4120:{n:"Line"},4121:{n:"Pie"},4122:{n:"Area"},4123:{n:"Scatter"},4124:{n:"CrtLine"},4125:{n:"Axis"},4126:{n:"Tick"},4127:{n:"ValueRange"},4128:{n:"CatSerRange"},4129:{n:"AxisLine"},4130:{n:"CrtLink"},4132:{n:"DefaultText"},4133:{n:"Text"},4134:{n:"FontX",f:Un},4135:{n:"ObjectLink"},4146:{n:"Frame"},4147:{n:"Begin"},4148:{n:"End"},4149:{n:"PlotArea"},4154:{n:"Chart3d"},4156:{n:"PicF"},4157:{n:"DropBar"},4158:{n:"Radar"},4159:{n:"Surf"},4160:{n:"RadarArea"},4161:{n:"AxisParent"},4163:{n:"LegendException"},4164:{n:"ShtProps",f:Ls},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:Ds},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:Ki},2:{n:"BIFF2INT",f:$s},5:{n:"BoolErr",f:ns},7:{n:"String",f:Ys},8:{n:"BIFF2ROW"},11:{n:"Index"},22:{n:"ExternCount",f:Un},30:{n:"BIFF2FORMAT",f:$i},31:{n:"BIFF2FMTCNT"},32:{n:"BIFF2COLINFO"},33:{n:"Array",f:bs},37:{n:"DefaultRowHeight",f:Pi},50:{n:"BIFF2FONTXTRA",f:Qs},52:{n:"DDEObjName"},62:{n:"BIFF2WINDOW2"},67:{n:"BIFF2XF"},69:{n:"BIFF2FONTCLR"},86:{n:"BIFF4FMTCNT"},126:{n:"RK"},127:{n:"ImData",f:Xs},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:Js},223:{n:"UDDesc"},234:{n:"TabIdConf"},354:{n:"XL5Modify"},421:{n:"FileSharing2"},521:{n:"BOF",f:wi},536:{n:"Lbl",f:hs},547:{n:"ExternName",f:cs},561:{n:"Font"},579:{n:"BIFF3XF"},1033:{n:"BOF",f:wi},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:{}};var dp=_(hp,"n");function vp(e,r,t,a){var n=+r||+dp[r];if(isNaN(n))return;var i=a||(t||[]).length||0;var s=e.next(4);s._W(2,n);s._W(2,i);if(i>0&&Ar(t))e.push(t)}function pp(e,r,t){if(!e)e=Gr(7);e._W(2,r);e._W(2,t);e._W(2,0);e._W(1,0);return e}function mp(e,r,t,a){var n=Gr(9);pp(n,e,r);if(a=="e"){n._W(1,t);n._W(1,1)}else{n._W(1,t?1:0);n._W(1,0)}return n}function bp(e,r,t){var a=Gr(8+2*t.length);pp(a,e,r);a._W(1,t.length);a._W(t.length,t,"sbcs");return a.l=0&&n<65536)vp(e,2,Ks(t,a,n));else vp(e,3,js(t,a,n));return;case"b":case"e":vp(e,5,mp(t,a,r.v,r.t));return;case"s":case"str":vp(e,4,bp(t,a,r.v));return}vp(e,1,pp(null,t,a))}function Ep(e,r,t,a){var n=Array.isArray(r);var i=dt(r["!ref"]||"A1"),s,f="",l=[];if(i.e.c>255||i.e.r>16383){if(a.WTF)throw new Error("Range "+(r["!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);s=ht(i)}for(var o=i.s.r;o<=i.e.r;++o){f=rt(o);for(var c=i.s.c;c<=i.e.c;++c){if(o===i.s.r)l[c]=it(c);s=l[c]+f;var u=n?(r[o]||[])[c]:r[s];if(!u)continue;gp(e,u,o,c,a)}}}function Sp(e,r){var t=r||{};if(pe!=null&&t.dense==null)t.dense=pe;var a=jr();var n=0;for(var i=0;i255||d.e.r>=v){if(r.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,v-1)}vp(a,2057,Ci(t,16,r));vp(a,"CalcMode",Wn(1));vp(a,"CalcCount",Wn(100));vp(a,"CalcRefMode",Ln(true));vp(a,"CalcIter",Ln(false));vp(a,"CalcDelta",Gt(.001));vp(a,"CalcSaveRecalc",Ln(true));vp(a,"PrintRowCol",Ln(false));vp(a,"PrintGrid",Ln(false));vp(a,"GridSet",Wn(1));vp(a,"Guts",as([0,0]));vp(a,"HCenter",Ln(false));vp(a,"VCenter",Ln(false));vp(a,512,Yi(d,r));if(o)i["!links"]=[];for(var p=d.s.r;p<=d.e.r;++p){u=rt(p);for(var m=d.s.c;m<=d.e.c;++m){if(p===d.s.r)h[m]=it(m);c=h[m]+u;var b=l?(i[p]||[])[m]:i[c];if(!b)continue;Ip(a,b,p,m,r);if(o&&b.l)i["!links"].push([c,b.l])}}var g=f.CodeName||f.name||n;if(o&&s.Views)vp(a,"Window2",Ui(s.Views[0]));if(o&&(i["!merges"]||[]).length)vp(a,"MergeCells",ws(i["!merges"]));if(o)Tp(a,i);vp(a,"CodeName",Yn(g,r));if(o)Cp(a,i);vp(a,"EOF");return a.end()}function _p(e,r,t){var a=jr();var n=(e||{}).Workbook||{};var i=n.Sheets||[];var s=n.WBProps||{};var f=t.biff==8,l=t.biff==5;vp(a,2057,Ci(e,5,t));if(t.bookType=="xla")vp(a,"Addin");vp(a,"InterfaceHdr",f?Wn(1200):null);vp(a,"Mms",Pn(2));if(l)vp(a,"ToolbarHdr");if(l)vp(a,"ToolbarEnd");vp(a,"InterfaceEnd");vp(a,"WriteAccess",Ii("SheetJS",t));vp(a,"CodePage",Wn(f?1200:1252));if(f)vp(a,"DSF",Wn(0));if(f)vp(a,"Excel9File");vp(a,"RRTabId",Us(e.SheetNames.length));if(f&&e.vbaraw){vp(a,"ObProj");var o=s.CodeName||"ThisWorkbook";vp(a,"CodeName",Yn(o,t))}vp(a,"BuiltInFnGroupCount",Wn(17));vp(a,"WinProtect",Ln(false));vp(a,"Protect",Ln(false));vp(a,"Password",Wn(0));if(f)vp(a,"Prot4Rev",Ln(false));if(f)vp(a,"Prot4RevPass",Wn(0));vp(a,"Window1",Mi(t));vp(a,"Backup",Ln(false));vp(a,"HideObj",Wn(0));vp(a,"Date1904",Ln(Hd(e)=="true"));vp(a,"CalcPrecision",Ln(true));if(f)vp(a,"RefreshAll",Ln(false));vp(a,"BookBool",Wn(0));kp(a,e,t);wp(a,e.SSF,t);Bp(a,t);if(f)vp(a,"UsesELFs",Ln(false));var c=a.end();var u=jr();if(f)vp(u,"Country",Fs());vp(u,"EOF");var h=u.end();var d=jr();var v=0,p=0;for(p=0;p");var i=e.match(/<\/table/i);var s=n.index,f=i&&i.index||e.length;var l=V(e.slice(s,f),/(:?]*>)/i,"");var o=-1,c=0,u=0,h=0;var d={s:{r:1e7,c:1e7},e:{r:0,c:0}};var v=[];for(s=0;s/i);for(f=0;f"))>-1)E=E.slice(S+1);var k=de(g.slice(0,g.indexOf(">")));h=k.colspan?+k.colspan:1;if((u=+k.rowspan)>1||h>1)v.push({s:{r:o,c:c},e:{r:o+(u||1)-1,c:c+h-1}});var w=k.t||"";if(!E.length){c+=h;continue}E=Ke(E);if(d.s.r>o)d.s.r=o;if(d.e.rc)d.s.c=c;if(d.e.ct||n[o].s.c>s)continue;if(n[o].e.r1)h.rowspan=f;if(l>1)h.colspan=l;var d=u&&u.v!=null&&(u.h||Me(u.w||(pt(u),u.w)||""))||"";h.t=u&&u.t||"z";if(a.editable)d=''+d+"";h.id="sjs-"+c;i.push(tr("td",d,h))}var v="";return v+i.join("")+""}function o(e,r,t){var a=[];return a.join("")+""}var c='SheetJS Table Export';var u="";function r(e,r){var t=r||{};var a=t.header!=null?t.header:c;var n=t.footer!=null?t.footer:u;var i=[a];var s=ut(e["!ref"]);t.dense=Array.isArray(e);i.push(o(e,s,t));for(var f=s.s.r;f<=s.e.r;++f)i.push(l(e,s,f,t));i.push(""+n);return i.join("")}return{to_workbook:e,to_sheet:t,_row:l,BEGIN:c,END:u,_preamble:o,from_sheet:r}}();function Fp(e,r){var t=r||{};if(pe!=null)t.dense=pe;var a=t.dense?[]:{};var n=e.getElementsByTagName("tr");var i=t.sheetRows||1e7;var s={s:{r:0,c:0},e:{r:0,c:0}};var f=[],l=0;var o=[];var c=0,u=0,h,d,v,p;for(;c0||p>1)f.push({s:{r:u,c:d},e:{r:u+(v||1)-1,c:d+p-1}});var k={t:"s",v:E};var w=g.getAttribute("t")||"";if(E!=null){if(E.length==0)k.t=w||"z";else if(t.raw||E.trim().length==0||w=="s"){}else if(E==="TRUE")k={t:"b",v:true};else if(E==="FALSE")k={t:"b",v:false};else if(!isNaN(L(E)))k={t:"n",v:L(E)};else if(!isNaN(U(E).getDate())){k={t:"d",v:ae(E)};if(!t.cellDates)k={t:"n",v:J(k.v)};k.z=t.dateNF||me._table[14]}}if(t.dense){if(!a[u])a[u]=[];a[u][d]=k}else a[ct({c:d,r:u})]=k;if(s.e.c=i)a["!fullref"]=ht((s.e.r=n.length-c+u-1,s));return a}function Dp(e,r){return mt(Fp(e,r),r)}function Op(e){var r="";var t=Pp(e);if(t)r=t(e).getPropertyValue("display");if(!r)r=e.style.display;return r==="none"}function Pp(e){if(e.ownerDocument.defaultView&&typeof e.ownerDocument.defaultView.getComputedStyle==="function")return e.ownerDocument.defaultView.getComputedStyle;if(typeof getComputedStyle==="function")return getComputedStyle;return null}var Np=function(){var Y=function(e){return ke(e.replace(/[\t\r\n]/g," ").trim().replace(/ +/g," ").replace(//g," ").replace(//g,function(e,r){return Array(parseInt(r,10)+1).join(" ")}).replace(/]*\/>/g,"\t").replace(//g,"\n").replace(/<[^>]*>/g,""))};var Q={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 e(r,t){var a=t||{};if(pe!=null&&a.dense==null)a.dense=pe;var n=Mv(r);var i=[],s;var f;var l={name:""},o="",c=0;var u;var h;var d={},v=[];var p=a.dense?[]:{};var m,b;var g={value:""};var E="",S=0,k;var w=-1,C=-1,B={s:{r:1e6,c:1e7},e:{r:0,c:0}};var T=0;var I={};var x=[],_={},A=0,R=0;var y=[],F=1,D=1;var O=[];var P={Names:[]};var N={};var M=["",""];var L=[],U={};var W="",V=0;var H=false,X=false;var G=0;Lv.lastIndex=0;n=n.replace(//gm,"").replace(//gm,"");while(m=Lv.exec(n))switch(m[3]=m[3].replace(/_.*$/,"")){case"table":case"工作表":if(m[1]==="/"){if(B.e.c>=B.s.c&&B.e.r>=B.s.r)p["!ref"]=ht(B);if(a.sheetRows>0&&a.sheetRows<=B.e.r){p["!fullref"]=p["!ref"];B.e.r=a.sheetRows-1;p["!ref"]=ht(B)}if(x.length)p["!merges"]=x;if(y.length)p["!rows"]=y;u.name=u["名称"]||u.name;if(typeof JSON!=="undefined")JSON.stringify(u);v.push(u.name);d[u.name]=p;X=false}else if(m[0].charAt(m[0].length-2)!=="/"){u=de(m[0],false);w=C=-1;B.s.r=B.s.c=1e7;B.e.r=B.e.c=0;p=a.dense?[]:{};x=[];y=[];X=true}break;case"table-row-group":if(m[1]==="/")--T;else++T;break;case"table-row":case"行":if(m[1]==="/"){w+=F;F=1;break}h=de(m[0],false);if(h["行号"])w=h["行号"]-1;else if(w==-1)w=0;F=+h["number-rows-repeated"]||1;if(F<10)for(G=0;G0)y[w+G]={level:T};C=-1;break;case"covered-table-cell":++C;if(a.sheetStubs){if(a.dense){if(!p[w])p[w]=[];p[w][C]={t:"z"}}else p[ct({r:w,c:C})]={t:"z"}}break;case"table-cell":case"数据":if(m[0].charAt(m[0].length-2)==="/"){++C;g=de(m[0],false);D=parseInt(g["number-columns-repeated"]||"1",10);b={t:"z",v:null};if(g.formula&&a.cellFormula!=false)b.f=Wu(ke(g.formula));if((g["数据类型"]||g["value-type"])=="string"){b.t="s";b.v=ke(g["string-value"]||"");if(a.dense){if(!p[w])p[w]=[];p[w][C]=b}else{p[ct({r:w,c:C})]=b}}C+=D-1}else if(m[1]!=="/"){++C;D=1;var z=F?w+F-1:w;if(C>B.e.c)B.e.c=C;if(CB.e.r)B.e.r=z;g=de(m[0],false);L=[];U={};b={t:g["数据类型"]||g["value-type"],v:null};if(a.cellFormula){if(g.formula)g.formula=ke(g.formula);if(g["number-matrix-columns-spanned"]&&g["number-matrix-rows-spanned"]){A=parseInt(g["number-matrix-rows-spanned"],10)||0;R=parseInt(g["number-matrix-columns-spanned"],10)||0;_={s:{r:w,c:C},e:{r:w+A-1,c:C+R-1}};b.F=ht(_);O.push([_,b.F])}if(g.formula)b.f=Wu(g.formula);else for(G=0;G=O[G][0].s.r&&w<=O[G][0].e.r)if(C>=O[G][0].s.c&&C<=O[G][0].e.c)b.F=O[G][1]}if(g["number-columns-spanned"]||g["number-rows-spanned"]){A=parseInt(g["number-rows-spanned"],10)||0;R=parseInt(g["number-columns-spanned"],10)||0;_={s:{r:w,c:C},e:{r:w+A-1,c:C+R-1}};x.push(_)}if(g["number-columns-repeated"])D=parseInt(g["number-columns-repeated"],10);switch(b.t){case"boolean":b.t="b";b.v=Ve(g["boolean-value"]);break;case"float":b.t="n";b.v=parseFloat(g.value);break;case"percentage":b.t="n";b.v=parseFloat(g.value);break;case"currency":b.t="n";b.v=parseFloat(g.value);break;case"date":b.t="d";b.v=ae(g["date-value"]);if(!a.cellDates){b.t="n";b.v=J(b.v)}b.z="m/d/yy";break;case"time":b.t="n";b.v=Z(g["time-value"])/86400;break;case"number":b.t="n";b.v=parseFloat(g["数据数值"]);break;default:if(b.t==="string"||b.t==="text"||!b.t){b.t="s";if(g["string-value"]!=null)E=ke(g["string-value"])}else throw new Error("Unsupported value type "+b.t)}}else{H=false;if(b.t==="s"){b.v=E||"";H=S==0}if(N.Target)b.l=N;if(L.length>0){b.c=L;L=[]}if(E&&a.cellText!==false)b.w=E;if(!H||a.sheetStubs){if(!(a.sheetRows&&a.sheetRows<=w)){for(var j=0;j0)p[w+j][C+D]=ne(b)}else{p[ct({r:w+j,c:C})]=b;while(--D>0)p[ct({r:w+j,c:C+D})]=ne(b)}if(B.e.c<=C)B.e.c=C}}}D=parseInt(g["number-columns-repeated"]||"1",10);C+=D-1;D=0;b={};E=""}N={};break;case"document":case"document-content":case"电子表格文档":case"spreadsheet":case"主体":case"scripts":case"styles":case"font-face-decls":if(m[1]==="/"){if((s=i.pop())[0]!==m[3])throw"Bad state: "+s}else if(m[0].charAt(m[0].length-2)!=="/")i.push([m[3],true]);break;case"annotation":if(m[1]==="/"){if((s=i.pop())[0]!==m[3])throw"Bad state: "+s;U.t=E;U.a=W;L.push(U)}else if(m[0].charAt(m[0].length-2)!=="/"){i.push([m[3],false])}W="";V=0;E="";S=0;break;case"creator":if(m[1]==="/"){W=n.slice(V,m.index)}else V=m.index+m[0].length;break;case"meta":case"元数据":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(m[1]==="/"){if((s=i.pop())[0]!==m[3])throw"Bad state: "+s}else if(m[0].charAt(m[0].length-2)!=="/")i.push([m[3],false]);E="";S=0;break;case"scientific-number":break;case"currency-symbol":break;case"currency-style":break;case"number-style":case"percentage-style":case"date-style":case"time-style":if(m[1]==="/"){I[l.name]=o;if((s=i.pop())[0]!==m[3])throw"Bad state: "+s}else if(m[0].charAt(m[0].length-2)!=="/"){o="";l=de(m[0],false);i.push([m[3],true])}break;case"script":break;case"libraries":break;case"automatic-styles":break;case"master-styles":break;case"default-style":case"page-layout":break;case"style":break;case"map":break;case"font-face":break;case"paragraph-properties":break;case"table-properties":break;case"table-column-properties":break;case"table-row-properties":break;case"table-cell-properties":break;case"number":switch(i[i.length-1][0]){case"time-style":case"date-style":f=de(m[0],false);o+=Q[m[3]][f.style==="long"?1:0];break}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(i[i.length-1][0]){case"time-style":case"date-style":f=de(m[0],false);o+=Q[m[3]][f.style==="long"?1:0];break}break;case"boolean-style":break;case"boolean":break;case"text-style":break;case"text":if(m[0].slice(-2)==="/>")break;else if(m[1]==="/")switch(i[i.length-1][0]){case"number-style":case"date-style":case"time-style":o+=n.slice(c,m.index);break}else c=m.index+m[0].length;break;case"named-range":f=de(m[0],false);M=Hu(f["cell-range-address"]);var $={Name:f.name,Ref:M[0]+"!"+M[1]};if(X)$.Sheet=v.length;P.Names.push($);break;case"text-content":break;case"text-properties":break;case"embedded-text":break;case"body":case"电子表格":break;case"forms":break;case"table-column":break;case"table-header-rows":break;case"table-rows":break;case"table-column-group":break;case"table-header-columns":break;case"table-columns":break;case"null-date":break;case"graphic-properties":break;case"calculation-settings":break;case"named-expressions":break;case"label-range":break;case"label-ranges":break;case"named-expression":break;case"sort":break;case"sort-by":break;case"sort-groups":break;case"tab":break;case"line-break":break;case"span":break;case"p":case"文本串":if(m[1]==="/"&&(!g||!g["string-value"]))E=(E.length>0?E+"\n":"")+Y(n.slice(S,m.index),k);else{k=de(m[0],false);S=m.index+m[0].length}break;case"s":break;case"database-range":if(m[1]==="/")break;try{M=Hu(de(m[0])["target-range-address"]);d[M[0]]["!autofilter"]={ref:M[1]}}catch(e){}break;case"date":break;case"object":break;case"title":case"标题":break;case"desc":break;case"binary-data":break;case"table-source":break;case"scenario":break;case"iteration":break;case"content-validations":break;case"content-validation":break;case"help-message":break;case"error-message":break;case"database-ranges":break;case"filter":break;case"filter-and":break;case"filter-or":break;case"filter-condition":break;case"list-level-style-bullet":break;case"list-level-style-number":break;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":break;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":break;case"config-item":break;case"page-number":break;case"page-count":break;case"time":break;case"cell-range-source":break;case"detective":break;case"operation":break;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":break;case"rect":break;case"dde-connection-decls":case"dde-connection-decl":case"dde-link":case"dde-source":break;case"properties":break;case"property":break;case"a":if(m[1]!=="/"){N=de(m[0],false);if(!N.href)break;N.Target=N.href;delete N.href;if(N.Target.charAt(0)=="#"&&N.Target.indexOf(".")>-1){M=Hu(N.Target.slice(1));N.Target="#"+M[0]+"!"+M[1]}}break;case"table-protection":break;case"data-pilot-grand-total":break;case"office-document-common-attrs":break;default:switch(m[2]){case"dc:":case"calcext:":case"loext:":case"ooo:":case"chartooo:":case"draw:":case"style:":case"chart:":case"form:":case"uof:":case"表:":case"字:":break;default:if(a.WTF)throw new Error(m)}}var K={Sheets:d,SheetNames:v,Workbook:P};if(a.bookSheets)delete K.Sheets;return K}}();function Mp(e,r){r=r||{};var t=!!j(e,"objectdata");if(t)Ma(Y(e,"META-INF/manifest.xml"),r);var a=Q(e,"content.xml");if(!a)throw new Error("Missing content.xml in "+(t?"ODS":"UOF")+" file");var n=Np(t?a:He(a),r);if(j(e,"meta.xml"))n.Props=za(Y(e,"meta.xml"));return n}function Lp(e,r){return Np(e,r)}var Up=function(){var r="";return function e(){return le+r}}();var Wp=function(){var g=function(e){return Be(e).replace(/ +/g,function(e){return''}).replace(/\t/g,"").replace(/\n/g,"").replace(/^ /,"").replace(/ $/,"")};var E=" \n";var S=" \n";var f=function(e,r,t){var a=[];a.push(' \n');var n=0,i=0,s=ut(e["!ref"]);var f=e["!merges"]||[],l=0;var o=Array.isArray(e);for(n=0;n\n");for(;n<=s.e.r;++n){a.push(" \n");for(i=0;ii)continue;if(f[l].s.r>n)continue;if(f[l].e.c\n")}a.push(" \n");return a.join("")};var l=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")};return function e(r,t){var a=[le];var n=rr({"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"});var i=rr({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});if(t.bookType=="fods")a.push("\n");else a.push("\n");l(a);a.push(" \n");a.push(" \n");for(var s=0;s!=r.SheetNames.length;++s)a.push(f(r.Sheets[r.SheetNames[s]],r,s,t));a.push(" \n");a.push(" \n");if(t.bookType=="fods")a.push("");else a.push("");return a.join("")}}();function Vp(e,r){if(r.bookType=="fods")return Wp(e,r);var t=new se;var a="";var n=[];var i=[];a="mimetype";t.file(a,"application/vnd.oasis.opendocument.spreadsheet");a="content.xml";t.file(a,Wp(e,r));n.push([a,"text/xml"]);i.push([a,"ContentFile"]);a="styles.xml";t.file(a,Up(e,r));n.push([a,"text/xml"]);i.push([a,"StylesFile"]);a="meta.xml";t.file(a,Ha());n.push([a,"text/xml"]);i.push([a,"MetadataFile"]);a="manifest.rdf";t.file(a,Va(i));n.push([a,"application/rdf+xml"]);a="META-INF/manifest.xml";t.file(a,La(n));return t}function Hp(e,r){if(!r)return 0;var t=e.SheetNames.indexOf(r);if(t==-1)throw new Error("Sheet not found: "+r);return t}function Xp(n){return function e(r,t){var a=Hp(r,t.sheet);return n.from_sheet(r.Sheets[r.SheetNames[a]],t,r)}}var Gp=Xp(yp);var zp=Xp({from_sheet:Dm});var jp=Xp(qs);var $p=Xp(ef);var Kp=Xp(tf);var Yp=Xp(zf);var Qp=Xp({from_sheet:Om});var Jp=Xp(Zs);var Zp=Xp(rf);function qp(n){return function e(r){for(var t=0;t!=n.length;++t){var a=n[t];if(r[a[0]]===undefined)r[a[0]]=a[1];if(a[2]==="n")r[a[0]]=Number(r[a[0]])}}}var em=qp([["cellNF",false],["cellHTML",true],["cellFormula",true],["cellStyles",false],["cellText",true],["cellDates",false],["sheetStubs",false],["sheetRows",0,"n"],["bookDeps",false],["bookSheets",false],["bookProps",false],["bookFiles",false],["bookVBA",false],["password",""],["WTF",false]]);var rm=qp([["cellDates",false],["bookSST",false],["bookType","xlsx"],["compression",false],["WTF",false]]);function tm(e){if(Ra.WS.indexOf(e)>-1)return"sheet";if(Ra.CS&&e==Ra.CS)return"chart";if(Ra.DS&&e==Ra.DS)return"dialog";if(Ra.MS&&e==Ra.MS)return"macro";return e&&e.length?e:"sheet"}function am(t,e){if(!t)return 0;try{t=e.map(function e(r){if(!r.id)r.id=r.strRelID;return[r.name,t["!id"][r.id].Target,tm(t["!id"][r.id].Type)]})}catch(e){return null}return!t||t.length===0?null:t}function nm(e,r,t,a,n,i,s,f,l,o,c,u){try{i[a]=Fa(Q(e,t,true),r);var h=Y(e,r);var d;switch(f){case"sheet":d=cv(h,r,n,l,i[a],o,c,u);break;case"chart":d=uv(h,r,n,l,i[a],o,c,u);if(!d||!d["!chart"])break;var v=fe(d["!chart"].Target,r);var p=ya(v);var m=ko(Q(e,v,true),Fa(Q(e,p,true),v));var b=fe(m,v);var g=ya(b);d=_d(Q(e,b,true),b,l,Fa(Q(e,g,true),b),o,d);break;case"macro":d=hv(h,r,n,l,i[a],o,c,u);break;case"dialog":d=dv(h,r,n,l,i[a],o,c,u);break}s[a]=d}catch(e){if(l.WTF)throw e}}function im(e){return e.charAt(0)=="/"?e.slice(1):e}function sm(r,t){re(me);t=t||{};em(t);if(j(r,"META-INF/manifest.xml"))return Mp(r,t);if(j(r,"objectdata.xml"))return Mp(r,t);if(j(r,"Index/Document.iwa"))throw new Error("Unsupported NUMBERS file");var e=ie(r);var a=Ia(Q(r,"[Content_Types].xml"));var n=false;var i,s;if(a.workbooks.length===0){s="xl/workbook.xml";if(Y(r,s,true))a.workbooks.push(s)}if(a.workbooks.length===0){s="xl/workbook.bin";if(!Y(r,s,true))throw new Error("Could not find workbook");a.workbooks.push(s);n=true}if(a.workbooks[0].slice(-3)=="bin")n=true;var f={};var l={};if(!t.bookSheets&&!t.bookProps){Gu=[];if(a.sst)try{Gu=mv(Y(r,im(a.sst)),a.sst,t)}catch(e){if(t.WTF)throw e}if(t.cellStyles&&a.themes.length)f=pv(Q(r,a.themes[0].replace(/^\//,""),true)||"",a.themes[0],t);if(a.style)l=vv(Y(r,im(a.style)),a.style,f,t)}a.links.map(function(e){return Ev(Y(r,im(e)),e,t)});var o=ov(Y(r,im(a.workbooks[0])),a.workbooks[0],t);var c={},u="";if(a.coreprops.length){u=Y(r,im(a.coreprops[0]),true);if(u)c=za(u);if(a.extprops.length!==0){u=Y(r,im(a.extprops[0]),true);if(u)Za(u,c,t)}}var h={};if(!t.bookSheets||t.bookProps){if(a.custprops.length!==0){u=Q(r,im(a.custprops[0]),true);if(u)h=tn(u,t)}}var d={};if(t.bookSheets||t.bookProps){if(o.Sheets)i=o.Sheets.map(function e(r){return r.name});else if(c.Worksheets&&c.SheetNames.length>0)i=c.SheetNames;if(t.bookProps){d.Props=c;d.Custprops=h}if(t.bookSheets&&typeof i!=="undefined")d.SheetNames=i;if(t.bookSheets?d.SheetNames:t.bookProps)return d}i={};var v={};if(t.bookDeps&&a.calcchain)v=gv(Y(r,im(a.calcchain)),a.calcchain,t);var p=0;var m={};var b,g;{var E=o.Sheets;c.Worksheets=E.length;c.SheetNames=[];for(var S=0;S!=E.length;++S){c.SheetNames[S]=E[S].name}}var k=n?"bin":"xml";var w=a.workbooks[0].lastIndexOf("/");var C=(a.workbooks[0].slice(0,w+1)+"_rels/"+a.workbooks[0].slice(w+1)+".rels").replace(/^\//,"");if(!j(r,C))C="xl/_rels/workbook."+k+".rels";var B=Fa(Q(r,C,true),C);if(B)B=am(B,o.Sheets);var T=Y(r,"xl/worksheets/sheet.xml",true)?1:0;for(p=0;p!=c.Worksheets;++p){var I="sheet";if(B&&B[p]){b="xl/"+B[p][1].replace(/[\/]?xl\//,"");if(!j(r,b))b=B[p][1];if(!j(r,b))b=C.replace(/_rels\/.*$/,"")+B[p][1];I=B[p][2]}else{b="xl/worksheets/sheet"+(p+1-T)+"."+k;b=b.replace(/sheet0\./,"sheet.")}g=b.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels");nm(r,b,g,c.SheetNames[p],p,m,i,I,t,o,f,l)}if(a.comments)Bo(r,a.comments,i,m,t);d={Directory:a,Workbook:o,Props:c,Custprops:h,Deps:v,Sheets:i,SheetNames:c.SheetNames,Strings:Gu,Styles:l,Themes:f,SSF:me.get_table()};if(t.bookFiles){d.keys=e;d.files=r.files}if(t.bookVBA){if(a.vba.length>0)d.vbaraw=Y(r,im(a.vba[0]),true);else if(a.defaults&&a.defaults.bin===Po)d.vbaraw=Y(r,"xl/vbaProject.bin",true)}return d}function fm(e,r){var t=r||{};var a="Workbook",n=Oe.find(e,a);try{a="/!DataSpaces/Version";n=Oe.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);Bf(n.content);a="/!DataSpaces/DataSpaceMap";n=Oe.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var i=If(n.content);if(i.length!==1||i[0].comps.length!==1||i[0].comps[0].t!==0||i[0].name!=="StrongEncryptionDataSpace"||i[0].comps[0].v!=="EncryptedPackage")throw new Error("ECMA-376 Encrypted file bad "+a);a="/!DataSpaces/DataSpaceInfo/StrongEncryptionDataSpace";n=Oe.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var s=xf(n.content);if(s.length!=1||s[0]!="StrongEncryptionTransform")throw new Error("ECMA-376 Encrypted file bad "+a);a="/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary";n=Oe.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);Af(n.content)}catch(e){}a="/EncryptionInfo";n=Oe.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var f=Ff(n.content);a="/EncryptedPackage";n=Oe.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);if(f[0]==4&&typeof decrypt_agile!=="undefined")return decrypt_agile(f[1],n.content,t.password||"",t);if(f[0]==2&&typeof decrypt_std76!=="undefined")return decrypt_std76(f[1],n.content,t.password||"",t);throw new Error("File is password-protected")}function lm(e,r){wo=1024;if(r.bookType=="ods")return Vp(e,r);if(e&&!e.SSF){e.SSF=me.get_table()}if(e&&e.SSF){re(me);me.load_table(e.SSF);r.revssf=R(e.SSF);r.revssf[e.SSF[65535]]=0;r.ssf=e.SSF}r.rels={};r.wbrels={};r.Strings=[];r.Strings.Count=0;r.Strings.Unique=0;if(ju)r.revStrings=new Map;else{r.revStrings={};r.revStrings.foo=[];delete r.revStrings.foo}var t=r.bookType=="xlsb"?"bin":"xml";var a=Lo.indexOf(r.bookType)>-1;var n=Ta();rm(r=r||{});var i=new se;var s="",f=0;r.cellXfs=[];Qu(r.cellXfs,{},{revssf:{General:0}});if(!e.Props)e.Props={};s="docProps/core.xml";i.file(s,Ka(e.Props,r));n.coreprops.push(s);Pa(r.rels,2,s,Ra.CORE_PROPS);s="docProps/app.xml";if(e.Props&&e.Props.SheetNames){}else if(!e.Workbook||!e.Workbook.Sheets)e.Props.SheetNames=e.SheetNames;else{var l=[];for(var o=0;o0){s="docProps/custom.xml";i.file(s,nn(e.Custprops,r));n.custprops.push(s);Pa(r.rels,4,s,Ra.CUST_PROPS)}for(f=1;f<=e.SheetNames.length;++f){var c={"!id":{}};var u=e.Sheets[e.SheetNames[f-1]];var h=(u||{})["!type"]||"sheet";switch(h){case"chart":default:s="xl/worksheets/sheet"+f+"."+t;i.file(s,kv(f-1,s,r,e,c));n.sheets.push(s);Pa(r.wbrels,-1,"worksheets/sheet"+f+"."+t,Ra.WS[0])}if(u){var d=u["!comments"];if(d&&d.length>0){var v="xl/comments"+f+"."+t;i.file(v,Tv(d,v,r));n.comments.push(v);Pa(c,-1,"../comments"+f+"."+t,Ra.CMNT)}if(u["!legacy"]){i.file("xl/drawings/vmlDrawing"+f+".vml",Co(f,u["!comments"]))}delete u["!comments"];delete u["!legacy"]}if(c["!id"].rId1)i.file(ya(s),Oa(c))}if(r.Strings!=null&&r.Strings.length>0){s="xl/sharedStrings."+t;i.file(s,Bv(r.Strings,s,r));n.strs.push(s);Pa(r.wbrels,-1,"sharedStrings."+t,Ra.SST)}s="xl/workbook."+t;i.file(s,Sv(e,s,r));n.workbooks.push(s);Pa(r.rels,1,s,Ra.WB);s="xl/theme/theme1.xml";i.file(s,so(e.Themes,r));n.themes.push(s);Pa(r.wbrels,-1,"theme/theme1.xml",Ra.THEME);s="xl/styles."+t;i.file(s,Cv(e,s,r));n.styles.push(s);Pa(r.wbrels,-1,"styles."+t,Ra.STY);if(e.vbaraw&&a){s="xl/vbaProject.bin";i.file(s,e.vbaraw);n.vba.push(s);Pa(r.wbrels,-1,"vbaProject.bin",Ra.VBA)}i.file("[Content_Types].xml",Aa(n,r));i.file("_rels/.rels",Oa(r.rels));i.file("xl/_rels/workbook."+t+".rels",Oa(r.wbrels));delete r.revssf;delete r.ssf;return i}function om(e,r){var t="";switch((r||{}).type||"base64"){case"buffer":return[e[0],e[1],e[2],e[3]];case"base64":t=Te.decode(e.slice(0,24));break;case"binary":t=e;break;case"array":return[e[0],e[1],e[2],e[3]];default:throw new Error("Unrecognized type "+(r&&r.type||"undefined"))}return[t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3)]}function cm(e,r){if(Oe.find(e,"EncryptedPackage"))return fm(e,r);return lp(e,r)}function um(e,r){var t,a=e;var n=r||{};if(!n.type)n.type=Ie&&Buffer.isBuffer(e)?"buffer":"base64";switch(n.type){case"base64":t=new se(a,{base64:true});break;case"binary":case"array":t=new se(a,{base64:false});break;case"buffer":t=new se(a);break;default:throw new Error("Unrecognized type "+n.type)}return sm(t,n)}function hm(e,r){var t=0;e:while(t=2&&a[3]===0)return nf.to_workbook(t,i);break;case 3:case 131:case 139:case 140:return Zs.to_workbook(t,i);case 123:if(a[1]===92&&a[2]===114&&a[3]===116)return zf.to_workbook(t,i);break;case 10:case 13:case 32:return dm(t,i)}if(a[2]<=12&&a[3]<=31)return Zs.to_workbook(t,i);return mm(e,t,i,n)}function gm(e,r){var t=r||{};t.type="file";return bm(e,t)}function Em(e,r){switch(r.type){case"base64":case"binary":break;case"buffer":case"array":r.type="";break;case"file":return I(r.file,Oe.write(e,{type:Ie?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+r.bookType+"' files");default:throw new Error("Unrecognized type "+r.type)}return Oe.write(e,r)}function Sm(e,r){var t=r||{};var a=lm(e,t);var n={};if(t.compression)n.compression="DEFLATE";if(t.password)n.type=Ie?"nodebuffer":"string";else switch(t.type){case"base64":n.type="base64";break;case"binary":n.type="string";break;case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");case"buffer":case"file":n.type=Ie?"nodebuffer":"string";break;default:throw new Error("Unrecognized type "+t.type)}var i=a.generate(n);if(t.password&&typeof encrypt_agile!=="undefined")return Em(encrypt_agile(i,t.password),t);if(t.type==="file")return I(t.file,i);return t.type=="string"?He(i):i}function km(e,r){var t=r||{};var a=op(e,t);return Em(a,t)}function wm(e,r,t){if(!t)t="";var a=t+e;switch(r.type){case"base64":return Te.encode(Xe(a));case"binary":return Xe(a);case"string":return e;case"file":return I(r.file,a,"utf8");case"buffer":{if(Ie)return f(a,"utf8");else return wm(a,{type:"binary"}).split("").map(function(e){return e.charCodeAt(0)})}}throw new Error("Unrecognized type "+r.type)}function Cm(e,r){switch(r.type){case"base64":return Te.encode(e);case"binary":return e;case"string":return e;case"file":return I(r.file,e,"binary");case"buffer":{if(Ie)return f(e,"binary");else return e.split("").map(function(e){return e.charCodeAt(0)})}}throw new Error("Unrecognized type "+r.type)}function Bm(e,r){switch(r.type){case"string":case"base64":case"binary":var t="";for(var a=0;a0)n=0;var u=rt(l.s.r);var h=[];var d=[];var v=0,p=0;var m=Array.isArray(e);var b=l.s.r,g=0,E=0;if(m&&!e[b])e[b]=[];for(g=l.s.c;g<=l.e.c;++g){h[g]=it(g);t=m?e[b][g]:e[h[g]+u];switch(a){case 1:i[g]=g-l.s.c;break;case 2:i[g]=h[g];break;case 3:i[g]=o.header[g-l.s.c];break;default:if(t==null)t={w:"__EMPTY",t:"s"};f=s=pt(t,null,o);p=0;for(E=0;E=0)c='"'+c.replace(ym,'""')+'"'}else c="";o.push(c)}if(f.blankrows===false&&l)return null;return o.join(s)}function Dm(e,r){var t=[];var a=r==null?{}:r;if(e==null||e["!ref"]==null)return"";var n=dt(e["!ref"]);var i=a.FS!==undefined?a.FS:",",s=i.charCodeAt(0);var f=a.RS!==undefined?a.RS:"\n",l=f.charCodeAt(0);var o=new RegExp((i=="|"?"\\|":i)+"+$");var c="",u=[];a.dense=Array.isArray(e);var h=a.skipHidden&&e["!cols"]||[];var d=a.skipHidden&&e["!rows"]||[];for(var v=n.s.c;v<=n.e.c;++v)if(!(h[v]||{}).hidden)u[v]=it(v);for(var p=n.s.r;p<=n.e.r;++p){if((d[p]||{}).hidden)continue;c=Fm(e,n,p,u,s,l,i,a);if(c==null){continue}if(a.strip)c=c.replace(o,"");t.push(c+f)}delete a.dense;return t.join("")}function Om(e,r){if(!r)r={};r.FS="\t";r.RS="\n";var t=Dm(e,r);if(typeof cptable=="undefined"||r.type=="string")return t;var a=cptable.utils.encode(1200,t,"str");return String.fromCharCode(255)+String.fromCharCode(254)+a}function Pm(e){var r="",t,a="";if(e==null||e["!ref"]==null)return[];var n=dt(e["!ref"]),i="",s=[],f;var l=[];var o=Array.isArray(e);for(f=n.s.c;f<=n.e.c;++f)s[f]=it(f);for(var c=n.s.r;c<=n.e.r;++c){i=rt(c);for(f=n.s.c;f<=n.e.c;++f){r=s[f]+i;t=o?(e[c]||[])[f]:e[r];a="";if(t===undefined)continue;else if(t.F!=null){r=t.F;if(!t.f)continue;a=t.f;if(r.indexOf(":")==-1)r=r+":"+r}if(t.f!=null)a=t.f;else if(t.t=="z")continue;else if(t.t=="n"&&t.v!=null)a=""+t.v;else if(t.t=="b")a=t.v?"TRUE":"FALSE";else if(t.w!==undefined)a="'"+t.w;else if(t.v===undefined)continue;else if(t.t=="s")a="'"+t.v;else a=""+t.v;l[l.length]=r+"="+a}}return l}function Nm(e,r,t){var s=t||{};var f=+!s.skipHeader;var l=e||{};var o=0,c=0;if(l&&s.origin!=null){if(typeof s.origin=="number")o=s.origin;else{var a=typeof s.origin=="string"?ot(s.origin):s.origin;o=a.r;c=a.c}}var u;var n={s:{c:0,r:0},e:{c:c,r:o+r.length-1+f}};if(l["!ref"]){var i=dt(l["!ref"]);n.e.c=Math.max(n.e.c,i.e.c);n.e.r=Math.max(n.e.r,i.e.r);if(o==-1){o=n.e.r+1;n.e.r=o+r.length-1+f}}var h=s.header||[],d=0;r.forEach(function(n,i){be(n).forEach(function(e){if((d=h.indexOf(e))==-1)h[d=h.length]=e;var r=n[e];var t="z";var a="";if(r&&typeof r==="object"&&!(r instanceof Date)){l[ct({c:c+d,r:o+i+f})]=r}else{if(typeof r=="number")t="n";else if(typeof r=="boolean")t="b";else if(typeof r=="string")t="s";else if(r instanceof Date){t="d";if(!s.cellDates){t="n";r=J(r)}a=s.dateNF||me._table[14]}l[ct({c:c+d,r:o+i+f})]=u={t:t,v:r};if(a)u.z=a}})});n.e.c=Math.max(n.e.c,c+h.length-1);var v=rt(o);if(f)for(d=0;d=0&&e.SheetNames.length>r)return r;throw new Error("Cannot find sheet # "+r)}else if(typeof r=="string"){var t=e.SheetNames.indexOf(r);if(t>-1)return t;throw new Error("Cannot find sheet name |"+r+"|")}else throw new Error("Cannot find sheet |"+r+"|")}a.book_new=function(){return{SheetNames:[],Sheets:{}}};a.book_append_sheet=function(e,r,t){if(!t)for(var a=1;a<=65535;++a)if(e.SheetNames.indexOf(t="Sheet"+a)==-1)break;if(!t)throw new Error("Too many worksheets");Gd(t);if(e.SheetNames.indexOf(t)>=0)throw new Error("Worksheet with name |"+t+"| already exists!");e.SheetNames.push(t);e.Sheets[t]=r};a.book_set_sheet_visibility=function(e,r,t){n(e,"Workbook",{});n(e.Workbook,"Sheets",[]);var a=i(e,r);n(e.Workbook.Sheets,a,{});switch(t){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+t)}e.Workbook.Sheets[a].Hidden=t};e([["SHEET_VISIBLE",0],["SHEET_HIDDEN",1],["SHEET_VERY_HIDDEN",2]]);a.cell_set_number_format=function(e,r){e.z=r;return e};a.cell_set_hyperlink=function(e,r,t){if(!r){delete e.l}else{e.l={Target:r};if(t)e.l.Tooltip=t}return e};a.cell_set_internal_link=function(e,r,t){return a.cell_set_hyperlink(e,"#"+r,t)};a.cell_add_comment=function(e,r,t){if(!e.c)e.c=[];e.c.push({t:r,a:t||"SheetJS"})};a.sheet_set_array_formula=function(e,r,t){var a=typeof r!="string"?r:dt(r);var n=typeof r=="string"?r:ht(r);for(var i=a.s.r;i<=a.e.r;++i)for(var s=a.s.c;s<=a.e.c;++s){var f=l(e,i,s);f.t="n";f.F=n;delete f.v;if(i==a.s.r&&s==a.s.c)f.f=t}return e};return a})(Lm);if(Ie&&typeof require!="undefined")(function(){var E={}.Readable;var e=function(e,r){var t=E();var a=r==null?{}:r;if(e==null||e["!ref"]==null){t.push(null);return t}var n=dt(e["!ref"]);var i=a.FS!==undefined?a.FS:",",s=i.charCodeAt(0);var f=a.RS!==undefined?a.RS:"\n",l=f.charCodeAt(0);var o=new RegExp((i=="|"?"\\|":i)+"+$");var c="",u=[];a.dense=Array.isArray(e);var h=a.skipHidden&&e["!cols"]||[];var d=a.skipHidden&&e["!rows"]||[];for(var v=n.s.c;v<=n.e.c;++v)if(!(h[v]||{}).hidden)u[v]=it(v);var p=n.s.r;var m=false;t._read=function(){if(!m){m=true;return t.push("\ufeff")}if(p>n.e.r)return t.push(null);while(p<=n.e.r){++p;if((d[p-1]||{}).hidden)continue;c=Fm(e,n,p-1,u,s,l,i,a);if(c!=null){if(a.strip)c=c.replace(o,"");t.push(c+f);break}}};return t};var r=function(e,r){var t=E();var a=r||{};var n=a.header!=null?a.header:yp.BEGIN;var i=a.footer!=null?a.footer:yp.END;t.push(n);var s=ut(e["!ref"]);a.dense=Array.isArray(e);t.push(yp._preamble(e,s,a));var f=s.s.r;var l=false;t._read=function(){if(f>s.e.r){if(!l){l=true;t.push(""+i)}return t.push(null)}while(f<=s.e.r){t.push(yp._row(e,s,f,a));++f;break}};return t};var t=function(r,e){var t=E({objectMode:true});if(r==null||r["!ref"]==null){t.push(null);return t}var a={t:"n",v:0},n=0,i=1,s=[],f=0,l="";var o={s:{r:0,c:0},e:{r:0,c:0}};var c=e||{};var u=c.range!=null?c.range:r["!ref"];if(c.header===1)n=1;else if(c.header==="A")n=2;else if(Array.isArray(c.header))n=3;switch(typeof u){case"string":o=dt(u);break;case"number":o=dt(r["!ref"]);o.s.r=u;break;default:o=u}if(n>0)i=0;var h=rt(o.s.r);var d=[];var v=0;var p=Array.isArray(r);var m=o.s.r,b=0,g=0;if(p&&!r[m])r[m]=[];for(b=o.s.c;b<=o.e.c;++b){d[b]=it(b);a=p?r[m][b]:r[d[b]+h];switch(n){case 1:s[b]=b-o.s.c;break;case 2:s[b]=d[b];break;case 3:s[b]=c.header[b-o.s.c];break;default:if(a==null)a={w:"__EMPTY",t:"s"};l=f=pt(a,null,c);v=0;for(g=0;go.e.r)return t.push(null);while(m<=o.e.r){var e=Am(r,o,m,d,n,s,p,c);++m;if(e.isempty===false||(n===1?c.blankrows!==false:!!c.blankrows)){t.push(e.row);break}}};return t};a.stream={to_json:t,to_html:r,to_csv:e}})();a.parse_xlscfb=lp;a.parse_ods=Mp;a.parse_fods=Lp;a.write_ods=Vp;a.parse_zip=sm;a.read=bm;a.readFile=gm;a.readFileSync=gm;a.write=Tm;a.writeFile=xm;a.writeFileSync=xm;a.writeFileAsync=_m;a.utils=Lm;a.SSF=me;a.CFB=Oe}if(typeof exports!=="undefined")make_xlsx_lib(exports);else if(typeof module!=="undefined"&&module.exports)make_xlsx_lib(module.exports);else if(typeof define==="function"&&define.amd)define("xlsx",function(){if(!XLSX.version)make_xlsx_lib(XLSX);return XLSX});else make_xlsx_lib(XLSX);var XLS=XLSX,ODS=XLSX;