s)){t.n=4;break}return t.p=1,y=new Blob([o]).stream().pipeThrough(new CompressionStream("gzip")),t.n=2,new Response(y).blob();case 2:d=t.v,e["Content-Encoding"]="gzip",t.n=4;break;case 3:t.p=3,b=t.v,console.warn("Sending uncompressed payload, because compressing failed:",b);case 4:return t.a(2,fetch(n,gi(r.fetch,{method:"POST",headers:e,body:d})))}},t,null,[[1,3]])}));return function(){return t.apply(this,arguments)}}();return new Promise(function(i,u){var c=function(c){var s=c.status;if(f){var b=a().callbackJobs[f];if(null!=b&&b.outdated)return t(Ks({jobId:f})),i({})}function m(e){if(r.ui){var o={__dash_server:0,__dash_client:Date.now()-y,__dash_upload:h.length,__dash_download:Number(c.headers.get("Content-Length"))};(c.headers.get("Server-Timing")||"").split(",").forEach(function(t){var e=t.split(";")[0],r=t.match(/;dur=[0-9.]+/);r&&(o[e]=Number(r[0].slice(5)))}),t(zs({id:n.output,usage:o,status:s,result:e,inputs:n.inputs,state:n.state}))}}var g=function(t){var r,o=t.multi,a=t.response;if(e.request_post&&e.request_post(n,a),o)r=a;else{var u=n.output,c=u.substr(0,u.lastIndexOf("."));r={[c]:a.props}}m(r),i(r)},w=function(){f&&t(Ks({jobId:f})),p&&t(ul(p,n)),d&&t(ul(d,n))},O=function(){var r=js(ws().m(function r(o){var a,c,s,l,f,p,d,y,h,v,b,g,O,S,j;return ws().w(function(r){for(;;)switch(r.p=r.n){case 0:a=o.body.getReader(),c=new TextDecoder,s="",f=!1,p=function(){var r=js(ws().m(function r(o){return ws().w(function(r){for(;;)switch(r.n){case 0:if(!o.done){r.n=2;break}if(f=!0,w(),!o.error){r.n=1;break}return m({}),u(new Error(o.error.message||"Callback error")),r.a(2);case 1:return e.request_post&&e.request_post(n,l),m(l||{}),i({}),r.a(2);case 2:if(!o.dist){r.n=3;break}return r.n=3,Promise.all(o.dist.map(Ec));case 3:l=o.response,cl(t,o,n);case 4:return r.a(2)}},r)}));return function(t){return r.apply(this,arguments)}}(),r.p=1;case 2:return r.n=3,a.read();case 3:if(d=r.v,y=d.done,h=d.value,!y){r.n=4;break}return r.a(3,14);case 4:s+=c.decode(h,{stream:!0}),v=s.split("\n"),s=v.pop(),b=gs(v),r.p=5,b.s();case 6:if((g=b.n()).done){r.n=10;break}if((O=g.value).trim()){r.n=7;break}return r.a(3,9);case 7:return r.n=8,p(JSON.parse(O));case 8:if(!f){r.n=9;break}return a.cancel(),r.a(2);case 9:r.n=6;break;case 10:r.n=12;break;case 11:r.p=11,S=r.v,b.e(S);case 12:return r.p=12,b.f(),r.f(12);case 13:r.n=2;break;case 14:if(!s.trim()||f){r.n=15;break}return r.n=15,p(JSON.parse(s));case 15:r.n=17;break;case 16:if(r.p=16,j=r.v,f){r.n=17;break}return f=!0,w(),l?(m(l),i({})):(m({}),u(j)),r.a(2);case 17:f||(w(),m(l||{}),i({}));case 18:return r.a(2)}},r,null,[[5,11,12,13],[1,16]])}));return function(t){return r.apply(this,arguments)}}();if(s===qi){if((c.headers.get("Content-Type")||"").includes("application/x-ndjson")&&c.body)return void O(c);c.json().then(function(e){if(!l&&e.cacheKey&&(l=e.cacheKey),!f&&e.job){var r={jobId:e.job,cacheKey:e.cacheKey,cancelInputs:e.cancel,progressDefault:e.progressDefault,output:JSON.stringify(n.outputs)};t(Vs(r)),f=e.job}e.sideUpdate&&t(ul(e.sideUpdate,n)),e.progress&&t(ul(e.progress,n)),!d&&e.progressDefault&&(d=e.progressDefault),o&&void 0===e.response?setTimeout(v,void 0!==o.interval?o.interval:500):e.dist?Promise.all(e.dist.map(Ec)).then(function(){w(),g(e)}):(w(),g(e))})}else s===Li?(w(),m({}),i({})):(w(),u(c))},s=function(){r.ui&&t(zs({id:n.output,status:Gi,result:{},inputs:n.inputs,state:n.state})),u(new Error("Callback failed: the server did not respond."))},v=function(){b().then(c,s)};v()})}function pl(t,e,r,n,o){return dl.apply(this,arguments)}function dl(){return dl=js(ws().m(function t(e,r,n,o,i){var a,u,c,s,l,f,p,d,y,h,v,b,m,g,w,O;return ws().w(function(t){for(;;)switch(t.p=t.n){case 0:return r.request_pre&&r.request_pre(o),a=Date.now(),i&&(e(ul(i.running,o)),u=i.runningOff),c=hs(),t.p=1,t.n=2,c.ensureConnected(n);case 2:return t.n=3,c.sendCallback(o,function(t){s=null==t?void 0:t.response,cl(e,t,o)});case 3:if(l=t.v,u&&e(ul(u,o)),"prevent_update"!==l.status){t.n=4;break}return n.ui&&(f=Date.now()-a,e(zs({id:o.output,usage:{__dash_server:f,__dash_client:f,__dash_upload:0,__dash_download:0},status:Li,result:{},inputs:o.inputs,state:o.state}))),t.a(2,{});case 4:if("error"!==l.status){t.n=5;break}throw new Error(l.message||"Callback error");case 5:if(!l.stream){t.n=6;break}return r.request_post&&r.request_post(o,s),n.ui&&(p=Date.now()-a,e(zs({id:o.output,usage:{__dash_server:p,__dash_client:p,__dash_upload:0,__dash_download:0},status:qi,result:s||{},inputs:o.inputs,state:o.state}))),t.a(2,{});case 6:return null!=(d=l.data)&&d.sideUpdate&&e(ul(d.sideUpdate,o)),v=(h=d||{}).multi,b=h.response,r.request_post&&r.request_post(o,b),v?y=b:(m=o.output,g=m.substr(0,m.lastIndexOf(".")),y={[g]:null==b?void 0:b.props}),n.ui&&(w=Date.now()-a,e(zs({id:o.output,usage:{__dash_server:w,__dash_client:w,__dash_upload:0,__dash_download:0},status:qi,result:y||{},inputs:o.inputs,state:o.state}))),t.a(2,y||{});case 7:throw t.p=7,O=t.v,u&&e(ul(u,o)),n.ui&&e(zs({id:o.output,status:Gi,result:{},inputs:o.inputs,state:o.state})),O;case 8:return t.a(2)}},t,null,[[1,7]])})),dl.apply(this,arguments)}function yl(t){if(!t)return{};for(var e={},r=0;r s)){t.n=4;break}return t.p=1,y=new Blob([o]).stream().pipeThrough(new CompressionStream("gzip")),t.n=2,new Response(y).blob();case 2:d=t.v,e["Content-Encoding"]="gzip",t.n=4;break;case 3:t.p=3,b=t.v,console.warn("Sending uncompressed payload, because compressing failed:",b);case 4:return t.a(2,fetch(n,gi(r.fetch,{method:"POST",headers:e,body:d})))}},t,null,[[1,3]])}));return function(){return t.apply(this,arguments)}}();return new Promise(function(i,u){var c=function(c){var s=c.status;if(f){var b=a().callbackJobs[f];if(null!=b&&b.outdated)return t(Ks({jobId:f})),i({})}function m(e){if(r.ui){var o={__dash_server:0,__dash_client:Date.now()-y,__dash_upload:h.length,__dash_download:Number(c.headers.get("Content-Length"))};(c.headers.get("Server-Timing")||"").split(",").forEach(function(t){var e=t.split(";")[0],r=t.match(/;dur=[0-9.]+/);r&&(o[e]=Number(r[0].slice(5)))}),t(zs({id:n.output,usage:o,status:s,result:e,inputs:n.inputs,state:n.state}))}}var g=function(t){var r,o=t.multi,a=t.response;if(e.request_post&&e.request_post(n,a),o)r=a;else{var u=n.output,c=u.substr(0,u.lastIndexOf("."));r={[c]:a.props}}m(r),i(r)},w=function(){f&&t(Ks({jobId:f})),p&&t(ul(p,n)),d&&t(ul(d,n))},O=function(){var r=js(ws().m(function r(o){var a,c,s,l,f,p,d,y,h,v,b,g,O,S,j;return ws().w(function(r){for(;;)switch(r.p=r.n){case 0:a=o.body.getReader(),c=new TextDecoder,s="",f=!1,p=function(){var r=js(ws().m(function r(o){return ws().w(function(r){for(;;)switch(r.n){case 0:if(!o.done){r.n=2;break}if(f=!0,w(),!o.error){r.n=1;break}return m({}),u(new Error(o.error.message||"Callback error")),r.a(2);case 1:return e.request_post&&e.request_post(n,l),m(l||{}),i({}),r.a(2);case 2:if(!o.dist){r.n=3;break}return r.n=3,Promise.all(o.dist.map(Ec));case 3:l=o.response,cl(t,o,n);case 4:return r.a(2)}},r)}));return function(t){return r.apply(this,arguments)}}(),r.p=1;case 2:return r.n=3,a.read();case 3:if(d=r.v,y=d.done,h=d.value,!y){r.n=4;break}return r.a(3,14);case 4:s+=c.decode(h,{stream:!0}),v=s.split("\n"),s=v.pop(),b=gs(v),r.p=5,b.s();case 6:if((g=b.n()).done){r.n=10;break}if((O=g.value).trim()){r.n=7;break}return r.a(3,9);case 7:return r.n=8,p(JSON.parse(O));case 8:if(!f){r.n=9;break}return a.cancel(),r.a(2);case 9:r.n=6;break;case 10:r.n=12;break;case 11:r.p=11,S=r.v,b.e(S);case 12:return r.p=12,b.f(),r.f(12);case 13:r.n=2;break;case 14:if(!s.trim()||f){r.n=15;break}return r.n=15,p(JSON.parse(s));case 15:r.n=17;break;case 16:if(r.p=16,j=r.v,f){r.n=17;break}return f=!0,w(),l?(m(l),i({})):(m({}),u(j)),r.a(2);case 17:f||(w(),m(l||{}),i({}));case 18:return r.a(2)}},r,null,[[5,11,12,13],[1,16]])}));return function(t){return r.apply(this,arguments)}}();if(s===qi){if((c.headers.get("Content-Type")||"").includes("application/x-ndjson")&&c.body)return void O(c);c.json().then(function(e){if(!l&&e.cacheKey&&(l=e.cacheKey),!f&&e.job){var r={jobId:e.job,cacheKey:e.cacheKey,cancelInputs:e.cancel,progressDefault:e.progressDefault,output:JSON.stringify(n.outputs)};t(Vs(r)),f=e.job}e.sideUpdate&&t(ul(e.sideUpdate,n)),e.progress&&t(ul(e.progress,n)),!d&&e.progressDefault&&(d=e.progressDefault),o&&void 0===e.response?setTimeout(v,void 0!==o.interval?o.interval:500):e.dist?Promise.all(e.dist.map(Ec)).then(function(){w(),g(e)}):(w(),g(e))})}else s===Li?(w(),m({}),i({})):(w(),u(c))},s=function(){r.ui&&t(zs({id:n.output,status:Gi,result:{},inputs:n.inputs,state:n.state})),u(new Error("Callback failed: the server did not respond."))},v=function(){b().then(c,s)};v()})}function pl(t,e,r,n,o){return dl.apply(this,arguments)}function dl(){return dl=js(ws().m(function t(e,r,n,o,i){var a,u,c,s,l,f,p,d,y,h,v,b,m,g,w,O;return ws().w(function(t){for(;;)switch(t.p=t.n){case 0:return r.request_pre&&r.request_pre(o),a=Date.now(),i&&(e(ul(i.running,o)),u=i.runningOff),c=hs(),t.p=1,t.n=2,c.ensureConnected(n);case 2:return t.n=3,c.sendCallback(o,function(t){s=null==t?void 0:t.response,cl(e,t,o)});case 3:if(l=t.v,u&&e(ul(u,o)),"prevent_update"!==l.status){t.n=4;break}return n.ui&&(f=Date.now()-a,e(zs({id:o.output,usage:{__dash_server:f,__dash_client:f,__dash_upload:0,__dash_download:0},status:Li,result:{},inputs:o.inputs,state:o.state}))),t.a(2,{});case 4:if("error"!==l.status){t.n=5;break}throw new Error(l.message||"Callback error");case 5:if(!l.stream){t.n=6;break}return r.request_post&&r.request_post(o,s),n.ui&&(p=Date.now()-a,e(zs({id:o.output,usage:{__dash_server:p,__dash_client:p,__dash_upload:0,__dash_download:0},status:qi,result:s||{},inputs:o.inputs,state:o.state}))),t.a(2,{});case 6:return null!=(d=l.data)&&d.sideUpdate&&e(ul(d.sideUpdate,o)),v=(h=d||{}).multi,b=h.response,r.request_post&&r.request_post(o,b),v?y=b:(m=o.output,g=m.substr(0,m.lastIndexOf(".")),y={[g]:null==b?void 0:b.props}),n.ui&&(w=Date.now()-a,e(zs({id:o.output,usage:{__dash_server:w,__dash_client:w,__dash_upload:0,__dash_download:0},status:qi,result:y||{},inputs:o.inputs,state:o.state}))),t.a(2,y||{});case 7:throw t.p=7,O=t.v,u&&e(ul(u,o)),n.ui&&e(zs({id:o.output,status:Gi,result:{},inputs:o.inputs,state:o.state})),O;case 8:return t.a(2)}},t,null,[[1,7]])})),dl.apply(this,arguments)}function yl(t){if(!t)return{};for(var e={},r=0;r >>=3){case 16:for(s=3+z(e,t),t+=2,d=g[g.length-1];s-- >0;)g.push(d);break;case 17:for(s=3+V(e,t),t+=3;s-- >0;)g.push(0);break;case 18:for(s=11+j(e,t),t+=7;s-- >0;)g.push(0);break;default:g.push(d),c 0&&t.write_shift(0,e,"dbcs"),r?t.slice(0,t.l):t}function ia(e){return{ich:e.read_shift(2),ifnt:e.read_shift(2)}}function oa(e,t){var r=e.l,a=e.read_shift(1),n=na(e),s=[],i={t:n,h:n};if(1&a){for(var o=e.read_shift(4),c=0;c!=o;++c)s.push(ia(e));i.r=s}else i.r=[{ich:0,ifnt:0}];return e.l=r+t,i}var ca=oa;function la(e){var t=e.read_shift(4),r=e.read_shift(2);return r+=e.read_shift(1)<<16,e.l++,{c:t,iStyleRef:r}}function fa(e,t){return null==t&&(t=Lr(8)),t.write_shift(-4,e.c),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}function ha(e){var t=e.read_shift(2);return t+=e.read_shift(1)<<16,e.l++,{c:-1,iStyleRef:t}}function ua(e,t){return null==t&&(t=Lr(4)),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}var da=na,pa=sa;function ma(e){var t=e.read_shift(4);return 0===t||4294967295===t?"":e.read_shift(t,"dbcs")}function ga(e,t){var r=!1;return null==t&&(r=!0,t=Lr(127)),t.write_shift(4,e.length>0?e.length:4294967295),e.length>0&&t.write_shift(0,e,"dbcs"),r?t.slice(0,t.l):t}var va=na,ba=ma,wa=ga;function Ta(e){var t=e.slice(e.l,e.l+4),r=1&t[0],a=2&t[0];e.l+=4;var n=0===a?wr([0,0,0,0,252&t[0],t[1],t[2],t[3]],0):Ar(t,0)>>2;return r?n/100:n}function Ea(e,t){null==t&&(t=Lr(4));var r=0,a=0,n=100*e;if(e==(0|e)&&e>=-(1<<29)&&e<1<<29?a=1:n==(0|n)&&n>=-(1<<29)&&n<1<<29&&(a=1,r=1),!a)throw new Error("unsupported RkNumber "+e);t.write_shift(-4,((r?n:e)<<2)+(r+2))}function Sa(e){var t={s:{},e:{}};return t.s.r=e.read_shift(4),t.e.r=e.read_shift(4),t.s.c=e.read_shift(4),t.e.c=e.read_shift(4),t}var ya=Sa,ka=function(e,t){return t||(t=Lr(16)),t.write_shift(4,e.s.r),t.write_shift(4,e.e.r),t.write_shift(4,e.s.c),t.write_shift(4,e.e.c),t};function _a(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e.read_shift(8,"f")}function Aa(e,t){return(t||Lr(8)).write_shift(8,e,"f")}function xa(e,t){if(t||(t=Lr(8)),!e||e.auto)return t.write_shift(4,0),t.write_shift(4,0),t;null!=e.index?(t.write_shift(1,2),t.write_shift(1,e.index)):null!=e.theme?(t.write_shift(1,6),t.write_shift(1,e.theme)):(t.write_shift(1,5),t.write_shift(1,0));var r=e.tint||0;if(r>0?r*=32767:r<0&&(r*=32768),t.write_shift(2,r),e.rgb&&null==e.theme){var a=e.rgb||"FFFFFF";"number"==typeof a&&(a=("000000"+a.toString(16)).slice(-6)),t.write_shift(1,parseInt(a.slice(0,2),16)),t.write_shift(1,parseInt(a.slice(2,4),16)),t.write_shift(1,parseInt(a.slice(4,6),16)),t.write_shift(1,255)}else t.write_shift(2,0),t.write_shift(1,0),t.write_shift(1,0);return t}function Ca(e,t){var r=e.read_shift(4);switch(r){case 0:return"";case 4294967295:case 4294967294:return{2:"BITMAP",3:"METAFILEPICT",8:"DIB",14:"ENHMETAFILE"}[e.read_shift(4)]||""}if(r>400)throw new Error("Unsupported Clipboard: "+r.toString(16));return e.l-=4,e.read_shift(0,1==t?"lpstr":"lpwstr")}var Oa=2,Ra=3,Ia=12,Na=80,Da=81,Fa=[Na,Da],Pa={1:{n:"CodePage",t:Oa},2:{n:"Category",t:Na},3:{n:"PresentationFormat",t:Na},4:{n:"ByteCount",t:Ra},5:{n:"LineCount",t:Ra},6:{n:"ParagraphCount",t:Ra},7:{n:"SlideCount",t:Ra},8:{n:"NoteCount",t:Ra},9:{n:"HiddenCount",t:Ra},10:{n:"MultimediaClipCount",t:Ra},11:{n:"ScaleCrop",t:11},12:{n:"HeadingPairs",t:4108},13:{n:"TitlesOfParts",t:4126},14:{n:"Manager",t:Na},15:{n:"Company",t:Na},16:{n:"LinksUpToDate",t:11},17:{n:"CharacterCount",t:Ra},19:{n:"SharedDoc",t:11},22:{n:"HyperlinksChanged",t:11},23:{n:"AppVersion",t:Ra,p:"version"},24:{n:"DigSig",t:65},26:{n:"ContentType",t:Na},27:{n:"ContentStatus",t:Na},28:{n:"Language",t:Na},29:{n:"Version",t:Na},255:{},2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}},La={1:{n:"CodePage",t:Oa},2:{n:"Title",t:Na},3:{n:"Subject",t:Na},4:{n:"Author",t:Na},5:{n:"Keywords",t:Na},6:{n:"Comments",t:Na},7:{n:"Template",t:Na},8:{n:"LastAuthor",t:Na},9:{n:"RevNumber",t:Na},10:{n:"EditTime",t:64},11:{n:"LastPrinted",t:64},12:{n:"CreatedDate",t:64},13:{n:"ModifiedDate",t:64},14:{n:"PageCount",t:Ra},15:{n:"WordCount",t:Ra},16:{n:"CharCount",t:Ra},17:{n:"Thumbnail",t:71},18:{n:"Application",t:Na},19:{n:"DocSecurity",t:Ra},255:{},2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}},Ma={1:"US",2:"CA",3:"",7:"RU",20:"EG",30:"GR",31:"NL",32:"BE",33:"FR",34:"ES",36:"HU",39:"IT",41:"CH",43:"AT",44:"GB",45:"DK",46:"SE",47:"NO",48:"PL",49:"DE",52:"MX",55:"BR",61:"AU",64:"NZ",66:"TH",81:"JP",82:"KR",84:"VN",86:"CN",90:"TR",105:"JS",213:"DZ",216:"MA",218:"LY",351:"PT",354:"IS",358:"FI",420:"CZ",886:"TW",961:"LB",962:"JO",963:"SY",964:"IQ",965:"KW",966:"SA",971:"AE",972:"IL",974:"QA",981:"IR",65535:"US"},Ua=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];function Ba(e){return e.map(function(e){return[e>>16&255,e>>8&255,255&e]})}var Wa=Ke(Ba([0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0])),Ha={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},za={"#NULL!":0,"#DIV/0!":7,"#VALUE!":15,"#REF!":23,"#NAME?":29,"#NUM!":36,"#N/A":42,"#GETTING_DATA":43,"#WTF?":255},Va={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.sheet.macroEnabled.main+xml":"workbooks","application/vnd.ms-excel.sheet.binary.macroEnabled.main":"workbooks","application/vnd.ms-excel.addin.macroEnabled.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":"sheets","application/vnd.ms-excel.worksheet":"sheets","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"charts","application/vnd.ms-excel.chartsheet":"charts","application/vnd.ms-excel.macrosheet+xml":"macros","application/vnd.ms-excel.macrosheet":"macros","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"dialogs","application/vnd.ms-excel.dialogsheet":"dialogs","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":"strs","application/vnd.ms-excel.sharedStrings":"strs","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":"styles","application/vnd.ms-excel.styles":"styles","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":"comments","application/vnd.ms-excel.comments":"comments","application/vnd.ms-excel.threadedcomments+xml":"threadedcomments","application/vnd.ms-excel.person+xml":"people","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"metadata","application/vnd.ms-excel.sheetMetadata":"metadata","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"TODO","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO","image/png":"TODO",sheet:"js"},Ga={workbooks:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",xlsm:"application/vnd.ms-excel.sheet.macroEnabled.main+xml",xlsb:"application/vnd.ms-excel.sheet.binary.macroEnabled.main",xlam:"application/vnd.ms-excel.addin.macroEnabled.main+xml",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml"},strs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",xlsb:"application/vnd.ms-excel.sharedStrings"},comments:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml",xlsb:"application/vnd.ms-excel.comments"},sheets:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",xlsb:"application/vnd.ms-excel.worksheet"},charts:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml",xlsb:"application/vnd.ms-excel.chartsheet"},dialogs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml",xlsb:"application/vnd.ms-excel.dialogsheet"},macros:{xlsx:"application/vnd.ms-excel.macrosheet+xml",xlsb:"application/vnd.ms-excel.macrosheet"},metadata:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml",xlsb:"application/vnd.ms-excel.sheetMetadata"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};function ja(e,t){var r,a=function(e){for(var t=[],r=De(e),a=0;a!==r.length;++a)null==t[e[r[a]]]&&(t[e[r[a]]]=[]),t[e[r[a]]].push(r[a]);return t}(Va),n=[];n[n.length]=dt,n[n.length]=$t("Types",null,{xmlns:qt.CT,"xmlns:xsd":qt.xsd,"xmlns:xsi":qt.xsi}),n=n.concat([["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["data","application/vnd.openxmlformats-officedocument.model+data"],["bmp","image/bmp"],["png","image/png"],["gif","image/gif"],["emf","image/x-emf"],["wmf","image/x-wmf"],["jpg","image/jpeg"],["jpeg","image/jpeg"],["tif","image/tiff"],["tiff","image/tiff"],["pdf","application/pdf"],["rels","application/vnd.openxmlformats-package.relationships+xml"]].map(function(e){return $t("Default",null,{Extension:e[0],ContentType:e[1]})}));var s=function(a){e[a]&&e[a].length>0&&(r=e[a][0],n[n.length]=$t("Override",null,{PartName:("/"==r[0]?"":"/")+r,ContentType:Ga[a][t.bookType]||Ga[a].xlsx}))},i=function(r){(e[r]||[]).forEach(function(e){n[n.length]=$t("Override",null,{PartName:("/"==e[0]?"":"/")+e,ContentType:Ga[r][t.bookType]||Ga[r].xlsx})})},o=function(t){(e[t]||[]).forEach(function(e){n[n.length]=$t("Override",null,{PartName:("/"==e[0]?"":"/")+e,ContentType:a[t][0]})})};return s("workbooks"),i("sheets"),i("charts"),o("themes"),["strs","styles"].forEach(s),["coreprops","extprops","custprops"].forEach(o),o("vba"),o("comments"),o("threadedcomments"),o("drawings"),i("metadata"),o("people"),n.length>2&&(n[n.length]="",n[1]=n[1].replace("/>",">")),n.join("")}var Xa={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",SHEET:"http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument",HLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",VML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",CMNT:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",SST:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",STY:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",THEME:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",CHART:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",CHARTEX:"http://schemas.microsoft.com/office/2014/relationships/chartEx",CS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet",WS:["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"],DS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",MS:"http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet",IMG:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",DRAW:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",XLMETA:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata",TCMNT:"http://schemas.microsoft.com/office/2017/10/relationships/threadedComment",PEOPLE:"http://schemas.microsoft.com/office/2017/10/relationships/person",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function $a(e){var t=e.lastIndexOf("/");return e.slice(0,t+1)+"_rels/"+e.slice(t+1)+".rels"}function Ya(e,t){var r={"!id":{}};if(!e)return r;"/"!==t.charAt(0)&&(t="/"+t);var a={};return(e.match(gt)||[]).forEach(function(e){var n=wt(e);if(">>8^t[255&(a^e.charCodeAt(n++))];return~a},e.buf=function(e,r){for(var b=-1^r,w=e.length-15,T=0;T>>8^t[255&(a^i)]:i<2048?a=(a=a>>>8^t[255&(a^(192|i>>6&31))])>>>8^t[255&(a^(128|63&i))]:i>=55296&&i<57344?(i=64+(1023&i),o=1023&e.charCodeAt(n++),a=(a=(a=(a=a>>>8^t[255&(a^(240|i>>8&7))])>>>8^t[255&(a^(128|i>>2&63))])>>>8^t[255&(a^(128|o>>6&15|(3&i)<<4))])>>>8^t[255&(a^(128|63&o))]):a=(a=(a=a>>>8^t[255&(a^(224|i>>12&15))])>>>8^t[255&(a^(128|i>>6&63))])>>>8^t[255&(a^(128|63&i))];return~a},e}(),Ce=function(){var e,t={};function r(e){if("/"==e.charAt(e.length-1))return-1===e.slice(0,-1).indexOf("/")?e:r(e.slice(0,-1));var t=e.lastIndexOf("/");return-1===t?e:e.slice(0,t+1)}function a(e){if("/"==e.charAt(e.length-1))return a(e.slice(0,-1));var t=e.lastIndexOf("/");return-1===t?e:e.slice(t+1)}function n(e,t){"string"==typeof t&&(t=new Date(t));var r=t.getHours();r=(r=r<<6|t.getMinutes())<<5|t.getSeconds()>>>1,e.write_shift(2,r);var a=t.getFullYear()-1980;a=(a=a<<4|t.getMonth()+1)<<5|t.getDate(),e.write_shift(2,a)}function s(e){Fr(e,0);for(var t={},r=0;e.l<=e.length-4;){var a=e.read_shift(2),n=e.read_shift(2),s=e.l+n,i={};21589===a&&(1&(r=e.read_shift(1))&&(i.mtime=e.read_shift(4)),n>5&&(2&r&&(i.atime=e.read_shift(4)),4&r&&(i.ctime=e.read_shift(4))),i.mtime&&(i.mt=new Date(1e3*i.mtime))),e.l=s,t[a]=i}return t}function i(){return e||(e={})}function o(e,t){if(80==e[0]&&75==e[1])return de(e,t);if(109==(32|e[0])&&105==(32|e[1]))return function(e,t){if("mime-version:"!=O(e.slice(0,13)).toLowerCase())throw new Error("Unsupported MAD header");var r=t&&t.root||"",a=(S&&Buffer.isBuffer(e)?e.toString("binary"):O(e)).split("\r\n"),n=0,s="";for(n=0;n2){(l=a[h])<=22?n=K(r,n,B[l+1]>>1)-1:(K(r,n,3),K(r,n+=5,B[l-23]>>5),n+=3);var u=l<8?0:l-4>>2;u>0&&(J(r,n,h-P[l]),n+=u),l=e[s-f],n=K(r,n,B[l]>>3),n-=3;var d=l<4?0:l-2>>1;d>0&&(J(r,n,s-f-L[l]),n+=d);for(var p=0;p>>1==1?ee[l]:se[l];if(r+=15&f,(f>>>=4)>>>8&255){if(256==f)break;var h=(f-=257)<8?0:f-4>>2;h>5&&(h=0);var u=s+P[f];h>0&&(u+=X(e,r,h),r+=h),l=X(e,r,c),r+=15&(f=a>>>1==1?te[l]:ie[l]);var d=(f>>>=4)<4?0:f-2>>1,p=L[f];for(d>0&&(p+=X(e,r,d),r+=d),!t&&i>>3]|e[(r>>>3)+1]<<8;if(r+=32,m>0)for(!t&&i0;)n[s++]=e[r>>>3],r+=8}return t?[n,r+7>>>3]:[n.slice(0,s),r+7>>>3]}(e.slice(e.l||0),t);return e.l+=r[1],r[0]}function ue(e,t){if(!e)throw new Error(t);"undefined"!=typeof console&&console.error(t)}function de(e,t){var r=e;Fr(r,0);var a={FileIndex:[],FullPaths:[]};u(a,{root:t.root});for(var n=r.length-4;(80!=r[n]||75!=r[n+1]||5!=r[n+2]||6!=r[n+3])&&n>=0;)--n;r.l=n+4,r.l+=4;var i=r.read_shift(2);r.l+=6;var o=r.read_shift(4);for(r.l=o,n=0;n>>=5);r>>>=4,a.setMilliseconds(0),a.setFullYear(r+1980),a.setMonth(s-1),a.setDate(n);var i=31&t,o=63&(t>>>=5);return t>>>=6,a.setHours(t),a.setMinutes(o),a.setSeconds(i<<1),a}(e);if(8257&i)throw new Error("Unsupported ZIP encryption");e.read_shift(4);for(var l=e.read_shift(4),f=e.read_shift(4),h=e.read_shift(2),u=e.read_shift(2),d="",p=0;p
").replace(Ct,function(e){return""+("000"+e.charCodeAt(0).toString(16)).slice(-4)+";"})}var Rt=function(){var e=/(\d+);/g;function t(e,t){return String.fromCharCode(parseInt(t,10))}return function(r){return r.replace(e,t)}}();function It(e){switch(e){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}function Nt(e){for(var t="",r=0,a=0,n=0,s=0,i=0,o=0;r26);++a)r=26*r+n;for(t.s.c=--r,r=0;a9);++a)r=10*r+n;if(t.s.r=--r,a===s||10!=n)return t.e.c=t.s.c,t.e.r=t.s.r,t;for(++a,r=0;a!=s&&!((n=e.charCodeAt(a)-64)<1||n>26);++a)r=26*r+n;for(t.e.c=--r,r=0;a!=s&&!((n=e.charCodeAt(a)-48)<0||n>9);++a)r=10*r+n;return t.e.r=--r,t}function Qr(e,t,r){return null==e||null==e.t||"z"==e.t?"":void 0!==e.w?e.w:("d"==e.t&&!e.z&&r&&r.dateNF&&(e.z=r.dateNF),"e"==e.t?Ha[e.v]||e.v:function(e,t){var r="d"==e.t&&t instanceof Date;if(null!=e.z)try{return e.w=Te(e.z,r?Ue(t):t)}catch(e){}try{return e.w=Te((e.XF||{}).numFmtId||(r?14:0),r?Ue(t):t)}catch(e){return""+t}}(e,null==t?e.v:t))}function ea(e,t){var r=t&&t.sheet?t.sheet:"Sheet1",a={};return a[r]=e,{SheetNames:[r],Sheets:a}}function ta(e,t,r){var a=r||{},n=e?Array.isArray(e):a.dense;null!=b&&null==n&&(n=b);var s=e||(n?[]:{}),i=0,o=0;if(s&&null!=a.origin){if("number"==typeof a.origin)i=a.origin;else{var c="string"==typeof a.origin?Yr(a.origin):a.origin;i=c.r,o=c.c}s["!ref"]||(s["!ref"]="A1:A1")}var l={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(s["!ref"]){var f=Zr(s["!ref"]);l.s.c=f.s.c,l.s.r=f.s.r,l.e.c=Math.max(l.e.c,f.e.c),l.e.r=Math.max(l.e.r,f.e.r),-1==i&&(l.e.r=i=f.e.r+1)}for(var h=0;h!=t.length;++h)if(t[h]){if(!Array.isArray(t[h]))throw new Error("aoa_to_sheet expects an array of arrays");for(var u=0;u!=t[h].length;++u)if(void 0!==t[h][u]){var d={v:t[h][u]},p=i+h,m=o+u;if(l.s.r>p&&(l.s.r=p),l.s.c>m&&(l.s.c=m),l.e.r