forked from sheetjs/sheetjs
SheetJS
75845a0ca7
- IE6-9 ActiveX + VBScript shim - `writeFile` supported in browser - `oldie` demo for IE write strategies
14 lines
362 KiB
JavaScript
Generated
14 lines
362 KiB
JavaScript
Generated
/* xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
|
||
var DO_NOT_EXPORT_CODEPAGE=true;var DO_NOT_EXPORT_JSZIP=true;var XLSX={};(function e(r){r.version="0.11.19";var t=1200,a=1252;if(typeof module!=="undefined"&&typeof require!=="undefined"){if(typeof cptable==="undefined")global.cptable=undefined}var n=[874,932,936,949,950];for(var i=0;i<=8;++i)n.push(1250+i);var s={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(n.indexOf(e)==-1)return;a=s[0]=e};function c(){l(1252)}var f=function(e){t=e;l(e)};function o(){f(1200);c()}function u(e){var r=[];for(var t=0,a=e.length;t<a;++t)r[t]=e.charCodeAt(t);return r}function h(e){var r=[];for(var t=0;t<e.length>>1;++t)r[t]=String.fromCharCode(e.charCodeAt(2*t)+(e.charCodeAt(2*t+1)<<8));return r.join("")}function d(e){var r=[];for(var t=0;t<e.length>>1;++t)r[t]=String.fromCharCode(e.charCodeAt(2*t+1)+(e.charCodeAt(2*t)<<8));return r.join("")}var v=function(e){var r=e.charCodeAt(0),t=e.charCodeAt(1);if(r==255&&t==254)return h(e.slice(2));if(r==254&&t==255)return d(e.slice(2));if(r==65279)return e.slice(1);return e};var p=function Zp(e){return String.fromCharCode(e)};if(typeof cptable!=="undefined"){f=function(e){t=e};v=function(e){if(e.charCodeAt(0)===255&&e.charCodeAt(1)===254){return cptable.utils.decode(1200,u(e.slice(2)))}return e};p=function qp(e){if(t===1200)return String.fromCharCode(e);return cptable.utils.decode(t,[e&255,e>>8])[0]}}var b=null;var m=true;var g=function eb(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return{encode:function(r){var t="";var a=0,n=0,i=0,s=0,l=0,c=0,f=0;for(var o=0;o<r.length;){a=r.charCodeAt(o++);n=r.charCodeAt(o++);i=r.charCodeAt(o++);s=a>>2;l=(a&3)<<4|n>>4;c=(n&15)<<2|i>>6;f=i&63;if(isNaN(n)){c=f=64}else if(isNaN(i)){f=64}t+=e.charAt(s)+e.charAt(l)+e.charAt(c)+e.charAt(f)}return t},decode:function r(t){var a="";var n=0,i=0,s=0;var l=0,c=0,f=0,o=0;t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"");for(var u=0;u<t.length;){l=e.indexOf(t.charAt(u++));c=e.indexOf(t.charAt(u++));f=e.indexOf(t.charAt(u++));o=e.indexOf(t.charAt(u++));n=l<<2|c>>4;i=(c&15)<<4|f>>2;s=(f&3)<<6|o;a+=String.fromCharCode(n);if(f!==64){a+=String.fromCharCode(i)}if(o!==64){a+=String.fromCharCode(s)}}return a}}}();var E=typeof Buffer!=="undefined"&&typeof process!=="undefined"&&typeof process.versions!=="undefined"&&process.versions.node;function S(e){return new(E?Buffer:Array)(e)}function k(e){if(E)return new Buffer(e,"binary");return e.split("").map(function(e){return e.charCodeAt(0)&255})}function w(e){if(typeof ArrayBuffer==="undefined")return k(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 B(e){if(Array.isArray(e))return e.map(Qd).join("");var r=[];for(var t=0;t<e.length;++t)r[t]=Qd(e[t]);return r.join("")}function C(e){if(typeof Uint8Array==="undefined")throw new Error("Unsupported");return new Uint8Array(e)}function T(e){if(typeof ArrayBuffer=="undefined")throw new Error("Unsupported");if(e instanceof ArrayBuffer)return T(new Uint8Array(e));var r=new Array(e.length);for(var t=0;t<e.length;++t)r[t]=e[t];return r}var I=function(e){return[].concat.apply([],e)};var x=/\u0000/g,A=/[\u0001-\u0006]/g;var R={};var F=function rb(e){e.version="0.10.0";function r(e){var r="",t=e.length-1;while(t>=0)r+=e.charAt(t--);return r}function t(e,r){var t="";while(t.length<r)t+=e;return t}function a(e,r){var a=""+e;return a.length>=r?a:t("0",r-a.length)+a}function n(e,r){var a=""+e;return a.length>=r?a:t(" ",r-a.length)+a}function i(e,r){var a=""+e;return a.length>=r?a:a+t(" ",r-a.length)}function s(e,r){var a=""+Math.round(e);return a.length>=r?a:t("0",r-a.length)+a}function l(e,r){var a=""+e;return a.length>=r?a:t("0",r-a.length)+a}var c=Math.pow(2,32);function f(e,r){if(e>c||e<-c)return s(e,r);var t=Math.round(e);return l(t,r)}function o(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 u=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]];var h=[["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 d(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 v={};d(v);function p(e,r,t){var a=e<0?-1:1;var n=e*a;var i=0,s=1,l=0;var c=1,f=0,o=0;var u=Math.floor(n);while(f<r){u=Math.floor(n);l=u*s+i;o=u*f+c;if(n-u<5e-8)break;n=1/(n-u);i=s;s=l;c=f;f=o}if(o>r){if(f>r){o=c;l=i}else{o=f;l=s}}if(!t)return[0,a*l,o];var h=Math.floor(a*l/o);return[h,a*l-h*o,o]}function b(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 l={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(l.u)<1e-6)l.u=0;if(r&&r.date1904)a+=1462;if(l.u>.9999){l.u=0;if(++n==86400){l.T=n=0;++a;++l.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 c=new Date(1900,0,1);c.setDate(c.getDate()+a-1);s=[c.getFullYear(),c.getMonth()+1,c.getDate()];i=c.getDay();if(a<60)i=(i+6)%7;if(t)i=C(c,s)}l.y=s[0];l.m=s[1];l.d=s[2];l.S=n%60;n=Math.floor(n/60);l.M=n%60;n=Math.floor(n/60);l.H=n;l.q=i;return l}e.parse_date_code=b;var m=new Date(1899,11,31,0,0,0);var g=m.getTime();var E=new Date(1900,2,1,0,0,0);function S(e,r){var t=e.getTime();if(r)t-=1461*24*60*60*1e3;else if(e>=E)t+=24*60*60*1e3;return(t-(g+(e.getTimezoneOffset()-m.getTimezoneOffset())*6e4))/(24*60*60*1e3)}function k(e){return e.toString(10)}e._general_int=k;var w=function M(){var e=/\.(\d*[1-9])0+$/,r=/\.0*$/,t=/\.(\d*[1-9])0+/,a=/\.0*[Ee]/,n=/(E[+-])(\d)$/;function i(e){var r=e<0?12:11;var t=c(e.toFixed(12));if(t.length<=r)return t;t=e.toPrecision(10);if(t.length<=r)return t;return e.toExponential(5)}function s(r){var t=r.toFixed(11).replace(e,".$1");if(t.length>(r<0?12:11))t=r.toPrecision(6);return t}function l(e){for(var r=0;r!=e.length;++r)if((e.charCodeAt(r)|32)===101)return e.replace(t,".$1").replace(a,"E").replace("e","E").replace(n,"$10$2");return e}function c(t){return t.indexOf(".")>-1?t.replace(r,"").replace(e,".$1"):t}return function f(e){var r=Math.floor(Math.log(Math.abs(e))*Math.LOG10E),t;if(r>=-4&&r<=-1)t=e.toPrecision(10+r);else if(Math.abs(r)<=9)t=i(e);else if(r===10)t=e.toFixed(10).substr(0,12);else t=s(e);return c(l(t))}}();e._general_num=w;function B(e,r){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(e|0)===e?k(e):w(e);case"undefined":return"";case"object":if(e==null)return"";if(e instanceof Date)return N(14,S(e,r&&r.date1904),r);}throw new Error("unsupported value in General format: "+e)}e._general=B;function C(){return 0}function T(e,r,t,n){var i="",s=0,l=0,c=t.y,f,o=0;switch(e){case 98:c=t.y+543;case 121:switch(r.length){case 1:;case 2:f=c%100;o=2;break;default:f=c%1e4;o=4;break;}break;case 109:switch(r.length){case 1:;case 2:f=t.m;o=r.length;break;case 3:return h[t.m-1][1];case 5:return h[t.m-1][0];default:return h[t.m-1][2];}break;case 100:switch(r.length){case 1:;case 2:f=t.d;o=r.length;break;case 3:return u[t.q][0];default:return u[t.q][1];}break;case 104:switch(r.length){case 1:;case 2:f=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:f=t.H;o=r.length;break;default:throw"bad hour format: "+r;}break;case 77:switch(r.length){case 1:;case 2:f=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 a(t.S,r.length);if(n>=2)l=n===3?1e3:100;else l=n===1?10:1;s=Math.round(l*(t.S+t.u));if(s>=60*l)s=0;if(r==="s")return s===0?"0":""+s/l;i=a(s,2+n);if(r==="ss")return i.substr(0,2);return"."+i.substr(2,r.length-1);case 90:switch(r){case"[h]":;case"[hh]":f=t.D*24+t.H;break;case"[m]":;case"[mm]":f=(t.D*24+t.H)*60+t.M;break;case"[s]":;case"[ss]":f=((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:f=c;o=1;}if(o>0)return a(f,o);else return""}function I(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 x=function U(){var e=/%/g;function s(r,a,n){var i=a.replace(e,""),s=a.length-i.length;return x(r,i,n*Math.pow(10,2*s))+t("%",s)}function l(e,r,t){var a=r.length-1;while(r.charCodeAt(a-1)===44)--a;return x(e,r.substr(0,a),t/Math.pow(10,3*(r.length-a)))}function c(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"-"+c(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 o=/# (\?+)( ?)\/( ?)(\d+)/;function u(e,r,i){var s=parseInt(e[4],10),l=Math.round(r*s),c=Math.floor(l/s);var f=l-c*s,o=s;return i+(c===0?"":""+c)+" "+(f===0?t(" ",e[1].length+1+e[4].length):n(f,e[1].length)+e[2]+"/"+e[3]+a(o,e[4].length))}function h(e,r,a){return a+(r===0?"":""+r)+t(" ",e[1].length+2+e[4].length)}var d=/^#*0*\.([0#]+)/;var v=/\).*[0#]/;var b=/\(###\) ###\\?-####/;function m(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 g(e,r){var t=Math.pow(10,r);return""+Math.round(e*t)/t}function E(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 S(e,r){if(r<(""+Math.round((e-Math.floor(e))*Math.pow(10,r))).length){return 1}return 0}function k(e){if(e<2147483647&&e>-2147483648)return""+(e>=0?e|0:e-1|0);return""+Math.floor(e)}function w(e,h,B){if(e.charCodeAt(0)===40&&!h.match(v)){var C=h.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");if(B>=0)return w("n",C,B);return"("+w("n",C,-B)+")"}if(h.charCodeAt(h.length-1)===44)return l(e,h,B);if(h.indexOf("%")!==-1)return s(e,h,B);if(h.indexOf("E")!==-1)return c(h,B);if(h.charCodeAt(0)===36)return"$"+w(e,h.substr(h.charAt(1)==" "?2:1),B);var T;var A,R,F,D=Math.abs(B),_=B<0?"-":"";if(h.match(/^00+$/))return _+f(D,h.length);if(h.match(/^[#?]+$/)){T=f(B,0);if(T==="0")T="";return T.length>h.length?T:m(h.substr(0,h.length-T.length))+T}if(A=h.match(o))return u(A,D,_);if(h.match(/^#+0+$/))return _+f(D,h.length-h.indexOf("0"));if(A=h.match(d)){T=g(B,A[1].length).replace(/^([^\.]+)$/,"$1."+m(A[1])).replace(/\.$/,"."+m(A[1])).replace(/\.(\d*)$/,function(e,r){return"."+r+t("0",m(A[1]).length-r.length)});return h.indexOf("0.")!==-1?T:T.replace(/^0\./,".")}h=h.replace(/^#+([0.])/,"$1");if(A=h.match(/^(0*)\.(#*)$/)){return _+g(D,A[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,A[1].length?"0.":".")}if(A=h.match(/^#{1,3},##0(\.?)$/))return _+I(f(D,0));if(A=h.match(/^#,##0\.([#0]*0)$/)){return B<0?"-"+w(e,h,-B):I(""+(Math.floor(B)+S(B,A[1].length)))+"."+a(E(B,A[1].length),A[1].length)}if(A=h.match(/^#,#*,#0/))return w(e,h.replace(/^#,#*,/,""),B);if(A=h.match(/^([0#]+)(\\?-([0#]+))+$/)){T=r(w(e,h.replace(/[\\-]/g,""),B));R=0;return r(r(h.replace(/\\/g,"")).replace(/[0#]/g,function(e){return R<T.length?T.charAt(R++):e==="0"?"0":""}))}if(h.match(b)){T=w(e,"##########",B);return"("+T.substr(0,3)+") "+T.substr(3,3)+"-"+T.substr(6)}var O="";if(A=h.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/)){R=Math.min(A[4].length,7);F=p(D,Math.pow(10,R)-1,false);T=""+_;O=x("n",A[1],F[1]);if(O.charAt(O.length-1)==" ")O=O.substr(0,O.length-1)+"0";T+=O+A[2]+"/"+A[3];O=i(F[2],R);if(O.length<A[4].length)O=m(A[4].substr(A[4].length-O.length))+O;T+=O;return T}if(A=h.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/)){R=Math.min(Math.max(A[1].length,A[4].length),7);F=p(D,Math.pow(10,R)-1,true);return _+(F[0]||(F[1]?"":"0"))+" "+(F[1]?n(F[1],R)+A[2]+"/"+A[3]+i(F[2],R):t(" ",2*R+1+A[2].length+A[3].length))}if(A=h.match(/^[#0?]+$/)){T=f(B,0);if(h.length<=T.length)return T;return m(h.substr(0,h.length-T.length))+T}if(A=h.match(/^([#0?]+)\.([#0]+)$/)){T=""+B.toFixed(Math.min(A[2].length,10)).replace(/([^0])0+$/,"$1");R=T.indexOf(".");var y=h.indexOf(".")-R,P=h.length-T.length-y;return m(h.substr(0,y)+T+h.substr(h.length-P))}if(A=h.match(/^00,000\.([#0]*0)$/)){R=E(B,A[1].length);return B<0?"-"+w(e,h,-B):I(k(B)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(e){return"00,"+(e.length<3?a(0,3-e.length):"")+e})+"."+a(R,A[1].length)}switch(h){case"###,##0.00":return w(e,"#,##0.00",B);case"###,###":;case"##,###":;case"#,###":var N=I(f(D,0));return N!=="0"?_+N:"";case"###,###.00":return w(e,"###,##0.00",B).replace(/^0\./,".");case"#,###.00":return w(e,"#,##0.00",B).replace(/^0\./,".");default:;}throw new Error("unsupported format |"+h+"|")}function B(e,r,t){var a=r.length-1;while(r.charCodeAt(a-1)===44)--a;return x(e,r.substr(0,a),t/Math.pow(10,3*(r.length-a)))}function C(r,a,n){var i=a.replace(e,""),s=a.length-i.length;return x(r,i,n*Math.pow(10,2*s))+t("%",s)}function T(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"-"+T(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.match(/[Ee]/)){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);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")}function A(e,s,l){if(e.charCodeAt(0)===40&&!s.match(v)){var c=s.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");if(l>=0)return A("n",c,l);return"("+A("n",c,-l)+")"}if(s.charCodeAt(s.length-1)===44)return B(e,s,l);if(s.indexOf("%")!==-1)return C(e,s,l);if(s.indexOf("E")!==-1)return T(s,l);if(s.charCodeAt(0)===36)return"$"+A(e,s.substr(s.charAt(1)==" "?2:1),l);var f;var u,g,E,S=Math.abs(l),k=l<0?"-":"";if(s.match(/^00+$/))return k+a(S,s.length);if(s.match(/^[#?]+$/)){f=""+l;if(l===0)f="";return f.length>s.length?f:m(s.substr(0,s.length-f.length))+f}if(u=s.match(o))return h(u,S,k);if(s.match(/^#+0+$/))return k+a(S,s.length-s.indexOf("0"));if(u=s.match(d)){f=(""+l).replace(/^([^\.]+)$/,"$1."+m(u[1])).replace(/\.$/,"."+m(u[1]));f=f.replace(/\.(\d*)$/,function(e,r){return"."+r+t("0",m(u[1]).length-r.length)});return s.indexOf("0.")!==-1?f:f.replace(/^0\./,".")}s=s.replace(/^#+([0.])/,"$1");if(u=s.match(/^(0*)\.(#*)$/)){return k+(""+S).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,u[1].length?"0.":".")}if(u=s.match(/^#{1,3},##0(\.?)$/))return k+I(""+S);if(u=s.match(/^#,##0\.([#0]*0)$/)){return l<0?"-"+A(e,s,-l):I(""+l)+"."+t("0",u[1].length)}if(u=s.match(/^#,#*,#0/))return A(e,s.replace(/^#,#*,/,""),l);if(u=s.match(/^([0#]+)(\\?-([0#]+))+$/)){f=r(A(e,s.replace(/[\\-]/g,""),l));g=0;return r(r(s.replace(/\\/g,"")).replace(/[0#]/g,function(e){return g<f.length?f.charAt(g++):e==="0"?"0":""}))}if(s.match(b)){f=A(e,"##########",l);return"("+f.substr(0,3)+") "+f.substr(3,3)+"-"+f.substr(6)}var w="";if(u=s.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/)){g=Math.min(u[4].length,7);E=p(S,Math.pow(10,g)-1,false);f=""+k;w=x("n",u[1],E[1]);if(w.charAt(w.length-1)==" ")w=w.substr(0,w.length-1)+"0";f+=w+u[2]+"/"+u[3];w=i(E[2],g);if(w.length<u[4].length)w=m(u[4].substr(u[4].length-w.length))+w;f+=w;return f}if(u=s.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/)){g=Math.min(Math.max(u[1].length,u[4].length),7);E=p(S,Math.pow(10,g)-1,true);return k+(E[0]||(E[1]?"":"0"))+" "+(E[1]?n(E[1],g)+u[2]+"/"+u[3]+i(E[2],g):t(" ",2*g+1+u[2].length+u[3].length))}if(u=s.match(/^[#0?]+$/)){f=""+l;if(s.length<=f.length)return f;return m(s.substr(0,s.length-f.length))+f}if(u=s.match(/^([#0]+)\.([#0]+)$/)){f=""+l.toFixed(Math.min(u[2].length,10)).replace(/([^0])0+$/,"$1");g=f.indexOf(".");var R=s.indexOf(".")-g,F=s.length-f.length-R;return m(s.substr(0,R)+f+s.substr(s.length-F))}if(u=s.match(/^00,000\.([#0]*0)$/)){return l<0?"-"+A(e,s,-l):I(""+l).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(e){return"00,"+(e.length<3?a(0,3-e.length):"")+e})+"."+a(0,u[1].length)}switch(s){case"###,###":;case"##,###":;case"#,###":var D=I(""+S);return D!=="0"?k+D:"";default:if(s.match(/\.[0#?]*$/))return A(e,s.slice(0,s.lastIndexOf(".")),l)+m(s.slice(s.lastIndexOf(".")));}throw new Error("unsupported format |"+s+"|")}return function R(e,r,t){return(t|0)===t?A(e,r,t):w(e,r,t)}}();function A(e){var r=[];var t=false;for(var a=0,n=0;a<e.length;++a)switch(e.charCodeAt(a)){case 34:t=!t;break;case 95:;case 42:;case 92:++a;break;case 59:r[r.length]=e.substr(n,a-n);n=a+1;}r[r.length]=e.substr(n);if(t===true)throw new Error("Format |"+e+"| unterminated string ");return r}e._split=A;var R=/\[[HhMmSs]*\]/;function F(e){var r=0,t="",a="";while(r<e.length){switch(t=e.charAt(r)){case"G":if(o(e,r))r+=6;r++;break;case'"':for(;e.charCodeAt(++r)!==34&&r<e.length;)++r;++r;break;case"\\":r+=2;break;case"_":r+=2;break;case"@":++r;break;case"B":;case"b":if(e.charAt(r+1)==="1"||e.charAt(r+1)==="2")return true;case"M":;case"D":;case"Y":;case"H":;case"S":;case"E":;case"m":;case"d":;case"y":;case"h":;case"s":;case"e":;case"g":return true;case"A":;case"a":if(e.substr(r,3).toUpperCase()==="A/P")return true;if(e.substr(r,5).toUpperCase()==="AM/PM")return true;++r;break;case"[":a=t;while(e.charAt(r++)!=="]"&&r<e.length)a+=e.charAt(r);if(a.match(R))return true;break;case".":;case"0":;case"#":while(r<e.length&&("0#?.,E+-%".indexOf(t=e.charAt(++r))>-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<e.length&&"0123456789".indexOf(e.charAt(++r))>-1){}break;case" ":++r;break;default:++r;break;}}return false}e.is_date=F;function D(e,r,t,a){var n=[],i="",s=0,l="",c="t",f,u,h;var d="H";while(s<e.length){switch(l=e.charAt(s)){case"G":if(!o(e,s))throw new Error("unrecognized character "+l+" in "+e);n[n.length]={t:"G",v:"General"};s+=7;break;case'"':for(i="";(h=e.charCodeAt(++s))!==34&&s<e.length;)i+=String.fromCharCode(h);n[n.length]={t:"t",v:i};++s;break;case"\\":var v=e.charAt(++s),p=v==="("||v===")"?v:"t";n[n.length]={t:p,v:v};++s;break;case"_":n[n.length]={t:"t",v:" "};s+=2;break;case"@":n[n.length]={t:"T",v:r};++s;break;case"B":;case"b":if(e.charAt(s+1)==="1"||e.charAt(s+1)==="2"){if(f==null){f=b(r,t,e.charAt(s+1)==="2");if(f==null)return""}n[n.length]={t:"X",v:e.substr(s,2)};c=l;s+=2;break};case"M":;case"D":;case"Y":;case"H":;case"S":;case"E":l=l.toLowerCase();case"m":;case"d":;case"y":;case"h":;case"s":;case"e":;case"g":if(r<0)return"";if(f==null){f=b(r,t);if(f==null)return""}i=l;while(++s<e.length&&e.charAt(s).toLowerCase()===l)i+=l;if(l==="m"&&c.toLowerCase()==="h")l="M";if(l==="h")l=d;n[n.length]={t:l,v:i};c=l;break;case"A":;case"a":var m={t:l,v:l};if(f==null)f=b(r,t);if(e.substr(s,3).toUpperCase()==="A/P"){if(f!=null)m.v=f.H>=12?"P":"A";m.t="T";d="h";s+=3}else if(e.substr(s,5).toUpperCase()==="AM/PM"){if(f!=null)m.v=f.H>=12?"PM":"AM";m.t="T";s+=5;d="h"}else{m.t="t";++s}if(f==null&&m.t==="T")return"";n[n.length]=m;c=l;break;case"[":i=l;while(e.charAt(s++)!=="]"&&s<e.length)i+=e.charAt(s);if(i.slice(-1)!=="]")throw'unterminated "[" block: |'+i+"|";if(i.match(R)){if(f==null){f=b(r,t);if(f==null)return""}n[n.length]={t:"Z",v:i.toLowerCase()};c=i.charAt(1)}else if(i.indexOf("$")>-1){i=(i.match(/\$([^-\[\]]*)/)||[])[1]||"$";if(!F(e))n[n.length]={t:"t",v:i}}break;case".":if(f!=null){i=l;while(++s<e.length&&(l=e.charAt(s))==="0")i+=l;n[n.length]={t:"s",v:i};break};case"0":;case"#":i=l;while(++s<e.length&&"0#?.,E+-%".indexOf(l=e.charAt(s))>-1||l=="\\"&&e.charAt(s+1)=="-"&&s<e.length-2&&"0#".indexOf(e.charAt(s+2))>-1)i+=l;n[n.length]={t:"n",v:i};break;case"?":i=l;while(e.charAt(++s)===l)i+=l;n[n.length]={t:l,v:i};c=l;break;case"*":++s;if(e.charAt(s)==" "||e.charAt(s)=="*")++s;break;case"(":;case")":n[n.length]={t:a===1?"t":l,v:l};++s;break;case"1":;case"2":;case"3":;case"4":;case"5":;case"6":;case"7":;case"8":;case"9":i=l;while(s<e.length&&"0123456789".indexOf(e.charAt(++s))>-1)i+=e.charAt(s);n[n.length]={t:"D",v:i};break;case" ":n[n.length]={t:l,v:l};++s;break;default:if(",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP".indexOf(l)===-1)throw new Error("unrecognized character "+l+" in "+e);n[n.length]={t:"t",v:l};++s;break;}}var g=0,E=0,S;for(s=n.length-1,c="t";s>=0;--s){switch(n[s].t){case"h":;case"H":n[s].t=d;c="h";if(g<1)g=1;break;case"s":if(S=n[s].v.match(/\.0+$/))E=Math.max(E,S[0].length-1);if(g<3)g=3;case"d":;case"y":;case"M":;case"e":c=n[s].t;break;case"m":if(c==="s"){n[s].t="M";if(g<2)g=2}break;case"X":break;case"Z":if(g<1&&n[s].v.match(/[Hh]/))g=1;if(g<2&&n[s].v.match(/[Mm]/))g=2;if(g<3&&n[s].v.match(/[Ss]/))g=3;}}switch(g){case 0:break;case 1:if(f.u>=.5){f.u=0;++f.S}if(f.S>=60){f.S=0;++f.M}if(f.M>=60){f.M=0;++f.H}break;case 2:if(f.u>=.5){f.u=0;++f.S}if(f.S>=60){f.S=0;++f.M}break;}var k="",w;for(s=0;s<n.length;++s){switch(n[s].t){case"t":;case"T":;case" ":;case"D":break;case"X":n[s].v="";n[s].t=";";break;case"d":;case"m":;case"y":;case"h":;case"H":;case"M":;case"s":;case"e":;case"b":;case"Z":n[s].v=T(n[s].t.charCodeAt(0),n[s].v,f,E);n[s].t="t";break;case"n":;case"(":;case"?":w=s+1;while(n[w]!=null&&((l=n[w].t)==="?"||l==="D"||(l===" "||l==="t")&&n[w+1]!=null&&(n[w+1].t==="?"||n[w+1].t==="t"&&n[w+1].v==="/")||n[s].t==="("&&(l===" "||l==="n"||l===")")||l==="t"&&(n[w].v==="/"||n[w].v===" "&&n[w+1]!=null&&n[w+1].t=="?"))){n[s].v+=n[w].v;n[w]={v:"",t:";"};++w}k+=n[s].v;s=w-1;break;case"G":n[s].t="t";n[s].v=B(r,t);break;}}var C="",I,A;if(k.length>0){if(k.charCodeAt(0)==40){I=r<0&&k.charCodeAt(0)===45?-r:r;A=x("(",k,I)}else{I=r<0&&a>1?-r:r;A=x("n",k,I);if(I<0&&n[0]&&n[0].t=="t"){A=A.substr(1);n[0].v="-"+n[0].v}}w=A.length-1;var D=n.length;for(s=0;s<n.length;++s)if(n[s]!=null&&n[s].t!="t"&&n[s].v.indexOf(".")>-1){D=s;break}var _=n.length;if(D===n.length&&A.indexOf("E")===-1){for(s=n.length-1;s>=0;--s){if(n[s]==null||"n?(".indexOf(n[s].t)===-1)continue;if(w>=n[s].v.length-1){w-=n[s].v.length;n[s].v=A.substr(w+1,n[s].v.length)}else if(w<0)n[s].v="";else{n[s].v=A.substr(0,w+1);w=-1}n[s].t="t";_=s}if(w>=0&&_<n.length)n[_].v=A.substr(0,w+1)+n[_].v}else if(D!==n.length&&A.indexOf("E")===-1){w=A.indexOf(".")-1;for(s=D;s>=0;--s){if(n[s]==null||"n?(".indexOf(n[s].t)===-1)continue;u=n[s].v.indexOf(".")>-1&&s===D?n[s].v.indexOf(".")-1:n[s].v.length-1;C=n[s].v.substr(u+1);for(;u>=0;--u){if(w>=0&&(n[s].v.charAt(u)==="0"||n[s].v.charAt(u)==="#"))C=A.charAt(w--)+C}n[s].v=C;n[s].t="t";_=s}if(w>=0&&_<n.length)n[_].v=A.substr(0,w+1)+n[_].v;w=A.indexOf(".")+1;for(s=D;s<n.length;++s){if(n[s]==null||"n?(".indexOf(n[s].t)===-1&&s!==D)continue;u=n[s].v.indexOf(".")>-1&&s===D?n[s].v.indexOf(".")+1:0;C=n[s].v.substr(0,u);for(;u<n[s].v.length;++u){if(w<A.length)C+=A.charAt(w++)}n[s].v=C;n[s].t="t";_=s}}}for(s=0;s<n.length;++s)if(n[s]!=null&&"n(?".indexOf(n[s].t)>-1){I=a>1&&r<0&&s>0&&n[s-1].v==="-"?-r:r;n[s].v=x(n[s].t,n[s].v,I);n[s].t="t"}var O="";for(s=0;s!==n.length;++s)if(n[s]!=null)O+=n[s].v;return O}e._eval=D;var _=/\[[=<>]/;var O=/\[([=<>]*)(-?\d+\.?\d*)\]/;function y(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<t)return true;break;case"<>":if(e!=t)return true;break;case">=":if(e>=t)return true;break;case"<=":if(e<=t)return true;break;}return false}function P(e,r){var t=A(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(_)!=null||t[1].match(_)!=null){var s=t[0].match(O);var l=t[1].match(O);return y(r,s)?[a,t[0]]:y(r,l)?[a,t[1]]:[a,t[s!=null&&l!=null?2:1]]}return[a,i]}function N(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:v)[e];break;}if(o(a,0))return B(r,t);if(r instanceof Date)r=S(r,t.date1904);var n=P(a,r);if(o(n[1]))return B(r,t);if(r===true)r="TRUE";else if(r===false)r="FALSE";else if(r===""||r==null)return"";return D(n[1],r,t,n[0])}function L(e,r){if(typeof r!="number"){r=+r||-1;for(var t=0;t<392;++t){if(v[t]==undefined){if(r<0)r=t;continue}if(v[t]==e){r=t;break}}if(r<0)r=391}v[r]=e;return r}e.load=L;e._table=v;e.get_table=function W(){return v};e.load_table=function V(e){for(var r=0;r!=392;++r)if(e[r]!==undefined)L(e[r],r)};e.init_table=d;e.format=N};F(R);var D={"General Number":"General","General Date":R._table[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":R._table[15],"Short Date":R._table[14],"Long Time":R._table[19],"Medium Time":R._table[18],"Short Time":R._table[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:R._table[2],Standard:R._table[4],Percent:R._table[10],Scientific:R._table[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'};var _=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;function O(e){var r=typeof e=="number"?R._table[e]:e;r=r.replace(_,"(\\d+)");return new RegExp("^"+r+"$")}function y(e,r,t){var a=-1,n=-1,i=-1,s=-1,l=-1,c=-1;(r.match(_)||[]).forEach(function(e,r){var f=parseInt(t[r+1],10);switch(e.toLowerCase().charAt(0)){case"y":a=f;break;case"d":i=f;break;case"h":s=f;break;case"s":c=f;break;case"m":if(s>=0)l=f;else n=f;break;}});if(c>=0&&l==-1&&n>=0){l=n;n=-1}var f=(""+(a>=0?a:(new Date).getFullYear())).slice(-4)+"-"+("00"+(n>=1?n:1)).slice(-2)+"-"+("00"+(i>=1?i:1)).slice(-2);if(f.length==7)f="0"+f;if(f.length==8)f="20"+f;var o=("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(l>=0?l:0)).slice(-2)+":"+("00"+(c>=0?c:0)).slice(-2);if(s==-1&&l==-1&&c==-1)return f;if(a==-1&&n==-1&&i==-1)return o;return f+"T"+o}var P=true;var N=function tb(){var e={};e.version="1.0.2";function r(e,r){var t=e.split("/"),a=r.split("/");for(var n=0,i=0,s=Math.min(t.length,a.length);n<s;++n){if(i=t[n].length-a[n].length)return i;if(t[n]!=a[n])return t[n]<a[n]?-1:1}return t.length-a.length}function t(e){if(e.charAt(e.length-1)=="/")return e.slice(0,-1).indexOf("/")===-1?e:t(e.slice(0,-1));var r=e.lastIndexOf("/");return r===-1?e:e.slice(0,r+1)}function a(e){if(e.charAt(e.length-1)=="/")return a(e.slice(0,-1));var r=e.lastIndexOf("/");return r===-1?e:e.slice(r+1)}var n;function i(){return n||(n=require("fs"))}function s(e,r){var t=3;var a=512;var n=0;var i=0;var s=0;var u=0;var d=0;var b=[];var m=e.slice(0,512);Pr(m,0);var g=l(m);t=g[0];switch(t){case 3:a=512;break;case 4:a=4096;break;default:throw new Error("Major Version: Expected 3 or 4 saw "+t);}if(a!==512){m=e.slice(0,a);Pr(m,28)}var E=e.slice(0,a);c(m,t);var S=m._R(4,"i");if(t===3&&S!==0)throw new Error("# Directory Sectors: Expected 0 saw "+S);m.l+=4;s=m._R(4,"i");m.l+=4;m.chk("00100000","Mini Stream Cutoff Size: ");u=m._R(4,"i");n=m._R(4,"i");d=m._R(4,"i");i=m._R(4,"i");for(var k=-1,w=0;w<109;++w){k=m._R(4,"i");if(k<0)break;b[w]=k}var B=f(e,a);h(d,i,B,a,b);var C=v(B,s,b,a);C[s].name="!Directory";if(n>0&&u!==F)C[u].name="!MiniFAT";C[b[0]].name="!FAT";C.fat_addrs=b;C.ssz=a;var T={},I=[],x=[],A=[];p(s,C,B,I,n,T,x,u);o(x,A,I);I.shift();var R={FileIndex:x,FullPaths:A};if(r&&r.raw)R.raw={header:E,sectors:B};return R}function l(e){e.chk(D,"Header Signature: ");e.chk(O,"CLSID: ");var r=e._R(2,"u");return[e._R(2,"u"),r]}function c(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 f(e,r){var t=Math.ceil(e.length/r)-1;var a=[];for(var n=1;n<t;++n)a[n-1]=e.slice(n*r,(n+1)*r);a[t-1]=e.slice(t*r);return a}function o(e,r,t){var a=0,n=0,i=0,s=0,l=0,c=t.length;var f=[],o=[];for(;a<c;++a){f[a]=o[a]=a;r[a]=t[a]}for(;l<o.length;++l){a=o[l];n=e[a].L;i=e[a].R;s=e[a].C;if(f[a]===a){if(n!==-1&&f[n]!==n)f[a]=f[n];if(i!==-1&&f[i]!==i)f[a]=f[i]}if(s!==-1)f[s]=a;if(n!==-1){f[n]=f[a];o.push(n)}if(i!==-1){f[i]=f[a];o.push(i)}}for(a=1;a!==c;++a)if(f[a]===a){if(i!==-1&&f[i]!==i)f[a]=f[i];else if(n!==-1&&f[n]!==n)f[a]=f[n]}for(a=1;a<c;++a){if(e[a].type===0)continue;l=f[a];if(l===0)r[a]=r[0]+"/"+r[a];else while(l!==0&&l!==f[l]){r[a]=r[l]+"/"+r[a];l=f[l]}f[a]=0}r[0]+="/";for(a=1;a<c;++a){if(e[a].type!==2)r[a]+="/"}}function u(e,r,t){var a=e.start,n=e.size;var i=[];var s=a;while(t&&n>0&&s>=0){i.push(r.slice(s*R,s*R+R));n-=R;s=xr(t,s*4)}if(i.length===0)return Lr(0);return I(i).slice(0,e.size)}function h(e,r,t,a,n){var i=F;if(e===F){if(r!==0)throw new Error("DIFAT chain shorter than expected")}else if(e!==-1){var s=t[e],l=(a>>>2)-1;if(!s)return;for(var c=0;c<l;++c){if((i=xr(s,c*4))===F)break;n.push(i)}h(xr(s,a-4),r-1,t,a,n)}}function d(e,r,t,a,n){var i=[],s=[];if(!n)n=[];var l=a-1,c=0,f=0;for(c=r;c>=0;){n[c]=true;i[i.length]=c;s.push(e[c]);var o=t[Math.floor(c*4/a)];f=c*4&l;if(a<4+f)throw new Error("FAT boundary crossed: "+c+" 4 "+a);if(!e[o])break;c=xr(e[o],f)}return{nodes:i,data:ar([s])}}function v(e,r,t,a){var n=e.length,i=[];var s=[],l=[],c=[];var f=a-1,o=0,u=0,h=0,d=0;for(o=0;o<n;++o){l=[];h=o+r;if(h>=n)h-=n;if(s[h])continue;c=[];for(u=h;u>=0;){s[u]=true;l[l.length]=u;c.push(e[u]);var v=t[Math.floor(u*4/a)];d=u*4&f;if(a<4+d)throw new Error("FAT boundary crossed: "+u+" 4 "+a);if(!e[v])break;u=xr(e[v],d)}i[h]={nodes:l,data:ar([c])}}return i}function p(e,r,t,a,n,i,s,l){var c=0,f=a.length?2:0;var o=r[e].data;var h=0,v=0,p;for(;h<o.length;h+=128){var m=o.slice(h,h+128);Pr(m,64);v=m._R(2);p=ir(m,0,v-f);a.push(p);var g={name:p,type:m._R(1),color:m._R(1),L:m._R(4,"i"),R:m._R(4,"i"),C:m._R(4,"i"),clsid:m._R(16),state:m._R(4,"i"),start:0,size:0};var E=m._R(2)+m._R(2)+m._R(2)+m._R(2);
|
||
if(E!==0)g.ct=b(m,m.l-8);var S=m._R(2)+m._R(2)+m._R(2)+m._R(2);if(S!==0)g.mt=b(m,m.l-8);g.start=m._R(4,"i");g.size=m._R(4,"i");if(g.size<0&&g.start<0){g.size=g.type=0;g.start=F;g.name=""}if(g.type===5){c=g.start;if(n>0&&c!==F)r[c].name="!StreamData"}else if(g.size>=4096){g.storage="fat";if(r[g.start]===undefined)r[g.start]=d(t,g.start,r.fat_addrs,r.ssz);r[g.start].name=g.name;g.content=r[g.start].data.slice(0,g.size);Pr(g.content,0)}else{g.storage="minifat";if(c!==F&&g.start!==F&&r[c]){g.content=u(g,r[c].data,(r[l]||{}).data);Pr(g.content,0)}}i[p]=g;s.push(g)}}function b(e,r){return new Date((Ir(e,r+4)/1e7*Math.pow(2,32)+Ir(e,r)/1e7-11644473600)*1e3)}function m(e,r){i();return s(n.readFileSync(e),r)}function E(e,r){switch(r&&r.type||"base64"){case"file":return m(e,r);case"base64":return s(k(g.decode(e)),r);case"binary":return s(k(e),r);}return s(e,r)}function S(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;w(e)}function w(e){var r="Sh33tJ5";if(N.find(e,"/"+r))return;var t=Lr(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);B(e)}function B(e,n){S(e);var i=false,s=false;for(var l=e.FullPaths.length-1;l>=0;--l){var c=e.FileIndex[l];switch(c.type){case 0:if(s)i=true;else{e.FileIndex.pop();e.FullPaths.pop()}break;case 1:;case 2:;case 5:s=true;if(isNaN(c.R*c.L*c.C))i=true;if(c.R>-1&&c.L>-1&&c.R==c.L)i=true;break;default:i=true;break;}}if(!i&&!n)return;var f=new Date(1987,1,19),o=0;var u=[];for(l=0;l<e.FullPaths.length;++l){if(e.FileIndex[l].type===0)continue;u.push([e.FullPaths[l],e.FileIndex[l]])}for(l=0;l<u.length;++l){var h=t(u[l][0]);s=false;for(o=0;o<u.length;++o)if(u[o][0]===h)s=true;if(!s)u.push([h,{name:a(h).replace("/",""),type:1,clsid:O,ct:f,mt:f,content:null}])}u.sort(function(e,t){return r(e[0],t[0])});e.FullPaths=[];e.FileIndex=[];for(l=0;l<u.length;++l){e.FullPaths[l]=u[l][0];e.FileIndex[l]=u[l][1]}for(l=0;l<u.length;++l){var d=e.FileIndex[l];var v=e.FullPaths[l];d.name=a(v).replace("/","");d.L=d.R=d.C=-(d.color=1);d.size=d.content?d.content.length:0;d.start=0;d.clsid=d.clsid||O;if(l===0){d.C=u.length>1?1:-1;d.size=0;d.type=5}else if(v.slice(-1)=="/"){for(o=l+1;o<u.length;++o)if(t(e.FullPaths[o])==v)break;d.C=o>=u.length?-1:o;for(o=l+1;o<u.length;++o)if(t(e.FullPaths[o])==t(v))break;d.R=o>=u.length?-1:o;d.type=1}else{if(t(e.FullPaths[l+1]||"")==t(v))d.R=l+1;d.type=2}}}function C(e,r){var t=r||{};B(e);var a=function(e){var r=0,t=0;for(var a=0;a<e.FileIndex.length;++a){var n=e.FileIndex[a];if(!n.content)continue;var i=n.content.length;if(i>0){if(i<4096)r+=i+63>>6;else t+=i+511>>9}}var s=e.FullPaths.length+3>>2;var l=r+7>>3;var c=r+127>>7;var f=l+t+s+c;var o=f+127>>7;var u=o<=109?0:Math.ceil((o-109)/127);while(f+o+u+127>>7>o)u=++o<=109?0:Math.ceil((o-109)/127);var h=[1,u,o,c,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=Lr(a[7]<<9);var i=0,s=0;{for(i=0;i<8;++i)n._W(1,_[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:F);n._W(4,a[3]);n._W(-4,a[1]?a[0]-1:F);n._W(4,a[1]);for(i=0;i<109;++i)n._W(-4,i<a[2]?a[1]+i:-1)}if(a[1]){for(s=0;s<a[1];++s){for(;i<236+s*127;++i)n._W(-4,i<a[2]?a[1]+i:-1);n._W(-4,s===a[1]-1?F:s+1)}}var l=function(e){for(s+=e;i<s-1;++i)n._W(-4,i+1);if(e){++i;n._W(-4,F)}};s=i=0;for(s+=a[1];i<s;++i)n._W(-4,y.DIFSECT);for(s+=a[2];i<s;++i)n._W(-4,y.FATSECT);l(a[3]);l(a[4]);var c=0,f=0;var o=e.FileIndex[0];for(;c<e.FileIndex.length;++c){o=e.FileIndex[c];if(!o.content)continue;f=o.content.length;if(f<4096)continue;o.start=s;l(f+511>>9)}l(a[6]+7>>3);while(n.l&511)n._W(-4,y.ENDOFCHAIN);s=i=0;for(c=0;c<e.FileIndex.length;++c){o=e.FileIndex[c];if(!o.content)continue;f=o.content.length;if(!f||f>=4096)continue;o.start=s;l(f+63>>6)}while(n.l&511)n._W(-4,y.ENDOFCHAIN);for(i=0;i<a[4]<<2;++i){var u=e.FullPaths[i];if(!u||u.length===0){for(c=0;c<17;++c)n._W(4,0);for(c=0;c<3;++c)n._W(4,-1);for(c=0;c<12;++c)n._W(4,0);continue}o=e.FileIndex[i];if(i===0)o.start=o.size?o.start-1:F;var h=i===0&&t.root||o.name;f=2*(h.length+1);n._W(64,h,"utf16le");n._W(2,f);n._W(1,o.type);n._W(1,o.color);n._W(-4,o.L);n._W(-4,o.R);n._W(-4,o.C);if(!o.clsid)for(c=0;c<4;++c)n._W(4,0);else n._W(16,o.clsid,"hex");n._W(4,o.state||0);n._W(4,0);n._W(4,0);n._W(4,0);n._W(4,0);n._W(4,o.start);n._W(4,o.size);n._W(4,0)}for(i=1;i<e.FileIndex.length;++i){o=e.FileIndex[i];if(o.size>=4096){n.l=o.start+1<<9;for(c=0;c<o.size;++c)n._W(1,o.content[c]);for(;c&511;++c)n._W(1,0)}}for(i=1;i<e.FileIndex.length;++i){o=e.FileIndex[i];if(o.size>0&&o.size<4096){for(c=0;c<o.size;++c)n._W(1,o.content[c]);for(;c&63;++c)n._W(1,0)}}while(n.l<n.length)n._W(1,0);return n}function T(e,r){var t=e.FullPaths.map(function(e){return e.toUpperCase()});var a=t.map(function(e){var r=e.split("/");return r[r.length-(e.slice(-1)=="/"?2:1)]});var n=false;if(r.charCodeAt(0)===47){n=true;r=t[0].slice(0,-1)+r}else n=r.indexOf("/")!==-1;var i=r.toUpperCase();var s=n===true?t.indexOf(i):a.indexOf(i);if(s!==-1)return e.FileIndex[s];i=i.replace(x,"").replace(A,"!");for(s=0;s<t.length;++s){if(t[s].replace(x,"").replace(A,"!")==i)return e.FileIndex[s];if(a[s].replace(x,"").replace(A,"!")==i)return e.FileIndex[s]}return null}var R=64;var F=-2;var D="d0cf11e0a1b11ae1";var _=[208,207,17,224,161,177,26,225];var O="00000000000000000000000000000000";var y={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:F,FREESECT:-1,HEADER_SIGNATURE:D,HEADER_MINOR_VERSION:"3e00",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:O,EntryTypes:["unknown","storage","stream","lockbytes","property","root"]};function P(e,r,t){i();var a=C(e,t);n.writeFileSync(r,a)}function L(e){var r=new Array(e.length);for(var t=0;t<e.length;++t)r[t]=String.fromCharCode(e[t]);return r.join("")}function M(e,r){var t=C(e,r);switch(r&&r.type){case"file":i();n.writeFileSync(r.filename,t);return t;case"binary":return L(t);case"base64":return g.encode(L(t));}return t}function U(e){var r={};S(r,e);return r}function W(e,r,t,n){S(e);var i=N.find(e,r);if(!i){var s=e.FullPaths[0];if(r.slice(0,s.length)==s)s=r;else{if(s.slice(-1)!="/")s+="/";s=(s+r).replace("//","/")}i={name:a(r),type:2};e.FileIndex.push(i);e.FullPaths.push(s);N.utils.cfb_gc(e)}i.content=t;i.size=t?t.length:0;if(n){if(n.CLSID)i.clsid=n.CLSID}return i}function V(e,r){S(e);var t=N.find(e,r);if(t)for(var a=0;a<e.FileIndex.length;++a)if(e.FileIndex[a]==t){e.FileIndex.splice(a,1);e.FullPaths.splice(a,1);return true}return false}function H(e,r,t){S(e);var n=N.find(e,r);if(n)for(var i=0;i<e.FileIndex.length;++i)if(e.FileIndex[i]==n){e.FileIndex[i].name=a(t);e.FullPaths[i]=t;return true}return false}function X(e){B(e,true)}e.find=T;e.read=E;e.parse=s;e.write=M;e.writeFile=P;e.utils={cfb_new:U,cfb_add:W,cfb_del:V,cfb_mov:H,cfb_gc:X,ReadShift:Rr,CheckField:yr,prep_blob:Pr,bconcat:I,consts:y};return e}();if(typeof require!=="undefined"&&typeof module!=="undefined"&&typeof P==="undefined"){module.exports=N}var L;if(typeof require!=="undefined")try{L=require("fs")}catch(M){}function U(e){if(typeof e==="string")return w(e);if(Array.isArray(e))return C(e);return e}function W(e,r,t){if(typeof L!=="undefined"&&L.writeFileSync)return t?L.writeFileSync(e,r,t):L.writeFileSync(e,r);var a=t=="utf8"?Le(r):r;if(typeof IE_SaveFile!=="undefined")return IE_SaveFile(a,e);if(typeof Blob!=="undefined"){var n=new Blob([U(a)],{type:"application/octet-stream"});if(typeof navigator!=="undefined"&&navigator.msSaveBlob)return navigator.msSaveBlob(n,e);if(typeof saveAs!=="undefined")return saveAs(n,e);if(typeof URL!=="undefined"&&typeof document!=="undefined"&&document.createElement&&URL.createObjectURL){var i=document.createElement("a");if(i.download!=null){var s=URL.createObjectURL(n);i.download=e;i.href=s;document.body.appendChild(i);i.click();document.body.removeChild(i);if(URL.revokeObjectURL&&typeof setTimeout!=="undefined")setTimeout(function(){URL.revokeObjectURL(s)},6e4);return s}}}throw new Error("cannot initiate download")}function V(e){return Object.keys(e)}function H(e,r){var t=[],a=V(e);for(var n=0;n!==a.length;++n)t[e[a[n]][r]]=a[n];return t}function X(e){var r=[],t=V(e);for(var a=0;a!==t.length;++a)r[e[t[a]]]=t[a];return r}function G(e){var r=[],t=V(e);for(var a=0;a!==t.length;++a)r[e[t[a]]]=parseInt(t[a],10);return r}function z(e){var r=[],t=V(e);for(var a=0;a!==t.length;++a){if(r[e[t[a]]]==null)r[e[t[a]]]=[];r[e[t[a]]].push(t[a])}return r}var j=new Date(1899,11,30,0,0,0);var K=j.getTime()+((new Date).getTimezoneOffset()-j.getTimezoneOffset())*6e4;function Y(e,r){var t=e.getTime();if(r)t-=1462*24*60*60*1e3;return(t-K)/(24*60*60*1e3)}function $(e){var r=new Date;r.setTime(e*24*60*60*1e3+K);return r}function Q(e){var r=0,t=0,a=false;var n=e.match(/P([0-9\.]+Y)?([0-9\.]+M)?([0-9\.]+D)?T([0-9\.]+H)?([0-9\.]+M)?([0-9\.]+S)?/);if(!n)throw new Error("|"+e+"| is not an ISO8601 Duration");for(var i=1;i!=n.length;++i){if(!n[i])continue;t=1;if(i>3)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 J=new Date("2017-02-19T19:06:09.000Z");if(isNaN(J.getFullYear()))J=new Date("2/19/17");var Z=J.getFullYear()==2017;function q(e,r){var t=new Date(e);if(Z){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(J.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 ee(e){var r="";for(var t=0;t!=e.length;++t)r+=String.fromCharCode(e[t]);return r}function re(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]=re(e[t]);return r}function te(e,r){var t="";while(t.length<r)t+=e;return t}function ae(e){var r=Number(e);if(!isNaN(r))return r;var t=1;var a=e.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g,function(){t*=100;return""});if(!isNaN(r=Number(a)))return r/t;a=a.replace(/[(](.*)[)]/,function(e,r){t=-t;return r});if(!isNaN(r=Number(a)))return r/t;return r}function ne(e){var r=new Date(e),t=new Date(NaN);var a=r.getYear(),n=r.getMonth(),i=r.getDate();if(isNaN(i))return t;if(a<0||a>8099)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 ie="abacaba".split(/(:?b)/i).length==5;function se(e,r,t){if(ie||typeof r=="string")return e.split(r);var a=e.split(r),n=[a[0]];for(var i=1;i<a.length;++i){n.push(t);n.push(a[i])}return n}function le(e){if(!e)return null;if(e.data)return v(e.data);if(e.asNodeBuffer&&E)return v(e.asNodeBuffer().toString("binary"));if(e.asBinary)return v(e.asBinary());if(e._data&&e._data.getContent)return v(ee(Array.prototype.slice.call(e._data.getContent(),0)));return null}function ce(e){if(!e)return null;if(e.data)return u(e.data);if(e.asNodeBuffer&&E)return e.asNodeBuffer();if(e._data&&e._data.getContent){var r=e._data.getContent();if(typeof r=="string")return u(r);return Array.prototype.slice.call(r)}return null}function fe(e){return e&&e.name.slice(-4)===".bin"?ce(e):le(e)}function oe(e,r){var t=V(e.files);var a=r.toLowerCase(),n=a.replace(/\//g,"\\");for(var i=0;i<t.length;++i){var s=t[i].toLowerCase();if(a==s||n==s)return e.files[t[i]]}return null}function ue(e,r){var t=oe(e,r);if(t==null)throw new Error("Cannot find file "+r+" in zip");return t}function he(e,r,t){if(!t)return fe(ue(e,r));if(!r)return null;try{return he(e,r)}catch(a){return null}}function de(e,r,t){if(!t)return le(ue(e,r));if(!r)return null;try{return de(e,r)}catch(a){return null}}var ve;if(typeof JSZip!=="undefined")ve=JSZip;if(typeof exports!=="undefined"){if(typeof module!=="undefined"&&module.exports){if(typeof ve==="undefined")ve=undefined}}function pe(e,r){var t=r.split("/");if(r.slice(-1)!="/")t.pop();var a=e.split("/");while(a.length!==0){var n=a.shift();if(n==="..")t.pop();else if(n!==".")t.push(n)}return t.join("/")}var be='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r\n';var me=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g;var ge=/<[\/\?]?[a-zA-Z0-9:]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s]+))*\s?[\/\?]?>/g;if(!be.match(ge))ge=/<[^>]*>/g;var Ee=/<\w*:/,Se=/<(\/?)\w+:/;function ke(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(me),s=0,l="",c=0,f="",o="",u=1;if(i)for(c=0;c!=i.length;++c){o=i[c];for(n=0;n!=o.length;++n)if(o.charCodeAt(n)===61)break;f=o.slice(0,n).trim();while(o.charCodeAt(n+1)==32)++n;u=(a=o.charCodeAt(n+1))==34||a==39?1:0;l=o.slice(n+1+u,o.length-u);for(s=0;s!=f.length;++s)if(f.charCodeAt(s)===58)break;if(s===f.length){if(f.indexOf("_")>0)f=f.slice(0,f.indexOf("_"));t[f]=l}else{var h=(s===5&&f.slice(0,5)==="xmlns"?"xmlns":"")+f.slice(s+1);if(t[h]&&f.slice(s-3,s)=="ext")continue;t[h]=l}}return t}function we(e){return e.replace(Se,"<$1")}var Be={""":'"',"'":"'",">":">","<":"<","&":"&"};var Ce=X(Be);var Te=function(){var e=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/g,r=/_x([\da-fA-F]{4})_/g;return function t(a){var n=a+"",i=n.indexOf("<![CDATA[");if(i==-1)return n.replace(e,function(e,r){return Be[e]||String.fromCharCode(parseInt(r,e.indexOf("x")>-1?16:10))||e}).replace(r,function(e,r){return String.fromCharCode(parseInt(r,16))});var s=n.indexOf("]]>");return t(n.slice(0,i))+n.slice(i+9,s)+t(n.slice(s+3))}}();var Ie=/[&<>'"]/g,xe=/[\u0000-\u0008\u000b-\u001f]/g;function Ae(e){var r=e+"";return r.replace(Ie,function(e){return Ce[e]}).replace(xe,function(e){return"_x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+"_"})}function Re(e){return Ae(e).replace(/ /g,"_x0020_")}var Fe=/[\u0000-\u001f]/g;function De(e){var r=e+"";return r.replace(Ie,function(e){return Ce[e]}).replace(Fe,function(e){return"&#x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+";"})}function _e(e){var r=e+"";return r.replace(Ie,function(e){return Ce[e]}).replace(Fe,function(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"})}var Oe=function(){var e=/&#(\d+);/g;function r(e,r){return String.fromCharCode(parseInt(r,10))}return function t(a){return a.replace(e,r)}}();var ye=function(){return function e(r){return r.replace(/(\r\n|[\r\n])/g," ")}}();function Pe(e){switch(e){case 1:;case true:;case"1":;case"true":;case"TRUE":return true;default:return false;}}var Ne=function ab(e){var r="",t=0,a=0,n=0,i=0,s=0,l=0;while(t<e.length){a=e.charCodeAt(t++);if(a<128){r+=String.fromCharCode(a);continue}n=e.charCodeAt(t++);if(a>191&&a<224){s=(a&31)<<6;s|=n&63;r+=String.fromCharCode(s);continue}i=e.charCodeAt(t++);if(a<240){r+=String.fromCharCode((a&15)<<12|(n&63)<<6|i&63);continue}s=e.charCodeAt(t++);l=((a&7)<<18|(n&63)<<12|(i&63)<<6|s&63)-65536;r+=String.fromCharCode(55296+(l>>>10&1023));r+=String.fromCharCode(56320+(l&1023))}return r};var Le=function(e){var r=[],t=0,a=0,n=0;while(t<e.length){a=e.charCodeAt(t++);switch(true){case a<128:r.push(String.fromCharCode(a));break;case a<2048:r.push(String.fromCharCode(192+(a>>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(E){var Me=function nb(e){var r=new Buffer(2*e.length),t,a,n=1,i=0,s=0,l;for(a=0;a<e.length;a+=n){n=1;if((l=e.charCodeAt(a))<128)t=l;else if(l<224){t=(l&31)*64+(e.charCodeAt(a+1)&63);n=2}else if(l<240){t=(l&15)*4096+(e.charCodeAt(a+1)&63)*64+(e.charCodeAt(a+2)&63);n=3}else{n=4;t=(l&7)*262144+(e.charCodeAt(a+1)&63)*4096+(e.charCodeAt(a+2)&63)*64+(e.charCodeAt(a+3)&63);t-=65536;s=55296+(t>>>10&1023);t=56320+(t&1023)}if(s!==0){r[i++]=s&255;r[i++]=s>>>8;s=0}r[i++]=t%256;r[i++]=t>>>8}return r.slice(0,i).toString("ucs2")};var Ue="foo bar bazâð£";if(Ne(Ue)==Me(Ue))Ne=Me;var We=function ib(e){return Buffer(e,"binary").toString("utf8")};if(Ne(Ue)==We(Ue))Ne=We;Le=function(e){return new Buffer(e,"utf8").toString("binary")}}var Ve=function(){var e={};return function r(t,a){var n=t+"|"+(a||"");if(e[n])return e[n];return e[n]=new RegExp("<(?:\\w+:)?"+t+'(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)</(?:\\w+:)?'+t+">",a||"")}}();var He=function(){var e=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map(function(e){return[new RegExp("&"+e[0]+";","g"),e[1]]});return function r(t){var a=t.trim().replace(/\s+/g," ").replace(/<\s*[bB][rR]\s*\/?>/g,"\n").replace(/<[^>]*>/g,"");for(var n=0;n<e.length;++n)a=a.replace(e[n][0],e[n][1]);return a}}();var Xe=function(){var e={};return function r(t){if(e[t]!==undefined)return e[t];return e[t]=new RegExp("<(?:vt:)?"+t+">([\\s\\S]*?)</(?:vt:)?"+t+">","g")}}();var Ge=/<\/?(?:vt:)?variant>/g,ze=/<(?:vt:)([^>]*)>([\s\S]*)</;function je(e,r){var t=ke(e);var a=e.match(Xe(t.baseType))||[];var n=[];if(a.length!=t.size){if(r.WTF)throw new Error("unexpected vector length "+a.length+" != "+t.size);return n}a.forEach(function(e){var r=e.replace(Ge,"").match(ze);if(r)n.push({v:Ne(r[2]),t:r[1]})});return n}var Ke=/(^\s|\s$|\n)/;function Ye(e,r){return"<"+e+(r.match(Ke)?' xml:space="preserve"':"")+">"+r+"</"+e+">"}function $e(e){return V(e).map(function(r){return" "+r+'="'+e[r]+'"'}).join("")}function Qe(e,r,t){return"<"+e+(t!=null?$e(t):"")+(r!=null?(r.match(Ke)?' xml:space="preserve"':"")+">"+r+"</"+e:"/")+">"}function Je(e,r){try{return e.toISOString().replace(/\.\d*/,"")}catch(t){if(r)throw t}return""}function Ze(e){switch(typeof e){case"string":return Qe("vt:lpwstr",e);case"number":return Qe((e|0)==e?"vt:i4":"vt:r8",String(e));case"boolean":return Qe("vt:bool",e?"true":"false");}if(e instanceof Date)return Qe("vt:filetime",Je(e));throw new Error("Unable to serialize "+e)}var qe={dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",mx:"http://schemas.microsoft.com/office/mac/excel/2008/main",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",sjs:"http://schemas.openxmlformats.org/package/2006/sheetjs/core-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",xsd:"http://www.w3.org/2001/XMLSchema"};qe.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 er={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 rr(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 tr(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<Math.pow(2,52))){n=-1022}else{i-=Math.pow(2,52);n+=1023}}for(var l=0;l<=5;++l,i/=256)e[t+l]=i&255;e[t+6]=(n&15)<<4|i&15;e[t+7]=n>>4|a}var ar=function(e){var r=[],t=10240;for(var a=0;a<e[0].length;++a)for(var n=0,i=e[0][a].length;n<i;n+=t)r.push.apply(r,e[0][a].slice(n,n+t));return r};var nr=ar;var ir=function(e,r,t){var a=[];for(var n=r;n<t;n+=2)a.push(String.fromCharCode(Cr(e,n)));return a.join("").replace(x,"")};var sr=ir;var lr=function(e,r,t){var a=[];for(var n=r;n<r+t;++n)a.push(("0"+e[n].toString(16)).slice(-2));return a.join("")};var cr=lr;var fr=function(e,r,t){var a=[];for(var n=r;n<t;n++)a.push(String.fromCharCode(Br(e,n)));return a.join("")};var or=function(e,r){var t=Ir(e,r);return t>0?fr(e,r+4,r+4+t-1):""};var ur=or;var hr=function(e,r){var t=Ir(e,r);return t>0?fr(e,r+4,r+4+t-1):""};var dr=hr;var vr=function(e,r){var t=2*Ir(e,r);return t>0?fr(e,r+4,r+4+t-1):""};var pr=vr;var br,mr;br=mr=function sb(e,r){var t=Ir(e,r);return t>0?ir(e,r+4,r+4+t):""};var gr=function(e,r){var t=Ir(e,r);return t>0?fr(e,r+4,r+4+t):""};var Er=gr;var Sr,kr;Sr=kr=function(e,r){return rr(e,r)};var wr=function lb(e){return Array.isArray(e)};if(E){ir=function(e,r,t){if(!Buffer.isBuffer(e))return sr(e,r,t);return e.toString("utf16le",r,t).replace(x,"")};lr=function(e,r,t){return Buffer.isBuffer(e)?e.toString("hex",r,r+t):cr(e,r,t)};or=function cb(e,r){if(!Buffer.isBuffer(e))return ur(e,r);var t=e.readUInt32LE(r);return t>0?e.toString("utf8",r+4,r+4+t-1):""};hr=function fb(e,r){if(!Buffer.isBuffer(e))return dr(e,r);var t=e.readUInt32LE(r);return t>0?e.toString("utf8",r+4,r+4+t-1):""};vr=function ob(e,r){if(!Buffer.isBuffer(e))return pr(e,r);var t=2*e.readUInt32LE(r);return e.toString("utf16le",r+4,r+4+t-1)};br=function ub(e,r){if(!Buffer.isBuffer(e))return mr(e,r);var t=e.readUInt32LE(r);return e.toString("utf16le",r+4,r+4+t)};gr=function hb(e,r){if(!Buffer.isBuffer(e))return Er(e,r);var t=e.readUInt32LE(r);return e.toString("utf8",r+4,r+4+t)};fr=function db(e,r,t){return Buffer.isBuffer(e)?e.toString("utf8",r,t):fr(e,r,t)};ar=function(e){return e[0].length>0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0]):nr(e)};I=function(e){return Buffer.isBuffer(e[0])?Buffer.concat(e):[].concat.apply([],e)};Sr=function vb(e,r){if(Buffer.isBuffer(e))return e.readDoubleLE(r);return kr(e,r)};wr=function pb(e){return Buffer.isBuffer(e)||Array.isArray(e)}}if(typeof cptable!=="undefined"){ir=function(e,r,t){return cptable.utils.decode(1200,e.slice(r,t)).replace(x,"")};fr=function(e,r,t){return cptable.utils.decode(65001,e.slice(r,t))};or=function(e,r){var t=Ir(e,r);return t>0?cptable.utils.decode(a,e.slice(r+4,r+4+t-1)):""};hr=function(e,r){var a=Ir(e,r);return a>0?cptable.utils.decode(t,e.slice(r+4,r+4+a-1)):""};vr=function(e,r){var t=2*Ir(e,r);return t>0?cptable.utils.decode(1200,e.slice(r+4,r+4+t-1)):""};br=function(e,r){var t=Ir(e,r);return t>0?cptable.utils.decode(1200,e.slice(r+4,r+4+t)):""};gr=function(e,r){var t=Ir(e,r);return t>0?cptable.utils.decode(65001,e.slice(r+4,r+4+t)):""}}var Br=function(e,r){return e[r]};var Cr=function(e,r){return e[r+1]*(1<<8)+e[r]};var Tr=function(e,r){var t=e[r+1]*(1<<8)+e[r];return t<32768?t:(65535-t+1)*-1};var Ir=function(e,r){return e[r+3]*(1<<24)+(e[r+2]<<16)+(e[r+1]<<8)+e[r]};var xr=function(e,r){return e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]};var Ar=function(e,r){return e[r]<<24|e[r+1]<<16|e[r+2]<<8|e[r+3]};function Rr(e,r){var a="",n,i,s=[],l,c,f,o;switch(r){case"dbcs":o=this.l;if(E&&Buffer.isBuffer(this))a=this.slice(this.l,this.l+2*e).toString("utf16le");else for(f=0;f!=e;++f){a+=String.fromCharCode(Cr(this,o));o+=2}e*=2;break;case"utf8":a=fr(this,this.l,this.l+e);break;case"utf16le":e*=2;a=ir(this,this.l,this.l+e);break;case"wstr":if(typeof cptable!=="undefined")a=cptable.utils.decode(t,this.slice(this.l,this.l+2*e));else return Rr.call(this,e,"dbcs");e=2*e;break;case"lpstr-ansi":a=or(this,this.l);e=4+Ir(this,this.l);break;case"lpstr-cp":a=hr(this,this.l);e=4+Ir(this,this.l);break;case"lpwstr":a=vr(this,this.l);e=4+2*Ir(this,this.l);break;case"lpp4":e=4+Ir(this,this.l);a=br(this,this.l);if(e&2)e+=2;break;case"8lpp4":e=4+Ir(this,this.l);a=gr(this,this.l);if(e&3)e+=4-(e&3);break;case"cstr":e=0;a="";while((l=Br(this,this.l+e++))!==0)s.push(p(l));a=s.join("");break;case"_wstr":e=0;a="";while((l=Cr(this,this.l+e))!==0){s.push(p(l));e+=2}e+=2;a=s.join("");break;case"dbcs-cont":a="";o=this.l;for(f=0;f!=e;++f){if(this.lens&&this.lens.indexOf(o)!==-1){l=Br(this,o);this.l=o+1;c=Rr.call(this,e-f,l?"dbcs-cont":"sbcs-cont");return s.join("")+c}s.push(p(Cr(this,o)));o+=2}a=s.join("");e*=2;break;case"cpstr":if(typeof cptable!=="undefined"){a=cptable.utils.decode(t,this.slice(this.l,this.l+e));break};case"sbcs-cont":a="";o=this.l;for(f=0;f!=e;++f){if(this.lens&&this.lens.indexOf(o)!==-1){l=Br(this,o);this.l=o+1;c=Rr.call(this,e-f,l?"dbcs-cont":"sbcs-cont");return s.join("")+c}s.push(p(Br(this,o)));o+=1}a=s.join("");break;default:switch(e){case 1:n=Br(this,this.l);this.l++;return n;case 2:n=(r==="i"?Tr:Cr)(this,this.l);this.l+=2;return n;case 4:;case-4:if(r==="i"||(this[this.l+3]&128)===0){n=(e>0?xr:Ar)(this,this.l);this.l+=4;return n}else{i=Ir(this,this.l);this.l+=4}return i;case 8:;case-8:if(r==="f"){if(e==8)i=Sr(this,this.l);else i=Sr([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 i}else e=8;case 16:a=lr(this,this.l,e);break;};}this.l+=e;return a}var Fr=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 Dr=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 _r=function(e,r,t){e[t]=r&255;e[t+1]=r>>>8&255};function Or(e,r,t){var a=0,n=0;if(t==="dbcs"){for(n=0;n!=r.length;++n)_r(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<e;++n){this[this.l++]=parseInt(r.slice(2*n,2*n+2),16)||0}return this}else if(t==="utf16le"){var i=this.l+e;for(n=0;n<Math.min(r.length,e);++n){var s=r.charCodeAt(n);this[this.l++]=s&255;this[this.l++]=s>>8}while(this.l<i)this[this.l++]=0;return this}else switch(e){case 1:a=1;this[this.l]=r&255;break;case 2:a=2;this[this.l]=r&255;r>>>=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;Fr(this,r,this.l);break;case 8:a=8;if(t==="f"){tr(this,r,this.l);break};case 16:break;case-4:a=4;Dr(this,r,this.l);break;}this.l+=a;return this}function yr(e,r){var t=lr(this,this.l,e.length>>1);if(t!==e)throw new Error(r+"Expected "+e+" saw "+t);this.l+=e.length>>1}function Pr(e,r){e.l=r;e._R=Rr;e.chk=yr;e._W=Or}function Nr(e,r){e.l+=r}function Lr(e){var r=S(e);Pr(r,0);return r}function Mr(e,r,t){if(!e)return;var a,n,i;Pr(e,e.l||0);var s=e.length,l=0,c=0;while(e.l<s){l=e._R(1);if(l&128)l=(l&127)+((e._R(1)&127)<<7);var f=Fv[l]||Fv[65535];a=e._R(1);i=a&127;for(n=1;n<4&&a&128;++n)i+=((a=e._R(1))&127)<<7*n;c=e.l+i;var o=(f.f||Nr)(e,i,t);e.l=c;if(r(o,f.n,l))return}}function Ur(){var e=[],r=E?256:2048;var t=function c(e){var r=Lr(e);Pr(r,0);return r};var a=t(r);var n=function f(){if(!a)return;if(a.length>a.l)a=a.slice(0,a.l);if(a.length>0)e.push(a);a=null};var i=function o(e){if(a&&e<a.length-a.l)return a;n();return a=t(Math.max(e+1,r))};var s=function u(){n();return ar([e])};var l=function h(e){n();a=e;i(r)};return{next:i,push:l,end:s,_bufs:e}}function Wr(e,r,t,a){var n=+Dv[r],i;if(isNaN(n))return;if(!a)a=Fv[n].p||(t||[]).length||0;i=1+(n>=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 l=0;l!=4;++l){if(a>=128){s._W(1,(a&127)+128);a>>=7}else{s._W(1,a);break}}if(a>0&&wr(t))e.push(t)}function Vr(e,r,t){var a=re(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 Hr(e,r,t){var a=re(e);a.s=Vr(a.s,r.s,t);a.e=Vr(a.e,r.s,t);return a}function Xr(e){var r=at(e);if(e.cRel===0)r=qr(r);if(e.rRel===0)r=$r(r);return r}function Gr(e,r){if(e.s.r==0&&!e.s.rRel){if(e.e.r==(r.biff>=12?1048575:65535)&&!e.e.rRel){return(e.s.cRel?"":"$")+Zr(e.s.c)+":"+(e.e.cRel?"":"$")+Zr(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?"":"$")+Yr(e.s.r)+":"+(e.e.rRel?"":"$")+Yr(e.e.r)}}return Xr(e.s)+":"+Xr(e.e)}var zr={};var jr=function(e,r){var t;if(typeof r!=="undefined")t=r;else if(typeof require!=="undefined"){try{t=undefined}catch(a){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 l=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;l[a]=r[a]^t[t[n]+t[i]&255]}return l};e.md5=function(e){if(!t)throw new Error("Unsupported crypto");return t.createHash("md5").update(e).digest("hex")}};jr(zr,typeof crypto!=="undefined"?crypto:undefined);function Kr(e){return parseInt(Qr(e),10)-1}function Yr(e){return""+(e+1)}function $r(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}function Qr(e){return e.replace(/\$(\d+)$/,"$1")}function Jr(e){var r=et(e),t=0,a=0;for(;a!==r.length;++a)t=26*t+r.charCodeAt(a)-64;return t-1}function Zr(e){var r="";for(++e;e;e=Math.floor((e-1)/26))r=String.fromCharCode((e-1)%26+65)+r;return r}function qr(e){return e.replace(/^([A-Z])/,"$$$1")}function et(e){return e.replace(/^\$([A-Z])/,"$1")}function rt(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function tt(e){var r=rt(e);return{c:Jr(r[0]),r:Kr(r[1])}}function at(e){return Zr(e.c)+Yr(e.r)}function nt(e){var r=e.split(":").map(tt);return{s:r[0],e:r[r.length-1]}}function it(e,r){if(typeof r==="undefined"||typeof r==="number"){return it(e.s,e.e)}if(typeof e!=="string")e=at(e);if(typeof r!=="string")r=at(r);return e==r?e:e+":"+r}function st(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;a<i;++a){if((n=e.charCodeAt(a)-64)<1||n>26)break;t=26*t+n}r.s.c=--t;for(t=0;a<i;++a){if((n=e.charCodeAt(a)-48)<0||n>9)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 lt(e,r){var t=e.t=="d"&&r instanceof Date;if(e.z!=null)try{return e.w=R.format(e.z,t?Y(r):r)}catch(a){}try{return e.w=R.format((e.XF||{}).numFmtId||(t?14:0),t?Y(r):r)}catch(a){return""+r}}function ct(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 lt(e,e.v);return lt(e,r)}function ft(e,r){var t=r&&r.sheet?r.sheet:"Sheet1";var a={};a[t]=e;return{SheetNames:[t],Sheets:a}}function ot(e,r,t){var a=t||{};var n=e?Array.isArray(e):a.dense;if(b!=null&&n==null)n=b;var i=e||(n?[]:{});
|
||
var s=0,l=0;if(i&&a.origin!=null){if(typeof a.origin=="number")s=a.origin;else{var c=typeof a.origin=="string"?tt(a.origin):a.origin;s=c.r;l=c.c}}var f={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(i["!ref"]){var o=st(i["!ref"]);f.s.c=o.s.c;f.s.r=o.s.r;f.e.c=Math.max(f.e.c,o.e.c);f.e.r=Math.max(f.e.r,o.e.r);if(s==-1)f.e.r=s=o.e.r+1}for(var u=0;u!=r.length;++u){for(var h=0;h!=r[u].length;++h){if(typeof r[u][h]==="undefined")continue;var d={v:r[u][h]};if(Array.isArray(d.v)){d.f=r[u][h][1];d.v=d.v[0]}var v=s+u,p=l+h;if(f.s.r>v)f.s.r=v;if(f.s.c>p)f.s.c=p;if(f.e.r<v)f.e.r=v;if(f.e.c<p)f.e.c=p;if(d.v===null){if(d.f)d.t="n";else if(!a.cellStubs)continue;else d.t="z"}else if(typeof d.v==="number")d.t="n";else if(typeof d.v==="boolean")d.t="b";else if(d.v instanceof Date){d.z=a.dateNF||R._table[14];if(a.cellDates){d.t="d";d.w=R.format(d.z,Y(d.v))}else{d.t="n";d.v=Y(d.v);d.w=R.format(d.z,d.v)}}else d.t="s";if(n){if(!i[v])i[v]=[];i[v][p]=d}else{var m=at({c:p,r:v});i[m]=d}}}if(f.s.c<1e7)i["!ref"]=it(f);return i}function ut(e,r){return ot(null,e,r)}function ht(e,r){if(!r)r=Lr(4);r._W(4,e);return r}function dt(e){var r=e._R(4);return r===0?"":e._R(r,"dbcs")}function vt(e,r){var t=false;if(r==null){t=true;r=Lr(4+2*e.length)}r._W(4,e.length);if(e.length>0)r._W(0,e,"dbcs");return t?r.slice(0,r.l):r}function pt(e){return{ich:e._R(2),ifnt:e._R(2)}}function bt(e,r){if(!r)r=Lr(4);r._W(2,e.ich||0);r._W(2,e.ifnt||0);return r}function mt(e,r){var t=e.l;var a=e._R(1);var n=dt(e);var i=[];var s={t:n,h:n};if((a&1)!==0){var l=e._R(4);for(var c=0;c!=l;++c)i.push(pt(e));s.r=i}else s.r=[{ich:0,ifnt:0}];e.l=t+r;return s}function gt(e,r){var t=false;if(r==null){t=true;r=Lr(15+4*e.t.length)}r._W(1,0);vt(e.t,r);return t?r.slice(0,r.l):r}var Et=mt;function St(e,r){var t=false;if(r==null){t=true;r=Lr(23+4*e.t.length)}r._W(1,1);vt(e.t,r);r._W(4,1);bt({ich:0,ifnt:0},r);return t?r.slice(0,r.l):r}function kt(e){var r=e._R(4);var t=e._R(2);t+=e._R(1)<<16;e.l++;return{c:r,iStyleRef:t}}function wt(e,r){if(r==null)r=Lr(8);r._W(-4,e.c);r._W(3,e.iStyleRef||e.s);r._W(1,0);return r}var Bt=dt;var Ct=vt;function Tt(e){var r=e._R(4);return r===0||r===4294967295?"":e._R(r,"dbcs")}function It(e,r){var t=false;if(r==null){t=true;r=Lr(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 xt=dt;var At=Tt;var Rt=It;function Ft(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?Sr([0,0,0,0,r[0],r[1],r[2],r[3]],0):xr(r,0)>>2;return t?n/100:n}function Dt(e,r){if(r==null)r=Lr(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 _t(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 Ot(e,r){if(!r)r=Lr(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 yt=_t;var Pt=Ot;function Nt(e){return e._R(8,"f")}function Lt(e,r){return(r||Lr(8))._W(8,e,"f")}var Mt={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"};var Ut=G(Mt);function Wt(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 l=e._R(1);var c=e._R(1);e.l++;switch(a){case 0:r.auto=1;break;case 1:r.index=n;var f=ua[n];if(f)r.rgb=Tl(f);break;case 2:r.rgb=Tl([s,l,c]);break;case 3:r.theme=n;break;}if(i!=0)r.tint=i>0?i/32767:i/32768;return r}function Vt(e,r){if(!r)r=Lr(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 Ht(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 Xt(e,r){if(!r)r=Lr(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 Gt(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 Gt(e,1)}function jt(e){return Gt(e,2)}var Kt=2;var Yt=3;var $t=11;var Qt=12;var Jt=19;var Zt=30;var qt=64;var ea=71;var ra=4096;var ta=80;var aa=81;var na=[ta,aa];var ia={1:{n:"CodePage",t:Kt},2:{n:"Category",t:ta},3:{n:"PresentationFormat",t:ta},4:{n:"ByteCount",t:Yt},5:{n:"LineCount",t:Yt},6:{n:"ParagraphCount",t:Yt},7:{n:"SlideCount",t:Yt},8:{n:"NoteCount",t:Yt},9:{n:"HiddenCount",t:Yt},10:{n:"MultimediaClipCount",t:Yt},11:{n:"Scale",t:$t},12:{n:"HeadingPair",t:ra|Qt},13:{n:"DocParts",t:ra|Zt},14:{n:"Manager",t:ta},15:{n:"Company",t:ta},16:{n:"LinksDirty",t:$t},17:{n:"CharacterCount",t:Yt},19:{n:"SharedDoc",t:$t},22:{n:"HLinksChanged",t:$t},23:{n:"AppVersion",t:Yt,p:"version"},26:{n:"ContentType",t:ta},27:{n:"ContentStatus",t:ta},28:{n:"Language",t:ta},29:{n:"Version",t:ta},255:{}};var sa={1:{n:"CodePage",t:Kt},2:{n:"Title",t:ta},3:{n:"Subject",t:ta},4:{n:"Author",t:ta},5:{n:"Keywords",t:ta},6:{n:"Comments",t:ta},7:{n:"Template",t:ta},8:{n:"LastAuthor",t:ta},9:{n:"RevNumber",t:ta},10:{n:"EditTime",t:qt},11:{n:"LastPrinted",t:qt},12:{n:"CreatedDate",t:qt},13:{n:"ModifiedDate",t:qt},14:{n:"PageCount",t:Yt},15:{n:"WordCount",t:Yt},16:{n:"CharCount",t:Yt},17:{n:"Thumbnail",t:ea},18:{n:"ApplicationName",t:ta},19:{n:"DocumentSecurity",t:Yt},255:{}};var la={2147483648:{n:"Locale",t:Jt},2147483651:{n:"Behavior",t:Jt},1919054434:{}};(function(){for(var e in la)if(la.hasOwnProperty(e))ia[e]=sa[e]=la[e]})();var ca={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 fa=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];function oa(e){return e.map(function(e){return[e>>16&255,e>>8&255,e&255]})}var ua=oa([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 ha={"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 da=function(){var e={workbooks:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",xlsm:"application/vnd.ms-excel.sheet.macroEnabled.main+xml",xlsb:"application/vnd.ms-excel.sheet.binary.macroEnabled.main",xlam:"application/vnd.ms-excel.addin.macroEnabled.main+xml",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml"},strs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",xlsb:"application/vnd.ms-excel.sharedStrings"},comments:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml",xlsb:"application/vnd.ms-excel.comments"},sheets:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",xlsb:"application/vnd.ms-excel.worksheet"},charts:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml",xlsb:"application/vnd.ms-excel.chartsheet"},dialogs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml",xlsb:"application/vnd.ms-excel.dialogsheet"},macros:{xlsx:"application/vnd.ms-excel.macrosheet+xml",xlsb:"application/vnd.ms-excel.macrosheet"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};V(e).forEach(function(r){["xlsm","xlam"].forEach(function(t){if(!e[r][t])e[r][t]=e[r].xlsx})});V(e).forEach(function(r){V(e[r]).forEach(function(t){ha[e[r][t]]=r})});return e}();var va=z(ha);qe.CT="http://schemas.openxmlformats.org/package/2006/content-types";function pa(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],TODO:[],xmlns:""}}function ba(e){var r=pa();if(!e||!e.match)return r;var t={};(e.match(ge)||[]).forEach(function(e){var a=ke(e);switch(a[0].replace(Ee,"<")){case"<?xml":break;case"<Types":r.xmlns=a["xmlns"+(a[0].match(/<(\w+):/)||["",""])[1]];break;case"<Default":t[a.Extension]=a.ContentType;break;case"<Override":if(r[ha[a.ContentType]]!==undefined)r[ha[a.ContentType]].push(a.PartName);break;}});if(r.xmlns!==qe.CT)throw new Error("Unknown Namespace: "+r.xmlns);r.calcchain=r.calcchains.length>0?r.calcchains[0]:"";r.sst=r.strs.length>0?r.strs[0]:"";r.style=r.styles.length>0?r.styles[0]:"";r.defaults=t;delete r.calcchains;return r}var ma=Qe("Types",null,{xmlns:qe.CT,"xmlns:xsd":qe.xsd,"xmlns:xsi":qe.xsi});var ga=[["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",va.rels[0]]].map(function(e){return Qe("Default",null,{Extension:e[0],ContentType:e[1]})});function Ea(e,r){var t=[],a;t[t.length]=be;t[t.length]=ma;t=t.concat(ga);var n=function(n){if(e[n]&&e[n].length>0){a=e[n][0];t[t.length]=Qe("Override",null,{PartName:(a[0]=="/"?"":"/")+a,ContentType:da[n][r.bookType||"xlsx"]})}};var i=function(a){(e[a]||[]).forEach(function(e){t[t.length]=Qe("Override",null,{PartName:(e[0]=="/"?"":"/")+e,ContentType:da[a][r.bookType||"xlsx"]})})};var s=function(r){(e[r]||[]).forEach(function(e){t[t.length]=Qe("Override",null,{PartName:(e[0]=="/"?"":"/")+e,ContentType:va[r][0]})})};n("workbooks");i("sheets");i("charts");s("themes");["strs","styles"].forEach(n);["coreprops","extprops","custprops"].forEach(s);s("vba");s("comments");s("drawings");if(t.length>2){t[t.length]="</Types>";t[1]=t[1].replace("/>",">")}return t.join("")}var Sa={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 ka(e){var r=e.lastIndexOf("/");return e.slice(0,r+1)+"_rels/"+e.slice(r+1)+".rels"}function wa(e,r){if(!e)return e;if(r.charAt(0)!=="/"){r="/"+r}var t={};var a={};(e.match(ge)||[]).forEach(function(e){var n=ke(e);if(n[0]==="<Relationship"){var i={};i.Type=n.Type;i.Target=n.Target;i.Id=n.Id;i.TargetMode=n.TargetMode;var s=n.TargetMode==="External"?n.Target:pe(n.Target,r);t[s]=i;a[n.Id]=i}});t["!id"]=a;return t}qe.RELS="http://schemas.openxmlformats.org/package/2006/relationships";var Ba=Qe("Relationships",null,{xmlns:qe.RELS});function Ca(e){var r=[be,Ba];V(e["!id"]).forEach(function(t){r[r.length]=Qe("Relationship",null,e["!id"][t])});if(r.length>2){r[r.length]="</Relationships>";r[1]=r[1].replace("/>",">")}return r.join("")}function Ta(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==Sa.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 Ia="application/vnd.oasis.opendocument.spreadsheet";function xa(e,r){var t=iv(e);var a;var n;while(a=sv.exec(t))switch(a[3]){case"manifest":break;case"file-entry":n=ke(a[0],false);if(n.path=="/"&&n.type!==Ia)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 Aa(e){var r=[be];r.push('<manifest:manifest xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0" manifest:version="1.2">\n');r.push(' <manifest:file-entry manifest:full-path="/" manifest:version="1.2" manifest:media-type="application/vnd.oasis.opendocument.spreadsheet"/>\n');for(var t=0;t<e.length;++t)r.push(' <manifest:file-entry manifest:full-path="'+e[t][0]+'" manifest:media-type="'+e[t][1]+'"/>\n');r.push("</manifest:manifest>");return r.join("")}function Ra(e,r,t){return[' <rdf:Description rdf:about="'+e+'">\n',' <rdf:type rdf:resource="http://docs.oasis-open.org/ns/office/1.2/meta/'+(t||"odf")+"#"+r+'"/>\n'," </rdf:Description>\n"].join("")}function Fa(e,r){return[' <rdf:Description rdf:about="'+e+'">\n',' <ns0:hasPart xmlns:ns0="http://docs.oasis-open.org/ns/office/1.2/meta/pkg#" rdf:resource="'+r+'"/>\n'," </rdf:Description>\n"].join("")}function Da(e){var r=[be];r.push('<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">\n');for(var t=0;t!=e.length;++t){r.push(Ra(e[t][0],e[t][1]));r.push(Fa("",e[t][0]))}r.push(Ra("","Document","pkg"));r.push("</rdf:RDF>");return r.join("")}var _a=function(){var e='<?xml version="1.0" encoding="UTF-8" standalone="yes"?><office:document-meta xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xlink="http://www.w3.org/1999/xlink" office:version="1.2"><office:meta><meta:generator>Sheet'+"JS "+r.version+"</meta:generator></office:meta></office:document-meta>";return function t(){return e}}();var Oa=[["cp:category","Category"],["cp:contentStatus","ContentStatus"],["cp:keywords","Keywords"],["cp:lastModifiedBy","LastAuthor"],["cp:lastPrinted","LastPrinted"],["cp:revision","RevNumber"],["cp:version","Version"],["dc:creator","Author"],["dc:description","Comments"],["dc:identifier","Identifier"],["dc:language","Language"],["dc:subject","Subject"],["dc:title","Title"],["dcterms:created","CreatedDate","date"],["dcterms:modified","ModifiedDate","date"]];qe.CORE_PROPS="http://schemas.openxmlformats.org/package/2006/metadata/core-properties";Sa.CORE_PROPS="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties";var ya=function(){var e=new Array(Oa.length);for(var r=0;r<Oa.length;++r){var t=Oa[r];var a="(?:"+t[0].slice(0,t[0].indexOf(":"))+":)"+t[0].slice(t[0].indexOf(":")+1);e[r]=new RegExp("<"+a+"[^>]*>([\\s\\S]*?)</"+a+">")}return e}();function Pa(e){var r={};e=Ne(e);for(var t=0;t<Oa.length;++t){var a=Oa[t],n=e.match(ya[t]);if(n!=null&&n.length>0)r[a[1]]=n[1];if(a[2]==="date"&&r[a[1]])r[a[1]]=q(r[a[1]])}return r}var Na=Qe("cp:coreProperties",null,{"xmlns:cp":qe.CORE_PROPS,"xmlns:dc":qe.dc,"xmlns:dcterms":qe.dcterms,"xmlns:dcmitype":qe.dcmitype,"xmlns:xsi":qe.xsi});function La(e,r,t,a,n){if(n[e]!=null||r==null||r==="")return;n[e]=r;a[a.length]=t?Qe(e,r,t):Ye(e,r)}function Ma(e,r){var t=r||{};var a=[be,Na],n={};if(!e&&!t.Props)return a.join("");if(e){if(e.CreatedDate!=null)La("dcterms:created",typeof e.CreatedDate==="string"?e.CreatedDate:Je(e.CreatedDate,t.WTF),{"xsi:type":"dcterms:W3CDTF"},a,n);if(e.ModifiedDate!=null)La("dcterms:modified",typeof e.ModifiedDate==="string"?e.ModifiedDate:Je(e.ModifiedDate,t.WTF),{"xsi:type":"dcterms:W3CDTF"},a,n)}for(var i=0;i!=Oa.length;++i){var s=Oa[i];var l=t.Props&&t.Props[s[1]]!=null?t.Props[s[1]]:e?e[s[1]]:null;if(l===true)l="1";else if(l===false)l="0";else if(typeof l=="number")l=String(l);if(l!=null)La(s[0],l,null,a,n)}if(a.length>2){a[a.length]="</cp:coreProperties>";a[1]=a[1].replace("/>",">")}return a.join("")}var Ua=[["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"]];qe.EXT_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties";Sa.EXT_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties";function Wa(e,r,t){var a={};if(!r)r={};e=Ne(e);Ua.forEach(function(t){switch(t[2]){case"string":r[t[1]]=(e.match(Ve(t[0]))||[])[1];break;case"bool":r[t[1]]=(e.match(Ve(t[0]))||[])[1]==="true";break;case"raw":var n=e.match(new RegExp("<"+t[0]+"[^>]*>([\\s\\S]*?)</"+t[0]+">"));if(n&&n.length>0)a[t[1]]=n[1];break;}});if(a.HeadingPairs&&a.TitlesOfParts){var n=je(a.HeadingPairs,t);var i=je(a.TitlesOfParts,t).map(function(e){return e.v});var s=0,l=0;if(i.length>0)for(var c=0;c!==n.length;c+=2){l=+n[c+1].v;switch(n[c].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":r.Worksheets=l;r.SheetNames=i.slice(s,s+l);break;case"Named Ranges":;case"名前付き一覧":;case"Benannte Bereiche":;case"Navngivne områder":r.NamedRanges=l;r.DefinedNames=i.slice(s,s+l);break;case"Charts":;case"Diagramme":r.Chartsheets=l;r.ChartNames=i.slice(s,s+l);break;}s+=l}}return r}var Va=Qe("Properties",null,{xmlns:qe.EXT_PROPS,"xmlns:vt":qe.vt});function Ha(e){var r=[],t=Qe;if(!e)e={};e.Application="SheetJS";r[r.length]=be;r[r.length]=Va;Ua.forEach(function(a){if(e[a[1]]===undefined)return;var n;switch(a[2]){case"string":n=String(e[a[1]]);break;case"bool":n=e[a[1]]?"true":"false";break;}if(n!==undefined)r[r.length]=t(a[0],n)});r[r.length]=t("HeadingPairs",t("vt:vector",t("vt:variant","<vt:lpstr>Worksheets</vt:lpstr>")+t("vt:variant",t("vt:i4",String(e.Worksheets))),{size:2,baseType:"variant"}));r[r.length]=t("TitlesOfParts",t("vt:vector",e.SheetNames.map(function(e){return"<vt:lpstr>"+Ae(e)+"</vt:lpstr>"}).join(""),{size:e.Worksheets,baseType:"lpstr"}));if(r.length>2){r[r.length]="</Properties>";r[1]=r[1].replace("/>",">")}return r.join("")}qe.CUST_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/custom-properties";Sa.CUST_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties";var Xa=/<[^>]+>[^<]*/g;function Ga(e,r){var t={},a="";var n=e.match(Xa);if(n)for(var i=0;i!=n.length;++i){var s=n[i],l=ke(s);switch(l[0]){case"<?xml":break;case"<Properties":break;case"<property":a=l.name;break;case"</property>":a=null;break;default:if(s.indexOf("<vt:")===0){var c=s.split(">");var f=c[0].slice(4),o=c[1];switch(f){case"lpstr":;case"bstr":;case"lpwstr":t[a]=Te(o);break;case"bool":t[a]=Pe(o);break;case"i1":;case"i2":;case"i4":;case"i8":;case"int":;case"uint":t[a]=parseInt(o,10);break;case"r4":;case"r8":;case"decimal":t[a]=parseFloat(o);break;case"filetime":;case"date":t[a]=q(o);break;case"cy":;case"error":t[a]=Te(o);break;default:if(f.slice(-1)=="/")break;if(r.WTF&&typeof console!=="undefined")console.warn("Unexpected",s,f,c);}}else if(s.slice(0,2)==="</"){}else if(r.WTF)throw new Error(s);}}return t}var za=Qe("Properties",null,{xmlns:qe.CUST_PROPS,"xmlns:vt":qe.vt});function ja(e){var r=[be,za];if(!e)return r.join("");var t=1;V(e).forEach(function a(n){++t;r[r.length]=Qe("property",Ze(e[n]),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:t,name:n})});if(r.length>2){r[r.length]="</Properties>";r[1]=r[1].replace("/>",">")}return r.join("")}var Ka={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 Ya=X(Ka);function $a(e,r,t){r=Ya[r]||r;e[r]=t}function Qa(e,r){var t=[];V(Ka).map(function(e){for(var r=0;r<Oa.length;++r)if(Oa[r][1]==e)return Oa[r];for(r=0;r<Ua.length;++r)if(Ua[r][1]==e)return Ua[r];throw e}).forEach(function(a){if(e[a[1]]==null)return;var n=r&&r.Props&&r.Props[a[1]]!=null?r.Props[a[1]]:e[a[1]];switch(a[2]){case"date":n=new Date(n).toISOString().replace(/\.\d*Z/,"Z");break;}if(typeof n=="number")n=String(n);else if(n===true||n===false){n=n?"1":"0"}else if(n instanceof Date)n=new Date(n).toISOString().replace(/\.\d*Z/,"");t.push(Ye(Ka[a[1]]||a[1],n))});return Qe("DocumentProperties",t.join(""),{xmlns:er.o})}function Ja(e,r){var t=["Worksheets","SheetNames"];var a="CustomDocumentProperties";var n=[];if(e)V(e).forEach(function(r){if(!e.hasOwnProperty(r))return;for(var a=0;a<Oa.length;++a)if(r==Oa[a][1])return;for(a=0;a<Ua.length;++a)if(r==Ua[a][1])return;for(a=0;a<t.length;++a)if(r==t[a])return;var i=e[r];var s="string";if(typeof i=="number"){s="float";i=String(i)}else if(i===true||i===false){s="boolean";i=i?"1":"0"}else i=String(i);n.push(Qe(Re(r),i,{"dt:dt":s}))});if(r)V(r).forEach(function(t){if(!r.hasOwnProperty(t))return;if(e&&e.hasOwnProperty(t))return;var a=r[t];var i="string";if(typeof a=="number"){i="float";a=String(a)}else if(a===true||a===false){i="boolean";a=a?"1":"0"}else if(a instanceof Date){i="dateTime.tz";a=a.toISOString()}else a=String(a);n.push(Qe(Re(t),a,{"dt:dt":i}))});return"<"+a+' xmlns="'+er.o+'">'+n.join("")+"</"+a+">"}function Za(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 qa(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 en(e,r,t){var a=e._R(0,"lpwstr");if(t)e.l+=4-(a.length+1&3)&3;return a}function rn(e,r,t){if(r===31)return en(e);return qa(e,r,t)}function tn(e,r,t){return rn(e,r,t===false?0:4)}function an(e,r){if(!r)throw new Error("VtUnalignedString must have positive length");return rn(e,r,0)}function nn(e){var r=e._R(4);var t=[];for(var a=0;a!=r;++a)t[a]=e._R(0,"lpstr-cp").replace(x,"");return t}function sn(e){return nn(e)}function ln(e){var r=dn(e,aa);var t=dn(e,Yt);return[r,t]}function cn(e){var r=e._R(4);var t=[];for(var a=0;a!=r/2;++a)t.push(ln(e));return t}function fn(e){return cn(e)}function on(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(x,"").replace(A,"!")}if(e.l&3)e.l=e.l>>2+1<<2;return a}function un(e){var r=e._R(4);var t=e.slice(e.l,e.l+r);if((r&3)>0)e.l+=4-(r&3)&3;return t}function hn(e){var r={};r.Size=e._R(4);e.l+=r.Size;return r}function dn(e,r,t){var a=e._R(2),n,i=t||{};e.l+=2;if(r!==Qt)if(a!==r&&na.indexOf(r)===-1)throw new Error("Expected type "+r+" saw "+a);switch(r===Qt?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 qa(e,a,4).replace(x,"");case 31:return en(e);case 64:return Za(e);case 65:return un(e);case 71:return hn(e);case 80:return tn(e,a,!i.raw).replace(x,"");case 81:return an(e,a).replace(x,"");case 4108:return fn(e);case 4126:return sn(e);default:throw new Error("TypedPropertyValue unrecognized type "+r+" "+a);}}function vn(e,r){var t=e.l;var a=e._R(4);var n=e._R(4);var i=[],s=0;var l=0;var c=-1,o={};for(s=0;s!=n;++s){var u=e._R(4);var h=e._R(4);i[s]=[u,h+t]}i.sort(function(e,r){return e[1]-r[1]});var d={};for(s=0;s!=n;++s){if(e.l!==i[s][1]){var v=true;if(s>0&&r)switch(r[i[s-1][0]].t){case 2:if(e.l+2===i[s][1]){e.l+=2;v=false}break;case 80:if(e.l<=i[s][1]){e.l=i[s][1];v=false}break;case 4108:if(e.l<=i[s][1]){e.l=i[s][1];v=false}break;}if((!r||s==0)&&e.l<=i[s][1]){v=false;e.l=i[s][1]}if(v)throw new Error("Read Error: Expected address "+i[s][1]+" at "+e.l+" :"+s)}if(r){var p=r[i[s][0]];d[p.n]=dn(e,p.t,{raw:true});if(p.p==="version")d[p.n]=String(d[p.n]>>16)+"."+String(d[p.n]&65535);if(p.n=="CodePage")switch(d[p.n]){case 0:d[p.n]=1252;case 874:;case 932:;case 936:;case 949:;case 950:;case 1250:;case 1251:;case 1253:;case 1254:;case 1255:;case 1256:;case 1257:;case 1258:;case 1e4:;case 1200:;case 1201:;case 1252:;case 65e3:;case-536:;case 65001:;case-535:f(l=d[p.n]>>>0&65535);break;default:throw new Error("Unsupported CodePage: "+d[p.n]);}}else{if(i[s][0]===1){l=d.CodePage=dn(e,Kt);f(l);if(c!==-1){var b=e.l;e.l=i[c][1];o=on(e,l);e.l=b}}else if(i[s][0]===0){if(l===0){c=s;e.l=i[s+1][1];continue}o=on(e,l)}else{var m=o[i[s][0]];var g;switch(e[e.l]){case 65:e.l+=4;g=un(e);break;case 30:e.l+=4;g=tn(e,e[e.l-4]);break;case 31:e.l+=4;g=tn(e,e[e.l-4]);break;case 3:e.l+=4;g=e._R(4,"i");break;case 19:e.l+=4;g=e._R(4);break;case 5:e.l+=4;g=e._R(8,"f");break;case 11:e.l+=4;g=En(e,4);break;case 64:e.l+=4;g=q(Za(e));break;default:throw new Error("unparsed value: "+e[e.l]);}d[m]=g}}}e.l=t+a;return d}function pn(e,r){var t=e.content;if(!t)return{};Pr(t,0);var a,n,i,s,l=0;t.chk("feff","Byte Order: ");t._R(2);var c=t._R(4);t.chk(N.utils.consts.HEADER_CLSID,"CLSID: ");a=t._R(4);if(a!==1&&a!==2)throw new Error("Unrecognized #Sets: "+a);n=t._R(16);s=t._R(4);if(a===1&&s!==t.l)throw new Error("Length mismatch: "+s+" !== "+t.l);else if(a===2){i=t._R(16);l=t._R(4)}var f=vn(t,r);var o={SystemIdentifier:c};for(var u in f)o[u]=f[u];o.FMTID=n;if(a===1)return o;if(t.l!==l)throw new Error("Length mismatch 2: "+t.l+" !== "+l);var h;try{h=vn(t,null)}catch(d){}for(u in h)o[u]=h[u];o.FMTID=[n,i];return o}function bn(e,r){e._R(r);return null}function mn(e,r){if(!r)r=Lr(e);for(var t=0;t<e;++t)r._W(1,0);return r}function gn(e,r,t){var a=[],n=e.l+r;while(e.l<n)a.push(t(e,n-e.l));if(n!==e.l)throw new Error("Slurp error");return a}function En(e,r){return e._R(r)===1}function Sn(e,r){if(!r)r=Lr(2);r._W(2,+!!e);return r}function kn(e){return e._R(2,"u")}function wn(e,r){if(!r)r=Lr(2);r._W(2,e);return r}function Bn(e,r){return gn(e,r,kn)}function Cn(e){var r=e._R(1),t=e._R(1);return t===1?r:r===1}function Tn(e,r,t){if(!t)t=Lr(2);t._W(1,+e);t._W(1,r=="e"?1:0);return t}function In(e,r,a){var n=e._R(a&&a.biff>=12?2:1);
|
||
var i="sbcs-cont";var s=t;if(a&&a.biff>=8)t=1200;if(!a||a.biff==8){var l=e._R(1);if(l){i="dbcs-cont"}}else if(a.biff==12){i="wstr"}if(a.biff>=2&&a.biff<=5)i="cpstr";var c=n?e._R(n,i):"";t=s;return c}function xn(e){var r=t;t=1200;var a=e._R(2),n=e._R(1);var i=n&4,s=n&8;var l=1+(n&1);var c=0,f;var o={};if(s)c=e._R(2);if(i)f=e._R(4);var u=l==2?"dbcs-cont":"sbcs-cont";var h=a===0?"":e._R(a,u);if(s)e.l+=4*c;if(i)e.l+=f;o.t=h;if(!s){o.raw="<t>"+o.t+"</t>";o.r=o.t}t=r;return o}function An(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 Rn(e,r,t){var a=e._R(t&&t.biff==2?1:2);if(a===0){e.l++;return""}return An(e,a,t)}function Fn(e,r,t){if(t.biff>5)return Rn(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 Dn(e,r,t){if(!t)t=Lr(3+2*e.length);t._W(2,e.length);t._W(1,1);t._W(31,e,"utf16le");return t}function _n(e){var r=e._R(1);e.l++;var t=e._R(2);e.l+=2;return[r,t]}function On(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(x,"");if(a)e.l+=24;return n}function yn(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(x,"");return n}function Pn(e,r){var t=e._R(16);r-=16;switch(t){case"e0c9ea79f9bace118c8200aa004ba90b":return On(e,r);case"0303000000000000c000000000000046":return yn(e,r);default:throw new Error("Unsupported Moniker "+t);}}function Nn(e){var r=e._R(4);var t=r>0?e._R(r,"utf16le").replace(x,""):"";return t}function Ln(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,l,c,f="",o,u;if(n&16)i=Nn(e,t-e.l);if(n&128)s=Nn(e,t-e.l);if((n&257)===257)l=Nn(e,t-e.l);if((n&257)===1)c=Pn(e,t-e.l);if(n&8)f=Nn(e,t-e.l);if(n&32)o=e._R(16);if(n&64)u=Za(e);e.l=t;var h=s||l||c||"";if(h&&f)h+="#"+f;if(!h)h="#"+f;var d={Target:h};if(o)d.guid=o;if(u)d.time=u;if(i)d.Tooltip=i;return d}function Mn(e){var r=Lr(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;t<i.length;++t)r._W(4,i[t]);if(n==28){a=a.slice(1);r._W(4,a.length+1);for(t=0;t<a.length;++t)r._W(2,a.charCodeAt(t));r._W(2,0)}else if(n&2){i="e0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" ");for(t=0;t<i.length;++t)r._W(1,parseInt(i[t],16));r._W(4,2*(a.length+1));for(t=0;t<a.length;++t)r._W(2,a.charCodeAt(t));r._W(2,0)}else{i="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" ");for(t=0;t<i.length;++t)r._W(1,parseInt(i[t],16));var s=0;while(a.slice(s*3,s*3+3)=="../"||a.slice(s*3,s*3+3)=="..\\")++s;r._W(2,s);r._W(4,a.length+1);for(t=0;t<a.length;++t)r._W(1,a.charCodeAt(t)&255);r._W(1,0);r._W(2,65535);r._W(2,57005);for(t=0;t<6;++t)r._W(4,0)}return r.slice(0,r.l)}function Un(e){var r=e._R(1),t=e._R(1),a=e._R(1),n=e._R(1);return[r,t,a,n]}function Wn(e,r){var t=Un(e,r);t[3]=0;return t}function Vn(e){var r=e._R(2);var t=e._R(2);var a=e._R(2);return{r:r,c:t,ixfe:a}}function Hn(e,r,t,a){if(!a)a=Lr(6);a._W(2,e);a._W(2,r);a._W(2,t||0);return a}function Xn(e){var r=e._R(2);var t=e._R(2);e.l+=8;return{type:r,flags:t}}function Gn(e,r,t){return r===0?"":Fn(e,r,t)}function zn(e,r,t){var a=t.biff>8?4:2;var n=e._R(a),i=e._R(a,"i"),s=e._R(a,"i");return[n,i,s]}function jn(e){var r=e._R(2);var t=Ft(e);return[r,t]}function Kn(e,r,t){e.l+=4;r-=4;var a=e.l+r;var n=In(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 Yn(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 $n(e,r){if(!r)r=Lr(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 Qn(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 Jn=Qn;function Zn(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 qn(e){var r={};e.l+=4;e.l+=16;r.fSharedNote=e._R(2);e.l+=4;return r}function ei(e){var r={};e.l+=4;e.cf=e._R(2);return r}function ri(e){e.l+=2;e.l+=e._R(2)}var ti={0:ri,4:ri,5:ri,6:ri,7:ei,8:ri,9:ri,10:ri,11:ri,12:ri,13:qn,14:ri,15:ri,16:ri,17:ri,18:ri,19:ri,20:ri,21:Zn};function ai(e,r){var t=e.l+r;var a=[];while(e.l<t){var n=e._R(2);e.l-=2;try{a.push(ti[n](e,t-e.l))}catch(i){e.l=t;return a}}if(e.l!=t)e.l=t;return a}function ni(e,r){var t={BIFFVer:0,dt:0};t.BIFFVer=e._R(2);r-=2;if(r>=2){t.dt=e._R(2);e.l-=2}switch(t.BIFFVer){case 1536:;case 1280:;case 2:;case 7:break;default:if(r>6)throw new Error("Unexpected BIFF Ver "+t.BIFFVer);}e._R(r);return t}function ii(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=Lr(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 si(e,r){if(r===0)return 1200;if(e._R(2)!==1200){}return 1200}function li(e,r,t){if(t.enc){e.l+=r;return""}var a=e.l;var n=Fn(e,0,t);e._R(r+a-e.l);return n}function ci(e,r){var t=!r||r.biff==8;var a=Lr(t?112:54);a._W(r.biff==8?2:1,7);a._W(1,0);a._W(4,859007059);a._W(4,5458548);while(a.l<a.length)a._W(1,0);return a}function fi(e,r,t){var a=t&&t.biff==8||r==2?e._R(2):(e.l+=r,0);return{fDialog:a&16}}function oi(e,r,t){var a=e._R(4);var n=e._R(1)&3;var i=e._R(1);switch(i){case 0:i="Worksheet";break;case 1:i="Macrosheet";break;case 2:i="Chartsheet";break;case 6:i="VBAModule";break;}var s=In(e,0,t);if(s.length===0)s="Sheet1";return{pos:a,hs:n,dt:i,name:s}}function ui(e,r){var t=!r||r.biff>=8?2:1;var a=Lr(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");return a.slice(0,a.l)}function hi(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<t;++s){i.push(xn(e))}i.Count=a;i.Unique=n;return i}function di(e,r){var t={};t.dsst=e._R(2);e.l+=r-2;return t}function vi(e){var r={};r.r=e._R(2);r.c=e._R(2);r.cnt=e._R(2)-r.c;var t=e._R(2);e.l+=4;var a=e._R(1);e.l+=3;if(a&7)r.level=a&7;if(a&32)r.hidden=true;if(a&64)r.hpt=t/20;return r}function pi(e){var r=Xn(e);if(r.type!=2211)throw new Error("Invalid Future Record "+r.type);var t=e._R(4);return t!==0}function bi(e){e._R(2);return e._R(4)}function mi(e,r,t){var a=0;if(!(t&&t.biff==2)){a=e._R(2)}var n=e._R(2);if(t&&t.biff==2){a=1-(n>>15);n&=32767}var i={Unsynced:a&1,DyZero:(a&2)>>1,ExAsc:(a&4)>>2,ExDsc:(a&8)>>3};return[i,n]}function gi(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),l=e._R(2);var c=e._R(2),f=e._R(2);return{Pos:[r,t],Dim:[a,n],Flags:i,CurTab:s,FirstTab:l,Selected:c,TabRatio:f}}function Ei(){var e=Lr(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 Si(e,r,t){if(t&&t.biff>=2&&t.biff<8)return{};var a=e._R(2);return{RTL:a&64}}function ki(e){var r=Lr(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=In(e,0,t);return a}function Bi(e){var r=Vn(e);r.isst=e._R(4);return r}function Ci(e,r,t){var a=e.l+r;var n=Vn(e,6);if(t.biff==2)e.l++;var i=Rn(e,a-e.l,t);n.val=i;return n}function Ti(e,r,t,a){var n=!a||a.biff==8;var i=Lr(6+2+ +n+(1+n)*t.length);Hn(e,r,0,i);i._W(2,t.length);if(n)i._W(1,1);i._W((1+n)*t.length,t,n?"utf16le":"sbcs");return i}function Ii(e,r,t){var a=e._R(2);var n=Fn(e,0,t);return[a,n]}var xi=Fn;function Ai(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 l=e._R(2),c=e._R(2);e.l=a;return{s:{r:i,c:l},e:{r:s,c:c}}}function Ri(e,r){var t=r.biff==8||!r.biff?4:2;var a=Lr(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 Fi(e){var r=e._R(2),t=e._R(2);var a=jn(e);return{r:r,c:t,ixfe:a[0],rknum:a[1]}}function Di(e,r){var t=e.l+r-2;var a=e._R(2),n=e._R(2);var i=[];while(e.l<t)i.push(jn(e));if(e.l!==t)throw new Error("MulRK read error");var s=e._R(2);if(i.length!=s-n+1)throw new Error("MulRK length mismatch");return{r:a,c:n,C:s,rkrec:i}}function _i(e,r){var t=e.l+r-2;var a=e._R(2),n=e._R(2);var i=[];while(e.l<t)i.push(e._R(2));if(e.l!==t)throw new Error("MulBlank read error");var s=e._R(2);if(i.length!=s-n+1)throw new Error("MulBlank length mismatch");return{r:a,c:n,C:s,ixfe:i}}function Oi(e,r,t,a){var n={};var i=e._R(4),s=e._R(4);var l=e._R(4),c=e._R(2);n.patternType=fa[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=l&127;n.icvBottom=l>>7&127;n.icvDiag=l>>14&127;n.dgDiag=l>>21&15;n.icvFore=c&127;n.icvBack=c>>7&127;n.fsxButton=c>>14&1;return n}function yi(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=Oi(e,r,a.fStyle,t);return a}function Pi(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 Ni(e){var r=Lr(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 Li(e,r,t){var a=Vn(e,6);if(t.biff==2)++e.l;var n=Cn(e,2);a.val=n;a.t=n===true||n===false?"b":"e";return a}function Mi(e,r,t,a,n){var i=Lr(8);Hn(e,r,0,i);Tn(t,n,i);return i}function Ui(e){var r=Vn(e,6);var t=Nt(e,8);r.val=t;return r}function Wi(e,r,t){var a=Lr(14);Hn(e,r,0,a);Lt(t,a);return a}var Vi=Gn;function Hi(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=An(e,i);var l=[];while(a>e.l)l.push(Rn(e));return[i,n,s,l]}function Xi(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=Kn(e,r-2,t);i.body=n||e._R(r-2);if(typeof n==="string")i.Name=n;return i}var Gi=["_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 zi(e,r,t){var a=e.l+r;var n=e._R(2);var i=e._R(1);var s=e._R(1);var l=e._R(t&&t.biff==2?1:2);var c=0;if(!t||t.biff>=5){if(t.biff!=5)e.l+=2;c=e._R(2);if(t.biff==5)e.l+=2;e.l+=4}var f=An(e,s,t);if(n&32)f=Gi[f.charCodeAt(0)];var o=a-e.l;if(t&&t.biff==2)--o;var u=a==e.l||l===0?[]:qo(e,o,t,l);return{chKey:i,Name:f,itab:c,rgce:u}}function ji(e,r,t){if(t.biff<8)return Ki(e,r,t);var a=[],n=e.l+r,i=e._R(t.biff>8?4:2);while(i--!==0)a.push(zn(e,t.biff>8?12:6,t));if(e.l!=n)throw new Error("Bad ExternSheet: "+e.l+" != "+n);return a}function Ki(e,r,t){if(e[e.l+1]==3)e[e.l]++;var a=In(e,r,t);return a.charCodeAt(0)==3?a.slice(1):a}function Yi(e,r,t){if(t.biff<8){e.l+=r;return}var a=e._R(2);var n=e._R(2);var i=An(e,a,t);var s=An(e,n,t);return[i,s]}function $i(e,r,t){var a=Qn(e,6);e.l++;var n=e._R(1);r-=8;return[eu(e,r,t),n,a]}function Qi(e,r,t){var a=Jn(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,Jo(e,r,t,a)]}function Ji(e){var r=e._R(4)!==0;var t=e._R(4)!==0;var a=e._R(4);return[r,t,a]}function Zi(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 l=Fn(e,0,t);if(t.biff<8)e._R(1);return[{r:a,c:n},l,s,i]}function qi(e,r,t){return Zi(e,r,t)}function es(e,r){var t=[];var a=e._R(2);while(a--)t.push(Yn(e,r));return t}function rs(e){var r=Lr(2+e.length*8);r._W(2,e.length);for(var t=0;t<e.length;++t)$n(e[t],r);return r}function ts(e,r,t){if(t&&t.biff<8)return ns(e,r,t);var a=Zn(e,22);var n=ai(e,r-22,a[1]);return{cmo:a,ft:n}}var as=[];as[8]=function(e,r){var t=e.l+r;e.l+=10;var a=e._R(2);e.l+=4;e.l+=2;e.l+=2;e.l+=2;e.l+=4;var n=e._R(1);e.l+=n;e.l=t;return{fmt:a}};function ns(e,r,t){e.l+=4;var a=e._R(2);var n=e._R(2);var i=e._R(2);e.l+=2;e.l+=2;e.l+=2;e.l+=2;e.l+=2;e.l+=2;e.l+=2;e.l+=2;e.l+=2;e.l+=6;r-=36;var s=[];s.push((as[a]||Nr)(e,r,t));return{cmo:[n,a,i],ft:s}}function is(e,r,t){var a=e.l;var n="";try{e.l+=4;var i=(t.lastobj||{cmo:[0,0]}).cmo[1];var s;if([0,5,7,11,12,14].indexOf(i)==-1)e.l+=6;else s=_n(e,6,t);var l=e._R(2);e._R(2);kn(e,2);var c=e._R(2);e.l+=c;for(var f=1;f<e.lens.length-1;++f){if(e.l-a!=e.lens[f])throw new Error("TxO: bad continue record");var o=e[e.l];var u=An(e,e.lens[f+1]-e.lens[f]-1);n+=u;if(n.length>=(o?l:2*l))break}if(n.length!==l&&n.length!==l*2){throw new Error("cchText: "+l+" != "+n.length)}e.l=a+r;return{t:n}}catch(h){e.l=a+r;return{t:n}}}function ss(e,r){var t=Yn(e,8);e.l+=16;var a=Ln(e,r-24);return[t,a]}function ls(e){var r=Lr(24);var t=tt(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 I([r,Mn(e[1])])}function cs(e,r){e._R(2);var t=Yn(e,8);var a=e._R((r-10)/2,"dbcs-cont");a=a.replace(x,"");return[t,a]}function fs(e){var r=e[1].Tooltip;var t=Lr(10+2*(r.length+1));t._W(2,2048);var a=tt(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;n<r.length;++n)t._W(2,r.charCodeAt(n));t._W(2,0);return t}function os(e){var r=[0,0],t;t=e._R(2);r[0]=ca[t]||t;t=e._R(2);r[1]=ca[t]||t;return r}function us(e){if(!e)e=Lr(4);e._W(2,1);e._W(2,1);return e}function hs(e){var r=e._R(2);var t=[];while(r-- >0)t.push(Wn(e,8));return t}function ds(e){var r=e._R(2);var t=[];while(r-- >0)t.push(Wn(e,8));return t}function vs(e){e.l+=2;var r={cxfs:0,crc:0};r.cxfs=e._R(2);r.crc=e._R(4);return r}function ps(e,r,t){if(!t.cellStyles)return Nr(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 l=e._R(a);var c=e._R(2);if(a==2)e.l+=2;return{s:n,e:i,w:s,ixfe:l,flags:c}}function bs(e){var r={};e.l+=16;r.header=Nt(e,8);r.footer=Nt(e,8);e.l+=2;return r}function ms(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 gs(e){var r=Lr(2*e);for(var t=0;t<e;++t)r._W(2,t+1);return r}var Es=Vn;var Ss=Bn;var ks=Rn;function ws(e){var r=e._R(2);var t=e._R(2);var a=e._R(4);var n={fmt:r,env:t,len:a,data:e.slice(e.l,e.l+a)};e.l+=a;return n}function Bs(e,r,t){var a=Vn(e,6);++e.l;var n=Fn(e,r-7,t);a.t="str";a.val=n;return a}function Cs(e){var r=Vn(e,6);++e.l;var t=Nt(e,8);r.t="n";r.val=t;return r}function Ts(e,r,t){var a=Lr(15);Pv(a,e,r);a._W(8,t,"f");return a}function Is(e){var r=Vn(e,6);++e.l;var t=e._R(2);r.t="n";r.val=t;return r}function xs(e,r,t){var a=Lr(9);Pv(a,e,r);a._W(2,t);return a}function As(e){var r=e._R(1);if(r===0){e.l++;return""}return e._R(r,"sbcs-cont")}function Rs(e,r){e.l+=6;e.l+=2;e.l+=1;e.l+=3;e.l+=1;e.l+=r-13}function Fs(e,r,t){var a=e.l+r;var n=Vn(e,6);var i=e._R(2);var s=An(e,i,t);e.l=a;n.t="str";n.val=s;return n}var Ds=function(){var e={1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127,8:865,9:437,10:850,11:437,13:437,14:850,15:437,16:850,17:437,18:850,19:932,20:850,21:437,22:850,23:865,24:437,25:437,26:850,27:437,28:863,29:850,31:852,34:852,35:852,36:860,37:850,38:866,55:850,64:852,77:936,78:949,79:950,80:874,87:1252,88:1252,89:1252,255:16969};function r(r,t){var a=[];var n=S(1);switch(t.type){case"base64":n=k(g.decode(r));break;case"binary":n=k(r);break;case"buffer":;case"array":n=r;break;}Pr(n,0);var i=n._R(1);var s=false;var l=false,c=false;switch(i){case 2:;case 3:break;case 48:l=true;s=true;break;case 49:l=true;break;case 131:s=true;break;case 139:s=true;break;case 140:s=true;c=true;break;case 245:s=true;break;default:throw new Error("DBF Unsupported Version: "+i.toString(16));}var f=0,o=0;if(i==2)f=n._R(2);n.l+=3;if(i!=2)f=n._R(4);if(i!=2)o=n._R(2);var u=n._R(2);var h=1252;if(i!=2){n.l+=16;n._R(1);if(n[n.l]!==0)h=e[n[n.l]];n.l+=1;n.l+=2}if(c)n.l+=36;var d=[],v={};var p=o-10-(l?264:0),b=c?32:11;while(i==2?n.l<n.length&&n[n.l]!=13:n.l<p){v={};v.name=cptable.utils.decode(h,n.slice(n.l,n.l+b)).replace(/[\u0000\r\n].*$/g,"");n.l+=b;v.type=String.fromCharCode(n._R(1));if(i!=2&&!c)v.offset=n._R(4);v.len=n._R(1);if(i==2)v.offset=n._R(2);v.dec=n._R(1);if(v.name.length)d.push(v);if(i!=2)n.l+=c?13:14;switch(v.type){case"B":if((!l||v.len!=8)&&t.WTF)console.log("Skipping "+v.name+":"+v.type);break;case"G":;case"P":if(t.WTF)console.log("Skipping "+v.name+":"+v.type);break;case"C":;case"D":;case"F":;case"I":;case"L":;case"M":;case"N":;case"O":;case"T":;case"Y":;case"0":;case"@":;case"+":break;default:throw new Error("Unknown Field Type: "+v.type);}}if(n[n.l]!==13)n.l=o-1;else if(i==2)n.l=521;if(i!=2){if(n._R(1)!==13)throw new Error("DBF Terminator not found "+n.l+" "+n[n.l]);n.l=o}var m=0,E=0;a[0]=[];for(E=0;E!=d.length;++E)a[0][E]=d[E].name;while(f-- >0){if(n[n.l]===42){n.l+=u;continue}++n.l;a[++m]=[];E=0;for(E=0;E!=d.length;++E){var w=n.slice(n.l,n.l+d[E].len);n.l+=d[E].len;Pr(w,0);var B=cptable.utils.decode(h,w);switch(d[E].type){case"C":a[m][E]=cptable.utils.decode(h,w);a[m][E]=a[m][E].trim();break;case"D":if(B.length===8)a[m][E]=new Date(+B.slice(0,4),+B.slice(4,6)-1,+B.slice(6,8));else a[m][E]=B;break;case"F":a[m][E]=parseFloat(B.trim());break;case"+":;case"I":a[m][E]=c?w._R(-4,"i")^2147483648:w._R(4,"i");break;case"L":switch(B.toUpperCase()){case"Y":;case"T":a[m][E]=true;break;case"N":;case"F":a[m][E]=false;break;case" ":;case"?":a[m][E]=false;break;default:throw new Error("DBF Unrecognized L:|"+B+"|");}break;case"M":if(!s)throw new Error("DBF Unexpected MEMO for type "+i.toString(16));a[m][E]="##MEMO##"+(c?parseInt(B.trim(),10):w._R(4));break;case"N":a[m][E]=+B.replace(/\u0000/g,"").trim();break;case"@":a[m][E]=new Date(w._R(-8,"f")-621356832e5);break;case"T":a[m][E]=new Date((w._R(4)-2440588)*864e5+w._R(4));break;case"Y":a[m][E]=w._R(4,"i")/1e4;break;case"O":a[m][E]=-w._R(-8,"f");break;case"B":if(l&&d[E].len==8){a[m][E]=w._R(8,"f");break};case"G":;case"P":w.l+=d[E].len;break;case"0":if(d[E].name==="_NullFlags")break;default:throw new Error("DBF Unsupported data type "+d[E].type);}}}if(i!=2)if(n.l<n.length&&n[n.l++]!=26)throw new Error("DBF EOF Marker missing "+(n.l-1)+" of "+n.length+" "+n[n.l-1].toString(16));return a}function t(e,t){var a=t||{};if(!a.dateNF)a.dateNF="yyyymmdd";return ut(r(e,a),a)}function a(e,r){try{return ft(t(e,r),r)}catch(a){if(r&&r.WTF)throw a}return{SheetNames:[],Sheets:{}}}var n={B:8,C:250,L:1,D:8,"?":0,"":0};function i(e,r){var t=r||{};if(t.type=="string")throw new Error("Cannot write DBF to JS string");var a=Ur();var i=Xp(e,{header:1,raw:true,cellDates:true});var s=i[0],l=i.slice(1);var c=0,f=0,o=0,u=1;for(c=0;c<s.length;++c){if(c==null)continue;++o;if(typeof s[c]!=="string")throw new Error("DBF Invalid column name");if(s.indexOf(s[c])!==c)for(f=0;f<1024;++f)if(s.indexOf(s[c]+"_"+f)==-1){s[c]+="_"+f;break}}var h=st(e["!ref"]);var d=[];for(c=0;c<=h.e.c-h.s.c;++c){var v=[];for(f=0;f<l.length;++f){if(l[f][c]!=null)v.push(l[f][c])}if(v.length==0||s[c]==null){d[c]="?";continue}var p="",b="";for(f=0;f<v.length;++f){switch(typeof v[f]){case"number":b="B";break;case"string":b="C";break;case"boolean":b="L";break;case"object":b=v[f]instanceof Date?"D":"C";break;default:b="C";}p=p&&p!=b?"C":b;if(p=="C")break}u+=n[p]||0;d[c]=p}var m=a.next(32);m._W(4,318902576);m._W(4,l.length);m._W(2,296+32*o);m._W(2,u);for(c=0;c<4;++c)m._W(4,0);m._W(4,768);for(c=0,f=0;c<s.length;++c){if(s[c]==null)continue;var g=a.next(32);var E=(s[c].slice(-10)+"\0\0\0\0\0\0\0\0\0\0\0").slice(0,11);g._W(1,E,"sbcs");g._W(1,d[c]=="?"?"C":d[c],"sbcs");g._W(4,f);g._W(1,n[d[c]]||0);g._W(1,0);g._W(1,2);g._W(4,0);g._W(1,0);g._W(4,0);g._W(4,0);f+=n[d[c]]||0}var S=a.next(264);S._W(4,13);for(c=0;c<65;++c)S._W(4,0);for(c=0;c<l.length;++c){var k=a.next(u);k._W(1,0);for(f=0;f<s.length;++f){if(s[f]==null)continue;switch(d[f]){case"L":k._W(1,l[c][f]==null?63:l[c][f]?84:70);break;case"B":k._W(8,l[c][f]||0,"f");break;case"D":if(!l[c][f])k._W(8,"00000000","sbcs");else{k._W(4,("0000"+l[c][f].getFullYear()).slice(-4),"sbcs");k._W(2,("00"+(l[c][f].getMonth()+1)).slice(-2),"sbcs");k._W(2,("00"+l[c][f].getDate()).slice(-2),"sbcs")}break;case"C":var w=String(l[c][f]||"");k._W(1,w,"sbcs");for(o=0;o<250-w.length;++o)k._W(1,32);break;}}}a.next(1)._W(1,26);return a.end()}return{to_workbook:a,to_sheet:t,from_sheet:i}}();var _s=function(){function e(e,t){switch(t.type){case"base64":return r(g.decode(e),t);case"binary":return r(e,t);case"buffer":return r(e.toString("binary"),t);case"array":return r(ee(e),t);}throw new Error("Unrecognized type "+t.type)}function r(e,r){var t=e.split(/[\n\r]+/),a=-1,n=-1,i=0,s=0,l=[];var c=[];var f=null;var o={},u=[],h=[],d=[];var v=0,p;for(;i!==t.length;++i){v=0;var b=t[i].trim();var m=b.replace(/;;/g,"").split(";").map(function(e){return e.replace(/\u0001/g,";")});var g=m[0],E;if(b.length>0)switch(g){case"ID":break;case"E":break;case"B":break;case"O":break;case"P":if(m[1].charAt(0)=="P")c.push(b.slice(3).replace(/;;/g,";"));break;case"C":for(s=1;s<m.length;++s)switch(m[s].charAt(0)){case"X":n=parseInt(m[s].slice(1))-1;break;case"Y":a=parseInt(m[s].slice(1))-1;n=0;for(p=l.length;p<=a;++p)l[p]=[];break;case"K":E=m[s].slice(1);if(E.charAt(0)==='"')E=E.slice(1,E.length-1);else if(E==="TRUE")E=true;else if(E==="FALSE")E=false;else if(!isNaN(ae(E))){E=ae(E);if(f!==null&&R.is_date(f))E=$(E)}else if(!isNaN(ne(E).getDate())){E=q(E)}l[a][n]=E;f=null;break;case"E":var S=Sf(m[s].slice(1),{r:a,c:n});l[a][n]=[l[a][n],S];break;default:if(r&&r.WTF)throw new Error("SYLK bad record "+b);}break;case"F":var k=0;for(s=1;s<m.length;++s)switch(m[s].charAt(0)){case"X":n=parseInt(m[s].slice(1))-1;++k;break;case"Y":a=parseInt(m[s].slice(1))-1;for(p=l.length;p<=a;++p)l[p]=[];break;case"M":v=parseInt(m[s].slice(1))/20;break;case"F":break;case"P":f=c[parseInt(m[s].slice(1))];break;case"S":break;case"D":break;case"N":break;case"W":d=m[s].slice(1).split(" ");for(p=parseInt(d[0],10);p<=parseInt(d[1],10);++p){v=parseInt(d[2],10);h[p-1]=v===0?{hidden:true}:{wch:v};Ml(h[p-1])}break;case"C":n=parseInt(m[s].slice(1))-1;if(!h[n])h[n]={};break;case"R":a=parseInt(m[s].slice(1))-1;if(!u[a])u[a]={};if(v>0){u[a].hpt=v;u[a].hpx=Hl(v)}else if(v===0)u[a].hidden=true;break;default:if(r&&r.WTF)throw new Error("SYLK bad record "+b);}if(k<1)f=null;break;default:if(r&&r.WTF)throw new Error("SYLK bad record "+b);}}if(u.length>0)o["!rows"]=u;if(h.length>0)o["!cols"]=h;return[l,o]}function t(r,t){var a=e(r,t);var n=a[0],i=a[1];var s=ut(n,t);V(i).forEach(function(e){s[e]=i[e]});return s}function a(e,r){return ft(t(e,r),r)}function n(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"+wf(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 i(e,r){r.forEach(function(r,t){var a="F;W"+(t+1)+" "+(t+1)+" ";if(r.hidden)a+="0";else{if(typeof r.width=="number")r.wpx=Ol(r.width);if(typeof r.wpx=="number")r.wch=yl(r.wpx);if(typeof r.wch=="number")a+=Math.round(r.wch)}if(a.charAt(a.length-1)!=" ")e.push(a)})}function s(e,r){r.forEach(function(r,t){var a="F;";if(r.hidden)a+="M0;";else if(r.hpt)a+="M"+20*r.hpt+";";else if(r.hpx)a+="M"+20*Vl(r.hpx)+";";if(a.length>2)e.push(a+"R"+(t+1))})}function l(e,r){var t=["ID;PWXL;N;E"],a=[];var l=st(e["!ref"]),c;var f=Array.isArray(e);var o="\r\n";t.push("P;PGeneral");t.push("F;P0;DG0G8;M255");if(e["!cols"])i(t,e["!cols"]);if(e["!rows"])s(t,e["!rows"]);t.push("B;Y"+(l.e.r-l.s.r+1)+";X"+(l.e.c-l.s.c+1)+";D"+[l.s.c,l.s.r,l.e.c,l.e.r].join(" "));for(var u=l.s.r;u<=l.e.r;++u){for(var h=l.s.c;h<=l.e.c;++h){var d=at({r:u,c:h});c=f?(e[u]||[])[h]:e[d];if(!c||c.v==null&&(!c.f||c.F))continue;a.push(n(c,e,u,h,r))}}return t.join(o)+o+a.join(o)+o+"E"+o}return{to_workbook:a,to_sheet:t,from_sheet:l}}();var Os=function(){function e(e,t){switch(t.type){case"base64":return r(g.decode(e),t);case"binary":return r(e,t);case"buffer":return r(e.toString("binary"),t);case"array":return r(ee(e),t);}throw new Error("Unrecognized type "+t.type)}function r(e){var r=e.split("\n"),t=-1,a=-1,n=0,i=[];for(;n!==r.length;++n){if(r[n].trim()==="BOT"){i[++t]=[];a=0;continue}if(t<0)continue;var s=r[n].trim().split(",");var l=s[0],c=s[1];++n;var f=r[n].trim();switch(+l){case-1:if(f==="BOT"){i[++t]=[];a=0;continue}else if(f!=="EOD")throw new Error("Unrecognized DIF special command "+f);break;case 0:if(f==="TRUE")i[t][a]=true;else if(f==="FALSE")i[t][a]=false;else if(!isNaN(ae(c)))i[t][a]=ae(c);else if(!isNaN(ne(c).getDate()))i[t][a]=q(c);else i[t][a]=c;++a;break;case 1:f=f.slice(1,f.length-1);i[t][a++]=f!==""?f:null;break;}if(f==="EOD")break}return i}function t(r,t){return ut(e(r,t),t)}function a(e,r){return ft(t(e,r),r)}var n=function(){var e=function t(e,r,a,n,i){e.push(r);e.push(a+","+n);e.push('"'+i.replace(/"/g,'""')+'"')};var r=function a(e,r,t,n){e.push(r+","+t);e.push(r==1?'"'+n.replace(/"/g,'""')+'"':n)};return function n(t){var a=[];var n=st(t["!ref"]),i;var s=Array.isArray(t);e(a,"TABLE",0,1,"sheetjs");e(a,"VECTORS",0,n.e.r-n.s.r+1,"");e(a,"TUPLES",0,n.e.c-n.s.c+1,"");e(a,"DATA",0,0,"");for(var l=n.s.r;l<=n.e.r;++l){r(a,-1,0,"BOT");for(var c=n.s.c;c<=n.e.c;++c){var f=at({r:l,c:c});i=s?(t[l]||[])[c]:t[f];if(!i){r(a,1,0,"");continue}switch(i.t){case"n":var o=m?i.w:i.v;if(!o&&i.v!=null)o=i.v;if(o==null){if(m&&i.f&&!i.F)r(a,1,0,"="+i.f);else r(a,1,0,"")}else r(a,0,o,"V");break;case"b":r(a,0,i.v?1:0,i.v?"TRUE":"FALSE");break;case"s":r(a,1,0,!m||isNaN(i.v)?i.v:'="'+i.v+'"');break;case"d":if(!i.w)i.w=R.format(i.z||R._table[14],Y(q(i.v)));if(m)r(a,0,i.w,"V");else r(a,1,0,i.w);break;default:r(a,1,0,"");}}}r(a,-1,0,"EOD");var u="\r\n";var h=a.join(u);return h}}();return{to_workbook:a,to_sheet:t,from_sheet:n}}();var ys=function(){function e(e){return e.replace(/\\b/g,"\\").replace(/\\c/g,":").replace(/\\n/g,"\n")}function r(e){return e.replace(/\\/g,"\\b").replace(/:/g,"\\c").replace(/\n/g,"\\n")}function t(r){var t=r.split("\n"),a=-1,n=-1,i=0,s=[];for(;i!==t.length;++i){var l=t[i].trim().split(":");if(l[0]!=="cell")continue;var c=tt(l[1]);if(s.length<=c.r)for(a=s.length;a<=c.r;++a)if(!s[a])s[a]=[];a=c.r;n=c.c;switch(l[2]){case"t":s[a][n]=e(l[3]);break;case"v":s[a][n]=+l[3];break;case"vtf":var f=l[l.length-1];case"vtc":switch(l[3]){case"nl":s[a][n]=+l[4]?true:false;break;default:s[a][n]=+l[4];break;}if(l[2]=="vtf")s[a][n]=[s[a][n],f];}}return s}function a(e,r){return ut(t(e,r),r)}function n(e,r){return ft(a(e,r),r)}var i=["socialcalc:version:1.5","MIME-Version: 1.0","Content-Type: multipart/mixed; boundary=SocialCalcSpreadsheetControlSave"].join("\n");var s=["--SocialCalcSpreadsheetControlSave","Content-type: text/plain; charset=UTF-8"].join("\n")+"\n";var l=["# SocialCalc Spreadsheet Control Save","part:sheet"].join("\n");var c="--SocialCalcSpreadsheetControlSave--";function f(e){if(!e||!e["!ref"])return"";var t=[],a=[],n,i="";var s=nt(e["!ref"]);var l=Array.isArray(e);for(var c=s.s.r;c<=s.e.r;++c){for(var f=s.s.c;f<=s.e.c;++f){i=at({r:c,c:f});n=l?(e[c]||[])[f]:e[i];if(!n||n.v==null||n.t==="z")continue;a=["cell",i,"t"];switch(n.t){case"s":;case"str":a.push(r(n.v));break;case"n":if(!n.f){a[2]="v";a[3]=n.v}else{a[2]="vtf";a[3]="n";a[4]=n.v;a[5]=r(n.f)}break;case"b":a[2]="vt"+(n.f?"f":"c");a[3]="nl";a[4]=n.v?"1":"0";a[5]=r(n.f||(n.v?"TRUE":"FALSE"));break;case"d":var o=Y(q(n.v));a[2]="vtc";a[3]="nd";a[4]=""+o;a[5]=n.w||R.format(n.z||R._table[14],o);break;case"e":continue;}t.push(a.join(":"))}}t.push("sheet:c:"+(s.e.c-s.s.c+1)+":r:"+(s.e.r-s.s.r+1)+":tvf:1");t.push("valueformat:1:text-wiki");return t.join("\n")}function o(e){return[i,s,l,s,f(e),c].join("\n")}return{to_workbook:n,to_sheet:a,from_sheet:o}}();var Ps=function(){function e(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(ae(e)))r[t][a]=ae(e);else if(!isNaN(ne(e).getDate()))r[t][a]=q(e);else r[t][a]=e}function r(r,t){var a=t||{};var n=[];if(!r||r.length===0)return n;var i=r.split(/[\r\n]/);var s=i.length-1;while(s>=0&&i[s].length===0)--s;var l=10,c=0;var f=0;for(;f<=s;++f){c=i[f].indexOf(" ");if(c==-1)c=i[f].length;else c++;l=Math.max(l,c)}for(f=0;f<=s;++f){n[f]=[];var o=0;e(i[f].slice(0,l).trim(),n,f,o,a);for(o=1;o<=(i[f].length-l)/10+1;++o)e(i[f].slice(l+(o-1)*10,l+o*10).trim(),n,f,o,a)}return n}var t={44:",",9:"\t",59:";"};var a={44:3,9:2,59:1};function n(e){var r={},n=false,i=0,s=0;for(;i<e.length;++i){if((s=e.charCodeAt(i))==34)n=!n;else if(!n&&s in t)r[s]=(r[s]||0)+1}s=[];for(i in r)if(r.hasOwnProperty(i)){s.push([r[i],i])}if(!s.length){r=a;for(i in r)if(r.hasOwnProperty(i)){
|
||
s.push([r[i],i])}}s.sort(function(e,r){return e[0]-r[0]||a[e[1]]-a[r[1]]});return t[s.pop()[1]]}function i(e,r){var t=r||{};var a="";if(b!=null&&t.dense==null)t.dense=b;var i=t.dense?[]:{};var s={s:{c:0,r:0},e:{c:0,r:0}};if(e.slice(0,4)=="sep="&&e.charCodeAt(5)==10){a=e.charAt(4);e=e.slice(6)}else a=n(e.slice(0,1024));var l=0,c=0,f=0;var o=0,u=0,h=a.charCodeAt(0),d=false,v=0;e=e.replace(/\r\n/gm,"\n");var p=t.dateNF!=null?O(t.dateNF):null;function m(){var r=e.slice(o,u);var a={};if(r.charAt(0)=='"'&&r.charAt(r.length-1)=='"')r=r.slice(1,-1).replace(/""/g,'"');if(r.length===0)a.t="z";else if(t.raw){a.t="s";a.v=r}else if(r.trim().length===0){a.t="s";a.v=r}else if(r.charCodeAt(0)==61){if(r.charCodeAt(1)==34&&r.charCodeAt(r.length-1)==34){a.t="s";a.v=r.slice(2,-1).replace(/""/g,'"')}else if(Tf(r)){a.t="n";a.f=r.slice(1)}else{a.t="s";a.v=r}}else if(r=="TRUE"){a.t="b";a.v=true}else if(r=="FALSE"){a.t="b";a.v=false}else if(!isNaN(f=ae(r))){a.t="n";if(t.cellText!==false)a.w=r;a.v=f}else if(!isNaN(ne(r).getDate())||p&&r.match(p)){a.z=t.dateNF||R._table[14];var n=0;if(p&&r.match(p)){r=y(r,t.dateNF,r.match(p)||[]);n=1}if(t.cellDates){a.t="d";a.v=q(r,n)}else{a.t="n";a.v=Y(q(r,n))}if(t.cellText!==false)a.w=R.format(a.z,a.v instanceof Date?Y(a.v):a.v);if(!t.cellNF)delete a.z}else{a.t="s";a.v=r}if(a.t=="z"){}else if(t.dense){if(!i[l])i[l]=[];i[l][c]=a}else i[at({c:c,r:l})]=a;o=u+1;if(s.e.c<c)s.e.c=c;if(s.e.r<l)s.e.r=l;if(v==h)++c;else{c=0;++l}}for(;u<e.length;++u)switch(v=e.charCodeAt(u)){case 34:d=!d;break;case h:;case 10:;case 13:if(!d)m();break;default:break;}if(u-o>0)m();i["!ref"]=it(s);return i}function s(e,t){if(e.slice(0,4)=="sep=")return i(e,t);if(e.indexOf("\t")>=0||e.indexOf(",")>=0||e.indexOf(";")>=0)return i(e,t);return ut(r(e,t),t)}function l(e,r){var t="",a=r.type=="string"?[0,0,0,0]:Cp(e,r);switch(r.type){case"base64":t=g.decode(e);break;case"binary":t=e;break;case"buffer":t=e.toString("binary");break;case"array":t=ee(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=Ne(t.slice(3));else if((r.type=="binary"||r.type=="buffer")&&typeof cptable!=="undefined"&&r.codepage)t=cptable.utils.decode(r.codepage,cptable.utils.encode(1252,t));if(t.slice(0,19)=="socialcalc:version:")return ys.to_sheet(r.type=="string"?t:Ne(t),r);return s(t,r)}function c(e,r){return ft(l(e,r),r)}function f(e){var r=[];var t=st(e["!ref"]),a;var n=Array.isArray(e);for(var i=t.s.r;i<=t.e.r;++i){var s=[];for(var l=t.s.c;l<=t.e.c;++l){var c=at({r:i,c:l});a=n?(e[i]||[])[l]:e[c];if(!a||a.v==null){s.push(" ");continue}var f=(a.w||(ct(a),a.w)||"").slice(0,10);while(f.length<10)f+=" ";s.push(f+(l===0?" ":""))}r.push(s.join(""))}return r.join("\n")}return{to_workbook:c,to_sheet:l,from_sheet:f}}();function Ns(e,r){var t=r||{},a=!!t.WTF;t.WTF=true;try{var n=_s.to_workbook(e,t);t.WTF=a;return n}catch(i){t.WTF=a;if(!i.message.match(/SYLK bad record ID/)&&a)throw i;return Ps.to_workbook(e,r)}}var Ls=function(){function e(e,r,t){if(!e)return;Pr(e,e.l||0);var a=t.Enum||E;while(e.l<e.length){var n=e._R(2);var i=a[n]||a[255];var s=e._R(2);var l=e.l+s;var c=(i.f||Nr)(e,s,t);e.l=l;if(r(c,i.n,n))return}}function r(e,r){switch(r.type){case"base64":return t(k(g.decode(e)),r);case"binary":return t(k(e),r);case"buffer":;case"array":return t(e,r);}throw"Unsupported type "+r.type}function t(r,t){if(!r)return r;var a=t||{};if(b!=null&&a.dense==null)a.dense=b;var n=a.dense?[]:{},i="Sheet1",s=0;var l={},c=[i];var f={s:{r:0,c:0},e:{r:0,c:0}};if(r[2]==2)a.Enum=E;else if(r[2]==26)a.Enum=S;else if(r[2]==14){a.Enum=S;a.qpro=true;r.l=0}else throw new Error("Unrecognized LOTUS BOF "+r[2]);e(r,function(e,t,o){if(r[2]==2)switch(o){case 0:a.vers=e;if(e>=4096)a.qpro=true;break;case 6:f=e;break;case 15:if(!a.qpro)e[1].v=e[1].v.slice(1);case 13:;case 14:;case 16:;case 51:if(o==14&&(e[2]&112)==112&&(e[2]&15)>1&&(e[2]&15)<15){e[1].z=a.dateNF||R._table[14];if(a.cellDates){e[1].t="d";e[1].v=$(e[1].v)}}if(a.dense){if(!n[e[0].r])n[e[0].r]=[];n[e[0].r][e[0].c]=e[1]}else n[at(e[0])]=e[1];break;}else switch(o){case 22:e[1].v=e[1].v.slice(1);case 23:;case 24:;case 25:;case 37:;case 39:;case 40:if(e[3]>s){n["!ref"]=it(f);l[i]=n;n=a.dense?[]:{};f={s:{r:0,c:0},e:{r:0,c:0}};s=e[3];i="Sheet"+(s+1);c.push(i)}if(a.dense){if(!n[e[0].r])n[e[0].r]=[];n[e[0].r][e[0].c]=e[1]}else n[at(e[0])]=e[1];if(f.e.c<e[0].c)f.e.c=e[0].c;if(f.e.r<e[0].r)f.e.r=e[0].r;break;default:break;}},a);n["!ref"]=it(f);l[i]=n;return{SheetNames:c,Sheets:l}}function a(e){var r={s:{c:0,r:0},e:{c:0,r:0}};r.s.c=e._R(2);r.s.r=e._R(2);r.e.c=e._R(2);r.e.r=e._R(2);if(r.s.c==65535)r.s.c=r.e.c=r.s.r=r.e.r=0;return r}function n(e,r,t){var a=[{c:0,r:0},{t:"n",v:0},0];if(t.qpro&&t.vers!=20768){a[0].c=e._R(1);e.l++;a[0].r=e._R(2);e.l+=2}else{a[2]=e._R(1);a[0].c=e._R(2);a[0].r=e._R(2)}return a}function i(e,r,t){var a=e.l+r;var i=n(e,r,t);i[1].t="s";if(t.vers==20768){e.l++;var s=e._R(1);i[1].v=e._R(s,"utf8");return i}if(t.qpro)e.l++;i[1].v=e._R(a-e.l,"cstr");return i}function s(e,r,t){var a=n(e,r,t);a[1].v=e._R(2,"i");return a}function l(e,r,t){var a=n(e,r,t);a[1].v=e._R(8,"f");return a}function c(e,r,t){var a=e.l+r;var i=n(e,r,t);i[1].v=e._R(8,"f");if(t.qpro)e.l=a;else{var s=e._R(2);e.l+=s}return i}function f(e){var r=[{c:0,r:0},{t:"n",v:0},0];r[0].r=e._R(2);r[3]=e[e.l++];r[0].c=e[e.l++];return r}function o(e,r){var t=f(e,r);t[1].t="s";t[1].v=e._R(r-4,"cstr");return t}function u(e,r){var t=f(e,r);t[1].v=e._R(2);var a=t[1].v>>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=f(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:n>>>-i)+(i>-32?a<<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=f(e,r);var a=e._R(4);t[1].v=a>>6;return t}function p(e,r){var t=f(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 E={0:{n:"BOF",f:kn},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:s},14:{n:"NUMBER",f:l},15:{n:"LABEL",f:i},16:{n:"FORMULA",f:c},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:i},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:Nr}};var S={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:o},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:Nr}};return{to_workbook:r}}();var Ms=function bb(){var e=Ve("t"),r=Ve("rPr"),t=/<(?:\w+:)?r>/g,a=/<\/(?:\w+:)?r>/,n=/\r\n/g;var i=function c(e,r,t){var a={},n=65001,i="";var l=e.match(ge),c=0;if(l)for(;c!=l.length;++c){var f=ke(l[c]);switch(f[0].replace(/\w*:/g,"")){case"<condense":break;case"<extend":break;case"<shadow":if(!f.val)break;case"<shadow>":;case"<shadow/>":a.shadow=1;break;case"</shadow>":break;case"<charset":if(f.val=="1")break;n=s[parseInt(f.val,10)];break;case"<outline":if(!f.val)break;case"<outline>":;case"<outline/>":a.outline=1;break;case"</outline>":break;case"<rFont":a.name=f.val;break;case"<sz":a.sz=f.val;break;case"<strike":if(!f.val)break;case"<strike>":;case"<strike/>":a.strike=1;break;case"</strike>":break;case"<u":if(!f.val)break;switch(f.val){case"double":a.uval="double";break;case"singleAccounting":a.uval="single-accounting";break;case"doubleAccounting":a.uval="double-accounting";break;};case"<u>":;case"<u/>":a.u=1;break;case"</u>":break;case"<b":if(f.val=="0")break;case"<b>":;case"<b/>":a.b=1;break;case"</b>":break;case"<i":if(f.val=="0")break;case"<i>":;case"<i/>":a.i=1;break;case"</i>":break;case"<color":if(f.rgb)a.color=f.rgb.slice(2,8);break;case"<family":a.family=f.val;break;case"<vertAlign":i=f.val;break;case"<scheme":break;default:if(f[0].charCodeAt(1)!==47)throw"Unrecognized rich format "+f[0];}}var o=[];if(a.u)o.push("text-decoration: underline;");if(a.uval)o.push("text-underline-style:"+a.uval+";");if(a.sz)o.push("font-size:"+a.sz+";");if(a.outline)o.push("text-effect: outline;");if(a.shadow)o.push("text-shadow: auto;");r.push('<span style="'+o.join("")+'">');if(a.b){r.push("<b>");t.push("</b>")}if(a.i){r.push("<i>");t.push("</i>")}if(a.strike){r.push("<s>");t.push("</s>")}if(i=="superscript")i="sup";else if(i=="subscript")i="sub";if(i!=""){r.push("<"+i+">");t.push("</"+i+">")}t.push("</span>");return n};function l(t){var a=[[],"",[]];var s=t.match(e);if(!s)return"";a[1]=s[1];var l=t.match(r);if(l)i(l[1],a[0],a[2]);return a[0].join("")+a[1].replace(n,"<br/>")+a[2].join("")}return function f(e){return e.replace(t,"").split(a).map(l).join("")}}();var Us=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,Ws=/<(?:\w+:)?r>/;var Vs=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g;function Hs(e,r){var t=r?r.cellHTML:true;var a={};if(!e)return null;if(e.match(/^\s*<(?:\w+:)?t[^>]*>/)){a.t=Te(Ne(e.slice(e.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||""));a.r=Ne(e);if(t)a.h=De(a.t)}else if(e.match(Ws)){a.r=Ne(e);a.t=Te(Ne((e.replace(Vs,"").match(Us)||[]).join("").replace(ge,"")));if(t)a.h=Ms(a.r)}return a}var Xs=/<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/;var Gs=/<(?:\w+:)?(?:si|sstItem)>/g;var zs=/<\/(?:\w+:)?(?:si|sstItem)>/;function js(e,r){var t=[],a="";if(!e)return t;var n=e.match(Xs);if(n){a=n[2].replace(Gs,"").split(zs);for(var i=0;i!=a.length;++i){var s=Hs(a[i].trim(),r);if(s!=null)t[t.length]=s}n=ke(n[1]);t.Count=n.count;t.Unique=n.uniqueCount}return t}Sa.SST="http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings";var Ks=/^\s|\s$|[\t\n\r]/;function Ys(e,r){if(!r.bookSST)return"";var t=[be];t[t.length]=Qe("sst",null,{xmlns:qe.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="<si>";if(n.r)i+=n.r;else{i+="<t";if(!n.t)n.t="";if(n.t.match(Ks))i+=' xml:space="preserve"';i+=">"+Ae(n.t)+"</t>"}i+="</si>";t[t.length]=i}if(t.length>2){t[t.length]="</sst>";t[1]=t[1].replace("/>",">")}return t.join("")}function $s(e){return[e._R(4),e._R(4)]}function Qs(e,r){var t=[];var a=false;Mr(e,function n(e,i,s){switch(s){case 159:t.Count=e[0];t.Unique=e[1];break;case 19:t.push(e);break;case 160:return true;case 35:a=true;break;case 36:a=false;break;default:if(i.indexOf("Begin")>0){}else if(i.indexOf("End")>0){}if(!a||r.WTF)throw new Error("Unexpected record "+s+" "+i);}});return t}function Js(e,r){if(!r)r=Lr(8);r._W(4,e.Count);r._W(4,e.Unique);return r}var Zs=gt;function qs(e){var r=Ur();Wr(r,"BrtBeginSst",Js(e));for(var t=0;t<e.length;++t)Wr(r,"BrtSSTItem",Zs(e[t]));Wr(r,"BrtEndSst");return r.end()}function el(e){if(typeof cptable!=="undefined")return cptable.utils.encode(a,e);var r=[],t=e.split("");for(var n=0;n<t.length;++n)r[n]=t[n].charCodeAt(0);return r}function rl(e,r){var t={};t.Major=e._R(2);t.Minor=e._R(2);if(r>=4)e.l+=r-4;return t}function tl(e){var r={};r.id=e._R(0,"lpp4");r.R=rl(e,4);r.U=rl(e,4);r.W=rl(e,4);return r}function al(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 nl(e){var r=[];e.l+=4;var t=e._R(4);while(t-- >0)r.push(al(e));return r}function il(e){var r=[];e.l+=4;var t=e._R(4);while(t-- >0)r.push(e._R(0,"lpp4"));return r}function sl(e){var r={};e._R(4);e.l+=4;r.id=e._R(0,"lpp4");r.name=e._R(0,"lpp4");r.R=rl(e,4);r.U=rl(e,4);r.W=rl(e,4);return r}function ll(e){var r=sl(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 cl(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 fl(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 ol(e){var r=rl(e);switch(r.Minor){case 2:return[r.Minor,ul(e,r)];case 3:return[r.Minor,hl(e,r)];case 4:return[r.Minor,dl(e,r)];}throw new Error("ECMA-376 Encrypted file unrecognized Version: "+r.Minor)}function ul(e){var r=e._R(4);if((r&63)!=36)throw new Error("EncryptionInfo mismatch");var t=e._R(4);var a=cl(e,t);var n=fl(e,e.length-e.l);return{t:"Std",h:a,v:n}}function hl(){throw new Error("File is password-protected: ECMA-376 Extensible")}function dl(e){var r=["saltSize","blockSize","keyBits","hashSize","cipherAlgorithm","cipherChaining","hashAlgorithm","saltValue"];e.l+=4;var t=e._R(e.length-e.l,"utf8");var a={};t.replace(ge,function n(e){var t=ke(e);switch(we(t[0])){case"<?xml":break;case"<encryption":;case"</encryption>":break;case"<keyData":r.forEach(function(e){a[e]=t[e]});break;case"<dataIntegrity":a.encryptedHmacKey=t.encryptedHmacKey;a.encryptedHmacValue=t.encryptedHmacValue;break;case"<keyEncryptors>":;case"<keyEncryptors":a.encs=[];break;case"</keyEncryptors>":break;case"<keyEncryptor":a.uri=t.uri;break;case"</keyEncryptor>":break;case"<encryptedKey":a.encs.push(t);break;default:throw t[0];}});return a}function vl(e,r){var t={};var a=t.EncryptionVersionInfo=rl(e,4);r-=4;if(a.Minor!=2)throw new Error("unrecognized minor version code: "+a.Minor);if(a.Major>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=cl(e,n);r-=n;t.EncryptionVerifier=fl(e,r);return t}function pl(e){var r={};var t=r.EncryptionVersionInfo=rl(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 bl(e){var r=0,t;var a=el(e);var n=a.length+1,i,s;var l,c,f;t=S(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];l=(r&16384)===0?0:1;c=r<<1&32767;f=l|c;r=f^s}return r^52811}var ml=function(){var e=[187,255,255,186,255,255,185,128,0,190,15,0,191,15,0];var r=[57840,7439,52380,33984,4364,3600,61902,12606,6258,57657,54287,34041,10252,43370,20163];var t=[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 a=function(e){return(e/2|e*128)&255};var n=function(e,r){return a(e^r)};var i=function(e){var a=r[e.length-1];var n=104;for(var i=e.length-1;i>=0;--i){var s=e[i];for(var l=0;l!=7;++l){if(s&64)a^=t[n];s*=2;--n}}return a};return function(r){var t=el(r);var a=i(t);var s=t.length;var l=S(16);for(var c=0;c!=16;++c)l[c]=0;var f,o,u;if((s&1)===1){f=a>>8;l[s]=n(e[0],f);--s;f=a&255;o=t[t.length-1];l[s]=n(o,f)}while(s>0){--s;f=a>>8;l[s]=n(t[s],f);--s;f=a&255;l[s]=n(t[s],f)}s=15;u=15-t.length;while(u>0){f=a>>8;l[s]=n(e[u],f);--s;--u;f=a&255;l[s]=n(t[s],f);--s;--u}return l}}();var gl=function(e,r,t,a,n){if(!n)n=r;if(!a)a=ml(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 El=function(e){var r=0,t=ml(e);return function(e){var a=gl("",e,r,t);r=a[1];return a[0]}};function Sl(e,r,t,a){var n={key:kn(e),verificationBytes:kn(e)};if(t.password)n.verifier=bl(t.password);a.valid=n.verificationBytes===n.verifier;if(a.valid)a.insitu=El(t.password);return n}function kl(e,r,t){var a=t||{};a.Info=e._R(2);e.l-=2;if(a.Info===1)a.Data=pl(e,r);else a.Data=vl(e,r);return a}function wl(e,r,t){var a={Type:t.biff>=8?e._R(2):0};if(a.Type)kl(e,r-2,a);else Sl(e,r-2,t,a);return a}var Bl=function(){function e(e,t){switch(t.type){case"base64":return r(g.decode(e),t);case"binary":return r(e,t);case"buffer":return r(e.toString("binary"),t);case"array":return r(ee(e),t);}throw new Error("Unrecognized type "+t.type)}function r(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"]=it(n);return a}function t(r,t){return ft(e(r,t),t)}function a(e){var r=["{\\rtf1\\ansi"];var t=st(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 l=at({r:i,c:s});a=n?(e[i]||[])[s]:e[l];if(!a||a.v==null&&(!a.f||a.F))continue;r.push(" "+(a.w||(ct(a),a.w)));r.push("\\cell")}r.push("\\pard\\intbl\\row")}return r.join("")+"}"}return{to_workbook:t,to_sheet:e,from_sheet:a}}();function Cl(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 Tl(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 Il(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 l=0,c=0,f=n+i;c=s/(f>1?2-f:f);switch(n){case r:l=((t-a)/s+6)%6;break;case t:l=(a-r)/s+2;break;case a:l=(r-t)/s+4;break;}return[l/6,c,f/2]}function xl(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],l=6*r;var c;if(t!==0)switch(l|0){case 0:;case 6:c=n*l;s[0]+=n;s[1]+=c;break;case 1:c=n*(2-l);s[0]+=c;s[1]+=n;break;case 2:c=n*(l-2);s[1]+=n;s[2]+=c;break;case 3:c=n*(4-l);s[1]+=c;s[2]+=n;break;case 4:c=n*(l-4);s[2]+=n;s[0]+=c;break;case 5:c=n*(6-l);s[2]+=c;s[0]+=n;break;}for(var f=0;f!=3;++f)s[f]=Math.round(s[f]*255);return s}function Al(e,r){if(r===0)return e;var t=Il(Cl(e));if(r<0)t[2]=t[2]*(1+r);else t[2]=1-(1-t[2])*(1-r);return Tl(xl(t))}var Rl=6,Fl=15,Dl=1,_l=Rl;function Ol(e){return Math.floor((e+Math.round(128/_l)/256)*_l)}function yl(e){return Math.floor((e-5)/_l*100+.5)/100}function Pl(e){return Math.round((e*_l+5)/_l*256)/256}function Nl(e){return Pl(yl(Ol(e)))}function Ll(e){var r=Math.abs(e-Nl(e)),t=_l;if(r>.005)for(_l=Dl;_l<Fl;++_l)if(Math.abs(e-Nl(e))<=r){r=Math.abs(e-Nl(e));t=_l}_l=t}function Ml(e){if(e.width){e.wpx=Ol(e.width);e.wch=yl(e.wpx);e.MDW=_l}else if(e.wpx){e.wch=yl(e.wpx);e.width=Pl(e.wch);e.MDW=_l}else if(typeof e.wch=="number"){e.width=Pl(e.wch);e.wpx=Ol(e.width);e.MDW=_l}if(e.customWidth)delete e.customWidth}var Ul=96,Wl=Ul;function Vl(e){return e*96/Wl}function Hl(e){return e*Wl/96}var Xl={None:"none",Solid:"solid",Gray50:"mediumGray",Gray75:"darkGray",Gray25:"lightGray",HorzStripe:"darkHorizontal",VertStripe:"darkVertical",ReverseDiagStripe:"darkDown",DiagStripe:"darkUp",DiagCross:"darkGrid",ThickDiagCross:"darkTrellis",ThinHorzStripe:"lightHorizontal",ThinVertStripe:"lightVertical",ThinReverseDiagStripe:"lightDown",ThinHorzCross:"lightGrid"};function Gl(e,r,t,a){r.Borders=[];var n={};e[0].match(ge).forEach(function(e){var t=ke(e);switch(t[0]){case"<borders":;case"<borders>":;case"</borders>":break;case"<border":;case"<border>":;case"<border/>":n={};if(t.diagonalUp){n.diagonalUp=t.diagonalUp}if(t.diagonalDown){n.diagonalDown=t.diagonalDown}r.Borders.push(n);break;case"</border>":break;case"<left/>":break;case"<left":;case"<left>":break;case"</left>":break;case"<right/>":break;case"<right":;case"<right>":break;case"</right>":break;case"<top/>":break;case"<top":;case"<top>":break;case"</top>":break;case"<bottom/>":break;case"<bottom":;case"<bottom>":break;case"</bottom>":break;case"<diagonal":;case"<diagonal>":;case"<diagonal/>":break;case"</diagonal>":break;case"<horizontal":;case"<horizontal>":;case"<horizontal/>":break;case"</horizontal>":break;case"<vertical":;case"<vertical>":;case"<vertical/>":break;case"</vertical>":break;case"<start":;case"<start>":;case"<start/>":break;case"</start>":break;case"<end":;case"<end>":;case"<end/>":break;case"</end>":break;case"<color":;case"<color>":break;case"<color/>":;case"</color>":break;default:if(a&&a.WTF)throw new Error("unrecognized "+t[0]+" in borders");}})}function zl(e,r,t,a){r.Fills=[];var n={};e[0].match(ge).forEach(function(e){var t=ke(e);switch(t[0]){case"<fills":;case"<fills>":;case"</fills>":break;case"<fill>":;case"<fill":;case"<fill/>":n={};r.Fills.push(n);break;case"</fill>":break;case"<gradientFill>":break;case"<gradientFill":;case"</gradientFill>":r.Fills.push(n);n={};break;case"<patternFill":;case"<patternFill>":if(t.patternType)n.patternType=t.patternType;break;case"<patternFill/>":;case"</patternFill>":break;case"<bgColor":if(!n.bgColor)n.bgColor={};if(t.indexed)n.bgColor.indexed=parseInt(t.indexed,10);if(t.theme)n.bgColor.theme=parseInt(t.theme,10);if(t.tint)n.bgColor.tint=parseFloat(t.tint);if(t.rgb)n.bgColor.rgb=t.rgb.slice(-6);break;case"<bgColor/>":;case"</bgColor>":break;case"<fgColor":if(!n.fgColor)n.fgColor={};if(t.theme)n.fgColor.theme=parseInt(t.theme,10);if(t.tint)n.fgColor.tint=parseFloat(t.tint);if(t.rgb)n.fgColor.rgb=t.rgb.slice(-6);break;case"<fgColor/>":;case"</fgColor>":break;case"<stop":;case"<stop/>":break;case"</stop>":break;case"<color":;case"<color/>":break;case"</color>":break;default:if(a&&a.WTF)throw new Error("unrecognized "+t[0]+" in fills");}})}function jl(e,r,t,a){r.Fonts=[];var n={};e[0].match(ge).forEach(function(e){var i=ke(e);switch(i[0]){case"<fonts":;case"<fonts>":;case"</fonts>":break;case"<font":;case"<font>":break;case"</font>":;case"<font/>":r.Fonts.push(n);n={};break;case"<name":if(i.val)n.name=i.val;break;case"<name/>":;case"</name>":break;case"<b":n.bold=i.val?Pe(i.val):1;break;case"<b/>":n.bold=1;break;case"<i":n.italic=i.val?Pe(i.val):1;break;case"<i/>":n.italic=1;break;case"<u":switch(i.val){case"none":n.underline=0;break;case"single":n.underline=1;break;case"double":n.underline=2;break;case"singleAccounting":n.underline=33;break;case"doubleAccounting":n.underline=34;break;}break;case"<u/>":n.underline=1;break;case"<strike":n.strike=i.val?Pe(i.val):1;break;case"<strike/>":n.strike=1;break;case"<outline":n.outline=i.val?Pe(i.val):1;break;case"<outline/>":n.outline=1;break;case"<shadow":n.shadow=i.val?Pe(i.val):1;break;case"<shadow/>":n.shadow=1;break;case"<condense":n.condense=i.val?Pe(i.val):1;break;case"<condense/>":n.condense=1;break;case"<extend":n.extend=i.val?Pe(i.val):1;break;case"<extend/>":n.extend=1;break;case"<sz":if(i.val)n.sz=+i.val;break;case"<sz/>":;case"</sz>":break;case"<vertAlign":if(i.val)n.vertAlign=i.val;break;case"<vertAlign/>":;case"</vertAlign>":break;case"<family":if(i.val)n.family=parseInt(i.val,10);break;case"<family/>":;case"</family>":break;case"<scheme":if(i.val)n.scheme=i.val;break;case"<scheme/>":;case"</scheme>":break;case"<charset":if(i.val=="1")break;i.codepage=s[parseInt(i.val,10)];break;case"<color":if(!n.color)n.color={};if(i.auto)n.color.auto=Pe(i.auto);if(i.rgb)n.color.rgb=i.rgb.slice(-6);else if(i.indexed){n.color.index=parseInt(i.indexed,10);var l=ua[n.color.index];if(n.color.index==81)l=ua[1];if(!l)throw new Error(e);n.color.rgb=l[0].toString(16)+l[1].toString(16)+l[2].toString(16)}else if(i.theme){n.color.theme=parseInt(i.theme,10);if(i.tint)n.color.tint=parseFloat(i.tint);if(i.theme&&t.themeElements&&t.themeElements.clrScheme){n.color.rgb=Al(t.themeElements.clrScheme[n.color.theme].rgb,n.color.tint||0)}}break;case"<color/>":;case"</color>":break;default:if(a&&a.WTF)throw new Error("unrecognized "+i[0]+" in fonts");}})}function Kl(e,r,t){r.NumberFmt=[];var a=V(R._table);for(var n=0;n<a.length;++n)r.NumberFmt[a[n]]=R._table[a[n]];var i=e[0].match(ge);if(!i)return;for(n=0;n<i.length;++n){var s=ke(i[n]);switch(s[0]){case"<numFmts":;case"</numFmts>":;case"<numFmts/>":;case"<numFmts>":break;case"<numFmt":{var l=Te(Ne(s.formatCode)),c=parseInt(s.numFmtId,10);r.NumberFmt[c]=l;if(c>0){if(c>392){for(c=392;c>60;--c)if(r.NumberFmt[c]==null)break;r.NumberFmt[c]=l}R.load(l,c)}}break;case"</numFmt>":break;default:if(t.WTF)throw new Error("unrecognized "+s[0]+" in numFmts");}}}function Yl(e){var r=["<numFmts>"];[[5,8],[23,26],[41,44],[50,392]].forEach(function(t){for(var a=t[0];a<=t[1];++a)if(e[a]!=null)r[r.length]=Qe("numFmt",null,{numFmtId:a,formatCode:Ae(e[a])})});if(r.length===1)return"";r[r.length]="</numFmts>";r[0]=Qe("numFmts",null,{count:r.length-2}).replace("/>",">");return r.join("")}var $l=["numFmtId","fillId","fontId","borderId","xfId"];var Ql=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"];function Jl(e,r,t){r.CellXf=[];var a;e[0].match(ge).forEach(function(e){var n=ke(e),i=0;switch(n[0]){case"<cellXfs":;case"<cellXfs>":;case"<cellXfs/>":;case"</cellXfs>":break;case"<xf":;case"<xf/>":a=n;delete a[0];for(i=0;i<$l.length;++i)if(a[$l[i]])a[$l[i]]=parseInt(a[$l[i]],10);for(i=0;i<Ql.length;++i)if(a[Ql[i]])a[Ql[i]]=Pe(a[Ql[i]]);if(a.numFmtId>392){for(i=392;i>60;--i)if(r.NumberFmt[a.numFmtId]==r.NumberFmt[i]){a.numFmtId=i;break}}r.CellXf.push(a);break;case"</xf>":break;case"<alignment":;case"<alignment/>":var s={};if(n.vertical)s.vertical=n.vertical;if(n.horizontal)s.horizontal=n.horizontal;if(n.textRotation!=null)s.textRotation=n.textRotation;if(n.indent)s.indent=n.indent;if(n.wrapText)s.wrapText=n.wrapText;a.alignment=s;break;case"</alignment>":break;case"<protection":;case"</protection>":;case"<protection/>":break;case"<extLst":;case"</extLst>":break;case"<ext":break;default:if(t.WTF)throw new Error("unrecognized "+n[0]+" in cellXfs");}})}function Zl(e){var r=[];r[r.length]=Qe("cellXfs",null);e.forEach(function(e){r[r.length]=Qe("xf",null,e)});r[r.length]="</cellXfs>";if(r.length===2)return"";r[0]=Qe("cellXfs",null,{count:r.length-2}).replace("/>",">");return r.join("")}var ql=function mb(){var e=/<numFmts([^>]*)>[\S\s]*?<\/numFmts>/;var r=/<cellXfs([^>]*)>[\S\s]*?<\/cellXfs>/;var t=/<fills([^>]*)>[\S\s]*?<\/fills>/;var a=/<fonts([^>]*)>[\S\s]*?<\/fonts>/;var n=/<borders([^>]*)>[\S\s]*?<\/borders>/;return function i(s,l,c){var f={};if(!s)return f;s=s.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"");var o;if(o=s.match(e))Kl(o,f,c);if(o=s.match(a))jl(o,f,l,c);if(o=s.match(t))zl(o,f,l,c);if(o=s.match(n))Gl(o,f,l,c);if(o=s.match(r))Jl(o,f,c);return f}}();var ec=Qe("styleSheet",null,{xmlns:qe.main[0],"xmlns:vt":qe.vt});Sa.STY="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles";function rc(e,r){var t=[be,ec],a;if(e.SSF&&(a=Yl(e.SSF))!=null)t[t.length]=a;t[t.length]='<fonts count="1"><font><sz val="12"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font></fonts>';t[t.length]='<fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills>';t[t.length]='<borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders>';t[t.length]='<cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs>';if(a=Zl(r.cellXfs))t[t.length]=a;t[t.length]='<cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0"/></cellStyles>';t[t.length]='<dxfs count="0"/>';t[t.length]='<tableStyles count="0" defaultTableStyle="TableStyleMedium9" defaultPivotStyle="PivotStyleMedium4"/>';if(t.length>2){t[t.length]="</styleSheet>";t[1]=t[1].replace("/>",">")}return t.join("")}function tc(e,r){var t=e._R(2);var a=dt(e,r-2);return[t,a]}function ac(e,r,t){if(!t)t=Lr(6+4*r.length);t._W(2,e);vt(r,t);return t.length>t.l?t.slice(0,t.l):t}function nc(e,r,t){var a={};a.sz=e._R(2)/20;var n=Ht(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 l=e._R(1);if(l>0)a.family=l;var c=e._R(1);if(c>0)a.charset=c;e.l++;a.color=Wt(e,8);switch(e._R(1)){case 1:a.scheme="major";break;case 2:a.scheme="minor";break;}a.name=dt(e,r-21);return a}function ic(e,r){if(!r)r=Lr(25+4*32);r._W(2,e.sz*20);Xt(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);Vt(e.color,r);var a=0;if(e.scheme=="major")a=1;if(e.scheme=="minor")a=2;r._W(1,a);vt(e.name,r);return r.length>r.l?r.slice(0,r.l):r}var sc=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];var lc=X(sc);var cc=Nr;function fc(e,r){if(!r)r=Lr(4*3+8*7+16*1);var t=lc[e.patternType];if(t==null)t=40;r._W(4,t);var a=0;if(t!=40){Vt({auto:1},r);Vt({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 oc(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 uc(e,r,t){if(!t)t=Lr(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 hc(e,r){if(!r)r=Lr(10);r._W(1,0);r._W(1,0);r._W(4,0);r._W(4,0);return r}var dc=Nr;function vc(e,r){if(!r)r=Lr(51);r._W(1,0);hc(null,r);hc(null,r);hc(null,r);hc(null,r);hc(null,r);return r.length>r.l?r.slice(0,r.l):r}function pc(e,r){if(!r)r=Lr(12+4*10);r._W(4,e.xfId);r._W(2,1);r._W(1,+e.builtinId);r._W(1,0);It(e.name||"",r);return r.length>r.l?r.slice(0,r.l):r}function bc(e,r,t){var a=Lr(4+256*2*4);a._W(4,e);It(r,a);It(t,a);return a.length>a.l?a.slice(0,a.l):a}function mc(e,r,t){var a={};a.NumberFmt=[];for(var n in R._table)a.NumberFmt[n]=R._table[n];a.CellXf=[];a.Fonts=[];var i=[];var s=false;Mr(e,function l(e,n,c){
|
||
switch(c){case 44:a.NumberFmt[e[0]]=e[1];R.load(e[1],e[0]);break;case 43:a.Fonts.push(e);if(e.color.theme!=null&&r&&r.themeElements&&r.themeElements.clrScheme){e.color.rgb=Al(r.themeElements.clrScheme[e.color.theme].rgb,e.color.tint||0)}break;case 1025:break;case 45:break;case 46:break;case 47:if(i[i.length-1]=="BrtBeginCellXFs"){a.CellXf.push(e)}break;case 48:;case 507:;case 572:;case 475:break;case 1171:;case 2102:;case 1130:;case 512:;case 2095:break;case 35:s=true;break;case 36:s=false;break;case 37:i.push(n);break;case 38:i.pop();break;default:if((n||"").indexOf("Begin")>0)i.push(n);else if((n||"").indexOf("End")>0)i.pop();else if(!s||t.WTF)throw new Error("Unexpected record "+c+" "+n);}});return a}function gc(e,r){if(!r)return;var t=0;[[5,8],[23,26],[41,44],[50,392]].forEach(function(e){for(var a=e[0];a<=e[1];++a)if(r[a]!=null)++t});if(t==0)return;Wr(e,"BrtBeginFmts",ht(t));[[5,8],[23,26],[41,44],[50,392]].forEach(function(t){for(var a=t[0];a<=t[1];++a)if(r[a]!=null)Wr(e,"BrtFmt",ac(a,r[a]))});Wr(e,"BrtEndFmts")}function Ec(e){var r=1;if(r==0)return;Wr(e,"BrtBeginFonts",ht(r));Wr(e,"BrtFont",ic({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}));Wr(e,"BrtEndFonts")}function Sc(e){var r=2;if(r==0)return;Wr(e,"BrtBeginFills",ht(r));Wr(e,"BrtFill",fc({patternType:"none"}));Wr(e,"BrtFill",fc({patternType:"gray125"}));Wr(e,"BrtEndFills")}function kc(e){var r=1;if(r==0)return;Wr(e,"BrtBeginBorders",ht(r));Wr(e,"BrtBorder",vc({}));Wr(e,"BrtEndBorders")}function wc(e){var r=1;Wr(e,"BrtBeginCellStyleXFs",ht(r));Wr(e,"BrtXF",uc({numFmtId:0,fontId:0,fillId:0,borderId:0},65535));Wr(e,"BrtEndCellStyleXFs")}function Bc(e,r){Wr(e,"BrtBeginCellXFs",ht(r.length));r.forEach(function(r){Wr(e,"BrtXF",uc(r,0))});Wr(e,"BrtEndCellXFs")}function Cc(e){var r=1;Wr(e,"BrtBeginStyles",ht(r));Wr(e,"BrtStyle",pc({xfId:0,builtinId:0,name:"Normal"}));Wr(e,"BrtEndStyles")}function Tc(e){var r=0;Wr(e,"BrtBeginDXFs",ht(r));Wr(e,"BrtEndDXFs")}function Ic(e){var r=0;Wr(e,"BrtBeginTableStyles",bc(r,"TableStyleMedium9","PivotStyleMedium4"));Wr(e,"BrtEndTableStyles")}function xc(){return}function Ac(e,r){var t=Ur();Wr(t,"BrtBeginStyleSheet");gc(t,e.SSF);Ec(t,e);Sc(t,e);kc(t,e);wc(t,e);Bc(t,r.cellXfs);Cc(t,e);Tc(t,e);Ic(t,e);xc(t,e);Wr(t,"BrtEndStyleSheet");return t.end()}Sa.THEME="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme";function Rc(e,r,t){r.themeElements.clrScheme=[];var a={};(e[0].match(ge)||[]).forEach(function(e){var n=ke(e);switch(n[0]){case"<a:clrScheme":;case"</a:clrScheme>":break;case"<a:srgbClr":a.rgb=n.val;break;case"<a:sysClr":a.rgb=n.lastClr;break;case"<a:dk1>":;case"</a:dk1>":;case"<a:lt1>":;case"</a:lt1>":;case"<a:dk2>":;case"</a:dk2>":;case"<a:lt2>":;case"</a:lt2>":;case"<a:accent1>":;case"</a:accent1>":;case"<a:accent2>":;case"</a:accent2>":;case"<a:accent3>":;case"</a:accent3>":;case"<a:accent4>":;case"</a:accent4>":;case"<a:accent5>":;case"</a:accent5>":;case"<a:accent6>":;case"</a:accent6>":;case"<a:hlink>":;case"</a:hlink>":;case"<a:folHlink>":;case"</a:folHlink>":if(n[0].charAt(1)==="/"){r.themeElements.clrScheme.push(a);a={}}else{a.name=n[0].slice(3,n[0].length-1)}break;default:if(t&&t.WTF)throw new Error("Unrecognized "+n[0]+" in clrScheme");}})}function Fc(){}function Dc(){}var _c=/<a:clrScheme([^>]*)>[\s\S]*<\/a:clrScheme>/;var Oc=/<a:fontScheme([^>]*)>[\s\S]*<\/a:fontScheme>/;var yc=/<a:fmtScheme([^>]*)>[\s\S]*<\/a:fmtScheme>/;function Pc(e,r,t){r.themeElements={};var a;[["clrScheme",_c,Rc],["fontScheme",Oc,Fc],["fmtScheme",yc,Dc]].forEach(function(n){if(!(a=e.match(n[1])))throw new Error(n[0]+" not found in themeElements");n[2](a,r,t)})}var Nc=/<a:themeElements([^>]*)>[\s\S]*<\/a:themeElements>/;function Lc(e,r){if(!e||e.length===0)return Lc(Mc());var t;var a={};if(!(t=e.match(Nc)))throw new Error("themeElements not found in theme");Pc(t[0],a,r);return a}function Mc(e,r){if(r&&r.themeXLSX)return r.themeXLSX;var t=[be];t[t.length]='<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">';t[t.length]="<a:themeElements>";t[t.length]='<a:clrScheme name="Office">';t[t.length]='<a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1>';t[t.length]='<a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1>';t[t.length]='<a:dk2><a:srgbClr val="1F497D"/></a:dk2>';t[t.length]='<a:lt2><a:srgbClr val="EEECE1"/></a:lt2>';t[t.length]='<a:accent1><a:srgbClr val="4F81BD"/></a:accent1>';t[t.length]='<a:accent2><a:srgbClr val="C0504D"/></a:accent2>';t[t.length]='<a:accent3><a:srgbClr val="9BBB59"/></a:accent3>';t[t.length]='<a:accent4><a:srgbClr val="8064A2"/></a:accent4>';t[t.length]='<a:accent5><a:srgbClr val="4BACC6"/></a:accent5>';t[t.length]='<a:accent6><a:srgbClr val="F79646"/></a:accent6>';t[t.length]='<a:hlink><a:srgbClr val="0000FF"/></a:hlink>';t[t.length]='<a:folHlink><a:srgbClr val="800080"/></a:folHlink>';t[t.length]="</a:clrScheme>";t[t.length]='<a:fontScheme name="Office">';t[t.length]="<a:majorFont>";t[t.length]='<a:latin typeface="Cambria"/>';t[t.length]='<a:ea typeface=""/>';t[t.length]='<a:cs typeface=""/>';t[t.length]='<a:font script="Jpan" typeface="MS Pゴシック"/>';t[t.length]='<a:font script="Hang" typeface="맑은 고딕"/>';t[t.length]='<a:font script="Hans" typeface="宋体"/>';t[t.length]='<a:font script="Hant" typeface="新細明體"/>';t[t.length]='<a:font script="Arab" typeface="Times New Roman"/>';t[t.length]='<a:font script="Hebr" typeface="Times New Roman"/>';t[t.length]='<a:font script="Thai" typeface="Tahoma"/>';t[t.length]='<a:font script="Ethi" typeface="Nyala"/>';t[t.length]='<a:font script="Beng" typeface="Vrinda"/>';t[t.length]='<a:font script="Gujr" typeface="Shruti"/>';t[t.length]='<a:font script="Khmr" typeface="MoolBoran"/>';t[t.length]='<a:font script="Knda" typeface="Tunga"/>';t[t.length]='<a:font script="Guru" typeface="Raavi"/>';t[t.length]='<a:font script="Cans" typeface="Euphemia"/>';t[t.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>';t[t.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>';t[t.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>';t[t.length]='<a:font script="Thaa" typeface="MV Boli"/>';t[t.length]='<a:font script="Deva" typeface="Mangal"/>';t[t.length]='<a:font script="Telu" typeface="Gautami"/>';t[t.length]='<a:font script="Taml" typeface="Latha"/>';t[t.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>';t[t.length]='<a:font script="Orya" typeface="Kalinga"/>';t[t.length]='<a:font script="Mlym" typeface="Kartika"/>';t[t.length]='<a:font script="Laoo" typeface="DokChampa"/>';t[t.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>';t[t.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>';t[t.length]='<a:font script="Viet" typeface="Times New Roman"/>';t[t.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>';t[t.length]='<a:font script="Geor" typeface="Sylfaen"/>';t[t.length]="</a:majorFont>";t[t.length]="<a:minorFont>";t[t.length]='<a:latin typeface="Calibri"/>';t[t.length]='<a:ea typeface=""/>';t[t.length]='<a:cs typeface=""/>';t[t.length]='<a:font script="Jpan" typeface="MS Pゴシック"/>';t[t.length]='<a:font script="Hang" typeface="맑은 고딕"/>';t[t.length]='<a:font script="Hans" typeface="宋体"/>';t[t.length]='<a:font script="Hant" typeface="新細明體"/>';t[t.length]='<a:font script="Arab" typeface="Arial"/>';t[t.length]='<a:font script="Hebr" typeface="Arial"/>';t[t.length]='<a:font script="Thai" typeface="Tahoma"/>';t[t.length]='<a:font script="Ethi" typeface="Nyala"/>';t[t.length]='<a:font script="Beng" typeface="Vrinda"/>';t[t.length]='<a:font script="Gujr" typeface="Shruti"/>';t[t.length]='<a:font script="Khmr" typeface="DaunPenh"/>';t[t.length]='<a:font script="Knda" typeface="Tunga"/>';t[t.length]='<a:font script="Guru" typeface="Raavi"/>';t[t.length]='<a:font script="Cans" typeface="Euphemia"/>';t[t.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>';t[t.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>';t[t.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>';t[t.length]='<a:font script="Thaa" typeface="MV Boli"/>';t[t.length]='<a:font script="Deva" typeface="Mangal"/>';t[t.length]='<a:font script="Telu" typeface="Gautami"/>';t[t.length]='<a:font script="Taml" typeface="Latha"/>';t[t.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>';t[t.length]='<a:font script="Orya" typeface="Kalinga"/>';t[t.length]='<a:font script="Mlym" typeface="Kartika"/>';t[t.length]='<a:font script="Laoo" typeface="DokChampa"/>';t[t.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>';t[t.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>';t[t.length]='<a:font script="Viet" typeface="Arial"/>';t[t.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>';t[t.length]='<a:font script="Geor" typeface="Sylfaen"/>';t[t.length]="</a:minorFont>";t[t.length]="</a:fontScheme>";t[t.length]='<a:fmtScheme name="Office">';t[t.length]="<a:fillStyleLst>";t[t.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>';t[t.length]='<a:gradFill rotWithShape="1">';t[t.length]="<a:gsLst>";t[t.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="50000"/><a:satMod val="300000"/></a:schemeClr></a:gs>';t[t.length]='<a:gs pos="35000"><a:schemeClr val="phClr"><a:tint val="37000"/><a:satMod val="300000"/></a:schemeClr></a:gs>';t[t.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="15000"/><a:satMod val="350000"/></a:schemeClr></a:gs>';t[t.length]="</a:gsLst>";t[t.length]='<a:lin ang="16200000" scaled="1"/>';t[t.length]="</a:gradFill>";t[t.length]='<a:gradFill rotWithShape="1">';t[t.length]="<a:gsLst>";t[t.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="100000"/><a:shade val="100000"/><a:satMod val="130000"/></a:schemeClr></a:gs>';t[t.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="50000"/><a:shade val="100000"/><a:satMod val="350000"/></a:schemeClr></a:gs>';t[t.length]="</a:gsLst>";t[t.length]='<a:lin ang="16200000" scaled="0"/>';t[t.length]="</a:gradFill>";t[t.length]="</a:fillStyleLst>";t[t.length]="<a:lnStyleLst>";t[t.length]='<a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"><a:shade val="95000"/><a:satMod val="105000"/></a:schemeClr></a:solidFill><a:prstDash val="solid"/></a:ln>';t[t.length]='<a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>';t[t.length]='<a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>';t[t.length]="</a:lnStyleLst>";t[t.length]="<a:effectStyleLst>";t[t.length]="<a:effectStyle>";t[t.length]="<a:effectLst>";t[t.length]='<a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="38000"/></a:srgbClr></a:outerShdw>';t[t.length]="</a:effectLst>";t[t.length]="</a:effectStyle>";t[t.length]="<a:effectStyle>";t[t.length]="<a:effectLst>";t[t.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>';t[t.length]="</a:effectLst>";t[t.length]="</a:effectStyle>";t[t.length]="<a:effectStyle>";t[t.length]="<a:effectLst>";t[t.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>';t[t.length]="</a:effectLst>";t[t.length]='<a:scene3d><a:camera prst="orthographicFront"><a:rot lat="0" lon="0" rev="0"/></a:camera><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="1200000"/></a:lightRig></a:scene3d>';t[t.length]='<a:sp3d><a:bevelT w="63500" h="25400"/></a:sp3d>';t[t.length]="</a:effectStyle>";t[t.length]="</a:effectStyleLst>";t[t.length]="<a:bgFillStyleLst>";t[t.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>';t[t.length]='<a:gradFill rotWithShape="1">';t[t.length]="<a:gsLst>";t[t.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="40000"/><a:satMod val="350000"/></a:schemeClr></a:gs>';t[t.length]='<a:gs pos="40000"><a:schemeClr val="phClr"><a:tint val="45000"/><a:shade val="99000"/><a:satMod val="350000"/></a:schemeClr></a:gs>';t[t.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="20000"/><a:satMod val="255000"/></a:schemeClr></a:gs>';t[t.length]="</a:gsLst>";t[t.length]='<a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000"/></a:path>';t[t.length]="</a:gradFill>";t[t.length]='<a:gradFill rotWithShape="1">';t[t.length]="<a:gsLst>";t[t.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="80000"/><a:satMod val="300000"/></a:schemeClr></a:gs>';t[t.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="30000"/><a:satMod val="200000"/></a:schemeClr></a:gs>';t[t.length]="</a:gsLst>";t[t.length]='<a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000"/></a:path>';t[t.length]="</a:gradFill>";t[t.length]="</a:bgFillStyleLst>";t[t.length]="</a:fmtScheme>";t[t.length]="</a:themeElements>";t[t.length]="<a:objectDefaults>";t[t.length]="<a:spDef>";t[t.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="1"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="3"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="2"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="lt1"/></a:fontRef></a:style>';t[t.length]="</a:spDef>";t[t.length]="<a:lnDef>";t[t.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="2"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="0"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="1"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="tx1"/></a:fontRef></a:style>';t[t.length]="</a:lnDef>";t[t.length]="</a:objectDefaults>";t[t.length]="<a:extraClrSchemeLst/>";t[t.length]="</a:theme>";return t.join("")}function Uc(e,r,t){var a=e.l+r;var n=e._R(4);if(n===124226)return;if(!t.cellStyles||!ve){e.l=a;return}var i=e.slice(e.l);e.l=a;var s;try{s=new ve(i)}catch(l){return}var c=de(s,"theme/theme/theme1.xml",true);if(!c)return;return Lc(c,t)}function Wc(e){return e._R(4)}function Vc(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=Hc(e,4);break;case 2:r.xclrValue=Un(e,4);break;case 3:r.xclrValue=Wc(e,4);break;case 4:e.l+=4;break;}e.l+=8;return r}function Hc(e,r){return Nr(e,r)}function Xc(e,r){return Nr(e,r)}function Gc(e){var r=e._R(2);var t=e._R(2);var a=[r];switch(r){case 4:;case 5:;case 7:;case 8:;case 9:;case 10:;case 11:;case 13:a[1]=Vc(e,t);break;case 6:a[1]=Xc(e,t);break;case 14:;case 15:a[1]=e._R(t===5?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+r+" "+t);}return a}function zc(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(Gc(e,t-e.l));return{ixfe:a,ext:i}}function jc(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 Kc(e){var r=[];if(!e)return r;var t=1;(e.match(ge)||[]).forEach(function(e){var a=ke(e);switch(a[0]){case"<?xml":break;case"<calcChain":;case"<calcChain>":;case"</calcChain>":break;case"<c":delete a[0];if(a.i)t=a.i;else a.i=t;r.push(a);break;}});return r}function Yc(e){var r={};r.i=e._R(4);var t={};t.r=e._R(4);t.c=e._R(4);r.r=at(t);var a=e._R(1);if(a&2)r.l="1";if(a&8)r.a="1";return r}function $c(e,r,t){var a=[];var n=false;Mr(e,function i(e,r,s){switch(s){case 63:a.push(e);break;default:if((r||"").indexOf("Begin")>0){}else if((r||"").indexOf("End")>0){}else if(!n||t.WTF)throw new Error("Unexpected record "+s+" "+r);}});return a}function Qc(){}function Jc(e,r,t){if(!e)return e;var a=t||{};var n=false,i=false;Mr(e,function s(e,r,t){if(i)return;switch(t){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:n=true;break;case 36:n=false;break;default:if((r||"").indexOf("Begin")>0){}else if((r||"").indexOf("End")>0){}else if(!n||a.WTF)throw new Error("Unexpected record "+t.toString(16)+" "+r);}},a)}Sa.IMG="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image";Sa.DRAW="http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing";function Zc(e,r){if(!e)return"??";var t=(e.match(/<c:chart [^>]*r:id="([^"]*)"/)||["",""])[1];return r["!id"][t].Target}var qc=1024;function ef(e,r){var t=[21600,21600];var a=["m0,0l0",t[1],t[0],t[1],t[0],"0xe"].join(",");var n=[Qe("xml",null,{"xmlns:v":er.v,"xmlns:o":er.o,"xmlns:x":er.x,"xmlns:mv":er.mv}).replace(/\/>/,">"),Qe("o:shapelayout",Qe("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"}),Qe("v:shapetype",[Qe("v:stroke",null,{joinstyle:"miter"}),Qe("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:t.join(","),path:a})];while(qc<e*1e3)qc+=1e3;r.map(function(e){return tt(e[0])}).forEach(function(e){n=n.concat(["<v:shape"+$e({id:"_x0000_s"+ ++qc,type:"#_x0000_t202",style:"position:absolute; margin-left:80pt;margin-top:5pt;width:104pt;height:64pt;z-index:10;visibility:hidden",fillcolor:"#ECFAD4",strokecolor:"#edeaa1"})+">",Qe("v:fill",Qe("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}),{color2:"#BEFF82",angle:"-180",type:"gradient"}),Qe("v:shadow",null,{on:"t",obscured:"t"}),Qe("v:path",null,{"o:connecttype":"none"}),'<v:textbox><div style="text-align:left"></div></v:textbox>','<x:ClientData ObjectType="Note">',"<x:MoveWithCells/>","<x:SizeWithCells/>",Ye("x:Anchor",[e.c,0,e.r,0,e.c+3,100,e.r+5,100].join(",")),Ye("x:AutoFill","False"),Ye("x:Row",String(e.r)),Ye("x:Column",String(e.c)),"<x:Visible/>","</x:ClientData>","</v:shape>"])});n.push("</xml>");return n.join("")}Sa.CMNT="http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments";function rf(e,r,t,a,n){for(var i=0;i!=r.length;++i){var s=r[i];var l=Ud(he(e,s.replace(/^\//,""),true),s,n);if(!l||!l.length)continue;var c=V(t);for(var f=0;f!=c.length;++f){var o=c[f];var u=a[o];if(u){var h=u[s];if(h)tf(o,t[o],l)}}}}function tf(e,r,t){var a=Array.isArray(r);var n,i;t.forEach(function(e){if(a){i=tt(e.ref);if(!r[i.r])r[i.r]=[];n=r[i.r][i.c]}else n=r[e.ref];if(!n){n={};if(a)r[i.r][i.c]=n;else r[e.ref]=n;var t=st(r["!ref"]||"BDWGO1000001:A1");var s=tt(e.ref);if(t.s.r>s.r)t.s.r=s.r;if(t.e.r<s.r)t.e.r=s.r;if(t.s.c>s.c)t.s.c=s.c;if(t.e.c<s.c)t.e.c=s.c;var l=it(t);if(l!==r["!ref"])r["!ref"]=l}if(!n.c)n.c=[];var c={a:e.author,t:e.t,r:e.r};if(e.h)c.h=e.h;n.c.push(c)})}function af(e,r){if(e.match(/<(?:\w+:)?comments *\/>/))return[];var t=[];var a=[];var n=e.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/);if(n&&n[1])n[1].split(/<\/\w*:?author>/).forEach(function(e){if(e===""||e.trim()==="")return;var r=e.match(/<(?:\w+:)?author[^>]*>(.*)/);if(r)t.push(r[1])});var i=e.match(/<(?:\w+:)?commentList>([\s\S]*)<\/(?:\w+:)?commentList>/);if(i&&i[1])i[1].split(/<\/\w*:?comment>/).forEach(function(e){if(e===""||e.trim()==="")return;var n=e.match(/<(?:\w+:)?comment[^>]*>/);if(!n)return;var i=ke(n[0]);var s={author:i.authorId&&t[i.authorId]||"sheetjsghost",ref:i.ref,guid:i.guid};var l=tt(i.ref);if(r.sheetRows&&r.sheetRows<=l.r)return;var c=e.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/);var f=!!c&&!!c[1]&&Hs(c[1])||{r:"",t:"",h:""};s.r=f.r;if(f.r=="<t></t>")f.t=f.h="";s.t=f.t.replace(/\r\n/g,"\n").replace(/\r/g,"\n");if(r.cellHTML)s.h=f.h;a.push(s)});return a}var nf=Qe("comments",null,{xmlns:qe.main[0]});function sf(e){var r=[be,nf];var t=[];r.push("<authors>");e.map(function(e){return e[1]}).forEach(function(e){e.map(function(e){return Ae(e.a)}).forEach(function(e){if(t.indexOf(e)>-1)return;t.push(e);r.push("<author>"+e+"</author>")})});r.push("</authors>");r.push("<commentList>");e.forEach(function(e){e[1].forEach(function(a){r.push('<comment ref="'+e[0]+'" authorId="'+t.indexOf(Ae(a.a))+'"><text>');r.push(Ye("t",a.t==null?"":a.t));r.push("</text></comment>")})});r.push("</commentList>");if(r.length>2){r[r.length]="</comments>";r[1]=r[1].replace("/>",">")}return r.join("")}function lf(e){var r={};r.iauthor=e._R(4);var t=yt(e,16);r.rfx=t.s;r.ref=at(t.s);e.l+=16;return r}function cf(e,r){if(r==null)r=Lr(36);r._W(4,e[1].iauthor);Pt(e[0],r);r._W(4,0);r._W(4,0);r._W(4,0);r._W(4,0);return r}var ff=dt;function of(e){return vt(e.slice(0,54))}function uf(e,r){var t=[];var a=[];var n={};var i=false;Mr(e,function s(e,l,c){switch(c){case 632:a.push(e);break;case 635:n=e;break;case 637:n.t=e.t;n.h=e.h;n.r=e.r;break;case 636:n.author=a[n.iauthor];delete n.iauthor;if(r.sheetRows&&r.sheetRows<=n.rfx.r)break;if(!n.t)n.t="";delete n.rfx;t.push(n);break;case 35:i=true;break;case 36:i=false;break;case 37:break;case 38:break;default:if((l||"").indexOf("Begin")>0){}else if((l||"").indexOf("End")>0){}else if(!i||r.WTF)throw new Error("Unexpected record "+c+" "+l);}});return t}function hf(e){var r=Ur();var t=[];Wr(r,"BrtBeginComments");Wr(r,"BrtBeginCommentAuthors");e.forEach(function(e){e[1].forEach(function(e){if(t.indexOf(e.a)>-1)return;t.push(e.a.slice(0,54));Wr(r,"BrtCommentAuthor",of(e.a))})});Wr(r,"BrtEndCommentAuthors");Wr(r,"BrtBeginCommentList");e.forEach(function(e){e[1].forEach(function(a){a.iauthor=t.indexOf(a.a);var n={s:tt(e[0]),e:tt(e[0])};Wr(r,"BrtBeginComment",cf([n,a]));if(a.t&&a.t.length>0)Wr(r,"BrtCommentText",St(a));Wr(r,"BrtEndComment");delete a.iauthor})});Wr(r,"BrtEndCommentList");Wr(r,"BrtEndComments");return r.end()}function df(e){var r=N.utils.cfb_new({root:"R"});e.FullPaths.forEach(function(t,a){if(t.slice(-1)==="/"||!t.match(/_VBA_PROJECT_CUR/))return;var n=t.replace(/^[^\/]*/,"R").replace(/\/_VBA_PROJECT_CUR\u0000*/,"");N.utils.cfb_add(r,n,e.FileIndex[a].content)});return N.write(r)}function vf(e,r){r.FullPaths.forEach(function(t,a){if(a==0)return;var n=t.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");if(n.slice(-1)!=="/")N.utils.cfb_add(e,n,r.FileIndex[a].content)})}var pf=["xlsb","xlsm","xlam","biff8","xla"];Sa.DS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet";Sa.MS="http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet";function bf(){return{"!type":"dialog"}}function mf(){return{"!type":"dialog"}}function gf(){return{"!type":"macro"}}function Ef(){return{"!type":"macro"}}var Sf=function(){var e=/(^|[^A-Za-z])R(\[?)(-?\d+|)\]?C(\[?)(-?\d+|)\]?/g;var r={r:0,c:0};function t(e,t,a,n,i,s){var l=n.length>0?parseInt(n,10)|0:0,c=s.length>0?parseInt(s,10)|0:0;if(c<0&&i.length===0)c=0;var f=false,o=false;if(i.length>0||s.length==0)f=true;if(f)c+=r.c;else--c;if(a.length>0||n.length==0)o=true;if(o)l+=r.r;else--l;return t+(f?"":"$")+Zr(c)+(o?"":"$")+Yr(l)}return function a(n,i){r=i;return n.replace(e,t)}}();var kf=/(^|[^._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 wf=function(){return function e(r,t){return r.replace(kf,function(e,r,a,n,i,s){var l=Jr(n)-(a?0:t.c);var c=Kr(s)-(i?0:t.r);var f=c==0?"":!i?"["+c+"]":c+1;var o=l==0?"":!a?"["+l+"]":l+1;return r+"R"+f+"C"+o})}}();function Bf(e,r){return e.replace(kf,function(e,t,a,n,i,s){return t+(a=="$"?a+n:Zr(Jr(n)+r.c))+(i=="$"?i+s:Yr(Kr(s)+r.r))})}function Cf(e,r,t){var a=nt(r),n=a.s,i=tt(t);var s={r:i.r-n.r,c:i.c-n.c};return Bf(e,s)}function Tf(e){if(e.length==1)return false;return true}function If(e){return e.replace(/_xlfn\./g,"")}function xf(e){e.l+=1;return}function Af(e,r){var t=e._R(r==1?1:2);return[t&16383,t>>14&1,t>>15&1]}function Rf(e,r,t){var a=2;if(t){if(t.biff>=2&&t.biff<=5)return Ff(e,r,t);else if(t.biff==12)a=4}var n=e._R(a),i=e._R(a);var s=Af(e,2);var l=Af(e,2);return{s:{r:n,c:s[0],cRel:s[1],rRel:s[2]},e:{r:i,c:l[0],cRel:l[1],rRel:l[2]}}}function Ff(e){var r=Af(e,2),t=Af(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 Df(e,r){var t=e._R(r==12?4:2),a=e._R(r==12?4:2);var n=Af(e,2);var i=Af(e,2);return{s:{r:t,c:n[0],cRel:n[1],rRel:n[2]},e:{r:a,c:i[0],cRel:i[1],rRel:i[2]}}}function _f(e,r,t){if(t&&t.biff>=2&&t.biff<=5)return Of(e,r,t);var a=e._R(t&&t.biff==12?4:2);var n=Af(e,2);return{r:a,c:n[0],cRel:n[1],rRel:n[2]}}function Of(e){var r=Af(e,2);var t=e._R(1);return{r:r[0],c:t,cRel:r[1],rRel:r[2]}}function yf(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 Pf(e,r,t){var a=t&&t.biff?t.biff:8;if(a>=2&&a<=5)return Nf(e,r,t);var n=e._R(a>=12?4:2);var i=e._R(2);var s=(i&16384)>>14,l=(i&32768)>>15;i&=16383;if(l==1)while(n>524287)n-=1048576;if(s==1)while(i>8191)i=i-16384;return{r:n,c:i,cRel:s,rRel:l}}function Nf(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 Lf(e,r,t){var a=(e[e.l++]&96)>>5;var n=Rf(e,t.biff>=2&&t.biff<=5?6:8,t);return[a,n]}function Mf(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=Rf(e,i,t);return[a,n,s]}function Uf(e,r,t){var a=(e[e.l++]&96)>>5;e.l+=t&&t.biff>8?12:8;return[a]}function Wf(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 Vf(e,r,t){var a=(e[e.l++]&96)>>5;var n=Df(e,t&&t.biff>8?12:8,t);return[a,n]}function Hf(e,r,t){var a=(e[e.l++]&96)>>5;e.l+=t.biff==2?6:t.biff==12?14:7;return[a]}function Xf(e){var r=e[e.l+1]&1;var t=1;e.l+=4;return[r,t]}function Gf(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 zf(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 jf(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 Kf(e){var r=e[e.l+1]&255?1:0;e.l+=2;return[r,e._R(2)]}function Yf(e,r,t){var a=e[e.l+1]&255?1:0;e.l+=t&&t.biff==2?3:4;return[a]}function $f(e){var r=e._R(1),t=e._R(1);return[r,t]}function Qf(e){e._R(2);return $f(e,2)}function Jf(e){e._R(2);return $f(e,2)}function Zf(e,r,t){var a=(e[e.l]&96)>>5;e.l+=1;var n=_f(e,0,t);return[a,n]}function qf(e,r,t){var a=(e[e.l]&96)>>5;e.l+=1;var n=Pf(e,0,t);return[a,n]}function eo(e,r,t){var a=(e[e.l]&96)>>5;e.l+=1;var n=e._R(2);var i=_f(e,0,t);return[a,n,i]}function ro(e,r,t){var a=(e[e.l]&96)>>5;e.l+=1;var n=e._R(t&&t.biff<=3?1:2);return[ou[n],fu[n],a]}function to(e,r,t){e.l++;var a=e._R(1),n=t&&t.biff<=3?[0,e._R(1)]:ao(e);return[a,(n[0]===0?fu:cu)[n[1]]]}function ao(e){return[e[e.l+1]>>7,e._R(2)&32767]}function no(e,r,t){e.l+=t&&t.biff==2?3:4;return}function io(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 so(e){e.l++;return Mt[e._R(1)]}function lo(e){e.l++;return e._R(2)}function co(e){e.l++;return e._R(1)!==0}function fo(e){e.l++;return Nt(e,8)}function oo(e,r,t){e.l++;return In(e,r-1,t)}function uo(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]=En(e,1)?"TRUE":"FALSE";e.l+=7;break;case 16:t[1]=Mt[e[e.l]];e.l+=8;break;case 0:e.l+=8;break;case 1:t[1]=Nt(e,8);break;case 2:t[1]=Fn(e,0,{biff:r>0&&r<8?2:r});break;}return t}function ho(e){var r=e._R(2);var t=[];for(var a=0;a!=r;++a)t.push(Yn(e,8));return t}function vo(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 l=0;l!=n;++l)s[i][l]=uo(e,t.biff);return s}function po(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 bo(e,r,t){if(t.biff==5)return mo(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 mo(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 go(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 Eo(e,r,t){var a=e._R(1)>>>5&3;var n=e._R(t&&t.biff==2?1:2);return[a,n]}function So(e,r,t){var a=e._R(1)>>>5&3;e.l+=4;if(t.biff==12)e.l+=2;return[a]}function ko(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:throw new Error("PtgRefErr3d -- 5");case 12:i=6;break;}e.l+=i;return[a,n]}var wo=Nr;var Bo=Nr;var Co=Nr;function To(e,r,t){e.l+=2;return[yf(e,4,t)]}function Io(e){e.l+=6;return[]}var xo=To;var Ao=Io;var Ro=Io;var Fo=To;function Do(e){e.l+=2;return[kn(e),e._R(2)&1]}var _o=To;var Oo=Do;var yo=Io;var Po=To;var No=To;function Lo(e){e.l+=2;var r=e._R(2);e.l+=10;return{ixti:r}}function Mo(e){e.l+=2;return[e._R(4)]}var Uo={1:{n:"PtgExp",f:io},2:{n:"PtgTbl",f:Co},3:{n:"PtgAdd",f:xf},4:{n:"PtgSub",f:xf},5:{n:"PtgMul",f:xf},6:{n:"PtgDiv",f:xf},7:{n:"PtgPower",f:xf},8:{n:"PtgConcat",f:xf},9:{n:"PtgLt",f:xf},10:{n:"PtgLe",f:xf},11:{n:"PtgEq",f:xf},12:{n:"PtgGe",f:xf},13:{n:"PtgGt",f:xf},14:{n:"PtgNe",f:xf},15:{n:"PtgIsect",f:xf},16:{n:"PtgUnion",f:xf},17:{n:"PtgRange",f:xf},18:{n:"PtgUplus",f:xf},19:{n:"PtgUminus",f:xf},20:{n:"PtgPercent",f:xf},21:{n:"PtgParen",f:xf},22:{n:"PtgMissArg",f:xf},23:{n:"PtgStr",f:oo},28:{n:"PtgErr",f:so},29:{n:"PtgBool",f:co},30:{n:"PtgInt",f:lo},31:{n:"PtgNum",f:fo},32:{n:"PtgArray",f:Hf},33:{n:"PtgFunc",f:ro},34:{n:"PtgFuncVar",f:to},35:{n:"PtgName",f:po},36:{n:"PtgRef",f:Zf},37:{n:"PtgArea",f:Lf},38:{n:"PtgMemArea",f:go},39:{n:"PtgMemErr",f:wo},40:{n:"PtgMemNoMem",f:Bo},41:{n:"PtgMemFunc",f:Eo},42:{n:"PtgRefErr",f:So},43:{n:"PtgAreaErr",f:Uf},44:{n:"PtgRefN",f:qf},45:{n:"PtgAreaN",f:Vf},57:{n:"PtgNameX",f:bo},58:{n:"PtgRef3d",f:eo},59:{n:"PtgArea3d",f:Mf},60:{n:"PtgRefErr3d",f:ko},61:{n:"PtgAreaErr3d",f:Wf},255:{}};var Wo={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,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 Wo)Uo[e]=Uo[Wo[e]]})();var Vo={1:{n:"PtgElfLel",f:Do},2:{n:"PtgElfRw",f:Po},3:{n:"PtgElfCol",f:xo},6:{n:"PtgElfRwV",f:No},7:{n:"PtgElfColV",f:Fo},10:{n:"PtgElfRadical",f:_o},11:{n:"PtgElfRadicalS",f:yo},13:{n:"PtgElfColS",f:Ao},15:{n:"PtgElfColSV",f:Ro},16:{n:"PtgElfRadicalLel",f:Oo},25:{n:"PtgList",f:Lo},29:{n:"PtgSxName",f:Mo},255:{}};var Ho={1:{n:"PtgAttrSemi",f:Yf},2:{n:"PtgAttrIf",f:jf},4:{n:"PtgAttrChoose",f:Gf},8:{n:"PtgAttrGoto",f:zf},16:{n:"PtgAttrSum",f:no},32:{n:"PtgAttrBaxcel",f:Xf},64:{n:"PtgAttrSpace",f:Qf},65:{n:"PtgAttrSpaceSemi",f:Jf},128:{n:"PtgAttrIfError",f:Kf},255:{}};Ho[33]=Ho[32];function Xo(e,r,t,a){if(a.biff<8)return Nr(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]=vo(e,0,a);i.push(t[s][1]);break;case"PtgMemArea":t[s][2]=ho(e,t[s][1]);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(Nr(e,r));return i}function Go(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=Uo[i];if(i===24||i===25){i=e[e.l+1];
|
||
n=(i===24?Vo:Ho)[i]}if(!n||!n.f){Nr(e,r)}else{s.push([n.n,n.f(e,r,t)])}}return s}function zo(e){var r=[];for(var t=0;t<e.length;++t){var a=e[t],n=[];for(var i=0;i<a.length;++i){var s=a[i];if(s)switch(s[0]){case 2:n.push('"'+s[1].replace(/"/g,'""')+'"');break;default:n.push(s[1]);}else n.push("")}r.push(n.join(","))}return r.join(";")}var jo={PtgAdd:"+",PtgConcat:"&",PtgDiv:"/",PtgEq:"=",PtgGe:">=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function Ko(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 Yo(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 $o(e,r,t){return Ko(Yo(e,r,t),t)}function Qo(e,r,t,a,n){var i={s:{c:0,r:0},e:{c:0,r:0}};var s=[],l,c,f,o=0,u=0,h,d="";if(!e[0]||!e[0][0])return"";var v=-1,p="";for(var b=0,m=e[0].length;b<m;++b){var g=e[0][b];switch(g[0]){case"PtgUminus":s.push("-"+s.pop());break;case"PtgUplus":s.push("+"+s.pop());break;case"PtgPercent":s.push(s.pop()+"%");break;case"PtgAdd":;case"PtgConcat":;case"PtgDiv":;case"PtgEq":;case"PtgGe":;case"PtgGt":;case"PtgLe":;case"PtgLt":;case"PtgMul":;case"PtgNe":;case"PtgPower":;case"PtgSub":l=s.pop();c=s.pop();if(v>=0){switch(e[0][v][1][0]){case 0:p=te(" ",e[0][v][1][1]);break;case 1:p=te("\r",e[0][v][1][1]);break;default:p="";if(n.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][v][1][0]);}c=c+p;v=-1}s.push(c+jo[g[0]]+l);break;case"PtgIsect":l=s.pop();c=s.pop();s.push(c+" "+l);break;case"PtgUnion":l=s.pop();c=s.pop();s.push(c+","+l);break;case"PtgRange":l=s.pop();c=s.pop();s.push(c+":"+l);break;case"PtgAttrChoose":break;case"PtgAttrGoto":break;case"PtgAttrIf":break;case"PtgAttrIfError":break;case"PtgRef":f=Vr(g[1][1],i,n);s.push(Xr(f));break;case"PtgRefN":f=t?Vr(g[1][1],t,n):g[1][1];s.push(Xr(f));break;case"PtgRef3d":o=g[1][1];f=Vr(g[1][2],i,n);d=$o(a,o,n);var E=d;s.push(d+"!"+Xr(f));break;case"PtgFunc":;case"PtgFuncVar":var S=g[1][0],k=g[1][1];if(!S)S=0;var w=S==0?[]:s.slice(-S);s.length-=S;if(k==="User")k=w.shift();s.push(k+"("+w.join(",")+")");break;case"PtgBool":s.push(g[1]?"TRUE":"FALSE");break;case"PtgInt":s.push(g[1]);break;case"PtgNum":s.push(String(g[1]));break;case"PtgStr":s.push('"'+g[1]+'"');break;case"PtgErr":s.push(g[1]);break;case"PtgAreaN":h=Hr(g[1][1],t?{s:t}:i,n);s.push(Gr(h,n));break;case"PtgArea":h=Hr(g[1][1],i,n);s.push(Gr(h,n));break;case"PtgArea3d":o=g[1][1];h=g[1][2];d=$o(a,o,n);s.push(d+"!"+Gr(h,n));break;case"PtgAttrSum":s.push("SUM("+s.pop()+")");break;case"PtgAttrSemi":break;case"PtgName":u=g[1][2];var B=(a.names||[])[u-1]||(a[0]||[])[u];var C=B?B.Name:"SH33TJSNAME"+String(u);if(C in uu)C=uu[C];s.push(C);break;case"PtgNameX":var T=g[1][1];u=g[1][2];var I;if(n.biff<=5){if(T<0)T=-T;if(a[T])I=a[T][u]}else{var x="";if(((a[T]||[])[0]||[])[0]==14849){}else if(((a[T]||[])[0]||[])[0]==1025){if(a[T][u]&&a[T][u].itab>0){x=a.SheetNames[a[T][u].itab-1]+"!"}}else x=a.SheetNames[u-1]+"!";if(a[T]&&a[T][u])x+=a[T][u].Name;else if(a[0]&&a[0][u])x+=a[0][u].Name;else x+="SH33TJSERRX";s.push(x);break}if(!I)I={Name:"SH33TJSERRY"};s.push(I.Name);break;case"PtgParen":var A="(",R=")";if(v>=0){p="";switch(e[0][v][1][0]){case 2:A=te(" ",e[0][v][1][1])+A;break;case 3:A=te("\r",e[0][v][1][1])+A;break;case 4:R=te(" ",e[0][v][1][1])+R;break;case 5:R=te("\r",e[0][v][1][1])+R;break;default:if(n.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][v][1][0]);}v=-1}s.push(A+s.pop()+R);break;case"PtgRefErr":s.push("#REF!");break;case"PtgRefErr3d":s.push("#REF!");break;case"PtgExp":f={c:g[1][1],r:g[1][0]};var F={c:t.c,r:t.r};if(a.sharedf[at(f)]){var D=a.sharedf[at(f)];s.push(Qo(D,i,F,a,n))}else{var _=false;for(l=0;l!=a.arrayf.length;++l){c=a.arrayf[l];if(f.c<c[0].s.c||f.c>c[0].e.c)continue;if(f.r<c[0].s.r||f.r>c[0].e.r)continue;s.push(Qo(c[1],i,F,a,n));_=true;break}if(!_)s.push(g[1])}break;case"PtgArray":s.push("{"+zo(g[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":;case"PtgAttrSpaceSemi":v=b;break;case"PtgTbl":break;case"PtgMemErr":break;case"PtgMissArg":s.push("");break;case"PtgAreaErr":s.push("#REF!");break;case"PtgAreaErr3d":s.push("#REF!");break;case"PtgMemFunc":break;case"PtgMemNoMem":throw new Error("Unrecognized Formula Token: "+String(g));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"PtgAttrBaxcel":throw new Error("Unrecognized Formula Token: "+String(g));case"PtgSxName":throw new Error("Unrecognized Formula Token: "+String(g));case"PtgList":throw new Error("Unrecognized Formula Token: "+String(g));default:throw new Error("Unrecognized Formula Token: "+String(g));}var O=["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"];if(v>=0&&O.indexOf(e[0][b][0])==-1){g=e[0][v];var y=true;switch(g[1][0]){case 4:y=false;case 0:p=te(" ",g[1][1]);break;case 5:y=false;case 1:p=te("\r",g[1][1]);break;default:p="";if(n.WTF)throw new Error("Unexpected PtgAttrSpaceType "+g[1][0]);}s.push((y?p:"")+s.pop()+(y?"":p));v=-1}}if(s.length>1&&n.WTF)throw new Error("bad formula stack");return s[0]}function Jo(e,r,t){var a=e.l+r,n=t.biff==2?1:2;var i,s=e._R(n);if(s==65535)return[[],Nr(e,r-2)];var l=Go(e,s,t);if(r!==s+n)i=Xo(e,r-s-n,l,t);e.l=a;return[l,i]}function Zo(e,r,t){var a=e.l+r,n=t.biff==2?1:2;var i,s=e._R(n);if(s==65535)return[[],Nr(e,r-2)];var l=Go(e,s,t);if(r!==s+n)i=Xo(e,r-s-n,l,t);e.l=a;return[l,i]}function qo(e,r,t,a){var n=e.l+r;var i=Go(e,a,t);var s;if(n!==e.l)s=Xo(e,n-e.l,i,t);return[i,s]}function eu(e,r,t){var a=e.l+r;var n,i=e._R(2);var s=Go(e,i,t);if(i==65535)return[[],Nr(e,r-2)];if(r!==i+2)n=Xo(e,a-i-2,s,t);return[s,n]}function ru(e){var r;if(Cr(e,e.l+6)!==65535)return[Nt(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 tu(e,r,t){var a=e.l+r;var n=Vn(e,6);if(t.biff==2)++e.l;var i=ru(e,8);var s=e._R(1);if(t.biff!=2){e._R(1);if(t.biff>=5){e._R(4)}}var l=Zo(e,a-e.l,t);return{cell:n,val:i[0],formula:l,shared:s>>3&1,tt:i[1]}}function au(e,r,t){var a=e._R(4);var n=Go(e,a,t);var i=e._R(4);var s=i>0?Xo(e,i,n,t):null;return[n,s]}var nu=au;var iu=au;var su=au;var lu=au;var cu={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 fu={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 ou={2:1,3:1,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,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,90:1,97:2,98:1,99:1,101:3,102:3,105:1,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,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184: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,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 hu(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 du(e){var r="of:="+e.replace(kf,"$1[.$2$3$4$5]").replace(/\]:\[/g,":");return r.replace(/;/g,"|").replace(/,/g,";")}function vu(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 pu(e){return e.replace(/\./,"!")}var bu={};var mu={};Sa.WS=["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"];function gu(e,r){for(var t=0,a=e.length;t<a;++t)if(e[t].t===r){e.Count++;return t}e[a]={t:r};e.Count++;e.Unique++;return a}function Eu(e,r){var t={min:e+1,max:e+1};var a=-1;if(r.MDW)_l=r.MDW;if(r.width!=null)t.customWidth=1;else if(r.wpx!=null)a=yl(r.wpx);else if(r.wch!=null)a=r.wch;if(a>-1){t.width=Pl(a);t.customWidth=1}else if(r.width!=null)t.width=r.width;if(r.hidden)t.hidden=true;return t}function Su(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 ku(e,r,t){var a=t.revssf[r.z!=null?r.z:"General"];var n=60,i=e.length;if(a==null&&t.ssf){for(;n<392;++n)if(t.ssf[n]==null){R.load(r.z,n);t.ssf[n]=r.z;t.revssf[r.z]=a=n;break}}for(n=0;n!=i;++n)if(e[n].numFmtId===a)return n;e[i]={numFmtId:a,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1};return i}function wu(e,r,t,a,n,i){if(e.t==="z")return;if(e.t==="d"&&typeof e.v==="string")e.v=q(e.v);try{if(a.cellNF)e.z=R._table[r]}catch(s){if(a.WTF)throw s}if(!a||a.cellText!==false)try{if(e.t==="e")e.w=e.w||Mt[e.v];else if(r===0){if(e.t==="n"){if((e.v|0)===e.v)e.w=R._general_int(e.v);else e.w=R._general_num(e.v)}else if(e.t==="d"){var l=Y(e.v);if((l|0)===l)e.w=R._general_int(l);else e.w=R._general_num(l)}else if(e.v===undefined)return"";else e.w=R._general(e.v,mu)}else if(e.t==="d")e.w=R.format(r,Y(e.v),mu);else e.w=R.format(r,e.v,mu)}catch(s){if(a.WTF)throw s}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=Al(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=Al(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(s){if(a.WTF&&i.Fills)throw s}}function Bu(e,r){var t=st(r);if(t.s.r<=t.e.r&&t.s.c<=t.e.c&&t.s.r>=0&&t.s.c>=0)e["!ref"]=it(t)}var Cu=/<(?:\w:)?mergeCell ref="[A-Z0-9:]+"\s*[\/]?>/g;var Tu=/<(?:\w+:)?sheetData>([\s\S]*)<\/(?:\w+:)?sheetData>/;var Iu=/<(?:\w:)?hyperlink [^>]*>/gm;var xu=/"(\w*:\w*)"/;var Au=/<(?:\w:)?col[^>]*[\/]?>/g;var Ru=/<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g;var Fu=/<(?:\w:)?pageMargins[^>]*\/>/g;var Du=/<(?:\w:)?sheetPr(?:[^>a-z][^>]*)?\/>/;var _u=/<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/;function Ou(e,r,t,a,n,i,s){if(!e)return e;if(b!=null&&r.dense==null)r.dense=b;var l=r.dense?[]:{};var c={s:{r:2e6,c:2e6},e:{r:0,c:0}};var f="",o="";var u=e.match(Tu);if(u){f=e.slice(0,u.index);o=e.slice(u.index+u[0].length)}else f=o=e;var h=f.match(Du);if(h)Pu(h[0],l,n,t);var d=(f.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(d>0){var v=f.slice(d,d+50).match(xu);if(v)Bu(l,v[1])}var p=f.match(_u);if(p&&p[1])zu(p[1],n);var m=[];if(r.cellStyles){var g=f.match(Au);if(g)Wu(m,g)}if(u)Yu(u[1],l,r,c,i,s);var E=o.match(Ru);if(E)l["!autofilter"]=Hu(E[0]);var S=[];var k=o.match(Cu);if(k)for(d=0;d!=k.length;++d)S[d]=st(k[d].slice(k[d].indexOf('"')+1));var w=o.match(Iu);if(w)Lu(l,w,a);var B=o.match(Fu);if(B)l["!margins"]=Mu(ke(B[0]));if(!l["!ref"]&&c.e.c>=c.s.c&&c.e.r>=c.s.r)l["!ref"]=it(c);if(r.sheetRows>0&&l["!ref"]){var C=st(l["!ref"]);if(r.sheetRows<+C.e.r){C.e.r=r.sheetRows-1;if(C.e.r>c.e.r)C.e.r=c.e.r;if(C.e.r<C.s.r)C.s.r=C.e.r;if(C.e.c>c.e.c)C.e.c=c.e.c;if(C.e.c<C.s.c)C.s.c=C.e.c;l["!fullref"]=l["!ref"];l["!ref"]=it(C)}}if(m.length>0)l["!cols"]=m;if(S.length>0)l["!merges"]=S;return l}function yu(e){if(e.length===0)return"";var r='<mergeCells count="'+e.length+'">';for(var t=0;t!=e.length;++t)r+='<mergeCell ref="'+it(e[t])+'"/>';return r+"</mergeCells>"}function Pu(e,r,t,a){var n=ke(e);if(!t.Sheets[a])t.Sheets[a]={};if(n.codeName)t.Sheets[a].CodeName=n.codeName}function Nu(e){var r={sheet:1};var t=["objects","scenarios","selectLockedCells","selectUnlockedCells"];var a=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];t.forEach(function(t){if(e[t]!=null&&e[t])r[t]="1"});a.forEach(function(t){if(e[t]!=null&&!e[t])r[t]="0"});if(e.password)r.password=bl(e.password).toString(16).toUpperCase();return Qe("sheetProtection",null,r)}function Lu(e,r,t){var a=Array.isArray(e);for(var n=0;n!=r.length;++n){var i=ke(Ne(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 l=st(i.ref);for(var c=l.s.r;c<=l.e.r;++c)for(var f=l.s.c;f<=l.e.c;++f){var o=at({c:f,r:c});if(a){if(!e[c])e[c]=[];if(!e[c][f])e[c][f]={t:"z",v:undefined};e[c][f].l=i;
|
||
}else{if(!e[o])e[o]={t:"z",v:undefined};e[o].l=i}}}}function Mu(e){var r={};["left","right","top","bottom","header","footer"].forEach(function(t){if(e[t])r[t]=parseFloat(e[t])});return r}function Uu(e){Su(e);return Qe("pageMargins",null,e)}function Wu(e,r){var t=false;for(var a=0;a!=r.length;++a){var n=ke(r[a],true);if(n.hidden)n.hidden=Pe(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;Ll(n.width)}Ml(n);while(i<=s)e[i++]=re(n)}}function Vu(e,r){var t=["<cols>"],a;for(var n=0;n!=r.length;++n){if(!(a=r[n]))continue;t[t.length]=Qe("col",null,Eu(n,a))}t[t.length]="</cols>";return t.join("")}function Hu(e){var r={ref:(e.match(/ref="([^"]*)"/)||[])[1]};return r}function Xu(e){return Qe("autoFilter",null,{ref:e.ref})}var Gu=/<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/>/;function zu(e,r){(e.match(Gu)||[]).forEach(function(e){var t=ke(e);if(Pe(t.rightToLeft)){if(!r.Views)r.Views=[{}];if(!r.Views[0])r.Views[0]={};r.Views[0].RTL=true}})}function ju(e,r,t,a){var n={workbookViewId:"0"};if((((a||{}).Workbook||{}).Views||[])[0])n.rightToLeft=a.Workbook.Views[0].RTL?"1":"0";return Qe("sheetViews",Qe("sheetView",null,n),{})}function Ku(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=Mt[e.v];break;case"d":if(a.cellDates)n=q(e.v,-1).toISOString();else{e=re(e);e.t="n";n=""+(e.v=Y(q(e.v)))}if(typeof e.z==="undefined")e.z=R._table[14];break;default:n=e.v;break;}var l=Ye("v",Ae(n)),c={r:r};var f=ku(a.cellXfs,e,a);if(f!==0)c.s=f;switch(e.t){case"n":break;case"d":c.t="d";break;case"b":c.t="b";break;case"e":c.t="e";break;default:if(e.v==null){delete e.t;break}if(a.bookSST){l=Ye("v",""+gu(a.Strings,e.v));c.t="s";break}c.t="str";break;}if(e.t!=i){e.t=i;e.v=s}if(e.f){var o=e.F&&e.F.slice(0,r.length)==r?{t:"array",ref:e.F}:null;l=Qe("f",Ae(e.f),o)+(e.v!=null?l:"")}if(e.l)t["!links"].push([r,e.l]);if(e.c)t["!comments"].push([r,e.c]);return Qe("c",l,c)}var Yu=function(){var e=/<(?:\w+:)?c[ >]/,r=/<\/(?:\w+:)?row>/;var t=/r=["']([^"']*)["']/,a=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/;var n=/ref=["']([^"']*)["']/;var i=Ve("v"),s=Ve("f");return function l(c,f,o,u,h,d){var v=0,p="",b=[],m=[],g=0,E=0,S=0,k="",w;var B,C=0,T=0;var I,x;var A=0,F=0;var D=Array.isArray(d.CellXf),_;var O=[];var y=[];var P=Array.isArray(f);var N=[],L={},M=false;for(var U=c.split(r),W=0,V=U.length;W!=V;++W){p=U[W].trim();var H=p.length;if(H===0)continue;for(v=0;v<H;++v)if(p.charCodeAt(v)===62)break;++v;B=ke(p.slice(0,v),true);C=B.r!=null?parseInt(B.r,10):C+1;T=-1;if(o.sheetRows&&o.sheetRows<C)continue;if(u.s.r>C-1)u.s.r=C-1;if(u.e.r<C-1)u.e.r=C-1;if(o&&o.cellStyles){L={};M=false;if(B.ht){M=true;L.hpt=parseFloat(B.ht);L.hpx=Hl(L.hpt)}if(B.hidden=="1"){M=true;L.hidden=true}if(B.outlineLevel!=null){M=true;L.level=+B.outlineLevel}if(M)N[C-1]=L}b=p.slice(v).split(e);for(v=0;v!=b.length;++v){p=b[v].trim();if(p.length===0)continue;m=p.match(t);g=v;E=0;S=0;p="<c "+(p.slice(0,1)=="<"?">":"")+p;if(m!=null&&m.length===2){g=0;k=m[1];for(E=0;E!=k.length;++E){if((S=k.charCodeAt(E)-64)<1||S>26)break;g=26*g+S}--g;T=g}else++T;for(E=0;E!=p.length;++E)if(p.charCodeAt(E)===62)break;++E;B=ke(p.slice(0,E),true);if(!B.r)B.r=at({r:C-1,c:T});k=p.slice(E);w={t:""};if((m=k.match(i))!=null&&m[1]!=="")w.v=Te(m[1]);if(o.cellFormula){if((m=k.match(s))!=null&&m[1]!==""){w.f=If(Te(Ne(m[1])));if(m[0].indexOf('t="array"')>-1){w.F=(k.match(n)||[])[1];if(w.F.indexOf(":")>-1)O.push([st(w.F),w.F])}else if(m[0].indexOf('t="shared"')>-1){x=ke(m[0]);y[parseInt(x.si,10)]=[x,If(Te(Ne(m[1])))]}}else if(m=k.match(/<f[^>]*\/>/)){x=ke(m[0]);if(y[x.si])w.f=Cf(y[x.si][1],y[x.si][0].ref,B.r)}var X=tt(B.r);for(E=0;E<O.length;++E)if(X.r>=O[E][0].s.r&&X.r<=O[E][0].e.r)if(X.c>=O[E][0].s.c&&X.c<=O[E][0].e.c)w.F=O[E][1]}if(B.t==null&&w.v===undefined){if(w.f||w.F){w.v=0;w.t="n"}else if(!o.sheetStubs)continue;else w.t="z"}else w.t=B.t||"n";if(u.s.c>g)u.s.c=g;if(u.e.c<g)u.e.c=g;switch(w.t){case"n":if(w.v==""||w.v==null){if(!o.sheetStubs)continue;w.t="z"}else w.v=parseFloat(w.v);break;case"s":if(typeof w.v=="undefined"){if(!o.sheetStubs)continue;w.t="z"}else{I=bu[parseInt(w.v,10)];w.v=I.t;w.r=I.r;if(o.cellHTML)w.h=I.h}break;case"str":w.t="s";w.v=w.v!=null?Ne(w.v):"";if(o.cellHTML)w.h=De(w.v);break;case"inlineStr":m=k.match(a);w.t="s";if(m!=null&&(I=Hs(m[1])))w.v=I.t;else w.v="";break;case"b":w.v=Pe(w.v);break;case"d":if(o.cellDates)w.v=q(w.v,1);else{w.v=Y(q(w.v,1));w.t="n"}break;case"e":if(!o||o.cellText!==false)w.w=w.v;w.v=Ut[w.v];break;}A=F=0;if(D&&B.s!==undefined){_=d.CellXf[B.s];if(_!=null){if(_.numFmtId!=null)A=_.numFmtId;if(o.cellStyles){if(_.fillId!=null)F=_.fillId}}}wu(w,A,F,o,h,d);if(o.cellDates&&D&&w.t=="n"&&R.is_date(R._table[A])){w.t="d";w.v=$(w.v)}if(P){var G=tt(B.r);if(!f[G.r])f[G.r]=[];f[G.r][G.c]=w}else f[B.r]=w}}if(N.length>0)f["!rows"]=N}}();function $u(e,r,t,a){var n=[],i=[],s=st(e["!ref"]),l="",c,f="",o=[],u=0,h=0,d=e["!rows"];var v=Array.isArray(e);var p={r:f},b,m=-1;for(h=s.s.c;h<=s.e.c;++h)o[h]=Zr(h);for(u=s.s.r;u<=s.e.r;++u){i=[];f=Yr(u);for(h=s.s.c;h<=s.e.c;++h){c=o[h]+f;var g=v?(e[u]||[])[h]:e[c];if(g===undefined)continue;if((l=Ku(g,c,e,r,t,a))!=null)i.push(l)}if(i.length>0||d&&d[u]){p={r:f};if(d&&d[u]){b=d[u];if(b.hidden)p.hidden=1;m=-1;if(b.hpx)m=Vl(b.hpx);else if(b.hpt)m=b.hpt;if(m>-1){p.ht=m;p.customHeight=1}if(b.level){p.outlineLevel=b.level}}n[n.length]=Qe("row",i.join(""),p)}}if(d)for(;u<d.length;++u){if(d&&d[u]){p={r:u+1};b=d[u];if(b.hidden)p.hidden=1;m=-1;if(b.hpx)m=Vl(b.hpx);else if(b.hpt)m=b.hpt;if(m>-1){p.ht=m;p.customHeight=1}if(b.level){p.outlineLevel=b.level}n[n.length]=Qe("row","",p)}}return n.join("")}var Qu=Qe("worksheet",null,{xmlns:qe.main[0],"xmlns:r":qe.r});function Ju(e,r,t,a){var n=[be,Qu];var i=t.SheetNames[e],s=0,l="";var c=t.Sheets[i];if(c==null)c={};var f=c["!ref"];if(f==null)f="A1";if(!a)a={};c["!comments"]=[];c["!drawing"]=[];var o=t.SheetNames[e];try{if(t.Workbook)o=t.Workbook.Sheets[e].CodeName||o}catch(u){}n[n.length]=Qe("sheetPr",null,{codeName:Ae(o)});n[n.length]=Qe("dimension",null,{ref:f});n[n.length]=ju(c,r,e,t);if(r.sheetFormat)n[n.length]=Qe("sheetFormatPr",null,{defaultRowHeight:r.sheetFormat.defaultRowHeight||"16",baseColWidth:r.sheetFormat.baseColWidth||"10",outlineLevelRow:r.sheetFormat.outlineLevelRow||"7"});if(c["!cols"]!=null&&c["!cols"].length>0)n[n.length]=Vu(c,c["!cols"]);n[s=n.length]="<sheetData/>";c["!links"]=[];if(c["!ref"]!=null){l=$u(c,r,e,t,a);if(l.length>0)n[n.length]=l}if(n.length>s+1){n[n.length]="</sheetData>";n[s]=n[s].replace("/>",">")}if(c["!protect"]!=null)n[n.length]=Nu(c["!protect"]);if(c["!autofilter"]!=null)n[n.length]=Xu(c["!autofilter"]);if(c["!merges"]!=null&&c["!merges"].length>0)n[n.length]=yu(c["!merges"]);var h=-1,d,v=-1;if(c["!links"].length>0){n[n.length]="<hyperlinks>";c["!links"].forEach(function(e){if(!e[1].Target)return;d={ref:e[0]};if(e[1].Target.charAt(0)!="#"){v=Ta(a,-1,Ae(e[1].Target).replace(/#.*$/,""),Sa.HLINK);d["r:id"]="rId"+v}if((h=e[1].Target.indexOf("#"))>-1)d.location=Ae(e[1].Target.slice(h+1));if(e[1].Tooltip)d.tooltip=Ae(e[1].Tooltip);n[n.length]=Qe("hyperlink",null,d)});n[n.length]="</hyperlinks>"}delete c["!links"];if(c["!margins"]!=null)n[n.length]=Uu(c["!margins"]);n[n.length]="";if(c["!drawing"].length>0){v=Ta(a,-1,"../drawings/drawing"+(e+1)+".xml",Sa.DRAW);n[n.length]=Qe("drawing",null,{"r:id":"rId"+v})}else delete c["!drawing"];if(c["!comments"].length>0){v=Ta(a,-1,"../drawings/vmlDrawing"+(e+1)+".vml",Sa.VML);n[n.length]=Qe("legacyDrawing",null,{"r:id":"rId"+v});c["!legacy"]=v}if(n.length>2){n[n.length]="</worksheet>";n[1]=n[1].replace("/>",">")}return n.join("")}function Zu(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 qu(e,r,t){var a=Lr(17+8*16);var n=(t["!rows"]||[])[e]||{};a._W(4,e);a._W(4,0);var i=320;if(n.hpx)i=Vl(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 l=0,c=a.l;a.l+=4;var f={r:e,c:0};for(var o=0;o<16;++o){if(r.s.c>o+1<<10||r.e.c<o<<10)continue;var u=-1,h=-1;for(var d=o<<10;d<o+1<<10;++d){f.c=d;var v=Array.isArray(t)?(t[f.r]||[])[f.c]:t[at(f)];if(v){if(u<0)u=d;h=d}}if(u<0)continue;++l;a._W(4,u);a._W(4,h)}var p=a.l;a.l=c;a._W(4,l);a.l=p;return a.length>a.l?a.slice(0,a.l):a}function eh(e,r,t,a){var n=qu(a,t,r);if(n.length>17||(r["!rows"]||[])[a])Wr(e,"BrtRowHdr",n)}var rh=yt;var th=Pt;function ah(){}function nh(e,r){var t={};e.l+=19;t.name=Bt(e,r-19);return t}function ih(e,r){if(r==null)r=Lr(84+4*e.length);for(var t=0;t<3;++t)r._W(1,0);Vt({auto:1},r);r._W(-4,-1);r._W(-4,-1);Ct(e,r);return r.slice(0,r.l)}function sh(e){var r=kt(e);return[r]}function lh(e,r,t){if(t==null)t=Lr(8);return wt(r,t)}function ch(e){var r=kt(e);var t=e._R(1);return[r,t,"b"]}function fh(e,r,t){if(t==null)t=Lr(9);wt(r,t);t._W(1,e.v?1:0);return t}function oh(e){var r=kt(e);var t=e._R(1);return[r,t,"e"]}function uh(e){var r=kt(e);var t=e._R(4);return[r,t,"s"]}function hh(e,r,t){if(t==null)t=Lr(12);wt(r,t);t._W(4,r.v);return t}function dh(e){var r=kt(e);var t=Nt(e);return[r,t,"n"]}function vh(e,r,t){if(t==null)t=Lr(16);wt(r,t);Lt(e.v,t);return t}function ph(e){var r=kt(e);var t=Ft(e);return[r,t,"n"]}function bh(e,r,t){if(t==null)t=Lr(12);wt(r,t);Dt(e.v,t);return t}function mh(e){var r=kt(e);var t=dt(e);return[r,t,"str"]}function gh(e,r,t){if(t==null)t=Lr(12+4*e.v.length);wt(r,t);vt(e.v,t);return t.length>t.l?t.slice(0,t.l):t}function Eh(e,r,t){var a=e.l+r;var n=kt(e);n.r=t["!row"];var i=e._R(1);var s=[n,i,"b"];if(t.cellFormula){e.l+=2;var l=iu(e,a-e.l,t);s[3]=Qo(l,null,n,t.supbooks,t)}else e.l=a;return s}function Sh(e,r,t){var a=e.l+r;var n=kt(e);n.r=t["!row"];var i=e._R(1);var s=[n,i,"e"];if(t.cellFormula){e.l+=2;var l=iu(e,a-e.l,t);s[3]=Qo(l,null,n,t.supbooks,t)}else e.l=a;return s}function kh(e,r,t){var a=e.l+r;var n=kt(e);n.r=t["!row"];var i=Nt(e);var s=[n,i,"n"];if(t.cellFormula){e.l+=2;var l=iu(e,a-e.l,t);s[3]=Qo(l,null,n,t.supbooks,t)}else e.l=a;return s}function wh(e,r,t){var a=e.l+r;var n=kt(e);n.r=t["!row"];var i=dt(e);var s=[n,i,"str"];if(t.cellFormula){e.l+=2;var l=iu(e,a-e.l,t);s[3]=Qo(l,null,n,t.supbooks,t)}else e.l=a;return s}var Bh=yt;var Ch=Pt;function Th(e,r){if(r==null)r=Lr(4);r._W(4,e);return r}function Ih(e,r){var t=e.l+r;var a=yt(e,16);var n=Tt(e);var i=dt(e);var s=dt(e);var l=dt(e);e.l=t;var c={rfx:a,relId:n,loc:i,display:l};if(s)c.Tooltip=s;return c}function xh(e,r){var t=Lr(50+4*(e[1].Target.length+(e[1].Tooltip||"").length));Pt({s:tt(e[0]),e:tt(e[0])},t);Rt("rId"+r,t);var a=e[1].Target.indexOf("#");var n=a==-1?"":e[1].Target.slice(a+1);vt(n||"",t);vt(e[1].Tooltip||"",t);vt("",t);return t.slice(0,t.l)}function Ah(e,r,t){var a=e.l+r;var n=_t(e,16);var i=e._R(1);var s=[n];s[2]=i;if(t.cellFormula){var l=nu(e,a-e.l,t);s[1]=l}else e.l=a;return s}function Rh(e,r,t){var a=e.l+r;var n=yt(e,16);var i=[n];if(t.cellFormula){var s=lu(e,a-e.l,t);i[1]=s;e.l=a}else e.l=a;return i}function Fh(e,r,t){if(t==null)t=Lr(18);var a=Eu(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 Dh=["left","right","top","bottom","header","footer"];function _h(e){var r={};Dh.forEach(function(t){r[t]=Nt(e,8)});return r}function Oh(e,r){if(r==null)r=Lr(6*8);Su(e);Dh.forEach(function(t){Lt(e[t],r)});return r}function yh(e){var r=e._R(2);e.l+=28;return{RTL:r&32}}function Ph(e,r,t){if(t==null)t=Lr(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 Nh(e,r){if(r==null)r=Lr(16*4+2);r._W(2,e.password?bl(e.password):0);r._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(t){if(t[1])r._W(4,e[t[0]]!=null&&!e[t[0]]?1:0);else r._W(4,e[t[0]]!=null&&e[t[0]]?0:1)});return r}function Lh(e,r,t,a,n,i,s){if(!e)return e;var l=r||{};if(!a)a={"!id":{}};if(b!=null&&l.dense==null)l.dense=b;var c=l.dense?[]:{};var f;var o={s:{r:2e6,c:2e6},e:{r:0,c:0}};var u=false,h=false;var d,v,p,m,g,E,S,k,w;var B=[];l.biff=12;l["!row"]=0;var C=0,T=false;var I=[];var x={};var A=l.supbooks||[[]];A.sharedf=x;A.arrayf=I;A.SheetNames=n.SheetNames||n.Sheets.map(function(e){return e.name});if(!l.supbooks){l.supbooks=A;if(n.Names)for(var F=0;F<n.Names.length;++F)A[0][F+1]=n.Names[F]}var D=[],_=[];var O=false;Mr(e,function P(e,r,b){if(h)return;switch(b){case 148:f=e;break;case 0:d=e;if(l.sheetRows&&l.sheetRows<=d.r)h=true;k=Yr(m=d.r);l["!row"]=d.r;if(e.hidden||e.hpt||e.level!=null){if(e.hpt)e.hpx=Hl(e.hpt);_[e.r]=e}break;case 2:;case 3:;case 4:;case 5:;case 6:;case 7:;case 8:;case 9:;case 10:;case 11:v={t:e[2]};switch(e[2]){case"n":v.v=e[1];break;case"s":S=bu[e[1]];v.v=S.t;v.r=S.r;break;case"b":v.v=e[1]?true:false;break;case"e":v.v=e[1];if(l.cellText!==false)v.w=Mt[v.v];break;case"str":v.t="s";v.v=e[1];break;}if(p=s.CellXf[e[0].iStyleRef])wu(v,p.numFmtId,null,l,i,s);g=e[0].c;if(l.dense){if(!c[m])c[m]=[];c[m][g]=v}else c[Zr(g)+k]=v;if(l.cellFormula){T=false;for(C=0;C<I.length;++C){var F=I[C];if(d.r>=F[0].s.r&&d.r<=F[0].e.r)if(g>=F[0].s.c&&g<=F[0].e.c){v.F=it(F[0]);T=true}}if(!T&&e.length>3)v.f=e[3]}if(o.s.r>d.r)o.s.r=d.r;if(o.s.c>g)o.s.c=g;if(o.e.r<d.r)o.e.r=d.r;if(o.e.c<g)o.e.c=g;if(l.cellDates&&p&&v.t=="n"&&R.is_date(R._table[p.numFmtId])){var y=R.parse_date_code(v.v);if(y){v.t="d";v.v=new Date(y.y,y.m-1,y.d,y.H,y.M,y.S,y.u)}}break;case 1:if(!l.sheetStubs||u)break;v={t:"z",v:undefined};g=e[0].c;if(l.dense){if(!c[m])c[m]=[];c[m][g]=v}else c[Zr(g)+k]=v;if(o.s.r>d.r)o.s.r=d.r;if(o.s.c>g)o.s.c=g;if(o.e.r<d.r)o.e.r=d.r;if(o.e.c<g)o.e.c=g;break;case 176:B.push(e);break;case 494:var P=a["!id"][e.relId];if(P){e.Target=P.Target;if(e.loc)e.Target+="#"+e.loc;e.Rel=P}else if(e.relId==""){e.Target="#"+e.loc}for(m=e.rfx.s.r;m<=e.rfx.e.r;++m)for(g=e.rfx.s.c;g<=e.rfx.e.c;++g){if(l.dense){if(!c[m])c[m]=[];if(!c[m][g])c[m][g]={t:"z",v:undefined};c[m][g].l=e}else{E=at({c:g,r:m});if(!c[E])c[E]={t:"z",v:undefined};c[E].l=e}}break;case 426:if(!l.cellFormula)break;I.push(e);w=l.dense?c[m][g]:c[Zr(g)+k];w.f=Qo(e[1],o,{r:d.r,c:g},A,l);w.F=it(e[0]);break;case 427:if(!l.cellFormula)break;x[at(e[0].s)]=e[1];w=l.dense?c[m][g]:c[Zr(g)+k];w.f=Qo(e[1],o,{r:d.r,c:g},A,l);break;case 60:if(!l.cellStyles)break;while(e.e>=e.s){D[e.e--]={width:e.w/256,hidden:!!(e.flags&1)};if(!O){O=true;Ll(e.w/256)}Ml(D[e.e+1])}break;case 161:c["!autofilter"]={ref:it(e)};break;case 476:c["!margins"]=e;break;case 147:if(!n.Sheets[t])n.Sheets[t]={};if(e.name)n.Sheets[t].CodeName=e.name;break;case 137:if(!n.Views)n.Views=[{}];if(!n.Views[0])n.Views[0]={};if(e.RTL)n.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 50:;case 2070:;case 1045:break;case 35:u=true;break;case 36:u=false;break;case 37:break;case 38:break;default:if((r||"").indexOf("Begin")>0){}else if((r||"").indexOf("End")>0){}else if(!u||l.WTF)throw new Error("Unexpected record "+b+" "+r);}},l);delete l.supbooks;delete l["!row"];if(!c["!ref"]&&(o.s.r<2e6||f&&(f.e.r>0||f.e.c>0||f.s.r>0||f.s.c>0)))c["!ref"]=it(f||o);if(l.sheetRows&&c["!ref"]){var y=st(c["!ref"]);if(l.sheetRows<+y.e.r){y.e.r=l.sheetRows-1;if(y.e.r>o.e.r)y.e.r=o.e.r;if(y.e.r<y.s.r)y.s.r=y.e.r;if(y.e.c>o.e.c)y.e.c=o.e.c;if(y.e.c<y.s.c)y.s.c=y.e.c;c["!fullref"]=c["!ref"];c["!ref"]=it(y)}}if(B.length>0)c["!merges"]=B;if(D.length>0)c["!cols"]=D;if(_.length>0)c["!rows"]=_;return c}function Mh(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=re(r);r.z=r.z||R._table[14];r.v=Y(q(r.v));r.t="n";break;case"n":;case"e":s=""+r.v;break;default:s=r.v;break;}var l={r:t,c:a};l.s=ku(n.cellXfs,r,n);if(r.l)i["!links"].push([at(l),r.l]);if(r.c)i["!comments"].push([at(l),r.c]);switch(r.t){case"s":;case"str":if(n.bookSST){s=gu(n.Strings,r.v);l.t="s";l.v=s;Wr(e,"BrtCellIsst",hh(r,l))}else{l.t="str";Wr(e,"BrtCellSt",gh(r,l))}return;case"n":if(r.v==(r.v|0)&&r.v>-1e3&&r.v<1e3)Wr(e,"BrtCellRk",bh(r,l));else Wr(e,"BrtCellReal",vh(r,l));return;case"b":l.t="b";Wr(e,"BrtCellBool",fh(r,l));return;case"e":l.t="e";break;}Wr(e,"BrtCellBlank",lh(r,l))}function Uh(e,r,t,a){var n=st(r["!ref"]||"A1"),i,s="",l=[];Wr(e,"BrtBeginSheetData");var c=Array.isArray(r);var f=n.e.r;if(r["!rows"])f=Math.max(n.e.r,r["!rows"].length-1);for(var o=n.s.r;o<=f;++o){s=Yr(o);eh(e,r,n,o);if(o<=n.e.r)for(var u=n.s.c;u<=n.e.c;++u){if(o===n.s.r)l[u]=Zr(u);i=l[u]+s;var h=c?(r[o]||[])[u]:r[i];if(!h)continue;Mh(e,h,o,u,a,r)}}Wr(e,"BrtEndSheetData")}function Wh(e,r){if(!r||!r["!merges"])return;Wr(e,"BrtBeginMergeCells",Th(r["!merges"].length));r["!merges"].forEach(function(r){Wr(e,"BrtMergeCell",Ch(r))});Wr(e,"BrtEndMergeCells")}function Vh(e,r){if(!r||!r["!cols"])return;Wr(e,"BrtBeginColInfos");r["!cols"].forEach(function(r,t){if(r)Wr(e,"BrtColInfo",Fh(t,r))});Wr(e,"BrtEndColInfos")}function Hh(e,r,t){r["!links"].forEach(function(r){if(!r[1].Target)return;var a=Ta(t,-1,r[1].Target.replace(/#.*$/,""),Sa.HLINK);Wr(e,"BrtHLink",xh(r,a))});delete r["!links"]}function Xh(e,r,t,a){if(r["!comments"].length>0){var n=Ta(a,-1,"../drawings/vmlDrawing"+(t+1)+".vml",Sa.VML);Wr(e,"BrtLegacyDrawing",Rt("rId"+n));r["!legacy"]=n}}function Gh(e,r){if(!r["!autofilter"])return;Wr(e,"BrtBeginAFilter",Pt(nt(r["!autofilter"].ref)));Wr(e,"BrtEndAFilter")}function zh(e,r,t){Wr(e,"BrtBeginWsViews");{Wr(e,"BrtBeginWsView",Ph(r,t));Wr(e,"BrtEndWsView")}Wr(e,"BrtEndWsViews")}function jh(){}function Kh(e,r){if(!r["!protect"])return;Wr(e,"BrtSheetProtection",Nh(r["!protect"]))}function Yh(e,r,t,a){var n=Ur();var i=t.SheetNames[e],s=t.Sheets[i]||{};var l=i;try{if(t&&t.Workbook)l=t.Workbook.Sheets[e].CodeName||l}catch(c){}var f=st(s["!ref"]||"A1");s["!links"]=[];s["!comments"]=[];Wr(n,"BrtBeginSheet");Wr(n,"BrtWsProp",ih(l));Wr(n,"BrtWsDim",th(f));zh(n,s,t.Workbook);jh(n,s);Vh(n,s,e,r,t);Uh(n,s,e,r,t);Kh(n,s);Gh(n,s);Wh(n,s);Hh(n,s,a);if(s["!margins"])Wr(n,"BrtMargins",Oh(s["!margins"]));Xh(n,s,e,a);Wr(n,"BrtEndSheet");return n.end()}function $h(e){var r=[];(e.match(/<c:pt idx="(\d*)">(.*?)<\/c:pt>/gm)||[]).forEach(function(e){var t=e.match(/<c:pt idx="(.*?)"><c:v>(.*)<\/c:v><\/c:pt>/);if(!t)return;r[+t[1]]=+t[2]});var t=Te((e.match(/<c:formatCode>([\s\S]*?)<\/c:formatCode>/)||["","General"])[1]);return[r,t]}function Qh(e,r,t,a,n,i){var s=i||{"!type":"chart"};if(!e)return i;var l=0,c=0,f="A";var o={s:{r:2e6,c:2e6},e:{r:0,c:0}};(e.match(/<c:numCache>[\s\S]*?<\/c:numCache>/gm)||[]).forEach(function(e){var r=$h(e);o.s.r=o.s.c=0;o.e.c=l;f=Zr(l);r[0].forEach(function(e,t){s[f+Yr(t)]={t:"n",v:e,z:r[1]};c=t});if(o.e.r<c)o.e.r=c;++l});if(l>0)s["!ref"]=it(o);return s}Sa.CS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet";var Jh=Qe("chartsheet",null,{xmlns:qe.main[0],"xmlns:r":qe.r});function Zh(e,r,t,a,n){if(!e)return e;if(!a)a={"!id":{}};var i={"!type":"chart","!chart":null,"!rel":""};var s;var l=e.match(Du);if(l)Pu(l[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 qh(e,r,t,a){var n=[be,Jh];n[n.length]=Qe("drawing",null,{"r:id":"rId1"});Ta(a,-1,"../drawings/drawing"+(e+1)+".xml",Sa.DRAW);if(n.length>2){n[n.length]="</chartsheet>";n[1]=n[1].replace("/>",">")}return n.join("")}function ed(e,r){e.l+=10;var t=dt(e,r-10);return{name:t}}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 l=false;Mr(e,function c(e,a,f){switch(f){case 550:i["!rel"]=e;break;case 651:if(!n.Sheets[t])n.Sheets[t]={};if(e.name)n.Sheets[t].CodeName=e.name;break;case 562:;case 652:;case 669:;case 679:;case 551:;case 552:;case 476:break;case 35:l=true;break;case 36:l=false;break;case 37:s.push(a);break;case 38:s.pop();break;default:if((a||"").indexOf("Begin")>0)s.push(a);else if((a||"").indexOf("End")>0)s.pop();else if(!l||r.WTF)throw new Error("Unexpected record "+f+" "+a);}},r);if(a["!id"][i["!rel"]])i["!chart"]=a["!id"][i["!rel"]];return i}function td(){var e=Ur();Wr(e,"BrtBeginSheet");Wr(e,"BrtEndSheet");return e.end()}var ad=[["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 id=[];var sd=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function ld(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]]=Pe(a[i[0]]);break;case"int":if(typeof a[i[0]]=="string")a[i[0]]=parseInt(a[i[0]],10);break;}}}}function cd(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]]=Pe(e[a[0]]);break;case"int":if(typeof e[a[0]]=="string")e[a[0]]=parseInt(e[a[0]],10);break;}}}function fd(e){cd(e.WBProps,ad);cd(e.CalcPr,sd);ld(e.WBView,nd);ld(e.Sheets,id);mu.date1904=Pe(e.WBProps.date1904)}function od(e){if(!e.Workbook)return"false";if(!e.Workbook.WBProps)return"false";return Pe(e.Workbook.WBProps.date1904)?"true":"false"}var ud="][*?/\\".split("");function hd(e,r){if(e.length>31){if(r)return false;throw new Error("Sheet names cannot exceed 31 chars")}var t=true;ud.forEach(function(a){if(e.indexOf(a)==-1)return;if(!r)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");t=false});return t}function dd(e){e.forEach(function(r,t){hd(r);for(var a=0;a<t;++a)if(r==e[a])throw new Error("Duplicate Sheet Name: "+r)})}function vd(e){if(!e||!e.SheetNames||!e.Sheets)throw new Error("Invalid Workbook");if(!e.SheetNames.length)throw new Error("Workbook is empty");dd(e.SheetNames)}var pd=/<\w+:workbook/;function bd(e,r){if(!e)throw new Error("Could not find file");var t={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},Names:[],xmlns:""};var a=false,n="xmlns";var i={},s=0;e.replace(ge,function l(c,f){var o=ke(c);switch(we(o[0])){case"<?xml":break;case"<workbook":if(c.match(pd))n="xmlns"+c.match(/<(\w+):/)[1];t.xmlns=o[n];break;case"</workbook>":break;case"<fileVersion":delete o[0];t.AppVersion=o;break;case"<fileVersion/>":;case"</fileVersion>":break;case"<fileSharing":;case"<fileSharing/>":break;case"<workbookPr":;case"<workbookPr/>":ad.forEach(function(e){if(o[e[0]]==null)return;switch(e[2]){case"bool":t.WBProps[e[0]]=Pe(o[e[0]]);break;case"int":t.WBProps[e[0]]=parseInt(o[e[0]],10);break;default:t.WBProps[e[0]]=o[e[0]];}});if(o.codeName)t.WBProps.CodeName=o.codeName;break;case"</workbookPr>":break;case"<workbookProtection":break;case"<workbookProtection/>":break;case"<bookViews":;case"<bookViews>":;case"</bookViews>":break;case"<workbookView":delete o[0];t.WBView.push(o);break;case"</workbookView>":break;case"<sheets":;case"<sheets>":;case"</sheets>":break;case"<sheet":switch(o.state){case"hidden":o.Hidden=1;break;case"veryHidden":o.Hidden=2;break;default:o.Hidden=0;}delete o.state;o.name=Te(Ne(o.name));delete o[0];t.Sheets.push(o);break;case"</sheet>":break;case"<functionGroups":;case"<functionGroups/>":break;case"<functionGroup":break;case"<externalReferences":;case"</externalReferences>":;case"<externalReferences>":break;case"<externalReference":break;case"<definedNames/>":break;case"<definedNames>":;case"<definedNames":a=true;break;case"</definedNames>":a=false;break;case"<definedName":{i={};i.Name=o.name;if(o.comment)i.Comment=o.comment;if(o.localSheetId)i.Sheet=+o.localSheetId;s=f+c.length}break;case"</definedName>":{i.Ref=e.slice(s,f);t.Names.push(i)}break;case"<definedName/>":break;case"<calcPr":delete o[0];t.CalcPr=o;break;case"<calcPr/>":delete o[0];t.CalcPr=o;break;case"</calcPr>":break;case"<oleSize":break;case"<customWorkbookViews>":;case"</customWorkbookViews>":;case"<customWorkbookViews":break;case"<customWorkbookView":;case"</customWorkbookView>":break;case"<pivotCaches>":;case"</pivotCaches>":;case"<pivotCaches":break;case"<pivotCache":break;case"<smartTagPr":;case"<smartTagPr/>":break;case"<smartTagTypes":;case"<smartTagTypes>":;case"</smartTagTypes>":break;case"<smartTagType":break;case"<webPublishing":;case"<webPublishing/>":break;case"<fileRecoveryPr":;case"<fileRecoveryPr/>":break;case"<webPublishObjects>":;case"<webPublishObjects":;case"</webPublishObjects>":break;case"<webPublishObject":break;case"<extLst":;case"<extLst>":;case"</extLst>":;case"<extLst/>":break;case"<ext":a=true;break;case"</ext>":a=false;break;case"<ArchID":break;case"<AlternateContent":;case"<AlternateContent>":a=true;break;case"</AlternateContent>":a=false;break;case"<revisionPtr":break;default:if(!a&&r.WTF)throw new Error("unrecognized "+o[0]+" in workbook");}return c});if(qe.main.indexOf(t.xmlns)===-1)throw new Error("Unknown Namespace: "+t.xmlns);fd(t);return t}var md=Qe("workbook",null,{xmlns:qe.main[0],"xmlns:r":qe.r});function gd(e){var r=[be];r[r.length]=md;var t=e.Workbook&&(e.Workbook.Names||[]).length>0;var a={codeName:"ThisWorkbook"};if(e.Workbook&&e.Workbook.WBProps){ad.forEach(function(r){if(e.Workbook.WBProps[r[0]]==null)return;if(e.Workbook.WBProps[r[0]]==r[1])return;a[r[0]]=e.Workbook.WBProps[r[0]]});if(e.Workbook.WBProps.CodeName){a.codeName=e.Workbook.WBProps.CodeName;delete a.CodeName}}r[r.length]=Qe("workbookPr",null,a);r[r.length]="<sheets>";var n=e.Workbook&&e.Workbook.Sheets||[];for(var i=0;i!=e.SheetNames.length;++i){var s={name:Ae(e.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;}r[r.length]=Qe("sheet",null,s)}r[r.length]="</sheets>";if(t){r[r.length]="<definedNames>";if(e.Workbook&&e.Workbook.Names)e.Workbook.Names.forEach(function(e){var t={name:e.Name};if(e.Comment)t.comment=e.Comment;if(e.Sheet!=null)t.localSheetId=""+e.Sheet;if(!e.Ref)return;r[r.length]=Qe("definedName",String(e.Ref),t)});r[r.length]="</definedNames>"}if(r.length>2){r[r.length]="</workbook>";r[1]=r[1].replace("/>",">")}return r.join("")}function Ed(e,r){var t={};t.Hidden=e._R(4);t.iTabID=e._R(4);t.strRelID=At(e,r-8);t.name=dt(e);return t}function Sd(e,r){if(!r)r=Lr(127);r._W(4,e.Hidden);r._W(4,e.iTabID);Rt(e.strRelID,r);vt(e.name.slice(0,31),r);return r.length>r.l?r.slice(0,r.l):r}function kd(e,r){var t={};var a=e._R(4);t.defaultThemeVersion=e._R(4);var n=r>8?dt(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 wd(e,r){if(!r)r=Lr(72);var t=0;if(e){if(e.filterPrivacy)t|=8}r._W(4,t);r._W(4,0);Ct(e&&e.CodeName||"ThisWorkbook",r);return r.slice(0,r.l)}function Bd(e,r){var t={};e._R(4);t.ArchID=e._R(4);e.l+=r-8;return t}function Cd(e,r,t){var a=e.l+r;e.l+=4;e.l+=1;var n=e._R(4);var i=xt(e);var s=su(e,0,t);var l=Tt(e);e.l=a;var c={Name:i,Ptg:s};if(n<268435455)c.Sheet=n;if(l)c.Comment=l;return c}function Td(e,r){var t={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""};var a=false;if(!r)r={};r.biff=12;var n=[];var i=[[]];i.SheetNames=[];i.XTI=[];Mr(e,function s(e,l,c){switch(c){case 156:i.SheetNames.push(e.name);t.Sheets.push(e);break;case 153:t.WBProps=e;break;case 39:if(e.Sheet!=null)r.SID=e.Sheet;e.Ref=Qo(e.Ptg,null,null,i,r);delete r.SID;delete e.Ptg;n.push(e);break;case 1036:break;case 357:;case 358:;case 355:;case 667:if(!i[0].length)i[0]=[c,e];else i.push([c,e]);i[i.length-1].XTI=[];break;case 362:if(i.length===0){i[0]=[];i[0].XTI=[]}i[i.length-1].XTI=i[i.length-1].XTI.concat(e);i.XTI=i.XTI.concat(e);break;case 361:break;case 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:a=true;break;case 36:a=false;break;case 37:break;case 38:break;case 16:break;default:if((l||"").indexOf("Begin")>0){}else if((l||"").indexOf("End")>0){}else if(!a||r.WTF)throw new Error("Unexpected record "+c+" "+l);}},r);fd(t);t.Names=n;t.supbooks=i;return t}function Id(e,r){Wr(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]};Wr(e,"BrtBundleSh",Sd(n))}Wr(e,"BrtEndBundleShs")}function xd(e,t){if(!t)t=Lr(127);for(var a=0;a!=4;++a)t._W(4,0);vt("SheetJS",t);vt(r.version,t);vt(r.version,t);vt("7262",t);t.length=t.l;return t.length>t.l?t.slice(0,t.l):t}function Ad(e,r){if(!r)r=Lr(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 Rd(e,r){if(!r.Workbook||!r.Workbook.Sheets)return;var t=r.Workbook.Sheets;var a=0,n=-1,i=-1;for(;a<t.length;++a){if(!t[a]||!t[a].Hidden&&n==-1)n=a;else if(t[a].Hidden==1&&i==-1)i=a}if(i>n)return;Wr(e,"BrtBeginBookViews");Wr(e,"BrtBookView",Ad(n));Wr(e,"BrtEndBookViews")}function Fd(e,r){var t=Ur();Wr(t,"BrtBeginBook");Wr(t,"BrtFileVersion",xd());Wr(t,"BrtWbProp",wd(e.Workbook&&e.Workbook.WBProps||null));Rd(t,e,r);Id(t,e,r);Wr(t,"BrtEndBook");return t.end()}function Dd(e,r,t){if(r.slice(-4)===".bin")return Td(e,t);return bd(e,t)}function _d(e,r,t,a,n,i,s,l){if(r.slice(-4)===".bin")return Lh(e,a,t,n,i,s,l);return Ou(e,a,t,n,i,s,l)}function Od(e,r,t,a,n,i,s,l){
|
||
if(r.slice(-4)===".bin")return rd(e,a,t,n,i,s,l);return Zh(e,a,t,n,i,s,l)}function yd(e,r,t,a,n,i,s,l){if(r.slice(-4)===".bin")return gf(e,a,t,n,i,s,l);return Ef(e,a,t,n,i,s,l)}function Pd(e,r,t,a,n,i,s,l){if(r.slice(-4)===".bin")return bf(e,a,t,n,i,s,l);return mf(e,a,t,n,i,s,l)}function Nd(e,r,t,a){if(r.slice(-4)===".bin")return mc(e,t,a);return ql(e,t,a)}function Ld(e,r,t){return Lc(e,t)}function Md(e,r,t){if(r.slice(-4)===".bin")return Qs(e,t);return js(e,t)}function Ud(e,r,t){if(r.slice(-4)===".bin")return uf(e,t);return af(e,t)}function Wd(e,r,t){if(r.slice(-4)===".bin")return $c(e,r,t);return Kc(e,r,t)}function Vd(e,r,t){if(r.slice(-4)===".bin")return Jc(e,r,t);return Qc(e,r,t)}function Hd(e,r,t){return(r.slice(-4)===".bin"?Fd:gd)(e,t)}function Xd(e,r,t,a,n){return(r.slice(-4)===".bin"?Yh:Ju)(e,t,a,n)}function Gd(e,r,t,a,n){return(r.slice(-4)===".bin"?td:qh)(e,t,a,n)}function zd(e,r,t){return(r.slice(-4)===".bin"?Ac:rc)(e,t)}function jd(e,r,t){return(r.slice(-4)===".bin"?qs:Ys)(e,t)}function Kd(e,r,t){return(r.slice(-4)===".bin"?hf:sf)(e,t)}var Yd=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g;var $d=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;var Qd=function(e){return String.fromCharCode(e)};function Jd(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(Yd),i,s,l,c;if(n)for(c=0;c!=n.length;++c){i=n[c].match($d);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:")l="xmlns"+i[1].slice(6);else l=i[1].slice(s+1);a[l]=i[2].slice(1,i[2].length-1)}}return a}function Zd(e){var r=e.split(/\s+/);var t={};if(r.length===1)return t;var a=e.match(Yd),n,i,s,l;if(a)for(l=0;l!=a.length;++l){n=a[l].match($d);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 qd(e,r){var t=D[e]||Te(e);if(t==="General")return R._general(r);return R.format(t,r)}function ev(e,r,t,a){var n=a;switch((t[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":n=Pe(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=q(a);break;case"i8":;case"string":;case"fixed":;case"uuid":;case"bin.base64":break;default:throw new Error("bad custprop:"+t[0]);}e[Te(r)]=n}function rv(e,r,t){if(e.t==="z")return;if(!t||t.cellText!==false)try{if(e.t==="e"){e.w=e.w||Mt[e.v]}else if(r==="General"){if(e.t==="n"){if((e.v|0)===e.v)e.w=R._general_int(e.v);else e.w=R._general_num(e.v)}else e.w=R._general(e.v)}else e.w=qd(r||"General",e.v)}catch(a){if(t.WTF)throw a}try{var n=D[r]||r||"General";if(t.cellNF)e.z=n;if(t.cellDates&&e.t=="n"&&R.is_date(n)){var i=R.parse_date_code(e.v);if(i){e.t="d";e.v=new Date(i.y,i.m-1,i.d,i.H,i.M,i.S,i.u)}}}catch(a){if(t.WTF)throw a}}function tv(e,r,t){if(t.cellStyles){if(r.Interior){var a=r.Interior;if(a.Pattern)a.patternType=Xl[a.Pattern]||a.Pattern}}e[r.ID]=r}function av(e,r,t,a,n,i,s,l,c,f){var o="General",u=a.StyleID,h={};f=f||{};var d=[];var v=0;if(u===undefined&&l)u=l.StyleID;if(u===undefined&&s)u=s.StyleID;while(i[u]!==undefined){if(i[u].nf)o=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=Pe(e);break;case"String":a.t="s";a.r=Oe(Te(e));a.v=e.indexOf("<")>-1?Te(r):a.r;break;case"DateTime":if(e.slice(-1)!="Z")e+="Z";a.v=(q(e)-new Date(Date.UTC(1899,11,30)))/(24*60*60*1e3);if(a.v!==a.v)a.v=Te(e);else if(a.v<60)a.v=a.v-1;if(!o||o=="General")o="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=Ut[e];if(f.cellText!==false)a.w=e;break;default:a.t="s";a.v=Oe(r||e);break;}rv(a,o,f);if(f.cellFormula!==false){if(a.Formula){var p=Te(a.Formula);if(p.charCodeAt(0)==61)p=p.slice(1);a.f=Sf(p,n);delete a.Formula;if(a.ArrayRange=="RC")a.F=Sf("RC:RC",n);else if(a.ArrayRange){a.F=Sf(a.ArrayRange,n);c.push([st(a.F),a.F])}}else{for(v=0;v<c.length;++v)if(n.r>=c[v][0].s.r&&n.r<=c[v][0].e.r)if(n.c>=c[v][0].s.c&&n.c<=c[v][0].e.c)a.F=c[v][1]}}if(f.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 iv(e){if(E&&Buffer.isBuffer(e))return e.toString("utf8");if(typeof e==="string")return e;throw new Error("Bad input format: expected Buffer or string")}var sv=/<(\/?)([^\s?>!\/:]*:|)([^\s?>]*[^\s?>\/])[^>]*>/gm;function lv(e,r){var t=r||{};F(R);var a=v(iv(e));if(t.type=="binary"||t.type=="array"||t.type=="base64"){if(typeof cptable!=="undefined")a=cptable.utils.decode(65001,u(a));else a=Ne(a)}var n=a.slice(0,1024).toLowerCase(),i=false;if(n.indexOf("<?xml")==-1)["html","table","head","meta","script","style","div"].forEach(function(e){if(n.indexOf("<"+e)>=0)i=true});if(i)return Kv.to_workbook(a,t);var s;var l=[],c;if(b!=null&&t.dense==null)t.dense=b;var f={},o=[],h=t.dense?[]:{},d="";var p={},m={},g={};var E=Jd('<Data ss:Type="String">'),S=0;var k=0,w=0;var B={s:{r:2e6,c:2e6},e:{r:0,c:0}};var C={},T={};var I="",x=0;var A=[];var _={},O={},y=0,P=[];var N=[],L={};var M=[],U,W=false;var V=[];var H=[],X={},G=0,z=0;var j={Sheets:[],WBProps:{date1904:false}},K={};sv.lastIndex=0;a=a.replace(/<!--([\s\S]*?)-->/gm,"");while(s=sv.exec(a))switch(s[3]){case"Data":if(l[l.length-1][1])break;if(s[1]==="/")av(a.slice(S,s.index),I,E,l[l.length-1][0]=="Comment"?L:m,{c:k,r:w},C,M[k],g,V,t);else{I="";E=Jd(s[0]);S=s.index+s[0].length}break;case"Cell":if(s[1]==="/"){if(N.length>0)m.c=N;if((!t.sheetRows||t.sheetRows>w)&&m.v!==undefined){if(t.dense){if(!h[w])h[w]=[];h[w][k]=m}else h[Zr(k)+Yr(w)]=m}if(m.HRef){m.l={Target:m.HRef};if(m.HRefScreenTip)m.l.Tooltip=m.HRefScreenTip;delete m.HRef;delete m.HRefScreenTip}if(m.MergeAcross||m.MergeDown){G=k+(parseInt(m.MergeAcross,10)|0);z=w+(parseInt(m.MergeDown,10)|0);A.push({s:{c:k,r:w},e:{c:G,r:z}})}if(!t.sheetStubs){if(m.MergeAcross)k=G+1;else++k}else if(m.MergeAcross||m.MergeDown){for(var Y=k;Y<=G;++Y){for(var $=w;$<=z;++$){if(Y>k||$>w){if(t.dense){if(!h[$])h[$]=[];h[$][Y]={t:"z"}}else h[Zr(Y)+Yr($)]={t:"z"}}}}k=G+1}else++k}else{m=Zd(s[0]);if(m.Index)k=+m.Index-1;if(k<B.s.c)B.s.c=k;if(k>B.e.c)B.e.c=k;if(s[0].slice(-2)==="/>")++k;N=[]}break;case"Row":if(s[1]==="/"||s[0].slice(-2)==="/>"){if(w<B.s.r)B.s.r=w;if(w>B.e.r)B.e.r=w;if(s[0].slice(-2)==="/>"){g=Jd(s[0]);if(g.Index)w=+g.Index-1}k=0;++w}else{g=Jd(s[0]);if(g.Index)w=+g.Index-1;X={};if(g.AutoFitHeight=="0"||g.Height){X.hpx=parseInt(g.Height,10);X.hpt=Vl(X.hpx);H[w]=X}if(g.Hidden=="1"){X.hidden=true;H[w]=X}}break;case"Worksheet":if(s[1]==="/"){if((c=l.pop())[0]!==s[3])throw new Error("Bad state: "+c.join("|"));o.push(d);if(B.s.r<=B.e.r&&B.s.c<=B.e.c)h["!ref"]=it(B);if(A.length)h["!merges"]=A;if(M.length>0)h["!cols"]=M;if(H.length>0)h["!rows"]=H;f[d]=h}else{B={s:{r:2e6,c:2e6},e:{r:0,c:0}};w=k=0;l.push([s[3],false]);c=Jd(s[0]);d=Te(c.Name);h=t.dense?[]:{};A=[];V=[];H=[];K={name:d,Hidden:0};j.Sheets.push(K)}break;case"Table":if(s[1]==="/"){if((c=l.pop())[0]!==s[3])throw new Error("Bad state: "+c.join("|"))}else if(s[0].slice(-2)=="/>")break;else{p=Jd(s[0]);l.push([s[3],false]);M=[];W=false}break;case"Style":if(s[1]==="/")tv(C,T,t);else T=Jd(s[0]);break;case"NumberFormat":T.nf=Te(Jd(s[0]).Format||"General");if(D[T.nf])T.nf=D[T.nf];for(var Q=0;Q!=392;++Q)if(R._table[Q]==T.nf)break;if(Q==392)for(Q=57;Q!=392;++Q)if(R._table[Q]==null){R.load(T.nf,Q);break}break;case"Column":if(l[l.length-1][0]!=="Table")break;U=Jd(s[0]);if(U.Hidden){U.hidden=true;delete U.Hidden}if(U.Width)U.wpx=parseInt(U.Width,10);if(!W&&U.wpx>10){W=true;_l=Rl;for(var J=0;J<M.length;++J)if(M[J])Ml(M[J])}if(W)Ml(U);M[U.Index-1||M.length]=U;for(var Z=0;Z<+U.Span;++Z)M[M.length]=re(U);break;case"NamedRange":if(!j.Names)j.Names=[];var q=ke(s[0]);var ee={Name:q.Name,Ref:Sf(q.RefersTo.slice(1),{r:0,c:0})};if(j.Sheets.length>0)ee.Sheet=j.Sheets.length-1;j.Names.push(ee);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]==="/")I+=a.slice(x,s.index);else x=s.index+s[0].length;break;case"Interior":if(!t.cellStyles)break;T.Interior=Jd(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]==="/")$a(_,s[3],a.slice(y,s.index));else y=s.index+s[0].length;break;case"Paragraphs":break;case"Styles":;case"Workbook":if(s[1]==="/"){if((c=l.pop())[0]!==s[3])throw new Error("Bad state: "+c.join("|"))}else l.push([s[3],false]);break;case"Comment":if(s[1]==="/"){if((c=l.pop())[0]!==s[3])throw new Error("Bad state: "+c.join("|"));nv(L);N.push(L)}else{l.push([s[3],false]);c=Jd(s[0]);L={a:c.Author}}break;case"AutoFilter":if(s[1]==="/"){if((c=l.pop())[0]!==s[3])throw new Error("Bad state: "+c.join("|"))}else if(s[0].charAt(s[0].length-2)!=="/"){var te=Jd(s[0]);h["!autofilter"]={ref:Sf(te.Range).replace(/\$/g,"")};l.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((c=l.pop())[0]!==s[3])throw new Error("Bad state: "+c.join("|"))}else if(s[0].charAt(s[0].length-2)!=="/")l.push([s[3],true]);break;default:if(l.length==0&&s[3]=="document")return Zv(a,t);if(l.length==0&&s[3]=="UOF")return Zv(a,t);var ae=true;switch(l[l.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:ae=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:ae=false;}break;case"ExcelWorkbook":switch(s[3]){case"Date1904":j.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:ae=false;}break;case"WorkbookOptions":switch(s[3]){case"OWCVersion":break;case"Height":break;case"Width":break;default:ae=false;}break;case"WorksheetOptions":switch(s[3]){case"Visible":if(s[0].slice(-2)==="/>"){}else if(s[1]==="/")switch(a.slice(y,s.index)){case"SheetHidden":K.Hidden=1;break;case"SheetVeryHidden":K.Hidden=2;break;}else y=s.index+s[0].length;break;case"Header":if(!h["!margins"])Su(h["!margins"]={},"xlml");h["!margins"].header=ke(s[0]).Margin;break;case"Footer":if(!h["!margins"])Su(h["!margins"]={},"xlml");h["!margins"].footer=ke(s[0]).Margin;break;case"PageMargins":var ne=ke(s[0]);if(!h["!margins"])Su(h["!margins"]={},"xlml");if(ne.Top)h["!margins"].top=ne.Top;if(ne.Left)h["!margins"].left=ne.Left;if(ne.Right)h["!margins"].right=ne.Right;if(ne.Bottom)h["!margins"].bottom=ne.Bottom;break;case"DisplayRightToLeft":if(!j.Views)j.Views=[];if(!j.Views[0])j.Views[0]={};j.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:ae=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:ae=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:ae=false;}break;case"AutoFilter":switch(s[3]){case"AutoFilterColumn":break;case"AutoFilterCondition":break;case"AutoFilterAnd":break;case"AutoFilterOr":break;default:ae=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:ae=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:ae=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:ae=false;}break;case"SmartTags":break;default:ae=false;break;}if(ae)break;if(!l[l.length-1][1])throw"Unrecognized tag: "+s[3]+"|"+l.join("|");if(l[l.length-1][0]==="CustomDocumentProperties"){if(s[0].slice(-2)==="/>")break;else if(s[1]==="/")ev(O,s[3],P,a.slice(y,s.index));else{P=s;y=s.index+s[0].length}break}if(t.WTF)throw"Unrecognized tag: "+s[3]+"|"+l.join("|");}var ie={};if(!t.bookSheets&&!t.bookProps)ie.Sheets=f;ie.SheetNames=o;ie.Workbook=j;ie.SSF=R.get_table();ie.Props=_;ie.Custprops=O;return ie}function cv(e,r){vp(r=r||{});switch(r.type||"base64"){case"base64":return lv(g.decode(e),r);case"binary":;case"buffer":;case"file":return lv(e,r);case"array":return lv(B(e),r);}}function fv(e,r){var t=[];if(e.Props)t.push(Qa(e.Props,r));if(e.Custprops)t.push(Ja(e.Props,e.Custprops,r));return t.join("")}function ov(){return""}function uv(e,r){var t=['<Style ss:ID="Default" ss:Name="Normal"><NumberFormat/></Style>'];r.cellXfs.forEach(function(e,r){var a=[];a.push(Qe("NumberFormat",null,{"ss:Format":Ae(R._table[e.numFmtId])}));t.push(Qe("Style",a.join(""),{"ss:ID":"s"+(21+r)}))});return Qe("Styles",t.join(""))}function hv(e){return Qe("NamedRange",null,{"ss:Name":e.Name,"ss:RefersTo":"="+wf(e.Ref,{r:0,c:0})})}function dv(e){if(!((e||{}).Workbook||{}).Names)return"";var r=e.Workbook.Names;var t=[];for(var a=0;a<r.length;++a){var n=r[a];if(n.Sheet!=null)continue;if(n.Name.match(/^_xlfn\./))continue;t.push(hv(n))}return Qe("Names",t.join(""))}function vv(e,r,t,a){if(!e)return"";if(!((a||{}).Workbook||{}).Names)return"";var n=a.Workbook.Names;var i=[];e:for(var s=0;s<n.length;++s){var l=n[s];if(l.Sheet!=t)continue;if(l.Name.match(/^_xlfn\./))continue;i.push(hv(l))}return i.join("")}function pv(e,r,t,a){if(!e)return"";var n=[];if(e["!margins"]){n.push("<PageSetup>");if(e["!margins"].header)n.push(Qe("Header",null,{"x:Margin":e["!margins"].header}));if(e["!margins"].footer)n.push(Qe("Footer",null,{"x:Margin":e["!margins"].footer}));n.push(Qe("PageMargins",null,{"x:Bottom":e["!margins"].bottom||"0.75","x:Left":e["!margins"].left||"0.7","x:Right":e["!margins"].right||"0.7","x:Top":e["!margins"].top||"0.75"}));n.push("</PageSetup>")}if(a&&a.Workbook&&a.Workbook.Sheets&&a.Workbook.Sheets[t]){if(a.Workbook.Sheets[t].Hidden)n.push(Qe("Visible",a.Workbook.Sheets[t].Hidden==1?"SheetHidden":"SheetVeryHidden",{}));else{for(var i=0;i<t;++i)if(a.Workbook.Sheets[i]&&!a.Workbook.Sheets[i].Hidden)break;if(i==t)n.push("<Selected/>")}}if(((((a||{}).Workbook||{}).Views||[])[0]||{}).RTL)n.push("<DisplayRightToLeft/>");if(e["!protect"]){n.push(Ye("ProtectContents","True"));if(e["!protect"].objects)n.push(Ye("ProtectObjects","True"));if(e["!protect"].scenarios)n.push(Ye("ProtectScenarios","True"));if(e["!protect"].selectLockedCells!=null&&!e["!protect"].selectLockedCells)n.push(Ye("EnableSelection","NoSelection"));else if(e["!protect"].selectUnlockedCells!=null&&!e["!protect"].selectUnlockedCells)n.push(Ye("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(r){if(e["!protect"][r[0]])n.push("<"+r[1]+"/>")})}if(n.length==0)return"";return Qe("WorksheetOptions",n.join(""),{xmlns:er.x})}function bv(e){return e.map(function(e){var r=ye(e.t||"");var t=Qe("ss:Data",r,{xmlns:"http://www.w3.org/TR/REC-html40"});return Qe("Comment",t,{"ss:Author":e.a})}).join("")}function mv(e,r,t,a,n,i,s){if(!e||e.v==undefined&&e.f==undefined)return"";var l={};if(e.f)l["ss:Formula"]="="+Ae(wf(e.f,s));if(e.F&&e.F.slice(0,r.length)==r){var c=tt(e.F.slice(r.length+1));l["ss:ArrayRange"]="RC:R"+(c.r==s.r?"":"["+(c.r-s.r)+"]")+"C"+(c.c==s.c?"":"["+(c.c-s.c)+"]")}if(e.l&&e.l.Target){l["ss:HRef"]=Ae(e.l.Target);if(e.l.Tooltip)l["x:HRefScreenTip"]=Ae(e.l.Tooltip)}if(t["!merges"]){var f=t["!merges"];for(var o=0;o!=f.length;++o){if(f[o].s.c!=s.c||f[o].s.r!=s.r)continue;if(f[o].e.c>f[o].s.c)l["ss:MergeAcross"]=f[o].e.c-f[o].s.c;if(f[o].e.r>f[o].s.r)l["ss:MergeDown"]=f[o].e.r-f[o].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=Mt[e.v];break;case"d":u="DateTime";h=new Date(e.v).toISOString();if(e.z==null)e.z=e.z||R._table[14];break;case"s":u="String";h=_e(e.v||"");break;}var d=ku(a.cellXfs,e,a);l["ss:StyleID"]="s"+(21+d);l["ss:Index"]=s.c+1;var v=e.v!=null?h:"";var p='<Data ss:Type="'+u+'">'+v+"</Data>";if((e.c||[]).length>0)p+=bv(e.c);return Qe("Cell",p,l)}function gv(e,r){var t='<Row ss:Index="'+(e+1)+'"';if(r){if(r.hpt&&!r.hpx)r.hpx=Hl(r.hpt);if(r.hpx)t+=' ss:AutoFitHeight="0" ss:Height="'+r.hpx+'"';if(r.hidden)t+=' ss:Hidden="1"'}return t+">"}function Ev(e,r,t,a){if(!e["!ref"])return"";var n=st(e["!ref"]);var i=e["!merges"]||[],s=0;var l=[];if(e["!cols"])e["!cols"].forEach(function(e,r){Ml(e);var t=!!e.width;var a=Eu(r,e);var n={"ss:Index":r+1};if(t)n["ss:Width"]=Ol(a.width);if(e.hidden)n["ss:Hidden"]="1";l.push(Qe("Column",null,n))});var c=Array.isArray(e);for(var f=n.s.r;f<=n.e.r;++f){var o=[gv(f,(e["!rows"]||[])[f])];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>f)continue;if(i[s].e.c<u)continue;if(i[s].e.r<f)continue;if(i[s].s.c!=u||i[s].s.r!=f)h=true;break}if(h)continue;var d={r:f,c:u};var v=at(d),p=c?(e[f]||[])[u]:e[v];o.push(mv(p,v,e,r,t,a,d))}o.push("</Row>");if(o.length>2)l.push(o.join(""))}return l.join("")}function Sv(e,r,t){var a=[];var n=t.SheetNames[e];var i=t.Sheets[n];var s=i?vv(i,r,e,t):"";if(s.length>0)a.push("<Names>"+s+"</Names>");s=i?Ev(i,r,e,t):"";if(s.length>0)a.push("<Table>"+s+"</Table>");a.push(pv(i,r,e,t));return a.join("")}function kv(e,r){if(!r)r={};if(!e.SSF)e.SSF=R.get_table();if(e.SSF){F(R);R.load_table(e.SSF);r.revssf=G(e.SSF);r.revssf[e.SSF[65535]]=0;r.ssf=e.SSF;r.cellXfs=[];ku(r.cellXfs,{},{revssf:{General:0}})}var t=[];t.push(fv(e,r));t.push(ov(e,r));t.push("");t.push("");for(var a=0;a<e.SheetNames.length;++a)t.push(Qe("Worksheet",Sv(a,r,e),{"ss:Name":Ae(e.SheetNames[a])}));t[2]=uv(e,r);t[3]=dv(e,r);return be+Qe("Workbook",t.join(""),{xmlns:er.ss,"xmlns:o":er.o,"xmlns:x":er.x,"xmlns:ss":er.ss,"xmlns:dt":er.dt,"xmlns:html":er.html})}function wv(e){var r={};var t=e.content;t.l=28;r.AnsiUserType=t._R(0,"lpstr-ansi");r.AnsiClipboardFormat=zt(t);if(t.length-t.l<=4)return r;var a=t._R(4);if(a==0||a>40)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=jt(t);a=t._R(4);if(a==0||a>40)return r;t.l-=4;r.Reserved2=t._R(0,"lpwstr")}function Bv(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 l=_v[Cr(r,r.l)];var c=0;while(l!=null&&l.n.slice(0,8)==="Continue"){n=Cr(r,r.l+2);c=r.l+4;if(l.n=="ContinueFrt")c+=4;else if(l.n.slice(0,11)=="ContinueFrt")c+=12;i.push(r.slice(c,r.l+4+n));r.l+=4+n;l=_v[Cr(r,r.l)]}var f=I(i);Pr(f,0);var o=0;f.lens=[];for(var u=0;u<i.length;++u){f.lens.push(o);o+=i[u].length}return e.f(f,f.length,a)}function Cv(e,r,t){if(e.t==="z")return;if(!e.XF)return;var a=0;try{a=e.z||e.XF.numFmtId||0;if(r.cellNF)e.z=R._table[a]}catch(n){if(r.WTF)throw n}if(!r||r.cellText!==false)try{if(e.t==="e"){e.w=e.w||Mt[e.v]}else if(a===0||a=="General"){if(e.t==="n"){if((e.v|0)===e.v)e.w=R._general_int(e.v);else e.w=R._general_num(e.v)}else e.w=R._general(e.v)}else e.w=R.format(a,e.v,{date1904:!!t})}catch(n){if(r.WTF)throw n}if(r.cellDates&&a&&e.t=="n"&&R.is_date(R._table[a]||String(a))){var i=R.parse_date_code(e.v);if(i){e.t="d";e.v=new Date(i.y,i.m-1,i.d,i.H,i.M,i.S,i.u)}}}function Tv(e,r,t){return{v:e,ixfe:r,t:t}}function Iv(e,r){var t={opts:{}};var a={};if(b!=null&&r.dense==null)r.dense=b;var n=r.dense?[]:{};var i={};var s={};var l=null;var c=[];var o="";var u={};var h,d="",v,p,m,g;var E={};var S=[];var k;var w;var B=true;var C=[];var T=[];var I={Sheets:[],WBProps:{date1904:false},Views:[{}]},x={};var A=function me(e){if(e<8)return ua[e];if(e<64)return T[e-8]||ua[e];return ua[e]};var F=function ge(e,r,t){var a=r.XF.data;if(!a||!a.patternType||!t||!t.cellStyles)return;r.s={};r.s.patternType=a.patternType;var n;if(n=Tl(A(a.icvFore))){r.s.fgColor={rgb:n}}if(n=Tl(A(a.icvBack))){r.s.bgColor={rgb:n}}};var D=function Ee(e,r,t){if(G>1)return;if(!B)return;if(t.cellStyles&&r.XF&&r.XF.data)F(e,r,t);delete r.ixfe;delete r.XF;h=e;d=at(e);if(s.s){if(e.r<s.s.r)s.s.r=e.r;if(e.c<s.s.c)s.s.c=e.c}if(s.e){if(e.r+1>s.e.r)s.e.r=e.r+1;if(e.c+1>s.e.c)s.e.c=e.c+1}if(t.cellFormula&&r.f){for(var a=0;a<S.length;++a){if(S[a][0].s.c>e.c||S[a][0].s.r>e.r)continue;if(S[a][0].e.c<e.c||S[a][0].e.r<e.r)continue;r.F=it(S[a][0]);if(S[a][0].s.c!=e.c||S[a][0].s.r!=e.r)delete r.f;if(r.f)r.f=""+Qo(S[a][1],s,e,H,_);break}}if(t.sheetRows&&h.r>=t.sheetRows)B=false;else{if(t.dense){if(!n[e.r])n[e.r]=[];n[e.r][e.c]=r}else n[d]=r}};var _={enc:false,sbcch:0,snames:[],sharedf:E,arrayf:S,rrtabid:[],lastuser:"",biff:8,codepage:0,winlocked:0,cellStyles:!!r&&!!r.cellStyles,WTF:!!r&&!!r.wtf};if(r.password)_.password=r.password;var O;var y=[];var P=[];var N=[],L=[];var M=0,U=0;var W=false;var H=[];H.SheetNames=_.snames;H.sharedf=_.sharedf;H.arrayf=_.arrayf;H.names=[];H.XTI=[];var X="";var G=0;var z=0,j=[];var K=[];var Y;_.codepage=1200;f(1200);var $=false;while(e.l<e.length-1){var Q=e.l;var J=e._R(2);if(J===0&&X==="EOF")break;var Z=e.l===e.length?0:e._R(2);var q=_v[J];if(q&&q.f){if(r.bookSheets){if(X==="BoundSheet8"&&q.n!=="BoundSheet8")break}X=q.n;if(q.r===2||q.r==12){var ee=e._R(2);Z-=2;if(!_.enc&&ee!==J)throw new Error("rt mismatch: "+ee+"!="+J);if(q.r==12){e.l+=10;Z-=10}}var re;if(q.n==="EOF")re=q.f(e,Z,_);else re=Bv(q,e,Z,_);var te=q.n;if(G==0&&te!="BOF")continue;switch(te){case"Date1904":t.opts.Date1904=I.WBProps.date1904=re;break;case"WriteProtect":t.opts.WriteProtect=true;break;case"FilePass":if(!_.enc)e.l=0;_.enc=re;if(_.WTF)console.error(re);if(!r.password)throw new Error("File is password-protected");if(re.valid==null)throw new Error("Encryption scheme unsupported");if(!re.valid)throw new Error("Password is incorrect");break;case"WriteAccess":_.lastuser=re;break;case"FileSharing":break;case"CodePage":switch(re){case 21010:re=1200;break;case 32768:re=1e4;break;case 32769:re=1252;break;}f(_.codepage=re);$=true;break;case"RRTabId":_.rrtabid=re;break;case"WinProtect":_.winlocked=re;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[te]=re;break;case"CalcRefMode":_.CalcRefMode=re;break;case"Uncalced":break;case"ForceFullCalculation":t.opts.FullCalc=re;break;case"WsBool":if(re.fDialog)n["!type"]="dialog";break;case"XF":C.push(re);break;case"ExtSST":break;case"BookExt":break;case"RichTextStream":break;case"BkHim":break;case"SupBook":H.push([re]);H[H.length-1].XTI=[];break;case"ExternName":H[H.length-1].push(re);break;case"Index":break;case"Lbl":Y={Name:re.Name,Ref:Qo(re.rgce,s,null,H,_)};if(re.itab>0)Y.Sheet=re.itab-1;H.names.push(Y);if(!H[0]){H[0]=[];H[0].XTI=[]}H[H.length-1].push(re);if(re.Name=="_xlnm._FilterDatabase"&&re.itab>0)if(re.rgce&&re.rgce[0]&&re.rgce[0][0]&&re.rgce[0][0][0]=="PtgArea3d")K[re.itab-1]={ref:it(re.rgce[0][0][1][2])};break;case"ExternCount":_.ExternCount=re;break;case"ExternSheet":if(H.length==0){H[0]=[];H[0].XTI=[]}H[H.length-1].XTI=H[H.length-1].XTI.concat(re);H.XTI=H.XTI.concat(re);break;case"NameCmt":if(_.biff<8)break;if(Y!=null)Y.Comment=re[1];break;case"Protect":n["!protect"]=re;break;case"Password":if(re!==0&&_.WTF)console.error("Password verifier: "+re);break;case"Prot4Rev":;case"Prot4RevPass":break;case"BoundSheet8":{i[re.pos]=re;_.snames.push(re.name)}break;case"EOF":{if(--G)break;if(s.e){if(s.e.r>0&&s.e.c>0){s.e.r--;s.e.c--;n["!ref"]=it(s);s.e.r++;s.e.c++}if(y.length>0)n["!merges"]=y;if(P.length>0)n["!objects"]=P;if(N.length>0)n["!cols"]=N;if(L.length>0)n["!rows"]=L;I.Sheets.push(x)}if(o==="")u=n;else a[o]=n;n=r.dense?[]:{}}break;case"BOF":{if(_.biff===8)_.biff={9:2,521:3,1033:4}[J]||{1280:5,1536:8,2:2,7:2}[re.BIFFVer]||8;if(G++)break;B=true;n=r.dense?[]:{};if(_.biff<8&&!$){$=true;f(_.codepage=r.codepage||1252)}if(_.biff<5){if(o==="")o="Sheet1";s={s:{r:0,c:0},e:{r:0,c:0}};var ae={pos:e.l-Z,name:o};i[ae.pos]=ae;_.snames.push(o)}else o=(i[Q]||{name:""}).name;if(re.dt==32)n["!type"]="chart";if(re.dt==64)n["!type"]="macro";y=[];P=[];_.arrayf=S=[];N=[];L=[];M=U=0;W=false;x={Hidden:(i[Q]||{hs:0}).hs,name:o}}break;case"Number":;case"BIFF2NUM":;case"BIFF2INT":{if(n["!type"]=="chart")if(r.dense?(n[re.r]||[])[re.c]:n[at({c:re.c,r:re.r})])++re.c;k={ixfe:re.ixfe,XF:C[re.ixfe]||{},v:re.val,t:"n"};if(z>0)k.z=j[k.ixfe>>8&31];Cv(k,r,t.opts.Date1904);D({c:re.c,r:re.r},k,r)}break;case"BoolErr":{k={ixfe:re.ixfe,XF:C[re.ixfe],v:re.val,t:re.t};if(z>0)k.z=j[k.ixfe>>8&31];Cv(k,r,t.opts.Date1904);D({c:re.c,r:re.r},k,r)}break;case"RK":{k={ixfe:re.ixfe,XF:C[re.ixfe],v:re.rknum,t:"n"};if(z>0)k.z=j[k.ixfe>>8&31];Cv(k,r,t.opts.Date1904);D({c:re.c,r:re.r},k,r)}break;case"MulRk":{for(var ne=re.c;ne<=re.C;++ne){var ie=re.rkrec[ne-re.c][0];k={ixfe:ie,XF:C[ie],v:re.rkrec[ne-re.c][1],t:"n"};if(z>0)k.z=j[k.ixfe>>8&31];Cv(k,r,t.opts.Date1904);D({c:ne,r:re.r},k,r)}}break;case"Formula":{if(re.val=="String"){l=re;break}k=Tv(re.val,re.cell.ixfe,re.tt);k.XF=C[k.ixfe];if(r.cellFormula){var se=re.formula;if(se&&se[0]&&se[0][0]&&se[0][0][0]=="PtgExp"){var le=se[0][0][1][0],ce=se[0][0][1][1];var fe=at({r:le,c:ce});if(E[fe])k.f=""+Qo(re.formula,s,re.cell,H,_);else k.F=((r.dense?(n[le]||[])[ce]:n[fe])||{}).F}else k.f=""+Qo(re.formula,s,re.cell,H,_)}if(z>0)k.z=j[k.ixfe>>8&31];
|
||
Cv(k,r,t.opts.Date1904);D(re.cell,k,r);l=re}break;case"String":{if(l){l.val=re;k=Tv(re,l.cell.ixfe,"s");k.XF=C[k.ixfe];if(r.cellFormula){k.f=""+Qo(l.formula,s,l.cell,H,_)}if(z>0)k.z=j[k.ixfe>>8&31];Cv(k,r,t.opts.Date1904);D(l.cell,k,r);l=null}else throw new Error("String record expects Formula")}break;case"Array":{S.push(re);var oe=at(re[0].s);v=r.dense?(n[re[0].s.r]||[])[re[0].s.c]:n[oe];if(r.cellFormula&&v){if(!l)break;if(!oe||!v)break;v.f=""+Qo(re[1],s,re[0],H,_);v.F=it(re[0])}}break;case"ShrFmla":{if(!B)break;if(!r.cellFormula)break;if(d){if(!l)break;E[at(l.cell)]=re[0];v=r.dense?(n[l.cell.r]||[])[l.cell.c]:n[at(l.cell)];(v||{}).f=""+Qo(re[0],s,h,H,_)}}break;case"LabelSst":k=Tv(c[re.isst].t,re.ixfe,"s");k.XF=C[k.ixfe];if(z>0)k.z=j[k.ixfe>>8&31];Cv(k,r,t.opts.Date1904);D({c:re.c,r:re.r},k,r);break;case"Blank":if(r.sheetStubs){k={ixfe:re.ixfe,XF:C[re.ixfe],t:"z"};if(z>0)k.z=j[k.ixfe>>8&31];Cv(k,r,t.opts.Date1904);D({c:re.c,r:re.r},k,r)}break;case"MulBlank":if(r.sheetStubs){for(var ue=re.c;ue<=re.C;++ue){var he=re.ixfe[ue-re.c];k={ixfe:he,XF:C[he],t:"z"};if(z>0)k.z=j[k.ixfe>>8&31];Cv(k,r,t.opts.Date1904);D({c:ue,r:re.r},k,r)}}break;case"RString":;case"Label":;case"BIFF2STR":k=Tv(re.val,re.ixfe,"s");k.XF=C[k.ixfe];if(z>0)k.z=j[k.ixfe>>8&31];Cv(k,r,t.opts.Date1904);D({c:re.c,r:re.r},k,r);break;case"Dimensions":{if(G===1)s=re}break;case"SST":{c=re}break;case"Format":{if(_.biff==4){j[z++]=re[1];for(var de=0;de<z+163;++de)if(R._table[de]==re[1])break;if(de>=163)R.load(re[1],z+163)}else R.load(re[1],re[0])}break;case"BIFF2FORMAT":{j[z++]=re;for(var ve=0;ve<z+163;++ve)if(R._table[ve]==re)break;if(ve>=163)R.load(re,z+163)}break;case"MergeCells":y=y.concat(re);break;case"Obj":P[re.cmo[0]]=_.lastobj=re;break;case"TxO":_.lastobj.TxO=re;break;case"ImData":_.lastobj.ImData=re;break;case"HLink":{for(g=re[0].s.r;g<=re[0].e.r;++g)for(m=re[0].s.c;m<=re[0].e.c;++m){v=r.dense?(n[g]||[])[m]:n[at({c:m,r:g})];if(v)v.l=re[1]}}break;case"HLinkTooltip":{for(g=re[0].s.r;g<=re[0].e.r;++g)for(m=re[0].s.c;m<=re[0].e.c;++m){v=r.dense?(n[g]||[])[m]:n[at({c:m,r:g})];if(v)v.l.Tooltip=re[1]}}break;case"Note":{if(_.biff<=5&&_.biff>=2)break;v=r.dense?(n[re[0].r]||[])[re[0].c]:n[at(re[0])];var pe=P[re[2]];if(!v)break;if(!v.c)v.c=[];p={a:re[1],t:pe.TxO.t};v.c.push(p)}break;default:switch(q.n){case"ClrtClient":break;case"XFExt":jc(C[re.ixfe],re.ext);break;case"DefColWidth":M=re;break;case"DefaultRowHeight":U=re[1];break;case"ColInfo":{if(!_.cellStyles)break;while(re.e>=re.s){N[re.e--]={width:re.w/256};if(!W){W=true;Ll(re.w/256)}Ml(N[re.e+1])}}break;case"Row":{var be={};if(re.level!=null){L[re.r]=be;be.level=re.level}if(re.hidden){L[re.r]=be;be.hidden=true}if(re.hpt){L[re.r]=be;be.hpt=re.hpt;be.hpx=Hl(re.hpt)}}break;case"LeftMargin":;case"RightMargin":;case"TopMargin":;case"BottomMargin":if(!n["!margins"])Su(n["!margins"]={});n["!margins"][te.slice(0,-6).toLowerCase()]=re;break;case"Setup":if(!n["!margins"])Su(n["!margins"]={});n["!margins"].header=re.header;n["!margins"].footer=re.footer;break;case"Window2":if(re.RTL)I.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":w=re;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":T=re;break;case"Theme":O=re;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)I.WBProps.CodeName=re||"ThisWorkbook";else x.CodeName=re||x.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(q.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(q.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 "+q.n;};};};}}else e.l+=Z}t.SheetNames=V(i).sort(function(e,r){return Number(e)-Number(r)}).map(function(e){return i[e].name});if(!r.bookSheets)t.Sheets=a;if(t.Sheets)K.forEach(function(e,r){t.Sheets[t.SheetNames[r]]["!autofilter"]=e});t.Preamble=u;t.Strings=c;t.SSF=R.get_table();if(_.enc)t.Encryption=_.enc;if(O)t.Themes=O;t.Metadata={};if(w!==undefined)t.Metadata.Country=w;if(H.names.length>0)I.Names=H.names;t.Workbook=I;return t}function xv(e,r,t){var a=N.find(e,"!DocumentSummaryInformation");if(a)try{var n=pn(a,ia);for(var i in n)r[i]=n[i]}catch(s){if(t.WTF)throw s}var l=N.find(e,"!SummaryInformation");if(l)try{var c=pn(l,sa);for(var f in c)if(r[f]==null)r[f]=c[f]}catch(s){if(t.WTF)throw s}}function Av(e,r){if(!r)r={};vp(r);o();if(r.codepage)l(r.codepage);var t,a;if(e.FullPaths){if(N.find(e,"/encryption"))throw new Error("File is password-protected");t=N.find(e,"!CompObj");a=N.find(e,"/Workbook")||N.find(e,"/Book")}else{switch(r.type){case"base64":e=k(g.decode(e));break;case"binary":e=k(e);break;case"buffer":break;case"array":if(!Array.isArray(e))e=Array.prototype.slice.call(e);break;}Pr(e,0);a={content:e}}var n;var i;if(t)wv(t);if(r.bookProps&&!r.bookSheets)n={};else{var s=E?"buffer":"array";if(a&&a.content)n=Iv(a.content,r);else if((i=N.find(e,"PerfectOffice_MAIN"))&&i.content)n=Ls.to_workbook(i.content,(r.type=s,r));else if((i=N.find(e,"NativeContent_MAIN"))&&i.content)n=Ls.to_workbook(i.content,(r.type=s,r));else throw new Error("Cannot find Workbook stream");if(r.bookVBA&&e.FullPaths&&N.find(e,"/_VBA_PROJECT_CUR/VBA/dir"))n.vbaraw=df(e)}var c={};if(e.FullPaths)xv(e,c,r);n.Props=n.Custprops=c;if(r.bookFiles)n.cfb=e;return n}function Rv(e,r){var t=r||{};var a=N.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");}N.utils.cfb_add(a,n,jv(e,t));if(t.biff==8&&e.vbaraw)vf(a,N.read(e.vbaraw,{type:typeof e.vbaraw=="string"?"binary":"buffer"}));return a}var Fv={0:{n:"BrtRowHdr",f:Zu},1:{n:"BrtCellBlank",f:sh},2:{n:"BrtCellRk",f:ph},3:{n:"BrtCellError",f:oh},4:{n:"BrtCellBool",f:ch},5:{n:"BrtCellReal",f:dh},6:{n:"BrtCellSt",f:mh},7:{n:"BrtCellIsst",f:uh},8:{n:"BrtFmlaString",f:wh},9:{n:"BrtFmlaNum",f:kh},10:{n:"BrtFmlaBool",f:Eh},11:{n:"BrtFmlaError",f:Sh},16:{n:"BrtFRTArchID$",f:Bd},19:{n:"BrtSSTItem",f:mt},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:Cd},40:{n:"BrtIndexRowBlock"},42:{n:"BrtIndexBlock"},43:{n:"BrtFont",f:nc},44:{n:"BrtFmt",f:tc},45:{n:"BrtFill",f:cc},46:{n:"BrtBorder",f:dc},47:{n:"BrtXF",f:oc},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:ps},62:{n:"BrtCellRString"},63:{n:"BrtCalcChainItem$",f:Yc},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:Nr,p:0},132:{n:"BrtEndBook"},133:{n:"BrtBeginWsViews"},134:{n:"BrtEndWsViews"},135:{n:"BrtBeginBookViews"},136:{n:"BrtEndBookViews"},137:{n:"BrtBeginWsView",f:yh},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:nh},148:{n:"BrtWsDim",f:rh,p:16},151:{n:"BrtPane"},152:{n:"BrtSel"},153:{n:"BrtWbProp",f:kd},154:{n:"BrtWbFactoid"},155:{n:"BrtFileRecover"},156:{n:"BrtBundleSh",f:Ed},157:{n:"BrtCalcProp"},158:{n:"BrtBookView"},159:{n:"BrtBeginSst",f:$s},160:{n:"BrtEndSst"},161:{n:"BrtBeginAFilter",f:yt},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:Bh},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:At},357:{n:"BrtSupSelf"},358:{n:"BrtSupSame"},359:{n:"BrtSupTabs"},360:{n:"BrtBeginSupBook"},361:{n:"BrtPlaceholderName"},362:{n:"BrtExternSheet",f:ji},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:Ah},427:{n:"BrtShrFmla",f:Rh},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:_h},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:ah},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:Ih},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:At},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:ff},633:{n:"BrtBeginCommentList"},634:{n:"BrtEndCommentList"},635:{n:"BrtBeginComment",f:lf},636:{n:"BrtEndComment"},637:{n:"BrtCommentText",f:Et},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:ed},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"},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"},65535:{n:""}};var Dv=H(Fv,"n");var _v={3:{n:"BIFF2NUM",f:Cs},4:{n:"BIFF2STR",f:Bs},6:{n:"Formula",f:tu},9:{n:"BOF",f:ni},10:{n:"EOF",f:bn},12:{n:"CalcCount",f:kn},13:{n:"CalcMode",f:kn},14:{n:"CalcPrecision",f:En},15:{n:"CalcRefMode",f:En},16:{n:"CalcDelta",f:Nt},17:{n:"CalcIter",f:En},18:{n:"Protect",f:En},19:{n:"Password",f:kn},20:{n:"Header",f:Vi},21:{n:"Footer",f:Vi},23:{n:"ExternSheet",f:ji},24:{n:"Lbl",f:zi},25:{n:"WinProtect",f:En},26:{n:"VerticalPageBreaks"},27:{n:"HorizontalPageBreaks"},28:{n:"Note",f:qi},29:{n:"Selection"},34:{n:"Date1904",f:En},35:{n:"ExternName",f:Xi},38:{n:"LeftMargin",f:Nt},39:{n:"RightMargin",f:Nt},40:{n:"TopMargin",f:Nt},41:{n:"BottomMargin",f:Nt},42:{n:"PrintRowCol",f:En},43:{n:"PrintGrid",f:En},47:{n:"FilePass",f:wl},49:{n:"Font",f:wi},51:{n:"PrintSize",f:kn},60:{n:"Continue"},61:{n:"Window1",f:gi},64:{n:"Backup",f:En},65:{n:"Pane"},66:{n:"CodePage",f:kn},77:{n:"Pls"},80:{n:"DCon"},81:{n:"DConRef"},82:{n:"DConName"},85:{n:"DefColWidth",f:kn},89:{n:"XCT"},90:{n:"CRN"},91:{n:"FileSharing"},92:{n:"WriteAccess",f:li},93:{n:"Obj",f:ts},94:{n:"Uncalced"},95:{n:"CalcSaveRecalc",f:En},96:{n:"Template"},97:{n:"Intl"},99:{n:"ObjProtect",f:En},125:{n:"ColInfo",f:ps},128:{n:"Guts",f:Pi},129:{n:"WsBool",f:fi},130:{n:"GridSet",f:kn},131:{n:"HCenter",f:En},132:{n:"VCenter",f:En},133:{n:"BoundSheet8",f:oi},134:{n:"WriteProtect"},140:{n:"Country",f:os},141:{n:"HideObj",f:kn},144:{n:"Sort"},146:{n:"Palette",f:ds},151:{n:"Sync"},152:{n:"LPr"},153:{n:"DxGCol"},154:{n:"FnGroupName"},155:{n:"FilterMode"},156:{n:"BuiltInFnGroupCount",f:kn},157:{n:"AutoFilterInfo"},158:{n:"AutoFilter"},160:{n:"Scl",f:Ss},161:{n:"Setup",f:bs},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:Di},190:{n:"MulBlank",f:_i},193:{n:"Mms",f:bn},197:{n:"SXDI"},198:{n:"SXDB"},199:{n:"SXFDB"},200:{n:"SXDBB"},201:{n:"SXNum"},202:{n:"SxBool",f:En},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:kn},220:{n:"DbOrParamQry"},221:{n:"ScenarioProtect",f:En},222:{n:"OleObjectSize"},224:{n:"XF",f:yi},225:{n:"InterfaceHdr",f:si},226:{n:"InterfaceEnd",f:bn},227:{n:"SXVS"},229:{n:"MergeCells",f:es},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:hi},253:{n:"LabelSst",f:Bi},255:{n:"ExtSST",f:di},256:{n:"SXVDEx"},259:{n:"SXFormula"},290:{n:"SXDBEx"},311:{n:"RRDInsDel"},312:{n:"RRDHead"},315:{n:"RRDChgCell"},317:{n:"RRTabId",f:Bn},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:En},353:{n:"DSF",f:bn},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:Hi},431:{n:"Prot4Rev",f:En},432:{n:"CondFmt"},433:{n:"CF"},434:{n:"DVal"},437:{n:"DConBin"},438:{n:"TxO",f:is},439:{n:"RefreshAll",f:En},440:{n:"HLink",f:ss},441:{n:"Lel"},442:{n:"CodeName",f:Rn},443:{n:"SXFDBType"},444:{n:"Prot4RevPass",f:kn},445:{n:"ObNoMacros"},446:{n:"Dv"},448:{n:"Excel9File",f:bn},449:{n:"RecalcId",f:bi,r:2},450:{n:"EntExU2",f:bn},512:{n:"Dimensions",f:Ai},513:{n:"Blank",f:Es},515:{n:"Number",f:Ui},516:{n:"Label",f:Ci},517:{n:"BoolErr",f:Li},518:{n:"Formula",f:tu},519:{n:"String",f:ks},520:{n:"Row",f:vi},523:{n:"Index"},545:{n:"Array",f:Qi},549:{n:"DefaultRowHeight",f:mi},566:{n:"Table"},574:{n:"Window2",f:Si},638:{n:"RK",f:Fi},659:{n:"Style"},1030:{n:"Formula",f:tu},1048:{n:"BigName"},1054:{n:"Format",f:Ii},1084:{n:"ContinueBigName"},1212:{n:"ShrFmla",f:$i},2048:{n:"HLinkTooltip",f:cs},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:ni},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:bn},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:vs,r:12},2173:{n:"XFExt",f:zc,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:En,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:Yi,r:12},2197:{n:"SortData"},2198:{n:"Theme",f:Uc,r:12},2199:{n:"GUIDTypeLib"},2200:{n:"FnGrp12"},2201:{n:"NameFnGrp12"},2202:{n:"MTRSettings",f:Ji,r:12},2203:{n:"CompressPictures",f:bn},2204:{n:"HeaderFooter"},2205:{n:"CrtLayout12"},2206:{n:"CrtMlFrt"},2207:{n:"CrtMlFrtContinue"},2211:{n:"ForceFullCalculation",f:pi},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:kn},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:ms},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:hs},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:Ai},2:{n:"BIFF2INT",f:Is},5:{n:"BoolErr",f:Li},7:{n:"String",f:As},8:{n:"BIFF2ROW"},11:{n:"Index"},22:{n:"ExternCount",f:kn},30:{n:"BIFF2FORMAT",f:xi},31:{n:"BIFF2FMTCNT"},32:{n:"BIFF2COLINFO"},33:{n:"Array",f:Qi},37:{n:"DefaultRowHeight",f:mi},50:{n:"BIFF2FONTXTRA",f:Rs},52:{n:"DDEObjName"},62:{n:"BIFF2WINDOW2"},67:{n:"BIFF2XF"},69:{n:"BIFF2FONTCLR"},86:{n:"BIFF4FMTCNT"},126:{n:"RK"},127:{n:"ImData",f:ws},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:Fs},223:{n:"UDDesc"},234:{n:"TabIdConf"},354:{n:"XL5Modify"},421:{n:"FileSharing2"},521:{n:"BOF",f:ni},536:{n:"Lbl",f:zi},547:{n:"ExternName",f:Xi},561:{n:"Font"},579:{n:"BIFF3XF"},1033:{n:"BOF",f:ni},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 Ov=H(_v,"n");function yv(e,r,t,a){var n=+r||+Ov[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&&wr(t))e.push(t)}function Pv(e,r,t){if(!e)e=Lr(7);e._W(2,r);e._W(2,t);e._W(2,0);e._W(1,0);return e}function Nv(e,r,t,a){var n=Lr(9);Pv(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 Lv(e,r,t){var a=Lr(8+2*t.length);Pv(a,e,r);a._W(1,t.length);a._W(t.length,t,"sbcs");return a.l<a.length?a.slice(0,a.l):a}function Mv(e,r,t,a){if(r.v!=null)switch(r.t){case"d":;case"n":var n=r.t=="d"?Y(q(r.v)):r.v;if(n==(n|0)&&n>=0&&n<65536)yv(e,2,xs(t,a,n));else yv(e,3,Ts(t,a,n));return;case"b":;case"e":yv(e,5,Nv(t,a,r.v,r.t));return;case"s":;case"str":yv(e,4,Lv(t,a,r.v));return;}yv(e,1,Pv(null,t,a))}function Uv(e,r,t,a){var n=Array.isArray(r);var i=st(r["!ref"]||"A1"),s,l="",c=[];for(var f=i.s.r;f<=i.e.r;++f){l=Yr(f);for(var o=i.s.c;o<=i.e.c;++o){if(f===i.s.r)c[o]=Zr(o);s=c[o]+l;var u=n?(r[f]||[])[o]:r[s];if(!u)continue;Mv(e,u,f,o,a)}}}function Wv(e,r){var t=r||{};if(b!=null&&t.dense==null)t.dense=b;var a=Ur();var n=0;for(var i=0;i<e.SheetNames.length;++i)if(e.SheetNames[i]==t.sheet)n=i;if(n==0&&!!t.sheet&&e.SheetNames[0]!=t.sheet)throw new Error("Sheet not found: "+t.sheet);yv(a,9,ii(e,16,t));Uv(a,e.Sheets[e.SheetNames[n]],n,t,e);yv(a,10);return a.end()}function Vv(e,r){for(var t=0;t<r["!links"].length;++t){var a=r["!links"][t];yv(e,"HLink",ls(a));if(a[1].Tooltip)yv(e,"HLinkTooltip",fs(a))}delete r["!links"]}function Hv(e,r,t,a,n){if(r.v!=null)switch(r.t){case"d":;case"n":var i=r.t=="d"?Y(q(r.v)):r.v;yv(e,"Number",Wi(t,a,i,n));return;case"b":;case"e":yv(e,"BoolErr",Mi(t,a,r.v,n,r.t));return;case"s":;case"str":yv(e,"Label",Ti(t,a,r.v,n));return;}yv(e,"Blank",Hn(t,a))}function Xv(e,r,t){var a=Ur();var n=t.SheetNames[e],i=t.Sheets[n]||{};var s=(t||{}).Workbook||{};var l=(s.Sheets||[])[e]||{};var c=Array.isArray(i);var f,o="",u=[];var h=st(i["!ref"]||"A1");var d=r.biff==8;yv(a,2057,ii(t,16,r));yv(a,"CalcMode",wn(1));yv(a,"CalcCount",wn(100));yv(a,"CalcRefMode",Sn(true));yv(a,"CalcIter",Sn(false));yv(a,"CalcDelta",Lt(.001));yv(a,"CalcSaveRecalc",Sn(true));yv(a,"PrintRowCol",Sn(false));yv(a,"PrintGrid",Sn(false));yv(a,"GridSet",wn(1));yv(a,"Guts",Ni([0,0]));yv(a,"HCenter",Sn(false));yv(a,"VCenter",Sn(false));yv(a,"Dimensions",Ri(h,r));if(d)i["!links"]=[];for(var v=h.s.r;v<=h.e.r;++v){o=Yr(v);for(var p=h.s.c;p<=h.e.c;++p){if(v===h.s.r)u[p]=Zr(p);f=u[p]+o;var b=c?(i[v]||[])[p]:i[f];if(!b)continue;Hv(a,b,v,p,r);if(d&&b.l)i["!links"].push([f,b.l])}}var m=l.CodeName||l.name||n;if(d&&s.Views)yv(a,"Window2",ki(s.Views[0]));if(d)yv(a,"MergeCells",rs(i["!merges"]||[]));if(d)Vv(a,i);yv(a,"CodeName",Dn(m,r));yv(a,"EOF");return a.end()}function Gv(e,r,t){var a=Ur();var n=(e.Workbook||{}).WBProps||{};var i=t.biff==8,s=t.biff==5;yv(a,2057,ii(e,5,t));if(t.bookType=="xla")yv(a,"Addin");yv(a,"InterfaceHdr",i?wn(1200):null);yv(a,"Mms",mn(2));if(s)yv(a,"ToolbarHdr");if(s)yv(a,"ToolbarEnd");yv(a,"InterfaceEnd");yv(a,"WriteAccess",ci("SheetJS",t));yv(a,"CodePage",wn(i?1200:1252));if(i)yv(a,"DSF",wn(0));yv(a,"RRTabId",gs(e.SheetNames.length));if(i&&e.vbaraw){yv(a,"ObProj");var l=n.CodeName||"ThisWorkbook";yv(a,"CodeName",Dn(l,t))}yv(a,"BuiltInFnGroupCount",wn(17));yv(a,"WinProtect",Sn(false));yv(a,"Protect",Sn(false));yv(a,"Password",wn(0));if(i)yv(a,"Prot4Rev",Sn(false));if(i)yv(a,"Prot4RevPass",wn(0));yv(a,"Window1",Ei(t));yv(a,"Backup",Sn(false));yv(a,"HideObj",wn(0));yv(a,"Date1904",Sn(od(e)=="true"));yv(a,"CalcPrecision",Sn(true));if(i)yv(a,"RefreshAll",Sn(false));yv(a,"BookBool",wn(0));if(i)yv(a,"UsesELFs",Sn(false));var c=a.end();var f=Ur();if(i)yv(f,"Country",us());yv(f,"EOF");var o=f.end();var u=Ur();var h=0,d=0;for(d=0;d<e.SheetNames.length;++d)h+=(i?12:11)+(i?2:1)*e.SheetNames[d].length;var v=c.length+h+o.length;for(d=0;d<e.SheetNames.length;++d){yv(u,"BoundSheet8",ui({pos:v,hs:0,dt:0,name:e.SheetNames[d]},t));v+=r[d].length}var p=u.end();if(h!=p.length)throw new Error("BS8 "+h+" != "+p.length);var b=[];if(c.length)b.push(c);if(p.length)b.push(p);if(o.length)b.push(o);return ar([b])}function zv(e,r){var t=r||{};var a=[];for(var n=0;n<e.SheetNames.length;++n)a[a.length]=Xv(n,t,e);a.unshift(Gv(e,a,t));return ar([a])}function jv(e,r){var t=r||{};switch(t.biff||2){case 8:;case 5:return zv(e,r);case 4:;case 3:;case 2:return Wv(e,r);}throw new Error("invalid type "+t.bookType+" for BIFF")}var Kv=function(){function e(e,r){var t=r||{};if(b!=null&&t.dense==null)t.dense=b;var a=t.dense?[]:{};var n=e.match(/<table/i);if(!n)throw new Error("Invalid HTML: could not find <table>");var i=e.match(/<\/table/i);var s=n.index,l=i&&i.index||e.length;var c=se(e.slice(s,l),/(:?<tr[^>]*>)/i,"<tr>");var f=-1,o=0,u=0,h=0;var d={s:{r:1e7,c:1e7},e:{r:0,c:0}};var v=[];for(s=0;s<c.length;++s){var p=c[s].trim();var m=p.slice(0,3).toLowerCase();if(m=="<tr"){++f;o=0;continue}if(m!="<td")continue;var g=p.split(/<\/td>/i);for(l=0;l<g.length;++l){var E=g[l].trim();if(E.slice(0,3).toLowerCase()!="<td")continue;var S=E,k=0;while(S.charAt(0)=="<"&&(k=S.indexOf(">"))>-1)S=S.slice(k+1);var w=ke(E.slice(0,E.indexOf(">")));h=w.colspan?+w.colspan:1;if((u=+w.rowspan)>0||h>1)v.push({s:{r:f,c:o},e:{r:f+(u||1)-1,c:o+h-1}});var B=w.t||"";if(!S.length){o+=h;continue}S=He(Te(S));if(d.s.r>f)d.s.r=f;if(d.e.r<f)d.e.r=f;if(d.s.c>o)d.s.c=o;if(d.e.c<o)d.e.c=o;if(!S.length)continue;var C={t:"s",v:S};if(t.raw||!S.trim().length||B=="s"){}else if(S==="TRUE")C={t:"b",v:true};else if(S==="FALSE")C={t:"b",v:false};else if(!isNaN(ae(S)))C={t:"n",v:ae(S)};else if(!isNaN(ne(S).getDate())){C={t:"d",v:q(S)};if(!t.cellDates)C={t:"n",v:Y(C.v)};C.z=t.dateNF||R._table[14]}if(t.dense){if(!a[f])a[f]=[];a[f][o]=C}else a[at({r:f,c:o})]=C;o+=h}}a["!ref"]=it(d);return a}function r(r,t){return ft(e(r,t),t)}function t(e,r,t,a){var n=e["!merges"]||[];var i=[];var s="<td>"+(a.editable?'<span contenteditable="true"></span>':"")+"</td>";for(var l=r.s.c;l<=r.e.c;++l){var c=0,f=0;for(var o=0;o<n.length;++o){if(n[o].s.r>t||n[o].s.c>l)continue;if(n[o].e.r<t||n[o].e.c<l)continue;if(n[o].s.r<t||n[o].s.c<l){c=-1;break}c=n[o].e.r-n[o].s.r+1;f=n[o].e.c-n[o].s.c+1;break}if(c<0)continue;var u=at({r:t,c:l});var h=a.dense?(e[t]||[])[l]:e[u];if(!h||h.v==null){i.push(s);continue}var d=h.h||Ae(h.w||(ct(h),h.w)||"");var v={};if(c>1)v.rowspan=c;if(f>1)v.colspan=f;v.t=h.t;if(a.editable)d='<span contenteditable="true">'+d+"</span>";v.id="sjs-"+u;i.push(Qe("td",d,v))}var p="<tr>";return p+i.join("")+"</tr>"}function a(e,r,t){var a=[];return a.join("")+"<table"+(t&&t.id?' id="'+t.id+'"':"")+">"}var n='<html><head><meta charset="utf-8"/><title>SheetJS Table Export</title></head><body>';var i="</body></html>";function s(e,r){var s=r||{};var l=s.header!=null?s.header:n;var c=s.footer!=null?s.footer:i;var f=[l];var o=nt(e["!ref"]);s.dense=Array.isArray(e);f.push(a(e,o,s));for(var u=o.s.r;u<=o.e.r;++u)f.push(t(e,o,u,s));f.push("</table>"+c);return f.join("")}return{to_workbook:r,to_sheet:e,_row:t,BEGIN:n,END:i,_preamble:a,from_sheet:s}}();function Yv(e,r){var t=r||{};if(b!=null)t.dense=b;var a=t.dense?[]:{};var n=e.getElementsByTagName("tr");var i={s:{r:0,c:0},e:{r:n.length-1,c:0}};var s=[],l=0;var c=0,f=0,o=0,u=0,h=0;for(;c<n.length;++c){var d=n[c];var v=d.children;for(f=o=0;f<v.length;++f){var p=v[f],m=He(v[f].innerHTML);for(l=0;l<s.length;++l){var g=s[l];if(g.s.c==o&&g.s.r<=c&&c<=g.e.r){o=g.e.c+1;l=-1}}h=+p.getAttribute("colspan")||1;if((u=+p.getAttribute("rowspan"))>0||h>1)s.push({s:{r:c,c:o},e:{r:c+(u||1)-1,c:o+h-1}});var E={t:"s",v:m};var S=p.getAttribute("t")||"";if(m!=null){if(m.length==0)E.t=S||"z";else if(t.raw||m.trim().length==0||S=="s"){}else if(m==="TRUE")E={t:"b",v:true};else if(m==="FALSE")E={t:"b",v:false};else if(!isNaN(ae(m)))E={t:"n",v:ae(m)};else if(!isNaN(ne(m).getDate())){E={t:"d",v:q(m)};if(!t.cellDates)E={t:"n",v:Y(E.v)};E.z=t.dateNF||R._table[14]}}if(t.dense){if(!a[c])a[c]=[];a[c][o]=E}else a[at({c:o,r:c})]=E;if(i.e.c<o)i.e.c=o;o+=h}}a["!merges"]=s;a["!ref"]=it(i);return a}function $v(e,r){return ft(Yv(e,r),r)}var Qv=function(){var e=function(e){return Te(e.replace(/[\t\r\n]/g," ").trim().replace(/ +/g," ").replace(/<text:s\/>/g," ").replace(/<text:s text:c="(\d+)"\/>/g,function(e,r){return Array(parseInt(r,10)+1).join(" ")}).replace(/<text:tab[^>]*\/>/g,"\t").replace(/<text:line-break\/>/g,"\n").replace(/<[^>]*>/g,""))};var r={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 t(a,n){var i=n||{};if(b!=null&&i.dense==null)i.dense=b;var s=iv(a);var l=[],c;var f;var o={name:""},u="",h=0;var d;var v;var p={},m=[];var g=i.dense?[]:{};var E,S;var k={value:""};var w="",B=0,C;var T=-1,I=-1,x={s:{r:1e6,c:1e7},e:{r:0,c:0}};var A=0;var R={};var F=[],D={},_=0,O=0;var y=[],P=1,N=1;var L=[];var M={Names:[]};var U={};var W=["",""];var V=[],H={};var X="",G=0;var z=false,j=false;var K=0;sv.lastIndex=0;s=s.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"");while(E=sv.exec(s))switch(E[3]=E[3].replace(/_.*$/,"")){case"table":;case"工作表":if(E[1]==="/"){if(x.e.c>=x.s.c&&x.e.r>=x.s.r)g["!ref"]=it(x);if(F.length)g["!merges"]=F;if(y.length)g["!rows"]=y;d.name=Ne(d["名称"]||d.name);m.push(d.name);p[d.name]=g;j=false}else if(E[0].charAt(E[0].length-2)!=="/"){d=ke(E[0],false);T=I=-1;x.s.r=x.s.c=1e7;x.e.r=x.e.c=0;g=i.dense?[]:{};F=[];y=[];j=true}break;case"table-row-group":if(E[1]==="/")--A;else++A;break;case"table-row":;case"行":if(E[1]==="/"){T+=P;P=1;break}v=ke(E[0],false);if(v["行号"])T=v["行号"]-1;else if(T==-1)T=0;P=+v["number-rows-repeated"]||1;if(P<10)for(K=0;K<P;++K)if(A>0)y[T+K]={level:A};I=-1;break;case"covered-table-cell":++I;if(i.sheetStubs){if(i.dense){if(!g[T])g[T]=[];g[T][I]={t:"z"}}else g[at({r:T,c:I})]={t:"z"}}break;case"table-cell":;case"数据":if(E[0].charAt(E[0].length-2)==="/"){++I;k=ke(E[0],false);N=parseInt(k["number-columns-repeated"]||"1",10);S={t:"z",v:null};if(k.formula&&i.cellFormula!=false)S.f=hu(Te(k.formula));if((k["数据类型"]||k["value-type"])=="string"){S.t="s";S.v=Te(k["string-value"]||"");if(i.dense){if(!g[T])g[T]=[];g[T][I]=S}else{g[at({r:T,c:I})]=S}}I+=N-1}else if(E[1]!=="/"){++I;N=1;var $=P?T+P-1:T;if(I>x.e.c)x.e.c=I;if(I<x.s.c)x.s.c=I;if(T<x.s.r)x.s.r=T;if($>x.e.r)x.e.r=$;k=ke(E[0],false);V=[];H={};S={t:k["数据类型"]||k["value-type"],v:null};if(i.cellFormula){if(k.formula)k.formula=Te(k.formula);if(k["number-matrix-columns-spanned"]&&k["number-matrix-rows-spanned"]){_=parseInt(k["number-matrix-rows-spanned"],10)||0;O=parseInt(k["number-matrix-columns-spanned"],10)||0;D={s:{r:T,c:I},e:{r:T+_-1,c:I+O-1}};S.F=it(D);L.push([D,S.F])}if(k.formula)S.f=hu(k.formula);else for(K=0;K<L.length;++K)if(T>=L[K][0].s.r&&T<=L[K][0].e.r)if(I>=L[K][0].s.c&&I<=L[K][0].e.c)S.F=L[K][1]}if(k["number-columns-spanned"]||k["number-rows-spanned"]){_=parseInt(k["number-rows-spanned"],10)||0;O=parseInt(k["number-columns-spanned"],10)||0;D={s:{r:T,c:I},e:{r:T+_-1,c:I+O-1}};F.push(D)}if(k["number-columns-repeated"])N=parseInt(k["number-columns-repeated"],10);switch(S.t){case"boolean":S.t="b";S.v=Pe(k["boolean-value"]);break;case"float":S.t="n";S.v=parseFloat(k.value);break;case"percentage":S.t="n";S.v=parseFloat(k.value);break;case"currency":S.t="n";S.v=parseFloat(k.value);break;case"date":S.t="d";S.v=q(k["date-value"]);if(!i.cellDates){S.t="n";S.v=Y(S.v)}S.z="m/d/yy";break;case"time":S.t="n";S.v=Q(k["time-value"])/86400;break;case"number":S.t="n";S.v=parseFloat(k["数据数值"]);break;default:if(S.t==="string"||S.t==="text"||!S.t){S.t="s";if(k["string-value"]!=null)w=Te(k["string-value"])}else throw new Error("Unsupported value type "+S.t);}}else{z=false;if(S.t==="s"){S.v=w||"";z=B==0}if(U.Target)S.l=U;if(V.length>0){S.c=V;V=[]}if(w&&i.cellText!==false)S.w=w;if(!z||i.sheetStubs){if(!(i.sheetRows&&i.sheetRows<T)){for(var J=0;J<P;++J){N=parseInt(k["number-columns-repeated"]||"1",10);if(i.dense){if(!g[T+J])g[T+J]=[];g[T+J][I]=J==0?S:re(S);while(--N>0)g[T+J][I+N]=re(S)}else{g[at({r:T+J,c:I})]=S;while(--N>0)g[at({r:T+J,c:I+N})]=re(S)}if(x.e.c<=I)x.e.c=I}}}N=parseInt(k["number-columns-repeated"]||"1",10);I+=N-1;N=0;S={};w=""}U={};break;case"document":;case"document-content":;case"电子表格文档":;case"spreadsheet":;case"主体":;case"scripts":;case"styles":;case"font-face-decls":if(E[1]==="/"){if((c=l.pop())[0]!==E[3])throw"Bad state: "+c}else if(E[0].charAt(E[0].length-2)!=="/")l.push([E[3],true]);break;case"annotation":if(E[1]==="/"){if((c=l.pop())[0]!==E[3])throw"Bad state: "+c;H.t=w;H.a=X;V.push(H)}else if(E[0].charAt(E[0].length-2)!=="/"){l.push([E[3],false])}X="";G=0;w="";B=0;break;case"creator":if(E[1]==="/"){X=s.slice(G,E.index)}else G=E.index+E[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(E[1]==="/"){if((c=l.pop())[0]!==E[3])throw"Bad state: "+c}else if(E[0].charAt(E[0].length-2)!=="/")l.push([E[3],false]);w="";B=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(E[1]==="/"){R[o.name]=u;if((c=l.pop())[0]!==E[3])throw"Bad state: "+c}else if(E[0].charAt(E[0].length-2)!=="/"){u="";o=ke(E[0],false);l.push([E[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(l[l.length-1][0]){case"time-style":;case"date-style":f=ke(E[0],false);u+=r[E[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(l[l.length-1][0]){case"time-style":;case"date-style":f=ke(E[0],false);u+=r[E[3]][f.style==="long"?1:0];break;}break;case"boolean-style":break;case"boolean":break;case"text-style":break;case"text":if(E[0].slice(-2)==="/>")break;else if(E[1]==="/")switch(l[l.length-1][0]){case"number-style":;case"date-style":;case"time-style":u+=s.slice(h,E.index);break;}else h=E.index+E[0].length;break;case"named-range":f=ke(E[0],false);W=vu(f["cell-range-address"]);var Z={Name:f.name,Ref:W[0]+"!"+W[1]};if(j)Z.Sheet=m.length;M.Names.push(Z);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(E[1]==="/"&&(!k||!k["string-value"]))w=(w.length>0?w+"\n":"")+e(s.slice(B,E.index),C);else{C=ke(E[0],false);B=E.index+E[0].length}break;case"s":break;case"database-range":if(E[1]==="/")break;try{W=vu(ke(E[0])["target-range-address"]);p[W[0]]["!autofilter"]={ref:W[1]}}catch(ee){}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(E[1]!=="/"){U=ke(E[0],false);if(!U.href)break;U.Target=U.href;delete U.href;if(U.Target.charAt(0)=="#"&&U.Target.indexOf(".")>-1){W=vu(U.Target.slice(1));U.Target="#"+W[0]+"!"+W[1]}}break;case"table-protection":break;case"data-pilot-grand-total":break;case"office-document-common-attrs":break;default:switch(E[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(i.WTF)throw new Error(E);};}var te={Sheets:p,SheetNames:m,Workbook:M};if(i.bookSheets)delete te.Sheets;return te}}();function Jv(e,r){r=r||{};var t=!!oe(e,"objectdata");if(t)xa(he(e,"META-INF/manifest.xml"),r);var a=de(e,"content.xml");if(!a)throw new Error("Missing content.xml in "+(t?"ODS":"UOF")+" file");var n=Qv(t?a:Ne(a),r);if(oe(e,"meta.xml"))n.Props=Pa(he(e,"meta.xml"));return n}function Zv(e,r){return Qv(e,r)}var qv=function(){var e="<office:document-styles "+$e({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","office:version":"1.2"})+"></office:document-styles>";return function r(){return be+e}}();var ep=function(){var e=function(e){return Ae(e).replace(/ +/g,function(e){return'<text:s text:c="'+e.length+'"/>'}).replace(/\t/g,"<text:tab/>").replace(/\n/g,"<text:line-break/>").replace(/^ /,"<text:s/>").replace(/ $/,"<text:s/>")};var r=" <table:table-cell />\n";var t=" <table:covered-table-cell/>\n";var a=function(a,n,i){var s=[];s.push(' <table:table table:name="'+Ae(n.SheetNames[i])+'">\n');var l=0,c=0,f=nt(a["!ref"]);var o=a["!merges"]||[],u=0;var h=Array.isArray(a);for(l=0;l<f.s.r;++l)s.push(" <table:table-row></table:table-row>\n");for(;l<=f.e.r;++l){s.push(" <table:table-row>\n");for(c=0;c<f.s.c;++c)s.push(r);for(;c<=f.e.c;++c){var d=false,v={},p="";for(u=0;u!=o.length;++u){if(o[u].s.c>c)continue;if(o[u].s.r>l)continue;if(o[u].e.c<c)continue;if(o[u].e.r<l)continue;if(o[u].s.c!=c||o[u].s.r!=l)d=true;v["table:number-columns-spanned"]=o[u].e.c-o[u].s.c+1;v["table:number-rows-spanned"]=o[u].e.r-o[u].s.r+1;break}if(d){s.push(t);continue}var b=at({r:l,c:c}),m=h?(a[l]||[])[c]:a[b];if(m&&m.f){v["table:formula"]=Ae(du(m.f));if(m.F){if(m.F.slice(0,b.length)==b){var g=nt(m.F);v["table:number-matrix-columns-spanned"]=g.e.c-g.s.c+1;v["table:number-matrix-rows-spanned"]=g.e.r-g.s.r+1}}}if(!m){s.push(r);continue}switch(m.t){case"b":p=m.v?"TRUE":"FALSE";v["office:value-type"]="boolean";v["office:boolean-value"]=m.v?"true":"false";break;case"n":p=m.w||String(m.v||0);v["office:value-type"]="float";v["office:value"]=m.v||0;break;case"s":;case"str":p=m.v;v["office:value-type"]="string";break;case"d":p=m.w||q(m.v).toISOString();v["office:value-type"]="date";v["office:date-value"]=q(m.v).toISOString();v["table:style-name"]="ce1";break;default:s.push(r);continue;}var E=e(p);if(m.l&&m.l.Target){var S=m.l.Target;S=S.charAt(0)=="#"?"#"+pu(S.slice(1)):S;E=Qe("text:a",E,{"xlink:href":S})}s.push(" "+Qe("table:table-cell",Qe("text:p",E,{}),v)+"\n")}s.push(" </table:table-row>\n")}s.push(" </table:table>\n");return s.join("")};var n=function(e){e.push(" <office:automatic-styles>\n");e.push(' <number:date-style style:name="N37" number:automatic-order="true">\n');e.push(' <number:month number:style="long"/>\n');e.push(" <number:text>/</number:text>\n");e.push(' <number:day number:style="long"/>\n');e.push(" <number:text>/</number:text>\n");e.push(" <number:year/>\n");e.push(" </number:date-style>\n");e.push(' <style:style style:name="ce1" style:family="table-cell" style:parent-style-name="Default" style:data-style-name="N37"/>\n');e.push(" </office:automatic-styles>\n")};return function i(e,r){var t=[be];var i=$e({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:meta":"urn:oasis:names:tc:opendocument:xmlns:meta:1.0","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:presentation":"urn:oasis:names:tc:opendocument:xmlns:presentation:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:chart":"urn:oasis:names:tc:opendocument:xmlns:chart:1.0","xmlns:dr3d":"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0","xmlns:math":"http://www.w3.org/1998/Math/MathML","xmlns:form":"urn:oasis:names:tc:opendocument:xmlns:form:1.0",
|
||
"xmlns:script":"urn:oasis:names:tc:opendocument:xmlns:script:1.0","xmlns:ooo":"http://openoffice.org/2004/office","xmlns:ooow":"http://openoffice.org/2004/writer","xmlns:oooc":"http://openoffice.org/2004/calc","xmlns:dom":"http://www.w3.org/2001/xml-events","xmlns:xforms":"http://www.w3.org/2002/xforms","xmlns:xsd":"http://www.w3.org/2001/XMLSchema","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","xmlns:sheet":"urn:oasis:names:tc:opendocument:sh33tjs:1.0","xmlns:rpt":"http://openoffice.org/2005/report","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","xmlns:xhtml":"http://www.w3.org/1999/xhtml","xmlns:grddl":"http://www.w3.org/2003/g/data-view#","xmlns:tableooo":"http://openoffice.org/2009/table","xmlns:drawooo":"http://openoffice.org/2010/draw","xmlns:calcext":"urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0","xmlns:loext":"urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0","xmlns:field":"urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0","xmlns:formx":"urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0","xmlns:css3t":"http://www.w3.org/TR/css3-text/","office:version":"1.2"});var s=$e({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});if(r.bookType=="fods")t.push("<office:document"+i+s+">\n");else t.push("<office:document-content"+i+">\n");n(t);t.push(" <office:body>\n");t.push(" <office:spreadsheet>\n");for(var l=0;l!=e.SheetNames.length;++l)t.push(a(e.Sheets[e.SheetNames[l]],e,l,r));t.push(" </office:spreadsheet>\n");t.push(" </office:body>\n");if(r.bookType=="fods")t.push("</office:document>");else t.push("</office:document-content>");return t.join("")}}();function rp(e,r){if(r.bookType=="fods")return ep(e,r);var t=new ve;var a="";var n=[];var i=[];a="mimetype";t.file(a,"application/vnd.oasis.opendocument.spreadsheet");a="content.xml";t.file(a,ep(e,r));n.push([a,"text/xml"]);i.push([a,"ContentFile"]);a="styles.xml";t.file(a,qv(e,r));n.push([a,"text/xml"]);i.push([a,"StylesFile"]);a="meta.xml";t.file(a,_a());n.push([a,"text/xml"]);i.push([a,"MetadataFile"]);a="manifest.rdf";t.file(a,Da(i));n.push([a,"application/rdf+xml"]);a="META-INF/manifest.xml";t.file(a,Aa(n));return t}function tp(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 ap(e){return function r(t,a){var n=tp(t,a.sheet);return e.from_sheet(t.Sheets[t.SheetNames[n]],a,t)}}var np=ap(Kv);var ip=ap({from_sheet:jp});var sp=ap(_s);var lp=ap(Os);var cp=ap(Ps);var fp=ap(Bl);var op=ap({from_sheet:Kp});var up=ap(Ds);var hp=ap(ys);function dp(e){return function r(t){for(var a=0;a!=e.length;++a){var n=e[a];if(t[n[0]]===undefined)t[n[0]]=n[1];if(n[2]==="n")t[n[0]]=Number(t[n[0]])}}}var vp=dp([["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 pp=dp([["cellDates",false],["bookSST",false],["bookType","xlsx"],["compression",false],["WTF",false]]);function bp(e){if(Sa.WS.indexOf(e)>-1)return"sheet";if(Sa.CS&&e==Sa.CS)return"chart";if(Sa.DS&&e==Sa.DS)return"dialog";if(Sa.MS&&e==Sa.MS)return"macro";return e&&e.length?e:"sheet"}function mp(e,r){if(!e)return 0;try{e=r.map(function a(r){if(!r.id)r.id=r.strRelID;return[r.name,e["!id"][r.id].Target,bp(e["!id"][r.id].Type)]})}catch(t){return null}return!e||e.length===0?null:e}function gp(e,r,t,a,n,i,s,l,c,f,o,u){try{i[a]=wa(de(e,t,true),r);var h=he(e,r);switch(l){case"sheet":s[a]=_d(h,r,n,c,i[a],f,o,u);break;case"chart":var d=Od(h,r,n,c,i[a],f,o,u);s[a]=d;if(!d||!d["!chart"])break;var v=pe(d["!chart"].Target,r);var p=ka(v);var b=Zc(de(e,v,true),wa(de(e,p,true),v));var m=pe(b,v);var g=ka(m);d=Qh(de(e,m,true),m,c,wa(de(e,g,true),m),f,d);break;case"macro":s[a]=yd(h,r,n,c,i[a],f,o,u);break;case"dialog":s[a]=Pd(h,r,n,c,i[a],f,o,u);break;}}catch(E){if(c.WTF)throw E}}var Ep=function gb(e){return e.slice(-1)!="/"};function Sp(e){return e.charAt(0)=="/"?e.slice(1):e}function kp(e,r){F(R);r=r||{};vp(r);if(oe(e,"META-INF/manifest.xml"))return Jv(e,r);if(oe(e,"objectdata.xml"))return Jv(e,r);if(oe(e,"Index/Document.iwa"))throw new Error("Unsupported NUMBERS file");var t=V(e.files).filter(Ep).sort();var a=ba(de(e,"[Content_Types].xml"));var n=false;var i,s;if(a.workbooks.length===0){s="xl/workbook.xml";if(he(e,s,true))a.workbooks.push(s)}if(a.workbooks.length===0){s="xl/workbook.bin";if(!he(e,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 l={};var c={};if(!r.bookSheets&&!r.bookProps){bu=[];if(a.sst)bu=Md(he(e,Sp(a.sst)),a.sst,r);if(r.cellStyles&&a.themes.length)l=Ld(de(e,a.themes[0].replace(/^\//,""),true)||"",a.themes[0],r);if(a.style)c=Nd(he(e,Sp(a.style)),a.style,l,r)}a.links.map(function(t){return Vd(he(e,Sp(t)),t,r)});var f=Dd(he(e,Sp(a.workbooks[0])),a.workbooks[0],r);var o={},u="";if(a.coreprops.length){u=he(e,Sp(a.coreprops[0]),true);if(u)o=Pa(u);if(a.extprops.length!==0){u=he(e,Sp(a.extprops[0]),true);if(u)Wa(u,o,r)}}var h={};if(!r.bookSheets||r.bookProps){if(a.custprops.length!==0){u=de(e,Sp(a.custprops[0]),true);if(u)h=Ga(u,r)}}var d={};if(r.bookSheets||r.bookProps){if(f.Sheets)i=f.Sheets.map(function I(e){return e.name});else if(o.Worksheets&&o.SheetNames.length>0)i=o.SheetNames;if(r.bookProps){d.Props=o;d.Custprops=h}if(r.bookSheets&&typeof i!=="undefined")d.SheetNames=i;if(r.bookSheets?d.SheetNames:r.bookProps)return d}i={};var v={};if(r.bookDeps&&a.calcchain)v=Wd(he(e,Sp(a.calcchain)),a.calcchain,r);var p=0;var b={};var m,g;{var E=f.Sheets;o.Worksheets=E.length;o.SheetNames=[];for(var S=0;S!=E.length;++S){o.SheetNames[S]=E[S].name}}var k=n?"bin":"xml";var w="xl/_rels/workbook."+k+".rels";var B=wa(de(e,w,true),w);if(B)B=mp(B,f.Sheets);var C=he(e,"xl/worksheets/sheet.xml",true)?1:0;for(p=0;p!=o.Worksheets;++p){var T="sheet";if(B&&B[p]){m="xl/"+B[p][1].replace(/[\/]?xl\//,"");T=B[p][2]}else{m="xl/worksheets/sheet"+(p+1-C)+"."+k;m=m.replace(/sheet0\./,"sheet.")}g=m.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels");gp(e,m,g,o.SheetNames[p],p,b,i,T,r,f,l,c)}if(a.comments)rf(e,a.comments,i,b,r);d={Directory:a,Workbook:f,Props:o,Custprops:h,Deps:v,Sheets:i,SheetNames:o.SheetNames,Strings:bu,Styles:c,Themes:l,SSF:R.get_table()};if(r.bookFiles){d.keys=t;d.files=e.files}if(r.bookVBA){if(a.vba.length>0)d.vbaraw=he(e,Sp(a.vba[0]),true);else if(a.defaults&&a.defaults.bin==="application/vnd.ms-office.vbaProject")d.vbaraw=he(e,"xl/vbaProject.bin",true)}return d}function wp(e,r){var t=r||{};var a="/!DataSpaces/Version";var n=N.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);tl(n.content);a="/!DataSpaces/DataSpaceMap";n=N.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var i=nl(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=N.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var s=il(n.content);if(s.length!=1||s[0]!="StrongEncryptionTransform")throw new Error("ECMA-376 Encrypted file bad "+a);a="/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary";n=N.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);ll(n.content);a="/EncryptionInfo";n=N.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var l=ol(n.content);a="/EncryptedPackage";n=N.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);if(l[0]==4&&typeof decrypt_agile!=="undefined")return decrypt_agile(l[1],n.content,t.password||"",t);if(l[0]==2&&typeof decrypt_std76!=="undefined")return decrypt_std76(l[1],n.content,t.password||"",t);throw new Error("File is password-protected")}function Bp(e,r){qc=1024;if(r.bookType=="ods")return rp(e,r);if(e&&!e.SSF){e.SSF=R.get_table()}if(e&&e.SSF){F(R);R.load_table(e.SSF);r.revssf=G(e.SSF);r.revssf[e.SSF[65535]]=0;r.ssf=e.SSF}r.rels={};r.wbrels={};r.Strings=[];r.Strings.Count=0;r.Strings.Unique=0;var t=r.bookType=="xlsb"?"bin":"xml";var a=pf.indexOf(r.bookType)>-1;var n=pa();pp(r=r||{});var i=new ve;var s="",l=0;r.cellXfs=[];ku(r.cellXfs,{},{revssf:{General:0}});if(!e.Props)e.Props={};s="docProps/core.xml";i.file(s,Ma(e.Props,r));n.coreprops.push(s);Ta(r.rels,2,s,Sa.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 e.Props.SheetNames=e.SheetNames.map(function(r,t){return[(e.Workbook.Sheets[t]||{}).Hidden!=2,r]}).filter(function(e){return e[0]}).map(function(e){return e[1]});e.Props.Worksheets=e.Props.SheetNames.length;i.file(s,Ha(e.Props,r));n.extprops.push(s);Ta(r.rels,3,s,Sa.EXT_PROPS);if(e.Custprops!==e.Props&&V(e.Custprops||{}).length>0){s="docProps/custom.xml";i.file(s,ja(e.Custprops,r));n.custprops.push(s);Ta(r.rels,4,s,Sa.CUST_PROPS)}s="xl/workbook."+t;i.file(s,Hd(e,s,r));n.workbooks.push(s);Ta(r.rels,1,s,Sa.WB);for(l=1;l<=e.SheetNames.length;++l){var c={"!id":{}};var f=e.Sheets[e.SheetNames[l-1]];var o=(f||{})["!type"]||"sheet";switch(o){case"chart":;default:s="xl/worksheets/sheet"+l+"."+t;i.file(s,Xd(l-1,s,r,e,c));n.sheets.push(s);Ta(r.wbrels,-1,"worksheets/sheet"+l+"."+t,Sa.WS[0]);}if(f){var u=f["!comments"];if(u&&u.length>0){var h="xl/comments"+l+"."+t;i.file(h,Kd(u,h,r));n.comments.push(h);Ta(c,-1,"../comments"+l+"."+t,Sa.CMNT)}if(f["!legacy"]){i.file("xl/drawings/vmlDrawing"+l+".vml",ef(l,f["!comments"]))}delete f["!comments"];delete f["!legacy"]}if(c["!id"].rId1)i.file(ka(s),Ca(c))}if(r.Strings!=null&&r.Strings.length>0){s="xl/sharedStrings."+t;i.file(s,jd(r.Strings,s,r));n.strs.push(s);Ta(r.wbrels,-1,"sharedStrings."+t,Sa.SST)}s="xl/theme/theme1.xml";i.file(s,Mc(e.Themes,r));n.themes.push(s);Ta(r.wbrels,-1,"theme/theme1.xml",Sa.THEME);s="xl/styles."+t;i.file(s,zd(e,s,r));n.styles.push(s);Ta(r.wbrels,-1,"styles."+t,Sa.STY);if(e.vbaraw&&a){s="xl/vbaProject.bin";i.file(s,e.vbaraw);n.vba.push(s);Ta(r.wbrels,-1,"vbaProject.bin",Sa.VBA)}i.file("[Content_Types].xml",Ea(n,r));i.file("_rels/.rels",Ca(r.rels));i.file("xl/_rels/workbook."+t+".rels",Ca(r.wbrels));delete r.revssf;delete r.ssf;return i}function Cp(e,r){var t="";switch((r||{}).type||"base64"){case"buffer":return[e[0],e[1],e[2],e[3]];case"base64":t=g.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 Tp(e,r){if(N.find(e,"EncryptedPackage"))return wp(e,r);return Av(e,r)}function Ip(e,r){var t,a=e;var n=r||{};if(!n.type)n.type=E&&Buffer.isBuffer(e)?"buffer":"base64";switch(n.type){case"base64":t=new ve(a,{base64:true});break;case"binary":;case"array":t=new ve(a,{base64:false});break;case"buffer":t=new ve(a);break;default:throw new Error("Unrecognized type "+n.type);}return kp(t,n)}function xp(e,r){var t=0;e:while(t<e.length)switch(e.charCodeAt(t)){case 10:;case 13:;case 32:++t;break;case 60:return cv(e.slice(t),r);default:break e;}return Ps.to_workbook(e,r)}function Ap(e,r){var t="",a=Cp(e,r);switch(r.type){case"base64":t=g.decode(e);break;case"binary":t=e;break;case"buffer":t=e.toString("binary");break;case"array":t=ee(e);break;default:throw new Error("Unrecognized type "+r.type);}if(a[0]==239&&a[1]==187&&a[2]==191)t=Ne(t);return xp(t,r)}function Rp(e,r){var t=e;if(r.type=="base64")t=g.decode(t);t=cptable.utils.decode(1200,t.slice(2),"str");r.type="binary";return xp(t,r)}function Fp(e){return!e.match(/[^\x00-\x7F]/)?e:Le(e)}function Dp(e,r,t,a){if(a){t.type="string";return Ps.to_workbook(e,t)}return Ps.to_workbook(r,t)}function _p(e,r){o();if(typeof ArrayBuffer!=="undefined"&&e instanceof ArrayBuffer)return _p(new Uint8Array(e),r);var t=e,a=[0,0,0,0],n=false;var i=r||{};mu={};if(i.dateNF)mu.dateNF=i.dateNF;if(!i.type)i.type=E&&Buffer.isBuffer(e)?"buffer":"base64";if(i.type=="file"){i.type="buffer";t=L.readFileSync(e)}if(i.type=="string"){n=true;i.type="binary";t=Fp(e)}if(i.type=="array"&&typeof Uint8Array!=="undefined"&&e instanceof Uint8Array&&typeof ArrayBuffer!=="undefined"){var s=new ArrayBuffer(3),l=new Uint8Array(s);l.foo="bar";if(!l.foo){i=re(i);i.type="array";return _p(T(t),i)}}switch((a=Cp(t,i))[0]){case 208:return Tp(N.read(t,i),i);case 9:return Av(t,i);case 60:return cv(t,i);case 73:if(a[1]===68)return Ns(t,i);break;case 84:if(a[1]===65&&a[2]===66&&a[3]===76)return Os.to_workbook(t,i);break;case 80:if(a[1]===75&&a[2]<32&&a[3]<32)return Ip(t,i);break;case 239:return a[3]===60?cv(t,i):Dp(e,t,i,n);case 255:if(a[1]===254){return Rp(t,i)}break;case 0:if(a[1]===0&&a[2]>=2&&a[3]===0)return Ls.to_workbook(t,i);break;case 3:;case 131:;case 139:;case 140:return Ds.to_workbook(t,i);case 123:if(a[1]===92&&a[2]===114&&a[3]===116)return Bl.to_workbook(t,i);break;case 10:;case 13:;case 32:return Ap(t,i);}if(a[2]<=12&&a[3]<=31)return Ds.to_workbook(t,i);return Dp(e,t,i,n)}function Op(e,r){var t=r||{};t.type="file";return _p(e,t)}function yp(e,r){var t=r||{};var a=Bp(e,t);var n={};if(t.compression)n.compression="DEFLATE";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=E?"nodebuffer":"string";break;default:throw new Error("Unrecognized type "+t.type);}if(t.type==="file")return W(t.file,a.generate(n));var i=a.generate(n);return t.type=="string"?Ne(i):i}function Pp(e,r){var t=r||{};var a=Rv(e,t);switch(t.type){case"base64":;case"binary":break;case"buffer":;case"array":t.type="";break;case"file":return W(t.file,N.write(a,{type:E?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");default:throw new Error("Unrecognized type "+t.type);}return N.write(a,t)}function Np(e,r,t){if(!t)t="";var a=t+e;switch(r.type){case"base64":return g.encode(Le(a));case"binary":return Le(a);case"string":return e;case"file":return W(r.file,a,"utf8");case"buffer":{if(E)return new Buffer(a,"utf8");else return Np(a,{type:"binary"}).split("").map(function(e){return e.charCodeAt(0)})};}throw new Error("Unrecognized type "+r.type)}function Lp(e,r){switch(r.type){case"base64":return g.encode(e);case"binary":return e;case"string":return e;case"file":return W(r.file,e,"binary");case"buffer":{if(E)return new Buffer(e,"binary");else return e.split("").map(function(e){return e.charCodeAt(0)})};}throw new Error("Unrecognized type "+r.type)}function Mp(e,r){switch(r.type){case"string":;case"base64":;case"binary":var t="";for(var a=0;a<e.length;++a)t+=String.fromCharCode(e[a]);return r.type=="base64"?g.encode(t):r.type=="string"?Ne(t):t;case"file":return W(r.file,e);case"buffer":return e;default:throw new Error("Unrecognized type "+r.type);}}function Up(e,r){vd(e);var t=r||{};if(t.type=="array"){t.type="binary";var a=Up(e,t);t.type="array";return w(a)}switch(t.bookType||"xlsb"){case"xml":;case"xlml":return Np(kv(e,t),t);case"slk":;case"sylk":return Np(sp(e,t),t);case"html":return Np(np(e,t),t);case"txt":return Lp(op(e,t),t);case"csv":return Np(ip(e,t),t,"\ufeff");case"dif":return Np(lp(e,t),t);case"dbf":return Mp(up(e,t),t);case"prn":return Np(cp(e,t),t);case"rtf":return Np(fp(e,t),t);case"eth":return Np(hp(e,t),t);case"fods":return Np(rp(e,t),t);case"biff2":if(!t.biff)t.biff=2;case"biff3":if(!t.biff)t.biff=3;case"biff4":if(!t.biff)t.biff=4;return Mp(jv(e,t),t);case"biff5":if(!t.biff)t.biff=5;case"biff8":;case"xla":;case"xls":if(!t.biff)t.biff=8;return Pp(e,t);case"xlsx":;case"xlsm":;case"xlam":;case"xlsb":;case"ods":return yp(e,t);default:throw new Error("Unrecognized bookType |"+t.bookType+"|");}}function Wp(e){if(e.bookType)return;var r={xls:"biff8",htm:"html",slk:"sylk",socialcalc:"eth",Sh33tJS:"WTF"};var t=e.file.slice(e.file.lastIndexOf(".")).toLowerCase();if(t.match(/^\.[a-z]+$/))e.bookType=t.slice(1);e.bookType=r[e.bookType]||e.bookType}function Vp(e,r,t){var a=t||{};a.type="file";a.file=r;Wp(a);return Up(e,a)}function Hp(e,r,t,a){var n=t||{};n.type="file";n.file=e;Wp(n);n.type="buffer";var i=a;if(!(i instanceof Function))i=t;return L.writeFile(e,Up(r,n),i)}function Xp(e,r){if(e==null||e["!ref"]==null)return[];var t={t:"n",v:0},a=0,n=1,i=[],s=true,l=0,c="";var f={s:{r:0,c:0},e:{r:0,c:0}};var o=r||{};var u=o.raw;var h=o.defval;var d=o.range!=null?o.range:e["!ref"];if(o.header===1)a=1;else if(o.header==="A")a=2;else if(Array.isArray(o.header))a=3;switch(typeof d){case"string":f=st(d);break;case"number":f=st(e["!ref"]);f.s.r=d;break;default:f=d;}if(a>0)n=0;var v=Yr(f.s.r);var p=[];var b=[];var m=0,g=0;var E=Array.isArray(e);var S=f.s.r,k=0,w=0;if(E&&!e[S])e[S]=[];for(k=f.s.c;k<=f.e.c;++k){p[k]=Zr(k);t=E?e[S][k]:e[p[k]+v];switch(a){case 1:i[k]=k-f.s.c;break;case 2:i[k]=p[k];break;case 3:i[k]=o.header[k-f.s.c];break;default:if(t==null)t={w:"__EMPTY",t:"s"};c=l=ct(t,null,o);g=0;for(w=0;w<i.length;++w)if(i[w]==c)c=l+"_"+ ++g;i[k]=c;}}var B=a===1?[]:{};for(S=f.s.r+n;S<=f.e.r;++S){v=Yr(S);s=true;if(a===1)B=[];else{B={};if(Object.defineProperty)try{Object.defineProperty(B,"__rowNum__",{value:S,enumerable:false})}catch(C){B.__rowNum__=S}else B.__rowNum__=S}if(!E||e[S])for(k=f.s.c;k<=f.e.c;++k){t=E?e[S][k]:e[p[k]+v];if(t===undefined||t.t===undefined){if(h===undefined)continue;if(i[k]!=null){B[i[k]]=h;s=false}continue}l=t.v;switch(t.t){case"z":if(l==null)break;continue;case"e":continue;case"s":;case"d":;case"b":;case"n":break;default:throw new Error("unrecognized type "+t.t);}if(i[k]!=null){if(l==null){if(h!==undefined)B[i[k]]=h;else if(u&&l===null)B[i[k]]=null;else continue}else{B[i[k]]=u?l:ct(t,l,o)}s=false}}if(s===false||(a===1?o.blankrows!==false:!!o.blankrows))b[m++]=B}b.length=m;return b}var Gp=/"/g;function zp(e,r,t,a,n,i,s,l){var c=true;var f=[],o="",u=Yr(t);for(var h=r.s.c;h<=r.e.c;++h){if(!a[h])continue;var d=l.dense?(e[t]||[])[h]:e[a[h]+u];if(d==null)o="";else if(d.v!=null){c=false;o=""+ct(d,null,l);for(var v=0,p=0;v!==o.length;++v)if((p=o.charCodeAt(v))===n||p===i||p===34){o='"'+o.replace(Gp,'""')+'"';break}if(o=="ID")o='"ID"'}else if(d.f!=null&&!d.F){c=false;o="="+d.f;if(o.indexOf(",")>=0)o='"'+o.replace(Gp,'""')+'"'}else o="";f.push(o)}if(l.blankrows===false&&c)return null;return f.join(s)}function jp(e,r){var t=[];var a=r==null?{}:r;if(e==null||e["!ref"]==null)return"";var n=st(e["!ref"]);var i=a.FS!==undefined?a.FS:",",s=i.charCodeAt(0);var l=a.RS!==undefined?a.RS:"\n",c=l.charCodeAt(0);var f=new RegExp((i=="|"?"\\|":i)+"+$");var o="",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]=Zr(v);for(var p=n.s.r;p<=n.e.r;++p){if((d[p]||{}).hidden)continue;o=zp(e,n,p,u,s,c,i,a);if(o==null){continue}if(a.strip)o=o.replace(f,"");t.push(o+l)}delete a.dense;return t.join("")}function Kp(e,r){if(!r)r={};r.FS="\t";r.RS="\n";var t=jp(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 Yp(e){var r="",t,a="";if(e==null||e["!ref"]==null)return[];var n=st(e["!ref"]),i="",s=[],l;var c=[];var f=Array.isArray(e);for(l=n.s.c;l<=n.e.c;++l)s[l]=Zr(l);for(var o=n.s.r;o<=n.e.r;++o){i=Yr(o);for(l=n.s.c;l<=n.e.c;++l){r=s[l]+i;t=f?(e[o]||[])[l]: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;c[c.length]=r+"="+a}}return c}function $p(e,r,t){var a=t||{};var n=+!a.skipHeader;var i=e||{};var s=0,l=0;if(i&&a.origin!=null){if(typeof a.origin=="number")s=a.origin;else{var c=typeof a.origin=="string"?tt(a.origin):a.origin;s=c.r;l=c.c}}var f;var o={s:{c:0,r:0},e:{c:l,r:s+r.length-1+n}};if(i["!ref"]){var u=st(i["!ref"]);o.e.c=Math.max(o.e.c,u.e.c);o.e.r=Math.max(o.e.r,u.e.r);if(s==-1){s=o.e.r+1;o.e.r=s+r.length-1+n}}var h=a.header||[],d=0;r.forEach(function(e,r){V(e).filter(function(r){return e.hasOwnProperty(r)}).forEach(function(t){if((d=h.indexOf(t))==-1)h[d=h.length]=t;var c=e[t];var o="z";var u="";if(typeof c=="number")o="n";else if(typeof c=="boolean")o="b";else if(typeof c=="string")o="s";else if(c instanceof Date){o="d";if(!a.cellDates){o="n";c=Y(c)}u=a.dateNF||R._table[14]}i[at({c:l+d,r:s+r+n})]=f={t:o,v:c};if(u)f.z=u})});o.e.c=Math.max(o.e.c,l+h.length-1);var v=Yr(s);if(n)for(d=0;d<h.length;++d)i[Zr(d+l)+v]={t:"s",v:h[d]};i["!ref"]=it(o);return i}function Qp(e,r){return $p(null,e,r)}var Jp={encode_col:Zr,encode_row:Yr,encode_cell:at,encode_range:it,decode_col:Jr,decode_row:Kr,split_cell:rt,decode_cell:tt,decode_range:nt,format_cell:ct,get_formulae:Yp,make_csv:jp,make_json:Xp,make_formulae:Yp,sheet_add_aoa:ot,sheet_add_json:$p,aoa_to_sheet:ut,json_to_sheet:Qp,table_to_sheet:Yv,table_to_book:$v,sheet_to_csv:jp,sheet_to_txt:Kp,sheet_to_json:Xp,sheet_to_html:Kv.from_sheet,sheet_to_dif:Os.from_sheet,sheet_to_slk:_s.from_sheet,sheet_to_eth:ys.from_sheet,sheet_to_formulae:Yp,sheet_to_row_object_array:Xp};(function(e){e.consts=e.consts||{};function r(r){r.forEach(function(r){e.consts[r[0]]=r[1]})}function t(e,r,t){return e[r]!=null?e[r]:e[r]=t}function a(e,r,t){if(typeof r=="string")return e[r]||(e[r]={t:"z"});if(typeof r!="number")return a(e,at(r));return a(e,at({r:r,c:t||0}))}function n(e,r){if(typeof r=="number"){if(r>=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+"|")}e.book_new=function(){return{SheetNames:[],Sheets:{}}};e.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");hd(t);if(e.SheetNames.indexOf(t)>=0)throw new Error("Worksheet with name |"+t+"| already exists!");e.SheetNames.push(t);e.Sheets[t]=r};e.book_set_sheet_visibility=function(e,r,a){t(e,"Workbook",{});t(e.Workbook,"Sheets",[]);var i=n(e,r);t(e.Workbook.Sheets,i,{});switch(a){case 0:;case 1:;case 2:break;default:throw new Error("Bad sheet visibility setting "+a);}e.Workbook.Sheets[i].Hidden=a};r([["SHEET_VISIBLE",0],["SHEET_HIDDEN",1],["SHEET_VERY_HIDDEN",2]]);e.cell_set_number_format=function(e,r){e.z=r;return e};e.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};e.cell_set_internal_link=function(r,t,a){return e.cell_set_hyperlink(r,"#"+t,a)};e.cell_add_comment=function(e,r,t){if(!e.c)e.c=[];e.c.push({t:r,a:t||"SheetJS"})};e.sheet_set_array_formula=function(e,r,t){var n=typeof r!="string"?r:st(r);var i=typeof r=="string"?r:it(r);for(var s=n.s.r;s<=n.e.r;++s)for(var l=n.s.c;l<=n.e.c;++l){var c=a(e,s,l);c.t="n";c.F=i;delete c.v;if(s==n.s.r&&l==n.s.c)c.f=t}return e};return e})(Jp);if(E&&typeof require!="undefined")(function(){var e={}.Readable;var t=function(r,t){var a=e();var n=t==null?{}:t;if(r==null||r["!ref"]==null){a.push(null);return a}var i=st(r["!ref"]);var s=n.FS!==undefined?n.FS:",",l=s.charCodeAt(0);var c=n.RS!==undefined?n.RS:"\n",f=c.charCodeAt(0);var o=new RegExp((s=="|"?"\\|":s)+"+$");var u="",h=[];n.dense=Array.isArray(r);var d=n.skipHidden&&r["!cols"]||[];var v=n.skipHidden&&r["!rows"]||[];for(var p=i.s.c;p<=i.e.c;++p)if(!(d[p]||{}).hidden)h[p]=Zr(p);var b=i.s.r;a._read=function(){if(b>i.e.r)return a.push(null);while(b<=i.e.r){++b;if((v[b-1]||{}).hidden)continue;u=zp(r,i,b-1,h,l,f,s,n);if(u!=null){if(n.strip)u=u.replace(o,"");a.push(u+c);break}}};return a};var a=function(r,t){var a=e();var n=t||{};var i=n.header!=null?n.header:Kv.BEGIN;var s=n.footer!=null?n.footer:Kv.END;a.push(i);var l=nt(r["!ref"]);n.dense=Array.isArray(r);a.push(Kv._preamble(r,l,n));var c=l.s.r;var f=false;a._read=function(){if(c>l.e.r){if(!f){f=true;a.push("</table>"+s)}return a.push(null)}while(c<=l.e.r){a.push(Kv._row(r,l,c,n));++c;break}};return a};r.stream={to_html:a,to_csv:t}})();r.parse_xlscfb=Av;r.parse_ods=Jv;r.parse_fods=Zv;r.write_ods=rp;r.parse_zip=kp;r.read=_p;r.readFile=Op;r.readFileSync=Op;r.write=Up;r.writeFile=Vp;r.writeFileSync=Vp;r.writeFileAsync=Hp;r.utils=Jp;r.SSF=R;r.CFB=N})(typeof exports!=="undefined"?exports:XLSX);var XLS=XLSX,ODS=XLSX;
|