var vF=Object.defineProperty;var CF=(t,e,r)=>e in t?vF(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var ln=(t,e,r)=>CF(t,typeof e!="symbol"?e+"":e,r);import{c5 as Ig,c6 as Od,ae as lx,bI as SF,al as oO,aW as xF,c7 as yF,b$ as bF,n as EF,b as RF,t as Og,a5 as TF,v as aO,K as _F,af as AF,a$ as vR,ag as Pg,d as Ao,ah as MF,ai as Dg,aj as CR,ak as IF,k as OF,c8 as PF,am as kg,at as _h,ap as Ah,an as Ng,au as SR,aP as DF,c as kF,a as NF}from"./index-D68iA7pN.js";import{M as HF}from"./index-AOcxwHT9.js";/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */var lO=1252,FF=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4],cx={0:1252,1:65001,2:65001,77:1e4,128:932,129:949,130:1361,134:936,136:950,161:1253,162:1254,163:1258,177:1255,178:1256,186:1257,204:1251,222:874,238:1250,255:1252,69:6969},ux=function(t){FF.indexOf(t)!=-1&&(lO=cx[0]=t)};function LF(){ux(1252)}var ws=function(t){ux(t)};function cO(){ws(1200),LF()}function xR(t){for(var e=[],r=0,n=t.length;r>1;++r)e[r]=String.fromCharCode(t.charCodeAt(2*r)+(t.charCodeAt(2*r+1)<<8));return e.join("")}function uO(t){for(var e=[],r=0;r>1;++r)e[r]=String.fromCharCode(t.charCodeAt(2*r+1)+(t.charCodeAt(2*r)<<8));return e.join("")}var Pd=function(t){var e=t.charCodeAt(0),r=t.charCodeAt(1);return e==255&&r==254?$F(t.slice(2)):e==254&&r==255?uO(t.slice(2)):e==65279?t.slice(1):t},Hg=function(e){return String.fromCharCode(e)},yR=function(e){return String.fromCharCode(e)},Ua,Xa="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function bR(t){for(var e="",r=0,n=0,i=0,s=0,o=0,a=0,l=0,c=0;c>2,n=t.charCodeAt(c++),o=(r&3)<<4|n>>4,i=t.charCodeAt(c++),a=(n&15)<<2|i>>6,l=i&63,isNaN(n)?a=l=64:isNaN(i)&&(l=64),e+=Xa.charAt(s)+Xa.charAt(o)+Xa.charAt(a)+Xa.charAt(l);return e}function Ci(t){var e="",r=0,n=0,i=0,s=0,o=0,a=0,l=0;t=t.replace(/[^\w\+\/\=]/g,"");for(var c=0;c>4,e+=String.fromCharCode(r),a=Xa.indexOf(t.charAt(c++)),n=(o&15)<<4|a>>2,a!==64&&(e+=String.fromCharCode(n)),l=Xa.indexOf(t.charAt(c++)),i=(a&3)<<6|l,l!==64&&(e+=String.fromCharCode(i));return e}var yt=function(){return typeof Buffer<"u"&&typeof process<"u"&&typeof process.versions<"u"&&!!process.versions.node}(),Ic=function(){if(typeof Buffer<"u"){var t=!Buffer.from;if(!t)try{Buffer.from("foo","utf8")}catch{t=!0}return t?function(e,r){return r?new Buffer(e,r):new Buffer(e)}:Buffer.from.bind(Buffer)}return function(){}}();function cl(t){return yt?Buffer.alloc?Buffer.alloc(t):new Buffer(t):typeof Uint8Array<"u"?new Uint8Array(t):new Array(t)}function ER(t){return yt?Buffer.allocUnsafe?Buffer.allocUnsafe(t):new Buffer(t):typeof Uint8Array<"u"?new Uint8Array(t):new Array(t)}var ps=function(e){return yt?Ic(e,"binary"):e.split("").map(function(r){return r.charCodeAt(0)&255})};function Oc(t){if(Array.isArray(t))return t.map(function(n){return String.fromCharCode(n)}).join("");for(var e=[],r=0;r"u")throw new Error("Unsupported");if(t instanceof ArrayBuffer)return hx(new Uint8Array(t));for(var e=new Array(t.length),r=0;r>6&31,i[r++]=128|o&63;else if(o>=55296&&o<57344){o=(o&1023)+64;var a=t.charCodeAt(++s)&1023;i[r++]=240|o>>8&7,i[r++]=128|o>>2&63,i[r++]=128|a>>6&15|(o&3)<<4,i[r++]=128|a&63}else i[r++]=224|o>>12&15,i[r++]=128|o>>6&63,i[r++]=128|o&63;r>n&&(e.push(i.slice(0,r)),r=0,i=cl(65535),n=65530)}return e.push(i.slice(0,r)),Ya(e)}var Ln=/\u0000/g,Dd=/[\u0001-\u0006]/g;function zu(t){for(var e="",r=t.length-1;r>=0;)e+=t.charAt(r--);return e}function vs(t,e){var r=""+t;return r.length>=e?r:xr("0",e-r.length)+r}function dx(t,e){var r=""+t;return r.length>=e?r:xr(" ",e-r.length)+r}function qm(t,e){var r=""+t;return r.length>=e?r:r+xr(" ",e-r.length)}function VF(t,e){var r=""+Math.round(t);return r.length>=e?r:xr("0",e-r.length)+r}function WF(t,e){var r=""+t;return r.length>=e?r:xr("0",e-r.length)+r}var RR=Math.pow(2,32);function zc(t,e){if(t>RR||t<-RR)return VF(t,e);var r=Math.round(t);return WF(r,e)}function Zm(t,e){return e=e||0,t.length>=7+e&&(t.charCodeAt(e)|32)===103&&(t.charCodeAt(e+1)|32)===101&&(t.charCodeAt(e+2)|32)===110&&(t.charCodeAt(e+3)|32)===101&&(t.charCodeAt(e+4)|32)===114&&(t.charCodeAt(e+5)|32)===97&&(t.charCodeAt(e+6)|32)===108}var TR=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],sv=[["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 UF(t){return t||(t={}),t[0]="General",t[1]="0",t[2]="0.00",t[3]="#,##0",t[4]="#,##0.00",t[9]="0%",t[10]="0.00%",t[11]="0.00E+00",t[12]="# ?/?",t[13]="# ??/??",t[14]="m/d/yy",t[15]="d-mmm-yy",t[16]="d-mmm",t[17]="mmm-yy",t[18]="h:mm AM/PM",t[19]="h:mm:ss AM/PM",t[20]="h:mm",t[21]="h:mm:ss",t[22]="m/d/yy h:mm",t[37]="#,##0 ;(#,##0)",t[38]="#,##0 ;[Red](#,##0)",t[39]="#,##0.00;(#,##0.00)",t[40]="#,##0.00;[Red](#,##0.00)",t[45]="mm:ss",t[46]="[h]:mm:ss",t[47]="mmss.0",t[48]="##0.0E+0",t[49]="@",t[56]='"上午/下午 "hh"時"mm"分"ss"秒 "',t}var ot={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"秒 "'},_R={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},YF={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 Jm(t,e,r){for(var n=t<0?-1:1,i=t*n,s=0,o=1,a=0,l=1,c=0,u=0,h=Math.floor(i);ce&&(c>e?(u=l,a=s):(u=c,a=o)),!r)return[0,n*a,u];var d=Math.floor(n*a/u);return[d,n*a-d*u,u]}function oc(t,e,r){if(t>2958465||t<0)return null;var n=t|0,i=Math.floor(86400*(t-n)),s=0,o=[],a={D:n,T:i,u:86400*(t-n)-i,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(a.u)<1e-6&&(a.u=0),e&&e.date1904&&(n+=1462),a.u>.9999&&(a.u=0,++i==86400&&(a.T=i=0,++n,++a.D)),n===60)o=r?[1317,10,29]:[1900,2,29],s=3;else if(n===0)o=r?[1317,8,29]:[1900,1,0],s=6;else{n>60&&--n;var l=new Date(1900,0,1);l.setDate(l.getDate()+n-1),o=[l.getFullYear(),l.getMonth()+1,l.getDate()],s=l.getDay(),n<60&&(s=(s+6)%7),r&&(s=qF(l,o))}return a.y=o[0],a.m=o[1],a.d=o[2],a.S=i%60,i=Math.floor(i/60),a.M=i%60,i=Math.floor(i/60),a.H=i,a.q=s,a}var hO=new Date(1899,11,31,0,0,0),zF=hO.getTime(),GF=new Date(1900,2,1,0,0,0);function dO(t,e){var r=t.getTime();return e?r-=1461*24*60*60*1e3:t>=GF&&(r+=24*60*60*1e3),(r-(zF+(t.getTimezoneOffset()-hO.getTimezoneOffset())*6e4))/(24*60*60*1e3)}function fx(t){return t.indexOf(".")==-1?t:t.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function jF(t){return t.indexOf("E")==-1?t:t.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}function KF(t){var e=t<0?12:11,r=fx(t.toFixed(12));return r.length<=e||(r=t.toPrecision(10),r.length<=e)?r:t.toExponential(5)}function XF(t){var e=fx(t.toFixed(11));return e.length>(t<0?12:11)||e==="0"||e==="-0"?t.toPrecision(6):e}function xf(t){var e=Math.floor(Math.log(Math.abs(t))*Math.LOG10E),r;return e>=-4&&e<=-1?r=t.toPrecision(10+e):Math.abs(e)<=9?r=KF(t):e===10?r=t.toFixed(10).substr(0,12):r=XF(t),fx(jF(r.toUpperCase()))}function wc(t,e){switch(typeof t){case"string":return t;case"boolean":return t?"TRUE":"FALSE";case"number":return(t|0)===t?t.toString(10):xf(t);case"undefined":return"";case"object":if(t==null)return"";if(t instanceof Date)return Ui(14,dO(t,e&&e.date1904),e)}throw new Error("unsupported value in General format: "+t)}function qF(t,e){e[0]-=581;var r=t.getDay();return t<60&&(r=(r+6)%7),r}function ZF(t,e,r,n){var i="",s=0,o=0,a=r.y,l,c=0;switch(t){case 98:a=r.y+543;case 121:switch(e.length){case 1:case 2:l=a%100,c=2;break;default:l=a%1e4,c=4;break}break;case 109:switch(e.length){case 1:case 2:l=r.m,c=e.length;break;case 3:return sv[r.m-1][1];case 5:return sv[r.m-1][0];default:return sv[r.m-1][2]}break;case 100:switch(e.length){case 1:case 2:l=r.d,c=e.length;break;case 3:return TR[r.q][0];default:return TR[r.q][1]}break;case 104:switch(e.length){case 1:case 2:l=1+(r.H+11)%12,c=e.length;break;default:throw"bad hour format: "+e}break;case 72:switch(e.length){case 1:case 2:l=r.H,c=e.length;break;default:throw"bad hour format: "+e}break;case 77:switch(e.length){case 1:case 2:l=r.M,c=e.length;break;default:throw"bad minute format: "+e}break;case 115:if(e!="s"&&e!="ss"&&e!=".0"&&e!=".00"&&e!=".000")throw"bad second format: "+e;return r.u===0&&(e=="s"||e=="ss")?vs(r.S,e.length):(n>=2?o=n===3?1e3:100:o=n===1?10:1,s=Math.round(o*(r.S+r.u)),s>=60*o&&(s=0),e==="s"?s===0?"0":""+s/o:(i=vs(s,2+n),e==="ss"?i.substr(0,2):"."+i.substr(2,e.length-1)));case 90:switch(e){case"[h]":case"[hh]":l=r.D*24+r.H;break;case"[m]":case"[mm]":l=(r.D*24+r.H)*60+r.M;break;case"[s]":case"[ss]":l=((r.D*24+r.H)*60+r.M)*60+Math.round(r.S+r.u);break;default:throw"bad abstime format: "+e}c=e.length===3?1:2;break;case 101:l=a,c=1;break}var u=c>0?vs(l,c):"";return u}function qa(t){var e=3;if(t.length<=e)return t;for(var r=t.length%e,n=t.substr(0,r);r!=t.length;r+=e)n+=(n.length>0?",":"")+t.substr(r,e);return n}var fO=/%/g;function JF(t,e,r){var n=e.replace(fO,""),i=e.length-n.length;return ta(t,n,r*Math.pow(10,2*i))+xr("%",i)}function QF(t,e,r){for(var n=e.length-1;e.charCodeAt(n-1)===44;)--n;return ta(t,e.substr(0,n),r/Math.pow(10,3*(e.length-n)))}function gO(t,e){var r,n=t.indexOf("E")-t.indexOf(".")-1;if(t.match(/^#+0.0E\+0$/)){if(e==0)return"0.0E+0";if(e<0)return"-"+gO(t,-e);var i=t.indexOf(".");i===-1&&(i=t.indexOf("E"));var s=Math.floor(Math.log(e)*Math.LOG10E)%i;if(s<0&&(s+=i),r=(e/Math.pow(10,s)).toPrecision(n+1+(i+s)%i),r.indexOf("e")===-1){var o=Math.floor(Math.log(e)*Math.LOG10E);for(r.indexOf(".")===-1?r=r.charAt(0)+"."+r.substr(1)+"E+"+(o-r.length+s):r+="E+"+(o-s);r.substr(0,2)==="0.";)r=r.charAt(0)+r.substr(2,i)+"."+r.substr(2+i),r=r.replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(a,l,c,u){return l+c+u.substr(0,(i+s)%i)+"."+u.substr(s)+"E"})}else r=e.toExponential(n);return t.match(/E\+00$/)&&r.match(/e[+-]\d$/)&&(r=r.substr(0,r.length-1)+"0"+r.charAt(r.length-1)),t.match(/E\-/)&&r.match(/e\+/)&&(r=r.replace(/e\+/,"e")),r.replace("e","E")}var mO=/# (\?+)( ?)\/( ?)(\d+)/;function eL(t,e,r){var n=parseInt(t[4],10),i=Math.round(e*n),s=Math.floor(i/n),o=i-s*n,a=n;return r+(s===0?"":""+s)+" "+(o===0?xr(" ",t[1].length+1+t[4].length):dx(o,t[1].length)+t[2]+"/"+t[3]+vs(a,t[4].length))}function tL(t,e,r){return r+(e===0?"":""+e)+xr(" ",t[1].length+2+t[4].length)}var pO=/^#*0*\.([0#]+)/,wO=/\).*[0#]/,vO=/\(###\) ###\\?-####/;function Pn(t){for(var e="",r,n=0;n!=t.length;++n)switch(r=t.charCodeAt(n)){case 35:break;case 63:e+=" ";break;case 48:e+="0";break;default:e+=String.fromCharCode(r)}return e}function AR(t,e){var r=Math.pow(10,e);return""+Math.round(t*r)/r}function MR(t,e){var r=t-Math.floor(t),n=Math.pow(10,e);return e<(""+Math.round(r*n)).length?0:Math.round(r*n)}function rL(t,e){return e<(""+Math.round((t-Math.floor(t))*Math.pow(10,e))).length?1:0}function nL(t){return t<2147483647&&t>-2147483648?""+(t>=0?t|0:t-1|0):""+Math.floor(t)}function Mi(t,e,r){if(t.charCodeAt(0)===40&&!e.match(wO)){var n=e.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?Mi("n",n,r):"("+Mi("n",n,-r)+")"}if(e.charCodeAt(e.length-1)===44)return QF(t,e,r);if(e.indexOf("%")!==-1)return JF(t,e,r);if(e.indexOf("E")!==-1)return gO(e,r);if(e.charCodeAt(0)===36)return"$"+Mi(t,e.substr(e.charAt(1)==" "?2:1),r);var i,s,o,a,l=Math.abs(r),c=r<0?"-":"";if(e.match(/^00+$/))return c+zc(l,e.length);if(e.match(/^[#?]+$/))return i=zc(r,0),i==="0"&&(i=""),i.length>e.length?i:Pn(e.substr(0,e.length-i.length))+i;if(s=e.match(mO))return eL(s,l,c);if(e.match(/^#+0+$/))return c+zc(l,e.length-e.indexOf("0"));if(s=e.match(pO))return i=AR(r,s[1].length).replace(/^([^\.]+)$/,"$1."+Pn(s[1])).replace(/\.$/,"."+Pn(s[1])).replace(/\.(\d*)$/,function(g,m){return"."+m+xr("0",Pn(s[1]).length-m.length)}),e.indexOf("0.")!==-1?i:i.replace(/^0\./,".");if(e=e.replace(/^#+([0.])/,"$1"),s=e.match(/^(0*)\.(#*)$/))return c+AR(l,s[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,s[1].length?"0.":".");if(s=e.match(/^#{1,3},##0(\.?)$/))return c+qa(zc(l,0));if(s=e.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+Mi(t,e,-r):qa(""+(Math.floor(r)+rL(r,s[1].length)))+"."+vs(MR(r,s[1].length),s[1].length);if(s=e.match(/^#,#*,#0/))return Mi(t,e.replace(/^#,#*,/,""),r);if(s=e.match(/^([0#]+)(\\?-([0#]+))+$/))return i=zu(Mi(t,e.replace(/[\\-]/g,""),r)),o=0,zu(zu(e.replace(/\\/g,"")).replace(/[0#]/g,function(g){return o=0?Js("n",n,r):"("+Js("n",n,-r)+")"}if(e.charCodeAt(e.length-1)===44)return iL(t,e,r);if(e.indexOf("%")!==-1)return sL(t,e,r);if(e.indexOf("E")!==-1)return CO(e,r);if(e.charCodeAt(0)===36)return"$"+Js(t,e.substr(e.charAt(1)==" "?2:1),r);var i,s,o,a,l=Math.abs(r),c=r<0?"-":"";if(e.match(/^00+$/))return c+vs(l,e.length);if(e.match(/^[#?]+$/))return i=""+r,r===0&&(i=""),i.length>e.length?i:Pn(e.substr(0,e.length-i.length))+i;if(s=e.match(mO))return tL(s,l,c);if(e.match(/^#+0+$/))return c+vs(l,e.length-e.indexOf("0"));if(s=e.match(pO))return i=(""+r).replace(/^([^\.]+)$/,"$1."+Pn(s[1])).replace(/\.$/,"."+Pn(s[1])),i=i.replace(/\.(\d*)$/,function(g,m){return"."+m+xr("0",Pn(s[1]).length-m.length)}),e.indexOf("0.")!==-1?i:i.replace(/^0\./,".");if(e=e.replace(/^#+([0.])/,"$1"),s=e.match(/^(0*)\.(#*)$/))return c+(""+l).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,s[1].length?"0.":".");if(s=e.match(/^#{1,3},##0(\.?)$/))return c+qa(""+l);if(s=e.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+Js(t,e,-r):qa(""+r)+"."+xr("0",s[1].length);if(s=e.match(/^#,#*,#0/))return Js(t,e.replace(/^#,#*,/,""),r);if(s=e.match(/^([0#]+)(\\?-([0#]+))+$/))return i=zu(Js(t,e.replace(/[\\-]/g,""),r)),o=0,zu(zu(e.replace(/\\/g,"")).replace(/[0#]/g,function(g){return o-1||r=="\\"&&t.charAt(e+1)=="-"&&"0#".indexOf(t.charAt(e+2))>-1););break;case"?":for(;t.charAt(++e)===r;);break;case"*":++e,(t.charAt(e)==" "||t.charAt(e)=="*")&&++e;break;case"(":case")":++e;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;e-1;);break;case" ":++e;break;default:++e;break}return!1}function aL(t,e,r,n){for(var i=[],s="",o=0,a="",l="t",c,u,h,d="H";o=12?"P":"A"),m.t="T",d="h",o+=3):t.substr(o,5).toUpperCase()==="AM/PM"?(c!=null&&(m.v=c.H>=12?"PM":"AM"),m.t="T",o+=5,d="h"):t.substr(o,5).toUpperCase()==="上午/下午"?(c!=null&&(m.v=c.H>=12?"下午":"上午"),m.t="T",o+=5,d="h"):(m.t="t",++o),c==null&&m.t==="T")return"";i[i.length]=m,l=a;break;case"[":for(s=a;t.charAt(o++)!=="]"&&o-1&&(s=(s.match(/\$([^-\[\]]*)/)||[])[1]||"$",uh(t)||(i[i.length]={t:"t",v:s}));break;case".":if(c!=null){for(s=a;++o-1;)s+=a;i[i.length]={t:"n",v:s};break;case"?":for(s=a;t.charAt(++o)===a;)s+=a;i[i.length]={t:a,v:s},l=a;break;case"*":++o,(t.charAt(o)==" "||t.charAt(o)=="*")&&++o;break;case"(":case")":i[i.length]={t:n===1?"t":a,v:a},++o;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(s=a;o-1;)s+=t.charAt(o);i[i.length]={t:"D",v:s};break;case" ":i[i.length]={t:a,v:a},++o;break;case"$":i[i.length]={t:"t",v:"$"},++o;break;default:if(",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP".indexOf(a)===-1)throw new Error("unrecognized character "+a+" in "+t);i[i.length]={t:"t",v:a},++o;break}var p=0,S=0,y;for(o=i.length-1,l="t";o>=0;--o)switch(i[o].t){case"h":case"H":i[o].t=d,l="h",p<1&&(p=1);break;case"s":(y=i[o].v.match(/\.0+$/))&&(S=Math.max(S,y[0].length-1)),p<3&&(p=3);case"d":case"y":case"M":case"e":l=i[o].t;break;case"m":l==="s"&&(i[o].t="M",p<2&&(p=2));break;case"X":break;case"Z":p<1&&i[o].v.match(/[Hh]/)&&(p=1),p<2&&i[o].v.match(/[Mm]/)&&(p=2),p<3&&i[o].v.match(/[Ss]/)&&(p=3)}switch(p){case 0:break;case 1:c.u>=.5&&(c.u=0,++c.S),c.S>=60&&(c.S=0,++c.M),c.M>=60&&(c.M=0,++c.H);break;case 2:c.u>=.5&&(c.u=0,++c.S),c.S>=60&&(c.S=0,++c.M);break}var C="",E;for(o=0;o0){C.charCodeAt(0)==40?(O=e<0&&C.charCodeAt(0)===45?-e:e,T=ta("n",C,O)):(O=e<0&&n>1?-e:e,T=ta("n",C,O),O<0&&i[0]&&i[0].t=="t"&&(T=T.substr(1),i[0].v="-"+i[0].v)),E=T.length-1;var W=i.length;for(o=0;o-1){W=o;break}var I=i.length;if(W===i.length&&T.indexOf("E")===-1){for(o=i.length-1;o>=0;--o)i[o]==null||"n?".indexOf(i[o].t)===-1||(E>=i[o].v.length-1?(E-=i[o].v.length,i[o].v=T.substr(E+1,i[o].v.length)):E<0?i[o].v="":(i[o].v=T.substr(0,E+1),E=-1),i[o].t="t",I=o);E>=0&&I=0;--o)if(!(i[o]==null||"n?".indexOf(i[o].t)===-1)){for(u=i[o].v.indexOf(".")>-1&&o===W?i[o].v.indexOf(".")-1:i[o].v.length-1,A=i[o].v.substr(u+1);u>=0;--u)E>=0&&(i[o].v.charAt(u)==="0"||i[o].v.charAt(u)==="#")&&(A=T.charAt(E--)+A);i[o].v=A,i[o].t="t",I=o}for(E>=0&&I-1&&o===W?i[o].v.indexOf(".")+1:0,A=i[o].v.substr(0,u);u-1&&(O=n>1&&e<0&&o>0&&i[o-1].v==="-"?-e:e,i[o].v=ta(i[o].t,i[o].v,O),i[o].t="t");var Y="";for(o=0;o!==i.length;++o)i[o]!=null&&(Y+=i[o].v);return Y}var IR=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function OR(t,e){if(e==null)return!1;var r=parseFloat(e[2]);switch(e[1]){case"=":if(t==r)return!0;break;case">":if(t>r)return!0;break;case"<":if(t":if(t!=r)return!0;break;case">=":if(t>=r)return!0;break;case"<=":if(t<=r)return!0;break}return!1}function lL(t,e){var r=oL(t),n=r.length,i=r[n-1].indexOf("@");if(n<4&&i>-1&&--n,r.length>4)throw new Error("cannot find right format for |"+r.join("|")+"|");if(typeof e!="number")return[4,r.length===4||i>-1?r[r.length-1]:"@"];switch(r.length){case 1:r=i>-1?["General","General","General",r[0]]:[r[0],r[0],r[0],"@"];break;case 2:r=i>-1?[r[0],r[0],r[0],r[1]]:[r[0],r[1],r[0],"@"];break;case 3:r=i>-1?[r[0],r[1],r[0],r[2]]:[r[0],r[1],r[2],"@"];break}var s=e>0?r[0]:e<0?r[1]:r[2];if(r[0].indexOf("[")===-1&&r[1].indexOf("[")===-1)return[n,s];if(r[0].match(/\[[=<>]/)!=null||r[1].match(/\[[=<>]/)!=null){var o=r[0].match(IR),a=r[1].match(IR);return OR(e,o)?[n,r[0]]:OR(e,a)?[n,r[1]]:[n,r[o!=null&&a!=null?2:1]]}return[n,s]}function Ui(t,e,r){r==null&&(r={});var n="";switch(typeof t){case"string":t=="m/d/yy"&&r.dateNF?n=r.dateNF:n=t;break;case"number":t==14&&r.dateNF?n=r.dateNF:n=(r.table!=null?r.table:ot)[t],n==null&&(n=r.table&&r.table[_R[t]]||ot[_R[t]]),n==null&&(n=YF[t]||"General");break}if(Zm(n,0))return wc(e,r);e instanceof Date&&(e=dO(e,r.date1904));var i=lL(n,e);if(Zm(i[1]))return wc(e,r);if(e===!0)e="TRUE";else if(e===!1)e="FALSE";else if(e===""||e==null)return"";return aL(i[1],e,r,i[0])}function fc(t,e){if(typeof e!="number"){e=+e||-1;for(var r=0;r<392;++r){if(ot[r]==null){e<0&&(e=r);continue}if(ot[r]==t){e=r;break}}e<0&&(e=391)}return ot[e]=t,e}function xO(){ot=UF()}var cL={5:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',23:"General",24:"General",25:"General",26:"General",27:"m/d/yy",28:"m/d/yy",29:"m/d/yy",30:"m/d/yy",31:"m/d/yy",32:"h:mm:ss",33:"h:mm:ss",34:"h:mm:ss",35:"h:mm:ss",36:"m/d/yy",41:'_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* (#,##0);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)',50:"m/d/yy",51:"m/d/yy",52:"m/d/yy",53:"m/d/yy",54:"m/d/yy",55:"m/d/yy",56:"m/d/yy",57:"m/d/yy",58:"m/d/yy",59:"0",60:"0.00",61:"#,##0",62:"#,##0.00",63:'"$"#,##0_);\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',67:"0%",68:"0.00%",69:"# ?/?",70:"# ??/??",71:"m/d/yy",72:"m/d/yy",73:"d-mmm-yy",74:"d-mmm",75:"mmm-yy",76:"h:mm",77:"h:mm:ss",78:"m/d/yy h:mm",79:"mm:ss",80:"[h]:mm:ss",81:"mmss.0"},yO=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;function uL(t){var e=typeof t=="number"?ot[t]:t;return e=e.replace(yO,"(\\d+)"),new RegExp("^"+e+"$")}function hL(t,e,r){var n=-1,i=-1,s=-1,o=-1,a=-1,l=-1;(e.match(yO)||[]).forEach(function(h,d){var f=parseInt(r[d+1],10);switch(h.toLowerCase().charAt(0)){case"y":n=f;break;case"d":s=f;break;case"h":o=f;break;case"s":l=f;break;case"m":o>=0?a=f:i=f;break}}),l>=0&&a==-1&&i>=0&&(a=i,i=-1);var c=(""+(n>=0?n:new Date().getFullYear())).slice(-4)+"-"+("00"+(i>=1?i:1)).slice(-2)+"-"+("00"+(s>=1?s:1)).slice(-2);c.length==7&&(c="0"+c),c.length==8&&(c="20"+c);var u=("00"+(o>=0?o:0)).slice(-2)+":"+("00"+(a>=0?a:0)).slice(-2)+":"+("00"+(l>=0?l:0)).slice(-2);return o==-1&&a==-1&&l==-1?c:n==-1&&i==-1&&s==-1?u:c+"T"+u}var dL=function(){var t={};t.version="1.2.0";function e(){for(var T=0,W=new Array(256),I=0;I!=256;++I)T=I,T=T&1?-306674912^T>>>1:T>>>1,T=T&1?-306674912^T>>>1:T>>>1,T=T&1?-306674912^T>>>1:T>>>1,T=T&1?-306674912^T>>>1:T>>>1,T=T&1?-306674912^T>>>1:T>>>1,T=T&1?-306674912^T>>>1:T>>>1,T=T&1?-306674912^T>>>1:T>>>1,T=T&1?-306674912^T>>>1:T>>>1,W[I]=T;return typeof Int32Array<"u"?new Int32Array(W):W}var r=e();function n(T){var W=0,I=0,Y=0,z=typeof Int32Array<"u"?new Int32Array(4096):new Array(4096);for(Y=0;Y!=256;++Y)z[Y]=T[Y];for(Y=0;Y!=256;++Y)for(I=T[Y],W=256+Y;W<4096;W+=256)I=z[W]=I>>>8^T[I&255];var U=[];for(Y=1;Y!=16;++Y)U[Y-1]=typeof Int32Array<"u"?z.subarray(Y*256,Y*256+256):z.slice(Y*256,Y*256+256);return U}var i=n(r),s=i[0],o=i[1],a=i[2],l=i[3],c=i[4],u=i[5],h=i[6],d=i[7],f=i[8],g=i[9],m=i[10],p=i[11],S=i[12],y=i[13],C=i[14];function E(T,W){for(var I=W^-1,Y=0,z=T.length;Y>>8^r[(I^T.charCodeAt(Y++))&255];return~I}function A(T,W){for(var I=W^-1,Y=T.length-15,z=0;z>8&255]^S[T[z++]^I>>16&255]^p[T[z++]^I>>>24]^m[T[z++]]^g[T[z++]]^f[T[z++]]^d[T[z++]]^h[T[z++]]^u[T[z++]]^c[T[z++]]^l[T[z++]]^a[T[z++]]^o[T[z++]]^s[T[z++]]^r[T[z++]];for(Y+=15;z>>8^r[(I^T[z++])&255];return~I}function O(T,W){for(var I=W^-1,Y=0,z=T.length,U=0,oe=0;Y>>8^r[(I^U)&255]:U<2048?(I=I>>>8^r[(I^(192|U>>6&31))&255],I=I>>>8^r[(I^(128|U&63))&255]):U>=55296&&U<57344?(U=(U&1023)+64,oe=T.charCodeAt(Y++)&1023,I=I>>>8^r[(I^(240|U>>8&7))&255],I=I>>>8^r[(I^(128|U>>2&63))&255],I=I>>>8^r[(I^(128|oe>>6&15|(U&3)<<4))&255],I=I>>>8^r[(I^(128|oe&63))&255]):(I=I>>>8^r[(I^(224|U>>12&15))&255],I=I>>>8^r[(I^(128|U>>6&63))&255],I=I>>>8^r[(I^(128|U&63))&255]);return~I}return t.table=r,t.bstr=E,t.buf=A,t.str=O,t}(),Et=function(){var e={};e.version="1.2.1";function r(_,F){for(var P=_.split("/"),k=F.split("/"),L=0,V=0,he=Math.min(P.length,k.length);L>>1,_.write_shift(2,P);var k=F.getFullYear()-1980;k=k<<4|F.getMonth()+1,k=k<<5|F.getDate(),_.write_shift(2,k)}function o(_){var F=_.read_shift(2)&65535,P=_.read_shift(2)&65535,k=new Date,L=P&31;P>>>=5;var V=P&15;P>>>=4,k.setMilliseconds(0),k.setFullYear(P+1980),k.setMonth(V-1),k.setDate(L);var he=F&31;F>>>=5;var ve=F&63;return F>>>=6,k.setHours(F),k.setMinutes(ve),k.setSeconds(he<<1),k}function a(_){nn(_,0);for(var F={},P=0;_.l<=_.length-4;){var k=_.read_shift(2),L=_.read_shift(2),V=_.l+L,he={};switch(k){case 21589:P=_.read_shift(1),P&1&&(he.mtime=_.read_shift(4)),L>5&&(P&2&&(he.atime=_.read_shift(4)),P&4&&(he.ctime=_.read_shift(4))),he.mtime&&(he.mt=new Date(he.mtime*1e3));break}_.l=V,F[k]=he}return F}var l;function c(){return l||(l={})}function u(_,F){if(_[0]==80&&_[1]==75)return Ro(_,F);if((_[0]|32)==109&&(_[1]|32)==105)return Ag(_,F);if(_.length<512)throw new Error("CFB file size "+_.length+" < 512");var P=3,k=512,L=0,V=0,he=0,ve=0,ue=0,de=[],me=_.slice(0,512);nn(me,0);var ge=h(me);switch(P=ge[0],P){case 3:k=512;break;case 4:k=4096;break;case 0:if(ge[1]==0)return Ro(_,F);default:throw new Error("Major Version: Expected 3 or 4 saw "+P)}k!==512&&(me=_.slice(0,k),nn(me,28));var H=_.slice(0,k);d(me,P);var ce=me.read_shift(4,"i");if(P===3&&ce!==0)throw new Error("# Directory Sectors: Expected 0 saw "+ce);me.l+=4,he=me.read_shift(4,"i"),me.l+=4,me.chk("00100000","Mini Stream Cutoff Size: "),ve=me.read_shift(4,"i"),L=me.read_shift(4,"i"),ue=me.read_shift(4,"i"),V=me.read_shift(4,"i");for(var ae=-1,Ee=0;Ee<109&&(ae=me.read_shift(4,"i"),!(ae<0));++Ee)de[Ee]=ae;var Ge=f(_,k);p(ue,V,Ge,k,de);var ft=y(Ge,he,de,k);ft[he].name="!Directory",L>0&&ve!==oe&&(ft[ve].name="!MiniFAT"),ft[de[0]].name="!FAT",ft.fat_addrs=de,ft.ssz=k;var lt={},nr=[],Qt=[],To=[];C(he,ft,Ge,nr,L,lt,Qt,ve),g(Qt,To,nr),nr.shift();var Ca={FileIndex:Qt,FullPaths:To};return F&&F.raw&&(Ca.raw={header:H,sectors:Ge}),Ca}function h(_){if(_[_.l]==80&&_[_.l+1]==75)return[0,0];_.chk(Ce,"Header Signature: "),_.l+=16;var F=_.read_shift(2,"u");return[_.read_shift(2,"u"),F]}function d(_,F){var P=9;switch(_.l+=2,P=_.read_shift(2)){case 9:if(F!=3)throw new Error("Sector Shift: Expected 9 saw "+P);break;case 12:if(F!=4)throw new Error("Sector Shift: Expected 12 saw "+P);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+P)}_.chk("0600","Mini Sector Shift: "),_.chk("000000000000","Reserved: ")}function f(_,F){for(var P=Math.ceil(_.length/F)-1,k=[],L=1;L0&&he>=0;)V.push(F.slice(he*U,he*U+U)),L-=U,he=ic(P,he*4);return V.length===0?$r(0):Ya(V).slice(0,_.size)}function p(_,F,P,k,L){var V=oe;if(_===oe){if(F!==0)throw new Error("DIFAT chain shorter than expected")}else if(_!==-1){var he=P[_],ve=(k>>>2)-1;if(!he)return;for(var ue=0;ue=0;){L[ue]=!0,V[V.length]=ue,he.push(_[ue]);var me=P[Math.floor(ue*4/k)];if(de=ue*4&ve,k<4+de)throw new Error("FAT boundary crossed: "+ue+" 4 "+k);if(!_[me])break;ue=ic(_[me],de)}return{nodes:V,data:VR([he])}}function y(_,F,P,k){var L=_.length,V=[],he=[],ve=[],ue=[],de=k-1,me=0,ge=0,H=0,ce=0;for(me=0;me=L&&(H-=L),!he[H]){ue=[];var ae=[];for(ge=H;ge>=0;){ae[ge]=!0,he[ge]=!0,ve[ve.length]=ge,ue.push(_[ge]);var Ee=P[Math.floor(ge*4/k)];if(ce=ge*4&de,k<4+ce)throw new Error("FAT boundary crossed: "+ge+" 4 "+k);if(!_[Ee]||(ge=ic(_[Ee],ce),ae[ge]))break}V[H]={nodes:ve,data:VR([ue])}}return V}function C(_,F,P,k,L,V,he,ve){for(var ue=0,de=k.length?2:0,me=F[_].data,ge=0,H=0,ce;ge0&&ue!==oe&&(F[ue].name="!StreamData")):Ee.size>=4096?(Ee.storage="fat",F[Ee.start]===void 0&&(F[Ee.start]=S(P,Ee.start,F.fat_addrs,F.ssz)),F[Ee.start].name=Ee.name,Ee.content=F[Ee.start].data.slice(0,Ee.size)):(Ee.storage="minifat",Ee.size<0?Ee.size=0:ue!==oe&&Ee.start!==oe&&F[ue]&&(Ee.content=m(Ee,F[ue].data,(F[ve]||{}).data))),Ee.content&&nn(Ee.content,0),V[ce]=Ee,he.push(Ee)}}function E(_,F){return new Date((pi(_,F+4)/1e7*Math.pow(2,32)+pi(_,F)/1e7-11644473600)*1e3)}function A(_,F){return c(),u(l.readFileSync(_),F)}function O(_,F){var P=F&&F.type;switch(P||yt&&Buffer.isBuffer(_)&&(P="buffer"),P||"base64"){case"file":return A(_,F);case"base64":return u(ps(Ci(_)),F);case"binary":return u(ps(_),F)}return u(_,F)}function T(_,F){var P=F||{},k=P.root||"Root Entry";if(_.FullPaths||(_.FullPaths=[]),_.FileIndex||(_.FileIndex=[]),_.FullPaths.length!==_.FileIndex.length)throw new Error("inconsistent CFB structure");_.FullPaths.length===0&&(_.FullPaths[0]=k+"/",_.FileIndex[0]={name:k,type:5}),P.CLSID&&(_.FileIndex[0].clsid=P.CLSID),W(_)}function W(_){var F="Sh33tJ5";if(!Et.find(_,"/"+F)){var P=$r(4);P[0]=55,P[1]=P[3]=50,P[2]=54,_.FileIndex.push({name:F,type:2,content:P,size:4,L:69,R:69,C:69}),_.FullPaths.push(_.FullPaths[0]+F),I(_)}}function I(_,F){T(_);for(var P=!1,k=!1,L=_.FullPaths.length-1;L>=0;--L){var V=_.FileIndex[L];switch(V.type){case 0:k?P=!0:(_.FileIndex.pop(),_.FullPaths.pop());break;case 1:case 2:case 5:k=!0,isNaN(V.R*V.L*V.C)&&(P=!0),V.R>-1&&V.L>-1&&V.R==V.L&&(P=!0);break;default:P=!0;break}}if(!(!P&&!F)){var he=new Date(1987,1,19),ve=0,ue=Object.create?Object.create(null):{},de=[];for(L=0;L<_.FullPaths.length;++L)ue[_.FullPaths[L]]=!0,_.FileIndex[L].type!==0&&de.push([_.FullPaths[L],_.FileIndex[L]]);for(L=0;L1?1:-1,ge.size=0,ge.type=5;else if(H.slice(-1)=="/"){for(ve=L+1;ve=de.length?-1:ve,ve=L+1;ve=de.length?-1:ve,ge.type=1}else n(_.FullPaths[L+1]||"")==n(H)&&(ge.R=L+1),ge.type=2}}}function Y(_,F){var P=F||{};if(P.fileType=="mad")return Mg(_,P);switch(I(_),P.fileType){case"zip":return Sl(_,P)}var k=function(ce){for(var ae=0,Ee=0,Ge=0;Ge0&&(lt<4096?ae+=lt+63>>6:Ee+=lt+511>>9)}}for(var nr=ce.FullPaths.length+3>>2,Qt=ae+7>>3,To=ae+127>>7,Ca=Qt+Ee+nr+To,Sa=Ca+127>>7,iv=Sa<=109?0:Math.ceil((Sa-109)/127);Ca+Sa+iv+127>>7>Sa;)iv=++Sa<=109?0:Math.ceil((Sa-109)/127);var _o=[1,iv,Sa,To,nr,Ee,ae,0];return ce.FileIndex[0].size=ae<<6,_o[7]=(ce.FileIndex[0].start=_o[0]+_o[1]+_o[2]+_o[3]+_o[4]+_o[5])+(_o[6]+7>>3),_o}(_),L=$r(k[7]<<9),V=0,he=0;{for(V=0;V<8;++V)L.write_shift(1,pe[V]);for(V=0;V<8;++V)L.write_shift(2,0);for(L.write_shift(2,62),L.write_shift(2,3),L.write_shift(2,65534),L.write_shift(2,9),L.write_shift(2,6),V=0;V<3;++V)L.write_shift(2,0);for(L.write_shift(4,0),L.write_shift(4,k[2]),L.write_shift(4,k[0]+k[1]+k[2]+k[3]-1),L.write_shift(4,0),L.write_shift(4,4096),L.write_shift(4,k[3]?k[0]+k[1]+k[2]-1:oe),L.write_shift(4,k[3]),L.write_shift(-4,k[1]?k[0]-1:oe),L.write_shift(4,k[1]),V=0;V<109;++V)L.write_shift(-4,V>9)));for(ve(k[6]+7>>3);L.l&511;)L.write_shift(-4,Se.ENDOFCHAIN);for(he=V=0,ue=0;ue<_.FileIndex.length;++ue)me=_.FileIndex[ue],me.content&&(de=me.content.length,!(!de||de>=4096)&&(me.start=he,ve(de+63>>6)));for(;L.l&511;)L.write_shift(-4,Se.ENDOFCHAIN);for(V=0;V=4096)if(L.l=me.start+1<<9,yt&&Buffer.isBuffer(me.content))me.content.copy(L,L.l,0,me.size),L.l+=me.size+511&-512;else{for(ue=0;ue0&&me.size<4096)if(yt&&Buffer.isBuffer(me.content))me.content.copy(L,L.l,0,me.size),L.l+=me.size+63&-64;else{for(ue=0;ue>16|F>>8|F)&255}for(var fe=typeof Uint8Array<"u",le=fe?new Uint8Array(256):[],we=0;we<256;++we)le[we]=ne(we);function N(_,F){var P=le[_&255];return F<=8?P>>>8-F:(P=P<<8|le[_>>8&255],F<=16?P>>>16-F:(P=P<<8|le[_>>16&255],P>>>24-F))}function Fe(_,F){var P=F&7,k=F>>>3;return(_[k]|(P<=6?0:_[k+1]<<8))>>>P&3}function ie(_,F){var P=F&7,k=F>>>3;return(_[k]|(P<=5?0:_[k+1]<<8))>>>P&7}function Be(_,F){var P=F&7,k=F>>>3;return(_[k]|(P<=4?0:_[k+1]<<8))>>>P&15}function Ie(_,F){var P=F&7,k=F>>>3;return(_[k]|(P<=3?0:_[k+1]<<8))>>>P&31}function xe(_,F){var P=F&7,k=F>>>3;return(_[k]|(P<=1?0:_[k+1]<<8))>>>P&127}function Ye(_,F,P){var k=F&7,L=F>>>3,V=(1<>>k;return P<8-k||(he|=_[L+1]<<8-k,P<16-k)||(he|=_[L+2]<<16-k,P<24-k)||(he|=_[L+3]<<24-k),he&V}function Ve(_,F,P){var k=F&7,L=F>>>3;return k<=5?_[L]|=(P&7)<>8-k),F+3}function M(_,F,P){var k=F&7,L=F>>>3;return P=(P&1)<>>3;return P<<=k,_[L]|=P&255,P>>>=8,_[L+1]=P,F+8}function G(_,F,P){var k=F&7,L=F>>>3;return P<<=k,_[L]|=P&255,P>>>=8,_[L+1]=P&255,_[L+2]=P>>>8,F+16}function re(_,F){var P=_.length,k=2*P>F?2*P:F+5,L=0;if(P>=F)return _;if(yt){var V=ER(k);if(_.copy)_.copy(V);else for(;L<_.length;++L)V[L]=_[L];return V}else if(fe){var he=new Uint8Array(k);if(he.set)he.set(_);else for(;L>k-ge,he=(1<=0;--he)F[ve|he<0;)ue[ue.l++]=ve[de++]}return ue.l}function he(ve,ue){for(var de=0,me=0,ge=fe?new Uint16Array(32768):[];me0;)ue[ue.l++]=ve[me++];de=ue.l*8;continue}de=Ve(ue,de,+(me+H==ve.length)+2);for(var ce=0;H-- >0;){var ae=ve[me];ce=(ce<<5^ae)&32767;var Ee=-1,Ge=0;if((Ee=ge[ce])&&(Ee|=me&-32768,Ee>me&&(Ee-=32768),Ee2){ae=L[Ge],ae<=22?de=D(ue,de,le[ae+1]>>1)-1:(D(ue,de,3),de+=5,D(ue,de,le[ae-23]>>5),de+=3);var ft=ae<8?0:ae-4>>2;ft>0&&(G(ue,de,Ge-B[ae]),de+=ft),ae=F[me-Ee],de=D(ue,de,le[ae]>>3),de-=3;var lt=ae<4?0:ae-2>>1;lt>0&&(G(ue,de,me-Ee-X[ae]),de+=lt);for(var nr=0;nr>8-ae;for(var Ee=(1<<7-ae)-1;Ee>=0;--Ee)Pe[ce|Ee<>>=3){case 16:for(V=3+Fe(_,F),F+=2,ce=Ge[Ge.length-1];V-- >0;)Ge.push(ce);break;case 17:for(V=3+ie(_,F),F+=3;V-- >0;)Ge.push(0);break;case 18:for(V=11+xe(_,F),F+=7;V-- >0;)Ge.push(0);break;default:Ge.push(ce),ue>>0,ve=0,ue=0;!(k&1);){if(k=ie(_,P),P+=3,k>>>1)k>>1==1?(ve=9,ue=5):(P=st(_,P),ve=Je,ue=vt);else{P&7&&(P+=8-(P&7));var de=_[P>>>3]|_[(P>>>3)+1]<<8;if(P+=32,de>0)for(!F&&he0;)L[V++]=_[P>>>3],P+=8;continue}for(;;){!F&&he>>1==1?J[me]:ye[me];if(P+=ge&15,ge>>>=4,!(ge>>>8&255))L[V++]=ge;else{if(ge==256)break;ge-=257;var H=ge<8?0:ge-4>>2;H>5&&(H=0);var ce=V+B[ge];H>0&&(ce+=Ye(_,P,H),P+=H),me=Ye(_,P,ue),ge=k>>>1==1?Z[me]:Me[me],P+=ge&15,ge>>>=4;var ae=ge<4?0:ge-2>>1,Ee=X[ge];for(ae>0&&(Ee+=Ye(_,P,ae),P+=ae),!F&&he>>3]:[L.slice(0,V),P+7>>>3]}function Ct(_,F){var P=_.slice(_.l||0),k=qe(P,F);return _.l+=k[1],k[0]}function Gt(_,F){if(_)typeof console<"u"&&console.error(F);else throw new Error(F)}function Ro(_,F){var P=_;nn(P,0);var k=[],L=[],V={FileIndex:k,FullPaths:L};T(V,{root:F.root});for(var he=P.length-4;(P[he]!=80||P[he+1]!=75||P[he+2]!=5||P[he+3]!=6)&&he>=0;)--he;P.l=he+4,P.l+=4;var ve=P.read_shift(2);P.l+=6;var ue=P.read_shift(4);for(P.l=ue,he=0;he0&&(P=P.slice(0,P.length-1),P=P.slice(0,P.lastIndexOf("/")+1),V.slice(0,P.length)!=P););var he=(k[1]||"").match(/boundary="(.*?)"/);if(!he)throw new Error("MAD cannot find boundary");var ve="--"+(he[1]||""),ue=[],de=[],me={FileIndex:ue,FullPaths:de};T(me);var ge,H=0;for(L=0;L=32&&ce<128&&++ge;var Ee=ge>=H*4/5;L.push(k),L.push("Content-Location: "+(P.root||"file:///C:/SheetJS/")+he),L.push("Content-Transfer-Encoding: "+(Ee?"quoted-printable":"base64")),L.push("Content-Type: "+jt(ve,he)),L.push(""),L.push(Ee?Nr(me):Er(me))}return L.push(k+`--\r `),L.join(`\r `)}function rv(_){var F={};return T(F,_),F}function va(_,F,P,k){var L=k&&k.unsafe;L||T(_);var V=!L&&Et.find(_,F);if(!V){var he=_.FullPaths[0];F.slice(0,he.length)==he?he=F:(he.slice(-1)!="/"&&(he+="/"),he=(he+F).replace("//","/")),V={name:i(F),type:2},_.FileIndex.push(V),_.FullPaths.push(he),L||Et.utils.cfb_gc(_)}return V.content=P,V.size=P?P.length:0,k&&(k.CLSID&&(V.clsid=k.CLSID),k.mt&&(V.mt=k.mt),k.ct&&(V.ct=k.ct)),V}function Th(_,F){T(_);var P=Et.find(_,F);if(P){for(var k=0;k<_.FileIndex.length;++k)if(_.FileIndex[k]==P)return _.FileIndex.splice(k,1),_.FullPaths.splice(k,1),!0}return!1}function nv(_,F,P){T(_);var k=Et.find(_,F);if(k){for(var L=0;L<_.FileIndex.length;++L)if(_.FileIndex[L]==k)return _.FileIndex[L].name=i(P),_.FullPaths[L]=P,!0}return!1}function Yn(_){I(_,!0)}return e.find=z,e.read=O,e.parse=u,e.write=Oe,e.writeFile=Ae,e.utils={cfb_new:rv,cfb_add:va,cfb_del:Th,cfb_mov:nv,cfb_gc:Yn,ReadShift:Vd,CheckField:YO,prep_blob:nn,bconcat:Ya,use_zlib:w,_deflateRaw:Q,_inflateRaw:Ct,consts:Se},e}();function fL(t){if(typeof Deno<"u")return Deno.readFileSync(t);if(typeof $<"u"&&typeof File<"u"&&typeof Folder<"u")try{var e=File(t);e.open("r"),e.encoding="binary";var r=e.read();return e.close(),r}catch(n){if(!n.message||!n.message.match(/onstruct/))throw n}throw new Error("Cannot access file "+t)}function fo(t){for(var e=Object.keys(t),r=[],n=0;n3&&(n=!0),i[s].slice(i[s].length-1)){case"Y":throw new Error("Unsupported ISO Duration Field: "+i[s].slice(i[s].length-1));case"D":r*=24;case"H":r*=60;case"M":if(n)r*=60;else throw new Error("Unsupported ISO Duration Field: M")}e+=r*parseInt(i[s],10)}return e}var DR=new Date("2017-02-19T19:06:09.000Z"),EO=isNaN(DR.getFullYear())?new Date("2/19/17"):DR,pL=EO.getFullYear()==2017;function Jr(t,e){var r=new Date(t);if(pL)return e>0?r.setTime(r.getTime()+r.getTimezoneOffset()*60*1e3):e<0&&r.setTime(r.getTime()-r.getTimezoneOffset()*60*1e3),r;if(t instanceof Date)return t;if(EO.getFullYear()==1917&&!isNaN(r.getFullYear())){var n=r.getFullYear();return t.indexOf(""+n)>-1||r.setFullYear(r.getFullYear()+100),r}var i=t.match(/\d+/g)||["2017","2","19","0","0","0"],s=new Date(+i[0],+i[1]-1,+i[2],+i[3]||0,+i[4]||0,+i[5]||0);return t.indexOf("Z")>-1&&(s=new Date(s.getTime()-s.getTimezoneOffset()*60*1e3)),s}function vc(t,e){if(yt&&Buffer.isBuffer(t)){if(e){if(t[0]==255&&t[1]==254)return Nd(t.slice(2).toString("utf16le"));if(t[1]==254&&t[2]==255)return Nd(uO(t.slice(2).toString("binary")))}return t.toString("binary")}if(typeof TextDecoder<"u")try{if(e){if(t[0]==255&&t[1]==254)return Nd(new TextDecoder("utf-16le").decode(t.slice(2)));if(t[0]==254&&t[1]==255)return Nd(new TextDecoder("utf-16be").decode(t.slice(2)))}var r={"€":"€","‚":"‚",ƒ:"ƒ","„":"„","…":"…","†":"†","‡":"‡","ˆ":"ˆ","‰":"‰",Š:"Š","‹":"‹",Œ:"Œ",Ž:"Ž","‘":"‘","’":"’","“":"“","”":"”","•":"•","–":"–","—":"—","˜":"˜","™":"™",š:"š","›":"›",œ:"œ",ž:"ž",Ÿ:"Ÿ"};return Array.isArray(t)&&(t=new Uint8Array(t)),new TextDecoder("latin1").decode(t).replace(/[€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ]/g,function(s){return r[s]||s})}catch{}for(var n=[],i=0;i!=t.length;++i)n.push(String.fromCharCode(t[i]));return n.join("")}function sn(t){if(typeof JSON<"u"&&!Array.isArray(t))return JSON.parse(JSON.stringify(t));if(typeof t!="object"||t==null)return t;if(t instanceof Date)return new Date(t.getTime());var e={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=sn(t[r]));return e}function xr(t,e){for(var r="";r.length3&&wL.indexOf(o)==-1)return r}else if(o.match(/[a-z]/))return r;return n<0||n>8099?r:(i>0||s>1)&&n!=101?e:t.match(/[^-0-9:,\/\\]/)?r:e}var vL=function(){var t="abacaba".split(/(:?b)/i).length==5;return function(r,n,i){if(t||typeof n=="string")return r.split(n);for(var s=r.split(n),o=[s[0]],a=1;a\r `,yL=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g,NR=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/mg,bL=/<[^>]*>/g,yn=AO.match(NR)?NR:bL,EL=/<\w*:/,RL=/<(\/?)\w+:/;function Qe(t,e,r){for(var n={},i=0,s=0;i!==t.length&&!((s=t.charCodeAt(i))===32||s===10||s===13);++i);if(e||(n[0]=t.slice(0,i)),i===t.length)return n;var o=t.match(yL),a=0,l="",c=0,u="",h="",d=1;if(o)for(c=0;c!=o.length;++c){for(h=o[c],s=0;s!=h.length&&h.charCodeAt(s)!==61;++s);for(u=h.slice(0,s).trim();h.charCodeAt(s+1)==32;)++s;for(d=(i=h.charCodeAt(s+1))==34||i==39?1:0,l=h.slice(s+1+d,h.length-d),a=0;a!=u.length&&u.charCodeAt(a)!==58;++a);if(a===u.length)u.indexOf("_")>0&&(u=u.slice(0,u.indexOf("_"))),n[u]=l,n[u.toLowerCase()]=l;else{var f=(a===5&&u.slice(0,5)==="xmlns"?"xmlns":"")+u.slice(a+1);if(n[f]&&u.slice(a-3,a)=="ext")continue;n[f]=l,n[f.toLowerCase()]=l}}return n}function wo(t){return t.replace(RL,"<$1")}var MO={""":'"',"'":"'",">":">","<":"<","&":"&"},TL=gx(MO),At=function(){var t=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/ig,e=/_x([\da-fA-F]{4})_/ig;return function r(n){var i=n+"",s=i.indexOf("-1?16:10))||a}).replace(e,function(a,l){return String.fromCharCode(parseInt(l,16))});var o=i.indexOf("]]>");return r(i.slice(0,s))+i.slice(s+9,o)+r(i.slice(o+3))}}(),_L=/[&<>'"]/g,AL=/[\u0000-\u001f]/g;function px(t){var e=t+"";return e.replace(_L,function(r){return TL[r]}).replace(/\n/g,"
").replace(AL,function(r){return"&#x"+("000"+r.charCodeAt(0).toString(16)).slice(-4)+";"})}var HR=function(){var t=/&#(\d+);/g;function e(r,n){return String.fromCharCode(parseInt(n,10))}return function(n){return n.replace(t,e)}}();function ar(t){switch(t){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}function ov(t){for(var e="",r=0,n=0,i=0,s=0,o=0,a=0;r191&&n<224){o=(n&31)<<6,o|=i&63,e+=String.fromCharCode(o);continue}if(s=t.charCodeAt(r++),n<240){e+=String.fromCharCode((n&15)<<12|(i&63)<<6|s&63);continue}o=t.charCodeAt(r++),a=((n&7)<<18|(i&63)<<12|(s&63)<<6|o&63)-65536,e+=String.fromCharCode(55296+(a>>>10&1023)),e+=String.fromCharCode(56320+(a&1023))}return e}function FR(t){var e=cl(2*t.length),r,n,i=1,s=0,o=0,a;for(n=0;n>>10&1023),r=56320+(r&1023)),o!==0&&(e[s++]=o&255,e[s++]=o>>>8,o=0),e[s++]=r%256,e[s++]=r>>>8;return e.slice(0,s).toString("ucs2")}function LR(t){return Ic(t,"binary").toString("utf8")}var Fg="foo bar baz☃🍣",Jt=yt&&(LR(Fg)==ov(Fg)&&LR||FR(Fg)==ov(Fg)&&FR)||ov,Nd=yt?function(t){return Ic(t,"utf8").toString("binary")}:function(t){for(var e=[],r=0,n=0,i=0;r>6))),e.push(String.fromCharCode(128+(n&63)));break;case(n>=55296&&n<57344):n-=55296,i=t.charCodeAt(r++)-56320+(n<<10),e.push(String.fromCharCode(240+(i>>18&7))),e.push(String.fromCharCode(144+(i>>12&63))),e.push(String.fromCharCode(128+(i>>6&63))),e.push(String.fromCharCode(128+(i&63)));break;default:e.push(String.fromCharCode(224+(n>>12))),e.push(String.fromCharCode(128+(n>>6&63))),e.push(String.fromCharCode(128+(n&63)))}return e.join("")},yf=function(){var t={};return function(r,n){var i=r+"|"+(n||"");return t[i]?t[i]:t[i]=new RegExp("<(?:\\w+:)?"+r+'(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)",n||"")}}(),IO=function(){var t=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map(function(e){return[new RegExp("&"+e[0]+";","ig"),e[1]]});return function(r){for(var n=r.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+/g,` `).replace(/<[^>]*>/g,""),i=0;i([\\s\\S]*?)","g")}}(),IL=/<\/?(?:vt:)?variant>/g,OL=/<(?:vt:)([^>]*)>([\s\S]*)"+e+""}function wx(t){if(yt&&Buffer.isBuffer(t))return t.toString("utf8");if(typeof t=="string")return t;if(typeof Uint8Array<"u"&&t instanceof Uint8Array)return Jt(Oc(hx(t)));throw new Error("Bad input format: expected Buffer or string")}var bf=/<(\/?)([^\s?>:\/]+)(?:[\s?:\/][^>]*)?>/mg,NL={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"},HL=["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"];function FL(t,e){for(var r=1-2*(t[e+7]>>>7),n=((t[e+7]&127)<<4)+(t[e+6]>>>4&15),i=t[e+6]&15,s=5;s>=0;--s)i=i*256+t[e+s];return n==2047?i==0?r*(1/0):NaN:(n==0?n=-1022:(n-=1023,i+=Math.pow(2,52)),r*Math.pow(2,n-52)*i)}function LL(t,e,r){var n=(e<0||1/e==-1/0?1:0)<<7,i=0,s=0,o=n?-e:e;isFinite(o)?o==0?i=s=0:(i=Math.floor(Math.log(o)/Math.LN2),s=o*Math.pow(2,52-i),i<=-1023&&(!isFinite(s)||s>4|n}var BR=function(t){for(var e=[],r=10240,n=0;n0&&Buffer.isBuffer(t[0][0])?Buffer.concat(t[0].map(function(e){return Buffer.isBuffer(e)?e:Ic(e)})):BR(t)}:BR,WR=function(t,e,r){for(var n=[],i=e;i0?Kf(t,e+4,e+4+r-1):""},DO=PO,kO=function(t,e){var r=pi(t,e);return r>0?Kf(t,e+4,e+4+r-1):""},NO=kO,HO=function(t,e){var r=2*pi(t,e);return r>0?Kf(t,e+4,e+4+r-1):""},FO=HO,LO=function(e,r){var n=pi(e,r);return n>0?vx(e,r+4,r+4+n):""},$O=LO,BO=function(t,e){var r=pi(t,e);return r>0?Kf(t,e+4,e+4+r):""},VO=BO,WO=function(t,e){return FL(t,e)},ep=WO,UO=function(e){return Array.isArray(e)||typeof Uint8Array<"u"&&e instanceof Uint8Array};yt&&(DO=function(e,r){if(!Buffer.isBuffer(e))return PO(e,r);var n=e.readUInt32LE(r);return n>0?e.toString("utf8",r+4,r+4+n-1):""},NO=function(e,r){if(!Buffer.isBuffer(e))return kO(e,r);var n=e.readUInt32LE(r);return n>0?e.toString("utf8",r+4,r+4+n-1):""},FO=function(e,r){if(!Buffer.isBuffer(e))return HO(e,r);var n=2*e.readUInt32LE(r);return e.toString("utf16le",r+4,r+4+n-1)},$O=function(e,r){if(!Buffer.isBuffer(e))return LO(e,r);var n=e.readUInt32LE(r);return e.toString("utf16le",r+4,r+4+n)},VO=function(e,r){if(!Buffer.isBuffer(e))return BO(e,r);var n=e.readUInt32LE(r);return e.toString("utf8",r+4,r+4+n)},ep=function(e,r){return Buffer.isBuffer(e)?e.readDoubleLE(r):WO(e,r)},UO=function(e){return Buffer.isBuffer(e)||Array.isArray(e)||typeof Uint8Array<"u"&&e instanceof Uint8Array});var Iu=function(t,e){return t[e]},jo=function(t,e){return t[e+1]*256+t[e]},$L=function(t,e){var r=t[e+1]*256+t[e];return r<32768?r:(65535-r+1)*-1},pi=function(t,e){return t[e+3]*(1<<24)+(t[e+2]<<16)+(t[e+1]<<8)+t[e]},ic=function(t,e){return t[e+3]<<24|t[e+2]<<16|t[e+1]<<8|t[e]},BL=function(t,e){return t[e]<<24|t[e+1]<<16|t[e+2]<<8|t[e+3]};function Vd(t,e){var r="",n,i,s=[],o,a,l,c;switch(e){case"dbcs":if(c=this.l,yt&&Buffer.isBuffer(this))r=this.slice(this.l,this.l+2*t).toString("utf16le");else for(l=0;l0?ic:BL)(this,this.l),this.l+=4,n):(i=pi(this,this.l),this.l+=4,i);case 8:case-8:if(e==="f")return t==8?i=ep(this,this.l):i=ep([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,i;t=8;case 16:r=OO(this,this.l,t);break}}return this.l+=t,r}var VL=function(t,e,r){t[r]=e&255,t[r+1]=e>>>8&255,t[r+2]=e>>>16&255,t[r+3]=e>>>24&255},WL=function(t,e,r){t[r]=e&255,t[r+1]=e>>8&255,t[r+2]=e>>16&255,t[r+3]=e>>24&255},UL=function(t,e,r){t[r]=e&255,t[r+1]=e>>>8&255};function YL(t,e,r){var n=0,i=0;if(r==="dbcs"){for(i=0;i!=e.length;++i)UL(this,e.charCodeAt(i),this.l+2*i);n=2*e.length}else if(r==="sbcs"){for(e=e.replace(/[^\x00-\x7F]/g,"_"),i=0;i!=e.length;++i)this[this.l+i]=e.charCodeAt(i)&255;n=e.length}else if(r==="hex"){for(;i>8}for(;this.l>>=8,this[this.l+1]=e&255;break;case 3:n=3,this[this.l]=e&255,e>>>=8,this[this.l+1]=e&255,e>>>=8,this[this.l+2]=e&255;break;case 4:n=4,VL(this,e,this.l);break;case 8:if(n=8,r==="f"){LL(this,e,this.l);break}case 16:break;case-4:n=4,WL(this,e,this.l);break}return this.l+=n,this}function YO(t,e){var r=OO(this,this.l,t.length>>1);if(r!==t)throw new Error(e+"Expected "+t+" saw "+r);this.l+=t.length>>1}function nn(t,e){t.l=e,t.read_shift=Vd,t.chk=YO,t.write_shift=YL}function xn(t,e){t.l+=e}function $r(t){var e=cl(t);return nn(e,0),e}function ca(t,e,r){if(t){var n,i,s;nn(t,t.l||0);for(var o=t.length,a=0,l=0;t.ln.l&&(n=n.slice(0,n.l),n.l=n.length),n.length>0&&t.push(n),n=null)},s=function(c){return n&&c=256;)n.c-=256;for(;n.r>=65536;)n.r-=65536}return n}function zR(t,e,r){var n=sn(t);return n.s=Wd(n.s,e.s,r),n.e=Wd(n.e,e.s,r),n}function Ud(t,e){if(t.cRel&&t.c<0)for(t=sn(t);t.c<0;)t.c+=e>8?16384:256;if(t.rRel&&t.r<0)for(t=sn(t);t.r<0;)t.r+=e>8?1048576:e>5?65536:16384;var r=nt(t);return!t.cRel&&t.cRel!=null&&(r=jL(r)),!t.rRel&&t.rRel!=null&&(r=zL(r)),r}function av(t,e){return t.s.r==0&&!t.s.rRel&&t.e.r==(e.biff>=12?1048575:e.biff>=8?65536:16384)&&!t.e.rRel?(t.s.cRel?"":"$")+Br(t.s.c)+":"+(t.e.cRel?"":"$")+Br(t.e.c):t.s.c==0&&!t.s.cRel&&t.e.c==(e.biff>=12?16383:255)&&!t.e.cRel?(t.s.rRel?"":"$")+on(t.s.r)+":"+(t.e.rRel?"":"$")+on(t.e.r):Ud(t.s,e.biff)+":"+Ud(t.e,e.biff)}function Cx(t){return parseInt(GL(t),10)-1}function on(t){return""+(t+1)}function zL(t){return t.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}function GL(t){return t.replace(/\$(\d+)$/,"$1")}function Sx(t){for(var e=KL(t),r=0,n=0;n!==e.length;++n)r=26*r+e.charCodeAt(n)-64;return r-1}function Br(t){if(t<0)throw new Error("invalid column "+t);var e="";for(++t;t;t=Math.floor((t-1)/26))e=String.fromCharCode((t-1)%26+65)+e;return e}function jL(t){return t.replace(/^([A-Z])/,"$$$1")}function KL(t){return t.replace(/^\$([A-Z])/,"$1")}function XL(t){return t.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function Fn(t){for(var e=0,r=0,n=0;n=48&&i<=57?e=10*e+(i-48):i>=65&&i<=90&&(r=26*r+(i-64))}return{c:r-1,r:e-1}}function nt(t){for(var e=t.c+1,r="";e;e=(e-1)/26|0)r=String.fromCharCode((e-1)%26+65)+r;return r+(t.r+1)}function hh(t){var e=t.indexOf(":");return e==-1?{s:Fn(t),e:Fn(t)}:{s:Fn(t.slice(0,e)),e:Fn(t.slice(e+1))}}function Rt(t,e){return typeof e>"u"||typeof e=="number"?Rt(t.s,t.e):(typeof t!="string"&&(t=nt(t)),typeof e!="string"&&(e=nt(e)),t==e?t:t+":"+e)}function br(t){var e={s:{c:0,r:0},e:{c:0,r:0}},r=0,n=0,i=0,s=t.length;for(r=0;n26);++n)r=26*r+i;for(e.s.c=--r,r=0;n9);++n)r=10*r+i;if(e.s.r=--r,n===s||i!=10)return e.e.c=e.s.c,e.e.r=e.s.r,e;for(++n,r=0;n!=s&&!((i=t.charCodeAt(n)-64)<1||i>26);++n)r=26*r+i;for(e.e.c=--r,r=0;n!=s&&!((i=t.charCodeAt(n)-48)<0||i>9);++n)r=10*r+i;return e.e.r=--r,e}function GR(t,e){var r=t.t=="d"&&e instanceof Date;if(t.z!=null)try{return t.w=Ui(t.z,r?$n(e):e)}catch{}try{return t.w=Ui((t.XF||{}).numFmtId||(r?14:0),r?$n(e):e)}catch{return""+e}}function sa(t,e,r){return t==null||t.t==null||t.t=="z"?"":t.w!==void 0?t.w:(t.t=="d"&&!t.z&&r&&r.dateNF&&(t.z=r.dateNF),t.t=="e"?kc[t.v]||t.v:e==null?GR(t,t.v):GR(t,e))}function gl(t,e){var r=e&&e.sheet?e.sheet:"Sheet1",n={};return n[r]=t,{SheetNames:[r],Sheets:n}}function zO(t,e,r){var n=r||{},i=t?Array.isArray(t):n.dense,s=t||(i?[]:{}),o=0,a=0;if(s&&n.origin!=null){if(typeof n.origin=="number")o=n.origin;else{var l=typeof n.origin=="string"?Fn(n.origin):n.origin;o=l.r,a=l.c}s["!ref"]||(s["!ref"]="A1:A1")}var c={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(s["!ref"]){var u=br(s["!ref"]);c.s.c=u.s.c,c.s.r=u.s.r,c.e.c=Math.max(c.e.c,u.e.c),c.e.r=Math.max(c.e.r,u.e.r),o==-1&&(c.e.r=o=u.e.r+1)}for(var h=0;h!=e.length;++h)if(e[h]){if(!Array.isArray(e[h]))throw new Error("aoa_to_sheet expects an array of arrays");for(var d=0;d!=e[h].length;++d)if(!(typeof e[h][d]>"u")){var f={v:e[h][d]},g=o+h,m=a+d;if(c.s.r>g&&(c.s.r=g),c.s.c>m&&(c.s.c=m),c.e.r>2;return r?i/100:i}function GO(t){var e={s:{},e:{}};return e.s.r=t.read_shift(4),e.e.r=t.read_shift(4),e.s.c=t.read_shift(4),e.e.c=t.read_shift(4),e}var Dc=GO;function wn(t){if(t.length-t.l<8)throw"XLS Xnum Buffer underflow";return t.read_shift(8,"f")}function t$(t){var e={},r=t.read_shift(1),n=r>>>1,i=t.read_shift(1),s=t.read_shift(2,"i"),o=t.read_shift(1),a=t.read_shift(1),l=t.read_shift(1);switch(t.l++,n){case 0:e.auto=1;break;case 1:e.index=i;var c=gc[i];c&&(e.rgb=Rf(c));break;case 2:e.rgb=Rf([o,a,l]);break;case 3:e.theme=i;break}return s!=0&&(e.tint=s>0?s/32767:s/32768),e}function r$(t){var e=t.read_shift(1);t.l++;var r={fBold:e&1,fItalic:e&2,fUnderline:e&4,fStrikeout:e&8,fOutline:e&16,fShadow:e&32,fCondense:e&64,fExtend:e&128};return r}function jO(t,e){var r={2:"BITMAP",3:"METAFILEPICT",8:"DIB",14:"ENHMETAFILE"},n=t.read_shift(4);switch(n){case 0:return"";case 4294967295:case 4294967294:return r[t.read_shift(4)]||""}if(n>400)throw new Error("Unsupported Clipboard: "+n.toString(16));return t.l-=4,t.read_shift(0,e==1?"lpstr":"lpwstr")}function n$(t){return jO(t,1)}function i$(t){return jO(t,2)}var Ex=2,ei=3,Lg=11,jR=12,tp=19,$g=64,s$=65,o$=71,a$=4108,l$=4126,Xr=80,KO=81,c$=[Xr,KO],u$={1:{n:"CodePage",t:Ex},2:{n:"Category",t:Xr},3:{n:"PresentationFormat",t:Xr},4:{n:"ByteCount",t:ei},5:{n:"LineCount",t:ei},6:{n:"ParagraphCount",t:ei},7:{n:"SlideCount",t:ei},8:{n:"NoteCount",t:ei},9:{n:"HiddenCount",t:ei},10:{n:"MultimediaClipCount",t:ei},11:{n:"ScaleCrop",t:Lg},12:{n:"HeadingPairs",t:a$},13:{n:"TitlesOfParts",t:l$},14:{n:"Manager",t:Xr},15:{n:"Company",t:Xr},16:{n:"LinksUpToDate",t:Lg},17:{n:"CharacterCount",t:ei},19:{n:"SharedDoc",t:Lg},22:{n:"HyperlinksChanged",t:Lg},23:{n:"AppVersion",t:ei,p:"version"},24:{n:"DigSig",t:s$},26:{n:"ContentType",t:Xr},27:{n:"ContentStatus",t:Xr},28:{n:"Language",t:Xr},29:{n:"Version",t:Xr},255:{},2147483648:{n:"Locale",t:tp},2147483651:{n:"Behavior",t:tp},1919054434:{}},h$={1:{n:"CodePage",t:Ex},2:{n:"Title",t:Xr},3:{n:"Subject",t:Xr},4:{n:"Author",t:Xr},5:{n:"Keywords",t:Xr},6:{n:"Comments",t:Xr},7:{n:"Template",t:Xr},8:{n:"LastAuthor",t:Xr},9:{n:"RevNumber",t:Xr},10:{n:"EditTime",t:$g},11:{n:"LastPrinted",t:$g},12:{n:"CreatedDate",t:$g},13:{n:"ModifiedDate",t:$g},14:{n:"PageCount",t:ei},15:{n:"WordCount",t:ei},16:{n:"CharCount",t:ei},17:{n:"Thumbnail",t:o$},18:{n:"Application",t:Xr},19:{n:"DocSecurity",t:ei},255:{},2147483648:{n:"Locale",t:tp},2147483651:{n:"Behavior",t:tp},1919054434:{}},KR={1:"US",2:"CA",3:"",7:"RU",20:"EG",30:"GR",31:"NL",32:"BE",33:"FR",34:"ES",36:"HU",39:"IT",41:"CH",43:"AT",44:"GB",45:"DK",46:"SE",47:"NO",48:"PL",49:"DE",52:"MX",55:"BR",61:"AU",64:"NZ",66:"TH",81:"JP",82:"KR",84:"VN",86:"CN",90:"TR",105:"JS",213:"DZ",216:"MA",218:"LY",351:"PT",354:"IS",358:"FI",420:"CZ",886:"TW",961:"LB",962:"JO",963:"SY",964:"IQ",965:"KW",966:"SA",971:"AE",972:"IL",974:"QA",981:"IR",65535:"US"},d$=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];function f$(t){return t.map(function(e){return[e>>16&255,e>>8&255,e&255]})}var g$=f$([0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),gc=sn(g$),kc={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},XO={"#NULL!":0,"#DIV/0!":7,"#VALUE!":15,"#REF!":23,"#NAME?":29,"#NUM!":36,"#N/A":42,"#GETTING_DATA":43,"#WTF?":255},XR={"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"};function m$(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""}}function p$(t){var e=m$();if(!t||!t.match)return e;var r={};if((t.match(yn)||[]).forEach(function(n){var i=Qe(n);switch(i[0].replace(EL,"<")){case"0?e.calcchains[0]:"",e.sst=e.strs.length>0?e.strs[0]:"",e.style=e.styles.length>0?e.styles[0]:"",e.defaults=r,delete e.calcchains,e}var Hu={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 Y1(t){var e=t.lastIndexOf("/");return t.slice(0,e+1)+"_rels/"+t.slice(e+1)+".rels"}function Yd(t,e){var r={"!id":{}};if(!t)return r;e.charAt(0)!=="/"&&(e="/"+e);var n={};return(t.match(yn)||[]).forEach(function(i){var s=Qe(i);if(s[0]==="]*>([\\s\\S]*?)")}return t}();function qO(t){var e={};t=Jt(t);for(var r=0;r0&&(e[n[1]]=At(i[1])),n[2]==="date"&&e[n[1]]&&(e[n[1]]=Jr(e[n[1]]))}return e}var S$=[["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 ZO(t,e,r,n){var i=[];if(typeof t=="string")i=$R(t,n);else for(var s=0;s0)for(var c=0;c!==i.length;c+=2){switch(l=+i[c+1].v,i[c].v){case"Worksheets":case"工作表":case"Листы":case"أوراق العمل":case"ワークシート":case"גליונות עבודה":case"Arbeitsblätter":case"Çalışma Sayfaları":case"Feuilles de calcul":case"Fogli di lavoro":case"Folhas de cálculo":case"Planilhas":case"Regneark":case"Hojas de cálculo":case"Werkbladen":r.Worksheets=l,r.SheetNames=o.slice(a,a+l);break;case"Named Ranges":case"Rangos con nombre":case"名前付き一覧":case"Benannte Bereiche":case"Navngivne områder":r.NamedRanges=l,r.DefinedNames=o.slice(a,a+l);break;case"Charts":case"Diagramme":r.Chartsheets=l,r.ChartNames=o.slice(a,a+l);break}a+=l}}function x$(t,e,r){var n={};return e||(e={}),t=Jt(t),S$.forEach(function(i){var s=(t.match(yf(i[0]))||[])[1];switch(i[2]){case"string":s&&(e[i[1]]=At(s));break;case"bool":e[i[1]]=s==="true";break;case"raw":var o=t.match(new RegExp("<"+i[0]+"[^>]*>([\\s\\S]*?)"));o&&o.length>0&&(n[i[1]]=o[1]);break}}),n.HeadingPairs&&n.TitlesOfParts&&ZO(n.HeadingPairs,n.TitlesOfParts,e,r),e}var y$=/<[^>]+>[^<]*/g;function b$(t,e){var r={},n="",i=t.match(y$);if(i)for(var s=0;s!=i.length;++s){var o=i[s],a=Qe(o);switch(a[0]){case"":n=null;break;default:if(o.indexOf(""),c=l[0].slice(4),u=l[1];switch(c){case"lpstr":case"bstr":case"lpwstr":r[n]=At(u);break;case"bool":r[n]=ar(u);break;case"i1":case"i2":case"i4":case"i8":case"int":case"uint":r[n]=parseInt(u,10);break;case"r4":case"r8":case"decimal":r[n]=parseFloat(u);break;case"filetime":case"date":r[n]=Jr(u);break;case"cy":case"error":r[n]=At(u);break;default:if(c.slice(-1)=="/")break;e.WTF&&typeof console<"u"&&console.warn("Unexpected",o,c,l)}}else if(o.slice(0,2)!==">3<<2),n}function tP(t){var e=t.read_shift(4),r=t.slice(t.l,t.l+e);return t.l+=e,(e&3)>0&&(t.l+=4-(e&3)&3),r}function O$(t){var e={};return e.Size=t.read_shift(4),t.l+=e.Size+3-(e.Size-1)%4,e}function rp(t,e,r){var n=t.read_shift(2),i,s=r||{};if(t.l+=2,e!==jR&&n!==e&&c$.indexOf(e)===-1&&!((e&65534)==4126&&(n&65534)==4126))throw new Error("Expected type "+e+" saw "+n);switch(e===jR?n:e){case 2:return i=t.read_shift(2,"i"),s.raw||(t.l+=2),i;case 3:return i=t.read_shift(4,"i"),i;case 11:return t.read_shift(4)!==0;case 19:return i=t.read_shift(4),i;case 30:return JO(t,n,4).replace(Ln,"");case 31:return QO(t);case 64:return Rx(t);case 65:return tP(t);case 71:return O$(t);case 80:return z1(t,n,!s.raw).replace(Ln,"");case 81:return T$(t,n).replace(Ln,"");case 4108:return I$(t);case 4126:case 4127:return n==4127?_$(t):A$(t);default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+n)}}function ZR(t,e){var r=t.l,n=t.read_shift(4),i=t.read_shift(4),s=[],o=0,a=0,l=-1,c={};for(o=0;o!=i;++o){var u=t.read_shift(4),h=t.read_shift(4);s[o]=[u,h+r]}s.sort(function(y,C){return y[1]-C[1]});var d={};for(o=0;o!=i;++o){if(t.l!==s[o][1]){var f=!0;if(o>0&&e)switch(e[s[o-1][0]].t){case 2:t.l+2===s[o][1]&&(t.l+=2,f=!1);break;case 80:t.l<=s[o][1]&&(t.l=s[o][1],f=!1);break;case 4108:t.l<=s[o][1]&&(t.l=s[o][1],f=!1);break}if((!e||o==0)&&t.l<=s[o][1]&&(f=!1,t.l=s[o][1]),f)throw new Error("Read Error: Expected address "+s[o][1]+" at "+t.l+" :"+o)}if(e){var g=e[s[o][0]];if(d[g.n]=rp(t,g.t,{raw:!0}),g.p==="version"&&(d[g.n]=String(d[g.n]>>16)+"."+("0000"+String(d[g.n]&65535)).slice(-4)),g.n=="CodePage")switch(d[g.n]){case 0:d[g.n]=1252;case 874:case 932:case 936:case 949:case 950:case 1250:case 1251:case 1253:case 1254:case 1255:case 1256:case 1257:case 1258:case 1e4:case 1200:case 1201:case 1252:case 65e3:case-536:case 65001:case-535:ws(a=d[g.n]>>>0&65535);break;default:throw new Error("Unsupported CodePage: "+d[g.n])}}else if(s[o][0]===1){if(a=d.CodePage=rp(t,Ex),ws(a),l!==-1){var m=t.l;t.l=s[l][1],c=qR(t,a),t.l=m}}else if(s[o][0]===0){if(a===0){l=o,t.l=s[o+1][1];continue}c=qR(t,a)}else{var p=c[s[o][0]],S;switch(t[t.l]){case 65:t.l+=4,S=tP(t);break;case 30:t.l+=4,S=z1(t,t[t.l-4]).replace(/\u0000+$/,"");break;case 31:t.l+=4,S=z1(t,t[t.l-4]).replace(/\u0000+$/,"");break;case 3:t.l+=4,S=t.read_shift(4,"i");break;case 19:t.l+=4,S=t.read_shift(4);break;case 5:t.l+=4,S=t.read_shift(8,"f");break;case 11:t.l+=4,S=Tr(t,4);break;case 64:t.l+=4,S=Jr(Rx(t));break;default:throw new Error("unparsed value: "+t[t.l])}d[p]=S}}return t.l=r+n,d}function JR(t,e,r){var n=t.content;if(!n)return{};nn(n,0);var i,s,o,a,l=0;n.chk("feff","Byte Order: "),n.read_shift(2);var c=n.read_shift(4),u=n.read_shift(16);if(u!==Et.utils.consts.HEADER_CLSID&&u!==r)throw new Error("Bad PropertySet CLSID "+u);if(i=n.read_shift(4),i!==1&&i!==2)throw new Error("Unrecognized #Sets: "+i);if(s=n.read_shift(16),a=n.read_shift(4),i===1&&a!==n.l)throw new Error("Length mismatch: "+a+" !== "+n.l);i===2&&(o=n.read_shift(16),l=n.read_shift(4));var h=ZR(n,e),d={SystemIdentifier:c};for(var f in h)d[f]=h[f];if(d.FMTID=s,i===1)return d;if(l-n.l==2&&(n.l+=2),n.l!==l)throw new Error("Length mismatch 2: "+n.l+" !== "+l);var g;try{g=ZR(n,null)}catch{}for(f in g)d[f]=g[f];return d.FMTID=[s,o],d}function xa(t,e){return t.read_shift(e),null}function P$(t,e,r){for(var n=[],i=t.l+e;t.l=12?2:1),i="sbcs-cont";if(r&&r.biff>=8,!r||r.biff==8){var s=t.read_shift(1);s&&(i="dbcs-cont")}else r.biff==12&&(i="wstr");r.biff>=2&&r.biff<=5&&(i="cpstr");var o=n?t.read_shift(n,i):"";return o}function k$(t){var e=t.read_shift(2),r=t.read_shift(1),n=r&4,i=r&8,s=1+(r&1),o=0,a,l={};i&&(o=t.read_shift(2)),n&&(a=t.read_shift(4));var c=s==2?"dbcs-cont":"sbcs-cont",u=e===0?"":t.read_shift(e,c);return i&&(t.l+=4*o),n&&(t.l+=a),l.t=u,i||(l.raw=""+l.t+"",l.r=l.t),l}function Cc(t,e,r){var n;if(r){if(r.biff>=2&&r.biff<=5)return t.read_shift(e,"cpstr");if(r.biff>=12)return t.read_shift(e,"dbcs-cont")}var i=t.read_shift(1);return i===0?n=t.read_shift(e,"sbcs-cont"):n=t.read_shift(e,"dbcs-cont"),n}function qf(t,e,r){var n=t.read_shift(r&&r.biff==2?1:2);return n===0?(t.l++,""):Cc(t,n,r)}function Nc(t,e,r){if(r.biff>5)return qf(t,e,r);var n=t.read_shift(1);return n===0?(t.l++,""):t.read_shift(n,r.biff<=4||!t.lens?"cpstr":"sbcs-cont")}function N$(t){var e=t.read_shift(1);t.l++;var r=t.read_shift(2);return t.l+=2,[e,r]}function H$(t){var e=t.read_shift(4),r=t.l,n=!1;e>24&&(t.l+=e-24,t.read_shift(16)==="795881f43b1d7f48af2c825dc4852763"&&(n=!0),t.l=r);var i=t.read_shift((n?e-24:e)>>1,"utf16le").replace(Ln,"");return n&&(t.l+=24),i}function F$(t){for(var e=t.read_shift(2),r="";e-- >0;)r+="../";var n=t.read_shift(0,"lpstr-ansi");if(t.l+=2,t.read_shift(2)!=57005)throw new Error("Bad FileMoniker");var i=t.read_shift(4);if(i===0)return r+n.replace(/\\/g,"/");var s=t.read_shift(4);if(t.read_shift(2)!=3)throw new Error("Bad FileMoniker");var o=t.read_shift(s>>1,"utf16le").replace(Ln,"");return r+o}function L$(t,e){var r=t.read_shift(16);switch(r){case"e0c9ea79f9bace118c8200aa004ba90b":return H$(t);case"0303000000000000c000000000000046":return F$(t);default:throw new Error("Unsupported Moniker "+r)}}function Bg(t){var e=t.read_shift(4),r=e>0?t.read_shift(e,"utf16le").replace(Ln,""):"";return r}function $$(t,e){var r=t.l+e,n=t.read_shift(4);if(n!==2)throw new Error("Unrecognized streamVersion: "+n);var i=t.read_shift(2);t.l+=2;var s,o,a,l,c="",u,h;i&16&&(s=Bg(t,r-t.l)),i&128&&(o=Bg(t,r-t.l)),(i&257)===257&&(a=Bg(t,r-t.l)),(i&257)===1&&(l=L$(t,r-t.l)),i&8&&(c=Bg(t,r-t.l)),i&32&&(u=t.read_shift(16)),i&64&&(h=Rx(t)),t.l=r;var d=o||a||l||"";d&&c&&(d+="#"+c),d||(d="#"+c),i&2&&d.charAt(0)=="/"&&d.charAt(1)!="/"&&(d="file://"+d);var f={Target:d};return u&&(f.guid=u),h&&(f.time=h),s&&(f.Tooltip=s),f}function nP(t){var e=t.read_shift(1),r=t.read_shift(1),n=t.read_shift(1),i=t.read_shift(1);return[e,r,n,i]}function iP(t,e){var r=nP(t);return r[3]=0,r}function vo(t){var e=t.read_shift(2),r=t.read_shift(2),n=t.read_shift(2);return{r:e,c:r,ixfe:n}}function B$(t){var e=t.read_shift(2),r=t.read_shift(2);return t.l+=8,{type:e,flags:r}}function V$(t,e,r){return e===0?"":Nc(t,e,r)}function W$(t,e,r){var n=r.biff>8?4:2,i=t.read_shift(n),s=t.read_shift(n,"i"),o=t.read_shift(n,"i");return[i,s,o]}function sP(t){var e=t.read_shift(2),r=bx(t);return[e,r]}function U$(t,e,r){t.l+=4,e-=4;var n=t.l+e,i=Xf(t,e,r),s=t.read_shift(2);if(n-=t.l,s!==n)throw new Error("Malformed AddinUdf: padding = "+n+" != "+s);return t.l+=s,i}function ew(t){var e=t.read_shift(2),r=t.read_shift(2),n=t.read_shift(2),i=t.read_shift(2);return{s:{c:n,r:e},e:{c:i,r}}}function oP(t){var e=t.read_shift(2),r=t.read_shift(2),n=t.read_shift(1),i=t.read_shift(1);return{s:{c:n,r:e},e:{c:i,r}}}var Y$=oP;function aP(t){t.l+=4;var e=t.read_shift(2),r=t.read_shift(2),n=t.read_shift(2);return t.l+=12,[r,e,n]}function z$(t){var e={};return t.l+=4,t.l+=16,e.fSharedNote=t.read_shift(2),t.l+=4,e}function G$(t){var e={};return t.l+=4,t.cf=t.read_shift(2),e}function cn(t){t.l+=2,t.l+=t.read_shift(2)}var j$={0:cn,4:cn,5:cn,6:cn,7:G$,8:cn,9:cn,10:cn,11:cn,12:cn,13:z$,14:cn,15:cn,16:cn,17:cn,18:cn,19:cn,20:cn,21:aP};function K$(t,e){for(var r=t.l+e,n=[];t.l=2&&(r.dt=t.read_shift(2),t.l-=2),r.BIFFVer){case 1536:case 1280:case 1024:case 768:case 512:case 2:case 7:break;default:if(e>6)throw new Error("Unexpected BIFF Ver "+r.BIFFVer)}return t.read_shift(e),r}function X$(t,e){return e===0||t.read_shift(2),1200}function q$(t,e,r){if(r.enc)return t.l+=e,"";var n=t.l,i=Nc(t,0,r);return t.read_shift(e+n-t.l),i}function Z$(t,e,r){var n=r&&r.biff==8||e==2?t.read_shift(2):(t.l+=e,0);return{fDialog:n&16,fBelow:n&64,fRight:n&128}}function J$(t,e,r){var n=t.read_shift(4),i=t.read_shift(1)&3,s=t.read_shift(1);switch(s){case 0:s="Worksheet";break;case 1:s="Macrosheet";break;case 2:s="Chartsheet";break;case 6:s="VBAModule";break}var o=Xf(t,0,r);return o.length===0&&(o="Sheet1"),{pos:n,hs:i,dt:s,name:o}}function Q$(t,e){for(var r=t.l+e,n=t.read_shift(4),i=t.read_shift(4),s=[],o=0;o!=i&&t.l>15),i&=32767);var s={Unsynced:n&1,DyZero:(n&2)>>1,ExAsc:(n&4)>>2,ExDsc:(n&8)>>3};return[s,i]}function iB(t){var e=t.read_shift(2),r=t.read_shift(2),n=t.read_shift(2),i=t.read_shift(2),s=t.read_shift(2),o=t.read_shift(2),a=t.read_shift(2),l=t.read_shift(2),c=t.read_shift(2);return{Pos:[e,r],Dim:[n,i],Flags:s,CurTab:o,FirstTab:a,Selected:l,TabRatio:c}}function sB(t,e,r){if(r&&r.biff>=2&&r.biff<5)return{};var n=t.read_shift(2);return{RTL:n&64}}function oB(){}function aB(t,e,r){var n={dyHeight:t.read_shift(2),fl:t.read_shift(2)};switch(r&&r.biff||8){case 2:break;case 3:case 4:t.l+=2;break;default:t.l+=10;break}return n.name=Xf(t,0,r),n}function lB(t){var e=vo(t);return e.isst=t.read_shift(4),e}function cB(t,e,r){r.biffguess&&r.biff==2&&(r.biff=5);var n=t.l+e,i=vo(t);r.biff==2&&t.l++;var s=qf(t,n-t.l,r);return i.val=s,i}function uB(t,e,r){var n=t.read_shift(2),i=Nc(t,0,r);return[n,i]}var hB=Nc;function eT(t,e,r){var n=t.l+e,i=r.biff==8||!r.biff?4:2,s=t.read_shift(i),o=t.read_shift(i),a=t.read_shift(2),l=t.read_shift(2);return t.l=n,{s:{r:s,c:a},e:{r:o,c:l}}}function dB(t){var e=t.read_shift(2),r=t.read_shift(2),n=sP(t);return{r:e,c:r,ixfe:n[0],rknum:n[1]}}function fB(t,e){for(var r=t.l+e-2,n=t.read_shift(2),i=t.read_shift(2),s=[];t.l>26],n.cellStyles&&(i.alc=s&7,i.fWrap=s>>3&1,i.alcV=s>>4&7,i.fJustLast=s>>7&1,i.trot=s>>8&255,i.cIndent=s>>16&15,i.fShrinkToFit=s>>20&1,i.iReadOrder=s>>22&2,i.fAtrNum=s>>26&1,i.fAtrFnt=s>>27&1,i.fAtrAlc=s>>28&1,i.fAtrBdr=s>>29&1,i.fAtrPat=s>>30&1,i.fAtrProt=s>>31&1,i.dgLeft=o&15,i.dgRight=o>>4&15,i.dgTop=o>>8&15,i.dgBottom=o>>12&15,i.icvLeft=o>>16&127,i.icvRight=o>>23&127,i.grbitDiag=o>>30&3,i.icvTop=a&127,i.icvBottom=a>>7&127,i.icvDiag=a>>14&127,i.dgDiag=a>>21&15,i.icvFore=l&127,i.icvBack=l>>7&127,i.fsxButton=l>>14&1),i}function pB(t,e,r){var n={};return n.ifnt=t.read_shift(2),n.numFmtId=t.read_shift(2),n.flags=t.read_shift(2),n.fStyle=n.flags>>2&1,e-=6,n.data=mB(t,e,n.fStyle,r),n}function wB(t){t.l+=4;var e=[t.read_shift(2),t.read_shift(2)];if(e[0]!==0&&e[0]--,e[1]!==0&&e[1]--,e[0]>7||e[1]>7)throw new Error("Bad Gutters: "+e.join("|"));return e}function tT(t,e,r){var n=vo(t);(r.biff==2||e==9)&&++t.l;var i=D$(t);return n.val=i,n.t=i===!0||i===!1?"b":"e",n}function vB(t,e,r){r.biffguess&&r.biff==2&&(r.biff=5);var n=vo(t),i=wn(t);return n.val=i,n}var rT=V$;function CB(t,e,r){var n=t.l+e,i=t.read_shift(2),s=t.read_shift(2);if(r.sbcch=s,s==1025||s==14849)return[s,i];if(s<1||s>255)throw new Error("Unexpected SupBook type: "+s);for(var o=Cc(t,s),a=[];n>t.l;)a.push(qf(t));return[s,i,o,a]}function nT(t,e,r){var n=t.read_shift(2),i,s={fBuiltIn:n&1,fWantAdvise:n>>>1&1,fWantPict:n>>>2&1,fOle:n>>>3&1,fOleLink:n>>>4&1,cf:n>>>5&1023,fIcon:n>>>15&1};return r.sbcch===14849&&(i=U$(t,e-2,r)),s.body=i||t.read_shift(e-2),typeof i=="string"&&(s.Name=i),s}var SB=["_xlnm.Consolidate_Area","_xlnm.Auto_Open","_xlnm.Auto_Close","_xlnm.Extract","_xlnm.Database","_xlnm.Criteria","_xlnm.Print_Area","_xlnm.Print_Titles","_xlnm.Recorder","_xlnm.Data_Form","_xlnm.Auto_Activate","_xlnm.Auto_Deactivate","_xlnm.Sheet_Title","_xlnm._FilterDatabase"];function iT(t,e,r){var n=t.l+e,i=t.read_shift(2),s=t.read_shift(1),o=t.read_shift(1),a=t.read_shift(r&&r.biff==2?1:2),l=0;(!r||r.biff>=5)&&(r.biff!=5&&(t.l+=2),l=t.read_shift(2),r.biff==5&&(t.l+=2),t.l+=4);var c=Cc(t,o,r);i&32&&(c=SB[c.charCodeAt(0)]);var u=n-t.l;r&&r.biff==2&&--u;var h=n==t.l||a===0||!(u>0)?[]:tW(t,u,r,a);return{chKey:s,Name:c,itab:l,rgce:h}}function lP(t,e,r){if(r.biff<8)return xB(t,e,r);for(var n=[],i=t.l+e,s=t.read_shift(r.biff>8?4:2);s--!==0;)n.push(W$(t,r.biff>8?12:6,r));if(t.l!=i)throw new Error("Bad ExternSheet: "+t.l+" != "+i);return n}function xB(t,e,r){t[t.l+1]==3&&t[t.l]++;var n=Xf(t,e,r);return n.charCodeAt(0)==3?n.slice(1):n}function yB(t,e,r){if(r.biff<8){t.l+=e;return}var n=t.read_shift(2),i=t.read_shift(2),s=Cc(t,n,r),o=Cc(t,i,r);return[s,o]}function bB(t,e,r){var n=oP(t);t.l++;var i=t.read_shift(1);return e-=8,[rW(t,e,r),i,n]}function sT(t,e,r){var n=Y$(t);switch(r.biff){case 2:t.l++,e-=7;break;case 3:case 4:t.l+=2,e-=8;break;default:t.l+=6,e-=12}return[n,QV(t,e,r)]}function EB(t){var e=t.read_shift(4)!==0,r=t.read_shift(4)!==0,n=t.read_shift(4);return[e,r,n]}function RB(t,e,r){if(!(r.biff<8)){var n=t.read_shift(2),i=t.read_shift(2),s=t.read_shift(2),o=t.read_shift(2),a=Nc(t,0,r);return r.biff<8&&t.read_shift(1),[{r:n,c:i},a,o,s]}}function TB(t,e,r){return RB(t,e,r)}function _B(t,e){for(var r=[],n=t.read_shift(2);n--;)r.push(ew(t));return r}function AB(t,e,r){if(r&&r.biff<8)return IB(t,e,r);var n=aP(t),i=K$(t,e-22,n[1]);return{cmo:n,ft:i}}var MB={8:function(t,e){var r=t.l+e;t.l+=10;var n=t.read_shift(2);t.l+=4,t.l+=2,t.l+=2,t.l+=2,t.l+=4;var i=t.read_shift(1);return t.l+=i,t.l=r,{fmt:n}}};function IB(t,e,r){t.l+=4;var n=t.read_shift(2),i=t.read_shift(2),s=t.read_shift(2);t.l+=2,t.l+=2,t.l+=2,t.l+=2,t.l+=2,t.l+=2,t.l+=2,t.l+=2,t.l+=2,t.l+=6,e-=36;var o=[];return o.push((MB[n]||xn)(t,e,r)),{cmo:[i,n,s],ft:o}}function OB(t,e,r){var n=t.l,i="";try{t.l+=4;var s=(r.lastobj||{cmo:[0,0]}).cmo[1],o;[0,5,7,11,12,14].indexOf(s)==-1?t.l+=6:o=N$(t,6,r);var a=t.read_shift(2);t.read_shift(2),Dr(t,2);var l=t.read_shift(2);t.l+=l;for(var c=1;c=(u?a:2*a))break}if(i.length!==a&&i.length!==a*2)throw new Error("cchText: "+a+" != "+i.length);return t.l=n+e,{t:i}}catch{return t.l=n+e,{t:i}}}function PB(t,e){var r=ew(t);t.l+=16;var n=$$(t,e-24);return[r,n]}function DB(t,e){t.read_shift(2);var r=ew(t),n=t.read_shift((e-10)/2,"dbcs-cont");return n=n.replace(Ln,""),[r,n]}function kB(t){var e=[0,0],r;return r=t.read_shift(2),e[0]=KR[r]||r,r=t.read_shift(2),e[1]=KR[r]||r,e}function NB(t){for(var e=t.read_shift(2),r=[];e-- >0;)r.push(iP(t));return r}function HB(t){for(var e=t.read_shift(2),r=[];e-- >0;)r.push(iP(t));return r}function FB(t){t.l+=2;var e={cxfs:0,crc:0};return e.cxfs=t.read_shift(2),e.crc=t.read_shift(4),e}function cP(t,e,r){if(!r.cellStyles)return xn(t,e);var n=r&&r.biff>=12?4:2,i=t.read_shift(n),s=t.read_shift(n),o=t.read_shift(n),a=t.read_shift(n),l=t.read_shift(2);n==2&&(t.l+=2);var c={s:i,e:s,w:o,ixfe:a,flags:l};return(r.biff>=5||!r.biff)&&(c.level=l>>8&7),c}function LB(t,e){var r={};return e<32||(t.l+=16,r.header=wn(t),r.footer=wn(t),t.l+=2),r}function $B(t,e,r){var n={area:!1};if(r.biff!=5)return t.l+=e,n;var i=t.read_shift(1);return t.l+=3,i&16&&(n.area=!0),n}var BB=vo,VB=rP,WB=qf;function UB(t){var e=t.read_shift(2),r=t.read_shift(2),n=t.read_shift(4),i={fmt:e,env:r,len:n,data:t.slice(t.l,t.l+n)};return t.l+=n,i}function YB(t,e,r){r.biffguess&&r.biff==5&&(r.biff=2);var n=vo(t);++t.l;var i=Nc(t,e-7,r);return n.t="str",n.val=i,n}function zB(t){var e=vo(t);++t.l;var r=wn(t);return e.t="n",e.val=r,e}function GB(t){var e=vo(t);++t.l;var r=t.read_shift(2);return e.t="n",e.val=r,e}function jB(t){var e=t.read_shift(1);return e===0?(t.l++,""):t.read_shift(e,"sbcs-cont")}function KB(t,e){t.l+=6,t.l+=2,t.l+=1,t.l+=3,t.l+=1,t.l+=e-13}function XB(t,e,r){var n=t.l+e,i=vo(t),s=t.read_shift(2),o=Cc(t,s,r);return t.l=n,i.t="str",i.val=o,i}var qB=[2,3,48,49,131,139,140,245],oT=function(){var t={1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127,8:865,9:437,10:850,11:437,13:437,14:850,15:437,16:850,17:437,18:850,19:932,20:850,21:437,22:850,23:865,24:437,25:437,26:850,27:437,28:863,29:850,31:852,34:852,35:852,36:860,37:850,38:866,55:850,64:852,77:936,78:949,79:950,80:874,87:1252,88:1252,89:1252,108:863,134:737,135:852,136:857,204:1257,255:16969},e=gx({1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127});function r(a,l){var c=[],u=cl(1);switch(l.type){case"base64":u=ps(Ci(a));break;case"binary":u=ps(a);break;case"buffer":case"array":u=a;break}nn(u,0);var h=u.read_shift(1),d=!!(h&136),f=!1,g=!1;switch(h){case 2:break;case 3:break;case 48:f=!0,d=!0;break;case 49:f=!0,d=!0;break;case 131:break;case 139:break;case 140:g=!0;break;case 245:break;default:throw new Error("DBF Unsupported Version: "+h.toString(16))}var m=0,p=521;h==2&&(m=u.read_shift(2)),u.l+=3,h!=2&&(m=u.read_shift(4)),m>1048576&&(m=1e6),h!=2&&(p=u.read_shift(2));var S=u.read_shift(2),y=l.codepage||1252;h!=2&&(u.l+=16,u.read_shift(1),u[u.l]!==0&&(y=t[u[u.l]]),u.l+=1,u.l+=2),g&&(u.l+=36);for(var C=[],E={},A=Math.min(u.length,h==2?521:p-10-(f?264:0)),O=g?32:11;u.l0;){if(u[u.l]===42){u.l+=S;continue}for(++u.l,c[++T]=[],W=0,W=0;W!=C.length;++W){var I=u.slice(u.l,u.l+C[W].len);u.l+=C[W].len,nn(I,0);var Y=Ua.utils.decode(y,I);switch(C[W].type){case"C":Y.trim().length&&(c[T][W]=Y.replace(/\s+$/,""));break;case"D":Y.length===8?c[T][W]=new Date(+Y.slice(0,4),+Y.slice(4,6)-1,+Y.slice(6,8)):c[T][W]=Y;break;case"F":c[T][W]=parseFloat(Y.trim());break;case"+":case"I":c[T][W]=g?I.read_shift(-4,"i")^2147483648:I.read_shift(4,"i");break;case"L":switch(Y.trim().toUpperCase()){case"Y":case"T":c[T][W]=!0;break;case"N":case"F":c[T][W]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+Y+"|")}break;case"M":if(!d)throw new Error("DBF Unexpected MEMO for type "+h.toString(16));c[T][W]="##MEMO##"+(g?parseInt(Y.trim(),10):I.read_shift(4));break;case"N":Y=Y.replace(/\u0000/g,"").trim(),Y&&Y!="."&&(c[T][W]=+Y||0);break;case"@":c[T][W]=new Date(I.read_shift(-8,"f")-621356832e5);break;case"T":c[T][W]=new Date((I.read_shift(4)-2440588)*864e5+I.read_shift(4));break;case"Y":c[T][W]=I.read_shift(4,"i")/1e4+I.read_shift(4,"i")/1e4*Math.pow(2,32);break;case"O":c[T][W]=-I.read_shift(-8,"f");break;case"B":if(f&&C[W].len==8){c[T][W]=I.read_shift(8,"f");break}case"G":case"P":I.l+=C[W].len;break;case"0":if(C[W].name==="_NullFlags")break;default:throw new Error("DBF Unsupported data type "+C[W].type)}}}if(h!=2&&u.l=0&&ws(+c.codepage),c.type=="string")throw new Error("Cannot write DBF to JS string");var u=W1(),h=J1(a,{header:1,raw:!0,cellDates:!0}),d=h[0],f=h.slice(1),g=a["!cols"]||[],m=0,p=0,S=0,y=1;for(m=0;m250&&(I=250),W=((g[m]||{}).DBF||{}).type,W=="C"&&g[m].DBF.len>I&&(I=g[m].DBF.len),T=="B"&&W=="N"&&(T="N",O[m]=g[m].DBF.dec,I=g[m].DBF.len),A[m]=T=="C"||W=="N"?I:s[T]||0,y+=A[m],E[m]=T}var z=u.next(32);for(z.write_shift(4,318902576),z.write_shift(4,f.length),z.write_shift(2,296+32*S),z.write_shift(2,y),m=0;m<4;++m)z.write_shift(4,0);for(z.write_shift(4,0|(+e[lO]||3)<<8),m=0,p=0;m":190,"?":191,"{":223},e=new RegExp("\x1BN("+fo(t).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),r=function(d,f){var g=t[f];return typeof g=="number"?yR(g):g},n=function(d,f,g){var m=f.charCodeAt(0)-32<<4|g.charCodeAt(0)-48;return m==59?d:yR(m)};t["|"]=254;function i(d,f){switch(f.type){case"base64":return s(Ci(d),f);case"binary":return s(d,f);case"buffer":return s(yt&&Buffer.isBuffer(d)?d.toString("binary"):Oc(d),f);case"array":return s(vc(d),f)}throw new Error("Unrecognized type "+f.type)}function s(d,f){var g=d.split(/[\n\r]+/),m=-1,p=-1,S=0,y=0,C=[],E=[],A=null,O={},T=[],W=[],I=[],Y=0,z;for(+f.codepage>=0&&ws(+f.codepage);S!==g.length;++S){Y=0;var U=g[S].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,n).replace(e,r),oe=U.replace(/;;/g,"\0").split(";").map(function(b){return b.replace(/\u0000/g,";")}),Ce=oe[0],pe;if(U.length>0)switch(Ce){case"ID":break;case"E":break;case"B":break;case"O":break;case"W":break;case"P":oe[1].charAt(0)=="P"&&E.push(U.slice(3).replace(/;;/g,";"));break;case"C":var Te=!1,Se=!1,Ae=!1,q=!1,Oe=-1,v=-1;for(y=1;y-1&&C[Oe][v];if(!x||!x[1])throw new Error("SYLK shared formula cannot find base");C[m][p][1]=CP(x[1],{r:m-Oe,c:p-v})}break;case"F":var R=0;for(y=1;y0?(T[m].hpt=Y,T[m].hpx=Tf(Y)):Y===0&&(T[m].hidden=!0);break;default:if(f&&f.WTF)throw new Error("SYLK bad record "+U)}R<1&&(A=null);break;default:if(f&&f.WTF)throw new Error("SYLK bad record "+U)}}return T.length>0&&(O["!rows"]=T),W.length>0&&(O["!cols"]=W),f&&f.sheetRows&&(C=C.slice(0,f.sheetRows)),[C,O]}function o(d,f){var g=i(d,f),m=g[0],p=g[1],S=dh(m,f);return fo(p).forEach(function(y){S[y]=p[y]}),S}function a(d,f){return gl(o(d,f),f)}function l(d,f,g,m){var p="C;Y"+(g+1)+";X"+(m+1)+";K";switch(d.t){case"n":p+=d.v||0,d.f&&!d.F&&(p+=";E"+F3(d.f,{r:g,c:m}));break;case"b":p+=d.v?"TRUE":"FALSE";break;case"e":p+=d.w||d.v;break;case"d":p+='"'+(d.w||d.v)+'"';break;case"s":p+='"'+d.v.replace(/"/g,"").replace(/;/g,";;")+'"';break}return p}function c(d,f){f.forEach(function(g,m){var p="F;W"+(m+1)+" "+(m+1)+" ";g.hidden?p+="0":(typeof g.width=="number"&&!g.wpx&&(g.wpx=ip(g.width)),typeof g.wpx=="number"&&!g.wch&&(g.wch=sp(g.wpx)),typeof g.wch=="number"&&(p+=Math.round(g.wch))),p.charAt(p.length-1)!=" "&&d.push(p)})}function u(d,f){f.forEach(function(g,m){var p="F;";g.hidden?p+="M0;":g.hpt?p+="M"+20*g.hpt+";":g.hpx&&(p+="M"+20*pP(g.hpx)+";"),p.length>2&&d.push(p+"R"+(m+1))})}function h(d,f){var g=["ID;PWXL;N;E"],m=[],p=br(d["!ref"]),S,y=Array.isArray(d),C=`\r `;g.push("P;PGeneral"),g.push("F;P0;DG0G8;M255"),d["!cols"]&&c(g,d["!cols"]),d["!rows"]&&u(g,d["!rows"]),g.push("B;Y"+(p.e.r-p.s.r+1)+";X"+(p.e.c-p.s.c+1)+";D"+[p.s.c,p.s.r,p.e.c,p.e.r].join(" "));for(var E=p.s.r;E<=p.e.r;++E)for(var A=p.s.c;A<=p.e.c;++A){var O=nt({r:E,c:A});S=y?(d[E]||[])[A]:d[O],!(!S||S.v==null&&(!S.f||S.F))&&m.push(l(S,d,E,A))}return g.join(C)+C+m.join(C)+C+"E"+C}return{to_workbook:a,to_sheet:o,from_sheet:h}}(),JB=function(){function t(s,o){switch(o.type){case"base64":return e(Ci(s),o);case"binary":return e(s,o);case"buffer":return e(yt&&Buffer.isBuffer(s)?s.toString("binary"):Oc(s),o);case"array":return e(vc(s),o)}throw new Error("Unrecognized type "+o.type)}function e(s,o){for(var a=s.split(` `),l=-1,c=-1,u=0,h=[];u!==a.length;++u){if(a[u].trim()==="BOT"){h[++l]=[],c=0;continue}if(!(l<0)){var d=a[u].trim().split(","),f=d[0],g=d[1];++u;for(var m=a[u]||"";(m.match(/["]/g)||[]).length&1&&u=0&&g[m].length===0;)--m;for(var p=10,S=0,y=0;y<=m;++y)S=g[y].indexOf(" "),S==-1?S=g[y].length:S++,p=Math.max(p,S);for(y=0;y<=m;++y){f[y]=[];var C=0;for(t(g[y].slice(0,p).trim(),f,y,C,d),C=1;C<=(g[y].length-p)/10+1;++C)t(g[y].slice(p+(C-1)*10,p+C*10).trim(),f,y,C,d)}return d.sheetRows&&(f=f.slice(0,d.sheetRows)),f}var r={44:",",9:" ",59:";",124:"|"},n={44:3,9:2,59:1,124:0};function i(u){for(var h={},d=!1,f=0,g=0;f0&&Y(),g["!ref"]=Rt(m),g}function o(u,h){return!(h&&h.PRN)||h.FS||u.slice(0,4)=="sep="||u.indexOf(" ")>=0||u.indexOf(",")>=0||u.indexOf(";")>=0?s(u,h):dh(e(u,h),h)}function a(u,h){var d="",f=h.type=="string"?[0,0,0,0]:Dx(u,h);switch(h.type){case"base64":d=Ci(u);break;case"binary":d=u;break;case"buffer":h.codepage==65001?d=u.toString("utf8"):h.codepage&&typeof Ua<"u"?d=Ua.utils.decode(h.codepage,u):d=yt&&Buffer.isBuffer(u)?u.toString("binary"):Oc(u);break;case"array":d=vc(u);break;case"string":d=u;break;default:throw new Error("Unrecognized type "+h.type)}return f[0]==239&&f[1]==187&&f[2]==191?d=Jt(d.slice(3)):h.type!="string"&&h.type!="buffer"&&h.codepage==65001?d=Jt(d):h.type=="binary"&&typeof Ua<"u"&&h.codepage&&(d=Ua.utils.decode(h.codepage,Ua.utils.encode(28591,d))),d.slice(0,19)=="socialcalc:version:"?QB.to_sheet(h.type=="string"?d:Jt(d),h):o(d,h)}function l(u,h){return gl(a(u,h),h)}function c(u){for(var h=[],d=br(u["!ref"]),f,g=Array.isArray(u),m=d.s.r;m<=d.e.r;++m){for(var p=[],S=d.s.c;S<=d.e.c;++S){var y=nt({r:m,c:S});if(f=g?(u[m]||[])[S]:u[y],!f||f.v==null){p.push(" ");continue}for(var C=(f.w||(sa(f),f.w)||"").slice(0,10);C.length<10;)C+=" ";p.push(C+(S===0?" ":""))}h.push(p.join(""))}return h.join(` `)}return{to_workbook:l,to_sheet:a,from_sheet:c}}();function e4(t,e){var r=e||{},n=!!r.WTF;r.WTF=!0;try{var i=ZB.to_workbook(t,r);return r.WTF=n,i}catch(s){if(r.WTF=n,!s.message.match(/SYLK bad record ID/)&&n)throw s;return Ef.to_workbook(t,e)}}var Gd=function(){function t(w,x,R){if(w){nn(w,w.l||0);for(var b=R.Enum||Oe;w.l=16&&w[14]==5&&w[15]===108)throw new Error("Unsupported Works 3 for Mac file");if(w[2]==2)R.Enum=Oe,t(w,function(xe,Ye,Ve){switch(Ve){case 0:R.vers=xe,xe>=4096&&(R.qpro=!0);break;case 6:N=xe;break;case 204:xe&&(X=xe);break;case 222:X=xe;break;case 15:case 51:R.qpro||(xe[1].v=xe[1].v.slice(1));case 13:case 14:case 16:Ve==14&&(xe[2]&112)==112&&(xe[2]&15)>1&&(xe[2]&15)<15&&(xe[1].z=R.dateNF||ot[14],R.cellDates&&(xe[1].t="d",xe[1].v=Qp(xe[1].v))),R.qpro&&xe[3]>ne&&(b["!ref"]=Rt(N),fe[B]=b,le.push(B),b=R.dense?[]:{},N={s:{r:0,c:0},e:{r:0,c:0}},ne=xe[3],B=X||"Sheet"+(ne+1),X="");var M=R.dense?(b[xe[0].r]||[])[xe[0].c]:b[nt(xe[0])];if(M){M.t=xe[1].t,M.v=xe[1].v,xe[1].z!=null&&(M.z=xe[1].z),xe[1].f!=null&&(M.f=xe[1].f);break}R.dense?(b[xe[0].r]||(b[xe[0].r]=[]),b[xe[0].r][xe[0].c]=xe[1]):b[nt(xe[0])]=xe[1];break}},R);else if(w[2]==26||w[2]==14)R.Enum=v,w[2]==14&&(R.qpro=!0,w.l=0),t(w,function(xe,Ye,Ve){switch(Ve){case 204:B=xe;break;case 22:xe[1].v=xe[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(xe[3]>ne&&(b["!ref"]=Rt(N),fe[B]=b,le.push(B),b=R.dense?[]:{},N={s:{r:0,c:0},e:{r:0,c:0}},ne=xe[3],B="Sheet"+(ne+1)),Fe>0&&xe[0].r>=Fe)break;R.dense?(b[xe[0].r]||(b[xe[0].r]=[]),b[xe[0].r][xe[0].c]=xe[1]):b[nt(xe[0])]=xe[1],N.e.c=0&&ws(+R.codepage),R.type=="string")throw new Error("Cannot write WK1 to JS string");var b=W1(),B=br(w["!ref"]),X=Array.isArray(w),ne=[];qi(b,0,s(1030)),qi(b,6,l(B));for(var fe=Math.min(B.e.r,8191),le=B.s.r;le<=fe;++le)for(var we=on(le),N=B.s.c;N<=B.e.c;++N){le===B.s.r&&(ne[N]=Br(N));var Fe=ne[N]+we,ie=X?(w[le]||[])[N]:w[Fe];if(!(!ie||ie.t=="z"))if(ie.t=="n")(ie.v|0)==ie.v&&ie.v>=-32768&&ie.v<=32767?qi(b,13,f(le,N,ie.v)):qi(b,14,m(le,N,ie.v));else{var Be=sa(ie);qi(b,15,h(le,N,Be.slice(0,239)))}}return qi(b,1),b.end()}function i(w,x){var R=x||{};if(+R.codepage>=0&&ws(+R.codepage),R.type=="string")throw new Error("Cannot write WK3 to JS string");var b=W1();qi(b,0,o(w));for(var B=0,X=0;B8191&&(R=8191),x.write_shift(2,R),x.write_shift(1,B),x.write_shift(1,b),x.write_shift(2,0),x.write_shift(2,0),x.write_shift(1,1),x.write_shift(1,2),x.write_shift(4,0),x.write_shift(4,0),x}function a(w,x,R){var b={s:{c:0,r:0},e:{c:0,r:0}};return x==8&&R.qpro?(b.s.c=w.read_shift(1),w.l++,b.s.r=w.read_shift(2),b.e.c=w.read_shift(1),w.l++,b.e.r=w.read_shift(2),b):(b.s.c=w.read_shift(2),b.s.r=w.read_shift(2),x==12&&R.qpro&&(w.l+=2),b.e.c=w.read_shift(2),b.e.r=w.read_shift(2),x==12&&R.qpro&&(w.l+=2),b.s.c==65535&&(b.s.c=b.e.c=b.s.r=b.e.r=0),b)}function l(w){var x=$r(8);return x.write_shift(2,w.s.c),x.write_shift(2,w.s.r),x.write_shift(2,w.e.c),x.write_shift(2,w.e.r),x}function c(w,x,R){var b=[{c:0,r:0},{t:"n",v:0},0,0];return R.qpro&&R.vers!=20768?(b[0].c=w.read_shift(1),b[3]=w.read_shift(1),b[0].r=w.read_shift(2),w.l+=2):(b[2]=w.read_shift(1),b[0].c=w.read_shift(2),b[0].r=w.read_shift(2)),b}function u(w,x,R){var b=w.l+x,B=c(w,x,R);if(B[1].t="s",R.vers==20768){w.l++;var X=w.read_shift(1);return B[1].v=w.read_shift(X,"utf8"),B}return R.qpro&&w.l++,B[1].v=w.read_shift(b-w.l,"cstr"),B}function h(w,x,R){var b=$r(7+R.length);b.write_shift(1,255),b.write_shift(2,x),b.write_shift(2,w),b.write_shift(1,39);for(var B=0;B=128?95:X)}return b.write_shift(1,0),b}function d(w,x,R){var b=c(w,x,R);return b[1].v=w.read_shift(2,"i"),b}function f(w,x,R){var b=$r(7);return b.write_shift(1,255),b.write_shift(2,x),b.write_shift(2,w),b.write_shift(2,R,"i"),b}function g(w,x,R){var b=c(w,x,R);return b[1].v=w.read_shift(8,"f"),b}function m(w,x,R){var b=$r(13);return b.write_shift(1,255),b.write_shift(2,x),b.write_shift(2,w),b.write_shift(8,R,"f"),b}function p(w,x,R){var b=w.l+x,B=c(w,x,R);if(B[1].v=w.read_shift(8,"f"),R.qpro)w.l=b;else{var X=w.read_shift(2);E(w.slice(w.l,w.l+X),B),w.l+=X}return B}function S(w,x,R){var b=x&32768;return x&=-32769,x=(b?w:0)+(x>=8192?x-16384:x),(b?"":"$")+(R?Br(x):on(x))}var y={51:["FALSE",0],52:["TRUE",0],70:["LEN",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],111:["T",1]},C=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function E(w,x){nn(w,0);for(var R=[],b=0,B="",X="",ne="",fe="";w.lR.length){console.error("WK1 bad formula parse 0x"+le.toString(16)+":|"+R.join("|")+"|");return}var ie=R.slice(-b);R.length-=b,R.push(y[le][0]+"("+ie.join(",")+")")}else return le<=7?console.error("WK1 invalid opcode "+le.toString(16)):le<=24?console.error("WK1 unsupported op "+le.toString(16)):le<=30?console.error("WK1 invalid opcode "+le.toString(16)):le<=115?console.error("WK1 unsupported function opcode "+le.toString(16)):console.error("WK1 unrecognized opcode "+le.toString(16))}}R.length==1?x[1].f=""+R[0]:console.error("WK1 bad formula parse |"+R.join("|")+"|")}function A(w){var x=[{c:0,r:0},{t:"n",v:0},0];return x[0].r=w.read_shift(2),x[3]=w[w.l++],x[0].c=w[w.l++],x}function O(w,x){var R=A(w);return R[1].t="s",R[1].v=w.read_shift(x-4,"cstr"),R}function T(w,x,R,b){var B=$r(6+b.length);B.write_shift(2,w),B.write_shift(1,R),B.write_shift(1,x),B.write_shift(1,39);for(var X=0;X=128?95:ne)}return B.write_shift(1,0),B}function W(w,x){var R=A(w);R[1].v=w.read_shift(2);var b=R[1].v>>1;if(R[1].v&1)switch(b&7){case 0:b=(b>>3)*5e3;break;case 1:b=(b>>3)*500;break;case 2:b=(b>>3)/20;break;case 3:b=(b>>3)/200;break;case 4:b=(b>>3)/2e3;break;case 5:b=(b>>3)/2e4;break;case 6:b=(b>>3)/16;break;case 7:b=(b>>3)/64;break}return R[1].v=b,R}function I(w,x){var R=A(w),b=w.read_shift(4),B=w.read_shift(4),X=w.read_shift(2);if(X==65535)return b===0&&B===3221225472?(R[1].t="e",R[1].v=15):b===0&&B===3489660928?(R[1].t="e",R[1].v=42):R[1].v=0,R;var ne=X&32768;return X=(X&32767)-16446,R[1].v=(1-ne*2)*(B*Math.pow(2,X+32)+b*Math.pow(2,X)),R}function Y(w,x,R,b){var B=$r(14);if(B.write_shift(2,w),B.write_shift(1,R),B.write_shift(1,x),b==0)return B.write_shift(4,0),B.write_shift(4,0),B.write_shift(2,65535),B;var X=0,ne=0,fe=0,le=0;return b<0&&(X=1,b=-b),ne=Math.log2(b)|0,b/=Math.pow(2,ne-31),le=b>>>0,le&2147483648||(b/=2,++ne,le=b>>>0),b-=le,le|=2147483648,le>>>=0,b*=Math.pow(2,32),fe=b>>>0,B.write_shift(4,fe),B.write_shift(4,le),ne+=16383+(X?32768:0),B.write_shift(2,ne),B}function z(w,x){var R=I(w);return w.l+=x-14,R}function U(w,x){var R=A(w),b=w.read_shift(4);return R[1].v=b>>6,R}function oe(w,x){var R=A(w),b=w.read_shift(8,"f");return R[1].v=b,R}function Ce(w,x){var R=oe(w);return w.l+=x-10,R}function pe(w,x){return w[w.l+x-1]==0?w.read_shift(x,"cstr"):""}function Te(w,x){var R=w[w.l++];R>x-1&&(R=x-1);for(var b="";b.length127?95:B}return R[R.l++]=0,R}var Oe={0:{n:"BOF",f:Dr},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:a},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:d},14:{n:"NUMBER",f:g},15:{n:"LABEL",f:u},16:{n:"FORMULA",f:p},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:u},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},102:{n:"PRANGES??"},103:{n:"RRANGES??"},104:{n:"FNAME??"},105:{n:"MRANGES??"},204:{n:"SHEETNAMECS",f:pe},222:{n:"SHEETNAMELP",f:Te},65535:{n:""}},v={0:{n:"BOF"},1:{n:"EOF"},2:{n:"PASSWORD"},3:{n:"CALCSET"},4:{n:"WINDOWSET"},5:{n:"SHEETCELLPTR"},6:{n:"SHEETLAYOUT"},7:{n:"COLUMNWIDTH"},8:{n:"HIDDENCOLUMN"},9:{n:"USERRANGE"},10:{n:"SYSTEMRANGE"},11:{n:"ZEROFORCE"},12:{n:"SORTKEYDIR"},13:{n:"FILESEAL"},14:{n:"DATAFILLNUMS"},15:{n:"PRINTMAIN"},16:{n:"PRINTSTRING"},17:{n:"GRAPHMAIN"},18:{n:"GRAPHSTRING"},19:{n:"??"},20:{n:"ERRCELL"},21:{n:"NACELL"},22:{n:"LABEL16",f:O},23:{n:"NUMBER17",f:I},24:{n:"NUMBER18",f:W},25:{n:"FORMULA19",f:z},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:Ae},28:{n:"DTLABELMISC"},29:{n:"DTLABELCELL"},30:{n:"GRAPHWINDOW"},31:{n:"CPA"},32:{n:"LPLAUTO"},33:{n:"QUERY"},34:{n:"HIDDENSHEET"},35:{n:"??"},37:{n:"NUMBER25",f:U},38:{n:"??"},39:{n:"NUMBER27",f:oe},40:{n:"FORMULA28",f:Ce},142:{n:"??"},147:{n:"??"},150:{n:"??"},151:{n:"??"},152:{n:"??"},153:{n:"??"},154:{n:"??"},155:{n:"??"},156:{n:"??"},163:{n:"??"},174:{n:"??"},175:{n:"??"},176:{n:"??"},177:{n:"??"},184:{n:"??"},185:{n:"??"},186:{n:"??"},187:{n:"??"},188:{n:"??"},195:{n:"??"},201:{n:"??"},204:{n:"SHEETNAMECS",f:pe},205:{n:"??"},206:{n:"??"},207:{n:"??"},208:{n:"??"},256:{n:"??"},259:{n:"??"},260:{n:"??"},261:{n:"??"},262:{n:"??"},263:{n:"??"},265:{n:"??"},266:{n:"??"},267:{n:"??"},268:{n:"??"},270:{n:"??"},271:{n:"??"},384:{n:"??"},389:{n:"??"},390:{n:"??"},393:{n:"??"},396:{n:"??"},512:{n:"??"},514:{n:"??"},513:{n:"??"},516:{n:"??"},517:{n:"??"},640:{n:"??"},641:{n:"??"},642:{n:"??"},643:{n:"??"},644:{n:"??"},645:{n:"??"},646:{n:"??"},647:{n:"??"},648:{n:"??"},658:{n:"??"},659:{n:"??"},660:{n:"??"},661:{n:"??"},662:{n:"??"},665:{n:"??"},666:{n:"??"},768:{n:"??"},772:{n:"??"},1537:{n:"SHEETINFOQP",f:Se},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}};return{sheet_to_wk1:n,book_to_wk3:i,to_workbook:e}}();function t4(t){var e={},r=t.match(yn),n=0,i=!1;if(r)for(;n!=r.length;++n){var s=Qe(r[n]);switch(s[0].replace(/\w*:/g,"")){case"":case"":e.shadow=1;break;case"":break;case"":case"":e.outline=1;break;case"":break;case"":case"":e.strike=1;break;case"":break;case"":case"":e.u=1;break;case"":break;case"":case"":e.b=1;break;case"":break;case"":case"":e.i=1;break;case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":case"":break;case"":i=!1;break;default:if(s[0].charCodeAt(1)!==47&&!i)throw new Error("Unrecognized rich format "+s[0])}}return e}var r4=function(){var t=yf("t"),e=yf("rPr");function r(s){var o=s.match(t);if(!o)return{t:"s",v:""};var a={t:"s",v:At(o[1])},l=s.match(e);return l&&(a.s=t4(l[1])),a}var n=/<(?:\w+:)?r>/g,i=/<\/(?:\w+:)?r>/;return function(o){return o.replace(n,"").split(i).map(r).filter(function(a){return a.v})}}(),n4=function(){var e=/(\r\n|\n)/g;function r(i,s,o){var a=[];i.u&&a.push("text-decoration: underline;"),i.uval&&a.push("text-underline-style:"+i.uval+";"),i.sz&&a.push("font-size:"+i.sz+"pt;"),i.outline&&a.push("text-effect: outline;"),i.shadow&&a.push("text-shadow: auto;"),s.push(''),i.b&&(s.push(""),o.push("")),i.i&&(s.push(""),o.push("")),i.strike&&(s.push(""),o.push(""));var l=i.valign||"";return l=="superscript"||l=="super"?l="sup":l=="subscript"&&(l="sub"),l!=""&&(s.push("<"+l+">"),o.push("")),o.push(""),i}function n(i){var s=[[],i.v,[]];return i.v?(i.s&&r(i.s,s[0],s[2]),s[0].join("")+s[1].replace(e,"
")+s[2].join("")):""}return function(s){return s.map(n).join("")}}(),i4=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,s4=/<(?:\w+:)?r>/,o4=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g;function Tx(t,e){var r=e?e.cellHTML:!0,n={};return t?(t.match(/^\s*<(?:\w+:)?t[^>]*>/)?(n.t=At(Jt(t.slice(t.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||"")),n.r=Jt(t),r&&(n.h=px(n.t))):t.match(s4)&&(n.r=Jt(t),n.t=At(Jt((t.replace(o4,"").match(i4)||[]).join("").replace(yn,""))),r&&(n.h=n4(r4(n.r)))),n):{t:""}}var a4=/<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/,l4=/<(?:\w+:)?(?:si|sstItem)>/g,c4=/<\/(?:\w+:)?(?:si|sstItem)>/;function u4(t,e){var r=[],n="";if(!t)return r;var i=t.match(a4);if(i){n=i[2].replace(l4,"").split(c4);for(var s=0;s!=n.length;++s){var o=Tx(n[s].trim(),e);o!=null&&(r[r.length]=o)}i=Qe(i[1]),r.Count=i.count,r.Unique=i.uniqueCount}return r}function h4(t){return[t.read_shift(4),t.read_shift(4)]}function d4(t,e){var r=[],n=!1;return ca(t,function(s,o,a){switch(a){case 159:r.Count=s[0],r.Unique=s[1];break;case 19:r.push(s);break;case 160:return!0;case 35:n=!0;break;case 36:n=!1;break;default:if(o.T,!n||e.WTF)throw new Error("Unexpected record 0x"+a.toString(16))}}),r}function uP(t){for(var e=[],r=t.split(""),n=0;n=4&&(t.l+=e-4),r}function f4(t){var e={};return e.id=t.read_shift(0,"lpp4"),e.R=ra(t,4),e.U=ra(t,4),e.W=ra(t,4),e}function g4(t){for(var e=t.read_shift(4),r=t.l+e-4,n={},i=t.read_shift(4),s=[];i-- >0;)s.push({t:t.read_shift(4),v:t.read_shift(0,"lpp4")});if(n.name=t.read_shift(0,"lpp4"),n.comps=s,t.l!=r)throw new Error("Bad DataSpaceMapEntry: "+t.l+" != "+r);return n}function m4(t){var e=[];t.l+=4;for(var r=t.read_shift(4);r-- >0;)e.push(g4(t));return e}function p4(t){var e=[];t.l+=4;for(var r=t.read_shift(4);r-- >0;)e.push(t.read_shift(0,"lpp4"));return e}function w4(t){var e={};return t.read_shift(4),t.l+=4,e.id=t.read_shift(0,"lpp4"),e.name=t.read_shift(0,"lpp4"),e.R=ra(t,4),e.U=ra(t,4),e.W=ra(t,4),e}function v4(t){var e=w4(t);if(e.ename=t.read_shift(0,"8lpp4"),e.blksz=t.read_shift(4),e.cmode=t.read_shift(4),t.read_shift(4)!=4)throw new Error("Bad !Primary record");return e}function hP(t,e){var r=t.l+e,n={};n.Flags=t.read_shift(4)&63,t.l+=4,n.AlgID=t.read_shift(4);var i=!1;switch(n.AlgID){case 26126:case 26127:case 26128:i=n.Flags==36;break;case 26625:i=n.Flags==4;break;case 0:i=n.Flags==16||n.Flags==4||n.Flags==36;break;default:throw"Unrecognized encryption algorithm: "+n.AlgID}if(!i)throw new Error("Encryption Flags/AlgID mismatch");return n.AlgIDHash=t.read_shift(4),n.KeySize=t.read_shift(4),n.ProviderType=t.read_shift(4),t.l+=8,n.CSPName=t.read_shift(r-t.l>>1,"utf16le"),t.l=r,n}function dP(t,e){var r={},n=t.l+e;return t.l+=4,r.Salt=t.slice(t.l,t.l+16),t.l+=16,r.Verifier=t.slice(t.l,t.l+16),t.l+=16,t.read_shift(4),r.VerifierHash=t.slice(t.l,n),t.l=n,r}function C4(t){var e=ra(t);switch(e.Minor){case 2:return[e.Minor,S4(t)];case 3:return[e.Minor,x4()];case 4:return[e.Minor,y4(t)]}throw new Error("ECMA-376 Encrypted file unrecognized Version: "+e.Minor)}function S4(t){var e=t.read_shift(4);if((e&63)!=36)throw new Error("EncryptionInfo mismatch");var r=t.read_shift(4),n=hP(t,r),i=dP(t,t.length-t.l);return{t:"Std",h:n,v:i}}function x4(){throw new Error("File is password-protected: ECMA-376 Extensible")}function y4(t){var e=["saltSize","blockSize","keyBits","hashSize","cipherAlgorithm","cipherChaining","hashAlgorithm","saltValue"];t.l+=4;var r=t.read_shift(t.length-t.l,"utf8"),n={};return r.replace(yn,function(s){var o=Qe(s);switch(wo(o[0])){case"":break;case"":case"":break;case"":break;case"4||n.Major<2)throw new Error("unrecognized major version code: "+n.Major);r.Flags=t.read_shift(4),e-=4;var i=t.read_shift(4);return e-=4,r.EncryptionHeader=hP(t,i),e-=i,r.EncryptionVerifier=dP(t,e),r}function E4(t){var e={},r=e.EncryptionVersionInfo=ra(t,4);if(r.Major!=1||r.Minor!=1)throw"unrecognized version code "+r.Major+" : "+r.Minor;return e.Salt=t.read_shift(16),e.EncryptedVerifier=t.read_shift(16),e.EncryptedVerifierHash=t.read_shift(16),e}function R4(t){var e=0,r,n=uP(t),i=n.length+1,s,o,a,l,c;for(r=cl(i),r[0]=n.length,s=1;s!=i;++s)r[s]=n[s-1];for(s=i-1;s>=0;--s)o=r[s],a=e&16384?1:0,l=e<<1&32767,c=a|l,e=c^o;return e^52811}var fP=function(){var t=[187,255,255,186,255,255,185,128,0,190,15,0,191,15,0],e=[57840,7439,52380,33984,4364,3600,61902,12606,6258,57657,54287,34041,10252,43370,20163],r=[44796,19929,39858,10053,20106,40212,10761,31585,63170,64933,60267,50935,40399,11199,17763,35526,1453,2906,5812,11624,23248,885,1770,3540,7080,14160,28320,56640,55369,41139,20807,41614,21821,43642,17621,28485,56970,44341,19019,38038,14605,29210,60195,50791,40175,10751,21502,43004,24537,18387,36774,3949,7898,15796,31592,63184,47201,24803,49606,37805,14203,28406,56812,17824,35648,1697,3394,6788,13576,27152,43601,17539,35078,557,1114,2228,4456,30388,60776,51953,34243,7079,14158,28316,14128,28256,56512,43425,17251,34502,7597,13105,26210,52420,35241,883,1766,3532,4129,8258,16516,33032,4657,9314,18628],n=function(o){return(o/2|o*128)&255},i=function(o,a){return n(o^a)},s=function(o){for(var a=e[o.length-1],l=104,c=o.length-1;c>=0;--c)for(var u=o[c],h=0;h!=7;++h)u&64&&(a^=r[l]),u*=2,--l;return a};return function(o){for(var a=uP(o),l=s(a),c=a.length,u=cl(16),h=0;h!=16;++h)u[h]=0;var d,f,g;for((c&1)===1&&(d=l>>8,u[c]=i(t[0],d),--c,d=l&255,f=a[a.length-1],u[c]=i(f,d));c>0;)--c,d=l>>8,u[c]=i(a[c],d),--c,d=l&255,u[c]=i(a[c],d);for(c=15,g=15-a.length;g>0;)d=l>>8,u[c]=i(t[g],d),--c,--g,d=l&255,u[c]=i(a[c],d),--c,--g;return u}}(),T4=function(t,e,r,n,i){i||(i=e),n||(n=fP(t));var s,o;for(s=0;s!=e.length;++s)o=e[s],o^=n[r],o=(o>>5|o<<3)&255,i[s]=o,++r;return[i,r,n]},_4=function(t){var e=0,r=fP(t);return function(n){var i=T4("",n,e,r);return e=i[1],i[0]}};function A4(t,e,r,n){var i={key:Dr(t),verificationBytes:Dr(t)};return r.password&&(i.verifier=R4(r.password)),n.valid=i.verificationBytes===i.verifier,n.valid&&(n.insitu=_4(r.password)),i}function M4(t,e,r){var n=r||{};return n.Info=t.read_shift(2),t.l-=2,n.Info===1?n.Data=E4(t):n.Data=b4(t,e),n}function I4(t,e,r){var n={Type:r.biff>=8?t.read_shift(2):0};return n.Type?M4(t,e-2,n):A4(t,r.biff>=8?e:e-2,r,n),n}var O4=function(){function t(i,s){switch(s.type){case"base64":return e(Ci(i),s);case"binary":return e(i,s);case"buffer":return e(yt&&Buffer.isBuffer(i)?i.toString("binary"):Oc(i),s);case"array":return e(vc(i),s)}throw new Error("Unrecognized type "+s.type)}function e(i,s){var o=s||{},a=o.dense?[]:{},l=i.match(/\\trowd.*?\\row\b/g);if(!l.length)throw new Error("RTF missing table");var c={s:{c:0,r:0},e:{c:0,r:l.length-1}};return l.forEach(function(u,h){Array.isArray(a)&&(a[h]=[]);for(var d=/\\\w+\b/g,f=0,g,m=-1;g=d.exec(u);){switch(g[0]){case"\\cell":var p=u.slice(f,d.lastIndex-g[0].length);if(p[0]==" "&&(p=p.slice(1)),++m,p.length){var S={v:p,t:"s"};Array.isArray(a)?a[h][m]=S:a[nt({r:h,c:m})]=S}break}f=d.lastIndex}m>c.e.c&&(c.e.c=m)}),a["!ref"]=Rt(c),a}function r(i,s){return gl(t(i,s),s)}function n(i){for(var s=["{\\rtf1\\ansi"],o=br(i["!ref"]),a,l=Array.isArray(i),c=o.s.r;c<=o.e.r;++c){s.push("\\trowd\\trautofit1");for(var u=o.s.c;u<=o.e.c;++u)s.push("\\cellx"+(u+1));for(s.push("\\pard\\intbl"),u=o.s.c;u<=o.e.c;++u){var h=nt({r:c,c:u});a=l?(i[c]||[])[u]:i[h],!(!a||a.v==null&&(!a.f||a.F))&&(s.push(" "+(a.w||(sa(a),a.w))),s.push("\\cell"))}s.push("\\pard\\intbl\\row")}return s.join("")+"}"}return{to_workbook:r,to_sheet:t,from_sheet:n}}();function P4(t){var e=t.slice(t[0]==="#"?1:0).slice(0,6);return[parseInt(e.slice(0,2),16),parseInt(e.slice(2,4),16),parseInt(e.slice(4,6),16)]}function Rf(t){for(var e=0,r=1;e!=3;++e)r=r*256+(t[e]>255?255:t[e]<0?0:t[e]);return r.toString(16).toUpperCase().slice(1)}function D4(t){var e=t[0]/255,r=t[1]/255,n=t[2]/255,i=Math.max(e,r,n),s=Math.min(e,r,n),o=i-s;if(o===0)return[0,0,e];var a=0,l=0,c=i+s;switch(l=o/(c>1?2-c:c),i){case e:a=((r-n)/o+6)%6;break;case r:a=(n-e)/o+2;break;case n:a=(e-r)/o+4;break}return[a/6,l,c/2]}function k4(t){var e=t[0],r=t[1],n=t[2],i=r*2*(n<.5?n:1-n),s=n-i/2,o=[s,s,s],a=6*e,l;if(r!==0)switch(a|0){case 0:case 6:l=i*a,o[0]+=i,o[1]+=l;break;case 1:l=i*(2-a),o[0]+=l,o[1]+=i;break;case 2:l=i*(a-2),o[1]+=i,o[2]+=l;break;case 3:l=i*(4-a),o[1]+=l,o[2]+=i;break;case 4:l=i*(a-4),o[2]+=i,o[0]+=l;break;case 5:l=i*(6-a),o[2]+=l,o[0]+=i;break}for(var c=0;c!=3;++c)o[c]=Math.round(o[c]*255);return o}function np(t,e){if(e===0)return t;var r=D4(P4(t));return e<0?r[2]=r[2]*(1+e):r[2]=1-(1-r[2])*(1-e),Rf(k4(r))}var gP=6,N4=15,H4=1,Nn=gP;function ip(t){return Math.floor((t+Math.round(128/Nn)/256)*Nn)}function sp(t){return Math.floor((t-5)/Nn*100+.5)/100}function G1(t){return Math.round((t*Nn+5)/Nn*256)/256}function cv(t){return G1(sp(ip(t)))}function _x(t){var e=Math.abs(t-cv(t)),r=Nn;if(e>.005)for(Nn=H4;Nn":case"":break;case"":case"":i={},a.diagonalUp&&(i.diagonalUp=ar(a.diagonalUp)),a.diagonalDown&&(i.diagonalDown=ar(a.diagonalDown)),e.Borders.push(i);break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":case"":break;case"":break;case"":case"":break;case"":break;case"":case"":break;case"":break;case"":case"":break;case"":break;case"":case"":break;case"":break;case"":break;case"":case"":break;case"":case"":break;case"":s=!1;break;default:if(n&&n.WTF&&!s)throw new Error("unrecognized "+a[0]+" in borders")}})}function B4(t,e,r,n){e.Fills=[];var i={},s=!1;(t[0].match(yn)||[]).forEach(function(o){var a=Qe(o);switch(wo(a[0])){case"":case"":break;case"":case"":i={},e.Fills.push(i);break;case"":break;case"":break;case"":e.Fills.push(i),i={};break;case"":a.patternType&&(i.patternType=a.patternType);break;case"":case"":break;case"":case"":break;case"":case"":break;case"":break;case"":break;case"":break;case"":break;case"":case"":break;case"":s=!1;break;default:if(n&&n.WTF&&!s)throw new Error("unrecognized "+a[0]+" in fills")}})}function V4(t,e,r,n){e.Fonts=[];var i={},s=!1;(t[0].match(yn)||[]).forEach(function(o){var a=Qe(o);switch(wo(a[0])){case"":case"":break;case"":break;case"":case"":e.Fonts.push(i),i={};break;case"":case"":break;case"":i.bold=1;break;case"":i.italic=1;break;case"":i.underline=1;break;case"":i.strike=1;break;case"":i.outline=1;break;case"":i.shadow=1;break;case"":i.condense=1;break;case"":i.extend=1;break;case"":case"":break;case"":case"":break;case"":case"":break;case"":case"":break;case"":case"":break;case"":s=!1;break;case"":case"":break;case"":s=!1;break;default:if(n&&n.WTF&&!s)throw new Error("unrecognized "+a[0]+" in fonts")}})}function W4(t,e,r){e.NumberFmt=[];for(var n=fo(ot),i=0;i":case"":case"":break;case"0){if(l>392){for(l=392;l>60&&e.NumberFmt[l]!=null;--l);e.NumberFmt[l]=a}fc(a,l)}}break;case"":break;default:if(r.WTF)throw new Error("unrecognized "+o[0]+" in numFmts")}}}var Wg=["numFmtId","fillId","fontId","borderId","xfId"],Ug=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"];function U4(t,e,r){e.CellXf=[];var n,i=!1;(t[0].match(yn)||[]).forEach(function(s){var o=Qe(s),a=0;switch(wo(o[0])){case"":case"":case"":break;case"":for(n=o,delete n[0],a=0;a392){for(a=392;a>60;--a)if(e.NumberFmt[n.numFmtId]==e.NumberFmt[a]){n.numFmtId=a;break}}e.CellXf.push(n);break;case"":break;case"":var l={};o.vertical&&(l.vertical=o.vertical),o.horizontal&&(l.horizontal=o.horizontal),o.textRotation!=null&&(l.textRotation=o.textRotation),o.indent&&(l.indent=o.indent),o.wrapText&&(l.wrapText=ar(o.wrapText)),n.alignment=l;break;case"":break;case"":case"":break;case"":i=!1;break;case"":case"":break;case"":i=!1;break;default:if(r&&r.WTF&&!i)throw new Error("unrecognized "+o[0]+" in cellXfs")}})}var Y4=function(){var e=/<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/,r=/<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/,n=/<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/,i=/<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/,s=/<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/;return function(a,l,c){var u={};if(!a)return u;a=a.replace(//mg,"").replace(//gm,"");var h;return(h=a.match(e))&&W4(h,u,c),(h=a.match(i))&&V4(h,u,l,c),(h=a.match(n))&&B4(h,u,l,c),(h=a.match(s))&&$4(h,u,l,c),(h=a.match(r))&&U4(h,u,c),u}}();function z4(t,e){var r=t.read_shift(2),n=Cn(t);return[r,n]}function G4(t,e,r){var n={};n.sz=t.read_shift(2)/20;var i=r$(t);i.fItalic&&(n.italic=1),i.fCondense&&(n.condense=1),i.fExtend&&(n.extend=1),i.fShadow&&(n.shadow=1),i.fOutline&&(n.outline=1),i.fStrikeout&&(n.strike=1);var s=t.read_shift(2);switch(s===700&&(n.bold=1),t.read_shift(2)){case 1:n.vertAlign="superscript";break;case 2:n.vertAlign="subscript";break}var o=t.read_shift(1);o!=0&&(n.underline=o);var a=t.read_shift(1);a>0&&(n.family=a);var l=t.read_shift(1);switch(l>0&&(n.charset=l),t.l++,n.color=t$(t),t.read_shift(1)){case 1:n.scheme="major";break;case 2:n.scheme="minor";break}return n.name=Cn(t),n}var j4=xn;function K4(t,e){var r=t.l+e,n=t.read_shift(2),i=t.read_shift(2);return t.l=r,{ixfe:n,numFmtId:i}}var X4=xn;function q4(t,e,r){var n={};n.NumberFmt=[];for(var i in ot)n.NumberFmt[i]=ot[i];n.CellXf=[],n.Fonts=[];var s=[],o=!1;return ca(t,function(l,c,u){switch(u){case 44:n.NumberFmt[l[0]]=l[1],fc(l[1],l[0]);break;case 43:n.Fonts.push(l),l.color.theme!=null&&e&&e.themeElements&&e.themeElements.clrScheme&&(l.color.rgb=np(e.themeElements.clrScheme[l.color.theme].rgb,l.color.tint||0));break;case 1025:break;case 45:break;case 46:break;case 47:s[s.length-1]==617&&n.CellXf.push(l);break;case 48:case 507:case 572:case 475:break;case 1171:case 2102:case 1130:case 512:case 2095:case 3072:break;case 35:o=!0;break;case 36:o=!1;break;case 37:s.push(u),o=!0;break;case 38:s.pop(),o=!1;break;default:if(c.T>0)s.push(u);else if(c.T<0)s.pop();else if(!o||r.WTF&&s[s.length-1]!=37)throw new Error("Unexpected record 0x"+u.toString(16))}}),n}var Z4=["","","","","","","","","","","",""];function J4(t,e,r){e.themeElements.clrScheme=[];var n={};(t[0].match(yn)||[]).forEach(function(i){var s=Qe(i);switch(s[0]){case"":break;case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":s[0].charAt(1)==="/"?(e.themeElements.clrScheme[Z4.indexOf(s[0])]=n,n={}):n.name=s[0].slice(3,s[0].length-1);break;default:if(r&&r.WTF)throw new Error("Unrecognized "+s[0]+" in clrScheme")}})}function Q4(){}function e3(){}var t3=/]*)>[\s\S]*<\/a:clrScheme>/,r3=/]*)>[\s\S]*<\/a:fontScheme>/,n3=/]*)>[\s\S]*<\/a:fmtScheme>/;function i3(t,e,r){e.themeElements={};var n;[["clrScheme",t3,J4],["fontScheme",r3,Q4],["fmtScheme",n3,e3]].forEach(function(i){if(!(n=t.match(i[1])))throw new Error(i[0]+" not found in themeElements");i[2](n,e,r)})}var s3=/]*)>[\s\S]*<\/a:themeElements>/;function wP(t,e){(!t||t.length===0)&&(t=o3());var r,n={};if(!(r=t.match(s3)))throw new Error("themeElements not found in theme");return i3(r[0],n,e),n.raw=t,n}function o3(t,e){var r=[AO];return r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r.join("")}function a3(t,e,r){var n=t.l+e,i=t.read_shift(4);if(i!==124226){if(!r.cellStyles){t.l=n;return}var s=t.slice(t.l);t.l=n;var o;try{o=_O(s,{type:"array"})}catch{return}var a=wi(o,"theme/theme/theme1.xml",!0);if(a)return wP(a,r)}}function l3(t){return t.read_shift(4)}function c3(t){var e={};switch(e.xclrType=t.read_shift(2),e.nTintShade=t.read_shift(2),e.xclrType){case 0:t.l+=4;break;case 1:e.xclrValue=u3(t,4);break;case 2:e.xclrValue=nP(t);break;case 3:e.xclrValue=l3(t);break;case 4:t.l+=4;break}return t.l+=8,e}function u3(t,e){return xn(t,e)}function h3(t,e){return xn(t,e)}function d3(t){var e=t.read_shift(2),r=t.read_shift(2)-4,n=[e];switch(e){case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 13:n[1]=c3(t);break;case 6:n[1]=h3(t,r);break;case 14:case 15:n[1]=t.read_shift(r===1?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+e+" "+r)}return n}function f3(t,e){var r=t.l+e;t.l+=2;var n=t.read_shift(2);t.l+=2;for(var i=t.read_shift(2),s=[];i-- >0;)s.push(d3(t,r-t.l));return{ixfe:n,ext:s}}function g3(t,e){e.forEach(function(r){switch(r[0]){}})}function m3(t,e){return{flags:t.read_shift(4),version:t.read_shift(4),name:Cn(t)}}function p3(t){for(var e=[],r=t.read_shift(4);r-- >0;)e.push([t.read_shift(4),t.read_shift(4)]);return e}function w3(t){return t.l+=4,t.read_shift(4)!=0}function v3(t,e,r){var n={Types:[],Cell:[],Value:[]},i=r||{},s=[],o=!1,a=2;return ca(t,function(l,c,u){switch(u){case 335:n.Types.push({name:l.name});break;case 51:l.forEach(function(h){a==1?n.Cell.push({type:n.Types[h[0]-1].name,index:h[1]}):a==0&&n.Value.push({type:n.Types[h[0]-1].name,index:h[1]})});break;case 337:a=l?1:0;break;case 338:a=2;break;case 35:s.push(u),o=!0;break;case 36:s.pop(),o=!1;break;default:if(!c.T){if(!o||i.WTF&&s[s.length-1]!=35)throw new Error("Unexpected record 0x"+u.toString(16))}}}),n}function C3(t,e,r){var n={Types:[],Cell:[],Value:[]};if(!t)return n;var i=!1,s=2,o;return t.replace(yn,function(a){var l=Qe(a);switch(wo(l[0])){case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":s=2;break;case"":s=2;break;case"":case"":case"":break;case"":i=!1;break;case"":case"":break;case"]*r:id="([^"]*)"/)||["",""])[1];return e["!id"][r].Target}function aT(t,e,r,n){var i=Array.isArray(t),s;e.forEach(function(o){var a=Fn(o.ref);if(i?(t[a.r]||(t[a.r]=[]),s=t[a.r][a.c]):s=t[o.ref],!s){s={t:"z"},i?t[a.r][a.c]=s:t[o.ref]=s;var l=br(t["!ref"]||"BDWGO1000001:A1");l.s.r>a.r&&(l.s.r=a.r),l.e.ra.c&&(l.s.c=a.c),l.e.c=0;--h){if(!r&&s.c[h].T)return;r&&!s.c[h].T&&s.c.splice(h,1)}if(r&&n){for(h=0;h/))return[];var r=[],n=[],i=t.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/);i&&i[1]&&i[1].split(/<\/\w*:?author>/).forEach(function(o){if(!(o===""||o.trim()==="")){var a=o.match(/<(?:\w+:)?author[^>]*>(.*)/);a&&r.push(a[1])}});var s=t.match(/<(?:\w+:)?commentList>([\s\S]*)<\/(?:\w+:)?commentList>/);return s&&s[1]&&s[1].split(/<\/\w*:?comment>/).forEach(function(o){if(!(o===""||o.trim()==="")){var a=o.match(/<(?:\w+:)?comment[^>]*>/);if(a){var l=Qe(a[0]),c={author:l.authorId&&r[l.authorId]||"sheetjsghost",ref:l.ref,guid:l.guid},u=Fn(l.ref);if(!(e.sheetRows&&e.sheetRows<=u.r)){var h=o.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/),d=!!h&&!!h[1]&&Tx(h[1])||{r:"",t:"",h:""};c.r=d.r,d.r==""&&(d.t=d.h=""),c.t=(d.t||"").replace(/\r\n/g,` `).replace(/\r/g,` `),e.cellHTML&&(c.h=d.h),n.push(c)}}}}),n}function T3(t,e){var r=[],n=!1,i={},s=0;return t.replace(yn,function(a,l){var c=Qe(a);switch(wo(c[0])){case"":break;case"":i.t!=null&&r.push(i);break;case"":case"":i.t=t.slice(s,l).replace(/\r\n/g,` `).replace(/\r/g,` `);break;case"":n=!0;break;case"":n=!1;break;case"":case"":case"":break;case"":n=!1;break;default:if(!n&&e.WTF)throw new Error("unrecognized "+c[0]+" in threaded comments")}return a}),r}function _3(t,e){var r=[],n=!1;return t.replace(yn,function(s){var o=Qe(s);switch(wo(o[0])){case"":break;case"":break;case"":case"":case"":break;case"":n=!1;break;default:if(!n&&e.WTF)throw new Error("unrecognized "+o[0]+" in threaded comments")}return s}),r}function A3(t){var e={};e.iauthor=t.read_shift(4);var r=Dc(t);return e.rfx=r.s,e.ref=nt(r.s),t.l+=16,e}var M3=Cn;function I3(t,e){var r=[],n=[],i={},s=!1;return ca(t,function(a,l,c){switch(c){case 632:n.push(a);break;case 635:i=a;break;case 637:i.t=a.t,i.h=a.h,i.r=a.r;break;case 636:if(i.author=n[i.iauthor],delete i.iauthor,e.sheetRows&&i.rfx&&e.sheetRows<=i.rfx.r)break;i.t||(i.t=""),delete i.rfx,r.push(i);break;case 3072:break;case 35:s=!0;break;case 36:s=!1;break;case 37:break;case 38:break;default:if(!l.T){if(!s||e.WTF)throw new Error("Unexpected record 0x"+c.toString(16))}}}),r}var O3="application/vnd.ms-office.vbaProject";function P3(t){var e=Et.utils.cfb_new({root:"R"});return t.FullPaths.forEach(function(r,n){if(!(r.slice(-1)==="/"||!r.match(/_VBA_PROJECT_CUR/))){var i=r.replace(/^[^\/]*/,"R").replace(/\/_VBA_PROJECT_CUR\u0000*/,"");Et.utils.cfb_add(e,i,t.FileIndex[n].content)}}),Et.write(e)}function D3(){return{"!type":"dialog"}}function k3(){return{"!type":"dialog"}}function N3(){return{"!type":"macro"}}function H3(){return{"!type":"macro"}}var Gu=function(){var t=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,e={r:0,c:0};function r(n,i,s,o){var a=!1,l=!1;s.length==0?l=!0:s.charAt(0)=="["&&(l=!0,s=s.slice(1,-1)),o.length==0?a=!0:o.charAt(0)=="["&&(a=!0,o=o.slice(1,-1));var c=s.length>0?parseInt(s,10)|0:0,u=o.length>0?parseInt(o,10)|0:0;return a?u+=e.c:--u,l?c+=e.r:--c,i+(a?"":"$")+Br(u)+(l?"":"$")+on(c)}return function(i,s){return e=s,i.replace(t,r)}}(),vP=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g,F3=function(){return function(e,r){return e.replace(vP,function(n,i,s,o,a,l){var c=Sx(o)-(s?0:r.c),u=Cx(l)-(a?0:r.r),h=u==0?"":a?u+1:"["+u+"]",d=c==0?"":s?c+1:"["+c+"]";return i+"R"+h+"C"+d})}}();function CP(t,e){return t.replace(vP,function(r,n,i,s,o,a){return n+(i=="$"?i+s:Br(Sx(s)+e.c))+(o=="$"?o+a:on(Cx(a)+e.r))})}function L3(t,e,r){var n=hh(e),i=n.s,s=Fn(r),o={r:s.r-i.r,c:s.c-i.c};return CP(t,o)}function $3(t){return t.length!=1}function lT(t){return t.replace(/_xlfn\./g,"")}function Ir(t){t.l+=1}function ul(t,e){var r=t.read_shift(2);return[r&16383,r>>14&1,r>>15&1]}function SP(t,e,r){var n=2;if(r){if(r.biff>=2&&r.biff<=5)return xP(t);r.biff==12&&(n=4)}var i=t.read_shift(n),s=t.read_shift(n),o=ul(t),a=ul(t);return{s:{r:i,c:o[0],cRel:o[1],rRel:o[2]},e:{r:s,c:a[0],cRel:a[1],rRel:a[2]}}}function xP(t){var e=ul(t),r=ul(t),n=t.read_shift(1),i=t.read_shift(1);return{s:{r:e[0],c:n,cRel:e[1],rRel:e[2]},e:{r:r[0],c:i,cRel:r[1],rRel:r[2]}}}function B3(t,e,r){if(r.biff<8)return xP(t);var n=t.read_shift(r.biff==12?4:2),i=t.read_shift(r.biff==12?4:2),s=ul(t),o=ul(t);return{s:{r:n,c:s[0],cRel:s[1],rRel:s[2]},e:{r:i,c:o[0],cRel:o[1],rRel:o[2]}}}function yP(t,e,r){if(r&&r.biff>=2&&r.biff<=5)return V3(t);var n=t.read_shift(r&&r.biff==12?4:2),i=ul(t);return{r:n,c:i[0],cRel:i[1],rRel:i[2]}}function V3(t){var e=ul(t),r=t.read_shift(1);return{r:e[0],c:r,cRel:e[1],rRel:e[2]}}function W3(t){var e=t.read_shift(2),r=t.read_shift(2);return{r:e,c:r&255,fQuoted:!!(r&16384),cRel:r>>15,rRel:r>>15}}function U3(t,e,r){var n=r&&r.biff?r.biff:8;if(n>=2&&n<=5)return Y3(t);var i=t.read_shift(n>=12?4:2),s=t.read_shift(2),o=(s&16384)>>14,a=(s&32768)>>15;if(s&=16383,a==1)for(;i>524287;)i-=1048576;if(o==1)for(;s>8191;)s=s-16384;return{r:i,c:s,cRel:o,rRel:a}}function Y3(t){var e=t.read_shift(2),r=t.read_shift(1),n=(e&32768)>>15,i=(e&16384)>>14;return e&=16383,n==1&&e>=8192&&(e=e-16384),i==1&&r>=128&&(r=r-256),{r:e,c:r,cRel:i,rRel:n}}function z3(t,e,r){var n=(t[t.l++]&96)>>5,i=SP(t,r.biff>=2&&r.biff<=5?6:8,r);return[n,i]}function G3(t,e,r){var n=(t[t.l++]&96)>>5,i=t.read_shift(2,"i"),s=8;if(r)switch(r.biff){case 5:t.l+=12,s=6;break;case 12:s=12;break}var o=SP(t,s,r);return[n,i,o]}function j3(t,e,r){var n=(t[t.l++]&96)>>5;return t.l+=r&&r.biff>8?12:r.biff<8?6:8,[n]}function K3(t,e,r){var n=(t[t.l++]&96)>>5,i=t.read_shift(2),s=8;if(r)switch(r.biff){case 5:t.l+=12,s=6;break;case 12:s=12;break}return t.l+=s,[n,i]}function X3(t,e,r){var n=(t[t.l++]&96)>>5,i=B3(t,e-1,r);return[n,i]}function q3(t,e,r){var n=(t[t.l++]&96)>>5;return t.l+=r.biff==2?6:r.biff==12?14:7,[n]}function cT(t){var e=t[t.l+1]&1,r=1;return t.l+=4,[e,r]}function Z3(t,e,r){t.l+=2;for(var n=t.read_shift(r&&r.biff==2?1:2),i=[],s=0;s<=n;++s)i.push(t.read_shift(r&&r.biff==2?1:2));return i}function J3(t,e,r){var n=t[t.l+1]&255?1:0;return t.l+=2,[n,t.read_shift(r&&r.biff==2?1:2)]}function Q3(t,e,r){var n=t[t.l+1]&255?1:0;return t.l+=2,[n,t.read_shift(r&&r.biff==2?1:2)]}function eV(t){var e=t[t.l+1]&255?1:0;return t.l+=2,[e,t.read_shift(2)]}function tV(t,e,r){var n=t[t.l+1]&255?1:0;return t.l+=r&&r.biff==2?3:4,[n]}function bP(t){var e=t.read_shift(1),r=t.read_shift(1);return[e,r]}function rV(t){return t.read_shift(2),bP(t)}function nV(t){return t.read_shift(2),bP(t)}function iV(t,e,r){var n=(t[t.l]&96)>>5;t.l+=1;var i=yP(t,0,r);return[n,i]}function sV(t,e,r){var n=(t[t.l]&96)>>5;t.l+=1;var i=U3(t,0,r);return[n,i]}function oV(t,e,r){var n=(t[t.l]&96)>>5;t.l+=1;var i=t.read_shift(2);r&&r.biff==5&&(t.l+=12);var s=yP(t,0,r);return[n,i,s]}function aV(t,e,r){var n=(t[t.l]&96)>>5;t.l+=1;var i=t.read_shift(r&&r.biff<=3?1:2);return[lW[i],TP[i],n]}function lV(t,e,r){var n=t[t.l++],i=t.read_shift(1),s=r&&r.biff<=3?[n==88?-1:0,t.read_shift(1)]:cV(t);return[i,(s[0]===0?TP:aW)[s[1]]]}function cV(t){return[t[t.l+1]>>7,t.read_shift(2)&32767]}function uV(t,e,r){t.l+=r&&r.biff==2?3:4}function hV(t,e,r){if(t.l++,r&&r.biff==12)return[t.read_shift(4,"i"),0];var n=t.read_shift(2),i=t.read_shift(r&&r.biff==2?1:2);return[n,i]}function dV(t){return t.l++,kc[t.read_shift(1)]}function fV(t){return t.l++,t.read_shift(2)}function gV(t){return t.l++,t.read_shift(1)!==0}function mV(t){return t.l++,wn(t)}function pV(t,e,r){return t.l++,Xf(t,e-1,r)}function wV(t,e){var r=[t.read_shift(1)];if(e==12)switch(r[0]){case 2:r[0]=4;break;case 4:r[0]=16;break;case 0:r[0]=1;break;case 1:r[0]=2;break}switch(r[0]){case 4:r[1]=Tr(t,1)?"TRUE":"FALSE",e!=12&&(t.l+=7);break;case 37:case 16:r[1]=kc[t[t.l]],t.l+=e==12?4:8;break;case 0:t.l+=8;break;case 1:r[1]=wn(t);break;case 2:r[1]=Nc(t,0,{biff:e>0&&e<8?2:e});break;default:throw new Error("Bad SerAr: "+r[0])}return r}function vV(t,e,r){for(var n=t.read_shift(r.biff==12?4:2),i=[],s=0;s!=n;++s)i.push((r.biff==12?Dc:ew)(t));return i}function CV(t,e,r){var n=0,i=0;r.biff==12?(n=t.read_shift(4),i=t.read_shift(4)):(i=1+t.read_shift(1),n=1+t.read_shift(2)),r.biff>=2&&r.biff<8&&(--n,--i==0&&(i=256));for(var s=0,o=[];s!=n&&(o[s]=[]);++s)for(var a=0;a!=i;++a)o[s][a]=wV(t,r.biff);return o}function SV(t,e,r){var n=t.read_shift(1)>>>5&3,i=!r||r.biff>=8?4:2,s=t.read_shift(i);switch(r.biff){case 2:t.l+=5;break;case 3:case 4:t.l+=8;break;case 5:t.l+=12;break}return[n,0,s]}function xV(t,e,r){if(r.biff==5)return yV(t);var n=t.read_shift(1)>>>5&3,i=t.read_shift(2),s=t.read_shift(4);return[n,i,s]}function yV(t){var e=t.read_shift(1)>>>5&3,r=t.read_shift(2,"i");t.l+=8;var n=t.read_shift(2);return t.l+=12,[e,r,n]}function bV(t,e,r){var n=t.read_shift(1)>>>5&3;t.l+=r&&r.biff==2?3:4;var i=t.read_shift(r&&r.biff==2?1:2);return[n,i]}function EV(t,e,r){var n=t.read_shift(1)>>>5&3,i=t.read_shift(r&&r.biff==2?1:2);return[n,i]}function RV(t,e,r){var n=t.read_shift(1)>>>5&3;return t.l+=4,r.biff<8&&t.l--,r.biff==12&&(t.l+=2),[n]}function TV(t,e,r){var n=(t[t.l++]&96)>>5,i=t.read_shift(2),s=4;if(r)switch(r.biff){case 5:s=15;break;case 12:s=6;break}return t.l+=s,[n,i]}var _V=xn,AV=xn,MV=xn;function Zf(t,e,r){return t.l+=2,[W3(t)]}function Ax(t){return t.l+=6,[]}var IV=Zf,OV=Ax,PV=Ax,DV=Zf;function EP(t){return t.l+=2,[Dr(t),t.read_shift(2)&1]}var kV=Zf,NV=EP,HV=Ax,FV=Zf,LV=Zf,$V=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];function BV(t){t.l+=2;var e=t.read_shift(2),r=t.read_shift(2),n=t.read_shift(4),i=t.read_shift(2),s=t.read_shift(2),o=$V[r>>2&31];return{ixti:e,coltype:r&3,rt:o,idx:n,c:i,C:s}}function VV(t){return t.l+=2,[t.read_shift(4)]}function WV(t,e,r){return t.l+=5,t.l+=2,t.l+=r.biff==2?1:4,["PTGSHEET"]}function UV(t,e,r){return t.l+=r.biff==2?4:5,["PTGENDSHEET"]}function YV(t){var e=t.read_shift(1)>>>5&3,r=t.read_shift(2);return[e,r]}function zV(t){var e=t.read_shift(1)>>>5&3,r=t.read_shift(2);return[e,r]}function GV(t){return t.l+=4,[0,0]}var uT={1:{n:"PtgExp",f:hV},2:{n:"PtgTbl",f:MV},3:{n:"PtgAdd",f:Ir},4:{n:"PtgSub",f:Ir},5:{n:"PtgMul",f:Ir},6:{n:"PtgDiv",f:Ir},7:{n:"PtgPower",f:Ir},8:{n:"PtgConcat",f:Ir},9:{n:"PtgLt",f:Ir},10:{n:"PtgLe",f:Ir},11:{n:"PtgEq",f:Ir},12:{n:"PtgGe",f:Ir},13:{n:"PtgGt",f:Ir},14:{n:"PtgNe",f:Ir},15:{n:"PtgIsect",f:Ir},16:{n:"PtgUnion",f:Ir},17:{n:"PtgRange",f:Ir},18:{n:"PtgUplus",f:Ir},19:{n:"PtgUminus",f:Ir},20:{n:"PtgPercent",f:Ir},21:{n:"PtgParen",f:Ir},22:{n:"PtgMissArg",f:Ir},23:{n:"PtgStr",f:pV},26:{n:"PtgSheet",f:WV},27:{n:"PtgEndSheet",f:UV},28:{n:"PtgErr",f:dV},29:{n:"PtgBool",f:gV},30:{n:"PtgInt",f:fV},31:{n:"PtgNum",f:mV},32:{n:"PtgArray",f:q3},33:{n:"PtgFunc",f:aV},34:{n:"PtgFuncVar",f:lV},35:{n:"PtgName",f:SV},36:{n:"PtgRef",f:iV},37:{n:"PtgArea",f:z3},38:{n:"PtgMemArea",f:bV},39:{n:"PtgMemErr",f:_V},40:{n:"PtgMemNoMem",f:AV},41:{n:"PtgMemFunc",f:EV},42:{n:"PtgRefErr",f:RV},43:{n:"PtgAreaErr",f:j3},44:{n:"PtgRefN",f:sV},45:{n:"PtgAreaN",f:X3},46:{n:"PtgMemAreaN",f:YV},47:{n:"PtgMemNoMemN",f:zV},57:{n:"PtgNameX",f:xV},58:{n:"PtgRef3d",f:oV},59:{n:"PtgArea3d",f:G3},60:{n:"PtgRefErr3d",f:TV},61:{n:"PtgAreaErr3d",f:K3},255:{}},jV={64:32,96:32,65:33,97:33,66:34,98:34,67:35,99:35,68:36,100:36,69:37,101:37,70:38,102:38,71:39,103:39,72:40,104:40,73:41,105:41,74:42,106:42,75:43,107:43,76:44,108:44,77:45,109:45,78:46,110:46,79:47,111:47,88:34,120:34,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61},KV={1:{n:"PtgElfLel",f:EP},2:{n:"PtgElfRw",f:FV},3:{n:"PtgElfCol",f:IV},6:{n:"PtgElfRwV",f:LV},7:{n:"PtgElfColV",f:DV},10:{n:"PtgElfRadical",f:kV},11:{n:"PtgElfRadicalS",f:HV},13:{n:"PtgElfColS",f:OV},15:{n:"PtgElfColSV",f:PV},16:{n:"PtgElfRadicalLel",f:NV},25:{n:"PtgList",f:BV},29:{n:"PtgSxName",f:VV},255:{}},XV={0:{n:"PtgAttrNoop",f:GV},1:{n:"PtgAttrSemi",f:tV},2:{n:"PtgAttrIf",f:Q3},4:{n:"PtgAttrChoose",f:Z3},8:{n:"PtgAttrGoto",f:J3},16:{n:"PtgAttrSum",f:uV},32:{n:"PtgAttrBaxcel",f:cT},33:{n:"PtgAttrBaxcel",f:cT},64:{n:"PtgAttrSpace",f:rV},65:{n:"PtgAttrSpaceSemi",f:nV},128:{n:"PtgAttrIfError",f:eV},255:{}};function Jf(t,e,r,n){if(n.biff<8)return xn(t,e);for(var i=t.l+e,s=[],o=0;o!==r.length;++o)switch(r[o][0]){case"PtgArray":r[o][1]=CV(t,0,n),s.push(r[o][1]);break;case"PtgMemArea":r[o][2]=vV(t,r[o][1],n),s.push(r[o][2]);break;case"PtgExp":n&&n.biff==12&&(r[o][1][1]=t.read_shift(4),s.push(r[o][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+r[o][0]}return e=i-t.l,e!==0&&s.push(xn(t,e)),s}function Qf(t,e,r){for(var n=t.l+e,i,s,o=[];n!=t.l;)e=n-t.l,s=t[t.l],i=uT[s]||uT[jV[s]],(s===24||s===25)&&(i=(s===24?KV:XV)[t[t.l+1]]),!i||!i.f?xn(t,e):o.push([i.n,i.f(t,e,r)]);return o}function qV(t){for(var e=[],r=0;r=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function JV(t,e){if(!t&&!(e&&e.biff<=5&&e.biff>=2))throw new Error("empty sheet name");return/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(t)?"'"+t+"'":t}function RP(t,e,r){if(!t)return"SH33TJSERR0";if(r.biff>8&&(!t.XTI||!t.XTI[e]))return t.SheetNames[e];if(!t.XTI)return"SH33TJSERR6";var n=t.XTI[e];if(r.biff<8)return e>1e4&&(e-=65536),e<0&&(e=-e),e==0?"":t.XTI[e-1];if(!n)return"SH33TJSERR1";var i="";if(r.biff>8)switch(t[n[0]][0]){case 357:return i=n[1]==-1?"#REF":t.SheetNames[n[1]],n[1]==n[2]?i:i+":"+t.SheetNames[n[2]];case 358:return r.SID!=null?t.SheetNames[r.SID]:"SH33TJSSAME"+t[n[0]][0];case 355:default:return"SH33TJSSRC"+t[n[0]][0]}switch(t[n[0]][0][0]){case 1025:return i=n[1]==-1?"#REF":t.SheetNames[n[1]]||"SH33TJSERR3",n[1]==n[2]?i:i+":"+t.SheetNames[n[2]];case 14849:return t[n[0]].slice(1).map(function(s){return s.Name}).join(";;");default:return t[n[0]][0][3]?(i=n[1]==-1?"#REF":t[n[0]][0][3][n[1]]||"SH33TJSERR4",n[1]==n[2]?i:i+":"+t[n[0]][0][3][n[2]]):"SH33TJSERR2"}}function hT(t,e,r){var n=RP(t,e,r);return n=="#REF"?n:JV(n,r)}function gn(t,e,r,n,i){var s=i&&i.biff||8,o={s:{c:0,r:0},e:{c:0,r:0}},a=[],l,c,u,h=0,d=0,f,g="";if(!t[0]||!t[0][0])return"";for(var m=-1,p="",S=0,y=t[0].length;S=0){switch(t[0][m][1][0]){case 0:p=xr(" ",t[0][m][1][1]);break;case 1:p=xr("\r",t[0][m][1][1]);break;default:if(p="",i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+t[0][m][1][0])}c=c+p,m=-1}a.push(c+ZV[C[0]]+l);break;case"PtgIsect":l=a.pop(),c=a.pop(),a.push(c+" "+l);break;case"PtgUnion":l=a.pop(),c=a.pop(),a.push(c+","+l);break;case"PtgRange":l=a.pop(),c=a.pop(),a.push(c+":"+l);break;case"PtgAttrChoose":break;case"PtgAttrGoto":break;case"PtgAttrIf":break;case"PtgAttrIfError":break;case"PtgRef":u=Wd(C[1][1],o,i),a.push(Ud(u,s));break;case"PtgRefN":u=r?Wd(C[1][1],r,i):C[1][1],a.push(Ud(u,s));break;case"PtgRef3d":h=C[1][1],u=Wd(C[1][2],o,i),g=hT(n,h,i),a.push(g+"!"+Ud(u,s));break;case"PtgFunc":case"PtgFuncVar":var E=C[1][0],A=C[1][1];E||(E=0),E&=127;var O=E==0?[]:a.slice(-E);a.length-=E,A==="User"&&(A=O.shift()),a.push(A+"("+O.join(",")+")");break;case"PtgBool":a.push(C[1]?"TRUE":"FALSE");break;case"PtgInt":a.push(C[1]);break;case"PtgNum":a.push(String(C[1]));break;case"PtgStr":a.push('"'+C[1].replace(/"/g,'""')+'"');break;case"PtgErr":a.push(C[1]);break;case"PtgAreaN":f=zR(C[1][1],r?{s:r}:o,i),a.push(av(f,i));break;case"PtgArea":f=zR(C[1][1],o,i),a.push(av(f,i));break;case"PtgArea3d":h=C[1][1],f=C[1][2],g=hT(n,h,i),a.push(g+"!"+av(f,i));break;case"PtgAttrSum":a.push("SUM("+a.pop()+")");break;case"PtgAttrBaxcel":case"PtgAttrSemi":break;case"PtgName":d=C[1][2];var T=(n.names||[])[d-1]||(n[0]||[])[d],W=T?T.Name:"SH33TJSNAME"+String(d);W&&W.slice(0,6)=="_xlfn."&&!i.xlfn&&(W=W.slice(6)),a.push(W);break;case"PtgNameX":var I=C[1][1];d=C[1][2];var Y;if(i.biff<=5)I<0&&(I=-I),n[I]&&(Y=n[I][d]);else{var z="";if(((n[I]||[])[0]||[])[0]==14849||(((n[I]||[])[0]||[])[0]==1025?n[I][d]&&n[I][d].itab>0&&(z=n.SheetNames[n[I][d].itab-1]+"!"):z=n.SheetNames[d-1]+"!"),n[I]&&n[I][d])z+=n[I][d].Name;else if(n[0]&&n[0][d])z+=n[0][d].Name;else{var U=(RP(n,I,i)||"").split(";;");U[d-1]?z=U[d-1]:z+="SH33TJSERRX"}a.push(z);break}Y||(Y={Name:"SH33TJSERRY"}),a.push(Y.Name);break;case"PtgParen":var oe="(",Ce=")";if(m>=0){switch(p="",t[0][m][1][0]){case 2:oe=xr(" ",t[0][m][1][1])+oe;break;case 3:oe=xr("\r",t[0][m][1][1])+oe;break;case 4:Ce=xr(" ",t[0][m][1][1])+Ce;break;case 5:Ce=xr("\r",t[0][m][1][1])+Ce;break;default:if(i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+t[0][m][1][0])}m=-1}a.push(oe+a.pop()+Ce);break;case"PtgRefErr":a.push("#REF!");break;case"PtgRefErr3d":a.push("#REF!");break;case"PtgExp":u={c:C[1][1],r:C[1][0]};var pe={c:r.c,r:r.r};if(n.sharedf[nt(u)]){var Te=n.sharedf[nt(u)];a.push(gn(Te,o,pe,n,i))}else{var Se=!1;for(l=0;l!=n.arrayf.length;++l)if(c=n.arrayf[l],!(u.cc[0].e.c)&&!(u.rc[0].e.r)){a.push(gn(c[1],o,pe,n,i)),Se=!0;break}Se||a.push(C[1])}break;case"PtgArray":a.push("{"+qV(C[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":m=S;break;case"PtgTbl":break;case"PtgMemErr":break;case"PtgMissArg":a.push("");break;case"PtgAreaErr":a.push("#REF!");break;case"PtgAreaErr3d":a.push("#REF!");break;case"PtgList":a.push("Table"+C[1].idx+"[#"+C[1].rt+"]");break;case"PtgMemAreaN":case"PtgMemNoMemN":case"PtgAttrNoop":case"PtgSheet":case"PtgEndSheet":break;case"PtgMemFunc":break;case"PtgMemNoMem":break;case"PtgElfCol":case"PtgElfColS":case"PtgElfColSV":case"PtgElfColV":case"PtgElfLel":case"PtgElfRadical":case"PtgElfRadicalLel":case"PtgElfRadicalS":case"PtgElfRw":case"PtgElfRwV":throw new Error("Unsupported ELFs");case"PtgSxName":throw new Error("Unrecognized Formula Token: "+String(C));default:throw new Error("Unrecognized Formula Token: "+String(C))}var Ae=["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"];if(i.biff!=3&&m>=0&&Ae.indexOf(t[0][S][0])==-1){C=t[0][m];var q=!0;switch(C[1][0]){case 4:q=!1;case 0:p=xr(" ",C[1][1]);break;case 5:q=!1;case 1:p=xr("\r",C[1][1]);break;default:if(p="",i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+C[1][0])}a.push((q?p:"")+a.pop()+(q?"":p)),m=-1}}if(a.length>1&&i.WTF)throw new Error("bad formula stack");return a[0]}function QV(t,e,r){var n=t.l+e,i=r.biff==2?1:2,s,o=t.read_shift(i);if(o==65535)return[[],xn(t,e-2)];var a=Qf(t,o,r);return e!==o+i&&(s=Jf(t,e-o-i,a,r)),t.l=n,[a,s]}function eW(t,e,r){var n=t.l+e,i=r.biff==2?1:2,s,o=t.read_shift(i);if(o==65535)return[[],xn(t,e-2)];var a=Qf(t,o,r);return e!==o+i&&(s=Jf(t,e-o-i,a,r)),t.l=n,[a,s]}function tW(t,e,r,n){var i=t.l+e,s=Qf(t,n,r),o;return i!==t.l&&(o=Jf(t,i-t.l,s,r)),[s,o]}function rW(t,e,r){var n=t.l+e,i,s=t.read_shift(2),o=Qf(t,s,r);return s==65535?[[],xn(t,e-2)]:(e!==s+2&&(i=Jf(t,n-s-2,o,r)),[o,i])}function nW(t){var e;if(jo(t,t.l+6)!==65535)return[wn(t),"n"];switch(t[t.l]){case 0:return t.l+=8,["String","s"];case 1:return e=t[t.l+2]===1,t.l+=8,[e,"b"];case 2:return e=t[t.l+2],t.l+=8,[e,"e"];case 3:return t.l+=8,["","s"]}return[]}function uv(t,e,r){var n=t.l+e,i=vo(t);r.biff==2&&++t.l;var s=nW(t),o=t.read_shift(1);r.biff!=2&&(t.read_shift(1),r.biff>=5&&t.read_shift(4));var a=eW(t,n-t.l,r);return{cell:i,val:s[0],formula:a,shared:o>>3&1,tt:s[1]}}function tw(t,e,r){var n=t.read_shift(4),i=Qf(t,n,r),s=t.read_shift(4),o=s>0?Jf(t,s,i,r):null;return[i,o]}var iW=tw,rw=tw,sW=tw,oW=tw,aW={0:"BEEP",1:"OPEN",2:"OPEN.LINKS",3:"CLOSE.ALL",4:"SAVE",5:"SAVE.AS",6:"FILE.DELETE",7:"PAGE.SETUP",8:"PRINT",9:"PRINTER.SETUP",10:"QUIT",11:"NEW.WINDOW",12:"ARRANGE.ALL",13:"WINDOW.SIZE",14:"WINDOW.MOVE",15:"FULL",16:"CLOSE",17:"RUN",22:"SET.PRINT.AREA",23:"SET.PRINT.TITLES",24:"SET.PAGE.BREAK",25:"REMOVE.PAGE.BREAK",26:"FONT",27:"DISPLAY",28:"PROTECT.DOCUMENT",29:"PRECISION",30:"A1.R1C1",31:"CALCULATE.NOW",32:"CALCULATION",34:"DATA.FIND",35:"EXTRACT",36:"DATA.DELETE",37:"SET.DATABASE",38:"SET.CRITERIA",39:"SORT",40:"DATA.SERIES",41:"TABLE",42:"FORMAT.NUMBER",43:"ALIGNMENT",44:"STYLE",45:"BORDER",46:"CELL.PROTECTION",47:"COLUMN.WIDTH",48:"UNDO",49:"CUT",50:"COPY",51:"PASTE",52:"CLEAR",53:"PASTE.SPECIAL",54:"EDIT.DELETE",55:"INSERT",56:"FILL.RIGHT",57:"FILL.DOWN",61:"DEFINE.NAME",62:"CREATE.NAMES",63:"FORMULA.GOTO",64:"FORMULA.FIND",65:"SELECT.LAST.CELL",66:"SHOW.ACTIVE.CELL",67:"GALLERY.AREA",68:"GALLERY.BAR",69:"GALLERY.COLUMN",70:"GALLERY.LINE",71:"GALLERY.PIE",72:"GALLERY.SCATTER",73:"COMBINATION",74:"PREFERRED",75:"ADD.OVERLAY",76:"GRIDLINES",77:"SET.PREFERRED",78:"AXES",79:"LEGEND",80:"ATTACH.TEXT",81:"ADD.ARROW",82:"SELECT.CHART",83:"SELECT.PLOT.AREA",84:"PATTERNS",85:"MAIN.CHART",86:"OVERLAY",87:"SCALE",88:"FORMAT.LEGEND",89:"FORMAT.TEXT",90:"EDIT.REPEAT",91:"PARSE",92:"JUSTIFY",93:"HIDE",94:"UNHIDE",95:"WORKSPACE",96:"FORMULA",97:"FORMULA.FILL",98:"FORMULA.ARRAY",99:"DATA.FIND.NEXT",100:"DATA.FIND.PREV",101:"FORMULA.FIND.NEXT",102:"FORMULA.FIND.PREV",103:"ACTIVATE",104:"ACTIVATE.NEXT",105:"ACTIVATE.PREV",106:"UNLOCKED.NEXT",107:"UNLOCKED.PREV",108:"COPY.PICTURE",109:"SELECT",110:"DELETE.NAME",111:"DELETE.FORMAT",112:"VLINE",113:"HLINE",114:"VPAGE",115:"HPAGE",116:"VSCROLL",117:"HSCROLL",118:"ALERT",119:"NEW",120:"CANCEL.COPY",121:"SHOW.CLIPBOARD",122:"MESSAGE",124:"PASTE.LINK",125:"APP.ACTIVATE",126:"DELETE.ARROW",127:"ROW.HEIGHT",128:"FORMAT.MOVE",129:"FORMAT.SIZE",130:"FORMULA.REPLACE",131:"SEND.KEYS",132:"SELECT.SPECIAL",133:"APPLY.NAMES",134:"REPLACE.FONT",135:"FREEZE.PANES",136:"SHOW.INFO",137:"SPLIT",138:"ON.WINDOW",139:"ON.DATA",140:"DISABLE.INPUT",142:"OUTLINE",143:"LIST.NAMES",144:"FILE.CLOSE",145:"SAVE.WORKBOOK",146:"DATA.FORM",147:"COPY.CHART",148:"ON.TIME",149:"WAIT",150:"FORMAT.FONT",151:"FILL.UP",152:"FILL.LEFT",153:"DELETE.OVERLAY",155:"SHORT.MENUS",159:"SET.UPDATE.STATUS",161:"COLOR.PALETTE",162:"DELETE.STYLE",163:"WINDOW.RESTORE",164:"WINDOW.MAXIMIZE",166:"CHANGE.LINK",167:"CALCULATE.DOCUMENT",168:"ON.KEY",169:"APP.RESTORE",170:"APP.MOVE",171:"APP.SIZE",172:"APP.MINIMIZE",173:"APP.MAXIMIZE",174:"BRING.TO.FRONT",175:"SEND.TO.BACK",185:"MAIN.CHART.TYPE",186:"OVERLAY.CHART.TYPE",187:"SELECT.END",188:"OPEN.MAIL",189:"SEND.MAIL",190:"STANDARD.FONT",191:"CONSOLIDATE",192:"SORT.SPECIAL",193:"GALLERY.3D.AREA",194:"GALLERY.3D.COLUMN",195:"GALLERY.3D.LINE",196:"GALLERY.3D.PIE",197:"VIEW.3D",198:"GOAL.SEEK",199:"WORKGROUP",200:"FILL.GROUP",201:"UPDATE.LINK",202:"PROMOTE",203:"DEMOTE",204:"SHOW.DETAIL",206:"UNGROUP",207:"OBJECT.PROPERTIES",208:"SAVE.NEW.OBJECT",209:"SHARE",210:"SHARE.NAME",211:"DUPLICATE",212:"APPLY.STYLE",213:"ASSIGN.TO.OBJECT",214:"OBJECT.PROTECTION",215:"HIDE.OBJECT",216:"SET.EXTRACT",217:"CREATE.PUBLISHER",218:"SUBSCRIBE.TO",219:"ATTRIBUTES",220:"SHOW.TOOLBAR",222:"PRINT.PREVIEW",223:"EDIT.COLOR",224:"SHOW.LEVELS",225:"FORMAT.MAIN",226:"FORMAT.OVERLAY",227:"ON.RECALC",228:"EDIT.SERIES",229:"DEFINE.STYLE",240:"LINE.PRINT",243:"ENTER.DATA",249:"GALLERY.RADAR",250:"MERGE.STYLES",251:"EDITION.OPTIONS",252:"PASTE.PICTURE",253:"PASTE.PICTURE.LINK",254:"SPELLING",256:"ZOOM",259:"INSERT.OBJECT",260:"WINDOW.MINIMIZE",265:"SOUND.NOTE",266:"SOUND.PLAY",267:"FORMAT.SHAPE",268:"EXTEND.POLYGON",269:"FORMAT.AUTO",272:"GALLERY.3D.BAR",273:"GALLERY.3D.SURFACE",274:"FILL.AUTO",276:"CUSTOMIZE.TOOLBAR",277:"ADD.TOOL",278:"EDIT.OBJECT",279:"ON.DOUBLECLICK",280:"ON.ENTRY",281:"WORKBOOK.ADD",282:"WORKBOOK.MOVE",283:"WORKBOOK.COPY",284:"WORKBOOK.OPTIONS",285:"SAVE.WORKSPACE",288:"CHART.WIZARD",289:"DELETE.TOOL",290:"MOVE.TOOL",291:"WORKBOOK.SELECT",292:"WORKBOOK.ACTIVATE",293:"ASSIGN.TO.TOOL",295:"COPY.TOOL",296:"RESET.TOOL",297:"CONSTRAIN.NUMERIC",298:"PASTE.TOOL",302:"WORKBOOK.NEW",305:"SCENARIO.CELLS",306:"SCENARIO.DELETE",307:"SCENARIO.ADD",308:"SCENARIO.EDIT",309:"SCENARIO.SHOW",310:"SCENARIO.SHOW.NEXT",311:"SCENARIO.SUMMARY",312:"PIVOT.TABLE.WIZARD",313:"PIVOT.FIELD.PROPERTIES",314:"PIVOT.FIELD",315:"PIVOT.ITEM",316:"PIVOT.ADD.FIELDS",318:"OPTIONS.CALCULATION",319:"OPTIONS.EDIT",320:"OPTIONS.VIEW",321:"ADDIN.MANAGER",322:"MENU.EDITOR",323:"ATTACH.TOOLBARS",324:"VBAActivate",325:"OPTIONS.CHART",328:"VBA.INSERT.FILE",330:"VBA.PROCEDURE.DEFINITION",336:"ROUTING.SLIP",338:"ROUTE.DOCUMENT",339:"MAIL.LOGON",342:"INSERT.PICTURE",343:"EDIT.TOOL",344:"GALLERY.DOUGHNUT",350:"CHART.TREND",352:"PIVOT.ITEM.PROPERTIES",354:"WORKBOOK.INSERT",355:"OPTIONS.TRANSITION",356:"OPTIONS.GENERAL",370:"FILTER.ADVANCED",373:"MAIL.ADD.MAILER",374:"MAIL.DELETE.MAILER",375:"MAIL.REPLY",376:"MAIL.REPLY.ALL",377:"MAIL.FORWARD",378:"MAIL.NEXT.LETTER",379:"DATA.LABEL",380:"INSERT.TITLE",381:"FONT.PROPERTIES",382:"MACRO.OPTIONS",383:"WORKBOOK.HIDE",384:"WORKBOOK.UNHIDE",385:"WORKBOOK.DELETE",386:"WORKBOOK.NAME",388:"GALLERY.CUSTOM",390:"ADD.CHART.AUTOFORMAT",391:"DELETE.CHART.AUTOFORMAT",392:"CHART.ADD.DATA",393:"AUTO.OUTLINE",394:"TAB.ORDER",395:"SHOW.DIALOG",396:"SELECT.ALL",397:"UNGROUP.SHEETS",398:"SUBTOTAL.CREATE",399:"SUBTOTAL.REMOVE",400:"RENAME.OBJECT",412:"WORKBOOK.SCROLL",413:"WORKBOOK.NEXT",414:"WORKBOOK.PREV",415:"WORKBOOK.TAB.SPLIT",416:"FULL.SCREEN",417:"WORKBOOK.PROTECT",420:"SCROLLBAR.PROPERTIES",421:"PIVOT.SHOW.PAGES",422:"TEXT.TO.COLUMNS",423:"FORMAT.CHARTTYPE",424:"LINK.FORMAT",425:"TRACER.DISPLAY",430:"TRACER.NAVIGATE",431:"TRACER.CLEAR",432:"TRACER.ERROR",433:"PIVOT.FIELD.GROUP",434:"PIVOT.FIELD.UNGROUP",435:"CHECKBOX.PROPERTIES",436:"LABEL.PROPERTIES",437:"LISTBOX.PROPERTIES",438:"EDITBOX.PROPERTIES",439:"PIVOT.REFRESH",440:"LINK.COMBO",441:"OPEN.TEXT",442:"HIDE.DIALOG",443:"SET.DIALOG.FOCUS",444:"ENABLE.OBJECT",445:"PUSHBUTTON.PROPERTIES",446:"SET.DIALOG.DEFAULT",447:"FILTER",448:"FILTER.SHOW.ALL",449:"CLEAR.OUTLINE",450:"FUNCTION.WIZARD",451:"ADD.LIST.ITEM",452:"SET.LIST.ITEM",453:"REMOVE.LIST.ITEM",454:"SELECT.LIST.ITEM",455:"SET.CONTROL.VALUE",456:"SAVE.COPY.AS",458:"OPTIONS.LISTS.ADD",459:"OPTIONS.LISTS.DELETE",460:"SERIES.AXES",461:"SERIES.X",462:"SERIES.Y",463:"ERRORBAR.X",464:"ERRORBAR.Y",465:"FORMAT.CHART",466:"SERIES.ORDER",467:"MAIL.LOGOFF",468:"CLEAR.ROUTING.SLIP",469:"APP.ACTIVATE.MICROSOFT",470:"MAIL.EDIT.MAILER",471:"ON.SHEET",472:"STANDARD.WIDTH",473:"SCENARIO.MERGE",474:"SUMMARY.INFO",475:"FIND.FILE",476:"ACTIVE.CELL.FONT",477:"ENABLE.TIPWIZARD",478:"VBA.MAKE.ADDIN",480:"INSERTDATATABLE",481:"WORKGROUP.OPTIONS",482:"MAIL.SEND.MAILER",485:"AUTOCORRECT",489:"POST.DOCUMENT",491:"PICKLIST",493:"VIEW.SHOW",494:"VIEW.DEFINE",495:"VIEW.DELETE",509:"SHEET.BACKGROUND",510:"INSERT.MAP.OBJECT",511:"OPTIONS.MENONO",517:"MSOCHECKS",518:"NORMAL",519:"LAYOUT",520:"RM.PRINT.AREA",521:"CLEAR.PRINT.AREA",522:"ADD.PRINT.AREA",523:"MOVE.BRK",545:"HIDECURR.NOTE",546:"HIDEALL.NOTES",547:"DELETE.NOTE",548:"TRAVERSE.NOTES",549:"ACTIVATE.NOTES",620:"PROTECT.REVISIONS",621:"UNPROTECT.REVISIONS",647:"OPTIONS.ME",653:"WEB.PUBLISH",667:"NEWWEBQUERY",673:"PIVOT.TABLE.CHART",753:"OPTIONS.SAVE",755:"OPTIONS.SPELL",808:"HIDEALL.INKANNOTS"},TP={0:"COUNT",1:"IF",2:"ISNA",3:"ISERROR",4:"SUM",5:"AVERAGE",6:"MIN",7:"MAX",8:"ROW",9:"COLUMN",10:"NA",11:"NPV",12:"STDEV",13:"DOLLAR",14:"FIXED",15:"SIN",16:"COS",17:"TAN",18:"ATAN",19:"PI",20:"SQRT",21:"EXP",22:"LN",23:"LOG10",24:"ABS",25:"INT",26:"SIGN",27:"ROUND",28:"LOOKUP",29:"INDEX",30:"REPT",31:"MID",32:"LEN",33:"VALUE",34:"TRUE",35:"FALSE",36:"AND",37:"OR",38:"NOT",39:"MOD",40:"DCOUNT",41:"DSUM",42:"DAVERAGE",43:"DMIN",44:"DMAX",45:"DSTDEV",46:"VAR",47:"DVAR",48:"TEXT",49:"LINEST",50:"TREND",51:"LOGEST",52:"GROWTH",53:"GOTO",54:"HALT",55:"RETURN",56:"PV",57:"FV",58:"NPER",59:"PMT",60:"RATE",61:"MIRR",62:"IRR",63:"RAND",64:"MATCH",65:"DATE",66:"TIME",67:"DAY",68:"MONTH",69:"YEAR",70:"WEEKDAY",71:"HOUR",72:"MINUTE",73:"SECOND",74:"NOW",75:"AREAS",76:"ROWS",77:"COLUMNS",78:"OFFSET",79:"ABSREF",80:"RELREF",81:"ARGUMENT",82:"SEARCH",83:"TRANSPOSE",84:"ERROR",85:"STEP",86:"TYPE",87:"ECHO",88:"SET.NAME",89:"CALLER",90:"DEREF",91:"WINDOWS",92:"SERIES",93:"DOCUMENTS",94:"ACTIVE.CELL",95:"SELECTION",96:"RESULT",97:"ATAN2",98:"ASIN",99:"ACOS",100:"CHOOSE",101:"HLOOKUP",102:"VLOOKUP",103:"LINKS",104:"INPUT",105:"ISREF",106:"GET.FORMULA",107:"GET.NAME",108:"SET.VALUE",109:"LOG",110:"EXEC",111:"CHAR",112:"LOWER",113:"UPPER",114:"PROPER",115:"LEFT",116:"RIGHT",117:"EXACT",118:"TRIM",119:"REPLACE",120:"SUBSTITUTE",121:"CODE",122:"NAMES",123:"DIRECTORY",124:"FIND",125:"CELL",126:"ISERR",127:"ISTEXT",128:"ISNUMBER",129:"ISBLANK",130:"T",131:"N",132:"FOPEN",133:"FCLOSE",134:"FSIZE",135:"FREADLN",136:"FREAD",137:"FWRITELN",138:"FWRITE",139:"FPOS",140:"DATEVALUE",141:"TIMEVALUE",142:"SLN",143:"SYD",144:"DDB",145:"GET.DEF",146:"REFTEXT",147:"TEXTREF",148:"INDIRECT",149:"REGISTER",150:"CALL",151:"ADD.BAR",152:"ADD.MENU",153:"ADD.COMMAND",154:"ENABLE.COMMAND",155:"CHECK.COMMAND",156:"RENAME.COMMAND",157:"SHOW.BAR",158:"DELETE.MENU",159:"DELETE.COMMAND",160:"GET.CHART.ITEM",161:"DIALOG.BOX",162:"CLEAN",163:"MDETERM",164:"MINVERSE",165:"MMULT",166:"FILES",167:"IPMT",168:"PPMT",169:"COUNTA",170:"CANCEL.KEY",171:"FOR",172:"WHILE",173:"BREAK",174:"NEXT",175:"INITIATE",176:"REQUEST",177:"POKE",178:"EXECUTE",179:"TERMINATE",180:"RESTART",181:"HELP",182:"GET.BAR",183:"PRODUCT",184:"FACT",185:"GET.CELL",186:"GET.WORKSPACE",187:"GET.WINDOW",188:"GET.DOCUMENT",189:"DPRODUCT",190:"ISNONTEXT",191:"GET.NOTE",192:"NOTE",193:"STDEVP",194:"VARP",195:"DSTDEVP",196:"DVARP",197:"TRUNC",198:"ISLOGICAL",199:"DCOUNTA",200:"DELETE.BAR",201:"UNREGISTER",204:"USDOLLAR",205:"FINDB",206:"SEARCHB",207:"REPLACEB",208:"LEFTB",209:"RIGHTB",210:"MIDB",211:"LENB",212:"ROUNDUP",213:"ROUNDDOWN",214:"ASC",215:"DBCS",216:"RANK",219:"ADDRESS",220:"DAYS360",221:"TODAY",222:"VDB",223:"ELSE",224:"ELSE.IF",225:"END.IF",226:"FOR.CELL",227:"MEDIAN",228:"SUMPRODUCT",229:"SINH",230:"COSH",231:"TANH",232:"ASINH",233:"ACOSH",234:"ATANH",235:"DGET",236:"CREATE.OBJECT",237:"VOLATILE",238:"LAST.ERROR",239:"CUSTOM.UNDO",240:"CUSTOM.REPEAT",241:"FORMULA.CONVERT",242:"GET.LINK.INFO",243:"TEXT.BOX",244:"INFO",245:"GROUP",246:"GET.OBJECT",247:"DB",248:"PAUSE",251:"RESUME",252:"FREQUENCY",253:"ADD.TOOLBAR",254:"DELETE.TOOLBAR",255:"User",256:"RESET.TOOLBAR",257:"EVALUATE",258:"GET.TOOLBAR",259:"GET.TOOL",260:"SPELLING.CHECK",261:"ERROR.TYPE",262:"APP.TITLE",263:"WINDOW.TITLE",264:"SAVE.TOOLBAR",265:"ENABLE.TOOL",266:"PRESS.TOOL",267:"REGISTER.ID",268:"GET.WORKBOOK",269:"AVEDEV",270:"BETADIST",271:"GAMMALN",272:"BETAINV",273:"BINOMDIST",274:"CHIDIST",275:"CHIINV",276:"COMBIN",277:"CONFIDENCE",278:"CRITBINOM",279:"EVEN",280:"EXPONDIST",281:"FDIST",282:"FINV",283:"FISHER",284:"FISHERINV",285:"FLOOR",286:"GAMMADIST",287:"GAMMAINV",288:"CEILING",289:"HYPGEOMDIST",290:"LOGNORMDIST",291:"LOGINV",292:"NEGBINOMDIST",293:"NORMDIST",294:"NORMSDIST",295:"NORMINV",296:"NORMSINV",297:"STANDARDIZE",298:"ODD",299:"PERMUT",300:"POISSON",301:"TDIST",302:"WEIBULL",303:"SUMXMY2",304:"SUMX2MY2",305:"SUMX2PY2",306:"CHITEST",307:"CORREL",308:"COVAR",309:"FORECAST",310:"FTEST",311:"INTERCEPT",312:"PEARSON",313:"RSQ",314:"STEYX",315:"SLOPE",316:"TTEST",317:"PROB",318:"DEVSQ",319:"GEOMEAN",320:"HARMEAN",321:"SUMSQ",322:"KURT",323:"SKEW",324:"ZTEST",325:"LARGE",326:"SMALL",327:"QUARTILE",328:"PERCENTILE",329:"PERCENTRANK",330:"MODE",331:"TRIMMEAN",332:"TINV",334:"MOVIE.COMMAND",335:"GET.MOVIE",336:"CONCATENATE",337:"POWER",338:"PIVOT.ADD.DATA",339:"GET.PIVOT.TABLE",340:"GET.PIVOT.FIELD",341:"GET.PIVOT.ITEM",342:"RADIANS",343:"DEGREES",344:"SUBTOTAL",345:"SUMIF",346:"COUNTIF",347:"COUNTBLANK",348:"SCENARIO.GET",349:"OPTIONS.LISTS.GET",350:"ISPMT",351:"DATEDIF",352:"DATESTRING",353:"NUMBERSTRING",354:"ROMAN",355:"OPEN.DIALOG",356:"SAVE.DIALOG",357:"VIEW.GET",358:"GETPIVOTDATA",359:"HYPERLINK",360:"PHONETIC",361:"AVERAGEA",362:"MAXA",363:"MINA",364:"STDEVPA",365:"VARPA",366:"STDEVA",367:"VARA",368:"BAHTTEXT",369:"THAIDAYOFWEEK",370:"THAIDIGIT",371:"THAIMONTHOFYEAR",372:"THAINUMSOUND",373:"THAINUMSTRING",374:"THAISTRINGLENGTH",375:"ISTHAIDIGIT",376:"ROUNDBAHTDOWN",377:"ROUNDBAHTUP",378:"THAIYEAR",379:"RTD",380:"CUBEVALUE",381:"CUBEMEMBER",382:"CUBEMEMBERPROPERTY",383:"CUBERANKEDMEMBER",384:"HEX2BIN",385:"HEX2DEC",386:"HEX2OCT",387:"DEC2BIN",388:"DEC2HEX",389:"DEC2OCT",390:"OCT2BIN",391:"OCT2HEX",392:"OCT2DEC",393:"BIN2DEC",394:"BIN2OCT",395:"BIN2HEX",396:"IMSUB",397:"IMDIV",398:"IMPOWER",399:"IMABS",400:"IMSQRT",401:"IMLN",402:"IMLOG2",403:"IMLOG10",404:"IMSIN",405:"IMCOS",406:"IMEXP",407:"IMARGUMENT",408:"IMCONJUGATE",409:"IMAGINARY",410:"IMREAL",411:"COMPLEX",412:"IMSUM",413:"IMPRODUCT",414:"SERIESSUM",415:"FACTDOUBLE",416:"SQRTPI",417:"QUOTIENT",418:"DELTA",419:"GESTEP",420:"ISEVEN",421:"ISODD",422:"MROUND",423:"ERF",424:"ERFC",425:"BESSELJ",426:"BESSELK",427:"BESSELY",428:"BESSELI",429:"XIRR",430:"XNPV",431:"PRICEMAT",432:"YIELDMAT",433:"INTRATE",434:"RECEIVED",435:"DISC",436:"PRICEDISC",437:"YIELDDISC",438:"TBILLEQ",439:"TBILLPRICE",440:"TBILLYIELD",441:"PRICE",442:"YIELD",443:"DOLLARDE",444:"DOLLARFR",445:"NOMINAL",446:"EFFECT",447:"CUMPRINC",448:"CUMIPMT",449:"EDATE",450:"EOMONTH",451:"YEARFRAC",452:"COUPDAYBS",453:"COUPDAYS",454:"COUPDAYSNC",455:"COUPNCD",456:"COUPNUM",457:"COUPPCD",458:"DURATION",459:"MDURATION",460:"ODDLPRICE",461:"ODDLYIELD",462:"ODDFPRICE",463:"ODDFYIELD",464:"RANDBETWEEN",465:"WEEKNUM",466:"AMORDEGRC",467:"AMORLINC",468:"CONVERT",724:"SHEETJS",469:"ACCRINT",470:"ACCRINTM",471:"WORKDAY",472:"NETWORKDAYS",473:"GCD",474:"MULTINOMIAL",475:"LCM",476:"FVSCHEDULE",477:"CUBEKPIMEMBER",478:"CUBESET",479:"CUBESETCOUNT",480:"IFERROR",481:"COUNTIFS",482:"SUMIFS",483:"AVERAGEIF",484:"AVERAGEIFS"},lW={2:1,3:1,10:0,15:1,16:1,17:1,18:1,19:0,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,144:4,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186:1,189:3,190:1,195:3,196:3,197:1,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,225:0,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,247:4,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,382:3,385:1,392:1,393:1,396:2,397:2,398:2,399:1,400:1,401:1,402:1,403:1,404:1,405:1,406:1,407:1,408:1,409:1,410:1,414:4,415:1,416:1,417:2,420:1,421:1,422:2,424:1,425:2,426:2,427:2,428:2,430:3,438:3,439:3,440:3,443:2,444:2,445:2,446:2,447:6,448:6,449:2,450:2,464:2,468:3,476:2,479:1,480:2,65535:0};function dT(t){return t.slice(0,3)=="of:"&&(t=t.slice(3)),t.charCodeAt(0)==61&&(t=t.slice(1),t.charCodeAt(0)==61&&(t=t.slice(1))),t=t.replace(/COM\.MICROSOFT\./g,""),t=t.replace(/\[((?:\.[A-Z]+[0-9]+)(?::\.[A-Z]+[0-9]+)?)\]/g,function(e,r){return r.replace(/\./g,"")}),t=t.replace(/\[.(#[A-Z]*[?!])\]/g,"$1"),t.replace(/[;~]/g,",").replace(/\|/g,";")}function hv(t){var e=t.split(":"),r=e[0].split(".")[0];return[r,e[0].split(".")[1]+(e.length>1?":"+(e[1].split(".")[1]||e[1].split(".")[0]):"")]}var jd={},ju={};function Kd(t,e){if(t){var r=[.7,.7,.75,.75,.3,.3];e=="xlml"&&(r=[1,1,1,1,.5,.5]),t.left==null&&(t.left=r[0]),t.right==null&&(t.right=r[1]),t.top==null&&(t.top=r[2]),t.bottom==null&&(t.bottom=r[3]),t.header==null&&(t.header=r[4]),t.footer==null&&(t.footer=r[5])}}function _P(t,e,r,n,i,s){try{n.cellNF&&(t.z=ot[e])}catch(a){if(n.WTF)throw a}if(!(t.t==="z"&&!n.cellStyles)){if(t.t==="d"&&typeof t.v=="string"&&(t.v=Jr(t.v)),(!n||n.cellText!==!1)&&t.t!=="z")try{if(ot[e]==null&&fc(cL[e]||"General",e),t.t==="e")t.w=t.w||kc[t.v];else if(e===0)if(t.t==="n")(t.v|0)===t.v?t.w=t.v.toString(10):t.w=xf(t.v);else if(t.t==="d"){var o=$n(t.v);(o|0)===o?t.w=o.toString(10):t.w=xf(o)}else{if(t.v===void 0)return"";t.w=wc(t.v,ju)}else t.t==="d"?t.w=Ui(e,$n(t.v),ju):t.w=Ui(e,t.v,ju)}catch(a){if(n.WTF)throw a}if(n.cellStyles&&r!=null)try{t.s=s.Fills[r],t.s.fgColor&&t.s.fgColor.theme&&!t.s.fgColor.rgb&&(t.s.fgColor.rgb=np(i.themeElements.clrScheme[t.s.fgColor.theme].rgb,t.s.fgColor.tint||0),n.WTF&&(t.s.fgColor.raw_rgb=i.themeElements.clrScheme[t.s.fgColor.theme].rgb)),t.s.bgColor&&t.s.bgColor.theme&&(t.s.bgColor.rgb=np(i.themeElements.clrScheme[t.s.bgColor.theme].rgb,t.s.bgColor.tint||0),n.WTF&&(t.s.bgColor.raw_rgb=i.themeElements.clrScheme[t.s.bgColor.theme].rgb))}catch(a){if(n.WTF&&s.Fills)throw a}}}function cW(t,e){var r=br(e);r.s.r<=r.e.r&&r.s.c<=r.e.c&&r.s.r>=0&&r.s.c>=0&&(t["!ref"]=Rt(r))}var uW=/<(?:\w:)?mergeCell ref="[A-Z0-9:]+"\s*[\/]?>/g,hW=/<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/,dW=/<(?:\w:)?hyperlink [^>]*>/mg,fW=/"(\w*:\w*)"/,gW=/<(?:\w:)?col\b[^>]*[\/]?>/g,mW=/<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g,pW=/<(?:\w:)?pageMargins[^>]*\/>/g,AP=/<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/,wW=/<(?:\w:)?sheetPr[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetPr)>/,vW=/<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/;function CW(t,e,r,n,i,s,o){if(!t)return t;n||(n={"!id":{}});var a=e.dense?[]:{},l={s:{r:2e6,c:2e6},e:{r:0,c:0}},c="",u="",h=t.match(hW);h?(c=t.slice(0,h.index),u=t.slice(h.index+h[0].length)):c=u=t;var d=c.match(AP);d?Mx(d[0],a,i,r):(d=c.match(wW))&&SW(d[0],d[1]||"",a,i,r);var f=(c.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(f>0){var g=c.slice(f,f+50).match(fW);g&&cW(a,g[1])}var m=c.match(vW);m&&m[1]&&TW(m[1],i);var p=[];if(e.cellStyles){var S=c.match(gW);S&&bW(p,S)}h&&_W(h[1],a,e,l,s,o);var y=u.match(mW);y&&(a["!autofilter"]=EW(y[0]));var C=[],E=u.match(uW);if(E)for(f=0;f!=E.length;++f)C[f]=br(E[f].slice(E[f].indexOf('"')+1));var A=u.match(dW);A&&xW(a,A,n);var O=u.match(pW);if(O&&(a["!margins"]=yW(Qe(O[0]))),!a["!ref"]&&l.e.c>=l.s.c&&l.e.r>=l.s.r&&(a["!ref"]=Rt(l)),e.sheetRows>0&&a["!ref"]){var T=br(a["!ref"]);e.sheetRows<=+T.e.r&&(T.e.r=e.sheetRows-1,T.e.r>l.e.r&&(T.e.r=l.e.r),T.e.rl.e.c&&(T.e.c=l.e.c),T.e.c0&&(a["!cols"]=p),C.length>0&&(a["!merges"]=C),a}function Mx(t,e,r,n){var i=Qe(t);r.Sheets[n]||(r.Sheets[n]={}),i.codeName&&(r.Sheets[n].CodeName=At(Jt(i.codeName)))}function SW(t,e,r,n,i){Mx(t.slice(0,t.indexOf(">")),r,n,i)}function xW(t,e,r){for(var n=Array.isArray(t),i=0;i!=e.length;++i){var s=Qe(Jt(e[i]),!0);if(!s.ref)return;var o=((r||{})["!id"]||[])[s.id];o?(s.Target=o.Target,s.location&&(s.Target+="#"+At(s.location))):(s.Target="#"+At(s.location),o={Target:s.Target,TargetMode:"Internal"}),s.Rel=o,s.tooltip&&(s.Tooltip=s.tooltip,delete s.tooltip);for(var a=br(s.ref),l=a.s.r;l<=a.e.r;++l)for(var c=a.s.c;c<=a.e.c;++c){var u=nt({c,r:l});n?(t[l]||(t[l]=[]),t[l][c]||(t[l][c]={t:"z",v:void 0}),t[l][c].l=s):(t[u]||(t[u]={t:"z",v:void 0}),t[u].l=s)}}}function yW(t){var e={};return["left","right","top","bottom","header","footer"].forEach(function(r){t[r]&&(e[r]=parseFloat(t[r]))}),e}function bW(t,e){for(var r=!1,n=0;n!=e.length;++n){var i=Qe(e[n],!0);i.hidden&&(i.hidden=ar(i.hidden));var s=parseInt(i.min,10)-1,o=parseInt(i.max,10)-1;for(i.outlineLevel&&(i.level=+i.outlineLevel||0),delete i.min,delete i.max,i.width=+i.width,!r&&i.width&&(r=!0,_x(i.width)),ih(i);s<=o;)t[s++]=sn(i)}}function EW(t){var e={ref:(t.match(/ref="([^"]*)"/)||[])[1]};return e}var RW=/<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/?>/;function TW(t,e){e.Views||(e.Views=[{}]),(t.match(RW)||[]).forEach(function(r,n){var i=Qe(r);e.Views[n]||(e.Views[n]={}),+i.zoomScale&&(e.Views[n].zoom=+i.zoomScale),ar(i.rightToLeft)&&(e.Views[n].RTL=!0)})}var _W=function(){var t=/<(?:\w+:)?c[ \/>]/,e=/<\/(?:\w+:)?row>/,r=/r=["']([^"']*)["']/,n=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/,i=/ref=["']([^"']*)["']/,s=yf("v"),o=yf("f");return function(l,c,u,h,d,f){for(var g=0,m="",p=[],S=[],y=0,C=0,E=0,A="",O,T,W=0,I=0,Y,z,U=0,oe=0,Ce=Array.isArray(f.CellXf),pe,Te=[],Se=[],Ae=Array.isArray(c),q=[],Oe={},v=!1,w=!!u.sheetStubs,x=l.split(e),R=0,b=x.length;R!=b;++R){m=x[R].trim();var B=m.length;if(B!==0){var X=0;e:for(g=0;g":if(m[g-1]!="/"){++g;break e}if(u&&u.cellStyles){if(T=Qe(m.slice(X,g),!0),W=T.r!=null?parseInt(T.r,10):W+1,I=-1,u.sheetRows&&u.sheetRows=g)break;if(T=Qe(m.slice(X,g),!0),W=T.r!=null?parseInt(T.r,10):W+1,I=-1,!(u.sheetRows&&u.sheetRowsW-1&&(h.s.r=W-1),h.e.r":"")+m,S!=null&&S.length===2){for(y=0,A=S[1],C=0;C!=A.length&&!((E=A.charCodeAt(C)-64)<1||E>26);++C)y=26*y+E;--y,I=y}else++I;for(C=0;C!=m.length&&m.charCodeAt(C)!==62;++C);if(++C,T=Qe(m.slice(0,C),!0),T.r||(T.r=nt({r:W-1,c:I})),A=m.slice(C),O={t:""},(S=A.match(s))!=null&&S[1]!==""&&(O.v=At(S[1])),u.cellFormula){if((S=A.match(o))!=null&&S[1]!==""){if(O.f=At(Jt(S[1])).replace(/\r\n/g,` `),u.xlfn||(O.f=lT(O.f)),S[0].indexOf('t="array"')>-1)O.F=(A.match(i)||[])[1],O.F.indexOf(":")>-1&&Te.push([br(O.F),O.F]);else if(S[0].indexOf('t="shared"')>-1){z=Qe(S[0]);var fe=At(Jt(S[1]));u.xlfn||(fe=lT(fe)),Se[parseInt(z.si,10)]=[z,fe,T.r]}}else(S=A.match(/]*\/>/))&&(z=Qe(S[0]),Se[z.si]&&(O.f=L3(Se[z.si][1],Se[z.si][2],T.r)));var le=Fn(T.r);for(C=0;C=Te[C][0].s.r&&le.r<=Te[C][0].e.r&&le.c>=Te[C][0].s.c&&le.c<=Te[C][0].e.c&&(O.F=Te[C][1])}if(T.t==null&&O.v===void 0)if(O.f||O.F)O.v=0,O.t="n";else if(w)O.t="z";else continue;else O.t=T.t||"n";switch(h.s.c>I&&(h.s.c=I),h.e.c"u"){if(!w)continue;O.t="z"}else Y=jd[parseInt(O.v,10)],O.v=Y.t,O.r=Y.r,u.cellHTML&&(O.h=Y.h);break;case"str":O.t="s",O.v=O.v!=null?Jt(O.v):"",u.cellHTML&&(O.h=px(O.v));break;case"inlineStr":S=A.match(n),O.t="s",S!=null&&(Y=Tx(S[1]))?(O.v=Y.t,u.cellHTML&&(O.h=Y.h)):O.v="";break;case"b":O.v=ar(O.v);break;case"d":u.cellDates?O.v=Jr(O.v,1):(O.v=$n(Jr(O.v,1)),O.t="n");break;case"e":(!u||u.cellText!==!1)&&(O.w=O.v),O.v=XO[O.v];break}if(U=oe=0,pe=null,Ce&&T.s!==void 0&&(pe=f.CellXf[T.s],pe!=null&&(pe.numFmtId!=null&&(U=pe.numFmtId),u.cellStyles&&pe.fillId!=null&&(oe=pe.fillId))),_P(O,U,oe,u,d,f),u.cellDates&&Ce&&O.t=="n"&&uh(ot[U])&&(O.t="d",O.v=Qp(O.v)),T.cm&&u.xlmeta){var we=(u.xlmeta.Cell||[])[+T.cm-1];we&&we.type=="XLDAPR"&&(O.D=!0)}if(Ae){var N=Fn(T.r);c[N.r]||(c[N.r]=[]),c[N.r][N.c]=O}else c[T.r]=O}}}}q.length>0&&(c["!rows"]=q)}}();function AW(t,e){var r={},n=t.l+e;r.r=t.read_shift(4),t.l+=4;var i=t.read_shift(2);t.l+=1;var s=t.read_shift(1);return t.l=n,s&7&&(r.level=s&7),s&16&&(r.hidden=!0),s&32&&(r.hpt=i/20),r}var MW=Dc;function IW(){}function OW(t,e){var r={},n=t[t.l];return++t.l,r.above=!(n&64),r.left=!(n&128),t.l+=18,r.name=QL(t),r}function PW(t){var e=Gi(t);return[e]}function DW(t){var e=Pc(t);return[e]}function kW(t){var e=Gi(t),r=t.read_shift(1);return[e,r,"b"]}function NW(t){var e=Pc(t),r=t.read_shift(1);return[e,r,"b"]}function HW(t){var e=Gi(t),r=t.read_shift(1);return[e,r,"e"]}function FW(t){var e=Pc(t),r=t.read_shift(1);return[e,r,"e"]}function LW(t){var e=Gi(t),r=t.read_shift(4);return[e,r,"s"]}function $W(t){var e=Pc(t),r=t.read_shift(4);return[e,r,"s"]}function BW(t){var e=Gi(t),r=wn(t);return[e,r,"n"]}function MP(t){var e=Pc(t),r=wn(t);return[e,r,"n"]}function VW(t){var e=Gi(t),r=bx(t);return[e,r,"n"]}function WW(t){var e=Pc(t),r=bx(t);return[e,r,"n"]}function UW(t){var e=Gi(t),r=xx(t);return[e,r,"is"]}function YW(t){var e=Gi(t),r=Cn(t);return[e,r,"str"]}function zW(t){var e=Pc(t),r=Cn(t);return[e,r,"str"]}function GW(t,e,r){var n=t.l+e,i=Gi(t);i.r=r["!row"];var s=t.read_shift(1),o=[i,s,"b"];if(r.cellFormula){t.l+=2;var a=rw(t,n-t.l,r);o[3]=gn(a,null,i,r.supbooks,r)}else t.l=n;return o}function jW(t,e,r){var n=t.l+e,i=Gi(t);i.r=r["!row"];var s=t.read_shift(1),o=[i,s,"e"];if(r.cellFormula){t.l+=2;var a=rw(t,n-t.l,r);o[3]=gn(a,null,i,r.supbooks,r)}else t.l=n;return o}function KW(t,e,r){var n=t.l+e,i=Gi(t);i.r=r["!row"];var s=wn(t),o=[i,s,"n"];if(r.cellFormula){t.l+=2;var a=rw(t,n-t.l,r);o[3]=gn(a,null,i,r.supbooks,r)}else t.l=n;return o}function XW(t,e,r){var n=t.l+e,i=Gi(t);i.r=r["!row"];var s=Cn(t),o=[i,s,"str"];if(r.cellFormula){t.l+=2;var a=rw(t,n-t.l,r);o[3]=gn(a,null,i,r.supbooks,r)}else t.l=n;return o}var qW=Dc;function ZW(t,e){var r=t.l+e,n=Dc(t),i=yx(t),s=Cn(t),o=Cn(t),a=Cn(t);t.l=r;var l={rfx:n,relId:i,loc:s,display:a};return o&&(l.Tooltip=o),l}function JW(){}function QW(t,e,r){var n=t.l+e,i=GO(t),s=t.read_shift(1),o=[i];if(o[2]=s,r.cellFormula){var a=iW(t,n-t.l,r);o[1]=a}else t.l=n;return o}function eU(t,e,r){var n=t.l+e,i=Dc(t),s=[i];if(r.cellFormula){var o=oW(t,n-t.l,r);s[1]=o,t.l=n}else t.l=n;return s}var tU=["left","right","top","bottom","header","footer"];function rU(t){var e={};return tU.forEach(function(r){e[r]=wn(t)}),e}function nU(t){var e=t.read_shift(2);return t.l+=28,{RTL:e&32}}function iU(){}function sU(){}function oU(t,e,r,n,i,s,o){if(!t)return t;var a=e||{};n||(n={"!id":{}});var l=a.dense?[]:{},c,u={s:{r:2e6,c:2e6},e:{r:0,c:0}},h=!1,d=!1,f,g,m,p,S,y,C,E,A,O=[];a.biff=12,a["!row"]=0;var T=0,W=!1,I=[],Y={},z=a.supbooks||i.supbooks||[[]];if(z.sharedf=Y,z.arrayf=I,z.SheetNames=i.SheetNames||i.Sheets.map(function(Ae){return Ae.name}),!a.supbooks&&(a.supbooks=z,i.Names))for(var U=0;U=w[0].s.r&&f.r<=w[0].e.r&&S>=w[0].s.c&&S<=w[0].e.c&&(g.F=Rt(w[0]),W=!0)}!W&&q.length>3&&(g.f=q[3])}if(u.s.r>f.r&&(u.s.r=f.r),u.s.c>S&&(u.s.c=S),u.e.rf.r&&(u.s.r=f.r),u.s.c>S&&(u.s.c=S),u.e.r=q.s;)oe[q.e--]={width:q.w/256,hidden:!!(q.flags&1),level:q.level},pe||(pe=!0,_x(q.w/256)),ih(oe[q.e+1]);break;case 161:l["!autofilter"]={ref:Rt(q)};break;case 476:l["!margins"]=q;break;case 147:i.Sheets[r]||(i.Sheets[r]={}),q.name&&(i.Sheets[r].CodeName=q.name),(q.above||q.left)&&(l["!outline"]={above:q.above,left:q.left});break;case 137:i.Views||(i.Views=[{}]),i.Views[0]||(i.Views[0]={}),q.RTL&&(i.Views[0].RTL=!0);break;case 485:break;case 64:case 1053:break;case 151:break;case 152:case 175:case 644:case 625:case 562:case 396:case 1112:case 1146:case 471:case 1050:case 649:case 1105:case 589:case 607:case 564:case 1055:case 168:case 174:case 1180:case 499:case 507:case 550:case 171:case 167:case 1177:case 169:case 1181:case 551:case 552:case 661:case 639:case 478:case 537:case 477:case 536:case 1103:case 680:case 1104:case 1024:case 663:case 535:case 678:case 504:case 1043:case 428:case 170:case 3072:case 50:case 2070:case 1045:break;case 35:h=!0;break;case 36:h=!1;break;case 37:h=!0;break;case 38:h=!1;break;default:if(!Oe.T){if(!h||a.WTF)throw new Error("Unexpected record 0x"+v.toString(16))}}},a),delete a.supbooks,delete a["!row"],!l["!ref"]&&(u.s.r<2e6||c&&(c.e.r>0||c.e.c>0||c.s.r>0||c.s.c>0))&&(l["!ref"]=Rt(c||u)),a.sheetRows&&l["!ref"]){var Se=br(l["!ref"]);a.sheetRows<=+Se.e.r&&(Se.e.r=a.sheetRows-1,Se.e.r>u.e.r&&(Se.e.r=u.e.r),Se.e.ru.e.c&&(Se.e.c=u.e.c),Se.e.c0&&(l["!merges"]=O),oe.length>0&&(l["!cols"]=oe),Ce.length>0&&(l["!rows"]=Ce),l}function aU(t){var e=[],r=t.match(/^/),n;(t.match(/(.*?)<\/c:pt>/mg)||[]).forEach(function(s){var o=s.match(/(.*)<\/c:v><\/c:pt>/);o&&(e[+o[1]]=r?+o[2]:o[2])});var i=At((t.match(/([\s\S]*?)<\/c:formatCode>/)||["","General"])[1]);return(t.match(/(.*?)<\/c:f>/mg)||[]).forEach(function(s){n=s.replace(/<.*?>/g,"")}),[e,i,n]}function lU(t,e,r,n,i,s){var o=s||{"!type":"chart"};if(!t)return s;var a=0,l=0,c="A",u={s:{r:2e6,c:2e6},e:{r:0,c:0}};return(t.match(/[\s\S]*?<\/c:numCache>/gm)||[]).forEach(function(h){var d=aU(h);u.s.r=u.s.c=0,u.e.c=a,c=Br(a),d[0].forEach(function(f,g){o[c+on(g)]={t:"n",v:f,z:d[1]},l=g}),u.e.r0&&(o["!ref"]=Rt(u)),o}function cU(t,e,r,n,i){if(!t)return t;n||(n={"!id":{}});var s={"!type":"chart","!drawel":null,"!rel":""},o,a=t.match(AP);return a&&Mx(a[0],s,i,r),(o=t.match(/drawing r:id="(.*?)"/))&&(s["!rel"]=o[1]),n["!id"][s["!rel"]]&&(s["!drawel"]=n["!id"][s["!rel"]]),s}function uU(t,e){t.l+=10;var r=Cn(t);return{name:r}}function hU(t,e,r,n,i){if(!t)return t;n||(n={"!id":{}});var s={"!type":"chart","!drawel":null,"!rel":""},o=!1;return ca(t,function(l,c,u){switch(u){case 550:s["!rel"]=l;break;case 651:i.Sheets[r]||(i.Sheets[r]={}),l.name&&(i.Sheets[r].CodeName=l.name);break;case 562:case 652:case 669:case 679:case 551:case 552:case 476:case 3072:break;case 35:o=!0;break;case 36:o=!1;break;case 37:break;case 38:break;default:if(!(c.T>0)){if(!(c.T<0)){if(!o||e.WTF)throw new Error("Unexpected record 0x"+u.toString(16))}}}},e),n["!id"][s["!rel"]]&&(s["!drawel"]=n["!id"][s["!rel"]]),s}var IP=[["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"]],dU=[["activeTab",0,"int"],["autoFilterDateGrouping",!0,"bool"],["firstSheet",0,"int"],["minimized",!1,"bool"],["showHorizontalScroll",!0,"bool"],["showSheetTabs",!0,"bool"],["showVerticalScroll",!0,"bool"],["tabRatio",600,"int"],["visibility","visible"]],fU=[],gU=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function fT(t,e){for(var r=0;r!=t.length;++r)for(var n=t[r],i=0;i!=e.length;++i){var s=e[i];if(n[s[0]]==null)n[s[0]]=s[1];else switch(s[2]){case"bool":typeof n[s[0]]=="string"&&(n[s[0]]=ar(n[s[0]]));break;case"int":typeof n[s[0]]=="string"&&(n[s[0]]=parseInt(n[s[0]],10));break}}}function gT(t,e){for(var r=0;r!=e.length;++r){var n=e[r];if(t[n[0]]==null)t[n[0]]=n[1];else switch(n[2]){case"bool":typeof t[n[0]]=="string"&&(t[n[0]]=ar(t[n[0]]));break;case"int":typeof t[n[0]]=="string"&&(t[n[0]]=parseInt(t[n[0]],10));break}}}function OP(t){gT(t.WBProps,IP),gT(t.CalcPr,gU),fT(t.WBView,dU),fT(t.Sheets,fU),ju.date1904=ar(t.WBProps.date1904)}var mU="][*?/\\".split("");function pU(t,e){if(t.length>31)throw new Error("Sheet names cannot exceed 31 chars");var r=!0;return mU.forEach(function(n){if(t.indexOf(n)!=-1)throw new Error("Sheet name cannot contain : \\ / ? * [ ]")}),r}var wU=/<\w+:workbook/;function vU(t,e){if(!t)throw new Error("Could not find file");var r={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},Names:[],xmlns:""},n=!1,i="xmlns",s={},o=0;if(t.replace(yn,function(l,c){var u=Qe(l);switch(wo(u[0])){case"":break;case"":case"":break;case"":break;case"":IP.forEach(function(h){if(u[h[0]]!=null)switch(h[2]){case"bool":r.WBProps[h[0]]=ar(u[h[0]]);break;case"int":r.WBProps[h[0]]=parseInt(u[h[0]],10);break;default:r.WBProps[h[0]]=u[h[0]]}}),u.codeName&&(r.WBProps.CodeName=Jt(u.codeName));break;case"":break;case"":break;case"":case"":break;case"":delete u[0],r.WBView.push(u);break;case"":break;case"":case"":break;case"":break;case"":break;case"":case"":break;case"":break;case"":case"":n=!1;break;case"":s.Ref=At(Jt(t.slice(o,c))),r.Names.push(s);break;case"":break;case"":delete u[0],r.CalcPr=u;break;case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":case"":break;case"":break;case"":break;case"":case"":break;case"":case"":case"":break;case"":n=!1;break;case"":n=!0;break;case"":n=!1;break;case"8?Cn(t):"";return i.length>0&&(r.CodeName=i),r.autoCompressPictures=!!(n&65536),r.backupFile=!!(n&64),r.checkCompatibility=!!(n&4096),r.date1904=!!(n&1),r.filterPrivacy=!!(n&8),r.hidePivotFieldList=!!(n&1024),r.promptedSolutions=!!(n&16),r.publishItems=!!(n&2048),r.refreshAllConnections=!!(n&262144),r.saveExternalLinkValues=!!(n&128),r.showBorderUnselectedTables=!!(n&4),r.showInkAnnotation=!!(n&32),r.showObjects=["all","placeholders","none"][n>>13&3],r.showPivotChartFilter=!!(n&32768),r.updateLinks=["userSet","never","always"][n>>8&3],r}function xU(t,e){var r={};return t.read_shift(4),r.ArchID=t.read_shift(4),t.l+=e-8,r}function yU(t,e,r){var n=t.l+e;t.l+=4,t.l+=1;var i=t.read_shift(4),s=e$(t),o=sW(t,0,r),a=yx(t);t.l=n;var l={Name:s,Ptg:o};return i<268435455&&(l.Sheet=i),a&&(l.Comment=a),l}function bU(t,e){var r={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""},n=[],i=!1;e||(e={}),e.biff=12;var s=[],o=[[]];return o.SheetNames=[],o.XTI=[],op[16]={n:"BrtFRTArchID$",f:xU},ca(t,function(l,c,u){switch(u){case 156:o.SheetNames.push(l.name),r.Sheets.push(l);break;case 153:r.WBProps=l;break;case 39:l.Sheet!=null&&(e.SID=l.Sheet),l.Ref=gn(l.Ptg,null,null,o,e),delete e.SID,delete l.Ptg,s.push(l);break;case 1036:break;case 357:case 358:case 355:case 667:o[0].length?o.push([u,l]):o[0]=[u,l],o[o.length-1].XTI=[];break;case 362:o.length===0&&(o[0]=[],o[0].XTI=[]),o[o.length-1].XTI=o[o.length-1].XTI.concat(l),o.XTI=o.XTI.concat(l);break;case 361:break;case 2071:case 158:case 143:case 664:case 353:break;case 3072:case 3073:case 534:case 677:case 157:case 610:case 2050:case 155:case 548:case 676:case 128:case 665:case 2128:case 2125:case 549:case 2053:case 596:case 2076:case 2075:case 2082:case 397:case 154:case 1117:case 553:case 2091:break;case 35:n.push(u),i=!0;break;case 36:n.pop(),i=!1;break;case 37:n.push(u),i=!0;break;case 38:n.pop(),i=!1;break;case 16:break;default:if(!c.T){if(!i||e.WTF&&n[n.length-1]!=37&&n[n.length-1]!=35)throw new Error("Unexpected record 0x"+u.toString(16))}}},e),OP(r),r.Names=s,r.supbooks=o,r}function EU(t,e,r){return e.slice(-4)===".bin"?bU(t,r):vU(t,r)}function RU(t,e,r,n,i,s,o,a){return e.slice(-4)===".bin"?oU(t,n,r,i,s,o,a):CW(t,n,r,i,s,o,a)}function TU(t,e,r,n,i,s,o,a){return e.slice(-4)===".bin"?hU(t,n,r,i,s):cU(t,n,r,i,s)}function _U(t,e,r,n,i,s,o,a){return e.slice(-4)===".bin"?N3():H3()}function AU(t,e,r,n,i,s,o,a){return e.slice(-4)===".bin"?D3():k3()}function MU(t,e,r,n){return e.slice(-4)===".bin"?q4(t,r,n):Y4(t,r,n)}function IU(t,e,r){return wP(t,r)}function OU(t,e,r){return e.slice(-4)===".bin"?d4(t,r):u4(t,r)}function PU(t,e,r){return e.slice(-4)===".bin"?I3(t,r):R3(t,r)}function DU(t,e,r){return e.slice(-4)===".bin"?y3(t):S3(t)}function kU(t,e,r,n){return r.slice(-4)===".bin"?b3(t,e,r,n):void 0}function NU(t,e,r){return e.slice(-4)===".bin"?v3(t,e,r):C3(t,e,r)}var PP=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g,DP=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;function Xi(t,e){var r=t.split(/\s+/),n=[];if(n[0]=r[0],r.length===1)return n;var i=t.match(PP),s,o,a,l;if(i)for(l=0;l!=i.length;++l)s=i[l].match(DP),(o=s[1].indexOf(":"))===-1?n[s[1]]=s[2].slice(1,s[2].length-1):(s[1].slice(0,6)==="xmlns:"?a="xmlns"+s[1].slice(6):a=s[1].slice(o+1),n[a]=s[2].slice(1,s[2].length-1));return n}function HU(t){var e=t.split(/\s+/),r={};if(e.length===1)return r;var n=t.match(PP),i,s,o,a;if(n)for(a=0;a!=n.length;++a)i=n[a].match(DP),(s=i[1].indexOf(":"))===-1?r[i[1]]=i[2].slice(1,i[2].length-1):(i[1].slice(0,6)==="xmlns:"?o="xmlns"+i[1].slice(6):o=i[1].slice(s+1),r[o]=i[2].slice(1,i[2].length-1));return r}var Xd;function FU(t,e){var r=Xd[t]||At(t);return r==="General"?wc(e):Ui(r,e)}function LU(t,e,r,n){var i=n;switch((r[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":i=ar(n);break;case"i2":case"int":i=parseInt(n,10);break;case"r4":case"float":i=parseFloat(n);break;case"date":case"dateTime.tz":i=Jr(n);break;case"i8":case"string":case"fixed":case"uuid":case"bin.base64":break;default:throw new Error("bad custprop:"+r[0])}t[At(e)]=i}function $U(t,e,r){if(t.t!=="z"){if(!r||r.cellText!==!1)try{t.t==="e"?t.w=t.w||kc[t.v]:e==="General"?t.t==="n"?(t.v|0)===t.v?t.w=t.v.toString(10):t.w=xf(t.v):t.w=wc(t.v):t.w=FU(e||"General",t.v)}catch(s){if(r.WTF)throw s}try{var n=Xd[e]||e||"General";if(r.cellNF&&(t.z=n),r.cellDates&&t.t=="n"&&uh(n)){var i=oc(t.v);i&&(t.t="d",t.v=new Date(i.y,i.m-1,i.d,i.H,i.M,i.S,i.u))}}catch(s){if(r.WTF)throw s}}}function BU(t,e,r){if(r.cellStyles&&e.Interior){var n=e.Interior;n.Pattern&&(n.patternType=L4[n.Pattern]||n.Pattern)}t[e.ID]=e}function VU(t,e,r,n,i,s,o,a,l,c){var u="General",h=n.StyleID,d={};c=c||{};var f=[],g=0;for(h===void 0&&a&&(h=a.StyleID),h===void 0&&o&&(h=o.StyleID);s[h]!==void 0&&(s[h].nf&&(u=s[h].nf),s[h].Interior&&f.push(s[h].Interior),!!s[h].Parent);)h=s[h].Parent;switch(r.Type){case"Boolean":n.t="b",n.v=ar(t);break;case"String":n.t="s",n.r=HR(At(t)),n.v=t.indexOf("<")>-1?At(e||t).replace(/<.*?>/g,""):n.r;break;case"DateTime":t.slice(-1)!="Z"&&(t+="Z"),n.v=(Jr(t)-new Date(Date.UTC(1899,11,30)))/(24*60*60*1e3),n.v!==n.v?n.v=At(t):n.v<60&&(n.v=n.v-1),(!u||u=="General")&&(u="yyyy-mm-dd");case"Number":n.v===void 0&&(n.v=+t),n.t||(n.t="n");break;case"Error":n.t="e",n.v=XO[t],c.cellText!==!1&&(n.w=t);break;default:t==""&&e==""?n.t="z":(n.t="s",n.v=HR(e||t));break}if($U(n,u,c),c.cellFormula!==!1)if(n.Formula){var m=At(n.Formula);m.charCodeAt(0)==61&&(m=m.slice(1)),n.f=Gu(m,i),delete n.Formula,n.ArrayRange=="RC"?n.F=Gu("RC:RC",i):n.ArrayRange&&(n.F=Gu(n.ArrayRange,i),l.push([br(n.F),n.F]))}else for(g=0;g=l[g][0].s.r&&i.r<=l[g][0].e.r&&i.c>=l[g][0].s.c&&i.c<=l[g][0].e.c&&(n.F=l[g][1]);c.cellStyles&&(f.forEach(function(p){!d.patternType&&p.patternType&&(d.patternType=p.patternType)}),n.s=d),n.StyleID!==void 0&&(n.ixfe=n.StyleID)}function WU(t){t.t=t.v||"",t.t=t.t.replace(/\r\n/g,` `).replace(/\r/g,` `),t.v=t.w=t.ixfe=void 0}function dv(t,e){var r=e||{};xO();var n=Pd(wx(t));(r.type=="binary"||r.type=="array"||r.type=="base64")&&(n=Jt(n));var i=n.slice(0,1024).toLowerCase(),s=!1;if(i=i.replace(/".*?"/g,""),(i.indexOf(">")&1023)>Math.min(i.indexOf(",")&1023,i.indexOf(";")&1023)){var o=sn(r);return o.type="string",Ef.to_workbook(n,o)}if(i.indexOf("=0&&(s=!0)}),s)return ZU(n,r);Xd={"General Number":"General","General Date":ot[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":ot[15],"Short Date":ot[14],"Long Time":ot[19],"Medium Time":ot[18],"Short Time":ot[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:ot[2],Standard:ot[4],Percent:ot[10],Scientific:ot[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'};var a,l=[],c,u={},h=[],d=r.dense?[]:{},f="",g={},m={},p=Xi(''),S=0,y=0,C=0,E={s:{r:2e6,c:2e6},e:{r:0,c:0}},A={},O={},T="",W=0,I=[],Y={},z={},U=0,oe=[],Ce=[],pe={},Te=[],Se,Ae=!1,q=[],Oe=[],v={},w=0,x=0,R={Sheets:[],WBProps:{date1904:!1}},b={};bf.lastIndex=0,n=n.replace(//mg,"");for(var B="";a=bf.exec(n);)switch(a[3]=(B=a[3]).toLowerCase()){case"data":if(B=="data"){if(a[1]==="/"){if((c=l.pop())[0]!==a[3])throw new Error("Bad state: "+c.join("|"))}else a[0].charAt(a[0].length-2)!=="/"&&l.push([a[3],!0]);break}if(l[l.length-1][1])break;a[1]==="/"?VU(n.slice(S,a.index),T,p,l[l.length-1][0]=="comment"?pe:g,{c:y,r:C},A,Te[y],m,q,r):(T="",p=Xi(a[0]),S=a.index+a[0].length);break;case"cell":if(a[1]==="/")if(Ce.length>0&&(g.c=Ce),(!r.sheetRows||r.sheetRows>C)&&g.v!==void 0&&(r.dense?(d[C]||(d[C]=[]),d[C][y]=g):d[Br(y)+on(C)]=g),g.HRef&&(g.l={Target:At(g.HRef)},g.HRefScreenTip&&(g.l.Tooltip=g.HRefScreenTip),delete g.HRef,delete g.HRefScreenTip),(g.MergeAcross||g.MergeDown)&&(w=y+(parseInt(g.MergeAcross,10)|0),x=C+(parseInt(g.MergeDown,10)|0),I.push({s:{c:y,r:C},e:{c:w,r:x}})),!r.sheetStubs)g.MergeAcross?y=w+1:++y;else if(g.MergeAcross||g.MergeDown){for(var X=y;X<=w;++X)for(var ne=C;ne<=x;++ne)(X>y||ne>C)&&(r.dense?(d[ne]||(d[ne]=[]),d[ne][X]={t:"z"}):d[Br(X)+on(ne)]={t:"z"});y=w+1}else++y;else g=HU(a[0]),g.Index&&(y=+g.Index-1),yE.e.c&&(E.e.c=y),a[0].slice(-2)==="/>"&&++y,Ce=[];break;case"row":a[1]==="/"||a[0].slice(-2)==="/>"?(CE.e.r&&(E.e.r=C),a[0].slice(-2)==="/>"&&(m=Xi(a[0]),m.Index&&(C=+m.Index-1)),y=0,++C):(m=Xi(a[0]),m.Index&&(C=+m.Index-1),v={},(m.AutoFitHeight=="0"||m.Height)&&(v.hpx=parseInt(m.Height,10),v.hpt=pP(v.hpx),Oe[C]=v),m.Hidden=="1"&&(v.hidden=!0,Oe[C]=v));break;case"worksheet":if(a[1]==="/"){if((c=l.pop())[0]!==a[3])throw new Error("Bad state: "+c.join("|"));h.push(f),E.s.r<=E.e.r&&E.s.c<=E.e.c&&(d["!ref"]=Rt(E),r.sheetRows&&r.sheetRows<=E.e.r&&(d["!fullref"]=d["!ref"],E.e.r=r.sheetRows-1,d["!ref"]=Rt(E))),I.length&&(d["!merges"]=I),Te.length>0&&(d["!cols"]=Te),Oe.length>0&&(d["!rows"]=Oe),u[f]=d}else E={s:{r:2e6,c:2e6},e:{r:0,c:0}},C=y=0,l.push([a[3],!1]),c=Xi(a[0]),f=At(c.Name),d=r.dense?[]:{},I=[],q=[],Oe=[],b={name:f,Hidden:0},R.Sheets.push(b);break;case"table":if(a[1]==="/"){if((c=l.pop())[0]!==a[3])throw new Error("Bad state: "+c.join("|"))}else{if(a[0].slice(-2)=="/>")break;l.push([a[3],!1]),Te=[],Ae=!1}break;case"style":a[1]==="/"?BU(A,O,r):O=Xi(a[0]);break;case"numberformat":O.nf=At(Xi(a[0]).Format||"General"),Xd[O.nf]&&(O.nf=Xd[O.nf]);for(var fe=0;fe!=392&&ot[fe]!=O.nf;++fe);if(fe==392){for(fe=57;fe!=392;++fe)if(ot[fe]==null){fc(O.nf,fe);break}}break;case"column":if(l[l.length-1][0]!=="table")break;if(Se=Xi(a[0]),Se.Hidden&&(Se.hidden=!0,delete Se.Hidden),Se.Width&&(Se.wpx=parseInt(Se.Width,10)),!Ae&&Se.wpx>10){Ae=!0,Nn=gP;for(var le=0;le0&&(Fe.Sheet=R.Sheets.length-1),R.Names.push(Fe);break;case"namedcell":break;case"b":break;case"i":break;case"u":break;case"s":break;case"em":break;case"h2":break;case"h3":break;case"sub":break;case"sup":break;case"span":break;case"alignment":break;case"borders":break;case"border":break;case"font":if(a[0].slice(-2)==="/>")break;a[1]==="/"?T+=n.slice(W,a.index):W=a.index+a[0].length;break;case"interior":if(!r.cellStyles)break;O.Interior=Xi(a[0]);break;case"protection":break;case"author":case"title":case"description":case"created":case"keywords":case"subject":case"category":case"company":case"lastauthor":case"lastsaved":case"lastprinted":case"version":case"revision":case"totaltime":case"hyperlinkbase":case"manager":case"contentstatus":case"identifier":case"language":case"appname":if(a[0].slice(-2)==="/>")break;a[1]==="/"?R$(Y,B,n.slice(U,a.index)):U=a.index+a[0].length;break;case"paragraphs":break;case"styles":case"workbook":if(a[1]==="/"){if((c=l.pop())[0]!==a[3])throw new Error("Bad state: "+c.join("|"))}else l.push([a[3],!1]);break;case"comment":if(a[1]==="/"){if((c=l.pop())[0]!==a[3])throw new Error("Bad state: "+c.join("|"));WU(pe),Ce.push(pe)}else l.push([a[3],!1]),c=Xi(a[0]),pe={a:c.Author};break;case"autofilter":if(a[1]==="/"){if((c=l.pop())[0]!==a[3])throw new Error("Bad state: "+c.join("|"))}else if(a[0].charAt(a[0].length-2)!=="/"){var ie=Xi(a[0]);d["!autofilter"]={ref:Gu(ie.Range).replace(/\$/g,"")},l.push([a[3],!0])}break;case"name":break;case"datavalidation":if(a[1]==="/"){if((c=l.pop())[0]!==a[3])throw new Error("Bad state: "+c.join("|"))}else a[0].charAt(a[0].length-2)!=="/"&&l.push([a[3],!0]);break;case"pixelsperinch":break;case"componentoptions":case"documentproperties":case"customdocumentproperties":case"officedocumentsettings":case"pivottable":case"pivotcache":case"names":case"mapinfo":case"pagebreaks":case"querytable":case"sorting":case"schema":case"conditionalformatting":case"smarttagtype":case"smarttags":case"excelworkbook":case"workbookoptions":case"worksheetoptions":if(a[1]==="/"){if((c=l.pop())[0]!==a[3])throw new Error("Bad state: "+c.join("|"))}else a[0].charAt(a[0].length-2)!=="/"&&l.push([a[3],!0]);break;case"null":break;default:if(l.length==0&&a[3]=="document"||l.length==0&&a[3]=="uof")return ST(n,r);var Be=!0;switch(l[l.length-1][0]){case"officedocumentsettings":switch(a[3]){case"allowpng":break;case"removepersonalinformation":break;case"downloadcomponents":break;case"locationofcomponents":break;case"colors":break;case"color":break;case"index":break;case"rgb":break;case"targetscreensize":break;case"readonlyrecommended":break;default:Be=!1}break;case"componentoptions":switch(a[3]){case"toolbar":break;case"hideofficelogo":break;case"spreadsheetautofit":break;case"label":break;case"caption":break;case"maxheight":break;case"maxwidth":break;case"nextsheetnumber":break;default:Be=!1}break;case"excelworkbook":switch(a[3]){case"date1904":R.WBProps.date1904=!0;break;case"windowheight":break;case"windowwidth":break;case"windowtopx":break;case"windowtopy":break;case"tabratio":break;case"protectstructure":break;case"protectwindow":break;case"protectwindows":break;case"activesheet":break;case"displayinknotes":break;case"firstvisiblesheet":break;case"supbook":break;case"sheetname":break;case"sheetindex":break;case"sheetindexfirst":break;case"sheetindexlast":break;case"dll":break;case"acceptlabelsinformulas":break;case"donotsavelinkvalues":break;case"iteration":break;case"maxiterations":break;case"maxchange":break;case"path":break;case"xct":break;case"count":break;case"selectedsheets":break;case"calculation":break;case"uncalced":break;case"startupprompt":break;case"crn":break;case"externname":break;case"formula":break;case"colfirst":break;case"collast":break;case"wantadvise":break;case"boolean":break;case"error":break;case"text":break;case"ole":break;case"noautorecover":break;case"publishobjects":break;case"donotcalculatebeforesave":break;case"number":break;case"refmoder1c1":break;case"embedsavesmarttags":break;default:Be=!1}break;case"workbookoptions":switch(a[3]){case"owcversion":break;case"height":break;case"width":break;default:Be=!1}break;case"worksheetoptions":switch(a[3]){case"visible":if(a[0].slice(-2)!=="/>")if(a[1]==="/")switch(n.slice(U,a.index)){case"SheetHidden":b.Hidden=1;break;case"SheetVeryHidden":b.Hidden=2;break}else U=a.index+a[0].length;break;case"header":d["!margins"]||Kd(d["!margins"]={},"xlml"),isNaN(+Qe(a[0]).Margin)||(d["!margins"].header=+Qe(a[0]).Margin);break;case"footer":d["!margins"]||Kd(d["!margins"]={},"xlml"),isNaN(+Qe(a[0]).Margin)||(d["!margins"].footer=+Qe(a[0]).Margin);break;case"pagemargins":var Ie=Qe(a[0]);d["!margins"]||Kd(d["!margins"]={},"xlml"),isNaN(+Ie.Top)||(d["!margins"].top=+Ie.Top),isNaN(+Ie.Left)||(d["!margins"].left=+Ie.Left),isNaN(+Ie.Right)||(d["!margins"].right=+Ie.Right),isNaN(+Ie.Bottom)||(d["!margins"].bottom=+Ie.Bottom);break;case"displayrighttoleft":R.Views||(R.Views=[]),R.Views[0]||(R.Views[0]={}),R.Views[0].RTL=!0;break;case"freezepanes":break;case"frozennosplit":break;case"splithorizontal":case"splitvertical":break;case"donotdisplaygridlines":break;case"activerow":break;case"activecol":break;case"toprowbottompane":break;case"leftcolumnrightpane":break;case"unsynced":break;case"print":break;case"printerrors":break;case"panes":break;case"scale":break;case"pane":break;case"number":break;case"layout":break;case"pagesetup":break;case"selected":break;case"protectobjects":break;case"enableselection":break;case"protectscenarios":break;case"validprinterinfo":break;case"horizontalresolution":break;case"verticalresolution":break;case"numberofcopies":break;case"activepane":break;case"toprowvisible":break;case"leftcolumnvisible":break;case"fittopage":break;case"rangeselection":break;case"papersizeindex":break;case"pagelayoutzoom":break;case"pagebreakzoom":break;case"filteron":break;case"fitwidth":break;case"fitheight":break;case"commentslayout":break;case"zoom":break;case"lefttoright":break;case"gridlines":break;case"allowsort":break;case"allowfilter":break;case"allowinsertrows":break;case"allowdeleterows":break;case"allowinsertcols":break;case"allowdeletecols":break;case"allowinserthyperlinks":break;case"allowformatcells":break;case"allowsizecols":break;case"allowsizerows":break;case"nosummaryrowsbelowdetail":d["!outline"]||(d["!outline"]={}),d["!outline"].above=!0;break;case"tabcolorindex":break;case"donotdisplayheadings":break;case"showpagelayoutzoom":break;case"nosummarycolumnsrightdetail":d["!outline"]||(d["!outline"]={}),d["!outline"].left=!0;break;case"blackandwhite":break;case"donotdisplayzeros":break;case"displaypagebreak":break;case"rowcolheadings":break;case"donotdisplayoutline":break;case"noorientation":break;case"allowusepivottables":break;case"zeroheight":break;case"viewablerange":break;case"selection":break;case"protectcontents":break;default:Be=!1}break;case"pivottable":case"pivotcache":switch(a[3]){case"immediateitemsondrop":break;case"showpagemultipleitemlabel":break;case"compactrowindent":break;case"location":break;case"pivotfield":break;case"orientation":break;case"layoutform":break;case"layoutsubtotallocation":break;case"layoutcompactrow":break;case"position":break;case"pivotitem":break;case"datatype":break;case"datafield":break;case"sourcename":break;case"parentfield":break;case"ptlineitems":break;case"ptlineitem":break;case"countofsameitems":break;case"item":break;case"itemtype":break;case"ptsource":break;case"cacheindex":break;case"consolidationreference":break;case"filename":break;case"reference":break;case"nocolumngrand":break;case"norowgrand":break;case"blanklineafteritems":break;case"hidden":break;case"subtotal":break;case"basefield":break;case"mapchilditems":break;case"function":break;case"refreshonfileopen":break;case"printsettitles":break;case"mergelabels":break;case"defaultversion":break;case"refreshname":break;case"refreshdate":break;case"refreshdatecopy":break;case"versionlastrefresh":break;case"versionlastupdate":break;case"versionupdateablemin":break;case"versionrefreshablemin":break;case"calculation":break;default:Be=!1}break;case"pagebreaks":switch(a[3]){case"colbreaks":break;case"colbreak":break;case"rowbreaks":break;case"rowbreak":break;case"colstart":break;case"colend":break;case"rowend":break;default:Be=!1}break;case"autofilter":switch(a[3]){case"autofiltercolumn":break;case"autofiltercondition":break;case"autofilterand":break;case"autofilteror":break;default:Be=!1}break;case"querytable":switch(a[3]){case"id":break;case"autoformatfont":break;case"autoformatpattern":break;case"querysource":break;case"querytype":break;case"enableredirections":break;case"refreshedinxl9":break;case"urlstring":break;case"htmltables":break;case"connection":break;case"commandtext":break;case"refreshinfo":break;case"notitles":break;case"nextid":break;case"columninfo":break;case"overwritecells":break;case"donotpromptforfile":break;case"textwizardsettings":break;case"source":break;case"number":break;case"decimal":break;case"thousandseparator":break;case"trailingminusnumbers":break;case"formatsettings":break;case"fieldtype":break;case"delimiters":break;case"tab":break;case"comma":break;case"autoformatname":break;case"versionlastedit":break;case"versionlastrefresh":break;default:Be=!1}break;case"datavalidation":switch(a[3]){case"range":break;case"type":break;case"min":break;case"max":break;case"sort":break;case"descending":break;case"order":break;case"casesensitive":break;case"value":break;case"errorstyle":break;case"errormessage":break;case"errortitle":break;case"inputmessage":break;case"inputtitle":break;case"combohide":break;case"inputhide":break;case"condition":break;case"qualifier":break;case"useblank":break;case"value1":break;case"value2":break;case"format":break;case"cellrangelist":break;default:Be=!1}break;case"sorting":case"conditionalformatting":switch(a[3]){case"range":break;case"type":break;case"min":break;case"max":break;case"sort":break;case"descending":break;case"order":break;case"casesensitive":break;case"value":break;case"errorstyle":break;case"errormessage":break;case"errortitle":break;case"cellrangelist":break;case"inputmessage":break;case"inputtitle":break;case"combohide":break;case"inputhide":break;case"condition":break;case"qualifier":break;case"useblank":break;case"value1":break;case"value2":break;case"format":break;default:Be=!1}break;case"mapinfo":case"schema":case"data":switch(a[3]){case"map":break;case"entry":break;case"range":break;case"xpath":break;case"field":break;case"xsdtype":break;case"filteron":break;case"aggregate":break;case"elementtype":break;case"attributetype":break;case"schema":case"element":case"complextype":case"datatype":case"all":case"attribute":case"extends":break;case"row":break;default:Be=!1}break;case"smarttags":break;default:Be=!1;break}if(Be||a[3].match(/!\[CDATA/))break;if(!l[l.length-1][1])throw"Unrecognized tag: "+a[3]+"|"+l.join("|");if(l[l.length-1][0]==="customdocumentproperties"){if(a[0].slice(-2)==="/>")break;a[1]==="/"?LU(z,B,oe,n.slice(U,a.index)):(oe=a,U=a.index+a[0].length);break}if(r.WTF)throw"Unrecognized tag: "+a[3]+"|"+l.join("|")}var xe={};return!r.bookSheets&&!r.bookProps&&(xe.Sheets=u),xe.SheetNames=h,xe.Workbook=R,xe.SSF=sn(ot),xe.Props=Y,xe.Custprops=z,xe}function j1(t,e){switch(Px(e=e||{}),e.type||"base64"){case"base64":return dv(Ci(t),e);case"binary":case"buffer":case"file":return dv(t,e);case"array":return dv(Oc(t),e)}}function UU(t){var e={},r=t.content;if(r.l=28,e.AnsiUserType=r.read_shift(0,"lpstr-ansi"),e.AnsiClipboardFormat=n$(r),r.length-r.l<=4)return e;var n=r.read_shift(4);if(n==0||n>40||(r.l-=4,e.Reserved1=r.read_shift(0,"lpstr-ansi"),r.length-r.l<=4)||(n=r.read_shift(4),n!==1907505652)||(e.UnicodeClipboardFormat=i$(r),n=r.read_shift(4),n==0||n>40))return e;r.l-=4,e.Reserved2=r.read_shift(0,"lpwstr")}var YU=[60,1084,2066,2165,2175];function zU(t,e,r,n,i){var s=n,o=[],a=r.slice(r.l,r.l+s);if(i&&i.enc&&i.enc.insitu&&a.length>0)switch(t){case 9:case 521:case 1033:case 2057:case 47:case 405:case 225:case 406:case 312:case 404:case 10:break;case 133:break;default:i.enc.insitu(a)}o.push(a),r.l+=s;for(var l=jo(r,r.l),c=K1[l],u=0;c!=null&&YU.indexOf(l)>-1;)s=jo(r,r.l+2),u=r.l+4,l==2066?u+=4:(l==2165||l==2175)&&(u+=12),a=r.slice(u,r.l+4+s),o.push(a),r.l+=4+s,c=K1[l=jo(r,r.l)];var h=Ya(o);nn(h,0);var d=0;h.lens=[];for(var f=0;f1)&&!(Me.sheetRows&&Q.r>=Me.sheetRows)){if(Me.cellStyles&&ye.XF&&ye.XF.data&&Y(Q,ye,Me),delete ye.ixfe,delete ye.XF,h=Q,d=nt(Q),(!o||!o.s||!o.e)&&(o={s:{r:0,c:0},e:{r:0,c:0}}),Q.ro.e.r&&(o.e.r=Q.r+1),Q.c+1>o.e.c&&(o.e.c=Q.c+1),Me.cellFormula&&ye.f){for(var Pe=0;PeQ.c||y[Pe][0].s.r>Q.r)&&!(y[Pe][0].e.c>8)!==ne)throw new Error("rt mismatch: "+we+"!="+ne);le.r==12&&(t.l+=10,fe-=10)}var N={};if(ne===10?N=le.f(t,fe,U):N=zU(ne,le,t,fe,U),v==0&&[9,521,1033,2057].indexOf(Oe)===-1)continue;switch(ne){case 34:r.opts.Date1904=T.WBProps.date1904=N;break;case 134:r.opts.WriteProtect=!0;break;case 47:if(U.enc||(t.l=0),U.enc=N,!e.password)throw new Error("File is password-protected");if(N.valid==null)throw new Error("Encryption scheme unsupported");if(!N.valid)throw new Error("Password is incorrect");break;case 92:U.lastuser=N;break;case 66:var Fe=Number(N);switch(Fe){case 21010:Fe=1200;break;case 32768:Fe=1e4;break;case 32769:Fe=1252;break}ws(U.codepage=Fe),B=!0;break;case 317:U.rrtabid=N;break;case 25:U.winlocked=N;break;case 439:r.opts.RefreshAll=N;break;case 12:r.opts.CalcCount=N;break;case 16:r.opts.CalcDelta=N;break;case 17:r.opts.CalcIter=N;break;case 13:r.opts.CalcMode=N;break;case 14:r.opts.CalcPrecision=N;break;case 95:r.opts.CalcSaveRecalc=N;break;case 15:U.CalcRefMode=N;break;case 2211:r.opts.FullCalc=N;break;case 129:N.fDialog&&(i["!type"]="dialog"),N.fBelow||((i["!outline"]||(i["!outline"]={})).above=!0),N.fRight||((i["!outline"]||(i["!outline"]={})).left=!0);break;case 224:A.push(N);break;case 430:q.push([N]),q[q.length-1].XTI=[];break;case 35:case 547:q[q.length-1].push(N);break;case 24:case 536:b={Name:N.Name,Ref:gn(N.rgce,o,null,q,U)},N.itab>0&&(b.Sheet=N.itab-1),q.names.push(b),q[0]||(q[0]=[],q[0].XTI=[]),q[q.length-1].push(N),N.Name=="_xlnm._FilterDatabase"&&N.itab>0&&N.rgce&&N.rgce[0]&&N.rgce[0][0]&&N.rgce[0][0][0]=="PtgArea3d"&&(R[N.itab-1]={ref:Rt(N.rgce[0][0][1][2])});break;case 22:U.ExternCount=N;break;case 23:q.length==0&&(q[0]=[],q[0].XTI=[]),q[q.length-1].XTI=q[q.length-1].XTI.concat(N),q.XTI=q.XTI.concat(N);break;case 2196:if(U.biff<8)break;b!=null&&(b.Comment=N[1]);break;case 18:i["!protect"]=N;break;case 19:N!==0&&U.WTF&&console.error("Password verifier: "+N);break;case 133:s[N.pos]=N,U.snames.push(N.name);break;case 10:{if(--v)break;if(o.e){if(o.e.r>0&&o.e.c>0){if(o.e.r--,o.e.c--,i["!ref"]=Rt(o),e.sheetRows&&e.sheetRows<=o.e.r){var ie=o.e.r;o.e.r=e.sheetRows-1,i["!fullref"]=i["!ref"],i["!ref"]=Rt(o),o.e.r=ie}o.e.r++,o.e.c++}Ce.length>0&&(i["!merges"]=Ce),pe.length>0&&(i["!objects"]=pe),Te.length>0&&(i["!cols"]=Te),Se.length>0&&(i["!rows"]=Se),T.Sheets.push(W)}c===""?u=i:n[c]=i,i=e.dense?[]:{}}break;case 9:case 521:case 1033:case 2057:{if(U.biff===8&&(U.biff={9:2,521:3,1033:4}[ne]||{512:2,768:3,1024:4,1280:5,1536:8,2:2,7:2}[N.BIFFVer]||8),U.biffguess=N.BIFFVer==0,N.BIFFVer==0&&N.dt==4096&&(U.biff=5,B=!0,ws(U.codepage=28591)),U.biff==8&&N.BIFFVer==0&&N.dt==16&&(U.biff=2),v++)break;if(i=e.dense?[]:{},U.biff<8&&!B&&(B=!0,ws(U.codepage=e.codepage||1252)),U.biff<5||N.BIFFVer==0&&N.dt==4096){c===""&&(c="Sheet1"),o={s:{r:0,c:0},e:{r:0,c:0}};var Be={pos:t.l-fe,name:c};s[Be.pos]=Be,U.snames.push(c)}else c=(s[X]||{name:""}).name;N.dt==32&&(i["!type"]="chart"),N.dt==64&&(i["!type"]="macro"),Ce=[],pe=[],U.arrayf=y=[],Te=[],Se=[],Ae=!1,W={Hidden:(s[X]||{hs:0}).hs,name:c}}break;case 515:case 3:case 2:i["!type"]=="chart"&&(e.dense?(i[N.r]||[])[N.c]:i[nt({c:N.c,r:N.r})])&&++N.c,C={ixfe:N.ixfe,XF:A[N.ixfe]||{},v:N.val,t:"n"},w>0&&(C.z=x[C.ixfe>>8&63]),ks(C,e,r.opts.Date1904),z({c:N.c,r:N.r},C,e);break;case 5:case 517:C={ixfe:N.ixfe,XF:A[N.ixfe],v:N.val,t:N.t},w>0&&(C.z=x[C.ixfe>>8&63]),ks(C,e,r.opts.Date1904),z({c:N.c,r:N.r},C,e);break;case 638:C={ixfe:N.ixfe,XF:A[N.ixfe],v:N.rknum,t:"n"},w>0&&(C.z=x[C.ixfe>>8&63]),ks(C,e,r.opts.Date1904),z({c:N.c,r:N.r},C,e);break;case 189:for(var Ie=N.c;Ie<=N.C;++Ie){var xe=N.rkrec[Ie-N.c][0];C={ixfe:xe,XF:A[xe],v:N.rkrec[Ie-N.c][1],t:"n"},w>0&&(C.z=x[C.ixfe>>8&63]),ks(C,e,r.opts.Date1904),z({c:Ie,r:N.r},C,e)}break;case 6:case 518:case 1030:{if(N.val=="String"){a=N;break}if(C=Yg(N.val,N.cell.ixfe,N.tt),C.XF=A[C.ixfe],e.cellFormula){var Ye=N.formula;if(Ye&&Ye[0]&&Ye[0][0]&&Ye[0][0][0]=="PtgExp"){var Ve=Ye[0][0][1][0],M=Ye[0][0][1][1],D=nt({r:Ve,c:M});S[D]?C.f=""+gn(N.formula,o,N.cell,q,U):C.F=((e.dense?(i[Ve]||[])[M]:i[D])||{}).F}else C.f=""+gn(N.formula,o,N.cell,q,U)}w>0&&(C.z=x[C.ixfe>>8&63]),ks(C,e,r.opts.Date1904),z(N.cell,C,e),a=N}break;case 7:case 519:if(a)a.val=N,C=Yg(N,a.cell.ixfe,"s"),C.XF=A[C.ixfe],e.cellFormula&&(C.f=""+gn(a.formula,o,a.cell,q,U)),w>0&&(C.z=x[C.ixfe>>8&63]),ks(C,e,r.opts.Date1904),z(a.cell,C,e),a=null;else throw new Error("String record expects Formula");break;case 33:case 545:{y.push(N);var G=nt(N[0].s);if(f=e.dense?(i[N[0].s.r]||[])[N[0].s.c]:i[G],e.cellFormula&&f){if(!a||!G||!f)break;f.f=""+gn(N[1],o,N[0],q,U),f.F=Rt(N[0])}}break;case 1212:{if(!e.cellFormula)break;if(d){if(!a)break;S[nt(a.cell)]=N[0],f=e.dense?(i[a.cell.r]||[])[a.cell.c]:i[nt(a.cell)],(f||{}).f=""+gn(N[0],o,h,q,U)}}break;case 253:C=Yg(l[N.isst].t,N.ixfe,"s"),l[N.isst].h&&(C.h=l[N.isst].h),C.XF=A[C.ixfe],w>0&&(C.z=x[C.ixfe>>8&63]),ks(C,e,r.opts.Date1904),z({c:N.c,r:N.r},C,e);break;case 513:e.sheetStubs&&(C={ixfe:N.ixfe,XF:A[N.ixfe],t:"z"},w>0&&(C.z=x[C.ixfe>>8&63]),ks(C,e,r.opts.Date1904),z({c:N.c,r:N.r},C,e));break;case 190:if(e.sheetStubs)for(var re=N.c;re<=N.C;++re){var K=N.ixfe[re-N.c];C={ixfe:K,XF:A[K],t:"z"},w>0&&(C.z=x[C.ixfe>>8&63]),ks(C,e,r.opts.Date1904),z({c:re,r:N.r},C,e)}break;case 214:case 516:case 4:C=Yg(N.val,N.ixfe,"s"),C.XF=A[C.ixfe],w>0&&(C.z=x[C.ixfe>>8&63]),ks(C,e,r.opts.Date1904),z({c:N.c,r:N.r},C,e);break;case 0:case 512:v===1&&(o=N);break;case 252:l=N;break;case 1054:if(U.biff==4){x[w++]=N[1];for(var se=0;se=163&&fc(N[1],w+163)}else fc(N[1],N[0]);break;case 30:{x[w++]=N;for(var J=0;J=163&&fc(N,w+163)}break;case 229:Ce=Ce.concat(N);break;case 93:pe[N.cmo[0]]=U.lastobj=N;break;case 438:U.lastobj.TxO=N;break;case 127:U.lastobj.ImData=N;break;case 440:for(p=N[0].s.r;p<=N[0].e.r;++p)for(m=N[0].s.c;m<=N[0].e.c;++m)f=e.dense?(i[p]||[])[m]:i[nt({c:m,r:p})],f&&(f.l=N[1]);break;case 2048:for(p=N[0].s.r;p<=N[0].e.r;++p)for(m=N[0].s.c;m<=N[0].e.c;++m)f=e.dense?(i[p]||[])[m]:i[nt({c:m,r:p})],f&&f.l&&(f.l.Tooltip=N[1]);break;case 28:{if(U.biff<=5&&U.biff>=2)break;f=e.dense?(i[N[0].r]||[])[N[0].c]:i[nt(N[0])];var Z=pe[N[2]];f||(e.dense?(i[N[0].r]||(i[N[0].r]=[]),f=i[N[0].r][N[0].c]={t:"z"}):f=i[nt(N[0])]={t:"z"},o.e.r=Math.max(o.e.r,N[0].r),o.s.r=Math.min(o.s.r,N[0].r),o.e.c=Math.max(o.e.c,N[0].c),o.s.c=Math.min(o.s.c,N[0].c)),f.c||(f.c=[]),g={a:N[1],t:Z.TxO.t},f.c.push(g)}break;case 2173:g3(A[N.ixfe],N.ext);break;case 125:{if(!U.cellStyles)break;for(;N.e>=N.s;)Te[N.e--]={width:N.w/256,level:N.level||0,hidden:!!(N.flags&1)},Ae||(Ae=!0,_x(N.w/256)),ih(Te[N.e+1])}break;case 520:{var ee={};N.level!=null&&(Se[N.r]=ee,ee.level=N.level),N.hidden&&(Se[N.r]=ee,ee.hidden=!0),N.hpt&&(Se[N.r]=ee,ee.hpt=N.hpt,ee.hpx=Tf(N.hpt))}break;case 38:case 39:case 40:case 41:i["!margins"]||Kd(i["!margins"]={}),i["!margins"][{38:"left",39:"right",40:"top",41:"bottom"}[ne]]=N;break;case 161:i["!margins"]||Kd(i["!margins"]={}),i["!margins"].header=N.header,i["!margins"].footer=N.footer;break;case 574:N.RTL&&(T.Views[0].RTL=!0);break;case 146:O=N;break;case 2198:oe=N;break;case 140:E=N;break;case 442:c?W.CodeName=N||W.name:T.WBProps.CodeName=N||"ThisWorkbook";break}}else le||console.error("Missing Info for XLS Record 0x"+ne.toString(16)),t.l+=fe}return r.SheetNames=fo(s).sort(function(te,Q){return Number(te)-Number(Q)}).map(function(te){return s[te].name}),e.bookSheets||(r.Sheets=n),!r.SheetNames.length&&u["!ref"]?(r.SheetNames.push("Sheet1"),r.Sheets&&(r.Sheets.Sheet1=u)):r.Preamble=u,r.Sheets&&R.forEach(function(te,Q){r.Sheets[r.SheetNames[Q]]["!autofilter"]=te}),r.Strings=l,r.SSF=sn(ot),U.enc&&(r.Encryption=U.enc),oe&&(r.Themes=oe),r.Metadata={},E!==void 0&&(r.Metadata.Country=E),q.names.length>0&&(T.Names=q.names),r.Workbook=T,r}var mT={SI:"e0859ff2f94f6810ab9108002b27b3d9",DSI:"02d5cdd59c2e1b10939708002b2cf9ae",UDI:"05d5cdd59c2e1b10939708002b2cf9ae"};function jU(t,e,r){var n=Et.find(t,"/!DocumentSummaryInformation");if(n&&n.size>0)try{var i=JR(n,u$,mT.DSI);for(var s in i)e[s]=i[s]}catch(c){if(r.WTF)throw c}var o=Et.find(t,"/!SummaryInformation");if(o&&o.size>0)try{var a=JR(o,h$,mT.SI);for(var l in a)e[l]==null&&(e[l]=a[l])}catch(c){if(r.WTF)throw c}e.HeadingPairs&&e.TitlesOfParts&&(ZO(e.HeadingPairs,e.TitlesOfParts,e,r),delete e.HeadingPairs,delete e.TitlesOfParts)}function kP(t,e){e||(e={}),Px(e),cO(),e.codepage&&ux(e.codepage);var r,n;if(t.FullPaths){if(Et.find(t,"/encryption"))throw new Error("File is password-protected");r=Et.find(t,"!CompObj"),n=Et.find(t,"/Workbook")||Et.find(t,"/Book")}else{switch(e.type){case"base64":t=ps(Ci(t));break;case"binary":t=ps(t);break;case"buffer":break;case"array":Array.isArray(t)||(t=Array.prototype.slice.call(t));break}nn(t,0),n={content:t}}var i,s;if(r&&UU(r),e.bookProps&&!e.bookSheets)i={};else{var o=yt?"buffer":"array";if(n&&n.content)i=GU(n.content,e);else if((s=Et.find(t,"PerfectOffice_MAIN"))&&s.content)i=Gd.to_workbook(s.content,(e.type=o,e));else if((s=Et.find(t,"NativeContent_MAIN"))&&s.content)i=Gd.to_workbook(s.content,(e.type=o,e));else throw(s=Et.find(t,"MN0"))&&s.content?new Error("Unsupported Works 4 for Mac file"):new Error("Cannot find Workbook stream");e.bookVBA&&t.FullPaths&&Et.find(t,"/_VBA_PROJECT_CUR/VBA/dir")&&(i.vbaraw=P3(t))}var a={};return t.FullPaths&&jU(t,a,e),i.Props=i.Custprops=a,e.bookFiles&&(i.cfb=t),i}var op={0:{f:AW},1:{f:PW},2:{f:VW},3:{f:HW},4:{f:kW},5:{f:BW},6:{f:YW},7:{f:LW},8:{f:XW},9:{f:KW},10:{f:GW},11:{f:jW},12:{f:DW},13:{f:WW},14:{f:FW},15:{f:NW},16:{f:MP},17:{f:zW},18:{f:$W},19:{f:xx},20:{},21:{},22:{},23:{},24:{},25:{},26:{},27:{},28:{},29:{},30:{},31:{},32:{},33:{},34:{},35:{T:1},36:{T:-1},37:{T:1},38:{T:-1},39:{f:yU},40:{},42:{},43:{f:G4},44:{f:z4},45:{f:j4},46:{f:X4},47:{f:K4},48:{},49:{f:qL},50:{},51:{f:p3},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:cP},62:{f:UW},63:{f:x3},64:{f:iU},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:xn,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:nU},138:{T:-1},139:{T:1},140:{T:-1},141:{T:1},142:{T:-1},143:{T:1},144:{T:-1},145:{T:1},146:{T:-1},147:{f:OW},148:{f:MW,p:16},151:{f:JW},152:{},153:{f:SU},154:{},155:{},156:{f:CU},157:{},158:{},159:{T:1,f:h4},160:{T:-1},161:{T:1,f:Dc},162:{T:-1},163:{T:1},164:{T:-1},165:{T:1},166:{T:-1},167:{},168:{},169:{},170:{},171:{},172:{T:1},173:{T:-1},174:{},175:{},176:{f:qW},177:{T:1},178:{T:-1},179:{T:1},180:{T:-1},181:{T:1},182:{T:-1},183:{T:1},184:{T:-1},185:{T:1},186:{T:-1},187:{T:1},188:{T:-1},189:{T:1},190:{T:-1},191:{T:1},192:{T:-1},193:{T:1},194:{T:-1},195:{T:1},196:{T:-1},197:{T:1},198:{T:-1},199:{T:1},200:{T:-1},201:{T:1},202:{T:-1},203:{T:1},204:{T:-1},205:{T:1},206:{T:-1},207:{T:1},208:{T:-1},209:{T:1},210:{T:-1},211:{T:1},212:{T:-1},213:{T:1},214:{T:-1},215:{T:1},216:{T:-1},217:{T:1},218:{T:-1},219:{T:1},220:{T:-1},221:{T:1},222:{T:-1},223:{T:1},224:{T:-1},225:{T:1},226:{T:-1},227:{T:1},228:{T:-1},229:{T:1},230:{T:-1},231:{T:1},232:{T:-1},233:{T:1},234:{T:-1},235:{T:1},236:{T:-1},237:{T:1},238:{T:-1},239:{T:1},240:{T:-1},241:{T:1},242:{T:-1},243:{T:1},244:{T:-1},245:{T:1},246:{T:-1},247:{T:1},248:{T:-1},249:{T:1},250:{T:-1},251:{T:1},252:{T:-1},253:{T:1},254:{T:-1},255:{T:1},256:{T:-1},257:{T:1},258:{T:-1},259:{T:1},260:{T:-1},261:{T:1},262:{T:-1},263:{T:1},264:{T:-1},265:{T:1},266:{T:-1},267:{T:1},268:{T:-1},269:{T:1},270:{T:-1},271:{T:1},272:{T:-1},273:{T:1},274:{T:-1},275:{T:1},276:{T:-1},277:{},278:{T:1},279:{T:-1},280:{T:1},281:{T:-1},282:{T:1},283:{T:1},284:{T:-1},285:{T:1},286:{T:-1},287:{T:1},288:{T:-1},289:{T:1},290:{T:-1},291:{T:1},292:{T:-1},293:{T:1},294:{T:-1},295:{T:1},296:{T:-1},297:{T:1},298:{T:-1},299:{T:1},300:{T:-1},301:{T:1},302:{T:-1},303:{T:1},304:{T:-1},305:{T:1},306:{T:-1},307:{T:1},308:{T:-1},309:{T:1},310:{T:-1},311:{T:1},312:{T:-1},313:{T:-1},314:{T:1},315:{T:-1},316:{T:1},317:{T:-1},318:{T:1},319:{T:-1},320:{T:1},321:{T:-1},322:{T:1},323:{T:-1},324:{T:1},325:{T:-1},326:{T:1},327:{T:-1},328:{T:1},329:{T:-1},330:{T:1},331:{T:-1},332:{T:1},333:{T:-1},334:{T:1},335:{f:m3},336:{T:-1},337:{f:w3,T:1},338:{T:-1},339:{T:1},340:{T:-1},341:{T:1},342:{T:-1},343:{T:1},344:{T:-1},345:{T:1},346:{T:-1},347:{T:1},348:{T:-1},349:{T:1},350:{T:-1},351:{},352:{},353:{T:1},354:{T:-1},355:{f:U1},357:{},358:{},359:{},360:{T:1},361:{},362:{f:lP},363:{},364:{},366:{},367:{},368:{},369:{},370:{},371:{},372:{T:1},373:{T:-1},374:{T:1},375:{T:-1},376:{T:1},377:{T:-1},378:{T:1},379:{T:-1},380:{T:1},381:{T:-1},382:{T:1},383:{T:-1},384:{T:1},385:{T:-1},386:{T:1},387:{T:-1},388:{T:1},389:{T:-1},390:{T:1},391:{T:-1},392:{T:1},393:{T:-1},394:{T:1},395:{T:-1},396:{},397:{},398:{},399:{},400:{},401:{T:1},403:{},404:{},405:{},406:{},407:{},408:{},409:{},410:{},411:{},412:{},413:{},414:{},415:{},416:{},417:{},418:{},419:{},420:{},421:{},422:{T:1},423:{T:1},424:{T:-1},425:{T:-1},426:{f:QW},427:{f:eU},428:{},429:{T:1},430:{T:-1},431:{T:1},432:{T:-1},433:{T:1},434:{T:-1},435:{T:1},436:{T:-1},437:{T:1},438:{T:-1},439:{T:1},440:{T:-1},441:{T:1},442:{T:-1},443:{T:1},444:{T:-1},445:{T:1},446:{T:-1},447:{T:1},448:{T:-1},449:{T:1},450:{T:-1},451:{T:1},452:{T:-1},453:{T:1},454:{T:-1},455:{T:1},456:{T:-1},457:{T:1},458:{T:-1},459:{T:1},460:{T:-1},461:{T:1},462:{T:-1},463:{T:1},464:{T:-1},465:{T:1},466:{T:-1},467:{T:1},468:{T:-1},469:{T:1},470:{T:-1},471:{},472:{},473:{T:1},474:{T:-1},475:{},476:{f:rU},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:IW},486:{T:1},487:{T:-1},488:{T:1},489:{T:-1},490:{T:1},491:{T:-1},492:{T:1},493:{T:-1},494:{f:ZW},495:{T:1},496:{T:-1},497:{T:1},498:{T:-1},499:{},500:{T:1},501:{T:-1},502:{T:1},503:{T:-1},504:{},505:{T:1},506:{T:-1},507:{},508:{T:1},509:{T:-1},510:{T:1},511:{T:-1},512:{},513:{},514:{T:1},515:{T:-1},516:{T:1},517:{T:-1},518:{T:1},519:{T:-1},520:{T:1},521:{T:-1},522:{},523:{},524:{},525:{},526:{},527:{},528:{T:1},529:{T:-1},530:{T:1},531:{T:-1},532:{T:1},533:{T:-1},534:{},535:{},536:{},537:{},538:{T:1},539:{T:-1},540:{T:1},541:{T:-1},542:{T:1},548:{},549:{},550:{f:U1},551:{},552:{},553:{},554:{T:1},555:{T:-1},556:{T:1},557:{T:-1},558:{T:1},559:{T:-1},560:{T:1},561:{T:-1},562:{},564:{},565:{T:1},566:{T:-1},569:{T:1},570:{T:-1},572:{},573:{T:1},574:{T:-1},577:{},578:{},579:{},580:{},581:{},582:{},583:{},584:{},585:{},586:{},587:{},588:{T:-1},589:{},590:{T:1},591:{T:-1},592:{T:1},593:{T:-1},594:{T:1},595:{T:-1},596:{},597:{T:1},598:{T:-1},599:{T:1},600:{T:-1},601:{T:1},602:{T:-1},603:{T:1},604:{T:-1},605:{T:1},606:{T:-1},607:{},608:{T:1},609:{T:-1},610:{},611:{T:1},612:{T:-1},613:{T:1},614:{T:-1},615:{T:1},616:{T:-1},617:{T:1},618:{T:-1},619:{T:1},620:{T:-1},625:{},626:{T:1},627:{T:-1},628:{T:1},629:{T:-1},630:{T:1},631:{T:-1},632:{f:M3},633:{T:1},634:{T:-1},635:{T:1,f:A3},636:{T:-1},637:{f:JL},638:{T:1},639:{},640:{T:-1},641:{T:1},642:{T:-1},643:{T:1},644:{},645:{T:-1},646:{T:1},648:{T:1},649:{},650:{T:-1},651:{f:uU},652:{},653:{T:1},654:{T:-1},655:{T:1},656:{T:-1},657:{T:1},658:{T:-1},659:{},660:{T:1},661:{},662:{T:-1},663:{},664:{T:1},665:{},666:{T:-1},667:{},668:{},669:{},671:{T:1},672:{T:-1},673:{T:1},674:{T:-1},675:{},676:{},677:{},678:{},679:{},680:{},681:{},1024:{},1025:{},1026:{T:1},1027:{T:-1},1028:{T:1},1029:{T:-1},1030:{},1031:{T:1},1032:{T:-1},1033:{T:1},1034:{T:-1},1035:{},1036:{},1037:{},1038:{T:1},1039:{T:-1},1040:{},1041:{T:1},1042:{T:-1},1043:{},1044:{},1045:{},1046:{T:1},1047:{T:-1},1048:{T:1},1049:{T:-1},1050:{},1051:{T:1},1052:{T:1},1053:{f:sU},1054:{T:1},1055:{},1056:{T:1},1057:{T:-1},1058:{T:1},1059:{T:-1},1061:{},1062:{T:1},1063:{T:-1},1064:{T:1},1065:{T:-1},1066:{T:1},1067:{T:-1},1068:{T:1},1069:{T:-1},1070:{T:1},1071:{T:-1},1072:{T:1},1073:{T:-1},1075:{T:1},1076:{T:-1},1077:{T:1},1078:{T:-1},1079:{T:1},1080:{T:-1},1081:{T:1},1082:{T:-1},1083:{T:1},1084:{T:-1},1085:{},1086:{T:1},1087:{T:-1},1088:{T:1},1089:{T:-1},1090:{T:1},1091:{T:-1},1092:{T:1},1093:{T:-1},1094:{T:1},1095:{T:-1},1096:{},1097:{T:1},1098:{},1099:{T:-1},1100:{T:1},1101:{T:-1},1102:{},1103:{},1104:{},1105:{},1111:{},1112:{},1113:{T:1},1114:{T:-1},1115:{T:1},1116:{T:-1},1117:{},1118:{T:1},1119:{T:-1},1120:{T:1},1121:{T:-1},1122:{T:1},1123:{T:-1},1124:{T:1},1125:{T:-1},1126:{},1128:{T:1},1129:{T:-1},1130:{},1131:{T:1},1132:{T:-1},1133:{T:1},1134:{T:-1},1135:{T:1},1136:{T:-1},1137:{T:1},1138:{T:-1},1139:{T:1},1140:{T:-1},1141:{},1142:{T:1},1143:{T:-1},1144:{T:1},1145:{T:-1},1146:{},1147:{T:1},1148:{T:-1},1149:{T:1},1150:{T:-1},1152:{T:1},1153:{T:-1},1154:{T:-1},1155:{T:-1},1156:{T:-1},1157:{T:1},1158:{T:-1},1159:{T:1},1160:{T:-1},1161:{T:1},1162:{T:-1},1163:{T:1},1164:{T:-1},1165:{T:1},1166:{T:-1},1167:{T:1},1168:{T:-1},1169:{T:1},1170:{T:-1},1171:{},1172:{T:1},1173:{T:-1},1177:{},1178:{T:1},1180:{},1181:{},1182:{},2048:{T:1},2049:{T:-1},2050:{},2051:{T:1},2052:{T:-1},2053:{},2054:{},2055:{T:1},2056:{T:-1},2057:{T:1},2058:{T:-1},2060:{},2067:{},2068:{T:1},2069:{T:-1},2070:{},2071:{},2072:{T:1},2073:{T:-1},2075:{},2076:{},2077:{T:1},2078:{T:-1},2079:{},2080:{T:1},2081:{T:-1},2082:{},2083:{T:1},2084:{T:-1},2085:{T:1},2086:{T:-1},2087:{T:1},2088:{T:-1},2089:{T:1},2090:{T:-1},2091:{},2092:{},2093:{T:1},2094:{T:-1},2095:{},2096:{T:1},2097:{T:-1},2098:{T:1},2099:{T:-1},2100:{T:1},2101:{T:-1},2102:{},2103:{T:1},2104:{T:-1},2105:{},2106:{T:1},2107:{T:-1},2108:{},2109:{T:1},2110:{T:-1},2111:{T:1},2112:{T:-1},2113:{T:1},2114:{T:-1},2115:{},2116:{},2117:{},2118:{T:1},2119:{T:-1},2120:{},2121:{T:1},2122:{T:-1},2123:{T:1},2124:{T:-1},2125:{},2126:{T:1},2127:{T:-1},2128:{},2129:{T:1},2130:{T:-1},2131:{T:1},2132:{T:-1},2133:{T:1},2134:{},2135:{},2136:{},2137:{T:1},2138:{T:-1},2139:{T:1},2140:{T:-1},2141:{},3072:{},3073:{},4096:{T:1},4097:{T:-1},5002:{T:1},5003:{T:-1},5081:{T:1},5082:{T:-1},5083:{},5084:{T:1},5085:{T:-1},5086:{T:1},5087:{T:-1},5088:{},5089:{},5090:{},5092:{T:1},5093:{T:-1},5094:{},5095:{T:1},5096:{T:-1},5097:{},5099:{},65535:{n:""}},K1={6:{f:uv},10:{f:xa},12:{f:Dr},13:{f:Dr},14:{f:Tr},15:{f:Tr},16:{f:wn},17:{f:Tr},18:{f:Tr},19:{f:Dr},20:{f:rT},21:{f:rT},23:{f:lP},24:{f:iT},25:{f:Tr},26:{},27:{},28:{f:TB},29:{},34:{f:Tr},35:{f:nT},38:{f:wn},39:{f:wn},40:{f:wn},41:{f:wn},42:{f:Tr},43:{f:Tr},47:{f:I4},49:{f:aB},51:{f:Dr},60:{},61:{f:iB},64:{f:Tr},65:{f:oB},66:{f:Dr},77:{},80:{},81:{},82:{},85:{f:Dr},89:{},90:{},91:{},92:{f:q$},93:{f:AB},94:{},95:{f:Tr},96:{},97:{},99:{f:Tr},125:{f:cP},128:{f:wB},129:{f:Z$},130:{f:Dr},131:{f:Tr},132:{f:Tr},133:{f:J$},134:{},140:{f:kB},141:{f:Dr},144:{},146:{f:HB},151:{},152:{},153:{},154:{},155:{},156:{f:Dr},157:{},158:{},160:{f:VB},161:{f:LB},174:{},175:{},176:{},177:{},178:{},180:{},181:{},182:{},184:{},185:{},189:{f:fB},190:{f:gB},193:{f:xa},197:{},198:{},199:{},200:{},201:{},202:{f:Tr},203:{},204:{},205:{},206:{},207:{},208:{},209:{},210:{},211:{},213:{},215:{},216:{},217:{},218:{f:Dr},220:{},221:{f:Tr},222:{},224:{f:pB},225:{f:X$},226:{f:xa},227:{},229:{f:_B},233:{},235:{},236:{},237:{},239:{},240:{},241:{},242:{},244:{},245:{},246:{},247:{},248:{},249:{},251:{},252:{f:Q$},253:{f:lB},255:{f:eB},256:{},259:{},290:{},311:{},312:{},315:{},317:{f:rP},318:{},319:{},320:{},330:{},331:{},333:{},334:{},335:{},336:{},337:{},338:{},339:{},340:{},351:{},352:{f:Tr},353:{f:xa},401:{},402:{},403:{},404:{},405:{},406:{},407:{},408:{},425:{},426:{},427:{},428:{},429:{},430:{f:CB},431:{f:Tr},432:{},433:{},434:{},437:{},438:{f:OB},439:{f:Tr},440:{f:PB},441:{},442:{f:qf},443:{},444:{f:Dr},445:{},446:{},448:{f:xa},449:{f:nB,r:2},450:{f:xa},512:{f:eT},513:{f:BB},515:{f:vB},516:{f:cB},517:{f:tT},519:{f:WB},520:{f:tB},523:{},545:{f:sT},549:{f:QR},566:{},574:{f:sB},638:{f:dB},659:{},1048:{},1054:{f:uB},1084:{},1212:{f:bB},2048:{f:DB},2049:{},2050:{},2051:{},2052:{},2053:{},2054:{},2055:{},2056:{},2057:{f:Vg},2058:{},2059:{},2060:{},2061:{},2062:{},2063:{},2064:{},2066:{},2067:{},2128:{},2129:{},2130:{},2131:{},2132:{},2133:{},2134:{},2135:{},2136:{},2137:{},2138:{},2146:{},2147:{r:12},2148:{},2149:{},2150:{},2151:{f:xa},2152:{},2154:{},2155:{},2156:{},2161:{},2162:{},2164:{},2165:{},2166:{},2167:{},2168:{},2169:{},2170:{},2171:{},2172:{f:FB,r:12},2173:{f:f3,r:12},2174:{},2175:{},2180:{},2181:{},2182:{},2183:{},2184:{},2185:{},2186:{},2187:{},2188:{f:Tr,r:12},2189:{},2190:{r:12},2191:{},2192:{},2194:{},2195:{},2196:{f:yB,r:12},2197:{},2198:{f:a3,r:12},2199:{},2200:{},2201:{},2202:{f:EB,r:12},2203:{f:xa},2204:{},2205:{},2206:{},2207:{},2211:{f:rB},2212:{},2213:{},2214:{},2215:{},4097:{},4098:{},4099:{},4102:{},4103:{},4105:{},4106:{},4107:{},4108:{},4109:{},4116:{},4117:{},4118:{},4119:{},4120:{},4121:{},4122:{},4123:{},4124:{},4125:{},4126:{},4127:{},4128:{},4129:{},4130:{},4132:{},4133:{},4134:{f:Dr},4135:{},4146:{},4147:{},4148:{},4149:{},4154:{},4156:{},4157:{},4158:{},4159:{},4160:{},4161:{},4163:{},4164:{f:$B},4165:{},4166:{},4168:{},4170:{},4171:{},4174:{},4175:{},4176:{},4177:{},4187:{},4188:{f:NB},4189:{},4191:{},4192:{},4193:{},4194:{},4195:{},4196:{},4197:{},4198:{},4199:{},4200:{},0:{f:eT},1:{},2:{f:GB},3:{f:zB},4:{f:YB},5:{f:tT},7:{f:jB},8:{},9:{f:Vg},11:{},22:{f:Dr},30:{f:hB},31:{},32:{},33:{f:sT},36:{},37:{f:QR},50:{f:KB},62:{},52:{},67:{},68:{f:Dr},69:{},86:{},126:{},127:{f:UB},135:{},136:{},137:{},145:{},148:{},149:{},150:{},169:{},171:{},188:{},191:{},192:{},194:{},195:{},214:{f:XB},223:{},234:{},354:{},421:{},518:{f:uv},521:{f:Vg},536:{f:iT},547:{f:nT},561:{},579:{},1030:{f:uv},1033:{f:Vg},1091:{},2157:{},2163:{},2177:{},2240:{},2241:{},2242:{},2243:{},2244:{},2245:{},2246:{},2247:{},2248:{},2249:{},2250:{},2251:{},2262:{r:12},29282:{}};function qi(t,e,r,n){var i=e;if(!isNaN(i)){var s=(r||[]).length||0,o=t.next(4);o.write_shift(2,i),o.write_shift(2,s),s>0&&UO(r)&&t.push(r)}}function pT(t,e){var r=e||{},n=r.dense?[]:{};t=t.replace(//g,"");var i=t.match(/");var s=t.match(/<\/table/i),o=i.index,a=s&&s.index||t.length,l=vL(t.slice(o,a),/(:?]*>)/i,""),c=-1,u=0,h=0,d=0,f={s:{r:1e7,c:1e7},e:{r:0,c:0}},g=[];for(o=0;o/i);for(a=0;a"))>-1;)C=C.slice(E+1);for(var A=0;A")));d=T.colspan?+T.colspan:1,((h=+T.rowspan)>1||d>1)&&g.push({s:{r:c,c:u},e:{r:c+(h||1)-1,c:u+d-1}});var W=T.t||T["data-t"]||"";if(!C.length){u+=d;continue}if(C=IO(C),f.s.r>c&&(f.s.r=c),f.e.ru&&(f.s.c=u),f.e.cr||i[c].s.c>o)&&!(i[c].e.r1&&(f.rowspan=a),l>1&&(f.colspan=l),n.editable?d=''+d+"":h&&(f["data-t"]=h&&h.t||"z",h.v!=null&&(f["data-v"]=h.v),h.z!=null&&(f["data-z"]=h.z),h.l&&(h.l.Target||"#").charAt(0)!="#"&&(d=''+d+"")),f.id=(n.id||"sjs")+"-"+u,s.push(kL("td",d,f))}}var g="";return g+s.join("")+""}var XU='SheetJS Table Export',qU="";function ZU(t,e){var r=t.match(/[\s\S]*?<\/table>/gi);if(!r||r.length==0)throw new Error("Invalid HTML: could not find
");if(r.length==1)return gl(pT(r[0],e),e);var n=kx();return r.forEach(function(i,s){Nx(n,pT(i,e),"Sheet"+(s+1))}),n}function JU(t,e,r){var n=[];return n.join("")+""}function QU(t,e){var r=e||{},n=r.header!=null?r.header:XU,i=r.footer!=null?r.footer:qU,s=[n],o=hh(t["!ref"]);r.dense=Array.isArray(t),s.push(JU(t,o,r));for(var a=o.s.r;a<=o.e.r;++a)s.push(KU(t,o,a,r));return s.push("
"+i),s.join("")}function NP(t,e,r){var n=r||{},i=0,s=0;if(n.origin!=null)if(typeof n.origin=="number")i=n.origin;else{var o=typeof n.origin=="string"?Fn(n.origin):n.origin;i=o.r,s=o.c}var a=e.getElementsByTagName("tr"),l=Math.min(n.sheetRows||1e7,a.length),c={s:{r:0,c:0},e:{r:i,c:s}};if(t["!ref"]){var u=hh(t["!ref"]);c.s.r=Math.min(c.s.r,u.s.r),c.s.c=Math.min(c.s.c,u.s.c),c.e.r=Math.max(c.e.r,u.e.r),c.e.c=Math.max(c.e.c,u.e.c),i==-1&&(c.e.r=i=u.e.r+1)}var h=[],d=0,f=t["!rows"]||(t["!rows"]=[]),g=0,m=0,p=0,S=0,y=0,C=0;for(t["!cols"]||(t["!cols"]=[]);g1||C>1)&&h.push({s:{r:m+i,c:S+s},e:{r:m+i+(y||1)-1,c:S+s+(C||1)-1}});var Y={t:"s",v:T},z=O.getAttribute("data-t")||O.getAttribute("t")||"";T!=null&&(T.length==0?Y.t=z||"z":n.raw||T.trim().length==0||z=="s"||(T==="TRUE"?Y={t:"b",v:!0}:T==="FALSE"?Y={t:"b",v:!1}:isNaN(xs(T))?isNaN(nh(T).getDate())||(Y={t:"d",v:Jr(T)},n.cellDates||(Y={t:"n",v:$n(Y.v)}),Y.z=n.dateNF||ot[14]):Y={t:"n",v:xs(T)})),Y.z===void 0&&W!=null&&(Y.z=W);var U="",oe=O.getElementsByTagName("A");if(oe&&oe.length)for(var Ce=0;Ce=l&&(t["!fullref"]=Rt((c.e.r=a.length-g+m-1+i,c))),t}function HP(t,e){var r=e||{},n=r.dense?[]:{};return NP(n,t,e)}function e8(t,e){return gl(HP(t,e),e)}function wT(t){var e="",r=t8(t);return r&&(e=r(t).getPropertyValue("display")),e||(e=t.style&&t.style.display),e==="none"}function t8(t){return t.ownerDocument.defaultView&&typeof t.ownerDocument.defaultView.getComputedStyle=="function"?t.ownerDocument.defaultView.getComputedStyle:typeof getComputedStyle=="function"?getComputedStyle:null}function r8(t){var e=t.replace(/[\t\r\n]/g," ").trim().replace(/ +/g," ").replace(//g," ").replace(//g,function(n,i){return Array(parseInt(i,10)+1).join(" ")}).replace(/]*\/>/g," ").replace(//g,` `),r=At(e.replace(/<[^>]*>/g,""));return[r]}var vT={day:["d","dd"],month:["m","mm"],year:["y","yy"],hours:["h","hh"],minutes:["m","mm"],seconds:["s","ss"],"am-pm":["A/P","AM/PM"],"day-of-week":["ddd","dddd"],era:["e","ee"],quarter:["\\Qm",'m\\"th quarter"']};function FP(t,e){var r=e||{},n=wx(t),i=[],s,o,a={name:""},l="",c=0,u,h,d={},f=[],g=r.dense?[]:{},m,p,S={value:""},y="",C=0,E=[],A=-1,O=-1,T={s:{r:1e6,c:1e7},e:{r:0,c:0}},W=0,I={},Y=[],z={},U=0,oe=0,Ce=[],pe=1,Te=1,Se=[],Ae={Names:[]},q={},Oe=["",""],v=[],w={},x="",R=0,b=!1,B=!1,X=0;for(bf.lastIndex=0,n=n.replace(//mg,"").replace(//gm,"");m=bf.exec(n);)switch(m[3]=m[3].replace(/_.*$/,"")){case"table":case"工作表":m[1]==="/"?(T.e.c>=T.s.c&&T.e.r>=T.s.r?g["!ref"]=Rt(T):g["!ref"]="A1:A1",r.sheetRows>0&&r.sheetRows<=T.e.r&&(g["!fullref"]=g["!ref"],T.e.r=r.sheetRows-1,g["!ref"]=Rt(T)),Y.length&&(g["!merges"]=Y),Ce.length&&(g["!rows"]=Ce),u.name=u.名称||u.name,typeof JSON<"u"&&JSON.stringify(u),f.push(u.name),d[u.name]=g,B=!1):m[0].charAt(m[0].length-2)!=="/"&&(u=Qe(m[0],!1),A=O=-1,T.s.r=T.s.c=1e7,T.e.r=T.e.c=0,g=r.dense?[]:{},Y=[],Ce=[],B=!0);break;case"table-row-group":m[1]==="/"?--W:++W;break;case"table-row":case"行":if(m[1]==="/"){A+=pe,pe=1;break}if(h=Qe(m[0],!1),h.行号?A=h.行号-1:A==-1&&(A=0),pe=+h["number-rows-repeated"]||1,pe<10)for(X=0;X0&&(Ce[A+X]={level:W});O=-1;break;case"covered-table-cell":m[1]!=="/"&&++O,r.sheetStubs&&(r.dense?(g[A]||(g[A]=[]),g[A][O]={t:"z"}):g[nt({r:A,c:O})]={t:"z"}),y="",E=[];break;case"table-cell":case"数据":if(m[0].charAt(m[0].length-2)==="/")++O,S=Qe(m[0],!1),Te=parseInt(S["number-columns-repeated"]||"1",10),p={t:"z",v:null},S.formula&&r.cellFormula!=!1&&(p.f=dT(At(S.formula))),(S.数据类型||S["value-type"])=="string"&&(p.t="s",p.v=At(S["string-value"]||""),r.dense?(g[A]||(g[A]=[]),g[A][O]=p):g[nt({r:A,c:O})]=p),O+=Te-1;else if(m[1]!=="/"){++O,y="",C=0,E=[],Te=1;var ne=pe?A+pe-1:A;if(O>T.e.c&&(T.e.c=O),OT.e.r&&(T.e.r=ne),S=Qe(m[0],!1),v=[],w={},p={t:S.数据类型||S["value-type"],v:null},r.cellFormula)if(S.formula&&(S.formula=At(S.formula)),S["number-matrix-columns-spanned"]&&S["number-matrix-rows-spanned"]&&(U=parseInt(S["number-matrix-rows-spanned"],10)||0,oe=parseInt(S["number-matrix-columns-spanned"],10)||0,z={s:{r:A,c:O},e:{r:A+U-1,c:O+oe-1}},p.F=Rt(z),Se.push([z,p.F])),S.formula)p.f=dT(S.formula);else for(X=0;X=Se[X][0].s.r&&A<=Se[X][0].e.r&&O>=Se[X][0].s.c&&O<=Se[X][0].e.c&&(p.F=Se[X][1]);switch((S["number-columns-spanned"]||S["number-rows-spanned"])&&(U=parseInt(S["number-rows-spanned"],10)||0,oe=parseInt(S["number-columns-spanned"],10)||0,z={s:{r:A,c:O},e:{r:A+U-1,c:O+oe-1}},Y.push(z)),S["number-columns-repeated"]&&(Te=parseInt(S["number-columns-repeated"],10)),p.t){case"boolean":p.t="b",p.v=ar(S["boolean-value"]);break;case"float":p.t="n",p.v=parseFloat(S.value);break;case"percentage":p.t="n",p.v=parseFloat(S.value);break;case"currency":p.t="n",p.v=parseFloat(S.value);break;case"date":p.t="d",p.v=Jr(S["date-value"]),r.cellDates||(p.t="n",p.v=$n(p.v)),p.z="m/d/yy";break;case"time":p.t="n",p.v=mL(S["time-value"])/86400,r.cellDates&&(p.t="d",p.v=Qp(p.v)),p.z="HH:MM:SS";break;case"number":p.t="n",p.v=parseFloat(S.数据数值);break;default:if(p.t==="string"||p.t==="text"||!p.t)p.t="s",S["string-value"]!=null&&(y=At(S["string-value"]),E=[]);else throw new Error("Unsupported value type "+p.t)}}else{if(b=!1,p.t==="s"&&(p.v=y||"",E.length&&(p.R=E),b=C==0),q.Target&&(p.l=q),v.length>0&&(p.c=v,v=[]),y&&r.cellText!==!1&&(p.w=y),b&&(p.t="z",delete p.v),(!b||r.sheetStubs)&&!(r.sheetRows&&r.sheetRows<=A))for(var fe=0;fe0;)g[A+fe][O+Te]=sn(p);else for(g[nt({r:A+fe,c:O})]=p;--Te>0;)g[nt({r:A+fe,c:O+Te})]=sn(p);T.e.c<=O&&(T.e.c=O)}Te=parseInt(S["number-columns-repeated"]||"1",10),O+=Te-1,Te=0,p={},y="",E=[]}q={};break;case"document":case"document-content":case"电子表格文档":case"spreadsheet":case"主体":case"scripts":case"styles":case"font-face-decls":case"master-styles":if(m[1]==="/"){if((s=i.pop())[0]!==m[3])throw"Bad state: "+s}else m[0].charAt(m[0].length-2)!=="/"&&i.push([m[3],!0]);break;case"annotation":if(m[1]==="/"){if((s=i.pop())[0]!==m[3])throw"Bad state: "+s;w.t=y,E.length&&(w.R=E),w.a=x,v.push(w)}else m[0].charAt(m[0].length-2)!=="/"&&i.push([m[3],!1]);x="",R=0,y="",C=0,E=[];break;case"creator":m[1]==="/"?x=n.slice(R,m.index):R=m.index+m[0].length;break;case"meta":case"元数据":case"settings":case"config-item-set":case"config-item-map-indexed":case"config-item-map-entry":case"config-item-map-named":case"shapes":case"frame":case"text-box":case"image":case"data-pilot-tables":case"list-style":case"form":case"dde-links":case"event-listeners":case"chart":if(m[1]==="/"){if((s=i.pop())[0]!==m[3])throw"Bad state: "+s}else m[0].charAt(m[0].length-2)!=="/"&&i.push([m[3],!1]);y="",C=0,E=[];break;case"scientific-number":break;case"currency-symbol":break;case"currency-style":break;case"number-style":case"percentage-style":case"date-style":case"time-style":if(m[1]==="/"){if(I[a.name]=l,(s=i.pop())[0]!==m[3])throw"Bad state: "+s}else m[0].charAt(m[0].length-2)!=="/"&&(l="",a=Qe(m[0],!1),i.push([m[3],!0]));break;case"script":break;case"libraries":break;case"automatic-styles":break;case"default-style":case"page-layout":break;case"style":break;case"map":break;case"font-face":break;case"paragraph-properties":break;case"table-properties":break;case"table-column-properties":break;case"table-row-properties":break;case"table-cell-properties":break;case"number":switch(i[i.length-1][0]){case"time-style":case"date-style":o=Qe(m[0],!1),l+=vT[m[3]][o.style==="long"?1:0];break}break;case"fraction":break;case"day":case"month":case"year":case"era":case"day-of-week":case"week-of-year":case"quarter":case"hours":case"minutes":case"seconds":case"am-pm":switch(i[i.length-1][0]){case"time-style":case"date-style":o=Qe(m[0],!1),l+=vT[m[3]][o.style==="long"?1:0];break}break;case"boolean-style":break;case"boolean":break;case"text-style":break;case"text":if(m[0].slice(-2)==="/>")break;if(m[1]==="/")switch(i[i.length-1][0]){case"number-style":case"date-style":case"time-style":l+=n.slice(c,m.index);break}else c=m.index+m[0].length;break;case"named-range":o=Qe(m[0],!1),Oe=hv(o["cell-range-address"]);var le={Name:o.name,Ref:Oe[0]+"!"+Oe[1]};B&&(le.Sheet=f.length),Ae.Names.push(le);break;case"text-content":break;case"text-properties":break;case"embedded-text":break;case"body":case"电子表格":break;case"forms":break;case"table-column":break;case"table-header-rows":break;case"table-rows":break;case"table-column-group":break;case"table-header-columns":break;case"table-columns":break;case"null-date":break;case"graphic-properties":break;case"calculation-settings":break;case"named-expressions":break;case"label-range":break;case"label-ranges":break;case"named-expression":break;case"sort":break;case"sort-by":break;case"sort-groups":break;case"tab":break;case"line-break":break;case"span":break;case"p":case"文本串":if(["master-styles"].indexOf(i[i.length-1][0])>-1)break;if(m[1]==="/"&&(!S||!S["string-value"])){var we=r8(n.slice(C,m.index));y=(y.length>0?y+` `:"")+we[0]}else Qe(m[0],!1),C=m.index+m[0].length;break;case"s":break;case"database-range":if(m[1]==="/")break;try{Oe=hv(Qe(m[0])["target-range-address"]),d[Oe[0]]["!autofilter"]={ref:Oe[1]}}catch{}break;case"date":break;case"object":break;case"title":case"标题":break;case"desc":break;case"binary-data":break;case"table-source":break;case"scenario":break;case"iteration":break;case"content-validations":break;case"content-validation":break;case"help-message":break;case"error-message":break;case"database-ranges":break;case"filter":break;case"filter-and":break;case"filter-or":break;case"filter-condition":break;case"list-level-style-bullet":break;case"list-level-style-number":break;case"list-level-properties":break;case"sender-firstname":case"sender-lastname":case"sender-initials":case"sender-title":case"sender-position":case"sender-email":case"sender-phone-private":case"sender-fax":case"sender-company":case"sender-phone-work":case"sender-street":case"sender-city":case"sender-postal-code":case"sender-country":case"sender-state-or-province":case"author-name":case"author-initials":case"chapter":case"file-name":case"template-name":case"sheet-name":break;case"event-listener":break;case"initial-creator":case"creation-date":case"print-date":case"generator":case"document-statistic":case"user-defined":case"editing-duration":case"editing-cycles":break;case"config-item":break;case"page-number":break;case"page-count":break;case"time":break;case"cell-range-source":break;case"detective":break;case"operation":break;case"highlighted-range":break;case"data-pilot-table":case"source-cell-range":case"source-service":case"data-pilot-field":case"data-pilot-level":case"data-pilot-subtotals":case"data-pilot-subtotal":case"data-pilot-members":case"data-pilot-member":case"data-pilot-display-info":case"data-pilot-sort-info":case"data-pilot-layout-info":case"data-pilot-field-reference":case"data-pilot-groups":case"data-pilot-group":case"data-pilot-group-member":break;case"rect":break;case"dde-connection-decls":case"dde-connection-decl":case"dde-link":case"dde-source":break;case"properties":break;case"property":break;case"a":if(m[1]!=="/"){if(q=Qe(m[0],!1),!q.href)break;q.Target=At(q.href),delete q.href,q.Target.charAt(0)=="#"&&q.Target.indexOf(".")>-1?(Oe=hv(q.Target.slice(1)),q.Target="#"+Oe[0]+"!"+Oe[1]):q.Target.match(/^\.\.[\\\/]/)&&(q.Target=q.Target.slice(3))}break;case"table-protection":break;case"data-pilot-grand-total":break;case"office-document-common-attrs":break;default:switch(m[2]){case"dc:":case"calcext:":case"loext:":case"ooo:":case"chartooo:":case"draw:":case"style:":case"chart:":case"form:":case"uof:":case"表:":case"字:":break;default:if(r.WTF)throw new Error(m)}}var N={Sheets:d,SheetNames:f,Workbook:Ae};return r.bookSheets&&delete N.Sheets,N}function CT(t,e){e=e||{},Pi(t,"META-INF/manifest.xml")&&v$(Pr(t,"META-INF/manifest.xml"),e);var r=wi(t,"content.xml");if(!r)throw new Error("Missing content.xml in ODS / UOF file");var n=FP(Jt(r),e);return Pi(t,"meta.xml")&&(n.Props=qO(Pr(t,"meta.xml"))),n}function ST(t,e){return FP(t,e)}/*! sheetjs (C) 2013-present SheetJS -- http://sheetjs.com */function Ix(t){return new DataView(t.buffer,t.byteOffset,t.byteLength)}function X1(t){return typeof TextDecoder<"u"?new TextDecoder().decode(t):Jt(Oc(t))}function q1(t){var e=t.reduce(function(i,s){return i+s.length},0),r=new Uint8Array(e),n=0;return t.forEach(function(i){r.set(i,n),n+=i.length}),r}function xT(t){return t-=t>>1&1431655765,t=(t&858993459)+(t>>2&858993459),(t+(t>>4)&252645135)*16843009>>>24}function n8(t,e){for(var r=(t[e+15]&127)<<7|t[e+14]>>1,n=t[e+14]&1,i=e+13;i>=e;--i)n=n*256+t[i];return(t[e+15]&128?-n:n)*Math.pow(10,r-6176)}function _f(t,e){var r=e?e[0]:0,n=t[r]&127;e:if(t[r++]>=128&&(n|=(t[r]&127)<<7,t[r++]<128||(n|=(t[r]&127)<<14,t[r++]<128)||(n|=(t[r]&127)<<21,t[r++]<128)||(n+=(t[r]&127)*Math.pow(2,28),++r,t[r++]<128)||(n+=(t[r]&127)*Math.pow(2,35),++r,t[r++]<128)||(n+=(t[r]&127)*Math.pow(2,42),++r,t[r++]<128)))break e;return e&&(e[0]=r),n}function Wr(t){var e=0,r=t[e]&127;e:if(t[e++]>=128){if(r|=(t[e]&127)<<7,t[e++]<128||(r|=(t[e]&127)<<14,t[e++]<128)||(r|=(t[e]&127)<<21,t[e++]<128))break e;r|=(t[e]&127)<<28}return r}function vn(t){for(var e=[],r=[0];r[0]=128;);a=t.slice(l,r[0])}break;case 5:o=4,a=t.slice(r[0],r[0]+o),r[0]+=o;break;case 1:o=8,a=t.slice(r[0],r[0]+o),r[0]+=o;break;case 2:o=_f(t,r),a=t.slice(r[0],r[0]+o),r[0]+=o;break;case 3:case 4:default:throw new Error("PB Type ".concat(s," for Field ").concat(i," at offset ").concat(n))}var c={data:a,type:s};e[i]==null?e[i]=[c]:e[i].push(c)}return e}function Ox(t,e){return t?.map(function(r){return e(r.data)})||[]}function i8(t){for(var e,r=[],n=[0];n[0]>>0>0),r.push(o)}return r}function s8(t,e){if(t!=0)throw new Error("Unexpected Snappy chunk type ".concat(t));for(var r=[0],n=_f(e,r),i=[];r[0]>2;if(o<60)++o;else{var a=o-59;o=e[r[0]],a>1&&(o|=e[r[0]+1]<<8),a>2&&(o|=e[r[0]+2]<<16),a>3&&(o|=e[r[0]+3]<<24),o>>>=0,o++,r[0]+=a}i.push(e.slice(r[0],r[0]+o)),r[0]+=o;continue}else{var l=0,c=0;if(s==1?(c=(e[r[0]]>>2&7)+4,l=(e[r[0]++]&224)<<3,l|=e[r[0]++]):(c=(e[r[0]++]>>2)+1,s==2?(l=e[r[0]]|e[r[0]+1]<<8,r[0]+=2):(l=(e[r[0]]|e[r[0]+1]<<8|e[r[0]+2]<<16|e[r[0]+3]<<24)>>>0,r[0]+=4)),i=[q1(i)],l==0)throw new Error("Invalid offset 0");if(l>i[0].length)throw new Error("Invalid offset beyond length");if(c>=l)for(i.push(i[0].slice(-l)),c-=l;c>=i[i.length-1].length;)i.push(i[i.length-1]),c-=i[i.length-1].length;i.push(i[0].slice(-l,-l+c))}}var u=q1(i);if(u.length!=n)throw new Error("Unexpected length: ".concat(u.length," != ").concat(n));return u}function o8(t){for(var e=[],r=0;r1?12:8)+xT(s&(n>1?3470:398))*4,a=-1,l=-1,c=NaN,u=new Date(2001,0,1);s&512&&(a=i.getUint32(o,!0),o+=4),o+=xT(s&(n>1?12288:4096))*4,s&16&&(l=i.getUint32(o,!0),o+=4),s&32&&(c=i.getFloat64(o,!0),o+=8),s&64&&(u.setTime(u.getTime()+i.getFloat64(o,!0)*1e3),o+=8);var h;switch(t[2]){case 0:break;case 2:h={t:"n",v:c};break;case 3:h={t:"s",v:e[l]};break;case 5:h={t:"d",v:u};break;case 6:h={t:"b",v:c>0};break;case 7:h={t:"n",v:c/86400};break;case 8:h={t:"e",v:0};break;case 9:if(a>-1)h={t:"s",v:r[a]};else if(l>-1)h={t:"s",v:e[l]};else if(!isNaN(c))h={t:"n",v:c};else throw new Error("Unsupported cell type ".concat(t.slice(0,4)));break;default:throw new Error("Unsupported cell type ".concat(t.slice(0,4)))}return h}function l8(t,e,r){var n=Ix(t),i=n.getUint32(8,!0),s=12,o=-1,a=-1,l=NaN,c=NaN,u=new Date(2001,0,1);i&1&&(l=n8(t,s),s+=16),i&2&&(c=n.getFloat64(s,!0),s+=8),i&4&&(u.setTime(u.getTime()+n.getFloat64(s,!0)*1e3),s+=8),i&8&&(a=n.getUint32(s,!0),s+=4),i&16&&(o=n.getUint32(s,!0),s+=4);var h;switch(t[1]){case 0:break;case 2:h={t:"n",v:l};break;case 3:h={t:"s",v:e[a]};break;case 5:h={t:"d",v:u};break;case 6:h={t:"b",v:c>0};break;case 7:h={t:"n",v:c/86400};break;case 8:h={t:"e",v:0};break;case 9:if(o>-1)h={t:"s",v:r[o]};else throw new Error("Unsupported cell type ".concat(t[1]," : ").concat(i&31," : ").concat(t.slice(0,4)));break;case 10:h={t:"n",v:l};break;default:throw new Error("Unsupported cell type ".concat(t[1]," : ").concat(i&31," : ").concat(t.slice(0,4)))}return h}function c8(t,e,r){switch(t[0]){case 0:case 1:case 2:case 3:return a8(t,e,r,t[0]);case 5:return l8(t,e,r);default:throw new Error("Unsupported payload version ".concat(t[0]))}}function nl(t){var e=vn(t);return _f(e[1][0].data)}function yT(t,e){var r=vn(e.data),n=Wr(r[1][0].data),i=r[3],s=[];return(i||[]).forEach(function(o){var a=vn(o.data),l=Wr(a[1][0].data)>>>0;switch(n){case 1:s[l]=X1(a[3][0].data);break;case 8:{var c=t[nl(a[9][0].data)][0],u=vn(c.data),h=t[nl(u[1][0].data)][0],d=Wr(h.meta[1][0].data);if(d!=2001)throw new Error("2000 unexpected reference to ".concat(d));var f=vn(h.data);s[l]=f[3].map(function(g){return X1(g.data)}).join("")}break}}),s}function u8(t,e){var r,n,i,s,o,a,l,c,u,h,d,f,g,m,p=vn(t),S=Wr(p[1][0].data)>>>0,y=Wr(p[2][0].data)>>>0,C=((n=(r=p[8])==null?void 0:r[0])==null?void 0:n.data)&&Wr(p[8][0].data)>0||!1,E,A;if((s=(i=p[7])==null?void 0:i[0])!=null&&s.data&&e!=0)E=(a=(o=p[7])==null?void 0:o[0])==null?void 0:a.data,A=(c=(l=p[6])==null?void 0:l[0])==null?void 0:c.data;else if((h=(u=p[4])==null?void 0:u[0])!=null&&h.data&&e!=1)E=(f=(d=p[4])==null?void 0:d[0])==null?void 0:f.data,A=(m=(g=p[3])==null?void 0:g[0])==null?void 0:m.data;else throw"NUMBERS Tile missing ".concat(e," cell storage");for(var O=C?4:1,T=Ix(E),W=[],I=0;I=1&&(z[W[W.length-1][0]]=A.subarray(W[W.length-1][1]*O)),{R:S,cells:z}}function h8(t,e){var r,n=vn(e.data),i=(r=n?.[7])!=null&&r[0]?Wr(n[7][0].data)>>>0>0?1:0:-1,s=Ox(n[5],function(o){return u8(o,i)});return{nrows:Wr(n[4][0].data)>>>0,data:s.reduce(function(o,a){return o[a.R]||(o[a.R]=[]),a.cells.forEach(function(l,c){if(o[a.R][c])throw new Error("Duplicate cell r=".concat(a.R," c=").concat(c));o[a.R][c]=l}),o},[])}}function d8(t,e,r){var n,i=vn(e.data),s={s:{r:0,c:0},e:{r:0,c:0}};if(s.e.r=(Wr(i[6][0].data)>>>0)-1,s.e.r<0)throw new Error("Invalid row varint ".concat(i[6][0].data));if(s.e.c=(Wr(i[7][0].data)>>>0)-1,s.e.c<0)throw new Error("Invalid col varint ".concat(i[7][0].data));r["!ref"]=Rt(s);var o=vn(i[4][0].data),a=yT(t,t[nl(o[4][0].data)][0]),l=(n=o[17])!=null&&n[0]?yT(t,t[nl(o[17][0].data)][0]):[],c=vn(o[3][0].data),u=0;c[1].forEach(function(h){var d=vn(h.data),f=t[nl(d[2][0].data)][0],g=Wr(f.meta[1][0].data);if(g!=6002)throw new Error("6001 unexpected reference to ".concat(g));var m=h8(t,f);m.data.forEach(function(p,S){p.forEach(function(y,C){var E=nt({r:u+S,c:C}),A=c8(y,a,l);A&&(r[E]=A)})}),u+=m.nrows})}function f8(t,e){var r=vn(e.data),n={"!ref":"A1"},i=t[nl(r[2][0].data)],s=Wr(i[0].meta[1][0].data);if(s!=6001)throw new Error("6000 unexpected reference to ".concat(s));return d8(t,i[0],n),n}function g8(t,e){var r,n=vn(e.data),i={name:(r=n[1])!=null&&r[0]?X1(n[1][0].data):"",sheets:[]},s=Ox(n[2],nl);return s.forEach(function(o){t[o].forEach(function(a){var l=Wr(a.meta[1][0].data);l==6e3&&i.sheets.push(f8(t,a))})}),i}function m8(t,e){var r=kx(),n=vn(e.data),i=Ox(n[1],nl);if(i.forEach(function(s){t[s].forEach(function(o){var a=Wr(o.meta[1][0].data);if(a==2){var l=g8(t,o);l.sheets.forEach(function(c,u){Nx(r,c,u==0?l.name:l.name+"_"+u,!0)})}})}),r.SheetNames.length==0)throw new Error("Empty NUMBERS file");return r}function fv(t){var e,r,n,i,s={},o=[];if(t.FullPaths.forEach(function(l){if(l.match(/\.iwpv2/))throw new Error("Unsupported password protection")}),t.FileIndex.forEach(function(l){if(l.name.match(/\.iwa$/)){var c;try{c=o8(l.content)}catch(h){return console.log("?? "+l.content.length+" "+(h.message||h))}var u;try{u=i8(c)}catch(h){return console.log("## "+(h.message||h))}u.forEach(function(h){s[h.id]=h.messages,o.push(h.id)})}}),!o.length)throw new Error("File has no messages");var a=((i=(n=(r=(e=s?.[1])==null?void 0:e[0])==null?void 0:r.meta)==null?void 0:n[1])==null?void 0:i[0].data)&&Wr(s[1][0].meta[1][0].data)==1&&s[1][0];if(a||o.forEach(function(l){s[l].forEach(function(c){var u=Wr(c.meta[1][0].data)>>>0;if(u==1)if(!a)a=c;else throw new Error("Document has multiple roots")})}),!a)throw new Error("Cannot find Document root");return m8(s,a)}function p8(t){return function(r){for(var n=0;n!=t.length;++n){var i=t[n];r[i[0]]===void 0&&(r[i[0]]=i[1]),i[2]==="n"&&(r[i[0]]=Number(r[i[0]]))}}}function Px(t){p8([["cellNF",!1],["cellHTML",!0],["cellFormula",!0],["cellStyles",!1],["cellText",!0],["cellDates",!1],["sheetStubs",!1],["sheetRows",0,"n"],["bookDeps",!1],["bookSheets",!1],["bookProps",!1],["bookFiles",!1],["bookVBA",!1],["password",""],["WTF",!1]])(t)}function w8(t){return Hu.WS.indexOf(t)>-1?"sheet":t==Hu.CS?"chart":t==Hu.DS?"dialog":t==Hu.MS?"macro":t&&t.length?t:"sheet"}function v8(t,e){if(!t)return 0;try{t=e.map(function(n){return n.id||(n.id=n.strRelID),[n.name,t["!id"][n.id].Target,w8(t["!id"][n.id].Type)]})}catch{return null}return!t||t.length===0?null:t}function C8(t,e,r,n,i,s,o,a,l,c,u,h){try{s[n]=Yd(wi(t,r,!0),e);var d=Pr(t,e),f;switch(a){case"sheet":f=RU(d,e,i,l,s[n],c,u,h);break;case"chart":if(f=TU(d,e,i,l,s[n],c,u,h),!f||!f["!drawel"])break;var g=kd(f["!drawel"].Target,e),m=Y1(g),p=E3(wi(t,g,!0),Yd(wi(t,m,!0),g)),S=kd(p,g),y=Y1(S);f=lU(wi(t,S,!0),S,l,Yd(wi(t,y,!0),S),c,f);break;case"macro":f=_U(d,e,i,l,s[n],c,u,h);break;case"dialog":f=AU(d,e,i,l,s[n],c,u,h);break;default:throw new Error("Unrecognized sheet type "+a)}o[n]=f;var C=[];s&&s[n]&&fo(s[n]).forEach(function(E){var A="";if(s[n][E].Type==Hu.CMNT){A=kd(s[n][E].Target,e);var O=PU(Pr(t,A,!0),A,l);if(!O||!O.length)return;aT(f,O,!1)}s[n][E].Type==Hu.TCMNT&&(A=kd(s[n][E].Target,e),C=C.concat(T3(Pr(t,A,!0),l)))}),C&&C.length&&aT(f,C,!0,l.people||[])}catch(E){if(l.WTF)throw E}}function bi(t){return t.charAt(0)=="/"?t.slice(1):t}function S8(t,e){if(xO(),e=e||{},Px(e),Pi(t,"META-INF/manifest.xml")||Pi(t,"objectdata.xml"))return CT(t,e);if(Pi(t,"Index/Document.iwa")){if(typeof Uint8Array>"u")throw new Error("NUMBERS file parsing requires Uint8Array support");if(typeof fv<"u"){if(t.FileIndex)return fv(t);var r=Et.utils.cfb_new();return kR(t).forEach(function(Ce){xL(r,Ce,SL(t,Ce))}),fv(r)}throw new Error("Unsupported NUMBERS file")}if(!Pi(t,"[Content_Types].xml"))throw Pi(t,"index.xml.gz")?new Error("Unsupported NUMBERS 08 file"):Pi(t,"index.xml")?new Error("Unsupported NUMBERS 09 file"):new Error("Unsupported ZIP file");var n=kR(t),i=p$(wi(t,"[Content_Types].xml")),s=!1,o,a;if(i.workbooks.length===0&&(a="xl/workbook.xml",Pr(t,a,!0)&&i.workbooks.push(a)),i.workbooks.length===0){if(a="xl/workbook.bin",!Pr(t,a,!0))throw new Error("Could not find workbook");i.workbooks.push(a),s=!0}i.workbooks[0].slice(-3)=="bin"&&(s=!0);var l={},c={};if(!e.bookSheets&&!e.bookProps){if(jd=[],i.sst)try{jd=OU(Pr(t,bi(i.sst)),i.sst,e)}catch(Ce){if(e.WTF)throw Ce}e.cellStyles&&i.themes.length&&(l=IU(wi(t,i.themes[0].replace(/^\//,""),!0)||"",i.themes[0],e)),i.style&&(c=MU(Pr(t,bi(i.style)),i.style,l,e))}i.links.map(function(Ce){try{var pe=Yd(wi(t,Y1(bi(Ce))),Ce);return kU(Pr(t,bi(Ce)),pe,Ce,e)}catch{}});var u=EU(Pr(t,bi(i.workbooks[0])),i.workbooks[0],e),h={},d="";i.coreprops.length&&(d=Pr(t,bi(i.coreprops[0]),!0),d&&(h=qO(d)),i.extprops.length!==0&&(d=Pr(t,bi(i.extprops[0]),!0),d&&x$(d,h,e)));var f={};(!e.bookSheets||e.bookProps)&&i.custprops.length!==0&&(d=wi(t,bi(i.custprops[0]),!0),d&&(f=b$(d,e)));var g={};if((e.bookSheets||e.bookProps)&&(u.Sheets?o=u.Sheets.map(function(pe){return pe.name}):h.Worksheets&&h.SheetNames.length>0&&(o=h.SheetNames),e.bookProps&&(g.Props=h,g.Custprops=f),e.bookSheets&&typeof o<"u"&&(g.SheetNames=o),e.bookSheets?g.SheetNames:e.bookProps))return g;o={};var m={};e.bookDeps&&i.calcchain&&(m=DU(Pr(t,bi(i.calcchain)),i.calcchain));var p=0,S={},y,C;{var E=u.Sheets;h.Worksheets=E.length,h.SheetNames=[];for(var A=0;A!=E.length;++A)h.SheetNames[A]=E[A].name}var O=s?"bin":"xml",T=i.workbooks[0].lastIndexOf("/"),W=(i.workbooks[0].slice(0,T+1)+"_rels/"+i.workbooks[0].slice(T+1)+".rels").replace(/^\//,"");Pi(t,W)||(W="xl/_rels/workbook."+O+".rels");var I=Yd(wi(t,W,!0),W.replace(/_rels.*/,"s5s"));(i.metadata||[]).length>=1&&(e.xlmeta=NU(Pr(t,bi(i.metadata[0])),i.metadata[0],e)),(i.people||[]).length>=1&&(e.people=_3(Pr(t,bi(i.people[0])),e)),I&&(I=v8(I,u.Sheets));var Y=Pr(t,"xl/worksheets/sheet.xml",!0)?1:0;e:for(p=0;p!=h.Worksheets;++p){var z="sheet";if(I&&I[p]?(y="xl/"+I[p][1].replace(/[\/]?xl\//,""),Pi(t,y)||(y=I[p][1]),Pi(t,y)||(y=W.replace(/_rels\/.*$/,"")+I[p][1]),z=I[p][2]):(y="xl/worksheets/sheet"+(p+1-Y)+"."+O,y=y.replace(/sheet0\./,"sheet.")),C=y.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels"),e&&e.sheets!=null)switch(typeof e.sheets){case"number":if(p!=e.sheets)continue e;break;case"string":if(h.SheetNames[p].toLowerCase()!=e.sheets.toLowerCase())continue e;break;default:if(Array.isArray&&Array.isArray(e.sheets)){for(var U=!1,oe=0;oe!=e.sheets.length;++oe)typeof e.sheets[oe]=="number"&&e.sheets[oe]==p&&(U=1),typeof e.sheets[oe]=="string"&&e.sheets[oe].toLowerCase()==h.SheetNames[p].toLowerCase()&&(U=1);if(!U)continue e}}C8(t,y,C,h.SheetNames[p],p,S,o,z,e,u,l,c)}return g={Directory:i,Workbook:u,Props:h,Custprops:f,Deps:m,Sheets:o,SheetNames:h.SheetNames,Strings:jd,Styles:c,Themes:l,SSF:sn(ot)},e&&e.bookFiles&&(t.files?(g.keys=n,g.files=t.files):(g.keys=[],g.files={},t.FullPaths.forEach(function(Ce,pe){Ce=Ce.replace(/^Root Entry[\/]/,""),g.keys.push(Ce),g.files[Ce]=t.FileIndex[pe]}))),e&&e.bookVBA&&(i.vba.length>0?g.vbaraw=Pr(t,bi(i.vba[0]),!0):i.defaults&&i.defaults.bin===O3&&(g.vbaraw=Pr(t,"xl/vbaProject.bin",!0))),g}function x8(t,e){var r=e||{},n="Workbook",i=Et.find(t,n);try{if(n="/!DataSpaces/Version",i=Et.find(t,n),!i||!i.content)throw new Error("ECMA-376 Encrypted file missing "+n);if(f4(i.content),n="/!DataSpaces/DataSpaceMap",i=Et.find(t,n),!i||!i.content)throw new Error("ECMA-376 Encrypted file missing "+n);var s=m4(i.content);if(s.length!==1||s[0].comps.length!==1||s[0].comps[0].t!==0||s[0].name!=="StrongEncryptionDataSpace"||s[0].comps[0].v!=="EncryptedPackage")throw new Error("ECMA-376 Encrypted file bad "+n);if(n="/!DataSpaces/DataSpaceInfo/StrongEncryptionDataSpace",i=Et.find(t,n),!i||!i.content)throw new Error("ECMA-376 Encrypted file missing "+n);var o=p4(i.content);if(o.length!=1||o[0]!="StrongEncryptionTransform")throw new Error("ECMA-376 Encrypted file bad "+n);if(n="/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary",i=Et.find(t,n),!i||!i.content)throw new Error("ECMA-376 Encrypted file missing "+n);v4(i.content)}catch{}if(n="/EncryptionInfo",i=Et.find(t,n),!i||!i.content)throw new Error("ECMA-376 Encrypted file missing "+n);var a=C4(i.content);if(n="/EncryptedPackage",i=Et.find(t,n),!i||!i.content)throw new Error("ECMA-376 Encrypted file missing "+n);if(a[0]==4&&typeof decrypt_agile<"u")return decrypt_agile(a[1],i.content,r.password||"",r);if(a[0]==2&&typeof decrypt_std76<"u")return decrypt_std76(a[1],i.content,r.password||"",r);throw new Error("File is password-protected")}function Dx(t,e){var r="";switch((e||{}).type||"base64"){case"buffer":return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7]];case"base64":r=Ci(t.slice(0,12));break;case"binary":r=t;break;case"array":return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7]];default:throw new Error("Unrecognized type "+(e&&e.type||"undefined"))}return[r.charCodeAt(0),r.charCodeAt(1),r.charCodeAt(2),r.charCodeAt(3),r.charCodeAt(4),r.charCodeAt(5),r.charCodeAt(6),r.charCodeAt(7)]}function y8(t,e){return Et.find(t,"EncryptedPackage")?x8(t,e):kP(t,e)}function b8(t,e){var r,n=t,i=e||{};return i.type||(i.type=yt&&Buffer.isBuffer(t)?"buffer":"base64"),r=_O(n,i),S8(r,i)}function LP(t,e){var r=0;e:for(;r=2&&i[3]===0||i[2]===0&&(i[3]===8||i[3]===9)))return Gd.to_workbook(n,r);break;case 3:case 131:case 139:case 140:return oT.to_workbook(n,r);case 123:if(i[1]===92&&i[2]===114&&i[3]===116)return O4.to_workbook(n,r);break;case 10:case 13:case 32:return E8(n,r);case 137:if(i[1]===80&&i[2]===78&&i[3]===71)throw new Error("PNG Image File is not a spreadsheet");break}return qB.indexOf(i[0])>-1&&i[2]<=12&&i[3]<=31?oT.to_workbook(n,r):gv(t,n,r,s)}function _8(t,e,r,n,i,s,o,a){var l=on(r),c=a.defval,u=a.raw||!Object.prototype.hasOwnProperty.call(a,"raw"),h=!0,d=i===1?[]:{};if(i!==1)if(Object.defineProperty)try{Object.defineProperty(d,"__rowNum__",{value:r,enumerable:!1})}catch{d.__rowNum__=r}else d.__rowNum__=r;if(!o||t[r])for(var f=e.s.c;f<=e.e.c;++f){var g=o?t[r][f]:t[n[f]+l];if(g===void 0||g.t===void 0){if(c===void 0)continue;s[f]!=null&&(d[s[f]]=c);continue}var m=g.v;switch(g.t){case"z":if(m==null)break;continue;case"e":m=m==0?null:void 0;break;case"s":case"d":case"b":case"n":break;default:throw new Error("unrecognized type "+g.t)}if(s[f]!=null){if(m==null)if(g.t=="e"&&m===null)d[s[f]]=null;else if(c!==void 0)d[s[f]]=c;else if(u&&m===null)d[s[f]]=null;else continue;else d[s[f]]=u&&(g.t!=="n"||g.t==="n"&&a.rawNumbers!==!1)?m:sa(g,m,a);m!=null&&(h=!1)}}return{row:d,isempty:h}}function J1(t,e){if(t==null||t["!ref"]==null)return[];var r={t:"n",v:0},n=0,i=1,s=[],o=0,a="",l={s:{r:0,c:0},e:{r:0,c:0}},c=e||{},u=c.range!=null?c.range:t["!ref"];switch(c.header===1?n=1:c.header==="A"?n=2:Array.isArray(c.header)?n=3:c.header==null&&(n=0),typeof u){case"string":l=br(u);break;case"number":l=br(t["!ref"]),l.s.r=u;break;default:l=u}n>0&&(i=0);var h=on(l.s.r),d=[],f=[],g=0,m=0,p=Array.isArray(t),S=l.s.r,y=0,C={};p&&!t[S]&&(t[S]=[]);var E=c.skipHidden&&t["!cols"]||[],A=c.skipHidden&&t["!rows"]||[];for(y=l.s.c;y<=l.e.c;++y)if(!(E[y]||{}).hidden)switch(d[y]=Br(y),r=p?t[S][y]:t[d[y]+h],n){case 1:s[y]=y-l.s.c;break;case 2:s[y]=d[y];break;case 3:s[y]=c.header[y-l.s.c];break;default:if(r==null&&(r={w:"__EMPTY",t:"s"}),a=o=sa(r,null,c),m=C[o]||0,!m)C[o]=1;else{do a=o+"_"+m++;while(C[a]);C[o]=m,C[a]=1}s[y]=a}for(S=l.s.r+i;S<=l.e.r;++S)if(!(A[S]||{}).hidden){var O=_8(t,l,S,d,n,s,p,c);(O.isempty===!1||(n===1?c.blankrows!==!1:c.blankrows))&&(f[g++]=O.row)}return f.length=g,f}var bT=/"/g;function A8(t,e,r,n,i,s,o,a){for(var l=!0,c=[],u="",h=on(r),d=e.s.c;d<=e.e.c;++d)if(n[d]){var f=a.dense?(t[r]||[])[d]:t[n[d]+h];if(f==null)u="";else if(f.v!=null){l=!1,u=""+(a.rawNumbers&&f.t=="n"?f.v:sa(f,null,a));for(var g=0,m=0;g!==u.length;++g)if((m=u.charCodeAt(g))===i||m===s||m===34||a.forceQuotes){u='"'+u.replace(bT,'""')+'"';break}u=="ID"&&(u='"ID"')}else f.f!=null&&!f.F?(l=!1,u="="+f.f,u.indexOf(",")>=0&&(u='"'+u.replace(bT,'""')+'"')):u="";c.push(u)}return a.blankrows===!1&&l?null:c.join(o)}function $P(t,e){var r=[],n=e??{};if(t==null||t["!ref"]==null)return"";var i=br(t["!ref"]),s=n.FS!==void 0?n.FS:",",o=s.charCodeAt(0),a=n.RS!==void 0?n.RS:` `,l=a.charCodeAt(0),c=new RegExp((s=="|"?"\\|":s)+"+$"),u="",h=[];n.dense=Array.isArray(t);for(var d=n.skipHidden&&t["!cols"]||[],f=n.skipHidden&&t["!rows"]||[],g=i.s.c;g<=i.e.c;++g)(d[g]||{}).hidden||(h[g]=Br(g));for(var m=0,p=i.s.r;p<=i.e.r;++p)(f[p]||{}).hidden||(u=A8(t,i,p,h,o,l,s,n),u!=null&&(n.strip&&(u=u.replace(c,"")),(u||n.blankrows!==!1)&&r.push((m++?a:"")+u)));return delete n.dense,r.join("")}function M8(t,e){e||(e={}),e.FS=" ",e.RS=` `;var r=$P(t,e);return r}function I8(t){var e="",r,n="";if(t==null||t["!ref"]==null)return[];var i=br(t["!ref"]),s="",o=[],a,l=[],c=Array.isArray(t);for(a=i.s.c;a<=i.e.c;++a)o[a]=Br(a);for(var u=i.s.r;u<=i.e.r;++u)for(s=on(u),a=i.s.c;a<=i.e.c;++a)if(e=o[a]+s,r=c?(t[u]||[])[a]:t[e],n="",r!==void 0){if(r.F!=null){if(e=r.F,!r.f)continue;n=r.f,e.indexOf(":")==-1&&(e=e+":"+e)}if(r.f!=null)n=r.f;else{if(r.t=="z")continue;if(r.t=="n"&&r.v!=null)n=""+r.v;else if(r.t=="b")n=r.v?"TRUE":"FALSE";else if(r.w!==void 0)n="'"+r.w;else{if(r.v===void 0)continue;r.t=="s"?n="'"+r.v:n=""+r.v}}l[l.length]=e+"="+n}return l}function BP(t,e,r){var n=r||{},i=+!n.skipHeader,s=t||{},o=0,a=0;if(s&&n.origin!=null)if(typeof n.origin=="number")o=n.origin;else{var l=typeof n.origin=="string"?Fn(n.origin):n.origin;o=l.r,a=l.c}var c,u={s:{c:0,r:0},e:{c:a,r:o+e.length-1+i}};if(s["!ref"]){var h=br(s["!ref"]);u.e.c=Math.max(u.e.c,h.e.c),u.e.r=Math.max(u.e.r,h.e.r),o==-1&&(o=h.e.r+1,u.e.r=o+e.length-1+i)}else o==-1&&(o=0,u.e.r=e.length-1+i);var d=n.header||[],f=0;e.forEach(function(m,p){fo(m).forEach(function(S){(f=d.indexOf(S))==-1&&(d[f=d.length]=S);var y=m[S],C="z",E="",A=nt({c:a+f,r:o+p+i});c=Af(s,A),y&&typeof y=="object"&&!(y instanceof Date)?s[A]=y:(typeof y=="number"?C="n":typeof y=="boolean"?C="b":typeof y=="string"?C="s":y instanceof Date?(C="d",n.cellDates||(C="n",y=$n(y)),E=n.dateNF||ot[14]):y===null&&n.nullError&&(C="e",y=0),c?(c.t=C,c.v=y,delete c.w,delete c.R,E&&(c.z=E)):s[A]=c={t:C,v:y},E&&(c.z=E))})}),u.e.c=Math.max(u.e.c,a+d.length-1);var g=on(o);if(i)for(f=0;f=0&&t.SheetNames.length>e)return e;throw new Error("Cannot find sheet # "+e)}else if(typeof e=="string"){var r=t.SheetNames.indexOf(e);if(r>-1)return r;throw new Error("Cannot find sheet name |"+e+"|")}else throw new Error("Cannot find sheet |"+e+"|")}function kx(){return{SheetNames:[],Sheets:{}}}function Nx(t,e,r,n){var i=1;if(!r)for(;i<=65535&&t.SheetNames.indexOf(r="Sheet"+i)!=-1;++i,r=void 0);if(!r||t.SheetNames.length>=65535)throw new Error("Too many worksheets");if(n&&t.SheetNames.indexOf(r)>=0){var s=r.match(/(^.*?)(\d+)$/);i=s&&+s[2]||0;var o=s&&s[1]||r;for(++i;i<=65535&&t.SheetNames.indexOf(r=o+i)!=-1;++i);}if(pU(r),t.SheetNames.indexOf(r)>=0)throw new Error("Worksheet with name |"+r+"| already exists!");return t.SheetNames.push(r),t.Sheets[r]=e,r}function D8(t,e,r){t.Workbook||(t.Workbook={}),t.Workbook.Sheets||(t.Workbook.Sheets=[]);var n=P8(t,e);switch(t.Workbook.Sheets[n]||(t.Workbook.Sheets[n]={}),r){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+r)}t.Workbook.Sheets[n].Hidden=r}function k8(t,e){return t.z=e,t}function VP(t,e,r){return e?(t.l={Target:e},r&&(t.l.Tooltip=r)):delete t.l,t}function N8(t,e,r){return VP(t,"#"+e,r)}function H8(t,e,r){t.c||(t.c=[]),t.c.push({t:e,a:r||"SheetJS"})}function F8(t,e,r,n){for(var i=typeof e!="string"?e:br(e),s=typeof e=="string"?e:Rt(e),o=i.s.r;o<=i.e.r;++o)for(var a=i.s.c;a<=i.e.c;++a){var l=Af(t,o,a);l.t="n",l.F=s,delete l.v,o==i.s.r&&a==i.s.c&&(l.f=r,n&&(l.D=!0))}return t}var L8={encode_col:Br,encode_row:on,encode_cell:nt,encode_range:Rt,decode_col:Sx,decode_row:Cx,split_cell:XL,decode_cell:Fn,decode_range:hh,format_cell:sa,sheet_add_aoa:zO,sheet_add_json:BP,sheet_add_dom:NP,aoa_to_sheet:dh,json_to_sheet:O8,table_to_sheet:HP,table_to_book:e8,sheet_to_csv:$P,sheet_to_txt:M8,sheet_to_json:J1,sheet_to_html:QU,sheet_to_formulae:I8,sheet_to_row_object_array:J1,sheet_get_cell:Af,book_new:kx,book_append_sheet:Nx,book_set_sheet_visibility:D8,cell_set_number_format:k8,cell_set_hyperlink:VP,cell_set_internal_link:N8,cell_add_comment:H8,sheet_set_array_formula:F8,consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}},Mh=function(t){return t&&t.Math===Math&&t},bn=Mh(typeof globalThis=="object"&&globalThis)||Mh(typeof window=="object"&&window)||Mh(typeof self=="object"&&self)||Mh(typeof Ig=="object"&&Ig)||Mh(typeof Ig=="object"&&Ig)||function(){return this}()||Function("return this")(),Hx={},xi=function(t){try{return!!t()}catch{return!0}},$8=xi,Ms=!$8(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),B8=xi,nw=!B8(function(){var t=function(){}.bind();return typeof t!="function"||t.hasOwnProperty("prototype")}),V8=nw,zg=Function.prototype.call,Is=V8?zg.bind(zg):function(){return zg.apply(zg,arguments)},WP={},UP={}.propertyIsEnumerable,YP=Object.getOwnPropertyDescriptor,W8=YP&&!UP.call({1:2},1);WP.f=W8?function(e){var r=YP(this,e);return!!r&&r.enumerable}:UP;var iw=function(t,e){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:e}},zP=nw,GP=Function.prototype,Q1=GP.call,U8=zP&&GP.bind.bind(Q1,Q1),Ur=zP?U8:function(t){return function(){return Q1.apply(t,arguments)}},jP=Ur,Y8=jP({}.toString),z8=jP("".slice),Hc=function(t){return z8(Y8(t),8,-1)},G8=Ur,j8=xi,K8=Hc,mv=Object,X8=G8("".split),q8=j8(function(){return!mv("z").propertyIsEnumerable(0)})?function(t){return K8(t)==="String"?X8(t,""):mv(t)}:mv,sw=function(t){return t==null},Z8=sw,J8=TypeError,ow=function(t){if(Z8(t))throw new J8("Can't call method on "+t);return t},Q8=q8,e6=ow,aw=function(t){return Q8(e6(t))},pv=typeof document=="object"&&document.all,an=typeof pv>"u"&&pv!==void 0?function(t){return typeof t=="function"||t===pv}:function(t){return typeof t=="function"},t6=an,Co=function(t){return typeof t=="object"?t!==null:t6(t)},wv=bn,r6=an,n6=function(t){return r6(t)?t:void 0},fh=function(t,e){return arguments.length<2?n6(wv[t]):wv[t]&&wv[t][e]},i6=Ur,lw=i6({}.isPrototypeOf),Fx=typeof navigator<"u"&&String(navigator.userAgent)||"",KP=bn,vv=Fx,ET=KP.process,RT=KP.Deno,TT=ET&&ET.versions||RT&&RT.version,_T=TT&&TT.v8,ms,ap;_T&&(ms=_T.split("."),ap=ms[0]>0&&ms[0]<4?1:+(ms[0]+ms[1]));!ap&&vv&&(ms=vv.match(/Edge\/(\d+)/),(!ms||ms[1]>=74)&&(ms=vv.match(/Chrome\/(\d+)/),ms&&(ap=+ms[1])));var s6=ap,AT=s6,o6=xi,a6=bn,l6=a6.String,Lx=!!Object.getOwnPropertySymbols&&!o6(function(){var t=Symbol("symbol detection");return!l6(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&AT&&AT<41}),c6=Lx,XP=c6&&!Symbol.sham&&typeof Symbol.iterator=="symbol",u6=fh,h6=an,d6=lw,f6=XP,g6=Object,$x=f6?function(t){return typeof t=="symbol"}:function(t){var e=u6("Symbol");return h6(e)&&d6(e.prototype,g6(t))},m6=String,cw=function(t){try{return m6(t)}catch{return"Object"}},p6=an,w6=cw,v6=TypeError,eg=function(t){if(p6(t))return t;throw new v6(w6(t)+" is not a function")},C6=eg,S6=sw,uw=function(t,e){var r=t[e];return S6(r)?void 0:C6(r)},Cv=Is,Sv=an,xv=Co,x6=TypeError,y6=function(t,e){var r,n;if(e==="string"&&Sv(r=t.toString)&&!xv(n=Cv(r,t))||Sv(r=t.valueOf)&&!xv(n=Cv(r,t))||e!=="string"&&Sv(r=t.toString)&&!xv(n=Cv(r,t)))return n;throw new x6("Can't convert object to primitive value")},qP={exports:{}},MT=bn,b6=Object.defineProperty,Bx=function(t,e){try{b6(MT,t,{value:e,configurable:!0,writable:!0})}catch{MT[t]=e}return e},E6=bn,R6=Bx,IT="__core-js_shared__",OT=qP.exports=E6[IT]||R6(IT,{});(OT.versions||(OT.versions=[])).push({version:"3.37.1",mode:"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"});var Vx=qP.exports,PT=Vx,ZP=function(t,e){return PT[t]||(PT[t]=e||{})},T6=ow,_6=Object,tg=function(t){return _6(T6(t))},A6=Ur,M6=tg,I6=A6({}.hasOwnProperty),So=Object.hasOwn||function(e,r){return I6(M6(e),r)},O6=Ur,P6=0,D6=Math.random(),k6=O6(1 .toString),JP=function(t){return"Symbol("+(t===void 0?"":t)+")_"+k6(++P6+D6,36)},N6=bn,H6=ZP,DT=So,F6=JP,L6=Lx,$6=XP,Fu=N6.Symbol,yv=H6("wks"),B6=$6?Fu.for||Fu:Fu&&Fu.withoutSetter||F6,ml=function(t){return DT(yv,t)||(yv[t]=L6&&DT(Fu,t)?Fu[t]:B6("Symbol."+t)),yv[t]},V6=Is,kT=Co,NT=$x,W6=uw,U6=y6,Y6=ml,z6=TypeError,G6=Y6("toPrimitive"),j6=function(t,e){if(!kT(t)||NT(t))return t;var r=W6(t,G6),n;if(r){if(e===void 0&&(e="default"),n=V6(r,t,e),!kT(n)||NT(n))return n;throw new z6("Can't convert object to primitive value")}return e===void 0&&(e="number"),U6(t,e)},K6=j6,X6=$x,QP=function(t){var e=K6(t,"string");return X6(e)?e:e+""},q6=bn,HT=Co,eS=q6.document,Z6=HT(eS)&&HT(eS.createElement),Wx=function(t){return Z6?eS.createElement(t):{}},J6=Ms,Q6=xi,e5=Wx,eD=!J6&&!Q6(function(){return Object.defineProperty(e5("div"),"a",{get:function(){return 7}}).a!==7}),t5=Ms,r5=Is,n5=WP,i5=iw,s5=aw,o5=QP,a5=So,l5=eD,FT=Object.getOwnPropertyDescriptor;Hx.f=t5?FT:function(e,r){if(e=s5(e),r=o5(r),l5)try{return FT(e,r)}catch{}if(a5(e,r))return i5(!r5(n5.f,e,r),e[r])};var pl={},c5=Ms,u5=xi,tD=c5&&u5(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),h5=Co,d5=String,f5=TypeError,ua=function(t){if(h5(t))return t;throw new f5(d5(t)+" is not an object")},g5=Ms,m5=eD,p5=tD,Gg=ua,LT=QP,w5=TypeError,bv=Object.defineProperty,v5=Object.getOwnPropertyDescriptor,Ev="enumerable",Rv="configurable",Tv="writable";pl.f=g5?p5?function(e,r,n){if(Gg(e),r=LT(r),Gg(n),typeof e=="function"&&r==="prototype"&&"value"in n&&Tv in n&&!n[Tv]){var i=v5(e,r);i&&i[Tv]&&(e[r]=n.value,n={configurable:Rv in n?n[Rv]:i[Rv],enumerable:Ev in n?n[Ev]:i[Ev],writable:!1})}return bv(e,r,n)}:bv:function(e,r,n){if(Gg(e),r=LT(r),Gg(n),m5)try{return bv(e,r,n)}catch{}if("get"in n||"set"in n)throw new w5("Accessors not supported");return"value"in n&&(e[r]=n.value),e};var C5=Ms,S5=pl,x5=iw,rg=C5?function(t,e,r){return S5.f(t,e,x5(1,r))}:function(t,e,r){return t[e]=r,t},rD={exports:{}},tS=Ms,y5=So,nD=Function.prototype,b5=tS&&Object.getOwnPropertyDescriptor,Ux=y5(nD,"name"),E5=Ux&&function(){}.name==="something",R5=Ux&&(!tS||tS&&b5(nD,"name").configurable),T5={EXISTS:Ux,PROPER:E5,CONFIGURABLE:R5},_5=Ur,A5=an,rS=Vx,M5=_5(Function.toString);A5(rS.inspectSource)||(rS.inspectSource=function(t){return M5(t)});var I5=rS.inspectSource,O5=bn,P5=an,$T=O5.WeakMap,D5=P5($T)&&/native code/.test(String($T)),k5=ZP,N5=JP,BT=k5("keys"),iD=function(t){return BT[t]||(BT[t]=N5(t))},Yx={},H5=D5,sD=bn,F5=Co,L5=rg,_v=So,Av=Vx,$5=iD,B5=Yx,VT="Object already initialized",nS=sD.TypeError,V5=sD.WeakMap,lp,Mf,cp,W5=function(t){return cp(t)?Mf(t):lp(t,{})},U5=function(t){return function(e){var r;if(!F5(e)||(r=Mf(e)).type!==t)throw new nS("Incompatible receiver, "+t+" required");return r}};if(H5||Av.state){var Ns=Av.state||(Av.state=new V5);Ns.get=Ns.get,Ns.has=Ns.has,Ns.set=Ns.set,lp=function(t,e){if(Ns.has(t))throw new nS(VT);return e.facade=t,Ns.set(t,e),e},Mf=function(t){return Ns.get(t)||{}},cp=function(t){return Ns.has(t)}}else{var Gc=$5("state");B5[Gc]=!0,lp=function(t,e){if(_v(t,Gc))throw new nS(VT);return e.facade=t,L5(t,Gc,e),e},Mf=function(t){return _v(t,Gc)?t[Gc]:{}},cp=function(t){return _v(t,Gc)}}var Y5={set:lp,get:Mf,has:cp,enforce:W5,getterFor:U5},zx=Ur,z5=xi,G5=an,jg=So,iS=Ms,j5=T5.CONFIGURABLE,K5=I5,oD=Y5,X5=oD.enforce,q5=oD.get,WT=String,Em=Object.defineProperty,Z5=zx("".slice),J5=zx("".replace),Q5=zx([].join),e9=iS&&!z5(function(){return Em(function(){},"length",{value:8}).length!==8}),t9=String(String).split("String"),r9=rD.exports=function(t,e,r){Z5(WT(e),0,7)==="Symbol("&&(e="["+J5(WT(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!jg(t,"name")||j5&&t.name!==e)&&(iS?Em(t,"name",{value:e,configurable:!0}):t.name=e),e9&&r&&jg(r,"arity")&&t.length!==r.arity&&Em(t,"length",{value:r.arity});try{r&&jg(r,"constructor")&&r.constructor?iS&&Em(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch{}var n=X5(t);return jg(n,"source")||(n.source=Q5(t9,typeof e=="string"?e:"")),t};Function.prototype.toString=r9(function(){return G5(this)&&q5(this).source||K5(this)},"toString");var n9=rD.exports,i9=an,s9=pl,o9=n9,a9=Bx,l9=function(t,e,r,n){n||(n={});var i=n.enumerable,s=n.name!==void 0?n.name:e;if(i9(r)&&o9(r,s,n),n.global)i?t[e]=r:a9(e,r);else{try{n.unsafe?t[e]&&(i=!0):delete t[e]}catch{}i?t[e]=r:s9.f(t,e,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return t},aD={},c9=Math.ceil,u9=Math.floor,h9=Math.trunc||function(e){var r=+e;return(r>0?u9:c9)(r)},d9=h9,hw=function(t){var e=+t;return e!==e||e===0?0:d9(e)},f9=hw,g9=Math.max,m9=Math.min,p9=function(t,e){var r=f9(t);return r<0?g9(r+e,0):m9(r,e)},w9=hw,v9=Math.min,C9=function(t){var e=w9(t);return e>0?v9(e,9007199254740991):0},S9=C9,ng=function(t){return S9(t.length)},x9=aw,y9=p9,b9=ng,UT=function(t){return function(e,r,n){var i=x9(e),s=b9(i);if(s===0)return!t&&-1;var o=y9(n,s),a;if(t&&r!==r){for(;s>o;)if(a=i[o++],a!==a)return!0}else for(;s>o;o++)if((t||o in i)&&i[o]===r)return t||o||0;return!t&&-1}},E9={includes:UT(!0),indexOf:UT(!1)},R9=Ur,Mv=So,T9=aw,_9=E9.indexOf,A9=Yx,YT=R9([].push),lD=function(t,e){var r=T9(t),n=0,i=[],s;for(s in r)!Mv(A9,s)&&Mv(r,s)&&YT(i,s);for(;e.length>n;)Mv(r,s=e[n++])&&(~_9(i,s)||YT(i,s));return i},Gx=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],M9=lD,I9=Gx,O9=I9.concat("length","prototype");aD.f=Object.getOwnPropertyNames||function(e){return M9(e,O9)};var cD={};cD.f=Object.getOwnPropertySymbols;var P9=fh,D9=Ur,k9=aD,N9=cD,H9=ua,F9=D9([].concat),L9=P9("Reflect","ownKeys")||function(e){var r=k9.f(H9(e)),n=N9.f;return n?F9(r,n(e)):r},zT=So,$9=L9,B9=Hx,V9=pl,uD=function(t,e,r){for(var n=$9(e),i=V9.f,s=B9.f,o=0;os&&Q7(m,arguments[s]),m});h.prototype=c,a!=="Error"?JT?JT(h,u):QT(h,u,{name:!0}):tY&&i in l&&(e_(h,l,i),e_(h,l,"prepareStackTrace")),QT(h,l);try{c.name!==a&&ZT(c,"name",a),c.constructor=h}catch{}return h}},vD=En,nY=bn,xo=dw,CD=rY,sS="WebAssembly",t_=nY[sS],up=new Error("e",{cause:7}).cause!==7,Fc=function(t,e){var r={};r[t]=CD(t,e,up),vD({global:!0,constructor:!0,arity:1,forced:up},r)},Kx=function(t,e){if(t_&&t_[t]){var r={};r[t]=CD(sS+"."+t,e,up),vD({target:sS,stat:!0,constructor:!0,arity:1,forced:up},r)}};Fc("Error",function(t){return function(r){return xo(t,this,arguments)}});Fc("EvalError",function(t){return function(r){return xo(t,this,arguments)}});Fc("RangeError",function(t){return function(r){return xo(t,this,arguments)}});Fc("ReferenceError",function(t){return function(r){return xo(t,this,arguments)}});Fc("SyntaxError",function(t){return function(r){return xo(t,this,arguments)}});Fc("TypeError",function(t){return function(r){return xo(t,this,arguments)}});Fc("URIError",function(t){return function(r){return xo(t,this,arguments)}});Kx("CompileError",function(t){return function(r){return xo(t,this,arguments)}});Kx("LinkError",function(t){return function(r){return xo(t,this,arguments)}});Kx("RuntimeError",function(t){return function(r){return xo(t,this,arguments)}});var iY=Hc,SD=Array.isArray||function(e){return iY(e)==="Array"},sY=Ms,oY=SD,aY=TypeError,lY=Object.getOwnPropertyDescriptor,cY=sY&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}(),xD=cY?function(t,e){if(oY(t)&&!lY(t,"length").writable)throw new aY("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e},uY=TypeError,hY=9007199254740991,yD=function(t){if(t>hY)throw uY("Maximum allowed index exceeded");return t},dY=En,fY=tg,gY=ng,mY=xD,pY=yD,wY=xi,vY=wY(function(){return[].push.call({length:4294967296},1)!==4294967297}),CY=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}},SY=vY||!CY();dY({target:"Array",proto:!0,arity:1,forced:SY},{push:function(e){var r=fY(this),n=gY(r),i=arguments.length;pY(n+i);for(var s=0;sn.size?ez(n.getIterator(),function(s){rz(r,s)&&a_(i,s)}):QY(r,function(s){n.includes(s)&&a_(i,s)}),i},iz=En,sz=xi,oz=nz,az=Vc,lz=!az("intersection")||sz(function(){return String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))!=="3,2"});iz({target:"Set",proto:!0,real:!0,forced:lz},{intersection:oz});var cz=Is,l_=ua,uz=uw,Zx=function(t,e,r){var n,i;l_(t);try{if(n=uz(t,"return"),!n){if(e==="throw")throw r;return r}n=cz(n,t)}catch(s){i=!0,n=s}if(e==="throw")throw r;if(i)throw n;return l_(n),r},hz=Lc,dz=yo.has,fz=og,gz=Bc,mz=sg,pz=$c,wz=Zx,vz=function(e){var r=hz(this),n=gz(e);if(fz(r)<=n.size)return mz(r,function(s){if(n.includes(s))return!1},!0)!==!1;var i=n.getIterator();return pz(i,function(s){if(dz(r,s))return wz(i,"normal",!1)})!==!1},Cz=En,Sz=vz,xz=Vc;Cz({target:"Set",proto:!0,real:!0,forced:!xz("isDisjointFrom")},{isDisjointFrom:Sz});var yz=Lc,bz=og,Ez=sg,Rz=Bc,Tz=function(e){var r=yz(this),n=Rz(e);return bz(r)>n.size?!1:Ez(r,function(i){if(!n.includes(i))return!1},!0)!==!1},_z=En,Az=Tz,Mz=Vc;_z({target:"Set",proto:!0,real:!0,forced:!Mz("isSubsetOf")},{isSubsetOf:Az});var Iz=Lc,Oz=yo.has,Pz=og,Dz=Bc,kz=$c,Nz=Zx,Hz=function(e){var r=Iz(this),n=Dz(e);if(Pz(r)r,o=kG(n)?n:$G(n),a=s?FG(arguments,r):[],l=s?function(){DG(o,this,a)}:o;return e?t(l,i):t(l)}:t},WG=En,FD=bn,v_=ND.set,UG=VG,C_=FD.setImmediate?UG(v_,!1):v_;WG({global:!0,bind:!0,enumerable:!0,forced:FD.setImmediate!==C_},{setImmediate:C_});/*! @license DOMPurify 2.5.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.5.5/LICENSE */function za(t){"@babel/helpers - typeof";return za=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},za(t)}function lS(t,e){return lS=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},lS(t,e)}function YG(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Tm(t,e,r){return YG()?Tm=Reflect.construct:Tm=function(i,s,o){var a=[null];a.push.apply(a,s);var l=Function.bind.apply(i,a),c=new l;return o&&lS(c,o.prototype),c},Tm.apply(null,arguments)}function as(t){return zG(t)||GG(t)||jG(t)||KG()}function zG(t){if(Array.isArray(t))return cS(t)}function GG(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function jG(t,e){if(t){if(typeof t=="string")return cS(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return cS(t,e)}}function cS(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r1?r-1:0),i=1;i/gm),lj=Yi(/\${[\w\W]*}/gm),cj=Yi(/^data-[\-\w.\u00B7-\uFFFF]/),uj=Yi(/^aria-[\-\w]+$/),hj=Yi(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),dj=Yi(/^(?:\w+script|data):/i),fj=Yi(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),gj=Yi(/^html$/i),mj=Yi(/^[a-z][.\w]*(-[.\w]+)+$/i),pj=function(){return typeof window>"u"?null:window},wj=function(e,r){if(za(e)!=="object"||typeof e.createPolicy!="function")return null;var n=null,i="data-tt-policy-suffix";r.currentScript&&r.currentScript.hasAttribute(i)&&(n=r.currentScript.getAttribute(i));var s="dompurify"+(n?"#"+n:"");try{return e.createPolicy(s,{createHTML:function(a){return a},createScriptURL:function(a){return a}})}catch{return console.warn("TrustedTypes policy "+s+" could not be created."),null}};function $D(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:pj(),e=function(H){return $D(H)};if(e.version="2.5.5",e.removed=[],!t||!t.document||t.document.nodeType!==9)return e.isSupported=!1,e;var r=t.document,n=t.document,i=t.DocumentFragment,s=t.HTMLTemplateElement,o=t.Node,a=t.Element,l=t.NodeFilter,c=t.NamedNodeMap,u=c===void 0?t.NamedNodeMap||t.MozNamedAttrMap:c,h=t.HTMLFormElement,d=t.DOMParser,f=t.trustedTypes,g=a.prototype,m=qg(g,"cloneNode"),p=qg(g,"nextSibling"),S=qg(g,"childNodes"),y=qg(g,"parentNode");if(typeof s=="function"){var C=n.createElement("template");C.content&&C.content.ownerDocument&&(n=C.content.ownerDocument)}var E=wj(f,r),A=E?E.createHTML(""):"",O=n,T=O.implementation,W=O.createNodeIterator,I=O.createDocumentFragment,Y=O.getElementsByTagName,z=r.importNode,U={};try{U=yl(n).documentMode?n.documentMode:{}}catch{}var oe={};e.isSupported=typeof y=="function"&&T&&T.createHTMLDocument!==void 0&&U!==9;var Ce=oj,pe=aj,Te=lj,Se=cj,Ae=uj,q=dj,Oe=fj,v=mj,w=hj,x=null,R=gt({},[].concat(as(b_),as(Lv),as($v),as(Bv),as(E_))),b=null,B=gt({},[].concat(as(R_),as(Vv),as(T_),as(Zg))),X=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ne=null,fe=null,le=!0,we=!0,N=!1,Fe=!0,ie=!1,Be=!0,Ie=!1,xe=!1,Ye=!1,Ve=!1,M=!1,D=!1,G=!0,re=!1,K="user-content-",se=!0,J=!1,Z={},ee=null,te=gt({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Q=null,ye=gt({},["audio","video","img","source","image","track"]),Me=null,Pe=gt({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Je="http://www.w3.org/1998/Math/MathML",vt="http://www.w3.org/2000/svg",st="http://www.w3.org/1999/xhtml",qe=st,Ct=!1,Gt=null,Ro=gt({},[Je,vt,st],Hv),ii,Sl=["application/xhtml+xml","text/html"],en="text/html",jt,Er=null,Nr=n.createElement("form"),Ut=function(H){return H instanceof RegExp||H instanceof Function},Rh=function(H){Er&&Er===H||((!H||za(H)!=="object")&&(H={}),H=yl(H),ii=Sl.indexOf(H.PARSER_MEDIA_TYPE)===-1?ii=en:ii=H.PARSER_MEDIA_TYPE,jt=ii==="application/xhtml+xml"?Hv:_m,x="ALLOWED_TAGS"in H?gt({},H.ALLOWED_TAGS,jt):R,b="ALLOWED_ATTR"in H?gt({},H.ALLOWED_ATTR,jt):B,Gt="ALLOWED_NAMESPACES"in H?gt({},H.ALLOWED_NAMESPACES,Hv):Ro,Me="ADD_URI_SAFE_ATTR"in H?gt(yl(Pe),H.ADD_URI_SAFE_ATTR,jt):Pe,Q="ADD_DATA_URI_TAGS"in H?gt(yl(ye),H.ADD_DATA_URI_TAGS,jt):ye,ee="FORBID_CONTENTS"in H?gt({},H.FORBID_CONTENTS,jt):te,ne="FORBID_TAGS"in H?gt({},H.FORBID_TAGS,jt):{},fe="FORBID_ATTR"in H?gt({},H.FORBID_ATTR,jt):{},Z="USE_PROFILES"in H?H.USE_PROFILES:!1,le=H.ALLOW_ARIA_ATTR!==!1,we=H.ALLOW_DATA_ATTR!==!1,N=H.ALLOW_UNKNOWN_PROTOCOLS||!1,Fe=H.ALLOW_SELF_CLOSE_IN_ATTR!==!1,ie=H.SAFE_FOR_TEMPLATES||!1,Be=H.SAFE_FOR_XML!==!1,Ie=H.WHOLE_DOCUMENT||!1,Ve=H.RETURN_DOM||!1,M=H.RETURN_DOM_FRAGMENT||!1,D=H.RETURN_TRUSTED_TYPE||!1,Ye=H.FORCE_BODY||!1,G=H.SANITIZE_DOM!==!1,re=H.SANITIZE_NAMED_PROPS||!1,se=H.KEEP_CONTENT!==!1,J=H.IN_PLACE||!1,w=H.ALLOWED_URI_REGEXP||w,qe=H.NAMESPACE||st,X=H.CUSTOM_ELEMENT_HANDLING||{},H.CUSTOM_ELEMENT_HANDLING&&Ut(H.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(X.tagNameCheck=H.CUSTOM_ELEMENT_HANDLING.tagNameCheck),H.CUSTOM_ELEMENT_HANDLING&&Ut(H.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(X.attributeNameCheck=H.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),H.CUSTOM_ELEMENT_HANDLING&&typeof H.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(X.allowCustomizedBuiltInElements=H.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ie&&(we=!1),M&&(Ve=!0),Z&&(x=gt({},as(E_)),b=[],Z.html===!0&&(gt(x,b_),gt(b,R_)),Z.svg===!0&&(gt(x,Lv),gt(b,Vv),gt(b,Zg)),Z.svgFilters===!0&&(gt(x,$v),gt(b,Vv),gt(b,Zg)),Z.mathMl===!0&&(gt(x,Bv),gt(b,T_),gt(b,Zg))),H.ADD_TAGS&&(x===R&&(x=yl(x)),gt(x,H.ADD_TAGS,jt)),H.ADD_ATTR&&(b===B&&(b=yl(b)),gt(b,H.ADD_ATTR,jt)),H.ADD_URI_SAFE_ATTR&>(Me,H.ADD_URI_SAFE_ATTR,jt),H.FORBID_CONTENTS&&(ee===te&&(ee=yl(ee)),gt(ee,H.FORBID_CONTENTS,jt)),se&&(x["#text"]=!0),Ie&>(x,["html","head","body"]),x.table&&(gt(x,["tbody"]),delete ne.tbody),Bn&&Bn(H),Er=H)},Ag=gt({},["mi","mo","mn","ms","mtext"]),Mg=gt({},["foreignobject","annotation-xml"]),rv=gt({},["title","style","font","a","script"]),va=gt({},Lv);gt(va,$v),gt(va,ij);var Th=gt({},Bv);gt(Th,sj);var nv=function(H){var ce=y(H);(!ce||!ce.tagName)&&(ce={namespaceURI:qe,tagName:"template"});var ae=_m(H.tagName),Ee=_m(ce.tagName);return Gt[H.namespaceURI]?H.namespaceURI===vt?ce.namespaceURI===st?ae==="svg":ce.namespaceURI===Je?ae==="svg"&&(Ee==="annotation-xml"||Ag[Ee]):!!va[ae]:H.namespaceURI===Je?ce.namespaceURI===st?ae==="math":ce.namespaceURI===vt?ae==="math"&&Mg[Ee]:!!Th[ae]:H.namespaceURI===st?ce.namespaceURI===vt&&!Mg[Ee]||ce.namespaceURI===Je&&!Ag[Ee]?!1:!Th[ae]&&(rv[ae]||!va[ae]):!!(ii==="application/xhtml+xml"&&Gt[H.namespaceURI]):!1},Yn=function(H){Ih(e.removed,{element:H});try{H.parentNode.removeChild(H)}catch{try{H.outerHTML=A}catch{H.remove()}}},_=function(H,ce){try{Ih(e.removed,{attribute:ce.getAttributeNode(H),from:ce})}catch{Ih(e.removed,{attribute:null,from:ce})}if(ce.removeAttribute(H),H==="is"&&!b[H])if(Ve||M)try{Yn(ce)}catch{}else try{ce.setAttribute(H,"")}catch{}},F=function(H){var ce,ae;if(Ye)H=""+H;else{var Ee=y_(H,/^[\r\n\t ]+/);ae=Ee&&Ee[0]}ii==="application/xhtml+xml"&&qe===st&&(H=''+H+"");var Ge=E?E.createHTML(H):H;if(qe===st)try{ce=new d().parseFromString(Ge,ii)}catch{}if(!ce||!ce.documentElement){ce=T.createDocument(qe,"template",null);try{ce.documentElement.innerHTML=Ct?A:Ge}catch{}}var ft=ce.body||ce.documentElement;return H&&ae&&ft.insertBefore(n.createTextNode(ae),ft.childNodes[0]||null),qe===st?Y.call(ce,Ie?"html":"body")[0]:Ie?ce.documentElement:ft},P=function(H){return W.call(H.ownerDocument||H,H,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT|l.SHOW_PROCESSING_INSTRUCTION|l.SHOW_CDATA_SECTION,null,!1)},k=function(H){return H instanceof h&&(typeof H.nodeName!="string"||typeof H.textContent!="string"||typeof H.removeChild!="function"||!(H.attributes instanceof u)||typeof H.removeAttribute!="function"||typeof H.setAttribute!="function"||typeof H.namespaceURI!="string"||typeof H.insertBefore!="function"||typeof H.hasChildNodes!="function")},L=function(H){return za(o)==="object"?H instanceof o:H&&za(H)==="object"&&typeof H.nodeType=="number"&&typeof H.nodeName=="string"},V=function(H,ce,ae){oe[H]&&ej(oe[H],function(Ee){Ee.call(e,ce,ae,Er)})},he=function(H){var ce;if(V("beforeSanitizeElements",H,null),k(H)||tn(/[\u0080-\uFFFF]/,H.nodeName))return Yn(H),!0;var ae=jt(H.nodeName);if(V("uponSanitizeElement",H,{tagName:ae,allowedTags:x}),H.hasChildNodes()&&!L(H.firstElementChild)&&(!L(H.content)||!L(H.content.firstElementChild))&&tn(/<[/\w]/g,H.innerHTML)&&tn(/<[/\w]/g,H.textContent)||ae==="select"&&tn(/