var M4=Object.defineProperty,O4=Object.defineProperties;var I4=Object.getOwnPropertyDescriptors;var kf=Object.getOwnPropertySymbols;var TE=Object.prototype.hasOwnProperty,_E=Object.prototype.propertyIsEnumerable;var iw=Math.pow,nw=(t,e,r)=>e in t?M4(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,yt=(t,e)=>{for(var r in e||(e={}))TE.call(e,r)&&nw(t,r,e[r]);if(kf)for(var r of kf(e))_E.call(e,r)&&nw(t,r,e[r]);return t},Zr=(t,e)=>O4(t,I4(e));var Sn=(t,e)=>{var r={};for(var n in t)TE.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&kf)for(var n of kf(t))e.indexOf(n)<0&&_E.call(t,n)&&(r[n]=t[n]);return r};var Jr=(t,e,r)=>(nw(t,typeof e!="symbol"?e+"":e,r),r);var AE=(t,e,r)=>new Promise((n,i)=>{var s=l=>{try{a(r.next(l))}catch(c){i(c)}},o=l=>{try{a(r.throw(l))}catch(c){i(c)}},a=l=>l.done?n(l.value):Promise.resolve(l.value).then(s,o);a((r=r.apply(t,e)).next())});import{d6 as Nf,d7 as jh,d as xS,cD as P4,o as V2,X as D4,P as k4,an as N4,al as H4,d8 as Hf,cP as F4,d9 as L4,u as $4,r as Ff,A as B4,c as W4,w as Lf,a as $f,n as eh,b as Bf,j as ME,Z as V4,e as OE,l as U4,a4 as G4,ai as Y4,co as z4,am as j4}from"./index.6c36cb53.js";import{M as K4}from"./index.a696a3d7.js";/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */var U2=1252,X4=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4],bS={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},ES=function(t){X4.indexOf(t)!=-1&&(U2=bS[0]=t)};function q4(){ES(1252)}var as=function(t){ES(t)};function G2(){as(1200),q4()}function IE(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 Y2(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 Kh=function(t){var e=t.charCodeAt(0),r=t.charCodeAt(1);return e==255&&r==254?Z4(t.slice(2)):e==254&&r==255?Y2(t.slice(2)):e==65279?t.slice(1):t},Wf=function(e){return String.fromCharCode(e)},PE=function(e){return String.fromCharCode(e)},ga,Sa="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function DE(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+=Sa.charAt(s)+Sa.charAt(o)+Sa.charAt(a)+Sa.charAt(l);return e}function gi(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=Sa.indexOf(t.charAt(c++)),n=(o&15)<<4|a>>2,a!==64&&(e+=String.fromCharCode(n)),l=Sa.indexOf(t.charAt(c++)),i=(a&3)<<6|l,l!==64&&(e+=String.fromCharCode(i));return e}var St=function(){return typeof Buffer!="undefined"&&typeof process!="undefined"&&typeof process.versions!="undefined"&&!!process.versions.node}(),tc=function(){if(typeof Buffer!="undefined"){var t=!Buffer.from;if(!t)try{Buffer.from("foo","utf8")}catch(e){t=!0}return t?function(e,r){return r?new Buffer(e,r):new Buffer(e)}:Buffer.from.bind(Buffer)}return function(){}}();function Na(t){return St?Buffer.alloc?Buffer.alloc(t):new Buffer(t):typeof Uint8Array!="undefined"?new Uint8Array(t):new Array(t)}function kE(t){return St?Buffer.allocUnsafe?Buffer.allocUnsafe(t):new Buffer(t):typeof Uint8Array!="undefined"?new Uint8Array(t):new Array(t)}var os=function(e){return St?tc(e,"binary"):e.split("").map(function(r){return r.charCodeAt(0)&255})};function rc(t){if(Array.isArray(t))return t.map(function(n){return String.fromCharCode(n)}).join("");for(var e=[],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=Na(65535),n=65530)}return e.push(i.slice(0,r)),ma(e)}var Dn=/\u0000/g,Xh=/[\u0001-\u0006]/g;function vu(t){for(var e="",r=t.length-1;r>=0;)e+=t.charAt(r--);return e}function ls(t,e){var r=""+t;return r.length>=e?r:gr("0",e-r.length)+r}function TS(t,e){var r=""+t;return r.length>=e?r:gr(" ",e-r.length)+r}function X0(t,e){var r=""+t;return r.length>=e?r:r+gr(" ",e-r.length)}function Q4(t,e){var r=""+Math.round(t);return r.length>=e?r:gr("0",e-r.length)+r}function eB(t,e){var r=""+t;return r.length>=e?r:gr("0",e-r.length)+r}var NE=Math.pow(2,32);function gc(t,e){if(t>NE||t<-NE)return Q4(t,e);var r=Math.round(t);return eB(r,e)}function q0(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 HE=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],sw=[["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 tB(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]='"\u4E0A\u5348/\u4E0B\u5348 "hh"\u6642"mm"\u5206"ss"\u79D2 "',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:'"\u4E0A\u5348/\u4E0B\u5348 "hh"\u6642"mm"\u5206"ss"\u79D2 "'},FE={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},rB={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 Z0(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 Pl(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=lB(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 z2=new Date(1899,11,31,0,0,0),nB=z2.getTime(),iB=new Date(1900,2,1,0,0,0);function j2(t,e){var r=t.getTime();return e?r-=1461*24*60*60*1e3:t>=iB&&(r+=24*60*60*1e3),(r-(nB+(t.getTimezoneOffset()-z2.getTimezoneOffset())*6e4))/(24*60*60*1e3)}function _S(t){return t.indexOf(".")==-1?t:t.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function sB(t){return t.indexOf("E")==-1?t:t.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}function oB(t){var e=t<0?12:11,r=_S(t.toFixed(12));return r.length<=e||(r=t.toPrecision(10),r.length<=e)?r:t.toExponential(5)}function aB(t){var e=_S(t.toFixed(11));return e.length>(t<0?12:11)||e==="0"||e==="-0"?t.toPrecision(6):e}function Pd(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=oB(t):e===10?r=t.toFixed(10).substr(0,12):r=aB(t),_S(sB(r.toUpperCase()))}function Ul(t,e){switch(typeof t){case"string":return t;case"boolean":return t?"TRUE":"FALSE";case"number":return(t|0)===t?t.toString(10):Pd(t);case"undefined":return"";case"object":if(t==null)return"";if(t instanceof Date)return Di(14,j2(t,e&&e.date1904),e)}throw new Error("unsupported value in General format: "+t)}function lB(t,e){e[0]-=581;var r=t.getDay();return t<60&&(r=(r+6)%7),r}function cB(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 sw[r.m-1][1];case 5:return sw[r.m-1][0];default:return sw[r.m-1][2]}break;case 100:switch(e.length){case 1:case 2:l=r.d,c=e.length;break;case 3:return HE[r.q][0];default:return HE[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")?ls(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=ls(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?ls(l,c):"";return u}function ya(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 K2=/%/g;function uB(t,e,r){var n=e.replace(K2,""),i=e.length-n.length;return ko(t,n,r*Math.pow(10,2*i))+gr("%",i)}function hB(t,e,r){for(var n=e.length-1;e.charCodeAt(n-1)===44;)--n;return ko(t,e.substr(0,n),r/Math.pow(10,3*(e.length-n)))}function X2(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"-"+X2(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 q2=/# (\?+)( ?)\/( ?)(\d+)/;function dB(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?gr(" ",t[1].length+1+t[4].length):TS(o,t[1].length)+t[2]+"/"+t[3]+ls(a,t[4].length))}function fB(t,e,r){return r+(e===0?"":""+e)+gr(" ",t[1].length+2+t[4].length)}var Z2=/^#*0*\.([0#]+)/,J2=/\).*[0#]/,Q2=/\(###\) ###\\?-####/;function An(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 LE(t,e){var r=Math.pow(10,e);return""+Math.round(t*r)/r}function $E(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 gB(t,e){return e<(""+Math.round((t-Math.floor(t))*Math.pow(10,e))).length?1:0}function mB(t){return t<2147483647&&t>-2147483648?""+(t>=0?t|0:t-1|0):""+Math.floor(t)}function xi(t,e,r){if(t.charCodeAt(0)===40&&!e.match(J2)){var n=e.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?xi("n",n,r):"("+xi("n",n,-r)+")"}if(e.charCodeAt(e.length-1)===44)return hB(t,e,r);if(e.indexOf("%")!==-1)return uB(t,e,r);if(e.indexOf("E")!==-1)return X2(e,r);if(e.charCodeAt(0)===36)return"$"+xi(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+gc(l,e.length);if(e.match(/^[#?]+$/))return i=gc(r,0),i==="0"&&(i=""),i.length>e.length?i:An(e.substr(0,e.length-i.length))+i;if(s=e.match(q2))return dB(s,l,c);if(e.match(/^#+0+$/))return c+gc(l,e.length-e.indexOf("0"));if(s=e.match(Z2))return i=LE(r,s[1].length).replace(/^([^\.]+)$/,"$1."+An(s[1])).replace(/\.$/,"."+An(s[1])).replace(/\.(\d*)$/,function(g,m){return"."+m+gr("0",An(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+LE(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+ya(gc(l,0));if(s=e.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+xi(t,e,-r):ya(""+(Math.floor(r)+gB(r,s[1].length)))+"."+ls($E(r,s[1].length),s[1].length);if(s=e.match(/^#,#*,#0/))return xi(t,e.replace(/^#,#*,/,""),r);if(s=e.match(/^([0#]+)(\\?-([0#]+))+$/))return i=vu(xi(t,e.replace(/[\\-]/g,""),r)),o=0,vu(vu(e.replace(/\\/g,"")).replace(/[0#]/g,function(g){return o=0?Ns("n",n,r):"("+Ns("n",n,-r)+")"}if(e.charCodeAt(e.length-1)===44)return pB(t,e,r);if(e.indexOf("%")!==-1)return wB(t,e,r);if(e.indexOf("E")!==-1)return eD(e,r);if(e.charCodeAt(0)===36)return"$"+Ns(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+ls(l,e.length);if(e.match(/^[#?]+$/))return i=""+r,r===0&&(i=""),i.length>e.length?i:An(e.substr(0,e.length-i.length))+i;if(s=e.match(q2))return fB(s,l,c);if(e.match(/^#+0+$/))return c+ls(l,e.length-e.indexOf("0"));if(s=e.match(Z2))return i=(""+r).replace(/^([^\.]+)$/,"$1."+An(s[1])).replace(/\.$/,"."+An(s[1])),i=i.replace(/\.(\d*)$/,function(g,m){return"."+m+gr("0",An(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+ya(""+l);if(s=e.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+Ns(t,e,-r):ya(""+r)+"."+gr("0",s[1].length);if(s=e.match(/^#,#*,#0/))return Ns(t,e.replace(/^#,#*,/,""),r);if(s=e.match(/^([0#]+)(\\?-([0#]+))+$/))return i=vu(Ns(t,e.replace(/[\\-]/g,""),r)),o=0,vu(vu(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 CB(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()==="\u4E0A\u5348/\u4E0B\u5348"?(c!=null&&(m.v=c.H>=12?"\u4E0B\u5348":"\u4E0A\u5348"),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]||"$",Nu(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(",$-+/():!^&'~{}<>=\u20ACacfijklopqrtuvwxzP".indexOf(a)===-1)throw new Error("unrecognized character "+a+" in "+t);i[i.length]={t:"t",v:a},++o;break}var w=0,C=0,S;for(o=i.length-1,l="t";o>=0;--o)switch(i[o].t){case"h":case"H":i[o].t=d,l="h",w<1&&(w=1);break;case"s":(S=i[o].v.match(/\.0+$/))&&(C=Math.max(C,S[0].length-1)),w<3&&(w=3);case"d":case"y":case"M":case"e":l=i[o].t;break;case"m":l==="s"&&(i[o].t="M",w<2&&(w=2));break;case"X":break;case"Z":w<1&&i[o].v.match(/[Hh]/)&&(w=1),w<2&&i[o].v.match(/[Mm]/)&&(w=2),w<3&&i[o].v.match(/[Ss]/)&&(w=3)}switch(w){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 v="",T;for(o=0;o0){v.charCodeAt(0)==40?(M=e<0&&v.charCodeAt(0)===45?-e:e,E=ko("n",v,M)):(M=e<0&&n>1?-e:e,E=ko("n",v,M),M<0&&i[0]&&i[0].t=="t"&&(E=E.substr(1),i[0].v="-"+i[0].v)),T=E.length-1;var Y=i.length;for(o=0;o-1){Y=o;break}var D=i.length;if(Y===i.length&&E.indexOf("E")===-1){for(o=i.length-1;o>=0;--o)i[o]==null||"n?".indexOf(i[o].t)===-1||(T>=i[o].v.length-1?(T-=i[o].v.length,i[o].v=E.substr(T+1,i[o].v.length)):T<0?i[o].v="":(i[o].v=E.substr(0,T+1),T=-1),i[o].t="t",D=o);T>=0&&D=0;--o)if(!(i[o]==null||"n?".indexOf(i[o].t)===-1)){for(u=i[o].v.indexOf(".")>-1&&o===Y?i[o].v.indexOf(".")-1:i[o].v.length-1,A=i[o].v.substr(u+1);u>=0;--u)T>=0&&(i[o].v.charAt(u)==="0"||i[o].v.charAt(u)==="#")&&(A=E.charAt(T--)+A);i[o].v=A,i[o].t="t",D=o}for(T>=0&&D-1&&o===Y?i[o].v.indexOf(".")+1:0,A=i[o].v.substr(0,u);u-1&&(M=n>1&&e<0&&o>0&&i[o-1].v==="-"?-e:e,i[o].v=ko(i[o].t,i[o].v,M),i[o].t="t");var U="";for(o=0;o!==i.length;++o)i[o]!=null&&(U+=i[o].v);return U}var BE=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function WE(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 SB(t,e){var r=vB(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(BE),a=r[1].match(BE);return WE(e,o)?[n,r[0]]:WE(e,a)?[n,r[1]]:[n,r[o!=null&&a!=null?2:1]]}return[n,s]}function Di(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[FE[t]]||ot[FE[t]]),n==null&&(n=rB[t]||"General");break}if(q0(n,0))return Ul(e,r);e instanceof Date&&(e=j2(e,r.date1904));var i=SB(n,e);if(q0(i[1]))return Ul(e,r);if(e===!0)e="TRUE";else if(e===!1)e="FALSE";else if(e===""||e==null)return"";return CB(i[1],e,r,i[0])}function $l(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 rD(){ot=tB()}var yB={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"},nD=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;function xB(t){var e=typeof t=="number"?ot[t]:t;return e=e.replace(nD,"(\\d+)"),new RegExp("^"+e+"$")}function bB(t,e,r){var n=-1,i=-1,s=-1,o=-1,a=-1,l=-1;(e.match(nD)||[]).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 EB=function(){var t={};t.version="1.2.0";function e(){for(var E=0,Y=new Array(256),D=0;D!=256;++D)E=D,E=E&1?-306674912^E>>>1:E>>>1,E=E&1?-306674912^E>>>1:E>>>1,E=E&1?-306674912^E>>>1:E>>>1,E=E&1?-306674912^E>>>1:E>>>1,E=E&1?-306674912^E>>>1:E>>>1,E=E&1?-306674912^E>>>1:E>>>1,E=E&1?-306674912^E>>>1:E>>>1,E=E&1?-306674912^E>>>1:E>>>1,Y[D]=E;return typeof Int32Array!="undefined"?new Int32Array(Y):Y}var r=e();function n(E){var Y=0,D=0,U=0,X=typeof Int32Array!="undefined"?new Int32Array(4096):new Array(4096);for(U=0;U!=256;++U)X[U]=E[U];for(U=0;U!=256;++U)for(D=E[U],Y=256+U;Y<4096;Y+=256)D=X[Y]=D>>>8^E[D&255];var G=[];for(U=1;U!=16;++U)G[U-1]=typeof Int32Array!="undefined"?X.subarray(U*256,U*256+256):X.slice(U*256,U*256+256);return G}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],w=i[11],C=i[12],S=i[13],v=i[14];function T(E,Y){for(var D=Y^-1,U=0,X=E.length;U>>8^r[(D^E.charCodeAt(U++))&255];return~D}function A(E,Y){for(var D=Y^-1,U=E.length-15,X=0;X>8&255]^C[E[X++]^D>>16&255]^w[E[X++]^D>>>24]^m[E[X++]]^g[E[X++]]^f[E[X++]]^d[E[X++]]^h[E[X++]]^u[E[X++]]^c[E[X++]]^l[E[X++]]^a[E[X++]]^o[E[X++]]^s[E[X++]]^r[E[X++]];for(U+=15;X>>8^r[(D^E[X++])&255];return~D}function M(E,Y){for(var D=Y^-1,U=0,X=E.length,G=0,ae=0;U>>8^r[(D^G)&255]:G<2048?(D=D>>>8^r[(D^(192|G>>6&31))&255],D=D>>>8^r[(D^(128|G&63))&255]):G>=55296&&G<57344?(G=(G&1023)+64,ae=E.charCodeAt(U++)&1023,D=D>>>8^r[(D^(240|G>>8&7))&255],D=D>>>8^r[(D^(128|G>>2&63))&255],D=D>>>8^r[(D^(128|ae>>6&15|(G&3)<<4))&255],D=D>>>8^r[(D^(128|ae&63))&255]):(D=D>>>8^r[(D^(224|G>>12&15))&255],D=D>>>8^r[(D^(128|G>>6&63))&255],D=D>>>8^r[(D^(128|G&63))&255]);return~D}return t.table=r,t.bstr=T,t.buf=A,t.str=M,t}(),xt=function(){var e={};e.version="1.2.1";function r(R,B){for(var k=R.split("/"),H=B.split("/"),W=0,V=0,de=Math.min(k.length,H.length);W>>1,R.write_shift(2,k);var H=B.getFullYear()-1980;H=H<<4|B.getMonth()+1,H=H<<5|B.getDate(),R.write_shift(2,H)}function o(R){var B=R.read_shift(2)&65535,k=R.read_shift(2)&65535,H=new Date,W=k&31;k>>>=5;var V=k&15;k>>>=4,H.setMilliseconds(0),H.setFullYear(k+1980),H.setMonth(V-1),H.setDate(W);var de=B&31;B>>>=5;var pe=B&63;return B>>>=6,H.setHours(B),H.setMinutes(pe),H.setSeconds(de<<1),H}function a(R){Kr(R,0);for(var B={},k=0;R.l<=R.length-4;){var H=R.read_shift(2),W=R.read_shift(2),V=R.l+W,de={};switch(H){case 21589:k=R.read_shift(1),k&1&&(de.mtime=R.read_shift(4)),W>5&&(k&2&&(de.atime=R.read_shift(4)),k&4&&(de.ctime=R.read_shift(4))),de.mtime&&(de.mt=new Date(de.mtime*1e3));break}R.l=V,B[H]=de}return B}var l;function c(){return l||(l={})}function u(R,B){if(R[0]==80&&R[1]==75)return no(R,B);if((R[0]|32)==109&&(R[1]|32)==105)return tw(R,B);if(R.length<512)throw new Error("CFB file size "+R.length+" < 512");var k=3,H=512,W=0,V=0,de=0,pe=0,he=0,Z=[],P=R.slice(0,512);Kr(P,0);var re=h(P);switch(k=re[0],k){case 3:H=512;break;case 4:H=4096;break;case 0:if(re[1]==0)return no(R,B);default:throw new Error("Major Version: Expected 3 or 4 saw "+k)}H!==512&&(P=R.slice(0,H),Kr(P,28));var fe=R.slice(0,H);d(P,k);var Ee=P.read_shift(4,"i");if(k===3&&Ee!==0)throw new Error("# Directory Sectors: Expected 0 saw "+Ee);P.l+=4,de=P.read_shift(4,"i"),P.l+=4,P.chk("00100000","Mini Stream Cutoff Size: "),pe=P.read_shift(4,"i"),W=P.read_shift(4,"i"),he=P.read_shift(4,"i"),V=P.read_shift(4,"i");for(var xe=-1,Ae=0;Ae<109&&(xe=P.read_shift(4,"i"),!(xe<0));++Ae)Z[Ae]=xe;var Ge=f(R,H);w(he,V,Ge,H,Z);var Nt=S(Ge,de,Z,H);Nt[de].name="!Directory",W>0&&pe!==ae&&(Nt[pe].name="!MiniFAT"),Nt[Z[0]].name="!FAT",Nt.fat_addrs=Z,Nt.ssz=H;var st={},xr=[],Xo=[],fc=[];v(de,Nt,Ge,xr,W,st,Xo,pe),g(Xo,fc,xr),xr.shift();var Qu={FileIndex:Xo,FullPaths:fc};return B&&B.raw&&(Qu.raw={header:fe,sectors:Ge}),Qu}function h(R){if(R[R.l]==80&&R[R.l+1]==75)return[0,0];R.chk(ve,"Header Signature: "),R.l+=16;var B=R.read_shift(2,"u");return[R.read_shift(2,"u"),B]}function d(R,B){var k=9;switch(R.l+=2,k=R.read_shift(2)){case 9:if(B!=3)throw new Error("Sector Shift: Expected 9 saw "+k);break;case 12:if(B!=4)throw new Error("Sector Shift: Expected 12 saw "+k);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+k)}R.chk("0600","Mini Sector Shift: "),R.chk("000000000000","Reserved: ")}function f(R,B){for(var k=Math.ceil(R.length/B)-1,H=[],W=1;W0&&de>=0;)V.push(B.slice(de*G,de*G+G)),W-=G,de=Ol(k,de*4);return V.length===0?Or(0):ma(V).slice(0,R.size)}function w(R,B,k,H,W){var V=ae;if(R===ae){if(B!==0)throw new Error("DIFAT chain shorter than expected")}else if(R!==-1){var de=k[R],pe=(H>>>2)-1;if(!de)return;for(var he=0;he=0;){W[he]=!0,V[V.length]=he,de.push(R[he]);var P=k[Math.floor(he*4/H)];if(Z=he*4&pe,H<4+Z)throw new Error("FAT boundary crossed: "+he+" 4 "+H);if(!R[P])break;he=Ol(R[P],Z)}return{nodes:V,data:ZE([de])}}function S(R,B,k,H){var W=R.length,V=[],de=[],pe=[],he=[],Z=H-1,P=0,re=0,fe=0,Ee=0;for(P=0;P=W&&(fe-=W),!de[fe]){he=[];var xe=[];for(re=fe;re>=0;){xe[re]=!0,de[re]=!0,pe[pe.length]=re,he.push(R[re]);var Ae=k[Math.floor(re*4/H)];if(Ee=re*4&Z,H<4+Ee)throw new Error("FAT boundary crossed: "+re+" 4 "+H);if(!R[Ae]||(re=Ol(R[Ae],Ee),xe[re]))break}V[fe]={nodes:pe,data:ZE([he])}}return V}function v(R,B,k,H,W,V,de,pe){for(var he=0,Z=H.length?2:0,P=B[R].data,re=0,fe=0,Ee;re0&&he!==ae&&(B[he].name="!StreamData")):Ae.size>=4096?(Ae.storage="fat",B[Ae.start]===void 0&&(B[Ae.start]=C(k,Ae.start,B.fat_addrs,B.ssz)),B[Ae.start].name=Ae.name,Ae.content=B[Ae.start].data.slice(0,Ae.size)):(Ae.storage="minifat",Ae.size<0?Ae.size=0:he!==ae&&Ae.start!==ae&&B[he]&&(Ae.content=m(Ae,B[he].data,(B[pe]||{}).data))),Ae.content&&Kr(Ae.content,0),V[Ee]=Ae,de.push(Ae)}}function T(R,B){return new Date((li(R,B+4)/1e7*Math.pow(2,32)+li(R,B)/1e7-11644473600)*1e3)}function A(R,B){return c(),u(l.readFileSync(R),B)}function M(R,B){var k=B&&B.type;switch(k||St&&Buffer.isBuffer(R)&&(k="buffer"),k||"base64"){case"file":return A(R,B);case"base64":return u(os(gi(R)),B);case"binary":return u(os(R),B)}return u(R,B)}function E(R,B){var k=B||{},H=k.root||"Root Entry";if(R.FullPaths||(R.FullPaths=[]),R.FileIndex||(R.FileIndex=[]),R.FullPaths.length!==R.FileIndex.length)throw new Error("inconsistent CFB structure");R.FullPaths.length===0&&(R.FullPaths[0]=H+"/",R.FileIndex[0]={name:H,type:5}),k.CLSID&&(R.FileIndex[0].clsid=k.CLSID),Y(R)}function Y(R){var B="Sh33tJ5";if(!xt.find(R,"/"+B)){var k=Or(4);k[0]=55,k[1]=k[3]=50,k[2]=54,R.FileIndex.push({name:B,type:2,content:k,size:4,L:69,R:69,C:69}),R.FullPaths.push(R.FullPaths[0]+B),D(R)}}function D(R,B){E(R);for(var k=!1,H=!1,W=R.FullPaths.length-1;W>=0;--W){var V=R.FileIndex[W];switch(V.type){case 0:H?k=!0:(R.FileIndex.pop(),R.FullPaths.pop());break;case 1:case 2:case 5:H=!0,isNaN(V.R*V.L*V.C)&&(k=!0),V.R>-1&&V.L>-1&&V.R==V.L&&(k=!0);break;default:k=!0;break}}if(!(!k&&!B)){var de=new Date(1987,1,19),pe=0,he=Object.create?Object.create(null):{},Z=[];for(W=0;W1?1:-1,re.size=0,re.type=5;else if(fe.slice(-1)=="/"){for(pe=W+1;pe=Z.length?-1:pe,pe=W+1;pe=Z.length?-1:pe,re.type=1}else n(R.FullPaths[W+1]||"")==n(fe)&&(re.R=W+1),re.type=2}}}function U(R,B){var k=B||{};if(k.fileType=="mad")return dc(R,k);switch(D(R),k.fileType){case"zip":return qt(R,k)}var H=function(Ee){for(var xe=0,Ae=0,Ge=0;Ge0&&(st<4096?xe+=st+63>>6:Ae+=st+511>>9)}}for(var xr=Ee.FullPaths.length+3>>2,Xo=xe+7>>3,fc=xe+127>>7,Qu=Xo+Ae+xr+fc,qa=Qu+127>>7,rw=qa<=109?0:Math.ceil((qa-109)/127);Qu+qa+rw+127>>7>qa;)rw=++qa<=109?0:Math.ceil((qa-109)/127);var so=[1,rw,qa,fc,xr,Ae,xe,0];return Ee.FileIndex[0].size=xe<<6,so[7]=(Ee.FileIndex[0].start=so[0]+so[1]+so[2]+so[3]+so[4]+so[5])+(so[6]+7>>3),so}(R),W=Or(H[7]<<9),V=0,de=0;{for(V=0;V<8;++V)W.write_shift(1,me[V]);for(V=0;V<8;++V)W.write_shift(2,0);for(W.write_shift(2,62),W.write_shift(2,3),W.write_shift(2,65534),W.write_shift(2,9),W.write_shift(2,6),V=0;V<3;++V)W.write_shift(2,0);for(W.write_shift(4,0),W.write_shift(4,H[2]),W.write_shift(4,H[0]+H[1]+H[2]+H[3]-1),W.write_shift(4,0),W.write_shift(4,1<<12),W.write_shift(4,H[3]?H[0]+H[1]+H[2]-1:ae),W.write_shift(4,H[3]),W.write_shift(-4,H[1]?H[0]-1:ae),W.write_shift(4,H[1]),V=0;V<109;++V)W.write_shift(-4,V>9)));for(pe(H[6]+7>>3);W.l&511;)W.write_shift(-4,Ce.ENDOFCHAIN);for(de=V=0,he=0;he=4096)&&(P.start=de,pe(Z+63>>6)));for(;W.l&511;)W.write_shift(-4,Ce.ENDOFCHAIN);for(V=0;V=4096)if(W.l=P.start+1<<9,St&&Buffer.isBuffer(P.content))P.content.copy(W,W.l,0,P.size),W.l+=P.size+511&-512;else{for(he=0;he0&&P.size<4096)if(St&&Buffer.isBuffer(P.content))P.content.copy(W,W.l,0,P.size),W.l+=P.size+63&-64;else{for(he=0;he>16|B>>8|B)&255}for(var te=typeof Uint8Array!="undefined",ge=te?new Uint8Array(1<<8):[],Me=0;Me<1<<8;++Me)ge[Me]=ce(Me);function L(R,B){var k=ge[R&255];return B<=8?k>>>8-B:(k=k<<8|ge[R>>8&255],B<=16?k>>>16-B:(k=k<<8|ge[R>>16&255],k>>>24-B))}function Fe(R,B){var k=B&7,H=B>>>3;return(R[H]|(k<=6?0:R[H+1]<<8))>>>k&3}function ue(R,B){var k=B&7,H=B>>>3;return(R[H]|(k<=5?0:R[H+1]<<8))>>>k&7}function ze(R,B){var k=B&7,H=B>>>3;return(R[H]|(k<=4?0:R[H+1]<<8))>>>k&15}function Ie(R,B){var k=B&7,H=B>>>3;return(R[H]|(k<=3?0:R[H+1]<<8))>>>k&31}function we(R,B){var k=B&7,H=B>>>3;return(R[H]|(k<=1?0:R[H+1]<<8))>>>k&127}function Be(R,B,k){var H=B&7,W=B>>>3,V=(1<>>H;return k<8-H||(de|=R[W+1]<<8-H,k<16-H)||(de|=R[W+2]<<16-H,k<24-H)||(de|=R[W+3]<<24-H),de&V}function Le(R,B,k){var H=B&7,W=B>>>3;return H<=5?R[W]|=(k&7)<>8-H),B+3}function I(R,B,k){var H=B&7,W=B>>>3;return k=(k&1)<>>3;return k<<=H,R[W]|=k&255,k>>>=8,R[W+1]=k,B+8}function z(R,B,k){var H=B&7,W=B>>>3;return k<<=H,R[W]|=k&255,k>>>=8,R[W+1]=k&255,R[W+2]=k>>>8,B+16}function se(R,B){var k=R.length,H=2*k>B?2*k:B+5,W=0;if(k>=B)return R;if(St){var V=kE(H);if(R.copy)R.copy(V);else for(;W>H-re,de=(1<=0;--de)B[pe|de<0;)he[he.l++]=pe[Z++]}return he.l}function de(pe,he){for(var Z=0,P=0,re=te?new Uint16Array(32768):[];P0;)he[he.l++]=pe[P++];Z=he.l*8;continue}Z=Le(he,Z,+(P+fe==pe.length)+2);for(var Ee=0;fe-- >0;){var xe=pe[P];Ee=(Ee<<5^xe)&32767;var Ae=-1,Ge=0;if((Ae=re[Ee])&&(Ae|=P&-32768,Ae>P&&(Ae-=32768),Ae2){xe=W[Ge],xe<=22?Z=F(he,Z,ge[xe+1]>>1)-1:(F(he,Z,3),Z+=5,F(he,Z,ge[xe-23]>>5),Z+=3);var Nt=xe<8?0:xe-4>>2;Nt>0&&(z(he,Z,Ge-K[xe]),Z+=Nt),xe=B[P-Ae],Z=F(he,Z,ge[xe]>>3),Z-=3;var st=xe<4?0:xe-2>>1;st>0&&(z(he,Z,P-Ae-le[xe]),Z+=st);for(var xr=0;xr>8-xe;for(var Ae=(1<<7-xe)-1;Ae>=0;--Ae)Pe[Ee|Ae<>>=3){case 16:for(V=3+Fe(R,B),B+=2,Ee=Ge[Ge.length-1];V-- >0;)Ge.push(Ee);break;case 17:for(V=3+ue(R,B),B+=3;V-- >0;)Ge.push(0);break;case 18:for(V=11+we(R,B),B+=7;V-- >0;)Ge.push(0);break;default:Ge.push(Ee),he>>0,pe=0,he=0;(H&1)==0;){if(H=ue(R,k),k+=3,H>>>1==0){k&7&&(k+=8-(k&7));var Z=R[k>>>3]|R[(k>>>3)+1]<<8;if(k+=32,Z>0)for(!B&&de0;)W[V++]=R[k>>>3],k+=8;continue}else H>>1==1?(pe=9,he=5):(k=kt(R,k),pe=je,he=Qe);for(;;){!B&&de>>1==1?Q[P]:Se[P];if(k+=re&15,re>>>=4,(re>>>8&255)===0)W[V++]=re;else{if(re==256)break;re-=257;var fe=re<8?0:re-4>>2;fe>5&&(fe=0);var Ee=V+K[re];fe>0&&(Ee+=Be(R,k,fe),k+=fe),P=Be(R,k,he),re=H>>>1==1?ee[P]:Oe[P],k+=re&15,re>>>=4;var xe=re<4?0:re-2>>1,Ae=le[re];for(xe>0&&(Ae+=Be(R,k,xe),k+=xe),!B&&de>>3]:[W.slice(0,V),k+7>>>3]}function Rt(R,B){var k=R.slice(R.l||0),H=lt(k,B);return R.l+=H[1],H[0]}function $t(R,B){if(R)typeof console!="undefined"&&console.error(B);else throw new Error(B)}function no(R,B){var k=R;Kr(k,0);var H=[],W=[],V={FileIndex:H,FullPaths:W};E(V,{root:B.root});for(var de=k.length-4;(k[de]!=80||k[de+1]!=75||k[de+2]!=5||k[de+3]!=6)&&de>=0;)--de;k.l=de+4,k.l+=4;var pe=k.read_shift(2);k.l+=6;var he=k.read_shift(4);for(k.l=he,de=0;de0&&(k=k.slice(0,k.length-1),k=k.slice(0,k.lastIndexOf("/")+1),V.slice(0,k.length)!=k););var de=(H[1]||"").match(/boundary="(.*?)"/);if(!de)throw new Error("MAD cannot find boundary");var pe="--"+(de[1]||""),he=[],Z=[],P={FileIndex:he,FullPaths:Z};E(P);var re,fe=0;for(W=0;W=32&&Ee<128&&++re;var Ae=re>=fe*4/5;W.push(H),W.push("Content-Location: "+(k.root||"file:///C:/SheetJS/")+de),W.push("Content-Transfer-Encoding: "+(Ae?"quoted-printable":"base64")),W.push("Content-Type: "+io(pe,de)),W.push(""),W.push(Ae?pr(P):Gr(P))}return W.push(H+`--\r `),W.join(`\r `)}function qu(R){var B={};return E(B,R),B}function Zu(R,B,k,H){var W=H&&H.unsafe;W||E(R);var V=!W&&xt.find(R,B);if(!V){var de=R.FullPaths[0];B.slice(0,de.length)==de?de=B:(de.slice(-1)!="/"&&(de+="/"),de=(de+B).replace("//","/")),V={name:i(B),type:2},R.FileIndex.push(V),R.FullPaths.push(de),W||xt.utils.cfb_gc(R)}return V.content=k,V.size=k?k.length:0,H&&(H.CLSID&&(V.clsid=H.CLSID),H.mt&&(V.mt=H.mt),H.ct&&(V.ct=H.ct)),V}function Bi(R,B){E(R);var k=xt.find(R,B);if(k){for(var H=0;H3&&(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 UE=new Date("2017-02-19T19:06:09.000Z"),sD=isNaN(UE.getFullYear())?new Date("2/19/17"):UE,AB=sD.getFullYear()==2017;function Vr(t,e){var r=new Date(t);if(AB)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(sD.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 Gl(t,e){if(St&&Buffer.isBuffer(t)){if(e){if(t[0]==255&&t[1]==254)return Zh(t.slice(2).toString("utf16le"));if(t[1]==254&&t[2]==255)return Zh(Y2(t.slice(2).toString("binary")))}return t.toString("binary")}if(typeof TextDecoder!="undefined")try{if(e){if(t[0]==255&&t[1]==254)return Zh(new TextDecoder("utf-16le").decode(t.slice(2)));if(t[0]==254&&t[1]==255)return Zh(new TextDecoder("utf-16be").decode(t.slice(2)))}var r={"\u20AC":"\x80","\u201A":"\x82",\u0192:"\x83","\u201E":"\x84","\u2026":"\x85","\u2020":"\x86","\u2021":"\x87","\u02C6":"\x88","\u2030":"\x89",\u0160:"\x8A","\u2039":"\x8B",\u0152:"\x8C",\u017D:"\x8E","\u2018":"\x91","\u2019":"\x92","\u201C":"\x93","\u201D":"\x94","\u2022":"\x95","\u2013":"\x96","\u2014":"\x97","\u02DC":"\x98","\u2122":"\x99",\u0161:"\x9A","\u203A":"\x9B",\u0153:"\x9C",\u017E:"\x9E",\u0178:"\x9F"};return Array.isArray(t)&&(t=new Uint8Array(t)),new TextDecoder("latin1").decode(t).replace(/[€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ]/g,function(s){return r[s]||s})}catch(s){}for(var n=[],i=0;i!=t.length;++i)n.push(String.fromCharCode(t[i]));return n.join("")}function Xr(t){if(typeof JSON!="undefined"&&!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]=Xr(t[r]));return e}function gr(t,e){for(var r="";r.length3&&MB.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 OB=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 `,DB=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g,YE=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/mg,kB=/<[^>]*>/g,gn=uD.match(YE)?YE:kB,NB=/<\w*:/,HB=/<(\/?)\w+:/;function Ze(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(DB),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,r||(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,r||(n[f.toLowerCase()]=l)}}return n}function Js(t){return t.replace(HB,"<$1")}var hD={""":'"',"'":"'",">":">","<":"<","&":"&"},FB=AS(hD),_t=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))}}(),LB=/[&<>'"]/g,$B=/[\u0000-\u001f]/g;function OS(t){var e=t+"";return e.replace(LB,function(r){return FB[r]}).replace(/\n/g,"
").replace($B,function(r){return"&#x"+("000"+r.charCodeAt(0).toString(16)).slice(-4)+";"})}var zE=function(){var t=/&#(\d+);/g;function e(r,n){return String.fromCharCode(parseInt(n,10))}return function(n){return n.replace(t,e)}}();function er(t){switch(t){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}function ow(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 jE(t){var e=Na(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 KE(t){return tc(t,"binary").toString("utf8")}var Vf="foo bar baz\xE2\x98\x83\xF0\x9F\x8D\xA3",Yt=St&&(KE(Vf)==ow(Vf)&&KE||jE(Vf)==ow(Vf)&&jE)||ow,Zh=St?function(t){return tc(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("")},Dd=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||"")}}(),dD=function(){var t=[["nbsp"," "],["middot","\xB7"],["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")}}(),WB=/<\/?(?:vt:)?variant>/g,VB=/<(?:vt:)([^>]*)>([\s\S]*)"+e+""}function IS(t){if(St&&Buffer.isBuffer(t))return t.toString("utf8");if(typeof t=="string")return t;if(typeof Uint8Array!="undefined"&&t instanceof Uint8Array)return Yt(rc(RS(t)));throw new Error("Bad input format: expected Buffer or string")}var kd=/<(\/?)([^\s?>:\/]+)(?:[\s?:\/][^>]*)?>/mg,zB={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"},jB=["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 KB(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 XB(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 qE=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:tc(e)})):qE(t)}:qE,JE=function(t,e,r){for(var n=[],i=e;i0?rf(t,e+4,e+4+r-1):""},mD=gD,pD=function(t,e){var r=li(t,e);return r>0?rf(t,e+4,e+4+r-1):""},wD=pD,vD=function(t,e){var r=2*li(t,e);return r>0?rf(t,e+4,e+4+r-1):""},CD=vD,SD=function(e,r){var n=li(e,r);return n>0?PS(e,r+4,r+4+n):""},yD=SD,xD=function(t,e){var r=li(t,e);return r>0?rf(t,e+4,e+4+r):""},bD=xD,ED=function(t,e){return KB(t,e)},Q0=ED,RD=function(e){return Array.isArray(e)||typeof Uint8Array!="undefined"&&e instanceof Uint8Array};St&&(mD=function(e,r){if(!Buffer.isBuffer(e))return gD(e,r);var n=e.readUInt32LE(r);return n>0?e.toString("utf8",r+4,r+4+n-1):""},wD=function(e,r){if(!Buffer.isBuffer(e))return pD(e,r);var n=e.readUInt32LE(r);return n>0?e.toString("utf8",r+4,r+4+n-1):""},CD=function(e,r){if(!Buffer.isBuffer(e))return vD(e,r);var n=2*e.readUInt32LE(r);return e.toString("utf16le",r+4,r+4+n-1)},yD=function(e,r){if(!Buffer.isBuffer(e))return SD(e,r);var n=e.readUInt32LE(r);return e.toString("utf16le",r+4,r+4+n)},bD=function(e,r){if(!Buffer.isBuffer(e))return xD(e,r);var n=e.readUInt32LE(r);return e.toString("utf8",r+4,r+4+n)},Q0=function(e,r){return Buffer.isBuffer(e)?e.readDoubleLE(r):ED(e,r)},RD=function(e){return Buffer.isBuffer(e)||Array.isArray(e)||typeof Uint8Array!="undefined"&&e instanceof Uint8Array});var su=function(t,e){return t[e]},To=function(t,e){return t[e+1]*(1<<8)+t[e]},qB=function(t,e){var r=t[e+1]*256+t[e];return r<32768?r:(65535-r+1)*-1},li=function(t,e){return t[e+3]*(1<<24)+(t[e+2]<<16)+(t[e+1]<<8)+t[e]},Ol=function(t,e){return t[e+3]<<24|t[e+2]<<16|t[e+1]<<8|t[e]},ZB=function(t,e){return t[e]<<24|t[e+1]<<16|t[e+2]<<8|t[e+3]};function nd(t,e){var r="",n,i,s=[],o,a,l,c;switch(e){case"dbcs":if(c=this.l,St&&Buffer.isBuffer(this))r=this.slice(this.l,this.l+2*t).toString("utf16le");else for(l=0;l0?Ol:ZB)(this,this.l),this.l+=4,n):(i=li(this,this.l),this.l+=4,i);case 8:case-8:if(e==="f")return t==8?i=Q0(this,this.l):i=Q0([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=fD(this,this.l,t);break}}return this.l+=t,r}var JB=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},QB=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},e3=function(t,e,r){t[r]=e&255,t[r+1]=e>>>8&255};function t3(t,e,r){var n=0,i=0;if(r==="dbcs"){for(i=0;i!=e.length;++i)e3(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,JB(this,e,this.l);break;case 8:if(n=8,r==="f"){XB(this,e,this.l);break}case 16:break;case-4:n=4,QB(this,e,this.l);break}return this.l+=n,this}function TD(t,e){var r=fD(this,this.l,t.length>>1);if(r!==t)throw new Error(e+"Expected "+t+" saw "+r);this.l+=t.length>>1}function Kr(t,e){t.l=e,t.read_shift=nd,t.chk=TD,t.write_shift=t3}function fn(t,e){t.l+=e}function Or(t){var e=Na(t);return Kr(e,0),e}function Wo(t,e,r){if(!!t){var n,i,s;Kr(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 tR(t,e,r){var n=Xr(t);return n.s=id(n.s,e.s,r),n.e=id(n.e,e.s,r),n}function sd(t,e){if(t.cRel&&t.c<0)for(t=Xr(t);t.c<0;)t.c+=e>8?16384:256;if(t.rRel&&t.r<0)for(t=Xr(t);t.r<0;)t.r+=e>8?1048576:e>5?65536:16384;var r=nt(t);return!t.cRel&&t.cRel!=null&&(r=i3(r)),!t.rRel&&t.rRel!=null&&(r=r3(r)),r}function aw(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?"":"$")+Ir(t.s.c)+":"+(t.e.cRel?"":"$")+Ir(t.e.c):t.s.c==0&&!t.s.cRel&&t.e.c==(e.biff>=12?16383:255)&&!t.e.cRel?(t.s.rRel?"":"$")+qr(t.s.r)+":"+(t.e.rRel?"":"$")+qr(t.e.r):sd(t.s,e.biff)+":"+sd(t.e,e.biff)}function DS(t){return parseInt(n3(t),10)-1}function qr(t){return""+(t+1)}function r3(t){return t.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}function n3(t){return t.replace(/\$(\d+)$/,"$1")}function kS(t){for(var e=s3(t),r=0,n=0;n!==e.length;++n)r=26*r+e.charCodeAt(n)-64;return r-1}function Ir(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 i3(t){return t.replace(/^([A-Z])/,"$$$1")}function s3(t){return t.replace(/^\$([A-Z])/,"$1")}function o3(t){return t.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function Pn(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 Hu(t){var e=t.indexOf(":");return e==-1?{s:Pn(t),e:Pn(t)}:{s:Pn(t.slice(0,e)),e:Pn(t.slice(e+1))}}function bt(t,e){return typeof e=="undefined"||typeof e=="number"?bt(t.s,t.e):(typeof t!="string"&&(t=nt(t)),typeof e!="string"&&(e=nt(e)),t==e?t:t+":"+e)}function mr(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 rR(t,e){var r=t.t=="d"&&e instanceof Date;if(t.z!=null)try{return t.w=Di(t.z,r?kn(e):e)}catch(n){}try{return t.w=Di((t.XF||{}).numFmtId||(r?14:0),r?kn(e):e)}catch(n){return""+e}}function Fo(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"?sc[t.v]||t.v:e==null?rR(t,t.v):rR(t,e))}function Wa(t,e){var r=e&&e.sheet?e.sheet:"Sheet1",n={};return n[r]=t,{SheetNames:[r],Sheets:n}}function _D(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"?Pn(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=mr(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]!="undefined"){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 AD(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 ic=AD;function cn(t){if(t.length-t.l<8)throw"XLS Xnum Buffer underflow";return t.read_shift(8,"f")}function d3(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=Bl[i];c&&(e.rgb=Hd(c));break;case 2:e.rgb=Hd([o,a,l]);break;case 3:e.theme=i;break}return s!=0&&(e.tint=s>0?s/32767:s/32768),e}function f3(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 MD(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 g3(t){return MD(t,1)}function m3(t){return MD(t,2)}var LS=2,Kn=3,Uf=11,nR=12,em=19,Gf=64,p3=65,w3=71,v3=4108,C3=4126,$r=80,OD=81,S3=[$r,OD],y3={1:{n:"CodePage",t:LS},2:{n:"Category",t:$r},3:{n:"PresentationFormat",t:$r},4:{n:"ByteCount",t:Kn},5:{n:"LineCount",t:Kn},6:{n:"ParagraphCount",t:Kn},7:{n:"SlideCount",t:Kn},8:{n:"NoteCount",t:Kn},9:{n:"HiddenCount",t:Kn},10:{n:"MultimediaClipCount",t:Kn},11:{n:"ScaleCrop",t:Uf},12:{n:"HeadingPairs",t:v3},13:{n:"TitlesOfParts",t:C3},14:{n:"Manager",t:$r},15:{n:"Company",t:$r},16:{n:"LinksUpToDate",t:Uf},17:{n:"CharacterCount",t:Kn},19:{n:"SharedDoc",t:Uf},22:{n:"HyperlinksChanged",t:Uf},23:{n:"AppVersion",t:Kn,p:"version"},24:{n:"DigSig",t:p3},26:{n:"ContentType",t:$r},27:{n:"ContentStatus",t:$r},28:{n:"Language",t:$r},29:{n:"Version",t:$r},255:{},2147483648:{n:"Locale",t:em},2147483651:{n:"Behavior",t:em},1919054434:{}},x3={1:{n:"CodePage",t:LS},2:{n:"Title",t:$r},3:{n:"Subject",t:$r},4:{n:"Author",t:$r},5:{n:"Keywords",t:$r},6:{n:"Comments",t:$r},7:{n:"Template",t:$r},8:{n:"LastAuthor",t:$r},9:{n:"RevNumber",t:$r},10:{n:"EditTime",t:Gf},11:{n:"LastPrinted",t:Gf},12:{n:"CreatedDate",t:Gf},13:{n:"ModifiedDate",t:Gf},14:{n:"PageCount",t:Kn},15:{n:"WordCount",t:Kn},16:{n:"CharCount",t:Kn},17:{n:"Thumbnail",t:w3},18:{n:"Application",t:$r},19:{n:"DocSecurity",t:Kn},255:{},2147483648:{n:"Locale",t:em},2147483651:{n:"Behavior",t:em},1919054434:{}},iR={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"},b3=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];function E3(t){return t.map(function(e){return[e>>16&255,e>>8&255,e&255]})}var R3=E3([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]),Bl=Xr(R3),sc={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},ID={"#NULL!":0,"#DIV/0!":7,"#VALUE!":15,"#REF!":23,"#NAME?":29,"#NUM!":36,"#N/A":42,"#GETTING_DATA":43,"#WTF?":255},sR={"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 T3(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""}}function _3(t){var e=T3();if(!t||!t.match)return e;var r={};if((t.match(gn)||[]).forEach(function(n){var i=Ze(n);switch(i[0].replace(NB,"<")){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 QC(t){var e=t.lastIndexOf("/");return t.slice(0,e+1)+"_rels/"+t.slice(e+1)+".rels"}function od(t,e){var r={"!id":{}};if(!t)return r;e.charAt(0)!=="/"&&(e="/"+e);var n={};return(t.match(gn)||[]).forEach(function(i){var s=Ze(i);if(s[0]==="]*>([\\s\\S]*?)")}return t}();function PD(t){var e={};t=Yt(t);for(var r=0;r0&&(e[n[1]]=_t(i[1])),n[2]==="date"&&e[n[1]]&&(e[n[1]]=Vr(e[n[1]]))}return e}var I3=[["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 DD(t,e,r,n){var i=[];if(typeof t=="string")i=XE(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"\u5DE5\u4F5C\u8868":case"\u041B\u0438\u0441\u0442\u044B":case"\u0623\u0648\u0631\u0627\u0642 \u0627\u0644\u0639\u0645\u0644":case"\u30EF\u30FC\u30AF\u30B7\u30FC\u30C8":case"\u05D2\u05DC\u05D9\u05D5\u05E0\u05D5\u05EA \u05E2\u05D1\u05D5\u05D3\u05D4":case"Arbeitsbl\xE4tter":case"\xC7al\u0131\u015Fma Sayfalar\u0131":case"Feuilles de calcul":case"Fogli di lavoro":case"Folhas de c\xE1lculo":case"Planilhas":case"Regneark":case"Hojas de c\xE1lculo":case"Werkbladen":r.Worksheets=l,r.SheetNames=o.slice(a,a+l);break;case"Named Ranges":case"Rangos con nombre":case"\u540D\u524D\u4ED8\u304D\u4E00\u89A7":case"Benannte Bereiche":case"Navngivne omr\xE5der":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 P3(t,e,r){var n={};return e||(e={}),t=Yt(t),I3.forEach(function(i){var s=(t.match(Dd(i[0]))||[])[1];switch(i[2]){case"string":s&&(e[i[1]]=_t(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&&DD(n.HeadingPairs,n.TitlesOfParts,e,r),e}var D3=/<[^>]+>[^<]*/g;function k3(t,e){var r={},n="",i=t.match(D3);if(i)for(var s=0;s!=i.length;++s){var o=i[s],a=Ze(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]=_t(u);break;case"bool":r[n]=er(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]=Vr(u);break;case"cy":case"error":r[n]=_t(u);break;default:if(c.slice(-1)=="/")break;e.WTF&&typeof console!="undefined"&&console.warn("Unexpected",o,c,l)}}else if(o.slice(0,2)!==">2+1<<2),n}function FD(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 V3(t){var e={};return e.Size=t.read_shift(4),t.l+=e.Size+3-(e.Size-1)%4,e}function tm(t,e,r){var n=t.read_shift(2),i,s=r||{};if(t.l+=2,e!==nR&&n!==e&&S3.indexOf(e)===-1&&!((e&65534)==4126&&(n&65534)==4126))throw new Error("Expected type "+e+" saw "+n);switch(e===nR?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 kD(t,n,4).replace(Dn,"");case 31:return ND(t);case 64:return $S(t);case 65:return FD(t);case 71:return V3(t);case 80:return e1(t,n,!s.raw).replace(Dn,"");case 81:return F3(t,n).replace(Dn,"");case 4108:return W3(t);case 4126:case 4127:return n==4127?L3(t):$3(t);default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+n)}}function aR(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(S,v){return S[1]-v[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]=tm(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:as(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=tm(t,LS),as(a),l!==-1){var m=t.l;t.l=s[l][1],c=oR(t,a),t.l=m}}else if(s[o][0]===0){if(a===0){l=o,t.l=s[o+1][1];continue}c=oR(t,a)}else{var w=c[s[o][0]],C;switch(t[t.l]){case 65:t.l+=4,C=FD(t);break;case 30:t.l+=4,C=e1(t,t[t.l-4]).replace(/\u0000+$/,"");break;case 31:t.l+=4,C=e1(t,t[t.l-4]).replace(/\u0000+$/,"");break;case 3:t.l+=4,C=t.read_shift(4,"i");break;case 19:t.l+=4,C=t.read_shift(4);break;case 5:t.l+=4,C=t.read_shift(8,"f");break;case 11:t.l+=4,C=vr(t,4);break;case 64:t.l+=4,C=Vr($S(t));break;default:throw new Error("unparsed value: "+t[t.l])}d[w]=C}}return t.l=r+n,d}function lR(t,e,r){var n=t.content;if(!n)return{};Kr(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!==xt.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=aR(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=aR(n,null)}catch(m){}for(f in g)d[f]=g[f];return d.FMTID=[s,o],d}function qo(t,e){return t.read_shift(e),null}function U3(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 Y3(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 Yl(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 sf(t,e,r){var n=t.read_shift(r&&r.biff==2?1:2);return n===0?(t.l++,""):Yl(t,n,r)}function oc(t,e,r){if(r.biff>5)return sf(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 z3(t){var e=t.read_shift(1);t.l++;var r=t.read_shift(2);return t.l+=2,[e,r]}function j3(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(Dn,"");return n&&(t.l+=24),i}function K3(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(Dn,"");return r+o}function X3(t,e){var r=t.read_shift(16);switch(r){case"e0c9ea79f9bace118c8200aa004ba90b":return j3(t);case"0303000000000000c000000000000046":return K3(t);default:throw new Error("Unsupported Moniker "+r)}}function Yf(t){var e=t.read_shift(4),r=e>0?t.read_shift(e,"utf16le").replace(Dn,""):"";return r}function q3(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=Yf(t,r-t.l)),i&128&&(o=Yf(t,r-t.l)),(i&257)===257&&(a=Yf(t,r-t.l)),(i&257)===1&&(l=X3(t,r-t.l)),i&8&&(c=Yf(t,r-t.l)),i&32&&(u=t.read_shift(16)),i&64&&(h=$S(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 $D(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 BD(t,e){var r=$D(t);return r[3]=0,r}function Qs(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 Z3(t){var e=t.read_shift(2),r=t.read_shift(2);return t.l+=8,{type:e,flags:r}}function J3(t,e,r){return e===0?"":oc(t,e,r)}function Q3(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 WD(t){var e=t.read_shift(2),r=FS(t);return[e,r]}function eW(t,e,r){t.l+=4,e-=4;var n=t.l+e,i=nf(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 rp(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 VD(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 tW=VD;function UD(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 rW(t){var e={};return t.l+=4,t.l+=16,e.fSharedNote=t.read_shift(2),t.l+=4,e}function nW(t){var e={};return t.l+=4,t.cf=t.read_shift(2),e}function Qr(t){t.l+=2,t.l+=t.read_shift(2)}var iW={0:Qr,4:Qr,5:Qr,6:Qr,7:nW,8:Qr,9:Qr,10:Qr,11:Qr,12:Qr,13:rW,14:Qr,15:Qr,16:Qr,17:Qr,18:Qr,19:Qr,20:Qr,21:UD};function sW(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 oW(t,e){return e===0||t.read_shift(2),1200}function aW(t,e,r){if(r.enc)return t.l+=e,"";var n=t.l,i=oc(t,0,r);return t.read_shift(e+n-t.l),i}function lW(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 cW(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=nf(t,0,r);return o.length===0&&(o="Sheet1"),{pos:n,hs:i,dt:s,name:o}}function uW(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 mW(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 pW(t,e,r){if(r&&r.biff>=2&&r.biff<5)return{};var n=t.read_shift(2);return{RTL:n&64}}function wW(){}function vW(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=nf(t,0,r),n}function CW(t){var e=Qs(t);return e.isst=t.read_shift(4),e}function SW(t,e,r){r.biffguess&&r.biff==2&&(r.biff=5);var n=t.l+e,i=Qs(t);r.biff==2&&t.l++;var s=sf(t,n-t.l,r);return i.val=s,i}function yW(t,e,r){var n=t.read_shift(2),i=oc(t,0,r);return[n,i]}var xW=oc;function uR(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 bW(t){var e=t.read_shift(2),r=t.read_shift(2),n=WD(t);return{r:e,c:r,ixfe:n[0],rknum:n[1]}}function EW(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 _W(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=TW(t,e,n.fStyle,r),n}function AW(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 hR(t,e,r){var n=Qs(t);(r.biff==2||e==9)&&++t.l;var i=G3(t);return n.val=i,n.t=i===!0||i===!1?"b":"e",n}function MW(t,e,r){r.biffguess&&r.biff==2&&(r.biff=5);var n=Qs(t),i=cn(t);return n.val=i,n}var dR=J3;function OW(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=Yl(t,s),a=[];n>t.l;)a.push(sf(t));return[s,i,o,a]}function fR(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=eW(t,e-2,r)),s.body=i||t.read_shift(e-2),typeof i=="string"&&(s.Name=i),s}var IW=["_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 gR(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=Yl(t,o,r);i&32&&(c=IW[c.charCodeAt(0)]);var u=n-t.l;r&&r.biff==2&&--u;var h=n==t.l||a===0||!(u>0)?[]:dU(t,u,r,a);return{chKey:s,Name:c,itab:l,rgce:h}}function GD(t,e,r){if(r.biff<8)return PW(t,e,r);for(var n=[],i=t.l+e,s=t.read_shift(r.biff>8?4:2);s--!==0;)n.push(Q3(t,r.biff>8?12:6,r));if(t.l!=i)throw new Error("Bad ExternSheet: "+t.l+" != "+i);return n}function PW(t,e,r){t[t.l+1]==3&&t[t.l]++;var n=nf(t,e,r);return n.charCodeAt(0)==3?n.slice(1):n}function DW(t,e,r){if(r.biff<8){t.l+=e;return}var n=t.read_shift(2),i=t.read_shift(2),s=Yl(t,n,r),o=Yl(t,i,r);return[s,o]}function kW(t,e,r){var n=VD(t);t.l++;var i=t.read_shift(1);return e-=8,[fU(t,e,r),i,n]}function mR(t,e,r){var n=tW(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,uU(t,e,r)]}function NW(t){var e=t.read_shift(4)!==0,r=t.read_shift(4)!==0,n=t.read_shift(4);return[e,r,n]}function HW(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=oc(t,0,r);return r.biff<8&&t.read_shift(1),[{r:n,c:i},a,o,s]}}function FW(t,e,r){return HW(t,e,r)}function LW(t,e){for(var r=[],n=t.read_shift(2);n--;)r.push(rp(t));return r}function $W(t,e,r){if(r&&r.biff<8)return WW(t,e,r);var n=UD(t),i=sW(t,e-22,n[1]);return{cmo:n,ft:i}}var BW={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 WW(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((BW[n]||fn)(t,e,r)),{cmo:[i,n,s],ft:o}}function VW(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=z3(t,6,r);var a=t.read_shift(2);t.read_shift(2),Tr(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(d){return t.l=n+e,{t:i}}}function UW(t,e){var r=rp(t);t.l+=16;var n=q3(t,e-24);return[r,n]}function GW(t,e){t.read_shift(2);var r=rp(t),n=t.read_shift((e-10)/2,"dbcs-cont");return n=n.replace(Dn,""),[r,n]}function YW(t){var e=[0,0],r;return r=t.read_shift(2),e[0]=iR[r]||r,r=t.read_shift(2),e[1]=iR[r]||r,e}function zW(t){for(var e=t.read_shift(2),r=[];e-- >0;)r.push(BD(t));return r}function jW(t){for(var e=t.read_shift(2),r=[];e-- >0;)r.push(BD(t));return r}function KW(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 YD(t,e,r){if(!r.cellStyles)return fn(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 XW(t,e){var r={};return e<32||(t.l+=16,r.header=cn(t),r.footer=cn(t),t.l+=2),r}function qW(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 ZW=Qs,JW=LD,QW=sf;function eV(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 tV(t,e,r){r.biffguess&&r.biff==5&&(r.biff=2);var n=Qs(t);++t.l;var i=oc(t,e-7,r);return n.t="str",n.val=i,n}function rV(t){var e=Qs(t);++t.l;var r=cn(t);return e.t="n",e.val=r,e}function nV(t){var e=Qs(t);++t.l;var r=t.read_shift(2);return e.t="n",e.val=r,e}function iV(t){var e=t.read_shift(1);return e===0?(t.l++,""):t.read_shift(e,"sbcs-cont")}function sV(t,e){t.l+=6,t.l+=2,t.l+=1,t.l+=3,t.l+=1,t.l+=e-13}function oV(t,e,r){var n=t.l+e,i=Qs(t),s=t.read_shift(2),o=Yl(t,s,r);return t.l=n,i.t="str",i.val=o,i}var aV=[2,3,48,49,131,139,140,245],pR=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=AS({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=Na(1);switch(l.type){case"base64":u=os(gi(a));break;case"binary":u=os(a);break;case"buffer":case"array":u=a;break}Kr(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,w=521;h==2&&(m=u.read_shift(2)),u.l+=3,h!=2&&(m=u.read_shift(4)),m>1048576&&(m=1e6),h!=2&&(w=u.read_shift(2));var C=u.read_shift(2),S=l.codepage||1252;h!=2&&(u.l+=16,u.read_shift(1),u[u.l]!==0&&(S=t[u[u.l]]),u.l+=1,u.l+=2),g&&(u.l+=36);for(var v=[],T={},A=Math.min(u.length,h==2?521:w-10-(f?264:0)),M=g?32:11;u.l0;){if(u[u.l]===42){u.l+=C;continue}for(++u.l,c[++E]=[],Y=0,Y=0;Y!=v.length;++Y){var D=u.slice(u.l,u.l+v[Y].len);u.l+=v[Y].len,Kr(D,0);var U=ga.utils.decode(S,D);switch(v[Y].type){case"C":U.trim().length&&(c[E][Y]=U.replace(/\s+$/,""));break;case"D":U.length===8?c[E][Y]=new Date(+U.slice(0,4),+U.slice(4,6)-1,+U.slice(6,8)):c[E][Y]=U;break;case"F":c[E][Y]=parseFloat(U.trim());break;case"+":case"I":c[E][Y]=g?D.read_shift(-4,"i")^2147483648:D.read_shift(4,"i");break;case"L":switch(U.trim().toUpperCase()){case"Y":case"T":c[E][Y]=!0;break;case"N":case"F":c[E][Y]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+U+"|")}break;case"M":if(!d)throw new Error("DBF Unexpected MEMO for type "+h.toString(16));c[E][Y]="##MEMO##"+(g?parseInt(U.trim(),10):D.read_shift(4));break;case"N":U=U.replace(/\u0000/g,"").trim(),U&&U!="."&&(c[E][Y]=+U||0);break;case"@":c[E][Y]=new Date(D.read_shift(-8,"f")-621356832e5);break;case"T":c[E][Y]=new Date((D.read_shift(4)-2440588)*864e5+D.read_shift(4));break;case"Y":c[E][Y]=D.read_shift(4,"i")/1e4+D.read_shift(4,"i")/1e4*Math.pow(2,32);break;case"O":c[E][Y]=-D.read_shift(-8,"f");break;case"B":if(f&&v[Y].len==8){c[E][Y]=D.read_shift(8,"f");break}case"G":case"P":D.l+=v[Y].len;break;case"0":if(v[Y].name==="_NullFlags")break;default:throw new Error("DBF Unsupported data type "+v[Y].type)}}}if(h!=2&&u.l=0&&as(+c.codepage),c.type=="string")throw new Error("Cannot write DBF to JS string");var u=ZC(),h=a1(a,{header:1,raw:!0,cellDates:!0}),d=h[0],f=h.slice(1),g=a["!cols"]||[],m=0,w=0,C=0,S=1;for(m=0;m250&&(D=250),Y=((g[m]||{}).DBF||{}).type,Y=="C"&&g[m].DBF.len>D&&(D=g[m].DBF.len),E=="B"&&Y=="N"&&(E="N",M[m]=g[m].DBF.dec,D=g[m].DBF.len),A[m]=E=="C"||Y=="N"?D:s[E]||0,S+=A[m],T[m]=E}var X=u.next(32);for(X.write_shift(4,318902576),X.write_shift(4,f.length),X.write_shift(2,296+32*C),X.write_shift(2,S),m=0;m<4;++m)X.write_shift(4,0);for(X.write_shift(4,0|(+e[U2]||3)<<8),m=0,w=0;m":190,"?":191,"{":223},e=new RegExp("\x1BN("+Xs(t).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),r=function(d,f){var g=t[f];return typeof g=="number"?PE(g):g},n=function(d,f,g){var m=f.charCodeAt(0)-32<<4|g.charCodeAt(0)-48;return m==59?d:PE(m)};t["|"]=254;function i(d,f){switch(f.type){case"base64":return s(gi(d),f);case"binary":return s(d,f);case"buffer":return s(St&&Buffer.isBuffer(d)?d.toString("binary"):rc(d),f);case"array":return s(Gl(d),f)}throw new Error("Unrecognized type "+f.type)}function s(d,f){var g=d.split(/[\n\r]+/),m=-1,w=-1,C=0,S=0,v=[],T=[],A=null,M={},E=[],Y=[],D=[],U=0,X;for(+f.codepage>=0&&as(+f.codepage);C!==g.length;++C){U=0;var G=g[C].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,n).replace(e,r),ae=G.replace(/;;/g,"\0").split(";").map(function(N){return N.replace(/\u0000/g,";")}),ve=ae[0],me;if(G.length>0)switch(ve){case"ID":break;case"E":break;case"B":break;case"O":break;case"W":break;case"P":ae[1].charAt(0)=="P"&&T.push(G.slice(3).replace(/;;/g,";"));break;case"C":var Re=!1,Ce=!1,_e=!1,p=!1,y=-1,b=-1;for(S=1;S-1&&v[y][b];if(!O||!O[1])throw new Error("SYLK shared formula cannot find base");v[m][w][1]=tk(O[1],{r:m-y,c:w-b})}break;case"F":var _=0;for(S=1;S0?(E[m].hpt=U,E[m].hpx=Fd(U)):U===0&&(E[m].hidden=!0);break;default:if(f&&f.WTF)throw new Error("SYLK bad record "+G)}_<1&&(A=null);break;default:if(f&&f.WTF)throw new Error("SYLK bad record "+G)}}return E.length>0&&(M["!rows"]=E),Y.length>0&&(M["!cols"]=Y),f&&f.sheetRows&&(v=v.slice(0,f.sheetRows)),[v,M]}function o(d,f){var g=i(d,f),m=g[0],w=g[1],C=Fu(m,f);return Xs(w).forEach(function(S){C[S]=w[S]}),C}function a(d,f){return Wa(o(d,f),f)}function l(d,f,g,m){var w="C;Y"+(g+1)+";X"+(m+1)+";K";switch(d.t){case"n":w+=d.v||0,d.f&&!d.F&&(w+=";E"+K8(d.f,{r:g,c:m}));break;case"b":w+=d.v?"TRUE":"FALSE";break;case"e":w+=d.w||d.v;break;case"d":w+='"'+(d.w||d.v)+'"';break;case"s":w+='"'+d.v.replace(/"/g,"").replace(/;/g,";;")+'"';break}return w}function c(d,f){f.forEach(function(g,m){var w="F;W"+(m+1)+" "+(m+1)+" ";g.hidden?w+="0":(typeof g.width=="number"&&!g.wpx&&(g.wpx=nm(g.width)),typeof g.wpx=="number"&&!g.wch&&(g.wch=im(g.wpx)),typeof g.wch=="number"&&(w+=Math.round(g.wch))),w.charAt(w.length-1)!=" "&&d.push(w)})}function u(d,f){f.forEach(function(g,m){var w="F;";g.hidden?w+="M0;":g.hpt?w+="M"+20*g.hpt+";":g.hpx&&(w+="M"+20*JD(g.hpx)+";"),w.length>2&&d.push(w+"R"+(m+1))})}function h(d,f){var g=["ID;PWXL;N;E"],m=[],w=mr(d["!ref"]),C,S=Array.isArray(d),v=`\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"+(w.e.r-w.s.r+1)+";X"+(w.e.c-w.s.c+1)+";D"+[w.s.c,w.s.r,w.e.c,w.e.r].join(" "));for(var T=w.s.r;T<=w.e.r;++T)for(var A=w.s.c;A<=w.e.c;++A){var M=nt({r:T,c:A});C=S?(d[T]||[])[A]:d[M],!(!C||C.v==null&&(!C.f||C.F))&&m.push(l(C,d,T,A))}return g.join(v)+v+m.join(v)+v+"E"+v}return{to_workbook:a,to_sheet:o,from_sheet:h}}(),cV=function(){function t(s,o){switch(o.type){case"base64":return e(gi(s),o);case"binary":return e(s,o);case"buffer":return e(St&&Buffer.isBuffer(s)?s.toString("binary"):rc(s),o);case"array":return e(Gl(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 w=10,C=0,S=0;S<=m;++S)C=g[S].indexOf(" "),C==-1?C=g[S].length:C++,w=Math.max(w,C);for(S=0;S<=m;++S){f[S]=[];var v=0;for(t(g[S].slice(0,w).trim(),f,S,v,d),v=1;v<=(g[S].length-w)/10+1;++v)t(g[S].slice(w+(v-1)*10,w+v*10).trim(),f,S,v,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&&U(),g["!ref"]=bt(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):Fu(e(u,h),h)}function a(u,h){var d="",f=h.type=="string"?[0,0,0,0]:jS(u,h);switch(h.type){case"base64":d=gi(u);break;case"binary":d=u;break;case"buffer":h.codepage==65001?d=u.toString("utf8"):h.codepage&&typeof ga!="undefined"?d=ga.utils.decode(h.codepage,u):d=St&&Buffer.isBuffer(u)?u.toString("binary"):rc(u);break;case"array":d=Gl(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=Yt(d.slice(3)):h.type!="string"&&h.type!="buffer"&&h.codepage==65001?d=Yt(d):h.type=="binary"&&typeof ga!="undefined"&&h.codepage&&(d=ga.utils.decode(h.codepage,ga.utils.encode(28591,d))),d.slice(0,19)=="socialcalc:version:"?uV.to_sheet(h.type=="string"?d:Yt(d),h):o(d,h)}function l(u,h){return Wa(a(u,h),h)}function c(u){for(var h=[],d=mr(u["!ref"]),f,g=Array.isArray(u),m=d.s.r;m<=d.e.r;++m){for(var w=[],C=d.s.c;C<=d.e.c;++C){var S=nt({r:m,c:C});if(f=g?(u[m]||[])[C]:u[S],!f||f.v==null){w.push(" ");continue}for(var v=(f.w||(Fo(f),f.w)||"").slice(0,10);v.length<10;)v+=" ";w.push(v+(C===0?" ":""))}h.push(w.join(""))}return h.join(` `)}return{to_workbook:l,to_sheet:a,from_sheet:c}}();function hV(t,e){var r=e||{},n=!!r.WTF;r.WTF=!0;try{var i=lV.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 Nd.to_workbook(t,e)}}var ld=function(){function t(x,O,_){if(!!x){Kr(x,x.l||0);for(var N=_.Enum||y;x.l=16&&x[14]==5&&x[15]===108)throw new Error("Unsupported Works 3 for Mac file");if(x[2]==2)_.Enum=y,t(x,function(we,Be,Le){switch(Le){case 0:_.vers=we,we>=4096&&(_.qpro=!0);break;case 6:L=we;break;case 204:we&&(le=we);break;case 222:le=we;break;case 15:case 51:_.qpro||(we[1].v=we[1].v.slice(1));case 13:case 14:case 16:Le==14&&(we[2]&112)==112&&(we[2]&15)>1&&(we[2]&15)<15&&(we[1].z=_.dateNF||ot[14],_.cellDates&&(we[1].t="d",we[1].v=tp(we[1].v))),_.qpro&&we[3]>ce&&(N["!ref"]=bt(L),te[K]=N,ge.push(K),N=_.dense?[]:{},L={s:{r:0,c:0},e:{r:0,c:0}},ce=we[3],K=le||"Sheet"+(ce+1),le="");var I=_.dense?(N[we[0].r]||[])[we[0].c]:N[nt(we[0])];if(I){I.t=we[1].t,I.v=we[1].v,we[1].z!=null&&(I.z=we[1].z),we[1].f!=null&&(I.f=we[1].f);break}_.dense?(N[we[0].r]||(N[we[0].r]=[]),N[we[0].r][we[0].c]=we[1]):N[nt(we[0])]=we[1];break}},_);else if(x[2]==26||x[2]==14)_.Enum=b,x[2]==14&&(_.qpro=!0,x.l=0),t(x,function(we,Be,Le){switch(Le){case 204:K=we;break;case 22:we[1].v=we[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(we[3]>ce&&(N["!ref"]=bt(L),te[K]=N,ge.push(K),N=_.dense?[]:{},L={s:{r:0,c:0},e:{r:0,c:0}},ce=we[3],K="Sheet"+(ce+1)),Fe>0&&we[0].r>=Fe)break;_.dense?(N[we[0].r]||(N[we[0].r]=[]),N[we[0].r][we[0].c]=we[1]):N[nt(we[0])]=we[1],L.e.c=0&&as(+_.codepage),_.type=="string")throw new Error("Cannot write WK1 to JS string");var N=ZC(),K=mr(x["!ref"]),le=Array.isArray(x),ce=[];Vi(N,0,s(1030)),Vi(N,6,l(K));for(var te=Math.min(K.e.r,8191),ge=K.s.r;ge<=te;++ge)for(var Me=qr(ge),L=K.s.c;L<=K.e.c;++L){ge===K.s.r&&(ce[L]=Ir(L));var Fe=ce[L]+Me,ue=le?(x[ge]||[])[L]:x[Fe];if(!(!ue||ue.t=="z"))if(ue.t=="n")(ue.v|0)==ue.v&&ue.v>=-32768&&ue.v<=32767?Vi(N,13,f(ge,L,ue.v)):Vi(N,14,m(ge,L,ue.v));else{var ze=Fo(ue);Vi(N,15,h(ge,L,ze.slice(0,239)))}}return Vi(N,1),N.end()}function i(x,O){var _=O||{};if(+_.codepage>=0&&as(+_.codepage),_.type=="string")throw new Error("Cannot write WK3 to JS string");var N=ZC();Vi(N,0,o(x));for(var K=0,le=0;K8191&&(_=8191),O.write_shift(2,_),O.write_shift(1,K),O.write_shift(1,N),O.write_shift(2,0),O.write_shift(2,0),O.write_shift(1,1),O.write_shift(1,2),O.write_shift(4,0),O.write_shift(4,0),O}function a(x,O,_){var N={s:{c:0,r:0},e:{c:0,r:0}};return O==8&&_.qpro?(N.s.c=x.read_shift(1),x.l++,N.s.r=x.read_shift(2),N.e.c=x.read_shift(1),x.l++,N.e.r=x.read_shift(2),N):(N.s.c=x.read_shift(2),N.s.r=x.read_shift(2),O==12&&_.qpro&&(x.l+=2),N.e.c=x.read_shift(2),N.e.r=x.read_shift(2),O==12&&_.qpro&&(x.l+=2),N.s.c==65535&&(N.s.c=N.e.c=N.s.r=N.e.r=0),N)}function l(x){var O=Or(8);return O.write_shift(2,x.s.c),O.write_shift(2,x.s.r),O.write_shift(2,x.e.c),O.write_shift(2,x.e.r),O}function c(x,O,_){var N=[{c:0,r:0},{t:"n",v:0},0,0];return _.qpro&&_.vers!=20768?(N[0].c=x.read_shift(1),N[3]=x.read_shift(1),N[0].r=x.read_shift(2),x.l+=2):(N[2]=x.read_shift(1),N[0].c=x.read_shift(2),N[0].r=x.read_shift(2)),N}function u(x,O,_){var N=x.l+O,K=c(x,O,_);if(K[1].t="s",_.vers==20768){x.l++;var le=x.read_shift(1);return K[1].v=x.read_shift(le,"utf8"),K}return _.qpro&&x.l++,K[1].v=x.read_shift(N-x.l,"cstr"),K}function h(x,O,_){var N=Or(7+_.length);N.write_shift(1,255),N.write_shift(2,O),N.write_shift(2,x),N.write_shift(1,39);for(var K=0;K=128?95:le)}return N.write_shift(1,0),N}function d(x,O,_){var N=c(x,O,_);return N[1].v=x.read_shift(2,"i"),N}function f(x,O,_){var N=Or(7);return N.write_shift(1,255),N.write_shift(2,O),N.write_shift(2,x),N.write_shift(2,_,"i"),N}function g(x,O,_){var N=c(x,O,_);return N[1].v=x.read_shift(8,"f"),N}function m(x,O,_){var N=Or(13);return N.write_shift(1,255),N.write_shift(2,O),N.write_shift(2,x),N.write_shift(8,_,"f"),N}function w(x,O,_){var N=x.l+O,K=c(x,O,_);if(K[1].v=x.read_shift(8,"f"),_.qpro)x.l=N;else{var le=x.read_shift(2);T(x.slice(x.l,x.l+le),K),x.l+=le}return K}function C(x,O,_){var N=O&32768;return O&=-32769,O=(N?x:0)+(O>=8192?O-16384:O),(N?"":"$")+(_?Ir(O):qr(O))}var S={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]},v=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function T(x,O){Kr(x,0);for(var _=[],N=0,K="",le="",ce="",te="";x.l_.length){console.error("WK1 bad formula parse 0x"+ge.toString(16)+":|"+_.join("|")+"|");return}var ue=_.slice(-N);_.length-=N,_.push(S[ge][0]+"("+ue.join(",")+")")}else return ge<=7?console.error("WK1 invalid opcode "+ge.toString(16)):ge<=24?console.error("WK1 unsupported op "+ge.toString(16)):ge<=30?console.error("WK1 invalid opcode "+ge.toString(16)):ge<=115?console.error("WK1 unsupported function opcode "+ge.toString(16)):console.error("WK1 unrecognized opcode "+ge.toString(16))}}_.length==1?O[1].f=""+_[0]:console.error("WK1 bad formula parse |"+_.join("|")+"|")}function A(x){var O=[{c:0,r:0},{t:"n",v:0},0];return O[0].r=x.read_shift(2),O[3]=x[x.l++],O[0].c=x[x.l++],O}function M(x,O){var _=A(x);return _[1].t="s",_[1].v=x.read_shift(O-4,"cstr"),_}function E(x,O,_,N){var K=Or(6+N.length);K.write_shift(2,x),K.write_shift(1,_),K.write_shift(1,O),K.write_shift(1,39);for(var le=0;le=128?95:ce)}return K.write_shift(1,0),K}function Y(x,O){var _=A(x);_[1].v=x.read_shift(2);var N=_[1].v>>1;if(_[1].v&1)switch(N&7){case 0:N=(N>>3)*5e3;break;case 1:N=(N>>3)*500;break;case 2:N=(N>>3)/20;break;case 3:N=(N>>3)/200;break;case 4:N=(N>>3)/2e3;break;case 5:N=(N>>3)/2e4;break;case 6:N=(N>>3)/16;break;case 7:N=(N>>3)/64;break}return _[1].v=N,_}function D(x,O){var _=A(x),N=x.read_shift(4),K=x.read_shift(4),le=x.read_shift(2);if(le==65535)return N===0&&K===3221225472?(_[1].t="e",_[1].v=15):N===0&&K===3489660928?(_[1].t="e",_[1].v=42):_[1].v=0,_;var ce=le&32768;return le=(le&32767)-16446,_[1].v=(1-ce*2)*(K*Math.pow(2,le+32)+N*Math.pow(2,le)),_}function U(x,O,_,N){var K=Or(14);if(K.write_shift(2,x),K.write_shift(1,_),K.write_shift(1,O),N==0)return K.write_shift(4,0),K.write_shift(4,0),K.write_shift(2,65535),K;var le=0,ce=0,te=0,ge=0;return N<0&&(le=1,N=-N),ce=Math.log2(N)|0,N/=Math.pow(2,ce-31),ge=N>>>0,(ge&2147483648)==0&&(N/=2,++ce,ge=N>>>0),N-=ge,ge|=2147483648,ge>>>=0,N*=Math.pow(2,32),te=N>>>0,K.write_shift(4,te),K.write_shift(4,ge),ce+=16383+(le?32768:0),K.write_shift(2,ce),K}function X(x,O){var _=D(x);return x.l+=O-14,_}function G(x,O){var _=A(x),N=x.read_shift(4);return _[1].v=N>>6,_}function ae(x,O){var _=A(x),N=x.read_shift(8,"f");return _[1].v=N,_}function ve(x,O){var _=ae(x);return x.l+=O-10,_}function me(x,O){return x[x.l+O-1]==0?x.read_shift(O,"cstr"):""}function Re(x,O){var _=x[x.l++];_>O-1&&(_=O-1);for(var N="";N.length<_;)N+=String.fromCharCode(x[x.l++]);return N}function Ce(x,O,_){if(!(!_.qpro||O<21)){var N=x.read_shift(1);x.l+=17,x.l+=1,x.l+=2;var K=x.read_shift(O-21,"cstr");return[N,K]}}function _e(x,O){for(var _={},N=x.l+O;x.l127?95:K}return _[_.l++]=0,_}var y={0:{n:"BOF",f:Tr},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:w},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:me},222:{n:"SHEETNAMELP",f:Re},65535:{n:""}},b={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:M},23:{n:"NUMBER17",f:D},24:{n:"NUMBER18",f:Y},25:{n:"FORMULA19",f:X},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:_e},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:G},38:{n:"??"},39:{n:"NUMBER27",f:ae},40:{n:"FORMULA28",f:ve},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:me},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:Ce},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 dV(t){var e={},r=t.match(gn),n=0,i=!1;if(r)for(;n!=r.length;++n){var s=Ze(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 fV=function(){var t=Dd("t"),e=Dd("rPr");function r(s){var o=s.match(t);if(!o)return{t:"s",v:""};var a={t:"s",v:_t(o[1])},l=s.match(e);return l&&(a.s=dV(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})}}(),gV=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("")}}(),mV=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,pV=/<(?:\w+:)?r>/,wV=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g;function BS(t,e){var r=e?e.cellHTML:!0,n={};return t?(t.match(/^\s*<(?:\w+:)?t[^>]*>/)?(n.t=_t(Yt(t.slice(t.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||"")),n.r=Yt(t),r&&(n.h=OS(n.t))):t.match(pV)&&(n.r=Yt(t),n.t=_t(Yt((t.replace(wV,"").match(mV)||[]).join("").replace(gn,""))),r&&(n.h=gV(fV(n.r)))),n):{t:""}}var vV=/<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/,CV=/<(?:\w+:)?(?:si|sstItem)>/g,SV=/<\/(?:\w+:)?(?:si|sstItem)>/;function yV(t,e){var r=[],n="";if(!t)return r;var i=t.match(vV);if(i){n=i[2].replace(CV,"").split(SV);for(var s=0;s!=n.length;++s){var o=BS(n[s].trim(),e);o!=null&&(r[r.length]=o)}i=Ze(i[1]),r.Count=i.count,r.Unique=i.uniqueCount}return r}function xV(t){return[t.read_shift(4),t.read_shift(4)]}function bV(t,e){var r=[],n=!1;return Wo(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 zD(t){for(var e=[],r=t.split(""),n=0;n=4&&(t.l+=e-4),r}function EV(t){var e={};return e.id=t.read_shift(0,"lpp4"),e.R=No(t,4),e.U=No(t,4),e.W=No(t,4),e}function RV(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 TV(t){var e=[];t.l+=4;for(var r=t.read_shift(4);r-- >0;)e.push(RV(t));return e}function _V(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 AV(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=No(t,4),e.U=No(t,4),e.W=No(t,4),e}function MV(t){var e=AV(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 jD(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 KD(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 OV(t){var e=No(t);switch(e.Minor){case 2:return[e.Minor,IV(t)];case 3:return[e.Minor,PV()];case 4:return[e.Minor,DV(t)]}throw new Error("ECMA-376 Encrypted file unrecognized Version: "+e.Minor)}function IV(t){var e=t.read_shift(4);if((e&63)!=36)throw new Error("EncryptionInfo mismatch");var r=t.read_shift(4),n=jD(t,r),i=KD(t,t.length-t.l);return{t:"Std",h:n,v:i}}function PV(){throw new Error("File is password-protected: ECMA-376 Extensible")}function DV(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(gn,function(s){var o=Ze(s);switch(Js(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=jD(t,i),e-=i,r.EncryptionVerifier=KD(t,e),r}function NV(t){var e={},r=e.EncryptionVersionInfo=No(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 HV(t){var e=0,r,n=zD(t),i=n.length+1,s,o,a,l,c;for(r=Na(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)===0?0:1,l=e<<1&32767,c=a|l,e=c^o;return e^52811}var XD=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=zD(o),l=s(a),c=a.length,u=Na(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}}(),FV=function(t,e,r,n,i){i||(i=e),n||(n=XD(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]},LV=function(t){var e=0,r=XD(t);return function(n){var i=FV("",n,e,r);return e=i[1],i[0]}};function $V(t,e,r,n){var i={key:Tr(t),verificationBytes:Tr(t)};return r.password&&(i.verifier=HV(r.password)),n.valid=i.verificationBytes===i.verifier,n.valid&&(n.insitu=LV(r.password)),i}function BV(t,e,r){var n=r||{};return n.Info=t.read_shift(2),t.l-=2,n.Info===1?n.Data=NV(t):n.Data=kV(t,e),n}function WV(t,e,r){var n={Type:r.biff>=8?t.read_shift(2):0};return n.Type?BV(t,e-2,n):$V(t,r.biff>=8?e:e-2,r,n),n}var VV=function(){function t(i,s){switch(s.type){case"base64":return e(gi(i),s);case"binary":return e(i,s);case"buffer":return e(St&&Buffer.isBuffer(i)?i.toString("binary"):rc(i),s);case"array":return e(Gl(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 w=u.slice(f,d.lastIndex-g[0].length);if(w[0]==" "&&(w=w.slice(1)),++m,w.length){var C={v:w,t:"s"};Array.isArray(a)?a[h][m]=C:a[nt({r:h,c:m})]=C}break}f=d.lastIndex}m>c.e.c&&(c.e.c=m)}),a["!ref"]=bt(c),a}function r(i,s){return Wa(t(i,s),s)}function n(i){for(var s=["{\\rtf1\\ansi"],o=mr(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||(Fo(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 UV(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 Hd(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 GV(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 YV(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 rm(t,e){if(e===0)return t;var r=GV(UV(t));return e<0?r[2]=r[2]*(1+e):r[2]=1-(1-r[2])*(1-e),Hd(YV(r))}var qD=6,zV=15,jV=1,In=qD;function nm(t){return Math.floor((t+Math.round(128/In)/256)*In)}function im(t){return Math.floor((t-5)/In*100+.5)/100}function t1(t){return Math.round((t*In+5)/In*256)/256}function cw(t){return t1(im(nm(t)))}function WS(t){var e=Math.abs(t-cw(t)),r=In;if(e>.005)for(In=jV;In":case"":break;case"":case"":i={},a.diagonalUp&&(i.diagonalUp=er(a.diagonalUp)),a.diagonalDown&&(i.diagonalDown=er(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 ZV(t,e,r,n){e.Fills=[];var i={},s=!1;(t[0].match(gn)||[]).forEach(function(o){var a=Ze(o);switch(Js(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 JV(t,e,r,n){e.Fonts=[];var i={},s=!1;(t[0].match(gn)||[]).forEach(function(o){var a=Ze(o);switch(Js(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 QV(t,e,r){e.NumberFmt=[];for(var n=Xs(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}$l(a,l)}}break;case"":break;default:if(r.WTF)throw new Error("unrecognized "+o[0]+" in numFmts")}}}var jf=["numFmtId","fillId","fontId","borderId","xfId"],Kf=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"];function e8(t,e,r){e.CellXf=[];var n,i=!1;(t[0].match(gn)||[]).forEach(function(s){var o=Ze(s),a=0;switch(Js(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=er(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 t8=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))&&QV(h,u,c),(h=a.match(i))&&JV(h,u,l,c),(h=a.match(n))&&ZV(h,u,l,c),(h=a.match(s))&&qV(h,u,l,c),(h=a.match(r))&&e8(h,u,c),u}}();function r8(t,e){var r=t.read_shift(2),n=hn(t);return[r,n]}function n8(t,e,r){var n={};n.sz=t.read_shift(2)/20;var i=f3(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=d3(t),t.read_shift(1)){case 1:n.scheme="major";break;case 2:n.scheme="minor";break}return n.name=hn(t),n}var i8=fn;function s8(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 o8=fn;function a8(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 Wo(t,function(l,c,u){switch(u){case 44:n.NumberFmt[l[0]]=l[1],$l(l[1],l[0]);break;case 43:n.Fonts.push(l),l.color.theme!=null&&e&&e.themeElements&&e.themeElements.clrScheme&&(l.color.rgb=rm(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 l8=["","","","","","","","","","","",""];function c8(t,e,r){e.themeElements.clrScheme=[];var n={};(t[0].match(gn)||[]).forEach(function(i){var s=Ze(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[l8.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 u8(){}function h8(){}var d8=/]*)>[\s\S]*<\/a:clrScheme>/,f8=/]*)>[\s\S]*<\/a:fontScheme>/,g8=/]*)>[\s\S]*<\/a:fmtScheme>/;function m8(t,e,r){e.themeElements={};var n;[["clrScheme",d8,c8],["fontScheme",f8,u8],["fmtScheme",g8,h8]].forEach(function(i){if(!(n=t.match(i[1])))throw new Error(i[0]+" not found in themeElements");i[2](n,e,r)})}var p8=/]*)>[\s\S]*<\/a:themeElements>/;function QD(t,e){(!t||t.length===0)&&(t=w8());var r,n={};if(!(r=t.match(p8)))throw new Error("themeElements not found in theme");return m8(r[0],n,e),n.raw=t,n}function w8(t,e){if(e&&e.themeXLSX)return e.themeXLSX;if(t&&typeof t.raw=="string")return t.raw;var r=[uD];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 v8(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=cD(s,{type:"array"})}catch(l){return}var a=hi(o,"theme/theme/theme1.xml",!0);if(!!a)return QD(a,r)}}function C8(t){return t.read_shift(4)}function S8(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=y8(t,4);break;case 2:e.xclrValue=$D(t);break;case 3:e.xclrValue=C8(t);break;case 4:t.l+=4;break}return t.l+=8,e}function y8(t,e){return fn(t,e)}function x8(t,e){return fn(t,e)}function b8(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]=S8(t);break;case 6:n[1]=x8(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 E8(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(b8(t,r-t.l));return{ixfe:n,ext:s}}function R8(t,e){e.forEach(function(r){switch(r[0]){}})}function T8(t,e){return{flags:t.read_shift(4),version:t.read_shift(4),name:hn(t)}}function _8(t){for(var e=[],r=t.read_shift(4);r-- >0;)e.push([t.read_shift(4),t.read_shift(4)]);return e}function A8(t){return t.l+=4,t.read_shift(4)!=0}function M8(t,e,r){var n={Types:[],Cell:[],Value:[]},i=r||{},s=[],o=!1,a=2;return Wo(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 O8(t,e,r){var n={Types:[],Cell:[],Value:[]};if(!t)return n;var i=!1,s=2,o;return t.replace(gn,function(a){var l=Ze(a);switch(Js(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 wR(t,e,r,n){var i=Array.isArray(t),s;e.forEach(function(o){var a=Pn(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=mr(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=Ze(a[0]),c={author:l.authorId&&r[l.authorId]||"sheetjsghost",ref:l.ref,guid:l.guid},u=Pn(l.ref);if(!(e.sheetRows&&e.sheetRows<=u.r)){var h=o.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/),d=!!h&&!!h[1]&&BS(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 F8(t,e){var r=[],n=!1,i={},s=0;return t.replace(gn,function(a,l){var c=Ze(a);switch(Js(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 L8(t,e){var r=[],n=!1;return t.replace(gn,function(s){var o=Ze(s);switch(Js(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 $8(t){var e={};e.iauthor=t.read_shift(4);var r=ic(t);return e.rfx=r.s,e.ref=nt(r.s),t.l+=16,e}var B8=hn;function W8(t,e){var r=[],n=[],i={},s=!1;return Wo(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 V8="application/vnd.ms-office.vbaProject";function U8(t){var e=xt.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*/,"");xt.utils.cfb_add(e,i,t.FileIndex[n].content)}}),xt.write(e)}function G8(){return{"!type":"dialog"}}function Y8(){return{"!type":"dialog"}}function z8(){return{"!type":"macro"}}function j8(){return{"!type":"macro"}}var Cu=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?"":"$")+Ir(u)+(l?"":"$")+qr(c)}return function(i,s){return e=s,i.replace(t,r)}}(),ek=/(^|[^._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,K8=function(){return function(e,r){return e.replace(ek,function(n,i,s,o,a,l){var c=kS(o)-(s?0:r.c),u=DS(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 tk(t,e){return t.replace(ek,function(r,n,i,s,o,a){return n+(i=="$"?i+s:Ir(kS(s)+e.c))+(o=="$"?o+a:qr(DS(a)+e.r))})}function X8(t,e,r){var n=Hu(e),i=n.s,s=Pn(r),o={r:s.r-i.r,c:s.c-i.c};return tk(t,o)}function q8(t){return t.length!=1}function vR(t){return t.replace(/_xlfn\./g,"")}function br(t){t.l+=1}function Ha(t,e){var r=t.read_shift(e==1?1:2);return[r&16383,r>>14&1,r>>15&1]}function rk(t,e,r){var n=2;if(r){if(r.biff>=2&&r.biff<=5)return nk(t);r.biff==12&&(n=4)}var i=t.read_shift(n),s=t.read_shift(n),o=Ha(t,2),a=Ha(t,2);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 nk(t){var e=Ha(t,2),r=Ha(t,2),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 Z8(t,e,r){if(r.biff<8)return nk(t);var n=t.read_shift(r.biff==12?4:2),i=t.read_shift(r.biff==12?4:2),s=Ha(t,2),o=Ha(t,2);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 ik(t,e,r){if(r&&r.biff>=2&&r.biff<=5)return J8(t);var n=t.read_shift(r&&r.biff==12?4:2),i=Ha(t,2);return{r:n,c:i[0],cRel:i[1],rRel:i[2]}}function J8(t){var e=Ha(t,2),r=t.read_shift(1);return{r:e[0],c:r,cRel:e[1],rRel:e[2]}}function Q8(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 e6(t,e,r){var n=r&&r.biff?r.biff:8;if(n>=2&&n<=5)return t6(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 t6(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 r6(t,e,r){var n=(t[t.l++]&96)>>5,i=rk(t,r.biff>=2&&r.biff<=5?6:8,r);return[n,i]}function n6(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=rk(t,s,r);return[n,i,o]}function i6(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 s6(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 o6(t,e,r){var n=(t[t.l++]&96)>>5,i=Z8(t,e-1,r);return[n,i]}function a6(t,e,r){var n=(t[t.l++]&96)>>5;return t.l+=r.biff==2?6:r.biff==12?14:7,[n]}function CR(t){var e=t[t.l+1]&1,r=1;return t.l+=4,[e,r]}function l6(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 c6(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 u6(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 h6(t){var e=t[t.l+1]&255?1:0;return t.l+=2,[e,t.read_shift(2)]}function d6(t,e,r){var n=t[t.l+1]&255?1:0;return t.l+=r&&r.biff==2?3:4,[n]}function sk(t){var e=t.read_shift(1),r=t.read_shift(1);return[e,r]}function f6(t){return t.read_shift(2),sk(t)}function g6(t){return t.read_shift(2),sk(t)}function m6(t,e,r){var n=(t[t.l]&96)>>5;t.l+=1;var i=ik(t,0,r);return[n,i]}function p6(t,e,r){var n=(t[t.l]&96)>>5;t.l+=1;var i=e6(t,0,r);return[n,i]}function w6(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=ik(t,0,r);return[n,i,s]}function v6(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[CU[i],lk[i],n]}function C6(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)]:S6(t);return[i,(s[0]===0?lk:vU)[s[1]]]}function S6(t){return[t[t.l+1]>>7,t.read_shift(2)&32767]}function y6(t,e,r){t.l+=r&&r.biff==2?3:4}function x6(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 b6(t){return t.l++,sc[t.read_shift(1)]}function E6(t){return t.l++,t.read_shift(2)}function R6(t){return t.l++,t.read_shift(1)!==0}function T6(t){return t.l++,cn(t)}function _6(t,e,r){return t.l++,nf(t,e-1,r)}function A6(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]=vr(t,1)?"TRUE":"FALSE",e!=12&&(t.l+=7);break;case 37:case 16:r[1]=sc[t[t.l]],t.l+=e==12?4:8;break;case 0:t.l+=8;break;case 1:r[1]=cn(t);break;case 2:r[1]=oc(t,0,{biff:e>0&&e<8?2:e});break;default:throw new Error("Bad SerAr: "+r[0])}return r}function M6(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?ic:rp)(t));return i}function O6(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]=A6(t,r.biff);return o}function I6(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 P6(t,e,r){if(r.biff==5)return D6(t);var n=t.read_shift(1)>>>5&3,i=t.read_shift(2),s=t.read_shift(4);return[n,i,s]}function D6(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 k6(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 N6(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 H6(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 F6(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 L6=fn,$6=fn,B6=fn;function of(t,e,r){return t.l+=2,[Q8(t)]}function VS(t){return t.l+=6,[]}var W6=of,V6=VS,U6=VS,G6=of;function ok(t){return t.l+=2,[Tr(t),t.read_shift(2)&1]}var Y6=of,z6=ok,j6=VS,K6=of,X6=of,q6=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];function Z6(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=q6[r>>2&31];return{ixti:e,coltype:r&3,rt:o,idx:n,c:i,C:s}}function J6(t){return t.l+=2,[t.read_shift(4)]}function Q6(t,e,r){return t.l+=5,t.l+=2,t.l+=r.biff==2?1:4,["PTGSHEET"]}function eU(t,e,r){return t.l+=r.biff==2?4:5,["PTGENDSHEET"]}function tU(t){var e=t.read_shift(1)>>>5&3,r=t.read_shift(2);return[e,r]}function rU(t){var e=t.read_shift(1)>>>5&3,r=t.read_shift(2);return[e,r]}function nU(t){return t.l+=4,[0,0]}var SR={1:{n:"PtgExp",f:x6},2:{n:"PtgTbl",f:B6},3:{n:"PtgAdd",f:br},4:{n:"PtgSub",f:br},5:{n:"PtgMul",f:br},6:{n:"PtgDiv",f:br},7:{n:"PtgPower",f:br},8:{n:"PtgConcat",f:br},9:{n:"PtgLt",f:br},10:{n:"PtgLe",f:br},11:{n:"PtgEq",f:br},12:{n:"PtgGe",f:br},13:{n:"PtgGt",f:br},14:{n:"PtgNe",f:br},15:{n:"PtgIsect",f:br},16:{n:"PtgUnion",f:br},17:{n:"PtgRange",f:br},18:{n:"PtgUplus",f:br},19:{n:"PtgUminus",f:br},20:{n:"PtgPercent",f:br},21:{n:"PtgParen",f:br},22:{n:"PtgMissArg",f:br},23:{n:"PtgStr",f:_6},26:{n:"PtgSheet",f:Q6},27:{n:"PtgEndSheet",f:eU},28:{n:"PtgErr",f:b6},29:{n:"PtgBool",f:R6},30:{n:"PtgInt",f:E6},31:{n:"PtgNum",f:T6},32:{n:"PtgArray",f:a6},33:{n:"PtgFunc",f:v6},34:{n:"PtgFuncVar",f:C6},35:{n:"PtgName",f:I6},36:{n:"PtgRef",f:m6},37:{n:"PtgArea",f:r6},38:{n:"PtgMemArea",f:k6},39:{n:"PtgMemErr",f:L6},40:{n:"PtgMemNoMem",f:$6},41:{n:"PtgMemFunc",f:N6},42:{n:"PtgRefErr",f:H6},43:{n:"PtgAreaErr",f:i6},44:{n:"PtgRefN",f:p6},45:{n:"PtgAreaN",f:o6},46:{n:"PtgMemAreaN",f:tU},47:{n:"PtgMemNoMemN",f:rU},57:{n:"PtgNameX",f:P6},58:{n:"PtgRef3d",f:w6},59:{n:"PtgArea3d",f:n6},60:{n:"PtgRefErr3d",f:F6},61:{n:"PtgAreaErr3d",f:s6},255:{}},iU={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},sU={1:{n:"PtgElfLel",f:ok},2:{n:"PtgElfRw",f:K6},3:{n:"PtgElfCol",f:W6},6:{n:"PtgElfRwV",f:X6},7:{n:"PtgElfColV",f:G6},10:{n:"PtgElfRadical",f:Y6},11:{n:"PtgElfRadicalS",f:j6},13:{n:"PtgElfColS",f:V6},15:{n:"PtgElfColSV",f:U6},16:{n:"PtgElfRadicalLel",f:z6},25:{n:"PtgList",f:Z6},29:{n:"PtgSxName",f:J6},255:{}},oU={0:{n:"PtgAttrNoop",f:nU},1:{n:"PtgAttrSemi",f:d6},2:{n:"PtgAttrIf",f:u6},4:{n:"PtgAttrChoose",f:l6},8:{n:"PtgAttrGoto",f:c6},16:{n:"PtgAttrSum",f:y6},32:{n:"PtgAttrBaxcel",f:CR},33:{n:"PtgAttrBaxcel",f:CR},64:{n:"PtgAttrSpace",f:f6},65:{n:"PtgAttrSpaceSemi",f:g6},128:{n:"PtgAttrIfError",f:h6},255:{}};function af(t,e,r,n){if(n.biff<8)return fn(t,e);for(var i=t.l+e,s=[],o=0;o!==r.length;++o)switch(r[o][0]){case"PtgArray":r[o][1]=O6(t,0,n),s.push(r[o][1]);break;case"PtgMemArea":r[o][2]=M6(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(fn(t,e)),s}function lf(t,e,r){for(var n=t.l+e,i,s,o=[];n!=t.l;)e=n-t.l,s=t[t.l],i=SR[s]||SR[iU[s]],(s===24||s===25)&&(i=(s===24?sU:oU)[t[t.l+1]]),!i||!i.f?fn(t,e):o.push([i.n,i.f(t,e,r)]);return o}function aU(t){for(var e=[],r=0;r=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function cU(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 ak(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 yR(t,e,r){var n=ak(t,e,r);return n=="#REF"?n:cU(n,r)}function on(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,w="",C=0,S=t[0].length;C=0){switch(t[0][m][1][0]){case 0:w=gr(" ",t[0][m][1][1]);break;case 1:w=gr("\r",t[0][m][1][1]);break;default:if(w="",i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+t[0][m][1][0])}c=c+w,m=-1}a.push(c+lU[v[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=id(v[1][1],o,i),a.push(sd(u,s));break;case"PtgRefN":u=r?id(v[1][1],r,i):v[1][1],a.push(sd(u,s));break;case"PtgRef3d":h=v[1][1],u=id(v[1][2],o,i),g=yR(n,h,i),a.push(g+"!"+sd(u,s));break;case"PtgFunc":case"PtgFuncVar":var T=v[1][0],A=v[1][1];T||(T=0),T&=127;var M=T==0?[]:a.slice(-T);a.length-=T,A==="User"&&(A=M.shift()),a.push(A+"("+M.join(",")+")");break;case"PtgBool":a.push(v[1]?"TRUE":"FALSE");break;case"PtgInt":a.push(v[1]);break;case"PtgNum":a.push(String(v[1]));break;case"PtgStr":a.push('"'+v[1].replace(/"/g,'""')+'"');break;case"PtgErr":a.push(v[1]);break;case"PtgAreaN":f=tR(v[1][1],r?{s:r}:o,i),a.push(aw(f,i));break;case"PtgArea":f=tR(v[1][1],o,i),a.push(aw(f,i));break;case"PtgArea3d":h=v[1][1],f=v[1][2],g=yR(n,h,i),a.push(g+"!"+aw(f,i));break;case"PtgAttrSum":a.push("SUM("+a.pop()+")");break;case"PtgAttrBaxcel":case"PtgAttrSemi":break;case"PtgName":d=v[1][2];var E=(n.names||[])[d-1]||(n[0]||[])[d],Y=E?E.Name:"SH33TJSNAME"+String(d);Y&&Y.slice(0,6)=="_xlfn."&&!i.xlfn&&(Y=Y.slice(6)),a.push(Y);break;case"PtgNameX":var D=v[1][1];d=v[1][2];var U;if(i.biff<=5)D<0&&(D=-D),n[D]&&(U=n[D][d]);else{var X="";if(((n[D]||[])[0]||[])[0]==14849||(((n[D]||[])[0]||[])[0]==1025?n[D][d]&&n[D][d].itab>0&&(X=n.SheetNames[n[D][d].itab-1]+"!"):X=n.SheetNames[d-1]+"!"),n[D]&&n[D][d])X+=n[D][d].Name;else if(n[0]&&n[0][d])X+=n[0][d].Name;else{var G=(ak(n,D,i)||"").split(";;");G[d-1]?X=G[d-1]:X+="SH33TJSERRX"}a.push(X);break}U||(U={Name:"SH33TJSERRY"}),a.push(U.Name);break;case"PtgParen":var ae="(",ve=")";if(m>=0){switch(w="",t[0][m][1][0]){case 2:ae=gr(" ",t[0][m][1][1])+ae;break;case 3:ae=gr("\r",t[0][m][1][1])+ae;break;case 4:ve=gr(" ",t[0][m][1][1])+ve;break;case 5:ve=gr("\r",t[0][m][1][1])+ve;break;default:if(i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+t[0][m][1][0])}m=-1}a.push(ae+a.pop()+ve);break;case"PtgRefErr":a.push("#REF!");break;case"PtgRefErr3d":a.push("#REF!");break;case"PtgExp":u={c:v[1][1],r:v[1][0]};var me={c:r.c,r:r.r};if(n.sharedf[nt(u)]){var Re=n.sharedf[nt(u)];a.push(on(Re,o,me,n,i))}else{var Ce=!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(on(c[1],o,me,n,i)),Ce=!0;break}Ce||a.push(v[1])}break;case"PtgArray":a.push("{"+aU(v[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":m=C;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"+v[1].idx+"[#"+v[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(v));default:throw new Error("Unrecognized Formula Token: "+String(v))}var _e=["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"];if(i.biff!=3&&m>=0&&_e.indexOf(t[0][C][0])==-1){v=t[0][m];var p=!0;switch(v[1][0]){case 4:p=!1;case 0:w=gr(" ",v[1][1]);break;case 5:p=!1;case 1:w=gr("\r",v[1][1]);break;default:if(w="",i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+v[1][0])}a.push((p?w:"")+a.pop()+(p?"":w)),m=-1}}if(a.length>1&&i.WTF)throw new Error("bad formula stack");return a[0]}function uU(t,e,r){var n=t.l+e,i=r.biff==2?1:2,s,o=t.read_shift(i);if(o==65535)return[[],fn(t,e-2)];var a=lf(t,o,r);return e!==o+i&&(s=af(t,e-o-i,a,r)),t.l=n,[a,s]}function hU(t,e,r){var n=t.l+e,i=r.biff==2?1:2,s,o=t.read_shift(i);if(o==65535)return[[],fn(t,e-2)];var a=lf(t,o,r);return e!==o+i&&(s=af(t,e-o-i,a,r)),t.l=n,[a,s]}function dU(t,e,r,n){var i=t.l+e,s=lf(t,n,r),o;return i!==t.l&&(o=af(t,i-t.l,s,r)),[s,o]}function fU(t,e,r){var n=t.l+e,i,s=t.read_shift(2),o=lf(t,s,r);return s==65535?[[],fn(t,e-2)]:(e!==s+2&&(i=af(t,n-s-2,o,r)),[o,i])}function gU(t){var e;if(To(t,t.l+6)!==65535)return[cn(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 uw(t,e,r){var n=t.l+e,i=Qs(t);r.biff==2&&++t.l;var s=gU(t),o=t.read_shift(1);r.biff!=2&&(t.read_shift(1),r.biff>=5&&t.read_shift(4));var a=hU(t,n-t.l,r);return{cell:i,val:s[0],formula:a,shared:o>>3&1,tt:s[1]}}function np(t,e,r){var n=t.read_shift(4),i=lf(t,n,r),s=t.read_shift(4),o=s>0?af(t,s,i,r):null;return[i,o]}var mU=np,ip=np,pU=np,wU=np,vU={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"},lk={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"},CU={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 xR(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 hw(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 cd={},Su={};function ud(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 ck(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=Vr(t.v)),(!n||n.cellText!==!1)&&t.t!=="z")try{if(ot[e]==null&&$l(yB[e]||"General",e),t.t==="e")t.w=t.w||sc[t.v];else if(e===0)if(t.t==="n")(t.v|0)===t.v?t.w=t.v.toString(10):t.w=Pd(t.v);else if(t.t==="d"){var o=kn(t.v);(o|0)===o?t.w=o.toString(10):t.w=Pd(o)}else{if(t.v===void 0)return"";t.w=Ul(t.v,Su)}else t.t==="d"?t.w=Di(e,kn(t.v),Su):t.w=Di(e,t.v,Su)}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=rm(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=rm(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 SU(t,e){var r=mr(e);r.s.r<=r.e.r&&r.s.c<=r.e.c&&r.s.r>=0&&r.s.c>=0&&(t["!ref"]=bt(r))}var yU=/<(?:\w:)?mergeCell ref="[A-Z0-9:]+"\s*[\/]?>/g,xU=/<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/,bU=/<(?:\w:)?hyperlink [^>]*>/mg,EU=/"(\w*:\w*)"/,RU=/<(?:\w:)?col\b[^>]*[\/]?>/g,TU=/<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g,_U=/<(?:\w:)?pageMargins[^>]*\/>/g,uk=/<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/,AU=/<(?:\w:)?sheetPr[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetPr)>/,MU=/<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/;function OU(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(xU);h?(c=t.slice(0,h.index),u=t.slice(h.index+h[0].length)):c=u=t;var d=c.match(uk);d?US(d[0],a,i,r):(d=c.match(AU))&&IU(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(EU);g&&SU(a,g[1])}var m=c.match(MU);m&&m[1]&&FU(m[1],i);var w=[];if(e.cellStyles){var C=c.match(RU);C&&kU(w,C)}h&&LU(h[1],a,e,l,s,o);var S=u.match(TU);S&&(a["!autofilter"]=NU(S[0]));var v=[],T=u.match(yU);if(T)for(f=0;f!=T.length;++f)v[f]=mr(T[f].slice(T[f].indexOf('"')+1));var A=u.match(bU);A&&PU(a,A,n);var M=u.match(_U);if(M&&(a["!margins"]=DU(Ze(M[0]))),!a["!ref"]&&l.e.c>=l.s.c&&l.e.r>=l.s.r&&(a["!ref"]=bt(l)),e.sheetRows>0&&a["!ref"]){var E=mr(a["!ref"]);e.sheetRows<=+E.e.r&&(E.e.r=e.sheetRows-1,E.e.r>l.e.r&&(E.e.r=l.e.r),E.e.rl.e.c&&(E.e.c=l.e.c),E.e.c0&&(a["!cols"]=w),v.length>0&&(a["!merges"]=v),a}function US(t,e,r,n){var i=Ze(t);r.Sheets[n]||(r.Sheets[n]={}),i.codeName&&(r.Sheets[n].CodeName=_t(Yt(i.codeName)))}function IU(t,e,r,n,i){US(t.slice(0,t.indexOf(">")),r,n,i)}function PU(t,e,r){for(var n=Array.isArray(t),i=0;i!=e.length;++i){var s=Ze(Yt(e[i]),!0);if(!s.ref)return;var o=((r||{})["!id"]||[])[s.id];o?(s.Target=o.Target,s.location&&(s.Target+="#"+_t(s.location))):(s.Target="#"+_t(s.location),o={Target:s.Target,TargetMode:"Internal"}),s.Rel=o,s.tooltip&&(s.Tooltip=s.tooltip,delete s.tooltip);for(var a=mr(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 DU(t){var e={};return["left","right","top","bottom","header","footer"].forEach(function(r){t[r]&&(e[r]=parseFloat(t[r]))}),e}function kU(t,e){for(var r=!1,n=0;n!=e.length;++n){var i=Ze(e[n],!0);i.hidden&&(i.hidden=er(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,WS(i.width)),Ou(i);s<=o;)t[s++]=Xr(i)}}function NU(t){var e={ref:(t.match(/ref="([^"]*)"/)||[])[1]};return e}var HU=/<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/?>/;function FU(t,e){e.Views||(e.Views=[{}]),(t.match(HU)||[]).forEach(function(r,n){var i=Ze(r);e.Views[n]||(e.Views[n]={}),+i.zoomScale&&(e.Views[n].zoom=+i.zoomScale),er(i.rightToLeft)&&(e.Views[n].RTL=!0)})}var LU=function(){var t=/<(?:\w+:)?c[ \/>]/,e=/<\/(?:\w+:)?row>/,r=/r=["']([^"']*)["']/,n=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/,i=/ref=["']([^"']*)["']/,s=Dd("v"),o=Dd("f");return function(l,c,u,h,d,f){for(var g=0,m="",w=[],C=[],S=0,v=0,T=0,A="",M,E,Y=0,D=0,U,X,G=0,ae=0,ve=Array.isArray(f.CellXf),me,Re=[],Ce=[],_e=Array.isArray(c),p=[],y={},b=!1,x=!!u.sheetStubs,O=l.split(e),_=0,N=O.length;_!=N;++_){m=O[_].trim();var K=m.length;if(K===0)continue;var le=0;e:for(g=0;g":if(m[g-1]!="/"){++g;break e}if(u&&u.cellStyles){if(E=Ze(m.slice(le,g),!0),Y=E.r!=null?parseInt(E.r,10):Y+1,D=-1,u.sheetRows&&u.sheetRows=g)break;if(E=Ze(m.slice(le,g),!0),Y=E.r!=null?parseInt(E.r,10):Y+1,D=-1,!(u.sheetRows&&u.sheetRowsY-1&&(h.s.r=Y-1),h.e.r":"")+m,C!=null&&C.length===2){for(S=0,A=C[1],v=0;v!=A.length&&!((T=A.charCodeAt(v)-64)<1||T>26);++v)S=26*S+T;--S,D=S}else++D;for(v=0;v!=m.length&&m.charCodeAt(v)!==62;++v);if(++v,E=Ze(m.slice(0,v),!0),E.r||(E.r=nt({r:Y-1,c:D})),A=m.slice(v),M={t:""},(C=A.match(s))!=null&&C[1]!==""&&(M.v=_t(C[1])),u.cellFormula){if((C=A.match(o))!=null&&C[1]!==""){if(M.f=_t(Yt(C[1])).replace(/\r\n/g,` `),u.xlfn||(M.f=vR(M.f)),C[0].indexOf('t="array"')>-1)M.F=(A.match(i)||[])[1],M.F.indexOf(":")>-1&&Re.push([mr(M.F),M.F]);else if(C[0].indexOf('t="shared"')>-1){X=Ze(C[0]);var te=_t(Yt(C[1]));u.xlfn||(te=vR(te)),Ce[parseInt(X.si,10)]=[X,te,E.r]}}else(C=A.match(/]*\/>/))&&(X=Ze(C[0]),Ce[X.si]&&(M.f=X8(Ce[X.si][1],Ce[X.si][2],E.r)));var ge=Pn(E.r);for(v=0;v=Re[v][0].s.r&&ge.r<=Re[v][0].e.r&&ge.c>=Re[v][0].s.c&&ge.c<=Re[v][0].e.c&&(M.F=Re[v][1])}if(E.t==null&&M.v===void 0)if(M.f||M.F)M.v=0,M.t="n";else if(x)M.t="z";else continue;else M.t=E.t||"n";switch(h.s.c>D&&(h.s.c=D),h.e.c0&&(c["!rows"]=p)}}();function $U(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 BU=ic;function WU(){}function VU(t,e){var r={},n=t[t.l];return++t.l,r.above=!(n&64),r.left=!(n&128),t.l+=18,r.name=u3(t),r}function UU(t){var e=Hi(t);return[e]}function GU(t){var e=nc(t);return[e]}function YU(t){var e=Hi(t),r=t.read_shift(1);return[e,r,"b"]}function zU(t){var e=nc(t),r=t.read_shift(1);return[e,r,"b"]}function jU(t){var e=Hi(t),r=t.read_shift(1);return[e,r,"e"]}function KU(t){var e=nc(t),r=t.read_shift(1);return[e,r,"e"]}function XU(t){var e=Hi(t),r=t.read_shift(4);return[e,r,"s"]}function qU(t){var e=nc(t),r=t.read_shift(4);return[e,r,"s"]}function ZU(t){var e=Hi(t),r=cn(t);return[e,r,"n"]}function hk(t){var e=nc(t),r=cn(t);return[e,r,"n"]}function JU(t){var e=Hi(t),r=FS(t);return[e,r,"n"]}function QU(t){var e=nc(t),r=FS(t);return[e,r,"n"]}function e5(t){var e=Hi(t),r=NS(t);return[e,r,"is"]}function t5(t){var e=Hi(t),r=hn(t);return[e,r,"str"]}function r5(t){var e=nc(t),r=hn(t);return[e,r,"str"]}function n5(t,e,r){var n=t.l+e,i=Hi(t);i.r=r["!row"];var s=t.read_shift(1),o=[i,s,"b"];if(r.cellFormula){t.l+=2;var a=ip(t,n-t.l,r);o[3]=on(a,null,i,r.supbooks,r)}else t.l=n;return o}function i5(t,e,r){var n=t.l+e,i=Hi(t);i.r=r["!row"];var s=t.read_shift(1),o=[i,s,"e"];if(r.cellFormula){t.l+=2;var a=ip(t,n-t.l,r);o[3]=on(a,null,i,r.supbooks,r)}else t.l=n;return o}function s5(t,e,r){var n=t.l+e,i=Hi(t);i.r=r["!row"];var s=cn(t),o=[i,s,"n"];if(r.cellFormula){t.l+=2;var a=ip(t,n-t.l,r);o[3]=on(a,null,i,r.supbooks,r)}else t.l=n;return o}function o5(t,e,r){var n=t.l+e,i=Hi(t);i.r=r["!row"];var s=hn(t),o=[i,s,"str"];if(r.cellFormula){t.l+=2;var a=ip(t,n-t.l,r);o[3]=on(a,null,i,r.supbooks,r)}else t.l=n;return o}var a5=ic;function l5(t,e){var r=t.l+e,n=ic(t),i=HS(t),s=hn(t),o=hn(t),a=hn(t);t.l=r;var l={rfx:n,relId:i,loc:s,display:a};return o&&(l.Tooltip=o),l}function c5(){}function u5(t,e,r){var n=t.l+e,i=AD(t),s=t.read_shift(1),o=[i];if(o[2]=s,r.cellFormula){var a=mU(t,n-t.l,r);o[1]=a}else t.l=n;return o}function h5(t,e,r){var n=t.l+e,i=ic(t),s=[i];if(r.cellFormula){var o=wU(t,n-t.l,r);s[1]=o,t.l=n}else t.l=n;return s}var d5=["left","right","top","bottom","header","footer"];function f5(t){var e={};return d5.forEach(function(r){e[r]=cn(t)}),e}function g5(t){var e=t.read_shift(2);return t.l+=28,{RTL:e&32}}function m5(){}function p5(){}function w5(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,w,C,S,v,T,A,M=[];a.biff=12,a["!row"]=0;var E=0,Y=!1,D=[],U={},X=a.supbooks||i.supbooks||[[]];if(X.sharedf=U,X.arrayf=D,X.SheetNames=i.SheetNames||i.Sheets.map(function(_e){return _e.name}),!a.supbooks&&(a.supbooks=X,i.Names))for(var G=0;G=x[0].s.r&&f.r<=x[0].e.r&&C>=x[0].s.c&&C<=x[0].e.c&&(g.F=bt(x[0]),Y=!0)}!Y&&p.length>3&&(g.f=p[3])}if(u.s.r>f.r&&(u.s.r=f.r),u.s.c>C&&(u.s.c=C),u.e.rf.r&&(u.s.r=f.r),u.s.c>C&&(u.s.c=C),u.e.r=p.s;)ae[p.e--]={width:p.w/256,hidden:!!(p.flags&1),level:p.level},me||(me=!0,WS(p.w/256)),Ou(ae[p.e+1]);break;case 161:l["!autofilter"]={ref:bt(p)};break;case 476:l["!margins"]=p;break;case 147:i.Sheets[r]||(i.Sheets[r]={}),p.name&&(i.Sheets[r].CodeName=p.name),(p.above||p.left)&&(l["!outline"]={above:p.above,left:p.left});break;case 137:i.Views||(i.Views=[{}]),i.Views[0]||(i.Views[0]={}),p.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(!y.T){if(!h||a.WTF)throw new Error("Unexpected record 0x"+b.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"]=bt(c||u)),a.sheetRows&&l["!ref"]){var Ce=mr(l["!ref"]);a.sheetRows<=+Ce.e.r&&(Ce.e.r=a.sheetRows-1,Ce.e.r>u.e.r&&(Ce.e.r=u.e.r),Ce.e.ru.e.c&&(Ce.e.c=u.e.c),Ce.e.c0&&(l["!merges"]=M),ae.length>0&&(l["!cols"]=ae),ve.length>0&&(l["!rows"]=ve),l}function v5(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=_t((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 C5(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=v5(h);u.s.r=u.s.c=0,u.e.c=a,c=Ir(a),d[0].forEach(function(f,g){o[c+qr(g)]={t:"n",v:f,z:d[1]},l=g}),u.e.r0&&(o["!ref"]=bt(u)),o}function S5(t,e,r,n,i){if(!t)return t;n||(n={"!id":{}});var s={"!type":"chart","!drawel":null,"!rel":""},o,a=t.match(uk);return a&&US(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 y5(t,e){t.l+=10;var r=hn(t);return{name:r}}function x5(t,e,r,n,i){if(!t)return t;n||(n={"!id":{}});var s={"!type":"chart","!drawel":null,"!rel":""},o=!1;return Wo(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 dk=[["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"]],b5=[["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"]],E5=[],R5=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function bR(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]]=er(n[s[0]]));break;case"int":typeof n[s[0]]=="string"&&(n[s[0]]=parseInt(n[s[0]],10));break}}}function ER(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]]=er(t[n[0]]));break;case"int":typeof t[n[0]]=="string"&&(t[n[0]]=parseInt(t[n[0]],10));break}}}function fk(t){ER(t.WBProps,dk),ER(t.CalcPr,R5),bR(t.WBView,b5),bR(t.Sheets,E5),Su.date1904=er(t.WBProps.date1904)}var T5="][*?/\\".split("");function _5(t,e){if(t.length>31){if(e)return!1;throw new Error("Sheet names cannot exceed 31 chars")}var r=!0;return T5.forEach(function(n){if(t.indexOf(n)!=-1){if(!e)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");r=!1}}),r}var A5=/<\w+:workbook/;function M5(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(gn,function(l,c){var u=Ze(l);switch(Js(u[0])){case"":break;case"":case"":break;case"":break;case"":dk.forEach(function(h){if(u[h[0]]!=null)switch(h[2]){case"bool":r.WBProps[h[0]]=er(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=Yt(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=_t(Yt(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?hn(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 P5(t,e){var r={};return t.read_shift(4),r.ArchID=t.read_shift(4),t.l+=e-8,r}function D5(t,e,r){var n=t.l+e;t.l+=4,t.l+=1;var i=t.read_shift(4),s=h3(t),o=pU(t,0,r),a=HS(t);t.l=n;var l={Name:s,Ptg:o};return i<268435455&&(l.Sheet=i),a&&(l.Comment=a),l}function k5(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=[],sm[16]={n:"BrtFRTArchID$",f:P5},Wo(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=on(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),fk(r),r.Names=s,r.supbooks=o,r}function N5(t,e,r){return e.slice(-4)===".bin"?k5(t,r):M5(t,r)}function H5(t,e,r,n,i,s,o,a){return e.slice(-4)===".bin"?w5(t,n,r,i,s,o,a):OU(t,n,r,i,s,o,a)}function F5(t,e,r,n,i,s,o,a){return e.slice(-4)===".bin"?x5(t,n,r,i,s):S5(t,n,r,i,s)}function L5(t,e,r,n,i,s,o,a){return e.slice(-4)===".bin"?z8():j8()}function $5(t,e,r,n,i,s,o,a){return e.slice(-4)===".bin"?G8():Y8()}function B5(t,e,r,n){return e.slice(-4)===".bin"?a8(t,r,n):t8(t,r,n)}function W5(t,e,r){return QD(t,r)}function V5(t,e,r){return e.slice(-4)===".bin"?bV(t,r):yV(t,r)}function U5(t,e,r){return e.slice(-4)===".bin"?W8(t,r):H8(t,r)}function G5(t,e,r){return e.slice(-4)===".bin"?D8(t):I8(t)}function Y5(t,e,r,n){return r.slice(-4)===".bin"?k8(t,e,r,n):void 0}function z5(t,e,r){return e.slice(-4)===".bin"?M8(t,e,r):O8(t,e,r)}var gk=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g,mk=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;function Wi(t,e){var r=t.split(/\s+/),n=[];if(e||(n[0]=r[0]),r.length===1)return n;var i=t.match(gk),s,o,a,l;if(i)for(l=0;l!=i.length;++l)s=i[l].match(mk),(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 j5(t){var e=t.split(/\s+/),r={};if(e.length===1)return r;var n=t.match(gk),i,s,o,a;if(n)for(a=0;a!=n.length;++a)i=n[a].match(mk),(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 hd;function K5(t,e){var r=hd[t]||_t(t);return r==="General"?Ul(e):Di(r,e)}function X5(t,e,r,n){var i=n;switch((r[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":i=er(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=Vr(n);break;case"i8":case"string":case"fixed":case"uuid":case"bin.base64":break;default:throw new Error("bad custprop:"+r[0])}t[_t(e)]=i}function q5(t,e,r){if(t.t!=="z"){if(!r||r.cellText!==!1)try{t.t==="e"?t.w=t.w||sc[t.v]:e==="General"?t.t==="n"?(t.v|0)===t.v?t.w=t.v.toString(10):t.w=Pd(t.v):t.w=Ul(t.v):t.w=K5(e||"General",t.v)}catch(s){if(r.WTF)throw s}try{var n=hd[e]||e||"General";if(r.cellNF&&(t.z=n),r.cellDates&&t.t=="n"&&Nu(n)){var i=Pl(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 Z5(t,e,r){if(r.cellStyles&&e.Interior){var n=e.Interior;n.Pattern&&(n.patternType=XV[n.Pattern]||n.Pattern)}t[e.ID]=e}function J5(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=er(t);break;case"String":n.t="s",n.r=zE(_t(t)),n.v=t.indexOf("<")>-1?_t(e||t).replace(/<.*?>/g,""):n.r;break;case"DateTime":t.slice(-1)!="Z"&&(t+="Z"),n.v=(Vr(t)-new Date(Date.UTC(1899,11,30)))/(24*60*60*1e3),n.v!==n.v?n.v=_t(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=ID[t],c.cellText!==!1&&(n.w=t);break;default:t==""&&e==""?n.t="z":(n.t="s",n.v=zE(e||t));break}if(q5(n,u,c),c.cellFormula!==!1)if(n.Formula){var m=_t(n.Formula);m.charCodeAt(0)==61&&(m=m.slice(1)),n.f=Cu(m,i),delete n.Formula,n.ArrayRange=="RC"?n.F=Cu("RC:RC",i):n.ArrayRange&&(n.F=Cu(n.ArrayRange,i),l.push([mr(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(w){!d.patternType&&w.patternType&&(d.patternType=w.patternType)}),n.s=d),n.StyleID!==void 0&&(n.ixfe=n.StyleID)}function Q5(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 dw(t,e){var r=e||{};rD();var n=Kh(IS(t));(r.type=="binary"||r.type=="array"||r.type=="base64")&&(n=Yt(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=Xr(r);return o.type="string",Nd.to_workbook(n,o)}if(i.indexOf("=0&&(s=!0)}),s)return l9(n,r);hd={"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={},w=Wi(''),C=0,S=0,v=0,T={s:{r:2e6,c:2e6},e:{r:0,c:0}},A={},M={},E="",Y=0,D=[],U={},X={},G=0,ae=[],ve=[],me={},Re=[],Ce,_e=!1,p=[],y=[],b={},x=0,O=0,_={Sheets:[],WBProps:{date1904:!1}},N={};kd.lastIndex=0,n=n.replace(//mg,"");for(var K="";a=kd.exec(n);)switch(a[3]=(K=a[3]).toLowerCase()){case"data":if(K=="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]==="/"?J5(n.slice(C,a.index),E,w,l[l.length-1][0]=="comment"?me:g,{c:S,r:v},A,Re[S],m,p,r):(E="",w=Wi(a[0]),C=a.index+a[0].length);break;case"cell":if(a[1]==="/")if(ve.length>0&&(g.c=ve),(!r.sheetRows||r.sheetRows>v)&&g.v!==void 0&&(r.dense?(d[v]||(d[v]=[]),d[v][S]=g):d[Ir(S)+qr(v)]=g),g.HRef&&(g.l={Target:_t(g.HRef)},g.HRefScreenTip&&(g.l.Tooltip=g.HRefScreenTip),delete g.HRef,delete g.HRefScreenTip),(g.MergeAcross||g.MergeDown)&&(x=S+(parseInt(g.MergeAcross,10)|0),O=v+(parseInt(g.MergeDown,10)|0),D.push({s:{c:S,r:v},e:{c:x,r:O}})),!r.sheetStubs)g.MergeAcross?S=x+1:++S;else if(g.MergeAcross||g.MergeDown){for(var le=S;le<=x;++le)for(var ce=v;ce<=O;++ce)(le>S||ce>v)&&(r.dense?(d[ce]||(d[ce]=[]),d[ce][le]={t:"z"}):d[Ir(le)+qr(ce)]={t:"z"});S=x+1}else++S;else g=j5(a[0]),g.Index&&(S=+g.Index-1),ST.e.c&&(T.e.c=S),a[0].slice(-2)==="/>"&&++S,ve=[];break;case"row":a[1]==="/"||a[0].slice(-2)==="/>"?(vT.e.r&&(T.e.r=v),a[0].slice(-2)==="/>"&&(m=Wi(a[0]),m.Index&&(v=+m.Index-1)),S=0,++v):(m=Wi(a[0]),m.Index&&(v=+m.Index-1),b={},(m.AutoFitHeight=="0"||m.Height)&&(b.hpx=parseInt(m.Height,10),b.hpt=JD(b.hpx),y[v]=b),m.Hidden=="1"&&(b.hidden=!0,y[v]=b));break;case"worksheet":if(a[1]==="/"){if((c=l.pop())[0]!==a[3])throw new Error("Bad state: "+c.join("|"));h.push(f),T.s.r<=T.e.r&&T.s.c<=T.e.c&&(d["!ref"]=bt(T),r.sheetRows&&r.sheetRows<=T.e.r&&(d["!fullref"]=d["!ref"],T.e.r=r.sheetRows-1,d["!ref"]=bt(T))),D.length&&(d["!merges"]=D),Re.length>0&&(d["!cols"]=Re),y.length>0&&(d["!rows"]=y),u[f]=d}else T={s:{r:2e6,c:2e6},e:{r:0,c:0}},v=S=0,l.push([a[3],!1]),c=Wi(a[0]),f=_t(c.Name),d=r.dense?[]:{},D=[],p=[],y=[],N={name:f,Hidden:0},_.Sheets.push(N);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]),Re=[],_e=!1}break;case"style":a[1]==="/"?Z5(A,M,r):M=Wi(a[0]);break;case"numberformat":M.nf=_t(Wi(a[0]).Format||"General"),hd[M.nf]&&(M.nf=hd[M.nf]);for(var te=0;te!=392&&ot[te]!=M.nf;++te);if(te==392){for(te=57;te!=392;++te)if(ot[te]==null){$l(M.nf,te);break}}break;case"column":if(l[l.length-1][0]!=="table")break;if(Ce=Wi(a[0]),Ce.Hidden&&(Ce.hidden=!0,delete Ce.Hidden),Ce.Width&&(Ce.wpx=parseInt(Ce.Width,10)),!_e&&Ce.wpx>10){_e=!0,In=qD;for(var ge=0;ge0&&(Fe.Sheet=_.Sheets.length-1),_.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]==="/"?E+=n.slice(Y,a.index):Y=a.index+a[0].length;break;case"interior":if(!r.cellStyles)break;M.Interior=Wi(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]==="/"?H3(U,K,n.slice(G,a.index)):G=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("|"));Q5(me),ve.push(me)}else l.push([a[3],!1]),c=Wi(a[0]),me={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 ue=Wi(a[0]);d["!autofilter"]={ref:Cu(ue.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 OR(n,r);var ze=!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:ze=!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:ze=!1}break;case"excelworkbook":switch(a[3]){case"date1904":_.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:ze=!1}break;case"workbookoptions":switch(a[3]){case"owcversion":break;case"height":break;case"width":break;default:ze=!1}break;case"worksheetoptions":switch(a[3]){case"visible":if(a[0].slice(-2)!=="/>")if(a[1]==="/")switch(n.slice(G,a.index)){case"SheetHidden":N.Hidden=1;break;case"SheetVeryHidden":N.Hidden=2;break}else G=a.index+a[0].length;break;case"header":d["!margins"]||ud(d["!margins"]={},"xlml"),isNaN(+Ze(a[0]).Margin)||(d["!margins"].header=+Ze(a[0]).Margin);break;case"footer":d["!margins"]||ud(d["!margins"]={},"xlml"),isNaN(+Ze(a[0]).Margin)||(d["!margins"].footer=+Ze(a[0]).Margin);break;case"pagemargins":var Ie=Ze(a[0]);d["!margins"]||ud(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":_.Views||(_.Views=[]),_.Views[0]||(_.Views[0]={}),_.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:ze=!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:ze=!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:ze=!1}break;case"autofilter":switch(a[3]){case"autofiltercolumn":break;case"autofiltercondition":break;case"autofilterand":break;case"autofilteror":break;default:ze=!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:ze=!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:ze=!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:ze=!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:ze=!1}break;case"smarttags":break;default:ze=!1;break}if(ze||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]==="/"?X5(X,K,ae,n.slice(G,a.index)):(ae=a,G=a.index+a[0].length);break}if(r.WTF)throw"Unrecognized tag: "+a[3]+"|"+l.join("|")}var we={};return!r.bookSheets&&!r.bookProps&&(we.Sheets=u),we.SheetNames=h,we.Workbook=_,we.SSF=Xr(ot),we.Props=U,we.Custprops=X,we}function r1(t,e){switch(zS(e=e||{}),e.type||"base64"){case"base64":return dw(gi(t),e);case"binary":case"buffer":case"file":return dw(t,e);case"array":return dw(rc(t),e)}}function e9(t){var e={},r=t.content;if(r.l=28,e.AnsiUserType=r.read_shift(0,"lpstr-ansi"),e.AnsiClipboardFormat=g3(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=m3(r),n=r.read_shift(4),n==0||n>40))return e;r.l-=4,e.Reserved2=r.read_shift(0,"lpwstr")}var t9=[60,1084,2066,2165,2175];function r9(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=To(r,r.l),c=n1[l],u=0;c!=null&&t9.indexOf(l)>-1;)s=To(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=n1[l=To(r,r.l)];var h=ma(o);Kr(h,0);var d=0;h.lens=[];for(var f=0;f1)&&!(Oe.sheetRows&&J.r>=Oe.sheetRows)){if(Oe.cellStyles&&Se.XF&&Se.XF.data&&U(J,Se,Oe),delete Se.ixfe,delete Se.XF,h=J,d=nt(J),(!o||!o.s||!o.e)&&(o={s:{r:0,c:0},e:{r:0,c:0}}),J.ro.e.r&&(o.e.r=J.r+1),J.c+1>o.e.c&&(o.e.c=J.c+1),Oe.cellFormula&&Se.f){for(var Pe=0;PeJ.c||S[Pe][0].s.r>J.r)&&!(S[Pe][0].e.c>8)!==ce)throw new Error("rt mismatch: "+Me+"!="+ce);ge.r==12&&(t.l+=10,te-=10)}var L={};if(ce===10?L=ge.f(t,te,G):L=r9(ce,ge,t,te,G),b==0&&[9,521,1033,2057].indexOf(y)===-1)continue;switch(ce){case 34:r.opts.Date1904=E.WBProps.date1904=L;break;case 134:r.opts.WriteProtect=!0;break;case 47:if(G.enc||(t.l=0),G.enc=L,!e.password)throw new Error("File is password-protected");if(L.valid==null)throw new Error("Encryption scheme unsupported");if(!L.valid)throw new Error("Password is incorrect");break;case 92:G.lastuser=L;break;case 66:var Fe=Number(L);switch(Fe){case 21010:Fe=1200;break;case 32768:Fe=1e4;break;case 32769:Fe=1252;break}as(G.codepage=Fe),K=!0;break;case 317:G.rrtabid=L;break;case 25:G.winlocked=L;break;case 439:r.opts.RefreshAll=L;break;case 12:r.opts.CalcCount=L;break;case 16:r.opts.CalcDelta=L;break;case 17:r.opts.CalcIter=L;break;case 13:r.opts.CalcMode=L;break;case 14:r.opts.CalcPrecision=L;break;case 95:r.opts.CalcSaveRecalc=L;break;case 15:G.CalcRefMode=L;break;case 2211:r.opts.FullCalc=L;break;case 129:L.fDialog&&(i["!type"]="dialog"),L.fBelow||((i["!outline"]||(i["!outline"]={})).above=!0),L.fRight||((i["!outline"]||(i["!outline"]={})).left=!0);break;case 224:A.push(L);break;case 430:p.push([L]),p[p.length-1].XTI=[];break;case 35:case 547:p[p.length-1].push(L);break;case 24:case 536:N={Name:L.Name,Ref:on(L.rgce,o,null,p,G)},L.itab>0&&(N.Sheet=L.itab-1),p.names.push(N),p[0]||(p[0]=[],p[0].XTI=[]),p[p.length-1].push(L),L.Name=="_xlnm._FilterDatabase"&&L.itab>0&&L.rgce&&L.rgce[0]&&L.rgce[0][0]&&L.rgce[0][0][0]=="PtgArea3d"&&(_[L.itab-1]={ref:bt(L.rgce[0][0][1][2])});break;case 22:G.ExternCount=L;break;case 23:p.length==0&&(p[0]=[],p[0].XTI=[]),p[p.length-1].XTI=p[p.length-1].XTI.concat(L),p.XTI=p.XTI.concat(L);break;case 2196:if(G.biff<8)break;N!=null&&(N.Comment=L[1]);break;case 18:i["!protect"]=L;break;case 19:L!==0&&G.WTF&&console.error("Password verifier: "+L);break;case 133:s[L.pos]=L,G.snames.push(L.name);break;case 10:{if(--b)break;if(o.e){if(o.e.r>0&&o.e.c>0){if(o.e.r--,o.e.c--,i["!ref"]=bt(o),e.sheetRows&&e.sheetRows<=o.e.r){var ue=o.e.r;o.e.r=e.sheetRows-1,i["!fullref"]=i["!ref"],i["!ref"]=bt(o),o.e.r=ue}o.e.r++,o.e.c++}ve.length>0&&(i["!merges"]=ve),me.length>0&&(i["!objects"]=me),Re.length>0&&(i["!cols"]=Re),Ce.length>0&&(i["!rows"]=Ce),E.Sheets.push(Y)}c===""?u=i:n[c]=i,i=e.dense?[]:{}}break;case 9:case 521:case 1033:case 2057:{if(G.biff===8&&(G.biff={9:2,521:3,1033:4}[ce]||{512:2,768:3,1024:4,1280:5,1536:8,2:2,7:2}[L.BIFFVer]||8),G.biffguess=L.BIFFVer==0,L.BIFFVer==0&&L.dt==4096&&(G.biff=5,K=!0,as(G.codepage=28591)),G.biff==8&&L.BIFFVer==0&&L.dt==16&&(G.biff=2),b++)break;if(i=e.dense?[]:{},G.biff<8&&!K&&(K=!0,as(G.codepage=e.codepage||1252)),G.biff<5||L.BIFFVer==0&&L.dt==4096){c===""&&(c="Sheet1"),o={s:{r:0,c:0},e:{r:0,c:0}};var ze={pos:t.l-te,name:c};s[ze.pos]=ze,G.snames.push(c)}else c=(s[le]||{name:""}).name;L.dt==32&&(i["!type"]="chart"),L.dt==64&&(i["!type"]="macro"),ve=[],me=[],G.arrayf=S=[],Re=[],Ce=[],_e=!1,Y={Hidden:(s[le]||{hs:0}).hs,name:c}}break;case 515:case 3:case 2:i["!type"]=="chart"&&(e.dense?(i[L.r]||[])[L.c]:i[nt({c:L.c,r:L.r})])&&++L.c,v={ixfe:L.ixfe,XF:A[L.ixfe]||{},v:L.val,t:"n"},x>0&&(v.z=O[v.ixfe>>8&63]),Ss(v,e,r.opts.Date1904),X({c:L.c,r:L.r},v,e);break;case 5:case 517:v={ixfe:L.ixfe,XF:A[L.ixfe],v:L.val,t:L.t},x>0&&(v.z=O[v.ixfe>>8&63]),Ss(v,e,r.opts.Date1904),X({c:L.c,r:L.r},v,e);break;case 638:v={ixfe:L.ixfe,XF:A[L.ixfe],v:L.rknum,t:"n"},x>0&&(v.z=O[v.ixfe>>8&63]),Ss(v,e,r.opts.Date1904),X({c:L.c,r:L.r},v,e);break;case 189:for(var Ie=L.c;Ie<=L.C;++Ie){var we=L.rkrec[Ie-L.c][0];v={ixfe:we,XF:A[we],v:L.rkrec[Ie-L.c][1],t:"n"},x>0&&(v.z=O[v.ixfe>>8&63]),Ss(v,e,r.opts.Date1904),X({c:Ie,r:L.r},v,e)}break;case 6:case 518:case 1030:{if(L.val=="String"){a=L;break}if(v=Xf(L.val,L.cell.ixfe,L.tt),v.XF=A[v.ixfe],e.cellFormula){var Be=L.formula;if(Be&&Be[0]&&Be[0][0]&&Be[0][0][0]=="PtgExp"){var Le=Be[0][0][1][0],I=Be[0][0][1][1],F=nt({r:Le,c:I});C[F]?v.f=""+on(L.formula,o,L.cell,p,G):v.F=((e.dense?(i[Le]||[])[I]:i[F])||{}).F}else v.f=""+on(L.formula,o,L.cell,p,G)}x>0&&(v.z=O[v.ixfe>>8&63]),Ss(v,e,r.opts.Date1904),X(L.cell,v,e),a=L}break;case 7:case 519:if(a)a.val=L,v=Xf(L,a.cell.ixfe,"s"),v.XF=A[v.ixfe],e.cellFormula&&(v.f=""+on(a.formula,o,a.cell,p,G)),x>0&&(v.z=O[v.ixfe>>8&63]),Ss(v,e,r.opts.Date1904),X(a.cell,v,e),a=null;else throw new Error("String record expects Formula");break;case 33:case 545:{S.push(L);var z=nt(L[0].s);if(f=e.dense?(i[L[0].s.r]||[])[L[0].s.c]:i[z],e.cellFormula&&f){if(!a||!z||!f)break;f.f=""+on(L[1],o,L[0],p,G),f.F=bt(L[0])}}break;case 1212:{if(!e.cellFormula)break;if(d){if(!a)break;C[nt(a.cell)]=L[0],f=e.dense?(i[a.cell.r]||[])[a.cell.c]:i[nt(a.cell)],(f||{}).f=""+on(L[0],o,h,p,G)}}break;case 253:v=Xf(l[L.isst].t,L.ixfe,"s"),l[L.isst].h&&(v.h=l[L.isst].h),v.XF=A[v.ixfe],x>0&&(v.z=O[v.ixfe>>8&63]),Ss(v,e,r.opts.Date1904),X({c:L.c,r:L.r},v,e);break;case 513:e.sheetStubs&&(v={ixfe:L.ixfe,XF:A[L.ixfe],t:"z"},x>0&&(v.z=O[v.ixfe>>8&63]),Ss(v,e,r.opts.Date1904),X({c:L.c,r:L.r},v,e));break;case 190:if(e.sheetStubs)for(var se=L.c;se<=L.C;++se){var q=L.ixfe[se-L.c];v={ixfe:q,XF:A[q],t:"z"},x>0&&(v.z=O[v.ixfe>>8&63]),Ss(v,e,r.opts.Date1904),X({c:se,r:L.r},v,e)}break;case 214:case 516:case 4:v=Xf(L.val,L.ixfe,"s"),v.XF=A[v.ixfe],x>0&&(v.z=O[v.ixfe>>8&63]),Ss(v,e,r.opts.Date1904),X({c:L.c,r:L.r},v,e);break;case 0:case 512:b===1&&(o=L);break;case 252:l=L;break;case 1054:if(G.biff==4){O[x++]=L[1];for(var ie=0;ie=163&&$l(L[1],x+163)}else $l(L[1],L[0]);break;case 30:{O[x++]=L;for(var Q=0;Q=163&&$l(L,x+163)}break;case 229:ve=ve.concat(L);break;case 93:me[L.cmo[0]]=G.lastobj=L;break;case 438:G.lastobj.TxO=L;break;case 127:G.lastobj.ImData=L;break;case 440:for(w=L[0].s.r;w<=L[0].e.r;++w)for(m=L[0].s.c;m<=L[0].e.c;++m)f=e.dense?(i[w]||[])[m]:i[nt({c:m,r:w})],f&&(f.l=L[1]);break;case 2048:for(w=L[0].s.r;w<=L[0].e.r;++w)for(m=L[0].s.c;m<=L[0].e.c;++m)f=e.dense?(i[w]||[])[m]:i[nt({c:m,r:w})],f&&f.l&&(f.l.Tooltip=L[1]);break;case 28:{if(G.biff<=5&&G.biff>=2)break;f=e.dense?(i[L[0].r]||[])[L[0].c]:i[nt(L[0])];var ee=me[L[2]];f||(e.dense?(i[L[0].r]||(i[L[0].r]=[]),f=i[L[0].r][L[0].c]={t:"z"}):f=i[nt(L[0])]={t:"z"},o.e.r=Math.max(o.e.r,L[0].r),o.s.r=Math.min(o.s.r,L[0].r),o.e.c=Math.max(o.e.c,L[0].c),o.s.c=Math.min(o.s.c,L[0].c)),f.c||(f.c=[]),g={a:L[1],t:ee.TxO.t},f.c.push(g)}break;case 2173:R8(A[L.ixfe],L.ext);break;case 125:{if(!G.cellStyles)break;for(;L.e>=L.s;)Re[L.e--]={width:L.w/256,level:L.level||0,hidden:!!(L.flags&1)},_e||(_e=!0,WS(L.w/256)),Ou(Re[L.e+1])}break;case 520:{var oe={};L.level!=null&&(Ce[L.r]=oe,oe.level=L.level),L.hidden&&(Ce[L.r]=oe,oe.hidden=!0),L.hpt&&(Ce[L.r]=oe,oe.hpt=L.hpt,oe.hpx=Fd(L.hpt))}break;case 38:case 39:case 40:case 41:i["!margins"]||ud(i["!margins"]={}),i["!margins"][{38:"left",39:"right",40:"top",41:"bottom"}[ce]]=L;break;case 161:i["!margins"]||ud(i["!margins"]={}),i["!margins"].header=L.header,i["!margins"].footer=L.footer;break;case 574:L.RTL&&(E.Views[0].RTL=!0);break;case 146:M=L;break;case 2198:ae=L;break;case 140:T=L;break;case 442:c?Y.CodeName=L||Y.name:E.WBProps.CodeName=L||"ThisWorkbook";break}}else ge||console.error("Missing Info for XLS Record 0x"+ce.toString(16)),t.l+=te}return r.SheetNames=Xs(s).sort(function(ne,J){return Number(ne)-Number(J)}).map(function(ne){return s[ne].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&&_.forEach(function(ne,J){r.Sheets[r.SheetNames[J]]["!autofilter"]=ne}),r.Strings=l,r.SSF=Xr(ot),G.enc&&(r.Encryption=G.enc),ae&&(r.Themes=ae),r.Metadata={},T!==void 0&&(r.Metadata.Country=T),p.names.length>0&&(E.Names=p.names),r.Workbook=E,r}var RR={SI:"e0859ff2f94f6810ab9108002b27b3d9",DSI:"02d5cdd59c2e1b10939708002b2cf9ae",UDI:"05d5cdd59c2e1b10939708002b2cf9ae"};function i9(t,e,r){var n=xt.find(t,"/!DocumentSummaryInformation");if(n&&n.size>0)try{var i=lR(n,y3,RR.DSI);for(var s in i)e[s]=i[s]}catch(c){if(r.WTF)throw c}var o=xt.find(t,"/!SummaryInformation");if(o&&o.size>0)try{var a=lR(o,x3,RR.SI);for(var l in a)e[l]==null&&(e[l]=a[l])}catch(c){if(r.WTF)throw c}e.HeadingPairs&&e.TitlesOfParts&&(DD(e.HeadingPairs,e.TitlesOfParts,e,r),delete e.HeadingPairs,delete e.TitlesOfParts)}function pk(t,e){e||(e={}),zS(e),G2(),e.codepage&&ES(e.codepage);var r,n;if(t.FullPaths){if(xt.find(t,"/encryption"))throw new Error("File is password-protected");r=xt.find(t,"!CompObj"),n=xt.find(t,"/Workbook")||xt.find(t,"/Book")}else{switch(e.type){case"base64":t=os(gi(t));break;case"binary":t=os(t);break;case"buffer":break;case"array":Array.isArray(t)||(t=Array.prototype.slice.call(t));break}Kr(t,0),n={content:t}}var i,s;if(r&&e9(r),e.bookProps&&!e.bookSheets)i={};else{var o=St?"buffer":"array";if(n&&n.content)i=n9(n.content,e);else if((s=xt.find(t,"PerfectOffice_MAIN"))&&s.content)i=ld.to_workbook(s.content,(e.type=o,e));else if((s=xt.find(t,"NativeContent_MAIN"))&&s.content)i=ld.to_workbook(s.content,(e.type=o,e));else throw(s=xt.find(t,"MN0"))&&s.content?new Error("Unsupported Works 4 for Mac file"):new Error("Cannot find Workbook stream");e.bookVBA&&t.FullPaths&&xt.find(t,"/_VBA_PROJECT_CUR/VBA/dir")&&(i.vbaraw=U8(t))}var a={};return t.FullPaths&&i9(t,a,e),i.Props=i.Custprops=a,e.bookFiles&&(i.cfb=t),i}var sm={0:{f:$U},1:{f:UU},2:{f:JU},3:{f:jU},4:{f:YU},5:{f:ZU},6:{f:t5},7:{f:XU},8:{f:o5},9:{f:s5},10:{f:n5},11:{f:i5},12:{f:GU},13:{f:QU},14:{f:KU},15:{f:zU},16:{f:hk},17:{f:r5},18:{f:qU},19:{f:NS},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:D5},40:{},42:{},43:{f:n8},44:{f:r8},45:{f:i8},46:{f:o8},47:{f:s8},48:{},49:{f:a3},50:{},51:{f:_8},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:YD},62:{f:e5},63:{f:P8},64:{f:m5},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:fn,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:g5},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:VU},148:{f:BU,p:16},151:{f:c5},152:{},153:{f:I5},154:{},155:{},156:{f:O5},157:{},158:{},159:{T:1,f:xV},160:{T:-1},161:{T:1,f:ic},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:a5},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:T8},336:{T:-1},337:{f:A8,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:JC},357:{},358:{},359:{},360:{T:1},361:{},362:{f:GD},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:u5},427:{f:h5},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:f5},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:WU},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:l5},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:JC},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:B8},633:{T:1},634:{T:-1},635:{T:1,f:$8},636:{T:-1},637:{f:c3},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:y5},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:p5},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:""}},n1={6:{f:uw},10:{f:qo},12:{f:Tr},13:{f:Tr},14:{f:vr},15:{f:vr},16:{f:cn},17:{f:vr},18:{f:vr},19:{f:Tr},20:{f:dR},21:{f:dR},23:{f:GD},24:{f:gR},25:{f:vr},26:{},27:{},28:{f:FW},29:{},34:{f:vr},35:{f:fR},38:{f:cn},39:{f:cn},40:{f:cn},41:{f:cn},42:{f:vr},43:{f:vr},47:{f:WV},49:{f:vW},51:{f:Tr},60:{},61:{f:mW},64:{f:vr},65:{f:wW},66:{f:Tr},77:{},80:{},81:{},82:{},85:{f:Tr},89:{},90:{},91:{},92:{f:aW},93:{f:$W},94:{},95:{f:vr},96:{},97:{},99:{f:vr},125:{f:YD},128:{f:AW},129:{f:lW},130:{f:Tr},131:{f:vr},132:{f:vr},133:{f:cW},134:{},140:{f:YW},141:{f:Tr},144:{},146:{f:jW},151:{},152:{},153:{},154:{},155:{},156:{f:Tr},157:{},158:{},160:{f:JW},161:{f:XW},174:{},175:{},176:{},177:{},178:{},180:{},181:{},182:{},184:{},185:{},189:{f:EW},190:{f:RW},193:{f:qo},197:{},198:{},199:{},200:{},201:{},202:{f:vr},203:{},204:{},205:{},206:{},207:{},208:{},209:{},210:{},211:{},213:{},215:{},216:{},217:{},218:{f:Tr},220:{},221:{f:vr},222:{},224:{f:_W},225:{f:oW},226:{f:qo},227:{},229:{f:LW},233:{},235:{},236:{},237:{},239:{},240:{},241:{},242:{},244:{},245:{},246:{},247:{},248:{},249:{},251:{},252:{f:uW},253:{f:CW},255:{f:hW},256:{},259:{},290:{},311:{},312:{},315:{},317:{f:LD},318:{},319:{},320:{},330:{},331:{},333:{},334:{},335:{},336:{},337:{},338:{},339:{},340:{},351:{},352:{f:vr},353:{f:qo},401:{},402:{},403:{},404:{},405:{},406:{},407:{},408:{},425:{},426:{},427:{},428:{},429:{},430:{f:OW},431:{f:vr},432:{},433:{},434:{},437:{},438:{f:VW},439:{f:vr},440:{f:UW},441:{},442:{f:sf},443:{},444:{f:Tr},445:{},446:{},448:{f:qo},449:{f:gW,r:2},450:{f:qo},512:{f:uR},513:{f:ZW},515:{f:MW},516:{f:SW},517:{f:hR},519:{f:QW},520:{f:dW},523:{},545:{f:mR},549:{f:cR},566:{},574:{f:pW},638:{f:bW},659:{},1048:{},1054:{f:yW},1084:{},1212:{f:kW},2048:{f:GW},2049:{},2050:{},2051:{},2052:{},2053:{},2054:{},2055:{},2056:{},2057:{f:zf},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:qo},2152:{},2154:{},2155:{},2156:{},2161:{},2162:{},2164:{},2165:{},2166:{},2167:{},2168:{},2169:{},2170:{},2171:{},2172:{f:KW,r:12},2173:{f:E8,r:12},2174:{},2175:{},2180:{},2181:{},2182:{},2183:{},2184:{},2185:{},2186:{},2187:{},2188:{f:vr,r:12},2189:{},2190:{r:12},2191:{},2192:{},2194:{},2195:{},2196:{f:DW,r:12},2197:{},2198:{f:v8,r:12},2199:{},2200:{},2201:{},2202:{f:NW,r:12},2203:{f:qo},2204:{},2205:{},2206:{},2207:{},2211:{f:fW},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:Tr},4135:{},4146:{},4147:{},4148:{},4149:{},4154:{},4156:{},4157:{},4158:{},4159:{},4160:{},4161:{},4163:{},4164:{f:qW},4165:{},4166:{},4168:{},4170:{},4171:{},4174:{},4175:{},4176:{},4177:{},4187:{},4188:{f:zW},4189:{},4191:{},4192:{},4193:{},4194:{},4195:{},4196:{},4197:{},4198:{},4199:{},4200:{},0:{f:uR},1:{},2:{f:nV},3:{f:rV},4:{f:tV},5:{f:hR},7:{f:iV},8:{},9:{f:zf},11:{},22:{f:Tr},30:{f:xW},31:{},32:{},33:{f:mR},36:{},37:{f:cR},50:{f:sV},62:{},52:{},67:{},68:{f:Tr},69:{},86:{},126:{},127:{f:eV},135:{},136:{},137:{},145:{},148:{},149:{},150:{},169:{},171:{},188:{},191:{},192:{},194:{},195:{},214:{f:oV},223:{},234:{},354:{},421:{},518:{f:uw},521:{f:zf},536:{f:gR},547:{f:fR},561:{},579:{},1030:{f:uw},1033:{f:zf},1091:{},2157:{},2163:{},2177:{},2240:{},2241:{},2242:{},2243:{},2244:{},2245:{},2246:{},2247:{},2248:{},2249:{},2250:{},2251:{},2262:{r:12},29282:{}};function Vi(t,e,r,n){var i=e;if(!isNaN(i)){var s=n||(r||[]).length||0,o=t.next(4);o.write_shift(2,i),o.write_shift(2,s),s>0&&RD(r)&&t.push(r)}}function TR(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=OB(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;)v=v.slice(T+1);for(var A=0;A")));d=E.colspan?+E.colspan:1,((h=+E.rowspan)>1||d>1)&&g.push({s:{r:c,c:u},e:{r:c+(h||1)-1,c:u+d-1}});var Y=E.t||E["data-t"]||"";if(!v.length){u+=d;continue}if(v=dD(v),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(YB("td",d,f))}}var g="";return g+s.join("")+""}var o9='SheetJS Table Export',a9="";function l9(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 Wa(TR(r[0],e),e);var n=KS();return r.forEach(function(i,s){XS(n,TR(i,e),"Sheet"+(s+1))}),n}function c9(t,e,r){var n=[];return n.join("")+""}function u9(t,e){var r=e||{},n=r.header!=null?r.header:o9,i=r.footer!=null?r.footer:a9,s=[n],o=Hu(t["!ref"]);r.dense=Array.isArray(t),s.push(c9(t,o,r));for(var a=o.s.r;a<=o.e.r;++a)s.push(s9(t,o,a,r));return s.push("
"+i),s.join("")}function wk(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"?Pn(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=Hu(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,w=0,C=0,S=0,v=0;for(t["!cols"]||(t["!cols"]=[]);g1||v>1)&&h.push({s:{r:m+i,c:C+s},e:{r:m+i+(S||1)-1,c:C+s+(v||1)-1}});var U={t:"s",v:E},X=M.getAttribute("data-t")||M.getAttribute("t")||"";E!=null&&(E.length==0?U.t=X||"z":n.raw||E.trim().length==0||X=="s"||(E==="TRUE"?U={t:"b",v:!0}:E==="FALSE"?U={t:"b",v:!1}:isNaN(us(E))?isNaN(Mu(E).getDate())||(U={t:"d",v:Vr(E)},n.cellDates||(U={t:"n",v:kn(U.v)}),U.z=n.dateNF||ot[14]):U={t:"n",v:us(E)})),U.z===void 0&&Y!=null&&(U.z=Y);var G="",ae=M.getElementsByTagName("A");if(ae&&ae.length)for(var ve=0;ve=l&&(t["!fullref"]=bt((c.e.r=a.length-g+m-1+i,c))),t}function vk(t,e){var r=e||{},n=r.dense?[]:{};return wk(n,t,e)}function h9(t,e){return Wa(vk(t,e),e)}function _R(t){var e="",r=d9(t);return r&&(e=r(t).getPropertyValue("display")),e||(e=t.style&&t.style.display),e==="none"}function d9(t){return t.ownerDocument.defaultView&&typeof t.ownerDocument.defaultView.getComputedStyle=="function"?t.ownerDocument.defaultView.getComputedStyle:typeof getComputedStyle=="function"?getComputedStyle:null}function f9(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=_t(e.replace(/<[^>]*>/g,""));return[r]}var AR={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 Ck(t,e){var r=e||{},n=IS(t),i=[],s,o,a={name:""},l="",c=0,u,h,d={},f=[],g=r.dense?[]:{},m,w,C={value:""},S="",v=0,T=[],A=-1,M=-1,E={s:{r:1e6,c:1e7},e:{r:0,c:0}},Y=0,D={},U=[],X={},G=0,ae=0,ve=[],me=1,Re=1,Ce=[],_e={Names:[]},p={},y=["",""],b=[],x={},O="",_=0,N=!1,K=!1,le=0;for(kd.lastIndex=0,n=n.replace(//mg,"").replace(//gm,"");m=kd.exec(n);)switch(m[3]=m[3].replace(/_.*$/,"")){case"table":case"\u5DE5\u4F5C\u8868":m[1]==="/"?(E.e.c>=E.s.c&&E.e.r>=E.s.r?g["!ref"]=bt(E):g["!ref"]="A1:A1",r.sheetRows>0&&r.sheetRows<=E.e.r&&(g["!fullref"]=g["!ref"],E.e.r=r.sheetRows-1,g["!ref"]=bt(E)),U.length&&(g["!merges"]=U),ve.length&&(g["!rows"]=ve),u.name=u.\u540D\u79F0||u.name,typeof JSON!="undefined"&&JSON.stringify(u),f.push(u.name),d[u.name]=g,K=!1):m[0].charAt(m[0].length-2)!=="/"&&(u=Ze(m[0],!1),A=M=-1,E.s.r=E.s.c=1e7,E.e.r=E.e.c=0,g=r.dense?[]:{},U=[],ve=[],K=!0);break;case"table-row-group":m[1]==="/"?--Y:++Y;break;case"table-row":case"\u884C":if(m[1]==="/"){A+=me,me=1;break}if(h=Ze(m[0],!1),h.\u884C\u53F7?A=h.\u884C\u53F7-1:A==-1&&(A=0),me=+h["number-rows-repeated"]||1,me<10)for(le=0;le0&&(ve[A+le]={level:Y});M=-1;break;case"covered-table-cell":m[1]!=="/"&&++M,r.sheetStubs&&(r.dense?(g[A]||(g[A]=[]),g[A][M]={t:"z"}):g[nt({r:A,c:M})]={t:"z"}),S="",T=[];break;case"table-cell":case"\u6570\u636E":if(m[0].charAt(m[0].length-2)==="/")++M,C=Ze(m[0],!1),Re=parseInt(C["number-columns-repeated"]||"1",10),w={t:"z",v:null},C.formula&&r.cellFormula!=!1&&(w.f=xR(_t(C.formula))),(C.\u6570\u636E\u7C7B\u578B||C["value-type"])=="string"&&(w.t="s",w.v=_t(C["string-value"]||""),r.dense?(g[A]||(g[A]=[]),g[A][M]=w):g[nt({r:A,c:M})]=w),M+=Re-1;else if(m[1]!=="/"){++M,S="",v=0,T=[],Re=1;var ce=me?A+me-1:A;if(M>E.e.c&&(E.e.c=M),ME.e.r&&(E.e.r=ce),C=Ze(m[0],!1),b=[],x={},w={t:C.\u6570\u636E\u7C7B\u578B||C["value-type"],v:null},r.cellFormula)if(C.formula&&(C.formula=_t(C.formula)),C["number-matrix-columns-spanned"]&&C["number-matrix-rows-spanned"]&&(G=parseInt(C["number-matrix-rows-spanned"],10)||0,ae=parseInt(C["number-matrix-columns-spanned"],10)||0,X={s:{r:A,c:M},e:{r:A+G-1,c:M+ae-1}},w.F=bt(X),Ce.push([X,w.F])),C.formula)w.f=xR(C.formula);else for(le=0;le=Ce[le][0].s.r&&A<=Ce[le][0].e.r&&M>=Ce[le][0].s.c&&M<=Ce[le][0].e.c&&(w.F=Ce[le][1]);switch((C["number-columns-spanned"]||C["number-rows-spanned"])&&(G=parseInt(C["number-rows-spanned"],10)||0,ae=parseInt(C["number-columns-spanned"],10)||0,X={s:{r:A,c:M},e:{r:A+G-1,c:M+ae-1}},U.push(X)),C["number-columns-repeated"]&&(Re=parseInt(C["number-columns-repeated"],10)),w.t){case"boolean":w.t="b",w.v=er(C["boolean-value"]);break;case"float":w.t="n",w.v=parseFloat(C.value);break;case"percentage":w.t="n",w.v=parseFloat(C.value);break;case"currency":w.t="n",w.v=parseFloat(C.value);break;case"date":w.t="d",w.v=Vr(C["date-value"]),r.cellDates||(w.t="n",w.v=kn(w.v)),w.z="m/d/yy";break;case"time":w.t="n",w.v=_B(C["time-value"])/86400,r.cellDates&&(w.t="d",w.v=tp(w.v)),w.z="HH:MM:SS";break;case"number":w.t="n",w.v=parseFloat(C.\u6570\u636E\u6570\u503C);break;default:if(w.t==="string"||w.t==="text"||!w.t)w.t="s",C["string-value"]!=null&&(S=_t(C["string-value"]),T=[]);else throw new Error("Unsupported value type "+w.t)}}else{if(N=!1,w.t==="s"&&(w.v=S||"",T.length&&(w.R=T),N=v==0),p.Target&&(w.l=p),b.length>0&&(w.c=b,b=[]),S&&r.cellText!==!1&&(w.w=S),N&&(w.t="z",delete w.v),(!N||r.sheetStubs)&&!(r.sheetRows&&r.sheetRows<=A))for(var te=0;te0;)g[A+te][M+Re]=Xr(w);else for(g[nt({r:A+te,c:M})]=w;--Re>0;)g[nt({r:A+te,c:M+Re})]=Xr(w);E.e.c<=M&&(E.e.c=M)}Re=parseInt(C["number-columns-repeated"]||"1",10),M+=Re-1,Re=0,w={},S="",T=[]}p={};break;case"document":case"document-content":case"\u7535\u5B50\u8868\u683C\u6587\u6863":case"spreadsheet":case"\u4E3B\u4F53":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;x.t=S,T.length&&(x.R=T),x.a=O,b.push(x)}else m[0].charAt(m[0].length-2)!=="/"&&i.push([m[3],!1]);O="",_=0,S="",v=0,T=[];break;case"creator":m[1]==="/"?O=n.slice(_,m.index):_=m.index+m[0].length;break;case"meta":case"\u5143\u6570\u636E":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]);S="",v=0,T=[];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(D[a.name]=l,(s=i.pop())[0]!==m[3])throw"Bad state: "+s}else m[0].charAt(m[0].length-2)!=="/"&&(l="",a=Ze(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=Ze(m[0],!1),l+=AR[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=Ze(m[0],!1),l+=AR[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=Ze(m[0],!1),y=hw(o["cell-range-address"]);var ge={Name:o.name,Ref:y[0]+"!"+y[1]};K&&(ge.Sheet=f.length),_e.Names.push(ge);break;case"text-content":break;case"text-properties":break;case"embedded-text":break;case"body":case"\u7535\u5B50\u8868\u683C":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"\u6587\u672C\u4E32":if(["master-styles"].indexOf(i[i.length-1][0])>-1)break;if(m[1]==="/"&&(!C||!C["string-value"])){var Me=f9(n.slice(v,m.index));S=(S.length>0?S+` `:"")+Me[0]}else Ze(m[0],!1),v=m.index+m[0].length;break;case"s":break;case"database-range":if(m[1]==="/")break;try{y=hw(Ze(m[0])["target-range-address"]),d[y[0]]["!autofilter"]={ref:y[1]}}catch(Fe){}break;case"date":break;case"object":break;case"title":case"\u6807\u9898":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(p=Ze(m[0],!1),!p.href)break;p.Target=_t(p.href),delete p.href,p.Target.charAt(0)=="#"&&p.Target.indexOf(".")>-1?(y=hw(p.Target.slice(1)),p.Target="#"+y[0]+"!"+y[1]):p.Target.match(/^\.\.[\\\/]/)&&(p.Target=p.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"\u8868:":case"\u5B57:":break;default:if(r.WTF)throw new Error(m)}}var L={Sheets:d,SheetNames:f,Workbook:_e};return r.bookSheets&&delete L.Sheets,L}function MR(t,e){e=e||{},Ei(t,"META-INF/manifest.xml")&&M3(Rr(t,"META-INF/manifest.xml"),e);var r=hi(t,"content.xml");if(!r)throw new Error("Missing content.xml in ODS / UOF file");var n=Ck(Yt(r),e);return Ei(t,"meta.xml")&&(n.Props=PD(Rr(t,"meta.xml"))),n}function OR(t,e){return Ck(t,e)}/*! sheetjs (C) 2013-present SheetJS -- http://sheetjs.com */function GS(t){return new DataView(t.buffer,t.byteOffset,t.byteLength)}function i1(t){return typeof TextDecoder!="undefined"?new TextDecoder().decode(t):Yt(rc(t))}function s1(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 IR(t){return t-=t>>1&1431655765,t=(t&858993459)+(t>>2&858993459),(t+(t>>4)&252645135)*16843009>>>24}function g9(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 Ld(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 Dr(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 un(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=Ld(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 YS(t,e){return(t==null?void 0:t.map(function(r){return e(r.data)}))||[]}function m9(t){for(var e,r=[],n=[0];n[0]>>0>0),r.push(o)}return r}function p9(t,e){if(t!=0)throw new Error("Unexpected Snappy chunk type ".concat(t));for(var r=[0],n=Ld(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=[s1(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=s1(i);if(u.length!=n)throw new Error("Unexpected length: ".concat(u.length," != ").concat(n));return u}function w9(t){for(var e=[],r=0;r1?12:8)+IR(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+=IR(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 C9(t,e,r){var n=GS(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=g9(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 S9(t,e,r){switch(t[0]){case 0:case 1:case 2:case 3:return v9(t,e,r,t[0]);case 5:return C9(t,e,r);default:throw new Error("Unsupported payload version ".concat(t[0]))}}function Ma(t){var e=un(t);return Ld(e[1][0].data)}function PR(t,e){var r=un(e.data),n=Dr(r[1][0].data),i=r[3],s=[];return(i||[]).forEach(function(o){var a=un(o.data),l=Dr(a[1][0].data)>>>0;switch(n){case 1:s[l]=i1(a[3][0].data);break;case 8:{var c=t[Ma(a[9][0].data)][0],u=un(c.data),h=t[Ma(u[1][0].data)][0],d=Dr(h.meta[1][0].data);if(d!=2001)throw new Error("2000 unexpected reference to ".concat(d));var f=un(h.data);s[l]=f[3].map(function(g){return i1(g.data)}).join("")}break}}),s}function y9(t,e){var r,n,i,s,o,a,l,c,u,h,d,f,g,m,w=un(t),C=Dr(w[1][0].data)>>>0,S=Dr(w[2][0].data)>>>0,v=((n=(r=w[8])==null?void 0:r[0])==null?void 0:n.data)&&Dr(w[8][0].data)>0||!1,T,A;if(((s=(i=w[7])==null?void 0:i[0])==null?void 0:s.data)&&e!=0)T=(a=(o=w[7])==null?void 0:o[0])==null?void 0:a.data,A=(c=(l=w[6])==null?void 0:l[0])==null?void 0:c.data;else if(((h=(u=w[4])==null?void 0:u[0])==null?void 0:h.data)&&e!=1)T=(f=(d=w[4])==null?void 0:d[0])==null?void 0:f.data,A=(m=(g=w[3])==null?void 0:g[0])==null?void 0:m.data;else throw"NUMBERS Tile missing ".concat(e," cell storage");for(var M=v?4:1,E=GS(T),Y=[],D=0;D=1&&(X[Y[Y.length-1][0]]=A.subarray(Y[Y.length-1][1]*M)),{R:C,cells:X}}function x9(t,e){var r,n=un(e.data),i=(r=n==null?void 0:n[7])!=null&&r[0]?Dr(n[7][0].data)>>>0>0?1:0:-1,s=YS(n[5],function(o){return y9(o,i)});return{nrows:Dr(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 b9(t,e,r){var n,i=un(e.data),s={s:{r:0,c:0},e:{r:0,c:0}};if(s.e.r=(Dr(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=(Dr(i[7][0].data)>>>0)-1,s.e.c<0)throw new Error("Invalid col varint ".concat(i[7][0].data));r["!ref"]=bt(s);var o=un(i[4][0].data),a=PR(t,t[Ma(o[4][0].data)][0]),l=(n=o[17])!=null&&n[0]?PR(t,t[Ma(o[17][0].data)][0]):[],c=un(o[3][0].data),u=0;c[1].forEach(function(h){var d=un(h.data),f=t[Ma(d[2][0].data)][0],g=Dr(f.meta[1][0].data);if(g!=6002)throw new Error("6001 unexpected reference to ".concat(g));var m=x9(t,f);m.data.forEach(function(w,C){w.forEach(function(S,v){var T=nt({r:u+C,c:v}),A=S9(S,a,l);A&&(r[T]=A)})}),u+=m.nrows})}function E9(t,e){var r=un(e.data),n={"!ref":"A1"},i=t[Ma(r[2][0].data)],s=Dr(i[0].meta[1][0].data);if(s!=6001)throw new Error("6000 unexpected reference to ".concat(s));return b9(t,i[0],n),n}function R9(t,e){var r,n=un(e.data),i={name:(r=n[1])!=null&&r[0]?i1(n[1][0].data):"",sheets:[]},s=YS(n[2],Ma);return s.forEach(function(o){t[o].forEach(function(a){var l=Dr(a.meta[1][0].data);l==6e3&&i.sheets.push(E9(t,a))})}),i}function T9(t,e){var r=KS(),n=un(e.data),i=YS(n[1],Ma);if(i.forEach(function(s){t[s].forEach(function(o){var a=Dr(o.meta[1][0].data);if(a==2){var l=R9(t,o);l.sheets.forEach(function(c,u){XS(r,c,u==0?l.name:l.name+"_"+u,!0)})}})}),r.SheetNames.length==0)throw new Error("Empty NUMBERS file");return r}function fw(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=w9(l.content)}catch(h){return console.log("?? "+l.content.length+" "+(h.message||h))}var u;try{u=m9(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==null?void 0:s[1])==null?void 0:e[0])==null?void 0:r.meta)==null?void 0:n[1])==null?void 0:i[0].data)&&Dr(s[1][0].meta[1][0].data)==1&&s[1][0];if(a||o.forEach(function(l){s[l].forEach(function(c){var u=Dr(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 T9(s,a)}function _9(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 zS(t){_9([["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 A9(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 M9(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,A9(t["!id"][n.id].Type)]})}catch(r){return null}return!t||t.length===0?null:t}function O9(t,e,r,n,i,s,o,a,l,c,u,h){try{s[n]=od(hi(t,r,!0),e);var d=Rr(t,e),f;switch(a){case"sheet":f=H5(d,e,i,l,s[n],c,u,h);break;case"chart":if(f=F5(d,e,i,l,s[n],c,u,h),!f||!f["!drawel"])break;var g=qh(f["!drawel"].Target,e),m=QC(g),w=N8(hi(t,g,!0),od(hi(t,m,!0),g)),C=qh(w,g),S=QC(C);f=C5(hi(t,C,!0),C,l,od(hi(t,S,!0),C),c,f);break;case"macro":f=L5(d,e,i,l,s[n],c,u,h);break;case"dialog":f=$5(d,e,i,l,s[n],c,u,h);break;default:throw new Error("Unrecognized sheet type "+a)}o[n]=f;var v=[];s&&s[n]&&Xs(s[n]).forEach(function(T){var A="";if(s[n][T].Type==hu.CMNT){A=qh(s[n][T].Target,e);var M=U5(Rr(t,A,!0),A,l);if(!M||!M.length)return;wR(f,M,!1)}s[n][T].Type==hu.TCMNT&&(A=qh(s[n][T].Target,e),v=v.concat(F8(Rr(t,A,!0),l)))}),v&&v.length&&wR(f,v,!0,l.people||[])}catch(T){if(l.WTF)throw T}}function wi(t){return t.charAt(0)=="/"?t.slice(1):t}function I9(t,e){if(rD(),e=e||{},zS(e),Ei(t,"META-INF/manifest.xml")||Ei(t,"objectdata.xml"))return MR(t,e);if(Ei(t,"Index/Document.iwa")){if(typeof Uint8Array=="undefined")throw new Error("NUMBERS file parsing requires Uint8Array support");if(typeof fw!="undefined"){if(t.FileIndex)return fw(t);var r=xt.utils.cfb_new();return GE(t).forEach(function(ve){PB(r,ve,lD(t,ve))}),fw(r)}throw new Error("Unsupported NUMBERS file")}if(!Ei(t,"[Content_Types].xml"))throw Ei(t,"index.xml.gz")?new Error("Unsupported NUMBERS 08 file"):Ei(t,"index.xml")?new Error("Unsupported NUMBERS 09 file"):new Error("Unsupported ZIP file");var n=GE(t),i=_3(hi(t,"[Content_Types].xml")),s=!1,o,a;if(i.workbooks.length===0&&(a="xl/workbook.xml",Rr(t,a,!0)&&i.workbooks.push(a)),i.workbooks.length===0){if(a="xl/workbook.bin",!Rr(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(cd=[],i.sst)try{cd=V5(Rr(t,wi(i.sst)),i.sst,e)}catch(ve){if(e.WTF)throw ve}e.cellStyles&&i.themes.length&&(l=W5(hi(t,i.themes[0].replace(/^\//,""),!0)||"",i.themes[0],e)),i.style&&(c=B5(Rr(t,wi(i.style)),i.style,l,e))}i.links.map(function(ve){try{var me=od(hi(t,QC(wi(ve))),ve);return Y5(Rr(t,wi(ve)),me,ve,e)}catch(Re){}});var u=N5(Rr(t,wi(i.workbooks[0])),i.workbooks[0],e),h={},d="";i.coreprops.length&&(d=Rr(t,wi(i.coreprops[0]),!0),d&&(h=PD(d)),i.extprops.length!==0&&(d=Rr(t,wi(i.extprops[0]),!0),d&&P3(d,h,e)));var f={};(!e.bookSheets||e.bookProps)&&i.custprops.length!==0&&(d=hi(t,wi(i.custprops[0]),!0),d&&(f=k3(d,e)));var g={};if((e.bookSheets||e.bookProps)&&(u.Sheets?o=u.Sheets.map(function(me){return me.name}):h.Worksheets&&h.SheetNames.length>0&&(o=h.SheetNames),e.bookProps&&(g.Props=h,g.Custprops=f),e.bookSheets&&typeof o!="undefined"&&(g.SheetNames=o),e.bookSheets?g.SheetNames:e.bookProps))return g;o={};var m={};e.bookDeps&&i.calcchain&&(m=G5(Rr(t,wi(i.calcchain)),i.calcchain));var w=0,C={},S,v;{var T=u.Sheets;h.Worksheets=T.length,h.SheetNames=[];for(var A=0;A!=T.length;++A)h.SheetNames[A]=T[A].name}var M=s?"bin":"xml",E=i.workbooks[0].lastIndexOf("/"),Y=(i.workbooks[0].slice(0,E+1)+"_rels/"+i.workbooks[0].slice(E+1)+".rels").replace(/^\//,"");Ei(t,Y)||(Y="xl/_rels/workbook."+M+".rels");var D=od(hi(t,Y,!0),Y.replace(/_rels.*/,"s5s"));(i.metadata||[]).length>=1&&(e.xlmeta=z5(Rr(t,wi(i.metadata[0])),i.metadata[0],e)),(i.people||[]).length>=1&&(e.people=L8(Rr(t,wi(i.people[0])),e)),D&&(D=M9(D,u.Sheets));var U=Rr(t,"xl/worksheets/sheet.xml",!0)?1:0;e:for(w=0;w!=h.Worksheets;++w){var X="sheet";if(D&&D[w]?(S="xl/"+D[w][1].replace(/[\/]?xl\//,""),Ei(t,S)||(S=D[w][1]),Ei(t,S)||(S=Y.replace(/_rels\/.*$/,"")+D[w][1]),X=D[w][2]):(S="xl/worksheets/sheet"+(w+1-U)+"."+M,S=S.replace(/sheet0\./,"sheet.")),v=S.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels"),e&&e.sheets!=null)switch(typeof e.sheets){case"number":if(w!=e.sheets)continue e;break;case"string":if(h.SheetNames[w].toLowerCase()!=e.sheets.toLowerCase())continue e;break;default:if(Array.isArray&&Array.isArray(e.sheets)){for(var G=!1,ae=0;ae!=e.sheets.length;++ae)typeof e.sheets[ae]=="number"&&e.sheets[ae]==w&&(G=1),typeof e.sheets[ae]=="string"&&e.sheets[ae].toLowerCase()==h.SheetNames[w].toLowerCase()&&(G=1);if(!G)continue e}}O9(t,S,v,h.SheetNames[w],w,C,o,X,e,u,l,c)}return g={Directory:i,Workbook:u,Props:h,Custprops:f,Deps:m,Sheets:o,SheetNames:h.SheetNames,Strings:cd,Styles:c,Themes:l,SSF:Xr(ot)},e&&e.bookFiles&&(t.files?(g.keys=n,g.files=t.files):(g.keys=[],g.files={},t.FullPaths.forEach(function(ve,me){ve=ve.replace(/^Root Entry[\/]/,""),g.keys.push(ve),g.files[ve]=t.FileIndex[me]}))),e&&e.bookVBA&&(i.vba.length>0?g.vbaraw=Rr(t,wi(i.vba[0]),!0):i.defaults&&i.defaults.bin===V8&&(g.vbaraw=Rr(t,"xl/vbaProject.bin",!0))),g}function P9(t,e){var r=e||{},n="Workbook",i=xt.find(t,n);try{if(n="/!DataSpaces/Version",i=xt.find(t,n),!i||!i.content)throw new Error("ECMA-376 Encrypted file missing "+n);if(EV(i.content),n="/!DataSpaces/DataSpaceMap",i=xt.find(t,n),!i||!i.content)throw new Error("ECMA-376 Encrypted file missing "+n);var s=TV(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=xt.find(t,n),!i||!i.content)throw new Error("ECMA-376 Encrypted file missing "+n);var o=_V(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=xt.find(t,n),!i||!i.content)throw new Error("ECMA-376 Encrypted file missing "+n);MV(i.content)}catch(l){}if(n="/EncryptionInfo",i=xt.find(t,n),!i||!i.content)throw new Error("ECMA-376 Encrypted file missing "+n);var a=OV(i.content);if(n="/EncryptedPackage",i=xt.find(t,n),!i||!i.content)throw new Error("ECMA-376 Encrypted file missing "+n);if(a[0]==4&&typeof decrypt_agile!="undefined")return decrypt_agile(a[1],i.content,r.password||"",r);if(a[0]==2&&typeof decrypt_std76!="undefined")return decrypt_std76(a[1],i.content,r.password||"",r);throw new Error("File is password-protected")}function jS(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=gi(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 D9(t,e){return xt.find(t,"EncryptedPackage")?P9(t,e):pk(t,e)}function k9(t,e){var r,n=t,i=e||{};return i.type||(i.type=St&&Buffer.isBuffer(t)?"buffer":"base64"),r=cD(n,i),I9(r,i)}function Sk(t,e){var r=0;e:for(;r=2&&i[3]===0||i[2]===0&&(i[3]===8||i[3]===9)))return ld.to_workbook(n,r);break;case 3:case 131:case 139:case 140:return pR.to_workbook(n,r);case 123:if(i[1]===92&&i[2]===114&&i[3]===116)return VV.to_workbook(n,r);break;case 10:case 13:case 32:return N9(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 aV.indexOf(i[0])>-1&&i[2]<=12&&i[3]<=31?pR.to_workbook(n,r):gw(t,n,r,s)}function L9(t,e,r,n,i,s,o,a){var l=qr(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(w){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:Fo(g,m,a);m!=null&&(h=!1)}}return{row:d,isempty:h}}function a1(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=mr(u);break;case"number":l=mr(t["!ref"]),l.s.r=u;break;default:l=u}n>0&&(i=0);var h=qr(l.s.r),d=[],f=[],g=0,m=0,w=Array.isArray(t),C=l.s.r,S=0,v={};w&&!t[C]&&(t[C]=[]);var T=c.skipHidden&&t["!cols"]||[],A=c.skipHidden&&t["!rows"]||[];for(S=l.s.c;S<=l.e.c;++S)if(!(T[S]||{}).hidden)switch(d[S]=Ir(S),r=w?t[C][S]:t[d[S]+h],n){case 1:s[S]=S-l.s.c;break;case 2:s[S]=d[S];break;case 3:s[S]=c.header[S-l.s.c];break;default:if(r==null&&(r={w:"__EMPTY",t:"s"}),a=o=Fo(r,null,c),m=v[o]||0,!m)v[o]=1;else{do a=o+"_"+m++;while(v[a]);v[o]=m,v[a]=1}s[S]=a}for(C=l.s.r+i;C<=l.e.r;++C)if(!(A[C]||{}).hidden){var M=L9(t,l,C,d,n,s,w,c);(M.isempty===!1||(n===1?c.blankrows!==!1:!!c.blankrows))&&(f[g++]=M.row)}return f.length=g,f}var DR=/"/g;function $9(t,e,r,n,i,s,o,a){for(var l=!0,c=[],u="",h=qr(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:Fo(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(DR,'""')+'"';break}u=="ID"&&(u='"ID"')}else f.f!=null&&!f.F?(l=!1,u="="+f.f,u.indexOf(",")>=0&&(u='"'+u.replace(DR,'""')+'"')):u="";c.push(u)}return a.blankrows===!1&&l?null:c.join(o)}function yk(t,e){var r=[],n=e==null?{}:e;if(t==null||t["!ref"]==null)return"";var i=mr(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]=Ir(g));for(var m=0,w=i.s.r;w<=i.e.r;++w)(f[w]||{}).hidden||(u=$9(t,i,w,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 B9(t,e){e||(e={}),e.FS=" ",e.RS=` `;var r=yk(t,e);return r}function W9(t){var e="",r,n="";if(t==null||t["!ref"]==null)return[];var i=mr(t["!ref"]),s="",o=[],a,l=[],c=Array.isArray(t);for(a=i.s.c;a<=i.e.c;++a)o[a]=Ir(a);for(var u=i.s.r;u<=i.e.r;++u)for(s=qr(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 xk(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"?Pn(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=mr(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,w){Xs(m).forEach(function(C){(f=d.indexOf(C))==-1&&(d[f=d.length]=C);var S=m[C],v="z",T="",A=nt({c:a+f,r:o+w+i});c=$d(s,A),S&&typeof S=="object"&&!(S instanceof Date)?s[A]=S:(typeof S=="number"?v="n":typeof S=="boolean"?v="b":typeof S=="string"?v="s":S instanceof Date?(v="d",n.cellDates||(v="n",S=kn(S)),T=n.dateNF||ot[14]):S===null&&n.nullError&&(v="e",S=0),c?(c.t=v,c.v=S,delete c.w,delete c.R,T&&(c.z=T)):s[A]=c={t:v,v:S},T&&(c.z=T))})}),u.e.c=Math.max(u.e.c,a+d.length-1);var g=qr(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 KS(){return{SheetNames:[],Sheets:{}}}function XS(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(_5(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 G9(t,e,r){t.Workbook||(t.Workbook={}),t.Workbook.Sheets||(t.Workbook.Sheets=[]);var n=U9(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 Y9(t,e){return t.z=e,t}function bk(t,e,r){return e?(t.l={Target:e},r&&(t.l.Tooltip=r)):delete t.l,t}function z9(t,e,r){return bk(t,"#"+e,r)}function j9(t,e,r){t.c||(t.c=[]),t.c.push({t:e,a:r||"SheetJS"})}function K9(t,e,r,n){for(var i=typeof e!="string"?e:mr(e),s=typeof e=="string"?e:bt(e),o=i.s.r;o<=i.e.r;++o)for(var a=i.s.c;a<=i.e.c;++a){var l=$d(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 X9={encode_col:Ir,encode_row:qr,encode_cell:nt,encode_range:bt,decode_col:kS,decode_row:DS,split_cell:o3,decode_cell:Pn,decode_range:Hu,format_cell:Fo,sheet_add_aoa:_D,sheet_add_json:xk,sheet_add_dom:wk,aoa_to_sheet:Fu,json_to_sheet:V9,table_to_sheet:vk,table_to_book:h9,sheet_to_csv:yk,sheet_to_txt:B9,sheet_to_json:a1,sheet_to_html:u9,sheet_to_formulae:W9,sheet_to_row_object_array:a1,sheet_get_cell:$d,book_new:KS,book_append_sheet:XS,book_set_sheet_visibility:G9,cell_set_number_format:Y9,cell_set_hyperlink:bk,cell_set_internal_link:z9,cell_add_comment:j9,sheet_set_array_formula:K9,consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}},th=function(t){return t&&t.Math===Math&&t},mn=th(typeof globalThis=="object"&&globalThis)||th(typeof window=="object"&&window)||th(typeof self=="object"&&self)||th(typeof Nf=="object"&&Nf)||th(typeof Nf=="object"&&Nf)||function(){return this}()||Function("return this")(),qS={},Fi=function(t){try{return!!t()}catch(e){return!0}},q9=Fi,ps=!q9(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),Z9=Fi,sp=!Z9(function(){var t=function(){}.bind();return typeof t!="function"||t.hasOwnProperty("prototype")}),J9=sp,qf=Function.prototype.call,ac=J9?qf.bind(qf):function(){return qf.apply(qf,arguments)},Ek={},Rk={}.propertyIsEnumerable,Tk=Object.getOwnPropertyDescriptor,Q9=Tk&&!Rk.call({1:2},1);Ek.f=Q9?function(e){var r=Tk(this,e);return!!r&&r.enumerable}:Rk;var op=function(t,e){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:e}},_k=sp,Ak=Function.prototype,l1=Ak.call,e7=_k&&Ak.bind.bind(l1,l1),Fn=_k?e7:function(t){return function(){return l1.apply(t,arguments)}},Mk=Fn,t7=Mk({}.toString),r7=Mk("".slice),Lu=function(t){return r7(t7(t),8,-1)},n7=Fn,i7=Fi,s7=Lu,mw=Object,o7=n7("".split),a7=i7(function(){return!mw("z").propertyIsEnumerable(0)})?function(t){return s7(t)==="String"?o7(t,""):mw(t)}:mw,ZS=function(t){return t==null},l7=ZS,c7=TypeError,Ok=function(t){if(l7(t))throw new c7("Can't call method on "+t);return t},u7=a7,h7=Ok,ap=function(t){return u7(h7(t))},pw=typeof document=="object"&&document.all,pn=typeof pw=="undefined"&&pw!==void 0?function(t){return typeof t=="function"||t===pw}:function(t){return typeof t=="function"},d7=pn,Va=function(t){return typeof t=="object"?t!==null:d7(t)},ww=mn,f7=pn,g7=function(t){return f7(t)?t:void 0},cf=function(t,e){return arguments.length<2?g7(ww[t]):ww[t]&&ww[t][e]},m7=Fn,JS=m7({}.isPrototypeOf),QS=typeof navigator!="undefined"&&String(navigator.userAgent)||"",Ik=mn,vw=QS,kR=Ik.process,NR=Ik.Deno,HR=kR&&kR.versions||NR&&NR.version,FR=HR&&HR.v8,ss,om;FR&&(ss=FR.split("."),om=ss[0]>0&&ss[0]<4?1:+(ss[0]+ss[1]));!om&&vw&&(ss=vw.match(/Edge\/(\d+)/),(!ss||ss[1]>=74)&&(ss=vw.match(/Chrome\/(\d+)/),ss&&(om=+ss[1])));var p7=om,LR=p7,w7=Fi,v7=mn,C7=v7.String,ey=!!Object.getOwnPropertySymbols&&!w7(function(){var t=Symbol("symbol detection");return!C7(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&LR&&LR<41}),S7=ey,Pk=S7&&!Symbol.sham&&typeof Symbol.iterator=="symbol",y7=cf,x7=pn,b7=JS,E7=Pk,R7=Object,ty=E7?function(t){return typeof t=="symbol"}:function(t){var e=y7("Symbol");return x7(e)&&b7(e.prototype,R7(t))},T7=String,lp=function(t){try{return T7(t)}catch(e){return"Object"}},_7=pn,A7=lp,M7=TypeError,cp=function(t){if(_7(t))return t;throw new M7(A7(t)+" is not a function")},O7=cp,I7=ZS,ry=function(t,e){var r=t[e];return I7(r)?void 0:O7(r)},Cw=ac,Sw=pn,yw=Va,P7=TypeError,D7=function(t,e){var r,n;if(e==="string"&&Sw(r=t.toString)&&!yw(n=Cw(r,t))||Sw(r=t.valueOf)&&!yw(n=Cw(r,t))||e!=="string"&&Sw(r=t.toString)&&!yw(n=Cw(r,t)))return n;throw new P7("Can't convert object to primitive value")},up={exports:{}},$R=mn,k7=Object.defineProperty,ny=function(t,e){try{k7($R,t,{value:e,configurable:!0,writable:!0})}catch(r){$R[t]=e}return e},N7=mn,H7=ny,BR="__core-js_shared__",WR=up.exports=N7[BR]||H7(BR,{});(WR.versions||(WR.versions=[])).push({version:"3.36.0",mode:"global",copyright:"\xA9 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.36.0/LICENSE",source:"https://github.com/zloirock/core-js"});var VR=up.exports,Dk=function(t,e){return VR[t]||(VR[t]=e||{})},F7=Ok,L7=Object,hp=function(t){return L7(F7(t))},$7=Fn,B7=hp,W7=$7({}.hasOwnProperty),Vo=Object.hasOwn||function(e,r){return W7(B7(e),r)},V7=Fn,U7=0,G7=Math.random(),Y7=V7(1 .toString),kk=function(t){return"Symbol("+(t===void 0?"":t)+")_"+Y7(++U7+G7,36)},z7=mn,j7=Dk,UR=Vo,K7=kk,X7=ey,q7=Pk,du=z7.Symbol,xw=j7("wks"),Z7=q7?du.for||du:du&&du.withoutSetter||K7,$u=function(t){return UR(xw,t)||(xw[t]=X7&&UR(du,t)?du[t]:Z7("Symbol."+t)),xw[t]},J7=ac,GR=Va,YR=ty,Q7=ry,eG=D7,tG=$u,rG=TypeError,nG=tG("toPrimitive"),iG=function(t,e){if(!GR(t)||YR(t))return t;var r=Q7(t,nG),n;if(r){if(e===void 0&&(e="default"),n=J7(r,t,e),!GR(n)||YR(n))return n;throw new rG("Can't convert object to primitive value")}return e===void 0&&(e="number"),eG(t,e)},sG=iG,oG=ty,Nk=function(t){var e=sG(t,"string");return oG(e)?e:e+""},aG=mn,zR=Va,c1=aG.document,lG=zR(c1)&&zR(c1.createElement),iy=function(t){return lG?c1.createElement(t):{}},cG=ps,uG=Fi,hG=iy,Hk=!cG&&!uG(function(){return Object.defineProperty(hG("div"),"a",{get:function(){return 7}}).a!==7}),dG=ps,fG=ac,gG=Ek,mG=op,pG=ap,wG=Nk,vG=Vo,CG=Hk,jR=Object.getOwnPropertyDescriptor;qS.f=dG?jR:function(e,r){if(e=pG(e),r=wG(r),CG)try{return jR(e,r)}catch(n){}if(vG(e,r))return mG(!fG(gG.f,e,r),e[r])};var Ua={},SG=ps,yG=Fi,Fk=SG&&yG(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),xG=Va,bG=String,EG=TypeError,Ga=function(t){if(xG(t))return t;throw new EG(bG(t)+" is not an object")},RG=ps,TG=Hk,_G=Fk,Zf=Ga,KR=Nk,AG=TypeError,bw=Object.defineProperty,MG=Object.getOwnPropertyDescriptor,Ew="enumerable",Rw="configurable",Tw="writable";Ua.f=RG?_G?function(e,r,n){if(Zf(e),r=KR(r),Zf(n),typeof e=="function"&&r==="prototype"&&"value"in n&&Tw in n&&!n[Tw]){var i=MG(e,r);i&&i[Tw]&&(e[r]=n.value,n={configurable:Rw in n?n[Rw]:i[Rw],enumerable:Ew in n?n[Ew]:i[Ew],writable:!1})}return bw(e,r,n)}:bw:function(e,r,n){if(Zf(e),r=KR(r),Zf(n),TG)try{return bw(e,r,n)}catch(i){}if("get"in n||"set"in n)throw new AG("Accessors not supported");return"value"in n&&(e[r]=n.value),e};var OG=ps,IG=Ua,PG=op,uf=OG?function(t,e,r){return IG.f(t,e,PG(1,r))}:function(t,e,r){return t[e]=r,t},Lk={exports:{}},u1=ps,DG=Vo,$k=Function.prototype,kG=u1&&Object.getOwnPropertyDescriptor,sy=DG($k,"name"),NG=sy&&function(){}.name==="something",HG=sy&&(!u1||u1&&kG($k,"name").configurable),FG={EXISTS:sy,PROPER:NG,CONFIGURABLE:HG},LG=Fn,$G=pn,h1=up.exports,BG=LG(Function.toString);$G(h1.inspectSource)||(h1.inspectSource=function(t){return BG(t)});var WG=h1.inspectSource,VG=mn,UG=pn,XR=VG.WeakMap,GG=UG(XR)&&/native code/.test(String(XR)),YG=Dk,zG=kk,qR=YG("keys"),Bk=function(t){return qR[t]||(qR[t]=zG(t))},oy={},jG=GG,Wk=mn,KG=Va,XG=uf,_w=Vo,Aw=up.exports,qG=Bk,ZG=oy,ZR="Object already initialized",d1=Wk.TypeError,JG=Wk.WeakMap,am,Bd,lm,QG=function(t){return lm(t)?Bd(t):am(t,{})},eY=function(t){return function(e){var r;if(!KG(e)||(r=Bd(e)).type!==t)throw new d1("Incompatible receiver, "+t+" required");return r}};if(jG||Aw.state){var ys=Aw.state||(Aw.state=new JG);ys.get=ys.get,ys.has=ys.has,ys.set=ys.set,am=function(t,e){if(ys.has(t))throw new d1(ZR);return e.facade=t,ys.set(t,e),e},Bd=function(t){return ys.get(t)||{}},lm=function(t){return ys.has(t)}}else{var mc=qG("state");ZG[mc]=!0,am=function(t,e){if(_w(t,mc))throw new d1(ZR);return e.facade=t,XG(t,mc,e),e},Bd=function(t){return _w(t,mc)?t[mc]:{}},lm=function(t){return _w(t,mc)}}var tY={set:am,get:Bd,has:lm,enforce:QG,getterFor:eY},ay=Fn,rY=Fi,nY=pn,Jf=Vo,f1=ps,iY=FG.CONFIGURABLE,sY=WG,Vk=tY,oY=Vk.enforce,aY=Vk.get,JR=String,b0=Object.defineProperty,lY=ay("".slice),cY=ay("".replace),uY=ay([].join),hY=f1&&!rY(function(){return b0(function(){},"length",{value:8}).length!==8}),dY=String(String).split("String"),fY=Lk.exports=function(t,e,r){lY(JR(e),0,7)==="Symbol("&&(e="["+cY(JR(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!Jf(t,"name")||iY&&t.name!==e)&&(f1?b0(t,"name",{value:e,configurable:!0}):t.name=e),hY&&r&&Jf(r,"arity")&&t.length!==r.arity&&b0(t,"length",{value:r.arity});try{r&&Jf(r,"constructor")&&r.constructor?f1&&b0(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(i){}var n=oY(t);return Jf(n,"source")||(n.source=uY(dY,typeof e=="string"?e:"")),t};Function.prototype.toString=fY(function(){return nY(this)&&aY(this).source||sY(this)},"toString");var gY=pn,mY=Ua,pY=Lk.exports,wY=ny,vY=function(t,e,r,n){n||(n={});var i=n.enumerable,s=n.name!==void 0?n.name:e;if(gY(r)&&pY(r,s,n),n.global)i?t[e]=r:wY(e,r);else{try{n.unsafe?t[e]&&(i=!0):delete t[e]}catch(o){}i?t[e]=r:mY.f(t,e,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return t},Uk={},CY=Math.ceil,SY=Math.floor,yY=Math.trunc||function(e){var r=+e;return(r>0?SY:CY)(r)},xY=yY,ly=function(t){var e=+t;return e!==e||e===0?0:xY(e)},bY=ly,EY=Math.max,RY=Math.min,TY=function(t,e){var r=bY(t);return r<0?EY(r+e,0):RY(r,e)},_Y=ly,AY=Math.min,MY=function(t){var e=_Y(t);return e>0?AY(e,9007199254740991):0},OY=MY,hf=function(t){return OY(t.length)},IY=ap,PY=TY,DY=hf,QR=function(t){return function(e,r,n){var i=IY(e),s=DY(i);if(s===0)return!t&&-1;var o=PY(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}},kY={includes:QR(!0),indexOf:QR(!1)},NY=Fn,Mw=Vo,HY=ap,FY=kY.indexOf,LY=oy,eT=NY([].push),Gk=function(t,e){var r=HY(t),n=0,i=[],s;for(s in r)!Mw(LY,s)&&Mw(r,s)&&eT(i,s);for(;e.length>n;)Mw(r,s=e[n++])&&(~FY(i,s)||eT(i,s));return i},cy=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],$Y=Gk,BY=cy,WY=BY.concat("length","prototype");Uk.f=Object.getOwnPropertyNames||function(e){return $Y(e,WY)};var Yk={};Yk.f=Object.getOwnPropertySymbols;var VY=cf,UY=Fn,GY=Uk,YY=Yk,zY=Ga,jY=UY([].concat),KY=VY("Reflect","ownKeys")||function(e){var r=GY.f(zY(e)),n=YY.f;return n?jY(r,n(e)):r},tT=Vo,XY=KY,qY=qS,ZY=Ua,zk=function(t,e,r){for(var n=XY(e),i=ZY.f,s=qY.f,o=0;oCz)throw vz("Maximum allowed index exceeded");return t},Sz=Ya,yz=hp,xz=hf,bz=Kk,Ez=Xk,Rz=Fi,Tz=Rz(function(){return[].push.call({length:4294967296},1)!==4294967297}),_z=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}},Az=Tz||!_z();Sz({target:"Array",proto:!0,arity:1,forced:Az},{push:function(e){var r=yz(this),n=xz(r),i=arguments.length;Ez(n+i);for(var s=0;ss&&Tj(m,arguments[s]),m});h.prototype=c,a!=="Error"?lT?lT(h,u):cT(h,u,{name:!0}):Aj&&i in l&&(uT(h,l,i),uT(h,l,"prepareStackTrace")),cT(h,l);try{c.name!==a&&aT(c,"name",a),c.constructor=h}catch(d){}return h}},nN=Ya,Oj=mn,eo=dp,iN=Mj,g1="WebAssembly",hT=Oj[g1],cm=new Error("e",{cause:7}).cause!==7,lc=function(t,e){var r={};r[t]=iN(t,e,cm),nN({global:!0,constructor:!0,arity:1,forced:cm},r)},uy=function(t,e){if(hT&&hT[t]){var r={};r[t]=iN(g1+"."+t,e,cm),nN({target:g1,stat:!0,constructor:!0,arity:1,forced:cm},r)}};lc("Error",function(t){return function(r){return eo(t,this,arguments)}});lc("EvalError",function(t){return function(r){return eo(t,this,arguments)}});lc("RangeError",function(t){return function(r){return eo(t,this,arguments)}});lc("ReferenceError",function(t){return function(r){return eo(t,this,arguments)}});lc("SyntaxError",function(t){return function(r){return eo(t,this,arguments)}});lc("TypeError",function(t){return function(r){return eo(t,this,arguments)}});lc("URIError",function(t){return function(r){return eo(t,this,arguments)}});uy("CompileError",function(t){return function(r){return eo(t,this,arguments)}});uy("LinkError",function(t){return function(r){return eo(t,this,arguments)}});uy("RuntimeError",function(t){return function(r){return eo(t,this,arguments)}});var Ij=Lu,Pj=Fn,Dj=function(t){if(Ij(t)==="Function")return Pj(t)},dT=Dj,kj=cp,Nj=sp,Hj=dT(dT.bind),sN=function(t,e){return kj(t),e===void 0?t:Nj?Hj(t,e):function(){return t.apply(e,arguments)}},Fj=cf,oN=Fj("document","documentElement"),Lj=Fn,hy=Lj([].slice),$j=TypeError,aN=function(t,e){if(tr,o=sK(n)?n:uK(n),a=s?lK(arguments,r):[],l=s?function(){iK(o,this,a)}:o;return e?t(l,i):t(l)}:t},fK=Ya,hN=mn,yT=cN.set,gK=dK,xT=hN.setImmediate?gK(yT,!1):yT;fK({global:!0,bind:!0,enumerable:!0,forced:hN.setImmediate!==xT},{setImmediate:xT});/*! @license DOMPurify 2.4.7 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.4.7/LICENSE */function pa(t){return pa=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},pa(t)}function w1(t,e){return w1=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},w1(t,e)}function mK(){if(typeof Reflect=="undefined"||!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(t){return!1}}function R0(t,e,r){return mK()?R0=Reflect.construct:R0=function(i,s,o){var a=[null];a.push.apply(a,s);var l=Function.bind.apply(i,a),c=new l;return o&&w1(c,o.prototype),c},R0.apply(null,arguments)}function Qi(t){return pK(t)||wK(t)||vK(t)||CK()}function pK(t){if(Array.isArray(t))return v1(t)}function wK(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function vK(t,e){if(!!t){if(typeof t=="string")return v1(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 v1(t,e)}}function v1(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),kK=hs(/\${[\w\W]*}/gm),NK=hs(/^data-[\-\w.\u00B7-\uFFFF]/),HK=hs(/^aria-[\-\w]+$/),FK=hs(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),LK=hs(/^(?:\w+script|data):/i),$K=hs(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),BK=hs(/^html$/i),WK=function(){return typeof window=="undefined"?null:window},VK=function(e,r){if(pa(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(o){return console.warn("TrustedTypes policy "+s+" could not be created."),null}};function fN(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:WK(),e=function(P){return fN(P)};if(e.version="2.4.7",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=eg(g,"cloneNode"),w=eg(g,"nextSibling"),C=eg(g,"childNodes"),S=eg(g,"parentNode");if(typeof s=="function"){var v=n.createElement("template");v.content&&v.content.ownerDocument&&(n=v.content.ownerDocument)}var T=VK(f,r),A=T?T.createHTML(""):"",M=n,E=M.implementation,Y=M.createNodeIterator,D=M.createDocumentFragment,U=M.getElementsByTagName,X=r.importNode,G={};try{G=Ja(n).documentMode?n.documentMode:{}}catch(Z){}var ae={};e.isSupported=typeof S=="function"&&E&&E.createHTMLDocument!==void 0&&G!==9;var ve=PK,me=DK,Re=kK,Ce=NK,_e=HK,p=LK,y=$K,b=FK,x=null,O=ft({},[].concat(Qi(RT),Qi(Fw),Qi(Lw),Qi($w),Qi(TT))),_=null,N=ft({},[].concat(Qi(_T),Qi(Bw),Qi(AT),Qi(tg))),K=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}})),le=null,ce=null,te=!0,ge=!0,Me=!1,L=!0,Fe=!1,ue=!1,ze=!1,Ie=!1,we=!1,Be=!1,Le=!1,I=!0,F=!1,z="user-content-",se=!0,q=!1,ie={},Q=null,ee=ft({},["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"]),oe=null,ne=ft({},["audio","video","img","source","image","track"]),J=null,Se=ft({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Oe="http://www.w3.org/1998/Math/MathML",Pe="http://www.w3.org/2000/svg",je="http://www.w3.org/1999/xhtml",Qe=je,kt=!1,lt=null,Rt=ft({},[Oe,Pe,je],Nw),$t,no=["application/xhtml+xml","text/html"],Xa="text/html",qt,hr=null,io=n.createElement("form"),Gr=function(P){return P instanceof RegExp||P instanceof Function},pr=function(P){hr&&hr===P||((!P||pa(P)!=="object")&&(P={}),P=Ja(P),$t=no.indexOf(P.PARSER_MEDIA_TYPE)===-1?$t=Xa:$t=P.PARSER_MEDIA_TYPE,qt=$t==="application/xhtml+xml"?Nw:T0,x="ALLOWED_TAGS"in P?ft({},P.ALLOWED_TAGS,qt):O,_="ALLOWED_ATTR"in P?ft({},P.ALLOWED_ATTR,qt):N,lt="ALLOWED_NAMESPACES"in P?ft({},P.ALLOWED_NAMESPACES,Nw):Rt,J="ADD_URI_SAFE_ATTR"in P?ft(Ja(Se),P.ADD_URI_SAFE_ATTR,qt):Se,oe="ADD_DATA_URI_TAGS"in P?ft(Ja(ne),P.ADD_DATA_URI_TAGS,qt):ne,Q="FORBID_CONTENTS"in P?ft({},P.FORBID_CONTENTS,qt):ee,le="FORBID_TAGS"in P?ft({},P.FORBID_TAGS,qt):{},ce="FORBID_ATTR"in P?ft({},P.FORBID_ATTR,qt):{},ie="USE_PROFILES"in P?P.USE_PROFILES:!1,te=P.ALLOW_ARIA_ATTR!==!1,ge=P.ALLOW_DATA_ATTR!==!1,Me=P.ALLOW_UNKNOWN_PROTOCOLS||!1,L=P.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Fe=P.SAFE_FOR_TEMPLATES||!1,ue=P.WHOLE_DOCUMENT||!1,we=P.RETURN_DOM||!1,Be=P.RETURN_DOM_FRAGMENT||!1,Le=P.RETURN_TRUSTED_TYPE||!1,Ie=P.FORCE_BODY||!1,I=P.SANITIZE_DOM!==!1,F=P.SANITIZE_NAMED_PROPS||!1,se=P.KEEP_CONTENT!==!1,q=P.IN_PLACE||!1,b=P.ALLOWED_URI_REGEXP||b,Qe=P.NAMESPACE||je,K=P.CUSTOM_ELEMENT_HANDLING||{},P.CUSTOM_ELEMENT_HANDLING&&Gr(P.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(K.tagNameCheck=P.CUSTOM_ELEMENT_HANDLING.tagNameCheck),P.CUSTOM_ELEMENT_HANDLING&&Gr(P.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(K.attributeNameCheck=P.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),P.CUSTOM_ELEMENT_HANDLING&&typeof P.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(K.allowCustomizedBuiltInElements=P.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Fe&&(ge=!1),Be&&(we=!0),ie&&(x=ft({},Qi(TT)),_=[],ie.html===!0&&(ft(x,RT),ft(_,_T)),ie.svg===!0&&(ft(x,Fw),ft(_,Bw),ft(_,tg)),ie.svgFilters===!0&&(ft(x,Lw),ft(_,Bw),ft(_,tg)),ie.mathMl===!0&&(ft(x,$w),ft(_,AT),ft(_,tg))),P.ADD_TAGS&&(x===O&&(x=Ja(x)),ft(x,P.ADD_TAGS,qt)),P.ADD_ATTR&&(_===N&&(_=Ja(_)),ft(_,P.ADD_ATTR,qt)),P.ADD_URI_SAFE_ATTR&&ft(J,P.ADD_URI_SAFE_ATTR,qt),P.FORBID_CONTENTS&&(Q===ee&&(Q=Ja(Q)),ft(Q,P.FORBID_CONTENTS,qt)),se&&(x["#text"]=!0),ue&&ft(x,["html","head","body"]),x.table&&(ft(x,["tbody"]),delete le.tbody),Nn&&Nn(P),hr=P)},Bt=ft({},["mi","mo","mn","ms","mtext"]),Pf=ft({},["foreignobject","desc","title","annotation-xml"]),tw=ft({},["title","style","font","a","script"]),dc=ft({},Fw);ft(dc,Lw),ft(dc,OK);var qu=ft({},$w);ft(qu,IK);var Zu=function(P){var re=S(P);(!re||!re.tagName)&&(re={namespaceURI:Qe,tagName:"template"});var fe=T0(P.tagName),Ee=T0(re.tagName);return lt[P.namespaceURI]?P.namespaceURI===Pe?re.namespaceURI===je?fe==="svg":re.namespaceURI===Oe?fe==="svg"&&(Ee==="annotation-xml"||Bt[Ee]):Boolean(dc[fe]):P.namespaceURI===Oe?re.namespaceURI===je?fe==="math":re.namespaceURI===Pe?fe==="math"&&Pf[Ee]:Boolean(qu[fe]):P.namespaceURI===je?re.namespaceURI===Pe&&!Pf[Ee]||re.namespaceURI===Oe&&!Bt[Ee]?!1:!qu[fe]&&(tw[fe]||!dc[fe]):!!($t==="application/xhtml+xml"&<[P.namespaceURI]):!1},Bi=function(P){rh(e.removed,{element:P});try{P.parentNode.removeChild(P)}catch(re){try{P.outerHTML=A}catch(fe){P.remove()}}},Ju=function(P,re){try{rh(e.removed,{attribute:re.getAttributeNode(P),from:re})}catch(fe){rh(e.removed,{attribute:null,from:re})}if(re.removeAttribute(P),P==="is"&&!_[P])if(we||Be)try{Bi(re)}catch(fe){}else try{re.setAttribute(P,"")}catch(fe){}},Df=function(P){var re,fe;if(Ie)P=""+P;else{var Ee=TK(P,/^[\r\n\t ]+/);fe=Ee&&Ee[0]}$t==="application/xhtml+xml"&&Qe===je&&(P=''+P+"");var xe=T?T.createHTML(P):P;if(Qe===je)try{re=new d().parseFromString(xe,$t)}catch(Ge){}if(!re||!re.documentElement){re=E.createDocument(Qe,"template",null);try{re.documentElement.innerHTML=kt?A:xe}catch(Ge){}}var Ae=re.body||re.documentElement;return P&&fe&&Ae.insertBefore(n.createTextNode(fe),Ae.childNodes[0]||null),Qe===je?U.call(re,ue?"html":"body")[0]:ue?re.documentElement:Ae},R=function(P){return Y.call(P.ownerDocument||P,P,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT,null,!1)},B=function(P){return P instanceof h&&(typeof P.nodeName!="string"||typeof P.textContent!="string"||typeof P.removeChild!="function"||!(P.attributes instanceof u)||typeof P.removeAttribute!="function"||typeof P.setAttribute!="function"||typeof P.namespaceURI!="string"||typeof P.insertBefore!="function"||typeof P.hasChildNodes!="function")},k=function(P){return pa(o)==="object"?P instanceof o:P&&pa(P)==="object"&&typeof P.nodeType=="number"&&typeof P.nodeName=="string"},H=function(P,re,fe){!ae[P]||RK(ae[P],function(Ee){Ee.call(e,re,fe,hr)})},W=function(P){var re;if(H("beforeSanitizeElements",P,null),B(P)||yn(/[\u0080-\uFFFF]/,P.nodeName))return Bi(P),!0;var fe=qt(P.nodeName);if(H("uponSanitizeElement",P,{tagName:fe,allowedTags:x}),P.hasChildNodes()&&!k(P.firstElementChild)&&(!k(P.content)||!k(P.content.firstElementChild))&&yn(/<[/\w]/g,P.innerHTML)&&yn(/<[/\w]/g,P.textContent)||fe==="select"&&yn(/