ray-template/assets/xlsx-1a040596.js
2023-03-03 14:41:51 +08:00

38 lines
127 KiB
JavaScript
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 ut=function(t){return String.fromCharCode(t)},Ce="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function tr(r){for(var t="",e=0,a=0,n=0,s=0,i=0,f=0,m=0,p=0;p<r.length;)e=r.charCodeAt(p++),s=e>>2,a=r.charCodeAt(p++),i=(e&3)<<4|a>>4,n=r.charCodeAt(p++),f=(a&15)<<2|n>>6,m=n&63,isNaN(a)?f=m=64:isNaN(n)&&(m=64),t+=Ce.charAt(s)+Ce.charAt(i)+Ce.charAt(f)+Ce.charAt(m);return t}function rr(r){var t="",e=0,a=0,n=0,s=0,i=0,f=0,m=0;r=r.replace(/[^\w\+\/\=]/g,"");for(var p=0;p<r.length;)s=Ce.indexOf(r.charAt(p++)),i=Ce.indexOf(r.charAt(p++)),e=s<<2|i>>4,t+=String.fromCharCode(e),f=Ce.indexOf(r.charAt(p++)),a=(i&15)<<4|f>>2,f!==64&&(t+=String.fromCharCode(a)),m=Ce.indexOf(r.charAt(p++)),n=(f&3)<<6|m,m!==64&&(t+=String.fromCharCode(n));return t}var K=function(){return typeof Buffer<"u"&&typeof process<"u"&&typeof process.versions<"u"&&!!process.versions.node}(),Me=function(){if(typeof Buffer<"u"){var r=!Buffer.from;if(!r)try{Buffer.from("foo","utf8")}catch{r=!0}return r?function(t,e){return e?new Buffer(t,e):new Buffer(t)}:Buffer.from.bind(Buffer)}return function(){}}();function He(r){return K?Buffer.alloc?Buffer.alloc(r):new Buffer(r):typeof Uint8Array<"u"?new Uint8Array(r):new Array(r)}function nr(r){return K?Buffer.allocUnsafe?Buffer.allocUnsafe(r):new Buffer(r):typeof Uint8Array<"u"?new Uint8Array(r):new Array(r)}var Le=function(t){return K?Me(t,"binary"):t.split("").map(function(e){return e.charCodeAt(0)&255})};function St(r){if(typeof ArrayBuffer>"u")return Le(r);for(var t=new ArrayBuffer(r.length),e=new Uint8Array(t),a=0;a!=r.length;++a)e[a]=r.charCodeAt(a)&255;return t}function Wn(r){if(Array.isArray(r))return r.map(function(a){return String.fromCharCode(a)}).join("");for(var t=[],e=0;e<r.length;++e)t[e]=String.fromCharCode(r[e]);return t.join("")}function zn(r){if(typeof Uint8Array>"u")throw new Error("Unsupported");return new Uint8Array(r)}var Re=K?function(r){return Buffer.concat(r.map(function(t){return Buffer.isBuffer(t)?t:Me(t)}))}:function(r){if(typeof Uint8Array<"u"){var t=0,e=0;for(t=0;t<r.length;++t)e+=r[t].length;var a=new Uint8Array(e),n=0;for(t=0,e=0;t<r.length;e+=n,++t)if(n=r[t].length,r[t]instanceof Uint8Array)a.set(r[t],e);else{if(typeof r[t]=="string")throw"wtf";a.set(new Uint8Array(r[t]),e)}return a}return[].concat.apply([],r.map(function(s){return Array.isArray(s)?s:[].slice.call(s)}))};function Xn(r){for(var t=[],e=0,a=r.length+250,n=He(r.length+255),s=0;s<r.length;++s){var i=r.charCodeAt(s);if(i<128)n[e++]=i;else if(i<2048)n[e++]=192|i>>6&31,n[e++]=128|i&63;else if(i>=55296&&i<57344){i=(i&1023)+64;var f=r.charCodeAt(++s)&1023;n[e++]=240|i>>8&7,n[e++]=128|i>>2&63,n[e++]=128|f>>6&15|(i&3)<<4,n[e++]=128|f&63}else n[e++]=224|i>>12&15,n[e++]=128|i>>6&63,n[e++]=128|i&63;e>a&&(t.push(n.slice(0,e)),e=0,n=He(65535),a=65530)}return t.push(n.slice(0,e)),Re(t)}var Ze=/\u0000/g,dt=/[\u0001-\u0006]/g;function Ue(r){for(var t="",e=r.length-1;e>=0;)t+=r.charAt(e--);return t}function he(r,t){var e=""+r;return e.length>=t?e:se("0",t-e.length)+e}function Bt(r,t){var e=""+r;return e.length>=t?e:se(" ",t-e.length)+e}function _t(r,t){var e=""+r;return e.length>=t?e:e+se(" ",t-e.length)}function Vn(r,t){var e=""+Math.round(r);return e.length>=t?e:se("0",t-e.length)+e}function Gn(r,t){var e=""+r;return e.length>=t?e:se("0",t-e.length)+e}var ar=Math.pow(2,32);function Ne(r,t){if(r>ar||r<-ar)return Vn(r,t);var e=Math.round(r);return Gn(e,t)}function wt(r,t){return t=t||0,r.length>=7+t&&(r.charCodeAt(t)|32)===103&&(r.charCodeAt(t+1)|32)===101&&(r.charCodeAt(t+2)|32)===110&&(r.charCodeAt(t+3)|32)===101&&(r.charCodeAt(t+4)|32)===114&&(r.charCodeAt(t+5)|32)===97&&(r.charCodeAt(t+6)|32)===108}var ir=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],Dt=[["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 Jn(r){return r||(r={}),r[0]="General",r[1]="0",r[2]="0.00",r[3]="#,##0",r[4]="#,##0.00",r[9]="0%",r[10]="0.00%",r[11]="0.00E+00",r[12]="# ?/?",r[13]="# ??/??",r[14]="m/d/yy",r[15]="d-mmm-yy",r[16]="d-mmm",r[17]="mmm-yy",r[18]="h:mm AM/PM",r[19]="h:mm:ss AM/PM",r[20]="h:mm",r[21]="h:mm:ss",r[22]="m/d/yy h:mm",r[37]="#,##0 ;(#,##0)",r[38]="#,##0 ;[Red](#,##0)",r[39]="#,##0.00;(#,##0.00)",r[40]="#,##0.00;[Red](#,##0.00)",r[45]="mm:ss",r[46]="[h]:mm:ss",r[47]="mmss.0",r[48]="##0.0E+0",r[49]="@",r[56]='"上午/下午 "hh"時"mm"分"ss"秒 "',r}var de={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"上午/下午 "hh"時"mm"分"ss"秒 "'},sr={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0},Yn={5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',41:'_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function yt(r,t,e){for(var a=r<0?-1:1,n=r*a,s=0,i=1,f=0,m=1,p=0,w=0,k=Math.floor(n);p<t&&(k=Math.floor(n),f=k*i+s,w=k*p+m,!(n-k<5e-8));)n=1/(n-k),s=i,i=f,m=p,p=w;if(w>t&&(p>t?(w=m,f=s):(w=p,f=i)),!e)return[0,a*f,w];var E=Math.floor(a*f/w);return[E,a*f-E*w,w]}function pt(r,t,e){if(r>2958465||r<0)return null;var a=r|0,n=Math.floor(86400*(r-a)),s=0,i=[],f={D:a,T:n,u:86400*(r-a)-n,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(f.u)<1e-6&&(f.u=0),t&&t.date1904&&(a+=1462),f.u>.9999&&(f.u=0,++n==86400&&(f.T=n=0,++a,++f.D)),a===60)i=e?[1317,10,29]:[1900,2,29],s=3;else if(a===0)i=e?[1317,8,29]:[1900,1,0],s=6;else{a>60&&--a;var m=new Date(1900,0,1);m.setDate(m.getDate()+a-1),i=[m.getFullYear(),m.getMonth()+1,m.getDate()],s=m.getDay(),a<60&&(s=(s+6)%7),e&&(s=ra(m,i))}return f.y=i[0],f.m=i[1],f.d=i[2],f.S=n%60,n=Math.floor(n/60),f.M=n%60,n=Math.floor(n/60),f.H=n,f.q=s,f}var Er=new Date(1899,11,31,0,0,0),Kn=Er.getTime(),qn=new Date(1900,2,1,0,0,0);function Tr(r,t){var e=r.getTime();return t?e-=1461*24*60*60*1e3:r>=qn&&(e+=24*60*60*1e3),(e-(Kn+(r.getTimezoneOffset()-Er.getTimezoneOffset())*6e4))/(24*60*60*1e3)}function Ut(r){return r.indexOf(".")==-1?r:r.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function Zn(r){return r.indexOf("E")==-1?r:r.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}function Qn(r){var t=r<0?12:11,e=Ut(r.toFixed(12));return e.length<=t||(e=r.toPrecision(10),e.length<=t)?e:r.toExponential(5)}function ea(r){var t=Ut(r.toFixed(11));return t.length>(r<0?12:11)||t==="0"||t==="-0"?r.toPrecision(6):t}function ta(r){var t=Math.floor(Math.log(Math.abs(r))*Math.LOG10E),e;return t>=-4&&t<=-1?e=r.toPrecision(10+t):Math.abs(t)<=9?e=Qn(r):t===10?e=r.toFixed(10).substr(0,12):e=ea(r),Ut(Zn(e.toUpperCase()))}function Nt(r,t){switch(typeof r){case"string":return r;case"boolean":return r?"TRUE":"FALSE";case"number":return(r|0)===r?r.toString(10):ta(r);case"undefined":return"";case"object":if(r==null)return"";if(r instanceof Date)return et(14,Tr(r,t&&t.date1904),t)}throw new Error("unsupported value in General format: "+r)}function ra(r,t){t[0]-=581;var e=r.getDay();return r<60&&(e=(e+6)%7),e}function na(r,t,e,a){var n="",s=0,i=0,f=e.y,m,p=0;switch(r){case 98:f=e.y+543;case 121:switch(t.length){case 1:case 2:m=f%100,p=2;break;default:m=f%1e4,p=4;break}break;case 109:switch(t.length){case 1:case 2:m=e.m,p=t.length;break;case 3:return Dt[e.m-1][1];case 5:return Dt[e.m-1][0];default:return Dt[e.m-1][2]}break;case 100:switch(t.length){case 1:case 2:m=e.d,p=t.length;break;case 3:return ir[e.q][0];default:return ir[e.q][1]}break;case 104:switch(t.length){case 1:case 2:m=1+(e.H+11)%12,p=t.length;break;default:throw"bad hour format: "+t}break;case 72:switch(t.length){case 1:case 2:m=e.H,p=t.length;break;default:throw"bad hour format: "+t}break;case 77:switch(t.length){case 1:case 2:m=e.M,p=t.length;break;default:throw"bad minute format: "+t}break;case 115:if(t!="s"&&t!="ss"&&t!=".0"&&t!=".00"&&t!=".000")throw"bad second format: "+t;return e.u===0&&(t=="s"||t=="ss")?he(e.S,t.length):(a>=2?i=a===3?1e3:100:i=a===1?10:1,s=Math.round(i*(e.S+e.u)),s>=60*i&&(s=0),t==="s"?s===0?"0":""+s/i:(n=he(s,2+a),t==="ss"?n.substr(0,2):"."+n.substr(2,t.length-1)));case 90:switch(t){case"[h]":case"[hh]":m=e.D*24+e.H;break;case"[m]":case"[mm]":m=(e.D*24+e.H)*60+e.M;break;case"[s]":case"[ss]":m=((e.D*24+e.H)*60+e.M)*60+Math.round(e.S+e.u);break;default:throw"bad abstime format: "+t}p=t.length===3?1:2;break;case 101:m=f,p=1;break}var w=p>0?he(m,p):"";return w}function Ae(r){var t=3;if(r.length<=t)return r;for(var e=r.length%t,a=r.substr(0,e);e!=r.length;e+=t)a+=(a.length>0?",":"")+r.substr(e,t);return a}var br=/%/g;function aa(r,t,e){var a=t.replace(br,""),n=t.length-a.length;return Fe(r,a,e*Math.pow(10,2*n))+se("%",n)}function ia(r,t,e){for(var a=t.length-1;t.charCodeAt(a-1)===44;)--a;return Fe(r,t.substr(0,a),e/Math.pow(10,3*(t.length-a)))}function Or(r,t){var e,a=r.indexOf("E")-r.indexOf(".")-1;if(r.match(/^#+0.0E\+0$/)){if(t==0)return"0.0E+0";if(t<0)return"-"+Or(r,-t);var n=r.indexOf(".");n===-1&&(n=r.indexOf("E"));var s=Math.floor(Math.log(t)*Math.LOG10E)%n;if(s<0&&(s+=n),e=(t/Math.pow(10,s)).toPrecision(a+1+(n+s)%n),e.indexOf("e")===-1){var i=Math.floor(Math.log(t)*Math.LOG10E);for(e.indexOf(".")===-1?e=e.charAt(0)+"."+e.substr(1)+"E+"+(i-e.length+s):e+="E+"+(i-s);e.substr(0,2)==="0.";)e=e.charAt(0)+e.substr(2,n)+"."+e.substr(2+n),e=e.replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");e=e.replace(/\+-/,"-")}e=e.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(f,m,p,w){return m+p+w.substr(0,(n+s)%n)+"."+w.substr(s)+"E"})}else e=t.toExponential(a);return r.match(/E\+00$/)&&e.match(/e[+-]\d$/)&&(e=e.substr(0,e.length-1)+"0"+e.charAt(e.length-1)),r.match(/E\-/)&&e.match(/e\+/)&&(e=e.replace(/e\+/,"e")),e.replace("e","E")}var Dr=/# (\?+)( ?)\/( ?)(\d+)/;function sa(r,t,e){var a=parseInt(r[4],10),n=Math.round(t*a),s=Math.floor(n/a),i=n-s*a,f=a;return e+(s===0?"":""+s)+" "+(i===0?se(" ",r[1].length+1+r[4].length):Bt(i,r[1].length)+r[2]+"/"+r[3]+he(f,r[4].length))}function oa(r,t,e){return e+(t===0?"":""+t)+se(" ",r[1].length+2+r[4].length)}var Mr=/^#*0*\.([0#]+)/,Pr=/\).*[0#]/,Ir=/\(###\) ###\\?-####/;function ie(r){for(var t="",e,a=0;a!=r.length;++a)switch(e=r.charCodeAt(a)){case 35:break;case 63:t+=" ";break;case 48:t+="0";break;default:t+=String.fromCharCode(e)}return t}function or(r,t){var e=Math.pow(10,t);return""+Math.round(r*e)/e}function lr(r,t){var e=r-Math.floor(r),a=Math.pow(10,t);return t<(""+Math.round(e*a)).length?0:Math.round(e*a)}function la(r,t){return t<(""+Math.round((r-Math.floor(r))*Math.pow(10,t))).length?1:0}function fa(r){return r<2147483647&&r>-2147483648?""+(r>=0?r|0:r-1|0):""+Math.floor(r)}function fe(r,t,e){if(r.charCodeAt(0)===40&&!t.match(Pr)){var a=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return e>=0?fe("n",a,e):"("+fe("n",a,-e)+")"}if(t.charCodeAt(t.length-1)===44)return ia(r,t,e);if(t.indexOf("%")!==-1)return aa(r,t,e);if(t.indexOf("E")!==-1)return Or(t,e);if(t.charCodeAt(0)===36)return"$"+fe(r,t.substr(t.charAt(1)==" "?2:1),e);var n,s,i,f,m=Math.abs(e),p=e<0?"-":"";if(t.match(/^00+$/))return p+Ne(m,t.length);if(t.match(/^[#?]+$/))return n=Ne(e,0),n==="0"&&(n=""),n.length>t.length?n:ie(t.substr(0,t.length-n.length))+n;if(s=t.match(Dr))return sa(s,m,p);if(t.match(/^#+0+$/))return p+Ne(m,t.length-t.indexOf("0"));if(s=t.match(Mr))return n=or(e,s[1].length).replace(/^([^\.]+)$/,"$1."+ie(s[1])).replace(/\.$/,"."+ie(s[1])).replace(/\.(\d*)$/,function(b,C){return"."+C+se("0",ie(s[1]).length-C.length)}),t.indexOf("0.")!==-1?n:n.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),s=t.match(/^(0*)\.(#*)$/))return p+or(m,s[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,s[1].length?"0.":".");if(s=t.match(/^#{1,3},##0(\.?)$/))return p+Ae(Ne(m,0));if(s=t.match(/^#,##0\.([#0]*0)$/))return e<0?"-"+fe(r,t,-e):Ae(""+(Math.floor(e)+la(e,s[1].length)))+"."+he(lr(e,s[1].length),s[1].length);if(s=t.match(/^#,#*,#0/))return fe(r,t.replace(/^#,#*,/,""),e);if(s=t.match(/^([0#]+)(\\?-([0#]+))+$/))return n=Ue(fe(r,t.replace(/[\\-]/g,""),e)),i=0,Ue(Ue(t.replace(/\\/g,"")).replace(/[0#]/g,function(b){return i<n.length?n.charAt(i++):b==="0"?"0":""}));if(t.match(Ir))return n=fe(r,"##########",e),"("+n.substr(0,3)+") "+n.substr(3,3)+"-"+n.substr(6);var w="";if(s=t.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return i=Math.min(s[4].length,7),f=yt(m,Math.pow(10,i)-1,!1),n=""+p,w=Fe("n",s[1],f[1]),w.charAt(w.length-1)==" "&&(w=w.substr(0,w.length-1)+"0"),n+=w+s[2]+"/"+s[3],w=_t(f[2],i),w.length<s[4].length&&(w=ie(s[4].substr(s[4].length-w.length))+w),n+=w,n;if(s=t.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return i=Math.min(Math.max(s[1].length,s[4].length),7),f=yt(m,Math.pow(10,i)-1,!0),p+(f[0]||(f[1]?"":"0"))+" "+(f[1]?Bt(f[1],i)+s[2]+"/"+s[3]+_t(f[2],i):se(" ",2*i+1+s[2].length+s[3].length));if(s=t.match(/^[#0?]+$/))return n=Ne(e,0),t.length<=n.length?n:ie(t.substr(0,t.length-n.length))+n;if(s=t.match(/^([#0?]+)\.([#0]+)$/)){n=""+e.toFixed(Math.min(s[2].length,10)).replace(/([^0])0+$/,"$1"),i=n.indexOf(".");var k=t.indexOf(".")-i,E=t.length-n.length-k;return ie(t.substr(0,k)+n+t.substr(t.length-E))}if(s=t.match(/^00,000\.([#0]*0)$/))return i=lr(e,s[1].length),e<0?"-"+fe(r,t,-e):Ae(fa(e)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(b){return"00,"+(b.length<3?he(0,3-b.length):"")+b})+"."+he(i,s[1].length);switch(t){case"###,##0.00":return fe(r,"#,##0.00",e);case"###,###":case"##,###":case"#,###":var F=Ae(Ne(m,0));return F!=="0"?p+F:"";case"###,###.00":return fe(r,"###,##0.00",e).replace(/^0\./,".");case"#,###.00":return fe(r,"#,##0.00",e).replace(/^0\./,".")}throw new Error("unsupported format |"+t+"|")}function ca(r,t,e){for(var a=t.length-1;t.charCodeAt(a-1)===44;)--a;return Fe(r,t.substr(0,a),e/Math.pow(10,3*(t.length-a)))}function ha(r,t,e){var a=t.replace(br,""),n=t.length-a.length;return Fe(r,a,e*Math.pow(10,2*n))+se("%",n)}function Nr(r,t){var e,a=r.indexOf("E")-r.indexOf(".")-1;if(r.match(/^#+0.0E\+0$/)){if(t==0)return"0.0E+0";if(t<0)return"-"+Nr(r,-t);var n=r.indexOf(".");n===-1&&(n=r.indexOf("E"));var s=Math.floor(Math.log(t)*Math.LOG10E)%n;if(s<0&&(s+=n),e=(t/Math.pow(10,s)).toPrecision(a+1+(n+s)%n),!e.match(/[Ee]/)){var i=Math.floor(Math.log(t)*Math.LOG10E);e.indexOf(".")===-1?e=e.charAt(0)+"."+e.substr(1)+"E+"+(i-e.length+s):e+="E+"+(i-s),e=e.replace(/\+-/,"-")}e=e.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(f,m,p,w){return m+p+w.substr(0,(n+s)%n)+"."+w.substr(s)+"E"})}else e=t.toExponential(a);return r.match(/E\+00$/)&&e.match(/e[+-]\d$/)&&(e=e.substr(0,e.length-1)+"0"+e.charAt(e.length-1)),r.match(/E\-/)&&e.match(/e\+/)&&(e=e.replace(/e\+/,"e")),e.replace("e","E")}function ge(r,t,e){if(r.charCodeAt(0)===40&&!t.match(Pr)){var a=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return e>=0?ge("n",a,e):"("+ge("n",a,-e)+")"}if(t.charCodeAt(t.length-1)===44)return ca(r,t,e);if(t.indexOf("%")!==-1)return ha(r,t,e);if(t.indexOf("E")!==-1)return Nr(t,e);if(t.charCodeAt(0)===36)return"$"+ge(r,t.substr(t.charAt(1)==" "?2:1),e);var n,s,i,f,m=Math.abs(e),p=e<0?"-":"";if(t.match(/^00+$/))return p+he(m,t.length);if(t.match(/^[#?]+$/))return n=""+e,e===0&&(n=""),n.length>t.length?n:ie(t.substr(0,t.length-n.length))+n;if(s=t.match(Dr))return oa(s,m,p);if(t.match(/^#+0+$/))return p+he(m,t.length-t.indexOf("0"));if(s=t.match(Mr))return n=(""+e).replace(/^([^\.]+)$/,"$1."+ie(s[1])).replace(/\.$/,"."+ie(s[1])),n=n.replace(/\.(\d*)$/,function(b,C){return"."+C+se("0",ie(s[1]).length-C.length)}),t.indexOf("0.")!==-1?n:n.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),s=t.match(/^(0*)\.(#*)$/))return p+(""+m).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,s[1].length?"0.":".");if(s=t.match(/^#{1,3},##0(\.?)$/))return p+Ae(""+m);if(s=t.match(/^#,##0\.([#0]*0)$/))return e<0?"-"+ge(r,t,-e):Ae(""+e)+"."+se("0",s[1].length);if(s=t.match(/^#,#*,#0/))return ge(r,t.replace(/^#,#*,/,""),e);if(s=t.match(/^([0#]+)(\\?-([0#]+))+$/))return n=Ue(ge(r,t.replace(/[\\-]/g,""),e)),i=0,Ue(Ue(t.replace(/\\/g,"")).replace(/[0#]/g,function(b){return i<n.length?n.charAt(i++):b==="0"?"0":""}));if(t.match(Ir))return n=ge(r,"##########",e),"("+n.substr(0,3)+") "+n.substr(3,3)+"-"+n.substr(6);var w="";if(s=t.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return i=Math.min(s[4].length,7),f=yt(m,Math.pow(10,i)-1,!1),n=""+p,w=Fe("n",s[1],f[1]),w.charAt(w.length-1)==" "&&(w=w.substr(0,w.length-1)+"0"),n+=w+s[2]+"/"+s[3],w=_t(f[2],i),w.length<s[4].length&&(w=ie(s[4].substr(s[4].length-w.length))+w),n+=w,n;if(s=t.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return i=Math.min(Math.max(s[1].length,s[4].length),7),f=yt(m,Math.pow(10,i)-1,!0),p+(f[0]||(f[1]?"":"0"))+" "+(f[1]?Bt(f[1],i)+s[2]+"/"+s[3]+_t(f[2],i):se(" ",2*i+1+s[2].length+s[3].length));if(s=t.match(/^[#0?]+$/))return n=""+e,t.length<=n.length?n:ie(t.substr(0,t.length-n.length))+n;if(s=t.match(/^([#0]+)\.([#0]+)$/)){n=""+e.toFixed(Math.min(s[2].length,10)).replace(/([^0])0+$/,"$1"),i=n.indexOf(".");var k=t.indexOf(".")-i,E=t.length-n.length-k;return ie(t.substr(0,k)+n+t.substr(t.length-E))}if(s=t.match(/^00,000\.([#0]*0)$/))return e<0?"-"+ge(r,t,-e):Ae(""+e).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(b){return"00,"+(b.length<3?he(0,3-b.length):"")+b})+"."+he(0,s[1].length);switch(t){case"###,###":case"##,###":case"#,###":var F=Ae(""+m);return F!=="0"?p+F:"";default:if(t.match(/\.[0#?]*$/))return ge(r,t.slice(0,t.lastIndexOf(".")),e)+ie(t.slice(t.lastIndexOf(".")))}throw new Error("unsupported format |"+t+"|")}function Fe(r,t,e){return(e|0)===e?ge(r,t,e):fe(r,t,e)}function ua(r){for(var t=[],e=!1,a=0,n=0;a<r.length;++a)switch(r.charCodeAt(a)){case 34:e=!e;break;case 95:case 42:case 92:++a;break;case 59:t[t.length]=r.substr(n,a-n),n=a+1}if(t[t.length]=r.substr(n),e===!0)throw new Error("Format |"+r+"| unterminated string ");return t}var Lr=/\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;function da(r){for(var t=0,e="",a="";t<r.length;)switch(e=r.charAt(t)){case"G":wt(r,t)&&(t+=6),t++;break;case'"':for(;r.charCodeAt(++t)!==34&&t<r.length;);++t;break;case"\\":t+=2;break;case"_":t+=2;break;case"@":++t;break;case"B":case"b":if(r.charAt(t+1)==="1"||r.charAt(t+1)==="2")return!0;case"M":case"D":case"Y":case"H":case"S":case"E":case"m":case"d":case"y":case"h":case"s":case"e":case"g":return!0;case"A":case"a":case"上":if(r.substr(t,3).toUpperCase()==="A/P"||r.substr(t,5).toUpperCase()==="AM/PM"||r.substr(t,5).toUpperCase()==="上午/下午")return!0;++t;break;case"[":for(a=e;r.charAt(t++)!=="]"&&t<r.length;)a+=r.charAt(t);if(a.match(Lr))return!0;break;case".":case"0":case"#":for(;t<r.length&&("0#?.,E+-%".indexOf(e=r.charAt(++t))>-1||e=="\\"&&r.charAt(t+1)=="-"&&"0#".indexOf(r.charAt(t+2))>-1););break;case"?":for(;r.charAt(++t)===e;);break;case"*":++t,(r.charAt(t)==" "||r.charAt(t)=="*")&&++t;break;case"(":case")":++t;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;t<r.length&&"0123456789".indexOf(r.charAt(++t))>-1;);break;case" ":++t;break;default:++t;break}return!1}function pa(r,t,e,a){for(var n=[],s="",i=0,f="",m="t",p,w,k,E="H";i<r.length;)switch(f=r.charAt(i)){case"G":if(!wt(r,i))throw new Error("unrecognized character "+f+" in "+r);n[n.length]={t:"G",v:"General"},i+=7;break;case'"':for(s="";(k=r.charCodeAt(++i))!==34&&i<r.length;)s+=String.fromCharCode(k);n[n.length]={t:"t",v:s},++i;break;case"\\":var F=r.charAt(++i),b=F==="("||F===")"?F:"t";n[n.length]={t:b,v:F},++i;break;case"_":n[n.length]={t:"t",v:" "},i+=2;break;case"@":n[n.length]={t:"T",v:t},++i;break;case"B":case"b":if(r.charAt(i+1)==="1"||r.charAt(i+1)==="2"){if(p==null&&(p=pt(t,e,r.charAt(i+1)==="2"),p==null))return"";n[n.length]={t:"X",v:r.substr(i,2)},m=f,i+=2;break}case"M":case"D":case"Y":case"H":case"S":case"E":f=f.toLowerCase();case"m":case"d":case"y":case"h":case"s":case"e":case"g":if(t<0||p==null&&(p=pt(t,e),p==null))return"";for(s=f;++i<r.length&&r.charAt(i).toLowerCase()===f;)s+=f;f==="m"&&m.toLowerCase()==="h"&&(f="M"),f==="h"&&(f=E),n[n.length]={t:f,v:s},m=f;break;case"A":case"a":case"上":var C={t:f,v:f};if(p==null&&(p=pt(t,e)),r.substr(i,3).toUpperCase()==="A/P"?(p!=null&&(C.v=p.H>=12?"P":"A"),C.t="T",E="h",i+=3):r.substr(i,5).toUpperCase()==="AM/PM"?(p!=null&&(C.v=p.H>=12?"PM":"AM"),C.t="T",i+=5,E="h"):r.substr(i,5).toUpperCase()==="上午/下午"?(p!=null&&(C.v=p.H>=12?"下午":"上午"),C.t="T",i+=5,E="h"):(C.t="t",++i),p==null&&C.t==="T")return"";n[n.length]=C,m=f;break;case"[":for(s=f;r.charAt(i++)!=="]"&&i<r.length;)s+=r.charAt(i);if(s.slice(-1)!=="]")throw'unterminated "[" block: |'+s+"|";if(s.match(Lr)){if(p==null&&(p=pt(t,e),p==null))return"";n[n.length]={t:"Z",v:s.toLowerCase()},m=s.charAt(1)}else s.indexOf("$")>-1&&(s=(s.match(/\$([^-\[\]]*)/)||[])[1]||"$",da(r)||(n[n.length]={t:"t",v:s}));break;case".":if(p!=null){for(s=f;++i<r.length&&(f=r.charAt(i))==="0";)s+=f;n[n.length]={t:"s",v:s};break}case"0":case"#":for(s=f;++i<r.length&&"0#?.,E+-%".indexOf(f=r.charAt(i))>-1;)s+=f;n[n.length]={t:"n",v:s};break;case"?":for(s=f;r.charAt(++i)===f;)s+=f;n[n.length]={t:f,v:s},m=f;break;case"*":++i,(r.charAt(i)==" "||r.charAt(i)=="*")&&++i;break;case"(":case")":n[n.length]={t:a===1?"t":f,v:f},++i;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(s=f;i<r.length&&"0123456789".indexOf(r.charAt(++i))>-1;)s+=r.charAt(i);n[n.length]={t:"D",v:s};break;case" ":n[n.length]={t:f,v:f},++i;break;case"$":n[n.length]={t:"t",v:"$"},++i;break;default:if(",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP".indexOf(f)===-1)throw new Error("unrecognized character "+f+" in "+r);n[n.length]={t:"t",v:f},++i;break}var I=0,B=0,U;for(i=n.length-1,m="t";i>=0;--i)switch(n[i].t){case"h":case"H":n[i].t=E,m="h",I<1&&(I=1);break;case"s":(U=n[i].v.match(/\.0+$/))&&(B=Math.max(B,U[0].length-1)),I<3&&(I=3);case"d":case"y":case"M":case"e":m=n[i].t;break;case"m":m==="s"&&(n[i].t="M",I<2&&(I=2));break;case"X":break;case"Z":I<1&&n[i].v.match(/[Hh]/)&&(I=1),I<2&&n[i].v.match(/[Mm]/)&&(I=2),I<3&&n[i].v.match(/[Ss]/)&&(I=3)}switch(I){case 0:break;case 1:p.u>=.5&&(p.u=0,++p.S),p.S>=60&&(p.S=0,++p.M),p.M>=60&&(p.M=0,++p.H);break;case 2:p.u>=.5&&(p.u=0,++p.S),p.S>=60&&(p.S=0,++p.M);break}var W="",R;for(i=0;i<n.length;++i)switch(n[i].t){case"t":case"T":case" ":case"D":break;case"X":n[i].v="",n[i].t=";";break;case"d":case"m":case"y":case"h":case"H":case"M":case"s":case"e":case"b":case"Z":n[i].v=na(n[i].t.charCodeAt(0),n[i].v,p,B),n[i].t="t";break;case"n":case"?":for(R=i+1;n[R]!=null&&((f=n[R].t)==="?"||f==="D"||(f===" "||f==="t")&&n[R+1]!=null&&(n[R+1].t==="?"||n[R+1].t==="t"&&n[R+1].v==="/")||n[i].t==="("&&(f===" "||f==="n"||f===")")||f==="t"&&(n[R].v==="/"||n[R].v===" "&&n[R+1]!=null&&n[R+1].t=="?"));)n[i].v+=n[R].v,n[R]={v:"",t:";"},++R;W+=n[i].v,i=R-1;break;case"G":n[i].t="t",n[i].v=Nt(t,e);break}var q="",X,S;if(W.length>0){W.charCodeAt(0)==40?(X=t<0&&W.charCodeAt(0)===45?-t:t,S=Fe("n",W,X)):(X=t<0&&a>1?-t:t,S=Fe("n",W,X),X<0&&n[0]&&n[0].t=="t"&&(S=S.substr(1),n[0].v="-"+n[0].v)),R=S.length-1;var V=n.length;for(i=0;i<n.length;++i)if(n[i]!=null&&n[i].t!="t"&&n[i].v.indexOf(".")>-1){V=i;break}var D=n.length;if(V===n.length&&S.indexOf("E")===-1){for(i=n.length-1;i>=0;--i)n[i]==null||"n?".indexOf(n[i].t)===-1||(R>=n[i].v.length-1?(R-=n[i].v.length,n[i].v=S.substr(R+1,n[i].v.length)):R<0?n[i].v="":(n[i].v=S.substr(0,R+1),R=-1),n[i].t="t",D=i);R>=0&&D<n.length&&(n[D].v=S.substr(0,R+1)+n[D].v)}else if(V!==n.length&&S.indexOf("E")===-1){for(R=S.indexOf(".")-1,i=V;i>=0;--i)if(!(n[i]==null||"n?".indexOf(n[i].t)===-1)){for(w=n[i].v.indexOf(".")>-1&&i===V?n[i].v.indexOf(".")-1:n[i].v.length-1,q=n[i].v.substr(w+1);w>=0;--w)R>=0&&(n[i].v.charAt(w)==="0"||n[i].v.charAt(w)==="#")&&(q=S.charAt(R--)+q);n[i].v=q,n[i].t="t",D=i}for(R>=0&&D<n.length&&(n[D].v=S.substr(0,R+1)+n[D].v),R=S.indexOf(".")+1,i=V;i<n.length;++i)if(!(n[i]==null||"n?(".indexOf(n[i].t)===-1&&i!==V)){for(w=n[i].v.indexOf(".")>-1&&i===V?n[i].v.indexOf(".")+1:0,q=n[i].v.substr(0,w);w<n[i].v.length;++w)R<S.length&&(q+=S.charAt(R++));n[i].v=q,n[i].t="t",D=i}}}for(i=0;i<n.length;++i)n[i]!=null&&"n?".indexOf(n[i].t)>-1&&(X=a>1&&t<0&&i>0&&n[i-1].v==="-"?-t:t,n[i].v=Fe(n[i].t,n[i].v,X),n[i].t="t");var L="";for(i=0;i!==n.length;++i)n[i]!=null&&(L+=n[i].v);return L}var fr=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function cr(r,t){if(t==null)return!1;var e=parseFloat(t[2]);switch(t[1]){case"=":if(r==e)return!0;break;case">":if(r>e)return!0;break;case"<":if(r<e)return!0;break;case"<>":if(r!=e)return!0;break;case">=":if(r>=e)return!0;break;case"<=":if(r<=e)return!0;break}return!1}function ma(r,t){var e=ua(r),a=e.length,n=e[a-1].indexOf("@");if(a<4&&n>-1&&--a,e.length>4)throw new Error("cannot find right format for |"+e.join("|")+"|");if(typeof t!="number")return[4,e.length===4||n>-1?e[e.length-1]:"@"];switch(e.length){case 1:e=n>-1?["General","General","General",e[0]]:[e[0],e[0],e[0],"@"];break;case 2:e=n>-1?[e[0],e[0],e[0],e[1]]:[e[0],e[1],e[0],"@"];break;case 3:e=n>-1?[e[0],e[1],e[0],e[2]]:[e[0],e[1],e[2],"@"];break}var s=t>0?e[0]:t<0?e[1]:e[2];if(e[0].indexOf("[")===-1&&e[1].indexOf("[")===-1)return[a,s];if(e[0].match(/\[[=<>]/)!=null||e[1].match(/\[[=<>]/)!=null){var i=e[0].match(fr),f=e[1].match(fr);return cr(t,i)?[a,e[0]]:cr(t,f)?[a,e[1]]:[a,e[i!=null&&f!=null?2:1]]}return[a,s]}function et(r,t,e){e==null&&(e={});var a="";switch(typeof r){case"string":r=="m/d/yy"&&e.dateNF?a=e.dateNF:a=r;break;case"number":r==14&&e.dateNF?a=e.dateNF:a=(e.table!=null?e.table:de)[r],a==null&&(a=e.table&&e.table[sr[r]]||de[sr[r]]),a==null&&(a=Yn[r]||"General");break}if(wt(a,0))return Nt(t,e);t instanceof Date&&(t=Tr(t,e.date1904));var n=ma(a,t);if(wt(n[1]))return Nt(t,e);if(t===!0)t="TRUE";else if(t===!1)t="FALSE";else if(t===""||t==null)return"";return pa(n[1],t,e,n[0])}function Rr(r,t){if(typeof t!="number"){t=+t||-1;for(var e=0;e<392;++e){if(de[e]==null){t<0&&(t=e);continue}if(de[e]==r){t=e;break}}t<0&&(t=391)}return de[t]=r,t}function ga(r){for(var t=0;t!=392;++t)r[t]!==void 0&&Rr(r[t],t)}function va(){de=Jn()}var xa=function(){var r={};r.version="1.2.0";function t(){for(var S=0,V=new Array(256),D=0;D!=256;++D)S=D,S=S&1?-306674912^S>>>1:S>>>1,S=S&1?-306674912^S>>>1:S>>>1,S=S&1?-306674912^S>>>1:S>>>1,S=S&1?-306674912^S>>>1:S>>>1,S=S&1?-306674912^S>>>1:S>>>1,S=S&1?-306674912^S>>>1:S>>>1,S=S&1?-306674912^S>>>1:S>>>1,S=S&1?-306674912^S>>>1:S>>>1,V[D]=S;return typeof Int32Array<"u"?new Int32Array(V):V}var e=t();function a(S){var V=0,D=0,L=0,j=typeof Int32Array<"u"?new Int32Array(4096):new Array(4096);for(L=0;L!=256;++L)j[L]=S[L];for(L=0;L!=256;++L)for(D=S[L],V=256+L;V<4096;V+=256)D=j[V]=D>>>8^S[D&255];var z=[];for(L=1;L!=16;++L)z[L-1]=typeof Int32Array<"u"?j.subarray(L*256,L*256+256):j.slice(L*256,L*256+256);return z}var n=a(e),s=n[0],i=n[1],f=n[2],m=n[3],p=n[4],w=n[5],k=n[6],E=n[7],F=n[8],b=n[9],C=n[10],I=n[11],B=n[12],U=n[13],W=n[14];function R(S,V){for(var D=V^-1,L=0,j=S.length;L<j;)D=D>>>8^e[(D^S.charCodeAt(L++))&255];return~D}function q(S,V){for(var D=V^-1,L=S.length-15,j=0;j<L;)D=W[S[j++]^D&255]^U[S[j++]^D>>8&255]^B[S[j++]^D>>16&255]^I[S[j++]^D>>>24]^C[S[j++]]^b[S[j++]]^F[S[j++]]^E[S[j++]]^k[S[j++]]^w[S[j++]]^p[S[j++]]^m[S[j++]]^f[S[j++]]^i[S[j++]]^s[S[j++]]^e[S[j++]];for(L+=15;j<L;)D=D>>>8^e[(D^S[j++])&255];return~D}function X(S,V){for(var D=V^-1,L=0,j=S.length,z=0,G=0;L<j;)z=S.charCodeAt(L++),z<128?D=D>>>8^e[(D^z)&255]:z<2048?(D=D>>>8^e[(D^(192|z>>6&31))&255],D=D>>>8^e[(D^(128|z&63))&255]):z>=55296&&z<57344?(z=(z&1023)+64,G=S.charCodeAt(L++)&1023,D=D>>>8^e[(D^(240|z>>8&7))&255],D=D>>>8^e[(D^(128|z>>2&63))&255],D=D>>>8^e[(D^(128|G>>6&15|(z&3)<<4))&255],D=D>>>8^e[(D^(128|G&63))&255]):(D=D>>>8^e[(D^(224|z>>12&15))&255],D=D>>>8^e[(D^(128|z>>6&63))&255],D=D>>>8^e[(D^(128|z&63))&255]);return~D}return r.table=e,r.bstr=R,r.buf=q,r.str=X,r}(),ce=function(){var t={};t.version="1.2.1";function e(o,h){for(var l=o.split("/"),c=h.split("/"),u=0,d=0,v=Math.min(l.length,c.length);u<v;++u){if(d=l[u].length-c[u].length)return d;if(l[u]!=c[u])return l[u]<c[u]?-1:1}return l.length-c.length}function a(o){if(o.charAt(o.length-1)=="/")return o.slice(0,-1).indexOf("/")===-1?o:a(o.slice(0,-1));var h=o.lastIndexOf("/");return h===-1?o:o.slice(0,h+1)}function n(o){if(o.charAt(o.length-1)=="/")return n(o.slice(0,-1));var h=o.lastIndexOf("/");return h===-1?o:o.slice(h+1)}function s(o,h){typeof h=="string"&&(h=new Date(h));var l=h.getHours();l=l<<6|h.getMinutes(),l=l<<5|h.getSeconds()>>>1,o.write_shift(2,l);var c=h.getFullYear()-1980;c=c<<4|h.getMonth()+1,c=c<<5|h.getDate(),o.write_shift(2,c)}function i(o){var h=o.read_shift(2)&65535,l=o.read_shift(2)&65535,c=new Date,u=l&31;l>>>=5;var d=l&15;l>>>=4,c.setMilliseconds(0),c.setFullYear(l+1980),c.setMonth(d-1),c.setDate(u);var v=h&31;h>>>=5;var y=h&63;return h>>>=6,c.setHours(h),c.setMinutes(y),c.setSeconds(v<<1),c}function f(o){ke(o,0);for(var h={},l=0;o.l<=o.length-4;){var c=o.read_shift(2),u=o.read_shift(2),d=o.l+u,v={};switch(c){case 21589:l=o.read_shift(1),l&1&&(v.mtime=o.read_shift(4)),u>5&&(l&2&&(v.atime=o.read_shift(4)),l&4&&(v.ctime=o.read_shift(4))),v.mtime&&(v.mt=new Date(v.mtime*1e3));break}o.l=d,h[c]=v}return h}var m;function p(){return m||(m={})}function w(o,h){if(o[0]==80&&o[1]==75)return er(o,h);if((o[0]|32)==109&&(o[1]|32)==105)return Rn(o,h);if(o.length<512)throw new Error("CFB file size "+o.length+" < 512");var l=3,c=512,u=0,d=0,v=0,y=0,g=0,x=[],_=o.slice(0,512);ke(_,0);var A=k(_);switch(l=A[0],l){case 3:c=512;break;case 4:c=4096;break;case 0:if(A[1]==0)return er(o,h);default:throw new Error("Major Version: Expected 3 or 4 saw "+l)}c!==512&&(_=o.slice(0,c),ke(_,28));var O=o.slice(0,c);E(_,l);var P=_.read_shift(4,"i");if(l===3&&P!==0)throw new Error("# Directory Sectors: Expected 0 saw "+P);_.l+=4,v=_.read_shift(4,"i"),_.l+=4,_.chk("00100000","Mini Stream Cutoff Size: "),y=_.read_shift(4,"i"),u=_.read_shift(4,"i"),g=_.read_shift(4,"i"),d=_.read_shift(4,"i");for(var T=-1,M=0;M<109&&(T=_.read_shift(4,"i"),!(T<0));++M)x[M]=T;var H=F(o,c);I(g,d,H,c,x);var J=U(H,v,x,c);J[v].name="!Directory",u>0&&y!==G&&(J[y].name="!MiniFAT"),J[x[0]].name="!FAT",J.fat_addrs=x,J.ssz=c;var Y={},ne=[],Ge=[],Je=[];W(v,J,H,ne,u,Y,Ge,y),b(Ge,Je,ne),ne.shift();var Ye={FileIndex:Ge,FullPaths:Je};return h&&h.raw&&(Ye.raw={header:O,sectors:H}),Ye}function k(o){if(o[o.l]==80&&o[o.l+1]==75)return[0,0];o.chk(Te,"Header Signature: "),o.l+=16;var h=o.read_shift(2,"u");return[o.read_shift(2,"u"),h]}function E(o,h){var l=9;switch(o.l+=2,l=o.read_shift(2)){case 9:if(h!=3)throw new Error("Sector Shift: Expected 9 saw "+l);break;case 12:if(h!=4)throw new Error("Sector Shift: Expected 12 saw "+l);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+l)}o.chk("0600","Mini Sector Shift: "),o.chk("000000000000","Reserved: ")}function F(o,h){for(var l=Math.ceil(o.length/h)-1,c=[],u=1;u<l;++u)c[u-1]=o.slice(u*h,(u+1)*h);return c[l-1]=o.slice(l*h),c}function b(o,h,l){for(var c=0,u=0,d=0,v=0,y=0,g=l.length,x=[],_=[];c<g;++c)x[c]=_[c]=c,h[c]=l[c];for(;y<_.length;++y)c=_[y],u=o[c].L,d=o[c].R,v=o[c].C,x[c]===c&&(u!==-1&&x[u]!==u&&(x[c]=x[u]),d!==-1&&x[d]!==d&&(x[c]=x[d])),v!==-1&&(x[v]=c),u!==-1&&c!=x[c]&&(x[u]=x[c],_.lastIndexOf(u)<y&&_.push(u)),d!==-1&&c!=x[c]&&(x[d]=x[c],_.lastIndexOf(d)<y&&_.push(d));for(c=1;c<g;++c)x[c]===c&&(d!==-1&&x[d]!==d?x[c]=x[d]:u!==-1&&x[u]!==u&&(x[c]=x[u]));for(c=1;c<g;++c)if(o[c].type!==0){if(y=c,y!=x[y])do y=x[y],h[c]=h[y]+"/"+h[c];while(y!==0&&x[y]!==-1&&y!=x[y]);x[c]=-1}for(h[0]+="/",c=1;c<g;++c)o[c].type!==2&&(h[c]+="/")}function C(o,h,l){for(var c=o.start,u=o.size,d=[],v=c;l&&u>0&&v>=0;)d.push(h.slice(v*z,v*z+z)),u-=z,v=Be(l,v*4);return d.length===0?ye(0):Re(d).slice(0,o.size)}function I(o,h,l,c,u){var d=G;if(o===G){if(h!==0)throw new Error("DIFAT chain shorter than expected")}else if(o!==-1){var v=l[o],y=(c>>>2)-1;if(!v)return;for(var g=0;g<y&&(d=Be(v,g*4))!==G;++g)u.push(d);I(Be(v,c-4),h-1,l,c,u)}}function B(o,h,l,c,u){var d=[],v=[];u||(u=[]);var y=c-1,g=0,x=0;for(g=h;g>=0;){u[g]=!0,d[d.length]=g,v.push(o[g]);var _=l[Math.floor(g*4/c)];if(x=g*4&y,c<4+x)throw new Error("FAT boundary crossed: "+g+" 4 "+c);if(!o[_])break;g=Be(o[_],x)}return{nodes:d,data:vr([v])}}function U(o,h,l,c){var u=o.length,d=[],v=[],y=[],g=[],x=c-1,_=0,A=0,O=0,P=0;for(_=0;_<u;++_)if(y=[],O=_+h,O>=u&&(O-=u),!v[O]){g=[];var T=[];for(A=O;A>=0;){T[A]=!0,v[A]=!0,y[y.length]=A,g.push(o[A]);var M=l[Math.floor(A*4/c)];if(P=A*4&x,c<4+P)throw new Error("FAT boundary crossed: "+A+" 4 "+c);if(!o[M]||(A=Be(o[M],P),T[A]))break}d[O]={nodes:y,data:vr([g])}}return d}function W(o,h,l,c,u,d,v,y){for(var g=0,x=c.length?2:0,_=h[o].data,A=0,O=0,P;A<_.length;A+=128){var T=_.slice(A,A+128);ke(T,64),O=T.read_shift(2),P=Ht(T,0,O-x),c.push(P);var M={name:P,type:T.read_shift(1),color:T.read_shift(1),L:T.read_shift(4,"i"),R:T.read_shift(4,"i"),C:T.read_shift(4,"i"),clsid:T.read_shift(16),state:T.read_shift(4,"i"),start:0,size:0},H=T.read_shift(2)+T.read_shift(2)+T.read_shift(2)+T.read_shift(2);H!==0&&(M.ct=R(T,T.l-8));var J=T.read_shift(2)+T.read_shift(2)+T.read_shift(2)+T.read_shift(2);J!==0&&(M.mt=R(T,T.l-8)),M.start=T.read_shift(4,"i"),M.size=T.read_shift(4,"i"),M.size<0&&M.start<0&&(M.size=M.type=0,M.start=G,M.name=""),M.type===5?(g=M.start,u>0&&g!==G&&(h[g].name="!StreamData")):M.size>=4096?(M.storage="fat",h[M.start]===void 0&&(h[M.start]=B(l,M.start,h.fat_addrs,h.ssz)),h[M.start].name=M.name,M.content=h[M.start].data.slice(0,M.size)):(M.storage="minifat",M.size<0?M.size=0:g!==G&&M.start!==G&&h[g]&&(M.content=C(M,h[g].data,(h[y]||{}).data))),M.content&&ke(M.content,0),d[P]=M,v.push(M)}}function R(o,h){return new Date((le(o,h+4)/1e7*Math.pow(2,32)+le(o,h)/1e7-11644473600)*1e3)}function q(o,h){return p(),w(m.readFileSync(o),h)}function X(o,h){var l=h&&h.type;switch(l||K&&Buffer.isBuffer(o)&&(l="buffer"),l||"base64"){case"file":return q(o,h);case"base64":return w(Le(rr(o)),h);case"binary":return w(Le(o),h)}return w(o,h)}function S(o,h){var l=h||{},c=l.root||"Root Entry";if(o.FullPaths||(o.FullPaths=[]),o.FileIndex||(o.FileIndex=[]),o.FullPaths.length!==o.FileIndex.length)throw new Error("inconsistent CFB structure");o.FullPaths.length===0&&(o.FullPaths[0]=c+"/",o.FileIndex[0]={name:c,type:5}),l.CLSID&&(o.FileIndex[0].clsid=l.CLSID),V(o)}function V(o){var h="Sh33tJ5";if(!ce.find(o,"/"+h)){var l=ye(4);l[0]=55,l[1]=l[3]=50,l[2]=54,o.FileIndex.push({name:h,type:2,content:l,size:4,L:69,R:69,C:69}),o.FullPaths.push(o.FullPaths[0]+h),D(o)}}function D(o,h){S(o);for(var l=!1,c=!1,u=o.FullPaths.length-1;u>=0;--u){var d=o.FileIndex[u];switch(d.type){case 0:c?l=!0:(o.FileIndex.pop(),o.FullPaths.pop());break;case 1:case 2:case 5:c=!0,isNaN(d.R*d.L*d.C)&&(l=!0),d.R>-1&&d.L>-1&&d.R==d.L&&(l=!0);break;default:l=!0;break}}if(!(!l&&!h)){var v=new Date(1987,1,19),y=0,g=Object.create?Object.create(null):{},x=[];for(u=0;u<o.FullPaths.length;++u)g[o.FullPaths[u]]=!0,o.FileIndex[u].type!==0&&x.push([o.FullPaths[u],o.FileIndex[u]]);for(u=0;u<x.length;++u){var _=a(x[u][0]);c=g[_],c||(x.push([_,{name:n(_).replace("/",""),type:1,clsid:kt,ct:v,mt:v,content:null}]),g[_]=!0)}for(x.sort(function(P,T){return e(P[0],T[0])}),o.FullPaths=[],o.FileIndex=[],u=0;u<x.length;++u)o.FullPaths[u]=x[u][0],o.FileIndex[u]=x[u][1];for(u=0;u<x.length;++u){var A=o.FileIndex[u],O=o.FullPaths[u];if(A.name=n(O).replace("/",""),A.L=A.R=A.C=-(A.color=1),A.size=A.content?A.content.length:0,A.start=0,A.clsid=A.clsid||kt,u===0)A.C=x.length>1?1:-1,A.size=0,A.type=5;else if(O.slice(-1)=="/"){for(y=u+1;y<x.length&&a(o.FullPaths[y])!=O;++y);for(A.C=y>=x.length?-1:y,y=u+1;y<x.length&&a(o.FullPaths[y])!=a(O);++y);A.R=y>=x.length?-1:y,A.type=1}else a(o.FullPaths[u+1]||"")==a(O)&&(A.R=u+1),A.type=2}}}function L(o,h){var l=h||{};if(l.fileType=="mad")return $n(o,l);switch(D(o),l.fileType){case"zip":return Dn(o,l)}var c=function(P){for(var T=0,M=0,H=0;H<P.FileIndex.length;++H){var J=P.FileIndex[H];if(J.content){var Y=J.content.length;Y>0&&(Y<4096?T+=Y+63>>6:M+=Y+511>>9)}}for(var ne=P.FullPaths.length+3>>2,Ge=T+7>>3,Je=T+127>>7,Ye=Ge+M+ne+Je,Oe=Ye+127>>7,Ot=Oe<=109?0:Math.ceil((Oe-109)/127);Ye+Oe+Ot+127>>7>Oe;)Ot=++Oe<=109?0:Math.ceil((Oe-109)/127);var we=[1,Ot,Oe,Je,ne,M,T,0];return P.FileIndex[0].size=T<<6,we[7]=(P.FileIndex[0].start=we[0]+we[1]+we[2]+we[3]+we[4]+we[5])+(we[6]+7>>3),we}(o),u=ye(c[7]<<9),d=0,v=0;{for(d=0;d<8;++d)u.write_shift(1,mn[d]);for(d=0;d<8;++d)u.write_shift(2,0);for(u.write_shift(2,62),u.write_shift(2,3),u.write_shift(2,65534),u.write_shift(2,9),u.write_shift(2,6),d=0;d<3;++d)u.write_shift(2,0);for(u.write_shift(4,0),u.write_shift(4,c[2]),u.write_shift(4,c[0]+c[1]+c[2]+c[3]-1),u.write_shift(4,0),u.write_shift(4,1<<12),u.write_shift(4,c[3]?c[0]+c[1]+c[2]-1:G),u.write_shift(4,c[3]),u.write_shift(-4,c[1]?c[0]-1:G),u.write_shift(4,c[1]),d=0;d<109;++d)u.write_shift(-4,d<c[2]?c[1]+d:-1)}if(c[1])for(v=0;v<c[1];++v){for(;d<236+v*127;++d)u.write_shift(-4,d<c[2]?c[1]+d:-1);u.write_shift(-4,v===c[1]-1?G:v+1)}var y=function(P){for(v+=P;d<v-1;++d)u.write_shift(-4,d+1);P&&(++d,u.write_shift(-4,G))};for(v=d=0,v+=c[1];d<v;++d)u.write_shift(-4,ze.DIFSECT);for(v+=c[2];d<v;++d)u.write_shift(-4,ze.FATSECT);y(c[3]),y(c[4]);for(var g=0,x=0,_=o.FileIndex[0];g<o.FileIndex.length;++g)_=o.FileIndex[g],_.content&&(x=_.content.length,!(x<4096)&&(_.start=v,y(x+511>>9)));for(y(c[6]+7>>3);u.l&511;)u.write_shift(-4,ze.ENDOFCHAIN);for(v=d=0,g=0;g<o.FileIndex.length;++g)_=o.FileIndex[g],_.content&&(x=_.content.length,!(!x||x>=4096)&&(_.start=v,y(x+63>>6)));for(;u.l&511;)u.write_shift(-4,ze.ENDOFCHAIN);for(d=0;d<c[4]<<2;++d){var A=o.FullPaths[d];if(!A||A.length===0){for(g=0;g<17;++g)u.write_shift(4,0);for(g=0;g<3;++g)u.write_shift(4,-1);for(g=0;g<12;++g)u.write_shift(4,0);continue}_=o.FileIndex[d],d===0&&(_.start=_.size?_.start-1:G);var O=d===0&&l.root||_.name;if(x=2*(O.length+1),u.write_shift(64,O,"utf16le"),u.write_shift(2,x),u.write_shift(1,_.type),u.write_shift(1,_.color),u.write_shift(-4,_.L),u.write_shift(-4,_.R),u.write_shift(-4,_.C),_.clsid)u.write_shift(16,_.clsid,"hex");else for(g=0;g<4;++g)u.write_shift(4,0);u.write_shift(4,_.state||0),u.write_shift(4,0),u.write_shift(4,0),u.write_shift(4,0),u.write_shift(4,0),u.write_shift(4,_.start),u.write_shift(4,_.size),u.write_shift(4,0)}for(d=1;d<o.FileIndex.length;++d)if(_=o.FileIndex[d],_.size>=4096)if(u.l=_.start+1<<9,K&&Buffer.isBuffer(_.content))_.content.copy(u,u.l,0,_.size),u.l+=_.size+511&-512;else{for(g=0;g<_.size;++g)u.write_shift(1,_.content[g]);for(;g&511;++g)u.write_shift(1,0)}for(d=1;d<o.FileIndex.length;++d)if(_=o.FileIndex[d],_.size>0&&_.size<4096)if(K&&Buffer.isBuffer(_.content))_.content.copy(u,u.l,0,_.size),u.l+=_.size+63&-64;else{for(g=0;g<_.size;++g)u.write_shift(1,_.content[g]);for(;g&63;++g)u.write_shift(1,0)}if(K)u.l=u.length;else for(;u.l<u.length;)u.write_shift(1,0);return u}function j(o,h){var l=o.FullPaths.map(function(g){return g.toUpperCase()}),c=l.map(function(g){var x=g.split("/");return x[x.length-(g.slice(-1)=="/"?2:1)]}),u=!1;h.charCodeAt(0)===47?(u=!0,h=l[0].slice(0,-1)+h):u=h.indexOf("/")!==-1;var d=h.toUpperCase(),v=u===!0?l.indexOf(d):c.indexOf(d);if(v!==-1)return o.FileIndex[v];var y=!d.match(dt);for(d=d.replace(Ze,""),y&&(d=d.replace(dt,"!")),v=0;v<l.length;++v)if((y?l[v].replace(dt,"!"):l[v]).replace(Ze,"")==d||(y?c[v].replace(dt,"!"):c[v]).replace(Ze,"")==d)return o.FileIndex[v];return null}var z=64,G=-2,Te="d0cf11e0a1b11ae1",mn=[208,207,17,224,161,177,26,225],kt="00000000000000000000000000000000",ze={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:G,FREESECT:-1,HEADER_SIGNATURE:Te,HEADER_MINOR_VERSION:"3e00",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:kt,EntryTypes:["unknown","storage","stream","lockbytes","property","root"]};function gn(o,h,l){p();var c=L(o,l);m.writeFileSync(h,c)}function Xe(o){for(var h=new Array(o.length),l=0;l<o.length;++l)h[l]=String.fromCharCode(o[l]);return h.join("")}function vn(o,h){var l=L(o,h);switch(h&&h.type||"buffer"){case"file":return p(),m.writeFileSync(h.filename,l),l;case"binary":return typeof l=="string"?l:Xe(l);case"base64":return tr(typeof l=="string"?l:Xe(l));case"buffer":if(K)return Buffer.isBuffer(l)?l:Me(l);case"array":return typeof l=="string"?Le(l):l}return l}var Ve;function xn(o){try{var h=o.InflateRaw,l=new h;if(l._processChunk(new Uint8Array([3,0]),l._finishFlushFlag),l.bytesRead)Ve=o;else throw new Error("zlib does not expose bytesRead")}catch(c){console.error("cannot use native zlib: "+(c.message||c))}}function _n(o,h){if(!Ve)return Zt(o,h);var l=Ve.InflateRaw,c=new l,u=c._processChunk(o.slice(o.l),c._finishFlushFlag);return o.l+=c.bytesRead,u}function wn(o){return Ve?Ve.deflateRawSync(o):Vt(o)}var yn=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],st=[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],ot=[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 Fn(o){var h=(o<<1|o<<11)&139536|(o<<5|o<<15)&558144;return(h>>16|h>>8|h)&255}for(var re=typeof Uint8Array<"u",_e=re?new Uint8Array(1<<8):[],lt=0;lt<1<<8;++lt)_e[lt]=Fn(lt);function Sn(o,h){var l=_e[o&255];return h<=8?l>>>8-h:(l=l<<8|_e[o>>8&255],h<=16?l>>>16-h:(l=l<<8|_e[o>>16&255],l>>>24-h))}function kn(o,h){var l=h&7,c=h>>>3;return(o[c]|(l<=6?0:o[c+1]<<8))>>>l&3}function Ct(o,h){var l=h&7,c=h>>>3;return(o[c]|(l<=5?0:o[c+1]<<8))>>>l&7}function Cn(o,h){var l=h&7,c=h>>>3;return(o[c]|(l<=4?0:o[c+1]<<8))>>>l&15}function jt(o,h){var l=h&7,c=h>>>3;return(o[c]|(l<=3?0:o[c+1]<<8))>>>l&31}function Wt(o,h){var l=h&7,c=h>>>3;return(o[c]|(l<=1?0:o[c+1]<<8))>>>l&127}function ft(o,h,l){var c=h&7,u=h>>>3,d=(1<<l)-1,v=o[u]>>>c;return l<8-c||(v|=o[u+1]<<8-c,l<16-c)||(v|=o[u+2]<<16-c,l<24-c)||(v|=o[u+3]<<24-c),v&d}function zt(o,h,l){var c=h&7,u=h>>>3;return c<=5?o[u]|=(l&7)<<c:(o[u]|=l<<c&255,o[u+1]=(l&7)>>8-c),h+3}function An(o,h,l){var c=h&7,u=h>>>3;return l=(l&1)<<c,o[u]|=l,h+1}function Ie(o,h,l){var c=h&7,u=h>>>3;return l<<=c,o[u]|=l&255,l>>>=8,o[u+1]=l,h+8}function Xt(o,h,l){var c=h&7,u=h>>>3;return l<<=c,o[u]|=l&255,l>>>=8,o[u+1]=l&255,o[u+2]=l>>>8,h+16}function At(o,h){var l=o.length,c=2*l>h?2*l:h+5,u=0;if(l>=h)return o;if(K){var d=nr(c);if(o.copy)o.copy(d);else for(;u<o.length;++u)d[u]=o[u];return d}else if(re){var v=new Uint8Array(c);if(v.set)v.set(o);else for(;u<l;++u)v[u]=o[u];return v}return o.length=c,o}function me(o){for(var h=new Array(o),l=0;l<o;++l)h[l]=0;return h}function ct(o,h,l){var c=1,u=0,d=0,v=0,y=0,g=o.length,x=re?new Uint16Array(32):me(32);for(d=0;d<32;++d)x[d]=0;for(d=g;d<l;++d)o[d]=0;g=o.length;var _=re?new Uint16Array(g):me(g);for(d=0;d<g;++d)x[u=o[d]]++,c<u&&(c=u),_[d]=0;for(x[0]=0,d=1;d<=c;++d)x[d+16]=y=y+x[d-1]<<1;for(d=0;d<g;++d)y=o[d],y!=0&&(_[d]=x[y+16]++);var A=0;for(d=0;d<g;++d)if(A=o[d],A!=0)for(y=Sn(_[d],c)>>c-A,v=(1<<c+4-A)-1;v>=0;--v)h[y|v<<A]=A&15|d<<4;return c}var Et=re?new Uint16Array(512):me(512),Tt=re?new Uint16Array(32):me(32);if(!re){for(var be=0;be<512;++be)Et[be]=0;for(be=0;be<32;++be)Tt[be]=0}(function(){for(var o=[],h=0;h<32;h++)o.push(5);ct(o,Tt,32);var l=[];for(h=0;h<=143;h++)l.push(8);for(;h<=255;h++)l.push(9);for(;h<=279;h++)l.push(7);for(;h<=287;h++)l.push(8);ct(l,Et,288)})();var En=function(){for(var h=re?new Uint8Array(32768):[],l=0,c=0;l<ot.length-1;++l)for(;c<ot[l+1];++c)h[c]=l;for(;c<32768;++c)h[c]=29;var u=re?new Uint8Array(259):[];for(l=0,c=0;l<st.length-1;++l)for(;c<st[l+1];++c)u[c]=l;function d(y,g){for(var x=0;x<y.length;){var _=Math.min(65535,y.length-x),A=x+_==y.length;for(g.write_shift(1,+A),g.write_shift(2,_),g.write_shift(2,~_&65535);_-- >0;)g[g.l++]=y[x++]}return g.l}function v(y,g){for(var x=0,_=0,A=re?new Uint16Array(32768):[];_<y.length;){var O=Math.min(65535,y.length-_);if(O<10){for(x=zt(g,x,+(_+O==y.length)),x&7&&(x+=8-(x&7)),g.l=x/8|0,g.write_shift(2,O),g.write_shift(2,~O&65535);O-- >0;)g[g.l++]=y[_++];x=g.l*8;continue}x=zt(g,x,+(_+O==y.length)+2);for(var P=0;O-- >0;){var T=y[_];P=(P<<5^T)&32767;var M=-1,H=0;if((M=A[P])&&(M|=_&-32768,M>_&&(M-=32768),M<_))for(;y[M+H]==y[_+H]&&H<250;)++H;if(H>2){T=u[H],T<=22?x=Ie(g,x,_e[T+1]>>1)-1:(Ie(g,x,3),x+=5,Ie(g,x,_e[T-23]>>5),x+=3);var J=T<8?0:T-4>>2;J>0&&(Xt(g,x,H-st[T]),x+=J),T=h[_-M],x=Ie(g,x,_e[T]>>3),x-=3;var Y=T<4?0:T-2>>1;Y>0&&(Xt(g,x,_-M-ot[T]),x+=Y);for(var ne=0;ne<H;++ne)A[P]=_&32767,P=(P<<5^y[_])&32767,++_;O-=H-1}else T<=143?T=T+48:x=An(g,x,1),x=Ie(g,x,_e[T]),A[P]=_&32767,++_}x=Ie(g,x,0)-1}return g.l=(x+7)/8|0,g.l}return function(g,x){return g.length<8?d(g,x):v(g,x)}}();function Vt(o){var h=ye(50+Math.floor(o.length*1.1)),l=En(o,h);return h.slice(0,l)}var Gt=re?new Uint16Array(32768):me(32768),Jt=re?new Uint16Array(32768):me(32768),Yt=re?new Uint16Array(128):me(128),Kt=1,qt=1;function Tn(o,h){var l=jt(o,h)+257;h+=5;var c=jt(o,h)+1;h+=5;var u=Cn(o,h)+4;h+=4;for(var d=0,v=re?new Uint8Array(19):me(19),y=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],g=1,x=re?new Uint8Array(8):me(8),_=re?new Uint8Array(8):me(8),A=v.length,O=0;O<u;++O)v[yn[O]]=d=Ct(o,h),g<d&&(g=d),x[d]++,h+=3;var P=0;for(x[0]=0,O=1;O<=g;++O)_[O]=P=P+x[O-1]<<1;for(O=0;O<A;++O)(P=v[O])!=0&&(y[O]=_[P]++);var T=0;for(O=0;O<A;++O)if(T=v[O],T!=0){P=_e[y[O]]>>8-T;for(var M=(1<<7-T)-1;M>=0;--M)Yt[P|M<<T]=T&7|O<<3}var H=[];for(g=1;H.length<l+c;)switch(P=Yt[Wt(o,h)],h+=P&7,P>>>=3){case 16:for(d=3+kn(o,h),h+=2,P=H[H.length-1];d-- >0;)H.push(P);break;case 17:for(d=3+Ct(o,h),h+=3;d-- >0;)H.push(0);break;case 18:for(d=11+Wt(o,h),h+=7;d-- >0;)H.push(0);break;default:H.push(P),g<P&&(g=P);break}var J=H.slice(0,l),Y=H.slice(l);for(O=l;O<286;++O)J[O]=0;for(O=c;O<30;++O)Y[O]=0;return Kt=ct(J,Gt,286),qt=ct(Y,Jt,30),h}function bn(o,h){if(o[0]==3&&!(o[1]&3))return[He(h),2];for(var l=0,c=0,u=nr(h||1<<18),d=0,v=u.length>>>0,y=0,g=0;!(c&1);){if(c=Ct(o,l),l+=3,c>>>1)c>>1==1?(y=9,g=5):(l=Tn(o,l),y=Kt,g=qt);else{l&7&&(l+=8-(l&7));var x=o[l>>>3]|o[(l>>>3)+1]<<8;if(l+=32,x>0)for(!h&&v<d+x&&(u=At(u,d+x),v=u.length);x-- >0;)u[d++]=o[l>>>3],l+=8;continue}for(;;){!h&&v<d+32767&&(u=At(u,d+32767),v=u.length);var _=ft(o,l,y),A=c>>>1==1?Et[_]:Gt[_];if(l+=A&15,A>>>=4,!(A>>>8&255))u[d++]=A;else{if(A==256)break;A-=257;var O=A<8?0:A-4>>2;O>5&&(O=0);var P=d+st[A];O>0&&(P+=ft(o,l,O),l+=O),_=ft(o,l,g),A=c>>>1==1?Tt[_]:Jt[_],l+=A&15,A>>>=4;var T=A<4?0:A-2>>1,M=ot[A];for(T>0&&(M+=ft(o,l,T),l+=T),!h&&v<P&&(u=At(u,P+100),v=u.length);d<P;)u[d]=u[d-M],++d}}}return h?[u,l+7>>>3]:[u.slice(0,d),l+7>>>3]}function Zt(o,h){var l=o.slice(o.l||0),c=bn(l,h);return o.l+=c[1],c[0]}function Qt(o,h){if(o)typeof console<"u"&&console.error(h);else throw new Error(h)}function er(o,h){var l=o;ke(l,0);var c=[],u=[],d={FileIndex:c,FullPaths:u};S(d,{root:h.root});for(var v=l.length-4;(l[v]!=80||l[v+1]!=75||l[v+2]!=5||l[v+3]!=6)&&v>=0;)--v;l.l=v+4,l.l+=4;var y=l.read_shift(2);l.l+=6;var g=l.read_shift(4);for(l.l=g,v=0;v<y;++v){l.l+=20;var x=l.read_shift(4),_=l.read_shift(4),A=l.read_shift(2),O=l.read_shift(2),P=l.read_shift(2);l.l+=8;var T=l.read_shift(4),M=f(l.slice(l.l+A,l.l+A+O));l.l+=A+O+P;var H=l.l;l.l=T+4,On(l,x,_,d,M),l.l=H}return d}function On(o,h,l,c,u){o.l+=2;var d=o.read_shift(2),v=o.read_shift(2),y=i(o);if(d&8257)throw new Error("Unsupported ZIP encryption");for(var g=o.read_shift(4),x=o.read_shift(4),_=o.read_shift(4),A=o.read_shift(2),O=o.read_shift(2),P="",T=0;T<A;++T)P+=String.fromCharCode(o[o.l++]);if(O){var M=f(o.slice(o.l,o.l+O));(M[21589]||{}).mt&&(y=M[21589].mt),((u||{})[21589]||{}).mt&&(y=u[21589].mt)}o.l+=O;var H=o.slice(o.l,o.l+x);switch(v){case 8:H=_n(o,_);break;case 0:break;default:throw new Error("Unsupported ZIP Compression method "+v)}var J=!1;d&8&&(g=o.read_shift(4),g==134695760&&(g=o.read_shift(4),J=!0),x=o.read_shift(4),_=o.read_shift(4)),x!=h&&Qt(J,"Bad compressed size: "+h+" != "+x),_!=l&&Qt(J,"Bad uncompressed size: "+l+" != "+_),bt(c,P,H,{unsafe:!0,mt:y})}function Dn(o,h){var l=h||{},c=[],u=[],d=ye(1),v=l.compression?8:0,y=0,g=0,x=0,_=0,A=0,O=o.FullPaths[0],P=O,T=o.FileIndex[0],M=[],H=0;for(g=1;g<o.FullPaths.length;++g)if(P=o.FullPaths[g].slice(O.length),T=o.FileIndex[g],!(!T.size||!T.content||P=="Sh33tJ5")){var J=_,Y=ye(P.length);for(x=0;x<P.length;++x)Y.write_shift(1,P.charCodeAt(x)&127);Y=Y.slice(0,Y.l),M[A]=xa.buf(T.content,0);var ne=T.content;v==8&&(ne=wn(ne)),d=ye(30),d.write_shift(4,67324752),d.write_shift(2,20),d.write_shift(2,y),d.write_shift(2,v),T.mt?s(d,T.mt):d.write_shift(4,0),d.write_shift(-4,M[A]),d.write_shift(4,ne.length),d.write_shift(4,T.content.length),d.write_shift(2,Y.length),d.write_shift(2,0),_+=d.length,c.push(d),_+=Y.length,c.push(Y),_+=ne.length,c.push(ne),d=ye(46),d.write_shift(4,33639248),d.write_shift(2,0),d.write_shift(2,20),d.write_shift(2,y),d.write_shift(2,v),d.write_shift(4,0),d.write_shift(-4,M[A]),d.write_shift(4,ne.length),d.write_shift(4,T.content.length),d.write_shift(2,Y.length),d.write_shift(2,0),d.write_shift(2,0),d.write_shift(2,0),d.write_shift(2,0),d.write_shift(4,0),d.write_shift(4,J),H+=d.l,u.push(d),H+=Y.length,u.push(Y),++A}return d=ye(22),d.write_shift(4,101010256),d.write_shift(2,0),d.write_shift(2,0),d.write_shift(2,A),d.write_shift(2,A),d.write_shift(4,H),d.write_shift(4,_),d.write_shift(2,0),Re([Re(c),Re(u),d])}var ht={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 Mn(o,h){if(o.ctype)return o.ctype;var l=o.name||"",c=l.match(/\.([^\.]+)$/);return c&&ht[c[1]]||h&&(c=(l=h).match(/[\.\\]([^\.\\])+$/),c&&ht[c[1]])?ht[c[1]]:"application/octet-stream"}function Pn(o){for(var h=tr(o),l=[],c=0;c<h.length;c+=76)l.push(h.slice(c,c+76));return l.join(`\r
`)+`\r
`}function In(o){var h=o.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF=]/g,function(x){var _=x.charCodeAt(0).toString(16).toUpperCase();return"="+(_.length==1?"0"+_:_)});h=h.replace(/ $/mg,"=20").replace(/\t$/mg,"=09"),h.charAt(0)==`
`&&(h="=0D"+h.slice(1)),h=h.replace(/\r(?!\n)/mg,"=0D").replace(/\n\n/mg,`
=0A`).replace(/([^\r\n])\n/mg,"$1=0A");for(var l=[],c=h.split(`\r
`),u=0;u<c.length;++u){var d=c[u];if(d.length==0){l.push("");continue}for(var v=0;v<d.length;){var y=76,g=d.slice(v,v+y);g.charAt(y-1)=="="?y--:g.charAt(y-2)=="="?y-=2:g.charAt(y-3)=="="&&(y-=3),g=d.slice(v,v+y),v+=y,v<d.length&&(g+="="),l.push(g)}}return l.join(`\r
`)}function Nn(o){for(var h=[],l=0;l<o.length;++l){for(var c=o[l];l<=o.length&&c.charAt(c.length-1)=="=";)c=c.slice(0,c.length-1)+o[++l];h.push(c)}for(var u=0;u<h.length;++u)h[u]=h[u].replace(/[=][0-9A-Fa-f]{2}/g,function(d){return String.fromCharCode(parseInt(d.slice(1),16))});return Le(h.join(`\r
`))}function Ln(o,h,l){for(var c="",u="",d="",v,y=0;y<10;++y){var g=h[y];if(!g||g.match(/^\s*$/))break;var x=g.match(/^(.*?):\s*([^\s].*)$/);if(x)switch(x[1].toLowerCase()){case"content-location":c=x[2].trim();break;case"content-type":d=x[2].trim();break;case"content-transfer-encoding":u=x[2].trim();break}}switch(++y,u.toLowerCase()){case"base64":v=Le(rr(h.slice(y).join("")));break;case"quoted-printable":v=Nn(h.slice(y));break;default:throw new Error("Unsupported Content-Transfer-Encoding "+u)}var _=bt(o,c.slice(l.length),v,{unsafe:!0});d&&(_.ctype=d)}function Rn(o,h){if(Xe(o.slice(0,13)).toLowerCase()!="mime-version:")throw new Error("Unsupported MAD header");var l=h&&h.root||"",c=(K&&Buffer.isBuffer(o)?o.toString("binary"):Xe(o)).split(`\r
`),u=0,d="";for(u=0;u<c.length;++u)if(d=c[u],!!/^Content-Location:/i.test(d)&&(d=d.slice(d.indexOf("file")),l||(l=d.slice(0,d.lastIndexOf("/")+1)),d.slice(0,l.length)!=l))for(;l.length>0&&(l=l.slice(0,l.length-1),l=l.slice(0,l.lastIndexOf("/")+1),d.slice(0,l.length)!=l););var v=(c[1]||"").match(/boundary="(.*?)"/);if(!v)throw new Error("MAD cannot find boundary");var y="--"+(v[1]||""),g=[],x=[],_={FileIndex:g,FullPaths:x};S(_);var A,O=0;for(u=0;u<c.length;++u){var P=c[u];P!==y&&P!==y+"--"||(O++&&Ln(_,c.slice(A,u),l),A=u)}return _}function $n(o,h){var l=h||{},c=l.boundary||"SheetJS";c="------="+c;for(var u=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+c.slice(2)+'"',"","",""],d=o.FullPaths[0],v=d,y=o.FileIndex[0],g=1;g<o.FullPaths.length;++g)if(v=o.FullPaths[g].slice(d.length),y=o.FileIndex[g],!(!y.size||!y.content||v=="Sh33tJ5")){v=v.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF]/g,function(H){return"_x"+H.charCodeAt(0).toString(16)+"_"}).replace(/[\u0080-\uFFFF]/g,function(H){return"_u"+H.charCodeAt(0).toString(16)+"_"});for(var x=y.content,_=K&&Buffer.isBuffer(x)?x.toString("binary"):Xe(x),A=0,O=Math.min(1024,_.length),P=0,T=0;T<=O;++T)(P=_.charCodeAt(T))>=32&&P<128&&++A;var M=A>=O*4/5;u.push(c),u.push("Content-Location: "+(l.root||"file:///C:/SheetJS/")+v),u.push("Content-Transfer-Encoding: "+(M?"quoted-printable":"base64")),u.push("Content-Type: "+Mn(y,v)),u.push(""),u.push(M?In(_):Pn(_))}return u.push(c+`--\r
`),u.join(`\r
`)}function Bn(o){var h={};return S(h,o),h}function bt(o,h,l,c){var u=c&&c.unsafe;u||S(o);var d=!u&&ce.find(o,h);if(!d){var v=o.FullPaths[0];h.slice(0,v.length)==v?v=h:(v.slice(-1)!="/"&&(v+="/"),v=(v+h).replace("//","/")),d={name:n(h),type:2},o.FileIndex.push(d),o.FullPaths.push(v),u||ce.utils.cfb_gc(o)}return d.content=l,d.size=l?l.length:0,c&&(c.CLSID&&(d.clsid=c.CLSID),c.mt&&(d.mt=c.mt),c.ct&&(d.ct=c.ct)),d}function Un(o,h){S(o);var l=ce.find(o,h);if(l){for(var c=0;c<o.FileIndex.length;++c)if(o.FileIndex[c]==l)return o.FileIndex.splice(c,1),o.FullPaths.splice(c,1),!0}return!1}function Hn(o,h,l){S(o);var c=ce.find(o,h);if(c){for(var u=0;u<o.FileIndex.length;++u)if(o.FileIndex[u]==c)return o.FileIndex[u].name=n(l),o.FullPaths[u]=l,!0}return!1}function jn(o){D(o,!0)}return t.find=j,t.read=X,t.parse=w,t.write=vn,t.writeFile=gn,t.utils={cfb_new:Bn,cfb_add:bt,cfb_del:Un,cfb_mov:Hn,cfb_gc:jn,ReadShift:Qe,CheckField:nn,prep_blob:ke,bconcat:Re,use_zlib:xn,_deflateRaw:Vt,_inflateRaw:Zt,consts:ze},t}();function _a(r){return typeof r=="string"?St(r):Array.isArray(r)?zn(r):r}function $r(r,t,e){if(typeof Deno<"u"){if(e&&typeof t=="string")switch(e){case"utf8":t=new TextEncoder(e).encode(t);break;case"binary":t=St(t);break;default:throw new Error("Unsupported encoding "+e)}return Deno.writeFileSync(r,t)}var a=e=="utf8"?jr(t):t;if(typeof IE_SaveFile<"u")return IE_SaveFile(a,r);if(typeof Blob<"u"){var n=new Blob([_a(a)],{type:"application/octet-stream"});if(typeof navigator<"u"&&navigator.msSaveBlob)return navigator.msSaveBlob(n,r);if(typeof saveAs<"u")return saveAs(n,r);if(typeof URL<"u"&&typeof document<"u"&&document.createElement&&URL.createObjectURL){var s=URL.createObjectURL(n);if(typeof chrome=="object"&&typeof(chrome.downloads||{}).download=="function")return URL.revokeObjectURL&&typeof setTimeout<"u"&&setTimeout(function(){URL.revokeObjectURL(s)},6e4),chrome.downloads.download({url:s,filename:r,saveAs:!0});var i=document.createElement("a");if(i.download!=null)return i.download=r,i.href=s,document.body.appendChild(i),i.click(),document.body.removeChild(i),URL.revokeObjectURL&&typeof setTimeout<"u"&&setTimeout(function(){URL.revokeObjectURL(s)},6e4),s}}if(typeof $<"u"&&typeof File<"u"&&typeof Folder<"u")try{var f=File(r);return f.open("w"),f.encoding="binary",Array.isArray(t)&&(t=Wn(t)),f.write(t),f.close(),t}catch(m){if(!m.message||!m.message.match(/onstruct/))throw m}throw new Error("cannot save file "+r)}function Ee(r){for(var t=Object.keys(r),e=[],a=0;a<t.length;++a)Object.prototype.hasOwnProperty.call(r,t[a])&&e.push(t[a]);return e}function wa(r){for(var t=[],e=Ee(r),a=0;a!==e.length;++a)t[r[e[a]]]=e[a];return t}function ya(r){for(var t=[],e=Ee(r),a=0;a!==e.length;++a)t[r[e[a]]]=parseInt(e[a],10);return t}function Fa(r){for(var t=[],e=Ee(r),a=0;a!==e.length;++a)t[r[e[a]]]==null&&(t[r[e[a]]]=[]),t[r[e[a]]].push(e[a]);return t}var hr=new Date(1899,11,30,0,0,0);function De(r,t){var e=r.getTime();t&&(e-=1462*24*60*60*1e3);var a=hr.getTime()+(r.getTimezoneOffset()-hr.getTimezoneOffset())*6e4;return(e-a)/(24*60*60*1e3)}var ur=new Date("2017-02-19T19:06:09.000Z"),Br=isNaN(ur.getFullYear())?new Date("2/19/17"):ur,Sa=Br.getFullYear()==2017;function Lt(r,t){var e=new Date(r);if(Sa)return t>0?e.setTime(e.getTime()+e.getTimezoneOffset()*60*1e3):t<0&&e.setTime(e.getTime()-e.getTimezoneOffset()*60*1e3),e;if(r instanceof Date)return r;if(Br.getFullYear()==1917&&!isNaN(e.getFullYear())){var a=e.getFullYear();return r.indexOf(""+a)>-1||e.setFullYear(e.getFullYear()+100),e}var n=r.match(/\d+/g)||["2017","2","19","0","0","0"],s=new Date(+n[0],+n[1]-1,+n[2],+n[3]||0,+n[4]||0,+n[5]||0);return r.indexOf("Z")>-1&&(s=new Date(s.getTime()-s.getTimezoneOffset()*60*1e3)),s}function nt(r){if(typeof JSON<"u"&&!Array.isArray(r))return JSON.parse(JSON.stringify(r));if(typeof r!="object"||r==null)return r;if(r instanceof Date)return new Date(r.getTime());var t={};for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&(t[e]=nt(r[e]));return t}function se(r,t){for(var e="";e.length<t;)e+=r;return e}function dr(r){var t=Number(r);if(!isNaN(t))return isFinite(t)?t:NaN;if(!/\d/.test(r))return t;var e=1,a=r.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g,function(){return e*=100,""});return!isNaN(t=Number(a))||(a=a.replace(/[(](.*)[)]/,function(n,s){return e=-e,s}),!isNaN(t=Number(a)))?t/e:t}var ka=["january","february","march","april","may","june","july","august","september","october","november","december"];function Ca(r){var t=new Date(r),e=new Date(NaN),a=t.getYear(),n=t.getMonth(),s=t.getDate();if(isNaN(s))return e;var i=r.toLowerCase();if(i.match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/)){if(i=i.replace(/[^a-z]/g,"").replace(/([^a-z]|^)[ap]m?([^a-z]|$)/,""),i.length>3&&ka.indexOf(i)==-1)return e}else if(i.match(/[a-z]/))return e;return a<0||a>8099?e:(n>0||s>1)&&a!=101?t:r.match(/[^-0-9:,\/\\]/)?e:t}function ee(r,t,e){if(r.FullPaths){if(typeof e=="string"){var a;return K?a=Me(e):a=Xn(e),ce.utils.cfb_add(r,t,a)}ce.utils.cfb_add(r,t,e)}else r.file(t,e)}function Aa(){return ce.utils.cfb_new()}var oe=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r
`,Ea={"&quot;":'"',"&apos;":"'","&gt;":">","&lt;":"<","&amp;":"&"},Ur=wa(Ea),Hr=/[&<>'"]/g,Ta=/[\u0000-\u0008\u000b-\u001f]/g;function Z(r){var t=r+"";return t.replace(Hr,function(e){return Ur[e]}).replace(Ta,function(e){return"_x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+"_"})}var ba=/[\u0000-\u001f]/g;function Oa(r){var t=r+"";return t.replace(Hr,function(e){return Ur[e]}).replace(/\n/g,"<br/>").replace(ba,function(e){return"&#x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+";"})}function Mt(r){for(var t="",e=0,a=0,n=0,s=0,i=0,f=0;e<r.length;){if(a=r.charCodeAt(e++),a<128){t+=String.fromCharCode(a);continue}if(n=r.charCodeAt(e++),a>191&&a<224){i=(a&31)<<6,i|=n&63,t+=String.fromCharCode(i);continue}if(s=r.charCodeAt(e++),a<240){t+=String.fromCharCode((a&15)<<12|(n&63)<<6|s&63);continue}i=r.charCodeAt(e++),f=((a&7)<<18|(n&63)<<12|(s&63)<<6|i&63)-65536,t+=String.fromCharCode(55296+(f>>>10&1023)),t+=String.fromCharCode(56320+(f&1023))}return t}function pr(r){var t=He(2*r.length),e,a,n=1,s=0,i=0,f;for(a=0;a<r.length;a+=n)n=1,(f=r.charCodeAt(a))<128?e=f:f<224?(e=(f&31)*64+(r.charCodeAt(a+1)&63),n=2):f<240?(e=(f&15)*4096+(r.charCodeAt(a+1)&63)*64+(r.charCodeAt(a+2)&63),n=3):(n=4,e=(f&7)*262144+(r.charCodeAt(a+1)&63)*4096+(r.charCodeAt(a+2)&63)*64+(r.charCodeAt(a+3)&63),e-=65536,i=55296+(e>>>10&1023),e=56320+(e&1023)),i!==0&&(t[s++]=i&255,t[s++]=i>>>8,i=0),t[s++]=e%256,t[s++]=e>>>8;return t.slice(0,s).toString("ucs2")}function mr(r){return Me(r,"binary").toString("utf8")}var mt="foo bar baz☃🍣",Da=K&&(mr(mt)==Mt(mt)&&mr||pr(mt)==Mt(mt)&&pr)||Mt,jr=K?function(r){return Me(r,"utf8").toString("binary")}:function(r){for(var t=[],e=0,a=0,n=0;e<r.length;)switch(a=r.charCodeAt(e++),!0){case a<128:t.push(String.fromCharCode(a));break;case a<2048:t.push(String.fromCharCode(192+(a>>6))),t.push(String.fromCharCode(128+(a&63)));break;case(a>=55296&&a<57344):a-=55296,n=r.charCodeAt(e++)-56320+(a<<10),t.push(String.fromCharCode(240+(n>>18&7))),t.push(String.fromCharCode(144+(n>>12&63))),t.push(String.fromCharCode(128+(n>>6&63))),t.push(String.fromCharCode(128+(n&63)));break;default:t.push(String.fromCharCode(224+(a>>12))),t.push(String.fromCharCode(128+(a>>6&63))),t.push(String.fromCharCode(128+(a&63)))}return t.join("")},Ma=function(){var r=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map(function(t){return[new RegExp("&"+t[0]+";","ig"),t[1]]});return function(e){for(var a=e.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,`
`).replace(/<[^>]*>/g,""),n=0;n<r.length;++n)a=a.replace(r[n][0],r[n][1]);return a}}(),Wr=/(^\s|\s$|\n)/;function ue(r,t){return"<"+r+(t.match(Wr)?' xml:space="preserve"':"")+">"+t+"</"+r+">"}function zr(r){return Ee(r).map(function(t){return" "+t+'="'+r[t]+'"'}).join("")}function N(r,t,e){return"<"+r+(e!=null?zr(e):"")+(t!=null?(t.match(Wr)?' xml:space="preserve"':"")+">"+t+"</"+r:"/")+">"}function Rt(r,t){try{return r.toISOString().replace(/\.\d*/,"")}catch(e){if(t)throw e}return""}function Pa(r,t){switch(typeof r){case"string":var e=N("vt:lpwstr",Z(r));return t&&(e=e.replace(/&quot;/g,"_x0022_")),e;case"number":return N((r|0)==r?"vt:i4":"vt:r8",Z(String(r)));case"boolean":return N("vt:bool",r?"true":"false")}if(r instanceof Date)return N("vt:filetime",Rt(r));throw new Error("Unable to serialize "+r)}var te={CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",CT:"http://schemas.openxmlformats.org/package/2006/content-types",RELS:"http://schemas.openxmlformats.org/package/2006/relationships",TCMNT:"http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments",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"},je=["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"],gt={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 Ia(r,t){for(var e=1-2*(r[t+7]>>>7),a=((r[t+7]&127)<<4)+(r[t+6]>>>4&15),n=r[t+6]&15,s=5;s>=0;--s)n=n*256+r[t+s];return a==2047?n==0?e*(1/0):NaN:(a==0?a=-1022:(a-=1023,n+=Math.pow(2,52)),e*Math.pow(2,a-52)*n)}function Na(r,t,e){var a=(t<0||1/t==-1/0?1:0)<<7,n=0,s=0,i=a?-t:t;isFinite(i)?i==0?n=s=0:(n=Math.floor(Math.log(i)/Math.LN2),s=i*Math.pow(2,52-n),n<=-1023&&(!isFinite(s)||s<Math.pow(2,52))?n=-1022:(s-=Math.pow(2,52),n+=1023)):(n=2047,s=isNaN(t)?26985:0);for(var f=0;f<=5;++f,s/=256)r[e+f]=s&255;r[e+6]=(n&15)<<4|s&15,r[e+7]=n>>4|a}var gr=function(r){for(var t=[],e=10240,a=0;a<r[0].length;++a)if(r[0][a])for(var n=0,s=r[0][a].length;n<s;n+=e)t.push.apply(t,r[0][a].slice(n,n+e));return t},vr=K?function(r){return r[0].length>0&&Buffer.isBuffer(r[0][0])?Buffer.concat(r[0].map(function(t){return Buffer.isBuffer(t)?t:Me(t)})):gr(r)}:gr,xr=function(r,t,e){for(var a=[],n=t;n<e;n+=2)a.push(String.fromCharCode(Ke(r,n)));return a.join("").replace(Ze,"")},Ht=K?function(r,t,e){return Buffer.isBuffer(r)?r.toString("utf16le",t,e).replace(Ze,""):xr(r,t,e)}:xr,_r=function(r,t,e){for(var a=[],n=t;n<t+e;++n)a.push(("0"+r[n].toString(16)).slice(-2));return a.join("")},Xr=K?function(r,t,e){return Buffer.isBuffer(r)?r.toString("hex",t,t+e):_r(r,t,e)}:_r,wr=function(r,t,e){for(var a=[],n=t;n<e;n++)a.push(String.fromCharCode($e(r,n)));return a.join("")},at=K?function(t,e,a){return Buffer.isBuffer(t)?t.toString("utf8",e,a):wr(t,e,a)}:wr,Vr=function(r,t){var e=le(r,t);return e>0?at(r,t+4,t+4+e-1):""},Gr=Vr,Jr=function(r,t){var e=le(r,t);return e>0?at(r,t+4,t+4+e-1):""},Yr=Jr,Kr=function(r,t){var e=2*le(r,t);return e>0?at(r,t+4,t+4+e-1):""},qr=Kr,Zr=function(t,e){var a=le(t,e);return a>0?Ht(t,e+4,e+4+a):""},Qr=Zr,en=function(r,t){var e=le(r,t);return e>0?at(r,t+4,t+4+e):""},tn=en,rn=function(r,t){return Ia(r,t)},$t=rn;K&&(Gr=function(t,e){if(!Buffer.isBuffer(t))return Vr(t,e);var a=t.readUInt32LE(e);return a>0?t.toString("utf8",e+4,e+4+a-1):""},Yr=function(t,e){if(!Buffer.isBuffer(t))return Jr(t,e);var a=t.readUInt32LE(e);return a>0?t.toString("utf8",e+4,e+4+a-1):""},qr=function(t,e){if(!Buffer.isBuffer(t))return Kr(t,e);var a=2*t.readUInt32LE(e);return t.toString("utf16le",e+4,e+4+a-1)},Qr=function(t,e){if(!Buffer.isBuffer(t))return Zr(t,e);var a=t.readUInt32LE(e);return t.toString("utf16le",e+4,e+4+a)},tn=function(t,e){if(!Buffer.isBuffer(t))return en(t,e);var a=t.readUInt32LE(e);return t.toString("utf8",e+4,e+4+a)},$t=function(t,e){return Buffer.isBuffer(t)?t.readDoubleLE(e):rn(t,e)});var $e=function(r,t){return r[t]},Ke=function(r,t){return r[t+1]*(1<<8)+r[t]},La=function(r,t){var e=r[t+1]*256+r[t];return e<32768?e:(65535-e+1)*-1},le=function(r,t){return r[t+3]*(1<<24)+(r[t+2]<<16)+(r[t+1]<<8)+r[t]},Be=function(r,t){return r[t+3]<<24|r[t+2]<<16|r[t+1]<<8|r[t]},Ra=function(r,t){return r[t]<<24|r[t+1]<<16|r[t+2]<<8|r[t+3]};function Qe(r,t){var e="",a,n,s=[],i,f,m,p;switch(t){case"dbcs":if(p=this.l,K&&Buffer.isBuffer(this))e=this.slice(this.l,this.l+2*r).toString("utf16le");else for(m=0;m<r;++m)e+=String.fromCharCode(Ke(this,p)),p+=2;r*=2;break;case"utf8":e=at(this,this.l,this.l+r);break;case"utf16le":r*=2,e=Ht(this,this.l,this.l+r);break;case"wstr":return Qe.call(this,r,"dbcs");case"lpstr-ansi":e=Gr(this,this.l),r=4+le(this,this.l);break;case"lpstr-cp":e=Yr(this,this.l),r=4+le(this,this.l);break;case"lpwstr":e=qr(this,this.l),r=4+2*le(this,this.l);break;case"lpp4":r=4+le(this,this.l),e=Qr(this,this.l),r&2&&(r+=2);break;case"8lpp4":r=4+le(this,this.l),e=tn(this,this.l),r&3&&(r+=4-(r&3));break;case"cstr":for(r=0,e="";(i=$e(this,this.l+r++))!==0;)s.push(ut(i));e=s.join("");break;case"_wstr":for(r=0,e="";(i=Ke(this,this.l+r))!==0;)s.push(ut(i)),r+=2;r+=2,e=s.join("");break;case"dbcs-cont":for(e="",p=this.l,m=0;m<r;++m){if(this.lens&&this.lens.indexOf(p)!==-1)return i=$e(this,p),this.l=p+1,f=Qe.call(this,r-m,i?"dbcs-cont":"sbcs-cont"),s.join("")+f;s.push(ut(Ke(this,p))),p+=2}e=s.join(""),r*=2;break;case"cpstr":case"sbcs-cont":for(e="",p=this.l,m=0;m!=r;++m){if(this.lens&&this.lens.indexOf(p)!==-1)return i=$e(this,p),this.l=p+1,f=Qe.call(this,r-m,i?"dbcs-cont":"sbcs-cont"),s.join("")+f;s.push(ut($e(this,p))),p+=1}e=s.join("");break;default:switch(r){case 1:return a=$e(this,this.l),this.l++,a;case 2:return a=(t==="i"?La:Ke)(this,this.l),this.l+=2,a;case 4:case-4:return t==="i"||!(this[this.l+3]&128)?(a=(r>0?Be:Ra)(this,this.l),this.l+=4,a):(n=le(this,this.l),this.l+=4,n);case 8:case-8:if(t==="f")return r==8?n=$t(this,this.l):n=$t([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0),this.l+=8,n;r=8;case 16:e=Xr(this,this.l,r);break}}return this.l+=r,e}var $a=function(r,t,e){r[e]=t&255,r[e+1]=t>>>8&255,r[e+2]=t>>>16&255,r[e+3]=t>>>24&255},Ba=function(r,t,e){r[e]=t&255,r[e+1]=t>>8&255,r[e+2]=t>>16&255,r[e+3]=t>>24&255},Ua=function(r,t,e){r[e]=t&255,r[e+1]=t>>>8&255};function Ha(r,t,e){var a=0,n=0;if(e==="dbcs"){for(n=0;n!=t.length;++n)Ua(this,t.charCodeAt(n),this.l+2*n);a=2*t.length}else if(e==="sbcs"){for(t=t.replace(/[^\x00-\x7F]/g,"_"),n=0;n!=t.length;++n)this[this.l+n]=t.charCodeAt(n)&255;a=t.length}else if(e==="hex"){for(;n<r;++n)this[this.l++]=parseInt(t.slice(2*n,2*n+2),16)||0;return this}else if(e==="utf16le"){var s=Math.min(this.l+r,this.length);for(n=0;n<Math.min(t.length,r);++n){var i=t.charCodeAt(n);this[this.l++]=i&255,this[this.l++]=i>>8}for(;this.l<s;)this[this.l++]=0;return this}else switch(r){case 1:a=1,this[this.l]=t&255;break;case 2:a=2,this[this.l]=t&255,t>>>=8,this[this.l+1]=t&255;break;case 3:a=3,this[this.l]=t&255,t>>>=8,this[this.l+1]=t&255,t>>>=8,this[this.l+2]=t&255;break;case 4:a=4,$a(this,t,this.l);break;case 8:if(a=8,e==="f"){Na(this,t,this.l);break}case 16:break;case-4:a=4,Ba(this,t,this.l);break}return this.l+=a,this}function nn(r,t){var e=Xr(this,this.l,r.length>>1);if(e!==r)throw new Error(t+"Expected "+r+" saw "+e);this.l+=r.length>>1}function ke(r,t){r.l=t,r.read_shift=Qe,r.chk=nn,r.write_shift=Ha}function ye(r){var t=He(r);return ke(t,0),t}function ja(r){return parseInt(Wa(r),10)-1}function Pe(r){return""+(r+1)}function Wa(r){return r.replace(/\$(\d+)$/,"$1")}function za(r){for(var t=Xa(r),e=0,a=0;a!==t.length;++a)e=26*e+t.charCodeAt(a)-64;return e-1}function We(r){if(r<0)throw new Error("invalid column "+r);var t="";for(++r;r;r=Math.floor((r-1)/26))t=String.fromCharCode((r-1)%26+65)+t;return t}function Xa(r){return r.replace(/^\$([A-Z])/,"$1")}function Va(r){return r.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function ve(r){for(var t=0,e=0,a=0;a<r.length;++a){var n=r.charCodeAt(a);n>=48&&n<=57?t=10*t+(n-48):n>=65&&n<=90&&(e=26*e+(n-64))}return{c:e-1,r:t-1}}function Se(r){for(var t=r.c+1,e="";t;t=(t-1)/26|0)e=String.fromCharCode((t-1)%26+65)+e;return e+(r.r+1)}function tt(r){var t=r.indexOf(":");return t==-1?{s:ve(r),e:ve(r)}:{s:ve(r.slice(0,t)),e:ve(r.slice(t+1))}}function pe(r,t){return typeof t>"u"||typeof t=="number"?pe(r.s,r.e):(typeof r!="string"&&(r=Se(r)),typeof t!="string"&&(t=Se(t)),r==t?r:r+":"+t)}function xe(r){var t={s:{c:0,r:0},e:{c:0,r:0}},e=0,a=0,n=0,s=r.length;for(e=0;a<s&&!((n=r.charCodeAt(a)-64)<1||n>26);++a)e=26*e+n;for(t.s.c=--e,e=0;a<s&&!((n=r.charCodeAt(a)-48)<0||n>9);++a)e=10*e+n;if(t.s.r=--e,a===s||n!=10)return t.e.c=t.s.c,t.e.r=t.s.r,t;for(++a,e=0;a!=s&&!((n=r.charCodeAt(a)-64)<1||n>26);++a)e=26*e+n;for(t.e.c=--e,e=0;a!=s&&!((n=r.charCodeAt(a)-48)<0||n>9);++a)e=10*e+n;return t.e.r=--e,t}function yr(r,t){var e=r.t=="d"&&t instanceof Date;if(r.z!=null)try{return r.w=et(r.z,e?De(t):t)}catch{}try{return r.w=et((r.XF||{}).numFmtId||(e?14:0),e?De(t):t)}catch{return""+t}}function it(r,t,e){return r==null||r.t==null||r.t=="z"?"":r.w!==void 0?r.w:(r.t=="d"&&!r.z&&e&&e.dateNF&&(r.z=e.dateNF),r.t=="e"?sn[r.v]||r.v:t==null?yr(r,r.v):yr(r,t))}function Ga(r,t){var e=t&&t.sheet?t.sheet:"Sheet1",a={};return a[e]=r,{SheetNames:[e],Sheets:a}}function an(r,t,e){var a=e||{},n=r?Array.isArray(r):a.dense,s=r||(n?[]:{}),i=0,f=0;if(s&&a.origin!=null){if(typeof a.origin=="number")i=a.origin;else{var m=typeof a.origin=="string"?ve(a.origin):a.origin;i=m.r,f=m.c}s["!ref"]||(s["!ref"]="A1:A1")}var p={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(s["!ref"]){var w=xe(s["!ref"]);p.s.c=w.s.c,p.s.r=w.s.r,p.e.c=Math.max(p.e.c,w.e.c),p.e.r=Math.max(p.e.r,w.e.r),i==-1&&(p.e.r=i=w.e.r+1)}for(var k=0;k!=t.length;++k)if(t[k]){if(!Array.isArray(t[k]))throw new Error("aoa_to_sheet expects an array of arrays");for(var E=0;E!=t[k].length;++E)if(!(typeof t[k][E]>"u")){var F={v:t[k][E]},b=i+k,C=f+E;if(p.s.r>b&&(p.s.r=b),p.s.c>C&&(p.s.c=C),p.e.r<b&&(p.e.r=b),p.e.c<C&&(p.e.c=C),t[k][E]&&typeof t[k][E]=="object"&&!Array.isArray(t[k][E])&&!(t[k][E]instanceof Date))F=t[k][E];else if(Array.isArray(F.v)&&(F.f=t[k][E][1],F.v=F.v[0]),F.v===null)if(F.f)F.t="n";else if(a.nullError)F.t="e",F.v=0;else if(a.sheetStubs)F.t="z";else continue;else typeof F.v=="number"?F.t="n":typeof F.v=="boolean"?F.t="b":F.v instanceof Date?(F.z=a.dateNF||de[14],a.cellDates?(F.t="d",F.w=et(F.z,De(F.v))):(F.t="n",F.v=De(F.v),F.w=et(F.z,F.v))):F.t="s";if(n)s[b]||(s[b]=[]),s[b][C]&&s[b][C].z&&(F.z=s[b][C].z),s[b][C]=F;else{var I=Se({c:C,r:b});s[I]&&s[I].z&&(F.z=s[I].z),s[I]=F}}}return p.s.c<1e7&&(s["!ref"]=pe(p)),s}function Ja(r,t){return an(null,r,t)}var sn={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},Ya={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.sheet.macroEnabled.main+xml":"workbooks","application/vnd.ms-excel.sheet.binary.macroEnabled.main":"workbooks","application/vnd.ms-excel.addin.macroEnabled.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":"sheets","application/vnd.ms-excel.worksheet":"sheets","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"charts","application/vnd.ms-excel.chartsheet":"charts","application/vnd.ms-excel.macrosheet+xml":"macros","application/vnd.ms-excel.macrosheet":"macros","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"dialogs","application/vnd.ms-excel.dialogsheet":"dialogs","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":"strs","application/vnd.ms-excel.sharedStrings":"strs","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":"styles","application/vnd.ms-excel.styles":"styles","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.openxmlformats-officedocument.spreadsheetml.comments+xml":"comments","application/vnd.ms-excel.comments":"comments","application/vnd.ms-excel.threadedcomments+xml":"threadedcomments","application/vnd.ms-excel.person+xml":"people","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"metadata","application/vnd.ms-excel.sheetMetadata":"metadata","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.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"},vt={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"},metadata:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml",xlsb:"application/vnd.ms-excel.sheetMetadata"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};function Ka(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""}}function qa(r,t){var e=Fa(Ya),a=[],n;a[a.length]=oe,a[a.length]=N("Types",null,{xmlns:te.CT,"xmlns:xsd":te.xsd,"xmlns:xsi":te.xsi}),a=a.concat([["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","application/vnd.openxmlformats-package.relationships+xml"]].map(function(m){return N("Default",null,{Extension:m[0],ContentType:m[1]})}));var s=function(m){r[m]&&r[m].length>0&&(n=r[m][0],a[a.length]=N("Override",null,{PartName:(n[0]=="/"?"":"/")+n,ContentType:vt[m][t.bookType]||vt[m].xlsx}))},i=function(m){(r[m]||[]).forEach(function(p){a[a.length]=N("Override",null,{PartName:(p[0]=="/"?"":"/")+p,ContentType:vt[m][t.bookType]||vt[m].xlsx})})},f=function(m){(r[m]||[]).forEach(function(p){a[a.length]=N("Override",null,{PartName:(p[0]=="/"?"":"/")+p,ContentType:e[m][0]})})};return s("workbooks"),i("sheets"),i("charts"),f("themes"),["strs","styles"].forEach(s),["coreprops","extprops","custprops"].forEach(f),f("vba"),f("comments"),f("threadedcomments"),f("drawings"),i("metadata"),f("people"),a.length>2&&(a[a.length]="</Types>",a[1]=a[1].replace("/>",">")),a.join("")}var Q={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",CMNT:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",SST:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",STY:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",THEME:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",CHART:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",CHARTEX:"http://schemas.microsoft.com/office/2014/relationships/chartEx",CS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet",WS:["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"],DS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",MS:"http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet",IMG:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",DRAW:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",XLMETA:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata",TCMNT:"http://schemas.microsoft.com/office/2017/10/relationships/threadedComment",PEOPLE:"http://schemas.microsoft.com/office/2017/10/relationships/person",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function Za(r){var t=r.lastIndexOf("/");return r.slice(0,t+1)+"_rels/"+r.slice(t+1)+".rels"}function Pt(r){var t=[oe,N("Relationships",null,{xmlns:te.RELS})];return Ee(r["!id"]).forEach(function(e){t[t.length]=N("Relationship",null,r["!id"][e])}),t.length>2&&(t[t.length]="</Relationships>",t[1]=t[1].replace("/>",">")),t.join("")}function ae(r,t,e,a,n,s){if(n||(n={}),r["!id"]||(r["!id"]={}),r["!idx"]||(r["!idx"]=1),t<0)for(t=r["!idx"];r["!id"]["rId"+t];++t);if(r["!idx"]=t+1,n.Id="rId"+t,n.Type=a,n.Target=e,s?n.TargetMode=s:[Q.HLINK,Q.XPATH,Q.XMISS].indexOf(n.Type)>-1&&(n.TargetMode="External"),r["!id"][n.Id])throw new Error("Cannot rewrite rId "+t);return r["!id"][n.Id]=n,r[("/"+n.Target).replace("//","/")]=n,t}var Fr=[["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"]];function It(r,t,e,a,n){n[r]!=null||t==null||t===""||(n[r]=t,t=Z(t),a[a.length]=e?N(r,t,e):ue(r,t))}function Qa(r,t){var e=t||{},a=[oe,N("cp:coreProperties",null,{"xmlns:cp":te.CORE_PROPS,"xmlns:dc":te.dc,"xmlns:dcterms":te.dcterms,"xmlns:dcmitype":te.dcmitype,"xmlns:xsi":te.xsi})],n={};if(!r&&!e.Props)return a.join("");r&&(r.CreatedDate!=null&&It("dcterms:created",typeof r.CreatedDate=="string"?r.CreatedDate:Rt(r.CreatedDate,e.WTF),{"xsi:type":"dcterms:W3CDTF"},a,n),r.ModifiedDate!=null&&It("dcterms:modified",typeof r.ModifiedDate=="string"?r.ModifiedDate:Rt(r.ModifiedDate,e.WTF),{"xsi:type":"dcterms:W3CDTF"},a,n));for(var s=0;s!=Fr.length;++s){var i=Fr[s],f=e.Props&&e.Props[i[1]]!=null?e.Props[i[1]]:r?r[i[1]]:null;f===!0?f="1":f===!1?f="0":typeof f=="number"&&(f=String(f)),f!=null&&It(i[0],f,null,a,n)}return a.length>2&&(a[a.length]="</cp:coreProperties>",a[1]=a[1].replace("/>",">")),a.join("")}var ei=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]];function ti(r){var t=[],e=N;return r||(r={}),r.Application="SheetJS",t[t.length]=oe,t[t.length]=N("Properties",null,{xmlns:te.EXT_PROPS,"xmlns:vt":te.vt}),ei.forEach(function(a){if(r[a[1]]!==void 0){var n;switch(a[2]){case"string":n=Z(String(r[a[1]]));break;case"bool":n=r[a[1]]?"true":"false";break}n!==void 0&&(t[t.length]=e(a[0],n))}}),t[t.length]=e("HeadingPairs",e("vt:vector",e("vt:variant","<vt:lpstr>Worksheets</vt:lpstr>")+e("vt:variant",e("vt:i4",String(r.Worksheets))),{size:2,baseType:"variant"})),t[t.length]=e("TitlesOfParts",e("vt:vector",r.SheetNames.map(function(a){return"<vt:lpstr>"+Z(a)+"</vt:lpstr>"}).join(""),{size:r.Worksheets,baseType:"lpstr"})),t.length>2&&(t[t.length]="</Properties>",t[1]=t[1].replace("/>",">")),t.join("")}function ri(r){var t=[oe,N("Properties",null,{xmlns:te.CUST_PROPS,"xmlns:vt":te.vt})];if(!r)return t.join("");var e=1;return Ee(r).forEach(function(n){++e,t[t.length]=N("property",Pa(r[n],!0),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:e,name:Z(n)})}),t.length>2&&(t[t.length]="</Properties>",t[1]=t[1].replace("/>",">")),t.join("")}var ni=/^\s|\s$|[\t\n\r]/;function ai(r,t){if(!t.bookSST)return"";var e=[oe];e[e.length]=N("sst",null,{xmlns:je[0],count:r.Count,uniqueCount:r.Unique});for(var a=0;a!=r.length;++a)if(r[a]!=null){var n=r[a],s="<si>";n.r?s+=n.r:(s+="<t",n.t||(n.t=""),n.t.match(ni)&&(s+=' xml:space="preserve"'),s+=">"+Z(n.t)+"</t>"),s+="</si>",e[e.length]=s}return e.length>2&&(e[e.length]="</sst>",e[1]=e[1].replace("/>",">")),e.join("")}function ii(r){for(var t=[],e=r.split(""),a=0;a<e.length;++a)t[a]=e[a].charCodeAt(0);return t}function si(r){var t=0,e,a=ii(r),n=a.length+1,s,i,f,m,p;for(e=He(n),e[0]=a.length,s=1;s!=n;++s)e[s]=a[s-1];for(s=n-1;s>=0;--s)i=e[s],f=t&16384?1:0,m=t<<1&32767,p=f|m,t=p^i;return t^52811}var oi=6,Ft=oi;function li(r){return Math.floor((r-5)/Ft*100+.5)/100}function fi(r){return Math.round((r*Ft+5)/Ft*256)/256}var ci=96,hi=ci;function Sr(r){return r*96/hi}function ui(r){var t=["<numFmts>"];return[[5,8],[23,26],[41,44],[50,392]].forEach(function(e){for(var a=e[0];a<=e[1];++a)r[a]!=null&&(t[t.length]=N("numFmt",null,{numFmtId:a,formatCode:Z(r[a])}))}),t.length===1?"":(t[t.length]="</numFmts>",t[0]=N("numFmts",null,{count:t.length-2}).replace("/>",">"),t.join(""))}function di(r){var t=[];return t[t.length]=N("cellXfs",null),r.forEach(function(e){t[t.length]=N("xf",null,e)}),t[t.length]="</cellXfs>",t.length===2?"":(t[0]=N("cellXfs",null,{count:t.length-2}).replace("/>",">"),t.join(""))}function pi(r,t){var e=[oe,N("styleSheet",null,{xmlns:je[0],"xmlns:vt":te.vt})],a;return r.SSF&&(a=ui(r.SSF))!=null&&(e[e.length]=a),e[e.length]='<fonts count="1"><font><sz val="12"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font></fonts>',e[e.length]='<fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills>',e[e.length]='<borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders>',e[e.length]='<cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs>',(a=di(t.cellXfs))&&(e[e.length]=a),e[e.length]='<cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0"/></cellStyles>',e[e.length]='<dxfs count="0"/>',e[e.length]='<tableStyles count="0" defaultTableStyle="TableStyleMedium9" defaultPivotStyle="PivotStyleMedium4"/>',e.length>2&&(e[e.length]="</styleSheet>",e[1]=e[1].replace("/>",">")),e.join("")}function mi(r,t){if(t&&t.themeXLSX)return t.themeXLSX;if(r&&typeof r.raw=="string")return r.raw;var e=[oe];return e[e.length]='<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">',e[e.length]="<a:themeElements>",e[e.length]='<a:clrScheme name="Office">',e[e.length]='<a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1>',e[e.length]='<a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1>',e[e.length]='<a:dk2><a:srgbClr val="1F497D"/></a:dk2>',e[e.length]='<a:lt2><a:srgbClr val="EEECE1"/></a:lt2>',e[e.length]='<a:accent1><a:srgbClr val="4F81BD"/></a:accent1>',e[e.length]='<a:accent2><a:srgbClr val="C0504D"/></a:accent2>',e[e.length]='<a:accent3><a:srgbClr val="9BBB59"/></a:accent3>',e[e.length]='<a:accent4><a:srgbClr val="8064A2"/></a:accent4>',e[e.length]='<a:accent5><a:srgbClr val="4BACC6"/></a:accent5>',e[e.length]='<a:accent6><a:srgbClr val="F79646"/></a:accent6>',e[e.length]='<a:hlink><a:srgbClr val="0000FF"/></a:hlink>',e[e.length]='<a:folHlink><a:srgbClr val="800080"/></a:folHlink>',e[e.length]="</a:clrScheme>",e[e.length]='<a:fontScheme name="Office">',e[e.length]="<a:majorFont>",e[e.length]='<a:latin typeface="Cambria"/>',e[e.length]='<a:ea typeface=""/>',e[e.length]='<a:cs typeface=""/>',e[e.length]='<a:font script="Jpan" typeface=" Pゴシック"/>',e[e.length]='<a:font script="Hang" typeface="맑은 고딕"/>',e[e.length]='<a:font script="Hans" typeface="宋体"/>',e[e.length]='<a:font script="Hant" typeface="新細明體"/>',e[e.length]='<a:font script="Arab" typeface="Times New Roman"/>',e[e.length]='<a:font script="Hebr" typeface="Times New Roman"/>',e[e.length]='<a:font script="Thai" typeface="Tahoma"/>',e[e.length]='<a:font script="Ethi" typeface="Nyala"/>',e[e.length]='<a:font script="Beng" typeface="Vrinda"/>',e[e.length]='<a:font script="Gujr" typeface="Shruti"/>',e[e.length]='<a:font script="Khmr" typeface="MoolBoran"/>',e[e.length]='<a:font script="Knda" typeface="Tunga"/>',e[e.length]='<a:font script="Guru" typeface="Raavi"/>',e[e.length]='<a:font script="Cans" typeface="Euphemia"/>',e[e.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',e[e.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',e[e.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',e[e.length]='<a:font script="Thaa" typeface="MV Boli"/>',e[e.length]='<a:font script="Deva" typeface="Mangal"/>',e[e.length]='<a:font script="Telu" typeface="Gautami"/>',e[e.length]='<a:font script="Taml" typeface="Latha"/>',e[e.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',e[e.length]='<a:font script="Orya" typeface="Kalinga"/>',e[e.length]='<a:font script="Mlym" typeface="Kartika"/>',e[e.length]='<a:font script="Laoo" typeface="DokChampa"/>',e[e.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',e[e.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',e[e.length]='<a:font script="Viet" typeface="Times New Roman"/>',e[e.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',e[e.length]='<a:font script="Geor" typeface="Sylfaen"/>',e[e.length]="</a:majorFont>",e[e.length]="<a:minorFont>",e[e.length]='<a:latin typeface="Calibri"/>',e[e.length]='<a:ea typeface=""/>',e[e.length]='<a:cs typeface=""/>',e[e.length]='<a:font script="Jpan" typeface=" Pゴシック"/>',e[e.length]='<a:font script="Hang" typeface="맑은 고딕"/>',e[e.length]='<a:font script="Hans" typeface="宋体"/>',e[e.length]='<a:font script="Hant" typeface="新細明體"/>',e[e.length]='<a:font script="Arab" typeface="Arial"/>',e[e.length]='<a:font script="Hebr" typeface="Arial"/>',e[e.length]='<a:font script="Thai" typeface="Tahoma"/>',e[e.length]='<a:font script="Ethi" typeface="Nyala"/>',e[e.length]='<a:font script="Beng" typeface="Vrinda"/>',e[e.length]='<a:font script="Gujr" typeface="Shruti"/>',e[e.length]='<a:font script="Khmr" typeface="DaunPenh"/>',e[e.length]='<a:font script="Knda" typeface="Tunga"/>',e[e.length]='<a:font script="Guru" typeface="Raavi"/>',e[e.length]='<a:font script="Cans" typeface="Euphemia"/>',e[e.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',e[e.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',e[e.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',e[e.length]='<a:font script="Thaa" typeface="MV Boli"/>',e[e.length]='<a:font script="Deva" typeface="Mangal"/>',e[e.length]='<a:font script="Telu" typeface="Gautami"/>',e[e.length]='<a:font script="Taml" typeface="Latha"/>',e[e.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',e[e.length]='<a:font script="Orya" typeface="Kalinga"/>',e[e.length]='<a:font script="Mlym" typeface="Kartika"/>',e[e.length]='<a:font script="Laoo" typeface="DokChampa"/>',e[e.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',e[e.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',e[e.length]='<a:font script="Viet" typeface="Arial"/>',e[e.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',e[e.length]='<a:font script="Geor" typeface="Sylfaen"/>',e[e.length]="</a:minorFont>",e[e.length]="</a:fontScheme>",e[e.length]='<a:fmtScheme name="Office">',e[e.length]="<a:fillStyleLst>",e[e.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',e[e.length]='<a:gradFill rotWithShape="1">',e[e.length]="<a:gsLst>",e[e.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="50000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',e[e.length]='<a:gs pos="35000"><a:schemeClr val="phClr"><a:tint val="37000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',e[e.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="15000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',e[e.length]="</a:gsLst>",e[e.length]='<a:lin ang="16200000" scaled="1"/>',e[e.length]="</a:gradFill>",e[e.length]='<a:gradFill rotWithShape="1">',e[e.length]="<a:gsLst>",e[e.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>',e[e.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>',e[e.length]="</a:gsLst>",e[e.length]='<a:lin ang="16200000" scaled="0"/>',e[e.length]="</a:gradFill>",e[e.length]="</a:fillStyleLst>",e[e.length]="<a:lnStyleLst>",e[e.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>',e[e.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>',e[e.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>',e[e.length]="</a:lnStyleLst>",e[e.length]="<a:effectStyleLst>",e[e.length]="<a:effectStyle>",e[e.length]="<a:effectLst>",e[e.length]='<a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="38000"/></a:srgbClr></a:outerShdw>',e[e.length]="</a:effectLst>",e[e.length]="</a:effectStyle>",e[e.length]="<a:effectStyle>",e[e.length]="<a:effectLst>",e[e.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',e[e.length]="</a:effectLst>",e[e.length]="</a:effectStyle>",e[e.length]="<a:effectStyle>",e[e.length]="<a:effectLst>",e[e.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',e[e.length]="</a:effectLst>",e[e.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>',e[e.length]='<a:sp3d><a:bevelT w="63500" h="25400"/></a:sp3d>',e[e.length]="</a:effectStyle>",e[e.length]="</a:effectStyleLst>",e[e.length]="<a:bgFillStyleLst>",e[e.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',e[e.length]='<a:gradFill rotWithShape="1">',e[e.length]="<a:gsLst>",e[e.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="40000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',e[e.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>',e[e.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="20000"/><a:satMod val="255000"/></a:schemeClr></a:gs>',e[e.length]="</a:gsLst>",e[e.length]='<a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000"/></a:path>',e[e.length]="</a:gradFill>",e[e.length]='<a:gradFill rotWithShape="1">',e[e.length]="<a:gsLst>",e[e.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="80000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',e[e.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="30000"/><a:satMod val="200000"/></a:schemeClr></a:gs>',e[e.length]="</a:gsLst>",e[e.length]='<a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000"/></a:path>',e[e.length]="</a:gradFill>",e[e.length]="</a:bgFillStyleLst>",e[e.length]="</a:fmtScheme>",e[e.length]="</a:themeElements>",e[e.length]="<a:objectDefaults>",e[e.length]="<a:spDef>",e[e.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>',e[e.length]="</a:spDef>",e[e.length]="<a:lnDef>",e[e.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>',e[e.length]="</a:lnDef>",e[e.length]="</a:objectDefaults>",e[e.length]="<a:extraClrSchemeLst/>",e[e.length]="</a:theme>",e.join("")}function gi(){var r=[oe];return r.push(`<metadata xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:xlrd="http://schemas.microsoft.com/office/spreadsheetml/2017/richdata" xmlns:xda="http://schemas.microsoft.com/office/spreadsheetml/2017/dynamicarray">
<metadataTypes count="1">
<metadataType name="XLDAPR" minSupportedVersion="120000" copy="1" pasteAll="1" pasteValues="1" merge="1" splitFirst="1" rowColShift="1" clearFormats="1" clearComments="1" assign="1" coerce="1" cellMeta="1"/>
</metadataTypes>
<futureMetadata name="XLDAPR" count="1">
<bk>
<extLst>
<ext uri="{bdbb8cdc-fa1e-496e-a857-3c3f30c029c3}">
<xda:dynamicArrayProperties fDynamic="1" fCollapsed="0"/>
</ext>
</extLst>
</bk>
</futureMetadata>
<cellMetadata count="1">
<bk>
<rc t="1" v="0"/>
</bk>
</cellMetadata>
</metadata>`),r.join("")}var qe=1024;function vi(r,t){for(var e=[21600,21600],a=["m0,0l0",e[1],e[0],e[1],e[0],"0xe"].join(","),n=[N("xml",null,{"xmlns:v":gt.v,"xmlns:o":gt.o,"xmlns:x":gt.x,"xmlns:mv":gt.mv}).replace(/\/>/,">"),N("o:shapelayout",N("o:idmap",null,{"v:ext":"edit",data:r}),{"v:ext":"edit"}),N("v:shapetype",[N("v:stroke",null,{joinstyle:"miter"}),N("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:e.join(","),path:a})];qe<r*1e3;)qe+=1e3;return t.forEach(function(s){var i=ve(s[0]),f={color2:"#BEFF82",type:"gradient"};f.type=="gradient"&&(f.angle="-180");var m=f.type=="gradient"?N("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null,p=N("v:fill",m,f),w={on:"t",obscured:"t"};++qe,n=n.concat(["<v:shape"+zr({id:"_x0000_s"+qe,type:"#_x0000_t202",style:"position:absolute; margin-left:80pt;margin-top:5pt;width:104pt;height:64pt;z-index:10"+(s[1].hidden?";visibility:hidden":""),fillcolor:"#ECFAD4",strokecolor:"#edeaa1"})+">",p,N("v:shadow",null,w),N("v:path",null,{"o:connecttype":"none"}),'<v:textbox><div style="text-align:left"></div></v:textbox>','<x:ClientData ObjectType="Note">',"<x:MoveWithCells/>","<x:SizeWithCells/>",ue("x:Anchor",[i.c+1,0,i.r+1,0,i.c+3,20,i.r+5,20].join(",")),ue("x:AutoFill","False"),ue("x:Row",String(i.r)),ue("x:Column",String(i.c)),s[1].hidden?"":"<x:Visible/>","</x:ClientData>","</v:shape>"])}),n.push("</xml>"),n.join("")}function xi(r){var t=[oe,N("comments",null,{xmlns:je[0]})],e=[];return t.push("<authors>"),r.forEach(function(a){a[1].forEach(function(n){var s=Z(n.a);e.indexOf(s)==-1&&(e.push(s),t.push("<author>"+s+"</author>")),n.T&&n.ID&&e.indexOf("tc="+n.ID)==-1&&(e.push("tc="+n.ID),t.push("<author>tc="+n.ID+"</author>"))})}),e.length==0&&(e.push("SheetJ5"),t.push("<author>SheetJ5</author>")),t.push("</authors>"),t.push("<commentList>"),r.forEach(function(a){var n=0,s=[];if(a[1][0]&&a[1][0].T&&a[1][0].ID?n=e.indexOf("tc="+a[1][0].ID):a[1].forEach(function(m){m.a&&(n=e.indexOf(Z(m.a))),s.push(m.t||"")}),t.push('<comment ref="'+a[0]+'" authorId="'+n+'"><text>'),s.length<=1)t.push(ue("t",Z(s[0]||"")));else{for(var i=`Comment:
`+s[0]+`
`,f=1;f<s.length;++f)i+=`Reply:
`+s[f]+`
`;t.push(ue("t",Z(i)))}t.push("</text></comment>")}),t.push("</commentList>"),t.length>2&&(t[t.length]="</comments>",t[1]=t[1].replace("/>",">")),t.join("")}function _i(r,t,e){var a=[oe,N("ThreadedComments",null,{xmlns:te.TCMNT}).replace(/[\/]>/,">")];return r.forEach(function(n){var s="";(n[1]||[]).forEach(function(i,f){if(!i.T){delete i.ID;return}i.a&&t.indexOf(i.a)==-1&&t.push(i.a);var m={ref:n[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+e.tcid++).slice(-12)+"}"};f==0?s=m.id:m.parentId=s,i.ID=m.id,i.a&&(m.personId="{54EE7950-7262-4200-6969-"+("000000000000"+t.indexOf(i.a)).slice(-12)+"}"),a.push(N("threadedComment",ue("text",i.t||""),m))})}),a.push("</ThreadedComments>"),a.join("")}function wi(r){var t=[oe,N("personList",null,{xmlns:te.TCMNT,"xmlns:x":je[0]}).replace(/[\/]>/,">")];return r.forEach(function(e,a){t.push(N("person",null,{displayName:e,id:"{54EE7950-7262-4200-6969-"+("000000000000"+a).slice(-12)+"}",userId:e,providerId:"None"}))}),t.push("</personList>"),t.join("")}var yi=["xlsb","xlsm","xlam","biff8","xla"],xt=typeof Map<"u";function Fi(r,t,e){var a=0,n=r.length;if(e){if(xt?e.has(t):Object.prototype.hasOwnProperty.call(e,t)){for(var s=xt?e.get(t):e[t];a<s.length;++a)if(r[s[a]].t===t)return r.Count++,s[a]}}else for(;a<n;++a)if(r[a].t===t)return r.Count++,a;return r[n]={t},r.Count++,r.Unique++,e&&(xt?(e.has(t)||e.set(t,[]),e.get(t).push(n)):(Object.prototype.hasOwnProperty.call(e,t)||(e[t]=[]),e[t].push(n))),n}function Si(r,t){var e={min:r+1,max:r+1},a=-1;return t.MDW&&(Ft=t.MDW),t.width!=null?e.customWidth=1:t.wpx!=null?a=li(t.wpx):t.wch!=null&&(a=t.wch),a>-1?(e.width=fi(a),e.customWidth=1):t.width!=null&&(e.width=t.width),t.hidden&&(e.hidden=!0),t.level!=null&&(e.outlineLevel=e.level=t.level),e}function ki(r,t){if(r){var e=[.7,.7,.75,.75,.3,.3];t=="xlml"&&(e=[1,1,1,1,.5,.5]),r.left==null&&(r.left=e[0]),r.right==null&&(r.right=e[1]),r.top==null&&(r.top=e[2]),r.bottom==null&&(r.bottom=e[3]),r.header==null&&(r.header=e[4]),r.footer==null&&(r.footer=e[5])}}function on(r,t,e){var a=e.revssf[t.z!=null?t.z:"General"],n=60,s=r.length;if(a==null&&e.ssf){for(;n<392;++n)if(e.ssf[n]==null){Rr(t.z,n),e.ssf[n]=t.z,e.revssf[t.z]=a=n;break}}for(n=0;n!=s;++n)if(r[n].numFmtId===a)return n;return r[s]={numFmtId:a,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},s}function Ci(r,t,e){if(r&&r["!ref"]){var a=xe(r["!ref"]);if(a.e.c<a.s.c||a.e.r<a.s.r)throw new Error("Bad range ("+e+"): "+r["!ref"])}}function Ai(r){if(r.length===0)return"";for(var t='<mergeCells count="'+r.length+'">',e=0;e!=r.length;++e)t+='<mergeCell ref="'+pe(r[e])+'"/>';return t+"</mergeCells>"}function Ei(r,t,e,a,n){var s=!1,i={},f=null;if(a.bookType!=="xlsx"&&t.vbaraw){var m=t.SheetNames[e];try{t.Workbook&&(m=t.Workbook.Sheets[e].CodeName||m)}catch{}s=!0,i.codeName=jr(Z(m))}if(r&&r["!outline"]){var p={summaryBelow:1,summaryRight:1};r["!outline"].above&&(p.summaryBelow=0),r["!outline"].left&&(p.summaryRight=0),f=(f||"")+N("outlinePr",null,p)}!s&&!f||(n[n.length]=N("sheetPr",f,i))}var Ti=["objects","scenarios","selectLockedCells","selectUnlockedCells"],bi=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];function Oi(r){var t={sheet:1};return Ti.forEach(function(e){r[e]!=null&&r[e]&&(t[e]="1")}),bi.forEach(function(e){r[e]!=null&&!r[e]&&(t[e]="0")}),r.password&&(t.password=si(r.password).toString(16).toUpperCase()),N("sheetProtection",null,t)}function Di(r){return ki(r),N("pageMargins",null,r)}function Mi(r,t){for(var e=["<cols>"],a,n=0;n!=t.length;++n)(a=t[n])&&(e[e.length]=N("col",null,Si(n,a)));return e[e.length]="</cols>",e.join("")}function Pi(r,t,e,a){var n=typeof r.ref=="string"?r.ref:pe(r.ref);e.Workbook||(e.Workbook={Sheets:[]}),e.Workbook.Names||(e.Workbook.Names=[]);var s=e.Workbook.Names,i=tt(n);i.s.r==i.e.r&&(i.e.r=tt(t["!ref"]).e.r,n=pe(i));for(var f=0;f<s.length;++f){var m=s[f];if(m.Name=="_xlnm._FilterDatabase"&&m.Sheet==a){m.Ref="'"+e.SheetNames[a]+"'!"+n;break}}return f==s.length&&s.push({Name:"_xlnm._FilterDatabase",Sheet:a,Ref:"'"+e.SheetNames[a]+"'!"+n}),N("autoFilter",null,{ref:n})}function Ii(r,t,e,a){var n={workbookViewId:"0"};return(((a||{}).Workbook||{}).Views||[])[0]&&(n.rightToLeft=a.Workbook.Views[0].RTL?"1":"0"),N("sheetViews",N("sheetView",null,n),{})}function Ni(r,t,e,a){if(r.c&&e["!comments"].push([t,r.c]),r.v===void 0&&typeof r.f!="string"||r.t==="z"&&!r.f)return"";var n="",s=r.t,i=r.v;if(r.t!=="z")switch(r.t){case"b":n=r.v?"1":"0";break;case"n":n=""+r.v;break;case"e":n=sn[r.v];break;case"d":a&&a.cellDates?n=Lt(r.v,-1).toISOString():(r=nt(r),r.t="n",n=""+(r.v=De(Lt(r.v)))),typeof r.z>"u"&&(r.z=de[14]);break;default:n=r.v;break}var f=ue("v",Z(n)),m={r:t},p=on(a.cellXfs,r,a);switch(p!==0&&(m.s=p),r.t){case"n":break;case"d":m.t="d";break;case"b":m.t="b";break;case"e":m.t="e";break;case"z":break;default:if(r.v==null){delete r.t;break}if(r.v.length>32767)throw new Error("Text length must not exceed 32767 characters");if(a&&a.bookSST){f=ue("v",""+Fi(a.Strings,r.v,a.revStrings)),m.t="s";break}m.t="str";break}if(r.t!=s&&(r.t=s,r.v=i),typeof r.f=="string"&&r.f){var w=r.F&&r.F.slice(0,t.length)==t?{t:"array",ref:r.F}:null;f=N("f",Z(r.f),w)+(r.v!=null?f:"")}return r.l&&e["!links"].push([t,r.l]),r.D&&(m.cm=1),N("c",f,m)}function Li(r,t,e,a){var n=[],s=[],i=xe(r["!ref"]),f="",m,p="",w=[],k=0,E=0,F=r["!rows"],b=Array.isArray(r),C={r:p},I,B=-1;for(E=i.s.c;E<=i.e.c;++E)w[E]=We(E);for(k=i.s.r;k<=i.e.r;++k){for(s=[],p=Pe(k),E=i.s.c;E<=i.e.c;++E){m=w[E]+p;var U=b?(r[k]||[])[E]:r[m];U!==void 0&&(f=Ni(U,m,r,t))!=null&&s.push(f)}(s.length>0||F&&F[k])&&(C={r:p},F&&F[k]&&(I=F[k],I.hidden&&(C.hidden=1),B=-1,I.hpx?B=Sr(I.hpx):I.hpt&&(B=I.hpt),B>-1&&(C.ht=B,C.customHeight=1),I.level&&(C.outlineLevel=I.level)),n[n.length]=N("row",s.join(""),C))}if(F)for(;k<F.length;++k)F&&F[k]&&(C={r:k+1},I=F[k],I.hidden&&(C.hidden=1),B=-1,I.hpx?B=Sr(I.hpx):I.hpt&&(B=I.hpt),B>-1&&(C.ht=B,C.customHeight=1),I.level&&(C.outlineLevel=I.level),n[n.length]=N("row","",C));return n.join("")}function Ri(r,t,e,a){var n=[oe,N("worksheet",null,{xmlns:je[0],"xmlns:r":te.r})],s=e.SheetNames[r],i=0,f="",m=e.Sheets[s];m==null&&(m={});var p=m["!ref"]||"A1",w=xe(p);if(w.e.c>16383||w.e.r>1048575){if(t.WTF)throw new Error("Range "+p+" exceeds format limit A1:XFD1048576");w.e.c=Math.min(w.e.c,16383),w.e.r=Math.min(w.e.c,1048575),p=pe(w)}a||(a={}),m["!comments"]=[];var k=[];Ei(m,e,r,t,n),n[n.length]=N("dimension",null,{ref:p}),n[n.length]=Ii(m,t,r,e),t.sheetFormat&&(n[n.length]=N("sheetFormatPr",null,{defaultRowHeight:t.sheetFormat.defaultRowHeight||"16",baseColWidth:t.sheetFormat.baseColWidth||"10",outlineLevelRow:t.sheetFormat.outlineLevelRow||"7"})),m["!cols"]!=null&&m["!cols"].length>0&&(n[n.length]=Mi(m,m["!cols"])),n[i=n.length]="<sheetData/>",m["!links"]=[],m["!ref"]!=null&&(f=Li(m,t),f.length>0&&(n[n.length]=f)),n.length>i+1&&(n[n.length]="</sheetData>",n[i]=n[i].replace("/>",">")),m["!protect"]&&(n[n.length]=Oi(m["!protect"])),m["!autofilter"]!=null&&(n[n.length]=Pi(m["!autofilter"],m,e,r)),m["!merges"]!=null&&m["!merges"].length>0&&(n[n.length]=Ai(m["!merges"]));var E=-1,F,b=-1;return m["!links"].length>0&&(n[n.length]="<hyperlinks>",m["!links"].forEach(function(C){C[1].Target&&(F={ref:C[0]},C[1].Target.charAt(0)!="#"&&(b=ae(a,-1,Z(C[1].Target).replace(/#.*$/,""),Q.HLINK),F["r:id"]="rId"+b),(E=C[1].Target.indexOf("#"))>-1&&(F.location=Z(C[1].Target.slice(E+1))),C[1].Tooltip&&(F.tooltip=Z(C[1].Tooltip)),n[n.length]=N("hyperlink",null,F))}),n[n.length]="</hyperlinks>"),delete m["!links"],m["!margins"]!=null&&(n[n.length]=Di(m["!margins"])),(!t||t.ignoreEC||t.ignoreEC==null)&&(n[n.length]=ue("ignoredErrors",N("ignoredError",null,{numberStoredAsText:1,sqref:p}))),k.length>0&&(b=ae(a,-1,"../drawings/drawing"+(r+1)+".xml",Q.DRAW),n[n.length]=N("drawing",null,{"r:id":"rId"+b}),m["!drawing"]=k),m["!comments"].length>0&&(b=ae(a,-1,"../drawings/vmlDrawing"+(r+1)+".vml",Q.VML),n[n.length]=N("legacyDrawing",null,{"r:id":"rId"+b}),m["!legacy"]=b),n.length>1&&(n[n.length]="</worksheet>",n[1]=n[1].replace("/>",">")),n.join("")}var $i=[["allowRefreshQuery",!1,"bool"],["autoCompressPictures",!0,"bool"],["backupFile",!1,"bool"],["checkCompatibility",!1,"bool"],["CodeName",""],["date1904",!1,"bool"],["defaultThemeVersion",0,"int"],["filterPrivacy",!1,"bool"],["hidePivotFieldList",!1,"bool"],["promptedSolutions",!1,"bool"],["publishItems",!1,"bool"],["refreshAllConnections",!1,"bool"],["saveExternalLinkValues",!0,"bool"],["showBorderUnselectedTables",!0,"bool"],["showInkAnnotation",!0,"bool"],["showObjects","all"],["showPivotChartFilter",!1,"bool"],["updateLinks","userSet"]],Bi="][*?/\\".split("");function ln(r,t){if(r.length>31){if(t)return!1;throw new Error("Sheet names cannot exceed 31 chars")}var e=!0;return Bi.forEach(function(a){if(r.indexOf(a)!=-1){if(!t)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");e=!1}}),e}function Ui(r,t,e){r.forEach(function(a,n){ln(a);for(var s=0;s<n;++s)if(a==r[s])throw new Error("Duplicate Sheet Name: "+a);if(e){var i=t&&t[n]&&t[n].CodeName||a;if(i.charCodeAt(0)==95&&i.length>22)throw new Error("Bad Code Name: Worksheet"+i)}})}function Hi(r){if(!r||!r.SheetNames||!r.Sheets)throw new Error("Invalid Workbook");if(!r.SheetNames.length)throw new Error("Workbook is empty");var t=r.Workbook&&r.Workbook.Sheets||[];Ui(r.SheetNames,t,!!r.vbaraw);for(var e=0;e<r.SheetNames.length;++e)Ci(r.Sheets[r.SheetNames[e]],r.SheetNames[e],e)}function ji(r){var t=[oe];t[t.length]=N("workbook",null,{xmlns:je[0],"xmlns:r":te.r});var e=r.Workbook&&(r.Workbook.Names||[]).length>0,a={codeName:"ThisWorkbook"};r.Workbook&&r.Workbook.WBProps&&($i.forEach(function(f){r.Workbook.WBProps[f[0]]!=null&&r.Workbook.WBProps[f[0]]!=f[1]&&(a[f[0]]=r.Workbook.WBProps[f[0]])}),r.Workbook.WBProps.CodeName&&(a.codeName=r.Workbook.WBProps.CodeName,delete a.CodeName)),t[t.length]=N("workbookPr",null,a);var n=r.Workbook&&r.Workbook.Sheets||[],s=0;if(n&&n[0]&&n[0].Hidden){for(t[t.length]="<bookViews>",s=0;s!=r.SheetNames.length&&!(!n[s]||!n[s].Hidden);++s);s==r.SheetNames.length&&(s=0),t[t.length]='<workbookView firstSheet="'+s+'" activeTab="'+s+'"/>',t[t.length]="</bookViews>"}for(t[t.length]="<sheets>",s=0;s!=r.SheetNames.length;++s){var i={name:Z(r.SheetNames[s].slice(0,31))};if(i.sheetId=""+(s+1),i["r:id"]="rId"+(s+1),n[s])switch(n[s].Hidden){case 1:i.state="hidden";break;case 2:i.state="veryHidden";break}t[t.length]=N("sheet",null,i)}return t[t.length]="</sheets>",e&&(t[t.length]="<definedNames>",r.Workbook&&r.Workbook.Names&&r.Workbook.Names.forEach(function(f){var m={name:f.Name};f.Comment&&(m.comment=f.Comment),f.Sheet!=null&&(m.localSheetId=""+f.Sheet),f.Hidden&&(m.hidden="1"),f.Ref&&(t[t.length]=N("definedName",Z(f.Ref),m))}),t[t.length]="</definedNames>"),t.length>2&&(t[t.length]="</workbook>",t[1]=t[1].replace("/>",">")),t.join("")}function Wi(r,t,e,a){for(var n=r["!merges"]||[],s=[],i=t.s.c;i<=t.e.c;++i){for(var f=0,m=0,p=0;p<n.length;++p)if(!(n[p].s.r>e||n[p].s.c>i)&&!(n[p].e.r<e||n[p].e.c<i)){if(n[p].s.r<e||n[p].s.c<i){f=-1;break}f=n[p].e.r-n[p].s.r+1,m=n[p].e.c-n[p].s.c+1;break}if(!(f<0)){var w=Se({r:e,c:i}),k=a.dense?(r[e]||[])[i]:r[w],E=k&&k.v!=null&&(k.h||Oa(k.w||(it(k),k.w)||""))||"",F={};f>1&&(F.rowspan=f),m>1&&(F.colspan=m),a.editable?E='<span contenteditable="true">'+E+"</span>":k&&(F["data-t"]=k&&k.t||"z",k.v!=null&&(F["data-v"]=k.v),k.z!=null&&(F["data-z"]=k.z),k.l&&(k.l.Target||"#").charAt(0)!="#"&&(E='<a href="'+k.l.Target+'">'+E+"</a>")),F.id=(a.id||"sjs")+"-"+w,s.push(N("td",E,F))}}var b="<tr>";return b+s.join("")+"</tr>"}var zi='<html><head><meta charset="utf-8"/><title>SheetJS Table Export</title></head><body>',Xi="</body></html>";function Vi(r,t,e){var a=[];return a.join("")+"<table"+(e&&e.id?' id="'+e.id+'"':"")+">"}function Gi(r,t){var e=t||{},a=e.header!=null?e.header:zi,n=e.footer!=null?e.footer:Xi,s=[a],i=tt(r["!ref"]);e.dense=Array.isArray(r),s.push(Vi(r,i,e));for(var f=i.s.r;f<=i.e.r;++f)s.push(Wi(r,i,f,e));return s.push("</table>"+n),s.join("")}function fn(r,t,e){var a=e||{},n=0,s=0;if(a.origin!=null)if(typeof a.origin=="number")n=a.origin;else{var i=typeof a.origin=="string"?ve(a.origin):a.origin;n=i.r,s=i.c}var f=t.getElementsByTagName("tr"),m=Math.min(a.sheetRows||1e7,f.length),p={s:{r:0,c:0},e:{r:n,c:s}};if(r["!ref"]){var w=tt(r["!ref"]);p.s.r=Math.min(p.s.r,w.s.r),p.s.c=Math.min(p.s.c,w.s.c),p.e.r=Math.max(p.e.r,w.e.r),p.e.c=Math.max(p.e.c,w.e.c),n==-1&&(p.e.r=n=w.e.r+1)}var k=[],E=0,F=r["!rows"]||(r["!rows"]=[]),b=0,C=0,I=0,B=0,U=0,W=0;for(r["!cols"]||(r["!cols"]=[]);b<f.length&&C<m;++b){var R=f[b];if(kr(R)){if(a.display)continue;F[C]={hidden:!0}}var q=R.children;for(I=B=0;I<q.length;++I){var X=q[I];if(!(a.display&&kr(X))){var S=X.hasAttribute("data-v")?X.getAttribute("data-v"):X.hasAttribute("v")?X.getAttribute("v"):Ma(X.innerHTML),V=X.getAttribute("data-z")||X.getAttribute("z");for(E=0;E<k.length;++E){var D=k[E];D.s.c==B+s&&D.s.r<C+n&&C+n<=D.e.r&&(B=D.e.c+1-s,E=-1)}W=+X.getAttribute("colspan")||1,((U=+X.getAttribute("rowspan")||1)>1||W>1)&&k.push({s:{r:C+n,c:B+s},e:{r:C+n+(U||1)-1,c:B+s+(W||1)-1}});var L={t:"s",v:S},j=X.getAttribute("data-t")||X.getAttribute("t")||"";S!=null&&(S.length==0?L.t=j||"z":a.raw||S.trim().length==0||j=="s"||(S==="TRUE"?L={t:"b",v:!0}:S==="FALSE"?L={t:"b",v:!1}:isNaN(dr(S))?isNaN(Ca(S).getDate())||(L={t:"d",v:Lt(S)},a.cellDates||(L={t:"n",v:De(L.v)}),L.z=a.dateNF||de[14]):L={t:"n",v:dr(S)})),L.z===void 0&&V!=null&&(L.z=V);var z="",G=X.getElementsByTagName("A");if(G&&G.length)for(var Te=0;Te<G.length&&!(G[Te].hasAttribute("href")&&(z=G[Te].getAttribute("href"),z.charAt(0)!="#"));++Te);z&&z.charAt(0)!="#"&&(L.l={Target:z}),a.dense?(r[C+n]||(r[C+n]=[]),r[C+n][B+s]=L):r[Se({c:B+s,r:C+n})]=L,p.e.c<B+s&&(p.e.c=B+s),B+=W}}++C}return k.length&&(r["!merges"]=(r["!merges"]||[]).concat(k)),p.e.r=Math.max(p.e.r,C-1+n),r["!ref"]=pe(p),C>=m&&(r["!fullref"]=pe((p.e.r=f.length-b+C-1+n,p))),r}function cn(r,t){var e=t||{},a=e.dense?[]:{};return fn(a,r,t)}function Ji(r,t){return Ga(cn(r,t),t)}function kr(r){var t="",e=Yi(r);return e&&(t=e(r).getPropertyValue("display")),t||(t=r.style&&r.style.display),t==="none"}function Yi(r){return r.ownerDocument.defaultView&&typeof r.ownerDocument.defaultView.getComputedStyle=="function"?r.ownerDocument.defaultView.getComputedStyle:typeof getComputedStyle=="function"?getComputedStyle:null}function Ki(r){return function(e){for(var a=0;a!=r.length;++a){var n=r[a];e[n[0]]===void 0&&(e[n[0]]=n[1]),n[2]==="n"&&(e[n[0]]=Number(e[n[0]]))}}}function qi(r){Ki([["cellDates",!1],["bookSST",!1],["bookType","xlsx"],["compression",!1],["WTF",!1]])(r)}function Zi(r,t){qe=1024,r&&!r.SSF&&(r.SSF=nt(de)),r&&r.SSF&&(va(),ga(r.SSF),t.revssf=ya(r.SSF),t.revssf[r.SSF[65535]]=0,t.ssf=r.SSF),t.rels={},t.wbrels={},t.Strings=[],t.Strings.Count=0,t.Strings.Unique=0,xt?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var e="xml",a=yi.indexOf(t.bookType)>-1,n=Ka();qi(t=t||{});var s=Aa(),i="",f=0;if(t.cellXfs=[],on(t.cellXfs,{},{revssf:{General:0}}),r.Props||(r.Props={}),i="docProps/core.xml",ee(s,i,Qa(r.Props,t)),n.coreprops.push(i),ae(t.rels,2,i,Q.CORE_PROPS),i="docProps/app.xml",!(r.Props&&r.Props.SheetNames))if(!r.Workbook||!r.Workbook.Sheets)r.Props.SheetNames=r.SheetNames;else{for(var m=[],p=0;p<r.SheetNames.length;++p)(r.Workbook.Sheets[p]||{}).Hidden!=2&&m.push(r.SheetNames[p]);r.Props.SheetNames=m}r.Props.Worksheets=r.Props.SheetNames.length,ee(s,i,ti(r.Props)),n.extprops.push(i),ae(t.rels,3,i,Q.EXT_PROPS),r.Custprops!==r.Props&&Ee(r.Custprops||{}).length>0&&(i="docProps/custom.xml",ee(s,i,ri(r.Custprops)),n.custprops.push(i),ae(t.rels,4,i,Q.CUST_PROPS));var w=["SheetJ5"];for(t.tcid=0,f=1;f<=r.SheetNames.length;++f){var k={"!id":{}},E=r.Sheets[r.SheetNames[f-1]],F=(E||{})["!type"]||"sheet";switch(F){case"chart":default:i="xl/worksheets/sheet"+f+"."+e,ee(s,i,Ri(f-1,t,r,k)),n.sheets.push(i),ae(t.wbrels,-1,"worksheets/sheet"+f+"."+e,Q.WS[0])}if(E){var b=E["!comments"],C=!1,I="";if(b&&b.length>0){var B=!1;b.forEach(function(U){U[1].forEach(function(W){W.T==!0&&(B=!0)})}),B&&(I="xl/threadedComments/threadedComment"+f+"."+e,ee(s,I,_i(b,w,t)),n.threadedcomments.push(I),ae(k,-1,"../threadedComments/threadedComment"+f+"."+e,Q.TCMNT)),I="xl/comments"+f+"."+e,ee(s,I,xi(b)),n.comments.push(I),ae(k,-1,"../comments"+f+"."+e,Q.CMNT),C=!0}E["!legacy"]&&C&&ee(s,"xl/drawings/vmlDrawing"+f+".vml",vi(f,E["!comments"])),delete E["!comments"],delete E["!legacy"]}k["!id"].rId1&&ee(s,Za(i),Pt(k))}return t.Strings!=null&&t.Strings.length>0&&(i="xl/sharedStrings."+e,ee(s,i,ai(t.Strings,t)),n.strs.push(i),ae(t.wbrels,-1,"sharedStrings."+e,Q.SST)),i="xl/workbook."+e,ee(s,i,ji(r)),n.workbooks.push(i),ae(t.rels,1,i,Q.WB),i="xl/theme/theme1.xml",ee(s,i,mi(r.Themes,t)),n.themes.push(i),ae(t.wbrels,-1,"theme/theme1.xml",Q.THEME),i="xl/styles."+e,ee(s,i,pi(r,t)),n.styles.push(i),ae(t.wbrels,-1,"styles."+e,Q.STY),r.vbaraw&&a&&(i="xl/vbaProject.bin",ee(s,i,r.vbaraw),n.vba.push(i),ae(t.wbrels,-1,"vbaProject.bin",Q.VBA)),i="xl/metadata."+e,ee(s,i,gi()),n.metadata.push(i),ae(t.wbrels,-1,"metadata."+e,Q.XLMETA),w.length>1&&(i="xl/persons/person.xml",ee(s,i,wi(w)),n.people.push(i),ae(t.wbrels,-1,"persons/person.xml",Q.PEOPLE)),ee(s,"[Content_Types].xml",qa(n,t)),ee(s,"_rels/.rels",Pt(t.rels)),ee(s,"xl/_rels/workbook."+e+".rels",Pt(t.wbrels)),delete t.revssf,delete t.ssf,s}function Qi(r,t){switch(t.type){case"base64":case"binary":break;case"buffer":case"array":t.type="";break;case"file":return $r(t.file,ce.write(r,{type:K?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");default:throw new Error("Unrecognized type "+t.type)}return ce.write(r,t)}function es(r,t){var e=nt(t||{}),a=Zi(r,e);return ts(a,e)}function ts(r,t){var e={},a=K?"nodebuffer":typeof Uint8Array<"u"?"array":"string";if(t.compression&&(e.compression="DEFLATE"),t.password)e.type=a;else switch(t.type){case"base64":e.type="base64";break;case"binary":e.type="string";break;case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");case"buffer":case"file":e.type=a;break;default:throw new Error("Unrecognized type "+t.type)}var n=r.FullPaths?ce.write(r,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[e.type]||e.type,compression:!!t.compression}):r.generate(e);if(typeof Deno<"u"&&typeof n=="string"){if(t.type=="binary"||t.type=="base64")return n;n=new Uint8Array(St(n))}return t.password&&typeof encrypt_agile<"u"?Qi(encrypt_agile(n,t.password),t):t.type==="file"?$r(t.file,n):t.type=="string"?Da(n):n}function hn(r,t){Hi(r);var e=nt(t||{});if(e.cellStyles&&(e.cellNF=!0,e.sheetStubs=!0),e.type=="array"){e.type="binary";var a=hn(r,e);return e.type="array",St(a)}return es(r,e)}function rs(r){if(!r.bookType){var t={xls:"biff8",htm:"html",slk:"sylk",socialcalc:"eth",Sh33tJS:"WTF"},e=r.file.slice(r.file.lastIndexOf(".")).toLowerCase();e.match(/^\.[a-z]+$/)&&(r.bookType=e.slice(1)),r.bookType=t[r.bookType]||r.bookType}}function gs(r,t,e){var a=e||{};return a.type="file",a.file=t,rs(a),hn(r,a)}function ns(r,t,e,a,n,s,i,f){var m=Pe(e),p=f.defval,w=f.raw||!Object.prototype.hasOwnProperty.call(f,"raw"),k=!0,E=n===1?[]:{};if(n!==1)if(Object.defineProperty)try{Object.defineProperty(E,"__rowNum__",{value:e,enumerable:!1})}catch{E.__rowNum__=e}else E.__rowNum__=e;if(!i||r[e])for(var F=t.s.c;F<=t.e.c;++F){var b=i?r[e][F]:r[a[F]+m];if(b===void 0||b.t===void 0){if(p===void 0)continue;s[F]!=null&&(E[s[F]]=p);continue}var C=b.v;switch(b.t){case"z":if(C==null)break;continue;case"e":C=C==0?null:void 0;break;case"s":case"d":case"b":case"n":break;default:throw new Error("unrecognized type "+b.t)}if(s[F]!=null){if(C==null)if(b.t=="e"&&C===null)E[s[F]]=null;else if(p!==void 0)E[s[F]]=p;else if(w&&C===null)E[s[F]]=null;else continue;else E[s[F]]=w&&(b.t!=="n"||b.t==="n"&&f.rawNumbers!==!1)?C:it(b,C,f);C!=null&&(k=!1)}}return{row:E,isempty:k}}function Cr(r,t){if(r==null||r["!ref"]==null)return[];var e={t:"n",v:0},a=0,n=1,s=[],i=0,f="",m={s:{r:0,c:0},e:{r:0,c:0}},p=t||{},w=p.range!=null?p.range:r["!ref"];switch(p.header===1?a=1:p.header==="A"?a=2:Array.isArray(p.header)?a=3:p.header==null&&(a=0),typeof w){case"string":m=xe(w);break;case"number":m=xe(r["!ref"]),m.s.r=w;break;default:m=w}a>0&&(n=0);var k=Pe(m.s.r),E=[],F=[],b=0,C=0,I=Array.isArray(r),B=m.s.r,U=0,W={};I&&!r[B]&&(r[B]=[]);var R=p.skipHidden&&r["!cols"]||[],q=p.skipHidden&&r["!rows"]||[];for(U=m.s.c;U<=m.e.c;++U)if(!(R[U]||{}).hidden)switch(E[U]=We(U),e=I?r[B][U]:r[E[U]+k],a){case 1:s[U]=U-m.s.c;break;case 2:s[U]=E[U];break;case 3:s[U]=p.header[U-m.s.c];break;default:if(e==null&&(e={w:"__EMPTY",t:"s"}),f=i=it(e,null,p),C=W[i]||0,!C)W[i]=1;else{do f=i+"_"+C++;while(W[f]);W[i]=C,W[f]=1}s[U]=f}for(B=m.s.r+n;B<=m.e.r;++B)if(!(q[B]||{}).hidden){var X=ns(r,m,B,E,a,s,I,p);(X.isempty===!1||(a===1?p.blankrows!==!1:p.blankrows))&&(F[b++]=X.row)}return F.length=b,F}var Ar=/"/g;function as(r,t,e,a,n,s,i,f){for(var m=!0,p=[],w="",k=Pe(e),E=t.s.c;E<=t.e.c;++E)if(a[E]){var F=f.dense?(r[e]||[])[E]:r[a[E]+k];if(F==null)w="";else if(F.v!=null){m=!1,w=""+(f.rawNumbers&&F.t=="n"?F.v:it(F,null,f));for(var b=0,C=0;b!==w.length;++b)if((C=w.charCodeAt(b))===n||C===s||C===34||f.forceQuotes){w='"'+w.replace(Ar,'""')+'"';break}w=="ID"&&(w='"ID"')}else F.f!=null&&!F.F?(m=!1,w="="+F.f,w.indexOf(",")>=0&&(w='"'+w.replace(Ar,'""')+'"')):w="";p.push(w)}return f.blankrows===!1&&m?null:p.join(i)}function un(r,t){var e=[],a=t??{};if(r==null||r["!ref"]==null)return"";var n=xe(r["!ref"]),s=a.FS!==void 0?a.FS:",",i=s.charCodeAt(0),f=a.RS!==void 0?a.RS:`
`,m=f.charCodeAt(0),p=new RegExp((s=="|"?"\\|":s)+"+$"),w="",k=[];a.dense=Array.isArray(r);for(var E=a.skipHidden&&r["!cols"]||[],F=a.skipHidden&&r["!rows"]||[],b=n.s.c;b<=n.e.c;++b)(E[b]||{}).hidden||(k[b]=We(b));for(var C=0,I=n.s.r;I<=n.e.r;++I)(F[I]||{}).hidden||(w=as(r,n,I,k,i,m,s,a),w!=null&&(a.strip&&(w=w.replace(p,"")),(w||a.blankrows!==!1)&&e.push((C++?f:"")+w)));return delete a.dense,e.join("")}function is(r,t){t||(t={}),t.FS=" ",t.RS=`
`;var e=un(r,t);return e}function ss(r){var t="",e,a="";if(r==null||r["!ref"]==null)return[];var n=xe(r["!ref"]),s="",i=[],f,m=[],p=Array.isArray(r);for(f=n.s.c;f<=n.e.c;++f)i[f]=We(f);for(var w=n.s.r;w<=n.e.r;++w)for(s=Pe(w),f=n.s.c;f<=n.e.c;++f)if(t=i[f]+s,e=p?(r[w]||[])[f]:r[t],a="",e!==void 0){if(e.F!=null){if(t=e.F,!e.f)continue;a=e.f,t.indexOf(":")==-1&&(t=t+":"+t)}if(e.f!=null)a=e.f;else{if(e.t=="z")continue;if(e.t=="n"&&e.v!=null)a=""+e.v;else if(e.t=="b")a=e.v?"TRUE":"FALSE";else if(e.w!==void 0)a="'"+e.w;else{if(e.v===void 0)continue;e.t=="s"?a="'"+e.v:a=""+e.v}}m[m.length]=t+"="+a}return m}function dn(r,t,e){var a=e||{},n=+!a.skipHeader,s=r||{},i=0,f=0;if(s&&a.origin!=null)if(typeof a.origin=="number")i=a.origin;else{var m=typeof a.origin=="string"?ve(a.origin):a.origin;i=m.r,f=m.c}var p,w={s:{c:0,r:0},e:{c:f,r:i+t.length-1+n}};if(s["!ref"]){var k=xe(s["!ref"]);w.e.c=Math.max(w.e.c,k.e.c),w.e.r=Math.max(w.e.r,k.e.r),i==-1&&(i=k.e.r+1,w.e.r=i+t.length-1+n)}else i==-1&&(i=0,w.e.r=t.length-1+n);var E=a.header||[],F=0;t.forEach(function(C,I){Ee(C).forEach(function(B){(F=E.indexOf(B))==-1&&(E[F=E.length]=B);var U=C[B],W="z",R="",q=Se({c:f+F,r:i+I+n});p=rt(s,q),U&&typeof U=="object"&&!(U instanceof Date)?s[q]=U:(typeof U=="number"?W="n":typeof U=="boolean"?W="b":typeof U=="string"?W="s":U instanceof Date?(W="d",a.cellDates||(W="n",U=De(U)),R=a.dateNF||de[14]):U===null&&a.nullError&&(W="e",U=0),p?(p.t=W,p.v=U,delete p.w,delete p.R,R&&(p.z=R)):s[q]=p={t:W,v:U},R&&(p.z=R))})}),w.e.c=Math.max(w.e.c,f+E.length-1);var b=Pe(i);if(n)for(F=0;F<E.length;++F)s[We(F+f)+b]={t:"s",v:E[F]};return s["!ref"]=pe(w),s}function os(r,t){return dn(null,r,t)}function rt(r,t,e){if(typeof t=="string"){if(Array.isArray(r)){var a=ve(t);return r[a.r]||(r[a.r]=[]),r[a.r][a.c]||(r[a.r][a.c]={t:"z"})}return r[t]||(r[t]={t:"z"})}return typeof t!="number"?rt(r,Se(t)):rt(r,Se({r:t,c:e||0}))}function ls(r,t){if(typeof t=="number"){if(t>=0&&r.SheetNames.length>t)return t;throw new Error("Cannot find sheet # "+t)}else if(typeof t=="string"){var e=r.SheetNames.indexOf(t);if(e>-1)return e;throw new Error("Cannot find sheet name |"+t+"|")}else throw new Error("Cannot find sheet |"+t+"|")}function fs(){return{SheetNames:[],Sheets:{}}}function cs(r,t,e,a){var n=1;if(!e)for(;n<=65535&&r.SheetNames.indexOf(e="Sheet"+n)!=-1;++n,e=void 0);if(!e||r.SheetNames.length>=65535)throw new Error("Too many worksheets");if(a&&r.SheetNames.indexOf(e)>=0){var s=e.match(/(^.*?)(\d+)$/);n=s&&+s[2]||0;var i=s&&s[1]||e;for(++n;n<=65535&&r.SheetNames.indexOf(e=i+n)!=-1;++n);}if(ln(e),r.SheetNames.indexOf(e)>=0)throw new Error("Worksheet with name |"+e+"| already exists!");return r.SheetNames.push(e),r.Sheets[e]=t,e}function hs(r,t,e){r.Workbook||(r.Workbook={}),r.Workbook.Sheets||(r.Workbook.Sheets=[]);var a=ls(r,t);switch(r.Workbook.Sheets[a]||(r.Workbook.Sheets[a]={}),e){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+e)}r.Workbook.Sheets[a].Hidden=e}function us(r,t){return r.z=t,r}function pn(r,t,e){return t?(r.l={Target:t},e&&(r.l.Tooltip=e)):delete r.l,r}function ds(r,t,e){return pn(r,"#"+t,e)}function ps(r,t,e){r.c||(r.c=[]),r.c.push({t,a:e||"SheetJS"})}function ms(r,t,e,a){for(var n=typeof t!="string"?t:xe(t),s=typeof t=="string"?t:pe(t),i=n.s.r;i<=n.e.r;++i)for(var f=n.s.c;f<=n.e.c;++f){var m=rt(r,i,f);m.t="n",m.F=s,delete m.v,i==n.s.r&&f==n.s.c&&(m.f=e,a&&(m.D=!0))}return r}var vs={encode_col:We,encode_row:Pe,encode_cell:Se,encode_range:pe,decode_col:za,decode_row:ja,split_cell:Va,decode_cell:ve,decode_range:tt,format_cell:it,sheet_add_aoa:an,sheet_add_json:dn,sheet_add_dom:fn,aoa_to_sheet:Ja,json_to_sheet:os,table_to_sheet:cn,table_to_book:Ji,sheet_to_csv:un,sheet_to_txt:is,sheet_to_json:Cr,sheet_to_html:Gi,sheet_to_formulae:ss,sheet_to_row_object_array:Cr,sheet_get_cell:rt,book_new:fs,book_append_sheet:cs,book_set_sheet_visibility:hs,cell_set_number_format:us,cell_set_hyperlink:pn,cell_set_internal_link:ds,cell_add_comment:ps,sheet_set_array_formula:ms,consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};export{vs as u,gs as w};