xsheetjs/dist/xlsx.mini.min.js
2022-02-13 20:45:57 -05:00

10 lines
245 KiB
JavaScript
Generated
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
var DO_NOT_EXPORT_CODEPAGE=true;var XLSX={};function make_xlsx_lib(e){e.version="0.18.1";var r=1200,t=1252;if(typeof module!=="undefined"&&typeof require!=="undefined"){if(typeof cptable==="undefined"){if(typeof global!=="undefined")global.cptable=require("./dist/cpexcel.js");else if(typeof window!=="undefined")window.cptable=require("./dist/cpexcel.js")}}var a=[874,932,936,949,950,1e4];for(var n=0;n<=8;++n)a.push(1250+n);var i={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 s=function(e){if(a.indexOf(e)==-1)return;t=i[0]=e};function o(){s(1252)}var l=function(e){r=e;s(e)};function c(){l(1200);o()}function f(e){var r=[];for(var t=0,a=e.length;t<a;++t)r[t]=e.charCodeAt(t);return r}function u(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 h(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 d=function(e){var r=e.charCodeAt(0),t=e.charCodeAt(1);if(r==255&&t==254)return u(e.slice(2));if(r==254&&t==255)return h(e.slice(2));if(r==65279)return e.slice(1);return e};var p=function el(e){return String.fromCharCode(e)};var v=function rl(e){return String.fromCharCode(e)};if(typeof cptable!=="undefined"){l=function(e){r=e;s(e)};d=function(e){if(e.charCodeAt(0)===255&&e.charCodeAt(1)===254){return cptable.utils.decode(1200,f(e.slice(2)))}return e};p=function tl(e){if(r===1200)return String.fromCharCode(e);return cptable.utils.decode(r,[e&255,e>>8])[0]};v=function al(e){return cptable.utils.decode(t,[e])[0]}}var m=null;var g=true;var b=function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return{encode:function(r){var t="";var a=0,n=0,i=0,s=0,o=0,l=0,c=0;for(var f=0;f<r.length;){a=r.charCodeAt(f++);s=a>>2;n=r.charCodeAt(f++);o=(a&3)<<4|n>>4;i=r.charCodeAt(f++);l=(n&15)<<2|i>>6;c=i&63;if(isNaN(n)){l=c=64}else if(isNaN(i)){c=64}t+=e.charAt(s)+e.charAt(o)+e.charAt(l)+e.charAt(c)}return t},decode:function(r){var t="";var a=0,n=0,i=0,s=0,o=0,l=0,c=0;r=r.replace(/[^\w\+\/\=]/g,"");for(var f=0;f<r.length;){s=e.indexOf(r.charAt(f++));o=e.indexOf(r.charAt(f++));a=s<<2|o>>4;t+=String.fromCharCode(a);l=e.indexOf(r.charAt(f++));n=(o&15)<<4|l>>2;if(l!==64){t+=String.fromCharCode(n)}c=e.indexOf(r.charAt(f++));i=(l&3)<<6|c;if(c!==64){t+=String.fromCharCode(i)}}return t}}}();var w=typeof Buffer!=="undefined"&&typeof process!=="undefined"&&typeof process.versions!=="undefined"&&!!process.versions.node;var y=function(){};if(typeof Buffer!=="undefined"){var k=!Buffer.from;if(!k)try{Buffer.from("foo","utf8")}catch(x){k=true}y=k?function(e,r){return r?new Buffer(e,r):new Buffer(e)}:Buffer.from.bind(Buffer);if(!Buffer.alloc)Buffer.alloc=function(e){return new Buffer(e)};if(!Buffer.allocUnsafe)Buffer.allocUnsafe=function(e){return new Buffer(e)}}function S(e){return w?Buffer.alloc(e):typeof Uint8Array!="undefined"?new Uint8Array(e):new Array(e)}function _(e){return w?Buffer.allocUnsafe(e):typeof Uint8Array!="undefined"?new Uint8Array(e):new Array(e)}var C=function nl(e){if(w)return y(e,"binary");return e.split("").map(function(e){return e.charCodeAt(0)&255})};function A(e){if(typeof ArrayBuffer==="undefined")return C(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 E(e){if(Array.isArray(e))return e.map(function(e){return String.fromCharCode(e)}).join("");var r=[];for(var t=0;t<e.length;++t)r[t]=String.fromCharCode(e[t]);return r.join("")}function F(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}function O(e){var r=[],t=0;var a=S(e.length+255);for(var n=0;n<e.length;++n){var i=e.charCodeAt(n);if(i<128)a[t++]=i;else if(i<2048){a[t++]=192|i>>6&31;a[t++]=128|i&63}else if(i>=55296&&i<57344){i=(i&1023)+64;var s=e.charCodeAt(++n)&1023;a[t++]=240|i>>8&7;a[t++]=128|i>>2&63;a[t++]=128|s>>6&15|(i&3)<<4;a[t++]=128|s&63}else{a[t++]=224|i>>12&15;a[t++]=128|i>>6&63;a[t++]=128|i&63}if(t>65530){r.push(a.slice(0,t));t=0;a=S(65535)}}r.push(a.slice(0,t));return D(r)}var D=function(e){if(typeof Uint8Array!=="undefined"){var r=0,t=0;for(r=0;r<e.length;++r)t+=e[r].length;var a=new Uint8Array(t);var n=0;for(r=0,t=0;r<e.length;t+=n,++r){n=e[r].length;if(e[r]instanceof Uint8Array)a.set(e[r],t);else if(typeof e[r]=="string"){throw"wtf"}else a.set(new Uint8Array(e[r]),t)}return a}return[].concat.apply([],e.map(function(e){return Array.isArray(e)?e:[].slice.call(e)}))};var M=/\u0000/g,N=/[\u0001-\u0006]/g;var P={};var R=function il(e){e.version="0.11.2";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 o(e,r){var a=""+e;return a.length>=r?a:t("0",r-a.length)+a}var l=Math.pow(2,32);function c(e,r){if(e>l||e<-l)return s(e,r);var t=Math.round(e);return o(t,r)}function f(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"秒 "'}var p={};d(p);var v=[];var m=0;for(m=5;m<=8;++m)v[m]=32+m;for(m=23;m<=26;++m)v[m]=0;for(m=27;m<=31;++m)v[m]=14;for(m=50;m<=58;++m)v[m]=14;for(m=59;m<=62;++m)v[m]=m-58;for(m=67;m<=68;++m)v[m]=m-58;for(m=72;m<=75;++m)v[m]=m-58;for(m=67;m<=68;++m)v[m]=m-57;for(m=76;m<=78;++m)v[m]=m-56;for(m=79;m<=81;++m)v[m]=m-34;var g=[];g[5]=g[63]='"$"#,##0_);\\("$"#,##0\\)';g[6]=g[64]='"$"#,##0_);[Red]\\("$"#,##0\\)';g[7]=g[65]='"$"#,##0.00_);\\("$"#,##0.00\\)';g[8]=g[66]='"$"#,##0.00_);[Red]\\("$"#,##0.00\\)';g[41]='_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)';g[42]='_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)';g[43]='_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)';g[44]='_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)';function b(e,r,t){var a=e<0?-1:1;var n=e*a;var i=0,s=1,o=0;var l=1,c=0,f=0;var u=Math.floor(n);while(c<r){u=Math.floor(n);o=u*s+i;f=u*c+l;if(n-u<5e-8)break;n=1/(n-u);i=s;s=o;l=c;c=f}if(f>r){if(c>r){f=l;o=i}else{f=c;o=s}}if(!t)return[0,a*o,f];var h=Math.floor(a*o/f);return[h,a*o-h*f,f]}function w(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 o={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(o.u)<1e-6)o.u=0;if(r&&r.date1904)a+=1462;if(o.u>.9999){o.u=0;if(++n==86400){o.T=n=0;++a;++o.D}}if(a===60){s=t?[1317,10,29]:[1900,2,29];i=3}else if(a===0){s=t?[1317,8,29]:[1900,1,0];i=6}else{if(a>60)--a;var l=new Date(1900,0,1);l.setDate(l.getDate()+a-1);s=[l.getFullYear(),l.getMonth()+1,l.getDate()];i=l.getDay();if(a<60)i=(i+6)%7;if(t)i=E(l,s)}o.y=s[0];o.m=s[1];o.d=s[2];o.S=n%60;n=Math.floor(n/60);o.M=n%60;n=Math.floor(n/60);o.H=n;o.q=i;return o}e.parse_date_code=w;var y=new Date(1899,11,31,0,0,0);var k=y.getTime();var x=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>=x)t+=24*60*60*1e3;return(t-(k+(e.getTimezoneOffset()-y.getTimezoneOffset())*6e4))/(24*60*60*1e3)}function _(e){return e.toString(10)}e._general_int=_;var C=function W(){var e=/(?:\.0*|(\.\d*[1-9])0+)$/;function r(r){return r.indexOf(".")==-1?r:r.replace(e,"$1")}var t=/(?:\.0*|(\.\d*[1-9])0+)[Ee]/;var a=/(E[+-])(\d)$/;function n(e){if(e.indexOf("E")==-1)return e;return e.replace(t,"$1E").replace(a,"$10$2")}function i(e){var t=e<0?12:11;var a=r(e.toFixed(12));if(a.length<=t)return a;a=e.toPrecision(10);if(a.length<=t)return a;return e.toExponential(5)}function s(e){var t=r(e.toFixed(11));return t.length>(e<0?12:11)||t==="0"||t==="-0"?e.toPrecision(6):t}function o(e){var t=Math.floor(Math.log(Math.abs(e))*Math.LOG10E),a;if(t>=-4&&t<=-1)a=e.toPrecision(10+t);else if(Math.abs(t)<=9)a=i(e);else if(t===10)a=e.toFixed(10).substr(0,12);else a=s(e);return r(n(a.toUpperCase()))}return o}();e._general_num=C;function A(e,r){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(e|0)===e?e.toString(10):C(e);case"undefined":return"";case"object":if(e==null)return"";if(e instanceof Date)return U(14,S(e,r&&r.date1904),r);}throw new Error("unsupported value in General format: "+e)}e._general=A;function E(e,r){r[0]-=581;var t=e.getDay();if(e<60)t=(t+6)%7;return t}function F(e,r,t,n){var i="",s=0,o=0,l=t.y,c,f=0;switch(e){case 98:l=t.y+543;case 121:switch(r.length){case 1:;case 2:c=l%100;f=2;break;default:c=l%1e4;f=4;break;}break;case 109:switch(r.length){case 1:;case 2:c=t.m;f=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:c=t.d;f=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:c=1+(t.H+11)%12;f=r.length;break;default:throw"bad hour format: "+r;}break;case 72:switch(r.length){case 1:;case 2:c=t.H;f=r.length;break;default:throw"bad hour format: "+r;}break;case 77:switch(r.length){case 1:;case 2:c=t.M;f=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)o=n===3?1e3:100;else o=n===1?10:1;s=Math.round(o*(t.S+t.u));if(s>=60*o)s=0;if(r==="s")return s===0?"0":""+s/o;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]":c=t.D*24+t.H;break;case"[m]":;case"[mm]":c=(t.D*24+t.H)*60+t.M;break;case"[s]":;case"[ss]":c=((t.D*24+t.H)*60+t.M)*60+Math.round(t.S+t.u);break;default:throw"bad abstime format: "+r;}f=r.length===3?1:2;break;case 101:c=l;f=1;break;}var d=f>0?a(c,f):"";return d}function T(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 O=function j(){var e=/%/g;function s(r,a,n){var i=a.replace(e,""),s=a.length-i.length;return O(r,i,n*Math.pow(10,2*s))+t("%",s)}function o(e,r,t){var a=r.length-1;while(r.charCodeAt(a-1)===44)--a;return O(e,r.substr(0,a),t/Math.pow(10,3*(r.length-a)))}function l(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"-"+l(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 f=/# (\?+)( ?)\/( ?)(\d+)/;function u(e,r,i){var s=parseInt(e[4],10),o=Math.round(r*s),l=Math.floor(o/s);var c=o-l*s,f=s;return i+(l===0?"":""+l)+" "+(c===0?t(" ",e[1].length+1+e[4].length):n(c,e[1].length)+e[2]+"/"+e[3]+a(f,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 p=/\).*[0#]/;var v=/\(###\) ###\\?-####/;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 w(e,r){var t=e-Math.floor(e),a=Math.pow(10,r);if(r<(""+Math.round(t*a)).length)return 0;return Math.round(t*a)}function y(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 x(e,h,S){if(e.charCodeAt(0)===40&&!h.match(p)){var _=h.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");if(S>=0)return x("n",_,S);return"("+x("n",_,-S)+")"}if(h.charCodeAt(h.length-1)===44)return o(e,h,S);if(h.indexOf("%")!==-1)return s(e,h,S);if(h.indexOf("E")!==-1)return l(h,S);if(h.charCodeAt(0)===36)return"$"+x(e,h.substr(h.charAt(1)==" "?2:1),S);var C;var A,E,F,D=Math.abs(S),M=S<0?"-":"";if(h.match(/^00+$/))return M+c(D,h.length);if(h.match(/^[#?]+$/)){C=c(S,0);if(C==="0")C="";return C.length>h.length?C:m(h.substr(0,h.length-C.length))+C}if(A=h.match(f))return u(A,D,M);if(h.match(/^#+0+$/))return M+c(D,h.length-h.indexOf("0"));if(A=h.match(d)){C=g(S,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?C:C.replace(/^0\./,".")}h=h.replace(/^#+([0.])/,"$1");if(A=h.match(/^(0*)\.(#*)$/)){return M+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 M+T(c(D,0));if(A=h.match(/^#,##0\.([#0]*0)$/)){return S<0?"-"+x(e,h,-S):T(""+(Math.floor(S)+y(S,A[1].length)))+"."+a(w(S,A[1].length),A[1].length)}if(A=h.match(/^#,#*,#0/))return x(e,h.replace(/^#,#*,/,""),S);if(A=h.match(/^([0#]+)(\\?-([0#]+))+$/)){C=r(x(e,h.replace(/[\\-]/g,""),S));E=0;return r(r(h.replace(/\\/g,"")).replace(/[0#]/g,function(e){return E<C.length?C.charAt(E++):e==="0"?"0":""}))}if(h.match(v)){C=x(e,"##########",S);return"("+C.substr(0,3)+") "+C.substr(3,3)+"-"+C.substr(6)}var N="";if(A=h.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/)){E=Math.min(A[4].length,7);F=b(D,Math.pow(10,E)-1,false);C=""+M;N=O("n",A[1],F[1]);if(N.charAt(N.length-1)==" ")N=N.substr(0,N.length-1)+"0";C+=N+A[2]+"/"+A[3];N=i(F[2],E);if(N.length<A[4].length)N=m(A[4].substr(A[4].length-N.length))+N;C+=N;return C}if(A=h.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/)){E=Math.min(Math.max(A[1].length,A[4].length),7);F=b(D,Math.pow(10,E)-1,true);return M+(F[0]||(F[1]?"":"0"))+" "+(F[1]?n(F[1],E)+A[2]+"/"+A[3]+i(F[2],E):t(" ",2*E+1+A[2].length+A[3].length))}if(A=h.match(/^[#0?]+$/)){C=c(S,0);if(h.length<=C.length)return C;return m(h.substr(0,h.length-C.length))+C}if(A=h.match(/^([#0?]+)\.([#0]+)$/)){C=""+S.toFixed(Math.min(A[2].length,10)).replace(/([^0])0+$/,"$1");E=C.indexOf(".");var P=h.indexOf(".")-E,R=h.length-C.length-P;return m(h.substr(0,P)+C+h.substr(h.length-R))}if(A=h.match(/^00,000\.([#0]*0)$/)){E=w(S,A[1].length);return S<0?"-"+x(e,h,-S):T(k(S)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(e){return"00,"+(e.length<3?a(0,3-e.length):"")+e})+"."+a(E,A[1].length)}switch(h){case"###,##0.00":return x(e,"#,##0.00",S);case"###,###":;case"##,###":;case"#,###":var I=T(c(D,0));return I!=="0"?M+I:"";case"###,###.00":return x(e,"###,##0.00",S).replace(/^0\./,".");case"#,###.00":return x(e,"#,##0.00",S).replace(/^0\./,".");default:;}throw new Error("unsupported format |"+h+"|")}function S(e,r,t){var a=r.length-1;while(r.charCodeAt(a-1)===44)--a;return O(e,r.substr(0,a),t/Math.pow(10,3*(r.length-a)))}function _(r,a,n){var i=a.replace(e,""),s=a.length-i.length;return O(r,i,n*Math.pow(10,2*s))+t("%",s)}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.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,o){if(e.charCodeAt(0)===40&&!s.match(p)){var l=s.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");if(o>=0)return A("n",l,o);return"("+A("n",l,-o)+")"}if(s.charCodeAt(s.length-1)===44)return S(e,s,o);if(s.indexOf("%")!==-1)return _(e,s,o);if(s.indexOf("E")!==-1)return C(s,o);if(s.charCodeAt(0)===36)return"$"+A(e,s.substr(s.charAt(1)==" "?2:1),o);var c;var u,g,w,y=Math.abs(o),k=o<0?"-":"";if(s.match(/^00+$/))return k+a(y,s.length);if(s.match(/^[#?]+$/)){c=""+o;if(o===0)c="";return c.length>s.length?c:m(s.substr(0,s.length-c.length))+c}if(u=s.match(f))return h(u,y,k);if(s.match(/^#+0+$/))return k+a(y,s.length-s.indexOf("0"));if(u=s.match(d)){c=(""+o).replace(/^([^\.]+)$/,"$1."+m(u[1])).replace(/\.$/,"."+m(u[1]));c=c.replace(/\.(\d*)$/,function(e,r){return"."+r+t("0",m(u[1]).length-r.length)});return s.indexOf("0.")!==-1?c:c.replace(/^0\./,".")}s=s.replace(/^#+([0.])/,"$1");if(u=s.match(/^(0*)\.(#*)$/)){return k+(""+y).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,u[1].length?"0.":".")}if(u=s.match(/^#{1,3},##0(\.?)$/))return k+T(""+y);if(u=s.match(/^#,##0\.([#0]*0)$/)){return o<0?"-"+A(e,s,-o):T(""+o)+"."+t("0",u[1].length)}if(u=s.match(/^#,#*,#0/))return A(e,s.replace(/^#,#*,/,""),o);if(u=s.match(/^([0#]+)(\\?-([0#]+))+$/)){c=r(A(e,s.replace(/[\\-]/g,""),o));g=0;return r(r(s.replace(/\\/g,"")).replace(/[0#]/g,function(e){return g<c.length?c.charAt(g++):e==="0"?"0":""}))}if(s.match(v)){c=A(e,"##########",o);return"("+c.substr(0,3)+") "+c.substr(3,3)+"-"+c.substr(6)}var x="";if(u=s.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/)){g=Math.min(u[4].length,7);w=b(y,Math.pow(10,g)-1,false);c=""+k;x=O("n",u[1],w[1]);if(x.charAt(x.length-1)==" ")x=x.substr(0,x.length-1)+"0";c+=x+u[2]+"/"+u[3];x=i(w[2],g);if(x.length<u[4].length)x=m(u[4].substr(u[4].length-x.length))+x;c+=x;return c}if(u=s.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/)){g=Math.min(Math.max(u[1].length,u[4].length),7);w=b(y,Math.pow(10,g)-1,true);return k+(w[0]||(w[1]?"":"0"))+" "+(w[1]?n(w[1],g)+u[2]+"/"+u[3]+i(w[2],g):t(" ",2*g+1+u[2].length+u[3].length))}if(u=s.match(/^[#0?]+$/)){c=""+o;if(s.length<=c.length)return c;return m(s.substr(0,s.length-c.length))+c}if(u=s.match(/^([#0]+)\.([#0]+)$/)){c=""+o.toFixed(Math.min(u[2].length,10)).replace(/([^0])0+$/,"$1");g=c.indexOf(".");var E=s.indexOf(".")-g,F=s.length-c.length-E;return m(s.substr(0,E)+c+s.substr(s.length-F))}if(u=s.match(/^00,000\.([#0]*0)$/)){return o<0?"-"+A(e,s,-o):T(""+o).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=T(""+y);return D!=="0"?k+D:"";default:if(s.match(/\.[0#?]*$/))return A(e,s.slice(0,s.lastIndexOf(".")),o)+m(s.slice(s.lastIndexOf(".")));}throw new Error("unsupported format |"+s+"|")}return function E(e,r,t){return(t|0)===t?A(e,r,t):x(e,r,t)}}();function D(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=D;var M=/\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;function N(e){var r=0,t="",a="";while(r<e.length){switch(t=e.charAt(r)){case"G":if(f(e,r))r+=6;r++;break;case'"':for(;e.charCodeAt(++r)!==34&&r<e.length;){}++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":;case"上":if(e.substr(r,3).toUpperCase()==="A/P")return true;if(e.substr(r,5).toUpperCase()==="AM/PM")return true;if(e.substr(r,5).toUpperCase()==="上午/下午")return true;++r;break;case"[":a=t;while(e.charAt(r++)!=="]"&&r<e.length)a+=e.charAt(r);if(a.match(M))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=N;function P(e,r,t,a){var n=[],i="",s=0,o="",l="t",c,u,h;var d="H";while(s<e.length){switch(o=e.charAt(s)){case"G":if(!f(e,s))throw new Error("unrecognized character "+o+" 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 p=e.charAt(++s),v=p==="("||p===")"?p:"t";n[n.length]={t:v,v:p};++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(c==null){c=w(r,t,e.charAt(s+1)==="2");if(c==null)return""}n[n.length]={t:"X",v:e.substr(s,2)};l=o;s+=2;break};case"M":;case"D":;case"Y":;case"H":;case"S":;case"E":o=o.toLowerCase();case"m":;case"d":;case"y":;case"h":;case"s":;case"e":;case"g":if(r<0)return"";if(c==null){c=w(r,t);if(c==null)return""}i=o;while(++s<e.length&&e.charAt(s).toLowerCase()===o)i+=o;if(o==="m"&&l.toLowerCase()==="h")o="M";if(o==="h")o=d;n[n.length]={t:o,v:i};l=o;break;case"A":;case"a":;case"上":var m={t:o,v:o};if(c==null)c=w(r,t);if(e.substr(s,3).toUpperCase()==="A/P"){if(c!=null)m.v=c.H>=12?"P":"A";m.t="T";d="h";s+=3}else if(e.substr(s,5).toUpperCase()==="AM/PM"){if(c!=null)m.v=c.H>=12?"PM":"AM";m.t="T";s+=5;d="h"}else if(e.substr(s,5).toUpperCase()==="上午/下午"){if(c!=null)m.v=c.H>=12?"下午":"上午";m.t="T";s+=5;d="h"}else{m.t="t";++s}if(c==null&&m.t==="T")return"";n[n.length]=m;l=o;break;case"[":i=o;while(e.charAt(s++)!=="]"&&s<e.length)i+=e.charAt(s);if(i.slice(-1)!=="]")throw'unterminated "[" block: |'+i+"|";if(i.match(M)){if(c==null){c=w(r,t);if(c==null)return""}n[n.length]={t:"Z",v:i.toLowerCase()};l=i.charAt(1)}else if(i.indexOf("$")>-1){i=(i.match(/\$([^-\[\]]*)/)||[])[1]||"$";if(!N(e))n[n.length]={t:"t",v:i}}break;case".":if(c!=null){i=o;while(++s<e.length&&(o=e.charAt(s))==="0")i+=o;n[n.length]={t:"s",v:i};break};case"0":;case"#":i=o;while(++s<e.length&&"0#?.,E+-%".indexOf(o=e.charAt(s))>-1)i+=o;n[n.length]={t:"n",v:i};break;case"?":i=o;while(e.charAt(++s)===o)i+=o;n[n.length]={t:o,v:i};l=o;break;case"*":++s;if(e.charAt(s)==" "||e.charAt(s)=="*")++s;break;case"(":;case")":n[n.length]={t:a===1?"t":o,v:o};++s;break;case"1":;case"2":;case"3":;case"4":;case"5":;case"6":;case"7":;case"8":;case"9":i=o;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:o,v:o};++s;break;case"$":n[n.length]={t:"t",v:"$"};++s;break;default:if(",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP".indexOf(o)===-1)throw new Error("unrecognized character "+o+" in "+e);n[n.length]={t:"t",v:o};++s;break;}}var g=0,b=0,y;for(s=n.length-1,l="t";s>=0;--s){switch(n[s].t){case"h":;case"H":n[s].t=d;l="h";if(g<1)g=1;break;case"s":if(y=n[s].v.match(/\.0+$/))b=Math.max(b,y[0].length-1);if(g<3)g=3;case"d":;case"y":;case"M":;case"e":l=n[s].t;break;case"m":if(l==="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(c.u>=.5){c.u=0;++c.S}if(c.S>=60){c.S=0;++c.M}if(c.M>=60){c.M=0;++c.H}break;case 2:if(c.u>=.5){c.u=0;++c.S}if(c.S>=60){c.S=0;++c.M}break;}var k="",x;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=F(n[s].t.charCodeAt(0),n[s].v,c,b);n[s].t="t";break;case"n":;case"?":x=s+1;while(n[x]!=null&&((o=n[x].t)==="?"||o==="D"||(o===" "||o==="t")&&n[x+1]!=null&&(n[x+1].t==="?"||n[x+1].t==="t"&&n[x+1].v==="/")||n[s].t==="("&&(o===" "||o==="n"||o===")")||o==="t"&&(n[x].v==="/"||n[x].v===" "&&n[x+1]!=null&&n[x+1].t=="?"))){n[s].v+=n[x].v;n[x]={v:"",t:";"};++x}k+=n[s].v;s=x-1;break;case"G":n[s].t="t";n[s].v=A(r,t);break;}}var S="",_,C;if(k.length>0){if(k.charCodeAt(0)==40){_=r<0&&k.charCodeAt(0)===45?-r:r;C=O("n",k,_)}else{_=r<0&&a>1?-r:r;C=O("n",k,_);if(_<0&&n[0]&&n[0].t=="t"){C=C.substr(1);n[0].v="-"+n[0].v}}x=C.length-1;var E=n.length;for(s=0;s<n.length;++s)if(n[s]!=null&&n[s].t!="t"&&n[s].v.indexOf(".")>-1){E=s;break}var T=n.length;if(E===n.length&&C.indexOf("E")===-1){for(s=n.length-1;s>=0;--s){if(n[s]==null||"n?".indexOf(n[s].t)===-1)continue;if(x>=n[s].v.length-1){x-=n[s].v.length;n[s].v=C.substr(x+1,n[s].v.length)}else if(x<0)n[s].v="";else{n[s].v=C.substr(0,x+1);x=-1}n[s].t="t";T=s}if(x>=0&&T<n.length)n[T].v=C.substr(0,x+1)+n[T].v}else if(E!==n.length&&C.indexOf("E")===-1){x=C.indexOf(".")-1;for(s=E;s>=0;--s){if(n[s]==null||"n?".indexOf(n[s].t)===-1)continue;u=n[s].v.indexOf(".")>-1&&s===E?n[s].v.indexOf(".")-1:n[s].v.length-1;S=n[s].v.substr(u+1);for(;u>=0;--u){if(x>=0&&(n[s].v.charAt(u)==="0"||n[s].v.charAt(u)==="#"))S=C.charAt(x--)+S}n[s].v=S;n[s].t="t";T=s}if(x>=0&&T<n.length)n[T].v=C.substr(0,x+1)+n[T].v;x=C.indexOf(".")+1;for(s=E;s<n.length;++s){if(n[s]==null||"n?(".indexOf(n[s].t)===-1&&s!==E)continue;u=n[s].v.indexOf(".")>-1&&s===E?n[s].v.indexOf(".")+1:0;S=n[s].v.substr(0,u);for(;u<n[s].v.length;++u){if(x<C.length)S+=C.charAt(x++)}n[s].v=S;n[s].t="t";T=s}}}for(s=0;s<n.length;++s)if(n[s]!=null&&"n?".indexOf(n[s].t)>-1){_=a>1&&r<0&&s>0&&n[s-1].v==="-"?-r:r;n[s].v=O(n[s].t,n[s].v,_);n[s].t="t"}var D="";for(s=0;s!==n.length;++s)if(n[s]!=null)D+=n[s].v;return D}e._eval=P;var R=/\[[=<>]/;var I=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function L(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 B(e,r){var t=D(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(R)!=null||t[1].match(R)!=null){var s=t[0].match(I);var o=t[1].match(I);return L(r,s)?[a,t[0]]:L(r,o)?[a,t[1]]:[a,t[s!=null&&o!=null?2:1]]}return[a,i]}function U(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:p)[e];if(a==null)a=t.table&&t.table[v[e]]||p[v[e]];if(a==null)a=g[e]||"General";break;}if(f(a,0))return A(r,t);if(r instanceof Date)r=S(r,t.date1904);var n=B(a,r);if(f(n[1]))return A(r,t);if(r===true)r="TRUE";else if(r===false)r="FALSE";else if(r===""||r==null)return"";return P(n[1],r,t,n[0])}function z(e,r){if(typeof r!="number"){r=+r||-1;for(var t=0;t<392;++t){if(p[t]==undefined){if(r<0)r=t;continue}if(p[t]==e){r=t;break}}if(r<0)r=391}p[r]=e;return r}e.load=z;e._table=p;e.get_table=function $(){return p};e.load_table=function H(e){for(var r=0;r!=392;++r)if(e[r]!==undefined)z(e[r],r)};e.init_table=d;e.format=U};R(P);var I={"General Number":"General","General Date":P._table[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":P._table[15],"Short Date":P._table[14],"Long Time":P._table[19],"Medium Time":P._table[18],"Short Time":P._table[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:P._table[2],Standard:P._table[4],Percent:P._table[10],Scientific:P._table[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'};var L={5:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',23:"General",24:"General",25:"General",26:"General",27:"m/d/yy",28:"m/d/yy",29:"m/d/yy",30:"m/d/yy",31:"m/d/yy",32:"h:mm:ss",33:"h:mm:ss",34:"h:mm:ss",35:"h:mm:ss",36:"m/d/yy",41:'_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* (#,##0);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)',50:"m/d/yy",51:"m/d/yy",52:"m/d/yy",53:"m/d/yy",54:"m/d/yy",55:"m/d/yy",56:"m/d/yy",57:"m/d/yy",58:"m/d/yy",59:"0",60:"0.00",61:"#,##0",62:"#,##0.00",63:'"$"#,##0_);\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',67:"0%",68:"0.00%",69:"# ?/?",70:"# ??/??",71:"m/d/yy",72:"m/d/yy",73:"d-mmm-yy",74:"d-mmm",75:"mmm-yy",76:"h:mm",77:"h:mm:ss",78:"m/d/yy h:mm",79:"mm:ss",80:"[h]:mm:ss",81:"mmss.0"};var B=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;function U(e){var r=typeof e=="number"?P._table[e]:e;r=r.replace(B,"(\\d+)");return new RegExp("^"+r+"$")}function z(e,r,t){var a=-1,n=-1,i=-1,s=-1,o=-1,l=-1;(r.match(B)||[]).forEach(function(e,r){var c=parseInt(t[r+1],10);switch(e.toLowerCase().charAt(0)){case"y":a=c;break;case"d":i=c;break;case"h":s=c;break;case"s":l=c;break;case"m":if(s>=0)o=c;else n=c;break;}});if(l>=0&&o==-1&&n>=0){o=n;n=-1}var c=(""+(a>=0?a:(new Date).getFullYear())).slice(-4)+"-"+("00"+(n>=1?n:1)).slice(-2)+"-"+("00"+(i>=1?i:1)).slice(-2);if(c.length==7)c="0"+c;if(c.length==8)c="20"+c;var f=("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(o>=0?o:0)).slice(-2)+":"+("00"+(l>=0?l:0)).slice(-2);if(s==-1&&o==-1&&l==-1)return c;if(a==-1&&n==-1&&i==-1)return f;return c+"T"+f}var W=true;var j;(function(e){e(j={})})(function(e){e.version="1.2.0";function r(){var e=0,r=new Array(256);for(var t=0;t!=256;++t){e=t;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;r[t]=e}return typeof Int32Array!=="undefined"?new Int32Array(r):r}var t=r();function a(e){var r=0,t=0,a=0,n=typeof Int32Array!=="undefined"?new Int32Array(4096):new Array(4096);for(a=0;a!=256;++a)n[a]=e[a];for(a=0;a!=256;++a){t=e[a];for(r=256+a;r<4096;r+=256)t=n[r]=t>>>8^e[t&255];
}var i=[];for(a=1;a!=16;++a)i[a-1]=typeof Int32Array!=="undefined"?n.subarray(a*256,a*256+256):n.slice(a*256,a*256+256);return i}var n=a(t);var i=n[0],s=n[1],o=n[2],l=n[3],c=n[4];var f=n[5],u=n[6],h=n[7],d=n[8],p=n[9];var v=n[10],m=n[11],g=n[12],b=n[13],w=n[14];function y(e,r){var a=r^-1;for(var n=0,i=e.length;n<i;)a=a>>>8^t[(a^e.charCodeAt(n++))&255];return~a}function k(e,r){var a=r^-1,n=e.length-15,y=0;for(;y<n;)a=w[e[y++]^a&255]^b[e[y++]^a>>8&255]^g[e[y++]^a>>16&255]^m[e[y++]^a>>>24]^v[e[y++]]^p[e[y++]]^d[e[y++]]^h[e[y++]]^u[e[y++]]^f[e[y++]]^c[e[y++]]^l[e[y++]]^o[e[y++]]^s[e[y++]]^i[e[y++]]^t[e[y++]];n+=15;while(y<n)a=a>>>8^t[(a^e[y++])&255];return~a}function x(e,r){var a=r^-1;for(var n=0,i=e.length,s=0,o=0;n<i;){s=e.charCodeAt(n++);if(s<128){a=a>>>8^t[(a^s)&255]}else if(s<2048){a=a>>>8^t[(a^(192|s>>6&31))&255];a=a>>>8^t[(a^(128|s&63))&255]}else if(s>=55296&&s<57344){s=(s&1023)+64;o=e.charCodeAt(n++)&1023;a=a>>>8^t[(a^(240|s>>8&7))&255];a=a>>>8^t[(a^(128|s>>2&63))&255];a=a>>>8^t[(a^(128|o>>6&15|(s&3)<<4))&255];a=a>>>8^t[(a^(128|o&63))&255]}else{a=a>>>8^t[(a^(224|s>>12&15))&255];a=a>>>8^t[(a^(128|s>>6&63))&255];a=a>>>8^t[(a^(128|s&63))&255]}}return~a}e.table=t;e.bstr=y;e.buf=k;e.str=x});var H=function sl(){var e={};e.version="1.2.1";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)}function n(e,r){if(typeof r==="string")r=new Date(r);var t=r.getHours();t=t<<6|r.getMinutes();t=t<<5|r.getSeconds()>>>1;e._W(2,t);var a=r.getFullYear()-1980;a=a<<4|r.getMonth()+1;a=a<<5|r.getDate();e._W(2,a)}function i(e){var r=e._R(2)&65535;var t=e._R(2)&65535;var a=new Date;var n=t&31;t>>>=5;var i=t&15;t>>>=4;a.setMilliseconds(0);a.setFullYear(t+1980);a.setMonth(i-1);a.setDate(n);var s=r&31;r>>>=5;var o=r&63;r>>>=6;a.setHours(r);a.setMinutes(o);a.setSeconds(s<<1);return a}function s(e){Zr(e,0);var r={};var t=0;while(e.l<=e.length-4){var a=e._R(2);var n=e._R(2),i=e.l+n;var s={};switch(a){case 21589:{t=e._R(1);if(t&1)s.mtime=e._R(4);if(n>5){if(t&2)s.atime=e._R(4);if(t&4)s.ctime=e._R(4)}if(s.mtime)s.mt=new Date(s.mtime*1e3)}break;}e.l=i;r[a]=s}return r}var o;function l(){return o||(o=require("fs"))}function c(e,r){if(e[0]==80&&e[1]==75)return Me(e,r);if((e[0]|32)==109&&(e[1]|32)==105)return We(e,r);if(e.length<512)throw new Error("CFB file size "+e.length+" < 512");var t=3;var a=512;var n=0;var i=0;var s=0;var o=0;var l=0;var c=[];var p=e.slice(0,512);Zr(p,0);var m=f(p);t=m[0];switch(t){case 3:a=512;break;case 4:a=4096;break;case 0:if(m[1]==0)return Me(e,r);default:throw new Error("Major Version: Expected 3 or 4 saw "+t);}if(a!==512){p=e.slice(0,a);Zr(p,28)}var b=e.slice(0,a);u(p,t);var w=p._R(4,"i");if(t===3&&w!==0)throw new Error("# Directory Sectors: Expected 0 saw "+w);p.l+=4;s=p._R(4,"i");p.l+=4;p.chk("00100000","Mini Stream Cutoff Size: ");o=p._R(4,"i");n=p._R(4,"i");l=p._R(4,"i");i=p._R(4,"i");for(var y=-1,x=0;x<109;++x){y=p._R(4,"i");if(y<0)break;c[x]=y}var S=h(e,a);v(l,i,S,a,c);var _=g(S,s,c,a);_[s].name="!Directory";if(n>0&&o!==L)_[o].name="!MiniFAT";_[c[0]].name="!FAT";_.fat_addrs=c;_.ssz=a;var C={},A=[],E=[],F=[];k(s,_,S,A,n,C,E,o);d(E,F,A);A.shift();var T={FileIndex:E,FullPaths:F};if(r&&r.raw)T.raw={header:b,sectors:S};return T}function f(e){if(e[e.l]==80&&e[e.l+1]==75)return[0,0];e.chk(B,"Header Signature: ");e.l+=16;var r=e._R(2,"u");return[e._R(2,"u"),r]}function u(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 h(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 d(e,r,t){var a=0,n=0,i=0,s=0,o=0,l=t.length;var c=[],f=[];for(;a<l;++a){c[a]=f[a]=a;r[a]=t[a]}for(;o<f.length;++o){a=f[o];n=e[a].L;i=e[a].R;s=e[a].C;if(c[a]===a){if(n!==-1&&c[n]!==n)c[a]=c[n];if(i!==-1&&c[i]!==i)c[a]=c[i]}if(s!==-1)c[s]=a;if(n!==-1&&a!=c[a]){c[n]=c[a];if(f.lastIndexOf(n)<o)f.push(n)}if(i!==-1&&a!=c[a]){c[i]=c[a];if(f.lastIndexOf(i)<o)f.push(i)}}for(a=1;a<l;++a)if(c[a]===a){if(i!==-1&&c[i]!==i)c[a]=c[i];else if(n!==-1&&c[n]!==n)c[a]=c[n]}for(a=1;a<l;++a){if(e[a].type===0)continue;o=a;if(o!=c[o])do{o=c[o];r[a]=r[o]+"/"+r[a]}while(o!==0&&-1!==c[o]&&o!=c[o]);c[a]=-1}r[0]+="/";for(a=1;a<l;++a){if(e[a].type!==2)r[a]+="/"}}function p(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*I,s*I+I));n-=I;s=Hr(t,s*4)}if(i.length===0)return et(0);return D(i).slice(0,e.size)}function v(e,r,t,a,n){var i=L;if(e===L){if(r!==0)throw new Error("DIFAT chain shorter than expected")}else if(e!==-1){var s=t[e],o=(a>>>2)-1;if(!s)return;for(var l=0;l<o;++l){if((i=Hr(s,l*4))===L)break;n.push(i)}v(Hr(s,a-4),r-1,t,a,n)}}function m(e,r,t,a,n){var i=[],s=[];if(!n)n=[];var o=a-1,l=0,c=0;for(l=r;l>=0;){n[l]=true;i[i.length]=l;s.push(e[l]);var f=t[Math.floor(l*4/a)];c=l*4&o;if(a<4+c)throw new Error("FAT boundary crossed: "+l+" 4 "+a);if(!e[f])break;l=Hr(e[f],c)}return{nodes:i,data:br([s])}}function g(e,r,t,a){var n=e.length,i=[];var s=[],o=[],l=[];var c=a-1,f=0,u=0,h=0,d=0;for(f=0;f<n;++f){o=[];h=f+r;if(h>=n)h-=n;if(s[h])continue;l=[];var p=[];for(u=h;u>=0;){p[u]=true;s[u]=true;o[o.length]=u;l.push(e[u]);var v=t[Math.floor(u*4/a)];d=u*4&c;if(a<4+d)throw new Error("FAT boundary crossed: "+u+" 4 "+a);if(!e[v])break;u=Hr(e[v],d);if(p[u])break}i[h]={nodes:o,data:br([l])}}return i}function k(e,r,t,a,n,i,s,o){var l=0,c=a.length?2:0;var f=r[e].data;var u=0,h=0,d;for(;u<f.length;u+=128){var v=f.slice(u,u+128);Zr(v,64);h=v._R(2);d=yr(v,0,h-c);a.push(d);var g={name:d,type:v._R(1),color:v._R(1),L:v._R(4,"i"),R:v._R(4,"i"),C:v._R(4,"i"),clsid:v._R(16),state:v._R(4,"i"),start:0,size:0};var b=v._R(2)+v._R(2)+v._R(2)+v._R(2);if(b!==0)g.ct=x(v,v.l-8);var w=v._R(2)+v._R(2)+v._R(2)+v._R(2);if(w!==0)g.mt=x(v,v.l-8);g.start=v._R(4,"i");g.size=v._R(4,"i");if(g.size<0&&g.start<0){g.size=g.type=0;g.start=L;g.name=""}if(g.type===5){l=g.start;if(n>0&&l!==L)r[l].name="!StreamData"}else if(g.size>=4096){g.storage="fat";if(r[g.start]===undefined)r[g.start]=m(t,g.start,r.fat_addrs,r.ssz);r[g.start].name=g.name;g.content=r[g.start].data.slice(0,g.size)}else{g.storage="minifat";if(g.size<0)g.size=0;else if(l!==L&&g.start!==L&&r[l]){g.content=p(g,r[l].data,(r[o]||{}).data)}}if(g.content)Zr(g.content,0);i[d]=g;s.push(g)}}function x(e,r){return new Date(($r(e,r+4)/1e7*Math.pow(2,32)+$r(e,r)/1e7-11644473600)*1e3)}function A(e,r){l();return c(o.readFileSync(e),r)}function E(e,r){var t=r&&r.type;if(!t){if(w&&Buffer.isBuffer(e))t="buffer"}switch(t||"base64"){case"file":return A(e,r);case"base64":return c(C(b.decode(e)),r);case"binary":return c(C(e),r);}return c(e,r)}function F(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;T(e)}function T(e){var r="Sh33tJ5";if(H.find(e,"/"+r))return;var t=et(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);O(e)}function O(e,n){F(e);var i=false,s=false;for(var o=e.FullPaths.length-1;o>=0;--o){var l=e.FileIndex[o];switch(l.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(l.R*l.L*l.C))i=true;if(l.R>-1&&l.L>-1&&l.R==l.L)i=true;break;default:i=true;break;}}if(!i&&!n)return;var c=new Date(1987,1,19),f=0;var u=Object.create?Object.create(null):{};var h=[];for(o=0;o<e.FullPaths.length;++o){u[e.FullPaths[o]]=true;if(e.FileIndex[o].type===0)continue;h.push([e.FullPaths[o],e.FileIndex[o]])}for(o=0;o<h.length;++o){var d=t(h[o][0]);s=u[d];if(!s){h.push([d,{name:a(d).replace("/",""),type:1,clsid:z,ct:c,mt:c,content:null}]);u[d]=true}}h.sort(function(e,t){return r(e[0],t[0])});e.FullPaths=[];e.FileIndex=[];for(o=0;o<h.length;++o){e.FullPaths[o]=h[o][0];e.FileIndex[o]=h[o][1]}for(o=0;o<h.length;++o){var p=e.FileIndex[o];var v=e.FullPaths[o];p.name=a(v).replace("/","");p.L=p.R=p.C=-(p.color=1);p.size=p.content?p.content.length:0;p.start=0;p.clsid=p.clsid||z;if(o===0){p.C=h.length>1?1:-1;p.size=0;p.type=5}else if(v.slice(-1)=="/"){for(f=o+1;f<h.length;++f)if(t(e.FullPaths[f])==v)break;p.C=f>=h.length?-1:f;for(f=o+1;f<h.length;++f)if(t(e.FullPaths[f])==t(v))break;p.R=f>=h.length?-1:f;p.type=1}else{if(t(e.FullPaths[o+1]||"")==t(v))p.R=o+1;p.type=2}}}function P(e,r){var t=r||{};if(t.fileType=="mad")return je(e,t);O(e);switch(t.fileType){case"zip":return Pe(e,t);}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 o=r+7>>3;var l=r+127>>7;var c=o+t+s+l;var f=c+127>>7;var u=f<=109?0:Math.ceil((f-109)/127);while(c+f+u+127>>7>f)u=++f<=109?0:Math.ceil((f-109)/127);var h=[1,u,f,l,s,t,r,0];e.FileIndex[0].size=r<<6;h[7]=(e.FileIndex[0].start=h[0]+h[1]+h[2]+h[3]+h[4]+h[5])+(h[6]+7>>3);return h}(e);var n=et(a[7]<<9);var i=0,s=0;{for(i=0;i<8;++i)n._W(1,U[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:L);n._W(4,a[3]);n._W(-4,a[1]?a[0]-1:L);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?L:s+1)}}var o=function(e){for(s+=e;i<s-1;++i)n._W(-4,i+1);if(e){++i;n._W(-4,L)}};s=i=0;for(s+=a[1];i<s;++i)n._W(-4,W.DIFSECT);for(s+=a[2];i<s;++i)n._W(-4,W.FATSECT);o(a[3]);o(a[4]);var l=0,c=0;var f=e.FileIndex[0];for(;l<e.FileIndex.length;++l){f=e.FileIndex[l];if(!f.content)continue;c=f.content.length;if(c<4096)continue;f.start=s;o(c+511>>9)}o(a[6]+7>>3);while(n.l&511)n._W(-4,W.ENDOFCHAIN);s=i=0;for(l=0;l<e.FileIndex.length;++l){f=e.FileIndex[l];if(!f.content)continue;c=f.content.length;if(!c||c>=4096)continue;f.start=s;o(c+63>>6)}while(n.l&511)n._W(-4,W.ENDOFCHAIN);for(i=0;i<a[4]<<2;++i){var u=e.FullPaths[i];if(!u||u.length===0){for(l=0;l<17;++l)n._W(4,0);for(l=0;l<3;++l)n._W(4,-1);for(l=0;l<12;++l)n._W(4,0);continue}f=e.FileIndex[i];if(i===0)f.start=f.size?f.start-1:L;var h=i===0&&t.root||f.name;c=2*(h.length+1);n._W(64,h,"utf16le");n._W(2,c);n._W(1,f.type);n._W(1,f.color);n._W(-4,f.L);n._W(-4,f.R);n._W(-4,f.C);if(!f.clsid)for(l=0;l<4;++l)n._W(4,0);else n._W(16,f.clsid,"hex");n._W(4,f.state||0);n._W(4,0);n._W(4,0);n._W(4,0);n._W(4,0);n._W(4,f.start);n._W(4,f.size);n._W(4,0)}for(i=1;i<e.FileIndex.length;++i){f=e.FileIndex[i];if(f.size>=4096){n.l=f.start+1<<9;if(w&&Buffer.isBuffer(f.content)){f.content.copy(n,n.l,0,f.size);n.l+=f.size+511&-512}else{for(l=0;l<f.size;++l)n._W(1,f.content[l]);for(;l&511;++l)n._W(1,0)}}}for(i=1;i<e.FileIndex.length;++i){f=e.FileIndex[i];if(f.size>0&&f.size<4096){if(w&&Buffer.isBuffer(f.content)){f.content.copy(n,n.l,0,f.size);n.l+=f.size+63&-64}else{for(l=0;l<f.size;++l)n._W(1,f.content[l]);for(;l&63;++l)n._W(1,0)}}}if(w){n.l=n.length}else{while(n.l<n.length)n._W(1,0)}return n}function R(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];var o=!i.match(N);i=i.replace(M,"");if(o)i=i.replace(N,"!");for(s=0;s<t.length;++s){if((o?t[s].replace(N,"!"):t[s]).replace(M,"")==i)return e.FileIndex[s];if((o?a[s].replace(N,"!"):a[s]).replace(M,"")==i)return e.FileIndex[s]}return null}var I=64;var L=-2;var B="d0cf11e0a1b11ae1";var U=[208,207,17,224,161,177,26,225];var z="00000000000000000000000000000000";var W={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:L,FREESECT:-1,HEADER_SIGNATURE:B,HEADER_MINOR_VERSION:"3e00",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:z,EntryTypes:["unknown","storage","stream","lockbytes","property","root"]};function $(e,r,t){l();var a=P(e,t);o.writeFileSync(r,a)}function V(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 X(e,r){var t=P(e,r);switch(r&&r.type||"buffer"){case"file":l();o.writeFileSync(r.filename,t);return t;case"binary":return typeof t=="string"?t:V(t);case"base64":return b.encode(typeof t=="string"?t:V(t));case"buffer":if(w)return Buffer.isBuffer(t)?t:y(t);case"array":return typeof t=="string"?C(t):t;}return t}var G;function Y(e){try{var r=e.InflateRaw;var t=new r;t._processChunk(new Uint8Array([3,0]),t._finishFlushFlag);if(t.bytesRead)G=e;else throw new Error("zlib does not expose bytesRead")}catch(a){console.error("cannot use native zlib: "+(a.message||a))}}function q(e,r){if(!G)return Oe(e,r);var t=G.InflateRaw;var a=new t;var n=a._processChunk(e.slice(e.l),a._finishFlushFlag);e.l+=a.bytesRead;return n}function J(e){return G?G.deflateRawSync(e):xe(e)}var K=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];var Z=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258];var Q=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577];function ee(e){var r=(e<<1|e<<11)&139536|(e<<5|e<<15)&558144;return(r>>16|r>>8|r)&255}var re=typeof Uint8Array!=="undefined";var te=re?new Uint8Array(1<<8):[];for(var ae=0;ae<1<<8;++ae)te[ae]=ee(ae);function ne(e,r){var t=te[e&255];if(r<=8)return t>>>8-r;t=t<<8|te[e>>8&255];if(r<=16)return t>>>16-r;t=t<<8|te[e>>16&255];return t>>>24-r}function ie(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=6?0:e[a+1]<<8))>>>t&3}function se(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=5?0:e[a+1]<<8))>>>t&7}function oe(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=4?0:e[a+1]<<8))>>>t&15}function le(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=3?0:e[a+1]<<8))>>>t&31}function ce(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=1?0:e[a+1]<<8))>>>t&127}function fe(e,r,t){var a=r&7,n=r>>>3,i=(1<<t)-1;var s=e[n]>>>a;if(t<8-a)return s&i;s|=e[n+1]<<8-a;if(t<16-a)return s&i;s|=e[n+2]<<16-a;if(t<24-a)return s&i;s|=e[n+3]<<24-a;return s&i}function ue(e,r,t){var a=r&7,n=r>>>3;if(a<=5)e[n]|=(t&7)<<a;else{e[n]|=t<<a&255;e[n+1]=(t&7)>>8-a}return r+3}function he(e,r,t){var a=r&7,n=r>>>3;t=(t&1)<<a;e[n]|=t;return r+1}function de(e,r,t){var a=r&7,n=r>>>3;t<<=a;e[n]|=t&255;t>>>=8;e[n+1]=t;return r+8}function pe(e,r,t){var a=r&7,n=r>>>3;t<<=a;e[n]|=t&255;t>>>=8;e[n+1]=t&255;e[n+2]=t>>>8;return r+16}function ve(e,r){var t=e.length,a=2*t>r?2*t:r+5,n=0;if(t>=r)return e;if(w){var i=_(a);if(e.copy)e.copy(i);else for(;n<e.length;++n)i[n]=e[n];return i}else if(re){var s=new Uint8Array(a);if(s.set)s.set(e);else for(;n<t;++n)s[n]=e[n];return s}e.length=a;return e}function me(e){var r=new Array(e);for(var t=0;t<e;++t)r[t]=0;return r}function ge(e,r,t){var a=1,n=0,i=0,s=0,o=0,l=e.length;var c=re?new Uint16Array(32):me(32);for(i=0;i<32;++i)c[i]=0;for(i=l;i<t;++i)e[i]=0;l=e.length;var f=re?new Uint16Array(l):me(l);for(i=0;i<l;++i){c[n=e[i]]++;if(a<n)a=n;f[i]=0}c[0]=0;for(i=1;i<=a;++i)c[i+16]=o=o+c[i-1]<<1;for(i=0;i<l;++i){o=e[i];if(o!=0)f[i]=c[o+16]++}var u=0;for(i=0;i<l;++i){u=e[i];if(u!=0){o=ne(f[i],a)>>a-u;for(s=(1<<a+4-u)-1;s>=0;--s)r[o|s<<u]=u&15|i<<4}}return a}var be=re?new Uint16Array(512):me(512);var we=re?new Uint16Array(32):me(32);if(!re){for(var ye=0;ye<512;++ye)be[ye]=0;for(ye=0;ye<32;++ye)we[ye]=0}(function(){var e=[];var r=0;for(;r<32;r++)e.push(5);ge(e,we,32);var t=[];r=0;for(;r<=143;r++)t.push(8);for(;r<=255;r++)t.push(9);for(;r<=279;r++)t.push(7);for(;r<=287;r++)t.push(8);ge(t,be,288)})();var ke=function Ye(){var e=re?new Uint8Array(32768):[];var r=0,t=0;for(;r<Q.length-1;++r){for(;t<Q[r+1];++t)e[t]=r}for(;t<32768;++t)e[t]=29;var a=re?new Uint8Array(259):[];for(r=0,t=0;r<Z.length-1;++r){for(;t<Z[r+1];++t)a[t]=r}function n(e,r){var t=0;while(t<e.length){var a=Math.min(65535,e.length-t);var n=t+a==e.length;r._W(1,+n);r._W(2,a);r._W(2,~a&65535);while(a-- >0)r[r.l++]=e[t++]}return r.l}function i(r,t){var n=0;var i=0;var s=re?new Uint16Array(32768):[];while(i<r.length){var o=Math.min(65535,r.length-i);if(o<10){n=ue(t,n,+!!(i+o==r.length));if(n&7)n+=8-(n&7);t.l=n/8|0;t._W(2,o);t._W(2,~o&65535);while(o-- >0)t[t.l++]=r[i++];n=t.l*8;continue}n=ue(t,n,+!!(i+o==r.length)+2);var l=0;while(o-- >0){var c=r[i];l=(l<<5^c)&32767;var f=-1,u=0;if(f=s[l]){f|=i&~32767;if(f>i)f-=32768;if(f<i)while(r[f+u]==r[i+u]&&u<250)++u}if(u>2){c=a[u];if(c<=22)n=de(t,n,te[c+1]>>1)-1;else{de(t,n,3);n+=5;de(t,n,te[c-23]>>5);n+=3}var h=c<8?0:c-4>>2;if(h>0){pe(t,n,u-Z[c]);n+=h}c=e[i-f];n=de(t,n,te[c]>>3);n-=3;var d=c<4?0:c-2>>1;if(d>0){pe(t,n,i-f-Q[c]);n+=d}for(var p=0;p<u;++p){s[l]=i&32767;l=(l<<5^r[i])&32767;++i}o-=u-1}else{if(c<=143)c=c+48;else n=he(t,n,1);n=de(t,n,te[c]);s[l]=i&32767;++i}}n=de(t,n,0)-1}t.l=(n+7)/8|0;return t.l}return function s(e,r){if(e.length<8)return n(e,r);return i(e,r)}}();function xe(e){var r=et(50+Math.floor(e.length*1.1));var t=ke(e,r);return r.slice(0,t)}var Se=re?new Uint16Array(32768):me(32768);var _e=re?new Uint16Array(32768):me(32768);var Ce=re?new Uint16Array(128):me(128);var Ae=1,Ee=1;function Fe(e,r){var t=le(e,r)+257;r+=5;var a=le(e,r)+1;r+=5;var n=oe(e,r)+4;r+=4;var i=0;var s=re?new Uint8Array(19):me(19);var o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];var l=1;var c=re?new Uint8Array(8):me(8);var f=re?new Uint8Array(8):me(8);var u=s.length;for(var h=0;h<n;++h){s[K[h]]=i=se(e,r);if(l<i)l=i;c[i]++;r+=3}var d=0;c[0]=0;for(h=1;h<=l;++h)f[h]=d=d+c[h-1]<<1;for(h=0;h<u;++h)if((d=s[h])!=0)o[h]=f[d]++;var p=0;for(h=0;h<u;++h){p=s[h];if(p!=0){d=te[o[h]]>>8-p;for(var v=(1<<7-p)-1;v>=0;--v)Ce[d|v<<p]=p&7|h<<3}}var m=[];l=1;for(;m.length<t+a;){d=Ce[ce(e,r)];r+=d&7;switch(d>>>=3){case 16:i=3+ie(e,r);r+=2;d=m[m.length-1];while(i-- >0)m.push(d);break;case 17:i=3+se(e,r);r+=3;while(i-- >0)m.push(0);break;case 18:i=11+ce(e,r);r+=7;while(i-- >0)m.push(0);break;default:m.push(d);if(l<d)l=d;break;}}var g=m.slice(0,t),b=m.slice(t);for(h=t;h<286;++h)g[h]=0;for(h=a;h<30;++h)b[h]=0;Ae=ge(g,Se,286);Ee=ge(b,_e,30);return r}function Te(e,r){if(e[0]==3&&!(e[1]&3)){return[S(r),2]}var t=0;var a=0;var n=_(r?r:1<<18);var i=0;var s=n.length>>>0;var o=0,l=0;while((a&1)==0){a=se(e,t);t+=3;if(a>>>1==0){if(t&7)t+=8-(t&7);var c=e[t>>>3]|e[(t>>>3)+1]<<8;t+=32;if(c>0){if(!r&&s<i+c){n=ve(n,i+c);s=n.length}while(c-- >0){n[i++]=e[t>>>3];t+=8}}continue}else if(a>>1==1){o=9;l=5}else{t=Fe(e,t);o=Ae;l=Ee}for(;;){if(!r&&s<i+32767){n=ve(n,i+32767);s=n.length}var f=fe(e,t,o);var u=a>>>1==1?be[f]:Se[f];t+=u&15;u>>>=4;if((u>>>8&255)===0)n[i++]=u;else if(u==256)break;else{u-=257;var h=u<8?0:u-4>>2;if(h>5)h=0;var d=i+Z[u];if(h>0){d+=fe(e,t,h);t+=h}f=fe(e,t,l);u=a>>>1==1?we[f]:_e[f];t+=u&15;u>>>=4;var p=u<4?0:u-2>>1;var v=Q[u];if(p>0){v+=fe(e,t,p);t+=p}if(!r&&s<d){n=ve(n,d+100);s=n.length}while(i<d){n[i]=n[i-v];++i}}}}if(r)return[n,t+7>>>3];return[n.slice(0,i),t+7>>>3]}function Oe(e,r){var t=e.slice(e.l||0);var a=Te(t,r);e.l+=a[1];return a[0]}function De(e,r){if(e){if(typeof console!=="undefined")console.error(r)}else throw new Error(r)}function Me(e,r){var t=e;Zr(t,0);var a=[],n=[];var i={FileIndex:a,FullPaths:n};F(i,{root:r.root});var o=t.length-4;while((t[o]!=80||t[o+1]!=75||t[o+2]!=5||t[o+3]!=6)&&o>=0)--o;t.l=o+4;t.l+=4;var l=t._R(2);t.l+=6;var c=t._R(4);t.l=c;for(o=0;o<l;++o){t.l+=20;var f=t._R(4);var u=t._R(4);var h=t._R(2);var d=t._R(2);var p=t._R(2);t.l+=8;var v=t._R(4);var m=s(t.slice(t.l+h,t.l+h+d));t.l+=h+d+p;var g=t.l;t.l=v+4;Ne(t,f,u,i,m);t.l=g}return i}function Ne(e,r,t,a,n){e.l+=2;var o=e._R(2);var l=e._R(2);var c=i(e);if(o&8257)throw new Error("Unsupported ZIP encryption");var f=e._R(4);var u=e._R(4);var h=e._R(4);var d=e._R(2);var p=e._R(2);var v="";for(var m=0;m<d;++m)v+=String.fromCharCode(e[e.l++]);if(p){var g=s(e.slice(e.l,e.l+p));if((g[21589]||{}).mt)c=g[21589].mt;if(((n||{})[21589]||{}).mt)c=n[21589].mt}e.l+=p;var b=e.slice(e.l,e.l+u);switch(l){case 8:b=q(e,h);break;case 0:break;default:throw new Error("Unsupported ZIP Compression method "+l);}var w=false;if(o&8){f=e._R(4);if(f==134695760){f=e._R(4);w=true}u=e._R(4);h=e._R(4)}if(u!=r)De(w,"Bad compressed size: "+r+" != "+u);if(h!=t)De(w,"Bad uncompressed size: "+t+" != "+h);He(a,v,b,{unsafe:true,mt:c})}function Pe(e,r){var t=r||{};var a=[],i=[];var s=et(1);var o=t.compression?8:0,l=0;var c=false;if(c)l|=8;var f=0,u=0;var h=0,d=0;var p=e.FullPaths[0],v=p,m=e.FileIndex[0];var g=[];var b=0;for(f=1;f<e.FullPaths.length;++f){v=e.FullPaths[f].slice(p.length);m=e.FileIndex[f];if(!m.size||!m.content||v=="Sh33tJ5")continue;var w=h;var y=et(v.length);for(u=0;u<v.length;++u)y._W(1,v.charCodeAt(u)&127);y=y.slice(0,y.l);g[d]=j.buf(m.content,0);var k=m.content;if(o==8)k=J(k);s=et(30);s._W(4,67324752);s._W(2,20);s._W(2,l);s._W(2,o);if(m.mt)n(s,m.mt);else s._W(4,0);s._W(-4,l&8?0:g[d]);s._W(4,l&8?0:k.length);s._W(4,l&8?0:m.content.length);s._W(2,y.length);s._W(2,0);h+=s.length;a.push(s);h+=y.length;a.push(y);h+=k.length;a.push(k);if(l&8){s=et(12);s._W(-4,g[d]);s._W(4,k.length);s._W(4,m.content.length);h+=s.l;a.push(s)}s=et(46);s._W(4,33639248);s._W(2,0);s._W(2,20);s._W(2,l);s._W(2,o);s._W(4,0);s._W(-4,g[d]);s._W(4,k.length);s._W(4,m.content.length);s._W(2,y.length);s._W(2,0);s._W(2,0);s._W(2,0);s._W(2,0);s._W(4,0);s._W(4,w);b+=s.l;i.push(s);b+=y.length;i.push(y);++d}s=et(22);s._W(4,101010256);s._W(2,0);s._W(2,0);s._W(2,d);s._W(2,d);s._W(4,b);s._W(4,h);s._W(2,0);return D([D(a),D(i),s])}var Re={htm:"text/html",xml:"text/xml",gif:"image/gif",jpg:"image/jpeg",png:"image/png",mso:"application/x-mso",thmx:"application/vnd.ms-officetheme",sh33tj5:"application/octet-stream"};function Ie(e,r){if(e.ctype)return e.ctype;var t=e.name||"",a=t.match(/\.([^\.]+)$/);if(a&&Re[a[1]])return Re[a[1]];if(r){a=(t=r).match(/[\.\\]([^\.\\])+$/);if(a&&Re[a[1]])return Re[a[1]]}return"application/octet-stream"}function Le(e){var r=b.encode(e);var t=[];for(var a=0;a<r.length;a+=76)t.push(r.slice(a,a+76));return t.join("\r\n")+"\r\n"}function Be(e){var r=e.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF=]/g,function(e){var r=e.charCodeAt(0).toString(16).toUpperCase();return"="+(r.length==1?"0"+r:r)});r=r.replace(/ $/gm,"=20").replace(/\t$/gm,"=09");if(r.charAt(0)=="\n")r="=0D"+r.slice(1);r=r.replace(/\r(?!\n)/gm,"=0D").replace(/\n\n/gm,"\n=0A").replace(/([^\r\n])\n/gm,"$1=0A");var t=[],a=r.split("\r\n");for(var n=0;n<a.length;++n){var i=a[n];if(i.length==0){t.push("");continue}for(var s=0;s<i.length;){var o=76;var l=i.slice(s,s+o);if(l.charAt(o-1)=="=")o--;else if(l.charAt(o-2)=="=")o-=2;else if(l.charAt(o-3)=="=")o-=3;l=i.slice(s,s+o);s+=o;if(s<i.length)l+="=";t.push(l)}}return t.join("\r\n")}function Ue(e){var r=[];for(var t=0;t<e.length;++t){var a=e[t];while(t<=e.length&&a.charAt(a.length-1)=="=")a=a.slice(0,a.length-1)+e[++t];r.push(a)}for(var n=0;n<r.length;++n)r[n]=r[n].replace(/[=][0-9A-Fa-f]{2}/g,function(e){return String.fromCharCode(parseInt(e.slice(1),16))});return C(r.join("\r\n"))}function ze(e,r,t){var a="",n="",i="",s;var o=0;for(;o<10;++o){var l=r[o];if(!l||l.match(/^\s*$/))break;var c=l.match(/^(.*?):\s*([^\s].*)$/);if(c)switch(c[1].toLowerCase()){case"content-location":a=c[2].trim();break;case"content-type":i=c[2].trim();break;case"content-transfer-encoding":n=c[2].trim();break;}}++o;switch(n.toLowerCase()){case"base64":s=C(b.decode(r.slice(o).join("")));break;case"quoted-printable":s=Ue(r.slice(o));break;default:throw new Error("Unsupported Content-Transfer-Encoding "+n);}var f=He(e,a.slice(t.length),s,{unsafe:true});if(i)f.ctype=i}function We(e,r){if(V(e.slice(0,13)).toLowerCase()!="mime-version:")throw new Error("Unsupported MAD header");var t=r&&r.root||"";var a=(w&&Buffer.isBuffer(e)?e.toString("binary"):V(e)).split("\r\n");var n=0,i="";for(n=0;n<a.length;++n){i=a[n];if(!/^Content-Location:/i.test(i))continue;i=i.slice(i.indexOf("file"));if(!t)t=i.slice(0,i.lastIndexOf("/")+1);if(i.slice(0,t.length)==t)continue;while(t.length>0){t=t.slice(0,t.length-1);t=t.slice(0,t.lastIndexOf("/")+1);if(i.slice(0,t.length)==t)break}}var s=(a[1]||"").match(/boundary="(.*?)"/);if(!s)throw new Error("MAD cannot find boundary");var o="--"+(s[1]||"");var l=[],c=[];var f={FileIndex:l,FullPaths:c};F(f);var u,h=0;for(n=0;n<a.length;++n){var d=a[n];if(d!==o&&d!==o+"--")continue;if(h++)ze(f,a.slice(u,n),t);u=n}return f}function je(e,r){var t=r||{};var a=t.boundary||"SheetJS";a="------="+a;var n=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+a.slice(2)+'"',"","",""];var i=e.FullPaths[0],s=i,o=e.FileIndex[0];for(var l=1;l<e.FullPaths.length;++l){s=e.FullPaths[l].slice(i.length);o=e.FileIndex[l];if(!o.size||!o.content||s=="Sh33tJ5")continue;s=s.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF]/g,function(e){return"_x"+e.charCodeAt(0).toString(16)+"_"}).replace(/[\u0080-\uFFFF]/g,function(e){return"_u"+e.charCodeAt(0).toString(16)+"_"});var c=o.content;var f=w&&Buffer.isBuffer(c)?c.toString("binary"):V(c);var u=0,h=Math.min(1024,f.length),d=0;for(var p=0;p<=h;++p)if((d=f.charCodeAt(p))>=32&&d<128)++u;var v=u>=h*4/5;n.push(a);n.push("Content-Location: "+(t.root||"file:///C:/SheetJS/")+s);n.push("Content-Transfer-Encoding: "+(v?"quoted-printable":"base64"));n.push("Content-Type: "+Ie(o,s));n.push("");n.push(v?Be(f):Le(f))}n.push(a+"--\r\n");return n.join("\r\n")}function $e(e){var r={};F(r,e);return r}function He(e,r,t,n){var i=n&&n.unsafe;if(!i)F(e);var s=!i&&H.find(e,r);if(!s){var o=e.FullPaths[0];if(r.slice(0,o.length)==o)o=r;else{if(o.slice(-1)!="/")o+="/";o=(o+r).replace("//","/")}s={name:a(r),type:2};e.FileIndex.push(s);e.FullPaths.push(o);if(!i)H.utils.cfb_gc(e)}s.content=t;s.size=t?t.length:0;if(n){if(n.CLSID)s.clsid=n.CLSID;if(n.mt)s.mt=n.mt;if(n.ct)s.ct=n.ct}return s}function Ve(e,r){F(e);var t=H.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 Xe(e,r,t){F(e);var n=H.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 Ge(e){O(e,true)}e.find=R;e.read=E;e.parse=c;e.write=X;e.writeFile=$;e.utils={cfb_new:$e,cfb_add:He,cfb_del:Ve,cfb_mov:Xe,cfb_gc:Ge,ReadShift:Xr,CheckField:Kr,prep_blob:Zr,bconcat:D,use_zlib:Y,_deflateRaw:xe,_inflateRaw:Oe,consts:W};return e}();if(typeof require!=="undefined"&&typeof module!=="undefined"&&typeof W==="undefined"){module.exports=H}var V;if(typeof require!=="undefined")try{V=require("fs")}catch(x){}function X(e){if(typeof e==="string")return A(e);if(Array.isArray(e))return F(e);return e}function G(e,r,t){if(typeof V!=="undefined"&&V.writeFileSync)return t?V.writeFileSync(e,r,t):V.writeFileSync(e,r);if(typeof Deno!=="undefined"){if(t)switch(t){case"utf8":r=new TextEncoder(t).encode(r);break;case"binary":r=A(r);break;default:throw new Error("Unsupported encoding "+t);}return Deno.writeFileSync(e,r)}var a=t=="utf8"?Ze(r):r;if(typeof IE_SaveFile!=="undefined")return IE_SaveFile(a,e);if(typeof Blob!=="undefined"){var n=new Blob([X(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=URL.createObjectURL(n);if(typeof chrome==="object"&&typeof(chrome.downloads||{}).download=="function"){if(URL.revokeObjectURL&&typeof setTimeout!=="undefined")setTimeout(function(){URL.revokeObjectURL(i)},6e4);return chrome.downloads.download({url:i,filename:e,saveAs:true})}var s=document.createElement("a");if(s.download!=null){s.download=e;s.href=i;document.body.appendChild(s);s.click();document.body.removeChild(s);if(URL.revokeObjectURL&&typeof setTimeout!=="undefined")setTimeout(function(){URL.revokeObjectURL(i)},6e4);return i}}}if(typeof $!=="undefined"&&typeof File!=="undefined"&&typeof Folder!=="undefined")try{var o=File(e);o.open("w");o.encoding="binary";if(Array.isArray(r))r=E(r);o.write(r);o.close();return r}catch(l){if(!l.message||!l.message.match(/onstruct/))throw l}throw new Error("cannot save file "+e)}function Y(e){if(typeof V!=="undefined")return V.readFileSync(e);if(typeof Deno!=="undefined")return Deno.readFileSync(e);if(typeof $!=="undefined"&&typeof File!=="undefined"&&typeof Folder!=="undefined")try{var r=File(e);r.open("r");r.encoding="binary";var t=r.read();r.close();return t}catch(a){if(!a.message||!a.message.match(/onstruct/))throw a}throw new Error("Cannot access file "+e)}function q(e){var r=Object.keys(e),t=[];for(var a=0;a<r.length;++a)if(Object.prototype.hasOwnProperty.call(e,r[a]))t.push(r[a]);return t}function J(e,r){var t=[],a=q(e);for(var n=0;n!==a.length;++n)if(t[e[a[n]][r]]==null)t[e[a[n]][r]]=a[n];return t}function K(e){var r=[],t=q(e);for(var a=0;a!==t.length;++a)r[e[t[a]]]=t[a];return r}function Z(e){var r=[],t=q(e);for(var a=0;a!==t.length;++a)r[e[t[a]]]=parseInt(t[a],10);return r}function Q(e){var r=[],t=q(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 ee=new Date(1899,11,30,0,0,0);function re(e,r){var t=e.getTime();if(r)t-=1462*24*60*60*1e3;var a=ee.getTime()+(e.getTimezoneOffset()-ee.getTimezoneOffset())*6e4;return(t-a)/(24*60*60*1e3)}var te=new Date;var ae=ee.getTime()+(te.getTimezoneOffset()-ee.getTimezoneOffset())*6e4;var ne=te.getTimezoneOffset();function ie(e){var r=new Date;r.setTime(e*24*60*60*1e3+ae);if(r.getTimezoneOffset()!==ne){r.setTime(r.getTime()+(r.getTimezoneOffset()-ne)*6e4)}return r}function se(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 oe=new Date("2017-02-19T19:06:09.000Z");
if(isNaN(oe.getFullYear()))oe=new Date("2/19/17");var le=oe.getFullYear()==2017;function ce(e,r){var t=new Date(e);if(le){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(oe.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 fe(e,r){if(w&&Buffer.isBuffer(e)){if(r){if(e[0]==255&&e[1]==254)return e.slice(2).toString("utf16le");if(e[1]==254&&e[2]==255)return h(e.slice(2).toString("binary"))}return e.toString("binary")}var t=[];for(var a=0;a!=e.length;++a)t.push(String.fromCharCode(e[a]));return t.join("")}function ue(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(Object.prototype.hasOwnProperty.call(e,t))r[t]=ue(e[t]);return r}function he(e,r){var t="";while(t.length<r)t+=e;return t}function de(e){var r=Number(e);if(isFinite(r))return r;if(!isNaN(r))return NaN;if(!/\d/.test(e))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}var pe=["january","february","march","april","may","june","july","august","september","october","november","december"];function ve(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;var s=e.toLowerCase();if(s.match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/)){s=s.replace(/[^a-z]/g,"").replace(/([^a-z]|^)[ap]m?([^a-z]|$)/,"");if(s.length>3&&pe.indexOf(s)==-1)return t}else if(s.match(/[a-z]/))return t;if(a<0||a>8099)return t;if((n>0||i>1)&&a!=101)return r;if(e.match(/[^-0-9:,\/\\]/))return t;return r}var me="abacaba".split(/(:?b)/i).length==5;function ge(e,r,t){if(me||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 be(e){if(!e)return null;if(e.content&&e.type)return fe(e.content,true);if(e.data)return d(e.data);if(e.asNodeBuffer&&w)return d(e.asNodeBuffer().toString("binary"));if(e.asBinary)return d(e.asBinary());if(e._data&&e._data.getContent)return d(fe(Array.prototype.slice.call(e._data.getContent(),0)));return null}function we(e){if(!e)return null;if(e.data)return f(e.data);if(e.asNodeBuffer&&w)return e.asNodeBuffer();if(e._data&&e._data.getContent){var r=e._data.getContent();if(typeof r=="string")return f(r);return Array.prototype.slice.call(r)}if(e.content&&e.type)return e.content;return null}function ye(e){return e&&e.name.slice(-4)===".bin"?we(e):be(e)}function ke(e,r){var t=e.FullPaths||q(e.files);var a=r.toLowerCase().replace(/[\/]/g,"\\"),n=a.replace(/\\/g,"/");for(var i=0;i<t.length;++i){var s=t[i].replace(/^Root Entry[\/]/,"").toLowerCase();if(a==s||n==s)return e.files?e.files[t[i]]:e.FileIndex[i]}return null}function xe(e,r){var t=ke(e,r);if(t==null)throw new Error("Cannot find file "+r+" in zip");return t}function Se(e,r,t){if(!t)return ye(xe(e,r));if(!r)return null;try{return Se(e,r)}catch(a){return null}}function _e(e,r,t){if(!t)return be(xe(e,r));if(!r)return null;try{return _e(e,r)}catch(a){return null}}function Ce(e,r,t){if(!t)return we(xe(e,r));if(!r)return null;try{return Ce(e,r)}catch(a){return null}}function Ae(e){var r=e.FullPaths||q(e.files),t=[];for(var a=0;a<r.length;++a)if(r[a].slice(-1)!="/")t.push(r[a].replace(/^Root Entry[\/]/,""));return t.sort()}function Ee(e,r,t){if(e.FullPaths){if(typeof t=="string"){var a;if(w)a=y(t);else a=O(t);return H.utils.cfb_add(e,r,a)}H.utils.cfb_add(e,r,t)}else e.file(r,t)}function Fe(){return H.utils.cfb_new()}function Te(e,r){switch(r.type){case"base64":return H.read(e,{type:"base64"});case"binary":return H.read(e,{type:"binary"});case"buffer":;case"array":return H.read(e,{type:"buffer"});}throw new Error("Unrecognized type "+r.type)}function Oe(e,r){if(e.charAt(0)=="/")return e.slice(1);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 De='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r\n';var Me=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g;var Ne=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/gm;if(!De.match(Ne))Ne=/<[^>]*>/g;var Pe=/<\w*:/,Re=/<(\/?)\w+:/;function Ie(e,r,t){var a={};var n=0,i=0;for(;n!==e.length;++n)if((i=e.charCodeAt(n))===32||i===10||i===13)break;if(!r)a[0]=e.slice(0,n);if(n===e.length)return a;var s=e.match(Me),o=0,l="",c=0,f="",u="",h=1;if(s)for(c=0;c!=s.length;++c){u=s[c];for(i=0;i!=u.length;++i)if(u.charCodeAt(i)===61)break;f=u.slice(0,i).trim();while(u.charCodeAt(i+1)==32)++i;h=(n=u.charCodeAt(i+1))==34||n==39?1:0;l=u.slice(i+1+h,u.length-h);for(o=0;o!=f.length;++o)if(f.charCodeAt(o)===58)break;if(o===f.length){if(f.indexOf("_")>0)f=f.slice(0,f.indexOf("_"));a[f]=l;if(!t)a[f.toLowerCase()]=l}else{var d=(o===5&&f.slice(0,5)==="xmlns"?"xmlns":"")+f.slice(o+1);if(a[d]&&f.slice(o-3,o)=="ext")continue;a[d]=l;if(!t)a[d.toLowerCase()]=l}}return a}function Le(e){return e.replace(Re,"<$1")}var Be={"&quot;":'"',"&apos;":"'","&gt;":">","&lt;":"<","&amp;":"&"};var Ue=K(Be);var ze=function(){var e=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/gi,r=/_x([\da-fA-F]{4})_/gi;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 We=/[&<>'"]/g,je=/[\u0000-\u0008\u000b-\u001f]/g;function $e(e){var r=e+"";return r.replace(We,function(e){return Ue[e]}).replace(je,function(e){return"_x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+"_"})}function He(e){return $e(e).replace(/ /g,"_x0020_")}var Ve=/[\u0000-\u001f]/g;function Xe(e){var r=e+"";return r.replace(We,function(e){return Ue[e]}).replace(/\n/g,"<br/>").replace(Ve,function(e){return"&#x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+";"})}function Ge(e){var r=e+"";return r.replace(We,function(e){return Ue[e]}).replace(Ve,function(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"})}var Ye=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 qe=function(){return function e(r){return r.replace(/(\r\n|[\r\n])/g,"&#10;")}}();function Je(e){switch(e){case 1:;case true:;case"1":;case"true":;case"TRUE":return true;default:return false;}}var Ke=function ol(e){var r="",t=0,a=0,n=0,i=0,s=0,o=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++);o=((a&7)<<18|(n&63)<<12|(i&63)<<6|s&63)-65536;r+=String.fromCharCode(55296+(o>>>10&1023));r+=String.fromCharCode(56320+(o&1023))}return r};var Ze=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(w){var Qe=function ll(e){var r=Buffer.alloc(2*e.length),t,a,n=1,i=0,s=0,o;for(a=0;a<e.length;a+=n){n=1;if((o=e.charCodeAt(a))<128)t=o;else if(o<224){t=(o&31)*64+(e.charCodeAt(a+1)&63);n=2}else if(o<240){t=(o&15)*4096+(e.charCodeAt(a+1)&63)*64+(e.charCodeAt(a+2)&63);n=3}else{n=4;t=(o&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 er="foo bar baz☃🍣";if(Ke(er)==Qe(er))Ke=Qe;var rr=function cl(e){return y(e,"binary").toString("utf8")};if(Ke(er)==rr(er))Ke=rr;Ze=function(e){return y(e,"utf8").toString("binary")}}var tr=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 ar=function(){var e=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map(function(e){return[new RegExp("&"+e[0]+";","ig"),e[1]]});return function r(t){var a=t.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+</g,"<").replace(/[\t\n\r ]+/g," ").replace(/<\s*[bB][rR]\s*\/?>/g,"\n").replace(/<[^>]*>/g,"");for(var n=0;n<e.length;++n)a=a.replace(e[n][0],e[n][1]);return a}}();var nr=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 ir=/<\/?(?:vt:)?variant>/g,sr=/<(?:vt:)([^>]*)>([\s\S]*)</;function or(e,r){var t=Ie(e);var a=e.match(nr(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(ir,"").match(sr);if(r)n.push({v:Ke(r[2]),t:r[1]})});return n}var lr=/(^\s|\s$|\n)/;function cr(e,r){return"<"+e+(r.match(lr)?' xml:space="preserve"':"")+">"+r+"</"+e+">"}function fr(e){return q(e).map(function(r){return" "+r+'="'+e[r]+'"'}).join("")}function ur(e,r,t){return"<"+e+(t!=null?fr(t):"")+(r!=null?(r.match(lr)?' xml:space="preserve"':"")+">"+r+"</"+e:"/")+">"}function hr(e,r){try{return e.toISOString().replace(/\.\d*/,"")}catch(t){if(r)throw t}return""}function dr(e,r){switch(typeof e){case"string":var t=ur("vt:lpwstr",$e(e));if(r)t=t.replace(/&quot;/g,"_x0022_");return t;case"number":return ur((e|0)==e?"vt:i4":"vt:r8",$e(String(e)));case"boolean":return ur("vt:bool",e?"true":"false");}if(e instanceof Date)return ur("vt:filetime",hr(e));throw new Error("Unable to serialize "+e)}var pr={dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",mx:"http://schemas.microsoft.com/office/mac/excel/2008/main",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",sjs:"http://schemas.openxmlformats.org/package/2006/sheetjs/core-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",xsd:"http://www.w3.org/2001/XMLSchema"};pr.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 vr={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 mr(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 gr(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 o=0;o<=5;++o,i/=256)e[t+o]=i&255;e[t+6]=(n&15)<<4|i&15;e[t+7]=n>>4|a}var br=function(e){var r=[],t=10240;for(var a=0;a<e[0].length;++a)if(e[0][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 wr=br;var yr=function(e,r,t){var a=[];for(var n=r;n<t;n+=2)a.push(String.fromCharCode(Wr(e,n)));return a.join("").replace(M,"")};var kr=yr;var xr=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 Sr=xr;var _r=function(e,r,t){var a=[];for(var n=r;n<t;n++)a.push(String.fromCharCode(zr(e,n)));return a.join("")};var Cr=_r;var Ar=function(e,r){var t=$r(e,r);return t>0?_r(e,r+4,r+4+t-1):""};var Er=Ar;var Fr=function(e,r){var t=$r(e,r);return t>0?_r(e,r+4,r+4+t-1):""};var Tr=Fr;var Or=function(e,r){var t=2*$r(e,r);return t>0?_r(e,r+4,r+4+t-1):""};var Dr=Or;var Mr,Nr;Mr=Nr=function fl(e,r){var t=$r(e,r);return t>0?yr(e,r+4,r+4+t):""};var Pr=function(e,r){var t=$r(e,r);return t>0?_r(e,r+4,r+4+t):""};var Rr=Pr;var Ir,Lr;Ir=Lr=function(e,r){return mr(e,r)};var Br=function ul(e){return Array.isArray(e)||typeof Uint8Array!=="undefined"&&e instanceof Uint8Array};if(w){yr=function(e,r,t){if(!Buffer.isBuffer(e))return kr(e,r,t);return e.toString("utf16le",r,t).replace(M,"")};xr=function(e,r,t){return Buffer.isBuffer(e)?e.toString("hex",r,r+t):Sr(e,r,t)};Ar=function hl(e,r){if(!Buffer.isBuffer(e))return Er(e,r);var t=e.readUInt32LE(r);return t>0?e.toString("utf8",r+4,r+4+t-1):""};Fr=function dl(e,r){if(!Buffer.isBuffer(e))return Tr(e,r);var t=e.readUInt32LE(r);return t>0?e.toString("utf8",r+4,r+4+t-1):""};Or=function pl(e,r){if(!Buffer.isBuffer(e))return Dr(e,r);var t=2*e.readUInt32LE(r);return e.toString("utf16le",r+4,r+4+t-1)};Mr=function vl(e,r){if(!Buffer.isBuffer(e))return Nr(e,r);var t=e.readUInt32LE(r);return e.toString("utf16le",r+4,r+4+t)};Pr=function ml(e,r){if(!Buffer.isBuffer(e))return Rr(e,r);var t=e.readUInt32LE(r);return e.toString("utf8",r+4,r+4+t)};_r=function gl(e,r,t){return Buffer.isBuffer(e)?e.toString("utf8",r,t):Cr(e,r,t)};br=function(e){return e[0].length>0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0].map(function(e){return Buffer.isBuffer(e)?e:y(e)})):wr(e)};D=function(e){return Buffer.concat(e.map(function(e){return Buffer.isBuffer(e)?e:y(e)}))};Ir=function bl(e,r){if(Buffer.isBuffer(e))return e.readDoubleLE(r);return Lr(e,r)};Br=function wl(e){return Buffer.isBuffer(e)||Array.isArray(e)||typeof Uint8Array!=="undefined"&&e instanceof Uint8Array}}function Ur(){yr=function(e,r,t){return cptable.utils.decode(1200,e.slice(r,t)).replace(M,"")};_r=function(e,r,t){return cptable.utils.decode(65001,e.slice(r,t))};Ar=function(e,r){var a=$r(e,r);return a>0?cptable.utils.decode(t,e.slice(r+4,r+4+a-1)):""};Fr=function(e,t){var a=$r(e,t);return a>0?cptable.utils.decode(r,e.slice(t+4,t+4+a-1)):""};Or=function(e,r){var t=2*$r(e,r);return t>0?cptable.utils.decode(1200,e.slice(r+4,r+4+t-1)):""};Mr=function(e,r){var t=$r(e,r);return t>0?cptable.utils.decode(1200,e.slice(r+4,r+4+t)):""};Pr=function(e,r){var t=$r(e,r);return t>0?cptable.utils.decode(65001,e.slice(r+4,r+4+t)):""}}if(typeof cptable!=="undefined")Ur();var zr=function(e,r){return e[r]};var Wr=function(e,r){return e[r+1]*(1<<8)+e[r]};var jr=function(e,r){var t=e[r+1]*(1<<8)+e[r];return t<32768?t:(65535-t+1)*-1};var $r=function(e,r){return e[r+3]*(1<<24)+(e[r+2]<<16)+(e[r+1]<<8)+e[r]};var Hr=function(e,r){return e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]};var Vr=function(e,r){return e[r]<<24|e[r+1]<<16|e[r+2]<<8|e[r+3]};function Xr(e,t){var a="",n,i,s=[],o,l,c,f;switch(t){case"dbcs":f=this.l;if(w&&Buffer.isBuffer(this))a=this.slice(this.l,this.l+2*e).toString("utf16le");else for(c=0;c<e;++c){a+=String.fromCharCode(Wr(this,f));f+=2}e*=2;break;case"utf8":a=_r(this,this.l,this.l+e);break;case"utf16le":e*=2;a=yr(this,this.l,this.l+e);break;case"wstr":if(typeof cptable!=="undefined")a=cptable.utils.decode(r,this.slice(this.l,this.l+2*e));else return Xr.call(this,e,"dbcs");e=2*e;break;case"lpstr-ansi":a=Ar(this,this.l);e=4+$r(this,this.l);break;case"lpstr-cp":a=Fr(this,this.l);e=4+$r(this,this.l);break;case"lpwstr":a=Or(this,this.l);e=4+2*$r(this,this.l);break;case"lpp4":e=4+$r(this,this.l);a=Mr(this,this.l);if(e&2)e+=2;break;case"8lpp4":e=4+$r(this,this.l);a=Pr(this,this.l);if(e&3)e+=4-(e&3);break;case"cstr":e=0;a="";while((o=zr(this,this.l+e++))!==0)s.push(p(o));a=s.join("");break;case"_wstr":e=0;a="";while((o=Wr(this,this.l+e))!==0){s.push(p(o));e+=2}e+=2;a=s.join("");break;case"dbcs-cont":a="";f=this.l;for(c=0;c<e;++c){if(this.lens&&this.lens.indexOf(f)!==-1){o=zr(this,f);this.l=f+1;l=Xr.call(this,e-c,o?"dbcs-cont":"sbcs-cont");return s.join("")+l}s.push(p(Wr(this,f)));f+=2}a=s.join("");e*=2;break;case"cpstr":if(typeof cptable!=="undefined"){a=cptable.utils.decode(r,this.slice(this.l,this.l+e));break};case"sbcs-cont":a="";f=this.l;for(c=0;c!=e;++c){if(this.lens&&this.lens.indexOf(f)!==-1){o=zr(this,f);this.l=f+1;l=Xr.call(this,e-c,o?"dbcs-cont":"sbcs-cont");return s.join("")+l}s.push(p(zr(this,f)));f+=1}a=s.join("");break;default:switch(e){case 1:n=zr(this,this.l);this.l++;return n;case 2:n=(t==="i"?jr:Wr)(this,this.l);this.l+=2;return n;case 4:;case-4:if(t==="i"||(this[this.l+3]&128)===0){n=(e>0?Hr:Vr)(this,this.l);this.l+=4;return n}else{i=$r(this,this.l);this.l+=4}return i;case 8:;case-8:if(t==="f"){if(e==8)i=Ir(this,this.l);else i=Ir([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=xr(this,this.l,e);break;};}this.l+=e;return a}var Gr=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 Yr=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 qr=function(e,r,t){e[t]=r&255;e[t+1]=r>>>8&255};function Jr(e,r,a){var n=0,i=0;if(a==="dbcs"){for(i=0;i!=r.length;++i)qr(this,r.charCodeAt(i),this.l+2*i);n=2*r.length}else if(a==="sbcs"){if(typeof cptable!=="undefined"&&t==874){for(i=0;i!=r.length;++i){var s=cptable.utils.encode(t,r.charAt(i));this[this.l+i]=s[0]}}else{r=r.replace(/[^\x00-\x7F]/g,"_");for(i=0;i!=r.length;++i)this[this.l+i]=r.charCodeAt(i)&255}n=r.length}else if(a==="hex"){for(;i<e;++i){this[this.l++]=parseInt(r.slice(2*i,2*i+2),16)||0}return this}else if(a==="utf16le"){var o=Math.min(this.l+e,this.length);for(i=0;i<Math.min(r.length,e);++i){var l=r.charCodeAt(i);this[this.l++]=l&255;this[this.l++]=l>>8}while(this.l<o)this[this.l++]=0;return this}else switch(e){case 1:n=1;this[this.l]=r&255;break;case 2:n=2;this[this.l]=r&255;r>>>=8;this[this.l+1]=r&255;break;case 3:n=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:n=4;Gr(this,r,this.l);break;case 8:n=8;if(a==="f"){gr(this,r,this.l);break};case 16:break;case-4:n=4;Yr(this,r,this.l);break;}this.l+=n;return this}function Kr(e,r){var t=xr(this,this.l,e.length>>1);if(t!==e)throw new Error(r+"Expected "+e+" saw "+t);this.l+=e.length>>1}function Zr(e,r){e.l=r;e._R=Xr;e.chk=Kr;e._W=Jr}function Qr(e,r){e.l+=r}function et(e){var r=S(e);Zr(r,0);return r}function rt(e,r,t){if(!e)return;var a,n,i;Zr(e,e.l||0);var s=e.length,o=0,l=0;while(e.l<s){o=e._R(1);if(o&128)o=(o&127)+((e._R(1)&127)<<7);var c=XLSBRecordEnum[o]||XLSBRecordEnum[65535];a=e._R(1);i=a&127;for(n=1;n<4&&a&128;++n)i+=((a=e._R(1))&127)<<7*n;l=e.l+i;var f=c.f&&c.f(e,i,t);e.l=l;if(r(f,c.n,o))return}}function tt(){var e=[],r=w?256:2048;var t=function l(e){var r=et(e);Zr(r,0);return r};var a=t(r);var n=function c(){if(!a)return;if(a.length>a.l){a=a.slice(0,a.l);a.l=a.length}if(a.length>0)e.push(a);a=null};var i=function f(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 D(e)};var o=function h(e){n();a=e;if(a.l==null)a.l=a.length;i(r)};return{next:i,push:o,end:s,_bufs:e}}function at(e,r,t,a){var n=+XLSBRE[r],i;if(isNaN(n))return;if(!a)a=XLSBRecordEnum[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 o=0;o!=4;++o){if(a>=128){s._W(1,(a&127)+128);a>>=7}else{s._W(1,a);break}}if(a>0&&Br(t))e.push(t)}function nt(e,r,t){var a=ue(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 it(e,r,t){var a=ue(e);a.s=nt(a.s,r.s,t);a.e=nt(a.e,r.s,t);return a}function st(e,r){if(e.cRel&&e.c<0){e=ue(e);while(e.c<0)e.c+=r>8?16384:256}if(e.rRel&&e.r<0){e=ue(e);while(e.r<0)e.r+=r>8?1048576:r>5?65536:16384}var t=bt(e);if(!e.cRel&&e.cRel!=null)t=pt(t);if(!e.rRel&&e.rRel!=null)t=ft(t);return t}function ot(e,r){if(e.s.r==0&&!e.s.rRel){if(e.e.r==(r.biff>=12?1048575:r.biff>=8?65536:16384)&&!e.e.rRel){return(e.s.cRel?"":"$")+dt(e.s.c)+":"+(e.e.cRel?"":"$")+dt(e.e.c)}}if(e.s.c==0&&!e.s.cRel){if(e.e.c==(r.biff>=12?16383:255)&&!e.e.cRel){return(e.s.rRel?"":"$")+ct(e.s.r)+":"+(e.e.rRel?"":"$")+ct(e.e.r)}}return st(e.s,r.biff)+":"+st(e.e,r.biff)}function lt(e){return parseInt(ut(e),10)-1}function ct(e){return""+(e+1)}function ft(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}function ut(e){return e.replace(/\$(\d+)$/,"$1")}function ht(e){var r=vt(e),t=0,a=0;for(;a!==r.length;++a)t=26*t+r.charCodeAt(a)-64;return t-1}function dt(e){if(e<0)throw new Error("invalid column "+e);var r="";for(++e;e;e=Math.floor((e-1)/26))r=String.fromCharCode((e-1)%26+65)+r;return r}function pt(e){return e.replace(/^([A-Z])/,"$$$1")}function vt(e){return e.replace(/^\$([A-Z])/,"$1")}function mt(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function gt(e){var r=0,t=0;for(var a=0;a<e.length;++a){var n=e.charCodeAt(a);if(n>=48&&n<=57)r=10*r+(n-48);else if(n>=65&&n<=90)t=26*t+(n-64)}return{c:t-1,r:r-1}}function bt(e){var r=e.c+1;var t="";for(;r;r=(r-1)/26|0)t=String.fromCharCode((r-1)%26+65)+t;return t+(e.r+1)}function wt(e){var r=e.indexOf(":");if(r==-1)return{s:gt(e),e:gt(e)};return{s:gt(e.slice(0,r)),e:gt(e.slice(r+1))}}function yt(e,r){if(typeof r==="undefined"||typeof r==="number"){return yt(e.s,e.e)}if(typeof e!=="string")e=bt(e);if(typeof r!=="string")r=bt(r);return e==r?e:e+":"+r}function kt(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||n!=10){r.e.c=r.s.c;r.e.r=r.s.r;return r}++a;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 xt(e,r){var t=e.t=="d"&&r instanceof Date;if(e.z!=null)try{return e.w=P.format(e.z,t?re(r):r)}catch(a){}try{return e.w=P.format((e.XF||{}).numFmtId||(t?14:0),t?re(r):r)}catch(a){return""+r}}function St(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(e.t=="e")return qt[e.v]||e.v;if(r==undefined)return xt(e,e.v);return xt(e,r)}function _t(e,r){var t=r&&r.sheet?r.sheet:"Sheet1";var a={};a[t]=e;return{SheetNames:[t],Sheets:a}}function Ct(e,r,t){var a=t||{};var n=e?Array.isArray(e):a.dense;if(m!=null&&n==null)n=m;var i=e||(n?[]:{});var s=0,o=0;if(i&&a.origin!=null){if(typeof a.origin=="number")s=a.origin;else{var l=typeof a.origin=="string"?gt(a.origin):a.origin;s=l.r;o=l.c}if(!i["!ref"])i["!ref"]="A1:A1"}var c={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(i["!ref"]){var f=kt(i["!ref"]);c.s.c=f.s.c;c.s.r=f.s.r;c.e.c=Math.max(c.e.c,f.e.c);c.e.r=Math.max(c.e.r,f.e.r);if(s==-1)c.e.r=s=f.e.r+1}for(var u=0;u!=r.length;++u){if(!r[u])continue;if(!Array.isArray(r[u]))throw new Error("aoa_to_sheet expects an array of arrays");for(var h=0;h!=r[u].length;++h){if(typeof r[u][h]==="undefined")continue;var d={v:r[u][h]};var p=s+u,v=o+h;if(c.s.r>p)c.s.r=p;if(c.s.c>v)c.s.c=v;if(c.e.r<p)c.e.r=p;if(c.e.c<v)c.e.c=v;if(r[u][h]&&typeof r[u][h]==="object"&&!Array.isArray(r[u][h])&&!(r[u][h]instanceof Date))d=r[u][h];else{if(Array.isArray(d.v)){d.f=r[u][h][1];d.v=d.v[0]}if(d.v===null){if(d.f)d.t="n";else if(a.nullError){d.t="e";d.v=0}else if(!a.sheetStubs)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||P._table[14];if(a.cellDates){d.t="d";d.w=P.format(d.z,re(d.v))}else{d.t="n";d.v=re(d.v);d.w=P.format(d.z,d.v)}}else d.t="s"}if(n){if(!i[p])i[p]=[];if(i[p][v]&&i[p][v].z)d.z=i[p][v].z;i[p][v]=d}else{var g=bt({c:v,r:p});if(i[g]&&i[g].z)d.z=i[g].z;i[g]=d}}}if(c.s.c<1e7)i["!ref"]=yt(c);return i}function At(e,r){return Ct(null,e,r)}var Et=2;var Ft=3;var Tt=11;var Ot=12;var Dt=19;var Mt=30;var Nt=64;var Pt=65;var Rt=71;var It=4096;var Lt=80;var Bt=81;var Ut=[Lt,Bt];var zt={1:{n:"CodePage",t:Et},2:{n:"Category",t:Lt},3:{n:"PresentationFormat",t:Lt},4:{n:"ByteCount",t:Ft},5:{n:"LineCount",t:Ft},6:{n:"ParagraphCount",t:Ft},7:{n:"SlideCount",t:Ft},8:{n:"NoteCount",t:Ft},9:{n:"HiddenCount",t:Ft},10:{n:"MultimediaClipCount",t:Ft},11:{n:"ScaleCrop",t:Tt},12:{n:"HeadingPairs",t:It|Ot},13:{n:"TitlesOfParts",t:It|Mt},14:{n:"Manager",t:Lt},15:{n:"Company",t:Lt},16:{n:"LinksUpToDate",t:Tt},17:{n:"CharacterCount",t:Ft},19:{n:"SharedDoc",t:Tt},22:{n:"HyperlinksChanged",t:Tt},23:{n:"AppVersion",t:Ft,p:"version"},24:{n:"DigSig",t:Pt},26:{n:"ContentType",t:Lt},27:{n:"ContentStatus",t:Lt},28:{n:"Language",t:Lt},29:{n:"Version",t:Lt},255:{},2147483648:{n:"Locale",t:Dt},2147483651:{n:"Behavior",t:Dt},1919054434:{}};var Wt={1:{n:"CodePage",t:Et},2:{n:"Title",t:Lt},3:{n:"Subject",t:Lt},4:{n:"Author",t:Lt},5:{n:"Keywords",t:Lt},6:{n:"Comments",t:Lt},7:{n:"Template",t:Lt},8:{n:"LastAuthor",t:Lt},9:{n:"RevNumber",t:Lt},10:{n:"EditTime",t:Nt},11:{n:"LastPrinted",t:Nt},12:{n:"CreatedDate",t:Nt},13:{n:"ModifiedDate",t:Nt},14:{n:"PageCount",t:Ft},15:{n:"WordCount",t:Ft},16:{n:"CharCount",t:Ft},17:{n:"Thumbnail",t:Rt},18:{n:"Application",t:Lt},19:{n:"DocSecurity",t:Ft},255:{},2147483648:{n:"Locale",t:Dt},2147483651:{n:"Behavior",t:Dt},1919054434:{}};var jt=J(zt,"n");var $t=J(Wt,"n");var Ht={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 Vt=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];function Xt(e){return e.map(function(e){return[e>>16&255,e>>8&255,e&255]})}var Gt=Xt([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 Yt=ue(Gt);var qt={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"};var Jt=Z(qt);var Kt={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links","application/vnd.ms-excel.sheetMetadata":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"TODO","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"TODO","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO",
"application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO","image/png":"TODO",sheet:"js"};var Zt=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"}};q(e).forEach(function(r){["xlsm","xlam"].forEach(function(t){if(!e[r][t])e[r][t]=e[r].xlsx})});q(e).forEach(function(r){q(e[r]).forEach(function(t){Kt[e[r][t]]=r})});return e}();var Qt=Q(Kt);pr.CT="http://schemas.openxmlformats.org/package/2006/content-types";function ea(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],TODO:[],xmlns:""}}function ra(e){var r=ea();if(!e||!e.match)return r;var t={};(e.match(Ne)||[]).forEach(function(e){var a=Ie(e);switch(a[0].replace(Pe,"<")){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[Kt[a.ContentType]]!==undefined)r[Kt[a.ContentType]].push(a.PartName);break;}});if(r.xmlns!==pr.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 ta=ur("Types",null,{xmlns:pr.CT,"xmlns:xsd":pr.xsd,"xmlns:xsi":pr.xsi});var aa=[["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["data","application/vnd.openxmlformats-officedocument.model+data"],["bmp","image/bmp"],["png","image/png"],["gif","image/gif"],["emf","image/x-emf"],["wmf","image/x-wmf"],["jpg","image/jpeg"],["jpeg","image/jpeg"],["tif","image/tiff"],["tiff","image/tiff"],["pdf","application/pdf"],["rels",Qt.rels[0]]].map(function(e){return ur("Default",null,{Extension:e[0],ContentType:e[1]})});function na(e,r){var t=[],a;t[t.length]=De;t[t.length]=ta;t=t.concat(aa);var n=function(n){if(e[n]&&e[n].length>0){a=e[n][0];t[t.length]=ur("Override",null,{PartName:(a[0]=="/"?"":"/")+a,ContentType:Zt[n][r.bookType||"xlsx"]})}};var i=function(a){(e[a]||[]).forEach(function(e){t[t.length]=ur("Override",null,{PartName:(e[0]=="/"?"":"/")+e,ContentType:Zt[a][r.bookType||"xlsx"]})})};var s=function(r){(e[r]||[]).forEach(function(e){t[t.length]=ur("Override",null,{PartName:(e[0]=="/"?"":"/")+e,ContentType:Qt[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 ia={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",SHEET:"http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument",HLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",VML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function sa(e){var r=e.lastIndexOf("/");return e.slice(0,r+1)+"_rels/"+e.slice(r+1)+".rels"}function oa(e,r){var t={"!id":{}};if(!e)return t;if(r.charAt(0)!=="/"){r="/"+r}var a={};(e.match(Ne)||[]).forEach(function(e){var n=Ie(e);if(n[0]==="<Relationship"){var i={};i.Type=n.Type;i.Target=n.Target;i.Id=n.Id;if(n.TargetMode)i.TargetMode=n.TargetMode;var s=n.TargetMode==="External"?n.Target:Oe(n.Target,r);t[s]=i;a[n.Id]=i}});t["!id"]=a;return t}pr.RELS="http://schemas.openxmlformats.org/package/2006/relationships";var la=ur("Relationships",null,{xmlns:pr.RELS});function ca(e){var r=[De,la];q(e["!id"]).forEach(function(t){r[r.length]=ur("Relationship",null,e["!id"][t])});if(r.length>2){r[r.length]="</Relationships>";r[1]=r[1].replace("/>",">")}return r.join("")}var fa=[ia.HLINK,ia.XPATH,ia.XMISS];function ua(e,r,t,a,n,i){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(i)n.TargetMode=i;else if(fa.indexOf(n.Type)>-1)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 ha=[["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"]];pr.CORE_PROPS="http://schemas.openxmlformats.org/package/2006/metadata/core-properties";ia.CORE_PROPS="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties";var da=function(){var e=new Array(ha.length);for(var r=0;r<ha.length;++r){var t=ha[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=Ke(e);for(var t=0;t<ha.length;++t){var a=ha[t],n=e.match(da[t]);if(n!=null&&n.length>0)r[a[1]]=ze(n[1]);if(a[2]==="date"&&r[a[1]])r[a[1]]=ce(r[a[1]])}return r}var va=ur("cp:coreProperties",null,{"xmlns:cp":pr.CORE_PROPS,"xmlns:dc":pr.dc,"xmlns:dcterms":pr.dcterms,"xmlns:dcmitype":pr.dcmitype,"xmlns:xsi":pr.xsi});function ma(e,r,t,a,n){if(n[e]!=null||r==null||r==="")return;n[e]=r;r=$e(r);a[a.length]=t?ur(e,r,t):cr(e,r)}function ga(e,r){var t=r||{};var a=[De,va],n={};if(!e&&!t.Props)return a.join("");if(e){if(e.CreatedDate!=null)ma("dcterms:created",typeof e.CreatedDate==="string"?e.CreatedDate:hr(e.CreatedDate,t.WTF),{"xsi:type":"dcterms:W3CDTF"},a,n);if(e.ModifiedDate!=null)ma("dcterms:modified",typeof e.ModifiedDate==="string"?e.ModifiedDate:hr(e.ModifiedDate,t.WTF),{"xsi:type":"dcterms:W3CDTF"},a,n)}for(var i=0;i!=ha.length;++i){var s=ha[i];var o=t.Props&&t.Props[s[1]]!=null?t.Props[s[1]]:e?e[s[1]]:null;if(o===true)o="1";else if(o===false)o="0";else if(typeof o=="number")o=String(o);if(o!=null)ma(s[0],o,null,a,n)}if(a.length>2){a[a.length]="</cp:coreProperties>";a[1]=a[1].replace("/>",">")}return a.join("")}var ba=[["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"]];pr.EXT_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties";ia.EXT_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties";var wa=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function ya(e,r,t,a){var n=[];if(typeof e=="string")n=or(e,a);else for(var i=0;i<e.length;++i)n=n.concat(e[i].map(function(e){return{v:e}}));var s=typeof r=="string"?or(r,a).map(function(e){return e.v}):r;var o=0,l=0;if(s.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"Hojas de cálculo":;case"Werkbladen":t.Worksheets=l;t.SheetNames=s.slice(o,o+l);break;case"Named Ranges":;case"Rangos con nombre":;case"名前付き一覧":;case"Benannte Bereiche":;case"Navngivne områder":t.NamedRanges=l;t.DefinedNames=s.slice(o,o+l);break;case"Charts":;case"Diagramme":t.Chartsheets=l;t.ChartNames=s.slice(o,o+l);break;}o+=l}}function ka(e,r,t){var a={};if(!r)r={};e=Ke(e);ba.forEach(function(t){var n=(e.match(tr(t[0]))||[])[1];switch(t[2]){case"string":if(n)r[t[1]]=ze(n);break;case"bool":r[t[1]]=n==="true";break;case"raw":var i=e.match(new RegExp("<"+t[0]+"[^>]*>([\\s\\S]*?)</"+t[0]+">"));if(i&&i.length>0)a[t[1]]=i[1];break;}});if(a.HeadingPairs&&a.TitlesOfParts)ya(a.HeadingPairs,a.TitlesOfParts,r,t);return r}var xa=ur("Properties",null,{xmlns:pr.EXT_PROPS,"xmlns:vt":pr.vt});function Sa(e){var r=[],t=ur;if(!e)e={};e.Application="SheetJS";r[r.length]=De;r[r.length]=xa;ba.forEach(function(a){if(e[a[1]]===undefined)return;var n;switch(a[2]){case"string":n=$e(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>"+$e(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("")}pr.CUST_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/custom-properties";ia.CUST_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties";var _a=/<[^>]+>[^<]*/g;function Ca(e,r){var t={},a="";var n=e.match(_a);if(n)for(var i=0;i!=n.length;++i){var s=n[i],o=Ie(s);switch(o[0]){case"<?xml":break;case"<Properties":break;case"<property":a=ze(o.name);break;case"</property>":a=null;break;default:if(s.indexOf("<vt:")===0){var l=s.split(">");var c=l[0].slice(4),f=l[1];switch(c){case"lpstr":;case"bstr":;case"lpwstr":t[a]=ze(f);break;case"bool":t[a]=Je(f);break;case"i1":;case"i2":;case"i4":;case"i8":;case"int":;case"uint":t[a]=parseInt(f,10);break;case"r4":;case"r8":;case"decimal":t[a]=parseFloat(f);break;case"filetime":;case"date":t[a]=ce(f);break;case"cy":;case"error":t[a]=ze(f);break;default:if(c.slice(-1)=="/")break;if(r.WTF&&typeof console!=="undefined")console.warn("Unexpected",s,c,l);}}else if(s.slice(0,2)==="</"){}else if(r.WTF)throw new Error(s);}}return t}var Aa=ur("Properties",null,{xmlns:pr.CUST_PROPS,"xmlns:vt":pr.vt});function Ea(e){var r=[De,Aa];if(!e)return r.join("");var t=1;q(e).forEach(function a(n){++t;r[r.length]=ur("property",dr(e[n],true),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:t,name:$e(n)})});if(r.length>2){r[r.length]="</Properties>";r[1]=r[1].replace("/>",">")}return r.join("")}var Fa=function(){var e={1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127,8:865,9:437,10:850,11:437,13:437,14:850,15:437,16:850,17:437,18:850,19:932,20:850,21:437,22:850,23:865,24:437,25:437,26:850,27:437,28:863,29:850,31:852,34:852,35:852,36:860,37:850,38:866,55:850,64:852,77:936,78:949,79:950,80:874,87:1252,88:1252,89:1252,108:863,134:737,135:852,136:857,204:1257,255:16969};var r=K({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});var a=[2,3,48,49,131,139,140,245];function n(r,t){var a=[];var n=S(1);switch(t.type){case"base64":n=C(b.decode(r));break;case"binary":n=C(r);break;case"buffer":;case"array":n=r;break;}Zr(n,0);var i=n._R(1);var s=!!(i&136);var o=false,l=false;switch(i){case 2:break;case 3:break;case 48:o=true;s=true;break;case 49:o=true;s=true;break;case 131:break;case 139:break;case 140:l=true;break;case 245:break;default:throw new Error("DBF Unsupported Version: "+i.toString(16));}var c=0,f=521;if(i==2)c=n._R(2);n.l+=3;if(i!=2)c=n._R(4);if(c>1048576)c=1e6;if(i!=2)f=n._R(2);var u=n._R(2);var h=t.codepage||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(l)n.l+=36;var d=[],p={};var v=Math.min(n.length,i==2?521:f-10-(o?264:0));var m=l?32:11;while(n.l<v&&n[n.l]!=13){p={};p.name=cptable.utils.decode(h,n.slice(n.l,n.l+m)).replace(/[\u0000\r\n].*$/g,"");n.l+=m;p.type=String.fromCharCode(n._R(1));if(i!=2&&!l)p.offset=n._R(4);p.len=n._R(1);if(i==2)p.offset=n._R(2);p.dec=n._R(1);if(p.name.length)d.push(p);if(i!=2)n.l+=l?13:14;switch(p.type){case"B":if((!o||p.len!=8)&&t.WTF)console.log("Skipping "+p.name+":"+p.type);break;case"G":;case"P":if(t.WTF)console.log("Skipping "+p.name+":"+p.type);break;case"+":;case"0":;case"@":;case"C":;case"D":;case"F":;case"I":;case"L":;case"M":;case"N":;case"O":;case"T":;case"Y":break;default:throw new Error("Unknown Field Type: "+p.type);}}if(n[n.l]!==13)n.l=f-1;if(n._R(1)!==13)throw new Error("DBF Terminator not found "+n.l+" "+n[n.l]);n.l=f;var g=0,w=0;a[0]=[];for(w=0;w!=d.length;++w)a[0][w]=d[w].name;while(c-- >0){if(n[n.l]===42){n.l+=u;continue}++n.l;a[++g]=[];w=0;for(w=0;w!=d.length;++w){var y=n.slice(n.l,n.l+d[w].len);n.l+=d[w].len;Zr(y,0);var k=cptable.utils.decode(h,y);switch(d[w].type){case"C":if(k.trim().length)a[g][w]=k.replace(/\s+$/,"");break;case"D":if(k.length===8)a[g][w]=new Date(+k.slice(0,4),+k.slice(4,6)-1,+k.slice(6,8));else a[g][w]=k;break;case"F":a[g][w]=parseFloat(k.trim());break;case"+":;case"I":a[g][w]=l?y._R(-4,"i")^2147483648:y._R(4,"i");break;case"L":switch(k.trim().toUpperCase()){case"Y":;case"T":a[g][w]=true;break;case"N":;case"F":a[g][w]=false;break;case"":;case"?":break;default:throw new Error("DBF Unrecognized L:|"+k+"|");}break;case"M":if(!s)throw new Error("DBF Unexpected MEMO for type "+i.toString(16));a[g][w]="##MEMO##"+(l?parseInt(k.trim(),10):y._R(4));break;case"N":k=k.replace(/\u0000/g,"").trim();if(k&&k!=".")a[g][w]=+k||0;break;case"@":a[g][w]=new Date(y._R(-8,"f")-621356832e5);break;case"T":a[g][w]=new Date((y._R(4)-2440588)*864e5+y._R(4));break;case"Y":a[g][w]=y._R(4,"i")/1e4;break;case"O":a[g][w]=-y._R(-8,"f");break;case"B":if(o&&d[w].len==8){a[g][w]=y._R(8,"f");break};case"G":;case"P":y.l+=d[w].len;break;case"0":if(d[w].name==="_NullFlags")break;default:throw new Error("DBF Unsupported data type "+d[w].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));if(t&&t.sheetRows)a=a.slice(0,t.sheetRows);return a}function i(e,r){var t=r||{};if(!t.dateNF)t.dateNF="yyyymmdd";return At(n(e,t),t)}function s(e,r){try{return _t(i(e,r),r)}catch(t){if(r&&r.WTF)throw t}return{SheetNames:[],Sheets:{}}}var o={B:8,C:250,L:1,D:8,"?":0,"":0};function c(e,a){var n=a||{};if(+n.codepage>=0)l(+n.codepage);if(n.type=="string")throw new Error("Cannot write DBF to JS string");var i=tt();var s=Vo(e,{header:1,raw:true,cellDates:true});var c=s[0],f=s.slice(1);var u=0,h=0,d=0,p=1;for(u=0;u<c.length;++u){if(u==null)continue;++d;if(typeof c[u]==="number")c[u]=c[u].toString(10);if(typeof c[u]!=="string")throw new Error("DBF Invalid column name "+c[u]+" |"+typeof c[u]+"|");if(c.indexOf(c[u])!==u)for(h=0;h<1024;++h)if(c.indexOf(c[u]+"_"+h)==-1){c[u]+="_"+h;break}}var v=kt(e["!ref"]);var m=[];for(u=0;u<=v.e.c-v.s.c;++u){var g=[];for(h=0;h<f.length;++h){if(f[h][u]!=null)g.push(f[h][u])}if(g.length==0||c[u]==null){m[u]="?";continue}var b="",w="";for(h=0;h<g.length;++h){switch(typeof g[h]){case"number":w="B";break;case"string":w="C";break;case"boolean":w="L";break;case"object":w=g[h]instanceof Date?"D":"C";break;default:w="C";}b=b&&b!=w?"C":w;if(b=="C")break}p+=o[b]||0;m[u]=b}var y=i.next(32);y._W(4,318902576);y._W(4,f.length);y._W(2,296+32*d);y._W(2,p);for(u=0;u<4;++u)y._W(4,0);y._W(4,0|(+r[t]||3)<<8);for(u=0,h=0;u<c.length;++u){if(c[u]==null)continue;var k=i.next(32);var x=(c[u].slice(-10)+"\0\0\0\0\0\0\0\0\0\0\0").slice(0,11);k._W(1,x,"sbcs");k._W(1,m[u]=="?"?"C":m[u],"sbcs");k._W(4,h);k._W(1,o[m[u]]||0);k._W(1,0);k._W(1,2);k._W(4,0);k._W(1,0);k._W(4,0);k._W(4,0);h+=o[m[u]]||0}var S=i.next(264);S._W(4,13);for(u=0;u<65;++u)S._W(4,0);for(u=0;u<f.length;++u){var _=i.next(p);_._W(1,0);for(h=0;h<c.length;++h){if(c[h]==null)continue;switch(m[h]){case"L":_._W(1,f[u][h]==null?63:f[u][h]?84:70);break;case"B":_._W(8,f[u][h]||0,"f");break;case"D":if(!f[u][h])_._W(8,"00000000","sbcs");else{_._W(4,("0000"+f[u][h].getFullYear()).slice(-4),"sbcs");_._W(2,("00"+(f[u][h].getMonth()+1)).slice(-2),"sbcs");_._W(2,("00"+f[u][h].getDate()).slice(-2),"sbcs")}break;case"C":var C=String(f[u][h]||"");_._W(1,C,"sbcs");for(d=0;d<250-C.length;++d)_._W(1,32);break;}}}i.next(1)._W(1,26);return i.end()}return{versions:a,to_workbook:s,to_sheet:i,from_sheet:c}}();var Ta=function(){var e={AA:"À",BA:"Á",CA:"Â",DA:195,HA:"Ä",JA:197,AE:"È",BE:"É",CE:"Ê",HE:"Ë",AI:"Ì",BI:"Í",CI:"Î",HI:"Ï",AO:"Ò",BO:"Ó",CO:"Ô",DO:213,HO:"Ö",AU:"Ù",BU:"Ú",CU:"Û",HU:"Ü",Aa:"à",Ba:"á",Ca:"â",Da:227,Ha:"ä",Ja:229,Ae:"è",Be:"é",Ce:"ê",He:"ë",Ai:"ì",Bi:"í",Ci:"î",Hi:"ï",Ao:"ò",Bo:"ó",Co:"ô",Do:245,Ho:"ö",Au:"ù",Bu:"ú",Cu:"û",Hu:"ü",KC:"Ç",Kc:"ç",q:"æ",z:"œ",a:"Æ",j:"Œ",DN:209,Dn:241,Hy:255,S:169,c:170,R:174,"B ":180,0:176,1:177,2:178,3:179,5:181,6:182,7:183,Q:185,k:186,b:208,i:216,l:222,s:240,y:248,"!":161,'"':162,"#":163,"(":164,"%":165,"'":167,"H ":168,"+":171,";":187,"<":188,"=":189,">":190,"?":191,"{":223};var r=new RegExp("N("+q(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm");var t=function(r,t){var a=e[t];return typeof a=="number"?v(a):a};var a=function(e,r,t){var a=r.charCodeAt(0)-32<<4|t.charCodeAt(0)-48;return a==59?e:v(a)};e["|"]=254;function n(e,r){switch(r.type){case"base64":return i(b.decode(e),r);case"binary":return i(e,r);case"buffer":return i(w&&Buffer.isBuffer(e)?e.toString("binary"):E(e),r);case"array":return i(fe(e),r);}throw new Error("Unrecognized type "+r.type)}function i(e,n){var i=e.split(/[\n\r]+/),s=-1,o=-1,c=0,f=0,u=[];var h=[];var d=null;var p={},v=[],m=[],g=[];var b=0,w;if(+n.codepage>=0)l(+n.codepage);for(;c!==i.length;++c){b=0;var y=i[c].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,a).replace(r,t);var k=y.replace(/;;/g,"\0").split(";").map(function(e){return e.replace(/\u0000/g,";")});var x=k[0],S;if(y.length>0)switch(x){case"ID":break;case"E":break;case"B":break;case"O":break;case"W":break;case"P":if(k[1].charAt(0)=="P")h.push(y.slice(3).replace(/;;/g,";"));break;case"C":var _=false,C=false,A=false,E=false,F=-1,T=-1;for(f=1;f<k.length;++f)switch(k[f].charAt(0)){case"A":break;case"X":o=parseInt(k[f].slice(1))-1;C=true;break;case"Y":s=parseInt(k[f].slice(1))-1;if(!C)o=0;for(w=u.length;w<=s;++w)u[w]=[];break;case"K":S=k[f].slice(1);if(S.charAt(0)==='"')S=S.slice(1,S.length-1);else if(S==="TRUE")S=true;else if(S==="FALSE")S=false;else if(!isNaN(de(S))){S=de(S);if(d!==null&&P.is_date(d))S=ie(S)}else if(!isNaN(ve(S).getDate())){S=ce(S)}if(typeof cptable!=="undefined"&&typeof S=="string"&&(n||{}).type!="string"&&(n||{}).codepage)S=cptable.utils.decode(n.codepage,S);_=true;break;case"E":E=true;var O=ei(k[f].slice(1),{r:s,c:o});u[s][o]=[u[s][o],O];break;case"S":A=true;u[s][o]=[u[s][o],"S5S"];break;case"G":break;case"R":F=parseInt(k[f].slice(1))-1;break;case"C":T=parseInt(k[f].slice(1))-1;break;default:if(n&&n.WTF)throw new Error("SYLK bad record "+y);}if(_){if(u[s][o]&&u[s][o].length==2)u[s][o][0]=S;else u[s][o]=S;d=null}if(A){if(E)throw new Error("SYLK shared formula cannot have own formula");var D=F>-1&&u[F][T];if(!D||!D[1])throw new Error("SYLK shared formula cannot find base");u[s][o][1]=ai(D[1],{r:s-F,c:o-T})}break;case"F":var M=0;for(f=1;f<k.length;++f)switch(k[f].charAt(0)){case"X":o=parseInt(k[f].slice(1))-1;++M;break;case"Y":s=parseInt(k[f].slice(1))-1;for(w=u.length;w<=s;++w)u[w]=[];break;case"M":b=parseInt(k[f].slice(1))/20;break;case"F":break;case"G":break;case"P":d=h[parseInt(k[f].slice(1))];break;case"S":break;case"D":break;case"N":break;case"W":g=k[f].slice(1).split(" ");for(w=parseInt(g[0],10);w<=parseInt(g[1],10);++w){b=parseInt(g[2],10);m[w-1]=b===0?{hidden:true}:{wch:b};ln(m[w-1])}break;case"C":o=parseInt(k[f].slice(1))-1;if(!m[o])m[o]={};break;case"R":s=parseInt(k[f].slice(1))-1;if(!v[s])v[s]={};if(b>0){v[s].hpt=b;v[s].hpx=hn(b)}else if(b===0)v[s].hidden=true;break;default:if(n&&n.WTF)throw new Error("SYLK bad record "+y);}if(M<1)d=null;break;default:if(n&&n.WTF)throw new Error("SYLK bad record "+y);}}if(v.length>0)p["!rows"]=v;if(m.length>0)p["!cols"]=m;if(n&&n.sheetRows)u=u.slice(0,n.sheetRows);return[u,p]}function s(e,r){var t=n(e,r);var a=t[0],i=t[1];var s=At(a,r);q(i).forEach(function(e){s[e]=i[e]});return s}function o(e,r){return _t(s(e,r),r)}function c(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"+ti(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,"").replace(/;/g,";;")+'"';break;}return n}function f(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)r.wpx=tn(r.width);if(typeof r.wpx=="number"&&!r.wch)r.wch=an(r.wpx);if(typeof r.wch=="number")a+=Math.round(r.wch)}if(a.charAt(a.length-1)!=" ")e.push(a)})}function u(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*un(r.hpx)+";";if(a.length>2)e.push(a+"R"+(t+1))})}function h(e,r){var t=["ID;PWXL;N;E"],a=[];var n=kt(e["!ref"]),i;var s=Array.isArray(e);var o="\r\n";t.push("P;PGeneral");t.push("F;P0;DG0G8;M255");if(e["!cols"])f(t,e["!cols"]);if(e["!rows"])u(t,e["!rows"]);t.push("B;Y"+(n.e.r-n.s.r+1)+";X"+(n.e.c-n.s.c+1)+";D"+[n.s.c,n.s.r,n.e.c,n.e.r].join(" "));for(var l=n.s.r;l<=n.e.r;++l){for(var h=n.s.c;h<=n.e.c;++h){var d=bt({r:l,c:h});i=s?(e[l]||[])[h]:e[d];if(!i||i.v==null&&(!i.f||i.F))continue;a.push(c(i,e,l,h,r))}}return t.join(o)+o+a.join(o)+o+"E"+o}return{to_workbook:o,to_sheet:s,from_sheet:h}}();var Oa=function(){function e(e,t){switch(t.type){case"base64":return r(b.decode(e),t);case"binary":return r(e,t);case"buffer":return r(w&&Buffer.isBuffer(e)?e.toString("binary"):E(e),t);case"array":return r(fe(e),t);}throw new Error("Unrecognized type "+t.type)}function r(e,r){var t=e.split("\n"),a=-1,n=-1,i=0,s=[];for(;i!==t.length;++i){if(t[i].trim()==="BOT"){s[++a]=[];n=0;continue}if(a<0)continue;var o=t[i].trim().split(",");var l=o[0],c=o[1];++i;var f=t[i]||"";while((f.match(/["]/g)||[]).length&1&&i<t.length-1)f+="\n"+t[++i];f=f.trim();switch(+l){case-1:if(f==="BOT"){s[++a]=[];n=0;continue}else if(f!=="EOD")throw new Error("Unrecognized DIF special command "+f);break;case 0:if(f==="TRUE")s[a][n]=true;else if(f==="FALSE")s[a][n]=false;else if(!isNaN(de(c)))s[a][n]=de(c);else if(!isNaN(ve(c).getDate()))s[a][n]=ce(c);else s[a][n]=c;++n;break;case 1:f=f.slice(1,f.length-1);f=f.replace(/""/g,'"');if(g&&f&&f.match(/^=".*"$/))f=f.slice(2,-1);s[a][n++]=f!==""?f:null;break;}if(f==="EOD")break}if(r&&r.sheetRows)s=s.slice(0,r.sheetRows);return s}function t(r,t){return At(e(r,t),t)}function a(e,r){return _t(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=kt(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 o=n.s.r;o<=n.e.r;++o){r(a,-1,0,"BOT");for(var l=n.s.c;l<=n.e.c;++l){var c=bt({r:o,c:l});i=s?(t[o]||[])[l]:t[c];if(!i){r(a,1,0,"");continue}switch(i.t){case"n":var f=g?i.w:i.v;if(!f&&i.v!=null)f=i.v;if(f==null){if(g&&i.f&&!i.F)r(a,1,0,"="+i.f);else r(a,1,0,"")}else r(a,0,f,"V");break;case"b":r(a,0,i.v?1:0,i.v?"TRUE":"FALSE");break;case"s":r(a,1,0,!g||isNaN(i.v)?i.v:'="'+i.v+'"');break;case"d":if(!i.w)i.w=P.format(i.z||P._table[14],re(ce(i.v)));if(g)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 Da=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,t){var a=r.split("\n"),n=-1,i=-1,s=0,o=[];for(;s!==a.length;++s){var l=a[s].trim().split(":");if(l[0]!=="cell")continue;var c=gt(l[1]);if(o.length<=c.r)for(n=o.length;n<=c.r;++n)if(!o[n])o[n]=[];n=c.r;i=c.c;switch(l[2]){case"t":o[n][i]=e(l[3]);break;case"v":o[n][i]=+l[3];break;case"vtf":var f=l[l.length-1];case"vtc":switch(l[3]){case"nl":o[n][i]=+l[4]?true:false;break;default:o[n][i]=+l[4];break;}if(l[2]=="vtf")o[n][i]=[o[n][i],f];}}if(t&&t.sheetRows)o=o.slice(0,t.sheetRows);return o}function a(e,r){return At(t(e,r),r)}function n(e,r){return _t(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 o=["# SocialCalc Spreadsheet Control Save","part:sheet"].join("\n");var l="--SocialCalcSpreadsheetControlSave--";function c(e){if(!e||!e["!ref"])return"";var t=[],a=[],n,i="";var s=wt(e["!ref"]);var o=Array.isArray(e);for(var l=s.s.r;l<=s.e.r;++l){for(var c=s.s.c;c<=s.e.c;++c){i=bt({r:l,c:c});n=o?(e[l]||[])[c]: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 f=re(ce(n.v));a[2]="vtc";a[3]="nd";a[4]=""+f;a[5]=n.w||P.format(n.z||P._table[14],f);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 f(e){return[i,s,o,s,c(e),l].join("\n")}return{to_workbook:n,to_sheet:a,from_sheet:f}}();var Ma=function(){function e(e,r,t,a,n){if(n.raw)r[t][a]=e;else if(e===""){}else if(e==="TRUE")r[t][a]=true;else if(e==="FALSE")r[t][a]=false;else if(!isNaN(de(e)))r[t][a]=de(e);else if(!isNaN(ve(e).getDate()))r[t][a]=ce(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 o=10,l=0;var c=0;for(;c<=s;++c){l=i[c].indexOf(" ");if(l==-1)l=i[c].length;else l++;o=Math.max(o,l)}for(c=0;c<=s;++c){n[c]=[];var f=0;e(i[c].slice(0,o).trim(),n,c,f,a);for(f=1;f<=(i[c].length-o)/10+1;++f)e(i[c].slice(o+(f-1)*10,o+f*10).trim(),n,c,f,a)}if(a.sheetRows)n=n.slice(0,a.sheetRows);return n}var t={44:",",9:"\t",59:";",124:"|"};var a={44:3,9:2,59:1,124:0};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(Object.prototype.hasOwnProperty.call(r,i)){s.push([r[i],i])}if(!s.length){r=a;for(i in r)if(Object.prototype.hasOwnProperty.call(r,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]]||44}function i(e,r){var t=r||{};var a="";if(m!=null&&t.dense==null)t.dense=m;var i=t.dense?[]:{};var s={s:{c:0,r:0},e:{c:0,r:0}};if(e.slice(0,4)=="sep="){if(e.charCodeAt(5)==13&&e.charCodeAt(6)==10){a=e.charAt(4);e=e.slice(7)}else if(e.charCodeAt(5)==13||e.charCodeAt(5)==10){a=e.charAt(4);e=e.slice(6)}else a=n(e.slice(0,1024))}else if(t&&t.FS)a=t.FS;else a=n(e.slice(0,1024));var o=0,l=0,c=0;var f=0,u=0,h=a.charCodeAt(0),d=false,p=0,v=e.charCodeAt(0);e=e.replace(/\r\n/gm,"\n");var g=t.dateNF!=null?U(t.dateNF):null;function b(){var r=e.slice(f,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(ii(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(c=de(r))){a.t="n";if(t.cellText!==false)a.w=r;a.v=c}else if(!isNaN(ve(r).getDate())||g&&r.match(g)){a.z=t.dateNF||P._table[14];var n=0;if(g&&r.match(g)){r=z(r,t.dateNF,r.match(g)||[]);n=1}if(t.cellDates){a.t="d";a.v=ce(r,n)}else{a.t="n";a.v=re(ce(r,n))}if(t.cellText!==false)a.w=P.format(a.z,a.v instanceof Date?re(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[o])i[o]=[];i[o][l]=a}else i[bt({c:l,r:o})]=a;f=u+1;v=e.charCodeAt(f);if(s.e.c<l)s.e.c=l;if(s.e.r<o)s.e.r=o;if(p==h)++l;else{l=0;++o;if(t.sheetRows&&t.sheetRows<=o)return true}}e:for(;u<e.length;++u)switch(p=e.charCodeAt(u)){case 34:if(v===34)d=!d;break;case h:;case 10:;case 13:if(!d&&b())break e;break;default:break;}if(u-f>0)b();i["!ref"]=yt(s);return i}function s(e,t){if(!(t&&t.PRN))return i(e,t);if(t.FS)return i(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 At(r(e,t),t)}function o(e,r){var t="",a=r.type=="string"?[0,0,0,0]:lo(e,r);switch(r.type){case"base64":t=b.decode(e);break;case"binary":t=e;break;case"buffer":if(r.codepage==65001)t=e.toString("utf8");else if(r.codepage&&typeof cptable!=="undefined")t=cptable.utils.decode(r.codepage,e);else t=w&&Buffer.isBuffer(e)?e.toString("binary"):E(e);break;case"array":t=fe(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=Ke(t.slice(3));else if(r.type!="string"&&r.type!="buffer"&&r.codepage==65001)t=Ke(t);else if(r.type=="binary"&&typeof cptable!=="undefined"&&r.codepage)t=cptable.utils.decode(r.codepage,cptable.utils.encode(28591,t));if(t.slice(0,19)=="socialcalc:version:")return Da.to_sheet(r.type=="string"?t:Ke(t),r);return s(t,r)}function l(e,r){return _t(o(e,r),r);
}function c(e){var r=[];var t=kt(e["!ref"]),a;var n=Array.isArray(e);for(var i=t.s.r;i<=t.e.r;++i){var s=[];for(var o=t.s.c;o<=t.e.c;++o){var l=bt({r:i,c:o});a=n?(e[i]||[])[o]:e[l];if(!a||a.v==null){s.push(" ");continue}var c=(a.w||(St(a),a.w)||"").slice(0,10);while(c.length<10)c+=" ";s.push(c+(o===0?" ":""))}r.push(s.join(""))}return r.join("\n")}return{to_workbook:l,to_sheet:o,from_sheet:c}}();function Na(e,r){var t=r||{},a=!!t.WTF;t.WTF=true;try{var n=Ta.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 Ma.to_workbook(e,r)}}function Pa(e){var r={},t=e.match(Ne),a=0;var n=false;if(t)for(;a!=t.length;++a){var s=Ie(t[a]);switch(s[0].replace(/\w*:/g,"")){case"<condense":break;case"<extend":break;case"<shadow":if(!s.val)break;case"<shadow>":;case"<shadow/>":r.shadow=1;break;case"</shadow>":break;case"<charset":if(s.val=="1")break;r.cp=i[parseInt(s.val,10)];break;case"<outline":if(!s.val)break;case"<outline>":;case"<outline/>":r.outline=1;break;case"</outline>":break;case"<rFont":r.name=s.val;break;case"<sz":r.sz=s.val;break;case"<strike":if(!s.val)break;case"<strike>":;case"<strike/>":r.strike=1;break;case"</strike>":break;case"<u":if(!s.val)break;switch(s.val){case"double":r.uval="double";break;case"singleAccounting":r.uval="single-accounting";break;case"doubleAccounting":r.uval="double-accounting";break;};case"<u>":;case"<u/>":r.u=1;break;case"</u>":break;case"<b":if(s.val=="0")break;case"<b>":;case"<b/>":r.b=1;break;case"</b>":break;case"<i":if(s.val=="0")break;case"<i>":;case"<i/>":r.i=1;break;case"</i>":break;case"<color":if(s.rgb)r.color=s.rgb.slice(2,8);break;case"<color>":;case"<color/>":;case"</color>":break;case"<family":r.family=s.val;break;case"<family>":;case"<family/>":;case"</family>":break;case"<vertAlign":r.valign=s.val;break;case"<vertAlign>":;case"<vertAlign/>":;case"</vertAlign>":break;case"<scheme":break;case"<scheme>":;case"<scheme/>":;case"</scheme>":break;case"<extLst":;case"<extLst>":;case"</extLst>":break;case"<ext":n=true;break;case"</ext>":n=false;break;default:if(s[0].charCodeAt(1)!==47&&!n)throw new Error("Unrecognized rich format "+s[0]);}}return r}var Ra=function(){var e=tr("t"),r=tr("rPr");function t(t){var a=t.match(e);if(!a)return{t:"s",v:""};var n={t:"s",v:ze(a[1])};var i=t.match(r);if(i)n.s=Pa(i[1]);return n}var a=/<(?:\w+:)?r>/g,n=/<\/(?:\w+:)?r>/;return function i(e){return e.replace(a,"").split(n).map(t).filter(function(e){return e.v})}}();var Ia=function yl(){var e=/(\r\n|\n)/g;function r(e,r,t){var a=[];if(e.u)a.push("text-decoration: underline;");if(e.uval)a.push("text-underline-style:"+e.uval+";");if(e.sz)a.push("font-size:"+e.sz+"pt;");if(e.outline)a.push("text-effect: outline;");if(e.shadow)a.push("text-shadow: auto;");r.push('<span style="'+a.join("")+'">');if(e.b){r.push("<b>");t.push("</b>")}if(e.i){r.push("<i>");t.push("</i>")}if(e.strike){r.push("<s>");t.push("</s>")}var n=e.valign||"";if(n=="superscript"||n=="super")n="sup";else if(n=="subscript")n="sub";if(n!=""){r.push("<"+n+">");t.push("</"+n+">")}t.push("</span>");return e}function t(t){var a=[[],t.v,[]];if(!t.v)return"";if(t.s)r(t.s,a[0],a[2]);return a[0].join("")+a[1].replace(e,"<br/>")+a[2].join("")}return function a(e){return e.map(t).join("")}}();var La=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,Ba=/<(?:\w+:)?r>/;var Ua=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g;function za(e,r){var t=r?r.cellHTML:true;var a={};if(!e)return{t:""};if(e.match(/^\s*<(?:\w+:)?t[^>]*>/)){a.t=ze(Ke(e.slice(e.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||""));a.r=Ke(e);if(t)a.h=Xe(a.t)}else if(e.match(Ba)){a.r=Ke(e);a.t=ze(Ke((e.replace(Ua,"").match(La)||[]).join("").replace(Ne,"")));if(t)a.h=Ia(Ra(a.r))}return a}var Wa=/<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/;var ja=/<(?:\w+:)?(?:si|sstItem)>/g;var $a=/<\/(?:\w+:)?(?:si|sstItem)>/;function Ha(e,r){var t=[],a="";if(!e)return t;var n=e.match(Wa);if(n){a=n[2].replace(ja,"").split($a);for(var i=0;i!=a.length;++i){var s=za(a[i].trim(),r);if(s!=null)t[t.length]=s}n=Ie(n[1]);t.Count=n.count;t.Unique=n.uniqueCount}return t}ia.SST="http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings";var Va=/^\s|\s$|[\t\n\r]/;function Xa(e,r){if(!r.bookSST)return"";var t=[De];t[t.length]=ur("sst",null,{xmlns:pr.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(Va))i+=' xml:space="preserve"';i+=">"+$e(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 Ga(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 Ya(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 qa(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 o=0,l=0,c=n+i;l=s/(c>1?2-c:c);switch(n){case r:o=((t-a)/s+6)%6;break;case t:o=(a-r)/s+2;break;case a:o=(r-t)/s+4;break;}return[o/6,l,c/2]}function Ja(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],o=6*r;var l;if(t!==0)switch(o|0){case 0:;case 6:l=n*o;s[0]+=n;s[1]+=l;break;case 1:l=n*(2-o);s[0]+=l;s[1]+=n;break;case 2:l=n*(o-2);s[1]+=n;s[2]+=l;break;case 3:l=n*(4-o);s[1]+=l;s[2]+=n;break;case 4:l=n*(o-4);s[2]+=n;s[0]+=l;break;case 5:l=n*(6-o);s[2]+=l;s[0]+=n;break;}for(var c=0;c!=3;++c)s[c]=Math.round(s[c]*255);return s}function Ka(e,r){if(r===0)return e;var t=qa(Ga(e));if(r<0)t[2]=t[2]*(1+r);else t[2]=1-(1-t[2])*(1-r);return Ya(Ja(t))}var Za=6,Qa=15,en=1,rn=Za;function tn(e){return Math.floor((e+Math.round(128/rn)/256)*rn)}function an(e){return Math.floor((e-5)/rn*100+.5)/100}function nn(e){return Math.round((e*rn+5)/rn*256)/256}function sn(e){return nn(an(tn(e)))}function on(e){var r=Math.abs(e-sn(e)),t=rn;if(r>.005)for(rn=en;rn<Qa;++rn)if(Math.abs(e-sn(e))<=r){r=Math.abs(e-sn(e));t=rn}rn=t}function ln(e){if(e.width){e.wpx=tn(e.width);e.wch=an(e.wpx);e.MDW=rn}else if(e.wpx){e.wch=an(e.wpx);e.width=nn(e.wch);e.MDW=rn}else if(typeof e.wch=="number"){e.width=nn(e.wch);e.wpx=tn(e.width);e.MDW=rn}if(e.customWidth)delete e.customWidth}var cn=96,fn=cn;function un(e){return e*96/fn}function hn(e){return e*fn/96}var dn={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 pn(e,r,t,a){r.Borders=[];var n={};var i=false;(e[0].match(Ne)||[]).forEach(function(e){var t=Ie(e);switch(Le(t[0])){case"<borders":;case"<borders>":;case"</borders>":break;case"<border":;case"<border>":;case"<border/>":n={};if(t.diagonalUp)n.diagonalUp=Je(t.diagonalUp);if(t.diagonalDown)n.diagonalDown=Je(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;case"<extLst":;case"<extLst>":;case"</extLst>":break;case"<ext":i=true;break;case"</ext>":i=false;break;default:if(a&&a.WTF){if(!i)throw new Error("unrecognized "+t[0]+" in borders")};}})}function vn(e,r,t,a){r.Fills=[];var n={};var i=false;(e[0].match(Ne)||[]).forEach(function(e){var t=Ie(e);switch(Le(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!=null)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;case"<extLst":;case"<extLst>":;case"</extLst>":break;case"<ext":i=true;break;case"</ext>":i=false;break;default:if(a&&a.WTF){if(!i)throw new Error("unrecognized "+t[0]+" in fills")};}})}function mn(e,r,t,a){r.Fonts=[];var n={};var s=false;(e[0].match(Ne)||[]).forEach(function(e){var o=Ie(e);switch(Le(o[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(o.val)n.name=Ke(o.val);break;case"<name/>":;case"</name>":break;case"<b":n.bold=o.val?Je(o.val):1;break;case"<b/>":n.bold=1;break;case"<i":n.italic=o.val?Je(o.val):1;break;case"<i/>":n.italic=1;break;case"<u":switch(o.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=o.val?Je(o.val):1;break;case"<strike/>":n.strike=1;break;case"<outline":n.outline=o.val?Je(o.val):1;break;case"<outline/>":n.outline=1;break;case"<shadow":n.shadow=o.val?Je(o.val):1;break;case"<shadow/>":n.shadow=1;break;case"<condense":n.condense=o.val?Je(o.val):1;break;case"<condense/>":n.condense=1;break;case"<extend":n.extend=o.val?Je(o.val):1;break;case"<extend/>":n.extend=1;break;case"<sz":if(o.val)n.sz=+o.val;break;case"<sz/>":;case"</sz>":break;case"<vertAlign":if(o.val)n.vertAlign=o.val;break;case"<vertAlign/>":;case"</vertAlign>":break;case"<family":if(o.val)n.family=parseInt(o.val,10);break;case"<family/>":;case"</family>":break;case"<scheme":if(o.val)n.scheme=o.val;break;case"<scheme/>":;case"</scheme>":break;case"<charset":if(o.val=="1")break;o.codepage=i[parseInt(o.val,10)];break;case"<color":if(!n.color)n.color={};if(o.auto)n.color.auto=Je(o.auto);if(o.rgb)n.color.rgb=o.rgb.slice(-6);else if(o.indexed){n.color.index=parseInt(o.indexed,10);var l=Yt[n.color.index];if(n.color.index==81)l=Yt[1];if(!l)l=Yt[1];n.color.rgb=l[0].toString(16)+l[1].toString(16)+l[2].toString(16)}else if(o.theme){n.color.theme=parseInt(o.theme,10);if(o.tint)n.color.tint=parseFloat(o.tint);if(o.theme&&t.themeElements&&t.themeElements.clrScheme){n.color.rgb=Ka(t.themeElements.clrScheme[n.color.theme].rgb,n.color.tint||0)}}break;case"<color/>":;case"</color>":break;case"<AlternateContent":s=true;break;case"</AlternateContent>":s=false;break;case"<extLst":;case"<extLst>":;case"</extLst>":break;case"<ext":s=true;break;case"</ext>":s=false;break;default:if(a&&a.WTF){if(!s)throw new Error("unrecognized "+o[0]+" in fonts")};}})}function gn(e,r,t){r.NumberFmt=[];var a=q(P._table);for(var n=0;n<a.length;++n)r.NumberFmt[a[n]]=P._table[a[n]];var i=e[0].match(Ne);if(!i)return;for(n=0;n<i.length;++n){var s=Ie(i[n]);switch(Le(s[0])){case"<numFmts":;case"</numFmts>":;case"<numFmts/>":;case"<numFmts>":break;case"<numFmt":{var o=ze(Ke(s.formatCode)),l=parseInt(s.numFmtId,10);r.NumberFmt[l]=o;if(l>0){if(l>392){for(l=392;l>60;--l)if(r.NumberFmt[l]==null)break;r.NumberFmt[l]=o}P.load(o,l)}}break;case"</numFmt>":break;default:if(t.WTF)throw new Error("unrecognized "+s[0]+" in numFmts");}}}function bn(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]=ur("numFmt",null,{numFmtId:a,formatCode:$e(e[a])})});if(r.length===1)return"";r[r.length]="</numFmts>";r[0]=ur("numFmts",null,{count:r.length-2}).replace("/>",">");return r.join("")}var wn=["numFmtId","fillId","fontId","borderId","xfId"];var yn=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"];function kn(e,r,t){r.CellXf=[];var a;var n=false;(e[0].match(Ne)||[]).forEach(function(e){var i=Ie(e),s=0;switch(Le(i[0])){case"<cellXfs":;case"<cellXfs>":;case"<cellXfs/>":;case"</cellXfs>":break;case"<xf":;case"<xf/>":a=i;delete a[0];for(s=0;s<wn.length;++s)if(a[wn[s]])a[wn[s]]=parseInt(a[wn[s]],10);for(s=0;s<yn.length;++s)if(a[yn[s]])a[yn[s]]=Je(a[yn[s]]);if(r.NumberFmt&&a.numFmtId>392){for(s=392;s>60;--s)if(r.NumberFmt[a.numFmtId]==r.NumberFmt[s]){a.numFmtId=s;break}}r.CellXf.push(a);break;case"</xf>":break;case"<alignment":;case"<alignment/>":var o={};if(i.vertical)o.vertical=i.vertical;if(i.horizontal)o.horizontal=i.horizontal;if(i.textRotation!=null)o.textRotation=i.textRotation;if(i.indent)o.indent=i.indent;if(i.wrapText)o.wrapText=Je(i.wrapText);a.alignment=o;break;case"</alignment>":break;case"<protection":break;case"</protection>":;case"<protection/>":break;case"<AlternateContent":n=true;break;case"</AlternateContent>":n=false;break;case"<extLst":;case"<extLst>":;case"</extLst>":break;case"<ext":n=true;break;case"</ext>":n=false;break;default:if(t&&t.WTF){if(!n)throw new Error("unrecognized "+i[0]+" in cellXfs")};}})}function xn(e){var r=[];r[r.length]=ur("cellXfs",null);e.forEach(function(e){r[r.length]=ur("xf",null,e)});r[r.length]="</cellXfs>";if(r.length===2)return"";r[0]=ur("cellXfs",null,{count:r.length-2}).replace("/>",">");return r.join("")}var Sn=function kl(){var e=/<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/;var r=/<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/;var t=/<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/;var a=/<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/;var n=/<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/;return function i(s,o,l){var c={};if(!s)return c;s=s.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"");var f;if(f=s.match(e))gn(f,c,l);if(f=s.match(a))mn(f,c,o,l);if(f=s.match(t))vn(f,c,o,l);if(f=s.match(n))pn(f,c,o,l);if(f=s.match(r))kn(f,c,l);return c}}();var _n=ur("styleSheet",null,{xmlns:pr.main[0],"xmlns:vt":pr.vt});ia.STY="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles";function Cn(e,r){var t=[De,_n],a;if(e.SSF&&(a=bn(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=xn(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("")}ia.THEME="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme";var An=["</a:lt1>","</a:dk1>","</a:lt2>","</a:dk2>","</a:accent1>","</a:accent2>","</a:accent3>","</a:accent4>","</a:accent5>","</a:accent6>","</a:hlink>","</a:folHlink>"];function En(e,r,t){r.themeElements.clrScheme=[];var a={};(e[0].match(Ne)||[]).forEach(function(e){var n=Ie(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[An.indexOf(n[0])]=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 Fn(){}function Tn(){}var On=/<a:clrScheme([^>]*)>[\s\S]*<\/a:clrScheme>/;var Dn=/<a:fontScheme([^>]*)>[\s\S]*<\/a:fontScheme>/;var Mn=/<a:fmtScheme([^>]*)>[\s\S]*<\/a:fmtScheme>/;function Nn(e,r,t){r.themeElements={};var a;[["clrScheme",On,En],["fontScheme",Dn,Fn],["fmtScheme",Mn,Tn]].forEach(function(n){if(!(a=e.match(n[1])))throw new Error(n[0]+" not found in themeElements");n[2](a,r,t)})}var Pn=/<a:themeElements([^>]*)>[\s\S]*<\/a:themeElements>/;function Rn(e,r){if(!e||e.length===0)return Rn(In());var t;var a={};if(!(t=e.match(Pn)))throw new Error("themeElements not found in theme");Nn(t[0],a,r);a.raw=e;return a}function In(e,r){if(r&&r.themeXLSX)return r.themeXLSX;if(e&&typeof e.raw=="string")return e.raw;var t=[De];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=" 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=" 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 Ln(){}function Bn(e,r,t,a){if(!e)return e;var n=a||{};var i=false,s=false;rt(e,function o(e,r,t){if(s)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:i=true;break;case 36:i=false;break;default:if((r||"").indexOf("Begin")>0){}else if((r||"").indexOf("End")>0){}else if(!i||n.WTF)throw new Error("Unexpected record "+t.toString(16)+" "+r);}},n)}ia.IMG="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image";ia.DRAW="http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing";function Un(e,r){if(!e)return"??";var t=(e.match(/<c:chart [^>]*r:id="([^"]*)"/)||["",""])[1];return r["!id"][t].Target}var zn=1024;function Wn(e,r){var t=[21600,21600];var a=["m0,0l0",t[1],t[0],t[1],t[0],"0xe"].join(",");var n=[ur("xml",null,{"xmlns:v":vr.v,"xmlns:o":vr.o,"xmlns:x":vr.x,"xmlns:mv":vr.mv}).replace(/\/>/,">"),ur("o:shapelayout",ur("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"}),ur("v:shapetype",[ur("v:stroke",null,{joinstyle:"miter"}),ur("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:t.join(","),path:a})];while(zn<e*1e3)zn+=1e3;r.forEach(function(e){var r=gt(e[0]);var t={color2:"#BEFF82",type:"gradient"};if(t.type=="gradient")t.angle="-180";var a=t.type=="gradient"?ur("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null;var i=ur("v:fill",a,t);var s={on:"t",obscured:"t"};++zn;n=n.concat(["<v:shape"+fr({id:"_x0000_s"+zn,type:"#_x0000_t202",style:"position:absolute; margin-left:80pt;margin-top:5pt;width:104pt;height:64pt;z-index:10"+(e[1].hidden?";visibility:hidden":""),fillcolor:"#ECFAD4",strokecolor:"#edeaa1"})+">",i,ur("v:shadow",null,s),ur("v:path",null,{"o:connecttype":"none"}),'<v:textbox><div style="text-align:left"></div></v:textbox>','<x:ClientData ObjectType="Note">',"<x:MoveWithCells/>","<x:SizeWithCells/>",cr("x:Anchor",[r.c+1,0,r.r+1,0,r.c+3,20,r.r+5,20].join(",")),cr("x:AutoFill","False"),cr("x:Row",String(r.r)),cr("x:Column",String(r.c)),e[1].hidden?"":"<x:Visible/>","</x:ClientData>","</v:shape>"])});n.push("</xml>");return n.join("")}ia.CMNT="http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments";function jn(e,r){var t=Array.isArray(e);var a;r.forEach(function(r){var n=gt(r.ref);if(t){if(!e[n.r])e[n.r]=[];a=e[n.r][n.c]}else a=e[r.ref];if(!a){a={t:"z"};if(t)e[n.r][n.c]=a;else e[r.ref]=a;var i=kt(e["!ref"]||"BDWGO1000001:A1");if(i.s.r>n.r)i.s.r=n.r;if(i.e.r<n.r)i.e.r=n.r;if(i.s.c>n.c)i.s.c=n.c;if(i.e.c<n.c)i.e.c=n.c;var s=yt(i);if(s!==e["!ref"])e["!ref"]=s}if(!a.c)a.c=[];var o={a:r.author,t:r.t,r:r.r};if(r.h)o.h=r.h;a.c.push(o)})}function $n(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=Ie(n[0]);var s={author:i.authorId&&t[i.authorId]||"sheetjsghost",ref:i.ref,guid:i.guid};var o=gt(i.ref);if(r.sheetRows&&r.sheetRows<=o.r)return;var l=e.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/);var c=!!l&&!!l[1]&&za(l[1])||{r:"",t:"",h:""};s.r=c.r;if(c.r=="<t></t>")c.t=c.h="";s.t=(c.t||"").replace(/\r\n/g,"\n").replace(/\r/g,"\n");if(r.cellHTML)s.h=c.h;a.push(s)});return a}var Hn=ur("comments",null,{xmlns:pr.main[0]});function Vn(e){var r=[De,Hn];var t=[];r.push("<authors>");e.forEach(function(e){e[1].forEach(function(e){var a=$e(e.a);if(t.indexOf(a)>-1)return;t.push(a);r.push("<author>"+a+"</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($e(a.a))+'"><text>');r.push(cr("t",a.t==null?"":$e(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("")}var Xn="application/vnd.ms-office.vbaProject";function Gn(e){var r=H.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*/,"");H.utils.cfb_add(r,n,e.FileIndex[a].content)});return H.write(r)}function Yn(e,r){r.FullPaths.forEach(function(t,a){if(a==0)return;var n=t.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");if(n.slice(-1)!=="/")H.utils.cfb_add(e,n,r.FileIndex[a].content)})}var qn=["xlsb","xlsm","xlam","biff8","xla"];ia.DS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet";ia.MS="http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet";function Jn(){return{"!type":"dialog"}}function Kn(){return{"!type":"dialog"}}function Zn(){return{"!type":"macro"}}function Qn(){return{"!type":"macro"}}var ei=function(){var e=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g;var r={r:0,c:0};function t(e,t,a,n){var i=false,s=false;if(a.length==0)s=true;else if(a.charAt(0)=="["){s=true;a=a.slice(1,-1)}if(n.length==0)i=true;else if(n.charAt(0)=="["){i=true;n=n.slice(1,-1)}var o=a.length>0?parseInt(a,10)|0:0,l=n.length>0?parseInt(n,10)|0:0;if(i)l+=r.c;else--l;if(s)o+=r.r;else--o;return t+(i?"":"$")+dt(l)+(s?"":"$")+ct(o)}return function a(n,i){r=i;return n.replace(e,t)}}();var ri=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g;var ti=function(){return function e(r,t){return r.replace(ri,function(e,r,a,n,i,s){var o=ht(n)-(a?0:t.c);var l=lt(s)-(i?0:t.r);var c=l==0?"":!i?"["+l+"]":l+1;var f=o==0?"":!a?"["+o+"]":o+1;return r+"R"+c+"C"+f})}}();function ai(e,r){return e.replace(ri,function(e,t,a,n,i,s){return t+(a=="$"?a+n:dt(ht(n)+r.c))+(i=="$"?i+s:ct(lt(s)+r.r))})}function ni(e,r,t){var a=wt(r),n=a.s,i=gt(t);var s={r:i.r-n.r,c:i.c-n.c};return ai(e,s)}function ii(e){if(e.length==1)return false;return true}function si(e){return e.replace(/_xlfn\./g,"")}var oi={};var li={};ia.WS=["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"];var ci=typeof Map!=="undefined";function fi(e,r,t){var a=0,n=e.length;if(t){if(ci?t.has(r):Object.prototype.hasOwnProperty.call(t,r)){var i=ci?t.get(r):t[r];for(;a<i.length;++a){if(e[i[a]].t===r){e.Count++;return i[a]}}}}else for(;a<n;++a){if(e[a].t===r){e.Count++;return a}}e[n]={t:r};e.Count++;e.Unique++;if(t){if(ci){if(!t.has(r))t.set(r,[]);t.get(r).push(n)}else{if(!Object.prototype.hasOwnProperty.call(t,r))t[r]=[];t[r].push(n)}}return n}function ui(e,r){var t={min:e+1,max:e+1};var a=-1;if(r.MDW)rn=r.MDW;if(r.width!=null)t.customWidth=1;else if(r.wpx!=null)a=an(r.wpx);else if(r.wch!=null)a=r.wch;if(a>-1){t.width=nn(a);t.customWidth=1}else if(r.width!=null)t.width=r.width;if(r.hidden)t.hidden=true;if(r.level!=null){t.outlineLevel=t.level=r.level}return t}function hi(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 di(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){P.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 pi(e,r,t,a,n,i){try{if(a.cellNF)e.z=P._table[r]}catch(s){if(a.WTF)throw s}if(e.t==="z"&&!a.cellStyles)return;if(e.t==="d"&&typeof e.v==="string")e.v=ce(e.v);if((!a||a.cellText!==false)&&e.t!=="z")try{if(P._table[r]==null)P.load(L[r]||"General",r);if(e.t==="e")e.w=e.w||qt[e.v];else if(r===0){if(e.t==="n"){if((e.v|0)===e.v)e.w=P._general_int(e.v);else e.w=P._general_num(e.v)}else if(e.t==="d"){var o=re(e.v);if((o|0)===o)e.w=P._general_int(o);else e.w=P._general_num(o)}else if(e.v===undefined)return"";else e.w=P._general(e.v,li)}else if(e.t==="d")e.w=P.format(r,re(e.v),li);else e.w=P.format(r,e.v,li)}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=Ka(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=Ka(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 vi(e,r,t){if(e&&e["!ref"]){var a=kt(e["!ref"]);if(a.e.c<a.s.c||a.e.r<a.s.r)throw new Error("Bad range ("+t+"): "+e["!ref"])}}function mi(e,r){var t=kt(r);if(t.s.r<=t.e.r&&t.s.c<=t.e.c&&t.s.r>=0&&t.s.c>=0)e["!ref"]=yt(t)}var gi=/<(?:\w:)?mergeCell ref="[A-Z0-9:]+"\s*[\/]?>/g;var bi=/<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/;var wi=/<(?:\w:)?hyperlink [^>]*>/gm;var yi=/"(\w*:\w*)"/;var ki=/<(?:\w:)?col\b[^>]*[\/]?>/g;var xi=/<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g;var Si=/<(?:\w:)?pageMargins[^>]*\/>/g;var _i=/<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/;var Ci=/<(?:\w:)?sheetPr[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetPr)>/;var Ai=/<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/;function Ei(e,r,t,a,n,i,s){if(!e)return e;if(!a)a={"!id":{}};if(m!=null&&r.dense==null)r.dense=m;var o=r.dense?[]:{};var l={s:{r:2e6,c:2e6},e:{r:0,c:0}};var c="",f="";var u=e.match(bi);if(u){c=e.slice(0,u.index);f=e.slice(u.index+u[0].length)}else c=f=e;var h=c.match(_i);if(h)Ti(h[0],o,n,t);else if(h=c.match(Ci))Oi(h[0],h[1]||"",o,n,t,s,i);var d=(c.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(d>0){var p=c.slice(d,d+50).match(yi);if(p)mi(o,p[1])}var v=c.match(Ai);if(v&&v[1])$i(v[1],n);var g=[];if(r.cellStyles){var b=c.match(ki);if(b)Bi(g,b)}if(u)Xi(u[1],o,r,l,i,s);var w=f.match(xi);if(w)o["!autofilter"]=zi(w[0]);var y=[];var k=f.match(gi);if(k)for(d=0;d!=k.length;++d)y[d]=kt(k[d].slice(k[d].indexOf('"')+1));var x=f.match(wi);if(x)Ri(o,x,a);var S=f.match(Si);if(S)o["!margins"]=Ii(Ie(S[0]));if(!o["!ref"]&&l.e.c>=l.s.c&&l.e.r>=l.s.r)o["!ref"]=yt(l);if(r.sheetRows>0&&o["!ref"]){var _=kt(o["!ref"]);if(r.sheetRows<=+_.e.r){_.e.r=r.sheetRows-1;if(_.e.r>l.e.r)_.e.r=l.e.r;if(_.e.r<_.s.r)_.s.r=_.e.r;if(_.e.c>l.e.c)_.e.c=l.e.c;if(_.e.c<_.s.c)_.s.c=_.e.c;o["!fullref"]=o["!ref"];o["!ref"]=yt(_)}}if(g.length>0)o["!cols"]=g;if(y.length>0)o["!merges"]=y;return o}function Fi(e){if(e.length===0)return"";var r='<mergeCells count="'+e.length+'">';for(var t=0;t!=e.length;++t)r+='<mergeCell ref="'+yt(e[t])+'"/>';return r+"</mergeCells>"}function Ti(e,r,t,a){var n=Ie(e);if(!t.Sheets[a])t.Sheets[a]={};if(n.codeName)t.Sheets[a].CodeName=ze(Ke(n.codeName))}function Oi(e,r,t,a,n,i,s){Ti(e.slice(0,e.indexOf(">")),t,a,n)}function Di(e,r,t,a,n){var i=false;var s={},o=null;if(a.bookType!=="xlsx"&&r.vbaraw){var l=r.SheetNames[t];try{if(r.Workbook)l=r.Workbook.Sheets[t].CodeName||l}catch(c){}i=true;s.codeName=Ze($e(l))}if(e&&e["!outline"]){var f={summaryBelow:1,summaryRight:1};if(e["!outline"].above)f.summaryBelow=0;if(e["!outline"].left)f.summaryRight=0;o=(o||"")+ur("outlinePr",null,f)}if(!i&&!o)return;n[n.length]=ur("sheetPr",o,s)}var Mi=["objects","scenarios","selectLockedCells","selectUnlockedCells"];var Ni=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];function Pi(e){var r={sheet:1};Mi.forEach(function(t){if(e[t]!=null&&e[t])r[t]="1"});Ni.forEach(function(t){if(e[t]!=null&&!e[t])r[t]="0"});if(e.password)r.password=crypto_CreatePasswordVerifier_Method1(e.password).toString(16).toUpperCase();return ur("sheetProtection",null,r)}function Ri(e,r,t){var a=Array.isArray(e);for(var n=0;n!=r.length;++n){var i=Ie(Ke(r[n]),true);if(!i.ref)return;var s=((t||{})["!id"]||[])[i.id];if(s){i.Target=s.Target;if(i.location)i.Target+="#"+ze(i.location)}else{i.Target="#"+ze(i.location);s={Target:i.Target,TargetMode:"Internal"}}i.Rel=s;if(i.tooltip){i.Tooltip=i.tooltip;delete i.tooltip}var o=kt(i.ref);for(var l=o.s.r;l<=o.e.r;++l)for(var c=o.s.c;c<=o.e.c;++c){var f=bt({c:c,r:l});if(a){if(!e[l])e[l]=[];if(!e[l][c])e[l][c]={t:"z",v:undefined};e[l][c].l=i}else{if(!e[f])e[f]={t:"z",v:undefined};e[f].l=i}}}}function Ii(e){var r={};["left","right","top","bottom","header","footer"].forEach(function(t){if(e[t])r[t]=parseFloat(e[t])});return r}function Li(e){hi(e);return ur("pageMargins",null,e)}function Bi(e,r){var t=false;for(var a=0;a!=r.length;++a){var n=Ie(r[a],true);if(n.hidden)n.hidden=Je(n.hidden);var i=parseInt(n.min,10)-1,s=parseInt(n.max,10)-1;if(n.outlineLevel)n.level=+n.outlineLevel||0;delete n.min;delete n.max;n.width=+n.width;if(!t&&n.width){t=true;on(n.width)}ln(n);while(i<=s)e[i++]=ue(n)}}function Ui(e,r){var t=["<cols>"],a;for(var n=0;n!=r.length;++n){if(!(a=r[n]))continue;t[t.length]=ur("col",null,ui(n,a))}t[t.length]="</cols>";return t.join("")}function zi(e){var r={ref:(e.match(/ref="([^"]*)"/)||[])[1]};return r}function Wi(e,r,t,a){var n=typeof e.ref=="string"?e.ref:yt(e.ref);if(!t.Workbook)t.Workbook={Sheets:[]};if(!t.Workbook.Names)t.Workbook.Names=[];var i=t.Workbook.Names;var s=wt(n);if(s.s.r==s.e.r){s.e.r=wt(r["!ref"]).e.r;n=yt(s)}for(var o=0;o<i.length;++o){var l=i[o];if(l.Name!="_xlnm._FilterDatabase")continue;if(l.Sheet!=a)continue;l.Ref="'"+t.SheetNames[a]+"'!"+n;break}if(o==i.length)i.push({Name:"_xlnm._FilterDatabase",Sheet:a,Ref:"'"+t.SheetNames[a]+"'!"+n});return ur("autoFilter",null,{ref:n})}var ji=/<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/?>/;function $i(e,r){if(!r.Views)r.Views=[{}];(e.match(ji)||[]).forEach(function(e,t){var a=Ie(e);if(!r.Views[t])r.Views[t]={};if(+a.zoomScale)r.Views[t].zoom=+a.zoomScale;if(Je(a.rightToLeft))r.Views[t].RTL=true})}function Hi(e,r,t,a){var n={workbookViewId:"0"};if((((a||{}).Workbook||{}).Views||[])[0])n.rightToLeft=a.Workbook.Views[0].RTL?"1":"0";return ur("sheetViews",ur("sheetView",null,n),{})}function Vi(e,r,t,a){if(e.v===undefined&&typeof e.f!=="string"||e.t==="z")return"";var n="";var i=e.t,s=e.v;if(e.t!=="z")switch(e.t){case"b":n=e.v?"1":"0";break;case"n":n=""+e.v;break;case"e":n=qt[e.v];break;case"d":if(a&&a.cellDates)n=ce(e.v,-1).toISOString();else{e=ue(e);e.t="n";n=""+(e.v=re(ce(e.v)))}if(typeof e.z==="undefined")e.z=P._table[14];break;default:n=e.v;break;}var o=cr("v",$e(n)),l={r:r};var c=di(a.cellXfs,e,a);if(c!==0)l.s=c;switch(e.t){case"n":break;case"d":l.t="d";break;case"b":l.t="b";break;case"e":l.t="e";break;case"z":break;default:if(e.v==null){delete e.t;break}if(e.v.length>32767)throw new Error("Text length must not exceed 32767 characters");if(a&&a.bookSST){o=cr("v",""+fi(a.Strings,e.v,a.revStrings));l.t="s";break}l.t="str";break;}if(e.t!=i){e.t=i;e.v=s}if(typeof e.f=="string"&&e.f){var f=e.F&&e.F.slice(0,r.length)==r?{t:"array",ref:e.F}:null;o=ur("f",$e(e.f),f)+(e.v!=null?o:"")}if(e.l)t["!links"].push([r,e.l]);if(e.c)t["!comments"].push([r,e.c]);return ur("c",o,l)}var Xi=function(){var e=/<(?:\w+:)?c[ \/>]/,r=/<\/(?:\w+:)?row>/;var t=/r=["']([^"']*)["']/,a=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/;var n=/ref=["']([^"']*)["']/;var i=tr("v"),s=tr("f");return function o(l,c,f,u,h,d){var p=0,v="",m=[],g=[],b=0,w=0,y=0,k="",x;var S,_=0,C=0;var A,E;var F=0,T=0;var O=Array.isArray(d.CellXf),D;var M=[];var N=[];var R=Array.isArray(c);var I=[],L={},B=false;var U=!!f.sheetStubs;for(var z=l.split(r),W=0,j=z.length;W!=j;++W){v=z[W].trim();var $=v.length;if($===0)continue;var H=0;e:for(p=0;p<$;++p)switch(v[p]){case">":if(v[p-1]!="/"){++p;break e}if(f&&f.cellStyles){S=Ie(v.slice(H,p),true);_=S.r!=null?parseInt(S.r,10):_+1;C=-1;if(f.sheetRows&&f.sheetRows<_)continue;L={};B=false;if(S.ht){B=true;L.hpt=parseFloat(S.ht);L.hpx=hn(L.hpt)}if(S.hidden=="1"){B=true;L.hidden=true}if(S.outlineLevel!=null){B=true;L.level=+S.outlineLevel}if(B)I[_-1]=L}break;case"<":H=p;break;}if(H>=p)break;S=Ie(v.slice(H,p),true);_=S.r!=null?parseInt(S.r,10):_+1;C=-1;if(f.sheetRows&&f.sheetRows<_)continue;if(u.s.r>_-1)u.s.r=_-1;if(u.e.r<_-1)u.e.r=_-1;if(f&&f.cellStyles){L={};B=false;if(S.ht){B=true;L.hpt=parseFloat(S.ht);L.hpx=hn(L.hpt)}if(S.hidden=="1"){B=true;L.hidden=true}if(S.outlineLevel!=null){B=true;L.level=+S.outlineLevel}if(B)I[_-1]=L}m=v.slice(p).split(e);for(var V=0;V!=m.length;++V)if(m[V].trim().charAt(0)!="<")break;m=m.slice(V);for(p=0;p!=m.length;++p){v=m[p].trim();if(v.length===0)continue;g=v.match(t);b=p;w=0;y=0;v="<c "+(v.slice(0,1)=="<"?">":"")+v;if(g!=null&&g.length===2){b=0;k=g[1];for(w=0;w!=k.length;++w){if((y=k.charCodeAt(w)-64)<1||y>26)break;b=26*b+y}--b;C=b}else++C;for(w=0;w!=v.length;++w)if(v.charCodeAt(w)===62)break;++w;S=Ie(v.slice(0,w),true);if(!S.r)S.r=bt({r:_-1,c:C});k=v.slice(w);x={t:""};if((g=k.match(i))!=null&&g[1]!=="")x.v=ze(g[1]);if(f.cellFormula){if((g=k.match(s))!=null&&g[1]!==""){x.f=ze(Ke(g[1])).replace(/\r\n/g,"\n");if(!f.xlfn)x.f=si(x.f);if(g[0].indexOf('t="array"')>-1){x.F=(k.match(n)||[])[1];if(x.F.indexOf(":")>-1)M.push([kt(x.F),x.F])}else if(g[0].indexOf('t="shared"')>-1){E=Ie(g[0]);var X=ze(Ke(g[1]));if(!f.xlfn)X=si(X);N[parseInt(E.si,10)]=[E,X,S.r]}}else if(g=k.match(/<f[^>]*\/>/)){E=Ie(g[0]);if(N[E.si])x.f=ni(N[E.si][1],N[E.si][2],S.r)}var G=gt(S.r);for(w=0;w<M.length;++w)if(G.r>=M[w][0].s.r&&G.r<=M[w][0].e.r)if(G.c>=M[w][0].s.c&&G.c<=M[w][0].e.c)x.F=M[w][1]}if(S.t==null&&x.v===undefined){if(x.f||x.F){x.v=0;x.t="n"}else if(!U)continue;else x.t="z"}else x.t=S.t||"n";if(u.s.c>C)u.s.c=C;if(u.e.c<C)u.e.c=C;switch(x.t){case"n":if(x.v==""||x.v==null){if(!U)continue;x.t="z"}else x.v=parseFloat(x.v);break;case"s":if(typeof x.v=="undefined"){if(!U)continue;x.t="z"}else{A=oi[parseInt(x.v,10)];x.v=A.t;x.r=A.r;if(f.cellHTML)x.h=A.h}break;case"str":x.t="s";x.v=x.v!=null?Ke(x.v):"";if(f.cellHTML)x.h=Xe(x.v);break;case"inlineStr":g=k.match(a);x.t="s";if(g!=null&&(A=za(g[1]))){x.v=A.t;if(f.cellHTML)x.h=A.h}else x.v="";break;case"b":x.v=Je(x.v);break;case"d":if(f.cellDates)x.v=ce(x.v,1);else{x.v=re(ce(x.v,1));x.t="n"}break;case"e":if(!f||f.cellText!==false)x.w=x.v;x.v=Jt[x.v];break;}F=T=0;D=null;if(O&&S.s!==undefined){D=d.CellXf[S.s];if(D!=null){if(D.numFmtId!=null)F=D.numFmtId;if(f.cellStyles){if(D.fillId!=null)T=D.fillId}}}pi(x,F,T,f,h,d);if(f.cellDates&&O&&x.t=="n"&&P.is_date(P._table[F])){x.t="d";x.v=ie(x.v)}if(R){var Y=gt(S.r);if(!c[Y.r])c[Y.r]=[];c[Y.r][Y.c]=x}else c[S.r]=x}}if(I.length>0)c["!rows"]=I}}();function Gi(e,r,t,a){var n=[],i=[],s=kt(e["!ref"]),o="",l,c="",f=[],u=0,h=0,d=e["!rows"];var p=Array.isArray(e);var v={r:c},m,g=-1;for(h=s.s.c;h<=s.e.c;++h)f[h]=dt(h);for(u=s.s.r;u<=s.e.r;++u){i=[];c=ct(u);for(h=s.s.c;h<=s.e.c;++h){l=f[h]+c;var b=p?(e[u]||[])[h]:e[l];if(b===undefined)continue;if((o=Vi(b,l,e,r,t,a))!=null)i.push(o)}if(i.length>0||d&&d[u]){v={r:c};if(d&&d[u]){m=d[u];if(m.hidden)v.hidden=1;g=-1;if(m.hpx)g=un(m.hpx);else if(m.hpt)g=m.hpt;if(g>-1){v.ht=g;v.customHeight=1}if(m.level){v.outlineLevel=m.level}}n[n.length]=ur("row",i.join(""),v)}}if(d)for(;u<d.length;++u){if(d&&d[u]){v={r:u+1};m=d[u];if(m.hidden)v.hidden=1;g=-1;if(m.hpx)g=un(m.hpx);else if(m.hpt)g=m.hpt;if(g>-1){v.ht=g;v.customHeight=1}if(m.level){v.outlineLevel=m.level}n[n.length]=ur("row","",v)}}return n.join("")}var Yi=ur("worksheet",null,{xmlns:pr.main[0],"xmlns:r":pr.r});function qi(e,r,t,a){var n=[De,Yi];var i=t.SheetNames[e],s=0,o="";var l=t.Sheets[i];if(l==null)l={};var c=l["!ref"]||"A1";var f=kt(c);if(f.e.c>16383||f.e.r>1048575){if(r.WTF)throw new Error("Range "+c+" exceeds format limit A1:XFD1048576");f.e.c=Math.min(f.e.c,16383);f.e.r=Math.min(f.e.c,1048575);c=yt(f)}if(!a)a={};l["!comments"]=[];var u=[];Di(l,t,e,r,n);n[n.length]=ur("dimension",null,{ref:c});n[n.length]=Hi(l,r,e,t);if(r.sheetFormat)n[n.length]=ur("sheetFormatPr",null,{defaultRowHeight:r.sheetFormat.defaultRowHeight||"16",baseColWidth:r.sheetFormat.baseColWidth||"10",outlineLevelRow:r.sheetFormat.outlineLevelRow||"7"});if(l["!cols"]!=null&&l["!cols"].length>0)n[n.length]=Ui(l,l["!cols"]);n[s=n.length]="<sheetData/>";l["!links"]=[];if(l["!ref"]!=null){o=Gi(l,r,e,t,a);if(o.length>0)n[n.length]=o}if(n.length>s+1){n[n.length]="</sheetData>";n[s]=n[s].replace("/>",">")}if(l["!protect"])n[n.length]=Pi(l["!protect"]);if(l["!autofilter"]!=null)n[n.length]=Wi(l["!autofilter"],l,t,e);if(l["!merges"]!=null&&l["!merges"].length>0)n[n.length]=Fi(l["!merges"]);var h=-1,d,p=-1;if(l["!links"].length>0){n[n.length]="<hyperlinks>";l["!links"].forEach(function(e){if(!e[1].Target)return;d={ref:e[0]};if(e[1].Target.charAt(0)!="#"){p=ua(a,-1,$e(e[1].Target).replace(/#.*$/,""),ia.HLINK);d["r:id"]="rId"+p}if((h=e[1].Target.indexOf("#"))>-1)d.location=$e(e[1].Target.slice(h+1));if(e[1].Tooltip)d.tooltip=$e(e[1].Tooltip);n[n.length]=ur("hyperlink",null,d)});n[n.length]="</hyperlinks>"}delete l["!links"];if(l["!margins"]!=null)n[n.length]=Li(l["!margins"]);if(!r||r.ignoreEC||r.ignoreEC==void 0)n[n.length]=cr("ignoredErrors",ur("ignoredError",null,{numberStoredAsText:1,sqref:c}));if(u.length>0){p=ua(a,-1,"../drawings/drawing"+(e+1)+".xml",ia.DRAW);n[n.length]=ur("drawing",null,{"r:id":"rId"+p});l["!drawing"]=u}if(l["!comments"].length>0){p=ua(a,-1,"../drawings/vmlDrawing"+(e+1)+".vml",ia.VML);n[n.length]=ur("legacyDrawing",null,{"r:id":"rId"+p});l["!legacy"]=p}if(n.length>1){n[n.length]="</worksheet>";n[1]=n[1].replace("/>",">")}return n.join("")}ia.CHART="http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart";ia.CHARTEX="http://schemas.microsoft.com/office/2014/relationships/chartEx";function Ji(e){var r=[];var t=e.match(/^<c:numCache>/);var a;(e.match(/<c:pt idx="(\d*)">(.*?)<\/c:pt>/gm)||[]).forEach(function(e){var a=e.match(/<c:pt idx="(\d*?)"><c:v>(.*)<\/c:v><\/c:pt>/);if(!a)return;r[+a[1]]=t?+a[2]:a[2]});var n=ze((e.match(/<c:formatCode>([\s\S]*?)<\/c:formatCode>/)||["","General"])[1]);(e.match(/<c:f>(.*?)<\/c:f>/gm)||[]).forEach(function(e){a=e.replace(/<.*?>/g,"")});return[r,n,a]}function Ki(e,r,t,a,n,i){var s=i||{"!type":"chart"};if(!e)return i;var o=0,l=0,c="A";var f={s:{r:2e6,c:2e6},e:{r:0,c:0}};(e.match(/<c:numCache>[\s\S]*?<\/c:numCache>/gm)||[]).forEach(function(e){var r=Ji(e);f.s.r=f.s.c=0;f.e.c=o;c=dt(o);r[0].forEach(function(e,t){s[c+ct(t)]={t:"n",v:e,z:r[1]};l=t});if(f.e.r<l)f.e.r=l;++o});if(o>0)s["!ref"]=yt(f);return s}ia.CS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet";var Zi=ur("chartsheet",null,{xmlns:pr.main[0],"xmlns:r":pr.r});function Qi(e,r,t,a,n){if(!e)return e;if(!a)a={"!id":{}};var i={"!type":"chart","!drawel":null,"!rel":""};var s;var o=e.match(_i);if(o)Ti(o[0],i,n,t);if(s=e.match(/drawing r:id="(.*?)"/))i["!rel"]=s[1];if(a["!id"][i["!rel"]])i["!drawel"]=a["!id"][i["!rel"]];return i}function es(e,r,t,a){var n=[De,Zi];n[n.length]=ur("drawing",null,{"r:id":"rId1"});ua(a,-1,"../drawings/drawing"+(e+1)+".xml",ia.DRAW);if(n.length>2){n[n.length]="</chartsheet>";n[1]=n[1].replace("/>",">")}return n.join("")}function rs(e,r){e.l+=10;var t=parse_XLWideString(e,r-10);return{name:t}}function ts(e,r,t,a,n){if(!e)return e;if(!a)a={"!id":{}};var i={"!type":"chart","!drawel":null,"!rel":""};var s=[];var o=false;rt(e,function l(e,a,c){switch(c){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:;case 3072:break;case 35:o=true;break;case 36:o=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(!o||r.WTF)throw new Error("Unexpected record "+c+" "+a);}},r);if(a["!id"][i["!rel"]])i["!drawel"]=a["!id"][i["!rel"]];return i}function as(){var e=tt();at(e,"BrtBeginSheet");at(e,"BrtEndSheet");return e.end()}var ns=[["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 is=[["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 ss=[];var os=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function ls(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]]=Je(a[i[0]]);break;case"int":if(typeof a[i[0]]=="string")a[i[0]]=parseInt(a[i[0]],10);break;}}}}function cs(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]]=Je(e[a[0]]);break;case"int":if(typeof e[a[0]]=="string")e[a[0]]=parseInt(e[a[0]],10);break;}}}function fs(e){cs(e.WBProps,ns);cs(e.CalcPr,os);ls(e.WBView,is);ls(e.Sheets,ss);li.date1904=Je(e.WBProps.date1904)}function us(e){if(!e.Workbook)return"false";if(!e.Workbook.WBProps)return"false";return Je(e.Workbook.WBProps.date1904)?"true":"false"}var hs="][*?/\\".split("");function ds(e,r){if(e.length>31){if(r)return false;throw new Error("Sheet names cannot exceed 31 chars")}var t=true;hs.forEach(function(a){if(e.indexOf(a)==-1)return;if(!r)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");t=false});return t}function ps(e,r,t){e.forEach(function(a,n){ds(a);for(var i=0;i<n;++i)if(a==e[i])throw new Error("Duplicate Sheet Name: "+a);if(t){var s=r&&r[n]&&r[n].CodeName||a;if(s.charCodeAt(0)==95&&s.length>22)throw new Error("Bad Code Name: Worksheet"+s)}})}function vs(e){if(!e||!e.SheetNames||!e.Sheets)throw new Error("Invalid Workbook");if(!e.SheetNames.length)throw new Error("Workbook is empty");var r=e.Workbook&&e.Workbook.Sheets||[];ps(e.SheetNames,r,!!e.vbaraw);for(var t=0;t<e.SheetNames.length;++t)vi(e.Sheets[e.SheetNames[t]],e.SheetNames[t],t)}var ms=/<\w+:workbook/;function gs(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(Ne,function o(l,c){var f=Ie(l);switch(Le(f[0])){case"<?xml":break;case"<workbook":if(l.match(ms))n="xmlns"+l.match(/<(\w+):/)[1];t.xmlns=f[n];break;case"</workbook>":break;case"<fileVersion":delete f[0];t.AppVersion=f;break;case"<fileVersion/>":;case"</fileVersion>":break;case"<fileSharing":break;case"<fileSharing/>":break;case"<workbookPr":;case"<workbookPr/>":ns.forEach(function(e){if(f[e[0]]==null)return;switch(e[2]){case"bool":t.WBProps[e[0]]=Je(f[e[0]]);break;case"int":t.WBProps[e[0]]=parseInt(f[e[0]],10);break;default:t.WBProps[e[0]]=f[e[0]];}});if(f.codeName)t.WBProps.CodeName=Ke(f.codeName);break;case"</workbookPr>":break;case"<workbookProtection":break;case"<workbookProtection/>":break;case"<bookViews":;case"<bookViews>":;case"</bookViews>":break;case"<workbookView":;case"<workbookView/>":delete f[0];t.WBView.push(f);break;case"</workbookView>":break;case"<sheets":;case"<sheets>":;case"</sheets>":break;case"<sheet":switch(f.state){case"hidden":f.Hidden=1;break;case"veryHidden":f.Hidden=2;break;default:f.Hidden=0;}delete f.state;f.name=ze(Ke(f.name));delete f[0];t.Sheets.push(f);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=Ke(f.name);if(f.comment)i.Comment=f.comment;if(f.localSheetId)i.Sheet=+f.localSheetId;if(Je(f.hidden||"0"))i.Hidden=true;s=c+l.length}break;case"</definedName>":{i.Ref=ze(Ke(e.slice(s,c)));t.Names.push(i)}break;case"<definedName/>":break;case"<calcPr":delete f[0];t.CalcPr=f;break;case"<calcPr/>":delete f[0];t.CalcPr=f;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 "+f[0]+" in workbook");}return l});if(pr.main.indexOf(t.xmlns)===-1)throw new Error("Unknown Namespace: "+t.xmlns);fs(t);return t}var bs=ur("workbook",null,{xmlns:pr.main[0],"xmlns:r":pr.r});function ws(e){var r=[De];r[r.length]=bs;var t=e.Workbook&&(e.Workbook.Names||[]).length>0;var a={codeName:"ThisWorkbook"};if(e.Workbook&&e.Workbook.WBProps){ns.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]=ur("workbookPr",null,a);var n=e.Workbook&&e.Workbook.Sheets||[];var i=0;if(n&&n[0]&&!!n[0].Hidden){r[r.length]="<bookViews>";for(i=0;i!=e.SheetNames.length;++i){if(!n[i])break;if(!n[i].Hidden)break}if(i==e.SheetNames.length)i=0;r[r.length]='<workbookView firstSheet="'+i+'" activeTab="'+i+'"/>';r[r.length]="</bookViews>"}r[r.length]="<sheets>";for(i=0;i!=e.SheetNames.length;++i){var s={name:$e(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]=ur("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.Hidden)t.hidden="1";if(!e.Ref)return;r[r.length]=ur("definedName",$e(e.Ref),t)});r[r.length]="</definedNames>"}if(r.length>2){r[r.length]="</workbook>";r[1]=r[1].replace("/>",">")}return r.join("")}function ys(e,r,t){if(r.slice(-4)===".bin")return parse_wb_bin(e,t);return gs(e,t)}function ks(e,r,t,a,n,i,s,o){if(r.slice(-4)===".bin")return parse_ws_bin(e,a,t,n,i,s,o);return Ei(e,a,t,n,i,s,o)}function xs(e,r,t,a,n,i,s,o){if(r.slice(-4)===".bin")return ts(e,a,t,n,i,s,o);return Qi(e,a,t,n,i,s,o)}function Ss(e,r,t,a,n,i,s,o){if(r.slice(-4)===".bin")return Zn(e,a,t,n,i,s,o);return Qn(e,a,t,n,i,s,o)}function _s(e,r,t,a,n,i,s,o){if(r.slice(-4)===".bin")return Jn(e,a,t,n,i,s,o);return Kn(e,a,t,n,i,s,o)}function Cs(e,r,t,a){if(r.slice(-4)===".bin")return parse_sty_bin(e,t,a);return Sn(e,t,a)}function As(e,r,t){return Rn(e,t)}function Es(e,r,t){if(r.slice(-4)===".bin")return parse_sst_bin(e,t);return Ha(e,t)}function Fs(e,r,t){if(r.slice(-4)===".bin")return parse_comments_bin(e,t);return $n(e,t)}function Ts(e,r,t){if(r.slice(-4)===".bin")return parse_cc_bin(e,r,t);return parse_cc_xml(e,r,t)}function Os(e,r,t,a){if(t.slice(-4)===".bin")return Bn(e,r,t,a);return Ln(e,r,t,a)}function Ds(e,r,t){return(r.slice(-4)===".bin"?write_wb_bin:ws)(e,t)}function Ms(e,r,t,a,n){return(r.slice(-4)===".bin"?write_ws_bin:qi)(e,t,a,n)}function Ns(e,r,t,a,n){return(r.slice(-4)===".bin"?as:es)(e,t,a,n)}function Ps(e,r,t){return(r.slice(-4)===".bin"?write_sty_bin:Cn)(e,t)}function Rs(e,r,t){return(r.slice(-4)===".bin"?write_sst_bin:Xa)(e,t)}function Is(e,r,t){return(r.slice(-4)===".bin"?write_comments_bin:Vn)(e,t)}var Ls=function(){function e(e,r){var t=r||{};if(m!=null&&t.dense==null)t.dense=m;var a=t.dense?[]:{};e=e.replace(/<!--.*?-->/g,"");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,o=i&&i.index||e.length;var l=ge(e.slice(s,o),/(:?<tr[^>]*>)/i,"<tr>");var c=-1,f=0,u=0,h=0;var d={s:{r:1e7,c:1e7},e:{r:0,c:0}};var p=[];for(s=0;s<l.length;++s){var v=l[s].trim();var g=v.slice(0,3).toLowerCase();if(g=="<tr"){++c;if(t.sheetRows&&t.sheetRows<=c){--c;break}f=0;continue}if(g!="<td"&&g!="<th")continue;var b=v.split(/<\/t[dh]>/i);for(o=0;o<b.length;++o){var w=b[o].trim();if(!w.match(/<t[dh]/i))continue;var y=w,k=0;while(y.charAt(0)=="<"&&(k=y.indexOf(">"))>-1)y=y.slice(k+1);for(var x=0;x<p.length;++x){var S=p[x];if(S.s.c==f&&S.s.r<c&&c<=S.e.r){f=S.e.c+1;x=-1}}var _=Ie(w.slice(0,w.indexOf(">")));h=_.colspan?+_.colspan:1;if((u=+_.rowspan)>1||h>1)p.push({s:{r:c,c:f},e:{r:c+(u||1)-1,c:f+h-1}});var C=_.t||_["data-t"]||"";if(!y.length){f+=h;continue}y=ar(y);if(d.s.r>c)d.s.r=c;if(d.e.r<c)d.e.r=c;if(d.s.c>f)d.s.c=f;if(d.e.c<f)d.e.c=f;if(!y.length)continue;var A={t:"s",v:y};if(t.raw||!y.trim().length||C=="s"){}else if(y==="TRUE")A={t:"b",v:true};else if(y==="FALSE")A={t:"b",v:false};else if(!isNaN(de(y)))A={t:"n",v:de(y)};else if(!isNaN(ve(y).getDate())){A={t:"d",v:ce(y)};if(!t.cellDates)A={t:"n",v:re(A.v)};A.z=t.dateNF||P._table[14]}if(t.dense){if(!a[c])a[c]=[];a[c][f]=A}else a[bt({r:c,c:f})]=A;f+=h}}a["!ref"]=yt(d);if(p.length)a["!merges"]=p;return a}function r(r,t){var a=r.match(/<table.*?>[\s\S]*?<\/table>/gi);if(!a||a.length==0)throw new Error("Invalid HTML: could not find <table>");if(a.length==1)return _t(e(a[0],t),t);var n=Qo.book_new();a.forEach(function(r,a){Qo.book_append_sheet(n,e(r,t),"Sheet"+(a+1))});return n}function t(e,r,t,a){var n=e["!merges"]||[];var i=[];for(var s=r.s.c;s<=r.e.c;++s){var o=0,l=0;for(var c=0;c<n.length;++c){if(n[c].s.r>t||n[c].s.c>s)continue;if(n[c].e.r<t||n[c].e.c<s)continue;if(n[c].s.r<t||n[c].s.c<s){o=-1;break}o=n[c].e.r-n[c].s.r+1;l=n[c].e.c-n[c].s.c+1;break}if(o<0)continue;var f=bt({r:t,c:s});var u=a.dense?(e[t]||[])[s]:e[f];var h=u&&u.v!=null&&(u.h||Xe(u.w||(St(u),u.w)||""))||"";var d={};if(o>1)d.rowspan=o;if(l>1)d.colspan=l;if(a.editable)h='<span contenteditable="true">'+h+"</span>";else if(u){d["data-t"]=u&&u.t||"z";if(u.v!=null)d["data-v"]=u.v;if(u.z!=null)d["data-z"]=u.z;if(u.l&&(u.l.Target||"#").charAt(0)!="#")h='<a href="'+u.l.Target+'">'+h+"</a>"}d.id=(a.id||"sjs")+"-"+f;i.push(ur("td",h,d))}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 o=s.header!=null?s.header:n;var l=s.footer!=null?s.footer:i;var c=[o];var f=wt(e["!ref"]);s.dense=Array.isArray(e);c.push(a(e,f,s));for(var u=f.s.r;u<=f.e.r;++u)c.push(t(e,f,u,s));c.push("</table>"+l);return c.join("")}return{to_workbook:r,to_sheet:e,_row:t,BEGIN:n,END:i,_preamble:a,from_sheet:s}}();function Bs(e,r,t){var a=t||{};if(m!=null)a.dense=m;var n=0,i=0;if(a.origin!=null){if(typeof a.origin=="number")n=a.origin;else{var s=typeof a.origin=="string"?gt(a.origin):a.origin;n=s.r;i=s.c}}
var o=r.getElementsByTagName("tr");var l=Math.min(a.sheetRows||1e7,o.length);var c={s:{r:0,c:0},e:{r:n,c:i}};if(e["!ref"]){var f=wt(e["!ref"]);c.s.r=Math.min(c.s.r,f.s.r);c.s.c=Math.min(c.s.c,f.s.c);c.e.r=Math.max(c.e.r,f.e.r);c.e.c=Math.max(c.e.c,f.e.c);if(n==-1)c.e.r=n=f.e.r+1}var u=[],h=0;var d=e["!rows"]||(e["!rows"]=[]);var p=0,v=0,g=0,b=0,w=0,y=0;if(!e["!cols"])e["!cols"]=[];for(;p<o.length&&v<l;++p){var k=o[p];if(Ws(k)){if(a.display)continue;d[v]={hidden:true}}var x=k.children;for(g=b=0;g<x.length;++g){var S=x[g];if(a.display&&Ws(S))continue;var _=S.hasAttribute("data-v")?S.getAttribute("data-v"):S.hasAttribute("v")?S.getAttribute("v"):ar(S.innerHTML);var C=S.getAttribute("data-z")||S.getAttribute("z");for(h=0;h<u.length;++h){var A=u[h];if(A.s.c==b+i&&A.s.r<v+n&&v+n<=A.e.r){b=A.e.c+1-i;h=-1}}y=+S.getAttribute("colspan")||1;if((w=+S.getAttribute("rowspan")||1)>1||y>1)u.push({s:{r:v+n,c:b+i},e:{r:v+n+(w||1)-1,c:b+i+(y||1)-1}});var E={t:"s",v:_};var F=S.getAttribute("data-t")||S.getAttribute("t")||"";if(_!=null){if(_.length==0)E.t=F||"z";else if(a.raw||_.trim().length==0||F=="s"){}else if(_==="TRUE")E={t:"b",v:true};else if(_==="FALSE")E={t:"b",v:false};else if(!isNaN(de(_)))E={t:"n",v:de(_)};else if(!isNaN(ve(_).getDate())){E={t:"d",v:ce(_)};if(!a.cellDates)E={t:"n",v:re(E.v)};E.z=a.dateNF||P._table[14]}}if(E.z===undefined&&C!=null)E.z=C;var T="",O=S.getElementsByTagName("A");if(O&&O.length)for(var D=0;D<O.length;++D)if(O[D].hasAttribute("href")){T=O[D].getAttribute("href");if(T.charAt(0)!="#")break}if(T&&T.charAt(0)!="#")E.l={Target:T};if(a.dense){if(!e[v+n])e[v+n]=[];e[v+n][b+i]=E}else e[bt({c:b+i,r:v+n})]=E;if(c.e.c<b+i)c.e.c=b+i;b+=y}++v}if(u.length)e["!merges"]=(e["!merges"]||[]).concat(u);c.e.r=Math.max(c.e.r,v-1+n);e["!ref"]=yt(c);if(v>=l)e["!fullref"]=yt((c.e.r=o.length-p+v-1+n,c));return e}function Us(e,r){var t=r||{};var a=t.dense?[]:{};return Bs(a,e,r)}function zs(e,r){return _t(Us(e,r),r)}function Ws(e){var r="";var t=js(e);if(t)r=t(e).getPropertyValue("display");if(!r)r=e.style&&e.style.display;return r==="none"}function js(e){if(e.ownerDocument.defaultView&&typeof e.ownerDocument.defaultView.getComputedStyle==="function")return e.ownerDocument.defaultView.getComputedStyle;if(typeof getComputedStyle==="function")return getComputedStyle;return null}var $s=function(){var e=function(e){var r=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");var t=ze(r.replace(/<[^>]*>/g,""));return[t]};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(m!=null&&i.dense==null)i.dense=m;var s=xlml_normalize(a);var o=[],l;var c;var f={name:""},u="",h=0;var d;var p;var v={},g=[];var b=i.dense?[]:{};var w,y;var k={value:""};var x="",S=0,_;var C=[];var A=-1,E=-1,F={s:{r:1e6,c:1e7},e:{r:0,c:0}};var T=0;var O={};var D=[],M={},N=0,P=0;var R=[],I=1,L=1;var B=[];var U={Names:[]};var z={};var W=["",""];var j=[],$={};var H="",V=0;var X=false,G=false;var Y=0;xlmlregex.lastIndex=0;s=s.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"");while(w=xlmlregex.exec(s))switch(w[3]=w[3].replace(/_.*$/,"")){case"table":;case"工作表":if(w[1]==="/"){if(F.e.c>=F.s.c&&F.e.r>=F.s.r)b["!ref"]=yt(F);else b["!ref"]="A1:A1";if(i.sheetRows>0&&i.sheetRows<=F.e.r){b["!fullref"]=b["!ref"];F.e.r=i.sheetRows-1;b["!ref"]=yt(F)}if(D.length)b["!merges"]=D;if(R.length)b["!rows"]=R;d.name=d["名称"]||d.name;if(typeof JSON!=="undefined")JSON.stringify(d);g.push(d.name);v[d.name]=b;G=false}else if(w[0].charAt(w[0].length-2)!=="/"){d=Ie(w[0],false);A=E=-1;F.s.r=F.s.c=1e7;F.e.r=F.e.c=0;b=i.dense?[]:{};D=[];R=[];G=true}break;case"table-row-group":if(w[1]==="/")--T;else++T;break;case"table-row":;case"行":if(w[1]==="/"){A+=I;I=1;break}p=Ie(w[0],false);if(p["行号"])A=p["行号"]-1;else if(A==-1)A=0;I=+p["number-rows-repeated"]||1;if(I<10)for(Y=0;Y<I;++Y)if(T>0)R[A+Y]={level:T};E=-1;break;case"covered-table-cell":if(w[1]!=="/")++E;if(i.sheetStubs){if(i.dense){if(!b[A])b[A]=[];b[A][E]={t:"z"}}else b[bt({r:A,c:E})]={t:"z"}}x="";C=[];break;case"table-cell":;case"数据":if(w[0].charAt(w[0].length-2)==="/"){++E;k=Ie(w[0],false);L=parseInt(k["number-columns-repeated"]||"1",10);y={t:"z",v:null};if(k.formula&&i.cellFormula!=false)y.f=ods_to_csf_formula(ze(k.formula));if((k["数据类型"]||k["value-type"])=="string"){y.t="s";y.v=ze(k["string-value"]||"");if(i.dense){if(!b[A])b[A]=[];b[A][E]=y}else{b[bt({r:A,c:E})]=y}}E+=L-1}else if(w[1]!=="/"){++E;x="";S=0;C=[];L=1;var q=I?A+I-1:A;if(E>F.e.c)F.e.c=E;if(E<F.s.c)F.s.c=E;if(A<F.s.r)F.s.r=A;if(q>F.e.r)F.e.r=q;k=Ie(w[0],false);j=[];$={};y={t:k["数据类型"]||k["value-type"],v:null};if(i.cellFormula){if(k.formula)k.formula=ze(k.formula);if(k["number-matrix-columns-spanned"]&&k["number-matrix-rows-spanned"]){N=parseInt(k["number-matrix-rows-spanned"],10)||0;P=parseInt(k["number-matrix-columns-spanned"],10)||0;M={s:{r:A,c:E},e:{r:A+N-1,c:E+P-1}};y.F=yt(M);B.push([M,y.F])}if(k.formula)y.f=ods_to_csf_formula(k.formula);else for(Y=0;Y<B.length;++Y)if(A>=B[Y][0].s.r&&A<=B[Y][0].e.r)if(E>=B[Y][0].s.c&&E<=B[Y][0].e.c)y.F=B[Y][1]}if(k["number-columns-spanned"]||k["number-rows-spanned"]){N=parseInt(k["number-rows-spanned"],10)||0;P=parseInt(k["number-columns-spanned"],10)||0;M={s:{r:A,c:E},e:{r:A+N-1,c:E+P-1}};D.push(M)}if(k["number-columns-repeated"])L=parseInt(k["number-columns-repeated"],10);switch(y.t){case"boolean":y.t="b";y.v=Je(k["boolean-value"]);break;case"float":y.t="n";y.v=parseFloat(k.value);break;case"percentage":y.t="n";y.v=parseFloat(k.value);break;case"currency":y.t="n";y.v=parseFloat(k.value);break;case"date":y.t="d";y.v=ce(k["date-value"]);if(!i.cellDates){y.t="n";y.v=re(y.v)}y.z="m/d/yy";break;case"time":y.t="n";y.v=se(k["time-value"])/86400;if(i.cellDates){y.t="d";y.v=ie(y.v)}y.z="HH:MM:SS";break;case"number":y.t="n";y.v=parseFloat(k["数据数值"]);break;default:if(y.t==="string"||y.t==="text"||!y.t){y.t="s";if(k["string-value"]!=null){x=ze(k["string-value"]);C=[]}}else throw new Error("Unsupported value type "+y.t);}}else{X=false;if(y.t==="s"){y.v=x||"";if(C.length)y.R=C;X=S==0}if(z.Target)y.l=z;if(j.length>0){y.c=j;j=[]}if(x&&i.cellText!==false)y.w=x;if(X){y.t="z";delete y.v}if(!X||i.sheetStubs){if(!(i.sheetRows&&i.sheetRows<=A)){for(var J=0;J<I;++J){L=parseInt(k["number-columns-repeated"]||"1",10);if(i.dense){if(!b[A+J])b[A+J]=[];b[A+J][E]=J==0?y:ue(y);while(--L>0)b[A+J][E+L]=ue(y)}else{b[bt({r:A+J,c:E})]=y;while(--L>0)b[bt({r:A+J,c:E+L})]=ue(y)}if(F.e.c<=E)F.e.c=E}}}L=parseInt(k["number-columns-repeated"]||"1",10);E+=L-1;L=0;y={};x="";C=[]}z={};break;case"document":;case"document-content":;case"电子表格文档":;case"spreadsheet":;case"主体":;case"scripts":;case"styles":;case"font-face-decls":;case"master-styles":if(w[1]==="/"){if((l=o.pop())[0]!==w[3])throw"Bad state: "+l}else if(w[0].charAt(w[0].length-2)!=="/")o.push([w[3],true]);break;case"annotation":if(w[1]==="/"){if((l=o.pop())[0]!==w[3])throw"Bad state: "+l;$.t=x;if(C.length)$.R=C;$.a=H;j.push($)}else if(w[0].charAt(w[0].length-2)!=="/"){o.push([w[3],false])}H="";V=0;x="";S=0;C=[];break;case"creator":if(w[1]==="/"){H=s.slice(V,w.index)}else V=w.index+w[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(w[1]==="/"){if((l=o.pop())[0]!==w[3])throw"Bad state: "+l}else if(w[0].charAt(w[0].length-2)!=="/")o.push([w[3],false]);x="";S=0;C=[];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(w[1]==="/"){O[f.name]=u;if((l=o.pop())[0]!==w[3])throw"Bad state: "+l}else if(w[0].charAt(w[0].length-2)!=="/"){u="";f=Ie(w[0],false);o.push([w[3],true])}break;case"script":break;case"libraries":break;case"automatic-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(o[o.length-1][0]){case"time-style":;case"date-style":c=Ie(w[0],false);u+=r[w[3]][c.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(o[o.length-1][0]){case"time-style":;case"date-style":c=Ie(w[0],false);u+=r[w[3]][c.style==="long"?1:0];break;}break;case"boolean-style":break;case"boolean":break;case"text-style":break;case"text":if(w[0].slice(-2)==="/>")break;else if(w[1]==="/")switch(o[o.length-1][0]){case"number-style":;case"date-style":;case"time-style":u+=s.slice(h,w.index);break;}else h=w.index+w[0].length;break;case"named-range":c=Ie(w[0],false);W=ods_to_csf_3D(c["cell-range-address"]);var K={Name:c.name,Ref:W[0]+"!"+W[1]};if(G)K.Sheet=g.length;U.Names.push(K);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(["master-styles"].indexOf(o[o.length-1][0])>-1)break;if(w[1]==="/"&&(!k||!k["string-value"])){var Z=e(s.slice(S,w.index),_);x=(x.length>0?x+"\n":"")+Z[0]}else{_=Ie(w[0],false);S=w.index+w[0].length}break;case"s":break;case"database-range":if(w[1]==="/")break;try{W=ods_to_csf_3D(Ie(w[0])["target-range-address"]);v[W[0]]["!autofilter"]={ref:W[1]}}catch(Q){}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(w[1]!=="/"){z=Ie(w[0],false);if(!z.href)break;z.Target=ze(z.href);delete z.href;if(z.Target.charAt(0)=="#"&&z.Target.indexOf(".")>-1){W=ods_to_csf_3D(z.Target.slice(1));z.Target="#"+W[0]+"!"+W[1]}else if(z.Target.match(/^\.\.[\\\/]/))z.Target=z.Target.slice(3)}break;case"table-protection":break;case"data-pilot-grand-total":break;case"office-document-common-attrs":break;default:switch(w[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(w);};}var ee={Sheets:v,SheetNames:g,Workbook:U};if(i.bookSheets)delete ee.Sheets;return ee}}();function Hs(e,r){r=r||{};if(ke(e,"META-INF/manifest.xml"))parse_manifest(Se(e,"META-INF/manifest.xml"),r);var t=_e(e,"content.xml");if(!t)throw new Error("Missing content.xml in ODS / UOF file");var a=$s(Ke(t),r);if(ke(e,"meta.xml"))a.Props=pa(Se(e,"meta.xml"));return a}function Vs(e,r){return $s(e,r)}var Xs=function(){var e=["<office:master-styles>",'<style:master-page style:name="mp1" style:page-layout-name="mp1">',"<style:header/>",'<style:header-left style:display="false"/>',"<style:footer/>",'<style:footer-left style:display="false"/>',"</style:master-page>","</office:master-styles>"].join("");var r="<office:document-styles "+fr({"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"})+">"+e+"</office:document-styles>";return function t(){return De+r}}();var Gs=function(){var e=function(e){return $e(e).replace(/ +/g,function(e){return'<text:s text:c="'+e.length+'"/>'}).replace(/\t/g,"<text:tab/>").replace(/\n/g,"</text:p><text:p>").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="'+$e(n.SheetNames[i])+'" table:style-name="ta1">\n');var o=0,l=0,c=wt(a["!ref"]||"A1");var f=a["!merges"]||[],u=0;var h=Array.isArray(a);if(a["!cols"]){for(l=0;l<=c.e.c;++l)s.push(" <table:table-column"+(a["!cols"][l]?' table:style-name="co'+a["!cols"][l].ods+'"':"")+"></table:table-column>\n")}var d="",p=a["!rows"]||[];for(o=0;o<c.s.r;++o){d=p[o]?' table:style-name="ro'+p[o].ods+'"':"";s.push(" <table:table-row"+d+"></table:table-row>\n")}for(;o<=c.e.r;++o){d=p[o]?' table:style-name="ro'+p[o].ods+'"':"";s.push(" <table:table-row"+d+">\n");for(l=0;l<c.s.c;++l)s.push(r);for(;l<=c.e.c;++l){var v=false,m={},g="";for(u=0;u!=f.length;++u){if(f[u].s.c>l)continue;if(f[u].s.r>o)continue;if(f[u].e.c<l)continue;if(f[u].e.r<o)continue;if(f[u].s.c!=l||f[u].s.r!=o)v=true;m["table:number-columns-spanned"]=f[u].e.c-f[u].s.c+1;m["table:number-rows-spanned"]=f[u].e.r-f[u].s.r+1;break}if(v){s.push(t);continue}var b=bt({r:o,c:l}),w=h?(a[o]||[])[l]:a[b];if(w&&w.f){m["table:formula"]=$e(csf_to_ods_formula(w.f));if(w.F){if(w.F.slice(0,b.length)==b){var y=wt(w.F);m["table:number-matrix-columns-spanned"]=y.e.c-y.s.c+1;m["table:number-matrix-rows-spanned"]=y.e.r-y.s.r+1}}}if(!w){s.push(r);continue}switch(w.t){case"b":g=w.v?"TRUE":"FALSE";m["office:value-type"]="boolean";m["office:boolean-value"]=w.v?"true":"false";break;case"n":g=w.w||String(w.v||0);m["office:value-type"]="float";m["office:value"]=w.v||0;break;case"s":;case"str":g=w.v==null?"":w.v;m["office:value-type"]="string";break;case"d":g=w.w||ce(w.v).toISOString();m["office:value-type"]="date";m["office:date-value"]=ce(w.v).toISOString();m["table:style-name"]="ce1";break;default:s.push(r);continue;}var k=e(g);if(w.l&&w.l.Target){var x=w.l.Target;x=x.charAt(0)=="#"?"#"+csf_to_ods_3D(x.slice(1)):x;if(x.charAt(0)!="#"&&!x.match(/^\w+:/))x="../"+x;k=ur("text:a",k,{"xlink:href":x.replace(/&/g,"&amp;")})}s.push(" "+ur("table:table-cell",ur("text:p",k,{}),m)+"\n")}s.push(" </table:table-row>\n")}s.push(" </table:table>\n");return s.join("")};var n=function(e,r){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");var t=0;r.SheetNames.map(function(e){return r.Sheets[e]}).forEach(function(r){if(!r)return;if(r["!cols"]){for(var a=0;a<r["!cols"].length;++a)if(r["!cols"][a]){var n=r["!cols"][a];if(n.width==null&&n.wpx==null&&n.wch==null)continue;ln(n);n.ods=t;var i=r["!cols"][a].wpx+"px";e.push(' <style:style style:name="co'+t+'" style:family="table-column">\n');e.push(' <style:table-column-properties fo:break-before="auto" style:column-width="'+i+'"/>\n');e.push(" </style:style>\n");++t}}});var a=0;r.SheetNames.map(function(e){return r.Sheets[e]}).forEach(function(r){if(!r)return;if(r["!rows"]){for(var t=0;t<r["!rows"].length;++t)if(r["!rows"][t]){r["!rows"][t].ods=a;var n=r["!rows"][t].hpx+"px";e.push(' <style:style style:name="ro'+a+'" style:family="table-row">\n');e.push(' <style:table-row-properties fo:break-before="auto" style:row-height="'+n+'"/>\n');e.push(" </style:style>\n");++a}}});e.push(' <style:style style:name="ta1" style:family="table" style:master-page-name="mp1">\n');e.push(' <style:table-properties table:display="true" style:writing-mode="lr-tb"/>\n');e.push(" </style:style>\n");e.push(' <style:style style:name="ce1" style:family="table-cell" style:parent-style-name="Default" style:data-style-name="N37"/>\n');e.push(" </office:automatic-styles>\n")};return function i(e,r){var t=[De];var i=fr({"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=fr({"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");t.push(write_meta_ods().replace(/office:document-meta/g,"office:meta"))}else t.push("<office:document-content"+i+">\n");n(t,e);t.push(" <office:body>\n");t.push(" <office:spreadsheet>\n");for(var o=0;o!=e.SheetNames.length;++o)t.push(a(e.Sheets[e.SheetNames[o]],e,o,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 Ys(e,r){if(r.bookType=="fods")return Gs(e,r);var t=Fe();var a="";var n=[];var i=[];a="mimetype";Ee(t,a,"application/vnd.oasis.opendocument.spreadsheet");a="content.xml";Ee(t,a,Gs(e,r));n.push([a,"text/xml"]);i.push([a,"ContentFile"]);a="styles.xml";Ee(t,a,Xs(e,r));n.push([a,"text/xml"]);i.push([a,"StylesFile"]);a="meta.xml";Ee(t,a,De+write_meta_ods());n.push([a,"text/xml"]);i.push([a,"MetadataFile"]);a="manifest.rdf";Ee(t,a,write_rdf(i));n.push([a,"application/rdf+xml"]);a="META-INF/manifest.xml";Ee(t,a,write_manifest(n));return t}var qs=!Object.defineProperty?void 0:function(){var e=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var t=Object.getOwnPropertyNames;var a=Object.prototype.hasOwnProperty;var n=function(r){return e(r,"__esModule",{value:true})};var i=function(r,t){for(var a in t)e(r,a,{get:t[a],enumerable:true})};var s=function(n,i,s,o){if(i&&typeof i==="object"||typeof i==="function")for(var l=t(i),c=0,f=l.length,u;c<f;c++){u=l[c];if(!a.call(n,u)&&(s||u!=="default"))e(n,u,{get:function(e){return i[e]}.bind(null,u),enumerable:!(o=r(i,u))||o.enumerable})}return n};var o=function(e){return function(r,t){return e&&e.get(r)||(t=s(n({}),r,1),e&&e.set(r,t),t)}}(typeof WeakMap!=="undefined"?new WeakMap:0);var l={};i(l,{parse_numbers:function(){return D}});var c=function(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)};var f=function(e){return typeof TextDecoder!="undefined"?(new TextDecoder).decode(e):Ke(E(e))};var u=function(e){var r=e.reduce(function(e,r){return e+r.length},0);var t=new Uint8Array(r);var a=0;e.forEach(function(e){t.set(e,a);a+=e.length});return t};var h=function(e){e-=e>>1&1431655765;e=(e&858993459)+(e>>2&858993459);return(e+(e>>4)&252645135)*16843009>>>24};var d=function(e,r){var t=(e[r+15]&127)<<7|e[r+14]>>1;var a=e[r+14]&1;for(var n=r+13;n>=r;--n)a=a*256+e[n];return(e[r+15]&128?-a:a)*Math.pow(10,t-6176)};function p(e,r){var t=r?r[0]:0;var a=e[t]&127;e:if(e[t++]>=128){a|=(e[t]&127)<<7;if(e[t++]<128)break e;a|=(e[t]&127)<<14;if(e[t++]<128)break e;a|=(e[t]&127)<<21;if(e[t++]<128)break e;a+=(e[t]&127)*Math.pow(2,28);++t;if(e[t++]<128)break e;a+=(e[t]&127)*Math.pow(2,35);++t;if(e[t++]<128)break e;a+=(e[t]&127)*Math.pow(2,42);++t;if(e[t++]<128)break e}if(r)r[0]=t;return a}function v(e){var r=0,t=e[r]&127;e:if(e[r++]>=128){t|=(e[r]&127)<<7;if(e[r++]<128)break e;t|=(e[r]&127)<<14;if(e[r++]<128)break e;t|=(e[r]&127)<<21;if(e[r++]<128)break e;t|=(e[r]&127)<<28}return t}function m(e){var r=[],t=[0];while(t[0]<e.length){var a=t[0];var n=p(e,t);var i=n&7;n=Math.floor(n/8);var s=0;var o;if(n==0)break;switch(i){case 0:{var l=t[0];while(e[t[0]++]>=128);o=e.slice(l,t[0])}break;case 5:s=4;o=e.slice(t[0],t[0]+s);t[0]+=s;break;case 1:s=8;o=e.slice(t[0],t[0]+s);t[0]+=s;break;case 2:s=p(e,t);o=e.slice(t[0],t[0]+s);t[0]+=s;break;case 3:;case 4:;default:throw new Error("PB Type ".concat(i," for Field ").concat(n," at offset ").concat(a));}var c={offset:a,data:o,type:i};if(r[n]==null)r[n]=[c];else r[n].push(c)}return r}function g(e,r){if(!e)return[];return e.map(function(e){var t;try{return r(e.data)}catch(a){var n=(t=a.message)==null?void 0:t.match(/at offset (\d+)/);if(n)a.message=a.message.replace(/at offset (\d+)/,"at offset "+(+n[1]+e.offset));throw a}})}function b(e){var r=[];var t=0;while(t<e.length){var a=e[t++];var n=e[t]|e[t+1]<<8|e[t+2]<<16;t+=3;r.push(w(a,e.slice(t,t+n)));t+=n}if(t!==e.length)throw new Error("data is not a valid framed stream!");return u(r)}function w(e,r){if(e!=0)throw new Error("Unexpected Snappy chunk type ".concat(e));var t=[0];var a=p(r,t);var n=[];while(t[0]<r.length){var i=r[t[0]]&3;if(i==0){var s=r[t[0]++]>>2;if(s<60)++s;else{var o=s-59;s=r[t[0]];if(o>1)s|=r[t[0]+1]<<8;if(o>2)s|=r[t[0]+2]<<16;if(o>3)s|=r[t[0]+3]<<24;s>>>=0;s++;t[0]+=o}n.push(r.slice(t[0],t[0]+s));t[0]+=s;continue}else{var l=0,c=0;if(i==1){c=(r[t[0]]>>2&7)+4;l=(r[t[0]++]&224)<<3;l|=r[t[0]++]}else{c=(r[t[0]++]>>2)+1;if(i==2){l=r[t[0]]|r[t[0]+1]<<8;t[0]+=2}else{l=(r[t[0]]|r[t[0]+1]<<8|r[t[0]+2]<<16|r[t[0]+3]<<24)>>>0;t[0]+=4}}n=[u(n)];if(l==0)throw new Error("Invalid offset 0");if(l>n[0].length)throw new Error("Invalid offset beyond length");if(c>=l){n.push(n[0].slice(-l));c-=l;while(c>=n[n.length-1].length){n.push(n[n.length-1]);c-=n[n.length-1].length}}n.push(n[0].slice(-l,-l+c))}}var f=u(n);if(f.length!=a)throw new Error("Unexpected length: ".concat(f.length," != ").concat(a));return f}function y(e){var r=[],t=[0];while(t[0]<e.length){var a=p(e,t);var n=m(e.slice(t[0],t[0]+a));t[0]+=a;var i={id:v(n[1][0].data),messages:[]};n[2].forEach(function(r){var a=m(r.data);var n=v(a[3][0].data);i.messages.push({meta:a,data:e.slice(t[0],t[0]+n)});t[0]+=n});r.push(i)}return r}function k(e,r,t){var a=c(e);var n=e[e[0]==4?1:2];var i=a.getUint32(4,true);var s=12+h(i&3470)*4;var o=-1,l=-1,f=NaN,u=new Date(2001,0,1);if(i&512){o=a.getUint32(s,true);s+=4}s+=h(i&12288)*4;if(i&16){l=a.getUint32(s,true);s+=4}if(i&32){f=a.getFloat64(s,true);s+=8}if(i&64){u.setTime(u.getTime()+a.getFloat64(s,true)*1e3);s+=8}var d;switch(n){case 0:break;case 2:d={t:"n",v:f};break;case 3:d={t:"s",v:r[l]};break;case 5:d={t:"d",v:u};break;case 6:d={t:"b",v:f>0};break;case 7:d={t:"n",v:f};break;case 8:d={t:"e",v:0};break;case 9:{if(o>-1)d={t:"s",v:t[o]};else if(l>-1)d={t:"s",v:r[l]};else if(!isNaN(f))d={t:"n",v:f};else throw new Error("Unsupported cell type ".concat(e.slice(0,4)))}break;default:throw new Error("Unsupported cell type ".concat(e.slice(0,4)));}return d}function x(e,r,t){var a=c(e);var n=e[1];var i=a.getUint32(8,true);var s=12;var o=-1,l=-1,f=NaN,u=NaN,h=new Date(2001,0,1);if(i&1){f=d(e,s);s+=16}if(i&2){u=a.getFloat64(s,true);s+=8}if(i&4){h.setTime(h.getTime()+a.getFloat64(s,true)*1e3);s+=8}if(i&8){l=a.getUint32(s,true);s+=4}if(i&16){o=a.getUint32(s,true);s+=4}var p;switch(n){case 0:break;case 2:p={t:"n",v:f};break;case 3:p={t:"s",v:r[l]};break;case 5:p={t:"d",v:h};break;case 6:p={t:"b",v:u>0};break;case 7:p={t:"n",v:u};break;case 8:p={t:"e",v:0};break;case 9:{if(o>-1)p={t:"s",v:t[o]};else throw new Error("Unsupported cell type ".concat(n," : ").concat(i&31," : ").concat(e.slice(0,4)))}break;case 10:p={t:"n",v:f};break;default:throw new Error("Unsupported cell type ".concat(n," : ").concat(i&31," : ").concat(e.slice(0,4)));}return p}function S(e,r,t){switch(e[0]){case 3:;case 4:return k(e,r,t);case 5:return x(e,r,t);default:throw new Error("Unsupported payload version ".concat(e[0]));}}var _=function(e){var r="";for(++e;e;e=Math.floor((e-1)/26))r=String.fromCharCode((e-1)%26+65)+r;return r};var C=function(e){return"".concat(_(e.c)).concat(e.r+1)};var A=function(e){return C(e.s)+":"+C(e.e)};var F=function(){return{Sheets:{},SheetNames:[]}};var T=function(e,r,t){if(!t)for(var a=1;a<9999;++a){if(e.SheetNames.indexOf(t="Sheet ".concat(a))==-1)break}else if(e.SheetNames.indexOf(t)>-1)for(var a=1;a<9999;++a){if(e.SheetNames.indexOf("".concat(t,"_").concat(a))==-1){t="".concat(t,"_").concat(a);break}}e.SheetNames.push(t);e.Sheets[t]=r};function O(e){var r=[];e.FullPaths.forEach(function(e){if(e.match(/\.iwpv2/))throw new Error("Unsupported password protection")});e.FileIndex.forEach(function(e){if(!e.name.match(/\.iwa$/))return;var t;try{t=b(e.content)}catch(a){return console.log("?? "+e.content.length+" "+(a.message||a))}var n;try{n=y(t)}catch(a){return console.log("## "+(a.message||a))}n.forEach(function(e){r[+e.id]=e.messages})});if(!r.length)throw new Error("File has no messages");var t;r.forEach(function(e){e.forEach(function(e){var r=v(e.meta[1][0].data)>>>0;if(r==1){if(!t)t=e;else throw new Error("Document has multiple roots")}})});if(!t)throw new Error("Cannot find Document root");return U(r,t)}var D=O;function M(e){var r=m(e);return p(r[1][0].data)}function N(e,r){var t=m(r.data);var a=v(t[1][0].data);var n=t[3];var i=[];(n||[]).forEach(function(r){var t=m(r.data);var n=v(t[1][0].data)>>>0;switch(a){case 1:i[n]=f(t[3][0].data);break;case 8:{var s=e[M(t[9][0].data)][0];var o=m(s.data);var l=e[M(o[1][0].data)][0];var c=v(l.meta[1][0].data);if(c!=2001)throw new Error("2000 unexpected reference to ".concat(c));var u=m(l.data);i[n]=u[3].map(function(e){return f(e.data)}).join("")}break;}});return i}function P(e){var r,t,a,n,i,s,o,l,f,u;var h=m(e);var d=v(h[1][0].data)>>>0;var p=(t=(r=h[3])==null?void 0:r[0])==null?void 0:t.data;var g=((n=(a=h[4])==null?void 0:a[0])==null?void 0:n.data)&&c(h[4][0].data);var b=(s=(i=h[6])==null?void 0:i[0])==null?void 0:s.data;var w=((l=(o=h[7])==null?void 0:o[0])==null?void 0:l.data)&&c(h[7][0].data);var y=((u=(f=h[8])==null?void 0:f[0])==null?void 0:u.data)&&v(h[8][0].data)>0||false;var k=y?4:1;var x=[];var S=0;for(var _=0;_<g.byteLength/2;++_){if(b&&w){S=w.getUint16(_*2,true)*k;if(S<b.length){x[_]=b.subarray(S,w.getUint16(_*2+2,true)*k);continue}}if(p&&g){S=g.getUint16(_*2,true)*k;if(S<p.length)x[_]=p.subarray(S,g.getUint16(_*2+2,true)*k)}}return{R:d,cells:x}}function R(e,r){var t=m(r.data);var a=g(t[5],P);return a.reduce(function(e,r){if(!e[r.R])e[r.R]=[];r.cells.forEach(function(t,a){if(e[r.R][a])throw new Error("Duplicate cell r=".concat(r.R," c=").concat(a));e[r.R][a]=t});return e},[])}function I(e,r,t){var a;var n=m(r.data);var i={s:{r:0,c:0},e:{r:0,c:0}};i.e.r=(v(n[6][0].data)>>>0)-1;if(i.e.r<0)throw new Error("Invalid row varint ".concat(n[6][0].data));i.e.c=(v(n[7][0].data)>>>0)-1;if(i.e.c<0)throw new Error("Invalid col varint ".concat(n[7][0].data));t["!ref"]=A(i);{var s=m(n[4][0].data);var o=N(e,e[M(s[4][0].data)][0]);var l=((a=s[17])==null?void 0:a[0])?N(e,e[M(s[17][0].data)][0]):[];{var c=m(s[3][0].data);var f=[];c[1].forEach(function(r){var t=m(r.data);var a=e[M(t[2][0].data)][0];var n=v(a.meta[1][0].data);if(n!=6002)throw new Error("6001 unexpected reference to ".concat(n));f.push({id:v(t[1][0].data),ref:R(e,a)})});f.forEach(function(e){e.ref.forEach(function(e,r){e.forEach(function(e,a){var n=C({r:r,c:a});var i=S(e,o,l);if(i)t[n]=i})})})}}}function L(e,r){var t=m(r.data);var a={"!ref":"A1"};var n=e[M(t[2][0].data)];var i=v(n[0].meta[1][0].data);if(i!=6001)throw new Error("6000 unexpected reference to ".concat(i));I(e,n[0],a);return a}function B(e,r){var t;var a=m(r.data);var n={name:((t=a[1])==null?void 0:t[0])?f(a[1][0].data):"",sheets:[]};var i=g(a[2],M);i.forEach(function(r){e[r].forEach(function(r){var t=v(r.meta[1][0].data);if(t==6e3)n.sheets.push(L(e,r))})});return n}function U(e,r){var t=F();var a=m(r.data);var n=g(a[1],M);n.forEach(function(r){e[r].forEach(function(r){var a=v(r.meta[1][0].data);if(a==2){var n=B(e,r);n.sheets.forEach(function(e){T(t,e,n.name);
})}})});if(t.SheetNames.length==0)throw new Error("Empty NUMBERS file");return t}return o(l)}();function Js(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 Ks=function(e){Js([["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]])(e)};var Zs=Js([["cellDates",false],["bookSST",false],["bookType","xlsx"],["compression",false],["WTF",false]]);function Qs(e){if(ia.WS.indexOf(e)>-1)return"sheet";if(ia.CS&&e==ia.CS)return"chart";if(ia.DS&&e==ia.DS)return"dialog";if(ia.MS&&e==ia.MS)return"macro";return e&&e.length?e:"sheet"}function eo(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,Qs(e["!id"][r.id].Type)]})}catch(t){return null}return!e||e.length===0?null:e}function ro(e,r,t,a,n,i,s,o,l,c,f,u){try{i[a]=oa(_e(e,t,true),r);var h=Se(e,r);var d;switch(o){case"sheet":d=ks(h,r,n,l,i[a],c,f,u);break;case"chart":d=xs(h,r,n,l,i[a],c,f,u);if(!d||!d["!drawel"])break;var p=Oe(d["!drawel"].Target,r);var v=sa(p);var m=Un(_e(e,p,true),oa(_e(e,v,true),p));var g=Oe(m,p);var b=sa(g);d=Ki(_e(e,g,true),g,l,oa(_e(e,b,true),g),c,d);break;case"macro":d=Ss(h,r,n,l,i[a],c,f,u);break;case"dialog":d=_s(h,r,n,l,i[a],c,f,u);break;default:throw new Error("Unrecognized sheet type "+o);}s[a]=d;var w=[];if(i&&i[a])q(i[a]).forEach(function(t){if(i[a][t].Type==ia.CMNT){var n=Oe(i[a][t].Target,r);w=Fs(Se(e,n,true),n,l);if(!w||!w.length)return;jn(d,w)}})}catch(y){if(l.WTF)throw y}}function to(e){return e.charAt(0)=="/"?e.slice(1):e}function ao(e,r){R(P);r=r||{};Ks(r);if(ke(e,"META-INF/manifest.xml"))return Hs(e,r);if(ke(e,"objectdata.xml"))return Hs(e,r);if(ke(e,"Index/Document.iwa")){if(typeof Uint8Array=="undefined")throw new Error("NUMBERS file parsing requires Uint8Array support");if(typeof qs!="undefined"){if(e.FileIndex)return qs.parse_numbers(e);var t=H.utils.cfb_new();Ae(e).forEach(function(r){Ee(t,r,Ce(e,r))});return qs.parse_numbers(t)}throw new Error("Unsupported NUMBERS file")}if(!ke(e,"[Content_Types].xml")){if(ke(e,"index.xml.gz"))throw new Error("Unsupported NUMBERS 08 file");if(ke(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Error("Unsupported ZIP file")}var a=Ae(e);var n=ra(_e(e,"[Content_Types].xml"));var i=false;var s,o;if(n.workbooks.length===0){o="xl/workbook.xml";if(Se(e,o,true))n.workbooks.push(o)}if(n.workbooks.length===0){o="xl/workbook.bin";if(!Se(e,o,true))throw new Error("Could not find workbook");n.workbooks.push(o);i=true}if(n.workbooks[0].slice(-3)=="bin")i=true;var l={};var c={};if(!r.bookSheets&&!r.bookProps){oi=[];if(n.sst)try{oi=Es(Se(e,to(n.sst)),n.sst,r)}catch(f){if(r.WTF)throw f}if(r.cellStyles&&n.themes.length)l=As(_e(e,n.themes[0].replace(/^\//,""),true)||"",n.themes[0],r);if(n.style)c=Cs(Se(e,to(n.style)),n.style,l,r)}n.links.map(function(t){try{var a=oa(_e(e,sa(to(t))),t);return Os(Se(e,to(t)),a,t,r)}catch(n){}});var u=ys(Se(e,to(n.workbooks[0])),n.workbooks[0],r);var h={},d="";if(n.coreprops.length){d=Se(e,to(n.coreprops[0]),true);if(d)h=pa(d);if(n.extprops.length!==0){d=Se(e,to(n.extprops[0]),true);if(d)ka(d,h,r)}}var p={};if(!r.bookSheets||r.bookProps){if(n.custprops.length!==0){d=_e(e,to(n.custprops[0]),true);if(d)p=Ca(d,r)}}var v={};if(r.bookSheets||r.bookProps){if(u.Sheets)s=u.Sheets.map(function D(e){return e.name});else if(h.Worksheets&&h.SheetNames.length>0)s=h.SheetNames;if(r.bookProps){v.Props=h;v.Custprops=p}if(r.bookSheets&&typeof s!=="undefined")v.SheetNames=s;if(r.bookSheets?v.SheetNames:r.bookProps)return v}s={};var m={};if(r.bookDeps&&n.calcchain)m=Ts(Se(e,to(n.calcchain)),n.calcchain,r);var g=0;var b={};var w,y;{var k=u.Sheets;h.Worksheets=k.length;h.SheetNames=[];for(var x=0;x!=k.length;++x){h.SheetNames[x]=k[x].name}}var S=i?"bin":"xml";var _=n.workbooks[0].lastIndexOf("/");var C=(n.workbooks[0].slice(0,_+1)+"_rels/"+n.workbooks[0].slice(_+1)+".rels").replace(/^\//,"");if(!ke(e,C))C="xl/_rels/workbook."+S+".rels";var A=oa(_e(e,C,true),C);if(A)A=eo(A,u.Sheets);var E=Se(e,"xl/worksheets/sheet.xml",true)?1:0;e:for(g=0;g!=h.Worksheets;++g){var F="sheet";if(A&&A[g]){w="xl/"+A[g][1].replace(/[\/]?xl\//,"");if(!ke(e,w))w=A[g][1];if(!ke(e,w))w=C.replace(/_rels\/.*$/,"")+A[g][1];F=A[g][2]}else{w="xl/worksheets/sheet"+(g+1-E)+"."+S;w=w.replace(/sheet0\./,"sheet.")}y=w.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels");if(r&&r.sheets!=null)switch(typeof r.sheets){case"number":if(g!=r.sheets)continue e;break;case"string":if(h.SheetNames[g].toLowerCase()!=r.sheets.toLowerCase())continue e;break;default:if(Array.isArray&&Array.isArray(r.sheets)){var T=false;for(var O=0;O!=r.sheets.length;++O){if(typeof r.sheets[O]=="number"&&r.sheets[O]==g)T=1;if(typeof r.sheets[O]=="string"&&r.sheets[O].toLowerCase()==h.SheetNames[g].toLowerCase())T=1}if(!T)continue e};}ro(e,w,y,h.SheetNames[g],g,b,s,F,r,u,l,c)}v={Directory:n,Workbook:u,Props:h,Custprops:p,Deps:m,Sheets:s,SheetNames:h.SheetNames,Strings:oi,Styles:c,Themes:l,SSF:P.get_table()};if(r&&r.bookFiles){if(e.files){v.keys=a;v.files=e.files}else{v.keys=[];v.files={};e.FullPaths.forEach(function(r,t){r=r.replace(/^Root Entry[\/]/,"");v.keys.push(r);v.files[r]=e.FileIndex[t]})}}if(r&&r.bookVBA){if(n.vba.length>0)v.vbaraw=Se(e,to(n.vba[0]),true);else if(n.defaults&&n.defaults.bin===Xn)v.vbaraw=Se(e,"xl/vbaProject.bin",true)}return v}function no(e,r){var t=r||{};var a="Workbook",n=H.find(e,a);try{a="/!DataSpaces/Version";n=H.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);parse_DataSpaceVersionInfo(n.content);a="/!DataSpaces/DataSpaceMap";n=H.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var i=parse_DataSpaceMap(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=H.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var s=parse_DataSpaceDefinition(n.content);if(s.length!=1||s[0]!="StrongEncryptionTransform")throw new Error("ECMA-376 Encrypted file bad "+a);a="/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary";n=H.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);parse_Primary(n.content)}catch(o){}a="/EncryptionInfo";n=H.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var l=parse_EncryptionInfo(n.content);a="/EncryptedPackage";n=H.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 io(e,r){if(r.bookType=="ods")return Ys(e,r);return so(e,r)}function so(e,r){zn=1024;if(e&&!e.SSF){e.SSF=P.get_table()}if(e&&e.SSF){R(P);P.load_table(e.SSF);r.revssf=Z(e.SSF);r.revssf[e.SSF[65535]]=0;r.ssf=e.SSF}r.rels={};r.wbrels={};r.Strings=[];r.Strings.Count=0;r.Strings.Unique=0;if(ci)r.revStrings=new Map;else{r.revStrings={};r.revStrings.foo=[];delete r.revStrings.foo}var t=r.bookType=="xlsb"?"bin":"xml";var a=qn.indexOf(r.bookType)>-1;var n=ea();Zs(r=r||{});var i=Fe();var s="",o=0;r.cellXfs=[];di(r.cellXfs,{},{revssf:{General:0}});if(!e.Props)e.Props={};s="docProps/core.xml";Ee(i,s,ga(e.Props,r));n.coreprops.push(s);ua(r.rels,2,s,ia.CORE_PROPS);s="docProps/app.xml";if(e.Props&&e.Props.SheetNames){}else if(!e.Workbook||!e.Workbook.Sheets)e.Props.SheetNames=e.SheetNames;else{var l=[];for(var c=0;c<e.SheetNames.length;++c)if((e.Workbook.Sheets[c]||{}).Hidden!=2)l.push(e.SheetNames[c]);e.Props.SheetNames=l}e.Props.Worksheets=e.Props.SheetNames.length;Ee(i,s,Sa(e.Props,r));n.extprops.push(s);ua(r.rels,3,s,ia.EXT_PROPS);if(e.Custprops!==e.Props&&q(e.Custprops||{}).length>0){s="docProps/custom.xml";Ee(i,s,Ea(e.Custprops,r));n.custprops.push(s);ua(r.rels,4,s,ia.CUST_PROPS)}for(o=1;o<=e.SheetNames.length;++o){var f={"!id":{}};var u=e.Sheets[e.SheetNames[o-1]];var h=(u||{})["!type"]||"sheet";switch(h){case"chart":;default:s="xl/worksheets/sheet"+o+"."+t;Ee(i,s,Ms(o-1,s,r,e,f));n.sheets.push(s);ua(r.wbrels,-1,"worksheets/sheet"+o+"."+t,ia.WS[0]);}if(u){var d=u["!comments"];var p=false;if(d&&d.length>0){var v="xl/comments"+o+"."+t;Ee(i,v,Is(d,v,r));n.comments.push(v);ua(f,-1,"../comments"+o+"."+t,ia.CMNT);p=true}if(u["!legacy"]){if(p)Ee(i,"xl/drawings/vmlDrawing"+o+".vml",Wn(o,u["!comments"]))}delete u["!comments"];delete u["!legacy"]}if(f["!id"].rId1)Ee(i,sa(s),ca(f))}if(r.Strings!=null&&r.Strings.length>0){s="xl/sharedStrings."+t;Ee(i,s,Rs(r.Strings,s,r));n.strs.push(s);ua(r.wbrels,-1,"sharedStrings."+t,ia.SST)}s="xl/workbook."+t;Ee(i,s,Ds(e,s,r));n.workbooks.push(s);ua(r.rels,1,s,ia.WB);s="xl/theme/theme1.xml";Ee(i,s,In(e.Themes,r));n.themes.push(s);ua(r.wbrels,-1,"theme/theme1.xml",ia.THEME);s="xl/styles."+t;Ee(i,s,Ps(e,s,r));n.styles.push(s);ua(r.wbrels,-1,"styles."+t,ia.STY);if(e.vbaraw&&a){s="xl/vbaProject.bin";Ee(i,s,e.vbaraw);n.vba.push(s);ua(r.wbrels,-1,"vbaProject.bin",ia.VBA)}Ee(i,"[Content_Types].xml",na(n,r));Ee(i,"_rels/.rels",ca(r.rels));Ee(i,"xl/_rels/workbook."+t+".rels",ca(r.wbrels));delete r.revssf;delete r.ssf;return i}function oo(e,r){zn=1024;if(e&&!e.SSF){e.SSF=P.get_table()}if(e&&e.SSF){R(P);P.load_table(e.SSF);r.revssf=Z(e.SSF);r.revssf[e.SSF[65535]]=0;r.ssf=e.SSF}r.rels={};r.wbrels={};r.Strings=[];r.Strings.Count=0;r.Strings.Unique=0;if(ci)r.revStrings=new Map;else{r.revStrings={};r.revStrings.foo=[];delete r.revStrings.foo}var t="xml";var a=qn.indexOf(r.bookType)>-1;var n=ea();Zs(r=r||{});var i=Fe();var s="",o=0;r.cellXfs=[];di(r.cellXfs,{},{revssf:{General:0}});if(!e.Props)e.Props={};s="docProps/core.xml";Ee(i,s,ga(e.Props,r));n.coreprops.push(s);ua(r.rels,2,s,ia.CORE_PROPS);s="docProps/app.xml";if(e.Props&&e.Props.SheetNames){}else if(!e.Workbook||!e.Workbook.Sheets)e.Props.SheetNames=e.SheetNames;else{var l=[];for(var c=0;c<e.SheetNames.length;++c)if((e.Workbook.Sheets[c]||{}).Hidden!=2)l.push(e.SheetNames[c]);e.Props.SheetNames=l}e.Props.Worksheets=e.Props.SheetNames.length;Ee(i,s,Sa(e.Props,r));n.extprops.push(s);ua(r.rels,3,s,ia.EXT_PROPS);if(e.Custprops!==e.Props&&q(e.Custprops||{}).length>0){s="docProps/custom.xml";Ee(i,s,Ea(e.Custprops,r));n.custprops.push(s);ua(r.rels,4,s,ia.CUST_PROPS)}for(o=1;o<=e.SheetNames.length;++o){var f={"!id":{}};var u=e.Sheets[e.SheetNames[o-1]];var h=(u||{})["!type"]||"sheet";switch(h){case"chart":;default:s="xl/worksheets/sheet"+o+"."+t;Ee(i,s,qi(o-1,r,e,f));n.sheets.push(s);ua(r.wbrels,-1,"worksheets/sheet"+o+"."+t,ia.WS[0]);}if(u){var d=u["!comments"];var p=false;if(d&&d.length>0){var v="xl/comments"+o+"."+t;Ee(i,v,Vn(d,r));n.comments.push(v);ua(f,-1,"../comments"+o+"."+t,ia.CMNT);p=true}if(u["!legacy"]){if(p)Ee(i,"xl/drawings/vmlDrawing"+o+".vml",Wn(o,u["!comments"]))}delete u["!comments"];delete u["!legacy"]}if(f["!id"].rId1)Ee(i,sa(s),ca(f))}if(r.Strings!=null&&r.Strings.length>0){s="xl/sharedStrings."+t;Ee(i,s,Xa(r.Strings,r));n.strs.push(s);ua(r.wbrels,-1,"sharedStrings."+t,ia.SST)}s="xl/workbook."+t;Ee(i,s,ws(e,r));n.workbooks.push(s);ua(r.rels,1,s,ia.WB);s="xl/theme/theme1.xml";Ee(i,s,In(e.Themes,r));n.themes.push(s);ua(r.wbrels,-1,"theme/theme1.xml",ia.THEME);s="xl/styles."+t;Ee(i,s,Cn(e,r));n.styles.push(s);ua(r.wbrels,-1,"styles."+t,ia.STY);if(e.vbaraw&&a){s="xl/vbaProject.bin";Ee(i,s,e.vbaraw);n.vba.push(s);ua(r.wbrels,-1,"vbaProject.bin",ia.VBA)}Ee(i,"[Content_Types].xml",na(n,r));Ee(i,"_rels/.rels",ca(r.rels));Ee(i,"xl/_rels/workbook."+t+".rels",ca(r.wbrels));delete r.revssf;delete r.ssf;return i}function lo(e,r){var t="";switch((r||{}).type||"base64"){case"buffer":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":t=b.decode(e.slice(0,12));break;case"binary":t=e;break;case"array":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];default:throw new Error("Unrecognized type "+(r&&r.type||"undefined"));}return[t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3),t.charCodeAt(4),t.charCodeAt(5),t.charCodeAt(6),t.charCodeAt(7)]}function co(e,r){if(H.find(e,"EncryptedPackage"))return no(e,r);return parse_xlscfb(e,r)}function fo(e,r){var t,a=e;var n=r||{};if(!n.type)n.type=w&&Buffer.isBuffer(e)?"buffer":"base64";t=Te(a,n);return ao(t,n)}function uo(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 parse_xlml(e.slice(t),r);default:break e;}return Ma.to_workbook(e,r)}function ho(e,r){var t="",a=lo(e,r);switch(r.type){case"base64":t=b.decode(e);break;case"binary":t=e;break;case"buffer":t=e.toString("binary");break;case"array":t=fe(e);break;default:throw new Error("Unrecognized type "+r.type);}if(a[0]==239&&a[1]==187&&a[2]==191)t=Ke(t);return uo(t,r)}function po(e,r){var t=e;if(r.type=="base64")t=b.decode(t);t=cptable.utils.decode(1200,t.slice(2),"str");r.type="binary";return uo(t,r)}function vo(e){return!e.match(/[^\x00-\x7F]/)?e:Ze(e)}function mo(e,r,t,a){if(a){t.type="string";return Ma.to_workbook(e,t)}return Ma.to_workbook(r,t)}function go(e,r){c();var t=r||{};if(typeof ArrayBuffer!=="undefined"&&e instanceof ArrayBuffer)return go(new Uint8Array(e),(t=ue(t),t.type="array",t));if(typeof Uint8Array!=="undefined"&&e instanceof Uint8Array&&!t.type)t.type=typeof Deno!=="undefined"?"buffer":"array";var a=e,n=[0,0,0,0],i=false;if(t.cellStyles){t.cellNF=true;t.sheetStubs=true}li={};if(t.dateNF)li.dateNF=t.dateNF;if(!t.type)t.type=w&&Buffer.isBuffer(e)?"buffer":"base64";if(t.type=="file"){t.type=w?"buffer":"binary";a=Y(e);if(typeof Uint8Array!=="undefined"&&!w)t.type="array"}if(t.type=="string"){i=true;t.type="binary";t.codepage=65001;a=vo(e)}if(t.type=="array"&&typeof Uint8Array!=="undefined"&&e instanceof Uint8Array&&typeof ArrayBuffer!=="undefined"){var s=new ArrayBuffer(3),o=new Uint8Array(s);o.foo="bar";if(!o.foo){t=ue(t);t.type="array";return go(T(a),t)}}switch((n=lo(a,t))[0]){case 208:if(n[1]===207&&n[2]===17&&n[3]===224&&n[4]===161&&n[5]===177&&n[6]===26&&n[7]===225)return co(H.read(a,t),t);break;case 9:if(n[1]<=8)return parse_xlscfb(a,t);break;case 60:return parse_xlml(a,t);case 73:if(n[1]===73&&n[2]===42&&n[3]===0)throw new Error("TIFF Image File is not a spreadsheet");if(n[1]===68)return Na(a,t);break;case 84:if(n[1]===65&&n[2]===66&&n[3]===76)return Oa.to_workbook(a,t);break;case 80:return n[1]===75&&n[2]<9&&n[3]<9?fo(a,t):mo(e,a,t,i);case 239:return n[3]===60?parse_xlml(a,t):mo(e,a,t,i);case 255:if(n[1]===254){return po(a,t)}else if(n[1]===0&&n[2]===2&&n[3]===0)return WK_.to_workbook(a,t);break;case 0:if(n[1]===0){if(n[2]>=2&&n[3]===0)return WK_.to_workbook(a,t);if(n[2]===0&&(n[3]===8||n[3]===9))return WK_.to_workbook(a,t)}break;case 3:;case 131:;case 139:;case 140:return Fa.to_workbook(a,t);case 123:if(n[1]===92&&n[2]===114&&n[3]===116)return RTF.to_workbook(a,t);break;case 10:;case 13:;case 32:return ho(a,t);case 137:if(n[1]===80&&n[2]===78&&n[3]===71)throw new Error("PNG Image File is not a spreadsheet");break;}if(Fa.versions.indexOf(n[0])>-1&&n[2]<=12&&n[3]<=31)return Fa.to_workbook(a,t);return mo(e,a,t,i)}function bo(e,r){var t=r||{};t.type="file";return go(e,t)}function wo(e){return function r(t,a){var n=0;if(a.sheet){if(typeof a.sheet=="number")n=a.sheet;else n=t.SheetNames.indexOf(a.sheet);if(!t.SheetNames[n])throw new Error("Sheet not found: "+a.sheet+" : "+typeof a.sheet)}return e.from_sheet(t.Sheets[t.SheetNames[n]],a,t)}}var yo=wo(Ls);var ko=wo({from_sheet:Yo});var xo=wo(typeof Ta!=="undefined"?Ta:{});var So=wo(typeof Oa!=="undefined"?Oa:{});var _o=wo(typeof Ma!=="undefined"?Ma:{});var Co=wo(typeof RTF!=="undefined"?RTF:{});var Ao=wo({from_sheet:qo});var Eo=wo(typeof Fa!=="undefined"?Fa:{});var Fo=wo(typeof Da!=="undefined"?Da:{});var To=wo(typeof WK_!=="undefined"?{from_sheet:WK_.sheet_to_wk1}:{});function Oo(e,r){switch(r.type){case"base64":;case"binary":break;case"buffer":;case"array":r.type="";break;case"file":return G(r.file,H.write(e,{type:w?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+r.bookType+"' files");default:throw new Error("Unrecognized type "+r.type);}return H.write(e,r)}function Do(e,r){var t=ue(r||{});var a=io(e,t);return No(a,t)}function Mo(e,r){var t=ue(r||{});var a=oo(e,t);return No(a,t)}function No(e,r){var t={};if(r.compression)t.compression="DEFLATE";if(r.password)t.type=w?"nodebuffer":"string";else switch(r.type){case"base64":t.type="base64";break;case"binary":t.type="string";break;case"string":throw new Error("'string' output type invalid for '"+r.bookType+"' files");case"buffer":;case"file":t.type=w?"nodebuffer":"string";break;default:throw new Error("Unrecognized type "+r.type);}var a=e.FullPaths?H.write(e,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[t.type]||t.type,compression:!!r.compression}):e.generate(t);if(typeof Deno!=="undefined"){if(typeof a=="string"){if(r.type=="binary"||r.type=="base64")return a;a=new Uint8Array(A(a))}}if(r.password&&typeof encrypt_agile!=="undefined")return Oo(encrypt_agile(a,r.password),r);if(r.type==="file")return G(r.file,a);return r.type=="string"?Ke(a):a}function Po(e,r){var t=r||{};var a=write_xlscfb(e,t);return Oo(a,t)}function Ro(e,r,t){if(!t)t="";var a=t+e;switch(r.type){case"base64":return b.encode(Ze(a));case"binary":return Ze(a);case"string":return e;case"file":return G(r.file,a,"utf8");case"buffer":{if(w)return y(a,"utf8");else if(typeof TextEncoder!=="undefined")return(new TextEncoder).encode(a);else return Ro(a,{type:"binary"}).split("").map(function(e){return e.charCodeAt(0)})};}throw new Error("Unrecognized type "+r.type)}function Io(e,r){switch(r.type){case"base64":return b.encode(e);case"binary":return e;case"string":return e;case"file":return G(r.file,e,"binary");case"buffer":{if(w)return y(e,"binary");else return e.split("").map(function(e){return e.charCodeAt(0)})};}throw new Error("Unrecognized type "+r.type)}function Lo(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"?b.encode(t):r.type=="string"?Ke(t):t;case"file":return G(r.file,e);case"buffer":return e;default:throw new Error("Unrecognized type "+r.type);}}function Bo(e,r){c();vs(e);var t=ue(r||{});if(t.cellStyles){t.cellNF=true;t.sheetStubs=true}if(t.type=="array"){t.type="binary";var a=Bo(e,t);t.type="array";return A(a)}return Mo(e,t)}function Uo(e,r){c();vs(e);var t=ue(r||{});if(t.cellStyles){t.cellNF=true;t.sheetStubs=true}if(t.type=="array"){t.type="binary";var a=Uo(e,t);t.type="array";return A(a)}switch(t.bookType||"xlsb"){case"xml":;case"xlml":return Ro(write_xlml(e,t),t);case"slk":;case"sylk":return Ro(xo(e,t),t);case"htm":;case"html":return Ro(yo(e,t),t);case"txt":return Io(Ao(e,t),t);case"csv":return Ro(ko(e,t),t,"\ufeff");case"dif":return Ro(So(e,t),t);case"dbf":return Lo(Eo(e,t),t);case"prn":return Ro(_o(e,t),t);case"rtf":return Ro(Co(e,t),t);case"eth":return Ro(Fo(e,t),t);case"fods":return Ro(Ys(e,t),t);case"wk1":return Lo(To(e,t),t);case"wk3":return Lo(WK_.book_to_wk3(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 Lo(write_biff_buf(e,t),t);case"biff5":if(!t.biff)t.biff=5;case"biff8":;case"xla":;case"xls":if(!t.biff)t.biff=8;return Po(e,t);case"xlsx":;case"xlsm":;case"xlam":;case"xlsb":;case"ods":return Do(e,t);default:throw new Error("Unrecognized bookType |"+t.bookType+"|");}}function zo(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 Wo(e,r,t){var a=t||{};a.type="file";a.file=r;zo(a);return Uo(e,a)}function jo(e,r,t){var a=t||{};a.type="file";a.file=r;zo(a);return Bo(e,a)}function $o(e,r,t,a){var n=t||{};n.type="file";n.file=e;zo(n);n.type="buffer";var i=a;if(!(i instanceof Function))i=t;return V.writeFile(e,Uo(r,n),i)}function Ho(e,r,t,a,n,i,s,o){var l=ct(t);var c=o.defval,f=o.raw||!Object.prototype.hasOwnProperty.call(o,"raw");var u=true;var h=n===1?[]:{};if(n!==1){if(Object.defineProperty)try{Object.defineProperty(h,"__rowNum__",{value:t,enumerable:false})}catch(d){h.__rowNum__=t}else h.__rowNum__=t}if(!s||e[t])for(var p=r.s.c;p<=r.e.c;++p){var v=s?e[t][p]:e[a[p]+l];if(v===undefined||v.t===undefined){if(c===undefined)continue;if(i[p]!=null){h[i[p]]=c}continue}var m=v.v;switch(v.t){case"z":if(m==null)break;continue;case"e":m=m==0?null:void 0;break;case"s":;case"d":;case"b":;case"n":break;default:throw new Error("unrecognized type "+v.t);}if(i[p]!=null){if(m==null){if(v.t=="e"&&m===null)h[i[p]]=null;else if(c!==undefined)h[i[p]]=c;else if(f&&m===null)h[i[p]]=null;else continue}else{h[i[p]]=f||o.rawNumbers&&v.t=="n"?m:St(v,m,o)}if(m!=null)u=false}}return{row:h,isempty:u}}function Vo(e,r){if(e==null||e["!ref"]==null)return[];var t={t:"n",v:0},a=0,n=1,i=[],s=0,o="";var l={s:{r:0,c:0},e:{r:0,c:0}};var c=r||{};var f=c.range!=null?c.range:e["!ref"];if(c.header===1)a=1;else if(c.header==="A")a=2;else if(Array.isArray(c.header))a=3;else if(c.header==null)a=0;switch(typeof f){case"string":l=kt(f);break;case"number":l=kt(e["!ref"]);l.s.r=f;break;default:l=f;}if(a>0)n=0;var u=ct(l.s.r);var h=[];var d=[];var p=0,v=0;var m=Array.isArray(e);var g=l.s.r,b=0,w=0;if(m&&!e[g])e[g]=[];for(b=l.s.c;b<=l.e.c;++b){h[b]=dt(b);t=m?e[g][b]:e[h[b]+u];switch(a){case 1:i[b]=b-l.s.c;break;case 2:i[b]=h[b];break;case 3:i[b]=c.header[b-l.s.c];break;default:if(t==null)t={w:"__EMPTY",t:"s"};o=s=St(t,null,c);v=0;for(w=0;w<i.length;++w)if(i[w]==o)o=s+"_"+ ++v;i[b]=o;}}for(g=l.s.r+n;g<=l.e.r;++g){var y=Ho(e,l,g,h,a,i,m,c);if(y.isempty===false||(a===1?c.blankrows!==false:!!c.blankrows))d[p++]=y.row}d.length=p;return d}var Xo=/"/g;function Go(e,r,t,a,n,i,s,o){var l=true;var c=[],f="",u=ct(t);for(var h=r.s.c;h<=r.e.c;++h){if(!a[h])continue;var d=o.dense?(e[t]||[])[h]:e[a[h]+u];if(d==null)f="";else if(d.v!=null){l=false;f=""+(o.rawNumbers&&d.t=="n"?d.v:St(d,null,o));for(var p=0,v=0;p!==f.length;++p)if((v=f.charCodeAt(p))===n||v===i||v===34||o.forceQuotes){f='"'+f.replace(Xo,'""')+'"';break}if(f=="ID")f='"ID"'}else if(d.f!=null&&!d.F){l=false;f="="+d.f;if(f.indexOf(",")>=0)f='"'+f.replace(Xo,'""')+'"'}else f="";c.push(f)}if(o.blankrows===false&&l)return null;return c.join(s)}function Yo(e,r){var t=[];var a=r==null?{}:r;if(e==null||e["!ref"]==null)return"";var n=kt(e["!ref"]);var i=a.FS!==undefined?a.FS:",",s=i.charCodeAt(0);var o=a.RS!==undefined?a.RS:"\n",l=o.charCodeAt(0);var c=new RegExp((i=="|"?"\\|":i)+"+$");var f="",u=[];a.dense=Array.isArray(e);var h=a.skipHidden&&e["!cols"]||[];var d=a.skipHidden&&e["!rows"]||[];for(var p=n.s.c;p<=n.e.c;++p)if(!(h[p]||{}).hidden)u[p]=dt(p);for(var v=n.s.r;v<=n.e.r;++v){if((d[v]||{}).hidden)continue;f=Go(e,n,v,u,s,l,i,a);if(f==null){continue}if(a.strip)f=f.replace(c,"");t.push(f+o)}delete a.dense;return t.join("")}function qo(e,r){if(!r)r={};r.FS="\t";r.RS="\n";var t=Yo(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 Jo(e){var r="",t,a="";if(e==null||e["!ref"]==null)return[];var n=kt(e["!ref"]),i="",s=[],o;var l=[];var c=Array.isArray(e);for(o=n.s.c;o<=n.e.c;++o)s[o]=dt(o);for(var f=n.s.r;f<=n.e.r;++f){i=ct(f);for(o=n.s.c;o<=n.e.c;++o){r=s[o]+i;t=c?(e[f]||[])[o]:e[r];a="";if(t===undefined)continue;else if(t.F!=null){r=t.F;if(!t.f)continue;a=t.f;if(r.indexOf(":")==-1)r=r+":"+r}if(t.f!=null)a=t.f;else if(t.t=="z")continue;else if(t.t=="n"&&t.v!=null)a=""+t.v;else if(t.t=="b")a=t.v?"TRUE":"FALSE";else if(t.w!==undefined)a="'"+t.w;else if(t.v===undefined)continue;else if(t.t=="s")a="'"+t.v;else a=""+t.v;l[l.length]=r+"="+a}}return l}function Ko(e,r,t){var a=t||{};var n=+!a.skipHeader;var i=e||{};var s=0,o=0;if(i&&a.origin!=null){if(typeof a.origin=="number")s=a.origin;else{var l=typeof a.origin=="string"?gt(a.origin):a.origin;s=l.r;o=l.c}}var c;var f={s:{c:0,r:0},e:{c:o,r:s+r.length-1+n}};if(i["!ref"]){var u=kt(i["!ref"]);f.e.c=Math.max(f.e.c,u.e.c);f.e.r=Math.max(f.e.r,u.e.r);if(s==-1){s=u.e.r+1;f.e.r=s+r.length-1+n}}else{if(s==-1){s=0;f.e.r=r.length-1+n}}var h=a.header||[],d=0;r.forEach(function(e,r){q(e).forEach(function(t){if((d=h.indexOf(t))==-1)h[d=h.length]=t;var l=e[t];var f="z";var u="";var p=bt({c:o+d,r:s+r+n});c=Qo.sheet_get_cell(i,p);if(l&&typeof l==="object"&&!(l instanceof Date)){i[p]=l}else{if(typeof l=="number")f="n";else if(typeof l=="boolean")f="b";else if(typeof l=="string")f="s";else if(l instanceof Date){f="d";if(!a.cellDates){f="n";l=re(l)}u=a.dateNF||P._table[14]}else if(l===null&&a.nullError){f="e";l=0}if(!c)i[p]=c={t:f,v:l};else{c.t=f;c.v=l;delete c.w;delete c.R;if(u)c.z=u}if(u)c.z=u}})});f.e.c=Math.max(f.e.c,o+h.length-1);var p=ct(s);if(n)for(d=0;d<h.length;++d)i[dt(d+o)+p]={t:"s",v:h[d]};i["!ref"]=yt(f);return i}function Zo(e,r){return Ko(null,e,r)}var Qo={encode_col:dt,encode_row:ct,encode_cell:bt,encode_range:yt,decode_col:ht,decode_row:lt,split_cell:mt,decode_cell:gt,decode_range:wt,format_cell:St,sheet_add_aoa:Ct,sheet_add_json:Ko,sheet_add_dom:Bs,aoa_to_sheet:At,json_to_sheet:Zo,table_to_sheet:Us,table_to_book:zs,sheet_to_csv:Yo,sheet_to_txt:qo,sheet_to_json:Vo,sheet_to_html:Ls.from_sheet,sheet_to_formulae:Jo,sheet_to_row_object_array:Vo};(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"){if(Array.isArray(e)){var n=gt(r);if(!e[n.r])e[n.r]=[];return e[n.r][n.c]||(e[n.r][n.c]={t:"z"})}return e[r]||(e[r]={t:"z"})}if(typeof r!="number")return a(e,bt(r));return a(e,bt({r:r,c:t||0}))}e.sheet_get_cell=a;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,t=undefined)if(e.SheetNames.indexOf(t="Sheet"+a)==-1)break;if(!t||e.SheetNames.length>=65535)throw new Error("Too many worksheets");ds(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:kt(r);var i=typeof r=="string"?r:yt(r);for(var s=n.s.r;s<=n.e.r;++s)for(var o=n.s.c;o<=n.e.c;++o){var l=a(e,s,o);l.t="n";l.F=i;delete l.v;if(s==n.s.r&&o==n.s.c)l.f=t}return e};return e})(Qo);if(typeof parse_xlscfb!=="undefined")e.parse_xlscfb=parse_xlscfb;e.parse_zip=ao;e.read=go;e.readFile=bo;e.readFileSync=bo;e.write=Uo;e.writeFile=Wo;e.writeFileSync=Wo;e.writeFileAsync=$o;e.utils=Qo;e.writeXLSX=Bo;e.writeFileXLSX=jo;e.SSF=P;if(typeof H!=="undefined")e.CFB=H}if(typeof exports!=="undefined")make_xlsx_lib(exports);else if(typeof module!=="undefined"&&module.exports)make_xlsx_lib(module.exports);else if(typeof define==="function"&&define.amd)define("xlsx",function(){if(!XLSX.version)make_xlsx_lib(XLSX);return XLSX});else make_xlsx_lib(XLSX);if(typeof window!=="undefined"&&!window.XLSX)try{window.XLSX=XLSX}catch(e){}