diff --git a/assets/main-935961cf.js b/assets/main-5ac58fd8.js similarity index 96% rename from assets/main-935961cf.js rename to assets/main-5ac58fd8.js index c2c262b..3d91b1a 100644 --- a/assets/main-935961cf.js +++ b/assets/main-5ac58fd8.js @@ -63,13 +63,13 @@ `+a[0]+` `,f=1;f")}),r.push(""),r.length>2&&(r[r.length]="",r[1]=r[1].replace("/>",">")),r.join("")}function Id(e,r,t){var n=[We,q("ThreadedComments",null,{xmlns:Ve.TCMNT}).replace(/[\/]>/,">")];return e.forEach(function(i){var a="";(i[1]||[]).forEach(function(s,f){if(!s.T){delete s.ID;return}s.a&&r.indexOf(s.a)==-1&&r.push(s.a);var l={ref:i[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+t.tcid++).slice(-12)+"}"};f==0?a=l.id:l.parentId=a,s.ID=l.id,s.a&&(l.personId="{54EE7950-7262-4200-6969-"+("000000000000"+r.indexOf(s.a)).slice(-12)+"}"),n.push(q("threadedComment",qe("text",s.t||""),l))})}),n.push(""),n.join("")}function kd(e){var r=[We,q("personList",null,{xmlns:Ve.TCMNT,"xmlns:x":zr[0]}).replace(/[\/]>/,">")];return e.forEach(function(t,n){r.push(q("person",null,{displayName:t,id:"{54EE7950-7262-4200-6969-"+("000000000000"+n).slice(-12)+"}",userId:t,providerId:"None"}))}),r.push(""),r.join("")}function Nd(e){var r={};r.iauthor=e.read_shift(4);var t=Cr(e);return r.rfx=t.s,r.ref=Se(t.s),e.l+=16,r}function Rd(e,r){return r==null&&(r=B(36)),r.write_shift(4,e[1].iauthor),Kr(e[0],r),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(4,0),r}var Ld=nt;function Pd(e){return Xe(e.slice(0,54))}function Md(e){var r=ct(),t=[];return X(r,628),X(r,630),e.forEach(function(n){n[1].forEach(function(i){t.indexOf(i.a)>-1||(t.push(i.a.slice(0,54)),X(r,632,Pd(i.a)))})}),X(r,631),X(r,633),e.forEach(function(n){n[1].forEach(function(i){i.iauthor=t.indexOf(i.a);var a={s:Ge(n[0]),e:Ge(n[0])};X(r,635,Rd([a,i])),i.t&&i.t.length>0&&X(r,637,Bh(i)),X(r,636),delete i.iauthor})}),X(r,634),X(r,629),r.end()}function bd(e,r){r.FullPaths.forEach(function(t,n){if(n!=0){var i=t.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");i.slice(-1)!=="/"&&Ae.utils.cfb_add(e,i,r.FileIndex[n].content)}})}var If=["xlsb","xlsm","xlam","biff8","xla"],Bd=function(){var e=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,r={r:0,c:0};function t(n,i,a,s){var f=!1,l=!1;a.length==0?l=!0:a.charAt(0)=="["&&(l=!0,a=a.slice(1,-1)),s.length==0?f=!0:s.charAt(0)=="["&&(f=!0,s=s.slice(1,-1));var o=a.length>0?parseInt(a,10)|0:0,c=s.length>0?parseInt(s,10)|0:0;return f?c+=r.c:--c,l?o+=r.r:--o,i+(f?"":"$")+rt(c)+(l?"":"$")+Ze(o)}return function(i,a){return r=a,i.replace(e,t)}}(),ga=/(^|[^._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,_a=function(){return function(r,t){return r.replace(ga,function(n,i,a,s,f,l){var o=ha(s)-(a?0:t.c),c=ua(l)-(f?0:t.r),h=c==0?"":f?c+1:"["+c+"]",u=o==0?"":a?o+1:"["+o+"]";return i+"R"+h+"C"+u})}}();function Ud(e,r){return e.replace(ga,function(t,n,i,a,s,f){return n+(i=="$"?i+a:rt(ha(a)+r.c))+(s=="$"?s+f:Ze(ua(f)+r.r))})}function $d(e){return e.length!=1}function Ue(e){e.l+=1}function nr(e,r){var t=e.read_shift(r==1?1:2);return[t&16383,t>>14&1,t>>15&1]}function kf(e,r,t){var n=2;if(t){if(t.biff>=2&&t.biff<=5)return Nf(e);t.biff==12&&(n=4)}var i=e.read_shift(n),a=e.read_shift(n),s=nr(e,2),f=nr(e,2);return{s:{r:i,c:s[0],cRel:s[1],rRel:s[2]},e:{r:a,c:f[0],cRel:f[1],rRel:f[2]}}}function Nf(e){var r=nr(e,2),t=nr(e,2),n=e.read_shift(1),i=e.read_shift(1);return{s:{r:r[0],c:n,cRel:r[1],rRel:r[2]},e:{r:t[0],c:i,cRel:t[1],rRel:t[2]}}}function Wd(e,r,t){if(t.biff<8)return Nf(e);var n=e.read_shift(t.biff==12?4:2),i=e.read_shift(t.biff==12?4:2),a=nr(e,2),s=nr(e,2);return{s:{r:n,c:a[0],cRel:a[1],rRel:a[2]},e:{r:i,c:s[0],cRel:s[1],rRel:s[2]}}}function Rf(e,r,t){if(t&&t.biff>=2&&t.biff<=5)return Hd(e);var n=e.read_shift(t&&t.biff==12?4:2),i=nr(e,2);return{r:n,c:i[0],cRel:i[1],rRel:i[2]}}function Hd(e){var r=nr(e,2),t=e.read_shift(1);return{r:r[0],c:t,cRel:r[1],rRel:r[2]}}function Vd(e){var r=e.read_shift(2),t=e.read_shift(2);return{r,c:t&255,fQuoted:!!(t&16384),cRel:t>>15,rRel:t>>15}}function Gd(e,r,t){var n=t&&t.biff?t.biff:8;if(n>=2&&n<=5)return Xd(e);var i=e.read_shift(n>=12?4:2),a=e.read_shift(2),s=(a&16384)>>14,f=(a&32768)>>15;if(a&=16383,f==1)for(;i>524287;)i-=1048576;if(s==1)for(;a>8191;)a=a-16384;return{r:i,c:a,cRel:s,rRel:f}}function Xd(e){var r=e.read_shift(2),t=e.read_shift(1),n=(r&32768)>>15,i=(r&16384)>>14;return r&=16383,n==1&&r>=8192&&(r=r-16384),i==1&&t>=128&&(t=t-256),{r,c:t,cRel:i,rRel:n}}function zd(e,r,t){var n=(e[e.l++]&96)>>5,i=kf(e,t.biff>=2&&t.biff<=5?6:8,t);return[n,i]}function jd(e,r,t){var n=(e[e.l++]&96)>>5,i=e.read_shift(2,"i"),a=8;if(t)switch(t.biff){case 5:e.l+=12,a=6;break;case 12:a=12;break}var s=kf(e,a,t);return[n,i,s]}function Kd(e,r,t){var n=(e[e.l++]&96)>>5;return e.l+=t&&t.biff>8?12:t.biff<8?6:8,[n]}function Yd(e,r,t){var n=(e[e.l++]&96)>>5,i=e.read_shift(2),a=8;if(t)switch(t.biff){case 5:e.l+=12,a=6;break;case 12:a=12;break}return e.l+=a,[n,i]}function Jd(e,r,t){var n=(e[e.l++]&96)>>5,i=Wd(e,r-1,t);return[n,i]}function qd(e,r,t){var n=(e[e.l++]&96)>>5;return e.l+=t.biff==2?6:t.biff==12?14:7,[n]}function y0(e){var r=e[e.l+1]&1,t=1;return e.l+=4,[r,t]}function Zd(e,r,t){e.l+=2;for(var n=e.read_shift(t&&t.biff==2?1:2),i=[],a=0;a<=n;++a)i.push(e.read_shift(t&&t.biff==2?1:2));return i}function Qd(e,r,t){var n=e[e.l+1]&255?1:0;return e.l+=2,[n,e.read_shift(t&&t.biff==2?1:2)]}function ex(e,r,t){var n=e[e.l+1]&255?1:0;return e.l+=2,[n,e.read_shift(t&&t.biff==2?1:2)]}function tx(e){var r=e[e.l+1]&255?1:0;return e.l+=2,[r,e.read_shift(2)]}function rx(e,r,t){var n=e[e.l+1]&255?1:0;return e.l+=t&&t.biff==2?3:4,[n]}function Lf(e){var r=e.read_shift(1),t=e.read_shift(1);return[r,t]}function nx(e){return e.read_shift(2),Lf(e)}function ix(e){return e.read_shift(2),Lf(e)}function ax(e,r,t){var n=(e[e.l]&96)>>5;e.l+=1;var i=Rf(e,0,t);return[n,i]}function sx(e,r,t){var n=(e[e.l]&96)>>5;e.l+=1;var i=Gd(e,0,t);return[n,i]}function fx(e,r,t){var n=(e[e.l]&96)>>5;e.l+=1;var i=e.read_shift(2);t&&t.biff==5&&(e.l+=12);var a=Rf(e,0,t);return[n,i,a]}function lx(e,r,t){var n=(e[e.l]&96)>>5;e.l+=1;var i=e.read_shift(t&&t.biff<=3?1:2);return[l2[i],bf[i],n]}function ox(e,r,t){var n=e[e.l++],i=e.read_shift(1),a=t&&t.biff<=3?[n==88?-1:0,e.read_shift(1)]:cx(e);return[i,(a[0]===0?bf:f2)[a[1]]]}function cx(e){return[e[e.l+1]>>7,e.read_shift(2)&32767]}function ux(e,r,t){e.l+=t&&t.biff==2?3:4}function hx(e,r,t){if(e.l++,t&&t.biff==12)return[e.read_shift(4,"i"),0];var n=e.read_shift(2),i=e.read_shift(t&&t.biff==2?1:2);return[n,i]}function dx(e){return e.l++,Tn[e.read_shift(1)]}function xx(e){return e.l++,e.read_shift(2)}function px(e){return e.l++,e.read_shift(1)!==0}function vx(e){return e.l++,Yr(e)}function mx(e,r,t){return e.l++,vf(e,r-1,t)}function gx(e,r){var t=[e.read_shift(1)];if(r==12)switch(t[0]){case 2:t[0]=4;break;case 4:t[0]=16;break;case 0:t[0]=1;break;case 1:t[0]=2;break}switch(t[0]){case 4:t[1]=f1(e,1)?"TRUE":"FALSE",r!=12&&(e.l+=7);break;case 37:case 16:t[1]=Tn[e[e.l]],e.l+=r==12?4:8;break;case 0:e.l+=8;break;case 1:t[1]=Yr(e);break;case 2:t[1]=u1(e,0,{biff:r>0&&r<8?2:r});break;default:throw new Error("Bad SerAr: "+t[0])}return t}function _x(e,r,t){for(var n=e.read_shift(t.biff==12?4:2),i=[],a=0;a!=n;++a)i.push((t.biff==12?Cr:x1)(e));return i}function Ex(e,r,t){var n=0,i=0;t.biff==12?(n=e.read_shift(4),i=e.read_shift(4)):(i=1+e.read_shift(1),n=1+e.read_shift(2)),t.biff>=2&&t.biff<8&&(--n,--i==0&&(i=256));for(var a=0,s=[];a!=n&&(s[a]=[]);++a)for(var f=0;f!=i;++f)s[a][f]=gx(e,t.biff);return s}function Tx(e,r,t){var n=e.read_shift(1)>>>5&3,i=!t||t.biff>=8?4:2,a=e.read_shift(i);switch(t.biff){case 2:e.l+=5;break;case 3:case 4:e.l+=8;break;case 5:e.l+=12;break}return[n,0,a]}function wx(e,r,t){if(t.biff==5)return Sx(e);var n=e.read_shift(1)>>>5&3,i=e.read_shift(2),a=e.read_shift(4);return[n,i,a]}function Sx(e){var r=e.read_shift(1)>>>5&3,t=e.read_shift(2,"i");e.l+=8;var n=e.read_shift(2);return e.l+=12,[r,t,n]}function Ax(e,r,t){var n=e.read_shift(1)>>>5&3;e.l+=t&&t.biff==2?3:4;var i=e.read_shift(t&&t.biff==2?1:2);return[n,i]}function yx(e,r,t){var n=e.read_shift(1)>>>5&3,i=e.read_shift(t&&t.biff==2?1:2);return[n,i]}function Fx(e,r,t){var n=e.read_shift(1)>>>5&3;return e.l+=4,t.biff<8&&e.l--,t.biff==12&&(e.l+=2),[n]}function Cx(e,r,t){var n=(e[e.l++]&96)>>5,i=e.read_shift(2),a=4;if(t)switch(t.biff){case 5:a=15;break;case 12:a=6;break}return e.l+=a,[n,i]}var Ox=Mt,Dx=Mt,Ix=Mt;function wn(e,r,t){return e.l+=2,[Vd(e)]}function Ea(e){return e.l+=6,[]}var kx=wn,Nx=Ea,Rx=Ea,Lx=wn;function Pf(e){return e.l+=2,[xf(e),e.read_shift(2)&1]}var Px=wn,Mx=Pf,bx=Ea,Bx=wn,Ux=wn,$x=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];function Wx(e){e.l+=2;var r=e.read_shift(2),t=e.read_shift(2),n=e.read_shift(4),i=e.read_shift(2),a=e.read_shift(2),s=$x[t>>2&31];return{ixti:r,coltype:t&3,rt:s,idx:n,c:i,C:a}}function Hx(e){return e.l+=2,[e.read_shift(4)]}function Vx(e,r,t){return e.l+=5,e.l+=2,e.l+=t.biff==2?1:4,["PTGSHEET"]}function Gx(e,r,t){return e.l+=t.biff==2?4:5,["PTGENDSHEET"]}function Xx(e){var r=e.read_shift(1)>>>5&3,t=e.read_shift(2);return[r,t]}function zx(e){var r=e.read_shift(1)>>>5&3,t=e.read_shift(2);return[r,t]}function jx(e){return e.l+=4,[0,0]}var F0={1:{n:"PtgExp",f:hx},2:{n:"PtgTbl",f:Ix},3:{n:"PtgAdd",f:Ue},4:{n:"PtgSub",f:Ue},5:{n:"PtgMul",f:Ue},6:{n:"PtgDiv",f:Ue},7:{n:"PtgPower",f:Ue},8:{n:"PtgConcat",f:Ue},9:{n:"PtgLt",f:Ue},10:{n:"PtgLe",f:Ue},11:{n:"PtgEq",f:Ue},12:{n:"PtgGe",f:Ue},13:{n:"PtgGt",f:Ue},14:{n:"PtgNe",f:Ue},15:{n:"PtgIsect",f:Ue},16:{n:"PtgUnion",f:Ue},17:{n:"PtgRange",f:Ue},18:{n:"PtgUplus",f:Ue},19:{n:"PtgUminus",f:Ue},20:{n:"PtgPercent",f:Ue},21:{n:"PtgParen",f:Ue},22:{n:"PtgMissArg",f:Ue},23:{n:"PtgStr",f:mx},26:{n:"PtgSheet",f:Vx},27:{n:"PtgEndSheet",f:Gx},28:{n:"PtgErr",f:dx},29:{n:"PtgBool",f:px},30:{n:"PtgInt",f:xx},31:{n:"PtgNum",f:vx},32:{n:"PtgArray",f:qd},33:{n:"PtgFunc",f:lx},34:{n:"PtgFuncVar",f:ox},35:{n:"PtgName",f:Tx},36:{n:"PtgRef",f:ax},37:{n:"PtgArea",f:zd},38:{n:"PtgMemArea",f:Ax},39:{n:"PtgMemErr",f:Ox},40:{n:"PtgMemNoMem",f:Dx},41:{n:"PtgMemFunc",f:yx},42:{n:"PtgRefErr",f:Fx},43:{n:"PtgAreaErr",f:Kd},44:{n:"PtgRefN",f:sx},45:{n:"PtgAreaN",f:Jd},46:{n:"PtgMemAreaN",f:Xx},47:{n:"PtgMemNoMemN",f:zx},57:{n:"PtgNameX",f:wx},58:{n:"PtgRef3d",f:fx},59:{n:"PtgArea3d",f:jd},60:{n:"PtgRefErr3d",f:Cx},61:{n:"PtgAreaErr3d",f:Yd},255:{}},Kx={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},Yx={1:{n:"PtgElfLel",f:Pf},2:{n:"PtgElfRw",f:Bx},3:{n:"PtgElfCol",f:kx},6:{n:"PtgElfRwV",f:Ux},7:{n:"PtgElfColV",f:Lx},10:{n:"PtgElfRadical",f:Px},11:{n:"PtgElfRadicalS",f:bx},13:{n:"PtgElfColS",f:Nx},15:{n:"PtgElfColSV",f:Rx},16:{n:"PtgElfRadicalLel",f:Mx},25:{n:"PtgList",f:Wx},29:{n:"PtgSxName",f:Hx},255:{}},Jx={0:{n:"PtgAttrNoop",f:jx},1:{n:"PtgAttrSemi",f:rx},2:{n:"PtgAttrIf",f:ex},4:{n:"PtgAttrChoose",f:Zd},8:{n:"PtgAttrGoto",f:Qd},16:{n:"PtgAttrSum",f:ux},32:{n:"PtgAttrBaxcel",f:y0},33:{n:"PtgAttrBaxcel",f:y0},64:{n:"PtgAttrSpace",f:nx},65:{n:"PtgAttrSpaceSemi",f:ix},128:{n:"PtgAttrIfError",f:tx},255:{}};function qx(e,r,t,n){if(n.biff<8)return Mt(e,r);for(var i=e.l+r,a=[],s=0;s!==t.length;++s)switch(t[s][0]){case"PtgArray":t[s][1]=Ex(e,0,n),a.push(t[s][1]);break;case"PtgMemArea":t[s][2]=_x(e,t[s][1],n),a.push(t[s][2]);break;case"PtgExp":n&&n.biff==12&&(t[s][1][1]=e.read_shift(4),a.push(t[s][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+t[s][0]}return r=i-e.l,r!==0&&a.push(Mt(e,r)),a}function Zx(e,r,t){for(var n=e.l+r,i,a,s=[];n!=e.l;)r=n-e.l,a=e[e.l],i=F0[a]||F0[Kx[a]],(a===24||a===25)&&(i=(a===24?Yx:Jx)[e[e.l+1]]),!i||!i.f?Mt(e,r):s.push([i.n,i.f(e,r,t)]);return s}function Qx(e){for(var r=[],t=0;t=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function t2(e,r){if(!e&&!(r&&r.biff<=5&&r.biff>=2))throw new Error("empty sheet name");return/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(e)?"'"+e+"'":e}function Mf(e,r,t){if(!e)return"SH33TJSERR0";if(t.biff>8&&(!e.XTI||!e.XTI[r]))return e.SheetNames[r];if(!e.XTI)return"SH33TJSERR6";var n=e.XTI[r];if(t.biff<8)return r>1e4&&(r-=65536),r<0&&(r=-r),r==0?"":e.XTI[r-1];if(!n)return"SH33TJSERR1";var i="";if(t.biff>8)switch(e[n[0]][0]){case 357:return i=n[1]==-1?"#REF":e.SheetNames[n[1]],n[1]==n[2]?i:i+":"+e.SheetNames[n[2]];case 358:return t.SID!=null?e.SheetNames[t.SID]:"SH33TJSSAME"+e[n[0]][0];case 355:default:return"SH33TJSSRC"+e[n[0]][0]}switch(e[n[0]][0][0]){case 1025:return i=n[1]==-1?"#REF":e.SheetNames[n[1]]||"SH33TJSERR3",n[1]==n[2]?i:i+":"+e.SheetNames[n[2]];case 14849:return e[n[0]].slice(1).map(function(a){return a.Name}).join(";;");default:return e[n[0]][0][3]?(i=n[1]==-1?"#REF":e[n[0]][0][3][n[1]]||"SH33TJSERR4",n[1]==n[2]?i:i+":"+e[n[0]][0][3][n[2]]):"SH33TJSERR2"}}function C0(e,r,t){var n=Mf(e,r,t);return n=="#REF"?n:t2(n,t)}function Hr(e,r,t,n,i){var a=i&&i.biff||8,s={s:{c:0,r:0},e:{c:0,r:0}},f=[],l,o,c,h=0,u=0,x,v="";if(!e[0]||!e[0][0])return"";for(var d=-1,m="",y=0,A=e[0].length;y=0){switch(e[0][d][1][0]){case 0:m=Pe(" ",e[0][d][1][1]);break;case 1:m=Pe("\r",e[0][d][1][1]);break;default:if(m="",i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][d][1][0])}o=o+m,d=-1}f.push(o+e2[F[0]]+l);break;case"PtgIsect":l=f.pop(),o=f.pop(),f.push(o+" "+l);break;case"PtgUnion":l=f.pop(),o=f.pop(),f.push(o+","+l);break;case"PtgRange":l=f.pop(),o=f.pop(),f.push(o+":"+l);break;case"PtgAttrChoose":break;case"PtgAttrGoto":break;case"PtgAttrIf":break;case"PtgAttrIfError":break;case"PtgRef":c=sn(F[1][1],s,i),f.push(fn(c,a));break;case"PtgRefN":c=t?sn(F[1][1],t,i):F[1][1],f.push(fn(c,a));break;case"PtgRef3d":h=F[1][1],c=sn(F[1][2],s,i),v=C0(n,h,i),f.push(v+"!"+fn(c,a));break;case"PtgFunc":case"PtgFuncVar":var I=F[1][0],z=F[1][1];I||(I=0),I&=127;var ee=I==0?[]:f.slice(-I);f.length-=I,z==="User"&&(z=ee.shift()),f.push(z+"("+ee.join(",")+")");break;case"PtgBool":f.push(F[1]?"TRUE":"FALSE");break;case"PtgInt":f.push(F[1]);break;case"PtgNum":f.push(String(F[1]));break;case"PtgStr":f.push('"'+F[1].replace(/"/g,'""')+'"');break;case"PtgErr":f.push(F[1]);break;case"PtgAreaN":x=u0(F[1][1],t?{s:t}:s,i),f.push(Ni(x,i));break;case"PtgArea":x=u0(F[1][1],s,i),f.push(Ni(x,i));break;case"PtgArea3d":h=F[1][1],x=F[1][2],v=C0(n,h,i),f.push(v+"!"+Ni(x,i));break;case"PtgAttrSum":f.push("SUM("+f.pop()+")");break;case"PtgAttrBaxcel":case"PtgAttrSemi":break;case"PtgName":u=F[1][2];var D=(n.names||[])[u-1]||(n[0]||[])[u],V=D?D.Name:"SH33TJSNAME"+String(u);V&&V.slice(0,6)=="_xlfn."&&!i.xlfn&&(V=V.slice(6)),f.push(V);break;case"PtgNameX":var P=F[1][1];u=F[1][2];var b;if(i.biff<=5)P<0&&(P=-P),n[P]&&(b=n[P][u]);else{var U="";if(((n[P]||[])[0]||[])[0]==14849||(((n[P]||[])[0]||[])[0]==1025?n[P][u]&&n[P][u].itab>0&&(U=n.SheetNames[n[P][u].itab-1]+"!"):U=n.SheetNames[u-1]+"!"),n[P]&&n[P][u])U+=n[P][u].Name;else if(n[0]&&n[0][u])U+=n[0][u].Name;else{var G=(Mf(n,P,i)||"").split(";;");G[u-1]?U=G[u-1]:U+="SH33TJSERRX"}f.push(U);break}b||(b={Name:"SH33TJSERRY"}),f.push(b.Name);break;case"PtgParen":var K="(",ce=")";if(d>=0){switch(m="",e[0][d][1][0]){case 2:K=Pe(" ",e[0][d][1][1])+K;break;case 3:K=Pe("\r",e[0][d][1][1])+K;break;case 4:ce=Pe(" ",e[0][d][1][1])+ce;break;case 5:ce=Pe("\r",e[0][d][1][1])+ce;break;default:if(i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][d][1][0])}d=-1}f.push(K+f.pop()+ce);break;case"PtgRefErr":f.push("#REF!");break;case"PtgRefErr3d":f.push("#REF!");break;case"PtgExp":c={c:F[1][1],r:F[1][0]};var le={c:t.c,r:t.r};if(n.sharedf[Se(c)]){var de=n.sharedf[Se(c)];f.push(Hr(de,s,le,n,i))}else{var xe=!1;for(l=0;l!=n.arrayf.length;++l)if(o=n.arrayf[l],!(c.co[0].e.c)&&!(c.ro[0].e.r)){f.push(Hr(o[1],s,le,n,i)),xe=!0;break}xe||f.push(F[1])}break;case"PtgArray":f.push("{"+Qx(F[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":d=y;break;case"PtgTbl":break;case"PtgMemErr":break;case"PtgMissArg":f.push("");break;case"PtgAreaErr":f.push("#REF!");break;case"PtgAreaErr3d":f.push("#REF!");break;case"PtgList":f.push("Table"+F[1].idx+"[#"+F[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(F));default:throw new Error("Unrecognized Formula Token: "+String(F))}var ze=["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"];if(i.biff!=3&&d>=0&&ze.indexOf(e[0][y][0])==-1){F=e[0][d];var Be=!0;switch(F[1][0]){case 4:Be=!1;case 0:m=Pe(" ",F[1][1]);break;case 5:Be=!1;case 1:m=Pe("\r",F[1][1]);break;default:if(m="",i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+F[1][0])}f.push((Be?m:"")+f.pop()+(Be?"":m)),d=-1}}if(f.length>1&&i.WTF)throw new Error("bad formula stack");return f[0]}function r2(e){if(e==null){var r=B(8);return r.write_shift(1,3),r.write_shift(1,0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(2,65535),r}else if(typeof e=="number")return _r(e);return _r(0)}function n2(e,r,t,n,i){var a=Er(r,t,i),s=r2(e.v),f=B(6),l=33;f.write_shift(2,l),f.write_shift(4,0);for(var o=B(e.bf.length),c=0;c0?qx(e,a,i,t):null;return[i,s]}var i2=mi,gi=mi,a2=mi,s2=mi,f2={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"},bf={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"},l2={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 o2(e){var r="of:="+e.replace(ga,"$1[.$2$3$4$5]").replace(/\]:\[/g,":");return r.replace(/;/g,"|").replace(/,/g,";")}function c2(e){return e.replace(/\./,"!")}var ln=typeof Map<"u";function Ta(e,r,t){var n=0,i=e.length;if(t){if(ln?t.has(r):Object.prototype.hasOwnProperty.call(t,r)){for(var a=ln?t.get(r):t[r];n-1?(t.width=zi(n),t.customWidth=1):r.width!=null&&(t.width=r.width),r.hidden&&(t.hidden=!0),r.level!=null&&(t.outlineLevel=t.level=r.level),t}function Bf(e,r){if(e){var t=[.7,.7,.75,.75,.3,.3];r=="xlml"&&(t=[1,1,1,1,.5,.5]),e.left==null&&(e.left=t[0]),e.right==null&&(e.right=t[1]),e.top==null&&(e.top=t[2]),e.bottom==null&&(e.bottom=t[3]),e.header==null&&(e.header=t[4]),e.footer==null&&(e.footer=t[5])}}function or(e,r,t){var n=t.revssf[r.z!=null?r.z:"General"],i=60,a=e.length;if(n==null&&t.ssf){for(;i<392;++i)if(t.ssf[i]==null){Ns(r.z,i),t.ssf[i]=r.z,t.revssf[r.z]=n=i;break}}for(i=0;i!=a;++i)if(e[i].numFmtId===n)return i;return e[a]={numFmtId:n,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},a}function u2(e,r,t){if(e&&e["!ref"]){var n=Ie(e["!ref"]);if(n.e.c',t=0;t!=e.length;++t)r+='';return r+""}function d2(e,r,t,n,i){var a=!1,s={},f=null;if(n.bookType!=="xlsx"&&r.vbaraw){var l=r.SheetNames[t];try{r.Workbook&&(l=r.Workbook.Sheets[t].CodeName||l)}catch{}a=!0,s.codeName=Wt(we(l))}if(e&&e["!outline"]){var o={summaryBelow:1,summaryRight:1};e["!outline"].above&&(o.summaryBelow=0),e["!outline"].left&&(o.summaryRight=0),f=(f||"")+q("outlinePr",null,o)}!a&&!f||(i[i.length]=q("sheetPr",f,s))}var x2=["objects","scenarios","selectLockedCells","selectUnlockedCells"],p2=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];function v2(e){var r={sheet:1};return x2.forEach(function(t){e[t]!=null&&e[t]&&(r[t]="1")}),p2.forEach(function(t){e[t]!=null&&!e[t]&&(r[t]="0")}),e.password&&(r.password=Tf(e.password).toString(16).toUpperCase()),q("sheetProtection",null,r)}function m2(e){return Bf(e),q("pageMargins",null,e)}function g2(e,r){for(var t=[""],n,i=0;i!=r.length;++i)(n=r[i])&&(t[t.length]=q("col",null,_i(i,n)));return t[t.length]="",t.join("")}function _2(e,r,t,n){var i=typeof e.ref=="string"?e.ref:$e(e.ref);t.Workbook||(t.Workbook={Sheets:[]}),t.Workbook.Names||(t.Workbook.Names=[]);var a=t.Workbook.Names,s=_t(i);s.s.r==s.e.r&&(s.e.r=_t(r["!ref"]).e.r,i=$e(s));for(var f=0;f"u"&&(e.z=Me[14]);break;default:i=e.v;break}var f=qe("v",we(i)),l={r},o=or(n.cellXfs,e,n);switch(o!==0&&(l.s=o),e.t){case"n":break;case"d":l.t="d";break;case"b":l.t="b";break;case"e":l.t="e";break;case"z":break;default:if(e.v==null){delete e.t;break}if(e.v.length>32767)throw new Error("Text length must not exceed 32767 characters");if(n&&n.bookSST){f=qe("v",""+Ta(n.Strings,e.v,n.revStrings)),l.t="s";break}l.t="str";break}if(e.t!=a&&(e.t=a,e.v=s),typeof e.f=="string"&&e.f){var c=e.F&&e.F.slice(0,r.length)==r?{t:"array",ref:e.F}:null;f=q("f",we(e.f),c)+(e.v!=null?f:"")}return e.l&&t["!links"].push([r,e.l]),e.D&&(l.cm=1),q("c",f,l)}function w2(e,r,t,n){var i=[],a=[],s=Ie(e["!ref"]),f="",l,o="",c=[],h=0,u=0,x=e["!rows"],v=Array.isArray(e),d={r:o},m,y=-1;for(u=s.s.c;u<=s.e.c;++u)c[u]=rt(u);for(h=s.s.r;h<=s.e.r;++h){for(a=[],o=Ze(h),u=s.s.c;u<=s.e.c;++u){l=c[u]+o;var A=v?(e[h]||[])[u]:e[l];A!==void 0&&(f=T2(A,l,e,r))!=null&&a.push(f)}(a.length>0||x&&x[h])&&(d={r:o},x&&x[h]&&(m=x[h],m.hidden&&(d.hidden=1),y=-1,m.hpx?y=ei(m.hpx):m.hpt&&(y=m.hpt),y>-1&&(d.ht=y,d.customHeight=1),m.level&&(d.outlineLevel=m.level)),i[i.length]=q("row",a.join(""),d))}if(x)for(;h-1&&(d.ht=y,d.customHeight=1),m.level&&(d.outlineLevel=m.level),i[i.length]=q("row","",d));return i.join("")}function Uf(e,r,t,n){var i=[We,q("worksheet",null,{xmlns:zr[0],"xmlns:r":Ve.r})],a=t.SheetNames[e],s=0,f="",l=t.Sheets[a];l==null&&(l={});var o=l["!ref"]||"A1",c=Ie(o);if(c.e.c>16383||c.e.r>1048575){if(r.WTF)throw new Error("Range "+o+" exceeds format limit A1:XFD1048576");c.e.c=Math.min(c.e.c,16383),c.e.r=Math.min(c.e.c,1048575),o=$e(c)}n||(n={}),l["!comments"]=[];var h=[];d2(l,t,e,r,i),i[i.length]=q("dimension",null,{ref:o}),i[i.length]=E2(l,r,e,t),r.sheetFormat&&(i[i.length]=q("sheetFormatPr",null,{defaultRowHeight:r.sheetFormat.defaultRowHeight||"16",baseColWidth:r.sheetFormat.baseColWidth||"10",outlineLevelRow:r.sheetFormat.outlineLevelRow||"7"})),l["!cols"]!=null&&l["!cols"].length>0&&(i[i.length]=g2(l,l["!cols"])),i[s=i.length]="",l["!links"]=[],l["!ref"]!=null&&(f=w2(l,r),f.length>0&&(i[i.length]=f)),i.length>s+1&&(i[i.length]="",i[s]=i[s].replace("/>",">")),l["!protect"]&&(i[i.length]=v2(l["!protect"])),l["!autofilter"]!=null&&(i[i.length]=_2(l["!autofilter"],l,t,e)),l["!merges"]!=null&&l["!merges"].length>0&&(i[i.length]=h2(l["!merges"]));var u=-1,x,v=-1;return l["!links"].length>0&&(i[i.length]="",l["!links"].forEach(function(d){d[1].Target&&(x={ref:d[0]},d[1].Target.charAt(0)!="#"&&(v=Te(n,-1,we(d[1].Target).replace(/#.*$/,""),me.HLINK),x["r:id"]="rId"+v),(u=d[1].Target.indexOf("#"))>-1&&(x.location=we(d[1].Target.slice(u+1))),d[1].Tooltip&&(x.tooltip=we(d[1].Tooltip)),i[i.length]=q("hyperlink",null,x))}),i[i.length]=""),delete l["!links"],l["!margins"]!=null&&(i[i.length]=m2(l["!margins"])),(!r||r.ignoreEC||r.ignoreEC==null)&&(i[i.length]=qe("ignoredErrors",q("ignoredError",null,{numberStoredAsText:1,sqref:o}))),h.length>0&&(v=Te(n,-1,"../drawings/drawing"+(e+1)+".xml",me.DRAW),i[i.length]=q("drawing",null,{"r:id":"rId"+v}),l["!drawing"]=h),l["!comments"].length>0&&(v=Te(n,-1,"../drawings/vmlDrawing"+(e+1)+".vml",me.VML),i[i.length]=q("legacyDrawing",null,{"r:id":"rId"+v}),l["!legacy"]=v),i.length>1&&(i[i.length]="",i[1]=i[1].replace("/>",">")),i.join("")}function S2(e,r){var t={},n=e.l+r;t.r=e.read_shift(4),e.l+=4;var i=e.read_shift(2);e.l+=1;var a=e.read_shift(1);return e.l=n,a&7&&(t.level=a&7),a&16&&(t.hidden=!0),a&32&&(t.hpt=i/20),t}function A2(e,r,t){var n=B(145),i=(t["!rows"]||[])[e]||{};n.write_shift(4,e),n.write_shift(4,0);var a=320;i.hpx?a=ei(i.hpx)*20:i.hpt&&(a=i.hpt*20),n.write_shift(2,a),n.write_shift(1,0);var s=0;i.level&&(s|=i.level),i.hidden&&(s|=16),(i.hpx||i.hpt)&&(s|=32),n.write_shift(1,s),n.write_shift(1,0);var f=0,l=n.l;n.l+=4;for(var o={r:e,c:0},c=0;c<16;++c)if(!(r.s.c>c+1<<10||r.e.cn.l?n.slice(0,n.l):n}function y2(e,r,t,n){var i=A2(n,t,r);(i.length>17||(r["!rows"]||[])[n])&&X(e,0,i)}var F2=Cr,C2=Kr;function O2(){}function D2(e,r){var t={},n=e[e.l];return++e.l,t.above=!(n&64),t.left=!(n&128),e.l+=18,t.name=Uh(e),t}function I2(e,r,t){t==null&&(t=B(84+4*e.length));var n=192;r&&(r.above&&(n&=-65),r.left&&(n&=-129)),t.write_shift(1,n);for(var i=1;i<3;++i)t.write_shift(1,0);return Jn({auto:1},t),t.write_shift(-4,-1),t.write_shift(-4,-1),Qs(e,t),t.slice(0,t.l)}function k2(e){var r=At(e);return[r]}function N2(e,r,t){return t==null&&(t=B(8)),Ar(r,t)}function R2(e){var r=yr(e);return[r]}function L2(e,r,t){return t==null&&(t=B(4)),Fr(r,t)}function P2(e){var r=At(e),t=e.read_shift(1);return[r,t,"b"]}function M2(e,r,t){return t==null&&(t=B(9)),Ar(r,t),t.write_shift(1,e.v?1:0),t}function b2(e){var r=yr(e),t=e.read_shift(1);return[r,t,"b"]}function B2(e,r,t){return t==null&&(t=B(5)),Fr(r,t),t.write_shift(1,e.v?1:0),t}function U2(e){var r=At(e),t=e.read_shift(1);return[r,t,"e"]}function $2(e,r,t){return t==null&&(t=B(9)),Ar(r,t),t.write_shift(1,e.v),t}function W2(e){var r=yr(e),t=e.read_shift(1);return[r,t,"e"]}function H2(e,r,t){return t==null&&(t=B(8)),Fr(r,t),t.write_shift(1,e.v),t.write_shift(2,0),t.write_shift(1,0),t}function V2(e){var r=At(e),t=e.read_shift(4);return[r,t,"s"]}function G2(e,r,t){return t==null&&(t=B(12)),Ar(r,t),t.write_shift(4,r.v),t}function X2(e){var r=yr(e),t=e.read_shift(4);return[r,t,"s"]}function z2(e,r,t){return t==null&&(t=B(8)),Fr(r,t),t.write_shift(4,r.v),t}function j2(e){var r=At(e),t=Yr(e);return[r,t,"n"]}function K2(e,r,t){return t==null&&(t=B(16)),Ar(r,t),_r(e.v,t),t}function Y2(e){var r=yr(e),t=Yr(e);return[r,t,"n"]}function J2(e,r,t){return t==null&&(t=B(12)),Fr(r,t),_r(e.v,t),t}function q2(e){var r=At(e),t=ef(e);return[r,t,"n"]}function Z2(e,r,t){return t==null&&(t=B(12)),Ar(r,t),tf(e.v,t),t}function Q2(e){var r=yr(e),t=ef(e);return[r,t,"n"]}function ep(e,r,t){return t==null&&(t=B(8)),Fr(r,t),tf(e.v,t),t}function tp(e){var r=At(e),t=da(e);return[r,t,"is"]}function rp(e){var r=At(e),t=nt(e);return[r,t,"str"]}function np(e,r,t){return t==null&&(t=B(12+4*e.v.length)),Ar(r,t),Xe(e.v,t),t.length>t.l?t.slice(0,t.l):t}function ip(e){var r=yr(e),t=nt(e);return[r,t,"str"]}function ap(e,r,t){return t==null&&(t=B(8+4*e.v.length)),Fr(r,t),Xe(e.v,t),t.length>t.l?t.slice(0,t.l):t}function sp(e,r,t){var n=e.l+r,i=At(e);i.r=t["!row"];var a=e.read_shift(1),s=[i,a,"b"];if(t.cellFormula){e.l+=2;var f=gi(e,n-e.l,t);s[3]=Hr(f,null,i,t.supbooks,t)}else e.l=n;return s}function fp(e,r,t){var n=e.l+r,i=At(e);i.r=t["!row"];var a=e.read_shift(1),s=[i,a,"e"];if(t.cellFormula){e.l+=2;var f=gi(e,n-e.l,t);s[3]=Hr(f,null,i,t.supbooks,t)}else e.l=n;return s}function lp(e,r,t){var n=e.l+r,i=At(e);i.r=t["!row"];var a=Yr(e),s=[i,a,"n"];if(t.cellFormula){e.l+=2;var f=gi(e,n-e.l,t);s[3]=Hr(f,null,i,t.supbooks,t)}else e.l=n;return s}function op(e,r,t){var n=e.l+r,i=At(e);i.r=t["!row"];var a=nt(e),s=[i,a,"str"];if(t.cellFormula){e.l+=2;var f=gi(e,n-e.l,t);s[3]=Hr(f,null,i,t.supbooks,t)}else e.l=n;return s}var cp=Cr,up=Kr;function hp(e,r){return r==null&&(r=B(4)),r.write_shift(4,e),r}function dp(e,r){var t=e.l+r,n=Cr(e),i=xa(e),a=nt(e),s=nt(e),f=nt(e);e.l=t;var l={rfx:n,relId:i,loc:a,display:f};return s&&(l.Tooltip=s),l}function xp(e,r){var t=B(50+4*(e[1].Target.length+(e[1].Tooltip||"").length));Kr({s:Ge(e[0]),e:Ge(e[0])},t),pa("rId"+r,t);var n=e[1].Target.indexOf("#"),i=n==-1?"":e[1].Target.slice(n+1);return Xe(i||"",t),Xe(e[1].Tooltip||"",t),Xe("",t),t.slice(0,t.l)}function pp(){}function vp(e,r,t){var n=e.l+r,i=rf(e),a=e.read_shift(1),s=[i];if(s[2]=a,t.cellFormula){var f=i2(e,n-e.l,t);s[1]=f}else e.l=n;return s}function mp(e,r,t){var n=e.l+r,i=Cr(e),a=[i];if(t.cellFormula){var s=s2(e,n-e.l,t);a[1]=s,e.l=n}else e.l=n;return a}function gp(e,r,t){t==null&&(t=B(18));var n=_i(e,r);t.write_shift(-4,e),t.write_shift(-4,e),t.write_shift(4,(n.width||10)*256),t.write_shift(4,0);var i=0;return r.hidden&&(i|=1),typeof n.width=="number"&&(i|=2),r.level&&(i|=r.level<<8),t.write_shift(2,i),t}var $f=["left","right","top","bottom","header","footer"];function _p(e){var r={};return $f.forEach(function(t){r[t]=Yr(e)}),r}function Ep(e,r){return r==null&&(r=B(6*8)),Bf(e),$f.forEach(function(t){_r(e[t],r)}),r}function Tp(e){var r=e.read_shift(2);return e.l+=28,{RTL:r&32}}function wp(e,r,t){t==null&&(t=B(30));var n=924;return(((r||{}).Views||[])[0]||{}).RTL&&(n|=32),t.write_shift(2,n),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(1,0),t.write_shift(1,0),t.write_shift(2,0),t.write_shift(2,100),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(4,0),t}function Sp(e){var r=B(24);return r.write_shift(4,4),r.write_shift(4,1),Kr(e,r),r}function Ap(e,r){return r==null&&(r=B(16*4+2)),r.write_shift(2,e.password?Tf(e.password):0),r.write_shift(4,1),[["objects",!1],["scenarios",!1],["formatCells",!0],["formatColumns",!0],["formatRows",!0],["insertColumns",!0],["insertRows",!0],["insertHyperlinks",!0],["deleteColumns",!0],["deleteRows",!0],["selectLockedCells",!1],["sort",!0],["autoFilter",!0],["pivotTables",!0],["selectUnlockedCells",!1]].forEach(function(t){t[1]?r.write_shift(4,e[t[0]]!=null&&!e[t[0]]?1:0):r.write_shift(4,e[t[0]]!=null&&e[t[0]]?0:1)}),r}function yp(){}function Fp(){}function Cp(e,r,t,n,i,a,s){if(r.v===void 0)return!1;var f="";switch(r.t){case"b":f=r.v?"1":"0";break;case"d":r=ht(r),r.z=r.z||Me[14],r.v=ut(ft(r.v)),r.t="n";break;case"n":case"e":f=""+r.v;break;default:f=r.v;break}var l={r:t,c:n};switch(l.s=or(i.cellXfs,r,i),r.l&&a["!links"].push([Se(l),r.l]),r.c&&a["!comments"].push([Se(l),r.c]),r.t){case"s":case"str":return i.bookSST?(f=Ta(i.Strings,r.v,i.revStrings),l.t="s",l.v=f,s?X(e,18,z2(r,l)):X(e,7,G2(r,l))):(l.t="str",s?X(e,17,ap(r,l)):X(e,6,np(r,l))),!0;case"n":return r.v==(r.v|0)&&r.v>-1e3&&r.v<1e3?s?X(e,13,ep(r,l)):X(e,2,Z2(r,l)):s?X(e,16,J2(r,l)):X(e,5,K2(r,l)),!0;case"b":return l.t="b",s?X(e,15,B2(r,l)):X(e,4,M2(r,l)),!0;case"e":return l.t="e",s?X(e,14,H2(r,l)):X(e,3,$2(r,l)),!0}return s?X(e,12,L2(r,l)):X(e,1,N2(r,l)),!0}function Op(e,r,t,n){var i=Ie(r["!ref"]||"A1"),a,s="",f=[];X(e,145);var l=Array.isArray(r),o=i.e.r;r["!rows"]&&(o=Math.max(i.e.r,r["!rows"].length-1));for(var c=i.s.r;c<=o;++c){s=Ze(c),y2(e,r,i,c);var h=!1;if(c<=i.e.r)for(var u=i.s.c;u<=i.e.c;++u){c===i.s.r&&(f[u]=rt(u)),a=f[u]+s;var x=l?(r[c]||[])[u]:r[a];if(!x){h=!1;continue}h=Cp(e,x,c,u,n,r,h)}}X(e,146)}function Dp(e,r){!r||!r["!merges"]||(X(e,177,hp(r["!merges"].length)),r["!merges"].forEach(function(t){X(e,176,up(t))}),X(e,178))}function Ip(e,r){!r||!r["!cols"]||(X(e,390),r["!cols"].forEach(function(t,n){t&&X(e,60,gp(n,t))}),X(e,391))}function kp(e,r){!r||!r["!ref"]||(X(e,648),X(e,649,Sp(Ie(r["!ref"]))),X(e,650))}function Np(e,r,t){r["!links"].forEach(function(n){if(n[1].Target){var i=Te(t,-1,n[1].Target.replace(/#.*$/,""),me.HLINK);X(e,494,xp(n,i))}}),delete r["!links"]}function Rp(e,r,t,n){if(r["!comments"].length>0){var i=Te(n,-1,"../drawings/vmlDrawing"+(t+1)+".vml",me.VML);X(e,551,pa("rId"+i)),r["!legacy"]=i}}function Lp(e,r,t,n){if(r["!autofilter"]){var i=r["!autofilter"],a=typeof i.ref=="string"?i.ref:$e(i.ref);t.Workbook||(t.Workbook={Sheets:[]}),t.Workbook.Names||(t.Workbook.Names=[]);var s=t.Workbook.Names,f=_t(a);f.s.r==f.e.r&&(f.e.r=_t(r["!ref"]).e.r,a=$e(f));for(var l=0;l16383||l.e.r>1048575){if(r.WTF)throw new Error("Range "+(s["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");l.e.c=Math.min(l.e.c,16383),l.e.r=Math.min(l.e.c,1048575)}return s["!links"]=[],s["!comments"]=[],X(i,129),(t.vbaraw||s["!outline"])&&X(i,147,I2(f,s["!outline"])),X(i,148,C2(l)),Pp(i,s,t.Workbook),Ip(i,s),Op(i,s,e,r),Mp(i,s),Lp(i,s,t,e),Dp(i,s),Np(i,s,n),s["!margins"]&&X(i,476,Ep(s["!margins"])),(!r||r.ignoreEC||r.ignoreEC==null)&&kp(i,s),Rp(i,s,e,n),X(i,130),i.end()}function Bp(e,r){e.l+=10;var t=nt(e);return{name:t}}var Up=[["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"]];function $p(e){return!e.Workbook||!e.Workbook.WBProps?"false":mh(e.Workbook.WBProps.date1904)?"true":"false"}var Wp="][*?/\\".split("");function Wf(e,r){if(e.length>31){if(r)return!1;throw new Error("Sheet names cannot exceed 31 chars")}var t=!0;return Wp.forEach(function(n){if(e.indexOf(n)!=-1){if(!r)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");t=!1}}),t}function Hp(e,r,t){e.forEach(function(n,i){Wf(n);for(var a=0;a22)throw new Error("Bad Code Name: Worksheet"+s)}})}function Vp(e){if(!e||!e.SheetNames||!e.Sheets)throw new Error("Invalid Workbook");if(!e.SheetNames.length)throw new Error("Workbook is empty");var r=e.Workbook&&e.Workbook.Sheets||[];Hp(e.SheetNames,r,!!e.vbaraw);for(var t=0;t0,n={codeName:"ThisWorkbook"};e.Workbook&&e.Workbook.WBProps&&(Up.forEach(function(f){e.Workbook.WBProps[f[0]]!=null&&e.Workbook.WBProps[f[0]]!=f[1]&&(n[f[0]]=e.Workbook.WBProps[f[0]])}),e.Workbook.WBProps.CodeName&&(n.codeName=e.Workbook.WBProps.CodeName,delete n.CodeName)),r[r.length]=q("workbookPr",null,n);var i=e.Workbook&&e.Workbook.Sheets||[],a=0;if(i&&i[0]&&i[0].Hidden){for(r[r.length]="",a=0;a!=e.SheetNames.length&&!(!i[a]||!i[a].Hidden);++a);a==e.SheetNames.length&&(a=0),r[r.length]='',r[r.length]=""}for(r[r.length]="",a=0;a!=e.SheetNames.length;++a){var s={name:we(e.SheetNames[a].slice(0,31))};if(s.sheetId=""+(a+1),s["r:id"]="rId"+(a+1),i[a])switch(i[a].Hidden){case 1:s.state="hidden";break;case 2:s.state="veryHidden";break}r[r.length]=q("sheet",null,s)}return r[r.length]="",t&&(r[r.length]="",e.Workbook&&e.Workbook.Names&&e.Workbook.Names.forEach(function(f){var l={name:f.Name};f.Comment&&(l.comment=f.Comment),f.Sheet!=null&&(l.localSheetId=""+f.Sheet),f.Hidden&&(l.hidden="1"),f.Ref&&(r[r.length]=q("definedName",we(f.Ref),l))}),r[r.length]=""),r.length>2&&(r[r.length]="",r[1]=r[1].replace("/>",">")),r.join("")}function Gp(e,r){var t={};return t.Hidden=e.read_shift(4),t.iTabID=e.read_shift(4),t.strRelID=Xi(e),t.name=nt(e),t}function Xp(e,r){return r||(r=B(127)),r.write_shift(4,e.Hidden),r.write_shift(4,e.iTabID),pa(e.strRelID,r),Xe(e.name.slice(0,31),r),r.length>r.l?r.slice(0,r.l):r}function zp(e,r){var t={},n=e.read_shift(4);t.defaultThemeVersion=e.read_shift(4);var i=r>8?nt(e):"";return i.length>0&&(t.CodeName=i),t.autoCompressPictures=!!(n&65536),t.backupFile=!!(n&64),t.checkCompatibility=!!(n&4096),t.date1904=!!(n&1),t.filterPrivacy=!!(n&8),t.hidePivotFieldList=!!(n&1024),t.promptedSolutions=!!(n&16),t.publishItems=!!(n&2048),t.refreshAllConnections=!!(n&262144),t.saveExternalLinkValues=!!(n&128),t.showBorderUnselectedTables=!!(n&4),t.showInkAnnotation=!!(n&32),t.showObjects=["all","placeholders","none"][n>>13&3],t.showPivotChartFilter=!!(n&32768),t.updateLinks=["userSet","never","always"][n>>8&3],t}function jp(e,r){r||(r=B(72));var t=0;return e&&e.filterPrivacy&&(t|=8),r.write_shift(4,t),r.write_shift(4,0),Qs(e&&e.CodeName||"ThisWorkbook",r),r.slice(0,r.l)}function Kp(e,r,t){var n=e.l+r;e.l+=4,e.l+=1;var i=e.read_shift(4),a=$h(e),s=a2(e,0,t),f=xa(e);e.l=n;var l={Name:a,Ptg:s};return i<268435455&&(l.Sheet=i),f&&(l.Comment=f),l}function Yp(e,r){X(e,143);for(var t=0;t!=r.SheetNames.length;++t){var n=r.Workbook&&r.Workbook.Sheets&&r.Workbook.Sheets[t]&&r.Workbook.Sheets[t].Hidden||0,i={Hidden:n,iTabID:t+1,strRelID:"rId"+(t+1),name:r.SheetNames[t]};X(e,156,Xp(i))}X(e,144)}function Jp(e,r){r||(r=B(127));for(var t=0;t!=4;++t)r.write_shift(4,0);return Xe("SheetJS",r),Xe(Vn.version,r),Xe(Vn.version,r),Xe("7262",r),r.length>r.l?r.slice(0,r.l):r}function qp(e,r){r||(r=B(29)),r.write_shift(-4,0),r.write_shift(-4,460),r.write_shift(4,28800),r.write_shift(4,17600),r.write_shift(4,500),r.write_shift(4,e),r.write_shift(4,e);var t=120;return r.write_shift(1,t),r.length>r.l?r.slice(0,r.l):r}function Zp(e,r){if(!(!r.Workbook||!r.Workbook.Sheets)){for(var t=r.Workbook.Sheets,n=0,i=-1,a=-1;ni||(X(e,135),X(e,158,qp(i)),X(e,136))}}function Qp(e,r){var t=ct();return X(t,131),X(t,128,Jp()),X(t,153,jp(e.Workbook&&e.Workbook.WBProps||null)),Zp(t,e),Yp(t,e),X(t,132),t.end()}function ev(e,r,t){return(r.slice(-4)===".bin"?Qp:Hf)(e)}function tv(e,r,t,n,i){return(r.slice(-4)===".bin"?bp:Uf)(e,t,n,i)}function rv(e,r,t){return(r.slice(-4)===".bin"?Ed:Af)(e,t)}function nv(e,r,t){return(r.slice(-4)===".bin"?j1:Ef)(e,t)}function iv(e,r,t){return(r.slice(-4)===".bin"?Md:Df)(e)}function av(e){return(e.slice(-4)===".bin"?Od:Cf)()}function sv(e,r){var t=[];return e.Props&&t.push(r1(e.Props,r)),e.Custprops&&t.push(n1(e.Props,e.Custprops)),t.join("")}function fv(){return""}function lv(e,r){var t=[''];return r.cellXfs.forEach(function(n,i){var a=[];a.push(q("NumberFormat",null,{"ss:Format":we(Me[n.numFmtId])}));var s={"ss:ID":"s"+(21+i)};t.push(q("Style",a.join(""),s))}),q("Styles",t.join(""))}function Vf(e){return q("NamedRange",null,{"ss:Name":e.Name,"ss:RefersTo":"="+_a(e.Ref,{r:0,c:0})})}function ov(e){if(!((e||{}).Workbook||{}).Names)return"";for(var r=e.Workbook.Names,t=[],n=0;n"),e["!margins"].header&&i.push(q("Header",null,{"x:Margin":e["!margins"].header})),e["!margins"].footer&&i.push(q("Footer",null,{"x:Margin":e["!margins"].footer})),i.push(q("PageMargins",null,{"x:Bottom":e["!margins"].bottom||"0.75","x:Left":e["!margins"].left||"0.7","x:Right":e["!margins"].right||"0.7","x:Top":e["!margins"].top||"0.75"})),i.push("")),n&&n.Workbook&&n.Workbook.Sheets&&n.Workbook.Sheets[t])if(n.Workbook.Sheets[t].Hidden)i.push(q("Visible",n.Workbook.Sheets[t].Hidden==1?"SheetHidden":"SheetVeryHidden",{}));else{for(var a=0;a")}return((((n||{}).Workbook||{}).Views||[])[0]||{}).RTL&&i.push(""),e["!protect"]&&(i.push(qe("ProtectContents","True")),e["!protect"].objects&&i.push(qe("ProtectObjects","True")),e["!protect"].scenarios&&i.push(qe("ProtectScenarios","True")),e["!protect"].selectLockedCells!=null&&!e["!protect"].selectLockedCells?i.push(qe("EnableSelection","NoSelection")):e["!protect"].selectUnlockedCells!=null&&!e["!protect"].selectUnlockedCells&&i.push(qe("EnableSelection","UnlockedCells")),[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","AllowSizeRows"],["insertColumns","AllowInsertCols"],["insertRows","AllowInsertRows"],["insertHyperlinks","AllowInsertHyperlinks"],["deleteColumns","AllowDeleteCols"],["deleteRows","AllowDeleteRows"],["sort","AllowSort"],["autoFilter","AllowFilter"],["pivotTables","AllowUsePivotTables"]].forEach(function(s){e["!protect"][s[0]]&&i.push("<"+s[1]+"/>")})),i.length==0?"":q("WorksheetOptions",i.join(""),{xmlns:mt.x})}function hv(e){return e.map(function(r){var t=vh(r.t||""),n=q("ss:Data",t,{xmlns:"http://www.w3.org/TR/REC-html40"});return q("Comment",n,{"ss:Author":r.a})}).join("")}function dv(e,r,t,n,i,a,s){if(!e||e.v==null&&e.f==null)return"";var f={};if(e.f&&(f["ss:Formula"]="="+we(_a(e.f,s))),e.F&&e.F.slice(0,r.length)==r){var l=Ge(e.F.slice(r.length+1));f["ss:ArrayRange"]="RC:R"+(l.r==s.r?"":"["+(l.r-s.r)+"]")+"C"+(l.c==s.c?"":"["+(l.c-s.c)+"]")}if(e.l&&e.l.Target&&(f["ss:HRef"]=we(e.l.Target),e.l.Tooltip&&(f["x:HRefScreenTip"]=we(e.l.Tooltip))),t["!merges"])for(var o=t["!merges"],c=0;c!=o.length;++c)o[c].s.c!=s.c||o[c].s.r!=s.r||(o[c].e.c>o[c].s.c&&(f["ss:MergeAcross"]=o[c].e.c-o[c].s.c),o[c].e.r>o[c].s.r&&(f["ss:MergeDown"]=o[c].e.r-o[c].s.r));var h="",u="";switch(e.t){case"z":if(!n.sheetStubs)return"";break;case"n":h="Number",u=String(e.v);break;case"b":h="Boolean",u=e.v?"1":"0";break;case"e":h="Error",u=Tn[e.v];break;case"d":h="DateTime",u=new Date(e.v).toISOString(),e.z==null&&(e.z=e.z||Me[14]);break;case"s":h="String",u=ph(e.v||"");break}var x=or(n.cellXfs,e,n);f["ss:StyleID"]="s"+(21+x),f["ss:Index"]=s.c+1;var v=e.v!=null?u:"",d=e.t=="z"?"":''+v+"";return(e.c||[]).length>0&&(d+=hv(e.c)),q("Cell",d,f)}function xv(e,r){var t='"}function pv(e,r,t,n){if(!e["!ref"])return"";var i=Ie(e["!ref"]),a=e["!merges"]||[],s=0,f=[];e["!cols"]&&e["!cols"].forEach(function(m,y){ma(m);var A=!!m.width,F=_i(y,m),I={"ss:Index":y+1};A&&(I["ss:Width"]=Zn(F.width)),m.hidden&&(I["ss:Hidden"]="1"),f.push(q("Column",null,I))});for(var l=Array.isArray(e),o=i.s.r;o<=i.e.r;++o){for(var c=[xv(o,(e["!rows"]||[])[o])],h=i.s.c;h<=i.e.c;++h){var u=!1;for(s=0;s!=a.length;++s)if(!(a[s].s.c>h)&&!(a[s].s.r>o)&&!(a[s].e.c"),c.length>2&&f.push(c.join(""))}return f.join("")}function vv(e,r,t){var n=[],i=t.SheetNames[e],a=t.Sheets[i],s=a?cv(a,r,e,t):"";return s.length>0&&n.push(""+s+""),s=a?pv(a,r,e,t):"",s.length>0&&n.push(""+s+"
"),n.push(uv(a,r,e,t)),n.join("")}function mv(e,r){r||(r={}),e.SSF||(e.SSF=ht(Me)),e.SSF&&(xi(),di(e.SSF),r.revssf=pi(e.SSF),r.revssf[e.SSF[65535]]=0,r.ssf=e.SSF,r.cellXfs=[],or(r.cellXfs,{},{revssf:{General:0}}));var t=[];t.push(sv(e,r)),t.push(fv()),t.push(""),t.push("");for(var n=0;n-1||cf.indexOf(i[a][0])>-1||i[a][1]!=null&&o.push(i[a]);n.length&&Ae.utils.cfb_add(r,"/SummaryInformation",_0(n,Pi.SI,l,x0)),(t.length||o.length)&&Ae.utils.cfb_add(r,"/DocumentSummaryInformation",_0(t,Pi.DSI,f,d0,o.length?o:null,Pi.UDI))}function _v(e,r){var t=r||{},n=Ae.utils.cfb_new({root:"R"}),i="/Workbook";switch(t.bookType||"xls"){case"xls":t.bookType="biff8";case"xla":t.bookType||(t.bookType="xla");case"biff8":i="/Workbook",t.biff=8;break;case"biff5":i="/Book",t.biff=5;break;default:throw new Error("invalid type "+t.bookType+" for XLS CFB")}return Ae.utils.cfb_add(n,i,Gf(e,t)),t.biff==8&&(e.Props||e.Custprops)&&gv(e,n),t.biff==8&&e.vbaraw&&bd(n,Ae.read(e.vbaraw,{type:typeof e.vbaraw=="string"?"binary":"buffer"})),n}var Ev={0:{f:S2},1:{f:k2},2:{f:q2},3:{f:U2},4:{f:P2},5:{f:j2},6:{f:rp},7:{f:V2},8:{f:op},9:{f:lp},10:{f:sp},11:{f:fp},12:{f:R2},13:{f:Q2},14:{f:W2},15:{f:b2},16:{f:Y2},17:{f:ip},18:{f:X2},19:{f:da},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:Kp},40:{},42:{},43:{f:rd},44:{f:ed},45:{f:ad},46:{f:fd},47:{f:sd},48:{},49:{f:Rh},50:{},51:{f:Sd},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:L1},62:{f:tp},63:{f:Dd},64:{f:yp},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:Mt,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:Tp},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:D2},148:{f:F2,p:16},151:{f:pp},152:{},153:{f:zp},154:{},155:{},156:{f:Gp},157:{},158:{},159:{T:1,f:G1},160:{T:-1},161:{T:1,f:Cr},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:cp},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:Td},336:{T:-1},337:{f:Fd,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:Xi},357:{},358:{},359:{},360:{T:1},361:{},362:{f:O1},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:vp},427:{f:mp},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:_p},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:O2},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:dp},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:Xi},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:Ld},633:{T:1},634:{T:-1},635:{T:1,f:Nd},636:{T:-1},637:{f:bh},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:Bp},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:Fp},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:""}};function Z(e,r,t,n){var i=r;if(!isNaN(i)){var a=n||(t||[]).length||0,s=e.next(4);s.write_shift(2,i),s.write_shift(2,a),a>0&&ca(t)&&e.push(t)}}function Tv(e,r,t,n){var i=n||(t||[]).length||0;if(i<=8224)return Z(e,r,t,i);var a=r;if(!isNaN(a)){for(var s=t.parts||[],f=0,l=0,o=0;o+(s[f]||8224)<=8224;)o+=s[f]||8224,f++;var c=e.next(4);for(c.write_shift(2,a),c.write_shift(2,o),e.push(t.slice(l,l+o)),l+=o;l=0&&i<65536?Z(e,2,B1(t,n,i)):Z(e,3,b1(t,n,i));return;case"b":case"e":Z(e,5,wv(t,n,r.v,r.t));return;case"s":case"str":Z(e,4,Sv(t,n,(r.v||"").slice(0,255)));return}Z(e,1,Sn(null,t,n))}function yv(e,r,t,n){var i=Array.isArray(r),a=Ie(r["!ref"]||"A1"),s,f="",l=[];if(a.e.c>255||a.e.r>16383){if(n.WTF)throw new Error("Range "+(r["!ref"]||"A1")+" exceeds format limit A1:IV16384");a.e.c=Math.min(a.e.c,255),a.e.r=Math.min(a.e.c,16383),s=$e(a)}for(var o=a.s.r;o<=a.e.r;++o){f=Ze(o);for(var c=a.s.c;c<=a.e.c;++c){o===a.s.r&&(l[c]=rt(c)),s=l[c]+f;var h=i?(r[o]||[])[c]:r[s];h&&Av(e,h,o,c)}}}function Fv(e,r){for(var t=r||{},n=ct(),i=0,a=0;a255||x.e.r>=v){if(r.WTF)throw new Error("Range "+(a["!ref"]||"A1")+" exceeds format limit A1:IV16384");x.e.c=Math.min(x.e.c,255),x.e.r=Math.min(x.e.c,v-1)}Z(n,2057,va(t,16,r)),Z(n,13,St(1)),Z(n,12,St(100)),Z(n,15,st(!0)),Z(n,17,st(!1)),Z(n,16,_r(.001)),Z(n,95,st(!0)),Z(n,42,st(!1)),Z(n,43,st(!1)),Z(n,130,St(1)),Z(n,128,y1([0,0])),Z(n,131,st(!1)),Z(n,132,st(!1)),o&&Nv(n,a["!cols"]),Z(n,512,A1(x,r)),o&&(a["!links"]=[]);for(var d=x.s.r;d<=x.e.r;++d){h=Ze(d);for(var m=x.s.c;m<=x.e.c;++m){d===x.s.r&&(u[m]=rt(m)),c=u[m]+h;var y=l?(a[d]||[])[m]:a[c];y&&(Rv(n,y,d,m,r),o&&y.l&&a["!links"].push([c,y.l]))}}var A=f.CodeName||f.name||i;return o&&Z(n,574,_1((s.Views||[])[0])),o&&(a["!merges"]||[]).length&&Z(n,229,I1(a["!merges"])),o&&kv(n,a),Z(n,442,mf(A)),o&&Dv(n,a),Z(n,10),n.end()}function Pv(e,r,t){var n=ct(),i=(e||{}).Workbook||{},a=i.Sheets||[],s=i.WBProps||{},f=t.biff==8,l=t.biff==5;if(Z(n,2057,va(e,5,t)),t.bookType=="xla"&&Z(n,135),Z(n,225,f?St(1200):null),Z(n,193,s1(2)),l&&Z(n,191),l&&Z(n,192),Z(n,226),Z(n,92,p1("SheetJS",t)),Z(n,66,St(f?1200:1252)),f&&Z(n,353,St(0)),f&&Z(n,448),Z(n,317,M1(e.SheetNames.length)),f&&e.vbaraw&&Z(n,211),f&&e.vbaraw){var o=s.CodeName||"ThisWorkbook";Z(n,442,mf(o))}Z(n,156,St(17)),Z(n,25,st(!1)),Z(n,18,st(!1)),Z(n,19,St(0)),f&&Z(n,431,st(!1)),f&&Z(n,444,St(0)),Z(n,61,g1()),Z(n,64,st(!1)),Z(n,141,St(0)),Z(n,34,st($p(e)=="true")),Z(n,14,st(!0)),f&&Z(n,439,st(!1)),Z(n,218,St(0)),Cv(n,e,t),Ov(n,e.SSF,t),Iv(n,t),f&&Z(n,352,st(!1));var c=n.end(),h=ct();f&&Z(h,140,R1()),f&&t.Strings&&Tv(h,252,m1(t.Strings)),Z(h,10);var u=h.end(),x=ct(),v=0,d=0;for(d=0;d255&&typeof console<"u"&&console.error&&console.error("Worksheet '"+e.SheetNames[t]+"' extends beyond column IV (255). Data may be lost.")}}var a=r||{};switch(a.biff||2){case 8:case 5:return Mv(e,r);case 4:case 3:case 2:return Fv(e,r)}throw new Error("invalid type "+a.bookType+" for BIFF")}function bv(e,r,t,n){for(var i=e["!merges"]||[],a=[],s=r.s.c;s<=r.e.c;++s){for(var f=0,l=0,o=0;ot||i[o].s.c>s)&&!(i[o].e.r1&&(x.rowspan=f),l>1&&(x.colspan=l),n.editable?u=''+u+"":h&&(x["data-t"]=h&&h.t||"z",h.v!=null&&(x["data-v"]=h.v),h.z!=null&&(x["data-z"]=h.z),h.l&&(h.l.Target||"#").charAt(0)!="#"&&(u=''+u+"")),x.id=(n.id||"sjs")+"-"+c,a.push(q("td",u,x))}}var v="";return v+a.join("")+""}var Bv='SheetJS Table Export',Uv="";function $v(e,r,t){var n=[];return n.join("")+""}function Xf(e,r){var t=r||{},n=t.header!=null?t.header:Bv,i=t.footer!=null?t.footer:Uv,a=[n],s=_t(e["!ref"]);t.dense=Array.isArray(e),a.push($v(e,s,t));for(var f=s.s.r;f<=s.e.r;++f)a.push(bv(e,s,f,t));return a.push(""+i),a.join("")}function zf(e,r,t){var n=t||{},i=0,a=0;if(n.origin!=null)if(typeof n.origin=="number")i=n.origin;else{var s=typeof n.origin=="string"?Ge(n.origin):n.origin;i=s.r,a=s.c}var f=r.getElementsByTagName("tr"),l=Math.min(n.sheetRows||1e7,f.length),o={s:{r:0,c:0},e:{r:i,c:a}};if(e["!ref"]){var c=_t(e["!ref"]);o.s.r=Math.min(o.s.r,c.s.r),o.s.c=Math.min(o.s.c,c.s.c),o.e.r=Math.max(o.e.r,c.e.r),o.e.c=Math.max(o.e.c,c.e.c),i==-1&&(o.e.r=i=c.e.r+1)}var h=[],u=0,x=e["!rows"]||(e["!rows"]=[]),v=0,d=0,m=0,y=0,A=0,F=0;for(e["!cols"]||(e["!cols"]=[]);v1||F>1)&&h.push({s:{r:d+i,c:y+a},e:{r:d+i+(A||1)-1,c:y+a+(F||1)-1}});var b={t:"s",v:D},U=ee.getAttribute("data-t")||ee.getAttribute("t")||"";D!=null&&(D.length==0?b.t=U||"z":n.raw||D.trim().length==0||U=="s"||(D==="TRUE"?b={t:"b",v:!0}:D==="FALSE"?b={t:"b",v:!1}:isNaN(Gt(D))?isNaN(dn(D).getDate())||(b={t:"d",v:ft(D)},n.cellDates||(b={t:"n",v:ut(b.v)}),b.z=n.dateNF||Me[14]):b={t:"n",v:Gt(D)})),b.z===void 0&&V!=null&&(b.z=V);var G="",K=ee.getElementsByTagName("A");if(K&&K.length)for(var ce=0;ce=l&&(e["!fullref"]=$e((o.e.r=f.length-v+d-1+i,o))),e}function jf(e,r){var t=r||{},n=t.dense?[]:{};return zf(n,e,r)}function Wv(e,r){return Sr(jf(e,r),r)}function O0(e){var r="",t=Hv(e);return t&&(r=t(e).getPropertyValue("display")),r||(r=e.style&&e.style.display),r==="none"}function Hv(e){return e.ownerDocument.defaultView&&typeof e.ownerDocument.defaultView.getComputedStyle=="function"?e.ownerDocument.defaultView.getComputedStyle:typeof getComputedStyle=="function"?getComputedStyle:null}var Vv=function(){var e=["",'',"",'',"",'',"",""].join(""),r=""+e+"";return function(){return We+r}}(),D0=function(){var e=function(a){return we(a).replace(/ +/g,function(s){return''}).replace(/\t/g,"").replace(/\n/g,"").replace(/^ /,"").replace(/ $/,"")},r=` +`;r.push(qe("t",we(s)))}r.push("")}),r.push(""),r.length>2&&(r[r.length]="",r[1]=r[1].replace("/>",">")),r.join("")}function Id(e,r,t){var n=[We,q("ThreadedComments",null,{xmlns:Ve.TCMNT}).replace(/[\/]>/,">")];return e.forEach(function(i){var a="";(i[1]||[]).forEach(function(s,f){if(!s.T){delete s.ID;return}s.a&&r.indexOf(s.a)==-1&&r.push(s.a);var l={ref:i[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+t.tcid++).slice(-12)+"}"};f==0?a=l.id:l.parentId=a,s.ID=l.id,s.a&&(l.personId="{54EE7950-7262-4200-6969-"+("000000000000"+r.indexOf(s.a)).slice(-12)+"}"),n.push(q("threadedComment",qe("text",s.t||""),l))})}),n.push(""),n.join("")}function kd(e){var r=[We,q("personList",null,{xmlns:Ve.TCMNT,"xmlns:x":zr[0]}).replace(/[\/]>/,">")];return e.forEach(function(t,n){r.push(q("person",null,{displayName:t,id:"{54EE7950-7262-4200-6969-"+("000000000000"+n).slice(-12)+"}",userId:t,providerId:"None"}))}),r.push(""),r.join("")}function Nd(e){var r={};r.iauthor=e.read_shift(4);var t=Cr(e);return r.rfx=t.s,r.ref=Se(t.s),e.l+=16,r}function Rd(e,r){return r==null&&(r=B(36)),r.write_shift(4,e[1].iauthor),Kr(e[0],r),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(4,0),r}var Ld=nt;function Pd(e){return Xe(e.slice(0,54))}function Md(e){var r=ct(),t=[];return X(r,628),X(r,630),e.forEach(function(n){n[1].forEach(function(i){t.indexOf(i.a)>-1||(t.push(i.a.slice(0,54)),X(r,632,Pd(i.a)))})}),X(r,631),X(r,633),e.forEach(function(n){n[1].forEach(function(i){i.iauthor=t.indexOf(i.a);var a={s:Ge(n[0]),e:Ge(n[0])};X(r,635,Rd([a,i])),i.t&&i.t.length>0&&X(r,637,Bh(i)),X(r,636),delete i.iauthor})}),X(r,634),X(r,629),r.end()}function bd(e,r){r.FullPaths.forEach(function(t,n){if(n!=0){var i=t.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");i.slice(-1)!=="/"&&Ae.utils.cfb_add(e,i,r.FileIndex[n].content)}})}var If=["xlsb","xlsm","xlam","biff8","xla"],Bd=function(){var e=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,r={r:0,c:0};function t(n,i,a,s){var f=!1,l=!1;a.length==0?l=!0:a.charAt(0)=="["&&(l=!0,a=a.slice(1,-1)),s.length==0?f=!0:s.charAt(0)=="["&&(f=!0,s=s.slice(1,-1));var o=a.length>0?parseInt(a,10)|0:0,c=s.length>0?parseInt(s,10)|0:0;return f?c+=r.c:--c,l?o+=r.r:--o,i+(f?"":"$")+rt(c)+(l?"":"$")+Ze(o)}return function(i,a){return r=a,i.replace(e,t)}}(),ga=/(^|[^._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,_a=function(){return function(r,t){return r.replace(ga,function(n,i,a,s,f,l){var o=ha(s)-(a?0:t.c),c=ua(l)-(f?0:t.r),h=c==0?"":f?c+1:"["+c+"]",u=o==0?"":a?o+1:"["+o+"]";return i+"R"+h+"C"+u})}}();function Ud(e,r){return e.replace(ga,function(t,n,i,a,s,f){return n+(i=="$"?i+a:rt(ha(a)+r.c))+(s=="$"?s+f:Ze(ua(f)+r.r))})}function $d(e){return e.length!=1}function Ue(e){e.l+=1}function nr(e,r){var t=e.read_shift(r==1?1:2);return[t&16383,t>>14&1,t>>15&1]}function kf(e,r,t){var n=2;if(t){if(t.biff>=2&&t.biff<=5)return Nf(e);t.biff==12&&(n=4)}var i=e.read_shift(n),a=e.read_shift(n),s=nr(e,2),f=nr(e,2);return{s:{r:i,c:s[0],cRel:s[1],rRel:s[2]},e:{r:a,c:f[0],cRel:f[1],rRel:f[2]}}}function Nf(e){var r=nr(e,2),t=nr(e,2),n=e.read_shift(1),i=e.read_shift(1);return{s:{r:r[0],c:n,cRel:r[1],rRel:r[2]},e:{r:t[0],c:i,cRel:t[1],rRel:t[2]}}}function Wd(e,r,t){if(t.biff<8)return Nf(e);var n=e.read_shift(t.biff==12?4:2),i=e.read_shift(t.biff==12?4:2),a=nr(e,2),s=nr(e,2);return{s:{r:n,c:a[0],cRel:a[1],rRel:a[2]},e:{r:i,c:s[0],cRel:s[1],rRel:s[2]}}}function Rf(e,r,t){if(t&&t.biff>=2&&t.biff<=5)return Hd(e);var n=e.read_shift(t&&t.biff==12?4:2),i=nr(e,2);return{r:n,c:i[0],cRel:i[1],rRel:i[2]}}function Hd(e){var r=nr(e,2),t=e.read_shift(1);return{r:r[0],c:t,cRel:r[1],rRel:r[2]}}function Vd(e){var r=e.read_shift(2),t=e.read_shift(2);return{r,c:t&255,fQuoted:!!(t&16384),cRel:t>>15,rRel:t>>15}}function Gd(e,r,t){var n=t&&t.biff?t.biff:8;if(n>=2&&n<=5)return Xd(e);var i=e.read_shift(n>=12?4:2),a=e.read_shift(2),s=(a&16384)>>14,f=(a&32768)>>15;if(a&=16383,f==1)for(;i>524287;)i-=1048576;if(s==1)for(;a>8191;)a=a-16384;return{r:i,c:a,cRel:s,rRel:f}}function Xd(e){var r=e.read_shift(2),t=e.read_shift(1),n=(r&32768)>>15,i=(r&16384)>>14;return r&=16383,n==1&&r>=8192&&(r=r-16384),i==1&&t>=128&&(t=t-256),{r,c:t,cRel:i,rRel:n}}function zd(e,r,t){var n=(e[e.l++]&96)>>5,i=kf(e,t.biff>=2&&t.biff<=5?6:8,t);return[n,i]}function jd(e,r,t){var n=(e[e.l++]&96)>>5,i=e.read_shift(2,"i"),a=8;if(t)switch(t.biff){case 5:e.l+=12,a=6;break;case 12:a=12;break}var s=kf(e,a,t);return[n,i,s]}function Kd(e,r,t){var n=(e[e.l++]&96)>>5;return e.l+=t&&t.biff>8?12:t.biff<8?6:8,[n]}function Yd(e,r,t){var n=(e[e.l++]&96)>>5,i=e.read_shift(2),a=8;if(t)switch(t.biff){case 5:e.l+=12,a=6;break;case 12:a=12;break}return e.l+=a,[n,i]}function Jd(e,r,t){var n=(e[e.l++]&96)>>5,i=Wd(e,r-1,t);return[n,i]}function qd(e,r,t){var n=(e[e.l++]&96)>>5;return e.l+=t.biff==2?6:t.biff==12?14:7,[n]}function y0(e){var r=e[e.l+1]&1,t=1;return e.l+=4,[r,t]}function Zd(e,r,t){e.l+=2;for(var n=e.read_shift(t&&t.biff==2?1:2),i=[],a=0;a<=n;++a)i.push(e.read_shift(t&&t.biff==2?1:2));return i}function Qd(e,r,t){var n=e[e.l+1]&255?1:0;return e.l+=2,[n,e.read_shift(t&&t.biff==2?1:2)]}function ex(e,r,t){var n=e[e.l+1]&255?1:0;return e.l+=2,[n,e.read_shift(t&&t.biff==2?1:2)]}function tx(e){var r=e[e.l+1]&255?1:0;return e.l+=2,[r,e.read_shift(2)]}function rx(e,r,t){var n=e[e.l+1]&255?1:0;return e.l+=t&&t.biff==2?3:4,[n]}function Lf(e){var r=e.read_shift(1),t=e.read_shift(1);return[r,t]}function nx(e){return e.read_shift(2),Lf(e)}function ix(e){return e.read_shift(2),Lf(e)}function ax(e,r,t){var n=(e[e.l]&96)>>5;e.l+=1;var i=Rf(e,0,t);return[n,i]}function sx(e,r,t){var n=(e[e.l]&96)>>5;e.l+=1;var i=Gd(e,0,t);return[n,i]}function fx(e,r,t){var n=(e[e.l]&96)>>5;e.l+=1;var i=e.read_shift(2);t&&t.biff==5&&(e.l+=12);var a=Rf(e,0,t);return[n,i,a]}function lx(e,r,t){var n=(e[e.l]&96)>>5;e.l+=1;var i=e.read_shift(t&&t.biff<=3?1:2);return[lp[i],bf[i],n]}function ox(e,r,t){var n=e[e.l++],i=e.read_shift(1),a=t&&t.biff<=3?[n==88?-1:0,e.read_shift(1)]:cx(e);return[i,(a[0]===0?bf:fp)[a[1]]]}function cx(e){return[e[e.l+1]>>7,e.read_shift(2)&32767]}function ux(e,r,t){e.l+=t&&t.biff==2?3:4}function hx(e,r,t){if(e.l++,t&&t.biff==12)return[e.read_shift(4,"i"),0];var n=e.read_shift(2),i=e.read_shift(t&&t.biff==2?1:2);return[n,i]}function dx(e){return e.l++,Tn[e.read_shift(1)]}function xx(e){return e.l++,e.read_shift(2)}function px(e){return e.l++,e.read_shift(1)!==0}function vx(e){return e.l++,Yr(e)}function mx(e,r,t){return e.l++,vf(e,r-1,t)}function gx(e,r){var t=[e.read_shift(1)];if(r==12)switch(t[0]){case 2:t[0]=4;break;case 4:t[0]=16;break;case 0:t[0]=1;break;case 1:t[0]=2;break}switch(t[0]){case 4:t[1]=f1(e,1)?"TRUE":"FALSE",r!=12&&(e.l+=7);break;case 37:case 16:t[1]=Tn[e[e.l]],e.l+=r==12?4:8;break;case 0:e.l+=8;break;case 1:t[1]=Yr(e);break;case 2:t[1]=u1(e,0,{biff:r>0&&r<8?2:r});break;default:throw new Error("Bad SerAr: "+t[0])}return t}function _x(e,r,t){for(var n=e.read_shift(t.biff==12?4:2),i=[],a=0;a!=n;++a)i.push((t.biff==12?Cr:x1)(e));return i}function Ex(e,r,t){var n=0,i=0;t.biff==12?(n=e.read_shift(4),i=e.read_shift(4)):(i=1+e.read_shift(1),n=1+e.read_shift(2)),t.biff>=2&&t.biff<8&&(--n,--i==0&&(i=256));for(var a=0,s=[];a!=n&&(s[a]=[]);++a)for(var f=0;f!=i;++f)s[a][f]=gx(e,t.biff);return s}function Tx(e,r,t){var n=e.read_shift(1)>>>5&3,i=!t||t.biff>=8?4:2,a=e.read_shift(i);switch(t.biff){case 2:e.l+=5;break;case 3:case 4:e.l+=8;break;case 5:e.l+=12;break}return[n,0,a]}function wx(e,r,t){if(t.biff==5)return Sx(e);var n=e.read_shift(1)>>>5&3,i=e.read_shift(2),a=e.read_shift(4);return[n,i,a]}function Sx(e){var r=e.read_shift(1)>>>5&3,t=e.read_shift(2,"i");e.l+=8;var n=e.read_shift(2);return e.l+=12,[r,t,n]}function Ax(e,r,t){var n=e.read_shift(1)>>>5&3;e.l+=t&&t.biff==2?3:4;var i=e.read_shift(t&&t.biff==2?1:2);return[n,i]}function yx(e,r,t){var n=e.read_shift(1)>>>5&3,i=e.read_shift(t&&t.biff==2?1:2);return[n,i]}function Fx(e,r,t){var n=e.read_shift(1)>>>5&3;return e.l+=4,t.biff<8&&e.l--,t.biff==12&&(e.l+=2),[n]}function Cx(e,r,t){var n=(e[e.l++]&96)>>5,i=e.read_shift(2),a=4;if(t)switch(t.biff){case 5:a=15;break;case 12:a=6;break}return e.l+=a,[n,i]}var Ox=Mt,Dx=Mt,Ix=Mt;function wn(e,r,t){return e.l+=2,[Vd(e)]}function Ea(e){return e.l+=6,[]}var kx=wn,Nx=Ea,Rx=Ea,Lx=wn;function Pf(e){return e.l+=2,[xf(e),e.read_shift(2)&1]}var Px=wn,Mx=Pf,bx=Ea,Bx=wn,Ux=wn,$x=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];function Wx(e){e.l+=2;var r=e.read_shift(2),t=e.read_shift(2),n=e.read_shift(4),i=e.read_shift(2),a=e.read_shift(2),s=$x[t>>2&31];return{ixti:r,coltype:t&3,rt:s,idx:n,c:i,C:a}}function Hx(e){return e.l+=2,[e.read_shift(4)]}function Vx(e,r,t){return e.l+=5,e.l+=2,e.l+=t.biff==2?1:4,["PTGSHEET"]}function Gx(e,r,t){return e.l+=t.biff==2?4:5,["PTGENDSHEET"]}function Xx(e){var r=e.read_shift(1)>>>5&3,t=e.read_shift(2);return[r,t]}function zx(e){var r=e.read_shift(1)>>>5&3,t=e.read_shift(2);return[r,t]}function jx(e){return e.l+=4,[0,0]}var F0={1:{n:"PtgExp",f:hx},2:{n:"PtgTbl",f:Ix},3:{n:"PtgAdd",f:Ue},4:{n:"PtgSub",f:Ue},5:{n:"PtgMul",f:Ue},6:{n:"PtgDiv",f:Ue},7:{n:"PtgPower",f:Ue},8:{n:"PtgConcat",f:Ue},9:{n:"PtgLt",f:Ue},10:{n:"PtgLe",f:Ue},11:{n:"PtgEq",f:Ue},12:{n:"PtgGe",f:Ue},13:{n:"PtgGt",f:Ue},14:{n:"PtgNe",f:Ue},15:{n:"PtgIsect",f:Ue},16:{n:"PtgUnion",f:Ue},17:{n:"PtgRange",f:Ue},18:{n:"PtgUplus",f:Ue},19:{n:"PtgUminus",f:Ue},20:{n:"PtgPercent",f:Ue},21:{n:"PtgParen",f:Ue},22:{n:"PtgMissArg",f:Ue},23:{n:"PtgStr",f:mx},26:{n:"PtgSheet",f:Vx},27:{n:"PtgEndSheet",f:Gx},28:{n:"PtgErr",f:dx},29:{n:"PtgBool",f:px},30:{n:"PtgInt",f:xx},31:{n:"PtgNum",f:vx},32:{n:"PtgArray",f:qd},33:{n:"PtgFunc",f:lx},34:{n:"PtgFuncVar",f:ox},35:{n:"PtgName",f:Tx},36:{n:"PtgRef",f:ax},37:{n:"PtgArea",f:zd},38:{n:"PtgMemArea",f:Ax},39:{n:"PtgMemErr",f:Ox},40:{n:"PtgMemNoMem",f:Dx},41:{n:"PtgMemFunc",f:yx},42:{n:"PtgRefErr",f:Fx},43:{n:"PtgAreaErr",f:Kd},44:{n:"PtgRefN",f:sx},45:{n:"PtgAreaN",f:Jd},46:{n:"PtgMemAreaN",f:Xx},47:{n:"PtgMemNoMemN",f:zx},57:{n:"PtgNameX",f:wx},58:{n:"PtgRef3d",f:fx},59:{n:"PtgArea3d",f:jd},60:{n:"PtgRefErr3d",f:Cx},61:{n:"PtgAreaErr3d",f:Yd},255:{}},Kx={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},Yx={1:{n:"PtgElfLel",f:Pf},2:{n:"PtgElfRw",f:Bx},3:{n:"PtgElfCol",f:kx},6:{n:"PtgElfRwV",f:Ux},7:{n:"PtgElfColV",f:Lx},10:{n:"PtgElfRadical",f:Px},11:{n:"PtgElfRadicalS",f:bx},13:{n:"PtgElfColS",f:Nx},15:{n:"PtgElfColSV",f:Rx},16:{n:"PtgElfRadicalLel",f:Mx},25:{n:"PtgList",f:Wx},29:{n:"PtgSxName",f:Hx},255:{}},Jx={0:{n:"PtgAttrNoop",f:jx},1:{n:"PtgAttrSemi",f:rx},2:{n:"PtgAttrIf",f:ex},4:{n:"PtgAttrChoose",f:Zd},8:{n:"PtgAttrGoto",f:Qd},16:{n:"PtgAttrSum",f:ux},32:{n:"PtgAttrBaxcel",f:y0},33:{n:"PtgAttrBaxcel",f:y0},64:{n:"PtgAttrSpace",f:nx},65:{n:"PtgAttrSpaceSemi",f:ix},128:{n:"PtgAttrIfError",f:tx},255:{}};function qx(e,r,t,n){if(n.biff<8)return Mt(e,r);for(var i=e.l+r,a=[],s=0;s!==t.length;++s)switch(t[s][0]){case"PtgArray":t[s][1]=Ex(e,0,n),a.push(t[s][1]);break;case"PtgMemArea":t[s][2]=_x(e,t[s][1],n),a.push(t[s][2]);break;case"PtgExp":n&&n.biff==12&&(t[s][1][1]=e.read_shift(4),a.push(t[s][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+t[s][0]}return r=i-e.l,r!==0&&a.push(Mt(e,r)),a}function Zx(e,r,t){for(var n=e.l+r,i,a,s=[];n!=e.l;)r=n-e.l,a=e[e.l],i=F0[a]||F0[Kx[a]],(a===24||a===25)&&(i=(a===24?Yx:Jx)[e[e.l+1]]),!i||!i.f?Mt(e,r):s.push([i.n,i.f(e,r,t)]);return s}function Qx(e){for(var r=[],t=0;t=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function tp(e,r){if(!e&&!(r&&r.biff<=5&&r.biff>=2))throw new Error("empty sheet name");return/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(e)?"'"+e+"'":e}function Mf(e,r,t){if(!e)return"SH33TJSERR0";if(t.biff>8&&(!e.XTI||!e.XTI[r]))return e.SheetNames[r];if(!e.XTI)return"SH33TJSERR6";var n=e.XTI[r];if(t.biff<8)return r>1e4&&(r-=65536),r<0&&(r=-r),r==0?"":e.XTI[r-1];if(!n)return"SH33TJSERR1";var i="";if(t.biff>8)switch(e[n[0]][0]){case 357:return i=n[1]==-1?"#REF":e.SheetNames[n[1]],n[1]==n[2]?i:i+":"+e.SheetNames[n[2]];case 358:return t.SID!=null?e.SheetNames[t.SID]:"SH33TJSSAME"+e[n[0]][0];case 355:default:return"SH33TJSSRC"+e[n[0]][0]}switch(e[n[0]][0][0]){case 1025:return i=n[1]==-1?"#REF":e.SheetNames[n[1]]||"SH33TJSERR3",n[1]==n[2]?i:i+":"+e.SheetNames[n[2]];case 14849:return e[n[0]].slice(1).map(function(a){return a.Name}).join(";;");default:return e[n[0]][0][3]?(i=n[1]==-1?"#REF":e[n[0]][0][3][n[1]]||"SH33TJSERR4",n[1]==n[2]?i:i+":"+e[n[0]][0][3][n[2]]):"SH33TJSERR2"}}function C0(e,r,t){var n=Mf(e,r,t);return n=="#REF"?n:tp(n,t)}function Hr(e,r,t,n,i){var a=i&&i.biff||8,s={s:{c:0,r:0},e:{c:0,r:0}},f=[],l,o,c,h=0,u=0,x,v="";if(!e[0]||!e[0][0])return"";for(var d=-1,m="",y=0,A=e[0].length;y=0){switch(e[0][d][1][0]){case 0:m=Pe(" ",e[0][d][1][1]);break;case 1:m=Pe("\r",e[0][d][1][1]);break;default:if(m="",i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][d][1][0])}o=o+m,d=-1}f.push(o+ep[F[0]]+l);break;case"PtgIsect":l=f.pop(),o=f.pop(),f.push(o+" "+l);break;case"PtgUnion":l=f.pop(),o=f.pop(),f.push(o+","+l);break;case"PtgRange":l=f.pop(),o=f.pop(),f.push(o+":"+l);break;case"PtgAttrChoose":break;case"PtgAttrGoto":break;case"PtgAttrIf":break;case"PtgAttrIfError":break;case"PtgRef":c=sn(F[1][1],s,i),f.push(fn(c,a));break;case"PtgRefN":c=t?sn(F[1][1],t,i):F[1][1],f.push(fn(c,a));break;case"PtgRef3d":h=F[1][1],c=sn(F[1][2],s,i),v=C0(n,h,i),f.push(v+"!"+fn(c,a));break;case"PtgFunc":case"PtgFuncVar":var I=F[1][0],z=F[1][1];I||(I=0),I&=127;var ee=I==0?[]:f.slice(-I);f.length-=I,z==="User"&&(z=ee.shift()),f.push(z+"("+ee.join(",")+")");break;case"PtgBool":f.push(F[1]?"TRUE":"FALSE");break;case"PtgInt":f.push(F[1]);break;case"PtgNum":f.push(String(F[1]));break;case"PtgStr":f.push('"'+F[1].replace(/"/g,'""')+'"');break;case"PtgErr":f.push(F[1]);break;case"PtgAreaN":x=u0(F[1][1],t?{s:t}:s,i),f.push(Ni(x,i));break;case"PtgArea":x=u0(F[1][1],s,i),f.push(Ni(x,i));break;case"PtgArea3d":h=F[1][1],x=F[1][2],v=C0(n,h,i),f.push(v+"!"+Ni(x,i));break;case"PtgAttrSum":f.push("SUM("+f.pop()+")");break;case"PtgAttrBaxcel":case"PtgAttrSemi":break;case"PtgName":u=F[1][2];var D=(n.names||[])[u-1]||(n[0]||[])[u],V=D?D.Name:"SH33TJSNAME"+String(u);V&&V.slice(0,6)=="_xlfn."&&!i.xlfn&&(V=V.slice(6)),f.push(V);break;case"PtgNameX":var P=F[1][1];u=F[1][2];var b;if(i.biff<=5)P<0&&(P=-P),n[P]&&(b=n[P][u]);else{var U="";if(((n[P]||[])[0]||[])[0]==14849||(((n[P]||[])[0]||[])[0]==1025?n[P][u]&&n[P][u].itab>0&&(U=n.SheetNames[n[P][u].itab-1]+"!"):U=n.SheetNames[u-1]+"!"),n[P]&&n[P][u])U+=n[P][u].Name;else if(n[0]&&n[0][u])U+=n[0][u].Name;else{var G=(Mf(n,P,i)||"").split(";;");G[u-1]?U=G[u-1]:U+="SH33TJSERRX"}f.push(U);break}b||(b={Name:"SH33TJSERRY"}),f.push(b.Name);break;case"PtgParen":var K="(",ce=")";if(d>=0){switch(m="",e[0][d][1][0]){case 2:K=Pe(" ",e[0][d][1][1])+K;break;case 3:K=Pe("\r",e[0][d][1][1])+K;break;case 4:ce=Pe(" ",e[0][d][1][1])+ce;break;case 5:ce=Pe("\r",e[0][d][1][1])+ce;break;default:if(i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][d][1][0])}d=-1}f.push(K+f.pop()+ce);break;case"PtgRefErr":f.push("#REF!");break;case"PtgRefErr3d":f.push("#REF!");break;case"PtgExp":c={c:F[1][1],r:F[1][0]};var le={c:t.c,r:t.r};if(n.sharedf[Se(c)]){var de=n.sharedf[Se(c)];f.push(Hr(de,s,le,n,i))}else{var xe=!1;for(l=0;l!=n.arrayf.length;++l)if(o=n.arrayf[l],!(c.co[0].e.c)&&!(c.ro[0].e.r)){f.push(Hr(o[1],s,le,n,i)),xe=!0;break}xe||f.push(F[1])}break;case"PtgArray":f.push("{"+Qx(F[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":d=y;break;case"PtgTbl":break;case"PtgMemErr":break;case"PtgMissArg":f.push("");break;case"PtgAreaErr":f.push("#REF!");break;case"PtgAreaErr3d":f.push("#REF!");break;case"PtgList":f.push("Table"+F[1].idx+"[#"+F[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(F));default:throw new Error("Unrecognized Formula Token: "+String(F))}var ze=["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"];if(i.biff!=3&&d>=0&&ze.indexOf(e[0][y][0])==-1){F=e[0][d];var Be=!0;switch(F[1][0]){case 4:Be=!1;case 0:m=Pe(" ",F[1][1]);break;case 5:Be=!1;case 1:m=Pe("\r",F[1][1]);break;default:if(m="",i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+F[1][0])}f.push((Be?m:"")+f.pop()+(Be?"":m)),d=-1}}if(f.length>1&&i.WTF)throw new Error("bad formula stack");return f[0]}function rp(e){if(e==null){var r=B(8);return r.write_shift(1,3),r.write_shift(1,0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(2,65535),r}else if(typeof e=="number")return _r(e);return _r(0)}function np(e,r,t,n,i){var a=Er(r,t,i),s=rp(e.v),f=B(6),l=33;f.write_shift(2,l),f.write_shift(4,0);for(var o=B(e.bf.length),c=0;c0?qx(e,a,i,t):null;return[i,s]}var ip=mi,gi=mi,ap=mi,sp=mi,fp={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"},bf={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"},lp={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 op(e){var r="of:="+e.replace(ga,"$1[.$2$3$4$5]").replace(/\]:\[/g,":");return r.replace(/;/g,"|").replace(/,/g,";")}function cp(e){return e.replace(/\./,"!")}var ln=typeof Map<"u";function Ta(e,r,t){var n=0,i=e.length;if(t){if(ln?t.has(r):Object.prototype.hasOwnProperty.call(t,r)){for(var a=ln?t.get(r):t[r];n-1?(t.width=zi(n),t.customWidth=1):r.width!=null&&(t.width=r.width),r.hidden&&(t.hidden=!0),r.level!=null&&(t.outlineLevel=t.level=r.level),t}function Bf(e,r){if(e){var t=[.7,.7,.75,.75,.3,.3];r=="xlml"&&(t=[1,1,1,1,.5,.5]),e.left==null&&(e.left=t[0]),e.right==null&&(e.right=t[1]),e.top==null&&(e.top=t[2]),e.bottom==null&&(e.bottom=t[3]),e.header==null&&(e.header=t[4]),e.footer==null&&(e.footer=t[5])}}function or(e,r,t){var n=t.revssf[r.z!=null?r.z:"General"],i=60,a=e.length;if(n==null&&t.ssf){for(;i<392;++i)if(t.ssf[i]==null){Ns(r.z,i),t.ssf[i]=r.z,t.revssf[r.z]=n=i;break}}for(i=0;i!=a;++i)if(e[i].numFmtId===n)return i;return e[a]={numFmtId:n,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},a}function up(e,r,t){if(e&&e["!ref"]){var n=Ie(e["!ref"]);if(n.e.c',t=0;t!=e.length;++t)r+='';return r+""}function dp(e,r,t,n,i){var a=!1,s={},f=null;if(n.bookType!=="xlsx"&&r.vbaraw){var l=r.SheetNames[t];try{r.Workbook&&(l=r.Workbook.Sheets[t].CodeName||l)}catch{}a=!0,s.codeName=Wt(we(l))}if(e&&e["!outline"]){var o={summaryBelow:1,summaryRight:1};e["!outline"].above&&(o.summaryBelow=0),e["!outline"].left&&(o.summaryRight=0),f=(f||"")+q("outlinePr",null,o)}!a&&!f||(i[i.length]=q("sheetPr",f,s))}var xp=["objects","scenarios","selectLockedCells","selectUnlockedCells"],pp=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];function vp(e){var r={sheet:1};return xp.forEach(function(t){e[t]!=null&&e[t]&&(r[t]="1")}),pp.forEach(function(t){e[t]!=null&&!e[t]&&(r[t]="0")}),e.password&&(r.password=Tf(e.password).toString(16).toUpperCase()),q("sheetProtection",null,r)}function mp(e){return Bf(e),q("pageMargins",null,e)}function gp(e,r){for(var t=[""],n,i=0;i!=r.length;++i)(n=r[i])&&(t[t.length]=q("col",null,_i(i,n)));return t[t.length]="",t.join("")}function _p(e,r,t,n){var i=typeof e.ref=="string"?e.ref:$e(e.ref);t.Workbook||(t.Workbook={Sheets:[]}),t.Workbook.Names||(t.Workbook.Names=[]);var a=t.Workbook.Names,s=_t(i);s.s.r==s.e.r&&(s.e.r=_t(r["!ref"]).e.r,i=$e(s));for(var f=0;f"u"&&(e.z=Me[14]);break;default:i=e.v;break}var f=qe("v",we(i)),l={r},o=or(n.cellXfs,e,n);switch(o!==0&&(l.s=o),e.t){case"n":break;case"d":l.t="d";break;case"b":l.t="b";break;case"e":l.t="e";break;case"z":break;default:if(e.v==null){delete e.t;break}if(e.v.length>32767)throw new Error("Text length must not exceed 32767 characters");if(n&&n.bookSST){f=qe("v",""+Ta(n.Strings,e.v,n.revStrings)),l.t="s";break}l.t="str";break}if(e.t!=a&&(e.t=a,e.v=s),typeof e.f=="string"&&e.f){var c=e.F&&e.F.slice(0,r.length)==r?{t:"array",ref:e.F}:null;f=q("f",we(e.f),c)+(e.v!=null?f:"")}return e.l&&t["!links"].push([r,e.l]),e.D&&(l.cm=1),q("c",f,l)}function wp(e,r,t,n){var i=[],a=[],s=Ie(e["!ref"]),f="",l,o="",c=[],h=0,u=0,x=e["!rows"],v=Array.isArray(e),d={r:o},m,y=-1;for(u=s.s.c;u<=s.e.c;++u)c[u]=rt(u);for(h=s.s.r;h<=s.e.r;++h){for(a=[],o=Ze(h),u=s.s.c;u<=s.e.c;++u){l=c[u]+o;var A=v?(e[h]||[])[u]:e[l];A!==void 0&&(f=Tp(A,l,e,r))!=null&&a.push(f)}(a.length>0||x&&x[h])&&(d={r:o},x&&x[h]&&(m=x[h],m.hidden&&(d.hidden=1),y=-1,m.hpx?y=ei(m.hpx):m.hpt&&(y=m.hpt),y>-1&&(d.ht=y,d.customHeight=1),m.level&&(d.outlineLevel=m.level)),i[i.length]=q("row",a.join(""),d))}if(x)for(;h-1&&(d.ht=y,d.customHeight=1),m.level&&(d.outlineLevel=m.level),i[i.length]=q("row","",d));return i.join("")}function Uf(e,r,t,n){var i=[We,q("worksheet",null,{xmlns:zr[0],"xmlns:r":Ve.r})],a=t.SheetNames[e],s=0,f="",l=t.Sheets[a];l==null&&(l={});var o=l["!ref"]||"A1",c=Ie(o);if(c.e.c>16383||c.e.r>1048575){if(r.WTF)throw new Error("Range "+o+" exceeds format limit A1:XFD1048576");c.e.c=Math.min(c.e.c,16383),c.e.r=Math.min(c.e.c,1048575),o=$e(c)}n||(n={}),l["!comments"]=[];var h=[];dp(l,t,e,r,i),i[i.length]=q("dimension",null,{ref:o}),i[i.length]=Ep(l,r,e,t),r.sheetFormat&&(i[i.length]=q("sheetFormatPr",null,{defaultRowHeight:r.sheetFormat.defaultRowHeight||"16",baseColWidth:r.sheetFormat.baseColWidth||"10",outlineLevelRow:r.sheetFormat.outlineLevelRow||"7"})),l["!cols"]!=null&&l["!cols"].length>0&&(i[i.length]=gp(l,l["!cols"])),i[s=i.length]="",l["!links"]=[],l["!ref"]!=null&&(f=wp(l,r),f.length>0&&(i[i.length]=f)),i.length>s+1&&(i[i.length]="",i[s]=i[s].replace("/>",">")),l["!protect"]&&(i[i.length]=vp(l["!protect"])),l["!autofilter"]!=null&&(i[i.length]=_p(l["!autofilter"],l,t,e)),l["!merges"]!=null&&l["!merges"].length>0&&(i[i.length]=hp(l["!merges"]));var u=-1,x,v=-1;return l["!links"].length>0&&(i[i.length]="",l["!links"].forEach(function(d){d[1].Target&&(x={ref:d[0]},d[1].Target.charAt(0)!="#"&&(v=Te(n,-1,we(d[1].Target).replace(/#.*$/,""),me.HLINK),x["r:id"]="rId"+v),(u=d[1].Target.indexOf("#"))>-1&&(x.location=we(d[1].Target.slice(u+1))),d[1].Tooltip&&(x.tooltip=we(d[1].Tooltip)),i[i.length]=q("hyperlink",null,x))}),i[i.length]=""),delete l["!links"],l["!margins"]!=null&&(i[i.length]=mp(l["!margins"])),(!r||r.ignoreEC||r.ignoreEC==null)&&(i[i.length]=qe("ignoredErrors",q("ignoredError",null,{numberStoredAsText:1,sqref:o}))),h.length>0&&(v=Te(n,-1,"../drawings/drawing"+(e+1)+".xml",me.DRAW),i[i.length]=q("drawing",null,{"r:id":"rId"+v}),l["!drawing"]=h),l["!comments"].length>0&&(v=Te(n,-1,"../drawings/vmlDrawing"+(e+1)+".vml",me.VML),i[i.length]=q("legacyDrawing",null,{"r:id":"rId"+v}),l["!legacy"]=v),i.length>1&&(i[i.length]="",i[1]=i[1].replace("/>",">")),i.join("")}function Sp(e,r){var t={},n=e.l+r;t.r=e.read_shift(4),e.l+=4;var i=e.read_shift(2);e.l+=1;var a=e.read_shift(1);return e.l=n,a&7&&(t.level=a&7),a&16&&(t.hidden=!0),a&32&&(t.hpt=i/20),t}function Ap(e,r,t){var n=B(145),i=(t["!rows"]||[])[e]||{};n.write_shift(4,e),n.write_shift(4,0);var a=320;i.hpx?a=ei(i.hpx)*20:i.hpt&&(a=i.hpt*20),n.write_shift(2,a),n.write_shift(1,0);var s=0;i.level&&(s|=i.level),i.hidden&&(s|=16),(i.hpx||i.hpt)&&(s|=32),n.write_shift(1,s),n.write_shift(1,0);var f=0,l=n.l;n.l+=4;for(var o={r:e,c:0},c=0;c<16;++c)if(!(r.s.c>c+1<<10||r.e.cn.l?n.slice(0,n.l):n}function yp(e,r,t,n){var i=Ap(n,t,r);(i.length>17||(r["!rows"]||[])[n])&&X(e,0,i)}var Fp=Cr,Cp=Kr;function Op(){}function Dp(e,r){var t={},n=e[e.l];return++e.l,t.above=!(n&64),t.left=!(n&128),e.l+=18,t.name=Uh(e),t}function Ip(e,r,t){t==null&&(t=B(84+4*e.length));var n=192;r&&(r.above&&(n&=-65),r.left&&(n&=-129)),t.write_shift(1,n);for(var i=1;i<3;++i)t.write_shift(1,0);return Jn({auto:1},t),t.write_shift(-4,-1),t.write_shift(-4,-1),Qs(e,t),t.slice(0,t.l)}function kp(e){var r=At(e);return[r]}function Np(e,r,t){return t==null&&(t=B(8)),Ar(r,t)}function Rp(e){var r=yr(e);return[r]}function Lp(e,r,t){return t==null&&(t=B(4)),Fr(r,t)}function Pp(e){var r=At(e),t=e.read_shift(1);return[r,t,"b"]}function Mp(e,r,t){return t==null&&(t=B(9)),Ar(r,t),t.write_shift(1,e.v?1:0),t}function bp(e){var r=yr(e),t=e.read_shift(1);return[r,t,"b"]}function Bp(e,r,t){return t==null&&(t=B(5)),Fr(r,t),t.write_shift(1,e.v?1:0),t}function Up(e){var r=At(e),t=e.read_shift(1);return[r,t,"e"]}function $p(e,r,t){return t==null&&(t=B(9)),Ar(r,t),t.write_shift(1,e.v),t}function Wp(e){var r=yr(e),t=e.read_shift(1);return[r,t,"e"]}function Hp(e,r,t){return t==null&&(t=B(8)),Fr(r,t),t.write_shift(1,e.v),t.write_shift(2,0),t.write_shift(1,0),t}function Vp(e){var r=At(e),t=e.read_shift(4);return[r,t,"s"]}function Gp(e,r,t){return t==null&&(t=B(12)),Ar(r,t),t.write_shift(4,r.v),t}function Xp(e){var r=yr(e),t=e.read_shift(4);return[r,t,"s"]}function zp(e,r,t){return t==null&&(t=B(8)),Fr(r,t),t.write_shift(4,r.v),t}function jp(e){var r=At(e),t=Yr(e);return[r,t,"n"]}function Kp(e,r,t){return t==null&&(t=B(16)),Ar(r,t),_r(e.v,t),t}function Yp(e){var r=yr(e),t=Yr(e);return[r,t,"n"]}function Jp(e,r,t){return t==null&&(t=B(12)),Fr(r,t),_r(e.v,t),t}function qp(e){var r=At(e),t=ef(e);return[r,t,"n"]}function Zp(e,r,t){return t==null&&(t=B(12)),Ar(r,t),tf(e.v,t),t}function Qp(e){var r=yr(e),t=ef(e);return[r,t,"n"]}function e2(e,r,t){return t==null&&(t=B(8)),Fr(r,t),tf(e.v,t),t}function t2(e){var r=At(e),t=da(e);return[r,t,"is"]}function r2(e){var r=At(e),t=nt(e);return[r,t,"str"]}function n2(e,r,t){return t==null&&(t=B(12+4*e.v.length)),Ar(r,t),Xe(e.v,t),t.length>t.l?t.slice(0,t.l):t}function i2(e){var r=yr(e),t=nt(e);return[r,t,"str"]}function a2(e,r,t){return t==null&&(t=B(8+4*e.v.length)),Fr(r,t),Xe(e.v,t),t.length>t.l?t.slice(0,t.l):t}function s2(e,r,t){var n=e.l+r,i=At(e);i.r=t["!row"];var a=e.read_shift(1),s=[i,a,"b"];if(t.cellFormula){e.l+=2;var f=gi(e,n-e.l,t);s[3]=Hr(f,null,i,t.supbooks,t)}else e.l=n;return s}function f2(e,r,t){var n=e.l+r,i=At(e);i.r=t["!row"];var a=e.read_shift(1),s=[i,a,"e"];if(t.cellFormula){e.l+=2;var f=gi(e,n-e.l,t);s[3]=Hr(f,null,i,t.supbooks,t)}else e.l=n;return s}function l2(e,r,t){var n=e.l+r,i=At(e);i.r=t["!row"];var a=Yr(e),s=[i,a,"n"];if(t.cellFormula){e.l+=2;var f=gi(e,n-e.l,t);s[3]=Hr(f,null,i,t.supbooks,t)}else e.l=n;return s}function o2(e,r,t){var n=e.l+r,i=At(e);i.r=t["!row"];var a=nt(e),s=[i,a,"str"];if(t.cellFormula){e.l+=2;var f=gi(e,n-e.l,t);s[3]=Hr(f,null,i,t.supbooks,t)}else e.l=n;return s}var c2=Cr,u2=Kr;function h2(e,r){return r==null&&(r=B(4)),r.write_shift(4,e),r}function d2(e,r){var t=e.l+r,n=Cr(e),i=xa(e),a=nt(e),s=nt(e),f=nt(e);e.l=t;var l={rfx:n,relId:i,loc:a,display:f};return s&&(l.Tooltip=s),l}function x2(e,r){var t=B(50+4*(e[1].Target.length+(e[1].Tooltip||"").length));Kr({s:Ge(e[0]),e:Ge(e[0])},t),pa("rId"+r,t);var n=e[1].Target.indexOf("#"),i=n==-1?"":e[1].Target.slice(n+1);return Xe(i||"",t),Xe(e[1].Tooltip||"",t),Xe("",t),t.slice(0,t.l)}function p2(){}function v2(e,r,t){var n=e.l+r,i=rf(e),a=e.read_shift(1),s=[i];if(s[2]=a,t.cellFormula){var f=ip(e,n-e.l,t);s[1]=f}else e.l=n;return s}function m2(e,r,t){var n=e.l+r,i=Cr(e),a=[i];if(t.cellFormula){var s=sp(e,n-e.l,t);a[1]=s,e.l=n}else e.l=n;return a}function g2(e,r,t){t==null&&(t=B(18));var n=_i(e,r);t.write_shift(-4,e),t.write_shift(-4,e),t.write_shift(4,(n.width||10)*256),t.write_shift(4,0);var i=0;return r.hidden&&(i|=1),typeof n.width=="number"&&(i|=2),r.level&&(i|=r.level<<8),t.write_shift(2,i),t}var $f=["left","right","top","bottom","header","footer"];function _2(e){var r={};return $f.forEach(function(t){r[t]=Yr(e)}),r}function E2(e,r){return r==null&&(r=B(6*8)),Bf(e),$f.forEach(function(t){_r(e[t],r)}),r}function T2(e){var r=e.read_shift(2);return e.l+=28,{RTL:r&32}}function w2(e,r,t){t==null&&(t=B(30));var n=924;return(((r||{}).Views||[])[0]||{}).RTL&&(n|=32),t.write_shift(2,n),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(1,0),t.write_shift(1,0),t.write_shift(2,0),t.write_shift(2,100),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(4,0),t}function S2(e){var r=B(24);return r.write_shift(4,4),r.write_shift(4,1),Kr(e,r),r}function A2(e,r){return r==null&&(r=B(16*4+2)),r.write_shift(2,e.password?Tf(e.password):0),r.write_shift(4,1),[["objects",!1],["scenarios",!1],["formatCells",!0],["formatColumns",!0],["formatRows",!0],["insertColumns",!0],["insertRows",!0],["insertHyperlinks",!0],["deleteColumns",!0],["deleteRows",!0],["selectLockedCells",!1],["sort",!0],["autoFilter",!0],["pivotTables",!0],["selectUnlockedCells",!1]].forEach(function(t){t[1]?r.write_shift(4,e[t[0]]!=null&&!e[t[0]]?1:0):r.write_shift(4,e[t[0]]!=null&&e[t[0]]?0:1)}),r}function y2(){}function F2(){}function C2(e,r,t,n,i,a,s){if(r.v===void 0)return!1;var f="";switch(r.t){case"b":f=r.v?"1":"0";break;case"d":r=ht(r),r.z=r.z||Me[14],r.v=ut(ft(r.v)),r.t="n";break;case"n":case"e":f=""+r.v;break;default:f=r.v;break}var l={r:t,c:n};switch(l.s=or(i.cellXfs,r,i),r.l&&a["!links"].push([Se(l),r.l]),r.c&&a["!comments"].push([Se(l),r.c]),r.t){case"s":case"str":return i.bookSST?(f=Ta(i.Strings,r.v,i.revStrings),l.t="s",l.v=f,s?X(e,18,zp(r,l)):X(e,7,Gp(r,l))):(l.t="str",s?X(e,17,a2(r,l)):X(e,6,n2(r,l))),!0;case"n":return r.v==(r.v|0)&&r.v>-1e3&&r.v<1e3?s?X(e,13,e2(r,l)):X(e,2,Zp(r,l)):s?X(e,16,Jp(r,l)):X(e,5,Kp(r,l)),!0;case"b":return l.t="b",s?X(e,15,Bp(r,l)):X(e,4,Mp(r,l)),!0;case"e":return l.t="e",s?X(e,14,Hp(r,l)):X(e,3,$p(r,l)),!0}return s?X(e,12,Lp(r,l)):X(e,1,Np(r,l)),!0}function O2(e,r,t,n){var i=Ie(r["!ref"]||"A1"),a,s="",f=[];X(e,145);var l=Array.isArray(r),o=i.e.r;r["!rows"]&&(o=Math.max(i.e.r,r["!rows"].length-1));for(var c=i.s.r;c<=o;++c){s=Ze(c),yp(e,r,i,c);var h=!1;if(c<=i.e.r)for(var u=i.s.c;u<=i.e.c;++u){c===i.s.r&&(f[u]=rt(u)),a=f[u]+s;var x=l?(r[c]||[])[u]:r[a];if(!x){h=!1;continue}h=C2(e,x,c,u,n,r,h)}}X(e,146)}function D2(e,r){!r||!r["!merges"]||(X(e,177,h2(r["!merges"].length)),r["!merges"].forEach(function(t){X(e,176,u2(t))}),X(e,178))}function I2(e,r){!r||!r["!cols"]||(X(e,390),r["!cols"].forEach(function(t,n){t&&X(e,60,g2(n,t))}),X(e,391))}function k2(e,r){!r||!r["!ref"]||(X(e,648),X(e,649,S2(Ie(r["!ref"]))),X(e,650))}function N2(e,r,t){r["!links"].forEach(function(n){if(n[1].Target){var i=Te(t,-1,n[1].Target.replace(/#.*$/,""),me.HLINK);X(e,494,x2(n,i))}}),delete r["!links"]}function R2(e,r,t,n){if(r["!comments"].length>0){var i=Te(n,-1,"../drawings/vmlDrawing"+(t+1)+".vml",me.VML);X(e,551,pa("rId"+i)),r["!legacy"]=i}}function L2(e,r,t,n){if(r["!autofilter"]){var i=r["!autofilter"],a=typeof i.ref=="string"?i.ref:$e(i.ref);t.Workbook||(t.Workbook={Sheets:[]}),t.Workbook.Names||(t.Workbook.Names=[]);var s=t.Workbook.Names,f=_t(a);f.s.r==f.e.r&&(f.e.r=_t(r["!ref"]).e.r,a=$e(f));for(var l=0;l16383||l.e.r>1048575){if(r.WTF)throw new Error("Range "+(s["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");l.e.c=Math.min(l.e.c,16383),l.e.r=Math.min(l.e.c,1048575)}return s["!links"]=[],s["!comments"]=[],X(i,129),(t.vbaraw||s["!outline"])&&X(i,147,Ip(f,s["!outline"])),X(i,148,Cp(l)),P2(i,s,t.Workbook),I2(i,s),O2(i,s,e,r),M2(i,s),L2(i,s,t,e),D2(i,s),N2(i,s,n),s["!margins"]&&X(i,476,E2(s["!margins"])),(!r||r.ignoreEC||r.ignoreEC==null)&&k2(i,s),R2(i,s,e,n),X(i,130),i.end()}function B2(e,r){e.l+=10;var t=nt(e);return{name:t}}var U2=[["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"]];function $2(e){return!e.Workbook||!e.Workbook.WBProps?"false":mh(e.Workbook.WBProps.date1904)?"true":"false"}var W2="][*?/\\".split("");function Wf(e,r){if(e.length>31){if(r)return!1;throw new Error("Sheet names cannot exceed 31 chars")}var t=!0;return W2.forEach(function(n){if(e.indexOf(n)!=-1){if(!r)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");t=!1}}),t}function H2(e,r,t){e.forEach(function(n,i){Wf(n);for(var a=0;a22)throw new Error("Bad Code Name: Worksheet"+s)}})}function V2(e){if(!e||!e.SheetNames||!e.Sheets)throw new Error("Invalid Workbook");if(!e.SheetNames.length)throw new Error("Workbook is empty");var r=e.Workbook&&e.Workbook.Sheets||[];H2(e.SheetNames,r,!!e.vbaraw);for(var t=0;t0,n={codeName:"ThisWorkbook"};e.Workbook&&e.Workbook.WBProps&&(U2.forEach(function(f){e.Workbook.WBProps[f[0]]!=null&&e.Workbook.WBProps[f[0]]!=f[1]&&(n[f[0]]=e.Workbook.WBProps[f[0]])}),e.Workbook.WBProps.CodeName&&(n.codeName=e.Workbook.WBProps.CodeName,delete n.CodeName)),r[r.length]=q("workbookPr",null,n);var i=e.Workbook&&e.Workbook.Sheets||[],a=0;if(i&&i[0]&&i[0].Hidden){for(r[r.length]="",a=0;a!=e.SheetNames.length&&!(!i[a]||!i[a].Hidden);++a);a==e.SheetNames.length&&(a=0),r[r.length]='',r[r.length]=""}for(r[r.length]="",a=0;a!=e.SheetNames.length;++a){var s={name:we(e.SheetNames[a].slice(0,31))};if(s.sheetId=""+(a+1),s["r:id"]="rId"+(a+1),i[a])switch(i[a].Hidden){case 1:s.state="hidden";break;case 2:s.state="veryHidden";break}r[r.length]=q("sheet",null,s)}return r[r.length]="",t&&(r[r.length]="",e.Workbook&&e.Workbook.Names&&e.Workbook.Names.forEach(function(f){var l={name:f.Name};f.Comment&&(l.comment=f.Comment),f.Sheet!=null&&(l.localSheetId=""+f.Sheet),f.Hidden&&(l.hidden="1"),f.Ref&&(r[r.length]=q("definedName",we(f.Ref),l))}),r[r.length]=""),r.length>2&&(r[r.length]="",r[1]=r[1].replace("/>",">")),r.join("")}function G2(e,r){var t={};return t.Hidden=e.read_shift(4),t.iTabID=e.read_shift(4),t.strRelID=Xi(e),t.name=nt(e),t}function X2(e,r){return r||(r=B(127)),r.write_shift(4,e.Hidden),r.write_shift(4,e.iTabID),pa(e.strRelID,r),Xe(e.name.slice(0,31),r),r.length>r.l?r.slice(0,r.l):r}function z2(e,r){var t={},n=e.read_shift(4);t.defaultThemeVersion=e.read_shift(4);var i=r>8?nt(e):"";return i.length>0&&(t.CodeName=i),t.autoCompressPictures=!!(n&65536),t.backupFile=!!(n&64),t.checkCompatibility=!!(n&4096),t.date1904=!!(n&1),t.filterPrivacy=!!(n&8),t.hidePivotFieldList=!!(n&1024),t.promptedSolutions=!!(n&16),t.publishItems=!!(n&2048),t.refreshAllConnections=!!(n&262144),t.saveExternalLinkValues=!!(n&128),t.showBorderUnselectedTables=!!(n&4),t.showInkAnnotation=!!(n&32),t.showObjects=["all","placeholders","none"][n>>13&3],t.showPivotChartFilter=!!(n&32768),t.updateLinks=["userSet","never","always"][n>>8&3],t}function j2(e,r){r||(r=B(72));var t=0;return e&&e.filterPrivacy&&(t|=8),r.write_shift(4,t),r.write_shift(4,0),Qs(e&&e.CodeName||"ThisWorkbook",r),r.slice(0,r.l)}function K2(e,r,t){var n=e.l+r;e.l+=4,e.l+=1;var i=e.read_shift(4),a=$h(e),s=ap(e,0,t),f=xa(e);e.l=n;var l={Name:a,Ptg:s};return i<268435455&&(l.Sheet=i),f&&(l.Comment=f),l}function Y2(e,r){X(e,143);for(var t=0;t!=r.SheetNames.length;++t){var n=r.Workbook&&r.Workbook.Sheets&&r.Workbook.Sheets[t]&&r.Workbook.Sheets[t].Hidden||0,i={Hidden:n,iTabID:t+1,strRelID:"rId"+(t+1),name:r.SheetNames[t]};X(e,156,X2(i))}X(e,144)}function J2(e,r){r||(r=B(127));for(var t=0;t!=4;++t)r.write_shift(4,0);return Xe("SheetJS",r),Xe(Vn.version,r),Xe(Vn.version,r),Xe("7262",r),r.length>r.l?r.slice(0,r.l):r}function q2(e,r){r||(r=B(29)),r.write_shift(-4,0),r.write_shift(-4,460),r.write_shift(4,28800),r.write_shift(4,17600),r.write_shift(4,500),r.write_shift(4,e),r.write_shift(4,e);var t=120;return r.write_shift(1,t),r.length>r.l?r.slice(0,r.l):r}function Z2(e,r){if(!(!r.Workbook||!r.Workbook.Sheets)){for(var t=r.Workbook.Sheets,n=0,i=-1,a=-1;ni||(X(e,135),X(e,158,q2(i)),X(e,136))}}function Q2(e,r){var t=ct();return X(t,131),X(t,128,J2()),X(t,153,j2(e.Workbook&&e.Workbook.WBProps||null)),Z2(t,e),Y2(t,e),X(t,132),t.end()}function ev(e,r,t){return(r.slice(-4)===".bin"?Q2:Hf)(e)}function tv(e,r,t,n,i){return(r.slice(-4)===".bin"?b2:Uf)(e,t,n,i)}function rv(e,r,t){return(r.slice(-4)===".bin"?Ed:Af)(e,t)}function nv(e,r,t){return(r.slice(-4)===".bin"?j1:Ef)(e,t)}function iv(e,r,t){return(r.slice(-4)===".bin"?Md:Df)(e)}function av(e){return(e.slice(-4)===".bin"?Od:Cf)()}function sv(e,r){var t=[];return e.Props&&t.push(r1(e.Props,r)),e.Custprops&&t.push(n1(e.Props,e.Custprops)),t.join("")}function fv(){return""}function lv(e,r){var t=[''];return r.cellXfs.forEach(function(n,i){var a=[];a.push(q("NumberFormat",null,{"ss:Format":we(Me[n.numFmtId])}));var s={"ss:ID":"s"+(21+i)};t.push(q("Style",a.join(""),s))}),q("Styles",t.join(""))}function Vf(e){return q("NamedRange",null,{"ss:Name":e.Name,"ss:RefersTo":"="+_a(e.Ref,{r:0,c:0})})}function ov(e){if(!((e||{}).Workbook||{}).Names)return"";for(var r=e.Workbook.Names,t=[],n=0;n"),e["!margins"].header&&i.push(q("Header",null,{"x:Margin":e["!margins"].header})),e["!margins"].footer&&i.push(q("Footer",null,{"x:Margin":e["!margins"].footer})),i.push(q("PageMargins",null,{"x:Bottom":e["!margins"].bottom||"0.75","x:Left":e["!margins"].left||"0.7","x:Right":e["!margins"].right||"0.7","x:Top":e["!margins"].top||"0.75"})),i.push("")),n&&n.Workbook&&n.Workbook.Sheets&&n.Workbook.Sheets[t])if(n.Workbook.Sheets[t].Hidden)i.push(q("Visible",n.Workbook.Sheets[t].Hidden==1?"SheetHidden":"SheetVeryHidden",{}));else{for(var a=0;a")}return((((n||{}).Workbook||{}).Views||[])[0]||{}).RTL&&i.push(""),e["!protect"]&&(i.push(qe("ProtectContents","True")),e["!protect"].objects&&i.push(qe("ProtectObjects","True")),e["!protect"].scenarios&&i.push(qe("ProtectScenarios","True")),e["!protect"].selectLockedCells!=null&&!e["!protect"].selectLockedCells?i.push(qe("EnableSelection","NoSelection")):e["!protect"].selectUnlockedCells!=null&&!e["!protect"].selectUnlockedCells&&i.push(qe("EnableSelection","UnlockedCells")),[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","AllowSizeRows"],["insertColumns","AllowInsertCols"],["insertRows","AllowInsertRows"],["insertHyperlinks","AllowInsertHyperlinks"],["deleteColumns","AllowDeleteCols"],["deleteRows","AllowDeleteRows"],["sort","AllowSort"],["autoFilter","AllowFilter"],["pivotTables","AllowUsePivotTables"]].forEach(function(s){e["!protect"][s[0]]&&i.push("<"+s[1]+"/>")})),i.length==0?"":q("WorksheetOptions",i.join(""),{xmlns:mt.x})}function hv(e){return e.map(function(r){var t=vh(r.t||""),n=q("ss:Data",t,{xmlns:"http://www.w3.org/TR/REC-html40"});return q("Comment",n,{"ss:Author":r.a})}).join("")}function dv(e,r,t,n,i,a,s){if(!e||e.v==null&&e.f==null)return"";var f={};if(e.f&&(f["ss:Formula"]="="+we(_a(e.f,s))),e.F&&e.F.slice(0,r.length)==r){var l=Ge(e.F.slice(r.length+1));f["ss:ArrayRange"]="RC:R"+(l.r==s.r?"":"["+(l.r-s.r)+"]")+"C"+(l.c==s.c?"":"["+(l.c-s.c)+"]")}if(e.l&&e.l.Target&&(f["ss:HRef"]=we(e.l.Target),e.l.Tooltip&&(f["x:HRefScreenTip"]=we(e.l.Tooltip))),t["!merges"])for(var o=t["!merges"],c=0;c!=o.length;++c)o[c].s.c!=s.c||o[c].s.r!=s.r||(o[c].e.c>o[c].s.c&&(f["ss:MergeAcross"]=o[c].e.c-o[c].s.c),o[c].e.r>o[c].s.r&&(f["ss:MergeDown"]=o[c].e.r-o[c].s.r));var h="",u="";switch(e.t){case"z":if(!n.sheetStubs)return"";break;case"n":h="Number",u=String(e.v);break;case"b":h="Boolean",u=e.v?"1":"0";break;case"e":h="Error",u=Tn[e.v];break;case"d":h="DateTime",u=new Date(e.v).toISOString(),e.z==null&&(e.z=e.z||Me[14]);break;case"s":h="String",u=ph(e.v||"");break}var x=or(n.cellXfs,e,n);f["ss:StyleID"]="s"+(21+x),f["ss:Index"]=s.c+1;var v=e.v!=null?u:"",d=e.t=="z"?"":''+v+"";return(e.c||[]).length>0&&(d+=hv(e.c)),q("Cell",d,f)}function xv(e,r){var t='"}function pv(e,r,t,n){if(!e["!ref"])return"";var i=Ie(e["!ref"]),a=e["!merges"]||[],s=0,f=[];e["!cols"]&&e["!cols"].forEach(function(m,y){ma(m);var A=!!m.width,F=_i(y,m),I={"ss:Index":y+1};A&&(I["ss:Width"]=Zn(F.width)),m.hidden&&(I["ss:Hidden"]="1"),f.push(q("Column",null,I))});for(var l=Array.isArray(e),o=i.s.r;o<=i.e.r;++o){for(var c=[xv(o,(e["!rows"]||[])[o])],h=i.s.c;h<=i.e.c;++h){var u=!1;for(s=0;s!=a.length;++s)if(!(a[s].s.c>h)&&!(a[s].s.r>o)&&!(a[s].e.c"),c.length>2&&f.push(c.join(""))}return f.join("")}function vv(e,r,t){var n=[],i=t.SheetNames[e],a=t.Sheets[i],s=a?cv(a,r,e,t):"";return s.length>0&&n.push(""+s+""),s=a?pv(a,r,e,t):"",s.length>0&&n.push(""+s+"
"),n.push(uv(a,r,e,t)),n.join("")}function mv(e,r){r||(r={}),e.SSF||(e.SSF=ht(Me)),e.SSF&&(xi(),di(e.SSF),r.revssf=pi(e.SSF),r.revssf[e.SSF[65535]]=0,r.ssf=e.SSF,r.cellXfs=[],or(r.cellXfs,{},{revssf:{General:0}}));var t=[];t.push(sv(e,r)),t.push(fv()),t.push(""),t.push("");for(var n=0;n-1||cf.indexOf(i[a][0])>-1||i[a][1]!=null&&o.push(i[a]);n.length&&Ae.utils.cfb_add(r,"/SummaryInformation",_0(n,Pi.SI,l,x0)),(t.length||o.length)&&Ae.utils.cfb_add(r,"/DocumentSummaryInformation",_0(t,Pi.DSI,f,d0,o.length?o:null,Pi.UDI))}function _v(e,r){var t=r||{},n=Ae.utils.cfb_new({root:"R"}),i="/Workbook";switch(t.bookType||"xls"){case"xls":t.bookType="biff8";case"xla":t.bookType||(t.bookType="xla");case"biff8":i="/Workbook",t.biff=8;break;case"biff5":i="/Book",t.biff=5;break;default:throw new Error("invalid type "+t.bookType+" for XLS CFB")}return Ae.utils.cfb_add(n,i,Gf(e,t)),t.biff==8&&(e.Props||e.Custprops)&&gv(e,n),t.biff==8&&e.vbaraw&&bd(n,Ae.read(e.vbaraw,{type:typeof e.vbaraw=="string"?"binary":"buffer"})),n}var Ev={0:{f:Sp},1:{f:kp},2:{f:qp},3:{f:Up},4:{f:Pp},5:{f:jp},6:{f:r2},7:{f:Vp},8:{f:o2},9:{f:l2},10:{f:s2},11:{f:f2},12:{f:Rp},13:{f:Qp},14:{f:Wp},15:{f:bp},16:{f:Yp},17:{f:i2},18:{f:Xp},19:{f:da},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:K2},40:{},42:{},43:{f:rd},44:{f:ed},45:{f:ad},46:{f:fd},47:{f:sd},48:{},49:{f:Rh},50:{},51:{f:Sd},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:L1},62:{f:t2},63:{f:Dd},64:{f:y2},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:Mt,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:T2},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:Dp},148:{f:Fp,p:16},151:{f:p2},152:{},153:{f:z2},154:{},155:{},156:{f:G2},157:{},158:{},159:{T:1,f:G1},160:{T:-1},161:{T:1,f:Cr},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:c2},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:Td},336:{T:-1},337:{f:Fd,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:Xi},357:{},358:{},359:{},360:{T:1},361:{},362:{f:O1},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:v2},427:{f:m2},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:_2},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:Op},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:d2},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:Xi},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:Ld},633:{T:1},634:{T:-1},635:{T:1,f:Nd},636:{T:-1},637:{f:bh},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:B2},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:F2},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:""}};function Z(e,r,t,n){var i=r;if(!isNaN(i)){var a=n||(t||[]).length||0,s=e.next(4);s.write_shift(2,i),s.write_shift(2,a),a>0&&ca(t)&&e.push(t)}}function Tv(e,r,t,n){var i=n||(t||[]).length||0;if(i<=8224)return Z(e,r,t,i);var a=r;if(!isNaN(a)){for(var s=t.parts||[],f=0,l=0,o=0;o+(s[f]||8224)<=8224;)o+=s[f]||8224,f++;var c=e.next(4);for(c.write_shift(2,a),c.write_shift(2,o),e.push(t.slice(l,l+o)),l+=o;l=0&&i<65536?Z(e,2,B1(t,n,i)):Z(e,3,b1(t,n,i));return;case"b":case"e":Z(e,5,wv(t,n,r.v,r.t));return;case"s":case"str":Z(e,4,Sv(t,n,(r.v||"").slice(0,255)));return}Z(e,1,Sn(null,t,n))}function yv(e,r,t,n){var i=Array.isArray(r),a=Ie(r["!ref"]||"A1"),s,f="",l=[];if(a.e.c>255||a.e.r>16383){if(n.WTF)throw new Error("Range "+(r["!ref"]||"A1")+" exceeds format limit A1:IV16384");a.e.c=Math.min(a.e.c,255),a.e.r=Math.min(a.e.c,16383),s=$e(a)}for(var o=a.s.r;o<=a.e.r;++o){f=Ze(o);for(var c=a.s.c;c<=a.e.c;++c){o===a.s.r&&(l[c]=rt(c)),s=l[c]+f;var h=i?(r[o]||[])[c]:r[s];h&&Av(e,h,o,c)}}}function Fv(e,r){for(var t=r||{},n=ct(),i=0,a=0;a255||x.e.r>=v){if(r.WTF)throw new Error("Range "+(a["!ref"]||"A1")+" exceeds format limit A1:IV16384");x.e.c=Math.min(x.e.c,255),x.e.r=Math.min(x.e.c,v-1)}Z(n,2057,va(t,16,r)),Z(n,13,St(1)),Z(n,12,St(100)),Z(n,15,st(!0)),Z(n,17,st(!1)),Z(n,16,_r(.001)),Z(n,95,st(!0)),Z(n,42,st(!1)),Z(n,43,st(!1)),Z(n,130,St(1)),Z(n,128,y1([0,0])),Z(n,131,st(!1)),Z(n,132,st(!1)),o&&Nv(n,a["!cols"]),Z(n,512,A1(x,r)),o&&(a["!links"]=[]);for(var d=x.s.r;d<=x.e.r;++d){h=Ze(d);for(var m=x.s.c;m<=x.e.c;++m){d===x.s.r&&(u[m]=rt(m)),c=u[m]+h;var y=l?(a[d]||[])[m]:a[c];y&&(Rv(n,y,d,m,r),o&&y.l&&a["!links"].push([c,y.l]))}}var A=f.CodeName||f.name||i;return o&&Z(n,574,_1((s.Views||[])[0])),o&&(a["!merges"]||[]).length&&Z(n,229,I1(a["!merges"])),o&&kv(n,a),Z(n,442,mf(A)),o&&Dv(n,a),Z(n,10),n.end()}function Pv(e,r,t){var n=ct(),i=(e||{}).Workbook||{},a=i.Sheets||[],s=i.WBProps||{},f=t.biff==8,l=t.biff==5;if(Z(n,2057,va(e,5,t)),t.bookType=="xla"&&Z(n,135),Z(n,225,f?St(1200):null),Z(n,193,s1(2)),l&&Z(n,191),l&&Z(n,192),Z(n,226),Z(n,92,p1("SheetJS",t)),Z(n,66,St(f?1200:1252)),f&&Z(n,353,St(0)),f&&Z(n,448),Z(n,317,M1(e.SheetNames.length)),f&&e.vbaraw&&Z(n,211),f&&e.vbaraw){var o=s.CodeName||"ThisWorkbook";Z(n,442,mf(o))}Z(n,156,St(17)),Z(n,25,st(!1)),Z(n,18,st(!1)),Z(n,19,St(0)),f&&Z(n,431,st(!1)),f&&Z(n,444,St(0)),Z(n,61,g1()),Z(n,64,st(!1)),Z(n,141,St(0)),Z(n,34,st($2(e)=="true")),Z(n,14,st(!0)),f&&Z(n,439,st(!1)),Z(n,218,St(0)),Cv(n,e,t),Ov(n,e.SSF,t),Iv(n,t),f&&Z(n,352,st(!1));var c=n.end(),h=ct();f&&Z(h,140,R1()),f&&t.Strings&&Tv(h,252,m1(t.Strings)),Z(h,10);var u=h.end(),x=ct(),v=0,d=0;for(d=0;d255&&typeof console<"u"&&console.error&&console.error("Worksheet '"+e.SheetNames[t]+"' extends beyond column IV (255). Data may be lost.")}}var a=r||{};switch(a.biff||2){case 8:case 5:return Mv(e,r);case 4:case 3:case 2:return Fv(e,r)}throw new Error("invalid type "+a.bookType+" for BIFF")}function bv(e,r,t,n){for(var i=e["!merges"]||[],a=[],s=r.s.c;s<=r.e.c;++s){for(var f=0,l=0,o=0;ot||i[o].s.c>s)&&!(i[o].e.r1&&(x.rowspan=f),l>1&&(x.colspan=l),n.editable?u=''+u+"":h&&(x["data-t"]=h&&h.t||"z",h.v!=null&&(x["data-v"]=h.v),h.z!=null&&(x["data-z"]=h.z),h.l&&(h.l.Target||"#").charAt(0)!="#"&&(u=''+u+"")),x.id=(n.id||"sjs")+"-"+c,a.push(q("td",u,x))}}var v="";return v+a.join("")+""}var Bv='SheetJS Table Export',Uv="";function $v(e,r,t){var n=[];return n.join("")+""}function Xf(e,r){var t=r||{},n=t.header!=null?t.header:Bv,i=t.footer!=null?t.footer:Uv,a=[n],s=_t(e["!ref"]);t.dense=Array.isArray(e),a.push($v(e,s,t));for(var f=s.s.r;f<=s.e.r;++f)a.push(bv(e,s,f,t));return a.push(""+i),a.join("")}function zf(e,r,t){var n=t||{},i=0,a=0;if(n.origin!=null)if(typeof n.origin=="number")i=n.origin;else{var s=typeof n.origin=="string"?Ge(n.origin):n.origin;i=s.r,a=s.c}var f=r.getElementsByTagName("tr"),l=Math.min(n.sheetRows||1e7,f.length),o={s:{r:0,c:0},e:{r:i,c:a}};if(e["!ref"]){var c=_t(e["!ref"]);o.s.r=Math.min(o.s.r,c.s.r),o.s.c=Math.min(o.s.c,c.s.c),o.e.r=Math.max(o.e.r,c.e.r),o.e.c=Math.max(o.e.c,c.e.c),i==-1&&(o.e.r=i=c.e.r+1)}var h=[],u=0,x=e["!rows"]||(e["!rows"]=[]),v=0,d=0,m=0,y=0,A=0,F=0;for(e["!cols"]||(e["!cols"]=[]);v1||F>1)&&h.push({s:{r:d+i,c:y+a},e:{r:d+i+(A||1)-1,c:y+a+(F||1)-1}});var b={t:"s",v:D},U=ee.getAttribute("data-t")||ee.getAttribute("t")||"";D!=null&&(D.length==0?b.t=U||"z":n.raw||D.trim().length==0||U=="s"||(D==="TRUE"?b={t:"b",v:!0}:D==="FALSE"?b={t:"b",v:!1}:isNaN(Gt(D))?isNaN(dn(D).getDate())||(b={t:"d",v:ft(D)},n.cellDates||(b={t:"n",v:ut(b.v)}),b.z=n.dateNF||Me[14]):b={t:"n",v:Gt(D)})),b.z===void 0&&V!=null&&(b.z=V);var G="",K=ee.getElementsByTagName("A");if(K&&K.length)for(var ce=0;ce=l&&(e["!fullref"]=$e((o.e.r=f.length-v+d-1+i,o))),e}function jf(e,r){var t=r||{},n=t.dense?[]:{};return zf(n,e,r)}function Wv(e,r){return Sr(jf(e,r),r)}function O0(e){var r="",t=Hv(e);return t&&(r=t(e).getPropertyValue("display")),r||(r=e.style&&e.style.display),r==="none"}function Hv(e){return e.ownerDocument.defaultView&&typeof e.ownerDocument.defaultView.getComputedStyle=="function"?e.ownerDocument.defaultView.getComputedStyle:typeof getComputedStyle=="function"?getComputedStyle:null}var Vv=function(){var e=["",'',"",'',"",'',"",""].join(""),r=""+e+"";return function(){return We+r}}(),D0=function(){var e=function(a){return we(a).replace(/ +/g,function(s){return''}).replace(/\t/g,"").replace(/\n/g,"
").replace(/^ /,"").replace(/ $/,"")},r=` `,t=` `,n=function(a,s,f){var l=[];l.push(' `);var o=0,c=0,h=_t(a["!ref"]||"A1"),u=a["!merges"]||[],x=0,v=Array.isArray(a);if(a["!cols"])for(c=0;c<=h.e.c;++c)l.push(" `);var d="",m=a["!rows"]||[];for(o=0;o `);for(;o<=h.e.r;++o){for(d=m[o]?' table:style-name="ro'+m[o].ods+'"':"",l.push(" -`),c=0;cc)&&!(u[x].s.r>o)&&!(u[x].e.cc)&&!(u[x].s.r>o)&&!(u[x].e.c `)}return l.push(` `),l.join("")},i=function(a,s){a.push(` @@ -97,7 +97,7 @@ `),l.push(` `);for(var h=0;h!=s.SheetNames.length;++h)l.push(n(s.Sheets[s.SheetNames[h]],s,h));return l.push(` `),l.push(` -`),f.bookType=="fods"?l.push(""):l.push(""),l.join("")}}();function Kf(e,r){if(r.bookType=="fods")return D0(e,r);var t=sa(),n="",i=[],a=[];return n="mimetype",pe(t,n,"application/vnd.oasis.opendocument.spreadsheet"),n="content.xml",pe(t,n,D0(e,r)),i.push([n,"text/xml"]),a.push([n,"ContentFile"]),n="styles.xml",pe(t,n,Vv(e,r)),i.push([n,"text/xml"]),a.push([n,"StylesFile"]),n="meta.xml",pe(t,n,We+lf()),i.push([n,"text/xml"]),a.push([n,"MetadataFile"]),n="manifest.rdf",pe(t,n,t1(a)),i.push([n,"application/rdf+xml"]),n="META-INF/manifest.xml",pe(t,n,Qh(i)),t}/*! sheetjs (C) 2013-present SheetJS -- http://sheetjs.com */function ti(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function Gv(e){return typeof TextEncoder<"u"?new TextEncoder().encode(e):Ct(Wt(e))}function Xv(e,r){e:for(var t=0;t<=e.length-r.length;++t){for(var n=0;n>7,e[r+14]|=(n&127)<<1;for(var a=0;i>=1;++a,i/=256)e[r+a]=i&255;e[r+15]|=t>=0?0:128}function pn(e,r){var t=r?r[0]:0,n=e[t]&127;e:if(e[t++]>=128&&(n|=(e[t]&127)<<7,e[t++]<128||(n|=(e[t]&127)<<14,e[t++]<128)||(n|=(e[t]&127)<<21,e[t++]<128)||(n+=(e[t]&127)*Math.pow(2,28),++t,e[t++]<128)||(n+=(e[t]&127)*Math.pow(2,35),++t,e[t++]<128)||(n+=(e[t]&127)*Math.pow(2,42),++t,e[t++]<128)))break e;return r&&(r[0]=t),n}function Ee(e){var r=new Uint8Array(7);r[0]=e&127;var t=1;e:if(e>127){if(r[t-1]|=128,r[t]=e>>7&127,++t,e<=16383||(r[t-1]|=128,r[t]=e>>14&127,++t,e<=2097151)||(r[t-1]|=128,r[t]=e>>21&127,++t,e<=268435455)||(r[t-1]|=128,r[t]=e/256>>>21&127,++t,e<=34359738367)||(r[t-1]|=128,r[t]=e/65536>>>21&127,++t,e<=4398046511103))break e;r[t-1]|=128,r[t]=e/16777216>>>21&127,++t}return r.slice(0,t)}function Ur(e){var r=0,t=e[r]&127;e:if(e[r++]>=128){if(t|=(e[r]&127)<<7,e[r++]<128||(t|=(e[r]&127)<<14,e[r++]<128)||(t|=(e[r]&127)<<21,e[r++]<128))break e;t|=(e[r]&127)<<28}return t}function He(e){for(var r=[],t=[0];t[0]=128;);f=e.slice(l,t[0])}break;case 5:s=4,f=e.slice(t[0],t[0]+s),t[0]+=s;break;case 1:s=8,f=e.slice(t[0],t[0]+s),t[0]+=s;break;case 2:s=pn(e,t),f=e.slice(t[0],t[0]+s),t[0]+=s;break;case 3:case 4:default:throw new Error("PB Type ".concat(a," for Field ").concat(i," at offset ").concat(n))}var o={data:f,type:a};r[i]==null?r[i]=[o]:r[i].push(o)}return r}function je(e){var r=[];return e.forEach(function(t,n){t.forEach(function(i){i.data&&(r.push(Ee(n*8+i.type)),i.type==2&&r.push(Ee(i.data.length)),r.push(i.data))})}),ir(r)}function yt(e){for(var r,t=[],n=[0];n[0]>>0>0),t.push(s)}return t}function kr(e){var r=[];return e.forEach(function(t){var n=[];n[1]=[{data:Ee(t.id),type:0}],n[2]=[],t.merge!=null&&(n[3]=[{data:Ee(+!!t.merge),type:0}]);var i=[];t.messages.forEach(function(s){i.push(s.data),s.meta[3]=[{type:0,data:Ee(s.data.length)}],n[2].push({data:je(s.meta),type:2})});var a=je(n);r.push(Ee(a.length)),r.push(a),i.forEach(function(s){return r.push(s)})}),ir(r)}function jv(e,r){if(e!=0)throw new Error("Unexpected Snappy chunk type ".concat(e));for(var t=[0],n=pn(r,t),i=[];t[0]>2;if(s<60)++s;else{var f=s-59;s=r[t[0]],f>1&&(s|=r[t[0]+1]<<8),f>2&&(s|=r[t[0]+2]<<16),f>3&&(s|=r[t[0]+3]<<24),s>>>=0,s++,t[0]+=f}i.push(r.slice(t[0],t[0]+s)),t[0]+=s;continue}else{var l=0,o=0;if(a==1?(o=(r[t[0]]>>2&7)+4,l=(r[t[0]++]&224)<<3,l|=r[t[0]++]):(o=(r[t[0]++]>>2)+1,a==2?(l=r[t[0]]|r[t[0]+1]<<8,t[0]+=2):(l=(r[t[0]]|r[t[0]+1]<<8|r[t[0]+2]<<16|r[t[0]+3]<<24)>>>0,t[0]+=4)),i=[ir(i)],l==0)throw new Error("Invalid offset 0");if(l>i[0].length)throw new Error("Invalid offset beyond length");if(o>=l)for(i.push(i[0].slice(-l)),o-=l;o>=i[i.length-1].length;)i.push(i[i.length-1]),o-=i[i.length-1].length;i.push(i[0].slice(-l,-l+o))}}var c=ir(i);if(c.length!=n)throw new Error("Unexpected length: ".concat(c.length," != ").concat(n));return c}function Ft(e){for(var r=[],t=0;t>8&255]))):n<=16777216?(s+=4,r.push(new Uint8Array([248,n-1&255,n-1>>8&255,n-1>>16&255]))):n<=4294967296&&(s+=5,r.push(new Uint8Array([252,n-1&255,n-1>>8&255,n-1>>16&255,n-1>>>24&255]))),r.push(e.slice(t,t+n)),s+=n,i[0]=0,i[1]=s&255,i[2]=s>>8&255,i[3]=s>>16&255,t+=n}return ir(r)}function Mi(e,r){var t=new Uint8Array(32),n=ti(t),i=12,a=0;switch(t[0]=5,e.t){case"n":t[1]=2,zv(t,i,e.v),a|=1,i+=16;break;case"b":t[1]=6,n.setFloat64(i,e.v?1:0,!0),a|=2,i+=8;break;case"s":if(r.indexOf(e.v)==-1)throw new Error("Value ".concat(e.v," missing from SST!"));t[1]=3,n.setUint32(i,r.indexOf(e.v),!0),a|=8,i+=4;break;default:throw"unsupported cell type "+e.t}return n.setUint32(8,a,!0),t.slice(0,i)}function bi(e,r){var t=new Uint8Array(32),n=ti(t),i=12,a=0;switch(t[0]=3,e.t){case"n":t[2]=2,n.setFloat64(i,e.v,!0),a|=32,i+=8;break;case"b":t[2]=6,n.setFloat64(i,e.v?1:0,!0),a|=32,i+=8;break;case"s":if(r.indexOf(e.v)==-1)throw new Error("Value ".concat(e.v," missing from SST!"));t[2]=3,n.setUint32(i,r.indexOf(e.v),!0),a|=16,i+=4;break;default:throw"unsupported cell type "+e.t}return n.setUint32(4,a,!0),t.slice(0,i)}function Zt(e){var r=He(e);return pn(r[1][0].data)}function Kv(e,r,t){var n,i,a,s;if(!((n=e[6])!=null&&n[0])||!((i=e[7])!=null&&i[0]))throw"Mutation only works on post-BNC storages!";var f=((s=(a=e[8])==null?void 0:a[0])==null?void 0:s.data)&&Ur(e[8][0].data)>0||!1;if(f)throw"Math only works with normal offsets";for(var l=0,o=ti(e[7][0].data),c=0,h=[],u=ti(e[4][0].data),x=0,v=[],d=0;d1&&console.error("The Numbers writer currently writes only the first table");var n=_t(t["!ref"]);n.s.r=n.s.c=0;var i=!1;n.e.c>9&&(i=!0,n.e.c=9),n.e.r>49&&(i=!0,n.e.r=49),i&&console.error("The Numbers writer is currently limited to ".concat($e(n)));var a=ri(t,{range:n,header:1}),s=["~Sh33tJ5~"];a.forEach(function(M){return M.forEach(function(O){typeof O=="string"&&s.push(O)})});var f={},l=[],o=Ae.read(r.numbers,{type:"base64"});o.FileIndex.map(function(M,O){return[M,o.FullPaths[O]]}).forEach(function(M){var O=M[0],C=M[1];if(O.type==2&&O.name.match(/\.iwa/)){var j=O.content,oe=Ft(j),ue=yt(oe);ue.forEach(function(se){l.push(se.id),f[se.id]={deps:[],location:C,type:Ur(se.messages[0].meta[1][0].data)}})}}),l.sort(function(M,O){return M-O});var c=l.filter(function(M){return M>1}).map(function(M){return[M,Ee(M)]});o.FileIndex.map(function(M,O){return[M,o.FullPaths[O]]}).forEach(function(M){var O=M[0];if(M[1],!!O.name.match(/\.iwa/)){var C=yt(Ft(O.content));C.forEach(function(j){j.messages.forEach(function(oe){c.forEach(function(ue){j.messages.some(function(se){return Ur(se.meta[1][0].data)!=11006&&Xv(se.data,ue[1])})&&f[ue[0]].deps.push(j.id)})})})}});for(var h=Ae.find(o,f[1].location),u=yt(Ft(h.content)),x,v=0;v-1,i=af();wa(r=r||{});var a=sa(),s="",f=0;if(r.cellXfs=[],or(r.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),s="docProps/core.xml",pe(a,s,of(e.Props,r)),i.coreprops.push(s),Te(r.rels,2,s,me.CORE_PROPS),s="docProps/app.xml",!(e.Props&&e.Props.SheetNames))if(!e.Workbook||!e.Workbook.Sheets)e.Props.SheetNames=e.SheetNames;else{for(var l=[],o=0;o0&&(s="docProps/custom.xml",pe(a,s,hf(e.Custprops)),i.custprops.push(s),Te(r.rels,4,s,me.CUST_PROPS)),f=1;f<=e.SheetNames.length;++f){var c={"!id":{}},h=e.Sheets[e.SheetNames[f-1]],u=(h||{})["!type"]||"sheet";switch(u){case"chart":default:s="xl/worksheets/sheet"+f+"."+t,pe(a,s,tv(f-1,s,r,e,c)),i.sheets.push(s),Te(r.wbrels,-1,"worksheets/sheet"+f+"."+t,me.WS[0])}if(h){var x=h["!comments"],v=!1,d="";x&&x.length>0&&(d="xl/comments"+f+"."+t,pe(a,d,iv(x,d)),i.comments.push(d),Te(c,-1,"../comments"+f+"."+t,me.CMNT),v=!0),h["!legacy"]&&v&&pe(a,"xl/drawings/vmlDrawing"+f+".vml",Of(f,h["!comments"])),delete h["!comments"],delete h["!legacy"]}c["!id"].rId1&&pe(a,ff(s),br(c))}return r.Strings!=null&&r.Strings.length>0&&(s="xl/sharedStrings."+t,pe(a,s,nv(r.Strings,s,r)),i.strs.push(s),Te(r.wbrels,-1,"sharedStrings."+t,me.SST)),s="xl/workbook."+t,pe(a,s,ev(e,s)),i.workbooks.push(s),Te(r.rels,1,s,me.WB),s="xl/theme/theme1.xml",pe(a,s,Ff(e.Themes,r)),i.themes.push(s),Te(r.wbrels,-1,"theme/theme1.xml",me.THEME),s="xl/styles."+t,pe(a,s,rv(e,s,r)),i.styles.push(s),Te(r.wbrels,-1,"styles."+t,me.STY),e.vbaraw&&n&&(s="xl/vbaProject.bin",pe(a,s,e.vbaraw),i.vba.push(s),Te(r.wbrels,-1,"vbaProject.bin",me.VBA)),s="xl/metadata."+t,pe(a,s,av(s)),i.metadata.push(s),Te(r.wbrels,-1,"metadata."+t,me.XLMETA),pe(a,"[Content_Types].xml",sf(i,r)),pe(a,"_rels/.rels",br(r.rels)),pe(a,"xl/_rels/workbook."+t+".rels",br(r.wbrels)),delete r.revssf,delete r.ssf,a}function Qv(e,r){Lr=1024,e&&!e.SSF&&(e.SSF=ht(Me)),e&&e.SSF&&(xi(),di(e.SSF),r.revssf=pi(e.SSF),r.revssf[e.SSF[65535]]=0,r.ssf=e.SSF),r.rels={},r.wbrels={},r.Strings=[],r.Strings.Count=0,r.Strings.Unique=0,ln?r.revStrings=new Map:(r.revStrings={},r.revStrings.foo=[],delete r.revStrings.foo);var t="xml",n=If.indexOf(r.bookType)>-1,i=af();wa(r=r||{});var a=sa(),s="",f=0;if(r.cellXfs=[],or(r.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),s="docProps/core.xml",pe(a,s,of(e.Props,r)),i.coreprops.push(s),Te(r.rels,2,s,me.CORE_PROPS),s="docProps/app.xml",!(e.Props&&e.Props.SheetNames))if(!e.Workbook||!e.Workbook.Sheets)e.Props.SheetNames=e.SheetNames;else{for(var l=[],o=0;o0&&(s="docProps/custom.xml",pe(a,s,hf(e.Custprops)),i.custprops.push(s),Te(r.rels,4,s,me.CUST_PROPS));var c=["SheetJ5"];for(r.tcid=0,f=1;f<=e.SheetNames.length;++f){var h={"!id":{}},u=e.Sheets[e.SheetNames[f-1]],x=(u||{})["!type"]||"sheet";switch(x){case"chart":default:s="xl/worksheets/sheet"+f+"."+t,pe(a,s,Uf(f-1,r,e,h)),i.sheets.push(s),Te(r.wbrels,-1,"worksheets/sheet"+f+"."+t,me.WS[0])}if(u){var v=u["!comments"],d=!1,m="";if(v&&v.length>0){var y=!1;v.forEach(function(A){A[1].forEach(function(F){F.T==!0&&(y=!0)})}),y&&(m="xl/threadedComments/threadedComment"+f+"."+t,pe(a,m,Id(v,c,r)),i.threadedcomments.push(m),Te(h,-1,"../threadedComments/threadedComment"+f+"."+t,me.TCMNT)),m="xl/comments"+f+"."+t,pe(a,m,Df(v)),i.comments.push(m),Te(h,-1,"../comments"+f+"."+t,me.CMNT),d=!0}u["!legacy"]&&d&&pe(a,"xl/drawings/vmlDrawing"+f+".vml",Of(f,u["!comments"])),delete u["!comments"],delete u["!legacy"]}h["!id"].rId1&&pe(a,ff(s),br(h))}return r.Strings!=null&&r.Strings.length>0&&(s="xl/sharedStrings."+t,pe(a,s,Ef(r.Strings,r)),i.strs.push(s),Te(r.wbrels,-1,"sharedStrings."+t,me.SST)),s="xl/workbook."+t,pe(a,s,Hf(e)),i.workbooks.push(s),Te(r.rels,1,s,me.WB),s="xl/theme/theme1.xml",pe(a,s,Ff(e.Themes,r)),i.themes.push(s),Te(r.wbrels,-1,"theme/theme1.xml",me.THEME),s="xl/styles."+t,pe(a,s,Af(e,r)),i.styles.push(s),Te(r.wbrels,-1,"styles."+t,me.STY),e.vbaraw&&n&&(s="xl/vbaProject.bin",pe(a,s,e.vbaraw),i.vba.push(s),Te(r.wbrels,-1,"vbaProject.bin",me.VBA)),s="xl/metadata."+t,pe(a,s,Cf()),i.metadata.push(s),Te(r.wbrels,-1,"metadata."+t,me.XLMETA),c.length>1&&(s="xl/persons/person.xml",pe(a,s,kd(c)),i.people.push(s),Te(r.wbrels,-1,"persons/person.xml",me.PEOPLE)),pe(a,"[Content_Types].xml",sf(i,r)),pe(a,"_rels/.rels",br(r.rels)),pe(a,"xl/_rels/workbook."+t+".rels",br(r.wbrels)),delete r.revssf,delete r.ssf,a}function em(e,r){var t="";switch((r||{}).type||"base64"){case"buffer":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":t=jt(e.slice(0,12));break;case"binary":t=e;break;case"array":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];default:throw new Error("Unrecognized type "+(r&&r.type||"undefined"))}return[t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3),t.charCodeAt(4),t.charCodeAt(5),t.charCodeAt(6),t.charCodeAt(7)]}function Yf(e,r){switch(r.type){case"base64":case"binary":break;case"buffer":case"array":r.type="";break;case"file":return _n(r.file,Ae.write(e,{type:ge?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+r.bookType+"' files");default:throw new Error("Unrecognized type "+r.type)}return Ae.write(e,r)}function tm(e,r){var t=ht(r||{}),n=qv(e,t);return rm(n,t)}function rm(e,r){var t={},n=ge?"nodebuffer":typeof Uint8Array<"u"?"array":"string";if(r.compression&&(t.compression="DEFLATE"),r.password)t.type=n;else switch(r.type){case"base64":t.type="base64";break;case"binary":t.type="string";break;case"string":throw new Error("'string' output type invalid for '"+r.bookType+"' files");case"buffer":case"file":t.type=n;break;default:throw new Error("Unrecognized type "+r.type)}var i=e.FullPaths?Ae.write(e,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[t.type]||t.type,compression:!!r.compression}):e.generate(t);if(typeof Deno<"u"&&typeof i=="string"){if(r.type=="binary"||r.type=="base64")return i;i=new Uint8Array(hi(i))}return r.password&&typeof encrypt_agile<"u"?Yf(encrypt_agile(i,r.password),r):r.type==="file"?_n(r.file,i):r.type=="string"?nn(i):i}function nm(e,r){var t=r||{},n=_v(e,t);return Yf(n,t)}function Lt(e,r,t){t||(t="");var n=t+e;switch(r.type){case"base64":return hn(Wt(n));case"binary":return Wt(n);case"string":return e;case"file":return _n(r.file,n,"utf8");case"buffer":return ge?Jt(n,"utf8"):typeof TextEncoder<"u"?new TextEncoder().encode(n):Lt(n,{type:"binary"}).split("").map(function(i){return i.charCodeAt(0)})}throw new Error("Unrecognized type "+r.type)}function im(e,r){switch(r.type){case"base64":return hn(e);case"binary":return e;case"string":return e;case"file":return _n(r.file,e,"binary");case"buffer":return ge?Jt(e,"binary"):e.split("").map(function(t){return t.charCodeAt(0)})}throw new Error("Unrecognized type "+r.type)}function Ln(e,r){switch(r.type){case"string":case"base64":case"binary":for(var t="",n=0;n0&&(i=0);var h=Ze(l.s.r),u=[],x=[],v=0,d=0,m=Array.isArray(e),y=l.s.r,A=0,F={};m&&!e[y]&&(e[y]=[]);var I=o.skipHidden&&e["!cols"]||[],z=o.skipHidden&&e["!rows"]||[];for(A=l.s.c;A<=l.e.c;++A)if(!(I[A]||{}).hidden)switch(u[A]=rt(A),t=m?e[y][A]:e[u[A]+h],n){case 1:a[A]=A-l.s.c;break;case 2:a[A]=u[A];break;case 3:a[A]=o.header[A-l.s.c];break;default:if(t==null&&(t={w:"__EMPTY",t:"s"}),f=s=Kt(t,null,o),d=F[s]||0,!d)F[s]=1;else{do f=s+"_"+d++;while(F[f]);F[s]=d,F[f]=1}a[A]=f}for(y=l.s.r+i;y<=l.e.r;++y)if(!(z[y]||{}).hidden){var ee=fm(e,l,y,u,n,a,m,o);(ee.isempty===!1||(n===1?o.blankrows!==!1:o.blankrows))&&(x[v++]=ee.row)}return x.length=v,x}var I0=/"/g;function lm(e,r,t,n,i,a,s,f){for(var l=!0,o=[],c="",h=Ze(t),u=r.s.c;u<=r.e.c;++u)if(n[u]){var x=f.dense?(e[t]||[])[u]:e[n[u]+h];if(x==null)c="";else if(x.v!=null){l=!1,c=""+(f.rawNumbers&&x.t=="n"?x.v:Kt(x,null,f));for(var v=0,d=0;v!==c.length;++v)if((d=c.charCodeAt(v))===i||d===a||d===34||f.forceQuotes){c='"'+c.replace(I0,'""')+'"';break}c=="ID"&&(c='"ID"')}else x.f!=null&&!x.F?(l=!1,c="="+x.f,c.indexOf(",")>=0&&(c='"'+c.replace(I0,'""')+'"')):c="";o.push(c)}return f.blankrows===!1&&l?null:o.join(s)}function Aa(e,r){var t=[],n=r??{};if(e==null||e["!ref"]==null)return"";var i=Ie(e["!ref"]),a=n.FS!==void 0?n.FS:",",s=a.charCodeAt(0),f=n.RS!==void 0?n.RS:` +`),f.bookType=="fods"?l.push(""):l.push(""),l.join("")}}();function Kf(e,r){if(r.bookType=="fods")return D0(e,r);var t=sa(),n="",i=[],a=[];return n="mimetype",pe(t,n,"application/vnd.oasis.opendocument.spreadsheet"),n="content.xml",pe(t,n,D0(e,r)),i.push([n,"text/xml"]),a.push([n,"ContentFile"]),n="styles.xml",pe(t,n,Vv(e,r)),i.push([n,"text/xml"]),a.push([n,"StylesFile"]),n="meta.xml",pe(t,n,We+lf()),i.push([n,"text/xml"]),a.push([n,"MetadataFile"]),n="manifest.rdf",pe(t,n,t1(a)),i.push([n,"application/rdf+xml"]),n="META-INF/manifest.xml",pe(t,n,Qh(i)),t}/*! sheetjs (C) 2013-present SheetJS -- http://sheetjs.com */function ti(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function Gv(e){return typeof TextEncoder<"u"?new TextEncoder().encode(e):Ct(Wt(e))}function Xv(e,r){e:for(var t=0;t<=e.length-r.length;++t){for(var n=0;n>7,e[r+14]|=(n&127)<<1;for(var a=0;i>=1;++a,i/=256)e[r+a]=i&255;e[r+15]|=t>=0?0:128}function pn(e,r){var t=r?r[0]:0,n=e[t]&127;e:if(e[t++]>=128&&(n|=(e[t]&127)<<7,e[t++]<128||(n|=(e[t]&127)<<14,e[t++]<128)||(n|=(e[t]&127)<<21,e[t++]<128)||(n+=(e[t]&127)*Math.pow(2,28),++t,e[t++]<128)||(n+=(e[t]&127)*Math.pow(2,35),++t,e[t++]<128)||(n+=(e[t]&127)*Math.pow(2,42),++t,e[t++]<128)))break e;return r&&(r[0]=t),n}function Ee(e){var r=new Uint8Array(7);r[0]=e&127;var t=1;e:if(e>127){if(r[t-1]|=128,r[t]=e>>7&127,++t,e<=16383||(r[t-1]|=128,r[t]=e>>14&127,++t,e<=2097151)||(r[t-1]|=128,r[t]=e>>21&127,++t,e<=268435455)||(r[t-1]|=128,r[t]=e/256>>>21&127,++t,e<=34359738367)||(r[t-1]|=128,r[t]=e/65536>>>21&127,++t,e<=4398046511103))break e;r[t-1]|=128,r[t]=e/16777216>>>21&127,++t}return r.slice(0,t)}function Ur(e){var r=0,t=e[r]&127;e:if(e[r++]>=128){if(t|=(e[r]&127)<<7,e[r++]<128||(t|=(e[r]&127)<<14,e[r++]<128)||(t|=(e[r]&127)<<21,e[r++]<128))break e;t|=(e[r]&127)<<28}return t}function He(e){for(var r=[],t=[0];t[0]=128;);f=e.slice(l,t[0])}break;case 5:s=4,f=e.slice(t[0],t[0]+s),t[0]+=s;break;case 1:s=8,f=e.slice(t[0],t[0]+s),t[0]+=s;break;case 2:s=pn(e,t),f=e.slice(t[0],t[0]+s),t[0]+=s;break;case 3:case 4:default:throw new Error("PB Type ".concat(a," for Field ").concat(i," at offset ").concat(n))}var o={data:f,type:a};r[i]==null?r[i]=[o]:r[i].push(o)}return r}function je(e){var r=[];return e.forEach(function(t,n){t.forEach(function(i){i.data&&(r.push(Ee(n*8+i.type)),i.type==2&&r.push(Ee(i.data.length)),r.push(i.data))})}),ir(r)}function yt(e){for(var r,t=[],n=[0];n[0]>>0>0),t.push(s)}return t}function kr(e){var r=[];return e.forEach(function(t){var n=[];n[1]=[{data:Ee(t.id),type:0}],n[2]=[],t.merge!=null&&(n[3]=[{data:Ee(+!!t.merge),type:0}]);var i=[];t.messages.forEach(function(s){i.push(s.data),s.meta[3]=[{type:0,data:Ee(s.data.length)}],n[2].push({data:je(s.meta),type:2})});var a=je(n);r.push(Ee(a.length)),r.push(a),i.forEach(function(s){return r.push(s)})}),ir(r)}function jv(e,r){if(e!=0)throw new Error("Unexpected Snappy chunk type ".concat(e));for(var t=[0],n=pn(r,t),i=[];t[0]>2;if(s<60)++s;else{var f=s-59;s=r[t[0]],f>1&&(s|=r[t[0]+1]<<8),f>2&&(s|=r[t[0]+2]<<16),f>3&&(s|=r[t[0]+3]<<24),s>>>=0,s++,t[0]+=f}i.push(r.slice(t[0],t[0]+s)),t[0]+=s;continue}else{var l=0,o=0;if(a==1?(o=(r[t[0]]>>2&7)+4,l=(r[t[0]++]&224)<<3,l|=r[t[0]++]):(o=(r[t[0]++]>>2)+1,a==2?(l=r[t[0]]|r[t[0]+1]<<8,t[0]+=2):(l=(r[t[0]]|r[t[0]+1]<<8|r[t[0]+2]<<16|r[t[0]+3]<<24)>>>0,t[0]+=4)),i=[ir(i)],l==0)throw new Error("Invalid offset 0");if(l>i[0].length)throw new Error("Invalid offset beyond length");if(o>=l)for(i.push(i[0].slice(-l)),o-=l;o>=i[i.length-1].length;)i.push(i[i.length-1]),o-=i[i.length-1].length;i.push(i[0].slice(-l,-l+o))}}var c=ir(i);if(c.length!=n)throw new Error("Unexpected length: ".concat(c.length," != ").concat(n));return c}function Ft(e){for(var r=[],t=0;t>8&255]))):n<=16777216?(s+=4,r.push(new Uint8Array([248,n-1&255,n-1>>8&255,n-1>>16&255]))):n<=4294967296&&(s+=5,r.push(new Uint8Array([252,n-1&255,n-1>>8&255,n-1>>16&255,n-1>>>24&255]))),r.push(e.slice(t,t+n)),s+=n,i[0]=0,i[1]=s&255,i[2]=s>>8&255,i[3]=s>>16&255,t+=n}return ir(r)}function Mi(e,r){var t=new Uint8Array(32),n=ti(t),i=12,a=0;switch(t[0]=5,e.t){case"n":t[1]=2,zv(t,i,e.v),a|=1,i+=16;break;case"b":t[1]=6,n.setFloat64(i,e.v?1:0,!0),a|=2,i+=8;break;case"s":if(r.indexOf(e.v)==-1)throw new Error("Value ".concat(e.v," missing from SST!"));t[1]=3,n.setUint32(i,r.indexOf(e.v),!0),a|=8,i+=4;break;default:throw"unsupported cell type "+e.t}return n.setUint32(8,a,!0),t.slice(0,i)}function bi(e,r){var t=new Uint8Array(32),n=ti(t),i=12,a=0;switch(t[0]=3,e.t){case"n":t[2]=2,n.setFloat64(i,e.v,!0),a|=32,i+=8;break;case"b":t[2]=6,n.setFloat64(i,e.v?1:0,!0),a|=32,i+=8;break;case"s":if(r.indexOf(e.v)==-1)throw new Error("Value ".concat(e.v," missing from SST!"));t[2]=3,n.setUint32(i,r.indexOf(e.v),!0),a|=16,i+=4;break;default:throw"unsupported cell type "+e.t}return n.setUint32(4,a,!0),t.slice(0,i)}function Zt(e){var r=He(e);return pn(r[1][0].data)}function Kv(e,r,t){var n,i,a,s;if(!((n=e[6])!=null&&n[0])||!((i=e[7])!=null&&i[0]))throw"Mutation only works on post-BNC storages!";var f=((s=(a=e[8])==null?void 0:a[0])==null?void 0:s.data)&&Ur(e[8][0].data)>0||!1;if(f)throw"Math only works with normal offsets";for(var l=0,o=ti(e[7][0].data),c=0,h=[],u=ti(e[4][0].data),x=0,v=[],d=0;d1&&console.error("The Numbers writer currently writes only the first table");var n=_t(t["!ref"]);n.s.r=n.s.c=0;var i=!1;n.e.c>9&&(i=!0,n.e.c=9),n.e.r>49&&(i=!0,n.e.r=49),i&&console.error("The Numbers writer is currently limited to ".concat($e(n)));var a=ri(t,{range:n,header:1}),s=["~Sh33tJ5~"];a.forEach(function(M){return M.forEach(function(O){typeof O=="string"&&s.push(O)})});var f={},l=[],o=Ae.read(r.numbers,{type:"base64"});o.FileIndex.map(function(M,O){return[M,o.FullPaths[O]]}).forEach(function(M){var O=M[0],C=M[1];if(O.type==2&&O.name.match(/\.iwa/)){var j=O.content,oe=Ft(j),ue=yt(oe);ue.forEach(function(se){l.push(se.id),f[se.id]={deps:[],location:C,type:Ur(se.messages[0].meta[1][0].data)}})}}),l.sort(function(M,O){return M-O});var c=l.filter(function(M){return M>1}).map(function(M){return[M,Ee(M)]});o.FileIndex.map(function(M,O){return[M,o.FullPaths[O]]}).forEach(function(M){var O=M[0];if(M[1],!!O.name.match(/\.iwa/)){var C=yt(Ft(O.content));C.forEach(function(j){j.messages.forEach(function(oe){c.forEach(function(ue){j.messages.some(function(se){return Ur(se.meta[1][0].data)!=11006&&Xv(se.data,ue[1])})&&f[ue[0]].deps.push(j.id)})})})}});for(var h=Ae.find(o,f[1].location),u=yt(Ft(h.content)),x,v=0;v-1,i=af();wa(r=r||{});var a=sa(),s="",f=0;if(r.cellXfs=[],or(r.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),s="docProps/core.xml",pe(a,s,of(e.Props,r)),i.coreprops.push(s),Te(r.rels,2,s,me.CORE_PROPS),s="docProps/app.xml",!(e.Props&&e.Props.SheetNames))if(!e.Workbook||!e.Workbook.Sheets)e.Props.SheetNames=e.SheetNames;else{for(var l=[],o=0;o0&&(s="docProps/custom.xml",pe(a,s,hf(e.Custprops)),i.custprops.push(s),Te(r.rels,4,s,me.CUST_PROPS)),f=1;f<=e.SheetNames.length;++f){var c={"!id":{}},h=e.Sheets[e.SheetNames[f-1]],u=(h||{})["!type"]||"sheet";switch(u){case"chart":default:s="xl/worksheets/sheet"+f+"."+t,pe(a,s,tv(f-1,s,r,e,c)),i.sheets.push(s),Te(r.wbrels,-1,"worksheets/sheet"+f+"."+t,me.WS[0])}if(h){var x=h["!comments"],v=!1,d="";x&&x.length>0&&(d="xl/comments"+f+"."+t,pe(a,d,iv(x,d)),i.comments.push(d),Te(c,-1,"../comments"+f+"."+t,me.CMNT),v=!0),h["!legacy"]&&v&&pe(a,"xl/drawings/vmlDrawing"+f+".vml",Of(f,h["!comments"])),delete h["!comments"],delete h["!legacy"]}c["!id"].rId1&&pe(a,ff(s),br(c))}return r.Strings!=null&&r.Strings.length>0&&(s="xl/sharedStrings."+t,pe(a,s,nv(r.Strings,s,r)),i.strs.push(s),Te(r.wbrels,-1,"sharedStrings."+t,me.SST)),s="xl/workbook."+t,pe(a,s,ev(e,s)),i.workbooks.push(s),Te(r.rels,1,s,me.WB),s="xl/theme/theme1.xml",pe(a,s,Ff(e.Themes,r)),i.themes.push(s),Te(r.wbrels,-1,"theme/theme1.xml",me.THEME),s="xl/styles."+t,pe(a,s,rv(e,s,r)),i.styles.push(s),Te(r.wbrels,-1,"styles."+t,me.STY),e.vbaraw&&n&&(s="xl/vbaProject.bin",pe(a,s,e.vbaraw),i.vba.push(s),Te(r.wbrels,-1,"vbaProject.bin",me.VBA)),s="xl/metadata."+t,pe(a,s,av(s)),i.metadata.push(s),Te(r.wbrels,-1,"metadata."+t,me.XLMETA),pe(a,"[Content_Types].xml",sf(i,r)),pe(a,"_rels/.rels",br(r.rels)),pe(a,"xl/_rels/workbook."+t+".rels",br(r.wbrels)),delete r.revssf,delete r.ssf,a}function Qv(e,r){Lr=1024,e&&!e.SSF&&(e.SSF=ht(Me)),e&&e.SSF&&(xi(),di(e.SSF),r.revssf=pi(e.SSF),r.revssf[e.SSF[65535]]=0,r.ssf=e.SSF),r.rels={},r.wbrels={},r.Strings=[],r.Strings.Count=0,r.Strings.Unique=0,ln?r.revStrings=new Map:(r.revStrings={},r.revStrings.foo=[],delete r.revStrings.foo);var t="xml",n=If.indexOf(r.bookType)>-1,i=af();wa(r=r||{});var a=sa(),s="",f=0;if(r.cellXfs=[],or(r.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),s="docProps/core.xml",pe(a,s,of(e.Props,r)),i.coreprops.push(s),Te(r.rels,2,s,me.CORE_PROPS),s="docProps/app.xml",!(e.Props&&e.Props.SheetNames))if(!e.Workbook||!e.Workbook.Sheets)e.Props.SheetNames=e.SheetNames;else{for(var l=[],o=0;o0&&(s="docProps/custom.xml",pe(a,s,hf(e.Custprops)),i.custprops.push(s),Te(r.rels,4,s,me.CUST_PROPS));var c=["SheetJ5"];for(r.tcid=0,f=1;f<=e.SheetNames.length;++f){var h={"!id":{}},u=e.Sheets[e.SheetNames[f-1]],x=(u||{})["!type"]||"sheet";switch(x){case"chart":default:s="xl/worksheets/sheet"+f+"."+t,pe(a,s,Uf(f-1,r,e,h)),i.sheets.push(s),Te(r.wbrels,-1,"worksheets/sheet"+f+"."+t,me.WS[0])}if(u){var v=u["!comments"],d=!1,m="";if(v&&v.length>0){var y=!1;v.forEach(function(A){A[1].forEach(function(F){F.T==!0&&(y=!0)})}),y&&(m="xl/threadedComments/threadedComment"+f+"."+t,pe(a,m,Id(v,c,r)),i.threadedcomments.push(m),Te(h,-1,"../threadedComments/threadedComment"+f+"."+t,me.TCMNT)),m="xl/comments"+f+"."+t,pe(a,m,Df(v)),i.comments.push(m),Te(h,-1,"../comments"+f+"."+t,me.CMNT),d=!0}u["!legacy"]&&d&&pe(a,"xl/drawings/vmlDrawing"+f+".vml",Of(f,u["!comments"])),delete u["!comments"],delete u["!legacy"]}h["!id"].rId1&&pe(a,ff(s),br(h))}return r.Strings!=null&&r.Strings.length>0&&(s="xl/sharedStrings."+t,pe(a,s,Ef(r.Strings,r)),i.strs.push(s),Te(r.wbrels,-1,"sharedStrings."+t,me.SST)),s="xl/workbook."+t,pe(a,s,Hf(e)),i.workbooks.push(s),Te(r.rels,1,s,me.WB),s="xl/theme/theme1.xml",pe(a,s,Ff(e.Themes,r)),i.themes.push(s),Te(r.wbrels,-1,"theme/theme1.xml",me.THEME),s="xl/styles."+t,pe(a,s,Af(e,r)),i.styles.push(s),Te(r.wbrels,-1,"styles."+t,me.STY),e.vbaraw&&n&&(s="xl/vbaProject.bin",pe(a,s,e.vbaraw),i.vba.push(s),Te(r.wbrels,-1,"vbaProject.bin",me.VBA)),s="xl/metadata."+t,pe(a,s,Cf()),i.metadata.push(s),Te(r.wbrels,-1,"metadata."+t,me.XLMETA),c.length>1&&(s="xl/persons/person.xml",pe(a,s,kd(c)),i.people.push(s),Te(r.wbrels,-1,"persons/person.xml",me.PEOPLE)),pe(a,"[Content_Types].xml",sf(i,r)),pe(a,"_rels/.rels",br(r.rels)),pe(a,"xl/_rels/workbook."+t+".rels",br(r.wbrels)),delete r.revssf,delete r.ssf,a}function em(e,r){var t="";switch((r||{}).type||"base64"){case"buffer":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":t=jt(e.slice(0,12));break;case"binary":t=e;break;case"array":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];default:throw new Error("Unrecognized type "+(r&&r.type||"undefined"))}return[t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3),t.charCodeAt(4),t.charCodeAt(5),t.charCodeAt(6),t.charCodeAt(7)]}function Yf(e,r){switch(r.type){case"base64":case"binary":break;case"buffer":case"array":r.type="";break;case"file":return _n(r.file,Ae.write(e,{type:ge?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+r.bookType+"' files");default:throw new Error("Unrecognized type "+r.type)}return Ae.write(e,r)}function tm(e,r){var t=ht(r||{}),n=qv(e,t);return rm(n,t)}function rm(e,r){var t={},n=ge?"nodebuffer":typeof Uint8Array<"u"?"array":"string";if(r.compression&&(t.compression="DEFLATE"),r.password)t.type=n;else switch(r.type){case"base64":t.type="base64";break;case"binary":t.type="string";break;case"string":throw new Error("'string' output type invalid for '"+r.bookType+"' files");case"buffer":case"file":t.type=n;break;default:throw new Error("Unrecognized type "+r.type)}var i=e.FullPaths?Ae.write(e,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[t.type]||t.type,compression:!!r.compression}):e.generate(t);if(typeof Deno<"u"&&typeof i=="string"){if(r.type=="binary"||r.type=="base64")return i;i=new Uint8Array(hi(i))}return r.password&&typeof encrypt_agile<"u"?Yf(encrypt_agile(i,r.password),r):r.type==="file"?_n(r.file,i):r.type=="string"?nn(i):i}function nm(e,r){var t=r||{},n=_v(e,t);return Yf(n,t)}function Lt(e,r,t){t||(t="");var n=t+e;switch(r.type){case"base64":return hn(Wt(n));case"binary":return Wt(n);case"string":return e;case"file":return _n(r.file,n,"utf8");case"buffer":return ge?Jt(n,"utf8"):typeof TextEncoder<"u"?new TextEncoder().encode(n):Lt(n,{type:"binary"}).split("").map(function(i){return i.charCodeAt(0)})}throw new Error("Unrecognized type "+r.type)}function im(e,r){switch(r.type){case"base64":return hn(e);case"binary":return e;case"string":return e;case"file":return _n(r.file,e,"binary");case"buffer":return ge?Jt(e,"binary"):e.split("").map(function(t){return t.charCodeAt(0)})}throw new Error("Unrecognized type "+r.type)}function Ln(e,r){switch(r.type){case"string":case"base64":case"binary":for(var t="",n=0;n0&&(i=0);var h=Ze(l.s.r),u=[],x=[],v=0,d=0,m=Array.isArray(e),y=l.s.r,A=0,F={};m&&!e[y]&&(e[y]=[]);var I=o.skipHidden&&e["!cols"]||[],z=o.skipHidden&&e["!rows"]||[];for(A=l.s.c;A<=l.e.c;++A)if(!(I[A]||{}).hidden)switch(u[A]=rt(A),t=m?e[y][A]:e[u[A]+h],n){case 1:a[A]=A-l.s.c;break;case 2:a[A]=u[A];break;case 3:a[A]=o.header[A-l.s.c];break;default:if(t==null&&(t={w:"__EMPTY",t:"s"}),f=s=Kt(t,null,o),d=F[s]||0,!d)F[s]=1;else{do f=s+"_"+d++;while(F[f]);F[s]=d,F[f]=1}a[A]=f}for(y=l.s.r+i;y<=l.e.r;++y)if(!(z[y]||{}).hidden){var ee=fm(e,l,y,u,n,a,m,o);(ee.isempty===!1||(n===1?o.blankrows!==!1:o.blankrows))&&(x[v++]=ee.row)}return x.length=v,x}var I0=/"/g;function lm(e,r,t,n,i,a,s,f){for(var l=!0,o=[],c="",h=Ze(t),u=r.s.c;u<=r.e.c;++u)if(n[u]){var x=f.dense?(e[t]||[])[u]:e[n[u]+h];if(x==null)c="";else if(x.v!=null){l=!1,c=""+(f.rawNumbers&&x.t=="n"?x.v:Kt(x,null,f));for(var v=0,d=0;v!==c.length;++v)if((d=c.charCodeAt(v))===i||d===a||d===34||f.forceQuotes){c='"'+c.replace(I0,'""')+'"';break}c=="ID"&&(c='"ID"')}else x.f!=null&&!x.F?(l=!1,c="="+x.f,c.indexOf(",")>=0&&(c='"'+c.replace(I0,'""')+'"')):c="";o.push(c)}return f.blankrows===!1&&l?null:o.join(s)}function Aa(e,r){var t=[],n=r??{};if(e==null||e["!ref"]==null)return"";var i=Ie(e["!ref"]),a=n.FS!==void 0?n.FS:",",s=a.charCodeAt(0),f=n.RS!==void 0?n.RS:` `,l=f.charCodeAt(0),o=new RegExp((a=="|"?"\\|":a)+"+$"),c="",h=[];n.dense=Array.isArray(e);for(var u=n.skipHidden&&e["!cols"]||[],x=n.skipHidden&&e["!rows"]||[],v=i.s.c;v<=i.e.c;++v)(u[v]||{}).hidden||(h[v]=rt(v));for(var d=0,m=i.s.r;m<=i.e.r;++m)(x[m]||{}).hidden||(c=lm(e,i,m,h,s,l,a,n),c!=null&&(n.strip&&(c=c.replace(o,"")),(c||n.blankrows!==!1)&&t.push((d++?f:"")+c)));return delete n.dense,t.join("")}function Jf(e,r){r||(r={}),r.FS=" ",r.RS=` `;var t=Aa(e,r);return t}function om(e){var r="",t,n="";if(e==null||e["!ref"]==null)return[];var i=Ie(e["!ref"]),a="",s=[],f,l=[],o=Array.isArray(e);for(f=i.s.c;f<=i.e.c;++f)s[f]=rt(f);for(var c=i.s.r;c<=i.e.r;++c)for(a=Ze(c),f=i.s.c;f<=i.e.c;++f)if(r=s[f]+a,t=o?(e[c]||[])[f]:e[r],n="",t!==void 0){if(t.F!=null){if(r=t.F,!t.f)continue;n=t.f,r.indexOf(":")==-1&&(r=r+":"+r)}if(t.f!=null)n=t.f;else{if(t.t=="z")continue;if(t.t=="n"&&t.v!=null)n=""+t.v;else if(t.t=="b")n=t.v?"TRUE":"FALSE";else if(t.w!==void 0)n="'"+t.w;else{if(t.v===void 0)continue;t.t=="s"?n="'"+t.v:n=""+t.v}}l[l.length]=r+"="+n}return l}function qf(e,r,t){var n=t||{},i=+!n.skipHeader,a=e||{},s=0,f=0;if(a&&n.origin!=null)if(typeof n.origin=="number")s=n.origin;else{var l=typeof n.origin=="string"?Ge(n.origin):n.origin;s=l.r,f=l.c}var o,c={s:{c:0,r:0},e:{c:f,r:s+r.length-1+i}};if(a["!ref"]){var h=Ie(a["!ref"]);c.e.c=Math.max(c.e.c,h.e.c),c.e.r=Math.max(c.e.r,h.e.r),s==-1&&(s=h.e.r+1,c.e.r=s+r.length-1+i)}else s==-1&&(s=0,c.e.r=r.length-1+i);var u=n.header||[],x=0;r.forEach(function(d,m){Qe(d).forEach(function(y){(x=u.indexOf(y))==-1&&(u[x=u.length]=y);var A=d[y],F="z",I="",z=Se({c:f+x,r:s+m+i});o=vn(a,z),A&&typeof A=="object"&&!(A instanceof Date)?a[z]=A:(typeof A=="number"?F="n":typeof A=="boolean"?F="b":typeof A=="string"?F="s":A instanceof Date?(F="d",n.cellDates||(F="n",A=ut(A)),I=n.dateNF||Me[14]):A===null&&n.nullError&&(F="e",A=0),o?(o.t=F,o.v=A,delete o.w,delete o.R,I&&(o.z=I)):a[z]=o={t:F,v:A},I&&(o.z=I))})}),c.e.c=Math.max(c.e.c,f+u.length-1);var v=Ze(s);if(i)for(x=0;x=0&&e.SheetNames.length>r)return r;throw new Error("Cannot find sheet # "+r)}else if(typeof r=="string"){var t=e.SheetNames.indexOf(r);if(t>-1)return t;throw new Error("Cannot find sheet name |"+r+"|")}else throw new Error("Cannot find sheet |"+r+"|")}function hm(){return{SheetNames:[],Sheets:{}}}function dm(e,r,t,n){var i=1;if(!t)for(;i<=65535&&e.SheetNames.indexOf(t="Sheet"+i)!=-1;++i,t=void 0);if(!t||e.SheetNames.length>=65535)throw new Error("Too many worksheets");if(n&&e.SheetNames.indexOf(t)>=0){var a=t.match(/(^.*?)(\d+)$/);i=a&&+a[2]||0;var s=a&&a[1]||t;for(++i;i<=65535&&e.SheetNames.indexOf(t=s+i)!=-1;++i);}if(Wf(t),e.SheetNames.indexOf(t)>=0)throw new Error("Worksheet with name |"+t+"| already exists!");return e.SheetNames.push(t),e.Sheets[t]=r,t}function xm(e,r,t){e.Workbook||(e.Workbook={}),e.Workbook.Sheets||(e.Workbook.Sheets=[]);var n=um(e,r);switch(e.Workbook.Sheets[n]||(e.Workbook.Sheets[n]={}),t){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+t)}e.Workbook.Sheets[n].Hidden=t}function pm(e,r){return e.z=r,e}function Zf(e,r,t){return r?(e.l={Target:r},t&&(e.l.Tooltip=t)):delete e.l,e}function vm(e,r,t){return Zf(e,"#"+r,t)}function mm(e,r,t){e.c||(e.c=[]),e.c.push({t:r,a:t||"SheetJS"})}function gm(e,r,t,n){for(var i=typeof r!="string"?r:Ie(r),a=typeof r=="string"?r:$e(r),s=i.s.r;s<=i.e.r;++s)for(var f=i.s.c;f<=i.e.c;++f){var l=vn(e,s,f);l.t="n",l.F=a,delete l.v,s==i.s.r&&f==i.s.c&&(l.f=t,n&&(l.D=!0))}return e}var _m={encode_col:rt,encode_row:Ze,encode_cell:Se,encode_range:$e,decode_col:ha,decode_row:ua,split_cell:Nh,decode_cell:Ge,decode_range:_t,format_cell:Kt,sheet_add_aoa:Zs,sheet_add_json:qf,sheet_add_dom:zf,aoa_to_sheet:jr,json_to_sheet:cm,table_to_sheet:jf,table_to_book:Wv,sheet_to_csv:Aa,sheet_to_txt:Jf,sheet_to_json:ri,sheet_to_html:Xf,sheet_to_formulae:om,sheet_to_row_object_array:ri,sheet_get_cell:vn,book_new:hm,book_append_sheet:dm,book_set_sheet_visibility:xm,cell_set_number_format:pm,cell_set_hyperlink:Zf,cell_set_internal_link:vm,cell_add_comment:mm,sheet_set_array_formula:gm,consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};/** * Exports the generated truth table to an excel (.xlsx) file @@ -125,6 +125,6 @@ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */function Em({type:e="xlsx",name:r="Truth Table",dl:t=!1,tableId:n}){const i=document.getElementById(n),a=_m.table_to_book(i,{sheet:"sheet1"});return t?Sa(a,{bookType:e,bookSST:!0,type:"base64"}):sm(a,r+"."+e)}function Tm(){return"ontouchstart"in window||navigator.maxTouchPoints>0}function wm(e){return e=e.replaceAll(/\//g,"|"),e=e.replaceAll(/¬/g,"!"),e=e.replaceAll(/\sOR\s/gi," | "),e=e.replaceAll(/\sAND\s/gi," & "),e=e.replaceAll(/\s(IMPLICATION|IMP)\s/gi," -> "),e=e.replaceAll(/\sNOT\s/gi," !"),e}const Sm=fe('Simplify: '),k0=fe('
'),Am=fe("

Filename:"),Qf=fe("

"),ym=fe('

'),Fm=fe('
'),Cm=fe('

Download'),Om=fe('